|
|
(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;k<F.length;k++){var K=F[k];if(!C(P,K)&&C(v,K)){P[K]=v[K];break}}return P}function C(F,B){return F.hasOwnProperty(B)}function I(F,B){return F[B]!=null&&F[B]!=="auto"}function L(F,B,P){f(F,function(H){B[H]=P[H]})}}function h(v){return A({},v)}function A(v,w){return w&&v&&f(d,function(b){w.hasOwnProperty(b)&&(v[b]=w[b])}),v}N.LOCATION_PARAMS=d,N.HV_NAMES=c,N.box=n,N.vbox=i,N.hbox=o,N.getAvailableSize=r,N.getLayoutRect=l,N.positionElement=e,N.sizeCalculable=s,N.mergeLayoutParam=u,N.getLayoutParams=h,N.copyLayoutParams=A},"+Zaj":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("ugBc")),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="CalendarOutlined";var c=m.forwardRef(d);N.default=c},"+d4F":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("y3Yb"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"+eQT":function(R,N,t){"use strict";var y=t("wd/R"),p=t.n(y),S=t("Kwbf"),m={getNow:function(){return p()()},getWeekDay:function(Ct){var or=Ct.clone().locale("en_US");return or.weekday()+or.localeData().firstDayOfWeek()},getYear:function(Ct){return Ct.year()},getMonth:function(Ct){return Ct.month()},getDate:function(Ct){return Ct.date()},getHour:function(Ct){return Ct.hour()},getMinute:function(Ct){return Ct.minute()},getSecond:function(Ct){return Ct.second()},addYear:function(Ct,or){var rr=Ct.clone();return rr.add(or,"year")},addMonth:function(Ct,or){var rr=Ct.clone();return rr.add(or,"month")},addDate:function(Ct,or){var rr=Ct.clone();return rr.add(or,"day")},setYear:function(Ct,or){var rr=Ct.clone();return rr.year(or)},setMonth:function(Ct,or){var rr=Ct.clone();return rr.month(or)},setDate:function(Ct,or){var rr=Ct.clone();return rr.date(or)},setHour:function(Ct,or){var rr=Ct.clone();return rr.hour(or)},setMinute:function(Ct,or){var rr=Ct.clone();return rr.minute(or)},setSecond:function(Ct,or){var rr=Ct.clone();return rr.second(or)},isAfter:function(Ct,or){return Ct.isAfter(or)},isValidate:function(Ct){return Ct.isValid()},locale:{getWeekFirstDay:function(Ct){var or=p()().locale(Ct);return or.localeData().firstDayOfWeek()},getWeek:function(Ct,or){var rr=or.clone(),Lr=rr.locale(Ct);return Lr.week()},getShortWeekDays:function(Ct){var or=p()().locale(Ct);return or.localeData().weekdaysMin()},getShortMonths:function(Ct){var or=p()().locale(Ct);return or.localeData().monthsShort()},format:function(Ct,or,rr){var Lr=or.clone(),Fr=Lr.locale(Ct);return Fr.format(rr)},parse:function(Ct,or,rr){for(var Lr=[],Fr=0;Fr<rr.length;Fr+=1){var Kr=rr[Fr],nn=or;if(Kr.includes("wo")||Kr.includes("Wo")){Kr=Kr.replace(/wo/g,"w").replace(/Wo/g,"W");var wn=Kr.match(/[-YyMmDdHhSsWwGg]+/g),In=nn.match(/[-\d]+/g);wn&&In?(Kr=wn.join(""),nn=In.join("")):Lr.push(Kr.replace(/o/g,""))}var Rn=p()(nn,Kr,Ct,!0);if(Rn.isValid())return Rn}for(var Dn=0;Dn<Lr.length;Dn+=1){var bn=p()(or,Lr[Dn],Ct,!1);if(bn.isValid())return Object(S.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),bn}return null}}},g=m,f=t("pVnL"),d=t.n(f),c=t("q1tI"),a=t("2/Rp");function n(ze){return c.createElement(a.a,d()({size:"small",type:"primary"},ze))}var i=t("mr32");function o(ze){return c.createElement(i.a,d()({color:"blue"},ze))}var r=t("lSNA"),l=t.n(r),e=t("lwsE"),s=t.n(e),u=t("W8MJ"),h=t.n(u),A=t("7W2i"),v=t.n(A),w=t("LQ03"),b=t.n(w),E=t("TSYQ"),T=t.n(E),_=t("r/2G"),x=t.n(_),C=t("XzQk"),I=t.n(C),L=t("kbBi"),F=t.n(L),B=t("1OyB"),P=t("vuIU"),H=t("Ji7U"),z=t("LK+K"),M=t("rePB"),U=t("VTBJ"),k=t("ODXe"),K=t("6cGi"),j=t("U8pU"),V=t("4IlW"),W=c.createContext({}),X=W,J={visibility:"hidden"};function de(ze){var Ct=ze.prefixCls,or=ze.prevIcon,rr=or===void 0?"\u2039":or,Lr=ze.nextIcon,Fr=Lr===void 0?"\u203A":Lr,Kr=ze.superPrevIcon,nn=Kr===void 0?"\xAB":Kr,wn=ze.superNextIcon,In=wn===void 0?"\xBB":wn,Rn=ze.onSuperPrev,Dn=ze.onSuperNext,bn=ze.onPrev,Sn=ze.onNext,_n=ze.children,Kn=c.useContext(X),Yn=Kn.hideNextBtn,Zn=Kn.hidePrevBtn;return c.createElement("div",{className:Ct},Rn&&c.createElement("button",{type:"button",onClick:Rn,tabIndex:-1,className:"".concat(Ct,"-super-prev-btn"),style:Zn?J:{}},nn),bn&&c.createElement("button",{type:"button",onClick:bn,tabIndex:-1,className:"".concat(Ct,"-prev-btn"),style:Zn?J:{}},rr),c.createElement("div",{className:"".concat(Ct,"-view")},_n),Sn&&c.createElement("button",{type:"button",onClick:Sn,tabIndex:-1,className:"".concat(Ct,"-next-btn"),style:Yn?J:{}},Fr),Dn&&c.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(Ct,"-super-next-btn"),style:Yn?J:{}},In))}var G=de;function ae(ze){var Ct=c.useContext(X),or=Ct.hideHeader;if(or)return null;var rr=ze.prefixCls,Lr=ze.generateConfig,Fr=ze.locale,Kr=ze.value,nn=ze.format,wn="".concat(rr,"-header");return c.createElement(G,{prefixCls:wn},Kr?Lr.locale.format(Fr.locale,Kr,nn):"\xA0")}var Ae=ae,me=t("YrtM"),Me=t("KQm4"),oe=new Map;function _e(ze,Ct,or){if(oe.get(ze)&&cancelAnimationFrame(oe.get(ze)),or<=0){oe.set(ze,requestAnimationFrame(function(){ze.scrollTop=Ct}));return}var rr=Ct-ze.scrollTop,Lr=rr/or*10;oe.set(ze,requestAnimationFrame(function(){ze.scrollTop+=Lr,ze.scrollTop!==Ct&&_e(ze,Ct,or-10)}))}function ee(ze,Ct){var or=Ct.onLeftRight,rr=Ct.onCtrlLeftRight,Lr=Ct.onUpDown,Fr=Ct.onPageUpDown,Kr=Ct.onEnter,nn=ze.which,wn=ze.ctrlKey,In=ze.metaKey;switch(nn){case V.a.LEFT:if(wn||In){if(rr)return rr(-1),!0}else if(or)return or(-1),!0;break;case V.a.RIGHT:if(wn||In){if(rr)return rr(1),!0}else if(or)return or(1),!0;break;case V.a.UP:if(Lr)return Lr(-1),!0;break;case V.a.DOWN:if(Lr)return Lr(1),!0;break;case V.a.PAGE_UP:if(Fr)return Fr(-1),!0;break;case V.a.PAGE_DOWN:if(Fr)return Fr(1),!0;break;case V.a.ENTER:if(Kr)return Kr(),!0;break}return!1}function ne(ze,Ct,or,rr){var Lr=ze;if(!Lr)switch(Ct){case"time":Lr=rr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Lr="gggg-wo";break;case"month":Lr="YYYY-MM";break;case"quarter":Lr="YYYY-[Q]Q";break;case"year":Lr="YYYY";break;default:Lr=or?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Lr}function Ge(ze,Ct){var or=ze==="time"?8:10;return Math.max(or,Ct.length)+2}var Ee=null,ue=new Set;function re(ze){return!Ee&&typeof window!="undefined"&&window.addEventListener&&(Ee=function(or){Object(Me.a)(ue).forEach(function(rr){rr(or)})},window.addEventListener("mousedown",Ee)),ue.add(ze),function(){ue.delete(ze),ue.size===0&&(window.removeEventListener("mousedown",Ee),Ee=null)}}var ce=function(Ct){return Ct==="month"||Ct==="date"?"year":Ct},ke=function(Ct){return Ct==="date"?"month":Ct},Te=function(Ct){return Ct==="month"||Ct==="date"?"quarter":Ct},Ke=function(Ct){return Ct==="date"?"week":Ct},Ie={year:ce,month:ke,quarter:Te,week:Ke,time:null,date:null};function se(ze,Ct){return ze.some(function(or){return or&&or.contains(Ct)})}function ye(ze){var Ct=ze.prefixCls,or=ze.units,rr=ze.onSelect,Lr=ze.value,Fr=ze.active,Kr=ze.hideDisabledOptions,nn="".concat(Ct,"-cell"),wn=c.useContext(X),In=wn.open,Rn=c.useRef(null),Dn=c.useRef(new Map);return c.useLayoutEffect(function(){var bn=Dn.current.get(Lr);bn&&In!==!1&&_e(Rn.current,bn.offsetTop,120)},[Lr]),c.useLayoutEffect(function(){if(In){var bn=Dn.current.get(Lr);bn&&_e(Rn.current,bn.offsetTop,0)}},[In]),c.createElement("ul",{className:T()("".concat(Ct,"-column"),Object(M.a)({},"".concat(Ct,"-column-active"),Fr)),ref:Rn,style:{position:"relative"}},or.map(function(bn){var Sn;return Kr&&bn.disabled?null:c.createElement("li",{key:bn.value,ref:function(Kn){Dn.current.set(bn.value,Kn)},className:T()(nn,(Sn={},Object(M.a)(Sn,"".concat(nn,"-disabled"),bn.disabled),Object(M.a)(Sn,"".concat(nn,"-selected"),Lr===bn.value),Sn)),onClick:function(){if(bn.disabled)return;rr(bn.value)}},c.createElement("div",{className:"".concat(nn,"-inner")},bn.label))}))}var xe=ye;function Ye(ze,Ct){for(var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",rr=String(ze);rr.length<Ct;)rr="".concat(or).concat(ze);return rr}var pt=function(){for(var Ct=arguments.length,or=new Array(Ct),rr=0;rr<Ct;rr++)or[rr]=arguments[rr];return or};function nt(ze){return ze==null?[]:Array.isArray(ze)?ze:[ze]}function Oe(ze){var Ct={};return Object.keys(ze).forEach(function(or){(or.substr(0,5)==="data-"||or.substr(0,5)==="aria-"||or==="role"||or==="name")&&or.substr(0,7)!=="data-__"&&(Ct[or]=ze[or])}),Ct}function vt(ze,Ct){return ze?ze[Ct]:null}function Ze(ze,Ct,or){var rr=[vt(ze,0),vt(ze,1)];return rr[or]=typeof Ct=="function"?Ct(rr[or]):Ct,!rr[0]&&!rr[1]?null:rr}function wt(ze,Ct,or,rr,Lr){var Fr=ze.setHour(Ct,or);return Fr=ze.setMinute(Fr,rr),Fr=ze.setSecond(Fr,Lr),Fr}function xt(ze,Ct,or,rr,Lr,Fr){var Kr=Math.floor(ze/rr)*rr;if(Kr<ze)return[Kr,60-Lr,60-Fr];var nn=Math.floor(Ct/Lr)*Lr;if(nn<Ct)return[Kr,nn,60-Fr];var wn=Math.floor(or/Fr)*Fr;return[Kr,nn,wn]}function Ot(ze,Ct){if(ze.length!==Ct.length)return!0;for(var or=0;or<ze.length;or+=1)if(ze[or].disabled!==Ct[or].disabled)return!0;return!1}function Mt(ze,Ct,or,rr){for(var Lr=[],Fr=ze;Fr<=Ct;Fr+=or)Lr.push({label:Ye(Fr,2),value:Fr,disabled:(rr||[]).includes(Fr)});return Lr}function Gt(ze){var Ct=ze.generateConfig,or=ze.prefixCls,rr=ze.operationRef,Lr=ze.activeColumnIndex,Fr=ze.value,Kr=ze.showHour,nn=ze.showMinute,wn=ze.showSecond,In=ze.use12Hours,Rn=ze.hourStep,Dn=Rn===void 0?1:Rn,bn=ze.minuteStep,Sn=bn===void 0?1:bn,_n=ze.secondStep,Kn=_n===void 0?1:_n,Yn=ze.disabledHours,Zn=ze.disabledMinutes,yi=ze.disabledSeconds,gi=ze.hideDisabledOptions,Ni=ze.onSelect,ki=[],xi="".concat(or,"-content"),_i="".concat(or,"-time-panel"),Li,Hn=Fr?Ct.getHour(Fr):-1,Ci=Fr?Ct.getMinute(Fr):-1,Hi=Fr?Ct.getSecond(Fr):-1,pr=function(Qn,$n,wi,ra){var ua=Fr||Ct.getNow(),da=Math.max(0,$n),sa=Math.max(0,wi),fa=Math.max(0,ra);return ua=wt(Ct,ua,!In||!Qn?da:da+12,sa,fa),ua},Rr=Mt(0,23,Dn,Yn&&Yn()),Qr=Object(me.a)(function(){return Rr},Rr,Ot);In&&(Li=Hn>=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;ua<ra;ua+=1){var da=$n.units[(wi+Qn*ua+ra)%ra];if(da.disabled!==!0){$n.onSelect(da.value);break}}}};function sn(Un,Qn,$n,wi,ra){Un!==!1&&ki.push({node:c.cloneElement(Qn,{prefixCls:_i,value:$n,active:Lr===ki.length,onSelect:ra,units:wi,hideDisabledOptions:gi}),onSelect:ra,value:$n,units:wi})}sn(Kr,c.createElement(xe,{key:"hour"}),Hn,jr,function(Un){Ni(pr(Li,Un,Ci,Hi),"mouse")}),sn(nn,c.createElement(xe,{key:"minute"}),Ci,Ur,function(Un){Ni(pr(Li,Hn,Un,Hi),"mouse")}),sn(wn,c.createElement(xe,{key:"second"}),Hi,pn,function(Un){Ni(pr(Li,Hn,Ci,Un),"mouse")});var vn=-1;return typeof Li=="boolean"&&(vn=Li?1:0),sn(In===!0,c.createElement(xe,{key:"12hours"}),vn,[{label:"AM",value:0,disabled:xr},{label:"PM",value:1,disabled:er}],function(Un){Ni(pr(!!Un,Hn,Ci,Hi),"mouse")}),c.createElement("div",{className:xi},ki.map(function(Un){var Qn=Un.node;return Qn}))}var $e=Gt,pe=function(Ct){return Ct.filter(function(or){return or!==!1}).length};function q(ze){var Ct=ze.generateConfig,or=ze.format,rr=or===void 0?"HH:mm:ss":or,Lr=ze.prefixCls,Fr=ze.active,Kr=ze.operationRef,nn=ze.showHour,wn=ze.showMinute,In=ze.showSecond,Rn=ze.use12Hours,Dn=Rn===void 0?!1:Rn,bn=ze.onSelect,Sn=ze.value,_n="".concat(Lr,"-time-panel"),Kn=c.useRef(),Yn=c.useState(-1),Zn=Object(k.a)(Yn,2),yi=Zn[0],gi=Zn[1],Ni=pe([nn,wn,In,Dn]);return Kr.current={onKeyDown:function(xi){return ee(xi,{onLeftRight:function(Li){gi((yi+Li+Ni)%Ni)},onUpDown:function(Li){yi===-1?gi(0):Kn.current&&Kn.current.onUpDown(Li)},onEnter:function(){bn(Sn||Ct.getNow(),"key"),gi(-1)}})},onBlur:function(){gi(-1)}},c.createElement("div",{className:T()(_n,Object(M.a)({},"".concat(_n,"-active"),Fr))},c.createElement(Ae,Object.assign({},ze,{format:rr,prefixCls:Lr})),c.createElement($e,Object.assign({},ze,{prefixCls:Lr,activeColumnIndex:yi,operationRef:Kn})))}var bt=q,qe=7;function le(ze,Ct){return!ze&&!Ct?!0:!ze||!Ct?!1:void 0}function Nt(ze,Ct,or){var rr=le(Ct,or);if(typeof rr=="boolean")return rr;var Lr=Math.floor(ze.getYear(Ct)/10),Fr=Math.floor(ze.getYear(or)/10);return Lr===Fr}function tr(ze,Ct,or){var rr=le(Ct,or);return typeof rr=="boolean"?rr:ze.getYear(Ct)===ze.getYear(or)}function lt(ze,Ct){var or=Math.floor(ze.getMonth(Ct)/3);return or+1}function Wt(ze,Ct,or){var rr=le(Ct,or);return typeof rr=="boolean"?rr:tr(ze,Ct,or)&<(ze,Ct)===lt(ze,or)}function cr(ze,Ct,or){var rr=le(Ct,or);return typeof rr=="boolean"?rr:tr(ze,Ct,or)&&ze.getMonth(Ct)===ze.getMonth(or)}function Vr(ze,Ct,or){var rr=le(Ct,or);return typeof rr=="boolean"?rr:ze.getYear(Ct)===ze.getYear(or)&&ze.getMonth(Ct)===ze.getMonth(or)&&ze.getDate(Ct)===ze.getDate(or)}function ur(ze,Ct,or){var rr=le(Ct,or);return typeof rr=="boolean"?rr:ze.getHour(Ct)===ze.getHour(or)&&ze.getMinute(Ct)===ze.getMinute(or)&&ze.getSecond(Ct)===ze.getSecond(or)}function ir(ze,Ct,or,rr){var Lr=le(or,rr);return typeof Lr=="boolean"?Lr:ze.locale.getWeek(Ct,or)===ze.locale.getWeek(Ct,rr)}function Lt(ze,Ct,or){return Vr(ze,Ct,or)&&ur(ze,Ct,or)}function ot(ze,Ct,or,rr){return!Ct||!or||!rr?!1:!Vr(ze,Ct,rr)&&!Vr(ze,or,rr)&&ze.isAfter(rr,Ct)&&ze.isAfter(or,rr)}function Xe(ze,Ct,or){var rr=Ct.locale.getWeekFirstDay(ze),Lr=Ct.setDate(or,1),Fr=Ct.getWeekDay(Lr),Kr=Ct.addDate(Lr,rr-Fr);return Ct.getMonth(Kr)===Ct.getMonth(or)&&Ct.getDate(Kr)>1&&(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(Dn){var bn,Sn=nn(Dn,-1),_n=nn(Dn,1),Kn=vt(rr,0),Yn=vt(rr,1),Zn=vt(Lr,0),yi=vt(Lr,1),gi=ot(or,Zn,yi,Dn);function Ni(Ci){return Kr(Kn,Ci)}function ki(Ci){return Kr(Yn,Ci)}var xi=Kr(Zn,Dn),_i=Kr(yi,Dn),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(Dn)),Object(M.a)(bn,"".concat(Ct,"-in-range"),ot(or,Kn,Yn,Dn)),Object(M.a)(bn,"".concat(Ct,"-range-start"),Ni(Dn)),Object(M.a)(bn,"".concat(Ct,"-range-end"),ki(Dn)),Object(M.a)(bn,"".concat(Ct,"-range-start-single"),Ni(Dn)&&!Yn),Object(M.a)(bn,"".concat(Ct,"-range-end-single"),ki(Dn)&&!Kn),Object(M.a)(bn,"".concat(Ct,"-range-start-near-hover"),Ni(Dn)&&(Kr(Sn,Zn)||ot(or,Zn,yi,Sn))),Object(M.a)(bn,"".concat(Ct,"-range-end-near-hover"),ki(Dn)&&(Kr(_n,yi)||ot(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,Dn)),Object(M.a)(bn,"".concat(Ct,"-selected"),Kr(In,Dn)),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,Dn=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;Ni<Lr;Ni+=1){for(var ki=[],xi=void 0,_i=function(Ci){var Hi=Ni*Fr+Ci,pr=bn(wn,Hi),Rr=or&&or(pr);Ci===0&&(xi=pr,Kr&&ki.push(Kr(xi))),ki.push(c.createElement("td",{key:Ci,title:Sn&&Sn(pr),className:T()(yi,Object(U.a)(Object(M.a)({},"".concat(yi,"-disabled"),Rr),In(pr))),onClick:function(){Rr||rr(pr)},onMouseEnter:function(){!Rr&&Yn&&Yn(pr)},onMouseLeave:function(){!Rr&&Zn&&Zn(pr)}},Dn?Dn(pr):c.createElement("div",{className:"".concat(yi,"-inner")},Rn(pr))))},Li=0;Li<Fr;Li+=1)_i(Li);gi.push(c.createElement("tr",{key:Ni,className:nn&&nn(xi)},ki))}return c.createElement("div",{className:"".concat(Ct,"-body")},c.createElement("table",{className:"".concat(Ct,"-content")},_n&&c.createElement("thead",null,c.createElement("tr",null,_n)),c.createElement("tbody",null,gi)))}function Zr(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.prefixColumn,Lr=ze.locale,Fr=ze.rowCount,Kr=ze.viewDate,nn=ze.value,wn=ze.dateRender,In=c.useContext(vr),Rn=In.rangedValue,Dn=In.hoverRangedValue,bn=Xe(Lr.locale,or,Kr),Sn="".concat(Ct,"-cell"),_n=or.locale.getWeekFirstDay(Lr.locale),Kn=or.getNow(),Yn=[],Zn=Lr.shortWeekDays||(or.locale.getShortWeekDays?or.locale.getShortWeekDays(Lr.locale):[]);rr&&Yn.push(c.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var yi=0;yi<qe;yi+=1)Yn.push(c.createElement("th",{key:yi},Zn[(yi+_n)%qe]));var gi=fr({cellPrefixCls:Sn,today:Kn,value:nn,generateConfig:or,rangedValue:rr?null:Rn,hoverRangedValue:rr?null:Dn,isSameCell:function(xi,_i){return Vr(or,xi,_i)},isInView:function(xi){return cr(or,xi,Kr)},offsetCell:function(xi,_i){return or.addDate(xi,_i)}}),Ni=wn?function(ki){return wn(ki,Kn)}:void 0;return c.createElement(An,Object.assign({},ze,{rowNum:Fr,colNum:qe,baseDate:bn,getCellNode:Ni,getCellText:or.getDate,getCellClassName:gi,getCellDate:or.addDate,titleCell:function(xi){return or.locale.format(Lr.locale,xi,"YYYY-MM-DD")},headerCells:Yn}))}var Ln=Zr;function Je(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.locale,Lr=ze.viewDate,Fr=ze.onNextMonth,Kr=ze.onPrevMonth,nn=ze.onNextYear,wn=ze.onPrevYear,In=ze.onYearClick,Rn=ze.onMonthClick,Dn=c.useContext(X),bn=Dn.hideHeader;if(bn)return null;var Sn="".concat(Ct,"-header"),_n=rr.shortMonths||(or.locale.getShortMonths?or.locale.getShortMonths(rr.locale):[]),Kn=or.getMonth(Lr),Yn=c.createElement("button",{type:"button",key:"year",onClick:In,tabIndex:-1,className:"".concat(Ct,"-year-btn")},or.locale.format(rr.locale,Lr,rr.yearFormat)),Zn=c.createElement("button",{type:"button",key:"month",onClick:Rn,tabIndex:-1,className:"".concat(Ct,"-month-btn")},rr.monthFormat?or.locale.format(rr.locale,Lr,rr.monthFormat):_n[Kn]),yi=rr.monthBeforeYear?[Zn,Yn]:[Yn,Zn];return c.createElement(G,Object.assign({},ze,{prefixCls:Sn,onSuperPrev:wn,onPrev:Kr,onNext:Fr,onSuperNext:nn}),yi)}var et=Je,be=6;function Le(ze){var Ct=ze.prefixCls,or=ze.panelName,rr=or===void 0?"date":or,Lr=ze.keyboardConfig,Fr=ze.active,Kr=ze.operationRef,nn=ze.generateConfig,wn=ze.value,In=ze.viewDate,Rn=ze.onViewDateChange,Dn=ze.onPanelChange,bn=ze.onSelect,Sn="".concat(Ct,"-").concat(rr,"-panel");Kr.current={onKeyDown:function(Zn){return ee(Zn,Object(U.a)({onLeftRight:function(gi){bn(nn.addDate(wn||In,gi),"key")},onCtrlLeftRight:function(gi){bn(nn.addYear(wn||In,gi),"key")},onUpDown:function(gi){bn(nn.addDate(wn||In,gi*qe),"key")},onPageUpDown:function(gi){bn(nn.addMonth(wn||In,gi),"key")}},Lr))}};var _n=function(Zn){var yi=nn.addYear(In,Zn);Rn(yi),Dn(null,yi)},Kn=function(Zn){var yi=nn.addMonth(In,Zn);Rn(yi),Dn(null,yi)};return c.createElement("div",{className:T()(Sn,Object(M.a)({},"".concat(Sn,"-active"),Fr))},c.createElement(et,Object.assign({},ze,{prefixCls:Ct,value:wn,viewDate:In,onPrevYear:function(){_n(-1)},onNextYear:function(){_n(1)},onPrevMonth:function(){Kn(-1)},onNextMonth:function(){Kn(1)},onMonthClick:function(){Dn("month",In)},onYearClick:function(){Dn("year",In)}})),c.createElement(Ln,Object.assign({},ze,{onSelect:function(Zn){return bn(Zn,"mouse")},prefixCls:Ct,value:wn,viewDate:In,rowCount:be})))}var Ue=Le;function rt(ze,Ct,or){if(!or)return Ct;var rr=Ct;return rr=ze.setHour(rr,ze.getHour(or)),rr=ze.setMinute(rr,ze.getMinute(or)),rr=ze.setSecond(rr,ze.getSecond(or)),rr}var Vt=pt("date","time");function Ft(ze){var Ct=ze.prefixCls,or=ze.operationRef,rr=ze.generateConfig,Lr=ze.value,Fr=ze.defaultValue,Kr=ze.disabledTime,nn=ze.showTime,wn=ze.onSelect,In="".concat(Ct,"-datetime-panel"),Rn=c.useState(null),Dn=Object(k.a)(Rn,2),bn=Dn[0],Sn=Dn[1],_n=c.useRef({}),Kn=c.useRef({}),Yn=Object(j.a)(nn)==="object"?Object(U.a)({},nn):{};function Zn(ki){var xi=Vt.indexOf(bn)+ki,_i=Vt[xi]||null;return _i}var yi=function(xi){Kn.current.onBlur&&Kn.current.onBlur(xi),Sn(null)};or.current={onKeyDown:function(xi){if(xi.which===V.a.TAB){var _i=Zn(xi.shiftKey?-1:1);return Sn(_i),_i&&xi.preventDefault(),!0}if(bn){var Li=bn==="date"?_n:Kn;return Li.current&&Li.current.onKeyDown&&Li.current.onKeyDown(xi),!0}return[V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN].includes(xi.which)?(Sn("date"),!0):!1},onBlur:yi,onClose:yi};var gi=function(xi,_i){var Li=xi;_i==="date"&&!Lr&&Yn.defaultValue?(Li=rr.setHour(Li,rr.getHour(Yn.defaultValue)),Li=rr.setMinute(Li,rr.getMinute(Yn.defaultValue)),Li=rr.setSecond(Li,rr.getSecond(Yn.defaultValue))):_i==="time"&&!Lr&&Fr&&(Li=rr.setYear(Li,rr.getYear(Fr)),Li=rr.setMonth(Li,rr.getMonth(Fr)),Li=rr.setDate(Li,rr.getDate(Fr))),wn&&wn(Li,"mouse")},Ni=Kr?Kr(Lr||null):{};return c.createElement("div",{className:T()(In,Object(M.a)({},"".concat(In,"-active"),bn))},c.createElement(Ue,Object.assign({},ze,{operationRef:_n,active:bn==="date",onSelect:function(xi){gi(rt(rr,xi,nn&&Object(j.a)(nn)==="object"?nn.defaultValue:null),"date")}})),c.createElement(bt,Object.assign({},ze,{format:void 0},Yn,Ni,{defaultValue:void 0,operationRef:Kn,active:bn==="time",onSelect:function(xi){gi(xi,"time")}})))}var zt=Ft;function Dr(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.locale,Lr=ze.value,Fr="".concat(Ct,"-cell"),Kr=function(Rn){return c.createElement("td",{key:"week",className:T()(Fr,"".concat(Fr,"-week"))},or.locale.getWeek(rr.locale,Rn))},nn="".concat(Ct,"-week-panel-row"),wn=function(Rn){return T()(nn,Object(M.a)({},"".concat(nn,"-selected"),ir(or,rr.locale,Lr,Rn)))};return c.createElement(Ue,Object.assign({},ze,{panelName:"week",prefixColumn:Kr,rowClassName:wn,keyboardConfig:{onLeftRight:null}}))}var Pr=Dr;function un(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.locale,Lr=ze.viewDate,Fr=ze.onNextYear,Kr=ze.onPrevYear,nn=ze.onYearClick,wn=c.useContext(X),In=wn.hideHeader;if(In)return null;var Rn="".concat(Ct,"-header");return c.createElement(G,Object.assign({},ze,{prefixCls:Rn,onSuperPrev:Kr,onSuperNext:Fr}),c.createElement("button",{type:"button",onClick:nn,className:"".concat(Ct,"-year-btn")},or.locale.format(rr.locale,Lr,rr.yearFormat)))}var Ht=un,dt=3,at=4;function Qt(ze){var Ct=ze.prefixCls,or=ze.locale,rr=ze.value,Lr=ze.viewDate,Fr=ze.generateConfig,Kr=ze.monthCellRender,nn=c.useContext(vr),wn=nn.rangedValue,In=nn.hoverRangedValue,Rn="".concat(Ct,"-cell"),Dn=fr({cellPrefixCls:Rn,value:rr,generateConfig:Fr,rangedValue:wn,hoverRangedValue:In,isSameCell:function(Yn,Zn){return cr(Fr,Yn,Zn)},isInView:function(){return!0},offsetCell:function(Yn,Zn){return Fr.addMonth(Yn,Zn)}}),bn=or.shortMonths||(Fr.locale.getShortMonths?Fr.locale.getShortMonths(or.locale):[]),Sn=Fr.setMonth(Lr,0),_n=Kr?function(Kn){return Kr(Kn,or)}:void 0;return c.createElement(An,Object.assign({},ze,{rowNum:at,colNum:dt,baseDate:Sn,getCellNode:_n,getCellText:function(Yn){return or.monthFormat?Fr.locale.format(or.locale,Yn,or.monthFormat):bn[Fr.getMonth(Yn)]},getCellClassName:Dn,getCellDate:Fr.addMonth,titleCell:function(Yn){return Fr.locale.format(or.locale,Yn,"YYYY-MM")}}))}var Jt=Qt;function gt(ze){var Ct=ze.prefixCls,or=ze.operationRef,rr=ze.onViewDateChange,Lr=ze.generateConfig,Fr=ze.value,Kr=ze.viewDate,nn=ze.onPanelChange,wn=ze.onSelect,In="".concat(Ct,"-month-panel");or.current={onKeyDown:function(bn){return ee(bn,{onLeftRight:function(_n){wn(Lr.addMonth(Fr||Kr,_n),"key")},onCtrlLeftRight:function(_n){wn(Lr.addYear(Fr||Kr,_n),"key")},onUpDown:function(_n){wn(Lr.addMonth(Fr||Kr,_n*dt),"key")},onEnter:function(){nn("date",Fr||Kr)}})}};var Rn=function(bn){var Sn=Lr.addYear(Kr,bn);rr(Sn),nn(null,Sn)};return c.createElement("div",{className:In},c.createElement(Ht,Object.assign({},ze,{prefixCls:Ct,onPrevYear:function(){Rn(-1)},onNextYear:function(){Rn(1)},onYearClick:function(){nn("year",Kr)}})),c.createElement(Jt,Object.assign({},ze,{prefixCls:Ct,onSelect:function(bn){wn(bn,"mouse"),nn("date",bn)}})))}var Bt=gt;function mt(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.locale,Lr=ze.viewDate,Fr=ze.onNextYear,Kr=ze.onPrevYear,nn=ze.onYearClick,wn=c.useContext(X),In=wn.hideHeader;if(In)return null;var Rn="".concat(Ct,"-header");return c.createElement(G,Object.assign({},ze,{prefixCls:Rn,onSuperPrev:Kr,onSuperNext:Fr}),c.createElement("button",{type:"button",onClick:nn,className:"".concat(Ct,"-year-btn")},or.locale.format(rr.locale,Lr,rr.yearFormat)))}var kt=mt,gr=4,ar=1;function lr(ze){var Ct=ze.prefixCls,or=ze.locale,rr=ze.value,Lr=ze.viewDate,Fr=ze.generateConfig,Kr=c.useContext(vr),nn=Kr.rangedValue,wn=Kr.hoverRangedValue,In="".concat(Ct,"-cell"),Rn=fr({cellPrefixCls:In,value:rr,generateConfig:Fr,rangedValue:nn,hoverRangedValue:wn,isSameCell:function(Sn,_n){return Wt(Fr,Sn,_n)},isInView:function(){return!0},offsetCell:function(Sn,_n){return Fr.addMonth(Sn,_n*3)}}),Dn=Fr.setDate(Fr.setMonth(Lr,0),1);return c.createElement(An,Object.assign({},ze,{rowNum:ar,colNum:gr,baseDate:Dn,getCellText:function(Sn){return Fr.locale.format(or.locale,Sn,or.quarterFormat||"[Q]Q")},getCellClassName:Rn,getCellDate:function(Sn,_n){return Fr.addMonth(Sn,_n*3)},titleCell:function(Sn){return Fr.locale.format(or.locale,Sn,"YYYY-[Q]Q")}}))}var Gr=lr;function Jr(ze){var Ct=ze.prefixCls,or=ze.operationRef,rr=ze.onViewDateChange,Lr=ze.generateConfig,Fr=ze.value,Kr=ze.viewDate,nn=ze.onPanelChange,wn=ze.onSelect,In="".concat(Ct,"-quarter-panel");or.current={onKeyDown:function(bn){return ee(bn,{onLeftRight:function(_n){wn(Lr.addMonth(Fr||Kr,_n*3),"key")},onCtrlLeftRight:function(_n){wn(Lr.addYear(Fr||Kr,_n),"key")},onUpDown:function(_n){wn(Lr.addYear(Fr||Kr,_n),"key")}})}};var Rn=function(bn){var Sn=Lr.addYear(Kr,bn);rr(Sn),nn(null,Sn)};return c.createElement("div",{className:In},c.createElement(kt,Object.assign({},ze,{prefixCls:Ct,onPrevYear:function(){Rn(-1)},onNextYear:function(){Rn(1)},onYearClick:function(){nn("year",Kr)}})),c.createElement(Gr,Object.assign({},ze,{prefixCls:Ct,onSelect:function(bn){wn(bn,"mouse")}})))}var Tn=Jr;function Nn(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.viewDate,Lr=ze.onPrevDecade,Fr=ze.onNextDecade,Kr=ze.onDecadeClick,nn=c.useContext(X),wn=nn.hideHeader;if(wn)return null;var In="".concat(Ct,"-header"),Rn=or.getYear(rr),Dn=Math.floor(Rn/Se)*Se,bn=Dn+Se-1;return c.createElement(G,Object.assign({},ze,{prefixCls:In,onSuperPrev:Lr,onSuperNext:Fr}),c.createElement("button",{type:"button",onClick:Kr,className:"".concat(Ct,"-decade-btn")},Dn,"-",bn))}var zn=Nn,qn=3,vi=4;function Ri(ze){var Ct=ze.prefixCls,or=ze.value,rr=ze.viewDate,Lr=ze.locale,Fr=ze.generateConfig,Kr=c.useContext(vr),nn=Kr.rangedValue,wn=Kr.hoverRangedValue,In="".concat(Ct,"-cell"),Rn=Fr.getYear(rr),Dn=Math.floor(Rn/Se)*Se,bn=Dn+Se-1,Sn=Fr.setYear(rr,Dn-Math.ceil((qn*vi-Se)/2)),_n=function(Zn){var yi=Fr.getYear(Zn);return Dn<=yi&&yi<=bn},Kn=fr({cellPrefixCls:In,value:or,generateConfig:Fr,rangedValue:nn,hoverRangedValue:wn,isSameCell:function(Zn,yi){return tr(Fr,Zn,yi)},isInView:_n,offsetCell:function(Zn,yi){return Fr.addYear(Zn,yi)}});return c.createElement(An,Object.assign({},ze,{rowNum:vi,colNum:qn,baseDate:Sn,getCellText:Fr.getYear,getCellClassName:Kn,getCellDate:Fr.addYear,titleCell:function(Zn){return Fr.locale.format(Lr.locale,Zn,"YYYY")}}))}var Ve=Ri,Se=10;function Re(ze){var Ct=ze.prefixCls,or=ze.operationRef,rr=ze.onViewDateChange,Lr=ze.generateConfig,Fr=ze.value,Kr=ze.viewDate,nn=ze.sourceMode,wn=ze.onSelect,In=ze.onPanelChange,Rn="".concat(Ct,"-year-panel");or.current={onKeyDown:function(Sn){return ee(Sn,{onLeftRight:function(Kn){wn(Lr.addYear(Fr||Kr,Kn),"key")},onCtrlLeftRight:function(Kn){wn(Lr.addYear(Fr||Kr,Kn*Se),"key")},onUpDown:function(Kn){wn(Lr.addYear(Fr||Kr,Kn*qn),"key")},onEnter:function(){In(nn==="date"?"date":"month",Fr||Kr)}})}};var Dn=function(Sn){var _n=Lr.addYear(Kr,Sn*10);rr(_n),In(null,_n)};return c.createElement("div",{className:Rn},c.createElement(zn,Object.assign({},ze,{prefixCls:Ct,onPrevDecade:function(){Dn(-1)},onNextDecade:function(){Dn(1)},onDecadeClick:function(){In("decade",Kr)}})),c.createElement(Ve,Object.assign({},ze,{prefixCls:Ct,onSelect:function(Sn){In(nn==="date"?"date":"month",Sn),wn(Sn,"mouse")}})))}var Be=Re;function We(ze){var Ct=ze.prefixCls,or=ze.generateConfig,rr=ze.viewDate,Lr=ze.onPrevDecades,Fr=ze.onNextDecades,Kr=c.useContext(X),nn=Kr.hideHeader;if(nn)return null;var wn="".concat(Ct,"-header"),In=or.getYear(rr),Rn=Math.floor(In/mr)*mr,Dn=Rn+mr-1;return c.createElement(G,Object.assign({},ze,{prefixCls:wn,onSuperPrev:Lr,onSuperNext:Fr}),Rn,"-",Dn)}var He=We,Qe=3,At=4;function st(ze){var Ct=wr-1,or=ze.prefixCls,rr=ze.viewDate,Lr=ze.generateConfig,Fr=ze.disabledDate,Kr="".concat(or,"-cell"),nn=Lr.getYear(rr),wn=Math.floor(nn/wr)*wr,In=Math.floor(nn/mr)*mr,Rn=In+mr-1,Dn=Lr.setYear(rr,In-Math.ceil((Qe*At*wr-mr)/2)),bn=function(_n){var Kn,Yn=Fr&&Fr(_n),Zn=Lr.getYear(_n),yi=Zn+Ct;return Kn={},Object(M.a)(Kn,"".concat(Kr,"-disabled"),Yn),Object(M.a)(Kn,"".concat(Kr,"-in-view"),In<=Zn&&yi<=Rn),Object(M.a)(Kn,"".concat(Kr,"-selected"),Zn===wn),Kn};return c.createElement(An,Object.assign({},ze,{rowNum:At,colNum:Qe,baseDate:Dn,getCellText:function(_n){var Kn=Lr.getYear(_n);return"".concat(Kn,"-").concat(Kn+Ct)},getCellClassName:bn,getCellDate:function(_n,Kn){return Lr.addYear(_n,Kn*wr)}}))}var Pt=st,wr=10,mr=wr*10;function Or(ze){var Ct=ze.prefixCls,or=ze.onViewDateChange,rr=ze.generateConfig,Lr=ze.viewDate,Fr=ze.operationRef,Kr=ze.onSelect,nn=ze.onPanelChange,wn="".concat(Ct,"-decade-panel");Fr.current={onKeyDown:function(bn){return ee(bn,{onLeftRight:function(_n){Kr(rr.addYear(Lr,_n*wr),"key")},onCtrlLeftRight:function(_n){Kr(rr.addYear(Lr,_n*mr),"key")},onUpDown:function(_n){Kr(rr.addYear(Lr,_n*wr*Qe),"key")},onEnter:function(){nn("year",Lr)}})}};var In=function(bn){var Sn=rr.addYear(Lr,bn*mr);or(Sn),nn(null,Sn)},Rn=function(bn){Kr(bn,"mouse"),nn("year",bn)};return c.createElement("div",{className:wn},c.createElement(He,Object.assign({},ze,{prefixCls:Ct,onPrevDecades:function(){In(-1)},onNextDecades:function(){In(1)}})),c.createElement(Pt,Object.assign({},ze,{prefixCls:Ct,onSelect:Rn})))}var jt=Or;function cn(ze,Ct,or){return or?c.createElement("div",{className:"".concat(ze,"-footer-extra")},or(Ct)):null}function nr(ze){var Ct=ze.prefixCls,or=ze.rangeList,rr=or===void 0?[]:or,Lr=ze.components,Fr=Lr===void 0?{}:Lr,Kr=ze.needConfirmButton,nn=ze.onNow,wn=ze.onOk,In=ze.okDisabled,Rn=ze.showNow,Dn=ze.locale,bn,Sn;if(rr.length){var _n=Fr.rangeItem||"span";bn=c.createElement(c.Fragment,null,rr.map(function(Yn){var Zn=Yn.label,yi=Yn.onClick,gi=Yn.onMouseEnter,Ni=Yn.onMouseLeave;return c.createElement("li",{key:Zn,className:"".concat(Ct,"-preset")},c.createElement(_n,{onClick:yi,onMouseEnter:gi,onMouseLeave:Ni},Zn))}))}if(Kr){var Kn=Fr.button||"button";nn&&!bn&&Rn!==!1&&(bn=c.createElement("li",{className:"".concat(Ct,"-now")},c.createElement("a",{className:"".concat(Ct,"-now-btn"),onClick:nn},Dn.now))),Sn=Kr&&c.createElement("li",{className:"".concat(Ct,"-ok")},c.createElement(Kn,{disabled:In,onClick:wn},Dn.ok))}return!bn&&!Sn?null:c.createElement("ul",{className:"".concat(Ct,"-ranges")},bn,Sn)}function Xr(ze){var Ct,or=ze.prefixCls,rr=or===void 0?"rc-picker":or,Lr=ze.className,Fr=ze.style,Kr=ze.locale,nn=ze.generateConfig,wn=ze.value,In=ze.defaultValue,Rn=ze.pickerValue,Dn=ze.defaultPickerValue,bn=ze.disabledDate,Sn=ze.mode,_n=ze.picker,Kn=_n===void 0?"date":_n,Yn=ze.tabIndex,Zn=Yn===void 0?0:Yn,yi=ze.showNow,gi=ze.showTime,Ni=ze.showToday,ki=ze.renderExtraFooter,xi=ze.hideHeader,_i=ze.onSelect,Li=ze.onChange,Hn=ze.onPanelChange,Ci=ze.onMouseDown,Hi=ze.onPickerValueChange,pr=ze.onOk,Rr=ze.components,Qr=ze.direction,Nr=ze.hourStep,Xt=Nr===void 0?1:Nr,xr=ze.minuteStep,er=xr===void 0?1:xr,jr=ze.secondStep,Ur=jr===void 0?1:jr,pn=Kn==="date"&&!!gi||Kn==="time",sn=24%Xt===0,vn=60%er===0,Un=60%Ur===0,Qn=c.useContext(X),$n=Qn.operationRef,wi=Qn.panelRef,ra=Qn.onSelect,ua=Qn.hideRanges,da=Qn.defaultOpenValue,sa=c.useContext(vr),fa=sa.inRange,Wi=sa.panelPosition,Di=sa.rangedValue,na=sa.hoverRangedValue,Zi=c.useRef({}),ba=c.useRef(!0),Ta=Object(K.a)(null,{value:wn,defaultValue:In,postState:function(Bi){return!Bi&&da&&Kn==="time"?da:Bi}}),$i=Object(k.a)(Ta,2),Vi=$i[0],La=$i[1],ga=Object(K.a)(null,{value:Rn,defaultValue:Dn||Vi,postState:function(Bi){return Bi||nn.getNow()}}),Ti=Object(k.a)(ga,2),Ea=Ti[0],Da=Ti[1],Na=function(Bi){Da(Bi),Hi&&Hi(Bi)},Pa=function(Bi){var Ia=Ie[Kn];return Ia?Ia(Bi):Bi},Ha=Object(K.a)(function(){return Kn==="time"?"time":Pa("date")},{value:Sn}),za=Object(k.a)(Ha,2),wa=za[0],Ka=za[1];c.useEffect(function(){Ka(Kn)},[Kn]);var ao=c.useState(function(){return wa}),ea=Object(k.a)(ao,2),lo=ea[0],Ya=ea[1],Sa=function(Bi,Ia){var Vo=Pa(Bi||wa);Ya(wa),Ka(Vo),Hn&&(wa!==Vo||Lt(nn,Ea,Ea))&&Hn(Ia,Vo)},Ja=function(Bi,Ia){var Vo=arguments.length>2&&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(jt,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(Bt,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(zt,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:Rr,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,Dn=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"),Dn),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,Dn=Object(c.useState)(!1),bn=Object(k.a)(Dn,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;nn<or.length;nn+=1){var wn=or[nn],In=rr.locale.format(Lr.locale,ze,wn);Kr.push(In),nn===0&&(Fr=In)}return[Kr,Fr]},[ze,or],function(Fr,Kr){return Fr[0]!==Kr[0]||!Fn()(Fr[1],Kr[1])})}function gn(ze,Ct){var or=Ct.formatList,rr=Ct.generateConfig,Lr=Ct.locale,Fr=Object(c.useState)(null),Kr=Object(k.a)(Fr,2),nn=Kr[0],wn=Kr[1],In=Object(c.useRef)(null);function Rn(Yn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(In.current),Zn){wn(Yn);return}In.current=requestAnimationFrame(function(){wn(Yn)})}var Dn=Si(nn,{formatList:or,generateConfig:rr,locale:Lr}),bn=Object(k.a)(Dn,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,Dn=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,Rr=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 Rr?!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(Rr&&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&&!Rr&&(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:Dn,popupPlacement:Yo,direction:ua},c.createElement("div",{className:T()(rr,nn,(Ct={},Object(M.a)(Ct,"".concat(rr,"-disabled"),Rr),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:Rr,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 Dn(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 Dn(Yn)>Dn(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)<Sn(In);case"month":return bn(Yn)<bn(In);case"week":return Dn(Yn)<Dn(In);default:return!Vr(wn,Yn,In)&&wn.isAfter(In,Yn)}return!1},[Kr,nn[0],In,or]);return[_n,Kn]}function ri(ze,Ct,or,rr){var Lr=$t(ze,or,rr,1);function Fr(Kr){return Kr(ze,Ct)?"same":Kr(Lr,Ct)?"closing":"far"}switch(or){case"year":return Fr(function(Kr,nn){return Nt(rr,Kr,nn)});case"quarter":case"month":return Fr(function(Kr,nn){return tr(rr,Kr,nn)});default:return Fr(function(Kr,nn){return cr(rr,Kr,nn)})}}function bi(ze,Ct,or,rr){var Lr=vt(ze,0),Fr=vt(ze,1);if(Ct===0)return Lr;if(Lr&&Fr){var Kr=ri(Lr,Fr,or,rr);switch(Kr){case"same":return Lr;case"closing":return Lr;default:return $t(Fr,or,rr,-1)}}return Lr}function Gn(ze){var Ct=ze.values,or=ze.picker,rr=ze.defaultDates,Lr=ze.generateConfig,Fr=c.useState(function(){return[vt(rr,0),vt(rr,1)]}),Kr=Object(k.a)(Fr,2),nn=Kr[0],wn=Kr[1],In=c.useState(null),Rn=Object(k.a)(In,2),Dn=Rn[0],bn=Rn[1],Sn=vt(Ct,0),_n=vt(Ct,1);function Kn(Zn){return nn[Zn]?nn[Zn]:vt(Dn,Zn)||bi(Ct,Zn,or,Lr)||Sn||_n||Lr.getNow()}function Yn(Zn,yi){if(Zn){var gi=Ze(Dn,Zn,yi);wn(Ze(nn,null,yi)||[null,null]);var Ni=(yi+1)%2;vt(Ct,Ni)||(gi=Ze(gi,Zn,Ni)),bn(gi)}else(Sn||_n)&&bn(null)}return[Kn,Yn]}function Fi(ze,Ct){return ze&&ze[0]&&ze[1]&&Ct.isAfter(ze[0],ze[1])?[ze[1],ze[0]]:ze}function Jn(ze,Ct,or,rr){return ze||rr&&rr[Ct]?!0:!!or[(Ct+1)%2]}function Mi(ze){var Ct,or,rr,Lr=ze.prefixCls,Fr=Lr===void 0?"rc-picker":Lr,Kr=ze.id,nn=ze.style,wn=ze.className,In=ze.popupStyle,Rn=ze.dropdownClassName,Dn=ze.transitionName,bn=ze.dropdownAlign,Sn=ze.getPopupContainer,_n=ze.generateConfig,Kn=ze.locale,Yn=ze.placeholder,Zn=ze.autoFocus,yi=ze.disabled,gi=ze.format,Ni=ze.picker,ki=Ni===void 0?"date":Ni,xi=ze.showTime,_i=ze.use12Hours,Li=ze.separator,Hn=Li===void 0?"~":Li,Ci=ze.value,Hi=ze.defaultValue,pr=ze.defaultPickerValue,Rr=ze.open,Qr=ze.defaultOpen,Nr=ze.disabledDate,Xt=ze.disabledTime,xr=ze.dateRender,er=ze.panelRender,jr=ze.ranges,Ur=ze.allowEmpty,pn=ze.allowClear,sn=ze.suffixIcon,vn=ze.clearIcon,Un=ze.pickerRef,Qn=ze.inputReadOnly,$n=ze.mode,wi=ze.renderExtraFooter,ra=ze.onChange,ua=ze.onOpenChange,da=ze.onPanelChange,sa=ze.onCalendarChange,fa=ze.onFocus,Wi=ze.onBlur,Di=ze.onOk,na=ze.components,Zi=ze.order,ba=ze.direction,Ta=ze.activePickerIndex,$i=ze.autoComplete,Vi=$i===void 0?"off":$i,La=ki==="date"&&!!xi||ki==="time",ga=Object(c.useRef)({}),Ti=Object(c.useRef)(null),Ea=Object(c.useRef)(null),Da=Object(c.useRef)(null),Na=Object(c.useRef)(null),Pa=Object(c.useRef)(null),Ha=Object(c.useRef)(null),za=Object(c.useRef)(null),wa=nt(ne(gi,ki,xi,_i)),Ka=Object(K.a)(0,{value:Ta}),ao=Object(k.a)(Ka,2),ea=ao[0],lo=ao[1],Ya=Object(c.useRef)(null),Sa=c.useMemo(function(){return Array.isArray(yi)?yi:[yi||!1,yi||!1]},[yi]),Ja=Object(K.a)(null,{value:Ci,defaultValue:Hi,postState:function(ha){return ki==="time"&&!Zi?ha:Fi(ha,_n)}}),Ma=Object(k.a)(Ja,2),ka=Ma[0],yo=Ma[1],to=Gn({values:ka,picker:ki,defaultDates:pr,generateConfig:_n}),_o=Object(k.a)(to,2),co=_o[0],uo=_o[1],Qa=Object(K.a)(ka,{postState:function(ha){var Wa=ha;if(Sa[0]&&Sa[1])return Wa;for(var oo=0;oo<2;oo+=1)Sa[oo]&&!vt(Wa,oo)&&!vt(Ur,oo)&&(Wa=Ze(Wa,_n.getNow(),oo));return Wa}}),Za=Object(k.a)(Qa,2),Ca=Za[0],no=Za[1],fo=Object(K.a)([ki,ki],{value:$n}),Bi=Object(k.a)(fo,2),Ia=Bi[0],Vo=Bi[1];Object(c.useEffect)(function(){Vo([ki,ki])},[ki]);var Uo=function(ha,Wa){Vo(ha),da&&da(Wa,ha)},Xo=ci({picker:ki,selectedValue:Ca,locale:Kn,disabled:Sa,disabledDate:Nr,generateConfig:_n},ga.current[1],ga.current[0]),Yo=Object(k.a)(Xo,2),bo=Yo[0],Oa=Yo[1],Fo=Object(K.a)(!1,{value:Rr,defaultValue:Qr,postState:function(ha){return Sa[ea]?!1:ha},onChange:function(ha){ua&&ua(ha),!ha&&Ya.current&&Ya.current.onClose&&Ya.current.onClose()}}),ss=Object(k.a)(Fo,2),ho=ss[0],Oo=ss[1],Fa=ho&&ea===0,Qo=ho&&ea===1,el=Object(c.useState)(0),Es=Object(k.a)(el,2),Ns=Es[0],Cs=Es[1];Object(c.useEffect)(function(){!ho&&Ti.current&&Cs(Ti.current.offsetWidth)},[ho]);var As=c.useRef();function vs(Ga,ha){if(Ga)clearTimeout(As.current),ga.current[ha]=!0,lo(ha),Oo(Ga),ho||uo(null,ha);else if(ea===ha){Oo(Ga);var Wa=ga.current;As.current=setTimeout(function(){Wa===ga.current&&(ga.current={})})}}function jo(Ga){vs(!0,Ga),setTimeout(function(){var ha=[Ha,za][Ga];ha.current&&ha.current.focus()},0)}function go(Ga,ha){var Wa=Ga,oo=vt(Wa,0),$o=vt(Wa,1);oo&&$o&&_n.isAfter(oo,$o)&&(ki==="week"&&!ir(_n,Kn.locale,oo,$o)||ki==="quarter"&&!Wt(_n,oo,$o)||ki!=="week"&&ki!=="quarter"&&ki!=="time"&&!Vr(_n,oo,$o)?(ha===0?(Wa=[oo,null],$o=null):(oo=null,Wa=[null,$o]),ga.current=Object(M.a)({},ha,!0)):(ki!=="time"||Zi!==!1)&&(Wa=Fi(Wa,_n))),no(Wa);var Bs=Wa&&Wa[0]?_n.locale.format(Kn.locale,Wa[0],wa[0]):"",Ss=Wa&&Wa[1]?_n.locale.format(Kn.locale,Wa[1],wa[0]):"";if(sa){var ds={range:ha===0?"start":"end"};sa(Wa,[Bs,Ss],ds)}var Po=Jn(oo,0,Sa,Ur),Co=Jn($o,1,Sa,Ur),Zo=Wa===null||Po&&Co;Zo&&(yo(Wa),ra&&(!Lt(_n,vt(ka,0),oo)||!Lt(_n,vt(ka,1),$o))&&ra(Wa,[Bs,Ss]));var So=null;ha===0&&!Sa[1]?So=1:ha===1&&!Sa[0]&&(So=0),So!==null&&So!==ea&&(!ga.current[So]||!vt(Wa,So))&&vt(Wa,ha)?jo(So):vs(!1,ha)}var es=function(ha){return ho&&Ya.current&&Ya.current.onKeyDown?Ya.current.onKeyDown(ha):(Object(S.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ho={formatList:wa,generateConfig:_n,locale:Kn},Go=Si(vt(Ca,0),Ho),zr=Object(k.a)(Go,2),Bo=zr[0],tl=zr[1],Ks=Si(vt(Ca,1),Ho),Ps=Object(k.a)(Ks,2),io=Ps[0],Ao=Ps[1],Jo=function(ha,Wa){var oo=_n.locale.parse(Kn.locale,ha,wa),$o=Wa===0?bo:Oa;oo&&!$o(oo)&&(no(Ze(Ca,oo,Wa)),uo(oo,Wa))},ns=ei({valueTexts:Bo,onTextChange:function(ha){return Jo(ha,0)}}),ys=Object(k.a)(ns,3),ps=ys[0],Ls=ys[1],il=ys[2],Rs=ei({valueTexts:io,onTextChange:function(ha){return Jo(ha,1)}}),Ws=Object(k.a)(Rs,3),ks=Ws[0],ms=Ws[1],Ms=Ws[2],yt=Object(c.useState)(null),Dt=Object(k.a)(yt,2),tn=Dt[0],On=Dt[1],ft=Object(c.useState)(null),$=Object(k.a)(ft,2),he=$[0],ge=$[1],Fe=gn(ps,{formatList:wa,generateConfig:_n,locale:Kn}),ct=Object(k.a)(Fe,3),Tt=ct[0],br=ct[1],Ir=ct[2],$r=gn(ks,{formatList:wa,generateConfig:_n,locale:Kn}),Cn=Object(k.a)($r,3),Wn=Cn[0],si=Cn[1],Ei=Cn[2],zi=function(ha){ge(Ze(Ca,ha,ea)),ea===0?br(ha):si(ha)},la=function(){ge(Ze(Ca,null,ea)),ea===0?Ir():Ei()},va=function(ha,Wa){return{blurToCancel:La,forwardKeyDown:es,onBlur:Wi,isClickOutside:function($o){return!se([Ea.current,Da.current,Na.current],$o)},onFocus:function($o){lo(ha),fa&&fa($o)},triggerOpen:function($o){vs($o,ha)},onSubmit:function(){go(Ca,ha),Wa()},onCancel:function(){vs(!1,ha),no(ka),Wa()}}},$a=oi(Object(U.a)(Object(U.a)({},va(0,il)),{},{open:Fa,value:ps})),eo=Object(k.a)($a,2),ro=eo[0],Lo=eo[1],Eo=Lo.focused,Gi=Lo.typing,po=oi(Object(U.a)(Object(U.a)({},va(1,Ms)),{},{open:Qo,value:ks})),wo=Object(k.a)(po,2),ts=wo[0],No=wo[1],Io=No.focused,Ko=No.typing,bs=function(ha){!ho&&!Ha.current.contains(ha.target)&&!za.current.contains(ha.target)&&(Sa[0]?Sa[1]||jo(1):jo(0))},ls=function(ha){ho&&(Eo||Io)&&!Ha.current.contains(ha.target)&&!za.current.contains(ha.target)&&ha.preventDefault()},cs=ka&&ka[0]?_n.locale.format(Kn.locale,ka[0],"YYYYMMDDHHmmss"):"",ws=ka&&ka[1]?_n.locale.format(Kn.locale,ka[1],"YYYYMMDDHHmmss"):"";Object(c.useEffect)(function(){ho||(no(ka),!Bo.length||Bo[0]===""?Ls(""):tl!==ps&&il(),!io.length||io[0]===""?ms(""):Ao!==ks&&Ms())},[ho,Bo,io]),Object(c.useEffect)(function(){no(ka)},[cs,ws]),Un&&(Un.current={focus:function(){Ha.current&&Ha.current.focus()},blur:function(){Ha.current&&Ha.current.blur(),za.current&&za.current.blur()}});var us=Object.keys(jr||{}),Ys=us.map(function(Ga){var ha=jr[Ga],Wa=typeof ha=="function"?ha():ha;return{label:Ga,onClick:function(){go(Wa,null),vs(!1,ea)},onMouseEnter:function(){On(Wa)},onMouseLeave:function(){On(null)}}});function dl(){var Ga=arguments.length>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:Dn,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);Lr<rr.length;Lr++)Ct.indexOf(rr[Lr])<0&&Object.prototype.propertyIsEnumerable.call(ze,rr[Lr])&&(or[rr[Lr]]=ze[rr[Lr]]);return or};function qi(ze){function Ct(wn,In){var Rn=function(Dn){v()(Sn,Dn);var bn=b()(Sn);function Sn(_n){var Kn;return s()(this,Sn),Kn=bn.call(this,_n),Kn.pickerRef=c.createRef(),Kn.focus=function(){Kn.pickerRef.current&&Kn.pickerRef.current.focus()},Kn.blur=function(){Kn.pickerRef.current&&Kn.pickerRef.current.blur()},Kn.getDefaultLocale=function(){var Yn=Kn.props.locale,Zn=d()(d()({},jn.a),Yn);return Zn.lang=d()(d()({},Zn.lang),(Yn||{}).lang),Zn},Kn.renderPicker=function(Yn){var Zn=Kn.context,yi=Zn.getPrefixCls,gi=Zn.direction,Ni=Zn.getPopupContainer,ki=Kn.props,xi=ki.prefixCls,_i=ki.getPopupContainer,Li=ki.className,Hn=ki.size,Ci=ki.bordered,Hi=Ci===void 0?!0:Ci,pr=ki.placeholder,Rr=ia(ki,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Qr=Kn.props,Nr=Qr.format,Xt=Qr.showTime,xr=yi("picker",xi),er={showToday:!0},jr={};wn&&(jr.picker=wn);var Ur=wn||Kn.props.picker;return jr=d()(d()(d()({},jr),Xt?aa(d()({format:Nr,picker:Ur},Xt)):{}),Ur==="time"?aa(d()(d()({format:Nr},Kn.props),{picker:Ur})):{}),c.createElement(Ki.b.Consumer,null,function(pn){var sn,vn=Hn||pn;return c.createElement(yn,d()({ref:Kn.pickerRef,placeholder:Xn(Ur,Yn,pr),suffixIcon:Ur==="time"?c.createElement(I.a,null):c.createElement(x.a,null),clearIcon:c.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},er,Rr,jr,{locale:Yn.lang,className:T()(Li,(sn={},l()(sn,"".concat(xr,"-").concat(vn),vn),l()(sn,"".concat(xr,"-borderless"),!Hi),sn)),prefixCls:xr,getPopupContainer:_i||Ni,generateConfig:ze,prevIcon:c.createElement("span",{className:"".concat(xr,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(xr,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(xr,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(xr,"-super-next-icon")}),components:Ji,direction:gi}))})},Object(di.a)(wn!=="quarter",In,"DatePicker.".concat(In," is legacy usage. Please use DatePicker[picker='").concat(wn,"'] directly.")),Kn}return h()(Sn,[{key:"render",value:function(){return c.createElement(mi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Sn}(c.Component);return Rn.contextType=fi.b,In&&(Rn.displayName=In),Rn}var or=Ct(),rr=Ct("week","WeekPicker"),Lr=Ct("month","MonthPicker"),Fr=Ct("year","YearPicker"),Kr=Ct("time","TimePicker"),nn=Ct("quarter","QuarterPicker");return{DatePicker:or,WeekPicker:rr,MonthPicker:Lr,YearPicker:Fr,TimePicker:Kr,QuarterPicker:nn}}var Ra=t("8ISB"),pi=t.n(Ra),ln=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);Lr<rr.length;Lr++)Ct.indexOf(rr[Lr])<0&&Object.prototype.propertyIsEnumerable.call(ze,rr[Lr])&&(or[rr[Lr]]=ze[rr[Lr]]);return or};function Oi(ze){var Ct=function(or){v()(Lr,or);var rr=b()(Lr);function Lr(){var Fr;return s()(this,Lr),Fr=rr.apply(this,arguments),Fr.pickerRef=c.createRef(),Fr.focus=function(){Fr.pickerRef.current&&Fr.pickerRef.current.focus()},Fr.blur=function(){Fr.pickerRef.current&&Fr.pickerRef.current.blur()},Fr.getDefaultLocale=function(){var Kr=Fr.props.locale,nn=d()(d()({},jn.a),Kr);return nn.lang=d()(d()({},nn.lang),(Kr||{}).lang),nn},Fr.renderPicker=function(Kr){var nn=Fr.context,wn=nn.getPrefixCls,In=nn.direction,Rn=nn.getPopupContainer,Dn=Fr.props,bn=Dn.prefixCls,Sn=Dn.getPopupContainer,_n=Dn.className,Kn=Dn.size,Yn=Dn.bordered,Zn=Yn===void 0?!0:Yn,yi=Dn.placeholder,gi=ln(Dn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Ni=Fr.props,ki=Ni.format,xi=Ni.showTime,_i=Ni.picker,Li=wn("picker",bn),Hn={};return Hn=d()(d()(d()({},Hn),xi?aa(d()({format:ki,picker:_i},xi)):{}),_i==="time"?aa(d()(d()({format:ki},Fr.props),{picker:_i})):{}),c.createElement(Ki.b.Consumer,null,function(Ci){var Hi,pr=Kn||Ci;return c.createElement(kr,d()({separator:c.createElement("span",{"aria-label":"to",className:"".concat(Li,"-separator")},c.createElement(pi.a,null)),ref:Fr.pickerRef,placeholder:ti(_i,Kr,yi),suffixIcon:_i==="time"?c.createElement(I.a,null):c.createElement(x.a,null),clearIcon:c.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},gi,Hn,{className:T()(_n,(Hi={},l()(Hi,"".concat(Li,"-").concat(pr),pr),l()(Hi,"".concat(Li,"-borderless"),!Zn),Hi)),locale:Kr.lang,prefixCls:Li,getPopupContainer:Sn||Rn,generateConfig:ze,prevIcon:c.createElement("span",{className:"".concat(Li,"-prev-icon")}),nextIcon:c.createElement("span",{className:"".concat(Li,"-next-icon")}),superPrevIcon:c.createElement("span",{className:"".concat(Li,"-super-prev-icon")}),superNextIcon:c.createElement("span",{className:"".concat(Li,"-super-next-icon")}),components:Ji,direction:In}))})},Fr}return h()(Lr,[{key:"render",value:function(){return c.createElement(mi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Lr}(c.Component);return Ct.contextType=fi.b,Ct}var Ji={button:n,rangeItem:o};function Pi(ze){return ze?Array.isArray(ze)?ze:[ze]:[]}function aa(ze){var Ct=ze.format,or=ze.picker,rr=ze.showHour,Lr=ze.showMinute,Fr=ze.showSecond,Kr=ze.use12Hours,nn=Pi(Ct)[0],wn=d()({},ze);return nn&&(!nn.includes("s")&&Fr===void 0&&(wn.showSecond=!1),!nn.includes("m")&&Lr===void 0&&(wn.showMinute=!1),!nn.includes("H")&&!nn.includes("h")&&rr===void 0&&(wn.showHour=!1),(nn.includes("a")||nn.includes("A"))&&Kr===void 0&&(wn.use12Hours=!0)),or==="time"?wn:{showTime:wn}}function Kt(ze){var Ct=qi(ze),or=Ct.DatePicker,rr=Ct.WeekPicker,Lr=Ct.MonthPicker,Fr=Ct.YearPicker,Kr=Ct.TimePicker,nn=Ct.QuarterPicker,wn=Oi(ze),In=or;return In.WeekPicker=rr,In.MonthPicker=Lr,In.YearPicker=Fr,In.RangePicker=wn,In.TimePicker=Kr,In.QuarterPicker=nn,In}var Yr=Kt,rn=Yr(g),hn=N.a=rn},"+lIL":function(R,N,t){var y=t("ProS");t("/ry/"),t("3OrL");var p=t("L5E0"),S=t("7Phj");y.registerVisual(p),y.registerLayout(S)},"+nKL":function(R,N,t){"use strict";var y=t("q1tI"),p=t("TSYQ"),S=t.n(p),m=t("wx14"),g=t("Zm9Q"),f=t("Kwbf"),d=t("VTBJ"),c=t("c+Xe"),a=t("m+aA"),n=t("bdgK"),i=new Map;function o(Je){Je.forEach(function(et){var be,Le=et.target;(be=i.get(Le))===null||be===void 0||be.forEach(function(Ue){return Ue(Le)})})}var r=new n.default(o),l=null,e=null;function s(Je,et){i.has(Je)||(i.set(Je,new Set),r.observe(Je)),i.get(Je).add(et)}function u(Je,et){i.has(Je)&&(i.get(Je).delete(et),i.get(Je).size||(r.unobserve(Je),i.delete(Je)))}var h=t("1OyB"),A=t("vuIU"),v=t("Ji7U"),w=t("LK+K"),b=function(Je){Object(v.a)(be,Je);var et=Object(w.a)(be);function be(){return Object(h.a)(this,be),et.apply(this,arguments)}return Object(A.a)(be,[{key:"render",value:function(){return this.props.children}}]),be}(y.Component),E=y.createContext(null);function T(Je){var et=Je.children,be=Je.onBatchResize,Le=y.useRef(0),Ue=y.useRef([]),rt=y.useContext(E),Vt=y.useCallback(function(Ft,zt,Dr){Le.current+=1;var Pr=Le.current;Ue.current.push({size:Ft,element:zt,data:Dr}),Promise.resolve().then(function(){Pr===Le.current&&(be==null||be(Ue.current),Ue.current=[])}),rt==null||rt(Ft,zt,Dr)},[be,rt]);return y.createElement(E.Provider,{value:Vt},et)}function _(Je){var et=Je.children,be=Je.disabled,Le=y.useRef(null),Ue=y.useRef(null),rt=y.useContext(E),Vt=typeof et=="function",Ft=Vt?et(Le):et,zt=y.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Dr=!Vt&&y.isValidElement(Ft)&&Object(c.c)(Ft),Pr=Dr?Ft.ref:null,un=y.useMemo(function(){return Object(c.a)(Pr,Le)},[Pr,Le]),Ht=y.useRef(Je);Ht.current=Je;var dt=y.useCallback(function(at){var Qt=Ht.current,Jt=Qt.onResize,gt=Qt.data,Bt=at.getBoundingClientRect(),mt=Bt.width,kt=Bt.height,gr=at.offsetWidth,ar=at.offsetHeight,lr=Math.floor(mt),Gr=Math.floor(kt);if(zt.current.width!==lr||zt.current.height!==Gr||zt.current.offsetWidth!==gr||zt.current.offsetHeight!==ar){var Jr={width:lr,height:Gr,offsetWidth:gr,offsetHeight:ar};zt.current=Jr;var Tn=gr===Math.round(mt)?mt:gr,Nn=ar===Math.round(kt)?kt:ar,zn=Object(d.a)(Object(d.a)({},Jr),{},{offsetWidth:Tn,offsetHeight:Nn});rt==null||rt(zn,at,gt),Jt&&Promise.resolve().then(function(){Jt(zn,at)})}},[]);return y.useEffect(function(){var at=Object(a.a)(Le.current)||Object(a.a)(Ue.current);return at&&!be&&s(at,dt),function(){return u(at,dt)}},[Le.current,be]),y.createElement(b,{ref:Ue},Dr?y.cloneElement(Ft,{ref:un}):Ft)}var x="rc-observer-key";function C(Je){var et=Je.children,be=typeof et=="function"?[et]:Object(g.a)(et);return be.map(function(Le,Ue){var rt=(Le==null?void 0:Le.key)||"".concat(x,"-").concat(Ue);return y.createElement(_,Object(m.a)({},Je,{key:rt}),Le)})}C.Collection=T;var I=C;function L(Je,et){var be=Object.keys(Je);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Je);et&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Je,Ue).enumerable})),be.push.apply(be,Le)}return be}function F(Je){for(var et=1;et<arguments.length;et++){var be=arguments[et]!=null?arguments[et]:{};et%2?L(Object(be),!0).forEach(function(Le){B(Je,Le,be[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Je,Object.getOwnPropertyDescriptors(be)):L(Object(be)).forEach(function(Le){Object.defineProperty(Je,Le,Object.getOwnPropertyDescriptor(be,Le))})}return Je}function B(Je,et,be){return et in Je?Object.defineProperty(Je,et,{value:be,enumerable:!0,configurable:!0,writable:!0}):Je[et]=be,Je}var P=y.forwardRef(function(Je,et){var be=Je.height,Le=Je.offset,Ue=Je.children,rt=Je.prefixCls,Vt=Je.onInnerResize,Ft={},zt={display:"flex",flexDirection:"column"};return Le!==void 0&&(Ft={height:be,position:"relative",overflow:"hidden"},zt=F(F({},zt),{},{transform:"translateY(".concat(Le,"px)"),position:"absolute",left:0,right:0,top:0})),y.createElement("div",{style:Ft},y.createElement(I,{onResize:function(Pr){var un=Pr.offsetHeight;un&&Vt&&Vt()}},y.createElement("div",{style:zt,className:S()(B({},"".concat(rt,"-holder-inner"),rt)),ref:et},Ue)))});P.displayName="Filler";var H=P,z=t("wgJM");function M(Je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(be){return typeof be}:M=function(be){return be&&typeof Symbol=="function"&&be.constructor===Symbol&&be!==Symbol.prototype?"symbol":typeof be},M(Je)}function U(Je,et,be){return et in Je?Object.defineProperty(Je,et,{value:be,enumerable:!0,configurable:!0,writable:!0}):Je[et]=be,Je}function k(Je,et){if(!(Je instanceof et))throw new TypeError("Cannot call a class as a function")}function K(Je,et){for(var be=0;be<et.length;be++){var Le=et[be];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(Je,Le.key,Le)}}function j(Je,et,be){return et&&K(Je.prototype,et),be&&K(Je,be),Je}function V(Je,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Je.prototype=Object.create(et&&et.prototype,{constructor:{value:Je,writable:!0,configurable:!0}}),et&&W(Je,et)}function W(Je,et){return W=Object.setPrototypeOf||function(Le,Ue){return Le.__proto__=Ue,Le},W(Je,et)}function X(Je){var et=G();return function(){var Le=ae(Je),Ue;if(et){var rt=ae(this).constructor;Ue=Reflect.construct(Le,arguments,rt)}else Ue=Le.apply(this,arguments);return J(this,Ue)}}function J(Je,et){if(et&&(M(et)==="object"||typeof et=="function"))return et;if(et!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return de(Je)}function de(Je){if(Je===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Je}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Je){return!1}}function ae(Je){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(be){return be.__proto__||Object.getPrototypeOf(be)},ae(Je)}var Ae=20;function me(Je){return"touches"in Je?Je.touches[0].pageY:Je.pageY}var Me=function(Je){V(be,Je);var et=X(be);function be(){var Le;k(this,be);for(var Ue=arguments.length,rt=new Array(Ue),Vt=0;Vt<Ue;Vt++)rt[Vt]=arguments[Vt];return Le=et.call.apply(et,[this].concat(rt)),Le.moveRaf=null,Le.scrollbarRef=y.createRef(),Le.thumbRef=y.createRef(),Le.visibleTimeout=null,Le.state={dragging:!1,pageY:null,startTop:null,visible:!1},Le.delayHidden=function(){clearTimeout(Le.visibleTimeout),Le.setState({visible:!0}),Le.visibleTimeout=setTimeout(function(){Le.setState({visible:!1})},2e3)},Le.onScrollbarTouchStart=function(Ft){Ft.preventDefault()},Le.onContainerMouseDown=function(Ft){Ft.stopPropagation(),Ft.preventDefault()},Le.patchEvents=function(){window.addEventListener("mousemove",Le.onMouseMove),window.addEventListener("mouseup",Le.onMouseUp),Le.thumbRef.current.addEventListener("touchmove",Le.onMouseMove),Le.thumbRef.current.addEventListener("touchend",Le.onMouseUp)},Le.removeEvents=function(){window.removeEventListener("mousemove",Le.onMouseMove),window.removeEventListener("mouseup",Le.onMouseUp),Le.scrollbarRef.current.removeEventListener("touchstart",Le.onScrollbarTouchStart),Le.thumbRef.current.removeEventListener("touchstart",Le.onMouseDown),Le.thumbRef.current.removeEventListener("touchmove",Le.onMouseMove),Le.thumbRef.current.removeEventListener("touchend",Le.onMouseUp),z.a.cancel(Le.moveRaf)},Le.onMouseDown=function(Ft){var zt=Le.props.onStartMove;Le.setState({dragging:!0,pageY:me(Ft),startTop:Le.getTop()}),zt(),Le.patchEvents(),Ft.stopPropagation(),Ft.preventDefault()},Le.onMouseMove=function(Ft){var zt=Le.state,Dr=zt.dragging,Pr=zt.pageY,un=zt.startTop,Ht=Le.props.onScroll;if(z.a.cancel(Le.moveRaf),Dr){var dt=me(Ft)-Pr,at=un+dt,Qt=Le.getEnableScrollRange(),Jt=Le.getEnableHeightRange(),gt=Jt?at/Jt:0,Bt=Math.ceil(gt*Qt);Le.moveRaf=Object(z.a)(function(){Ht(Bt)})}},Le.onMouseUp=function(){var Ft=Le.props.onStopMove;Le.setState({dragging:!1}),Ft(),Le.removeEvents()},Le.getSpinHeight=function(){var Ft=Le.props,zt=Ft.height,Dr=Ft.count,Pr=zt/Dr*10;return Pr=Math.max(Pr,Ae),Pr=Math.min(Pr,zt/2),Math.floor(Pr)},Le.getEnableScrollRange=function(){var Ft=Le.props,zt=Ft.scrollHeight,Dr=Ft.height;return zt-Dr||0},Le.getEnableHeightRange=function(){var Ft=Le.props.height,zt=Le.getSpinHeight();return Ft-zt||0},Le.getTop=function(){var Ft=Le.props.scrollTop,zt=Le.getEnableScrollRange(),Dr=Le.getEnableHeightRange();if(Ft===0||zt===0)return 0;var Pr=Ft/zt;return Pr*Dr},Le.showScroll=function(){var Ft=Le.props,zt=Ft.height,Dr=Ft.scrollHeight;return Dr>zt},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,Vt=Ue.visible,Ft=this.props.prefixCls,zt=this.getSpinHeight(),Dr=this.getTop(),Pr=this.showScroll(),un=Pr&&Vt;return y.createElement("div",{ref:this.scrollbarRef,className:S()("".concat(Ft,"-scrollbar"),U({},"".concat(Ft,"-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(Ft,"-scrollbar-thumb"),U({},"".concat(Ft,"-scrollbar-thumb-moving"),rt)),style:{width:"100%",height:zt,top:Dr,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 Vt=rt.getKey;return Je.slice(et,be+1).map(function(Ft,zt){var Dr=et+zt,Pr=Ue(Ft,Dr,{}),un=Vt(Ft);return y.createElement(oe,{key:un,setRef:function(dt){return Le(Ft,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;be<et.length;be++){var Le=et[be];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(Je,Le.key,Le)}}function Ge(Je,et,be){return et&&ne(Je.prototype,et),be&&ne(Je,be),Je}var Ee=function(){function Je(){ee(this,Je),this.maps=void 0,this.maps=Object.create(null)}return Ge(Je,[{key:"set",value:function(be,Le){this.maps[be]=Le}},{key:"get",value:function(be){return this.maps[be]}}]),Je}(),ue=Ee;function re(Je,et){return Ie(Je)||Ke(Je,et)||ke(Je,et)||ce()}function ce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ke(Je,et){if(!Je)return;if(typeof Je=="string")return Te(Je,et);var be=Object.prototype.toString.call(Je).slice(8,-1);if(be==="Object"&&Je.constructor&&(be=Je.constructor.name),be==="Map"||be==="Set")return Array.from(Je);if(be==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(be))return Te(Je,et)}function Te(Je,et){(et==null||et>Je.length)&&(et=Je.length);for(var be=0,Le=new Array(et);be<et;be++)Le[be]=Je[be];return Le}function Ke(Je,et){var be=Je==null?null:typeof Symbol!="undefined"&&Je[Symbol.iterator]||Je["@@iterator"];if(be==null)return;var Le=[],Ue=!0,rt=!1,Vt,Ft;try{for(be=be.call(Je);!(Ue=(Vt=be.next()).done)&&!(Le.push(Vt.value),et&&Le.length===et);Ue=!0);}catch(zt){rt=!0,Ft=zt}finally{try{!Ue&&be.return!=null&&be.return()}finally{if(rt)throw Ft}}return Le}function Ie(Je){if(Array.isArray(Je))return Je}function se(Je,et,be){var Le=y.useState(0),Ue=re(Le,2),rt=Ue[0],Vt=Ue[1],Ft=Object(y.useRef)(new Map),zt=Object(y.useRef)(new ue),Dr=Object(y.useRef)(0);function Pr(){Dr.current+=1;var Ht=Dr.current;Promise.resolve().then(function(){if(Ht!==Dr.current)return;Ft.current.forEach(function(dt,at){if(dt&&dt.offsetParent){var Qt=Object(a.a)(dt),Jt=Qt.offsetHeight;zt.current.get(at)!==Jt&&zt.current.set(at,Qt.offsetHeight)}}),Vt(function(dt){return dt+1})})}function un(Ht,dt){var at=Je(Ht),Qt=Ft.current.get(at);dt?(Ft.current.set(at,dt),Pr()):Ft.current.delete(at),!Qt!==!dt&&(dt?et==null||et(Ht):be==null||be(Ht))}return[un,Pr,zt.current,rt]}function ye(Je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ye=function(be){return typeof be}:ye=function(be){return be&&typeof Symbol=="function"&&be.constructor===Symbol&&be!==Symbol.prototype?"symbol":typeof be},ye(Je)}function xe(Je,et,be,Le,Ue,rt,Vt,Ft){var zt=y.useRef();return function(Dr){if(Dr==null){Ft();return}if(z.a.cancel(zt.current),typeof Dr=="number")Vt(Dr);else if(Dr&&ye(Dr)==="object"){var Pr,un=Dr.align;"index"in Dr?Pr=Dr.index:Pr=et.findIndex(function(Qt){return Ue(Qt)===Dr.key});var Ht=Dr.offset,dt=Ht===void 0?0:Ht,at=function Qt(Jt,gt){if(Jt<0||!Je.current)return;var Bt=Je.current.clientHeight,mt=!1,kt=gt;if(Bt){for(var gr=gt||un,ar=0,lr=0,Gr=0,Jr=Math.min(et.length,Pr),Tn=0;Tn<=Jr;Tn+=1){var Nn=Ue(et[Tn]);lr=ar;var zn=be.get(Nn);Gr=lr+(zn===void 0?Le:zn),ar=Gr,Tn===Pr&&zn===void 0&&(mt=!0)}var qn=null;switch(gr){case"top":qn=lr-dt;break;case"bottom":qn=Gr-Bt+dt;break;default:{var vi=Je.current.scrollTop,Ri=vi+Bt;lr<vi?kt="top":Gr>Ri&&(kt="bottom")}}qn!==null&&qn!==Je.current.scrollTop&&Vt(qn)}zt.current=Object(z.a)(function(){mt&&rt(),Qt(Jt-1,kt)})};at(3)}}}function Ye(Je,et,be,Le){var Ue=be-Je,rt=et-be,Vt=Math.min(Ue,rt)*2;if(Le<=Vt){var Ft=Math.floor(Le/2);return Le%2?be+Ft+1:be-Ft}return Ue>rt?be-(Le-rt):be+(Le-Ue)}function pt(Je,et,be){var Le=Je.length,Ue=et.length,rt,Vt;if(Le===0&&Ue===0)return null;Le<Ue?(rt=Je,Vt=et):(rt=et,Vt=Je);var Ft={__EMPTY_ITEM__:!0};function zt(at){return at!==void 0?be(at):Ft}for(var Dr=null,Pr=Math.abs(Le-Ue)!==1,un=0;un<Vt.length;un+=1){var Ht=zt(rt[un]),dt=zt(Vt[un]);if(Ht!==dt){Dr=un,Pr=Pr||Ht!==zt(Vt[un+1]);break}}return Dr===null?null:{index:Dr,multiple:Pr}}function nt(Je,et){return xt(Je)||wt(Je,et)||vt(Je,et)||Oe()}function Oe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vt(Je,et){if(!Je)return;if(typeof Je=="string")return Ze(Je,et);var be=Object.prototype.toString.call(Je).slice(8,-1);if(be==="Object"&&Je.constructor&&(be=Je.constructor.name),be==="Map"||be==="Set")return Array.from(Je);if(be==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(be))return Ze(Je,et)}function Ze(Je,et){(et==null||et>Je.length)&&(et=Je.length);for(var be=0,Le=new Array(et);be<et;be++)Le[be]=Je[be];return Le}function wt(Je,et){var be=Je==null?null:typeof Symbol!="undefined"&&Je[Symbol.iterator]||Je["@@iterator"];if(be==null)return;var Le=[],Ue=!0,rt=!1,Vt,Ft;try{for(be=be.call(Je);!(Ue=(Vt=be.next()).done)&&!(Le.push(Vt.value),et&&Le.length===et);Ue=!0);}catch(zt){rt=!0,Ft=zt}finally{try{!Ue&&be.return!=null&&be.return()}finally{if(rt)throw Ft}}return Le}function xt(Je){if(Array.isArray(Je))return Je}function Ot(Je,et,be){var Le=y.useState(Je),Ue=nt(Le,2),rt=Ue[0],Vt=Ue[1],Ft=y.useState(null),zt=nt(Ft,2),Dr=zt[0],Pr=zt[1];return y.useEffect(function(){var un=pt(rt||[],Je||[],et);(un==null?void 0:un.index)!==void 0&&(be==null||be(un.index),Pr(Je[un.index])),Vt(Je)},[Je]),[Dr]}function Mt(Je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(be){return typeof be}:Mt=function(be){return be&&typeof Symbol=="function"&&be.constructor===Symbol&&be!==Symbol.prototype?"symbol":typeof be},Mt(Je)}var Gt=(typeof navigator=="undefined"?"undefined":Mt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),$e=Gt,pe=function(Je,et){var be=Object(y.useRef)(!1),Le=Object(y.useRef)(null);function Ue(){clearTimeout(Le.current),be.current=!0,Le.current=setTimeout(function(){be.current=!1},50)}var rt=Object(y.useRef)({top:Je,bottom:et});return rt.current.top=Je,rt.current.bottom=et,function(Vt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zt=Vt<0&&rt.current.top||Vt>0&&rt.current.bottom;return Ft&&zt?(clearTimeout(Le.current),be.current=!1):(!zt||be.current)&&Ue(),!be.current&&zt}};function q(Je,et,be,Le){var Ue=Object(y.useRef)(0),rt=Object(y.useRef)(null),Vt=Object(y.useRef)(null),Ft=Object(y.useRef)(!1),zt=pe(et,be);function Dr(un){if(!Je)return;z.a.cancel(rt.current);var Ht=un.deltaY;if(Ue.current+=Ht,Vt.current=Ht,zt(Ht))return;$e||un.preventDefault(),rt.current=Object(z.a)(function(){var dt=Ft.current?10:1;Le(Ue.current*dt),Ue.current=0})}function Pr(un){if(!Je)return;Ft.current=un.detail===Vt.current}return[Dr,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),Vt=Object(y.useRef)(null),Ft,zt=function(Ht){if(Le.current){var dt=Math.ceil(Ht.touches[0].pageY),at=Ue.current-dt;Ue.current=dt,be(at)&&Ht.preventDefault(),clearInterval(Vt.current),Vt.current=setInterval(function(){at*=bt,(!be(at,!0)||Math.abs(at)<=.1)&&clearInterval(Vt.current)},16)}},Dr=function(){Le.current=!1,Ft()},Pr=function(Ht){Ft(),Ht.touches.length===1&&!Le.current&&(Le.current=!0,Ue.current=Math.ceil(Ht.touches[0].pageY),rt.current=Ht.target,rt.current.addEventListener("touchmove",zt),rt.current.addEventListener("touchend",Dr))};Ft=function(){rt.current&&(rt.current.removeEventListener("touchmove",zt),rt.current.removeEventListener("touchend",Dr))},y.useLayoutEffect(function(){return Je&&et.current.addEventListener("touchstart",Pr),function(){et.current.removeEventListener("touchstart",Pr),Ft(),clearInterval(Vt.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;et<arguments.length;et++){var be=arguments[et];for(var Le in be)Object.prototype.hasOwnProperty.call(be,Le)&&(Je[Le]=be[Le])}return Je},Nt.apply(this,arguments)}function tr(Je,et){var be=Object.keys(Je);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Je);et&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Je,Ue).enumerable})),be.push.apply(be,Le)}return be}function lt(Je){for(var et=1;et<arguments.length;et++){var be=arguments[et]!=null?arguments[et]:{};et%2?tr(Object(be),!0).forEach(function(Le){Wt(Je,Le,be[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Je,Object.getOwnPropertyDescriptors(be)):tr(Object(be)).forEach(function(Le){Object.defineProperty(Je,Le,Object.getOwnPropertyDescriptor(be,Le))})}return Je}function Wt(Je,et,be){return et in Je?Object.defineProperty(Je,et,{value:be,enumerable:!0,configurable:!0,writable:!0}):Je[et]=be,Je}function cr(Je,et){return ot(Je)||Lt(Je,et)||ur(Je,et)||Vr()}function Vr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ur(Je,et){if(!Je)return;if(typeof Je=="string")return ir(Je,et);var be=Object.prototype.toString.call(Je).slice(8,-1);if(be==="Object"&&Je.constructor&&(be=Je.constructor.name),be==="Map"||be==="Set")return Array.from(Je);if(be==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(be))return ir(Je,et)}function ir(Je,et){(et==null||et>Je.length)&&(et=Je.length);for(var be=0,Le=new Array(et);be<et;be++)Le[be]=Je[be];return Le}function Lt(Je,et){var be=Je==null?null:typeof Symbol!="undefined"&&Je[Symbol.iterator]||Je["@@iterator"];if(be==null)return;var Le=[],Ue=!0,rt=!1,Vt,Ft;try{for(be=be.call(Je);!(Ue=(Vt=be.next()).done)&&!(Le.push(Vt.value),et&&Le.length===et);Ue=!0);}catch(zt){rt=!0,Ft=zt}finally{try{!Ue&&be.return!=null&&be.return()}finally{if(rt)throw Ft}}return Le}function ot(Je){if(Array.isArray(Je))return Je}function Xe(Je,et){if(Je==null)return{};var be=$t(Je,et),Le,Ue;if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Je);for(Ue=0;Ue<rt.length;Ue++){if(Le=rt[Ue],et.indexOf(Le)>=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<Le.length;rt++){if(Ue=Le[rt],et.indexOf(Ue)>=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,Vt=Je.itemHeight,Ft=Je.fullHeight,zt=Ft===void 0?!0:Ft,Dr=Je.style,Pr=Je.data,un=Je.children,Ht=Je.itemKey,dt=Je.virtual,at=Je.component,Qt=at===void 0?"div":at,Jt=Je.onScroll,gt=Je.onVisibleChange,Bt=Xe(Je,le),mt=!!(dt!==!1&&rt&&Vt),kt=mt&&Pr&&Vt*Pr.length>rt,gr=Object(y.useState)(0),ar=cr(gr,2),lr=ar[0],Gr=ar[1],Jr=Object(y.useState)(!1),Tn=cr(Jr,2),Nn=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 Ht=="function"?Ht(Jn):Jn==null?void 0:Jn[Ht]},[Ht]),Be={getKey:Re};function We(Jn){Gr(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),st=cr(At,1),Pt=st[0];Qe.current=Pt;var wr=se(Re,null,null),mr=cr(wr,4),Or=mr[0],jt=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<jn;Xn+=1){var ti=vi[Xn],di=Re(ti),fi=cn.get(di),mi=Mi+(fi===void 0?Vt:fi);mi>=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,Vt,Re,jt,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(Wt({},zt?"height":"maxHeight",rt),vr),mt&&(Fi.overflowY="hidden",Nn&&(Fi.pointerEvents="none"))),y.createElement("div",Nt({style:lt(lt({},Dr),{},{position:"relative"}),className:qn},Bt),y.createElement(Qt,{className:"".concat(Le,"-holder"),style:Fi,ref:Ri,onScroll:Wr},y.createElement(H,{prefixCls:Le,height:Br,offset:Bn,onInnerResize:jt,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&&K<A?j=k>0?"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",j<A*1.5&&j>A/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;J<M.length;J++){var de=M[J].coord;W[0]=de,W[1]=0,X[0]=de,X[1]=k,U&&(s(W,W,U),s(X,X,U));var G=new d.Line({anid:j+"_"+M[J].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:X[0],y2:X[1]},style:K,z2:2,silent:!0});V.push(G)}return V}function B(M,U,k){var K=U.axis,j=U.getModel("axisTick");if(!j.get("show")||K.scale.isBlank())return;for(var V=j.getModel("lineStyle"),W=k.tickDirection*j.get("length"),X=K.getTicksCoords(),J=F(X,M._transform,W,S(V.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),de=0;de<J.length;de++)M.group.add(J[de]);return J}function P(M,U,k){var K=U.axis,j=U.getModel("minorTick");if(!j.get("show")||K.scale.isBlank())return;var V=K.getMinorTicksCoords();if(!V.length)return;for(var W=j.getModel("lineStyle"),X=k.tickDirection*j.get("length"),J=S(W.getLineStyle(),S(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),de=0;de<V.length;de++)for(var G=F(V[de],M._transform,X,J,"minorticks_"+de),ae=0;ae<G.length;ae++)M.group.add(G[ae])}function H(M,U,k){var K=U.axis,j=p(k.axisLabelShow,U.get("axisLabel.show"));if(!j||K.scale.isBlank())return;var V=U.getModel("axisLabel"),W=V.get("margin"),X=K.getViewLabels(),J=(p(k.labelRotate,V.get("rotate"))||0)*A/180,de=E(k.rotation,J,k.labelDirection),G=U.getCategories&&U.getCategories(!0),ae=[],Ae=_(U),me=U.get("triggerEvent");return g(X,function(Me,oe){var _e=Me.tickValue,ee=Me.formattedLabel,ne=Me.rawLabel,Ge=V;G&&G[_e]&&G[_e].textStyle&&(Ge=new c(G[_e].textStyle,V,U.ecModel));var Ee=Ge.getTextColor()||U.get("axisLine.lineStyle.color"),ue=K.dataToCoord(_e),re=[ue,k.labelOffset+k.labelDirection*W],ce=new d.Text({anid:"label_"+_e,position:re,rotation:de.rotation,silent:Ae,z2:10});d.setTextStyle(ce.style,Ge,{text:ee,textAlign:Ge.getShallow("align",!0)||de.textAlign,textVerticalAlign:Ge.getShallow("verticalAlign",!0)||Ge.getShallow("baseline",!0)||de.textVerticalAlign,textFill:typeof Ee=="function"?Ee(K.type==="category"?ne:K.type==="value"?_e+"":_e,oe):Ee}),me&&(ce.eventData=b(U),ce.eventData.targetType="axisLabel",ce.eventData.value=ne),M._dumbGroup.add(ce),ce.updateTransform(),ae.push(ce),M.group.add(ce),ce.decomposeTransform()}),ae}var z=v;R.exports=z},"+wW9":function(R,N,t){var y=t("bYtY"),p=y.each,S=y.isArray,m=y.isObject,g=t("JuEJ"),f=t("4NO4"),d=f.normalizeToArray;function c(l,e){e=e.split(",");for(var s=l,u=0;u<e.length&&!(s=s&&s[e[u]],s==null);u++);return s}function a(l,e,s,u){e=e.split(",");for(var h=l,A,v=0;v<e.length-1;v++)A=e[v],h[A]==null&&(h[A]={}),h=h[A];(u||h[e[v]]==null)&&(h[e[v]]=s)}function n(l){p(i,function(e){e[0]in l&&!(e[1]in l)&&(l[e[1]]=l[e[0]])})}var i=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],o=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(l,e){g(l,e),l.series=d(l.series),p(l.series,function(s){if(!m(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var h=c(s,"pointer.color");h!=null&&a(s,"itemStyle.color",h)}n(s)}),l.dataRange&&(l.visualMap=l.dataRange),p(o,function(s){var u=l[s];u&&(S(u)||(u=[u]),p(u,function(h){n(h)}))})}R.exports=r},"/IIm":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("H6uX"),g=t("IwbS"),f=t("pP6R"),d=t("gPAo"),c=S.curry,a=S.each,n=S.map,i=Math.min,o=Math.max,r=Math.pow,l=1e4,e=6,s=6,u="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},A={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},v={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function b(se){m.call(this),this._zr=se,this.group=new g.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},a(re,function(ye,xe){this._handlers[xe]=S.bind(ye,this)},this)}b.prototype={constructor:b,enableBrush:function(se){return this._brushType&&T(this),se.brushType&&E(this,se),this},setPanels:function(se){if(se&&se.length){var ye=this._panels={};S.each(se,function(xe){ye[xe.panelId]=S.clone(xe)})}else this._panels=null;return this},mount:function(se){se=se||{},this._enableGlobalPan=se.enableGlobalPan;var ye=this.group;return this._zr.add(ye),ye.attr({position:se.position||[0,0],rotation:se.rotation||0,scale:se.scale||[1,1]}),this._transform=ye.getLocalTransform(),this},eachCover:function(se,ye){a(this._covers,se,ye)},updateCovers:function(se){se=S.map(se,function(xt){return S.merge(S.clone(v),xt,!0)});var ye="\0-brush-index-",xe=this._covers,Ye=this._covers=[],pt=this,nt=this._creatingCover;return new d(xe,se,vt,Oe).add(Ze).update(Ze).remove(wt).execute(),this;function Oe(xt,Ot){return(xt.id!=null?xt.id:ye+Ot)+"-"+xt.brushType}function vt(xt,Ot){return Oe(xt.__brushOption,Ot)}function Ze(xt,Ot){var Mt=se[xt];if(Ot!=null&&xe[Ot]===nt)Ye[xt]=xe[Ot];else{var Gt=Ye[xt]=Ot!=null?(xe[Ot].__brushOption=Mt,xe[Ot]):I(pt,C(pt,Mt));B(pt,Gt)}}function wt(xt){xe[xt]!==nt&&pt.group.remove(xe[xt])}},unmount:function(){return this.enableBrush(!1),M(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},S.mixin(b,m);function E(se,ye){var xe=se._zr;se._enableGlobalPan||f.take(xe,u,se._uid),_(xe,se._handlers),se._brushType=ye.brushType,se._brushOption=S.merge(S.clone(v),ye,!0)}function T(se){var ye=se._zr;f.release(ye,u,se._uid),x(ye,se._handlers),se._brushType=se._brushOption=null}function _(se,ye){a(ye,function(xe,Ye){se.on(Ye,xe)})}function x(se,ye){a(ye,function(xe,Ye){se.off(Ye,xe)})}function C(se,ye){var xe=Te[ye.brushType].createCover(se,ye);return xe.__brushOption=ye,F(xe,ye),se.group.add(xe),xe}function I(se,ye){var xe=P(ye);return xe.endCreating&&(xe.endCreating(se,ye),F(ye,ye.__brushOption)),ye}function L(se,ye){var xe=ye.__brushOption;P(ye).updateCoverShape(se,ye,xe.range,xe)}function F(se,ye){var xe=ye.z;xe==null&&(xe=l),se.traverse(function(Ye){Ye.z=xe,Ye.z2=xe})}function B(se,ye){P(ye).updateCommon(se,ye),L(se,ye)}function P(se){return Te[se.__brushOption.brushType]}function H(se,ye,xe){var Ye=se._panels;if(!Ye)return!0;var pt,nt=se._transform;return a(Ye,function(Oe){Oe.isTargetByCursor(ye,xe,nt)&&(pt=Oe)}),pt}function z(se,ye){var xe=se._panels;if(!xe)return!0;var Ye=ye.__brushOption.panelId;return Ye!=null?xe[Ye]:!0}function M(se){var ye=se._covers,xe=ye.length;return a(ye,function(Ye){se.group.remove(Ye)},se),ye.length=0,!!xe}function U(se,ye){var xe=n(se._covers,function(Ye){var pt=Ye.__brushOption,nt=S.clone(pt.range);return{brushType:pt.brushType,panelId:pt.panelId,range:nt}});se.trigger("brush",xe,{isEnd:!!ye.isEnd,removeOnClick:!!ye.removeOnClick})}function k(se){var ye=se._track;if(!ye.length)return!1;var xe=ye[ye.length-1],Ye=ye[0],pt=xe[0]-Ye[0],nt=xe[1]-Ye[1],Oe=r(pt*pt+nt*nt,.5);return Oe>e}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;Oe<pt.length;Oe++){var vt=pt[Oe].__brushOption;if(nt&&(nt===!0||vt.panelId===nt.panelId)&&Te[vt.brushType].contain(pt[Oe],xe[0],xe[1]))return}nt&&Ye.setCursorStyle("crosshair")}function ne(se){var ye=se.event;ye.preventDefault&&ye.preventDefault()}function Ge(se,ye,xe){return se.childOfName("main").contain(ye,xe)}function Ee(se,ye,xe,Ye){var pt=se._creatingCover,nt=se._creatingPanel,Oe=se._brushOption,vt;if(se._track.push(xe.slice()),k(se)||pt){if(nt&&!pt){Oe.brushMode==="single"&&M(se);var Ze=S.clone(Oe);Ze.brushType=ue(Ze.brushType,nt),Ze.panelId=nt===!0?null:nt.panelId,pt=se._creatingCover=C(se,Ze),se._covers.push(pt)}if(pt){var wt=Te[ue(se._brushType,nt)],xt=pt.__brushOption;xt.range=wt.getCreatingRange(oe(se,pt,se._track)),Ye&&(I(se,pt),wt.updateCommon(se,pt)),L(se,pt),vt={isEnd:Ye}}}else Ye&&Oe.brushMode==="single"&&Oe.removeOnClick&&(H(se,ye,xe)&&M(se)&&(vt={isEnd:Ye,removeOnClick:!0}));return vt}function ue(se,ye){return se==="auto"?ye.defaultBrushType:se}var re={mousedown:function(se){if(this._dragging)ce(this,se);else if(!se.target||!se.target.draggable){ne(se);var ye=this.group.transformCoordToLocal(se.offsetX,se.offsetY);this._creatingCover=null;var xe=this._creatingPanel=H(this,se,ye);xe&&(this._dragging=!0,this._track=[ye.slice()])}},mousemove:function(se){var ye=se.offsetX,xe=se.offsetY,Ye=this.group.transformCoordToLocal(ye,xe);if(ee(this,se,Ye),this._dragging){ne(se);var pt=Ee(this,se,Ye,!1);pt&&U(this,pt)}},mouseup:function(se){ce(this,se)}};function ce(se,ye){if(se._dragging){ne(ye);var xe=ye.offsetX,Ye=ye.offsetY,pt=se.group.transformCoordToLocal(xe,Ye),nt=Ee(se,ye,pt,!0);se._dragging=!1,se._track=[],se._creatingCover=null,nt&&U(se,nt)}}function ke(se,ye,xe){var Ye=se._zr;return ye<0||ye>Ye.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<d._listeners.length;n++)if(d._listeners[n]===c)return void d._listeners.splice(n,1)}}}}),this._event},enumerable:!1,configurable:!0}),g.prototype.fire=function(f,d){for(var c=[],a=0;a<this._listeners.length;a++)c.push(this._listeners[a]);for(a=0;a<c.length;a++)c[a].call(void 0,f,d)},g.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},g}();p.EventEmitter=m,p.forwardEvent=function(g,f){return g(function(d){return f.fire(d)})}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.IUnicodeService=p.IOptionsService=p.ILogService=p.IInstantiationService=p.IDirtyRowService=p.ICharsetService=p.ICoreService=p.ICoreMouseService=p.IBufferService=void 0;var m=S(14);p.IBufferService=m.createDecorator("BufferService"),p.ICoreMouseService=m.createDecorator("CoreMouseService"),p.ICoreService=m.createDecorator("CoreService"),p.ICharsetService=m.createDecorator("CharsetService"),p.IDirtyRowService=m.createDecorator("DirtyRowService"),p.IInstantiationService=m.createDecorator("InstantiationService"),p.ILogService=m.createDecorator("LogService"),p.IOptionsService=m.createDecorator("OptionsService"),p.IUnicodeService=m.createDecorator("UnicodeService")},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.getDisposeArrayDisposable=p.disposeArray=p.Disposable=void 0;var m=function(){function f(){this._disposables=[],this._isDisposed=!1}return f.prototype.dispose=function(){this._isDisposed=!0;for(var d=0,c=this._disposables;d<c.length;d++)c[d].dispose();this._disposables.length=0},f.prototype.register=function(d){return this._disposables.push(d),d},f.prototype.unregister=function(d){var c=this._disposables.indexOf(d);c!==-1&&this._disposables.splice(c,1)},f}();function g(f){for(var d=0,c=f;d<c.length;d++)c[d].dispose();f.length=0}p.Disposable=m,p.disposeArray=g,p.getDisposeArrayDisposable=function(f){return{dispose:function(){return g(f)}}}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.WHITESPACE_CELL_CODE=p.WHITESPACE_CELL_WIDTH=p.WHITESPACE_CELL_CHAR=p.NULL_CELL_CODE=p.NULL_CELL_WIDTH=p.NULL_CELL_CHAR=p.CHAR_DATA_CODE_INDEX=p.CHAR_DATA_WIDTH_INDEX=p.CHAR_DATA_CHAR_INDEX=p.CHAR_DATA_ATTR_INDEX=p.DEFAULT_ATTR=p.DEFAULT_COLOR=void 0,p.DEFAULT_COLOR=256,p.DEFAULT_ATTR=256|p.DEFAULT_COLOR<<9,p.CHAR_DATA_ATTR_INDEX=0,p.CHAR_DATA_CHAR_INDEX=1,p.CHAR_DATA_WIDTH_INDEX=2,p.CHAR_DATA_CODE_INDEX=3,p.NULL_CELL_CHAR="",p.NULL_CELL_WIDTH=1,p.NULL_CELL_CODE=0,p.WHITESPACE_CELL_CHAR=" ",p.WHITESPACE_CELL_WIDTH=1,p.WHITESPACE_CELL_CODE=32},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.CellData=void 0;var f=S(8),d=S(3),c=S(6),a=function(n){function i(){var o=n!==null&&n.apply(this,arguments)||this;return o.content=0,o.fg=0,o.bg=0,o.extended=new c.ExtendedAttrs,o.combinedData="",o}return g(i,n),i.fromCharData=function(o){var r=new i;return r.setFromCharData(o),r},i.prototype.isCombined=function(){return 2097152&this.content},i.prototype.getWidth=function(){return this.content>>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;n<c;++n){var i=f[n];i>65535?(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;++o){var r=d.charCodeAt(o);if(55296<=r&&r<=56319){if(++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<b;){if(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;){for(;!(!(T<E)||128&(n=d[T])||128&(i=d[T+1])||128&(o=d[T+2])||128&(r=d[T+3]));)c[l++]=n,c[l++]=i,c[l++]=o,c[l++]=r,T+=4;if((n=d[T++])<128)c[l++]=n;else if((224&n)==192){if(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<i?(i+.05)/(n+.05):(n+.05)/(i+.05)}Object.defineProperty(p,"__esModule",{value:!0}),p.contrastRatio=p.toPaddedHex=p.rgba=p.rgb=p.css=p.color=p.channels=void 0,function(n){n.toCss=function(i,o,r,l){return l!==void 0?"#"+c(i)+c(o)+c(r)+c(l):"#"+c(i)+c(o)+c(r)},n.toRgba=function(i,o,r,l){return l===void 0&&(l=255),(i<<24|o<<16|r<<8|l)>>>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));b<e&&(A>0||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<e&&(A<255||v<255||w<255);)A=Math.min(255,A+Math.ceil(.1*(255-A))),v=Math.min(255,v+Math.ceil(.1*(255-v))),w=Math.min(255,w+Math.ceil(.1*(255-w))),b=a(f.relativeLuminance2(A,w,v),f.relativeLuminance2(s,u,h));return(A<<24|v<<16|w<<8|255)>>>0}n.ensureContrastRatio=function(r,l,e){var s=f.relativeLuminance(r>>8),u=f.relativeLuminance(l>>8);if(a(s,u)<e)return u<s?i(r,l,e):o(r,l,e)},n.reduceLuminance=i,n.increaseLuminance=o,n.toChannels=function(r){return[r>>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<c;++a)g[a]=f;return g}Object.defineProperty(p,"__esModule",{value:!0}),p.concat=p.fillFallback=p.fill=void 0,p.fill=function(g,f,d,c){return g.fill?g.fill(f,d,c):m(g,f,d,c)},p.fillFallback=m,p.concat=function(g,f){var d=new g.constructor(g.length+f.length);return d.set(g),d.set(f,g.length),d}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BufferLine=p.DEFAULT_ATTR_DATA=void 0;var m=S(8),g=S(3),f=S(4),d=S(6);p.DEFAULT_ATTR_DATA=Object.freeze(new d.AttributeData);var c=function(){function a(n,i,o){o===void 0&&(o=!1),this.isWrapped=o,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*n);for(var r=i||f.CellData.fromCharData([0,g.NULL_CELL_CHAR,g.NULL_CELL_WIDTH,g.NULL_CELL_CODE]),l=0;l<n;++l)this.setCell(l,r);this.length=n}return a.prototype.get=function(n){var i=this._data[3*n+0],o=2097151&i;return[this._data[3*n+1],2097152&i?this._combined[n]:o?m.stringFromCodePoint(o):"",i>>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<this.length-n){for(var l=new f.CellData,e=this.length-n-i-1;e>=0;--e)this.setCell(n+i+e,this.loadCell(n+e,l));for(e=0;e<i;++e)this.setCell(n+e,o)}else for(e=n;e<this.length;++e)this.setCell(e,o);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-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)},a.prototype.deleteCells=function(n,i,o,r){if(n%=this.length,i<this.length-n){for(var l=new f.CellData,e=0;e<this.length-n-i;++e)this.setCell(n+e,this.loadCell(n+i+e,l));for(e=this.length-i;e<this.length;++e)this.setCell(e,o)}else for(e=n;e<this.length;++e)this.setCell(e,o);n&&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),this.getWidth(n)!==0||this.hasContent(n)||this.setCellFromCodePoint(n,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)},a.prototype.replaceCells=function(n,i,o,r){for(n&&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<this.length&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i,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);n<i&&n<this.length;)this.setCell(n++,o)},a.prototype.resize=function(n,i){if(n!==this.length){if(n>this.length){var o=new Uint32Array(3*n);this.length&&(3*n<this._data.length?o.set(this._data.subarray(0,3*n)):o.set(this._data)),this._data=o;for(var r=this.length;r<n;++r)this.setCell(r,i)}else if(n){(o=new Uint32Array(3*n)).set(this._data.subarray(0,3*n)),this._data=o;var l=Object.keys(this._combined);for(r=0;r<l.length;r++){var e=parseInt(l[r],10);e>=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<this.length;++i)this.setCell(i,n)},a.prototype.copyFrom=function(n){for(var i in this.length!==n.length?this._data=new Uint32Array(n._data):this._data.set(n._data),this.length=n.length,this._combined={},n._combined)this._combined[i]=n._combined[i];for(var i in this._extendedAttrs={},n._extendedAttrs)this._extendedAttrs[i]=n._extendedAttrs[i];this.isWrapped=n.isWrapped},a.prototype.clone=function(){var n=new a(0);for(var i in n._data=new Uint32Array(this._data),n.length=this.length,this._combined)n._combined[i]=this._combined[i];for(var i in this._extendedAttrs)n._extendedAttrs[i]=this._extendedAttrs[i];return n.isWrapped=this.isWrapped,n},a.prototype.getTrimmedLength=function(){for(var n=this.length-1;n>=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<r;s++)for(u=0;u<3;u++)this._data[3*(o+s)+u]=e[3*(i+s)+u];var h=Object.keys(n._combined);for(u=0;u<h.length;u++){var A=parseInt(h[u],10);A>=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<o;){var l=this._data[3*i+0],e=2097151&l;r+=2097152&l?this._combined[i]:e?m.stringFromCodePoint(e):g.WHITESPACE_CELL_CHAR,i+=l>>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;f<arguments.length;f++)g[f]=arguments[f];for(var d=0,c=g;d<c.length;d++){var a=c[d];(m=a==null?void 0:a.parentElement)===null||m===void 0||m.removeChild(a)}}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.tooMuchOutput=p.promptLabel=void 0,p.promptLabel="Terminal input",p.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(_,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,I){C.__proto__=I}||function(C,I){for(var L in I)I.hasOwnProperty(L)&&(C[L]=I[L])})(_,x)},function(T,_){function x(){this.constructor=T}m(T,_),T.prototype=_===null?Object.create(_):(x.prototype=_.prototype,new x)});Object.defineProperty(p,"__esModule",{value:!0}),p.InputHandler=p.WindowsOptionsReportType=void 0;var f,d=S(12),c=S(20),a=S(39),n=S(2),i=S(15),o=S(8),r=S(16),l=S(0),e=S(3),s=S(4),u=S(6),h=S(22),A=S(24),v={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function w(T,_){if(T>24)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.length<x.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(x.length,131072))),this._dirtyRowService.clearRange(),x.length>131072)for(var F=0;F<x.length;F+=131072){var B=F+131072<x.length?F+131072:x.length,P=typeof x=="string"?this._stringDecoder.decode(x.substring(F,B),this._parseBuffer):this._utf8Decoder.decode(x.subarray(F,B),this._parseBuffer);this._parser.parse(this._parseBuffer,P)}else P=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,P);(C=this._bufferService.buffer).x===I&&C.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},_.prototype.print=function(x,C,I){var L,F,B=this._bufferService.buffer,P=this._charsetService.charset,H=this._optionsService.options.screenReaderMode,z=this._bufferService.cols,M=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,k=this._curAttrData,K=B.lines.get(B.ybase+B.y);this._dirtyRowService.markDirty(B.y),B.x&&I-C>0&&K.getWidth(B.x-1)===2&&K.setCellFromCodePoint(B.x-1,0,1,k.fg,k.bg,k.extended);for(var j=C;j<I;++j){if(L=x[j],F=this._unicodeService.wcwidth(L),L<127&&P){var V=P[String.fromCharCode(L)];V&&(L=V.charCodeAt(0))}if(H&&this._onA11yChar.fire(o.stringFromCodePoint(L)),F||!B.x){if(B.x+F-1>=z){if(M){for(;B.x<z;)K.setCellFromCodePoint(B.x++,0,1,k.fg,k.bg,k.extended);B.x=0,B.y++,B.y===B.scrollBottom+1?(B.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(B.y>=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.x<z&&I-C>0&&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.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=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.y<I.scrollTop)){for(var L=I.ybase+I.y,F=this._bufferService.rows-1-I.scrollBottom,B=this._bufferService.rows-1+I.ybase-F+1;C--;)I.lines.splice(B-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},_.prototype.deleteLines=function(x){this._restrictCursor();var C=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var L,F=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;C--;)I.lines.splice(F,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},_.prototype.insertChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.deleteChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.scrollUp=function(x){for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.lines.splice(I.ybase+I.scrollTop,1),I.lines.splice(I.ybase+I.scrollBottom,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},_.prototype.scrollDown=function(x){for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},_.prototype.scrollLeft=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var F=C.lines.get(C.ybase+L);F.deleteCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},_.prototype.scrollRight=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var F=C.lines.get(C.ybase+L);F.insertCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},_.prototype.insertColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var F=this._bufferService.buffer.lines.get(C.ybase+L);F.insertCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},_.prototype.deleteColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,L=C.scrollTop;L<=C.scrollBottom;++L){var F=C.lines.get(C.ybase+L);F.deleteCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},_.prototype.eraseChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(x.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.repeatPrecedingCharacter=function(x){if(this._parser.precedingCodepoint){for(var C=x.params[0]||1,I=new Uint32Array(C),L=0;L<C;++L)I[L]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},_.prototype.sendDeviceAttributesPrimary=function(x){x.params[0]>0||(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<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!0}},_.prototype.setModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,c.DEFAULT_CHARSET),this._charsetService.setgCharset(1,c.DEFAULT_CHARSET),this._charsetService.setgCharset(2,c.DEFAULT_CHARSET),this._charsetService.setgCharset(3,c.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},_.prototype.resetMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!1}},_.prototype.resetModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),x.params[C]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},_.prototype._updateAttrColor=function(x,C,I,L,F){return C===2?(x|=50331648,x&=-16777216,x|=u.AttributeData.fromColorRGB([I,L,F])):C===5&&(x&=-50331904,x|=33554432|255&I),x},_.prototype._extractColor=function(x,C,I){var L=[0,0,-1,0,0,0],F=0,B=0;do{if(L[B+F]=x.params[C+B],x.hasSubParams(C+B)){var P=x.getSubParams(C+B),H=0;do L[1]===5&&(F=1),L[B+H+1+F]=P[H];while(++H<P.length&&H+B+1+F<L.length);break}if(L[1]===5&&B+F>=2||L[1]===2&&B+F>=5)break;L[1]&&(F=1)}while(++B+C<x.length&&B+F<L.length);for(H=2;H<L.length;++H)L[H]===-1&&(L[H]=0);switch(L[0]){case 38:I.fg=this._updateAttrColor(I.fg,L[1],L[3],L[4],L[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,L[1],L[3],L[4],L[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,L[1],L[3],L[4],L[5])}return B},_.prototype._processUnderline=function(x,C){C.extended=C.extended.clone(),(!~x||x>5)&&(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<I;F++)(C=x.params[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;I<this._bufferService.rows;++I){var L=C.ybase+C.y+I,F=C.lines.get(L);F&&(F.fill(x),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},_}(n.Disposable);p.InputHandler=E},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DEFAULT_CHARSET=p.CHARSETS=void 0,p.CHARSETS={},p.DEFAULT_CHARSET=p.CHARSETS.B,p.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},p.CHARSETS.A={"#":"\xA3"},p.CHARSETS.B=void 0,p.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},p.CHARSETS.C=p.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},p.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},p.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},p.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},p.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},p.CHARSETS.E=p.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},p.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},p.CHARSETS.H=p.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},p.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Params=void 0;var m=function(){function g(f,d){if(f===void 0&&(f=32),d===void 0&&(d=32),this.maxLength=f,this.maxSubParamsLength=d,d>256)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<f.length;++c){var a=f[c];if(a instanceof Array)for(var n=0;n<a.length;++n)d.addSubParam(a[n]);else d.addParam(a)}return d},g.prototype.clone=function(){var f=new g(this.maxLength,this.maxSubParamsLength);return f.params.set(this.params),f.length=this.length,f._subParams.set(this._subParams),f._subParamsLength=this._subParamsLength,f._subParamsIdx.set(this._subParamsIdx),f._rejectDigits=this._rejectDigits,f._rejectSubDigits=this._rejectSubDigits,f._digitIsSub=this._digitIsSub,f},g.prototype.toArray=function(){for(var f=[],d=0;d<this.length;++d){f.push(this.params[d]);var c=this._subParamsIdx[d]>>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<this.length;++d){var c=this._subParamsIdx[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(;n<i;){var o=a[n++];if(o===59){this._state=2,this._start();break}if(o<48||57<o)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+o-48}this._state===2&&i-n>0&&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<f.length;r++){var l=(e=f[r]).ownedBy.indexOf(c);if(l>=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;r<f.length;r++){var e=f[r];if(m.configEquals(e.config,o))return e.ownedBy.push(c),e.atlas}var s={atlas:new g.DynamicCharAtlas(document,o),config:o,ownedBy:[c]};return f.push(s),s.atlas},p.removeTerminalFromCache=function(d){for(var c=0;c<f.length;c++){var a=f[c].ownedBy.indexOf(d);if(a!==-1){f[c].ownedBy.length===1?(f[c].atlas.dispose(),f.splice(c,1)):f[c].ownedBy.splice(a,1);break}}}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.is256Color=p.configEquals=p.generateConfig=void 0;var m=S(3);p.generateConfig=function(g,f,d,c){var a={foreground:c.foreground,background:c.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:c.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:g,scaledCharHeight:f,fontFamily:d.fontFamily,fontSize:d.fontSize,fontWeight:d.fontWeight,fontWeightBold:d.fontWeightBold,allowTransparency:d.allowTransparency,colors:a}},p.configEquals=function(g,f){for(var d=0;d<g.colors.ansi.length;d++)if(g.colors.ansi[d].rgba!==f.colors.ansi[d].rgba)return!1;return g.devicePixelRatio===f.devicePixelRatio&&g.fontFamily===f.fontFamily&&g.fontSize===f.fontSize&&g.fontWeight===f.fontWeight&&g.fontWeightBold===f.fontWeightBold&&g.allowTransparency===f.allowTransparency&&g.scaledCharWidth===f.scaledCharWidth&&g.scaledCharHeight===f.scaledCharHeight&&g.colors.foreground===f.colors.foreground&&g.colors.background===f.colors.background},p.is256Color=function(g){return g<m.DEFAULT_COLOR}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ColorManager=p.DEFAULT_ANSI_COLORS=void 0;var m=S(10),g=S(45),f=m.css.toColor("#ffffff"),d=m.css.toColor("#000000"),c=m.css.toColor("#ffffff"),a=m.css.toColor("#000000"),n={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};p.DEFAULT_ANSI_COLORS=function(){for(var o=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],l=0;l<216;l++){var e=r[l/36%6|0],s=r[l/6%6|0],u=r[l%6];o.push({css:m.channels.toCss(e,s,u),rgba:m.channels.toRgba(e,s,u)})}for(l=0;l<24;l++){var h=8+10*l;o.push({css:m.channels.toCss(h,h,h),rgba:m.channels.toRgba(h,h,h)})}return o}();var i=function(){function o(r,l){this.allowTransparency=l;var e=r.createElement("canvas");e.width=1,e.height=1;var s=e.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new g.ColorContrastCache,this.colors={foreground:f,background:d,cursor:c,cursorAccent:a,selectionTransparent:n,selectionOpaque:m.color.blend(d,n),ansi:p.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return o.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},o.prototype.setTheme=function(r){(r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,f),this.colors.background=this._parseColor(r.background,d),this.colors.cursor=this._parseColor(r.cursor,c,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,a,!0),this.colors.selectionTransparent=this._parseColor(r.selection,n,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,p.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,p.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,p.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,p.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,p.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,p.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,p.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,p.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,p.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,p.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,p.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,p.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,p.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,p.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,p.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,p.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},o.prototype._parseColor=function(r,l,e){if(e===void 0&&(e=this.allowTransparency),r===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!e)return console.warn("Color: "+r+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(E){return Number(E)}),h=u[0],A=u[1],v=u[2],w=u[3],b=Math.round(255*w);return{rgba:m.channels.toRgba(h,A,v,b),css:r}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},o}();p.ColorManager=i},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.throwIfFalsy=void 0,p.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(o,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,e){l.__proto__=e}||function(l,e){for(var s in e)e.hasOwnProperty(s)&&(l[s]=e[s])})(o,r)},function(i,o){function r(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(p,"__esModule",{value:!0}),p.CharacterJoinerRegistry=p.JoinedCellData=void 0;var f=S(6),d=S(3),c=S(4),a=function(i){function o(r,l,e){var s=i.call(this)||this;return s.content=0,s.combinedData="",s.fg=r.fg,s.bg=r.bg,s.combinedData=l,s._width=e,s}return g(o,i),o.prototype.isCombined=function(){return 2097152},o.prototype.getWidth=function(){return this._width},o.prototype.getChars=function(){return this.combinedData},o.prototype.getCode=function(){return 2097151},o.prototype.setFromCharData=function(r){throw new Error("not implemented")},o.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},o}(f.AttributeData);p.JoinedCellData=a;var n=function(){function i(o){this._bufferService=o,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new c.CellData}return i.prototype.registerCharacterJoiner=function(o){var r={id:this._nextCharacterJoinerId++,handler:o};return this._characterJoiners.push(r),r.id},i.prototype.deregisterCharacterJoiner=function(o){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===o)return this._characterJoiners.splice(r,1),!0;return!1},i.prototype.getJoinedCharacters=function(o){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(o);if(!r||r.length===0)return[];for(var l=[],e=r.translateToString(!0),s=0,u=0,h=0,A=r.getFg(0),v=r.getBg(0),w=0;w<r.getTrimmedLength();w++)if(r.loadCell(w,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==A||this._workCell.bg!==v){if(w-s>1)for(var b=this._getJoinedRanges(e,h,u,r,s),E=0;E<b.length;E++)l.push(b[E]);s=w,h=u,A=this._workCell.fg,v=this._workCell.bg}u+=this._workCell.getChars().length||d.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(b=this._getJoinedRanges(e,h,u,r,s),E=0;E<b.length;E++)l.push(b[E]);return l},i.prototype._getJoinedRanges=function(o,r,l,e,s){for(var u=o.substring(r,l),h=this._characterJoiners[0].handler(u),A=1;A<this._characterJoiners.length;A++)for(var v=this._characterJoiners[A].handler(u),w=0;w<v.length;w++)i._mergeRanges(h,v[w]);return this._stringRangesToCellRanges(h,e,s),h},i.prototype._stringRangesToCellRanges=function(o,r,l){var e=0,s=!1,u=0,h=o[e];if(h){for(var A=l;A<this._bufferService.cols;A++){var v=r.getWidth(A),w=r.getString(A).length||d.WHITESPACE_CELL_CHAR.length;if(v!==0){if(!s&&h[0]<=u&&(h[0]=A,s=!0),h[1]<=u){if(h[1]=A,!(h=o[++e]))break;h[0]<=u?(h[0]=A,s=!0):s=!1}u+=w}}h&&(h[1]=this._bufferService.cols)}},i._mergeRanges=function(o,r){for(var l=!1,e=0;e<o.length;e++){var s=o[e];if(l){if(r[1]<=s[0])return o[e-1][1]=r[1],o;if(r[1]<=s[1])return o[e-1][1]=Math.max(r[1],s[1]),o.splice(e,1),o;o.splice(e,1),e--}else{if(r[1]<=s[0])return o.splice(e,0,r),o;if(r[1]<=s[1])return s[0]=Math.min(r[0],s[0]),o;r[0]<s[1]&&(s[0]=Math.min(r[0],s[0]),l=!0)}}return l?o[o.length-1][1]=r[1]:o.push(r),o},i}();p.CharacterJoinerRegistry=n},function(y,p,S){"use strict";function m(g,f){var d=f.getBoundingClientRect();return[g.clientX-d.left,g.clientY-d.top]}Object.defineProperty(p,"__esModule",{value:!0}),p.getRawByteCoords=p.getCoords=p.getCoordsRelativeToElement=void 0,p.getCoordsRelativeToElement=m,p.getCoords=function(g,f,d,c,a,n,i,o){if(a){var r=m(g,f);if(r)return r[0]=Math.ceil((r[0]+(o?n/2:0))/n),r[1]=Math.ceil(r[1]/i),r[0]=Math.min(Math.max(r[0],1),d+(o?1:0)),r[1]=Math.min(Math.max(r[1],1),c),r}},p.getRawByteCoords=function(g){if(g)return{x:g[0]+32,y:g[1]+32}}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.RenderDebouncer=void 0;var m=function(){function g(f){this._renderCallback=f}return g.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},g.prototype.refresh=function(f,d,c){var a=this;this._rowCount=c,f=f!==void 0?f:0,d=d!==void 0?d:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,f):f,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,d):d,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return a._innerRefresh()}))},g.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var f=Math.max(this._rowStart,0),d=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(f,d)}},g}();p.RenderDebouncer=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.ScreenDprMonitor=void 0;var f=function(d){function c(){var a=d!==null&&d.apply(this,arguments)||this;return a._currentDevicePixelRatio=window.devicePixelRatio,a}return g(c,d),c.prototype.setListener=function(a){var n=this;this._listener&&this.clearListener(),this._listener=a,this._outerListener=function(){n._listener&&(n._listener(window.devicePixelRatio,n._currentDevicePixelRatio),n._updateDpr())},this._updateDpr()},c.prototype.dispose=function(){d.prototype.dispose.call(this),this.clearListener()},c.prototype._updateDpr=function(){var a;this._outerListener&&((a=this._resolutionMediaMatchList)===null||a===void 0||a.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},c.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},c}(S(2).Disposable);p.ScreenDprMonitor=f},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.clone=void 0,p.clone=function m(g,f){if(f===void 0&&(f=5),typeof g!="object")return g;var d=Array.isArray(g)?[]:{};for(var c in g)d[c]=f<=1?g[c]:g[c]?m(g[c],f-1):g[c];return d}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Terminal=void 0;var m=S(4),g=S(35),f=S(18),d=S(0),c=S(83),a=function(){function e(s){this._core=new g.Terminal(s),this._addonManager=new c.AddonManager}return e.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new i(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(s,u){this._verifyIntegers(s,u),this._core.resize(s,u)},e.prototype.open=function(s){this._core.open(s)},e.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},e.prototype.registerLinkMatcher=function(s,u,h){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,h)},e.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},e.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},e.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},e.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},e.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},e.prototype.addMarker=function(s){return this.registerMarker(s)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(s,u,h){this._verifyIntegers(s,u,h),this._core.select(s,u,h)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(s,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},e.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(s,u){this._core.write(s,u)},e.prototype.writeUtf8=function(s,u){this._core.write(s,u)},e.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
|
|
|
`,u)},e.prototype.paste=function(s){this._core.paste(s)},e.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},e.prototype.setOption=function(s,u){this._core.optionsService.setOption(s,u)},e.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(e,"strings",{get:function(){return f},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var h=0,A=s;h<A.length;h++){var v=A[h];if(v===1/0||isNaN(v)||v%1!=0)throw new Error("This API only accepts integers")}},e}();p.Terminal=a;var n=function(){function e(s,u){this._buffer=s,this.type=u}return e.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(s){var u=this._buffer.lines.get(s);if(u)return new o(u)},e.prototype.getNullCell=function(){return new m.CellData},e}(),i=function(){function e(s){var u=this;this._buffers=s,this._onBufferChange=new d.EventEmitter,this._normal=new n(this._buffers.normal,"normal"),this._alternate=new n(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),o=function(){function e(s){this._line=s}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(s,u){if(!(s<0||s>=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;Me<Math.abs(ae);Me++)me+=Ae;U._coreService.triggerDataEvent(me,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(K,"wheel",function(G){if(!V.wheel)return U.viewport.onWheel(G)?void 0:U.cancel(G)},{passive:!1})),this.register(e.addDisposableDomListener(K,"touchstart",function(G){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(G),U.cancel(G)},{passive:!0})),this.register(e.addDisposableDomListener(K,"touchmove",function(G){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(G)?void 0:U.cancel(G)},{passive:!1}))},M.prototype.refresh=function(U,k){var K;(K=this._renderService)===null||K===void 0||K.refreshRows(U,k)},M.prototype._queueLinkification=function(U,k){var K;(K=this.linkifier)===null||K===void 0||K.linkifyRows(U,k)},M.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},M.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},M.prototype.scrollLines=function(U,k){z.prototype.scrollLines.call(this,U,k),this.refresh(0,this.rows-1)},M.prototype.paste=function(U){c.paste(U,this.textarea,this._coreService)},M.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},M.prototype.registerLinkMatcher=function(U,k,K){var j=this.linkifier.registerLinkMatcher(U,k,K);return this.refresh(0,this.rows-1),j},M.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},M.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},M.prototype.registerCharacterJoiner=function(U){var k=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),k},M.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(M.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),M.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},M.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},M.prototype.select=function(U,k,K){this._selectionService.setSelection(U,k,K)},M.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},M.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},M.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},M.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},M.prototype.selectLines=function(U,k){var K;(K=this._selectionService)===null||K===void 0||K.selectLines(U,k)},M.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var k=w.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),k.type===3||k.type===2){var K=this.rows-1;return this.scrollLines(k.type===2?-K:K),this.cancel(U,!0)}return k.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(k.cancel&&this.cancel(U,!0),!k.key||(k.key!==a.C0.ETX&&k.key!==a.C0.CR||(this.textarea.value=""),this._onKey.fire({key:k.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(k.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},M.prototype._isThirdLevelShift=function(U,k){var K=U.isMac&&!this.options.macOptionIsMeta&&k.altKey&&!k.ctrlKey&&!k.metaKey||U.isWindows&&k.altKey&&k.ctrlKey&&!k.metaKey;return k.type==="keypress"?K:K&&(!k.keyCode||k.keyCode>47)},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<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},M.prototype.reset=function(){var U,k;this.options.rows=this.rows,this.options.cols=this.cols;var K=this._customKeyEventHandler;this._setup(),z.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=K,this.refresh(0,this.rows-1),(k=this.viewport)===null||k===void 0||k.syncScrollArea()},M.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case n.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var k=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),K=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+K+";"+k+"t");break;case n.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var j=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+V+";"+j+"t")}},M.prototype.cancel=function(U,k){if(this.options.cancelEvents||k)return U.preventDefault(),U.stopPropagation(),!1},M.prototype._visualBell=function(){return!1},M.prototype._soundBell=function(){return this.options.bellStyle==="sound"},M}(B.CoreTerminal);p.Terminal=H},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.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&&u<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},l.prototype.onWheel=function(e){var s=this._getPixelsScrolled(e);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(e,s))},l.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var s=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var s=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?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;h<l.length;h++)this.table[e<<8|l[h]]=s<<4|u},r}();p.TransitionTable=i,p.VT500_TRANSITION_TABLE=function(){var r=new i(4095),l=Array.apply(null,Array(256)).map(function(v,w){return w}),e=function(w,b){return l.slice(w,b)},s=e(32,127),u=e(0,24);u.push(25),u.push.apply(u,e(28,32));var h,A=e(0,14);for(h in r.setDefault(1,0),r.addMany(s,0,2,0),A)r.addMany([24,26,153,154],h,3,0),r.addMany(e(128,144),h,3,0),r.addMany(e(144,152),h,3,0),r.add(156,h,0,0),r.add(27,h,11,1),r.add(157,h,4,8),r.addMany([152,158,159],h,0,7),r.add(155,h,11,3),r.add(144,h,11,9);return r.addMany(u,0,3,0),r.addMany(u,1,3,1),r.add(127,1,0,1),r.addMany(u,8,0,8),r.addMany(u,3,3,3),r.add(127,3,0,3),r.addMany(u,4,3,4),r.add(127,4,0,4),r.addMany(u,6,3,6),r.addMany(u,5,3,5),r.add(127,5,0,5),r.addMany(u,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(s,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(e(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(s,7,0,7),r.addMany(u,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(e(64,127),3,7,0),r.addMany(e(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(e(48,60),4,8,4),r.addMany(e(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(e(32,64),6,0,6),r.add(127,6,0,6),r.addMany(e(64,127),6,0,0),r.addMany(e(32,48),3,9,5),r.addMany(e(32,48),5,9,5),r.addMany(e(48,64),5,0,6),r.addMany(e(64,127),5,7,0),r.addMany(e(32,48),4,9,5),r.addMany(e(32,48),1,9,2),r.addMany(e(32,48),2,9,2),r.addMany(e(48,127),2,10,0),r.addMany(e(48,80),1,10,0),r.addMany(e(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(e(96,127),1,10,0),r.add(80,1,11,9),r.addMany(u,9,0,9),r.add(127,9,0,9),r.addMany(e(28,32),9,0,9),r.addMany(e(32,48),9,9,12),r.addMany(e(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(u,11,0,11),r.addMany(e(32,128),11,0,11),r.addMany(e(28,32),11,0,11),r.addMany(u,10,0,10),r.add(127,10,0,10),r.addMany(e(28,32),10,0,10),r.addMany(e(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(e(32,48),10,9,12),r.addMany(u,12,0,12),r.add(127,12,0,12),r.addMany(e(28,32),12,0,12),r.addMany(e(32,48),12,9,12),r.addMany(e(48,64),12,0,11),r.addMany(e(64,127),12,12,13),r.addMany(e(64,127),10,12,13),r.addMany(e(64,127),9,12,13),r.addMany(u,13,13,13),r.addMany(s,13,13,13),r.add(127,13,0,13),r.addMany([27,156,24,26],13,14,0),r.add(160,0,2,0),r.add(160,8,5,8),r.add(160,6,0,6),r.add(160,11,0,11),r.add(160,13,13,13),r}();var o=function(r){function l(e){e===void 0&&(e=p.VT500_TRANSITION_TABLE);var s=r.call(this)||this;return s._transitions=e,s.initialState=0,s.currentState=s.initialState,s._params=new c.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,h,A){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,h){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new a.OscParser,s._dcsParser=new n.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return g(l,r),l.prototype._identifier=function(e,s){s===void 0&&(s=[64,126]);var u=0;if(e.prefix){if(e.prefix.length>1)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;h<e.intermediates.length;++h){var A=e.intermediates.charCodeAt(h);if(32>A||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;_<s;++_){switch((h=T[A<<8|((u=e[_])<160?u:160)])>>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(++_<s&&(u=e[_])>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;b<E.length;b++)E[b].dispose();v.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},w.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},w.prototype.setColors=function(b){this._colors=b;for(var E=0,T=this._renderLayers;E<T.length;E++){var _=T[E];_.setColors(this._colors),_.reset()}},w.prototype.onResize=function(b,E){this._updateDimensions();for(var T=0,_=this._renderLayers;T<_.length;T++)_[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},w.prototype.onBlur=function(){this._runOperation(function(b){return b.onBlur()})},w.prototype.onFocus=function(){this._runOperation(function(b){return b.onFocus()})},w.prototype.onSelectionChanged=function(b,E,T){T===void 0&&(T=!1),this._runOperation(function(_){return _.onSelectionChanged(b,E,T)})},w.prototype.onCursorMove=function(){this._runOperation(function(b){return b.onCursorMove()})},w.prototype.onOptionsChanged=function(){this._runOperation(function(b){return b.onOptionsChanged()})},w.prototype.clear=function(){this._runOperation(function(b){return b.reset()})},w.prototype._runOperation=function(b){for(var E=0,T=this._renderLayers;E<T.length;E++)b(T[E])},w.prototype.renderRows=function(b,E){for(var T=0,_=this._renderLayers;T<_.length;T++)_[T].onGridChanged(b,E)},w.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},w.prototype.registerCharacterJoiner=function(b){return this._characterJoinerRegistry.registerCharacterJoiner(b)},w.prototype.deregisterCharacterJoiner=function(b){return this._characterJoinerRegistry.deregisterCharacterJoiner(b)},w=f([d(4,e.IBufferService),d(5,l.ICharSizeService),d(6,e.IOptionsService),d(7,e.ICoreService),d(8,l.ICoreBrowserService)],w)}(r.Disposable);p.Renderer=A},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.TextRenderLayer=void 0;var f=S(42),d=S(13),c=S(6),a=S(3),n=S(29),i=S(4),o=function(r){function l(e,s,u,h,A,v,w,b){var E=r.call(this,e,"text",s,A,u,v,w,b)||this;return E._characterWidth=0,E._characterFont="",E._characterOverlapCache={},E._workCell=new i.CellData,E._state=new f.GridCache,E._characterJoinerRegistry=h,E}return g(l,r),l.prototype.resize=function(e){r.prototype.resize.call(this,e);var s=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===s||(this._characterWidth=e.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(e,s,u,h){for(var A=e;A<=s;A++)for(var v=A+this._bufferService.buffer.ydisp,w=this._bufferService.buffer.lines.get(v),b=u?u.getJoinedCharacters(v):[],E=0;E<this._bufferService.cols;E++){w.loadCell(E,this._workCell);var T=this._workCell,_=!1,x=E;if(T.getWidth()!==0){if(b.length>0&&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)&&x<w.length-1&&w.getCodePoint(x+1)===a.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),h(T,E,A),E=x}}},l.prototype._drawBackground=function(e,s){var u=this,h=this._ctx,A=this._bufferService.cols,v=0,w=0,b=null;h.save(),this._forEachCell(e,s,null,function(E,T,_){var x=null;E.isInverse()?x=E.isFgDefault()?u._colors.foreground.css:E.isFgRGB()?"rgb("+c.AttributeData.toColorRGB(E.getFgColor()).join(",")+")":u._colors.ansi[E.getFgColor()].css:E.isBgRGB()?x="rgb("+c.AttributeData.toColorRGB(E.getBgColor()).join(",")+")":E.isBgPalette()&&(x=u._colors.ansi[E.getBgColor()].css),b===null&&(v=T,w=_),_!==w?(h.fillStyle=b||"",u._fillCells(v,w,A-v,1),v=T,w=_):b!==x&&(h.fillStyle=b||"",u._fillCells(v,w,T-v,1),v=T,w=_),b=x}),b!==null&&(h.fillStyle=b,this._fillCells(v,w,A-v,1)),h.restore()},l.prototype._drawForeground=function(e,s){var u=this;this._forEachCell(e,s,this._characterJoinerRegistry,function(h,A,v){if(!h.isInvisible()&&(u._drawChars(h,A,v),h.isUnderline())){if(u._ctx.save(),h.isInverse())if(h.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(h.isBgRGB())u._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(h.getBgColor()).join(",")+")";else{var w=h.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&w<8&&(w+=8),u._ctx.fillStyle=u._colors.ansi[w].css}else if(h.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(h.isFgRGB())u._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(h.getFgColor()).join(",")+")";else{var b=h.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&h.isBold()&&b<8&&(b+=8),u._ctx.fillStyle=u._colors.ansi[b].css}u._fillBottomLineAtCells(A,v,h.getWidth()),u._ctx.restore()}})},l.prototype.onGridChanged=function(e,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,s-e+1),this._drawBackground(e,s),this._drawForeground(e,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(e){if(e.getWidth()!==1)return!1;if(e.getCode()<256)return!1;var s=e.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(s).width)>this._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<f;c++){this.cache.length<=c&&this.cache.push([]);for(var a=this.cache[c].length;a<d;a++)this.cache[c].push(void 0);this.cache[c].length=d}this.cache.length=f},g.prototype.clear=function(){for(var f=0;f<this.cache.length;f++)for(var d=0;d<this.cache[f].length;d++)this.cache[f][d]=void 0},g}();p.GridCache=m},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(h,A){return(m=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])})(h,A)},function(u,h){function A(){this.constructor=u}m(u,h),u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)});Object.defineProperty(p,"__esModule",{value:!0}),p.NoneCharAtlas=p.DynamicCharAtlas=p.getGlyphCacheKey=void 0;var f=S(9),d=S(44),c=S(27),a=S(46),n=S(11),i=S(28),o=S(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}p.getGlyphCacheKey=l;var e=function(u){function h(A,v){var w=u.call(this)||this;w._config=v,w._drawToCacheCount=0,w._glyphsWaitingOnBitmap=[],w._bitmapCommitTimeout=null,w._bitmap=null,w._cacheCanvas=A.createElement("canvas"),w._cacheCanvas.width=1024,w._cacheCanvas.height=1024,w._cacheCtx=i.throwIfFalsy(w._cacheCanvas.getContext("2d",{alpha:!0}));var b=A.createElement("canvas");b.width=w._config.scaledCharWidth,b.height=w._config.scaledCharHeight,w._tmpCtx=i.throwIfFalsy(b.getContext("2d",{alpha:w._config.allowTransparency})),w._width=Math.floor(1024/w._config.scaledCharWidth),w._height=Math.floor(1024/w._config.scaledCharHeight);var E=w._width*w._height;return w._cacheMap=new a.LRUMap(E),w._cacheMap.prealloc(E),w}return g(h,u),h.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},h.prototype.beginFrame=function(){this._drawToCacheCount=0},h.prototype.draw=function(A,v,w,b){if(v.code===32)return!0;if(!this._canCache(v))return!1;var E=l(v),T=this._cacheMap.get(E);if(T!=null)return this._drawFromCache(A,T,w,b),!0;if(this._drawToCacheCount<100){var _=void 0;_=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(v,_);return this._cacheMap.set(E,x),this._drawFromCache(A,x,w,b),!0}return!1},h.prototype._canCache=function(A){return A.code<256},h.prototype._toCoordinateX=function(A){return A%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(A){return Math.floor(A/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(A,v,w,b){if(!v.isEmpty){var E=this._toCoordinateX(v.index),T=this._toCoordinateY(v.index);A.drawImage(v.inBitmap?this._bitmap:this._cacheCanvas,E,T,this._config.scaledCharWidth,this._config.scaledCharHeight,w,b,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(A){return A<this._config.colors.ansi.length?this._config.colors.ansi[A]:c.DEFAULT_ANSI_COLORS[A]},h.prototype._getBackgroundColor=function(A){return this._config.allowTransparency?r:A.bg===f.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:A.bg<256?this._getColorFromAnsiIndex(A.bg):this._config.colors.background},h.prototype._getForegroundColor=function(A){return A.fg===f.INVERTED_DEFAULT_COLOR?o.color.opaque(this._config.colors.background):A.fg<256?this._getColorFromAnsiIndex(A.fg):this._config.colors.foreground},h.prototype._drawToCache=function(A,v){this._drawToCacheCount++,this._tmpCtx.save();var w=this._getBackgroundColor(A);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=w.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var b=A.bold?this._config.fontWeightBold:this._config.fontWeight,E=A.italic?"italic":"";this._tmpCtx.font=E+" "+b+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(A).css,A.dim&&(this._tmpCtx.globalAlpha=f.DIM_OPACITY),this._tmpCtx.fillText(A.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),_=!1;this._config.allowTransparency||(_=function(L,F){for(var B=!0,P=F.rgba>>>24,H=F.rgba>>>16&255,z=F.rgba>>>8&255,M=0;M<L.data.length;M+=4)L.data[M]===P&&L.data[M+1]===H&&L.data[M+2]===z?L.data[M+3]=0:B=!1;return B}(T,w));var x=this._toCoordinateX(v),C=this._toCoordinateY(v);this._cacheCtx.putImageData(T,x,C);var I={index:v,isEmpty:_,inBitmap:!1};return this._addGlyphToBitmap(I),I},h.prototype._addGlyphToBitmap=function(A){var v=this;!("createImageBitmap"in window)||n.isFirefox||n.isSafari||(this._glyphsWaitingOnBitmap.push(A),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return v._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var A=this,v=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(w){A._bitmap=w;for(var b=0;b<v.length;b++)v[b].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(d.BaseCharAtlas);p.DynamicCharAtlas=e;var s=function(u){function h(A,v){return u.call(this)||this}return g(h,u),h.prototype.draw=function(A,v,w,b){return!1},h}(d.BaseCharAtlas);p.NoneCharAtlas=s},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BaseCharAtlas=void 0;var m=function(){function g(){this._didWarmUp=!1}return g.prototype.dispose=function(){},g.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},g.prototype._doWarmUp=function(){},g.prototype.beginFrame=function(){},g}();p.BaseCharAtlas=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ColorContrastCache=void 0;var m=function(){function g(){this._color={},this._rgba={}}return g.prototype.clear=function(){this._color={},this._rgba={}},g.prototype.setCss=function(f,d,c){this._rgba[f]||(this._rgba[f]={}),this._rgba[f][d]=c},g.prototype.getCss=function(f,d){return this._rgba[f]?this._rgba[f][d]:void 0},g.prototype.setColor=function(f,d,c){this._color[f]||(this._color[f]={}),this._color[f][d]=c},g.prototype.getColor=function(f,d){return this._color[f]?this._color[f][d]:void 0},g}();p.ColorContrastCache=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.LRUMap=void 0;var m=function(){function g(f){this.capacity=f,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return g.prototype._unlinkNode=function(f){var d=f.prev,c=f.next;f===this._head&&(this._head=c),f===this._tail&&(this._tail=d),d!==null&&(d.next=c),c!==null&&(c.prev=d)},g.prototype._appendNode=function(f){var d=this._tail;d!==null&&(d.next=f),f.prev=d,f.next=null,this._tail=f,this._head===null&&(this._head=f)},g.prototype.prealloc=function(f){for(var d=this._nodePool,c=0;c<f;c++)d.push({prev:null,next:null,key:null,value:null})},g.prototype.get=function(f){var d=this._map[f];return d!==void 0?(this._unlinkNode(d),this._appendNode(d),d.value):null},g.prototype.peekValue=function(f){var d=this._map[f];return d!==void 0?d.value:null},g.prototype.peek=function(){var f=this._head;return f===null?null:f.value},g.prototype.set=function(f,d){var c=this._map[f];if(c!==void 0)c=this._map[f],this._unlinkNode(c),c.value=d;else if(this.size>=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<o.y2;r++)this._fillBottomLineAtCells(0,r,o.cols);this._fillBottomLineAtCells(0,o.y2,o.x2)}this._state=o},i.prototype._onHideLinkUnderline=function(o){this._clearCurrentLink()},i}(f.BaseRenderLayer);p.LinkRenderLayer=a},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.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<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},n.prototype.registerLinkMatcher=function(i,o,r){if(r===void 0&&(r={}),!o)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:i,handler:o,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(l),l.id},n.prototype._addLinkMatcherToList=function(i){if(this._linkMatchers.length!==0){for(var o=this._linkMatchers.length-1;o>=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<this._linkMatchers.length;o++)if(this._linkMatchers[o].id===i)return this._linkMatchers.splice(o,1),!0;return!1},n.prototype._doLinkifyRow=function(i,o,r){for(var l,e=this,s=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),u=-1,h=function(){var w=l[typeof r.matchIndex!="number"?0:r.matchIndex];if(!w)return A._logService.debug("match found without corresponding matchIndex",l,r),"break";if(u=o.indexOf(w,u+1),s.lastIndex=u+w.length,u<0)return"break";var b=A._bufferService.buffer.stringIndexToBufferIndex(i,u);if(b[0]<0)return"break";var E=A._bufferService.buffer.lines.get(b[0]);if(!E)return"break";var T=E.getFg(b[1]),_=T?T>>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]<T[1]||E[1]===T[1]&&b[1]===E[1]&&b[0]>=E[0]&&b[0]<T[0]||E[1]<T[1]&&b[1]===T[1]&&b[0]<T[0]||E[1]<T[1]&&b[1]===E[1]&&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]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(b),this._activeSelectionMode!==3&&(this._dragScrollAmount>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]<T.lines.length){var _=T.lines.get(this._model.selectionEnd[1]);_&&_.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}E&&E[0]===this._model.selectionEnd[0]&&E[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},w.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var b=this._bufferService.buffer;this._dragScrollAmount>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(;F<I.length&&I.charAt(F+1)===" ";)F++}else{var U=b[0],k=b[0];C.getWidth(U)===0&&(P++,U--),C.getWidth(k)===2&&(H++,k++);var K=C.getString(k).length;for(K>1&&(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(;k<C.length&&F+1<I.length&&!this._isCharWordSeparator(C.loadCell(k+1,this._workCell));){C.loadCell(k+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(H++,k++):V>1&&(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<Math.abs(w-b);E++){var T=d(u,h)==="A"?-1:1,_=A.buffer.lines.get(w+T*E);_&&_.isWrapped&&v++}return v}(i,o,r),a(d(i,o),l))}function f(i,o){for(var r=0,l=i.buffer.lines.get(o),e=l&&l.isWrapped;e&&o>=0&&o<i.rows;)r++,e=(l=i.buffer.lines.get(--o))&&l.isWrapped;return r}function d(i,o){return i>o?"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;l<i;l++)r+=o;return r}p.moveToCellSequence=function(i,o,r,l){var e,s=r.buffer.x,u=r.buffer.y;if(!r.buffer.hasScrollback)return function(A,v,w,b,E,T){return g(v,b,E,T).length===0?"":n(c(A,v,A,v-f(E,v),!1,E).length,a("D",T))}(s,u,0,o,r,l)+g(u,o,r,l)+function(A,v,w,b,E,T){var _;_=g(v,b,E,T).length>0?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&&z<=B||I>=F&&z<B?"C":"D"}(A,v,w,b,E,T);return n(c(A,_,w,x,C==="C",E).length,a(C,T))}(s,u,i,o,r,l);if(u===o)return e=s>i?"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<i;r++)o[r]=n.charCodeAt(r);return o.buffer},c.prototype._removeMimeType=function(a){return a.split(",")[1]},c=m([g(0,f.IOptionsService)],c)}();p.SoundService=d},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.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;u<this._zones.length;u++){var h=this._zones[u];(h.y1>e&&h.y1<=s+1||h.y2>e&&h.y2<=s+1||h.y1<e&&h.y2>s+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<this._zones.length;A++){var v=this._zones[A];if(v.y1===v.y2){if(h===v.y1&&u>=v.x1&&u<v.x2)return v}else if(h===v.y1&&u>=v.x1||h===v.y2&&u<v.x2||h>v.y1&&h<v.y2)return v}},l=f([d(2,i.IBufferService),d(3,n.IMouseService),d(4,n.ISelectionService),d(5,i.IOptionsService)],l)}(c.Disposable);p.MouseZoneManager=o},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(e,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var A in h)h.hasOwnProperty(A)&&(u[A]=h[A])})(e,s)},function(l,e){function s(){this.constructor=l}m(l,e),l.prototype=e===null?Object.create(e):(s.prototype=e.prototype,new s)});Object.defineProperty(p,"__esModule",{value:!0}),p.AccessibilityManager=void 0;var f=S(18),d=S(11),c=S(31),a=S(7),n=S(2),i=S(32),o=S(17),r=function(l){function e(s,u){var h=l.call(this)||this;h._terminal=s,h._renderService=u,h._liveRegionLineCount=0,h._charsToConsume=[],h._charsToAnnounce="",h._accessibilityTreeRoot=document.createElement("div"),h._accessibilityTreeRoot.classList.add("xterm-accessibility"),h._rowContainer=document.createElement("div"),h._rowContainer.classList.add("xterm-accessibility-tree"),h._rowContainer.setAttribute("role","list"),h._rowElements=[];for(var A=0;A<h._terminal.rows;A++)h._rowElements[A]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[A]);if(h._topBoundaryFocusListener=function(v){return h._onBoundaryFocus(v,0)},h._bottomBoundaryFocusListener=function(v){return h._onBoundaryFocus(v,1)},h._rowElements[0].addEventListener("focus",h._topBoundaryFocusListener),h._rowElements[h._rowElements.length-1].addEventListener("focus",h._bottomBoundaryFocusListener),h._refreshRowsDimensions(),h._accessibilityTreeRoot.appendChild(h._rowContainer),h._renderRowsDebouncer=new c.RenderDebouncer(h._renderRows.bind(h)),h._refreshRows(),h._liveRegion=document.createElement("div"),h._liveRegion.classList.add("live-region"),h._liveRegion.setAttribute("aria-live","assertive"),h._accessibilityTreeRoot.appendChild(h._liveRegion),!h._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return h._terminal.element.insertAdjacentElement("afterbegin",h._accessibilityTreeRoot),h.register(h._renderRowsDebouncer),h.register(h._terminal.onResize(function(v){return h._onResize(v.rows)})),h.register(h._terminal.onRender(function(v){return h._refreshRows(v.start,v.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(v){return h._onChar(v)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
|
|
|
`)})),h.register(h._terminal.onA11yTab(function(v){return h._onTab(v)})),h.register(h._terminal.onKey(function(v){return h._onKey(v.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new i.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(a.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return g(e,l),e.prototype.dispose=function(){l.prototype.dispose.call(this),o.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(s,u){var h=s.target,A=this._rowElements[u===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===A){var v,w;if(u===0?(v=h,w=this._rowElements.pop(),this._rowContainer.removeChild(w)):(v=this._rowElements.shift(),w=h,this._rowContainer.removeChild(v)),v.removeEventListener("focus",this._topBoundaryFocusListener),w.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var b=this._createAccessibilityTreeNode();this._rowElements.unshift(b),this._rowContainer.insertAdjacentElement("afterbegin",b)}else b=this._createAccessibilityTreeNode(),this._rowElements.push(b),this._rowContainer.appendChild(b);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},e.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>s;)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;u<s;u++)this._onChar(" ")},e.prototype._onChar=function(s){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?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<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},e.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(n.Disposable);p.AccessibilityManager=r},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(A,v){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var E in b)b.hasOwnProperty(E)&&(w[E]=b[E])})(A,v)},function(h,A){function v(){this.constructor=h}m(h,A),h.prototype=A===null?Object.create(A):(v.prototype=A.prototype,new v)}),f=this&&this.__decorate||function(h,A,v,w){var b,E=arguments.length,T=E<3?A:w===null?w=Object.getOwnPropertyDescriptor(A,v):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(h,A,v,w);else for(var _=h.length-1;_>=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;v<w.length;v++){var b=w[v];b.style.width=this.dimensions.canvasWidth+"px",b.style.height=this.dimensions.actualCellHeight+"px",b.style.lineHeight=this.dimensions.actualCellHeight+"px",b.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var E=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=E,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},A.prototype.setColors=function(v){this._colors=v,this._injectCss()},A.prototype._injectCss=function(){var v=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var w=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";w+=this._terminalSelector+" span:not(."+c.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+c.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+c.ITALIC_CLASS+" { font-style: italic;}",w+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",w+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",w+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+":not(."+c.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_BLINK_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+c.CURSOR_CLASS+"."+c.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",w+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(b,E){w+=v._terminalSelector+" .xterm-fg-"+E+" { color: "+b.css+"; }"+v._terminalSelector+" .xterm-bg-"+E+" { background-color: "+b.css+"; }"}),w+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=w},A.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},A.prototype._refreshRowElements=function(v,w){for(var b=this._rowElements.length;b<=w;b++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>w;)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<w.length;v++)w[v].innerHTML=""},A.prototype.renderRows=function(v,w){for(var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,_=v;_<=w;_++){var x=this._rowElements[_];x.innerHTML="";var C=_+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(C),L=this._optionsService.options.cursorStyle;x.appendChild(this._rowFactory.createRow(I,C===b,L,E,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(A.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),A.prototype.registerCharacterJoiner=function(v){return-1},A.prototype.deregisterCharacterJoiner=function(v){return!1},A.prototype._onLinkHover=function(v){this._setCellUnderline(v.x1,v.x2,v.y1,v.y2,v.cols,!0)},A.prototype._onLinkLeave=function(v){this._setCellUnderline(v.x1,v.x2,v.y1,v.y2,v.cols,!1)},A.prototype._setCellUnderline=function(v,w,b,E,T,_){for(;v!==w||b!==E;){var x=this._rowElements[b];if(!x)return;var C=x.children[v];C&&(C.style.textDecoration=_?"underline":"none"),++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;v<A;v++){i.loadCell(v,this._workCell);var w=this._workCell.getWidth();if(w!==0){var b=this._document.createElement("span");if(w>1&&(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<o;)n=i+n;return n}p.DomRendererRowFactory=c},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.evaluateKeyboardEvent=void 0;var m=S(12),g={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],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;h<u.length;h++){var A=u[h];if(A.classList.contains("xterm"))break;if(A.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},l.prototype._askForLink=function(e,s){var u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=e.y);var h=!1;this._linkProviders.forEach(function(A,v){var w;s?((w=u._activeProviderReplies)===null||w===void 0?void 0:w.get(v))&&(h=u._checkLinkProviderResult(v,e,h)):A.provideLinks(e.y,function(b){var E,T;if(!u._isMouseOut){var _=b==null?void 0:b.map(function(x){return{link:x}});(E=u._activeProviderReplies)===null||E===void 0||E.set(v,_),h=u._checkLinkProviderResult(v,e,h),((T=u._activeProviderReplies)===null||T===void 0?void 0:T.size)===u._linkProviders.length&&u._removeIntersectingLinks(e.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(e,s){for(var u=new Set,h=0;h<s.size;h++){var A=s.get(h);if(A)for(var v=0;v<A.length;v++)for(var w=A[v],b=w.link.range.start.y<e?0:w.link.range.start.x,E=w.link.range.end.y>e?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;b++)this._activeProviderReplies.has(b)&&!this._activeProviderReplies.get(b)||(w=!0);if(!w&&v){var E=v.find(function(_){return A._linkAtPosition(_.link,s)});E&&(u=!0,this._handleNewLink(E))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(b=0;b<this._activeProviderReplies.size;b++){var T=(h=this._activeProviderReplies.get(b))===null||h===void 0?void 0:h.find(function(_){return A._linkAtPosition(_.link,s)});if(T){u=!0,this._handleNewLink(T);break}}return u},l.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(e,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(e,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!s||this._currentLink.link.range.start.y>=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.y<s.y,A=e.range.end.y>s.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=_;C<I.length;C++)I[C].dispose()}}}},E}(f.Disposable);p.CoreTerminal=w},function(y,p,S){"use strict";var m=this&&this.__spreadArrays||function(){for(var a=0,n=0,i=arguments.length;n<i;n++)a+=arguments[n].length;var o=Array(a),r=0;for(n=0;n<i;n++)for(var l=arguments[n],e=0,s=l.length;e<s;e++,r++)o[r]=l[e];return o};Object.defineProperty(p,"__esModule",{value:!0}),p.InstantiationService=p.ServiceCollection=void 0;var g=S(1),f=S(14),d=function(){function a(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this._entries=new Map;for(var o=0,r=n;o<r.length;o++){var l=r[o],e=l[0],s=l[1];this.set(e,s)}}return a.prototype.set=function(n,i){var o=this._entries.get(n);return this._entries.set(n,i),o},a.prototype.forEach=function(n){this._entries.forEach(function(i,o){return n(o,i)})},a.prototype.has=function(n){return this._entries.has(n)},a.prototype.get=function(n){return this._entries.get(n)},a}();p.ServiceCollection=d;var c=function(){function a(){this._services=new d,this._services.set(g.IInstantiationService,this)}return a.prototype.setService=function(n,i){this._services.set(n,i)},a.prototype.getService=function(n){return this._services.get(n)},a.prototype.createInstance=function(n){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];for(var r=f.getServiceDependencies(n).sort(function(v,w){return v.index-w.index}),l=[],e=0,s=r;e<s.length;e++){var u=s[e],h=this._services.get(u.id);if(!h)throw new Error("[createInstance] "+n.name+" depends on UNKNOWN service "+u.id+".");l.push(h)}var A=r.length>0?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<r;o++)i+=arguments[o].length;var l=Array(i),e=0;for(o=0;o<r;o++)for(var s=arguments[o],u=0,h=s.length;u<h;u++,e++)l[e]=s[u];return l};Object.defineProperty(p,"__esModule",{value:!0}),p.LogService=p.LogLevel=void 0;var d,c=S(1);!function(i){i[i.DEBUG=0]="DEBUG",i[i.INFO=1]="INFO",i[i.WARN=2]="WARN",i[i.ERROR=3]="ERROR",i[i.OFF=4]="OFF"}(d=p.LogLevel||(p.LogLevel={}));var a={debug:d.DEBUG,info:d.INFO,warn:d.WARN,error:d.ERROR,off:d.OFF},n=function(){function i(o){var r=this;this._optionsService=o,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&r._updateLogLevel()})}return i.prototype._updateLogLevel=function(){this._logLevel=a[this._optionsService.options.logLevel]},i.prototype._evalLazyOptionalParams=function(o){for(var r=0;r<o.length;r++)typeof o[r]=="function"&&(o[r]=o[r]())},i.prototype._log=function(o,r,l){this._evalLazyOptionalParams(l),o.call.apply(o,f([console,"xterm.js: "+r],l))},i.prototype.debug=function(o){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=d.DEBUG&&this._log(console.log,o,r)},i.prototype.info=function(o){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=d.INFO&&this._log(console.info,o,r)},i.prototype.warn=function(o){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=d.WARN&&this._log(console.warn,o,r)},i.prototype.error=function(o){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];this._logLevel<=d.ERROR&&this._log(console.error,o,r)},i=m([g(0,c.IOptionsService)],i)}();p.LogService=n},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.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&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var s=e+this._optionsService.options.scrollback;return s>p.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._cols<e)for(var A=0;A<this.lines.length;A++)this.lines.get(A).resize(e,u);var v=0;if(this._rows<s)for(var w=this._rows;w<s;w++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new g.BufferLine(e,u)):this.ybase>0&&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(h<this.lines.maxLength){var b=this.lines.length-h;b>0&&(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;A<this.lines.length;A++)this.lines.get(A).resize(e,u);this._cols=e,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(e,s){this._cols!==e&&(e>this._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<s&&this.lines.push(new g.BufferLine(e,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(e,s){for(var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=[],A=0,v=this.lines.length-1;v>=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&&E<v+b.length)){var T=b[b.length-1].getTrimmedLength(),_=c.reflowSmallerGetNewLineLengths(b,this._cols,e),x=_.length-b.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+x):Math.max(0,this.lines.length-this.lines.maxLength+x);for(var I=[],L=0;L<x;L++){var F=this.getBlankLine(g.DEFAULT_ATTR_DATA,!0);I.push(F)}I.length>0&&(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;L<b.length;L++)_[L]<e&&b[L].setCell(_[L],u);for(var k=x-C;k-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+A)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+s-1)}}}if(h.length>0){var K=[],j=[];for(L=0;L<this.lines.length;L++)j.push(this.lines.get(L));var V=this.lines.length,W=V-1,X=0,J=h[X];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+A);var de=0;for(L=Math.min(this.lines.maxLength-1,V+A-1);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;v<A;++v)if(h.get(v)[d.CHAR_DATA_WIDTH_INDEX]&&(s-=h.get(v)[d.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[e,v];e++}return[e,0]},l.prototype.translateBufferLineToString=function(e,s,u,h){u===void 0&&(u=0);var A=this.lines.get(e);return A?A.translateToString(s,u,h):""},l.prototype.getWrappedRangeForLine=function(e){for(var s=e,u=e;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},l.prototype.setupTabStops=function(e){for(e!=null?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},l.prototype.prevStop=function(e){for(e==null&&(e=this.x);!this.tabs[--e]&&e>0;);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;);return 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.line<h.index+h.amount&&u.dispose(),u.line>h.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._current<this._endIndex},l.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._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;n<Math.min(c,this.length);n++)a[n]=this._array[this._getCyclicIndex(n)];this._array=a,this._maxLength=c,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"length",{get:function(){return this._length},set:function(c){if(c>this._length)for(var a=this._length;a<c;a++)this._array[a]=void 0;this._length=c},enumerable:!1,configurable:!0}),f.prototype.get=function(d){return this._array[this._getCyclicIndex(d)]},f.prototype.set=function(d,c){this._array[this._getCyclicIndex(d)]=c},f.prototype.push=function(d){this._array[this._getCyclicIndex(this._length)]=d,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},f.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(f.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),f.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},f.prototype.splice=function(d,c){for(var a=[],n=2;n<arguments.length;n++)a[n-2]=arguments[n];if(c){for(var i=d;i<this._length-c;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+c)];this._length-=c}for(i=this._length-1;i>=d;i--)this._array[this._getCyclicIndex(i+a.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<a.length;i++)this._array[this._getCyclicIndex(d+i)]=a[i];if(this._length+a.length>this._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<c;n++)this.set(d+n+a,this.get(d+n))}},f.prototype._getCyclicIndex=function(d){return(this._startIndex+d)%this._maxLength},f}();p.CircularList=g},function(y,p,S){"use strict";function m(g,f,d){if(f===g.length-1)return g[f].getTrimmedLength();var c=!g[f].hasContent(d-1)&&g[f].getWidth(d-1)===1,a=g[f+1].getWidth(0)===2;return c&&a?d-1:d}Object.defineProperty(p,"__esModule",{value:!0}),p.getWrappedLineTrimmedLength=p.reflowSmallerGetNewLineLengths=p.reflowLargerApplyNewLayout=p.reflowLargerCreateNewLayout=p.reflowLargerGetLinesToRemove=void 0,p.reflowLargerGetLinesToRemove=function(g,f,d,c,a){for(var n=[],i=0;i<g.length-1;i++){var o=i,r=g.get(++o);if(r.isWrapped){for(var l=[g.get(i)];o<g.length&&r.isWrapped;)l.push(r),r=g.get(++o);if(c>=i&&c<o)i+=l.length-1;else{for(var e=0,s=m(l,e,f),u=1,h=0;u<l.length;){var A=m(l,u,f),v=A-h,w=d-s,b=Math.min(v,w);l[e].copyCellsFrom(l[u],h,s,b,!1),(s+=b)===d&&(e++,s=0),(h+=b)===A&&(u++,h=0),s===0&&e!==0&&l[e-1].getWidth(d-1)===2&&(l[e].copyCellsFrom(l[e-1],d-1,s++,1,!1),l[e-1].setCell(d-1,a))}l[e].replaceCells(s,d,a);for(var E=0,T=l.length-1;T>0&&(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;i<g.length;i++)if(a===i){var o=f[++c];g.onDeleteEmitter.fire({index:i-n,amount:o}),i+=o-1,n+=o,a=f[++c]}else d.push(i);return{layout:d,countRemoved:n}},p.reflowLargerApplyNewLayout=function(g,f){for(var d=[],c=0;c<f.length;c++)d.push(g.get(f[c]));for(c=0;c<d.length;c++)g.set(c,d[c]);g.length=f.length},p.reflowSmallerGetNewLineLengths=function(g,f,d){for(var c=[],a=g.map(function(s,u){return m(g,u,f)}).reduce(function(s,u){return s+u}),n=0,i=0,o=0;o<a;){if(a-o<d){c.push(a-o);break}n+=d;var r=m(g,i,f);n>r&&(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<o.length;i++){var r=o[i];if(r in this.options){var l=n[r];this.options[r]=l}}}return Object.defineProperty(a.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),a.prototype.setOption=function(n,i){if(!(n in p.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');if(d.indexOf(n)!==-1)throw new Error('Option "'+n+'" can only be set in the constructor');this.options[n]!==i&&(i=this._sanitizeAndValidateOption(n,i),this.options[n]!==i&&(this.options[n]=i,this._onOptionChange.fire(n)))},a.prototype._sanitizeAndValidateOption=function(n,i){switch(n){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":i||(i=p.DEFAULT_OPTIONS[n]);break;case"cursorWidth":i=Math.floor(i);case"lineHeight":case"tabStopWidth":if(i<1)throw new Error(n+" cannot be less than 1, value: "+i);break;case"minimumContrastRatio":i=Math.max(1,Math.min(21,Math.round(10*i)/10));break;case"scrollback":if((i=Math.min(i,4294967295))<0)throw new Error(n+" cannot be less than 0, value: "+i);break;case"fastScrollSensitivity":case"scrollSensitivity":if(i<=0)throw new Error(n+" cannot be less than or equal to 0, value: "+i)}return i},a.prototype.getOption=function(n){if(!(n in p.DEFAULT_OPTIONS))throw new Error('No option with key "'+n+'"');return this.options[n]},a}();p.OptionsService=c},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,A){h.__proto__=A}||function(h,A){for(var v in A)A.hasOwnProperty(v)&&(h[v]=A[v])})(s,u)},function(e,s){function u(){this.constructor=e}m(e,s),e.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),f=this&&this.__decorate||function(e,s,u,h){var A,v=arguments.length,w=v<3?s:h===null?h=Object.getOwnPropertyDescriptor(s,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(e,s,u,h);else for(var b=e.length-1;b>=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?"":"[M"+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<u.length;s++){var h=u[s];this.addProtocol(h,c[h])}for(var A=0,v=Object.keys(i);A<v.length;A++){var w=v[A];this.addEncoding(w,i[w])}this.reset()}return r.prototype.addProtocol=function(l,e){this._protocols[l]=e},r.prototype.addEncoding=function(l,e){this._encodings[l]=e},Object.defineProperty(r.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=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){a<this._start?this._start=a:a>this._end&&(this._end=a)},c.prototype.markRangeDirty=function(a,n){if(a>n){var i=a;a=n,n=i}a<this._start&&(this._start=a),n>this._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;++i){var o=c.charCodeAt(i);if(55296<=o&&o<=56319){if(++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;n<f.length;++n)g.fill(m,0,f[n][0],f[n][1]+1)}}return a.prototype.wcwidth=function(n){return n<32?0:n<127?1:n<65536?m[n]:function(i,o){var r,l=0,e=o.length-1;if(i<o[0][0]||i>o[e][1])return!1;for(;e>=l;)if(i>o[r=l+e>>1][1])l=r+1;else{if(!(i<o[r][0]))return!0;e=r-1}return!1}(n,d)?0:n>=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;d<this._writeBuffer.length;++d){var c=this._writeBuffer[d],a=this._callbacks[d];this._action(c),a&&a()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(f)},g.prototype.write=function(f,d){var c=this;if(this._pendingData>5e7)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;c<this._addons.length;c++)if(this._addons[c]===f){d=c;break}if(d===-1)throw new Error("Could not dispose an addon that has not been loaded");f.isDisposed=!0,f.dispose.apply(f.instance),this._addons.splice(d,1)}},g}();p.AddonManager=m}])})},"/SeX":function(R,N,t){var y=t("knOB"),p=t("qZFw"),S=function(g){this.name=g||"",this.cx=0,this.cy=0,this._radiusAxis=new y,this._angleAxis=new p,this._radiusAxis.polar=this._angleAxis.polar=this};S.prototype={type:"polar",axisPointerEnabled:!0,constructor:S,dimensions:["radius","angle"],model:null,containPoint:function(g){var f=this.pointToCoord(g);return this._radiusAxis.contain(f[0])&&this._angleAxis.contain(f[1])},containData:function(g){return this._radiusAxis.containData(g[0])&&this._angleAxis.containData(g[1])},getAxis:function(g){return this["_"+g+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(g){var f=[],d=this._angleAxis,c=this._radiusAxis;return d.scale.type===g&&f.push(d),c.scale.type===g&&f.push(c),f},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(g){var f=this._angleAxis;return g===f?this._radiusAxis:f},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(g){var f=g!=null&&g!=="auto"?this.getAxis(g):this.getBaseAxis();return{baseAxes:[f],otherAxes:[this.getOtherAxis(f)]}},dataToPoint:function(g,f){return this.coordToPoint([this._radiusAxis.dataToRadius(g[0],f),this._angleAxis.dataToAngle(g[1],f)])},pointToData:function(g,f){var d=this.pointToCoord(g);return[this._radiusAxis.radiusToData(d[0],f),this._angleAxis.angleToData(d[1],f)]},pointToCoord:function(g){var f=g[0]-this.cx,d=g[1]-this.cy,c=this.getAngleAxis(),a=c.getExtent(),n=Math.min(a[0],a[1]),i=Math.max(a[0],a[1]);c.inverse?n=i-360:i=n+360;var o=Math.sqrt(f*f+d*d);f/=o,d/=o;for(var r=Math.atan2(-d,f)/Math.PI*180,l=r<n?1:-1;r<n||r>i;)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;f<S.length;f++)isNaN(S[f])||(m+=S[f],g++);return g===0?NaN:m/g},sum:function(S){for(var m=0,g=0;g<S.length;g++)m+=S[g]||0;return m},max:function(S){for(var m=-Infinity,g=0;g<S.length;g++)S[g]>m&&(m=S[g]);return isFinite(m)?m:NaN},min:function(S){for(var m=Infinity,g=0;g<S.length;g++)S[g]<m&&(m=S[g]);return isFinite(m)?m:NaN},nearest:function(S){return S[0]}},y=function(S,m){return Math.round(S.length/2)};function p(S){return{seriesType:S,modifyOutputEnd:!0,reset:function(m,g,f){var d=m.getData(),c=m.get("sampling"),a=m.coordinateSystem;if(a.type==="cartesian2d"&&c){var n=a.getBaseAxis(),i=a.getOtherAxis(n),o=n.getExtent(),r=o[1]-o[0],l=Math.round(d.count()/r);if(l>1){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);v<A.length;v++)u.indexOf(A[v])<0&&Object.prototype.propertyIsEnumerable.call(s,A[v])&&(h[A[v]]=s[A[v]]);return h};function l(s){return typeof s=="number"?"".concat(s," ").concat(s," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(s)?"0 0 ".concat(s):s}var e=d.forwardRef(function(s,u){var h=function(v){var w,b=v.getPrefixCls,E=v.direction,T=s.prefixCls,_=s.span,x=s.order,C=s.offset,I=s.push,L=s.pull,F=s.className,B=s.children,P=s.flex,H=s.style,z=r(s,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),M=b("col",T),U={};["xs","sm","md","lg","xl","xxl"].forEach(function(K){var j,V={},W=s[K];typeof W=="number"?V.span=W:f()(W)==="object"&&(V=W||{}),delete z[K],U=m()(m()({},U),(j={},p()(j,"".concat(M,"-").concat(K,"-").concat(V.span),V.span!==void 0),p()(j,"".concat(M,"-").concat(K,"-order-").concat(V.order),V.order||V.order===0),p()(j,"".concat(M,"-").concat(K,"-offset-").concat(V.offset),V.offset||V.offset===0),p()(j,"".concat(M,"-").concat(K,"-push-").concat(V.push),V.push||V.push===0),p()(j,"".concat(M,"-").concat(K,"-pull-").concat(V.pull),V.pull||V.pull===0),p()(j,"".concat(M,"-rtl"),E==="rtl"),j))});var k=n()(M,(w={},p()(w,"".concat(M,"-").concat(_),_!==void 0),p()(w,"".concat(M,"-order-").concat(x),x),p()(w,"".concat(M,"-offset-").concat(C),C),p()(w,"".concat(M,"-push-").concat(I),I),p()(w,"".concat(M,"-pull-").concat(L),L),w),F,U);return d.createElement(i.a.Consumer,null,function(K){var j=K.gutter,V=m()({},H);return j&&(V=m()(m()(m()({},j[0]>0?{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,Wt=Ye.maskStyle,cr=Ye.onClose,Vr=Ye.onHandleClick,ur=Ye.keyboard,ir=Ye.getOpenCount,Lt=Ye.switchScrollingEffect,ot=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({},ot,{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:Wt,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<se.length;ye++)Ke.indexOf(se[ye])<0&&Object.prototype.propertyIsEnumerable.call(Te,se[ye])&&(Ie[se[ye]]=Te[se[ye]]);return Ie},Ee=e.createContext(null),ue=Object(ne.a)("top","right","bottom","left"),re={distance:180},ce=function(Te){o()(Ie,Te);var Ke=l()(Ie);function Ie(){var se;return f()(this,Ie),se=Ke.apply(this,arguments),se.state={push:!1},se.push=function(){se.props.push&&se.setState({push:!0})},se.pull=function(){se.props.push&&se.setState({push:!1})},se.onDestroyTransitionEnd=function(){var ye=se.getDestroyOnClose();if(!ye)return;se.props.visible||(se.destroyClose=!0,se.forceUpdate())},se.getDestroyOnClose=function(){return se.props.destroyOnClose&&!se.props.visible},se.getPushDistance=function(){var ye=se.props.push,xe;return typeof ye=="boolean"?xe=ye?re.distance:0:xe=ye.distance,parseFloat(String(xe||0))},se.getPushTransform=function(ye){var xe=se.getPushDistance();if(ye==="left"||ye==="right")return"translateX(".concat(ye==="left"?xe:-xe,"px)");if(ye==="top"||ye==="bottom")return"translateY(".concat(ye==="top"?xe:-xe,"px)")},se.getRcDrawerStyle=function(){var ye=se.props,xe=ye.zIndex,Ye=ye.placement,pt=ye.mask,nt=ye.style,Oe=se.state.push,vt=pt?{}:se.getOffsetStyle();return m()(m()({zIndex:xe,transform:Oe?se.getPushTransform(Ye):void 0},vt),nt)},se.renderBody=function(){var ye=se.props,xe=ye.bodyStyle,Ye=ye.drawerStyle,pt=ye.prefixCls,nt=ye.visible;if(se.destroyClose&&!nt)return null;se.destroyClose=!1;var Oe={},vt=se.getDestroyOnClose();return vt&&(Oe.opacity=0,Oe.transition="opacity .3s"),e.createElement("div",{className:"".concat(pt,"-wrapper-body"),style:m()(m()({},Oe),Ye),onTransitionEnd:se.onDestroyTransitionEnd},se.renderHeader(),e.createElement("div",{className:"".concat(pt,"-body"),style:xe},se.props.children),se.renderFooter())},se.renderProvider=function(ye){return se.parentDrawer=ye,e.createElement(ee.a,null,function(xe){var Ye=xe.getPopupContainer,pt=xe.getPrefixCls,nt=se.props,Oe=nt.prefixCls,vt=nt.placement,Ze=nt.className,wt=nt.mask,xt=nt.direction,Ot=nt.visible,Mt=Ge(nt,["prefixCls","placement","className","mask","direction","visible"]),Gt=pt("select",Oe),$e=x()(Ze,p()({"no-mask":!wt},"".concat(Gt,"-rtl"),xt==="rtl")),pe=wt?se.getOffsetStyle():{};return e.createElement(Ee.Provider,{value:n()(se)},e.createElement(me,m()({handler:!1},Object(_e.default)(Mt,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:Mt.getContainer===void 0&&Ye?function(){return Ye(document.body)}:Mt.getContainer},pe,{prefixCls:Gt,open:Ot,showMask:wt,placement:vt,style:se.getRcDrawerStyle(),className:$e}),se.renderBody()))})},se}return c()(Ie,[{key:"componentDidMount",value:function(){var ye=this.props.visible;ye&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(ye){var xe=this.props.visible;ye.visible!==xe&&this.parentDrawer&&(xe?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var ye=this.props,xe=ye.placement,Ye=ye.width,pt=ye.height,nt=ye.visible,Oe=ye.mask;if(!nt&&!Oe)return{};var vt={};return xe==="left"||xe==="right"?vt.width=Ye:vt.height=pt,vt}},{key:"renderHeader",value:function(){var ye=this.props,xe=ye.title,Ye=ye.prefixCls,pt=ye.closable,nt=ye.headerStyle;if(!xe&&!pt)return null;var Oe=xe?"".concat(Ye,"-header"):"".concat(Ye,"-header-no-title");return e.createElement("div",{className:Oe,style:nt},xe&&e.createElement("div",{className:"".concat(Ye,"-title")},xe),pt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var ye=this.props,xe=ye.footer,Ye=ye.footerStyle,pt=ye.prefixCls;if(!xe)return null;var nt="".concat(pt,"-footer");return e.createElement("div",{className:nt,style:Ye},xe)}},{key:"renderCloseIcon",value:function(){var ye=this.props,xe=ye.closable,Ye=ye.closeIcon,pt=Ye===void 0?e.createElement(oe.a,null):Ye,nt=ye.prefixCls,Oe=ye.onClose;return xe&&e.createElement("button",{onClick:Oe,"aria-label":"Close",className:"".concat(nt,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},pt)}},{key:"render",value:function(){return e.createElement(Ee.Consumer,null,this.renderProvider)}}]),Ie}(e.Component);ce.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:re};var ke=N.a=Object(ee.c)({prefixCls:"drawer"})(ce)},"/y7N":function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("6GrX"),m=t("7aKB"),g=t("Fofx"),f=t("aX7z"),d=t("+rIm");function c(u){var h=u.get("type"),A=u.getModel(h+"Style"),v;return h==="line"?(v=A.getLineStyle(),v.fill=null):h==="shadow"&&(v=A.getAreaStyle(),v.stroke=null),v}function a(u,h,A,v,w){var b=A.get("value"),E=i(b,h.axis,h.ecModel,A.get("seriesDataIndices"),{precision:A.get("label.precision"),formatter:A.get("label.formatter")}),T=A.getModel("label"),_=m.normalizeCssArray(T.get("padding")||0),x=T.getFont(),C=S.getBoundingRect(E,x),I=w.position,L=C.width+_[1]+_[3],F=C.height+_[0]+_[2],B=w.align;B==="right"&&(I[0]-=L),B==="center"&&(I[0]-=L/2);var P=w.verticalAlign;P==="bottom"&&(I[1]-=F),P==="middle"&&(I[1]-=F/2),n(I,L,F,v);var H=T.get("backgroundColor");(!H||H==="auto")&&(H=h.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:L,height:F,r:T.get("borderRadius")},position:I.slice(),style:{text:E,textFont:x,textFill:T.getTextColor(),textPosition:"inside",textPadding:_,fill:H,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function n(u,h,A,v){var w=v.getWidth(),b=v.getHeight();u[0]=Math.min(u[0]+h,w)-h,u[1]=Math.min(u[1]+A,b)-A,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function i(u,h,A,v,w){u=h.scale.parse(u);var b=h.scale.getLabel(u,{precision:w.precision}),E=w.formatter;if(E){var T={value:f.getAxisRawValue(h,u),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};y.each(v,function(_){var x=A.getSeriesByIndex(_.seriesIndex),C=_.dataIndexInside,I=x&&x.getDataParams(C);I&&T.seriesData.push(I)}),y.isString(E)?b=E.replace("{value}",b):y.isFunction(E)&&(b=E(T))}return b}function o(u,h,A){var v=g.create();return g.rotate(v,v,A.rotation),g.translate(v,v,A.position),p.applyTransform([u.dataToCoord(h),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],v)}function r(u,h,A,v,w,b){var E=d.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=w.get("label.margin"),a(h,v,w,b,{position:o(v.axis,u,A),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function l(u,h,A){return A=A||0,{x1:u[A],y1:u[1-A],x2:h[A],y2:h[1-A]}}function e(u,h,A){return A=A||0,{x:u[A],y:u[1-A],width:h[A],height:h[1-A]}}function s(u,h,A,v,w,b){return{cx:u,cy:h,r0:A,r:v,startAngle:w,endAngle:b,clockwise:!0}}N.buildElStyle=c,N.buildLabelElOption=a,N.getValueLabel=i,N.getTransformedPosition=o,N.buildCartesianSingleLabelElOption=r,N.makeLineShape=l,N.makeRectShape=e,N.makeSectorShape=s},"/zsF":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("bE4E"),m=t.n(S)},"0/Rx":function(R,N){function t(y){return{seriesType:y,reset:function(p,S){var m=S.findComponents({mainType:"legend"});if(!m||!m.length)return;var g=p.getData();g.filterSelf(function(f){for(var d=g.getName(f),c=0;c<m.length;c++)if(!m[c].isSelected(d))return!1;return!0})}}}R.exports=t},"01d+":function(R,N,t){var y=t("bYtY"),p=y.each,S=t("HF/U"),m=S.simpleLayout,g=S.simpleLayoutEdge;function f(d,c){d.eachSeriesByType("graph",function(a){var n=a.get("layout"),i=a.coordinateSystem;if(i&&i.type!=="view"){var o=a.getData(),r=[];p(i.dimensions,function(A){r=r.concat(o.mapDimension(A,!0))});for(var l=0;l<o.count();l++){for(var e=[],s=!1,u=0;u<r.length;u++){var h=o.get(r[u],l);isNaN(h)||(s=!0),e.push(h)}s?o.setItemLayout(l,i.dataToPoint(e)):o.setItemLayout(l,[NaN,NaN])}g(o.graph)}else(!n||n==="none")&&m(a)})}R.exports=f},"06DH":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("Kagy"),m=t("IUWy"),g=S.toolbox.magicType,f="__ec_magicType_stack__";function d(o){this.model=o}d.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:p.clone(g.title),option:{},seriesIndex:{}};var c=d.prototype;c.getIcons=function(){var o=this.model,r=o.get("icon"),l={};return p.each(o.get("type"),function(e){r[e]&&(l[e]=r[e])}),l};var a={line:function(o,r,l,e){if(o==="bar")return p.merge({id:r,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},e.get("option.line")||{},!0)},bar:function(o,r,l,e){if(o==="line")return p.merge({id:r,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},e.get("option.bar")||{},!0)},stack:function(o,r,l,e){var s=l.get("stack")===f;if(o==="line"||o==="bar")return e.setIconStatus("stack",s?"normal":"emphasis"),p.merge({id:r,stack:s?"":f},e.get("option.stack")||{},!0)}},n=[["line","bar"],["stack"]];c.onclick=function(o,r,l){var e=this.model,s=e.get("seriesIndex."+l);if(!a[l])return;var u={series:[]},h=function(w){var b=w.subType,E=w.id,T=a[l](b,E,w,e);T&&(p.defaults(T,w.option),u.series.push(T));var _=w.coordinateSystem;if(_&&_.type==="cartesian2d"&&(l==="line"||l==="bar")){var x=_.getAxesByScale("ordinal")[0];if(x){var C=x.dim,I=C+"Axis",L=o.queryComponents({mainType:I,index:w.get(name+"Index"),id:w.get(name+"Id")})[0],F=L.componentIndex;u[I]=u[I]||[];for(var B=0;B<=F;B++)u[I][F]=u[I][F]||{};u[I][F].boundaryGap=l==="bar"}}};p.each(n,function(w){p.indexOf(w,l)>=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("<zrvml:"+n+' class="zrvml">')}}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<l.length;s++)l[s].depth!=null&&l[s].depth>=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.time<o.end.time+g))return[NaN,NaN];var l=i.day,e=this._getRangeInfo([o.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+e*this._sh+this._sh/2]:[this._rect.x+e*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(a){var n=this.pointToDate(a);return n&&n.time},dataToRect:function(a,n){var i=this.dataToPoint(a,n);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(a){var n=Math.floor((a[0]-this._rect.x)/this._sw)+1,i=Math.floor((a[1]-this._rect.y)/this._sh)+1,o=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(i,n-1,o):this._getDateByWeeksAndDay(n,i-1,o)},convertToPixel:y.curry(d,"dataToPoint"),convertFromPixel:y.curry(d,"pointToData"),_initRangeOption:function(){var a=this._model.get("range"),n=a;if(y.isArray(n)&&n.length===1&&(n=n[0]),/^\d{4}$/.test(n)&&(a=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),o=i.date;o.setMonth(o.getMonth()+1);var r=this.getNextNDay(o,-1);a=[i.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(a=[n,n]);var l=this._getRangeInfo(a);return l.start.time>l.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&&n<o.fweek||a===o.weeks&&n>o.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<a;c++){var n=d[c],i=p[n].exports;if(i===m||i&&i.default===m){f=n;break}}if(!f){f=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var o={},c=0,a=d.length;c<a;c++){var n=d[c];o[n]=n}y[f]=["function(require,module,exports){"+m+"(self); }",o]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[f]=f,y[r]=["function(require,module,exports){var f = require("+S(f)+");(f.default ? f.default : f)(self);}",l];var e={};s(r);function s(b){e[b]=!0;for(var E in y[b][1]){var T=y[b][1][E];e[T]||s(T)}}var u="("+t+")({"+Object.keys(e).map(function(b){return S(b)+":["+y[b][0]+","+S(y[b][1])+"]"}).join(",")+"},{},["+S(r)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,A=new Blob([u],{type:"text/javascript"});if(g&&g.bare)return A;var v=h.createObjectURL(A),w=new Worker(v);return w.objectURL=v,w}},"0s+r":function(R,N,t){var y=t("bYtY"),p=t("QBsz"),S=t("y23F"),m=t("H6uX"),g=t("YH21"),f=t("C0SR"),d="silent";function c(s,u,h){return{type:s,event:h,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:h.zrX,offsetY:h.zrY,gestureEvent:h.gestureEvent,pinchX:h.pinchX,pinchY:h.pinchY,pinchScale:h.pinchScale,wheelDelta:h.zrDelta,zrByTouch:h.zrByTouch,which:h.which,stop:a}}function a(){g.stop(this.event)}function n(){}n.prototype.dispose=function(){};var i=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],o=function(u,h,A,v){m.call(this),this.storage=u,this.painter=h,this.painterRoot=v,A=A||new n,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,S.call(this),this.setHandlerProxy(A)};o.prototype={constructor:o,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(y.each(i,function(h){u.on&&u.on(h,this[h],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var h=u.zrX,A=u.zrY,v=l(this,h,A),w=this._hovered,b=w.target;b&&!b.__zr&&(w=this.findHover(w.x,w.y),b=w.target);var E=this._hovered=v?{x:h,y:A}:this.findHover(h,A),T=E.target,_=this.proxy;_.setCursor&&_.setCursor(T?T.cursor:"default"),b&&T!==b&&this.dispatchToElement(w,"mouseout",u),this.dispatchToElement(E,"mousemove",u),T&&T!==b&&this.dispatchToElement(E,"mouseover",u)},mouseout:function(u){var h=u.zrEventControl,A=u.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),h!=="no_globalout"&&(!A&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,h){var A=this[u];A&&A.call(this,h)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var h=this.proxy;h.setCursor&&h.setCursor(u)},dispatchToElement:function(u,h,A){u=u||{};var v=u.target;if(v&&v.silent)return;for(var w="on"+h,b=c(h,u,A);v&&!(v[w]&&(b.cancelBubble=v[w].call(v,b)),v.trigger(h,b),v=v.parent,b.cancelBubble););b.cancelBubble||(this.trigger(h,b),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[w]=="function"&&E[w].call(E,b),E.trigger&&E.trigger(h,b)}))},findHover:function(u,h,A){for(var v=this.storage.getDisplayList(),w={x:u,y:h},b=v.length-1;b>=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<g.length;f++)m=m||g[f].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],g=this.getGlobalScale(),f=0;f<m.length;f++)m[f].path||m[f].createPathProxy(),m[f].path.setScale(g[0],g[1],m[f].segmentIgnoreThreshold)},buildPath:function(m,g){for(var f=g.paths||[],d=0;d<f.length;d++)f[d].buildPath(m,f[d].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],g=0;g<m.length;g++)m[g].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),y.prototype.getBoundingRect.call(this)}});R.exports=p},"1NG9":function(R,N,t){var y=t("y+Vt"),p=t("QBsz"),S=t("iXp4"),m=p.min,g=p.max,f=p.scaleAndAdd,d=p.copy,c=[],a=[],n=[];function i(h){return isNaN(h[0])||isNaN(h[1])}function o(h,A,v,w,b,E,T,_,x,C,I){return C==="none"||!C?l.apply(this,arguments):r.apply(this,arguments)}function r(h,A,v,w,b,E,T,_,x,C,I){for(var L=0,F=v,B=0;B<w;B++){var P=A[F];if(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<w;B++){var P=A[F];if(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]),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;b<h.length;b++){var E=h[b];E[0]<v[0]&&(v[0]=E[0]),E[1]<v[1]&&(v[1]=E[1]),E[0]>w[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(;w<b&&i(v[w]);w++);}for(;w<b;)w+=o(h,v,w,b,b,1,E.min,E.max,A.smooth,A.smoothMonotone,A.connectNulls)+1}}),u=y.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:S(y.prototype.brush),buildPath:function(h,A){var v=A.points,w=A.stackedOnPoints,b=0,E=v.length,T=A.smoothMonotone,_=e(v,A.smoothConstraint),x=e(w,A.smoothConstraint);if(A.connectNulls){for(;E>0&&i(v[E-1]);E--);for(;b<E&&i(v[b]);b++);}for(;b<E;){var C=o(h,v,b,E,E,1,_.min,_.max,A.smooth,T,A.connectNulls);o(h,w,b+C-1,C,E,-1,x.min,x.max,A.stackedOnSmooth,T,A.connectNulls),b+=C+1,h.closePath()}}});N.Polyline=s,N.Polygon=u},"1RvN":function(R,N){var t=function(){this.head=null,this.tail=null,this._len=0},y=t.prototype;y.insert=function(f){var d=new p(f);return this.insertEntry(d),d},y.insertEntry=function(f){this.head?(this.tail.next=f,f.prev=this.tail,f.next=null,this.tail=f):this.head=this.tail=f,this._len++},y.remove=function(f){var d=f.prev,c=f.next;d?d.next=c:this.head=c,c?c.prev=d:this.tail=d,f.next=f.prev=null,this._len--},y.len=function(){return this._len},y.clear=function(){this.head=this.tail=null,this._len=0};var p=function(d){this.value=d,this.next,this.prev},S=function(d){this._list=new t,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},m=S.prototype;m.put=function(f,d){var c=this._list,a=this._map,n=null;if(a[f]==null){var i=c.len(),o=this._lastRemovedEntry;if(i>=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<n.length;i++)a.animation.addAnimator(n[i]);this.clipPath&&this.clipPath.addSelfToZr(a)},removeSelfFromZr:function(a){this.__zr=null;var n=this.animators;if(n)for(var i=0;i<n.length;i++)a.animation.removeAnimator(n[i]);this.clipPath&&this.clipPath.removeSelfFromZr(a)}},g.mixin(f,m),g.mixin(f,S),g.mixin(f,p);var d=f;R.exports=d},"1dTM":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=t("GQ8N"),p=C(t("Lo0S")),S=t("VSMT"),m=t("GdRQ"),g=t("SZEN"),f=t("vewr"),d=_(t("YJ9k")),c=_(t("MZdM")),a=_(t("ItS6")),n=_(t("whVF")),i=_(t("Fv0C")),o=_(t("LCi9")),r=_(t("rwxt")),l=_(t("Mmt2")),e=_(t("iUHT")),s=_(t("mHUz")),u=_(t("P2ho")),h=t("NBmB");t("mdZa");var A=_(t("34/K")),v=_(t("hXwI")),w=_(t("SgaC")),b=_(t("3690")),E=_(t("8K/p")),T=_(t("xO64"));function _(ke){return ke&&ke.__esModule?ke:{default:ke}}function x(){if(typeof WeakMap!="function")return null;var ke=new WeakMap;return x=function(){return ke},ke}function C(ke){if(ke&&ke.__esModule)return ke;if(ke===null||I(ke)!=="object"&&typeof ke!="function")return{default:ke};var Te=x();if(Te&&Te.has(ke))return Te.get(ke);var Ke={},Ie=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var se in ke)if(Object.prototype.hasOwnProperty.call(ke,se)){var ye=Ie?Object.getOwnPropertyDescriptor(ke,se):null;ye&&(ye.get||ye.set)?Object.defineProperty(Ke,se,ye):Ke[se]=ke[se]}return Ke.default=ke,Te&&Te.set(ke,Ke),Ke}function I(ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Ke){return typeof Ke}:I=function(Ke){return Ke&&typeof Symbol=="function"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?"symbol":typeof Ke},I(ke)}function L(ke,Te){if(!(ke instanceof Te))throw new TypeError("Cannot call a class as a function")}function F(ke,Te){for(var Ke=0;Ke<Te.length;Ke++){var Ie=Te[Ke];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(ke,Ie.key,Ie)}}function B(ke,Te,Ke){return Te&&F(ke.prototype,Te),Ke&&F(ke,Ke),ke}function P(ke,Te){if(typeof Te!="function"&&Te!==null)throw new TypeError("Super expression must either be null or a function");ke.prototype=Object.create(Te&&Te.prototype,{constructor:{value:ke,writable:!0,configurable:!0}}),Te&&H(ke,Te)}function H(ke,Te){return H=Object.setPrototypeOf||function(Ie,se){return Ie.__proto__=se,Ie},H(ke,Te)}function z(ke){var Te=k();return function(){var Ie=K(ke),se;if(Te){var ye=K(this).constructor;se=Reflect.construct(Ie,arguments,ye)}else se=Ie.apply(this,arguments);return M(this,se)}}function M(ke,Te){return Te&&(I(Te)==="object"||typeof Te=="function")?Te:U(ke)}function U(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function k(){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(ke){return!1}}function K(ke){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(Ke){return Ke.__proto__||Object.getPrototypeOf(Ke)},K(ke)}var j=3,V="rgb(40, 40, 40)",W=17,X=50,J=19,de=75,G=50,ae=1e3,Ae=50,me=1,Me=1<<1,oe=1<<2,_e=1<<3,ee=1<<4,ne=1<<24,Ge=1<<25,Ee=1<<26,ue=1<<27,re=1<<28,ce=function(ke){P(Ke,ke);var Te=z(Ke);function Ke(Ie,se,ye){var xe;if(L(this,Ke),!Ie)throw new Error("Must specify target");if(!se)throw new Error("Must specify URL");xe=Te.call(this),xe._target=Ie,xe._url=se,ye=ye||{},xe._rfbCredentials=ye.credentials||{},xe._shared="shared"in ye?!!ye.shared:!0,xe._repeaterID=ye.repeaterID||"",xe._wsProtocols=ye.wsProtocols||[],xe._rfbConnectionState="",xe._rfbInitState="",xe._rfbAuthScheme=-1,xe._rfbCleanDisconnect=!0,xe._rfbVersion=0,xe._rfbMaxVersion=3.8,xe._rfbTightVNC=!1,xe._rfbVeNCryptState=0,xe._rfbXvpVer=0,xe._fbWidth=0,xe._fbHeight=0,xe._fbName="",xe._capabilities={power:!1},xe._supportsFence=!1,xe._supportsContinuousUpdates=!1,xe._enabledContinuousUpdates=!1,xe._supportsSetDesktopSize=!1,xe._screenID=0,xe._screenFlags=0,xe._qemuExtKeyEventSupported=!1,xe._clipboardText=null,xe._clipboardServerCapabilitiesActions={},xe._clipboardServerCapabilitiesFormats={},xe._sock=null,xe._display=null,xe._flushing=!1,xe._keyboard=null,xe._gestures=null,xe._disconnTimer=null,xe._resizeTimeout=null,xe._mouseMoveTimer=null,xe._decoders={},xe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},xe._mousePos={},xe._mouseButtonMask=0,xe._mouseLastMoveTime=0,xe._viewportDragging=!1,xe._viewportDragPos={},xe._viewportHasMoved=!1,xe._accumulatedWheelDeltaX=0,xe._accumulatedWheelDeltaY=0,xe._gestureLastTapTime=null,xe._gestureFirstDoubleTapEv=null,xe._gestureLastMagnitudeX=0,xe._gestureLastMagnitudeY=0,xe._eventHandlers={focusCanvas:xe._focusCanvas.bind(U(xe)),windowResize:xe._windowResize.bind(U(xe)),handleMouse:xe._handleMouse.bind(U(xe)),handleWheel:xe._handleWheel.bind(U(xe)),handleGesture:xe._handleGesture.bind(U(xe))},p.Debug(">> 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<se.length;xe++)ye[xe]=se.charCodeAt(xe);Ke.messages.clientCutText(this._sock,ye)}}},{key:"_connect",value:function(){p.Debug(">> 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<<se.button);break;case"mouseup":this._handleMouseButton(ye.x,ye.y,!1,1<<se.button);break;case"mousemove":this._handleMouseMove(ye.x,ye.y);break}}},{key:"_handleMouseButton",value:function(se,ye,xe,Ye){if(this.dragViewport)if(xe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:se,y:ye},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(se,ye,Ye)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(se,ye,this._mouseButtonMask)),xe?this._mouseButtonMask|=Ye:this._mouseButtonMask&=~Ye,this._sendMouse(se,ye,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(se,ye){var xe=this;if(this._viewportDragging){var Ye=this._viewportDragPos.x-se,pt=this._viewportDragPos.y-ye;(this._viewportHasMoved||Math.abs(Ye)>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._gestureLastTapTime<ae&&this._gestureFirstDoubleTapEv.detail.type===se.detail.type){var Ye=this._gestureFirstDoubleTapEv.detail.clientX-se.detail.clientX,pt=this._gestureFirstDoubleTapEv.detail.clientY-se.detail.clientY,nt=Math.hypot(Ye,pt);nt<Ae?xe=(0,g.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=se}else this._gestureFirstDoubleTapEv=se;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,ye),this._handleMouseButton(xe.x,xe.y,!1,ye)}},{key:"_handleGesture",value:function(se){var ye,xe=(0,g.clientToElement)(se.detail.clientX,se.detail.clientY,this._canvas);switch(se.type){case"gesturestart":switch(se.detail.type){case"onetap":this._handleTapEvent(se,1);break;case"twotap":this._handleTapEvent(se,4);break;case"threetap":this._handleTapEvent(se,2);break;case"drag":this._fakeMouseMove(se,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,1);break;case"longpress":this._fakeMouseMove(se,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=se.detail.magnitudeX,this._gestureLastMagnitudeY=se.detail.magnitudeY,this._fakeMouseMove(se,xe.x,xe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(se.detail.magnitudeX,se.detail.magnitudeY),this._fakeMouseMove(se,xe.x,xe.y);break}break;case"gesturemove":switch(se.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(se,xe.x,xe.y);break;case"twodrag":for(this._fakeMouseMove(se,xe.x,xe.y);se.detail.magnitudeY-this._gestureLastMagnitudeY>G;)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<pt.length;nt++)if(pt[nt]===Ye)return!0;return!1}if(this._rfbVersion>=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;nt<this._rfbVeNCryptSubtypesLength;nt++)pt.push(this._sock.rQshift32());if(pt.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Oe=(0,S.encodeUTF8)(this._rfbCredentials.username),vt=(0,S.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Oe.length]),this._sock.send([0,0,0,vt.length]),this._sock.sendString(Oe),this._sock.sendString(vt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var se=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),ye=Ke.genDES(this._rfbCredentials.password,se);return this._sock.send(ye),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(se){for(var ye={0:{vendor:"TGHT",signature:"NOTUNNEL"}},xe={},Ye=0;Ye<se;Ye++){var pt=this._sock.rQshift32(),nt=this._sock.rQshiftStr(4),Oe=this._sock.rQshiftStr(8);xe[pt]={vendor:nt,signature:Oe}}return p.Debug("Server Tight tunnel types: "+xe),xe[1]&&xe[1].vendor==="SICR"&&xe[1].signature==="SCHANNEL"&&(p.Debug("Detected Siemens server. Assuming NOTUNNEL support."),xe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),xe[0]?xe[0].vendor!=ye[0].vendor||xe[0].signature!=ye[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(p.Debug("Selected tunnel type: "+ye[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var se=this._sock.rQshift32();if(se>0&&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<ye;pt++){this._sock.rQshift32();var nt=this._sock.rQshiftStr(12);Ye.push(nt)}p.Debug("Server Tight authentication types: "+Ye);for(var Oe in xe)if(Ye.indexOf(Oe)!=-1){this._sock.send([0,0,0,xe[Oe]]),p.Debug("Selected authentication type: "+Oe);switch(Oe){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Oe+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=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<<Oe;Ye&vt&&(this._clipboardServerCapabilitiesFormats[vt]=!0,this._sock.rQshift32())}for(var Ze=24;Ze<=31;Ze++){var wt=1<<Ze;this._clipboardServerCapabilitiesActions[wt]=!!(pt&wt)}var xt=[ne,Ge,Ee,ue,re];Ke.messages.extendedClipboardCaps(this._sock,xt,{extendedClipboardFormatText:0})}else if(pt===Ge){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[re]&&(Ye&me&&Ke.messages.extendedClipboardProvide(this._sock,[me],[this._clipboardText]))}else if(pt===Ee){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[ue]&&(this._clipboardText!=null?Ke.messages.extendedClipboardNotify(this._sock,[me]):Ke.messages.extendedClipboardNotify(this._sock,[]))}else if(pt===ue){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ge]&&(Ye&me&&Ke.messages.extendedClipboardRequest(this._sock,[me]))}else if(pt===re){if(this._viewOnly)return!0;if(!(Ye&me))return!0;this._clipboardText=null;var Ot=this._sock.rQshiftBytes(se-4),Mt=new a.default,Gt=null;Mt.setInput(Ot);for(var $e=0;$e<=15;$e++){var pe=1<<$e;if(Ye&pe){var q=0,bt=Mt.inflate(4);q|=bt[0]<<24,q|=bt[1]<<16,q|=bt[2]<<8,q|=bt[3];var qe=Mt.inflate(q);pe===me&&(Gt=qe)}}if(Mt.setInput(null),Gt!==null){for(var le="",Nt=0;Nt<Gt.length;Nt++)le+=String.fromCharCode(Gt[Nt]);Gt=le,Gt=(0,S.decodeUTF8)(Gt),Gt.length>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<xe*Ye;wt++)Ze[wt]=this._sock.rQshift32();for(var xt=new Array(xe*Ye),Ot=0;Ot<xe*Ye;Ot++)xt[Ot]=this._sock.rQshift32();for(var Mt=0;Mt<xe*Ye;Mt++)if(Ze[Mt]==0){var Gt=xt[Mt],$e=Gt>>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<xe*Ye;bt++){var qe=this._sock.rQshift32();nt[bt*4]=qe>>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;Ot<Ye;Ot++)for(var Mt=0;Mt<xe;Mt++){var Gt=Ot*Math.ceil(xe/8)+Math.floor(Mt/8),$e=Ze[Gt]<<Mt%8&128?255:0;wt[xt]=vt[xt+2],wt[xt+1]=vt[xt+1],wt[xt+2]=vt[xt],wt[xt+3]=$e,xt+=4}return this._updateCursor(wt,se,ye,xe,Ye),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var se=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",se,4))return!1;var ye=this._sock.rQshiftStr(se);return ye=(0,S.decodeUTF8)(ye,!0),this._setDesktopName(ye),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var se=this._sock.rQpeek8(),ye=4+se*16;if(this._sock.rQwait("ExtendedDesktopSize",ye))return!1;var xe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,xe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Ye=0;Ye<se;Ye+=1)Ye===0?(this._screenID=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(this._FBU.x===1&&this._FBU.y!==0){var pt="";switch(this._FBU.y){case 1:pt="Resize is administratively prohibited";break;case 2:pt="Out of resources";break;case 3:pt="Invalid screen layout";break;default:pt="Unknown reason";break}p.Warn("Server did not accept the resize request: "+pt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var se=this._decoders[this._FBU.encoding];if(!se)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return se.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(ye){return this._fail("Error decoding rect: "+ye),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Ke.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(se,ye){this._fbWidth=se,this._fbHeight=ye,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(se,ye){if(this._rfbXvpVer<se)return;p.Info("Sending XVP operation "+ye+" (version "+se+")"),Ke.messages.xvpOp(this._sock,se,ye)}},{key:"_updateCursor",value:function(se,ye,xe,Ye,pt){this._cursorImage={rgbaPixels:se,hotx:ye,hoty:xe,w:Ye,h:pt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var se=3;se<this._cursorImage.rgbaPixels.length;se+=4)if(this._cursorImage.rgbaPixels[se])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var se=this._shouldShowDotCursor()?Ke.cursors.dot:this._cursorImage;this._cursor.change(se.rgbaPixels,se.hotx,se.hoty,se.w,se.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(se){this._viewOnly=se,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(se?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(se){p.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(se){this._clipViewport=se,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(se){this._scaleViewport=se,se&&this._clipViewport&&this._updateClip(),this._updateScale(),!se&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(se){this._resizeSession=se,se&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(se){this._showDotCursor=se,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(se){this._screen.style.background=se}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(se){if(!Number.isInteger(se)||se<0||se>9){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<Te.length;xe++)ye|=Te[xe];for(var Ye=0;Ye<Ke.length;Ye++)se|=Ke[Ye];return Ie[0]=ye>>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<Ke.length;xe++){if(Ke[xe]!=me)throw new Error("Unsupported extended clipboard format for Provide message.");Ie[xe]=Ie[xe].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Ye=(0,S.encodeUTF8)(Ie[xe]+"\0");ye.push(Ye.length>>24&255,Ye.length>>16&255,Ye.length>>8&255,Ye.length&255);for(var pt=0;pt<Ye.length;pt++)ye.push(Ye.charCodeAt(pt))}var nt=se.deflate(new Uint8Array(ye)),Oe=new Uint8Array(4+nt.length);Oe.set(ce.messages._buildExtendedClipboardFlags([re],Ke)),Oe.set(nt,4),ce.messages.clientCutText(Te,Oe,!0)},extendedClipboardNotify:function(Te,Ke){var Ie=ce.messages._buildExtendedClipboardFlags([ue],Ke);ce.messages.clientCutText(Te,Ie,!0)},extendedClipboardRequest:function(Te,Ke){var Ie=ce.messages._buildExtendedClipboardFlags([Ge],Ke);ce.messages.clientCutText(Te,Ie,!0)},extendedClipboardCaps:function(Te,Ke,Ie){var se=Object.keys(Ie),ye=new Uint8Array(4+4*se.length);se.map(function(pt){return parseInt(pt)}),se.sort(function(pt,nt){return pt-nt}),ye.set(ce.messages._buildExtendedClipboardFlags(Ke,[]));for(var xe=4,Ye=0;Ye<se.length;Ye++)ye[xe]=Ie[se[Ye]]>>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<<se[Ye];ce.messages.clientCutText(Te,ye,!0)},clientCutText:function(Te,Ke){var Ie=arguments.length>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<nt;Oe++)se[Te._sQlen+Oe]=Ke[Ye+Oe];Te._sQlen+=nt,Te.flush(),pt-=nt,Ye+=nt}},setDesktopSize:function(Te,Ke,Ie,se,ye){var xe=Te._sQ,Ye=Te._sQlen;xe[Ye]=251,xe[Ye+1]=0,xe[Ye+2]=Ke>>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<xe;Ye++)se[ye+9+Ye]=Ie.charCodeAt(Ye);Te._sQlen+=9+xe,Te.flush()},enableContinuousUpdates:function(Te,Ke,Ie,se,ye,xe){var Ye=Te._sQ,pt=Te._sQlen;Ye[pt]=150,Ye[pt+1]=Ke,Ye[pt+2]=Ie>>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<<Ye)-1,se[ye+10]=0,se[ye+11]=(1<<Ye)-1,se[ye+12]=0,se[ye+13]=(1<<Ye)-1,se[ye+14]=Ye*2,se[ye+15]=Ye*1,se[ye+16]=Ye*0,se[ye+17]=0,se[ye+18]=0,se[ye+19]=0,Te._sQlen+=20,Te.flush()},clientEncodings:function(Te,Ke){var Ie=Te._sQ,se=Te._sQlen;Ie[se]=2,Ie[se+1]=0,Ie[se+2]=Ke.length>>8,Ie[se+3]=Ke.length;for(var ye=se+4,xe=0;xe<Ke.length;xe++){var Ye=Ke[xe];Ie[ye]=Ye>>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&&/<!\[CDATA\[/.test(B))return 0;var z=B&&/^<(\/)?([\w_:\.-]*)/.exec(B);if(z&&z[1])for(;H;)if(H.tagName==z[2]){H=H.prev;break}else if(d.implicitlyClosed.hasOwnProperty(H.tagName))H=H.prev;else break;else if(z)for(;H;){var M=d.contextGrabbers[H.tagName];if(M&&M.hasOwnProperty(z[2]))H=H.prev;else break}for(;H&&H.prev&&!H.startOfLine;)H=H.prev;return H?H.indent+f:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",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;I<C.length;I++){var L=(0,h.unitConvert)(C[I],this.prop.pageSize.k);L.left-=_.left,L.top-=_.top;var F=Math.floor(L.top/this.prop.pageSize.inner.height)+1,B=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,P=this.opt.margin[1]+L.left;A.push({page:F,top:B,left:P,clientRect:L,link:x})}},this)}})},u.default.prototype.toPdf=function(){return v.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(T){this.prop.pdf.setPage(T.page),this.prop.pdf.link(T.left,T.top,T.clientRect.width,T.clientRect.height,{url:T.link.href})},this);var E=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(E)}})}},"./src/plugin/jspdf-plugin.js":function(n,i,o){"use strict";o.r(i);var r=o("./node_modules/core-js/modules/es.symbol.js"),l=o.n(r),e=o("./node_modules/core-js/modules/es.symbol.description.js"),s=o.n(e),u=o("./node_modules/core-js/modules/es.object.to-string.js"),h=o.n(u),A=o("./node_modules/core-js/modules/es.symbol.iterator.js"),v=o.n(A),w=o("./node_modules/core-js/modules/es.array.iterator.js"),b=o.n(w),E=o("./node_modules/core-js/modules/es.string.iterator.js"),T=o.n(E),_=o("./node_modules/core-js/modules/web.dom-collections.iterator.js"),x=o.n(_),C=o("jspdf"),I=o.n(C);function L(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(P){return typeof P}:L=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},L(F)}C.jsPDF.getPageSize=function(F,B,P){if(L(F)==="object"){var H=F;F=H.orientation,B=H.unit||B,P=H.format||P}B=B||"mm",P=P||"a4",F=(""+(F||"P")).toLowerCase();var z=(""+P).toLowerCase(),M={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(B){case"pt":var U=1;break;case"mm":var U=72/25.4;break;case"cm":var U=72/2.54;break;case"in":var U=72;break;case"px":var U=72/96;break;case"pc":var U=12;break;case"em":var U=12;break;case"ex":var U=6;break;default:throw"Invalid unit: "+B}if(M.hasOwnProperty(z))var k=M[z][1]/U,K=M[z][0]/U;else try{var k=P[1],K=P[0]}catch(W){throw new Error("Invalid format: "+P)}if(F==="p"||F==="portrait"){if(F="p",K>k){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;Me<G;Me++){Me===G-1&&J%de!==0&&(Ae.height=J%de,ae=Ae.height*this.prop.pageSize.inner.width/Ae.width);var oe=Ae.width,_e=Ae.height;me.fillStyle="white",me.fillRect(0,0,oe,_e),me.drawImage(W,0,Me*de,oe,_e,0,0,oe,_e),Me&&this.prop.pdf.addPage();var ee=Ae.toDataURL("image/"+X.image.type,X.image.quality);this.prop.pdf.addImage(ee,X.image.type,X.margin[1],X.margin[0],this.prop.pageSize.inner.width,ae)}})},k.prototype.output=function(j,V,W){return W=W||"pdf",W.toLowerCase()==="img"||W.toLowerCase()==="image"?this.outputImg(j,V):this.outputPdf(j,V)},k.prototype.outputPdf=function(j,V){var W=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(W).then(function(){return this.prop.pdf.output(j,V)})},k.prototype.outputImg=function(j,V){var W=[function(){return this.prop.img||this.toImg()}];return this.thenList(W).then(function(){switch(j){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+j+'" is not supported.'}})},k.prototype.save=function(j){var V=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(V).set(j?{filename:j}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},k.prototype.set=function(j){if((0,H.objType)(j)!=="object")return this;var V=Object.keys(j||{}).map(function(W){switch(W){case"margin":return this.setMargin.bind(this,j.margin);case"jsPDF":return function(){return this.opt.jsPDF=j.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,j.pageSize);default:return W in k.template.prop?function(){this.prop[W]=j[W]}:function(){this.opt[W]=j[W]}}},this);return this.then(function(){return this.thenList(V)})},k.prototype.get=function(j,V){return this.then(function(){var X=j in k.template.prop?this.prop[j]:this.opt[j];return V?V(X):X})},k.prototype.setMargin=function(j){return this.then(function(){switch((0,H.objType)(j)){case"number":j=[j,j,j,j];case"array":if(j.length===2&&(j=[j[0],j[1],j[0],j[1]]),j.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=j}).then(this.setPageSize)},k.prototype.setPageSize=function(j){return this.then(function(){j=j||L.jsPDF.getPageSize(this.opt.jsPDF),j.hasOwnProperty("inner")||(j.inner={width:j.width-this.opt.margin[1]-this.opt.margin[3],height:j.height-this.opt.margin[0]-this.opt.margin[2]},j.inner.px={width:(0,H.toPx)(j.inner.width,j.k),height:(0,H.toPx)(j.inner.height,j.k)},j.inner.ratio=j.inner.height/j.inner.width),this.prop.pageSize=j})},k.prototype.setProgress=function(j,V,W,X){return j!=null&&(this.progress.val=j),V!=null&&(this.progress.state=V),W!=null&&(this.progress.n=W),X!=null&&(this.progress.stack=X),this.progress.ratio=this.progress.val/this.progress.state,this},k.prototype.updateProgress=function(j,V,W,X){return this.setProgress(j?this.progress.val+j:null,V||null,W?this.progress.n+W:null,X?this.progress.stack.concat(X):null)},k.prototype.then=function(j,V){var W=this;return this.thenCore(j,V,function(J,de){return W.updateProgress(null,null,1,[J]),U.prototype.then.call(this,function(ae){return W.updateProgress(null,J),ae}).then(J,de).then(function(ae){return W.updateProgress(1),ae})})},k.prototype.thenCore=function(j,V,W){W=W||U.prototype.then;var X=this;j&&(j=j.bind(X)),V&&(V=V.bind(X));var J=U.toString().indexOf("[native code]")!==-1&&U.name==="Promise",de=J?X:k.convert(Object.assign({},X),U.prototype),G=W.call(de,j,V);return k.convert(G,X.__proto__)},k.prototype.thenExternal=function(j,V){return U.prototype.then.call(this,j,V)},k.prototype.thenList=function(j){var V=this;return j.forEach(function(X){V=V.thenCore(X)}),V},k.prototype.catch=function(K){K&&(K=K.bind(this));var j=U.prototype.catch.call(this,K);return k.convert(j,this)},k.prototype.catchExternal=function(j){return U.prototype.catch.call(this,j)},k.prototype.error=function(j){return this.then(function(){throw new Error(j)})},k.prototype.using=k.prototype.set,k.prototype.saveAs=k.prototype.save,k.prototype.export=k.prototype.output,k.prototype.run=k.prototype.then,i.default=k},"./node_modules/core-js/internals/a-function.js":function(n){n.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"./node_modules/core-js/internals/a-possible-prototype.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(l){if(!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"./node_modules/core-js/internals/add-to-unscopables.js":function(n,i,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),l=o("./node_modules/core-js/internals/object-create.js"),e=o("./node_modules/core-js/internals/object-define-property.js"),s=r("unscopables"),u=Array.prototype;u[s]==null&&e.f(u,s,{configurable:!0,value:l(null)}),n.exports=function(h){u[s][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(l){if(!r(l))throw TypeError(String(l)+" is not an object");return l}},"./node_modules/core-js/internals/array-for-each.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/array-iteration.js").forEach,l=o("./node_modules/core-js/internals/array-method-is-strict.js"),e=l("forEach");n.exports=e?[].forEach:function(u){return r(this,u,arguments.length>1?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<A.length;b++){var E=A[b];r(u,E)||v(u,E,w(h,E))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},"./node_modules/core-js/internals/create-html.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=/"/g;n.exports=function(s,u,h,A){var v=l(r(s)),w="<"+u;return h!==""&&(w+=" "+h+'="'+l(A).replace(e,""")+'"'),w+">"+v+"</"+u+">"}},"./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<K;U++)if(V=U===-1?H:arguments[U],L(V)){if(j=h(V.length),M+j>_)throw TypeError(x);for(k=0;k<j;k++,M++)k in V&&A(z,M,V[k])}else{if(M>=_)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;B<P;B++,M++)B in L&&A(z,M,L[B]);return z.length=M,z}})},"./node_modules/core-js/modules/es.function.name.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").f,e=Function.prototype,s=e.toString,u=/^\s*function ([^ (]*)/,h="name";r&&!(h in e)&&l(e,h,{configurable:!0,get:function(){try{return s.call(this).match(u)[1]}catch(v){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/global.js"),e=o("./node_modules/core-js/internals/is-forced.js"),s=o("./node_modules/core-js/internals/redefine.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/classof-raw.js"),A=o("./node_modules/core-js/internals/inherit-if-required.js"),v=o("./node_modules/core-js/internals/is-symbol.js"),w=o("./node_modules/core-js/internals/to-primitive.js"),b=o("./node_modules/core-js/internals/fails.js"),E=o("./node_modules/core-js/internals/object-create.js"),T=o("./node_modules/core-js/internals/object-get-own-property-names.js").f,_=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,x=o("./node_modules/core-js/internals/object-define-property.js").f,C=o("./node_modules/core-js/internals/string-trim.js").trim,I="Number",L=l[I],F=L.prototype,B=h(E(F))==I,P=function(K){if(v(K))throw TypeError("Cannot convert a Symbol value to a number");var j=w(K,"number"),V,W,X,J,de,G,ae,Ae;if(typeof j=="string"&&j.length>2){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;ae<G;ae++)if(Ae=de.charCodeAt(ae),Ae<48||Ae>J)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,Wt;arguments.length>lt;)tr.push(arguments[lt++]);return Wt=le,!b(le)&&qe===void 0||E(qe)?void 0:(w(le)||(le=function(Vr,ur){if(typeof Wt=="function"&&(ur=Wt.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;nt<e;nt+=2){var Oe=B[nt],vt=B[nt+1];Oe(vt),B[nt]=void 0,B[nt+1]=void 0}e=0}function H(){try{var nt=Function("return this")().require("vertx");return s=nt.runOnLoop||nt.runOnContext,C()}catch(Oe){return F()}}var z=void 0;T?z=x():E?z=I():_?z=L():w===void 0&&!0?z=H():z=F();function M(nt,Oe){var vt=this,Ze=new this.constructor(K);Ze[k]===void 0&&ce(Ze);var wt=vt._state;if(wt){var xt=arguments[wt-1];h(function(){return Ge(wt,Ze,xt,vt._result)})}else ee(vt,Ze,nt,Oe);return Ze}function U(nt){var Oe=this;if(nt&&typeof nt=="object"&&nt.constructor===Oe)return nt;var vt=new Oe(K);return me(vt,nt),vt}var k=Math.random().toString(36).substring(2);function K(){}var j=void 0,V=1,W=2;function X(){return new TypeError("You cannot resolve a promise with itself")}function J(){return new TypeError("A promises callback cannot return that same promise.")}function de(nt,Oe,vt,Ze){try{nt.call(Oe,vt,Ze)}catch(wt){return wt}}function G(nt,Oe,vt){h(function(Ze){var wt=!1,xt=de(vt,Oe,function(Ot){if(wt)return;wt=!0,Oe!==Ot?me(Ze,Ot):oe(Ze,Ot)},function(Ot){if(wt)return;wt=!0,_e(Ze,Ot)},"Settle: "+(Ze._label||" unknown promise"));!wt&&xt&&(wt=!0,_e(Ze,xt))},nt)}function ae(nt,Oe){Oe._state===V?oe(nt,Oe._result):Oe._state===W?_e(nt,Oe._result):ee(Oe,void 0,function(vt){return me(nt,vt)},function(vt){return _e(nt,vt)})}function Ae(nt,Oe,vt){Oe.constructor===nt.constructor&&vt===M&&Oe.constructor.resolve===U?ae(nt,Oe):vt===void 0?oe(nt,Oe):o(vt)?G(nt,Oe,vt):oe(nt,Oe)}function me(nt,Oe){if(nt===Oe)_e(nt,X());else if(i(Oe)){var vt=void 0;try{vt=Oe.then}catch(Ze){_e(nt,Ze);return}Ae(nt,Oe,vt)}else oe(nt,Oe)}function Me(nt){nt._onerror&&nt._onerror(nt._result),ne(nt)}function oe(nt,Oe){if(nt._state!==j)return;nt._result=Oe,nt._state=V,nt._subscribers.length!==0&&h(ne,nt)}function _e(nt,Oe){if(nt._state!==j)return;nt._state=W,nt._result=Oe,h(Me,nt)}function ee(nt,Oe,vt,Ze){var wt=nt._subscribers,xt=wt.length;nt._onerror=null,wt[xt]=Oe,wt[xt+V]=vt,wt[xt+W]=Ze,xt===0&&nt._state&&h(ne,nt)}function ne(nt){var Oe=nt._subscribers,vt=nt._state;if(Oe.length===0)return;for(var Ze=void 0,wt=void 0,xt=nt._result,Ot=0;Ot<Oe.length;Ot+=3)Ze=Oe[Ot],wt=Oe[Ot+vt],Ze?Ge(vt,Ze,wt,xt):wt(xt);nt._subscribers.length=0}function Ge(nt,Oe,vt,Ze){var wt=o(vt),xt=void 0,Ot=void 0,Mt=!0;if(wt){try{xt=vt(Ze)}catch(Gt){Mt=!1,Ot=Gt}if(Oe===xt){_e(Oe,J());return}}else xt=Ze;Oe._state!==j||(wt&&Mt?me(Oe,xt):Mt===!1?_e(Oe,Ot):nt===V?oe(Oe,xt):nt===W&&_e(Oe,xt))}function Ee(nt,Oe){try{Oe(function(Ze){me(nt,Ze)},function(Ze){_e(nt,Ze)})}catch(vt){_e(nt,vt)}}var ue=0;function re(){return ue++}function ce(nt){nt[k]=ue++,nt._state=void 0,nt._result=void 0,nt._subscribers=[]}function ke(){return new Error("Array Methods must be provided an Array")}var Te=function(){function nt(Oe,vt){this._instanceConstructor=Oe,this.promise=new Oe(K),this.promise[k]||ce(this.promise),l(vt)?(this.length=vt.length,this._remaining=vt.length,this._result=new Array(this.length),this.length===0?oe(this.promise,this._result):(this.length=this.length||0,this._enumerate(vt),this._remaining===0&&oe(this.promise,this._result))):_e(this.promise,ke())}return nt.prototype._enumerate=function(vt){for(var Ze=0;this._state===j&&Ze<vt.length;Ze++)this._eachEntry(vt[Ze],Ze)},nt.prototype._eachEntry=function(vt,Ze){var wt=this._instanceConstructor,xt=wt.resolve;if(xt===U){var Ot=void 0,Mt=void 0,Gt=!1;try{Ot=vt.then}catch(pe){Gt=!0,Mt=pe}if(Ot===M&&vt._state!==j)this._settledAt(vt._state,Ze,vt._result);else if(typeof Ot!="function")this._remaining--,this._result[Ze]=vt;else if(wt===Ye){var $e=new wt(K);Gt?_e($e,Mt):Ae($e,vt,Ot),this._willSettleAt($e,Ze)}else this._willSettleAt(new wt(function(pe){return pe(vt)}),Ze)}else this._willSettleAt(xt(vt),Ze)},nt.prototype._settledAt=function(vt,Ze,wt){var xt=this.promise;xt._state===j&&(this._remaining--,vt===W?_e(xt,wt):this._result[Ze]=wt),this._remaining===0&&oe(xt,this._result)},nt.prototype._willSettleAt=function(vt,Ze){var wt=this;ee(vt,void 0,function(xt){return wt._settledAt(V,Ze,xt)},function(xt){return wt._settledAt(W,Ze,xt)})},nt}();function Ke(nt){return new Te(this,nt).promise}function Ie(nt){var Oe=this;return l(nt)?new Oe(function(vt,Ze){for(var wt=nt.length,xt=0;xt<wt;xt++)Oe.resolve(nt[xt]).then(vt,Ze)}):new Oe(function(vt,Ze){return Ze(new TypeError("You must pass an array to race."))})}function se(nt){var Oe=this,vt=new Oe(K);return _e(vt,nt),vt}function ye(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function xe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Ye=function(){function nt(Oe){this[k]=re(),this._result=this._state=void 0,this._subscribers=[],K!==Oe&&(typeof Oe!="function"&&ye(),this instanceof nt?Ee(this,Oe):xe())}return nt.prototype.catch=function(vt){return this.then(null,vt)},nt.prototype.finally=function(vt){var Ze=this,wt=Ze.constructor;return o(vt)?Ze.then(function(xt){return wt.resolve(vt()).then(function(){return xt})},function(xt){return wt.resolve(vt()).then(function(){throw xt})}):Ze.then(vt,vt)},nt}();Ye.prototype.then=M,Ye.all=Ke,Ye.race=Ie,Ye.resolve=U,Ye.reject=se,Ye._setScheduler=A,Ye._setAsap=v,Ye._asap=h;function pt(){var nt=void 0;if(typeof y!="undefined")nt=y;else if(typeof self!="undefined")nt=self;else try{nt=Function("return this")()}catch(Ze){throw new Error("polyfill failed because global object is unavailable in this environment")}var Oe=nt.Promise;if(Oe){var vt=null;try{vt=Object.prototype.toString.call(Oe.resolve())}catch(Ze){}if(vt==="[object Promise]"&&!Oe.cast)return}nt.Promise=Ye}return Ye.polyfill=pt,Ye.Promise=Ye,Ye})},html2canvas:function(n){"use strict";n.exports=m},jspdf:function(n){"use strict";n.exports=S}},f={};function d(a){var n=f[a];if(n!==void 0)return n.exports;var i=f[a]={exports:{}};return g[a].call(i.exports,i,i.exports,d),i.exports}!function(){d.n=function(a){var n=a&&a.__esModule?function(){return a.default}:function(){return a};return d.d(n,{a:n}),n}}(),!function(){d.d=function(a,n){for(var i in n)d.o(n,i)&&!d.o(a,i)&&Object.defineProperty(a,i,{enumerable:!0,get:n[i]})}}(),!function(){d.o=function(a,n){return Object.prototype.hasOwnProperty.call(a,n)}}(),!function(){d.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}}();var c={};return!function(){"use strict";/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/d.r(c);var a=d("./src/worker.js"),n=d("./src/plugin/jspdf-plugin.js"),i=d("./src/plugin/pagebreaks.js"),o=d("./src/plugin/hyperlinks.js"),r=function l(e,s){var u=new l.Worker(s);return e?u.from(e).save():u};r.Worker=a.default,c.default=r}(),c=c.default,c}()})}).call(this,t("yLpj"),t("Q2Ig"))},"1q3G":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(R,N,t){var y=t("MBQ8"),p=y.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,p.superApply(this,"getInitialData",arguments)}}),S=p;R.exports=S},"1u/T":function(R,N,t){var y=t("ProS"),p={type:"selectDataRange",event:"dataRangeSelected",update:"update"};y.registerAction(p,function(S,m){m.eachComponent({mainType:"visualMap",query:S},function(g){g.setSelected(S.selected)})})},"1vzs":function(R,N,t){"use strict";t.d(N,"a",function(){return e});var y=t("q1tI"),p=t.n(y),S=t("HQEm"),m=t.n(S),g=t("gZBC"),f=t.n(g),d=t("NAnI"),c=t.n(d),a=t("V/uB"),n=t.n(a),i=t("kbBi"),o=t.n(i),r=t("w6Tc"),l=t.n(r);function e(s){var u=s.suffixIcon,h=s.clearIcon,A=s.menuItemSelectedIcon,v=s.removeIcon,w=s.loading,b=s.multiple,E=s.prefixCls,T=h;h||(T=y.createElement(o.a,null));var _=null;if(u!==void 0)_=u;else if(w)_=y.createElement(f.a,{spin:!0});else{var x="".concat(E,"-suffix");_=function(F){var B=F.open,P=F.showSearch;return B&&P?y.createElement(l.a,{className:x}):y.createElement(m.a,{className:x})}}var C=null;A!==void 0?C=A:b?C=y.createElement(c.a,null):C=null;var I=null;return v!==void 0?I=v:I=y.createElement(n.a,null),{clearIcon:T,suffixIcon:_,itemIcon:C,removeIcon:I}}},"1xaR":function(R,N,t){var y=t("ProS"),p=t("bYtY");t("qgGe"),t("NA0q"),t("RPvy");var S=t("mOdp"),m=t("y3NT"),g=t("0/Rx");y.registerVisual(p.curry(S,"sunburst")),y.registerLayout(p.curry(m,"sunburst")),y.registerProcessor(p.curry(g,"sunburst"))},"24YM":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.SensorTabIndex=N.SensorClassName=N.SizeSensorId=void 0;var y="size-sensor-id";N.SizeSensorId=y;var p="size-sensor-object";N.SensorClassName=p;var S="-1";N.SensorTabIndex=S},"2548":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("6GrX"),m=t("IUWy"),g=t("IwbS"),f=t("Qxkt"),d=t("gPAo"),c=t("eRkO"),a=y.extendComponentView({type:"toolbox",render:function(i,o,r,l){var e=this.group;if(e.removeAll(),!i.get("show"))return;var s=+i.get("itemSize"),u=i.get("feature")||{},h=this._features||(this._features={}),A=[];p.each(u,function(b,E){A.push(E)}),new d(this._featureNames||[],A).add(v).update(v).remove(p.curry(v,null)).execute(),this._featureNames=A;function v(b,E){var T=A[b],_=A[E],x=u[T],C=new f(x,i,i.ecModel),I;if(l&&l.newTitle!=null&&l.featureName===T&&(x.title=l.newTitle),T&&!_){if(n(T))I={model:C,onclick:C.option.onclick,featureName:T};else{var L=m.get(T);if(!L)return;I=new L(C,o,r)}h[T]=I}else{if(I=h[_],!I)return;I.model=C,I.ecModel=o,I.api=r}if(!T&&_){I.dispose&&I.dispose(o,r);return}if(!C.get("show")||I.unusable){I.remove&&I.remove(o,r);return}w(C,I,T),C.setIconStatus=function(F,B){var P=this.option,H=this.iconPaths;P.iconStatus=P.iconStatus||{},P.iconStatus[F]=B,H[F]&&H[F].trigger(B)},I.render&&I.render(C,o,r,l)}function w(b,E,T){var _=b.getModel("iconStyle"),x=b.getModel("emphasis.iconStyle"),C=E.getIcons?E.getIcons():b.get("icon"),I=b.get("title")||{};if(typeof C=="string"){var L=C,F=I;C={},I={},C[T]=L,I[T]=F}var B=b.iconPaths={};p.each(C,function(P,H){var z=g.createIcon(P,{},{x:-s/2,y:-s/2,width:s,height:s});z.setStyle(_.getItemStyle()),z.hoverStyle=x.getItemStyle(),z.setStyle({text:I[H],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var M=i.getModel("tooltip");M&&M.get("show")&&z.attr("tooltip",p.extend({content:I[H],formatter:M.get("formatter",!0)||function(){return I[H]},formatterParams:{componentType:"toolbox",name:H,title:I[H],$vars:["name","title"]},position:M.get("position",!0)||"bottom"},M.option)),g.setHoverStyle(z),i.get("showTitle")&&(z.__title=I[H],z.on("mouseover",function(){var U=x.getItemStyle(),k=i.get("orient")==="vertical"?i.get("right")==null?"right":"left":i.get("bottom")==null?"bottom":"top";z.setStyle({textFill:x.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||k})}).on("mouseout",function(){z.setStyle({textFill:null,textBackgroundColor:null})})),z.trigger(b.get("iconStatus."+H)||"normal"),e.add(z),z.on("click",p.bind(E.onclick,E,o,r,H)),B[H]=z})}c.layout(e,i,r),e.add(c.makeBackground(e.getBoundingRect(),i)),e.eachChild(function(b){var E=b.__title,T=b.hoverStyle;if(T&&E){var _=S.getBoundingRect(E,S.makeFont(T)),x=b.position[0]+e.position[0],C=b.position[1]+e.position[1]+s,I=!1;C+_.height>r.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)<o}var l=[-1,-1,-1],e=[-1,-1];function s(){var E=e[0];e[0]=e[1],e[1]=E}function u(E,T,_,x,C,I,L,F,B,P){if(P>T&&P>x&&P>I&&P>F||P<T&&P<x&&P<I&&P<F)return 0;var H=c.cubicRootAt(T,x,I,F,P,l);if(H===0)return 0;for(var z=0,M=-1,U,k,K=0;K<H;K++){var j=l[K],V=j===0||j===1?.5:1,W=c.cubicAt(E,_,C,L,j);if(W<B)continue;M<0&&(M=c.cubicExtrema(T,x,I,F,e),e[1]<e[0]&&M>1&&s(),U=c.cubicAt(T,x,I,F,e[0]),M>1&&(k=c.cubicAt(T,x,I,F,e[1]))),M===2?j<e[0]?z+=U<T?V:-V:j<e[1]?z+=k<U?V:-V:z+=F<k?V:-V:j<e[0]?z+=U<T?V:-V:z+=F<U?V:-V}return z}function h(E,T,_,x,C,I,L,F){if(F>T&&F>x&&F>I||F<T&&F<x&&F<I)return 0;var B=c.quadraticRootAt(T,x,I,F,l);if(B===0)return 0;var P=c.quadraticExtremum(T,x,I);if(P>=0&&P<=1){for(var H=0,z=c.quadraticAt(T,x,I,P),M=0;M<B;M++){var U=l[M]===0||l[M]===1?.5:1,k=c.quadraticAt(E,_,C,l[M]);if(k<L)continue;l[M]<P?H+=z<T?U:-U:H+=I<z?U:-U}return H}else{var U=l[0]===0||l[0]===1?.5:1,k=c.quadraticAt(E,_,C,l[0]);return k<L?0:I<T?U:-U}}function A(E,T,_,x,C,I,L,F){if(F-=T,F>_||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&&k<Math.PI*1.5&&(H=-H),z+=H)}}return z}function v(E,T,_,x,C){for(var I=0,L=0,F=0,B=0,P=0,H=0;H<E.length;){var z=E[H++];z===n.M&&H>1&&(_||(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<T;F++){var B;if(!L)B="normal";else{B="active";for(var P=w.getValues(C,F),H=0,z=x.length;H<z;H++){var M=I[H].getActiveState(P[H]);if(M==="inactive"){B="inactive";break}}}b(B,F)}},hasAxisBrushed:function(){for(var w=this.dimensions,b=this._axesMap,E=!1,T=0,_=w.length;T<_;T++)b.get(w[T]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(w,b){var E=this._axesLayout[b];return f.applyTransform([w,0],E.transform)},getAxisLayout:function(w){return y.clone(this._axesLayout[w])},getSlidedAxisExpandWindow:function(w){var b=this._makeLayoutInfo(),E=b.pixelDimIndex,T=b.axisExpandWindow.slice(),_=T[1]-T[0],x=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(w))return{behavior:"none",axisExpandWindow:T};var C=w[E]-b.layoutBase-b.axisExpandWindow0Pos,I,L="slide",F=b.axisCollapseWidth,B=this._model.get("axisExpandSlideTriggerArea"),P=B[0]!=null;if(F)P&&F&&C<_*B[0]?(L="jump",I=C-_*B[2]):P&&F&&C>_*(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 w<C[0]?(I=w*x,B=x):w<=C[1]?(I=b.axisExpandWindow0Pos+w*T-b.axisExpandWindow[0],L=T,F=!0):(I=E-(_-1-w)*x,B=x),{position:I,axisNameAvailableWidth:L,axisLabelShow:F,nameTruncateMaxWidth:B}}var v=s;R.exports=v},"2fGM":function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("nkfE"),m=t("ICMv"),g=p.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});y.merge(g.prototype,m);var f={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function d(c,a){return a.type||(a.data?"category":"value")}S("angle",g,d,f.angle),S("radius",g,d,f.radius)},"2fM7":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("7W2i"),n=t.n(a),i=t("LQ03"),o=t.n(i),r=t("q1tI"),l=t("BGR+"),e=t("TSYQ"),s=t.n(e),u=t("1OyB"),h=t("vuIU"),A=t("Ji7U"),v=t("LK+K"),w=t("rePB"),b=t("Ff2n"),E=t("ODXe"),T=t("4IlW"),_=t("bX4T"),x=t("YrtM"),C=t("+nKL"),I=t("8OUc"),L=function(re,ce){var ke=re.prefixCls,Te=re.id,Ke=re.flattenOptions,Ie=re.childrenAsData,se=re.values,ye=re.searchValue,xe=re.multiple,Ye=re.defaultActiveFirstOption,pt=re.height,nt=re.itemHeight,Oe=re.notFoundContent,vt=re.open,Ze=re.menuItemSelectedIcon,wt=re.virtual,xt=re.onSelect,Ot=re.onToggleOpen,Mt=re.onActiveValue,Gt=re.onScroll,$e=re.onMouseEnter,pe="".concat(ke,"-item"),q=Object(x.a)(function(){return Ke},[vt,Ke],function(Lt,ot){return ot[0]&&Lt[1]!==ot[1]}),bt=r.useRef(null),qe=function(ot){ot.preventDefault()},le=function(ot){bt.current&&bt.current.scrollTo({index:ot})},Nt=function(ot){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,$t=q.length,Sr=0;Sr<$t;Sr+=1){var vr=(ot+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),Wt=lt[0],cr=lt[1],Vr=function(ot){cr(ot);var Xe=q[ot];if(!Xe){Mt(null,-1);return}Mt(Xe.data.value,ot)};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 ot=Array.from(se)[0],Xe=q.findIndex(function($t){var Sr=$t.data;return Sr.value===ot});Vr(Xe),le(Xe)}});return function(){return clearTimeout(Lt)}},[vt]);var ur=function(ot){ot!==void 0&&xt(ot,{selected:!se.has(ot)}),xe||Ot(!1)};if(r.useImperativeHandle(ce,function(){return{onKeyDown:function(ot){var Xe=ot.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(Wt+$t,$t);le(Sr),Vr(Sr)}break}case T.a.ENTER:{var vr=q[Wt];vr&&!vr.data.disabled?ur(vr.data.value):ur(void 0),vt&&ot.preventDefault();break}case T.a.ESC:Ot(!1)}},onKeyUp:function(){},scrollTo:function(ot){le(ot)}}}),q.length===0)return r.createElement("div",{role:"listbox",id:"".concat(Te,"_list"),className:"".concat(pe,"-empty"),onMouseDown:qe},Oe);function ir(Lt){var ot=q[Lt];if(!ot)return null;var Xe=ot.data||{},$t=Xe.value,Sr=Xe.label,vr=Xe.children,fr=Object(_.a)(Xe,!0),An=Ie?vr:Sr;return ot?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(Wt-1),ir(Wt),ir(Wt+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,ot){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),Vt="".concat(pe,"-option"),Ft=s()(pe,Vt,Le,(Xe={},Object(w.a)(Xe,"".concat(Vt,"-grouped"),Sr),Object(w.a)(Xe,"".concat(Vt,"-active"),Wt===ot&&!Zr),Object(w.a)(Xe,"".concat(Vt,"-disabled"),Zr),Object(w.a)(Xe,"".concat(Vt,"-selected"),rt),Xe)),zt=Ie?et:fr,Dr=!Ze||typeof Ze=="function"||rt;return r.createElement("div",Object.assign({},Ue,{"aria-selected":rt,className:Ft,title:Je,onMouseMove:function(){if(Wt===ot||Zr)return;Vr(ot)},onClick:function(){Zr||ur(Ln)},style:be}),r.createElement("div",{className:"".concat(Vt,"-content")},zt||Ln),r.isValidElement(Ze)||rt,Dr&&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,Wt=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,ot=Ze||ir,Xe=s()(vt,(Lt={},p()(Lt,"".concat(q,"-lg"),ot==="large"),p()(Lt,"".concat(q,"-sm"),ot==="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:Wt,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<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){y(this,g),this._lines=0}return S(g,[{key:"decodeRect",value:function(d,c,a,n,i,o,r){this._lines===0&&(this._lines=n);var l=r==8?1:4,e=a*l;if(i.rQwait("RAW",e))return!1;var s=c+(n-this._lines),u=Math.min(this._lines,Math.floor(i.rQlen/e)),h=i.rQ,A=i.rQi;if(r==8){for(var v=a*u,w=new Uint8Array(v*4),b=0;b<v;b++)w[b*4+0]=(h[A+b]>>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;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function d(a,n,i){return n&&f(a.prototype,n),i&&f(a,i),a}var c=function(){function a(){g(this,a),this._tiles=0,this._lastsubencoding=0}return d(a,[{key:"decodeRect",value:function(i,o,r,l,e,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){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<F;B++){var P=void 0;w&16?(P=[A[v],A[v+1],A[v+2],A[v+3]],v+=4):P=this._foreground;var H=A[v];v++;var z=H>>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<B;H++){var z=I[H],M=u(z),U=E(z)||b(z);z.invisible||(z.__dirty&&(M&&M.brush(z),this.clipPathManager.update(z),z.style&&(this.gradientManager.update(z.style.fill),this.gradientManager.update(z.style.stroke),this.shadowManager.update(U,z)),z.__dirty=!1),P.push(z))}var k=c(F,P),K;for(H=0;H<k.length;H++){var j=k[H];if(j.removed)for(var V=0;V<j.count;V++){var z=F[j.indices[V]],U=E(z),W=b(z);w(L,U),w(L,W)}}for(H=0;H<k.length;H++){var j=k[H];if(j.added)for(var V=0;V<j.count;V++){var z=P[j.indices[V]],U=E(z),W=b(z);K?A(L,U,K):v(L,U),U?A(L,W,U):K?A(L,W,K):v(L,W),A(L,W,U),K=W||U||K,this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z)}else if(!j.removed)for(var V=0;V<j.count;V++){var z=P[j.indices[V]],U=E(z),W=b(z),U=E(z),W=b(z);this.gradientManager.markUsed(z),this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.markUsed(z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z),W&&A(L,W,U),K=U||W||K}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=P},_getDefs:function(I){var L=this._svgDom,F=L.getElementsByTagName("defs");if(F.length===0)if(I){var F=L.insertBefore(p("defs"),L.firstChild);return F.contains||(F.contains=function(P){var H=F.children;if(!H)return!1;for(var z=H.length-1;z>=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(/></g,`>
|
|
|
\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<e.length;s++)r.moveTo(e[s][0],e[s][1]),s++,r.lineTo(e[s][0],e[s][1])}});function a(r,l,e,s,u){var h=r.ends,A=new c({shape:{points:u?i(h,s,r):h}});return n(r,A,l,e,u),A}function n(r,l,e,s,u){var h=e.hostModel,A=S[u?"initProps":"updateProps"];A(l,{shape:{points:r.ends}},h,s);var v=e.getItemModel(s),w=v.getModel(g),b=e.getItemVisual(s,"color"),E=w.getItemStyle(["borderColor"]);E.stroke=b,E.strokeNoScale=!0,l.useStyle(E),l.z2=100;var T=v.getModel(f).getItemStyle();S.setHoverStyle(l,T)}function i(r,l,e){return y.map(r,function(s){return s=s.slice(),s[l]=e.initBaseline,s})}var o=d;R.exports=o},"3S7+":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("J4zp"),m=t.n(S),g=t("pVnL"),f=t.n(g),d=t("q1tI"),c=t("U8pU"),a=t("VTBJ"),n=t("Ff2n"),i=t("uciX"),o={adjustX:1,adjustY:1},r=[0,0],l={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:r}},e=l,s=function(k){var K=k.overlay,j=k.prefixCls,V=k.id,W=k.overlayInnerStyle;return d.createElement("div",{className:"".concat(j,"-inner"),id:V,role:"tooltip",style:W},typeof K=="function"?K():K)},u=s,h=function(k,K){var j=k.overlayClassName,V=k.trigger,W=V===void 0?["hover"]:V,X=k.mouseEnterDelay,J=X===void 0?0:X,de=k.mouseLeaveDelay,G=de===void 0?.1:de,ae=k.overlayStyle,Ae=k.prefixCls,me=Ae===void 0?"rc-tooltip":Ae,Me=k.children,oe=k.onVisibleChange,_e=k.afterVisibleChange,ee=k.transitionName,ne=k.animation,Ge=k.placement,Ee=Ge===void 0?"right":Ge,ue=k.align,re=ue===void 0?{}:ue,ce=k.destroyTooltipOnHide,ke=ce===void 0?!1:ce,Te=k.defaultVisible,Ke=k.getTooltipContainer,Ie=k.overlayInnerStyle,se=Object(n.a)(k,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),ye=Object(d.useRef)(null);Object(d.useImperativeHandle)(K,function(){return ye.current});var xe=Object(a.a)({},se);"visible"in k&&(xe.popupVisible=k.visible);var Ye=function(){var Ze=k.arrowContent,wt=Ze===void 0?null:Ze,xt=k.overlay,Ot=k.id;return[d.createElement("div",{className:"".concat(me,"-arrow"),key:"arrow"},wt),d.createElement(u,{key:"content",prefixCls:me,id:Ot,overlay:xt,overlayInnerStyle:Ie})]},pt=!1,nt=!1;if(typeof ke=="boolean")pt=ke;else if(ke&&Object(c.a)(ke)==="object"){var Oe=ke.keepParent;pt=Oe===!0,nt=Oe===!1}return d.createElement(i.a,Object.assign({popupClassName:j,prefixCls:me,popup:Ye,action:W,builtinPlacements:l,popupPlacement:Ee,ref:ye,popupAlign:re,getPopupContainer:Ke,onPopupVisibleChange:oe,afterPopupVisibleChange:_e,popupTransitionName:ee,popupAnimation:ne,defaultPopupVisible:Te,destroyPopupOnHide:pt,autoDestroy:nt,mouseLeaveDelay:G,popupStyle:ae,mouseEnterDelay:J},xe),Me)},A=Object(d.forwardRef)(h),v=A,w=t("TSYQ"),b=t.n(w),E={adjustX:1,adjustY:1},T={adjustX:0,adjustY:0},_=[0,0];function x(U){return typeof U=="boolean"?U?E:T:f()(f()({},T),U)}function C(U){var k=U.arrowWidth,K=k===void 0?5:k,j=U.horizontalArrowShift,V=j===void 0?16:j,W=U.verticalArrowShift,X=W===void 0?8:W,J=U.autoAdjustOverflow,de={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(V+K),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(X+K)]},topRight:{points:["br","tc"],offset:[V+K,-4]},rightTop:{points:["tl","cr"],offset:[4,-(X+K)]},bottomRight:{points:["tr","bc"],offset:[V+K,4]},rightBottom:{points:["bl","cr"],offset:[4,X+K]},bottomLeft:{points:["tl","bc"],offset:[-(V+K),4]},leftBottom:{points:["br","cl"],offset:[-4,X+K]}};return Object.keys(de).forEach(function(G){de[G]=U.arrowPointAtCenter?f()(f()({},de[G]),{overflow:x(J),targetOffset:_}):f()(f()({},l[G]),{overflow:x(J)}),de[G].ignoreShake=!0}),de}var I=t("0n0R"),L=t("H84U"),F=t("09Wf"),B=function(k,K){var j={},V=f()({},k);return K.forEach(function(W){k&&W in k&&(j[W]=k[W],delete V[W])}),{picked:j,omitted:V}},P=new RegExp("^(".concat(F.a.join("|"),")(-inverse)?$"));function H(U,k){var K=U.type;if((K.__ANT_BUTTON===!0||K.__ANT_SWITCH===!0||K.__ANT_CHECKBOX===!0||U.type==="button")&&U.props.disabled){var j=B(U.props.style,["position","left","right","top","bottom","float","display","zIndex"]),V=j.picked,W=j.omitted,X=f()(f()({display:"inline-block"},V),{cursor:"not-allowed",width:U.props.block?"100%":null}),J=f()(f()({},W),{pointerEvents:"none"}),de=Object(I.a)(U,{style:J,className:null});return d.createElement("span",{style:X,className:b()(U.props.className,"".concat(k,"-disabled-compatible-wrapper"))},de)}return U}var z=d.forwardRef(function(U,k){var K,j=d.useContext(L.b),V=j.getPopupContainer,W=j.getPrefixCls,X=j.direction,J=d.useState(!!U.visible||!!U.defaultVisible),de=m()(J,2),G=de[0],ae=de[1];d.useEffect(function(){"visible"in U&&ae(U.visible)},[U.visible]);var Ae=function(){var Oe=U.title,vt=U.overlay;return!Oe&&!vt&&Oe!==0},me=function(Oe){"visible"in U||ae(Ae()?!1:Oe),U.onVisibleChange&&!Ae()&&U.onVisibleChange(Oe)},Me=function(){var Oe=U.builtinPlacements,vt=U.arrowPointAtCenter,Ze=U.autoAdjustOverflow;return Oe||C({arrowPointAtCenter:vt,autoAdjustOverflow:Ze})},oe=function(Oe,vt){var Ze=Me(),wt=Object.keys(Ze).filter(function(Mt){return Ze[Mt].points[0]===vt.points[0]&&Ze[Mt].points[1]===vt.points[1]})[0];if(!wt)return;var xt=Oe.getBoundingClientRect(),Ot={top:"50%",left:"50%"};wt.indexOf("top")>=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;l<e;l++)if(o[l][0]<=i&&i<=o[l][1])return"active";return"inactive"}}),c={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};y.merge(d.prototype,f);function a(i,o){return o.type||(o.data?"category":"value")}m("parallel",d,a,c);var n=d;R.exports=n},"4Feb":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("IwbS"),g=t("x3X8"),f=g.getDefaultLabel,d=t("MwEJ"),c=t("nVfU"),a=c.getLayoutOnAxis,n=t("gPAo"),i=t("T4UG"),o=t("Qxkt"),r=t("6Ic6"),l=t("sK/D"),e=l.createClipPath,s=t("qj72"),u=t("ANjR"),h=t("MHtr"),A=t("6usn"),v=t("Rx6q"),w=m.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],E=["emphasis","itemStyle"],T=["label"],_=["emphasis","label"],x="e\0\0",C={cartesian2d:s,geo:u,singleAxis:h,polar:A,calendar:v};i.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(G,ae){return d(this.getSource(),this)},getDataParams:function(G,ae,Ae){var me=i.prototype.getDataParams.apply(this,arguments);return Ae&&(me.info=Ae.info),me}}),r.extend({type:"custom",_data:null,render:function(G,ae,Ae,me){var Me=this._data,oe=G.getData(),_e=this.group,ee=B(G,oe,ae,Ae);oe.diff(Me).add(function(Ge){H(null,Ge,ee(Ge,me),G,_e,oe)}).update(function(Ge,Ee){var ue=Me.getItemGraphicEl(Ee);H(ue,Ge,ee(Ge,me),G,_e,oe)}).remove(function(Ge){var Ee=Me.getItemGraphicEl(Ge);Ee&&_e.remove(Ee)}).execute();var ne=G.get("clip",!0)?e(G.coordinateSystem,!1,G):null;ne?_e.setClipPath(ne):_e.removeClipPath(),this._data=oe},incrementalPrepareRender:function(G,ae,Ae){this.group.removeAll(),this._data=null},incrementalRender:function(G,ae,Ae,me,Me){var oe=ae.getData(),_e=B(ae,oe,Ae,me);function ee(Ee){Ee.isGroup||(Ee.incremental=!0,Ee.useHoverLayer=!0)}for(var ne=G.start;ne<G.end;ne++){var Ge=H(null,ne,_e(ne,Me),ae,this.group,oe);Ge.traverse(ee)}},dispose:S.noop,filterForExposedEvent:function(G,ae,Ae,me){var Me=ae.element;if(Me==null||Ae.name===Me)return!0;for(;(Ae=Ae.parent)&&Ae!==this.group;)if(Ae.name===Me)return!0;return!1}});function I(G){var ae=G.type,Ae;if(ae==="path"){var me=G.shape,Me=me.width!=null&&me.height!=null?{x:me.x||0,y:me.y||0,width:me.width,height:me.height}:null,oe=X(me);Ae=m.makePath(oe,null,Me,me.layout||"center"),Ae.__customPathData=oe}else if(ae==="image")Ae=new m.Image({}),Ae.__customImagePath=G.style.image;else if(ae==="text")Ae=new m.Text({}),Ae.__customText=G.style.text;else if(ae==="group")Ae=new m.Group;else{if(ae==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var _e=m.getShapeClass(ae);Ae=new _e}return Ae.__customGraphicType=ae,Ae.name=G.name,Ae}function L(G,ae,Ae,me,Me,oe,_e){var ee={},ne=Ae.style||{};if(Ae.shape&&(ee.shape=S.clone(Ae.shape)),Ae.position&&(ee.position=Ae.position.slice()),Ae.scale&&(ee.scale=Ae.scale.slice()),Ae.origin&&(ee.origin=Ae.origin.slice()),Ae.rotation&&(ee.rotation=Ae.rotation),G.type==="image"&&Ae.style){var Ge=ee.style={};S.each(["x","y","width","height"],function(re){F(re,Ge,ne,G.style,oe)})}if(G.type==="text"&&Ae.style){var Ge=ee.style={};S.each(["x","y"],function(ce){F(ce,Ge,ne,G.style,oe)}),!ne.hasOwnProperty("textFill")&&ne.fill&&(ne.textFill=ne.fill),!ne.hasOwnProperty("textStroke")&&ne.stroke&&(ne.textStroke=ne.stroke)}if(G.type!=="group"&&(G.useStyle(ne),oe)){G.style.opacity=0;var Ee=ne.opacity;Ee==null&&(Ee=1),m.initProps(G,{style:{opacity:Ee}},me,ae)}oe?G.attr(ee):m.updateProps(G,ee,me,ae),Ae.hasOwnProperty("z2")&&G.attr("z2",Ae.z2||0),Ae.hasOwnProperty("silent")&&G.attr("silent",Ae.silent),Ae.hasOwnProperty("invisible")&&G.attr("invisible",Ae.invisible),Ae.hasOwnProperty("ignore")&&G.attr("ignore",Ae.ignore),Ae.hasOwnProperty("info")&&G.attr("info",Ae.info);var ue=Ae.styleEmphasis;m.setElementHoverStyle(G,ue),_e&&m.setAsHighDownDispatcher(G,ue!==!1)}function F(G,ae,Ae,me,Me){Ae[G]!=null&&!Me&&(ae[G]=Ae[G],Ae[G]=me[G])}function B(G,ae,Ae,me){var Me=G.get("renderItem"),oe=G.coordinateSystem,_e={};oe&&(_e=oe.prepareCustoms?oe.prepareCustoms():C[oe.type](oe));var ee=S.defaults({getWidth:me.getWidth,getHeight:me.getHeight,getZr:me.getZr,getDevicePixelRatio:me.getDevicePixelRatio,value:Ke,style:Ie,styleEmphasis:se,visual:ye,barLayout:xe,currentSeriesIndices:Ye,font:pt},_e.api||{}),ne={context:{},seriesId:G.id,seriesName:G.name,seriesIndex:G.seriesIndex,coordSys:_e.coordSys,dataInsideLength:ae.count(),encode:P(G.getData())},Ge,Ee=!0,ue,re,ce,ke;return function(nt,Oe){return Ge=nt,Ee=!0,Me&&Me(S.defaults({dataIndexInside:nt,dataIndex:ae.getRawIndex(nt),actionType:Oe?Oe.type:null},ne),ee)};function Te(nt){nt==null&&(nt=Ge),Ee&&(ue=ae.getItemModel(nt),re=ue.getModel(T),ce=ue.getModel(_),ke=ae.getItemVisual(nt,"color"),Ee=!1)}function Ke(nt,Oe){return Oe==null&&(Oe=Ge),ae.get(ae.getDimension(nt||0),Oe)}function Ie(nt,Oe){Oe==null&&(Oe=Ge),Te(Oe);var vt=ue.getModel(b).getItemStyle();ke!=null&&(vt.fill=ke);var Ze=ae.getItemVisual(Oe,"opacity");Ze!=null&&(vt.opacity=Ze);var wt=nt?j(nt,re):re;return m.setTextStyle(vt,wt,null,{autoColor:ke,isRectText:!0}),vt.text=wt.getShallow("show")?S.retrieve2(G.getFormattedLabel(Oe,"normal"),f(ae,Oe)):null,nt&&V(vt,nt),vt}function se(nt,Oe){Oe==null&&(Oe=Ge),Te(Oe);var vt=ue.getModel(E).getItemStyle(),Ze=nt?j(nt,ce):ce;return m.setTextStyle(vt,Ze,null,{isRectText:!0},!0),vt.text=Ze.getShallow("show")?S.retrieve3(G.getFormattedLabel(Oe,"emphasis"),G.getFormattedLabel(Oe,"normal"),f(ae,Oe)):null,nt&&V(vt,nt),vt}function ye(nt,Oe){return Oe==null&&(Oe=Ge),ae.getItemVisual(Oe,nt)}function xe(nt){if(oe.getBaseAxis){var Oe=oe.getBaseAxis();return a(S.defaults({axis:Oe},nt),me)}}function Ye(){return Ae.getCurrentSeriesIndices()}function pt(nt){return m.getFont(nt,Ae)}}function P(G){var ae={};return S.each(G.dimensions,function(Ae,me){var Me=G.getDimensionInfo(Ae);if(!Me.isExtraCoord){var oe=Me.coordDim,_e=ae[oe]=ae[oe]||[];_e[Me.coordDimIndex]=me}}),ae}function H(G,ae,Ae,me,Me,oe){return G=z(G,ae,Ae,me,Me,oe,!0),G&&oe.setItemGraphicEl(ae,G),G}function z(G,ae,Ae,me,Me,oe,_e){var ee=!Ae;Ae=Ae||{};var ne=Ae.type,Ge=Ae.shape,Ee=Ae.style;if(G&&(ee||ne!=null&&ne!==G.__customGraphicType||ne==="path"&&J(Ge)&&X(Ge)!==G.__customPathData||ne==="image"&&de(Ee,"image")&&Ee.image!==G.__customImagePath||ne==="text"&&de(Ge,"text")&&Ee.text!==G.__customText)&&(Me.remove(G),G=null),ee)return;var ue=!G;return!G&&(G=I(Ae)),L(G,ae,Ae,me,oe,ue,_e),ne==="group"&&M(G,ae,Ae,me,oe),Me.add(G),G}function M(G,ae,Ae,me,Me){var oe=Ae.children,_e=oe?oe.length:0,ee=Ae.$mergeChildren,ne=ee==="byName"||Ae.diffChildrenByName,Ge=ee===!1;if(!_e&&!ne&&!Ge)return;if(ne){U({oldChildren:G.children()||[],newChildren:oe||[],dataIndex:ae,animatableModel:me,group:G,data:Me});return}Ge&&G.removeAll();for(var Ee=0;Ee<_e;Ee++)oe[Ee]&&z(G.childAt(Ee),ae,oe[Ee],me,G,Me)}function U(G){new n(G.oldChildren,G.newChildren,k,k,G).add(K).update(K).remove(W).execute()}function k(G,ae){var Ae=G&&G.name;return Ae!=null?Ae:x+ae}function K(G,ae){var Ae=this.context,me=G!=null?Ae.newChildren[G]:null,Me=ae!=null?Ae.oldChildren[ae]:null;z(Me,Ae.dataIndex,me,Ae.animatableModel,Ae.group,Ae.data)}function j(G,ae){var Ae=new o({},ae);return S.each(w,function(me,Me){G.hasOwnProperty(me)&&(Ae.option[Me]=G[me])}),Ae}function V(G,ae){for(var Ae in ae)(ae.hasOwnProperty(Ae)||!w.hasOwnProperty(Ae))&&(G[Ae]=ae[Ae])}function W(G){var ae=this.context,Ae=ae.oldChildren[G];Ae&&ae.group.remove(Ae)}function X(G){return G&&(G.pathData||G.d)}function J(G){return G&&(G.hasOwnProperty("pathData")||G.hasOwnProperty("d"))}function de(G,ae){return G&&G.hasOwnProperty(ae)}},"4HMb":function(R,N,t){var y=t("bYtY"),p=t("6GrX"),S=t("4NO4"),m=S.makeInner,g=t("aX7z"),f=g.makeLabelFormatter,d=g.getOptionCategoryInterval,c=g.shouldShowAllLabels,a=m();function n(T){return T.type==="category"?o(T):e(T)}function i(T,_){return T.type==="category"?l(T,_):{ticks:T.scale.getTicks()}}function o(T){var _=T.getLabelModel(),x=r(T,_);return!_.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function r(T,_){var x=s(T,"labels"),C=d(_),I=u(x,C);if(I)return I;var L,F;return y.isFunction(C)?L=E(T,C):(F=C==="auto"?A(T):C,L=b(T,F)),h(x,C,{labels:L,labelCategoryInterval:F})}function l(T,_){var x=s(T,"ticks"),C=d(_),I=u(x,C);if(I)return I;var L,F;if((!_.get("show")||T.scale.isBlank())&&(L=[]),y.isFunction(C))L=E(T,C,!0);else if(C==="auto"){var B=r(T,T.getLabelModel());F=B.labelCategoryInterval,L=y.map(B.labels,function(P){return P.tickValue})}else F=C,L=b(T,F,!0);return h(x,C,{ticks:L,tickCategoryInterval:F})}function e(T){var _=T.scale.getTicks(),x=f(T);return{labels:y.map(_,function(C,I){return{formattedLabel:x(C,I),rawLabel:T.scale.getLabel(C),tickValue:C}})}}function s(T,_){return a(T)[_]||(a(T)[_]=[])}function u(T,_){for(var x=0;x<T.length;x++)if(T[x].key===_)return T[x].value}function h(T,_,x){return T.push({key:_,value:x}),x}function A(T){var _=a(T).autoInterval;return _!=null?_:a(T).autoInterval=T.calculateCategoryInterval()}function v(T){var _=w(T),x=f(T),C=(_.axisRotate-_.labelRotate)/180*Math.PI,I=T.scale,L=I.getExtent(),F=I.count();if(L[1]-L[0]<1)return 0;var B=1;F>40&&(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<F;L++){var B=I[L];!x.emphasis[C].hasOwnProperty(B)&&x[C].hasOwnProperty(B)&&(x.emphasis[C][B]=x[C][B])}}}var a=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function n(x){return m(x)&&!g(x)&&!(x instanceof Date)?x.value:x}function i(x){return m(x)&&!(x instanceof Array)}function o(x,C){C=(C||[]).slice();var I=y.map(x||[],function(L,F){return{exist:L}});return S(C,function(L,F){if(!m(L))return;for(var B=0;B<I.length;B++)if(!I[B].option&&L.id!=null&&I[B].exist.id===L.id+""){I[B].option=L,C[F]=null;return}for(var B=0;B<I.length;B++){var P=I[B].exist;if(!I[B].option&&(P.id==null||L.id==null)&&L.name!=null&&!e(L)&&!e(P)&&P.name===L.name+""){I[B].option=L,C[F]=null;return}}}),S(C,function(L,F){if(!m(L))return;for(var B=0;B<I.length;B++){var P=I[B].exist;if(!I[B].option&&!e(P)&&L.id==null){I[B].option=L;break}}B>=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<U;M++)for(var k=P[M].seriesId,K=d(P[M].dataIndex),j=z&&z[k],V=0,W=K.length;V<W;V++){var X=K[V];j&&j[X]?j[X]=null:(H[k]||(H[k]={}))[X]=1}}function B(P,H){var z=[];for(var M in P)if(P.hasOwnProperty(M)&&P[M]!=null)if(H)z.push(+M);else{var U=B(P[M],!0);U.length&&z.push({seriesId:M,dataIndex:U})}return z}}function u(x,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return y.isArray(C.dataIndex)?y.map(C.dataIndex,function(I){return x.indexOfRawIndex(I)}):x.indexOfRawIndex(C.dataIndex);if(C.name!=null)return y.isArray(C.name)?y.map(C.name,function(I){return x.indexOfName(I)}):x.indexOfName(C.name)}function h(){var x="__\0ec_inner_"+A+++"_"+Math.random().toFixed(5);return function(C){return C[x]||(C[x]={})}}var A=0;function v(x,C,I){if(y.isString(C)){var L={};L[C+"Index"]=0,C=L}var F=I&&I.defaultMainType;F&&!w(C,F+"Index")&&!w(C,F+"Id")&&!w(C,F+"Name")&&(C[F+"Index"]=0);var B={};return S(C,function(P,H){var P=C[H];if(H==="dataIndex"||H==="dataIndexInside"){B[H]=P;return}var z=H.match(/^(\w+)(Index|Id|Name)$/)||[],M=z[1],U=(z[2]||"").toLowerCase();if(!M||!U||P==null||U==="index"&&P==="none"||I&&I.includeMainTypes&&y.indexOf(I.includeMainTypes,M)<0)return;var k={mainType:M};(U!=="index"||P!=="all")&&(k[U]=P);var K=x.queryComponents(k);B[M+"Models"]=K,B[M+"Model"]=K[0]}),B}function w(x,C){return x&&x.hasOwnProperty(C)}function b(x,C,I){x.setAttribute?x.setAttribute(C,I):x[C]=I}function E(x,C){return x.getAttribute?x.getAttribute(C):x[C]}function T(x){return x==="auto"?p.domSupported?"html":"richText":x||"html"}function _(x,C){var I=y.createHashMap(),L=[];return y.each(x,function(F){var B=C(F);(I.get(B)||(L.push(B),I.set(B,[]))).push(F)}),{keys:L,buckets:I}}N.normalizeToArray=d,N.defaultEmphasis=c,N.TEXT_STYLE_OPTIONS=a,N.getDataItemValue=n,N.isDataItemOption=i,N.mappingToExists=o,N.makeIdAndName=r,N.isNameSpecified=l,N.isIdInner=e,N.compressBatches=s,N.queryDataIndex=u,N.makeInner=h,N.parseFinder=v,N.setAttribute=b,N.getAttribute=E,N.getTooltipRenderMode=T,N.groupData=_},"4NgU":function(R,N,t){var y=t("Yl7c");function p(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}p.prototype.parse=function(m){return m},p.prototype.getSetting=function(m){return this._setting[m]},p.prototype.contain=function(m){var g=this._extent;return 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[0]&&(g[0]=m[0]),m[1]>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<c.length;a++)if(c[a].name===d)return c[a]},childCount:function(){return this._children.length},add:function(d){return d&&d!==this&&d.parent!==this&&(this._children.push(d),this._doAdd(d)),this},addBefore:function(d,c){if(d&&d!==this&&d.parent!==this&&c&&c.parent===this){var a=this._children,n=a.indexOf(c);n>=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;n<d.length;n++)a=d[n],c&&(c.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(c)),a.parent=null;return d.length=0,this},eachChild:function(d,c){for(var a=this._children,n=0;n<a.length;n++){var i=a[n];d.call(c,i,n)}return this},traverse:function(d,c){for(var a=0;a<this._children.length;a++){var n=this._children[a];d.call(c,n),n.type==="group"&&n.traverse(d,c)}return this},addChildrenToStorage:function(d){for(var c=0;c<this._children.length;c++){var a=this._children[c];d.addToStorage(a),a instanceof m&&a.addChildrenToStorage(d)}},delChildrenFromStorage:function(d){for(var c=0;c<this._children.length;c++){var a=this._children[c];d.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(d)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(d){for(var c=null,a=new S(0,0,0,0),n=d||this._children,i=[],o=0;o<n.length;o++){var r=n[o];if(r.ignore||r.invisible)continue;var l=r.getBoundingRect(),e=r.getLocalTransform(i);e?(a.copy(l),a.applyTransform(e),c=c||a.clone(),c.union(a)):(c=c||l.clone(),c.union(l))}return c||a}},y.inherits(m,p);var g=m;R.exports=g},"4i/N":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:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",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="CloseOutlined";var d=N.a=p.forwardRef(f)},"4mN7":function(R,N,t){var y=t("QBsz"),p=t("Sj9i"),S=Math.min,m=Math.max,g=Math.sin,f=Math.cos,d=Math.PI*2,c=y.create(),a=y.create(),n=y.create();function i(h,A,v){if(h.length===0)return;var w=h[0],b=w[0],E=w[0],T=w[1],_=w[1],x;for(x=1;x<h.length;x++)w=h[x],b=S(b,w[0]),E=m(E,w[0]),T=S(T,w[1]),_=m(_,w[1]);A[0]=b,A[1]=T,v[0]=E,v[1]=_}function o(h,A,v,w,b,E){b[0]=S(h,v),b[1]=S(A,w),E[0]=m(h,v),E[1]=m(A,w)}var r=[],l=[];function e(h,A,v,w,b,E,T,_,x,C){var I=p.cubicExtrema,L=p.cubicAt,F,B=I(h,v,b,T,r);for(x[0]=Infinity,x[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,F=0;F<B;F++){var P=L(h,v,b,T,r[F]);x[0]=S(P,x[0]),C[0]=m(P,C[0])}for(B=I(A,w,E,_,l),F=0;F<B;F++){var H=L(A,w,E,_,l[F]);x[1]=S(H,x[1]),C[1]=m(H,C[1])}x[0]=S(h,x[0]),C[0]=m(h,C[0]),x[0]=S(T,x[0]),C[0]=m(T,C[0]),x[1]=S(A,x[1]),C[1]=m(A,C[1]),x[1]=S(_,x[1]),C[1]=m(_,C[1])}function s(h,A,v,w,b,E,T,_){var x=p.quadraticExtremum,C=p.quadraticAt,I=m(S(x(h,v,b),1),0),L=m(S(x(A,w,E),1),0),F=C(h,v,b,I),B=C(A,w,E,L);T[0]=S(h,b,F),T[1]=S(A,E,B),_[0]=m(h,b,F),_[1]=m(A,E,B)}function u(h,A,v,w,b,E,T,_,x){var C=y.min,I=y.max,L=Math.abs(b-E);if(L%d<1e-4&&L>1e-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:b<E&&T&&(b+=d),T){var F=E;E=b,b=F}for(var B=0;B<E;B+=Math.PI/2)B>b&&(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||r<m-l&&r<f-l&&r<c-l&&r<n-l||o>S+l&&o>g+l&&o>d+l&&o>a+l||o<S-l&&o<g-l&&o<d-l&&o<a-l)return!1;var e=y.cubicProjectPoint(S,m,g,f,d,c,a,n,o,r,null);return e<=l/2}N.containStroke=p},"5Dmo":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("5YgA"),m=t.n(S)},"5GOC":function(R,N,t){"use strict";var y=t("cIOH"),p=t("b56q"),S=t("15/o")},"5GhG":function(R,N,t){var y=t("5GtS"),p=t("bYtY"),S=t("L0Ub"),m=S.getDimensionTypeByAxis,g=t("D5nY"),f=g.makeSeriesEncodeForAxisCoordSys,d={_baseAxisDim:null,getInitialData:function(c,a){var n,i=a.getComponent("xAxis",this.get("xAxisIndex")),o=a.getComponent("yAxis",this.get("yAxisIndex")),r=i.get("type"),l=o.get("type"),e;r==="category"?(c.layout="horizontal",n=i.getOrdinalMeta(),e=!0):l==="category"?(c.layout="vertical",n=o.getOrdinalMeta(),e=!0):c.layout=c.layout||"horizontal";var s=["x","y"],u=c.layout==="horizontal"?0:1,h=this._baseAxisDim=s[u],A=s[1-u],v=[i,o],w=v[u].get("type"),b=v[1-u].get("type"),E=c.data;if(E&&e){var T=[];p.each(E,function(C,I){var L;C.value&&p.isArray(C.value)?(L=C.value.slice(),C.value.unshift(I)):p.isArray(C)?(L=C.slice(),C.unshift(I)):L=C,T.push(L)}),c.data=T}var _=this.defaultValueDimensions,x=[{name:h,type:m(w),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:m(b),dimsDef:_.slice()}];return y(this,{coordDimensions:x,dimensionsCount:_.length+1,encodeDefaulter:p.curry(f,x,this)})},getBaseAxis:function(){var c=this._baseAxisDim;return this.ecModel.getComponent(c+"Axis",this.get(c+"AxisIndex")).axis}};N.seriesModelMixin=d},"5GtS":function(R,N,t){var y=t("sdST"),p=t("YXkt"),S=t("bYtY"),m=S.extend,g=S.isArray;function f(d,c,a){c=g(c)&&{coordDimensions:c}||m({},c);var n=d.getSource(),i=y(n,c),o=new p(i,d);return o.initData(n,a),o}R.exports=f},"5Hur":function(R,N,t){var y=t("4NO4"),p=y.makeInner,S=y.normalizeToArray,m=p();function g(d,c){for(var a=d.length,n=0;n<a;n++)if(d[n].length>c)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,Wt){if(!lt)return!0;var cr=lt.data,Vr=cr.disabled,ur=cr.disableCheckbox;switch(Wt){case"select":return Vr;case"checkbox":return Vr||ur}return!1}function z(lt,Wt){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,ot=lt.get(ur);return!Lt&&H(ot,ir)?null:ot},[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,ot=Wt.get(ur);return!Lt&&H(ot,ir)?null:ot},[Wt]);return[cr,Vr]}function M(lt){return r.useMemo(function(){var Wt=new Map,cr=new Map;return lt.forEach(function(Vr){Wt.set(Vr.key,Vr),cr.set(Vr.data.value,Vr)}),[Wt,cr]},[lt])}var U={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(Wt,cr){var Vr=Wt.prefixCls,ur=Wt.height,ir=Wt.itemHeight,Lt=Wt.virtual,ot=Wt.options,Xe=Wt.flattenOptions,$t=Wt.multiple,Sr=Wt.searchValue,vr=Wt.onSelect,fr=Wt.onToggleOpen,An=Wt.open,Zr=Wt.notFoundContent,Ln=Wt.onMouseEnter,Je=r.useContext(P),et=Je.checkable,be=Je.checkedKeys,Le=Je.halfCheckedKeys,Ue=Je.treeExpandedKeys,rt=Je.treeDefaultExpandAll,Vt=Je.treeDefaultExpandedKeys,Ft=Je.onTreeExpand,zt=Je.treeIcon,Dr=Je.showTreeIcon,Pr=Je.switcherIcon,un=Je.treeLine,Ht=Je.treeNodeFilterProp,dt=Je.loadData,at=Je.treeLoadedKeys,Qt=Je.treeMotion,Jt=Je.onTreeLoad,gt=r.useRef(),Bt=Object(F.a)(function(){return ot},[An,ot],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),Gr=Object(v.a)(lr,2),Jr=Gr[0],Tn=Gr[1],Nn=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:Nn,halfChecked:Le}:null},[Nn,Le,et]);r.useEffect(function(){if(An&&!$t&&Nn.length){var Br;(Br=gt.current)===null||Br===void 0||Br.scrollTo({key:Nn[0]})}},[An]);var qn=String(Sr).toLowerCase(),vi=function(yr){return qn?String(yr[Ht]).toLowerCase().includes(qn):!1},Ri=r.useState(Vt),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 st=function(yr){Re(yr),Qe(yr),Ft&&Ft(yr)},Pt=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),jt=Or[0],cn=Or[1],nr=Jr(jt);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:jt},selected:!be.includes(nr.data.value)});break}case L.a.ESC:fr(!1)}},onKeyUp:function(){}}}),Bt.length===0)return r.createElement("div",{role:"listbox",className:"".concat(Vr,"-empty"),onMouseDown:Pt},Zr);var Xr={};return at&&(Xr.loadedKeys=at),At&&(Xr.expandedKeys=At),r.createElement("div",{onMouseDown:Pt,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:Bt,height:ur,itemHeight:ir,virtual:Lt,multiple:$t,icon:zt,showIcon:Dr,switcherIcon:Pr,showLine:un,loadData:Sr?null:dt,motion:Qt,checkable:et,checkStrictly:!0,checkedKeys:zn,selectedKeys:et?[]:Nn,defaultExpandAll:rt},Xr,{onActiveChange:cn,onSelect:wr,onCheck:wr,onExpand:st,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(Wt){if(!r.isValidElement(Wt)||!Wt.type)return null;var cr=Wt.key,Vr=Wt.props,ur=Vr.children,ir=Vr.value,Lt=Object(X.a)(Vr,["children","value"]),ot=Object(w.a)({key:cr,value:ir},Lt),Xe=de(ur);return Xe.length&&(ot.children=Xe),ot}).filter(function(Wt){return Wt})}function G(lt){if(!lt)return lt;var Wt=Object(w.a)({},lt);return"props"in Wt||Object.defineProperty(Wt,"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."),Wt}}),Wt}function ae(lt,Wt,cr,Vr,ur){var ir=null,Lt=null;function ot(){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(Wt===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."),ot(),ir}}),Object.defineProperty(lt,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ot(),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,Wt){var cr=new Map;return Wt.forEach(function(Vr){var ur=Vr.data;cr.set(ur.value,ur)}),lt.map(function(Vr){return G(cr.get(Vr))})}function Me(lt,Wt){var cr=me([lt],Wt)[0];return cr?cr.disabled:!1}function oe(lt){return lt.disabled||lt.disableCheckbox||lt.checkable===!1}function _e(lt){for(var Wt=lt.parent,cr=0,Vr=Wt;Vr;)Vr=Vr.parent,cr+=1;return cr}function ee(lt){function Wt(Vr){return(Vr||[]).map(function(ur){var ir=ur.value,Lt=ur.key,ot=ur.children,Xe=Object(w.a)(Object(w.a)({},ur),{},{key:"key"in ur?Lt:ir});return ot&&(Xe.children=Wt(ot)),Xe})}var cr=Object(T.d)(Wt(lt),!0);return cr.map(function(Vr){return{key:Vr.data.key,data:Vr.data,level:_e(Vr)}})}function ne(lt){return function(Wt,cr){var Vr=cr[lt];return String(Vr).toLowerCase().includes(String(Wt).toLowerCase())}}function Ge(lt,Wt,cr){var Vr=cr.optionFilterProp,ur=cr.filterOption;if(ur===!1)return Wt;var ir;typeof ur=="function"?ir=ur:ir=ne(Vr);function Lt(ot){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ot.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(Wt)}function Ee(lt,Wt,cr,Vr){var ur=new Map;return Ae(Wt).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},ot=cr(ir,"select",!0),Xe=ot?Vr(ot.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,Wt){var cr=new Set(lt);return cr.add(Wt),Array.from(cr)}function re(lt,Wt){var cr=new Set(lt);return cr.delete(Wt),Array.from(cr)}function ce(lt){var Wt=lt.searchPlaceholder,cr=lt.treeCheckStrictly,Vr=lt.treeCheckable,ur=lt.labelInValue,ir=lt.value,Lt=lt.multiple;Object(I.a)(!Wt,"`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(ot){return ot&&Object(A.a)(ot)==="object"&&"value"in ot}),"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,Wt){var cr=Wt.id,Vr=Wt.pId,ur=Wt.rootPId,ir={},Lt=[],ot=lt.map(function(Xe){var $t=Object(w.a)({},Xe),Sr=$t[cr];return ir[Sr]=$t,$t.key=$t.key||Sr,$t});return ot.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,Wt){var cr=0,Vr=new Set;function ur(ir){return(ir||[]).map(function(Lt){var ot=Lt.key,Xe=Lt.value,$t=Lt.children,Sr=Object(X.a)(Lt,["key","value","children"]),vr="value"in Lt?Xe:ot,fr=Object(w.a)(Object(w.a)({},Sr),{},{key:ot!=null?ot:vr,value:vr,title:Wt(Lt)});return"children"in Lt&&(fr.children=ur($t)),fr})}return ur(lt)}function se(lt,Wt,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===Wt?ir.current.formatTreeData:Ie(de(Wt),Vr),ir.current.formatTreeData}var ye="SHOW_ALL",xe="SHOW_PARENT",Ye="SHOW_CHILD";function pt(lt,Wt,cr){var Vr=new Set(lt);return Wt===Ye?lt.filter(function(ur){var ir=cr[ur];return!(ir&&ir.children&&ir.children.every(function(Lt){var ot=Lt.node;return oe(ot)||Vr.has(ot.key)}))}):Wt===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,Wt){var cr=Wt.value,Vr=Wt.getEntityByValue,ur=Wt.getEntityByKey,ir=Wt.treeConduction,Lt=Wt.showCheckedStrategy,ot=Wt.conductKeyEntities,Xe=Wt.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,ot);$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(Wt){var cr=Object(w.a)({},Wt);return Oe.forEach(function(Vr){delete cr[Vr]}),cr}});vt.displayName="Select";var Ze=r.forwardRef(function(lt,Wt){var cr=lt.multiple,Vr=lt.treeCheckable,ur=lt.treeCheckStrictly,ir=lt.showCheckedStrategy,Lt=ir===void 0?"SHOW_CHILD":ir,ot=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,Vt=lt.treeLine,Ft=lt.treeMotion,zt=lt.filterTreeNode,Dr=lt.dropdownPopupAlign,Pr=lt.onChange,un=lt.onTreeExpand,Ht=lt.onTreeLoad,dt=lt.onDropdownVisibleChange,at=lt.onSelect,Qt=lt.onDeselect,Jt=Vr||ur,gt=cr||Jt,Bt=Vr&&!ur,mt=ur||ot,kt=r.useRef(null);r.useImperativeHandle(Wt,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}),Gr=Object(r.useMemo)(function(){return ee(lr)},[lr]),Jr=M(Gr),Tn=Object(v.a)(Jr,2),Nn=Tn[0],zn=Tn[1],qn=z(Nn,zn),vi=Object(v.a)(qn,2),Ri=vi[0],Ve=vi[1],Se=Object(r.useMemo)(function(){return Bt?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}},st=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)}),Bt){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]),Pt=Object(v.a)(st,2),wr=Pt[0],mr=Pt[1],Or=nt(wr,{treeConduction:Bt,value:He,showCheckedStrategy:Lt,conductKeyEntities:Re,getEntityByValue:Ve,getEntityByKey:Ri,getLabelProp:ar}),jt=function(Bn,ii,oi){if(Qe(gt?Bn:Bn[0]),Pr){var ei=Bn;if(Bt&&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)jt([Bn],{selected:!0,triggerValue:Bn},oi);else{var ui=ue(wr,Bn);if(Bt){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})))}jt(ui,{selected:!0,triggerValue:Bn},oi)}at&&at(ei,ii)},nr=function(Bn,ii,oi){var ei=Bn,ui=re(wr,Bn);if(Bt){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})))}jt(ui,{selected:!1,triggerValue:Bn},oi),Qt&&Qt(ei,ii)},Xr=function(){jt([],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:Dr,internalProps:{mark:x.a,onClear:Xr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:cn,onRawDeselect:nr}};return"filterTreeNode"in lt&&(yr.filterOption=zt),r.createElement(P.Provider,{value:{checkable:Jt,loadData:Xe,treeLoadedKeys:$t,onTreeLoad:Ht,checkedKeys:wr,halfCheckedKeys:mr,treeDefaultExpandAll:et,treeExpandedKeys:Ln,treeDefaultExpandedKeys:Je,onTreeExpand:un,treeIcon:Le,treeMotion:Ft,showTreeIcon:Ue,switcherIcon:rt,treeLine:Vt,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 Wt=Object(u.a)(cr);function cr(){var Vr;return Object(l.a)(this,cr),Vr=Wt.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 Wt=o()(cr);function cr(Vr){var ur;return f()(this,cr),ur=Wt.call(this,Vr),ur.selectRef=r.createRef(),ur.renderTreeSelect=function(ir){var Lt=ir.getPopupContainer,ot=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,Vt=fr.notFoundContent,Ft=fr.switcherIcon,zt=fr.treeLine,Dr=fr.getPopupContainer,Pr=fr.dropdownClassName,un=fr.bordered,Ht=fr.treeIcon,dt=Ht===void 0?!1:Ht,at=ot("select",An),Qt=ot("select-tree",An),Jt=ot("tree-select",An),gt=Gt()(Pr,"".concat(Jt,"-dropdown"),m()({},"".concat(Jt,"-dropdown-rtl"),$t==="rtl")),Bt=!!(Je||et),mt=Object(bt.a)(p()(p()({},ur.props),{multiple:Bt,prefixCls:at})),kt=mt.suffixIcon,gr=mt.itemIcon,ar=mt.removeIcon,lr=mt.clearIcon,Gr;Vt!==void 0?Gr=Vt:Gr=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 Nn,zn=Zr||Tn,qn=Gt()(!An&&Jt,(Nn={},m()(Nn,"".concat(at,"-lg"),zn==="large"),m()(Nn,"".concat(at,"-sm"),zn==="small"),m()(Nn,"".concat(at,"-rtl"),$t==="rtl"),m()(Nn,"".concat(at,"-borderless"),!un),Nn),Ln);return r.createElement(Ot,p()({virtual:Sr,dropdownMatchSelectWidth:vr},Jr,{ref:ur.selectRef,prefixCls:at,className:qn,listHeight:Le,listItemHeight:rt,treeCheckable:Je&&r.createElement("span",{className:"".concat(at,"-tree-checkbox-inner")}),inputIcon:kt,menuItemSelectedIcon:gr,removeIcon:ar,clearIcon:lr,switcherIcon:function(Ri){return Object(qe.a)(Qt,Ft,zt,Ri)},showTreeIcon:dt,notFoundContent:Gr,getPopupContainer:Dr||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<Ke.length;Ie++)ke.indexOf(Ke[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ke[Ie])&&(Te[Ke[Ie]]=ce[Ke[Ie]]);return Te},X=r.forwardRef(function(ce,ke){var Te=r.useRef(null),Ke=function(Oe){var vt=ce.onChange,Ze=ce.onSearch;Oe&&Oe.target&&Oe.type==="click"&&Ze&&Ze(Oe.target.value,Oe),vt&&vt(Oe)},Ie=function(Oe){var vt;document.activeElement===((vt=Te.current)===null||vt===void 0?void 0:vt.input)&&Oe.preventDefault()},se=function(Oe){var vt,Ze=ce.onSearch,wt=ce.loading,xt=ce.disabled;if(wt||xt)return;Ze&&Ze((vt=Te.current)===null||vt===void 0?void 0:vt.input.value,Oe)},ye=function(Oe){var vt=ce.enterButton,Ze=ce.size;return vt?r.createElement(x.b.Consumer,{key:"enterButton"},function(wt){return r.createElement(V.a,{className:"".concat(Oe,"-button"),type:"primary",size:Ze||wt},r.createElement(j.a,null))}):r.createElement(j.a,{className:"".concat(Oe,"-icon"),key:"loadingIcon"})},xe=function(Oe){var vt=ce.suffix,Ze=ce.enterButton,wt=ce.loading;if(wt&&!Ze)return[vt,ye(Oe)];if(Ze)return vt;var xt=r.createElement(k.a,{className:"".concat(Oe,"-icon"),key:"searchIcon",onClick:se});return vt?[Object(v.c)(vt,null,{key:"suffix"}),xt]:xt},Ye=function(Oe,vt){var Ze=ce.enterButton,wt=ce.disabled,xt=ce.addonAfter,Ot=ce.loading,Mt="".concat(Oe,"-button");if(Ot&&Ze)return[ye(Oe),xt];if(!Ze)return xt;var Gt,$e=Ze,pe=$e.type&&$e.type.__ANT_BUTTON===!0;return pe||$e.type==="button"?Gt=Object(v.a)($e,p()({onMouseDown:Ie,onClick:se,key:"enterButton"},pe?{className:Mt,size:vt}:{})):Gt=r.createElement(V.a,{className:Mt,type:"primary",size:vt,disabled:wt,key:"enterButton",onMouseDown:Ie,onClick:se},Ze===!0?r.createElement(k.a,null):Ze),xt?[Gt,Object(v.c)(xt,null,{key:"addonAfter"})]:Gt},pt=function(Oe){var vt=Oe.getPrefixCls,Ze=Oe.direction,wt=ce.prefixCls,xt=ce.inputPrefixCls,Ot=ce.enterButton,Mt=ce.className,Gt=ce.size,$e=W(ce,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete $e.onSearch,delete $e.loading;var pe=vt("input-search",wt),q=vt("input",xt),bt=function(le){var Nt;if(Ot){var tr;Nt=e()(pe,Mt,(tr={},o()(tr,"".concat(pe,"-rtl"),Ze==="rtl"),o()(tr,"".concat(pe,"-enter-button"),!!Ot),o()(tr,"".concat(pe,"-").concat(le),!!le),tr))}else Nt=e()(pe,Mt,o()({},"".concat(pe,"-rtl"),Ze==="rtl"));return Nt};return r.createElement(x.b.Consumer,null,function(qe){return r.createElement(P,p()({ref:Object(M.a)(Te,ke),onPressEnter:se},$e,{size:Gt||qe,prefixCls:q,addonAfter:Ye(pe,Gt||qe),suffix:xe(pe),onChange:Ke,className:bt(Gt||qe)}))})};return r.createElement(_.a,null,pt)});X.defaultProps={enterButton:!1},X.displayName="Search";var J=X,de=t("Y1PL"),G=function(ce){c()(Te,ce);var ke=n()(Te);function Te(Ke){var Ie;m()(this,Te),Ie=ke.call(this,Ke),Ie.focus=function(){Ie.resizableTextArea.textArea.focus()},Ie.saveTextArea=function(ye){Ie.resizableTextArea=ye==null?void 0:ye.resizableTextArea},Ie.saveClearableInput=function(ye){Ie.clearableInput=ye},Ie.handleChange=function(ye){Ie.setValue(ye.target.value),L(Ie.resizableTextArea.textArea,ye,Ie.props.onChange)},Ie.handleReset=function(ye){Ie.setValue("",function(){Ie.focus()}),L(Ie.resizableTextArea.textArea,ye,Ie.props.onChange)},Ie.renderTextArea=function(ye,xe){return r.createElement(de.default,p()({},Object(s.default)(Ie.props,["allowClear","bordered"]),{className:e()(Ie.props.className,o()({},"".concat(ye,"-borderless"),!xe)),prefixCls:ye,onChange:Ie.handleChange,ref:Ie.saveTextArea}))},Ie.renderComponent=function(ye){var xe=ye.getPrefixCls,Ye=ye.direction,pt=Ie.state.value,nt=Ie.props,Oe=nt.prefixCls,vt=nt.bordered,Ze=vt===void 0?!0:vt,wt=xe("input",Oe);return r.createElement(T,p()({},Ie.props,{prefixCls:wt,direction:Ye,inputType:"text",value:I(pt),element:Ie.renderTextArea(wt,Ze),handleReset:Ie.handleReset,ref:Ie.saveClearableInput,triggerFocus:Ie.focus,bordered:Ze}))};var se=typeof Ke.value=="undefined"?Ke.defaultValue:Ke.value;return Ie.state={value:se},Ie}return f()(Te,[{key:"setValue",value:function(Ie,se){this.props.value===void 0&&this.setState({value:Ie},se)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ie){return Ie.value!==void 0?{value:Ie.value}:null}}]),Te}(r.Component),ae=G,Ae=t("J4zp"),me=t.n(Ae),Me=t("qPY4"),oe=t.n(Me),_e=t("fUL4"),ee=t.n(_e),ne=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<Ke.length;Ie++)ke.indexOf(Ke[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ke[Ie])&&(Te[Ke[Ie]]=ce[Ke[Ie]]);return Te},Ge={click:"onClick",hover:"onMouseOver"},Ee=r.forwardRef(function(ce,ke){var Te=Object(r.useState)(!1),Ke=me()(Te,2),Ie=Ke[0],se=Ke[1],ye=function(){var nt=ce.disabled;if(nt)return;se(!Ie)},xe=function(nt){var Oe,vt=ce.action,Ze=ce.iconRender,wt=Ze===void 0?function(){return null}:Ze,xt=Ge[vt]||"",Ot=wt(Ie),Mt=(Oe={},o()(Oe,xt,ye),o()(Oe,"className","".concat(nt,"-icon")),o()(Oe,"key","passwordIcon"),o()(Oe,"onMouseDown",function($e){$e.preventDefault()}),o()(Oe,"onMouseUp",function($e){$e.preventDefault()}),Oe);return r.cloneElement(r.isValidElement(Ot)?Ot:r.createElement("span",null,Ot),Mt)},Ye=function(nt){var Oe=nt.getPrefixCls,vt=ce.className,Ze=ce.prefixCls,wt=ce.inputPrefixCls,xt=ce.size,Ot=ce.visibilityToggle,Mt=ne(ce,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Gt=Oe("input",wt),$e=Oe("input-password",Ze),pe=Ot&&xe($e),q=e()($e,vt,o()({},"".concat($e,"-").concat(xt),!!xt)),bt=p()(p()({},Object(s.default)(Mt,["suffix","iconRender"])),{type:Ie?"text":"password",className:q,prefixCls:Gt,suffix:pe});return xt&&(bt.size=xt),r.createElement(P,p()({ref:ke},bt))};return r.createElement(_.a,null,Ye)});Ee.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(ke){return ke?r.createElement(oe.a,null):r.createElement(ee.a,null)}},Ee.displayName="Password";var ue=Ee;P.Group=z,P.Search=J,P.TextArea=ae,P.Password=ue;var re=N.a=P},"5s0K":function(R,N,t){var y=t("bYtY");function p(){var S=[],m={},g;return{add:function(f,d,c,a,n){return y.isString(a)&&(n=a,a=0),m[f.id]?!1:(m[f.id]=1,S.push({el:f,target:d,time:c,delay:a,easing:n}),!0)},done:function(f){return g=f,this},start:function(){for(var f=S.length,d=0,c=S.length;d<c;d++){var a=S[d];a.el.animateTo(a.target,a.time,a.delay,a.easing,n)}return this;function n(){f--,f||(S.length=0,m={},g&&g())}}}}N.createWrap=p},"5yev":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:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};N.default=y},"6/nd":function(R,N,t){var y=t("ProS");y.registerAction("legendScroll","legendscroll",function(p,S){var m=p.scrollDataIndex;m!=null&&S.eachComponent({mainType:"legend",subType:"scroll",query:p},function(g){g.setScrollDataIndex(m)})})},"62sa":function(R,N,t){var y=t("bYtY"),p=t("4NO4"),S=p.makeInner,m=t("zTMp"),g=t("Ez2D"),f=y.each,d=y.curry,c=S();function a(v,w,b){var E=v.currTrigger,T=[v.x,v.y],_=v,x=v.dispatchAction||y.bind(b.dispatchAction,b),C=w.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;A(T)&&(T=g({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},w).point);var I=A(T),L=_.axesInfo,F=C.axesInfo,B=E==="leave"||A(T),P={},H={},z={list:[],map:{}},M={showPointer:d(o,H),showTooltip:d(r,z)};f(C.coordSysMap,function(k,K){var j=I||k.containPoint(T);f(C.coordSysAxesInfo[K],function(V,W){var X=V.axis,J=u(L,V);if(!B&&j&&(!L||J)){var de=J&&J.value;de==null&&!I&&(de=X.pointToData(T)),de!=null&&n(V,de,M,!1,P)}})});var U={};return f(F,function(k,K){var j=k.linkGroup;j&&!H[K]&&f(j.axesInfo,function(V,W){var X=H[W];if(V!==k&&X){var J=X.value;j.mapper&&(J=k.axis.scale.parse(j.mapper(J,h(V),h(k)))),U[k.key]=J}})}),f(U,function(k,K){n(F[K],k,M,!0,P)}),l(H,F,P),e(z,T,v,x),s(F,x,b),P}function n(v,w,b,E,T){var _=v.axis;if(_.scale.isBlank()||!_.containData(w))return;if(!v.involveSeries){b.showPointer(v,w);return}var x=i(w,v),C=x.payloadBatch,I=x.snapToValue;C[0]&&T.seriesIndex==null&&y.extend(T,C[0]),!E&&v.snap&&(_.containData(I)&&I!=null&&(w=I)),b.showPointer(v,w,C,T),b.showTooltip(v,x,I)}function i(v,w){var b=w.axis,E=b.dim,T=v,_=[],x=Number.MAX_VALUE,C=-1;return f(w.seriesModels,function(I,L){var F=I.getData().mapDimension(E,!0),B,P;if(I.getAxisTooltipData){var H=I.getAxisTooltipData(F,v,b);P=H.dataIndices,B=H.nestestValue}else{if(P=I.getData().indicesOfNearest(F[0],v,b.type==="category"?.5:null),!P.length)return;B=I.getData().get(F[0],P[0])}if(B==null||!isFinite(B))return;var z=v-B,M=Math.abs(z);M<=x&&((M<x||z>=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;o<n;o++)d[i+o]=c[a+o]}function S(d){var c,a,n,i,o,r;for(n=0,c=0,a=d.length;c<a;c++)n+=d[c].length;for(r=new Uint8Array(n),i=0,c=0,a=d.length;c<a;c++)o=d[c],r.set(o,i),i+=o.length;return r}var m=Uint8Array;N.Buf8=m;var g=Uint16Array;N.Buf16=g;var f=Int32Array;N.Buf32=f},"6D9b":function(R,N,t){},"6GrX":function(R,N,t){var y=t("mFDi"),p=t("Xnb7"),S=t("bYtY"),m=S.getContext,g=S.extend,f=S.retrieve2,d=S.retrieve3,c=S.trim,a={},n=0,i=5e3,o=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",l={};function e(z,M){l[z]=M}function s(z,M){M=M||r;var U=z+":"+M;if(a[U])return a[U];for(var k=(z+"").split(`
|
|
|
`),K=0,j=0,V=k.length;j<V;j++)K=Math.max(L(k[j],M).width,K);return n>i&&(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<W;V++)j[V]=x(j[V],K);return j.join(`
|
|
|
`)}function _(z,M,U,k){k=g({},k),k.font=M;var U=f(U,"...");k.maxIterations=f(k.maxIterations,2);var K=k.minChar=f(k.minChar,0);k.cnCharWidth=s("\u56FD",M);var j=k.ascCharWidth=s("a",M);k.placeholder=f(k.placeholder,"");for(var V=z=Math.max(0,z-1),W=0;W<K&&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;j<V&&K<M;j++){var W=z.charCodeAt(j);K+=0<=W&&W<=127?U:k}return j}function I(z){return s("\u56FD",z)}function L(z,M){return l.measureText(z,M)}l.measureText=function(z,M){var U=m();return U.font=M||r,U.measureText(z)};function F(z,M,U,k,K){z!=null&&(z+="");var j=f(k,I(M)),V=z?z.split(`
|
|
|
`):[],W=V.length*j,X=W,J=!0;if(U&&(X+=U[0]+U[2]),z&&K){J=!1;var de=K.outerHeight,G=K.outerWidth;if(de!=null&&X>de)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;Ae<me;Ae++)V[Ae]=x(V[Ae],ae)}return{lines:V,height:W,outerHeight:X,lineHeight:j,canCacheByTextString:J}}function B(z,M){var U={lines:[],width:0,height:0};if(z!=null&&(z+=""),!z)return U;for(var k=o.lastIndex=0,K;(K=o.exec(z))!=null;){var j=K.index;j>k&&P(U,z.substring(k,j)),P(U,K[2],K[1]),k=o.lastIndex}k<z.length&&P(U,z.substring(k,z.length));var V=U.lines,W=0,X=0,J=[],de=M.textPadding,G=M.truncate,ae=G&&G.outerWidth,Ae=G&&G.outerHeight;de&&(ae!=null&&(ae-=de[1]+de[3]),Ae!=null&&(Ae-=de[0]+de[2]));for(var me=0;me<V.length;me++){for(var Me=V[me],oe=0,_e=0,ee=0;ee<Me.tokens.length;ee++){var ne=Me.tokens[ee],Ge=ne.styleName&&M.rich[ne.styleName]||{},Ee=ne.textPadding=Ge.textPadding,ue=ne.font=Ge.font||M.font,re=ne.textHeight=f(Ge.textHeight,I(ue));if(Ee&&(re+=Ee[0]+Ee[2]),ne.height=re,ne.lineHeight=d(Ge.textLineHeight,M.textLineHeight,re),ne.textAlign=Ge&&Ge.textAlign||M.textAlign,ne.textVerticalAlign=Ge&&Ge.textVerticalAlign||"middle",Ae!=null&&W+ne.lineHeight>Ae)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<ce&&(!ke||se<Ie?(ne.text="",ne.textWidth=ce=0):(ne.text=T(ne.text,se-Ie,ue,G.ellipsis,{minChar:G.minChar}),ne.textWidth=s(ne.text,ue),ce=ne.textWidth+Ie))}_e+=ne.width=ce,Ge&&(oe=Math.max(oe,ne.lineHeight))}Me.width=_e,Me.lineHeight=oe,W+=oe,X=Math.max(X,_e)}U.outerWidth=U.width=f(M.textWidth,X),U.outerHeight=U.height=f(M.textHeight,W),de&&(U.outerWidth+=de[1]+de[3],U.outerHeight+=de[0]+de[2]);for(var me=0;me<J.length;me++){var ne=J[me],ye=ne.percentWidth;ne.width=parseInt(ye,10)/100*X}return U}function P(z,M,U){for(var k=M==="",K=M.split(`
|
|
|
`),j=z.lines,V=0;V<K.length;V++){var W=K[V],X={styleName:U,text:W,isLineHolder:!W&&!k};if(V)j.push({tokens:[X]});else{var J=(j[j.length-1]||(j[0]={tokens:[]})).tokens,de=J.length;de===1&&J[0].isLineHolder?J[0]=X:(W||!de||k)&&J.push(X)}}}function H(z){var M=(z.fontSize||z.fontFamily)&&[z.fontStyle,z.fontWeight,(z.fontSize||12)+"px",z.fontFamily||"sans-serif"].join(" ");return M&&c(M)||z.textFont||z.font}N.DEFAULT_FONT=r,N.$override=e,N.getWidth=s,N.getBoundingRect=u,N.adjustTextX=v,N.adjustTextY=w,N.calculateTextPosition=b,N.adjustTextPositionOnRect=E,N.truncateText=T,N.getLineHeight=I,N.measureText=L,N.parsePlainText=F,N.parseRichText=B,N.makeFont=H},"6Hfg":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("FhB9")),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="SwapRightOutlined";var c=m.forwardRef(d);N.default=c},"6Ic6":function(R,N,t){var y=t("bYtY"),p=y.each,S=t("4fz+"),m=t("iRjW"),g=t("Yl7c"),f=t("4NO4"),d=t("IwbS"),c=t("9H2F"),a=c.createTask,n=t("zM3Q"),i=f.makeInner(),o=n();function r(){this.group=new S,this.uid=m.getUID("viewChart"),this.renderTask=a({plan:u,reset:h}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(w,b){},render:function(w,b,E,T){},highlight:function(w,b,E,T){s(w.getData(),T,"emphasis")},downplay:function(w,b,E,T){s(w.getData(),T,"normal")},remove:function(w,b){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=r.prototype;l.updateView=l.updateLayout=l.updateVisual=function(w,b,E,T){this.render(w,b,E,T)};function e(w,b,E){if(w&&(w.trigger(b,E),w.isGroup&&!d.isHighDownDispatcher(w)))for(var T=0,_=w.childCount();T<_;T++)e(w.childAt(T),b,E)}function s(w,b,E){var T=f.queryDataIndex(w,b),_=b&&b.highlightKey!=null?d.getHighlightDigit(b.highlightKey):null;T!=null?p(f.normalizeToArray(T),function(x){e(w.getItemGraphicEl(x),E,_)}):w.eachItemGraphicEl(function(x){e(x,E,_)})}g.enableClassExtend(r,["dispose"]),g.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(w,b){i(w).updateMethod=b};function u(w){return o(w.model)}function h(w){var b=w.model,E=w.ecModel,T=w.api,_=w.payload,x=b.pipelineContext.progressiveRender,C=w.view,I=_&&i(_).updateMethod,L=x?"incrementalPrepareRender":I&&C[I]?I:"render";return L!=="render"&&C[L](b,E,T,_),A[L]}var A={incrementalPrepareRender:{progress:function(w,b){b.view.incrementalRender(w,b.model,b.ecModel,b.api,b.payload)}},render:{forceFirstProgress:!0,progress:function(w,b){b.view.render(b.model,b.ecModel,b.api,b.payload)}}},v=r;R.exports=v},"6MrE":function(R,N,t){},"6Qwc":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};N.default=y},"6SEX":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("qWUW"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"6UJt":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("v56E"),m=t.n(S),g=t("R9oj"),f=t("5NDa")},"6VBw":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("ODXe"),S=t("rePB"),m=t("Ff2n"),g=t("q1tI"),f=t("TSYQ"),d=t.n(f),c=t("Pw59"),a=t("Qi1f"),n=["icon","className","onClick","style","primaryColor","secondaryColor"],i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function o(w){var b=w.primaryColor,E=w.secondaryColor;i.primaryColor=b,i.secondaryColor=E||Object(a.b)(b),i.calculated=!!E}function r(){return Object(y.a)({},i)}var l=function(b){var E=b.icon,T=b.className,_=b.onClick,x=b.style,C=b.primaryColor,I=b.secondaryColor,L=Object(m.a)(b,n),F=i;if(C&&(F={primaryColor:C,secondaryColor:I||Object(a.b)(C)}),Object(a.f)(),Object(a.g)(Object(a.c)(E),"icon should be icon definiton, but got ".concat(E)),!Object(a.c)(E))return null;var B=E;return B&&typeof B.icon=="function"&&(B=Object(y.a)(Object(y.a)({},B),{},{icon:B.icon(F.primaryColor,F.secondaryColor)})),Object(a.a)(B.icon,"svg-".concat(B.name),Object(y.a)({className:T,onClick:_,style:x,"data-icon":B.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},L))};l.displayName="IconReact",l.getTwoToneColors=r,l.setTwoToneColors=o;var e=l;function s(w){var b=Object(a.d)(w),E=Object(p.a)(b,2),T=E[0],_=E[1];return e.setTwoToneColors({primaryColor:T,secondaryColor:_})}function u(){var w=e.getTwoToneColors();return w.calculated?[w.primaryColor,w.secondaryColor]:w.primaryColor}var h=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];s("#1890ff");var A=g.forwardRef(function(w,b){var E,T=w.className,_=w.icon,x=w.spin,C=w.rotate,I=w.tabIndex,L=w.onClick,F=w.twoToneColor,B=Object(m.a)(w,h),P=g.useContext(c.a),H=P.prefixCls,z=H===void 0?"anticon":H,M=d()(z,(E={},Object(S.a)(E,"".concat(z,"-").concat(_.name),!!_.name),Object(S.a)(E,"".concat(z,"-spin"),!!x||_.name==="loading"),E),T),U=I;U===void 0&&L&&(U=-1);var k=C?{msTransform:"rotate(".concat(C,"deg)"),transform:"rotate(".concat(C,"deg)")}:void 0,K=Object(a.d)(F),j=Object(p.a)(K,2),V=j[0],W=j[1];return g.createElement("span",Object(y.a)(Object(y.a)({role:"img","aria-label":_.name},B),{},{ref:b,tabIndex:U,onClick:L,className:M}),g.createElement(e,{icon:_,primaryColor:V,secondaryColor:W,style:k}))});A.displayName="AntdIcon",A.getTwoToneColor=u,A.setTwoToneColor=s;var v=N.a=A},"6cGi":function(R,N,t){"use strict";t.d(N,"a",function(){return m});var y=t("ODXe"),p=t("q1tI"),S=t.n(p);function m(g,f){var d=f||{},c=d.defaultValue,a=d.value,n=d.onChange,i=d.postState,o=p.useState(function(){return a!==void 0?a:c!==void 0?typeof c=="function"?c():c:typeof g=="function"?g():g}),r=Object(y.a)(o,2),l=r[0],e=r[1],s=a!==void 0?a:l;i&&(s=i(s));var u=p.useRef(n);u.current=n;var h=p.useCallback(function(v){e(v),s!==v&&u.current&&u.current(v,s)},[s,u]),A=p.useRef(!0);return p.useEffect(function(){if(A.current){A.current=!1;return}a===void 0&&e(a)},[a]),[s,h]}},"6fms":function(R,N,t){var y=t("SUKs"),p=t("06Qe"),S=t("bYtY"),m=S.each;function g(a){return parseInt(a,10)}function f(a,n){p.initVML(),this.root=a,this.storage=n;var i=document.createElement("div"),o=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",o.style.cssText="position:absolute;left:0;top:0;",a.appendChild(i),this._vmlRoot=o,this._vmlViewport=i,this.resize();var r=n.delFromStorage,l=n.addToStorage;n.delFromStorage=function(e){r.call(n,e),e&&(e.onRemove&&e.onRemove(o))},n.addToStorage=function(e){e.onAdd&&e.onAdd(o),l.call(n,e)},this._firstPaint=!0}f.prototype={constructor:f,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var n=this.getViewportRoot();if(n)return{offsetLeft:n.offsetLeft||0,offsetTop:n.offsetTop||0}},refresh:function(){var n=this.storage.getDisplayList(!0,!0);this._paintList(n)},_paintList:function(n){for(var i=this._vmlRoot,o=0;o<n.length;o++){var r=n[o];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(i),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(i),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,i),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(i),this._firstPaint=!1)},resize:function(n,i){var n=n==null?this._getWidth():n,i=i==null?this._getHeight():i;if(this._width!==n||this._height!==i){this._width=n,this._height=i;var o=this._vmlViewport.style;o.width=n+"px",o.height=i+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var n=this.root,i=n.currentStyle;return(n.clientWidth||g(i.width))-g(i.paddingLeft)-g(i.paddingRight)|0},_getHeight:function(){var n=this.root,i=n.currentStyle;return(n.clientHeight||g(i.height))-g(i.paddingTop)-g(i.paddingBottom)|0}};function d(a){return function(){y('In IE8.0 VML mode painter not support method "'+a+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(a){f.prototype[a]=d(a)});var c=f;R.exports=c},"6r85":function(R,N,t){var y=t("bYtY");function p(S){if(!S||!y.isArray(S.series))return;y.each(S.series,function(m){y.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}R.exports=p},"6uqw":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("ItGF"),m=t("YOMW"),g=t("XxSj"),f=t("K4ya"),d=t("4NO4"),c=t("OELB"),a=g.mapVisual,n=g.eachVisual,i=p.isArray,o=p.each,r=c.asc,l=c.linearMap,e=p.noop,s=y.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(h,A,v){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,v)},optionUpdated:function(h,A){var v=this.option;S.canvasSupported||(v.realtime=!1),!A&&f.replaceVisualOption(v,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var A=this.stateList;h=p.bind(h,this),this.controllerVisuals=f.createVisualMappings(this.option.controller,A,h),this.targetVisuals=f.createVisualMappings(this.option.target,A,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,A=[];return h==null||h==="all"?this.ecModel.eachSeries(function(v,w){A.push(w)}):A=d.normalizeToArray(h),A},eachTargetSeries:function(h,A){p.each(this.getTargetSeriesIndices(),function(v){h.call(A,this.ecModel.getSeriesByIndex(v))},this)},isTargetSeries:function(h){var A=!1;return this.eachTargetSeries(function(v){v===h&&(A=!0)}),A},formatValueText:function(h,A,v){var w=this.option,b=w.precision,E=this.dataBound,T=w.formatter,_,x;if(v=v||["<",">"],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.span<d)&&(m[1-f]=m[f]+i.sign*d);var l=y(m,f);return c!=null&&l.span>c&&(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<r.count();v++){var w=r.get(h,v),b=I(w,A[2],v),E=I(w,A[0],v),T=I(w,A[1],v),_=I(w,A[3],v),x=I(w,A[4],v),C=[];L(C,T,0),L(C,_,1),C.push(E,T,x,_),F(C,E),F(C,x),F(C,b),r.setItemLayout(v,{initBaseline:b[s],ends:C})}function I(B,P,H){var z=r.get(P,H),M=[];M[e]=B,M[s]=z;var U;return isNaN(B)||isNaN(z)?U=[NaN,NaN]:(U=o.dataToPoint(M),U[e]+=n),U}function L(B,P,H){var z=P.slice(),M=P.slice();z[e]+=l,M[e]-=l,H?B.push(z,M):B.push(M,z)}function F(B,P){var H=P.slice(),z=P.slice();H[e]-=l,z[e]+=l,B.push(H,z)}}R.exports=g},"7SHv":function(R,N,t){var y=t("LPTA"),p=y.devicePixelRatio,S=t("bYtY"),m=t("SUKs"),g=t("mFDi"),f=t("BPZU"),d=t("Xmg4"),c=t("mLcG"),a=t("Dagg"),n=t("ItGF"),i=1e5,o=314159,r=.01,l=.001;function e(_){return parseInt(_,10)}function s(_){return _?_.__builtin__?!0:!(typeof _.resize!="function"||typeof _.refresh!="function"):!1}var u=new g(0,0,0,0),h=new g(0,0,0,0);function A(_,x,C){return u.copy(_.getBoundingRect()),_.transform&&u.applyTransform(_.transform),h.width=x,h.height=C,!u.intersect(h)}function v(_,x){if(_===x)return!1;if(!_||!x||_.length!==x.length)return!0;for(var C=0;C<_.length;C++)if(_[C]!==x[C])return!0;return!1}function w(_,x){for(var C=0;C<_.length;C++){var I=_[C];I.setTransform(x),x.beginPath(),I.buildPath(x,I.shape),x.clip(),I.restoreTransform(x)}}function b(_,x){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+_+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var E=function(x,C,I){this.type="canvas";var L=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=I=S.extend({},I||{}),this.dpr=I.devicePixelRatio||p,this._singleCanvas=L,this.root=x;var F=x.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=C;var B=this._zlevelList=[],P=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var z=x.width,M=x.height;I.width!=null&&(z=I.width),I.height!=null&&(M=I.height),this.dpr=I.devicePixelRatio||1,x.width=z*this.dpr,x.height=M*this.dpr,this._width=z,this._height=M;var U=new d(x,this,this.dpr);U.__builtin__=!0,U.initContext(),P[o]=U,U.zlevel=o,B.push(o),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var H=this._domRoot=b(this._width,this._height);x.appendChild(H)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var x=this.getViewportRoot();if(x)return{offsetLeft:x.offsetLeft||0,offsetTop:x.offsetTop||0}},refresh:function(x){var C=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,x,this._redrawId);for(var L=0;L<I.length;L++){var F=I[L],B=this._layers[F];if(!B.__builtin__&&B.refresh){var P=L===0?this._backgroundColor:null;B.refresh(P)}}return this.refreshHover(),this},addHover:function(x,C){if(x.__hoverMir)return;var I=new x.constructor({style:x.style,shape:x.shape,z:x.z,z2:x.z2,silent:x.silent});return I.__from=x,x.__hoverMir=I,C&&I.setStyle(C),this._hoverElements.push(I),I},removeHover:function(x){var C=x.__hoverMir,I=this._hoverElements,L=S.indexOf(I,C);L>=0&&I.splice(L,1),x.__hoverMir=null},clearHover:function(x){for(var C=this._hoverElements,I=0;I<C.length;I++){var L=C[I].__from;L&&(L.__hoverMir=null)}C.length=0},refreshHover:function(){var x=this._hoverElements,C=x.length,I=this._hoverlayer;if(I&&I.clear(),!C)return;f(x,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(i));var L={};I.ctx.save();for(var F=0;F<C;){var B=x[F],P=B.__from;if(!(P&&P.__zr)){x.splice(F,1),P.__hoverMir=null,C--;continue}F++,P.invisible||(B.transform=P.transform,B.invTransform=P.invTransform,B.__clipPaths=P.__clipPaths,this._doPaintEl(B,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(i)},_paintList:function(x,C,I){if(this._redrawId!==I)return;C=C||!1,this._updateLayerStatus(x);var L=this._doPaintList(x,C);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var F=this;c(function(){F._paintList(x,C,I)})}},_compositeManually:function(){var x=this.getLayer(o).ctx,C=this._domRoot.width,I=this._domRoot.height;x.clearRect(0,0,C,I),this.eachBuiltinLayer(function(L){L.virtual&&x.drawImage(L.dom,0,0,C,I)})},_doPaintList:function(x,C){for(var I=[],L=0;L<this._zlevelList.length;L++){var F=this._zlevelList[L],B=this._layers[F];B.__builtin__&&B!==this._hoverlayer&&(B.__dirty||C)&&I.push(B)}for(var P=!0,H=0;H<I.length;H++){var B=I[H],z=B.ctx,M={};z.save();var U=C?B.__startIndex:B.__drawIndex,k=!C&&B.incremental&&Date.now,K=k&&Date.now(),j=B.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(B.__startIndex===B.__endIndex)B.clear(!1,j);else if(U===B.__startIndex){var V=x[U];(!V.incremental||!V.notClear||C)&&B.clear(!1,j)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=B.__startIndex);for(var W=U;W<B.__endIndex;W++){var X=x[W];if(this._doPaintEl(X,B,C,M),X.__dirty=X.__dirtyText=!1,k){var J=Date.now()-K;if(J>15)break}}B.__drawIndex=W,B.__drawIndex<B.__endIndex&&(P=!1),M.prevElClipPaths&&z.restore(),z.restore()}return n.wxa&&S.each(this._layers,function(de){de&&de.ctx&&de.ctx.draw&&de.ctx.draw()}),P},_doPaintEl:function(x,C,I,L){var F=C.ctx,B=x.transform;if((C.__dirty||I)&&!x.invisible&&x.style.opacity!==0&&!(B&&!B[0]&&!B[3])&&!(x.culling&&A(x,this._width,this._height))){var P=x.__clipPaths,H=L.prevElClipPaths;(!H||v(P,H))&&(H&&(F.restore(),L.prevElClipPaths=null,L.prevEl=null),P&&(F.save(),w(P,F),L.prevElClipPaths=P)),x.beforeBrush&&x.beforeBrush(F),x.brush(F,L.prevEl||null),L.prevEl=x,x.afterBrush&&x.afterBrush(F)}},getLayer:function(x,C){this._singleCanvas&&!this._needsManuallyCompositing&&(x=o);var I=this._layers[x];return I||(I=new d("zr_"+x,this,this.dpr),I.zlevel=x,I.__builtin__=!0,this._layerConfig[x]?S.merge(I,this._layerConfig[x],!0):this._layerConfig[x-r]&&S.merge(I,this._layerConfig[x-r],!0),C&&(I.virtual=C),this.insertLayer(x,I),I.initContext()),I},insertLayer:function(x,C){var I=this._layers,L=this._zlevelList,F=L.length,B=null,P=-1,H=this._domRoot;if(I[x]){m("ZLevel "+x+" has been used already");return}if(!s(C)){m("Layer of zlevel "+x+" is not valid");return}if(F>0&&x>L[0]){for(P=0;P<F-1&&!(L[P]<x&&L[P+1]>x);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;F<I.length;F++)L=I[F],x.call(C,this._layers[L],L)},eachBuiltinLayer:function(x,C){var I=this._zlevelList,L,F,B;for(B=0;B<I.length;B++)F=I[B],L=this._layers[F],L.__builtin__&&x.call(C,L,F)},eachOtherLayer:function(x,C){var I=this._zlevelList,L,F,B;for(B=0;B<I.length;B++)F=I[B],L=this._layers[F],L.__builtin__||x.call(C,L,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(M,U){M.__dirty=M.__used=!1});function C(M){F&&(F.__endIndex!==M&&(F.__dirty=!0),F.__endIndex=M)}if(this._singleCanvas)for(var I=1;I<x.length;I++){var L=x[I];if(L.zlevel!==x[I-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,B=0,P,I=0;I<x.length;I++){var L=x[I],H=L.zlevel,z;P!==H&&(P=H,B=0),L.incremental?(z=this.getLayer(H+l,this._needsManuallyCompositing),z.incremental=!0,B=1):z=this.getLayer(H+(B>0?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<this._zlevelList.length;L++){var F=this._zlevelList[L];if(F===x||F===x+r){var B=this._layers[F];S.merge(B,I[x],!0)}}}},delLayer:function(x){var C=this._layers,I=this._zlevelList,L=C[x];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete C[x],I.splice(S.indexOf(I,x),1)},resize:function(x,C){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var L=this._opts;if(x!=null&&(L.width=x),C!=null&&(L.height=C),x=this._getSize(0),C=this._getSize(1),I.style.display="",this._width!==x||C!==this._height){I.style.width=x+"px",I.style.height=C+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(x,C);S.each(this._progressiveLayers,function(B){B.resize(x,C)}),this.refresh(!0)}this._width=x,this._height=C}else{if(x==null||C==null)return;this._width=x,this._height=C,this.getLayer(o).resize(x,C)}return this},clearLayer:function(x){var C=this._layers[x];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(x){if(x=x||{},this._singleCanvas&&!this._compositeManually)return this._layers[o].dom;var C=new d("image",this,x.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,x.backgroundColor||this._backgroundColor),x.pixelRatio<=this.dpr){this.refresh();var I=C.dom.width,L=C.dom.height,F=C.ctx;this.eachLayer(function(M){M.__builtin__?F.drawImage(M.dom,0,0,I,L):M.renderToCanvas&&(C.ctx.save(),M.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var B={},P=this.storage.getDisplayList(!0),H=0;H<P.length;H++){var z=P[H];this._doPaintEl(z,C,!0,B)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var C=this._opts,I=["width","height"][x],L=["clientWidth","clientHeight"][x],F=["paddingLeft","paddingTop"][x],B=["paddingRight","paddingBottom"][x];if(C[I]!=null&&C[I]!=="auto")return parseFloat(C[I]);var P=this.root,H=document.defaultView.getComputedStyle(P);return(P[L]||e(H[I])||e(P.style[I]))-(e(H[F])||0)-(e(H[B])||0)|0},pathToImage:function(x,C){C=C||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),F=x.getBoundingRect(),B=x.style,P=B.shadowBlur*C,H=B.shadowOffsetX*C,z=B.shadowOffsetY*C,M=B.hasStroke()?B.lineWidth:0,U=Math.max(M/2,-H+P),k=Math.max(M/2,H+P),K=Math.max(M/2,-z+P),j=Math.max(M/2,z+P),V=F.width+U+k,W=F.height+K+j;I.width=V*C,I.height=W*C,L.scale(C,C),L.clearRect(0,0,V,W),L.dpr=C;var X={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[U-F.x,K-F.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(L);var J=a,de=new J({style:{x:0,y:0,image:I}});return X.position!=null&&(de.position=x.position=X.position),X.rotation!=null&&(de.rotation=x.rotation=X.rotation),X.scale!=null&&(de.scale=x.scale=X.scale),de}};var T=E;R.exports=T},"7a+S":function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("YXkt"),m=t("4NO4"),g=p.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(d,c,a){this._data,this._names,this.mergeDefaultAndTheme(d,a),this._initData()},mergeOption:function(d){g.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(d){d==null&&(d=this.option.currentIndex);var c=this._data.count();this.option.loop?d=(d%c+c)%c:(d>=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<x.length;C++){var I=n[C];b=b.replace(i(I),i(I,0))}for(var L=0;L<_;L++)for(var F=0;F<x.length;F++){var B=E[L][x[F]];b=b.replace(i(n[F],L),T?a(B):B)}return b}function r(b,E,T){return y.each(E,function(_,x){b=b.replace("{"+x+"}",T?a(_):_)}),b}function l(b,E){b=y.isString(b)?{color:b,extraCssText:E}:b||{};var T=b.color,_=b.type,E=b.extraCssText,x=b.renderMode||"html",C=b.markerId||"X";return T?x==="html"?_==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+a(T)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+a(T)+";"+(E||"")+'"></span>':{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;w<u[h].length-1;w++){var b=u[h][w].slice(),E=this._firstDayOfMonth[w];if(v){var T=this._firstDayPoints[w];b[A]=(T[A]+u[0][w+1][A])/2}var _=o.get("formatter"),x=r[+E.m-1],C={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:x},I=this._formatterLabel(_,C),L=new S.Text({z2:30});p.extend(S.setTextStyle(L.style,o,{text:I}),this._monthTextPositionControl(b,v,n,e,l)),i.add(L)}},_weekTextPositionControl:function(a,n,i,o,r){var l="center",e="middle",s=a[0],u=a[1],h=i==="start";return n==="horizontal"?(s=s+o+(h?1:-1)*r[0]/2,l=h?"right":"left"):(u=u+o+(h?1:-1)*r[1]/2,e=h?"bottom":"top"),{x:s,y:u,textAlign:l,textVerticalAlign:e}},_renderWeekText:function(a,n,i,o){var r=a.getModel("dayLabel");if(!r.get("show"))return;var l=a.coordinateSystem,e=r.get("position"),s=r.get("nameMap"),u=r.get("margin"),h=l.getFirstDayOfWeek();p.isString(s)&&(s=d[s.toUpperCase()]||[]);var A=l.getNextNDay(n.end.time,7-n.lweek).time,v=[l.getCellWidth(),l.getCellHeight()];u=g.parsePercent(u,v[i==="horizontal"?0:1]),e==="start"&&(A=l.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var w=0;w<7;w++){var b=l.getNextNDay(A,w),E=l.dataToRect([b.time],!1).center,T=w;T=Math.abs((w+h)%7);var _=new S.Text({z2:30});p.extend(S.setTextStyle(_.style,r,{text:s[T]}),this._weekTextPositionControl(E,i,e,u,v)),o.add(_)}}});R.exports=c},"7oTu":function(R,N,t){var y=t("IMiH"),p=t("QBsz"),S=p.applyTransform,m=y.CMD,g=[[],[],[]],f=Math.sqrt,d=Math.atan2;function c(a,n){var i=a.data,o,r,l,e,s,u,h=m.M,A=m.C,v=m.L,w=m.R,b=m.A,E=m.Q;for(l=0,e=0;l<i.length;){o=i[l++],e=l,r=0;switch(o){case h:r=1;break;case v:r=1;break;case A:r=3;break;case E:r=2;break;case b:var T=n[4],_=n[5],x=f(n[0]*n[0]+n[1]*n[1]),C=f(n[2]*n[2]+n[3]*n[3]),I=d(-n[1]/C,n[0]/x);i[l]*=x,i[l++]+=T,i[l]*=C,i[l++]+=_,i[l++]*=x,i[l++]*=C,i[l++]+=I,i[l++]+=I,l+=2,e=l;break;case w:u[0]=i[l++],u[1]=i[l++],S(u,u,n),i[e++]=u[0],i[e++]=u[1],u[0]+=i[l++],u[1]+=i[l++],S(u,u,n),i[e++]=u[0],i[e++]=u[1]}for(s=0;s<r;s++){var u=g[s];u[0]=i[l++],u[1]=i[l++],S(u,u,n),i[e++]=u[0],i[e++]=u[1]}}}R.exports=c},"7pVf":function(R,N,t){var y=t("ProS"),p=t("ZqQs");t("oE7X"),t("OUJF"),t("3X6L"),t("NH9N"),y.registerPreprocessor(p)},"7ph2":function(R,N){function t(S){return S instanceof Array||(S=[S,S]),S}var y="lineStyle.opacity".split("."),p={seriesType:"lines",reset:function(S,m,g){var f=t(S.get("symbol")),d=t(S.get("symbolSize")),c=S.getData();c.setVisual("fromSymbol",f&&f[0]),c.setVisual("toSymbol",f&&f[1]),c.setVisual("fromSymbolSize",d&&d[0]),c.setVisual("toSymbolSize",d&&d[1]),c.setVisual("opacity",S.get(y));function a(n,i){var o=n.getItemModel(i),r=t(o.getShallow("symbol",!0)),l=t(o.getShallow("symbolSize",!0)),e=o.get(y);r[0]&&n.setItemVisual(i,"fromSymbol",r[0]),r[1]&&n.setItemVisual(i,"toSymbol",r[1]),l[0]&&n.setItemVisual(i,"fromSymbolSize",l[0]),l[1]&&n.setItemVisual(i,"toSymbolSize",l[1]),n.setItemVisual(i,"opacity",e)}return{dataEach:c.hasItemOption?a:null}}};R.exports=p},"7uqq":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("AUH6"),f=t("+TT/"),d=t("OELB"),c=t("W4dC"),a=t("7DRL");function n(l,e){var s=l.get("boundingCoords");if(s!=null){var u=s[0],h=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(h[0])||isNaN(h[1])||this.setBoundingRect(u[0],u[1],h[0]-u[0],h[1]-u[1])}var A=this.getBoundingRect(),v,w=l.get("layoutCenter"),b=l.get("layoutSize"),E=e.getWidth(),T=e.getHeight(),_=A.width/A.height*this.aspectScale,x=!1;w&&b&&(w=[d.parsePercent(w[0],E),d.parsePercent(w[1],T)],b=d.parsePercent(b,Math.min(E,T)),!isNaN(w[0])&&!isNaN(w[1])&&!isNaN(b)&&(x=!0));var C;if(x){var C={};_>1?(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<u.length;A++)h.set(u[A].name,u[A]);var v=c.load(e,s);return m.each(v.regions,function(w){var b=w.name;!h.get(b)&&u.push({name:b})}),u}};S.registerCoordinateSystem("geo",o);var r=o;R.exports=r},"7yuC":function(R,N,t){var y=t("QBsz"),p=y.scaleAndAdd;function S(m,g,f){for(var d=f.rect,c=d.width,a=d.height,n=[d.x+c/2,d.y+a/2],i=f.gravity==null?.1:f.gravity,o=0;o<m.length;o++){var r=m[o];r.p||(r.p=y.create(c*(Math.random()-.5)+n[0],a*(Math.random()-.5)+n[1])),r.pp=y.clone(r.p),r.edges=null}var l=f.friction==null?.6:f.friction,e=l;return{warmUp:function(){e=l*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var u=[],h=m.length,A=0;A<g.length;A++){var v=g[A];if(v.ignoreForceLayout)continue;var w=v.n1,b=v.n2;y.sub(u,b.p,w.p);var E=y.len(u)-v.d,T=b.w/(w.w+b.w);isNaN(T)&&(T=0),y.normalize(u,u),!w.fixed&&p(w.p,w.p,u,T*E*e),!b.fixed&&p(b.p,b.p,u,-(1-T)*E*e)}for(var A=0;A<h;A++){var _=m[A];_.fixed||(y.sub(u,n,_.p),p(_.p,_.p,u,i*e))}for(var A=0;A<h;A++)for(var w=m[A],x=A+1;x<h;x++){var b=m[x];y.sub(u,b.p,w.p);var E=y.len(u);E===0&&(y.set(u,Math.random()-.5,Math.random()-.5),E=1);var C=(w.rep+b.rep)/E/E;!w.fixed&&p(w.pp,w.pp,u,C),!b.fixed&&p(b.pp,b.pp,u,-C)}for(var I=[],A=0;A<h;A++){var _=m[A];_.fixed||(y.sub(I,_.p,_.pp),p(_.p,_.p,I,e),y.copy(_.pp,_.p))}e=e*.992,s&&s(m,g,e<.01)}}}N.forceLayout=S},"8+yF":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,402:2294,466:16777681,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8361:3839,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8711:2245,8728:3018,8730:2262,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8756:2240,8764:2248,8771:2249,8773:16785992,8800:2237,8801:2255,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200},p={lookup:function(m){if(m>=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<y.modeInfo.length;p++){var S=y.modeInfo[p];S.mimes&&(S.mime=S.mimes[0])}y.findModeByMIME=function(m){m=m.toLowerCase();for(var g=0;g<y.modeInfo.length;g++){var f=y.modeInfo[g];if(f.mime==m)return f;if(f.mimes){for(var d=0;d<f.mimes.length;d++)if(f.mimes[d]==m)return f}}if(/\+xml$/.test(m))return y.findModeByMIME("application/xml");if(/\+json$/.test(m))return y.findModeByMIME("application/json")},y.findModeByExtension=function(m){m=m.toLowerCase();for(var g=0;g<y.modeInfo.length;g++){var f=y.modeInfo[g];if(f.ext){for(var d=0;d<f.ext.length;d++)if(f.ext[d]==m)return f}}},y.findModeByFileName=function(m){for(var g=0;g<y.modeInfo.length;g++){var f=y.modeInfo[g];if(f.file&&f.file.test(m))return f}var d=m.lastIndexOf("."),c=d>-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<y.modeInfo.length;g++){var f=y.modeInfo[g];if(f.name.toLowerCase()==m)return f;if(f.alias){for(var d=0;d<f.alias.length;d++)if(f.alias[d].toLowerCase()==m)return f}}}})},"8IMR":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:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};N.default=y},"8ISB":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("6Hfg"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"8K/p":function(R,N,t){"use strict";function y(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(r){return typeof r}:y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},y(i)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=f(t("Lo0S")),S=m(t("ItS6"));function m(i){return i&&i.__esModule?i:{default:i}}function g(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return g=function(){return i},i}function f(i){if(i&&i.__esModule)return i;if(i===null||y(i)!=="object"&&typeof i!="function")return{default:i};var o=g();if(o&&o.has(i))return o.get(i);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var s=l?Object.getOwnPropertyDescriptor(i,e):null;s&&(s.get||s.set)?Object.defineProperty(r,e,s):r[e]=i[e]}return r.default=i,o&&o.set(i,r),r}function d(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function c(i,o){for(var r=0;r<o.length;r++){var l=o[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}function a(i,o,r){return o&&c(i.prototype,o),r&&c(i,r),i}var n=function(){function i(){d(this,i),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var o=0;o<4;o++)this._zlibs[o]=new S.default}return a(i,[{key:"decodeRect",value:function(r,l,e,s,u,h,A){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var v=0;v<4;v++)this._ctl>>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<s;E++){var T=void 0,_=void 0,x=void 0;for(x=0;x<b;x++)for(var C=7;C>=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<w;b+=4,E++){var T=u[E]*3;v[b]=h[T],v[b+1]=h[T+1],v[b+2]=h[T+2],v[b+3]=255}A.blitRgbxImage(r,l,e,s,v,0,!1)}},{key:"_gradientFilter",value:function(r,l,e,s,u,h,A,v){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var l;l=r.rQshift8(),this._len=l&127,l&128&&(l=r.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=r.rQshift8(),this._len|=l<<14))}if(r.rQwait("TIGHT",this._len))return null;var e=r.rQshiftBytes(this._len);return this._len=0,e}},{key:"_getScratchBuffer",value:function(r){return(!this._scratchBuffer||this._scratchBuffer.length<r)&&(this._scratchBuffer=new Uint8Array(r)),this._scratchBuffer}}]),i}();N.default=n},"8OUc":function(R,N,t){"use strict";var y=t("q1tI"),p=t.n(y),S=t("TSYQ"),m=t.n(S),g=function(d){var c=d.className,a=d.customizeIcon,n=d.customizeIconProps,i=d.onMouseDown,o=d.onClick,r=d.children,l;return typeof a=="function"?l=a(n):l=a,y.createElement("span",{className:c,onMouseDown:function(s){s.preventDefault(),i&&i(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:o,"aria-hidden":!0},l!==void 0?l:y.createElement("span",{className:m()(c.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))};N.a=g},"8SMY":function(R,N,t){var y=t("n4Lv"),p=y.prepareDataCoordInfo,S=y.getStackedOnPoint;function m(f,d){var c=[];return d.diff(f).add(function(a){c.push({cmd:"+",idx:a})}).update(function(a,n){c.push({cmd:"=",idx:n,idx1:a})}).remove(function(a){c.push({cmd:"-",idx:a})}).execute(),c}function g(f,d,c,a,n,i,o,r){for(var l=m(f,d),e=[],s=[],u=[],h=[],A=[],v=[],w=[],b=p(n,d,o),E=p(i,f,r),T=0;T<l.length;T++){var _=l[T],x=!0;switch(_.cmd){case"=":var C=f.getItemLayout(_.idx),I=d.getItemLayout(_.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=I.slice()),e.push(C),s.push(I),u.push(c[_.idx]),h.push(a[_.idx1]),w.push(d.getRawIndex(_.idx1));break;case"+":var L=_.idx;e.push(n.dataToPoint([d.get(b.dataDimsForPoint[0],L),d.get(b.dataDimsForPoint[1],L)])),s.push(d.getItemLayout(L).slice()),u.push(S(b,n,d,L)),h.push(a[L]),w.push(d.getRawIndex(L));break;case"-":var L=_.idx,F=f.getRawIndex(L);F!==L?(e.push(f.getItemLayout(L)),s.push(i.dataToPoint([f.get(E.dataDimsForPoint[0],L),f.get(E.dataDimsForPoint[1],L)])),u.push(c[L]),h.push(S(E,i,f,L)),w.push(F)):x=!1}x&&(A.push(_),v.push(v.length))}v.sort(function(U,k){return w[U]-w[k]});for(var B=[],P=[],H=[],z=[],M=[],T=0;T<v.length;T++){var L=v[T];B[T]=e[L],P[T]=s[L],H[T]=u[L],z[T]=h[L],M[T]=A[L]}return{current:B,next:P,stackedOnCurrent:H,stackedOnNext:z,status:M}}R.exports=g},"8Skl":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:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},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="DownOutlined";var d=N.a=p.forwardRef(f)},"8Th4":function(R,N,t){var y=t("3LNs"),p=t("/y7N"),S=t("7bkD"),m=t("Znkb"),g=["x","y"],f=["width","height"],d=y.extend({makeElOption:function(o,r,l,e,s){var u=l.axis,h=u.coordinateSystem,A=n(h,1-a(u)),v=h.dataToPoint(r)[0],w=e.get("type");if(w&&w!=="none"){var b=p.buildElStyle(e),E=c[w](u,v,A);E.style=b,o.graphicKey=E.type,o.pointer=E}var T=S.layout(l);p.buildCartesianSingleLabelElOption(r,o,T,l,e,s)},getHandleTransform:function(o,r,l){var e=S.layout(r,{labelInside:!1});return e.labelMargin=l.get("handle.margin"),{position:p.getTransformedPosition(r.axis,o,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(o,r,l,e){var s=l.axis,u=s.coordinateSystem,h=a(s),A=n(u,h),v=o.position;v[h]+=r[h],v[h]=Math.min(A[1],v[h]),v[h]=Math.max(A[0],v[h]);var w=n(u,1-h),b=(w[1]+w[0])/2,E=[b,b];return E[h]=v[h],{position:v,rotation:o.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(o,r,l){var e=p.makeLineShape([r,l[0]],[r,l[1]],a(o));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(o,r,l){var e=o.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:p.makeRectShape([r-e/2,l[0]],[e,s],a(o))}}};function a(o){return o.isHorizontal()?0:1}function n(o,r){var l=o.getRect();return[l[g[r]],l[g[r]]+l[f[r]]]}m.registerAxisPointerClass("SingleAxisPointer",d);var i=d;R.exports=i},"8Uz6":function(R,N,t){var y=t("hNWo"),p=t("+TT/"),S=p.mergeLayoutParam,m=p.getLayoutParams,g=y.extend({type:"legend.scroll",setScrollDataIndex:function(c){this.option.scrollDataIndex=c},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(c,a,n,i){var o=m(c);g.superCall(this,"init",c,a,n,i),f(this,c,o)},mergeOption:function(c,a){g.superCall(this,"mergeOption",c,a),f(this,this.option,c)}});function f(c,a,n){var i=c.getOrient(),o=[1,1];o[i.index]=0,S(a,n,{type:"box",ignoreSize:o})}var d=g;R.exports=d},"8X+K":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("4mN7"),g=m.fromPoints,f=t("9wZj"),d=t("FBjb"),c=t("8SMY"),a=t("IwbS"),n=t("4NO4"),i=t("1NG9"),o=i.Polyline,r=i.Polygon,l=t("6Ic6"),e=t("n4Lv"),s=e.prepareDataCoordInfo,u=e.getStackedOnPoint,h=t("sK/D"),A=h.createGridClipPath,v=h.createPolarClipPath;function w(B,P){if(B.length!==P.length)return;for(var H=0;H<B.length;H++){var z=B[H],M=P[H];if(z[0]!==M[0]||z[1]!==M[1])return}return!0}function b(B,P){var H=[],z=[],M=[],U=[];return g(B,H,z),g(P,M,U),Math.max(Math.abs(H[0]-M[0]),Math.abs(H[1]-M[1]),Math.abs(z[0]-U[0]),Math.abs(z[1]-U[1]))}function E(B){return typeof B=="number"?B:B?.5:0}function T(B,P,H){if(!H.valueDim)return[];for(var z=[],M=0,U=P.count();M<U;M++)z.push(u(H,B,P,M));return z}function _(B,P,H){for(var z=P.getBaseAxis(),M=z.dim==="x"||z.dim==="radius"?0:1,U=[],k=0;k<B.length-1;k++){var K=B[k+1],j=B[k];U.push(j);var V=[];switch(H){case"end":V[M]=K[M],V[1-M]=j[1-M],U.push(V);break;case"middle":var W=(j[M]+K[M])/2,X=[];V[M]=X[M]=W,V[1-M]=j[1-M],X[1-M]=K[1-M],U.push(V),U.push(X);break;default:V[M]=j[M],V[1-M]=K[1-M],U.push(V)}}return B[k]&&U.push(B[k]),U}function x(B,P){var H=B.getVisual("visualMeta");if(!H||!H.length||!B.count())return;if(P.type!=="cartesian2d")return;for(var z,M,U=H.length-1;U>=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;k<M;k+=U)if(d.getSymbolSize(P,k)[B.isHorizontal()?1:0]*1.5>z)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;Ae<ae.length;Ae++){var me=ae[Ae].cmd;if(me==="="){var Me=B.getItemGraphicEl(ae[Ae].idx1);Me&&G.push({el:Me,ptIdx:Ae})}}k.animators&&k.animators.length&&k.animators[0].during(function(){for(var oe=0;oe<G.length;oe++){var _e=G[oe].el;_e.attr("position",k.shape.__points[G[oe].ptIdx])}})},remove:function(B){var P=this.group,H=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),H&&H.eachItemGraphicEl(function(z,M){z.__temp&&(P.remove(z),H.setItemGraphicEl(M,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});R.exports=F},"8XDt":function(R,N,t){t("qH13");var y=t("aX58"),p=y.registerPainter,S=t("6fms");p("vml",S)},"8hn6":function(R,N){var t="#eee",y=function(){return{axisLine:{lineStyle:{color:t}},axisTick:{lineStyle:{color:t}},axisLabel:{textStyle:{color:t}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:t}}}},p=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],S={color:p,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:t},crossStyle:{color:t},label:{color:"#000"}}},legend:{textStyle:{color:t}},textStyle:{color:t},title:{textStyle:{color:t}},toolbox:{iconStyle:{normal:{borderColor:t}}},dataZoom:{textStyle:{color:t}},visualMap:{textStyle:{color:t}},timeline:{lineStyle:{color:t},itemStyle:{normal:{color:p[1]}},label:{normal:{textStyle:{color:t}}},controlStyle:{normal:{color:t,borderColor:t}}},timeAxis:y(),logAxis:y(),valueAxis:y(),categoryAxis:y(),line:{symbol:"circle"},graph:{color:p},gauge:{title:{textStyle:{color:t}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};S.categoryAxis.splitLine.show=!1;var m=S;R.exports=m},"8nMs":function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("+rIm"),m=t("Znkb"),g=t("AVZG"),f=t("WN+l"),d=f.rectCoordAxisBuildSplitArea,c=f.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine","minorSplitLine"],i=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(o,r,l,e){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new p.Group,this.group.add(this._axisGroup),!o.get("show"))return;var u=o.getCoordSysModel(),h=g.layout(u,o),A=new S(o,h);y.each(a,A.add,A),this._axisGroup.add(A.getGroup()),y.each(n,function(v){o.get(v+".show")&&this["_"+v](o,u)},this),p.groupTransition(s,this._axisGroup,o),i.superCall(this,"render",o,r,l,e)},remove:function(){c(this)},_splitLine:function(o,r){var l=o.axis;if(l.scale.isBlank())return;var e=o.getModel("splitLine"),s=e.getModel("lineStyle"),u=s.get("color");u=y.isArray(u)?u:[u];for(var h=r.coordinateSystem.getRect(),A=l.isHorizontal(),v=0,w=l.getTicksCoords({tickModel:e}),b=[],E=[],T=s.getLineStyle(),_=0;_<w.length;_++){var x=l.toGlobalCoord(w[_].coord);A?(b[0]=x,b[1]=h.y,E[0]=x,E[1]=h.y+h.height):(b[0]=h.x,b[1]=x,E[0]=h.x+h.width,E[1]=x);var C=v++%u.length,I=w[_].tickValue;this._axisGroup.add(new p.Line({anid:I!=null?"line_"+w[_].tickValue:null,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:y.defaults({stroke:u[C]},T),silent:!0}))}},_minorSplitLine:function(o,r){var l=o.axis,e=o.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=r.coordinateSystem.getRect(),h=l.isHorizontal(),A=l.getMinorTicksCoords();if(!A.length)return;for(var v=[],w=[],b=s.getLineStyle(),E=0;E<A.length;E++)for(var T=0;T<A[E].length;T++){var _=l.toGlobalCoord(A[E][T].coord);h?(v[0]=_,v[1]=u.y,w[0]=_,w[1]=u.y+u.height):(v[0]=u.x,v[1]=_,w[0]=u.x+u.width,w[1]=_),this._axisGroup.add(new p.Line({anid:"minor_line_"+A[E][T].tickValue,subPixelOptimize:!0,shape:{x1:v[0],y1:v[1],x2:w[0],y2:w[1]},style:b,silent:!0}))}},_splitArea:function(o,r){d(this,this._axisGroup,o,r)}});i.extend({type:"xAxis"}),i.extend({type:"yAxis"})},"8nly":function(R,N,t){var y=t("mFDi"),p=t("4mN7"),S=t("QBsz"),m=t("BlVb");function g(d,c,a){if(this.name=d,this.geometries=c,a)a=[a[0],a[1]];else{var n=this.getBoundingRect();a=[n.x+n.width/2,n.y+n.height/2]}this.center=a}g.prototype={constructor:g,properties:null,getBoundingRect:function(){var d=this._rect;if(d)return d;for(var c=Number.MAX_VALUE,a=[c,c],n=[-c,-c],i=[],o=[],r=this.geometries,l=0;l<r.length;l++){if(r[l].type!=="polygon")continue;var e=r[l].exterior;p.fromPoints(e,i,o),S.min(a,a,i),S.max(n,n,o)}return l===0&&(a[0]=a[1]=n[0]=n[1]=0),this._rect=new y(a[0],a[1],n[0]-a[0],n[1]-a[1])},contain:function(d){var c=this.getBoundingRect(),a=this.geometries;if(!c.contain(d[0],d[1]))return!1;e:for(var n=0,i=a.length;n<i;n++){if(a[n].type!=="polygon")continue;var o=a[n].exterior,r=a[n].interiors;if(m.contain(o,d[0],d[1])){for(var l=0;l<(r?r.length:0);l++)if(m.contain(r[l]))continue e;return!0}}return!1},transformTo:function(d,c,a,n){var i=this.getBoundingRect(),o=i.width/i.height;a?n||(n=a/o):a=o*n;for(var r=new y(d,c,a,n),l=i.calculateTransform(r),e=this.geometries,s=0;s<e.length;s++){if(e[s].type!=="polygon")continue;for(var u=e[s].exterior,h=e[s].interiors,A=0;A<u.length;A++)S.applyTransform(u[A],u[A],l);for(var v=0;v<(h?h.length:0);v++)for(var A=0;A<h[v].length;A++)S.applyTransform(h[v][A],h[v][A],l)}i=this._rect,i.copy(r),this.center=[i.x+i.width/2,i.y+i.height/2]},cloneShallow:function(d){d==null&&(d=this.name);var c=new g(d,this.geometries,this.center);return c._rect=this._rect,c.transformTo=null,c}};var f=g;R.exports=f},"8waO":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("iLNv"),m=t("ZWlE");t("hJvP"),t("IXyC"),t("xRUu");var g=5;y.extendComponentView({type:"parallel",render:function(c,a,n){this._model=c,this._api=n,this._handlers||(this._handlers={},p.each(f,function(i,o){n.getZr().on(o,this._handlers[o]=p.bind(i,this))},this)),S.createOrUpdate(this,"_throttledDispatchExpand",c.get("axisExpandRate"),"fixRate")},dispose:function(c,a){p.each(this._handlers,function(n,i){a.getZr().off(i,n)}),this._handlers=null},_throttledDispatchExpand:function(c){this._dispatchExpand(c)},_dispatchExpand:function(c){c&&this._api.dispatchAction(p.extend({type:"parallelAxisExpand"},c))}});var f={mousedown:function(c){d(this,"click")&&(this._mouseDownPoint=[c.offsetX,c.offsetY])},mouseup:function(c){var a=this._mouseDownPoint;if(d(this,"click")&&a){var n=[c.offsetX,c.offsetY],i=Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2);if(i>g)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+"'",ot=new Error(Lt);return ot.status=ir.status,ot.method=ur.method,ot.url=ur.action,ot}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 ot=ur.headers||{};return ot["X-Requested-With"]!==null&&ir.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(ot).forEach(function(Xe){ot[Xe]!==null&&ir.setRequestHeader(Xe,ot[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(","),ot=ur.name||"",Xe=ur.type||"",$t=Xe.replace(/\/.*$/,"");return Lt.some(function(Sr){var vr=Sr.trim();return vr.charAt(0)==="."?A(ot.toLowerCase(),vr.toLowerCase()):/\/\*$/.test(vr)?$t===vr.replace(/\/.*$/,""):Xe===vr})}return!0};function w(ur,ir){var Lt=ur.createReader(),ot=[];function Xe(){Lt.readEntries(function($t){var Sr=Array.prototype.slice.apply($t);ot=ot.concat(Sr);var vr=!Sr.length;vr?ir(ot):Xe()})}Xe()}var b=function(ir,Lt,ot){var Xe=function $t(Sr,vr){vr=vr||"",Sr.isFile?Sr.file(function(fr){ot(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<arguments.length;ir++){var Lt=arguments[ir];for(var ot in Lt)Object.prototype.hasOwnProperty.call(Lt,ot)&&(ur[ot]=Lt[ot])}return ur},_=function(){function ur(ir,Lt){var ot=[],Xe=!0,$t=!1,Sr=void 0;try{for(var vr=ir[Symbol.iterator](),fr;!(Xe=(fr=vr.next()).done)&&!(ot.push(fr.value),Lt&&ot.length===Lt);Xe=!0);}catch(An){$t=!0,Sr=An}finally{try{!Xe&&vr.return&&vr.return()}finally{if($t)throw Sr}}return ot}return function(ir,Lt){if(Array.isArray(ir))return ir;if(Symbol.iterator in Object(ir))return ur(ir,Lt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),x=function(){function ur(ir,Lt){for(var ot=0;ot<Lt.length;ot++){var Xe=Lt[ot];Xe.enumerable=Xe.enumerable||!1,Xe.configurable=!0,"value"in Xe&&(Xe.writable=!0),Object.defineProperty(ir,Xe.key,Xe)}}return function(ir,Lt,ot){return Lt&&ur(ir.prototype,Lt),ot&&ur(ir,ot),ir}}();function C(ur,ir,Lt){return ir in ur?Object.defineProperty(ur,ir,{value:Lt,enumerable:!0,configurable:!0,writable:!0}):ur[ir]=Lt,ur}function I(ur,ir){var Lt={};for(var ot in ur){if(ir.indexOf(ot)>=0)continue;if(!Object.prototype.hasOwnProperty.call(ur,ot))continue;Lt[ot]=ur[ot]}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,ot){return(ot.substr(0,5)==="data-"||ot.substr(0,5)==="aria-"||ot==="role")&&(Lt[ot]=ir[ot]),Lt},{})},H=function(ur){B(ir,ur);function ir(){var Lt,ot,Xe,$t;L(this,ir);for(var Sr=arguments.length,vr=Array(Sr),fr=0;fr<Sr;fr++)vr[fr]=arguments[fr];return $t=(ot=(Xe=F(this,(Lt=ir.__proto__||Object.getPrototypeOf(ir)).call.apply(Lt,[this].concat(vr))),Xe),Xe.state={uid:h()},Xe.reqs={},Xe.onChange=function(An){var Zr=An.target.files;Xe.uploadFiles(Zr),Xe.reset()},Xe.onClick=function(An){var Zr=Xe.fileInput;if(!Zr)return;var Ln=Xe.props,Je=Ln.children,et=Ln.onClick;Je&&Je.type==="button"&&(Zr.parentNode.focus(),Zr.parentNode.querySelector("button").blur()),Zr.click(),et&&et(An)},Xe.onKeyDown=function(An){An.key==="Enter"&&Xe.onClick()},Xe.onFileDrop=function(An){var Zr=Xe.props.multiple;if(An.preventDefault(),An.type==="dragover")return;if(Xe.props.directory)E(Array.prototype.slice.call(An.dataTransfer.items),Xe.uploadFiles,function(Je){return v(Je,Xe.props.accept)});else{var Ln=Array.prototype.slice.call(An.dataTransfer.files).filter(function(Je){return v(Je,Xe.props.accept)});Zr===!1&&(Ln=Ln.slice(0,1)),Xe.uploadFiles(Ln)}},Xe.uploadFiles=function(An){var Zr=Array.prototype.slice.call(An);Zr.map(function(Ln){return Ln.uid=h(),Ln}).forEach(function(Ln){Xe.upload(Ln,Zr)})},Xe.saveFileInput=function(An){Xe.fileInput=An},ot),F(Xe,$t)}return x(ir,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(ot,Xe){var $t=this,Sr=this.props;if(!Sr.beforeUpload)return setTimeout(function(){return $t.post(ot)},0);var vr=Sr.beforeUpload(ot,Xe);vr&&vr.then?vr.then(function(fr){var An=Object.prototype.toString.call(fr);return An==="[object File]"||An==="[object Blob]"?$t.post(fr):$t.post(ot)}).catch(function(fr){console.log(fr)}):vr!==!1&&setTimeout(function(){return $t.post(ot)},0);return}},{key:"post",value:function(ot){var Xe=this;if(!this._isMounted)return;var $t=this.props,Sr=$t.onStart,vr=$t.onProgress,fr=$t.transformFile,An=fr===void 0?function(Zr){return Zr}:fr;new Promise(function(Zr){var Ln=$t.action;return typeof Ln=="function"&&(Ln=Ln(ot)),Zr(Ln)}).then(function(Zr){var Ln=ot.uid,Je=$t.customRequest||e,et=Promise.resolve(An(ot)).then(function(be){var Le=$t.data;return typeof Le=="function"&&(Le=Le(be)),Promise.all([be,Le])}).catch(function(be){console.error(be)});et.then(function(be){var Le=_(be,2),Ue=Le[0],rt=Le[1],Vt={action:Zr,filename:$t.name,data:rt,file:Ue,headers:$t.headers,withCredentials:$t.withCredentials,method:$t.method||"post",onProgress:vr?function(Ft){vr(Ft,ot)}:null,onSuccess:function(zt,Dr){delete Xe.reqs[Ln],$t.onSuccess(zt,ot,Dr)},onError:function(zt,Dr){delete Xe.reqs[Ln],$t.onError(zt,Dr,ot)}};Sr(ot),Xe.reqs[Ln]=Je(Vt)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(ot){var Xe=this.reqs;if(ot){var $t=ot;ot&&ot.uid&&($t=ot.uid),Xe[$t]&&Xe[$t].abort&&Xe[$t].abort(),delete Xe[$t]}else Object.keys(Xe).forEach(function(Sr){Xe[Sr]&&Xe[Sr].abort&&Xe[Sr].abort(),delete Xe[Sr]})}},{key:"render",value:function(){var ot,Xe=this.props,$t=Xe.component,Sr=Xe.prefixCls,vr=Xe.className,fr=Xe.disabled,An=Xe.id,Zr=Xe.style,Ln=Xe.multiple,Je=Xe.accept,et=Xe.children,be=Xe.directory,Le=Xe.openFileDialogOnClick,Ue=Xe.onMouseEnter,rt=Xe.onMouseLeave,Vt=I(Xe,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ft=o()((ot={},C(ot,Sr,!0),C(ot,Sr+"-disabled",fr),C(ot,vr,vr),ot)),zt=fr?{}:{onClick:Le?this.onClick:function(){},onKeyDown:Le?this.onKeyDown:function(){},onMouseEnter:Ue,onMouseLeave:rt,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return n.a.createElement($t,T({},zt,{className:Ft,role:"button",style:Zr}),n.a.createElement("input",T({},P(Vt),{id:An,type:"file",ref:this.saveFileInput,onClick:function(Pr){return Pr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Je,directory:be?"directory":null,webkitdirectory:be?"webkitdirectory":null,multiple:Ln,onChange:this.onChange})),et)}}]),ir}(a.Component),z=H,M=Object.assign||function(ur){for(var ir=1;ir<arguments.length;ir++){var Lt=arguments[ir];for(var ot in Lt)Object.prototype.hasOwnProperty.call(Lt,ot)&&(ur[ot]=Lt[ot])}return ur},U=function(){function ur(ir,Lt){for(var ot=0;ot<Lt.length;ot++){var Xe=Lt[ot];Xe.enumerable=Xe.enumerable||!1,Xe.configurable=!0,"value"in Xe&&(Xe.writable=!0),Object.defineProperty(ir,Xe.key,Xe)}}return function(ir,Lt,ot){return Lt&&ur(ir.prototype,Lt),ot&&ur(ir,ot),ir}}();function k(ur,ir){if(!(ur instanceof ir))throw new TypeError("Cannot call a class as a function")}function K(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 j(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)}function V(){}var W=function(ur){j(ir,ur);function ir(){var Lt,ot,Xe,$t;k(this,ir);for(var Sr=arguments.length,vr=Array(Sr),fr=0;fr<Sr;fr++)vr[fr]=arguments[fr];return $t=(ot=(Xe=K(this,(Lt=ir.__proto__||Object.getPrototypeOf(ir)).call.apply(Lt,[this].concat(vr))),Xe),Xe.saveUploader=function(An){Xe.uploader=An},ot),K(Xe,$t)}return U(ir,[{key:"abort",value:function(ot){this.uploader.abort(ot)}},{key:"render",value:function(){return n.a.createElement(z,M({},this.props,{ref:this.saveUploader}))}}]),ir}(a.Component);W.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var X=W,J=X,de=function(ur,ir){var Lt={};for(var ot in ur)Object.prototype.hasOwnProperty.call(ur,ot)&&ir.indexOf(ot)<0&&(Lt[ot]=ur[ot]);if(ur!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,ot=Object.getOwnPropertySymbols(ur);Xe<ot.length;Xe++)ir.indexOf(ot[Xe])<0&&Object.prototype.propertyIsEnumerable.call(ur,ot[Xe])&&(Lt[ot[Xe]]=ur[ot[Xe]]);return Lt},G=function(ir,Lt){var ot=ir.style,Xe=ir.height,$t=de(ir,["style","height"]);return a.createElement(cr,f()({ref:Lt},$t,{type:"drag",style:f()(f()({},ot),{height:Xe})}))},ae=a.forwardRef(G);ae.displayName="Dragger";var Ae=ae,me=t("MFj2"),Me=t("gZBC"),oe=t.n(Me),_e=t("+d4F"),ee=t.n(_e),ne=t("XAae"),Ge=t.n(ne),Ee=t("6xvX"),ue=t.n(Ee),re=t("qPY4"),ce=t.n(re),ke=t("QB+1"),Te=t.n(ke),Ke=t("Qs3X"),Ie=t.n(Ke),se=t("0n0R");function ye(){return!0}function xe(ur){return f()(f()({},ur),{lastModified:ur.lastModified,lastModifiedDate:ur.lastModifiedDate,name:ur.name,size:ur.size,type:ur.type,uid:ur.uid,percent:0,originFileObj:ur})}function Ye(ur,ir){var Lt=ur.uid!==void 0?"uid":"name";return ir.filter(function(ot){return ot[Lt]===ur[Lt]})[0]}function pt(ur,ir){var Lt=ur.uid!==void 0?"uid":"name",ot=ir.filter(function(Xe){return Xe[Lt]!==ur[Lt]});return ot.length===ir.length?null:ot}var nt=function(){var ir=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Lt=ir.split("/"),ot=Lt[Lt.length-1],Xe=ot.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,ot=nt(Lt);return/^data:image\//.test(Lt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(ot)?!0:/^data:/.test(Lt)?!1:!ot},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 ot=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<Sr?(fr=Sr*(Ze/$t),Zr=-(fr-vr)/2):(vr=$t*(Ze/Sr),An=-(vr-fr)/2),ot.drawImage(Xe,An,Zr,vr,fr);var Ln=Lt.toDataURL();document.body.removeChild(Lt),ir(Ln)},Xe.src=window.URL.createObjectURL(ur)})}var xt=t("3S7+"),Ot=t("CFYs"),Mt=t("H84U"),Gt=t("2/Rp"),$e=t("hkKa"),pe=function(ir,Lt){var ot,Xe=ir.listType,$t=ir.previewFile,Sr=ir.onPreview,vr=ir.onDownload,fr=ir.onRemove,An=ir.locale,Zr=ir.iconRender,Ln=ir.isImageUrl,Je=ir.prefixCls,et=ir.items,be=et===void 0?[]:et,Le=ir.showPreviewIcon,Ue=ir.showRemoveIcon,rt=ir.showDownloadIcon,Vt=ir.removeIcon,Ft=ir.downloadIcon,zt=ir.progress,Dr=Object($e.a)();a.useEffect(function(){if(Xe!=="picture"&&Xe!=="picture-card")return;(be||[]).forEach(function(ar){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ar.originFileObj instanceof File||ar.originFileObj instanceof Blob)||ar.thumbUrl!==void 0)return;ar.thumbUrl="",$t&&$t(ar.originFileObj).then(function(lr){ar.thumbUrl=lr||"",Dr()})})},[Xe,be,$t]);var Pr=function(lr,Gr){return Sr?(Gr.preventDefault(),Sr(lr)):void 0},un=function(lr){typeof vr=="function"?vr(lr):lr.url&&window.open(lr.url)},Ht=function(lr){fr&&fr(lr)},dt=function(lr){if(Zr)return Zr(lr,Xe);var Gr=lr.status==="uploading",Jr=Ln&&Ln(lr)?a.createElement(Ge.a,null):a.createElement(ue.a,null),Tn=Gr?a.createElement(oe.a,null):a.createElement(ee.a,null);return Xe==="picture"?Tn=Gr?a.createElement(oe.a,null):Jr:Xe==="picture-card"&&(Tn=Gr?An.uploading:Jr),Tn},at=function(lr,Gr,Jr,Tn){var Nn={type:"text",size:"small",title:Tn,onClick:function(vi){Gr(),Object(se.b)(lr)&&lr.props.onClick&&lr.props.onClick(vi)},className:"".concat(Jr,"-list-item-card-actions-btn")};if(Object(se.b)(lr)){var zn=Object(se.a)(lr,f()(f()({},lr.props),{onClick:function(){}}));return a.createElement(Gt.a,f()({},Nn,{icon:zn}))}return a.createElement(Gt.a,Nn,a.createElement("span",null,lr))};a.useImperativeHandle(Lt,function(){return{handlePreview:Pr,handleDownload:un}});var Qt=a.useContext(Mt.b),Jt=Qt.getPrefixCls,gt=Qt.direction,Bt=Jt("upload",Je),mt=be.map(function(ar){var lr,Gr,Jr,Tn=dt(ar),Nn=a.createElement("div",{className:"".concat(Bt,"-text-icon")},Tn);if(Xe==="picture"||Xe==="picture-card")if(ar.status==="uploading"||!ar.thumbUrl&&!ar.url){var zn,qn=o()((zn={},p()(zn,"".concat(Bt,"-list-item-thumbnail"),!0),p()(zn,"".concat(Bt,"-list-item-file"),ar.status!=="uploading"),zn));Nn=a.createElement("div",{className:qn},Tn)}else{var vi,Ri=Ln&&Ln(ar)?a.createElement("img",{src:ar.thumbUrl||ar.url,alt:ar.name,className:"".concat(Bt,"-list-item-image")}):Tn,Ve=o()((vi={},p()(vi,"".concat(Bt,"-list-item-thumbnail"),!0),p()(vi,"".concat(Bt,"-list-item-file"),Ln&&!Ln(ar)),vi));Nn=a.createElement("a",{className:Ve,onClick:function(Br){return Pr(ar,Br)},href:ar.url||ar.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ri)}if(ar.status==="uploading"){var Se="percent"in ar?a.createElement(Ot.a,f()({},zt,{type:"line",percent:ar.percent})):null;Jr=a.createElement("div",{className:"".concat(Bt,"-list-item-progress"),key:"progress"},Se)}var Re=o()((lr={},p()(lr,"".concat(Bt,"-list-item"),!0),p()(lr,"".concat(Bt,"-list-item-").concat(ar.status),!0),p()(lr,"".concat(Bt,"-list-item-list-type-").concat(Xe),!0),lr)),Be=typeof ar.linkProps=="string"?JSON.parse(ar.linkProps):ar.linkProps,We=Ue?at(Vt||a.createElement(Te.a,null),function(){return Ht(ar)},Bt,An.removeFile):null,He=rt&&ar.status==="done"?at(Ft||a.createElement(Ie.a,null),function(){return un(ar)},Bt,An.downloadFile):null,Qe=Xe!=="picture-card"&&a.createElement("span",{key:"download-delete",className:"".concat(Bt,"-list-item-card-actions ").concat(Xe==="picture"?"picture":"")},He,We),At=o()((Gr={},p()(Gr,"".concat(Bt,"-list-item-name"),!0),p()(Gr,"".concat(Bt,"-list-item-name-icon-count-").concat([He,We].filter(function(Xr){return Xr}).length),!0),Gr)),st=ar.url?[a.createElement("a",f()({key:"view",target:"_blank",rel:"noopener noreferrer",className:At,title:ar.name},Be,{href:ar.url,onClick:function(Br){return Pr(ar,Br)}}),ar.name),Qe]:[a.createElement("span",{key:"view",className:At,onClick:function(Br){return Pr(ar,Br)},title:ar.name},ar.name),Qe],Pt={pointerEvents:"none",opacity:.5},wr=Le?a.createElement("a",{href:ar.url||ar.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ar.url||ar.thumbUrl?void 0:Pt,onClick:function(Br){return Pr(ar,Br)},title:An.previewFile},a.createElement(ce.a,null)):null,mr=Xe==="picture-card"&&ar.status!=="uploading"&&a.createElement("span",{className:"".concat(Bt,"-list-item-actions")},wr,ar.status==="done"&&He,We),Or;ar.response&&typeof ar.response=="string"?Or=ar.response:Or=ar.error&&ar.error.statusText||An.uploadError;var jt=a.createElement("span",null,Nn,st),cn=a.createElement("div",{className:Re},a.createElement("div",{className:"".concat(Bt,"-list-item-info")},jt),mr,a.createElement(me.a,{transitionName:"fade",component:""},Jr)),nr=o()(p()({},"".concat(Bt,"-list-picture-card-container"),Xe==="picture-card"));return a.createElement("div",{key:ar.uid,className:nr},ar.status==="error"?a.createElement(xt.a,{title:Or,getPopupContainer:function(Br){return Br.parentNode}},cn):a.createElement("span",null,cn))}),kt=o()((ot={},p()(ot,"".concat(Bt,"-list"),!0),p()(ot,"".concat(Bt,"-list-").concat(Xe),!0),p()(ot,"".concat(Bt,"-list-rtl"),gt==="rtl"),ot)),gr=Xe==="picture-card"?"animate-inline":"animate";return a.createElement(me.a,{transitionName:"".concat(Bt,"-").concat(gr),component:"div",className:kt},mt)},q=a.forwardRef(pe);q.displayName="UploadList",q.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:wt,isImageUrl:vt};var bt=q,qe=t("YMnH"),le=t("ZvpZ"),Nt=t("uaoM"),tr=t("sPtV"),lt=function(ir,Lt){var ot,Xe=ir.fileList,$t=ir.defaultFileList,Sr=ir.onRemove,vr=ir.showUploadList,fr=ir.listType,An=ir.onPreview,Zr=ir.onDownload,Ln=ir.previewFile,Je=ir.disabled,et=ir.locale,be=ir.iconRender,Le=ir.isImageUrl,Ue=ir.progress,rt=ir.prefixCls,Vt=ir.className,Ft=ir.type,zt=ir.children,Dr=ir.style,Pr=Object(tr.a)(Xe||$t||[]),un=c()(Pr,2),Ht=un[0],dt=un[1],at=a.useState("drop"),Qt=c()(at,2),Jt=Qt[0],gt=Qt[1],Bt=a.useRef();a.useEffect(function(){dt(Xe||$t||[]),Object(Nt.a)("fileList"in ir||!("value"in ir),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),a.useEffect(function(){"fileList"in ir&&dt(Xe||[])},[Xe]);var mt=function(st){"fileList"in ir||dt(st.fileList);var Pt=ir.onChange;Pt&&Pt(f()(f()({},st),{fileList:m()(st.fileList)}))},kt=function(st){var Pt=xe(st);Pt.status="uploading";var wr=Ht().concat(),mr=wr.findIndex(function(Or){var jt=Or.uid;return jt===Pt.uid});mr===-1?wr.push(Pt):wr[mr]=Pt,mt({file:Pt,fileList:wr})},gr=function(st,Pt,wr){try{typeof st=="string"&&(st=JSON.parse(st))}catch(Or){}var mr=Ye(Pt,Ht());if(!mr)return;mr.status="done",mr.response=st,mr.xhr=wr,mt({file:f()({},mr),fileList:Ht().concat()})},ar=function(st,Pt){var wr=Ye(Pt,Ht());if(!wr)return;wr.percent=st.percent,mt({event:st,file:f()({},wr),fileList:Ht().concat()})},lr=function(st,Pt,wr){var mr=Ye(wr,Ht());if(!mr)return;mr.error=st,mr.response=Pt,mr.status="error",mt({file:f()({},mr),fileList:Ht().concat()})},Gr=function(st){Promise.resolve(typeof Sr=="function"?Sr(st):Sr).then(function(Pt){if(Pt===!1)return;var wr=pt(st,Ht());wr&&(st.status="removed",Bt.current&&Bt.current.abort(st),mt({file:st,fileList:wr}))})},Jr=function(st){gt(st.type)},Tn=function(st,Pt){var wr=ir.beforeUpload;if(!wr)return!0;var mr=wr(st,Pt);if(mr===!1){var Or=[];return Ht().concat(Pt.map(xe)).forEach(function(jt){Or.every(function(cn){return cn.uid!==jt.uid})&&Or.push(jt)}),mt({file:st,fileList:Or}),!1}return mr&&mr.then?mr:!0},Nn=Object($e.a)();a.useImperativeHandle(Lt,function(){return{onStart:kt,onSuccess:gr,onProgress:ar,onError:lr,fileList:Ht(),upload:Bt.current,forceUpdate:Nn}});var zn=function(st){var Pt=vr.showRemoveIcon,wr=vr.showPreviewIcon,mr=vr.showDownloadIcon,Or=vr.removeIcon,jt=vr.downloadIcon;return a.createElement(bt,{listType:fr,items:Ht(),previewFile:Ln,onPreview:An,onDownload:Zr,onRemove:Gr,showRemoveIcon:!Je&&Pt,showPreviewIcon:wr,showDownloadIcon:mr,removeIcon:Or,downloadIcon:jt,iconRender:be,locale:f()(f()({},st),et),isImageUrl:Le,progress:Ue})},qn=a.useContext(Mt.b),vi=qn.getPrefixCls,Ri=qn.direction,Ve=vi("upload",rt),Se=f()(f()({onStart:kt,onError:lr,onProgress:ar,onSuccess:gr},ir),{prefixCls:Ve,beforeUpload:Tn});delete Se.className,delete Se.style,(!zt||Je)&&delete Se.id;var Re=vr?a.createElement(qe.a,{componentName:"Upload",defaultLocale:le.a.Upload},zn):null;if(Ft==="drag"){var Be,We=o()(Ve,(Be={},p()(Be,"".concat(Ve,"-drag"),!0),p()(Be,"".concat(Ve,"-drag-uploading"),Ht().some(function(At){return At.status==="uploading"})),p()(Be,"".concat(Ve,"-drag-hover"),Jt==="dragover"),p()(Be,"".concat(Ve,"-disabled"),Je),p()(Be,"".concat(Ve,"-rtl"),Ri==="rtl"),Be),Vt);return a.createElement("span",null,a.createElement("div",{className:We,onDrop:Jr,onDragOver:Jr,onDragLeave:Jr,style:Dr},a.createElement(J,f()({},Se,{ref:Bt,className:"".concat(Ve,"-btn")}),a.createElement("div",{className:"".concat(Ve,"-drag-container")},zt))),Re)}var He=o()(Ve,(ot={},p()(ot,"".concat(Ve,"-select"),!0),p()(ot,"".concat(Ve,"-select-").concat(fr),!0),p()(ot,"".concat(Ve,"-disabled"),Je),p()(ot,"".concat(Ve,"-rtl"),Ri==="rtl"),ot)),Qe=a.createElement("div",{className:He,style:zt?void 0:{display:"none"}},a.createElement(J,f()({},Se,{ref:Bt})));return fr==="picture-card"?a.createElement("span",{className:o()(Vt,"".concat(Ve,"-picture-card-wrapper"))},Re,Qe):a.createElement("span",{className:Vt},Qe,Re)},Wt=a.forwardRef(lt);Wt.Dragger=Ae,Wt.displayName="Upload",Wt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ye,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var cr=Wt;cr.Dragger=Ae;var Vr=N.a=cr},"98bh":function(R,N,t){var y=t("ProS"),p=t("5GtS"),S=t("bYtY"),m=t("4NO4"),g=t("OELB"),f=g.getPercentWithPrecision,d=t("cCMj"),c=t("KxfA"),a=c.retrieveRawAttr,n=t("D5nY"),i=n.makeSeriesEncodeForNameBased,o=t("xKMd"),r=y.extendSeriesModel({type:"series.pie",init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new o(S.bind(this.getData,this),S.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){r.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,s){return p(this,{coordDimensions:["value"],encodeDefaulter:S.curry(i,this)})},_createSelectableList:function(){for(var e=this.getRawData(),s=e.mapDimension("value"),u=[],h=0,A=e.count();h<A;h++)u.push({name:e.getName(h),value:e.get(s,h),selected:a(e,h,"selected")});return u},getDataParams:function(e){var s=this.getData(),u=r.superCall(this,"getDataParams",e),h=[];return s.each(s.mapDimension("value"),function(A){h.push(A)}),u.percent=f(h,e,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(e){m.defaultEmphasis(e,"labelLine",["show"]);var s=e.labelLine,u=e.emphasis.labelLine;s.show=s.show&&e.label.show,u.show=u.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});S.mixin(r,d);var l=r;R.exports=l},"9H2F":function(R,N,t){var y=t("bYtY"),p=y.assert,S=y.isArray,m=t("Tghj"),g=m.__DEV__;function f(o){return new d(o)}function d(o){o=o||{},this._reset=o.reset,this._plan=o.plan,this._count=o.count,this._onDirty=o.onDirty,this._dirty=!0,this.context}var c=d.prototype;c.perform=function(o){var r=this._upstream,l=o&&o.skip;if(this._dirty&&r){var e=this.context;e.data=e.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var u=w(this._modBy),h=this._modDataCount||0,A=w(o&&o.modBy),v=o&&o.modDataCount||0;(u!==A||h!==v)&&(s="reset");function w(L){return!(L>=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;C<x.length;C++)n(this,x[C],T,_,A,v);else n(this,x,T,_,A,v)}this._dueIndex=_;var I=this._settedOutputEnd!=null?this._settedOutputEnd:_;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var a=function(){var o,r,l,e,s,u={reset:function(v,w,b,E){r=v,o=w,l=b,e=E,s=Math.ceil(e/l),u.next=l>1&&e>0?A:h}};return u;function h(){return r<o?r++:null}function A(){var v=r%s*l+Math.ceil(r/s),w=r>=o?null:v<e?v:r;return r++,w}}();c.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function n(o,r,l,e,s,u){a.reset(l,e,s,u),o._callingProgress=r,o._callingProgress({start:l,end:e,count:e-l,next:a.next},o.context)}function i(o,r){o._dueIndex=o._outputDueEnd=o._dueEnd=0,o._settedOutputEnd=null;var l,e;!r&&o._reset&&(l=o._reset(o.context),l&&l.progress&&(e=l.forceFirstProgress,l=l.progress),S(l)&&!l.length&&(l=null)),o._progress=l,o._modBy=o._modDataCount=null;var s=o._downstream;return s&&s.dirty(),e}c.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},c.pipe=function(o){(this._downstream!==o||this._dirty)&&(this._downstream=o,o._upstream=this,o.dirty())},c.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},c.getUpstream=function(){return this._upstream},c.getDownstream=function(){return this._downstream},c.setOutputEnd=function(o){this._outputDueEnd=this._settedOutputEnd=o},N.createTask=f},"9KIM":function(R,N,t){var y=t("mFDi"),p=t("xSat"),S=p.onIrrelevantElement,m=t("IwbS");function g(a){return a=c(a),function(n,i){return m.clipPointsByRect(n,a)}}function f(a,n){return a=c(a),function(i){var o=n!=null?n:i,r=o?a.width:a.height,l=o?a.x:a.y;return[l,l+(r||0)]}}function d(a,n,i){return a=c(a),function(o,r,l){return a.contain(r[0],r[1])&&!S(o,n,i)}}function c(a){return y.create(a)}N.makeRectPanelClipPath=g,N.makeLinearBrushOtherExtent=f,N.makeRectIsTargetByCursor=d},"9ama":function(R,N,t){},"9eas":function(R,N,t){t("HM/N"),t("tBnm")},"9hCq":function(R,N,t){var y=t("IwbS"),p=t("+TT/"),S=t("bYtY"),m=t("VaxA"),g=m.wrapTreePathInfo,f=8,d=8,c=5;function a(r){this.group=new y.Group,r.add(this.group)}a.prototype={constructor:a,render:function(r,l,e,s){var u=r.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!u.get("show")||!e)return;var A=u.getModel("itemStyle"),v=A.getModel("textStyle"),w={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,w,v),this._renderContent(r,w,A,v,s),p.positionElement(h,w.pos,w.box)},_prepare:function(r,l,e){for(var s=r;s;s=s.parentNode){var u=s.getModel().get("name"),h=e.getTextRect(u),A=Math.max(h.width+f*2,l.emptyItemWidth);l.totalWidth+=A+d,l.renderList.push({node:s,text:u,width:A})}},_renderContent:function(r,l,e,s,u){for(var h=0,A=l.emptyItemWidth,v=r.get("breadcrumb.height"),w=p.getAvailableSize(l.pos,l.box),b=l.totalWidth,E=l.renderList,T=E.length-1;T>=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;l<r;l++)i=Math.min(i,f[a][l]),o=Math.max(o,f[a][l]),n+=f[a][l];var e;return g==="min"?e=i:g==="max"?e=o:g==="average"?e=n/r:e=n,r===0?NaN:e})}function S(m){var g={};m.eachSeriesByType("map",function(f){var d=f.getHostGeoModel(),c=d?"o"+d.id:"i"+f.getMapType();(g[c]=g[c]||[]).push(f)}),y.each(g,function(f,d){for(var c=p(y.map(f,function(n){return n.getData()}),f[0].get("mapValueCalculation")),a=0;a<f.length;a++)f[a].originalData=f[a].getData();for(var a=0;a<f.length;a++)f[a].seriesGroup=f,f[a].needsDrawMap=a===0&&!f[a].getHostGeoModel(),f[a].setData(c.cloneShallow()),f[a].mainSeries=f[0]})}R.exports=S},"9wZj":function(R,N,t){var y=t("IwbS"),p=t("FBjb"),S=t("bYtY"),m=S.isObject;function g(i){this.group=new y.Group,this._symbolCtor=i||p}var f=g.prototype;function d(i,o,r,l){return o&&!isNaN(o[0])&&!isNaN(o[1])&&!(l.isIgnore&&l.isIgnore(r))&&!(l.clipShape&&!l.clipShape.contain(o[0],o[1]))&&i.getItemVisual(r,"symbol")!=="none"}f.updateData=function(i,o){o=c(o);var r=this.group,l=i.hostModel,e=this._data,s=this._symbolCtor,u=a(i);e||r.removeAll(),i.diff(e).add(function(h){var A=i.getItemLayout(h);if(d(i,A,h,o)){var v=new s(i,h,u);v.attr("position",A),i.setItemGraphicEl(h,v),r.add(v)}}).update(function(h,A){var v=e.getItemGraphicEl(A),w=i.getItemLayout(h);if(!d(i,w,h,o)){r.remove(v);return}v?(v.updateData(i,h,u),y.updateProps(v,{position:w},l)):(v=new s(i,h),v.attr("position",w)),r.add(v),i.setItemGraphicEl(h,v)}).remove(function(h){var A=e.getItemGraphicEl(h);A&&A.fadeOut(function(){r.remove(A)})}).execute(),this._data=i},f.isPersistent=function(){return!0},f.updateLayout=function(){var i=this._data;i&&i.eachItemGraphicEl(function(o,r){var l=i.getItemLayout(r);o.attr("position",l)})},f.incrementalPrepareUpdate=function(i){this._seriesScope=a(i),this._data=null,this.group.removeAll()},f.incrementalUpdate=function(i,o,r){r=c(r);function l(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var e=i.start;e<i.end;e++){var s=o.getItemLayout(e);if(d(o,s,e,r)){var u=new this._symbolCtor(o,e,this._seriesScope);u.traverse(l),u.attr("position",s),this.group.add(u),o.setItemGraphicEl(e,u)}}};function c(i){return i!=null&&!m(i)&&(i={isIgnore:i}),i||{}}f.remove=function(i){var o=this.group,r=this._data;r&&i?r.eachItemGraphicEl(function(l){l.fadeOut(function(){o.remove(l)})}):o.removeAll()};function a(i){var o=i.hostModel;return{itemStyle:o.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:o.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:o.get("symbolRotate"),symbolOffset:o.get("symbolOffset"),hoverAnimation:o.get("hoverAnimation"),labelModel:o.getModel("label"),hoverLabelModel:o.getModel("emphasis.label"),cursorStyle:o.get("cursor")}}var n=g;R.exports=n},"9yH6":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("q1tI"),f=t("x1Ya"),d=t("TSYQ"),c=t.n(d),a=t("H84U"),n=g.createContext(null),i=n.Provider,o=n,r=t("cDf5"),l=t.n(r);function e(H,z){typeof H=="function"?H(z):l()(H)==="object"&&H&&"current"in H&&(H.current=z)}function s(){for(var H=arguments.length,z=new Array(H),M=0;M<H;M++)z[M]=arguments[M];return function(U){z.forEach(function(k){e(k,U)})}}var u=t("uaoM"),h=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<U.length;k++)z.indexOf(U[k])<0&&Object.prototype.propertyIsEnumerable.call(H,U[k])&&(M[U[k]]=H[U[k]]);return M},A=function(z,M){var U,k=g.useContext(o),K=g.useContext(a.b),j=K.getPrefixCls,V=K.direction,W=g.useRef(),X=s(M,W);g.useEffect(function(){Object(u.a)(!("optionType"in z),"Radio","`optionType` is only support in Radio.Group.")},[]);var J=function(ne){z.onChange&&z.onChange(ne),(k==null?void 0:k.onChange)&&k.onChange(ne)},de=z.prefixCls,G=z.className,ae=z.children,Ae=z.style,me=h(z,["prefixCls","className","children","style"]),Me=j("radio",de),oe=m()({},me);k&&(oe.name=k.name,oe.onChange=J,oe.checked=z.value===k.value,oe.disabled=z.disabled||k.disabled);var _e=c()(G,(U={},p()(U,"".concat(Me,"-wrapper"),!0),p()(U,"".concat(Me,"-wrapper-checked"),oe.checked),p()(U,"".concat(Me,"-wrapper-disabled"),oe.disabled),p()(U,"".concat(Me,"-wrapper-rtl"),V==="rtl"),U));return g.createElement("label",{className:_e,style:Ae,onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},g.createElement(f.a,m()({},oe,{prefixCls:Me,ref:X})),ae!==void 0?g.createElement("span",null,ae):null)},v=g.forwardRef(A);v.displayName="Radio",v.defaultProps={type:"radio"};var w=v,b=t("J4zp"),E=t.n(b),T=t("6cGi"),_=t("3Nzz"),x=g.forwardRef(function(H,z){var M=g.useContext(a.b),U=M.getPrefixCls,k=M.direction,K=g.useContext(_.b),j=Object(T.a)(H.defaultValue,{value:H.value}),V=E()(j,2),W=V[0],X=V[1],J=function(ae){var Ae=W,me=ae.target.value;"value"in H||X(me);var Me=H.onChange;Me&&me!==Ae&&Me(ae)},de=function(){var ae,Ae=H.prefixCls,me=H.className,Me=me===void 0?"":me,oe=H.options,_e=H.optionType,ee=H.buttonStyle,ne=H.disabled,Ge=H.children,Ee=H.size,ue=H.style,re=H.id,ce=H.onMouseEnter,ke=H.onMouseLeave,Te=U("radio",Ae),Ke="".concat(Te,"-group"),Ie=Ge;if(oe&&oe.length>0){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<U.length;k++)z.indexOf(U[k])<0&&Object.prototype.propertyIsEnumerable.call(H,U[k])&&(M[U[k]]=H[U[k]]);return M},L=function(z,M){var U=g.useContext(o),k=g.useContext(a.b),K=k.getPrefixCls,j=z.prefixCls,V=I(z,["prefixCls"]),W=K("radio-button",j);return U&&(V.checked=z.value===U.value,V.disabled=z.disabled||U.disabled),g.createElement(w,m()({prefixCls:W},V,{type:"radio",ref:M}))},F=g.forwardRef(L),B=w;B.Button=F,B.Group=C;var P=N.a=B},A1Ka:function(R,N,t){var y=t("bLfw"),p=t("sS/r"),S=t("D5nY"),m=S.detectSourceFormat,g=t("k9D9"),f=g.SERIES_LAYOUT_BY_COLUMN;y.extend({type:"dataset",defaultOption:{seriesLayoutBy:f,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),p.extend({type:"dataset"})},ABKa: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("Qs9O")),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="FolderOutlined";var c=m.forwardRef(d);N.default=c},ACnJ:function(R,N,t){"use strict";t.d(N,"b",function(){return g});var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=["xxl","xl","lg","md","sm","xs"],f={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},d=new Map,c=-1,a={},n={matchHandlers:{},dispatch:function(o){return a=o,d.forEach(function(r){return r(a)}),d.size>=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<<m|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;m<S.length;m++)S[m]=y.endian(S[m]);return S},randomBytes:function(S){for(var m=[];S>0;S--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(S){for(var m=[],g=0,f=0;g<S.length;g++,f+=8)m[f>>>5]|=S[g]<<24-f%32;return m},wordsToBytes:function(S){for(var m=[],g=0;g<S.length*32;g+=8)m.push(S[g>>>5]>>>24-g%32&255);return m},bytesToHex:function(S){for(var m=[],g=0;g<S.length;g++)m.push((S[g]>>>4).toString(16)),m.push((S[g]&15).toString(16));return m.join("")},hexToBytes:function(S){for(var m=[],g=0;g<S.length;g+=2)m.push(parseInt(S.substr(g,2),16));return m},bytesToBase64:function(S){for(var m=[],g=0;g<S.length;g+=3)for(var f=S[g]<<16|S[g+1]<<8|S[g+2],d=0;d<4;d++)g*8+d*6<=S.length*8?m.push(t.charAt(f>>>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<S.length;f=++g%4){if(f==0)continue;m.push((t.indexOf(S.charAt(g-1))&Math.pow(2,-2*f+8)-1)<<f*2|t.indexOf(S.charAt(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<a.length;n++)if(a[n].contain(c))return!0;return!1},transformTo:function(c,a,n,i){var o=this.getBoundingRect(),r=this._invertLongitute;o=o.clone(),r&&(o.y=-o.y-o.height);var l=this._rawTransformable;if(l.transform=o.calculateTransform(new p(c,a,n,i)),l.decomposeTransform(),r){var e=l.scale;e[1]=-e[1]}l.updateTransform(),this._updateTransform()},getRegion:function(c){return this._regionsMap.get(c)},getRegionByCoord:function(c){for(var a=this.regions,n=0;n<a.length;n++)if(a[n].contain(c))return a[n]},addGeoCoord:function(c,a){this._nameCoordMap.set(c,a)},getGeoCoord:function(c){return this._nameCoordMap.get(c)},getBoundingRect:function(){return this._rect},dataToPoint:function(c,a,n){if(typeof c=="string"&&(c=this.getGeoCoord(c)),c)return S.prototype.dataToPoint.call(this,c,a,n)},convertToPixel:y.curry(f,"dataToPoint"),convertFromPixel:y.curry(f,"pointToData")},y.mixin(g,S);function f(c,a,n,i){var o=n.geoModel,r=n.seriesModel,l=o?o.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[c](i):null}var d=g;R.exports=d},AVZG:function(R,N,t){var y=t("bYtY");function p(S,m,g){g=g||{};var f=S.coordinateSystem,d=m.axis,c={},a=d.getAxesOnZeroOf()[0],n=d.position,i=a?"onZero":n,o=d.dim,r=f.getRect(),l=[r.x,r.x+r.width,r.y,r.y+r.height],e={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,u=o==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(a){var h=a.toGlobalCoord(a.dataToCoord(0));u[e.onZero]=Math.max(Math.min(h,u[1]),u[0])}c.position=[o==="y"?u[e[i]]:l[0],o==="x"?u[e[i]]:l[3]],c.rotation=Math.PI/2*(o==="x"?0:1);var A={top:-1,bottom:1,left:-1,right:1};c.labelDirection=c.tickDirection=c.nameDirection=A[n],c.labelOffset=a?u[e[n]]-u[e.onZero]:0,m.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),y.retrieve(g.labelInside,m.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var v=m.get("axisLabel.rotate");return c.labelRotate=i==="top"?-v:v,c.z2=1,c}N.layout=p},"Ae+d":function(R,N){function t(p,S,m){var g=p.target,f=g.position;f[0]+=S,f[1]+=m,g.dirty()}function y(p,S,m,g){var f=p.target,d=p.zoomLimit,c=f.position,a=f.scale,n=p.zoom=p.zoom||1;if(n*=S,d){var i=d.min||0,o=d.max||Infinity;n=Math.max(Math.min(o,n),i)}var r=n/p.zoom;p.zoom=n,c[0]-=(m-c[0])*(r-1),c[1]-=(g-c[1])*(r-1),a[0]*=r,a[1]*=r,f.dirty()}N.updateViewOnPan=t,N.updateViewOnZoom=y},Ae16:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS");t("Wqna"),t("rySg"),y.extendComponentView({type:"grid",render:function(m,g){this.group.removeAll(),m.get("show")&&this.group.add(new S.Rect({shape:m.coordinateSystem.getRect(),style:p.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),y.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("PQMj"),m=t.n(S)},"B+YJ":function(R,N,t){t("TYVI"),t("p1MT")},"B6l+":function(R,N,t){var y=t("Sq3C"),p=t("Z1HP"),S=t("Sxd8"),m=t("dt0z");function g(f,d,c){f=m(f),d=S(d);var a=d?p(f):0;return d&&a<d?f+y(d-a,c):f}R.exports=g},B9cy:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("0XgM"),m=t.n(S)},B9fm:function(R,N,t){var y=t("bYtY"),p=t("Qe9p"),S=t("YH21"),m=t("Ze12"),g=t("ItGF"),f=t("7aKB"),d=y.each,c=f.toCamelCase,a=["","-webkit-","-moz-","-o-"],n="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function i(u){var h="cubic-bezier(0.23, 1, 0.32, 1)",A="left "+u+"s "+h+",top "+u+"s "+h;return y.map(a,function(v){return v+"transition:"+A}).join(";")}function o(u){var h=[],A=u.get("fontSize"),v=u.getTextColor();return v&&h.push("color:"+v),h.push("font:"+u.getFont()),A&&h.push("line-height:"+Math.round(A*3/2)+"px"),d(["decoration","align"],function(w){var b=u.get(w);b&&h.push("text-"+w+":"+b)}),h.join(";")}function r(u){var h=[],A=u.get("transitionDuration"),v=u.get("backgroundColor"),w=u.getModel("textStyle"),b=u.get("padding");return A&&h.push(i(A)),v&&(g.canvasSupported?h.push("background-Color:"+v):(h.push("background-Color:#"+p.toHex(v)),h.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],function(E){var T="border-"+E,_=c(T),x=u.get(_);x!=null&&h.push(T+":"+x+(E==="color"?"":"px"))}),h.push(o(w)),b!=null&&h.push("padding:"+f.normalizeCssArray(b).join("px ")+"px"),h.join(";")+";"}function l(u,h,A,v,w){var b=h&&h.painter;if(A){var E=b&&b.getViewportRoot();E&&m.transformLocalCoord(u,E,document.body,v,w)}else{u[0]=v,u[1]=w;var T=b&&b.getViewportRootOffset();T&&(u[0]+=T.offsetLeft,u[1]+=T.offsetTop)}}function e(u,h,A){if(g.wxa)return null;var v=document.createElement("div");v.domBelongToZr=!0,this.el=v;var w=this._zr=h.getZr(),b=this._appendToBody=A&&A.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,w,b,h.getWidth()/2,h.getHeight()/2),b?document.body.appendChild(v):u.appendChild(v),this._container=u,this._show=!1,this._hideTimeout;var E=this;v.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},v.onmousemove=function(T){if(T=T||window.event,!E._enterable){var _=w.handler,x=w.painter.getViewportRoot();S.normalizeEvent(x,T,!0),_.dispatch("mousemove",T)}},v.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var u=this._container,h=u.currentStyle||document.defaultView.getComputedStyle(u),A=u.style;A.position!=="absolute"&&h.position!=="absolute"&&(A.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var h=this.el,A=this._styleCoord;h.style.cssText=n+r(u)+";left:"+A[0]+"px;top:"+A[1]+"px;"+(u.get("extraCssText")||""),h.style.display=h.innerHTML?"block":"none",h.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,h){var A=this._styleCoord;l(A,this._zr,this._appendToBody,u,h);var v=this.el.style;v.left=A[0]+"px",v.top=A[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,h=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(this.el);A&&(u+=parseInt(A.borderLeftWidth,10)+parseInt(A.borderRightWidth,10),h+=parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10))}return{width:u,height:h}}};var s=e;R.exports=s},BEtg:function(R,N){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @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<r&&l(i[e],i[e-1])<0;)e++;g(i,o,e)}else for(;e<r&&l(i[e],i[e-1])>=0;)e++;return e-o}function g(i,o,r){for(r--;o<r;){var l=i[o];i[o++]=i[r],i[r--]=l}}function f(i,o,r,l,e){for(l===o&&l++;l<r;l++){for(var s=i[l],u=o,h=l,A;u<h;)A=u+h>>>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;A<h&&s(i,o[r+e+A])>0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=e,A+=e}else{for(h=e+1;A<h&&s(i,o[r+e-A])<=0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var v=u;u=e-A,A=e-v}for(u++;u<A;){var w=u+(A-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;A<h&&s(i,o[r+e-A])<0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h);var v=u;u=e-A,A=e-v}else{for(h=l-e;A<h&&s(i,o[r+e+A])>=0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=e,A+=e}for(u++;u<A;){var w=u+(A-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]&&C--;else if(h[C]>h[C+1])break;T(C)}}function E(){for(;A>1;){var C=A-2;C>0&&h[C-1]<h[C+1]&&C--,T(C)}}function T(C){var I=u[C],L=h[C],F=u[C+1],B=h[C+1];h[C]=L+B,C===A-3&&(u[C+1]=u[C+2],h[C+1]=h[C+2]),A--;var P=c(i[F],i,I,L,0,o);if(I+=P,L-=P,L===0)return;if(B=d(i[I+L-1],i,F,B,B-1,o),B===0)return;L<=B?_(I,L,F,B):x(I,L,F,B)}function _(C,I,L,F){var B=0;for(B=0;B<I;B++)v[B]=i[C+B];var P=0,H=L,z=C;if(i[z++]=i[H++],--F===0){for(B=0;B<I;B++)i[z+B]=v[P+B];return}if(I===1){for(B=0;B<F;B++)i[z+B]=i[H+B];i[z+F]=v[P];return}for(var M=r,U,k,K;;){U=0,k=0,K=!1;do if(o(i[H],v[P])<0){if(i[z++]=i[H++],k++,U=0,--F===0){K=!0;break}}else if(i[z++]=v[P++],U++,k=0,--I===1){K=!0;break}while((U|k)<M);if(K)break;do{if(U=c(i[H],v,P,I,0,o),U!==0){for(B=0;B<U;B++)i[z+B]=v[P+B];if(z+=U,P+=U,I-=U,I<=1){K=!0;break}}if(i[z++]=i[H++],--F===0){K=!0;break}if(k=d(v[P],i,H,F,0,o),k!==0){for(B=0;B<k;B++)i[z+B]=i[H+B];if(z+=k,H+=k,F-=k,F===0){K=!0;break}}if(i[z++]=v[P++],--I===1){K=!0;break}M--}while(U>=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<F;B++)i[z+B]=i[H+B];i[z+F]=v[P]}else{if(I===0)throw new Error;for(B=0;B<I;B++)i[z+B]=v[P+B]}}function x(C,I,L,F){var B=0;for(B=0;B<F;B++)v[B]=i[L+B];var P=C+I-1,H=F-1,z=L+F-1,M=0,U=0;if(i[z--]=i[P--],--I===0){for(M=z-(F-1),B=0;B<F;B++)i[M+B]=v[B];return}if(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];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)<k);if(V)break;do{if(K=I-c(v[H],i,C,I,I-1,o),K!==0){for(z-=K,P-=K,I-=K,U=z+1,M=P+1,B=K-1;B>=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<j;B++)i[U+B]=v[M+B];if(F<=1){V=!0;break}}if(i[z--]=i[P--],--I===0){V=!0;break}k--}while(K>=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;B<F;B++)i[M+B]=v[B]}}this.mergeRuns=b,this.forceMergeRuns=E,this.pushRun=w}function n(i,o,r,l){r||(r=0),l||(l=i.length);var e=l-r;if(e<2)return;var s=0;if(e<t){s=m(i,r,l,o),f(i,r,l,r+s,o);return}var u=new a(i,o),h=S(e);do{if(s=m(i,r,l,o),s<h){var A=e;A>h&&(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;r<n.length;r++){if(!n[r].empty())return y.Pass;var l=n[r].head,e=a.getTokenAt(l),s=y.innerMode(a.getMode(),e.state),u=s.state,h=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),A=h&&h.name;if(!A)return y.Pass;var v=s.mode.configuration=="html",w=typeof o=="object"&&o.dontCloseTags||v&&p,b=typeof o=="object"&&o.indentTags||v&&S;e.end>l.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:">"+(_?`
|
|
|
|
|
|
`:"")+"</"+A+">",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?"/":"</",l=a.getOption("autoCloseTags"),e=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<i.length;s++){if(!i[s].empty())return y.Pass;var u=i[s].head,h=a.getTokenAt(u),A=y.innerMode(a.getMode(),h.state),v=A.state;if(n&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=u.ch-1))return y.Pass;var w,b=A.mode.name!="xml"&&a.getMode().name=="htmlmixed";if(b&&A.mode.name=="javascript")w=r+"script";else if(b&&A.mode.name=="css")w=r+"style";else{var E=A.mode.xmlCurrentContext&&A.mode.xmlCurrentContext(v);if(!E||E.length&&c(a,E,E[E.length-1],u))return y.Pass;w=r+E[E.length-1]}a.getLine(u.line).charAt(h.end)!=">"&&(w+=">"),o[s]=w}if(a.replaceSelections(o),i=a.listSelections(),!e)for(var s=0;s<i.length;s++)(s==i.length-1||i[s].head.line<i[s+1].head.line)&&a.indentLine(i[s].head.line)}function f(a){return a.getOption("disableInput")?y.Pass:g(a,!0)}y.commands.closeTag=function(a){return g(a)};function d(a,n){if(a.indexOf)return a.indexOf(n);for(var i=0,o=a.length;i<o;++i)if(a[i]==n)return i;return-1}function c(a,n,i,o,r){if(!y.scanForClosingTag)return!1;var l=Math.min(a.lastLine()+1,o.line+500),e=y.scanForClosingTag(a,o,null,l);if(!e||e.tag!=i)return!1;for(var s=r?1:0,u=n.length-1;u>=0&&n[u]==i;u--)++s;o=e.to;for(var u=1;u<s;u++){var h=y.scanForClosingTag(a,o,null,l);if(!h||h.tag!=i)return!1;o=h.to}return!0}})},BlVb:function(R,N,t){var y=t("hyiK"),p=1e-8;function S(g,f){return Math.abs(g-f)<p}function m(g,f,d){var c=0,a=g[0];if(!a)return!1;for(var n=1;n<g.length;n++){var i=g[n];c+=y(a[0],a[1],i[0],i[1],f,d),a=i}var o=g[0];return(!S(a[0],o[0])||!S(a[1],o[1]))&&(c+=y(a[0],a[1],o[0],o[1],f,d)),c!==0}N.contain=m},BoS7:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("czTT"),m=t.n(S)},Bq2U:function(R,N,t){var y=t("RDYZ"),p=t("Qe9p"),S=t("bYtY"),m=S.isArrayLike,g=Array.prototype.slice;function f(w,b){return w[b]}function d(w,b,E){w[b]=E}function c(w,b,E){return(b-w)*E+w}function a(w,b,E){return E>.5?b:w}function n(w,b,E,T,_){var x=w.length;if(_===1)for(var C=0;C<x;C++)T[C]=c(w[C],b[C],E);else for(var I=x&&w[0].length,C=0;C<x;C++)for(var L=0;L<I;L++)T[C][L]=c(w[C][L],b[C][L],E)}function i(w,b,E){var T=w.length,_=b.length;if(T!==_){var x=T>_;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<w.length;C++)if(E===1)isNaN(w[C])&&(w[C]=b[C]);else for(var L=0;L<I;L++)isNaN(w[C][L])&&(w[C][L]=b[C][L])}function o(w,b,E){if(w===b)return!0;var T=w.length;if(T!==b.length)return!1;if(E===1){for(var _=0;_<T;_++)if(w[_]!==b[_])return!1}else for(var x=w[0].length,_=0;_<T;_++)for(var C=0;C<x;C++)if(w[_][C]!==b[_][C])return!1;return!0}function r(w,b,E,T,_,x,C,I,L){var F=w.length;if(L===1)for(var B=0;B<F;B++)I[B]=l(w[B],b[B],E[B],T[B],_,x,C);else for(var P=w[0].length,B=0;B<F;B++)for(var H=0;H<P;H++)I[B][H]=l(w[B][H],b[B][H],E[B][H],T[B][H],_,x,C)}function l(w,b,E,T,_,x,C){var I=(E-w)*.5,L=(T-b)*.5;return(2*(b-E)+I+L)*C+(-3*(b-E)-2*I-L)*x+I*_+b}function e(w){if(m(w)){var b=w.length;if(m(w[0])){for(var E=[],T=0;T<b;T++)E.push(g.call(w[T]));return E}return g.call(w)}return w}function s(w){return w[0]=Math.floor(w[0]),w[1]=Math.floor(w[1]),w[2]=Math.floor(w[2]),"rgba("+w.join(",")+")"}function u(w){var b=w[w.length-1].value;return m(b&&b[0])?2:1}function h(w,b,E,T,_,x){var C=w._getter,I=w._setter,L=b==="spline",F=T.length;if(!F)return;var B=T[0].value,P=m(B),H=!1,z=!1,M=P?u(T):0,U;T.sort(function(ue,re){return ue.time-re.time}),U=T[F-1].time;for(var k=[],K=[],j=T[0].value,V=!0,W=0;W<F;W++){k.push(T[W].time/U);var X=T[W].value;if(P&&o(X,j,M)||!P&&X===j||(V=!1),j=X,typeof X=="string"){var J=p.parse(X);J?(X=J,H=!0):z=!0}K.push(X)}if(!x&&V)return;for(var de=K[F-1],W=0;W<F-1;W++)P?i(K[W],de,M):isNaN(K[W])&&!isNaN(de)&&!z&&!H&&(K[W]=de);P&&i(C(w._target,_),de,M);var G=0,ae=0,Ae,me,Me,oe,_e,ee;if(H)var ne=[0,0,0,0];var Ge=function(re,ce){var ke;if(ce<0)ke=0;else if(ce<ae){for(Ae=Math.min(G+1,F-1),ke=Ae;ke>=0&&!(k[ke]<=ce);ke--);ke=Math.min(ke,F-2)}else{for(ke=G;ke<F&&!(k[ke]>ce);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;b<this._clipList.length;b++)this._clipList[b].pause();this._paused=!0},resume:function(){for(var b=0;b<this._clipList.length;b++)this._clipList[b].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var b=this._doneList,E=b.length,T=0;T<E;T++)b[T].call(this)},start:function(b,E){var T=this,_=0,x=function(){_--,_||T._doneCallback()},C;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var L=h(this,b,x,this._tracks[I],I,E);L&&(this._clipList.push(L),_++,this.animation&&this.animation.addClip(L),C=L)}if(C){var F=C.onframe;C.onframe=function(B,P){F(B,P);for(var H=0;H<T._onframeList.length;H++)T._onframeList[H](B,P)}}return _||this._doneCallback(),this},stop:function(b){for(var E=this._clipList,T=this.animation,_=0;_<E.length;_++){var x=E[_];b&&x.onframe(this._target,1),T&&T.removeClip(x)}E.length=0},delay:function(b){return this._delay=b,this},done:function(b){return b&&this._doneList.push(b),this},getClips:function(){return this._clipList}};var v=A;R.exports=v},Bqw1: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:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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:"minus-square",theme:"outlined"};N.default=y},Bsck:function(R,N,t){var y=t("bYtY"),p=t("Qxkt"),S=t("Mdki"),m=t("YXkt"),g=t("sdST"),f=function(n,i){this.name=n||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=i};f.prototype={constructor:f,isRemoved:function(){return this.dataIndex<0},eachNode:function(n,i,o){typeof n=="function"&&(o=i,i=n,n=null),n=n||{},y.isString(n)&&(n={order:n});var r=n.order||"preorder",l=this[n.attr||"children"],e;r==="preorder"&&(e=i.call(o,this));for(var s=0;!e&&s<l.length;s++)l[s].eachNode(n,i,o);r==="postorder"&&i.call(o,this)},updateDepthAndHeight:function(n){var i=0;this.depth=n;for(var o=0;o<this.children.length;o++){var r=this.children[o];r.updateDepthAndHeight(n+1),r.height>i&&(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<r;i++){var l=o[i].getNodeById(n);if(l)return l}},contains:function(n){if(n===this)return!0;for(var i=0,o=this.children,r=o.length;i<r;i++){var l=o[i].contains(n);if(l)return l}},getAncestors:function(n){for(var i=[],o=n?this:this.parentNode;o;)i.push(o),o=o.parentNode;return i.reverse(),i},getValue:function(n){var i=this.hostTree.data;return i.get(i.getDimension(n||"value"),this.dataIndex)},setLayout:function(n,i){this.dataIndex>=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;o<r;o++)i[o].dataIndex=-1;for(var o=0,r=n.count();o<r;o++)i[n.getRawIndex(o)].dataIndex=o},clearLayouts:function(){this.data.clearItemLayouts()}},d.createTree=function(n,i,o,r){var l=new d(i,o&&o.levels),e=[],s=1;u(n);function u(v,w){var b=v.value;s=Math.max(s,y.isArray(b)?b.length:1),e.push(v);var E=new f(v.name,l);w?c(E,w):l.root=E,l._nodes.push(E);var T=v.children;if(T)for(var _=0;_<T.length;_++)u(T[_],E)}l.root.updateDepthAndHeight(0);var h=g(e,{coordDimensions:["value"],dimensionsCount:s}),A=new m(h,i);return A.initData(e),r&&r(A),S({mainData:A,struct:l,structAttr:"tree"}),l.update(),l};function c(n,i){var o=i.children;if(n.parentNode===i)return;o.push(n),n.parentNode=i}var a=d;R.exports=a},BtR2: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:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",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="LikeOutlined";var d=N.a=p.forwardRef(f)},BuqR:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("6uqw"),g=t("XxSj"),f=t("YOMW"),d=t("OELB"),c=d.reformIntervals,a=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(r,l){a.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();n[this._mode].call(this),this._resetSelected(r,l);var s=this.option.categories;this.resetVisual(function(u,h){e==="categories"?(u.mappingMethod="category",u.categories=S.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=S.map(this._pieceList,function(A){var A=S.clone(A);return h!=="inRange"&&(A.visual=null),A}))})},completeVisualOption:function(){var r=this.option,l={},e=g.listVisualTypes(),s=this.isCategory();S.each(r.pieces,function(h){S.each(e,function(A){h.hasOwnProperty(A)&&(l[A]=1)})}),S.each(l,function(h,A){var v=0;S.each(this.stateList,function(w){v|=u(r,w,A)||u(r.target,w,A)},this),!v&&S.each(this.stateList,function(w){(r[w]||(r[w]={}))[A]=f.get(A,w==="inRange"?"active":"inactive",s)})},this);function u(h,A,v){return h&&h[A]&&(S.isObject(h[A])?h[A].hasOwnProperty(v):h[A]===v)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,l){var e=this.option,s=this._pieceList,u=(l?e:r).selected||{};if(e.selected=u,S.each(s,function(A,v){var w=this.getSelectedMapKey(A);u.hasOwnProperty(w)||(u[w]=!0)},this),e.selectedMode==="single"){var h=!1;S.each(s,function(A,v){var w=this.getSelectedMapKey(A);u[w]&&(h?u[w]=!1:h=!0)},this)}},getSelectedMapKey:function(r){return this._mode==="categories"?r.value+"":r.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var r=this.option;return r.pieces&&r.pieces.length>0?"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<u;v+=h,A++){var w=A===u-1?s[1]:v+h;l.push({interval:[v,w],close:[1,1]})}r.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),c(l),S.each(l,function(b,E){b.index=E,b.text=this.formatValueText(b.interval)},this)},categories:function(){var r=this.option;S.each(r.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),i(r,this._pieceList)},pieces:function(){var r=this.option,l=this._pieceList;S.each(r.pieces,function(e,s){S.isObject(e)||(e={value:e});var u={text:"",index:s};if(e.label!=null&&(u.text=e.label),e.hasOwnProperty("value")){var h=u.value=e.value;u.interval=[h,h],u.close=[1,1]}else{for(var A=u.interval=[],v=u.close=[0,0],w=[1,0,1],b=[-Infinity,Infinity],E=[],T=0;T<2;T++){for(var _=[["gte","gt","min"],["lte","lt","max"]][T],x=0;x<3&&A[T]==null;x++)A[T]=e[_[x]],v[T]=w[x],E[T]=x===2;A[T]==null&&(A[T]=b[T])}E[0]&&A[1]===Infinity&&(v[0]=0),E[1]&&A[0]===-Infinity&&(v[1]=0),A[0]===A[1]&&v[0]&&v[1]&&(u.value=A[0])}u.visual=g.retrieveVisuals(e),l.push(u)},this),i(r,l),c(l),S.each(l,function(e){var s=e.close,u=[["<","\u2264"][s[1]],[">","\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 Ht});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,at){return dt.test(at)}function Ae(dt){var at=dt||(typeof navigator!="undefined"?navigator.userAgent:""),Qt=at.split("[FBAN");if(typeof Qt[1]!="undefined"){var Jt=Qt,gt=Object(B.a)(Jt,1);at=gt[0]}if(Qt=at.split("Twitter"),typeof Qt[1]!="undefined"){var Bt=Qt,mt=Object(B.a)(Bt,1);at=mt[0]}var kt={apple:{phone:ae(P,at)&&!ae(j,at),ipod:ae(H,at),tablet:!ae(P,at)&&ae(z,at)&&!ae(j,at),device:(ae(P,at)||ae(H,at)||ae(z,at))&&!ae(j,at)},amazon:{phone:ae(k,at),tablet:!ae(k,at)&&ae(K,at),device:ae(k,at)||ae(K,at)},android:{phone:!ae(j,at)&&ae(k,at)||!ae(j,at)&&ae(M,at),tablet:!ae(j,at)&&!ae(k,at)&&!ae(M,at)&&(ae(K,at)||ae(U,at)),device:!ae(j,at)&&(ae(k,at)||ae(K,at)||ae(M,at)||ae(U,at))||ae(/\bokhttp\b/i,at)},windows:{phone:ae(j,at),tablet:ae(V,at),device:ae(j,at)||ae(V,at)},other:{blackberry:ae(W,at),blackberry10:ae(X,at),opera:ae(J,at),firefox:ae(G,at),chrome:ae(de,at),device:ae(W,at)||ae(X,at)||ae(J,at)||ae(G,at)||ae(de,at)},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,at,Qt){var Jt=at||"";return dt.key||"".concat(Jt,"item_").concat(Qt)}function ee(dt){return"".concat(dt,"-menu-")}function ne(dt,at){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,at(gt,Qt)}):at(Jt,Qt)})}function Ge(dt,at,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;at.indexOf(Jt.key)!==-1?Qt.find=!0:Jt.props.children&&Ge(Jt.props.children,at,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(at){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=at&&typeof at.getBoundingClientRect=="function"&&at.getBoundingClientRect().width;if(Jt){if(Qt){var gt=getComputedStyle(at),Bt=gt.marginLeft,mt=gt.marginRight;Jt+=+Bt.replace("px","")+ +mt.replace("px","")}Jt=+Jt.toFixed(6)}return Jt||0},re=function(at,Qt,Jt){at&&Object(F.a)(at.style)==="object"&&(at.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(at,Qt,Jt){var gt=ee(Qt),Bt=at.getState();at.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},Bt.defaultActiveFirst),{},Object(E.a)({},gt,Jt))})},wt=function(dt){Object(h.a)(Qt,dt);var at=Object(A.a)(Qt);function Qt(Jt){var gt;Object(e.a)(this,Qt),gt=at.call(this,Jt),gt.onDestroy=function(lr){gt.props.onDestroy(lr)},gt.onKeyDown=function(lr){var Gr=lr.keyCode,Jr=gt.menuInstance,Tn=gt.props,Nn=Tn.isOpen,zn=Tn.store;if(Gr===T.a.ENTER)return gt.onTitleClick(lr),Ze(zn,gt.props.eventKey,!0),!0;if(Gr===T.a.RIGHT)return Nn?Jr.onKeyDown(lr):(gt.triggerOpenChange(!0),Ze(zn,gt.props.eventKey,!0)),!0;if(Gr===T.a.LEFT){var qn;if(Nn)qn=Jr.onKeyDown(lr);else return;return qn||(gt.triggerOpenChange(!1),qn=!0),qn}return Nn&&(Gr===T.a.UP||Gr===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 Gr=gt.props,Jr=Gr.eventKey,Tn=Gr.onMouseEnter,Nn=Gr.store;Ze(Nn,gt.props.eventKey,!1),Tn({key:Jr,domEvent:lr})},gt.onMouseLeave=function(lr){var Gr=gt.props,Jr=Gr.parentMenu,Tn=Gr.eventKey,Nn=Gr.onMouseLeave;Jr.subMenuInstance=Object(u.a)(gt),Nn({key:Tn,domEvent:lr})},gt.onTitleMouseEnter=function(lr){var Gr=gt.props,Jr=Gr.eventKey,Tn=Gr.onItemHover,Nn=Gr.onTitleMouseEnter;Tn({key:Jr,hover:!0}),Nn({key:Jr,domEvent:lr})},gt.onTitleMouseLeave=function(lr){var Gr=gt.props,Jr=Gr.parentMenu,Tn=Gr.eventKey,Nn=Gr.onItemHover,zn=Gr.onTitleMouseLeave;Jr.subMenuInstance=Object(u.a)(gt),Nn({key:Tn,hover:!1}),zn({key:Tn,domEvent:lr})},gt.onTitleClick=function(lr){var Gr=Object(u.a)(gt),Jr=Gr.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,Gr){var Jr=gt.props.eventKey,Tn=function(){gt.onOpenChange({key:Jr,item:Object(u.a)(gt),trigger:Gr,open:lr})};Gr==="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),Gr=lr.props;return{mode:Gr.mode==="horizontal"?"vertical":Gr.mode,visible:gt.props.isOpen,level:Gr.level+1,inlineIndent:Gr.inlineIndent,focusable:!1,onClick:gt.onSubMenuClick,onSelect:gt.onSelect,onDeselect:gt.onDeselect,onDestroy:gt.onDestroy,selectedKeys:Gr.selectedKeys,eventKey:"".concat(Gr.eventKey,"-menu-"),openKeys:Gr.openKeys,motion:Gr.motion,onOpenChange:gt.onOpenChange,subMenuOpenDelay:Gr.subMenuOpenDelay,parentMenu:Object(u.a)(gt),subMenuCloseDelay:Gr.subMenuCloseDelay,forceSubMenuRender:Gr.forceSubMenuRender,triggerSubMenuAction:Gr.triggerSubMenuAction,builtinPlacements:Gr.builtinPlacements,defaultActiveFirst:Gr.store.getState().defaultActiveFirst[ee(Gr.eventKey)],multiple:Gr.multiple,prefixCls:Gr.rootPrefixCls,id:gt.internalMenuId,manualRef:gt.saveMenuInstance,itemIcon:Gr.itemIcon,expandIcon:Gr.expandIcon,direction:Gr.direction}},gt.getMotion=function(lr,Gr){var Jr=Object(u.a)(gt),Tn=Jr.haveRendered,Nn=gt.props,zn=Nn.motion,qn=Nn.rootPrefixCls,vi=Object(l.a)(Object(l.a)({},zn),{},{leavedClassName:"".concat(qn,"-hidden"),removeOnLeave:!1,motionAppear:Tn||!Gr||lr!=="inline"});return vi};var Bt=Jt.store,mt=Jt.eventKey,kt=Bt.getState(),gr=kt.defaultActiveFirst;gt.isRootMenu=!1;var ar=!1;return gr&&(ar=gr[mt]),Ze(Bt,mt,ar),gt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var gt=this,Bt=this.props,mt=Bt.mode,kt=Bt.parentMenu,gr=Bt.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,Bt=gt.onDestroy,mt=gt.eventKey;Bt&&Bt(mt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(gt){var Bt=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,Gr=ar.style,Jr=L()("".concat(mt.prefixCls,"-sub"),lr,Object(E.a)({},"".concat(mt.prefixCls,"-rtl"),gr==="rtl"));return r.createElement(Wt,Object.assign({},mt,{id:Bt.internalMenuId,className:Jr,style:Gr}),gt)})}},{key:"render",value:function(){var gt,Bt=Object(l.a)({},this.props),mt=Bt.isOpen,kt=this.getPrefixCls(),gr=Bt.mode==="inline",ar=L()(kt,"".concat(kt,"-").concat(Bt.mode),(gt={},Object(E.a)(gt,Bt.className,!!Bt.className),Object(E.a)(gt,this.getOpenClassName(),mt),Object(E.a)(gt,this.getActiveClassName(),Bt.active||mt&&!gr),Object(E.a)(gt,this.getDisabledClassName(),Bt.disabled),Object(E.a)(gt,this.getSelectedClassName(),this.isChildrenSelected()),gt));this.internalMenuId||(Bt.eventKey?this.internalMenuId="".concat(Bt.eventKey,"$Menu"):(Oe+=1,this.internalMenuId="$__$".concat(Oe,"$Menu")));var lr={},Gr={},Jr={};Bt.disabled||(lr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Gr={onClick:this.onTitleClick},Jr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Tn={},Nn=Bt.direction;gr&&(Nn==="rtl"?Tn.paddingRight=Bt.inlineIndent*Bt.level:Tn.paddingLeft=Bt.inlineIndent*Bt.level);var zn={};this.props.isOpen&&(zn={"aria-owns":this.internalMenuId});var qn=null;Bt.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,Gr,{"aria-expanded":mt},zn,{"aria-haspopup":"true",title:typeof Bt.title=="string"?Bt.title:void 0}),Bt.title,qn||r.createElement("i",{className:"".concat(kt,"-arrow")})),Ri=this.renderChildren(Bt.children),Ve=Bt.parentMenu.isRootMenu?Bt.parentMenu.props.getPopupContainer:function(mr){return mr.parentNode},Se=vt[Bt.mode],Re=Bt.popupOffset?{offset:Bt.popupOffset}:{},Be=Bt.mode==="inline"?"":Bt.popupClassName;Be+=Nn==="rtl"?" ".concat(kt,"-rtl"):"";var We=Bt.disabled,He=Bt.triggerSubMenuAction,Qe=Bt.subMenuOpenDelay,At=Bt.forceSubMenuRender,st=Bt.subMenuCloseDelay,Pt=Bt.builtinPlacements;Ee.forEach(function(mr){return delete Bt[mr]}),delete Bt.onClick;var wr=Nn==="rtl"?Object.assign({},pt,Pt):Object.assign({},Ye,Pt);return delete Bt.direction,r.createElement("li",Object.assign({},Bt,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:st,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,at){var Qt=dt.openKeys,Jt=dt.activeKey,gt=dt.selectedKeys,Bt=at.eventKey,mt=at.subMenuKey;return{isOpen:Qt.indexOf(Bt)>-1,active:Jt[mt]===Bt,selectedKeys:gt}})(wt);xt.isSubMenu=!0;var Ot=xt,Mt="menuitem-overflowed",Gt=.5,$e=function(dt){Object(h.a)(Qt,dt);var at=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=at.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,Bt=Ke.findDOMNode(Object(u.a)(Jt));return Bt?[].slice.call(Bt.children).filter(function(mt){return mt.className.split(" ").indexOf("".concat(gt,"-overflowed-submenu"))<0}):[]},Jt.getOverflowedSubMenuItem=function(gt,Bt,mt){var kt=Jt.props,gr=kt.overflowedIndicator,ar=kt.level,lr=kt.mode,Gr=kt.prefixCls,Jr=kt.theme;if(ar!==1||lr!=="horizontal")return null;var Tn=Jt.props.children[0],Nn=Tn.props,zn=Nn.children,qn=Nn.title,vi=Nn.style,Ri=Object(Te.a)(Nn,["children","title","style"]),Ve=Object(l.a)({},vi),Se="".concat(gt,"-overflowed-indicator"),Re="".concat(gt,"-overflowed-indicator");Bt.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(Gr,"-").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(Gr,"-overflowed-submenu"),popupClassName:Be},We,{key:Se,eventKey:Re,disabled:!1,style:Ve}),Bt)},Jt.setChildrenWidthAndResize=function(){if(Jt.props.mode!=="horizontal")return;var gt=Ke.findDOMNode(Object(u.a)(Jt));if(!gt)return;var Bt=gt.children;if(!Bt||Bt.length===0)return;var mt=gt.children[Bt.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 Bt=ue(gt);Jt.overflowedItems=[];var mt=0,kt;Jt.originalTotalWidth>Bt+Gt&&(kt=-1,Jt.menuItemSizes.forEach(function(gr){mt+=gr,mt+Jt.overflowedIndicatorWidth<=Bt&&(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 Bt=Ke.findDOMNode(this);if(!Bt)return;this.resizeObserver=new Ie.default(function(mt){mt.forEach(function(){var kt=gt.cancelFrameId;cancelAnimationFrame(kt),gt.cancelFrameId=requestAnimationFrame(gt.setChildrenWidthAndResize)})}),[].slice.call(Bt.children).concat(Bt).forEach(function(mt){gt.resizeObserver.observe(mt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){gt.resizeObserver.disconnect(),[].slice.call(Bt.children).concat(Bt).forEach(function(mt){gt.resizeObserver.observe(mt)}),gt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Bt,{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 Bt=this,mt=this.state.lastVisibleIndex;return(gt||[]).reduce(function(kt,gr,ar){var lr=gr;if(Bt.props.mode==="horizontal"){var Gr=Bt.getOverflowedSubMenuItem(gr.props.eventKey,[]);mt!==void 0&&Bt.props.className.indexOf("".concat(Bt.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&&(Bt.overflowedItems=gt.slice(mt+1).map(function(Tn){return r.cloneElement(Tn,{key:Tn.props.eventKey,mode:"vertical-left"})}),Gr=Bt.getOverflowedSubMenuItem(gr.props.eventKey,Bt.overflowedItems)));var Jr=[].concat(Object(ke.a)(kt),[Gr,lr]);return ar===gt.length-1&&Jr.push(Bt.getOverflowedSubMenuItem(gr.props.eventKey,[],!0)),Jr}return[].concat(Object(ke.a)(kt),[lr])},[])}},{key:"render",value:function(){var gt=this.props,Bt=gt.visible,mt=gt.prefixCls,kt=gt.overflowedIndicator,gr=gt.mode,ar=gt.level,lr=gt.tag,Gr=gt.children,Jr=gt.theme,Tn=Object(Te.a)(gt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Nn=lr;return r.createElement(Nn,Object.assign({},Tn),this.renderChildren(Gr))}}]),Qt}(r.Component);$e.defaultProps={tag:"div",className:""};var pe=$e;function q(dt){return dt.length?dt.every(function(at){return!!at.props.disabled}):!0}function bt(dt,at,Qt){var Jt=dt.getState();dt.setState({activeKey:Object(l.a)(Object(l.a)({},Jt.activeKey),{},Object(E.a)({},at,Qt))})}function qe(dt){return dt.eventKey||"0-menu-"}function le(dt,at){var Qt=at,Jt=dt.children,gt=dt.eventKey;if(Qt){var Bt;if(ne(Jt,function(mt,kt){mt&&mt.props&&!mt.props.disabled&&Qt===_e(mt,gt,kt)&&(Bt=!0)}),Bt)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 at=this.instanceArray.indexOf(dt);at!==-1?this.instanceArray[at]=dt:this.instanceArray.push(dt)}}var tr=function(dt){Object(h.a)(Qt,dt);var at=Object(A.a)(Qt);function Qt(Jt){var gt;return Object(e.a)(this,Qt),gt=at.call(this,Jt),gt.onKeyDown=function(Bt,mt){var kt=Bt.keyCode,gr;if(gt.getFlatInstanceArray().forEach(function(lr){lr&&lr.props.active&&lr.onKeyDown&&(gr=lr.onKeyDown(Bt))}),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?(Bt.preventDefault(),bt(gt.props.store,qe(gt.props),ar.props.eventKey),typeof mt=="function"&&mt(ar),1):void 0},gt.onItemHover=function(Bt){var mt=Bt.key,kt=Bt.hover;bt(gt.props.store,qe(gt.props),kt?mt:null)},gt.onDeselect=function(Bt){gt.props.onDeselect(Bt)},gt.onSelect=function(Bt){gt.props.onSelect(Bt)},gt.onClick=function(Bt){gt.props.onClick(Bt)},gt.onOpenChange=function(Bt){gt.props.onOpenChange(Bt)},gt.onDestroy=function(Bt){gt.props.onDestroy(Bt)},gt.getFlatInstanceArray=function(){return gt.instanceArray},gt.step=function(Bt){var mt=gt.getFlatInstanceArray(),kt=gt.props.store.getState().activeKey[qe(gt.props)],gr=mt.length;if(!gr)return null;Bt<0&&(mt=mt.concat().reverse());var ar=-1;if(mt.every(function(Tn,Nn){return Tn&&Tn.props.eventKey===kt?(ar=Nn,!1):!0}),!gt.props.defaultActiveFirst&&ar!==-1&&q(mt.slice(ar,gr-1)))return;var lr=(ar+1)%gr,Gr=lr;do{var Jr=mt[Gr];if(!Jr||Jr.props.disabled)Gr=(Gr+1)%gr;else return Jr}while(Gr!==lr);return null},gt.renderCommonMenuItem=function(Bt,mt,kt){var gr=gt.props.store.getState(),ar=Object(u.a)(gt),lr=ar.props,Gr=_e(Bt,lr.eventKey,mt),Jr=Bt.props;if(!Jr||typeof Bt.type=="string")return Bt;var Tn=Gr===gr.activeKey,Nn=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)(Bt.ref,Nt.bind(Object(u.a)(gt))),eventKey:Gr,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())&&(Nn.triggerSubMenuAction="click"),r.cloneElement(Bt,Nn)},gt.renderMenuItem=function(Bt,mt,kt){if(!Bt)return null;var gr=gt.props.store.getState(),ar={openKeys:gr.openKeys,selectedKeys:gr.selectedKeys,triggerSubMenuAction:gt.props.triggerSubMenuAction,subMenuKey:kt};return gt.renderCommonMenuItem(Bt,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 Bt=this.props,mt="activeKey"in Bt?Bt.activeKey:Bt.store.getState().activeKey[qe(Bt)],kt=le(Bt,mt);if(kt!==mt)bt(Bt.store,qe(Bt),kt);else if("activeKey"in gt){var gr=le(gt,gt.activeKey);kt!==gr&&bt(Bt.store,qe(Bt),kt)}}},{key:"render",value:function(){var gt=this,Bt=Object(b.a)({},this.props);this.instanceArray=[];var mt=L()(Bt.prefixCls,Bt.className,"".concat(Bt.prefixCls,"-").concat(Bt.mode)),kt={className:mt,role:Bt.role||"menu"};Bt.id&&(kt.id=Bt.id),Bt.focusable&&(kt.tabIndex=0,kt.onKeyDown=this.onKeyDown);var gr=Bt.prefixCls,ar=Bt.eventKey,lr=Bt.visible,Gr=Bt.level,Jr=Bt.mode,Tn=Bt.overflowedIndicator,Nn=Bt.theme;return Ee.forEach(function(zn){return delete Bt[zn]}),delete Bt.onClick,r.createElement(pe,Object.assign({},Bt,{prefixCls:gr,mode:Jr,tag:"ul",level:Gr,theme:Nn,visible:lr,overflowedIndicator:Tn},kt),r.Children.map(Bt.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),Wt=lt,cr=t("Kwbf");function Vr(dt,at,Qt){var Jt=dt.prefixCls,gt=dt.motion,Bt=dt.defaultMotions,mt=Bt===void 0?{}:Bt,kt=dt.openAnimation,gr=dt.openTransitionName,ar=at.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 at=Object(A.a)(Qt);function Qt(Jt){var gt;Object(e.a)(this,Qt),gt=at.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(),Gr=lr.selectedKeys,Jr=kt.key;ar.multiple?Gr=Gr.concat([Jr]):Gr=[Jr],"selectedKeys"in ar||gt.store.setState({selectedKeys:Gr}),ar.onSelect(Object(l.a)(Object(l.a)({},kt),{},{selectedKeys:Gr}))}},gt.onClick=function(kt){var gr=gt.getRealMenuMode(),ar=Object(u.a)(gt),lr=ar.store,Gr=ar.props.onOpenChange;gr!=="inline"&&!("openKeys"in gt.props)&&(lr.setState({openKeys:[]}),Gr([])),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(),Gr=!1,Jr=function(Nn){var zn=!1;if(Nn.open)zn=lr.indexOf(Nn.key)===-1,zn&&lr.push(Nn.key);else{var qn=lr.indexOf(Nn.key);zn=qn!==-1,zn&&lr.splice(qn,1)}Gr=Gr||zn};Array.isArray(kt)?kt.forEach(Jr):Jr(kt),Gr&&("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(),Gr=kt.key,Jr=lr.indexOf(Gr);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,Gr=kt.propertyName==="font-size"&&lr.indexOf("anticon")>=0;(gr||Gr)&>.restoreModeVerticalFromInline()},gt.setInnerMenu=function(kt){gt.innerMenu=kt},gt.isRootMenu=!0;var Bt=Jt.defaultSelectedKeys,mt=Jt.defaultOpenKeys;return"selectedKeys"in Jt&&(Bt=Jt.selectedKeys||[]),"openKeys"in Jt&&(mt=Jt.openKeys||[]),gt.store=Object(v.c)({selectedKeys:Bt,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 Bt=this.props,mt=Bt.siderCollapsed,kt=Bt.inlineCollapsed,gr=Bt.onOpenChange;(!gt.inlineCollapsed&&kt||!gt.siderCollapsed&&mt)&&gr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(gt){var Bt=this.props,mt=this.store,kt=this.inlineOpenKeys,gr=mt.getState(),ar={};gt.mode==="inline"&&Bt.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Bt||((Bt.inlineCollapsed&&!gt.inlineCollapsed||Bt.siderCollapsed&&!gt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=gr.openKeys.concat(),ar.openKeys=[]),(!Bt.inlineCollapsed&>.inlineCollapsed||!Bt.siderCollapsed&>.siderCollapsed)&&(ar.openKeys=kt,this.inlineOpenKeys=[])),Object.keys(ar).length&&mt.setState(ar)}},{key:"updateMenuDisplay",value:function(){var gt=this.props.collapsedWidth,Bt=this.store,mt=this.prevOpenKeys,kt=this.getInlineCollapsed()&&(gt===0||gt==="0"||gt==="0px");kt?(this.prevOpenKeys=Bt.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,Bt=this.state.switchingModeFromInline,mt=this.getInlineCollapsed();return Bt&&mt?"inline":mt?"vertical":gt}},{key:"getInlineCollapsed",value:function(){var gt=this.props,Bt=gt.inlineCollapsed,mt=gt.siderCollapsed;return mt!==void 0?mt:Bt}},{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"])),Bt=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:Bt,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,Bt)}),delete gt.openAnimation,delete gt.openTransitionName,r.createElement(v.a,{store:this.store},r.createElement(Wt,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 at=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=at.apply(this,arguments),Jt.onKeyDown=function(gt){var Bt=gt.keyCode;return Bt===T.a.ENTER?(Jt.onClick(gt),!0):void 0},Jt.onMouseLeave=function(gt){var Bt=Jt.props,mt=Bt.eventKey,kt=Bt.onItemHover,gr=Bt.onMouseLeave;kt({key:mt,hover:!1}),gr({key:mt,domEvent:gt})},Jt.onMouseEnter=function(gt){var Bt=Jt.props,mt=Bt.eventKey,kt=Bt.onItemHover,gr=Bt.onMouseEnter;kt({key:mt,hover:!0}),gr({key:mt,domEvent:gt})},Jt.onClick=function(gt){var Bt=Jt.props,mt=Bt.eventKey,kt=Bt.multiple,gr=Bt.onClick,ar=Bt.onSelect,lr=Bt.onDeselect,Gr=Bt.isSelected,Jr={key:mt,keyPath:[mt],item:Object(u.a)(Jt),domEvent:gt};gr(Jr),kt?Gr?lr(Jr):ar(Jr):Gr||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,Bt=Object(l.a)({},this.props),mt=L()(this.getPrefixCls(),Bt.className,(gt={},Object(E.a)(gt,this.getActiveClassName(),!Bt.disabled&&Bt.active),Object(E.a)(gt,this.getSelectedClassName(),Bt.isSelected),Object(E.a)(gt,this.getDisabledClassName(),Bt.disabled),gt)),kt=Object(l.a)(Object(l.a)({},Bt.attribute),{},{title:typeof Bt.title=="string"?Bt.title:void 0,className:mt,role:Bt.role||"menuitem","aria-disabled":Bt.disabled});Bt.role==="option"?kt=Object(l.a)(Object(l.a)({},kt),{},{role:"option","aria-selected":Bt.isSelected}):(Bt.role===null||Bt.role==="none")&&(kt.role="none");var gr={onClick:Bt.disabled?null:this.onClick,onMouseLeave:Bt.disabled?null:this.onMouseLeave,onMouseEnter:Bt.disabled?null:this.onMouseEnter},ar=Object(l.a)({},Bt.style);Bt.mode==="inline"&&(Bt.direction==="rtl"?ar.paddingRight=Bt.inlineIndent*Bt.level:ar.paddingLeft=Bt.inlineIndent*Bt.level),Ee.forEach(function(Gr){return delete Bt[Gr]}),delete Bt.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)(Bt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),kt,gr,{style:ar,ref:this.saveNode}),Bt.children,lr)}}]),Qt}(r.Component);Lt.isMenuItem=!0,Lt.defaultProps={onSelect:oe,onMouseEnter:oe,onMouseLeave:oe,manualRef:oe};var ot=Object(v.b)(function(dt,at){var Qt=dt.activeKey,Jt=dt.selectedKeys,gt=at.eventKey,Bt=at.subMenuKey;return{active:Qt[Bt]===gt,isSelected:Jt.indexOf(gt)!==-1}})(Lt),Xe=ot,$t=function(dt){Object(h.a)(Qt,dt);var at=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=at.apply(this,arguments),Jt.renderInnerMenuItem=function(gt){var Bt=Jt.props,mt=Bt.renderMenuItem,kt=Bt.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),Bt=gt.className,mt=Bt===void 0?"":Bt,kt=gt.rootPrefixCls,gr="".concat(kt,"-item-group-title"),ar="".concat(kt,"-item-group-list"),lr=gt.title,Gr=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(Gr,this.renderInnerMenuItem)))}}]),Qt}(r.Component);$t.isMenuItemGroup=!0,$t.defaultProps={disabled:!0};var Sr=$t,vr=function(at){var Qt=at.className,Jt=at.rootPrefixCls,gt=at.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 at=o()(Qt);function Qt(){return f()(this,Qt),at.apply(this,arguments)}return c()(Qt,[{key:"renderTitle",value:function(gt){var Bt=this.props,mt=Bt.icon,kt=Bt.title,gr=Bt.level,ar=Bt.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,Bt=this.props,mt=Bt.rootPrefixCls,kt=Bt.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"),Vt=function(dt,at){var Qt={};for(var Jt in dt)Object.prototype.hasOwnProperty.call(dt,Jt)&&at.indexOf(Jt)<0&&(Qt[Jt]=dt[Jt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Jt=Object.getOwnPropertySymbols(dt);gt<Jt.length;gt++)at.indexOf(Jt[gt])<0&&Object.prototype.propertyIsEnumerable.call(dt,Jt[gt])&&(Qt[Jt[gt]]=dt[Jt[gt]]);return Qt},Ft=function(dt){n()(Qt,dt);var at=o()(Qt);function Qt(){var Jt;return f()(this,Qt),Jt=at.apply(this,arguments),Jt.renderItem=function(gt){var Bt=gt.siderCollapsed,mt=Jt.props,kt=mt.level,gr=mt.className,ar=mt.children,lr=mt.rootPrefixCls,Gr=Jt.props,Jr=Gr.title,Tn=Gr.icon,Nn=Gr.danger,zn=Vt(Gr,["title","icon","danger"]);return r.createElement(Ln.Consumer,null,function(qn){var vi,Ri=qn.inlineCollapsed,Ve=qn.direction,Se=Jr;typeof Jr=="undefined"?Se=kt===1?ar:"":Jr===!1&&(Se="");var Re={title:Se};!Bt&&!Ri&&(Re.title=null,Re.visible=!1);var Be=Object(Le.a)(ar).length;return r.createElement(Ue.a,p()({},Re,{placement:Ve==="rtl"?"left":"right",overlayClassName:"".concat(lr,"-inline-collapsed-tooltip")}),r.createElement(Xe,p()({},zn,{className:L()(gr,(vi={},m()(vi,"".concat(lr,"-item-danger"),Nn),m()(vi,"".concat(lr,"-item-only-child"),(Tn?Be+1:Be)===1),vi)),title:Jr}),Tn,Jt.renderItemChildren(Ri)))})},Jt}return c()(Qt,[{key:"renderItemChildren",value:function(gt){var Bt=this.props,mt=Bt.icon,kt=Bt.children,gr=Bt.level,ar=Bt.rootPrefixCls;return!mt||Object(Je.b)(kt)&&kt.type==="span"?kt&>&&gr===1&&typeof kt=="string"?r.createElement("div",{className:"".concat(ar,"-inline-collapsed-noicon")},kt.charAt(0)):kt:r.createElement("span",null,kt)}},{key:"render",value:function(){return r.createElement(rt.a.Consumer,null,this.renderItem)}}]),Qt}(r.Component);Ft.isMenuItem=!0;var zt=t("H84U"),Dr=t("uaoM"),Pr=t("EXcs"),un=function(dt){n()(Qt,dt);var at=o()(Qt);function Qt(Jt){var gt;return f()(this,Qt),gt=at.call(this,Jt),gt.renderMenu=function(Bt){var mt=Bt.getPopupContainer,kt=Bt.getPrefixCls,gr=Bt.direction,ar=gt.props,lr=ar.prefixCls,Gr=ar.className,Jr=ar.theme,Tn={horizontal:{motionName:"slide-up"},inline:Pr.a,other:{motionName:"zoom-big"}},Nn=kt("menu",lr),zn=L()(Gr,"".concat(Nn,"-").concat(Jr),m()({},"".concat(Nn,"-inline-collapsed"),gt.getInlineCollapsed()));return r.createElement(Ln.Provider,{value:{inlineCollapsed:gt.getInlineCollapsed()||!1,antdMenuTheme:Jr,direction:gr}},r.createElement(An,p()({getPopupContainer:mt},gt.props,{className:zn,prefixCls:Nn,direction:gr,defaultMotions:Tn})))},Object(Dr.a)(!("inlineCollapsed"in Jt&&Jt.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Dr.a)(!(Jt.siderCollapsed!==void 0&&"inlineCollapsed"in Jt),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),gt}return c()(Qt,[{key:"getInlineCollapsed",value:function(){var gt=this.props,Bt=gt.inlineCollapsed,mt=gt.siderCollapsed;return mt!==void 0?mt:Bt}},{key:"render",value:function(){return r.createElement(zt.a,null,this.renderMenu)}}]),Qt}(r.Component);un.defaultProps={className:"",theme:"light",focusable:!1};var Ht=function(dt){n()(Qt,dt);var at=o()(Qt);function Qt(){return f()(this,Qt),at.apply(this,arguments)}return c()(Qt,[{key:"render",value:function(){var gt=this;return r.createElement(rt.a.Consumer,null,function(Bt){return r.createElement(un,p()({},gt.props,Bt))})}}]),Qt}(r.Component);Ht.Divider=fr,Ht.Item=Ft,Ht.SubMenu=be,Ht.ItemGroup=Sr},C0SR:function(R,N,t){var y=t("YH21"),p=function(){this._track=[]};p.prototype={constructor:p,recognize:function(c,a,n){return this._doTrack(c,a,n),this._recognize(c)},clear:function(){return this._track.length=0,this},_doTrack:function(c,a,n){var i=c.touches;if(!i)return;for(var o={points:[],touches:[],target:a,event:c},r=0,l=i.length;r<l;r++){var e=i[r],s=y.clientToLocal(n,e,{});o.points.push([s.zrX,s.zrY]),o.touches.push(e)}this._track.push(o)},_recognize:function(c){for(var a in g)if(g.hasOwnProperty(a)){var n=g[a](this._track,c);if(n)return n}}};function S(d){var c=d[1][0]-d[0][0],a=d[1][1]-d[0][1];return Math.sqrt(c*c+a*a)}function m(d){return[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]}var g={pinch:function(c,a){var n=c.length;if(!n)return;var i=(c[n-1]||{}).points,o=(c[n-2]||{}).points||i;if(o&&o.length>1&&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(Ft,zt,Dr){var Pr;return Math.round(Ft.h)>=60&&Math.round(Ft.h)<=240?Pr=Dr?Math.round(Ft.h)-H*zt:Math.round(Ft.h)+H*zt:Pr=Dr?Math.round(Ft.h)+H*zt:Math.round(Ft.h)-H*zt,Pr<0?Pr+=360:Pr>=360&&(Pr-=360),Pr}function X(Ft,zt,Dr){if(Ft.h===0&&Ft.s===0)return Ft.s;var Pr;return Dr?Pr=Ft.s-z*zt:zt===j?Pr=Ft.s+z:Pr=Ft.s+M*zt,Pr>1&&(Pr=1),Dr&&zt===K&&Pr>.1&&(Pr=.1),Pr<.06&&(Pr=.06),Number(Pr.toFixed(2))}function J(Ft,zt,Dr){var Pr;return Dr?Pr=Ft.v+U*zt:Pr=Ft.v-k*zt,Pr>1&&(Pr=1),Number(Pr.toFixed(2))}function de(Ft){for(var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Dr=[],Pr=P()(Ft),un=K;un>0;un-=1){var Ht=Pr.toHsv(),dt=P()({h:W(Ht,un,!0),s:X(Ht,un,!0),v:J(Ht,un,!0)}).toHexString();Dr.push(dt)}Dr.push(Pr.toHexString());for(var at=1;at<=j;at+=1){var Qt=Pr.toHsv(),Jt=P()({h:W(Qt,at),s:X(Qt,at),v:J(Qt,at)}).toHexString();Dr.push(Jt)}return zt.theme==="dark"?V.map(function(gt){var Bt=gt.index,mt=gt.opacity,kt=P.a.mix(zt.backgroundColor||"#141414",Dr[Bt],mt*100).toHexString();return kt}):Dr}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(Ft){ae[Ft]=de(G[Ft]),ae[Ft].primary=ae[Ft][5],Ae[Ft]=de(G[Ft],{theme:"dark",backgroundColor:"#141414"}),Ae[Ft].primary=Ae[Ft][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(Ft){return!Ft||Ft<0?0:Ft>100?100:Ft}function Ie(Ft){var zt=Ft.success,Dr=Ft.successPercent,Pr=Dr;return zt&&"progress"in zt&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Pr=zt.progress),zt&&"percent"in zt&&(Pr=zt.percent),Pr}var se=function(Ft,zt){var Dr={};for(var Pr in Ft)Object.prototype.hasOwnProperty.call(Ft,Pr)&&zt.indexOf(Pr)<0&&(Dr[Pr]=Ft[Pr]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Pr=Object.getOwnPropertySymbols(Ft);un<Pr.length;un++)zt.indexOf(Pr[un])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Pr[un])&&(Dr[Pr[un]]=Ft[Pr[un]]);return Dr},ye=function(zt){var Dr=[];return Object.keys(zt).forEach(function(Pr){var un=parseFloat(Pr.replace(/%/g,""));isNaN(un)||Dr.push({key:un,value:zt[Pr]})}),Dr=Dr.sort(function(Pr,un){return Pr.key-un.key}),Dr.map(function(Pr){var un=Pr.key,Ht=Pr.value;return"".concat(Ht," ").concat(un,"%")}).join(", ")},xe=function(zt){var Dr=zt.from,Pr=Dr===void 0?G.blue:Dr,un=zt.to,Ht=un===void 0?G.blue:un,dt=zt.direction,at=dt===void 0?"to right":dt,Qt=se(zt,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Jt=ye(Qt);return{backgroundImage:"linear-gradient(".concat(at,", ").concat(Jt,")")}}return{backgroundImage:"linear-gradient(".concat(at,", ").concat(Pr,", ").concat(Ht,")")}},Ye=function(zt){var Dr=zt.prefixCls,Pr=zt.percent,un=zt.strokeWidth,Ht=zt.size,dt=zt.strokeColor,at=zt.strokeLinecap,Qt=zt.children,Jt=zt.trailColor,gt=zt.success,Bt=dt&&typeof dt!="string"?xe(dt):{background:dt},mt=Jt?{backgroundColor:Jt}:void 0,kt=m()({width:"".concat(Ke(Pr),"%"),height:un||(Ht==="small"?6:8),borderRadius:at==="square"?0:""},Bt),gr=Ie(zt),ar={width:"".concat(Ke(gr),"%"),height:un||(Ht==="small"?6:8),borderRadius:at==="square"?0:"",backgroundColor:gt==null?void 0:gt.strokeColor},lr=gr!==void 0?e.createElement("div",{className:"".concat(Dr,"-success-bg"),style:ar}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(Dr,"-outer")},e.createElement("div",{className:"".concat(Dr,"-inner"),style:mt},e.createElement("div",{className:"".concat(Dr,"-bg"),style:kt}),lr)),Qt)},pt=Ye,nt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Oe=function(zt){var Dr=zt.map(function(){return Object(e.useRef)()}),Pr=Object(e.useRef)();return Object(e.useEffect)(function(){var un=Date.now(),Ht=!1;Object.keys(Dr).forEach(function(dt){var at=Dr[dt].current;if(!at)return;Ht=!0;var Qt=at.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Pr.current&&un-Pr.current<100&&(Qt.transitionDuration="0s, 0s")}),Ht&&(Pr.current=Date.now())}),[Dr]};function vt(){return vt=Object.assign||function(Ft){for(var zt=1;zt<arguments.length;zt++){var Dr=arguments[zt];for(var Pr in Dr)Object.prototype.hasOwnProperty.call(Dr,Pr)&&(Ft[Pr]=Dr[Pr])}return Ft},vt.apply(this,arguments)}function Ze(Ft,zt){return Gt(Ft)||Mt(Ft,zt)||xt(Ft,zt)||wt()}function wt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xt(Ft,zt){if(!Ft)return;if(typeof Ft=="string")return Ot(Ft,zt);var Dr=Object.prototype.toString.call(Ft).slice(8,-1);if(Dr==="Object"&&Ft.constructor&&(Dr=Ft.constructor.name),Dr==="Map"||Dr==="Set")return Array.from(Ft);if(Dr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Dr))return Ot(Ft,zt)}function Ot(Ft,zt){(zt==null||zt>Ft.length)&&(zt=Ft.length);for(var Dr=0,Pr=new Array(zt);Dr<zt;Dr++)Pr[Dr]=Ft[Dr];return Pr}function Mt(Ft,zt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ft)))return;var Dr=[],Pr=!0,un=!1,Ht=void 0;try{for(var dt=Ft[Symbol.iterator](),at;!(Pr=(at=dt.next()).done)&&!(Dr.push(at.value),zt&&Dr.length===zt);Pr=!0);}catch(Qt){un=!0,Ht=Qt}finally{try{!Pr&&dt.return!=null&&dt.return()}finally{if(un)throw Ht}}return Dr}function Gt(Ft){if(Array.isArray(Ft))return Ft}function $e(Ft,zt){if(Ft==null)return{};var Dr=pe(Ft,zt),Pr,un;if(Object.getOwnPropertySymbols){var Ht=Object.getOwnPropertySymbols(Ft);for(un=0;un<Ht.length;un++){if(Pr=Ht[un],zt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ft,Pr))continue;Dr[Pr]=Ft[Pr]}}return Dr}function pe(Ft,zt){if(Ft==null)return{};var Dr={},Pr=Object.keys(Ft),un,Ht;for(Ht=0;Ht<Pr.length;Ht++){if(un=Pr[Ht],zt.indexOf(un)>=0)continue;Dr[un]=Ft[un]}return Dr}var q=function(zt){var Dr=zt.className,Pr=zt.percent,un=zt.prefixCls,Ht=zt.strokeColor,dt=zt.strokeLinecap,at=zt.strokeWidth,Qt=zt.style,Jt=zt.trailColor,gt=zt.trailWidth,Bt=zt.transition,mt=$e(zt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete mt.gapPosition;var kt=Array.isArray(Pr)?Pr:[Pr],gr=Array.isArray(Ht)?Ht:[Ht],ar=Oe(kt),lr=Ze(ar,1),Gr=lr[0],Jr=at/2,Tn=100-at/2,Nn="M ".concat(dt==="round"?Jr:0,",").concat(Jr,`
|
|
|
L `).concat(dt==="round"?Tn:100,",").concat(Jr),zn="0 0 100 ".concat(at),qn=0;return s.a.createElement("svg",vt({className:h()("".concat(un,"-line"),Dr),viewBox:zn,preserveAspectRatio:"none",style:Qt},mt),s.a.createElement("path",{className:"".concat(un,"-line-trail"),d:Nn,strokeLinecap:dt,stroke:Jt,strokeWidth:gt||at,fillOpacity:"0"}),kt.map(function(vi,Ri){var Ve={strokeDasharray:"".concat(vi,"px, 100px"),strokeDashoffset:"-".concat(qn,"px"),transition:Bt||"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:Nn,strokeLinecap:dt,stroke:Se,strokeWidth:at,fillOpacity:"0",ref:Gr[Ri],style:Ve})}))};q.defaultProps=nt;var bt=q;function qe(){return qe=Object.assign||function(Ft){for(var zt=1;zt<arguments.length;zt++){var Dr=arguments[zt];for(var Pr in Dr)Object.prototype.hasOwnProperty.call(Dr,Pr)&&(Ft[Pr]=Dr[Pr])}return Ft},qe.apply(this,arguments)}function le(Ft,zt){return cr(Ft)||Wt(Ft,zt)||tr(Ft,zt)||Nt()}function Nt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tr(Ft,zt){if(!Ft)return;if(typeof Ft=="string")return lt(Ft,zt);var Dr=Object.prototype.toString.call(Ft).slice(8,-1);if(Dr==="Object"&&Ft.constructor&&(Dr=Ft.constructor.name),Dr==="Map"||Dr==="Set")return Array.from(Ft);if(Dr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Dr))return lt(Ft,zt)}function lt(Ft,zt){(zt==null||zt>Ft.length)&&(zt=Ft.length);for(var Dr=0,Pr=new Array(zt);Dr<zt;Dr++)Pr[Dr]=Ft[Dr];return Pr}function Wt(Ft,zt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ft)))return;var Dr=[],Pr=!0,un=!1,Ht=void 0;try{for(var dt=Ft[Symbol.iterator](),at;!(Pr=(at=dt.next()).done)&&!(Dr.push(at.value),zt&&Dr.length===zt);Pr=!0);}catch(Qt){un=!0,Ht=Qt}finally{try{!Pr&&dt.return!=null&&dt.return()}finally{if(un)throw Ht}}return Dr}function cr(Ft){if(Array.isArray(Ft))return Ft}function Vr(Ft,zt){if(Ft==null)return{};var Dr=ur(Ft,zt),Pr,un;if(Object.getOwnPropertySymbols){var Ht=Object.getOwnPropertySymbols(Ft);for(un=0;un<Ht.length;un++){if(Pr=Ht[un],zt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ft,Pr))continue;Dr[Pr]=Ft[Pr]}}return Dr}function ur(Ft,zt){if(Ft==null)return{};var Dr={},Pr=Object.keys(Ft),un,Ht;for(Ht=0;Ht<Pr.length;Ht++){if(un=Pr[Ht],zt.indexOf(un)>=0)continue;Dr[un]=Ft[un]}return Dr}var ir=0;function Lt(Ft){return+Ft.replace("%","")}function ot(Ft){return Array.isArray(Ft)?Ft:[Ft]}function Xe(Ft,zt,Dr,Pr){var un=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Ht=arguments.length>5?arguments[5]:void 0,dt=50-Pr/2,at=0,Qt=-dt,Jt=0,gt=-2*dt;switch(Ht){case"left":at=-dt,Qt=0,Jt=2*dt,gt=0;break;case"right":at=dt,Qt=0,Jt=-2*dt,gt=0;break;case"bottom":Qt=dt,gt=2*dt;break;default:}var Bt="M 50,50 m ".concat(at,",").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:Dr,strokeDasharray:"".concat(zt/100*(mt-un),"px ").concat(mt,"px"),strokeDashoffset:"-".concat(un/2+Ft/100*(mt-un),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Bt,pathStyle:kt}}var $t=function(zt){var Dr=zt.prefixCls,Pr=zt.strokeWidth,un=zt.trailWidth,Ht=zt.gapDegree,dt=zt.gapPosition,at=zt.trailColor,Qt=zt.strokeLinecap,Jt=zt.style,gt=zt.className,Bt=zt.strokeColor,mt=zt.percent,kt=Vr(zt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),gr=Object(e.useMemo)(function(){return ir+=1,ir},[]),ar=Xe(0,100,at,Pr,Ht,dt),lr=ar.pathString,Gr=ar.pathStyle,Jr=ot(mt),Tn=ot(Bt),Nn=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(Dr,"-gradient-").concat(gr,")"):"",Qe=Xe(Se,Re,We,Pr,Ht,dt);return Se+=Re,s.a.createElement("path",{key:Be,className:"".concat(Dr,"-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(Dr,"-circle"),gt),viewBox:"0 0 100 100",style:Jt},kt),Nn&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(Dr,"-gradient-").concat(gr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Nn).sort(function(Ve,Se){return Lt(Ve)-Lt(Se)}).map(function(Ve,Se){return s.a.createElement("stop",{key:Se,offset:Ve,stopColor:Nn[Ve]})}))),s.a.createElement("path",{className:"".concat(Dr,"-circle-trail"),d:lr,stroke:at,strokeLinecap:Qt,strokeWidth:un||Pr,fillOpacity:"0",style:Gr}),Ri().reverse())};$t.defaultProps=nt;var Sr=$t,vr={Line:bt,Circle:Sr};function fr(Ft){var zt=Ft.percent,Dr=Ft.success,Pr=Ft.successPercent,un=Ke(zt),Ht=Ie({success:Dr,successPercent:Pr});return Ht?[Ke(Ht),Ke(un-Ke(Ht))]:un}function An(Ft){var zt=Ft.success,Dr=Ft.strokeColor,Pr=Ft.successPercent,un=Dr||null,Ht=Ie({success:zt,successPercent:Pr});return Ht?[G.green,un]:un}var Zr=function(zt){var Dr=zt.prefixCls,Pr=zt.width,un=zt.strokeWidth,Ht=zt.trailColor,dt=zt.strokeLinecap,at=zt.gapPosition,Qt=zt.gapDegree,Jt=zt.type,gt=zt.children,Bt=Pr||120,mt={width:Bt,height:Bt,fontSize:Bt*.15+6},kt=un||6,gr=at||Jt==="dashboard"&&"bottom"||"top",ar=function(){return Qt||Qt===0?Qt:Jt==="dashboard"?75:void 0},lr=An(zt),Gr=Object.prototype.toString.call(lr)==="[object Object]",Jr=h()("".concat(Dr,"-inner"),p()({},"".concat(Dr,"-circle-gradient"),Gr));return e.createElement("div",{className:Jr,style:mt},e.createElement(Sr,{percent:fr(zt),strokeWidth:kt,trailWidth:kt,strokeColor:lr,strokeLinecap:dt,trailColor:Ht,prefixCls:Dr,gapDegree:ar(),gapPosition:gr}),gt)},Ln=Zr,Je=function(zt){for(var Dr=zt.size,Pr=zt.steps,un=zt.percent,Ht=un===void 0?0:un,dt=zt.strokeWidth,at=dt===void 0?8:dt,Qt=zt.strokeColor,Jt=zt.trailColor,gt=zt.prefixCls,Bt=zt.children,mt=Math.floor(Pr*(Ht/100)),kt=Dr==="small"?2:14,gr=[],ar=0;ar<Pr;ar+=1)gr.push(e.createElement("div",{key:ar,className:h()("".concat(gt,"-steps-item"),p()({},"".concat(gt,"-steps-item-active"),ar<=mt-1)),style:{backgroundColor:ar<=mt-1?Qt:Jt,width:kt,height:at}}));return e.createElement("div",{className:"".concat(gt,"-steps-outer")},gr,Bt)},et=Je,be=function(Ft,zt){var Dr={};for(var Pr in Ft)Object.prototype.hasOwnProperty.call(Ft,Pr)&&zt.indexOf(Pr)<0&&(Dr[Pr]=Ft[Pr]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Pr=Object.getOwnPropertySymbols(Ft);un<Pr.length;un++)zt.indexOf(Pr[un])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Pr[un])&&(Dr[Pr[un]]=Ft[Pr[un]]);return Dr},Le=Object(L.a)("line","circle","dashboard"),Ue=Object(L.a)("normal","exception","active","success"),rt=function(Ft){o()(Dr,Ft);var zt=l()(Dr);function Dr(){var Pr;return f()(this,Dr),Pr=zt.apply(this,arguments),Pr.renderProgress=function(un){var Ht,dt=un.getPrefixCls,at=un.direction,Qt=n()(Pr),Jt=Qt.props,gt=Jt.prefixCls,Bt=Jt.className,mt=Jt.size,kt=Jt.type,gr=Jt.steps,ar=Jt.showInfo,lr=Jt.strokeColor,Gr=be(Jt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Jr=dt("progress",gt),Tn=Pr.getProgressStatus(),Nn=Pr.renderProcessInfo(Jr,Tn);Object(F.a)(!("successPercent"in Jt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var zn;kt==="line"?zn=gr?e.createElement(et,m()({},Pr.props,{strokeColor:typeof lr=="string"?lr:void 0,prefixCls:Jr,steps:gr}),Nn):e.createElement(pt,m()({},Pr.props,{prefixCls:Jr}),Nn):(kt==="circle"||kt==="dashboard")&&(zn=e.createElement(Ln,m()({},Pr.props,{prefixCls:Jr,progressStatus:Tn}),Nn));var qn=h()(Jr,(Ht={},p()(Ht,"".concat(Jr,"-").concat(kt==="dashboard"&&"circle"||gr&&"steps"||kt),!0),p()(Ht,"".concat(Jr,"-status-").concat(Tn),!0),p()(Ht,"".concat(Jr,"-show-info"),ar),p()(Ht,"".concat(Jr,"-").concat(mt),mt),p()(Ht,"".concat(Jr,"-rtl"),at==="rtl"),Ht),Bt);return e.createElement("div",m()({},Object(A.default)(Gr,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:qn}),zn)},Pr}return c()(Dr,[{key:"getPercentNumber",value:function(){var un=this.props.percent,Ht=un===void 0?0:un,dt=Ie(this.props);return parseInt(dt!==void 0?dt.toString():Ht.toString(),10)}},{key:"getProgressStatus",value:function(){var un=this.props.status;return Ue.indexOf(un)<0&&this.getPercentNumber()>=100?"success":un||"normal"}},{key:"renderProcessInfo",value:function(un,Ht){var dt=this.props,at=dt.showInfo,Qt=dt.format,Jt=dt.type,gt=dt.percent,Bt=Ie(this.props);if(!at)return null;var mt,kt=Qt||function(ar){return"".concat(ar,"%")},gr=Jt==="line";return Qt||Ht!=="exception"&&Ht!=="success"?mt=kt(Ke(gt),Ke(Bt)):Ht==="exception"?mt=gr?e.createElement(C.a,null):e.createElement(w.a,null):Ht==="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)}}]),Dr}(e.Component);rt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Vt=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:l<e?u=1:u=r>0?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;de<G;de++){var ae=X[de];if(ae==null)continue;if(n(ae)){J=v;break}else if(o(ae)){J=w;break}}}else if(o(X)){for(var Ae in X)if(X.hasOwnProperty(Ae)&&l(X[Ae])){J=b;break}}else if(X!=null)throw new Error("Invalid data");C(W).sourceFormat=J}function L(W){return C(W).source}function F(W){C(W).datasetMap=d()}function B(W){var X=W.option,J=X.data,de=r(J)?T:A,G=!1,ae=X.seriesLayoutBy,Ae=X.sourceHeader,me=X.dimensions,Me=K(W);if(Me){var oe=Me.option;J=oe.source,de=C(Me).sourceFormat,G=!0,ae=ae||oe.seriesLayoutBy,Ae==null&&(Ae=oe.sourceHeader),me=me||oe.dimensions}var _e=P(J,de,ae,Ae,me);C(W).source=new u({data:J,fromDataset:G,seriesLayoutBy:ae,sourceFormat:de,dimensionsDefine:_e.dimensionsDefine,startIndex:_e.startIndex,dimensionsDetectCount:_e.dimensionsDetectCount,encodeDefine:X.encode})}function P(W,X,J,de,G){if(!W)return{dimensionsDefine:H(G)};var ae,Ae;if(X===v)de==="auto"||de==null?z(function(Me){Me!=null&&Me!=="-"&&(i(Me)?Ae==null&&(Ae=1):Ae=0)},J,W,10):Ae=de?1:0,!G&&Ae===1&&(G=[],z(function(Me,oe){G[oe]=Me!=null?Me:""},J,W)),ae=G?G.length:J===_?W.length:W[0]?W[0].length:null;else if(X===w)G||(G=M(W));else if(X===b)G||(G=[],c(W,function(Me,oe){G.push(oe)}));else if(X===A){var me=g(W[0]);ae=n(me)&&me.length||1}else X===T;return{startIndex:Ae,dimensionsDefine:H(G),dimensionsDetectCount:ae}}function H(W){if(!W)return;var X=d();return a(W,function(J,de){if(J=e({},o(J)?J:{name:J}),J.name==null)return J;J.name+="",J.displayName==null&&(J.displayName=J.name);var G=X.get(J.name);return G?J.name+="-"+G.count++:X.set(J.name,{count:1}),J})}function z(W,X,J,de){if(de==null&&(de=Infinity),X===_)for(var G=0;G<J.length&&G<de;G++)W(J[G]?J[G][0]:null,G);else for(var ae=J[0]||[],G=0;G<ae.length&&G<de;G++)W(ae[G],G)}function M(W){for(var X=0,J;X<W.length&&!(J=W[X++]););if(J){var de=[];return c(J,function(G,ae){de.push(ae)}),de}}function U(W,X,J){var de={},G=K(X);if(!G||!W)return de;var ae=[],Ae=[],me=X.ecModel,Me=C(me).datasetMap,oe=G.uid+"_"+J.seriesLayoutBy,_e,ee;W=W.slice(),c(W,function(ue,re){!o(ue)&&(W[re]={name:ue}),ue.type==="ordinal"&&_e==null&&(_e=re,ee=Ee(W[re])),de[ue.name]=[]});var ne=Me.get(oe)||Me.set(oe,{categoryWayDim:ee,valueWayDim:0});c(W,function(ue,re){var ce=ue.name,ke=Ee(ue);if(_e==null){var Te=ne.valueWayDim;Ge(de[ce],Te,ke),Ge(Ae,Te,ke),ne.valueWayDim+=ke}else if(_e===re)Ge(de[ce],0,ke),Ge(ae,0,ke);else{var Te=ne.categoryWayDim;Ge(de[ce],Te,ke),Ge(Ae,Te,ke),ne.categoryWayDim+=ke}});function Ge(ue,re,ce){for(var ke=0;ke<ce;ke++)ue.push(re+ke)}function Ee(ue){var re=ue.dimsDef;return re?re.length:1}return ae.length&&(de.itemName=ae),Ae.length&&(de.seriesName=Ae),de}function k(W,X,J){var de={},G=K(W);if(!G)return de;var ae=X.sourceFormat,Ae=X.dimensionsDefine,me;(ae===w||ae===b)&&c(Ae,function(_e,ee){(o(_e)?_e.name:_e)==="name"&&(me=ee)});var Me=function(){for(var _e={},ee={},ne=[],Ge=0,Ee=Math.min(5,J);Ge<Ee;Ge++){var ue=V(X.data,ae,X.seriesLayoutBy,Ae,X.startIndex,Ge);ne.push(ue);var re=ue===x.Not;if(re&&_e.v==null&&Ge!==me&&(_e.v=Ge),(_e.n==null||_e.n===_e.v||!re&&ne[_e.n]===x.Not)&&(_e.n=Ge),ce(_e)&&ne[_e.n]!==x.Not)return _e;re||(ue===x.Might&&ee.v==null&&Ge!==me&&(ee.v=Ge),(ee.n==null||ee.n===ee.v)&&(ee.n=Ge))}function ce(ke){return ke.v!=null&&ke.n!=null}return ce(_e)?_e:ce(ee)?ee:null}();if(Me){de.value=Me.v;var oe=me!=null?me:Me.n;de.itemName=[oe],de.seriesName=[oe]}return de}function K(W){var X=W.option,J=X.data;if(!J)return W.ecModel.getComponent("dataset",X.datasetIndex||0)}function j(W,X){return V(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,X)}function V(W,X,J,de,G,ae){var Ae,me=5;if(r(W))return x.Not;var Me,oe;if(de){var _e=de[ae];o(_e)?(Me=_e.name,oe=_e.type):i(_e)&&(Me=_e)}if(oe!=null)return oe==="ordinal"?x.Must:x.Not;if(X===v)if(J===_){for(var ee=W[ae],ne=0;ne<(ee||[]).length&&ne<me;ne++)if((Ae=re(ee[G+ne]))!=null)return Ae}else for(var ne=0;ne<W.length&&ne<me;ne++){var Ge=W[G+ne];if(Ge&&(Ae=re(Ge[ae]))!=null)return Ae}else if(X===w){if(!Me)return x.Not;for(var ne=0;ne<W.length&&ne<me;ne++){var Ee=W[ne];if(Ee&&(Ae=re(Ee[Me]))!=null)return Ae}}else if(X===b){if(!Me)return x.Not;var ee=W[Me];if(!ee||r(ee))return x.Not;for(var ne=0;ne<ee.length&&ne<me;ne++)if((Ae=re(ee[ne]))!=null)return Ae}else if(X===A)for(var ne=0;ne<W.length&&ne<me;ne++){var Ee=W[ne],ue=g(Ee);if(!n(ue))return x.Not;if((Ae=re(ue[ae]))!=null)return Ae}function re(ce){var ke=i(ce);if(ce!=null&&isFinite(ce)&&ce!=="")return ke?x.Might:x.Not;if(ke&&ce!=="-")return x.Must}return x.Not}N.BE_ORDINAL=x,N.detectSourceFormat=I,N.getSource=L,N.resetSourceDefaulter=F,N.prepareSource=B,N.makeSeriesEncodeForAxisCoordSys=U,N.makeSeriesEncodeForNameBased=k,N.guessOrdinal=j},D9ME:function(R,N,t){var y=t("IwbS"),p=t("fls0"),S=t("bYtY"),m=t("oVpE"),g=m.createSymbol,f=t("QBsz"),d=t("Sj9i");function c(i,o,r){y.Group.call(this),this.add(this.createLine(i,o,r)),this._updateEffectSymbol(i,o)}var a=c.prototype;a.createLine=function(i,o,r){return new p(i,o,r)},a._updateEffectSymbol=function(i,o){var r=i.getItemModel(o),l=r.getModel("effect"),e=l.get("symbolSize"),s=l.get("symbol");S.isArray(e)||(e=[e,e]);var u=l.get("color")||i.getItemVisual(o,"color"),h=this.childAt(1);if(this._symbolType!==s&&(this.remove(h),h=g(s,-.5,-.5,1,1,u),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",u),h.setStyle(l.getItemStyle(["color"])),h.attr("scale",e),h.setColor(u),h.attr("scale",e),this._symbolType=s,this._symbolScale=e,this._updateEffectAnimation(i,l,o)},a._updateEffectAnimation=function(i,o,r){var l=this.childAt(1);if(!l)return;var e=this,s=i.getItemLayout(r),u=o.get("period")*1e3,h=o.get("loop"),A=o.get("constantSpeed"),v=S.retrieve(o.get("delay"),function(T){return T/i.count()*u/3}),w=typeof v=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),A>0&&(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<i.__t){var b=f.dist(u,s)*1.05;i.attr("scale",[i.scale[0],b]),e===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(i.__lastT===1){var b=2*f.dist(o,s);i.attr("scale",[i.scale[0],b])}else i.attr("scale",this._symbolScale);i.__lastT=i.__t,i.ignore=!1},a.updateLayout=function(i,o){this.childAt(0).updateLayout(i,o);var r=i.getItemModel(o).getModel("effect");this._updateEffectAnimation(i,r,o)},S.inherits(c,y.Group);var n=c;R.exports=n},DBLp:function(R,N){function t(){}t.prototype={diff:function(f,d,c){c||(c=function(w,b){return w===b}),this.equals=c;var a=this;f=f.slice(),d=d.slice();var n=d.length,i=f.length,o=1,r=n+i,l=[{newPos:-1,components:[]}],e=this.extractCommon(l[0],d,f,0);if(l[0].newPos+1>=n&&e+1>=i){for(var s=[],u=0;u<d.length;u++)s.push(u);return[{indices:s,count:d.length}]}function h(){for(var v=-1*o;v<=o;v+=2){var w,b=l[v-1],E=l[v+1],T=(E?E.newPos:0)-v;b&&(l[v-1]=void 0);var _=b&&b.newPos+1<n,x=E&&0<=T&&T<i;if(!_&&!x){l[v]=void 0;continue}if(!_||x&&b.newPos<E.newPos?(w=p(E),a.pushComponent(w.components,void 0,!0)):(w=b,w.newPos++,a.pushComponent(w.components,!0,void 0)),T=a.extractCommon(w,d,f,v),w.newPos+1>=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<n&&r+1<i&&this.equals(d[o+1],c[r+1]);)o++,r++,l++;return l&&f.components.push({count:l}),f.newPos=o,r},tokenize:function(f){return f.slice()},join:function(f){return f.slice()}};function y(g,f,d,c){for(var a=0,n=f.length,i=0,o=0;a<n;a++){var r=f[a];if(r.removed){for(var l=[],e=o;e<o+r.count;e++)l.push(e);r.indices=l,o+=r.count}else{for(var l=[],e=i;e<i+r.count;e++)l.push(e);r.indices=l,i+=r.count,r.added||(o+=r.count)}}return f}function p(g){return{newPos:g.newPos,components:g.components.slice(0)}}var S=new t;function m(g,f,d){return S.diff(g,f,d)}R.exports=m},DEFe:function(R,N,t){var y=t("bYtY"),p=t("SgGq"),S=t("Ae+d"),m=t("xSat"),g=m.onIrrelevantElement,f=t("IwbS"),d=t("W4dC"),c=t("iRjW"),a=c.getUID,n=t("DN4a");function i(s){var u=s.getItemStyle(),h=s.get("areaColor");return h!=null&&(u.fill=h),u}function o(s,u,h,A,v){h.off("click"),h.off("mousedown"),u.get("selectedMode")&&(h.on("mousedown",function(){s._mouseDownFlag=!0}),h.on("click",function(w){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var b=w.target;!b.__regions;)b=b.parent;if(!b)return;var E={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:y.map(b.__regions,function(T){return{name:T.name,from:v.uid}})};E[u.mainType+"Id"]=u.id,A.dispatchAction(E),r(u,h)}))}function r(s,u){u.eachChild(function(h){y.each(h.__regions,function(A){h.trigger(s.isSelected(A.name)?"emphasis":"normal")})})}function l(s,u){var h=new f.Group;this.uid=a("ec_map_draw"),this._controller=new p(s.getZr()),this._controllerHost={target:u?h:null},this.group=h,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,h.add(this._regionsGroup=new f.Group),h.add(this._backgroundGroup=new f.Group)}l.prototype={constructor:l,draw:function(s,u,h,A,v){var w=s.mainType==="geo",b=s.getData&&s.getData();w&&u.eachComponent({mainType:"series",subType:"map"},function(K){!b&&K.getHostGeoModel()===s&&(b=K.getData())});var E=s.coordinateSystem;this._updateBackground(E);var T=this._regionsGroup,_=this.group,x=E.getTransformInfo(),C=!T.childAt(0)||v,I;if(C)_.transform=x.roamTransform,_.decomposeTransform(),_.dirty();else{var L=new n;L.transform=x.roamTransform,L.decomposeTransform();var F={scale:L.scale,position:L.position};I=L.scale,f.updateProps(_,F,s)}var B=x.rawScale,P=x.rawPosition;T.removeAll();var H=["itemStyle"],z=["emphasis","itemStyle"],M=["label"],U=["emphasis","label"],k=y.createHashMap();y.each(E.regions,function(K){var j=k.get(K.name)||k.set(K.name,new f.Group),V=new f.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});j.add(V);var W=s.getRegionModel(K.name)||s,X=W.getModel(H),J=W.getModel(z),de=i(X),G=i(J),ae=W.getModel(M),Ae=W.getModel(U),me;if(b){me=b.indexOfName(K.name);var Me=b.getItemVisual(me,"color",!0);Me&&(de.fill=Me)}var oe=function(Te){return[Te[0]*B[0]+P[0],Te[1]*B[1]+P[1]]};y.each(K.geometries,function(Te){if(Te.type!=="polygon")return;for(var Ke=[],Ie=0;Ie<Te.exterior.length;++Ie)Ke.push(oe(Te.exterior[Ie]));V.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Ke}}));for(var Ie=0;Ie<(Te.interiors?Te.interiors.length:0);++Ie){for(var se=Te.interiors[Ie],Ke=[],ye=0;ye<se.length;++ye)Ke.push(oe(se[ye]));V.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Ke}}))}}),V.setStyle(de),V.style.strokeNoScale=!0,V.culling=!0;var _e=ae.get("show"),ee=Ae.get("show"),ne=b&&isNaN(b.get(b.mapDimension("value"),me)),Ge=b&&b.getItemLayout(me);if(w||ne&&(_e||ee)||Ge&&Ge.showLabel){var Ee=w?K.name:me,ue;(!b||me>=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(ot,Xe){if(ot===Xe)return!0;if(!ot||!Xe)return!1;var $t=ot.length;if(Xe.length!==$t)return!1;for(var Sr=0;Sr<$t;Sr++)if(ot[Sr]!==Xe[Sr])return!1;return!0}function E(ot){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(ot)}function T(ot,Xe){if(!(ot instanceof Xe))throw new TypeError("Cannot call a class as a function")}function _(ot,Xe){for(var $t=0;$t<Xe.length;$t++){var Sr=Xe[$t];Sr.enumerable=Sr.enumerable||!1,Sr.configurable=!0,"value"in Sr&&(Sr.writable=!0),Object.defineProperty(ot,Sr.key,Sr)}}function x(ot,Xe,$t){return Xe&&_(ot.prototype,Xe),$t&&_(ot,$t),ot}function C(ot,Xe){if(typeof Xe!="function"&&Xe!==null)throw new TypeError("Super expression must either be null or a function");ot.prototype=Object.create(Xe&&Xe.prototype,{constructor:{value:ot,writable:!0,configurable:!0}}),Xe&&I(ot,Xe)}function I(ot,Xe){return I=Object.setPrototypeOf||function(Sr,vr){return Sr.__proto__=vr,Sr},I(ot,Xe)}function L(ot){var Xe=P();return function(){var $t=H(ot),Sr;if(Xe){var vr=H(this).constructor;Sr=Reflect.construct($t,arguments,vr)}else Sr=$t.apply(this,arguments);return F(this,Sr)}}function F(ot,Xe){return Xe&&(E(Xe)==="object"||typeof Xe=="function")?Xe:B(ot)}function B(ot){if(ot===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ot}function P(){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(ot){return!1}}function H(ot){return H=Object.setPrototypeOf?Object.getPrototypeOf:function($t){return $t.__proto__||Object.getPrototypeOf($t)},H(ot)}var z=function(){var ot=function(Xe){C(Sr,Xe);var $t=L(Sr);function Sr(){var vr;return T(this,Sr),vr=$t.apply(this,arguments),vr.menuItems={},vr.saveMenuItem=function(fr){return function(An){vr.menuItems[fr]=An}},vr}return x(Sr,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(fr){!fr.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(fr){var An=this.props,Zr=An.fieldNames,Ln=An.defaultFieldNames;return Zr[fr]||Ln[fr]}},{key:"getOption",value:function(fr,An){var Zr=this.props,Ln=Zr.prefixCls,Je=Zr.expandTrigger,et=Zr.expandIcon,be=Zr.loadingIcon,Le=this.props.onSelect.bind(this,fr,An),Ue=this.props.onItemDoubleClick.bind(this,fr,An),rt={onClick:Le,onDoubleClick:Ue},Vt="".concat(Ln,"-menu-item"),Ft=null,zt=fr[this.getFieldName("children")]&&fr[this.getFieldName("children")].length>0;(zt||fr.isLeaf===!1)&&(Vt+=" ".concat(Ln,"-menu-item-expand"),fr.loading||(Ft=e.createElement("span",{className:"".concat(Ln,"-menu-item-expand-icon")},et))),Je==="hover"&&(zt||fr.isLeaf===!1)&&(rt={onMouseEnter:this.delayOnSelect.bind(this,Le),onMouseLeave:this.delayOnSelect.bind(this),onClick:Le}),this.isActiveOption(fr,An)&&(Vt+=" ".concat(Ln,"-menu-item-active"),rt.ref=this.saveMenuItem(An)),fr.disabled&&(Vt+=" ".concat(Ln,"-menu-item-disabled"));var Dr=null;fr.loading&&(Vt+=" ".concat(Ln,"-menu-item-loading"),Dr=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:Vt,title:Pr},rt,{role:"menuitem",onMouseDown:function(Ht){return Ht.preventDefault()}}),fr[this.getFieldName("label")],Ft,Dr)}},{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<Zr;Je++)Ln[Je-1]=arguments[Je];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof fr=="function"&&(this.delayTimer=window.setTimeout(function(){fr(Ln),An.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var fr=this.getShowOptions().length,An=0;An<fr;An++){var Zr=this.menuItems[An];Zr&&Zr.parentElement&&(Zr.parentElement.scrollTop=Zr.offsetTop)}}},{key:"isActiveOption",value:function(fr,An){var Zr=this.props.activeValue,Ln=Zr===void 0?[]:Zr;return Ln[An]===fr[this.getFieldName("value")]}},{key:"render",value:function(){var fr=this,An=this.props,Zr=An.prefixCls,Ln=An.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function(Je,et){return e.createElement("ul",{className:"".concat(Zr,"-menu"),key:et,style:Ln},Je.map(function(be){return fr.getOption(be,et)}))}))}}]),Sr}(e.Component);return ot.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},ot}(),M=z,U={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},k=U;function K(ot){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K=function($t){return typeof $t}:K=function($t){return $t&&typeof Symbol=="function"&&$t.constructor===Symbol&&$t!==Symbol.prototype?"symbol":typeof $t},K(ot)}function j(ot,Xe){if(ot==null)return{};var $t=V(ot,Xe),Sr,vr;if(Object.getOwnPropertySymbols){var fr=Object.getOwnPropertySymbols(ot);for(vr=0;vr<fr.length;vr++){if(Sr=fr[vr],Xe.indexOf(Sr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ot,Sr))continue;$t[Sr]=ot[Sr]}}return $t}function V(ot,Xe){if(ot==null)return{};var $t={},Sr=Object.keys(ot),vr,fr;for(fr=0;fr<Sr.length;fr++){if(vr=Sr[fr],Xe.indexOf(vr)>=0)continue;$t[vr]=ot[vr]}return $t}function W(ot){return G(ot)||de(ot)||J(ot)||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(ot,Xe){if(!ot)return;if(typeof ot=="string")return ae(ot,Xe);var $t=Object.prototype.toString.call(ot).slice(8,-1);if($t==="Object"&&ot.constructor&&($t=ot.constructor.name),$t==="Map"||$t==="Set")return Array.from(ot);if($t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($t))return ae(ot,Xe)}function de(ot){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(ot))return Array.from(ot)}function G(ot){if(Array.isArray(ot))return ae(ot)}function ae(ot,Xe){(Xe==null||Xe>ot.length)&&(Xe=ot.length);for(var $t=0,Sr=new Array(Xe);$t<Xe;$t++)Sr[$t]=ot[$t];return Sr}function Ae(ot,Xe){if(!(ot instanceof Xe))throw new TypeError("Cannot call a class as a function")}function me(ot,Xe){for(var $t=0;$t<Xe.length;$t++){var Sr=Xe[$t];Sr.enumerable=Sr.enumerable||!1,Sr.configurable=!0,"value"in Sr&&(Sr.writable=!0),Object.defineProperty(ot,Sr.key,Sr)}}function Me(ot,Xe,$t){return Xe&&me(ot.prototype,Xe),$t&&me(ot,$t),ot}function oe(ot,Xe){if(typeof Xe!="function"&&Xe!==null)throw new TypeError("Super expression must either be null or a function");ot.prototype=Object.create(Xe&&Xe.prototype,{constructor:{value:ot,writable:!0,configurable:!0}}),Xe&&_e(ot,Xe)}function _e(ot,Xe){return _e=Object.setPrototypeOf||function(Sr,vr){return Sr.__proto__=vr,Sr},_e(ot,Xe)}function ee(ot){var Xe=Ee();return function(){var $t=ue(ot),Sr;if(Xe){var vr=ue(this).constructor;Sr=Reflect.construct($t,arguments,vr)}else Sr=$t.apply(this,arguments);return ne(this,Sr)}}function ne(ot,Xe){return Xe&&(K(Xe)==="object"||typeof Xe=="function")?Xe:Ge(ot)}function Ge(ot){if(ot===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ot}function Ee(){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(ot){return!1}}function ue(ot){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function($t){return $t.__proto__||Object.getPrototypeOf($t)},ue(ot)}var re=function(){var ot=function(Xe){oe(Sr,Xe);var $t=ee(Sr);function Sr(vr){var fr;Ae(this,Sr),fr=$t.call(this,vr),fr.setPopupVisible=function(Zr){var Ln=fr.state.value;"popupVisible"in fr.props||fr.setState({popupVisible:Zr}),Zr&&!fr.state.popupVisible&&fr.setState({activeValue:Ln}),fr.props.onPopupVisibleChange(Zr)},fr.handleChange=function(Zr,Ln,Je){var et=Ln.visible;(Je.type!=="keydown"||Je.keyCode===A.a.ENTER)&&(fr.props.onChange(Zr.map(function(be){return be[fr.getFieldName("value")]}),Zr),fr.setPopupVisible(et))},fr.handlePopupVisibleChange=function(Zr){fr.setPopupVisible(Zr)},fr.handleMenuSelect=function(Zr,Ln,Je){var et=fr.trigger.getRootDomNode();et&&et.focus&&et.focus();var be=fr.props,Le=be.changeOnSelect,Ue=be.loadData,rt=be.expandTrigger;if(!Zr||Zr.disabled)return;var Vt=fr.state.activeValue;Vt=Vt.slice(0,Ln+1),Vt[Ln]=Zr[fr.getFieldName("value")];var Ft=fr.getActiveOptions(Vt);if(Zr.isLeaf===!1&&!Zr[fr.getFieldName("children")]&&Ue){Le&&fr.handleChange(Ft,{visible:!0},Je),fr.setState({activeValue:Vt}),Ue(Ft);return}var zt={};!Zr[fr.getFieldName("children")]||!Zr[fr.getFieldName("children")].length?(fr.handleChange(Ft,{visible:!1},Je),zt.value=Vt):Le&&(Je.type==="click"||Je.type==="keydown")&&(rt==="hover"?fr.handleChange(Ft,{visible:!1},Je):fr.handleChange(Ft,{visible:!0},Je),zt.value=Vt),zt.activeValue=Vt,("value"in fr.props||Je.type==="keydown"&&Je.keyCode!==A.a.ENTER)&&delete zt.value,fr.setState(zt)},fr.handleItemDoubleClick=function(){var Zr=fr.props.changeOnSelect;Zr&&fr.setPopupVisible(!1)},fr.handleKeyDown=function(Zr){var Ln=fr.props.children;if(Ln&&Ln.props.onKeyDown){Ln.props.onKeyDown(Zr);return}var Je=W(fr.state.activeValue),et=Je.length-1<0?0:Je.length-1,be=fr.getCurrentLevelOptions(),Le=be.map(function(Ft){return Ft[fr.getFieldName("value")]}).indexOf(Je[et]);if(Zr.keyCode!==A.a.DOWN&&Zr.keyCode!==A.a.UP&&Zr.keyCode!==A.a.LEFT&&Zr.keyCode!==A.a.RIGHT&&Zr.keyCode!==A.a.ENTER&&Zr.keyCode!==A.a.SPACE&&Zr.keyCode!==A.a.BACKSPACE&&Zr.keyCode!==A.a.ESC&&Zr.keyCode!==A.a.TAB)return;if(!fr.state.popupVisible&&Zr.keyCode!==A.a.BACKSPACE&&Zr.keyCode!==A.a.LEFT&&Zr.keyCode!==A.a.RIGHT&&Zr.keyCode!==A.a.ESC&&Zr.keyCode!==A.a.TAB){fr.setPopupVisible(!0);return}if(Zr.keyCode===A.a.DOWN||Zr.keyCode===A.a.UP){Zr.preventDefault();var Ue=Le;Ue!==-1?Zr.keyCode===A.a.DOWN?(Ue+=1,Ue=Ue>=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),Vt=rt[rt.length-1];fr.handleMenuSelect(Vt,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,Vt=fr.dropdownRender,Ft=j(fr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),zt=e.createElement("div",null),Dr="";et&&et.length>0?zt=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})):Dr=" ".concat(An,"-menus-empty");var Pr=zt;return Vt&&(Pr=Vt(zt)),e.createElement(s.a,Object.assign({ref:this.saveTrigger},Ft,{popupPlacement:Ue,builtinPlacements:Le,popupTransitionName:Zr,action:be?[]:["click"],popupVisible:be?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(An,"-menus"),popupClassName:Ln+Dr,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 ot.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:">"},ot}(),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(ot,Xe){var $t={};for(var Sr in ot)Object.prototype.hasOwnProperty.call(ot,Sr)&&Xe.indexOf(Sr)<0&&($t[Sr]=ot[Sr]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,Sr=Object.getOwnPropertySymbols(ot);vr<Sr.length;vr++)Xe.indexOf(Sr[vr])<0&&Object.prototype.propertyIsEnumerable.call(ot,Sr[vr])&&($t[Sr[vr]]=ot[Sr[vr]]);return $t},bt=50;function qe(ot,Xe,$t){return ot.split(Xe).map(function(Sr,vr){return vr===0?Sr:[e.createElement("span",{className:"".concat($t,"-menu-item-keyword"),key:"seperator"},Xe),Sr]})}function le(ot,Xe,$t){return Xe.some(function(Sr){return Sr[$t.label].indexOf(ot)>-1})}function Nt(ot,Xe,$t,Sr){return Xe.map(function(vr,fr){var An=vr[Sr.label],Zr=An.indexOf(ot)>-1?qe(An,ot,$t):An;return fr===0?Zr:[" / ",Zr]})}function tr(ot,Xe,$t,Sr){function vr(fr){return fr[Sr.label].indexOf($t)>-1}return ot.findIndex(vr)-Xe.findIndex(vr)}function lt(ot){var Xe=ot.fieldNames;return Xe}function Wt(ot){var Xe=lt(ot)||{},$t={children:Xe.children||"children",label:Xe.label||"label",value:Xe.value||"value"};return $t}function cr(ot,Xe){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Sr=Wt(Xe),vr=[],fr=Sr.children;return ot.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(ot){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ot||[]).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(ot){o()($t,ot);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,Vt,Ft=n()(vr),zt=Ft.props,Dr=Ft.state,Pr=zt.prefixCls,un=zt.inputPrefixCls,Ht=zt.children,dt=zt.placeholder,at=dt===void 0?An.placeholder||"Please select":dt,Qt=zt.size,Jt=zt.disabled,gt=zt.className,Bt=zt.style,mt=zt.allowClear,kt=zt.showSearch,gr=kt===void 0?!1:kt,ar=zt.suffixIcon,lr=zt.expandIcon,Gr=zt.notFoundContent,Jr=zt.popupClassName,Tn=zt.bordered,Nn=zt.dropdownRender,zn=q(zt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),qn=Qt||be,vi=Dr.value,Ri=Dr.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||Dr.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"),Dr.popupVisible),Ue)),Qe=Ke()(gt,"".concat(Se,"-picker"),(rt={},m()(rt,"".concat(Se,"-picker-rtl"),Ve),m()(rt,"".concat(Se,"-picker-with-value"),Dr.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"]),st=zt.options,Pt=Wt(vr.props);if(st&&st.length>0)Dr.inputValue&&(st=vr.generateFilteredOptions(Se,Je));else{var wr;st=[(wr={},m()(wr,Pt.label,Gr||Je("Cascader")),m()(wr,Pt.value,"ANT_CASCADER_NOT_FOUND"),wr)]}Dr.popupVisible?vr.cachedOptions=st:st=vr.cachedOptions;var mr={},Or=(st||[]).length===1&&st[0].isEmptyNode;Or&&(mr.height="auto");var jt=gr.matchInputWidth!==!1;jt&&(Dr.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=Ht||e.createElement("span",{style:Bt,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:at,className:"".concat(Se,"-input ").concat(Be),value:Dr.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=zt.getPopupContainer||Zr,xn=Object(Ie.default)(zt,["inputIcon","expandIcon","loadingIcon","bordered"]),Bn=Ke()(Jr,(Vt={},m()(Vt,"".concat(Se,"-menu-").concat(et),et==="rtl"),m()(Vt,"".concat(Se,"-menu-empty"),st.length===1&&st[0].value==="ANT_CASCADER_NOT_FOUND"),Vt));return e.createElement(ke,p()({},xn,{prefixCls:Se,getPopupContainer:yr,options:st,value:vi,popupVisible:Dr.popupVisible,onPopupVisibleChange:vr.handlePopupVisibleChange,onChange:vr.handleChange,dropdownMenuColumnStyle:mr,expandIcon:Xr,loadingIcon:Br,popupClassName:Bn,popupPlacement:vr.getPopupPlacement(et),dropdownRender:Nn}),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=Wt(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=Wt(this.props),Le=Je.filter,Ue=Le===void 0?le:Le,rt=Je.render,Vt=rt===void 0?Nt:rt,Ft=Je.sort,zt=Ft===void 0?tr:Ft,Dr=Je.limit,Pr=Dr===void 0?bt:Dr,un=this.state,Ht=un.flattenOptions,dt=Ht===void 0?[]:Ht,at=un.inputValue,Qt;if(Pr>0){Qt=[];var Jt=0;dt.some(function(gt){var Bt=Ue(An.state.inputValue,gt,be);return Bt&&(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,Bt){return zt(gt,Bt,at,be)}),Qt.length>0?Qt.map(function(gt){var Bt;return Bt={__IS_FILTERED_OPTION:!0,path:gt},m()(Bt,be.value,gt.map(function(mt){return mt[be.value]})),m()(Bt,be.label,Vt(at,gt,vr,be)),m()(Bt,"disabled",gt.some(function(mt){return!!mt.disabled})),m()(Bt,"isEmptyNode",!0),Bt}):[(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;o<a&&(a=o),o>n&&(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;Gt<Mt.length;Gt++){var $e=Mt[Gt];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(Ot,$e.key,$e)}}function p(Ot,Mt,Gt){return Mt&&y(Ot.prototype,Mt),Gt&&y(Ot,Gt),Ot}function S(Ot,Mt){if(!Ot)return;if(typeof Ot=="string")return m(Ot,Mt);var Gt=Object.prototype.toString.call(Ot).slice(8,-1);if(Gt==="Object"&&Ot.constructor&&(Gt=Ot.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(Ot);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return m(Ot,Mt)}function m(Ot,Mt){(Mt==null||Mt>Ot.length)&&(Mt=Ot.length);for(var Gt=0,$e=new Array(Mt);Gt<Mt;Gt++)$e[Gt]=Ot[Gt];return $e}function g(Ot,Mt){var Gt;if(typeof Symbol=="undefined"||Ot[Symbol.iterator]==null){if(Array.isArray(Ot)||(Gt=S(Ot))||Mt&&Ot&&typeof Ot.length=="number"){Gt&&(Ot=Gt);var $e=0;return function(){return $e>=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<arguments.length;Mt++){Gt=arguments[Mt];for($e in Gt)Object.prototype.hasOwnProperty.call(Gt,$e)&&(Ot[$e]=Gt[$e])}return Ot}function P(Ot,Mt){var Gt=Ot.replace(/\|/g,function(q,bt,qe){for(var le=!1,Nt=bt;--Nt>=0&&qe[Nt]==="\\";)le=!le;return le?"|":" |"}),$e=Gt.split(/ \|/),pe=0;if($e.length>Mt)$e.splice(Mt);else for(;$e.length<Mt;)$e.push("");for(;pe<$e.length;pe++)$e[pe]=$e[pe].trim().replace(/\\\|/g,"|");return $e}function H(Ot,Mt,Gt){var $e=Ot.length;if($e===0)return"";for(var pe=0;pe<$e;){var q=Ot.charAt($e-pe-1);if(q===Mt&&!Gt)pe++;else if(q!==Mt&&Gt)pe++;else break}return Ot.substr(0,$e-pe)}function z(Ot,Mt){if(Ot.indexOf(Mt[1])===-1)return-1;for(var Gt=Ot.length,$e=0,pe=0;pe<Gt;pe++)if(Ot[pe]==="\\")pe++;else if(Ot[pe]===Mt[0])$e++;else if(Ot[pe]===Mt[1]&&($e--,$e<0))return pe;return-1}function M(Ot){Ot&&Ot.sanitize&&!Ot.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:u,unescape:A,edit:w,cleanUrl:T,resolveUrl:L,noopTest:F,merge:B,splitCells:P,rtrim:H,findClosingBracket:z,checkSanitizeDeprecation:M},k=d.defaults,K=U.rtrim,j=U.splitCells,V=U.escape,W=U.findClosingBracket;function X(Ot,Mt,Gt){var $e=Mt.href,pe=Mt.title?V(Mt.title):null,q=Ot[1].replace(/\\([\[\]])/g,"$1");return Ot[0].charAt(0)!=="!"?{type:"link",raw:Gt,href:$e,title:pe,text:q}:{type:"image",raw:Gt,href:$e,title:pe,text:V(q)}}function J(Ot,Mt){var Gt=Ot.match(/^(\s+)(?:```)/);if(Gt===null)return Mt;var $e=Gt[1];return Mt.split(`
|
|
|
`).map(function(pe){var q=pe.match(/^\s+/);if(q===null)return pe;var bt=q[0];return bt.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<bt;qe++)/^ *-+: *$/.test(q.align[qe])?q.align[qe]="right":/^ *:-+: *$/.test(q.align[qe])?q.align[qe]="center":/^ *:-+ *$/.test(q.align[qe])?q.align[qe]="left":q.align[qe]=null;for(bt=q.cells.length,qe=0;qe<bt;qe++)q.cells[qe]=j(q.cells[qe],q.header.length);return q}}},Mt.hr=function($e){var pe=this.rules.block.hr.exec($e);if(pe)return{type:"hr",raw:pe[0]}},Mt.blockquote=function($e){var pe=this.rules.block.blockquote.exec($e);if(pe){var q=pe[0].replace(/^ *> ?/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,Wt,cr,Vr,ur,ir,Lt,ot,Xe=tr.length,$t=0;$t<Xe;$t++)Wt=tr[$t],q=Wt,cr=Wt.length,Wt=Wt.replace(/^ *([*+-]|\d+[.)]) */,""),~Wt.indexOf(`
|
|
|
`)&&(cr-=Wt.length,Wt=this.options.pedantic?Wt.replace(/^ {1,4}/gm,""):Wt.replace(new RegExp("^ {1,"+cr+"}","gm"),"")),$t!==Xe-1&&(Vr=this.rules.block.bullet.exec(tr[$t+1])[0],(qe?Vr.length===1||!le&&Vr[Vr.length-1]===")":Vr.length>1||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(Wt),$t!==Xe-1&&(lt=Wt.charAt(Wt.length-1)===`
|
|
|
`,ir||(ir=lt)),ir&&(Nt.loose=!0),Lt=/^\[[ xX]\] /.test(Wt),ot=void 0,Lt&&(ot=Wt[1]!==" ",Wt=Wt.replace(/^\[[ xX]\] +/,"")),Nt.items.push({type:"list_item",raw:q,task:Lt,checked:ot,loose:ir,text:Wt});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<bt;qe++)/^ *-+: *$/.test(q.align[qe])?q.align[qe]="right":/^ *:-+: *$/.test(q.align[qe])?q.align[qe]="center":/^ *:-+ *$/.test(q.align[qe])?q.align[qe]="left":q.align[qe]=null;for(bt=q.cells.length,qe=0;qe<bt;qe++)q.cells[qe]=j(q.cells[qe].replace(/^ *\| *| *\| *$/g,""),q.header.length);return q}}},Mt.lheading=function($e){var pe=this.rules.block.lheading.exec($e);if(pe)return{type:"heading",raw:pe[0],depth:pe[2].charAt(0)==="="?1:2,text:pe[1]}},Mt.paragraph=function($e){var pe=this.rules.block.paragraph.exec($e);if(pe)return{type:"paragraph",raw:pe[0],text:pe[1].charAt(pe[1].length-1)===`
|
|
|
`?pe[1].slice(0,-1):pe[1]}},Mt.text=function($e,pe){var q=this.rules.block.text.exec($e);if(q){var bt=pe[pe.length-1];return bt&&bt.type==="text"?{raw:q[0],text:q[0]}:{type:"text",raw:q[0],text:q[0]}}},Mt.escape=function($e){var pe=this.rules.inline.escape.exec($e);if(pe)return{type:"escape",raw:pe[0],text:V(pe[1])}},Mt.tag=function($e,pe,q){var bt=this.rules.inline.tag.exec($e);if(bt)return!pe&&/^<a /i.test(bt[0])?pe=!0:pe&&/^<\/a>/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]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\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=/<!--(?!-?>)[\s\S]*?-->/,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","</?(?:tag)(?: +|\\n|/?>)|<(?: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","</?(?:tag)(?: +|\\n|/?>)|<(?: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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",me._tag).getRegex(),me.pedantic=Ae({},me.normal,{html:ae(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\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:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\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:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\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]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Me._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",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]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),Me.gfm.url=ae(Me.gfm.url,"i").replace("email",Me.gfm._extended_email).getRegex(),Me.breaks=Ae({},Me.gfm,{br:ae(Me.br).replace("{2,}","*").getRegex(),text:ae(Me.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var oe={block:me,inline:Me},_e=d.defaults,ee=oe.block,ne=oe.inline;function Ge(Ot){return Ot.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Ee(Ot){var Mt="",Gt,$e,pe=Ot.length;for(Gt=0;Gt<pe;Gt++)$e=Ot.charCodeAt(Gt),Math.random()>.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;qe<le;qe++)bt.items[qe].tokens=this.blockTokens(bt.items[qe].text,[],!1);pe.push(bt);continue}if(bt=this.tokenizer.html($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(q&&(bt=this.tokenizer.def($e))){$e=$e.substring(bt.raw.length),this.tokens.links[bt.tag]||(this.tokens.links[bt.tag]={href:bt.href,title:bt.title});continue}if(bt=this.tokenizer.table($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.lheading($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(q&&(bt=this.tokenizer.paragraph($e))){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.text($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($e){var tr="Infinite loop on byte: "+$e.charCodeAt(0);if(this.options.silent){console.error(tr);break}else throw new Error(tr)}}return pe},Mt.inline=function($e){var pe,q,bt,qe,le,Nt,tr=$e.length;for(pe=0;pe<tr;pe++){Nt=$e[pe];switch(Nt.type){case"paragraph":case"text":case"heading":{Nt.tokens=[],this.inlineTokens(Nt.text,Nt.tokens);break}case"table":{for(Nt.tokens={header:[],cells:[]},qe=Nt.header.length,q=0;q<qe;q++)Nt.tokens.header[q]=[],this.inlineTokens(Nt.header[q],Nt.tokens.header[q]);for(qe=Nt.cells.length,q=0;q<qe;q++)for(le=Nt.cells[q],Nt.tokens.cells[q]=[],bt=0;bt<le.length;bt++)Nt.tokens.cells[q][bt]=[],this.inlineTokens(le[bt],Nt.tokens.cells[q][bt]);break}case"blockquote":{this.inline(Nt.tokens);break}case"list":{for(qe=Nt.items.length,q=0;q<qe;q++)this.inline(Nt.items[q].tokens);break}}}return $e},Mt.inlineTokens=function($e,pe,q,bt,qe){pe===void 0&&(pe=[]),q===void 0&&(q=!1),bt===void 0&&(bt=!1),qe===void 0&&(qe="");var le,Nt=$e,tr;if(this.tokens.links){var lt=Object.keys(this.tokens.links);if(lt.length>0)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 Wt="Infinite loop on byte: "+$e.charCodeAt(0);if(this.options.silent){console.error(Wt);break}else throw new Error(Wt)}}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?'<pre><code class="'+this.options.langPrefix+ke(bt,!0)+'">'+(q?$e:ke($e,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(q?$e:ke($e,!0))+`</code></pre>
|
|
|
`},Mt.blockquote=function($e){return`<blockquote>
|
|
|
`+$e+`</blockquote>
|
|
|
`},Mt.html=function($e){return $e},Mt.heading=function($e,pe,q,bt){return this.options.headerIds?"<h"+pe+' id="'+this.options.headerPrefix+bt.slug(q)+'">'+$e+"</h"+pe+`>
|
|
|
`:"<h"+pe+">"+$e+"</h"+pe+`>
|
|
|
`},Mt.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Mt.list=function($e,pe,q){var bt=pe?"ol":"ul",qe=pe&&q!==1?' start="'+q+'"':"";return"<"+bt+qe+`>
|
|
|
`+$e+"</"+bt+`>
|
|
|
`},Mt.listitem=function($e){return"<li>"+$e+`</li>
|
|
|
`},Mt.checkbox=function($e){return"<input "+($e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Mt.paragraph=function($e){return"<p>"+$e+`</p>
|
|
|
`},Mt.table=function($e,pe){return pe&&(pe="<tbody>"+pe+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+$e+`</thead>
|
|
|
`+pe+`</table>
|
|
|
`},Mt.tablerow=function($e){return`<tr>
|
|
|
`+$e+`</tr>
|
|
|
`},Mt.tablecell=function($e,pe){var q=pe.header?"th":"td",bt=pe.align?"<"+q+' align="'+pe.align+'">':"<"+q+">";return bt+$e+"</"+q+`>
|
|
|
`},Mt.strong=function($e){return"<strong>"+$e+"</strong>"},Mt.em=function($e){return"<em>"+$e+"</em>"},Mt.codespan=function($e){return"<code>"+$e+"</code>"},Mt.br=function(){return this.options.xhtml?"<br/>":"<br>"},Mt.del=function($e){return"<del>"+$e+"</del>"},Mt.link=function($e,pe,q){if($e=ce(this.options.sanitize,this.options.baseUrl,$e),$e===null)return q;var bt='<a href="'+ke($e)+'"';return pe&&(bt+=' title="'+pe+'"'),bt+=">"+q+"</a>",bt},Mt.image=function($e,pe,q){if($e=ce(this.options.sanitize,this.options.baseUrl,$e),$e===null)return q;var bt='<img src="'+$e+'" alt="'+q+'"';return pe&&(bt+=' title="'+pe+'"'),bt+=this.options.xhtml?"/>":">",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,Wt,cr,Vr,ur,ir,Lt,ot,Xe,$t,Sr,vr,fr,An=$e.length;for(bt=0;bt<An;bt++){ur=$e[bt];switch(ur.type){case"space":continue;case"hr":{q+=this.renderer.hr();continue}case"heading":{q+=this.renderer.heading(this.parseInline(ur.tokens),ur.depth,ye(this.parseInline(ur.tokens,this.textRenderer)),this.slugger);continue}case"code":{q+=this.renderer.code(ur.text,ur.lang,ur.escaped);continue}case"table":{for(cr="",Wt="",Nt=ur.header.length,qe=0;qe<Nt;qe++)Wt+=this.renderer.tablecell(this.parseInline(ur.tokens.header[qe]),{header:!0,align:ur.align[qe]});for(cr+=this.renderer.tablerow(Wt),Vr="",Nt=ur.cells.length,qe=0;qe<Nt;qe++){for(lt=ur.tokens.cells[qe],Wt="",tr=lt.length,le=0;le<tr;le++)Wt+=this.renderer.tablecell(this.parseInline(lt[le]),{header:!1,align:ur.align[le]});Vr+=this.renderer.tablerow(Wt)}q+=this.renderer.table(cr,Vr);continue}case"blockquote":{Vr=this.parse(ur.tokens),q+=this.renderer.blockquote(Vr);continue}case"list":{for(ir=ur.ordered,Lt=ur.start,ot=ur.loose,Nt=ur.items.length,Vr="",qe=0;qe<Nt;qe++)$t=ur.items[qe],Sr=$t.checked,vr=$t.task,Xe="",$t.task&&(fr=this.renderer.checkbox(Sr),ot?$t.tokens.length>0&&$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,ot),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+1<An&&$e[bt+1].type==="text";)ur=$e[++bt],Vr+=`
|
|
|
`+(ur.tokens?this.parseInline(ur.tokens):ur.text);q+=pe?this.renderer.paragraph(Vr):Vr;continue}default:{var Zr='Token with "'+ur.type+'" type was not found.';if(this.options.silent){console.error(Zr);return}else throw new Error(Zr)}}}return q},Mt.parseInline=function($e,pe){pe=pe||this.renderer;var q="",bt,qe,le=$e.length;for(bt=0;bt<le;bt++){qe=$e[bt];switch(qe.type){case"escape":{q+=pe.text(qe.text);break}case"html":{q+=pe.html(qe.text);break}case"link":{q+=pe.link(qe.href,qe.title,this.parseInline(qe.tokens,pe));break}case"image":{q+=pe.image(qe.href,qe.title,qe.text);break}case"strong":{q+=pe.strong(this.parseInline(qe.tokens,pe));break}case"em":{q+=pe.em(this.parseInline(qe.tokens,pe));break}case"codespan":{q+=pe.codespan(qe.text);break}case"br":{q+=pe.br();break}case"del":{q+=pe.del(this.parseInline(qe.tokens,pe));break}case"text":{q+=pe.text(qe.text);break}default:{var Nt='Token with "'+qe.type+'" type was not found.';if(this.options.silent){console.error(Nt);return}else throw new Error(Nt)}}}return q},Ot}(),Ye=U.merge,pt=U.checkSanitizeDeprecation,nt=U.escape,Oe=d.getDefaults,vt=d.changeDefaults,Ze=d.defaults;function wt(Ot,Mt,Gt){if(typeof Ot=="undefined"||Ot===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ot!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ot)+", string expected");if(typeof Mt=="function"&&(Gt=Mt,Mt=null),Mt=Ye({},wt.defaults,Mt||{}),pt(Mt),Gt){var $e=Mt.highlight,pe;try{pe=ue.lex(Ot,Mt)}catch(le){return Gt(le)}var q=function(Nt){var tr;if(!Nt)try{tr=xe.parse(pe,Mt)}catch(lt){Nt=lt}return Mt.highlight=$e,Nt?Gt(Nt):Gt(null,tr)};if(!$e||$e.length<3)return q();if(delete Mt.highlight,!pe.length)return q();var bt=0;wt.walkTokens(pe,function(le){le.type==="code"&&(bt++,setTimeout(function(){$e(le.text,le.lang,function(Nt,tr){if(Nt)return q(Nt);tr!=null&&tr!==le.text&&(le.text=tr,le.escaped=!0),bt--,bt===0&&q()})},0))}),bt===0&&q();return}try{var qe=ue.lex(Ot,Mt);return Mt.walkTokens&&wt.walkTokens(qe,Mt.walkTokens),xe.parse(qe,Mt)}catch(le){if(le.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Mt.silent)return"<p>An error occurred:</p><pre>"+nt(le.message+"",!0)+"</pre>";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<Nt;lt++)tr[lt]=arguments[lt];var Wt=Ot.renderer[qe].apply($e,tr);return Wt===!1&&(Wt=le.apply($e,tr)),Wt}};for(var q in Ot.renderer)pe(q);Mt.renderer=$e}(),Ot.tokenizer&&function(){var $e=wt.defaults.tokenizer||new de,pe=function(qe){var le=$e[qe];$e[qe]=function(){for(var Nt=arguments.length,tr=new Array(Nt),lt=0;lt<Nt;lt++)tr[lt]=arguments[lt];var Wt=Ot.tokenizer[qe].apply($e,tr);return Wt===!1&&(Wt=le.apply($e,tr)),Wt}};for(var q in Ot.tokenizer)pe(q);Mt.tokenizer=$e}(),Ot.walkTokens){var Gt=wt.defaults.walkTokens;Mt.walkTokens=function($e){Ot.walkTokens($e),Gt&&Gt($e)}}wt.setOptions(Mt)},wt.walkTokens=function(Ot,Mt){for(var Gt=g(Ot),$e;!($e=Gt()).done;){var pe=$e.value;Mt(pe);switch(pe.type){case"table":{for(var q=g(pe.tokens.header),bt;!(bt=q()).done;){var qe=bt.value;wt.walkTokens(qe,Mt)}for(var le=g(pe.tokens.cells),Nt;!(Nt=le()).done;)for(var tr=Nt.value,lt=g(tr),Wt;!(Wt=lt()).done;){var cr=Wt.value;wt.walkTokens(cr,Mt)}break}case"list":{wt.walkTokens(pe.items,Mt);break}default:pe.tokens&&wt.walkTokens(pe.tokens,Mt)}}},wt.Parser=xe,wt.parser=xe.parse,wt.Renderer=Te,wt.TextRenderer=Ke,wt.Lexer=ue,wt.lexer=ue.lex,wt.Tokenizer=de,wt.Slugger=Ie,wt.parse=wt;var xt=wt;return xt})},"DlR+":function(R,N,t){var y=t("MFOe"),p=y.Global,S=y.trim;R.exports={name:"cookieStorage",read:g,write:d,each:f,remove:c,clearAll:a};var m=p.document;function g(i){if(!i||!n(i))return null;var o="(?:^|.*;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(o),"$1"))}function f(i){for(var o=m.cookie.split(/; ?/g),r=o.length-1;r>=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<x.i&&(x=_,b.pagePrevDataIndex==null&&(b.pagePrevDataIndex=_.i),++b.pageCount,++b.pageIndex),_=C;return b;function I(F){if(F){var B=F.getBoundingRect(),P=B[s]+F.position[l];return{s:P,e:P+B[e],i:F.__legendDataIndex}}}function L(F,B){return F.e>=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<d;Te+=2){var Ke=E[Te],Ie=E[Te+1];Ke(Ie),E[Te]=void 0,E[Te+1]=void 0}d=0}function _(){try{var Te=Function("return this")().require("vertx");return c=Te.runOnLoop||Te.runOnContext,A()}catch(Ke){return b()}}var x=void 0;s?x=h():e?x=v():u?x=w():r===void 0&&!0?x=_():x=b();function C(Te,Ke){var Ie=this,se=new this.constructor(F);se[L]===void 0&&oe(se);var ye=Ie._state;if(ye){var xe=arguments[ye-1];n(function(){return ae(ye,se,xe,Ie._result)})}else de(Ie,se,Te,Ke);return se}function I(Te){var Ke=this;if(Te&&typeof Te=="object"&&Te.constructor===Ke)return Te;var Ie=new Ke(F);return V(Ie,Te),Ie}var L=Math.random().toString(36).substring(2);function F(){}var B=void 0,P=1,H=2;function z(){return new TypeError("You cannot resolve a promise with itself")}function M(){return new TypeError("A promises callback cannot return that same promise.")}function U(Te,Ke,Ie,se){try{Te.call(Ke,Ie,se)}catch(ye){return ye}}function k(Te,Ke,Ie){n(function(se){var ye=!1,xe=U(Ie,Ke,function(Ye){if(ye)return;ye=!0,Ke!==Ye?V(se,Ye):X(se,Ye)},function(Ye){if(ye)return;ye=!0,J(se,Ye)},"Settle: "+(se._label||" unknown promise"));!ye&&xe&&(ye=!0,J(se,xe))},Te)}function K(Te,Ke){Ke._state===P?X(Te,Ke._result):Ke._state===H?J(Te,Ke._result):de(Ke,void 0,function(Ie){return V(Te,Ie)},function(Ie){return J(Te,Ie)})}function j(Te,Ke,Ie){Ke.constructor===Te.constructor&&Ie===C&&Ke.constructor.resolve===I?K(Te,Ke):Ie===void 0?X(Te,Ke):m(Ie)?k(Te,Ke,Ie):X(Te,Ke)}function V(Te,Ke){if(Te===Ke)J(Te,z());else if(S(Ke)){var Ie=void 0;try{Ie=Ke.then}catch(se){J(Te,se);return}j(Te,Ke,Ie)}else X(Te,Ke)}function W(Te){Te._onerror&&Te._onerror(Te._result),G(Te)}function X(Te,Ke){if(Te._state!==B)return;Te._result=Ke,Te._state=P,Te._subscribers.length!==0&&n(G,Te)}function J(Te,Ke){if(Te._state!==B)return;Te._state=H,Te._result=Ke,n(W,Te)}function de(Te,Ke,Ie,se){var ye=Te._subscribers,xe=ye.length;Te._onerror=null,ye[xe]=Ke,ye[xe+P]=Ie,ye[xe+H]=se,xe===0&&Te._state&&n(G,Te)}function G(Te){var Ke=Te._subscribers,Ie=Te._state;if(Ke.length===0)return;for(var se=void 0,ye=void 0,xe=Te._result,Ye=0;Ye<Ke.length;Ye+=3)se=Ke[Ye],ye=Ke[Ye+Ie],se?ae(Ie,se,ye,xe):ye(xe);Te._subscribers.length=0}function ae(Te,Ke,Ie,se){var ye=m(Ie),xe=void 0,Ye=void 0,pt=!0;if(ye){try{xe=Ie(se)}catch(nt){pt=!1,Ye=nt}if(Ke===xe){J(Ke,M());return}}else xe=se;Ke._state!==B||(ye&&pt?V(Ke,xe):pt===!1?J(Ke,Ye):Te===P?X(Ke,xe):Te===H&&J(Ke,xe))}function Ae(Te,Ke){try{Ke(function(se){V(Te,se)},function(se){J(Te,se)})}catch(Ie){J(Te,Ie)}}var me=0;function Me(){return me++}function oe(Te){Te[L]=me++,Te._state=void 0,Te._result=void 0,Te._subscribers=[]}function _e(){return new Error("Array Methods must be provided an Array")}var ee=function(){function Te(Ke,Ie){this._instanceConstructor=Ke,this.promise=new Ke(F),this.promise[L]||oe(this.promise),f(Ie)?(this.length=Ie.length,this._remaining=Ie.length,this._result=new Array(this.length),this.length===0?X(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ie),this._remaining===0&&X(this.promise,this._result))):J(this.promise,_e())}return Te.prototype._enumerate=function(Ie){for(var se=0;this._state===B&&se<Ie.length;se++)this._eachEntry(Ie[se],se)},Te.prototype._eachEntry=function(Ie,se){var ye=this._instanceConstructor,xe=ye.resolve;if(xe===I){var Ye=void 0,pt=void 0,nt=!1;try{Ye=Ie.then}catch(vt){nt=!0,pt=vt}if(Ye===C&&Ie._state!==B)this._settledAt(Ie._state,se,Ie._result);else if(typeof Ye!="function")this._remaining--,this._result[se]=Ie;else if(ye===ce){var Oe=new ye(F);nt?J(Oe,pt):j(Oe,Ie,Ye),this._willSettleAt(Oe,se)}else this._willSettleAt(new ye(function(vt){return vt(Ie)}),se)}else this._willSettleAt(xe(Ie),se)},Te.prototype._settledAt=function(Ie,se,ye){var xe=this.promise;xe._state===B&&(this._remaining--,Ie===H?J(xe,ye):this._result[se]=ye),this._remaining===0&&X(xe,this._result)},Te.prototype._willSettleAt=function(Ie,se){var ye=this;de(Ie,void 0,function(xe){return ye._settledAt(P,se,xe)},function(xe){return ye._settledAt(H,se,xe)})},Te}();function ne(Te){return new ee(this,Te).promise}function Ge(Te){var Ke=this;return f(Te)?new Ke(function(Ie,se){for(var ye=Te.length,xe=0;xe<ye;xe++)Ke.resolve(Te[xe]).then(Ie,se)}):new Ke(function(Ie,se){return se(new TypeError("You must pass an array to race."))})}function Ee(Te){var Ke=this,Ie=new Ke(F);return J(Ie,Te),Ie}function ue(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function re(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ce=function(){function Te(Ke){this[L]=Me(),this._result=this._state=void 0,this._subscribers=[],F!==Ke&&(typeof Ke!="function"&&ue(),this instanceof Te?Ae(this,Ke):re())}return Te.prototype.catch=function(Ie){return this.then(null,Ie)},Te.prototype.finally=function(Ie){var se=this,ye=se.constructor;return m(Ie)?se.then(function(xe){return ye.resolve(Ie()).then(function(){return xe})},function(xe){return ye.resolve(Ie()).then(function(){throw xe})}):se.then(Ie,Ie)},Te}();ce.prototype.then=C,ce.all=ne,ce.race=Ge,ce.resolve=I,ce.reject=Ee,ce._setScheduler=i,ce._setAsap=o,ce._asap=n;function ke(){var Te=void 0;if(typeof p!="undefined")Te=p;else if(typeof self!="undefined")Te=self;else try{Te=Function("return this")()}catch(se){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ke=Te.Promise;if(Ke){var Ie=null;try{Ie=Object.prototype.toString.call(Ke.resolve())}catch(se){}if(Ie==="[object Promise]"&&!Ke.cast)return}Te.Promise=ce}return ce.polyfill=ke,ce.Promise=ce,ce})}).call(this,t("Q2Ig"),t("yLpj"))},E9nw:function(R,N){R.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var y=document.activeElement,p=[],S=0;S<t.rangeCount;S++)p.push(t.getRangeAt(S));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||p.forEach(function(m){t.addRange(m)}),y&&y.focus()}}},ELLl:function(R,N,t){(function(y){y(t("VrN/"))})(function(y){var p={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,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<e.length;s++){var u=e.charAt(s),h="'"+u+"'";g[h]||(g[h]=d(u))}}f(p.pairs+"`");function d(e){return function(s){return o(s,e)}}function c(e){var s=e.state.closeBrackets;if(!s||s.override)return s;var u=e.getModeAt(e.getCursor());return u.closeBrackets||s}function a(e){var s=c(e);if(!s||e.getOption("disableInput"))return y.Pass;for(var u=m(s,"pairs"),h=e.listSelections(),A=0;A<h.length;A++){if(!h[A].empty())return y.Pass;var v=r(e,h[A].head);if(!v||u.indexOf(v)%2!=0)return y.Pass}for(var A=h.length-1;A>=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;A<h.length;A++){if(!h[A].empty())return y.Pass;var v=r(e,h[A].head);if(!v||u.indexOf(v)%2!=0)return y.Pass}e.operation(function(){var w=e.lineSeparator()||`
|
|
|
`;e.replaceSelection(w+w,null),e.execCommand("goCharLeft"),h=e.listSelections();for(var b=0;b<h.length;b++){var E=h[b].head.line;e.indentLine(E,null,!0),e.indentLine(E+1,null,!0)}})}function i(e){var s=y.cmpPos(e.anchor,e.head)>0;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<E.length;x++){var C=E[x],I=C.head,L,F=e.getRange(I,S(I.line,I.ch+1));if(T&&!C.empty())L="surround";else if((b||!T)&&F==s)b&&l(e,I)?L="both":w.indexOf(s)>=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;z<M.length;z++)M[z]=P+M[z]+H;e.replaceSelections(M,"around"),M=e.listSelections().slice();for(var z=0;z<M.length;z++)M[z]=i(M[z]);e.setSelections(M)}else _=="both"?(e.replaceSelection(P+H,null),e.triggerElectric(P+H),e.execCommand("goCharLeft")):_=="addFour"&&(e.replaceSelection(P+P+P+P,"before"),e.execCommand("goCharRight"))})}function r(e,s){var u=e.getRange(S(s.line,s.ch-1),S(s.line,s.ch+1));return u.length==2?u:null}function l(e,s){var u=e.getTokenAt(S(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(e.getTokenTypeAt(s)))}})},EMyp:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("mFDi"),m=t("K4ya"),g=t("qJCg"),f=t("iLNv"),d=t("vZ6x"),c=["inBrush","outOfBrush"],a="__ecBrushSelect",n="__ecInBrushSelectEvent",i=y.PRIORITY.VISUAL.BRUSH;y.registerLayout(i,function(w,b,E){w.eachComponent({mainType:"brush"},function(T){E&&E.type==="takeGlobalCursor"&&T.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),o(w)});function o(w){w.eachComponent({mainType:"brush"},function(b){var E=b.brushTargetManager=new d(b.option,w);E.setInputRanges(b.areas,w)})}y.registerVisual(i,function(w,b,E){var T=[],_,x;w.eachComponent({mainType:"brush"},function(C,I){var L={brushId:C.id,brushIndex:I,brushName:C.name,areas:p.clone(C.areas),selected:[]};T.push(L);var F=C.option,B=F.brushLink,P=[],H=[],z=[],M=0;I||(_=F.throttleType,x=F.throttleDelay);var U=p.map(C.areas,function(X){return h(p.defaults({boundingRect:A[X.brushType](X)},X))}),k=m.createVisualMappings(C.option,c,function(X){X.mappingMethod="fixed"});p.isArray(B)&&p.each(B,function(X){P[X]=1});function K(X){return B==="all"||P[X]}function j(X){return!!X.length}w.eachSeries(function(X,J){var de=z[J]=[];X.subType==="parallel"?V(X,J,de):W(X,J,de)});function V(X,J){var de=X.coordinateSystem;M|=de.hasAxisBrushed(),K(J)&&de.eachActiveState(X.getData(),function(G,ae){G==="active"&&(H[ae]=1)})}function W(X,J,de){var G=s(X);if(!G||u(C,J))return;if(p.each(U,function(Ae){G[Ae.brushType]&&C.brushTargetManager.controlSeries(Ae,X,w)&&de.push(Ae),M|=j(de)}),K(J)&&j(de)){var ae=X.getData();ae.each(function(Ae){e(G,de,ae,Ae)&&(H[Ae]=1)})}}w.eachSeries(function(X,J){var de={seriesId:X.id,seriesIndex:J,seriesName:X.name,dataIndex:[]};L.selected.push(de);var G=s(X),ae=z[J],Ae=X.getData(),me=K(J)?function(Me){return H[Me]?(de.dataIndex.push(Ae.getRawIndex(Me)),"inBrush"):"outOfBrush"}:function(Me){return e(G,ae,Ae,Me)?(de.dataIndex.push(Ae.getRawIndex(Me)),"inBrush"):"outOfBrush"};(K(J)?M:j(ae))&&m.applyVisual(c,k,Ae,me)})}),r(b,_,x,T,E)});function r(w,b,E,T,_){if(!_)return;var x=w.getZr();if(x[n])return;x[a]||(x[a]=l);var C=f.createOrUpdate(x,a,E,b);C(w,T)}function l(w,b){if(!w.isDisposed()){var E=w.getZr();E[n]=!0,w.dispatchAction({type:"brushSelect",batch:b}),E[n]=!1}}function e(w,b,E,T){for(var _=0,x=b.length;_<x;_++){var C=b[_];if(w[C.brushType](T,E,C.selectors,C))return!0}}function s(w){var b=w.brushSelector;if(p.isString(b)){var E=[];return p.each(g,function(_,x){E[x]=function(C,I,L,F){var B=I.getItemLayout(C);return _[b](B,L,F)}}),E}else if(p.isFunction(b)){var T={};return p.each(g,function(_,x){T[x]=b}),T}return b}function u(w,b){var E=w.option.seriesIndex;return E!=null&&E!=="all"&&(p.isArray(E)?p.indexOf(E,b)<0:b!==E)}function h(w){var b=w.selectors={};return p.each(g[w.brushType],function(E,T){b[T]=function(_){return E(_,b,w)}}),w}var A={lineX:p.noop,lineY:p.noop,rect:function(w){return v(w.range)},polygon:function(w){for(var b,E=w.range,T=0,_=E.length;T<_;T++){b=b||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=E[T];x[0]<b[0][0]&&(b[0][0]=x[0]),x[0]>b[0][1]&&(b[0][1]=x[0]),x[1]<b[1][0]&&(b[1][0]=x[1]),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<h.length-1;E++){var T=l(v,w);T&&(T.__dimIdx=E,u[E]?(T.attr("position",u[E]),p[b?"initProps":"updateProps"](T,{position:h[E]},d,w)):T.attr("position",h[E]),A.add(T))}}function s(u){return S.map(u,function(h){return[n.cx,n.cy]})}o.diff(r).add(function(u){var h=o.getItemLayout(u);if(!h)return;var A=new p.Polygon,v=new p.Polyline,w={shape:{points:h}};A.shape.points=s(h),v.shape.points=s(h),p.initProps(A,w,d,u),p.initProps(v,w,d,u);var b=new p.Group,E=new p.Group;b.add(v),b.add(A),b.add(E),e(v.shape.points,h,E,o,u,!0),o.setItemGraphicEl(u,b)}).update(function(u,h){var A=r.getItemGraphicEl(h),v=A.childAt(0),w=A.childAt(1),b=A.childAt(2),E={shape:{points:o.getItemLayout(u)}};if(!E.shape.points)return;e(v.shape.points,E.shape.points,b,o,u,!1),p.updateProps(v,E,d),p.updateProps(w,E,d),o.setItemGraphicEl(u,A)}).remove(function(u){i.remove(r.getItemGraphicEl(u))}).execute(),o.eachItemGraphicEl(function(u,h){var A=o.getItemModel(h),v=u.childAt(0),w=u.childAt(1),b=u.childAt(2),E=o.getItemVisual(h,"color");i.add(u),v.useStyle(S.defaults(A.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),v.hoverStyle=A.getModel("emphasis.lineStyle").getLineStyle();var T=A.getModel("areaStyle"),_=A.getModel("emphasis.areaStyle"),x=T.isEmpty()&&T.parentModel.isEmpty(),C=_.isEmpty()&&_.parentModel.isEmpty();C=C&&x,w.ignore=x,w.useStyle(S.defaults(T.getAreaStyle(),{fill:E,opacity:.7})),w.hoverStyle=_.getAreaStyle();var I=A.getModel("itemStyle").getItemStyle(["color"]),L=A.getModel("emphasis.itemStyle").getItemStyle(),F=A.getModel("label"),B=A.getModel("emphasis.label");b.eachChild(function(P){P.setStyle(I),P.hoverStyle=S.clone(L);var H=o.get(o.dimensions[P.__dimIdx],h);(H==null||isNaN(H))&&(H=""),p.setLabelStyle(P.style,P.hoverStyle,F,B,{labelFetcher:o.hostModel,labelDataIndex:h,labelDimIndex:P.__dimIdx,defaultText:H,autoColor:E,isRectText:!0})}),u.highDownOnUpdate=function(P,H){w.attr("ignore",H==="emphasis"?C:x)},p.setHoverStyle(u)}),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});R.exports=f},FH2Y:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("ZMnZ"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},FIfw:function(R,N,t){},FNN5:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("+rIm"),m=t("Znkb"),g=["axisLine","axisTickLabel","axisName"],f=["splitLine","splitArea","minorSplitLine"],d=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(a,n){if(this.group.removeAll(),!a.get("show"))return;var i=a.axis,o=i.polar,r=o.getAngleAxis(),l=i.getTicksCoords(),e=i.getMinorTicksCoords(),s=r.getExtent()[0],u=i.getExtent(),h=c(o,a,s),A=new S(a,h);y.each(g,A.add,A),this.group.add(A.getGroup()),y.each(f,function(v){a.get(v+".show")&&!i.scale.isBlank()&&this["_"+v](a,o,s,u,l,e)},this)},_splitLine:function(a,n,i,o,r){var l=a.getModel("splitLine"),e=l.getModel("lineStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],A=0;A<r.length;A++){var v=u++%s.length;h[v]=h[v]||[],h[v].push(new p.Circle({shape:{cx:n.cx,cy:n.cy,r:r[A].coord}}))}for(var A=0;A<h.length;A++)this.group.add(p.mergePath(h[A],{style:y.defaults({stroke:s[A%s.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(a,n,i,o,r,l){if(!l.length)return;for(var e=a.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=[],h=0;h<l.length;h++)for(var A=0;A<l[h].length;A++)u.push(new p.Circle({shape:{cx:n.cx,cy:n.cy,r:l[h][A].coord}}));this.group.add(p.mergePath(u,{style:y.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(a,n,i,o,r){if(!r.length)return;var l=a.getModel("splitArea"),e=l.getModel("areaStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],A=r[0].coord,v=1;v<r.length;v++){var w=u++%s.length;h[w]=h[w]||[],h[w].push(new p.Sector({shape:{cx:n.cx,cy:n.cy,r0:A,r:r[v].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),A=r[v].coord}for(var v=0;v<h.length;v++)this.group.add(p.mergePath(h[v],{style:y.defaults({fill:s[v%s.length]},e.getAreaStyle()),silent:!0}))}});function c(a,n,i){return{position:[a.cx,a.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:n.getModel("axisLabel").get("rotate"),z2:1}}R.exports=d},FUi9:function(R,N,t){var y=t("bYtY"),p=t("MwEJ"),S=t("aX7z"),m=t("ICMv"),g=t("Qxkt"),f=t("+TT/"),d=f.getLayoutRect;N.getLayoutRect=f.getLayoutRect;var c=t("7hqr"),a=c.enableDataStack,n=c.isDimensionStacked,i=c.getStackedDimension,o=t("hi0g");N.completeDimensions=o;var r=t("sdST");N.createDimensions=r;var l=t("oVpE");N.createSymbol=l.createSymbol;function e(A){return p(A.getSource(),A)}var s={isDimensionStacked:n,enableDataStack:a,getStackedDimension:i};function u(A,v){var w=v;g.isInstance(v)||(w=new g(v),y.mixin(w,m));var b=S.createScaleByModel(w);return b.setExtent(A[0],A[1]),S.niceScaleExtent(b,w),b}function h(A){y.mixin(A,m)}N.createList=e,N.dataStack=s,N.createScale=u,N.mixinAxisModelCommonMethods=h},"Fa/5":function(R,N,t){var y=t("ProS");t("y2l5"),t("q/+u");var p=t("f5Yq"),S=t("h8O9");t("Ae16"),y.registerVisual(p("scatter","circle")),y.registerLayout(S("scatter"))},FhB9: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:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};N.default=y},"Fm1+":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("a7Wl")),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="CaretUpOutlined";var c=m.forwardRef(d);N.default=c},Fofx:function(R,N){var t=typeof Float32Array=="undefined"?Array:Float32Array;function y(){var n=new t(6);return p(n),n}function p(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function S(n,i){return n[0]=i[0],n[1]=i[1],n[2]=i[2],n[3]=i[3],n[4]=i[4],n[5]=i[5],n}function m(n,i,o){var r=i[0]*o[0]+i[2]*o[1],l=i[1]*o[0]+i[3]*o[1],e=i[0]*o[2]+i[2]*o[3],s=i[1]*o[2]+i[3]*o[3],u=i[0]*o[4]+i[2]*o[5]+i[4],h=i[1]*o[4]+i[3]*o[5]+i[5];return n[0]=r,n[1]=l,n[2]=e,n[3]=s,n[4]=u,n[5]=h,n}function g(n,i,o){return n[0]=i[0],n[1]=i[1],n[2]=i[2],n[3]=i[3],n[4]=i[4]+o[0],n[5]=i[5]+o[1],n}function f(n,i,o){var r=i[0],l=i[2],e=i[4],s=i[1],u=i[3],h=i[5],A=Math.sin(o),v=Math.cos(o);return n[0]=r*v+s*A,n[1]=-r*A+s*v,n[2]=l*v+u*A,n[3]=-l*A+v*u,n[4]=v*e+A*h,n[5]=v*h-A*e,n}function d(n,i,o){var r=o[0],l=o[1];return n[0]=i[0]*r,n[1]=i[1]*l,n[2]=i[2]*r,n[3]=i[3]*l,n[4]=i[4]*r,n[5]=i[5]*l,n}function c(n,i){var o=i[0],r=i[2],l=i[4],e=i[1],s=i[3],u=i[5],h=o*s-e*r;return h?(h=1/h,n[0]=s*h,n[1]=-e*h,n[2]=-r*h,n[3]=o*h,n[4]=(r*u-s*l)*h,n[5]=(e*l-o*u)*h,n):null}function a(n){var i=y();return S(i,n),i}N.create=y,N.identity=p,N.copy=S,N.mul=m,N.translate=g,N.rotate=f,N.scale=d,N.invert=c,N.clone=a},Fv0C: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.default=void 0;var p=a(t("Lo0S")),S=t("vewr"),m=a(t("8CQX")),g=d(t("mHUz")),f=a(t("GdRQ"));function d(l){return l&&l.__esModule?l:{default:l}}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,e){if(!(l instanceof e))throw new TypeError("Cannot call a class as a function")}function i(l,e){for(var s=0;s<e.length;s++){var u=e[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}function o(l,e,s){return e&&i(l.prototype,e),s&&i(l,s),l}var r=function(){function l(e){n(this,l),this._target=e||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return o(l,[{key:"_sendKeyEvent",value:function(s,u,h){if(h)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}p.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,h)}},{key:"_getKeyCode",value:function(s){var u=m.getKeycode(s);if(u!=="Unidentified")return u;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var h=parseInt(s.keyIdentifier.substr(2),16),A=String.fromCharCode(h).toUpperCase();return"Platform"+A.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),h=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?h=g.default.XK_ISO_Level3_Shift:this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){h&&(this._sendKeyEvent(h,u,!0),this._sendKeyEvent(h,u,!1)),(0,S.stopEvent)(s);return}if(f.isMac()||f.isIOS())switch(h){case g.default.XK_Super_L:h=g.default.XK_Alt_L;break;case g.default.XK_Super_R:h=g.default.XK_Super_L;break;case g.default.XK_Alt_L:h=g.default.XK_Mode_switch;break;case g.default.XK_Alt_R:h=g.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(h=this._keyDownList[u]),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1),(0,S.stopEvent)(s);return}if(!h&&(!s.key||f.isIE()||f.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,S.stopEvent)(s),u==="ControlLeft"&&f.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,S.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),h=m.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!h){p.Info("keypress with no keysym:",s);return}this._sendKeyEvent(h,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,h=this._pendingKey;if(this._pendingKey=null,s.keyCode>=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<arguments.length;Ue++){var rt=arguments[Ue];if(rt!=null)for(var Vt in rt)rt.hasOwnProperty(Vt)&&(Le[Vt]=rt[Vt])}return Le},typeof self.Promise!="function"&&t("E2g8").polyfill()}}]),Je}();S.install();var m=S,g=t("+qE3"),f=t.n(g),d=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"e",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","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 Vt="msie";Le.browser=Vt,Ue[Vt]=!0}if(Ue.edge){delete Ue.edge;var Ft="msedge";Le.browser=Ft,Ue[Ft]=!0}if(Ue.opr){var zt="opera";Le.browser=zt,Ue[zt]=!0}if(Ue.safari&&Ue.android){var Dr="android";Le.browser=Dr,Ue[Dr]=!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 Vt=this;this._dataSource=Ue,this._range=rt;var Ft=Ue.url;this._config.reuseRedirectedURL&&Ue.redirectedURL!=null&&(Ft=Ue.redirectedURL);var zt=this._seekHandler.getConfig(Ft,rt),Dr=new self.Headers;if(typeof zt.headers=="object"){var Pr=zt.headers;for(var un in Pr)Pr.hasOwnProperty(un)&&Dr.append(un,Pr[un])}var Ht={method:"GET",headers:Dr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var dt in this._config.headers)Dr.append(dt,this._config.headers[dt]);Ue.cors===!1&&(Ht.mode="same-origin"),Ue.withCredentials&&(Ht.credentials="include"),Ue.referrerPolicy&&(Ht.referrerPolicy=Ue.referrerPolicy),this._status=u.kConnecting,self.fetch(zt.url,Ht).then(function(at){if(Vt._requestAbort){Vt._requestAbort=!1,Vt._status=u.kIdle;return}if(at.ok&&at.status>=200&&at.status<=299){if(at.url!==zt.url&&Vt._onURLRedirect){var Qt=Vt._seekHandler.removeURLParameters(at.url);Vt._onURLRedirect(Qt)}var Jt=at.headers.get("Content-Length");return Jt!=null&&(Vt._contentLength=parseInt(Jt),Vt._contentLength!==0&&(Vt._onContentLengthKnown&&Vt._onContentLengthKnown(Vt._contentLength))),Vt._pump.call(Vt,at.body.getReader())}else if(Vt._status=u.kError,Vt._onError)Vt._onError(h.HTTP_STATUS_CODE_INVALID,{code:at.status,msg:at.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+at.status+" "+at.statusText)}).catch(function(at){if(Vt._status=u.kError,Vt._onError)Vt._onError(h.EXCEPTION,{code:-1,msg:at.message});else throw at})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ue){var rt=this;return Ue.read().then(function(Vt){if(Vt.done)if(rt._contentLength!==null&&rt._receivedLength<rt._contentLength){rt._status=u.kError;var Ft=h.EARLY_EOF,zt={code:-1,msg:"Fetch stream meet Early-EOF"};if(rt._onError)rt._onError(Ft,zt);else throw new r(zt.msg)}else rt._status=u.kComplete,rt._onComplete&&rt._onComplete(rt._range.from,rt._range.from+rt._receivedLength-1);else{if(rt._requestAbort===!0)return rt._requestAbort=!1,rt._status=u.kComplete,Ue.cancel();rt._status=u.kBuffering;var Dr=Vt.value.buffer,Pr=rt._range.from+rt._receivedLength;rt._receivedLength+=Dr.byteLength,rt._onDataArrival&&rt._onDataArrival(Dr,Pr,rt._receivedLength),rt._pump(Ue)}}).catch(function(Vt){if(Vt.code===11&&T.msedge)return;rt._status=u.kError;var Ft=0,zt=null;if((Vt.code===19||Vt.message==="network error")&&(rt._contentLength===null||rt._contentLength!==null&&rt._receivedLength<rt._contentLength)?(Ft=h.EARLY_EOF,zt={code:Vt.code,msg:"Fetch stream meet Early-EOF"}):(Ft=h.EXCEPTION,zt={code:Vt.code,msg:Vt.message}),rt._onError)rt._onError(Ft,zt);else throw new r(zt.msg)})}}],[{key:"isSupported",value:function(){try{var Ue=T.msedge&&T.version.minor>=15048,rt=T.msedge?Ue:!0;return self.fetch&&self.ReadableStream&&rt}catch(Vt){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 Vt=Ue.url;this._config.reuseRedirectedURL&&Ue.redirectedURL!=null&&(Vt=Ue.redirectedURL);var Ft=this._seekHandler.getConfig(Vt,rt);this._requestURL=Ft.url;var zt=this._xhr=new XMLHttpRequest;if(zt.open("GET",Ft.url,!0),zt.responseType="moz-chunked-arraybuffer",zt.onreadystatechange=this._onReadyStateChange.bind(this),zt.onprogress=this._onProgress.bind(this),zt.onloadend=this._onLoadEnd.bind(this),zt.onerror=this._onXhrError.bind(this),Ue.withCredentials&&(zt.withCredentials=!0),typeof Ft.headers=="object"){var Dr=Ft.headers;for(var Pr in Dr)Dr.hasOwnProperty(Pr)&&zt.setRequestHeader(Pr,Dr[Pr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ht in un)un.hasOwnProperty(Ht)&&zt.setRequestHeader(Ht,un[Ht])}this._status=u.kConnecting,zt.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 Vt=this._seekHandler.removeURLParameters(rt.responseURL);this._onURLRedirect(Vt)}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,Vt=this._range.from+this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Vt,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,Vt=null;if(this._contentLength&&Ue.loaded<this._contentLength?(rt=h.EARLY_EOF,Vt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(rt=h.EXCEPTION,Vt={code:-1,msg:Ue.constructor.name+" "+Ue.type}),this._onError)this._onError(rt,Vt);else throw new r(Vt.msg)}}],[{key:"isSupported",value:function(){try{var Ue=new XMLHttpRequest;return Ue.open("GET","https://example.com",!0),Ue.responseType="moz-chunked-arraybuffer",Ue.responseType==="moz-chunked-arraybuffer"}catch(rt){return c.w("MozChunkedLoader",rt.message),!1}}}]),be}(A),I=C,L=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-msstream-loader"),rt.TAG="MSStreamLoader",rt._seekHandler=Le,rt._config=Ue,rt._needStash=!0,rt._xhr=null,rt._reader=null,rt._totalRange=null,rt._currentRange=null,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._contentLength=null,rt._receivedLength=0,rt._bufferLimit=16*1024*1024,rt._lastTimeBufferSize=0,rt._isReconnecting=!1,rt}return Object(p.a)(be,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),Object(v.a)(Object(w.a)(be.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ue,rt){this._internalOpen(Ue,rt,!1)}},{key:"_internalOpen",value:function(Ue,rt,Vt){this._dataSource=Ue,Vt?this._currentRange=rt:this._totalRange=rt;var Ft=Ue.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ft=this._currentRedirectedURL:Ue.redirectedURL!=null&&(Ft=Ue.redirectedURL));var zt=this._seekHandler.getConfig(Ft,rt);this._currentRequestURL=zt.url;var Dr=this._reader=new self.MSStreamReader;Dr.onprogress=this._msrOnProgress.bind(this),Dr.onload=this._msrOnLoad.bind(this),Dr.onerror=this._msrOnError.bind(this);var Pr=this._xhr=new XMLHttpRequest;if(Pr.open("GET",zt.url,!0),Pr.responseType="ms-stream",Pr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Pr.onerror=this._xhrOnError.bind(this),Ue.withCredentials&&(Pr.withCredentials=!0),typeof zt.headers=="object"){var un=zt.headers;for(var Ht in un)un.hasOwnProperty(Ht)&&Pr.setRequestHeader(Ht,un[Ht])}if(typeof this._config.headers=="object"){var dt=this._config.headers;for(var at in dt)dt.hasOwnProperty(at)&&Pr.setRequestHeader(at,dt[at])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,Pr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Ue){var rt=Ue.target;if(rt.readyState===2)if(rt.status>=200&&rt.status<=299){if(this._status=u.kBuffering,rt.responseURL!=null){var Vt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Vt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Vt,this._onURLRedirect&&this._onURLRedirect(Vt))}var Ft=rt.getResponseHeader("Content-Length");if(Ft!=null&&this._contentLength==null){var zt=parseInt(Ft);zt>0&&(this._contentLength=zt,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 Dr=rt.response;this._reader.readAsArrayBuffer(Dr)}}},{key:"_xhrOnError",value:function(Ue){this._status=u.kError;var rt=h.EXCEPTION,Vt={code:-1,msg:Ue.constructor.name+" "+Ue.type};if(this._onError)this._onError(rt,Vt);else throw new r(Vt.msg)}},{key:"_msrOnProgress",value:function(Ue){var rt=Ue.target,Vt=rt.result;if(Vt==null){this._doReconnectIfNeeded();return}var Ft=Vt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Vt.byteLength;var zt=this._totalRange.from+this._receivedLength;this._receivedLength+=Ft.byteLength,this._onDataArrival&&this._onDataArrival(Ft,zt,this._receivedLength),Vt.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(zt+Ft.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var Ue={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Ue,!0)}}},{key:"_msrOnLoad",value:function(Ue){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Ue){this._status=u.kError;var rt=0,Vt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(rt=h.EARLY_EOF,Vt={code:-1,msg:"MSStream meet Early-Eof"}):(rt=h.EARLY_EOF,Vt={code:-1,msg:Ue.constructor.name+" "+Ue.type}),this._onError)this._onError(rt,Vt);else throw new r(Vt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Ue=new XMLHttpRequest;return Ue.open("GET","https://example.com",!0),Ue.responseType="ms-stream",Ue.responseType==="ms-stream"}catch(rt){return c.w("MSStreamLoader",rt.message),!1}}}]),be}(A),F=L,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,"xhr-range-loader"),rt.TAG="RangeLoader",rt._seekHandler=Le,rt._config=Ue,rt._needStash=!1,rt._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],rt._currentChunkSizeKB=384,rt._currentSpeedNormalized=0,rt._zeroSpeedChunkCount=0,rt._xhr=null,rt._speedSampler=new n,rt._requestAbort=!1,rt._waitForTotalLength=!1,rt._totalLengthReceived=!1,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._currentRequestRange=null,rt._totalLength=null,rt._contentLength=null,rt._receivedLength=0,rt._lastTimeLoaded=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.onload=null,this._xhr.onerror=null,this._xhr=null),Object(v.a)(Object(w.a)(be.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Ue,rt){this._dataSource=Ue,this._range=rt,this._status=u.kConnecting;var Vt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Vt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Vt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Ue=this._currentChunkSizeKB*1024,rt=this._range.from+this._receivedLength,Vt=rt+Ue;this._contentLength!=null&&(Vt-this._range.from>=this._contentLength&&(Vt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:rt,to:Vt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ue,rt){this._lastTimeLoaded=0;var Vt=Ue.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Vt=this._currentRedirectedURL:Ue.redirectedURL!=null&&(Vt=Ue.redirectedURL));var Ft=this._seekHandler.getConfig(Vt,rt);this._currentRequestURL=Ft.url;var zt=this._xhr=new XMLHttpRequest;if(zt.open("GET",Ft.url,!0),zt.responseType="arraybuffer",zt.onreadystatechange=this._onReadyStateChange.bind(this),zt.onprogress=this._onProgress.bind(this),zt.onload=this._onLoad.bind(this),zt.onerror=this._onXhrError.bind(this),Ue.withCredentials&&(zt.withCredentials=!0),typeof Ft.headers=="object"){var Dr=Ft.headers;for(var Pr in Dr)Dr.hasOwnProperty(Pr)&&zt.setRequestHeader(Pr,Dr[Pr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ht in un)un.hasOwnProperty(Ht)&&zt.setRequestHeader(Ht,un[Ht])}zt.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 Vt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Vt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Vt,this._onURLRedirect&&this._onURLRedirect(Vt))}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 Vt=Ue.total;this._internalAbort(),Vt!=null&Vt!==0&&(this._totalLength=Vt)}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 Ft=Ue.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ue.loaded,this._speedSampler.addBytes(Ft)}},{key:"_normalizeSpeed",value:function(Ue){var rt=this._chunkSizeKBList,Vt=rt.length-1,Ft=0,zt=0,Dr=Vt;if(Ue<rt[0])return rt[0];for(;zt<=Dr;){if(Ft=zt+Math.floor((Dr-zt)/2),Ft===Vt||Ue>=rt[Ft]&&Ue<rt[Ft+1])return rt[Ft];rt[Ft]<Ue?zt=Ft+1:Dr=Ft-1}}},{key:"_onLoad",value:function(Ue){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var rt=this._speedSampler.lastSecondKBps;if(rt===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(rt=this._speedSampler.currentKBps)),rt!==0){var Vt=this._normalizeSpeed(rt);this._currentSpeedNormalized!==Vt&&(this._currentSpeedNormalized=Vt,this._currentChunkSizeKB=Vt)}var Ft=Ue.target.response,zt=this._range.from+this._receivedLength;this._receivedLength+=Ft.byteLength;var Dr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Dr=!0,this._onDataArrival&&this._onDataArrival(Ft,zt,this._receivedLength),Dr&&(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,Vt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(rt=h.EARLY_EOF,Vt={code:-1,msg:"RangeLoader meet Early-Eof"}):(rt=h.EXCEPTION,Vt={code:-1,msg:Ue.constructor.name+" "+Ue.type}),this._onError)this._onError(rt,Vt);else throw new r(Vt.msg)}}],[{key:"isSupported",value:function(){try{var Ue=new XMLHttpRequest;return Ue.open("GET","https://example.com",!0),Ue.responseType="arraybuffer",Ue.responseType==="arraybuffer"}catch(rt){return c.w("RangeLoader",rt.message),!1}}}]),be}(A),P=B,H=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(){var Le;return Object(y.a)(this,be),Le=et.call(this,"websocket-loader"),Le.TAG="WebSocketLoader",Le._needStash=!0,Le._ws=null,Le._requestAbort=!1,Le._receivedLength=0,Le}return Object(p.a)(be,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(v.a)(Object(w.a)(be.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ue){try{var rt=this._ws=new self.WebSocket(Ue.url);rt.binaryType="arraybuffer",rt.onopen=this._onWebSocketOpen.bind(this),rt.onclose=this._onWebSocketClose.bind(this),rt.onmessage=this._onWebSocketMessage.bind(this),rt.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(Ft){this._status=u.kError;var Vt={code:Ft.code,msg:Ft.message};if(this._onError)this._onError(h.EXCEPTION,Vt);else throw new r(Vt.msg)}}},{key:"abort",value:function(){var Ue=this._ws;Ue&&(Ue.readyState===0||Ue.readyState===1)&&(this._requestAbort=!0,Ue.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Ue){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Ue){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Ue){var rt=this;if(Ue.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Ue.data);else if(Ue.data instanceof Blob){var Vt=new FileReader;Vt.onload=function(){rt._dispatchArrayBuffer(Vt.result)},Vt.readAsArrayBuffer(Ue.data)}else{this._status=u.kError;var Ft={code:-1,msg:"Unsupported WebSocket message type: "+Ue.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,Ft);else throw new r(Ft.msg)}}},{key:"_dispatchArrayBuffer",value:function(Ue){var rt=Ue,Vt=this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Vt,this._receivedLength)}},{key:"_onWebSocketError",value:function(Ue){this._status=u.kError;var rt={code:Ue.code,msg:Ue.message};if(this._onError)this._onError(h.EXCEPTION,rt);else throw new r(rt.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Ue){return!1}}}]),be}(A),z=H,M=function(){function Je(et){Object(y.a)(this,Je),this._zeroStart=et||!1}return Object(p.a)(Je,[{key:"getConfig",value:function(be,Le){var Ue={};if(Le.from!==0||Le.to!==-1){var rt;Le.to!==-1?rt="bytes=".concat(Le.from.toString(),"-").concat(Le.to.toString()):rt="bytes=".concat(Le.from.toString(),"-"),Ue.Range=rt}else this._zeroStart&&(Ue.Range="bytes=0-");return{url:be,headers:Ue}}},{key:"removeURLParameters",value:function(be){return be}}]),Je}(),U=M,k=function(){function Je(et,be){Object(y.a)(this,Je),this._startName=et,this._endName=be}return Object(p.a)(Je,[{key:"getConfig",value:function(be,Le){var Ue=be;if(Le.from!==0||Le.to!==-1){var rt=!0;Ue.indexOf("?")===-1&&(Ue+="?",rt=!1),rt&&(Ue+="&"),Ue+="".concat(this._startName,"=").concat(Le.from.toString()),Le.to!==-1&&(Ue+="&".concat(this._endName,"=").concat(Le.to.toString()))}return{url:Ue,headers:{}}}},{key:"removeURLParameters",value:function(be){var Le=be.split("?")[0],Ue=void 0,rt=be.indexOf("?");rt!==-1&&(Ue=be.substring(rt+1));var Vt="";if(Ue!=null&&Ue.length>0)for(var Ft=Ue.split("&"),zt=0;zt<Ft.length;zt++){var Dr=Ft[zt].split("="),Pr=zt>0;Dr[0]!==this._startName&&Dr[0]!==this._endName&&(Pr&&(Vt+="&"),Vt+=Ft[zt])}return Vt.length===0?Le:Le+"?"+Vt}}]),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*1<be;)Le*=2;if(Le+=1024*1024*1,Le===this._bufferSize)return;var Ue=new ArrayBuffer(Le);if(this._stashUsed>0){var rt=new Uint8Array(this._stashBuffer,0,this._stashUsed),Vt=new Uint8Array(Ue,0,Le);Vt.set(rt,0)}this._stashBuffer=Ue,this._bufferSize=Le}},{key:"_normalizeSpeed",value:function(be){var Le=this._speedNormalizeList,Ue=Le.length-1,rt=0,Vt=0,Ft=Ue;if(be<Le[0])return Le[0];for(;Vt<=Ft;){if(rt=Vt+Math.floor((Ft-Vt)/2),rt===Ue||be>=Le[rt]&&be<Le[rt+1])return Le[rt];Le[rt]<be?Vt=rt+1:Ft=rt-1}}},{key:"_adjustStashSize",value:function(be){var Le=0;this._config.isLive||be<512?Le=be: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._bufferSize<Ue&&this._expandBuffer(Ue),this._stashSize=Le*1024}},{key:"_dispatchChunks",value:function(be,Le){return this._currentRange.to=Le+be.byteLength-1,this._onDataArrival(be,Le)}},{key:"_onURLRedirect",value:function(be){this._redirectedURL=be,this._onRedirect&&this._onRedirect(be)}},{key:"_onContentLengthKnown",value:function(be){be&&this._fullRequestFlag&&(this._totalLength=be,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(be,Le,Ue){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(be.byteLength);var rt=this._speedSampler.lastSecondKBps;if(rt!==0){var Vt=this._normalizeSpeed(rt);this._speedNormalized!==Vt&&(this._speedNormalized=Vt,this._adjustStashSize(Vt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=Le),this._stashUsed+be.byteLength<=this._stashSize){var dt=new Uint8Array(this._stashBuffer,0,this._stashSize);dt.set(new Uint8Array(be),this._stashUsed),this._stashUsed+=be.byteLength}else{var at=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Qt=this._stashBuffer.slice(0,this._stashUsed),Jt=this._dispatchChunks(Qt,this._stashByteStart);if(Jt<Qt.byteLength){if(Jt>0){var gt=new Uint8Array(Qt,Jt);at.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),at=new Uint8Array(this._stashBuffer,0,this._bufferSize)),at.set(new Uint8Array(be),this._stashUsed),this._stashUsed+=be.byteLength}else{var Bt=this._dispatchChunks(be,Le);if(Bt<be.byteLength){var mt=be.byteLength-Bt;mt>this._bufferSize&&(this._expandBuffer(mt),at=new Uint8Array(this._stashBuffer,0,this._bufferSize)),at.set(new Uint8Array(be,Bt),0),this._stashUsed+=mt,this._stashByteStart=Le+Bt}}}else if(this._stashUsed===0){var Ft=this._dispatchChunks(be,Le);if(Ft<be.byteLength){var zt=be.byteLength-Ft;zt>this._bufferSize&&this._expandBuffer(zt);var Dr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Dr.set(new Uint8Array(be,Ft),0),this._stashUsed+=zt,this._stashByteStart=Le+Ft}}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(un<this._stashUsed&&un>0){var Ht=new Uint8Array(this._stashBuffer,un);Pr.set(Ht,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(Ue<Le.byteLength)if(be)c.w(this.TAG,"".concat(rt," bytes unconsumed data remain when flush buffer, dropped"));else{if(Ue>0){var Vt=new Uint8Array(this._stashBuffer,0,this._bufferSize),Ft=new Uint8Array(Le,Ue);Vt.set(Ft,0),this._stashUsed=Ft.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;Ue<this._totalLength&&(c.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Ue,!1));return}be=h.UNRECOVERABLE_EARLY_EOF;break}case h.UNRECOVERABLE_EARLY_EOF:case h.CONNECTING_TIMEOUT:case h.HTTP_STATUS_CODE_INVALID:case h.EXCEPTION:break}if(this._onError)this._onError(be,Le);else throw new r("IOException: "+Le.msg)}}]),Je}(),V=j,W={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function X(){return Object.assign({},W)}var J=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var be=new V({},X()),Le=be.loaderType;return be.destroy(),Le=="fetch-stream-loader"||Le=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var be=new V({},X()),Le=be.loaderType;return be.destroy(),Le}},{key:"supportNativeMediaPlayback",value:function(be){Je.videoElement==null&&(Je.videoElement=window.document.createElement("video"));var Le=Je.videoElement.canPlayType(be);return Le==="probably"||Le=="maybe"}},{key:"getFeatureList",value:function(){var be={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return be.mseFlvPlayback=Je.supportMSEH264Playback(),be.networkStreamIO=Je.supportNetworkStreamIO(),be.networkLoaderName=Je.getNetworkLoaderTypeName(),be.mseLiveFlvPlayback=be.mseFlvPlayback&&be.networkStreamIO,be.nativeMP4H264Playback=Je.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),be.nativeWebmVP8Playback=Je.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),be.nativeWebmVP9Playback=Je.supportNativeMediaPlayback('video/webm; codecs="vp9"'),be}}]),Je}(),de=J,G={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},ae=G,Ae=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"forceGlobalTag",get:function(){return c.FORCE_GLOBAL_TAG},set:function(be){c.FORCE_GLOBAL_TAG=be,Je._notifyChange()}},{key:"globalTag",get:function(){return c.GLOBAL_TAG},set:function(be){c.GLOBAL_TAG=be,Je._notifyChange()}},{key:"enableAll",get:function(){return c.ENABLE_VERBOSE&&c.ENABLE_DEBUG&&c.ENABLE_INFO&&c.ENABLE_WARN&&c.ENABLE_ERROR},set:function(be){c.ENABLE_VERBOSE=be,c.ENABLE_DEBUG=be,c.ENABLE_INFO=be,c.ENABLE_WARN=be,c.ENABLE_ERROR=be,Je._notifyChange()}},{key:"enableDebug",get:function(){return c.ENABLE_DEBUG},set:function(be){c.ENABLE_DEBUG=be,Je._notifyChange()}},{key:"enableVerbose",get:function(){return c.ENABLE_VERBOSE},set:function(be){c.ENABLE_VERBOSE=be,Je._notifyChange()}},{key:"enableInfo",get:function(){return c.ENABLE_INFO},set:function(be){c.ENABLE_INFO=be,Je._notifyChange()}},{key:"enableWarn",get:function(){return c.ENABLE_WARN},set:function(be){c.ENABLE_WARN=be,Je._notifyChange()}},{key:"enableError",get:function(){return c.ENABLE_ERROR},set:function(be){c.ENABLE_ERROR=be,Je._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:c.GLOBAL_TAG,forceGlobalTag:c.FORCE_GLOBAL_TAG,enableVerbose:c.ENABLE_VERBOSE,enableDebug:c.ENABLE_DEBUG,enableInfo:c.ENABLE_INFO,enableWarn:c.ENABLE_WARN,enableError:c.ENABLE_ERROR,enableCallback:c.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(be){c.GLOBAL_TAG=be.globalTag,c.FORCE_GLOBAL_TAG=be.forceGlobalTag,c.ENABLE_VERBOSE=be.enableVerbose,c.ENABLE_DEBUG=be.enableDebug,c.ENABLE_INFO=be.enableInfo,c.ENABLE_WARN=be.enableWarn,c.ENABLE_ERROR=be.enableError,c.ENABLE_CALLBACK=be.enableCallback}},{key:"_notifyChange",value:function(){var be=Je.emitter;if(be.listenerCount("change")>0){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,Vt=0,Ft=0,zt=rt;for(Le<be[0]&&(Ue=0,Ft=zt+1);Ft<=zt;)if(Vt=Ft+Math.floor((zt-Ft)/2),Vt===rt||Le>=be[Vt]&&Le<be[Vt+1]){Ue=Vt;break}else be[Vt]<Le?Ft=Vt+1:zt=Vt-1;return Ue}}]),Je}(),oe=Me;function _e(Je,et,be){var Le=Je;if(et+be<Le.length){for(;be--;)if((Le[++et]&192)!==128)return!1;return!0}else return!1}function ee(Je){for(var et=[],be=Je,Le=0,Ue=Je.length;Le<Ue;){if(be[Le]<128){et.push(String.fromCharCode(be[Le])),++Le;continue}else if(!(be[Le]<192)){if(be[Le]<224){if(_e(be,Le,1)){var rt=(be[Le]&31)<<6|be[Le+1]&63;if(rt>=128){et.push(String.fromCharCode(rt&65535)),Le+=2;continue}}}else if(be[Le]<240){if(_e(be,Le,2)){var Vt=(be[Le]&15)<<12|(be[Le+1]&63)<<6|be[Le+2]&63;if(Vt>=2048&&(Vt&63488)!==55296){et.push(String.fromCharCode(Vt&65535)),Le+=3;continue}}}else if(be[Le]<248&&_e(be,Le,3)){var Ft=(be[Le]&7)<<18|(be[Le+1]&63)<<12|(be[Le+2]&63)<<6|be[Le+3]&63;if(Ft>65536&&Ft<1114112){Ft-=65536,et.push(String.fromCharCode(Ft>>>10|55296)),et.push(String.fromCharCode(Ft&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 Vt=Je.parseValue(be,Le,Ue),Ft=Je.parseValue(be,Le+Vt.size,Ue-Vt.size);rt[Vt.data]=Ft.data}catch(zt){c.e("AMF",zt.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),Vt=Je.parseValue(be,Le+rt.size,Ue-rt.size),Ft=Vt.objectEnd;return{data:{name:rt.data,value:Vt.data},size:rt.size+Vt.size,objectEnd:Ft}}},{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),Vt=rt.getUint16(0,!Ge),Ft;return Vt>0?Ft=ne(new Uint8Array(be,Le+2,Vt)):Ft="",{data:Ft,size:2+Vt}}},{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),Vt=rt.getUint32(0,!Ge),Ft;return Vt>0?Ft=ne(new Uint8Array(be,Le+4,Vt)):Ft="",{data:Ft,size:4+Vt}}},{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),Vt=rt.getFloat64(0,!Ge),Ft=rt.getInt16(8,!Ge);return Vt+=Ft*60*1e3,{data:new Date(Vt),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),Vt=1,Ft=rt.getUint8(0),zt,Dr=!1;try{switch(Ft){case 0:zt=rt.getFloat64(1,!Ge),Vt+=8;break;case 1:{var Pr=rt.getUint8(1);zt=!!Pr,Vt+=1;break}case 2:{var un=Je.parseString(be,Le+1,Ue-1);zt=un.data,Vt+=un.size;break}case 3:{zt={};var Ht=0;for((rt.getUint32(Ue-4,!Ge)&16777215)===9&&(Ht=3);Vt<Ue-4;){var dt=Je.parseObject(be,Le+Vt,Ue-Vt-Ht);if(dt.objectEnd)break;zt[dt.data.name]=dt.data.value,Vt+=dt.size}if(Vt<=Ue-3){var at=rt.getUint32(Vt-1,!Ge)&16777215;at===9&&(Vt+=3)}break}case 8:{zt={},Vt+=4;var Qt=0;for((rt.getUint32(Ue-4,!Ge)&16777215)===9&&(Qt=3);Vt<Ue-8;){var Jt=Je.parseVariable(be,Le+Vt,Ue-Vt-Qt);if(Jt.objectEnd)break;zt[Jt.data.name]=Jt.data.value,Vt+=Jt.size}if(Vt<=Ue-3){var gt=rt.getUint32(Vt-1,!Ge)&16777215;gt===9&&(Vt+=3)}break}case 9:zt=void 0,Vt=1,Dr=!0;break;case 10:{zt=[];var Bt=rt.getUint32(1,!Ge);Vt+=4;for(var mt=0;mt<Bt;mt++){var kt=Je.parseValue(be,Le+Vt,Ue-Vt);zt.push(kt.data),Vt+=kt.size}break}case 11:{var gr=Je.parseDate(be,Le+1,Ue-1);zt=gr.data,Vt+=gr.size;break}case 12:{var ar=Je.parseString(be,Le+1,Ue-1);zt=ar.data,Vt+=ar.size;break}default:Vt=Ue,c.w("AMF","Unsupported AMF value type "+Ft)}}catch(lr){c.e("AMF",lr.toString())}return{data:zt,size:Vt,objectEnd:Dr}}}]),Je}(),ue=Ee,re=function(){function Je(et){Object(y.a)(this,Je),this.TAG="ExpGolomb",this._buffer=et,this._buffer_index=0,this._total_bytes=et.byteLength,this._total_bits=et.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(p.a)(Je,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var be=this._total_bytes-this._buffer_index;if(be<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var Le=Math.min(4,be),Ue=new Uint8Array(4);Ue.set(this._buffer.subarray(this._buffer_index,this._buffer_index+Le)),this._current_word=new DataView(Ue.buffer).getUint32(0,!1),this._buffer_index+=Le,this._current_word_bits_left=Le*8}},{key:"readBits",value:function(be){if(be>32)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 Vt=Math.min(rt,this._current_word_bits_left),Ft=this._current_word>>>32-Vt;return this._current_word<<=Vt,this._current_word_bits_left-=Vt,Ue=Ue<<Vt|Ft,Ue}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var be;for(be=0;be<this._current_word_bits_left;be++)if((this._current_word&2147483648>>>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),Vt=0,Ft=0;Ft<Ue;Ft++){if(Ft>=2&&(Le[Ft]===3&&Le[Ft-1]===0&&Le[Ft-2]===0))continue;rt[Vt]=Le[Ft],Vt++}return new Uint8Array(rt.buffer,0,Vt)}},{key:"parseSPS",value:function(be){var Le=Je._ebsp2rbsp(be),Ue=new ce(Le);Ue.readByte();var rt=Ue.readByte();Ue.readByte();var Vt=Ue.readByte();Ue.readUEG();var Ft=Je.getProfileString(rt),zt=Je.getLevelString(Vt),Dr=1,Pr=420,un=[0,420,422,444],Ht=8;if((rt===100||rt===110||rt===122||rt===244||rt===44||rt===83||rt===86||rt===118||rt===128||rt===138||rt===144)&&(Dr=Ue.readUEG(),Dr===3&&Ue.readBits(1),Dr<=3&&(Pr=un[Dr]),Ht=Ue.readUEG()+8,Ue.readUEG(),Ue.readBits(1),Ue.readBool()))for(var dt=Dr!==3?8:12,at=0;at<dt;at++)Ue.readBool()&&(at<6?Je._skipScalingList(Ue,16):Je._skipScalingList(Ue,64));Ue.readUEG();var Qt=Ue.readUEG();if(Qt===0)Ue.readUEG();else if(Qt===1){Ue.readBits(1),Ue.readSEG(),Ue.readSEG();for(var Jt=Ue.readUEG(),gt=0;gt<Jt;gt++)Ue.readSEG()}var Bt=Ue.readUEG();Ue.readBits(1);var mt=Ue.readUEG(),kt=Ue.readUEG(),gr=Ue.readBits(1);gr===0&&Ue.readBits(1),Ue.readBits(1);var ar=0,lr=0,Gr=0,Jr=0,Tn=Ue.readBool();Tn&&(ar=Ue.readUEG(),lr=Ue.readUEG(),Gr=Ue.readUEG(),Jr=Ue.readUEG());var Nn=1,zn=1,qn=0,vi=!0,Ri=0,Ve=0,Se=Ue.readBool();if(Se){if(Ue.readBool()){var Re=Ue.readByte(),Be=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],We=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Re>0&&Re<16?(Nn=Be[Re-1],zn=We[Re-1]):Re===255&&(Nn=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;(Nn!==1||zn!==1)&&(At=Nn/zn);var st=0,Pt=0;if(Dr===0)st=1,Pt=2-gr;else{var wr=Dr===3?1:2,mr=Dr===1?2:1;st=wr,Pt=mr*(2-gr)}var Or=(mt+1)*16,jt=(2-gr)*((kt+1)*16);Or-=(ar+lr)*st,jt-=(Gr+Jr)*Pt;var cn=Math.ceil(Or*At);return Ue.destroy(),Ue=null,{profile_string:Ft,level_string:zt,bit_depth:Ht,ref_frames:Bt,chroma_format:Pr,chroma_format_string:Je.getChromaFormatString(Pr),frame_rate:{fixed:vi,fps:qn,fps_den:Ve,fps_num:Ri},sar_ratio:{width:Nn,height:zn},codec_size:{width:Or,height:jt},present_size:{width:cn,height:jt}}}},{key:"_skipScalingList",value:function(be,Le){for(var Ue=8,rt=8,Vt=0,Ft=0;Ft<Le;Ft++)rt!==0&&(Vt=be.readSEG(),rt=(Ue+Vt+256)%256),Ue=rt===0?Ue:rt}},{key:"getProfileString",value:function(be){switch(be){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(be){return(be/10).toFixed(1)}},{key:"getChromaFormatString",value:function(be){switch(be){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Je}(),Te=ke,Ke={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},Ie=Ke;function se(Je){return Je>>>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 Vt=Je.probe(be);Ue=Vt.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 Ft=new DataView(be,Ue),zt=Ft.getUint32(0,!rt);zt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ue+=4}for(;Ue<be.byteLength;){this._dispatch=!0;var Dr=new DataView(be,Ue);if(Ue+11+4>be.byteLength)break;var Pr=Dr.getUint8(0),un=Dr.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 Ht=Dr.getUint8(4),dt=Dr.getUint8(5),at=Dr.getUint8(6),Qt=Dr.getUint8(7),Jt=at|dt<<8|Ht<<16|Qt<<24,gt=Dr.getUint32(7,!rt)&16777215;gt!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var Bt=Ue+11;switch(Pr){case 8:this._parseAudioData(be,Bt,un,Jt);break;case 9:this._parseVideoData(be,Bt,un,Jt,Le+Ue);break;case 18:this._parseScriptData(be,Bt,un);break}var mt=Dr.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 Vt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Vt)),typeof Vt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Vt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Vt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Vt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Vt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Vt.audiodatarate),typeof Vt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Vt.videodatarate),typeof Vt.width=="number"&&(this._mediaInfo.width=Vt.width),typeof Vt.height=="number"&&(this._mediaInfo.height=Vt.height),typeof Vt.duration=="number"){if(!this._durationOverrided){var Ft=Math.floor(Vt.duration*this._timescale);this._duration=Ft,this._mediaInfo.duration=Ft}}else this._mediaInfo.duration=0;if(typeof Vt.framerate=="number"){var zt=Math.floor(Vt.framerate*1e3);if(zt>0){var Dr=zt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Dr,this._referenceFrameRate.fps_num=zt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Dr}}if(typeof Vt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Pr=Vt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Pr),Vt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Vt,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<be.times.length;rt++){var Vt=this._timestampBase+Math.floor(be.times[rt]*1e3);Le.push(Vt),Ue.push(be.filepositions[rt])}return{times:Le,filepositions:Ue}}},{key:"_parseAudioData",value:function(be,Le,Ue,rt){if(Ue<=1){c.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Vt=this._littleEndian,Ft=new DataView(be,Le,Ue),zt=Ft.getUint8(0),Dr=zt>>>4;if(Dr!==2&&Dr!==10){this._onError(Ie.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Dr);return}var Pr=0,un=(zt&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 Ht=(zt&2)>>>1,dt=zt&1,at=this._audioMetadata,Qt=this._audioTrack;if(at||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),at=this._audioMetadata={},at.type="audio",at.id=Qt.id,at.timescale=this._timescale,at.duration=this._duration,at.audioSampleRate=Pr,at.channelCount=dt===0?1:2),Dr===10){var Jt=this._parseAACAudioData(be,Le+1,Ue-1);if(Jt==null)return;if(Jt.packetType===0){at.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var gt=Jt.data;at.audioSampleRate=gt.samplingRate,at.channelCount=gt.channelCount,at.codec=gt.codec,at.originalCodec=gt.originalCodec,at.config=gt.config,at.refSampleDuration=1024/at.audioSampleRate*at.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",at);var Bt=this._mediaInfo;Bt.audioCodec=at.originalCodec,Bt.audioSampleRate=at.audioSampleRate,Bt.audioChannelCount=at.channelCount,Bt.hasVideo?Bt.videoCodec!=null&&(Bt.mimeType='video/x-flv; codecs="'+Bt.videoCodec+","+Bt.audioCodec+'"'):Bt.mimeType='video/x-flv; codecs="'+Bt.audioCodec+'"',Bt.isComplete()&&this._onMediaInfo(Bt)}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(Dr===2){if(!at.codec){var gr=this._parseMP3AudioData(be,Le+1,Ue-1,!0);if(gr==null)return;at.audioSampleRate=gr.samplingRate,at.channelCount=gr.channelCount,at.codec=gr.codec,at.originalCodec=gr.originalCodec,at.refSampleDuration=1152/at.audioSampleRate*at.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",at);var ar=this._mediaInfo;ar.audioCodec=at.codec,ar.audioSampleRate=at.audioSampleRate,ar.audioChannelCount=at.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 Gr=this._timestampBase+rt,Jr={unit:lr,length:lr.byteLength,dts:Gr,pts:Gr};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={},Vt=new Uint8Array(be,Le,Ue);return rt.packetType=Vt[0],Vt[0]===0?rt.data=this._parseAACAudioSpecificConfig(be,Le+1,Ue-1):rt.data=Vt.subarray(1),rt}},{key:"_parseAACAudioSpecificConfig",value:function(be,Le,Ue){var rt=new Uint8Array(be,Le,Ue),Vt=null,Ft=0,zt=0,Dr=null,Pr=0,un=null;if(Ft=zt=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 Ht=this._mpegSamplingRates[Pr],dt=(rt[1]&120)>>>3;if(dt<0||dt>=8){this._onError(Ie.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Ft===5&&(un=(rt[1]&7)<<1|rt[2]>>>7,Dr=(rt[2]&124)>>>2);var at=self.navigator.userAgent.toLowerCase();return at.indexOf("firefox")!==-1?Pr>=6?(Ft=5,Vt=new Array(4),un=Pr-3):(Ft=2,Vt=new Array(2),un=Pr):at.indexOf("android")!==-1?(Ft=2,Vt=new Array(2),un=Pr):(Ft=5,un=Pr,Vt=new Array(4),Pr>=6?un=Pr-3:dt===1&&(Ft=2,Vt=new Array(2),un=Pr)),Vt[0]=Ft<<3,Vt[0]|=(Pr&15)>>>1,Vt[1]=(Pr&15)<<7,Vt[1]|=(dt&15)<<3,Ft===5&&(Vt[1]|=(un&15)>>>1,Vt[2]=(un&1)<<7,Vt[2]|=2<<2,Vt[3]=0),{config:Vt,samplingRate:Ht,channelCount:dt,codec:"mp4a.40."+Ft,originalCodec:"mp4a.40."+zt}}},{key:"_parseMP3AudioData",value:function(be,Le,Ue,rt){if(Ue<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Vt=this._littleEndian,Ft=new Uint8Array(be,Le,Ue),zt=null;if(rt){if(Ft[0]!==255)return;var Dr=Ft[1]>>>3&3,Pr=(Ft[1]&6)>>1,un=(Ft[2]&240)>>>4,Ht=(Ft[2]&12)>>>2,dt=Ft[3]>>>6&3,at=dt!==3?2:1,Qt=0,Jt=0,gt=34,Bt="mp3";switch(Dr){case 0:Qt=this._mpegAudioV25SampleRateTable[Ht];break;case 2:Qt=this._mpegAudioV20SampleRateTable[Ht];break;case 3:Qt=this._mpegAudioV10SampleRateTable[Ht];break}switch(Pr){case 1:gt=34,un<this._mpegAudioL3BitRateTable.length&&(Jt=this._mpegAudioL3BitRateTable[un]);break;case 2:gt=33,un<this._mpegAudioL2BitRateTable.length&&(Jt=this._mpegAudioL2BitRateTable[un]);break;case 3:gt=32,un<this._mpegAudioL1BitRateTable.length&&(Jt=this._mpegAudioL1BitRateTable[un]);break}zt={bitRate:Jt,samplingRate:Qt,channelCount:at,codec:Bt,originalCodec:Bt}}else zt=Ft;return zt}},{key:"_parseVideoData",value:function(be,Le,Ue,rt,Vt){if(Ue<=1){c.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Ft=new Uint8Array(be,Le,Ue)[0],zt=(Ft&240)>>>4,Dr=Ft&15;if(Dr!==7){this._onError(Ie.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Dr));return}this._parseAVCVideoPacket(be,Le+1,Ue-1,rt,Vt,zt)}},{key:"_parseAVCVideoPacket",value:function(be,Le,Ue,rt,Vt,Ft){if(Ue<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var zt=this._littleEndian,Dr=new DataView(be,Le,Ue),Pr=Dr.getUint8(0),un=Dr.getUint32(0,!zt)&16777215,Ht=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,Vt,Ft,Ht);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,Vt=this._videoTrack,Ft=this._littleEndian,zt=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=Vt.id,rt.timescale=this._timescale,rt.duration=this._duration);var Dr=zt.getUint8(0),Pr=zt.getUint8(1),un=zt.getUint8(2),Ht=zt.getUint8(3);if(Dr!==1||Pr===0){this._onError(Ie.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(zt.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=zt.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 at=6,Qt=0;Qt<dt;Qt++){var Jt=zt.getUint16(at,!Ft);if(at+=2,Jt===0)continue;var gt=new Uint8Array(be,Le+at,Jt);at+=Jt;var Bt=Te.parseSPS(gt);if(Qt!==0)continue;rt.codecWidth=Bt.codec_size.width,rt.codecHeight=Bt.codec_size.height,rt.presentWidth=Bt.present_size.width,rt.presentHeight=Bt.present_size.height,rt.profile=Bt.profile_string,rt.level=Bt.level_string,rt.bitDepth=Bt.bit_depth,rt.chromaFormat=Bt.chroma_format,rt.sarRatio=Bt.sar_ratio,rt.frameRate=Bt.frame_rate,(Bt.frame_rate.fixed===!1||Bt.frame_rate.fps_num===0||Bt.frame_rate.fps_den===0)&&(rt.frameRate=this._referenceFrameRate);var mt=rt.frameRate.fps_den,kt=rt.frameRate.fps_num;rt.refSampleDuration=rt.timescale*(mt/kt);for(var gr=gt.subarray(1,4),ar="avc1.",lr=0;lr<3;lr++){var Gr=gr[lr].toString(16);Gr.length<2&&(Gr="0"+Gr),ar+=Gr}rt.codec=ar;var Jr=this._mediaInfo;Jr.width=rt.codecWidth,Jr.height=rt.codecHeight,Jr.fps=rt.frameRate.fps,Jr.profile=rt.profile,Jr.level=rt.level,Jr.refFrames=Bt.ref_frames,Jr.chromaFormat=Bt.chroma_format_string,Jr.sarNum=rt.sarRatio.width,Jr.sarDen=rt.sarRatio.height,Jr.videoCodec=ar,Jr.hasAudio?Jr.audioCodec!=null&&(Jr.mimeType='video/x-flv; codecs="'+Jr.videoCodec+","+Jr.audioCodec+'"'):Jr.mimeType='video/x-flv; codecs="'+Jr.videoCodec+'"',Jr.isComplete()&&this._onMediaInfo(Jr)}var Tn=zt.getUint8(at);if(Tn===0){this._onError(Ie.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Tn>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Tn));at++;for(var Nn=0;Nn<Tn;Nn++){var zn=zt.getUint16(at,!Ft);if(at+=2,zn===0)continue;at+=zn}rt.avcc=new Uint8Array(Ue),rt.avcc.set(new Uint8Array(be,Le,Ue),0),c.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",rt)}},{key:"_parseAVCVideoData",value:function(be,Le,Ue,rt,Vt,Ft,zt){for(var Dr=this._littleEndian,Pr=new DataView(be,Le,Ue),un=[],Ht=0,dt=0,at=this._naluLengthSize,Qt=this._timestampBase+rt,Jt=Ft===1;dt<Ue;){if(dt+4>=Ue){c.w(this.TAG,"Malformed Nalu near timestamp ".concat(Qt,", offset = ").concat(dt,", dataSize = ").concat(Ue));break}var gt=Pr.getUint32(dt,!Dr);if(at===3&&(gt>>>=8),gt>Ue-at){c.w(this.TAG,"Malformed Nalus near timestamp ".concat(Qt,", NaluSize > DataSize!"));return}var Bt=Pr.getUint8(dt+at)&31;Bt===5&&(Jt=!0);var mt=new Uint8Array(be,Le+dt,at+gt),kt={type:Bt,data:mt};un.push(kt),Ht+=mt.byteLength,dt+=at+gt}if(un.length){var gr=this._videoTrack,ar={units:un,length:Ht,isKeyframe:Jt,dts:Qt,cts:zt,pts:Qt+zt};Jt&&(ar.fileposition=Vt),gr.samples.push(ar),gr.length+=Ht}}}],[{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,Vt=(Le[4]&1)!==0,Ft=xe(Le,5);return Ft<9?Ue:{match:!0,consumed:Ft,dataOffset:Ft,hasAudioTrack:rt,hasVideoTrack:Vt}}}]),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),Vt=rt.length,Ft=0;Ft<Vt;Ft++)Le+=rt[Ft].byteLength;Ue=new Uint8Array(Le),Ue[0]=Le>>>24&255,Ue[1]=Le>>>16&255,Ue[2]=Le>>>8&255,Ue[3]=Le&255,Ue.set(be,4);for(var zt=8,Dr=0;Dr<Vt;Dr++)Ue.set(rt[Dr],zt),zt+=rt[Dr].byteLength;return Ue}},{key:"generateInitSegment",value:function(be){var Le=Je.box(Je.types.ftyp,Je.constants.FTYP),Ue=Je.moov(be),rt=new Uint8Array(Le.byteLength+Ue.byteLength);return rt.set(Le,0),rt.set(Ue,Le.byteLength),rt}},{key:"moov",value:function(be){var Le=Je.mvhd(be.timescale,be.duration),Ue=Je.trak(be),rt=Je.mvex(be);return Je.box(Je.types.moov,Le,Ue,rt)}},{key:"mvhd",value:function(be,Le){return Je.box(Je.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,be>>>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,Vt=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,Vt>>>8&255,Vt&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,Vt=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,Vt,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])),Vt=Je.box(Je.types.tfdt,new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255])),Ft=Je.sdtp(be),zt=Je.trun(be,Ft.byteLength+16+16+8+16+8+8);return Je.box(Je.types.traf,rt,Vt,zt,Ft)}},{key:"sdtp",value:function(be){for(var Le=be.samples||[],Ue=Le.length,rt=new Uint8Array(4+Ue),Vt=0;Vt<Ue;Vt++){var Ft=Le[Vt].flags;rt[Vt+4]=Ft.isLeading<<6|Ft.dependsOn<<4|Ft.isDependedOn<<2|Ft.hasRedundancy}return Je.box(Je.types.sdtp,rt)}},{key:"trun",value:function(be,Le){var Ue=be.samples||[],rt=Ue.length,Vt=12+16*rt,Ft=new Uint8Array(Vt);Le+=8+Vt,Ft.set([0,0,15,1,rt>>>24&255,rt>>>16&255,rt>>>8&255,rt&255,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255],0);for(var zt=0;zt<rt;zt++){var Dr=Ue[zt].duration,Pr=Ue[zt].size,un=Ue[zt].flags,Ht=Ue[zt].cts;Ft.set([Dr>>>24&255,Dr>>>16&255,Dr>>>8&255,Dr&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,Ht>>>24&255,Ht>>>16&255,Ht>>>8&255,Ht&255],12+16*zt)}return Je.box(Je.types.trun,Ft)}},{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=Object(p.a)(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[Le.length-1].originalDts&&this.clear(),Array.prototype.push.apply(Le,be)}},{key:"getLastSyncPointBeforeDts",value:function(be){if(this._list.length==0)return null;var Le=this._list,Ue=0,rt=Le.length-1,Vt=0,Ft=0,zt=rt;for(be<Le[0].dts&&(Ue=0,Ft=zt+1);Ft<=zt;)if(Vt=Ft+Math.floor((zt-Ft)/2),Vt===rt||be>=Le[Vt].dts&&be<Le[Vt+1].dts){Ue=Vt;break}else Le[Vt].dts<be?Ft=Vt+1:zt=Vt-1;return this._list[Ue]}}]),Je}(),Mt=function(){function Je(et){Object(y.a)(this,Je),this._type=et,this._list=[],this._lastAppendLocation=-1}return Object(p.a)(Je,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(be){var Le=this._list;if(Le.length===0)return-2;var Ue=Le.length-1,rt=0,Vt=0,Ft=Ue,zt=0;if(be<Le[0].originalBeginDts)return zt=-1,zt;for(;Vt<=Ft;)if(rt=Vt+Math.floor((Ft-Vt)/2),rt===Ue||be>Le[rt].lastSample.originalDts&&be<Le[rt+1].originalBeginDts){zt=rt;break}else Le[rt].originalBeginDts<be?Vt=rt+1:Ft=rt-1;return zt}},{key:"_searchNearestSegmentAfter",value:function(be){return this._searchNearestSegmentBefore(be)+1}},{key:"append",value:function(be){var Le=this._list,Ue=be,rt=this._lastAppendLocation,Vt=0;rt!==-1&&rt<Le.length&&Ue.originalBeginDts>=Le[rt].lastSample.originalDts&&(rt===Le.length-1||rt<Le.length-1&&Ue.originalBeginDts<Le[rt+1].originalBeginDts)?Vt=rt+1:Le.length>0&&(Vt=this._searchNearestSegmentBefore(Ue.originalBeginDts)+1),this._lastAppendLocation=Vt,this._list.splice(Vt,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",Vt=Le.codec;if(be==="audio")this._audioMeta=Le,Le.codec==="mp3"&&this._mp3UseMpegAudio?(rt="mpeg",Vt="",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:Vt,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,Vt=void 0,Ft=-1,zt=-1,Dr=-1,Pr=this._audioMeta.refSampleDuration,un=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ht=this._dtsBaseInited&&this._audioNextDts===void 0,dt=!1;if(!rt||rt.length===0)return;if(rt.length===1&&!Le)return;var at=0,Qt=null,Jt=0;un?(at=0,Jt=Ue.length):(at=8,Jt=8+Ue.length);var gt=null;if(rt.length>1&&(gt=rt.pop(),Jt-=gt.length),this._audioStashedLastSample!=null){var Bt=this._audioStashedLastSample;this._audioStashedLastSample=null,rt.unshift(Bt),Jt+=Bt.length}gt!=null&&(this._audioStashedLastSample=gt);var mt=rt[0].dts-this._dtsBase;if(this._audioNextDts)Vt=mt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Vt=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;Vt=mt-ar}else Vt=0}if(dt){var lr=mt-Vt,Gr=this._videoSegmentInfoList.getLastSegmentBefore(mt);if(Gr!=null&&Gr.beginDts<lr){var Jr=Ze.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Jr){var Tn=Gr.beginDts,Nn=lr-Gr.beginDts;c.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Tn,", duration: ").concat(Nn)),rt.unshift({unit:Jr,dts:Tn,pts:Tn}),Jt+=Jr.byteLength}}else dt=!1}for(var zn=[],qn=0;qn<rt.length;qn++){var vi=rt[qn],Ri=vi.unit,Ve=vi.dts-this._dtsBase,Se=Ve-Vt;Ft===-1&&(Ft=Se);var Re=0;if(qn!==rt.length-1){var Be=rt[qn+1].dts-this._dtsBase-Vt;Re=Be-Se}else if(gt!=null){var We=gt.dts-this._dtsBase-Vt;Re=We-Se}else zn.length>=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),st=Math.ceil(At/Pr),Pt=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(st," 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;mr<st;mr++){var Or=Math.round(Pt);if(Qe.length>0){var jt=Qe[Qe.length-1];jt.duration=Or-jt.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,Pt+=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;Xr<zn.length;Xr++){var Br=zn[Xr].unit;Qt.set(Br,at),at+=Br.byteLength}var yr=zn[zn.length-1];zt=yr.dts+yr.duration,this._audioNextDts=zt;var xn=new xt;xn.beginDts=Ft,xn.endDts=zt,xn.beginPts=Ft,xn.endPts=zt,xn.originalBeginDts=zn[0].originalDts,xn.originalEndDts=yr.originalDts+yr.duration,xn.firstSample=new wt(zn[0].dts,zn[0].pts,zn[0].duration,zn[0].originalDts,!1),xn.lastSample=new wt(yr.dts,yr.pts,yr.duration,yr.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(xn),Ue.samples=zn,Ue.sequenceNumber++;var Bn=null;un?Bn=new Uint8Array:Bn=Oe.moof(Ue,Ft),Ue.samples=[],Ue.length=0;var ii={type:"audio",data:this._mergeBoxes(Bn,Qt).buffer,sampleCount:zn.length,info:xn};un&&Ht&&(ii.timestampOffset=Ft),this._onMediaSegment("audio",ii)}},{key:"_remuxVideo",value:function(be,Le){if(this._videoMeta==null)return;var Ue=be,rt=Ue.samples,Vt=void 0,Ft=-1,zt=-1,Dr=-1,Pr=-1;if(!rt||rt.length===0)return;if(rt.length===1&&!Le)return;var un=8,Ht=null,dt=8+be.length,at=null;if(rt.length>1&&(at=rt.pop(),dt-=at.length),this._videoStashedLastSample!=null){var Qt=this._videoStashedLastSample;this._videoStashedLastSample=null,rt.unshift(Qt),dt+=Qt.length}at!=null&&(this._videoStashedLastSample=at);var Jt=rt[0].dts-this._dtsBase;if(this._videoNextDts)Vt=Jt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Vt=0;else{var gt=this._videoSegmentInfoList.getLastSampleBefore(Jt);if(gt!=null){var Bt=Jt-(gt.originalDts+gt.duration);Bt<=3&&(Bt=0);var mt=gt.dts+gt.duration+Bt;Vt=Jt-mt}else Vt=0}for(var kt=new xt,gr=[],ar=0;ar<rt.length;ar++){var lr=rt[ar],Gr=lr.dts-this._dtsBase,Jr=lr.isKeyframe,Tn=Gr-Vt,Nn=lr.cts,zn=Tn+Nn;Ft===-1&&(Ft=Tn,Dr=zn);var qn=0;if(ar!==rt.length-1){var vi=rt[ar+1].dts-this._dtsBase-Vt;qn=vi-Tn}else if(at!=null){var Ri=at.dts-this._dtsBase-Vt;qn=Ri-Tn}else gr.length>=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:Nn,units:lr.units,size:lr.length,isKeyframe:Jr,duration:qn,originalDts:Gr,flags:{isLeading:0,dependsOn:Jr?2:1,isDependedOn:Jr?1:0,hasRedundancy:0,isNonSync:Jr?0:1}})}Ht=new Uint8Array(dt),Ht[0]=dt>>>24&255,Ht[1]=dt>>>16&255,Ht[2]=dt>>>8&255,Ht[3]=dt&255,Ht.set(Oe.types.mdat,4);for(var Se=0;Se<gr.length;Se++)for(var Re=gr[Se].units;Re.length;){var Be=Re.shift(),We=Be.data;Ht.set(We,un),un+=We.byteLength}var He=gr[gr.length-1];if(zt=He.dts+He.duration,Pr=He.pts+He.duration,this._videoNextDts=zt,kt.beginDts=Ft,kt.endDts=zt,kt.beginPts=Dr,kt.endPts=Pr,kt.originalBeginDts=gr[0].originalDts,kt.originalEndDts=He.originalDts+He.duration,kt.firstSample=new wt(gr[0].dts,gr[0].pts,gr[0].duration,gr[0].originalDts,gr[0].isKeyframe),kt.lastSample=new wt(He.dts,He.pts,He.duration,He.originalDts,He.isKeyframe),this._isLive||this._videoSegmentInfoList.append(kt),Ue.samples=gr,Ue.sequenceNumber++,this._forceFirstIDR){var Qe=gr[0].flags;Qe.dependsOn=2,Qe.isNonSync=0}var At=Oe.moof(Ue,Ft);Ue.samples=[],Ue.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(At,Ht).buffer,sampleCount:gr.length,info:kt})}},{key:"_mergeBoxes",value:function(be,Le){var Ue=new Uint8Array(be.byteLength+Le.byteLength);return Ue.set(be,0),Ue.set(Le,be.byteLength),Ue}}]),Je}(),$e=Gt,pe={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},q=pe,bt=function(){function Je(et,be){Object(y.a)(this,Je),this.TAG="TransmuxingController",this._emitter=new f.a,this._config=be,et.segments||(et.segments=[{duration:et.duration,filesize:et.filesize,url:et.url}]),typeof et.cors!="boolean"&&(et.cors=!0),typeof et.withCredentials!="boolean"&&(et.withCredentials=!1),this._mediaDataSource=et,this._currentSegmentIndex=0;var Le=0;this._mediaDataSource.segments.forEach(function(Ue){Ue.timestampBase=Le,Le+=Ue.duration,Ue.cors=et.cors,Ue.withCredentials=et.withCredentials,be.referrerPolicy&&(Ue.referrerPolicy=be.referrerPolicy)}),!isNaN(Le)&&this._mediaDataSource.duration!==Le&&(this._mediaDataSource.duration=Le),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(p.a)(Je,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=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:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(be,Le){this._currentSegmentIndex=be;var Ue=this._mediaDataSource.segments[be],rt=this._ioctl=new V(Ue,this._config,be);rt.onError=this._onIOException.bind(this),rt.onSeeked=this._onIOSeeked.bind(this),rt.onComplete=this._onIOComplete.bind(this),rt.onRedirect=this._onIORedirect.bind(this),rt.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),Le?this._demuxer.bindDataSource(this._ioctl):rt.onDataArrival=this._onInitChunkArrival.bind(this),rt.open(Le)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(be){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var Le=this._searchSegmentIndexContains(be);if(Le===this._currentSegmentIndex){var Ue=this._mediaInfo.segments[Le];if(Ue==null)this._pendingSeekTime=be;else{var rt=Ue.getNearestKeyframe(be);this._remuxer.seek(rt.milliseconds),this._ioctl.seek(rt.fileposition),this._pendingResolveSeekPoint=rt.milliseconds}}else{var Vt=this._mediaInfo.segments[Le];if(Vt==null)this._pendingSeekTime=be,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(Le);else{var Ft=Vt.getNearestKeyframe(be);this._internalAbort(),this._remuxer.seek(be),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[Le].timestampBase,this._loadSegment(Le,Ft.fileposition),this._pendingResolveSeekPoint=Ft.milliseconds,this._reportSegmentMediaInfo(Le)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(be){for(var Le=this._mediaDataSource.segments,Ue=Le.length-1,rt=0;rt<Le.length;rt++)if(be<Le[rt].timestampBase){Ue=rt-1;break}return Ue}},{key:"_onInitChunkArrival",value:function(be,Le){var Ue=this,rt=null,Vt=0;if(Le>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Vt=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 Ft=this._mediaDataSource;Ft.duration!=null&&!isNaN(Ft.duration)&&(this._demuxer.overridedDuration=Ft.duration),typeof Ft.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Ft.hasAudio),typeof Ft.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Ft.hasVideo),this._demuxer.timestampBase=Ft.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),Vt=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"),Vt=0;return Vt}},{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;Ue<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Ue)):(this._remuxer.flushStashedSamples(),this._emitter.emit(q.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(be){var Le=this._ioctl.extraData;this._mediaDataSource.segments[Le].redirectedURL=be}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(q.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(be,Le){c.e(this.TAG,"IOException: type = ".concat(be,", code = ").concat(Le.code,", msg = ").concat(Le.msg)),this._emitter.emit(q.IO_ERROR,be,Le),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(be,Le){c.e(this.TAG,"DemuxException: type = ".concat(be,", info = ").concat(Le)),this._emitter.emit(q.DEMUX_ERROR,be,Le)}},{key:"_onRemuxerInitSegmentArrival",value:function(be,Le){this._emitter.emit(q.INIT_SEGMENT,be,Le)}},{key:"_onRemuxerMediaSegmentArrival",value:function(be,Le){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(q.MEDIA_SEGMENT,be,Le),this._pendingResolveSeekPoint!=null&&be==="video"){var Ue=Le.info.syncPoints,rt=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,T.safari&&Ue.length>0&&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,at.bind(this)),Le.on(q.INIT_SEGMENT,rt.bind(this)),Le.on(q.MEDIA_SEGMENT,Vt.bind(this)),Le.on(q.LOADING_COMPLETE,Ft.bind(this)),Le.on(q.RECOVERED_EARLY_EOF,zt.bind(this)),Le.on(q.MEDIA_INFO,Dr.bind(this)),Le.on(q.METADATA_ARRIVED,Pr.bind(this)),Le.on(q.SCRIPTDATA_ARRIVED,un.bind(this)),Le.on(q.STATISTICS_INFO,Ht.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 Bt=gt.data.param;me.applyConfig(Bt),Bt.enableCallback===!0?me.addLogListener(Ue):me.removeLogListener(Ue);break}}});function rt(gt,Bt){var mt={msg:q.INIT_SEGMENT,data:{type:gt,data:Bt}};et.postMessage(mt,[Bt.data])}function Vt(gt,Bt){var mt={msg:q.MEDIA_SEGMENT,data:{type:gt,data:Bt}};et.postMessage(mt,[Bt.data])}function Ft(){var gt={msg:q.LOADING_COMPLETE};et.postMessage(gt)}function zt(){var gt={msg:q.RECOVERED_EARLY_EOF};et.postMessage(gt)}function Dr(gt){var Bt={msg:q.MEDIA_INFO,data:gt};et.postMessage(Bt)}function Pr(gt){var Bt={msg:q.METADATA_ARRIVED,data:gt};et.postMessage(Bt)}function un(gt){var Bt={msg:q.SCRIPTDATA_ARRIVED,data:gt};et.postMessage(Bt)}function Ht(gt){var Bt={msg:q.STATISTICS_INFO,data:gt};et.postMessage(Bt)}function dt(gt,Bt){et.postMessage({msg:q.IO_ERROR,data:{type:gt,info:Bt}})}function at(gt,Bt){et.postMessage({msg:q.DEMUX_ERROR,data:{type:gt,info:Bt}})}function Qt(gt){et.postMessage({msg:q.RECOMMEND_SEEKPOINT,data:gt})}function Jt(gt,Bt){et.postMessage({msg:"logcat_callback",data:{type:gt,logcat:Bt}})}},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,Wt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},cr=Wt,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(Vt){c.e(this.TAG,Vt.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(Vt){c.e(this.TAG,Vt.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 Vt=!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{Vt=!0;try{var Ft=this._sourceBuffers[Ue.type]=this._mediaSource.addSourceBuffer(rt);Ft.addEventListener("error",this.e.onSourceBufferError),Ft.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(zt){c.e(this.TAG,zt.message),this._emitter.emit(cr.ERROR,{code:zt.code,msg:zt.message});return}}this._mimeTypes[Ue.type]=rt}Le||this._pendingSegments[Ue.type].push(Ue),Vt||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 Vt=0;Vt<Ue.buffered.length;Vt++){var Ft=Ue.buffered.start(Vt),zt=Ue.buffered.end(Vt);this._pendingRemoveRanges[Le].push({start:Ft,end:zt})}if(Ue.updating||this._doRemoveRanges(),T.safari){var Dr=this._lastInitSegments[Le];Dr&&(this._pendingSegments[Le].push(Dr),Ue.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var be=this._mediaSource,Le=this._sourceBuffers;if(!be||be.readyState!=="open"){be&&be.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}Le.video&&Le.video.updating||Le.audio&&Le.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,be.endOfStream())}},{key:"getNearestKeyframe",value:function(be){return this._idrList.getLastSyncPointBeforeDts(be)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var be=this._mediaElement.currentTime;for(var Le in this._sourceBuffers){var Ue=this._sourceBuffers[Le];if(Ue){var rt=Ue.buffered;if(rt.length>=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,Vt=!1,Ft=0;Ft<rt.length;Ft++){var zt=rt.start(Ft),Dr=rt.end(Ft);if(zt<=be&&be<Dr+3){if(be-zt>=this._config.autoCleanupMaxBackwardDuration){Vt=!0;var Pr=be-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Le].push({start:zt,end:Pr})}}else Dr<be&&(Vt=!0,this._pendingRemoveRanges[Le].push({start:zt,end:Dr}))}Vt&&!Ue.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var be=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(be.video&&be.video.updating||be.audio&&be.audio.updating)return;var Le=this._mediaSource.duration,Ue=this._pendingMediaDuration;Ue>0&&(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,Vt=Ue.timestampOffset/1e3,Ft=Math.abs(rt-Vt);Ft>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(rt," to ").concat(Vt)),this._sourceBuffers[Le].timestampOffset=Vt),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(zt){this._pendingSegments[Le].unshift(Ue),zt.code===22?(this._isBufferFull||this._emitter.emit(cr.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,zt.message),this._emitter.emit(cr.ERROR,{code:zt.code,msg:zt.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},ot=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 Vt=this._mediaElement.getVideoPlaybackQuality();Ue=Vt.totalVideoFrames,rt=Vt.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,Vt=0;Vt<be.length;Vt++){var Ft=be.start(Vt),zt=be.end(Vt);if(Ft<=Le&&Le<zt){Ue=Ft,rt=zt;break}}rt>=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<Le.length;rt++){var Vt=Le.start(rt),Ft=Le.end(rt);if(be>=Vt&&be<Ft){be>=Ft-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<Le.length;Ue++){var rt=Le.start(Ue),Vt=Le.end(Ue);if(be>=rt&&be<Vt)return!0}return!1}},{key:"_internalSeek",value:function(be){var Le=this._isTimepointBuffered(be),Ue=!1,rt=0;if(be<1&&this._mediaElement.buffered.length>0){var Vt=this._mediaElement.buffered.start(0);(Vt<1&&be<Vt||T.safari)&&(Ue=!0,rt=T.safari?.1:Vt)}if(Ue)this._requestSetTime=!0,this._mediaElement.currentTime=rt;else if(Le){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=be;else{var Ft=this._msectl.getNearestKeyframe(Math.floor(be*1e3));this._requestSetTime=!0,Ft!=null?this._mediaElement.currentTime=Ft.dts/1e3:this._mediaElement.currentTime=be}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(be),this._transmuxer.seek(Math.floor(be*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=be)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var be=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(be)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(be),this._transmuxer.seek(Math.floor(be*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=be))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(be){var Le=this._mediaElement;if(be||!this._receivedCanPlay||Le.readyState<2){var Ue=Le.buffered;Ue.length>0&&Le.currentTime<Ue.start(0)&&(c.w(this.TAG,"Playback seems stuck at ".concat(Le.currentTime,", seek to ").concat(Ue.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Ue.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(be){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(be){var Le=this._mediaElement.currentTime,Ue=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(Le<1&&Ue.length>0){var rt=Ue.start(0);if(rt<1&&Le<rt||T.safari){this._requestSetTime=!0,this._mediaElement.currentTime=T.safari?.1:rt;return}}if(this._isTimepointBuffered(Le)){if(this._alwaysSeekKeyframe){var Vt=this._msectl.getNearestKeyframe(Math.floor(Le*1e3));Vt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Vt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:Le,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(be){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(be){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(be){this._checkAndResumeStuckPlayback()}}]),Je}(),Xe=ot,$t=function(){function Je(et,be){if(Object(y.a)(this,Je),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new f.a,this._config=X(),typeof be=="object"&&Object.assign(this._config,be),et.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(et.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(et.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=et,this._mediaElement=null}return Object(p.a)(Je,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),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._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Ue._emitter.emit(ae.MEDIA_INFO,Ue.mediaInfo)}):be===ae.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&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){if(this._mediaElement=be,be.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{be.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Le){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(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 Vt=this._mediaElement.getVideoPlaybackQuality();Ue=Vt.totalVideoFrames,rt=Vt.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;E<w.ends.length;E++)if(v.contain(w.ends[E][0],w.ends[E][1])){b=!1;break}return b}function l(v,w,b,E){var T=w.getItemModel(b),_=T.getModel(d),x=w.getItemVisual(b,"color"),C=w.getItemVisual(b,"borderColor")||x,I=_.getItemStyle(a);v.useStyle(I),v.style.strokeNoScale=!0,v.style.fill=x,v.style.stroke=C,v.__simpleBox=E;var L=T.getModel(c).getItemStyle();S.setHoverStyle(v,L)}function e(v,w){return y.map(v,function(b){return b=b.slice(),b[1]=w.initBaseline,b})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(v,w){for(var b=w.points,E=0;E<b.length;)if(this.__sign===b[E++]){var T=b[E++];v.moveTo(T,b[E++]),v.lineTo(T,b[E++])}else E+=3}});function u(v,w,b){var E=v.getData(),T=E.getLayout("largePoints"),_=new s({shape:{points:T},__sign:1});w.add(_);var x=new s({shape:{points:T},__sign:-1});w.add(x),h(1,_,v,E),h(-1,x,v,E),b&&(_.incremental=!0,x.incremental=!0)}function h(v,w,b,E){var T=v>0?"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<l.count();++T)E=l.getItemLayout(T);var _=Math.max(o.getWidth(),o.getHeight())/2,x=y.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(E.cx,E.cy,_,E.startAngle,E.clockwise,x,n,h))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(n,i,o,r,l,e,s,u){var h=new p.Sector({shape:{cx:n,cy:i,r0:0,r:o,startAngle:r,endAngle:r,clockwise:l}}),A=u?p.initProps:p.updateProps;return A(h,{shape:{endAngle:r+(l?1:-1)*Math.PI*2}},s,e),h},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},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<f.length;a++){var n=f[a];if(!c(n))return!1;var i=y[n],o=p[n];if(g=S?S.call(m,i,o,n):void 0,g===!1||g===void 0&&i!==o)return!1}return!0}},GzdX:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("q1tI"),m=t.n(S),g=t("rePB"),f=t("1OyB"),d=t("vuIU"),c=t("Ji7U"),a=t("md7G"),n=t("foSv"),i=t("m+aA"),o=t("TSYQ"),r=t.n(o),l=t("4IlW");function e(U){var k=U.pageXOffset,K="scrollLeft";if(typeof k!="number"){var j=U.document;k=j.documentElement[K],typeof k!="number"&&(k=j.body[K])}return k}function s(U){var k,K,j=U.ownerDocument,V=j.body,W=j&&j.documentElement,X=U.getBoundingClientRect();return k=X.left,K=X.top,k-=W.clientLeft||V.clientLeft||0,K-=W.clientTop||V.clientTop||0,{left:k,top:K}}function u(U){var k=s(U),K=U.ownerDocument,j=K.defaultView||K.parentWindow;return k.left+=e(j),k.left}function h(U){var k=A();return function(){var j=Object(n.a)(U),V;if(k){var W=Object(n.a)(this).constructor;V=Reflect.construct(j,arguments,W)}else V=j.apply(this,arguments);return Object(a.a)(this,V)}}function A(){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(U){return!1}}var v=function(U){Object(c.a)(K,U);var k=h(K);function K(){var j;return Object(f.a)(this,K),j=k.apply(this,arguments),j.onHover=function(V){var W=j.props,X=W.onHover,J=W.index;X(V,J)},j.onClick=function(V){var W=j.props,X=W.onClick,J=W.index;X(V,J)},j.onKeyDown=function(V){var W=j.props,X=W.onClick,J=W.index;V.keyCode===13&&X(V,J)},j}return Object(d.a)(K,[{key:"getClassName",value:function(){var V=this.props,W=V.prefixCls,X=V.index,J=V.value,de=V.allowHalf,G=V.focused,ae=X+1,Ae=W;return J===0&&X===0&&G?Ae+=" ".concat(W,"-focused"):de&&J+.5>=ae&&J<ae?(Ae+=" ".concat(W,"-half ").concat(W,"-active"),G&&(Ae+=" ".concat(W,"-focused"))):(Ae+=ae<=J?" ".concat(W,"-full"):" ".concat(W,"-zero"),ae===J&&G&&(Ae+=" ".concat(W,"-focused"))),Ae}},{key:"render",value:function(){var V=this.onHover,W=this.onClick,X=this.onKeyDown,J=this.props,de=J.disabled,G=J.prefixCls,ae=J.character,Ae=J.characterRender,me=J.index,Me=J.count,oe=J.value,_e=typeof ae=="function"?ae(this.props):ae,ee=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:de?null:W,onKeyDown:de?null:X,onMouseMove:de?null:V,role:"radio","aria-checked":oe>me?"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;k<arguments.length;k++){var K=arguments[k]!=null?arguments[k]:{};k%2?w(Object(K),!0).forEach(function(j){Object(g.a)(U,j,K[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(K)):w(Object(K)).forEach(function(j){Object.defineProperty(U,j,Object.getOwnPropertyDescriptor(K,j))})}return U}function E(U){var k=T();return function(){var j=Object(n.a)(U),V;if(k){var W=Object(n.a)(this).constructor;V=Reflect.construct(j,arguments,W)}else V=j.apply(this,arguments);return Object(a.a)(this,V)}}function T(){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(U){return!1}}function _(){}var x=function(U){Object(c.a)(K,U);var k=E(K);function K(j){var V;Object(f.a)(this,K),V=k.call(this,j),V.onHover=function(X,J){var de=V.props.onHoverChange,G=V.getStarValue(J,X.pageX),ae=V.state.cleanedValue;G!==ae&&V.setState({hoverValue:G,cleanedValue:null}),de(G)},V.onMouseLeave=function(){var X=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),X(void 0)},V.onClick=function(X,J){var de=V.props.allowClear,G=V.state.value,ae=V.getStarValue(J,X.pageX),Ae=!1;de&&(Ae=ae===G),V.onMouseLeave(),V.changeValue(Ae?0:ae),V.setState({cleanedValue:Ae?ae:null})},V.onFocus=function(){var X=V.props.onFocus;V.setState({focused:!0}),X&&X()},V.onBlur=function(){var X=V.props.onBlur;V.setState({focused:!1}),X&&X()},V.onKeyDown=function(X){var J=X.keyCode,de=V.props,G=de.count,ae=de.allowHalf,Ae=de.onKeyDown,me=de.direction,Me=me==="rtl",oe=V.state.value;J===l.a.RIGHT&&oe<G&&!Me?(ae?oe+=.5:oe+=1,V.changeValue(oe),X.preventDefault()):J===l.a.LEFT&&oe>0&&!Me||J===l.a.RIGHT&&oe>0&&Me?(ae?oe-=.5:oe-=1,V.changeValue(oe),X.preventDefault()):J===l.a.LEFT&&oe<G&&Me&&(ae?oe+=.5:oe+=1,V.changeValue(oe),X.preventDefault()),Ae&&Ae(X)},V.saveRef=function(X){return function(J){V.stars[X]=J}},V.saveRate=function(X){V.rate=X};var W=j.value;return W===void 0&&(W=j.defaultValue),V.stars={},V.state={value:W,focused:!1,cleanedValue:null},V}return Object(d.a)(K,[{key:"componentDidMount",value:function(){var V=this.props,W=V.autoFocus,X=V.disabled;W&&!X&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(i.a)(this.stars[V])}},{key:"getStarValue",value:function(V,W){var X=this.props,J=X.allowHalf,de=X.direction,G=de==="rtl",ae=V+1;if(J){var Ae=this.getStarDOM(V),me=u(Ae),Me=Ae.clientWidth;(G&&W-me>Me/2||!G&&W-me<Me/2)&&(ae-=.5)}return ae}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var W=this.props.onChange;"value"in this.props||this.setState({value:V}),W(V)}},{key:"render",value:function(){for(var V=this.props,W=V.count,X=V.allowHalf,J=V.style,de=V.prefixCls,G=V.disabled,ae=V.className,Ae=V.character,me=V.characterRender,Me=V.tabIndex,oe=V.direction,_e=this.state,ee=_e.value,ne=_e.hoverValue,Ge=_e.focused,Ee=[],ue=G?"".concat(de,"-disabled"):"",re=0;re<W;re+=1)Ee.push(m.a.createElement(v,{ref:this.saveRef(re),index:re,count:W,disabled:G,prefixCls:"".concat(de,"-star"),allowHalf:X,value:ne===void 0?ee:ne,onClick:this.onClick,onHover:this.onHover,key:re,character:Ae,characterRender:me,focused:Ge}));var ce=r()(de,ue,ae,Object(g.a)({},"".concat(de,"-rtl"),oe==="rtl"));return m.a.createElement("ul",{className:ce,style:J,onMouseLeave:G?null:this.onMouseLeave,tabIndex:G?-1:Me,onFocus:G?null:this.onFocus,onBlur:G?null:this.onBlur,onKeyDown:G?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Ee)}}],[{key:"getDerivedStateFromProps",value:function(V,W){return"value"in V&&V.value!==void 0?b(b({},W),{},{value:V.value}):W}}]),K}(m.a.Component);x.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:_,character:"\u2605",onHoverChange:_,tabIndex:0,direction:"ltr"};var C=x,I=C,L=t("Lerx"),F=t.n(L),B=t("3S7+"),P=t("H84U"),H=function(U,k){var K={};for(var j in U)Object.prototype.hasOwnProperty.call(U,j)&&k.indexOf(j)<0&&(K[j]=U[j]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,j=Object.getOwnPropertySymbols(U);V<j.length;V++)k.indexOf(j[V])<0&&Object.prototype.propertyIsEnumerable.call(U,j[V])&&(K[j[V]]=U[j[V]]);return K},z=S.forwardRef(function(U,k){var K=U.prefixCls,j=U.tooltips,V=H(U,["prefixCls","tooltips"]),W=function(Ae,me){var Me=me.index;return j?S.createElement(B.a,{title:j[Me]},Ae):Ae},X=S.useContext(P.b),J=X.getPrefixCls,de=X.direction,G=J("rate",K);return S.createElement(I,p()({ref:k,characterRender:W},V,{prefixCls:G,direction:de}))});z.displayName="Rate",z.defaultProps={character:S.createElement(F.a,null)};var M=N.a=z},H6uX:function(R,N){var t=Array.prototype.slice,y=function(f){this._$handlers={},this._$eventProcessor=f};y.prototype={constructor:y,one:function(f,d,c,a){return S(this,f,d,c,a,!0)},on:function(f,d,c,a){return S(this,f,d,c,a,!1)},isSilent:function(f){var d=this._$handlers;return!d[f]||!d[f].length},off:function(f,d){var c=this._$handlers;if(!f)return this._$handlers={},this;if(d){if(c[f]){for(var a=[],n=0,i=c[f].length;n<i;n++)c[f][n].h!==d&&a.push(c[f][n]);c[f]=a}c[f]&&c[f].length===0&&delete c[f]}else delete c[f];return this},trigger:function(f){var d=this._$handlers[f],c=this._$eventProcessor;if(d){var a=arguments,n=a.length;n>3&&(a=t.call(a,1));for(var i=d.length,o=0;o<i;){var r=d[o];if(c&&c.filter&&r.query!=null&&!c.filter(f,r.query)){o++;continue}switch(n){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,a[1]);break;case 3:r.h.call(r.ctx,a[1],a[2]);break;default:r.h.apply(r.ctx,a);break}r.one?(d.splice(o,1),i--):o++}}return c&&c.afterTrigger&&c.afterTrigger(f),this},triggerWithContext:function(f){var d=this._$handlers[f],c=this._$eventProcessor;if(d){var a=arguments,n=a.length;n>4&&(a=t.call(a,1,a.length-1));for(var i=a[a.length-1],o=d.length,r=0;r<o;){var l=d[r];if(c&&c.filter&&l.query!=null&&!c.filter(f,l.query)){r++;continue}switch(n){case 1:l.h.call(i);break;case 2:l.h.call(i,a[1]);break;case 3:l.h.call(i,a[1],a[2]);break;default:l.h.apply(i,a);break}l.one?(d.splice(r,1),o--):r++}}return c&&c.afterTrigger&&c.afterTrigger(f),this}};function p(g,f){var d=g._$eventProcessor;return f!=null&&d&&d.normalizeQuery&&(f=d.normalizeQuery(f)),f}function S(g,f,d,c,a,n){var i=g._$handlers;if(typeof d=="function"&&(a=c,c=d,d=null),!c||!f)return g;d=p(g,d),i[f]||(i[f]=[]);for(var o=0;o<i[f].length;o++)if(i[f][o].h===c)return g;var r={h:c,one:n,query:d,ctx:a||g,callAtLast:c.zrEventfulCallAtLast},l=i[f].length-1,e=i[f][l];return e&&e.callAtLast?i[f].splice(l,0,r):i[f].push(r),g}var m=y;R.exports=m},HBhm: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:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};N.default=y},"HF/U":function(R,N,t){var y=t("QBsz");function p(m){var g=m.coordinateSystem;if(g&&g.type!=="view")return;var f=m.getGraph();f.eachNode(function(d){var c=d.getModel();d.setLayout([+c.get("x"),+c.get("y")])}),S(f)}function S(m){m.eachEdge(function(g){var f=g.getModel().get("lineStyle.curveness")||0,d=y.clone(g.node1.getLayout()),c=y.clone(g.node2.getLayout()),a=[d,c];+f&&a.push([(d[0]+c[0])/2-(d[1]-c[1])*f,(d[1]+c[1])/2-(c[0]-d[0])*f]),g.setLayout(a)})}N.simpleLayout=p,N.simpleLayoutEdge=S},"HM/N":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("/SeX"),g=t("OELB"),f=g.parsePercent,d=t("aX7z"),c=d.createScaleByModel,a=d.niceScaleExtent,n=t("IDmD"),i=t("7hqr"),o=i.getStackedDimension;t("ePAk");function r(u,h,A){var v=h.get("center"),w=A.getWidth(),b=A.getHeight();u.cx=f(v[0],w),u.cy=f(v[1],b);var E=u.getRadiusAxis(),T=Math.min(w,b)/2,_=h.get("radius");_==null?_=[0,"100%"]:S.isArray(_)||(_=[0,_]),_=[f(_[0],T),f(_[1],T)],E.inverse?E.setExtent(_[1],_[0]):E.setExtent(_[0],_[1])}function l(u,h){var A=this,v=A.getAngleAxis(),w=A.getRadiusAxis();if(v.scale.setExtent(Infinity,-Infinity),w.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(T){if(T.coordinateSystem===A){var _=T.getData();S.each(_.mapDimension("radius",!0),function(x){w.scale.unionExtentFromData(_,o(_,x))}),S.each(_.mapDimension("angle",!0),function(x){v.scale.unionExtentFromData(_,o(_,x))})}}),a(v.scale,v.model),a(w.scale,w.model),v.type==="category"&&!v.onBand){var b=v.getExtent(),E=360/v.scale.count();v.inverse?b[1]+=E:b[1]-=E,v.setExtent(b[0],b[1])}}function e(u,h){if(u.type=h.get("type"),u.scale=c(h),u.onBand=h.get("boundaryGap")&&u.type==="category",u.inverse=h.get("inverse"),h.mainType==="angleAxis"){u.inverse^=h.get("clockwise");var A=h.get("startAngle");u.setExtent(A,A+(u.inverse?-360:360))}h.axis=u,u.model=h}var s={dimensions:m.prototype.dimensions,create:function(u,h){var A=[];return u.eachComponent("polar",function(v,w){var b=new m(w);b.update=l;var E=b.getRadiusAxis(),T=b.getAngleAxis(),_=v.findAxisModel("radiusAxis"),x=v.findAxisModel("angleAxis");e(E,_),e(T,x),r(b,v,h),A.push(b),v.coordinateSystem=b,b.model=v}),u.eachSeries(function(v){if(v.get("coordinateSystem")==="polar"){var w=u.queryComponents({mainType:"polar",index:v.get("polarIndex"),id:v.get("polarId")})[0];v.coordinateSystem=w.coordinateSystem}}),A}};n.register("polar",s)},HQEm:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("Sj0X"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},HjIi:function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=p.parsePercent,m=t("7hqr"),g=m.isDimensionStacked;function f(i){return i.get("stack")||"__ec_stack_"+i.seriesIndex}function d(i,o){return o.dim+i.model.componentIndex}function c(i,o,r){var l={},e=a(y.filter(o.getSeriesByType(i),function(s){return!o.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));o.eachSeriesByType(i,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),h=s.coordinateSystem,A=h.getBaseAxis(),v=d(h,A),w=f(s),b=e[v][w],E=b.offset,T=b.width,_=h.getOtherAxis(A),x=s.coordinateSystem.cx,C=s.coordinateSystem.cy,I=s.get("barMinHeight")||0,L=s.get("barMinAngle")||0;l[w]=l[w]||[];for(var F=u.mapDimension(_.dim),B=u.mapDimension(A.dim),P=g(u,F),H=A.dim!=="radius"||!s.get("roundCap",!0),z=_.getExtent()[0],M=0,U=u.count();M<U;M++){var k=u.get(F,M),K=u.get(B,M),j=k>=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)<I&&(G=(G<0?-1:1)*I),W=V,X=V+G,J=ae-E,de=J-T,P&&(l[w][K][j]=X)}else{var Ae=_.dataToAngle(k,H)-z,me=A.dataToRadius(K);Math.abs(Ae)<L&&(Ae=(Ae<0?-1:1)*L),W=me+E,X=W+T,J=V,de=V+Ae,P&&(l[w][K][j]=de)}u.setItemLayout(M,{cx:x,cy:C,r0:W,r:X,startAngle:-J*Math.PI/180,endAngle:-de*Math.PI/180})}},this)}function a(i,o){var r={};y.each(i,function(e,s){var u=e.getData(),h=e.coordinateSystem,A=h.getBaseAxis(),v=d(h,A),w=A.getExtent(),b=A.type==="category"?A.getBandWidth():Math.abs(w[1]-w[0])/u.count(),E=r[v]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=E.stacks;r[v]=E;var _=f(e);T[_]||E.autoWidthCount++,T[_]=T[_]||{width:0,maxWidth:0};var x=S(e.get("barWidth"),b),C=S(e.get("barMaxWidth"),b),I=e.get("barGap"),L=e.get("barCategoryGap");x&&!T[_].width&&(x=Math.min(E.remainedWidth,x),T[_].width=x,E.remainedWidth-=x),C&&(T[_].maxWidth=C),I!=null&&(E.gap=I),L!=null&&(E.categoryGap=L)});var l={};return y.each(r,function(e,s){l[s]={};var u=e.stacks,h=e.bandWidth,A=S(e.categoryGap,h),v=S(e.gap,1),w=e.remainedWidth,b=e.autoWidthCount,E=(w-A)/(b+(b-1)*v);E=Math.max(E,0),y.each(u,function(C,I){var L=C.maxWidth;L&&L<E&&(L=Math.min(L,w),C.width&&(L=Math.min(L,C.width)),w-=L,C.width=L,b--)}),E=(w-A)/(b+(b-1)*v),E=Math.max(E,0);var T=0,_;y.each(u,function(C,I){C.width||(C.width=E),_=C,T+=C.width*(1+v)}),_&&(T-=_.width*v);var x=-T/2;y.each(u,function(C,I){l[s][I]=l[s][I]||{offset:x,width:C.width},x+=C.width*(1+v)})}),l}var n=c;R.exports=n},HjOm:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},p=y;N.default=p},Hw7h:function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(S,m){var g=Math.cos,f=Math.sin,d=m.r,c=m.width,a=m.angle,n=m.x-g(a)*c*(c>=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;v<this._indicatorAxes.length;v++){var w=this._indicatorAxes[v],b=Math.abs(s-w.angle);b<u&&(h=w,A=v,u=b)}return[A,+(h&&h.coordToData(e))]},n.prototype.resize=function(o,r){var l=o.get("center"),e=r.getWidth(),s=r.getHeight(),u=Math.min(e,s)/2;this.cx=m.parsePercent(l[0],e),this.cy=m.parsePercent(l[1],s),this.startAngle=o.get("startAngle")*Math.PI/180;var h=o.get("radius");(typeof h=="string"||typeof h=="number")&&(h=[0,h]),this.r0=m.parsePercent(h[0],u),this.r=m.parsePercent(h[1],u),y.each(this._indicatorAxes,function(A,v){A.setExtent(this.r0,this.r);var w=this.startAngle+v*Math.PI*2/this._indicatorAxes.length;w=Math.atan2(Math.sin(w),Math.cos(w)),A.angle=w},this)},n.prototype.update=function(o,r){var l=this._indicatorAxes,e=this._model;y.each(l,function(h){h.scale.setExtent(Infinity,-Infinity)}),o.eachSeriesByType("radar",function(h,A){if(h.get("coordinateSystem")!=="radar"||o.getComponent("radar",h.get("radarIndex"))!==e)return;var v=h.getData();y.each(l,function(w){w.scale.unionExtentFromData(v,v.mapDimension(w.dim))})},this);var s=e.get("splitNumber");function u(h){var A=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),v=h/A;return v===2?v=5:v*=2,v*A}y.each(l,function(h,A){var v=f(h.scale,h.model).extent;d(h.scale,h.model);var w=h.model,b=h.scale,E=w.getMin(),T=w.getMax(),_=b.getInterval();if(E!=null&&T!=null)b.setExtent(+E,+T),b.setInterval((T-E)/s);else if(E!=null){var x;do x=E+_*s,b.setExtent(+E,x),b.setInterval(_),_=u(_);while(x<v[1]&&isFinite(x)&&isFinite(v[1]))}else if(T!=null){var C;do C=T-_*s,b.setExtent(C,+T),b.setInterval(_),_=u(_);while(C>v[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<a.length;e++)l.addNode(y.retrieve(a[e].id,a[e].name,e),e);for(var s=[],u=[],h=0,e=0;e<n.length;e++){var A=n[e],v=A.source,w=A.target;l.addEdge(v,w,h)&&(u.push(A),s.push(y.retrieve(A.id,v+" > "+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;h<A;h++){u=arguments[h];for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&(s[v]=u[v])}return s},n.apply(this,arguments)};function i(s){return s.displayName||s.name||"Component"}var o=function(){return{}};function r(s,u){u===void 0&&(u={});var h=!!s,A=s||o;return function(w){var b=function(T){a(_,T);function _(x,C){var I=T.call(this,x,C)||this;return I.unsubscribe=null,I.handleChange=function(){if(!I.unsubscribe)return;var L=A(I.store.getState(),I.props);I.setState({subscribed:L})},I.store=I.context,I.state={subscribed:A(I.store.getState(),x),store:I.store,props:x},I}return _.getDerivedStateFromProps=function(x,C){return s&&s.length===2&&x!==C.props?{subscribed:A(C.store.getState(),x),props:x}:{props:x}},_.prototype.componentDidMount=function(){this.trySubscribe()},_.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},_.prototype.shouldComponentUpdate=function(x,C){return!f()(this.props,x)||!f()(this.state.subscribed,C.subscribed)},_.prototype.trySubscribe=function(){h&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},_.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},_.prototype.render=function(){var x=n(n(n({},this.props),this.state.subscribed),{store:this.store});return y.createElement(w,n({},x,{ref:this.props.miniStoreForwardedRef}))},_.displayName="Connect("+i(w)+")",_.contextType=S,_}(y.Component);if(u.forwardRef){var E=y.forwardRef(function(T,_){return y.createElement(b,n({},T,{miniStoreForwardedRef:_}))});return c()(E,w)}return c()(b,w)}}var l=function(){return l=Object.assign||function(s){for(var u,h=1,A=arguments.length;h<A;h++){u=arguments[h];for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&(s[v]=u[v])}return s},l.apply(this,arguments)};function e(s){var u=s,h=[];function A(b){u=l(l({},u),b);for(var E=0;E<h.length;E++)h[E]()}function v(){return u}function w(b){return h.push(b),function(){var T=h.indexOf(b);h.splice(T,1)}}return{setState:A,getState:v,subscribe:w}}},"I9Y+":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("4xFK")),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="DoubleRightOutlined";var c=m.forwardRef(d);N.default=c},ICMv:function(R,N,t){var y=t("bYtY"),p={getMin:function(S){var m=this.option,g=!S&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&g!=null&&g!=="dataMin"&&typeof g!="function"&&!y.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getMax:function(S){var m=this.option,g=!S&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&g!=null&&g!=="dataMax"&&typeof g!="function"&&!y.eqNaN(g)&&(g=this.axis.scale.parse(g)),g},getNeedCrossZero:function(){var S=this.option;return S.rangeStart!=null||S.rangeEnd!=null?!1:!S.scale},getCoordSysModel:y.noop,setRange:function(S,m){this.option.rangeStart=S,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};R.exports=p},IDmD:function(R,N,t){var y=t("bYtY"),p={};function S(){this._coordinateSystems=[]}S.prototype={constructor:S,create:function(g,f){var d=[];y.each(p,function(c,a){var n=c.create(g,f);d=d.concat(n||[])}),this._coordinateSystems=d},update:function(g,f){y.each(this._coordinateSystems,function(d){d.update&&d.update(g,f)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},S.register=function(g,f){p[g]=f},S.get=function(g){return p[g]};var m=S;R.exports=m},IMiH:function(R,N,t){var y=t("Sj9i"),p=t("QBsz"),S=t("4mN7"),m=t("mFDi"),g=t("LPTA"),f=g.devicePixelRatio,d={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],a=[],n=[],i=[],o=Math.min,r=Math.max,l=Math.cos,e=Math.sin,s=Math.sqrt,u=Math.abs,h=typeof Float32Array!="undefined",A=function(b){this._saveData=!(b||!1),this._saveData&&(this.data=[]),this._ctx=null};A.prototype={constructor:A,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(b,E,T){T=T||0,this._ux=u(T/f/b)||0,this._uy=u(T/f/E)||0},getContext:function(){return this._ctx},beginPath:function(b){return this._ctx=b,b&&b.beginPath(),b&&(this.dpr=b.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(b,E){return this.addData(d.M,b,E),this._ctx&&this._ctx.moveTo(b,E),this._x0=b,this._y0=E,this._xi=b,this._yi=E,this},lineTo:function(b,E){var T=u(b-this._xi)>this._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;T<b.length;T++)E+=b[T];this._dashSum=E}return this},setLineDashOffset:function(b){return this._dashOffset=b,this},len:function(){return this._len},setData:function(b){var E=b.length;!(this.data&&this.data.length===E)&&h&&(this.data=new Float32Array(E));for(var T=0;T<E;T++)this.data[T]=b[T];this._len=E},appendPath:function(b){b instanceof Array||(b=[b]);for(var E=b.length,T=0,_=this._len,x=0;x<E;x++)T+=b[x].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(_+T));for(var x=0;x<E;x++)for(var C=b[x].data,I=0;I<C.length;I++)this.data[_++]=C[I];this._len=_},addData:function(b){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var T=0;T<arguments.length;T++)E[this._len++]=arguments[T];this._prevCmd=b},_expandData:function(){if(!(this.data instanceof Array)){for(var b=[],E=0;E<this._len;E++)b[E]=this.data[E];this.data=b}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(b,E){var T=this._dashSum,_=this._dashOffset,x=this._lineDash,C=this._ctx,I=this._xi,L=this._yi,F=b-I,B=E-L,P=s(F*F+B*B),H=I,z=L,M,U=x.length,k;for(F/=P,B/=P,_<0&&(_=T+_),_%=T,H-=_*F,z-=_*B;F>0&&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&&H<I||F<0&&H>I||B>0&&z<L||B<0&&z>L)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(;j<V&&!(J+=F[j],J>L);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;C<b.length;){var I=b[C++];C===1&&(E=b[C],T=b[C+1],_=E,x=T);switch(I){case d.M:_=b[C++],x=b[C++],E=_,T=x,n[0]=_,n[1]=x,i[0]=_,i[1]=x;break;case d.L:S.fromLine(E,T,b[C],b[C+1],n,i),E=b[C++],T=b[C++];break;case d.C:S.fromCubic(E,T,b[C++],b[C++],b[C++],b[C++],b[C],b[C+1],n,i),E=b[C++],T=b[C++];break;case d.Q:S.fromQuadratic(E,T,b[C++],b[C++],b[C],b[C+1],n,i),E=b[C++],T=b[C++];break;case d.A:var L=b[C++],F=b[C++],B=b[C++],P=b[C++],H=b[C++],z=b[C++]+H;C+=1;var M=1-b[C++];C===1&&(_=l(H)*B+L,x=e(H)*P+F),S.fromArc(L,F,B,P,H,z,M,n,i),E=l(z)*B+L,T=e(z)*P+F;break;case d.R:_=E=b[C++],x=T=b[C++];var U=b[C++],k=b[C++];S.fromLine(_,x,_+U,x+k,n,i);break;case d.Z:E=_,T=x;break}p.min(c,c,n),p.max(a,a,i)}return C===0&&(c[0]=c[1]=a[0]=a[1]=0),new m(c[0],c[1],a[0]-c[0],a[1]-c[1])},rebuildPath:function(b){for(var E=this.data,T,_,x,C,I,L,F=this._ux,B=this._uy,P=this._len,H=0;H<P;){var z=E[H++];H===1&&(x=E[H],C=E[H+1],T=x,_=C);switch(z){case d.M:T=x=E[H++],_=C=E[H++],b.moveTo(x,C);break;case d.L:I=E[H++],L=E[H++],(u(I-x)>F||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<v;){var w=A+v>>>1;u[w][1]<h?A=w+1:v=w}return A},l=g.extend({type:"time",getLabel:function(u){var h=this._stepLvl,A=new Date(u);return S.formatTime(h[0],A,this.getSetting("useUTC"))},niceExtent:function(u){var h=this._extent;if(h[0]===h[1]&&(h[0]-=o,h[1]+=o),h[1]===-Infinity&&h[0]===Infinity){var A=new Date;h[1]=+new Date(A.getFullYear(),A.getMonth(),A.getDate()),h[0]=h[1]-o}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var v=this._interval;u.fixMin||(h[0]=p.round(c(h[0]/v)*v)),u.fixMax||(h[1]=p.round(d(h[1]/v)*v))},niceTicks:function(u,h,A){u=u||10;var v=this._extent,w=v[1]-v[0],b=w/u;h!=null&&b<h&&(b=h),A!=null&&b>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;n<a.length;n++){var i=a[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}function f(c,a,n){return a&&g(c.prototype,a),n&&g(c,n),c}var d=function(){function c(){m(this,c),this.strm=new p.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.inflateInit)(this.strm,this.windowBits)}return f(c,[{key:"setInput",value:function(n){n?(this.strm.input=n,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0):(this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0)}},{key:"inflate",value:function(n){n>this.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(ot){return f.extend(ot)}function k(ot,Xe){return p.extendFromString(ot,Xe)}function K(ot,Xe){M[ot]=Xe}function j(ot){if(M.hasOwnProperty(ot))return M[ot]}function V(ot,Xe,$t,Sr){var vr=p.createFromString(ot,Xe);return $t&&(Sr==="center"&&($t=X($t,vr.getBoundingRect())),de(vr,$t)),vr}function W(ot,Xe,$t){var Sr=new c({style:{image:ot,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(ot,Xe){var $t=Xe.width/Xe.height,Sr=ot.height*$t,vr;Sr<=ot.width?vr=ot.height:(Sr=ot.width,vr=Sr/$t);var fr=ot.x+ot.width/2,An=ot.y+ot.height/2;return{x:fr-Sr/2,y:An-vr/2,width:Sr,height:vr}}var J=p.mergePath;function de(ot,Xe){if(!ot.applyTransform)return;var $t=ot.getBoundingRect(),Sr=$t.calculateTransform(Xe);ot.applyTransform(Sr)}function G(ot){return _.subPixelOptimizeLine(ot.shape,ot.shape,ot.style),ot}function ae(ot){return _.subPixelOptimizeRect(ot.shape,ot.shape,ot.style),ot}var Ae=_.subPixelOptimize;function me(ot){return ot!=null&&ot!=="none"}var Me=y.createHashMap(),oe=0;function _e(ot){if(typeof ot!="string")return ot;var Xe=Me.get(ot);return Xe||(Xe=S.lift(ot,-.1),oe<1e4&&(Me.set(ot,Xe),oe++)),Xe}function ee(ot){if(!ot.__hoverStlDirty)return;ot.__hoverStlDirty=!1;var Xe=ot.__hoverStl;if(!Xe){ot.__cachedNormalStl=ot.__cachedNormalZ2=null;return}var $t=ot.__cachedNormalStl={};ot.__cachedNormalZ2=ot.z2;var Sr=ot.style;for(var vr in Xe)Xe[vr]!=null&&($t[vr]=Sr[vr]);$t.fill=Sr.fill,$t.stroke=Sr.stroke}function ne(ot){var Xe=ot.__hoverStl;if(!Xe||ot.__highlighted)return;var $t=ot.__zr,Sr=ot.useHoverLayer&&$t&&$t.painter.type==="canvas";if(ot.__highlighted=Sr?"layer":"plain",ot.isGroup||!$t&&ot.useHoverLayer)return;var vr=ot,fr=ot.style;Sr&&(vr=$t.addHover(ot),fr=vr.style),Gt(fr),Sr||ee(vr),fr.extendFrom(Xe),Ge(fr,Xe,"fill"),Ge(fr,Xe,"stroke"),Mt(fr),Sr||(ot.dirty(!1),ot.z2+=L)}function Ge(ot,Xe,$t){!me(Xe[$t])&&me(ot[$t])&&(ot[$t]=_e(ot[$t]))}function Ee(ot){var Xe=ot.__highlighted;if(!Xe)return;if(ot.__highlighted=!1,ot.isGroup)return;if(Xe==="layer")ot.__zr&&ot.__zr.removeHover(ot);else{var $t=ot.style,Sr=ot.__cachedNormalStl;Sr&&(Gt($t),ot.setStyle(Sr),Mt($t));var vr=ot.__cachedNormalZ2;vr!=null&&ot.z2-vr===L&&(ot.z2=vr)}}function ue(ot,Xe,$t){var Sr=P,vr=P,fr;ot.__highlighted&&(Sr=B,fr=!0),Xe(ot,$t),ot.__highlighted&&(vr=B,fr=!0),ot.isGroup&&ot.traverse(function(An){!An.isGroup&&Xe(An,$t)}),fr&&ot.__highDownOnUpdate&&ot.__highDownOnUpdate(Sr,vr)}function re(ot,Xe){Xe=ot.__hoverStl=Xe!==!1&&(ot.hoverStyle||Xe||{}),ot.__hoverStlDirty=!0,ot.__highlighted&&(ot.__cachedNormalStl=null,Ee(ot),ne(ot))}function ce(ot){!Ie(this,ot)&&!this.__highByOuter&&ue(this,ne)}function ke(ot){!Ie(this,ot)&&!this.__highByOuter&&ue(this,Ee)}function Te(ot){this.__highByOuter|=1<<(ot||0),ue(this,ne)}function Ke(ot){!(this.__highByOuter&=~(1<<(ot||0)))&&ue(this,Ee)}function Ie(ot,Xe){return ot.__highDownSilentOnTouch&&Xe.zrByTouch}function se(ot,Xe){ye(ot,!0),ue(ot,re,Xe)}function ye(ot,Xe){var $t=Xe===!1;if(ot.__highDownSilentOnTouch=ot.highDownSilentOnTouch,ot.__highDownOnUpdate=ot.highDownOnUpdate,!$t||ot.__highDownDispatcher){var Sr=$t?"off":"on";ot[Sr]("mouseover",ce)[Sr]("mouseout",ke),ot[Sr]("emphasis",Te)[Sr]("normal",Ke),ot.__highByOuter=ot.__highByOuter||0,ot.__highDownDispatcher=!$t}}function xe(ot){return!!(ot&&ot.__highDownDispatcher)}function Ye(ot){var Xe=z[ot];return Xe==null&&H<=32&&(Xe=z[ot]=H++),Xe}function pt(ot,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,Vt=Le?y.retrieve2(Zr?Zr.getFormattedLabel(Ln,"emphasis",null,Je,et):null,Ue):null;(rt!=null||Vt!=null)&&(Oe(ot,$t,fr,vr),Oe(Xe,Sr,An,vr,!0)),ot.text=rt,Xe.text=Vt}function nt(ot,Xe,$t){var Sr=ot.style;Xe&&(Gt(Sr),ot.setStyle(Xe),Mt(Sr)),Sr=ot.__hoverStl,$t&&Sr&&(Gt(Sr),y.extend(Sr,$t),Mt(Sr))}function Oe(ot,Xe,$t,Sr,vr){return Ze(ot,Xe,Sr,vr),$t&&y.extend(ot,$t),ot}function vt(ot,Xe,$t){var Sr={isRectText:!0},vr;$t===!1?vr=!0:Sr.autoColor=$t,Ze(ot,Xe,Sr,vr)}function Ze(ot,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")),ot.textPosition=vr,ot.textOffset=Xe.getShallow("offset");var fr=Xe.getShallow("rotate");fr!=null&&(fr*=Math.PI/180),ot.textRotation=fr,ot.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 ot.rich=Je,xt(ot,Xe,Zr,$t,Sr,!0),$t.forceRich&&!$t.textStyle&&($t.textStyle={}),ot}function wt(ot){for(var Xe;ot&&ot!==ot.ecModel;){var $t=(ot.option||I).rich;if($t){Xe=Xe||{};for(var Sr in $t)$t.hasOwnProperty(Sr)&&(Xe[Sr]=1)}ot=ot.parentModel}return Xe}function xt(ot,Xe,$t,Sr,vr,fr){$t=!vr&&$t||I,ot.textFill=Ot(Xe.getShallow("color"),Sr)||$t.color,ot.textStroke=Ot(Xe.getShallow("textBorderColor"),Sr)||$t.textBorderColor,ot.textStrokeWidth=y.retrieve2(Xe.getShallow("textBorderWidth"),$t.textBorderWidth),vr||(fr&&(ot.insideRollbackOpt=Sr,Mt(ot)),ot.textFill==null&&(ot.textFill=Sr.autoColor)),ot.fontStyle=Xe.getShallow("fontStyle")||$t.fontStyle,ot.fontWeight=Xe.getShallow("fontWeight")||$t.fontWeight,ot.fontSize=Xe.getShallow("fontSize")||$t.fontSize,ot.fontFamily=Xe.getShallow("fontFamily")||$t.fontFamily,ot.textAlign=Xe.getShallow("align"),ot.textVerticalAlign=Xe.getShallow("verticalAlign")||Xe.getShallow("baseline"),ot.textLineHeight=Xe.getShallow("lineHeight"),ot.textWidth=Xe.getShallow("width"),ot.textHeight=Xe.getShallow("height"),ot.textTag=Xe.getShallow("tag"),(!fr||!Sr.disableBox)&&(ot.textBackgroundColor=Ot(Xe.getShallow("backgroundColor"),Sr),ot.textPadding=Xe.getShallow("padding"),ot.textBorderColor=Ot(Xe.getShallow("borderColor"),Sr),ot.textBorderWidth=Xe.getShallow("borderWidth"),ot.textBorderRadius=Xe.getShallow("borderRadius"),ot.textBoxShadowColor=Xe.getShallow("shadowColor"),ot.textBoxShadowBlur=Xe.getShallow("shadowBlur"),ot.textBoxShadowOffsetX=Xe.getShallow("shadowOffsetX"),ot.textBoxShadowOffsetY=Xe.getShallow("shadowOffsetY")),ot.textShadowColor=Xe.getShallow("textShadowColor")||$t.textShadowColor,ot.textShadowBlur=Xe.getShallow("textShadowBlur")||$t.textShadowBlur,ot.textShadowOffsetX=Xe.getShallow("textShadowOffsetX")||$t.textShadowOffsetX,ot.textShadowOffsetY=Xe.getShallow("textShadowOffsetY")||$t.textShadowOffsetY}function Ot(ot,Xe){return ot!=="auto"?ot:Xe&&Xe.autoColor?Xe.autoColor:null}function Mt(ot){var Xe=ot.textPosition,$t=ot.insideRollbackOpt,Sr;if($t&&ot.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:ot.textFill,textStroke:ot.textStroke,textStrokeWidth:ot.textStrokeWidth}),Zr&&(ot.textFill="#fff",ot.textStroke==null&&(ot.textStroke=vr,ot.textStrokeWidth==null&&(ot.textStrokeWidth=2))),Ln&&(ot.textFill=vr)}ot.insideRollback=Sr}function Gt(ot){var Xe=ot.insideRollback;Xe&&(ot.textFill=Xe.textFill,ot.textStroke=Xe.textStroke,ot.textStrokeWidth=Xe.textStrokeWidth,ot.insideRollback=null)}function $e(ot,Xe){var $t=Xe&&Xe.getModel("textStyle");return y.trim([ot.fontStyle||$t&&$t.getShallow("fontStyle")||"",ot.fontWeight||$t&&$t.getShallow("fontWeight")||"",(ot.fontSize||$t&&$t.getShallow("fontSize")||12)+"px",ot.fontFamily||$t&&$t.getShallow("fontFamily")||"sans-serif"].join(" "))}function pe(ot,Xe,$t,Sr,vr,fr){typeof vr=="function"&&(fr=vr,vr=null);var An=Sr&&Sr.isAnimationEnabled();if(An){var Zr=ot?"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(ot,Xe,$t,Sr,vr){pe(!0,ot,Xe,$t,Sr,vr)}function bt(ot,Xe,$t,Sr,vr){pe(!1,ot,Xe,$t,Sr,vr)}function qe(ot,Xe){for(var $t=m.identity([]);ot&&ot!==Xe;)m.mul($t,ot.getLocalTransform(),$t),ot=ot.parent;return $t}function le(ot,Xe,$t){return Xe&&!y.isArrayLike(Xe)&&(Xe=d.getLocalTransform(Xe)),$t&&(Xe=m.invert([],Xe)),g.applyTransform([],ot,Xe)}function Nt(ot,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=[ot==="left"?-Sr:ot==="right"?Sr:0,ot==="top"?-vr:ot==="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(ot,Xe,$t,Sr){if(!ot||!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(ot);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(ot,Xe){return y.map(ot,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 Wt(ot,Xe){var $t=x(ot.x,Xe.x),Sr=C(ot.x+ot.width,Xe.x+Xe.width),vr=x(ot.y,Xe.y),fr=C(ot.y+ot.height,Xe.y+Xe.height);if(Sr>=$t&&fr>=vr)return{x:$t,y:vr,width:Sr-$t,height:fr-vr}}function cr(ot,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},ot)return ot.indexOf("image://")===0?(Sr.image=ot.slice(8),y.defaults(Sr,$t),new c(Xe)):V(ot.replace("path://",""),Xe,$t,"center")}function Vr(ot,Xe,$t,Sr,vr){for(var fr=0,An=vr[vr.length-1];fr<vr.length;fr++){var Zr=vr[fr];if(ur(ot,Xe,$t,Sr,Zr[0],Zr[1],An[0],An[1]))return!0;An=Zr}}function ur(ot,Xe,$t,Sr,vr,fr,An,Zr){var Ln=$t-ot,Je=Sr-Xe,et=An-vr,be=Zr-fr,Le=ir(et,be,Ln,Je);if(Lt(Le))return!1;var Ue=ot-vr,rt=Xe-fr,Vt=ir(Ue,rt,Ln,Je)/Le;if(Vt<0||Vt>1)return!1;var Ft=ir(Ue,rt,et,be)/Le;return!(Ft<0||Ft>1)}function ir(ot,Xe,$t,Sr){return ot*Sr-$t*Xe}function Lt(ot){return ot<=1e-6&&ot>=-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=Wt,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<M;z++)H[P.charAt(z)]=z;return H}(d),a=String.fromCharCode,n=function(H){if(H.length<2){var z=H.charCodeAt(0);return z<128?H:z<2048?a(192|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<k;U+=3){var K=H[U],j=H[U+1],V=H[U+2],W=K<<16|j<<8|V;M+=d.charAt(W>>>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+="<br />"),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<s;e++)r[e]=e;return typeof n=="function"?r.sort(n):n!=="none"&&r.sort(function(u,h){return l?o[u]-o[h]:o[h]-o[u]}),r}function d(a){a.each(function(n){var i=a.getItemModel(n),o=i.getModel("label"),r=o.get("position"),l=i.getModel("labelLine"),e=a.getItemLayout(n),s=e.points,u=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",h,A,v,w;if(u)r==="insideLeft"?(A=(s[0][0]+s[3][0])/2+5,v=(s[0][1]+s[3][1])/2,h="left"):r==="insideRight"?(A=(s[1][0]+s[2][0])/2-5,v=(s[1][1]+s[2][1])/2,h="right"):(A=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,v=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,h="center"),w=[[A,v],[A,v]];else{var b,E,T,_=l.get("length");r==="left"?(b=(s[3][0]+s[0][0])/2,E=(s[3][1]+s[0][1])/2,T=b-_,A=T-5,h="right"):r==="right"?(b=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,T=b+_,A=T+5,h="left"):r==="rightTop"?(b=s[1][0],E=s[1][1],T=b+_,A=T+5,h="top"):r==="rightBottom"?(b=s[2][0],E=s[2][1],T=b+_,A=T+5,h="bottom"):r==="leftTop"?(b=s[0][0],E=s[1][1],T=b-_,A=T-5,h="right"):r==="leftBottom"?(b=s[3][0],E=s[2][1],T=b-_,A=T-5,h="right"):(b=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,T=b+_,A=T+5,h="left");var x=E;w=[[b,E],[T,x]],v=x}e.label={linePoints:w,x:A,y:v,verticalAlign:"middle",textAlign:h,inside:u}})}function c(a,n,i){a.eachSeriesByType("funnel",function(o){var r=o.getData(),l=r.mapDimension("value"),e=o.get("sort"),s=g(o,n),u=f(r,e),h=[S(o.get("minSize"),s.width),S(o.get("maxSize"),s.width)],A=r.getDataExtent(l),v=o.get("min"),w=o.get("max");v==null&&(v=Math.min(A[0],0)),w==null&&(w=A[1]);var b=o.get("funnelAlign"),E=o.get("gap"),T=(s.height-E*(r.count()-1))/r.count(),_=s.y,x=function(z,M){var U=r.get(l,z)||0,k=m(U,[v,w],h,!0),K;switch(b){case"left":K=s.x;break;case"center":K=s.x+(s.width-k)/2;break;case"right":K=s.x+s.width-k;break}return[[K,M],[K+k,M]]};e==="ascending"&&(T=-T,E=-E,_+=s.height,u=u.reverse());for(var C=0;C<u.length;C++){var I=u[C],L=u[C+1],F=r.getItemModel(I),B=F.get("itemStyle.height");B==null?B=T:(B=S(B,s.height),e==="ascending"&&(B=-B));var P=x(I,_),H=x(L,_+B);_+=B+E,r.setItemLayout(I,{points:P.concat(H.slice().reverse())})}d(r)})}R.exports=c},JSwD:function(R,N,t){"use strict";function y(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(h){return typeof h}:y=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},y(s)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=e;var p=m(t("6BzB"));function S(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return S=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||y(s)!=="object"&&typeof s!="function")return{default:s};var u=S();if(u&&u.has(s))return u.get(s);var h={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in s)if(Object.prototype.hasOwnProperty.call(s,v)){var w=A?Object.getOwnPropertyDescriptor(s,v):null;w&&(w.get||w.set)?Object.defineProperty(h,v,w):h[v]=s[v]}return h.default=s,u&&u.set(s,h),h}var g=15,f=852,d=592,c=0,a=1,n=2,i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function e(s,u,h,A,v,w,b,E){var T=E.bits,_=0,x=0,C=0,I=0,L=0,F=0,B=0,P=0,H=0,z=0,M,U,k,K,j,V=null,W=0,X,J=new p.Buf16(g+1),de=new p.Buf16(g+1),G=null,ae=0,Ae,me,Me;for(_=0;_<=g;_++)J[_]=0;for(x=0;x<A;x++)J[u[h+x]]++;for(L=T,I=g;I>=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;C<I&&!(J[C]!==0);C++);for(L<C&&(L=C),P=1,_=1;_<=g;_++)if(P<<=1,P-=J[_],P<0)return-1;if(P>0&&(s===c||I!==1))return-1;for(de[1]=0,_=1;_<g;_++)de[_+1]=de[_]+J[_];for(x=0;x<A;x++)u[h+x]!==0&&(b[de[u[h+x]]++]=x);if(s===c?(V=G=b,X=19):s===a?(V=i,W-=257,G=o,ae-=257,X=256):(V=r,G=l,X=-1),z=0,x=0,_=C,j=w,F=L,B=0,k=-1,H=1<<L,K=H-1,s===a&&H>f||s===n&&H>d)return 1;for(;;){Ae=_-B,b[x]<X?(me=0,Me=b[x]):b[x]>X?(me=G[ae+b[x]],Me=V[W+b[x]]):(me=32+64,Me=0),M=1<<_-B,U=1<<F,C=U;do U-=M,v[j+(z>>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;F+B<I&&!(P-=J[F+B],P<=0);)F++,P<<=1;if(H+=1<<F,s===a&&H>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;P<B.length;P++){var H=l.getItemLayout(B[P]),z=H.x,M=H.y0,U=H.y;I.push([z,M]),L.push([z,M+U]),F=l.getItemVisual(B[P],"color")}var k,K,j=l.getItemLayout(B[0]),V=l.getItemModel(B[P-1]),W=V.getModel("label"),X=W.get("margin");if(T==="add"){var J=b[_]=new m.Group;k=new S({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),K=new m.Text({style:{x:j.x-X,y:j.y0+j.y/2}}),J.add(k),J.add(K),e.add(J),k.setClipPath(n(k.getBoundingRect(),i,function(){k.removeClipPath()}))}else{var J=C[x];k=J.childAt(0),K=J.childAt(1),e.add(J),b[_]=J,m.updateProps(k,{shape:{points:I,stackedOnPoints:L}},i),m.updateProps(K,{style:{x:j.x-X,y:j.y0+j.y/2}},i)}var de=V.getModel("emphasis.itemStyle"),G=V.getModel("itemStyle");m.setTextStyle(K.style,W,{text:W.get("show")?i.getFormattedLabel(B[P-1],"normal")||l.getName(B[P-1]):null,textVerticalAlign:"middle"}),k.setStyle(d({fill:F},G.getItemStyle(["color"]))),m.setHoverStyle(k,de.getItemStyle())}this._layersSeries=s,this._layers=b},dispose:function(){}});function n(i,o,r){var l=new m.Rect({shape:{x:i.x-10,y:i.y-10,width:0,height:i.height+20}});return m.initProps(l,{shape:{width:i.width+20,height:i.height+20}},o,r),l}R.exports=a},JgUQ: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:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};N.default=y},JsLm: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("i8i4"),u=t("TSYQ"),h=t.n(u),A=t("zT1h"),v=t("cDf5"),w=t.n(v),b=t("BGR+"),E=t("t23M"),T=t("H84U"),_=t("PEeC");function x(oe){return oe!==window?oe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(oe,_e,ee){return ee!==void 0&&_e.top>oe.top-ee?ee+_e.top:void 0}function I(oe,_e,ee){if(ee!==void 0&&_e.bottom<oe.bottom+ee){var ne=window.innerHeight-_e.bottom;return ee+ne}return}var L=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function B(){return F}function P(oe,_e){if(!oe)return;var ee=F.find(function(ne){return ne.target===oe});ee?ee.affixList.push(_e):(ee={target:oe,affixList:[_e],eventHandlers:{}},F.push(ee),L.forEach(function(ne){ee.eventHandlers[ne]=Object(A.a)(oe,ne,function(){ee.affixList.forEach(function(Ge){Ge.lazyUpdatePosition()})})}))}function H(oe){var _e=F.find(function(ee){var ne=ee.affixList.some(function(Ge){return Ge===oe});return ne&&(ee.affixList=ee.affixList.filter(function(Ge){return Ge!==oe})),ne});_e&&_e.affixList.length===0&&(F=F.filter(function(ee){return ee!==_e}),L.forEach(function(ee){var ne=_e.eventHandlers[ee];ne&&ne.remove&&ne.remove()}))}var z=function(oe,_e,ee,ne){var Ge=arguments.length,Ee=Ge<3?_e:ne===null?ne=Object.getOwnPropertyDescriptor(_e,ee):ne,ue;if((typeof Reflect=="undefined"?"undefined":w()(Reflect))==="object"&&typeof Reflect.decorate=="function")Ee=Reflect.decorate(oe,_e,ee,ne);else for(var re=oe.length-1;re>=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);se<Ge+Ee&&re.push({link:Te,top:se})}}),re.length){var ke=re.reduce(function(Te,Ke){return Ke.top>Te.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;u<h;u++){var A=g[u],v=s.normal,w=s.emphasis;v&&v[A]&&(e[A]=e[A]||{},e[A].normal?y.merge(e[A].normal,v[A]):e[A].normal=v[A],v[A]=null),w&&w[A]&&(e[A]=e[A]||{},e[A].emphasis?y.merge(e[A].emphasis,w[A]):e[A].emphasis=w[A],w[A]=null)}}function d(e,s,u){if(e&&e[s]&&(e[s].normal||e[s].emphasis)){var h=e[s].normal,A=e[s].emphasis;h&&(u?(e[s].normal=e[s].emphasis=null,y.defaults(e[s],h)):e[s]=h),A&&(e.emphasis=e.emphasis||{},e.emphasis[s]=A)}}function c(e){d(e,"itemStyle"),d(e,"lineStyle"),d(e,"areaStyle"),d(e,"label"),d(e,"labelLine"),d(e,"upperLabel"),d(e,"edgeLabel")}function a(e,s){var u=m(e)&&e[s],h=m(u)&&u.textStyle;if(h)for(var A=0,v=p.TEXT_STYLE_OPTIONS.length;A<v;A++){var s=p.TEXT_STYLE_OPTIONS[A];h.hasOwnProperty(s)&&(u[s]=h[s])}}function n(e){e&&(c(e),a(e,"label"),e.emphasis&&a(e.emphasis,"label"))}function i(e){if(!m(e))return;f(e),c(e),a(e,"label"),a(e,"upperLabel"),a(e,"edgeLabel"),e.emphasis&&(a(e.emphasis,"label"),a(e.emphasis,"upperLabel"),a(e.emphasis,"edgeLabel"));var s=e.markPoint;s&&(f(s),n(s));var u=e.markLine;u&&(f(u),n(u));var h=e.markArea;h&&n(h);var A=e.data;if(e.type==="graph"){A=A||e.nodes;var v=e.links||e.edges;if(v&&!y.isTypedArray(v))for(var w=0;w<v.length;w++)n(v[w]);y.each(e.categories,function(T){c(T)})}if(A&&!y.isTypedArray(A))for(var w=0;w<A.length;w++)n(A[w]);var s=e.markPoint;if(s&&s.data)for(var b=s.data,w=0;w<b.length;w++)n(b[w]);var u=e.markLine;if(u&&u.data)for(var E=u.data,w=0;w<E.length;w++)y.isArray(E[w])?(n(E[w][0]),n(E[w][1])):n(E[w]);e.type==="gauge"?(a(e,"axisLabel"),a(e,"title"),a(e,"detail")):e.type==="treemap"?(d(e.breadcrumb,"itemStyle"),y.each(e.levels,function(T){c(T)})):e.type==="tree"&&c(e.leaves)}function o(e){return y.isArray(e)?e:e?[e]:[]}function r(e){return(y.isArray(e)?e[0]:e)||{}}function l(e,s){S(o(e.series),function(h){m(h)&&i(h)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),S(u,function(h){S(o(e[h]),function(A){A&&(a(A,"axisLabel"),a(A.axisPointer,"label"))})}),S(o(e.parallel),function(h){var A=h&&h.parallelAxisDefault;a(A,"axisLabel"),a(A&&A.axisPointer,"label")}),S(o(e.calendar),function(h){d(h,"itemStyle"),a(h,"dayLabel"),a(h,"monthLabel"),a(h,"yearLabel")}),S(o(e.radar),function(h){a(h,"name")}),S(o(e.geo),function(h){m(h)&&(n(h),S(o(h.regions),function(A){n(A)}))}),S(o(e.timeline),function(h){n(h),d(h,"label"),d(h,"itemStyle"),d(h,"controlStyle",!0);var A=h.data;y.isArray(A)&&y.each(A,function(v){y.isObject(v)&&(d(v,"label"),d(v,"itemStyle"))})}),S(o(e.toolbox),function(h){d(h,"iconStyle"),S(h.feature,function(A){d(A,"iconStyle")})}),a(r(e.axisPointer),"label"),a(r(e.tooltip).axisPointer,"label")}R.exports=l},K2GJ:function(R,N,t){var y=t("fW2E"),p=t("gut8"),S=p.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],g=function(r){this.extendFrom(r,!1)};function f(o,r,l){var e=r.x==null?0:r.x,s=r.x2==null?1:r.x2,u=r.y==null?0:r.y,h=r.y2==null?0:r.y2;r.global||(e=e*l.width+l.x,s=s*l.width+l.x,u=u*l.height+l.y,h=h*l.height+l.y),e=isNaN(e)?0:e,s=isNaN(s)?1:s,u=isNaN(u)?0:u,h=isNaN(h)?0:h;var A=o.createLinearGradient(e,u,s,h);return A}function d(o,r,l){var e=l.width,s=l.height,u=Math.min(e,s),h=r.x==null?.5:r.x,A=r.y==null?.5:r.y,v=r.r==null?.5:r.r;r.global||(h=h*e+l.x,A=A*s+l.y,v=v*u);var w=o.createRadialGradient(h,A,0,h,A,v);return w}g.prototype={constructor:g,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(r,l,e){var s=this,u=e&&e.style,h=!u||r.__attrCachedBy!==S.STYLE_BIND;r.__attrCachedBy=S.STYLE_BIND;for(var A=0;A<m.length;A++){var v=m[A],w=v[0];(h||s[w]!==u[w])&&(r[w]=y(r,w,s[w]||v[1]))}if((h||s.fill!==u.fill)&&(r.fillStyle=s.fill),(h||s.stroke!==u.stroke)&&(r.strokeStyle=s.stroke),(h||s.opacity!==u.opacity)&&(r.globalAlpha=s.opacity==null?1:s.opacity),(h||s.blend!==u.blend)&&(r.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var b=s.lineWidth;r.lineWidth=b/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var r=this.fill;return r!=null&&r!=="none"},hasStroke:function(){var r=this.stroke;return r!=null&&r!=="none"&&this.lineWidth>0},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<h.length;A++)u.addColorStop(h[A].offset,h[A].color);return u}};for(var c=g.prototype,a=0;a<m.length;a++){var n=m[a];n[0]in c||(c[n[0]]=n[1])}g.getGradient=c.getGradient;var i=g;R.exports=i},K4ya:function(R,N,t){var y=t("bYtY"),p=t("XxSj"),S=y.each;function m(a){if(a){for(var n in a)if(a.hasOwnProperty(n))return!0}}function g(a,n,i){var o={};return S(n,function(l){var e=o[l]=r();S(a[l],function(s,u){if(!p.isValidType(u))return;var h={type:u,visual:s};i&&i(h,l),e[u]=new p(h),u==="opacity"&&(h=y.clone(h),h.type="colorAlpha",e.__hidden.__alphaForOpacity=new p(h))})}),o;function r(){var l=function(){};l.prototype.__hidden=l.prototype;var e=new l;return e}}function f(a,n,i){var o;y.each(i,function(r){n.hasOwnProperty(r)&&m(n[r])&&(o=!0)}),o&&y.each(i,function(r){n.hasOwnProperty(r)&&m(n[r])?a[r]=y.clone(n[r]):delete a[r]})}function d(a,n,i,o,r,l){var e={};y.each(a,function(v){var w=p.prepareVisualTypes(n[v]);e[v]=w});var s;function u(v){return i.getItemVisual(s,v)}function h(v,w){i.setItemVisual(s,v,w)}l==null?i.each(A):i.each([l],A);function A(v,w){s=l==null?v:w;var b=i.getRawDataItem(s);if(b&&b.visualMap===!1)return;for(var E=o.call(r,v),T=n[E],_=e[E],x=0,C=_.length;x<C;x++){var I=_[x];T[I]&&T[I].applyVisual(v,u,h)}}}function c(a,n,i,o){var r={};y.each(a,function(e){var s=p.prepareVisualTypes(n[e]);r[e]=s});function l(e,s){o!=null&&(o=s.getDimension(o));function u(I){return s.getItemVisual(A,I)}function h(I,L){s.setItemVisual(A,I,L)}for(var A;(A=e.next())!=null;){var v=s.getRawDataItem(A);if(v&&v.visualMap===!1)continue;for(var w=o!=null?s.get(o,A,!0):A,b=i(w),E=n[b],T=r[b],_=0,x=T.length;_<x;_++){var C=T[_];E[C]&&E[C].applyVisual(w,u,h)}}}return{progress:l}}N.createVisualMappings=g,N.replaceVisualOption=f,N.applyVisual=d,N.incrementalApplyVisual=c},KCY9:function(R,N,t){},KCsZ:function(R,N,t){var y=t("bYtY");function p(S){for(var m=0;m<S.length;m++)S[m][1]||(S[m][1]=S[m][0]);return function(g,f,d){for(var c={},a=0;a<S.length;a++){var n=S[a][1];if(f&&y.indexOf(f,n)>=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,de<L?(de=L,k-=L):K+=X;var G=j+V*de;s.setItemLayout(J,{angle:de,startAngle:j,endAngle:G,clockwise:H,cx:T,cy:_,r0:x,r:z?S(X,U,[x,C]):C,viewRect:h}),j=G}),k<d&&F)if(k<=.001){var W=d/F;s.each(u,function(X,J){if(!isNaN(X)){var de=s.getItemLayout(J);de.angle=W,de.startAngle=I+V*J*W,de.endAngle=I+V*(J+1)*W}})}else P=k/K,j=I,s.each(u,function(X,J){if(!isNaN(X)){var de=s.getItemLayout(J),G=de.angle===L?L:X*P;de.startAngle=j,de.endAngle=j+V*G,j+=V*G}});g(e,C,h.width,h.height,h.x,h.y)})}R.exports=n},KUOm:function(R,N){function t(y){var p={};y.eachSeriesByType("graph",function(S){var m=S.getCategoriesData(),g=S.getData(),f={};m.each(function(d){var c=m.getName(d);f["ec-"+c]=d;var a=m.getItemModel(d),n=a.get("itemStyle.color")||S.getColorFromPalette(c,p);m.setItemVisual(d,"color",n);for(var i=["opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<i.length;o++){var r=a.getShallow(i[o],!0);r!=null&&m.setItemVisual(d,i[o],r)}}),m.count()&&g.each(function(d){var c=g.getItemModel(d),a=c.getShallow("category");if(a!=null){typeof a=="string"&&(a=f["ec-"+a]);for(var n=["color","opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++)g.getItemVisual(d,n[i],!0)==null&&g.setItemVisual(d,n[i],m.getItemVisual(a,n[i]))}})})}R.exports=t},Kagy:function(R,N){var t={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};R.exports=t},KamJ:function(R,N,t){var y=t("ProS"),p=t("szbU");t("vF/C"),t("qwVE"),t("BuqR"),t("AE9C"),t("1u/T"),y.registerPreprocessor(p)},KmBX: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("CP8R")),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="FilterFilled";var c=m.forwardRef(d);N.default=c},"KpQ+":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("E/ki")),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="ClockCircleOutlined";var c=m.forwardRef(d);N.default=c},KrTs:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("cDf5"),m=t.n(S),g=t("pVnL"),f=t.n(g),d=t("q1tI"),c=t("MFj2"),a=t("TSYQ"),n=t.n(a),i=t("J4zp"),o=t.n(i),r=t("H84U"),l=t("0n0R"),e=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);B<F.length;B++)I.indexOf(F[B])<0&&Object.prototype.propertyIsEnumerable.call(C,F[B])&&(L[F[B]]=C[F[B]]);return L};function s(C){return C?C.toString().split("").reverse().map(function(I){var L=Number(I);return isNaN(L)?I:L}):[]}function u(C,I){for(var L=[],F=0;F<30;F++)L.push(d.createElement("p",{key:F.toString(),className:n()(I,{current:C===F})},F%10));return L}var h=function(I){var L=I.prefixCls,F=I.count,B=I.className,P=I.style,H=I.title,z=I.component,M=z===void 0?"sup":z,U=I.displayComponent,k=I.onAnimated,K=k===void 0?function(){}:k,j=e(I,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=d.useState(!0),W=o()(V,2),X=W[0],J=W[1],de=d.useState(F),G=o()(de,2),ae=G[0],Ae=G[1],me=d.useState(F),Me=o()(me,2),oe=Me[0],_e=Me[1],ee=d.useState(F),ne=o()(ee,2),Ge=ne[0],Ee=ne[1],ue=d.useContext(r.b),re=ue.getPrefixCls,ce=re("scroll-number",L);oe!==F&&(J(!0),_e(F)),d.useEffect(function(){Ee(ae);var se;return X&&(se=setTimeout(function(){J(!1),Ae(F),K()})),function(){se&&clearTimeout(se)}},[X,F,K]);var ke=function(ye,xe){var Ye=Math.abs(Number(ae)),pt=Math.abs(Number(Ge)),nt=Math.abs(s(ae)[xe]),Oe=Math.abs(s(pt)[xe]);return X?10+ye:Ye>pt?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);B<F.length;B++)I.indexOf(F[B])<0&&Object.prototype.propertyIsEnumerable.call(C,F[B])&&(L[F[B]]=C[F[B]]);return L},_=function(I){var L,F,B=I.prefixCls,P=I.scrollNumberPrefixCls,H=I.children,z=I.status,M=I.text,U=I.color,k=I.count,K=k===void 0?null:k,j=I.overflowCount,V=j===void 0?99:j,W=I.dot,X=W===void 0?!1:W,J=I.size,de=J===void 0?"default":J,G=I.title,ae=I.offset,Ae=I.style,me=I.className,Me=I.showZero,oe=Me===void 0?!1:Me,_e=T(I,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ee=d.useContext(r.b),ne=ee.getPrefixCls,Ge=ee.direction,Ee=ne("badge",B),ue=function(){var xt=K>V?"".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);++m<g;)f[m]=y[m+p];return f}R.exports=t},KxFI:function(R,N,t){},KxfA:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.isTypedArray,g=S.extend,f=S.assert,d=S.each,c=S.isObject,a=t("4NO4"),n=a.getDataItemValue,i=a.isDataItemOption,o=t("OELB"),r=o.parseDate,l=t("7G+c"),e=t("k9D9"),s=e.SOURCE_FORMAT_TYPED_ARRAY,u=e.SOURCE_FORMAT_ARRAY_ROWS,h=e.SOURCE_FORMAT_ORIGINAL,A=e.SOURCE_FORMAT_OBJECT_ROWS;function v(H,z){l.isInstance(H)||(H=l.seriesDataToSource(H)),this._source=H;var M=this._data=H.data,U=H.sourceFormat;U===s&&(this._offset=0,this._dimSize=z,this._data=M);var k=b[U===u?U+"_"+H.seriesLayoutBy:U];g(this,k)}var w=v.prototype;w.pure=!1,w.persistent=!0,w.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(H){return this._data[H+this._source.startIndex]},appendData:_},arrayRows_row:{pure:!0,count:function(){var H=this._data[0];return H?Math.max(0,H.length-this._source.startIndex):0},getItem:function(H){H+=this._source.startIndex;for(var z=[],M=this._data,U=0;U<M.length;U++){var k=M[U];z.push(k?k[H]:null)}return z},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:T,appendData:_},keyedColumns:{pure:!0,count:function(){var H=this._source.dimensionsDefine[0].name,z=this._data[H];return z?z.length:0},getItem:function(H){for(var z=[],M=this._source.dimensionsDefine,U=0;U<M.length;U++){var k=this._data[M[U].name];z.push(k?k[H]:null)}return z},appendData:function(H){var z=this._data;d(H,function(M,U){for(var k=z[U]||(z[U]=[]),K=0;K<(M||[]).length;K++)k.push(M[K])})}},original:{count:E,getItem:T,appendData:_},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(H,z){H=H-this._offset,z=z||[];for(var M=this._dimSize*H,U=0;U<this._dimSize;U++)z[U]=this._data[M+U];return z},appendData:function(H){this._data=H},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function T(H){return this._data[H]}function _(H){for(var z=0;z<H.length;z++)this._data.push(H[z])}var x={arrayRows:C,objectRows:function(H,z,M,U){return M!=null?H[U]:H},keyedColumns:C,original:function(H,z,M,U){var k=n(H);return M==null||!(k instanceof Array)?k:k[M]},typedArray:C};function C(H,z,M,U){return M!=null?H[M]:H}var I={arrayRows:L,objectRows:function(H,z,M,U){return F(H[z],this._dimensionInfos[z])},keyedColumns:L,original:function(H,z,M,U){var k=H&&(H.value==null?H:H.value);return!this._rawData.pure&&i(H)&&(this.hasItemOption=!0),F(k instanceof Array?k[U]:k,this._dimensionInfos[z])},typedArray:function(H,z,M,U){return H[U]}};function L(H,z,M,U){return F(H[U],this._dimensionInfos[z])}function F(H,z){var M=z&&z.type;if(M==="ordinal"){var U=z&&z.ordinalMeta;return U?U.parseAndCollect(H):H}return M==="time"&&typeof H!="number"&&H!=null&&H!=="-"&&(H=+r(H)),H==null||H===""?NaN:+H}function B(H,z,M){if(!H)return;var U=H.getRawDataItem(z);if(U==null)return;var k=H.getProvider().getSource().sourceFormat,K,j,V=H.getDimensionInfo(M);return V&&(K=V.name,j=V.index),x[k](U,z,j,K)}function P(H,z,M){if(!H)return;var U=H.getProvider().getSource().sourceFormat;if(U!==h&&U!==A)return;var k=H.getRawDataItem(z);if(U===h&&!c(k)&&(k=null),k)return k[M]}N.DefaultDataProvider=v,N.defaultDimValueGetters=I,N.retrieveRawValue=B,N.retrieveRawAttr=P},L0Ub:function(R,N,t){var y=t("bYtY"),p=y.each,S=y.createHashMap,m=y.assert,g=t("Tghj"),f=g.__DEV__,d=S(["tooltip","label","itemName","itemId","seriesName"]);function c(o){var r={},l=r.encode={},e=S(),s=[],u=[],h=r.userOutput={dimensionNames:o.dimensions.slice(),encode:{}};p(o.dimensions,function(E){var T=o.getDimensionInfo(E),_=T.coordDim;if(_){var x=T.coordDimIndex;a(l,_)[x]=E,T.isExtraCoord||(e.set(_,1),i(T.type)&&(s[0]=E),a(h.encode,_)[x]=T.index),T.defaultTooltip&&u.push(E)}d.each(function(C,I){var L=a(l,I),F=T.otherDims[I];F!=null&&F!==!1&&(L[F]=T.name)})});var A=[],v={};e.each(function(E,T){var _=l[T];v[T]=_[0],A=A.concat(_)}),r.dataDimsOnCoord=A,r.encodeFirstDimNotExtra=v;var w=l.label;w&&w.length&&(s=w.slice());var b=l.tooltip;return b&&b.length?u=b.slice():u.length||(u=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=u,r}function a(o,r){return o.hasOwnProperty(r)||(o[r]=[]),o[r]}function n(o){return o==="category"?"ordinal":o==="time"?"time":"float"}function i(o){return!(o==="ordinal"||o==="time")}N.OTHER_DIMENSIONS=d,N.summarizeDimensions=c,N.getDimensionTypeByAxis=n},L3Oj:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("HjIi");t("HM/N"),t("9eas"),t("eS4l"),t("y4/Y"),t("as94"),y.registerLayout(p.curry(S,"bar")),y.extendComponentView({type:"polar"})},L5E0:function(R,N){var t=["itemStyle","borderColor"];function y(p,S){var m=p.get("color");p.eachRawSeriesByType("boxplot",function(g){var f=m[g.seriesIndex%m.length],d=g.getData();d.setVisual({legendSymbol:"roundRect",color:g.get(t)||f}),p.isSeriesFiltered(g)||d.each(function(c){var a=d.getItemModel(c);d.setItemVisual(c,{color:a.get(t,!0)})})})}R.exports=y},LBfv:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=p.createHashMap,m=p.each;y.registerProcessor({getTargetSeries:function(g){var f=S();return g.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(c,a,n){var i=n.getAxisProxy(c.name,a);m(i.getTargetSeriesModels(),function(o){f.set(o.uid,o)})})}),f},modifyOutputEnd:!0,overallReset:function(g,f){g.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(c,a,n){n.getAxisProxy(c.name,a).reset(n,f)}),d.eachTargetAxis(function(c,a,n){n.getAxisProxy(c.name,a).filterData(n,f)})}),g.eachComponent("dataZoom",function(d){var c=d.findRepresentativeAxisProxy(),a=c.getDataPercentWindow(),n=c.getDataValueWindow();d.setCalculatedRange({start:a[0],end:a[1],startValue:n[0],endValue:n[1]})})}})},LCi9:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,w){if(!(v instanceof w))throw new TypeError("Cannot call a class as a function")}function p(v,w){for(var b=0;b<w.length;b++){var E=w[b];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}function S(v,w,b){return w&&p(v.prototype,w),b&&p(v,b),v}var m=0,g=1,f=2,d=4,c=8,a=16,n=32,i=64,o=127,r=50,l=90,e=250,s=1e3,u=1e3,h=50,A=function(){function v(){y(this,v),this._target=null,this._state=o,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return S(v,[{key:"attach",value:function(b){this.detach(),this._target=b,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(b){var E;b.stopPropagation(),b.preventDefault();switch(b.type){case"touchstart":E=this._touchStart;break;case"touchmove":E=this._touchMove;break;case"touchend":case"touchcancel":E=this._touchEnd;break}for(var T=0;T<b.changedTouches.length;T++){var _=b.changedTouches[T];E.call(this,_.identifier,_.clientX,_.clientY)}}},{key:"_touchStart",value:function(b,E,T){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(b);return}if(this._tracked.length>0&&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)return;if(this._state&=~(g|f|d|a),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~c),this._tracked.length!==2&&(this._state&=~(n|i)),this._tracked.length===2){var I=this._tracked.find(function(B){return B.id!==b}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>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<this._tracked.length;x++)this._tracked[x].active&&this._ignored.push(this._tracked[x].id);this._tracked=[],this._state=m,this._ignored.indexOf(b)!==-1&&this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&(this._state=o,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(g|f|d)&&this._tracked.some(function(b){return b.active}))}},{key:"_startLongpressTimeout",value:function(){var b=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return b._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=a,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var b=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return b._twoTouchTimeout()},h)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var b=this._getAverageMovement(),E=Math.abs(b.x),T=Math.abs(b.y),_=this._getAverageDistance(),x=Math.abs(Math.hypot(_.first.x,_.first.y)-Math.hypot(_.last.x,_.last.y));T<x&&E<x?this._state=i:this._state=n,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(b){var E={type:this._stateToGesture(this._state)},T=this._getPosition(),_=T.last;b==="gesturestart"&&(_=T.first);switch(this._state){case n:case i:_=T.first;break}if(E.clientX=_.x,E.clientY=_.y,this._state===i){var x=this._getAverageDistance();b==="gesturestart"?(E.magnitudeX=x.first.x,E.magnitudeY=x.first.y):(E.magnitudeX=x.last.x,E.magnitudeY=x.last.y)}else if(this._state===n)if(b==="gesturestart")E.magnitudeX=0,E.magnitudeY=0;else{var C=this._getAverageMovement();E.magnitudeX=C.x,E.magnitudeY=C.y}var I=new CustomEvent(b,{detail:E});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(b){switch(b){case g:return"onetap";case f:return"twotap";case d:return"threetap";case c:return"drag";case a:return"longpress";case n:return"twodrag";case i:return"pinch"}throw new Error("Unknown gesture state: "+b)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var b=this._tracked.length,E=0,T=0,_=0,x=0,C=0;C<this._tracked.length;C++)E+=this._tracked[C].firstX,T+=this._tracked[C].firstY,_+=this._tracked[C].lastX,x+=this._tracked[C].lastY;return{first:{x:E/b,y:T/b},last:{x:_/b,y:x/b}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var b,E;b=E=0;for(var T=this._tracked.length,_=0;_<this._tracked.length;_++)b+=this._tracked[_].lastX-this._tracked[_].firstX,E+=this._tracked[_].lastY-this._tracked[_].firstY;return{x:b/T,y:E/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var b=this._tracked[0],E=this._tracked[this._tracked.length-1],T=Math.abs(E.firstX-b.firstX),_=Math.abs(E.firstY-b.firstY),x=Math.abs(E.lastX-b.lastX),C=Math.abs(E.lastY-b.lastY);return{first:{x:T,y:_},last:{x,y:C}}}}]),v}();N.default=A},LPTA:function(R,N){var t=1;typeof window!="undefined"&&(t=Math.max(window.devicePixelRatio||1,1));var y=0,p=t;N.debugMode=y,N.devicePixelRatio=p},LPzL:function(R,N,t){var y=t("ProS");t("QzjZ"),t("vL6D"),t("xiyX"),t("y4/Y"),t("8Th4"),y.extendComponentView({type:"single"})},LSTS:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=function(){function o(r,l){for(var e=0;e<l.length;e++){var s=l[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,l,e){return l&&o(r.prototype,l),e&&o(r,e),r}}(),p=t("q1tI"),S=f(p),m=t("17x9"),g=f(m);function f(o){return o&&o.__esModule?o:{default:o}}function d(o,r){var l={};for(var e in o){if(r.indexOf(e)>=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<Number(this.props.threshold)&&e&&e.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,s){return e?this.calculateTopPosition(e)+(e.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,s=this.filterProps(this.props),u=s.children,h=s.element,A=s.hasMore,v=s.initialLoad,w=s.isReverse,b=s.loader,E=s.loadMore,T=s.pageStart,_=s.ref,x=s.threshold,C=s.useCapture,I=s.useWindow,L=s.getScrollParent,F=d(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(P){e.scrollComponent=P,_&&_(P)};var B=[u];return A&&(b?w?B.unshift(b):B.push(b):this.defaultLoader&&(w?B.unshift(this.defaultLoader):B.push(this.defaultLoader))),S.default.createElement(h,F,B)}}]),r}(p.Component);i.propTypes={children:g.default.node.isRequired,element:g.default.node,hasMore:g.default.bool,initialLoad:g.default.bool,isReverse:g.default.bool,loader:g.default.node,loadMore:g.default.func.isRequired,pageStart:g.default.number,ref:g.default.func,getScrollParent:g.default.func,threshold:g.default.number,useCapture:g.default.bool,useWindow:g.default.bool},i.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},N.default=i,R.exports=N.default},Lerx:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("Mds0"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},Llu2: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:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",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="DeliveredProcedureOutlined";var d=N.a=p.forwardRef(f)},Lo0S:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.initLogging=f,N.getLogging=d,N.Error=N.Warn=N.Info=N.Debug=void 0;var y="warn",p=function(){};N.Debug=p;var S=function(){};N.Info=S;var m=function(){};N.Warn=m;var g=function(){};N.Error=g;function f(c){if(typeof c=="undefined"?c=y:y=c,N.Debug=p=N.Info=S=N.Warn=m=N.Error=g=function(){},typeof window.console!="undefined")switch(c){case"debug":N.Debug=p=console.debug.bind(window.console);case"info":N.Info=S=console.info.bind(window.console);case"warn":N.Warn=m=console.warn.bind(window.console);case"error":N.Error=g=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+c+"'")}}function d(){return y}f()},LtfV: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:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",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="InboxOutlined";var d=N.a=p.forwardRef(f)},Lyp1: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:"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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-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="QuestionCircleOutlined";var d=N.a=p.forwardRef(f)},LzGr:function(R,N,t){var y=t("ProS"),p=t("rnVJ");t("EMyp"),t("8x+h"),t("wt3j"),t("uOyE"),t("/stD"),y.registerPreprocessor(p)},MBQ8:function(R,N,t){var y=t("T4UG"),p=t("MwEJ"),S=y.extend({type:"series.__base_bar__",getInitialData:function(m,g){return p(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var g=this.coordinateSystem;if(g){var f=g.dataToPoint(g.clampData(m)),d=this.getData(),c=d.getLayout("offset"),a=d.getLayout("size"),n=g.getBaseAxis().isHorizontal()?0:1;return f[n]+=c+a/2,f}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});R.exports=S},MEGo:function(R,N,t){var y=t("4fz+"),p=t("Dagg"),S=t("dqUG"),m=t("2fw6"),g=t("x6Kt"),f=t("rmlV"),d=t("yxFR"),c=t("y+Vt"),a=t("h7HQ"),n=t("1Jh7"),i=t("SKnc"),o=t("K2GJ"),r=t("Fofx"),l=t("NC18"),e=l.createFromString,s=t("bYtY"),u=s.isString,h=s.extend,A=s.defaults,v=s.trim,w=s.each,b=/[\s,]+/;function E(V){if(u(V)){var W=new DOMParser;V=W.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(V,W){W=W||{};var X=E(V);if(!X)throw new Error("Illegal svg");var J=new y;this._root=J;var de=X.getAttribute("viewBox")||"",G=parseFloat(X.getAttribute("width")||W.width),ae=parseFloat(X.getAttribute("height")||W.height);isNaN(G)&&(G=null),isNaN(ae)&&(ae=null),B(X,J,null,!0);for(var Ae=X.firstChild;Ae;)this._parseNode(Ae,J),Ae=Ae.nextSibling;var me,Me;if(de){var oe=v(de).split(b);oe.length>=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;J<W.length;J+=2){var de=parseFloat(W[J]),G=parseFloat(W[J+1]);X.push([de,G])}return X}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function B(V,W,X,J){var de=W.__inheritedStyle||{},G=W.type==="text";if(V.nodeType===1&&(M(V,W),h(de,k(V)),!J)){for(var ae in F)if(F.hasOwnProperty(ae)){var Ae=V.getAttribute(ae);Ae!=null&&(de[F[ae]]=Ae)}}var me=G?"textFill":"fill",Me=G?"textStroke":"stroke";W.style=W.style||new o;var oe=W.style;de.fill!=null&&oe.set(me,H(de.fill,X)),de.stroke!=null&&oe.set(Me,H(de.stroke,X)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(_e){var ee=_e==="lineWidth"&&G?"textStrokeWidth":_e;de[_e]!=null&&oe.set(ee,parseFloat(de[_e]))}),(!de.textBaseline||de.textBaseline==="auto")&&(de.textBaseline="alphabetic"),de.textBaseline==="alphabetic"&&(de.textBaseline="bottom"),de.textAlign==="start"&&(de.textAlign="left"),de.textAlign==="end"&&(de.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(_e){de[_e]!=null&&oe.set(_e,de[_e])}),de.lineDash&&(W.style.lineDash=v(de.lineDash).split(b)),oe[Me]&&oe[Me]!=="none"&&(W[Me]=!0),W.__inheritedStyle=de}var P=/url\(\s*#(.*?)\)/;function H(V,W){var X=W&&V&&V.match(P);if(X){var J=v(X[1]),de=W[J];return de}return V}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function M(V,W){var X=V.getAttribute("transform");if(X){X=X.replace(/,/g," ");var J=null,de=[];X.replace(z,function(me,Me,oe){de.push(Me,oe)});for(var G=de.length-1;G>0;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<arguments.length;b++)i(Object(arguments[b]),function(E,T){h[T]=E});return h}}function d(){if(Object.create)return function(A,v,w,b){var E=n(arguments,1);return p.apply(this,[Object.create(A)].concat(E))};var u=function(){};return function(A,v,w,b){var E=n(arguments,1);return u.prototype=A,p.apply(this,[new u].concat(E))}}function c(){return String.prototype.trim?function(h){return String.prototype.trim.call(h)}:function(h){return h.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function a(u,h){return function(){return h.apply(u,Array.prototype.slice.call(arguments,0))}}function n(u,h){return Array.prototype.slice.call(u,h||0)}function i(u,h){r(u,function(A,v){return h(A,v),!1})}function o(u,h){var A=l(u)?[]:{};return r(u,function(v,w){return A[w]=h(v,w),!1}),A}function r(u,h){if(l(u)){for(var A=0;A<u.length;A++)if(h(u[A],A))return u[A]}else for(var v in u)if(u.hasOwnProperty(v)&&h(u[v],v))return u[v]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function e(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,t("yLpj"))},MH26:function(R,N,t){var y=t("bYtY"),p=t("YXkt"),S=t("OELB"),m=t("kj2x"),g=t("c8qY"),f=t("iPDy"),d=t("7hqr"),c=d.getStackedDimension,a=function(s,u,h,A){var v=s.getData(),w=A.type;if(!y.isArray(A)&&(w==="min"||w==="max"||w==="average"||w==="median"||A.xAxis!=null||A.yAxis!=null)){var b,E;if(A.yAxis!=null||A.xAxis!=null)b=u.getAxis(A.yAxis!=null?"y":"x"),E=y.retrieve(A.yAxis,A.xAxis);else{var T=m.getAxisInfo(A,v,u,s);b=T.valueAxis;var _=c(v,T.valueDataDim);E=m.numCalculate(v,_,w)}var x=b.dim==="x"?0:1,C=1-x,I=y.clone(A),L={};I.type=null,I.coord=[],L.coord=[],I.coord[C]=-Infinity,L.coord[C]=Infinity;var F=h.get("precision");F>=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]<c[0]&&(a[0]=c[0]),a[1]<c[0]&&(a[1]=c[0]),a},getValueState:function(c){var a=this.option.range,n=this.getExtent();return(a[0]<=n[0]||a[0]<=c)&&(a[1]>=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<s&&(!n.length||a[l]<=n[0]);l++)a[l]<n[r]&&o(a[l],"outOfRange");for(var u=1;r<e;r++,u=0)u&&i.length&&o(n[r],"outOfRange"),o(n[r],"inRange");for(var u=1;l<s;l++)(!n.length||n[n.length-1]<a[l])&&(u&&(i.length&&o(i[i.length-1].value,"outOfRange"),u=0),o(a[l],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function f(c,a,n){if(n[0]===n[1])return n.slice();for(var i=200,o=(n[1]-n[0])/i,r=n[0],l=[],e=0;e<=i&&r<n[1];e++)l.push(r),r+=o;return l.push(n[1]),l}var d=g;R.exports=d},MHtr:function(R,N,t){var y=t("bYtY");function p(m,g){var f=this.getAxis(),d=g instanceof Array?g[0]:g,c=(m instanceof Array?m[0]:m)/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(d-c)-f.dataToCoord(d+c))}function S(m){var g=m.getRect();return{coordSys:{type:"singleAxis",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(f){return m.dataToPoint(f)},size:y.bind(p,m)}}}R.exports=S},MJZm:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("q1tI"),f=t("fAei"),d=t("TSYQ"),c=t.n(d),a=t("RIqP"),n=t.n(a),i=t("J4zp"),o=t.n(i),r=t("sEfC"),l=t.n(r),e=t("OZM5"),s=t("815F"),u=t("vk+C"),h=t.n(u),A=t("Vy0f"),v=t.n(A),w=t("kGiB"),b=t.n(w),E=t("H84U"),T;(function(j){j[j.None=0]="None",j[j.Start=1]="Start",j[j.End=2]="End"})(T||(T={}));function _(j,V){function W(X){var J=X.key,de=X.children;V(J,X)!==!1&&_(de||[],V)}j.forEach(W)}function x(j){var V=j.treeData,W=j.expandedKeys,X=j.startKey,J=j.endKey,de=[],G=T.None;if(X&&X===J)return[X];if(!X||!J)return[];function ae(Ae){return Ae===X||Ae===J}return _(V,function(Ae){if(G===T.End)return!1;if(ae(Ae)){if(de.push(Ae),G===T.None)G=T.Start;else if(G===T.Start)return G=T.End,!1}else G===T.Start&&de.push(Ae);return!(W.indexOf(Ae)===-1)}),de}function C(j,V){var W=n()(V),X=[];return _(j,function(J,de){var G=W.indexOf(J);return G!==-1&&(X.push(de),W.splice(G,1)),!!W.length}),X}var I=function(j,V){var W={};for(var X in j)Object.prototype.hasOwnProperty.call(j,X)&&V.indexOf(X)<0&&(W[X]=j[X]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,X=Object.getOwnPropertySymbols(j);J<X.length;J++)V.indexOf(X[J])<0&&Object.prototype.propertyIsEnumerable.call(j,X[J])&&(W[X[J]]=j[X[J]]);return W};function L(j){var V=j.isLeaf,W=j.expanded;return V?g.createElement(h.a,null):W?g.createElement(v.a,null):g.createElement(b.a,null)}function F(j){var V=j.treeData,W=j.children;return V||Object(s.c)(W)}var B=function(V,W){var X=V.defaultExpandAll,J=V.defaultExpandParent,de=V.defaultExpandedKeys,G=I(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ae=g.useRef(),Ae=g.useRef(),me=g.createRef();g.useImperativeHandle(W,function(){return me.current});var Me=function(){var xt=Object(s.a)(F(G)),Ot=xt.keyEntities,Mt;return X?Mt=Object.keys(Ot):J?Mt=Object(e.e)(G.expandedKeys||de,Ot):Mt=G.expandedKeys||de,Mt},oe=g.useState(G.selectedKeys||G.defaultSelectedKeys||[]),_e=o()(oe,2),ee=_e[0],ne=_e[1],Ge=g.useState(Me()),Ee=o()(Ge,2),ue=Ee[0],re=Ee[1];g.useEffect(function(){"selectedKeys"in G&&ne(G.selectedKeys)},[G.selectedKeys]),g.useEffect(function(){"expandedKeys"in G&&re(G.expandedKeys)},[G.expandedKeys]);var ce=function(xt,Ot){var Mt=Ot.isLeaf;if(Mt||xt.shiftKey||xt.metaKey||xt.ctrlKey)return;me.current.onNodeExpand(xt,Ot)},ke=l()(ce,200,{leading:!0}),Te=function(xt,Ot){return"expandedKeys"in G||re(xt),G.onExpand?G.onExpand(xt,Ot):void 0},Ke=function(xt,Ot){var Mt=G.expandAction;Mt==="click"&&ke(xt,Ot),G.onClick&&G.onClick(xt,Ot)},Ie=function(xt,Ot){var Mt=G.expandAction;Mt==="doubleClick"&&ke(xt,Ot),G.onDoubleClick&&G.onDoubleClick(xt,Ot)},se=function(xt,Ot){var Mt=G.multiple,Gt=Ot.node,$e=Ot.nativeEvent,pe=Gt.key,q=pe===void 0?"":pe,bt=F(G),qe=m()(m()({},Ot),{selected:!0}),le=$e.ctrlKey||$e.metaKey,Nt=$e.shiftKey,tr;Mt&&le?(tr=xt,ae.current=q,Ae.current=tr,qe.selectedNodes=C(bt,tr)):Mt&&Nt?(tr=Array.from(new Set([].concat(n()(Ae.current||[]),n()(x({treeData:bt,expandedKeys:ue,startKey:q,endKey:ae.current}))))),qe.selectedNodes=C(bt,tr)):(tr=[q],ae.current=q,Ae.current=tr,qe.selectedNodes=C(bt,tr)),G.onSelect&&G.onSelect(tr,qe),"selectedKeys"in G||ne(tr)},ye=g.useContext(E.b),xe=ye.getPrefixCls,Ye=ye.direction,pt=G.prefixCls,nt=G.className,Oe=I(G,["prefixCls","className"]),vt=xe("tree",pt),Ze=c()("".concat(vt,"-directory"),nt,p()({},"".concat(vt,"-directory-rtl"),Ye==="rtl"));return g.createElement(k,m()({icon:L,ref:me,blockNode:!0},Oe,{prefixCls:vt,className:Ze,expandedKeys:ue,selectedKeys:ee,onSelect:se,onClick:Ke,onDoubleClick:Ie,onExpand:Te}))},P=g.forwardRef(B);P.displayName="DirectoryTree",P.defaultProps={showIcon:!0,expandAction:"click"};var H=P,z=t("EXcs"),M=t("2jpz"),U=g.forwardRef(function(j,V){var W,X=g.useContext(E.b),J=X.getPrefixCls,de=X.direction,G=X.virtual,ae=j.prefixCls,Ae=j.className,me=j.showIcon,Me=j.showLine,oe=j.switcherIcon,_e=j.blockNode,ee=j.children,ne=j.checkable,Ge=m()(m()({},j),{showLine:Boolean(Me)}),Ee=J("tree",ae);return g.createElement(f.b,m()({itemHeight:20,ref:V,virtual:G},Ge,{prefixCls:Ee,className:c()(Ae,(W={},p()(W,"".concat(Ee,"-icon-hide"),!me),p()(W,"".concat(Ee,"-block-node"),_e),p()(W,"".concat(Ee,"-rtl"),de==="rtl"),W)),checkable:ne&&g.createElement("span",{className:"".concat(Ee,"-checkbox-inner")}),switcherIcon:function(re){return Object(M.a)(Ee,oe,Me,re)}}),ee)});U.TreeNode=f.a,U.DirectoryTree=H,U.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},z.a),{motionAppear:!1}),blockNode:!1};var k=U,K=N.a=k},MKOG:function(R,N,t){var y=t("bYtY"),p=t("YH21"),S=p.Dispatcher,m=t("mLcG"),g=t("Bq2U"),f=function(a){a=a||{},this.stage=a.stage||{},this.onframe=a.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,S.call(this)};f.prototype={constructor:f,addClip:function(a){this._clips.push(a)},addAnimator:function(a){a.animation=this;for(var n=a.getClips(),i=0;i<n.length;i++)this.addClip(n[i])},removeClip:function(a){var n=y.indexOf(this._clips,a);n>=0&&this._clips.splice(n,1)},removeAnimator:function(a){for(var n=a.getClips(),i=0;i<n.length;i++)this.removeClip(n[i]);a.animation=null},_update:function(){for(var a=new Date().getTime()-this._pausedTime,n=a-this._time,i=this._clips,o=i.length,r=[],l=[],e=0;e<o;e++){var s=i[e],u=s.step(a,n);u&&(r.push(u),l.push(s))}for(var e=0;e<o;)i[e]._needsRemove?(i[e]=i[o-1],i.pop(),o--):e++;o=r.length;for(var e=0;e<o;e++)l[e].fire(r[e]);this._time=a,this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update()},_startLoop:function(){var a=this;this._running=!0;function n(){a._running&&(m(n),!a._paused&&a._update())}m(n)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(a,n){n=n||{};var i=new g(a,n.loop,n.getter,n.setter);return this.addAnimator(i),i}},y.mixin(f,S);var d=f;R.exports=d},MRoa:function(R,N,t){var y=t("ProS");t("0Bwj"),t("W2nI"),t("vcCh");var p=t("gawk"),S=t("Dg8C");y.registerLayout(p),y.registerVisual(S)},MT78:function(R,N,t){var y=t("ProS");(function(){for(var S in y){if(y==null||!y.hasOwnProperty(S)||S==="default"||S==="__esModule")return;N[S]=y[S]}})();var p=t("txkQ");(function(){for(var S in p){if(p==null||!p.hasOwnProperty(S)||S==="default"||S==="__esModule")return;N[S]=p[S]}})(),t("A1Ka"),t("75ce"),t("lLGD"),t("wDdD"),t("Fa/5"),t("jett"),t("Z1wy"),t("75ev"),t("2uGb"),t("I+77"),t("B+YJ"),t("pLH3"),t("CBdT"),t("MRoa"),t("+lIL"),t("CF2D"),t("ERHi"),t("p+If"),t("XOKv"),t("qt/9"),t("bBL8"),t("1xaR"),t("4Feb"),t("zRKj"),t("L3Oj"),t("0HBW"),t("LPzL"),t("8waO"),t("k5C7"),t("f1nB"),t("sRwP"),t("AH3D"),t("y4/Y"),t("LzGr"),t("Ynxi"),t("7pVf"),t("2w7y"),t("laiN"),t("fjKi"),t("C0tN"),t("0o9m"),t("Cm0C"),t("f3JH"),t("5NHt"),t("VFCP"),t("dBmv"),t("KamJ"),t("8XDt"),t("juDX")},MXD1:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("Kvyg"),m=t.n(S)},MZdM:function(R,N,t){"use strict";function y(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(e){return typeof e}:y=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(r)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=c(t("Lo0S")),S=f(t("N/zr")),m=t("GdRQ"),g=t("GQ8N");function f(r){return r&&r.__esModule?r:{default:r}}function d(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return d=function(){return r},r}function c(r){if(r&&r.__esModule)return r;if(r===null||y(r)!=="object"&&typeof r!="function")return{default:r};var l=d();if(l&&l.has(r))return l.get(r);var e={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var h=s?Object.getOwnPropertyDescriptor(r,u):null;h&&(h.get||h.set)?Object.defineProperty(e,u,h):e[u]=r[u]}return e.default=r,l&&l.set(r,e),e}function a(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function n(r,l){for(var e=0;e<l.length;e++){var s=l[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function i(r,l,e){return l&&n(r.prototype,l),e&&n(r,e),r}var o=function(){function r(l){if(a(this,r),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,p.Debug(">> 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){e<this._damageBounds.left&&(this._damageBounds.left=e),s<this._damageBounds.top&&(this._damageBounds.top=s),e+u>this._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<u*h*4;T+=4)E[T]=v,E[T+1]=w,E[T+2]=b,E[T+3]=255}},{key:"subTile",value:function(e,s,u,h,A){for(var v=A[2],w=A[1],b=A[0],E=e+u,T=s+h,_=this._tile.data,x=this._tile.width,C=s;C<T;C++)for(var I=e;I<E;I++){var L=(I+C*x)*4;_[L]=v,_[L+1]=w,_[L+2]=b,_[L+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(e,s,u,h,A,v,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blit",data:b,x:e,y:s,width:u,height:h})}else this._bgrxImageData(e,s,u,h,A,v)}},{key:"blitRgbImage",value:function(e,s,u,h,A,v,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*3);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgb",data:b,x:e,y:s,width:u,height:h})}else this._rgbImageData(e,s,u,h,A,v)}},{key:"blitRgbxImage",value:function(e,s,u,h,A,v,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(A.buffer,0,b.length)),this._renderQPush({type:"blitRgbx",data:b,x:e,y:s,width:u,height:h})}else this._rgbxImageData(e,s,u,h,A,v)}},{key:"drawImage",value:function(e,s,u){this._drawCtx.drawImage(e,s,u),this._damage(s,u,e.width,e.height)}},{key:"autoscale",value:function(e,s){var u;if(e===0||s===0)u=0;else{var h=this._viewportLoc,A=e/s,v=h.w/h.h;v>=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;E<u*h*4;E+=4,T+=3)b[E]=A[T],b[E+1]=A[T+1],b[E+2]=A[T+2],b[E+3]=255;this._drawCtx.putImageData(w,e,s),this._damage(e,s,w.width,w.height)}},{key:"_bgrxImageData",value:function(e,s,u,h,A,v){for(var w=this._drawCtx.createImageData(u,h),b=w.data,E=0,T=v;E<u*h*4;E+=4,T+=4)b[E]=A[T+2],b[E+1]=A[T+1],b[E+2]=A[T],b[E+3]=255;this._drawCtx.putImageData(w,e,s),this._damage(e,s,w.width,w.height)}},{key:"_rgbxImageData",value:function(e,s,u,h,A,v){var w;m.supportsImageMetadata?w=new ImageData(new Uint8ClampedArray(A.buffer,A.byteOffset,u*h*4),u,h):(w=this._drawCtx.createImageData(u,h),w.data.set(new Uint8ClampedArray(A.buffer,A.byteOffset,u*h*4))),this._drawCtx.putImageData(w,e,s),this._damage(e,s,w.width,w.height)}},{key:"_renderQPush",value:function(e){this._renderQ.push(e),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var e=!0;e&&this._renderQ.length>0;){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<m.length;g++)for(var f=0;f<m[g].length;f++)m[g][f][0]/=10.5,m[g][f][1]/=-10.5/.75,m[g][f][0]+=S[0],m[g][f][1]+=S[1];function d(c,a){c==="china"&&a.push(new p("\u5357\u6D77\u8BF8\u5C9B",y.map(m,function(n){return{type:"polygon",exterior:n}}),S))}R.exports=d},Mmt2:function(R,N,t){"use strict";function y(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(r){return typeof r}:y=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},y(i)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(t("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return S=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||y(i)!=="object"&&typeof i!="function")return{default:i};var o=S();if(o&&o.has(i))return o.get(i);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var s=l?Object.getOwnPropertyDescriptor(i,e):null;s&&(s.get||s.set)?Object.defineProperty(r,e,s):r[e]=i[e]}return r.default=i,o&&o.set(i,r),r}function g(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function f(i,o){for(var r=0;r<o.length;r++){var l=o[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}function d(i,o,r){return o&&f(i.prototype,o),r&&f(i,r),i}var c=!1,a=40*1024*1024,n=function(){function i(){g(this,i),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return d(i,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(r){this._rQi+=r}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(r){for(var l=0,e=r-1;e>=0;e--)l+=this._rQ[this._rQi++]<<e*8;return l}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var l="",e=0;e<r;e+=4096){var s=this.rQshiftBytes(Math.min(4096,r-e));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(r){return typeof r=="undefined"&&(r=this.rQlen),this._rQi+=r,new Uint8Array(this._rQ.buffer,this._rQi-r,r)}},{key:"rQshiftTo",value:function(r,l){l===void 0&&(l=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(r){var l=arguments.length>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.rQlen<l){if(e){if(this._rQi<e)throw new Error("rQwait cannot backup "+e+" bytes");this._rQi-=e}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&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._rQbufferSize<l;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>a&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+a+" bytes, and the new message could not fit");if(e){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else c?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(r){var l=new Uint8Array(r);l.length>this._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;E<b.length&&b[E]==null;)E++;return b[E]}var w=h;R.exports=w},Mylv:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS"),m=t("oVpE"),g=m.createSymbol,f=t("OELB"),d=f.parsePercent,c=f.isNumeric,a=t("56rv"),n=a.setLabel,i=["itemStyle","borderWidth"],o=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new S.Circle,l=y.extendChartView({type:"pictorialBar",render:function(j,V,W){var X=this.group,J=j.getData(),de=this._data,G=j.coordinateSystem,ae=G.getBaseAxis(),Ae=!!ae.isHorizontal(),me=G.grid.getRect(),Me={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:j,coordSys:G,coordSysExtent:[[me.x,me.x+me.width],[me.y,me.y+me.height]],isHorizontal:Ae,valueDim:o[+Ae],categoryDim:o[1-Ae]};return J.diff(de).add(function(oe){if(!J.hasValue(oe))return;var _e=x(J,oe),ee=e(J,oe,_e,Me),ne=F(J,Me,ee);J.setItemGraphicEl(oe,ne),X.add(ne),U(ne,Me,ee)}).update(function(oe,_e){var ee=de.getItemGraphicEl(_e);if(!J.hasValue(oe)){X.remove(ee);return}var ne=x(J,oe),Ge=e(J,oe,ne,Me),Ee=H(J,Ge);ee&&Ee!==ee.__pictorialShapeStr&&(X.remove(ee),J.setItemGraphicEl(oe,null),ee=null),ee?B(ee,Me,Ge):ee=F(J,Me,Ge,!0),J.setItemGraphicEl(oe,ee),ee.__pictorialSymbolMeta=Ge,X.add(ee),U(ee,Me,Ge)}).remove(function(oe){var _e=de.getItemGraphicEl(oe);_e&&P(de,oe,_e.__pictorialSymbolMeta.animationModel,_e)}).execute(),this._data=J,this.group},dispose:p.noop,remove:function(j,V){var W=this.group,X=this._data;j.get("animation")?X&&X.eachItemGraphicEl(function(J){P(X,J.dataIndex,j,J)}):W.removeAll()}});function e(j,V,W,X){var J=j.getItemLayout(V),de=W.get("symbolRepeat"),G=W.get("symbolClip"),ae=W.get("symbolPosition")||"start",Ae=W.get("symbolRotate"),me=(Ae||0)*Math.PI/180||0,Me=W.get("symbolPatternSize")||2,oe=W.isAnimationEnabled(),_e={dataIndex:V,layout:J,itemModel:W,symbolType:j.getItemVisual(V,"symbol")||"circle",color:j.getItemVisual(V,"color"),symbolClip:G,symbolRepeat:de,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Me,rotation:me,animationModel:oe?W:null,hoverAnimation:oe&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};s(W,de,J,X,_e),h(j,V,J,de,G,_e.boundingLength,_e.pxSign,Me,X,_e),A(W,_e.symbolScale,me,X,_e);var ee=_e.symbolSize,ne=W.get("symbolOffset");return p.isArray(ne)&&(ne=[d(ne[0],ee[0]),d(ne[1],ee[1])]),v(W,ee,J,de,G,ne,ae,_e.valueLineWidth,_e.boundingLength,_e.repeatCutLength,X,_e),_e}function s(j,V,W,X,J){var de=X.valueDim,G=j.get("symbolBoundingData"),ae=X.coordSys.getOtherAxis(X.coordSys.getBaseAxis()),Ae=ae.toGlobalCoord(ae.dataToCoord(0)),me=1-+(W[de.wh]<=0),Me;if(p.isArray(G)){var oe=[u(ae,G[0])-Ae,u(ae,G[1])-Ae];oe[1]<oe[0]&&oe.reverse(),Me=oe[me]}else G!=null?Me=u(ae,G)-Ae:V?Me=X.coordSysExtent[de.index][me]-Ae:Me=W[de.wh];J.boundingLength=Me,V&&(J.repeatCutLength=W[de.wh]),J.pxSign=Me>0?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,Me<me?M(ue,null,ne(Me),W,X):M(ue,null,{scale:[0,0]},W,X,function(){J.remove(ue)}),L(ue,W),Me++});Me<me;Me++){var _e=w(W);_e.__pictorialAnimationIndex=Me,_e.__pictorialRepeatTimes=me,J.add(_e);var ee=ne(Me);M(_e,{position:ee.position,scale:[0,0]},{scale:ee.scale,rotation:ee.rotation},W,X),_e.on("mouseover",Ge).on("mouseout",Ee),L(_e,W)}function ne(ue){var re=ae.slice(),ce=W.pxSign,ke=ue;return(W.symbolRepeatDirection==="start"?ce>0: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<a-2;i+=3)c+=this.toBase64Table[d[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<d.length;e++){var s=this.toBinaryTable[d.charCodeAt(e)&127],u=d.charAt(e)===this.base64Pad;if(s===-1){p.Error("Illegal character code "+d.charCodeAt(e)+" at position "+e);continue}r=r<<6|s,o+=6,o>=8&&(o-=8,u||(i[l++]=r>>o&255),r&=(1<<o)-1)}if(o){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return i}};N.default=g},N5BQ:function(R,N,t){var y=t("OlYY"),p=y.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),S=p;R.exports=S},NA0q:function(R,N,t){var y=t("bYtY"),p=t("6Ic6"),S=t("TkdX"),m=t("gPAo"),g=t("7aKB"),f=g.windowOpen,d="sunburstRootToNode",c=p.extend({type:"sunburst",init:function(){},render:function(n,i,o,r){var l=this;this.seriesModel=n,this.api=o,this.ecModel=i;var e=n.getData(),s=e.tree.root,u=n.getViewRoot(),h=this.group,A=n.get("renderLabelForZeroData"),v=[];u.eachNode(function(I){v.push(I)});var w=this._oldChildren||[];if(T(v,w),C(s,u),r&&r.highlight&&r.highlight.piece){var b=n.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(b)}else if(r&&r.unhighlight){var E=this.virtualPiece;!E&&s.children.length&&(E=s.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=v;function T(I,L){if(I.length===0&&L.length===0)return;new m(L,I,F,F).add(B).update(B).remove(y.curry(B,null)).execute();function F(P){return P.getId()}function B(P,H){var z=P==null?null:I[P],M=H==null?null:L[H];_(z,M)}}function _(I,L){if(!A&&I&&!I.getValue()&&(I=null),I!==s&&L!==s){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",n,i),e.setItemGraphicEl(I.dataIndex,L.piece)):x(L);else if(I){var F=new S(I,n,i);h.add(F),e.setItemGraphicEl(I.dataIndex,F)}}}function x(I){if(!I)return;I.piece&&(h.remove(I.piece),I.piece=null)}function C(I,L){if(L.depth>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]<v[1]*w[0]?-1:1)*Math.acos(a(v,w))};function i(A,v,w,b,E,T,_,x,C,I,L){var F=C*(d/180),B=f(F)*(A-w)/2+g(F)*(v-b)/2,P=-1*g(F)*(A-w)/2+f(F)*(v-b)/2,H=B*B/(_*_)+P*P/(x*x);H>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<C.length;I++){for(var L=C[I],F=L.charAt(0),B,P=L.match(r)||[],H=P.length,z=0;z<H;z++)P[z]=parseFloat(P[z]);for(var M=0;M<H;){var U,k,K,j,V,W,X,J=v,de=w;switch(F){case"l":v+=P[M++],w+=P[M++],B=x.L,_.addData(B,v,w);break;case"L":v=P[M++],w=P[M++],B=x.L,_.addData(B,v,w);break;case"m":v+=P[M++],w+=P[M++],B=x.M,_.addData(B,v,w),b=v,E=w,F="l";break;case"M":v=P[M++],w=P[M++],B=x.M,_.addData(B,v,w),b=v,E=w,F="L";break;case"h":v+=P[M++],B=x.L,_.addData(B,v,w);break;case"H":v=P[M++],B=x.L,_.addData(B,v,w);break;case"v":w+=P[M++],B=x.L,_.addData(B,v,w);break;case"V":w=P[M++],B=x.L,_.addData(B,v,w);break;case"C":B=x.C,_.addData(B,P[M++],P[M++],P[M++],P[M++],P[M++],P[M++]),v=P[M-2],w=P[M-1];break;case"c":B=x.C,_.addData(B,P[M++]+v,P[M++]+w,P[M++]+v,P[M++]+w,P[M++]+v,P[M++]+w),v+=P[M-2],w+=P[M-1];break;case"S":U=v,k=w;var G=_.len(),ae=_.data;T===x.C&&(U+=v-ae[G-4],k+=w-ae[G-3]),B=x.C,J=P[M++],de=P[M++],v=P[M++],w=P[M++],_.addData(B,U,k,J,de,v,w);break;case"s":U=v,k=w;var G=_.len(),ae=_.data;T===x.C&&(U+=v-ae[G-4],k+=w-ae[G-3]),B=x.C,J=v+P[M++],de=w+P[M++],v+=P[M++],w+=P[M++],_.addData(B,U,k,J,de,v,w);break;case"Q":J=P[M++],de=P[M++],v=P[M++],w=P[M++],B=x.Q,_.addData(B,J,de,v,w);break;case"q":J=P[M++]+v,de=P[M++]+w,v+=P[M++],w+=P[M++],B=x.Q,_.addData(B,J,de,v,w);break;case"T":U=v,k=w;var G=_.len(),ae=_.data;T===x.Q&&(U+=v-ae[G-4],k+=w-ae[G-3]),v=P[M++],w=P[M++],B=x.Q,_.addData(B,U,k,v,w);break;case"t":U=v,k=w;var G=_.len(),ae=_.data;T===x.Q&&(U+=v-ae[G-4],k+=w-ae[G-3]),v+=P[M++],w+=P[M++],B=x.Q,_.addData(B,U,k,v,w);break;case"A":K=P[M++],j=P[M++],V=P[M++],W=P[M++],X=P[M++],J=v,de=w,v=P[M++],w=P[M++],B=x.A,i(J,de,v,w,W,X,K,j,V,B,_);break;case"a":K=P[M++],j=P[M++],V=P[M++],W=P[M++],X=P[M++],J=v,de=w,v+=P[M++],w+=P[M++],B=x.A,i(J,de,v,w,W,X,K,j,V,B,_);break}}(F==="z"||F==="Z")&&(B=x.Z,_.addData(B),v=b,w=E),T=B}return _.toStatic(),_}function e(A,v){var w=l(A);return v=v||{},v.buildPath=function(b){if(b.setData){b.setData(w.data);var E=b.getContext();E&&b.rebuildPath(E)}else{var E=b;w.rebuildPath(E)}},v.applyTransform=function(b){S(w,b),this.dirty(!0)},v}function s(A,v){return new y(e(A,v))}function u(A,v){return y.extend(e(A,v))}function h(A,v){for(var w=[],b=A.length,E=0;E<b;E++){var T=A[E];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),w.push(T.path)}var _=new y(v);return _.createPathProxy(),_.buildPath=function(x){x.appendPath(w);var C=x.getContext();C&&x.rebuildPath(C)},_}N.createFromString=s,N.extendFromString=u,N.mergePath=h},NH9N:function(R,N,t){var y=t("bYtY"),p=t("mFDi"),S=t("Fofx"),m=t("IwbS"),g=t("+TT/"),f=t("kzvK"),d=t("CMP+"),c=t("oVpE"),a=c.createSymbol,n=t("aX7z"),i=t("OELB"),o=t("7aKB"),r=o.encodeHTML,l=y.bind,e=y.each,s=Math.PI,u=f.extend({type:"timeline.slider",init:function(b,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(b,E,T,_){if(this.model=b,this.api=T,this.ecModel=E,this.group.removeAll(),b.get("show",!0)){var x=this._layout(b,T),C=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(x,b);b.formatTooltip=function(F){return r(L.scale.getLabel(F))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](x,C,L,b)},this),this._renderAxisLabel(x,I,L,b),this._position(x,b)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(b,E){var T=b.get("label.position"),_=b.get("orient"),x=h(b,E);T==null||T==="auto"?T=_==="horizontal"?x.y+x.height/2<E.getHeight()/2?"-":"+":x.x+x.width/2<E.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[_][T]);var C={horizontal:"center",vertical:T>=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<x[0]&&(T=x[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var C=this._findNearestTick(T),I=this.model;(E||C!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(b,this),this.model.get("playInterval")));function b(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(b){var E=this._mainGroup.getLocalTransform();return m.applyTransform(b,E,!0)},_findNearestTick:function(b){var E=this.model.getData(),T=Infinity,_,x=this._axis;return E.each(["value"],function(C,I){var L=x.dataToCoord(C),F=Math.abs(L-b);F<T&&(T=F,_=I)}),_},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(b){var E=this.model.getCurrentIndex();b==="+"?b=E+1:b==="-"&&(b=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:b,from:this.uid})}});function h(b,E){return g.getLayoutRect(b.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},b.get("padding"))}function A(b,E,T,_){var x=m.makePath(b.get(E).replace(/^path:\/\//,""),y.clone(_||{}),new p(T[0],T[1],T[2],T[3]),"center");return x}function v(b,E,T,_,x,C){var I=E.get("color");if(x)x.setColor(I),T.add(x),C&&C.onUpdate(x);else{var L=b.get("symbol");x=a(L,-1,-1,2,2,I),x.setStyle("strokeNoScale",!0),T.add(x),C&&C.onCreate(x)}var F=E.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(F),_=y.merge({rectHover:!0,z2:100},_,!0);var B=b.get("symbolSize");B=B instanceof Array?B.slice():[+B,+B],B[0]/=2,B[1]/=2,_.scale=B;var P=b.get("symbolOffset");if(P){var H=_.position=_.position||[0,0];H[0]+=i.parsePercent(P[0],B[0]),H[1]+=i.parsePercent(P[1],B[1])}var z=b.get("symbolRotate");return _.rotation=(z||0)*Math.PI/180||0,x.attr(_),x.updateTransform(),x}function w(b,E,T,_,x){if(b.dragging)return;var C=_.getModel("checkpointStyle"),I=T.dataToCoord(_.getData().get(["value"],E));x||!C.get("animation",!0)?b.attr({position:[I,0]}):(b.stopAnimation(!0),b.animateTo({position:[I,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}R.exports=u},NJEC:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("J4zp"),m=t.n(S),g=t("q1tI"),f=t.n(g),d=t("TSYQ"),c=t.n(d),a=t("sKbD"),n=t.n(a),i=t("4IlW"),o=t("3S7+"),r=t("2/Rp"),l=t("zvFY"),e=t("YMnH"),s=t("ZvpZ"),u=t("H84U"),h=t("bogI"),A=t("0n0R"),v=void 0,w=function(E,T){var _={};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&T.indexOf(x)<0&&(_[x]=E[x]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(E);C<x.length;C++)T.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(E,x[C])&&(_[x[C]]=E[x[C]]);return _},b=g.forwardRef(function(E,T){var _=g.useState(E.visible),x=m()(_,2),C=x[0],I=x[1];g.useEffect(function(){"visible"in E&&I(E.visible)},[E.visible]),g.useEffect(function(){"defaultVisible"in E&&I(E.defaultVisible)},[E.defaultVisible]);var L=function(Ae,me){"visible"in E||I(Ae),E.onVisibleChange&&E.onVisibleChange(Ae,me)},F=function(Ae){L(!1,Ae),E.onConfirm&&E.onConfirm.call(v,Ae)},B=function(Ae){L(!1,Ae),E.onCancel&&E.onCancel.call(v,Ae)},P=function(Ae){Ae.keyCode===i.a.ESC&&C&&L(!1,Ae)},H=function(Ae){var me=E.disabled;if(me)return;L(Ae)},z=function(Ae,me){var Me=E.okButtonProps,oe=E.cancelButtonProps,_e=E.title,ee=E.cancelText,ne=E.okText,Ge=E.okType,Ee=E.icon;return g.createElement("div",{className:"".concat(Ae,"-inner-content")},g.createElement("div",{className:"".concat(Ae,"-message")},Ee,g.createElement("div",{className:"".concat(Ae,"-message-title")},Object(h.a)(_e))),g.createElement("div",{className:"".concat(Ae,"-buttons")},g.createElement(r.a,p()({onClick:B,size:"small"},oe),ee||me.cancelText),g.createElement(r.a,p()({onClick:F},Object(l.a)(Ge),{size:"small"},Me),ne||me.okText)))},M=g.useContext(u.b),U=M.getPrefixCls,k=E.prefixCls,K=E.placement,j=E.children,V=E.overlayClassName,W=w(E,["prefixCls","placement","children","overlayClassName"]),X=U("popover",k),J=U("popconfirm",k),de=c()(J,V),G=g.createElement(e.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ae){return z(X,ae)});return g.createElement(o.a,p()({},W,{prefixCls:X,placement:K,onVisibleChange:H,visible:C,overlay:G,overlayClassName:de,ref:T}),Object(A.a)(j,{onKeyDown:function(Ae){var me,Me;(Me=j==null?void 0:(me=j.props).onKeyDown)===null||Me===void 0||Me.call(me,Ae),P(Ae)}}))});b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:g.createElement(n.a,null),disabled:!1},N.a=b},NUBc:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("q1tI"),f=t.n(g),d=t("wx14"),c=t("rePB"),a=t("VTBJ"),n=t("1OyB"),i=t("vuIU"),o=t("Ji7U"),r=t("LK+K"),l=t("TSYQ"),e=t.n(l),s=function(me){var Me,oe="".concat(me.rootPrefixCls,"-item"),_e=e()(oe,"".concat(oe,"-").concat(me.page),(Me={},Object(c.a)(Me,"".concat(oe,"-active"),me.active),Object(c.a)(Me,me.className,!!me.className),Object(c.a)(Me,"".concat(oe,"-disabled"),!me.page),Me)),ee=function(){me.onClick(me.page)},ne=function(Ee){me.onKeyPress(Ee,me.onClick,me.page)};return f.a.createElement("li",{title:me.showTitle?me.page:null,className:_e,onClick:ee,onKeyPress:ne,tabIndex:"0"},me.itemRender(me.page,"page",f.a.createElement("a",{rel:"nofollow"},me.page)))},u=s,h={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},A=function(Ae){Object(o.a)(Me,Ae);var me=Object(r.a)(Me);function Me(){var oe;Object(n.a)(this,Me);for(var _e=arguments.length,ee=new Array(_e),ne=0;ne<_e;ne++)ee[ne]=arguments[ne];return oe=me.call.apply(me,[this].concat(ee)),oe.state={goInputText:""},oe.buildOptionText=function(Ge){return"".concat(Ge," ").concat(oe.props.locale.items_per_page)},oe.changeSize=function(Ge){oe.props.changeSize(Number(Ge))},oe.handleChange=function(Ge){oe.setState({goInputText:Ge.target.value})},oe.handleBlur=function(Ge){var Ee=oe.props,ue=Ee.goButton,re=Ee.quickGo,ce=Ee.rootPrefixCls,ke=oe.state.goInputText;if(ue||ke==="")return;if(Ge.relatedTarget&&(Ge.relatedTarget.className.indexOf("".concat(ce,"-prev"))>=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<ce;Te++)ke[Te-2]=arguments[Te];re.apply(void 0,ke)}},_e.runIfEnterPrev=function(ue){_e.runIfEnter(ue,_e.prev)},_e.runIfEnterNext=function(ue){_e.runIfEnter(ue,_e.next)},_e.runIfEnterJumpPrev=function(ue){_e.runIfEnter(ue,_e.jumpPrev)},_e.runIfEnterJumpNext=function(ue){_e.runIfEnter(ue,_e.jumpNext)},_e.handleGoTO=function(ue){(ue.keyCode===h.ENTER||ue.type==="click")&&_e.handleChange(_e.state.currentInputValue)};var ee=oe.onChange!==b,ne="current"in oe;ne&&!ee&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ge=oe.defaultCurrent;"current"in oe&&(Ge=oe.current);var Ee=oe.defaultPageSize;return"pageSize"in oe&&(Ee=oe.pageSize),Ge=Math.min(Ge,_(Ee,void 0,oe)),_e.state={current:Ge,currentInputValue:Ge,pageSize:Ee},_e}return Object(i.a)(Me,[{key:"componentDidUpdate",value:function(_e,ee){var ne=this.props.prefixCls;if(ee.current!==this.state.current&&this.paginationNode){var Ge=this.paginationNode.querySelector(".".concat(ne,"-item-").concat(ee.current));Ge&&document.activeElement===Ge&&Ge.blur()}}},{key:"getValidValue",value:function(_e){var ee=_e.target.value,ne=_(void 0,this.state,this.props),Ge=this.state.currentInputValue,Ee;return ee===""?Ee=ee:isNaN(Number(ee))?Ee=Ge:ee>=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,Wt=xt+1<Gt?xt+1:Gt,cr=Object.keys(this.props).reduce(function(Ln,Je){return(Je.substr(0,5)==="data-"||Je.substr(0,5)==="aria-"||Je==="role")&&(Ln[Je]=_e.props[Je]),Ln},{});if(ye)return Nt&&(typeof Nt=="boolean"?le=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ke.jump_to_confirm):le=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Nt),le=f.a.createElement("li",{title:Ie?"".concat(ke.jump_to).concat(xt,"/").concat(Gt):null,className:"".concat(ne,"-simple-pager")},le)),f.a.createElement("ul",Object(d.a)({className:e()(ne,"".concat(ne,"-simple"),Object(c.a)({},"".concat(ne,"-disabled"),ue),Ge),style:Ee,ref:this.savePaginationNode},cr),f.a.createElement("li",{title:Ie?ke.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ne,"-prev"),Object(c.a)({},"".concat(ne,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(lt)),f.a.createElement("li",{title:Ie?"".concat(xt,"/").concat(Gt):null,className:"".concat(ne,"-simple-pager")},f.a.createElement("input",{type:"text",value:Mt,disabled:ue,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(ne,"-slash")},"/"),Gt),f.a.createElement("li",{title:Ie?ke.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat(ne,"-next"),Object(c.a)({},"".concat(ne,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Wt)),le);if(Gt<=3+tr*2){var Vr={locale:ke,rootPrefixCls:ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ie,itemRender:xe};Gt||$e.push(f.a.createElement(u,Object(d.a)({},Vr,{key:"noPager",page:Gt,className:"".concat(ne,"-disabled")})));for(var ur=1;ur<=Gt;ur+=1){var ir=xt===ur;$e.push(f.a.createElement(u,Object(d.a)({},Vr,{key:ur,page:ur,active:ir})))}}else{var Lt=Ke?ke.prev_3:ke.prev_5,ot=Ke?ke.next_3:ke.next_5;Ye&&(pe=f.a.createElement("li",{title:Ie?Lt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat(ne,"-jump-prev"),Object(c.a)({},"".concat(ne,"-jump-prev-custom-icon"),!!pt))},xe(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(pt,"prev page"))),q=f.a.createElement("li",{title:Ie?ot:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat(ne,"-jump-next"),Object(c.a)({},"".concat(ne,"-jump-next-custom-icon"),!!nt))},xe(this.getJumpNextPage(),"jump-next",this.getItemIcon(nt,"next page")))),qe=f.a.createElement(u,{locale:ke,last:!0,rootPrefixCls:ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Gt,page:Gt,active:!1,showTitle:Ie,itemRender:xe}),bt=f.a.createElement(u,{locale:ke,rootPrefixCls:ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ie,itemRender:xe});var Xe=Math.max(1,xt-tr),$t=Math.min(xt+tr,Gt);xt-1<=tr&&($t=1+tr*2),Gt-xt<=tr&&(Xe=Gt-tr*2);for(var Sr=Xe;Sr<=$t;Sr+=1){var vr=xt===Sr;$e.push(f.a.createElement(u,{locale:ke,rootPrefixCls:ne,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Sr,page:Sr,active:vr,showTitle:Ie,itemRender:xe}))}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(Wt)),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);_e<oe.length;_e++)me.indexOf(oe[_e])<0&&Object.prototype.propertyIsEnumerable.call(Ae,oe[_e])&&(Me[oe[_e]]=Ae[oe[_e]]);return Me},de=function(me){var Me=me.prefixCls,oe=me.selectPrefixCls,_e=me.className,ee=me.size,ne=me.locale,Ge=J(me,["prefixCls","selectPrefixCls","className","size","locale"]),Ee=Object(X.a)(),ue=Ee.xs,re=g.useContext(W.b),ce=re.getPrefixCls,ke=re.direction,Te=ce("pagination",Me),Ke=function(){var ye=g.createElement("span",{className:"".concat(Te,"-item-ellipsis")},"\u2022\u2022\u2022"),xe=g.createElement("button",{className:"".concat(Te,"-item-link"),type:"button",tabIndex:-1},g.createElement(F.a,null)),Ye=g.createElement("button",{className:"".concat(Te,"-item-link"),type:"button",tabIndex:-1},g.createElement(P.a,null)),pt=g.createElement("a",{className:"".concat(Te,"-item-link")},g.createElement("div",{className:"".concat(Te,"-item-container")},g.createElement(z.a,{className:"".concat(Te,"-item-link-icon")}),ye)),nt=g.createElement("a",{className:"".concat(Te,"-item-link")},g.createElement("div",{className:"".concat(Te,"-item-container")},g.createElement(U.a,{className:"".concat(Te,"-item-link-icon")}),ye));if(ke==="rtl"){var Oe=[Ye,xe];xe=Oe[0],Ye=Oe[1];var vt=[nt,pt];pt=vt[0],nt=vt[1]}return{prevIcon:xe,nextIcon:Ye,jumpPrevIcon:pt,jumpNextIcon:nt}},Ie=function(ye){var xe=m()(m()({},ye),ne),Ye=ee==="small"||!!(ue&&!ee&&Ge.responsive),pt=ce("select",oe),nt=e()(_e,p()({mini:Ye},"".concat(Te,"-rtl"),ke==="rtl"));return g.createElement(C,m()({},Ge,{prefixCls:Te,selectPrefixCls:pt},Ke(),{className:nt,selectComponentClass:Ye?j:k.a,locale:xe}))};return g.createElement(V.a,{componentName:"Pagination",defaultLocale:I.a},Ie)},G=de,ae=N.a=G},NohK:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=function(S){var m=arguments.length>1&&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<d;a++)c[a]=arguments[a];clearTimeout(g),g=setTimeout(function(){S.apply(f,c)},m)}};N.default=y},Nu4q:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(S,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:S}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:S}}]}},name:"picture",theme:"twotone"};N.default=y},NvD2:function(R,N,t){"use strict";t.d(N,"a",function(){return f});var y=t("Kwbf");function p(d,c){var a=new Set;return d.forEach(function(n){c.has(n)||a.add(n)}),a}function S(d){var c=d||{},a=c.disabled,n=c.disableCheckbox,i=c.checkable;return!!(a||n)||i===!1}function m(d,c,a,n){for(var i=new Set(d),o=new Set,r=0;r<=a;r+=1){var l=c.get(r)||new Set;l.forEach(function(h){var A=h.key,v=h.node,w=h.children,b=w===void 0?[]:w;i.has(A)&&!n(v)&&b.filter(function(E){return!n(E.node)}).forEach(function(E){i.add(E.key)})})}for(var e=new Set,s=a;s>=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]});B<L;){for(var H=Number.NEGATIVE_INFINITY,z=null,M=0,U=P.length;M<U;++M)P[M]>H&&(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<p}var e=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(E){if(E instanceof Date)return E;if(typeof E=="string"){var T=e.exec(E);if(!T)return new Date(NaN);if(T[8]){var _=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(_-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,_,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function u(E){return Math.pow(10,h(E))}function h(E){if(E===0)return 0;var T=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,T)>=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<E.length;){for(var C=E[x].interval,I=E[x].close,L=0;L<2;L++)C[L]<=T&&(C[L]=T,I[L]=L?1:1-_),T=C[L],_=I[L];C[0]===C[1]&&I[0]*I[1]!==1?E.splice(x,1):x++}return E;function F(B,P,H){return B.interval[H]<P.interval[H]||B.interval[H]===P.interval[H]&&(B.close[H]-P.close[H]===(H?-1:1)||!H&&F(B,P,1))}}function b(E){return E-parseFloat(E)>=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<c.length;n++)this.addDisplayable(c[n],a)},g.prototype.eachPendingDisplayable=function(c){for(var a=this._cursor;a<this._displayables.length;a++)c&&c(this._displayables[a]);for(var a=0;a<this._temporaryDisplayables.length;a++)c&&c(this._temporaryDisplayables[a])},g.prototype.update=function(){this.updateTransform();for(var c=this._cursor;c<this._displayables.length;c++){var a=this._displayables[c];a.parent=this,a.update(),a.parent=null}for(var c=0;c<this._temporaryDisplayables.length;c++){var a=this._temporaryDisplayables[c];a.parent=this,a.update(),a.parent=null}},g.prototype.brush=function(c,a){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(c),i.brush(c,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(c)}this._cursor=n;for(var n=0;n<this._temporaryDisplayables.length;n++){var i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(c),i.brush(c,n===0?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(c)}this._temporaryDisplayables=[],this.notClear=!0};var f=[];g.prototype.getBoundingRect=function(){if(!this._rect){for(var c=new m(Infinity,Infinity,-Infinity,-Infinity),a=0;a<this._displayables.length;a++){var n=this._displayables[a],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(f)),c.union(i)}this._rect=c}return this._rect},g.prototype.contain=function(c,a){var n=this.transformCoordToLocal(c,a),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var o=0;o<this._displayables.length;o++){var r=this._displayables[o];if(r.contain(c,a))return!0}return!1},p(g,S);var d=g;R.exports=d},OUJF:function(R,N,t){var y=t("ProS"),p=t("bYtY");y.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(S,m){var g=m.getComponent("timeline");return g&&S.currentIndex!=null&&(g.setCurrentIndex(S.currentIndex),!g.get("loop",!0)&&g.isIndexMax()&&g.setPlayState(!1)),m.resetOption("timeline"),p.defaults({currentIndex:g.option.currentIndex},S)}),y.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(S,m){var g=m.getComponent("timeline");g&&S.playState!=null&&g.setPlayState(S.playState)})},OXB0:function(R,N,t){var y=t("T4UG"),p=t("MwEJ"),S=t("IDmD"),m=y.extend({type:"series.heatmap",getInitialData:function(g,f){return p(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var g=S.get(this.get("coordinateSystem"));if(g&&g.dimensions)return g.dimensions[0]==="lng"&&g.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});R.exports=m},OZM5:function(R,N,t){"use strict";t.d(N,"b",function(){return n}),t.d(N,"a",function(){return i}),t.d(N,"k",function(){return o}),t.d(N,"h",function(){return r}),t.d(N,"i",function(){return l}),t.d(N,"g",function(){return e}),t.d(N,"c",function(){return s}),t.d(N,"d",function(){return u}),t.d(N,"j",function(){return v}),t.d(N,"e",function(){return w}),t.d(N,"f",function(){return b});var y=t("KQm4"),p=t("U8pU"),S=t("Ff2n"),m=t("q1tI"),g=t.n(m),f=t("Kwbf"),d=t("WaYH"),c=.25,a=2;function n(E,T){var _=E.slice(),x=_.indexOf(T);return x>=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;E<T;E++)b[E].get("type")==="category"&&w.push(E);u[v.axisIndex]=w,w.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(v){this._isSeriesHasAllAxesTypeOf(v,"value")&&n(function(w){var b=u[w.axisIndex],E=v.get(w.axisIndex),T=v.get(w.axisId),_=v.ecModel.queryComponents({mainType:w.axis,index:E,id:T})[0];E=_.componentIndex,m.indexOf(b,E)<0&&b.push(E)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(s){!e&&(e=s.name)},this),this.option.orient=e==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,s){var u=!0;return n(function(h){var A=e.get(h.axisIndex),v=this.dependentModels[h.axis][A];(!v||v.get("type")!==s)&&(u=!1)},this),u},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?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<Tt.length?Cn=Tt.slice(br,br+15)+"\u2026":Cn=Tt.slice(br),ge+=$r+Ir+Cn}var Wn=new Error(ge);return Wn.name="ParseError",Wn.__proto__=ft.prototype,Wn.position=Fe,Wn};d.prototype.__proto__=Error.prototype;var c=d,a=function($,he){return $.indexOf(he)!==-1},n=function($,he){return $===void 0?he:$},i=/([A-Z])/g,o=function($){return $.replace(i,"-$1").toLowerCase()},r={"&":"&",">":">","<":"<",'"':""","'":"'"},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;$<j.length;$++)for(var he=j[$],ge=0;ge<he.blocks.length;ge++){var Fe=he.blocks[ge];if(ft>=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.length;$+=2)if(ft>=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<this.children.length;Fe++)ge.appendChild(this.children[Fe].toNode());return ge},$.toMarkup=function(){for(var ge="",Fe=0;Fe<this.children.length;Fe++)ge+=this.children[Fe].toMarkup();return ge},$.toText=function(){var ge=function(ct){return ct.toText()};return this.children.map(ge).join("")},ft}(),ne=function($){return $.filter(function(he){return he}).join(" ")},Ge=function($,he,ge){if(this.classes=$||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ge||{},he){he.style.isTight()&&this.classes.push("mtight");var Fe=he.getColor();Fe&&(this.style.color=Fe)}},Ee=function($){var he=document.createElement($);he.className=ne(this.classes);for(var ge in this.style)this.style.hasOwnProperty(ge)&&(he.style[ge]=this.style[ge]);for(var Fe in this.attributes)this.attributes.hasOwnProperty(Fe)&&he.setAttribute(Fe,this.attributes[Fe]);for(var ct=0;ct<this.children.length;ct++)he.appendChild(this.children[ct].toNode());return he},ue=function($){var he="<"+$;this.classes.length&&(he+=' class="'+v.escape(ne(this.classes))+'"');var ge="";for(var Fe in this.style)this.style.hasOwnProperty(Fe)&&(ge+=v.hyphenate(Fe)+":"+this.style[Fe]+";");ge&&(he+=' style="'+v.escape(ge)+'"');for(var ct in this.attributes)this.attributes.hasOwnProperty(ct)&&(he+=" "+ct+'="'+v.escape(this.attributes[ct])+'"');he+=">";for(var Tt=0;Tt<this.children.length;Tt++)he+=this.children[Tt].toMarkup();return he+="</"+$+">",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="<img src='"+this.src+" 'alt='"+this.alt+"' ",Fe="";for(var ct in this.style)this.style.hasOwnProperty(ct)&&(Fe+=v.hyphenate(ct)+":"+this.style[ct]+";");return Fe&&(ge+=' style="'+v.escape(Fe)+'"'),ge+="'/>",ge},ft}(),Te={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ke=function(){function ft(he,ge,Fe,ct,Tt,br,Ir,$r){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=he,this.height=ge||0,this.depth=Fe||0,this.italic=ct||0,this.skew=Tt||0,this.width=br||0,this.classes=Ir||[],this.style=$r||{},this.maxFontSize=0;var Cn=V(this.text.charCodeAt(0));Cn&&this.classes.push(Cn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Te[this.text])}var $=ft.prototype;return $.hasClass=function(ge){return v.contains(this.classes,ge)},$.toNode=function(){var ge=document.createTextNode(this.text),Fe=null;this.italic>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="<span";this.classes.length&&(ge=!0,Fe+=' class="',Fe+=v.escape(ne(this.classes)),Fe+='"');var ct="";this.italic>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+="</span>",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<this.children.length;Tt++)Fe.appendChild(this.children[Tt].toNode());return Fe},$.toMarkup=function(){var ge="<svg";for(var Fe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Fe)&&(ge+=" "+Fe+"='"+this.attributes[Fe]+"'");ge+=">";for(var ct=0;ct<this.children.length;ct++)ge+=this.children[ct].toMarkup();return ge+="</svg>",ge},ft}(),se=function(){function ft(he,ge){this.pathName=void 0,this.alternate=void 0,this.pathName=he,this.alternate=ge}var $=ft.prototype;return $.toNode=function(){var ge="http://www.w3.org/2000/svg",Fe=document.createElementNS(ge,"path");return this.alternate?Fe.setAttribute("d",this.alternate):Fe.setAttribute("d",_e[this.pathName]),Fe},$.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+_e[this.pathName]+"'/>"},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="<line";for(var Fe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Fe)&&(ge+=" "+Fe+"='"+this.attributes[Fe]+"'");return ge+="/>",ge},ft}();function xe(ft){if(ft instanceof Ke)return ft;throw new Error("Expected symbolNode but got "+String(ft)+".")}function Ye(ft){if(ft instanceof re)return ft;throw new Error("Expected span<HtmlDomNode> 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",Wt="inner",cr="mathord",Vr="op-token",ur="open",ir="punct",Lt="rel",ot="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,ot,"\xA0","\\ "),pe(q,qe,ot,"\xA0","~"),pe(q,qe,ot,"\xA0","\\space"),pe(q,qe,ot,"\xA0","\\nobreakspace"),pe(bt,qe,ot,"\xA0","\\ "),pe(bt,qe,ot,"\xA0","~"),pe(bt,qe,ot,"\xA0","\\space"),pe(bt,qe,ot,"\xA0","\\nobreakspace"),pe(q,qe,ot,null,"\\nobreak"),pe(q,qe,ot,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,Wt,"\u2026","\\textellipsis"),pe(q,qe,Wt,"\u2026","\\mathellipsis"),pe(bt,qe,Wt,"\u2026","\\ldots",!0),pe(q,qe,Wt,"\u2026","\\ldots",!0),pe(q,qe,Wt,"\u22EF","\\@cdots",!0),pe(q,qe,Wt,"\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,ot,"\xA0","\\ "),pe(bt,qe,ot,"\xA0"," "),pe(bt,qe,ot,"\xA0","~");for(var Sr='0123456789/@."',vr=0;vr<Sr.length;vr++){var fr=Sr.charAt(vr);pe(q,qe,Xe,fr,fr)}for(var An='0123456789!@*()-=+[]<>|";:?/.,',Zr=0;Zr<An.length;Zr++){var Ln=An.charAt(Zr);pe(bt,qe,Xe,Ln,Ln)}for(var Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",et=0;et<Je.length;et++){var be=Je.charAt(et);pe(q,qe,cr,be,be),pe(bt,qe,Xe,be,be)}pe(q,le,Xe,"C","\u2102"),pe(bt,le,Xe,"C","\u2102"),pe(q,le,Xe,"H","\u210D"),pe(bt,le,Xe,"H","\u210D"),pe(q,le,Xe,"N","\u2115"),pe(bt,le,Xe,"N","\u2115"),pe(q,le,Xe,"P","\u2119"),pe(bt,le,Xe,"P","\u2119"),pe(q,le,Xe,"Q","\u211A"),pe(bt,le,Xe,"Q","\u211A"),pe(q,le,Xe,"R","\u211D"),pe(bt,le,Xe,"R","\u211D"),pe(q,le,Xe,"Z","\u2124"),pe(bt,le,Xe,"Z","\u2124"),pe(q,qe,cr,"h","\u210E"),pe(bt,qe,cr,"h","\u210E");for(var Le="",Ue=0;Ue<Je.length;Ue++){var rt=Je.charAt(Ue);Le=String.fromCharCode(55349,56320+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56372+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56424+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56580+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56736+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56788+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56840+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56944+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Ue<26&&(Le=String.fromCharCode(55349,56632+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le),Le=String.fromCharCode(55349,56476+Ue),pe(q,qe,cr,rt,Le),pe(bt,qe,Xe,rt,Le))}Le=String.fromCharCode(55349,56668),pe(q,qe,cr,"k",Le),pe(bt,qe,Xe,"k",Le);for(var Vt=0;Vt<10;Vt++){var Ft=Vt.toString();Le=String.fromCharCode(55349,57294+Vt),pe(q,qe,cr,Ft,Le),pe(bt,qe,Xe,Ft,Le),Le=String.fromCharCode(55349,57314+Vt),pe(q,qe,cr,Ft,Le),pe(bt,qe,Xe,Ft,Le),Le=String.fromCharCode(55349,57324+Vt),pe(q,qe,cr,Ft,Le),pe(bt,qe,Xe,Ft,Le),Le=String.fromCharCode(55349,57334+Vt),pe(q,qe,cr,Ft,Le),pe(bt,qe,Xe,Ft,Le)}for(var zt="\xC7\xD0\xDE\xE7\xFE",Dr=0;Dr<zt.length;Dr++){var Pr=zt.charAt(Dr);pe(q,qe,cr,Pr,Pr),pe(bt,qe,Xe,Pr,Pr)}pe(bt,qe,Xe,"\xF0","\xF0"),pe(bt,qe,Xe,"\u2013","\u2013"),pe(bt,qe,Xe,"\u2014","\u2014"),pe(bt,qe,Xe,"\u2018","\u2018"),pe(bt,qe,Xe,"\u2019","\u2019"),pe(bt,qe,Xe,"\u201C","\u201C"),pe(bt,qe,Xe,"\u201D","\u201D");var un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ht=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],dt=function($,he){var ge=$.charCodeAt(0),Fe=$.charCodeAt(1),ct=(ge-55296)*1024+(Fe-56320)+65536,Tt=he==="math"?0:1;if(119808<=ct&&ct<120484){var br=Math.floor((ct-119808)/26);return[un[br][2],un[br][Tt]]}else if(120782<=ct&&ct<=120831){var Ir=Math.floor((ct-120782)/10);return[Ht[Ir][2],Ht[Ir][Tt]]}else{if(ct===120485||ct===120486)return[un[0][2],un[0][Tt]];if(120486<ct&&ct<120782)return["",""];throw new c("Unsupported character: "+$)}},at=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Jt=function($,he){return he.size<2?$:at[$-1][he.size-1]},gt=function(){function ft(he){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=he.style,this.color=he.color,this.size=he.size||ft.BASESIZE,this.textSize=he.textSize||this.size,this.phantom=!!he.phantom,this.font=he.font||"",this.fontFamily=he.fontFamily||"",this.fontWeight=he.fontWeight||"",this.fontShape=he.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=he.maxSize,this.minRuleThickness=he.minRuleThickness,this._fontMetrics=void 0}var $=ft.prototype;return $.extend=function(ge){var Fe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var ct in ge)ge.hasOwnProperty(ct)&&(Fe[ct]=ge[ct]);return new ft(Fe)},$.havingStyle=function(ge){return this.style===ge?this:this.extend({style:ge,size:Jt(this.textSize,ge)})},$.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},$.havingSize=function(ge){return this.size===ge&&this.textSize===ge?this:this.extend({style:this.style.text(),size:ge,textSize:ge,sizeMultiplier:Qt[ge-1]})},$.havingBaseStyle=function(ge){ge=ge||this.style.text();var Fe=Jt(ft.BASESIZE,ge);return this.size===Fe&&this.textSize===ft.BASESIZE&&this.style===ge?this:this.extend({style:ge,size:Fe})},$.havingBaseSizing=function(){var ge;switch(this.style.id){case 4:case 5:ge=3;break;case 6:case 7:ge=1;break;default:ge=6}return this.extend({style:this.style.text(),size:ge})},$.withColor=function(ge){return this.extend({color:ge})},$.withPhantom=function(){return this.extend({phantom:!0})},$.withFont=function(ge){return this.extend({font:ge})},$.withTextFontFamily=function(ge){return this.extend({fontFamily:ge,font:""})},$.withTextFontWeight=function(ge){return this.extend({fontWeight:ge,font:""})},$.withTextFontShape=function(ge){return this.extend({fontShape:ge,font:""})},$.sizingClasses=function(ge){return ge.size!==this.size?["sizing","reset-size"+ge.size,"size"+this.size]:[]},$.baseSizingClasses=function(){return this.size!==ft.BASESIZE?["sizing","reset-size"+this.size,"size"+ft.BASESIZE]:[]},$.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=xt(this.size)),this._fontMetrics},$.getColor=function(){return this.phantom?"transparent":this.color},ft}();gt.BASESIZE=6;var Bt=gt,mt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},kt={ex:!0,em:!0,mu:!0},gr=function($){return typeof $!="string"&&($=$.unit),$ in mt||$ in kt||$==="ex"},ar=function($,he){var ge;if($.unit in mt)ge=mt[$.unit]/he.fontMetrics().ptPerEm/he.sizeMultiplier;else if($.unit==="mu")ge=he.fontMetrics().cssEmPerMu;else{var Fe;if(he.style.isTight()?Fe=he.havingStyle(he.style.text()):Fe=he,$.unit==="ex")ge=Fe.fontMetrics().xHeight;else if($.unit==="em")ge=Fe.fontMetrics().quad;else throw new c("Invalid unit: '"+$.unit+"'");Fe!==he&&(ge*=Fe.sizeMultiplier/he.sizeMultiplier)}return Math.min($.number*ge,he.maxSize)},lr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Gr=function($,he,ge){return $e[ge][$]&&$e[ge][$].replace&&($=$e[ge][$].replace),{value:$,metrics:Ze($,he,ge)}},Jr=function($,he,ge,Fe,ct){var Tt=Gr($,he,ge),br=Tt.metrics;$=Tt.value;var Ir;if(br){var $r=br.italic;(ge==="text"||Fe&&Fe.font==="mathit")&&($r=0),Ir=new Ke($,br.height,br.depth,$r,br.skew,br.width,ct)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+$+"' in style '"+he+"' and mode '"+ge+"'")),Ir=new Ke($,0,0,0,0,0,ct);if(Fe){Ir.maxFontSize=Fe.sizeMultiplier,Fe.style.isTight()&&Ir.classes.push("mtight");var Cn=Fe.getColor();Cn&&(Ir.style.color=Cn)}return Ir},Tn=function($,he,ge,Fe){return Fe===void 0&&(Fe=[]),ge.font==="boldsymbol"&&Gr($,"Main-Bold",he).metrics?Jr($,"Main-Bold",he,ge,Fe.concat(["mathbf"])):$==="\\"||$e[he][$].font==="main"?Jr($,"Main-Regular",he,ge,Fe):Jr($,"AMS-Regular",he,ge,Fe.concat(["amsrm"]))},Nn=function($,he,ge,Fe){return/[0-9]/.test($.charAt(0))||v.contains(lr,$)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},zn=function($,he,ge,Fe){return v.contains(lr,$)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test($.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},qn=function($,he,ge,Fe){return Gr($,"Math-BoldItalic",he).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vi=function($,he,ge){var Fe=$.mode,ct=$.text,Tt=["mord"],br=Fe==="math"||Fe==="text"&&he.font,Ir=br?he.font:he.fontFamily;if(ct.charCodeAt(0)===55349){var $r=dt(ct,Fe),Cn=$r[0],Wn=$r[1];return Jr(ct,Cn,Fe,he,Tt.concat(Wn))}else if(Ir){var si,Ei;if(Ir==="boldsymbol"||Ir==="mathnormal"){var zi=Ir==="boldsymbol"?qn(ct,Fe,he,Tt):zn(ct,Fe,he,Tt);si=zi.fontName,Ei=[zi.fontClass]}else v.contains(lr,ct)?(si="Main-Italic",Ei=["mathit"]):br?(si=Or[Ir].fontName,Ei=[Ir]):(si=mr(Ir,he.fontWeight,he.fontShape),Ei=[Ir,he.fontWeight,he.fontShape]);if(Gr(ct,si,Fe).metrics)return Jr(ct,si,Fe,he,Tt.concat(Ei));if($t.hasOwnProperty(ct)&&si.substr(0,10)==="Typewriter"){for(var la=[],va=0;va<ct.length;va++)la.push(Jr(ct[va],si,Fe,he,Tt.concat(Ei)));return Qe(la)}}if(ge==="mathord"){var $a=Nn(ct,Fe,he,Tt);return Jr(ct,$a.fontName,Fe,he,Tt.concat([$a.fontClass]))}else if(ge==="textord"){var eo=$e[Fe][ct]&&$e[Fe][ct].font;if(eo==="ams"){var ro=mr("amsrm",he.fontWeight,he.fontShape);return Jr(ct,ro,Fe,he,Tt.concat("amsrm",he.fontWeight,he.fontShape))}else if(eo==="main"||!eo){var Lo=mr("textrm",he.fontWeight,he.fontShape);return Jr(ct,Lo,Fe,he,Tt.concat(he.fontWeight,he.fontShape))}else{var Eo=mr(eo,he.fontWeight,he.fontShape);return Jr(ct,Eo,Fe,he,Tt.concat(Eo,he.fontWeight,he.fontShape))}}else throw new Error("unexpected type: "+ge+" in makeOrd")},Ri=function($,he){if(ne($.classes)!==ne(he.classes)||$.skew!==he.skew||$.maxFontSize!==he.maxFontSize)return!1;for(var ge in $.style)if($.style.hasOwnProperty(ge)&&$.style[ge]!==he.style[ge])return!1;for(var Fe in he.style)if(he.style.hasOwnProperty(Fe)&&$.style[Fe]!==he.style[Fe])return!1;return!0},Ve=function($){for(var he=0;he<$.length-1;he++){var ge=$[he],Fe=$[he+1];ge instanceof Ke&&Fe instanceof Ke&&Ri(ge,Fe)&&(ge.text+=Fe.text,ge.height=Math.max(ge.height,Fe.height),ge.depth=Math.max(ge.depth,Fe.depth),ge.italic=Fe.italic,$.splice(he+1,1),he--)}return $},Se=function($){for(var he=0,ge=0,Fe=0,ct=0;ct<$.children.length;ct++){var Tt=$.children[ct];Tt.height>he&&(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):$},st=function($){if($.positionType==="individualShift"){for(var he=$.children,ge=[he[0]],Fe=-he[0].shift-he[0].elem.depth,ct=Fe,Tt=1;Tt<he.length;Tt++){var br=-he[Tt].shift-ct-he[Tt].elem.depth,Ir=br-(he[Tt-1].elem.height+he[Tt-1].elem.depth);ct=ct+br,ge.push({type:"kern",size:Ir}),ge.push(he[Tt])}return{children:ge,depth:Fe}}var $r;if($.positionType==="top"){for(var Cn=$.positionData,Wn=0;Wn<$.children.length;Wn++){var si=$.children[Wn];Cn-=si.type==="kern"?si.size:si.elem.height+si.elem.depth}$r=Cn}else if($.positionType==="bottom")$r=-$.positionData;else{var Ei=$.children[0];if(Ei.type!=="elem")throw new Error('First child must have type "elem".');if($.positionType==="shift")$r=-Ei.elem.depth-$.positionData;else if($.positionType==="firstBaseline")$r=-Ei.elem.depth;else throw new Error("Invalid positionType "+$.positionType+".")}return{children:$.children,depth:$r}},Pt=function($,he){for(var ge=st($),Fe=ge.children,ct=ge.depth,Tt=0,br=0;br<Fe.length;br++){var Ir=Fe[br];if(Ir.type==="elem"){var $r=Ir.elem;Tt=Math.max(Tt,$r.maxFontSize,$r.height)}}Tt+=2;var Cn=Re(["pstrut"],[]);Cn.style.height=Tt+"em";for(var Wn=[],si=ct,Ei=ct,zi=ct,la=0;la<Fe.length;la++){var va=Fe[la];if(va.type==="kern")zi+=va.size;else{var $a=va.elem,eo=va.wrapperClasses||[],ro=va.wrapperStyle||{},Lo=Re(eo,[Cn,$a],void 0,ro);Lo.style.top=-Tt-zi-$a.depth+"em",va.marginLeft&&(Lo.style.marginLeft=va.marginLeft),va.marginRight&&(Lo.style.marginRight=va.marginRight),Wn.push(Lo),zi+=$a.height+$a.depth}si=Math.min(si,zi),Ei=Math.max(Ei,zi)}var Eo=Re(["vlist"],Wn);Eo.style.height=Ei+"em";var Gi;if(si<0){var po=Re([],[]),wo=Re(["vlist"],[po]);wo.style.height=-si+"em";var ts=Re(["vlist-s"],[new Ke("\u200B")]);Gi=[Re(["vlist-r"],[Eo,ts]),Re(["vlist-r"],[wo])]}else Gi=[Re(["vlist-r"],[Eo])];var No=Re(["vlist-t"],Gi);return Gi.length===2&&No.classes.push("vlist-t2"),No.height=Ei,No.depth=-si,No},wr=function($,he){var ge=Re(["mspace"],[],he),Fe=ar($,he);return ge.style.marginRight=Fe+"em",ge},mr=function($,he,ge){var Fe="";switch($){case"amsrm":Fe="AMS";break;case"textrm":Fe="Main";break;case"textsf":Fe="SansSerif";break;case"texttt":Fe="Typewriter";break;default:Fe=$}var ct;return he==="textbf"&&ge==="textit"?ct="BoldItalic":he==="textbf"?ct="Bold":he==="textit"?ct="Italic":ct="Regular",Fe+"-"+ct},Or={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},jt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},cn=function($,he){var ge=jt[$],Fe=ge[0],ct=ge[1],Tt=ge[2],br=new se(Fe),Ir=new Ie([br],{width:ct+"em",height:Tt+"em",style:"width:"+ct+"em",viewBox:"0 0 "+1e3*ct+" "+1e3*Tt,preserveAspectRatio:"xMinYMin"}),$r=Be(["overlay"],[Ir],he);return $r.height=Tt,$r.style.height=Tt+"em",$r.style.width=ct+"em",$r},nr={fontMap:Or,makeSymbol:Jr,mathsym:Tn,makeSpan:Re,makeSvgSpan:Be,makeLineSpan:We,makeAnchor:He,makeFragment:Qe,wrapFragment:At,makeVList:Pt,makeOrd:vi,makeGlue:wr,staticSvg:cn,svgData:jt,tryCombineChars:Ve};function Xr(ft,$){var he=Br(ft,$);if(!he)throw new Error("Expected node of type "+$+", but got "+(ft?"node of type "+ft.type:String(ft)));return he}function Br(ft,$){return ft&&ft.type===$?ft:null}function yr(ft,$){var he=xn(ft,$);if(!he)throw new Error('Expected node of type "atom" and family "'+$+'", but got '+(ft?ft.type==="atom"?"atom of family "+ft.family:"node of type "+ft.type:String(ft)));return he}function xn(ft,$){return ft&&ft.type==="atom"&&ft.family===$?ft:null}function Bn(ft){var $=ii(ft);if(!$)throw new Error("Expected node of symbol group type, but got "+(ft?"node of type "+ft.type:String(ft)));return $}function ii(ft){return ft&&(ft.type==="atom"||Mt.hasOwnProperty(ft.type))?ft:null}var oi={number:3,unit:"mu"},ei={number:4,unit:"mu"},ui={number:5,unit:"mu"},Fn={mord:{mop:oi,mbin:ei,mrel:ui,minner:oi},mop:{mord:oi,mop:oi,mrel:ui,minner:oi},mbin:{mord:ei,mop:ei,mopen:ei,minner:ei},mrel:{mord:ui,mop:ui,mopen:ui,minner:ui},mopen:{},mclose:{mop:oi,mbin:ei,mrel:ui,minner:oi},mpunct:{mord:oi,mop:oi,mrel:ui,mopen:oi,mclose:oi,mpunct:oi,minner:oi},minner:{mord:oi,mop:oi,mbin:ei,mrel:ui,mopen:oi,mpunct:oi,minner:oi}},Si={mord:{mop:oi},mop:{mord:oi,mop:oi},mbin:{},mrel:{},mopen:{},mclose:{mop:oi},mpunct:{},minner:{mop:oi}},gn={},Wr={},En={};function on(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,argTypes:ge.argTypes,greediness:ge.greediness===void 0?1:ge.greediness,allowedInText:!!ge.allowedInText,allowedInMath:ge.allowedInMath===void 0?!0:ge.allowedInMath,numOptionalArgs:ge.numOptionalArgs||0,infix:!!ge.infix,handler:Fe},Ir=0;Ir<he.length;++Ir)gn[he[Ir]]=br;$&&(ct&&(Wr[$]=ct),Tt&&(En[$]=Tt))}function ci(ft){var $=ft.type,he=ft.htmlBuilder,ge=ft.mathmlBuilder;on({type:$,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:he,mathmlBuilder:ge})}var ri=function($){var he=Br($,"ordgroup");return he?he.body:[$]},bi=nr.makeSpan,Gn=["leftmost","mbin","mopen","mrel","mop","mpunct"],Fi=["rightmost","mrel","mclose","mpunct"],Jn={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT},Mi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},fn=function($,he,ge,Fe){Fe===void 0&&(Fe=[null,null]);for(var ct=[],Tt=0;Tt<$.length;Tt++){var br=di($[Tt],he);if(br instanceof ee){var Ir=br.children;ct.push.apply(ct,Ir)}else ct.push(br)}if(!ge)return ct;var $r=he;if($.length===1){var Cn=Br($[0],"sizing")||Br($[0],"styling");Cn&&(Cn.type==="sizing"?$r=he.havingSize(Cn.size):Cn.type==="styling"&&($r=he.havingStyle(Jn[Cn.style])))}var Wn=bi([Fe[0]||"leftmost"],[],he),si=bi([Fe[1]||"rightmost"],[],he);return kr(ct,function(Ei,zi){var la=zi.classes[0],va=Ei.classes[0];la==="mbin"&&v.contains(Fi,va)?zi.classes[0]="mord":va==="mbin"&&v.contains(Gn,la)&&(Ei.classes[0]="mord")},{node:Wn},si),kr(ct,function(Ei,zi){var la=Xn(zi),va=Xn(Ei),$a=la&&va?Ei.hasClass("mtight")?Si[la][va]:Fn[la][va]:null;if($a)return nr.makeGlue($a,$r)},{node:Wn},si),ct},kr=function ft($,he,ge,Fe){Fe&&$.push(Fe);for(var ct=0;ct<$.length;ct++){var Tt=$[ct],br=yn(Tt);if(br){ft(br.children,he,ge);continue}if(Tt.classes[0]==="mspace")continue;var Ir=he(Tt,ge.node);Ir&&(ge.insertAfter?ge.insertAfter(Ir):($.unshift(Ir),ct++)),ge.node=Tt,ge.insertAfter=function($r){return function(Cn){$.splice($r+1,0,Cn),ct++}}(ct)}Fe&&$.pop()},yn=function($){return $ instanceof ee||$ instanceof ce?$:null},jn=function ft($,he){var ge=yn($);if(ge){var Fe=ge.children;if(Fe.length){if(he==="right")return ft(Fe[Fe.length-1],"right");if(he==="left")return ft(Fe[0],"left")}}return $},Xn=function($,he){return $?(he&&($=jn($,he)),Mi[$.classes[0]]||null):null},ti=function($,he){var ge=["nulldelimiter"].concat($.baseSizingClasses());return bi(he.concat(ge))},di=function($,he,ge){if(!$)return bi();if(Wr[$.type]){var Fe=Wr[$.type]($,he);if(ge&&he.size!==ge.size){Fe=bi(he.sizingClasses(ge),[Fe],he);var ct=he.sizeMultiplier/ge.sizeMultiplier;Fe.height*=ct,Fe.depth*=ct}return Fe}else throw new c("Got group of unknown type: '"+$.type+"'")};function fi(ft,$){var he=bi(["base"],ft,$),ge=bi(["strut"]);return ge.style.height=he.height+he.depth+"em",ge.style.verticalAlign=-he.depth+"em",he.children.unshift(ge),he}function mi(ft,$){var he=null;ft.length===1&&ft[0].type==="tag"&&(he=ft[0].tag,ft=ft[0].body);for(var ge=fn(ft,$,!0),Fe=[],ct=[],Tt=0;Tt<ge.length;Tt++)if(ct.push(ge[Tt]),ge[Tt].hasClass("mbin")||ge[Tt].hasClass("mrel")||ge[Tt].hasClass("allowbreak")){for(var br=!1;Tt<ge.length-1&&ge[Tt+1].hasClass("mspace")&&!ge[Tt+1].hasClass("newline");)Tt++,ct.push(ge[Tt]),ge[Tt].hasClass("nobreak")&&(br=!0);br||(Fe.push(fi(ct,$)),ct=[])}else ge[Tt].hasClass("newline")&&(ct.pop(),ct.length>0&&(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<this.children.length;ct++)ge.appendChild(this.children[ct].toNode());return ge},$.toMarkup=function(){var ge="<"+this.type;for(var Fe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Fe)&&(ge+=" "+Fe+'="',ge+=v.escape(this.attributes[Fe]),ge+='"');ge+=">";for(var ct=0;ct<this.children.length;ct++)ge+=this.children[ct].toMarkup();return ge+="</"+this.type+">",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?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},$.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=Kt($[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=Kt($[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))},Kt=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 Yr(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 Bt({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 Yr($,he,Fe,!0);if(ge.output==="html"){var Tt=mi($,Fe);ct=nr.makeSpan(["katex"],[Tt])}else{var br=Yr($,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;Ko<wo;Ko++){var bs=new se(Lo[Ko]),ls=new Ie([bs],{width:"400em",height:po+"em",viewBox:"0 0 "+Ir+" "+Gi,preserveAspectRatio:No[Ko]+" slice"}),cs=nr.makeSvgSpan([ts[Ko]],[ls],he);if(wo===1)return{span:cs,minWidth:Eo,height:po};cs.style.height=po+"em",eo.push(cs)}return{span:nr.makeSpan(["stretchy"],eo,he),minWidth:Eo,height:po}}}var Fe=ge(),ct=Fe.span,Tt=Fe.minWidth,br=Fe.height;return ct.height=br,ct.style.height=br+"em",Tt>0&&(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},Dn=function($,he){var ge=$.isStretchy?In.mathMLnode($.label):new pi.MathNode("mo",[ln($.label,$.mode)]),Fe=new pi.MathNode("mover",[Kt($.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:Dn}),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:Dn}),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",[Kt($.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(Kt($.body,he));if($.below){var Tt=Sn(Kt($.below,he));Fe=new pi.MathNode("munderover",[ge,Tt,ct])}else Fe=new pi.MathNode("mover",[ge,ct])}else if($.below){var br=Sn(Kt($.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<ct.length;br++){var Ir=Xr(ct[br],"textord");Tt+=Ir.text}var $r=parseInt(Tt);if(isNaN($r))throw new c("\\@char has non-numeric argument "+Tt);return{type:"textord",mode:ge.mode,text:String.fromCharCode($r)}}});var _n=function($,he){var ge=fn($.body,he.withColor($.color),!1);return nr.makeFragment(ge)},Kn=function($,he){var ge=Pi($.body,he.withColor($.color)),Fe=new pi.MathNode("mstyle",ge);return Fe.setAttribute("mathcolor",$.color),Fe};on({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function($,he){var ge=$.parser,Fe=Xr(he[0],"color-token").color,ct=he[1];return{type:"color",mode:ge.mode,color:Fe,body:ri(ct)}},htmlBuilder:_n,mathmlBuilder:Kn}),on({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function($,he){var ge=$.parser,Fe=$.breakOnTokenText,ct=Xr(he[0],"color-token").color;ge.gullet.macros.set("\\current@color",ct);var Tt=ge.parseExpression(!0,Fe);return{type:"color",mode:ge.mode,color:ct,body:Tt}},htmlBuilder:_n,mathmlBuilder:Kn}),on({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function($,he,ge){var Fe=$.parser,ct=$.funcName,Tt=ge[0],br=ct==="\\cr",Ir=!1;return br||(Fe.settings.displayMode&&Fe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ir=!1:Ir=!0),{type:"cr",mode:Fe.mode,newLine:Ir,newRow:br,size:Tt&&Xr(Tt,"size").value}},htmlBuilder:function($,he){if($.newRow)throw new c("\\cr valid only within a tabular/array environment");var ge=nr.makeSpan(["mspace"],[],he);return $.newLine&&(ge.classes.push("newline"),$.size&&(ge.style.marginTop=ar($.size,he)+"em")),ge},mathmlBuilder:function($,he){var ge=new pi.MathNode("mspace");return $.newLine&&(ge.setAttribute("linebreak","newline"),$.size&&ge.setAttribute("height",ar($.size,he)+"em")),ge}});var Yn=function($,he,ge){var Fe=$e.math[$]&&$e.math[$].replace,ct=Ze(Fe||$,he,ge);if(!ct)throw new Error("Unsupported symbol "+$+" and font size "+he+".");return ct},Zn=function($,he,ge,Fe){var ct=ge.havingBaseStyle(he),Tt=nr.makeSpan(Fe.concat(ct.sizingClasses(ge)),[$],ge),br=ct.sizeMultiplier/ge.sizeMultiplier;return Tt.height*=br,Tt.depth*=br,Tt.maxFontSize=ct.sizeMultiplier,Tt},yi=function($,he,ge){var Fe=he.havingBaseStyle(ge),ct=(1-he.sizeMultiplier/Fe.sizeMultiplier)*he.fontMetrics().axisHeight;$.classes.push("delimcenter"),$.style.top=ct+"em",$.height-=ct,$.depth+=ct},gi=function($,he,ge,Fe,ct,Tt){var br=nr.makeSymbol($,"Main-Regular",ct,Fe),Ir=Zn(br,he,Fe,Tt);return ge&&yi(Ir,Fe,he),Ir},Ni=function($,he,ge,Fe){return nr.makeSymbol($,"Size"+he+"-Regular",ge,Fe)},ki=function($,he,ge,Fe,ct,Tt){var br=Ni($,he,ct,Fe),Ir=Zn(nr.makeSpan(["delimsizing","size"+he],[br],Fe),K.TEXT,Fe,Tt);return ge&&yi(Ir,Fe,K.TEXT),Ir},xi=function($,he,ge){var Fe;he==="Size1-Regular"?Fe="delim-size1":Fe="delim-size4";var ct=nr.makeSpan(["delimsizinginner",Fe],[nr.makeSpan([],[nr.makeSymbol($,he,ge)])]);return{type:"elem",elem:ct}},_i={type:"kern",size:-.005},Li=function($,he,ge,Fe,ct,Tt){var br,Ir,$r,Cn;br=$r=Cn=$,Ir=null;var Wn="Size1-Regular";$==="\\uparrow"?$r=Cn="\u23D0":$==="\\Uparrow"?$r=Cn="\u2016":$==="\\downarrow"?br=$r="\u23D0":$==="\\Downarrow"?br=$r="\u2016":$==="\\updownarrow"?(br="\\uparrow",$r="\u23D0",Cn="\\downarrow"):$==="\\Updownarrow"?(br="\\Uparrow",$r="\u2016",Cn="\\Downarrow"):$==="["||$==="\\lbrack"?(br="\u23A1",$r="\u23A2",Cn="\u23A3",Wn="Size4-Regular"):$==="]"||$==="\\rbrack"?(br="\u23A4",$r="\u23A5",Cn="\u23A6",Wn="Size4-Regular"):$==="\\lfloor"||$==="\u230A"?($r=br="\u23A2",Cn="\u23A3",Wn="Size4-Regular"):$==="\\lceil"||$==="\u2308"?(br="\u23A1",$r=Cn="\u23A2",Wn="Size4-Regular"):$==="\\rfloor"||$==="\u230B"?($r=br="\u23A5",Cn="\u23A6",Wn="Size4-Regular"):$==="\\rceil"||$==="\u2309"?(br="\u23A4",$r=Cn="\u23A5",Wn="Size4-Regular"):$==="("||$==="\\lparen"?(br="\u239B",$r="\u239C",Cn="\u239D",Wn="Size4-Regular"):$===")"||$==="\\rparen"?(br="\u239E",$r="\u239F",Cn="\u23A0",Wn="Size4-Regular"):$==="\\{"||$==="\\lbrace"?(br="\u23A7",Ir="\u23A8",Cn="\u23A9",$r="\u23AA",Wn="Size4-Regular"):$==="\\}"||$==="\\rbrace"?(br="\u23AB",Ir="\u23AC",Cn="\u23AD",$r="\u23AA",Wn="Size4-Regular"):$==="\\lgroup"||$==="\u27EE"?(br="\u23A7",Cn="\u23A9",$r="\u23AA",Wn="Size4-Regular"):$==="\\rgroup"||$==="\u27EF"?(br="\u23AB",Cn="\u23AD",$r="\u23AA",Wn="Size4-Regular"):$==="\\lmoustache"||$==="\u23B0"?(br="\u23A7",Cn="\u23AD",$r="\u23AA",Wn="Size4-Regular"):($==="\\rmoustache"||$==="\u23B1")&&(br="\u23AB",Cn="\u23A9",$r="\u23AA",Wn="Size4-Regular");var si=Yn(br,Wn,ct),Ei=si.height+si.depth,zi=Yn($r,Wn,ct),la=zi.height+zi.depth,va=Yn(Cn,Wn,ct),$a=va.height+va.depth,eo=0,ro=1;if(Ir!==null){var Lo=Yn(Ir,Wn,ct);eo=Lo.height+Lo.depth,ro=2}var Eo=Ei+$a+eo,Gi=Math.max(0,Math.ceil((he-Eo)/(ro*la))),po=Eo+Gi*ro*la,wo=Fe.fontMetrics().axisHeight;ge&&(wo*=Fe.sizeMultiplier);var ts=po/2-wo,No=(Gi+1)*.005-la,Io=[];if(Io.push(xi(Cn,Wn,ct)),Ir===null)for(var Ko=0;Ko<Gi;Ko++)Io.push(_i),Io.push(xi($r,Wn,ct));else{for(var bs=0;bs<Gi;bs++)Io.push(_i),Io.push(xi($r,Wn,ct));Io.push({type:"kern",size:No}),Io.push(xi($r,Wn,ct)),Io.push(_i),Io.push(xi(Ir,Wn,ct));for(var ls=0;ls<Gi;ls++)Io.push(_i),Io.push(xi($r,Wn,ct))}Io.push({type:"kern",size:No}),Io.push(xi($r,Wn,ct)),Io.push(_i),Io.push(xi(br,Wn,ct));var cs=Fe.havingBaseStyle(K.TEXT),ws=nr.makeVList({positionType:"bottom",positionData:ts,children:Io},cs);return Zn(nr.makeSpan(["delimsizing","mult"],[ws],cs),K.TEXT,Fe,Tt)},Hn=80,Ci=.08,Hi=function($,he,ge,Fe,ct){var Tt=oe($,Fe,ge),br=new se($,Tt),Ir=new Ie([br],{width:"400em",height:he+"em",viewBox:"0 0 400000 "+ge,preserveAspectRatio:"xMinYMin slice"});return nr.makeSvgSpan(["hide-tail"],[Ir],ct)},pr=function($,he){var ge=he.havingBaseSizing(),Fe=sn("\\surd",$*ge.sizeMultiplier,Ur,ge),ct=ge.sizeMultiplier,Tt=Math.max(0,he.minRuleThickness-he.fontMetrics().sqrtRuleThickness),br,Ir=0,$r=0,Cn=0,Wn;return Fe.type==="small"?(Cn=1e3+1e3*Tt+Hn,$<1?ct=1:$<1.4&&(ct=.7),Ir=(1+Tt+Ci)/ct,$r=(1+Tt)/ct,br=Hi("sqrtMain",Ir,Cn,Tt,he),br.style.minWidth="0.853em",Wn=.833/ct):Fe.type==="large"?(Cn=(1e3+Hn)*Xt[Fe.size],$r=(Xt[Fe.size]+Tt)/ct,Ir=(Xt[Fe.size]+Tt+Ci)/ct,br=Hi("sqrtSize"+Fe.size,Ir,Cn,Tt,he),br.style.minWidth="1.02em",Wn=1/ct):(Ir=$+Tt+Ci,$r=$+Tt,Cn=Math.floor(1e3*$+Tt)+Hn,br=Hi("sqrtTall",Ir,Cn,Tt,he),br.style.minWidth="0.742em",Wn=1.056),br.height=$r,br.style.height=Ir+"em",{span:br,advanceWidth:Wn,ruleWidth:(he.fontMetrics().sqrtRuleThickness+Tt)*ct}},Rr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Qr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Nr=["<",">","\\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(Rr,$)||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;Tt<ge.length&&!(ge[Tt].type==="stack");Tt++){var br=Yn($,pn(ge[Tt]),"math"),Ir=br.height+br.depth;if(ge[Tt].type==="small"){var $r=Fe.havingBaseStyle(ge[Tt].style);Ir*=$r.sizeMultiplier}if(Ir>he)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(Rr,$)?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<ge.length;br++)ge[br].isMiddle?Tt=!0:(Fe=Math.max(ge[br].height,Fe),ct=Math.max(ge[br].depth,ct));Fe*=he.sizeMultiplier,ct*=he.sizeMultiplier;var Ir;if($.left==="."?Ir=ti(he,["mopen"]):Ir=Qn.leftRightDelim($.left,Fe,ct,he,$.mode,["mopen"]),ge.unshift(Ir),Tt)for(var $r=1;$r<ge.length;$r++){var Cn=ge[$r],Wn=Cn.isMiddle;Wn&&(ge[$r]=Qn.leftRightDelim(Wn.delim,Fe,ct,Wn.options,$.mode,[]))}var si;if($.right===".")si=ti(he,["mclose"]);else{var Ei=$.rightColor?he.withColor($.rightColor):he;si=Qn.leftRightDelim($.right,Fe,ct,Ei,$.mode,["mclose"])}return ge.push(si),nr.makeSpan(["minner"],ge,he)},mathmlBuilder:function($,he){ua($);var ge=Pi($.body,he);if($.left!=="."){var Fe=new pi.MathNode("mo",[ln($.left,$.mode)]);Fe.setAttribute("fence","true"),ge.unshift(Fe)}if($.right!=="."){var ct=new pi.MathNode("mo",[ln($.right,$.mode)]);ct.setAttribute("fence","true"),$.rightColor&&ct.setAttribute("mathcolor",$.rightColor),ge.push(ct)}return Oi(ge)}}),on({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function($,he){var ge=ra(he[0],$);if(!$.parser.leftrightDepth)throw new c("\\middle without preceding \\left",ge);return{type:"middle",mode:$.parser.mode,delim:ge.text}},htmlBuilder:function($,he){var ge;if($.delim===".")ge=ti(he,[]);else{ge=Qn.sizedDelim($.delim,1,he,$.mode,[]);var Fe={delim:$.delim,options:he};ge.isMiddle=Fe}return ge},mathmlBuilder:function($,he){var ge=$.delim==="\\vert"||$.delim==="|"?ln("|","text"):ln($.delim,$.mode),Fe=new pi.MathNode("mo",[ge]);return Fe.setAttribute("fence","true"),Fe.setAttribute("lspace","0.05em"),Fe.setAttribute("rspace","0.05em"),Fe}});var da=function($,he){var ge=nr.wrapFragment(di($.body,he),he),Fe=$.label.substr(1),ct=he.sizeMultiplier,Tt,br=0,Ir=v.isCharacterBox($.body);if(Fe==="sout")Tt=nr.makeSpan(["stretchy","sout"]),Tt.height=he.fontMetrics().defaultRuleThickness/ct,br=-.5*he.fontMetrics().xHeight;else{/cancel/.test(Fe)?Ir||ge.classes.push("cancel-pad"):ge.classes.push("boxpad");var $r=0,Cn=0;/box/.test(Fe)?(Cn=Math.max(he.fontMetrics().fboxrule,he.minRuleThickness),$r=he.fontMetrics().fboxsep+(Fe==="colorbox"?0:Cn)):$r=Ir?.2:0,Tt=In.encloseSpan(ge,Fe,$r,he),/fbox|boxed|fcolorbox/.test(Fe)&&(Tt.style.borderStyle="solid",Tt.style.borderWidth=Cn+"em"),br=ge.depth+$r,$.backgroundColor&&(Tt.style.backgroundColor=$.backgroundColor,$.borderColor&&(Tt.style.borderColor=$.borderColor))}var Wn;return $.backgroundColor?Wn=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tt,shift:br},{type:"elem",elem:ge,shift:0}]},he):Wn=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ge,shift:0},{type:"elem",elem:Tt,shift:br,wrapperClasses:/cancel/.test(Fe)?["svg-align"]:[]}]},he),/cancel/.test(Fe)&&(Wn.height=ge.height,Wn.depth=ge.depth),/cancel/.test(Fe)&&!Ir?nr.makeSpan(["mord","cancel-lap"],[Wn],he):nr.makeSpan(["mord"],[Wn],he)},sa=function($,he){var ge=0,Fe=new pi.MathNode($.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Kt($.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;Ir<he.length;++Ir)fa[he[Ir]]=br;ct&&(Wr[$]=ct),Tt&&(En[$]=Tt)}function Di(ft){var $=[];ft.consumeSpaces();for(var he=ft.fetch().text;he==="\\hline"||he==="\\hdashline";)ft.consume(),$.push(he==="\\hdashline"),ft.consumeSpaces(),he=ft.fetch().text;return $}function na(ft,$,he){var ge=$.hskipBeforeAndAfter,Fe=$.addJot,ct=$.cols,Tt=$.arraystretch,br=$.colSeparationType;if(ft.gullet.beginGroup(),ft.gullet.macros.set("\\\\","\\cr"),!Tt){var Ir=ft.gullet.expandMacroAsText("\\arraystretch");if(Ir==null)Tt=1;else if(Tt=parseFloat(Ir),!Tt||Tt<0)throw new c("Invalid \\arraystretch: "+Ir)}ft.gullet.beginGroup();var $r=[],Cn=[$r],Wn=[],si=[];for(si.push(Di(ft));;){var Ei=ft.parseExpression(!1,"\\cr");ft.gullet.endGroup(),ft.gullet.beginGroup(),Ei={type:"ordgroup",mode:ft.mode,body:Ei},he&&(Ei={type:"styling",mode:ft.mode,style:he,body:[Ei]}),$r.push(Ei);var zi=ft.fetch().text;if(zi==="&")ft.consume();else if(zi==="\\end"){$r.length===1&&Ei.type==="styling"&&Ei.body[0].body.length===0&&Cn.pop(),si.length<Cn.length+1&&si.push([]);break}else if(zi==="\\cr"){var la=Xr(ft.parseFunction(),"cr");Wn.push(la.size),si.push(Di(ft)),$r=[],Cn.push($r)}else throw new c("Expected & or \\\\ or \\cr or \\end",ft.nextToken)}return ft.gullet.endGroup(),ft.gullet.endGroup(),{type:"array",mode:ft.mode,addJot:Fe,arraystretch:Tt,body:Cn,cols:ct,rowGaps:Wn,hskipBeforeAndAfter:ge,hLinesBeforeRow:si,colSeparationType:br}}function Zi(ft){return ft.substr(0,1)==="d"?"display":"text"}var ba=function($,he){var ge,Fe,ct=$.body.length,Tt=$.hLinesBeforeRow,br=0,Ir=new Array(ct),$r=[],Cn=Math.max(he.fontMetrics().arrayRuleWidth,he.minRuleThickness),Wn=1/he.fontMetrics().ptPerEm,si=5*Wn;if($.colSeparationType&&$.colSeparationType==="small"){var Ei=he.havingStyle(K.SCRIPT).sizeMultiplier;si=.2778*(Ei/he.sizeMultiplier)}var zi=12*Wn,la=3*Wn,va=$.arraystretch*zi,$a=.7*va,eo=.3*va,ro=0;function Lo(Us){for(var Ga=0;Ga<Us.length;++Ga)Ga>0&&(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;br<Eo.length&&(br=Eo.length);var wo=new Array(Eo.length);for(Fe=0;Fe<Eo.length;++Fe){var ts=di(Eo[Fe],he);po<ts.depth&&(po=ts.depth),Gi<ts.height&&(Gi=ts.height),wo[Fe]=ts}var No=$.rowGaps[ge],Io=0;No&&(Io=ar(No,he),Io>0&&(Io+=eo,po<Io&&(po=Io),Io=0)),$.addJot&&(po+=la),wo.height=Gi,wo.depth=po,ro+=Gi,wo.pos=ro,ro+=po+Io,Ir[ge]=wo,Lo(Tt[ge+1])}var Ko=ro/2+he.fontMetrics().axisHeight,bs=$.cols||[],ls=[],cs,ws;for(Fe=0,ws=0;Fe<br||ws<bs.length;++Fe,++ws){for(var us=bs[ws]||{},Ys=!0;us.type==="separator";){if(Ys||(cs=nr.makeSpan(["arraycolsep"],[]),cs.style.width=he.fontMetrics().doubleRuleSep+"em",ls.push(cs)),us.separator==="|"||us.separator===":"){var dl=us.separator==="|"?"solid":"dashed",gs=nr.makeSpan(["vertical-separator"],[],he);gs.style.height=ro+"em",gs.style.borderRightWidth=Cn+"em",gs.style.borderRightStyle=dl,gs.style.margin="0 -"+Cn/2+"em",gs.style.verticalAlign=-(ro-Ko)+"em",ls.push(gs)}else throw new c("Invalid separator type: "+us.separator);ws++,us=bs[ws]||{},Ys=!1}if(Fe>=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;ge<ct;++ge){var Qs=Ir[ge],Ds=Qs[Fe];if(!Ds)continue;var Vs=Qs.pos-Ko;Ds.depth=Qs.depth,Ds.height=Qs.height,is.push({type:"elem",elem:Ds,shift:Vs})}is=nr.makeVList({positionType:"individualShift",children:is},he),is=nr.makeSpan(["col-align-"+(us.align||"c")],[is]),ls.push(is),(Fe<br-1||$.hskipBeforeAndAfter)&&(Do=v.deflt(us.postgap,si),Do!==0&&(cs=nr.makeSpan(["arraycolsep"],[]),cs.style.width=Do+"em",ls.push(cs)))}if(Ir=nr.makeSpan(["mtable"],ls),$r.length>0){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",[Kt(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;si<Wn;si++)br[si].type==="align"?(Tt+=Ta[br[si].align],$r&&(Ir+="none "),$r=!0):br[si].type==="separator"&&($r&&(Ir+=br[si].separator==="|"?"solid ":"dashed ",$r=!1));ge.setAttribute("columnalign",Tt.trim()),/[sd]/.test(Ir)&&ge.setAttribute("columnlines",Ir.trim())}if($.colSeparationType==="align"){for(var Ei=$.cols||[],zi="",la=1;la<Ei.length;la++)zi+=la%2?"0em ":"1em ";ge.setAttribute("columnspacing",zi.trim())}else $.colSeparationType==="alignat"?ge.setAttribute("columnspacing","0em"):$.colSeparationType==="small"?ge.setAttribute("columnspacing","0.2778em"):ge.setAttribute("columnspacing","1em");var va="",$a=$.hLinesBeforeRow;ct+=$a[0].length>0?"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;Cn<Ir.body.length;Cn++){var Wn=Xr(Ir.body[Cn],"textord");$r+=Wn.text}ct=Number($r),Tt=ct*2}var si=!Tt;Fe.body.forEach(function(va){for(var $a=1;$a<va.length;$a+=2){var eo=Xr(va[$a],"styling"),ro=Xr(eo.body[0],"ordgroup");ro.body.unshift(br)}if(si)Tt<va.length&&(Tt=va.length);else{var Lo=va.length/2;if(ct<Lo)throw new c("Too many math in a row: "+("expected "+ct+", but got "+Lo),va[0])}});for(var Ei=0;Ei<Tt;++Ei){var zi="r",la=0;Ei%2===1?zi="l":Ei>0&&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<ct.body.length;++br)Tt+=Xr(ct.body[br],"textord").text;if(Fe==="\\begin"){if(!ga.hasOwnProperty(Tt))throw new c("No such environment: "+Tt,ct);var Ir=ga[Tt],$r=ge.parseArguments("\\begin{"+Tt+"}",Ir),Cn=$r.args,Wn=$r.optArgs,si={mode:ge.mode,envName:Tt,parser:ge},Ei=Ir.handler(si,Cn,Wn);ge.expect("\\end",!1);var zi=ge.nextToken,la=Xr(ge.parseFunction(),"environment");if(la.name!==Tt)throw new c("Mismatch: \\begin{"+Tt+"} matched by \\end{"+la.name+"}",zi);return Ei}return{type:"environment",mode:ge.mode,name:Tt,nameGroup:ct}}});var Ti=nr.makeSpan;function Ea(ft,$){var he=fn(ft.body,$,!0);return Ti([ft.mclass],he,$)}function Da(ft,$){var he,ge=Pi(ft.body,$);return ft.mclass==="minner"?pi.newDocumentFragment(ge):(ft.mclass==="mord"?ft.isCharacterBox?(he=ge[0],he.type="mi"):he=new pi.MathNode("mi",ge):(ft.isCharacterBox?(he=ge[0],he.type="mo"):he=new pi.MathNode("mo",ge),ft.mclass==="mbin"?(he.attributes.lspace="0.22em",he.attributes.rspace="0.22em"):ft.mclass==="mpunct"?(he.attributes.lspace="0em",he.attributes.rspace="0.17em"):(ft.mclass==="mopen"||ft.mclass==="mclose")&&(he.attributes.lspace="0em",he.attributes.rspace="0em")),he)}on({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];return{type:"mclass",mode:ge.mode,mclass:"m"+Fe.substr(5),body:ri(ct),isCharacterBox:v.isCharacterBox(ct)}},htmlBuilder:Ea,mathmlBuilder:Da});var Na=function($){var he=$.type==="ordgroup"&&$.body.length?$.body[0]:$;return he.type==="atom"&&(he.family==="bin"||he.family==="rel")?"m"+he.family:"mord"};on({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function($,he){var ge=$.parser;return{type:"mclass",mode:ge.mode,mclass:Na(he[0]),body:[he[1]],isCharacterBox:v.isCharacterBox(he[1])}}}),on({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[1],Tt=he[0],br;Fe!=="\\stackrel"?br=Na(ct):br="mrel";var Ir={type:"op",mode:ct.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Fe!=="\\stackrel",body:ri(ct)},$r={type:"supsub",mode:Tt.mode,base:Ir,sup:Fe==="\\underset"?null:Tt,sub:Fe==="\\underset"?Tt:null};return{type:"mclass",mode:ge.mode,mclass:br,body:[$r],isCharacterBox:v.isCharacterBox($r)}},htmlBuilder:Ea,mathmlBuilder:Da});var Pa=function($,he){var ge=$.font,Fe=he.withFont(ge);return di($.body,Fe)},Ha=function($,he){var ge=$.font,Fe=he.withFont(ge);return Kt($.body,Fe)},za={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};on({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0],Tt=Fe;return Tt in za&&(Tt=za[Tt]),{type:"font",mode:ge.mode,font:Tt.slice(1),body:ct}},htmlBuilder:Pa,mathmlBuilder:Ha}),on({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function($,he){var ge=$.parser,Fe=he[0],ct=v.isCharacterBox(Fe);return{type:"mclass",mode:ge.mode,mclass:Na(Fe),body:[{type:"font",mode:ge.mode,font:"boldsymbol",body:Fe}],isCharacterBox:ct}}}),on({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=$.breakOnTokenText,Tt=ge.mode,br=ge.parseExpression(!0,ct),Ir="math"+Fe.slice(1);return{type:"font",mode:Tt,font:Ir,body:{type:"ordgroup",mode:ge.mode,body:br}}},htmlBuilder:Pa,mathmlBuilder:Ha});var wa=function($,he){var ge=he;return $==="display"?ge=ge.id>=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.height<Ir?Ir:br.height,br.depth=br.depth<$r?$r:br.depth}Tt=he.havingStyle(ct);var Cn=di($.denom,Tt,he),Wn,si,Ei;$.hasBarLine?($.barSize?(si=ar($.barSize,he),Wn=nr.makeLineSpan("frac-line",he,si)):Wn=nr.makeLineSpan("frac-line",he),si=Wn.height,Ei=Wn.height):(Wn=null,si=0,Ei=he.fontMetrics().defaultRuleThickness);var zi,la,va;ge.size===K.DISPLAY.size||$.size==="display"?(zi=he.fontMetrics().num1,si>0?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)<la&&(zi+=la-(zi-br.depth-(ro+.5*si))),ro-.5*si-(Cn.height-va)<la&&(va+=la-(ro-.5*si-(Cn.height-va)));var Lo=-(ro-.5*si);$a=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:va},{type:"elem",elem:Wn,shift:Lo},{type:"elem",elem:br,shift:-zi}]},he)}else{var eo=zi-br.depth-(Cn.height-va);eo<la&&(zi+=.5*(la-eo),va+=.5*(la-eo)),$a=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:va},{type:"elem",elem:br,shift:-zi}]},he)}Tt=he.havingStyle(ge),$a.height*=Tt.sizeMultiplier/he.sizeMultiplier,$a.depth*=Tt.sizeMultiplier/he.sizeMultiplier;var Eo;ge.size===K.DISPLAY.size?Eo=he.fontMetrics().delim1:Eo=he.fontMetrics().delim2;var Gi,po;return $.leftDelim==null?Gi=ti(he,["mopen"]):Gi=Qn.customSizedDelim($.leftDelim,Eo,!0,he.havingStyle(ge),$.mode,["mopen"]),$.continued?po=nr.makeSpan([]):$.rightDelim==null?po=ti(he,["mclose"]):po=Qn.customSizedDelim($.rightDelim,Eo,!0,he.havingStyle(ge),$.mode,["mclose"]),nr.makeSpan(["mord"].concat(Tt.sizingClasses(he)),[Gi,nr.makeSpan(["mfrac"],[$a]),po],he)},ao=function($,he){var ge=new pi.MathNode("mfrac",[Kt($.numer,he),Kt($.denom,he)]);if(!$.hasBarLine)ge.setAttribute("linethickness","0px");else if($.barSize){var Fe=ar($.barSize,he);ge.setAttribute("linethickness",Fe+"em")}var ct=wa($.size,he.style);if(ct.size!==he.style.size){ge=new pi.MathNode("mstyle",[ge]);var Tt=ct.size===K.DISPLAY.size?"true":"false";ge.setAttribute("displaystyle",Tt),ge.setAttribute("scriptlevel","0")}if($.leftDelim!=null||$.rightDelim!=null){var br=[];if($.leftDelim!=null){var Ir=new pi.MathNode("mo",[new pi.TextNode($.leftDelim.replace("\\",""))]);Ir.setAttribute("fence","true"),br.push(Ir)}if(br.push(ge),$.rightDelim!=null){var $r=new pi.MathNode("mo",[new pi.TextNode($.rightDelim.replace("\\",""))]);$r.setAttribute("fence","true"),br.push($r)}return Oi(br)}return ge};on({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0],Tt=he[1],br,Ir=null,$r=null,Cn="auto";switch(Fe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":br=!0;break;case"\\\\atopfrac":br=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":br=!1,Ir="(",$r=")";break;case"\\\\bracefrac":br=!1,Ir="\\{",$r="\\}";break;case"\\\\brackfrac":br=!1,Ir="[",$r="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Fe){case"\\cfrac":case"\\dfrac":case"\\dbinom":Cn="display";break;case"\\tfrac":case"\\tbinom":Cn="text";break}return{type:"genfrac",mode:ge.mode,continued:Fe==="\\cfrac",numer:ct,denom:Tt,hasBarLine:br,leftDelim:Ir,rightDelim:$r,size:Cn,barSize:null}},htmlBuilder:Ka,mathmlBuilder:ao}),on({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function($){var he=$.parser,ge=$.funcName,Fe=$.token,ct;switch(ge){case"\\over":ct="\\frac";break;case"\\choose":ct="\\binom";break;case"\\atop":ct="\\\\atopfrac";break;case"\\brace":ct="\\\\bracefrac";break;case"\\brack":ct="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:he.mode,replaceWith:ct,token:Fe}}});var ea=["display","text","script","scriptscript"],lo=function($){var he=null;return $.length>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",[Kt($.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;Tt<Fe.length;Tt++){var br=Fe[Tt];br==="~"&&(br="\\textasciitilde"),ct.push({type:"textord",mode:"text",text:br})}var Ir={type:"text",mode:ge.mode,font:"\\texttt",body:ct};return{type:"href",mode:ge.mode,href:Fe,body:ri(Ir)}}}),on({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function($,he){var ge=$.parser;return{type:"htmlmathml",mode:ge.mode,html:ri(he[0]),mathml:ri(he[1])}},htmlBuilder:function($,he){var ge=fn($.html,he,!1);return nr.makeFragment(ge)},mathmlBuilder:function($,he){return aa($.mathml,he)}});var Ja=function($){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test($))return{number:+$,unit:"bp"};var he=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec($);if(!he)throw new c("Invalid size: '"+$+"' in \\includegraphics");var ge={number:+(he[1]+he[2]),unit:he[3]};if(!gr(ge))throw new c("Invalid unit: '"+ge.unit+"' in \\includegraphics.");return ge};on({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function($,he,ge){var Fe=$.parser,ct={number:0,unit:"em"},Tt={number:.9,unit:"em"},br={number:0,unit:"em"},Ir="";if(ge[0])for(var $r=Xr(ge[0],"raw").string,Cn=$r.split(","),Wn=0;Wn<Cn.length;Wn++){var si=Cn[Wn].split("=");if(si.length===2){var Ei=si[1].trim();switch(si[0].trim()){case"alt":Ir=Ei;break;case"width":ct=Ja(Ei);break;case"height":Tt=Ja(Ei);break;case"totalheight":br=Ja(Ei);break;default:throw new c("Invalid key: '"+si[0]+"' in \\includegraphics.")}}}var zi=Xr(he[0],"url").url;return Ir===""&&(Ir=zi,Ir=Ir.replace(/^.*[\\/]/,""),Ir=Ir.substring(0,Ir.lastIndexOf("."))),Fe.settings.isTrusted({command:"\\includegraphics",url:zi})?{type:"includegraphics",mode:Fe.mode,alt:Ir,width:ct,height:Tt,totalheight:br,src:zi}:Fe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function($,he){var ge=ar($.height,he),Fe=0;$.totalheight.number>0&&(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",[Kt($.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;$a<Tt.name.length;$a++)va.push(nr.mathsym(Tt.name[$a],Tt.mode,he));Cn=nr.makeSpan(["mop"],va,he)}var eo=0,ro=0;return(Cn instanceof Ke||Tt.name==="\\oiint"||Tt.name==="\\oiiint")&&!Tt.suppressBaseShift&&(eo=(Cn.height-Cn.depth)/2-he.fontMetrics().axisHeight,ro=Cn.italic),ct?ka(Cn,ge,Fe,he,Ir,ro,eo):(eo&&(Cn.style.position="relative",Cn.style.top=eo+"em"),Cn)},_o=function($,he){var ge;if($.symbol)ge=new ia("mo",[ln($.name,$.mode)]),v.contains(yo,$.name)&&ge.setAttribute("largeop","false");else if($.body)ge=new ia("mo",Pi($.body,he));else{ge=new ia("mi",[new qi($.name.slice(1))]);var Fe=new ia("mo",[ln("\u2061","text")]);$.parentIsSupSub?ge=new ia("mo",[ge,Fe]):ge=Ki([ge,Fe])}return ge},co={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};on({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=Fe;return ct.length===1&&(ct=co[ct]),{type:"op",mode:ge.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ct}},htmlBuilder:to,mathmlBuilder:_o}),on({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=he[0];return{type:"op",mode:ge.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ri(Fe)}},htmlBuilder:to,mathmlBuilder:_o});var uo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};on({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function($){var he=$.parser,ge=$.funcName;return{type:"op",mode:he.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ge}},htmlBuilder:to,mathmlBuilder:_o}),on({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function($){var he=$.parser,ge=$.funcName;return{type:"op",mode:he.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ge}},htmlBuilder:to,mathmlBuilder:_o}),on({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function($){var he=$.parser,ge=$.funcName,Fe=ge;return Fe.length===1&&(Fe=uo[Fe]),{type:"op",mode:he.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Fe}},htmlBuilder:to,mathmlBuilder:_o});var Qa=function($,he){var ge,Fe,ct=!1,Tt,br=Br($,"supsub");br?(ge=br.sup,Fe=br.sub,Tt=Xr(br.base,"operatorname"),ct=!0):Tt=Xr($,"operatorname");var Ir;if(Tt.body.length>0){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<Cn.length;Wn++){var si=Cn[Wn];si instanceof Ke&&(si.text=si.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ir=nr.makeSpan(["mop"],Cn,he)}else Ir=nr.makeSpan(["mop"],[],he);return ct?ka(Ir,ge,Fe,he,he.style,0,0):Ir},Za=function($,he){for(var ge=Pi($.body,he.withFont("mathrm")),Fe=!0,ct=0;ct<ge.length;ct++){var Tt=ge[ct];if(!(Tt instanceof pi.SpaceNode))if(Tt instanceof pi.MathNode)switch(Tt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var br=Tt.children[0];Tt.children.length===1&&br instanceof pi.TextNode?br.text=br.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Fe=!1;break}default:Fe=!1}else Fe=!1}if(Fe){var Ir=ge.map(function(Wn){return Wn.toText()}).join("");ge=[new pi.TextNode(Ir)]}var $r=new pi.MathNode("mi",ge);$r.setAttribute("mathvariant","normal");var Cn=new pi.MathNode("mo",[ln("\u2061","text")]);return $.parentIsSupSub?new pi.MathNode("mo",[$r,Cn]):pi.newDocumentFragment([$r,Cn])};on({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];return{type:"operatorname",mode:ge.mode,body:ri(ct),alwaysHandleSupSub:Fe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Qa,mathmlBuilder:Za}),ci({type:"ordgroup",htmlBuilder:function($,he){return $.semisimple?nr.makeFragment(fn($.body,he,!1)):nr.makeSpan(["mord"],fn($.body,he,!0),he)},mathmlBuilder:function($,he){return aa($.body,he,!0)}}),on({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=he[0];return{type:"overline",mode:ge.mode,body:Fe}},htmlBuilder:function($,he){var ge=di($.body,he.havingCrampedStyle()),Fe=nr.makeLineSpan("overline-line",he),ct=he.fontMetrics().defaultRuleThickness,Tt=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge},{type:"kern",size:3*ct},{type:"elem",elem:Fe},{type:"kern",size:ct}]},he);return nr.makeSpan(["mord","overline"],[Tt],he)},mathmlBuilder:function($,he){var ge=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ge.setAttribute("stretchy","true");var Fe=new pi.MathNode("mover",[Kt($.body,he),ge]);return Fe.setAttribute("accent","true"),Fe}}),on({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=he[0];return{type:"phantom",mode:ge.mode,body:ri(Fe)}},htmlBuilder:function($,he){var ge=fn($.body,he.withPhantom(),!1);return nr.makeFragment(ge)},mathmlBuilder:function($,he){var ge=Pi($.body,he);return new pi.MathNode("mphantom",ge)}}),on({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=he[0];return{type:"hphantom",mode:ge.mode,body:Fe}},htmlBuilder:function($,he){var ge=nr.makeSpan([],[di($.body,he.withPhantom())]);if(ge.height=0,ge.depth=0,ge.children)for(var Fe=0;Fe<ge.children.length;Fe++)ge.children[Fe].height=0,ge.children[Fe].depth=0;return ge=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge}]},he),nr.makeSpan(["mord"],[ge],he)},mathmlBuilder:function($,he){var ge=Pi(ri($.body),he),Fe=new pi.MathNode("mphantom",ge),ct=new pi.MathNode("mpadded",[Fe]);return ct.setAttribute("height","0px"),ct.setAttribute("depth","0px"),ct}}),on({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=he[0];return{type:"vphantom",mode:ge.mode,body:Fe}},htmlBuilder:function($,he){var ge=nr.makeSpan(["inner"],[di($.body,he.withPhantom())]),Fe=nr.makeSpan(["fix"],[]);return nr.makeSpan(["mord","rlap"],[ge,Fe],he)},mathmlBuilder:function($,he){var ge=Pi(ri($.body),he),Fe=new pi.MathNode("mphantom",ge),ct=new pi.MathNode("mpadded",[Fe]);return ct.setAttribute("width","0px"),ct}}),on({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=Xr(he[0],"size").value,ct=he[1];return{type:"raisebox",mode:ge.mode,dy:Fe,body:ct}},htmlBuilder:function($,he){var ge=di($.body,he),Fe=ar($.dy,he);return nr.makeVList({positionType:"shift",positionData:-Fe,children:[{type:"elem",elem:ge}]},he)},mathmlBuilder:function($,he){var ge=new pi.MathNode("mpadded",[Kt($.body,he)]),Fe=$.dy.number+$.dy.unit;return ge.setAttribute("voffset",Fe),ge}}),on({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function($,he,ge){var Fe=$.parser,ct=ge[0],Tt=Xr(he[0],"size"),br=Xr(he[1],"size");return{type:"rule",mode:Fe.mode,shift:ct&&Xr(ct,"size").value,width:Tt.value,height:br.value}},htmlBuilder:function($,he){var ge=nr.makeSpan(["mord","rule"],[],he),Fe=ar($.width,he),ct=ar($.height,he),Tt=$.shift?ar($.shift,he):0;return ge.style.borderRightWidth=Fe+"em",ge.style.borderTopWidth=ct+"em",ge.style.bottom=Tt+"em",ge.width=Fe,ge.height=ct+Tt,ge.depth=-Tt,ge.maxFontSize=ct*1.125*he.sizeMultiplier,ge},mathmlBuilder:function($,he){var ge=ar($.width,he),Fe=ar($.height,he),ct=$.shift?ar($.shift,he):0,Tt=he.color&&he.getColor()||"black",br=new pi.MathNode("mspace");br.setAttribute("mathbackground",Tt),br.setAttribute("width",ge+"em"),br.setAttribute("height",Fe+"em");var Ir=new pi.MathNode("mpadded",[br]);return ct>=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;ct<ge.length;ct++){var Tt=ge[ct].classes.indexOf("sizing");Tt<0?Array.prototype.push.apply(ge[ct].classes,$.sizingClasses(he)):ge[ct].classes[Tt+1]==="reset-size"+$.size&&(ge[ct].classes[Tt+1]="reset-size"+he.size),ge[ct].height*=Fe,ge[ct].depth*=Fe}return nr.makeFragment(ge)}var no=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fo=function($,he){var ge=he.havingSize($.size);return Ca($.body,ge,he)};on({type:"sizing",names:no,props:{numArgs:0,allowedInText:!0},handler:function($,he){var ge=$.breakOnTokenText,Fe=$.funcName,ct=$.parser,Tt=ct.parseExpression(!1,ge);return{type:"sizing",mode:ct.mode,size:no.indexOf(Fe)+1,body:Tt}},htmlBuilder:fo,mathmlBuilder:function($,he){var ge=he.havingSize($.size),Fe=Pi($.body,ge),ct=new pi.MathNode("mstyle",Fe);return ct.setAttribute("mathsize",ge.sizeMultiplier+"em"),ct}}),on({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function($,he,ge){var Fe=$.parser,ct=!1,Tt=!1,br=ge[0]&&Xr(ge[0],"ordgroup");if(br)for(var Ir="",$r=0;$r<br.body.length;++$r){var Cn=br.body[$r];if(Ir=Cn.text,Ir==="t")ct=!0;else if(Ir==="b")Tt=!0;else{ct=!1,Tt=!1;break}}else ct=!0,Tt=!0;var Wn=he[0];return{type:"smash",mode:Fe.mode,body:Wn,smashHeight:ct,smashDepth:Tt}},htmlBuilder:function($,he){var ge=nr.makeSpan([],[di($.body,he)]);if(!$.smashHeight&&!$.smashDepth)return ge;if($.smashHeight&&(ge.height=0,ge.children))for(var Fe=0;Fe<ge.children.length;Fe++)ge.children[Fe].height=0;if($.smashDepth&&(ge.depth=0,ge.children))for(var ct=0;ct<ge.children.length;ct++)ge.children[ct].depth=0;var Tt=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge}]},he);return nr.makeSpan(["mord"],[Tt],he)},mathmlBuilder:function($,he){var ge=new pi.MathNode("mpadded",[Kt($.body,he)]);return $.smashHeight&&ge.setAttribute("height","0px"),$.smashDepth&&ge.setAttribute("depth","0px"),ge}}),on({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function($,he,ge){var Fe=$.parser,ct=ge[0],Tt=he[0];return{type:"sqrt",mode:Fe.mode,body:Tt,index:ct}},htmlBuilder:function($,he){var ge=di($.body,he.havingCrampedStyle());ge.height===0&&(ge.height=he.fontMetrics().xHeight),ge=nr.wrapFragment(ge,he);var Fe=he.fontMetrics(),ct=Fe.defaultRuleThickness,Tt=ct;he.style.id<K.TEXT.id&&(Tt=he.fontMetrics().xHeight);var br=ct+Tt/4,Ir=ge.height+ge.depth+br+ct,$r=Qn.sqrtImage(Ir,he),Cn=$r.span,Wn=$r.ruleWidth,si=$r.advanceWidth,Ei=Cn.height-Wn;Ei>ge.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",[Kt(ge,he),Kt(Fe,he)]):new pi.MathNode("msqrt",[Kt(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)<po){si=po-(Wn-Ir.depth)+$r.height;var wo=.8*Cn.xHeight-(Wn-Ir.depth);wo>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=[Kt($.base,he)];$.sub&&br.push(Kt($.sub,he)),$.sup&&br.push(Kt($.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",[Kt($.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;Tt<ge.length;Tt++){var br=ge[Tt];br==="~"&&(br="\\textasciitilde"),Fe.push(nr.makeSymbol(br,"Typewriter-Regular",$.mode,ct,["mord","texttt"]))}return nr.makeSpan(["mord","text"].concat(ct.sizingClasses(he)),nr.tryCombineChars(Fe),ct)},mathmlBuilder:function($,he){var ge=new pi.TextNode(ho($)),Fe=new pi.MathNode("mtext",[ge]);return Fe.setAttribute("mathvariant","monospace"),Fe}});var ho=function($){return $.body.replace(/ /g,$.star?"\u2423":"\xA0")},Oo=gn,Fa=Oo,Qo=`[ \r
|
|
|
]`,el="\\\\[a-zA-Z@]+",Es="\\\\[^\uD800-\uDFFF]",Ns=""+el+Qo+"*",Cs=new RegExp("^("+el+")"+Qo+"*$"),As="[\u0300-\u036F]",vs=new RegExp(As+"+$"),jo="("+Qo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(As+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(As+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ns)+("|"+Es+")"),go=function(){function ft(he,ge){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=he,this.settings=ge,this.tokenRegex=new RegExp(jo,"g"),this.catcodes={"%":14}}var $=ft.prototype;return $.setCatcode=function(ge,Fe){this.catcodes[ge]=Fe},$.lex=function(){var ge=this.input,Fe=this.tokenRegex.lastIndex;if(Fe===ge.length)return new f("EOF",new g(this,Fe,Fe));var ct=this.tokenRegex.exec(ge);if(ct===null||ct.index!==Fe)throw new c("Unexpected character: '"+ge[Fe]+"'",new f(ge[Fe],new g(this,Fe,Fe+1)));var Tt=ct[2]||" ";if(this.catcodes[Tt]===14){var br=ge.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return br===-1?(this.tokenRegex.lastIndex=ge.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=br+1,this.lex()}var Ir=Tt.match(Cs);return Ir&&(Tt=Ir[1]),new f(Tt,new g(this,Fe,this.tokenRegex.lastIndex))},ft}(),es=function(){function ft(he,ge){he===void 0&&(he={}),ge===void 0&&(ge={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ge,this.builtins=he,this.undefStack=[]}var $=ft.prototype;return $.beginGroup=function(){this.undefStack.push({})},$.endGroup=function(){if(this.undefStack.length===0)throw new c("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ge=this.undefStack.pop();for(var Fe in ge)ge.hasOwnProperty(Fe)&&(ge[Fe]===void 0?delete this.current[Fe]:this.current[Fe]=ge[Fe])},$.has=function(ge){return this.current.hasOwnProperty(ge)||this.builtins.hasOwnProperty(ge)},$.get=function(ge){return this.current.hasOwnProperty(ge)?this.current[ge]:this.builtins[ge]},$.set=function(ge,Fe,ct){if(ct===void 0&&(ct=!1),ct){for(var Tt=0;Tt<this.undefStack.length;Tt++)delete this.undefStack[Tt][ge];this.undefStack.length>0&&(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<he;)ge*=he,ge+=Fe,ft.popToken()}return"\\@char{"+ge+"}"});var tl=function($,he){var ge=$.consumeArgs(1)[0];if(ge.length!==1)throw new c("\\gdef's first argument must be a macro name");var Fe=ge[0].text,ct=0;for(ge=$.consumeArgs(1)[0];ge.length===1&&ge[0].text==="#";){if(ge=$.consumeArgs(1)[0],ge.length!==1)throw new c('Invalid argument number length "'+ge.length+'"');if(!/^[1-9]$/.test(ge[0].text))throw new c('Invalid argument number "'+ge[0].text+'"');if(ct++,parseInt(ge[0].text)!==ct)throw new c('Argument number "'+ge[0].text+'" out of order');ge=$.consumeArgs(1)[0]}return $.macros.set(Fe,{tokens:ge,numArgs:ct},he),""};zr("\\gdef",function(ft){return tl(ft,!0)}),zr("\\def",function(ft){return tl(ft,!1)}),zr("\\global",function(ft){var $=ft.consumeArgs(1)[0];if($.length!==1)throw new c("Invalid command after \\global");var he=$[0].text;if(he==="\\def")return tl(ft,!0);throw new c("Invalid command '"+he+"' after \\global")});var Ks=function($,he,ge){var Fe=$.consumeArgs(1)[0];if(Fe.length!==1)throw new c("\\newcommand's first argument must be a macro name");var ct=Fe[0].text,Tt=$.isDefined(ct);if(Tt&&!he)throw new c("\\newcommand{"+ct+"} attempting to redefine "+(ct+"; use \\renewcommand"));if(!Tt&&!ge)throw new c("\\renewcommand{"+ct+"} when command "+ct+" does not yet exist; use \\newcommand");var br=0;if(Fe=$.consumeArgs(1)[0],Fe.length===1&&Fe[0].text==="["){for(var Ir="",$r=$.expandNextToken();$r.text!=="]"&&$r.text!=="EOF";)Ir+=$r.text,$r=$.expandNextToken();if(!Ir.match(/^\s*[0-9]+\s*$/))throw new c("Invalid number of arguments: "+Ir);br=parseInt(Ir),Fe=$.consumeArgs(1)[0]}return $.macros.set(ct,{tokens:Fe,numArgs:br}),""};zr("\\newcommand",function(ft){return Ks(ft,!1,!0)}),zr("\\renewcommand",function(ft){return Ks(ft,!0,!1)}),zr("\\providecommand",function(ft){return Ks(ft,!0,!0)}),zr("\\bgroup","{"),zr("\\egroup","}"),zr("\\lq","`"),zr("\\rq","'"),zr("\\aa","\\r a"),zr("\\AA","\\r A"),zr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),zr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),zr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),zr("\u212C","\\mathscr{B}"),zr("\u2130","\\mathscr{E}"),zr("\u2131","\\mathscr{F}"),zr("\u210B","\\mathscr{H}"),zr("\u2110","\\mathscr{I}"),zr("\u2112","\\mathscr{L}"),zr("\u2133","\\mathscr{M}"),zr("\u211B","\\mathscr{R}"),zr("\u212D","\\mathfrak{C}"),zr("\u210C","\\mathfrak{H}"),zr("\u2128","\\mathfrak{Z}"),zr("\\Bbbk","\\Bbb{k}"),zr("\xB7","\\cdotp"),zr("\\llap","\\mathllap{\\textrm{#1}}"),zr("\\rlap","\\mathrlap{\\textrm{#1}}"),zr("\\clap","\\mathclap{\\textrm{#1}}"),zr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),zr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),zr("\\ne","\\neq"),zr("\u2260","\\neq"),zr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),zr("\u2209","\\notin"),zr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),zr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),zr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),zr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),zr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),zr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),zr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),zr("\u27C2","\\perp"),zr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),zr("\u220C","\\notni"),zr("\u231C","\\ulcorner"),zr("\u231D","\\urcorner"),zr("\u231E","\\llcorner"),zr("\u231F","\\lrcorner"),zr("\xA9","\\copyright"),zr("\xAE","\\textregistered"),zr("\uFE0F","\\textregistered"),zr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),zr("\u22EE","\\vdots"),zr("\\varGamma","\\mathit{\\Gamma}"),zr("\\varDelta","\\mathit{\\Delta}"),zr("\\varTheta","\\mathit{\\Theta}"),zr("\\varLambda","\\mathit{\\Lambda}"),zr("\\varXi","\\mathit{\\Xi}"),zr("\\varPi","\\mathit{\\Pi}"),zr("\\varSigma","\\mathit{\\Sigma}"),zr("\\varUpsilon","\\mathit{\\Upsilon}"),zr("\\varPhi","\\mathit{\\Phi}"),zr("\\varPsi","\\mathit{\\Psi}"),zr("\\varOmega","\\mathit{\\Omega}"),zr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),zr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),zr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),zr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),zr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),zr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ps={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\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;ct<ge;++ct){this.consumeSpaces();var Tt=this.popToken();if(Tt.text==="{"){for(var br=[],Ir=1;Ir!==0;){var $r=this.popToken();if(br.push($r),$r.text==="{")++Ir;else if($r.text==="}")--Ir;else if($r.text==="EOF")throw new c("End of input in macro argument",Tt)}br.pop(),br.reverse(),Fe[ct]=br}else{if(Tt.text==="EOF")throw new c("End of input expecting macro argument");Fe[ct]=[Tt]}}return Fe},$.expandOnce=function(){var ge=this.popToken(),Fe=ge.text,ct=this._getExpansion(Fe);if(ct==null)return this.pushToken(ge),ge;if(this.expansionCount++,this.expansionCount>this.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;Tt<ge.length;Tt++){var br=Br(ge[Tt],"infix");if(br){if(Fe!==-1)throw new c("only one infix operator per group",br.token);Fe=Tt,ct=br.replaceWith}}if(Fe!==-1&&ct){var Ir,$r,Cn=ge.slice(0,Fe),Wn=ge.slice(Fe+1);Cn.length===1&&Cn[0].type==="ordgroup"?Ir=Cn[0]:Ir={type:"ordgroup",mode:this.mode,body:Cn},Wn.length===1&&Wn[0].type==="ordgroup"?$r=Wn[0]:$r={type:"ordgroup",mode:this.mode,body:Wn};var si;return ct==="\\\\abovefrac"?si=this.callFunction(ct,[Ir,ge[Fe],$r],[]):si=this.callFunction(ct,[Ir,$r],[]),[si]}else return ge},$.handleSupSubscript=function(ge){var Fe=this.fetch(),ct=Fe.text;this.consume();var Tt=this.parseGroup(ge,!1,ft.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Tt)throw new c("Expected group after '"+ct+"'",Fe);return Tt},$.formatUnsupportedCmd=function(ge){for(var Fe=[],ct=0;ct<ge.length;ct++)Fe.push({type:"textord",mode:"text",text:ge[ct]});var Tt={type:"text",mode:this.mode,body:Fe},br={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Tt]};return br},$.parseAtom=function(ge){var Fe=this.parseGroup("atom",!1,null,ge);if(this.mode==="text")return Fe;for(var ct,Tt;;){this.consumeSpaces();var br=this.fetch();if(br.text==="\\limits"||br.text==="\\nolimits"){var Ir=Br(Fe,"op");if(Ir){var $r=br.text==="\\limits";Ir.limits=$r,Ir.alwaysHandleSupSub=!0}else if(Ir=Br(Fe,"operatorname"),Ir&&Ir.alwaysHandleSupSub){var Cn=br.text==="\\limits";Ir.limits=Cn}else throw new c("Limit controls must follow a math operator",br);this.consume()}else if(br.text==="^"){if(ct)throw new c("Double superscript",br);ct=this.handleSupSubscript("superscript")}else if(br.text==="_"){if(Tt)throw new c("Double subscript",br);Tt=this.handleSupSubscript("subscript")}else if(br.text==="'"){if(ct)throw new c("Double superscript",br);var Wn={type:"textord",mode:this.mode,text:"\\prime"},si=[Wn];for(this.consume();this.fetch().text==="'";)si.push(Wn),this.consume();this.fetch().text==="^"&&si.push(this.handleSupSubscript("superscript")),ct={type:"ordgroup",mode:this.mode,body:si}}else break}return ct||Tt?{type:"supsub",mode:this.mode,base:Fe,sup:ct,sub:Tt}:Fe},$.parseFunction=function(ge,Fe,ct){var Tt=this.fetch(),br=Tt.text,Ir=Fa[br];if(!Ir)return null;if(this.consume(),ct!=null&&Ir.greediness<=ct)throw new c("Got function '"+br+"' with no arguments"+(Fe?" as "+Fe:""),Tt);if(this.mode==="text"&&!Ir.allowedInText)throw new c("Can't use function '"+br+"' in text mode",Tt);if(this.mode==="math"&&Ir.allowedInMath===!1)throw new c("Can't use function '"+br+"' in math mode",Tt);var $r=this.parseArguments(br,Ir),Cn=$r.args,Wn=$r.optArgs;return this.callFunction(br,Cn,Wn,Tt,ge)},$.callFunction=function(ge,Fe,ct,Tt,br){var Ir={funcName:ge,parser:this,token:Tt,breakOnTokenText:br},$r=Fa[ge];if($r&&$r.handler)return $r.handler(Ir,Fe,ct);throw new c("No function handler for "+ge)},$.parseArguments=function(ge,Fe){var ct=Fe.numArgs+Fe.numOptionalArgs;if(ct===0)return{args:[],optArgs:[]};for(var Tt=Fe.greediness,br=[],Ir=[],$r=0;$r<ct;$r++){var Cn=Fe.argTypes&&Fe.argTypes[$r],Wn=$r<Fe.numOptionalArgs,si=$r>0&&!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<Fe;++ct){var Tt=ge[ct],br=Tt.text;br==="-"&&ge[ct+1].text==="-"&&(ct+1<Fe&&ge[ct+2].text==="-"?(ge.splice(ct,3,{type:"textord",mode:"text",loc:g.range(Tt,ge[ct+2]),text:"---"}),Fe-=2):(ge.splice(ct,2,{type:"textord",mode:"text",loc:g.range(Tt,ge[ct+1]),text:"--"}),Fe-=1)),(br==="'"||br==="`")&&ge[ct+1].text===br&&(ge.splice(ct,2,{type:"textord",mode:"text",loc:g.range(Tt,ge[ct+1]),text:br+br}),Fe-=1)}},$.parseSymbol=function(){var ge=this.fetch(),Fe=ge.text;if(/^\\verb[^a-zA-Z]/.test(Fe)){this.consume();var ct=Fe.slice(5),Tt=ct.charAt(0)==="*";if(Tt&&(ct=ct.slice(1)),ct.length<2||ct.charAt(0)!==ct.slice(-1))throw new c(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return ct=ct.slice(1,-1),{type:"verb",mode:"text",body:ct,star:Tt}}ps.hasOwnProperty(Fe[0])&&!$e[this.mode][Fe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Fe[0]+'" used in math mode',ge),Fe=ps[Fe[0]]+Fe.substr(1));var br=vs.exec(Fe);br&&(Fe=Fe.substring(0,br.index),Fe==="i"?Fe="\u0131":Fe==="j"&&(Fe="\u0237"));var Ir;if($e[this.mode][Fe]){this.settings.strict&&this.mode==="math"&&zt.indexOf(Fe)>=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<br[0].length;Ei++){var zi=br[0][Ei];if(!ys[zi])throw new c("Unknown accent ' "+zi+"'",ge);var la=ys[zi][this.mode];if(!la)throw new c("Accent "+zi+" unsupported in "+this.mode+" mode",ge);Ir={type:"accent",mode:this.mode,loc:g.range(ge),label:la,isStretchy:!1,isShifty:!0,base:Ir}}return Ir},ft}();Ls.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Ls.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Ls.SUPSUB_GREEDINESS=1;var il=function($,he){if(!(typeof $=="string"||$ instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ge=new Ls($,he);delete ge.gullet.macros.current["\\df@tag"];var Fe=ge.parse();if(ge.gullet.macros.get("\\df@tag")){if(!he.displayMode)throw new c("\\tag works only in display equations");ge.gullet.feed("\\df@tag"),Fe=[{type:"tag",mode:"text",body:Fe,tag:ge.parse()}]}return Fe},Rs=il,Ws=function($,he,ge){he.textContent="";var Fe=yt($,ge).toNode();he.appendChild(Fe)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ws=function(){throw new c("KaTeX doesn't work in quirks mode.")}));var ks=function($,he){var ge=yt($,he).toMarkup();return ge},ms=function($,he){var ge=new w(he);return Rs($,ge)},Ms=function($,he,ge){if(ge.throwOnError||!($ instanceof c))throw $;var Fe=nr.makeSpan(["katex-error"],[new Ke(he)]);return Fe.setAttribute("title",$.toString()),Fe.setAttribute("style","color:"+ge.errorColor),Fe},yt=function($,he){var ge=new w(he);try{var Fe=Rs($,ge);return ze(Fe,$,ge)}catch(ct){return Ms(ct,$,ge)}},Dt=function($,he){var ge=new w(he);try{var Fe=Rs($,ge);return Ct(Fe,$,ge)}catch(ct){return Ms(ct,$,ge)}},tn={version:"0.11.1",render:Ws,renderToString:ks,ParseError:c,__parse:ms,__renderToDomTree:yt,__renderToHTMLTree:Dt,__setFontMetrics:vt,__defineSymbol:pe,__defineMacro:zr,__domTree:{Span:re,Anchor:ce,SymbolNode:Ke,SvgNode:Ie,PathNode:se,LineNode:ye}},On=p.default=tn}]).default})},P2fV:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("Q9mQ"),m=t("+L6B"),g=t("sE09"),f=t.n(g)},P2ho:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};N.default=y},P47w:function(R,N,t){var y=t("hydK"),p=y.createElement,S=t("IMiH"),m=t("mFDi"),g=t("Fofx"),f=t("6GrX"),d=t("pzxd"),c=t("dqUG"),a=S.CMD,n=Array.prototype.join,i="none",o=Math.round,r=Math.sin,l=Math.cos,e=Math.PI,s=Math.PI*2,u=180/e,h=1e-4;function A(V){return o(V*1e4)/1e4}function v(V){return V<h&&V>-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<J;){var G=X[de++],ae="",Ae=0;switch(G){case a.M:ae="M",Ae=2;break;case a.L:ae="L",Ae=2;break;case a.Q:ae="Q",Ae=4;break;case a.C:ae="C",Ae=6;break;case a.A:var me=X[de++],Me=X[de++],oe=X[de++],_e=X[de++],ee=X[de++],ne=X[de++],Ge=X[de++],Ee=X[de++],ue=Math.abs(ne),re=v(ue-s)||(Ee?ne>=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;Ye<Ae;Ye++)W.push(A(X[de++]))}return W.join(" ")}var I={};I.brush=function(V){var W=V.style,X=V.__svgEl;X||(X=p("path"),V.__svgEl=X),V.path||V.createPathProxy();var J=V.path;if(V.__dirtyPath){J.beginPath(),J.subPixelOptimize=!1,V.buildPath(J,V.shape),V.__dirtyPath=!1;var de=C(J);de.indexOf("NaN")<0&&T(X,"d",de)}x(X,W,!1,V),E(X,V.transform),W.text!=null?M(V,V.getBoundingRect()):j(V)};var L={};L.brush=function(V){var W=V.style,X=W.image;if(X instanceof HTMLImageElement){var J=X.src;X=J}if(!X)return;var de=W.x||0,G=W.y||0,ae=W.width,Ae=W.height,me=V.__svgEl;me||(me=p("image"),V.__svgEl=me),X!==V.__imageSrc&&(_(me,"href",X),V.__imageSrc=X),T(me,"width",ae),T(me,"height",Ae),T(me,"x",de),T(me,"y",G),E(me,V.transform),W.text!=null?M(V,V.getBoundingRect()):j(V)};var F={},B=new m,P={},H=[],z={left:"start",right:"end",center:"middle",middle:"middle"},M=function(W,X){var J=W.style,de=W.transform,G=W instanceof c||J.transformText;W.__dirty&&d.normalizeTextStyle(J,!0);var ae=J.text;if(ae!=null&&(ae+=""),!d.needDrawText(ae,J))return;ae==null&&(ae=""),!G&&de&&(B.copy(X),B.applyTransform(de),X=B);var Ae=W.__textSvgEl;Ae||(Ae=p("text"),W.__textSvgEl=Ae);var me=Ae.style,Me=J.font||f.DEFAULT_FONT,oe=Ae.__computedFont;Me!==Ae.__styleFont&&(me.font=Ae.__styleFont=Me,oe=Ae.__computedFont=me.font);var _e=J.textPadding,ee=J.textLineHeight,ne=W.__textCotentBlock;(!ne||W.__dirtyText)&&(ne=W.__textCotentBlock=f.parsePlainText(ae,oe,_e,ee,J.truncate));var Ge=ne.outerHeight,Ee=ne.lineHeight;d.getBoxPosition(P,W,J,X);var ue=P.baseX,re=P.baseY,ce=P.textAlign||"left",ke=P.textVerticalAlign;U(Ae,G,de,J,X,ue,re);var Te=f.adjustTextY(re,Ge,ke),Ke=ue,Ie=Te;_e&&(Ke=k(ue,ce,_e),Ie+=_e[0]),Ie+=Ee/2,x(Ae,J,!0,W);var se=ne.canCacheByTextString,ye=W.__tspanList||(W.__tspanList=[]),xe=ye.length;if(se&&W.__canCacheByTextString&&W.__text===ae){if(W.__dirtyText&&xe)for(var Ye=0;Ye<xe;++Ye)K(ye[Ye],ce,Ke,Ie+Ye*Ee)}else{W.__text=ae,W.__canCacheByTextString=se;for(var pt=ne.lines,nt=pt.length,Ye=0;Ye<nt;Ye++){var Oe=ye[Ye],vt=pt[Ye];Oe?Oe.__zrText!==vt&&(Oe.innerHTML="",Oe.appendChild(document.createTextNode(vt))):(Oe=ye[Ye]=p("tspan"),Ae.appendChild(Oe),Oe.appendChild(document.createTextNode(vt))),K(Oe,ce,Ke,Ie+Ye*Ee)}if(xe>nt){for(;Ye<xe;Ye++)Ae.removeChild(ye[Ye]);ye.length=nt}}};function U(V,W,X,J,de,G,ae){g.identity(H),W&&X&&g.copy(H,X);var Ae=J.textRotation;if(de&&Ae){var me=J.textOrigin;me==="center"?(G=de.width/2+de.x,ae=de.height/2+de.y):me&&(G=me[0]+de.x,ae=me[1]+de.y),H[4]-=G,H[5]-=ae,g.rotate(H,H,Ae),H[4]+=G,H[5]+=ae}E(V,H)}function k(V,W,X){return W==="right"?V-X[1]:W==="center"?V+X[3]/2-X[1]/2:V+X[3]}function K(V,W,X,J){T(V,"dominant-baseline","middle"),T(V,"text-anchor",z[W]),T(V,"x",X),T(V,"y",J)}function j(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}F.drawRectText=M,F.brush=function(V){var W=V.style;W.text!=null?M(V,!1):j(V)},N.path=I,N.image=L,N.text=F},P4Qj:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.removeSensor=N.getSensor=void 0;var y=m(t("chpo")),p=t("FxDU"),S=t("24YM");function m(c){return c&&c.__esModule?c:{default:c}}var g={},f=function(a){var n=a.getAttribute(S.SizeSensorId);if(n&&g[n])return g[n];var i=(0,y.default)();a.setAttribute(S.SizeSensorId,i);var o=(0,p.createSensor)(a);return g[i]=o,o};N.getSensor=f;var d=function(a){var n=a.element.getAttribute(S.SizeSensorId);a.element.removeAttribute(S.SizeSensorId),a.destroy(),n&&g[n]&&delete g[n]};N.removeSensor=d},P5Jw:function(R,N,t){"use strict";var y=t("rHrb"),p=y.CopyToClipboard;p.CopyToClipboard=p,R.exports=p},PArb: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.n(g),d=t("TSYQ"),c=t.n(d),a=t("H84U"),n=function(o,r){var l={};for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&r.indexOf(e)<0&&(l[e]=o[e]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,e=Object.getOwnPropertySymbols(o);s<e.length;s++)r.indexOf(e[s])<0&&Object.prototype.propertyIsEnumerable.call(o,e[s])&&(l[e[s]]=o[e[s]]);return l},i=function(r){return g.createElement(a.a,null,function(l){var e,s=l.getPrefixCls,u=l.direction,h=r.prefixCls,A=r.type,v=A===void 0?"horizontal":A,w=r.orientation,b=w===void 0?"center":w,E=r.className,T=r.children,_=r.dashed,x=r.plain,C=n(r,["prefixCls","type","orientation","className","children","dashed","plain"]),I=s("divider",h),L=b.length>0?"-".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;l<o;l++)r[l]=arguments[l];c=m()(a(r))}};return n.cancel=function(){return m.a.cancel(c)},n}function f(){return function(d,c,a){var n=a.value,i=!1;return{configurable:!0,get:function(){if(i||this===d.prototype||this.hasOwnProperty(c))return n;var r=g(n.bind(this));return i=!0,Object.defineProperty(this,c,{value:r,configurable:!0,writable:!0}),i=!1,r}}}}},PKem:function(R,N,t){"use strict";t.d(N,"a",function(){return w});var y=t("RIqP"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("pVnL"),f=t.n(g),d=t("lwsE"),c=t.n(d),a=t("W8MJ"),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("H84U"),v=function(L,F){var B={};for(var P in L)Object.prototype.hasOwnProperty.call(L,P)&&F.indexOf(P)<0&&(B[P]=L[P]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,P=Object.getOwnPropertySymbols(L);H<P.length;H++)F.indexOf(P[H])<0&&Object.prototype.propertyIsEnumerable.call(L,P[H])&&(B[P[H]]=L[P[H]]);return B},w=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function b(L){var F=L.suffixCls,B=L.tagName,P=L.displayName;return function(H){var z;return z=function(M){o()(k,M);var U=l()(k);function k(){var K;return c()(this,k),K=U.apply(this,arguments),K.renderComponent=function(j){var V=j.getPrefixCls,W=K.props.prefixCls,X=V(F,W);return e.createElement(H,f()({prefixCls:X,tagName:B},K.props))},K}return n()(k,[{key:"render",value:function(){return e.createElement(A.a,null,this.renderComponent)}}]),k}(e.Component),z.displayName=P,z}}var E=function(F){var B=F.prefixCls,P=F.className,H=F.children,z=F.tagName,M=v(F,["prefixCls","className","children","tagName"]),U=h()(B,P);return e.createElement(z,f()({className:U},M),H)},T=function(L){o()(B,L);var F=l()(B);function B(){var P;return c()(this,B),P=F.apply(this,arguments),P.state={siders:[]},P.renderComponent=function(H){var z,M=H.direction,U=P.props,k=U.prefixCls,K=U.className,j=U.children,V=U.hasSider,W=U.tagName,X=v(U,["prefixCls","className","children","hasSider","tagName"]),J=h()(k,(z={},m()(z,"".concat(k,"-has-sider"),typeof V=="boolean"?V:P.state.siders.length>0),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;L<x;L++){var F=T[0]+I*L;if(F>T[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[0]&&(H[0]=-Infinity),B[1]>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 Gr=this._api=$e(this);function Jr(Tn,Nn){return Tn.__prio-Nn.__prio}d(tr,Jr),d(qe,Jr),this._scheduler=new x(this,Gr,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 Gr=+new Date;mt.performSeriesTasks(ar),mt.performDataProcessorTasks(ar),Ke(this,ar),mt.performVisualTasks(ar),vt(this,this._model,lr,"remain"),gr-=+new Date-Gr}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),Gr=this._theme,Jr=this._model=new a;Jr.scheduler=this._scheduler,Jr.init(null,null,Gr,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 Nn=lr._componentsMap[Tn.__viewId];Nn.group.ignore||(ar.push(Nn),Nn.group.ignore=!0)})});var Gr=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}),Gr},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,Gr=Infinity;if(Vr[gr]){var Jr=Gr,Tn=Gr,Nn=-Gr,zn=-Gr,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),Nn=lr(At.right,Nn),zn=lr(At.bottom,zn),qn.push({dom:Qe,left:At.left,top:At.top})}}),Jr*=vi,Tn*=vi,Nn*=vi,zn*=vi;var Ri=Nn-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+='<g transform="translate('+He+","+Qe+')">'+We.dom+"</g>"}),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(),Gr;kt=v.parseFinder(ar,kt);for(var Jr=0;Jr<lr.length;Jr++){var Tn=lr[Jr];if(Tn[mt]&&(Gr=Tn[mt](ar,kt,gr))!=null)return Gr}}ue.containPixel=function(mt,kt){if(this._disposed){xt(this.id);return}var gr=this._model,ar;return mt=v.parseFinder(gr,mt),m.each(mt,function(lr,Gr){Gr.indexOf("Models")>=0&&m.each(lr,function(Jr){var Tn=Jr.coordinateSystem;if(Tn&&Tn.containPoint)ar|=!!Tn.containPoint(kt);else if(Gr==="seriesModels"){var Nn=this._chartsMap[Jr.__viewId];Nn&&Nn.containPoint&&(ar|=Nn.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(),Gr=mt.hasOwnProperty("dataIndexInside")?mt.dataIndexInside:mt.hasOwnProperty("dataIndex")?lr.indexOfRawIndex(mt.dataIndex):null;return Gr!=null?lr.getItemVisual(Gr,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,Gr=this._scheduler;if(!kt)return;Gr.restoreData(kt,mt),Gr.performSeriesTasks(kt),lr.create(kt,gr),Gr.performDataProcessorTasks(kt,mt),Ke(this,kt),lr.update(kt,gr),pt(kt),Gr.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 Nn=gr.getViewOfComponentModel(Tn);if(Nn&&Nn.__alive)if(Nn.updateTransform){var zn=Nn.updateTransform(Tn,kt,ar,mt);zn&&zn.update&&lr.push(Nn)}else lr.push(Nn)});var Gr=m.createHashMap();kt.eachSeries(function(Jr){var Tn=gr._chartsMap[Jr.__viewId];if(Tn.updateTransform){var Nn=Tn.updateTransform(Jr,kt,ar,mt);Nn&&Nn.update&&Gr.set(Jr.uid,1)}else Gr.set(Jr.uid,1)}),pt(kt),this._scheduler.performVisualTasks(kt,mt,{setDirty:!0,dirtyMap:Gr}),vt(gr,kt,ar,mt,Gr),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 Gr=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 Nn=gr.excludeSeriesId;Nn!=null&&(Nn=m.createHashMap(v.normalizeToArray(Nn))),Gr&&Gr.eachComponent(Tn,function(qn){(!Nn||Nn.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,Gr,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(),!Wt[mt])return;var gr=Wt[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],Gr=lr.actionInfo,Jr=(Gr.update||"update").split(":"),Tn=Jr.pop();Jr=Jr[0]!=null&&z(Jr[0]),this[oe]=!0;var Nn=[mt],zn=!1;mt.batch&&(zn=!0,Nn=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(Nn,function(Ve){vi=lr.action(Ve,this._model,this._api),vi=vi||m.extend({},Ve),vi.type=Gr.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:Gr.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",Gr=lr?mt._componentsViews:mt._chartsViews,Jr=lr?mt._componentsMap:mt._chartsMap,Tn=mt._zr,Nn=mt._api,zn=0;zn<Gr.length;zn++)Gr[zn].__alive=!1;lr?gr.eachComponent(function(Ri,Ve){Ri!=="series"&&qn(Ve)}):gr.eachSeries(qn);function qn(Ri){var Ve="_ec_"+Ri.id+"_"+Ri.type,Se=Jr[Ve];if(!Se){var Re=z(Ri.type),Be=lr?u.getClass(Re.main,Re.sub):h.getClass(Re.sub);Se=new Be,Se.init(gr,Nn),Jr[Ve]=Se,Gr.push(Se),Tn.add(Se.group)}Ri.__viewId=Se.__id=Ve,Se.__alive=!0,Se.__model=Ri,Se.group.__ecComponentInfo={mainType:Ri.mainType,index:Ri.componentIndex},!lr&&ar.prepareView(Se,Ri,gr,Nn)}for(var zn=0;zn<Gr.length;){var vi=Gr[zn];vi.__alive?zn++:(!lr&&vi.renderTask.dispose(),Tn.remove(vi.group),vi.dispose(gr,Nn),Gr.splice(zn,1),delete Jr[vi.__id],vi.__id=vi.group.__ecComponentInfo=null)}}function pt(mt){mt.clearColorPalette(),mt.eachSeries(function(kt){kt.clearColorPalette()})}function nt(mt,kt,gr,ar){Oe(mt,kt,gr,ar),B(mt._chartsViews,function(lr){lr.__alive=!1}),vt(mt,kt,gr,ar),B(mt._chartsViews,function(lr){lr.__alive||lr.remove(kt,gr)})}function Oe(mt,kt,gr,ar,lr){B(lr||mt._componentsViews,function(Gr){var Jr=Gr.__model;Gr.render(Jr,kt,gr,ar),Gt(Jr,Gr)})}function vt(mt,kt,gr,ar,lr){var Gr=mt._scheduler,Jr;kt.eachSeries(function(Tn){var Nn=mt._chartsMap[Tn.__viewId];Nn.__alive=!0;var zn=Nn.renderTask;Gr.updatePayload(zn,ar),lr&&lr.get(Tn.uid)&&zn.dirty(),Jr|=zn.perform(Gr.getPerformArgs(zn)),Nn.group.silent=!!Tn.get("silent"),Gt(Tn,Nn),Mt(Tn,Nn)}),Gr.unfinished|=Jr,Ot(mt,kt),T(mt._zr.dom,kt)}function Ze(mt,kt){B(Nt,function(gr){gr(mt,kt)})}var wt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];ue._initEvents=function(){B(wt,function(mt){var kt=function(gr){var ar=this.getModel(),lr=gr.target,Gr,Jr=mt==="globalout";if(Jr)Gr={};else if(lr&&lr.dataIndex!=null){var Tn=lr.dataModel||ar.getSeriesByIndex(lr.seriesIndex);Gr=Tn&&Tn.getDataParams(lr.dataIndex,lr.dataType,lr)||{}}else lr&&lr.eventData&&(Gr=m.extend({},lr.eventData));if(Gr){var Nn=Gr.componentType,zn=Gr.componentIndex;(Nn==="markLine"||Nn==="markPoint"||Nn==="markArea")&&(Nn="series",zn=Gr.seriesIndex);var qn=Nn&&zn!=null&&ar.getComponent(Nn,zn),vi=qn&&this[qn.mainType==="series"?"_chartsMap":"_componentsMap"][qn.__viewId];Gr.event=gr,Gr.type=mt,this._ecEventProcessor.eventInfo={targetEl:lr,packedEvent:Gr,model:qn,view:vi},this.trigger(mt,Gr)}};kt.zrEventfulCallAtLast=!0,this._zr.on(mt,kt,this)},this),B(bt,function(mt,kt){this._messageCenter.on(kt,function(gr){this.trigger(kt,gr)},this)},this)},ue.isDisposed=function(){return this._disposed},ue.clear=function(){if(this._disposed){xt(this.id);return}this.setOption({series:[]},!0)},ue.dispose=function(){if(this._disposed){xt(this.id);return}this._disposed=!0,v.setAttribute(this.getDom(),Lt,"");var mt=this._api,kt=this._model;B(this._componentsViews,function(gr){gr.dispose(kt,mt)}),B(this._chartsViews,function(gr){gr.dispose(kt,mt)}),this._zr.dispose(),delete cr[this.id]},m.mixin(Ee,c);function xt(mt){}function Ot(mt,kt){var gr=mt._zr,ar=gr.storage,lr=0;ar.traverse(function(Gr){lr++}),lr>kt.get("hoverLayerThreshold")&&!f.node&&kt.eachSeries(function(Gr){if(Gr.preventUsingHoverLayer)return;var Jr=mt._chartsMap[Gr.__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 Gr=["Index","Name","Id"],Jr={name:1,dataIndex:1,dataType:1};m.each(mt,function(Tn,Nn){for(var zn=!1,qn=0;qn<Gr.length;qn++){var vi=Gr[qn],Ri=Nn.lastIndexOf(vi);if(Ri>0&&Ri===Nn.length-vi.length){var Ve=Nn.slice(0,Ri);Ve!=="data"&&(kt.mainType=Ve,kt[vi.toLowerCase()]=Tn,zn=!0)}}Jr.hasOwnProperty(Nn)&&(gr[Nn]=Tn,zn=!0),zn||(ar[Nn]=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,Gr=ar.packedEvent,Jr=ar.model,Tn=ar.view;if(!Jr||!Tn)return!0;var Nn=kt.cptQuery,zn=kt.dataQuery;return qn(Nn,Jr,"mainType")&&qn(Nn,Jr,"subType")&&qn(Nn,Jr,"index","componentIndex")&&qn(Nn,Jr,"name")&&qn(Nn,Jr,"id")&&qn(zn,Gr,"name")&&qn(zn,Gr,"dataIndex")&&qn(zn,Gr,"dataType")&&(!Tn.filterForExposedEvent||Tn.filterForExposedEvent(mt,kt.otherQuery,lr,Gr));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={},Wt={},cr={},Vr={},ur=new Date-0,ir=new Date-0,Lt="_echarts_instance_";function ot(mt){var kt=0,gr=1,ar=2,lr="__connectUpdateStatus";function Gr(Jr,Tn){for(var Nn=0;Nn<Jr.length;Nn++){var zn=Jr[Nn];zn[lr]=Tn}}B(bt,function(Jr,Tn){mt._messageCenter.on(Tn,function(Nn){if(Vr[mt.group]&&mt[lr]!==kt){if(Nn&&Nn.escapeConnect)return;var zn=mt.makeActionFromEvent(Nn),qn=[];B(cr,function(vi){vi!==mt&&vi.group===mt.group&&qn.push(vi)}),Gr(qn,kt),B(qn,function(vi){vi[lr]!==gr&&vi.dispatchAction(zn)}),Gr(qn,ar)}})})}function Xe(mt,kt,gr){var ar=An(mt);if(ar)return ar;var lr=new Ee(mt,kt,gr);return lr.id="ec_"+ur++,cr[lr.id]=lr,v.setAttribute(mt,Lt,lr.id),ot(lr),lr}function $t(mt){if(m.isArray(mt)){var kt=mt;mt=null,B(kt,function(gr){gr.group!=null&&(mt=gr.group)}),mt=mt||"g_"+ir++,B(kt,function(gr){gr.group=mt})}return Vr[mt]=!0,mt}function Sr(mt){Vr[mt]=!1}var vr=Sr;function fr(mt){typeof mt=="string"?mt=cr[mt]:mt instanceof Ee||(mt=An(mt)),mt instanceof Ee&&!mt.isDisposed()&&mt.dispose()}function An(mt){return cr[v.getAttribute(mt,Lt)]}function Zr(mt){return cr[mt]}function Ln(mt,kt){lt[mt]=kt}function Je(mt){le.push(mt)}function et(mt,kt){zt(qe,mt,kt,K)}function be(mt){Nt.push(mt)}function Le(mt,kt,gr){typeof kt=="function"&&(gr=kt,kt="");var ar=H(mt)?mt.type:[mt,mt={event:kt}][0];mt.event=(mt.event||ar).toLowerCase(),kt=mt.event,F(ee.test(ar)&&ee.test(kt)),q[ar]||(q[ar]={action:gr,actionInfo:mt}),bt[kt]=ar}function Ue(mt,kt){i.register(mt,kt)}function rt(mt){var kt=i.get(mt);if(kt)return kt.getDimensionsInfo?kt.getDimensionsInfo():kt.dimensions.slice()}function Vt(mt,kt){zt(tr,mt,kt,X,"layout")}function Ft(mt,kt){zt(tr,mt,kt,G,"visual")}function zt(mt,kt,gr,ar,lr){(P(kt)||H(kt))&&(gr=kt,kt=ar);var Gr=x.wrapStageHandler(gr,lr);return Gr.__prio=kt,Gr.__raw=gr,mt.push(Gr),Gr}function Dr(mt,kt){Wt[mt]=kt}function Pr(mt){return e.extend(mt)}function un(mt){return u.extend(mt)}function Ht(mt){return s.extend(mt)}function dt(mt){return h.extend(mt)}function at(mt){m.$override("createCanvas",mt)}function Qt(mt,kt,gr){L.registerMap(mt,kt,gr)}function Jt(mt){var kt=L.retrieveMap(mt);return kt&&kt[0]&&{geoJson:kt[0].geoJSON,specialAreas:kt[0].specialAreas}}Ft(de,E),Je(r),et(V,l),Dr("default",_),Le({type:"highlight",event:"highlight",update:"highlight"},m.noop),Le({type:"downplay",event:"downplay",update:"downplay"},m.noop),Ln("light",C),Ln("dark",I);var gt={};N.version=M,N.dependencies=U,N.PRIORITY=Me,N.init=Xe,N.connect=$t,N.disConnect=Sr,N.disconnect=vr,N.dispose=fr,N.getInstanceByDom=An,N.getInstanceById=Zr,N.registerTheme=Ln,N.registerPreprocessor=Je,N.registerProcessor=et,N.registerPostUpdate=be,N.registerAction=Le,N.registerCoordinateSystem=Ue,N.getCoordinateSystemDimensions=rt,N.registerLayout=Vt,N.registerVisual=Ft,N.registerLoading=Dr,N.extendComponentModel=Pr,N.extendComponentView=un,N.extendSeriesModel=Ht,N.extendChartView=dt,N.setCanvasCreator=at,N.registerMap=Qt,N.getMap=Jt,N.dataTool=gt;var Bt=t("txkQ");(function(){for(var mt in Bt)Bt.hasOwnProperty(mt)&&(N[mt]=Bt[mt])})()},Pw59:function(R,N,t){"use strict";var y=t("q1tI"),p=t.n(y),S=Object(y.createContext)({});N.a=S},Q7if:function(R,N,t){var y=t("JEkh"),p=y.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});R.exports=p},Q9mQ:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("UADf"),m=t.n(S)},"QB+1":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("Ywus"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},QBsz:function(R,N){var t=typeof Float32Array=="undefined"?Array:Float32Array;function y(x,C){var I=new t(2);return x==null&&(x=0),C==null&&(C=0),I[0]=x,I[1]=C,I}function p(x,C){return x[0]=C[0],x[1]=C[1],x}function S(x){var C=new t(2);return C[0]=x[0],C[1]=x[1],C}function m(x,C,I){return x[0]=C,x[1]=I,x}function g(x,C,I){return x[0]=C[0]+I[0],x[1]=C[1]+I[1],x}function f(x,C,I,L){return x[0]=C[0]+I[0]*L,x[1]=C[1]+I[1]*L,x}function d(x,C,I){return x[0]=C[0]-I[0],x[1]=C[1]-I[1],x}function c(x){return Math.sqrt(n(x))}var a=c;function n(x){return x[0]*x[0]+x[1]*x[1]}var i=n;function o(x,C,I){return x[0]=C[0]*I[0],x[1]=C[1]*I[1],x}function r(x,C,I){return x[0]=C[0]/I[0],x[1]=C[1]/I[1],x}function l(x,C){return x[0]*C[0]+x[1]*C[1]}function e(x,C,I){return x[0]=C[0]*I,x[1]=C[1]*I,x}function s(x,C){var I=c(C);return I===0?(x[0]=0,x[1]=0):(x[0]=C[0]/I,x[1]=C[1]/I),x}function u(x,C){return Math.sqrt((x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1]))}var h=u;function A(x,C){return(x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1])}var v=A;function w(x,C){return x[0]=-C[0],x[1]=-C[1],x}function b(x,C,I,L){return x[0]=C[0]+L*(I[0]-C[0]),x[1]=C[1]+L*(I[1]-C[1]),x}function E(x,C,I){var L=C[0],F=C[1];return x[0]=I[0]*L+I[2]*F+I[4],x[1]=I[1]*L+I[3]*F+I[5],x}function T(x,C,I){return x[0]=Math.min(C[0],I[0]),x[1]=Math.min(C[1],I[1]),x}function _(x,C,I){return x[0]=Math.max(C[0],I[0]),x[1]=Math.max(C[1],I[1]),x}N.create=y,N.copy=p,N.clone=S,N.set=m,N.add=g,N.scaleAndAdd=f,N.sub=d,N.len=c,N.length=a,N.lenSquare=n,N.lengthSquare=i,N.mul=o,N.div=r,N.dot=l,N.scale=e,N.normalize=s,N.distance=u,N.dist=h,N.distanceSquare=A,N.distSquare=v,N.negate=w,N.lerp=b,N.applyTransform=E,N.min=T,N.max=_},"QO+J":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=S(t("NohK")),p=t("24YM");function S(g){return g&&g.__esModule?g:{default:g}}var m=function(f){var d=void 0,c=[],a=function(){getComputedStyle(f).position==="static"&&(f.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",n),n()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",p.SensorClassName),e.setAttribute("tabindex",p.SensorTabIndex),e.type="text/html",f.appendChild(e),e.data="about:blank",e},n=(0,y.default)(function(){c.forEach(function(l){l(f)})}),i=function(e){d||(d=a()),c.indexOf(e)===-1&&c.push(e)},o=function(){d&&d.parentNode&&(d.contentDocument&&d.contentDocument.defaultView.removeEventListener("resize",n),d.parentNode.removeChild(d),d=void 0,c=[])},r=function(e){var s=c.indexOf(e);s!==-1&&c.splice(s,1),c.length===0&&d&&o()};return{element:f,bind:i,destroy:o,unbind:r}};N.createSensor=m},"QQZ/":function(R,N,t){var y=t("Sq3C"),p=t("Z1HP"),S=t("Sxd8"),m=t("dt0z");function g(f,d,c){f=m(f),d=S(d);var a=d?p(f):0;return d&&a<d?y(d-a,c)+f:f}R.exports=g},QUw5:function(R,N,t){var y=t("OlYY"),p=y.extend({type:"dataZoom.select"});R.exports=p},QV2g:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(){for(var m,g=[],f=0;f<256;f++){m=f;for(var d=0;d<8;d++)m=m&1?3988292384^m>>>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<a;n++)m=m>>>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="<br/>"):(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<A.length;w++){if(!A[w])continue;if(h=h&&typeof h=="object"?h[A[w]]:null,h==null)break}return h==null&&v&&(h=v.get(A)),h}function s(h,A){var v=r(h).getParent;return v?v.call(h,A):h.parentModel}f(l),d(l),o(l,c),o(l,a),o(l,n),o(l,i);var u=l;R.exports=u},QyFq: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:"filled"};N.default=y},QzjZ:function(R,N,t){var y=t("S/Yl"),p=t("IDmD");function S(m,g){var f=[];return m.eachComponent("singleAxis",function(d,c){var a=new y(d,m,g);a.name="single_"+c,a.resize(d,g),d.coordinateSystem=a,f.push(a)}),m.eachSeries(function(d){if(d.get("coordinateSystem")==="singleAxis"){var c=m.queryComponents({mainType:"singleAxis",index:d.get("singleAxisIndex"),id:d.get("singleAxisId")})[0];d.coordinateSystem=c&&c.coordinateSystem}}),f}p.register("single",{create:S,dimensions:y.prototype.dimensions})},R4Th:function(R,N,t){var y=t("ProS"),p=t("9wZj"),S=t("yO87"),m=t("Fofx"),g=t("h8O9"),f=y.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new p(S)},render:function(d,c,a){var n=d.getData(),i=this._symbolDraw;i.updateData(n),this.group.add(i.group)},updateTransform:function(d,c,a){var n=d.getData();this.group.dirty();var i=g().reset(d);i.progress&&i.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(d){var c=d.coordinateSystem;c&&c.getRoamTransform&&(this.group.transform=m.clone(c.getRoamTransform()),this.group.decomposeTransform())},remove:function(d,c){this._symbolDraw&&this._symbolDraw.remove(c)},dispose:function(){}});R.exports=f},R9oj:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("pwpV"),m=t.n(S)},RBEP:function(R,N,t){for(var y=t("ProS"),p=t("VaxA"),S=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],g=0;g<m.length;g++)y.registerAction({type:m[g],update:"updateView"},S);y.registerAction({type:"treemapRootToNode",update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"treemap",query:f},c);function c(a,n){var i=["treemapZoomToNode","treemapRootToNode"],o=p.retrieveTargetInfo(f,i,a);if(o){var r=a.getViewRoot();r&&(f.direction=p.aboveViewRoot(r,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}})},RCxd: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:"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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-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="ExclamationCircleOutlined";var d=N.a=p.forwardRef(f)},RDYZ:function(R,N,t){var y=t("dMvE");function p(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}p.prototype={constructor:p,step:function(g,f){if(this._initialized||(this._startTime=g+this._delay,this._initialized=!0),this._paused){this._pausedTime+=f;return}var d=(g-this._startTime-this._pausedTime)/this._life;if(d<0)return;d=Math.min(d,1);var c=this.easing,a=typeof c=="string"?y[c]:c,n=typeof a=="function"?a(d):d;return this.fire("frame",n),d===1?this.loop?(this.restart(g),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(g){var f=(g-this._startTime-this._pausedTime)%this._life;this._startTime=g-f+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(g,f){g="on"+g,this[g]&&this[g](this._target,f)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var S=p;R.exports=S},RELg:function(R,N,t){var y=t("MFOe"),p=y.Global;R.exports={name:"oldIE-userDataStorage",write:d,read:c,each:a,remove:n,clearAll:i};var S="storejs",m=p.document,g=l(),f=(p.navigator?p.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function d(e,s){if(f)return;var u=r(e);g(function(h){h.setAttribute(u,s),h.save(S)})}function c(e){if(f)return;var s=r(e),u=null;return g(function(h){u=h.getAttribute(s)}),u}function a(e){g(function(s){for(var u=s.XMLDocument.documentElement.attributes,h=u.length-1;h>=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</"+e+'><iframe src="/favicon.ico"></iframe>'),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<e;h++){var A=o[h].interval;if(A[0]<=u&&u<=A[1]){s=h;break}}if(h===e)for(var h=s-1;h>=0;h--){var A=o[h].interval;if(A[0]<=u&&u<=A[1]){s=h;break}}return h>=0&&h<e&&r[h]}}function c(i,o){var r=i[1]-i[0];return o=[(o[0]-i[0])/r,(o[1]-i[0])/r],function(l){return l>=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<l;H++){var z;if(B==="cartesian2d"){if(isNaN(b.get(P[2],H)))continue;var M=s.dataToPoint([b.get(P[0],H),b.get(P[1],H)]);z=new m.Rect({shape:{x:Math.floor(Math.round(M[0])-u/2),y:Math.floor(Math.round(M[1])-h/2),width:Math.ceil(u),height:Math.ceil(h)},style:{fill:b.getItemVisual(H,"color"),opacity:b.getItemVisual(H,"opacity")}})}else{if(isNaN(b.get(P[1],H)))continue;z=new m.Rect({z2:1,shape:s.dataToRect([b.get(P[0],H)]).contentShape,style:{fill:b.getItemVisual(H,"color"),opacity:b.getItemVisual(H,"opacity")}})}var U=b.getItemModel(H);b.hasItemOption&&(C=U.getModel(E).getItemStyle(["color"]),I=U.getModel(T).getItemStyle(),L=U.getModel(_),F=U.getModel(x));var k=i.getRawValue(H),K="-";k&&k[2]!=null&&(K=k[2]),m.setLabelStyle(C,I,L,F,{labelFetcher:i,labelDataIndex:H,defaultText:K,isRectText:!0}),z.setStyle(C),m.setHoverStyle(z,b.hasItemOption?I:f.extend({},I)),z.incremental=e,e&&(z.useHoverLayer=!0),w.add(z),b.setItemGraphicEl(H,z)}},_renderOnGeo:function(i,o,r,l){var e=r.targetVisuals.inRange,s=r.targetVisuals.outOfRange,u=o.getData(),h=this._hmLayer||this._hmLayer||new g;h.blurSize=o.get("blurSize"),h.pointSize=o.get("pointSize"),h.minOpacity=o.get("minOpacity"),h.maxOpacity=o.get("maxOpacity");var A=i.getViewRect().clone(),v=i.getRoamTransform();A.applyTransform(v);var w=Math.max(A.x,0),b=Math.max(A.y,0),E=Math.min(A.width+A.x,l.getWidth()),T=Math.min(A.height+A.y,l.getHeight()),_=E-w,x=T-b,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],I=u.mapArray(C,function(P,H,z){var M=i.dataToPoint([P,H]);return M[0]-=w,M[1]-=b,M.push(z),M}),L=r.getExtent(),F=r.type==="visualMap.continuous"?c(L,r.option.range):d(L,r.getPieceList(),r.option.selected);h.update(I,_,x,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:s.color.getColorMapper()},F);var B=new m.Image({style:{width:_,height:x,x:w,y:b,image:h.canvas},silent:!0});this.group.add(B)},dispose:function(){}});R.exports=n},SA8n:function(R,N,t){var y=t("Sj9i"),p=t("QBsz"),S=t("U/Mo"),m=S.getSymbolSize,g=[],f=[],d=[],c=y.quadraticAt,a=p.distSquare,n=Math.abs;function i(r,l,e){for(var s=r[0],u=r[1],h=r[2],A=Infinity,v,w=e*e,b=.1,E=.1;E<=.9;E+=.1){g[0]=c(s[0],u[0],h[0],E),g[1]=c(s[1],u[1],h[1],E);var T=n(a(g,l)-w);T<A&&(A=T,v=E)}for(var _=0;_<32;_++){var x=v+b;f[0]=c(s[0],u[0],h[0],v),f[1]=c(s[1],u[1],h[1],v),d[0]=c(s[0],u[0],h[0],x),d[1]=c(s[1],u[1],h[1],x);var T=a(f,l)-w;if(n(T)<.01)break;var C=a(d,l)-w;b/=2,T<0?C>=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;ke<Te;++ke){var Ke=Ee[ke];if(Ke.ignoreCase)ce=!0;else if(/[a-z]/i.test(Ke.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){re=!0,ce=!1;break}}var Ie={b:8,t:9,n:10,v:11,f:12,r:13};function se(nt){var Oe=nt.charCodeAt(0);if(Oe!==92)return Oe;var vt=nt.charAt(1);return Oe=Ie[vt],Oe||("0"<=vt&&vt<="7"?parseInt(nt.substring(1),8):vt==="u"||vt==="x"?parseInt(nt.substring(2),16):nt.charCodeAt(1))}function ye(nt){if(nt<32)return(nt<16?"\\x0":"\\x")+nt.toString(16);var Oe=String.fromCharCode(nt);return Oe==="\\"||Oe==="-"||Oe==="]"||Oe==="^"?"\\"+Oe:Oe}function xe(nt){var Oe=nt.substring(1,nt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),vt=[],Ze=Oe[0]==="^",wt=["["];Ze&&wt.push("^");for(var xt=Ze?1:0,Ot=Oe.length;xt<Ot;++xt){var Mt=Oe[xt];if(/\\[bdsw]/i.test(Mt))wt.push(Mt);else{var Gt=se(Mt),$e;xt+2<Ot&&Oe[xt+1]==="-"?($e=se(Oe[xt+2]),xt+=2):$e=Gt,vt.push([Gt,$e]),$e<65||Gt>122||($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;xt<vt.length;++xt){var bt=vt[xt];bt[0]<=q[1]+1?q[1]=Math.max(q[1],bt[1]):pe.push(q=bt)}for(var xt=0;xt<pe.length;++xt){var bt=pe[xt];wt.push(ye(bt[0])),bt[1]>bt[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<vt;++wt){var Ot=Oe[wt];if(Ot==="(")++xt;else if(Ot.charAt(0)==="\\"){var Mt=+Ot.substring(1);Mt&&(Mt<=xt?Ze[Mt]=-1:Oe[wt]=ye(Mt))}}for(var wt=1;wt<Ze.length;++wt)Ze[wt]===-1&&(Ze[wt]=++ue);for(var wt=0,xt=0;wt<vt;++wt){var Ot=Oe[wt];if(Ot==="(")++xt,Ze[xt]||(Oe[wt]="(?:");else if(Ot.charAt(0)==="\\"){var Mt=+Ot.substring(1);Mt&&Mt<=xt&&(Oe[wt]="\\"+Ze[Mt])}}for(var wt=0;wt<vt;++wt)Oe[wt]==="^"&&Oe[wt+1]!=="^"&&(Oe[wt]="");if(nt.ignoreCase&&re)for(var wt=0;wt<vt;++wt){var Ot=Oe[wt],Gt=Ot.charAt(0);Ot.length>=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<Te;++ke){var Ke=Ee[ke];if(Ke.global||Ke.multiline)throw new Error(""+Ke);pt.push("(?:"+Ye(Ke)+")")}return new RegExp(pt.join("|"),ce?"gi":"g")}function K(Ee,ue){var re=/(?:^|\s)nocode(?:\s|$)/,ce=[],ke=0,Te=[],Ke=0;function Ie(se){var ye=se.nodeType;if(ye==1){if(re.test(se.className))return;for(var xe=se.firstChild;xe;xe=xe.nextSibling)Ie(xe);var Ye=se.nodeName.toLowerCase();(Ye==="br"||Ye==="li")&&(ce[Ke]=`
|
|
|
`,Te[Ke<<1]=ke++,Te[Ke++<<1|1]=se)}else if(ye==3||ye==4){var pt=se.nodeValue;pt.length&&(ue?pt=pt.replace(/\r\n?/g,`
|
|
|
`):pt=pt.replace(/[ \t\r\n]+/g," "),ce[Ke]=pt,Te[Ke<<1]=ke,ke+=pt.length,Te[Ke++<<1|1]=se)}}return Ie(Ee),{sourceCode:ce.join("").replace(/\n$/,""),spans:Te}}function j(Ee,ue,re,ce,ke){if(!re)return;var Te={sourceNode:Ee,pre:1,langExtension:null,numberLines:null,sourceCode:re,spans:null,basePos:ue,decorations:null};ce(Te),ke.push.apply(ke,Te.decorations)}var V=/\S/;function W(Ee){for(var ue=void 0,re=Ee.firstChild;re;re=re.nextSibling){var ce=re.nodeType;ue=ce===1?ue?Ee:re:ce===3&&V.test(re.nodeValue)?Ee:ue}return ue===Ee?void 0:ue}function X(Ee,ue){var re={},ce;(function(){for(var Ke=Ee.concat(ue),Ie=[],se={},ye=0,xe=Ke.length;ye<xe;++ye){var Ye=Ke[ye],pt=Ye[3];if(pt)for(var nt=pt.length;--nt>=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<Ze;++vt){var wt=nt[vt],xt=Oe[wt],Ot=void 0,Mt;if(typeof xt=="string")Mt=!1;else{var Gt=re[wt.charAt(0)];if(Gt)Ot=wt.match(Gt[1]),xt=Gt[0];else{for(var $e=0;$e<ke;++$e)if(Gt=ue[$e],Ot=wt.match(Gt[1]),Ot){xt=Gt[0];break}Ot||(xt=L)}Mt=xt.length>=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<Ie.length;++xe)se(Ie[xe]);ue===(ue|0)&&Ie[0].setAttribute("value",ue);var Ye=Te.createElement("ol");Ye.className="linenums";for(var pt=Math.max(0,ue-1|0)||0,xe=0,nt=Ie.length;xe<nt;++xe)Ke=Ie[xe],Ke.className="L"+(xe+pt)%10,Ke.firstChild||Ke.appendChild(Te.createTextNode("\xA0")),Ye.appendChild(Ke);Ee.appendChild(Ye)}function ae(Ee){var ue=/\bMSIE\s(\d+)/.exec(navigator.userAgent);ue=ue&&+ue[1]<=8;var re=/\n/g,ce=Ee.sourceCode,ke=ce.length,Te=0,Ke=Ee.spans,Ie=Ke.length,se=0,ye=Ee.decorations,xe=ye.length,Ye=0;ye[xe]=ke;var pt,nt;for(nt=pt=0;nt<xe;)ye[nt]!==ye[nt+2]?(ye[pt++]=ye[nt++],ye[pt++]=ye[nt++]):nt+=2;for(xe=pt,nt=pt=0;nt<xe;){for(var Oe=ye[nt],vt=ye[nt+1],Ze=nt+2;Ze+2<=xe&&ye[Ze+1]===vt;)Ze+=2;ye[pt++]=Oe,ye[pt++]=vt,nt=Ze}xe=ye.length=pt;var wt=Ee.sourceNode,xt="";wt&&(xt=wt.style.display,wt.style.display="none");try{for(var Ot=null;se<Ie;){var Mt=Ke[se],Gt=Ke[se+2]||ke,$e=ye[Ye+2]||ke,Ze=Math.min(Gt,$e),pe=Ke[se+1],q;if(pe.nodeType!==1&&(q=ce.substring(Te,Ze))){ue&&(q=q.replace(re,"\r")),pe.nodeValue=q;var bt=pe.ownerDocument,qe=bt.createElement("span");qe.className=ye[Ye+1];var le=pe.parentNode;le.replaceChild(qe,pe),qe.appendChild(pe),Te<Gt&&(Ke[se+1]=pe=bt.createTextNode(ce.substring(Ze,Gt)),le.insertBefore(pe,qe.nextSibling))}Te=Ze,Te>=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*</.test(ue)?"default-markup":"default-code"),Ae[Ee]}me(de,["default-code"]),me(X([],[[L,/^[^<?]+/],[B,/^<!\w[^>]*(?:>|$)/],[_,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\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="<pre>"+Ee+"</pre>",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<Te.length;++Ie)for(var se=0,ye=Te[Ie].length;se<ye;++se)Ke.push(Te[Ie][se]);Te=null;var xe=Date;xe.now||(xe={now:function(){return+new Date}});var Ye=0,pt=/\blang(?:uage)?-([\w.]+)(?!\S)/,nt=/\bprettyprint\b/,Oe=/\bprettyprinted\b/,vt=/pre|xmp/i,Ze=/^code$/i,wt=/^(?:pre|code|xmp)$/i,xt={};function Ot(){for(var Mt=c.PR_SHOULD_USE_CONTINUATION?xe.now()+250:Infinity;Ye<Ke.length&&xe.now()<Mt;Ye++){for(var Gt=Ke[Ye],$e=xt,pe=Gt;pe=pe.previousSibling;){var q=pe.nodeType,bt=(q===7||q===8)&&pe.nodeValue;if(bt?!/^\??prettify\b/.test(bt):q!==3||/\S/.test(pe.nodeValue))break;if(bt){$e={},bt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Xe,$t,Sr){$e[$t]=Sr});break}}var qe=Gt.className;if(($e!==xt||nt.test(qe))&&!Oe.test(qe)){for(var le=!1,Nt=Gt.parentNode;Nt;Nt=Nt.parentNode){var tr=Nt.tagName;if(wt.test(tr)&&Nt.className&&nt.test(Nt.className)){le=!0;break}}if(!le){Gt.className+=" prettyprinted";var lt=$e.lang;if(!lt){lt=qe.match(pt);var Wt;!lt&&(Wt=W(Gt))&&Ze.test(Wt.tagName)&&(lt=Wt.className.match(pt)),lt&&(lt=lt[1])}var cr;if(vt.test(Gt.tagName))cr=1;else{var Vr=Gt.currentStyle,ur=ce.defaultView,ir=Vr?Vr.whiteSpace:ur&&ur.getComputedStyle?ur.getComputedStyle(Gt,null).getPropertyValue("white-space"):0;cr=ir&&ir.substring(0,3)==="pre"}var Lt=$e.linenums;(Lt=Lt==="true"||+Lt)||(Lt=qe.match(/\blinenums\b(?::(\d+))?/),Lt=Lt?Lt[1]&&Lt[1].length?+Lt[1]:!0:!1),Lt&&G(Gt,Lt,cr);var ot={langExtension:lt,sourceNode:Gt,numberLines:Lt,pre:cr,sourceCode:null,basePos:null,spans:null,decorations:null};oe(ot)}}}Ye<Ke.length?c.setTimeout(Ot,250):typeof Ee=="function"&&Ee()}Ot()}var ne=c.PR={createSimpleLexer:X,registerLangHandler:me,sourceDecorator:J,PR_ATTRIB_NAME:H,PR_ATTRIB_VALUE:z,PR_COMMENT:_,PR_DECLARATION:B,PR_KEYWORD:T,PR_LITERAL:C,PR_NOCODE:M,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:P,PR_STRING:E,PR_TAG:F,PR_TYPE:x,prettyPrintOne:S?c.prettyPrintOne=_e:f=_e,prettyPrint:d=S?c.prettyPrint=ee:d=ee},Ge=c.define;typeof Ge=="function"&&Ge.amd&&Ge("google-code-prettify",[],function(){return ne})})()},SKnc:function(R,N,t){var y=t("bYtY"),p=t("QuXc"),S=function(f,d,c,a,n,i){this.x=f==null?0:f,this.y=d==null?0:d,this.x2=c==null?1:c,this.y2=a==null?0:a,this.type="linear",this.global=i||!1,p.call(this,n)};S.prototype={constructor:S},y.inherits(S,p);var m=S;R.exports=m},"SKx+":function(R,N,t){var y=t("ProS"),p=y.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),S=p;R.exports=S},SMc4:function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("nkfE"),m=t("ICMv"),g=p.extend({type:"cartesian2dAxis",axis:null,init:function(){g.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){g.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){g.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function f(a,n){return n.type||(n.data?"category":"value")}y.merge(g.prototype,m);var d={offset:0};S("x",g,f,d),S("y",g,f,d);var c=g;R.exports=c},SRve: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:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};N.default=y},SUKs:function(R,N,t){var y=t("LPTA"),p=y.debugMode,S=function(){};p===1&&(S=console.error);var m=S;R.exports=m},SZEN:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.clientToElement=y;function y(p,S,m){var g=m.getBoundingClientRect(),f={x:0,y:0};return p<g.left?f.x=0:p>=g.right?f.x=g.width-1:f.x=p-g.left,S<g.top?f.y=0: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);I<C.length;I++)_.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},b=g.forwardRef(function(T,_){var x,C=T.prefixCls,I=T.size,L=T.loading,F=T.className,B=F===void 0?"":F,P=T.disabled,H=w(T,["prefixCls","size","loading","className","disabled"]);Object(v.a)("checked"in H||!("value"in H),"Switch","`value` is not a valid prop, do you mean `checked`?");var z=g.useContext(h.b),M=z.getPrefixCls,U=z.direction,k=g.useContext(A.b),K=M("switch",C),j=g.createElement("div",{className:"".concat(K,"-handle")},L&&g.createElement(s.a,{className:"".concat(K,"-loading-icon")})),V=n()(B,(x={},m()(x,"".concat(K,"-small"),(I||k)==="small"),m()(x,"".concat(K,"-loading"),L),m()(x,"".concat(K,"-rtl"),U==="rtl"),x));return g.createElement(u.a,{insertExtraNode:!0},g.createElement(l,p()({},H,{prefixCls:K,className:V,disabled:P||L,ref:_,loadingIcon:j})))});b.__ANT_SWITCH=!0,b.displayName="Switch";var E=N.a=b},SehX:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("2B6p"),m=S.updateCenterAndZoom;y.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(g,f){var d=g.componentType||"series";f.eachComponent({mainType:d,query:g},function(c){var a=c.coordinateSystem;if(a.type!=="geo")return;var n=m(a,g,c.get("scaleLimit"));c.setCenter&&c.setCenter(n.center),c.setZoom&&c.setZoom(n.zoom),d==="series"&&p.each(c.seriesGroup,function(i){i.setCenter(n.center),i.setZoom(n.zoom)})})})},SgGq:function(R,N,t){var y=t("bYtY"),p=t("H6uX"),S=t("YH21"),m=t("pP6R");function g(e){this.pointerChecker,this._zr=e,this._opt={};var s=y.bind,u=s(f,this),h=s(d,this),A=s(c,this),v=s(a,this),w=s(n,this);p.call(this),this.setPointerChecker=function(b){this.pointerChecker=b},this.enable=function(b,E){this.disable(),this._opt=y.defaults(y.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),b==null&&(b=!0),(b===!0||b==="move"||b==="pan")&&(e.on("mousedown",u),e.on("mousemove",h),e.on("mouseup",A)),(b===!0||b==="scale"||b==="zoom")&&(e.on("mousewheel",v),e.on("pinch",w))},this.disable=function(){e.off("mousedown",u),e.off("mousemove",h),e.off("mouseup",A),e.off("mousewheel",v),e.off("pinch",w)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}y.mixin(g,p);function f(e){if(S.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)return;var s=e.offsetX,u=e.offsetY;this.pointerChecker&&this.pointerChecker(e,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function d(e){if(!this._dragging||!r("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=e.offsetX,u=e.offsetY,h=this._x,A=this._y,v=s-h,w=u-A;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&S.stop(e.event),o(this,"pan","moveOnMouseMove",e,{dx:v,dy:w,oldX:h,oldY:A,newX:s,newY:u})}function c(e){S.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function a(e){var s=r("zoomOnMouseWheel",e,this._opt),u=r("moveOnMouseWheel",e,this._opt),h=e.wheelDelta,A=Math.abs(h),v=e.offsetX,w=e.offsetY;if(h===0||!s&&!u)return;if(s){var b=A>3?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;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){y(this,g),this._subrects=0}return S(g,[{key:"decodeRect",value:function(d,c,a,n,i,o,r){if(this._subrects===0){if(i.rQwait("RRE",4+4))return!1;this._subrects=i.rQshift32();var l=i.rQshiftBytes(4);o.fillRect(d,c,a,n,l)}for(;this._subrects>0;){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&&C<f}function l(C){return C>f||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<V&&(K=G,V=J);V=Infinity;for(var ae=0;ae<32&&!(j<d);ae++)W=K-j,X=K+j,i[0]=e(C,L,B,H,W),i[1]=e(I,F,P,z,W),J=S(i,n),W>=0&&J<V?(K=W,V=J):(o[0]=e(C,L,B,H,X),o[1]=e(I,F,P,z,X),de=S(o,n),X<=1&&de<V?(K=X,V=de):j*=.5);return k&&(k[0]=e(C,L,B,H,K),k[1]=e(I,F,P,z,K)),g(V)}function w(C,I,L,F){var B=1-F;return B*(B*C+2*F*I)+F*F*L}function b(C,I,L,F){return 2*((1-F)*(I-C)+F*(L-I))}function E(C,I,L,F,B){var P=C-2*I+L,H=2*(I-C),z=C-F,M=0;if(r(P)){if(l(H)){var U=-z/H;U>=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<K&&(U=j,K=V)}K=Infinity;for(var W=0;W<32&&!(k<d);W++){var X=U-k,J=U+k;i[0]=w(C,L,B,X),i[1]=w(I,F,P,X);var V=S(i,n);if(X>=0&&V<K)U=X,K=V;else{o[0]=w(C,L,B,J),o[1]=w(I,F,P,J);var de=S(o,n);J<=1&&de<K?(U=J,K=de):k*=.5}}return M&&(M[0]=w(C,L,B,U),M[1]=w(I,F,P,U)),g(K)}N.cubicAt=e,N.cubicDerivativeAt=s,N.cubicRootAt=u,N.cubicExtrema=h,N.cubicSubdivide=A,N.cubicProjectPoint=v,N.quadraticAt=w,N.quadraticDerivativeAt=b,N.quadraticRootAt=E,N.quadraticExtremum=T,N.quadraticSubdivide=_,N.quadraticProjectPoint=x},Sp2Z:function(R,N,t){var y=t("3LNs"),p=t("/y7N"),S=t("AVZG"),m=t("Znkb"),g=y.extend({makeElOption:function(n,i,o,r,l){var e=o.axis,s=e.grid,u=r.get("type"),h=f(s,e).getOtherAxis(e).getGlobalExtent(),A=e.toGlobalCoord(e.dataToCoord(i,!0));if(u&&u!=="none"){var v=p.buildElStyle(r),w=d[u](e,A,h);w.style=v,n.graphicKey=w.type,n.pointer=w}var b=S.layout(s.model,o);p.buildCartesianSingleLabelElOption(i,n,b,o,r,l)},getHandleTransform:function(n,i,o){var r=S.layout(i.axis.grid.model,i,{labelInside:!1});return r.labelMargin=o.get("handle.margin"),{position:p.getTransformedPosition(i.axis,n,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(n,i,o,r){var l=o.axis,e=l.grid,s=l.getGlobalExtent(!0),u=f(e,l).getOtherAxis(l).getGlobalExtent(),h=l.dim==="x"?0:1,A=n.position;A[h]+=i[h],A[h]=Math.min(s[1],A[h]),A[h]=Math.max(s[0],A[h]);var v=(u[1]+u[0])/2,w=[v,v];w[h]=A[h];var b=[{verticalAlign:"middle"},{align:"center"}];return{position:A,rotation:n.rotation,cursorPoint:w,tooltipOption:b[h]}}});function f(n,i){var o={};return o[i.dim+"AxisIndex"]=i.index,n.getCartesian(o)}var d={line:function(n,i,o){var r=p.makeLineShape([i,o[0]],[i,o[1]],c(n));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(n,i,o){var r=Math.max(1,n.getBandWidth()),l=o[1]-o[0];return{type:"Rect",shape:p.makeRectShape([i-r/2,o[0]],[r,l],c(n))}}};function c(n){return n.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",g);var a=g;R.exports=a},Sq3C:function(R,N,t){var y=t("sKgW"),p=t("zoYe"),S=t("wy8a"),m=t("quyA"),g=t("Z1HP"),f=t("Em2t"),d=Math.ceil;function c(a,n){n=n===void 0?" ":p(n);var i=n.length;if(i<2)return i?y(n,a):n;var o=y(n,d(a/g(n)));return m(n)?S(f(o),0,a).join(""):o.slice(0,a)}R.exports=c},SqI9:function(R,N,t){var y=t("y+Vt"),p=t("iXp4"),S=y.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:p(y.prototype.brush),buildPath:function(g,f){var d=f.cx,c=f.cy,a=Math.max(f.r0||0,0),n=Math.max(f.r,0),i=f.startAngle,o=f.endAngle,r=f.clockwise,l=Math.cos(i),e=Math.sin(i);g.moveTo(l*a+d,e*a+c),g.lineTo(l*n+d,e*n+c),g.arc(d,c,n,i,o,!r),g.lineTo(Math.cos(o)*a+d,Math.sin(o)*a+c),a!==0&&g.arc(d,c,a,o,i,r),g.closePath()}});R.exports=S},SrGk:function(R,N,t){var y=t("hydK"),p=y.createElement,S=t("bYtY"),m=t("y+Vt"),g=t("Dagg"),f=t("dqUG"),d=t("P47w"),c=d.path,a=d.image,n=d.text,i="0",o="1";function r(e,s,u,h,A){this._zrId=e,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=h,this._domName=A||"_dom",this.nextId=0}r.prototype.createElement=p,r.prototype.getDefs=function(e){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?e?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(h){var A=u.children;if(!A)return!1;for(var v=A.length-1;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<M.length;k++)M[k]&&M[k].label&&n.defaultEmphasis(M[k],"label",U)},getInitialData:function(){},appendData:function(M){var U=this.getRawData();U.appendData(M.data)},getData:function(M){var U=H(this);if(U){var k=U.context.data;return M==null?k:k.getLinkedData(M)}else return T(this).data},setData:function(M){var U=H(this);if(U){var k=U.context;k.data!==M&&U.modifyOutputEnd&&U.setOutputEnd(M.count()),k.outputData=M,U!==this.dataTask&&(k.data=M)}T(this).data=M},getSource:function(){return w(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var M=this.coordinateSystem;return M&&M.getBaseAxis&&M.getBaseAxis()},formatTooltip:function(M,U,k,K){var j=this;K=K||"html";var V=K==="html"?"<br/>":`
|
|
|
`,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?`
|
|
|
`:"<br/>":"",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;i<e;i++)m.lineTo(d[i][0],d[i][1])}f&&m.closePath()}}N.buildPath=S},TIY9:function(R,N,t){var y=t("bYtY"),p=y.each,S=t("vafp"),m=t("4NO4"),g=m.makeInner,f=t("Mgri"),d=t("F5Ls"),c=t("a9QJ"),a=t("p/La"),n=g(),i={load:function(r,l,e){var s=n(l).parsed;if(s)return s;var u=l.specialAreas||{},h=l.geoJSON,A;try{A=h?S(h,e):[]}catch(v){throw new Error(`Invalid geoJson format
|
|
|
`+v.message)}return f(r,A),p(A,function(v){var w=v.name;d(r,v),c(r,v),a(r,v);var b=u[w];b&&v.transformTo(b.left,b.top,b.width,b.height)}),n(l).parsed={regions:A,boundingRect:o(A)}}};function o(r){for(var l,e=0;e<r.length;e++){var s=r[e].getBoundingRect();l=l||s.clone(),l.union(s)}return l}R.exports=i},TJmX:function(R,N,t){var y=t("zM3Q"),p=["itemStyle","borderColor"],S=["itemStyle","borderColor0"],m=["itemStyle","color"],g=["itemStyle","color0"],f={seriesType:"candlestick",plan:y(),performRawSeries:!0,reset:function(d,c){var a=d.getData();if(a.setVisual({legendSymbol:"roundRect",colorP:o(1,d),colorN:o(-1,d),borderColorP:r(1,d),borderColorN:r(-1,d)}),c.isSeriesFiltered(d))return;var n=d.pipelineContext.large;return!n&&{progress:i};function i(l,e){for(var s;(s=l.next())!=null;){var u=e.getItemModel(s),h=e.getItemLayout(s).sign;e.setItemVisual(s,{color:o(h,u),borderColor:r(h,u)})}}function o(l,e){return e.get(l>0?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<b;w++){var E=s.getName(w);h.set(E,!0),A.push({name:E,value:s.get(u,w),selected:a(s,w,"selected")})}var T=n.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(T.regions,function(_){var x=_.name;h.get(x)||(A.push({name:x}),v.push(x))}),this.updateSelectedMap(A),s.appendValues([],v),s},getHostGeoModel:function(){var e=this.option.geoIndex;return e!=null?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var s=this.getData();return s.get(s.mapDimension("value"),e)},getRegionModel:function(e){var s=this.getData();return s.getItemModel(s.indexOfName(e))},formatTooltip:function(e){for(var s=this.getData(),u=f(this.getRawValue(e)),h=s.getName(e),A=this.seriesGroup,v=[],w=0;w<A.length;w++){var b=A[w].originalData.indexOfName(h),E=s.mapDimension("value");isNaN(A[w].originalData.get(E,b))||v.push(g(A[w].name))}return v.join(", ")+"<br />"+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)<b&&(v="");var T=this.childAt(1);p.setLabelStyle(T.style,T.hoverStyle||{},u,A,{defaultText:h.getShallow("show")?v:null,autoColor:l,useInsideStyle:!0});var _=(w.startAngle+w.endAngle)/2,x=Math.cos(_),C=Math.sin(_),I,L=U("position"),F=U("distance")||0,B=U("align");L==="outside"?(I=w.r+F,B=_>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='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',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<n.length;h++)u[n[h]]=e+o[h];r.call(l,u)})}}var d=f(S,["axisIndex","axis","index","id"]);function c(a,n,i){return function(e){var s={nodes:[],records:{}};if(n(function(A){s.records[A.name]={}}),!e)return s;l(e,s);var u;do u=!1,a(h);while(u);function h(A){!o(A,s)&&r(A,s)&&(l(A,s),u=!0)}return s};function o(e,s){return y.indexOf(s.nodes,e)>=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;v<h;++v){A=e[v]*s,f.setItemLayout(n[0].indices[v],{layerIndex:0,x:r[0][v][0],y0:A,y:r[0][v][1]*s});for(var w=1;w<u;++w)A+=r[w-1][v][1]*s,f.setItemLayout(n[w].indices[v],{layerIndex:w,x:r[w][v][0],y0:A,y:r[w][v][1]*s})}}function g(f){for(var d=f.length,c=f[0].length,a=[],n=[],i=0,o,r={},l=0;l<c;++l){for(var e=0,o=0;e<d;++e)o+=f[e][l][1];o>i&&(i=o),a.push(o)}for(var s=0;s<c;++s)n[s]=(i-a[s])/2;i=0;for(var u=0;u<c;++u){var h=a[u]+n[u];h>i&&(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.clientHeight<le.scrollHeight||le.clientWidth<le.scrollWidth){var tr=getComputedStyle(le,null);return u(tr.overflowY,Nt)||u(tr.overflowX,Nt)||function(lt){var Wt=function(cr){if(!cr.ownerDocument||!cr.ownerDocument.defaultView)return null;try{return cr.ownerDocument.defaultView.frameElement}catch(Vr){return null}}(lt);return!!Wt&&(Wt.clientHeight<lt.scrollHeight||Wt.clientWidth<lt.scrollWidth)}(le)}return!1}function A(le,Nt,tr,lt,Wt,cr,Vr,ur){return cr<le&&Vr>Nt||cr>le&&Vr<Nt?0:cr<=le&&ur<=tr||Vr>=Nt&&ur>=tr?cr-le-lt:Vr>Nt&&ur<tr||cr<le&&ur>tr?Vr-Nt+Wt:0}var v=function(le,Nt){var tr=window,lt=Nt.scrollMode,Wt=Nt.block,cr=Nt.inline,Vr=Nt.boundary,ur=Nt.skipOverflowHiddenElements,ir=typeof Vr=="function"?Vr:function(Nn){return Nn!==Vr};if(!s(le))throw new TypeError("Invalid target");for(var Lt=document.scrollingElement||document.documentElement,ot=[],Xe=le;s(Xe)&&ir(Xe);){if((Xe=Xe.parentElement)===Lt){ot.push(Xe);break}Xe!=null&&Xe===document.body&&h(Xe)&&!h(document.documentElement)||Xe!=null&&h(Xe,ur)&&ot.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=Wt==="start"||Wt==="nearest"?Je:Wt==="end"?be:Je+Zr/2,rt=cr==="center"?Le+Ln/2:cr==="end"?et:Le,Vt=[],Ft=0;Ft<ot.length;Ft++){var zt=ot[Ft],Dr=zt.getBoundingClientRect(),Pr=Dr.height,un=Dr.width,Ht=Dr.top,dt=Dr.right,at=Dr.bottom,Qt=Dr.left;if(lt==="if-needed"&&Je>=0&&Le>=0&&be<=Sr&&et<=$t&&Je>=Ht&&be<=at&&Le>=Qt&&et<=dt)return Vt;var Jt=getComputedStyle(zt),gt=parseInt(Jt.borderLeftWidth,10),Bt=parseInt(Jt.borderTopWidth,10),mt=parseInt(Jt.borderRightWidth,10),kt=parseInt(Jt.borderBottomWidth,10),gr=0,ar=0,lr="offsetWidth"in zt?zt.offsetWidth-zt.clientWidth-gt-mt:0,Gr="offsetHeight"in zt?zt.offsetHeight-zt.clientHeight-Bt-kt:0;if(Lt===zt)gr=Wt==="start"?Ue:Wt==="end"?Ue-Sr:Wt==="nearest"?A(fr,fr+Sr,Sr,Bt,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=Wt==="start"?Ue-Ht-Bt:Wt==="end"?Ue-at+kt+Gr:Wt==="nearest"?A(Ht,at,Pr,Bt,kt+Gr,Ue,Ue+Zr,Zr):Ue-(Ht+Pr/2)+Gr/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=zt.scrollLeft,Tn=zt.scrollTop;Ue+=Tn-(gr=Math.max(0,Math.min(Tn+gr,zt.scrollHeight-Pr+Gr))),rt+=Jr-(ar=Math.max(0,Math.min(Jr+ar,zt.scrollWidth-un+lr)))}Vt.push({el:zt,top:gr,left:ar})}return Vt};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 Wt=lt.el,cr=lt.top,Vr=lt.left;Wt.scroll&&tr?Wt.scroll({top:cr,left:Vr,behavior:Nt}):(Wt.scrollTop=cr,Wt.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],Wt=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?Wt.current[Lt]=ir:delete Wt.current[Lt]}}},scrollToField:function(ur){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=x(ur),ot=C(Lt,cr.__INTERNAL__.name),Xe=ot?document.getElementById(ot):null;Xe&&_(Xe,p()({scrollMode:"if-needed",block:"nearest"},ir))},getFieldInstance:function(ur){var ir=I(ur);return Wt.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 Wt=0,lt=Object.getOwnPropertySymbols(le);Wt<lt.length;Wt++)Nt.indexOf(lt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(le,lt[Wt])&&(tr[lt[Wt]]=le[lt[Wt]]);return tr},P=function(Nt,tr){var lt,Wt=d.useContext(F.b),cr=d.useContext(i.b),Vr=cr.getPrefixCls,ur=cr.direction,ir=Nt.name,Lt=Nt.prefixCls,ot=Nt.className,Xe=ot===void 0?"":ot,$t=Nt.size,Sr=$t===void 0?Wt:$t,vr=Nt.form,fr=Nt.colon,An=Nt.labelAlign,Zr=Nt.labelCol,Ln=Nt.wrapperCol,Je=Nt.hideRequiredMark,et=Nt.layout,be=et===void 0?"horizontal":et,Le=Nt.scrollToFirstError,Ue=Nt.requiredMark,rt=Nt.onFinishFailed,Vt=B(Nt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Ft=Object(d.useMemo)(function(){return Ue!==void 0?Ue:!Je},[Je,Ue]),zt=Vr("form",Lt),Dr=a()(zt,(lt={},f()(lt,"".concat(zt,"-").concat(be),!0),f()(lt,"".concat(zt,"-hide-required-mark"),Ft===!1),f()(lt,"".concat(zt,"-rtl"),ur==="rtl"),f()(lt,"".concat(zt,"-").concat(Sr),Sr),lt),Xe),Pr=L(vr),un=m()(Pr,1),Ht=un[0],dt=Ht.__INTERNAL__;dt.name=ir;var at=Object(d.useMemo)(function(){return{name:ir,labelAlign:An,labelCol:Zr,wrapperCol:Ln,vertical:be==="vertical",colon:fr,requiredMark:Ft,itemRef:dt.itemRef}},[ir,An,Zr,Ln,be,fr,Ft]);d.useImperativeHandle(tr,function(){return Ht});var Qt=function(gt){rt&&rt(gt),Le&>.errorFields.length&&Ht.scrollToField(gt.errorFields[0].name)};return d.createElement(F.a,{size:Sr},d.createElement(r.Provider,{value:at},d.createElement(n.default,p()({id:ir},Vt,{onFinishFailed:Qt,form:Ht,className:Dr}))))},H=d.forwardRef(P),z=H,M=t("cDf5"),U=t.n(M),k=t("RIqP"),K=t.n(k),j=t("Y+p1"),V=t.n(j),W=t("KW7l"),X=t("c+Xe"),J=t("qrJ5"),de=t("CWQg"),G=t("uaoM"),ae=t("/kpp"),Ae=t("YMnH"),me=t("ZvpZ"),Me=function(Nt){var tr=Nt.prefixCls,lt=Nt.label,Wt=Nt.htmlFor,cr=Nt.labelCol,Vr=Nt.labelAlign,ur=Nt.colon,ir=Nt.required,Lt=Nt.requiredMark,ot=Object(Ae.b)("Form"),Xe=m()(ot,1),$t=Xe[0];return lt?d.createElement(r.Consumer,{key:"label"},function(Sr){var vr,fr=Sr.vertical,An=Sr.labelAlign,Zr=Sr.labelCol,Ln=Sr.colon,Je,et=cr||Zr||{},be=Vr||An,Le="".concat(tr,"-item-label"),Ue=a()(Le,be==="left"&&"".concat(Le,"-left"),et.className),rt=lt,Vt=ur===!0||Ln!==!1&&ur!==!1,Ft=Vt&&!fr;Ft&&typeof lt=="string"&<.trim()!==""&&(rt=lt.replace(/[:|:]\s*$/,"")),Lt==="optional"&&!ir&&(rt=d.createElement(d.Fragment,null,rt,d.createElement("span",{className:"".concat(tr,"-item-optional")},($t==null?void 0:$t.optional)||((Je=me.a.Form)===null||Je===void 0?void 0:Je.optional))));var zt=a()((vr={},f()(vr,"".concat(tr,"-item-required"),ir),f()(vr,"".concat(tr,"-item-required-mark-optional"),Lt==="optional"),f()(vr,"".concat(tr,"-item-no-colon"),!Vt),vr));return d.createElement(ae.a,p()({},et,{className:Ue}),d.createElement("label",{htmlFor:Wt,className:zt,title:typeof lt=="string"?lt:""},rt))}):null},oe=Me,_e=t("gZBC"),ee=t.n(_e),ne=t("kbBi"),Ge=t.n(ne),Ee=t("J84W"),ue=t.n(Ee),re=t("sKbD"),ce=t.n(re),ke=t("YrtM"),Te=t("8XRh"),Ke=t("hkKa");function Ie(le,Nt,tr){var lt=d.useRef({errors:le,visible:!!le.length}),Wt=Object(Ke.a)(),cr=function(){var ur=lt.current.visible,ir=!!le.length,Lt=lt.current.errors;lt.current.errors=le,lt.current.visible=ir,ur!==ir?Nt(ir):(Lt.length!==le.length||Lt.some(function(ot,Xe){return ot!==le[Xe]}))&&Wt()};return d.useEffect(function(){if(!tr){var Vr=setTimeout(cr,10);return function(){return clearTimeout(Vr)}}},[le]),tr&&cr(),[lt.current.visible,lt.current.errors]}var se={success:ue.a,warning:ce.a,error:Ge.a,validating:ee.a},ye=function(Nt){var tr=Nt.prefixCls,lt=Nt.wrapperCol,Wt=Nt.children,cr=Nt.help,Vr=Nt.errors,ur=Nt.onDomErrorVisibleChange,ir=Nt.hasFeedback,Lt=Nt.validateStatus,ot=Nt.extra,Xe=Object(Ke.a)(),$t="".concat(tr,"-item"),Sr=d.useContext(r),vr=lt||Sr.wrapperCol||{},fr=a()("".concat($t,"-control"),vr.className),An=Ie(Vr,function(rt){rt&&Promise.resolve().then(function(){ur(!0)}),Xe()},!!cr),Zr=m()(An,2),Ln=Zr[0],Je=Zr[1];d.useEffect(function(){return function(){ur(!1)}},[]);var et=Object(ke.a)(function(){return Je},Ln,function(rt,Vt){return Vt}),be=Lt&&se[Lt],Le=ir&&be?d.createElement("span",{className:"".concat($t,"-children-icon")},d.createElement(be,null)):null,Ue=p()({},Sr);return delete Ue.labelCol,delete Ue.wrapperCol,d.createElement(r.Provider,{value:Ue},d.createElement(ae.a,p()({},vr,{className:fr}),d.createElement("div",{className:"".concat($t,"-control-input")},d.createElement("div",{className:"".concat($t,"-control-input-content")},Wt),Le),d.createElement(Te.default,{motionDeadline:500,visible:Ln,motionName:"show-help",onLeaveEnd:function(){ur(!1)},motionAppear:!0,removeOnLeave:!0},function(rt){var Vt=rt.className;return d.createElement("div",{className:a()("".concat($t,"-explain"),Vt),key:"help"},et.map(function(Ft,zt){return d.createElement("div",{key:zt,role:"alert"},Ft)}))}),ot&&d.createElement("div",{className:"".concat($t,"-extra")},ot)))},xe=ye,Ye=t("0n0R"),pt=t("xEkU"),nt=t.n(pt);function Oe(le){var Nt=d.useState(le),tr=m()(Nt,2),lt=tr[0],Wt=tr[1],cr=Object(d.useRef)(null),Vr=Object(d.useRef)([]),ur=Object(d.useRef)(!1);d.useEffect(function(){return function(){ur.current=!0,nt.a.cancel(cr.current)}},[]);function ir(Lt){if(ur.current)return;cr.current===null&&(Vr.current=[],cr.current=nt()(function(){cr.current=null,Wt(function(ot){var Xe=ot;return Vr.current.forEach(function($t){Xe=$t(Xe)}),Xe})})),Vr.current.push(Lt)}return[lt,ir]}function vt(){var le=d.useContext(r),Nt=le.itemRef,tr=d.useRef({});function lt(Wt,cr){var Vr=cr&&U()(cr)==="object"&&cr.ref,ur=Wt.join("_");return(tr.current.name!==ur||tr.current.originRef!==Vr)&&(tr.current.name=ur,tr.current.originRef=Vr,tr.current.ref=Object(X.a)(Nt(Wt),Vr)),tr.current.ref}return lt}var Ze=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 Wt=0,lt=Object.getOwnPropertySymbols(le);Wt<lt.length;Wt++)Nt.indexOf(lt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(le,lt[Wt])&&(tr[lt[Wt]]=le[lt[Wt]]);return tr},wt=Object(de.a)("success","warning","error","validating",""),xt=d.memo(function(le){var Nt=le.children;return Nt},function(le,Nt){return le.value===Nt.value&&le.update===Nt.update});function Ot(le){return le===null&&Object(G.a)(!1,"Form.Item","`null` is passed as `name` property"),!(le==null)}function Mt(le){var Nt=le.name,tr=le.fieldKey,lt=le.noStyle,Wt=le.dependencies,cr=le.prefixCls,Vr=le.style,ur=le.className,ir=le.shouldUpdate,Lt=le.hasFeedback,ot=le.help,Xe=le.rules,$t=le.validateStatus,Sr=le.children,vr=le.required,fr=le.label,An=le.trigger,Zr=An===void 0?"onChange":An,Ln=le.validateTrigger,Je=le.hidden,et=Ze(le,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),be=d.useRef(!1),Le=d.useContext(i.b),Ue=Le.getPrefixCls,rt=d.useContext(r),Vt=rt.name,Ft=rt.requiredMark,zt=d.useContext(l),Dr=zt.updateItemErrors,Pr=d.useState(!!ot),un=m()(Pr,2),Ht=un[0],dt=un[1],at=d.useRef($t),Qt=Oe({}),Jt=m()(Qt,2),gt=Jt[0],Bt=Jt[1],mt=d.useContext(W.b),kt=mt.validateTrigger,gr=Ln!==void 0?Ln:kt;function ar(Ve){be.current||dt(Ve)}var lr=Ot(Nt),Gr=d.useRef([]);d.useEffect(function(){return function(){be.current=!0,Dr(Gr.current.join("__SPLIT__"),[])}},[]);var Jr=Ue("form",cr),Tn=lt?Dr:function(Ve,Se){Bt(function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return V()(Re[Ve],Se)?Re:p()(p()({},Re),f()({},Ve,Se))})},Nn=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;ot!=null?At=x(ot):(At=Re?Re.errors:[],At=[].concat(K()(At),K()(Qe)));var st="";$t!==void 0?st=$t:(Re==null?void 0:Re.validating)?st="validating":((He=Re==null?void 0:Re.errors)===null||He===void 0?void 0:He.length)||Qe.length?st="error":(Re==null?void 0:Re.touched)&&(st="success"),Ht&&ot&&(at.current=st);var Pt=(We={},f()(We,"".concat(Jr,"-item"),!0),f()(We,"".concat(Jr,"-item-with-help"),Ht||ot),f()(We,"".concat(ur),!!ur),f()(We,"".concat(Jr,"-item-has-feedback"),st&&Lt),f()(We,"".concat(Jr,"-item-has-success"),st==="success"),f()(We,"".concat(Jr,"-item-has-warning"),st==="warning"),f()(We,"".concat(Jr,"-item-has-error"),st==="error"),f()(We,"".concat(Jr,"-item-has-error-leave"),!ot&&Ht&&at.current==="error"),f()(We,"".concat(Jr,"-item-is-validating"),st==="validating"),f()(We,"".concat(Jr,"-item-hidden"),Je),We);return d.createElement(J.a,p()({className:a()(Pt),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:Ft},le,{prefixCls:Jr})),d.createElement(xe,p()({},le,Re,{errors:At,prefixCls:Jr,onDomErrorVisibleChange:ar,validateStatus:st}),d.createElement(l.Provider,{value:{updateItemErrors:Tn}},Ve)))}var qn=typeof Sr=="function",vi=d.useRef(0);if(vi.current+=1,!lr&&!qn&&!Wt)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,Vt);if(lt){if(Gr.current=K()(We),tr){var Qe=Array.isArray(tr)?tr:[tr];Gr.current=[].concat(K()(We.slice(0,-1)),K()(Qe))}Dr(Gr.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 jt=Or(Re);return jt&&jt.required}return!1})),st=p()({},Ve),Pt=null;if(Object(G.a)(!(ir&&Wt),"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`."),Pt=Sr;else if(qn&&(!(ir||Wt)||lr))Object(G.a)(!!(ir||Wt),"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(Wt&&!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),st);wr.id||(wr.id=He),Object(X.c)(Sr)&&(wr.ref=Nn(We,Sr));var mr=new Set([].concat(K()(x(Zr)),K()(x(gr))));mr.forEach(function(Or){wr[Or]=function(){for(var jt,cn,nr,Xr,Br,yr=arguments.length,xn=new Array(yr),Bn=0;Bn<yr;Bn++)xn[Bn]=arguments[Bn];(nr=st[Or])===null||nr===void 0||(jt=nr).call.apply(jt,[st].concat(xn)),(Br=(Xr=Sr.props)[Or])===null||Br===void 0||(cn=Br).call.apply(cn,[Xr].concat(xn))}}),Pt=d.createElement(xt,{value:st[le.valuePropName||"value"],update:vi.current},Object(Ye.a)(Sr,wr))}else qn&&(ir||Wt)&&!lr?Pt=Sr(Re):(Object(G.a)(!We.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Pt=Sr);return zn(Pt,He,Se,At)})}var Gt=Mt,$e=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 Wt=0,lt=Object.getOwnPropertySymbols(le);Wt<lt.length;Wt++)Nt.indexOf(lt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(le,lt[Wt])&&(tr[lt[Wt]]=le[lt[Wt]]);return tr},pe=function(Nt){var tr=Nt.children,lt=$e(Nt,["children"]);return Object(G.a)(!!lt.name,"Form.List","Miss `name` prop."),d.createElement(n.List,lt,function(Wt,cr){return tr(Wt.map(function(Vr){return p()(p()({},Vr),{fieldKey:Vr.key})}),cr)})},q=pe,bt=z;bt.Item=Gt,bt.List=q,bt.useForm=L,bt.Provider=e,bt.create=function(){Object(G.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var qe=N.a=bt},VpOo:function(R,N){function t(y,p){var S=p.x,m=p.y,g=p.width,f=p.height,d=p.r,c,a,n,i;g<0&&(S=S+g,g=-g),f<0&&(m=m+f,f=-f),typeof d=="number"?c=a=n=i=d:d instanceof Array?d.length===1?c=a=n=i=d[0]:d.length===2?(c=n=d[0],a=i=d[1]):d.length===3?(c=d[0],a=i=d[1],n=d[2]):(c=d[0],a=d[1],n=d[2],i=d[3]):c=a=n=i=0;var o;c+a>g&&(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.length;++De)te.appendChild(D[De]);return te}function F(O,D,Y,Z){var te=L(O,D,Y,Z);return te.setAttribute("role","presentation"),te}var B;document.createRange?B=function(D,Y,Z,te){var De=document.createRange();return De.setEnd(te||D,Z),De.setStart(D,Y),De}:B=function(D,Y,Z){var te=document.body.createTextRange();try{te.moveToElementText(D.parentNode)}catch(De){return te}return te.collapse(!0),te.moveEnd("character",Z),te.moveStart("character",Y),te};function P(O,D){if(D.nodeType==3&&(D=D.parentNode),O.contains)return O.contains(D);do if(D.nodeType==11&&(D=D.host),D==O)return!0;while(D=D.parentNode)}function H(){var O;try{O=document.activeElement}catch(D){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function z(O,D){var Y=O.className;_(D).test(Y)||(O.className+=(Y?" ":"")+D)}function M(O,D){for(var Y=O.split(" "),Z=0;Z<Y.length;Z++)Y[Z]&&!_(Y[Z]).test(D)&&(D+=" "+Y[Z]);return D}var U=function(D){D.select()};s?U=function(D){D.selectionStart=0,D.selectionEnd=D.value.length}:d&&(U=function(D){try{D.select()}catch(Y){}});function k(O){var D=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,D)}}function K(O,D,Y){D||(D={});for(var Z in O)O.hasOwnProperty(Z)&&(Y!==!1||!D.hasOwnProperty(Z))&&(D[Z]=O[Z]);return D}function j(O,D,Y,Z,te){D==null&&(D=O.search(/[^\s\u00a0]/),D==-1&&(D=O.length));for(var De=Z||0,ht=te||0;;){var Et=O.indexOf(" ",De);if(Et<0||Et>=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<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=Y)};function W(O,D){for(var Y=0;Y<O.length;++Y)if(O[Y]==D)return Y;return-1}var X=50,J={toString:function(){return"CodeMirror.Pass"}},de={scroll:!1},G={origin:"*mouse"},ae={origin:"+move"};function Ae(O,D,Y){for(var Z=0,te=0;;){var De=O.indexOf(" ",Z);De==-1&&(De=O.length);var ht=De-Z;if(De==O.length||te+ht>=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<O.length;Z++)Y[Z]=D(O[Z],Z);return Y}function ee(O,D,Y){for(var Z=0,te=Y(D);Z<O.length&&Y(O[Z])<=te;)Z++;O.splice(Z,0,D)}function ne(){}function Ge(O,D){var Y;return Object.create?Y=Object.create(O):(ne.prototype=O,Y=new ne),D&&K(D,Y),Y}var Ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ue(O){return/\w/.test(O)||O>"\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:D<O.length)&&Te(O.charAt(D));)D+=Y;return D}function Ie(O,D,Y){for(var Z=D>Y?-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;De<O.length;++De){var ht=O[De];(ht.from<Y&&ht.to>D||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;te<O.length;++te){var De=O[te];if(De.from<D&&De.to>D)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<Mn;++Ai)kn.push(Y(qt.charCodeAt(Ai)));for(var ji=0,Qi=dn;ji<Mn;++ji){var Yi=kn[ji];Yi=="m"?kn[ji]=Qi:Qi=Yi}for(var Xi=0,pa=dn;Xi<Mn;++Xi){var ya=kn[Xi];ya=="1"&&pa=="r"?kn[Xi]="n":De.test(ya)&&(pa=ya,ya=="r"&&(kn[Xi]="R"))}for(var qa=1,ja=kn[0];qa<Mn-1;++qa){var vo=kn[qa];vo=="+"&&ja=="1"&&kn[qa+1]=="1"?kn[qa]="1":vo==","&&ja==kn[qa+1]&&(ja=="1"||ja=="n")&&(kn[qa]=ja),ja=vo}for(var Wo=0;Wo<Mn;++Wo){var ta=kn[Wo];if(ta==",")kn[Wo]="N";else if(ta=="%"){var ko=void 0;for(ko=Wo+1;ko<Mn&&kn[ko]=="%";++ko);for(var Ts=Wo&&kn[Wo-1]=="!"||ko<Mn&&kn[ko]=="1"?"1":"N",fs=Wo;fs<ko;++fs)kn[fs]=Ts;Wo=ko-1}}for(var _s=0,xo=dn;_s<Mn;++_s){var To=kn[_s];xo=="L"&&To=="1"?kn[_s]="L":De.test(To)&&(xo=To)}for(var xs=0;xs<Mn;++xs)if(te.test(kn[xs])){var Is=void 0;for(Is=xs+1;Is<Mn&&te.test(kn[Is]);++Is);for(var rs=(xs?kn[xs-1]:dn)=="L",ol=(Is<Mn?kn[Is]:dn)=="L",kl=rs==ol?rs?"L":"R":dn,Ol=xs;Ol<Is;++Ol)kn[Ol]=kl;xs=Is-1}for(var Os=[],wl,zs=0;zs<Mn;)if(ht.test(kn[zs])){var Vc=zs;for(++zs;zs<Mn&&ht.test(kn[zs]);++zs);Os.push(new Yt(0,Vc,zs))}else{var Ll=zs,Sl=Os.length,Ul=qr=="rtl"?1:0;for(++zs;zs<Mn&&kn[zs]!="L";++zs);for(var $s=Ll;$s<zs;)if(Et.test(kn[$s])){Ll<$s&&(Os.splice(Sl,0,new Yt(1,Ll,$s)),Sl+=Ul);var Nl=$s;for(++$s;$s<zs&&Et.test(kn[$s]);++$s);Os.splice(Sl,0,new Yt(2,Nl,$s)),Sl+=Ul,Ll=$s}else++$s;Ll<zs&&Os.splice(Sl,0,new Yt(1,Ll,zs))}return qr=="ltr"&&(Os[0].level==1&&(wl=qt.match(/^\s+/))&&(Os[0].from=wl[0].length,Os.unshift(new Yt(0,0,wl[0].length))),oe(Os).level==1&&(wl=qt.match(/\s+$/))&&(oe(Os).to-=wl[0].length,Os.push(new Yt(0,Mn-wl[0].length,Mn)))),qr=="rtl"?Os.reverse():Os}}();function pt(O,D){var Y=O.order;return Y==null&&(Y=O.order=Ye(O.text,D)),Y}var nt=[],Oe=function(D,Y,Z){if(D.addEventListener)D.addEventListener(Y,Z,!1);else if(D.attachEvent)D.attachEvent("on"+Y,Z);else{var te=D._handlers||(D._handlers={});te[Y]=(te[Y]||nt).concat(Z)}};function vt(O,D){return O._handlers&&O._handlers[D]||nt}function Ze(O,D,Y){if(O.removeEventListener)O.removeEventListener(D,Y,!1);else if(O.detachEvent)O.detachEvent("on"+D,Y);else{var Z=O._handlers,te=Z&&Z[D];if(te){var De=W(te,Y);De>-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;te<Y.length;++te)Y[te].apply(null,Z)}function xt(O,D,Y){return typeof D=="string"&&(D={type:D,preventDefault:function(){this.defaultPrevented=!0}}),wt(O,Y||D.type,O,D),q(D)||D.codemirrorIgnore}function Ot(O){var D=O._handlers&&O._handlers.cursorActivity;if(!D)return;for(var Y=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),Z=0;Z<D.length;++Z)W(Y,D[Z])==-1&&Y.push(D[Z])}function Mt(O,D){return vt(O,D).length>0}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 Wt;function cr(O){if(Wt!=null)return Wt;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:Wt=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 ot(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.pos<this.string.length)return this.string.charAt(this.pos++)},Le.prototype.eat=function(O){var D=this.string.charAt(this.pos),Y;if(typeof O=="string"?Y=D==O:Y=D&&(O.test?O.test(D):O(D)),Y)return++this.pos,D},Le.prototype.eatWhile=function(O){for(var D=this.pos;this.eat(O););return this.pos>D},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.lastColumnPos<this.start&&(this.lastColumnValue=j(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?j(this.string,this.lineStart,this.tabSize):0)},Le.prototype.indentation=function(){return j(this.string,null,this.tabSize)-(this.lineStart?j(this.string,this.lineStart,this.tabSize):0)},Le.prototype.match=function(O,D,Y){if(typeof O=="string"){var Z=function(Et){return Y?Et.toLowerCase():Et},te=this.string.substr(this.pos,O.length);if(Z(te)==Z(O))return D!==!1&&(this.pos+=O.length),!0}else{var De=this.string.slice(this.pos).match(O);return De&&De.index>0?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<De){Y=te;break}D-=De}return Y.lines[D]}function rt(O,D,Y){var Z=[],te=D.line;return O.iter(D.line,Y.line+1,function(De){var ht=De.text;te==Y.line&&(ht=ht.slice(0,Y.ch)),te==D.line&&(ht=ht.slice(D.ch)),Z.push(ht),++te}),Z}function Vt(O,D,Y){var Z=[];return O.iter(D,Y,function(te){Z.push(te.text)}),Z}function Ft(O,D){var Y=D-O.height;if(Y)for(var Z=O;Z;Z=Z.parent)Z.height+=Y}function zt(O){if(O.parent==null)return null;for(var D=O.parent,Y=W(D.lines,O),Z=D.parent;Z;D=Z,Z=Z.parent)for(var te=0;!(Z.children[te]==D);++te)Y+=Z.children[te].chunkSize();return Y+D.first}function Dr(O,D){var Y=O.first;e:do{for(var Z=0;Z<O.children.length;++Z){var te=O.children[Z],De=te.height;if(D<De){O=te;continue e}D-=De,Y+=te.chunkSize()}return Y}while(!O.lines);for(var ht=0;ht<O.lines.length;++ht){var Et=O.lines[ht],Yt=Et.height;if(D<Yt)break;D-=Yt}return Y+ht}function Pr(O,D){return D>=O.first&&D<O.first+O.size}function un(O,D){return String(O.lineNumberFormatter(D+O.firstLineNumber))}function Ht(O,D,Y){if(Y===void 0&&(Y=null),!(this instanceof Ht))return new Ht(O,D,Y);this.line=O,this.ch=D,this.sticky=Y}function dt(O,D){return O.line-D.line||O.ch-D.ch}function at(O,D){return O.sticky==D.sticky&&dt(O,D)==0}function Qt(O){return Ht(O.line,O.ch)}function Jt(O,D){return dt(O,D)<0?D:O}function gt(O,D){return dt(O,D)<0?O:D}function Bt(O,D){return Math.max(O.first,Math.min(D,O.first+O.size-1))}function mt(O,D){if(D.line<O.first)return Ht(O.first,0);var Y=O.first+O.size-1;return D.line>Y?Ht(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?Ht(O.line,D):Y<0?Ht(O.line,0):O}function gr(O,D){for(var Y=[],Z=0;Z<D.length;Z++)Y[Z]=mt(O,D[Z]);return Y}var ar=function(D,Y){this.state=D,this.lookAhead=Y},lr=function(D,Y,Z,te){this.state=Y,this.doc=D,this.line=Z,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};lr.prototype.lookAhead=function(O){var D=this.doc.getLine(this.line+O);return D!=null&&O>this.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 Gr(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;kn<Ai;){var Yi=te[Mn];Yi>Ai&&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(;Qi<Mn;Qi+=2){var Xi=te[Qi+1];te[Qi+1]=(Xi?Xi+" ":"")+"overlay "+ji}},De),Y.state=ht,Y.baseTokens=null,Y.baseTokenPos=1},Yt=0;Yt<O.state.overlays.length;++Yt)Et(Yt);return{styles:te,classes:De.bgClass||De.textClass?De:null}}function Jr(O,D,Y){if(!D.styles||D.styles[0]!=O.state.modeGen){var Z=Tn(O,zt(D)),te=D.text.length>O.options.maxHighlightLength&&Je(O.doc.mode,Z.state),De=Gr(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){Nn(O,Yt.text,Et);var qt=Et.line;Yt.stateAfter=qt==D-1||qt%5==0||qt>=te.viewFrom&&qt<te.viewTo?Et.save():null,Et.nextLine()}),Y&&(Z.modeFrontier=Et.line),Et}function Nn(O,D,Y,Z){var te=O.doc.mode,De=new Le(D,O.options.tabSize,Y);for(De.start=De.pos=Z||0,D==""&&zn(te,Y.state);!De.eol();)qn(te,De,Y.state),De.start=De.pos}function zn(O,D){if(O.blankLine)return O.blankLine(D);if(!O.innerMode)return;var Y=et(O,D);if(Y.mode.blankLine)return Y.mode.blankLine(Y.state)}function qn(O,D,Y,Z){for(var te=0;te<10;te++){Z&&(Z[0]=et(O,Y).mode);var De=O.token(D,Y);if(D.pos>D.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.pos<D.ch)&&!qt.eol();)qt.start=qt.pos,ht=qn(De,qt,Yt.state),Z&&qr.push(new vi(qt,ht,Je(te.mode,Yt.state)));return Z?qr:new vi(qt,ht,Yt.state)}function Ve(O,D){if(O)for(;;){var Y=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Y)break;O=O.slice(0,Y.index)+O.slice(Y.index+Y[0].length);var Z=Y[1]?"bgClass":"textClass";D[Z]==null?D[Z]=Y[2]:new RegExp("(?:^|\\s)"+Y[2]+"(?:$|\\s)").test(D[Z])||(D[Z]+=" "+Y[2])}return O}function Se(O,D,Y,Z,te,De,ht){var Et=Y.flattenSpans;Et==null&&(Et=O.options.flattenSpans);var Yt=0,qt=null,qr=new Le(D,O.options.tabSize,Z),dn,Mn=O.options.addModeClass&&[null];for(D==""&&Ve(zn(Y,Z.state),De);!qr.eol();){if(qr.pos>O.options.maxHighlightLength?(Et=!1,ht&&Nn(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(;Yt<qr.start;)Yt=Math.min(qr.start,Yt+5e3),te(Yt,qt);qt=dn}qr.start=qr.pos}for(;Yt<qr.pos;){var Ai=Math.min(qr.pos,Yt+5e3);te(Ai,qt),Yt=Ai}}function Re(O,D,Y){for(var Z,te,De=O.doc,ht=Y?-1:D-(O.doc.mode.innerMode?1e3:100),Et=D;Et>ht;--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.highlightFrontier<D-10)return;for(var Y=O.first,Z=D-1;Z>Y;Z--){var te=Ue(O,Z).stateAfter;if(te&&(!(te instanceof ar)||Z+te.lookAhead<D)){Y=Z+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,Y)}var We=!1,He=!1;function Qe(){We=!0}function At(){He=!0}function st(O,D,Y){this.marker=O,this.from=D,this.to=Y}function Pt(O,D){if(O)for(var Y=0;Y<O.length;++Y){var Z=O[Y];if(Z.marker==D)return Z}}function wr(O,D){for(var Y,Z=0;Z<O.length;++Z)O[Z]!=D&&(Y||(Y=[])).push(O[Z]);return Y}function mr(O,D){O.markedSpans=O.markedSpans?O.markedSpans.concat([D]):[D],D.marker.attachLine(O)}function Or(O,D,Y){var Z;if(O)for(var te=0;te<O.length;++te){var De=O[te],ht=De.marker,Et=De.from==null||(ht.inclusiveLeft?De.from<=D:De.from<D);if(Et||De.from==D&&ht.type=="bookmark"&&(!Y||!De.marker.insertLeft)){var Yt=De.to==null||(ht.inclusiveRight?De.to>=D:De.to>D);(Z||(Z=[])).push(new st(ht,De.from,Yt?null:De.to))}}return Z}function jt(O,D,Y){var Z;if(O)for(var te=0;te<O.length;++te){var De=O[te],ht=De.marker,Et=De.to==null||(ht.inclusiveRight?De.to>=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.from<D);(Z||(Z=[])).push(new st(ht,Yt?null:De.from-D,De.to==null?null:De.to-D))}}return Z}function cn(O,D){if(D.full)return null;var Y=Pr(O,D.from.line)&&Ue(O,D.from.line).markedSpans,Z=Pr(O,D.to.line)&&Ue(O,D.to.line).markedSpans;if(!Y&&!Z)return null;var te=D.from.ch,De=D.to.ch,ht=dt(D.from,D.to)==0,Et=Or(Y,te,ht),Yt=jt(Z,De,ht),qt=D.text.length==1,qr=oe(D.text).length+(qt?te:0);if(Et)for(var dn=0;dn<Et.length;++dn){var Mn=Et[dn];if(Mn.to==null){var kn=Pt(Yt,Mn.marker);kn?qt&&(Mn.to=kn.to==null?null:kn.to+qr):Mn.to=te}}if(Yt)for(var Ai=0;Ai<Yt.length;++Ai){var ji=Yt[Ai];if(ji.to!=null&&(ji.to+=qr),ji.from==null){var Qi=Pt(Et,ji.marker);Qi||(ji.from=qr,qt&&(Et||(Et=[])).push(ji))}else ji.from+=qr,qt&&(Et||(Et=[])).push(ji)}Et&&(Et=nr(Et)),Yt&&Yt!=Et&&(Yt=nr(Yt));var Yi=[Et];if(!qt){var Xi=D.text.length-2,pa;if(Xi>0&&Et)for(var ya=0;ya<Et.length;++ya)Et[ya].to==null&&(pa||(pa=[])).push(new st(Et[ya].marker,null,null));for(var qa=0;qa<Xi;++qa)Yi.push(pa);Yi.push(Yt)}return Yi}function nr(O){for(var D=0;D<O.length;++D){var Y=O[D];Y.from!=null&&Y.from==Y.to&&Y.marker.clearWhenEmpty!==!1&&O.splice(D--,1)}return O.length?O:null}function Xr(O,D,Y){var Z=null;if(O.iter(D.line,Y.line+1,function(kn){if(kn.markedSpans)for(var Ai=0;Ai<kn.markedSpans.length;++Ai){var ji=kn.markedSpans[Ai].marker;ji.readOnly&&(!Z||W(Z,ji)==-1)&&(Z||(Z=[])).push(ji)}}),!Z)return null;for(var te=[{from:D,to:Y}],De=0;De<Z.length;++De)for(var ht=Z[De],Et=ht.find(0),Yt=0;Yt<te.length;++Yt){var qt=te[Yt];if(dt(qt.to,Et.from)<0||dt(qt.from,Et.to)>0)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;Y<D.length;++Y)D[Y].marker.detachLine(O);O.markedSpans=null}function yr(O,D){if(!D)return;for(var Y=0;Y<D.length;++Y)D[Y].marker.attachLine(O);O.markedSpans=D}function xn(O){return O.inclusiveLeft?-1:0}function Bn(O){return O.inclusiveRight?1:0}function ii(O,D){var Y=O.lines.length-D.lines.length;if(Y!=0)return Y;var Z=O.find(),te=D.find(),De=dt(Z.from,te.from)||xn(O)-xn(D);if(De)return-De;var ht=dt(Z.to,te.to)||Bn(O)-Bn(D);return ht||D.id-O.id}function oi(O,D){var Y=He&&O.markedSpans,Z;if(Y)for(var te=void 0,De=0;De<Y.length;++De)te=Y[De],te.marker.collapsed&&(D?te.from:te.to)==null&&(!Z||ii(Z,te.marker)<0)&&(Z=te.marker);return Z}function ei(O){return oi(O,!0)}function ui(O){return oi(O,!1)}function Fn(O,D){var Y=He&&O.markedSpans,Z;if(Y)for(var te=0;te<Y.length;++te){var De=Y[te];De.marker.collapsed&&(De.from==null||De.from<D)&&(De.to==null||De.to>D)&&(!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<ht.length;++Et){var Yt=ht[Et];if(!Yt.marker.collapsed)continue;var qt=Yt.marker.find(0),qr=dt(qt.from,Y)||xn(Yt.marker)-xn(te),dn=dt(qt.to,Z)||Bn(Yt.marker)-Bn(te);if(qr>=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:zt(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 zt(Y)+1}function ri(O,D){var Y=He&&D.markedSpans;if(Y)for(var Z=void 0,te=0;te<Y.length;++te){if(Z=Y[te],!Z.marker.collapsed)continue;if(Z.from==null)return!0;if(Z.marker.widgetNode)continue;if(Z.from==0&&Z.marker.inclusiveLeft&&bi(O,D,Z))return!0}}function bi(O,D,Y){if(Y.to==null){var Z=Y.marker.find(1,!0);return bi(O,Z.line,Pt(Z.line.markedSpans,Y.marker))}if(Y.marker.inclusiveRight&&Y.to==D.text.length)return!0;for(var te=void 0,De=0;De<D.markedSpans.length;++De)if(te=D.markedSpans[De],te.marker.collapsed&&!te.marker.widgetNode&&te.from==Y.to&&(te.to==null||te.to!=Y.from)&&(te.marker.inclusiveLeft||Y.marker.inclusiveRight)&&bi(O,D,te))return!0}function Gn(O){O=gn(O);for(var D=0,Y=O.parent,Z=0;Z<Y.lines.length;++Z){var te=Y.lines[Z];if(te==O)break;D+=te.height}for(var De=Y.parent;De;Y=De,De=Y.parent)for(var ht=0;ht<De.children.length;++ht){var Et=De.children[ht];if(Et==Y)break;D+=Et.height}return D}function Fi(O){if(O.height==0)return 0;for(var D=O.text.length,Y,Z=O;Y=ei(Z);){var te=Y.find(0,!0);Z=te.from.line,D+=te.from.ch-te.to.ch}for(Z=O;Y=ui(Z);){var De=Y.find(0,!0);D-=Z.text.length-De.from.ch,Z=De.to.line,D+=Z.text.length-De.to.ch}return D}function Jn(O){var D=O.display,Y=O.doc;D.maxLine=Ue(Y,Y.first),D.maxLineLength=Fi(D.maxLine),D.maxLineChanged=!0,Y.iter(function(Z){var te=Fi(Z);te>D.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 zt(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&&Ft(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&&zt(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;te<O.length;te++){var De=O.charAt(te);De==" "&&Y&&(te==O.length-1||O.charCodeAt(te+1)==32)&&(De="\xA0"),Z+=De,Y=De==" "}return Z}function Ki(O,D){return function(Y,Z,te,De,ht,Et,Yt){te=te?te+" cm-force-border":"cm-force-border";for(var qt=Y.pos,qr=qt+Z.length;;){for(var dn=void 0,Mn=0;Mn<D.length&&!(dn=D[Mn],dn.to>qt&&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;ht<Y.length;ht+=2)D.addToken(D,te.slice(De,De=Y[ht]),Xn(Y[ht+1],D.cm.options));return}for(var Et=te.length,Yt=0,qt=1,qr="",dn,Mn,kn=0,Ai,ji,Qi,Yi,Xi;;){if(kn==Yt){Ai=ji=Qi=Mn="",Xi=null,Yi=null,kn=Infinity;for(var pa=[],ya=void 0,qa=0;qa<Z.length;++qa){var ja=Z[qa],vo=ja.marker;if(vo.type=="bookmark"&&ja.from==Yt&&vo.widgetNode)pa.push(vo);else if(ja.from<=Yt&&(ja.to==null||ja.to>Yt||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<ya.length;ta+=2)ya[ta+1]==kn&&(ji+=" "+ya[ta]);if(!Yi||Yi.from==Yt)for(var ko=0;ko<pa.length;++ko)ia(D,0,pa[ko]);if(Yi&&(Yi.from||0)==Yt){if(ia(D,(Yi.to==null?Et+1:Yi.to)-Yt,Yi.marker,Yi.from==null),Yi.to==null)return;Yi.to==Yt&&(Yi=!1)}}if(Yt>=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?zt(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;De<Y;De=te){var ht=new Ra(O.doc,Ue(O.doc,De),De);te=De+ht.size,Z.push(ht)}return Z}var ln=null;function Oi(O){ln?ln.ops.push(O):O.ownsGroup=ln={ops:[O],delayedCallbacks:[]}}function Ji(O){var D=O.delayedCallbacks,Y=0;do{for(;Y<D.length;Y++)D[Y].call(null);for(var Z=0;Z<O.ops.length;Z++){var te=O.ops[Z];if(te.cursorActivityHandlers)for(;te.cursorActivityCalled<te.cursorActivityHandlers.length;)te.cursorActivityHandlers[te.cursorActivityCalled++].call(null,te.cm)}}while(Y<D.length)}function Pi(O,D){var Y=O.ownsGroup;if(!Y)return;try{Ji(Y)}finally{ln=null,D(Y)}}var aa=null;function Kt(O,D){var Y=vt(O,D);if(!Y.length)return;var Z=Array.prototype.slice.call(arguments,2),te;ln?te=ln.delayedCallbacks:aa?te=aa:(te=aa=[],setTimeout(Yr,0));for(var De=function(Yt){te.push(function(){return Y[Yt].apply(null,Z)})},ht=0;ht<Y.length;++ht)De(ht)}function Yr(){var O=aa;aa=null;for(var D=0;D<O.length;++D)O[D]()}function rn(O,D,Y,Z){for(var te=0;te<D.changes.length;te++){var De=D.changes[te];De=="text"?or(O,D):De=="gutter"?Lr(O,D,Y,Z):De=="class"?rr(O,D):De=="widget"&&Fr(O,D,Z)}D.changes=null}function hn(O){return O.node==O.text&&(O.node=L("div",null,null,"position: relative"),O.text.parentNode&&O.text.parentNode.replaceChild(O.node,O.text),O.node.appendChild(O.text),d&&c<8&&(O.node.style.zIndex=2)),O.node}function ze(O,D){var Y=D.bgClass?D.bgClass+" "+(D.line.bgClass||""):D.line.bgClass;if(Y&&(Y+=" CodeMirror-linebackground"),D.background)Y?D.background.className=Y:(D.background.parentNode.removeChild(D.background),D.background=null);else if(Y){var Z=hn(D);D.background=Z.insertBefore(L("div",null,Y),Z.firstChild),O.display.input.setUneditable(D.background)}}function Ct(O,D){var Y=O.display.externalMeasured;return Y&&Y.line==D.line?(O.display.externalMeasured=null,D.measure=Y.measure,Y.built):ti(O,D)}function or(O,D){var Y=D.text.className,Z=Ct(O,D);D.text==D.node&&(D.node=Z.pre),D.text.parentNode.replaceChild(Z.pre,D.text),D.text=Z.pre,Z.bgClass!=D.bgClass||Z.textClass!=D.textClass?(D.bgClass=Z.bgClass,D.textClass=Z.textClass,rr(O,D)):Y&&(D.text.className=Y)}function rr(O,D){ze(O,D),D.line.wrapClass?hn(D).className=D.line.wrapClass:D.node!=D.text&&(D.node.className="");var Y=D.textClass?D.textClass+" "+(D.line.textClass||""):D.line.textClass;D.text.className=Y||""}function Lr(O,D,Y,Z){if(D.gutter&&(D.node.removeChild(D.gutter),D.gutter=null),D.gutterBackground&&(D.node.removeChild(D.gutterBackground),D.gutterBackground=null),D.line.gutterClass){var te=hn(D);D.gutterBackground=L("div",null,"CodeMirror-gutter-background "+D.line.gutterClass,"left: "+(O.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px; width: "+Z.gutterTotalWidth+"px"),O.display.input.setUneditable(D.gutterBackground),te.insertBefore(D.gutterBackground,D.text)}var De=D.line.gutterMarkers;if(O.options.lineNumbers||De){var ht=hn(D),Et=D.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?Z.fixedPos:-Z.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Et),ht.insertBefore(Et,D.text),D.line.gutterClass&&(Et.className+=" "+D.line.gutterClass),O.options.lineNumbers&&(!De||!De["CodeMirror-linenumbers"])&&(D.lineNumber=Et.appendChild(L("div",un(O.options,Y),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),De)for(var Yt=0;Yt<O.display.gutterSpecs.length;++Yt){var qt=O.display.gutterSpecs[Yt].className,qr=De.hasOwnProperty(qt)&&De[qt];qr&&Et.appendChild(L("div",[qr],"CodeMirror-gutter-elt","left: "+Z.gutterLeft[qt]+"px; width: "+Z.gutterWidth[qt]+"px"))}}}function Fr(O,D,Y){D.alignable&&(D.alignable=null);for(var Z=_("CodeMirror-linewidget"),te=D.node.firstChild,De=void 0;te;te=De)De=te.nextSibling,Z.test(te.className)&&D.node.removeChild(te);nn(O,D,Y)}function Kr(O,D,Y,Z){var te=Ct(O,D);return D.text=D.node=te.pre,te.bgClass&&(D.bgClass=te.bgClass),te.textClass&&(D.textClass=te.textClass),rr(O,D),Lr(O,D,Y,Z),nn(O,D,Z),D.node}function nn(O,D,Y){if(wn(O,D.line,D,Y,!0),D.rest)for(var Z=0;Z<D.rest.length;Z++)wn(O,D.rest[Z],D,Y,!1)}function wn(O,D,Y,Z,te){if(!D.widgets)return;for(var De=hn(Y),ht=0,Et=D.widgets;ht<Et.length;++ht){var Yt=Et[ht],qt=L("div",[Yt.node],"CodeMirror-linewidget"+(Yt.className?" "+Yt.className:""));Yt.handleMouseEvents||qt.setAttribute("cm-ignore-events","true"),In(Yt,qt,Y,Z),O.display.input.setUneditable(qt),te&&Yt.above?De.insertBefore(qt,Y.gutter||Y.text):De.appendChild(qt),Kt(Yt,"redraw")}}function In(O,D,Y,Z){if(O.noHScroll){(Y.alignable||(Y.alignable=[])).push(D);var te=Z.wrapperWidth;D.style.left=Z.fixedPos+"px",O.coverGutter||(te-=Z.gutterTotalWidth,D.style.paddingLeft=Z.gutterTotalWidth+"px"),D.style.width=te+"px"}O.coverGutter&&(D.style.zIndex=5,D.style.position="relative",O.noHScroll||(D.style.marginLeft=-Z.gutterTotalWidth+"px"))}function Rn(O){if(O.height!=null)return O.height;var D=O.doc.cm;if(!D)return 0;if(!P(document.body,O.node)){var Y="position: relative;";O.coverGutter&&(Y+="margin-left: -"+D.display.gutters.offsetWidth+"px;"),O.noHScroll&&(Y+="width: "+D.display.wrapper.clientWidth+"px;"),I(D.display.measure,L("div",[O.node],null,Y))}return O.height=O.node.parentNode.offsetHeight}function Dn(O,D){for(var Y=qe(D);Y!=O.wrapper;Y=Y.parentNode)if(!Y||Y.nodeType==1&&Y.getAttribute("cm-ignore-events")=="true"||Y.parentNode==O.sizer&&Y!=O.mover)return!0}function bn(O){return O.lineSpace.offsetTop}function Sn(O){return O.mover.offsetHeight-O.lineSpace.offsetHeight}function _n(O){if(O.cachedPaddingH)return O.cachedPaddingH;var D=I(O.measure,L("pre","x","CodeMirror-line-like")),Y=window.getComputedStyle?window.getComputedStyle(D):D.currentStyle,Z={left:parseInt(Y.paddingLeft),right:parseInt(Y.paddingRight)};return!isNaN(Z.left)&&!isNaN(Z.right)&&(O.cachedPaddingH=Z),Z}function Kn(O){return X-O.display.nativeBarWidth}function Yn(O){return O.display.scroller.clientWidth-Kn(O)-O.display.barWidth}function Zn(O){return O.display.scroller.clientHeight-Kn(O)-O.display.barHeight}function yi(O,D,Y){var Z=O.options.lineWrapping,te=Z&&Yn(O);if(!D.measure.heights||Z&&D.measure.width!=te){var De=D.measure.heights=[];if(Z){D.measure.width=te;for(var ht=D.text.firstChild.getClientRects(),Et=0;Et<ht.length-1;Et++){var Yt=ht[Et],qt=ht[Et+1];Math.abs(Yt.bottom-qt.bottom)>2&&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;Z<O.rest.length;Z++)if(O.rest[Z]==D)return{map:O.measure.maps[Z],cache:O.measure.caches[Z]};for(var te=0;te<O.rest.length;te++)if(zt(O.rest[te])>Y)return{map:O.measure.maps[te],cache:O.measure.caches[te],before:!0}}function Ni(O,D){D=gn(D);var Y=zt(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<O.display.viewTo)return O.display.view[La(O,D)];var Y=O.display.externalMeasured;if(Y&&D>=Y.lineN&&D<Y.lineN+Y.size)return Y}function _i(O,D){var Y=zt(D),Z=xi(O,Y);Z&&!Z.text?Z=null:Z&&Z.changes&&(rn(O,Z,Y,Zi(O)),O.curOp.forceUpdate=!0),Z||(Z=Ni(O,D));var te=gi(Z,D,Y);return{line:D,view:Z,rect:null,map:te.map,cache:te.cache,before:te.before,hasHeights:!1}}function Li(O,D,Y,Z,te){D.before&&(Y=-1);var De=Y+(Z||""),ht;return D.cache.hasOwnProperty(De)?ht=D.cache[De]:(D.rect||(D.rect=D.view.text.getBoundingClientRect()),D.hasHeights||(yi(O,D.view,D.rect),D.hasHeights=!0),ht=pr(O,D,Y,Z),ht.bogus||(D.cache[De]=ht)),{left:ht.left,right:ht.right,top:te?ht.rtop:ht.top,bottom:te?ht.rbottom:ht.bottom}}var Hn={left:0,right:0,top:0,bottom:0};function Ci(O,D,Y){for(var Z,te,De,ht,Et,Yt,qt=0;qt<O.length;qt+=3)if(Et=O[qt],Yt=O[qt+1],D<Et?(te=0,De=1,ht="left"):D<Yt?(te=D-Et,De=te+1):(qt==O.length-3||D==Yt&&O[qt+3]>D)&&(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<O.length-3&&O[qt+3]==O[qt+4]&&!O[qt+5].insertLeft;)Z=O[(qt+=3)+2],ht="right";break}return{node:Z,start:te,end:De,collapse:ht,coverStart:Et,coverEnd:Yt}}function Hi(O,D){var Y=Hn;if(D=="left")for(var Z=0;Z<O.length&&!((Y=O[Z]).left!=Y.right);Z++);else for(var te=O.length-1;te>=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+Et<te.coverEnd&&Te(D.line.text.charAt(te.coverStart+Et));)++Et;if(d&&c<9&&ht==0&&Et==te.coverEnd-te.coverStart?qt=De.parentNode.getBoundingClientRect():qt=Hi(B(De,ht,Et).getClientRects(),Z),qt.left||qt.right||ht==0)break;Et=ht,ht=ht-1,Yt="right"}d&&c<11&&(qt=Rr(O.display.measure,qt))}else{ht>0&&(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<Qi.length-1&&!(ji<Qi[Yi]);Yi++);var Xi=Yi?Qi[Yi-1]:0,pa=Qi[Yi],ya={left:(Yt=="right"?qt.right:qt.left)-D.rect.left,right:(Yt=="left"?qt.left:qt.right)-D.rect.left,top:Xi,bottom:pa};return!qt.left&&!qt.right&&(ya.bogus=!0),O.options.singleCursorHeightPerLine||(ya.rtop=kn,ya.rbottom=Ai),ya}function Rr(O,D){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ot(O))return D;var Y=screen.logicalXDPI/screen.deviceXDPI,Z=screen.logicalYDPI/screen.deviceYDPI;return{left:D.left*Y,right:D.right*Y,top:D.top*Z,bottom:D.bottom*Z}}function Qr(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var D=0;D<O.rest.length;D++)O.measure.caches[D]={}}function Nr(O){O.display.externalMeasure=null,C(O.display.lineMeasure);for(var D=0;D<O.display.view.length;D++)Qr(O.display.view[D])}function Xt(O){Nr(O),O.display.cachedCharWidth=O.display.cachedTextHeight=O.display.cachedPaddingH=null,O.options.lineWrapping||(O.display.maxLineChanged=!0),O.display.lineNumChars=null}function xr(){return i&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function er(){return i&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function jr(O){var D=0;if(O.widgets)for(var Y=0;Y<O.widgets.length;++Y)O.widgets[Y].above&&(D+=Rn(O.widgets[Y]));return D}function Ur(O,D,Y,Z,te){if(!te){var De=jr(D);Y.top+=De,Y.bottom+=De}if(Z=="line")return Y;Z||(Z="local");var ht=Gn(D);if(Z=="local"?ht+=bn(O.display):ht-=O.display.viewOffset,Z=="page"||Z=="window"){var Et=O.display.lineSpace.getBoundingClientRect();ht+=Et.top+(Z=="window"?0:er());var Yt=Et.left+(Z=="window"?0:xr());Y.left+=Yt,Y.right+=Yt}return Y.top+=ht,Y.bottom+=ht,Y}function pn(O,D,Y){if(Y=="div")return D;var Z=D.left,te=D.top;if(Y=="page")Z-=xr(),te-=er();else if(Y=="local"||!Y){var De=O.display.sizer.getBoundingClientRect();Z+=De.left,te+=De.top}var ht=O.display.lineSpace.getBoundingClientRect();return{left:Z-ht.left,top:te-ht.top}}function sn(O,D,Y,Z,te){return Z||(Z=Ue(O.doc,D.line)),Ur(O,Z,ki(O,Z,D.ch,te),Y)}function vn(O,D,Y,Z,te,De){Z=Z||Ue(O.doc,D.line),te||(te=_i(O,Z));function ht(Ai,ji){var Qi=Li(O,te,Ai,ji?"right":"left",De);return ji?Qi.left=Qi.right:Qi.right=Qi.left,Ur(O,Z,Qi,Y)}var Et=pt(Z,O.doc.direction),Yt=D.ch,qt=D.sticky;if(Yt>=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=Ht(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=Dr(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<kn.right-Z,pa=Xi==qt;Ai=Mn+(pa?0:1),Qi=pa?"after":"before",ji=Xi?kn.left:kn.right}else{!qt&&(Ai==Yt||Ai==Et)&&Ai++,Qi=Ai==0?"after":Ai==D.text.length?"before":Li(O,De,Ai-(qt?1:0)).bottom+ht<=te==qt?"after":"before";var ya=vn(O,Ht(Y,Ai,Qi),"line",D,De);ji=ya.left,Yi=te<ya.top?-1:te>=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,Ht(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,Ht(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<te.length;Mn++){var kn=te[Mn];if(kn.from>=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=ji<De?De-ji+1e9:ji-De;(!qr||dn>Qi)&&(qr=kn,dn=Qi)}return qr||(qr=te[te.length-1]),qr.from<Yt&&(qr={from:Yt,to:qr.to,level:qr.level}),qr.to>qt&&(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;ht<te.widgets.length;ht++)te.widgets[ht].height&&(De+=te.widgets[ht].height);return Y?De+(Math.ceil(te.text.length/Z)||1)*D:De+D}}function $i(O){var D=O.doc,Y=Ta(O);D.iter(function(Z){var te=Y(Z);te!=Z.height&&Ft(Z,te)})}function Vi(O,D,Y,Z){var te=O.display;if(!Y&&qe(D).getAttribute("cm-not-content")=="true")return null;var De,ht,Et=te.lineSpace.getBoundingClientRect();try{De=D.clientX-Et.left,ht=D.clientY-Et.top}catch(dn){return null}var Yt=$n(O,De,ht),qt;if(Z&&Yt.xRel>0&&(qt=Ue(O.doc,Yt.line).text).length==Yt.ch){var qr=j(qt,qt.length,O.options.tabSize)-qt.length;Yt=Ht(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;Z<Y.length;Z++)if(D-=Y[Z].size,D<0)return Z}function ga(O,D,Y,Z){D==null&&(D=O.doc.first),Y==null&&(Y=O.doc.first+O.doc.size),Z||(Z=0);var te=O.display;if(Z&&Y<te.viewTo&&(te.updateLineNumbers==null||te.updateLineNumbers>D)&&(te.updateLineNumbers=D),O.curOp.viewChanged=!0,D>=te.viewTo)He&&on(O.doc,D)<te.viewTo&&Ea(O);else if(Y<=te.viewFrom)He&&ci(O.doc,Y+Z)>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<qt.lineN?qt.lineN+=Z:D<qt.lineN+qt.size&&(te.externalMeasured=null))}function Ti(O,D,Y){O.curOp.viewChanged=!0;var Z=O.display,te=O.display.externalMeasured;if(te&&D>=te.lineN&&D<te.lineN+te.size&&(Z.externalMeasured=null),D<Z.viewFrom||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;Yt<te;Yt++)Et+=ht[Yt].size;if(Et!=D){if(Z>0){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.viewFrom<D&&(Z.view=Z.view.slice(La(O,D))),Z.viewFrom=D,Z.viewTo<Y?Z.view=Z.view.concat(pi(O,Z.viewTo,Y)):Z.viewTo>Y&&(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<D.length;Z++){var te=D[Z];!te.hidden&&(!te.node||te.changes)&&++Y}return Y}function Ha(O){O.display.input.showSelection(O.display.input.prepareSelection())}function za(O,D){D===void 0&&(D=!0);for(var Y=O.doc,Z={},te=Z.cursors=document.createDocumentFragment(),De=Z.selection=document.createDocumentFragment(),ht=0;ht<Y.sel.ranges.length;ht++){if(!D&&ht==Y.sel.primIndex)continue;var Et=Y.sel.ranges[ht];if(Et.from().line>=O.display.viewTo||Et.to().line<O.display.viewFrom)continue;var Yt=Et.empty();(Yt||O.options.showCursorWhenSelecting)&&wa(O,Et.head,te),Yt||ao(O,Et,De)}return Z}function wa(O,D,Y){var Z=vn(O,D,"div",null,null,!O.options.singleCursorHeightPerLine),te=Y.appendChild(L("div","\xA0","CodeMirror-cursor"));if(te.style.left=Z.left+"px",te.style.top=Z.top+"px",te.style.height=Math.max(0,Z.bottom-Z.top)*O.options.cursorHeight+"px",Z.other){var De=Y.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));De.style.display="",De.style.left=Z.other.left+"px",De.style.top=Z.other.top+"px",De.style.height=(Z.other.bottom-Z.other.top)*.85+"px"}}function Ka(O,D){return O.top-D.top||O.left-D.left}function ao(O,D,Y){var Z=O.display,te=O.doc,De=document.createDocumentFragment(),ht=_n(O.display),Et=ht.left,Yt=Math.max(Z.sizerWidth,Yn(O)-Z.sizer.offsetLeft)-ht.right,qt=te.direction=="ltr";function qr(pa,ya,qa,ja){ya<0&&(ya=0),ya=Math.round(ya),ja=Math.round(ja),De.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+pa+`px;
|
|
|
top: `+ya+"px; width: "+(qa==null?Yt-pa:qa)+`px;
|
|
|
height: `+(ja-ya)+"px"))}function dn(pa,ya,qa){var ja=Ue(te,pa),vo=ja.text.length,Wo,ta;function ko(_s,xo){return sn(O,Ht(pa,_s),"div",ja,xo)}function Ts(_s,xo,To){var xs=ra(O,ja,null,_s),Is=xo=="ltr"==(To=="after")?"left":"right",rs=To=="after"?xs.begin:xs.end-(/\s/.test(ja.text.charAt(xs.end-1))?2:1);return ko(rs,Is)[Is]}var fs=pt(ja,te.direction);return se(fs,ya||0,qa==null?vo:qa,function(_s,xo,To,xs){var Is=To=="ltr",rs=ko(_s,Is?"left":"right"),ol=ko(xo-1,Is?"right":"left"),kl=ya==null&&_s==0,Ol=qa==null&&xo==vo,Os=xs==0,wl=!fs||xs==fs.length-1;if(ol.top-rs.top<=3){var zs=(qt?kl:Ol)&&Os,Vc=(qt?Ol:kl)&&wl,Ll=zs?Et:(Is?rs:ol).left,Sl=Vc?Yt:(Is?ol:rs).right;qr(Ll,rs.top,Sl-Ll,rs.bottom)}else{var Ul,$s,Nl,Bc;Is?(Ul=qt&&kl&&Os?Et:rs.left,$s=qt?Yt:Ts(_s,To,"before"),Nl=qt?Et:Ts(xo,To,"after"),Bc=qt&&Ol&&wl?Yt:ol.right):(Ul=qt?Ts(_s,To,"before"):Et,$s=!qt&&kl&&Os?Yt:rs.right,Nl=!qt&&Ol&&wl?Et:ol.left,Bc=qt?Ts(xo,To,"after"):Yt),qr(Ul,rs.top,$s-Ul,rs.bottom),rs.bottom<ol.top&&qr(Et,rs.bottom,null,ol.top),qr(Nl,ol.top,Bc-Nl,ol.bottom)}(!Wo||Ka(rs,Wo)<0)&&(Wo=rs),Ka(ol,Wo)<0&&(Wo=ol),(!ta||Ka(rs,ta)<0)&&(ta=rs),Ka(ol,ta)<0&&(ta=ol)}),{start:Wo,end:ta}}var Mn=D.from(),kn=D.to();if(Mn.line==kn.line)dn(Mn.line,Mn.ch,kn.ch);else{var Ai=Ue(te,Mn.line),ji=Ue(te,kn.line),Qi=gn(Ai)==gn(ji),Yi=dn(Mn.line,Mn.ch,Qi?Ai.text.length+1:null).end,Xi=dn(kn.line,Qi?0:null,kn.ch).start;Qi&&(Yi.top<Xi.top-2?(qr(Yi.right,Yi.top,null,Yi.bottom),qr(Et,Xi.top,Xi.left,Xi.bottom)):qr(Yi.right,Yi.top,Xi.left-Yi.right,Yi.bottom)),Yi.bottom<Xi.top&&qr(Et,Yi.bottom,null,Xi.top)}Y.appendChild(De)}function ea(O){if(!O.state.focused)return;var D=O.display;clearInterval(D.blinker);var Y=!0;D.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?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<D.view.length;Z++){var te=D.view[Z],De=O.options.lineWrapping,ht=void 0,Et=0;if(te.hidden)continue;if(d&&c<8){var Yt=te.node.offsetTop+te.node.offsetHeight;ht=Yt-Y,Y=Yt}else{var qt=te.node.getBoundingClientRect();ht=qt.bottom-qt.top,!De&&te.text.firstChild&&(Et=te.text.firstChild.getBoundingClientRect().right-qt.left-1)}var qr=te.line.height-ht;if((qr>.005||qr<-.005)&&(Ft(te.line,ht),ka(te.line),te.rest))for(var dn=0;dn<te.rest.length;dn++)ka(te.rest[dn]);if(Et>O.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<O.widgets.length;++D){var Y=O.widgets[D],Z=Y.node.parentNode;Z&&(Y.height=Z.offsetHeight)}}function yo(O,D,Y){var Z=Y&&Y.top!=null?Math.max(0,Y.top):O.scroller.scrollTop;Z=Math.floor(Z-bn(O));var te=Y&&Y.bottom!=null?Y.bottom:Z+O.wrapper.clientHeight,De=Dr(D,Z),ht=Dr(D,te);if(Y&&Y.ensure){var Et=Y.ensure.from.line,Yt=Y.ensure.to.line;Et<De?(De=Et,ht=Dr(D,Gn(Ue(D,Et))+O.wrapper.clientHeight)):Math.min(Yt,D.lastLine())>=ht&&(De=Dr(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?Ht(D.line,D.sticky=="before"?D.ch-1:D.ch,"after"):D,Y=D.sticky=="before"?Ht(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.top<Z,qt=D.bottom>Et-Z;if(D.top<te)ht.scrollTop=Yt?0:D.top;else if(D.bottom>te+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.left<Mn?ht.scrollLeft=Math.max(0,D.left+dn-(Ai?0:10)):D.right>kn+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.ops.length;Z++)Y.ops[Z].cm.curOp=null;el(Y)})}function el(O){for(var D=O.ops,Y=0;Y<D.length;Y++)Es(D[Y]);for(var Z=0;Z<D.length;Z++)Ns(D[Z]);for(var te=0;te<D.length;te++)Cs(D[te]);for(var De=0;De<D.length;De++)As(D[De]);for(var ht=0;ht<D.length;ht++)vs(D[ht])}function Es(O){var D=O.cm,Y=D.display;tl(D),O.updateMaxLine&&Jn(D),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<Y.viewFrom||O.scrollToPos.to.line>=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<D.doc.scrollLeft&&Uo(D,Math.min(D.display.scroller.scrollLeft,O.maxScrollLeft),!0),D.display.maxLineChanged=!1);var Y=O.focus&&O.focus==H();O.preparedSelection&&D.display.input.showSelection(O.preparedSelection,Y),(O.updatedDisplay||O.startHeight!=D.doc.height)&&Oa(D,O.barMeasure),O.updatedDisplay&&ps(D,O.barMeasure),O.selectionChanged&&ea(D),D.state.focused&&O.updateInput&&D.display.input.reset(O.typing),Y&&lo(O.cm)}function vs(O){var D=O.cm,Y=D.display,Z=D.doc;if(O.updatedDisplay&&Ao(D,O.update),Y.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&(Y.wheelStartX=Y.wheelStartY=null),O.scrollTop!=null&&Vo(D,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&Uo(D,O.scrollLeft,!0,!0),O.scrollToPos){var te=_o(D,mt(Z,O.scrollToPos.from),mt(Z,O.scrollToPos.to),O.scrollToPos.margin);to(D,te)}var De=O.maybeHiddenMarkers,ht=O.maybeUnhiddenMarkers;if(De)for(var Et=0;Et<De.length;++Et)De[Et].lines.length||wt(De[Et],"hide");if(ht)for(var Yt=0;Yt<ht.length;++Yt)ht[Yt].lines.length&&wt(ht[Yt],"unhide");Y.wrapper.offsetHeight&&(Z.scrollTop=D.display.scroller.scrollTop),O.changeObjs&&wt(D,"changes",D,O.changeObjs),O.update&&O.update.finish()}function jo(O,D){if(O.curOp)return D();Fa(O);try{return D()}finally{Qo(O)}}function go(O,D){return function(){if(O.curOp)return D.apply(O,arguments);Fa(O);try{return D.apply(O,arguments)}finally{Qo(O)}}}function es(O){return function(){if(this.curOp)return O.apply(this,arguments);Fa(this);try{return O.apply(this,arguments)}finally{Qo(this)}}}function Ho(O){return function(){var D=this.cm;if(!D||D.curOp)return O.apply(this,arguments);Fa(D);try{return O.apply(this,arguments)}finally{Qo(D)}}}function Go(O,D){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(D,k(zr,O))}function zr(O){var D=O.doc;if(D.highlightFrontier>=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=Gr(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&&Mn<ht.length;++Mn)dn=ht[Mn]!=De.styles[Mn];dn&&te.push(Z.line),De.stateAfter=Z.save(),Z.nextLine()}else De.text.length<=O.options.maxHighlightLength&&Nn(O,De.text,Z),De.stateAfter=Z.line%5==0?Z.save():null,Z.nextLine();if(+new Date>Y)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<te.length;De++)Ti(O,te[De],"text")})}var Bo=function(D,Y,Z){var te=D.display;this.viewport=Y,this.visible=yo(te,D.doc,Y),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Yn(D),this.force=Z,this.dims=Zi(D),this.events=[]};Bo.prototype.signal=function(O,D){Mt(O,D)&&this.events.push(arguments)},Bo.prototype.finish=function(){for(var O=0;O<this.events.length;O++)wt.apply(null,this.events[O])};function tl(O){var D=O.display;!D.scrollbarsClipped&&D.scroller.offsetWidth&&(D.nativeBarWidth=D.scroller.offsetWidth-D.scroller.clientWidth,D.heightForcer.style.height=Kn(O)+"px",D.sizer.style.marginBottom=-D.nativeBarWidth+"px",D.sizer.style.borderRightWidth=Kn(O)+"px",D.scrollbarsClipped=!0)}function Ks(O){if(O.hasFocus())return null;var D=H();if(!D||!P(O.display.lineDiv,D))return null;var Y={activeElt:D};if(window.getSelection){var Z=window.getSelection();Z.anchorNode&&Z.extend&&P(O.display.lineDiv,Z.anchorNode)&&(Y.anchorNode=Z.anchorNode,Y.anchorOffset=Z.anchorOffset,Y.focusNode=Z.focusNode,Y.focusOffset=Z.focusOffset)}return Y}function Ps(O){if(!O||!O.activeElt||O.activeElt==H())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&P(document.body,O.anchorNode)&&P(document.body,O.focusNode)){var D=window.getSelection(),Y=document.createRange();Y.setEnd(O.anchorNode,O.anchorOffset),Y.collapse(!1),D.removeAllRanges(),D.addRange(Y),D.extend(O.focusNode,O.focusOffset)}}function io(O,D){var Y=O.display,Z=O.doc;if(D.editorIsHidden)return Ea(O),!1;if(!D.force&&D.visible.from>=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.viewFrom<De&&De-Y.viewFrom<20&&(De=Math.max(Z.first,Y.viewFrom)),Y.viewTo>ht&&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<Yt.length;qr++){var dn=Yt[qr];if(!dn.hidden)if(!dn.node||dn.node.parentNode!=De){var Mn=Kr(O,dn,qt,Y);De.insertBefore(Mn,ht)}else{for(;ht!=dn.node;)ht=Et(ht);var kn=te&&D!=null&&D<=qt&&dn.lineNumber;dn.changes&&(W(dn.changes,"gutter")>-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;ht<Y.length;ht++)if(!Y[ht].hidden){O.options.fixedGutter&&(Y[ht].gutter&&(Y[ht].gutter.style.left=De),Y[ht].gutterBackground&&(Y[ht].gutterBackground.style.left=De));var Et=Y[ht].alignable;if(Et)for(var Yt=0;Yt<Et.length;Yt++)Et[Yt].style.left=De}O.options.fixedGutter&&(D.gutters.style.left=Z+te+"px")}function il(O){if(!O.options.lineNumbers)return!1;var D=O.doc,Y=un(O.options,D.first+D.size-1),Z=O.display;if(Y.length!=Z.lineNumChars){var te=Z.measure.appendChild(L("div",[L("div",Y)],"CodeMirror-linenumber CodeMirror-gutter-elt")),De=te.firstChild.offsetWidth,ht=te.offsetWidth-De;return Z.lineGutter.style.width="",Z.lineNumInnerWidth=Math.max(De,Z.lineGutter.offsetWidth-ht)+1,Z.lineNumWidth=Z.lineNumInnerWidth+ht,Z.lineNumChars=Z.lineNumInnerWidth?Y.length:-1,Z.lineGutter.style.width=Z.lineNumWidth+"px",ys(O.display),!0}return!1}function Rs(O,D){for(var Y=[],Z=!1,te=0;te<O.length;te++){var De=O[te],ht=null;if(typeof De!="string"&&(ht=De.style,De=De.className),De=="CodeMirror-linenumbers")if(D)Z=!0;else continue;Y.push({className:De,style:ht})}return D&&!Z&&Y.push({className:"CodeMirror-linenumbers",style:null}),Y}function Ws(O){var D=O.gutters,Y=O.gutterSpecs;C(D),O.lineGutter=null;for(var Z=0;Z<Y.length;++Z){var te=Y[Z],De=te.className,ht=te.style,Et=D.appendChild(L("div",null,"CodeMirror-gutter "+De));ht&&(Et.style.cssText=ht),De=="CodeMirror-linenumbers"&&(O.lineGutter=Et,Et.style.width=(O.lineNumWidth||1)+"px")}D.style.display=Y.length?"":"none",ys(O)}function ks(O){Ws(O.display),ga(O),Ls(O)}function ms(O,D,Y,Z){var te=this;this.input=Y,te.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),te.scrollbarFiller.setAttribute("cm-not-content","true"),te.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),te.gutterFiller.setAttribute("cm-not-content","true"),te.lineDiv=F("div",null,"CodeMirror-code"),te.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),te.cursorDiv=L("div",null,"CodeMirror-cursors"),te.measure=L("div",null,"CodeMirror-measure"),te.lineMeasure=L("div",null,"CodeMirror-measure"),te.lineSpace=F("div",[te.measure,te.lineMeasure,te.selectionDiv,te.cursorDiv,te.lineDiv],null,"position: relative; outline: none");var De=F("div",[te.lineSpace],"CodeMirror-lines");te.mover=L("div",[De],null,"position: relative"),te.sizer=L("div",[te.mover],"CodeMirror-sizer"),te.sizerWidth=null,te.heightForcer=L("div",null,null,"position: absolute; height: "+X+"px; width: 1px;"),te.gutters=L("div",null,"CodeMirror-gutters"),te.lineGutter=null,te.scroller=L("div",[te.sizer,te.heightForcer,te.gutters],"CodeMirror-scroll"),te.scroller.setAttribute("tabIndex","-1"),te.wrapper=L("div",[te.scrollbarFiller,te.gutterFiller,te.scroller],"CodeMirror"),d&&c<8&&(te.gutters.style.zIndex=-1,te.scroller.style.paddingRight=0),!a&&!(S&&h)&&(te.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(te.wrapper):O(te.wrapper)),te.viewFrom=te.viewTo=D.first,te.reportedViewFrom=te.reportedViewTo=D.first,te.view=[],te.renderedView=null,te.externalMeasured=null,te.viewOffset=0,te.lastWrapHeight=te.lastWrapWidth=0,te.updateLineNumbers=null,te.nativeBarWidth=te.barHeight=te.barWidth=0,te.scrollbarsClipped=!1,te.lineNumWidth=te.lineNumInnerWidth=te.lineNumChars=null,te.alignWidgets=!1,te.cachedCharWidth=te.cachedTextHeight=te.cachedPaddingH=null,te.maxLine=null,te.maxLineLength=0,te.maxLineChanged=!1,te.wheelDX=te.wheelDY=te.wheelStartX=te.wheelStartY=null,te.shift=!1,te.selForContextMenu=null,te.activeTouch=null,te.gutterSpecs=Rs(Z.gutters,Z.lineNumbers),Ws(te),Y.init(te)}var Ms=0,yt=null;d?yt=-.53:S?yt=15:i?yt=-.7:r&&(yt=-1/3);function Dt(O){var D=O.wheelDeltaX,Y=O.wheelDeltaY;return D==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(D=O.detail),Y==null&&O.detail&&O.axis==O.VERTICAL_AXIS?Y=O.detail:Y==null&&(Y=O.wheelDelta),{x:D,y:Y}}function tn(O){var D=Dt(O);return D.x*=yt,D.y*=yt,D}function On(O,D){var Y=Dt(D),Z=Y.x,te=Y.y,De=O.display,ht=De.scroller,Et=ht.scrollWidth>ht.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<qr.length;dn++)if(qr[dn].node==qt){O.display.currentWheelTarget=qt;break e}}if(Z&&!S&&!o&&yt!=null){te&&Yt&&Ia(O,Math.max(0,ht.scrollTop+te*yt)),Uo(O,Math.max(0,ht.scrollLeft+Z*yt)),(!te||te&&Yt)&&$e(D),De.wheelStartX=null;return}if(te&&yt!=null){var Mn=te*yt,kn=O.doc.scrollTop,Ai=kn+De.wrapper.clientHeight;Mn<0?kn=Math.max(0,kn+Mn-50):Ai=Math.min(O.doc.height,Ai+Mn+50),Jo(O,{top:kn,bottom:Ai})}Ms<20&&(De.wheelStartX==null?(De.wheelStartX=ht.scrollLeft,De.wheelStartY=ht.scrollTop,De.wheelDX=Z,De.wheelDY=te,setTimeout(function(){if(De.wheelStartX==null)return;var ji=ht.scrollLeft-De.wheelStartX,Qi=ht.scrollTop-De.wheelStartY,Yi=Qi&&De.wheelDY&&Qi/De.wheelDY||ji&&De.wheelDX&&ji/De.wheelDX;if(De.wheelStartX=De.wheelStartY=null,!Yi)return;yt=(yt*Ms+Yi)/(Ms+1),++Ms},200)):(De.wheelDX+=Z,De.wheelDY+=te))}var ft=function(D,Y){this.ranges=D,this.primIndex=Y};ft.prototype.primary=function(){return this.ranges[this.primIndex]},ft.prototype.equals=function(O){if(O==this)return!0;if(O.primIndex!=this.primIndex||O.ranges.length!=this.ranges.length)return!1;for(var D=0;D<this.ranges.length;D++){var Y=this.ranges[D],Z=O.ranges[D];if(!at(Y.anchor,Z.anchor)||!at(Y.head,Z.head))return!1}return!0},ft.prototype.deepCopy=function(){for(var O=[],D=0;D<this.ranges.length;D++)O[D]=new $(Qt(this.ranges[D].anchor),Qt(this.ranges[D].head));return new ft(O,this.primIndex)},ft.prototype.somethingSelected=function(){for(var O=0;O<this.ranges.length;O++)if(!this.ranges[O].empty())return!0;return!1},ft.prototype.contains=function(O,D){D||(D=O);for(var Y=0;Y<this.ranges.length;Y++){var Z=this.ranges[Y];if(dt(D,Z.from())>=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;De<D.length;De++){var ht=D[De],Et=D[De-1],Yt=dt(Et.to(),ht.from());if(Z&&!ht.empty()?Yt>0: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?Ht(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),Ht(Y,Z)}function Tt(O,D){for(var Y=[],Z=0;Z<O.sel.ranges.length;Z++){var te=O.sel.ranges[Z];Y.push(new $(ct(te.anchor,D),ct(te.head,D)))}return he(O.cm,Y,O.sel.primIndex)}function br(O,D,Y){return O.line==D.line?Ht(Y.line,O.ch-D.ch+Y.ch):Ht(Y.line+(O.line-D.line),O.ch)}function Ir(O,D,Y){for(var Z=[],te=Ht(O.first,0),De=te,ht=0;ht<D.length;ht++){var Et=D[ht],Yt=br(Et.from,te,De),qt=br(Fe(Et),te,De);if(te=Et.to,De=qt,Y=="around"){var qr=O.sel.ranges[ht],dn=dt(qr.head,qr.anchor)<0;Z[ht]=new $(dn?qt:Yt,dn?Yt:qt)}else Z[ht]=new $(Yt,Yt)}return new ft(Z,O.sel.primIndex)}function $r(O){O.doc.mode=An(O.options,O.doc.modeOption),Cn(O)}function Cn(O){O.doc.iter(function(D){D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,Go(O,100),O.state.modeGen++,O.curOp&&ga(O)}function Wn(O,D){return D.from.ch==0&&D.to.ch==0&&oe(D.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function si(O,D,Y,Z){function te(Xi){return Y?Y[Xi]:null}function De(Xi,pa,ya){fn(Xi,pa,ya,Z),Kt(Xi,"change",Xi,D)}function ht(Xi,pa){for(var ya=[],qa=Xi;qa<pa;++qa)ya.push(new Mi(qt[qa],te(qa),Z));return ya}var Et=D.from,Yt=D.to,qt=D.text,qr=Ue(O,Et.line),dn=Ue(O,Yt.line),Mn=oe(qt),kn=te(qt.length-1),Ai=Yt.line-Et.line;if(D.full)O.insert(0,ht(0,qt.length)),O.remove(qt.length,O.size-qt.length);else if(Wn(O,D)){var ji=ht(0,qt.length-1);De(dn,dn.text,kn),Ai&&O.remove(Et.line,Ai),ji.length&&O.insert(Et.line,ji)}else if(qr==dn)if(qt.length==1)De(qr,qr.text.slice(0,Et.ch)+Mn+qr.text.slice(Yt.ch),kn);else{var Qi=ht(1,qt.length-1);Qi.push(new Mi(Mn+qr.text.slice(Yt.ch),kn,Z)),De(qr,qr.text.slice(0,Et.ch)+qt[0],te(0)),O.insert(Et.line+1,Qi)}else if(qt.length==1)De(qr,qr.text.slice(0,Et.ch)+qt[0]+dn.text.slice(Yt.ch),te(0)),O.remove(Et.line+1,Ai);else{De(qr,qr.text.slice(0,Et.ch)+qt[0],te(0)),De(dn,Mn+dn.text.slice(Yt.ch),kn);var Yi=ht(1,qt.length-1);Ai>1&&O.remove(Et.line+1,Ai-1),O.insert(Et.line+1,Yi)}Kt(O,"change",O,D)}function Ei(O,D,Y){function Z(te,De,ht){if(te.linked)for(var Et=0;Et<te.linked.length;++Et){var Yt=te.linked[Et];if(Yt.doc==De)continue;var qt=ht&&Yt.sharedHist;if(Y&&!qt)continue;D(Yt.doc,qt),Z(Yt.doc,te,qt)}}Z(O,null,!0)}function zi(O,D){if(D.cm)throw new Error("This document is already in use.");O.doc=D,D.cm=O,$i(O),$r(O),la(O),O.options.lineWrapping||Jn(O),O.options.mode=D.modeOption,ga(O)}function la(O){(O.doc.direction=="rtl"?z:x)(O.display.lineDiv,"CodeMirror-rtl")}function va(O){jo(O,function(){la(O),ga(O)})}function $a(O){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=O||1}function eo(O,D){var Y={from:Qt(D.from),to:Fe(D),text:rt(O,D.from,D.to)};return ts(O,Y,D.from.line,D.to.line+1),Ei(O,function(Z){return ts(Z,Y,D.from.line,D.to.line+1)},!0),Y}function ro(O){for(;O.length;){var D=oe(O);if(D.ranges)O.pop();else break}}function Lo(O,D){if(D)return ro(O.done),oe(O.done);if(O.done.length&&!oe(O.done).ranges)return oe(O.done);if(O.done.length>1&&!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<O.length;++Y)O[Y].marker.explicitlyCleared?D||(D=O.slice(0,Y)):D&&D.push(O[Y]);return D?D.length?D:null:O}function Io(O,D){var Y=D["spans_"+O.id];if(!Y)return null;for(var Z=[],te=0;te<D.text.length;++te)Z.push(No(Y[te]));return Z}function Ko(O,D){var Y=Io(O,D),Z=cn(O,D);if(!Y)return Z;if(!Z)return Y;for(var te=0;te<Y.length;++te){var De=Y[te],ht=Z[te];if(De&&ht){e:for(var Et=0;Et<ht.length;++Et){for(var Yt=ht[Et],qt=0;qt<De.length;++qt)if(De[qt].marker==Yt.marker)continue e;De.push(Yt)}}else ht&&(Y[te]=ht)}return Y}function bs(O,D,Y){for(var Z=[],te=0;te<O.length;++te){var De=O[te];if(De.ranges){Z.push(Y?ft.prototype.deepCopy.call(De):De);continue}var ht=De.changes,Et=[];Z.push({changes:Et});for(var Yt=0;Yt<ht.length;++Yt){var qt=ht[Yt],qr=void 0;if(Et.push({from:qt.from,to:qt.to,text:qt.text}),D)for(var dn in qt)(qr=dn.match(/^spans_(\d+)$/))&&(W(D,Number(qr[1]))>-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<O.sel.ranges.length;De++)Z[De]=ls(O.sel.ranges[De],D[De],null,te);var ht=he(O.cm,Z,O.sel.primIndex);Do(O,ht,Y)}function us(O,D,Y,Z){var te=O.sel.ranges.slice(0);te[D]=Y,Do(O,he(O.cm,te,O.sel.primIndex),Z)}function Ys(O,D,Y,Z){Do(O,ge(D,Y),Z)}function dl(O,D,Y){var Z={ranges:D.ranges,update:function(De){this.ranges=[];for(var ht=0;ht<De.length;ht++)this.ranges[ht]=new $(mt(O,De[ht].anchor),mt(O,De[ht].head))},origin:Y&&Y.origin};return wt(O,"beforeSelectionChange",O,Z),O.cm&&wt(O.cm,"beforeSelectionChange",O.cm,Z),Z.ranges!=D.ranges?he(O.cm,Z.ranges,Z.ranges.length-1):D}function gs(O,D,Y){var Z=O.history.done,te=oe(Z);te&&te.ranges?(Z[Z.length-1]=D,is(O,D,Y)):Do(O,D,Y)}function Do(O,D,Y){is(O,D,Y),po(O,O.sel,O.cm?O.cm.curOp.id:NaN,Y)}function is(O,D,Y){(Mt(O,"beforeSelectionChange")||O.cm&&Mt(O.cm,"beforeSelectionChange"))&&(D=dl(O,D,Y));var Z=Y&&Y.bias||(dt(D.primary().head,O.sel.primary().head)<0?-1:1);Qs(O,Vs(O,D,Z,!0)),!(Y&&Y.scroll===!1)&&O.cm&&Za(O.cm)}function Qs(O,D){if(D.equals(O.sel))return;O.sel=D,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,Ot(O.cm)),Kt(O,"cursorActivity",O)}function Ds(O){Qs(O,Vs(O,O.sel,null,!1))}function Vs(O,D,Y,Z){for(var te,De=0;De<D.ranges.length;De++){var ht=D.ranges[De],Et=D.ranges.length==O.sel.ranges.length&&O.sel.ranges[De],Yt=Fs(O,ht.anchor,Et&&Et.anchor,Y,Z),qt=Fs(O,ht.head,Et&&Et.head,Y,Z);(te||Yt!=ht.anchor||qt!=ht.head)&&(te||(te=D.ranges.slice(0,De)),te[De]=new $(Yt,qt))}return te?he(O.cm,te,D.primIndex):D}function Xs(O,D,Y,Z,te){var De=Ue(O,D.line);if(De.markedSpans)for(var ht=0;ht<De.markedSpans.length;++ht){var Et=De.markedSpans[ht],Yt=Et.marker,qt="selectLeft"in Yt?!Yt.selectLeft:Yt.inclusiveLeft,qr="selectRight"in Yt?!Yt.selectRight:Yt.inclusiveRight;if((Et.from==null||(qt?Et.from<=D.ch:Et.from<D.ch))&&(Et.to==null||(qr?Et.to>=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,Ht(O.first,0))}function al(O,D,Y,Z){return Y<0&&D.ch==0?D.line>O.first?mt(O,Ht(D.line-1)):null:Y>0&&D.ch==(Z||Ue(O,D.line)).text.length?D.line<O.first+O.size-1?Ht(D.line+1,0):null:new Ht(D.line,D.ch+Y)}function Js(O){O.setSelection(Ht(O.firstLine(),0),Ht(O.lastLine()),de)}function rl(O,D,Y){var Z={canceled:!1,from:D.from,to:D.to,text:D.text,origin:D.origin,cancel:function(){return Z.canceled=!0}};return Y&&(Z.update=function(te,De,ht,Et){te&&(Z.from=mt(O,te)),De&&(Z.to=mt(O,De)),ht&&(Z.text=ht),Et!==void 0&&(Z.origin=Et)}),wt(O,"beforeChange",O,Z),O.cm&&wt(O.cm,"beforeChange",O.cm,Z),Z.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:Z.from,to:Z.to,text:Z.text,origin:Z.origin}}function Us(O,D,Y){if(O.cm){if(!O.cm.curOp)return go(O.cm,Us)(O,D,Y);if(O.cm.state.suppressEdits)return}if((Mt(O,"beforeChange")||O.cm&&Mt(O.cm,"beforeChange"))&&(D=rl(O,D,!0),!D))return;var Z=We&&!Y&&Xr(O,D.from,D.to);if(Z)for(var te=Z.length-1;te>=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<Et.length&&!(De=Et[qt],Y?De.ranges&&!De.equals(O.sel):!De.ranges);qt++);if(qt==Et.length)return;for(te.lastOrigin=te.lastSelOrigin=null;;)if(De=Et.pop(),De.ranges){if(wo(De,Yt),Y&&!De.equals(O.sel)){Do(O,De,{clearRedo:!1});return}ht=De}else if(Z){Et.push(De);return}else break;var qr=[];wo(ht,Yt),Yt.push({changes:qr,generation:te.generation}),te.generation=De.generation||++te.maxGeneration;for(var dn=Mt(O,"beforeChange")||O.cm&&Mt(O.cm,"beforeChange"),Mn=function(Qi){var Yi=De.changes[Qi];if(Yi.origin=D,dn&&!rl(O,Yi,!1))return Et.length=0,{};qr.push(eo(O,Yi));var Xi=Qi?Tt(O,Yi):oe(Et);oo(O,Yi,Xi,Ko(O,Yi)),!Qi&&O.cm&&O.cm.scrollIntoView({from:Yi.from,to:Fe(Yi)});var pa=[];Ei(O,function(ya,qa){!qa&&W(pa,ya.history)==-1&&(Po(ya.history,Yi),pa.push(ya.history)),oo(ya,Yi,null,Ko(ya,Yi))})},kn=De.changes.length-1;kn>=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 $(Ht(te.anchor.line+D,te.anchor.ch),Ht(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;Z<Y.viewTo;Z++)Ti(O.cm,Z,"gutter")}}function oo(O,D,Y,Z){if(O.cm&&!O.cm.curOp)return go(O.cm,oo)(O,D,Y,Z);if(D.to.line<O.first){Wa(O,D.text.length-1-(D.to.line-D.from.line));return}if(D.from.line>O.lastLine())return;if(D.from.line<O.first){var te=D.text.length-1-(O.first-D.from.line);Wa(O,te),D={from:Ht(O.first,0),to:Ht(D.to.line+te,D.to.ch),text:[oe(D.text)],origin:D.origin}}var De=O.lastLine();D.to.line>De&&(D={from:D.from,to:Ht(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,Ht(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=zt(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&&Kt(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){Y<O.line?O.line+=Z:D<O.line&&(O.line=D,O.ch=0)}function ds(O,D,Y,Z){for(var te=0;te<O.length;++te){var De=O[te],ht=!0;if(De.ranges){De.copied||(De=O[te]=De.deepCopy(),De.copied=!0);for(var Et=0;Et<De.ranges.length;Et++)Ss(De.ranges[Et].anchor,D,Y,Z),Ss(De.ranges[Et].head,D,Y,Z);continue}for(var Yt=0;Yt<De.changes.length;++Yt){var qt=De.changes[Yt];if(Y<qt.from.line)qt.from=Ht(qt.from.line+Z,qt.from.ch),qt.to=Ht(qt.to.line+Z,qt.to.ch);else if(D<=qt.to.line){ht=!1;break}}ht||(O.splice(0,te+1),te=0)}}function Po(O,D){var Y=D.from.line,Z=D.to.line,te=D.text.length-(Z-Y)-1;ds(O.done,Y,Z,te),ds(O.undone,Y,Z,te)}function Co(O,D,Y,Z){var te=D,De=D;return typeof D=="number"?De=Ue(O,Bt(O,D)):te=zt(D),te==null?null:(Z(De,te)&&O.cm&&Ti(O.cm,te,Y),De)}function Zo(O){this.lines=O,this.parent=null;for(var D=0,Y=0;Y<O.length;++Y)O[Y].parent=this,D+=O[Y].height;this.height=D}Zo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(D,Y){for(var Z=D,te=D+Y;Z<te;++Z){var De=this.lines[Z];this.height-=De.height,kr(De),Kt(De,"delete")}this.lines.splice(D,Y)},collapse:function(D){D.push.apply(D,this.lines)},insertInner:function(D,Y,Z){this.height+=Z,this.lines=this.lines.slice(0,D).concat(Y).concat(this.lines.slice(D));for(var te=0;te<Y.length;++te)Y[te].parent=this},iterN:function(D,Y,Z){for(var te=D+Y;D<te;++D)if(Z(this.lines[D]))return!0}};function So(O){this.children=O;for(var D=0,Y=0,Z=0;Z<O.length;++Z){var te=O[Z];D+=te.chunkSize(),Y+=te.height,te.parent=this}this.size=D,this.height=Y,this.parent=null}So.prototype={chunkSize:function(){return this.size},removeInner:function(D,Y){this.size-=Y;for(var Z=0;Z<this.children.length;++Z){var te=this.children[Z],De=te.chunkSize();if(D<De){var ht=Math.min(Y,De-D),Et=te.height;if(te.removeInner(D,ht),this.height-=Et-te.height,De==ht&&(this.children.splice(Z--,1),te.parent=null),(Y-=ht)==0)break;D=0}else D-=De}if(this.size-Y<25&&(this.children.length>1||!(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;Y<this.children.length;++Y)this.children[Y].collapse(D)},insertInner:function(D,Y,Z){this.size+=Y.length,this.height+=Z;for(var te=0;te<this.children.length;++te){var De=this.children[te],ht=De.chunkSize();if(D<=ht){if(De.insertInner(D,Y,Z),De.lines&&De.lines.length>50){for(var Et=De.lines.length%25+25,Yt=Et;Yt<De.lines.length;){var qt=new Zo(De.lines.slice(Yt,Yt+=25));De.height-=qt.height,this.children.splice(++te,0,qt),qt.parent=this}De.lines=De.lines.slice(0,Et),this.maybeSpill()}break}D-=ht}},maybeSpill:function(){if(this.children.length<=10)return;var D=this;do{var Y=D.children.splice(D.children.length-5,5),Z=new So(Y);if(D.parent){D.size-=Z.size,D.height-=Z.height;var De=W(D.parent.children,D);D.parent.children.splice(De+1,0,Z)}else{var te=new So(D.children);te.parent=D,D.children=[te,Z],D=te}Z.parent=D.parent}while(D.children.length>10);D.parent.maybeSpill()},iterN:function(D,Y,Z){for(var te=0;te<this.children.length;++te){var De=this.children[te],ht=De.chunkSize();if(D<ht){var Et=Math.min(Y,ht-D);if(De.iterN(D,Et,Z))return!0;if((Y-=Et)==0)break;D=0}else D-=ht}}};var js=function(D,Y,Z){if(Z)for(var te in Z)Z.hasOwnProperty(te)&&(this[te]=Z[te]);this.doc=D,this.node=Y};js.prototype.clear=function(){var O=this.doc.cm,D=this.line.widgets,Y=this.line,Z=zt(Y);if(Z==null||!D)return;for(var te=0;te<D.length;++te)D[te]==this&&D.splice(te--,1);D.length||(Y.widgets=null);var De=Rn(this);Ft(Y,Math.max(0,Y.height-De)),O&&(jo(O,function(){Hl(O,Y,-De),Ti(O,Z,"widget")}),Kt(O,"lineWidgetCleared",O,this,Z))},js.prototype.changed=function(){var O=this,D=this.height,Y=this.doc.cm,Z=this.line;this.height=null;var te=Rn(this)-D;if(!te)return;ri(this.doc,Z)||Ft(Z,Z.height+te),Y&&jo(Y,function(){Y.curOp.forceUpdate=!0,Hl(Y,Z,te),Kt(Y,"lineWidgetChanged",Y,O,zt(Z))})},Gt(js);function Hl(O,D,Y){Gn(D)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Qa(O,Y)}function fl(O,D,Y,Z){var te=new js(O,Y,Z),De=O.cm;return De&&te.noHScroll&&(De.display.alignWidgets=!0),Co(O,D,"widget",function(ht){var Et=ht.widgets||(ht.widgets=[]);if(te.insertAt==null?Et.push(te):Et.splice(Math.min(Et.length-1,Math.max(0,te.insertAt)),0,te),te.line=ht,De&&!ri(O,ht)){var Yt=Gn(ht)<O.scrollTop;Ft(ht,ht.height+Rn(te)),Yt&&Qa(De,te.height),De.curOp.forceUpdate=!0}return!0}),De&&Kt(De,"lineWidgetAdded",De,te,typeof D=="number"?D:zt(D)),te}var Ml=0,Zs=function(D,Y){this.lines=[],this.type=Y,this.doc=D,this.id=++Ml};Zs.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,D=O&&!O.curOp;if(D&&Fa(O),Mt(this,"clear")){var Y=this.find();Y&&Kt(this,"clear",Y.from,Y.to)}for(var Z=null,te=null,De=0;De<this.lines.length;++De){var ht=this.lines[De],Et=Pt(ht.markedSpans,this);O&&!this.collapsed?Ti(O,zt(ht),"text"):O&&(Et.to!=null&&(te=zt(ht)),Et.from!=null&&(Z=zt(ht))),ht.markedSpans=wr(ht.markedSpans,Et),Et.from==null&&this.collapsed&&!ri(this.doc,ht)&&O&&Ft(ht,Di(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var Yt=0;Yt<this.lines.length;++Yt){var qt=gn(this.lines[Yt]),qr=Fi(qt);qr>O.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&&Kt(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;te<this.lines.length;++te){var De=this.lines[te],ht=Pt(De.markedSpans,this);if(ht.from!=null&&(Y=Ht(D?De:zt(De),ht.from),O==-1))return Y;if(ht.to!=null&&(Z=Ht(D?De:zt(De),ht.to),O==1))return Z}return Y&&{from:Y,to:Z}},Zs.prototype.changed=function(){var O=this,D=this.find(-1,!0),Y=this,Z=this.doc.cm;if(!D||!Z)return;jo(Z,function(){var te=D.line,De=zt(D.line),ht=xi(Z,De);if(ht&&(Qr(ht),Z.curOp.selectionChanged=Z.curOp.forceUpdate=!0),Z.curOp.updateMaxLine=!0,!ri(Y.doc,te)&&Y.height!=null){var Et=Y.height;Y.height=null;var Yt=Rn(Y)-Et;Yt&&Ft(te,te.height+Yt)}Kt(Z,"markerChanged",Z,O)})},Zs.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(!D.maybeHiddenMarkers||W(D.maybeHiddenMarkers,this)==-1)&&(D.maybeUnhiddenMarkers||(D.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},Zs.prototype.detachLine=function(O){if(this.lines.splice(W(this.lines,O),1),!this.lines.length&&this.doc.cm){var D=this.doc.cm.curOp;(D.maybeHiddenMarkers||(D.maybeHiddenMarkers=[])).push(this)}},Gt(Zs);function xl(O,D,Y,Z,te){if(Z&&Z.shared)return Ec(O,D,Y,Z,te);if(O.cm&&!O.cm.curOp)return go(O.cm,xl)(O,D,Y,Z,te);var De=new Zs(O,te),ht=dt(D,Y);if(Z&&K(Z,De,!1),ht>0||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&&Ft(dn,0),mr(dn,new st(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)&&Ft(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),Kt(Yt,"markerAdded",Yt,De)}return De}var El=function(D,Y){this.markers=D,this.primary=Y;for(var Z=0;Z<D.length;++Z)D[Z].parent=this};El.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var O=0;O<this.markers.length;++O)this.markers[O].clear();Kt(this,"clear")},El.prototype.find=function(O,D){return this.primary.find(O,D)},Gt(El);function Ec(O,D,Y,Z,te){Z=K(Z),Z.shared=!1;var De=[xl(O,D,Y,Z,te)],ht=De[0],Et=Z.widgetNode;return Ei(O,function(Yt){Et&&(Z.widgetNode=Et.cloneNode(!0)),De.push(xl(Yt,mt(Yt,D),mt(Yt,Y),Z,te));for(var qt=0;qt<Yt.linked.length;++qt)if(Yt.linked[qt].isParent)return;ht=oe(De)}),new El(De,ht)}function lc(O){return O.findMarks(Ht(O.first,0),O.clipPos(Ht(O.lastLine())),function(D){return D.parent})}function Cc(O,D){for(var Y=0;Y<D.length;Y++){var Z=D[Y],te=Z.find(),De=O.clipPos(te.from),ht=O.clipPos(te.to);if(dt(De,ht)){var Et=xl(O,De,ht,Z.primary,Z.primary.type);Z.markers.push(Et),Et.parent=Z}}}function Uc(O){for(var D=function(te){var De=O[te],ht=[De.primary.doc];Ei(De.primary.doc,function(qt){return ht.push(qt)});for(var Et=0;Et<De.markers.length;Et++){var Yt=De.markers[Et];W(ht,Yt.doc)==-1&&(Yt.parent=null,De.markers.splice(Et--,1))}},Y=0;Y<O.length;Y++)D(Y)}var Zl=0,Gs=function O(D,Y,Z,te,De){if(!(this instanceof O))return new O(D,Y,Z,te,De);Z==null&&(Z=0),So.call(this,[new Zo([new Mi("",null)])]),this.first=Z,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Z;var ht=Ht(Z,0);this.sel=ge(ht),this.history=new $a(null),this.id=++Zl,this.modeOption=Y,this.lineSep=te,this.direction=De=="rtl"?"rtl":"ltr",this.extend=!1,typeof D=="string"&&(D=this.splitLines(D)),si(this,{from:ht,to:ht,text:D}),Do(this,ge(ht),de)};Gs.prototype=Ge(So.prototype,{constructor:Gs,iter:function(D,Y,Z){Z?this.iterN(D-this.first,Y-D,Z):this.iterN(this.first,this.first+this.size,D)},insert:function(D,Y){for(var Z=0,te=0;te<Y.length;++te)Z+=Y[te].height;this.insertInner(D-this.first,Y,Z)},remove:function(D,Y){this.removeInner(D-this.first,Y)},getValue:function(D){var Y=Vt(this,this.first,this.first+this.size);return D===!1?Y:Y.join(D||this.lineSeparator())},setValue:Ho(function(O){var D=Ht(this.first,0),Y=this.first+this.size-1;Us(this,{from:D,to:Ht(Y,Ue(this,Y).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&Ca(this.cm,0,0),Do(this,ge(D),de)}),replaceRange:function(D,Y,Z,te){Y=mt(this,Y),Z=Z?mt(this,Z):Y,Bs(this,D,Y,Z,te)},getRange:function(D,Y,Z){var te=rt(this,mt(this,D),mt(this,Y));return Z===!1?te:te.join(Z||this.lineSeparator())},getLine:function(D){var Y=this.getLineHandle(D);return Y&&Y.text},getLineHandle:function(D){if(Pr(this,D))return Ue(this,D)},getLineNumber:function(D){return zt(D)},getLineHandleVisualStart:function(D){return typeof D=="number"&&(D=Ue(this,D)),gn(D)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(D){return mt(this,D)},getCursor:function(D){var Y=this.sel.primary(),Z;return D==null||D=="head"?Z=Y.head:D=="anchor"?Z=Y.anchor:D=="end"||D=="to"||D===!1?Z=Y.to():Z=Y.from(),Z},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ho(function(O,D,Y){Ys(this,mt(this,typeof O=="number"?Ht(O,D||0):O),null,Y)}),setSelection:Ho(function(O,D,Y){Ys(this,mt(this,O),mt(this,D||O),Y)}),extendSelection:Ho(function(O,D,Y){cs(this,mt(this,O),D&&mt(this,D),Y)}),extendSelections:Ho(function(O,D){ws(this,gr(this,O),D)}),extendSelectionsBy:Ho(function(O,D){var Y=_e(this.sel.ranges,O);ws(this,gr(this,Y),D)}),setSelections:Ho(function(O,D,Y){if(!O.length)return;for(var Z=[],te=0;te<O.length;te++)Z[te]=new $(mt(this,O[te].anchor),mt(this,O[te].head));D==null&&(D=Math.min(O.length-1,this.sel.primIndex)),Do(this,he(this.cm,Z,D),Y)}),addSelection:Ho(function(O,D,Y){var Z=this.sel.ranges.slice(0);Z.push(new $(mt(this,O),mt(this,D||O))),Do(this,he(this.cm,Z,Z.length-1),Y)}),getSelection:function(D){for(var Y=this.sel.ranges,Z,te=0;te<Y.length;te++){var De=rt(this,Y[te].from(),Y[te].to());Z=Z?Z.concat(De):De}return D===!1?Z:Z.join(D||this.lineSeparator())},getSelections:function(D){for(var Y=[],Z=this.sel.ranges,te=0;te<Z.length;te++){var De=rt(this,Z[te].from(),Z[te].to());D!==!1&&(De=De.join(D||this.lineSeparator())),Y[te]=De}return Y},replaceSelection:function(D,Y,Z){for(var te=[],De=0;De<this.sel.ranges.length;De++)te[De]=D;this.replaceSelections(te,Y,Z||"+input")},replaceSelections:Ho(function(O,D,Y){for(var Z=[],te=this.sel,De=0;De<te.ranges.length;De++){var ht=te.ranges[De];Z[De]={from:ht.from(),to:ht.to(),text:this.splitLines(O[De]),origin:Y}}for(var Et=D&&D!="end"&&Ir(this,Z,D),Yt=Z.length-1;Yt>=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.done.length;te++)D.done[te].ranges||++Y;for(var De=0;De<D.undone.length;De++)D.undone[De].ranges||++Z;return{undo:Y,redo:Z}},clearHistory:function(){var D=this;this.history=new $a(this.history.maxGeneration),Ei(this,function(Y){return Y.history=D.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(D){return D&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(D){return this.history.generation==(D||this.cleanGeneration)},getHistory:function(){return{done:bs(this.history.done),undone:bs(this.history.undone)}},setHistory:function(D){var Y=this.history=new $a(this.history.maxGeneration);Y.done=bs(D.done.slice(0),null,!0),Y.undone=bs(D.undone.slice(0),null,!0)},setGutterMarker:Ho(function(O,D,Y){return Co(this,O,"gutter",function(Z){var te=Z.gutterMarkers||(Z.gutterMarkers={});return te[D]=Y,!Y&&ce(te)&&(Z.gutterMarkers=null),!0})}),clearGutter:Ho(function(O){var D=this;this.iter(function(Y){Y.gutterMarkers&&Y.gutterMarkers[O]&&Co(D,Y,"gutter",function(){return Y.gutterMarkers[O]=null,ce(Y.gutterMarkers)&&(Y.gutterMarkers=null),!0})})}),lineInfo:function(D){var Y;if(typeof D=="number"){if(!Pr(this,D))return null;if(Y=D,D=Ue(this,D),!D)return null}else if(Y=zt(D),Y==null)return null;return{line:Y,handle:D,text:D.text,gutterMarkers:D.gutterMarkers,textClass:D.textClass,bgClass:D.bgClass,wrapClass:D.wrapClass,widgets:D.widgets}},addLineClass:Ho(function(O,D,Y){return Co(this,O,D=="gutter"?"gutter":"class",function(Z){var te=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass";if(!Z[te])Z[te]=Y;else{if(_(Y).test(Z[te]))return!1;Z[te]+=" "+Y}return!0})}),removeLineClass:Ho(function(O,D,Y){return Co(this,O,D=="gutter"?"gutter":"class",function(Z){var te=D=="text"?"textClass":D=="background"?"bgClass":D=="gutter"?"gutterClass":"wrapClass",De=Z[te];if(De)if(Y==null)Z[te]=null;else{var ht=De.match(_(Y));if(!ht)return!1;var Et=ht.index+ht[0].length;Z[te]=De.slice(0,ht.index)+(!ht.index||Et==De.length?"":" ")+De.slice(Et)||null}else return!1;return!0})}),addLineWidget:Ho(function(O,D,Y){return fl(this,O,D,Y)}),removeLineWidget:function(D){D.clear()},markText:function(D,Y,Z){return xl(this,mt(this,D),mt(this,Y),Z,Z&&Z.type||"range")},setBookmark:function(D,Y){var Z={replacedWith:Y&&(Y.nodeType==null?Y.widget:Y),insertLeft:Y&&Y.insertLeft,clearWhenEmpty:!1,shared:Y&&Y.shared,handleMouseEvents:Y&&Y.handleMouseEvents};return D=mt(this,D),xl(this,D,D,Z,"bookmark")},findMarksAt:function(D){D=mt(this,D);var Y=[],Z=Ue(this,D.line).markedSpans;if(Z)for(var te=0;te<Z.length;++te){var De=Z[te];(De.from==null||De.from<=D.ch)&&(De.to==null||De.to>=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<Et.length;Yt++){var qt=Et[Yt];!(qt.to!=null&&De==D.line&&D.ch>=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;te<Z.length;++te)Z[te].from!=null&&D.push(Z[te].marker)}),D},posFromIndex:function(D){var Y,Z=this.first,te=this.lineSeparator().length;return this.iter(function(De){var ht=De.text.length+te;if(ht>D)return Y=D,!0;D-=ht,++Z}),mt(this,Ht(Z,Y))},indexFromPos:function(D){D=mt(this,D);var Y=D.ch;if(D.line<this.first||D.ch<0)return 0;var Z=this.lineSeparator().length;return this.iter(this.first,D.line,function(te){Y+=te.text.length+Z}),Y},copy:function(D){var Y=new Gs(Vt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Y.scrollTop=this.scrollTop,Y.scrollLeft=this.scrollLeft,Y.sel=this.sel,Y.extend=!1,D&&(Y.history.undoDepth=this.history.undoDepth,Y.setHistory(this.getHistory())),Y},linkedDoc:function(D){D||(D={});var Y=this.first,Z=this.first+this.size;D.from!=null&&D.from>Y&&(Y=D.from),D.to!=null&&D.to<Z&&(Z=D.to);var te=new Gs(Vt(this,Y,Z),D.mode||this.modeOption,Y,this.lineSep,this.direction);return D.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:D.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:D.sharedHist}],Cc(te,lc(this)),te},unlinkDoc:function(D){if(D instanceof dr&&(D=D.doc),this.linked)for(var Y=0;Y<this.linked.length;++Y){var Z=this.linked[Y];if(Z.doc!=D)continue;this.linked.splice(Y,1),D.unlinkDoc(this),Uc(lc(this));break}if(D.history==this.history){var te=[D.id];Ei(D,function(De){return te.push(De.id)},!0),D.history=new $a(null),D.history.done=bs(this.history.done,te),D.history.undone=bs(this.history.undone,te)}},iterLinkedDocs:function(D){Ei(this,D)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(D){return this.lineSep?D.split(this.lineSep):Vr(D)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Ho(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(D){return D.order=null}),this.cm&&va(this.cm)})}),Gs.prototype.eachLine=Gs.prototype.iter;var hs=0;function nl(O){var D=this;if(uc(D),xt(D,O)||Dn(D.display,O))return;$e(O),d&&(hs=+new Date);var Y=Vi(D,O,!0),Z=O.dataTransfer.files;if(!Y||D.isReadOnly())return;if(Z&&Z.length&&window.FileReader&&window.File)for(var te=Z.length,De=Array(te),ht=0,Et=function(){++ht==te&&go(D,function(){Y=mt(D.doc,Y);var Ai={from:Y,to:Y,text:D.doc.splitLines(De.filter(function(ji){return ji!=null}).join(D.doc.lineSeparator())),origin:"paste"};Us(D.doc,Ai),gs(D.doc,ge(mt(D.doc,Y),mt(D.doc,Fe(Ai))))})()},Yt=function(Ai,ji){if(D.options.allowDropFileTypes&&W(D.options.allowDropFileTypes,Ai.type)==-1){Et();return}var Qi=new FileReader;Qi.onerror=function(){return Et()},Qi.onload=function(){var Yi=Qi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Yi)){Et();return}De[ji]=Yi,Et()},Qi.readAsText(Ai)},qt=0;qt<Z.length;qt++)Yt(Z[qt],qt);else{if(D.state.draggingText&&D.doc.sel.contains(Y)>-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<dn.length;++Mn)Bs(D.doc,"",dn[Mn].anchor,dn[Mn].head,"drag");D.replaceSelection(qr,"around","paste"),D.display.input.focus()}}catch(kn){}}}function $l(O,D){if(d&&(!O.state.draggingText||+new Date-hs<100)){bt(D);return}if(xt(O,D)||Dn(O.display,D))return;if(D.dataTransfer.setData("Text",O.getSelection()),D.dataTransfer.effectAllowed="copyMove",D.dataTransfer.setDragImage&&!r){var Y=L("img",null,null,"position: fixed; left: 0; top: 0;");Y.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o&&(Y.width=Y.height=1,O.display.wrapper.appendChild(Y),Y._top=Y.offsetTop),D.dataTransfer.setDragImage(Y,0,0),o&&Y.parentNode.removeChild(Y)}}function cc(O,D){var Y=Vi(O,D);if(!Y)return;var Z=document.createDocumentFragment();wa(O,Y,Z),O.display.dragCursor||(O.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),O.display.lineSpace.insertBefore(O.display.dragCursor,O.display.cursorDiv)),I(O.display.dragCursor,Z)}function uc(O){O.display.dragCursor&&(O.display.lineSpace.removeChild(O.display.dragCursor),O.display.dragCursor=null)}function ql(O){if(!document.getElementsByClassName)return;for(var D=document.getElementsByClassName("CodeMirror"),Y=[],Z=0;Z<D.length;Z++){var te=D[Z].CodeMirror;te&&Y.push(te)}Y.length&&Y[0].operation(function(){for(var De=0;De<Y.length;De++)O(Y[De])})}var Kl=!1;function jc(){if(Kl)return;dc(),Kl=!0}function dc(){var O;Oe(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,ql(Tc)},100))}),Oe(window,"blur",function(){return ql(Ja)})}function Tc(O){var D=O.display;D.cachedCharWidth=D.cachedTextHeight=D.cachedPaddingH=null,D.scrollbarsClipped=!1,O.setSize()}for(var pl={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Al=0;Al<10;Al++)pl[Al+48]=pl[Al+96]=String(Al);for(var Wl=65;Wl<=90;Wl++)pl[Wl]=String.fromCharCode(Wl);for(var Fl=1;Fl<=12;Fl++)pl[Fl+111]=pl[Fl+63235]="F"+Fl;var ml={};ml.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ml.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ml.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},ml.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ml.default=A?ml.macDefault:ml.pcDefault;function Hs(O){var D=O.split(/-(?!$)/);O=D[D.length-1];for(var Y,Z,te,De,ht=0;ht<D.length-1;ht++){var Et=D[ht];if(/^(cmd|meta|m)$/i.test(Et))De=!0;else if(/^a(lt)?$/i.test(Et))Y=!0;else if(/^(c|ctrl|control)$/i.test(Et))Z=!0;else if(/^s(hift)?$/i.test(Et))te=!0;else throw new Error("Unrecognized modifier name: "+Et)}return Y&&(O="Alt-"+O),Z&&(O="Ctrl-"+O),De&&(O="Cmd-"+O),te&&(O="Shift-"+O),O}function zl(O){var D={};for(var Y in O)if(O.hasOwnProperty(Y)){var Z=O[Y];if(/^(name|fallthrough|(de|at)tach)$/.test(Y))continue;if(Z=="..."){delete O[Y];continue}for(var te=_e(Y.split(" "),Hs),De=0;De<te.length;De++){var ht=void 0,Et=void 0;De==te.length-1?(Et=te.join(" "),ht=Z):(Et=te.slice(0,De+1).join(" "),ht="...");var Yt=D[Et];if(!Yt)D[Et]=ht;else if(Yt!=ht)throw new Error("Inconsistent bindings for "+Et)}delete O[Y]}for(var qt in D)O[qt]=D[qt];return O}function vl(O,D,Y,Z){D=Bl(D);var te=D.call?D.call(O,Z):D[O];if(te===!1)return"nothing";if(te==="...")return"multi";if(te!=null&&Y(te))return"handled";if(D.fallthrough){if(Object.prototype.toString.call(D.fallthrough)!="[object Array]")return vl(O,D.fallthrough,Y,Z);for(var De=0;De<D.fallthrough.length;De++){var ht=vl(O,D.fallthrough[De],Y,Z);if(ht)return ht}}}function ec(O){var D=typeof O=="string"?O:pl[O.keyCode];return D=="Ctrl"||D=="Alt"||D=="Shift"||D=="Mod"}function _c(O,D,Y){var Z=O;return D.altKey&&Z!="Alt"&&(O="Alt-"+O),(E?D.metaKey:D.ctrlKey)&&Z!="Ctrl"&&(O="Ctrl-"+O),(E?D.ctrlKey:D.metaKey)&&Z!="Mod"&&(O="Cmd-"+O),!Y&&D.shiftKey&&Z!="Shift"&&(O="Shift-"+O),O}function Vl(O,D){if(o&&O.keyCode==34&&O.char)return!1;var Y=pl[O.keyCode];return Y==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&(Y=O.code),_c(Y,O,D))}function Bl(O){return typeof O=="string"?ml[O]:O}function Cl(O,D){for(var Y=O.doc.sel.ranges,Z=[],te=0;te<Y.length;te++){for(var De=D(Y[te]);Z.length&&dt(De.from,oe(Z).to)<=0;){var ht=Z.pop();if(dt(ht.from,De.from)<0){De.from=ht.from;break}}Z.push(De)}jo(O,function(){for(var Et=Z.length-1;Et>=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 Ht(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 Ht(Z,qt,Yt)}}return new Ht(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<Y.ch))return Ic(D,Y,Z);var Et=function(Xi,pa){return Pl(D,Xi instanceof Ht?Xi.ch:Xi,pa)},Yt,qt=function(Xi){return O.options.lineWrapping?(Yt=Yt||_i(O,D),ra(O,D,Yt,Xi)):{begin:0,end:D.text.length}},qr=qt(Y.sticky=="before"?Et(Y,-1):Y.ch);if(O.doc.direction=="rtl"||ht.level==1){var dn=ht.level==1==Z<0,Mn=Et(Y,dn?1:-1);if(Mn!=null&&(dn?Mn<=ht.to&&Mn<=qr.end:Mn>=ht.from&&Mn>=qr.begin)){var kn=dn?"before":"after";return new Ht(Y.line,Mn,kn)}}var Ai=function(Xi,pa,ya){for(var qa=function(ko,Ts){return Ts?new Ht(Y.line,Et(ko,1),"before"):new Ht(Y.line,ko,"after")};Xi>=0&&Xi<te.length;Xi+=pa){var ja=te[Xi],vo=pa>0==(ja.level!=1),Wo=vo?ya.begin:Et(ya.end,-1);if(ja.from<=Wo&&Wo<ja.to)return qa(Wo,vo);if(Wo=vo?ja.from:Et(ja.to,-1),ya.begin<=Wo&&Wo<ya.end)return qa(Wo,vo)}},ji=Ai(De+Z,Z,qr);if(ji)return ji;var Qi=Z>0?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.line<D.lastLine()?{from:Y.head,to:Ht(Y.head.line+1,0)}:{from:Y.head,to:Ht(Y.head.line,Z)}}else return{from:Y.from(),to:Y.to()}})},deleteLine:function(D){return Cl(D,function(Y){return{from:Ht(Y.from().line,0),to:mt(D.doc,Ht(Y.to().line+1,0))}})},delLineLeft:function(D){return Cl(D,function(Y){return{from:Ht(Y.from().line,0),to:Y.from()}})},delWrappedLineLeft:function(D){return Cl(D,function(Y){var Z=D.charCoords(Y.head,"div").top+5,te=D.coordsChar({left:0,top:Z},"div");return{from:te,to:Y.from()}})},delWrappedLineRight:function(D){return Cl(D,function(Y){var Z=D.charCoords(Y.head,"div").top+5,te=D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:Z},"div");return{from:Y.from(),to:te}})},undo:function(D){return D.undo()},redo:function(D){return D.redo()},undoSelection:function(D){return D.undoSelection()},redoSelection:function(D){return D.redoSelection()},goDocStart:function(D){return D.extendSelection(Ht(D.firstLine(),0))},goDocEnd:function(D){return D.extendSelection(Ht(D.lastLine()))},goLineStart:function(D){return D.extendSelectionsBy(function(Y){return fc(D,Y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(D){return D.extendSelectionsBy(function(Y){return Lc(D,Y.head)},{origin:"+move",bias:1})},goLineEnd:function(D){return D.extendSelectionsBy(function(Y){return pc(D,Y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(D){return D.extendSelectionsBy(function(Y){var Z=D.cursorCoords(Y.head,"div").top+5;return D.coordsChar({left:D.display.lineDiv.offsetWidth+100,top:Z},"div")},ae)},goLineLeft:function(D){return D.extendSelectionsBy(function(Y){var Z=D.cursorCoords(Y.head,"div").top+5;return D.coordsChar({left:0,top:Z},"div")},ae)},goLineLeftSmart:function(D){return D.extendSelectionsBy(function(Y){var Z=D.cursorCoords(Y.head,"div").top+5,te=D.coordsChar({left:0,top:Z},"div");return te.ch<D.getLine(te.line).search(/\S/)?Lc(D,Y.head):te},ae)},goLineUp:function(D){return D.moveV(-1,"line")},goLineDown:function(D){return D.moveV(1,"line")},goPageUp:function(D){return D.moveV(-1,"page")},goPageDown:function(D){return D.moveV(1,"page")},goCharLeft:function(D){return D.moveH(-1,"char")},goCharRight:function(D){return D.moveH(1,"char")},goColumnLeft:function(D){return D.moveH(-1,"column")},goColumnRight:function(D){return D.moveH(1,"column")},goWordLeft:function(D){return D.moveH(-1,"word")},goGroupRight:function(D){return D.moveH(1,"group")},goGroupLeft:function(D){return D.moveH(-1,"group")},goWordRight:function(D){return D.moveH(1,"word")},delCharBefore:function(D){return D.deleteH(-1,"codepoint")},delCharAfter:function(D){return D.deleteH(1,"char")},delWordBefore:function(D){return D.deleteH(-1,"word")},delWordAfter:function(D){return D.deleteH(1,"word")},delGroupBefore:function(D){return D.deleteH(-1,"group")},delGroupAfter:function(D){return D.deleteH(1,"group")},indentAuto:function(D){return D.indentSelection("smart")},indentMore:function(D){return D.indentSelection("add")},indentLess:function(D){return D.indentSelection("subtract")},insertTab:function(D){return D.replaceSelection(" ")},insertSoftTab:function(D){for(var Y=[],Z=D.listSelections(),te=D.options.tabSize,De=0;De<Z.length;De++){var ht=Z[De].from(),Et=j(D.getLine(ht.line),ht.ch,te);Y.push(Me(te-Et%te))}D.replaceSelections(Y)},defaultTab:function(D){D.somethingSelected()?D.indentSelection("add"):D.execCommand("insertTab")},transposeChars:function(D){return jo(D,function(){for(var Y=D.listSelections(),Z=[],te=0;te<Y.length;te++){if(!Y[te].empty())continue;var De=Y[te].head,ht=Ue(D.doc,De.line).text;if(ht){if(De.ch==ht.length&&(De=new Ht(De.line,De.ch-1)),De.ch>0)De=new Ht(De.line,De.ch+1),D.replaceRange(ht.charAt(De.ch-1)+ht.charAt(De.ch-2),Ht(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 Ht(De.line,1),D.replaceRange(ht.charAt(0)+D.doc.lineSeparator()+Et.charAt(Et.length-1),Ht(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;te<Y.length;te++)D.indentLine(Y[te].from().line,null,!0);Za(D)})},openLine:function(D){return D.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(D){return D.toggleOverwrite()}};function fc(O,D){var Y=Ue(O.doc,D),Z=gn(Y);return Z!=Y&&(D=zt(Z)),Oc(!0,O,Z,D,1)}function pc(O,D){var Y=Ue(O.doc,D),Z=Wr(Y);return Z!=Y&&(D=zt(Z)),Oc(!0,O,Y,D,-1)}function Lc(O,D){var Y=fc(O,D.line),Z=Ue(O.doc,Y.line),te=pt(Z,O.doc.direction);if(!te||te[0].level==0){var De=Math.max(Y.ch,Z.text.search(/\S/)),ht=D.line==Y.line&&D.ch<=De&&D.ch;return Ht(Y.line,ht?0:De,Y.sticky)}return Y}function ll(O,D,Y){if(typeof D=="string"&&(D=Xl[D],!D))return!1;O.display.input.ensurePolled();var Z=O.display.shift,te=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Y&&(O.display.shift=!1),te=D(O)!=J}finally{O.display.shift=Z,O.state.suppressEdits=!1}return te}function cl(O,D,Y){for(var Z=0;Z<O.state.keyMaps.length;Z++){var te=vl(D,O.state.keyMaps[Z],Y,O);if(te)return te}return O.options.extraKeys&&vl(D,O.options.extraKeys,Y,O)||vl(D,O.options.keyMap,Y,O)}var hl=new V;function tc(O,D,Y,Z){var te=O.state.keySeq;if(te){if(ec(D))return"handled";if(/\'$/.test(D)?O.state.keySeq=null:hl.set(50,function(){O.state.keySeq==te&&(O.state.keySeq=null,O.display.input.reset())}),mc(O,te+" "+D,Y,Z))return!0}return mc(O,D,Y,Z)}function mc(O,D,Y,Z){var te=cl(O,D,Z);return te=="multi"&&(O.state.keySeq=D),te=="handled"&&Kt(O,"keyHandled",O,D,Y),(te=="handled"||te=="multi")&&($e(Y),ea(O)),!!te}function yl(O,D){var Y=Vl(D,!0);return Y?D.shiftKey&&!O.state.keySeq?tc(O,"Shift-"+Y,D,function(Z){return ll(O,Z,!0)})||tc(O,Y,D,function(Z){if(typeof Z=="string"?/^go[A-Z]/.test(Z):Z.motion)return ll(O,Z)}):tc(O,Y,D,function(Z){return ll(O,Z)}):!1}function ul(O,D,Y){return tc(O,"'"+Y+"'",D,function(Z){return ll(O,Z,!0)})}var Gl=null;function rc(O){var D=this;if(O.target&&O.target!=D.display.input.getField())return;if(D.curOp.focus=H(),xt(D,O))return;d&&c<11&&O.keyCode==27&&(O.returnValue=!1);var Y=O.keyCode;D.display.shift=Y==16||O.shiftKey;var Z=yl(D,O);o&&(Gl=Z?Y:null,!Z&&Y==88&&!ir&&(A?O.metaKey:O.ctrlKey)&&D.replaceSelection("",null,"cut")),S&&!A&&!Z&&Y==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),Y==18&&!/\bCodeMirror-crosshair\b/.test(D.display.lineDiv.className)&&Hc(D)}function Hc(O){var D=O.display.lineDiv;z(D,"CodeMirror-crosshair");function Y(Z){(Z.keyCode==18||!Z.altKey)&&(x(D,"CodeMirror-crosshair"),Ze(document,"keyup",Y),Ze(document,"mouseover",Y))}Oe(document,"keyup",Y),Oe(document,"mouseover",Y)}function gc(O){O.keyCode==16&&(this.doc.sel.shift=!1),xt(this,O)}function nc(O){var D=this;if(O.target&&O.target!=D.display.input.getField())return;if(Dn(D.display,O)||xt(D,O)||O.ctrlKey&&!O.altKey||A&&O.metaKey)return;var Y=O.keyCode,Z=O.charCode;if(o&&Y==Gl){Gl=null,$e(O);return}if(o&&(!O.which||O.which<10)&&yl(D,O))return;var te=String.fromCharCode(Z==null?Y:Z);if(te=="\b")return;if(ul(D,O,te))return;D.display.input.onKeyPress(O)}var Nc=400,Ac=function(D,Y,Z){this.time=D,this.pos=Y,this.button=Z};Ac.prototype.compare=function(O,D,Y){return this.time+Nc>O&&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,Dn(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 $(Ht(D.line,0),mt(O.doc,Ht(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 $(Ht(ko,_s),Ht(ko,_s))):fs.length>_s&&ya.push(new $(Ht(ko,_s),Ht(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.line<ja.from)&&setTimeout(go(O,function(){Ai==ya&&ji(pa)}),150)}else{var vo=pa.clientY<kn.top?-20:pa.clientY>kn.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 Ht(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<O.display.gutterSpecs.length;++Yt){var qt=ht.gutters.childNodes[Yt];if(qt&&qt.getBoundingClientRect().right>=te){var qr=Dr(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(Dn(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(Ht(ht,qr))}ht++});for(var Et=De.length-1;Et>=0;Et--)Bs(Z.doc,te,De[Et],Ht(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,Ut,!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 Ut(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;Et<Ce.length;++Et)Ce[Et](this);Qo(this),a&&D.lineWrapping&&getComputedStyle(De.lineDiv).textRendering=="optimizelegibility"&&(De.lineDiv.style.textRendering="auto")}dr.defaults=Ql,dr.optionHandlers=fe;function _r(O){var D=O.display;Oe(D.scroller,"mousedown",go(O,Yl)),d&&c<11?Oe(D.scroller,"dblclick",go(O,function(Yt){if(xt(O,Yt))return;var qt=Vi(O,Yt);if(!qt||Rc(O,Yt)||Dn(O.display,Yt))return;$e(Yt);var qr=O.findWordAt(qt);cs(O.doc,qr.anchor,qr.head)})):Oe(D.scroller,"dblclick",function(Yt){return xt(O,Yt)||$e(Yt)}),Oe(D.scroller,"contextmenu",function(Yt){return Mc(O,Yt)}),Oe(D.input.getField(),"contextmenu",function(Yt){D.scroller.contains(Yt.target)||Mc(O,Yt)});var Y,Z={end:0};function te(){D.activeTouch&&(Y=setTimeout(function(){return D.activeTouch=null},1e3),Z=D.activeTouch,Z.end=+new Date)}function De(Yt){if(Yt.touches.length!=1)return!1;var qt=Yt.touches[0];return qt.radiusX<=1&&qt.radiusY<=1}function ht(Yt,qt){if(qt.left==null)return!0;var qr=qt.left-Yt.left,dn=qt.top-Yt.top;return qr*qr+dn*dn>20*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&&!Dn(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 $(Ht(qr.line,0),mt(O.doc,Ht(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(Mn<qr&&(dn+=Me(qr-Mn)),dn!=qt)return Bs(te,dn,Ht(D,0),Ht(D,qt.length),"+input"),Et.stateAfter=null,!0;for(var Ai=0;Ai<te.sel.ranges.length;Ai++){var ji=te.sel.ranges[Ai];if(ji.head.line==D&&ji.head.ch<qt.length){var Qi=Ht(D,qt.length);us(te,Ai,new $(Qi,Qi));break}}}var ve=null;function je(O){ve=O}function it(O,D,Y,Z,te){var De=O.doc;O.display.shift=!1,Z||(Z=De.sel);var ht=+new Date-200,Et=te=="paste"||O.state.pasteIncoming>ht,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<ve.text.length;qr++)qt.push(De.splitLines(ve.text[qr]))}}else Yt.length==Z.ranges.length&&O.options.pasteLinesPerSelection&&(qt=_e(Yt,function(Yi){return[Yi]}));for(var dn=O.curOp.updateInput,Mn=Z.ranges.length-1;Mn>=0;Mn--){var kn=Z.ranges[Mn],Ai=kn.from(),ji=kn.to();kn.empty()&&(Y&&Y>0?Ai=Ht(Ai.line,Ai.ch-Y):O.state.overwrite&&!Et?ji=Ht(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=Ht(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),Kt(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<De.electricChars.length;Et++)if(D.indexOf(De.electricChars.charAt(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&&Kt(O,"electricInput",O,te.head.line)}}function It(O){for(var D=[],Y=[],Z=0;Z<O.doc.sel.ranges.length;Z++){var te=O.doc.sel.ranges[Z].head.line,De={anchor:Ht(te,0),head:Ht(te+1,0)};Y.push(De),D.push(O.getRange(De.anchor,De.head))}return{text:D,ranges:Y}}function Ar(O,D,Y,Z){O.setAttribute("autocorrect",Y?"":"off"),O.setAttribute("autocapitalize",Z?"":"off"),O.setAttribute("spellcheck",!!D)}function Tr(){var O=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),D=L("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?O.style.width="1000px":O.setAttribute("wrap","off"),s&&(O.style.border="1px solid black"),Ar(O),D}function hr(O){var D=O.optionHandlers,Y=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,De){var ht=this.options,Et=ht[te];if(ht[te]==De&&te!="mode")return;ht[te]=De,D.hasOwnProperty(te)&&go(this,D[te])(this,De,Et),wt(this,"optionChange",this,te)},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,De){this.state.keyMaps[De?"push":"unshift"](Bl(te))},removeKeyMap:function(te){for(var De=this.state.keyMaps,ht=0;ht<De.length;++ht)if(De[ht]==te||De[ht].name==te)return De.splice(ht,1),!0},addOverlay:es(function(Z,te){var De=Z.token?Z:O.getMode(this.options,Z);if(De.startState)throw new Error("Overlays may not be stateful.");ee(this.state.overlays,{mode:De,modeSpec:Z,opaque:te&&te.opaque,priority:te&&te.priority||0},function(ht){return ht.priority}),this.state.modeGen++,ga(this)}),removeOverlay:es(function(Z){for(var te=this.state.overlays,De=0;De<te.length;++De){var ht=te[De].modeSpec;if(ht==Z||typeof Z=="string"&&ht.name==Z){te.splice(De,1),this.state.modeGen++,ga(this);return}}}),indentLine:es(function(Z,te,De){typeof te!="string"&&typeof te!="number"&&(te==null?te=this.options.smartIndent?"smart":"prev":te=te?"add":"subtract"),Pr(this.doc,Z)&&Q(this,Z,te,De)}),indentSelection:es(function(Z){for(var te=this.doc.sel.ranges,De=-1,ht=0;ht<te.length;ht++){var Et=te[ht];if(Et.empty())Et.head.line>De&&(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;dn<De;++dn)Q(this,dn,Z);var Mn=this.doc.sel.ranges;Yt.ch==0&&te.length==Mn.length&&Mn[ht].from().ch>0&&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,Ht(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]<Yt)ht=qr+1;else{qt=De[qr*2+2];break}}var dn=qt?qt.indexOf("overlay "):-1;return dn<0?qt:dn==0?null:qt.slice(0,dn-1)},getModeAt:function(te){var De=this.doc.mode;return De.innerMode?O.innerMode(De,this.getTokenAt(te).state).mode:De},getHelper:function(te,De){return this.getHelpers(te,De)[0]},getHelpers:function(te,De){var ht=[];if(!Y.hasOwnProperty(De))return ht;var Et=Y[De],Yt=this.getModeAt(te);if(typeof Yt[De]=="string")Et[Yt[De]]&&ht.push(Et[Yt[De]]);else if(Yt[De])for(var qt=0;qt<Yt[De].length;qt++){var qr=Et[Yt[De][qt]];qr&&ht.push(qr)}else Yt.helperType&&Et[Yt.helperType]?ht.push(Et[Yt.helperType]):Et[Yt.name]&&ht.push(Et[Yt.name]);for(var dn=0;dn<Et._global.length;dn++){var Mn=Et._global[dn];Mn.pred(Yt,this)&&W(ht,Mn.val)==-1&&ht.push(Mn.val)}return ht},getStateAfter:function(te,De){var ht=this.doc;return te=Bt(ht,te==null?ht.first+ht.size-1:te),Tn(this,te+1,De).state},cursorCoords:function(te,De){var ht,Et=this.doc.sel.primary();return te==null?ht=Et.head:typeof te=="object"?ht=mt(this.doc,te):ht=te?Et.from():Et.to(),vn(this,ht,De||"page")},charCoords:function(te,De){return sn(this,mt(this.doc,te),De||"page")},coordsChar:function(te,De){return te=pn(this,te,De||"page"),$n(this,te.left,te.top)},lineAtHeight:function(te,De){return te=pn(this,{top:te,left:0},De||"page").top,Dr(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,De,ht){var Et=!1,Yt;if(typeof te=="number"){var qt=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>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;qr<De&&!(qt=sr(this.doc,qt,Yt,ht,Et),qt.hitSide);++qr);return qt},moveH:es(function(Z,te){var De=this;this.extendSelectionsBy(function(ht){return De.display.shift||De.doc.extend||ht.empty()?sr(De.doc,ht.head,Z,te,De.options.rtlMoveVisually):Z<0?ht.from():ht.to()},ae)}),deleteH:es(function(Z,te){var De=this.doc.sel,ht=this.doc;De.somethingSelected()?ht.replaceSelection("",null,"+delete"):Cl(this,function(Et){var Yt=sr(ht,Et.head,Z,te,!1);return Z<0?{from:Yt,to:Et.head}:{from:Et.head,to:Yt}})}),findPosV:function(te,De,ht,Et){var Yt=1,qt=Et;De<0&&(Yt=-1,De=-De);for(var qr=mt(this.doc,te),dn=0;dn<De;++dn){var Mn=vn(this,qr,"div");if(qt==null?qt=Mn.left:Mn.left=qt,qr=Cr(this,Mn,Yt,ht),qr.hitSide)break}return qr},moveV:es(function(Z,te){var De=this,ht=this.doc,Et=[],Yt=!this.display.shift&&!ht.extend&&ht.sel.somethingSelected();if(ht.extendSelectionsBy(function(qr){if(Yt)return Z<0?qr.from():qr.to();var dn=vn(De,qr.head,"div");qr.goalColumn!=null&&(dn.left=qr.goalColumn),Et.push(dn.left);var Mn=Cr(De,dn,Z,te);return te=="page"&&qr==ht.sel.primary()&&Qa(De,sn(De,Mn,"div").top-dn.top),Mn},ae),Et.length)for(var qt=0;qt<ht.sel.ranges.length;qt++)ht.sel.ranges[qt].goalColumn=Et[qt]}),findWordAt:function(te){var De=this.doc,ht=Ue(De,te.line).text,Et=te.ch,Yt=te.ch;if(ht){var qt=this.getHelper(te,"wordChars");(te.sticky=="before"||Yt==ht.length)&&Et?--Et:++Yt;for(var qr=ht.charAt(Et),dn=re(qr,qt)?function(Mn){return re(Mn,qt)}:/\s/.test(qr)?function(Mn){return/\s/.test(Mn)}:function(Mn){return!/\s/.test(Mn)&&!re(Mn)};Et>0&&dn(ht.charAt(Et-1));)--Et;for(;Yt<ht.length&&dn(ht.charAt(Yt));)++Yt}return new $(Ht(te.line,Et),Ht(te.line,Yt))},toggleOverwrite:function(te){if(te!=null&&te==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),wt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==H()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:es(function(Z,te){Ca(this,Z,te)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-Kn(this)-this.display.barHeight,width:te.scrollWidth-Kn(this)-this.display.barWidth,clientHeight:Zn(this),clientWidth:Yn(this)}},scrollIntoView:es(function(Z,te){Z==null?(Z={from:this.doc.sel.primary().head,to:null},te==null&&(te=this.options.cursorScrollMargin)):typeof Z=="number"?Z={from:Ht(Z,0),to:null}:Z.from==null&&(Z={from:Z,to:null}),Z.to||(Z.to=Z.from),Z.margin=te||0,Z.from.line!=null?no(this,Z):Bi(this,Z.from,Z.to,Z.margin)}),setSize:es(function(Z,te){var De=this,ht=function(qt){return typeof qt=="number"||/^\d+$/.test(String(qt))?qt+"px":qt};Z!=null&&(this.display.wrapper.style.width=ht(Z)),te!=null&&(this.display.wrapper.style.height=ht(te)),this.options.lineWrapping&&Nr(this);var Et=this.display.viewFrom;this.doc.iter(Et,this.display.viewTo,function(Yt){if(Yt.widgets){for(var qt=0;qt<Yt.widgets.length;qt++)if(Yt.widgets[qt].noHScroll){Ti(De,Et,"widget");break}}++Et}),this.curOp.forceUpdate=!0,wt(this,"refresh",this)}),operation:function(te){return jo(this,te)},startOperation:function(){return Fa(this)},endOperation:function(){return Qo(this)},refresh:es(function(){var Z=this.display.cachedTextHeight;ga(this),this.curOp.forceUpdate=!0,Xt(this),Ca(this,this.doc.scrollLeft,this.doc.scrollTop),ys(this.display),(Z==null||Math.abs(Z-Di(this.display))>.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,Kt(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||Xi>=O.first+O.size?!1:(D=new Ht(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 Ht(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 at(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 Mr=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};Mr.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)},Mr.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},Mr.prototype.prepareSelection=function(){var O=za(this.cm,!1);return O.focus=document.activeElement==this.div,O},Mr.prototype.showSelection=function(O,D){if(!O||!this.cm.display.view.length)return;(O.focus||D)&&this.showPrimarySelection(),this.showMultipleSelections(O)},Mr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Mr.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){O.removeAllRanges();return}var De=hi(D,O.anchorNode,O.anchorOffset),ht=hi(D,O.focusNode,O.focusOffset);if(De&&!De.bad&&ht&&!ht.bad&&dt(gt(De,ht),Z)==0&&dt(Jt(De,ht),te)==0)return;var Et=D.display.view,Yt=Z.line>=D.display.viewFrom&&an(D,Z)||{node:Et[0].measure.map[2],offset:0},qt=te.line<D.display.viewTo&&an(D,te);if(!qt){var qr=Et[Et.length-1].measure,dn=qr.maps?qr.maps[qr.maps.length-1]:qr.map;qt={node:dn[dn.length-1],offset:dn[dn.length-2]-dn[dn.length-3]}}if(!Yt||!qt){O.removeAllRanges();return}var Mn=O.rangeCount&&O.getRangeAt(0),kn;try{kn=B(Yt.node,Yt.offset,qt.offset,qt.node)}catch(Ai){}kn&&(!S&&D.state.focused?(O.collapse(Yt.node,Yt.offset),kn.collapsed||(O.removeAllRanges(),O.addRange(kn))):(O.removeAllRanges(),O.addRange(kn)),Mn&&O.anchorNode==null?O.addRange(Mn):S&&this.startGracePeriod()),this.rememberSelection()},Mr.prototype.startGracePeriod=function(){var O=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){O.gracePeriod=!1,O.selectionChanged()&&O.cm.operation(function(){return O.cm.curOp.selectionChanged=!0})},20)},Mr.prototype.showMultipleSelections=function(O){I(this.cm.display.cursorDiv,O.cursors),I(this.cm.display.selectionDiv,O.selection)},Mr.prototype.rememberSelection=function(){var O=this.getSelection();this.lastAnchorNode=O.anchorNode,this.lastAnchorOffset=O.anchorOffset,this.lastFocusNode=O.focusNode,this.lastFocusOffset=O.focusOffset},Mr.prototype.selectionInEditor=function(){var O=this.getSelection();if(!O.rangeCount)return!1;var D=O.getRangeAt(0).commonAncestorContainer;return P(this.div,D)},Mr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Mr.prototype.blur=function(){this.div.blur()},Mr.prototype.getField=function(){return this.div},Mr.prototype.supportsTouch=function(){return!0},Mr.prototype.receivedFocus=function(){var O=this;this.selectionInEditor()?this.pollSelection():jo(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function D(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,D))}this.polling.set(this.cm.options.pollInterval,D)},Mr.prototype.selectionChanged=function(){var O=this.getSelection();return O.anchorNode!=this.lastAnchorNode||O.anchorOffset!=this.lastAnchorOffset||O.focusNode!=this.lastFocusNode||O.focusOffset!=this.lastFocusOffset},Mr.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var O=this.getSelection(),D=this.cm;if(u&&i&&this.cm.display.gutterSpecs.length&&Pn(O.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var Y=hi(D,O.anchorNode,O.anchorOffset),Z=hi(D,O.focusNode,O.focusOffset);Y&&Z&&jo(D,function(){Do(D.doc,ge(Y,Z),de),(Y.bad||Z.bad)&&(D.curOp.selectionChanged=!0)})},Mr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,D=O.display,Y=O.doc.sel.primary(),Z=Y.from(),te=Y.to();if(Z.ch==0&&Z.line>O.firstLine()&&(Z=Ht(Z.line-1,Ue(O.doc,Z.line-1).length)),te.ch==Ue(O.doc,te.line).text.length&&te.line<O.lastLine()&&(te=Ht(te.line+1,0)),Z.line<D.viewFrom||te.line>D.viewTo-1)return!1;var De,ht,Et;Z.line==D.viewFrom||(De=La(O,Z.line))==0?(ht=zt(D.view[0].line),Et=D.view[0].node):(ht=zt(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=zt(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,Ht(ht,0),Ht(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);kn<Yi&&ji.charCodeAt(kn)==Qi.charCodeAt(kn);)++kn;for(var Xi=oe(dn),pa=oe(Mn),ya=Math.min(Xi.length-(dn.length==1?kn:0),pa.length-(Mn.length==1?kn:0));Ai<ya&&Xi.charCodeAt(Xi.length-Ai-1)==pa.charCodeAt(pa.length-Ai-1);)++Ai;if(dn.length==1&&Mn.length==1&&ht==Z.line)for(;kn&&kn>Z.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=Ht(ht,kn),ja=Ht(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},Mr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Mr.prototype.reset=function(){this.forceCompositionEnd()},Mr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Mr.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)},Mr.prototype.updateFromDOM=function(){var O=this;(this.cm.isReadOnly()||!this.pollContent())&&jo(this.cm,function(){return ga(O.cm)})},Mr.prototype.setUneditable=function(O){O.contentEditable="false"},Mr.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)},Mr.prototype.readOnlyChanged=function(O){this.div.contentEditable=String(O!="nocursor")},Mr.prototype.onContextMenu=function(){},Mr.prototype.resetPosition=function(){},Mr.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(Ht(Z,0),Ht(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<kn.childNodes.length;pa++)Mn(kn.childNodes[pa]);/^(pre|p)$/i.test(kn.nodeName)&&(Yt=!0),Xi&&(ht=!0)}else kn.nodeType==3&&dn(kn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Mn(D),D==Y);)D=D.nextSibling,Yt=!1;return De}function hi(O,D,Y){var Z;if(D==O.display.lineDiv){if(Z=O.display.lineDiv.childNodes[Y],!Z)return ni(O.clipPos(Ht(O.display.viewTo-1)),!0);D=null,Y=0}else for(Z=D;;Z=Z.parentNode){if(!Z||Z==O.display.lineDiv)return null;if(Z.parentNode&&Z.parentNode==O.display.lineDiv)break}for(var te=0;te<O.display.view.length;te++){var De=O.display.view[te];if(De.node==Z)return ma(De,D,Y)}}function ma(O,D,Y){var Z=O.text.firstChild,te=!1;if(!D||!P(Z,D))return ni(Ht(zt(O.line),0),!0);if(D==Z&&(te=!0,D=Z.childNodes[Y],Y=0,!D)){var De=O.rest?oe(O.rest):O.line;return ni(Ht(zt(De),De.text.length),te)}var ht=D.nodeType==3?D:null,Et=D;for(!ht&&D.childNodes.length==1&&D.firstChild.nodeType==3&&(ht=D.firstChild,Y&&(Y=ht.nodeValue.length));Et.parentNode!=Z;)Et=Et.parentNode;var Yt=O.measure,qt=Yt.maps;function qr(Qi,Yi,Xi){for(var pa=-1;pa<(qt?qt.length:0);pa++)for(var ya=pa<0?Yt.map:qt[pa],qa=0;qa<ya.length;qa+=3){var ja=ya[qa+2];if(ja==Qi||ja==Yi){var vo=zt(pa<0?O.line:O.rest[pa]),Wo=ya[qa]+Xi;return(Xi<0||ja!=Qi)&&(Wo=ya[qa+(Xi?1:0)]),Ht(vo,Wo)}}}var dn=qr(ht,Et,Y);if(dn)return ni(dn,te);for(var Mn=Et.nextSibling,kn=ht?ht.nodeValue.length-Y:0;Mn;Mn=Mn.nextSibling){if(dn=qr(Mn,Mn.firstChild,0),dn)return ni(Ht(dn.line,dn.ch-kn),te);kn+=Mn.textContent.length}for(var Ai=Et.previousSibling,ji=Y;Ai;Ai=Ai.previousSibling){if(dn=qr(Ai,Ai.firstChild,-1),dn)return ni(Ht(dn.line,dn.ch+ji),te);ji+=Ai.textContent.length}}var Ui=function(D){this.cm=D,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ui.prototype.init=function(O){var D=this,Y=this,Z=this.cm;this.createField(O);var te=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),s&&(te.style.width="0px"),Oe(te,"input",function(){d&&c>=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(Dn(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){Dn(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);ht<Et&&Z.charCodeAt(ht)==te.charCodeAt(ht);)++ht;return jo(D,function(){it(D,te.slice(ht),Z.length-ht,null,O.composing?"*compose":null),te.length>1e3||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=Ht,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:Mr},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<H;P++)_[P].fixed&&a.copy(_[P].p,s.getNodeByIndex(P).getLayout());L(function(z,M,U){for(var k=0,K=z.length;k<K;k++)z[k].fixed||s.getNodeByIndex(k).setLayout(z[k].p),e[u.getId(k)]=z[k].p;for(var k=0,K=M.length;k<K;k++){var j=M[k],V=s.getEdgeByIndex(k),W=j.n1.p,X=j.n2.p,J=V.getLayout();J=J?J.slice():[],J[0]=J[0]||[],J[1]=J[1]||[],a.copy(J[0],W),a.copy(J[1],X),+j.curveness&&(J[2]=[(W[0]+X[0])/2-(W[1]-X[1])*j.curveness,(W[1]+X[1])/2-(X[0]-W[0])*j.curveness]),V.setLayout(J)}B&&B(U)})},r.forceLayout=I,r.preservedPoints=e,I.step()}else r.forceLayout=null})}R.exports=i},WKfj:function(R,N,t){"use strict";t.d(N,"d",function(){return p}),t.d(N,"e",function(){return S}),t.d(N,"f",function(){return m}),t.d(N,"c",function(){return g}),t.d(N,"b",function(){return d}),t.d(N,"a",function(){return a});var y=t("KQm4");function p(n){return Array.isArray(n)?n:n!==void 0?[n]:[]}function S(n,i){var o=i.labelInValue,r=i.combobox;if(n===void 0||n===""&&r)return[];var l=Array.isArray(n)?n:[n];return o?l.map(function(e){var s=e.key,u=e.value;return u!==void 0?u:s}):l}function m(n,i){var o=i.optionLabelProp,r=i.labelInValue,l=i.prevValue,e=i.options,s=i.getLabeledValue,u=n;return r&&(u=u.map(function(h){return s(h,{options:e,prevValue:l,labelInValue:r,optionLabelProp:o})})),u}function g(n,i){var o=Object(y.a)(i),r;for(r=n.length-1;r>=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<l.length;A++){var v=s.get(l[A].tickValue);if(v!=null){h=(v+(e-1)*A)%e;break}}var w=a.toGlobalCoord(l[0].coord),b=i.getAreaStyle();o=y.isArray(o)?o:[o];for(var A=1;A<l.length;A++){var E=a.toGlobalCoord(l[A].coord),T,_,x,C;a.isHorizontal()?(T=w,_=r.y,x=E-T,C=r.height,w=T+x):(T=r.x,_=w,x=r.width,C=E-_,w=_+C);var I=l[A-1].tickValue;I!=null&&u.set(I,h),f.add(new p.Rect({anid:I!=null?"area_"+I:null,shape:{x:T,y:_,width:x,height:C},style:y.defaults({fill:o[h]},b),silent:!0})),h=(h+1)%e}g.__splitAreaColors=u}function m(g){g.__splitAreaColors=null}N.rectCoordAxisBuildSplitArea=S,N.rectCoordAxisHandleRemove=m},WXVj: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("Bqw1")),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="MinusSquareOutlined";var c=m.forwardRef(d);N.default=c},WaYH:function(R,N,t){"use strict";var y=t("rePB"),p=t("Ff2n"),S=t("VTBJ"),m=t("1OyB"),g=t("vuIU"),f=t("JX7q"),d=t("Ji7U"),c=t("LK+K"),a=t("q1tI"),n=t("TSYQ"),i=t.n(n),o=t("sboe"),r=t("OZM5"),l=function(T){var _=T.prefixCls,x=T.level,C=T.isStart,I=T.isEnd;if(!x)return null;for(var L="".concat(_,"-indent-unit"),F=[],B=0;B<x;B+=1){var P;F.push(a.createElement("span",{key:B,className:i()(L,(P={},Object(y.a)(P,"".concat(L,"-start"),C[B+1]),Object(y.a)(P,"".concat(L,"-end"),I[B+1]),Object(y.a)(P,"".concat(L,"-end-first-level"),!B&&I[0]),P))}))}return a.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},F)},e=l,s=t("815F"),u="open",h="close",A="---",v=function(E){Object(d.a)(_,E);var T=Object(c.a)(_);function _(){var x;return Object(m.a)(this,_),x=T.apply(this,arguments),x.state={dragNodeHighlight:!1},x.onSelectorClick=function(C){var I=x.props.context.onNodeClick;I(C,Object(s.b)(x.props)),x.isSelectable()?x.onSelect(C):x.onCheck(C)},x.onSelectorDoubleClick=function(C){var I=x.props.context.onNodeDoubleClick;I(C,Object(s.b)(x.props))},x.onSelect=function(C){if(x.isDisabled())return;var I=x.props.context.onNodeSelect;C.preventDefault(),I(C,Object(s.b)(x.props))},x.onCheck=function(C){if(x.isDisabled())return;var I=x.props,L=I.disableCheckbox,F=I.checked,B=x.props.context.onNodeCheck;if(!x.isCheckable()||L)return;C.preventDefault();var P=!F;B(C,Object(s.b)(x.props),P)},x.onMouseEnter=function(C){var I=x.props.context.onNodeMouseEnter;I(C,Object(s.b)(x.props))},x.onMouseLeave=function(C){var I=x.props.context.onNodeMouseLeave;I(C,Object(s.b)(x.props))},x.onContextMenu=function(C){var I=x.props.context.onNodeContextMenu;I(C,Object(s.b)(x.props))},x.onDragStart=function(C){var I=x.props.context.onNodeDragStart;C.stopPropagation(),x.setState({dragNodeHighlight:!0}),I(C,Object(f.a)(x));try{C.dataTransfer.setData("text/plain","")}catch(L){}},x.onDragEnter=function(C){var I=x.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),I(C,Object(f.a)(x))},x.onDragOver=function(C){var I=x.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),I(C,Object(f.a)(x))},x.onDragLeave=function(C){var I=x.props.context.onNodeDragLeave;C.stopPropagation(),I(C,Object(f.a)(x))},x.onDragEnd=function(C){var I=x.props.context.onNodeDragEnd;C.stopPropagation(),x.setState({dragNodeHighlight:!1}),I(C,Object(f.a)(x))},x.onDrop=function(C){var I=x.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),x.setState({dragNodeHighlight:!1}),I(C,Object(f.a)(x))},x.onExpand=function(C){var I=x.props.context.onNodeExpand;I(C,Object(s.b)(x.props))},x.setSelectHandle=function(C){x.selectHandle=C},x.getNodeState=function(){var C=x.props.expanded;return x.isLeaf()?null:C?u:h},x.hasChildren=function(){var C=x.props.eventKey,I=x.props.context.keyEntities,L=I[C]||{},F=L.children;return!!(F||[]).length},x.isLeaf=function(){var C=x.props,I=C.isLeaf,L=C.loaded,F=x.props.context.loadData,B=x.hasChildren();return I===!1?!1:I||!F&&!B||F&&L&&!B},x.isDisabled=function(){var C=x.props.disabled,I=x.props.context.disabled;return!!(I||C)},x.isCheckable=function(){var C=x.props.checkable,I=x.props.context.checkable;return!I||C===!1?!1:I},x.syncLoadData=function(C){var I=C.expanded,L=C.loading,F=C.loaded,B=x.props.context,P=B.loadData,H=B.onNodeLoad;if(L)return;P&&I&&!x.isLeaf()&&(!x.hasChildren()&&!F&&H(Object(s.b)(x.props)))},x.renderSwitcher=function(){var C=x.props,I=C.expanded,L=C.switcherIcon,F=x.props.context,B=F.prefixCls,P=F.switcherIcon,H=L||P;if(x.isLeaf())return a.createElement("span",{className:i()("".concat(B,"-switcher"),"".concat(B,"-switcher-noop"))},typeof H=="function"?H(Object(S.a)(Object(S.a)({},x.props),{},{isLeaf:!0})):H);var z=i()("".concat(B,"-switcher"),"".concat(B,"-switcher_").concat(I?u:h));return a.createElement("span",{onClick:x.onExpand,className:z},typeof H=="function"?H(Object(S.a)(Object(S.a)({},x.props),{},{isLeaf:!1})):H)},x.renderCheckbox=function(){var C=x.props,I=C.checked,L=C.halfChecked,F=C.disableCheckbox,B=x.props.context.prefixCls,P=x.isDisabled(),H=x.isCheckable();if(!H)return null;var z=typeof H!="boolean"?H:null;return a.createElement("span",{className:i()("".concat(B,"-checkbox"),I&&"".concat(B,"-checkbox-checked"),!I&&L&&"".concat(B,"-checkbox-indeterminate"),(P||F)&&"".concat(B,"-checkbox-disabled")),onClick:x.onCheck},z)},x.renderIcon=function(){var C=x.props.loading,I=x.props.context.prefixCls;return a.createElement("span",{className:i()("".concat(I,"-iconEle"),"".concat(I,"-icon__").concat(x.getNodeState()||"docu"),C&&"".concat(I,"-icon_loading"))})},x.renderSelector=function(){var C=x.state.dragNodeHighlight,I=x.props,L=I.title,F=I.selected,B=I.icon,P=I.loading,H=I.data,z=x.props.context,M=z.prefixCls,U=z.showIcon,k=z.icon,K=z.draggable,j=z.loadData,V=z.titleRender,W=x.isDisabled(),X="".concat(M,"-node-content-wrapper"),J;if(U){var de=B||k;J=de?a.createElement("span",{className:i()("".concat(M,"-iconEle"),"".concat(M,"-icon__customize"))},typeof de=="function"?de(x.props):de):x.renderIcon()}else j&&P&&(J=x.renderIcon());var G;typeof L=="function"?G=L(H):V?G=V(H):G=L;var ae=a.createElement("span",{className:"".concat(M,"-title")},G);return a.createElement("span",{ref:x.setSelectHandle,title:typeof L=="string"?L:"",className:i()("".concat(X),"".concat(X,"-").concat(x.getNodeState()||"normal"),!W&&(F||C)&&"".concat(M,"-node-selected"),!W&&K&&"draggable"),draggable:!W&&K||void 0,"aria-grabbed":!W&&K||void 0,onMouseEnter:x.onMouseEnter,onMouseLeave:x.onMouseLeave,onContextMenu:x.onContextMenu,onClick:x.onSelectorClick,onDoubleClick:x.onSelectorDoubleClick,onDragStart:K?x.onDragStart:void 0},J,ae)},x}return Object(g.a)(_,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var C=this.props.selectable,I=this.props.context.selectable;return typeof C=="boolean"?C:I}},{key:"render",value:function(){var C,I=this.props,L=I.eventKey,F=I.className,B=I.style,P=I.dragOver,H=I.dragOverGapTop,z=I.dragOverGapBottom,M=I.isLeaf,U=I.isStart,k=I.isEnd,K=I.expanded,j=I.selected,V=I.checked,W=I.halfChecked,X=I.loading,J=I.domRef,de=I.active,G=I.onMouseMove,ae=Object(p.a)(I,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ae=this.props.context,me=Ae.prefixCls,Me=Ae.filterTreeNode,oe=Ae.draggable,_e=Ae.keyEntities,ee=this.isDisabled(),ne=Object(r.f)(ae),Ge=_e[L]||{},Ee=Ge.level,ue=k[k.length-1];return a.createElement("div",Object.assign({ref:J,className:i()(F,"".concat(me,"-treenode"),(C={},Object(y.a)(C,"".concat(me,"-treenode-disabled"),ee),Object(y.a)(C,"".concat(me,"-treenode-switcher-").concat(K?"open":"close"),!M),Object(y.a)(C,"".concat(me,"-treenode-checkbox-checked"),V),Object(y.a)(C,"".concat(me,"-treenode-checkbox-indeterminate"),W),Object(y.a)(C,"".concat(me,"-treenode-selected"),j),Object(y.a)(C,"".concat(me,"-treenode-loading"),X),Object(y.a)(C,"".concat(me,"-treenode-active"),de),Object(y.a)(C,"".concat(me,"-treenode-leaf-last"),ue),Object(y.a)(C,"drag-over",!ee&&P),Object(y.a)(C,"drag-over-gap-top",!ee&&H),Object(y.a)(C,"drag-over-gap-bottom",!ee&&z),Object(y.a)(C,"filter-node",Me&&Me(Object(s.b)(this.props))),C)),style:B,onDragEnter:oe?this.onDragEnter:void 0,onDragOver:oe?this.onDragOver:void 0,onDragLeave:oe?this.onDragLeave:void 0,onDrop:oe?this.onDrop:void 0,onDragEnd:oe?this.onDragEnd:void 0,onMouseMove:G},ne),a.createElement(e,{prefixCls:me,level:Ee,isStart:U,isEnd:k}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(a.Component),w=function(T){return a.createElement(o.a.Consumer,null,function(_){return a.createElement(v,Object.assign({},T,{context:_}))})};w.displayName="TreeNode",w.defaultProps={title:A},w.isTreeNode=1;var b=N.a=w},Wqna:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.isObject,g=S.each,f=S.map,d=S.indexOf,c=S.retrieve,a=t("+TT/"),n=a.getLayoutRect,i=t("aX7z"),o=i.createScaleByModel,r=i.ifAxisCrossZero,l=i.niceScaleExtent,e=i.estimateLabelUnionRect,s=t("y+lR"),u=t("7AJT"),h=t("IDmD"),A=t("7hqr"),v=A.getStackedDimension;t("jtI2");function w(B,P,H){return B.getCoordSysModel()===P}function b(B,P,H){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(B,P,H),this.model=B}var E=b.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(B,P){var H=this._axesMap;this._updateScale(B,this.model),g(H.x,function(M){l(M.scale,M.model)}),g(H.y,function(M){l(M.scale,M.model)});var z={};g(H.x,function(M){T(H,"y",M,z)}),g(H.y,function(M){T(H,"x",M,z)}),this.resize(this.model,P)};function T(B,P,H,z){H.getAxesOnZeroOf=function(){return U?[U]:[]};var M=B[P],U,k=H.model,K=k.get("axisLine.onZero"),j=k.get("axisLine.onZeroAxisIndex");if(!K)return;if(j!=null)_(M[j])&&(U=M[j]);else for(var V in M)if(M.hasOwnProperty(V)&&_(M[V])&&!z[W(M[V])]){U=M[V];break}U&&(z[W(U)]=!0);function W(X){return X.dim+"_"+X.index}}function _(B){return B&&B.type!=="category"&&B.type!=="time"&&r(B)}E.resize=function(B,P,H){var z=n(B.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()});this._rect=z;var M=this._axesList;U(),!H&&B.get("containLabel")&&(g(M,function(k){if(!k.model.get("axisLabel.inside")){var K=e(k);if(K){var j=k.isHorizontal()?"height":"width",V=k.model.get("axisLabel.margin");z[j]-=K[j]+V,k.position==="top"?z.y+=K.height+V:k.position==="left"&&(z.x+=K.width+V)}}}),U());function U(){g(M,function(k){var K=k.isHorizontal(),j=K?[0,z.width]:[0,z.height],V=k.inverse?1:0;k.setExtent(j[V],j[1-V]),x(k,K?z.x:z.y)})}},E.getAxis=function(B,P){var H=this._axesMap[B];if(H!=null){if(P==null){for(var z in H)if(H.hasOwnProperty(z))return H[z]}return H[P]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(B,P){if(B!=null&&P!=null){var H="x"+B+"y"+P;return this._coordsMap[H]}m(B)&&(P=B.yAxisIndex,B=B.xAxisIndex);for(var z=0,M=this._coordsList;z<M.length;z++)if(M[z].getAxis("x").index===B||M[z].getAxis("y").index===P)return M[z]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(B,P,H){var z=this._findConvertTarget(B,P);return z.cartesian?z.cartesian.dataToPoint(H):z.axis?z.axis.toGlobalCoord(z.axis.dataToCoord(H)):null},E.convertFromPixel=function(B,P,H){var z=this._findConvertTarget(B,P);return z.cartesian?z.cartesian.pointToData(H):z.axis?z.axis.coordToData(z.axis.toLocalCoord(H)):null},E._findConvertTarget=function(B,P){var H=P.seriesModel,z=P.xAxisModel||H&&H.getReferringComponents("xAxis")[0],M=P.yAxisModel||H&&H.getReferringComponents("yAxis")[0],U=P.gridModel,k=this._coordsList,K,j;if(H)K=H.coordinateSystem,d(k,K)<0&&(K=null);else if(z&&M)K=this.getCartesian(z.componentIndex,M.componentIndex);else if(z)j=this.getAxis("x",z.componentIndex);else if(M)j=this.getAxis("y",M.componentIndex);else if(U){var V=U.coordinateSystem;V===this&&(K=this._coordsList[0])}return{cartesian:K,axis:j}},E.containPoint=function(B){var P=this._coordsList[0];if(P)return P.containPoint(B)},E._initCartesian=function(B,P,H){var z={left:!1,right:!1,top:!1,bottom:!1},M={x:{},y:{}},U={x:0,y:0};if(P.eachComponent("xAxis",k("x"),this),P.eachComponent("yAxis",k("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=M,g(M.x,function(K,j){g(M.y,function(V,W){var X="x"+j+"y"+W,J=new s(X);J.grid=this,J.model=B,this._coordsMap[X]=J,this._coordsList.push(J),J.addAxis(K),J.addAxis(V)},this)},this);function k(K){return function(j,V){if(!w(j,B,P))return;var W=j.get("position");K==="x"?W!=="top"&&W!=="bottom"&&(W=z.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=z.left?"right":"left"),z[W]=!0;var X=new u(K,o(j),[0,0],j.get("type"),W),J=X.type==="category";X.onBand=J&&j.get("boundaryGap"),X.inverse=j.get("inverse"),j.axis=X,X.model=j,X.grid=this,X.index=V,this._axesList.push(X),M[K][V]=X,U[K]++}}},E._updateScale=function(B,P){g(this._axesList,function(z){z.scale.setExtent(Infinity,-Infinity)}),B.eachSeries(function(z){if(L(z)){var M=I(z,B),U=M[0],k=M[1];if(!w(U,P,B)||!w(k,P,B))return;var K=this.getCartesian(U.componentIndex,k.componentIndex),j=z.getData(),V=K.getAxis("x"),W=K.getAxis("y");j.type==="list"&&(H(j,V,z),H(j,W,z))}},this);function H(z,M,U){g(z.mapDimension(M.dim,!0),function(k){M.scale.unionExtentFromData(z,v(z,k))})}},E.getTooltipAxes=function(B){var P=[],H=[];return g(this.getCartesians(),function(z){var M=B!=null&&B!=="auto"?z.getAxis(B):z.getBaseAxis(),U=z.getOtherAxis(M);d(P,M)<0&&P.push(M),d(H,U)<0&&H.push(U)}),{baseAxes:P,otherAxes:H}};function x(B,P){var H=B.getExtent(),z=H[0]+H[1];B.toGlobalCoord=B.dim==="x"?function(M){return M+P}:function(M){return z-M+P},B.toLocalCoord=B.dim==="x"?function(M){return M-P}:function(M){return z-M+P}}var C=["xAxis","yAxis"];function I(B,P){return f(C,function(H){var z=B.getReferringComponents(H)[0];return z})}function L(B){return B.get("coordinateSystem")==="cartesian2d"}b.create=function(B,P){var H=[];return B.eachComponent("grid",function(z,M){var U=new b(z,B,P);U.name="grid_"+M,U.resize(z,P,!0),z.coordinateSystem=U,H.push(U)}),B.eachSeries(function(z){if(!L(z))return;var M=I(z,B),U=M[0],k=M[1],K=U.getCoordSysModel(),j=K.coordinateSystem;z.coordinateSystem=j.getCartesian(U.componentIndex,k.componentIndex)}),H},b.dimensions=b.prototype.dimensions=s.prototype.dimensions,h.register("cartesian2d",b);var F=b;R.exports=F},"X+im":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("KQeH")),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="DownloadOutlined";var c=m.forwardRef(d);N.default=c},"X2/X":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:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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:"plus-square",theme:"outlined"};N.default=y},XAae:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("hwYd"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},XOKv:function(R,N,t){t("OXB0"),t("SA4+")},Xmg4:function(R,N,t){var y=t("bYtY"),p=t("LPTA"),S=p.devicePixelRatio,m=t("K2GJ"),g=t("3C/r");function f(){return!1}function d(n,i,o){var r=y.createCanvas(),l=i.getWidth(),e=i.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=e+"px",r.setAttribute("data-zr-dom-id",n)),r.width=l*o,r.height=e*o,r}var c=function(i,o,r){var l;r=r||S,typeof i=="string"?l=d(i,o,r):y.isObject(i)&&(l=i,i=l.id),this.id=i,this.dom=l;var e=l.style;e&&(l.onselectstart=f,e["-webkit-user-select"]="none",e["user-select"]="none",e["-webkit-touch-callout"]="none",e["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",e.padding=0,e.margin=0,e["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=o,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};c.prototype={constructor:c,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var i=this.dpr;this.domBack=d("back-"+this.id,this.painter,i),this.ctxBack=this.domBack.getContext("2d"),i!==1&&this.ctxBack.scale(i,i)},resize:function(i,o){var r=this.dpr,l=this.dom,e=l.style,s=this.domBack;e&&(e.width=i+"px",e.height=o+"px"),l.width=i*r,l.height=o*r,s&&(s.width=i*r,s.height=o*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(i,o){var r=this.dom,l=this.ctx,e=r.width,s=r.height,o=o||this.clearColor,u=this.motionBlur&&!i,h=this.lastFrameAlpha,A=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,e/A,s/A)),l.clearRect(0,0,e,s),o&&o!=="transparent"){var v;o.colorStops?(v=o.__canvasGradient||m.getGradient(l,o,{x:0,y:0,width:e,height:s}),o.__canvasGradient=v):o.image&&(v=g.prototype.getCanvasPattern.call(o,l)),l.save(),l.fillStyle=v||o,l.fillRect(0,0,e,s),l.restore()}if(u){var w=this.domBack;l.save(),l.globalAlpha=h,l.drawImage(w,0,0,e,s),l.restore()}}};var a=c;R.exports=a},Xnb7:function(R,N,t){var y=t("1RvN"),p=new y(50);function S(d){if(typeof d=="string"){var c=p.get(d);return c&&c.image}else return d}function m(d,c,a,n,i){if(d)if(typeof d=="string"){if(c&&c.__zrImageSrc===d||!a)return c;var o=p.get(d),r={hostEl:a,cb:n,cbPayload:i};return o?(c=o.image,!f(c)&&o.pending.push(r)):(c=new Image,c.onload=c.onerror=g,p.put(d,c.__cachedImgObj={image:c,pending:[r]}),c.src=c.__zrImageSrc=d),c}else return d;else return c}function g(){var d=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var c=0;c<d.pending.length;c++){var a=d.pending[c],n=a.cb;n&&n(this,a.cbPayload),a.hostEl.dirty()}d.pending.length=0}function f(d){return d&&d.width&&d.height}N.findExistImage=S,N.createOrUpdateImage=m,N.isImageReady=f},XpcN:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("oVpE"),f=g.createSymbol,d=t("IwbS"),c=t("eRkO"),a=c.makeBackground,n=t("+TT/"),i=m.curry,o=m.each,r=d.Group,l=S.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new r),this._backgroundEl,this.group.add(this._selectorGroup=new r),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(A,v,w){var b=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!A.get("show",!0))return;var E=A.get("align"),T=A.get("orient");(!E||E==="auto")&&(E=A.get("left")==="right"&&T==="vertical"?"right":"left");var _=A.get("selector",!0),x=A.get("selectorPosition",!0);_&&(!x||x==="auto")&&(x=T==="horizontal"?"end":"start"),this.renderInner(E,A,v,w,_,T,x);var C=A.getBoxLayoutParams(),I={width:w.getWidth(),height:w.getHeight()},L=A.get("padding"),F=n.getLayoutRect(C,I,L),B=this.layoutInner(A,E,F,b,_,x),P=n.getLayoutRect(m.defaults({width:B.width,height:B.height},C),I,L);this.group.attr("position",[P.x-B.x,P.y-B.y]),this.group.add(this._backgroundEl=a(B,A))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(A,v,w,b,E,T,_){var x=this.getContentGroup(),C=m.createHashMap(),I=v.get("selectedMode"),L=[];w.eachRawSeries(function(F){!F.get("legendHoverLink")&&L.push(F.id)}),o(v.getData(),function(F,B){var P=F.get("name");if(!this.newlineDisabled&&(P===""||P===`
|
|
|
`)){x.add(new r({newline:!0}));return}var H=w.getSeriesByName(P)[0];if(C.get(P))return;if(H){var z=H.getData(),M=z.getVisual("color"),U=z.getVisual("borderColor");typeof M=="function"&&(M=M(H.getDataParams(0))),typeof U=="function"&&(U=U(H.getDataParams(0)));var k=z.getVisual("legendSymbol")||"roundRect",K=z.getVisual("symbol"),j=this._createItem(P,B,F,v,k,K,A,M,U,I);j.on("click",i(s,P,null,b,L)).on("mouseover",i(u,H.name,null,b,L)).on("mouseout",i(h,H.name,null,b,L)),C.set(P,!0)}else w.eachRawSeries(function(V){if(C.get(P))return;if(V.legendVisualProvider){var W=V.legendVisualProvider;if(!W.containName(P))return;var X=W.indexOfName(P),J=W.getItemVisual(X,"color"),de=W.getItemVisual(X,"borderColor"),G="roundRect",ae=this._createItem(P,B,F,v,G,null,A,J,de,I);ae.on("click",i(s,null,P,b,L)).on("mouseover",i(u,null,P,b,L)).on("mouseout",i(h,null,P,b,L)),C.set(P,!0)}},this)},this),E&&this._createSelector(E,v,b,T,_)},_createSelector:function(A,v,w,b,E){var T=this.getSelectorGroup();o(A,function(x){_(x)});function _(x){var C=x.type,I=new d.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){w.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(I);var L=v.getModel("selectorLabel"),F=v.getModel("emphasis.selectorLabel");d.setLabelStyle(I.style,I.hoverStyle={},L,F,{defaultText:x.title,isRectText:!1}),d.setHoverStyle(I)}},_createItem:function(A,v,w,b,E,T,_,x,C,I){var L=b.get("itemWidth"),F=b.get("itemHeight"),B=b.get("inactiveColor"),P=b.get("inactiveBorderColor"),H=b.get("symbolKeepAspect"),z=b.getModel("itemStyle"),M=b.isSelected(A),U=new r,k=w.getModel("textStyle"),K=w.get("icon"),j=w.getModel("tooltip"),V=j.parentModel;E=K||E;var W=f(E,0,0,L,F,M?x:B,H==null?!0:H);if(U.add(e(W,E,z,C,P,M)),!K&&T&&(T!==E||T==="none")){var X=F*.8;T==="none"&&(T="circle");var J=f(T,(L-X)/2,(F-X)/2,X,X,M?x:B,H==null?!0:H);U.add(e(J,T,z,C,P,M))}var de=_==="left"?L+5:-5,G=_,ae=b.get("formatter"),Ae=A;typeof ae=="string"&&ae?Ae=ae.replace("{name}",A!=null?A:""):typeof ae=="function"&&(Ae=ae(A)),U.add(new d.Text({style:d.setTextStyle({},k,{text:Ae,x:de,y:F/2,textFill:M?k.getTextColor():B,textAlign:G,textVerticalAlign:"middle"})}));var me=new d.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:j.get("show")?m.extend({content:A,formatter:V.get("formatter",!0)||function(){return A},formatterParams:{componentType:"legend",legendIndex:b.componentIndex,name:A,$vars:["name"]}},j.option):null});return U.add(me),U.eachChild(function(Me){Me.silent=!0}),me.silent=!I,this.getContentGroup().add(U),d.setHoverStyle(U),U.__legendDataIndex=v,U},layoutInner:function(A,v,w,b,E,T){var _=this.getContentGroup(),x=this.getSelectorGroup();n.box(A.get("orient"),_,A.get("itemGap"),w.width,w.height);var C=_.getBoundingRect(),I=[-C.x,-C.y];if(E){n.box("horizontal",x,A.get("selectorItemGap",!0));var L=x.getBoundingRect(),F=[-L.x,-L.y],B=A.get("selectorButtonGap",!0),P=A.getOrient().index,H=P===0?"width":"height",z=P===0?"height":"width",M=P===0?"y":"x";T==="end"?F[P]+=C[H]+B:I[P]+=L[H]+B,F[1-P]+=C[z]/2-L[z]/2,x.attr("position",F),_.attr("position",I);var U={x:0,y:0};return U[H]=C[H]+B+L[H],U[z]=Math.max(C[z],L[z]),U[M]=Math.min(0,L[M]+F[1-P]),U}else return _.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(A,v,w,b,E,T){var _;return v!=="line"&&v.indexOf("empty")<0?(_=w.getItemStyle(),A.style.stroke=b,T||(_.stroke=E)):_=w.getItemStyle(["borderWidth","borderColor"]),A.setStyle(_)}function s(A,v,w,b){h(A,v,w,b),w.dispatchAction({type:"legendToggleSelect",name:A!=null?A:v}),u(A,v,w,b)}function u(A,v,w,b){var E=w.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||w.dispatchAction({type:"highlight",seriesName:A,name:v,excludeSeriesId:b})}function h(A,v,w,b){var E=w.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||w.dispatchAction({type:"downplay",seriesName:A,name:v,excludeSeriesId:b})}R.exports=l},XuBP: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:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};N.default=y},XxSj:function(R,N,t){var y=t("bYtY"),p=t("Qe9p"),S=t("OELB"),m=S.linearMap,g=y.each,f=y.isObject,d=-1,c=function(T){var _=T.mappingMethod,x=T.type,C=this.option=y.clone(T);this.type=x,this.mappingMethod=_,this._normalizeData=w[_];var I=a[x];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[_],_==="piecewise"?(o(C),n(C)):_==="category"?C.categories?i(C):o(C,!0):(y.assert(_!=="linear"||C.dataExtent),o(C))};c.prototype={constructor:c,mapValueToVisual:function(T){var _=this._normalizeData(T);return this._doMap(_,T)},getNormalizer:function(){return y.bind(this._normalizeData,this)}};var a=c.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var T=this.option;return y.bind(T.mappingMethod==="category"?function(_,x){return!x&&(_=this._normalizeData(_)),s.call(this,_)}:function(_,x,C){var I=!!C;return!x&&(_=this._normalizeData(_)),C=p.fastLerp(_,T.parsedVisual,C),I?C:p.stringify(C,"rgba")},this)},_doMap:{linear:function(T){return p.stringify(p.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,_){var x=A.call(this,_);return x==null&&(x=p.stringify(p.fastLerp(T,this.option.parsedVisual),"rgba")),x},fixed:u}},colorHue:r(function(T,_){return p.modifyHSL(T,_)}),colorSaturation:r(function(T,_){return p.modifyHSL(T,null,_)}),colorLightness:r(function(T,_){return p.modifyHSL(T,null,null,_)}),colorAlpha:r(function(T,_){return p.modifyAlpha(T,_)}),opacity:{applyVisual:e("opacity"),_doMap:h([0,1])},liftZ:{applyVisual:e("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(T,_,x){var C=this.mapValueToVisual(T);if(y.isString(C))x("symbol",C);else if(f(C))for(var I in C)C.hasOwnProperty(I)&&x(I,C[I])},_doMap:{linear:l,category:s,piecewise:function(T,_){var x=A.call(this,_);return x==null&&(x=l.call(this,T)),x},fixed:u}},symbolSize:{applyVisual:e("symbolSize"),_doMap:h([0,1])}};function n(T){var _=T.pieceList;T.hasSpecialVisual=!1,y.each(_,function(x,C){x.originIndex=C,x.visual!=null&&(T.hasSpecialVisual=!0)})}function i(T){var _=T.categories,x=T.visual,C=T.categoryMap={};if(g(_,function(F,B){C[F]=B}),!y.isArray(x)){var I=[];y.isObject(x)?g(x,function(F,B){var P=C[B];I[P!=null?P:d]=F}):I[d]=x,x=v(T,I)}for(var L=_.length-1;L>=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;L<F;L++){var B=_[L].value;if(B!=null){if(B===T||typeof B=="string"&&B===T+"")return L;x&&M(B,L)}}for(var L=0,F=_.length;L<F;L++){var P=_[L],H=P.interval,z=P.close;if(H){if(H[0]===-Infinity){if(b(z[1],T,H[1]))return L}else if(H[1]===Infinity){if(b(z[0],H[0],T))return L}else if(b(z[0],H[0],T)&&b(z[1],T,H[1]))return L;x&&M(H[0],L),x&&M(H[1],L)}}if(x)return T===Infinity?_.length-1:T===-Infinity?0:C;function M(U,k){var K=Math.abs(U-T);K<I&&(I=K,C=k)}};function b(T,_,x){return T?_<=x:_<x}var E=c;R.exports=E},XzQk:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("KpQ+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},Y1PL:function(R,N,t){"use strict";t.r(N),t.d(N,"ResizableTextArea",function(){return W});var y=t("wx14"),p=t("1OyB"),S=t("vuIU"),m=t("Ji7U"),g=t("LK+K"),f=t("q1tI"),d=t("VTBJ"),c=t("rePB"),a=t("Zm9Q"),n=t("Kwbf"),i=t("c+Xe"),o=t("m+aA"),r=t("bdgK"),l=new Map;function e(de){de.forEach(function(G){var ae,Ae=G.target;(ae=l.get(Ae))===null||ae===void 0||ae.forEach(function(me){return me(Ae)})})}var s=new r.default(e),u=null,h=null;function A(de,G){l.has(de)||(l.set(de,new Set),s.observe(de)),l.get(de).add(G)}function v(de,G){l.has(de)&&(l.get(de).delete(G),l.get(de).size||(s.unobserve(de),l.delete(de)))}var w=function(de){Object(m.a)(ae,de);var G=Object(g.a)(ae);function ae(){return Object(p.a)(this,ae),G.apply(this,arguments)}return Object(S.a)(ae,[{key:"render",value:function(){return this.props.children}}]),ae}(f.Component),b=f.createContext(null);function E(de){var G=de.children,ae=de.onBatchResize,Ae=f.useRef(0),me=f.useRef([]),Me=f.useContext(b),oe=f.useCallback(function(_e,ee,ne){Ae.current+=1;var Ge=Ae.current;me.current.push({size:_e,element:ee,data:ne}),Promise.resolve().then(function(){Ge===Ae.current&&(ae==null||ae(me.current),me.current=[])}),Me==null||Me(_e,ee,ne)},[ae,Me]);return f.createElement(b.Provider,{value:oe},G)}function T(de){var G=de.children,ae=de.disabled,Ae=f.useRef(null),me=f.useRef(null),Me=f.useContext(b),oe=typeof G=="function",_e=oe?G(Ae):G,ee=f.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ne=!oe&&f.isValidElement(_e)&&Object(i.c)(_e),Ge=ne?_e.ref:null,Ee=f.useMemo(function(){return Object(i.a)(Ge,Ae)},[Ge,Ae]),ue=f.useRef(de);ue.current=de;var re=f.useCallback(function(ce){var ke=ue.current,Te=ke.onResize,Ke=ke.data,Ie=ce.getBoundingClientRect(),se=Ie.width,ye=Ie.height,xe=ce.offsetWidth,Ye=ce.offsetHeight,pt=Math.floor(se),nt=Math.floor(ye);if(ee.current.width!==pt||ee.current.height!==nt||ee.current.offsetWidth!==xe||ee.current.offsetHeight!==Ye){var Oe={width:pt,height:nt,offsetWidth:xe,offsetHeight:Ye};ee.current=Oe;var vt=xe===Math.round(se)?se:xe,Ze=Ye===Math.round(ye)?ye:Ye,wt=Object(d.a)(Object(d.a)({},Oe),{},{offsetWidth:vt,offsetHeight:Ze});Me==null||Me(wt,ce,Ke),Te&&Promise.resolve().then(function(){Te(wt,ce)})}},[]);return f.useEffect(function(){var ce=Object(o.a)(Ae.current)||Object(o.a)(me.current);return ce&&!ae&&A(ce,re),function(){return v(ce,re)}},[Ae.current,ae]),f.createElement(w,{ref:me},ne?f.cloneElement(_e,{ref:Ee}):_e)}var _="rc-observer-key";function x(de){var G=de.children,ae=typeof G=="function"?[G]:Object(a.a)(G);return ae.map(function(Ae,me){var Me=(Ae==null?void 0:Ae.key)||"".concat(_,"-").concat(me);return f.createElement(T,Object(y.a)({},de,{key:Me}),Ae)})}x.Collection=E;var C=x,I=t("bT9E"),L=t("TSYQ"),F=t.n(L),B=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important
|
|
|
`,P=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],H={},z;function M(de){var G=arguments.length>1&&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;d<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){y(this,g),this._listeners=new Map}return S(g,[{key:"addEventListener",value:function(d,c){this._listeners.has(d)||this._listeners.set(d,new Set),this._listeners.get(d).add(c)}},{key:"removeEventListener",value:function(d,c){this._listeners.has(d)&&this._listeners.get(d).delete(c)}},{key:"dispatchEvent",value:function(d){var c=this;return this._listeners.has(d.type)?(this._listeners.get(d.type).forEach(function(a){return a.call(c,d)}),!d.defaultPrevented):!0}}]),g}();N.default=m},YJCA:function(R,N,t){"use strict";t.d(N,"a",function(){return ce}),t.d(N,"b",function(){return Ke});var y=t("wx14"),p=t("ODXe"),S=t("vpQ4"),m=t("1OyB"),g=t("vuIU"),f=t("md7G"),d=t("foSv"),c=t("Ji7U"),a=t("JX7q"),n=t("rePB"),i=t("q1tI"),o=t.n(i),r=t("17x9"),l=t.n(r),e=t("i8i4"),s=t.n(e),u=t("QLaP"),h=t.n(u),A=t("KQm4"),v=function(){function Ie(){Object(m.a)(this,Ie),Object(n.a)(this,"refs",{})}return Object(g.a)(Ie,[{key:"add",value:function(ye,xe){this.refs[ye]||(this.refs[ye]=[]),this.refs[ye].push(xe)}},{key:"remove",value:function(ye,xe){var Ye=this.getIndex(ye,xe);Ye!==-1&&this.refs[ye].splice(Ye,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ye=this;return this.refs[this.active.collection].find(function(xe){var Ye=xe.node;return Ye.sortableInfo.index==ye.active.index})}},{key:"getIndex",value:function(ye,xe){return this.refs[ye].indexOf(xe)}},{key:"getOrderedRefs",value:function(){var ye=arguments.length>0&&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 Ie<ye&&Ie>se?Ie-1:Ie>ye&&Ie<se?Ie+1:Ie}function j(Ie){var se=Ie.lockOffset,ye=Ie.width,xe=Ie.height,Ye=se,pt=se,nt="px";if(typeof se=="string"){var Oe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(se);h()(Oe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',se),Ye=parseFloat(se),pt=parseFloat(se),nt=Oe[1]}return h()(isFinite(Ye)&&isFinite(pt),"lockOffset value should be a finite. Given %s",se),nt==="%"&&(Ye=Ye*ye/100,pt=pt*xe/100),{x:Ye,y:pt}}function V(Ie){var se=Ie.height,ye=Ie.width,xe=Ie.lockOffset,Ye=Array.isArray(xe)?xe:[xe,xe];h()(Ye.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",xe);var pt=Object(p.a)(Ye,2),nt=pt[0],Oe=pt[1];return[j({height:se,lockOffset:nt,width:ye}),j({height:se,lockOffset:Oe,width:ye})]}function W(Ie){var se=window.getComputedStyle(Ie),ye=/(auto|scroll)/,xe=["overflow","overflowX","overflowY"];return xe.find(function(Ye){return ye.test(se[Ye])})}function X(Ie){return Ie instanceof HTMLElement?W(Ie)?Ie:X(Ie.parentNode):null}function J(Ie){var se=window.getComputedStyle(Ie);return se.display==="grid"?{x:B(se.gridColumnGap),y:B(se.gridRowGap)}:{x:0,y:0}}var de={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},G={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ae(Ie){var se="input, textarea, select, canvas, [contenteditable]",ye=Ie.querySelectorAll(se),xe=Ie.cloneNode(!0),Ye=Object(A.a)(xe.querySelectorAll(se));return Ye.forEach(function(pt,nt){if(pt.type!=="file"&&(pt.value=ye[nt].value),pt.type==="radio"&&pt.name&&(pt.name="__sortableClone__".concat(pt.name)),pt.tagName===G.Canvas&&ye[nt].width>0&&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 ot=qe?{top:0,left:0,width:Oe.contentWindow.innerWidth,height:Oe.contentWindow.innerHeight}:Oe.containerBoundingRect,Xe=ot.top,$t=ot.left,Sr=ot.width,vr=ot.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 Wt=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(Wt&&Wt.then)return Wt.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;pe<q;pe++){var bt=$e[pe],qe=bt.node;bt.edgeOffset=null,bt.boundingClientRect=null,C(qe,null),I(qe,null),bt.translate=null}Oe.autoScroller.clear(),Oe.manager.active=null,Oe.manager.isKeySorting=!1,Oe.setState({sorting:!1,sortingIndex:null}),typeof xt=="function"&&xt({collection:Mt,newIndex:Oe.newIndex,oldIndex:Oe.index,isKeySorting:Gt,nodes:$e},vt),Oe.touched=!1}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"autoscroll",function(){var vt=Oe.props.disableAutoscroll,Ze=Oe.manager.isKeySorting;if(vt){Oe.autoScroller.clear();return}if(Ze){var wt=Object(S.a)({},Oe.translate),xt=0,Ot=0;Oe.axis.x&&(wt.x=Math.min(Oe.maxTranslate.x,Math.max(Oe.minTranslate.x,Oe.translate.x)),xt=Oe.translate.x-wt.x),Oe.axis.y&&(wt.y=Math.min(Oe.maxTranslate.y,Math.max(Oe.minTranslate.y,Oe.translate.y)),Ot=Oe.translate.y-wt.y),Oe.translate=wt,C(Oe.helper,Oe.translate),Oe.scrollContainer.scrollLeft+=xt,Oe.scrollContainer.scrollTop+=Ot;return}Oe.autoScroller.update({height:Oe.height,maxTranslate:Oe.maxTranslate,minTranslate:Oe.minTranslate,translate:Oe.translate,width:Oe.width})}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"onAutoScroll",function(vt){Oe.translate.x+=vt.left,Oe.translate.y+=vt.top,Oe.animateNodes()}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleKeyDown",function(vt){var Ze=vt.keyCode,wt=Oe.props,xt=wt.shouldCancelStart,Ot=wt.keyCodes,Mt=Ot===void 0?{}:Ot,Gt=Object(S.a)({},ne,Mt);if(Oe.manager.active&&!Oe.manager.isKeySorting||!Oe.manager.active&&(!Gt.lift.includes(Ze)||xt(vt)||!Oe.isValidSortingTarget(vt)))return;vt.stopPropagation(),vt.preventDefault(),Gt.lift.includes(Ze)&&!Oe.manager.active?Oe.keyLift(vt):Gt.drop.includes(Ze)&&Oe.manager.active?Oe.keyDrop(vt):Gt.cancel.includes(Ze)?(Oe.newIndex=Oe.manager.active.index,Oe.keyDrop(vt)):Gt.up.includes(Ze)?Oe.keyMove(-1):Gt.down.includes(Ze)&&Oe.keyMove(1)}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"keyLift",function(vt){var Ze=vt.target,wt=L(Ze,function(Gt){return Gt.sortableInfo!=null}),xt=wt.sortableInfo,Ot=xt.index,Mt=xt.collection;Oe.initialFocusedNode=Ze,Oe.manager.isKeySorting=!0,Oe.manager.active={index:Ot,collection:Mt},Oe.handlePress(vt)}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"keyMove",function(vt){var Ze=Oe.manager.getOrderedRefs(),wt=Ze[Ze.length-1].node.sortableInfo.index,xt=Oe.newIndex+vt,Ot=Oe.newIndex;if(xt<0||xt>wt)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=Ot<xt,Nt={x:le&&Oe.axis.x?$e.offsetWidth-Oe.width:0,y:le&&Oe.axis.y?$e.offsetHeight-Oe.height:0};Oe.handleSortMove({pageX:qe.left+Nt.x,pageY:qe.top+Nt.y,ignoreTransition:vt===0})}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"keyDrop",function(vt){Oe.handleSortEnd(vt),Oe.initialFocusedNode&&Oe.initialFocusedNode.focus()}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleKeyEnd",function(vt){Oe.manager.active&&Oe.keyDrop(vt)}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"isValidSortingTarget",function(vt){var Ze=Oe.props.useDragHandle,wt=vt.target,xt=L(wt,function(Ot){return Ot.sortableInfo!=null});return xt&&xt.sortableInfo&&!xt.sortableInfo.disabled&&(Ze?me(wt):wt.sortableInfo)}),ue(nt),Oe.manager=new v,Oe.events={end:Oe.handleEnd,move:Oe.handleMove,start:Oe.handleStart},Oe}return Object(g.a)(pt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Oe=this,vt=this.props.useWindowAsScrollContainer,Ze=this.getContainer();Promise.resolve(Ze).then(function(wt){Oe.container=wt,Oe.document=Oe.container.ownerDocument||document;var xt=Oe.props.contentWindow||Oe.document.defaultView||window;Oe.contentWindow=typeof xt=="function"?xt():xt,Oe.scrollContainer=vt?Oe.document.scrollingElement||Oe.document.documentElement:X(Oe.container)||Oe.container,Oe.autoScroller=new Me(Oe.scrollContainer,Oe.onAutoScroll),Object.keys(Oe.events).forEach(function(Ot){return T[Ot].forEach(function(Mt){return Oe.container.addEventListener(Mt,Oe.events[Ot],!1)})}),Oe.container.addEventListener("keydown",Oe.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Oe=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(vt){return T[vt].forEach(function(Ze){return Oe.container.removeEventListener(Ze,Oe.events[vt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Oe){var vt=this.props,Ze=vt.lockAxis,wt=vt.lockOffset,xt=vt.lockToContainerEdges,Ot=vt.transitionDuration,Mt=vt.keyboardSortingTransitionDuration,Gt=Mt===void 0?Ot:Mt,$e=this.manager.isKeySorting,pe=Oe.ignoreTransition,q=M(Oe),bt={x:q.x-this.initialOffset.x,y:q.y-this.initialOffset.y};if(bt.y-=window.pageYOffset-this.initialWindowScroll.top,bt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=bt,xt){var qe=V({height:this.height,lockOffset:wt,width:this.width}),le=Object(p.a)(qe,2),Nt=le[0],tr=le[1],lt={x:this.width/2-Nt.x,y:this.height/2-Nt.y},Wt={x:this.width/2-tr.x,y:this.height/2-tr.y};bt.x=F(this.minTranslate.x+lt.x,this.maxTranslate.x-Wt.x,bt.x),bt.y=F(this.minTranslate.y+lt.y,this.maxTranslate.y-Wt.y,bt.y)}Ze==="x"?bt.y=0:Ze==="y"&&(bt.x=0),$e&&Gt&&!pe&&I(this.helper,Gt),C(this.helper,bt)}},{key:"animateNodes",value:function(){var Oe=this.props,vt=Oe.transitionDuration,Ze=Oe.hideSortableGhost,wt=Oe.onSortOver,xt=this.containerScrollDelta,Ot=this.windowScrollDelta,Mt=this.manager.getOrderedRefs(),Gt={left:this.offsetEdge.left+this.translate.x+xt.left,top:this.offsetEdge.top+this.translate.y+xt.top},$e=this.manager.isKeySorting,pe=this.newIndex;this.newIndex=null;for(var q=0,bt=Mt.length;q<bt;q++){var qe=Mt[q].node,le=qe.sortableInfo.index,Nt=qe.offsetWidth,tr=qe.offsetHeight,lt={height:this.height>tr?tr/2:this.height/2,width:this.width>Nt?Nt/2:this.width/2},Wt=$e&&le>this.index&&le<=pe,cr=$e&&le<this.index&&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=q<Mt.length-1&&Mt[q+1],Lt=q>0&&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||le<this.index&&(Gt.left+Ot.left-lt.width<=ur.left&&Gt.top+Ot.top<=ur.top+lt.height||Gt.top+Ot.top+lt.height<=ur.top)?(Vr.x=this.width+this.marginOffset.x,ur.left+Vr.x>this.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)):(Wt||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.x<this.containerBoundingRect.left+lt.width&&(Lt&&(Vr.x=Lt.edgeOffset.left-ur.left,Vr.y=Lt.edgeOffset.top-ur.top)),this.newIndex=le):Wt||le>this.index&&Gt.left+Ot.left+lt.width>=ur.left?(Vr.x=-(this.width+this.marginOffset.x),this.newIndex=le):(cr||le<this.index&&Gt.left+Ot.left<=ur.left+lt.width)&&(Vr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=le)):this.axis.y&&(Wt||le>this.index&&Gt.top+Ot.top+lt.height>=ur.top?(Vr.y=-(this.height+this.marginOffset.y),this.newIndex=le):(cr||le<this.index&&Gt.top+Ot.top<=ur.top+lt.height)&&(Vr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=le))),C(qe,Vr),Mt[q].translate=Vr}this.newIndex==null&&(this.newIndex=this.index),$e&&(this.newIndex=pe);var ot=$e?this.prevIndex:pe;wt&&this.newIndex!==ot&&wt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ot,isKeySorting:$e,nodes:Mt,helper:this.helper})}},{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 SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Oe=this.props.getContainer;return typeof Oe!="function"?Object(e.findDOMNode)(this):Oe(xe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(Ie,Object(y.a)({ref:Oe},E(this.props,Ee)))}},{key:"helperContainer",get:function(){var Oe=this.props.helperContainer;return typeof Oe=="function"?Oe():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Oe=this.props.useWindowAsScrollContainer;return Oe?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),pt}(i.Component),Object(n.a)(se,"displayName",H("sortableList",Ie)),Object(n.a)(se,"defaultProps",Ge),Object(n.a)(se,"propTypes",ee),Object(n.a)(se,"childContextTypes",{manager:l.a.object.isRequired}),ye}var ke={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},Te=Object.keys(ke);function Ke(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(){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;A<o.end;A++){var v=d(e,this._dataGroup,A,u,s);v.incremental=!0,a(v,e,A,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function g(o,r,l){var e=o.model,s=o.getRect(),u=new y.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),h=e.get("layout")==="horizontal"?"width":"height";return u.setShape(h,0),y.initProps(u,{shape:{width:s.width,height:s.height}},r,l),u}function f(o,r,l,e){for(var s=[],u=0;u<l.length;u++){var h=l[u],A=o.get(o.mapDimension(h),r);n(A,e.getAxis(h).type)||s.push(e.dataToPoint(A,h))}return s}function d(o,r,l,e,s){var u=f(o,l,e,s),h=new y.Polyline({shape:{points:u},silent:!0,z2:10});return r.add(h),o.setItemGraphicEl(l,h),h}function c(o){var r=o.get("smooth",!0);return r===!0&&(r=S),{lineStyle:o.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:S}}function a(o,r,l,e){var s=e.lineStyle;if(r.hasItemOption){var u=r.getItemModel(l).getModel("lineStyle");s=u.getLineStyle()}o.useStyle(s);var h=o.style;h.fill=null,h.stroke=r.getItemVisual(l,"color"),h.opacity=r.getItemVisual(l,"opacity"),e.smooth&&(o.shape.smooth=e.smooth)}function n(o,r){return r==="category"?o==null:o==null||isNaN(o)}var i=m;R.exports=i},YOMW:function(R,N,t){var y=t("bYtY"),p={get:function(g,f,d){var c=y.clone((S[g]||{})[f]);return d&&y.isArray(c)?c[c.length-1]:c}},S={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=p;R.exports=m},YXkt:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("Qxkt"),g=t("gPAo"),f=t("7G+c"),d=t("KxfA"),c=d.defaultDimValueGetters,a=d.DefaultDataProvider,n=t("L0Ub"),i=n.summarizeDimensions,o=t("Vi4m"),r=S.isObject,l="undefined",e=-1,s="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===l?Array:Uint32Array,A=typeof Int32Array===l?Array:Int32Array,v=typeof Uint16Array===l?Array:Uint16Array;function w(W){return W._rawCount>65535?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;ae<W.length;ae++){var Ae=W[ae];S.isString(Ae)?Ae=new o({name:Ae}):Ae instanceof o||(Ae=new o(Ae));var me=Ae.name;Ae.type=Ae.type||"float",Ae.coordDim||(Ae.coordDim=me,Ae.coordDimIndex=0),Ae.otherDims=Ae.otherDims||{},de.push(me),J[me]=Ae,Ae.index=ae,Ae.createInvertedIndices&&(G[me]=[])}this.dimensions=de,this._dimensionInfos=J,this.hostModel=X,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=i(this),this._invertedIndicesMap=G,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=x.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(W){return(typeof W=="number"||!isNaN(W)&&!this._dimensionInfos.hasOwnProperty(W))&&(W=this.dimensions[W]),W},C.getDimensionInfo=function(W){return this._dimensionInfos[this.getDimension(W)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(W,X){var J=this._dimensionsSummary;if(X==null)return J.encodeFirstDimNotExtra[W];var de=J.encode[W];return X===!0?(de||[]).slice():de&&de[X]},C.initData=function(W,X,J){var de=f.isInstance(W)||S.isArrayLike(W);de&&(W=new a(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=X||[],this._idList=[],this._nameRepeatCount={},J||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=J=J||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(W){var X=this._rawData,J=this.count();X.appendData(W);var de=X.count();X.persistent||(de+=J),this._initDataFromProvider(J,de)},C.appendValues=function(W,X){for(var J=this._chunkSize,de=this._storage,G=this.dimensions,ae=G.length,Ae=this._rawExtent,me=this.count(),Me=me+Math.max(W.length,X?X.length:0),oe=this._chunkCount,_e=0;_e<ae;_e++){var ee=G[_e];Ae[ee]||(Ae[ee]=K()),de[ee]||(de[ee]=[]),I(de,this._dimensionInfos[ee],J,oe,Me),this._chunkCount=de[ee].length}for(var ne=new Array(ae),Ge=me;Ge<Me;Ge++){for(var Ee=Ge-me,ue=Math.floor(Ge/J),re=Ge%J,ce=0;ce<ae;ce++){var ee=G[ce],ke=this._dimValueGetterArrayRows(W[Ee]||ne,ee,Ee,ce);de[ee][ue][re]=ke;var Te=Ae[ee];ke<Te[0]&&(Te[0]=ke),ke>Te[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;Ee<Ae;Ee++){var ue=ae[Ee];_e[ue]||(_e[ue]=K());var re=me[ue];re.otherDims.itemName===0&&(ne=this._nameDimIdx=Ee),re.otherDims.itemId===0&&(this._idDimIdx=Ee),G[ue]||(G[ue]=[]),I(G,re,J,Ge,X),this._chunkCount=G[ue].length}for(var ce=new Array(Ae),ke=W;ke<X;ke++){ce=de.getItem(ke,ce);for(var Te=Math.floor(ke/J),Ke=ke%J,Ie=0;Ie<Ae;Ie++){var ue=ae[Ie],se=G[ue][Te],ye=this._dimValueGetter(ce,ue,ke,Ie);se[Ke]=ye;var xe=_e[ue];ye<xe[0]&&(xe[0]=ye),ye>xe[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<J){for(var oe=new ae(Math.min(G-Ae*J,J)),_e=0;_e<Me.length;_e++)oe[_e]=Me[_e];W[me][Ae]=oe}for(var ee=de*J;ee<G;ee+=J)W[me].push(new ae(Math.min(G-ee,J)))}function L(W){var X=W._invertedIndicesMap;S.each(X,function(J,de){var G=W._dimensionInfos[de],ae=G.ordinalMeta;if(ae){J=X[de]=new A(ae.categories.length);for(var Ae=0;Ae<J.length;Ae++)J[Ae]=e;for(var Ae=0;Ae<W._count;Ae++)J[W.get(de,Ae)]=Ae}})}function F(W,X,J){var de;if(X!=null){var G=W._chunkSize,ae=Math.floor(J/G),Ae=J%G,me=W.dimensions[X],Me=W._storage[me][ae];if(Me){de=Me[Ae];var oe=W._dimensionInfos[me].ordinalMeta;oe&&oe.categories.length&&(de=oe.categories[de])}}return de}C.count=function(){return this._count},C.getIndices=function(){var W,X=this._indices;if(X){var J=X.constructor,de=this._count;if(J===Array){W=new J(de);for(var G=0;G<de;G++)W[G]=X[G]}else W=new J(X.buffer,0,de)}else for(var J=w(this),W=new J(this.count()),G=0;G<W.length;G++)W[G]=G;return W},C.get=function(W,X){if(!(X>=0&&X<this._count))return NaN;var J=this._storage;if(!J[W])return NaN;X=this.getRawIndex(X);var de=Math.floor(X/this._chunkSize),G=X%this._chunkSize,ae=J[W][de],Ae=ae[G];return Ae},C.getByRawIndex=function(W,X){if(!(X>=0&&X<this._rawCount))return NaN;var J=this._storage[W];if(!J)return NaN;var de=Math.floor(X/this._chunkSize),G=X%this._chunkSize,ae=J[de];return ae[G]},C._getFast=function(W,X){var J=Math.floor(X/this._chunkSize),de=X%this._chunkSize,G=this._storage[W][J];return G[de]},C.getValues=function(W,X){var J=[];S.isArray(W)||(X=W,W=this.dimensions);for(var de=0,G=W.length;de<G;de++)J.push(this.get(W[de],X));return J},C.hasValue=function(W){for(var X=this._dimensionsSummary.dataDimsOnCoord,J=0,de=X.length;J<de;J++)if(isNaN(this.get(X[J],W)))return!1;return!0},C.getDataExtent=function(W){W=this.getDimension(W);var X=this._storage[W],J=K();if(!X)return J;var de=this.count(),G=!this._indices,ae;if(G)return this._rawExtent[W].slice();if(ae=this._extent[W],ae)return ae.slice();ae=J;for(var Ae=ae[0],me=ae[1],Me=0;Me<de;Me++){var oe=this._getFast(W,this.getRawIndex(Me));oe<Ae&&(Ae=oe),oe>me&&(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<G;de++){var ae=this.get(W,de);isNaN(ae)||(J+=ae)}return J},C.getMedian=function(W){var X=[];this.each(W,function(G,ae){isNaN(G)||X.push(G)});var J=[].concat(X).sort(function(G,ae){return G-ae}),de=this.count();return de===0?0:de%2===1?J[(de-1)/2]:(J[de/2]+J[de/2-1])/2},C.rawIndexOf=function(W,X){var J=W&&this._invertedIndicesMap[W],de=J[X];return de==null||isNaN(de)?e:de},C.indexOfName=function(W){for(var X=0,J=this.count();X<J;X++)if(this.getName(X)===W)return X;return-1},C.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var X=this._indices,J=X[W];if(J!=null&&J<this._count&&J===W)return W;for(var de=0,G=this._count-1;de<=G;){var ae=(de+G)/2|0;if(X[ae]<W)de=ae+1;else if(X[ae]>W)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<Ae||ne===Ae&&ee>=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<this._count&&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<this.dimensions.length;J++){var de=this.dimensions[J];X.push(this.get(de,W))}return X},C.getName=function(W){var X=this.getRawIndex(W);return this._nameList[X]||F(this,this._nameDimIdx,X)||""},C.getId=function(W){return H(this,this.getRawIndex(W))};function H(W,X){var J=W._idList[X];return J==null&&(J=F(W,W._idDimIdx,X)),J==null&&(J=s+X),J}function z(W){return S.isArray(W)||(W=[W]),W}function M(W,X){for(var J=0;J<X.length;J++)W._dimensionInfos[X[J]]||console.error("Unkown dimension "+X[J])}C.each=function(W,X,J,de){"use strict";if(!this._count)return;typeof W=="function"&&(de=J,J=X,X=W,W=[]),J=J||de||this,W=S.map(z(W),this.getDimension,this);for(var G=W.length,ae=0;ae<this.count();ae++)switch(G){case 0:X.call(J,ae);break;case 1:X.call(J,this.get(W[0],ae),ae);break;case 2:X.call(J,this.get(W[0],ae),this.get(W[1],ae),ae);break;default:for(var Ae=0,me=[];Ae<G;Ae++)me[Ae]=this.get(W[Ae],ae);me[Ae]=ae,X.apply(J,me)}},C.filterSelf=function(W,X,J,de){"use strict";if(!this._count)return;typeof W=="function"&&(de=J,J=X,X=W,W=[]),J=J||de||this,W=S.map(z(W),this.getDimension,this);for(var G=this.count(),ae=w(this),Ae=new ae(G),me=[],Me=W.length,oe=0,_e=W[0],ee=0;ee<G;ee++){var ne,Ge=this.getRawIndex(ee);if(Me===0)ne=X.call(J,ee);else if(Me===1){var Ee=this._getFast(_e,Ge);ne=X.call(J,Ee,ee)}else{for(var ue=0;ue<Me;ue++)me[ue]=this._getFast(_e,Ge);me[ue]=ee,ne=X.apply(J,me)}ne&&(Ae[oe++]=Ge)}return oe<G&&(this._indices=Ae),this._count=oe,this._extent={},this.getRawIndex=this._indices?P:B,this},C.selectRange=function(W){"use strict";if(!this._count)return;var X=[];for(var J in W)W.hasOwnProperty(J)&&X.push(J);var de=X.length;if(!de)return;var G=this.count(),ae=w(this),Ae=new ae(G),me=0,Me=X[0],oe=W[Me][0],_e=W[Me][1],ee=!1;if(!this._indices){var ne=0;if(de===1){for(var Ge=this._storage[X[0]],Ee=0;Ee<this._chunkCount;Ee++)for(var ue=Ge[Ee],re=Math.min(this._count-Ee*this._chunkSize,this._chunkSize),ce=0;ce<re;ce++){var ke=ue[ce];(ke>=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<this._chunkCount;Ee++)for(var ue=Ge[Ee],se=Te[Ee],re=Math.min(this._count-Ee*this._chunkSize,this._chunkSize),ce=0;ce<re;ce++){var ke=ue[ce],ye=se[ce];(ke>=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<G;ce++){var xe=this.getRawIndex(ce),ke=this._getFast(Me,xe);(ke>=oe&&ke<=_e||isNaN(ke))&&(Ae[me++]=xe)}else for(var ce=0;ce<G;ce++){for(var Ye=!0,xe=this.getRawIndex(ce),Ee=0;Ee<de;Ee++){var pt=X[Ee],ke=this._getFast(J,xe);(ke<W[pt][0]||ke>W[pt][1])&&(Ye=!1)}Ye&&(Ae[me++]=this.getRawIndex(ce))}return me<G&&(this._indices=Ae),this._count=me,this._extent={},this.getRawIndex=this._indices?P:B,this},C.mapArray=function(W,X,J,de){"use strict";typeof W=="function"&&(de=J,J=X,X=W,W=[]),J=J||de||this;var G=[];return this.each(W,function(){G.push(X&&X.apply(this,arguments))},J),G};function U(W,X){var J=W.dimensions,de=new x(S.map(J,W.getDimensionInfo,W),W.hostModel);_(de,W);for(var G=de._storage={},ae=W._storage,Ae=0;Ae<J.length;Ae++){var me=J[Ae];ae[me]&&(S.indexOf(X,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;J<W.length;J++)X[J]=b(W[J]);return X}function K(){return[Infinity,-Infinity]}C.map=function(W,X,J,de){"use strict";J=J||de||this,W=S.map(z(W),this.getDimension,this);var G=U(this,W);G._indices=this._indices,G.getRawIndex=G._indices?P:B;for(var ae=G._storage,Ae=[],me=this._chunkSize,Me=W.length,oe=this.count(),_e=[],ee=G._rawExtent,ne=0;ne<oe;ne++){for(var Ge=0;Ge<Me;Ge++)_e[Ge]=this.get(W[Ge],ne);_e[Me]=ne;var Ee=X&&X.apply(J,_e);if(Ee!=null){typeof Ee!="object"&&(Ae[0]=Ee,Ee=Ae);for(var ue=this.getRawIndex(ne),re=Math.floor(ue/me),ce=ue%me,ke=0;ke<Ee.length;ke++){var Te=W[ke],Ke=Ee[ke],Ie=ee[Te],se=ae[Te];se&&(se[re][ce]=Ke),Ke<Ie[0]&&(Ie[0]=Ke),Ke>Ie[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;Ee<oe;Ee+=me){me>oe-Ee&&(me=oe-Ee,Ae.length=me);for(var ue=0;ue<me;ue++){var re=this.getRawIndex(Ee+ue),ce=Math.floor(re/_e),ke=re%_e;Ae[ue]=Me[ce][ke]}var Te=J(Ae),Ke=this.getRawIndex(Math.min(Ee+de(Ae,Te)||0,oe-1)),Ie=Math.floor(Ke/_e),se=Ke%_e;Me[Ie][se]=Te,Te<ee[0]&&(ee[0]=Te),Te>ee[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;n<d;n++)a+=p(g[n-1],g[n]);var i=a/2;i=i<d?d:i;for(var n=0;n<i;n++){var o=n/(i-1)*(f?d:d-1),r=Math.floor(o),l=o-r,e,s=g[r%d],u,h;f?(e=g[(r-1+d)%d],u=g[(r+1)%d],h=g[(r+2)%d]):(e=g[r===0?r:r-1],u=g[r>d-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;i<p.length;i++)if(!p[i].isSelected(n))return!1}return!0})},this)}R.exports=t},Z1wy:function(R,N,t){var y=t("ProS");t("ThAp"),t("pmaE"),t("SehX"),t("7uqq");var p=t("zuHt"),S=t("VPsl"),m=t("9u0u"),g=t("lELe"),f=t("d4KN");y.registerLayout(p),y.registerVisual(S),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,m),y.registerPreprocessor(g),f("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(R,N,t){var y=t("MwEJ"),p=t("T4UG"),S=p.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,g){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});R.exports=S},Z6rY:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},p=y;N.default=p},Z8zF:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("IwbS"),f=t("56rv"),d=f.setLabel,c=t("Qxkt"),a=t("tceW"),n=t("y+Vt"),i=t("4fz+"),o=t("iLNv"),r=o.throttle,l=t("sK/D"),e=l.createClipPath,s=t("wr5s"),u=["itemStyle","barBorderWidth"],h=[0,0];m.extend(c.prototype,a);function A(j,V){var W=j.getArea&&j.getArea();if(j.type==="cartesian2d"){var X=j.getBaseAxis();if(X.type!=="category"||!X.onBand){var J=V.getLayout("bandWidth");X.isHorizontal()?(W.x-=J,W.width+=J*2):(W.y-=J,W.height+=J*2)}}return W}var v=S.extendChartView({type:"bar",render:function(j,V,W){this._updateDrawMode(j);var X=j.get("coordinateSystem");return(X==="cartesian2d"||X==="polar")&&(this._isLargeDraw?this._renderLarge(j,V,W):this._renderNormal(j,V,W)),this.group},incrementalPrepareRender:function(j,V,W){this._clear(),this._updateDrawMode(j)},incrementalRender:function(j,V,W,X){this._incrementalRenderLarge(j,V)},_updateDrawMode:function(j){var V=j.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(j,V,W){var X=this.group,J=j.getData(),de=this._data,G=j.coordinateSystem,ae=G.getBaseAxis(),Ae;G.type==="cartesian2d"?Ae=ae.isHorizontal():G.type==="polar"&&(Ae=ae.dim==="angle");var me=j.isAnimationEnabled()?j:null,Me=j.get("clip",!0),oe=A(G,J);X.removeClipPath();var _e=j.get("roundCap",!0),ee=j.get("showBackground",!0),ne=j.getModel("backgroundStyle"),Ge=ne.get("barBorderRadius")||0,Ee=[],ue=this._backgroundEls||[];J.diff(de).add(function(ke){var Te=J.getItemModel(ke),Ke=C[G.type](J,ke,Te);if(ee){var Ie=C[G.type](J,ke),se=K(G,Ae,Ie);se.useStyle(ne.getBarItemStyle()),G.type==="cartesian2d"&&se.setShape("r",Ge),Ee[ke]=se}if(!J.hasValue(ke))return;if(Me){var ye=E[G.type](oe,Ke);if(ye){X.remove(xe);return}}var xe=T[G.type](ke,Ke,Ae,me,!1,_e);J.setItemGraphicEl(ke,xe),X.add(xe),L(xe,J,ke,Te,Ke,j,Ae,G.type==="polar")}).update(function(ke,Te){var Ke=J.getItemModel(ke),Ie=C[G.type](J,ke,Ke);if(ee){var se=ue[Te];se.useStyle(ne.getBarItemStyle()),G.type==="cartesian2d"&&se.setShape("r",Ge),Ee[ke]=se;var ye=C[G.type](J,ke),xe=k(Ae,ye,G);g.updateProps(se,{shape:xe},me,ke)}var Ye=de.getItemGraphicEl(Te);if(!J.hasValue(ke)){X.remove(Ye);return}if(Me){var pt=E[G.type](oe,Ie);if(pt){X.remove(Ye);return}}Ye?g.updateProps(Ye,{shape:Ie},me,ke):Ye=T[G.type](ke,Ie,Ae,me,!0,_e),J.setItemGraphicEl(ke,Ye),X.add(Ye),L(Ye,J,ke,Ke,Ie,j,Ae,G.type==="polar")}).remove(function(ke){var Te=de.getItemGraphicEl(ke);G.type==="cartesian2d"?Te&&_(ke,me,Te):Te&&x(ke,me,Te)}).execute();var re=this._backgroundGroup||(this._backgroundGroup=new i);re.removeAll();for(var ce=0;ce<Ee.length;++ce)re.add(Ee[ce]);X.add(re),this._backgroundEls=Ee,this._data=J},_renderLarge:function(j,V,W){this._clear(),P(j,this.group);var X=j.get("clip",!0)?e(j.coordinateSystem,!1,j):null;X?this.group.setClipPath(X):this.group.removeClipPath()},_incrementalRenderLarge:function(j,V){this._removeBackground(),P(V,this.group,!0)},dispose:m.noop,remove:function(j){this._clear(j)},_clear:function(j){var V=this.group,W=this._data;j&&j.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(X){X.type==="sector"?x(X.dataIndex,j,X):_(X.dataIndex,j,X)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,b=Math.min,E={cartesian2d:function(j,V){var W=V.width<0?-1:1,X=V.height<0?-1:1;W<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height);var J=w(V.x,j.x),de=b(V.x+V.width,j.x+j.width),G=w(V.y,j.y),ae=b(V.y+V.height,j.y+j.height);V.x=J,V.y=G,V.width=de-J,V.height=ae-G;var Ae=V.width<0||V.height<0;return W<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height),Ae},polar:function(j){return!1}},T={cartesian2d:function(j,V,W,X,J){var de=new g.Rect({shape:m.extend({},V),z2:1});if(de.name="item",X){var G=de.shape,ae=W?"height":"width",Ae={};G[ae]=0,Ae[ae]=V[ae],g[J?"updateProps":"initProps"](de,{shape:Ae},X,j)}return de},polar:function(j,V,W,X,J,de){var G=V.startAngle<V.endAngle,ae=!W&&de?s:g.Sector,Ae=new ae({shape:m.defaults({clockwise:G},V),z2:1});if(Ae.name="item",X){var me=Ae.shape,Me=W?"r":"endAngle",oe={};me[Me]=W?0:V.startAngle,oe[Me]=V[Me],g[J?"updateProps":"initProps"](Ae,{shape:oe},X,j)}return Ae}};function _(j,V,W){W.style.text=null,g.updateProps(W,{shape:{width:0}},V,j,function(){W.parent&&W.parent.remove(W)})}function x(j,V,W){W.style.text=null,g.updateProps(W,{shape:{r:W.shape.r0}},V,j,function(){W.parent&&W.parent.remove(W)})}var C={cartesian2d:function(j,V,W){var X=j.getItemLayout(V),J=W?F(W,X):0,de=X.width>0?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<W.length;de+=2)X[J]=W[de+J],j.moveTo(X[0],X[1]),j.lineTo(W[de],W[de+1])}});function P(j,V,W){var X=j.getData(),J=[],de=X.getLayout("valueAxisHorizontal")?1:0;J[1-de]=X.getLayout("valueAxisStart");var G=X.getLayout("largeDataIndices"),ae=X.getLayout("barWidth"),Ae=j.getModel("backgroundStyle"),me=j.get("showBackground",!0);if(me){var Me=X.getLayout("largeBackgroundPoints"),oe=[];oe[1-de]=X.getLayout("backgroundStart");var _e=new B({shape:{points:Me},incremental:!!W,__startPoint:oe,__baseDimIdx:de,__largeDataIndices:G,__barWidth:ae,silent:!0,z2:0});U(_e,Ae,X),V.add(_e)}var ee=new B({shape:{points:X.getLayout("largePoints")},incremental:!!W,__startPoint:J,__baseDimIdx:de,__largeDataIndices:G,__barWidth:ae});V.add(ee),M(ee,j,X),ee.seriesIndex=j.seriesIndex,j.get("silent")||(ee.on("mousedown",H),ee.on("mousemove",H))}var H=r(function(j){var V=this,W=z(V,j.offsetX,j.offsetY);V.dataIndex=W>=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<ne;ee++){var Ge=ee*2,Ee=de[Ge+X],ue=de[Ge+J];if(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 Rr=Object(g.useRef)(),Qr=Object(g.useRef)(!1);function Nr(){for(var Xt=arguments.length,xr=new Array(Xt),er=0;er<Xt;er++)xr[er]=arguments[er];Qr.current||(s.a.cancel(Rr.current),Rr.current=s()(function(){pr.apply(void 0,xr)}))}return Object(g.useEffect)(function(){return function(){Qr.current=!0,s.a.cancel(Rr.current)}},[]),Nr}function A(pr){var Rr=Object(g.useRef)([]),Qr=Object(g.useState)({}),Nr=Object(d.a)(Qr,2),Xt=Nr[1],xr=Object(g.useRef)(typeof pr=="function"?pr():pr),er=h(function(){var Ur=xr.current;Rr.current.forEach(function(pn){Ur=pn(Ur)}),Rr.current=[],xr.current=Ur,Xt({})});function jr(Ur){Rr.current.push(Ur),er()}return[xr.current,jr]}var v=t("4IlW");function w(pr,Rr){var Qr,Nr=pr.prefixCls,Xt=pr.id,xr=pr.active,er=pr.rtl,jr=pr.tab,Ur=jr.key,pn=jr.tab,sn=jr.disabled,vn=jr.closeIcon,Un=pr.tabBarGutter,Qn=pr.tabPosition,$n=pr.closable,wi=pr.renderWrapper,ra=pr.removeAriaLabel,ua=pr.editable,da=pr.onClick,sa=pr.onRemove,fa=pr.onFocus,Wi="".concat(Nr,"-tab");g.useEffect(function(){return sa},[]);var Di={};Qn==="top"||Qn==="bottom"?Di[er?"marginLeft":"marginRight"]=Un:Di.marginBottom=Un;var na=ua&&$n!==!1&&!sn;function Zi($i){if(sn)return;da($i)}function ba($i){$i.preventDefault(),$i.stopPropagation(),ua.onEdit("remove",{key:Ur,event:$i})}var Ta=g.createElement("div",{key:Ur,ref:Rr,className:i()(Wi,(Qr={},Object(f.a)(Qr,"".concat(Wi,"-with-remove"),na),Object(f.a)(Qr,"".concat(Wi,"-active"),xr),Object(f.a)(Qr,"".concat(Wi,"-disabled"),sn),Qr)),style:Di,onClick:Zi},g.createElement("div",{role:"tab","aria-selected":xr,id:Xt&&"".concat(Xt,"-tab-").concat(Ur),className:"".concat(Wi,"-btn"),"aria-controls":Xt&&"".concat(Xt,"-panel-").concat(Ur),"aria-disabled":sn,tabIndex:sn?null:0,onClick:function(Vi){Vi.stopPropagation(),Zi(Vi)},onKeyDown:function(Vi){[v.a.SPACE,v.a.ENTER].includes(Vi.which)&&(Vi.preventDefault(),Zi(Vi))},onFocus:fa},pn),na&&g.createElement("button",{type:"button","aria-label":ra||"remove",tabIndex:0,className:"".concat(Wi,"-remove"),onClick:function(Vi){Vi.stopPropagation(),ba(Vi)}},vn||ua.removeIcon||"\xD7"));return wi&&(Ta=wi(Ta)),Ta}var b=g.forwardRef(w),E={width:0,height:0,left:0,top:0};function T(pr,Rr,Qr){return Object(g.useMemo)(function(){for(var Nr,Xt=new Map,xr=Rr.get((Nr=pr[0])===null||Nr===void 0?void 0:Nr.key)||E,er=xr.left+xr.width,jr=0;jr<pr.length;jr+=1){var Ur=pr[jr].key,pn=Rr.get(Ur);if(!pn){var sn;pn=Rr.get((sn=pr[jr-1])===null||sn===void 0?void 0:sn.key)||E}var vn=Xt.get(Ur)||Object(a.a)({},pn);vn.right=er-vn.left-vn.width,Xt.set(Ur,vn)}return Xt},[pr.map(function(Nr){return Nr.key}).join("_"),Rr,Qr])}var _={width:0,height:0,left:0,top:0,right:0};function x(pr,Rr,Qr,Nr,Xt){var xr=Xt.tabs,er=Xt.tabPosition,jr=Xt.rtl,Ur,pn,sn;["top","bottom"].includes(er)?(Ur="width",pn=jr?"right":"left",sn=Math.abs(Rr.left)):(Ur="height",pn="top",sn=-Rr.top);var vn=Rr[Ur],Un=Qr[Ur],Qn=Nr[Ur],$n=vn;return Un+Qn>vn&&($n=vn-Qn),Object(g.useMemo)(function(){if(!xr.length)return[0,0];for(var wi=xr.length,ra=wi,ua=0;ua<wi;ua+=1){var da=pr.get(xr[ua].key)||_;if(da[pn]+da[Ur]>sn+$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]<sn){sa=fa+1;break}}return[sa,ra]},[pr,sn,$n,er,xr.map(function(wi){return wi.key}).join("_"),jr])}var C=t("wx14"),I=t("1OyB"),L=t("vuIU"),F=t("JX7q"),B=t("Ji7U"),P=t("LK+K"),H=t("I8Z2"),z=t("bT9E"),M=t("2GS6"),U=t("Gytx"),k=t.n(U),K=t("U8pU"),j=/iPhone/i,V=/iPod/i,W=/iPad/i,X=/\bAndroid(?:.+)Mobile\b/i,J=/Android/i,de=/\bAndroid(?:.+)SD4930UR\b/i,G=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,ae=/Windows Phone/i,Ae=/\bWindows(?:.+)ARM\b/i,me=/BlackBerry/i,Me=/BB10/i,oe=/Opera Mini/i,_e=/\b(CriOS|Chrome)(?:.+)Mobile/i,ee=/Mobile(?:.+)Firefox\b/i;function ne(pr,Rr){return pr.test(Rr)}function Ge(pr){var Rr=pr||(typeof navigator!="undefined"?navigator.userAgent:""),Qr=(Rr||"").split("[FBAN");if(typeof Qr[1]!="undefined"){var Nr=Qr,Xt=Object(d.a)(Nr,1);Rr=Xt[0]}if(Qr=Rr.split("Twitter"),typeof Qr[1]!="undefined"){var xr=Qr,er=Object(d.a)(xr,1);Rr=er[0]}var jr={apple:{phone:ne(j,Rr)&&!ne(ae,Rr),ipod:ne(V,Rr),tablet:!ne(j,Rr)&&ne(W,Rr)&&!ne(ae,Rr),device:(ne(j,Rr)||ne(V,Rr)||ne(W,Rr))&&!ne(ae,Rr)},amazon:{phone:ne(de,Rr),tablet:!ne(de,Rr)&&ne(G,Rr),device:ne(de,Rr)||ne(G,Rr)},android:{phone:!ne(ae,Rr)&&ne(de,Rr)||!ne(ae,Rr)&&ne(X,Rr),tablet:!ne(ae,Rr)&&!ne(de,Rr)&&!ne(X,Rr)&&(ne(G,Rr)||ne(J,Rr)),device:!ne(ae,Rr)&&(ne(de,Rr)||ne(G,Rr)||ne(X,Rr)||ne(J,Rr))||ne(/\bokhttp\b/i,Rr)},windows:{phone:ne(ae,Rr),tablet:ne(Ae,Rr),device:ne(ae,Rr)||ne(Ae,Rr)},other:{blackberry:ne(me,Rr),blackberry10:ne(Me,Rr),opera:ne(oe,Rr),firefox:ne(ee,Rr),chrome:ne(_e,Rr),device:ne(me,Rr)||ne(Me,Rr)||ne(oe,Rr)||ne(ee,Rr)||ne(_e,Rr)},any:null,phone:null,tablet:null};return jr.any=jr.apple.device||jr.android.device||jr.windows.device||jr.other.device,jr.phone=jr.apple.phone||jr.android.phone||jr.windows.phone,jr.tablet=jr.apple.tablet||jr.android.tablet||jr.windows.tablet,jr}var Ee=Object(a.a)(Object(a.a)({},Ge()),{},{isMobile:Ge}),ue=Ee;function re(){}function ce(pr,Rr,Qr){var Nr=Rr||"";return pr.key||"".concat(Nr,"item_").concat(Qr)}function ke(pr){return"".concat(pr,"-menu-")}function Te(pr,Rr){var Qr=-1;g.Children.forEach(pr,function(Nr){Qr+=1,Nr&&Nr.type&&Nr.type.isMenuItemGroup?g.Children.forEach(Nr.props.children,function(Xt){Qr+=1,Rr(Xt,Qr)}):Rr(Nr,Qr)})}function Ke(pr,Rr,Qr){if(!pr||Qr.find)return;g.Children.forEach(pr,function(Nr){if(Nr){var Xt=Nr.type;if(!Xt||!(Xt.isSubMenu||Xt.isMenuItem||Xt.isMenuItemGroup))return;Rr.indexOf(Nr.key)!==-1?Qr.find=!0:Nr.props.children&&Ke(Nr.props.children,Rr,Qr)}})}var Ie=["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"],se=function(Rr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nr=Rr&&typeof Rr.getBoundingClientRect=="function"&&Rr.getBoundingClientRect().width;if(Nr){if(Qr){var Xt=getComputedStyle(Rr),xr=Xt.marginLeft,er=Xt.marginRight;Nr+=+xr.replace("px","")+ +er.replace("px","")}Nr=+Nr.toFixed(6)}return Nr||0},ye=function(Rr,Qr,Nr){Rr&&Object(K.a)(Rr.style)==="object"&&(Rr.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,Rr,Qr){return Qr?pr[0]===Rr[0]:pr[0]===Rr[0]&&pr[1]===Rr[1]}function Gt(pr,Rr,Qr){var Nr=pr[Rr]||{};return Object(a.a)(Object(a.a)({},Nr),Qr)}function $e(pr,Rr,Qr,Nr){for(var Xt=Qr.points,xr=Object.keys(pr),er=0;er<xr.length;er+=1){var jr=xr[er];if(Mt(pr[jr].points,Xt,Nr))return"".concat(Rr,"-placement-").concat(jr)}return""}var pe=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var pr=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(pr)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(pr==null?void 0:pr.substr(0,4)))},q=t("MNnm");function bt(pr,Rr){var Qr={};return Qr[pr.toLowerCase()]=Rr.toLowerCase(),Qr["Webkit".concat(pr)]="webkit".concat(Rr),Qr["Moz".concat(pr)]="moz".concat(Rr),Qr["ms".concat(pr)]="MS".concat(Rr),Qr["O".concat(pr)]="o".concat(Rr.toLowerCase()),Qr}function qe(pr,Rr){var Qr={animationend:bt("Animation","AnimationEnd"),transitionend:bt("Transition","TransitionEnd")};return pr&&("AnimationEvent"in Rr||delete Qr.animationend.animation,"TransitionEvent"in Rr||delete Qr.transitionend.transition),Qr}var le=qe(Object(q.a)(),typeof window!="undefined"?window:{}),Nt={};if(Object(q.a)()){var tr=document.createElement("div");Nt=tr.style}var lt={};function Wt(pr){if(lt[pr])return lt[pr];var Rr=le[pr];if(Rr)for(var Qr=Object.keys(Rr),Nr=Qr.length,Xt=0;Xt<Nr;Xt+=1){var xr=Qr[Xt];if(Object.prototype.hasOwnProperty.call(Rr,xr)&&xr in Nt)return lt[pr]=Rr[xr],lt[pr]}return""}var cr=Wt("animationend"),Vr=Wt("transitionend"),ur=!!(cr&&Vr),ir=cr||"animationend",Lt=Vr||"transitionend";function ot(pr,Rr){if(!pr)return null;if(Object(K.a)(pr)==="object"){var Qr=Rr.replace(/-\w/g,function(Nr){return Nr[1].toUpperCase()});return pr[Qr]}return"".concat(pr,"-").concat(Rr)}var Xe="none",$t="appear",Sr="enter",vr="leave",fr="none",An="prepare",Zr="start",Ln="active",Je="end";function et(pr){var Rr=Object(g.useRef)(!1),Qr=Object(g.useState)(pr),Nr=Object(d.a)(Qr,2),Xt=Nr[0],xr=Nr[1];function er(jr){Rr.current||xr(jr)}return Object(g.useEffect)(function(){return function(){Rr.current=!0}},[]),[Xt,er]}var be=Object(q.a)()?g.useLayoutEffect:g.useEffect,Le=be,Ue=function(){var pr=g.useRef(null);function Rr(){Oe.a.cancel(pr.current)}function Qr(Nr){var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Rr();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(){Rr()}},[]),[Qr,Rr]},rt=[An,Zr,Ln,Je],Vt=!1,Ft=!0;function zt(pr){return pr===Ln||pr===Je}var Dr=function(pr,Rr){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=Rr(Xt);Qn===Vt?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 Rr=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){Rr.current&&Rr.current!==er&&Xt(Rr.current),er&&er!==Rr.current&&(er.addEventListener(Lt,Nr),er.addEventListener(ir,Nr),Rr.current=er)}return g.useEffect(function(){return function(){Xt(Rr.current)}},[]),[xr,Xt]};function un(pr,Rr,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=Dr(Ti,function(Za){if(Za===An){var Ca=ka[An];return Ca?Ca(ea()):Vt}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))),Ft}),to=Object(d.a)(yo,2),_o=to[0],co=to[1],uo=zt(co);lo.current=uo,Le(function(){Vi(Rr);var Za=za.current;if(za.current=!0,!pr)return;var Ca;!Za&&Rr&&jr&&(Ca=$t),Za&&Rr&&xr&&(Ca=Sr),(Za&&!Rr&&pn||!Za&&vn&&!Rr&&pn)&&(Ca=vr),Ca&&(Ea(Ca),_o())},[Rr]),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:Rr]}var Ht=function(pr){Object(B.a)(Qr,pr);var Rr=Object(P.a)(Qr);function Qr(){return Object(I.a)(this,Qr),Rr.apply(this,arguments)}return Object(L.a)(Qr,[{key:"render",value:function(){return this.props.children}}]),Qr}(g.Component),dt=Ht;function at(pr){var Rr=pr;Object(K.a)(pr)==="object"&&(Rr=pr.transitionSupport);function Qr(Xt){return!!(Xt.motionName&&Rr)}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":zt(Di)?Ti="active":Di===Zr&&(Ti="start"),Vi=vn(Object(a.a)(Object(a.a)({},La),{},{className:i()(ot(Un,Wi),(ga={},Object(f.a)(ga,ot(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=at(ur),Jt="add",gt="keep",Bt="remove",mt="removed";function kt(pr){var Rr;return pr&&Object(K.a)(pr)==="object"&&"key"in pr?Rr=pr:Rr={key:pr},Object(a.a)(Object(a.a)({},Rr),{},{key:String(Rr.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]:[],Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qr=[],Nr=0,Xt=Rr.length,xr=gr(pr),er=gr(Rr);xr.forEach(function(pn){for(var sn=!1,vn=Nr;vn<Xt;vn+=1){var Un=er[vn];if(Un.key===pn.key){Nr<vn&&(Qr=Qr.concat(er.slice(Nr,vn).map(function(Qn){return Object(a.a)(Object(a.a)({},Qn),{},{status:Jt})})),Nr=vn),Qr.push(Object(a.a)(Object(a.a)({},Un),{},{status:gt})),Nr+=1,sn=!0;break}}sn||Qr.push(Object(a.a)(Object(a.a)({},pn),{},{status:Bt}))}),Nr<Xt&&(Qr=Qr.concat(er.slice(Nr).map(function(pn){return Object(a.a)(Object(a.a)({},pn),{},{status:Jt})})));var jr={};Qr.forEach(function(pn){var sn=pn.key;jr[sn]=(jr[sn]||0)+1});var Ur=Object.keys(jr).filter(function(pn){return jr[pn]>1});return Ur.forEach(function(pn){Qr=Qr.filter(function(sn){var vn=sn.key,Un=sn.status;return vn!==pn||Un!==Bt}),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 Gr(pr){var Rr=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(Rr,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===Bt)})}}}]),xr}(g.Component);return Qr.defaultProps={component:"div"},Qr}var Jr=Gr(ur),Tn=Qt;function Nn(pr){var Rr=pr.prefixCls,Qr=pr.motion,Nr=pr.animation,Xt=pr.transitionName;return Qr||(Nr?{motionName:"".concat(Rr,"-").concat(Nr)}:Xt?{motionName:Xt}:null)}function zn(pr){var Rr=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},Nn({motion:xr,prefixCls:Rr,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(Rr,"-mask"),sn)})})}var qn=t("9mu1"),vi=t("o0o1"),Ri=t.n(vi),Ve=t("HaE+"),Se=["measure","align",null,"motion"],Re=function(pr,Rr){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":Rr();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 Rr=g.useState({width:0,height:0}),Qr=Object(d.a)(Rr,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,Rr){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)({},Nn(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(Rr,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,Rr){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(Rr,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,st=["visible","mobile"],Pt=g.forwardRef(function(pr,Rr){var Qr=pr.visible,Nr=pr.mobile,Xt=Object(c.a)(pr,st),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:Rr})):g.createElement(He,Object(C.a)({},Qn,{ref:Rr}));return g.createElement("div",null,g.createElement(zn,Qn),$n)});Pt.displayName="Popup";var wr=Pt,mr=g.createContext(null),Or=mr;function jt(){}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 Rr=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 Rr.contextType=Or,Rr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:cn,getDocument:nr,onPopupVisibleChange:jt,afterPopupVisibleChange:jt,onPopupAlign:jt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Rr}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(Rr,Qr,Nr){var Xt=ke(Qr),xr=Rr.getState();Rr.setState({defaultActiveFirst:Object(a.a)(Object(a.a)({},xr.defaultActiveFirst),{},Object(f.a)({},Xt,Nr))})},Si=function(pr){Object(B.a)(Qr,pr);var Rr=Object(P.a)(Qr);function Qr(Nr){var Xt;Object(I.a)(this,Qr),Xt=Rr.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,Rr){var Qr=pr.openKeys,Nr=pr.activeKey,Xt=pr.selectedKeys,xr=Rr.eventKey,er=Rr.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 Rr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Rr.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(Rr){return!!Rr.props.disabled}):!0}function Gn(pr,Rr,Qr){var Nr=pr.getState();pr.setState({activeKey:Object(a.a)(Object(a.a)({},Nr.activeKey),{},Object(f.a)({},Rr,Qr))})}function Fi(pr){return pr.eventKey||"0-menu-"}function Jn(pr,Rr){var Qr=Rr,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 Rr=this.instanceArray.indexOf(pr);Rr!==-1?this.instanceArray[Rr]=pr:this.instanceArray.push(pr)}var fn=function(pr){Object(B.a)(Qr,pr);var Rr=Object(P.a)(Qr);function Qr(Nr){var Xt;return Object(I.a)(this,Qr),Xt=Rr.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,Rr,Qr){var Nr=pr.prefixCls,Xt=pr.motion,xr=pr.defaultMotions,er=xr===void 0?{}:xr,jr=pr.openAnimation,Ur=pr.openTransitionName,pn=Rr.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 Rr=Object(P.a)(Qr);function Qr(Nr){var Xt;Object(I.a)(this,Qr),Xt=Rr.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 Rr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Rr.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,Rr){var Qr=pr.activeKey,Nr=pr.selectedKeys,Xt=Rr.eventKey,xr=Rr.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 Rr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Rr.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(Rr){var Qr=Rr.className,Nr=Rr.rootPrefixCls,Xt=Rr.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,Rr){var Qr=pr.prefixCls,Nr=pr.editable,Xt=pr.locale,xr=pr.style;return!Nr||Nr.showAdd===!1?null:g.createElement("button",{ref:Rr,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,Rr){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;wa<za;wa+=1){Ha=(Ha+Na+za)%za;var Ka=Pa[Ha];if(!Ka.disabled){na(Ka.key);return}}}function ga(Na){var Pa=Na.which;if(!da){[v.a.DOWN,v.a.SPACE,v.a.ENTER].includes(Pa)&&(sa(!0),Na.preventDefault());return}switch(Pa){case v.a.UP:La(-1),Na.preventDefault();break;case v.a.DOWN:La(1),Na.preventDefault();break;case v.a.ESC:sa(!1);break;case v.a.SPACE:case v.a.ENTER:Di!==null&&wi(Di,Na);break}}Object(g.useEffect)(function(){var Na=document.getElementById(Ta);Na&&Na.scrollIntoView&&Na.scrollIntoView(!1)},[Di]),Object(g.useEffect)(function(){da||na(null)},[da]);var Ti=Object(f.a)({},$n?"marginLeft":"marginRight",Qn);Xt.length||(Ti.visibility="hidden",Ti.order=1);var Ea=i()(Object(f.a)({},"".concat(ba,"-rtl"),$n)),Da=er?null:g.createElement(Oi.a,{prefixCls:ba,overlay:Vi,trigger:["hover"],visible:da,transitionName:pn,onVisibleChange:sa,overlayClassName:Ea,mouseEnterDelay:.1,mouseLeaveDelay:.1},g.createElement("button",{type:"button",className:"".concat(Qr,"-nav-more"),style:Ti,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Zi,id:"".concat(Nr,"-more"),"aria-expanded":da,onKeyDown:ga},Ur));return g.createElement("div",{className:i()("".concat(Qr,"-nav-operations"),vn),style:sn,ref:Rr},Da,g.createElement(Pi,{prefixCls:Qr,locale:xr,editable:Un}))}var Kt=g.forwardRef(aa),Yr=Object(g.createContext)(null),rn=.1,hn=.01,ze=20,Ct=Math.pow(.995,ze);function or(){var pr=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(pr)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(pr.substr(0,4)))}function rr(pr,Rr){var Qr=Object(g.useState)(),Nr=Object(d.a)(Qr,2),Xt=Nr[0],xr=Nr[1],er=Object(g.useState)(0),jr=Object(d.a)(er,2),Ur=jr[0],pn=jr[1],sn=Object(g.useState)(0),vn=Object(d.a)(sn,2),Un=vn[0],Qn=vn[1],$n=Object(g.useState)(),wi=Object(d.a)($n,2),ra=wi[0],ua=wi[1],da=Object(g.useRef)();function sa($i){var Vi=$i.touches[0],La=Vi.screenX,ga=Vi.screenY;xr({x:La,y:ga}),window.clearInterval(da.current)}function fa($i){if(!Xt)return;$i.preventDefault();var Vi=$i.touches[0],La=Vi.screenX,ga=Vi.screenY;xr({x:La,y:ga});var Ti=La-Xt.x,Ea=ga-Xt.y;Rr(Ti,Ea);var Da=Date.now();pn(Da),Qn(Da-Ur),ua({x:Ti,y:Ea})}function Wi(){if(!Xt)return;if(xr(null),ua(null),ra){var $i=ra.x/Un,Vi=ra.y/Un,La=Math.abs($i),ga=Math.abs(Vi);if(Math.max(La,ga)<rn)return;var Ti=$i,Ea=Vi;da.current=window.setInterval(function(){if(Math.abs(Ti)<hn&&Math.abs(Ea)<hn){window.clearInterval(da.current);return}Ti*=Ct,Ea*=Ct,Rr(Ti*ze,Ea*ze)},ze)}}var Di=Object(g.useRef)(0),na=Object(g.useRef)(!1),Zi=Object(g.useRef)();function ba($i){var Vi=$i.deltaX,La=$i.deltaY,ga=0,Ti=Math.abs(Vi),Ea=Math.abs(La);Ti===Ea?ga=Zi.current==="x"?Vi:La:Ti>Ea?(ga=Vi,Zi.current="x"):(ga=La,Zi.current="y");var Da=Date.now();Da-Di.current>100&&(na.current=!1),(Rr(-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 Rr(Nr){return pr.current.has(Nr)||pr.current.set(Nr,g.createRef()),pr.current.get(Nr)}function Qr(Nr){pr.current.delete(Nr)}return[Rr,Qr]}function Fr(pr,Rr){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&&Rr(Ur,Qr.current),Qr.current=Ur,xr({})}return[Qr.current,er]}var Kr=function(Rr){var Qr=Rr.position,Nr=Rr.prefixCls,Xt=Rr.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,Rr){var Qr,Nr=g.useContext(Yr),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 ge<Cs?[Cs,!1]:ge>As?[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.right<Ti?ct=Fe.right:Fe.right+Fe.width>Ti+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+Ca<Ka):(On=Ti<0,ft=-Ti+Ca<Ka):($=Pa<0,he=-Pa+Ia<Ya),g.createElement("div",{ref:Rr,role:"tablist",className:i()("".concat(Xt,"-nav"),er),style:jr,onKeyDown:function(){zr()}},g.createElement(Kr,{position:"left",extra:Un,prefixCls:Xt}),g.createElement(u.a,{onResize:ns},g.createElement("div",{className:i()(tn,(Qr={},Object(f.a)(Qr,"".concat(tn,"-ping-left"),On),Object(f.a)(Qr,"".concat(tn,"-ping-right"),ft),Object(f.a)(Qr,"".concat(tn,"-ping-top"),$),Object(f.a)(Qr,"".concat(tn,"-ping-bottom"),he),Qr)),ref:fa},g.createElement(u.a,{onResize:ns},g.createElement("div",{ref:Wi,className:"".concat(Xt,"-nav-list"),style:{transform:"translate(".concat(Ti,"px, ").concat(Pa,"px)"),transition:Ho?"none":void 0}},Jo,g.createElement(Pi,{ref:na,prefixCls:Xt,locale:$n,editable:Qn,style:{visibility:Dt?"hidden":null}}),g.createElement("div",{className:i()("".concat(Xt,"-ink-bar"),Object(f.a)({},"".concat(Xt,"-ink-bar-animated"),pn.inkBar)),style:Ws}))))),g.createElement(Kt,Object.assign({},pr,{ref:Di,prefixCls:Xt,tabs:Ls,className:!Dt&&Ns})),g.createElement(Kr,{position:"right",extra:Un,prefixCls:Xt}))}var wn=g.forwardRef(nn);function In(pr){var Rr=pr.id,Qr=pr.activeKey,Nr=pr.animated,Xt=pr.tabPosition,xr=pr.rtl,er=pr.destroyInactiveTabPane,jr=g.useContext(Yr),Ur=jr.prefixCls,pn=jr.tabs,sn=Nr.tabPane,vn=pn.findIndex(function(Un){return Un.key===Qr});return g.createElement("div",{className:i()("".concat(Ur,"-content-holder"))},g.createElement("div",{className:i()("".concat(Ur,"-content"),"".concat(Ur,"-content-").concat(Xt),Object(f.a)({},"".concat(Ur,"-content-animated"),sn)),style:vn&&sn?Object(f.a)({},xr?"marginRight":"marginLeft","-".concat(vn,"00%")):null},pn.map(function(Un){return g.cloneElement(Un.node,{key:Un.key,prefixCls:Ur,tabKey:Un.key,id:Rr,animated:sn,active:Un.key===Qr,destroyInactiveTabPane:er})})))}function Rn(pr){var Rr=pr.prefixCls,Qr=pr.forceRender,Nr=pr.className,Xt=pr.style,xr=pr.id,er=pr.active,jr=pr.animated,Ur=pr.destroyInactiveTabPane,pn=pr.tabKey,sn=pr.children,vn=g.useState(Qr),Un=Object(d.a)(vn,2),Qn=Un[0],$n=Un[1];g.useEffect(function(){er?$n(!0):Ur&&$n(!1)},[er,Ur]);var wi={};return er||(jr?(wi.visibility="hidden",wi.height=0,wi.overflowY="hidden"):wi.display="none"),g.createElement("div",{id:xr&&"".concat(xr,"-panel-").concat(pn),role:"tabpanel",tabIndex:er?0:-1,"aria-labelledby":xr&&"".concat(xr,"-tab-").concat(pn),"aria-hidden":!er,style:Object(a.a)(Object(a.a)({},wi),Xt),className:i()("".concat(Rr,"-tabpane"),er&&"".concat(Rr,"-tabpane-active"),Nr)},(er||Qn||Qr)&&sn)}var Dn=0;function bn(pr){return Object(o.a)(pr).map(function(Rr){if(g.isValidElement(Rr)){var Qr=Rr.key!==void 0?String(Rr.key):void 0;return Object(a.a)(Object(a.a)({key:Qr},Rr.props),{},{node:Rr})}return null}).filter(function(Rr){return Rr})}function Sn(pr,Rr){var Qr,Nr=pr.id,Xt=pr.prefixCls,xr=Xt===void 0?"rc-tabs":Xt,er=pr.className,jr=pr.children,Ur=pr.direction,pn=pr.activeKey,sn=pr.defaultActiveKey,vn=pr.editable,Un=pr.animated,Qn=pr.tabPosition,$n=Qn===void 0?"top":Qn,wi=pr.tabBarGutter,ra=pr.tabBarStyle,ua=pr.tabBarExtraContent,da=pr.locale,sa=pr.moreIcon,fa=pr.moreTransitionName,Wi=pr.destroyInactiveTabPane,Di=pr.renderTabBar,na=pr.onChange,Zi=pr.onTabClick,ba=pr.onTabScroll,Ta=Object(c.a)(pr,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),$i=bn(jr),Vi=Ur==="rtl",La;Un===!1?La={inkBar:!1,tabPane:!1}:La=Object(a.a)({inkBar:!0,tabPane:!1},Un!==!0?Un:null);var ga=Object(g.useState)(!1),Ti=Object(d.a)(ga,2),Ea=Ti[0],Da=Ti[1];Object(g.useEffect)(function(){Da(or())},[]);var Na=Object(r.a)(function(){var co;return(co=$i[0])===null||co===void 0?void 0:co.key},{value:pn,defaultValue:sn}),Pa=Object(d.a)(Na,2),Ha=Pa[0],za=Pa[1],wa=Object(g.useState)(function(){return $i.findIndex(function(co){return co.key===Ha})}),Ka=Object(d.a)(wa,2),ao=Ka[0],ea=Ka[1];Object(g.useEffect)(function(){var co=$i.findIndex(function(Qa){return Qa.key===Ha});if(co===-1){var uo;co=Math.max(0,Math.min(ao,$i.length-1)),za((uo=$i[co])===null||uo===void 0?void 0:uo.key)}ea(co)},[$i.map(function(co){return co.key}).join("_"),Ha,ao]);var lo=Object(r.a)(null,{value:Nr}),Ya=Object(d.a)(lo,2),Sa=Ya[0],Ja=Ya[1],Ma=$n;Ea&&!["left","right"].includes($n)&&(Ma="top"),Object(g.useEffect)(function(){Nr||(Ja("rc-tabs-".concat(Dn)),Dn+=1)},[]);function ka(co,uo){Zi==null||Zi(co,uo),za(co),na==null||na(co)}var yo={id:Sa,activeKey:Ha,animated:La,tabPosition:Ma,rtl:Vi,mobile:Ea},to,_o=Object(a.a)(Object(a.a)({},yo),{},{editable:vn,locale:da,moreIcon:sa,moreTransitionName:fa,tabBarGutter:wi,onTabClick:ka,onTabScroll:ba,extra:ua,style:ra,panes:jr});return Di?to=Di(_o,wn):to=g.createElement(wn,Object.assign({},_o)),g.createElement(Yr.Provider,{value:{tabs:$i,prefixCls:xr}},g.createElement("div",Object.assign({ref:Rr,id:Nr,className:i()(xr,"".concat(xr,"-").concat(Ma),(Qr={},Object(f.a)(Qr,"".concat(xr,"-mobile"),Ea),Object(f.a)(Qr,"".concat(xr,"-editable"),vn),Object(f.a)(Qr,"".concat(xr,"-rtl"),Vi),Qr),er)},Ta),to,g.createElement(In,Object.assign({destroyInactiveTabPane:Wi},yo,{animated:La}))))}var _n=g.forwardRef(Sn);_n.TabPane=Rn;var Kn=_n,Yn=Kn,Zn=t("cCPh"),yi=t.n(Zn),gi=t("fNCr"),Ni=t.n(gi),ki=t("V/uB"),xi=t.n(ki),_i=t("uaoM"),Li=t("H84U"),Hn=function(pr,Rr){var Qr={};for(var Nr in pr)Object.prototype.hasOwnProperty.call(pr,Nr)&&Rr.indexOf(Nr)<0&&(Qr[Nr]=pr[Nr]);if(pr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,Nr=Object.getOwnPropertySymbols(pr);Xt<Nr.length;Xt++)Rr.indexOf(Nr[Xt])<0&&Object.prototype.propertyIsEnumerable.call(pr,Nr[Xt])&&(Qr[Nr[Xt]]=pr[Nr[Xt]]);return Qr};function Ci(pr){var Rr,Qr=pr.type,Nr=pr.className,Xt=pr.size,xr=pr.onEdit,er=pr.hideAdd,jr=pr.centered,Ur=pr.addIcon,pn=Hn(pr,["type","className","size","onEdit","hideAdd","centered","addIcon"]),sn=pn.prefixCls,vn=g.useContext(Li.b),Un=vn.getPrefixCls,Qn=vn.direction,$n=Un("tabs",sn),wi;return Qr==="editable-card"&&(wi={onEdit:function(ua,da){var sa=da.key,fa=da.event;xr==null||xr(ua==="add"?fa:sa,ua)},removeIcon:g.createElement(xi.a,null),addIcon:Ur||g.createElement(Ni.a,null),showAdd:er!==!0}),Object(_i.a)(!("onPrevClick"in pn)&&!("onNextClick"in pn),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),g.createElement(Yn,p()({direction:Qn},pn,{moreTransitionName:"slide-up",className:i()(Nr,(Rr={},m()(Rr,"".concat($n,"-").concat(Xt),Xt),m()(Rr,"".concat($n,"-card"),["card","editable-card"].includes(Qr)),m()(Rr,"".concat($n,"-editable-card"),Qr==="editable-card"),m()(Rr,"".concat($n,"-centered"),jr),Rr)),editable:wi,moreIcon:g.createElement(yi.a,null),prefixCls:$n}))}Ci.TabPane=Rn;var Hi=N.a=Ci},ZTW2:function(R,N,t){},ZWlE:function(R,N,t){var y=t("bYtY"),p=t("4NO4");function S(f){m(f),g(f)}function m(f){if(f.parallel)return;var d=!1;y.each(f.series,function(c){c&&c.type==="parallel"&&(d=!0)}),d&&(f.parallel=[{}])}function g(f){var d=p.normalizeToArray(f.parallelAxis);y.each(d,function(c){if(!y.isObject(c))return;var a=c.parallelIndex||0,n=p.normalizeToArray(f.parallel)[a];n&&n.parallelAxisDefault&&y.merge(c,n.parallelAxisDefault,!1)})}R.exports=S},ZX9x:function(R,N,t){"use strict";t.d(N,"a",function(){return L}),t.d(N,"b",function(){return P});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("7W2i"),n=t.n(a),i=t("LQ03"),o=t.n(i),r=t("q1tI"),l=t("TSYQ"),e=t.n(l),s=t("BGR+"),u=t("T1rO"),h=t.n(u),A=t("fEPi"),v=t.n(A),w=t("DFhj"),b=t.n(w),E=t("PKem"),T=t("H84U"),_=function(z){return!isNaN(parseFloat(z))&&isFinite(z)},x=_,C=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<U.length;k++)z.indexOf(U[k])<0&&Object.prototype.propertyIsEnumerable.call(H,U[k])&&(M[U[k]]=H[U[k]]);return M},I={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=r.createContext({}),F=function(){var H=0;return function(){var z=arguments.length>0&&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<c.end;l++)r+=S.getLineCoordsCount(l);i=new Float32Array(o+r*2)}else i=new Float32Array(o*4);for(var e=0,s=[],l=c.start;l<c.end;l++){var u=S.getLineCoords(l,n);g&&(i[e++]=u);for(var h=0;h<u;h++)s=m.dataToPoint(n[h],!1,s),i[e++]=s[0],i[e++]=s[1]}a.setLayout("linesPoints",i)}else for(var l=c.start;l<c.end;l++){var A=a.getItemModel(l),u=S.getLineCoords(l,n),v=[];if(g)for(var w=0;w<u;w++)v.push(m.dataToPoint(n[w]));else{v[0]=m.dataToPoint(n[0]),v[1]=m.dataToPoint(n[1]);var b=A.get("lineStyle.curveness");+b&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*b,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*b])}a.setItemLayout(l,v)}}return{progress:d}}};R.exports=p},Ze12:function(R,N,t){var y=t("ItGF"),p=t("hOwI"),S=p.buildTransformer,m="___zrEVENTSAVED",g=[];function f(i,o,r,l,e){return d(g,o,l,e,!0)&&d(i,r,g[0],g[1])}function d(i,o,r,l,e){if(o.getBoundingClientRect&&y.domSupported&&!n(o)){var s=o[m]||(o[m]={}),u=c(o,s),h=a(u,s,e);if(h)return h(i,r,l),!0}return!1}function c(i,o){var r=o.markers;if(r)return r;r=o.markers=[];for(var l=["left","right"],e=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),h=u.style,A=s%2,v=(s>>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+(_e<ee?6:0);break;case _e:Ee=(ee-oe)/ce+2;break;case ee:Ee=(oe-_e)/ce+4;break}Ee/=6}return{h:Ee,s:ue,l:re}}function l(oe,_e,ee){var ne,Ge,Ee;oe=k(oe,360),_e=k(_e,100),ee=k(ee,100);function ue(ke,Te,Ke){return Ke<0&&(Ke+=1),Ke>1&&(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<ee?6:0);break;case _e:Ee=(ee-oe)/ce+2;break;case ee:Ee=(oe-_e)/ce+4;break}Ee/=6}return{h:Ee,s:ue,v:re}}function s(oe,_e,ee){oe=k(oe,360)*6,_e=k(_e,100),ee=k(ee,100);var ne=p.floor(oe),Ge=oe-ne,Ee=ee*(1-_e),ue=ee*(1-Ge*_e),re=ee*(1-(1-Ge)*_e),ce=ne%6,ke=[ee,ue,Ee,Ee,re,ee][ce],Te=[re,ee,ee,ue,Ee,Ee][ce],Ke=[Ee,Ee,re,ee,ee,ue][ce];return{r:ke*255,g:Te*255,b:Ke*255}}function u(oe,_e,ee,ne){var Ge=[X(f(oe).toString(16)),X(f(_e).toString(16)),X(f(ee).toString(16))];return ne&&Ge[0].charAt(0)==Ge[0].charAt(1)&&Ge[1].charAt(0)==Ge[1].charAt(1)&&Ge[2].charAt(0)==Ge[2].charAt(1)?Ge[0].charAt(0)+Ge[1].charAt(0)+Ge[2].charAt(0):Ge.join("")}function h(oe,_e,ee,ne,Ge){var Ee=[X(f(oe).toString(16)),X(f(_e).toString(16)),X(f(ee).toString(16)),X(de(ne))];return Ge&&Ee[0].charAt(0)==Ee[0].charAt(1)&&Ee[1].charAt(0)==Ee[1].charAt(1)&&Ee[2].charAt(0)==Ee[2].charAt(1)&&Ee[3].charAt(0)==Ee[3].charAt(1)?Ee[0].charAt(0)+Ee[1].charAt(0)+Ee[2].charAt(0)+Ee[3].charAt(0):Ee.join("")}function A(oe,_e,ee,ne){var Ge=[X(de(ne)),X(f(oe).toString(16)),X(f(_e).toString(16)),X(f(ee).toString(16))];return Ge.join("")}n.equals=function(oe,_e){return!oe||!_e?!1:n(oe).toRgbString()==n(_e).toRgbString()},n.random=function(){return n.fromRatio({r:a(),g:a(),b:a()})};function v(oe,_e){_e=_e===0?0:_e||10;var ee=n(oe).toHsl();return ee.s-=_e/100,ee.s=K(ee.s),n(ee)}function w(oe,_e){_e=_e===0?0:_e||10;var ee=n(oe).toHsl();return ee.s+=_e/100,ee.s=K(ee.s),n(ee)}function b(oe){return n(oe).desaturate(100)}function E(oe,_e){_e=_e===0?0:_e||10;var ee=n(oe).toHsl();return ee.l+=_e/100,ee.l=K(ee.l),n(ee)}function T(oe,_e){_e=_e===0?0:_e||10;var ee=n(oe).toRgb();return ee.r=c(0,d(255,ee.r-f(255*-(_e/100)))),ee.g=c(0,d(255,ee.g-f(255*-(_e/100)))),ee.b=c(0,d(255,ee.b-f(255*-(_e/100)))),n(ee)}function _(oe,_e){_e=_e===0?0:_e||10;var ee=n(oe).toHsl();return ee.l-=_e/100,ee.l=K(ee.l),n(ee)}function x(oe,_e){var ee=n(oe).toHsl(),ne=(ee.h+_e)%360;return ee.h=ne<0?360+ne:ne,n(ee)}function C(oe){var _e=n(oe).toHsl();return _e.h=(_e.h+180)%360,n(_e)}function I(oe){var _e=n(oe).toHsl(),ee=_e.h;return[n(oe),n({h:(ee+120)%360,s:_e.s,l:_e.l}),n({h:(ee+240)%360,s:_e.s,l:_e.l})]}function L(oe){var _e=n(oe).toHsl(),ee=_e.h;return[n(oe),n({h:(ee+90)%360,s:_e.s,l:_e.l}),n({h:(ee+180)%360,s:_e.s,l:_e.l}),n({h:(ee+270)%360,s:_e.s,l:_e.l})]}function F(oe){var _e=n(oe).toHsl(),ee=_e.h;return[n(oe),n({h:(ee+72)%360,s:_e.s,l:_e.l}),n({h:(ee+216)%360,s:_e.s,l:_e.l})]}function B(oe,_e,ee){_e=_e||6,ee=ee||30;var ne=n(oe).toHsl(),Ge=360/ee,Ee=[n(oe)];for(ne.h=(ne.h-(Ge*_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<a.length;e++)a[e]=(a[e]<<8|a[e]>>>24)&16711935|(a[e]<<24|a[e]>>>8)&4278255360;a[n>>>5]|=128<<n%32,a[(n+64>>>9<<4)+14]=n;for(var s=f._ff,u=f._gg,h=f._hh,A=f._ii,e=0;e<a.length;e+=16){var v=i,w=o,b=r,E=l;i=s(i,o,r,l,a[e+0],7,-680876936),l=s(l,i,o,r,a[e+1],12,-389564586),r=s(r,l,i,o,a[e+2],17,606105819),o=s(o,r,l,i,a[e+3],22,-1044525330),i=s(i,o,r,l,a[e+4],7,-176418897),l=s(l,i,o,r,a[e+5],12,1200080426),r=s(r,l,i,o,a[e+6],17,-1473231341),o=s(o,r,l,i,a[e+7],22,-45705983),i=s(i,o,r,l,a[e+8],7,1770035416),l=s(l,i,o,r,a[e+9],12,-1958414417),r=s(r,l,i,o,a[e+10],17,-42063),o=s(o,r,l,i,a[e+11],22,-1990404162),i=s(i,o,r,l,a[e+12],7,1804603682),l=s(l,i,o,r,a[e+13],12,-40341101),r=s(r,l,i,o,a[e+14],17,-1502002290),o=s(o,r,l,i,a[e+15],22,1236535329),i=u(i,o,r,l,a[e+1],5,-165796510),l=u(l,i,o,r,a[e+6],9,-1069501632),r=u(r,l,i,o,a[e+11],14,643717713),o=u(o,r,l,i,a[e+0],20,-373897302),i=u(i,o,r,l,a[e+5],5,-701558691),l=u(l,i,o,r,a[e+10],9,38016083),r=u(r,l,i,o,a[e+15],14,-660478335),o=u(o,r,l,i,a[e+4],20,-405537848),i=u(i,o,r,l,a[e+9],5,568446438),l=u(l,i,o,r,a[e+14],9,-1019803690),r=u(r,l,i,o,a[e+3],14,-187363961),o=u(o,r,l,i,a[e+8],20,1163531501),i=u(i,o,r,l,a[e+13],5,-1444681467),l=u(l,i,o,r,a[e+2],9,-51403784),r=u(r,l,i,o,a[e+7],14,1735328473),o=u(o,r,l,i,a[e+12],20,-1926607734),i=h(i,o,r,l,a[e+5],4,-378558),l=h(l,i,o,r,a[e+8],11,-2022574463),r=h(r,l,i,o,a[e+11],16,1839030562),o=h(o,r,l,i,a[e+14],23,-35309556),i=h(i,o,r,l,a[e+1],4,-1530992060),l=h(l,i,o,r,a[e+4],11,1272893353),r=h(r,l,i,o,a[e+7],16,-155497632),o=h(o,r,l,i,a[e+10],23,-1094730640),i=h(i,o,r,l,a[e+13],4,681279174),l=h(l,i,o,r,a[e+0],11,-358537222),r=h(r,l,i,o,a[e+3],16,-722521979),o=h(o,r,l,i,a[e+6],23,76029189),i=h(i,o,r,l,a[e+9],4,-640364487),l=h(l,i,o,r,a[e+12],11,-421815835),r=h(r,l,i,o,a[e+15],16,530742520),o=h(o,r,l,i,a[e+2],23,-995338651),i=A(i,o,r,l,a[e+0],6,-198630844),l=A(l,i,o,r,a[e+7],10,1126891415),r=A(r,l,i,o,a[e+14],15,-1416354905),o=A(o,r,l,i,a[e+5],21,-57434055),i=A(i,o,r,l,a[e+12],6,1700485571),l=A(l,i,o,r,a[e+3],10,-1894986606),r=A(r,l,i,o,a[e+10],15,-1051523),o=A(o,r,l,i,a[e+1],21,-2054922799),i=A(i,o,r,l,a[e+8],6,1873313359),l=A(l,i,o,r,a[e+15],10,-30611744),r=A(r,l,i,o,a[e+6],15,-1560198380),o=A(o,r,l,i,a[e+13],21,1309151649),i=A(i,o,r,l,a[e+4],6,-145523070),l=A(l,i,o,r,a[e+11],10,-1120210379),r=A(r,l,i,o,a[e+2],15,718787259),o=A(o,r,l,i,a[e+9],21,-343485551),i=i+v>>>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<<i|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<<i|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<<i|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<<i|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||o<g-r&&o<d-r&&o<a-r||i>m+r&&i>f+r&&i>c+r||i<m-r&&i<f-r&&i<c-r)return!1;var l=p(m,g,f,d,c,a,i,o,null);return l<=r/2}N.containStroke=S},aTJb:function(R,N,t){var y=t("bLfw");y.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(R,N,t){var y=t("3gBT"),p=t("ItGF"),S=t("bYtY"),m=t("0s+r"),g=t("r6Bn"),f=t("7SHv"),d=t("MKOG"),c=t("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var a=!p.canvasSupported,n={canvas:f},i={},o="4.3.1";function r(A,v){var w=new h(y(),A,v);return i[w.id]=w,w}function l(A){if(A)A.dispose();else{for(var v in i)i.hasOwnProperty(v)&&i[v].dispose();i={}}return this}function e(A){return i[A]}function s(A,v){n[A]=v}function u(A){delete i[A]}var h=function(v,w,b){b=b||{},this.dom=w,this.id=v;var E=this,T=new g,_=b.renderer;if(a){if(!n.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");_="vml"}else(!_||!n[_])&&(_="canvas");var x=new n[_](w,T,b,v);this.storage=T,this.painter=x;var C=!p.node&&!p.worker?new c(x.getViewportRoot(),x.root):null;this.handler=new m(T,x,C,x.root),this.animation=new d({stage:{update:S.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=T.delFromStorage,L=T.addToStorage;T.delFromStorage=function(F){I.call(T,F),F&&F.removeSelfFromZr(E)},T.addToStorage=function(F){L.call(T,F),F.addSelfToZr(E)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(v){this.storage.addRoot(v),this._needsRefresh=!0},remove:function(v){this.storage.delRoot(v),this._needsRefresh=!0},configLayer:function(v,w){this.painter.configLayer&&this.painter.configLayer(v,w),this._needsRefresh=!0},setBackgroundColor:function(v){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(v),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var v;this._needsRefresh&&(v=!0,this.refreshImmediately()),this._needsRefreshHover&&(v=!0,this.refreshHoverImmediately()),v&&this.trigger("rendered")},addHover:function(v,w){if(this.painter.addHover){var b=this.painter.addHover(v,w);return this.refreshHover(),b}},removeHover:function(v){this.painter.removeHover&&(this.painter.removeHover(v),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(v){v=v||{},this.painter.resize(v.width,v.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(v,w){return this.painter.pathToImage(v,w)},setCursorStyle:function(v){this.handler.setCursorStyle(v)},findHover:function(v,w){return this.handler.findHover(v,w)},on:function(v,w,b){this.handler.on(v,w,b)},off:function(v,w){this.handler.off(v,w)},trigger:function(v,w){this.handler.trigger(v,w)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},N.version=o,N.init=r,N.dispose=l,N.getInstance=e,N.registerPainter=s},aX7z:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("GMDS"),g=t("ieMj"),f=t("4NgU"),d=t("OELB"),c=t("nVfU"),a=c.prepareLayoutBarSeries,n=c.makeColumnLayout,i=c.retrieveColumnLayout,o=t("mFDi");t("IWp7"),t("jCoz");function r(T,_){var x=T.type,C=_.getMin(),I=_.getMax(),L=T.getExtent(),F,B,P;x==="ordinal"?F=_.getCategories().length:(B=_.get("boundaryGap"),S.isArray(B)||(B=[B||0,B||0]),typeof B[0]=="boolean"&&(B=[0,0]),B[0]=d.parsePercent(B[0],1),B[1]=d.parsePercent(B[1],1),P=L[1]-L[0]||Math.abs(L[0])),C==="dataMin"?C=L[0]:typeof C=="function"&&(C=C({min:L[0],max:L[1]})),I==="dataMax"?I=L[1]:typeof I=="function"&&(I=I({min:L[0],max:L[1]}));var H=C!=null,z=I!=null;C==null&&(C=x==="ordinal"?F?0:NaN:L[0]-B[0]*P),I==null&&(I=x==="ordinal"?F?F-1:NaN:L[1]+B[1]*P),(C==null||!isFinite(C))&&(C=NaN),(I==null||!isFinite(I))&&(I=NaN),T.setBlank(S.eqNaN(C)||S.eqNaN(I)||x==="ordinal"&&!T.getOrdinalMeta().categories.length),_.getNeedCrossZero()&&(C>0&&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;M<L;M+=z){var U=I?I[M]:F[0]+M,k=P(U),K=B.getTextRect(k),j=w(K,B.get("rotate")||0);H?H.union(j):H=j}return H}function w(T,_){var x=_*Math.PI/180,C=T.plain(),I=C.width,L=C.height,F=I*Math.cos(x)+L*Math.sin(x),B=I*Math.sin(x)+L*Math.cos(x),P=new o(C.x,C.y,F,B);return P}function b(T){var _=T.get("interval");return _==null?"auto":_}function E(T){return T.type==="category"&&b(T.getLabelModel())===0}N.getScaleExtent=r,N.niceScaleExtent=e,N.createScaleByModel=s,N.ifAxisCrossZero=u,N.makeLabelFormatter=h,N.getAxisRawValue=A,N.estimateLabelUnionRect=v,N.getOptionCategoryInterval=b,N.shouldShowAllLabels=E},"af/B":function(R,N,t){var y=t("bYtY"),p=y.each,S=y.map,m=y.isFunction,g=y.createHashMap,f=y.noop,d=t("9H2F"),c=d.createTask,a=t("iRjW"),n=a.getUID,i=t("fmMI"),o=t("hD7B"),r=t("4NO4"),l=r.normalizeToArray;function e(k,K,j,V){this.ecInstance=k,this.api=K,this.unfinished;var j=this._dataProcessorHandlers=j.slice(),V=this._visualHandlers=V.slice();this._allHandlers=j.concat(V),this._stageTaskMap=g()}var s=e.prototype;s.restoreData=function(k,K){k.restoreData(K),this._stageTaskMap.each(function(j){var V=j.overallTask;V&&V.dirty()})},s.getPerformArgs=function(k,K){if(!k.__pipeline)return;var j=this._pipelineMap.get(k.__pipeline.id),V=j.context,W=!K&&j.progressiveEnabled&&(!V||V.progressiveRender)&&k.__idxInPipeline>j.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<K.end;X++)W.dataEach(V,X);else W&&W.progress&&W.progress(K,V)}}function L(k){return k.data.count()}function F(k,K,j){var V=K.uid,W=k._pipelineMap.get(V);!W.head&&(W.head=j),W.tail&&W.tail.pipe(j),W.tail=j,j.__idxInPipeline=W.count++,j.__pipeline=W}e.wrapStageHandler=function(k,K){return m(k)&&(k={overallReset:k,seriesType:B(k)}),k.uid=n("stageHandler"),K&&(k.visualType=K),k};function B(k){z=null;try{k(P,H)}catch(K){}return z}var P={},H={},z;M(P,i),M(H,o),P.eachSeriesByType=P.eachRawSeriesByType=function(k){z=k},P.eachComponent=function(k){k.mainType==="series"&&k.subType&&(z=k.subType)};function M(k,K){for(var j in K.prototype)k[j]=f}var U=e;R.exports=U},akwb:function(R,N,t){var y=t("RSch"),p=t("bYtY"),S=t("D9ME"),m=t("QBsz");function g(c,a,n){S.call(this,c,a,n),this._lastFrame=0,this._lastFramePercent=0}var f=g.prototype;f.createLine=function(c,a,n){return new y(c,a,n)},f.updateAnimationPoints=function(c,a){this._points=a;for(var n=[0],i=0,o=1;o<a.length;o++){var r=a[o-1],l=a[o];i+=m.dist(r,l),n.push(i)}if(i===0)return;for(var o=0;o<n.length;o++)n[o]/=i;this._offsets=n,this._length=i},f.getLineLength=function(c){return this._length},f.updateSymbolPosition=function(c){var a=c.__t,n=this._points,i=this._offsets,o=n.length;if(!i)return;var r=this._lastFrame,l;if(a<this._lastFramePercent){var e=Math.min(r+1,o-1);for(l=e;l>=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(var l=r;l<o&&!(i[l]>a);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;C<T.length;C++){if(u){var I=E(w,A,C);w[I].push(new f.Circle({shape:{cx:_,cy:x,r:T[C].coord}}))}if(h&&C<T.length-1){var I=E(b,v,C);b[I].push(new f.Ring({shape:{cx:_,cy:x,r0:T[C].coord,r:T[C+1].coord}}))}}else for(var L,F=m.map(i,function(U,k){var K=U.getTicksCoords();return L=L==null?K.length-1:Math.min(K.length-1,L),m.map(K,function(j){return n.coordToPoint(j.coord,k)})}),B=[],C=0;C<=L;C++){for(var P=[],H=0;H<i.length;H++)P.push(F[H][C]);if(P[0]&&P.push(P[0].slice()),u){var I=E(w,A,C);w[I].push(new f.Polyline({shape:{points:P}}))}if(h&&B){var I=E(b,v,C-1);b[I].push(new f.Polygon({shape:{points:P.concat(B)}}))}B=P.slice().reverse()}var z=e.getLineStyle(),M=s.getAreaStyle();m.each(b,function(U,k){this.group.add(f.mergePath(U,{style:m.defaults({stroke:"none",fill:v[k%v.length]},M),silent:!0}))},this),m.each(w,function(U,k){this.group.add(f.mergePath(U,{style:m.defaults({fill:"none",stroke:A[k%A.length]},z),silent:!0}))},this)}});R.exports=c},bBL8:function(R,N,t){var y=t("ProS");t("LPzL"),t("rfSb"),t("JVwQ");var p=t("UnoB"),S=t("cbJ4"),m=t("0/Rx");y.registerLayout(p),y.registerVisual(S),y.registerProcessor(m("themeRiver"))},bE4E:function(R,N,t){},bE4q:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("RIqP"),f=t.n(g),d=t("q1tI"),c=t("TSYQ"),a=t.n(c),n=t("Zm9Q"),i=t("HQEm"),o=t.n(i),r=t("XBQK"),l=t("H84U"),e=function(B,P){var H={};for(var z in B)Object.prototype.hasOwnProperty.call(B,z)&&P.indexOf(z)<0&&(H[z]=B[z]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(B);M<z.length;M++)P.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(B,z[M])&&(H[z[M]]=B[z[M]]);return H},s=function(P){var H=P.prefixCls,z=P.separator,M=z===void 0?"/":z,U=P.children,k=P.overlay,K=P.dropdownProps,j=e(P,["prefixCls","separator","children","overlay","dropdownProps"]),V=d.useContext(l.b),W=V.getPrefixCls,X=W("breadcrumb",H),J=function(ae){return k?d.createElement(r.a,p()({overlay:k,placement:"bottomCenter"},K),d.createElement("span",{className:"".concat(X,"-overlay-link")},ae,d.createElement(o.a,null))):ae},de;return"href"in j?de=d.createElement("a",p()({className:"".concat(X,"-link")},j),U):de=d.createElement("span",p()({className:"".concat(X,"-link")},j),U),de=J(de),U?d.createElement("span",null,de,M&&M!==""&&d.createElement("span",{className:"".concat(X,"-separator")},M)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,h=function(P){var H=P.children,z=d.useContext(l.b),M=z.getPrefixCls,U=M("breadcrumb");return d.createElement("span",{className:"".concat(U,"-separator")},H||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var A=h,v=t("BvKs"),w=t("uaoM"),b=t("0n0R"),E=function(B,P){var H={};for(var z in B)Object.prototype.hasOwnProperty.call(B,z)&&P.indexOf(z)<0&&(H[z]=B[z]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,z=Object.getOwnPropertySymbols(B);M<z.length;M++)P.indexOf(z[M])<0&&Object.prototype.propertyIsEnumerable.call(B,z[M])&&(H[z[M]]=B[z[M]]);return H};function T(B,P){if(!B.breadcrumbName)return null;var H=Object.keys(P).join("|"),z=B.breadcrumbName.replace(new RegExp(":(".concat(H,")"),"g"),function(M,U){return P[U]||M});return z}function _(B,P,H,z){var M=H.indexOf(B)===H.length-1,U=T(B,P);return M?d.createElement("span",null,U):d.createElement("a",{href:"#/".concat(z.join("/"))},U)}var x=function(P,H){return P=(P||"").replace(/^\//,""),Object.keys(H).forEach(function(z){P=P.replace(":".concat(z),H[z])}),P},C=function(P){var H=arguments.length>1&&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;k<I-1;k++){var K=C[k];_.moveTo(K[0],K[1]),U[H]=K[H],_.lineTo(U[0],U[1])}}}),h=f.extendChartView({type:"tree",init:function(_,x){this._oldTree,this._mainGroup=new p.Group,this._controller=new n(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(_,x,C,I){var L=_.getData(),F=_.layoutInfo,B=this._mainGroup,P=_.get("layout");P==="radial"?B.attr("position",[F.x+F.width/2,F.y+F.height/2]):B.attr("position",[F.x,F.y]),this._updateViewCoordSys(_,F,P),this._updateController(_,x,C);var H=this._data,z={expandAndCollapse:_.get("expandAndCollapse"),layout:P,edgeShape:_.get("edgeShape"),edgeForkPosition:_.get("edgeForkPosition"),orient:_.getOrient(),curvature:_.get("lineStyle.curveness"),symbolRotate:_.get("symbolRotate"),symbolOffset:_.get("symbolOffset"),hoverAnimation:_.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(H).add(function(M){A(L,M)&&w(L,M,null,B,_,z)}).update(function(M,U){var k=H.getItemGraphicEl(U);if(!A(L,M)){k&&E(H,U,k,B,_,z);return}w(L,M,k,B,_,z)}).remove(function(M){var U=H.getItemGraphicEl(M);U&&E(H,M,U,B,_,z)}).execute(),this._nodeScaleRatio=_.get("nodeScaleRatio"),this._updateNodeAndLinkScale(_),z.expandAndCollapse===!0&&L.eachItemGraphicEl(function(M,U){M.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:_.id,dataIndex:U})})}),this._data=L},_updateViewCoordSys:function(_){var x=_.getData(),C=[];x.each(function(H){var z=x.getItemLayout(H);z&&!isNaN(z.x)&&!isNaN(z.y)&&C.push([+z.x,+z.y])});var I=[],L=[];d.fromPoints(C,I,L);var F=this._min,B=this._max;L[0]-I[0]===0&&(I[0]=F?F[0]:I[0]-1,L[0]=B?B[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=F?F[1]:I[1]-1,L[1]=B?B[1]:L[1]+1);var P=_.coordinateSystem=new c;P.zoomLimit=_.get("scaleLimit"),P.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),P.setCenter(_.get("center")),P.setZoom(_.get("zoom")),this.group.attr({position:P.position,scale:P.scale}),this._viewCoordSys=P,this._min=I,this._max=L},_updateController:function(_,x,C){var I=this._controller,L=this._controllerHost,F=this.group;I.setPointerChecker(function(B,P,H){var z=F.getBoundingRect();return z.applyTransform(F.transform),z.contain(P,H)&&!o(B,C,_)}),I.enable(_.get("roam")),L.zoomLimit=_.get("scaleLimit"),L.zoom=_.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(B){a.updateViewOnPan(L,B.dx,B.dy),C.dispatchAction({seriesId:_.id,type:"treeRoam",dx:B.dx,dy:B.dy})},this).on("zoom",function(B){a.updateViewOnZoom(L,B.scale,B.originX,B.originY),C.dispatchAction({seriesId:_.id,type:"treeRoam",zoom:B.scale,originX:B.originX,originY:B.originY}),this._updateNodeAndLinkScale(_)},this)},_updateNodeAndLinkScale:function(_){var x=_.getData(),C=this._getNodeGlobalScale(_),I=[C,C];x.eachItemGraphicEl(function(L,F){L.attr("scale",I)})},_getNodeGlobalScale:function(_){var x=_.coordinateSystem;if(x.type!=="view")return 1;var C=this._nodeScaleRatio,I=x.scale,L=I&&I[0]||1,F=x.getZoom(),B=(F-1)*C+1;return B/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function A(_,x){var C=_.getItemLayout(x);return C&&!isNaN(C.x)&&!isNaN(C.y)&&_.getItemVisual(x,"symbol")!=="none"}function v(_,x,C){return C.itemModel=x,C.itemStyle=x.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=x.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=x.getModel("lineStyle").getLineStyle(),C.labelModel=x.getModel("label"),C.hoverLabelModel=x.getModel("emphasis.label"),_.isExpand===!1&&_.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function w(_,x,C,I,L,F){var B=!C,P=_.tree.getNodeByDataIndex(x),H=P.getModel(),F=v(P,H,F),z=_.tree.root,M=P.parentNode===z?P:P.parentNode||P,U=_.getItemGraphicEl(M.dataIndex),k=M.getLayout(),K=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:k,j=P.getLayout();B?(C=new S(_,x,F),C.attr("position",[K.x,K.y])):C.updateData(_,x,F),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=j.rawX,C.__radialRawY=j.rawY,I.add(C),_.setItemGraphicEl(x,C),p.updateProps(C,{position:[j.x,j.y]},L);var V=C.getSymbolPath();if(F.layout==="radial"){var W=z.children[0],X=W.getLayout(),J=W.children.length,de,G;if(j.x===X.x&&P.isExpand===!0){var ae={};ae.x=(W.children[0].getLayout().x+W.children[J-1].getLayout().x)/2,ae.y=(W.children[0].getLayout().y+W.children[J-1].getLayout().y)/2,de=Math.atan2(ae.y-X.y,ae.x-X.x),de<0&&(de=Math.PI*2+de),G=ae.x<X.x,G&&(de=de-Math.PI)}else de=Math.atan2(j.y-X.y,j.x-X.x),de<0&&(de=Math.PI*2+de),P.children.length===0||P.children.length!==0&&P.isExpand===!1?(G=j.x<X.x,G&&(de=de-Math.PI)):(G=j.x>X.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<U.length;K++){var j=U[K].getLayout();k.push([j.x,j.y])}M||(M=I.__edge=new u({shape:{parentPoint:[B.x,B.y],childPoints:[[B.x,B.y]],orient:H.orient,forkPosition:H.edgeForkPosition},style:y.defaults({opacity:0,strokeNoScale:!0},H.lineStyle)})),p.updateProps(M,{shape:{parentPoint:[B.x,B.y],childPoints:k},style:{opacity:1}},_)}P.add(M)}function E(_,x,C,I,L,F){for(var B=_.tree.getNodeByDataIndex(x),P=_.tree.root,H=B.getModel(),F=v(B,H,F),z=B.parentNode===P?B:B.parentNode||B,M=F.edgeShape,U;U=z.getLayout(),U==null;)z=z.parentNode===P?z:z.parentNode||z;p.updateProps(C,{position:[U.x+1,U.y+1]},L,function(){I.remove(C),_.setItemGraphicEl(x,null)}),C.fadeOut(null,{keepLabel:!0});var k=_.getItemGraphicEl(z.dataIndex),K=k.__edge,j=C.__edge||(z.isExpand===!1||z.children.length===1?K:void 0),M=F.edgeShape;j&&(M==="curve"?p.updateProps(j,{shape:T(F,U,U),style:{opacity:0}},L,function(){I.remove(j)}):M==="polyline"&&F.layout==="orthogonal"&&p.updateProps(j,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},L,function(){I.remove(j)}))}function T(_,x,C){var I,L,F,B,P=_.orient,H,z,M,U;if(_.layout==="radial"){H=x.rawX,M=x.rawY,z=C.rawX,U=C.rawY;var k=g(H,M),K=g(H,M+(U-M)*_.curvature),j=g(z,U+(M-U)*_.curvature),V=g(z,U);return{x1:k.x,y1:k.y,x2:V.x,y2:V.y,cpx1:K.x,cpy1:K.y,cpx2:j.x,cpy2:j.y}}else H=x.x,M=x.y,z=C.x,U=C.y,(P==="LR"||P==="RL")&&(I=H+(z-H)*_.curvature,L=M,F=z+(H-z)*_.curvature,B=U),(P==="TB"||P==="BT")&&(I=H,L=M+(U-M)*_.curvature,F=z,B=U+(M-U)*_.curvature);return{x1:H,y1:M,x2:z,y2:U,cpx1:I,cpy1:L,cpx2:F,cpy2:B}}R.exports=h},bT9E:function(R,N,t){"use strict";t.d(N,"a",function(){return p});var y=t("VTBJ");function p(S,m){var g=Object(y.a)({},S);return Array.isArray(m)&&m.forEach(function(f){delete g[f]}),g}},bX4T:function(R,N,t){"use strict";t.d(N,"a",function(){return c});var y=t("VTBJ"),p=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,S=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,m="".concat(p," ").concat(S).split(/[\s\n]+/),g="aria-",f="data-";function d(a,n){return a.indexOf(n)===0}function c(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i;n===!1?i={aria:!0,data:!0,attr:!0}:n===!0?i={aria:!0}:i=Object(y.a)({},n);var o={};return Object.keys(a).forEach(function(r){(i.aria&&(r==="role"||d(r,g))||i.data&&d(r,f)||i.attr&&m.includes(r))&&(o[r]=a[r])}),o}},bYtY:function(R,N){var t={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},y={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},p=Object.prototype.toString,S=Array.prototype,m=S.forEach,g=S.filter,f=S.slice,d=S.map,c=S.reduce,a={};function n(ee,ne){ee==="createCanvas"&&(u=null),a[ee]=ne}function i(ee){if(ee==null||typeof ee!="object")return ee;var ne=ee,Ge=p.call(ee);if(Ge==="[object Array]"){if(!Ae(ee)){ne=[];for(var Ee=0,ue=ee.length;Ee<ue;Ee++)ne[Ee]=i(ee[Ee])}}else if(y[Ge]){if(!Ae(ee)){var re=ee.constructor;if(ee.constructor.from)ne=re.from(ee);else{ne=new re(ee.length);for(var Ee=0,ue=ee.length;Ee<ue;Ee++)ne[Ee]=i(ee[Ee])}}}else if(!t[Ge]&&!Ae(ee)&&!U(ee)){ne={};for(var ce in ee)ee.hasOwnProperty(ce)&&(ne[ce]=i(ee[ce]))}return ne}function o(ee,ne,Ge){if(!H(ne)||!H(ee))return Ge?i(ne):ee;for(var Ee in ne)if(ne.hasOwnProperty(Ee)){var ue=ee[Ee],re=ne[Ee];H(re)&&H(ue)&&!F(re)&&!F(ue)&&!U(re)&&!U(ue)&&!z(re)&&!z(ue)&&!Ae(re)&&!Ae(ue)?o(ue,re,Ge):(Ge||!(Ee in ee))&&(ee[Ee]=i(ne[Ee],!0))}return ee}function r(ee,ne){for(var Ge=ee[0],Ee=1,ue=ee.length;Ee<ue;Ee++)Ge=o(Ge,ee[Ee],ne);return Ge}function l(ee,ne){for(var Ge in ne)ne.hasOwnProperty(Ge)&&(ee[Ge]=ne[Ge]);return ee}function e(ee,ne,Ge){for(var Ee in ne)ne.hasOwnProperty(Ee)&&(Ge?ne[Ee]!=null:ee[Ee]==null)&&(ee[Ee]=ne[Ee]);return ee}var s=function(){return a.createCanvas()};a.createCanvas=function(){return document.createElement("canvas")};var u;function h(){return u||(u=s().getContext("2d")),u}function A(ee,ne){if(ee){if(ee.indexOf)return ee.indexOf(ne);for(var Ge=0,Ee=ee.length;Ge<Ee;Ge++)if(ee[Ge]===ne)return Ge}return-1}function v(ee,ne){var Ge=ee.prototype;function Ee(){}Ee.prototype=ne.prototype,ee.prototype=new Ee;for(var ue in Ge)Ge.hasOwnProperty(ue)&&(ee.prototype[ue]=Ge[ue]);ee.prototype.constructor=ee,ee.superClass=ne}function w(ee,ne,Ge){ee="prototype"in ee?ee.prototype:ee,ne="prototype"in ne?ne.prototype:ne,e(ee,ne,Ge)}function b(ee){return ee?typeof ee=="string"?!1:typeof ee.length=="number":void 0}function E(ee,ne,Ge){if(!(ee&&ne))return;if(ee.forEach&&ee.forEach===m)ee.forEach(ne,Ge);else if(ee.length===+ee.length)for(var Ee=0,ue=ee.length;Ee<ue;Ee++)ne.call(Ge,ee[Ee],Ee,ee);else for(var re in ee)ee.hasOwnProperty(re)&&ne.call(Ge,ee[re],re,ee)}function T(ee,ne,Ge){if(!(ee&&ne))return;if(ee.map&&ee.map===d)return ee.map(ne,Ge);for(var Ee=[],ue=0,re=ee.length;ue<re;ue++)Ee.push(ne.call(Ge,ee[ue],ue,ee));return Ee}function _(ee,ne,Ge,Ee){if(!(ee&&ne))return;if(ee.reduce&&ee.reduce===c)return ee.reduce(ne,Ge,Ee);for(var ue=0,re=ee.length;ue<re;ue++)Ge=ne.call(Ee,Ge,ee[ue],ue,ee);return Ge}function x(ee,ne,Ge){if(!(ee&&ne))return;if(ee.filter&&ee.filter===g)return ee.filter(ne,Ge);for(var Ee=[],ue=0,re=ee.length;ue<re;ue++)ne.call(Ge,ee[ue],ue,ee)&&Ee.push(ee[ue]);return Ee}function C(ee,ne,Ge){if(!(ee&&ne))return;for(var Ee=0,ue=ee.length;Ee<ue;Ee++)if(ne.call(Ge,ee[Ee],Ee,ee))return ee[Ee]}function I(ee,ne){var Ge=f.call(arguments,2);return function(){return ee.apply(ne,Ge.concat(f.call(arguments)))}}function L(ee){var ne=f.call(arguments,1);return function(){return ee.apply(this,ne.concat(f.call(arguments)))}}function F(ee){return p.call(ee)==="[object Array]"}function B(ee){return typeof ee=="function"}function P(ee){return p.call(ee)==="[object String]"}function H(ee){var ne=typeof ee;return ne==="function"||!!ee&&ne==="object"}function z(ee){return!!t[p.call(ee)]}function M(ee){return!!y[p.call(ee)]}function U(ee){return typeof ee=="object"&&typeof ee.nodeType=="number"&&typeof ee.ownerDocument=="object"}function k(ee){return ee!==ee}function K(ee){for(var ne=0,Ge=arguments.length;ne<Ge;ne++)if(arguments[ne]!=null)return arguments[ne]}function j(ee,ne){return ee!=null?ee:ne}function V(ee,ne,Ge){return ee!=null?ee:ne!=null?ne:Ge}function W(){return Function.call.apply(f,arguments)}function X(ee){if(typeof ee=="number")return[ee,ee,ee,ee];var ne=ee.length;return ne===2?[ee[0],ee[1],ee[0],ee[1]]:ne===3?[ee[0],ee[1],ee[2],ee[1]]:ee}function J(ee,ne){if(!ee)throw new Error(ne)}function de(ee){return ee==null?null:typeof ee.trim=="function"?ee.trim():ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var G="__ec_primitive__";function ae(ee){ee[G]=!0}function Ae(ee){return ee[G]}function me(ee){var ne=F(ee);this.data={};var Ge=this;ee instanceof me?ee.each(Ee):ee&&E(ee,Ee);function Ee(ue,re){ne?Ge.set(ue,re):Ge.set(re,ue)}}me.prototype={constructor:me,get:function(ne){return this.data.hasOwnProperty(ne)?this.data[ne]:null},set:function(ne,Ge){return this.data[ne]=Ge},each:function(ne,Ge){Ge!==void 0&&(ne=I(ne,Ge));for(var Ee in this.data)this.data.hasOwnProperty(Ee)&&ne(this.data[Ee],Ee)},removeKey:function(ne){delete this.data[ne]}};function Me(ee){return new me(ee)}function oe(ee,ne){for(var Ge=new ee.constructor(ee.length+ne.length),Ee=0;Ee<ee.length;Ee++)Ge[Ee]=ee[Ee];var ue=ee.length;for(Ee=0;Ee<ne.length;Ee++)Ge[Ee+ue]=ne[Ee];return Ge}function _e(){}N.$override=n,N.clone=i,N.merge=o,N.mergeAll=r,N.extend=l,N.defaults=e,N.createCanvas=s,N.getContext=h,N.indexOf=A,N.inherits=v,N.mixin=w,N.isArrayLike=b,N.each=E,N.map=T,N.reduce=_,N.filter=x,N.find=C,N.bind=I,N.curry=L,N.isArray=F,N.isFunction=B,N.isString=P,N.isObject=H,N.isBuiltInObject=z,N.isTypedArray=M,N.isDom=U,N.eqNaN=k,N.retrieve=K,N.retrieve2=j,N.retrieve3=V,N.slice=W,N.normalizeCssArray=X,N.assert=J,N.trim=de,N.setAsPrimitive=ae,N.isPrimitive=Ae,N.createHashMap=Me,N.concatArray=oe,N.noop=_e},bZqE:function(R,N){function t(p,S,m){for(var g=[p],f=[],d;d=g.pop();)if(f.push(d),d.isExpand){var c=d.children;if(c.length)for(var a=0;a<c.length;a++)g.push(c[a])}for(;d=f.pop();)S(d,m)}function y(p,S){for(var m=[p],g;g=m.pop();)if(S(g),g.isExpand){var f=g.children;if(f.length)for(var d=f.length-1;d>=0;d--)m.push(f[d])}}N.eachAfter=t,N.eachBefore=y},bahg:function(R,N){function t(y){return y.split("")}R.exports=t},bbsP:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("CWI+"),m=t.n(S)},bogI:function(R,N,t){"use strict";t.d(N,"a",function(){return y});var y=function(S){if(!S)return null;var m=typeof S=="function";return m?S():S}},bsht: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:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};N.default=y},bx4M:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("q1tI"),f=t("TSYQ"),d=t.n(f),c=t("BGR+"),a=t("H84U"),n=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);I<C.length;I++)_.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},i=function(_){return g.createElement(a.a,null,function(x){var C=x.getPrefixCls,I=_.prefixCls,L=_.className,F=_.hoverable,B=F===void 0?!0:F,P=n(_,["prefixCls","className","hoverable"]),H=C("card",I),z=d()("".concat(H,"-grid"),L,p()({},"".concat(H,"-grid-hoverable"),B));return g.createElement("div",m()({},P,{className:z}))})},o=i,r=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);I<C.length;I++)_.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},l=function(_){return g.createElement(a.a,null,function(x){var C=x.getPrefixCls,I=_.prefixCls,L=_.className,F=_.avatar,B=_.title,P=_.description,H=r(_,["prefixCls","className","avatar","title","description"]),z=C("card",I),M=d()("".concat(z,"-meta"),L),U=F?g.createElement("div",{className:"".concat(z,"-meta-avatar")},F):null,k=B?g.createElement("div",{className:"".concat(z,"-meta-title")},B):null,K=P?g.createElement("div",{className:"".concat(z,"-meta-description")},P):null,j=k||K?g.createElement("div",{className:"".concat(z,"-meta-detail")},k,K):null;return g.createElement("div",m()({},H,{className:M}),U,j)})},e=l,s=t("ZTPi"),u=t("BMrR"),h=t("kPKH"),A=t("3Nzz"),v=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);I<C.length;I++)_.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x};function w(T){var _=T.map(function(x,C){return g.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(C)},g.createElement("span",null,x))});return _}var b=function(_){var x,C,I=g.useContext(a.b),L=I.getPrefixCls,F=I.direction,B=g.useContext(A.b),P=function(xt){_.onTabChange&&_.onTabChange(xt)},H=function(){var xt;return g.Children.forEach(_.children,function(Ot){Ot&&Ot.type&&Ot.type===o&&(xt=!0)}),xt},z=_.prefixCls,M=_.className,U=_.extra,k=_.headStyle,K=k===void 0?{}:k,j=_.bodyStyle,V=j===void 0?{}:j,W=_.title,X=_.loading,J=_.bordered,de=J===void 0?!0:J,G=_.size,ae=_.type,Ae=_.cover,me=_.actions,Me=_.tabList,oe=_.children,_e=_.activeTabKey,ee=_.defaultActiveTabKey,ne=_.tabBarExtraContent,Ge=_.hoverable,Ee=_.tabProps,ue=Ee===void 0?{}:Ee,re=v(_,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),ce=L("card",z),ke=V.padding===0||V.padding==="0px"?{padding:24}:void 0,Te=g.createElement("div",{className:"".concat(ce,"-loading-block")}),Ke=g.createElement("div",{className:"".concat(ce,"-loading-content"),style:ke},g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:22},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:8},Te),g.createElement(h.a,{span:15},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:6},Te),g.createElement(h.a,{span:18},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:13},Te),g.createElement(h.a,{span:9},Te)),g.createElement(u.a,{gutter:8},g.createElement(h.a,{span:4},Te),g.createElement(h.a,{span:3},Te),g.createElement(h.a,{span:16},Te))),Ie=_e!==void 0,se=m()(m()({},ue),(x={},p()(x,Ie?"activeKey":"defaultActiveKey",Ie?_e:ee),p()(x,"tabBarExtraContent",ne),x)),ye,xe=Me&&Me.length?g.createElement(s.a,m()({size:"large"},se,{className:"".concat(ce,"-head-tabs"),onChange:P}),Me.map(function(wt){return g.createElement(s.a.TabPane,{tab:wt.tab,disabled:wt.disabled,key:wt.key})})):null;(W||U||xe)&&(ye=g.createElement("div",{className:"".concat(ce,"-head"),style:K},g.createElement("div",{className:"".concat(ce,"-head-wrapper")},W&&g.createElement("div",{className:"".concat(ce,"-head-title")},W),U&&g.createElement("div",{className:"".concat(ce,"-extra")},U)),xe));var Ye=Ae?g.createElement("div",{className:"".concat(ce,"-cover")},Ae):null,pt=g.createElement("div",{className:"".concat(ce,"-body"),style:V},X?Ke:oe),nt=me&&me.length?g.createElement("ul",{className:"".concat(ce,"-actions")},w(me)):null,Oe=Object(c.default)(re,["onTabChange"]),vt=G||B,Ze=d()(ce,M,(C={},p()(C,"".concat(ce,"-loading"),X),p()(C,"".concat(ce,"-bordered"),de),p()(C,"".concat(ce,"-hoverable"),Ge),p()(C,"".concat(ce,"-contain-grid"),H()),p()(C,"".concat(ce,"-contain-tabs"),Me&&Me.length),p()(C,"".concat(ce,"-").concat(vt),vt),p()(C,"".concat(ce,"-type-").concat(ae),!!ae),p()(C,"".concat(ce,"-rtl"),F==="rtl"),C));return g.createElement("div",m()({},Oe,{className:Ze}),ye,Ye,pt,nt)};b.Grid=o,b.Meta=e;var E=N.a=b},c2i1:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("Yl7c"),g=m.enableClassCheck;function f(r){return"_EC_"+r}var d=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=d.prototype;c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(r,l){r=r==null?""+l:""+r;var e=this._nodesMap;if(e[f(r)])return;var s=new a(r,l);return s.hostGraph=this,this.nodes.push(s),e[f(r)]=s,s},c.getNodeByIndex=function(r){var l=this.data.getRawIndex(r);return this.nodes[l]},c.getNodeById=function(r){return this._nodesMap[f(r)]},c.addEdge=function(r,l,e){var s=this._nodesMap,u=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof l=="number"&&(l=this.nodes[l]),a.isInstance(r)||(r=s[f(r)]),a.isInstance(l)||(l=s[f(l)]),!r||!l)return;var h=r.id+"-"+l.id;if(u[h])return;var A=new n(r,l,e);return A.hostGraph=this,this._directed&&(r.outEdges.push(A),l.inEdges.push(A)),r.edges.push(A),r!==l&&l.edges.push(A),this.edges.push(A),u[h]=A,A},c.getEdgeByIndex=function(r){var l=this.edgeData.getRawIndex(r);return this.edges[l]},c.getEdge=function(r,l){a.isInstance(r)&&(r=r.id),a.isInstance(l)&&(l=l.id);var e=this._edgesMap;return this._directed?e[r+"-"+l]:e[r+"-"+l]||e[l+"-"+r]},c.eachNode=function(r,l){for(var e=this.nodes,s=e.length,u=0;u<s;u++)e[u].dataIndex>=0&&r.call(l,e[u],u)},c.eachEdge=function(r,l){for(var e=this.edges,s=e.length,u=0;u<s;u++)e[u].dataIndex>=0&&e[u].node1.dataIndex>=0&&e[u].node2.dataIndex>=0&&r.call(l,e[u],u)},c.breadthFirstTraverse=function(r,l,e,s){if(a.isInstance(l)||(l=this._nodesMap[f(l)]),!l)return;for(var u=e==="out"?"outEdges":e==="in"?"inEdges":"edges",h=0;h<this.nodes.length;h++)this.nodes[h].__visited=!1;if(r.call(s,l,null))return;for(var A=[l];A.length;)for(var v=A.shift(),w=v[u],h=0;h<w.length;h++){var b=w[h],E=b.node1===v?b.node2:b.node1;if(!E.__visited){if(r.call(s,E,v))return;A.push(E),E.__visited=!0}}},c.update=function(){for(var r=this.data,l=this.edgeData,e=this.nodes,s=this.edges,u=0,h=e.length;u<h;u++)e[u].dataIndex=-1;for(var u=0,h=r.count();u<h;u++)e[r.getRawIndex(u)].dataIndex=u;l.filterSelf(function(A){var v=s[l.getRawIndex(A)];return v.node1.dataIndex>=0&&v.node2.dataIndex>=0});for(var u=0,h=s.length;u<h;u++)s[u].dataIndex=-1;for(var u=0,h=l.count();u<h;u++)s[l.getRawIndex(u)].dataIndex=u},c.clone=function(){for(var r=new d(this._directed),l=this.nodes,e=this.edges,s=0;s<l.length;s++)r.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<e.length;s++){var u=e[s];r.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return r};function a(r,l){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}a.prototype={constructor:a,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(r){if(this.dataIndex<0)return;var l=this.hostGraph,e=l.data.getItemModel(this.dataIndex);return e.getModel(r)}};function n(r,l,e){this.node1=r,this.node2=l,this.dataIndex=e==null?-1:e}n.prototype.getModel=function(r){if(this.dataIndex<0)return;var l=this.hostGraph,e=l.edgeData.getItemModel(this.dataIndex);return e.getModel(r)};var i=function(r,l){return{getValue:function(e){var s=this[r][l];return s.get(s.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,s){this.dataIndex>=0&&this[r][l].setItemVisual(this.dataIndex,e,s)},getVisual:function(e,s){return this[r][l].getItemVisual(this.dataIndex,e,s)},setLayout:function(e,s){this.dataIndex>=0&&this[r][l].setItemLayout(this.dataIndex,e,s)},getLayout:function(){return this[r][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][l].getRawIndex(this.dataIndex)}}};S.mixin(a,i("hostGraph","data")),S.mixin(n,i("hostGraph","edgeData")),d.Node=a,d.Edge=n,g(a),g(n);var o=d;R.exports=o},c5Ni:function(R,N,t){},c5fP:function(R,N,t){"use strict";function y(Ze){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(xt){return typeof xt}:y=function(xt){return xt&&typeof Symbol=="function"&&xt.constructor===Symbol&&xt!==Symbol.prototype?"symbol":typeof xt},y(Ze)}Object.defineProperty(N,"__esModule",{value:!0}),N._tr_init=Ye,N._tr_stored_block=pt,N._tr_flush_block=Oe,N._tr_tally=vt,N._tr_align=nt;var p=m(t("6BzB"));function S(){if(typeof WeakMap!="function")return null;var Ze=new WeakMap;return S=function(){return Ze},Ze}function m(Ze){if(Ze&&Ze.__esModule)return Ze;if(Ze===null||y(Ze)!=="object"&&typeof Ze!="function")return{default:Ze};var wt=S();if(wt&&wt.has(Ze))return wt.get(Ze);var xt={},Ot=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Ze)if(Object.prototype.hasOwnProperty.call(Ze,Mt)){var Gt=Ot?Object.getOwnPropertyDescriptor(Ze,Mt):null;Gt&&(Gt.get||Gt.set)?Object.defineProperty(xt,Mt,Gt):xt[Mt]=Ze[Mt]}return xt.default=Ze,wt&&wt.set(Ze,xt),xt}var g=4,f=0,d=1,c=2;function a(Ze){for(var wt=Ze.length;--wt>=0;)Ze[wt]=0}var n=0,i=1,o=2,r=3,l=258,e=29,s=256,u=s+1+e,h=30,A=19,v=2*u+1,w=15,b=16,E=7,T=256,_=16,x=17,C=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=512,H=new Array((u+2)*2);a(H);var z=new Array(h*2);a(z);var M=new Array(P);a(M);var U=new Array(l-r+1);a(U);var k=new Array(e);a(k);var K=new Array(h);a(K);function j(Ze,wt,xt,Ot,Mt){this.static_tree=Ze,this.extra_bits=wt,this.extra_base=xt,this.elems=Ot,this.max_length=Mt,this.has_stree=Ze&&Ze.length}var V,W,X;function J(Ze,wt){this.dyn_tree=Ze,this.max_code=0,this.stat_desc=wt}function de(Ze){return Ze<256?M[Ze]:M[256+(Ze>>>7)]}function G(Ze,wt){Ze.pending_buf[Ze.pending++]=wt&255,Ze.pending_buf[Ze.pending++]=wt>>>8&255}function ae(Ze,wt,xt){Ze.bi_valid>b-xt?(Ze.bi_buf|=wt<<Ze.bi_valid&65535,G(Ze,Ze.bi_buf),Ze.bi_buf=wt>>b-Ze.bi_valid,Ze.bi_valid+=xt-b):(Ze.bi_buf|=wt<<Ze.bi_valid&65535,Ze.bi_valid+=xt)}function Ae(Ze,wt,xt){ae(Ze,xt[wt*2],xt[wt*2+1])}function me(Ze,wt){var xt=0;do xt|=Ze&1,Ze>>>=1,xt<<=1;while(--wt>0);return xt>>>1}function Me(Ze){Ze.bi_valid===16?(G(Ze,Ze.bi_buf),Ze.bi_buf=0,Ze.bi_valid=0):Ze.bi_valid>=8&&(Ze.pending_buf[Ze.pending++]=Ze.bi_buf&255,Ze.bi_buf>>=8,Ze.bi_valid-=8)}function oe(Ze,wt){var xt=wt.dyn_tree,Ot=wt.max_code,Mt=wt.stat_desc.static_tree,Gt=wt.stat_desc.has_stree,$e=wt.stat_desc.extra_bits,pe=wt.stat_desc.extra_base,q=wt.stat_desc.max_length,bt,qe,le,Nt,tr,lt,Wt=0;for(Nt=0;Nt<=w;Nt++)Ze.bl_count[Nt]=0;for(xt[Ze.heap[Ze.heap_max]*2+1]=0,bt=Ze.heap_max+1;bt<v;bt++){if(qe=Ze.heap[bt],Nt=xt[xt[qe*2+1]*2+1]+1,Nt>q&&(Nt=q,Wt++),xt[qe*2+1]=Nt,qe>Ot)continue;Ze.bl_count[Nt]++,tr=0,qe>=pe&&(tr=$e[qe-pe]),lt=xt[qe*2],Ze.opt_len+=lt*(Nt+tr),Gt&&(Ze.static_len+=lt*(Mt[qe*2+1]+tr))}if(Wt===0)return;do{for(Nt=q-1;Ze.bl_count[Nt]===0;)Nt--;Ze.bl_count[Nt]--,Ze.bl_count[Nt+1]+=2,Ze.bl_count[q]--,Wt-=2}while(Wt>0);for(Nt=q;Nt!==0;Nt--)for(qe=Ze.bl_count[Nt];qe!==0;){if(le=Ze.heap[--bt],le>Ot)continue;xt[le*2+1]!==Nt&&(Ze.opt_len+=(Nt-xt[le*2+1])*xt[le*2],xt[le*2+1]=Nt),qe--}}function _e(Ze,wt,xt){var Ot=new Array(w+1),Mt=0,Gt,$e;for(Gt=1;Gt<=w;Gt++)Ot[Gt]=Mt=Mt+xt[Gt-1]<<1;for($e=0;$e<=wt;$e++){var pe=Ze[$e*2+1];if(pe===0)continue;Ze[$e*2]=me(Ot[pe]++,pe)}}function ee(){var Ze,wt,xt,Ot,Mt,Gt=new Array(w+1);for(xt=0,Ot=0;Ot<e-1;Ot++)for(k[Ot]=xt,Ze=0;Ze<1<<I[Ot];Ze++)U[xt++]=Ot;for(U[xt-1]=Ot,Mt=0,Ot=0;Ot<16;Ot++)for(K[Ot]=Mt,Ze=0;Ze<1<<L[Ot];Ze++)M[Mt++]=Ot;for(Mt>>=7;Ot<h;Ot++)for(K[Ot]=Mt<<7,Ze=0;Ze<1<<L[Ot]-7;Ze++)M[256+Mt++]=Ot;for(wt=0;wt<=w;wt++)Gt[wt]=0;for(Ze=0;Ze<=143;)H[Ze*2+1]=8,Ze++,Gt[8]++;for(;Ze<=255;)H[Ze*2+1]=9,Ze++,Gt[9]++;for(;Ze<=279;)H[Ze*2+1]=7,Ze++,Gt[7]++;for(;Ze<=287;)H[Ze*2+1]=8,Ze++,Gt[8]++;for(_e(H,u+1,Gt),Ze=0;Ze<h;Ze++)z[Ze*2+1]=5,z[Ze*2]=me(Ze,5);V=new j(H,I,s+1,u,w),W=new j(z,L,0,h,w),X=new j(new Array(0),F,0,A,E)}function ne(Ze){var wt;for(wt=0;wt<u;wt++)Ze.dyn_ltree[wt*2]=0;for(wt=0;wt<h;wt++)Ze.dyn_dtree[wt*2]=0;for(wt=0;wt<A;wt++)Ze.bl_tree[wt*2]=0;Ze.dyn_ltree[T*2]=1,Ze.opt_len=Ze.static_len=0,Ze.last_lit=Ze.matches=0}function Ge(Ze){Ze.bi_valid>8?G(Ze,Ze.bi_buf):Ze.bi_valid>0&&(Ze.pending_buf[Ze.pending++]=Ze.bi_buf),Ze.bi_buf=0,Ze.bi_valid=0}function Ee(Ze,wt,xt,Ot){Ge(Ze),Ot&&(G(Ze,xt),G(Ze,~xt)),p.arraySet(Ze.pending_buf,Ze.window,wt,xt,Ze.pending),Ze.pending+=xt}function ue(Ze,wt,xt,Ot){var Mt=wt*2,Gt=xt*2;return Ze[Mt]<Ze[Gt]||Ze[Mt]===Ze[Gt]&&Ot[wt]<=Ot[xt]}function re(Ze,wt,xt){for(var Ot=Ze.heap[xt],Mt=xt<<1;Mt<=Ze.heap_len&&!(Mt<Ze.heap_len&&ue(wt,Ze.heap[Mt+1],Ze.heap[Mt],Ze.depth)&&Mt++,ue(wt,Ot,Ze.heap[Mt],Ze.depth));)Ze.heap[xt]=Ze.heap[Mt],xt=Mt,Mt<<=1;Ze.heap[xt]=Ot}function ce(Ze,wt,xt){var Ot,Mt,Gt=0,$e,pe;if(Ze.last_lit!==0)do Ot=Ze.pending_buf[Ze.d_buf+Gt*2]<<8|Ze.pending_buf[Ze.d_buf+Gt*2+1],Mt=Ze.pending_buf[Ze.l_buf+Gt],Gt++,Ot===0?Ae(Ze,Mt,wt):($e=U[Mt],Ae(Ze,$e+s+1,wt),pe=I[$e],pe!==0&&(Mt-=k[$e],ae(Ze,Mt,pe)),Ot--,$e=de(Ot),Ae(Ze,$e,xt),pe=L[$e],pe!==0&&(Ot-=K[$e],ae(Ze,Ot,pe)));while(Gt<Ze.last_lit);Ae(Ze,T,wt)}function ke(Ze,wt){var xt=wt.dyn_tree,Ot=wt.stat_desc.static_tree,Mt=wt.stat_desc.has_stree,Gt=wt.stat_desc.elems,$e,pe,q=-1,bt;for(Ze.heap_len=0,Ze.heap_max=v,$e=0;$e<Gt;$e++)xt[$e*2]!==0?(Ze.heap[++Ze.heap_len]=q=$e,Ze.depth[$e]=0):xt[$e*2+1]=0;for(;Ze.heap_len<2;)bt=Ze.heap[++Ze.heap_len]=q<2?++q:0,xt[bt*2]=1,Ze.depth[bt]=0,Ze.opt_len--,Mt&&(Ze.static_len-=Ot[bt*2+1]);for(wt.max_code=q,$e=Ze.heap_len>>1;$e>=1;$e--)re(Ze,xt,$e);bt=Gt;do $e=Ze.heap[1],Ze.heap[1]=Ze.heap[Ze.heap_len--],re(Ze,xt,1),pe=Ze.heap[1],Ze.heap[--Ze.heap_max]=$e,Ze.heap[--Ze.heap_max]=pe,xt[bt*2]=xt[$e*2]+xt[pe*2],Ze.depth[bt]=(Ze.depth[$e]>=Ze.depth[pe]?Ze.depth[$e]:Ze.depth[pe])+1,xt[$e*2+1]=xt[pe*2+1]=bt,Ze.heap[1]=bt++,re(Ze,xt,1);while(Ze.heap_len>=2);Ze.heap[--Ze.heap_max]=Ze.heap[1],oe(Ze,wt),_e(xt,q,Ze.bl_count)}function Te(Ze,wt,xt){var Ot,Mt=-1,Gt,$e=wt[0*2+1],pe=0,q=7,bt=4;for($e===0&&(q=138,bt=3),wt[(xt+1)*2+1]=65535,Ot=0;Ot<=xt;Ot++){if(Gt=$e,$e=wt[(Ot+1)*2+1],++pe<q&&Gt===$e)continue;pe<bt?Ze.bl_tree[Gt*2]+=pe:Gt!==0?(Gt!==Mt&&Ze.bl_tree[Gt*2]++,Ze.bl_tree[_*2]++):pe<=10?Ze.bl_tree[x*2]++:Ze.bl_tree[C*2]++,pe=0,Mt=Gt,$e===0?(q=138,bt=3):Gt===$e?(q=6,bt=3):(q=7,bt=4)}}function Ke(Ze,wt,xt){var Ot,Mt=-1,Gt,$e=wt[0*2+1],pe=0,q=7,bt=4;for($e===0&&(q=138,bt=3),Ot=0;Ot<=xt;Ot++){if(Gt=$e,$e=wt[(Ot+1)*2+1],++pe<q&&Gt===$e)continue;if(pe<bt)do Ae(Ze,Gt,Ze.bl_tree);while(--pe!==0);else Gt!==0?(Gt!==Mt&&(Ae(Ze,Gt,Ze.bl_tree),pe--),Ae(Ze,_,Ze.bl_tree),ae(Ze,pe-3,2)):pe<=10?(Ae(Ze,x,Ze.bl_tree),ae(Ze,pe-3,3)):(Ae(Ze,C,Ze.bl_tree),ae(Ze,pe-11,7));pe=0,Mt=Gt,$e===0?(q=138,bt=3):Gt===$e?(q=6,bt=3):(q=7,bt=4)}}function Ie(Ze){var wt;for(Te(Ze,Ze.dyn_ltree,Ze.l_desc.max_code),Te(Ze,Ze.dyn_dtree,Ze.d_desc.max_code),ke(Ze,Ze.bl_desc),wt=A-1;wt>=3&&!(Ze.bl_tree[B[wt]*2+1]!==0);wt--);return Ze.opt_len+=3*(wt+1)+5+5+4,wt}function se(Ze,wt,xt,Ot){var Mt;for(ae(Ze,wt-257,5),ae(Ze,xt-1,5),ae(Ze,Ot-4,4),Mt=0;Mt<Ot;Mt++)ae(Ze,Ze.bl_tree[B[Mt]*2+1],3);Ke(Ze,Ze.dyn_ltree,wt-1),Ke(Ze,Ze.dyn_dtree,xt-1)}function ye(Ze){var wt=4093624447,xt;for(xt=0;xt<=31;xt++,wt>>>=1)if(wt&1&&Ze.dyn_ltree[xt*2]!==0)return f;if(Ze.dyn_ltree[9*2]!==0||Ze.dyn_ltree[10*2]!==0||Ze.dyn_ltree[13*2]!==0)return d;for(xt=32;xt<s;xt++)if(Ze.dyn_ltree[xt*2]!==0)return d;return f}var xe=!1;function Ye(Ze){xe||(ee(),xe=!0),Ze.l_desc=new J(Ze.dyn_ltree,V),Ze.d_desc=new J(Ze.dyn_dtree,W),Ze.bl_desc=new J(Ze.bl_tree,X),Ze.bi_buf=0,Ze.bi_valid=0,ne(Ze)}function pt(Ze,wt,xt,Ot){ae(Ze,(n<<1)+(Ot?1:0),3),Ee(Ze,wt,xt,!0)}function nt(Ze){ae(Ze,i<<1,3),Ae(Ze,T,H),Me(Ze)}function Oe(Ze,wt,xt,Ot){var Mt,Gt,$e=0;Ze.level>0?(Ze.strm.data_type===c&&(Ze.strm.data_type=ye(Ze)),ke(Ze,Ze.l_desc),ke(Ze,Ze.d_desc),$e=Ie(Ze),Mt=Ze.opt_len+3+7>>>3,Gt=Ze.static_len+3+7>>>3,Gt<=Mt&&(Mt=Gt)):Mt=Gt=xt+5,xt+4<=Mt&&wt!==-1?pt(Ze,wt,xt,Ot):Ze.strategy===g||Gt===Mt?(ae(Ze,(i<<1)+(Ot?1:0),3),ce(Ze,H,z)):(ae(Ze,(o<<1)+(Ot?1:0),3),se(Ze,Ze.l_desc.max_code+1,Ze.d_desc.max_code+1,$e+1),ce(Ze,Ze.dyn_ltree,Ze.dyn_dtree)),ne(Ze),Ot&&Ge(Ze)}function vt(Ze,wt,xt){return Ze.pending_buf[Ze.d_buf+Ze.last_lit*2]=wt>>>8&255,Ze.pending_buf[Ze.d_buf+Ze.last_lit*2+1]=wt&255,Ze.pending_buf[Ze.l_buf+Ze.last_lit]=xt&255,Ze.last_lit++,wt===0?Ze.dyn_ltree[xt*2]++:(Ze.matches++,wt--,Ze.dyn_ltree[(U[xt]+s+1)*2]++,Ze.dyn_dtree[de(wt)*2]++),Ze.last_lit===Ze.lit_bufsize-1}},c8qY:function(R,N,t){var y=t("IwbS"),p=t("fls0");function S(o){this._ctor=o||p,this.group=new y.Group}var m=S.prototype;m.isPersistent=function(){return!0},m.updateData=function(o){var r=this,l=r.group,e=r._lineData;r._lineData=o,e||l.removeAll();var s=c(o);o.diff(e).add(function(u){g(r,o,u,s)}).update(function(u,h){f(r,e,o,h,u,s)}).remove(function(u){l.remove(e.getItemGraphicEl(u))}).execute()};function g(o,r,l,e){var s=r.getItemLayout(l);if(!n(s))return;var u=new o._ctor(r,l,e);r.setItemGraphicEl(l,u),o.group.add(u)}function f(o,r,l,e,s,u){var h=r.getItemGraphicEl(e);if(!n(l.getItemLayout(s))){o.group.remove(h);return}h?h.updateData(l,s,u):h=new o._ctor(l,s,u),l.setItemGraphicEl(s,h),o.group.add(h)}m.updateLayout=function(){var o=this._lineData;if(!o)return;o.eachItemGraphicEl(function(r,l){r.updateLayout(o,l)},this)},m.incrementalPrepareUpdate=function(o){this._seriesScope=c(o),this._lineData=null,this.group.removeAll()};function d(o){return o.animators&&o.animators.length>0}m.incrementalUpdate=function(o,r){function l(h){!h.isGroup&&!d(h)&&(h.incremental=h.useHoverLayer=!0)}for(var e=o.start;e<o.end;e++){var s=r.getItemLayout(e);if(n(s)){var u=new this._ctor(r,e,this._seriesScope);u.traverse(l),this.group.add(u),r.setItemGraphicEl(e,u)}}};function c(o){var r=o.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};function a(o){return isNaN(o[0])||isNaN(o[1])}function n(o){return!a(o[0])&&!a(o[1])}var i=S;R.exports=i},cCMj:function(R,N,t){var y=t("bYtY"),p={updateSelectedMap:function(S){this._targetList=y.isArray(S)?S.slice():[],this._selectTargetMap=y.reduce(S||[],function(m,g){return m.set(g.name,g),m},y.createHashMap())},select:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S),f=this.get("selectedMode");f==="single"&&this._selectTargetMap.each(function(d){d.selected=!1}),g&&(g.selected=!0)},unSelect:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);g&&(g.selected=!1)},toggleSelected:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);if(g!=null)return this[g.selected?"unSelect":"select"](S,m),g.selected},isSelected:function(S,m){var g=m!=null?this._targetList[m]:this._selectTargetMap.get(S);return g&&g.selected}};R.exports=p},cVA7:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=t("MT78"),p=g(y),S=t("t3Fx"),m=g(S);function g(n){return n&&n.__esModule?n:{default:n}}function f(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function d(n,i){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:n}function c(n,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(n,i):n.__proto__=i)}var a=function(n){c(i,n);function i(o){f(this,i);var r=d(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,o));return r.echartsLib=p.default,r}return i}(m.default);N.default=a},cWXX:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("oIFs"),m=t.n(S)},ca2m:function(R,N,t){var y=t("bYtY"),p={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},S={};S.categoryAxis=y.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),S.valueAxis=y.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},p),S.timeAxis=y.defaults({scale:!0,min:"dataMin",max:"dataMax"},S.valueAxis),S.logAxis=y.defaults({scale:!0,logBase:10},S.valueAxis);var m=S;R.exports=m},cbJ4:function(R,N,t){var y=t("bYtY"),p=y.createHashMap;function S(m){m.eachSeriesByType("themeRiver",function(g){var f=g.getData(),d=g.getRawData(),c=g.get("color"),a=p();f.each(function(n){a.set(f.getRawIndex(n),n)}),d.each(function(n){var i=d.getName(n),o=c[(g.nameMap.get(i)-1)%c.length];d.setItemVisual(n,"color",o);var r=a.get(n);r!=null&&f.setItemVisual(r,"color",o)})})}R.exports=S},chpo:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=1,p=function(){return"".concat(y++)};N.default=p},cpOr:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("T4UG"),m=t("YXkt"),g=t("bYtY"),f=g.concatArray,d=g.mergeAll,c=g.map,a=t("7aKB"),n=a.encodeHTML,i=t("IDmD"),o=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var h=u.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(u.data=c(h,function(A){var v=[A[0].coord,A[1].coord],w={coords:v};return A[0].name&&(w.fromName=A[0].name),A[1].name&&(w.toName=A[1].name),d([w,A[0],A[1]])}))}var e=S.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count)),e.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var h=this._processFlatCoordsArray(u.data);this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset,h.flatCoords&&(u.data=new Float32Array(h.count))}e.superApply(this,"mergeOption",arguments)},appendData:function(u){var h=this._processFlatCoordsArray(u.data);h.flatCoords&&(this._flatCoords?(this._flatCoords=f(this._flatCoords,h.flatCoords),this._flatCoordsOffset=f(this._flatCoordsOffset,h.flatCoordsOffset)):(this._flatCoords=h.flatCoords,this._flatCoordsOffset=h.flatCoordsOffset),u.data=new Float32Array(h.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var h=this.getData().getItemModel(u),A=h.option instanceof Array?h.option:h.getShallow("coords");return A},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,h){if(this._flatCoordsOffset){for(var A=this._flatCoordsOffset[u*2],v=this._flatCoordsOffset[u*2+1],w=0;w<v;w++)h[w]=h[w]||[],h[w][0]=this._flatCoords[A+w*2],h[w][1]=this._flatCoords[A+w*2+1];return v}else{for(var b=this._getCoordsFromItemModel(u),w=0;w<b.length;w++)h[w]=h[w]||[],h[w][0]=b[w][0],h[w][1]=b[w][1];return b.length}},_processFlatCoordsArray:function(u){var h=0;if(this._flatCoords&&(h=this._flatCoords.length),typeof u[0]=="number"){for(var A=u.length,v=new o(A),w=new r(A),b=0,E=0,T=0,_=0;_<A;){T++;var x=u[_++];v[E++]=b+h,v[E++]=x;for(var C=0;C<x;C++){var I=u[_++],L=u[_++];w[b++]=I,w[b++]=L,_>A}}return{flatCoordsOffset:new Uint32Array(v.buffer,0,E),flatCoords:w,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,h){var A=new m(["value"],this);return A.hasItemOption=!1,A.initData(u.data,[],function(v,w,b,E){if(v instanceof Array)return NaN;A.hasItemOption=!0;var T=v.value;if(T!=null)return T instanceof Array?T[E]:T}),A},formatTooltip:function(u){var h=this.getData(),A=h.getItemModel(u),v=A.get("name");if(v)return v;var w=A.get("fromName"),b=A.get("toName"),E=[];return w!=null&&E.push(w),b!=null&&E.push(b),n(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=e;R.exports=s},crZl:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS"),m=t("7aKB"),g=t("+TT/"),f=t("XxSj"),d=y.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(c,a){this.ecModel=c,this.api=a,this.visualMapModel},render:function(c,a,n,i){if(this.visualMapModel=c,c.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(c){var a=this.visualMapModel,n=m.normalizeCssArray(a.get("padding")||0),i=c.getBoundingRect();c.add(new S.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},getControllerVisual:function(c,a,n){n=n||{};var i=n.forceState,o=this.visualMapModel,r={};if(a==="symbol"&&(r.symbol=o.get("itemSymbol")),a==="color"){var l=o.get("contentColor");r.color=l}function e(A){return r[A]}function s(A,v){r[A]=v}var u=o.controllerVisuals[i||o.getValueState(c)],h=f.prepareVisualTypes(u);return p.each(h,function(A){var v=u[A];n.convertOpacityToAlpha&&A==="opacity"&&(A="colorAlpha",v=u.__alphaForOpacity),f.dependsOn(A,a)&&(v&&v.applyVisual(c,e,s))}),r[a]},positionGroup:function(c){var a=this.visualMapModel,n=this.api;g.positionElement(c,a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:p.noop});R.exports=d},crp1:function(R,N,t){"use strict";t.d(N,"b",function(){return ot}),t.d(N,"a",function(){return vr});var y={},p=function(dt,at,Qt,Jt,gt){var Bt=y[at]||(y[at]=URL.createObjectURL(new Blob([dt],{type:"text/javascript"}))),mt=new Worker(Bt);return mt.onerror=function(kt){return gt(kt.error,null)},mt.onmessage=function(kt){return gt(null,kt.data)},mt.postMessage(Qt,Jt),mt},S=Uint8Array,m=Uint16Array,g=Uint32Array,f=new S([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),d=new S([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new S([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(dt,at){for(var Qt=new m(31),Jt=0;Jt<31;++Jt)Qt[Jt]=at+=1<<dt[Jt-1];for(var gt=new g(Qt[30]),Jt=1;Jt<30;++Jt)for(var Bt=Qt[Jt];Bt<Qt[Jt+1];++Bt)gt[Bt]=Bt-Qt[Jt]<<5|Jt;return[Qt,gt]},n=a(f,2),i=n[0],o=n[1];i[28]=258,o[258]=28;for(var r=a(d,0),l=r[0],e=r[1],s=new m(32768),u=0;u<32768;++u){var h=(u&43690)>>>1|(u&21845)<<1;h=(h&52428)>>>2|(h&13107)<<2,h=(h&61680)>>>4|(h&3855)<<4,s[u]=((h&65280)>>>8|(h&255)<<8)>>>1}for(var A=function(dt,at,Qt){for(var Jt=dt.length,gt=0,Bt=new m(at);gt<Jt;++gt)++Bt[dt[gt]-1];var mt=new m(at);for(gt=0;gt<at;++gt)mt[gt]=mt[gt-1]+Bt[gt-1]<<1;var kt;if(Qt){kt=new m(1<<at);var gr=15-at;for(gt=0;gt<Jt;++gt)if(dt[gt])for(var ar=gt<<4|dt[gt],lr=at-dt[gt],Gr=mt[dt[gt]-1]++<<lr,Jr=Gr|(1<<lr)-1;Gr<=Jr;++Gr)kt[s[Gr]>>>gr]=ar}else for(kt=new m(Jt),gt=0;gt<Jt;++gt)kt[gt]=s[mt[dt[gt]-1]++]>>>15-dt[gt];return kt},v=new S(288),u=0;u<144;++u)v[u]=8;for(var u=144;u<256;++u)v[u]=9;for(var u=256;u<280;++u)v[u]=7;for(var u=280;u<288;++u)v[u]=8;for(var w=new S(32),u=0;u<32;++u)w[u]=5;var b=A(v,9,0),E=A(v,9,1),T=A(w,5,0),_=A(w,5,1),x=function(dt){for(var at=dt[0],Qt=1;Qt<dt.length;++Qt)dt[Qt]>at&&(at=dt[Qt]);return at},C=function(dt,at,Qt){var Jt=at/8>>0;return(dt[Jt]|dt[Jt+1]<<8)>>>(at&7)&Qt},I=function(dt,at){var Qt=at/8>>0;return(dt[Qt]|dt[Qt+1]<<8|dt[Qt+2]<<16)>>>(at&7)},L=function(dt){return(dt/8>>0)+(dt&7&&1)},F=function(dt,at,Qt){(at==null||at<0)&&(at=0),(Qt==null||Qt>dt.length)&&(Qt=dt.length);var Jt=new(dt instanceof m?m:dt instanceof g?g:S)(Qt-at);return Jt.set(dt.subarray(at,Qt)),Jt},B=function(dt,at,Qt){var Jt=dt.length,gt=!at||Qt,Bt=!Qt||Qt.i;Qt||(Qt={}),at||(at=new S(Jt*3));var mt=function(ui){var Fn=at.length;if(ui>Fn){var Si=new S(Math.max(Fn*2,ui));Si.set(at),at=Si}},kt=Qt.f||0,gr=Qt.p||0,ar=Qt.b||0,lr=Qt.l,Gr=Qt.d,Jr=Qt.m,Tn=Qt.n,Nn=Jt*8;do{if(!lr){Qt.f=kt=C(dt,gr,1);var zn=C(dt,gr+1,3);if(gr+=3,zn)if(zn==1)lr=E,Gr=_,Jr=9,Tn=5;else if(zn==2){var Ve=C(dt,gr,31)+257,Se=C(dt,gr+10,15)+4,Re=Ve+C(dt,gr+5,31)+1;gr+=14;for(var Be=new S(Re),We=new S(19),He=0;He<Se;++He)We[c[He]]=C(dt,gr+He*3,7);gr+=Se*3;var Qe=x(We),At=(1<<Qe)-1;if(!Bt&&gr+Re*(Qe+7)>Nn)break;for(var st=A(We,Qe,1),He=0;He<Re;){var Pt=st[C(dt,gr,At)];gr+=Pt&15;var qn=Pt>>>4;if(qn<16)Be[He++]=qn;else{var wr=0,mr=0;for(qn==16?(mr=3+C(dt,gr,3),gr+=2,wr=Be[He-1]):qn==17?(mr=3+C(dt,gr,7),gr+=3):qn==18&&(mr=11+C(dt,gr,127),gr+=7);mr--;)Be[He++]=wr}}var Or=Be.subarray(0,Ve),jt=Be.subarray(Ve);Jr=x(Or),Tn=x(jt),lr=A(Or,Jr,1),Gr=A(jt,Tn,1)}else throw"invalid block type";else{var qn=L(gr)+4,vi=dt[qn-4]|dt[qn-3]<<8,Ri=qn+vi;if(Ri>Jt){if(Bt)throw"unexpected EOF";break}gt&&mt(ar+vi),at.set(dt.subarray(qn,Ri),ar),Qt.b=ar+=vi,Qt.p=gr=Ri*8;continue}if(gr>Nn)throw"unexpected EOF"}gt&&mt(ar+131072);for(var cn=(1<<Jr)-1,nr=(1<<Tn)-1,Xr=Jr+Tn+18;Bt||gr+Xr<Nn;){var wr=lr[I(dt,gr)&cn],Br=wr>>>4;if(gr+=wr&15,gr>Nn)throw"unexpected EOF";if(!wr)throw"invalid length/literal";if(Br<256)at[ar++]=Br;else if(Br==256){lr=null;break}else{var yr=Br-254;if(Br>264){var He=Br-257,xn=f[He];yr=C(dt,gr,(1<<xn)-1)+i[He],gr+=xn}var Bn=Gr[I(dt,gr)&nr],ii=Bn>>>4;if(!Bn)throw"invalid distance";gr+=Bn&15;var jt=l[ii];if(ii>3){var xn=d[ii];jt+=I(dt,gr)&(1<<xn)-1,gr+=xn}if(gr>Nn)throw"unexpected EOF";gt&&mt(ar+131072);for(var oi=ar+yr;ar<oi;ar+=4)at[ar]=at[ar-jt],at[ar+1]=at[ar+1-jt],at[ar+2]=at[ar+2-jt],at[ar+3]=at[ar+3-jt];ar=oi}}Qt.l=lr,Qt.p=gr,Qt.b=ar,lr&&(kt=1,Qt.m=Jr,Qt.d=Gr,Qt.n=Tn)}while(!kt);return ar==at.length?at:F(at,0,ar)},P=function(dt,at,Qt){Qt<<=at&7;var Jt=at/8>>0;dt[Jt]|=Qt,dt[Jt+1]|=Qt>>>8},H=function(dt,at,Qt){Qt<<=at&7;var Jt=at/8>>0;dt[Jt]|=Qt,dt[Jt+1]|=Qt>>>8,dt[Jt+2]|=Qt>>>16},z=function(dt,at){for(var Qt=[],Jt=0;Jt<dt.length;++Jt)dt[Jt]&&Qt.push({s:Jt,f:dt[Jt]});var gt=Qt.length,Bt=Qt.slice();if(!gt)return[new S(0),0];if(gt==1){var mt=new S(Qt[0].s+1);return mt[Qt[0].s]=1,[mt,1]}Qt.sort(function(Re,Be){return Re.f-Be.f}),Qt.push({s:-1,f:25001});var kt=Qt[0],gr=Qt[1],ar=0,lr=1,Gr=2;for(Qt[0]={s:-1,f:kt.f+gr.f,l:kt,r:gr};lr!=gt-1;)kt=Qt[Qt[ar].f<Qt[Gr].f?ar++:Gr++],gr=Qt[ar!=lr&&Qt[ar].f<Qt[Gr].f?ar++:Gr++],Qt[lr++]={s:-1,f:kt.f+gr.f,l:kt,r:gr};for(var Jr=Bt[0].s,Jt=1;Jt<gt;++Jt)Bt[Jt].s>Jr&&(Jr=Bt[Jt].s);var Tn=new m(Jr+1),Nn=M(Qt[lr-1],Tn,0);if(Nn>at){var Jt=0,zn=0,qn=Nn-at,vi=1<<qn;for(Bt.sort(function(Be,We){return Tn[We.s]-Tn[Be.s]||Be.f-We.f});Jt<gt;++Jt){var Ri=Bt[Jt].s;if(Tn[Ri]>at)zn+=vi-(1<<Nn-Tn[Ri]),Tn[Ri]=at;else break}for(zn>>>=qn;zn>0;){var Ve=Bt[Jt].s;Tn[Ve]<at?zn-=1<<at-Tn[Ve]++-1:++Jt}for(;Jt>=0&&zn;--Jt){var Se=Bt[Jt].s;Tn[Se]==at&&(--Tn[Se],++zn)}Nn=at}return[new S(Tn),Nn]},M=function Ht(dt,at,Qt){return dt.s==-1?Math.max(Ht(dt.l,at,Qt+1),Ht(dt.r,at,Qt+1)):at[dt.s]=Qt},U=function(dt){for(var at=dt.length;at&&!dt[--at];);for(var Qt=new m(++at),Jt=0,gt=dt[0],Bt=1,mt=function(ar){Qt[Jt++]=ar},kt=1;kt<=at;++kt)if(dt[kt]==gt&&kt!=at)++Bt;else{if(!gt&&Bt>2){for(;Bt>138;Bt-=138)mt(32754);Bt>2&&(mt(Bt>10?Bt-11<<5|28690:Bt-3<<5|12305),Bt=0)}else if(Bt>3){for(mt(gt),--Bt;Bt>6;Bt-=6)mt(8304);Bt>2&&(mt(Bt-3<<5|8208),Bt=0)}for(;Bt--;)mt(gt);Bt=1,gt=dt[kt]}return[Qt.subarray(0,Jt),at]},k=function(dt,at){for(var Qt=0,Jt=0;Jt<at.length;++Jt)Qt+=dt[Jt]*at[Jt];return Qt},K=function(dt,at,Qt){var Jt=Qt.length,gt=L(at+2);dt[gt]=Jt&255,dt[gt+1]=Jt>>>8,dt[gt+2]=dt[gt]^255,dt[gt+3]=dt[gt+1]^255;for(var Bt=0;Bt<Jt;++Bt)dt[gt+Bt+4]=Qt[Bt];return(gt+4+Jt)*8},j=function(dt,at,Qt,Jt,gt,Bt,mt,kt,gr,ar,lr){P(at,lr++,Qt),++gt[256];for(var Gr=z(gt,15),Jr=Gr[0],Tn=Gr[1],Nn=z(Bt,15),zn=Nn[0],qn=Nn[1],vi=U(Jr),Ri=vi[0],Ve=vi[1],Se=U(zn),Re=Se[0],Be=Se[1],We=new m(19),He=0;He<Ri.length;++He)We[Ri[He]&31]++;for(var He=0;He<Re.length;++He)We[Re[He]&31]++;for(var Qe=z(We,7),At=Qe[0],st=Qe[1],Pt=19;Pt>4&&!At[c[Pt-1]];--Pt);var wr=ar+5<<3,mr=k(gt,v)+k(Bt,w)+mt,Or=k(gt,Jr)+k(Bt,zn)+mt+14+3*Pt+k(We,At)+(2*We[16]+3*We[17]+7*We[18]);if(wr<=mr&&wr<=Or)return K(at,lr,dt.subarray(gr,gr+ar));var jt,cn,nr,Xr;if(P(at,lr,1+(Or<mr)),lr+=2,Or<mr){jt=A(Jr,Tn,0),cn=Jr,nr=A(zn,qn,0),Xr=zn;var Br=A(At,st,0);P(at,lr,Ve-257),P(at,lr+5,Be-1),P(at,lr+10,Pt-4),lr+=14;for(var He=0;He<Pt;++He)P(at,lr+3*He,At[c[He]]);lr+=3*Pt;for(var yr=[Ri,Re],xn=0;xn<2;++xn)for(var Bn=yr[xn],He=0;He<Bn.length;++He){var ii=Bn[He]&31;P(at,lr,Br[ii]),lr+=At[ii],ii>15&&(P(at,lr,Bn[He]>>>5&127),lr+=Bn[He]>>>12)}}else jt=b,cn=v,nr=T,Xr=w;for(var He=0;He<kt;++He)if(Jt[He]>255){var ii=Jt[He]>>>18&31;H(at,lr,jt[ii+257]),lr+=cn[ii+257],ii>7&&(P(at,lr,Jt[He]>>>23&31),lr+=f[ii]);var oi=Jt[He]&31;H(at,lr,nr[oi]),lr+=Xr[oi],oi>3&&(H(at,lr,Jt[He]>>>5&8191),lr+=d[oi])}else H(at,lr,jt[Jt[He]]),lr+=cn[Jt[He]];return H(at,lr,jt[256]),lr+cn[256]},V=new g([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),W=new S(0),X=function(dt,at,Qt,Jt,gt,Bt){var mt=dt.length,kt=new S(Jt+mt+5*(1+Math.floor(mt/7e3))+gt),gr=kt.subarray(Jt,kt.length-gt),ar=0;if(!at||mt<8)for(var lr=0;lr<=mt;lr+=65535){var Gr=lr+65535;Gr<mt?ar=K(gr,ar,dt.subarray(lr,Gr)):(gr[lr]=Bt,ar=K(gr,ar,dt.subarray(lr,mt)))}else{for(var Jr=V[at-1],Tn=Jr>>>13,Nn=Jr&8191,zn=(1<<Qt)-1,qn=new m(32768),vi=new m(zn+1),Ri=Math.ceil(Qt/3),Ve=2*Ri,Se=function(ri){return(dt[ri]^dt[ri+1]<<Ri^dt[ri+2]<<Ve)&zn},Re=new g(25e3),Be=new m(288),We=new m(32),He=0,Qe=0,lr=0,At=0,st=0,Pt=0;lr<mt;++lr){var wr=Se(lr),mr=lr&32767,Or=vi[wr];if(qn[mr]=Or,vi[wr]=mr,st<=lr){var jt=mt-lr;if((He>7e3||At>24576)&&jt>423){ar=j(dt,gr,0,Re,Be,We,Qe,At,Pt,lr-Pt,ar),At=He=Qe=0,Pt=lr;for(var cn=0;cn<286;++cn)Be[cn]=0;for(var cn=0;cn<30;++cn)We[cn]=0}var nr=2,Xr=0,Br=Nn,yr=mr-Or&32767;if(jt>2&&wr==Se(lr-yr))for(var xn=Math.min(Tn,jt)-1,Bn=Math.min(32767,lr),ii=Math.min(258,jt);yr<=Bn&&--Br&&mr!=Or;){if(dt[lr+nr]==dt[lr+nr-yr]){for(var oi=0;oi<ii&&dt[lr+oi]==dt[lr+oi-yr];++oi);if(oi>nr){if(nr=oi,Xr=yr,oi>xn)break;for(var ei=Math.min(yr,oi-2),ui=0,cn=0;cn<ei;++cn){var Fn=lr-yr+cn+32768&32767,Si=qn[Fn],gn=Fn-Si+32768&32767;gn>ui&&(ui=gn,Or=Fn)}}}mr=Or,Or=qn[mr],yr+=mr-Or+32768&32767}if(Xr){Re[At++]=268435456|o[nr]<<18|e[Xr];var Wr=o[nr]&31,En=e[Xr]&31;Qe+=f[Wr]+d[En],++Be[257+Wr],++We[En],st=lr+nr,++He}else Re[At++]=dt[lr],++Be[dt[lr]]}}ar=j(dt,gr,Bt,Re,Be,We,Qe,At,Pt,lr-Pt,ar),Bt||(ar=K(gr,ar,W))}return F(kt,0,Jt+L(ar)+gt)},J=function(){for(var Ht=new g(256),dt=0;dt<256;++dt){for(var at=dt,Qt=9;--Qt;)at=(at&1&&3988292384)^at>>>1;Ht[dt]=at}return Ht}(),de=function(){var dt=4294967295;return{p:function(Qt){for(var Jt=dt,gt=0;gt<Qt.length;++gt)Jt=J[Jt&255^Qt[gt]]^Jt>>>8;dt=Jt},d:function(){return dt^4294967295}}},G=function(){var dt=1,at=0;return{p:function(Jt){for(var gt=dt,Bt=at,mt=Jt.length,kt=0;kt!=mt;){for(var gr=Math.min(kt+5552,mt);kt<gr;++kt)gt+=Jt[kt],Bt+=gt;gt%=65521,Bt%=65521}dt=gt,at=Bt},d:function(){return(dt>>>8<<16|(at&255)<<8|at>>>8)+((dt&255)<<23)*2}}},ae=function(dt,at,Qt,Jt,gt){return X(dt,at.level==null?6:at.level,at.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(dt.length)))*1.5):12+at.mem,Qt,Jt,!gt)},Ae=function(dt,at){var Qt={};for(var Jt in dt)Qt[Jt]=dt[Jt];for(var Jt in at)Qt[Jt]=at[Jt];return Qt},me=function(dt,at,Qt){for(var Jt=dt(),gt=dt.toString(),Bt=gt.slice(gt.indexOf("[")+1,gt.lastIndexOf("]")).replace(/ /g,"").split(","),mt=0;mt<Jt.length;++mt){var kt=Jt[mt],gr=Bt[mt];if(typeof kt=="function"){at+=";"+gr+"=";var ar=kt.toString();if(kt.prototype)if(ar.indexOf("[native code]")!=-1){var lr=ar.indexOf(" ",8)+1;at+=ar.slice(lr,ar.indexOf("(",lr))}else{at+=ar;for(var Gr in kt.prototype)at+=";"+gr+".prototype."+Gr+"="+kt.prototype[Gr].toString()}else at+=ar}else Qt[gr]=kt}return[at,Qt]},Me=[],oe=function(dt){var at=[];for(var Qt in dt)(dt[Qt]instanceof S||dt[Qt]instanceof m||dt[Qt]instanceof g)&&at.push((dt[Qt]=new dt[Qt].constructor(dt[Qt])).buffer);return at},_e=function(dt,at,Qt,Jt){var gt;if(!Me[Qt]){for(var Bt="",mt={},kt=dt.length-1,gr=0;gr<kt;++gr)gt=me(dt[gr],Bt,mt),Bt=gt[0],mt=gt[1];Me[Qt]=me(dt[kt],Bt,mt)}var ar=Ae({},Me[Qt][1]);return p(Me[Qt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+at.toString()+"}",Qt,ar,oe(ar),Jt)},ee=function(){return[S,m,g,f,d,c,i,l,E,_,s,A,x,C,I,L,F,B,bt,ce,ke]},ne=function(){return[S,m,g,f,d,c,o,e,b,v,T,w,s,V,W,A,P,H,z,M,U,k,K,j,L,F,X,ae,Gt,ce]},Ge=function(){return[Ye,Oe,xe,de,J]},Ee=function(){return[pt,nt]},ue=function(){return[vt,xe,G]},re=function(){return[Ze]},ce=function(dt){return postMessage(dt,[dt.buffer])},ke=function(dt){return dt&&dt.size&&new S(dt.size)},Te=function(dt,at,Qt,Jt,gt,Bt){var mt=_e(Qt,Jt,gt,function(kt,gr){mt.terminate(),Bt(kt,gr)});return at.consume||(dt=new S(dt)),mt.postMessage([dt,at],[dt.buffer]),function(){mt.terminate()}},Ke=function(dt){return dt.ondata=function(at,Qt){return postMessage([at,Qt],[at.buffer])},function(at){return dt.push(at.data[0],at.data[1])}},Ie=function(dt,at,Qt,Jt,gt){var Bt,mt=_e(dt,Jt,gt,function(kt,gr){kt?(mt.terminate(),at.ondata.call(at,kt)):(gr[1]&&mt.terminate(),at.ondata.call(at,kt,gr[0],gr[1]))});mt.postMessage(Qt),at.push=function(kt,gr){if(Bt)throw"stream finished";if(!at.ondata)throw"no stream handler";mt.postMessage([kt,Bt=gr],[kt.buffer])},at.terminate=function(){mt.terminate()}},se=function(dt,at){return dt[at]|dt[at+1]<<8},ye=function(dt,at){return(dt[at]|dt[at+1]<<8|dt[at+2]<<16)+(dt[at+3]<<23)*2},xe=function(dt,at,Qt){for(;Qt;++at)dt[at]=Qt,Qt>>>=8},Ye=function(dt,at){var Qt=at.filename;if(dt[0]=31,dt[1]=139,dt[2]=8,dt[8]=at.level<2?4:at.level==9?2:0,dt[9]=3,at.mtime!=0&&xe(dt,4,Math.floor(new Date(at.mtime||Date.now())/1e3)),Qt){dt[3]=8;for(var Jt=0;Jt<=Qt.length;++Jt)dt[Jt+10]=Qt.charCodeAt(Jt)}},pt=function(dt){if(dt[0]!=31||dt[1]!=139||dt[2]!=8)throw"invalid gzip data";var at=dt[3],Qt=10;at&4&&(Qt+=dt[10]|(dt[11]<<8)+2);for(var Jt=(at>>3&1)+(at>>4&1);Jt>0;Jt-=!dt[Qt++]);return Qt+(at&2)},nt=function(dt){var at=dt.length;return(dt[at-4]|dt[at-3]<<8|dt[at-2]<<16)+2*(dt[at-1]<<23)},Oe=function(dt){return 10+(dt.filename&&dt.filename.length+1||0)},vt=function(dt,at){var Qt=at.level,Jt=Qt==0?0:Qt<6?1:Qt==9?3:2;dt[0]=120,dt[1]=Jt<<6|(Jt?32-2*Jt:1)},Ze=function(dt){if((dt[0]&15)!=8||dt[0]>>>4>7||(dt[0]<<8|dt[1])%31)throw"invalid zlib data";if(dt[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function wt(Ht,dt){return!dt&&typeof Ht=="function"&&(dt=Ht,Ht={}),this.ondata=dt,Ht}var xt=function(){function Ht(dt,at){!at&&typeof dt=="function"&&(at=dt,dt={}),this.ondata=at,this.o=dt||{}}return Ht.prototype.p=function(dt,at){this.ondata(ae(dt,this.o,0,0,!at),at)},Ht.prototype.push=function(dt,at){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=at,this.p(dt,at||!1)},Ht}(),Ot=function(){function Ht(dt,at){Ie([ne,function(){return[Ke,xt]}],this,wt.call(this,dt,at),function(Qt){var Jt=new xt(Qt.data);onmessage=Ke(Jt)},6)}return Ht}();function Mt(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ne],function(Qt){return ce(Gt(Qt.data[0],Qt.data[1]))},0,at)}function Gt(Ht,dt){return dt===void 0&&(dt={}),ae(Ht,dt,0,0)}var $e=function(){function Ht(dt){this.s={},this.p=new S(0),this.ondata=dt}return Ht.prototype.e=function(dt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var at=this.p.length,Qt=new S(at+dt.length);Qt.set(this.p),Qt.set(dt,at),this.p=Qt},Ht.prototype.c=function(dt){this.d=this.s.i=dt||!1;var at=this.s.b,Qt=B(this.p,this.o,this.s);this.ondata(F(Qt,at,this.s.b),this.d),this.o=F(Qt,this.s.b-32768),this.s.b=this.o.length,this.p=F(this.p,this.s.p/8>>0),this.s.p&=7},Ht.prototype.push=function(dt,at){this.e(dt),this.c(at)},Ht}(),pe=function(){function Ht(dt){this.ondata=dt,Ie([ee,function(){return[Ke,$e]}],this,0,function(){var at=new $e;onmessage=Ke(at)},7)}return Ht}();function q(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ee],function(Qt){return ce(bt(Qt.data[0],ke(Qt.data[1])))},1,at)}function bt(Ht,dt){return B(Ht,dt)}var qe=function(){function Ht(dt,at){this.c=de(),this.l=0,this.v=1,xt.call(this,dt,at)}return Ht.prototype.push=function(dt,at){xt.prototype.push.call(this,dt,at)},Ht.prototype.p=function(dt,at){this.c.p(dt),this.l+=dt.length;var Qt=ae(dt,this.o,this.v&&Oe(this.o),at&&8,!at);this.v&&(Ye(Qt,this.o),this.v=0),at&&(xe(Qt,Qt.length-8,this.c.d()),xe(Qt,Qt.length-4,this.l)),this.ondata(Qt,at)},Ht}(),le=function(){function Ht(dt,at){Ie([ne,Ge,function(){return[Ke,xt,qe]}],this,wt.call(this,dt,at),function(Qt){var Jt=new qe(Qt.data);onmessage=Ke(Jt)},8)}return Ht}();function Nt(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ne,Ge,function(){return[tr]}],function(Qt){return ce(tr(Qt.data[0],Qt.data[1]))},2,at)}function tr(Ht,dt){dt===void 0&&(dt={});var at=de(),Qt=Ht.length;at.p(Ht);var Jt=ae(Ht,dt,Oe(dt),8),gt=Jt.length;return Ye(Jt,dt),xe(Jt,gt-8,at.d()),xe(Jt,gt-4,Qt),Jt}var lt=function(){function Ht(dt){this.v=1,$e.call(this,dt)}return Ht.prototype.push=function(dt,at){if($e.prototype.e.call(this,dt),this.v){var Qt=pt(this.p);if(Qt>=this.p.length&&!at)return;this.p=this.p.subarray(Qt),this.v=0}if(at){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}$e.prototype.c.call(this,at)},Ht}(),Wt=function(){function Ht(dt){this.ondata=dt,Ie([ee,Ee,function(){return[Ke,$e,lt]}],this,0,function(){var at=new lt;onmessage=Ke(at)},9)}return Ht}();function cr(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ee,Ee,function(){return[Vr]}],function(Qt){return ce(Vr(Qt.data[0]))},3,at)}function Vr(Ht,dt){return B(Ht.subarray(pt(Ht),-8),dt||new S(nt(Ht)))}var ur=function(){function Ht(dt,at){this.c=G(),this.v=1,xt.call(this,dt,at)}return Ht.prototype.push=function(dt,at){xt.prototype.push.call(this,dt,at)},Ht.prototype.p=function(dt,at){this.c.p(dt);var Qt=ae(dt,this.o,this.v&&2,at&&4,!at);this.v&&(vt(Qt,this.o),this.v=0),at&&xe(Qt,Qt.length-4,this.c.d()),this.ondata(Qt,at)},Ht}(),ir=function(){function Ht(dt,at){Ie([ne,ue,function(){return[Ke,xt,ur]}],this,wt.call(this,dt,at),function(Qt){var Jt=new ur(Qt.data);onmessage=Ke(Jt)},10)}return Ht}();function Lt(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ne,ue,function(){return[ot]}],function(Qt){return ce(ot(Qt.data[0],Qt.data[1]))},4,at)}function ot(Ht,dt){dt===void 0&&(dt={});var at=G();at.p(Ht);var Qt=ae(Ht,dt,2,4);return vt(Qt,dt),xe(Qt,Qt.length-4,at.d()),Qt}var Xe=function(){function Ht(dt){this.v=1,$e.call(this,dt)}return Ht.prototype.push=function(dt,at){if($e.prototype.e.call(this,dt),this.v){if(this.p.length<2&&!at)return;this.p=this.p.subarray(2),this.v=0}if(at){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}$e.prototype.c.call(this,at)},Ht}(),$t=function(){function Ht(dt){this.ondata=dt,Ie([ee,re,function(){return[Ke,$e,Xe]}],this,0,function(){var at=new Xe;onmessage=Ke(at)},11)}return Ht}();function Sr(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Te(Ht,dt,[ee,re,function(){return[vr]}],function(Qt){return ce(vr(Qt.data[0],ke(Qt.data[1])))},5,at)}function vr(Ht,dt){return B((Ze(Ht),Ht.subarray(2,-4)),dt)}var fr=function(){function Ht(dt){this.G=lt,this.I=$e,this.Z=Xe,this.ondata=dt}return Ht.prototype.push=function(dt,at){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(dt,at);else{if(this.p&&this.p.length){var Qt=new S(this.p.length+dt.length);Qt.set(this.p),Qt.set(dt,this.p.length)}else this.p=dt;if(this.p.length>2){var Jt=this,gt=function(){Jt.ondata.apply(Jt,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(gt):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(gt):new this.Z(gt),this.s.push(this.p,at),this.p=null}}},Ht}(),An=function(){function Ht(dt){this.G=Wt,this.I=pe,this.Z=$t,this.ondata=dt}return Ht.prototype.push=function(dt,at){fr.prototype.push.call(this,dt,at)},Ht}();function Zr(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";return Ht[0]==31&&Ht[1]==139&&Ht[2]==8?cr(Ht,dt,at):(Ht[0]&15)!=8||Ht[0]>>4>7||(Ht[0]<<8|Ht[1])%31?q(Ht,dt,at):Sr(Ht,dt,at)}function Ln(Ht,dt){return Ht[0]==31&&Ht[1]==139&&Ht[2]==8?Vr(Ht,dt):(Ht[0]&15)!=8||Ht[0]>>4>7||(Ht[0]<<8|Ht[1])%31?bt(Ht,dt):vr(Ht,dt)}var Je=function Ht(dt,at,Qt,Jt){for(var gt in dt){var Bt=dt[gt],mt=at+gt;Bt instanceof S?Qt[mt]=[Bt,Jt]:Array.isArray(Bt)?Qt[mt]=[Bt[0],Ae(Jt,Bt[1])]:Ht(Bt,mt+"/",Qt,Jt)}};function et(Ht,dt){var at=Ht.length;if(!dt&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Ht);for(var Qt=new S(Ht.length+(Ht.length>>>1)),Jt=0,gt=function(ar){Qt[Jt++]=ar},Bt=0;Bt<at;++Bt){if(Jt+5>Qt.length){var mt=new S(Jt+8+(at-Bt<<1));mt.set(Qt),Qt=mt}var kt=Ht.charCodeAt(Bt);kt<128||dt?gt(kt):kt<2048?(gt(192|kt>>>6),gt(128|kt&63)):kt>55295&&kt<57344?(kt=65536+(kt&1023<<10)|Ht.charCodeAt(++Bt)&1023,gt(240|kt>>>18),gt(128|kt>>>12&63),gt(128|kt>>>6&63),gt(128|kt&63)):(gt(224|kt>>>12),gt(128|kt>>>6&63),gt(128|kt&63))}return F(Qt,0,Jt)}function be(Ht,dt){var at="";if(!dt&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Ht);for(var Qt=0;Qt<Ht.length;){var Jt=Ht[Qt++];Jt<128||dt?at+=String.fromCharCode(Jt):Jt<224?at+=String.fromCharCode((Jt&31)<<6|Ht[Qt++]&63):Jt<240?at+=String.fromCharCode((Jt&15)<<12|(Ht[Qt++]&63)<<6|Ht[Qt++]&63):(Jt=((Jt&15)<<18|(Ht[Qt++]&63)<<12|(Ht[Qt++]&63)<<6|Ht[Qt++]&63)-65536,at+=String.fromCharCode(55296|Jt>>10,56320|Jt&1023))}return at}var Le=function(dt,at){return at+30+se(dt,at+26)+se(dt,at+28)},Ue=function(dt,at,Qt){var Jt=se(dt,at+28),gt=be(dt.subarray(at+46,at+46+Jt),!(se(dt,at+8)&2048)),Bt=at+46+Jt,mt=Qt?rt(dt,Bt):[ye(dt,at+20),ye(dt,at+24),ye(dt,at+42)],kt=mt[0],gr=mt[1],ar=mt[2];return[se(dt,at+10),kt,gr,gt,Bt+se(dt,at+30)+se(dt,at+32),ar]},rt=function(dt,at){for(;se(dt,at)!=1;at+=4+se(dt,at+2));return[ye(dt,at+12),ye(dt,at+4),ye(dt,at+20)]},Vt=function(dt,at,Qt,Jt,gt,Bt,mt,kt,gr,ar){var lr=Bt.length,Gr=Jt.length;xe(dt,at,gr!=null?33639248:67324752),at+=4,gr!=null&&(dt[at]=20,at+=2),dt[at]=20,at+=2,dt[at++]=ar==8&&(kt.level==1?6:kt.level<6?4:kt.level==9?2:0),dt[at++]=mt&&8,dt[at]=ar,at+=2;var Jr=new Date(kt.mtime||Date.now()),Tn=Jr.getFullYear()-1980;if(Tn<0||Tn>119)throw"date not in range 1980-2099";xe(dt,at,(Tn<<24)*2|Jr.getMonth()+1<<21|Jr.getDate()<<16|Jr.getHours()<<11|Jr.getMinutes()<<5|Jr.getSeconds()>>>1),at+=4,xe(dt,at,Qt),xe(dt,at+4,Gr),xe(dt,at+8,gt),xe(dt,at+12,lr),at+=16,gr!=null&&(xe(dt,at+=10,gr),at+=4),dt.set(Bt,at),at+=lr,gr==null&&dt.set(Jt,at)},Ft=function(dt,at,Qt,Jt,gt){xe(dt,at,101010256),xe(dt,at+8,Qt),xe(dt,at+10,Qt),xe(dt,at+12,Jt),xe(dt,at+16,gt)};function zt(Ht,dt,at){if(at||(at=dt,dt={}),typeof at!="function")throw"no callback";var Qt={};Je(Ht,"",Qt,dt);var Jt=Object.keys(Qt),gt=Jt.length,Bt=0,mt=0,kt=gt,gr=new Array(gt),ar=[],lr=function(){for(var zn=0;zn<ar.length;++zn)ar[zn]()},Gr=function(){var zn=new S(mt+22),qn=Bt,vi=mt-Bt;mt=0;for(var Ri=0;Ri<kt;++Ri){var Ve=gr[Ri];try{Vt(zn,mt,Ve.c,Ve.d,Ve.m,Ve.n,Ve.u,Ve.p,null,Ve.t),Vt(zn,Bt,Ve.c,Ve.d,Ve.m,Ve.n,Ve.u,Ve.p,mt,Ve.t),Bt+=46+Ve.n.length,mt+=30+Ve.n.length+Ve.d.length}catch(Se){return at(Se,null)}}Ft(zn,Bt,gr.length,vi,qn),at(null,zn)};gt||Gr();for(var Jr=function(zn){var qn=Jt[zn],vi=Qt[qn],Ri=vi[0],Ve=vi[1],Se=de(),Re=Ri.length;Se.p(Ri);var Be=et(qn),We=Be.length,He=Ve.level==0?0:8,Qe=function(st,Pt){if(st)lr(),at(st,null);else{var wr=Pt.length;gr[zn]={t:He,d:Pt,m:Re,c:Se.d(),u:qn.length!=wr,n:Be,p:Ve},Bt+=30+We+wr,mt+=76+2*We+wr,--gt||Gr()}};if(Be.length>65535&&Qe("filename too long",null),!He)Qe(null,Ri);else if(Re<16e4)try{Qe(null,Gt(Ri,Ve))}catch(At){Qe(At,null)}else ar.push(Mt(Ri,Ve,Qe))},Tn=0;Tn<kt;++Tn)Jr(Tn);return lr}function Dr(Ht,dt){dt===void 0&&(dt={});var at={},Qt=[];Je(Ht,"",at,dt);var Jt=0,gt=0;for(var Bt in at){var mt=at[Bt],kt=mt[0],gr=mt[1],ar=gr.level==0?0:8,lr=et(Bt),Gr=lr.length;if(lr.length>65535)throw"filename too long";var Jr=ar?Gt(kt,gr):kt,Tn=Jr.length,Nn=de();Nn.p(kt),Qt.push({t:ar,d:Jr,m:kt.length,c:Nn.d(),u:Bt.length!=Gr,n:lr,o:Jt,p:gr}),Jt+=30+Gr+Tn,gt+=76+2*Gr+Tn}for(var zn=new S(gt+22),qn=Jt,vi=gt-Jt,Ri=0;Ri<Qt.length;++Ri){var Ve=Qt[Ri];Vt(zn,Ve.o,Ve.c,Ve.d,Ve.m,Ve.n,Ve.u,Ve.p,null,Ve.t),Vt(zn,Jt,Ve.c,Ve.d,Ve.m,Ve.n,Ve.u,Ve.p,Ve.o,Ve.t),Jt+=46+Ve.n.length}return Ft(zn,Jt,Qt.length,vi,qn),zn}function Pr(Ht,dt){if(typeof dt!="function")throw"no callback";for(var at=[],Qt=function(){for(var Jr=0;Jr<at.length;++Jr)at[Jr]()},Jt={},gt=Ht.length-22;ye(Ht,gt)!=101010256;--gt)if(!gt||Ht.length-gt>65558){dt("invalid zip file",null);return}var Bt=se(Ht,gt+8);Bt||dt(null,{});var mt=Bt,kt=ye(Ht,gt+16),gr=kt==4294967295;if(gr){if(gt=ye(Ht,gt-12),ye(Ht,gt)!=101075792)throw"invalid zip file";mt=Bt=ye(Ht,gt+32),kt=ye(Ht,gt+48)}for(var ar=function(Jr){var Tn=Ue(Ht,kt,gr),Nn=Tn[0],zn=Tn[1],qn=Tn[2],vi=Tn[3],Ri=Tn[4],Ve=Tn[5],Se=Le(Ht,Ve);kt=Ri;var Re=function(He,Qe){He?(Qt(),dt(He,null)):(Jt[vi]=Qe,--Bt||dt(null,Jt))};if(!Nn)Re(null,F(Ht,Se,Se+zn));else if(Nn==8){var Be=Ht.subarray(Se,Se+zn);if(zn<32e4)try{Re(null,bt(Be,new S(qn)))}catch(We){Re(We,null)}else at.push(q(Be,{size:qn},Re))}else Re("unknown compression type "+Nn,null)},lr=0;lr<mt;++lr)ar(lr);return Qt}function un(Ht){for(var dt={},at=Ht.length-22;ye(Ht,at)!=101010256;--at)if(!at||Ht.length-at>65558)throw"invalid zip file";var Qt=se(Ht,at+8);if(!Qt)return{};var Jt=ye(Ht,at+16),gt=Jt==4294967295;if(gt){if(at=ye(Ht,at-12),ye(Ht,at)!=101075792)throw"invalid zip file";Qt=ye(Ht,at+32),Jt=ye(Ht,at+48)}for(var Bt=0;Bt<Qt;++Bt){var mt=Ue(Ht,Jt,gt),kt=mt[0],gr=mt[1],ar=mt[2],lr=mt[3],Gr=mt[4],Jr=mt[5],Tn=Le(Ht,Jr);if(Jt=Gr,!kt)dt[lr]=F(Ht,Tn,Tn+gr);else if(kt==8)dt[lr]=bt(Ht.subarray(Tn,Tn+gr),new S(ar));else throw"unknown compression type "+kt}return dt}},czTT:function(R,N,t){},d4KN:function(R,N,t){var y=t("ProS"),p=t("bYtY");function S(m,g){p.each(g,function(f){f.update="updateView",y.registerAction(f,function(d,c){var a={};return c.eachComponent({mainType:"series",subType:m,query:d},function(n){n[f.method]&&n[f.method](d.name,d.dataIndex);var i=n.getData();i.each(function(o){var r=i.getName(o);a[r]=n.isSelected(r)||!1})}),{name:d.name,selected:a,seriesId:d.seriesId}})})}R.exports=S},dBmv:function(R,N,t){var y=t("ProS"),p=t("szbU");t("vF/C"),t("qwVE"),t("MHoB"),t("PNag"),t("1u/T"),y.registerPreprocessor(p)},"dF/Y":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:"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"},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="DownloadOutlined";var d=N.a=p.forwardRef(f)},dMvE:function(R,N){var t={linear:function(S){return S},quadraticIn:function(S){return S*S},quadraticOut:function(S){return S*(2-S)},quadraticInOut:function(S){return(S*=2)<1?.5*S*S:-.5*(--S*(S-2)-1)},cubicIn:function(S){return S*S*S},cubicOut:function(S){return--S*S*S+1},cubicInOut:function(S){return(S*=2)<1?.5*S*S*S:.5*((S-=2)*S*S+2)},quarticIn:function(S){return S*S*S*S},quarticOut:function(S){return 1- --S*S*S*S},quarticInOut:function(S){return(S*=2)<1?.5*S*S*S*S:-.5*((S-=2)*S*S*S-2)},quinticIn:function(S){return S*S*S*S*S},quinticOut:function(S){return--S*S*S*S*S+1},quinticInOut:function(S){return(S*=2)<1?.5*S*S*S*S*S:.5*((S-=2)*S*S*S*S+2)},sinusoidalIn:function(S){return 1-Math.cos(S*Math.PI/2)},sinusoidalOut:function(S){return Math.sin(S*Math.PI/2)},sinusoidalInOut:function(S){return .5*(1-Math.cos(Math.PI*S))},exponentialIn:function(S){return S===0?0:Math.pow(1024,S-1)},exponentialOut:function(S){return S===1?1:1-Math.pow(2,-10*S)},exponentialInOut:function(S){return S===0?0:S===1?1:(S*=2)<1?.5*Math.pow(1024,S-1):.5*(-Math.pow(2,-10*(S-1))+2)},circularIn:function(S){return 1-Math.sqrt(1-S*S)},circularOut:function(S){return Math.sqrt(1- --S*S)},circularInOut:function(S){return(S*=2)<1?-.5*(Math.sqrt(1-S*S)-1):.5*(Math.sqrt(1-(S-=2)*S)+1)},elasticIn:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),-(g*Math.pow(2,10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)))},elasticOut:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),g*Math.pow(2,-10*S)*Math.sin((S-m)*(2*Math.PI)/f)+1)},elasticInOut:function(S){var m,g=.1,f=.4;return S===0?0:S===1?1:(!g||g<1?(g=1,m=f/4):m=f*Math.asin(1/g)/(2*Math.PI),(S*=2)<1?-.5*(g*Math.pow(2,10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)):g*Math.pow(2,-10*(S-=1))*Math.sin((S-m)*(2*Math.PI)/f)*.5+1)},backIn:function(S){var m=1.70158;return S*S*((m+1)*S-m)},backOut:function(S){var m=1.70158;return--S*S*((m+1)*S+m)+1},backInOut:function(S){var m=1.70158*1.525;return(S*=2)<1?.5*(S*S*((m+1)*S-m)):.5*((S-=2)*S*((m+1)*S+m)+2)},bounceIn:function(S){return 1-t.bounceOut(1-S)},bounceOut:function(S){return S<1/2.75?7.5625*S*S:S<2/2.75?7.5625*(S-=1.5/2.75)*S+.75:S<2.5/2.75?7.5625*(S-=2.25/2.75)*S+.9375:7.5625*(S-=2.625/2.75)*S+.984375},bounceInOut:function(S){return S<.5?t.bounceIn(S*2)*.5:t.bounceOut(S*2-1)*.5+.5}},y=t;R.exports=y},diRs:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("q1tI"),m=t.n(S),g=t("3S7+"),f=t("H84U"),d=t("bogI"),c=function(n,i){var o={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&i.indexOf(r)<0&&(o[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(n);l<r.length;l++)i.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(n,r[l])&&(o[r[l]]=n[r[l]]);return o},a=S.forwardRef(function(n,i){var o=n.prefixCls,r=n.title,l=n.content,e=c(n,["prefixCls","title","content"]),s=S.useContext(f.b),u=s.getPrefixCls,h=function(w){return S.createElement(S.Fragment,null,r&&S.createElement("div",{className:"".concat(w,"-title")},Object(d.a)(r)),S.createElement("div",{className:"".concat(w,"-inner-content")},Object(d.a)(l)))},A=u("popover",o);return S.createElement(g.a,p()({},e,{prefixCls:A,ref:i,overlay:h(A)}))});a.displayName="Popover",a.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},N.a=a},digP:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(S,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:S}}]}},name:"file",theme:"twotone"};N.default=y},dmGj:function(R,N,t){var y=t("DEFe"),p=t("ProS"),S=p.extendComponentView({type:"geo",init:function(m,g){var f=new y(g,!0);this._mapDraw=f,this.group.add(f.group)},render:function(m,g,f,d){if(d&&d.type==="geoToggleSelect"&&d.from===this.uid)return;var c=this._mapDraw;m.get("show")?c.draw(m,g,f,this,d):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});R.exports=S},dnwI:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("YH21"),m=t("Kagy"),g=t("IUWy"),f=m.toolbox.dataView,d=new Array(60).join("-"),c=" ";function a(b){var E={},T=[],_=[];return b.eachRawSeries(function(x){var C=x.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var I=C.getBaseAxis();if(I.type==="category"){var L=I.dim+"_"+I.index;E[L]||(E[L]={categoryAxis:I,valueAxis:C.getOtherAxis(I),series:[]},_.push({axisDim:I.dim,axisIndex:I.index})),E[L].series.push(x)}else T.push(x)}else T.push(x)}),{seriesGroupByCategoryAxis:E,other:T,meta:_}}function n(b){var E=[];return p.each(b,function(T,_){var x=T.categoryAxis,C=T.valueAxis,I=C.dim,L=[" "].concat(p.map(T.series,function(M){return M.name})),F=[x.model.getCategories()];p.each(T.series,function(M){F.push(M.getRawData().mapArray(I,function(U){return U}))});for(var B=[L.join(c)],P=0;P<F[0].length;P++){for(var H=[],z=0;z<F.length;z++)H.push(F[z][P]);B.push(H.join(c))}E.push(B.join(`
|
|
|
`))}),E.join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`)}function i(b){return p.map(b,function(E){var T=E.getRawData(),_=[E.name],x=[];return T.each(T.dimensions,function(){for(var C=arguments.length,I=arguments[C-1],L=T.getName(I),F=0;F<C-1;F++)x[F]=arguments[F];_.push((L?L+c:"")+x.join(c))}),_.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`)}function o(b){var E=a(b);return{value:p.filter([n(E.seriesGroupByCategoryAxis),i(E.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+d+`
|
|
|
|
|
|
`),meta:E.meta}}function r(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(b){var E=b.slice(0,b.indexOf(`
|
|
|
`));if(E.indexOf(c)>=0)return!0}var e=new RegExp("["+c+"]+","g");function s(b){for(var E=b.split(/\n+/g),T=r(E.shift()).split(e),_=[],x=p.map(T,function(F){return{name:F,data:[]}}),C=0;C<E.length;C++){var I=r(E[C]).split(e);_.push(I.shift());for(var L=0;L<I.length;L++)x[L]&&(x[L].data[C]=I[L])}return{series:x,categories:_}}function u(b){for(var E=b.split(/\n+/g),T=r(E.shift()),_=[],x=0;x<E.length;x++){var C=r(E[x]).split(e),I="",L,F=!1;isNaN(C[0])?(F=!0,I=C[0],C=C.slice(1),_[x]={name:I,value:[]},L=_[x].value):L=_[x]=[];for(var B=0;B<C.length;B++)L.push(+C[B]);L.length===1&&(F?_[x].value=L[0]:_[x]=L[0])}return{name:T,data:_}}function h(b,E){var T=b.split(new RegExp(`
|
|
|
*`+d+`
|
|
|
*`,"g")),_={series:[]};return p.each(T,function(x,C){if(l(x)){var I=s(x),L=E[C],F=L.axisDim+"Axis";L&&(_[F]=_[F]||[],_[F][L.axisIndex]={data:I.categories},_.series=_.series.concat(I.series))}else{var I=u(x);_.series.push(I)}}),_}function A(b){this._dom=null,this.model=b}A.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:p.clone(f.title),lang:p.clone(f.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},A.prototype.onclick=function(b,E){var T=E.getDom(),_=this.model;this._dom&&T.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=_.get("backgroundColor")||"#fff";var C=document.createElement("h4"),I=_.get("lang")||[];C.innerHTML=I[0]||_.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=_.get("textColor");var L=document.createElement("div"),F=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var B=_.get("optionToContent"),P=_.get("contentToOption"),H=o(b);if(typeof B=="function"){var z=B(E.getOption());typeof z=="string"?L.innerHTML=z:p.isDom(z)&&L.appendChild(z)}else L.appendChild(F),F.readOnly=_.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=_.get("textColor"),F.style.borderColor=_.get("textareaBorderColor"),F.style.backgroundColor=_.get("textareaColor"),F.value=H.value;var M=H.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var k="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",K=document.createElement("div"),j=document.createElement("div");k+=";background-color:"+_.get("buttonColor"),k+=";color:"+_.get("buttonTextColor");var V=this;function W(){T.removeChild(x),V._dom=null}S.addEventListener(K,"click",W),S.addEventListener(j,"click",function(){var X;try{typeof P=="function"?X=P(L,E.getOption()):X=h(F.value,M)}catch(J){throw W(),new Error("Data view format error "+J)}X&&E.dispatchAction({type:"changeDataView",newOption:X}),W()}),K.innerHTML=I[1],j.innerHTML=I[2],j.style.cssText=k,K.style.cssText=k,!_.get("readOnly")&&U.appendChild(j),U.appendChild(K),x.appendChild(C),x.appendChild(L),x.appendChild(U),L.style.height=T.clientHeight-80+"px",T.appendChild(x),this._dom=x},A.prototype.remove=function(b,E){this._dom&&E.getDom().removeChild(this._dom)},A.prototype.dispose=function(b,E){this.remove(b,E)};function v(b,E){return p.map(b,function(T,_){var x=E&&E[_];return p.isObject(x)&&!p.isArray(x)?(p.isObject(T)&&!p.isArray(T)&&(T=T.value),p.defaults({value:T},x)):T})}g.register("dataView",A),y.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(b,E){var T=[];p.each(b.newOption.series,function(_){var x=E.getSeriesByName(_.name)[0];if(!x)T.push(p.extend({type:"scatter"},_));else{var C=x.get("data");T.push({name:_.name,data:v(_.data,C)})}}),E.mergeOption(p.defaults({series:T},b.newOption))});var w=A;R.exports=w},dqUG:function(R,N,t){var y=t("Gev7"),p=t("bYtY"),S=t("6GrX"),m=t("pzxd"),g=t("gut8"),f=g.ContextCachedBy,d=function(n){y.call(this,n)};d.prototype={constructor:d,type:"text",brush:function(n,i){var o=this.style;this.__dirty&&m.normalizeTextStyle(o,!0),o.fill=o.stroke=o.shadowBlur=o.shadowColor=o.shadowOffsetX=o.shadowOffsetY=null;var r=o.text;if(r!=null&&(r+=""),!m.needDrawText(r,o)){n.__attrCachedBy=f.NONE;return}this.setTransform(n),m.renderText(this,n,r,o,null,i),this.restoreTransform(n)},getBoundingRect:function(){var n=this.style;if(this.__dirty&&m.normalizeTextStyle(n,!0),!this._rect){var i=n.text;i!=null?i+="":i="";var o=S.getBoundingRect(n.text+"",n.font,n.textAlign,n.textVerticalAlign,n.textPadding,n.textLineHeight,n.rich);if(o.x+=n.x||0,o.y+=n.y||0,m.getStroke(n.textStroke,n.textStrokeWidth)){var r=n.textStrokeWidth;o.x-=r/2,o.y-=r/2,o.width+=r,o.height+=r}this._rect=o}return this._rect}},p.inherits(d,y);var c=d;R.exports=c},dt0z:function(R,N,t){var y=t("zoYe");function p(S){return S==null?"":y(S)}R.exports=p},dtIV:function(R,N,t){"use strict";t.r(N),function(y){t.d(N,"AcroForm",function(){return qe}),t.d(N,"AcroFormAppearance",function(){return q}),t.d(N,"AcroFormButton",function(){return wt}),t.d(N,"AcroFormCheckBox",function(){return Gt}),t.d(N,"AcroFormChoiceField",function(){return nt}),t.d(N,"AcroFormComboBox",function(){return vt}),t.d(N,"AcroFormEditBox",function(){return Ze}),t.d(N,"AcroFormListBox",function(){return Oe}),t.d(N,"AcroFormPasswordField",function(){return pe}),t.d(N,"AcroFormPushButton",function(){return xt}),t.d(N,"AcroFormRadioButton",function(){return Ot}),t.d(N,"AcroFormTextField",function(){return $e}),t.d(N,"GState",function(){return z}),t.d(N,"ShadingPattern",function(){return U}),t.d(N,"TilingPattern",function(){return k}),t.d(N,"jsPDF",function(){return K});var p=t("cDf5"),S=t.n(p),m=t("crp1");/** @license
|
|
|
*
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
|
|
* CommitID 00000000
|
|
|
*
|
|
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
|
|
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
|
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/var g=function(){return typeof window!="undefined"?window:typeof y!="undefined"?y:typeof self!="undefined"?self:this}();function f(){g.console&&typeof g.console.log=="function"&&g.console.log.apply(g.console,arguments)}var d={log:f,warn:function(Se){g.console&&(typeof g.console.warn=="function"?g.console.warn.apply(g.console,arguments):f.call(null,arguments))},error:function(Se){g.console&&(typeof g.console.error=="function"?g.console.error.apply(g.console,arguments):f(Se))}};function c(Ve,Se,Re){var Be=new XMLHttpRequest;Be.open("GET",Ve),Be.responseType="blob",Be.onload=function(){r(Be.response,Se,Re)},Be.onerror=function(){d.error("could not download file")},Be.send()}function a(Ve){var Se=new XMLHttpRequest;Se.open("HEAD",Ve,!1);try{Se.send()}catch(Re){}return Se.status>=200&&Se.status<=299}function n(Ve){try{Ve.dispatchEvent(new MouseEvent("click"))}catch(Re){var Se=document.createEvent("MouseEvents");Se.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Ve.dispatchEvent(Se)}}var i,o,r=g.saveAs||((typeof window=="undefined"?"undefined":S()(window))!=="object"||window!==g?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Ve,Se,Re){var Be=g.URL||g.webkitURL,We=document.createElement("a");Se=Se||Ve.name||"download",We.download=Se,We.rel="noopener",typeof Ve=="string"?(We.href=Ve,We.origin!==location.origin?a(We.href)?c(Ve,Se,Re):n(We,We.target="_blank"):n(We)):(We.href=Be.createObjectURL(Ve),setTimeout(function(){Be.revokeObjectURL(We.href)},4e4),setTimeout(function(){n(We)},0))}:"msSaveOrOpenBlob"in navigator?function(Ve,Se,Re){if(Se=Se||Ve.name||"download",typeof Ve=="string")if(a(Ve))c(Ve,Se,Re);else{var Be=document.createElement("a");Be.href=Ve,Be.target="_blank",setTimeout(function(){n(Be)})}else navigator.msSaveOrOpenBlob(function(We,He){return He===void 0?He={autoBom:!1}:S()(He)!=="object"&&(d.warn("Deprecated: Expected third argument to be a object"),He={autoBom:!He}),He.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(We.type)?new Blob([String.fromCharCode(65279),We],{type:We.type}):We}(Ve,Re),Se)}:function(Ve,Se,Re,Be){if((Be=Be||open("","_blank"))&&(Be.document.title=Be.document.body.innerText="downloading..."),typeof Ve=="string")return c(Ve,Se,Re);var We=Ve.type==="application/octet-stream",He=/constructor/i.test(g.HTMLElement)||g.safari,Qe=/CriOS\/[\d]+/.test(navigator.userAgent);if((Qe||We&&He)&&(typeof FileReader=="undefined"?"undefined":S()(FileReader))==="object"){var At=new FileReader;At.onloadend=function(){var wr=At.result;wr=Qe?wr:wr.replace(/^data:[^;]*;/,"data:attachment/file;"),Be?Be.location.href=wr:location=wr,Be=null},At.readAsDataURL(Ve)}else{var st=g.URL||g.webkitURL,Pt=st.createObjectURL(Ve);Be?Be.location=Pt:location.href=Pt,Be=null,setTimeout(function(){st.revokeObjectURL(Pt)},4e4)}});/**
|
|
|
* A class to parse color values
|
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
|
* @license Use it if you like it
|
|
|
*/function l(Ve){var Se;Ve=Ve||"",this.ok=!1,Ve.charAt(0)=="#"&&(Ve=Ve.substr(1,6)),Ve={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[Ve=(Ve=Ve.replace(/ /g,"")).toLowerCase()]||Ve;for(var Re=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(st){return[parseInt(st[1]),parseInt(st[2]),parseInt(st[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(st){return[parseInt(st[1],16),parseInt(st[2],16),parseInt(st[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(st){return[parseInt(st[1]+st[1],16),parseInt(st[2]+st[2],16),parseInt(st[3]+st[3],16)]}}],Be=0;Be<Re.length;Be++){var We=Re[Be].re,He=Re[Be].process,Qe=We.exec(Ve);Qe&&(Se=He(Qe),this.r=Se[0],this.g=Se[1],this.b=Se[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var At=this.r.toString(16),st=this.g.toString(16),Pt=this.b.toString(16);return At.length==1&&(At="0"+At),st.length==1&&(st="0"+st),Pt.length==1&&(Pt="0"+Pt),"#"+At+st+Pt}}/**
|
|
|
* @license
|
|
|
* Joseph Myers does not specify a particular license for his work.
|
|
|
*
|
|
|
* Author: Joseph Myers
|
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
|
*
|
|
|
* Modified by: Owen Leong
|
|
|
*/function e(Ve,Se){var Re=Ve[0],Be=Ve[1],We=Ve[2],He=Ve[3];Re=u(Re,Be,We,He,Se[0],7,-680876936),He=u(He,Re,Be,We,Se[1],12,-389564586),We=u(We,He,Re,Be,Se[2],17,606105819),Be=u(Be,We,He,Re,Se[3],22,-1044525330),Re=u(Re,Be,We,He,Se[4],7,-176418897),He=u(He,Re,Be,We,Se[5],12,1200080426),We=u(We,He,Re,Be,Se[6],17,-1473231341),Be=u(Be,We,He,Re,Se[7],22,-45705983),Re=u(Re,Be,We,He,Se[8],7,1770035416),He=u(He,Re,Be,We,Se[9],12,-1958414417),We=u(We,He,Re,Be,Se[10],17,-42063),Be=u(Be,We,He,Re,Se[11],22,-1990404162),Re=u(Re,Be,We,He,Se[12],7,1804603682),He=u(He,Re,Be,We,Se[13],12,-40341101),We=u(We,He,Re,Be,Se[14],17,-1502002290),Re=h(Re,Be=u(Be,We,He,Re,Se[15],22,1236535329),We,He,Se[1],5,-165796510),He=h(He,Re,Be,We,Se[6],9,-1069501632),We=h(We,He,Re,Be,Se[11],14,643717713),Be=h(Be,We,He,Re,Se[0],20,-373897302),Re=h(Re,Be,We,He,Se[5],5,-701558691),He=h(He,Re,Be,We,Se[10],9,38016083),We=h(We,He,Re,Be,Se[15],14,-660478335),Be=h(Be,We,He,Re,Se[4],20,-405537848),Re=h(Re,Be,We,He,Se[9],5,568446438),He=h(He,Re,Be,We,Se[14],9,-1019803690),We=h(We,He,Re,Be,Se[3],14,-187363961),Be=h(Be,We,He,Re,Se[8],20,1163531501),Re=h(Re,Be,We,He,Se[13],5,-1444681467),He=h(He,Re,Be,We,Se[2],9,-51403784),We=h(We,He,Re,Be,Se[7],14,1735328473),Re=A(Re,Be=h(Be,We,He,Re,Se[12],20,-1926607734),We,He,Se[5],4,-378558),He=A(He,Re,Be,We,Se[8],11,-2022574463),We=A(We,He,Re,Be,Se[11],16,1839030562),Be=A(Be,We,He,Re,Se[14],23,-35309556),Re=A(Re,Be,We,He,Se[1],4,-1530992060),He=A(He,Re,Be,We,Se[4],11,1272893353),We=A(We,He,Re,Be,Se[7],16,-155497632),Be=A(Be,We,He,Re,Se[10],23,-1094730640),Re=A(Re,Be,We,He,Se[13],4,681279174),He=A(He,Re,Be,We,Se[0],11,-358537222),We=A(We,He,Re,Be,Se[3],16,-722521979),Be=A(Be,We,He,Re,Se[6],23,76029189),Re=A(Re,Be,We,He,Se[9],4,-640364487),He=A(He,Re,Be,We,Se[12],11,-421815835),We=A(We,He,Re,Be,Se[15],16,530742520),Re=v(Re,Be=A(Be,We,He,Re,Se[2],23,-995338651),We,He,Se[0],6,-198630844),He=v(He,Re,Be,We,Se[7],10,1126891415),We=v(We,He,Re,Be,Se[14],15,-1416354905),Be=v(Be,We,He,Re,Se[5],21,-57434055),Re=v(Re,Be,We,He,Se[12],6,1700485571),He=v(He,Re,Be,We,Se[3],10,-1894986606),We=v(We,He,Re,Be,Se[10],15,-1051523),Be=v(Be,We,He,Re,Se[1],21,-2054922799),Re=v(Re,Be,We,He,Se[8],6,1873313359),He=v(He,Re,Be,We,Se[15],10,-30611744),We=v(We,He,Re,Be,Se[6],15,-1560198380),Be=v(Be,We,He,Re,Se[13],21,1309151649),Re=v(Re,Be,We,He,Se[4],6,-145523070),He=v(He,Re,Be,We,Se[11],10,-1120210379),We=v(We,He,Re,Be,Se[2],15,718787259),Be=v(Be,We,He,Re,Se[9],21,-343485551),Ve[0]=I(Re,Ve[0]),Ve[1]=I(Be,Ve[1]),Ve[2]=I(We,Ve[2]),Ve[3]=I(He,Ve[3])}function s(Ve,Se,Re,Be,We,He){return Se=I(I(Se,Ve),I(Be,He)),I(Se<<We|Se>>>32-We,Re)}function u(Ve,Se,Re,Be,We,He,Qe){return s(Se&Re|~Se&Be,Ve,Se,We,He,Qe)}function h(Ve,Se,Re,Be,We,He,Qe){return s(Se&Be|Re&~Be,Ve,Se,We,He,Qe)}function A(Ve,Se,Re,Be,We,He,Qe){return s(Se^Re^Be,Ve,Se,We,He,Qe)}function v(Ve,Se,Re,Be,We,He,Qe){return s(Re^(Se|~Be),Ve,Se,We,He,Qe)}function w(Ve){var Se,Re=Ve.length,Be=[1732584193,-271733879,-1732584194,271733878];for(Se=64;Se<=Ve.length;Se+=64)e(Be,b(Ve.substring(Se-64,Se)));Ve=Ve.substring(Se-64);var We=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Se=0;Se<Ve.length;Se++)We[Se>>2]|=Ve.charCodeAt(Se)<<(Se%4<<3);if(We[Se>>2]|=128<<(Se%4<<3),Se>55)for(e(Be,We),Se=0;Se<16;Se++)We[Se]=0;return We[14]=8*Re,e(Be,We),Be}function b(Ve){var Se,Re=[];for(Se=0;Se<64;Se+=4)Re[Se>>2]=Ve.charCodeAt(Se)+(Ve.charCodeAt(Se+1)<<8)+(Ve.charCodeAt(Se+2)<<16)+(Ve.charCodeAt(Se+3)<<24);return Re}i=g.atob.bind(g),o=g.btoa.bind(g);var E="0123456789abcdef".split("");function T(Ve){for(var Se="",Re=0;Re<4;Re++)Se+=E[Ve>>8*Re+4&15]+E[Ve>>8*Re&15];return Se}function _(Ve){return String.fromCharCode((255&Ve)>>0,(65280&Ve)>>8,(16711680&Ve)>>16,(4278190080&Ve)>>24)}function x(Ve){return w(Ve).map(_).join("")}var C=function(Ve){for(var Se=0;Se<Ve.length;Se++)Ve[Se]=T(Ve[Se]);return Ve.join("")}(w("hello"))!="5d41402abc4b2a76b9719d911017c592";function I(Ve,Se){if(C){var Re=(65535&Ve)+(65535&Se);return(Ve>>16)+(Se>>16)+(Re>>16)<<16|65535&Re}return Ve+Se&4294967295}/**
|
|
|
* @license
|
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|
|
* You may embed it freely in your application (commercial or not), with or
|
|
|
* without modifications.
|
|
|
*
|
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
|
*/function L(Ve,Se){var Re,Be,We,He;if(Ve!==Re){for(var Qe=(We=Ve,He=1+(256/Ve.length>>0),new Array(He+1).join(We)),At=[],st=0;st<256;st++)At[st]=st;var Pt=0;for(st=0;st<256;st++){var wr=At[st];Pt=(Pt+wr+Qe.charCodeAt(st))%256,At[st]=At[Pt],At[Pt]=wr}Re=Ve,Be=At}else At=Be;var mr=Se.length,Or=0,jt=0,cn="";for(st=0;st<mr;st++)jt=(jt+(wr=At[Or=(Or+1)%256]))%256,At[Or]=At[jt],At[jt]=wr,Qe=At[(At[Or]+At[jt])%256],cn+=String.fromCharCode(Se.charCodeAt(st)^Qe);return cn}/**
|
|
|
* @license
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
* Author: Owen Leong (@owenl131)
|
|
|
* Date: 15 Oct 2020
|
|
|
* References:
|
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
|
* http://www.fpdf.org/en/script/script37.php
|
|
|
*/var F={print:4,modify:8,copy:16,"annot-forms":32};function B(Ve,Se,Re,Be){this.v=1,this.r=2;var We=192;Ve.forEach(function(At){if(F.perm!==void 0)throw new Error("Invalid permission: "+At);We+=F[At]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var He=(Se+this.padding).substr(0,32),Qe=(Re+this.padding).substr(0,32);this.O=this.processOwnerPassword(He,Qe),this.P=-(1+(255^We)),this.encryptionKey=x(He+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(Be)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function P(Ve){if(/[^\u0000-\u00ff]/.test(Ve))throw new Error("Invalid PDF Name Object: "+Ve+", Only accept ASCII characters.");for(var Se="",Re=Ve.length,Be=0;Be<Re;Be++){var We=Ve.charCodeAt(Be);We<33||We===35||We===37||We===40||We===41||We===47||We===60||We===62||We===91||We===93||We===123||We===125||We>126?Se+="#"+("0"+We.toString(16)).slice(-2):Se+=Ve[Be]}return Se}function H(Ve){if(S()(Ve)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Se={};this.subscribe=function(Re,Be,We){if(We=We||!1,typeof Re!="string"||typeof Be!="function"||typeof We!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Se.hasOwnProperty(Re)||(Se[Re]={});var He=Math.random().toString(35);return Se[Re][He]=[Be,!!We],He},this.unsubscribe=function(Re){for(var Be in Se)if(Se[Be][Re])return delete Se[Be][Re],Object.keys(Se[Be]).length===0&&delete Se[Be],!0;return!1},this.publish=function(Re){if(Se.hasOwnProperty(Re)){var Be=Array.prototype.slice.call(arguments,1),We=[];for(var He in Se[Re]){var Qe=Se[Re][He];try{Qe[0].apply(Ve,Be)}catch(At){g.console&&d.error("jsPDF PubSub Error",At.message,At)}Qe[1]&&We.push(He)}We.length&&We.forEach(this.unsubscribe)}},this.getTopics=function(){return Se}}function z(Ve){if(!(this instanceof z))return new z(Ve);var Se="opacity,stroke-opacity".split(",");for(var Re in Ve)Ve.hasOwnProperty(Re)&&Se.indexOf(Re)>=0&&(this[Re]=Ve[Re]);this.id="",this.objectNumber=-1}function M(Ve,Se){this.gState=Ve,this.matrix=Se,this.id="",this.objectNumber=-1}function U(Ve,Se,Re,Be,We){if(!(this instanceof U))return new U(Ve,Se,Re,Be,We);this.type=Ve==="axial"?2:3,this.coords=Se,this.colors=Re,M.call(this,Be,We)}function k(Ve,Se,Re,Be,We){if(!(this instanceof k))return new k(Ve,Se,Re,Be,We);this.boundingBox=Ve,this.xStep=Se,this.yStep=Re,this.stream="",this.cloneIndex=0,M.call(this,Be,We)}function K(Ve){var Se,Re=typeof arguments[0]=="string"?arguments[0]:"p",Be=arguments[1],We=arguments[2],He=arguments[3],Qe=[],At=1,st=16,Pt="S",wr=null;S()(Ve=Ve||{})==="object"&&(Re=Ve.orientation,Be=Ve.unit||Be,We=Ve.format||We,He=Ve.compress||Ve.compressPdf||He,(wr=Ve.encryption||null)!==null&&(wr.userPassword=wr.userPassword||"",wr.ownerPassword=wr.ownerPassword||"",wr.userPermissions=wr.userPermissions||[]),At=typeof Ve.userUnit=="number"?Math.abs(Ve.userUnit):1,Ve.precision!==void 0&&(Se=Ve.precision),Ve.floatPrecision!==void 0&&(st=Ve.floatPrecision),Pt=Ve.defaultPathOperation||"S"),Qe=Ve.filters||(He===!0?["FlateEncode"]:Qe),Be=Be||"mm",Re=(""+(Re||"P")).toLowerCase();var mr=Ve.putOnlyUsedFonts||!1,Or={},jt={internal:{},__private__:{}};jt.__private__.PubSub=H;var cn="1.3",nr=jt.__private__.getPdfVersion=function(){return cn};jt.__private__.setPdfVersion=function(yt){cn=yt};var Xr={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};jt.__private__.getPageFormats=function(){return Xr};var Br=jt.__private__.getPageFormat=function(yt){return Xr[yt]};We=We||"a4";var yr={COMPAT:"compat",ADVANCED:"advanced"},xn=yr.COMPAT;function Bn(){this.saveGraphicsState(),ln(new Hn(Kr,0,0,-Kr,0,ms()*Kr).toString()+" cm"),this.setFontSize(this.getFontSize()/Kr),Pt="n",xn=yr.ADVANCED}function ii(){this.restoreGraphicsState(),Pt="S",xn=yr.COMPAT}var oi=jt.__private__.combineFontStyleAndFontWeight=function(yt,Dt){if(yt=="bold"&&Dt=="normal"||yt=="bold"&&Dt==400||yt=="normal"&&Dt=="italic"||yt=="bold"&&Dt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Dt&&(yt=Dt==400||Dt==="normal"?yt==="italic"?"italic":"normal":Dt!=700&&Dt!=="bold"||yt!=="normal"?(Dt==700?"bold":Dt)+""+yt:"bold"),yt};jt.advancedAPI=function(yt){var Dt=xn===yr.COMPAT;return Dt&&Bn.call(this),typeof yt!="function"||(yt(this),Dt&&ii.call(this)),this},jt.compatAPI=function(yt){var Dt=xn===yr.ADVANCED;return Dt&&ii.call(this),typeof yt!="function"||(yt(this),Dt&&Bn.call(this)),this},jt.isAdvancedAPI=function(){return xn===yr.ADVANCED};var ei,ui=function(Dt){if(xn!==yr.ADVANCED)throw new Error(Dt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Fn=jt.roundToPrecision=jt.__private__.roundToPrecision=function(yt,Dt){var tn=Se||Dt;if(isNaN(yt)||isNaN(tn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return yt.toFixed(tn).replace(/0+$/,"")};ei=jt.hpf=jt.__private__.hpf=typeof st=="number"?function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return Fn(yt,st)}:st==="smart"?function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return Fn(yt,yt>-1&&yt<1?16:5)}:function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.hpf");return Fn(yt,16)};var Si=jt.f2=jt.__private__.f2=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.f2");return Fn(yt,2)},gn=jt.__private__.f3=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.f3");return Fn(yt,3)},Wr=jt.scale=jt.__private__.scale=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.scale");return xn===yr.COMPAT?yt*Kr:xn===yr.ADVANCED?yt:void 0},En=function(Dt){return xn===yr.COMPAT?ms()-Dt:xn===yr.ADVANCED?Dt:void 0},on=function(Dt){return Wr(En(Dt))};jt.__private__.setPrecision=jt.setPrecision=function(yt){typeof parseInt(yt,10)=="number"&&(Se=parseInt(yt,10))};var ci,ri="00000000000000000000000000000000",bi=jt.__private__.getFileId=function(){return ri},Gn=jt.__private__.setFileId=function(yt){return ri=yt!==void 0&&/^[a-fA-F0-9]{32}$/.test(yt)?yt.toUpperCase():ri.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),wr!==null&&(Qa=new B(wr.userPermissions,wr.userPassword,wr.ownerPassword,ri)),ri};jt.setFileId=function(yt){return Gn(yt),this},jt.getFileId=function(){return bi()};var Fi=jt.__private__.convertDateToPDFDate=function(yt){var Dt=yt.getTimezoneOffset(),tn=Dt<0?"+":"-",On=Math.floor(Math.abs(Dt/60)),ft=Math.abs(Dt%60),$=[tn,yn(On),"'",yn(ft),"'"].join("");return["D:",yt.getFullYear(),yn(yt.getMonth()+1),yn(yt.getDate()),yn(yt.getHours()),yn(yt.getMinutes()),yn(yt.getSeconds()),$].join("")},Jn=jt.__private__.convertPDFDateToDate=function(yt){var Dt=parseInt(yt.substr(2,4),10),tn=parseInt(yt.substr(6,2),10)-1,On=parseInt(yt.substr(8,2),10),ft=parseInt(yt.substr(10,2),10),$=parseInt(yt.substr(12,2),10),he=parseInt(yt.substr(14,2),10);return new Date(Dt,tn,On,ft,$,he,0)},Mi=jt.__private__.setCreationDate=function(yt){var Dt;if(yt===void 0&&(yt=new Date),yt instanceof Date)Dt=Fi(yt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(yt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Dt=yt}return ci=Dt},fn=jt.__private__.getCreationDate=function(yt){var Dt=ci;return yt==="jsDate"&&(Dt=Jn(ci)),Dt};jt.setCreationDate=function(yt){return Mi(yt),this},jt.getCreationDate=function(yt){return fn(yt)};var kr,yn=jt.__private__.padd2=function(yt){return("0"+parseInt(yt)).slice(-2)},jn=jt.__private__.padd2Hex=function(yt){return("00"+(yt=yt.toString())).substr(yt.length)},Xn=0,ti=[],di=[],fi=0,mi=[],Ki=[],ia=!1,qi=di,Ra=function(){Xn=0,fi=0,di=[],ti=[],mi=[],xr=Qr(),er=Qr()};jt.__private__.setCustomOutputDestination=function(yt){ia=!0,qi=yt};var pi=function(Dt){ia||(qi=Dt)};jt.__private__.resetCustomOutputDestination=function(){ia=!1,qi=di};var ln=jt.__private__.out=function(yt){return yt=yt.toString(),fi+=yt.length+1,qi.push(yt),qi},Oi=jt.__private__.write=function(yt){return ln(arguments.length===1?yt.toString():Array.prototype.join.call(arguments," "))},Ji=jt.__private__.getArrayBuffer=function(yt){for(var Dt=yt.length,tn=new ArrayBuffer(Dt),On=new Uint8Array(tn);Dt--;)On[Dt]=yt.charCodeAt(Dt);return tn},Pi=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];jt.__private__.getStandardFonts=function(){return Pi};var aa=Ve.fontSize||16;jt.__private__.setFontSize=jt.setFontSize=function(yt){return aa=xn===yr.ADVANCED?yt/Kr:yt,this};var Kt,Yr=jt.__private__.getFontSize=jt.getFontSize=function(){return xn===yr.COMPAT?aa:aa*Kr},rn=Ve.R2L||!1;jt.__private__.setR2L=jt.setR2L=function(yt){return rn=yt,this},jt.__private__.getR2L=jt.getR2L=function(){return rn};var hn,ze=jt.__private__.setZoomMode=function(yt){var Dt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(yt))Kt=yt;else if(isNaN(yt)){if(Dt.indexOf(yt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+yt+'" is not recognized.');Kt=yt}else Kt=parseInt(yt,10)};jt.__private__.getZoomMode=function(){return Kt};var Ct,or=jt.__private__.setPageMode=function(yt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(yt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+yt+'" is not recognized.');hn=yt};jt.__private__.getPageMode=function(){return hn};var rr=jt.__private__.setLayoutMode=function(yt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(yt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+yt+'" is not recognized.');Ct=yt};jt.__private__.getLayoutMode=function(){return Ct},jt.__private__.setDisplayMode=jt.setDisplayMode=function(yt,Dt,tn){return ze(yt),rr(Dt),or(tn),this};var Lr={title:"",subject:"",author:"",keywords:"",creator:""};jt.__private__.getDocumentProperty=function(yt){if(Object.keys(Lr).indexOf(yt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Lr[yt]},jt.__private__.getDocumentProperties=function(){return Lr},jt.__private__.setDocumentProperties=jt.setProperties=jt.setDocumentProperties=function(yt){for(var Dt in Lr)Lr.hasOwnProperty(Dt)&&yt[Dt]&&(Lr[Dt]=yt[Dt]);return this},jt.__private__.setDocumentProperty=function(yt,Dt){if(Object.keys(Lr).indexOf(yt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Lr[yt]=Dt};var Fr,Kr,nn,wn,In,Rn={},Dn={},bn=[],Sn={},_n={},Kn={},Yn={},Zn=null,yi=0,gi=[],Ni=new H(jt),ki=Ve.hotfixes||[],xi={},_i={},Li=[],Hn=function yt(Dt,tn,On,ft,$,he){if(!(this instanceof yt))return new yt(Dt,tn,On,ft,$,he);isNaN(Dt)&&(Dt=1),isNaN(tn)&&(tn=0),isNaN(On)&&(On=0),isNaN(ft)&&(ft=1),isNaN($)&&($=0),isNaN(he)&&(he=0),this._matrix=[Dt,tn,On,ft,$,he]};Object.defineProperty(Hn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(Hn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(Hn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(Hn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(Hn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(Hn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(Hn.prototype,"a",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(Hn.prototype,"b",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(Hn.prototype,"c",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(Hn.prototype,"d",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(Hn.prototype,"e",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(Hn.prototype,"f",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(Hn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Hn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Hn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Hn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Hn.prototype.join=function(yt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ei).join(yt)},Hn.prototype.multiply=function(yt){var Dt=yt.sx*this.sx+yt.shy*this.shx,tn=yt.sx*this.shy+yt.shy*this.sy,On=yt.shx*this.sx+yt.sy*this.shx,ft=yt.shx*this.shy+yt.sy*this.sy,$=yt.tx*this.sx+yt.ty*this.shx+this.tx,he=yt.tx*this.shy+yt.ty*this.sy+this.ty;return new Hn(Dt,tn,On,ft,$,he)},Hn.prototype.decompose=function(){var yt=this.sx,Dt=this.shy,tn=this.shx,On=this.sy,ft=this.tx,$=this.ty,he=Math.sqrt(yt*yt+Dt*Dt),ge=(yt/=he)*tn+(Dt/=he)*On;tn-=yt*ge,On-=Dt*ge;var Fe=Math.sqrt(tn*tn+On*On);return ge/=Fe,yt*(On/=Fe)<Dt*(tn/=Fe)&&(yt=-yt,Dt=-Dt,ge=-ge,he=-he),{scale:new Hn(he,0,0,Fe,0,0),translate:new Hn(1,0,0,1,ft,$),rotate:new Hn(yt,Dt,-Dt,yt,0,0),skew:new Hn(1,0,ge,1,0,0)}},Hn.prototype.toString=function(yt){return this.join(" ")},Hn.prototype.inversed=function(){var yt=this.sx,Dt=this.shy,tn=this.shx,On=this.sy,ft=this.tx,$=this.ty,he=1/(yt*On-Dt*tn),ge=On*he,Fe=-Dt*he,ct=-tn*he,Tt=yt*he;return new Hn(ge,Fe,ct,Tt,-ge*ft-ct*$,-Fe*ft-Tt*$)},Hn.prototype.applyToPoint=function(yt){var Dt=yt.x*this.sx+yt.y*this.shx+this.tx,tn=yt.x*this.shy+yt.y*this.sy+this.ty;return new ns(Dt,tn)},Hn.prototype.applyToRectangle=function(yt){var Dt=this.applyToPoint(yt),tn=this.applyToPoint(new ns(yt.x+yt.w,yt.y+yt.h));return new ys(Dt.x,Dt.y,tn.x-Dt.x,tn.y-Dt.y)},Hn.prototype.clone=function(){var yt=this.sx,Dt=this.shy,tn=this.shx,On=this.sy,ft=this.tx,$=this.ty;return new Hn(yt,Dt,tn,On,ft,$)},jt.Matrix=Hn;var Ci=jt.matrixMult=function(yt,Dt){return Dt.multiply(yt)},Hi=new Hn(1,0,0,1,0,0);jt.unitMatrix=jt.identityMatrix=Hi;var pr=function(Dt,tn){if(!_n[Dt]){var On=(tn instanceof U?"Sh":"P")+(Object.keys(Sn).length+1).toString(10);tn.id=On,_n[Dt]=On,Sn[On]=tn,Ni.publish("addPattern",tn)}};jt.ShadingPattern=U,jt.TilingPattern=k,jt.addShadingPattern=function(yt,Dt){return ui("addShadingPattern()"),pr(yt,Dt),this},jt.beginTilingPattern=function(yt){ui("beginTilingPattern()"),Ls(yt.boundingBox[0],yt.boundingBox[1],yt.boundingBox[2]-yt.boundingBox[0],yt.boundingBox[3]-yt.boundingBox[1],yt.matrix)},jt.endTilingPattern=function(yt,Dt){ui("endTilingPattern()"),Dt.stream=Ki[kr].join(`
|
|
|
`),pr(yt,Dt),Ni.publish("endTilingPattern",Dt),Li.pop().restore()};var Rr=jt.__private__.newObject=function(){var yt=Qr();return Nr(yt,!0),yt},Qr=jt.__private__.newObjectDeferred=function(){return Xn++,ti[Xn]=function(){return fi},Xn},Nr=function(Dt,tn){return tn=typeof tn=="boolean"&&tn,ti[Dt]=fi,tn&&ln(Dt+" 0 obj"),Dt},Xt=jt.__private__.newAdditionalObject=function(){var yt={objId:Qr(),content:""};return mi.push(yt),yt},xr=Qr(),er=Qr(),jr=jt.__private__.decodeColorString=function(yt){var Dt=yt.split(" ");if(Dt.length!==2||Dt[1]!=="g"&&Dt[1]!=="G")Dt.length===5&&(Dt[4]==="k"||Dt[4]==="K")&&(Dt=[(1-Dt[0])*(1-Dt[3]),(1-Dt[1])*(1-Dt[3]),(1-Dt[2])*(1-Dt[3]),"r"]);else{var tn=parseFloat(Dt[0]);Dt=[tn,tn,tn,"r"]}for(var On="#",ft=0;ft<3;ft++)On+=("0"+Math.floor(255*parseFloat(Dt[ft])).toString(16)).slice(-2);return On},Ur=jt.__private__.encodeColorString=function(yt){var Dt;typeof yt=="string"&&(yt={ch1:yt});var tn=yt.ch1,On=yt.ch2,ft=yt.ch3,$=yt.ch4,he=yt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof tn=="string"&&tn.charAt(0)!=="#"){var ge=new l(tn);if(ge.ok)tn=ge.toHex();else if(!/^\d*\.?\d*$/.test(tn))throw new Error('Invalid color "'+tn+'" passed to jsPDF.encodeColorString.')}if(typeof tn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(tn)&&(tn="#"+tn[1]+tn[1]+tn[2]+tn[2]+tn[3]+tn[3]),typeof tn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(tn)){var Fe=parseInt(tn.substr(1),16);tn=Fe>>16&255,On=Fe>>8&255,ft=255&Fe}if(On===void 0||$===void 0&&tn===On&&On===ft)if(typeof tn=="string")Dt=tn+" "+he[0];else switch(yt.precision){case 2:Dt=Si(tn/255)+" "+he[0];break;case 3:default:Dt=gn(tn/255)+" "+he[0]}else if($===void 0||S()($)==="object"){if($&&!isNaN($.a)&&$.a===0)return Dt=["1.","1.","1.",he[1]].join(" ");if(typeof tn=="string")Dt=[tn,On,ft,he[1]].join(" ");else switch(yt.precision){case 2:Dt=[Si(tn/255),Si(On/255),Si(ft/255),he[1]].join(" ");break;default:case 3:Dt=[gn(tn/255),gn(On/255),gn(ft/255),he[1]].join(" ")}}else if(typeof tn=="string")Dt=[tn,On,ft,$,he[2]].join(" ");else switch(yt.precision){case 2:Dt=[Si(tn),Si(On),Si(ft),Si($),he[2]].join(" ");break;case 3:default:Dt=[gn(tn),gn(On),gn(ft),gn($),he[2]].join(" ")}return Dt},pn=jt.__private__.getFilters=function(){return Qe},sn=jt.__private__.putStream=function(yt){var Dt=(yt=yt||{}).data||"",tn=yt.filters||pn(),On=yt.alreadyAppliedFilters||[],ft=yt.addLength1||!1,$=Dt.length,he=yt.objectId,ge=function(si){return si};if(wr!==null&&he===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");wr!==null&&(ge=Qa.encryptor(he,0));var Fe={};tn===!0&&(tn=["FlateEncode"]);var ct=yt.additionalKeyValues||[],Tt=(Fe=K.API.processDataByFilters!==void 0?K.API.processDataByFilters(Dt,tn):{data:Dt,reverseChain:[]}).reverseChain+(Array.isArray(On)?On.join(" "):On.toString());if(Fe.data.length!==0&&(ct.push({key:"Length",value:Fe.data.length}),ft===!0&&ct.push({key:"Length1",value:$})),Tt.length!=0)if(Tt.split("/").length-1==1)ct.push({key:"Filter",value:Tt});else{ct.push({key:"Filter",value:"["+Tt+"]"});for(var br=0;br<ct.length;br+=1)if(ct[br].key==="DecodeParms"){for(var Ir=[],$r=0;$r<Fe.reverseChain.split("/").length-1;$r+=1)Ir.push("null");Ir.push(ct[br].value),ct[br].value="["+Ir.join(" ")+"]"}}ln("<<");for(var Cn=0;Cn<ct.length;Cn++)ln("/"+ct[Cn].key+" "+ct[Cn].value);ln(">>"),Fe.data.length!==0&&(ln("stream"),ln(ge(Fe.data)),ln("endstream"))},vn=jt.__private__.putPage=function(yt){var Dt=yt.number,tn=yt.data,On=yt.objId,ft=yt.contentsObjId;Nr(On,!0),ln("<</Type /Page"),ln("/Parent "+yt.rootDictionaryObjId+" 0 R"),ln("/Resources "+yt.resourceDictionaryObjId+" 0 R"),ln("/MediaBox ["+parseFloat(ei(yt.mediaBox.bottomLeftX))+" "+parseFloat(ei(yt.mediaBox.bottomLeftY))+" "+ei(yt.mediaBox.topRightX)+" "+ei(yt.mediaBox.topRightY)+"]"),yt.cropBox!==null&&ln("/CropBox ["+ei(yt.cropBox.bottomLeftX)+" "+ei(yt.cropBox.bottomLeftY)+" "+ei(yt.cropBox.topRightX)+" "+ei(yt.cropBox.topRightY)+"]"),yt.bleedBox!==null&&ln("/BleedBox ["+ei(yt.bleedBox.bottomLeftX)+" "+ei(yt.bleedBox.bottomLeftY)+" "+ei(yt.bleedBox.topRightX)+" "+ei(yt.bleedBox.topRightY)+"]"),yt.trimBox!==null&&ln("/TrimBox ["+ei(yt.trimBox.bottomLeftX)+" "+ei(yt.trimBox.bottomLeftY)+" "+ei(yt.trimBox.topRightX)+" "+ei(yt.trimBox.topRightY)+"]"),yt.artBox!==null&&ln("/ArtBox ["+ei(yt.artBox.bottomLeftX)+" "+ei(yt.artBox.bottomLeftY)+" "+ei(yt.artBox.topRightX)+" "+ei(yt.artBox.topRightY)+"]"),typeof yt.userUnit=="number"&&yt.userUnit!==1&&ln("/UserUnit "+yt.userUnit),Ni.publish("putPage",{objId:On,pageContext:gi[Dt],pageNumber:Dt,page:tn}),ln("/Contents "+ft+" 0 R"),ln(">>"),ln("endobj");var $=tn.join(`
|
|
|
`);return xn===yr.ADVANCED&&($+=`
|
|
|
Q`),Nr(ft,!0),sn({data:$,filters:pn(),objectId:ft}),ln("endobj"),On},Un=jt.__private__.putPages=function(){var yt,Dt,tn=[];for(yt=1;yt<=yi;yt++)gi[yt].objId=Qr(),gi[yt].contentsObjId=Qr();for(yt=1;yt<=yi;yt++)tn.push(vn({number:yt,data:Ki[yt],objId:gi[yt].objId,contentsObjId:gi[yt].contentsObjId,mediaBox:gi[yt].mediaBox,cropBox:gi[yt].cropBox,bleedBox:gi[yt].bleedBox,trimBox:gi[yt].trimBox,artBox:gi[yt].artBox,userUnit:gi[yt].userUnit,rootDictionaryObjId:xr,resourceDictionaryObjId:er}));Nr(xr,!0),ln("<</Type /Pages");var On="/Kids [";for(Dt=0;Dt<yi;Dt++)On+=tn[Dt]+" 0 R ";ln(On+"]"),ln("/Count "+yi),ln(">>"),ln("endobj"),Ni.publish("postPutPages")},Qn=function(Dt){Ni.publish("putFont",{font:Dt,out:ln,newObject:Rr,putStream:sn}),Dt.isAlreadyPutted!==!0&&(Dt.objectNumber=Rr(),ln("<<"),ln("/Type /Font"),ln("/BaseFont /"+P(Dt.postScriptName)),ln("/Subtype /Type1"),typeof Dt.encoding=="string"&&ln("/Encoding /"+Dt.encoding),ln("/FirstChar 32"),ln("/LastChar 255"),ln(">>"),ln("endobj"))},$n=function(){for(var Dt in Rn)Rn.hasOwnProperty(Dt)&&(mr===!1||mr===!0&&Or.hasOwnProperty(Dt))&&Qn(Rn[Dt])},wi=function(Dt){Dt.objectNumber=Rr();var tn=[];tn.push({key:"Type",value:"/XObject"}),tn.push({key:"Subtype",value:"/Form"}),tn.push({key:"BBox",value:"["+[ei(Dt.x),ei(Dt.y),ei(Dt.x+Dt.width),ei(Dt.y+Dt.height)].join(" ")+"]"}),tn.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"});var On=Dt.pages[1].join(`
|
|
|
`);sn({data:On,additionalKeyValues:tn,objectId:Dt.objectNumber}),ln("endobj")},ra=function(){for(var Dt in xi)xi.hasOwnProperty(Dt)&&wi(xi[Dt])},ua=function(Dt,tn){var On,ft=[],$=1/(tn-1);for(On=0;On<1;On+=$)ft.push(On);if(ft.push(1),Dt[0].offset!=0){var he={offset:0,color:Dt[0].color};Dt.unshift(he)}if(Dt[Dt.length-1].offset!=1){var ge={offset:1,color:Dt[Dt.length-1].color};Dt.push(ge)}for(var Fe="",ct=0,Tt=0;Tt<ft.length;Tt++){for(On=ft[Tt];On>Dt[ct+1].offset;)ct++;var br=Dt[ct].offset,Ir=(On-br)/(Dt[ct+1].offset-br),$r=Dt[ct].color,Cn=Dt[ct+1].color;Fe+=jn(Math.round((1-Ir)*$r[0]+Ir*Cn[0]).toString(16))+jn(Math.round((1-Ir)*$r[1]+Ir*Cn[1]).toString(16))+jn(Math.round((1-Ir)*$r[2]+Ir*Cn[2]).toString(16))}return Fe.trim()},da=function(Dt,tn){tn||(tn=21);var On=Rr(),ft=ua(Dt.colors,tn),$=[];$.push({key:"FunctionType",value:"0"}),$.push({key:"Domain",value:"[0.0 1.0]"}),$.push({key:"Size",value:"["+tn+"]"}),$.push({key:"BitsPerSample",value:"8"}),$.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),$.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),sn({data:ft,additionalKeyValues:$,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:On}),ln("endobj"),Dt.objectNumber=Rr(),ln("<< /ShadingType "+Dt.type),ln("/ColorSpace /DeviceRGB");var he="/Coords ["+ei(parseFloat(Dt.coords[0]))+" "+ei(parseFloat(Dt.coords[1]))+" ";Dt.type===2?he+=ei(parseFloat(Dt.coords[2]))+" "+ei(parseFloat(Dt.coords[3])):he+=ei(parseFloat(Dt.coords[2]))+" "+ei(parseFloat(Dt.coords[3]))+" "+ei(parseFloat(Dt.coords[4]))+" "+ei(parseFloat(Dt.coords[5])),ln(he+="]"),Dt.matrix&&ln("/Matrix ["+Dt.matrix.toString()+"]"),ln("/Function "+On+" 0 R"),ln("/Extend [true true]"),ln(">>"),ln("endobj")},sa=function(Dt,tn){var On=Qr(),ft=Rr();tn.push({resourcesOid:On,objectOid:ft}),Dt.objectNumber=ft;var $=[];$.push({key:"Type",value:"/Pattern"}),$.push({key:"PatternType",value:"1"}),$.push({key:"PaintType",value:"1"}),$.push({key:"TilingType",value:"1"}),$.push({key:"BBox",value:"["+Dt.boundingBox.map(ei).join(" ")+"]"}),$.push({key:"XStep",value:ei(Dt.xStep)}),$.push({key:"YStep",value:ei(Dt.yStep)}),$.push({key:"Resources",value:On+" 0 R"}),Dt.matrix&&$.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"}),sn({data:Dt.stream,additionalKeyValues:$,objectId:Dt.objectNumber}),ln("endobj")},fa=function(Dt){var tn;for(tn in Sn)Sn.hasOwnProperty(tn)&&(Sn[tn]instanceof U?da(Sn[tn]):Sn[tn]instanceof k&&sa(Sn[tn],Dt))},Wi=function(Dt){for(var tn in Dt.objectNumber=Rr(),ln("<<"),Dt)switch(tn){case"opacity":ln("/ca "+Si(Dt[tn]));break;case"stroke-opacity":ln("/CA "+Si(Dt[tn]))}ln(">>"),ln("endobj")},Di=function(){var Dt;for(Dt in Kn)Kn.hasOwnProperty(Dt)&&Wi(Kn[Dt])},na=function(){for(var Dt in ln("/XObject <<"),xi)xi.hasOwnProperty(Dt)&&xi[Dt].objectNumber>=0&&ln("/"+Dt+" "+xi[Dt].objectNumber+" 0 R");Ni.publish("putXobjectDict"),ln(">>")},Zi=function(){Qa.oid=Rr(),ln("<<"),ln("/Filter /Standard"),ln("/V "+Qa.v),ln("/R "+Qa.r),ln("/U <"+Qa.toHexString(Qa.U)+">"),ln("/O <"+Qa.toHexString(Qa.O)+">"),ln("/P "+Qa.P),ln(">>"),ln("endobj")},ba=function(){for(var Dt in ln("/Font <<"),Rn)Rn.hasOwnProperty(Dt)&&(mr===!1||mr===!0&&Or.hasOwnProperty(Dt))&&ln("/"+Dt+" "+Rn[Dt].objectNumber+" 0 R");ln(">>")},Ta=function(){if(Object.keys(Sn).length>0){for(var Dt in ln("/Shading <<"),Sn)Sn.hasOwnProperty(Dt)&&Sn[Dt]instanceof U&&Sn[Dt].objectNumber>=0&&ln("/"+Dt+" "+Sn[Dt].objectNumber+" 0 R");Ni.publish("putShadingPatternDict"),ln(">>")}},$i=function(Dt){if(Object.keys(Sn).length>0){for(var tn in ln("/Pattern <<"),Sn)Sn.hasOwnProperty(tn)&&Sn[tn]instanceof jt.TilingPattern&&Sn[tn].objectNumber>=0&&Sn[tn].objectNumber<Dt&&ln("/"+tn+" "+Sn[tn].objectNumber+" 0 R");Ni.publish("putTilingPatternDict"),ln(">>")}},Vi=function(){if(Object.keys(Kn).length>0){var Dt;for(Dt in ln("/ExtGState <<"),Kn)Kn.hasOwnProperty(Dt)&&Kn[Dt].objectNumber>=0&&ln("/"+Dt+" "+Kn[Dt].objectNumber+" 0 R");Ni.publish("putGStateDict"),ln(">>")}},La=function(Dt){Nr(Dt.resourcesOid,!0),ln("<<"),ln("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ba(),Ta(),$i(Dt.objectOid),Vi(),na(),ln(">>"),ln("endobj")},ga=function(){var Dt=[];$n(),Di(),ra(),fa(Dt),Ni.publish("putResources"),Dt.forEach(La),La({resourcesOid:er,objectOid:Number.MAX_SAFE_INTEGER}),Ni.publish("postPutResources")},Ti=function(){Ni.publish("putAdditionalObjects");for(var Dt=0;Dt<mi.length;Dt++){var tn=mi[Dt];Nr(tn.objId,!0),ln(tn.content),ln("endobj")}Ni.publish("postPutAdditionalObjects")},Ea=function(Dt){Dn[Dt.fontName]=Dn[Dt.fontName]||{},Dn[Dt.fontName][Dt.fontStyle]=Dt.id},Da=function(Dt,tn,On,ft,$){var he={id:"F"+(Object.keys(Rn).length+1).toString(10),postScriptName:Dt,fontName:tn,fontStyle:On,encoding:ft,isStandardFont:$||!1,metadata:{}};return Ni.publish("addFont",{font:he,instance:this}),Rn[he.id]=he,Ea(he),he.id},Na=function(Dt){for(var tn=0,On=Pi.length;tn<On;tn++){var ft=Da.call(this,Dt[tn][0],Dt[tn][1],Dt[tn][2],Pi[tn][3],!0);mr===!1&&(Or[ft]=!0);var $=Dt[tn][0].split("-");Ea({id:ft,fontName:$[0],fontStyle:$[1]||""})}Ni.publish("addFonts",{fonts:Rn,dictionary:Dn})},Pa=function(Dt){return Dt.foo=function(){try{return Dt.apply(this,arguments)}catch(ft){var tn=ft.stack||"";~tn.indexOf(" at ")&&(tn=tn.split(" at ")[1]);var On="Error in function "+tn.split(`
|
|
|
`)[0].split("<")[0]+": "+ft.message;if(!g.console)throw new Error(On);g.console.error(On,ft),g.alert&&alert(On)}},Dt.foo.bar=Dt,Dt.foo},Ha=function(Dt,tn){var On,ft,$,he,ge,Fe,ct,Tt,br;if($=(tn=tn||{}).sourceEncoding||"Unicode",ge=tn.outputEncoding,(tn.autoencode||ge)&&Rn[Fr].metadata&&Rn[Fr].metadata[$]&&Rn[Fr].metadata[$].encoding&&(he=Rn[Fr].metadata[$].encoding,!ge&&Rn[Fr].encoding&&(ge=Rn[Fr].encoding),!ge&&he.codePages&&(ge=he.codePages[0]),typeof ge=="string"&&(ge=he[ge]),ge)){for(ct=!1,Fe=[],On=0,ft=Dt.length;On<ft;On++)(Tt=ge[Dt.charCodeAt(On)])?Fe.push(String.fromCharCode(Tt)):Fe.push(Dt[On]),Fe[On].charCodeAt(0)>>8&&(ct=!0);Dt=Fe.join("")}for(On=Dt.length;ct===void 0&&On!==0;)Dt.charCodeAt(On-1)>>8&&(ct=!0),On--;if(!ct)return Dt;for(Fe=tn.noBOM?[]:[254,255],On=0,ft=Dt.length;On<ft;On++){if((br=(Tt=Dt.charCodeAt(On))>>8)>>8)throw new Error("Character at position "+On+" of string '"+Dt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Fe.push(br),Fe.push(Tt-(br<<8))}return String.fromCharCode.apply(void 0,Fe)},za=jt.__private__.pdfEscape=jt.pdfEscape=function(yt,Dt){return Ha(yt,Dt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},wa=jt.__private__.beginPage=function(yt){Ki[++yi]=[],gi[yi]={objId:0,contentsObjId:0,userUnit:Number(At),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(yt[0]),topRightY:Number(yt[1])}},ea(yi),pi(Ki[kr])},Ka=function(Dt,tn){var On,ft,$;switch(Re=tn||Re,typeof Dt=="string"&&(On=Br(Dt.toLowerCase()),Array.isArray(On)&&(ft=On[0],$=On[1])),Array.isArray(Dt)&&(ft=Dt[0]*Kr,$=Dt[1]*Kr),isNaN(ft)&&(ft=We[0],$=We[1]),(ft>14400||$>14400)&&(d.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ft=Math.min(14400,ft),$=Math.min(14400,$)),We=[ft,$],Re.substr(0,1)){case"l":$>ft&&(We=[$,ft]);break;case"p":ft>$&&(We=[$,ft])}wa(We),Ns(el),ln(Go),io!==0&&ln(io+" J"),Ao!==0&&ln(Ao+" j"),Ni.publish("addPage",{pageNumber:yi})},ao=function(Dt){Dt>0&&Dt<=yi&&(Ki.splice(Dt,1),gi.splice(Dt,1),yi--,kr>yi&&(kr=yi),this.setPage(kr))},ea=function(Dt){Dt>0&&Dt<=yi&&(kr=Dt)},lo=jt.__private__.getNumberOfPages=jt.getNumberOfPages=function(){return Ki.length-1},Ya=function(Dt,tn,On){var ft,$=void 0;return On=On||{},Dt=Dt!==void 0?Dt:Rn[Fr].fontName,tn=tn!==void 0?tn:Rn[Fr].fontStyle,ft=Dt.toLowerCase(),Dn[ft]!==void 0&&Dn[ft][tn]!==void 0?$=Dn[ft][tn]:Dn[Dt]!==void 0&&Dn[Dt][tn]!==void 0?$=Dn[Dt][tn]:On.disableWarning===!1&&d.warn("Unable to look up font label for font '"+Dt+"', '"+tn+"'. Refer to getFontList() for available fonts."),$||On.noFallback||($=Dn.times[tn])==null&&($=Dn.times.normal),$},Sa=jt.__private__.putInfo=function(){var yt=Rr(),Dt=function(ft){return ft};for(var tn in wr!==null&&(Dt=Qa.encryptor(yt,0)),ln("<<"),ln("/Producer ("+za(Dt("jsPDF "+K.version))+")"),Lr)Lr.hasOwnProperty(tn)&&Lr[tn]&&ln("/"+tn.substr(0,1).toUpperCase()+tn.substr(1)+" ("+za(Dt(Lr[tn]))+")");ln("/CreationDate ("+za(Dt(ci))+")"),ln(">>"),ln("endobj")},Ja=jt.__private__.putCatalog=function(yt){var Dt=(yt=yt||{}).rootDictionaryObjId||xr;switch(Rr(),ln("<<"),ln("/Type /Catalog"),ln("/Pages "+Dt+" 0 R"),Kt||(Kt="fullwidth"),Kt){case"fullwidth":ln("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ln("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ln("/OpenAction [3 0 R /Fit]");break;case"original":ln("/OpenAction [3 0 R /XYZ null null 1]");break;default:var tn=""+Kt;tn.substr(tn.length-1)==="%"&&(Kt=parseInt(Kt)/100),typeof Kt=="number"&&ln("/OpenAction [3 0 R /XYZ null null "+Si(Kt)+"]")}switch(Ct||(Ct="continuous"),Ct){case"continuous":ln("/PageLayout /OneColumn");break;case"single":ln("/PageLayout /SinglePage");break;case"two":case"twoleft":ln("/PageLayout /TwoColumnLeft");break;case"tworight":ln("/PageLayout /TwoColumnRight")}hn&&ln("/PageMode /"+hn),Ni.publish("putCatalog"),ln(">>"),ln("endobj")},Ma=jt.__private__.putTrailer=function(){ln("trailer"),ln("<<"),ln("/Size "+(Xn+1)),ln("/Root "+Xn+" 0 R"),ln("/Info "+(Xn-1)+" 0 R"),wr!==null&&ln("/Encrypt "+Qa.oid+" 0 R"),ln("/ID [ <"+ri+"> <"+ri+"> ]"),ln(">>")},ka=jt.__private__.putHeader=function(){ln("%PDF-"+cn),ln("%\xBA\xDF\xAC\xE0")},yo=jt.__private__.putXRef=function(){var yt="0000000000";ln("xref"),ln("0 "+(Xn+1)),ln("0000000000 65535 f ");for(var Dt=1;Dt<=Xn;Dt++)typeof ti[Dt]=="function"?ln((yt+ti[Dt]()).slice(-10)+" 00000 n "):ti[Dt]!==void 0?ln((yt+ti[Dt]).slice(-10)+" 00000 n "):ln("0000000000 00000 n ")},to=jt.__private__.buildDocument=function(){Ra(),pi(di),Ni.publish("buildDocument"),ka(),Un(),Ti(),ga(),wr!==null&&Zi(),Sa(),Ja();var yt=fi;return yo(),Ma(),ln("startxref"),ln(""+yt),ln("%%EOF"),pi(Ki[kr]),di.join(`
|
|
|
`)},_o=jt.__private__.getBlob=function(yt){return new Blob([Ji(yt)],{type:"application/pdf"})},co=jt.output=jt.__private__.output=Pa(function(yt,Dt){switch(typeof(Dt=Dt||{})=="string"?Dt={filename:Dt}:Dt.filename=Dt.filename||"generated.pdf",yt){case void 0:return to();case"save":jt.save(Dt.filename);break;case"arraybuffer":return Ji(to());case"blob":return _o(to());case"bloburi":case"bloburl":if(g.URL!==void 0&&typeof g.URL.createObjectURL=="function")return g.URL&&g.URL.createObjectURL(_o(to()))||void 0;d.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var tn="",On=to();try{tn=o(On)}catch(br){tn=o(unescape(encodeURIComponent(On)))}return"data:application/pdf;filename="+Dt.filename+";base64,"+tn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var ft='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(Dt.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Dt)+");</script></body></html>",$=g.open();return $!==null&&$.document.write(ft),$}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(g)==="[object Window]"){var he='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Dt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Dt.filename+'" width="500px" height="400px" /></body></html>',ge=g.open();if(ge!==null){ge.document.write(he);var Fe=this;ge.document.documentElement.querySelector("#pdfViewer").onload=function(){ge.document.title=Dt.filename,ge.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Fe.output("bloburl"))}}return ge}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(g)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var ct='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Dt)+'"></iframe></body></html>',Tt=g.open();if(Tt!==null&&(Tt.document.write(ct),Tt.document.title=Dt.filename),Tt||typeof safari=="undefined")return Tt;break;case"datauri":case"dataurl":return g.document.location.href=this.output("datauristring",Dt);default:return null}}),uo=function(Dt){return Array.isArray(ki)===!0&&ki.indexOf(Dt)>-1};switch(Be){case"pt":Kr=1;break;case"mm":Kr=72/25.4;break;case"cm":Kr=72/2.54;break;case"in":Kr=72;break;case"px":Kr=uo("px_scaling")==1?.75:96/72;break;case"pc":case"em":Kr=12;break;case"ex":Kr=6;break;default:if(typeof Be!="number")throw new Error("Invalid unit: "+Be);Kr=Be}var Qa=null;Mi(),Gn();var Za=function(Dt){return wr!==null?Qa.encryptor(Dt,0):function(tn){return tn}},Ca=jt.__private__.getPageInfo=jt.getPageInfo=function(yt){if(isNaN(yt)||yt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:gi[yt].objId,pageNumber:yt,pageContext:gi[yt]}},no=jt.__private__.getPageInfoByObjId=function(yt){if(isNaN(yt)||yt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Dt in gi)if(gi[Dt].objId===yt)break;return Ca(Dt)},fo=jt.__private__.getCurrentPageInfo=jt.getCurrentPageInfo=function(){return{objId:gi[kr].objId,pageNumber:kr,pageContext:gi[kr]}};jt.addPage=function(){return Ka.apply(this,arguments),this},jt.setPage=function(){return ea.apply(this,arguments),pi.call(this,Ki[kr]),this},jt.insertPage=function(yt){return this.addPage(),this.movePage(kr,yt),this},jt.movePage=function(yt,Dt){var tn,On;if(yt>Dt){tn=Ki[yt],On=gi[yt];for(var ft=yt;ft>Dt;ft--)Ki[ft]=Ki[ft-1],gi[ft]=gi[ft-1];Ki[Dt]=tn,gi[Dt]=On,this.setPage(Dt)}else if(yt<Dt){tn=Ki[yt],On=gi[yt];for(var $=yt;$<Dt;$++)Ki[$]=Ki[$+1],gi[$]=gi[$+1];Ki[Dt]=tn,gi[Dt]=On,this.setPage(Dt)}return this},jt.deletePage=function(){return ao.apply(this,arguments),this},jt.__private__.text=jt.text=function(yt,Dt,tn,On,ft){var $,he,ge,Fe,ct,Tt,br,Ir,$r,Cn=(On=On||{}).scope||this;if(typeof yt=="number"&&typeof Dt=="number"&&(typeof tn=="string"||Array.isArray(tn))){var Wn=tn;tn=Dt,Dt=yt,yt=Wn}if(arguments[3]instanceof Hn==!1?(ge=arguments[4],Fe=arguments[5],S()(br=arguments[3])==="object"&&br!==null||(typeof ge=="string"&&(Fe=ge,ge=null),typeof br=="string"&&(Fe=br,br=null),typeof br=="number"&&(ge=br,br=null),On={flags:br,angle:ge,align:Fe})):(ui("The transform parameter of text() with a Matrix value"),$r=ft),isNaN(Dt)||isNaN(tn)||yt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(yt.length===0)return Cn;var si="",Ei=!1,zi=typeof On.lineHeightFactor=="number"?On.lineHeightFactor:Qo,la=Cn.internal.scaleFactor;function va(Po){return Po=Po.split(" ").join(Array(On.TabLen||9).join(" ")),za(Po,br)}function $a(Po){for(var Co,Zo=Po.concat(),So=[],js=Zo.length;js--;)typeof(Co=Zo.shift())=="string"?So.push(Co):Array.isArray(Po)&&(Co.length===1||Co[1]===void 0&&Co[2]===void 0)?So.push(Co[0]):So.push([Co[0],Co[1],Co[2]]);return So}function eo(Po,Co){var Zo;if(typeof Po=="string")Zo=Co(Po)[0];else if(Array.isArray(Po)){for(var So,js,Hl=Po.concat(),fl=[],Ml=Hl.length;Ml--;)typeof(So=Hl.shift())=="string"?fl.push(Co(So)[0]):Array.isArray(So)&&typeof So[0]=="string"&&(js=Co(So[0],So[1],So[2]),fl.push([js[0],js[1],js[2]]));Zo=fl}return Zo}var ro=!1,Lo=!0;if(typeof yt=="string")ro=!0;else if(Array.isArray(yt)){var Eo=yt.concat();he=[];for(var Gi,po=Eo.length;po--;)(typeof(Gi=Eo.shift())!="string"||Array.isArray(Gi)&&typeof Gi[0]!="string")&&(Lo=!1);ro=Lo}if(ro===!1)throw new Error('Type of text must be string or Array. "'+yt+'" is not recognized.');typeof yt=="string"&&(yt=yt.match(/[\r?\n]/)?yt.split(/\r\n|\r|\n/g):[yt]);var wo=aa/Cn.internal.scaleFactor,ts=wo*(zi-1);switch(On.baseline){case"bottom":tn-=ts;break;case"top":tn+=wo-ts;break;case"hanging":tn+=wo-2*ts;break;case"middle":tn+=wo/2-ts}if((Tt=On.maxWidth||0)>0&&(typeof yt=="string"?yt=Cn.splitTextToSize(yt,Tt):Object.prototype.toString.call(yt)==="[object Array]"&&(yt=yt.reduce(function(Po,Co){return Po.concat(Cn.splitTextToSize(Co,Tt))},[]))),$={text:yt,x:Dt,y:tn,options:On,mutex:{pdfEscape:za,activeFontKey:Fr,fonts:Rn,activeFontSize:aa}},Ni.publish("preProcessText",$),yt=$.text,ge=(On=$.options).angle,$r instanceof Hn==!1&&ge&&typeof ge=="number"){ge*=Math.PI/180,On.rotationDirection===0&&(ge=-ge),xn===yr.ADVANCED&&(ge=-ge);var No=Math.cos(ge),Io=Math.sin(ge);$r=new Hn(No,Io,-Io,No,0,0)}else ge&&ge instanceof Hn&&($r=ge);xn!==yr.ADVANCED||$r||($r=Hi),(ct=On.charSpace||Ks)!==void 0&&(si+=ei(Wr(ct))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(Ir=On.horizontalScale)!==void 0&&(si+=ei(100*Ir)+` Tz
|
|
|
`),On.lang;var Ko=-1,bs=On.renderingMode!==void 0?On.renderingMode:On.stroke,ls=Cn.internal.getCurrentPageInfo().pageContext;switch(bs){case 0:case!1:case"fill":Ko=0;break;case 1:case!0:case"stroke":Ko=1;break;case 2:case"fillThenStroke":Ko=2;break;case 3:case"invisible":Ko=3;break;case 4:case"fillAndAddForClipping":Ko=4;break;case 5:case"strokeAndAddPathForClipping":Ko=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Ko=6;break;case 7:case"addToPathForClipping":Ko=7}var cs=ls.usedRenderingMode!==void 0?ls.usedRenderingMode:-1;Ko!==-1?si+=Ko+` Tr
|
|
|
`:cs!==-1&&(si+=`0 Tr
|
|
|
`),Ko!==-1&&(ls.usedRenderingMode=Ko),Fe=On.align||"left";var ws,us=aa*zi,Ys=Cn.internal.pageSize.getWidth(),dl=Rn[Fr];ct=On.charSpace||Ks,Tt=On.maxWidth||0,br=Object.assign({autoencode:!0,noBOM:!0},On.flags);var gs=[];if(Object.prototype.toString.call(yt)==="[object Array]"){var Do;he=$a(yt),Fe!=="left"&&(ws=he.map(function(Po){return Cn.getStringUnitWidth(Po,{font:dl,charSpace:ct,fontSize:aa,doKerning:!1})*aa/la}));var is,Qs=0;if(Fe==="right"){Dt-=ws[0],yt=[],po=he.length;for(var Ds=0;Ds<po;Ds++)Ds===0?(is=jo(Dt),Do=go(tn)):(is=Wr(Qs-ws[Ds]),Do=-us),yt.push([he[Ds],is,Do]),Qs=ws[Ds]}else if(Fe==="center"){Dt-=ws[0]/2,yt=[],po=he.length;for(var Vs=0;Vs<po;Vs++)Vs===0?(is=jo(Dt),Do=go(tn)):(is=Wr((Qs-ws[Vs])/2),Do=-us),yt.push([he[Vs],is,Do]),Qs=ws[Vs]}else if(Fe==="left"){yt=[],po=he.length;for(var Xs=0;Xs<po;Xs++)yt.push(he[Xs])}else{if(Fe!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');yt=[],po=he.length,Tt=Tt!==0?Tt:Ys;for(var Fs=0;Fs<po;Fs++)Do=Fs===0?go(tn):-us,is=Fs===0?jo(Dt):0,Fs<po-1?gs.push(ei(Wr((Tt-ws[Fs])/(he[Fs].split(" ").length-1)))):gs.push(0),yt.push([he[Fs],is,Do])}}var al=typeof On.R2L=="boolean"?On.R2L:rn;al===!0&&(yt=eo(yt,function(Po,Co,Zo){return[Po.split("").reverse().join(""),Co,Zo]})),$={text:yt,x:Dt,y:tn,options:On,mutex:{pdfEscape:za,activeFontKey:Fr,fonts:Rn,activeFontSize:aa}},Ni.publish("postProcessText",$),yt=$.text,Ei=$.mutex.isHex||!1;var Js=Rn[Fr].encoding;Js!=="WinAnsiEncoding"&&Js!=="StandardEncoding"||(yt=eo(yt,function(Po,Co,Zo){return[va(Po),Co,Zo]})),he=$a(yt),yt=[];for(var rl,Us,Ga,ha=0,Wa=1,oo=Array.isArray(he[0])?Wa:ha,$o="",Bs=function(Co,Zo,So){var js="";return So instanceof Hn?(So=typeof On.angle=="number"?Ci(So,new Hn(1,0,0,1,Co,Zo)):Ci(new Hn(1,0,0,1,Co,Zo),So),xn===yr.ADVANCED&&(So=Ci(new Hn(1,0,0,-1,0,0),So)),js=So.join(" ")+` Tm
|
|
|
`):js=ei(Co)+" "+ei(Zo)+` Td
|
|
|
`,js},Ss=0;Ss<he.length;Ss++){switch($o="",oo){case Wa:Ga=(Ei?"<":"(")+he[Ss][0]+(Ei?">":")"),rl=parseFloat(he[Ss][1]),Us=parseFloat(he[Ss][2]);break;case ha:Ga=(Ei?"<":"(")+he[Ss]+(Ei?">":")"),rl=jo(Dt),Us=go(tn)}gs!==void 0&&gs[Ss]!==void 0&&($o=gs[Ss]+` Tw
|
|
|
`),Ss===0?yt.push($o+Bs(rl,Us,$r)+Ga):oo===ha?yt.push($o+Ga):oo===Wa&&yt.push($o+Bs(rl,Us,$r)+Ga)}yt=oo===ha?yt.join(` Tj
|
|
|
T* `):yt.join(` Tj
|
|
|
`),yt+=` Tj
|
|
|
`;var ds=`BT
|
|
|
/`;return ds+=Fr+" "+aa+` Tf
|
|
|
`,ds+=ei(aa*zi)+` TL
|
|
|
`,ds+=Bo+`
|
|
|
`,ds+=si,ds+=yt,ln(ds+="ET"),Or[Fr]=!0,Cn};var Bi=jt.__private__.clip=jt.clip=function(yt){return ln(yt==="evenodd"?"W*":"W"),this};jt.clipEvenOdd=function(){return Bi("evenodd")},jt.__private__.discardPath=jt.discardPath=function(){return ln("n"),this};var Ia=jt.__private__.isValidStyle=function(yt){var Dt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(yt)!==-1&&(Dt=!0),Dt};jt.__private__.setDefaultPathOperation=jt.setDefaultPathOperation=function(yt){return Ia(yt)&&(Pt=yt),this};var Vo=jt.__private__.getStyle=jt.getStyle=function(yt){var Dt=Pt;switch(yt){case"D":case"S":Dt="S";break;case"F":Dt="f";break;case"FD":case"DF":Dt="B";break;case"f":case"f*":case"B":case"B*":Dt=yt}return Dt},Uo=jt.close=function(){return ln("h"),this};jt.stroke=function(){return ln("S"),this},jt.fill=function(yt){return Xo("f",yt),this},jt.fillEvenOdd=function(yt){return Xo("f*",yt),this},jt.fillStroke=function(yt){return Xo("B",yt),this},jt.fillStrokeEvenOdd=function(yt){return Xo("B*",yt),this};var Xo=function(Dt,tn){S()(tn)==="object"?Oa(tn,Dt):ln(Dt)},Yo=function(Dt){Dt===null||xn===yr.ADVANCED&&Dt===void 0||(Dt=Vo(Dt),ln(Dt))};function bo(yt,Dt,tn,On,ft){var $=new k(Dt||this.boundingBox,tn||this.xStep,On||this.yStep,this.gState,ft||this.matrix);$.stream=this.stream;var he=yt+"$$"+this.cloneIndex+++"$$";return pr(he,$),$}var Oa=function(Dt,tn){var On=_n[Dt.key],ft=Sn[On];if(ft instanceof U)ln("q"),ln(Fo(tn)),ft.gState&&jt.setGState(ft.gState),ln(Dt.matrix.toString()+" cm"),ln("/"+On+" sh"),ln("Q");else if(ft instanceof k){var $=new Hn(1,0,0,-1,0,ms());Dt.matrix&&($=$.multiply(Dt.matrix||Hi),On=bo.call(ft,Dt.key,Dt.boundingBox,Dt.xStep,Dt.yStep,$).id),ln("q"),ln("/Pattern cs"),ln("/"+On+" scn"),ft.gState&&jt.setGState(ft.gState),ln(tn),ln("Q")}},Fo=function(Dt){switch(Dt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ss=jt.moveTo=function(yt,Dt){return ln(ei(Wr(yt))+" "+ei(on(Dt))+" m"),this},ho=jt.lineTo=function(yt,Dt){return ln(ei(Wr(yt))+" "+ei(on(Dt))+" l"),this},Oo=jt.curveTo=function(yt,Dt,tn,On,ft,$){return ln([ei(Wr(yt)),ei(on(Dt)),ei(Wr(tn)),ei(on(On)),ei(Wr(ft)),ei(on($)),"c"].join(" ")),this};jt.__private__.line=jt.line=function(yt,Dt,tn,On,ft){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||isNaN(On)||!Ia(ft))throw new Error("Invalid arguments passed to jsPDF.line");return xn===yr.COMPAT?this.lines([[tn-yt,On-Dt]],yt,Dt,[1,1],ft||"S"):this.lines([[tn-yt,On-Dt]],yt,Dt,[1,1]).stroke()},jt.__private__.lines=jt.lines=function(yt,Dt,tn,On,ft,$){var he,ge,Fe,ct,Tt,br,Ir,$r,Cn,Wn,si,Ei;if(typeof yt=="number"&&(Ei=tn,tn=Dt,Dt=yt,yt=Ei),On=On||[1,1],$=$||!1,isNaN(Dt)||isNaN(tn)||!Array.isArray(yt)||!Array.isArray(On)||!Ia(ft)||typeof $!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ss(Dt,tn),he=On[0],ge=On[1],ct=yt.length,Wn=Dt,si=tn,Fe=0;Fe<ct;Fe++)(Tt=yt[Fe]).length===2?(Wn=Tt[0]*he+Wn,si=Tt[1]*ge+si,ho(Wn,si)):(br=Tt[0]*he+Wn,Ir=Tt[1]*ge+si,$r=Tt[2]*he+Wn,Cn=Tt[3]*ge+si,Wn=Tt[4]*he+Wn,si=Tt[5]*ge+si,Oo(br,Ir,$r,Cn,Wn,si));return $&&Uo(),Yo(ft),this},jt.path=function(yt){for(var Dt=0;Dt<yt.length;Dt++){var tn=yt[Dt],On=tn.c;switch(tn.op){case"m":ss(On[0],On[1]);break;case"l":ho(On[0],On[1]);break;case"c":Oo.apply(this,On);break;case"h":Uo()}}return this},jt.__private__.rect=jt.rect=function(yt,Dt,tn,On,ft){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||isNaN(On)||!Ia(ft))throw new Error("Invalid arguments passed to jsPDF.rect");return xn===yr.COMPAT&&(On=-On),ln([ei(Wr(yt)),ei(on(Dt)),ei(Wr(tn)),ei(Wr(On)),"re"].join(" ")),Yo(ft),this},jt.__private__.triangle=jt.triangle=function(yt,Dt,tn,On,ft,$,he){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||isNaN(On)||isNaN(ft)||isNaN($)||!Ia(he))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[tn-yt,On-Dt],[ft-tn,$-On],[yt-ft,Dt-$]],yt,Dt,[1,1],he,!0),this},jt.__private__.roundedRect=jt.roundedRect=function(yt,Dt,tn,On,ft,$,he){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||isNaN(On)||isNaN(ft)||isNaN($)||!Ia(he))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ge=4/3*(Math.SQRT2-1);return ft=Math.min(ft,.5*tn),$=Math.min($,.5*On),this.lines([[tn-2*ft,0],[ft*ge,0,ft,$-$*ge,ft,$],[0,On-2*$],[0,$*ge,-ft*ge,$,-ft,$],[2*ft-tn,0],[-ft*ge,0,-ft,-$*ge,-ft,-$],[0,2*$-On],[0,-$*ge,ft*ge,-$,ft,-$]],yt+ft,Dt,[1,1],he,!0),this},jt.__private__.ellipse=jt.ellipse=function(yt,Dt,tn,On,ft){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||isNaN(On)||!Ia(ft))throw new Error("Invalid arguments passed to jsPDF.ellipse");var $=4/3*(Math.SQRT2-1)*tn,he=4/3*(Math.SQRT2-1)*On;return ss(yt+tn,Dt),Oo(yt+tn,Dt-he,yt+$,Dt-On,yt,Dt-On),Oo(yt-$,Dt-On,yt-tn,Dt-he,yt-tn,Dt),Oo(yt-tn,Dt+he,yt-$,Dt+On,yt,Dt+On),Oo(yt+$,Dt+On,yt+tn,Dt+he,yt+tn,Dt),Yo(ft),this},jt.__private__.circle=jt.circle=function(yt,Dt,tn,On){if(isNaN(yt)||isNaN(Dt)||isNaN(tn)||!Ia(On))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(yt,Dt,tn,tn,On)},jt.setFont=function(yt,Dt,tn){return tn&&(Dt=oi(Dt,tn)),Fr=Ya(yt,Dt,{disableWarning:!1}),this};var Fa=jt.__private__.getFont=jt.getFont=function(){return Rn[Ya.apply(jt,arguments)]};jt.__private__.getFontList=jt.getFontList=function(){var yt,Dt,tn={};for(yt in Dn)if(Dn.hasOwnProperty(yt))for(Dt in tn[yt]=[],Dn[yt])Dn[yt].hasOwnProperty(Dt)&&tn[yt].push(Dt);return tn},jt.addFont=function(yt,Dt,tn,On,ft){var $=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&$.indexOf(arguments[3])!==-1?ft=arguments[3]:arguments[3]&&$.indexOf(arguments[3])==-1&&(tn=oi(tn,On)),ft=ft||"Identity-H",Da.call(this,yt,Dt,tn,ft)};var Qo,el=Ve.lineWidth||.200025,Es=jt.__private__.getLineWidth=jt.getLineWidth=function(){return el},Ns=jt.__private__.setLineWidth=jt.setLineWidth=function(yt){return el=yt,ln(ei(Wr(yt))+" w"),this};jt.__private__.setLineDash=K.API.setLineDash=K.API.setLineDashPattern=function(yt,Dt){if(yt=yt||[],Dt=Dt||0,isNaN(Dt)||!Array.isArray(yt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return yt=yt.map(function(tn){return ei(Wr(tn))}).join(" "),Dt=ei(Wr(Dt)),ln("["+yt+"] "+Dt+" d"),this};var Cs=jt.__private__.getLineHeight=jt.getLineHeight=function(){return aa*Qo};jt.__private__.getLineHeight=jt.getLineHeight=function(){return aa*Qo};var As=jt.__private__.setLineHeightFactor=jt.setLineHeightFactor=function(yt){return typeof(yt=yt||1.15)=="number"&&(Qo=yt),this},vs=jt.__private__.getLineHeightFactor=jt.getLineHeightFactor=function(){return Qo};As(Ve.lineHeight);var jo=jt.__private__.getHorizontalCoordinate=function(yt){return Wr(yt)},go=jt.__private__.getVerticalCoordinate=function(yt){return xn===yr.ADVANCED?yt:gi[kr].mediaBox.topRightY-gi[kr].mediaBox.bottomLeftY-Wr(yt)},es=jt.__private__.getHorizontalCoordinateString=jt.getHorizontalCoordinateString=function(yt){return ei(jo(yt))},Ho=jt.__private__.getVerticalCoordinateString=jt.getVerticalCoordinateString=function(yt){return ei(go(yt))},Go=Ve.strokeColor||"0 G";jt.__private__.getStrokeColor=jt.getDrawColor=function(){return jr(Go)},jt.__private__.setStrokeColor=jt.setDrawColor=function(yt,Dt,tn,On){return Go=Ur({ch1:yt,ch2:Dt,ch3:tn,ch4:On,pdfColorType:"draw",precision:2}),ln(Go),this};var zr=Ve.fillColor||"0 g";jt.__private__.getFillColor=jt.getFillColor=function(){return jr(zr)},jt.__private__.setFillColor=jt.setFillColor=function(yt,Dt,tn,On){return zr=Ur({ch1:yt,ch2:Dt,ch3:tn,ch4:On,pdfColorType:"fill",precision:2}),ln(zr),this};var Bo=Ve.textColor||"0 g",tl=jt.__private__.getTextColor=jt.getTextColor=function(){return jr(Bo)};jt.__private__.setTextColor=jt.setTextColor=function(yt,Dt,tn,On){return Bo=Ur({ch1:yt,ch2:Dt,ch3:tn,ch4:On,pdfColorType:"text",precision:3}),this};var Ks=Ve.charSpace,Ps=jt.__private__.getCharSpace=jt.getCharSpace=function(){return parseFloat(Ks||0)};jt.__private__.setCharSpace=jt.setCharSpace=function(yt){if(isNaN(yt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ks=yt,this};var io=0;jt.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},jt.__private__.setLineCap=jt.setLineCap=function(yt){var Dt=jt.CapJoinStyles[yt];if(Dt===void 0)throw new Error("Line cap style of '"+yt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return io=Dt,ln(Dt+" J"),this};var Ao=0;jt.__private__.setLineJoin=jt.setLineJoin=function(yt){var Dt=jt.CapJoinStyles[yt];if(Dt===void 0)throw new Error("Line join style of '"+yt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ao=Dt,ln(Dt+" j"),this},jt.__private__.setLineMiterLimit=jt.__private__.setMiterLimit=jt.setLineMiterLimit=jt.setMiterLimit=function(yt){if(yt=yt||0,isNaN(yt))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ln(ei(Wr(yt))+" M"),this},jt.GState=z,jt.setGState=function(yt){(yt=typeof yt=="string"?Kn[Yn[yt]]:Jo(null,yt)).equals(Zn)||(ln("/"+yt.id+" gs"),Zn=yt)};var Jo=function(Dt,tn){if(!Dt||!Yn[Dt]){var On=!1;for(var ft in Kn)if(Kn.hasOwnProperty(ft)&&Kn[ft].equals(tn)){On=!0;break}if(On)tn=Kn[ft];else{var $="GS"+(Object.keys(Kn).length+1).toString(10);Kn[$]=tn,tn.id=$}return Dt&&(Yn[Dt]=tn.id),Ni.publish("addGState",tn),tn}};jt.addGState=function(yt,Dt){return Jo(yt,Dt),this},jt.saveGraphicsState=function(){return ln("q"),bn.push({key:Fr,size:aa,color:Bo}),this},jt.restoreGraphicsState=function(){ln("Q");var yt=bn.pop();return Fr=yt.key,aa=yt.size,Bo=yt.color,Zn=null,this},jt.setCurrentTransformationMatrix=function(yt){return ln(yt.toString()+" cm"),this},jt.comment=function(yt){return ln("#"+yt),this};var ns=function(Dt,tn){var On=Dt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return On},set:function(ge){isNaN(ge)||(On=parseFloat(ge))}});var ft=tn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ft},set:function(ge){isNaN(ge)||(ft=parseFloat(ge))}});var $="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return $},set:function(ge){$=ge.toString()}}),this},ys=function(Dt,tn,On,ft){ns.call(this,Dt,tn),this.type="rect";var $=On||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return $},set:function(Fe){isNaN(Fe)||($=parseFloat(Fe))}});var he=ft||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return he},set:function(Fe){isNaN(Fe)||(he=parseFloat(Fe))}}),this},ps=function(){this.page=yi,this.currentPage=kr,this.pages=Ki.slice(0),this.pagesContext=gi.slice(0),this.x=nn,this.y=wn,this.matrix=In,this.width=Ws(kr),this.height=ms(kr),this.outputDestination=qi,this.id="",this.objectNumber=-1};ps.prototype.restore=function(){yi=this.page,kr=this.currentPage,gi=this.pagesContext,Ki=this.pages,nn=this.x,wn=this.y,In=this.matrix,ks(kr,this.width),Ms(kr,this.height),qi=this.outputDestination};var Ls=function(Dt,tn,On,ft,$){Li.push(new ps),yi=kr=0,Ki=[],nn=Dt,wn=tn,In=$,wa([On,ft])},il=function(Dt){if(_i[Dt])Li.pop().restore();else{var tn=new ps,On="Xo"+(Object.keys(xi).length+1).toString(10);tn.id=On,_i[Dt]=On,xi[On]=tn,Ni.publish("addFormObject",tn),Li.pop().restore()}};for(var Rs in jt.beginFormObject=function(yt,Dt,tn,On,ft){return Ls(yt,Dt,tn,On,ft),this},jt.endFormObject=function(yt){return il(yt),this},jt.doFormObject=function(yt,Dt){var tn=xi[_i[yt]];return ln("q"),ln(Dt.toString()+" cm"),ln("/"+tn.id+" Do"),ln("Q"),this},jt.getFormObject=function(yt){var Dt=xi[_i[yt]];return{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height,matrix:Dt.matrix}},jt.save=function(yt,Dt){return yt=yt||"generated.pdf",(Dt=Dt||{}).returnPromise=Dt.returnPromise||!1,Dt.returnPromise===!1?(r(_o(to()),yt),typeof r.unload=="function"&&g.setTimeout&&setTimeout(r.unload,911),this):new Promise(function(tn,On){try{var ft=r(_o(to()),yt);typeof r.unload=="function"&&g.setTimeout&&setTimeout(r.unload,911),tn(ft)}catch($){On($.message)}})},K.API)K.API.hasOwnProperty(Rs)&&(Rs==="events"&&K.API.events.length?function(yt,Dt){var tn,On,ft;for(ft=Dt.length-1;ft!==-1;ft--)tn=Dt[ft][0],On=Dt[ft][1],yt.subscribe.apply(yt,[tn].concat(typeof On=="function"?[On]:On))}(Ni,K.API.events):jt[Rs]=K.API[Rs]);var Ws=jt.getPageWidth=function(yt){return(gi[yt=yt||kr].mediaBox.topRightX-gi[yt].mediaBox.bottomLeftX)/Kr},ks=jt.setPageWidth=function(yt,Dt){gi[yt].mediaBox.topRightX=Dt*Kr+gi[yt].mediaBox.bottomLeftX},ms=jt.getPageHeight=function(yt){return(gi[yt=yt||kr].mediaBox.topRightY-gi[yt].mediaBox.bottomLeftY)/Kr},Ms=jt.setPageHeight=function(yt,Dt){gi[yt].mediaBox.topRightY=Dt*Kr+gi[yt].mediaBox.bottomLeftY};return jt.internal={pdfEscape:za,getStyle:Vo,getFont:Fa,getFontSize:Yr,getCharSpace:Ps,getTextColor:tl,getLineHeight:Cs,getLineHeightFactor:vs,getLineWidth:Es,write:Oi,getHorizontalCoordinate:jo,getVerticalCoordinate:go,getCoordinateString:es,getVerticalCoordinateString:Ho,collections:{},newObject:Rr,newAdditionalObject:Xt,newObjectDeferred:Qr,newObjectDeferredBegin:Nr,getFilters:pn,putStream:sn,events:Ni,scaleFactor:Kr,pageSize:{getWidth:function(){return Ws(kr)},setWidth:function(Dt){ks(kr,Dt)},getHeight:function(){return ms(kr)},setHeight:function(Dt){Ms(kr,Dt)}},encryptionOptions:wr,encryption:Qa,getEncryptor:Za,output:co,getNumberOfPages:lo,pages:Ki,out:ln,f2:Si,f3:gn,getPageInfo:Ca,getPageInfoByObjId:no,getCurrentPageInfo:fo,getPDFVersion:nr,Point:ns,Rectangle:ys,Matrix:Hn,hasHotfix:uo},Object.defineProperty(jt.internal.pageSize,"width",{get:function(){return Ws(kr)},set:function(Dt){ks(kr,Dt)},enumerable:!0,configurable:!0}),Object.defineProperty(jt.internal.pageSize,"height",{get:function(){return ms(kr)},set:function(Dt){Ms(kr,Dt)},enumerable:!0,configurable:!0}),Na.call(jt,Pi),Fr="F1",Ka(We,Re),Ni.publish("initialized"),jt}B.prototype.lsbFirstWord=function(Ve){return String.fromCharCode(Ve>>0&255,Ve>>8&255,Ve>>16&255,Ve>>24&255)},B.prototype.toHexString=function(Ve){return Ve.split("").map(function(Se){return("0"+(255&Se.charCodeAt(0)).toString(16)).slice(-2)}).join("")},B.prototype.hexToBytes=function(Ve){for(var Se=[],Re=0;Re<Ve.length;Re+=2)Se.push(String.fromCharCode(parseInt(Ve.substr(Re,2),16)));return Se.join("")},B.prototype.processOwnerPassword=function(Ve,Se){return L(x(Se).substr(0,5),Ve)},B.prototype.encryptor=function(Ve,Se){var Re=x(this.encryptionKey+String.fromCharCode(255&Ve,Ve>>8&255,Ve>>16&255,255&Se,Se>>8&255)).substr(0,10);return function(Be){return L(Re,Be)}},z.prototype.equals=function(Ve){var Se,Re="id,objectNumber,equals";if(!Ve||S()(Ve)!==S()(this))return!1;var Be=0;for(Se in this)if(!(Re.indexOf(Se)>=0)){if(this.hasOwnProperty(Se)&&!Ve.hasOwnProperty(Se))return!1;if(this[Se]!==Ve[Se])return!1;Be++}for(Se in Ve)Ve.hasOwnProperty(Se)&&Re.indexOf(Se)<0&&Be--;return Be===0},K.API={events:[]},K.version="2.5.0";var j=K.API,V=1,W=function(Se){return Se.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},X=function(Se){return Se.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},J=function(Se){return Se.toFixed(2)},de=function(Se){return Se.toFixed(5)};j.__acroform__={};var G=function(Se,Re){Se.prototype=Object.create(Re.prototype),Se.prototype.constructor=Se},ae=function(Se){return Se*V},Ae=function(Se){var Re=new xe,Be=q.internal.getHeight(Se)||0,We=q.internal.getWidth(Se)||0;return Re.BBox=[0,0,Number(J(We)),Number(J(Be))],Re},me=j.__acroform__.setBit=function(Ve,Se){if(Ve=Ve||0,Se=Se||0,isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ve|=1<<Se},Me=j.__acroform__.clearBit=function(Ve,Se){if(Ve=Ve||0,Se=Se||0,isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ve&=~(1<<Se)},oe=j.__acroform__.getBit=function(Ve,Se){if(isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ve&1<<Se)==0?0:1},_e=j.__acroform__.getBitForPdf=function(Ve,Se){if(isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return oe(Ve,Se-1)},ee=j.__acroform__.setBitForPdf=function(Ve,Se){if(isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return me(Ve,Se-1)},ne=j.__acroform__.clearBitForPdf=function(Ve,Se){if(isNaN(Ve)||isNaN(Se))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Me(Ve,Se-1)},Ge=j.__acroform__.calculateCoordinates=function(Ve,Se){var Re=Se.internal.getHorizontalCoordinate,Be=Se.internal.getVerticalCoordinate,We=Ve[0],He=Ve[1],Qe=Ve[2],At=Ve[3],st={};return st.lowerLeft_X=Re(We)||0,st.lowerLeft_Y=Be(He+At)||0,st.upperRight_X=Re(We+Qe)||0,st.upperRight_Y=Be(He)||0,[Number(J(st.lowerLeft_X)),Number(J(st.lowerLeft_Y)),Number(J(st.upperRight_X)),Number(J(st.upperRight_Y))]},Ee=function(Se){if(Se.appearanceStreamContent)return Se.appearanceStreamContent;if(Se.V||Se.DV){var Re=[],Be=Se._V||Se.DV,We=ue(Se,Be),He=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id;Re.push("/Tx BMC"),Re.push("q"),Re.push("BT"),Re.push(Se.scope.__private__.encodeColorString(Se.color)),Re.push("/"+He+" "+J(We.fontSize)+" Tf"),Re.push("1 0 0 1 0 0 Tm"),Re.push(We.text),Re.push("ET"),Re.push("Q"),Re.push("EMC");var Qe=Ae(Se);return Qe.scope=Se.scope,Qe.stream=Re.join(`
|
|
|
`),Qe}},ue=function(Se,Re){var Be=Se.fontSize===0?Se.maxFontSize:Se.fontSize,We={text:"",fontSize:""},He=(Re=(Re=Re.substr(0,1)=="("?Re.substr(1):Re).substr(Re.length-1)==")"?Re.substr(0,Re.length-1):Re).split(" ");He=Se.multiline?He.map(function(Wr){return Wr.split(`
|
|
|
`)}):He.map(function(Wr){return[Wr]});var Qe=Be,At=q.internal.getHeight(Se)||0;At=At<0?-At:At;var st=q.internal.getWidth(Se)||0;st=st<0?-st:st;var Pt=function(En,on,ci){if(En+1<He.length){var ri=on+" "+He[En+1][0];return re(ri,Se,ci).width<=st-4}return!1};Qe++;e:for(;Qe>0;){Re="",Qe--;var wr,mr,Or=re("3",Se,Qe).height,jt=Se.multiline?At-Qe:(At-Or)/2,cn=jt+=2,nr=0,Xr=0,Br=0;if(Qe<=0){Re=`(...) Tj
|
|
|
`,Re+="% Width of Text: "+re(Re,Se,Qe=12).width+", FieldWidth:"+st+`
|
|
|
`;break}for(var yr="",xn=0,Bn=0;Bn<He.length;Bn++)if(He.hasOwnProperty(Bn)){var ii=!1;if(He[Bn].length!==1&&Br!==He[Bn].length-1){if((Or+2)*(xn+2)+2>At)continue e;yr+=He[Bn][Br],ii=!0,Xr=Bn,Bn--}else{yr=(yr+=He[Bn][Br]+" ").substr(yr.length-1)==" "?yr.substr(0,yr.length-1):yr;var oi=parseInt(Bn),ei=Pt(oi,yr,Qe),ui=Bn>=He.length-1;if(ei&&!ui){yr+=" ",Br=0;continue}if(ei||ui){if(ui)Xr=oi;else if(Se.multiline&&(Or+2)*(xn+2)+2>At)continue e}else{if(!Se.multiline)continue e;if((Or+2)*(xn+2)+2>At)continue e;Xr=oi}}for(var Fn="",Si=nr;Si<=Xr;Si++){var gn=He[Si];if(Se.multiline){if(Si===Xr){Fn+=gn[Br]+" ",Br=(Br+1)%gn.length;continue}if(Si===nr){Fn+=gn[gn.length-1]+" ";continue}}Fn+=gn[0]+" "}switch(Fn=Fn.substr(Fn.length-1)==" "?Fn.substr(0,Fn.length-1):Fn,mr=re(Fn,Se,Qe).width,Se.textAlign){case"right":wr=st-mr-2;break;case"center":wr=(st-mr)/2;break;case"left":default:wr=2}Re+=J(wr)+" "+J(cn)+` Td
|
|
|
`,Re+="("+W(Fn)+`) Tj
|
|
|
`,Re+=-J(wr)+` 0 Td
|
|
|
`,cn=-(Qe+2),mr=0,nr=ii?Xr:Xr+1,xn++,yr=""}break}return We.text=Re,We.fontSize=Qe,We},re=function(Se,Re,Be){var We=Re.scope.internal.getFont(Re.fontName,Re.fontStyle),He=Re.scope.getStringUnitWidth(Se,{font:We,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be);return{height:Re.scope.getStringUnitWidth("3",{font:We,fontSize:parseFloat(Be),charSpace:0})*parseFloat(Be)*1.5,width:He}},ce={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ke=function(Se,Re){var Be={type:"reference",object:Se};Re.internal.getPageInfo(Se.page).pageContext.annotations.find(function(We){return We.type===Be.type&&We.object===Be.object})===void 0&&Re.internal.getPageInfo(Se.page).pageContext.annotations.push(Be)},Te=function(Se,Re){for(var Be in Se)if(Se.hasOwnProperty(Be)){var We=Be,He=Se[Be];Re.internal.newObjectDeferredBegin(He.objId,!0),S()(He)==="object"&&typeof He.putStream=="function"&&He.putStream(),delete Se[We]}},Ke=function(Se,Re){if(Re.scope=Se,Se.internal!==void 0&&(Se.internal.acroformPlugin===void 0||Se.internal.acroformPlugin.isInitialized===!1)){if(pt.FieldNum=0,Se.internal.acroformPlugin=JSON.parse(JSON.stringify(ce)),Se.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");V=Se.internal.scaleFactor,Se.internal.acroformPlugin.acroFormDictionaryRoot=new Ye,Se.internal.acroformPlugin.acroFormDictionaryRoot.scope=Se,Se.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Se.internal.events.subscribe("postPutResources",function(){!function(Be){Be.internal.events.unsubscribe(Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Be.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Be.internal.acroformPlugin.printedOut=!0}(Se)}),Se.internal.events.subscribe("buildDocument",function(){!function(Be){Be.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var We=Be.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var He in We)if(We.hasOwnProperty(He)){var Qe=We[He];Qe.objId=void 0,Qe.hasAnnotation&&ke(Qe,Be)}}(Se)}),Se.internal.events.subscribe("putCatalog",function(){!function(Be){if(Be.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Be.internal.write("/AcroForm "+Be.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(Se)}),Se.internal.events.subscribe("postPutPages",function(Be){!function(We,He){var Qe=!We;for(var At in We||(He.internal.newObjectDeferredBegin(He.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),He.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),We=We||He.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(We.hasOwnProperty(At)){var st=We[At],Pt=[],wr=st.Rect;if(st.Rect&&(st.Rect=Ge(st.Rect,He)),He.internal.newObjectDeferredBegin(st.objId,!0),st.DA=q.createDefaultAppearanceStream(st),S()(st)==="object"&&typeof st.getKeyValueListForStream=="function"&&(Pt=st.getKeyValueListForStream()),st.Rect=wr,st.hasAppearanceStream&&!st.appearanceStreamContent){var mr=Ee(st);Pt.push({key:"AP",value:"<</N "+mr+">>"}),He.internal.acroformPlugin.xForms.push(mr)}if(st.appearanceStreamContent){var Or="";for(var jt in st.appearanceStreamContent)if(st.appearanceStreamContent.hasOwnProperty(jt)){var cn=st.appearanceStreamContent[jt];if(Or+="/"+jt+" ",Or+="<<",Object.keys(cn).length>=1||Array.isArray(cn)){for(var At in cn)if(cn.hasOwnProperty(At)){var nr=cn[At];typeof nr=="function"&&(nr=nr.call(He,st)),Or+="/"+At+" "+nr+" ",He.internal.acroformPlugin.xForms.indexOf(nr)>=0||He.internal.acroformPlugin.xForms.push(nr)}}else typeof(nr=cn)=="function"&&(nr=nr.call(He,st)),Or+="/"+At+" "+nr,He.internal.acroformPlugin.xForms.indexOf(nr)>=0||He.internal.acroformPlugin.xForms.push(nr);Or+=">>"}Pt.push({key:"AP",value:`<<
|
|
|
`+Or+">>"})}He.internal.putStream({additionalKeyValues:Pt,objectId:st.objId}),He.internal.out("endobj")}Qe&&Te(He.internal.acroformPlugin.xForms,He)}(Be,Se)}),Se.internal.acroformPlugin.isInitialized=!0}},Ie=j.__acroform__.arrayToPdfArray=function(Ve,Se,Re){var Be=function(At){return At};if(Array.isArray(Ve)){for(var We="[",He=0;He<Ve.length;He++)switch(He!==0&&(We+=" "),S()(Ve[He])){case"boolean":case"number":case"object":We+=Ve[He].toString();break;case"string":Ve[He].substr(0,1)!=="/"?(Se!==void 0&&Re&&(Be=Re.internal.getEncryptor(Se)),We+="("+W(Be(Ve[He].toString()))+")"):We+=Ve[He].toString()}return We+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},se=function(Se,Re,Be){var We=function(Qe){return Qe};return Re!==void 0&&Be&&(We=Be.internal.getEncryptor(Re)),(Se=Se||"").toString(),Se="("+W(We(Se))+")"},ye=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Re){this._objId=Re}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ye.prototype.toString=function(){return this.objId+" 0 R"},ye.prototype.putStream=function(){var Ve=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Ve,objectId:this.objId}),this.scope.internal.out("endobj")},ye.prototype.getKeyValueListForStream=function(){var Ve=[],Se=Object.getOwnPropertyNames(this).filter(function(He){return He!="content"&&He!="appearanceStreamContent"&&He!="scope"&&He!="objId"&&He.substring(0,1)!="_"});for(var Re in Se)if(Object.getOwnPropertyDescriptor(this,Se[Re]).configurable===!1){var Be=Se[Re],We=this[Be];We&&(Array.isArray(We)?Ve.push({key:Be,value:Ie(We,this.objId,this.scope)}):We instanceof ye?(We.scope=this.scope,Ve.push({key:Be,value:We.objId+" 0 R"})):typeof We!="function"&&Ve.push({key:Be,value:We}))}return Ve};var xe=function(){ye.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var Se,Re=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Re},set:function(We){Re=We}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(We){Se=We.trim()},get:function(){return Se||null}})};G(xe,ye);var Ye=function(){ye.call(this);var Se,Re=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Re.length>0?Re:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Re}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(Se){var We=function(Qe){return Qe};return this.scope&&(We=this.scope.internal.getEncryptor(this.objId)),"("+W(We(Se))+")"}},set:function(We){Se=We}})};G(Ye,ye);var pt=function Ve(){ye.call(this);var Se=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(yr){if(isNaN(yr))throw new Error('Invalid value "'+yr+'" for attribute F supplied.');Se=yr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(Se,3))},set:function(yr){Boolean(yr)===!0?this.F=ee(Se,3):this.F=ne(Se,3)}});var Re=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Re},set:function(yr){if(isNaN(yr))throw new Error('Invalid value "'+yr+'" for attribute Ff supplied.');Re=yr}});var Be=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(Be.length!==0)return Be},set:function(yr){Be=yr!==void 0?yr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[0])?0:Be[0]},set:function(yr){Be[0]=yr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[1])?0:Be[1]},set:function(yr){Be[1]=yr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[2])?0:Be[2]},set:function(yr){Be[2]=yr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!Be||isNaN(Be[3])?0:Be[3]},set:function(yr){Be[3]=yr}});var We="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return We},set:function(yr){switch(yr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":We=yr;break;default:throw new Error('Invalid value "'+yr+'" for attribute FT supplied.')}}});var He=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!He||He.length<1){if(this instanceof Mt)return;He="FieldObject"+Ve.FieldNum++}var yr=function(Bn){return Bn};return this.scope&&(yr=this.scope.internal.getEncryptor(this.objId)),"("+W(yr(He))+")"},set:function(yr){He=yr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return He},set:function(yr){He=yr}});var Qe="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Qe},set:function(yr){Qe=yr}});var At="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return At},set:function(yr){At=yr}});var st=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return st},set:function(yr){st=yr}});var Pt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Pt===void 0?50/V:Pt},set:function(yr){Pt=yr}});var wr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return wr},set:function(yr){wr=yr}});var mr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!mr||this instanceof Mt||this instanceof $e))return se(mr,this.objId,this.scope)},set:function(yr){yr=yr.toString(),mr=yr}});var Or=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Or)return this instanceof wt==!1?se(Or,this.objId,this.scope):Or},set:function(yr){yr=yr.toString(),Or=this instanceof wt==!1?yr.substr(0,1)==="("?X(yr.substr(1,yr.length-2)):X(yr):yr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof wt==!0?X(Or.substr(1,Or.length-1)):Or},set:function(yr){yr=yr.toString(),Or=this instanceof wt==!0?"/"+yr:yr}});var jt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(jt)return jt},set:function(yr){this.V=yr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(jt)return this instanceof wt==!1?se(jt,this.objId,this.scope):jt},set:function(yr){yr=yr.toString(),jt=this instanceof wt==!1?yr.substr(0,1)==="("?X(yr.substr(1,yr.length-2)):X(yr):yr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof wt==!0?X(jt.substr(1,jt.length-1)):jt},set:function(yr){yr=yr.toString(),jt=this instanceof wt==!0?"/"+yr:yr}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var cn,nr=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return nr},set:function(yr){yr=Boolean(yr),nr=yr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(cn)return cn},set:function(yr){cn=yr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,1))},set:function(yr){Boolean(yr)===!0?this.Ff=ee(this.Ff,1):this.Ff=ne(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,2))},set:function(yr){Boolean(yr)===!0?this.Ff=ee(this.Ff,2):this.Ff=ne(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,3))},set:function(yr){Boolean(yr)===!0?this.Ff=ee(this.Ff,3):this.Ff=ne(this.Ff,3)}});var Xr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Xr!==null)return Xr},set:function(yr){if([0,1,2].indexOf(yr)===-1)throw new Error('Invalid value "'+yr+'" for attribute Q supplied.');Xr=yr}}),Object.defineProperty(this,"textAlign",{get:function(){var yr;switch(Xr){case 0:default:yr="left";break;case 1:yr="center";break;case 2:yr="right"}return yr},configurable:!0,enumerable:!0,set:function(yr){switch(yr){case"right":case 2:Xr=2;break;case"center":case 1:Xr=1;break;case"left":case 0:default:Xr=0}}})};G(pt,ye);var nt=function(){pt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var Se=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(We){Se=We}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return Se},set:function(We){Se=We}});var Re=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ie(Re,this.objId,this.scope)},set:function(We){var He,Qe;Qe=[],typeof(He=We)=="string"&&(Qe=function(At,st,Pt){Pt||(Pt=1);for(var wr,mr=[];wr=st.exec(At);)mr.push(wr[Pt]);return mr}(He,/\((.*?)\)/g)),Re=Qe}}),this.getOptions=function(){return Re},this.setOptions=function(Be){Re=Be,this.sort&&Re.sort()},this.addOption=function(Be){Be=(Be=Be||"").toString(),Re.push(Be),this.sort&&Re.sort()},this.removeOption=function(Be,We){for(We=We||!1,Be=(Be=Be||"").toString();Re.indexOf(Be)!==-1&&(Re.splice(Re.indexOf(Be),1),We!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,18))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,18):this.Ff=ne(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,19))},set:function(We){this.combo===!0&&(Boolean(We)===!0?this.Ff=ee(this.Ff,19):this.Ff=ne(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,20))},set:function(We){Boolean(We)===!0?(this.Ff=ee(this.Ff,20),Re.sort()):this.Ff=ne(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,22))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,22):this.Ff=ne(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,23))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,23):this.Ff=ne(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,27))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,27):this.Ff=ne(this.Ff,27)}}),this.hasAppearanceStream=!1};G(nt,pt);var Oe=function(){nt.call(this),this.fontName="helvetica",this.combo=!1};G(Oe,nt);var vt=function(){Oe.call(this),this.combo=!0};G(vt,Oe);var Ze=function(){vt.call(this),this.edit=!0};G(Ze,vt);var wt=function(){pt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,15))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,15):this.Ff=ne(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,16))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,16):this.Ff=ne(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,17))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,17):this.Ff=ne(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,26))},set:function(We){Boolean(We)===!0?this.Ff=ee(this.Ff,26):this.Ff=ne(this.Ff,26)}});var Se,Re={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var We=function(st){return st};if(this.scope&&(We=this.scope.internal.getEncryptor(this.objId)),Object.keys(Re).length!==0){var He,Qe=[];for(He in Qe.push("<<"),Re)Qe.push("/"+He+" ("+W(We(Re[He]))+")");return Qe.push(">>"),Qe.join(`
|
|
|
`)}},set:function(We){S()(We)==="object"&&(Re=We)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Re.CA||""},set:function(We){typeof We=="string"&&(Re.CA=We)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(We){Se=We}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Se.substr(1,Se.length-1)},set:function(We){Se="/"+We}})};G(wt,pt);var xt=function(){wt.call(this),this.pushButton=!0};G(xt,wt);var Ot=function(){wt.call(this),this.radio=!0,this.pushButton=!1;var Se=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(Be){Se=Be!==void 0?Be:[]}})};G(Ot,wt);var Mt=function(){var Se,Re;pt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return Se},set:function(Qe){Se=Qe}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Re},set:function(Qe){Re=Qe}});var Be,We={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Qe=function(wr){return wr};this.scope&&(Qe=this.scope.internal.getEncryptor(this.objId));var At,st=[];for(At in st.push("<<"),We)st.push("/"+At+" ("+W(Qe(We[At]))+")");return st.push(">>"),st.join(`
|
|
|
`)},set:function(Qe){S()(Qe)==="object"&&(We=Qe)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return We.CA||""},set:function(Qe){typeof Qe=="string"&&(We.CA=Qe)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return Be},set:function(Qe){Be=Qe}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return Be.substr(1,Be.length-1)},set:function(Qe){Be="/"+Qe}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=q.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};G(Mt,pt),Ot.prototype.setAppearance=function(Ve){if(!("createAppearanceStream"in Ve)||!("getCA"in Ve))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var Se in this.Kids)if(this.Kids.hasOwnProperty(Se)){var Re=this.Kids[Se];Re.appearanceStreamContent=Ve.createAppearanceStream(Re.optionName),Re.caption=Ve.getCA()}},Ot.prototype.createOption=function(Ve){var Se=new Mt;return Se.Parent=this,Se.optionName=Ve,this.Kids.push(Se),bt.call(this.scope,Se),Se};var Gt=function(){wt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=q.CheckBox.createAppearanceStream()};G(Gt,wt);var $e=function(){pt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,13))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,13):this.Ff=ne(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,21))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,21):this.Ff=ne(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,23))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,23):this.Ff=ne(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,24))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,24):this.Ff=ne(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,25))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,25):this.Ff=ne(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,26))},set:function(Be){Boolean(Be)===!0?this.Ff=ee(this.Ff,26):this.Ff=ne(this.Ff,26)}});var Se=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return Se},set:function(Be){Se=Be}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return Se},set:function(Be){Number.isInteger(Be)&&(Se=Be)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};G($e,pt);var pe=function(){$e.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(_e(this.Ff,14))},set:function(Re){Boolean(Re)===!0?this.Ff=ee(this.Ff,14):this.Ff=ne(this.Ff,14)}}),this.password=!0};G(pe,$e);var q={CheckBox:{createAppearanceStream:function(){return{N:{On:q.CheckBox.YesNormal},D:{On:q.CheckBox.YesPushDown,Off:q.CheckBox.OffPushDown}}},YesPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[],We=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,He=Se.scope.__private__.encodeColorString(Se.color),Qe=ue(Se,Se.caption);return Be.push("0.749023 g"),Be.push("0 0 "+J(q.internal.getWidth(Se))+" "+J(q.internal.getHeight(Se))+" re"),Be.push("f"),Be.push("BMC"),Be.push("q"),Be.push("0 0 1 rg"),Be.push("/"+We+" "+J(Qe.fontSize)+" Tf "+He),Be.push("BT"),Be.push(Qe.text),Be.push("ET"),Be.push("Q"),Be.push("EMC"),Re.stream=Be.join(`
|
|
|
`),Re},YesNormal:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,We=Se.scope.__private__.encodeColorString(Se.color),He=[],Qe=q.internal.getHeight(Se),At=q.internal.getWidth(Se),st=ue(Se,Se.caption);return He.push("1 g"),He.push("0 0 "+J(At)+" "+J(Qe)+" re"),He.push("f"),He.push("q"),He.push("0 0 1 rg"),He.push("0 0 "+J(At-1)+" "+J(Qe-1)+" re"),He.push("W"),He.push("n"),He.push("0 g"),He.push("BT"),He.push("/"+Be+" "+J(st.fontSize)+" Tf "+We),He.push(st.text),He.push("ET"),He.push("Q"),Re.stream=He.join(`
|
|
|
`),Re},OffPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+J(q.internal.getWidth(Se))+" "+J(q.internal.getHeight(Se))+" re"),Be.push("f"),Re.stream=Be.join(`
|
|
|
`),Re}},RadioButton:{Circle:{createAppearanceStream:function(Se){var Re={D:{Off:q.RadioButton.Circle.OffPushDown},N:{}};return Re.N[Se]=q.RadioButton.Circle.YesNormal,Re.D[Se]=q.RadioButton.Circle.YesPushDown,Re},getCA:function(){return"l"},YesNormal:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[],We=q.internal.getWidth(Se)<=q.internal.getHeight(Se)?q.internal.getWidth(Se)/4:q.internal.getHeight(Se)/4;We=Number((.9*We).toFixed(5));var He=q.internal.Bezier_C,Qe=Number((We*He).toFixed(5));return Be.push("q"),Be.push("1 0 0 1 "+de(q.internal.getWidth(Se)/2)+" "+de(q.internal.getHeight(Se)/2)+" cm"),Be.push(We+" 0 m"),Be.push(We+" "+Qe+" "+Qe+" "+We+" 0 "+We+" c"),Be.push("-"+Qe+" "+We+" -"+We+" "+Qe+" -"+We+" 0 c"),Be.push("-"+We+" -"+Qe+" -"+Qe+" -"+We+" 0 -"+We+" c"),Be.push(Qe+" -"+We+" "+We+" -"+Qe+" "+We+" 0 c"),Be.push("f"),Be.push("Q"),Re.stream=Be.join(`
|
|
|
`),Re},YesPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[],We=q.internal.getWidth(Se)<=q.internal.getHeight(Se)?q.internal.getWidth(Se)/4:q.internal.getHeight(Se)/4;We=Number((.9*We).toFixed(5));var He=Number((2*We).toFixed(5)),Qe=Number((He*q.internal.Bezier_C).toFixed(5)),At=Number((We*q.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+de(q.internal.getWidth(Se)/2)+" "+de(q.internal.getHeight(Se)/2)+" cm"),Be.push(He+" 0 m"),Be.push(He+" "+Qe+" "+Qe+" "+He+" 0 "+He+" c"),Be.push("-"+Qe+" "+He+" -"+He+" "+Qe+" -"+He+" 0 c"),Be.push("-"+He+" -"+Qe+" -"+Qe+" -"+He+" 0 -"+He+" c"),Be.push(Qe+" -"+He+" "+He+" -"+Qe+" "+He+" 0 c"),Be.push("f"),Be.push("Q"),Be.push("0 g"),Be.push("q"),Be.push("1 0 0 1 "+de(q.internal.getWidth(Se)/2)+" "+de(q.internal.getHeight(Se)/2)+" cm"),Be.push(We+" 0 m"),Be.push(We+" "+At+" "+At+" "+We+" 0 "+We+" c"),Be.push("-"+At+" "+We+" -"+We+" "+At+" -"+We+" 0 c"),Be.push("-"+We+" -"+At+" -"+At+" -"+We+" 0 -"+We+" c"),Be.push(At+" -"+We+" "+We+" -"+At+" "+We+" 0 c"),Be.push("f"),Be.push("Q"),Re.stream=Be.join(`
|
|
|
`),Re},OffPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[],We=q.internal.getWidth(Se)<=q.internal.getHeight(Se)?q.internal.getWidth(Se)/4:q.internal.getHeight(Se)/4;We=Number((.9*We).toFixed(5));var He=Number((2*We).toFixed(5)),Qe=Number((He*q.internal.Bezier_C).toFixed(5));return Be.push("0.749023 g"),Be.push("q"),Be.push("1 0 0 1 "+de(q.internal.getWidth(Se)/2)+" "+de(q.internal.getHeight(Se)/2)+" cm"),Be.push(He+" 0 m"),Be.push(He+" "+Qe+" "+Qe+" "+He+" 0 "+He+" c"),Be.push("-"+Qe+" "+He+" -"+He+" "+Qe+" -"+He+" 0 c"),Be.push("-"+He+" -"+Qe+" -"+Qe+" -"+He+" 0 -"+He+" c"),Be.push(Qe+" -"+He+" "+He+" -"+Qe+" "+He+" 0 c"),Be.push("f"),Be.push("Q"),Re.stream=Be.join(`
|
|
|
`),Re}},Cross:{createAppearanceStream:function(Se){var Re={D:{Off:q.RadioButton.Cross.OffPushDown},N:{}};return Re.N[Se]=q.RadioButton.Cross.YesNormal,Re.D[Se]=q.RadioButton.Cross.YesPushDown,Re},getCA:function(){return"8"},YesNormal:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[],We=q.internal.calculateCross(Se);return Be.push("q"),Be.push("1 1 "+J(q.internal.getWidth(Se)-2)+" "+J(q.internal.getHeight(Se)-2)+" re"),Be.push("W"),Be.push("n"),Be.push(J(We.x1.x)+" "+J(We.x1.y)+" m"),Be.push(J(We.x2.x)+" "+J(We.x2.y)+" l"),Be.push(J(We.x4.x)+" "+J(We.x4.y)+" m"),Be.push(J(We.x3.x)+" "+J(We.x3.y)+" l"),Be.push("s"),Be.push("Q"),Re.stream=Be.join(`
|
|
|
`),Re},YesPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=q.internal.calculateCross(Se),We=[];return We.push("0.749023 g"),We.push("0 0 "+J(q.internal.getWidth(Se))+" "+J(q.internal.getHeight(Se))+" re"),We.push("f"),We.push("q"),We.push("1 1 "+J(q.internal.getWidth(Se)-2)+" "+J(q.internal.getHeight(Se)-2)+" re"),We.push("W"),We.push("n"),We.push(J(Be.x1.x)+" "+J(Be.x1.y)+" m"),We.push(J(Be.x2.x)+" "+J(Be.x2.y)+" l"),We.push(J(Be.x4.x)+" "+J(Be.x4.y)+" m"),We.push(J(Be.x3.x)+" "+J(Be.x3.y)+" l"),We.push("s"),We.push("Q"),Re.stream=We.join(`
|
|
|
`),Re},OffPushDown:function(Se){var Re=Ae(Se);Re.scope=Se.scope;var Be=[];return Be.push("0.749023 g"),Be.push("0 0 "+J(q.internal.getWidth(Se))+" "+J(q.internal.getHeight(Se))+" re"),Be.push("f"),Re.stream=Be.join(`
|
|
|
`),Re}}},createDefaultAppearanceStream:function(Se){var Re=Se.scope.internal.getFont(Se.fontName,Se.fontStyle).id,Be=Se.scope.__private__.encodeColorString(Se.color);return"/"+Re+" "+Se.fontSize+" Tf "+Be}};q.internal={Bezier_C:.551915024494,calculateCross:function(Se){var Re=q.internal.getWidth(Se),Be=q.internal.getHeight(Se),We=Math.min(Re,Be);return{x1:{x:(Re-We)/2,y:(Be-We)/2+We},x2:{x:(Re-We)/2+We,y:(Be-We)/2},x3:{x:(Re-We)/2,y:(Be-We)/2},x4:{x:(Re-We)/2+We,y:(Be-We)/2+We}}}},q.internal.getWidth=function(Ve){var Se=0;return S()(Ve)==="object"&&(Se=ae(Ve.Rect[2])),Se},q.internal.getHeight=function(Ve){var Se=0;return S()(Ve)==="object"&&(Se=ae(Ve.Rect[3])),Se};var bt=j.addField=function(Ve){if(Ke(this,Ve),!(Ve instanceof pt))throw new Error("Invalid argument passed to jsPDF.addField.");var Se;return(Se=Ve).scope.internal.acroformPlugin.printedOut&&(Se.scope.internal.acroformPlugin.printedOut=!1,Se.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),Se.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(Se),Ve.page=Ve.scope.internal.getCurrentPageInfo().pageNumber,this};j.AcroFormChoiceField=nt,j.AcroFormListBox=Oe,j.AcroFormComboBox=vt,j.AcroFormEditBox=Ze,j.AcroFormButton=wt,j.AcroFormPushButton=xt,j.AcroFormRadioButton=Ot,j.AcroFormCheckBox=Gt,j.AcroFormTextField=$e,j.AcroFormPasswordField=pe,j.AcroFormAppearance=q,j.AcroForm={ChoiceField:nt,ListBox:Oe,ComboBox:vt,EditBox:Ze,Button:wt,PushButton:xt,RadioButton:Ot,CheckBox:Gt,TextField:$e,PasswordField:pe,Appearance:q},K.AcroForm={ChoiceField:nt,ListBox:Oe,ComboBox:vt,EditBox:Ze,Button:wt,PushButton:xt,RadioButton:Ot,CheckBox:Gt,TextField:$e,PasswordField:pe,Appearance:q};var qe=K.AcroForm;function le(Ve){return Ve.reduce(function(Se,Re,Be){return Se[Re]=Be,Se},{})}!function(Ve){Ve.__addimage__={};var Se="UNKNOWN",Re={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Be=Ve.__addimage__.getImageFileTypeByImageData=function(gn,Wr){var En,on,ci,ri,bi,Gn=Se;if((Wr=Wr||Se)==="RGBA"||gn.data!==void 0&&gn.data instanceof Uint8ClampedArray&&"height"in gn&&"width"in gn)return"RGBA";if(oi(gn))for(bi in Re)for(ci=Re[bi],En=0;En<ci.length;En+=1){for(ri=!0,on=0;on<ci[En].length;on+=1)if(ci[En][on]!==void 0&&ci[En][on]!==gn[on]){ri=!1;break}if(ri===!0){Gn=bi;break}}else for(bi in Re)for(ci=Re[bi],En=0;En<ci.length;En+=1){for(ri=!0,on=0;on<ci[En].length;on+=1)if(ci[En][on]!==void 0&&ci[En][on]!==gn.charCodeAt(on)){ri=!1;break}if(ri===!0){Gn=bi;break}}return Gn===Se&&Wr!==Se&&(Gn=Wr),Gn},We=function gn(Wr){for(var En=this.internal.write,on=this.internal.putStream,ci=(0,this.internal.getFilters)();ci.indexOf("FlateEncode")!==-1;)ci.splice(ci.indexOf("FlateEncode"),1);Wr.objectId=this.internal.newObject();var ri=[];if(ri.push({key:"Type",value:"/XObject"}),ri.push({key:"Subtype",value:"/Image"}),ri.push({key:"Width",value:Wr.width}),ri.push({key:"Height",value:Wr.height}),Wr.colorSpace===Xr.INDEXED?ri.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Wr.palette.length/3-1)+" "+("sMask"in Wr&&Wr.sMask!==void 0?Wr.objectId+2:Wr.objectId+1)+" 0 R]"}):(ri.push({key:"ColorSpace",value:"/"+Wr.colorSpace}),Wr.colorSpace===Xr.DEVICE_CMYK&&ri.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ri.push({key:"BitsPerComponent",value:Wr.bitsPerComponent}),"decodeParameters"in Wr&&Wr.decodeParameters!==void 0&&ri.push({key:"DecodeParms",value:"<<"+Wr.decodeParameters+">>"}),"transparency"in Wr&&Array.isArray(Wr.transparency)){for(var bi="",Gn=0,Fi=Wr.transparency.length;Gn<Fi;Gn++)bi+=Wr.transparency[Gn]+" "+Wr.transparency[Gn]+" ";ri.push({key:"Mask",value:"["+bi+"]"})}Wr.sMask!==void 0&&ri.push({key:"SMask",value:Wr.objectId+1+" 0 R"});var Jn=Wr.filter!==void 0?["/"+Wr.filter]:void 0;if(on({data:Wr.data,additionalKeyValues:ri,alreadyAppliedFilters:Jn,objectId:Wr.objectId}),En("endobj"),"sMask"in Wr&&Wr.sMask!==void 0){var Mi="/Predictor "+Wr.predictor+" /Colors 1 /BitsPerComponent "+Wr.bitsPerComponent+" /Columns "+Wr.width,fn={width:Wr.width,height:Wr.height,colorSpace:"DeviceGray",bitsPerComponent:Wr.bitsPerComponent,decodeParameters:Mi,data:Wr.sMask};"filter"in Wr&&(fn.filter=Wr.filter),gn.call(this,fn)}if(Wr.colorSpace===Xr.INDEXED){var kr=this.internal.newObject();on({data:ui(new Uint8Array(Wr.palette)),objectId:kr}),En("endobj")}},He=function(){var Wr=this.internal.collections.addImage_images;for(var En in Wr)We.call(this,Wr[En])},Qe=function(){var Wr,En=this.internal.collections.addImage_images,on=this.internal.write;for(var ci in En)on("/I"+(Wr=En[ci]).index,Wr.objectId,"0","R")},At=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",He),this.internal.events.subscribe("putXobjectDict",Qe))},st=function(){var Wr=this.internal.collections.addImage_images;return At.call(this),Wr},Pt=function(){return Object.keys(this.internal.collections.addImage_images).length},wr=function(Wr){return typeof Ve["process"+Wr.toUpperCase()]=="function"},mr=function(Wr){return S()(Wr)==="object"&&Wr.nodeType===1},Or=function(Wr,En){if(Wr.nodeName==="IMG"&&Wr.hasAttribute("src")){var on=""+Wr.getAttribute("src");if(on.indexOf("data:image/")===0)return i(unescape(on).split("base64,").pop());var ci=Ve.loadFile(on,!0);if(ci!==void 0)return ci}if(Wr.nodeName==="CANVAS"){if(Wr.width===0||Wr.height===0)throw new Error("Given canvas must have data. Canvas width: "+Wr.width+", height: "+Wr.height);var ri;switch(En){case"PNG":ri="image/png";break;case"WEBP":ri="image/webp";break;case"JPEG":case"JPG":default:ri="image/jpeg"}return i(Wr.toDataURL(ri,1).split("base64,").pop())}},jt=function(Wr){var En=this.internal.collections.addImage_images;if(En){for(var on in En)if(Wr===En[on].alias)return En[on]}},cn=function(Wr,En,on){return Wr||En||(Wr=-96,En=-96),Wr<0&&(Wr=-1*on.width*72/Wr/this.internal.scaleFactor),En<0&&(En=-1*on.height*72/En/this.internal.scaleFactor),Wr===0&&(Wr=En*on.width/on.height),En===0&&(En=Wr*on.height/on.width),[Wr,En]},nr=function(Wr,En,on,ci,ri,bi){var Gn=cn.call(this,on,ci,ri),Fi=this.internal.getCoordinateString,Jn=this.internal.getVerticalCoordinateString,Mi=st.call(this);if(on=Gn[0],ci=Gn[1],Mi[ri.index]=ri,bi){bi*=Math.PI/180;var fn=Math.cos(bi),kr=Math.sin(bi),yn=function(ti){return ti.toFixed(4)},jn=[yn(fn),yn(kr),yn(-1*kr),yn(fn),0,0,"cm"]}this.internal.write("q"),bi?(this.internal.write([1,"0","0",1,Fi(Wr),Jn(En+ci),"cm"].join(" ")),this.internal.write(jn.join(" ")),this.internal.write([Fi(on),"0","0",Fi(ci),"0","0","cm"].join(" "))):this.internal.write([Fi(on),"0","0",Fi(ci),Fi(Wr),Jn(En+ci),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+ri.index+" Do"),this.internal.write("Q")},Xr=Ve.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};Ve.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Br=Ve.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},yr=Ve.__addimage__.sHashCode=function(gn){var Wr,En,on=0;if(typeof gn=="string")for(En=gn.length,Wr=0;Wr<En;Wr++)on=(on<<5)-on+gn.charCodeAt(Wr),on|=0;else if(oi(gn))for(En=gn.byteLength/2,Wr=0;Wr<En;Wr++)on=(on<<5)-on+gn[Wr],on|=0;return on},xn=Ve.__addimage__.validateStringAsBase64=function(gn){(gn=gn||"").toString().trim();var Wr=!0;return gn.length===0&&(Wr=!1),gn.length%4!=0&&(Wr=!1),/^[A-Za-z0-9+/]+$/.test(gn.substr(0,gn.length-2))===!1&&(Wr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(gn.substr(-2))===!1&&(Wr=!1),Wr},Bn=Ve.__addimage__.extractImageFromDataUrl=function(gn){var Wr=(gn=gn||"").split("base64,"),En=null;if(Wr.length===2){var on=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Wr[0]);Array.isArray(on)&&(En={mimeType:on[1],charset:on[2],data:Wr[1]})}return En},ii=Ve.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Ve.__addimage__.isArrayBuffer=function(gn){return ii()&&gn instanceof ArrayBuffer};var oi=Ve.__addimage__.isArrayBufferView=function(gn){return ii()&&typeof Uint32Array!="undefined"&&(gn instanceof Int8Array||gn instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&gn instanceof Uint8ClampedArray||gn instanceof Int16Array||gn instanceof Uint16Array||gn instanceof Int32Array||gn instanceof Uint32Array||gn instanceof Float32Array||gn instanceof Float64Array)},ei=Ve.__addimage__.binaryStringToUint8Array=function(gn){for(var Wr=gn.length,En=new Uint8Array(Wr),on=0;on<Wr;on++)En[on]=gn.charCodeAt(on);return En},ui=Ve.__addimage__.arrayBufferToBinaryString=function(gn){for(var Wr="",En=oi(gn)?gn:new Uint8Array(gn),on=0;on<En.length;on+=8192)Wr+=String.fromCharCode.apply(null,En.subarray(on,on+8192));return Wr};Ve.addImage=function(){var gn,Wr,En,on,ci,ri,bi,Gn,Fi;if(typeof arguments[1]=="number"?(Wr=Se,En=arguments[1],on=arguments[2],ci=arguments[3],ri=arguments[4],bi=arguments[5],Gn=arguments[6],Fi=arguments[7]):(Wr=arguments[1],En=arguments[2],on=arguments[3],ci=arguments[4],ri=arguments[5],bi=arguments[6],Gn=arguments[7],Fi=arguments[8]),S()(gn=arguments[0])==="object"&&!mr(gn)&&"imageData"in gn){var Jn=gn;gn=Jn.imageData,Wr=Jn.format||Wr||Se,En=Jn.x||En||0,on=Jn.y||on||0,ci=Jn.w||Jn.width||ci,ri=Jn.h||Jn.height||ri,bi=Jn.alias||bi,Gn=Jn.compression||Gn,Fi=Jn.rotation||Jn.angle||Fi}var Mi=this.internal.getFilters();if(Gn===void 0&&Mi.indexOf("FlateEncode")!==-1&&(Gn="SLOW"),isNaN(En)||isNaN(on))throw new Error("Invalid coordinates passed to jsPDF.addImage");At.call(this);var fn=Fn.call(this,gn,Wr,bi,Gn);return nr.call(this,En,on,ci,ri,fn,Fi),this};var Fn=function(Wr,En,on,ci){var ri,bi,Gn;if(typeof Wr=="string"&&Be(Wr)===Se){Wr=unescape(Wr);var Fi=Si(Wr,!1);(Fi!==""||(Fi=Ve.loadFile(Wr,!0))!==void 0)&&(Wr=Fi)}if(mr(Wr)&&(Wr=Or(Wr,En)),En=Be(Wr,En),!wr(En))throw new Error("addImage does not support files of type '"+En+"', please ensure that a plugin for '"+En+"' support is added.");if(((Gn=on)==null||Gn.length===0)&&(on=function(Jn){return typeof Jn=="string"||oi(Jn)?yr(Jn):oi(Jn.data)?yr(Jn.data):null}(Wr)),(ri=jt.call(this,on))||(ii()&&(Wr instanceof Uint8Array||En==="RGBA"||(bi=Wr,Wr=ei(Wr))),ri=this["process"+En.toUpperCase()](Wr,Pt.call(this),on,function(Jn){return Jn&&typeof Jn=="string"&&(Jn=Jn.toUpperCase()),Jn in Ve.image_compression?Jn:Br.NONE}(ci),bi)),!ri)throw new Error("An unknown error occurred whilst processing the image.");return ri},Si=Ve.__addimage__.convertBase64ToBinaryString=function(gn,Wr){var En;Wr=typeof Wr!="boolean"||Wr;var on,ci="";if(typeof gn=="string"){on=(En=Bn(gn))!==null?En.data:gn;try{ci=i(on)}catch(ri){if(Wr)throw xn(on)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ri.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ci};Ve.getImageProperties=function(gn){var Wr,En,on="";if(mr(gn)&&(gn=Or(gn)),typeof gn=="string"&&Be(gn)===Se&&((on=Si(gn,!1))===""&&(on=Ve.loadFile(gn)||""),gn=on),En=Be(gn),!wr(En))throw new Error("addImage does not support files of type '"+En+"', please ensure that a plugin for '"+En+"' support is added.");if(!ii()||gn instanceof Uint8Array||(gn=ei(gn)),!(Wr=this["process"+En.toUpperCase()](gn)))throw new Error("An unknown error occurred whilst processing the image");return Wr.fileType=En,Wr}}(K.API),function(Ve){var Se=function(Be){if(Be!==void 0&&Be!="")return!0};K.API.events.push(["addPage",function(Re){this.internal.getPageInfo(Re.pageNumber).pageContext.annotations=[]}]),Ve.events.push(["putPage",function(Re){for(var Be,We,He,Qe=this.internal.getCoordinateString,At=this.internal.getVerticalCoordinateString,st=this.internal.getPageInfoByObjId(Re.objId),Pt=Re.pageContext.annotations,wr=!1,mr=0;mr<Pt.length&&!wr;mr++)switch((Be=Pt[mr]).type){case"link":(Se(Be.options.url)||Se(Be.options.pageNumber))&&(wr=!0);break;case"reference":case"text":case"freetext":wr=!0}if(wr!=0){this.internal.write("/Annots [");for(var Or=0;Or<Pt.length;Or++){Be=Pt[Or];var jt=this.internal.pdfEscape,cn=this.internal.getEncryptor(Re.objId);switch(Be.type){case"reference":this.internal.write(" "+Be.object.objId+" 0 R ");break;case"text":var nr=this.internal.newAdditionalObject(),Xr=this.internal.newAdditionalObject(),Br=this.internal.getEncryptor(nr.objId),yr=Be.title||"Note";He="<</Type /Annot /Subtype /Text "+(We="/Rect ["+Qe(Be.bounds.x)+" "+At(Be.bounds.y+Be.bounds.h)+" "+Qe(Be.bounds.x+Be.bounds.w)+" "+At(Be.bounds.y)+"] ")+"/Contents ("+jt(Br(Be.contents))+")",He+=" /Popup "+Xr.objId+" 0 R",He+=" /P "+st.objId+" 0 R",He+=" /T ("+jt(Br(yr))+") >>",nr.content=He;var xn=nr.objId+" 0 R";He="<</Type /Annot /Subtype /Popup "+(We="/Rect ["+Qe(Be.bounds.x+30)+" "+At(Be.bounds.y+Be.bounds.h)+" "+Qe(Be.bounds.x+Be.bounds.w+30)+" "+At(Be.bounds.y)+"] ")+" /Parent "+xn,Be.open&&(He+=" /Open true"),He+=" >>",Xr.content=He,this.internal.write(nr.objId,"0 R",Xr.objId,"0 R");break;case"freetext":We="/Rect ["+Qe(Be.bounds.x)+" "+At(Be.bounds.y)+" "+Qe(Be.bounds.x+Be.bounds.w)+" "+At(Be.bounds.y+Be.bounds.h)+"] ";var Bn=Be.color||"#000000";He="<</Type /Annot /Subtype /FreeText "+We+"/Contents ("+jt(cn(Be.contents))+")",He+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Bn+")",He+=" /Border [0 0 0]",He+=" >>",this.internal.write(He);break;case"link":if(Be.options.name){var ii=this.annotations._nameMap[Be.options.name];Be.options.pageNumber=ii.page,Be.options.top=ii.y}else Be.options.top||(Be.options.top=0);if(We="/Rect ["+Be.finalBounds.x+" "+Be.finalBounds.y+" "+Be.finalBounds.w+" "+Be.finalBounds.h+"] ",He="",Be.options.url)He="<</Type /Annot /Subtype /Link "+We+"/Border [0 0 0] /A <</S /URI /URI ("+jt(cn(Be.options.url))+") >>";else if(Be.options.pageNumber)switch(He="<</Type /Annot /Subtype /Link "+We+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Be.options.pageNumber).objId+" 0 R",Be.options.magFactor=Be.options.magFactor||"XYZ",Be.options.magFactor){case"Fit":He+=" /Fit]";break;case"FitH":He+=" /FitH "+Be.options.top+"]";break;case"FitV":Be.options.left=Be.options.left||0,He+=" /FitV "+Be.options.left+"]";break;case"XYZ":default:var oi=At(Be.options.top);Be.options.left=Be.options.left||0,Be.options.zoom===void 0&&(Be.options.zoom=0),He+=" /XYZ "+Be.options.left+" "+oi+" "+Be.options.zoom+"]"}He!=""&&(He+=" >>",this.internal.write(He))}}this.internal.write("]")}}]),Ve.createAnnotation=function(Re){var Be=this.internal.getCurrentPageInfo();switch(Re.type){case"link":this.link(Re.bounds.x,Re.bounds.y,Re.bounds.w,Re.bounds.h,Re);break;case"text":case"freetext":Be.pageContext.annotations.push(Re)}},Ve.link=function(Re,Be,We,He,Qe){var At=this.internal.getCurrentPageInfo(),st=this.internal.getCoordinateString,Pt=this.internal.getVerticalCoordinateString;At.pageContext.annotations.push({finalBounds:{x:st(Re),y:Pt(Be),w:st(Re+We),h:Pt(Be+He)},options:Qe,type:"link"})},Ve.textWithLink=function(Re,Be,We,He){var Qe,At,st=this.getTextWidth(Re),Pt=this.internal.getLineHeight()/this.internal.scaleFactor;if(He.maxWidth!==void 0){At=He.maxWidth;var wr=this.splitTextToSize(Re,At).length;Qe=Math.ceil(Pt*wr)}else At=st,Qe=Pt;return this.text(Re,Be,We,He),We+=.2*Pt,He.align==="center"&&(Be-=st/2),He.align==="right"&&(Be-=st),this.link(Be,We-Pt,At,Qe,He),st},Ve.getTextWidth=function(Re){var Be=this.internal.getFontSize();return this.getStringUnitWidth(Re)*Be/this.internal.scaleFactor}}(K.API),function(Ve){var Se={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},Re={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},Be={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},We=[1570,1571,1573,1575];Ve.__arabicParser__={};var He=Ve.__arabicParser__.isInArabicSubstitutionA=function(nr){return Se[nr.charCodeAt(0)]!==void 0},Qe=Ve.__arabicParser__.isArabicLetter=function(nr){return typeof nr=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(nr)},At=Ve.__arabicParser__.isArabicEndLetter=function(nr){return Qe(nr)&&He(nr)&&Se[nr.charCodeAt(0)].length<=2},st=Ve.__arabicParser__.isArabicAlfLetter=function(nr){return Qe(nr)&&We.indexOf(nr.charCodeAt(0))>=0};Ve.__arabicParser__.arabicLetterHasIsolatedForm=function(nr){return Qe(nr)&&He(nr)&&Se[nr.charCodeAt(0)].length>=1};var Pt=Ve.__arabicParser__.arabicLetterHasFinalForm=function(nr){return Qe(nr)&&He(nr)&&Se[nr.charCodeAt(0)].length>=2};Ve.__arabicParser__.arabicLetterHasInitialForm=function(nr){return Qe(nr)&&He(nr)&&Se[nr.charCodeAt(0)].length>=3};var wr=Ve.__arabicParser__.arabicLetterHasMedialForm=function(nr){return Qe(nr)&&He(nr)&&Se[nr.charCodeAt(0)].length==4},mr=Ve.__arabicParser__.resolveLigatures=function(nr){var Xr=0,Br=Re,yr="",xn=0;for(Xr=0;Xr<nr.length;Xr+=1)Br[nr.charCodeAt(Xr)]!==void 0?(xn++,typeof(Br=Br[nr.charCodeAt(Xr)])=="number"&&(yr+=String.fromCharCode(Br),Br=Re,xn=0),Xr===nr.length-1&&(Br=Re,yr+=nr.charAt(Xr-(xn-1)),Xr-=xn-1,xn=0)):(Br=Re,yr+=nr.charAt(Xr-xn),Xr-=xn,xn=0);return yr};Ve.__arabicParser__.isArabicDiacritic=function(nr){return nr!==void 0&&Be[nr.charCodeAt(0)]!==void 0};var Or=Ve.__arabicParser__.getCorrectForm=function(nr,Xr,Br){return Qe(nr)?He(nr)===!1?-1:!Pt(nr)||!Qe(Xr)&&!Qe(Br)||!Qe(Br)&&At(Xr)||At(nr)&&!Qe(Xr)||At(nr)&&st(Xr)||At(nr)&&At(Xr)?0:wr(nr)&&Qe(Xr)&&!At(Xr)&&Qe(Br)&&Pt(Br)?3:At(nr)||!Qe(Br)?1:2:-1},jt=function(Xr){var Br=0,yr=0,xn=0,Bn="",ii="",oi="",ei=(Xr=Xr||"").split("\\s+"),ui=[];for(Br=0;Br<ei.length;Br+=1){for(ui.push(""),yr=0;yr<ei[Br].length;yr+=1)Bn=ei[Br][yr],ii=ei[Br][yr-1],oi=ei[Br][yr+1],Qe(Bn)?(xn=Or(Bn,ii,oi),ui[Br]+=xn!==-1?String.fromCharCode(Se[Bn.charCodeAt(0)][xn]):Bn):ui[Br]+=Bn;ui[Br]=mr(ui[Br])}return ui.join(" ")},cn=Ve.__arabicParser__.processArabic=Ve.processArabic=function(){var nr,Xr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Br=[];if(Array.isArray(Xr)){var yr=0;for(Br=[],yr=0;yr<Xr.length;yr+=1)Array.isArray(Xr[yr])?Br.push([jt(Xr[yr][0]),Xr[yr][1],Xr[yr][2]]):Br.push([jt(Xr[yr])]);nr=Br}else nr=jt(Xr);return typeof arguments[0]=="string"?nr:(arguments[0].text=nr,arguments[0])};Ve.events.push(["preProcessText",cn])}(K.API),K.API.autoPrint=function(Ve){var Se;switch((Ve=Ve||{}).variant=Ve.variant||"non-conform",Ve.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Se=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Se+" 0 R")})}return this},function(Ve){var Se=function(){var Be=void 0;Object.defineProperty(this,"pdf",{get:function(){return Be},set:function(Pt){Be=Pt}});var We=150;Object.defineProperty(this,"width",{get:function(){return We},set:function(Pt){We=isNaN(Pt)||Number.isInteger(Pt)===!1||Pt<0?150:Pt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=We+1)}});var He=300;Object.defineProperty(this,"height",{get:function(){return He},set:function(Pt){He=isNaN(Pt)||Number.isInteger(Pt)===!1||Pt<0?300:Pt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=He+1)}});var Qe=[];Object.defineProperty(this,"childNodes",{get:function(){return Qe},set:function(Pt){Qe=Pt}});var At={};Object.defineProperty(this,"style",{get:function(){return At},set:function(Pt){At=Pt}}),Object.defineProperty(this,"parentNode",{})};Se.prototype.getContext=function(Re,Be){var We;if((Re=Re||"2d")!=="2d")return null;for(We in Be)this.pdf.context2d.hasOwnProperty(We)&&(this.pdf.context2d[We]=Be[We]);return this.pdf.context2d._canvas=this,this.pdf.context2d},Se.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Ve.events.push(["initialized",function(){this.canvas=new Se,this.canvas.pdf=this}])}(K.API),function(Ve){var Se={left:0,top:0,bottom:0,right:0},Re=!1,Be=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},Se),this.internal.__cell__.margins.width=this.getPageWidth(),We.call(this))},We=function(){this.internal.__cell__.lastCell=new He,this.internal.__cell__.pages=1},He=function(){var Pt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Pt},set:function(Br){Pt=Br}});var wr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return wr},set:function(Br){wr=Br}});var mr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return mr},set:function(Br){mr=Br}});var Or=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Or},set:function(Br){Or=Br}});var jt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return jt},set:function(Br){jt=Br}});var cn=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return cn},set:function(Br){cn=Br}});var nr=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nr},set:function(Br){nr=Br}}),this};He.prototype.clone=function(){return new He(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},He.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Ve.setHeaderFunction=function(st){return Be.call(this),this.internal.__cell__.headerFunction=typeof st=="function"?st:void 0,this},Ve.getTextDimensions=function(st,Pt){Be.call(this);var wr=(Pt=Pt||{}).fontSize||this.getFontSize(),mr=Pt.font||this.getFont(),Or=Pt.scaleFactor||this.internal.scaleFactor,jt=0,cn=0,nr=0,Xr=this;if(!Array.isArray(st)&&typeof st!="string"){if(typeof st!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");st=String(st)}var Br=Pt.maxWidth;Br>0?typeof st=="string"?st=this.splitTextToSize(st,Br):Object.prototype.toString.call(st)==="[object Array]"&&(st=st.reduce(function(xn,Bn){return xn.concat(Xr.splitTextToSize(Bn,Br))},[])):st=Array.isArray(st)?st:[st];for(var yr=0;yr<st.length;yr++)jt<(nr=this.getStringUnitWidth(st[yr],{font:mr})*wr)&&(jt=nr);return jt!==0&&(cn=st.length),{w:jt/=Or,h:Math.max((cn*wr*this.getLineHeightFactor()-wr*(this.getLineHeightFactor()-1))/Or,0)}},Ve.cellAddPage=function(){Be.call(this),this.addPage();var st=this.internal.__cell__.margins||Se;return this.internal.__cell__.lastCell=new He(st.left,st.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Qe=Ve.cell=function(){var st;st=arguments[0]instanceof He?arguments[0]:new He(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),Be.call(this);var Pt=this.internal.__cell__.lastCell,wr=this.internal.__cell__.padding,mr=this.internal.__cell__.margins||Se,Or=this.internal.__cell__.tableHeaderRow,jt=this.internal.__cell__.printHeaders;return Pt.lineNumber!==void 0&&(Pt.lineNumber===st.lineNumber?(st.x=(Pt.x||0)+(Pt.width||0),st.y=Pt.y||0):Pt.y+Pt.height+st.height+mr.bottom>this.getPageHeight()?(this.cellAddPage(),st.y=mr.top,jt&&Or&&(this.printHeaderRow(st.lineNumber,!0),st.y+=Or[0].height)):st.y=Pt.y+Pt.height||st.y),st.text[0]!==void 0&&(this.rect(st.x,st.y,st.width,st.height,Re===!0?"FD":void 0),st.align==="right"?this.text(st.text,st.x+st.width-wr,st.y+wr,{align:"right",baseline:"top"}):st.align==="center"?this.text(st.text,st.x+st.width/2,st.y+wr,{align:"center",baseline:"top",maxWidth:st.width-wr-wr}):this.text(st.text,st.x+wr,st.y+wr,{align:"left",baseline:"top",maxWidth:st.width-wr-wr})),this.internal.__cell__.lastCell=st,this};Ve.table=function(st,Pt,wr,mr,Or){if(Be.call(this),!wr)throw new Error("No data for PDF table.");var jt,cn,nr,Xr,Br=[],yr=[],xn=[],Bn={},ii={},oi=[],ei=[],ui=(Or=Or||{}).autoSize||!1,Fn=Or.printHeaders!==!1,Si=Or.css&&Or.css["font-size"]!==void 0?16*Or.css["font-size"]:Or.fontSize||12,gn=Or.margins||Object.assign({width:this.getPageWidth()},Se),Wr=typeof Or.padding=="number"?Or.padding:3,En=Or.headerBackgroundColor||"#c8c8c8",on=Or.headerTextColor||"#000";if(We.call(this),this.internal.__cell__.printHeaders=Fn,this.internal.__cell__.margins=gn,this.internal.__cell__.table_font_size=Si,this.internal.__cell__.padding=Wr,this.internal.__cell__.headerBackgroundColor=En,this.internal.__cell__.headerTextColor=on,this.setFontSize(Si),mr==null)yr=Br=Object.keys(wr[0]),xn=Br.map(function(){return"left"});else if(Array.isArray(mr)&&S()(mr[0])==="object")for(Br=mr.map(function(Jn){return Jn.name}),yr=mr.map(function(Jn){return Jn.prompt||Jn.name||""}),xn=mr.map(function(Jn){return Jn.align||"left"}),jt=0;jt<mr.length;jt+=1)ii[mr[jt].name]=mr[jt].width*(19.049976/25.4);else Array.isArray(mr)&&typeof mr[0]=="string"&&(yr=Br=mr,xn=Br.map(function(){return"left"}));if(ui||Array.isArray(mr)&&typeof mr[0]=="string")for(jt=0;jt<Br.length;jt+=1){for(Bn[Xr=Br[jt]]=wr.map(function(Jn){return Jn[Xr]}),this.setFont(void 0,"bold"),oi.push(this.getTextDimensions(yr[jt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),cn=Bn[Xr],this.setFont(void 0,"normal"),nr=0;nr<cn.length;nr+=1)oi.push(this.getTextDimensions(cn[nr],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ii[Xr]=Math.max.apply(null,oi)+Wr+Wr,oi=[]}if(Fn){var ci={};for(jt=0;jt<Br.length;jt+=1)ci[Br[jt]]={},ci[Br[jt]].text=yr[jt],ci[Br[jt]].align=xn[jt];var ri=At.call(this,ci,ii);ei=Br.map(function(Jn){return new He(st,Pt,ii[Jn],ri,ci[Jn].text,void 0,ci[Jn].align)}),this.setTableHeaderRow(ei),this.printHeaderRow(1,!1)}var bi=mr.reduce(function(Jn,Mi){return Jn[Mi.name]=Mi.align,Jn},{});for(jt=0;jt<wr.length;jt+=1){"rowStart"in Or&&Or.rowStart instanceof Function&&Or.rowStart({row:jt,data:wr[jt]},this);var Gn=At.call(this,wr[jt],ii);for(nr=0;nr<Br.length;nr+=1){var Fi=wr[jt][Br[nr]];"cellStart"in Or&&Or.cellStart instanceof Function&&Or.cellStart({row:jt,col:nr,data:Fi},this),Qe.call(this,new He(st,Pt,ii[Br[nr]],Gn,Fi,jt+2,bi[Br[nr]]))}}return this.internal.__cell__.table_x=st,this.internal.__cell__.table_y=Pt,this};var At=function(Pt,wr){var mr=this.internal.__cell__.padding,Or=this.internal.__cell__.table_font_size,jt=this.internal.scaleFactor;return Object.keys(Pt).map(function(cn){var nr=Pt[cn];return this.splitTextToSize(nr.hasOwnProperty("text")?nr.text:nr,wr[cn]-mr-mr)},this).map(function(cn){return this.getLineHeightFactor()*cn.length*Or/jt+mr+mr},this).reduce(function(cn,nr){return Math.max(cn,nr)},0)};Ve.setTableHeaderRow=function(st){Be.call(this),this.internal.__cell__.tableHeaderRow=st},Ve.printHeaderRow=function(st,Pt){if(Be.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var wr;if(Re=!0,typeof this.internal.__cell__.headerFunction=="function"){var mr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new He(mr[0],mr[1],mr[2],mr[3],void 0,-1)}this.setFont(void 0,"bold");for(var Or=[],jt=0;jt<this.internal.__cell__.tableHeaderRow.length;jt+=1){wr=this.internal.__cell__.tableHeaderRow[jt].clone(),Pt&&(wr.y=this.internal.__cell__.margins.top||0,Or.push(wr)),wr.lineNumber=st;var cn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Qe.call(this,wr),this.setTextColor(cn)}Or.length>0&&this.setTableHeaderRow(Or),this.setFont(void 0,"normal"),Re=!1}}(K.API);var Nt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},tr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],lt=le(tr),Wt=[100,200,300,400,500,600,700,800,900],cr=le(Wt);function Vr(Ve){var Se=Ve.family.replace(/"|'/g,"").toLowerCase(),Re=function(He){return Nt[He=He||"normal"]?He:"normal"}(Ve.style),Be=function(He){if(!He)return 400;if(typeof He=="number")return He>=100&&He<=900&&He%100==0?He:400;if(/^\d00$/.test(He))return parseInt(He);switch(He){case"bold":return 700;case"normal":default:return 400}}(Ve.weight),We=function(He){return typeof lt[He=He||"normal"]=="number"?He:"normal"}(Ve.stretch);return{family:Se,style:Re,weight:Be,stretch:We,src:Ve.src||[],ref:Ve.ref||{name:Se,style:[We,Re,Be].join(" ")}}}function ur(Ve,Se,Re,Be){var We;for(We=Re;We>=0&&We<Se.length;We+=Be)if(Ve[Se[We]])return Ve[Se[We]];for(We=Re;We>=0&&We<Se.length;We-=Be)if(Ve[Se[We]])return Ve[Se[We]]}var ir={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Lt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function ot(Ve){return[Ve.stretch,Ve.style,Ve.weight,Ve.family].join(" ")}function Xe(Ve,Se,Re){for(var Be=(Re=Re||{}).defaultFontFamily||"times",We=Object.assign({},ir,Re.genericFontFamilies||{}),He=null,Qe=null,At=0;At<Se.length;++At)if(We[(He=Vr(Se[At])).family]&&(He.family=We[He.family]),Ve.hasOwnProperty(He.family)){Qe=Ve[He.family];break}if(!(Qe=Qe||Ve[Be]))throw new Error("Could not find a font-family for the rule '"+ot(He)+"' and default family '"+Be+"'.");if(Qe=function(st,Pt){if(Pt[st])return Pt[st];var wr=lt[st],mr=wr<=lt.normal?-1:1,Or=ur(Pt,tr,wr,mr);if(!Or)throw new Error("Could not find a matching font-stretch value for "+st);return Or}(He.stretch,Qe),Qe=function(st,Pt){if(Pt[st])return Pt[st];for(var wr=Nt[st],mr=0;mr<wr.length;++mr)if(Pt[wr[mr]])return Pt[wr[mr]];throw new Error("Could not find a matching font-style for "+st)}(He.style,Qe),!(Qe=function(st,Pt){if(Pt[st])return Pt[st];if(st===400&&Pt[500])return Pt[500];if(st===500&&Pt[400])return Pt[400];var wr=cr[st],mr=ur(Pt,Wt,wr,st<400?-1:1);if(!mr)throw new Error("Could not find a matching font-weight for value "+st);return mr}(He.weight,Qe)))throw new Error("Failed to resolve a font for the rule '"+ot(He)+"'.");return Qe}function $t(Ve){return Ve.trimLeft()}function Sr(Ve,Se){for(var Re=0;Re<Ve.length;){if(Ve.charAt(Re)===Se)return[Ve.substring(0,Re),Ve.substring(Re+1)];Re+=1}return null}function vr(Ve){var Se=Ve.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return Se===null?null:[Se[0],Ve.substring(Se[0].length)]}var fr,An,Zr,Ln=["times"];!function(Ve){var Se,Re,Be,We,He,Qe,At,st,Pt,wr=function(kr){return kr=kr||{},this.isStrokeTransparent=kr.isStrokeTransparent||!1,this.strokeOpacity=kr.strokeOpacity||1,this.strokeStyle=kr.strokeStyle||"#000000",this.fillStyle=kr.fillStyle||"#000000",this.isFillTransparent=kr.isFillTransparent||!1,this.fillOpacity=kr.fillOpacity||1,this.font=kr.font||"10px sans-serif",this.textBaseline=kr.textBaseline||"alphabetic",this.textAlign=kr.textAlign||"left",this.lineWidth=kr.lineWidth||1,this.lineJoin=kr.lineJoin||"miter",this.lineCap=kr.lineCap||"butt",this.path=kr.path||[],this.transform=kr.transform!==void 0?kr.transform.clone():new st,this.globalCompositeOperation=kr.globalCompositeOperation||"normal",this.globalAlpha=kr.globalAlpha||1,this.clip_path=kr.clip_path||[],this.currentPoint=kr.currentPoint||new Qe,this.miterLimit=kr.miterLimit||10,this.lastPoint=kr.lastPoint||new Qe,this.lineDashOffset=kr.lineDashOffset||0,this.lineDash=kr.lineDash||[],this.margin=kr.margin||[0,0,0,0],this.prevPageLastElemOffset=kr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof kr.ignoreClearRect!="boolean"||kr.ignoreClearRect,this};Ve.events.push(["initialized",function(){this.context2d=new mr(this),Se=this.internal.f2,Re=this.internal.getCoordinateString,Be=this.internal.getVerticalCoordinateString,We=this.internal.getHorizontalCoordinate,He=this.internal.getVerticalCoordinate,Qe=this.internal.Point,At=this.internal.Rectangle,st=this.internal.Matrix,Pt=new wr}]);var mr=function(kr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var yn=kr;Object.defineProperty(this,"pdf",{get:function(){return yn}});var jn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return jn},set:function(Oi){jn=Boolean(Oi)}});var Xn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Xn},set:function(Oi){Xn=Boolean(Oi)}});var ti=0;Object.defineProperty(this,"posX",{get:function(){return ti},set:function(Oi){isNaN(Oi)||(ti=Oi)}});var di=0;Object.defineProperty(this,"posY",{get:function(){return di},set:function(Oi){isNaN(Oi)||(di=Oi)}}),Object.defineProperty(this,"margin",{get:function(){return Pt.margin},set:function(Oi){var Ji;typeof Oi=="number"?Ji=[Oi,Oi,Oi,Oi]:((Ji=new Array(4))[0]=Oi[0],Ji[1]=Oi.length>=2?Oi[1]:Ji[0],Ji[2]=Oi.length>=3?Oi[2]:Ji[0],Ji[3]=Oi.length>=4?Oi[3]:Ji[1]),Pt.margin=Ji}});var fi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fi},set:function(Oi){fi=Oi}});var mi=0;Object.defineProperty(this,"lastBreak",{get:function(){return mi},set:function(Oi){mi=Oi}});var Ki=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Ki},set:function(Oi){Ki=Oi}}),Object.defineProperty(this,"ctx",{get:function(){return Pt},set:function(Oi){Oi instanceof wr&&(Pt=Oi)}}),Object.defineProperty(this,"path",{get:function(){return Pt.path},set:function(Oi){Pt.path=Oi}});var ia=[];Object.defineProperty(this,"ctxStack",{get:function(){return ia},set:function(Oi){ia=Oi}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Oi){var Ji;Ji=Or(Oi),this.ctx.fillStyle=Ji.style,this.ctx.isFillTransparent=Ji.a===0,this.ctx.fillOpacity=Ji.a,this.pdf.setFillColor(Ji.r,Ji.g,Ji.b,{a:Ji.a}),this.pdf.setTextColor(Ji.r,Ji.g,Ji.b,{a:Ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Oi){var Ji=Or(Oi);this.ctx.strokeStyle=Ji.style,this.ctx.isStrokeTransparent=Ji.a===0,this.ctx.strokeOpacity=Ji.a,Ji.a===0?this.pdf.setDrawColor(255,255,255):(Ji.a,this.pdf.setDrawColor(Ji.r,Ji.g,Ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Oi){["butt","round","square"].indexOf(Oi)!==-1&&(this.ctx.lineCap=Oi,this.pdf.setLineCap(Oi))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Oi){isNaN(Oi)||(this.ctx.lineWidth=Oi,this.pdf.setLineWidth(Oi))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Oi){["bevel","round","miter"].indexOf(Oi)!==-1&&(this.ctx.lineJoin=Oi,this.pdf.setLineJoin(Oi))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Oi){isNaN(Oi)||(this.ctx.miterLimit=Oi,this.pdf.setMiterLimit(Oi))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Oi){this.ctx.textBaseline=Oi}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Oi){["right","end","center","left","start"].indexOf(Oi)!==-1&&(this.ctx.textAlign=Oi)}});var qi=null;function Ra(ln,Oi){if(qi===null){var Ji=function(Pi){var aa=[];return Object.keys(Pi).forEach(function(Kt){Pi[Kt].forEach(function(Yr){var rn=null;switch(Yr){case"bold":rn={family:Kt,weight:"bold"};break;case"italic":rn={family:Kt,style:"italic"};break;case"bolditalic":rn={family:Kt,weight:"bold",style:"italic"};break;case"":case"normal":rn={family:Kt}}rn!==null&&(rn.ref={name:Kt,style:Yr},aa.push(rn))})}),aa}(ln.getFontList());qi=function(Pi){for(var aa={},Kt=0;Kt<Pi.length;++Kt){var Yr=Vr(Pi[Kt]),rn=Yr.family,hn=Yr.stretch,ze=Yr.style,Ct=Yr.weight;aa[rn]=aa[rn]||{},aa[rn][hn]=aa[rn][hn]||{},aa[rn][hn][ze]=aa[rn][hn][ze]||{},aa[rn][hn][ze][Ct]=Yr}return aa}(Ji.concat(Oi))}return qi}var pi=null;Object.defineProperty(this,"fontFaces",{get:function(){return pi},set:function(Oi){qi=null,pi=Oi}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Oi){var Ji;if(this.ctx.font=Oi,(Ji=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Oi))!==null){var Pi=Ji[1],aa=(Ji[2],Ji[3]),Kt=Ji[4],Yr=(Ji[5],Ji[6]),rn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Kt)[2];Kt=rn==="px"?Math.floor(parseFloat(Kt)*this.pdf.internal.scaleFactor):rn==="em"?Math.floor(parseFloat(Kt)*this.pdf.getFontSize()):Math.floor(parseFloat(Kt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Kt);var hn=function(Kr){var nn,wn,In=[],Rn=Kr.trim();if(Rn==="")return Ln;if(Rn in Lt)return[Lt[Rn]];for(;Rn!=="";){switch(wn=null,nn=(Rn=$t(Rn)).charAt(0)){case'"':case"'":wn=Sr(Rn.substring(1),nn);break;default:wn=vr(Rn)}if(wn===null)return Ln;if(In.push(wn[0]),(Rn=$t(wn[1]))!==""&&Rn.charAt(0)!==",")return Ln;Rn=Rn.replace(/^,/,"")}return In}(Yr);if(this.fontFaces){var ze=Xe(Ra(this.pdf,this.fontFaces),hn.map(function(Kr){return{family:Kr,stretch:"normal",weight:aa,style:Pi}}));this.pdf.setFont(ze.ref.name,ze.ref.style)}else{var Ct="";(aa==="bold"||parseInt(aa,10)>=700||Pi==="bold")&&(Ct="bold"),Pi==="italic"&&(Ct+="italic"),Ct.length===0&&(Ct="normal");for(var or="",rr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Lr=0;Lr<hn.length;Lr++){if(this.pdf.internal.getFont(hn[Lr],Ct,{noFallback:!0,disableWarning:!0})!==void 0){or=hn[Lr];break}if(Ct==="bolditalic"&&this.pdf.internal.getFont(hn[Lr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)or=hn[Lr],Ct="bold";else if(this.pdf.internal.getFont(hn[Lr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){or=hn[Lr],Ct="normal";break}}if(or===""){for(var Fr=0;Fr<hn.length;Fr++)if(rr[hn[Fr]]){or=rr[hn[Fr]];break}}or=or===""?"Times":or,this.pdf.setFont(or,Ct)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Oi){this.ctx.globalCompositeOperation=Oi}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Oi){this.ctx.globalAlpha=Oi}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Oi){this.ctx.lineDashOffset=Oi,Mi.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Oi){this.ctx.lineDash=Oi,Mi.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Oi){this.ctx.ignoreClearRect=Boolean(Oi)}})};mr.prototype.setLineDash=function(fn){this.lineDash=fn},mr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},mr.prototype.fill=function(){Bn.call(this,"fill",!1)},mr.prototype.stroke=function(){Bn.call(this,"stroke",!1)},mr.prototype.beginPath=function(){this.path=[{type:"begin"}]},mr.prototype.moveTo=function(fn,kr){if(isNaN(fn)||isNaN(kr))throw d.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var yn=this.ctx.transform.applyToPoint(new Qe(fn,kr));this.path.push({type:"mt",x:yn.x,y:yn.y}),this.ctx.lastPoint=new Qe(fn,kr)},mr.prototype.closePath=function(){var fn=new Qe(0,0),kr=0;for(kr=this.path.length-1;kr!==-1;kr--)if(this.path[kr].type==="begin"&&S()(this.path[kr+1])==="object"&&typeof this.path[kr+1].x=="number"){fn=new Qe(this.path[kr+1].x,this.path[kr+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Qe(fn.x,fn.y)},mr.prototype.lineTo=function(fn,kr){if(isNaN(fn)||isNaN(kr))throw d.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var yn=this.ctx.transform.applyToPoint(new Qe(fn,kr));this.path.push({type:"lt",x:yn.x,y:yn.y}),this.ctx.lastPoint=new Qe(yn.x,yn.y)},mr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Bn.call(this,null,!0)},mr.prototype.quadraticCurveTo=function(fn,kr,yn,jn){if(isNaN(yn)||isNaN(jn)||isNaN(fn)||isNaN(kr))throw d.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Xn=this.ctx.transform.applyToPoint(new Qe(yn,jn)),ti=this.ctx.transform.applyToPoint(new Qe(fn,kr));this.path.push({type:"qct",x1:ti.x,y1:ti.y,x:Xn.x,y:Xn.y}),this.ctx.lastPoint=new Qe(Xn.x,Xn.y)},mr.prototype.bezierCurveTo=function(fn,kr,yn,jn,Xn,ti){if(isNaN(Xn)||isNaN(ti)||isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn))throw d.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var di=this.ctx.transform.applyToPoint(new Qe(Xn,ti)),fi=this.ctx.transform.applyToPoint(new Qe(fn,kr)),mi=this.ctx.transform.applyToPoint(new Qe(yn,jn));this.path.push({type:"bct",x1:fi.x,y1:fi.y,x2:mi.x,y2:mi.y,x:di.x,y:di.y}),this.ctx.lastPoint=new Qe(di.x,di.y)},mr.prototype.arc=function(fn,kr,yn,jn,Xn,ti){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn)||isNaN(Xn))throw d.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(ti=Boolean(ti),!this.ctx.transform.isIdentity){var di=this.ctx.transform.applyToPoint(new Qe(fn,kr));fn=di.x,kr=di.y;var fi=this.ctx.transform.applyToPoint(new Qe(0,yn)),mi=this.ctx.transform.applyToPoint(new Qe(0,0));yn=Math.sqrt(Math.pow(fi.x-mi.x,2)+Math.pow(fi.y-mi.y,2))}Math.abs(Xn-jn)>=2*Math.PI&&(jn=0,Xn=2*Math.PI),this.path.push({type:"arc",x:fn,y:kr,radius:yn,startAngle:jn,endAngle:Xn,counterclockwise:ti})},mr.prototype.arcTo=function(fn,kr,yn,jn,Xn){throw new Error("arcTo not implemented.")},mr.prototype.rect=function(fn,kr,yn,jn){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn))throw d.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(fn,kr),this.lineTo(fn+yn,kr),this.lineTo(fn+yn,kr+jn),this.lineTo(fn,kr+jn),this.lineTo(fn,kr),this.lineTo(fn+yn,kr),this.lineTo(fn,kr)},mr.prototype.fillRect=function(fn,kr,yn,jn){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn))throw d.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!jt.call(this)){var Xn={};this.lineCap!=="butt"&&(Xn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Xn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(fn,kr,yn,jn),this.fill(),Xn.hasOwnProperty("lineCap")&&(this.lineCap=Xn.lineCap),Xn.hasOwnProperty("lineJoin")&&(this.lineJoin=Xn.lineJoin)}},mr.prototype.strokeRect=function(fn,kr,yn,jn){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn))throw d.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");cn.call(this)||(this.beginPath(),this.rect(fn,kr,yn,jn),this.stroke())},mr.prototype.clearRect=function(fn,kr,yn,jn){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn))throw d.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(fn,kr,yn,jn))},mr.prototype.save=function(fn){fn=typeof fn!="boolean"||fn;for(var kr=this.pdf.internal.getCurrentPageInfo().pageNumber,yn=0;yn<this.pdf.internal.getNumberOfPages();yn++)this.pdf.setPage(yn+1),this.pdf.internal.out("q");if(this.pdf.setPage(kr),fn){this.ctx.fontSize=this.pdf.internal.getFontSize();var jn=new wr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=jn}},mr.prototype.restore=function(fn){fn=typeof fn!="boolean"||fn;for(var kr=this.pdf.internal.getCurrentPageInfo().pageNumber,yn=0;yn<this.pdf.internal.getNumberOfPages();yn++)this.pdf.setPage(yn+1),this.pdf.internal.out("Q");this.pdf.setPage(kr),fn&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},mr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Or=function(kr){var yn,jn,Xn,ti;if(kr.isCanvasGradient===!0&&(kr=kr.getColor()),!kr)return{r:0,g:0,b:0,a:0,style:kr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(kr))yn=0,jn=0,Xn=0,ti=0;else{var di=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(kr);if(di!==null)yn=parseInt(di[1]),jn=parseInt(di[2]),Xn=parseInt(di[3]),ti=1;else if((di=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(kr))!==null)yn=parseInt(di[1]),jn=parseInt(di[2]),Xn=parseInt(di[3]),ti=parseFloat(di[4]);else{if(ti=1,typeof kr=="string"&&kr.charAt(0)!=="#"){var fi=new l(kr);kr=fi.ok?fi.toHex():"#000000"}kr.length===4?(yn=kr.substring(1,2),yn+=yn,jn=kr.substring(2,3),jn+=jn,Xn=kr.substring(3,4),Xn+=Xn):(yn=kr.substring(1,3),jn=kr.substring(3,5),Xn=kr.substring(5,7)),yn=parseInt(yn,16),jn=parseInt(jn,16),Xn=parseInt(Xn,16)}}return{r:yn,g:jn,b:Xn,a:ti,style:kr}},jt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},cn=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};mr.prototype.fillText=function(fn,kr,yn,jn){if(isNaN(kr)||isNaN(yn)||typeof fn!="string")throw d.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(jn=isNaN(jn)?void 0:jn,!jt.call(this)){var Xn=Gn(this.ctx.transform.rotation),ti=this.ctx.transform.scaleX;Wr.call(this,{text:fn,x:kr,y:yn,scale:ti,angle:Xn,align:this.textAlign,maxWidth:jn})}},mr.prototype.strokeText=function(fn,kr,yn,jn){if(isNaN(kr)||isNaN(yn)||typeof fn!="string")throw d.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!cn.call(this)){jn=isNaN(jn)?void 0:jn;var Xn=Gn(this.ctx.transform.rotation),ti=this.ctx.transform.scaleX;Wr.call(this,{text:fn,x:kr,y:yn,scale:ti,renderingMode:"stroke",angle:Xn,align:this.textAlign,maxWidth:jn})}},mr.prototype.measureText=function(fn){if(typeof fn!="string")throw d.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var kr=this.pdf,yn=this.pdf.internal.scaleFactor,jn=kr.internal.getFontSize(),Xn=kr.getStringUnitWidth(fn)*jn/kr.internal.scaleFactor,ti=function(fi){var mi=(fi=fi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mi}}),this};return new ti({width:Xn*=Math.round(96*yn/72*1e4)/1e4})},mr.prototype.scale=function(fn,kr){if(isNaN(fn)||isNaN(kr))throw d.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var yn=new st(fn,0,0,kr,0,0);this.ctx.transform=this.ctx.transform.multiply(yn)},mr.prototype.rotate=function(fn){if(isNaN(fn))throw d.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var kr=new st(Math.cos(fn),Math.sin(fn),-Math.sin(fn),Math.cos(fn),0,0);this.ctx.transform=this.ctx.transform.multiply(kr)},mr.prototype.translate=function(fn,kr){if(isNaN(fn)||isNaN(kr))throw d.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var yn=new st(1,0,0,1,fn,kr);this.ctx.transform=this.ctx.transform.multiply(yn)},mr.prototype.transform=function(fn,kr,yn,jn,Xn,ti){if(isNaN(fn)||isNaN(kr)||isNaN(yn)||isNaN(jn)||isNaN(Xn)||isNaN(ti))throw d.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var di=new st(fn,kr,yn,jn,Xn,ti);this.ctx.transform=this.ctx.transform.multiply(di)},mr.prototype.setTransform=function(fn,kr,yn,jn,Xn,ti){fn=isNaN(fn)?1:fn,kr=isNaN(kr)?0:kr,yn=isNaN(yn)?0:yn,jn=isNaN(jn)?1:jn,Xn=isNaN(Xn)?0:Xn,ti=isNaN(ti)?0:ti,this.ctx.transform=new st(fn,kr,yn,jn,Xn,ti)};var nr=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};mr.prototype.drawImage=function(fn,kr,yn,jn,Xn,ti,di,fi,mi){var Ki=this.pdf.getImageProperties(fn),ia=1,qi=1,Ra=1,pi=1;jn!==void 0&&fi!==void 0&&(Ra=fi/jn,pi=mi/Xn,ia=Ki.width/jn*fi/jn,qi=Ki.height/Xn*mi/Xn),ti===void 0&&(ti=kr,di=yn,kr=0,yn=0),jn!==void 0&&fi===void 0&&(fi=jn,mi=Xn),jn===void 0&&fi===void 0&&(fi=Ki.width,mi=Ki.height);for(var ln,Oi=this.ctx.transform.decompose(),Ji=Gn(Oi.rotate.shx),Pi=new st,aa=(Pi=(Pi=(Pi=Pi.multiply(Oi.translate)).multiply(Oi.skew)).multiply(Oi.scale)).applyToRectangle(new At(ti-kr*Ra,di-yn*pi,jn*ia,Xn*qi)),Kt=Xr.call(this,aa),Yr=[],rn=0;rn<Kt.length;rn+=1)Yr.indexOf(Kt[rn])===-1&&Yr.push(Kt[rn]);if(xn(Yr),this.autoPaging)for(var hn=Yr[0],ze=Yr[Yr.length-1],Ct=hn;Ct<ze+1;Ct++){this.pdf.setPage(Ct);var or=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],rr=Ct===1?this.posY+this.margin[0]:this.margin[0],Lr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Fr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Kr=Ct===1?0:Lr+(Ct-2)*Fr;if(this.ctx.clip_path.length!==0){var nn=this.path;ln=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=yr(ln,this.posX+this.margin[3],-Kr+rr+this.ctx.prevPageLastElemOffset),ii.call(this,"fill",!0),this.path=nn}var wn=JSON.parse(JSON.stringify(aa));wn=yr([wn],this.posX+this.margin[3],-Kr+rr+this.ctx.prevPageLastElemOffset)[0];var In=(Ct>hn||Ct<ze)&&nr.call(this);In&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],or,Fr,null).clip().discardPath()),this.pdf.addImage(fn,"JPEG",wn.x,wn.y,wn.w,wn.h,null,null,Ji),In&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(fn,"JPEG",aa.x,aa.y,aa.w,aa.h,null,null,Ji)};var Xr=function(kr,yn,jn){var Xn=[];yn=yn||this.pdf.internal.pageSize.width,jn=jn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ti=this.posY+this.ctx.prevPageLastElemOffset;switch(kr.type){default:case"mt":case"lt":Xn.push(Math.floor((kr.y+ti)/jn)+1);break;case"arc":Xn.push(Math.floor((kr.y+ti-kr.radius)/jn)+1),Xn.push(Math.floor((kr.y+ti+kr.radius)/jn)+1);break;case"qct":var di=Fi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,kr.x1,kr.y1,kr.x,kr.y);Xn.push(Math.floor((di.y+ti)/jn)+1),Xn.push(Math.floor((di.y+di.h+ti)/jn)+1);break;case"bct":var fi=Jn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,kr.x1,kr.y1,kr.x2,kr.y2,kr.x,kr.y);Xn.push(Math.floor((fi.y+ti)/jn)+1),Xn.push(Math.floor((fi.y+fi.h+ti)/jn)+1);break;case"rect":Xn.push(Math.floor((kr.y+ti)/jn)+1),Xn.push(Math.floor((kr.y+kr.h+ti)/jn)+1)}for(var mi=0;mi<Xn.length;mi+=1)for(;this.pdf.internal.getNumberOfPages()<Xn[mi];)Br.call(this);return Xn},Br=function(){var kr=this.fillStyle,yn=this.strokeStyle,jn=this.font,Xn=this.lineCap,ti=this.lineWidth,di=this.lineJoin;this.pdf.addPage(),this.fillStyle=kr,this.strokeStyle=yn,this.font=jn,this.lineCap=Xn,this.lineWidth=ti,this.lineJoin=di},yr=function(kr,yn,jn){for(var Xn=0;Xn<kr.length;Xn++)switch(kr[Xn].type){case"bct":kr[Xn].x2+=yn,kr[Xn].y2+=jn;case"qct":kr[Xn].x1+=yn,kr[Xn].y1+=jn;case"mt":case"lt":case"arc":default:kr[Xn].x+=yn,kr[Xn].y+=jn}return kr},xn=function(kr){return kr.sort(function(yn,jn){return yn-jn})},Bn=function(kr,yn){for(var jn,Xn,ti=this.fillStyle,di=this.strokeStyle,fi=this.lineCap,mi=this.lineWidth,Ki=Math.abs(mi*this.ctx.transform.scaleX),ia=this.lineJoin,qi=JSON.parse(JSON.stringify(this.path)),Ra=JSON.parse(JSON.stringify(this.path)),pi=[],ln=0;ln<Ra.length;ln++)if(Ra[ln].x!==void 0)for(var Oi=Xr.call(this,Ra[ln]),Ji=0;Ji<Oi.length;Ji+=1)pi.indexOf(Oi[Ji])===-1&&pi.push(Oi[Ji]);for(var Pi=0;Pi<pi.length;Pi++)for(;this.pdf.internal.getNumberOfPages()<pi[Pi];)Br.call(this);if(xn(pi),this.autoPaging)for(var aa=pi[0],Kt=pi[pi.length-1],Yr=aa;Yr<Kt+1;Yr++){this.pdf.setPage(Yr),this.fillStyle=ti,this.strokeStyle=di,this.lineCap=fi,this.lineWidth=Ki,this.lineJoin=ia;var rn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],hn=Yr===1?this.posY+this.margin[0]:this.margin[0],ze=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ct=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],or=Yr===1?0:ze+(Yr-2)*Ct;if(this.ctx.clip_path.length!==0){var rr=this.path;jn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=yr(jn,this.posX+this.margin[3],-or+hn+this.ctx.prevPageLastElemOffset),ii.call(this,kr,!0),this.path=rr}if(Xn=JSON.parse(JSON.stringify(qi)),this.path=yr(Xn,this.posX+this.margin[3],-or+hn+this.ctx.prevPageLastElemOffset),yn===!1||Yr===0){var Lr=(Yr>aa||Yr<Kt)&&nr.call(this);Lr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],rn,Ct,null).clip().discardPath()),ii.call(this,kr,yn),Lr&&this.pdf.restoreGraphicsState()}this.lineWidth=mi}else this.lineWidth=Ki,ii.call(this,kr,yn),this.lineWidth=mi;this.path=qi},ii=function(kr,yn){if((kr!=="stroke"||yn||!cn.call(this))&&(kr==="stroke"||yn||!jt.call(this))){for(var jn,Xn,ti=[],di=this.path,fi=0;fi<di.length;fi++){var mi=di[fi];switch(mi.type){case"begin":ti.push({begin:!0});break;case"close":ti.push({close:!0});break;case"mt":ti.push({start:mi,deltas:[],abs:[]});break;case"lt":var Ki=ti.length;if(di[fi-1]&&!isNaN(di[fi-1].x)&&(jn=[mi.x-di[fi-1].x,mi.y-di[fi-1].y],Ki>0)){for(;Ki>=0;Ki--)if(ti[Ki-1].close!==!0&&ti[Ki-1].begin!==!0){ti[Ki-1].deltas.push(jn),ti[Ki-1].abs.push(mi);break}}break;case"bct":jn=[mi.x1-di[fi-1].x,mi.y1-di[fi-1].y,mi.x2-di[fi-1].x,mi.y2-di[fi-1].y,mi.x-di[fi-1].x,mi.y-di[fi-1].y],ti[ti.length-1].deltas.push(jn);break;case"qct":var ia=di[fi-1].x+2/3*(mi.x1-di[fi-1].x),qi=di[fi-1].y+2/3*(mi.y1-di[fi-1].y),Ra=mi.x+2/3*(mi.x1-mi.x),pi=mi.y+2/3*(mi.y1-mi.y),ln=mi.x,Oi=mi.y;jn=[ia-di[fi-1].x,qi-di[fi-1].y,Ra-di[fi-1].x,pi-di[fi-1].y,ln-di[fi-1].x,Oi-di[fi-1].y],ti[ti.length-1].deltas.push(jn);break;case"arc":ti.push({deltas:[],abs:[],arc:!0}),Array.isArray(ti[ti.length-1].abs)&&ti[ti.length-1].abs.push(mi)}}Xn=yn?null:kr==="stroke"?"stroke":"fill";for(var Ji=!1,Pi=0;Pi<ti.length;Pi++)if(ti[Pi].arc)for(var aa=ti[Pi].abs,Kt=0;Kt<aa.length;Kt++){var Yr=aa[Kt];Yr.type==="arc"?ui.call(this,Yr.x,Yr.y,Yr.radius,Yr.startAngle,Yr.endAngle,Yr.counterclockwise,void 0,yn,!Ji):En.call(this,Yr.x,Yr.y),Ji=!0}else if(ti[Pi].close===!0)this.pdf.internal.out("h"),Ji=!1;else if(ti[Pi].begin!==!0){var rn=ti[Pi].start.x,hn=ti[Pi].start.y;on.call(this,ti[Pi].deltas,rn,hn),Ji=!0}Xn&&Fn.call(this,Xn),yn&&Si.call(this)}},oi=function(kr){var yn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,jn=yn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return kr-jn;case"top":return kr+yn-jn;case"hanging":return kr+yn-2*jn;case"middle":return kr+yn/2-jn;case"ideographic":return kr;case"alphabetic":default:return kr}},ei=function(kr){return kr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};mr.prototype.createLinearGradient=function(){var fn=function(){};return fn.colorStops=[],fn.addColorStop=function(kr,yn){this.colorStops.push([kr,yn])},fn.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},fn.isCanvasGradient=!0,fn},mr.prototype.createPattern=function(){return this.createLinearGradient()},mr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var ui=function(kr,yn,jn,Xn,ti,di,fi,mi,Ki){for(var ia=ri.call(this,jn,Xn,ti,di),qi=0;qi<ia.length;qi++){var Ra=ia[qi];qi===0&&(Ki?gn.call(this,Ra.x1+kr,Ra.y1+yn):En.call(this,Ra.x1+kr,Ra.y1+yn)),ci.call(this,kr,yn,Ra.x2,Ra.y2,Ra.x3,Ra.y3,Ra.x4,Ra.y4)}mi?Si.call(this):Fn.call(this,fi)},Fn=function(kr){switch(kr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Si=function(){this.pdf.clip(),this.pdf.discardPath()},gn=function(kr,yn){this.pdf.internal.out(Re(kr)+" "+Be(yn)+" m")},Wr=function(kr){var yn;switch(kr.align){case"right":case"end":yn="right";break;case"center":yn="center";break;case"left":case"start":default:yn="left"}var jn=this.pdf.getTextDimensions(kr.text),Xn=oi.call(this,kr.y),ti=ei.call(this,Xn)-jn.h,di=this.ctx.transform.applyToPoint(new Qe(kr.x,Xn)),fi=this.ctx.transform.decompose(),mi=new st;mi=(mi=(mi=mi.multiply(fi.translate)).multiply(fi.skew)).multiply(fi.scale);for(var Ki,ia,qi,Ra=this.ctx.transform.applyToRectangle(new At(kr.x,Xn,jn.w,jn.h)),pi=mi.applyToRectangle(new At(kr.x,ti,jn.w,jn.h)),ln=Xr.call(this,pi),Oi=[],Ji=0;Ji<ln.length;Ji+=1)Oi.indexOf(ln[Ji])===-1&&Oi.push(ln[Ji]);if(xn(Oi),this.autoPaging)for(var Pi=Oi[0],aa=Oi[Oi.length-1],Kt=Pi;Kt<aa+1;Kt++){this.pdf.setPage(Kt);var Yr=Kt===1?this.posY+this.margin[0]:this.margin[0],rn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],hn=this.pdf.internal.pageSize.height-this.margin[2],ze=hn-this.margin[0],Ct=this.pdf.internal.pageSize.width-this.margin[1],or=Ct-this.margin[3],rr=Kt===1?0:rn+(Kt-2)*ze;if(this.ctx.clip_path.length!==0){var Lr=this.path;Ki=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=yr(Ki,this.posX+this.margin[3],-1*rr+Yr),ii.call(this,"fill",!0),this.path=Lr}var Fr=yr([JSON.parse(JSON.stringify(pi))],this.posX+this.margin[3],-rr+Yr+this.ctx.prevPageLastElemOffset)[0];kr.scale>=.01&&(ia=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ia*kr.scale),qi=this.lineWidth,this.lineWidth=qi*kr.scale);var Kr=this.autoPaging!=="text";if(Kr||Fr.y+Fr.h<=hn){if(Kr||Fr.y>=Yr&&Fr.x<=Ct){var nn=Kr?kr.text:this.pdf.splitTextToSize(kr.text,kr.maxWidth||Ct-Fr.x)[0],wn=yr([JSON.parse(JSON.stringify(Ra))],this.posX+this.margin[3],-rr+Yr+this.ctx.prevPageLastElemOffset)[0],In=Kr&&(Kt>Pi||Kt<aa)&&nr.call(this);In&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],or,ze,null).clip().discardPath()),this.pdf.text(nn,wn.x,wn.y,{angle:kr.angle,align:yn,renderingMode:kr.renderingMode}),In&&this.pdf.restoreGraphicsState()}}else Fr.y<hn&&(this.ctx.prevPageLastElemOffset+=hn-Fr.y);kr.scale>=.01&&(this.pdf.setFontSize(ia),this.lineWidth=qi)}else kr.scale>=.01&&(ia=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ia*kr.scale),qi=this.lineWidth,this.lineWidth=qi*kr.scale),this.pdf.text(kr.text,di.x+this.posX,di.y+this.posY,{angle:kr.angle,align:yn,renderingMode:kr.renderingMode,maxWidth:kr.maxWidth}),kr.scale>=.01&&(this.pdf.setFontSize(ia),this.lineWidth=qi)},En=function(kr,yn,jn,Xn){jn=jn||0,Xn=Xn||0,this.pdf.internal.out(Re(kr+jn)+" "+Be(yn+Xn)+" l")},on=function(kr,yn,jn){return this.pdf.lines(kr,yn,jn,null,null)},ci=function(kr,yn,jn,Xn,ti,di,fi,mi){this.pdf.internal.out([Se(We(jn+kr)),Se(He(Xn+yn)),Se(We(ti+kr)),Se(He(di+yn)),Se(We(fi+kr)),Se(He(mi+yn)),"c"].join(" "))},ri=function(kr,yn,jn,Xn){for(var ti=2*Math.PI,di=Math.PI/2;yn>jn;)yn-=ti;var fi=Math.abs(jn-yn);fi<ti&&Xn&&(fi=ti-fi);for(var mi=[],Ki=Xn?-1:1,ia=yn;fi>1e-5;){var qi=ia+Ki*Math.min(fi,di);mi.push(bi.call(this,kr,ia,qi)),fi-=Math.abs(qi-ia),ia=qi}return mi},bi=function(kr,yn,jn){var Xn=(jn-yn)/2,ti=kr*Math.cos(Xn),di=kr*Math.sin(Xn),fi=ti,mi=-di,Ki=fi*fi+mi*mi,ia=Ki+fi*ti+mi*di,qi=4/3*(Math.sqrt(2*Ki*ia)-ia)/(fi*di-mi*ti),Ra=fi-qi*mi,pi=mi+qi*fi,ln=Ra,Oi=-pi,Ji=Xn+yn,Pi=Math.cos(Ji),aa=Math.sin(Ji);return{x1:kr*Math.cos(yn),y1:kr*Math.sin(yn),x2:Ra*Pi-pi*aa,y2:Ra*aa+pi*Pi,x3:ln*Pi-Oi*aa,y3:ln*aa+Oi*Pi,x4:kr*Math.cos(jn),y4:kr*Math.sin(jn)}},Gn=function(kr){return 180*kr/Math.PI},Fi=function(kr,yn,jn,Xn,ti,di){var fi=kr+.5*(jn-kr),mi=yn+.5*(Xn-yn),Ki=ti+.5*(jn-ti),ia=di+.5*(Xn-di),qi=Math.min(kr,ti,fi,Ki),Ra=Math.max(kr,ti,fi,Ki),pi=Math.min(yn,di,mi,ia),ln=Math.max(yn,di,mi,ia);return new At(qi,pi,Ra-qi,ln-pi)},Jn=function(kr,yn,jn,Xn,ti,di,fi,mi){var Ki,ia,qi,Ra,pi,ln,Oi,Ji,Pi,aa,Kt,Yr,rn,hn,ze=jn-kr,Ct=Xn-yn,or=ti-jn,rr=di-Xn,Lr=fi-ti,Fr=mi-di;for(ia=0;ia<41;ia++)Pi=(Oi=(qi=kr+(Ki=ia/40)*ze)+Ki*((pi=jn+Ki*or)-qi))+Ki*(pi+Ki*(ti+Ki*Lr-pi)-Oi),aa=(Ji=(Ra=yn+Ki*Ct)+Ki*((ln=Xn+Ki*rr)-Ra))+Ki*(ln+Ki*(di+Ki*Fr-ln)-Ji),ia==0?(Kt=Pi,Yr=aa,rn=Pi,hn=aa):(Kt=Math.min(Kt,Pi),Yr=Math.min(Yr,aa),rn=Math.max(rn,Pi),hn=Math.max(hn,aa));return new At(Math.round(Kt),Math.round(Yr),Math.round(rn-Kt),Math.round(hn-Yr))},Mi=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var kr,yn,jn=(kr=this.ctx.lineDash,yn=this.ctx.lineDashOffset,JSON.stringify({lineDash:kr,lineDashOffset:yn}));this.prevLineDash!==jn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=jn)}}}(K.API),function(Ve){var Se=function(Qe){var At,st,Pt,wr,mr,Or,jt,cn,nr,Xr;for(/[^\x00-\xFF]/.test(Qe),st=[],Pt=0,wr=(Qe+=At="\0\0\0\0".slice(Qe.length%4||4)).length;wr>Pt;Pt+=4)(mr=(Qe.charCodeAt(Pt)<<24)+(Qe.charCodeAt(Pt+1)<<16)+(Qe.charCodeAt(Pt+2)<<8)+Qe.charCodeAt(Pt+3))!==0?(Or=(mr=((mr=((mr=((mr=(mr-(Xr=mr%85))/85)-(nr=mr%85))/85)-(cn=mr%85))/85)-(jt=mr%85))/85)%85,st.push(Or+33,jt+33,cn+33,nr+33,Xr+33)):st.push(122);return function(Br,yr){for(var xn=yr;xn>0;xn--)Br.pop()}(st,At.length),String.fromCharCode.apply(String,st)+"~>"},Re=function(Qe){var At,st,Pt,wr,mr,Or=String,jt="length",cn=255,nr="charCodeAt",Xr="slice",Br="replace";for(Qe[Xr](-2),Qe=Qe[Xr](0,-2)[Br](/\s/g,"")[Br]("z","!!!!!"),Pt=[],wr=0,mr=(Qe+=At="uuuuu"[Xr](Qe[jt]%5||5))[jt];mr>wr;wr+=5)st=52200625*(Qe[nr](wr)-33)+614125*(Qe[nr](wr+1)-33)+7225*(Qe[nr](wr+2)-33)+85*(Qe[nr](wr+3)-33)+(Qe[nr](wr+4)-33),Pt.push(cn&st>>24,cn&st>>16,cn&st>>8,cn&st);return function(yr,xn){for(var Bn=xn;Bn>0;Bn--)yr.pop()}(Pt,At[jt]),Or.fromCharCode.apply(Or,Pt)},Be=function(Qe){var At=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Qe=Qe.replace(/\s/g,"")).indexOf(">")!==-1&&(Qe=Qe.substr(0,Qe.indexOf(">"))),Qe.length%2&&(Qe+="0"),At.test(Qe)===!1)return"";for(var st="",Pt=0;Pt<Qe.length;Pt+=2)st+=String.fromCharCode("0x"+(Qe[Pt]+Qe[Pt+1]));return st},We=function(Qe){for(var At=new Uint8Array(Qe.length),st=Qe.length;st--;)At[st]=Qe.charCodeAt(st);return Qe=(At=Object(m.b)(At)).reduce(function(Pt,wr){return Pt+String.fromCharCode(wr)},"")};Ve.processDataByFilters=function(He,Qe){var At=0,st=He||"",Pt=[];for(typeof(Qe=Qe||[])=="string"&&(Qe=[Qe]),At=0;At<Qe.length;At+=1)switch(Qe[At]){case"ASCII85Decode":case"/ASCII85Decode":st=Re(st),Pt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":st=Se(st),Pt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":st=Be(st),Pt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":st=st.split("").map(function(wr){return("0"+wr.charCodeAt().toString(16)).slice(-2)}).join("")+">",Pt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":st=We(st),Pt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Qe[At]+'" is not implemented')}return{data:st,reverseChain:Pt.reverse().join(" ")}}}(K.API),function(Ve){Ve.loadFile=function(Se,Re,Be){return function(We,He,Qe){He=He!==!1,Qe=typeof Qe=="function"?Qe:function(){};var At=void 0;try{At=function(st,Pt,wr){var mr=new XMLHttpRequest,Or=0,jt=function(nr){var Xr=nr.length,Br=[],yr=String.fromCharCode;for(Or=0;Or<Xr;Or+=1)Br.push(yr(255&nr.charCodeAt(Or)));return Br.join("")};if(mr.open("GET",st,!Pt),mr.overrideMimeType("text/plain; charset=x-user-defined"),Pt===!1&&(mr.onload=function(){mr.status===200?wr(jt(this.responseText)):wr(void 0)}),mr.send(null),Pt&&mr.status===200)return jt(mr.responseText)}(We,He,Qe)}catch(st){}return At}(Se,Re,Be)},Ve.loadImageFile=Ve.loadFile}(K.API),function(Ve){function Se(){return(g.html2canvas?Promise.resolve(g.html2canvas):Promise.resolve().then(t.t.bind(null,"wOnQ",7))).catch(function(Qe){return Promise.reject(new Error("Could not load html2canvas: "+Qe))}).then(function(Qe){return Qe.default?Qe.default:Qe})}function Re(){return(g.DOMPurify?Promise.resolve(g.DOMPurify):t.e(216).then(t.t.bind(null,"qZ2Q",7))).catch(function(Qe){return Promise.reject(new Error("Could not load dompurify: "+Qe))}).then(function(Qe){return Qe.default?Qe.default:Qe})}var Be=function(At){var st=S()(At);return st==="undefined"?"undefined":st==="string"||At instanceof String?"string":st==="number"||At instanceof Number?"number":st==="function"||At instanceof Function?"function":At&&At.constructor===Array?"array":At&&At.nodeType===1?"element":st==="object"?"object":"unknown"},We=function(At,st){var Pt=document.createElement(At);for(var wr in st.className&&(Pt.className=st.className),st.innerHTML&&st.dompurify&&(Pt.innerHTML=st.dompurify.sanitize(st.innerHTML)),st.style)Pt.style[wr]=st.style[wr];return Pt},He=function Qe(At){var st=Object.assign(Qe.convert(Promise.resolve()),JSON.parse(JSON.stringify(Qe.template))),Pt=Qe.convert(Promise.resolve(),st);return Pt=(Pt=Pt.setProgress(1,Qe,1,[Qe])).set(At)};(He.prototype=Object.create(Promise.prototype)).constructor=He,He.convert=function(Qe,At){return Qe.__proto__=At||He.prototype,Qe},He.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},He.prototype.from=function(Qe,At){return this.then(function(){switch(At=At||function(st){switch(Be(st)){case"string":return"string";case"element":return st.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Qe)){case"string":return this.then(Re).then(function(st){return this.set({src:We("div",{innerHTML:Qe,dompurify:st})})});case"element":return this.set({src:Qe});case"canvas":return this.set({canvas:Qe});case"img":return this.set({img:Qe});default:return this.error("Unknown source type.")}})},He.prototype.to=function(Qe){switch(Qe){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.")}},He.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Qe={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},At=function st(Pt,wr){for(var mr=Pt.nodeType===3?document.createTextNode(Pt.nodeValue):Pt.cloneNode(!1),Or=Pt.firstChild;Or;Or=Or.nextSibling)wr!==!0&&Or.nodeType===1&&Or.nodeName==="SCRIPT"||mr.appendChild(st(Or,wr));return Pt.nodeType===1&&(Pt.nodeName==="CANVAS"?(mr.width=Pt.width,mr.height=Pt.height,mr.getContext("2d").drawImage(Pt,0,0)):Pt.nodeName!=="TEXTAREA"&&Pt.nodeName!=="SELECT"||(mr.value=Pt.value),mr.addEventListener("load",function(){mr.scrollTop=Pt.scrollTop,mr.scrollLeft=Pt.scrollLeft},!0)),mr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);At.tagName==="BODY"&&(Qe.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=We("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=We("div",{className:"html2pdf__container",style:Qe}),this.prop.container.appendChild(At),this.prop.container.firstChild.appendChild(We("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},He.prototype.toCanvas=function(){var Qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Qe).then(Se).then(function(At){var st=Object.assign({},this.opt.html2canvas);return delete st.onrendered,At(this.prop.container,st)}).then(function(At){(this.opt.html2canvas.onrendered||function(){})(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},He.prototype.toContext2d=function(){var Qe=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Qe).then(Se).then(function(At){var st=this.opt.jsPDF,Pt=this.opt.fontFaces,wr=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,mr=Object.assign({async:!0,allowTaint:!0,scale:wr,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete mr.onrendered,st.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,st.context2d.posX=this.opt.x,st.context2d.posY=this.opt.y,st.context2d.margin=this.opt.margin,st.context2d.fontFaces=Pt,Pt)for(var Or=0;Or<Pt.length;++Or){var jt=Pt[Or],cn=jt.src.find(function(nr){return nr.format==="truetype"});cn&&st.addFont(cn.url,jt.ref.name,jt.ref.style)}return mr.windowHeight=mr.windowHeight||0,mr.windowHeight=mr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):mr.windowHeight,st.context2d.save(!0),At(this.prop.container,mr)}).then(function(At){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},He.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Qe=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Qe})},He.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},He.prototype.output=function(Qe,At,st){return(st=st||"pdf").toLowerCase()==="img"||st.toLowerCase()==="image"?this.outputImg(Qe,At):this.outputPdf(Qe,At)},He.prototype.outputPdf=function(Qe,At){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Qe,At)})},He.prototype.outputImg=function(Qe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Qe){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Qe+'" is not supported.'}})},He.prototype.save=function(Qe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Qe?{filename:Qe}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},He.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},He.prototype.set=function(Qe){if(Be(Qe)!=="object")return this;var At=Object.keys(Qe||{}).map(function(st){if(st in He.template.prop)return function(){this.prop[st]=Qe[st]};switch(st){case"margin":return this.setMargin.bind(this,Qe.margin);case"jsPDF":return function(){return this.opt.jsPDF=Qe.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Qe.pageSize);default:return function(){this.opt[st]=Qe[st]}}},this);return this.then(function(){return this.thenList(At)})},He.prototype.get=function(Qe,At){return this.then(function(){var st=Qe in He.template.prop?this.prop[Qe]:this.opt[Qe];return At?At(st):st})},He.prototype.setMargin=function(Qe){return this.then(function(){switch(Be(Qe)){case"number":Qe=[Qe,Qe,Qe,Qe];case"array":if(Qe.length===2&&(Qe=[Qe[0],Qe[1],Qe[0],Qe[1]]),Qe.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Qe}).then(this.setPageSize)},He.prototype.setPageSize=function(Qe){function At(st,Pt){return Math.floor(st*Pt/72*96)}return this.then(function(){(Qe=Qe||K.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Qe.inner={width:Qe.width-this.opt.margin[1]-this.opt.margin[3],height:Qe.height-this.opt.margin[0]-this.opt.margin[2]},Qe.inner.px={width:At(Qe.inner.width,Qe.k),height:At(Qe.inner.height,Qe.k)},Qe.inner.ratio=Qe.inner.height/Qe.inner.width),this.prop.pageSize=Qe})},He.prototype.setProgress=function(Qe,At,st,Pt){return Qe!=null&&(this.progress.val=Qe),At!=null&&(this.progress.state=At),st!=null&&(this.progress.n=st),Pt!=null&&(this.progress.stack=Pt),this.progress.ratio=this.progress.val/this.progress.state,this},He.prototype.updateProgress=function(Qe,At,st,Pt){return this.setProgress(Qe?this.progress.val+Qe:null,At||null,st?this.progress.n+st:null,Pt?this.progress.stack.concat(Pt):null)},He.prototype.then=function(Qe,At){var st=this;return this.thenCore(Qe,At,function(Pt,wr){return st.updateProgress(null,null,1,[Pt]),Promise.prototype.then.call(this,function(mr){return st.updateProgress(null,Pt),mr}).then(Pt,wr).then(function(mr){return st.updateProgress(1),mr})})},He.prototype.thenCore=function(Qe,At,st){st=st||Promise.prototype.then,Qe&&(Qe=Qe.bind(this)),At&&(At=At.bind(this));var Pt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:He.convert(Object.assign({},this),Promise.prototype),wr=st.call(Pt,Qe,At);return He.convert(wr,this.__proto__)},He.prototype.thenExternal=function(Qe,At){return Promise.prototype.then.call(this,Qe,At)},He.prototype.thenList=function(Qe){var At=this;return Qe.forEach(function(st){At=At.thenCore(st)}),At},He.prototype.catch=function(Qe){Qe&&(Qe=Qe.bind(this));var At=Promise.prototype.catch.call(this,Qe);return He.convert(At,this)},He.prototype.catchExternal=function(Qe){return Promise.prototype.catch.call(this,Qe)},He.prototype.error=function(Qe){return this.then(function(){throw new Error(Qe)})},He.prototype.using=He.prototype.set,He.prototype.saveAs=He.prototype.save,He.prototype.export=He.prototype.output,He.prototype.run=He.prototype.then,K.getPageSize=function(Qe,At,st){if(S()(Qe)==="object"){var Pt=Qe;Qe=Pt.orientation,At=Pt.unit||At,st=Pt.format||st}At=At||"mm",st=st||"a4",Qe=(""+(Qe||"P")).toLowerCase();var wr,mr=(""+st).toLowerCase(),Or={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(At){case"pt":wr=1;break;case"mm":wr=72/25.4;break;case"cm":wr=72/2.54;break;case"in":wr=72;break;case"px":wr=.75;break;case"pc":case"em":wr=12;break;case"ex":wr=6;break;default:throw"Invalid unit: "+At}var jt,cn=0,nr=0;if(Or.hasOwnProperty(mr))cn=Or[mr][1]/wr,nr=Or[mr][0]/wr;else try{cn=st[1],nr=st[0]}catch(Xr){throw new Error("Invalid format: "+st)}if(Qe==="p"||Qe==="portrait")Qe="p",nr>cn&&(jt=nr,nr=cn,cn=jt);else{if(Qe!=="l"&&Qe!=="landscape")throw"Invalid orientation: "+Qe;Qe="l",cn>nr&&(jt=nr,nr=cn,cn=jt)}return{width:nr,height:cn,unit:At,k:wr,orientation:Qe}},Ve.html=function(Qe,At){(At=At||{}).callback=At.callback||function(){},At.html2canvas=At.html2canvas||{},At.html2canvas.canvas=At.html2canvas.canvas||this.canvas,At.jsPDF=At.jsPDF||this,At.fontFaces=At.fontFaces?At.fontFaces.map(Vr):null;var st=new He(At);return At.worker?st:st.from(Qe).doCallback()}}(K.API),K.API.addJS=function(Ve){return Zr=Ve,this.internal.events.subscribe("postPutResources",function(){fr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(fr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),An=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Zr+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){fr!==void 0&&An!==void 0&&this.internal.out("/Names <</JavaScript "+fr+" 0 R>>")}),this},function(Ve){var Se;Ve.events.push(["postPutResources",function(){var Re=this,Be=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var We=Re.outline.render().split(/\r\n/),He=0;He<We.length;He++){var Qe=We[He],At=Be.exec(Qe);if(At!=null){var st=At[1];Re.internal.newObjectDeferredBegin(st,!1)}Re.internal.write(Qe)}if(this.outline.createNamedDestinations){var Pt=this.internal.pages.length,wr=[];for(He=0;He<Pt;He++){var mr=Re.internal.newObject();wr.push(mr);var Or=Re.internal.getPageInfo(He+1);Re.internal.write("<< /D["+Or.objId+" 0 R /XYZ null null null]>> endobj")}var jt=Re.internal.newObject();for(Re.internal.write("<< /Names [ "),He=0;He<wr.length;He++)Re.internal.write("(page_"+(He+1)+")"+wr[He]+" 0 R");Re.internal.write(" ] >>","endobj"),Se=Re.internal.newObject(),Re.internal.write("<< /Dests "+jt+" 0 R"),Re.internal.write(">>","endobj")}}]),Ve.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+Se+" 0 R"))}]),Ve.events.push(["initialized",function(){var Re=this;Re.outline={createNamedDestinations:!1,root:{children:[]}},Re.outline.add=function(Be,We,He){var Qe={title:We,options:He,children:[]};return Be==null&&(Be=this.root),Be.children.push(Qe),Qe},Re.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Re,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Re.outline.genIds_r=function(Be){Be.id=Re.internal.newObjectDeferred();for(var We=0;We<Be.children.length;We++)this.genIds_r(Be.children[We])},Re.outline.renderRoot=function(Be){this.objStart(Be),this.line("/Type /Outlines"),Be.children.length>0&&(this.line("/First "+this.makeRef(Be.children[0])),this.line("/Last "+this.makeRef(Be.children[Be.children.length-1]))),this.line("/Count "+this.count_r({count:0},Be)),this.objEnd()},Re.outline.renderItems=function(Be){for(var We=this.ctx.pdf.internal.getVerticalCoordinateString,He=0;He<Be.children.length;He++){var Qe=Be.children[He];this.objStart(Qe),this.line("/Title "+this.makeString(Qe.title)),this.line("/Parent "+this.makeRef(Be)),He>0&&this.line("/Prev "+this.makeRef(Be.children[He-1])),He<Be.children.length-1&&this.line("/Next "+this.makeRef(Be.children[He+1])),Qe.children.length>0&&(this.line("/First "+this.makeRef(Qe.children[0])),this.line("/Last "+this.makeRef(Qe.children[Qe.children.length-1])));var At=this.count=this.count_r({count:0},Qe);if(At>0&&this.line("/Count "+At),Qe.options&&Qe.options.pageNumber){var st=Re.internal.getPageInfo(Qe.options.pageNumber);this.line("/Dest ["+st.objId+" 0 R /XYZ 0 "+We(0)+" 0]")}this.objEnd()}for(var Pt=0;Pt<Be.children.length;Pt++)this.renderItems(Be.children[Pt])},Re.outline.line=function(Be){this.ctx.val+=Be+`\r
|
|
|
`},Re.outline.makeRef=function(Be){return Be.id+" 0 R"},Re.outline.makeString=function(Be){return"("+Re.internal.pdfEscape(Be)+")"},Re.outline.objStart=function(Be){this.ctx.val+=`\r
|
|
|
`+Be.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},Re.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},Re.outline.count_r=function(Be,We){for(var He=0;He<We.children.length;He++)Be.count++,this.count_r(Be,We.children[He]);return Be.count}}])}(K.API),function(Ve){var Se=[192,193,194,195,196,197,198,199];Ve.processJPEG=function(Re,Be,We,He,Qe,At){var st,Pt=this.decode.DCT_DECODE,wr=null;if(typeof Re=="string"||this.__addimage__.isArrayBuffer(Re)||this.__addimage__.isArrayBufferView(Re)){switch(Re=Qe||Re,Re=this.__addimage__.isArrayBuffer(Re)?new Uint8Array(Re):Re,(st=function(mr){for(var Or,jt=256*mr.charCodeAt(4)+mr.charCodeAt(5),cn=mr.length,nr={width:0,height:0,numcomponents:1},Xr=4;Xr<cn;Xr+=2){if(Xr+=jt,Se.indexOf(mr.charCodeAt(Xr+1))!==-1){Or=256*mr.charCodeAt(Xr+5)+mr.charCodeAt(Xr+6),nr={width:256*mr.charCodeAt(Xr+7)+mr.charCodeAt(Xr+8),height:Or,numcomponents:mr.charCodeAt(Xr+9)};break}jt=256*mr.charCodeAt(Xr+2)+mr.charCodeAt(Xr+3)}return nr}(Re=this.__addimage__.isArrayBufferView(Re)?this.__addimage__.arrayBufferToBinaryString(Re):Re)).numcomponents){case 1:At=this.color_spaces.DEVICE_GRAY;break;case 4:At=this.color_spaces.DEVICE_CMYK;break;case 3:At=this.color_spaces.DEVICE_RGB}wr={data:Re,width:st.width,height:st.height,colorSpace:At,bitsPerComponent:8,filter:Pt,index:Be,alias:We}}return wr}}(K.API);var Je,et,be,Le,Ue,rt=function(){var Ve,Se,Re;function Be(He){var Qe,At,st,Pt,wr,mr,Or,jt,cn,nr,Xr,Br,yr,xn;for(this.data=He,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},mr=null;;){switch(Qe=this.readUInt32(),cn=function(){var Bn,ii;for(ii=[],Bn=0;Bn<4;++Bn)ii.push(String.fromCharCode(this.data[this.pos++]));return ii}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Qe);break;case"fcTL":mr&&this.animation.frames.push(mr),this.pos+=4,mr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},wr=this.readUInt16(),Pt=this.readUInt16()||100,mr.delay=1e3*wr/Pt,mr.disposeOp=this.data[this.pos++],mr.blendOp=this.data[this.pos++],mr.data=[];break;case"IDAT":case"fdAT":for(cn==="fdAT"&&(this.pos+=4,Qe-=4),He=(mr!=null?mr.data:void 0)||this.imgData,Br=0;0<=Qe?Br<Qe:Br>Qe;0<=Qe?++Br:--Br)He.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(st=this.palette.length/3,this.transparency.indexed=this.read(Qe),this.transparency.indexed.length>st)throw new Error("More transparent colors than palette size");if((nr=st-this.transparency.indexed.length)>0)for(yr=0;0<=nr?yr<nr:yr>nr;0<=nr?++yr:--yr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Qe)[0];break;case 2:this.transparency.rgb=this.read(Qe)}break;case"tEXt":Or=(Xr=this.read(Qe)).indexOf(0),jt=String.fromCharCode.apply(String,Xr.slice(0,Or)),this.text[jt]=String.fromCharCode.apply(String,Xr.slice(Or+1));break;case"IEND":return mr&&this.animation.frames.push(mr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(xn=this.colorType)===4||xn===6,At=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*At,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Qe}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}Be.prototype.read=function(He){var Qe,At;for(At=[],Qe=0;0<=He?Qe<He:Qe>He;0<=He?++Qe:--Qe)At.push(this.data[this.pos++]);return At},Be.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},Be.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},Be.prototype.decodePixels=function(He){var Qe=this.pixelBitlength/8,At=new Uint8Array(this.width*this.height*Qe),st=0,Pt=this;if(He==null&&(He=this.imgData),He.length===0)return new Uint8Array(0);function wr(mr,Or,jt,cn){var nr,Xr,Br,yr,xn,Bn,ii,oi,ei,ui,Fn,Si,gn,Wr,En,on,ci,ri,bi,Gn,Fi,Jn=Math.ceil((Pt.width-mr)/jt),Mi=Math.ceil((Pt.height-Or)/cn),fn=Pt.width==Jn&&Pt.height==Mi;for(Wr=Qe*Jn,Si=fn?At:new Uint8Array(Wr*Mi),Bn=He.length,gn=0,Xr=0;gn<Mi&&st<Bn;){switch(He[st++]){case 0:for(yr=ci=0;ci<Wr;yr=ci+=1)Si[Xr++]=He[st++];break;case 1:for(yr=ri=0;ri<Wr;yr=ri+=1)nr=He[st++],xn=yr<Qe?0:Si[Xr-Qe],Si[Xr++]=(nr+xn)%256;break;case 2:for(yr=bi=0;bi<Wr;yr=bi+=1)nr=He[st++],Br=(yr-yr%Qe)/Qe,En=gn&&Si[(gn-1)*Wr+Br*Qe+yr%Qe],Si[Xr++]=(En+nr)%256;break;case 3:for(yr=Gn=0;Gn<Wr;yr=Gn+=1)nr=He[st++],Br=(yr-yr%Qe)/Qe,xn=yr<Qe?0:Si[Xr-Qe],En=gn&&Si[(gn-1)*Wr+Br*Qe+yr%Qe],Si[Xr++]=(nr+Math.floor((xn+En)/2))%256;break;case 4:for(yr=Fi=0;Fi<Wr;yr=Fi+=1)nr=He[st++],Br=(yr-yr%Qe)/Qe,xn=yr<Qe?0:Si[Xr-Qe],gn===0?En=on=0:(En=Si[(gn-1)*Wr+Br*Qe+yr%Qe],on=Br&&Si[(gn-1)*Wr+(Br-1)*Qe+yr%Qe]),ii=xn+En-on,oi=Math.abs(ii-xn),ui=Math.abs(ii-En),Fn=Math.abs(ii-on),ei=oi<=ui&&oi<=Fn?xn:ui<=Fn?En:on,Si[Xr++]=(nr+ei)%256;break;default:throw new Error("Invalid filter algorithm: "+He[st-1])}if(!fn){var kr=((Or+gn*cn)*Pt.width+mr)*Qe,yn=gn*Wr;for(yr=0;yr<Jn;yr+=1){for(var jn=0;jn<Qe;jn+=1)At[kr++]=Si[yn++];kr+=(jt-1)*Qe}}gn++}}return He=Object(m.a)(He),Pt.interlaceMethod==1?(wr(0,0,8,8),wr(4,0,8,8),wr(0,4,4,8),wr(2,0,4,4),wr(0,2,2,4),wr(1,0,2,2),wr(0,1,1,2)):wr(0,0,1,1),At},Be.prototype.decodePalette=function(){var He,Qe,At,st,Pt,wr,mr,Or,jt;for(At=this.palette,wr=this.transparency.indexed||[],Pt=new Uint8Array((wr.length||0)+At.length),st=0,He=0,Qe=mr=0,Or=At.length;mr<Or;Qe=mr+=3)Pt[st++]=At[Qe],Pt[st++]=At[Qe+1],Pt[st++]=At[Qe+2],Pt[st++]=(jt=wr[He++])!=null?jt:255;return Pt},Be.prototype.copyToImageData=function(He,Qe){var At,st,Pt,wr,mr,Or,jt,cn,nr,Xr,Br;if(st=this.colors,nr=null,At=this.hasAlphaChannel,this.palette.length&&(nr=(Br=this._decodedPalette)!=null?Br:this._decodedPalette=this.decodePalette(),st=4,At=!0),cn=(Pt=He.data||He).length,mr=nr||Qe,wr=Or=0,st===1)for(;wr<cn;)jt=nr?4*Qe[wr/4]:Or,Xr=mr[jt++],Pt[wr++]=Xr,Pt[wr++]=Xr,Pt[wr++]=Xr,Pt[wr++]=At?mr[jt++]:255,Or=jt;else for(;wr<cn;)jt=nr?4*Qe[wr/4]:Or,Pt[wr++]=mr[jt++],Pt[wr++]=mr[jt++],Pt[wr++]=mr[jt++],Pt[wr++]=At?mr[jt++]:255,Or=jt},Be.prototype.decode=function(){var He;return He=new Uint8Array(this.width*this.height*4),this.copyToImageData(He,this.decodePixels()),He};var We=function(){if(Object.prototype.toString.call(g)==="[object Window]"){try{Se=g.document.createElement("canvas"),Re=Se.getContext("2d")}catch(Qe){return!1}return!0}return!1};return We(),Ve=function(Qe){var At;if(We()===!0)return Re.width=Qe.width,Re.height=Qe.height,Re.clearRect(0,0,Qe.width,Qe.height),Re.putImageData(Qe,0,0),(At=new Image).src=Se.toDataURL(),At;throw new Error("This method requires a Browser with Canvas-capability.")},Be.prototype.decodeFrames=function(He){var Qe,At,st,Pt,wr,mr,Or,jt;if(this.animation){for(jt=[],At=wr=0,mr=(Or=this.animation.frames).length;wr<mr;At=++wr)Qe=Or[At],st=He.createImageData(Qe.width,Qe.height),Pt=this.decodePixels(new Uint8Array(Qe.data)),this.copyToImageData(st,Pt),Qe.imageData=st,jt.push(Qe.image=Ve(st));return jt}},Be.prototype.renderFrame=function(He,Qe){var At,st,Pt;return At=(st=this.animation.frames)[Qe],Pt=st[Qe-1],Qe===0&&He.clearRect(0,0,this.width,this.height),(Pt!=null?Pt.disposeOp:void 0)===1?He.clearRect(Pt.xOffset,Pt.yOffset,Pt.width,Pt.height):(Pt!=null?Pt.disposeOp:void 0)===2&&He.putImageData(Pt.imageData,Pt.xOffset,Pt.yOffset),At.blendOp===0&&He.clearRect(At.xOffset,At.yOffset,At.width,At.height),He.drawImage(At.image,At.xOffset,At.yOffset)},Be.prototype.animate=function(He){var Qe,At,st,Pt,wr,mr,Or=this;return At=0,mr=this.animation,Pt=mr.numFrames,st=mr.frames,wr=mr.numPlays,(Qe=function(){var cn,nr;if(cn=At++%Pt,nr=st[cn],Or.renderFrame(He,cn),Pt>1&&At/Pt<wr)return Or.animation._timeout=setTimeout(Qe,nr.delay)})()},Be.prototype.stopAnimation=function(){var He;return clearTimeout((He=this.animation)!=null?He._timeout:void 0)},Be.prototype.render=function(He){var Qe,At;return He._png&&He._png.stopAnimation(),He._png=this,He.width=this.width,He.height=this.height,Qe=He.getContext("2d"),this.animation?(this.decodeFrames(Qe),this.animate(Qe)):(At=Qe.createImageData(this.width,this.height),this.copyToImageData(At,this.decodePixels()),Qe.putImageData(At,0,0))},Be}();/**
|
|
|
* @license
|
|
|
*
|
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
* the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
* ====================================================================
|
|
|
*//**
|
|
|
* @license
|
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|
|
*
|
|
|
* https://github.com/deanm/omggif
|
|
|
*
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
*
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
* all copies or substantial portions of the Software.
|
|
|
*
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
* IN THE SOFTWARE.
|
|
|
*
|
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|
|
* including animation and compression. It does not rely on any specific
|
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|
|
*/function Vt(Ve){var Se=0;if(Ve[Se++]!==71||Ve[Se++]!==73||Ve[Se++]!==70||Ve[Se++]!==56||(Ve[Se++]+1&253)!=56||Ve[Se++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Re=Ve[Se++]|Ve[Se++]<<8,Be=Ve[Se++]|Ve[Se++]<<8,We=Ve[Se++],He=We>>7,Qe=1<<(7&We)+1;Ve[Se++],Ve[Se++];var At=null,st=null;He&&(At=Se,st=Qe,Se+=3*Qe);var Pt=!0,wr=[],mr=0,Or=null,jt=0,cn=null;for(this.width=Re,this.height=Be;Pt&&Se<Ve.length;)switch(Ve[Se++]){case 33:switch(Ve[Se++]){case 255:if(Ve[Se]!==11||Ve[Se+1]==78&&Ve[Se+2]==69&&Ve[Se+3]==84&&Ve[Se+4]==83&&Ve[Se+5]==67&&Ve[Se+6]==65&&Ve[Se+7]==80&&Ve[Se+8]==69&&Ve[Se+9]==50&&Ve[Se+10]==46&&Ve[Se+11]==48&&Ve[Se+12]==3&&Ve[Se+13]==1&&Ve[Se+16]==0)Se+=14,cn=Ve[Se++]|Ve[Se++]<<8,Se++;else for(Se+=12;;){if(!((gn=Ve[Se++])>=0))throw Error("Invalid block size");if(gn===0)break;Se+=gn}break;case 249:if(Ve[Se++]!==4||Ve[Se+4]!==0)throw new Error("Invalid graphics extension block.");var nr=Ve[Se++];mr=Ve[Se++]|Ve[Se++]<<8,Or=Ve[Se++],(1&nr)==0&&(Or=null),jt=nr>>2&7,Se++;break;case 254:for(;;){if(!((gn=Ve[Se++])>=0))throw Error("Invalid block size");if(gn===0)break;Se+=gn}break;default:throw new Error("Unknown graphic control label: 0x"+Ve[Se-1].toString(16))}break;case 44:var Xr=Ve[Se++]|Ve[Se++]<<8,Br=Ve[Se++]|Ve[Se++]<<8,yr=Ve[Se++]|Ve[Se++]<<8,xn=Ve[Se++]|Ve[Se++]<<8,Bn=Ve[Se++],ii=Bn>>6&1,oi=1<<(7&Bn)+1,ei=At,ui=st,Fn=!1;Bn>>7&&(Fn=!0,ei=Se,ui=oi,Se+=3*oi);var Si=Se;for(Se++;;){var gn;if(!((gn=Ve[Se++])>=0))throw Error("Invalid block size");if(gn===0)break;Se+=gn}wr.push({x:Xr,y:Br,width:yr,height:xn,has_local_palette:Fn,palette_offset:ei,palette_size:ui,data_offset:Si,data_length:Se-Si,transparent_index:Or,interlaced:!!ii,delay:mr,disposal:jt});break;case 59:Pt=!1;break;default:throw new Error("Unknown gif block: 0x"+Ve[Se-1].toString(16))}this.numFrames=function(){return wr.length},this.loopCount=function(){return cn},this.frameInfo=function(Wr){if(Wr<0||Wr>=wr.length)throw new Error("Frame index out of range.");return wr[Wr]},this.decodeAndBlitFrameBGRA=function(Wr,En){var on=this.frameInfo(Wr),ci=on.width*on.height,ri=new Uint8Array(ci);Ft(Ve,on.data_offset,ri,ci);var bi=on.palette_offset,Gn=on.transparent_index;Gn===null&&(Gn=256);var Fi=on.width,Jn=Re-Fi,Mi=Fi,fn=4*(on.y*Re+on.x),kr=4*((on.y+on.height)*Re+on.x),yn=fn,jn=4*Jn;on.interlaced===!0&&(jn+=4*Re*7);for(var Xn=8,ti=0,di=ri.length;ti<di;++ti){var fi=ri[ti];if(Mi===0&&(Mi=Fi,(yn+=jn)>=kr&&(jn=4*Jn+4*Re*(Xn-1),yn=fn+(Fi+Jn)*(Xn<<1),Xn>>=1)),fi===Gn)yn+=4;else{var mi=Ve[bi+3*fi],Ki=Ve[bi+3*fi+1],ia=Ve[bi+3*fi+2];En[yn++]=ia,En[yn++]=Ki,En[yn++]=mi,En[yn++]=255}--Mi}},this.decodeAndBlitFrameRGBA=function(Wr,En){var on=this.frameInfo(Wr),ci=on.width*on.height,ri=new Uint8Array(ci);Ft(Ve,on.data_offset,ri,ci);var bi=on.palette_offset,Gn=on.transparent_index;Gn===null&&(Gn=256);var Fi=on.width,Jn=Re-Fi,Mi=Fi,fn=4*(on.y*Re+on.x),kr=4*((on.y+on.height)*Re+on.x),yn=fn,jn=4*Jn;on.interlaced===!0&&(jn+=4*Re*7);for(var Xn=8,ti=0,di=ri.length;ti<di;++ti){var fi=ri[ti];if(Mi===0&&(Mi=Fi,(yn+=jn)>=kr&&(jn=4*Jn+4*Re*(Xn-1),yn=fn+(Fi+Jn)*(Xn<<1),Xn>>=1)),fi===Gn)yn+=4;else{var mi=Ve[bi+3*fi],Ki=Ve[bi+3*fi+1],ia=Ve[bi+3*fi+2];En[yn++]=mi,En[yn++]=Ki,En[yn++]=ia,En[yn++]=255}--Mi}}}function Ft(Ve,Se,Re,Be){for(var We=Ve[Se++],He=1<<We,Qe=He+1,At=Qe+1,st=We+1,Pt=(1<<st)-1,wr=0,mr=0,Or=0,jt=Ve[Se++],cn=new Int32Array(4096),nr=null;;){for(;wr<16&&jt!==0;)mr|=Ve[Se++]<<wr,wr+=8,jt===1?jt=Ve[Se++]:--jt;if(wr<st)break;var Xr=mr&Pt;if(mr>>=st,wr-=st,Xr!==He){if(Xr===Qe)break;for(var Br=Xr<At?Xr:nr,yr=0,xn=Br;xn>He;)xn=cn[xn]>>8,++yr;var Bn=xn;if(Or+yr+(Br!==Xr?1:0)>Be)return void d.log("Warning, gif stream longer than expected.");Re[Or++]=Bn;var ii=Or+=yr;for(Br!==Xr&&(Re[Or++]=Bn),xn=Br;yr--;)xn=cn[xn],Re[--ii]=255&xn,xn>>=8;nr!==null&&At<4096&&(cn[At++]=nr<<8|Bn,At>=Pt+1&&st<12&&(++st,Pt=Pt<<1|1)),nr=Xr}else At=Qe+1,Pt=(1<<(st=We+1))-1,nr=null}return Or!==Be&&d.log("Warning, gif stream shorter than expected."),Re}/**
|
|
|
* @license
|
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|
|
All rights reserved.
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
met:
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
|
this list of conditions and the following disclaimer.
|
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
|
contributors may be used to endorse or promote products derived from
|
|
|
this software without specific prior written permission.
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
*/function zt(Ve){var Se,Re,Be,We,He,Qe=Math.floor,At=new Array(64),st=new Array(64),Pt=new Array(64),wr=new Array(64),mr=new Array(65535),Or=new Array(65535),jt=new Array(64),cn=new Array(64),nr=[],Xr=0,Br=7,yr=new Array(64),xn=new Array(64),Bn=new Array(64),ii=new Array(256),oi=new Array(2048),ei=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],ui=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Fn=[0,1,2,3,4,5,6,7,8,9,10,11],Si=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],gn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Wr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],En=[0,1,2,3,4,5,6,7,8,9,10,11],on=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ci=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ri(fn,kr){for(var yn=0,jn=0,Xn=new Array,ti=1;ti<=16;ti++){for(var di=1;di<=fn[ti];di++)Xn[kr[jn]]=[],Xn[kr[jn]][0]=yn,Xn[kr[jn]][1]=ti,jn++,yn++;yn*=2}return Xn}function bi(fn){for(var kr=fn[0],yn=fn[1]-1;yn>=0;)kr&1<<yn&&(Xr|=1<<Br),yn--,--Br<0&&(Xr==255?(Gn(255),Gn(0)):Gn(Xr),Br=7,Xr=0)}function Gn(fn){nr.push(fn)}function Fi(fn){Gn(fn>>8&255),Gn(255&fn)}function Jn(fn,kr,yn,jn,Xn){for(var ti,di=Xn[0],fi=Xn[240],mi=function(Pi,aa){var Kt,Yr,rn,hn,ze,Ct,or,rr,Lr,Fr,Kr=0;for(Lr=0;Lr<8;++Lr){Kt=Pi[Kr],Yr=Pi[Kr+1],rn=Pi[Kr+2],hn=Pi[Kr+3],ze=Pi[Kr+4],Ct=Pi[Kr+5],or=Pi[Kr+6];var nn=Kt+(rr=Pi[Kr+7]),wn=Kt-rr,In=Yr+or,Rn=Yr-or,Dn=rn+Ct,bn=rn-Ct,Sn=hn+ze,_n=hn-ze,Kn=nn+Sn,Yn=nn-Sn,Zn=In+Dn,yi=In-Dn;Pi[Kr]=Kn+Zn,Pi[Kr+4]=Kn-Zn;var gi=.707106781*(yi+Yn);Pi[Kr+2]=Yn+gi,Pi[Kr+6]=Yn-gi;var Ni=.382683433*((Kn=_n+bn)-(yi=Rn+wn)),ki=.5411961*Kn+Ni,xi=1.306562965*yi+Ni,_i=.707106781*(Zn=bn+Rn),Li=wn+_i,Hn=wn-_i;Pi[Kr+5]=Hn+ki,Pi[Kr+3]=Hn-ki,Pi[Kr+1]=Li+xi,Pi[Kr+7]=Li-xi,Kr+=8}for(Kr=0,Lr=0;Lr<8;++Lr){Kt=Pi[Kr],Yr=Pi[Kr+8],rn=Pi[Kr+16],hn=Pi[Kr+24],ze=Pi[Kr+32],Ct=Pi[Kr+40],or=Pi[Kr+48];var Ci=Kt+(rr=Pi[Kr+56]),Hi=Kt-rr,pr=Yr+or,Rr=Yr-or,Qr=rn+Ct,Nr=rn-Ct,Xt=hn+ze,xr=hn-ze,er=Ci+Xt,jr=Ci-Xt,Ur=pr+Qr,pn=pr-Qr;Pi[Kr]=er+Ur,Pi[Kr+32]=er-Ur;var sn=.707106781*(pn+jr);Pi[Kr+16]=jr+sn,Pi[Kr+48]=jr-sn;var vn=.382683433*((er=xr+Nr)-(pn=Rr+Hi)),Un=.5411961*er+vn,Qn=1.306562965*pn+vn,$n=.707106781*(Ur=Nr+Rr),wi=Hi+$n,ra=Hi-$n;Pi[Kr+40]=ra+Un,Pi[Kr+24]=ra-Un,Pi[Kr+8]=wi+Qn,Pi[Kr+56]=wi-Qn,Kr++}for(Lr=0;Lr<64;++Lr)Fr=Pi[Lr]*aa[Lr],jt[Lr]=Fr>0?Fr+.5|0:Fr-.5|0;return jt}(fn,kr),Ki=0;Ki<64;++Ki)cn[ei[Ki]]=mi[Ki];var ia=cn[0]-yn;yn=cn[0],ia==0?bi(jn[0]):(bi(jn[Or[ti=32767+ia]]),bi(mr[ti]));for(var qi=63;qi>0&&cn[qi]==0;)qi--;if(qi==0)return bi(di),yn;for(var Ra,pi=1;pi<=qi;){for(var ln=pi;cn[pi]==0&&pi<=qi;)++pi;var Oi=pi-ln;if(Oi>=16){Ra=Oi>>4;for(var Ji=1;Ji<=Ra;++Ji)bi(fi);Oi&=15}ti=32767+cn[pi],bi(Xn[(Oi<<4)+Or[ti]]),bi(mr[ti]),pi++}return qi!=63&&bi(di),yn}function Mi(fn){(fn=Math.min(Math.max(fn,1),100),He!=fn)&&(!function(kr){for(var yn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],jn=0;jn<64;jn++){var Xn=Qe((yn[jn]*kr+50)/100);Xn=Math.min(Math.max(Xn,1),255),At[ei[jn]]=Xn}for(var ti=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],di=0;di<64;di++){var fi=Qe((ti[di]*kr+50)/100);fi=Math.min(Math.max(fi,1),255),st[ei[di]]=fi}for(var mi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ki=0,ia=0;ia<8;ia++)for(var qi=0;qi<8;qi++)Pt[Ki]=1/(At[ei[Ki]]*mi[ia]*mi[qi]*8),wr[Ki]=1/(st[ei[Ki]]*mi[ia]*mi[qi]*8),Ki++}(fn<50?Math.floor(5e3/fn):Math.floor(200-2*fn)),He=fn)}this.encode=function(fn,kr){kr&&Mi(kr),nr=new Array,Xr=0,Br=7,Fi(65496),Fi(65504),Fi(16),Gn(74),Gn(70),Gn(73),Gn(70),Gn(0),Gn(1),Gn(1),Gn(0),Fi(1),Fi(1),Gn(0),Gn(0),function(){Fi(65499),Fi(132),Gn(0);for(var Yr=0;Yr<64;Yr++)Gn(At[Yr]);Gn(1);for(var rn=0;rn<64;rn++)Gn(st[rn])}(),function(Yr,rn){Fi(65472),Fi(17),Gn(8),Fi(rn),Fi(Yr),Gn(3),Gn(1),Gn(17),Gn(0),Gn(2),Gn(17),Gn(1),Gn(3),Gn(17),Gn(1)}(fn.width,fn.height),function(){Fi(65476),Fi(418),Gn(0);for(var Yr=0;Yr<16;Yr++)Gn(ui[Yr+1]);for(var rn=0;rn<=11;rn++)Gn(Fn[rn]);Gn(16);for(var hn=0;hn<16;hn++)Gn(Si[hn+1]);for(var ze=0;ze<=161;ze++)Gn(gn[ze]);Gn(1);for(var Ct=0;Ct<16;Ct++)Gn(Wr[Ct+1]);for(var or=0;or<=11;or++)Gn(En[or]);Gn(17);for(var rr=0;rr<16;rr++)Gn(on[rr+1]);for(var Lr=0;Lr<=161;Lr++)Gn(ci[Lr])}(),Fi(65498),Fi(12),Gn(3),Gn(1),Gn(0),Gn(2),Gn(17),Gn(3),Gn(17),Gn(0),Gn(63),Gn(0);var yn=0,jn=0,Xn=0;Xr=0,Br=7,this.encode.displayName="_encode_";for(var ti,di,fi,mi,Ki,ia,qi,Ra,pi,ln=fn.data,Oi=fn.width,Ji=fn.height,Pi=4*Oi,aa=0;aa<Ji;){for(ti=0;ti<Pi;){for(Ki=Pi*aa+ti,qi=-1,Ra=0,pi=0;pi<64;pi++)ia=Ki+(Ra=pi>>3)*Pi+(qi=4*(7&pi)),aa+Ra>=Ji&&(ia-=Pi*(aa+1+Ra-Ji)),ti+qi>=Pi&&(ia-=ti+qi-Pi+4),di=ln[ia++],fi=ln[ia++],mi=ln[ia++],yr[pi]=(oi[di]+oi[fi+256>>0]+oi[mi+512>>0]>>16)-128,xn[pi]=(oi[di+768>>0]+oi[fi+1024>>0]+oi[mi+1280>>0]>>16)-128,Bn[pi]=(oi[di+1280>>0]+oi[fi+1536>>0]+oi[mi+1792>>0]>>16)-128;yn=Jn(yr,Pt,yn,Se,Be),jn=Jn(xn,wr,jn,Re,We),Xn=Jn(Bn,wr,Xn,Re,We),ti+=32}aa+=8}if(Br>=0){var Kt=[];Kt[1]=Br+1,Kt[0]=(1<<Br+1)-1,bi(Kt)}return Fi(65497),new Uint8Array(nr)},Ve=Ve||50,function(){for(var fn=String.fromCharCode,kr=0;kr<256;kr++)ii[kr]=fn(kr)}(),Se=ri(ui,Fn),Re=ri(Wr,En),Be=ri(Si,gn),We=ri(on,ci),function(){for(var fn=1,kr=2,yn=1;yn<=15;yn++){for(var jn=fn;jn<kr;jn++)Or[32767+jn]=yn,mr[32767+jn]=[],mr[32767+jn][1]=yn,mr[32767+jn][0]=jn;for(var Xn=-(kr-1);Xn<=-fn;Xn++)Or[32767+Xn]=yn,mr[32767+Xn]=[],mr[32767+Xn][1]=yn,mr[32767+Xn][0]=kr-1+Xn;fn<<=1,kr<<=1}}(),function(){for(var fn=0;fn<256;fn++)oi[fn]=19595*fn,oi[fn+256>>0]=38470*fn,oi[fn+512>>0]=7471*fn+32768,oi[fn+768>>0]=-11059*fn,oi[fn+1024>>0]=-21709*fn,oi[fn+1280>>0]=32768*fn+8421375,oi[fn+1536>>0]=-27439*fn,oi[fn+1792>>0]=-5329*fn}(),Mi(Ve)}/**
|
|
|
* @license
|
|
|
* Copyright (c) 2017 Aras Abbasi
|
|
|
*
|
|
|
* Licensed under the MIT License.
|
|
|
* http://opensource.org/licenses/mit-license
|
|
|
*/function Dr(Ve,Se){if(this.pos=0,this.buffer=Ve,this.datav=new DataView(Ve.buffer),this.is_with_alpha=!!Se,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Pr(Ve){function Se(ui){if(!ui)throw Error("assert :P")}function Re(ui,Fn,Si){for(var gn=0;4>gn;gn++)if(ui[Fn+gn]!=Si.charCodeAt(gn))return!0;return!1}function Be(ui,Fn,Si,gn,Wr){for(var En=0;En<Wr;En++)ui[Fn+En]=Si[gn+En]}function We(ui,Fn,Si,gn){for(var Wr=0;Wr<gn;Wr++)ui[Fn+Wr]=Si}function He(ui){return new Int32Array(ui)}function Qe(ui,Fn){for(var Si=[],gn=0;gn<ui;gn++)Si.push(new Fn);return Si}function At(ui,Fn){var Si=[];return function gn(Wr,En,on){for(var ci=on[En],ri=0;ri<ci&&(Wr.push(on.length>En+1?[]:new Fn),!(on.length<En+1));ri++)gn(Wr[ri],En+1,on)}(Si,0,ui),Si}var st=function(){var Fn=this;function Si(fe,Pe){for(var ut=1<<Pe-1>>>0;fe&ut;)ut>>>=1;return ut?(fe&ut-1)+ut:fe}function gn(fe,Pe,ut,Ut,dr){Se(!(Ut%ut));do fe[Pe+(Ut-=ut)]=dr;while(0<Ut)}function Wr(fe,Pe,ut,Ut,dr){if(Se(2328>=dr),512>=dr)var _r=He(512);else if((_r=He(dr))==null)return 0;return function(Ce,Q,ve,je,it,St){var _t,It,Ar=Q,Tr=1<<ve,hr=He(16),sr=He(16);for(Se(it!=0),Se(je!=null),Se(Ce!=null),Se(0<ve),It=0;It<it;++It){if(15<je[It])return 0;++hr[je[It]]}if(hr[0]==it)return 0;for(sr[1]=0,_t=1;15>_t;++_t){if(hr[_t]>1<<_t)return 0;sr[_t+1]=sr[_t]+hr[_t]}for(It=0;It<it;++It)_t=je[It],0<je[It]&&(St[sr[_t]++]=It);if(sr[15]==1)return(je=new En).g=0,je.value=St[0],gn(Ce,Ar,1,Tr,je),Tr;var Cr,Mr=-1,an=Tr-1,Pn=0,ni=1,Ii=1,hi=1<<ve;for(It=0,_t=1,it=2;_t<=ve;++_t,it<<=1){if(ni+=Ii<<=1,0>(Ii-=hr[_t]))return 0;for(;0<hr[_t];--hr[_t])(je=new En).g=_t,je.value=St[It++],gn(Ce,Ar+Pn,it,hi,je),Pn=Si(Pn,_t)}for(_t=ve+1,it=2;15>=_t;++_t,it<<=1){if(ni+=Ii<<=1,0>(Ii-=hr[_t]))return 0;for(;0<hr[_t];--hr[_t]){if(je=new En,(Pn&an)!=Mr){for(Ar+=hi,Cr=1<<(Mr=_t)-ve;15>Mr&&!(0>=(Cr-=hr[Mr]));)++Mr,Cr<<=1;Tr+=hi=1<<(Cr=Mr-ve),Ce[Q+(Mr=Pn&an)].g=Cr+ve,Ce[Q+Mr].value=Ar-Q-Mr}je.g=_t-ve,je.value=St[It++],gn(Ce,Ar+(Pn>>ve),it,hi,je),Pn=Si(Pn,_t)}}return ni!=2*sr[15]-1?0:Tr}(fe,Pe,ut,Ut,dr,_r)}function En(){this.value=this.g=0}function on(){this.value=this.g=0}function ci(){this.G=Qe(5,En),this.H=He(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Qe(wo,on)}function ri(fe,Pe,ut,Ut){Se(fe!=null),Se(Pe!=null),Se(2147483648>Ut),fe.Ca=254,fe.I=0,fe.b=-8,fe.Ka=0,fe.oa=Pe,fe.pa=ut,fe.Jd=Pe,fe.Yc=ut+Ut,fe.Zc=4<=Ut?ut+Ut-4+1:ut,di(fe)}function bi(fe,Pe){for(var ut=0;0<Pe--;)ut|=mi(fe,128)<<Pe;return ut}function Gn(fe,Pe){var ut=bi(fe,Pe);return fi(fe)?-ut:ut}function Fi(fe,Pe,ut,Ut){var dr,_r=0;for(Se(fe!=null),Se(Pe!=null),Se(4294967288>Ut),fe.Sb=Ut,fe.Ra=0,fe.u=0,fe.h=0,4<Ut&&(Ut=4),dr=0;dr<Ut;++dr)_r+=Pe[ut+dr]<<8*dr;fe.Ra=_r,fe.bb=Ut,fe.oa=Pe,fe.pa=ut}function Jn(fe){for(;8<=fe.u&&fe.bb<fe.Sb;)fe.Ra>>>=8,fe.Ra+=fe.oa[fe.pa+fe.bb]<<Io-8>>>0,++fe.bb,fe.u-=8;jn(fe)&&(fe.h=1,fe.u=0)}function Mi(fe,Pe){if(Se(0<=Pe),!fe.h&&Pe<=No){var ut=yn(fe)&ts[Pe];return fe.u+=Pe,Jn(fe),ut}return fe.h=1,fe.u=0}function fn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function kr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function yn(fe){return fe.Ra>>>(fe.u&Io-1)>>>0}function jn(fe){return Se(fe.bb<=fe.Sb),fe.h||fe.bb==fe.Sb&&fe.u>Io}function Xn(fe,Pe){fe.u=Pe,fe.h=jn(fe)}function ti(fe){fe.u>=Ko&&(Se(fe.u>=Ko),Jn(fe))}function di(fe){Se(fe!=null&&fe.oa!=null),fe.pa<fe.Zc?(fe.I=(fe.oa[fe.pa++]|fe.I<<8)>>>0,fe.b+=8):(Se(fe!=null&&fe.oa!=null),fe.pa<fe.Yc?(fe.b+=8,fe.I=fe.oa[fe.pa++]|fe.I<<8):fe.Ka?fe.b=0:(fe.I<<=8,fe.b+=8,fe.Ka=1))}function fi(fe){return bi(fe,1)}function mi(fe,Pe){var ut=fe.Ca;0>fe.b&&di(fe);var Ut=fe.b,dr=ut*Pe>>>8,_r=(fe.I>>>Ut>dr)+0;for(_r?(ut-=dr,fe.I-=dr+1<<Ut>>>0):ut=dr+1,Ut=ut,dr=0;256<=Ut;)dr+=8,Ut>>=8;return Ut=7^dr+bs[Ut],fe.b-=Ut,fe.Ca=(ut<<Ut)-1,_r}function Ki(fe,Pe,ut){fe[Pe+0]=ut>>24&255,fe[Pe+1]=ut>>16&255,fe[Pe+2]=ut>>8&255,fe[Pe+3]=ut>>0&255}function ia(fe,Pe){return fe[Pe+0]<<0|fe[Pe+1]<<8}function qi(fe,Pe){return ia(fe,Pe)|fe[Pe+2]<<16}function Ra(fe,Pe){return ia(fe,Pe)|ia(fe,Pe+2)<<16}function pi(fe,Pe){var ut=1<<Pe;return Se(fe!=null),Se(0<Pe),fe.X=He(ut),fe.X==null?0:(fe.Mb=32-Pe,fe.Xa=Pe,1)}function ln(fe,Pe){Se(fe!=null),Se(Pe!=null),Se(fe.Xa==Pe.Xa),Be(Pe.X,0,fe.X,0,1<<Pe.Xa)}function Oi(){this.X=[],this.Xa=this.Mb=0}function Ji(fe,Pe,ut,Ut){Se(ut!=null),Se(Ut!=null);var dr=ut[0],_r=Ut[0];return dr==0&&(dr=(fe*_r+Pe/2)/Pe),_r==0&&(_r=(Pe*dr+fe/2)/fe),0>=dr||0>=_r?0:(ut[0]=dr,Ut[0]=_r,1)}function Pi(fe,Pe){return fe+(1<<Pe)-1>>>Pe}function aa(fe,Pe){return((4278255360&fe)+(4278255360&Pe)>>>0&4278255360)+((16711935&fe)+(16711935&Pe)>>>0&16711935)>>>0}function Kt(fe,Pe){Fn[Pe]=function(ut,Ut,dr,_r,Ce,Q,ve){var je;for(je=0;je<Ce;++je){var it=Fn[fe](Q[ve+je-1],dr,_r+je);Q[ve+je]=aa(ut[Ut+je],it)}}}function Yr(){this.ud=this.hd=this.jd=0}function rn(fe,Pe){return((4278124286&(fe^Pe))>>>1)+(fe&Pe)>>>0}function hn(fe){return 0<=fe&&256>fe?fe:0>fe?0:255<fe?255:void 0}function ze(fe,Pe){return hn(fe+(fe-Pe+.5>>1))}function Ct(fe,Pe,ut){return Math.abs(Pe-ut)-Math.abs(fe-ut)}function or(fe,Pe,ut,Ut,dr,_r,Ce){for(Ut=_r[Ce-1],ut=0;ut<dr;++ut)_r[Ce+ut]=Ut=aa(fe[Pe+ut],Ut)}function rr(fe,Pe,ut,Ut,dr){var _r;for(_r=0;_r<ut;++_r){var Ce=fe[Pe+_r],Q=Ce>>8&255,ve=16711935&(ve=(ve=16711935&Ce)+((Q<<16)+Q));Ut[dr+_r]=(4278255360&Ce)+ve>>>0}}function Lr(fe,Pe){Pe.jd=fe>>0&255,Pe.hd=fe>>8&255,Pe.ud=fe>>16&255}function Fr(fe,Pe,ut,Ut,dr,_r){var Ce;for(Ce=0;Ce<Ut;++Ce){var Q=Pe[ut+Ce],ve=Q>>>8,je=Q,it=255&(it=(it=Q>>>16)+((fe.jd<<24>>24)*(ve<<24>>24)>>>5));je=255&(je=(je=je+((fe.hd<<24>>24)*(ve<<24>>24)>>>5))+((fe.ud<<24>>24)*(it<<24>>24)>>>5)),dr[_r+Ce]=(4278255360&Q)+(it<<16)+je}}function Kr(fe,Pe,ut,Ut,dr){Fn[Pe]=function(_r,Ce,Q,ve,je,it,St,_t,It){for(ve=St;ve<_t;++ve)for(St=0;St<It;++St)je[it++]=dr(Q[Ut(_r[Ce++])])},Fn[fe]=function(_r,Ce,Q,ve,je,it,St){var _t=8>>_r.b,It=_r.Ea,Ar=_r.K[0],Tr=_r.w;if(8>_t)for(_r=(1<<_r.b)-1,Tr=(1<<_t)-1;Ce<Q;++Ce){var hr,sr=0;for(hr=0;hr<It;++hr)hr&_r||(sr=Ut(ve[je++])),it[St++]=dr(Ar[sr&Tr]),sr>>=_t}else Fn["VP8LMapColor"+ut](ve,je,Ar,Tr,it,St,Ce,Q,It)}}function nn(fe,Pe,ut,Ut,dr){for(ut=Pe+ut;Pe<ut;){var _r=fe[Pe++];Ut[dr++]=_r>>16&255,Ut[dr++]=_r>>8&255,Ut[dr++]=_r>>0&255}}function wn(fe,Pe,ut,Ut,dr){for(ut=Pe+ut;Pe<ut;){var _r=fe[Pe++];Ut[dr++]=_r>>16&255,Ut[dr++]=_r>>8&255,Ut[dr++]=_r>>0&255,Ut[dr++]=_r>>24&255}}function In(fe,Pe,ut,Ut,dr){for(ut=Pe+ut;Pe<ut;){var _r=(Ce=fe[Pe++])>>16&240|Ce>>12&15,Ce=Ce>>0&240|Ce>>28&15;Ut[dr++]=_r,Ut[dr++]=Ce}}function Rn(fe,Pe,ut,Ut,dr){for(ut=Pe+ut;Pe<ut;){var _r=(Ce=fe[Pe++])>>16&248|Ce>>13&7,Ce=Ce>>5&224|Ce>>3&31;Ut[dr++]=_r,Ut[dr++]=Ce}}function Dn(fe,Pe,ut,Ut,dr){for(ut=Pe+ut;Pe<ut;){var _r=fe[Pe++];Ut[dr++]=_r>>0&255,Ut[dr++]=_r>>8&255,Ut[dr++]=_r>>16&255}}function bn(fe,Pe,ut,Ut,dr,_r){if(_r==0)for(ut=Pe+ut;Pe<ut;)Ki(Ut,((_r=fe[Pe++])[0]>>24|_r[1]>>8&65280|_r[2]<<8&16711680|_r[3]<<24)>>>0),dr+=32;else Be(Ut,dr,fe,Pe,ut)}function Sn(fe,Pe){Fn[Pe][0]=Fn[fe+"0"],Fn[Pe][1]=Fn[fe+"1"],Fn[Pe][2]=Fn[fe+"2"],Fn[Pe][3]=Fn[fe+"3"],Fn[Pe][4]=Fn[fe+"4"],Fn[Pe][5]=Fn[fe+"5"],Fn[Pe][6]=Fn[fe+"6"],Fn[Pe][7]=Fn[fe+"7"],Fn[Pe][8]=Fn[fe+"8"],Fn[Pe][9]=Fn[fe+"9"],Fn[Pe][10]=Fn[fe+"10"],Fn[Pe][11]=Fn[fe+"11"],Fn[Pe][12]=Fn[fe+"12"],Fn[Pe][13]=Fn[fe+"13"],Fn[Pe][14]=Fn[fe+"0"],Fn[Pe][15]=Fn[fe+"0"]}function _n(fe){return fe==Tc||fe==pl||fe==Al||fe==Wl}function Kn(){this.eb=[],this.size=this.A=this.fb=0}function Yn(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Zn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Kn,this.f.kb=new Yn,this.sd=null}function yi(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function gi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ni(fe){return alert("todo:WebPSamplerProcessPlane"),fe.T}function ki(fe,Pe){var ut=fe.T,Ut=Pe.ba.f.RGBA,dr=Ut.eb,_r=Ut.fb+fe.ka*Ut.A,Ce=ul[Pe.ba.S],Q=fe.y,ve=fe.O,je=fe.f,it=fe.N,St=fe.ea,_t=fe.W,It=Pe.cc,Ar=Pe.dc,Tr=Pe.Mc,hr=Pe.Nc,sr=fe.ka,Cr=fe.ka+fe.T,Mr=fe.U,an=Mr+1>>1;for(sr==0?Ce(Q,ve,null,null,je,it,St,_t,je,it,St,_t,dr,_r,null,null,Mr):(Ce(Pe.ec,Pe.fc,Q,ve,It,Ar,Tr,hr,je,it,St,_t,dr,_r-Ut.A,dr,_r,Mr),++ut);sr+2<Cr;sr+=2)It=je,Ar=it,Tr=St,hr=_t,it+=fe.Rc,_t+=fe.Rc,_r+=2*Ut.A,Ce(Q,(ve+=2*fe.fa)-fe.fa,Q,ve,It,Ar,Tr,hr,je,it,St,_t,dr,_r-Ut.A,dr,_r,Mr);return ve+=fe.fa,fe.j+Cr<fe.o?(Be(Pe.ec,Pe.fc,Q,ve,Mr),Be(Pe.cc,Pe.dc,je,it,an),Be(Pe.Mc,Pe.Nc,St,_t,an),ut--):1&Cr||Ce(Q,ve,null,null,je,it,St,_t,je,it,St,_t,dr,_r+Ut.A,null,null,Mr),ut}function xi(fe,Pe,ut){var Ut=fe.F,dr=[fe.J];if(Ut!=null){var _r=fe.U,Ce=Pe.ba.S,Q=Ce==Kl||Ce==Al;Pe=Pe.ba.f.RGBA;var ve=[0],je=fe.ka;ve[0]=fe.T,fe.Kb&&(je==0?--ve[0]:(--je,dr[0]-=fe.width),fe.j+fe.ka+fe.T==fe.o&&(ve[0]=fe.o-fe.j-je));var it=Pe.eb;je=Pe.fb+je*Pe.A,fe=Zs(Ut,dr[0],fe.width,_r,ve,it,je+(Q?0:3),Pe.A),Se(ut==ve),fe&&_n(Ce)&&fl(it,je,Q,_r,ve,Pe.A)}return 0}function _i(fe){var Pe=fe.ma,ut=Pe.ba.S,Ut=11>ut,dr=ut==cc||ut==ql||ut==Kl||ut==jc||ut==12||_n(ut);if(Pe.memory=null,Pe.Ib=null,Pe.Jb=null,Pe.Nd=null,!Eo(Pe.Oa,fe,dr?11:12))return 0;if(dr&&_n(ut)&&Fe(),fe.da)alert("todo:use_scaling");else{if(Ut){if(Pe.Ib=Ni,fe.Kb){if(ut=fe.U+1>>1,Pe.memory=He(fe.U+2*ut),Pe.memory==null)return 0;Pe.ec=Pe.memory,Pe.fc=0,Pe.cc=Pe.ec,Pe.dc=Pe.fc+fe.U,Pe.Mc=Pe.cc,Pe.Nc=Pe.dc+ut,Pe.Ib=ki,Fe()}}else alert("todo:EmitYUV");dr&&(Pe.Jb=xi,Ut&&he())}if(Ut&&!Kc){for(fe=0;256>fe;++fe)Wc[fe]=89858*(fe-128)+Tl>>bl,yc[fe]=-22014*(fe-128)+Tl,Dc[fe]=-45773*(fe-128),_l[fe]=113618*(fe-128)+Tl>>bl;for(fe=ic;fe<Yl;++fe)Pe=76283*(fe-16)+Tl>>bl,zc[fe-ic]=Vi(Pe,255),Rc[fe-ic]=Vi(Pe+8>>4,15);Kc=1}return 1}function Li(fe){var Pe=fe.ma,ut=fe.U,Ut=fe.T;return Se(!(1&fe.ka)),0>=ut||0>=Ut?0:(ut=Pe.Ib(fe,Pe),Pe.Jb!=null&&Pe.Jb(fe,Pe,ut),Pe.Dc+=ut,1)}function Hn(fe){fe.ma.memory=null}function Ci(fe,Pe,ut,Ut){return Mi(fe,8)!=47?0:(Pe[0]=Mi(fe,14)+1,ut[0]=Mi(fe,14)+1,Ut[0]=Mi(fe,1),Mi(fe,3)!=0?0:!fe.h)}function Hi(fe,Pe){if(4>fe)return fe+1;var ut=fe-2>>1;return(2+(1&fe)<<ut)+Mi(Pe,ut)+1}function pr(fe,Pe){return 120<Pe?Pe-120:1<=(ut=((ut=ec[Pe-1])>>4)*fe+(8-(15&ut)))?ut:1;var ut}function Rr(fe,Pe,ut){var Ut=yn(ut),dr=fe[Pe+=255&Ut].g-8;return 0<dr&&(Xn(ut,ut.u+8),Ut=yn(ut),Pe+=fe[Pe].value,Pe+=Ut&(1<<dr)-1),Xn(ut,ut.u+fe[Pe].g),fe[Pe].value}function Qr(fe,Pe,ut){return ut.g+=fe.g,ut.value+=fe.value<<Pe>>>0,Se(8>=ut.g),fe.g}function Nr(fe,Pe,ut){var Ut=fe.xc;return Se((Pe=Ut==0?0:fe.vc[fe.md*(ut>>Ut)+(Pe>>Ut)])<fe.Wb),fe.Ya[Pe]}function Xt(fe,Pe,ut,Ut){var dr=fe.ab,_r=fe.c*Pe,Ce=fe.C;Pe=Ce+Pe;var Q=ut,ve=Ut;for(Ut=fe.Ta,ut=fe.Ua;0<dr--;){var je=fe.gc[dr],it=Ce,St=Pe,_t=Q,It=ve,Ar=(ve=Ut,Q=ut,je.Ea);switch(Se(it<St),Se(St<=je.nc),je.hc){case 2:ws(_t,It,(St-it)*Ar,ve,Q);break;case 0:var Tr=it,hr=St,sr=ve,Cr=Q,Mr=(hi=je).Ea;Tr==0&&(ls(_t,It,null,null,1,sr,Cr),or(_t,It+1,0,0,Mr-1,sr,Cr+1),It+=Mr,Cr+=Mr,++Tr);for(var an=1<<hi.b,Pn=an-1,ni=Pi(Mr,hi.b),Ii=hi.K,hi=hi.w+(Tr>>hi.b)*ni;Tr<hr;){var ma=Ii,Ui=hi,_a=1;for(cs(_t,It,sr,Cr-Mr,1,sr,Cr);_a<Mr;){var Aa=(_a&~Pn)+an;Aa>Mr&&(Aa=Mr),(0,Do[ma[Ui++]>>8&15])(_t,It+ +_a,sr,Cr+_a-Mr,Aa-_a,sr,Cr+_a),_a=Aa}It+=Mr,Cr+=Mr,++Tr&Pn||(hi+=ni)}St!=je.nc&&Be(ve,Q-Ar,ve,Q+(St-it-1)*Ar,Ar);break;case 1:for(Ar=_t,hr=It,Mr=(_t=je.Ea)-(Cr=_t&~(sr=(It=1<<je.b)-1)),Tr=Pi(_t,je.b),an=je.K,je=je.w+(it>>je.b)*Tr;it<St;){for(Pn=an,ni=je,Ii=new Yr,hi=hr+Cr,ma=hr+_t;hr<hi;)Lr(Pn[ni++],Ii),is(Ii,Ar,hr,It,ve,Q),hr+=It,Q+=It;hr<ma&&(Lr(Pn[ni++],Ii),is(Ii,Ar,hr,Mr,ve,Q),hr+=Mr,Q+=Mr),++it&sr||(je+=Tr)}break;case 3:if(_t==ve&&It==Q&&0<je.b){for(hr=ve,_t=Ar=Q+(St-it)*Ar-(Cr=(St-it)*Pi(je.Ea,je.b)),It=ve,sr=Q,Tr=[],Cr=(Mr=Cr)-1;0<=Cr;--Cr)Tr[Cr]=It[sr+Cr];for(Cr=Mr-1;0<=Cr;--Cr)hr[_t+Cr]=Tr[Cr];us(je,it,St,ve,Ar,ve,Q)}else us(je,it,St,_t,It,ve,Q)}Q=Ut,ve=ut}ve!=ut&&Be(Ut,ut,Q,ve,_r)}function xr(fe,Pe){var ut=fe.V,Ut=fe.Ba+fe.c*fe.C,dr=Pe-fe.C;if(Se(Pe<=fe.l.o),Se(16>=dr),0<dr){var _r=fe.l,Ce=fe.Ta,Q=fe.Ua,ve=_r.width;if(Xt(fe,dr,ut,Ut),dr=Q=[Q],Se((ut=fe.C)<(Ut=Pe)),Se(_r.v<_r.va),Ut>_r.o&&(Ut=_r.o),ut<_r.j){var je=_r.j-ut;ut=_r.j,dr[0]+=je*ve}if(ut>=Ut?ut=0:(dr[0]+=4*_r.v,_r.ka=ut-_r.j,_r.U=_r.va-_r.v,_r.T=Ut-ut,ut=1),ut){if(Q=Q[0],11>(ut=fe.ca).S){var it=ut.f.RGBA,St=(Ut=ut.S,dr=_r.U,_r=_r.T,je=it.eb,it.A),_t=_r;for(it=it.fb+fe.Ma*it.A;0<_t--;){var It=Ce,Ar=Q,Tr=dr,hr=je,sr=it;switch(Ut){case $l:Qs(It,Ar,Tr,hr,sr);break;case cc:Ds(It,Ar,Tr,hr,sr);break;case Tc:Ds(It,Ar,Tr,hr,sr),fl(hr,sr,0,Tr,1,0);break;case uc:Fs(It,Ar,Tr,hr,sr);break;case ql:bn(It,Ar,Tr,hr,sr,1);break;case pl:bn(It,Ar,Tr,hr,sr,1),fl(hr,sr,0,Tr,1,0);break;case Kl:bn(It,Ar,Tr,hr,sr,0);break;case Al:bn(It,Ar,Tr,hr,sr,0),fl(hr,sr,1,Tr,1,0);break;case jc:Vs(It,Ar,Tr,hr,sr);break;case Wl:Vs(It,Ar,Tr,hr,sr),Ml(hr,sr,Tr,1,0);break;case dc:Xs(It,Ar,Tr,hr,sr);break;default:Se(0)}Q+=ve,it+=St}fe.Ma+=_r}else alert("todo:EmitRescaledRowsYUVA");Se(fe.Ma<=ut.height)}}fe.C=Pe,Se(fe.C<=fe.i)}function er(fe){var Pe;if(0<fe.ua)return 0;for(Pe=0;Pe<fe.Wb;++Pe){var ut=fe.Ya[Pe].G,Ut=fe.Ya[Pe].H;if(0<ut[1][Ut[1]+0].g||0<ut[2][Ut[2]+0].g||0<ut[3][Ut[3]+0].g)return 0}return 1}function jr(fe,Pe,ut,Ut,dr,_r){if(fe.Z!=0){var Ce=fe.qd,Q=fe.rd;for(Se(yl[fe.Z]!=null);Pe<ut;++Pe)yl[fe.Z](Ce,Q,Ut,dr,Ut,dr,_r),Ce=Ut,Q=dr,dr+=_r;fe.qd=Ce,fe.rd=Q}}function Ur(fe,Pe){var ut=fe.l.ma,Ut=ut.Z==0||ut.Z==1?fe.l.j:fe.C;if(Ut=fe.C<Ut?Ut:fe.C,Se(Pe<=fe.l.o),Pe>Ut){var dr=fe.l.width,_r=ut.ca,Ce=ut.tb+dr*Ut,Q=fe.V,ve=fe.Ba+fe.c*Ut,je=fe.gc;Se(fe.ab==1),Se(je[0].hc==3),dl(je[0],Ut,Pe,Q,ve,_r,Ce),jr(ut,Ut,Pe,_r,Ce,dr)}fe.C=fe.Ma=Pe}function pn(fe,Pe,ut,Ut,dr,_r,Ce){var Q=fe.$/Ut,ve=fe.$%Ut,je=fe.m,it=fe.s,St=ut+fe.$,_t=St;dr=ut+Ut*dr;var It=ut+Ut*_r,Ar=280+it.ua,Tr=fe.Pb?Q:16777216,hr=0<it.ua?it.Wa:null,sr=it.wc,Cr=St<It?Nr(it,ve,Q):null;Se(fe.C<_r),Se(It<=dr);var Mr=!1;e:for(;;){for(;Mr||St<It;){var an=0;if(Q>=Tr){var Pn=St-ut;Se((Tr=fe).Pb),Tr.wd=Tr.m,Tr.xd=Pn,0<Tr.s.ua&&ln(Tr.s.Wa,Tr.s.vb),Tr=Q+Vl}if(ve&sr||(Cr=Nr(it,ve,Q)),Se(Cr!=null),Cr.Qb&&(Pe[St]=Cr.qb,Mr=!0),!Mr)if(ti(je),Cr.jc){an=je,Pn=Pe;var ni=St,Ii=Cr.pd[yn(an)&wo-1];Se(Cr.jc),256>Ii.g?(Xn(an,an.u+Ii.g),Pn[ni]=Ii.value,an=0):(Xn(an,an.u+Ii.g-256),Se(256<=Ii.value),an=Ii.value),an==0&&(Mr=!0)}else an=Rr(Cr.G[0],Cr.H[0],je);if(je.h)break;if(Mr||256>an){if(!Mr)if(Cr.nd)Pe[St]=(Cr.qb|an<<8)>>>0;else{if(ti(je),Mr=Rr(Cr.G[1],Cr.H[1],je),ti(je),Pn=Rr(Cr.G[2],Cr.H[2],je),ni=Rr(Cr.G[3],Cr.H[3],je),je.h)break;Pe[St]=(ni<<24|Mr<<16|an<<8|Pn)>>>0}if(Mr=!1,++St,++ve>=Ut&&(ve=0,++Q,Ce!=null&&Q<=_r&&!(Q%16)&&Ce(fe,Q),hr!=null))for(;_t<St;)an=Pe[_t++],hr.X[(506832829*an&4294967295)>>>hr.Mb]=an}else if(280>an){if(an=Hi(an-256,je),Pn=Rr(Cr.G[4],Cr.H[4],je),ti(je),Pn=pr(Ut,Pn=Hi(Pn,je)),je.h)break;if(St-ut<Pn||dr-St<an)break e;for(ni=0;ni<an;++ni)Pe[St+ni]=Pe[St+ni-Pn];for(St+=an,ve+=an;ve>=Ut;)ve-=Ut,++Q,Ce!=null&&Q<=_r&&!(Q%16)&&Ce(fe,Q);if(Se(St<=dr),ve&sr&&(Cr=Nr(it,ve,Q)),hr!=null)for(;_t<St;)an=Pe[_t++],hr.X[(506832829*an&4294967295)>>>hr.Mb]=an}else{if(!(an<Ar))break e;for(Mr=an-280,Se(hr!=null);_t<St;)an=Pe[_t++],hr.X[(506832829*an&4294967295)>>>hr.Mb]=an;an=St,Se(!(Mr>>>(Pn=hr).Xa)),Pe[an]=Pn.X[Mr],Mr=!0}Mr||Se(je.h==jn(je))}if(fe.Pb&&je.h&&St<dr)Se(fe.m.h),fe.a=5,fe.m=fe.wd,fe.$=fe.xd,0<fe.s.ua&&ln(fe.s.vb,fe.s.Wa);else{if(je.h)break e;Ce!=null&&Ce(fe,Q>_r?_r:Q),fe.a=0,fe.$=St-ut}return 1}return fe.a=3,0}function sn(fe){Se(fe!=null),fe.vc=null,fe.yc=null,fe.Ya=null;var Pe=fe.Wa;Pe!=null&&(Pe.X=null),fe.vb=null,Se(fe!=null)}function vn(){var fe=new Ws;return fe==null?null:(fe.a=0,fe.xb=mc,Sn("Predictor","VP8LPredictors"),Sn("Predictor","VP8LPredictors_C"),Sn("PredictorAdd","VP8LPredictorsAdd"),Sn("PredictorAdd","VP8LPredictorsAdd_C"),ws=rr,is=Fr,Qs=nn,Ds=wn,Vs=In,Xs=Rn,Fs=Dn,Fn.VP8LMapColor32b=Ys,Fn.VP8LMapColor8b=gs,fe)}function Un(fe,Pe,ut,Ut,dr){var _r=1,Ce=[fe],Q=[Pe],ve=Ut.m,je=Ut.s,it=null,St=0;e:for(;;){if(ut)for(;_r&&Mi(ve,1);){var _t=Ce,It=Q,Ar=Ut,Tr=1,hr=Ar.m,sr=Ar.gc[Ar.ab],Cr=Mi(hr,2);if(Ar.Oc&1<<Cr)_r=0;else{switch(Ar.Oc|=1<<Cr,sr.hc=Cr,sr.Ea=_t[0],sr.nc=It[0],sr.K=[null],++Ar.ab,Se(4>=Ar.ab),Cr){case 0:case 1:sr.b=Mi(hr,3)+2,Tr=Un(Pi(sr.Ea,sr.b),Pi(sr.nc,sr.b),0,Ar,sr.K),sr.K=sr.K[0];break;case 3:var Mr,an=Mi(hr,8)+1,Pn=16<an?0:4<an?1:2<an?2:3;if(_t[0]=Pi(sr.Ea,Pn),sr.b=Pn,Mr=Tr=Un(an,1,0,Ar,sr.K)){var ni,Ii=an,hi=sr,ma=1<<(8>>hi.b),Ui=He(ma);if(Ui==null)Mr=0;else{var _a=hi.K[0],Aa=hi.w;for(Ui[0]=hi.K[0][0],ni=1;ni<1*Ii;++ni)Ui[ni]=aa(_a[Aa+ni],Ui[ni-1]);for(;ni<4*ma;++ni)Ui[ni]=0;hi.K[0]=null,hi.K[0]=Ui,Mr=1}}Tr=Mr;break;case 2:break;default:Se(0)}_r=Tr}}if(Ce=Ce[0],Q=Q[0],_r&&Mi(ve,1)&&!(_r=1<=(St=Mi(ve,4))&&11>=St)){Ut.a=3;break e}var Va;if(Va=_r)t:{var mo,O,D,Y=Ut,Z=Ce,te=Q,De=St,ht=ut,Et=Y.m,Yt=Y.s,qt=[null],qr=1,dn=0,Mn=_c[De];r:for(;;){if(ht&&Mi(Et,1)){var kn=Mi(Et,3)+2,Ai=Pi(Z,kn),ji=Pi(te,kn),Qi=Ai*ji;if(!Un(Ai,ji,0,Y,qt))break r;for(qt=qt[0],Yt.xc=kn,mo=0;mo<Qi;++mo){var Yi=qt[mo]>>8&65535;qt[mo]=Yi,Yi>=qr&&(qr=Yi+1)}}if(Et.h)break r;for(O=0;5>O;++O){var Xi=Hs[O];!O&&0<De&&(Xi+=1<<De),dn<Xi&&(dn=Xi)}var pa=Qe(qr*Mn,En),ya=qr,qa=Qe(ya,ci);if(qa==null)var ja=null;else Se(65536>=ya),ja=qa;var vo=He(dn);if(ja==null||vo==null||pa==null){Y.a=1;break r}var Wo=pa;for(mo=D=0;mo<qr;++mo){var ta=ja[mo],ko=ta.G,Ts=ta.H,fs=0,_s=1,xo=0;for(O=0;5>O;++O){Xi=Hs[O],ko[O]=Wo,Ts[O]=D,!O&&0<De&&(Xi+=1<<De);i:{var To,xs=Xi,Is=Y,rs=vo,ol=Wo,kl=D,Ol=0,Os=Is.m,wl=Mi(Os,1);if(We(rs,0,0,xs),wl){var zs=Mi(Os,1)+1,Vc=Mi(Os,1),Ll=Mi(Os,Vc==0?1:8);rs[Ll]=1,zs==2&&(rs[Ll=Mi(Os,8)]=1);var Sl=1}else{var Ul=He(19),$s=Mi(Os,4)+4;if(19<$s){Is.a=3;var Nl=0;break i}for(To=0;To<$s;++To)Ul[vl[To]]=Mi(Os,3);var Bc=void 0,Xc=void 0,vu=Is,xu=Ul,lu=xs,eu=rs,gl=0,oc=vu.m,tu=8,yu=Qe(128,En);n:for(;Wr(yu,0,7,xu,19);){if(Mi(oc,1)){var Eu=2+2*Mi(oc,3);if((Bc=2+Mi(oc,Eu))>lu)break n}else Bc=lu;for(Xc=0;Xc<lu&&Bc--;){ti(oc);var cu=yu[0+(127&yn(oc))];Xn(oc,oc.u+cu.g);var jl=cu.value;if(16>jl)eu[Xc++]=jl,jl!=0&&(tu=jl);else{var uu=jl==16,bu=jl-16,Gc=ml[bu],wu=Mi(oc,Fl[bu])+Gc;if(Xc+wu>lu)break n;for(var Cu=uu?tu:0;0<wu--;)eu[Xc++]=Cu}}gl=1;break n}gl||(vu.a=3),Sl=gl}(Sl=Sl&&!Os.h)&&(Ol=Wr(ol,kl,8,rs,xs)),Sl&&Ol!=0?Nl=Ol:(Is.a=3,Nl=0)}if(Nl==0)break r;if(_s&&zl[O]==1&&(_s=Wo[D].g==0),fs+=Wo[D].g,D+=Nl,3>=O){var Yc,fu=vo[0];for(Yc=1;Yc<Xi;++Yc)vo[Yc]>fu&&(fu=vo[Yc]);xo+=fu}}if(ta.nd=_s,ta.Qb=0,_s&&(ta.qb=(ko[3][Ts[3]+0].value<<24|ko[1][Ts[1]+0].value<<16|ko[2][Ts[2]+0].value)>>>0,fs==0&&256>ko[0][Ts[0]+0].value&&(ta.Qb=1,ta.qb+=ko[0][Ts[0]+0].value<<8)),ta.jc=!ta.Qb&&6>xo,ta.jc){var ru,sc=ta;for(ru=0;ru<wo;++ru){var bc=ru,wc=sc.pd[bc],du=sc.G[0][sc.H[0]+bc];256<=du.value?(wc.g=du.g+256,wc.value=du.value):(wc.g=0,wc.value=0,bc>>=Qr(du,8,wc),bc>>=Qr(sc.G[1][sc.H[1]+bc],16,wc),bc>>=Qr(sc.G[2][sc.H[2]+bc],0,wc),Qr(sc.G[3][sc.H[3]+bc],24,wc))}}}Yt.vc=qt,Yt.Wb=qr,Yt.Ya=ja,Yt.yc=pa,Va=1;break t}Va=0}if(!(_r=Va)){Ut.a=3;break e}if(0<St){if(je.ua=1<<St,!pi(je.Wa,St)){Ut.a=1,_r=0;break e}}else je.ua=0;var pu=Ut,Su=Ce,Tu=Q,mu=pu.s,gu=mu.xc;if(pu.c=Su,pu.i=Tu,mu.md=Pi(Su,gu),mu.wc=gu==0?-1:(1<<gu)-1,ut){Ut.xb=tc;break e}if((it=He(Ce*Q))==null){Ut.a=1,_r=0;break e}_r=(_r=pn(Ut,it,0,Ce,Q,Q,null))&&!ve.h;break e}return _r?(dr!=null?dr[0]=it:(Se(it==null),Se(ut)),Ut.$=0,ut||sn(je)):sn(je),_r}function Qn(fe,Pe){var ut=fe.c*fe.i,Ut=ut+Pe+16*Pe;return Se(fe.c<=Pe),fe.V=He(Ut),fe.V==null?(fe.Ta=null,fe.Ua=0,fe.a=1,0):(fe.Ta=fe.V,fe.Ua=fe.Ba+ut+Pe,1)}function $n(fe,Pe){var ut=fe.C,Ut=Pe-ut,dr=fe.V,_r=fe.Ba+fe.c*ut;for(Se(Pe<=fe.l.o);0<Ut;){var Ce=16<Ut?16:Ut,Q=fe.l.ma,ve=fe.l.width,je=ve*Ce,it=Q.ca,St=Q.tb+ve*ut,_t=fe.Ta,It=fe.Ua;Xt(fe,Ce,dr,_r),xl(_t,It,it,St,je),jr(Q,ut,ut+Ce,it,St,ve),Ut-=Ce,dr+=Ce*fe.c,ut+=Ce}Se(ut==Pe),fe.C=fe.Ma=Pe}function wi(){this.ub=this.yd=this.td=this.Rb=0}function ra(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ua(){this.Fb=this.Bb=this.Cb=0,this.Zb=He(4),this.Lb=He(4)}function da(){this.Yb=function(){var fe=[];return function Pe(ut,Ut,dr){for(var _r=dr[Ut],Ce=0;Ce<_r&&(ut.push(dr.length>Ut+1?[]:0),!(dr.length<Ut+1));Ce++)Pe(ut[Ce],Ut+1,dr)}(fe,0,[3,11]),fe}()}function sa(){this.jb=He(3),this.Wc=At([4,8],da),this.Xc=At([4,17],da)}function fa(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new He(4),this.od=new He(4)}function Wi(){this.ld=this.La=this.dd=this.tc=0}function Di(){this.Na=this.la=0}function na(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Zi(){this.ad=He(384),this.Za=0,this.Ob=He(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ba(){this.uc=this.M=this.Nb=0,this.wa=Array(new Wi),this.Y=0,this.ya=Array(new Zi),this.aa=0,this.l=new La}function Ta(){this.y=He(16),this.f=He(8),this.ea=He(8)}function $i(){this.cb=this.a=0,this.sc="",this.m=new fn,this.Od=new wi,this.Kc=new ra,this.ed=new fa,this.Qa=new ua,this.Ic=this.$c=this.Aa=0,this.D=new ba,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Qe(8,fn),this.ia=0,this.pb=Qe(4,na),this.Pa=new sa,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ta),this.Hd=0,this.rb=Array(new Di),this.sb=0,this.wa=Array(new Wi),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Zi),this.L=this.aa=0,this.gd=At([4,2],Wi),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Vi(fe,Pe){return 0>fe?0:fe>Pe?Pe:fe}function La(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ga(){var fe=new $i;return fe!=null&&(fe.a=0,fe.sc="OK",fe.cb=0,fe.Xb=0,Pl||(Pl=Na)),fe}function Ti(fe,Pe,ut){return fe.a==0&&(fe.a=Pe,fe.sc=ut,fe.cb=0),0}function Ea(fe,Pe,ut){return 3<=ut&&fe[Pe+0]==157&&fe[Pe+1]==1&&fe[Pe+2]==42}function Da(fe,Pe){if(fe==null)return 0;if(fe.a=0,fe.sc="OK",Pe==null)return Ti(fe,2,"null VP8Io passed to VP8GetHeaders()");var ut=Pe.data,Ut=Pe.w,dr=Pe.ha;if(4>dr)return Ti(fe,7,"Truncated header.");var _r=ut[Ut+0]|ut[Ut+1]<<8|ut[Ut+2]<<16,Ce=fe.Od;if(Ce.Rb=!(1&_r),Ce.td=_r>>1&7,Ce.yd=_r>>4&1,Ce.ub=_r>>5,3<Ce.td)return Ti(fe,3,"Incorrect keyframe parameters.");if(!Ce.yd)return Ti(fe,4,"Frame not displayable.");Ut+=3,dr-=3;var Q=fe.Kc;if(Ce.Rb){if(7>dr)return Ti(fe,7,"cannot parse picture header");if(!Ea(ut,Ut,dr))return Ti(fe,3,"Bad code word");Q.c=16383&(ut[Ut+4]<<8|ut[Ut+3]),Q.Td=ut[Ut+4]>>6,Q.i=16383&(ut[Ut+6]<<8|ut[Ut+5]),Q.Ud=ut[Ut+6]>>6,Ut+=7,dr-=7,fe.za=Q.c+15>>4,fe.Ub=Q.i+15>>4,Pe.width=Q.c,Pe.height=Q.i,Pe.Da=0,Pe.j=0,Pe.v=0,Pe.va=Pe.width,Pe.o=Pe.height,Pe.da=0,Pe.ib=Pe.width,Pe.hb=Pe.height,Pe.U=Pe.width,Pe.T=Pe.height,We((_r=fe.Pa).jb,0,255,_r.jb.length),Se((_r=fe.Qa)!=null),_r.Cb=0,_r.Bb=0,_r.Fb=1,We(_r.Zb,0,0,_r.Zb.length),We(_r.Lb,0,0,_r.Lb)}if(Ce.ub>dr)return Ti(fe,7,"bad partition length");ri(_r=fe.m,ut,Ut,Ce.ub),Ut+=Ce.ub,dr-=Ce.ub,Ce.Rb&&(Q.Ld=fi(_r),Q.Kd=fi(_r)),Q=fe.Qa;var ve,je=fe.Pa;if(Se(_r!=null),Se(Q!=null),Q.Cb=fi(_r),Q.Cb){if(Q.Bb=fi(_r),fi(_r)){for(Q.Fb=fi(_r),ve=0;4>ve;++ve)Q.Zb[ve]=fi(_r)?Gn(_r,7):0;for(ve=0;4>ve;++ve)Q.Lb[ve]=fi(_r)?Gn(_r,6):0}if(Q.Bb)for(ve=0;3>ve;++ve)je.jb[ve]=fi(_r)?bi(_r,8):255}else Q.Bb=0;if(_r.Ka)return Ti(fe,3,"cannot parse segment header");if((Q=fe.ed).zd=fi(_r),Q.Tb=bi(_r,6),Q.wb=bi(_r,3),Q.Pc=fi(_r),Q.Pc&&fi(_r)){for(je=0;4>je;++je)fi(_r)&&(Q.vd[je]=Gn(_r,6));for(je=0;4>je;++je)fi(_r)&&(Q.od[je]=Gn(_r,6))}if(fe.L=Q.Tb==0?0:Q.zd?1:2,_r.Ka)return Ti(fe,3,"cannot parse filter header");var it=dr;if(dr=ve=Ut,Ut=ve+it,Q=it,fe.Xb=(1<<bi(fe.m,2))-1,it<3*(je=fe.Xb))ut=7;else{for(ve+=3*je,Q-=3*je,it=0;it<je;++it){var St=ut[dr+0]|ut[dr+1]<<8|ut[dr+2]<<16;St>Q&&(St=Q),ri(fe.Jc[+it],ut,ve,St),ve+=St,Q-=St,dr+=3}ri(fe.Jc[+je],ut,ve,Q),ut=ve<Ut?0:5}if(ut!=0)return Ti(fe,ut,"cannot parse partitions");for(ut=bi(ve=fe.m,7),dr=fi(ve)?Gn(ve,4):0,Ut=fi(ve)?Gn(ve,4):0,Q=fi(ve)?Gn(ve,4):0,je=fi(ve)?Gn(ve,4):0,ve=fi(ve)?Gn(ve,4):0,it=fe.Qa,St=0;4>St;++St){if(it.Cb){var _t=it.Zb[St];it.Fb||(_t+=ut)}else{if(0<St){fe.pb[St]=fe.pb[0];continue}_t=ut}var It=fe.pb[St];It.Sc[0]=Bl[Vi(_t+dr,127)],It.Sc[1]=Cl[Vi(_t+0,127)],It.Eb[0]=2*Bl[Vi(_t+Ut,127)],It.Eb[1]=101581*Cl[Vi(_t+Q,127)]>>16,8>It.Eb[1]&&(It.Eb[1]=8),It.Qc[0]=Bl[Vi(_t+je,117)],It.Qc[1]=Cl[Vi(_t+ve,127)],It.lc=_t+ve}if(!Ce.Rb)return Ti(fe,4,"Not a key frame.");for(fi(_r),Ce=fe.Pa,ut=0;4>ut;++ut){for(dr=0;8>dr;++dr)for(Ut=0;3>Ut;++Ut)for(Q=0;11>Q;++Q)je=mi(_r,pc[ut][dr][Ut][Q])?bi(_r,8):Xl[ut][dr][Ut][Q],Ce.Wc[ut][dr].Yb[Ut][Q]=je;for(dr=0;17>dr;++dr)Ce.Xc[ut][dr]=Ce.Wc[ut][Lc[dr]]}return fe.kc=fi(_r),fe.kc&&(fe.Bd=bi(_r,8)),fe.cb=1}function Na(fe,Pe,ut,Ut,dr,_r,Ce){var Q=Pe[dr].Yb[ut];for(ut=0;16>dr;++dr){if(!mi(fe,Q[ut+0]))return dr;for(;!mi(fe,Q[ut+1]);)if(Q=Pe[++dr].Yb[0],ut=0,dr==16)return 16;var ve=Pe[dr+1].Yb;if(mi(fe,Q[ut+2])){var je=fe,it=0;if(mi(je,(_t=Q)[(St=ut)+3]))if(mi(je,_t[St+6])){for(Q=0,St=2*(it=mi(je,_t[St+8]))+(_t=mi(je,_t[St+9+it])),it=0,_t=Ic[St];_t[Q];++Q)it+=it+mi(je,_t[Q]);it+=3+(8<<St)}else mi(je,_t[St+7])?(it=7+2*mi(je,165),it+=mi(je,145)):it=5+mi(je,159);else it=mi(je,_t[St+4])?3+mi(je,_t[St+5]):2;Q=ve[2]}else it=1,Q=ve[1];ve=Ce+Oc[dr],0>(je=fe).b&&di(je);var St,_t=je.b,It=(St=je.Ca>>1)-(je.I>>_t)>>31;--je.b,je.Ca+=It,je.Ca|=1,je.I-=(St+1&It)<<_t,_r[ve]=((it^It)-It)*Ut[(0<dr)+0]}return 16}function Pa(fe){var Pe=fe.rb[fe.sb-1];Pe.la=0,Pe.Na=0,We(fe.zc,0,0,fe.zc.length),fe.ja=0}function Ha(fe,Pe){if(fe==null)return 0;if(Pe==null)return Ti(fe,2,"NULL VP8Io parameter in VP8Decode().");if(!fe.cb&&!Da(fe,Pe))return 0;if(Se(fe.cb),Pe.ac==null||Pe.ac(Pe)){Pe.ob&&(fe.L=0);var ut=ac[fe.L];if(fe.L==2?(fe.yb=0,fe.zb=0):(fe.yb=Pe.v-ut>>4,fe.zb=Pe.j-ut>>4,0>fe.yb&&(fe.yb=0),0>fe.zb&&(fe.zb=0)),fe.Va=Pe.o+15+ut>>4,fe.Hb=Pe.va+15+ut>>4,fe.Hb>fe.za&&(fe.Hb=fe.za),fe.Va>fe.Ub&&(fe.Va=fe.Ub),0<fe.L){var Ut=fe.ed;for(ut=0;4>ut;++ut){var dr;if(fe.Qa.Cb){var _r=fe.Qa.Lb[ut];fe.Qa.Fb||(_r+=Ut.Tb)}else _r=Ut.Tb;for(dr=0;1>=dr;++dr){var Ce=fe.gd[ut][dr],Q=_r;if(Ut.Pc&&(Q+=Ut.vd[0],dr&&(Q+=Ut.od[0])),0<(Q=0>Q?0:63<Q?63:Q)){var ve=Q;0<Ut.wb&&(ve=4<Ut.wb?ve>>2:ve>>1)>9-Ut.wb&&(ve=9-Ut.wb),1>ve&&(ve=1),Ce.dd=ve,Ce.tc=2*Q+ve,Ce.ld=40<=Q?2:15<=Q?1:0}else Ce.tc=0;Ce.La=dr}}}ut=0}else Ti(fe,6,"Frame setup failed"),ut=fe.a;if(ut=ut==0){if(ut){fe.$c=0,0<fe.Aa||(fe.Ic=Il);e:{ut=fe.Ic,Ut=4*(ve=fe.za);var je=32*ve,it=ve+1,St=0<fe.L?ve*(0<fe.Aa?2:1):0,_t=(fe.Aa==2?2:1)*ve;if((Ce=Ut+832+(dr=3*(16*ut+ac[fe.L])/2*je)+(_r=fe.Fa!=null&&0<fe.Fa.length?fe.Kc.c*fe.Kc.i:0))!=Ce)ut=0;else{if(Ce>fe.Vb){if(fe.Vb=0,fe.Ec=He(Ce),fe.Fc=0,fe.Ec==null){ut=Ti(fe,1,"no memory during frame initialization.");break e}fe.Vb=Ce}Ce=fe.Ec,Q=fe.Fc,fe.Ac=Ce,fe.Bc=Q,Q+=Ut,fe.Gd=Qe(je,Ta),fe.Hd=0,fe.rb=Qe(it+1,Di),fe.sb=1,fe.wa=St?Qe(St,Wi):null,fe.Y=0,fe.D.Nb=0,fe.D.wa=fe.wa,fe.D.Y=fe.Y,0<fe.Aa&&(fe.D.Y+=ve),Se(!0),fe.oc=Ce,fe.pc=Q,Q+=832,fe.ya=Qe(_t,Zi),fe.aa=0,fe.D.ya=fe.ya,fe.D.aa=fe.aa,fe.Aa==2&&(fe.D.aa+=ve),fe.R=16*ve,fe.B=8*ve,ve=(je=ac[fe.L])*fe.R,je=je/2*fe.B,fe.sa=Ce,fe.ta=Q+ve,fe.qa=fe.sa,fe.ra=fe.ta+16*ut*fe.R+je,fe.Ha=fe.qa,fe.Ia=fe.ra+8*ut*fe.B+je,fe.$c=0,Q+=dr,fe.mb=_r?Ce:null,fe.nb=_r?Q:null,Se(Q+_r<=fe.Fc+fe.Vb),Pa(fe),We(fe.Ac,fe.Bc,0,Ut),ut=1}}if(ut){if(Pe.ka=0,Pe.y=fe.sa,Pe.O=fe.ta,Pe.f=fe.qa,Pe.N=fe.ra,Pe.ea=fe.Ha,Pe.Vd=fe.Ia,Pe.fa=fe.R,Pe.Rc=fe.B,Pe.F=null,Pe.J=0,!Uc){for(ut=-255;255>=ut;++ut)El[255+ut]=0>ut?-ut:ut;for(ut=-1020;1020>=ut;++ut)Ec[1020+ut]=-128>ut?-128:127<ut?127:ut;for(ut=-112;112>=ut;++ut)lc[112+ut]=-16>ut?-16:15<ut?15:ut;for(ut=-255;510>=ut;++ut)Cc[255+ut]=0>ut?0:255<ut?255:ut;Uc=1}al=Ma,Js=lo,Us=Ya,Ga=Sa,ha=Ja,rl=ea,Wa=tl,oo=Ks,$o=Ao,Bs=Jo,Ss=Ps,ds=io,Po=ns,Co=ys,Zo=go,So=es,js=Ho,Hl=Go,cl[0]=Uo,cl[1]=yo,cl[2]=Ia,cl[3]=Vo,cl[4]=Xo,cl[5]=bo,cl[6]=Yo,cl[7]=Oa,cl[8]=ss,cl[9]=Fo,ll[0]=Za,ll[1]=_o,ll[2]=co,ll[3]=uo,ll[4]=Ca,ll[5]=no,ll[6]=fo,hl[0]=Qo,hl[1]=to,hl[2]=ho,hl[3]=Oo,hl[4]=Es,hl[5]=el,hl[6]=Ns,ut=1}else ut=0}ut&&(ut=function(It,Ar){for(It.M=0;It.M<It.Va;++It.M){var Tr,hr=It.Jc[It.M&It.Xb],sr=It.m,Cr=It;for(Tr=0;Tr<Cr.za;++Tr){var Mr=sr,an=Cr,Pn=an.Ac,ni=an.Bc+4*Tr,Ii=an.zc,hi=an.ya[an.aa+Tr];if(an.Qa.Bb?hi.$b=mi(Mr,an.Pa.jb[0])?2+mi(Mr,an.Pa.jb[2]):mi(Mr,an.Pa.jb[1]):hi.$b=0,an.kc&&(hi.Ad=mi(Mr,an.Bd)),hi.Za=!mi(Mr,145)+0,hi.Za){var ma=hi.Ob,Ui=0;for(an=0;4>an;++an){var _a,Aa=Ii[0+an];for(_a=0;4>_a;++_a){Aa=fc[Pn[ni+_a]][Aa];for(var Va=hc[mi(Mr,Aa[0])];0<Va;)Va=hc[2*Va+mi(Mr,Aa[Va])];Aa=-Va,Pn[ni+_a]=Aa}Be(ma,Ui,Pn,ni,4),Ui+=4,Ii[0+an]=Aa}}else Aa=mi(Mr,156)?mi(Mr,128)?1:3:mi(Mr,163)?2:0,hi.Ob[0]=Aa,We(Pn,ni,Aa,4),We(Ii,0,Aa,4);hi.Dd=mi(Mr,142)?mi(Mr,114)?mi(Mr,183)?1:3:2:0}if(Cr.m.Ka)return Ti(It,7,"Premature end-of-partition0 encountered.");for(;It.ja<It.za;++It.ja){if(Cr=hr,Mr=(sr=It).rb[sr.sb-1],Pn=sr.rb[sr.sb+sr.ja],Tr=sr.ya[sr.aa+sr.ja],ni=sr.kc?Tr.Ad:0)Mr.la=Pn.la=0,Tr.Za||(Mr.Na=Pn.Na=0),Tr.Hc=0,Tr.Gc=0,Tr.ia=0;else{var mo,O;if(Mr=Pn,Pn=Cr,ni=sr.Pa.Xc,Ii=sr.ya[sr.aa+sr.ja],hi=sr.pb[Ii.$b],an=Ii.ad,ma=0,Ui=sr.rb[sr.sb-1],Aa=_a=0,We(an,ma,0,384),Ii.Za)var D=0,Y=ni[3];else{Va=He(16);var Z=Mr.Na+Ui.Na;if(Z=Pl(Pn,ni[1],Z,hi.Eb,0,Va,0),Mr.Na=Ui.Na=(0<Z)+0,1<Z)al(Va,0,an,ma);else{var te=Va[0]+3>>3;for(Va=0;256>Va;Va+=16)an[ma+Va]=te}D=1,Y=ni[0]}var De=15&Mr.la,ht=15&Ui.la;for(Va=0;4>Va;++Va){var Et=1&ht;for(te=O=0;4>te;++te)De=De>>1|(Et=(Z=Pl(Pn,Y,Z=Et+(1&De),hi.Sc,D,an,ma))>D)<<7,O=O<<2|(3<Z?3:1<Z?2:an[ma+0]!=0),ma+=16;De>>=4,ht=ht>>1|Et<<7,_a=(_a<<8|O)>>>0}for(Y=De,D=ht>>4,mo=0;4>mo;mo+=2){for(O=0,De=Mr.la>>4+mo,ht=Ui.la>>4+mo,Va=0;2>Va;++Va){for(Et=1&ht,te=0;2>te;++te)Z=Et+(1&De),De=De>>1|(Et=0<(Z=Pl(Pn,ni[2],Z,hi.Qc,0,an,ma)))<<3,O=O<<2|(3<Z?3:1<Z?2:an[ma+0]!=0),ma+=16;De>>=2,ht=ht>>1|Et<<5}Aa|=O<<4*mo,Y|=De<<4<<mo,D|=(240&ht)<<mo}Mr.la=Y,Ui.la=D,Ii.Hc=_a,Ii.Gc=Aa,Ii.ia=43690&Aa?0:hi.ia,ni=!(_a|Aa)}if(0<sr.L&&(sr.wa[sr.Y+sr.ja]=sr.gd[Tr.$b][Tr.Za],sr.wa[sr.Y+sr.ja].La|=!ni),Cr.Ka)return Ti(It,7,"Premature end-of-file encountered.")}if(Pa(It),sr=Ar,Cr=1,Tr=(hr=It).D,Mr=0<hr.L&&hr.M>=hr.zb&&hr.M<=hr.Va,hr.Aa==0)e:{if(Tr.M=hr.M,Tr.uc=Mr,ro(hr,Tr),Cr=1,Tr=(O=hr.D).Nb,Mr=(Aa=ac[hr.L])*hr.R,Pn=Aa/2*hr.B,Va=16*Tr*hr.R,te=8*Tr*hr.B,ni=hr.sa,Ii=hr.ta-Mr+Va,hi=hr.qa,an=hr.ra-Pn+te,ma=hr.Ha,Ui=hr.Ia-Pn+te,ht=(De=O.M)==0,_a=De>=hr.Va-1,hr.Aa==2&&ro(hr,O),O.uc)for(Et=(Z=hr).D.M,Se(Z.D.uc),O=Z.yb;O<Z.Hb;++O){D=O,Y=Et;var Yt=(qt=(Xi=Z).D).Nb;mo=Xi.R;var qt=qt.wa[qt.Y+D],qr=Xi.sa,dn=Xi.ta+16*Yt*mo+16*D,Mn=qt.dd,kn=qt.tc;if(kn!=0)if(Se(3<=kn),Xi.L==1)0<D&&So(qr,dn,mo,kn+4),qt.La&&Hl(qr,dn,mo,kn),0<Y&&Zo(qr,dn,mo,kn+4),qt.La&&js(qr,dn,mo,kn);else{var Ai=Xi.B,ji=Xi.qa,Qi=Xi.ra+8*Yt*Ai+8*D,Yi=Xi.Ha,Xi=Xi.Ia+8*Yt*Ai+8*D;Yt=qt.ld,0<D&&(oo(qr,dn,mo,kn+4,Mn,Yt),Bs(ji,Qi,Yi,Xi,Ai,kn+4,Mn,Yt)),qt.La&&(ds(qr,dn,mo,kn,Mn,Yt),Co(ji,Qi,Yi,Xi,Ai,kn,Mn,Yt)),0<Y&&(Wa(qr,dn,mo,kn+4,Mn,Yt),$o(ji,Qi,Yi,Xi,Ai,kn+4,Mn,Yt)),qt.La&&(Ss(qr,dn,mo,kn,Mn,Yt),Po(ji,Qi,Yi,Xi,Ai,kn,Mn,Yt))}}if(hr.ia&&alert("todo:DitherRow"),sr.put!=null){if(O=16*De,De=16*(De+1),ht?(sr.y=hr.sa,sr.O=hr.ta+Va,sr.f=hr.qa,sr.N=hr.ra+te,sr.ea=hr.Ha,sr.W=hr.Ia+te):(O-=Aa,sr.y=ni,sr.O=Ii,sr.f=hi,sr.N=an,sr.ea=ma,sr.W=Ui),_a||(De-=Aa),De>sr.o&&(De=sr.o),sr.F=null,sr.J=null,hr.Fa!=null&&0<hr.Fa.length&&O<De&&(sr.J=Dt(hr,sr,O,De-O),sr.F=hr.mb,sr.F==null&&sr.F.length==0)){Cr=Ti(hr,3,"Could not decode alpha data.");break e}O<sr.j&&(Aa=sr.j-O,O=sr.j,Se(!(1&Aa)),sr.O+=hr.R*Aa,sr.N+=hr.B*(Aa>>1),sr.W+=hr.B*(Aa>>1),sr.F!=null&&(sr.J+=sr.width*Aa)),O<De&&(sr.O+=sr.v,sr.N+=sr.v>>1,sr.W+=sr.v>>1,sr.F!=null&&(sr.J+=sr.v),sr.ka=O-sr.j,sr.U=sr.va-sr.v,sr.T=De-O,Cr=sr.put(sr))}Tr+1!=hr.Ic||_a||(Be(hr.sa,hr.ta-Mr,ni,Ii+16*hr.R,Mr),Be(hr.qa,hr.ra-Pn,hi,an+8*hr.B,Pn),Be(hr.Ha,hr.Ia-Pn,ma,Ui+8*hr.B,Pn))}if(!Cr)return Ti(It,6,"Output aborted.")}return 1}(fe,Pe)),Pe.bc!=null&&Pe.bc(Pe),ut&=1}return ut?(fe.cb=0,ut):0}function za(fe,Pe,ut,Ut,dr){dr=fe[Pe+ut+32*Ut]+(dr>>3),fe[Pe+ut+32*Ut]=-256&dr?0>dr?0:255:dr}function wa(fe,Pe,ut,Ut,dr,_r){za(fe,Pe,0,ut,Ut+dr),za(fe,Pe,1,ut,Ut+_r),za(fe,Pe,2,ut,Ut-_r),za(fe,Pe,3,ut,Ut-dr)}function Ka(fe){return(20091*fe>>16)+fe}function ao(fe,Pe,ut,Ut){var dr,_r=0,Ce=He(16);for(dr=0;4>dr;++dr){var Q=fe[Pe+0]+fe[Pe+8],ve=fe[Pe+0]-fe[Pe+8],je=(35468*fe[Pe+4]>>16)-Ka(fe[Pe+12]),it=Ka(fe[Pe+4])+(35468*fe[Pe+12]>>16);Ce[_r+0]=Q+it,Ce[_r+1]=ve+je,Ce[_r+2]=ve-je,Ce[_r+3]=Q-it,_r+=4,Pe++}for(dr=_r=0;4>dr;++dr)Q=(fe=Ce[_r+0]+4)+Ce[_r+8],ve=fe-Ce[_r+8],je=(35468*Ce[_r+4]>>16)-Ka(Ce[_r+12]),za(ut,Ut,0,0,Q+(it=Ka(Ce[_r+4])+(35468*Ce[_r+12]>>16))),za(ut,Ut,1,0,ve+je),za(ut,Ut,2,0,ve-je),za(ut,Ut,3,0,Q-it),_r++,Ut+=32}function ea(fe,Pe,ut,Ut){var dr=fe[Pe+0]+4,_r=35468*fe[Pe+4]>>16,Ce=Ka(fe[Pe+4]),Q=35468*fe[Pe+1]>>16;wa(ut,Ut,0,dr+Ce,fe=Ka(fe[Pe+1]),Q),wa(ut,Ut,1,dr+_r,fe,Q),wa(ut,Ut,2,dr-_r,fe,Q),wa(ut,Ut,3,dr-Ce,fe,Q)}function lo(fe,Pe,ut,Ut,dr){ao(fe,Pe,ut,Ut),dr&&ao(fe,Pe+16,ut,Ut+4)}function Ya(fe,Pe,ut,Ut){Js(fe,Pe+0,ut,Ut,1),Js(fe,Pe+32,ut,Ut+128,1)}function Sa(fe,Pe,ut,Ut){var dr;for(fe=fe[Pe+0]+4,dr=0;4>dr;++dr)for(Pe=0;4>Pe;++Pe)za(ut,Ut,Pe,dr,fe)}function Ja(fe,Pe,ut,Ut){fe[Pe+0]&&Ga(fe,Pe+0,ut,Ut),fe[Pe+16]&&Ga(fe,Pe+16,ut,Ut+4),fe[Pe+32]&&Ga(fe,Pe+32,ut,Ut+128),fe[Pe+48]&&Ga(fe,Pe+48,ut,Ut+128+4)}function Ma(fe,Pe,ut,Ut){var dr,_r=He(16);for(dr=0;4>dr;++dr){var Ce=fe[Pe+0+dr]+fe[Pe+12+dr],Q=fe[Pe+4+dr]+fe[Pe+8+dr],ve=fe[Pe+4+dr]-fe[Pe+8+dr],je=fe[Pe+0+dr]-fe[Pe+12+dr];_r[0+dr]=Ce+Q,_r[8+dr]=Ce-Q,_r[4+dr]=je+ve,_r[12+dr]=je-ve}for(dr=0;4>dr;++dr)Ce=(fe=_r[0+4*dr]+3)+_r[3+4*dr],Q=_r[1+4*dr]+_r[2+4*dr],ve=_r[1+4*dr]-_r[2+4*dr],je=fe-_r[3+4*dr],ut[Ut+0]=Ce+Q>>3,ut[Ut+16]=je+ve>>3,ut[Ut+32]=Ce-Q>>3,ut[Ut+48]=je-ve>>3,Ut+=64}function ka(fe,Pe,ut){var Ut,dr=Pe-32,_r=hs,Ce=255-fe[dr-1];for(Ut=0;Ut<ut;++Ut){var Q,ve=_r,je=Ce+fe[Pe-1];for(Q=0;Q<ut;++Q)fe[Pe+Q]=ve[je+fe[dr+Q]];Pe+=32}}function yo(fe,Pe){ka(fe,Pe,4)}function to(fe,Pe){ka(fe,Pe,8)}function _o(fe,Pe){ka(fe,Pe,16)}function co(fe,Pe){var ut;for(ut=0;16>ut;++ut)Be(fe,Pe+32*ut,fe,Pe-32,16)}function uo(fe,Pe){var ut;for(ut=16;0<ut;--ut)We(fe,Pe,fe[Pe-1],16),Pe+=32}function Qa(fe,Pe,ut){var Ut;for(Ut=0;16>Ut;++Ut)We(Pe,ut+32*Ut,fe,16)}function Za(fe,Pe){var ut,Ut=16;for(ut=0;16>ut;++ut)Ut+=fe[Pe-1+32*ut]+fe[Pe+ut-32];Qa(Ut>>5,fe,Pe)}function Ca(fe,Pe){var ut,Ut=8;for(ut=0;16>ut;++ut)Ut+=fe[Pe-1+32*ut];Qa(Ut>>4,fe,Pe)}function no(fe,Pe){var ut,Ut=8;for(ut=0;16>ut;++ut)Ut+=fe[Pe+ut-32];Qa(Ut>>4,fe,Pe)}function fo(fe,Pe){Qa(128,fe,Pe)}function Bi(fe,Pe,ut){return fe+2*Pe+ut+2>>2}function Ia(fe,Pe){var ut,Ut=Pe-32;for(Ut=new Uint8Array([Bi(fe[Ut-1],fe[Ut+0],fe[Ut+1]),Bi(fe[Ut+0],fe[Ut+1],fe[Ut+2]),Bi(fe[Ut+1],fe[Ut+2],fe[Ut+3]),Bi(fe[Ut+2],fe[Ut+3],fe[Ut+4])]),ut=0;4>ut;++ut)Be(fe,Pe+32*ut,Ut,0,Ut.length)}function Vo(fe,Pe){var ut=fe[Pe-1],Ut=fe[Pe-1+32],dr=fe[Pe-1+64],_r=fe[Pe-1+96];Ki(fe,Pe+0,16843009*Bi(fe[Pe-1-32],ut,Ut)),Ki(fe,Pe+32,16843009*Bi(ut,Ut,dr)),Ki(fe,Pe+64,16843009*Bi(Ut,dr,_r)),Ki(fe,Pe+96,16843009*Bi(dr,_r,_r))}function Uo(fe,Pe){var ut,Ut=4;for(ut=0;4>ut;++ut)Ut+=fe[Pe+ut-32]+fe[Pe-1+32*ut];for(Ut>>=3,ut=0;4>ut;++ut)We(fe,Pe+32*ut,Ut,4)}function Xo(fe,Pe){var ut=fe[Pe-1+0],Ut=fe[Pe-1+32],dr=fe[Pe-1+64],_r=fe[Pe-1-32],Ce=fe[Pe+0-32],Q=fe[Pe+1-32],ve=fe[Pe+2-32],je=fe[Pe+3-32];fe[Pe+0+96]=Bi(Ut,dr,fe[Pe-1+96]),fe[Pe+1+96]=fe[Pe+0+64]=Bi(ut,Ut,dr),fe[Pe+2+96]=fe[Pe+1+64]=fe[Pe+0+32]=Bi(_r,ut,Ut),fe[Pe+3+96]=fe[Pe+2+64]=fe[Pe+1+32]=fe[Pe+0+0]=Bi(Ce,_r,ut),fe[Pe+3+64]=fe[Pe+2+32]=fe[Pe+1+0]=Bi(Q,Ce,_r),fe[Pe+3+32]=fe[Pe+2+0]=Bi(ve,Q,Ce),fe[Pe+3+0]=Bi(je,ve,Q)}function Yo(fe,Pe){var ut=fe[Pe+1-32],Ut=fe[Pe+2-32],dr=fe[Pe+3-32],_r=fe[Pe+4-32],Ce=fe[Pe+5-32],Q=fe[Pe+6-32],ve=fe[Pe+7-32];fe[Pe+0+0]=Bi(fe[Pe+0-32],ut,Ut),fe[Pe+1+0]=fe[Pe+0+32]=Bi(ut,Ut,dr),fe[Pe+2+0]=fe[Pe+1+32]=fe[Pe+0+64]=Bi(Ut,dr,_r),fe[Pe+3+0]=fe[Pe+2+32]=fe[Pe+1+64]=fe[Pe+0+96]=Bi(dr,_r,Ce),fe[Pe+3+32]=fe[Pe+2+64]=fe[Pe+1+96]=Bi(_r,Ce,Q),fe[Pe+3+64]=fe[Pe+2+96]=Bi(Ce,Q,ve),fe[Pe+3+96]=Bi(Q,ve,ve)}function bo(fe,Pe){var ut=fe[Pe-1+0],Ut=fe[Pe-1+32],dr=fe[Pe-1+64],_r=fe[Pe-1-32],Ce=fe[Pe+0-32],Q=fe[Pe+1-32],ve=fe[Pe+2-32],je=fe[Pe+3-32];fe[Pe+0+0]=fe[Pe+1+64]=_r+Ce+1>>1,fe[Pe+1+0]=fe[Pe+2+64]=Ce+Q+1>>1,fe[Pe+2+0]=fe[Pe+3+64]=Q+ve+1>>1,fe[Pe+3+0]=ve+je+1>>1,fe[Pe+0+96]=Bi(dr,Ut,ut),fe[Pe+0+64]=Bi(Ut,ut,_r),fe[Pe+0+32]=fe[Pe+1+96]=Bi(ut,_r,Ce),fe[Pe+1+32]=fe[Pe+2+96]=Bi(_r,Ce,Q),fe[Pe+2+32]=fe[Pe+3+96]=Bi(Ce,Q,ve),fe[Pe+3+32]=Bi(Q,ve,je)}function Oa(fe,Pe){var ut=fe[Pe+0-32],Ut=fe[Pe+1-32],dr=fe[Pe+2-32],_r=fe[Pe+3-32],Ce=fe[Pe+4-32],Q=fe[Pe+5-32],ve=fe[Pe+6-32],je=fe[Pe+7-32];fe[Pe+0+0]=ut+Ut+1>>1,fe[Pe+1+0]=fe[Pe+0+64]=Ut+dr+1>>1,fe[Pe+2+0]=fe[Pe+1+64]=dr+_r+1>>1,fe[Pe+3+0]=fe[Pe+2+64]=_r+Ce+1>>1,fe[Pe+0+32]=Bi(ut,Ut,dr),fe[Pe+1+32]=fe[Pe+0+96]=Bi(Ut,dr,_r),fe[Pe+2+32]=fe[Pe+1+96]=Bi(dr,_r,Ce),fe[Pe+3+32]=fe[Pe+2+96]=Bi(_r,Ce,Q),fe[Pe+3+64]=Bi(Ce,Q,ve),fe[Pe+3+96]=Bi(Q,ve,je)}function Fo(fe,Pe){var ut=fe[Pe-1+0],Ut=fe[Pe-1+32],dr=fe[Pe-1+64],_r=fe[Pe-1+96];fe[Pe+0+0]=ut+Ut+1>>1,fe[Pe+2+0]=fe[Pe+0+32]=Ut+dr+1>>1,fe[Pe+2+32]=fe[Pe+0+64]=dr+_r+1>>1,fe[Pe+1+0]=Bi(ut,Ut,dr),fe[Pe+3+0]=fe[Pe+1+32]=Bi(Ut,dr,_r),fe[Pe+3+32]=fe[Pe+1+64]=Bi(dr,_r,_r),fe[Pe+3+64]=fe[Pe+2+64]=fe[Pe+0+96]=fe[Pe+1+96]=fe[Pe+2+96]=fe[Pe+3+96]=_r}function ss(fe,Pe){var ut=fe[Pe-1+0],Ut=fe[Pe-1+32],dr=fe[Pe-1+64],_r=fe[Pe-1+96],Ce=fe[Pe-1-32],Q=fe[Pe+0-32],ve=fe[Pe+1-32],je=fe[Pe+2-32];fe[Pe+0+0]=fe[Pe+2+32]=ut+Ce+1>>1,fe[Pe+0+32]=fe[Pe+2+64]=Ut+ut+1>>1,fe[Pe+0+64]=fe[Pe+2+96]=dr+Ut+1>>1,fe[Pe+0+96]=_r+dr+1>>1,fe[Pe+3+0]=Bi(Q,ve,je),fe[Pe+2+0]=Bi(Ce,Q,ve),fe[Pe+1+0]=fe[Pe+3+32]=Bi(ut,Ce,Q),fe[Pe+1+32]=fe[Pe+3+64]=Bi(Ut,ut,Ce),fe[Pe+1+64]=fe[Pe+3+96]=Bi(dr,Ut,ut),fe[Pe+1+96]=Bi(_r,dr,Ut)}function ho(fe,Pe){var ut;for(ut=0;8>ut;++ut)Be(fe,Pe+32*ut,fe,Pe-32,8)}function Oo(fe,Pe){var ut;for(ut=0;8>ut;++ut)We(fe,Pe,fe[Pe-1],8),Pe+=32}function Fa(fe,Pe,ut){var Ut;for(Ut=0;8>Ut;++Ut)We(Pe,ut+32*Ut,fe,8)}function Qo(fe,Pe){var ut,Ut=8;for(ut=0;8>ut;++ut)Ut+=fe[Pe+ut-32]+fe[Pe-1+32*ut];Fa(Ut>>4,fe,Pe)}function el(fe,Pe){var ut,Ut=4;for(ut=0;8>ut;++ut)Ut+=fe[Pe+ut-32];Fa(Ut>>3,fe,Pe)}function Es(fe,Pe){var ut,Ut=4;for(ut=0;8>ut;++ut)Ut+=fe[Pe-1+32*ut];Fa(Ut>>3,fe,Pe)}function Ns(fe,Pe){Fa(128,fe,Pe)}function Cs(fe,Pe,ut){var Ut=fe[Pe-ut],dr=fe[Pe+0],_r=3*(dr-Ut)+Zl[1020+fe[Pe-2*ut]-fe[Pe+ut]],Ce=Gs[112+(_r+4>>3)];fe[Pe-ut]=hs[255+Ut+Gs[112+(_r+3>>3)]],fe[Pe+0]=hs[255+dr-Ce]}function As(fe,Pe,ut,Ut){var dr=fe[Pe+0],_r=fe[Pe+ut];return nl[255+fe[Pe-2*ut]-fe[Pe-ut]]>Ut||nl[255+_r-dr]>Ut}function vs(fe,Pe,ut,Ut){return 4*nl[255+fe[Pe-ut]-fe[Pe+0]]+nl[255+fe[Pe-2*ut]-fe[Pe+ut]]<=Ut}function jo(fe,Pe,ut,Ut,dr){var _r=fe[Pe-3*ut],Ce=fe[Pe-2*ut],Q=fe[Pe-ut],ve=fe[Pe+0],je=fe[Pe+ut],it=fe[Pe+2*ut],St=fe[Pe+3*ut];return 4*nl[255+Q-ve]+nl[255+Ce-je]>Ut?0:nl[255+fe[Pe-4*ut]-_r]<=dr&&nl[255+_r-Ce]<=dr&&nl[255+Ce-Q]<=dr&&nl[255+St-it]<=dr&&nl[255+it-je]<=dr&&nl[255+je-ve]<=dr}function go(fe,Pe,ut,Ut){var dr=2*Ut+1;for(Ut=0;16>Ut;++Ut)vs(fe,Pe+Ut,ut,dr)&&Cs(fe,Pe+Ut,ut)}function es(fe,Pe,ut,Ut){var dr=2*Ut+1;for(Ut=0;16>Ut;++Ut)vs(fe,Pe+Ut*ut,1,dr)&&Cs(fe,Pe+Ut*ut,1)}function Ho(fe,Pe,ut,Ut){var dr;for(dr=3;0<dr;--dr)go(fe,Pe+=4*ut,ut,Ut)}function Go(fe,Pe,ut,Ut){var dr;for(dr=3;0<dr;--dr)es(fe,Pe+=4,ut,Ut)}function zr(fe,Pe,ut,Ut,dr,_r,Ce,Q){for(_r=2*_r+1;0<dr--;){if(jo(fe,Pe,ut,_r,Ce))if(As(fe,Pe,ut,Q))Cs(fe,Pe,ut);else{var ve=fe,je=Pe,it=ut,St=ve[je-2*it],_t=ve[je-it],It=ve[je+0],Ar=ve[je+it],Tr=ve[je+2*it],hr=27*(Cr=Zl[1020+3*(It-_t)+Zl[1020+St-Ar]])+63>>7,sr=18*Cr+63>>7,Cr=9*Cr+63>>7;ve[je-3*it]=hs[255+ve[je-3*it]+Cr],ve[je-2*it]=hs[255+St+sr],ve[je-it]=hs[255+_t+hr],ve[je+0]=hs[255+It-hr],ve[je+it]=hs[255+Ar-sr],ve[je+2*it]=hs[255+Tr-Cr]}Pe+=Ut}}function Bo(fe,Pe,ut,Ut,dr,_r,Ce,Q){for(_r=2*_r+1;0<dr--;){if(jo(fe,Pe,ut,_r,Ce))if(As(fe,Pe,ut,Q))Cs(fe,Pe,ut);else{var ve=fe,je=Pe,it=ut,St=ve[je-it],_t=ve[je+0],It=ve[je+it],Ar=Gs[112+((Tr=3*(_t-St))+4>>3)],Tr=Gs[112+(Tr+3>>3)],hr=Ar+1>>1;ve[je-2*it]=hs[255+ve[je-2*it]+hr],ve[je-it]=hs[255+St+Tr],ve[je+0]=hs[255+_t-Ar],ve[je+it]=hs[255+It-hr]}Pe+=Ut}}function tl(fe,Pe,ut,Ut,dr,_r){zr(fe,Pe,ut,1,16,Ut,dr,_r)}function Ks(fe,Pe,ut,Ut,dr,_r){zr(fe,Pe,1,ut,16,Ut,dr,_r)}function Ps(fe,Pe,ut,Ut,dr,_r){var Ce;for(Ce=3;0<Ce;--Ce)Bo(fe,Pe+=4*ut,ut,1,16,Ut,dr,_r)}function io(fe,Pe,ut,Ut,dr,_r){var Ce;for(Ce=3;0<Ce;--Ce)Bo(fe,Pe+=4,1,ut,16,Ut,dr,_r)}function Ao(fe,Pe,ut,Ut,dr,_r,Ce,Q){zr(fe,Pe,dr,1,8,_r,Ce,Q),zr(ut,Ut,dr,1,8,_r,Ce,Q)}function Jo(fe,Pe,ut,Ut,dr,_r,Ce,Q){zr(fe,Pe,1,dr,8,_r,Ce,Q),zr(ut,Ut,1,dr,8,_r,Ce,Q)}function ns(fe,Pe,ut,Ut,dr,_r,Ce,Q){Bo(fe,Pe+4*dr,dr,1,8,_r,Ce,Q),Bo(ut,Ut+4*dr,dr,1,8,_r,Ce,Q)}function ys(fe,Pe,ut,Ut,dr,_r,Ce,Q){Bo(fe,Pe+4,1,dr,8,_r,Ce,Q),Bo(ut,Ut+4,1,dr,8,_r,Ce,Q)}function ps(){this.ba=new Zn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new gi,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Ls(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function il(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Rs(){this.ua=0,this.Wa=new Oi,this.vb=new Oi,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ci,this.yc=new En}function Ws(){this.xb=this.a=0,this.l=new La,this.ca=new Zn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new kr,this.Pb=0,this.wd=new kr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Rs,this.ab=0,this.gc=Qe(4,il),this.Oc=0}function ks(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new La,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ms(fe,Pe,ut,Ut,dr,_r,Ce){for(fe=fe==null?0:fe[Pe+0],Pe=0;Pe<Ce;++Pe)dr[_r+Pe]=fe+ut[Ut+Pe]&255,fe=dr[_r+Pe]}function Ms(fe,Pe,ut,Ut,dr,_r,Ce){var Q;if(fe==null)ms(null,null,ut,Ut,dr,_r,Ce);else for(Q=0;Q<Ce;++Q)dr[_r+Q]=fe[Pe+Q]+ut[Ut+Q]&255}function yt(fe,Pe,ut,Ut,dr,_r,Ce){if(fe==null)ms(null,null,ut,Ut,dr,_r,Ce);else{var Q,ve=fe[Pe+0],je=ve,it=ve;for(Q=0;Q<Ce;++Q)je=it+(ve=fe[Pe+Q])-je,it=ut[Ut+Q]+(-256&je?0>je?0:255:je)&255,je=ve,dr[_r+Q]=it}}function Dt(fe,Pe,ut,Ut){var dr=Pe.width,_r=Pe.o;if(Se(fe!=null&&Pe!=null),0>ut||0>=Ut||ut+Ut>_r)return null;if(!fe.Cc){if(fe.ga==null){var Ce;if(fe.ga=new ks,(Ce=fe.ga==null)||(Ce=Pe.width*Pe.o,Se(fe.Gb.length==0),fe.Gb=He(Ce),fe.Uc=0,fe.Gb==null?Ce=0:(fe.mb=fe.Gb,fe.nb=fe.Uc,fe.rc=null,Ce=1),Ce=!Ce),!Ce){Ce=fe.ga;var Q=fe.Fa,ve=fe.P,je=fe.qc,it=fe.mb,St=fe.nb,_t=ve+1,It=je-1,Ar=Ce.l;if(Se(Q!=null&&it!=null&&Pe!=null),yl[0]=null,yl[1]=ms,yl[2]=Ms,yl[3]=yt,Ce.ca=it,Ce.tb=St,Ce.c=Pe.width,Ce.i=Pe.height,Se(0<Ce.c&&0<Ce.i),1>=je)Pe=0;else if(Ce.$a=Q[ve+0]>>0&3,Ce.Z=Q[ve+0]>>2&3,Ce.Lc=Q[ve+0]>>4&3,ve=Q[ve+0]>>6&3,0>Ce.$a||1<Ce.$a||4<=Ce.Z||1<Ce.Lc||ve)Pe=0;else if(Ar.put=Li,Ar.ac=_i,Ar.bc=Hn,Ar.ma=Ce,Ar.width=Pe.width,Ar.height=Pe.height,Ar.Da=Pe.Da,Ar.v=Pe.v,Ar.va=Pe.va,Ar.j=Pe.j,Ar.o=Pe.o,Ce.$a)e:{Se(Ce.$a==1),Pe=vn();t:for(;;){if(Pe==null){Pe=0;break e}if(Se(Ce!=null),Ce.mc=Pe,Pe.c=Ce.c,Pe.i=Ce.i,Pe.l=Ce.l,Pe.l.ma=Ce,Pe.l.width=Ce.c,Pe.l.height=Ce.i,Pe.a=0,Fi(Pe.m,Q,_t,It),!Un(Ce.c,Ce.i,1,Pe,null))break t;if(Pe.ab==1&&Pe.gc[0].hc==3&&er(Pe.s)?(Ce.ic=1,Q=Pe.c*Pe.i,Pe.Ta=null,Pe.Ua=0,Pe.V=He(Q),Pe.Ba=0,Pe.V==null?(Pe.a=1,Pe=0):Pe=1):(Ce.ic=0,Pe=Qn(Pe,Ce.c)),!Pe)break t;Pe=1;break e}Ce.mc=null,Pe=0}else Pe=It>=Ce.c*Ce.i;Ce=!Pe}if(Ce)return null;fe.ga.Lc!=1?fe.Ga=0:Ut=_r-ut}Se(fe.ga!=null),Se(ut+Ut<=_r);e:{if(Pe=(Q=fe.ga).c,_r=Q.l.o,Q.$a==0){if(_t=fe.rc,It=fe.Vc,Ar=fe.Fa,ve=fe.P+1+ut*Pe,je=fe.mb,it=fe.nb+ut*Pe,Se(ve<=fe.P+fe.qc),Q.Z!=0)for(Se(yl[Q.Z]!=null),Ce=0;Ce<Ut;++Ce)yl[Q.Z](_t,It,Ar,ve,je,it,Pe),_t=je,It=it,it+=Pe,ve+=Pe;else for(Ce=0;Ce<Ut;++Ce)Be(je,it,Ar,ve,Pe),_t=je,It=it,it+=Pe,ve+=Pe;fe.rc=_t,fe.Vc=It}else{if(Se(Q.mc!=null),Pe=ut+Ut,Se((Ce=Q.mc)!=null),Se(Pe<=Ce.i),Ce.C>=Pe)Pe=1;else if(Q.ic||he(),Q.ic){Q=Ce.V,_t=Ce.Ba,It=Ce.c;var Tr=Ce.i,hr=(Ar=1,ve=Ce.$/It,je=Ce.$%It,it=Ce.m,St=Ce.s,Ce.$),sr=It*Tr,Cr=It*Pe,Mr=St.wc,an=hr<Cr?Nr(St,je,ve):null;Se(hr<=sr),Se(Pe<=Tr),Se(er(St));t:for(;;){for(;!it.h&&hr<Cr;){if(je&Mr||(an=Nr(St,je,ve)),Se(an!=null),ti(it),256>(Tr=Rr(an.G[0],an.H[0],it)))Q[_t+hr]=Tr,++hr,++je>=It&&(je=0,++ve<=Pe&&!(ve%16)&&Ur(Ce,ve));else{if(!(280>Tr)){Ar=0;break t}Tr=Hi(Tr-256,it);var Pn,ni=Rr(an.G[4],an.H[4],it);if(ti(it),!(hr>=(ni=pr(It,ni=Hi(ni,it)))&&sr-hr>=Tr)){Ar=0;break t}for(Pn=0;Pn<Tr;++Pn)Q[_t+hr+Pn]=Q[_t+hr+Pn-ni];for(hr+=Tr,je+=Tr;je>=It;)je-=It,++ve<=Pe&&!(ve%16)&&Ur(Ce,ve);hr<Cr&&je&Mr&&(an=Nr(St,je,ve))}Se(it.h==jn(it))}Ur(Ce,ve>Pe?Pe:ve);break t}!Ar||it.h&&hr<sr?(Ar=0,Ce.a=it.h?5:3):Ce.$=hr,Pe=Ar}else Pe=pn(Ce,Ce.V,Ce.Ba,Ce.c,Ce.i,Pe,$n);if(!Pe){Ut=0;break e}}ut+Ut>=_r&&(fe.Cc=1),Ut=1}if(!Ut)return null;if(fe.Cc&&((Ut=fe.ga)!=null&&(Ut.mc=null),fe.ga=null,0<fe.Ga))return alert("todo:WebPDequantizeLevels"),null}return fe.nb+ut*dr}function tn(fe,Pe,ut,Ut,dr,_r){for(;0<dr--;){var Ce,Q=fe,ve=Pe+(ut?1:0),je=fe,it=Pe+(ut?0:3);for(Ce=0;Ce<Ut;++Ce){var St=je[it+4*Ce];St!=255&&(St*=32897,Q[ve+4*Ce+0]=Q[ve+4*Ce+0]*St>>23,Q[ve+4*Ce+1]=Q[ve+4*Ce+1]*St>>23,Q[ve+4*Ce+2]=Q[ve+4*Ce+2]*St>>23)}Pe+=_r}}function On(fe,Pe,ut,Ut,dr){for(;0<Ut--;){var _r;for(_r=0;_r<ut;++_r){var Ce=fe[Pe+2*_r+0],Q=15&(je=fe[Pe+2*_r+1]),ve=4369*Q,je=(240&je|je>>4)*ve>>16;fe[Pe+2*_r+0]=(240&Ce|Ce>>4)*ve>>16&240|(15&Ce|Ce<<4)*ve>>16>>4&15,fe[Pe+2*_r+1]=240&je|Q}Pe+=dr}}function ft(fe,Pe,ut,Ut,dr,_r,Ce,Q){var ve,je,it=255;for(je=0;je<dr;++je){for(ve=0;ve<Ut;++ve){var St=fe[Pe+ve];_r[Ce+4*ve]=St,it&=St}Pe+=ut,Ce+=Q}return it!=255}function $(fe,Pe,ut,Ut,dr){var _r;for(_r=0;_r<dr;++_r)ut[Ut+_r]=fe[Pe+_r]>>8}function he(){fl=tn,Ml=On,Zs=ft,xl=$}function ge(fe,Pe,ut){Fn[fe]=function(Ut,dr,_r,Ce,Q,ve,je,it,St,_t,It,Ar,Tr,hr,sr,Cr,Mr){var an,Pn=Mr-1>>1,ni=Q[ve+0]|je[it+0]<<16,Ii=St[_t+0]|It[Ar+0]<<16;Se(Ut!=null);var hi=3*ni+Ii+131074>>2;for(Pe(Ut[dr+0],255&hi,hi>>16,Tr,hr),_r!=null&&(hi=3*Ii+ni+131074>>2,Pe(_r[Ce+0],255&hi,hi>>16,sr,Cr)),an=1;an<=Pn;++an){var ma=Q[ve+an]|je[it+an]<<16,Ui=St[_t+an]|It[Ar+an]<<16,_a=ni+ma+Ii+Ui+524296,Aa=_a+2*(ma+Ii)>>3;hi=Aa+ni>>1,ni=(_a=_a+2*(ni+Ui)>>3)+ma>>1,Pe(Ut[dr+2*an-1],255&hi,hi>>16,Tr,hr+(2*an-1)*ut),Pe(Ut[dr+2*an-0],255&ni,ni>>16,Tr,hr+(2*an-0)*ut),_r!=null&&(hi=_a+Ii>>1,ni=Aa+Ui>>1,Pe(_r[Ce+2*an-1],255&hi,hi>>16,sr,Cr+(2*an-1)*ut),Pe(_r[Ce+2*an+0],255&ni,ni>>16,sr,Cr+(2*an+0)*ut)),ni=ma,Ii=Ui}1&Mr||(hi=3*ni+Ii+131074>>2,Pe(Ut[dr+Mr-1],255&hi,hi>>16,Tr,hr+(Mr-1)*ut),_r!=null&&(hi=3*Ii+ni+131074>>2,Pe(_r[Ce+Mr-1],255&hi,hi>>16,sr,Cr+(Mr-1)*ut)))}}function Fe(){ul[$l]=Gl,ul[cc]=Hc,ul[uc]=rc,ul[ql]=gc,ul[Kl]=nc,ul[jc]=Nc,ul[dc]=Ac,ul[Tc]=Hc,ul[pl]=gc,ul[Al]=nc,ul[Wl]=Nc}function ct(fe){return fe&~qc?0>fe?0:255:fe>>vc}function Tt(fe,Pe){return ct((19077*fe>>8)+(26149*Pe>>8)-14234)}function br(fe,Pe,ut){return ct((19077*fe>>8)-(6419*Pe>>8)-(13320*ut>>8)+8708)}function Ir(fe,Pe){return ct((19077*fe>>8)+(33050*Pe>>8)-17685)}function $r(fe,Pe,ut,Ut,dr){Ut[dr+0]=Tt(fe,ut),Ut[dr+1]=br(fe,Pe,ut),Ut[dr+2]=Ir(fe,Pe)}function Cn(fe,Pe,ut,Ut,dr){Ut[dr+0]=Ir(fe,Pe),Ut[dr+1]=br(fe,Pe,ut),Ut[dr+2]=Tt(fe,ut)}function Wn(fe,Pe,ut,Ut,dr){var _r=br(fe,Pe,ut);Pe=_r<<3&224|Ir(fe,Pe)>>3,Ut[dr+0]=248&Tt(fe,ut)|_r>>5,Ut[dr+1]=Pe}function si(fe,Pe,ut,Ut,dr){var _r=240&Ir(fe,Pe)|15;Ut[dr+0]=240&Tt(fe,ut)|br(fe,Pe,ut)>>4,Ut[dr+1]=_r}function Ei(fe,Pe,ut,Ut,dr){Ut[dr+0]=255,$r(fe,Pe,ut,Ut,dr+1)}function zi(fe,Pe,ut,Ut,dr){Cn(fe,Pe,ut,Ut,dr),Ut[dr+3]=255}function la(fe,Pe,ut,Ut,dr){$r(fe,Pe,ut,Ut,dr),Ut[dr+3]=255}function Vi(fe,Pe){return 0>fe?0:fe>Pe?Pe:fe}function va(fe,Pe,ut){Fn[fe]=function(Ut,dr,_r,Ce,Q,ve,je,it,St){for(var _t=it+(-2&St)*ut;it!=_t;)Pe(Ut[dr+0],_r[Ce+0],Q[ve+0],je,it),Pe(Ut[dr+1],_r[Ce+0],Q[ve+0],je,it+ut),dr+=2,++Ce,++ve,it+=2*ut;1&St&&Pe(Ut[dr+0],_r[Ce+0],Q[ve+0],je,it)}}function $a(fe,Pe,ut){return ut==0?fe==0?Pe==0?6:5:Pe==0?4:0:ut}function eo(fe,Pe,ut,Ut,dr){switch(fe>>>30){case 3:Js(Pe,ut,Ut,dr,0);break;case 2:rl(Pe,ut,Ut,dr);break;case 1:Ga(Pe,ut,Ut,dr)}}function ro(fe,Pe){var ut,Ut,dr=Pe.M,_r=Pe.Nb,Ce=fe.oc,Q=fe.pc+40,ve=fe.oc,je=fe.pc+584,it=fe.oc,St=fe.pc+600;for(ut=0;16>ut;++ut)Ce[Q+32*ut-1]=129;for(ut=0;8>ut;++ut)ve[je+32*ut-1]=129,it[St+32*ut-1]=129;for(0<dr?Ce[Q-1-32]=ve[je-1-32]=it[St-1-32]=129:(We(Ce,Q-32-1,127,21),We(ve,je-32-1,127,9),We(it,St-32-1,127,9)),Ut=0;Ut<fe.za;++Ut){var _t=Pe.ya[Pe.aa+Ut];if(0<Ut){for(ut=-1;16>ut;++ut)Be(Ce,Q+32*ut-4,Ce,Q+32*ut+12,4);for(ut=-1;8>ut;++ut)Be(ve,je+32*ut-4,ve,je+32*ut+4,4),Be(it,St+32*ut-4,it,St+32*ut+4,4)}var It=fe.Gd,Ar=fe.Hd+Ut,Tr=_t.ad,hr=_t.Hc;if(0<dr&&(Be(Ce,Q-32,It[Ar].y,0,16),Be(ve,je-32,It[Ar].f,0,8),Be(it,St-32,It[Ar].ea,0,8)),_t.Za){var sr=Ce,Cr=Q-32+16;for(0<dr&&(Ut>=fe.za-1?We(sr,Cr,It[Ar].y[15],4):Be(sr,Cr,It[Ar+1].y,0,4)),ut=0;4>ut;ut++)sr[Cr+128+ut]=sr[Cr+256+ut]=sr[Cr+384+ut]=sr[Cr+0+ut];for(ut=0;16>ut;++ut,hr<<=2)sr=Ce,Cr=Q+Mc[ut],cl[_t.Ob[ut]](sr,Cr),eo(hr,Tr,16*+ut,sr,Cr)}else if(sr=$a(Ut,dr,_t.Ob[0]),ll[sr](Ce,Q),hr!=0)for(ut=0;16>ut;++ut,hr<<=2)eo(hr,Tr,16*+ut,Ce,Q+Mc[ut]);for(ut=_t.Gc,sr=$a(Ut,dr,_t.Dd),hl[sr](ve,je),hl[sr](it,St),hr=Tr,sr=ve,Cr=je,255&(_t=ut>>0)&&(170&_t?Us(hr,256,sr,Cr):ha(hr,256,sr,Cr)),_t=it,hr=St,255&(ut>>=8)&&(170&ut?Us(Tr,320,_t,hr):ha(Tr,320,_t,hr)),dr<fe.Ub-1&&(Be(It[Ar].y,0,Ce,Q+480,16),Be(It[Ar].f,0,ve,je+224,8),Be(It[Ar].ea,0,it,St+224,8)),ut=8*_r*fe.B,It=fe.sa,Ar=fe.ta+16*Ut+16*_r*fe.R,Tr=fe.qa,_t=fe.ra+8*Ut+ut,hr=fe.Ha,sr=fe.Ia+8*Ut+ut,ut=0;16>ut;++ut)Be(It,Ar+ut*fe.R,Ce,Q+32*ut,16);for(ut=0;8>ut;++ut)Be(Tr,_t+ut*fe.B,ve,je+32*ut,8),Be(hr,sr+ut*fe.B,it,St+32*ut,8)}}function Lo(fe,Pe,ut,Ut,dr,_r,Ce,Q,ve){var je=[0],it=[0],St=0,_t=ve!=null?ve.kd:0,It=ve!=null?ve:new Ls;if(fe==null||12>ut)return 7;It.data=fe,It.w=Pe,It.ha=ut,Pe=[Pe],ut=[ut],It.gb=[It.gb];e:{var Ar=Pe,Tr=ut,hr=It.gb;if(Se(fe!=null),Se(Tr!=null),Se(hr!=null),hr[0]=0,12<=Tr[0]&&!Re(fe,Ar[0],"RIFF")){if(Re(fe,Ar[0]+8,"WEBP")){hr=3;break e}var sr=Ra(fe,Ar[0]+4);if(12>sr||4294967286<sr){hr=3;break e}if(_t&&sr>Tr[0]-8){hr=7;break e}hr[0]=sr,Ar[0]+=12,Tr[0]-=12}hr=0}if(hr!=0)return hr;for(sr=0<It.gb[0],ut=ut[0];;){e:{var Cr=fe;Tr=Pe,hr=ut;var Mr=je,an=it,Pn=Ar=[0];if((hi=St=[St])[0]=0,8>hr[0])hr=7;else{if(!Re(Cr,Tr[0],"VP8X")){if(Ra(Cr,Tr[0]+4)!=10){hr=3;break e}if(18>hr[0]){hr=7;break e}var ni=Ra(Cr,Tr[0]+8),Ii=1+qi(Cr,Tr[0]+12);if(2147483648<=Ii*(Cr=1+qi(Cr,Tr[0]+15))){hr=3;break e}Pn!=null&&(Pn[0]=ni),Mr!=null&&(Mr[0]=Ii),an!=null&&(an[0]=Cr),Tr[0]+=18,hr[0]-=18,hi[0]=1}hr=0}}if(St=St[0],Ar=Ar[0],hr!=0)return hr;if(Tr=!!(2&Ar),!sr&&St)return 3;if(_r!=null&&(_r[0]=!!(16&Ar)),Ce!=null&&(Ce[0]=Tr),Q!=null&&(Q[0]=0),Ce=je[0],Ar=it[0],St&&Tr&&ve==null){hr=0;break}if(4>ut){hr=7;break}if(sr&&St||!sr&&!St&&!Re(fe,Pe[0],"ALPH")){ut=[ut],It.na=[It.na],It.P=[It.P],It.Sa=[It.Sa];e:{ni=fe,hr=Pe,sr=ut;var hi=It.gb;Mr=It.na,an=It.P,Pn=It.Sa,Ii=22,Se(ni!=null),Se(sr!=null),Cr=hr[0];var ma=sr[0];for(Se(Mr!=null),Se(Pn!=null),Mr[0]=null,an[0]=null,Pn[0]=0;;){if(hr[0]=Cr,sr[0]=ma,8>ma){hr=7;break e}var Ui=Ra(ni,Cr+4);if(4294967286<Ui){hr=3;break e}var _a=8+Ui+1&-2;if(Ii+=_a,0<hi&&Ii>hi){hr=3;break e}if(!Re(ni,Cr,"VP8 ")||!Re(ni,Cr,"VP8L")){hr=0;break e}if(ma[0]<_a){hr=7;break e}Re(ni,Cr,"ALPH")||(Mr[0]=ni,an[0]=Cr+8,Pn[0]=Ui),Cr+=_a,ma-=_a}}if(ut=ut[0],It.na=It.na[0],It.P=It.P[0],It.Sa=It.Sa[0],hr!=0)break}ut=[ut],It.Ja=[It.Ja],It.xa=[It.xa];e:if(hi=fe,hr=Pe,sr=ut,Mr=It.gb[0],an=It.Ja,Pn=It.xa,ni=hr[0],Cr=!Re(hi,ni,"VP8 "),Ii=!Re(hi,ni,"VP8L"),Se(hi!=null),Se(sr!=null),Se(an!=null),Se(Pn!=null),8>sr[0])hr=7;else{if(Cr||Ii){if(hi=Ra(hi,ni+4),12<=Mr&&hi>Mr-12){hr=3;break e}if(_t&&hi>sr[0]-8){hr=7;break e}an[0]=hi,hr[0]+=8,sr[0]-=8,Pn[0]=Ii}else Pn[0]=5<=sr[0]&&hi[ni+0]==47&&!(hi[ni+4]>>5),an[0]=sr[0];hr=0}if(ut=ut[0],It.Ja=It.Ja[0],It.xa=It.xa[0],Pe=Pe[0],hr!=0)break;if(4294967286<It.Ja)return 3;if(Q==null||Tr||(Q[0]=It.xa?2:1),Ce=[Ce],Ar=[Ar],It.xa){if(5>ut){hr=7;break}Q=Ce,_t=Ar,Tr=_r,fe==null||5>ut?fe=0:5<=ut&&fe[Pe+0]==47&&!(fe[Pe+4]>>5)?(sr=[0],hi=[0],Mr=[0],Fi(an=new kr,fe,Pe,ut),Ci(an,sr,hi,Mr)?(Q!=null&&(Q[0]=sr[0]),_t!=null&&(_t[0]=hi[0]),Tr!=null&&(Tr[0]=Mr[0]),fe=1):fe=0):fe=0}else{if(10>ut){hr=7;break}Q=Ar,fe==null||10>ut||!Ea(fe,Pe+3,ut-3)?fe=0:(_t=fe[Pe+0]|fe[Pe+1]<<8|fe[Pe+2]<<16,Tr=16383&(fe[Pe+7]<<8|fe[Pe+6]),fe=16383&(fe[Pe+9]<<8|fe[Pe+8]),1&_t||3<(_t>>1&7)||!(_t>>4&1)||_t>>5>=It.Ja||!Tr||!fe?fe=0:(Ce&&(Ce[0]=Tr),Q&&(Q[0]=fe),fe=1))}if(!fe)return 3;if(Ce=Ce[0],Ar=Ar[0],St&&(je[0]!=Ce||it[0]!=Ar))return 3;ve!=null&&(ve[0]=It,ve.offset=Pe-ve.w,Se(4294967286>Pe-ve.w),Se(ve.offset==ve.ha-ut));break}return hr==0||hr==7&&St&&ve==null?(_r!=null&&(_r[0]|=It.na!=null&&0<It.na.length),Ut!=null&&(Ut[0]=Ce),dr!=null&&(dr[0]=Ar),0):hr}function Eo(fe,Pe,ut){var Ut=Pe.width,dr=Pe.height,_r=0,Ce=0,Q=Ut,ve=dr;if(Pe.Da=fe!=null&&0<fe.Da,Pe.Da&&(Q=fe.cd,ve=fe.bd,_r=fe.v,Ce=fe.j,11>ut||(_r&=-2,Ce&=-2),0>_r||0>Ce||0>=Q||0>=ve||_r+Q>Ut||Ce+ve>dr))return 0;if(Pe.v=_r,Pe.j=Ce,Pe.va=_r+Q,Pe.o=Ce+ve,Pe.U=Q,Pe.T=ve,Pe.da=fe!=null&&0<fe.da,Pe.da){if(!Ji(Q,ve,ut=[fe.ib],_r=[fe.hb]))return 0;Pe.ib=ut[0],Pe.hb=_r[0]}return Pe.ob=fe!=null&&fe.ob,Pe.Kb=fe==null||!fe.Sd,Pe.da&&(Pe.ob=Pe.ib<3*Ut/4&&Pe.hb<3*dr/4,Pe.Kb=0),1}function Gi(fe){if(fe==null)return 2;if(11>fe.S){var Pe=fe.f.RGBA;Pe.fb+=(fe.height-1)*Pe.A,Pe.A=-Pe.A}else Pe=fe.f.kb,fe=fe.height,Pe.O+=(fe-1)*Pe.fa,Pe.fa=-Pe.fa,Pe.N+=(fe-1>>1)*Pe.Ab,Pe.Ab=-Pe.Ab,Pe.W+=(fe-1>>1)*Pe.Db,Pe.Db=-Pe.Db,Pe.F!=null&&(Pe.J+=(fe-1)*Pe.lb,Pe.lb=-Pe.lb);return 0}function po(fe,Pe,ut,Ut){if(Ut==null||0>=fe||0>=Pe)return 2;if(ut!=null){if(ut.Da){var dr=ut.cd,_r=ut.bd,Ce=-2&ut.v,Q=-2&ut.j;if(0>Ce||0>Q||0>=dr||0>=_r||Ce+dr>fe||Q+_r>Pe)return 2;fe=dr,Pe=_r}if(ut.da){if(!Ji(fe,Pe,dr=[ut.ib],_r=[ut.hb]))return 2;fe=dr[0],Pe=_r[0]}}Ut.width=fe,Ut.height=Pe;e:{var ve=Ut.width,je=Ut.height;if(fe=Ut.S,0>=ve||0>=je||!(fe>=$l&&13>fe))fe=2;else{if(0>=Ut.Rd&&Ut.sd==null){Ce=_r=dr=Pe=0;var it=(Q=ve*Ql[fe])*je;if(11>fe||(_r=(je+1)/2*(Pe=(ve+1)/2),fe==12&&(Ce=(dr=ve)*je)),(je=He(it+2*_r+Ce))==null){fe=1;break e}Ut.sd=je,11>fe?((ve=Ut.f.RGBA).eb=je,ve.fb=0,ve.A=Q,ve.size=it):((ve=Ut.f.kb).y=je,ve.O=0,ve.fa=Q,ve.Fd=it,ve.f=je,ve.N=0+it,ve.Ab=Pe,ve.Cd=_r,ve.ea=je,ve.W=0+it+_r,ve.Db=Pe,ve.Ed=_r,fe==12&&(ve.F=je,ve.J=0+it+2*_r),ve.Tc=Ce,ve.lb=dr)}if(Pe=1,dr=Ut.S,_r=Ut.width,Ce=Ut.height,dr>=$l&&13>dr)if(11>dr)fe=Ut.f.RGBA,Pe&=(Q=Math.abs(fe.A))*(Ce-1)+_r<=fe.size,Pe&=Q>=_r*Ql[dr],Pe&=fe.eb!=null;else{fe=Ut.f.kb,Q=(_r+1)/2,it=(Ce+1)/2,ve=Math.abs(fe.fa),je=Math.abs(fe.Ab);var St=Math.abs(fe.Db),_t=Math.abs(fe.lb),It=_t*(Ce-1)+_r;Pe&=ve*(Ce-1)+_r<=fe.Fd,Pe&=je*(it-1)+Q<=fe.Cd,Pe=(Pe&=St*(it-1)+Q<=fe.Ed)&ve>=_r&je>=Q&St>=Q,Pe&=fe.y!=null,Pe&=fe.f!=null,Pe&=fe.ea!=null,dr==12&&(Pe&=_t>=_r,Pe&=It<=fe.Tc,Pe&=fe.F!=null)}else Pe=0;fe=Pe?0:2}}return fe!=0||ut!=null&&ut.fd&&(fe=Gi(Ut)),fe}var wo=64,ts=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],No=24,Io=32,Ko=8,bs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Kt("Predictor0","PredictorAdd0"),Fn.Predictor0=function(){return 4278190080},Fn.Predictor1=function(fe){return fe},Fn.Predictor2=function(fe,Pe,ut){return Pe[ut+0]},Fn.Predictor3=function(fe,Pe,ut){return Pe[ut+1]},Fn.Predictor4=function(fe,Pe,ut){return Pe[ut-1]},Fn.Predictor5=function(fe,Pe,ut){return rn(rn(fe,Pe[ut+1]),Pe[ut+0])},Fn.Predictor6=function(fe,Pe,ut){return rn(fe,Pe[ut-1])},Fn.Predictor7=function(fe,Pe,ut){return rn(fe,Pe[ut+0])},Fn.Predictor8=function(fe,Pe,ut){return rn(Pe[ut-1],Pe[ut+0])},Fn.Predictor9=function(fe,Pe,ut){return rn(Pe[ut+0],Pe[ut+1])},Fn.Predictor10=function(fe,Pe,ut){return rn(rn(fe,Pe[ut-1]),rn(Pe[ut+0],Pe[ut+1]))},Fn.Predictor11=function(fe,Pe,ut){var Ut=Pe[ut+0];return 0>=Ct(Ut>>24&255,fe>>24&255,(Pe=Pe[ut-1])>>24&255)+Ct(Ut>>16&255,fe>>16&255,Pe>>16&255)+Ct(Ut>>8&255,fe>>8&255,Pe>>8&255)+Ct(255&Ut,255&fe,255&Pe)?Ut:fe},Fn.Predictor12=function(fe,Pe,ut){var Ut=Pe[ut+0];return(hn((fe>>24&255)+(Ut>>24&255)-((Pe=Pe[ut-1])>>24&255))<<24|hn((fe>>16&255)+(Ut>>16&255)-(Pe>>16&255))<<16|hn((fe>>8&255)+(Ut>>8&255)-(Pe>>8&255))<<8|hn((255&fe)+(255&Ut)-(255&Pe)))>>>0},Fn.Predictor13=function(fe,Pe,ut){var Ut=Pe[ut-1];return(ze((fe=rn(fe,Pe[ut+0]))>>24&255,Ut>>24&255)<<24|ze(fe>>16&255,Ut>>16&255)<<16|ze(fe>>8&255,Ut>>8&255)<<8|ze(fe>>0&255,Ut>>0&255))>>>0};var ls=Fn.PredictorAdd0;Fn.PredictorAdd1=or,Kt("Predictor2","PredictorAdd2"),Kt("Predictor3","PredictorAdd3"),Kt("Predictor4","PredictorAdd4"),Kt("Predictor5","PredictorAdd5"),Kt("Predictor6","PredictorAdd6"),Kt("Predictor7","PredictorAdd7"),Kt("Predictor8","PredictorAdd8"),Kt("Predictor9","PredictorAdd9"),Kt("Predictor10","PredictorAdd10"),Kt("Predictor11","PredictorAdd11"),Kt("Predictor12","PredictorAdd12"),Kt("Predictor13","PredictorAdd13");var cs=Fn.PredictorAdd2;Kr("ColorIndexInverseTransform","MapARGB","32b",function(fe){return fe>>8&255},function(fe){return fe}),Kr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(fe){return fe},function(fe){return fe>>8&255});var ws,us=Fn.ColorIndexInverseTransform,Ys=Fn.MapARGB,dl=Fn.VP8LColorIndexInverseTransformAlpha,gs=Fn.MapAlpha,Do=Fn.VP8LPredictorsAdd=[];Do.length=16,(Fn.VP8LPredictors=[]).length=16,(Fn.VP8LPredictorsAdd_C=[]).length=16,(Fn.VP8LPredictors_C=[]).length=16;var is,Qs,Ds,Vs,Xs,Fs,al,Js,rl,Us,Ga,ha,Wa,oo,$o,Bs,Ss,ds,Po,Co,Zo,So,js,Hl,fl,Ml,Zs,xl,El=He(511),Ec=He(2041),lc=He(225),Cc=He(767),Uc=0,Zl=Ec,Gs=lc,hs=Cc,nl=El,$l=0,cc=1,uc=2,ql=3,Kl=4,jc=5,dc=6,Tc=7,pl=8,Al=9,Wl=10,Fl=[2,3,7],ml=[3,3,11],Hs=[280,256,256,256,40],zl=[0,1,1,1,0],vl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ec=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],_c=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Vl=8,Bl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Cl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,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,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Pl=null,Ic=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Oc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],hc=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Xl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],fc=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],pc=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Lc=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ll=[],cl=[],hl=[],tc=1,mc=2,yl=[],ul=[];ge("UpsampleRgbLinePair",$r,3),ge("UpsampleBgrLinePair",Cn,3),ge("UpsampleRgbaLinePair",la,4),ge("UpsampleBgraLinePair",zi,4),ge("UpsampleArgbLinePair",Ei,4),ge("UpsampleRgba4444LinePair",si,2),ge("UpsampleRgb565LinePair",Wn,2);var Gl=Fn.UpsampleRgbLinePair,rc=Fn.UpsampleBgrLinePair,Hc=Fn.UpsampleRgbaLinePair,gc=Fn.UpsampleBgraLinePair,nc=Fn.UpsampleArgbLinePair,Nc=Fn.UpsampleRgba4444LinePair,Ac=Fn.UpsampleRgb565LinePair,bl=16,Tl=1<<bl-1,ic=-227,Yl=482,vc=6,qc=(256<<vc)-1,Kc=0,Wc=He(256),_l=He(256),Dc=He(256),yc=He(256),zc=He(Yl-ic),Rc=He(Yl-ic);va("YuvToRgbRow",$r,3),va("YuvToBgrRow",Cn,3),va("YuvToRgbaRow",la,4),va("YuvToBgraRow",zi,4),va("YuvToArgbRow",Ei,4),va("YuvToRgba4444Row",si,2),va("YuvToRgb565Row",Wn,2);var Mc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ac=[0,2,8],Fc=[8,7,6,4,4,2,2,2,1,1,1,1],Il=1;this.WebPDecodeRGBA=function(fe,Pe,ut,Ut,dr){var _r=cc,Ce=new ps,Q=new Zn;Ce.ba=Q,Q.S=_r,Q.width=[Q.width],Q.height=[Q.height];var ve=Q.width,je=Q.height,it=new yi;if(it==null||fe==null)var St=2;else Se(it!=null),St=Lo(fe,Pe,ut,it.width,it.height,it.Pd,it.Qd,it.format,null);if(St!=0?ve=0:(ve!=null&&(ve[0]=it.width[0]),je!=null&&(je[0]=it.height[0]),ve=1),ve){Q.width=Q.width[0],Q.height=Q.height[0],Ut!=null&&(Ut[0]=Q.width),dr!=null&&(dr[0]=Q.height);e:{if(Ut=new La,(dr=new Ls).data=fe,dr.w=Pe,dr.ha=ut,dr.kd=1,Pe=[0],Se(dr!=null),((fe=Lo(dr.data,dr.w,dr.ha,null,null,null,Pe,null,dr))==0||fe==7)&&Pe[0]&&(fe=4),(Pe=fe)==0){if(Se(Ce!=null),Ut.data=dr.data,Ut.w=dr.w+dr.offset,Ut.ha=dr.ha-dr.offset,Ut.put=Li,Ut.ac=_i,Ut.bc=Hn,Ut.ma=Ce,dr.xa){if((fe=vn())==null){Ce=1;break e}if(function(_t,It){var Ar=[0],Tr=[0],hr=[0];t:for(;;){if(_t==null)return 0;if(It==null)return _t.a=2,0;if(_t.l=It,_t.a=0,Fi(_t.m,It.data,It.w,It.ha),!Ci(_t.m,Ar,Tr,hr)){_t.a=3;break t}if(_t.xb=mc,It.width=Ar[0],It.height=Tr[0],!Un(Ar[0],Tr[0],1,_t,null))break t;return 1}return Se(_t.a!=0),0}(fe,Ut)){if(Ut=(Pe=po(Ut.width,Ut.height,Ce.Oa,Ce.ba))==0){t:{Ut=fe;r:for(;;){if(Ut==null){Ut=0;break t}if(Se(Ut.s.yc!=null),Se(Ut.s.Ya!=null),Se(0<Ut.s.Wb),Se((ut=Ut.l)!=null),Se((dr=ut.ma)!=null),Ut.xb!=0){if(Ut.ca=dr.ba,Ut.tb=dr.tb,Se(Ut.ca!=null),!Eo(dr.Oa,ut,ql)){Ut.a=2;break r}if(!Qn(Ut,ut.width))break r;if(ut.da)break r;if((ut.da||_n(Ut.ca.S))&&he(),11>Ut.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ut.ca.f.kb.F!=null&&he()),Ut.Pb&&0<Ut.s.ua&&Ut.s.vb.X==null&&!pi(Ut.s.vb,Ut.s.Wa.Xa)){Ut.a=1;break r}Ut.xb=0}if(!pn(Ut,Ut.V,Ut.Ba,Ut.c,Ut.i,ut.o,xr))break r;dr.Dc=Ut.Ma,Ut=1;break t}Se(Ut.a!=0),Ut=0}Ut=!Ut}Ut&&(Pe=fe.a)}else Pe=fe.a}else{if((fe=new ga)==null){Ce=1;break e}if(fe.Fa=dr.na,fe.P=dr.P,fe.qc=dr.Sa,Da(fe,Ut)){if((Pe=po(Ut.width,Ut.height,Ce.Oa,Ce.ba))==0){if(fe.Aa=0,ut=Ce.Oa,Se((dr=fe)!=null),ut!=null){if(0<(ve=0>(ve=ut.Md)?0:100<ve?255:255*ve/100)){for(je=it=0;4>je;++je)12>(St=dr.pb[je]).lc&&(St.ia=ve*Fc[0>St.lc?0:St.lc]>>3),it|=St.ia;it&&(alert("todo:VP8InitRandom"),dr.ia=1)}dr.Ga=ut.Id,100<dr.Ga?dr.Ga=100:0>dr.Ga&&(dr.Ga=0)}Ha(fe,Ut)||(Pe=fe.a)}}else Pe=fe.a}Pe==0&&Ce.Oa!=null&&Ce.Oa.fd&&(Pe=Gi(Ce.ba))}Ce=Pe}_r=Ce!=0?null:11>_r?Q.f.RGBA.eb:Q.f.kb.y}else _r=null;return _r};var Ql=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Pt(ui,Fn){for(var Si="",gn=0;gn<4;gn++)Si+=String.fromCharCode(ui[Fn++]);return Si}function wr(ui,Fn){return(ui[Fn+0]<<0|ui[Fn+1]<<8|ui[Fn+2]<<16)>>>0}function mr(ui,Fn){return(ui[Fn+0]<<0|ui[Fn+1]<<8|ui[Fn+2]<<16|ui[Fn+3]<<24)>>>0}new st;var Or=[0],jt=[0],cn=[],nr=new st,Xr=Ve,Br=function(ui,Fn){var Si={},gn=0,Wr=!1,En=0,on=0;if(Si.frames=[],!function(kr,yn,jn,Xn){for(var ti=0;ti<Xn;ti++)if(kr[yn+ti]!=jn.charCodeAt(ti))return!0;return!1}(ui,Fn,"RIFF",4)){var ci,ri;for(mr(ui,Fn+=4),Fn+=8;Fn<ui.length;){var bi=Pt(ui,Fn),Gn=mr(ui,Fn+=4);Fn+=4;var Fi=Gn+(1&Gn);switch(bi){case"VP8 ":case"VP8L":Si.frames[gn]===void 0&&(Si.frames[gn]={}),(fn=Si.frames[gn]).src_off=Wr?on:Fn-8,fn.src_size=En+Gn+8,gn++,Wr&&(Wr=!1,En=0,on=0);break;case"VP8X":(fn=Si.header={}).feature_flags=ui[Fn];var Jn=Fn+4;fn.canvas_width=1+wr(ui,Jn),Jn+=3,fn.canvas_height=1+wr(ui,Jn),Jn+=3;break;case"ALPH":Wr=!0,En=Fi+8,on=Fn-8;break;case"ANIM":(fn=Si.header).bgcolor=mr(ui,Fn),Jn=Fn+4,fn.loop_count=(ci=ui)[(ri=Jn)+0]<<0|ci[ri+1]<<8,Jn+=2;break;case"ANMF":var Mi,fn;(fn=Si.frames[gn]={}).offset_x=2*wr(ui,Fn),Fn+=3,fn.offset_y=2*wr(ui,Fn),Fn+=3,fn.width=1+wr(ui,Fn),Fn+=3,fn.height=1+wr(ui,Fn),Fn+=3,fn.duration=wr(ui,Fn),Fn+=3,Mi=ui[Fn++],fn.dispose=1&Mi,fn.blend=Mi>>1&1}bi!="ANMF"&&(Fn+=Fi)}return Si}}(Xr,0);Br.response=Xr,Br.rgbaoutput=!0,Br.dataurl=!1;var yr=Br.header?Br.header:null,xn=Br.frames?Br.frames:null;if(yr){yr.loop_counter=yr.loop_count,Or=[yr.canvas_height],jt=[yr.canvas_width];for(var Bn=0;Bn<xn.length&&xn[Bn].blend!=0;Bn++);}var ii=xn[0],oi=nr.WebPDecodeRGBA(Xr,ii.src_off,ii.src_size,jt,Or);ii.rgba=oi,ii.imgwidth=jt[0],ii.imgheight=Or[0];for(var ei=0;ei<jt[0]*Or[0]*4;ei++)cn[ei]=oi[ei];return this.width=jt,this.height=Or,this.data=cn,this}!function(Ve){var Se=function(){return typeof m.b=="function"},Re=function(jt,cn,nr,Xr){var Br=4,yr=Qe;switch(Xr){case Ve.image_compression.FAST:Br=1,yr=He;break;case Ve.image_compression.MEDIUM:Br=6,yr=At;break;case Ve.image_compression.SLOW:Br=9,yr=st}jt=Be(jt,cn,nr,yr);var xn=Object(m.b)(jt,{level:Br});return Ve.__addimage__.arrayBufferToBinaryString(xn)},Be=function(jt,cn,nr,Xr){for(var Br,yr,xn,Bn=jt.length/cn,ii=new Uint8Array(jt.length+Bn),oi=wr(),ei=0;ei<Bn;ei+=1){if(xn=ei*cn,Br=jt.subarray(xn,xn+cn),Xr)ii.set(Xr(Br,nr,yr),xn+ei);else{for(var ui,Fn=oi.length,Si=[];ui<Fn;ui+=1)Si[ui]=oi[ui](Br,nr,yr);var gn=mr(Si.concat());ii.set(Si[gn],xn+ei)}yr=Br}return ii},We=function(jt){var cn=Array.apply([],jt);return cn.unshift(0),cn},He=function(jt,cn){var nr,Xr=[],Br=jt.length;Xr[0]=1;for(var yr=0;yr<Br;yr+=1)nr=jt[yr-cn]||0,Xr[yr+1]=jt[yr]-nr+256&255;return Xr},Qe=function(jt,cn,nr){var Xr,Br=[],yr=jt.length;Br[0]=2;for(var xn=0;xn<yr;xn+=1)Xr=nr&&nr[xn]||0,Br[xn+1]=jt[xn]-Xr+256&255;return Br},At=function(jt,cn,nr){var Xr,Br,yr=[],xn=jt.length;yr[0]=3;for(var Bn=0;Bn<xn;Bn+=1)Xr=jt[Bn-cn]||0,Br=nr&&nr[Bn]||0,yr[Bn+1]=jt[Bn]+256-(Xr+Br>>>1)&255;return yr},st=function(jt,cn,nr){var Xr,Br,yr,xn,Bn=[],ii=jt.length;Bn[0]=4;for(var oi=0;oi<ii;oi+=1)Xr=jt[oi-cn]||0,Br=nr&&nr[oi]||0,yr=nr&&nr[oi-cn]||0,xn=Pt(Xr,Br,yr),Bn[oi+1]=jt[oi]-xn+256&255;return Bn},Pt=function(jt,cn,nr){if(jt===cn&&cn===nr)return jt;var Xr=Math.abs(cn-nr),Br=Math.abs(jt-nr),yr=Math.abs(jt+cn-nr-nr);return Xr<=Br&&Xr<=yr?jt:Br<=yr?cn:nr},wr=function(){return[We,He,Qe,At,st]},mr=function(jt){var cn=jt.map(function(nr){return nr.reduce(function(Xr,Br){return Xr+Math.abs(Br)},0)});return cn.indexOf(Math.min.apply(null,cn))};Ve.processPNG=function(Or,jt,cn,nr){var Xr,Br,yr,xn,Bn,ii,oi,ei,ui,Fn,Si,gn,Wr,En,on,ci=this.decode.FLATE_DECODE,ri="";if(this.__addimage__.isArrayBuffer(Or)&&(Or=new Uint8Array(Or)),this.__addimage__.isArrayBufferView(Or)){if(Or=(yr=new rt(Or)).imgData,Br=yr.bits,Xr=yr.colorSpace,Bn=yr.colors,[4,6].indexOf(yr.colorType)!==-1){if(yr.bits===8){ui=(ei=yr.pixelBitlength==32?new Uint32Array(yr.decodePixels().buffer):yr.pixelBitlength==16?new Uint16Array(yr.decodePixels().buffer):new Uint8Array(yr.decodePixels().buffer)).length,Si=new Uint8Array(ui*yr.colors),Fn=new Uint8Array(ui);var bi,Gn=yr.pixelBitlength-yr.bits;for(En=0,on=0;En<ui;En++){for(Wr=ei[En],bi=0;bi<Gn;)Si[on++]=Wr>>>bi&255,bi+=yr.bits;Fn[En]=Wr>>>bi&255}}if(yr.bits===16){ui=(ei=new Uint32Array(yr.decodePixels().buffer)).length,Si=new Uint8Array(ui*(32/yr.pixelBitlength)*yr.colors),Fn=new Uint8Array(ui*(32/yr.pixelBitlength)),gn=yr.colors>1,En=0,on=0;for(var Fi=0;En<ui;)Wr=ei[En++],Si[on++]=Wr>>>0&255,gn&&(Si[on++]=Wr>>>16&255,Wr=ei[En++],Si[on++]=Wr>>>0&255),Fn[Fi++]=Wr>>>16&255;Br=8}nr!==Ve.image_compression.NONE&&Se()?(Or=Re(Si,yr.width*yr.colors,yr.colors,nr),oi=Re(Fn,yr.width,1,nr)):(Or=Si,oi=Fn,ci=void 0)}if(yr.colorType===3&&(Xr=this.color_spaces.INDEXED,ii=yr.palette,yr.transparency.indexed)){var Jn=yr.transparency.indexed,Mi=0;for(En=0,ui=Jn.length;En<ui;++En)Mi+=Jn[En];if((Mi/=255)===ui-1&&Jn.indexOf(0)!==-1)xn=[Jn.indexOf(0)];else if(Mi!==ui){for(ei=yr.decodePixels(),Fn=new Uint8Array(ei.length),En=0,ui=ei.length;En<ui;En++)Fn[En]=Jn[ei[En]];oi=Re(Fn,yr.width,1)}}var fn=function(kr){var yn;switch(kr){case Ve.image_compression.FAST:yn=11;break;case Ve.image_compression.MEDIUM:yn=13;break;case Ve.image_compression.SLOW:yn=14;break;default:yn=12}return yn}(nr);return ci===this.decode.FLATE_DECODE&&(ri="/Predictor "+fn+" "),ri+="/Colors "+Bn+" /BitsPerComponent "+Br+" /Columns "+yr.width,(this.__addimage__.isArrayBuffer(Or)||this.__addimage__.isArrayBufferView(Or))&&(Or=this.__addimage__.arrayBufferToBinaryString(Or)),(oi&&this.__addimage__.isArrayBuffer(oi)||this.__addimage__.isArrayBufferView(oi))&&(oi=this.__addimage__.arrayBufferToBinaryString(oi)),{alias:cn,data:Or,index:jt,filter:ci,decodeParameters:ri,transparency:xn,palette:ii,sMask:oi,predictor:fn,width:yr.width,height:yr.height,bitsPerComponent:Br,colorSpace:Xr}}}}(K.API),function(Ve){Ve.processGIF89A=function(Se,Re,Be,We){var He=new Vt(Se),Qe=He.width,At=He.height,st=[];He.decodeAndBlitFrameRGBA(0,st);var Pt={data:st,width:Qe,height:At},wr=new zt(100).encode(Pt,100);return Ve.processJPEG.call(this,wr,Re,Be,We)},Ve.processGIF87A=Ve.processGIF89A}(K.API),Dr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var Ve=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ve);for(var Se=0;Se<Ve;Se++){var Re=this.datav.getUint8(this.pos++,!0),Be=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0);this.palette[Se]={red:We,green:Be,blue:Re,quad:He}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Dr.prototype.parseBGR=function(){this.pos=this.offset;try{var Ve="bit"+this.bitPP,Se=this.width*this.height*4;this.data=new Uint8Array(Se),this[Ve]()}catch(Re){d.log("bit decode error:"+Re)}},Dr.prototype.bit1=function(){var Ve,Se=Math.ceil(this.width/8),Re=Se%4;for(Ve=this.height-1;Ve>=0;Ve--){for(var Be=this.bottom_up?Ve:this.height-1-Ve,We=0;We<Se;We++)for(var He=this.datav.getUint8(this.pos++,!0),Qe=Be*this.width*4+8*We*4,At=0;At<8&&8*We+At<this.width;At++){var st=this.palette[He>>7-At&1];this.data[Qe+4*At]=st.blue,this.data[Qe+4*At+1]=st.green,this.data[Qe+4*At+2]=st.red,this.data[Qe+4*At+3]=255}Re!==0&&(this.pos+=4-Re)}},Dr.prototype.bit4=function(){for(var Ve=Math.ceil(this.width/2),Se=Ve%4,Re=this.height-1;Re>=0;Re--){for(var Be=this.bottom_up?Re:this.height-1-Re,We=0;We<Ve;We++){var He=this.datav.getUint8(this.pos++,!0),Qe=Be*this.width*4+2*We*4,At=He>>4,st=15&He,Pt=this.palette[At];if(this.data[Qe]=Pt.blue,this.data[Qe+1]=Pt.green,this.data[Qe+2]=Pt.red,this.data[Qe+3]=255,2*We+1>=this.width)break;Pt=this.palette[st],this.data[Qe+4]=Pt.blue,this.data[Qe+4+1]=Pt.green,this.data[Qe+4+2]=Pt.red,this.data[Qe+4+3]=255}Se!==0&&(this.pos+=4-Se)}},Dr.prototype.bit8=function(){for(var Ve=this.width%4,Se=this.height-1;Se>=0;Se--){for(var Re=this.bottom_up?Se:this.height-1-Se,Be=0;Be<this.width;Be++){var We=this.datav.getUint8(this.pos++,!0),He=Re*this.width*4+4*Be;if(We<this.palette.length){var Qe=this.palette[We];this.data[He]=Qe.red,this.data[He+1]=Qe.green,this.data[He+2]=Qe.blue,this.data[He+3]=255}else this.data[He]=255,this.data[He+1]=255,this.data[He+2]=255,this.data[He+3]=255}Ve!==0&&(this.pos+=4-Ve)}},Dr.prototype.bit15=function(){for(var Ve=this.width%3,Se=parseInt("11111",2),Re=this.height-1;Re>=0;Re--){for(var Be=this.bottom_up?Re:this.height-1-Re,We=0;We<this.width;We++){var He=this.datav.getUint16(this.pos,!0);this.pos+=2;var Qe=(He&Se)/Se*255|0,At=(He>>5&Se)/Se*255|0,st=(He>>10&Se)/Se*255|0,Pt=He>>15?255:0,wr=Be*this.width*4+4*We;this.data[wr]=st,this.data[wr+1]=At,this.data[wr+2]=Qe,this.data[wr+3]=Pt}this.pos+=Ve}},Dr.prototype.bit16=function(){for(var Ve=this.width%3,Se=parseInt("11111",2),Re=parseInt("111111",2),Be=this.height-1;Be>=0;Be--){for(var We=this.bottom_up?Be:this.height-1-Be,He=0;He<this.width;He++){var Qe=this.datav.getUint16(this.pos,!0);this.pos+=2;var At=(Qe&Se)/Se*255|0,st=(Qe>>5&Re)/Re*255|0,Pt=(Qe>>11)/Se*255|0,wr=We*this.width*4+4*He;this.data[wr]=Pt,this.data[wr+1]=st,this.data[wr+2]=At,this.data[wr+3]=255}this.pos+=Ve}},Dr.prototype.bit24=function(){for(var Ve=this.height-1;Ve>=0;Ve--){for(var Se=this.bottom_up?Ve:this.height-1-Ve,Re=0;Re<this.width;Re++){var Be=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),Qe=Se*this.width*4+4*Re;this.data[Qe]=He,this.data[Qe+1]=We,this.data[Qe+2]=Be,this.data[Qe+3]=255}this.pos+=this.width%4}},Dr.prototype.bit32=function(){for(var Ve=this.height-1;Ve>=0;Ve--)for(var Se=this.bottom_up?Ve:this.height-1-Ve,Re=0;Re<this.width;Re++){var Be=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),Qe=this.datav.getUint8(this.pos++,!0),At=Se*this.width*4+4*Re;this.data[At]=He,this.data[At+1]=We,this.data[At+2]=Be,this.data[At+3]=Qe}},Dr.prototype.getData=function(){return this.data},function(Ve){Ve.processBMP=function(Se,Re,Be,We){var He=new Dr(Se,!1),Qe=He.width,At=He.height,st={data:He.getData(),width:Qe,height:At},Pt=new zt(100).encode(st,100);return Ve.processJPEG.call(this,Pt,Re,Be,We)}}(K.API),Pr.prototype.getData=function(){return this.data},function(Ve){Ve.processWEBP=function(Se,Re,Be,We){var He=new Pr(Se,!1),Qe=He.width,At=He.height,st={data:He.getData(),width:Qe,height:At},Pt=new zt(100).encode(st,100);return Ve.processJPEG.call(this,Pt,Re,Be,We)}}(K.API),K.API.processRGBA=function(Ve,Se,Re){for(var Be=Ve.data,We=Be.length,He=new Uint8Array(We/4*3),Qe=new Uint8Array(We/4),At=0,st=0,Pt=0;Pt<We;Pt+=4){var wr=Be[Pt],mr=Be[Pt+1],Or=Be[Pt+2],jt=Be[Pt+3];He[At++]=wr,He[At++]=mr,He[At++]=Or,Qe[st++]=jt}var cn=this.__addimage__.arrayBufferToBinaryString(He);return{alpha:this.__addimage__.arrayBufferToBinaryString(Qe),data:cn,index:Se,alias:Re,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Ve.width,height:Ve.height}},K.API.setLanguage=function(Ve){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[Ve]!==void 0&&(this.internal.languageSettings.languageCode=Ve,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Je=K.API,et=Je.getCharWidthsArray=function(Ve,Se){var Re,Be,We=(Se=Se||{}).font||this.internal.getFont(),He=Se.fontSize||this.internal.getFontSize(),Qe=Se.charSpace||this.internal.getCharSpace(),At=Se.widths?Se.widths:We.metadata.Unicode.widths,st=At.fof?At.fof:1,Pt=Se.kerning?Se.kerning:We.metadata.Unicode.kerning,wr=Pt.fof?Pt.fof:1,mr=Se.doKerning!==!1,Or=0,jt=Ve.length,cn=0,nr=At[0]||st,Xr=[];for(Re=0;Re<jt;Re++)Be=Ve.charCodeAt(Re),typeof We.metadata.widthOfString=="function"?Xr.push((We.metadata.widthOfGlyph(We.metadata.characterToGlyph(Be))+Qe*(1e3/He)||0)/1e3):(Or=mr&&S()(Pt[Be])==="object"&&!isNaN(parseInt(Pt[Be][cn],10))?Pt[Be][cn]/wr:0,Xr.push((At[Be]||nr)/st+Or)),cn=Be;return Xr},be=Je.getStringUnitWidth=function(Ve,Se){var Re=(Se=Se||{}).fontSize||this.internal.getFontSize(),Be=Se.font||this.internal.getFont(),We=Se.charSpace||this.internal.getCharSpace();return Je.processArabic&&(Ve=Je.processArabic(Ve)),typeof Be.metadata.widthOfString=="function"?Be.metadata.widthOfString(Ve,Re,We)/Re:et.apply(this,arguments).reduce(function(He,Qe){return He+Qe},0)},Le=function(Se,Re,Be,We){for(var He=[],Qe=0,At=Se.length,st=0;Qe!==At&&st+Re[Qe]<Be;)st+=Re[Qe],Qe++;He.push(Se.slice(0,Qe));var Pt=Qe;for(st=0;Qe!==At;)st+Re[Qe]>We&&(He.push(Se.slice(Pt,Qe)),st=0,Pt=Qe),st+=Re[Qe],Qe++;return Pt!==Qe&&He.push(Se.slice(Pt,Qe)),He},Ue=function(Se,Re,Be){Be||(Be={});var We,He,Qe,At,st,Pt,wr,mr=[],Or=[mr],jt=Be.textIndent||0,cn=0,nr=0,Xr=Se.split(" "),Br=et.apply(this,[" ",Be])[0];if(Pt=Be.lineIndent===-1?Xr[0].length+2:Be.lineIndent||0){var yr=Array(Pt).join(" "),xn=[];Xr.map(function(ii){(ii=ii.split(/\s*\n/)).length>1?xn=xn.concat(ii.map(function(oi,ei){return(ei&&oi.length?`
|
|
|
`:"")+oi})):xn.push(ii[0])}),Xr=xn,Pt=be.apply(this,[yr,Be])}for(Qe=0,At=Xr.length;Qe<At;Qe++){var Bn=0;if(We=Xr[Qe],Pt&&We[0]==`
|
|
|
`&&(We=We.substr(1),Bn=1),jt+cn+(nr=(He=et.apply(this,[We,Be])).reduce(function(ii,oi){return ii+oi},0))>Re||Bn){if(nr>Re){for(st=Le.apply(this,[We,He,Re-(jt+cn),Re]),mr.push(st.shift()),mr=[st.pop()];st.length;)Or.push([st.shift()]);nr=He.slice(We.length-(mr[0]?mr[0].length:0)).reduce(function(ii,oi){return ii+oi},0)}else mr=[We];Or.push(mr),jt=nr+Pt,cn=Br}else mr.push(We),jt+=cn+nr,cn=Br}return wr=Pt?function(ii,oi){return(oi?yr:"")+ii.join(" ")}:function(ii){return ii.join(" ")},Or.map(wr)},Je.splitTextToSize=function(Ve,Se,Re){var Be,We=(Re=Re||{}).fontSize||this.internal.getFontSize(),He=function(wr){if(wr.widths&&wr.kerning)return{widths:wr.widths,kerning:wr.kerning};var mr=this.internal.getFont(wr.fontName,wr.fontStyle);return mr.metadata.Unicode?{widths:mr.metadata.Unicode.widths||{0:1},kerning:mr.metadata.Unicode.kerning||{}}:{font:mr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Re);Be=Array.isArray(Ve)?Ve:String(Ve).split(/\r?\n/);var Qe=1*this.internal.scaleFactor*Se/We;He.textIndent=Re.textIndent?1*Re.textIndent*this.internal.scaleFactor/We:0,He.lineIndent=Re.lineIndent;var At,st,Pt=[];for(At=0,st=Be.length;At<st;At++)Pt=Pt.concat(Ue.apply(this,[Be[At],Qe,He]));return Pt},function(Ve){Ve.__fontmetrics__=Ve.__fontmetrics__||{};for(var Se="klmnopqrstuvwxyz",Re={},Be={},We=0;We<Se.length;We++)Re[Se[We]]="0123456789abcdef"[We],Be["0123456789abcdef"[We]]=Se[We];var He=function(Or){return"0x"+parseInt(Or,10).toString(16)},Qe=Ve.__fontmetrics__.compress=function(mr){var Or,jt,cn,nr,Xr=["{"];for(var Br in mr){if(Or=mr[Br],isNaN(parseInt(Br,10))?jt="'"+Br+"'":(Br=parseInt(Br,10),jt=(jt=He(Br).slice(2)).slice(0,-1)+Be[jt.slice(-1)]),typeof Or=="number")Or<0?(cn=He(Or).slice(3),nr="-"):(cn=He(Or).slice(2),nr=""),cn=nr+cn.slice(0,-1)+Be[cn.slice(-1)];else{if(S()(Or)!=="object")throw new Error("Don't know what to do with value type "+S()(Or)+".");cn=Qe(Or)}Xr.push(jt+cn)}return Xr.push("}"),Xr.join("")},At=Ve.__fontmetrics__.uncompress=function(mr){if(typeof mr!="string")throw new Error("Invalid argument passed to uncompress.");for(var Or,jt,cn,nr,Xr={},Br=1,yr=Xr,xn=[],Bn="",ii="",oi=mr.length-1,ei=1;ei<oi;ei+=1)(nr=mr[ei])=="'"?Or?(cn=Or.join(""),Or=void 0):Or=[]:Or?Or.push(nr):nr=="{"?(xn.push([yr,cn]),yr={},cn=void 0):nr=="}"?((jt=xn.pop())[0][jt[1]]=yr,cn=void 0,yr=jt[0]):nr=="-"?Br=-1:cn===void 0?Re.hasOwnProperty(nr)?(Bn+=Re[nr],cn=parseInt(Bn,16)*Br,Br=1,Bn=""):Bn+=nr:Re.hasOwnProperty(nr)?(ii+=Re[nr],yr[cn]=parseInt(ii,16)*Br,Br=1,cn=void 0,ii=""):ii+=nr;return Xr},st={codePages:["WinAnsiEncoding"],WinAnsiEncoding:At("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Pt={Unicode:{Courier:st,"Courier-Bold":st,"Courier-BoldOblique":st,"Courier-Oblique":st,Helvetica:st,"Helvetica-Bold":st,"Helvetica-BoldOblique":st,"Helvetica-Oblique":st,"Times-Roman":st,"Times-Bold":st,"Times-BoldItalic":st,"Times-Italic":st}},wr={Unicode:{"Courier-Oblique":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":At("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":At("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":At("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:At("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:At("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":At("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:At("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":At("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":At("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":At("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":At("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};Ve.events.push(["addFont",function(mr){var Or=mr.font,jt=wr.Unicode[Or.postScriptName];jt&&(Or.metadata.Unicode={},Or.metadata.Unicode.widths=jt.widths,Or.metadata.Unicode.kerning=jt.kerning);var cn=Pt.Unicode[Or.postScriptName];cn&&(Or.metadata.Unicode.encoding=cn,Or.encoding=cn.codePages[0])}])}(K.API),function(Ve){var Se=function(Be){for(var We=Be.length,He=new Uint8Array(We),Qe=0;Qe<We;Qe++)He[Qe]=Be.charCodeAt(Qe);return He};Ve.API.events.push(["addFont",function(Re){var Be=void 0,We=Re.font,He=Re.instance;if(!We.isStandardFont){if(He===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+We.postScriptName+"').");if(typeof(Be=He.existsFileInVFS(We.postScriptName)===!1?He.loadFile(We.postScriptName):He.getFileFromVFS(We.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+We.postScriptName+"').");!function(Qe,At){At=/^\x00\x01\x00\x00/.test(At)?Se(At):Se(i(At)),Qe.metadata=Ve.API.TTFFont.open(At),Qe.metadata.Unicode=Qe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Qe.metadata.glyIdsUsed=[0]}(We,Be)}}])}(K),function(Ve){function Se(){return(g.canvg?Promise.resolve(g.canvg):Promise.all([t.e(0),t.e(211)]).then(t.bind(null,"DXPr"))).catch(function(Re){return Promise.reject(new Error("Could not load canvg: "+Re))}).then(function(Re){return Re.default?Re.default:Re})}K.API.addSvgAsImage=function(Re,Be,We,He,Qe,At,st,Pt){if(isNaN(Be)||isNaN(We))throw d.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(He)||isNaN(Qe))throw d.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var wr=document.createElement("canvas");wr.width=He,wr.height=Qe;var mr=wr.getContext("2d");mr.fillStyle="#fff",mr.fillRect(0,0,wr.width,wr.height);var Or={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},jt=this;return Se().then(function(cn){return cn.fromString(mr,Re,Or)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(cn){return cn.render(Or)}).then(function(){jt.addImage(wr.toDataURL("image/jpeg",1),Be,We,He,Qe,st,Pt)})}}(),K.API.putTotalPages=function(Ve){var Se,Re=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(Se=new RegExp(Ve,"g"),Re=this.internal.getNumberOfPages()):(Se=new RegExp(this.pdfEscape16(Ve,this.internal.getFont()),"g"),Re=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var Be=1;Be<=this.internal.getNumberOfPages();Be++)for(var We=0;We<this.internal.pages[Be].length;We++)this.internal.pages[Be][We]=this.internal.pages[Be][We].replace(Se,Re);return this},K.API.viewerPreferences=function(Ve,Se){var Re;Ve=Ve||{},Se=Se||!1;var Be,We,He,Qe={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},At=Object.keys(Qe),st=[],Pt=0,wr=0,mr=0;function Or(cn,nr){var Xr,Br=!1;for(Xr=0;Xr<cn.length;Xr+=1)cn[Xr]===nr&&(Br=!0);return Br}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Qe)),this.internal.viewerpreferences.isSubscribed=!1),Re=this.internal.viewerpreferences.configuration,Ve==="reset"||Se===!0){var jt=At.length;for(mr=0;mr<jt;mr+=1)Re[At[mr]].value=Re[At[mr]].defaultValue,Re[At[mr]].explicitSet=!1}if(S()(Ve)==="object"){for(We in Ve)if(He=Ve[We],Or(At,We)&&He!==void 0){if(Re[We].type==="boolean"&&typeof He=="boolean")Re[We].value=He;else if(Re[We].type==="name"&&Or(Re[We].valueSet,He))Re[We].value=He;else if(Re[We].type==="integer"&&Number.isInteger(He))Re[We].value=He;else if(Re[We].type==="array"){for(Pt=0;Pt<He.length;Pt+=1)if(Be=!0,He[Pt].length===1&&typeof He[Pt][0]=="number")st.push(String(He[Pt]-1));else if(He[Pt].length>1){for(wr=0;wr<He[Pt].length;wr+=1)typeof He[Pt][wr]!="number"&&(Be=!1);Be===!0&&st.push([He[Pt][0]-1,He[Pt][1]-1].join(" "))}Re[We].value="["+st.join(" ")+"]"}else Re[We].value=Re[We].defaultValue;Re[We].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var cn,nr=[];for(cn in Re)Re[cn].explicitSet===!0&&(Re[cn].type==="name"?nr.push("/"+cn+" /"+Re[cn].value):nr.push("/"+cn+" "+Re[cn].value));nr.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+nr.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Re,this},function(Ve){var Se=function(){var We='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',He=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Qe=unescape(encodeURIComponent(We)),At=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),st=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Pt=unescape(encodeURIComponent("</x:xmpmeta>")),wr=Qe.length+At.length+st.length+He.length+Pt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+wr+" >>"),this.internal.write("stream"),this.internal.write(He+Qe+At+st+Pt),this.internal.write("endstream"),this.internal.write("endobj")},Re=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Ve.addMetadata=function(Be,We){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:Be,namespaceuri:We||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Re),this.internal.events.subscribe("postPutResources",Se)),this}}(K.API),function(Ve){var Se=Ve.API,Re=Se.pdfEscape16=function(He,Qe){for(var At,st=Qe.metadata.Unicode.widths,Pt=["","0","00","000","0000"],wr=[""],mr=0,Or=He.length;mr<Or;++mr){if(At=Qe.metadata.characterToGlyph(He.charCodeAt(mr)),Qe.metadata.glyIdsUsed.push(At),Qe.metadata.toUnicode[At]=He.charCodeAt(mr),st.indexOf(At)==-1&&(st.push(At),st.push([parseInt(Qe.metadata.widthOfGlyph(At),10)])),At=="0")return wr.join("");At=At.toString(16),wr.push(Pt[4-At.length],At)}return wr.join("")},Be=function(Qe){var At,st,Pt,wr,mr,Or,jt;for(mr=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,Pt=[],Or=0,jt=(st=Object.keys(Qe).sort(function(cn,nr){return cn-nr})).length;Or<jt;Or++)At=st[Or],Pt.length>=100&&(mr+=`
|
|
|
`+Pt.length+` beginbfchar
|
|
|
`+Pt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,Pt=[]),Qe[At]!==void 0&&Qe[At]!==null&&typeof Qe[At].toString=="function"&&(wr=("0000"+Qe[At].toString(16)).slice(-4),At=("0000"+(+At).toString(16)).slice(-4),Pt.push("<"+At+"><"+wr+">"));return Pt.length&&(mr+=`
|
|
|
`+Pt.length+` beginbfchar
|
|
|
`+Pt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),mr+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};Se.events.push(["putFont",function(He){!function(Qe){var At=Qe.font,st=Qe.out,Pt=Qe.newObject,wr=Qe.putStream;if(At.metadata instanceof Ve.API.TTFFont&&At.encoding==="Identity-H"){for(var mr=At.metadata.Unicode.widths,Or=At.metadata.subset.encode(At.metadata.glyIdsUsed,1),jt="",cn=0;cn<Or.length;cn++)jt+=String.fromCharCode(Or[cn]);var nr=Pt();wr({data:jt,addLength1:!0,objectId:nr}),st("endobj");var Xr=Pt();wr({data:Be(At.metadata.toUnicode),addLength1:!0,objectId:Xr}),st("endobj");var Br=Pt();st("<<"),st("/Type /FontDescriptor"),st("/FontName /"+P(At.fontName)),st("/FontFile2 "+nr+" 0 R"),st("/FontBBox "+Ve.API.PDFObject.convert(At.metadata.bbox)),st("/Flags "+At.metadata.flags),st("/StemV "+At.metadata.stemV),st("/ItalicAngle "+At.metadata.italicAngle),st("/Ascent "+At.metadata.ascender),st("/Descent "+At.metadata.decender),st("/CapHeight "+At.metadata.capHeight),st(">>"),st("endobj");var yr=Pt();st("<<"),st("/Type /Font"),st("/BaseFont /"+P(At.fontName)),st("/FontDescriptor "+Br+" 0 R"),st("/W "+Ve.API.PDFObject.convert(mr)),st("/CIDToGIDMap /Identity"),st("/DW 1000"),st("/Subtype /CIDFontType2"),st("/CIDSystemInfo"),st("<<"),st("/Supplement 0"),st("/Registry (Adobe)"),st("/Ordering ("+At.encoding+")"),st(">>"),st(">>"),st("endobj"),At.objectNumber=Pt(),st("<<"),st("/Type /Font"),st("/Subtype /Type0"),st("/ToUnicode "+Xr+" 0 R"),st("/BaseFont /"+P(At.fontName)),st("/Encoding /"+At.encoding),st("/DescendantFonts ["+yr+" 0 R]"),st(">>"),st("endobj"),At.isAlreadyPutted=!0}}(He)}]),Se.events.push(["putFont",function(He){!function(Qe){var At=Qe.font,st=Qe.out,Pt=Qe.newObject,wr=Qe.putStream;if(At.metadata instanceof Ve.API.TTFFont&&At.encoding==="WinAnsiEncoding"){for(var mr=At.metadata.rawData,Or="",jt=0;jt<mr.length;jt++)Or+=String.fromCharCode(mr[jt]);var cn=Pt();wr({data:Or,addLength1:!0,objectId:cn}),st("endobj");var nr=Pt();wr({data:Be(At.metadata.toUnicode),addLength1:!0,objectId:nr}),st("endobj");var Xr=Pt();st("<<"),st("/Descent "+At.metadata.decender),st("/CapHeight "+At.metadata.capHeight),st("/StemV "+At.metadata.stemV),st("/Type /FontDescriptor"),st("/FontFile2 "+cn+" 0 R"),st("/Flags 96"),st("/FontBBox "+Ve.API.PDFObject.convert(At.metadata.bbox)),st("/FontName /"+P(At.fontName)),st("/ItalicAngle "+At.metadata.italicAngle),st("/Ascent "+At.metadata.ascender),st(">>"),st("endobj"),At.objectNumber=Pt();for(var Br=0;Br<At.metadata.hmtx.widths.length;Br++)At.metadata.hmtx.widths[Br]=parseInt(At.metadata.hmtx.widths[Br]*(1e3/At.metadata.head.unitsPerEm));st("<</Subtype/TrueType/Type/Font/ToUnicode "+nr+" 0 R/BaseFont/"+P(At.fontName)+"/FontDescriptor "+Xr+" 0 R/Encoding/"+At.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ve.API.PDFObject.convert(At.metadata.hmtx.widths)+">>"),st("endobj"),At.isAlreadyPutted=!0}}(He)}]);var We=function(Qe){var At,st=Qe.text||"",Pt=Qe.x,wr=Qe.y,mr=Qe.options||{},Or=Qe.mutex||{},jt=Or.pdfEscape,cn=Or.activeFontKey,nr=Or.fonts,Xr=cn,Br="",yr=0,xn="",Bn=nr[Xr].encoding;if(nr[Xr].encoding!=="Identity-H")return{text:st,x:Pt,y:wr,options:mr,mutex:Or};for(xn=st,Xr=cn,Array.isArray(st)&&(xn=st[0]),yr=0;yr<xn.length;yr+=1)nr[Xr].metadata.hasOwnProperty("cmap")&&(At=nr[Xr].metadata.cmap.unicode.codeMap[xn[yr].charCodeAt(0)]),At||xn[yr].charCodeAt(0)<256&&nr[Xr].metadata.hasOwnProperty("Unicode")?Br+=xn[yr]:Br+="";var ii="";return parseInt(Xr.slice(1))<14||Bn==="WinAnsiEncoding"?ii=jt(Br,Xr).split("").map(function(oi){return oi.charCodeAt(0).toString(16)}).join(""):Bn==="Identity-H"&&(ii=Re(Br,nr[Xr])),Or.isHex=!0,{text:ii,x:Pt,y:wr,options:mr,mutex:Or}};Se.events.push(["postProcessText",function(He){var Qe=He.text||"",At=[],st={text:Qe,x:He.x,y:He.y,options:He.options,mutex:He.mutex};if(Array.isArray(Qe)){var Pt=0;for(Pt=0;Pt<Qe.length;Pt+=1)Array.isArray(Qe[Pt])&&Qe[Pt].length===3?At.push([We(Object.assign({},st,{text:Qe[Pt][0]})).text,Qe[Pt][1],Qe[Pt][2]]):At.push(We(Object.assign({},st,{text:Qe[Pt]})).text);He.text=At}else He.text=We(Object.assign({},st,{text:Qe})).text}])}(K),function(Ve){var Se=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Ve.existsFileInVFS=function(Re){return Se.call(this),this.internal.vFS[Re]!==void 0},Ve.addFileToVFS=function(Re,Be){return Se.call(this),this.internal.vFS[Re]=Be,this},Ve.getFileFromVFS=function(Re){return Se.call(this),this.internal.vFS[Re]!==void 0?this.internal.vFS[Re]:null}}(K.API),function(Ve){Ve.__bidiEngine__=Ve.prototype.__bidiEngine__=function(Be){var We,He,Qe,At,st,Pt,wr,mr=Se,Or=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],jt=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],cn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},nr={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Xr=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],Br=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),yr=!1,xn=0;this.__bidiEngine__={};var Bn=function(Wr){var En=Wr.charCodeAt(),on=En>>8,ci=nr[on];return ci!==void 0?mr[256*ci+(255&En)]:on===252||on===253?"AL":Br.test(on)?"L":on===8?"R":"N"},ii=function(Wr){for(var En,on=0;on<Wr.length;on++){if((En=Bn(Wr.charAt(on)))==="L")return!1;if(En==="R")return!0}return!1},oi=function(Wr,En,on,ci){var ri,bi,Gn,Fi,Jn=En[ci];switch(Jn){case"L":case"R":yr=!1;break;case"N":case"AN":break;case"EN":yr&&(Jn="AN");break;case"AL":yr=!0,Jn="R";break;case"WS":Jn="N";break;case"CS":ci<1||ci+1>=En.length||(ri=on[ci-1])!=="EN"&&ri!=="AN"||(bi=En[ci+1])!=="EN"&&bi!=="AN"?Jn="N":yr&&(bi="AN"),Jn=bi===ri?bi:"N";break;case"ES":Jn=(ri=ci>0?on[ci-1]:"B")==="EN"&&ci+1<En.length&&En[ci+1]==="EN"?"EN":"N";break;case"ET":if(ci>0&&on[ci-1]==="EN"){Jn="EN";break}if(yr){Jn="N";break}for(Gn=ci+1,Fi=En.length;Gn<Fi&&En[Gn]==="ET";)Gn++;Jn=Gn<Fi&&En[Gn]==="EN"?"EN":"N";break;case"NSM":if(Qe&&!At){for(Fi=En.length,Gn=ci+1;Gn<Fi&&En[Gn]==="NSM";)Gn++;if(Gn<Fi){var Mi=Wr[ci],fn=Mi>=1425&&Mi<=2303||Mi===64286;if(ri=En[Gn],fn&&(ri==="R"||ri==="AL")){Jn="R";break}}}Jn=ci<1||(ri=En[ci-1])==="B"?"N":on[ci-1];break;case"B":yr=!1,We=!0,Jn=xn;break;case"S":He=!0,Jn="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":yr=!1;break;case"BN":Jn="N"}return Jn},ei=function(Wr,En,on){var ci=Wr.split("");return on&&ui(ci,on,{hiLevel:xn}),ci.reverse(),En&&En.reverse(),ci.join("")},ui=function(Wr,En,on){var ci,ri,bi,Gn,Fi,Jn=-1,Mi=Wr.length,fn=0,kr=[],yn=xn?jt:Or,jn=[];for(yr=!1,We=!1,He=!1,ri=0;ri<Mi;ri++)jn[ri]=Bn(Wr[ri]);for(bi=0;bi<Mi;bi++){if(Fi=fn,kr[bi]=oi(Wr,jn,kr,bi),ci=240&(fn=yn[Fi][cn[kr[bi]]]),fn&=15,En[bi]=Gn=yn[fn][5],ci>0)if(ci===16){for(ri=Jn;ri<bi;ri++)En[ri]=1;Jn=-1}else Jn=-1;if(yn[fn][6])Jn===-1&&(Jn=bi);else if(Jn>-1){for(ri=Jn;ri<bi;ri++)En[ri]=Gn;Jn=-1}jn[bi]==="B"&&(En[bi]=0),on.hiLevel|=Gn}He&&function(Xn,ti,di){for(var fi=0;fi<di;fi++)if(Xn[fi]==="S"){ti[fi]=xn;for(var mi=fi-1;mi>=0&&Xn[mi]==="WS";mi--)ti[mi]=xn}}(jn,En,Mi)},Fn=function(Wr,En,on,ci,ri){if(!(ri.hiLevel<Wr)){if(Wr===1&&xn===1&&!We)return En.reverse(),void(on&&on.reverse());for(var bi,Gn,Fi,Jn,Mi=En.length,fn=0;fn<Mi;){if(ci[fn]>=Wr){for(Fi=fn+1;Fi<Mi&&ci[Fi]>=Wr;)Fi++;for(Jn=fn,Gn=Fi-1;Jn<Gn;Jn++,Gn--)bi=En[Jn],En[Jn]=En[Gn],En[Gn]=bi,on&&(bi=on[Jn],on[Jn]=on[Gn],on[Gn]=bi);fn=Fi}fn++}}},Si=function(Wr,En,on){var ci=Wr.split(""),ri={hiLevel:xn};return on||(on=[]),ui(ci,on,ri),function(bi,Gn,Fi){if(Fi.hiLevel!==0&&wr)for(var Jn,Mi=0;Mi<bi.length;Mi++)Gn[Mi]===1&&(Jn=Xr.indexOf(bi[Mi]))>=0&&(bi[Mi]=Xr[Jn+1])}(ci,on,ri),Fn(2,ci,En,on,ri),Fn(1,ci,En,on,ri),ci.join("")};return this.__bidiEngine__.doBidiReorder=function(gn,Wr,En){if(function(ci,ri){if(ri)for(var bi=0;bi<ci.length;bi++)ri[bi]=bi;At===void 0&&(At=ii(ci)),Pt===void 0&&(Pt=ii(ci))}(gn,Wr),Qe||!st||Pt)if(Qe&&st&&At^Pt)xn=At?1:0,gn=ei(gn,Wr,En);else if(!Qe&&st&&Pt)xn=At?1:0,gn=Si(gn,Wr,En),gn=ei(gn,Wr);else if(!Qe||At||st||Pt){if(Qe&&!st&&At^Pt)gn=ei(gn,Wr),At?(xn=0,gn=Si(gn,Wr,En)):(xn=1,gn=Si(gn,Wr,En),gn=ei(gn,Wr));else if(Qe&&At&&!st&&Pt)xn=1,gn=Si(gn,Wr,En),gn=ei(gn,Wr);else if(!Qe&&!st&&At^Pt){var on=wr;At?(xn=1,gn=Si(gn,Wr,En),xn=0,wr=!1,gn=Si(gn,Wr,En),wr=on):(xn=0,gn=Si(gn,Wr,En),gn=ei(gn,Wr),xn=1,wr=!1,gn=Si(gn,Wr,En),wr=on,gn=ei(gn,Wr))}}else xn=0,gn=Si(gn,Wr,En);else xn=At?1:0,gn=Si(gn,Wr,En);return gn},this.__bidiEngine__.setOptions=function(gn){gn&&(Qe=gn.isInputVisual,st=gn.isOutputVisual,At=gn.isInputRtl,Pt=gn.isOutputRtl,wr=gn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(Be),this.__bidiEngine__};var Se=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],Re=new Ve.__bidiEngine__({isInputVisual:!0});Ve.API.events.push(["postProcessText",function(Be){var We=Be.text,He=(Be.x,Be.y,Be.options||{}),Qe=(Be.mutex,He.lang,[]);if(He.isInputVisual=typeof He.isInputVisual!="boolean"||He.isInputVisual,Re.setOptions(He),Object.prototype.toString.call(We)==="[object Array]"){var At=0;for(Qe=[],At=0;At<We.length;At+=1)Object.prototype.toString.call(We[At])==="[object Array]"?Qe.push([Re.doBidiReorder(We[At][0]),We[At][1],We[At][2]]):Qe.push([Re.doBidiReorder(We[At])]);Be.text=Qe}else Be.text=Re.doBidiReorder(We);Re.setOptions({isInputVisual:!0})}])}(K),K.API.TTFFont=function(){function Ve(Se){var Re;if(this.rawData=Se,Re=this.contents=new Ht(Se),this.contents.pos=4,Re.readString(4)==="ttcf")throw new Error("TTCF not supported.");Re.pos=0,this.parse(),this.subset=new Ri(this),this.registerTTF()}return Ve.open=function(Se){return new Ve(Se)},Ve.prototype.parse=function(){return this.directory=new dt(this.contents),this.head=new Jt(this),this.name=new lr(this),this.cmap=new Bt(this),this.toUnicode={},this.hhea=new mt(this),this.maxp=new Gr(this),this.hmtx=new Jr(this),this.post=new gr(this),this.os2=new kt(this),this.loca=new vi(this),this.glyf=new Nn(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},Ve.prototype.registerTTF=function(){var Se,Re,Be,We,He;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Qe,At,st,Pt;for(Pt=[],Qe=0,At=(st=this.bbox).length;Qe<At;Qe++)Se=st[Qe],Pt.push(Math.round(Se*this.scaleFactor));return Pt}.call(this),this.stemV=0,this.post.exists?(Be=255&(We=this.post.italic_angle),(32768&(Re=We>>16))!=0&&(Re=-(1+(65535^Re))),this.italicAngle=+(Re+"."+Be)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(He=this.familyClass)===1||He===2||He===3||He===4||He===5||He===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},Ve.prototype.characterToGlyph=function(Se){var Re;return((Re=this.cmap.unicode)!=null?Re.codeMap[Se]:void 0)||0},Ve.prototype.widthOfGlyph=function(Se){var Re;return Re=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Se).advance*Re},Ve.prototype.widthOfString=function(Se,Re,Be){var We,He,Qe,At;for(Qe=0,He=0,At=(Se=""+Se).length;0<=At?He<At:He>At;He=0<=At?++He:--He)We=Se.charCodeAt(He),Qe+=this.widthOfGlyph(this.characterToGlyph(We))+Be*(1e3/Re)||0;return Qe*(Re/1e3)},Ve.prototype.lineHeight=function(Se,Re){var Be;return Re==null&&(Re=!1),Be=Re?this.lineGap:0,(this.ascender+Be-this.decender)/1e3*Se},Ve}();var un,Ht=function(){function Ve(Se){this.data=Se!=null?Se:[],this.pos=0,this.length=this.data.length}return Ve.prototype.readByte=function(){return this.data[this.pos++]},Ve.prototype.writeByte=function(Se){return this.data[this.pos++]=Se},Ve.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ve.prototype.writeUInt32=function(Se){return this.writeByte(Se>>>24&255),this.writeByte(Se>>16&255),this.writeByte(Se>>8&255),this.writeByte(255&Se)},Ve.prototype.readInt32=function(){var Se;return(Se=this.readUInt32())>=2147483648?Se-4294967296:Se},Ve.prototype.writeInt32=function(Se){return Se<0&&(Se+=4294967296),this.writeUInt32(Se)},Ve.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ve.prototype.writeUInt16=function(Se){return this.writeByte(Se>>8&255),this.writeByte(255&Se)},Ve.prototype.readInt16=function(){var Se;return(Se=this.readUInt16())>=32768?Se-65536:Se},Ve.prototype.writeInt16=function(Se){return Se<0&&(Se+=65536),this.writeUInt16(Se)},Ve.prototype.readString=function(Se){var Re,Be;for(Be=[],Re=0;0<=Se?Re<Se:Re>Se;Re=0<=Se?++Re:--Re)Be[Re]=String.fromCharCode(this.readByte());return Be.join("")},Ve.prototype.writeString=function(Se){var Re,Be,We;for(We=[],Re=0,Be=Se.length;0<=Be?Re<Be:Re>Be;Re=0<=Be?++Re:--Re)We.push(this.writeByte(Se.charCodeAt(Re)));return We},Ve.prototype.readShort=function(){return this.readInt16()},Ve.prototype.writeShort=function(Se){return this.writeInt16(Se)},Ve.prototype.readLongLong=function(){var Se,Re,Be,We,He,Qe,At,st;return Se=this.readByte(),Re=this.readByte(),Be=this.readByte(),We=this.readByte(),He=this.readByte(),Qe=this.readByte(),At=this.readByte(),st=this.readByte(),128&Se?-1*(72057594037927940*(255^Se)+281474976710656*(255^Re)+1099511627776*(255^Be)+4294967296*(255^We)+16777216*(255^He)+65536*(255^Qe)+256*(255^At)+(255^st)+1):72057594037927940*Se+281474976710656*Re+1099511627776*Be+4294967296*We+16777216*He+65536*Qe+256*At+st},Ve.prototype.writeLongLong=function(Se){var Re,Be;return Re=Math.floor(Se/4294967296),Be=4294967295&Se,this.writeByte(Re>>24&255),this.writeByte(Re>>16&255),this.writeByte(Re>>8&255),this.writeByte(255&Re),this.writeByte(Be>>24&255),this.writeByte(Be>>16&255),this.writeByte(Be>>8&255),this.writeByte(255&Be)},Ve.prototype.readInt=function(){return this.readInt32()},Ve.prototype.writeInt=function(Se){return this.writeInt32(Se)},Ve.prototype.read=function(Se){var Re,Be;for(Re=[],Be=0;0<=Se?Be<Se:Be>Se;Be=0<=Se?++Be:--Be)Re.push(this.readByte());return Re},Ve.prototype.write=function(Se){var Re,Be,We,He;for(He=[],Be=0,We=Se.length;Be<We;Be++)Re=Se[Be],He.push(this.writeByte(Re));return He},Ve}(),dt=function(){var Ve;function Se(Re){var Be,We,He;for(this.scalarType=Re.readInt(),this.tableCount=Re.readShort(),this.searchRange=Re.readShort(),this.entrySelector=Re.readShort(),this.rangeShift=Re.readShort(),this.tables={},We=0,He=this.tableCount;0<=He?We<He:We>He;We=0<=He?++We:--We)Be={tag:Re.readString(4),checksum:Re.readInt(),offset:Re.readInt(),length:Re.readInt()},this.tables[Be.tag]=Be}return Se.prototype.encode=function(Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or,jt,cn,nr;for(nr in jt=Object.keys(Re).length,st=Math.log(2),mr=16*Math.floor(Math.log(jt)/st),Qe=Math.floor(mr/st),wr=16*jt-mr,(We=new Ht).writeInt(this.scalarType),We.writeShort(jt),We.writeShort(mr),We.writeShort(Qe),We.writeShort(wr),He=16*jt,Pt=We.pos+He,At=null,cn=[],Re)for(Or=Re[nr],We.writeString(nr),We.writeInt(Ve(Or)),We.writeInt(Pt),We.writeInt(Or.length),cn=cn.concat(Or),nr==="head"&&(At=Pt),Pt+=Or.length;Pt%4;)cn.push(0),Pt++;return We.write(cn),Be=2981146554-Ve(We.data),We.pos=At+8,We.writeUInt32(Be),We.data},Ve=function(Be){var We,He,Qe,At;for(Be=Tn.call(Be);Be.length%4;)Be.push(0);for(Qe=new Ht(Be),He=0,We=0,At=Be.length;We<At;We=We+=4)He+=Qe.readUInt32();return 4294967295&He},Se}(),at={}.hasOwnProperty,Qt=function(Se,Re){for(var Be in Re)at.call(Re,Be)&&(Se[Be]=Re[Be]);function We(){this.constructor=Se}return We.prototype=Re.prototype,Se.prototype=new We,Se.__super__=Re.prototype,Se};un=function(){function Ve(Se){var Re;this.file=Se,Re=this.file.directory.tables[this.tag],this.exists=!!Re,Re&&(this.offset=Re.offset,this.length=Re.length,this.parse(this.file.contents))}return Ve.prototype.parse=function(){},Ve.prototype.encode=function(){},Ve.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ve}();var Jt=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="head",Se.prototype.parse=function(Re){return Re.pos=this.offset,this.version=Re.readInt(),this.revision=Re.readInt(),this.checkSumAdjustment=Re.readInt(),this.magicNumber=Re.readInt(),this.flags=Re.readShort(),this.unitsPerEm=Re.readShort(),this.created=Re.readLongLong(),this.modified=Re.readLongLong(),this.xMin=Re.readShort(),this.yMin=Re.readShort(),this.xMax=Re.readShort(),this.yMax=Re.readShort(),this.macStyle=Re.readShort(),this.lowestRecPPEM=Re.readShort(),this.fontDirectionHint=Re.readShort(),this.indexToLocFormat=Re.readShort(),this.glyphDataFormat=Re.readShort()},Se.prototype.encode=function(Re){var Be;return(Be=new Ht).writeInt(this.version),Be.writeInt(this.revision),Be.writeInt(this.checkSumAdjustment),Be.writeInt(this.magicNumber),Be.writeShort(this.flags),Be.writeShort(this.unitsPerEm),Be.writeLongLong(this.created),Be.writeLongLong(this.modified),Be.writeShort(this.xMin),Be.writeShort(this.yMin),Be.writeShort(this.xMax),Be.writeShort(this.yMax),Be.writeShort(this.macStyle),Be.writeShort(this.lowestRecPPEM),Be.writeShort(this.fontDirectionHint),Be.writeShort(Re),Be.writeShort(this.glyphDataFormat),Be.data},Se}(),gt=function(){function Ve(Se,Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or,jt,cn,nr,Xr,Br,yr,xn;switch(this.platformID=Se.readUInt16(),this.encodingID=Se.readShort(),this.offset=Re+Se.readInt(),mr=Se.pos,Se.pos=this.offset,this.format=Se.readUInt16(),this.length=Se.readUInt16(),this.language=Se.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(st=0;st<256;++st)this.codeMap[st]=Se.readByte();break;case 4:for(jt=Se.readUInt16(),Or=jt/2,Se.pos+=6,He=function(){var Bn,ii;for(ii=[],st=Bn=0;0<=Or?Bn<Or:Bn>Or;st=0<=Or?++Bn:--Bn)ii.push(Se.readUInt16());return ii}(),Se.pos+=2,nr=function(){var Bn,ii;for(ii=[],st=Bn=0;0<=Or?Bn<Or:Bn>Or;st=0<=Or?++Bn:--Bn)ii.push(Se.readUInt16());return ii}(),Pt=function(){var Bn,ii;for(ii=[],st=Bn=0;0<=Or?Bn<Or:Bn>Or;st=0<=Or?++Bn:--Bn)ii.push(Se.readUInt16());return ii}(),wr=function(){var Bn,ii;for(ii=[],st=Bn=0;0<=Or?Bn<Or:Bn>Or;st=0<=Or?++Bn:--Bn)ii.push(Se.readUInt16());return ii}(),We=(this.length-Se.pos+this.offset)/2,At=function(){var Bn,ii;for(ii=[],st=Bn=0;0<=We?Bn<We:Bn>We;st=0<=We?++Bn:--Bn)ii.push(Se.readUInt16());return ii}(),st=Br=0,xn=He.length;Br<xn;st=++Br)for(Xr=He[st],Be=yr=cn=nr[st];cn<=Xr?yr<=Xr:yr>=Xr;Be=cn<=Xr?++yr:--yr)wr[st]===0?Qe=Be+Pt[st]:(Qe=At[wr[st]/2+(Be-cn)-(Or-st)]||0)!==0&&(Qe+=Pt[st]),this.codeMap[Be]=65535&Qe}Se.pos=mr}return Ve.encode=function(Se,Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or,jt,cn,nr,Xr,Br,yr,xn,Bn,ii,oi,ei,ui,Fn,Si,gn,Wr,En,on,ci,ri,bi,Gn,Fi,Jn,Mi,fn,kr,yn,jn,Xn,ti,di,fi,mi,Ki,ia;switch(on=new Ht,Qe=Object.keys(Se).sort(function(qi,Ra){return qi-Ra}),Re){case"macroman":for(nr=0,Xr=function(){var qi=[];for(cn=0;cn<256;++cn)qi.push(0);return qi}(),yr={0:0},He={},ci=0,Fi=Qe.length;ci<Fi;ci++)yr[fi=Se[We=Qe[ci]]]==null&&(yr[fi]=++nr),He[We]={old:Se[We],new:yr[Se[We]]},Xr[We]=yr[Se[We]];return on.writeUInt16(1),on.writeUInt16(0),on.writeUInt32(12),on.writeUInt16(0),on.writeUInt16(262),on.writeUInt16(0),on.write(Xr),{charMap:He,subtable:on.data,maxGlyphID:nr+1};case"unicode":for(Wr=[],mr=[],xn=0,yr={},Be={},Br=Pt=null,ri=0,Jn=Qe.length;ri<Jn;ri++)yr[ii=Se[We=Qe[ri]]]==null&&(yr[ii]=++xn),Be[We]={old:ii,new:yr[ii]},At=yr[ii]-We,Br!=null&&At===Pt||(Br&&mr.push(Br),Wr.push(We),Pt=At),Br=We;for(Br&&mr.push(Br),mr.push(65535),Wr.push(65535),Si=2*(Fn=Wr.length),ui=2*Math.pow(Math.log(Fn)/Math.LN2,2),Or=Math.log(ui/2)/Math.LN2,ei=2*Fn-ui,st=[],oi=[],jt=[],cn=bi=0,Mi=Wr.length;bi<Mi;cn=++bi){if(gn=Wr[cn],wr=mr[cn],gn===65535){st.push(0),oi.push(0);break}if(gn-(En=Be[gn].new)>=32768)for(st.push(0),oi.push(2*(jt.length+Fn-cn)),We=Gn=gn;gn<=wr?Gn<=wr:Gn>=wr;We=gn<=wr?++Gn:--Gn)jt.push(Be[We].new);else st.push(En-gn),oi.push(0)}for(on.writeUInt16(3),on.writeUInt16(1),on.writeUInt32(12),on.writeUInt16(4),on.writeUInt16(16+8*Fn+2*jt.length),on.writeUInt16(0),on.writeUInt16(Si),on.writeUInt16(ui),on.writeUInt16(Or),on.writeUInt16(ei),ti=0,fn=mr.length;ti<fn;ti++)We=mr[ti],on.writeUInt16(We);for(on.writeUInt16(0),di=0,kr=Wr.length;di<kr;di++)We=Wr[di],on.writeUInt16(We);for(mi=0,yn=st.length;mi<yn;mi++)At=st[mi],on.writeUInt16(At);for(Ki=0,jn=oi.length;Ki<jn;Ki++)Bn=oi[Ki],on.writeUInt16(Bn);for(ia=0,Xn=jt.length;ia<Xn;ia++)nr=jt[ia],on.writeUInt16(nr);return{charMap:Be,subtable:on.data,maxGlyphID:xn+1}}},Ve}(),Bt=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="cmap",Se.prototype.parse=function(Re){var Be,We,He;for(Re.pos=this.offset,this.version=Re.readUInt16(),He=Re.readUInt16(),this.tables=[],this.unicode=null,We=0;0<=He?We<He:We>He;We=0<=He?++We:--We)Be=new gt(Re,this.offset),this.tables.push(Be),Be.isUnicode&&this.unicode==null&&(this.unicode=Be);return!0},Se.encode=function(Re,Be){var We,He;return Be==null&&(Be="macroman"),We=gt.encode(Re,Be),(He=new Ht).writeUInt16(0),He.writeUInt16(1),We.table=He.data.concat(We.subtable),We},Se}(),mt=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="hhea",Se.prototype.parse=function(Re){return Re.pos=this.offset,this.version=Re.readInt(),this.ascender=Re.readShort(),this.decender=Re.readShort(),this.lineGap=Re.readShort(),this.advanceWidthMax=Re.readShort(),this.minLeftSideBearing=Re.readShort(),this.minRightSideBearing=Re.readShort(),this.xMaxExtent=Re.readShort(),this.caretSlopeRise=Re.readShort(),this.caretSlopeRun=Re.readShort(),this.caretOffset=Re.readShort(),Re.pos+=8,this.metricDataFormat=Re.readShort(),this.numberOfMetrics=Re.readUInt16()},Se}(),kt=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="OS/2",Se.prototype.parse=function(Re){if(Re.pos=this.offset,this.version=Re.readUInt16(),this.averageCharWidth=Re.readShort(),this.weightClass=Re.readUInt16(),this.widthClass=Re.readUInt16(),this.type=Re.readShort(),this.ySubscriptXSize=Re.readShort(),this.ySubscriptYSize=Re.readShort(),this.ySubscriptXOffset=Re.readShort(),this.ySubscriptYOffset=Re.readShort(),this.ySuperscriptXSize=Re.readShort(),this.ySuperscriptYSize=Re.readShort(),this.ySuperscriptXOffset=Re.readShort(),this.ySuperscriptYOffset=Re.readShort(),this.yStrikeoutSize=Re.readShort(),this.yStrikeoutPosition=Re.readShort(),this.familyClass=Re.readShort(),this.panose=function(){var Be,We;for(We=[],Be=0;Be<10;++Be)We.push(Re.readByte());return We}(),this.charRange=function(){var Be,We;for(We=[],Be=0;Be<4;++Be)We.push(Re.readInt());return We}(),this.vendorID=Re.readString(4),this.selection=Re.readShort(),this.firstCharIndex=Re.readShort(),this.lastCharIndex=Re.readShort(),this.version>0&&(this.ascent=Re.readShort(),this.descent=Re.readShort(),this.lineGap=Re.readShort(),this.winAscent=Re.readShort(),this.winDescent=Re.readShort(),this.codePageRange=function(){var Be,We;for(We=[],Be=0;Be<2;Be=++Be)We.push(Re.readInt());return We}(),this.version>1))return this.xHeight=Re.readShort(),this.capHeight=Re.readShort(),this.defaultChar=Re.readShort(),this.breakChar=Re.readShort(),this.maxContext=Re.readShort()},Se}(),gr=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="post",Se.prototype.parse=function(Re){var Be,We,He;switch(Re.pos=this.offset,this.format=Re.readInt(),this.italicAngle=Re.readInt(),this.underlinePosition=Re.readShort(),this.underlineThickness=Re.readShort(),this.isFixedPitch=Re.readInt(),this.minMemType42=Re.readInt(),this.maxMemType42=Re.readInt(),this.minMemType1=Re.readInt(),this.maxMemType1=Re.readInt(),this.format){case 65536:break;case 131072:var Qe;for(We=Re.readUInt16(),this.glyphNameIndex=[],Qe=0;0<=We?Qe<We:Qe>We;Qe=0<=We?++Qe:--Qe)this.glyphNameIndex.push(Re.readUInt16());for(this.names=[],He=[];Re.pos<this.offset+this.length;)Be=Re.readByte(),He.push(this.names.push(Re.readString(Be)));return He;case 151552:return We=Re.readUInt16(),this.offsets=Re.read(We);case 196608:break;case 262144:return this.map=function(){var At,st,Pt;for(Pt=[],Qe=At=0,st=this.file.maxp.numGlyphs;0<=st?At<st:At>st;Qe=0<=st?++At:--At)Pt.push(Re.readUInt32());return Pt}.call(this)}},Se}(),ar=function(Se,Re){this.raw=Se,this.length=Se.length,this.platformID=Re.platformID,this.encodingID=Re.encodingID,this.languageID=Re.languageID},lr=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="name",Se.prototype.parse=function(Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or,jt;for(Re.pos=this.offset,Re.readShort(),Be=Re.readShort(),st=Re.readShort(),We=[],Qe=0;0<=Be?Qe<Be:Qe>Be;Qe=0<=Be?++Qe:--Qe)We.push({platformID:Re.readShort(),encodingID:Re.readShort(),languageID:Re.readShort(),nameID:Re.readShort(),length:Re.readShort(),offset:this.offset+st+Re.readShort()});for(Pt={},Qe=mr=0,Or=We.length;mr<Or;Qe=++mr)He=We[Qe],Re.pos=He.offset,wr=Re.readString(He.length),At=new ar(wr,He),Pt[jt=He.nameID]==null&&(Pt[jt]=[]),Pt[He.nameID].push(At);this.strings=Pt,this.copyright=Pt[0],this.fontFamily=Pt[1],this.fontSubfamily=Pt[2],this.uniqueSubfamily=Pt[3],this.fontName=Pt[4],this.version=Pt[5];try{this.postscriptName=Pt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(cn){this.postscriptName=Pt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Pt[7],this.manufacturer=Pt[8],this.designer=Pt[9],this.description=Pt[10],this.vendorUrl=Pt[11],this.designerUrl=Pt[12],this.license=Pt[13],this.licenseUrl=Pt[14],this.preferredFamily=Pt[15],this.preferredSubfamily=Pt[17],this.compatibleFull=Pt[18],this.sampleText=Pt[19]},Se}(),Gr=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="maxp",Se.prototype.parse=function(Re){return Re.pos=this.offset,this.version=Re.readInt(),this.numGlyphs=Re.readUInt16(),this.maxPoints=Re.readUInt16(),this.maxContours=Re.readUInt16(),this.maxCompositePoints=Re.readUInt16(),this.maxComponentContours=Re.readUInt16(),this.maxZones=Re.readUInt16(),this.maxTwilightPoints=Re.readUInt16(),this.maxStorage=Re.readUInt16(),this.maxFunctionDefs=Re.readUInt16(),this.maxInstructionDefs=Re.readUInt16(),this.maxStackElements=Re.readUInt16(),this.maxSizeOfInstructions=Re.readUInt16(),this.maxComponentElements=Re.readUInt16(),this.maxComponentDepth=Re.readUInt16()},Se}(),Jr=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="hmtx",Se.prototype.parse=function(Re){var Be,We,He,Qe,At,st,Pt;for(Re.pos=this.offset,this.metrics=[],Be=0,st=this.file.hhea.numberOfMetrics;0<=st?Be<st:Be>st;Be=0<=st?++Be:--Be)this.metrics.push({advance:Re.readUInt16(),lsb:Re.readInt16()});for(He=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var wr,mr;for(mr=[],Be=wr=0;0<=He?wr<He:wr>He;Be=0<=He?++wr:--wr)mr.push(Re.readInt16());return mr}(),this.widths=function(){var wr,mr,Or,jt;for(jt=[],wr=0,mr=(Or=this.metrics).length;wr<mr;wr++)Qe=Or[wr],jt.push(Qe.advance);return jt}.call(this),We=this.widths[this.widths.length-1],Pt=[],Be=At=0;0<=He?At<He:At>He;Be=0<=He?++At:--At)Pt.push(this.widths.push(We));return Pt},Se.prototype.forGlyph=function(Re){return Re in this.metrics?this.metrics[Re]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Re-this.metrics.length]}},Se}(),Tn=[].slice,Nn=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="glyf",Se.prototype.parse=function(){return this.cache={}},Se.prototype.glyphFor=function(Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or;return Re in this.cache?this.cache[Re]:(Qe=this.file.loca,Be=this.file.contents,We=Qe.indexOf(Re),(He=Qe.lengthOf(Re))===0?this.cache[Re]=null:(Be.pos=this.offset+We,At=(st=new Ht(Be.read(He))).readShort(),wr=st.readShort(),Or=st.readShort(),Pt=st.readShort(),mr=st.readShort(),this.cache[Re]=At===-1?new qn(st,wr,Or,Pt,mr):new zn(st,At,wr,Or,Pt,mr),this.cache[Re]))},Se.prototype.encode=function(Re,Be,We){var He,Qe,At,st,Pt;for(At=[],Qe=[],st=0,Pt=Be.length;st<Pt;st++)He=Re[Be[st]],Qe.push(At.length),He&&(At=At.concat(He.encode(We)));return Qe.push(At.length),{table:At,offsets:Qe}},Se}(),zn=function(){function Ve(Se,Re,Be,We,He,Qe){this.raw=Se,this.numberOfContours=Re,this.xMin=Be,this.yMin=We,this.xMax=He,this.yMax=Qe,this.compound=!1}return Ve.prototype.encode=function(){return this.raw.data},Ve}(),qn=function(){function Ve(Se,Re,Be,We,He){var Qe,At;for(this.raw=Se,this.xMin=Re,this.yMin=Be,this.xMax=We,this.yMax=He,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Qe=this.raw;At=Qe.readShort(),this.glyphOffsets.push(Qe.pos),this.glyphIDs.push(Qe.readUInt16()),32&At;)Qe.pos+=1&At?4:2,128&At?Qe.pos+=8:64&At?Qe.pos+=4:8&At&&(Qe.pos+=2)}return Ve.prototype.encode=function(){var Se,Re,Be;for(Re=new Ht(Tn.call(this.raw.data)),Se=0,Be=this.glyphIDs.length;Se<Be;++Se)Re.pos=this.glyphOffsets[Se];return Re.data},Ve}(),vi=function(Ve){function Se(){return Se.__super__.constructor.apply(this,arguments)}return Qt(Se,un),Se.prototype.tag="loca",Se.prototype.parse=function(Re){var Be,We;return Re.pos=this.offset,Be=this.file.head.indexToLocFormat,this.offsets=Be===0?function(){var He,Qe;for(Qe=[],We=0,He=this.length;We<He;We+=2)Qe.push(2*Re.readUInt16());return Qe}.call(this):function(){var He,Qe;for(Qe=[],We=0,He=this.length;We<He;We+=4)Qe.push(Re.readUInt32());return Qe}.call(this)},Se.prototype.indexOf=function(Re){return this.offsets[Re]},Se.prototype.lengthOf=function(Re){return this.offsets[Re+1]-this.offsets[Re]},Se.prototype.encode=function(Re,Be){for(var We=new Uint32Array(this.offsets.length),He=0,Qe=0,At=0;At<We.length;++At)if(We[At]=He,Qe<Be.length&&Be[Qe]==At){++Qe,We[At]=He;var st=this.offsets[At],Pt=this.offsets[At+1]-st;Pt>0&&(He+=Pt)}for(var wr=new Array(4*We.length),mr=0;mr<We.length;++mr)wr[4*mr+3]=255&We[mr],wr[4*mr+2]=(65280&We[mr])>>8,wr[4*mr+1]=(16711680&We[mr])>>16,wr[4*mr]=(4278190080&We[mr])>>24;return wr},Se}(),Ri=function(){function Ve(Se){this.font=Se,this.subset={},this.unicodes={},this.next=33}return Ve.prototype.generateCmap=function(){var Se,Re,Be,We,He;for(Re in We=this.font.cmap.tables[0].codeMap,Se={},He=this.subset)Be=He[Re],Se[Re]=We[Be];return Se},Ve.prototype.glyphsFor=function(Se){var Re,Be,We,He,Qe,At,st;for(We={},Qe=0,At=Se.length;Qe<At;Qe++)We[He=Se[Qe]]=this.font.glyf.glyphFor(He);for(He in Re=[],We)((Be=We[He])!=null?Be.compound:void 0)&&Re.push.apply(Re,Be.glyphIDs);if(Re.length>0)for(He in st=this.glyphsFor(Re))Be=st[He],We[He]=Be;return We},Ve.prototype.encode=function(Se,Re){var Be,We,He,Qe,At,st,Pt,wr,mr,Or,jt,cn,nr,Xr,Br;for(We in Be=Bt.encode(this.generateCmap(),"unicode"),Qe=this.glyphsFor(Se),jt={0:0},Br=Be.charMap)jt[(st=Br[We]).old]=st.new;for(cn in Or=Be.maxGlyphID,Qe)cn in jt||(jt[cn]=Or++);return wr=function(yr){var xn,Bn;for(xn in Bn={},yr)Bn[yr[xn]]=xn;return Bn}(jt),mr=Object.keys(wr).sort(function(yr,xn){return yr-xn}),nr=function(){var yr,xn,Bn;for(Bn=[],yr=0,xn=mr.length;yr<xn;yr++)At=mr[yr],Bn.push(wr[At]);return Bn}(),He=this.font.glyf.encode(Qe,nr,jt),Pt=this.font.loca.encode(He.offsets,nr),Xr={cmap:this.font.cmap.raw(),glyf:He.table,loca:Pt,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(Re)},this.font.os2.exists&&(Xr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Xr)},Ve}();K.API.PDFObject=function(){var Ve;function Se(){}return Ve=function(Be,We){return(Array(We+1).join("0")+Be).slice(-We)},Se.convert=function(Re){var Be,We,He,Qe;if(Array.isArray(Re))return"["+function(){var At,st,Pt;for(Pt=[],At=0,st=Re.length;At<st;At++)Be=Re[At],Pt.push(Se.convert(Be));return Pt}().join(" ")+"]";if(typeof Re=="string")return"/"+Re;if(Re!=null?Re.isString:void 0)return"("+Re+")";if(Re instanceof Date)return"(D:"+Ve(Re.getUTCFullYear(),4)+Ve(Re.getUTCMonth(),2)+Ve(Re.getUTCDate(),2)+Ve(Re.getUTCHours(),2)+Ve(Re.getUTCMinutes(),2)+Ve(Re.getUTCSeconds(),2)+"Z)";if({}.toString.call(Re)==="[object Object]"){for(We in He=["<<"],Re)Qe=Re[We],He.push("/"+We+" "+Se.convert(Qe));return He.push(">>"),He.join(`
|
|
|
`)}return""+Re},Se}(),N.default=K}.call(this,t("yLpj"))},e5VY:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("YNAk"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},eIcI:function(R,N,t){var y=t("bYtY"),p=t("hM6l");function S(g,f,d){p.call(this,g,f,d),this.type="value",this.angle=0,this.name="",this.model}y.inherits(S,p);var m=S;R.exports=m},eJH7:function(R,N,t){var y=t("bYtY");function p(S){var m=S.polar;if(m){y.isArray(m)||(m=[m]);var g=[];y.each(m,function(f,d){f.indicator?(f.type&&!f.shape&&(f.shape=f.type),S.radar=S.radar||[],y.isArray(S.radar)||(S.radar=[S.radar]),S.radar.push(f)):g.push(f)}),S.polar=g}y.each(S.series,function(f){f&&f.type==="radar"&&f.polarIndex&&(f.radarIndex=f.polarIndex)})}R.exports=p},eP3c:function(R,N,t){"use strict";function y($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(q){return typeof q}:y=function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},y($e)}Object.defineProperty(N,"__esModule",{value:!0}),N.inflateReset=se,N.inflateReset2=ye,N.inflateResetKeep=Ie,N.inflateInit=Ye,N.inflateInit2=xe,N.inflate=wt,N.inflateEnd=xt,N.inflateGetHeader=Ot,N.inflateSetDictionary=Mt,N.inflateInfo=N.Z_DEFLATED=N.Z_BUF_ERROR=N.Z_MEM_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_NEED_DICT=N.Z_STREAM_END=N.Z_OK=N.Z_TREES=N.Z_BLOCK=N.Z_FINISH=void 0;var p=a(t("6BzB")),S=d(t("xlC8")),m=d(t("QV2g")),g=d(t("sjKO")),f=d(t("JSwD"));function d($e){return $e&&$e.__esModule?$e:{default:$e}}function c(){if(typeof WeakMap!="function")return null;var $e=new WeakMap;return c=function(){return $e},$e}function a($e){if($e&&$e.__esModule)return $e;if($e===null||y($e)!=="object"&&typeof $e!="function")return{default:$e};var pe=c();if(pe&&pe.has($e))return pe.get($e);var q={},bt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var qe in $e)if(Object.prototype.hasOwnProperty.call($e,qe)){var le=bt?Object.getOwnPropertyDescriptor($e,qe):null;le&&(le.get||le.set)?Object.defineProperty(q,qe,le):q[qe]=$e[qe]}return q.default=$e,pe&&pe.set($e,q),q}var n=0,i=1,o=2,r=4;N.Z_FINISH=r;var l=5;N.Z_BLOCK=l;var e=6;N.Z_TREES=e;var s=0;N.Z_OK=s;var u=1;N.Z_STREAM_END=u;var h=2;N.Z_NEED_DICT=h;var A=-2;N.Z_STREAM_ERROR=A;var v=-3;N.Z_DATA_ERROR=v;var w=-4;N.Z_MEM_ERROR=w;var b=-5;N.Z_BUF_ERROR=b;var E=8;N.Z_DEFLATED=E;var T=1,_=2,x=3,C=4,I=5,L=6,F=7,B=8,P=9,H=10,z=11,M=12,U=13,k=14,K=15,j=16,V=17,W=18,X=19,J=20,de=21,G=22,ae=23,Ae=24,me=25,Me=26,oe=27,_e=28,ee=29,ne=30,Ge=31,Ee=32,ue=852,re=592,ce=15,ke=ce;function Te($e){return($e>>>24&255)+($e>>>8&65280)+(($e&65280)<<8)+(($e&255)<<24)}function Ke(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new p.Buf16(320),this.work=new p.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ie($e){var pe;return!$e||!$e.state?A:(pe=$e.state,$e.total_in=$e.total_out=pe.total=0,$e.msg="",pe.wrap&&($e.adler=pe.wrap&1),pe.mode=T,pe.last=0,pe.havedict=0,pe.dmax=32768,pe.head=null,pe.hold=0,pe.bits=0,pe.lencode=pe.lendyn=new p.Buf32(ue),pe.distcode=pe.distdyn=new p.Buf32(re),pe.sane=1,pe.back=-1,s)}function se($e){var pe;return!$e||!$e.state?A:(pe=$e.state,pe.wsize=0,pe.whave=0,pe.wnext=0,Ie($e))}function ye($e,pe){var q,bt;return!$e||!$e.state?A:(bt=$e.state,pe<0?(q=0,pe=-pe):(q=(pe>>4)+1,pe<48&&(pe&=15)),pe&&(pe<8||pe>15)?A:(bt.window!==null&&bt.wbits!==pe&&(bt.window=null),bt.wrap=q,bt.wbits=pe,se($e)))}function xe($e,pe){var q,bt;return $e?(bt=new Ke,$e.state=bt,bt.window=null,q=ye($e,pe),q!==s&&($e.state=null),q):A}function Ye($e){return xe($e,ke)}var pt=!0,nt,Oe;function vt($e){if(pt){var pe;for(nt=new p.Buf32(512),Oe=new p.Buf32(32),pe=0;pe<144;)$e.lens[pe++]=8;for(;pe<256;)$e.lens[pe++]=9;for(;pe<280;)$e.lens[pe++]=7;for(;pe<288;)$e.lens[pe++]=8;for((0,f.default)(i,$e.lens,0,288,nt,0,$e.work,{bits:9}),pe=0;pe<32;)$e.lens[pe++]=5;(0,f.default)(o,$e.lens,0,32,Oe,0,$e.work,{bits:5}),pt=!1}$e.lencode=nt,$e.lenbits=9,$e.distcode=Oe,$e.distbits=5}function Ze($e,pe,q,bt){var qe,le=$e.state;return le.window===null&&(le.wsize=1<<le.wbits,le.wnext=0,le.whave=0,le.window=new p.Buf8(le.wsize)),bt>=le.wsize?(p.arraySet(le.window,pe,q-le.wsize,le.wsize,0),le.wnext=0,le.whave=le.wsize):(qe=le.wsize-le.wnext,qe>bt&&(qe=bt),p.arraySet(le.window,pe,q-bt,qe,le.wnext),bt-=qe,bt?(p.arraySet(le.window,pe,q-bt,bt,0),le.wnext=bt,le.whave=le.wsize):(le.wnext+=qe,le.wnext===le.wsize&&(le.wnext=0),le.whave<le.wsize&&(le.whave+=qe))),0}function wt($e,pe){var q,bt,qe,le,Nt,tr,lt,Wt,cr,Vr,ur,ir,Lt,ot,Xe=0,$t,Sr,vr,fr,An,Zr,Ln,Je,et=new p.Buf8(4),be,Le,Ue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!$e||!$e.state||!$e.output||!$e.input&&$e.avail_in!==0)return A;q=$e.state,q.mode===M&&(q.mode=U),Nt=$e.next_out,qe=$e.output,lt=$e.avail_out,le=$e.next_in,bt=$e.input,tr=$e.avail_in,Wt=q.hold,cr=q.bits,Vr=tr,ur=lt,Je=s;e:for(;;)switch(q.mode){case T:if(q.wrap===0){q.mode=U;break}for(;cr<16;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(q.wrap&2&&Wt===35615){q.check=0,et[0]=Wt&255,et[1]=Wt>>>8&255,q.check=(0,m.default)(q.check,et,2,0),Wt=0,cr=0,q.mode=_;break}if(q.flags=0,q.head&&(q.head.done=!1),!(q.wrap&1)||(((Wt&255)<<8)+(Wt>>8))%31){$e.msg="incorrect header check",q.mode=ne;break}if((Wt&15)!==E){$e.msg="unknown compression method",q.mode=ne;break}if(Wt>>>=4,cr-=4,Ln=(Wt&15)+8,q.wbits===0)q.wbits=Ln;else if(Ln>q.wbits){$e.msg="invalid window size",q.mode=ne;break}q.dmax=1<<Ln,$e.adler=q.check=1,q.mode=Wt&512?H:M,Wt=0,cr=0;break;case _:for(;cr<16;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(q.flags=Wt,(q.flags&255)!==E){$e.msg="unknown compression method",q.mode=ne;break}if(q.flags&57344){$e.msg="unknown header flags set",q.mode=ne;break}q.head&&(q.head.text=Wt>>8&1),q.flags&512&&(et[0]=Wt&255,et[1]=Wt>>>8&255,q.check=(0,m.default)(q.check,et,2,0)),Wt=0,cr=0,q.mode=x;case x:for(;cr<32;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.head&&(q.head.time=Wt),q.flags&512&&(et[0]=Wt&255,et[1]=Wt>>>8&255,et[2]=Wt>>>16&255,et[3]=Wt>>>24&255,q.check=(0,m.default)(q.check,et,4,0)),Wt=0,cr=0,q.mode=C;case C:for(;cr<16;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.head&&(q.head.xflags=Wt&255,q.head.os=Wt>>8),q.flags&512&&(et[0]=Wt&255,et[1]=Wt>>>8&255,q.check=(0,m.default)(q.check,et,2,0)),Wt=0,cr=0,q.mode=I;case I:if(q.flags&1024){for(;cr<16;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.length=Wt,q.head&&(q.head.extra_len=Wt),q.flags&512&&(et[0]=Wt&255,et[1]=Wt>>>8&255,q.check=(0,m.default)(q.check,et,2,0)),Wt=0,cr=0}else q.head&&(q.head.extra=null);q.mode=L;case L:if(q.flags&1024&&(ir=q.length,ir>tr&&(ir=tr),ir&&(q.head&&(Ln=q.head.extra_len-q.length,q.head.extra||(q.head.extra=new Array(q.head.extra_len)),p.arraySet(q.head.extra,bt,le,ir,Ln)),q.flags&512&&(q.check=(0,m.default)(q.check,bt,ir,le)),tr-=ir,le+=ir,q.length-=ir),q.length))break e;q.length=0,q.mode=F;case F:if(q.flags&2048){if(tr===0)break e;ir=0;do Ln=bt[le+ir++],q.head&&Ln&&q.length<65536&&(q.head.name+=String.fromCharCode(Ln));while(Ln&&ir<tr);if(q.flags&512&&(q.check=(0,m.default)(q.check,bt,ir,le)),tr-=ir,le+=ir,Ln)break e}else q.head&&(q.head.name=null);q.length=0,q.mode=B;case B:if(q.flags&4096){if(tr===0)break e;ir=0;do Ln=bt[le+ir++],q.head&&Ln&&q.length<65536&&(q.head.comment+=String.fromCharCode(Ln));while(Ln&&ir<tr);if(q.flags&512&&(q.check=(0,m.default)(q.check,bt,ir,le)),tr-=ir,le+=ir,Ln)break e}else q.head&&(q.head.comment=null);q.mode=P;case P:if(q.flags&512){for(;cr<16;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(Wt!==(q.check&65535)){$e.msg="header crc mismatch",q.mode=ne;break}Wt=0,cr=0}q.head&&(q.head.hcrc=q.flags>>9&1,q.head.done=!0),$e.adler=q.check=0,q.mode=M;break;case H:for(;cr<32;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}$e.adler=q.check=Te(Wt),Wt=0,cr=0,q.mode=z;case z:if(q.havedict===0)return $e.next_out=Nt,$e.avail_out=lt,$e.next_in=le,$e.avail_in=tr,q.hold=Wt,q.bits=cr,h;$e.adler=q.check=1,q.mode=M;case M:if(pe===l||pe===e)break e;case U:if(q.last){Wt>>>=cr&7,cr-=cr&7,q.mode=oe;break}for(;cr<3;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.last=Wt&1,Wt>>>=1,cr-=1;switch(Wt&3){case 0:q.mode=k;break;case 1:if(vt(q),q.mode=J,pe===e){Wt>>>=2,cr-=2;break e}break;case 2:q.mode=V;break;case 3:$e.msg="invalid block type",q.mode=ne}Wt>>>=2,cr-=2;break;case k:for(Wt>>>=cr&7,cr-=cr&7;cr<32;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if((Wt&65535)!==(Wt>>>16^65535)){$e.msg="invalid stored block lengths",q.mode=ne;break}if(q.length=Wt&65535,Wt=0,cr=0,q.mode=K,pe===e)break e;case K:q.mode=j;case j:if(ir=q.length,ir){if(ir>tr&&(ir=tr),ir>lt&&(ir=lt),ir===0)break e;p.arraySet(qe,bt,le,ir,Nt),tr-=ir,le+=ir,lt-=ir,Nt+=ir,q.length-=ir;break}q.mode=M;break;case V:for(;cr<14;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(q.nlen=(Wt&31)+257,Wt>>>=5,cr-=5,q.ndist=(Wt&31)+1,Wt>>>=5,cr-=5,q.ncode=(Wt&15)+4,Wt>>>=4,cr-=4,q.nlen>286||q.ndist>30){$e.msg="too many length or distance symbols",q.mode=ne;break}q.have=0,q.mode=W;case W:for(;q.have<q.ncode;){for(;cr<3;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.lens[Ue[q.have++]]=Wt&7,Wt>>>=3,cr-=3}for(;q.have<19;)q.lens[Ue[q.have++]]=0;if(q.lencode=q.lendyn,q.lenbits=7,be={bits:q.lenbits},Je=(0,f.default)(n,q.lens,0,19,q.lencode,0,q.work,be),q.lenbits=be.bits,Je){$e.msg="invalid code lengths set",q.mode=ne;break}q.have=0,q.mode=X;case X:for(;q.have<q.nlen+q.ndist;){for(;!(Xe=q.lencode[Wt&(1<<q.lenbits)-1],$t=Xe>>>24,Sr=Xe>>>16&255,vr=Xe&65535,$t<=cr);){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(vr<16)Wt>>>=$t,cr-=$t,q.lens[q.have++]=vr;else{if(vr===16){for(Le=$t+2;cr<Le;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(Wt>>>=$t,cr-=$t,q.have===0){$e.msg="invalid bit length repeat",q.mode=ne;break}Ln=q.lens[q.have-1],ir=3+(Wt&3),Wt>>>=2,cr-=2}else if(vr===17){for(Le=$t+3;cr<Le;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}Wt>>>=$t,cr-=$t,Ln=0,ir=3+(Wt&7),Wt>>>=3,cr-=3}else{for(Le=$t+7;cr<Le;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}Wt>>>=$t,cr-=$t,Ln=0,ir=11+(Wt&127),Wt>>>=7,cr-=7}if(q.have+ir>q.nlen+q.ndist){$e.msg="invalid bit length repeat",q.mode=ne;break}for(;ir--;)q.lens[q.have++]=Ln}}if(q.mode===ne)break;if(q.lens[256]===0){$e.msg="invalid code -- missing end-of-block",q.mode=ne;break}if(q.lenbits=9,be={bits:q.lenbits},Je=(0,f.default)(i,q.lens,0,q.nlen,q.lencode,0,q.work,be),q.lenbits=be.bits,Je){$e.msg="invalid literal/lengths set",q.mode=ne;break}if(q.distbits=6,q.distcode=q.distdyn,be={bits:q.distbits},Je=(0,f.default)(o,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,be),q.distbits=be.bits,Je){$e.msg="invalid distances set",q.mode=ne;break}if(q.mode=J,pe===e)break e;case J:q.mode=de;case de:if(tr>=6&<>=258){$e.next_out=Nt,$e.avail_out=lt,$e.next_in=le,$e.avail_in=tr,q.hold=Wt,q.bits=cr,(0,g.default)($e,ur),Nt=$e.next_out,qe=$e.output,lt=$e.avail_out,le=$e.next_in,bt=$e.input,tr=$e.avail_in,Wt=q.hold,cr=q.bits,q.mode===M&&(q.back=-1);break}for(q.back=0;!(Xe=q.lencode[Wt&(1<<q.lenbits)-1],$t=Xe>>>24,Sr=Xe>>>16&255,vr=Xe&65535,$t<=cr);){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(Sr&&(Sr&240)===0){for(fr=$t,An=Sr,Zr=vr;!(Xe=q.lencode[Zr+((Wt&(1<<fr+An)-1)>>fr)],$t=Xe>>>24,Sr=Xe>>>16&255,vr=Xe&65535,fr+$t<=cr);){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}Wt>>>=fr,cr-=fr,q.back+=fr}if(Wt>>>=$t,cr-=$t,q.back+=$t,q.length=vr,Sr===0){q.mode=Me;break}if(Sr&32){q.back=-1,q.mode=M;break}if(Sr&64){$e.msg="invalid literal/length code",q.mode=ne;break}q.extra=Sr&15,q.mode=G;case G:if(q.extra){for(Le=q.extra;cr<Le;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.length+=Wt&(1<<q.extra)-1,Wt>>>=q.extra,cr-=q.extra,q.back+=q.extra}q.was=q.length,q.mode=ae;case ae:for(;!(Xe=q.distcode[Wt&(1<<q.distbits)-1],$t=Xe>>>24,Sr=Xe>>>16&255,vr=Xe&65535,$t<=cr);){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if((Sr&240)===0){for(fr=$t,An=Sr,Zr=vr;!(Xe=q.distcode[Zr+((Wt&(1<<fr+An)-1)>>fr)],$t=Xe>>>24,Sr=Xe>>>16&255,vr=Xe&65535,fr+$t<=cr);){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}Wt>>>=fr,cr-=fr,q.back+=fr}if(Wt>>>=$t,cr-=$t,q.back+=$t,Sr&64){$e.msg="invalid distance code",q.mode=ne;break}q.offset=vr,q.extra=Sr&15,q.mode=Ae;case Ae:if(q.extra){for(Le=q.extra;cr<Le;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}q.offset+=Wt&(1<<q.extra)-1,Wt>>>=q.extra,cr-=q.extra,q.back+=q.extra}if(q.offset>q.dmax){$e.msg="invalid distance too far back",q.mode=ne;break}q.mode=me;case me:if(lt===0)break e;if(ir=ur-lt,q.offset>ir){if(ir=q.offset-ir,ir>q.whave&&q.sane){$e.msg="invalid distance too far back",q.mode=ne;break}ir>q.wnext?(ir-=q.wnext,Lt=q.wsize-ir):Lt=q.wnext-ir,ir>q.length&&(ir=q.length),ot=q.window}else ot=qe,Lt=Nt-q.offset,ir=q.length;ir>lt&&(ir=lt),lt-=ir,q.length-=ir;do qe[Nt++]=ot[Lt++];while(--ir);q.length===0&&(q.mode=de);break;case Me:if(lt===0)break e;qe[Nt++]=q.length,lt--,q.mode=de;break;case oe:if(q.wrap){for(;cr<32;){if(tr===0)break e;tr--,Wt|=bt[le++]<<cr,cr+=8}if(ur-=lt,$e.total_out+=ur,q.total+=ur,ur&&($e.adler=q.check=q.flags?(0,m.default)(q.check,qe,ur,Nt-ur):(0,S.default)(q.check,qe,ur,Nt-ur)),ur=lt,(q.flags?Wt:Te(Wt))!==q.check){$e.msg="incorrect data check",q.mode=ne;break}Wt=0,cr=0}q.mode=_e;case _e:if(q.wrap&&q.flags){for(;cr<32;){if(tr===0)break e;tr--,Wt+=bt[le++]<<cr,cr+=8}if(Wt!==(q.total&4294967295)){$e.msg="incorrect length check",q.mode=ne;break}Wt=0,cr=0}q.mode=ee;case ee:Je=u;break e;case ne:Je=v;break e;case Ge:return w;case Ee:default:return A}return $e.next_out=Nt,$e.avail_out=lt,$e.next_in=le,$e.avail_in=tr,q.hold=Wt,q.bits=cr,(q.wsize||ur!==$e.avail_out&&q.mode<ne&&(q.mode<oe||pe!==r))&&Ze($e,$e.output,$e.next_out,ur-$e.avail_out)?(q.mode=Ge,w):(Vr-=$e.avail_in,ur-=$e.avail_out,$e.total_in+=Vr,$e.total_out+=ur,q.total+=ur,q.wrap&&ur&&($e.adler=q.check=q.flags?(0,m.default)(q.check,qe,ur,$e.next_out-ur):(0,S.default)(q.check,qe,ur,$e.next_out-ur)),$e.data_type=q.bits+(q.last?64:0)+(q.mode===M?128:0)+(q.mode===J||q.mode===K?256:0),(Vr===0&&ur===0||pe===r)&&Je===s&&(Je=b),Je)}function xt($e){if(!$e||!$e.state)return A;var pe=$e.state;return pe.window&&(pe.window=null),$e.state=null,s}function Ot($e,pe){var q;return!$e||!$e.state?A:(q=$e.state,(q.wrap&2)===0?A:(q.head=pe,pe.done=!1,s))}function Mt($e,pe){var q=pe.length,bt,qe,le;return!$e||!$e.state?A:(bt=$e.state,bt.wrap!==0&&bt.mode!==z?A:bt.mode===z&&(qe=1,qe=(0,S.default)(qe,pe,q,0),qe!==bt.check)?v:(le=Ze($e,pe,q,q),le?(bt.mode=Ge,w):(bt.havedict=1,s)))}var Gt="pako inflate (from Nodeca project)";N.inflateInfo=Gt},ePAk:function(R,N,t){var y=t("ProS");t("2fGM");var p=y.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(S){var m,g=this.ecModel;return g.eachComponent(S,function(f){f.getCoordSysModel()===this&&(m=f)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});R.exports=p},eRkO:function(R,N,t){var y=t("+TT/"),p=y.getLayoutRect,S=y.box,m=y.positionElement,g=t("7aKB"),f=t("IwbS");function d(a,n,i){var o=n.getBoxLayoutParams(),r=n.get("padding"),l={width:i.getWidth(),height:i.getHeight()},e=p(o,l,r);S(n.get("orient"),a,n.get("itemGap"),e.width,e.height),m(a,o,l,r)}function c(a,n){var i=g.normalizeCssArray(n.get("padding")),o=n.getItemStyle(["color","opacity"]);o.fill=n.get("backgroundColor");var a=new f.Rect({shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[1]+i[3],height:a.height+i[0]+i[2],r:n.get("borderRadius")},style:o,silent:!0,z2:-1});return a}N.layout=d,N.makeBackground=c},eS4l:function(R,N,t){t("HM/N"),t("FNN5")},eUgh:function(R,N){function t(y,p){for(var S=-1,m=y==null?0:y.length,g=Array(m);++S<m;)g[S]=p(y[S],S,y);return g}R.exports=t},ewwo:function(R,N,t){var y=t("bMXI"),p=t("+TT/"),S=p.getLayoutRect,m=t("4mN7");function g(d,c,a){var n=d.getBoxLayoutParams();return n.aspect=a,S(n,{width:c.getWidth(),height:c.getHeight()})}function f(d,c){var a=[];return d.eachSeriesByType("graph",function(n){var i=n.get("coordinateSystem");if(!i||i==="view"){var o=n.getData(),r=o.mapArray(function(E){var T=o.getItemModel(E);return[+T.get("x"),+T.get("y")]}),l=[],e=[];m.fromPoints(r,l,e),e[0]-l[0]===0&&(e[0]+=1,l[0]-=1),e[1]-l[1]===0&&(e[1]+=1,l[1]-=1);var s=(e[0]-l[0])/(e[1]-l[1]),u=g(n,c,s);isNaN(s)&&(l=[u.x,u.y],e=[u.x+u.width,u.y+u.height]);var h=e[0]-l[0],A=e[1]-l[1],v=u.width,w=u.height,b=n.coordinateSystem=new y;b.zoomLimit=n.get("scaleLimit"),b.setBoundingRect(l[0],l[1],h,A),b.setViewRect(u.x,u.y,v,w),b.setCenter(n.get("center")),b.setZoom(n.get("zoom")),a.push(b)}}),a}R.exports=f},f1nB:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("4NO4"),f=t("IwbS"),d=t("+TT/"),c=t("OELB"),a=c.parsePercent,n={path:null,compoundPath:null,group:f.Group,image:f.Image,text:f.Text};S.registerPreprocessor(function(v){var w=v.graphic;m.isArray(w)?!w[0]||!w[0].elements?v.graphic=[{elements:w}]:v.graphic=[v.graphic[0]]:w&&!w.elements&&(v.graphic=[{elements:[w]}])});var i=S.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(v){var w=this.option.elements;this.option.elements=null,i.superApply(this,"mergeOption",arguments),this.option.elements=w},optionUpdated:function(v,w){var b=this.option,E=(w?b:v).elements,T=b.elements=w?[]:b.elements,_=[];this._flatten(E,_);var x=g.mappingToExists(T,_);g.makeIdAndName(x);var C=this._elOptionsToUpdate=[];m.each(x,function(L,F){var B=L.option;if(!B)return;C.push(B),s(L,B),u(T,F,B),h(T[F],B)},this);for(var I=T.length-1;I>=0;I--)T[I]==null?T.splice(I,1):delete T[I].$action},_flatten:function(v,w,b){m.each(v,function(E){if(!E)return;b&&(E.parentOption=b),w.push(E);var T=E.children;E.type==="group"&&T&&this._flatten(T,w,E),delete E.children},this)},useElOptionsToUpdate:function(){var v=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,v}});S.extendComponentView({type:"graphic",init:function(v,w){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(v,w,b){v!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=v,this._updateElements(v),this._relocate(v,b)},_updateElements:function(v){var w=v.useElOptionsToUpdate();if(!w)return;var b=this._elMap,E=this.group;m.each(w,function(T){var _=T.$action,x=T.id,C=b.get(x),I=T.parentId,L=I!=null?b.get(I):E,F=T.style;T.type==="text"&&F&&(T.hv&&T.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var B=l(T);!_||_==="merge"?C?C.attr(B):o(x,L,B,b):_==="replace"?(r(C,b),o(x,L,B,b)):_==="remove"&&r(C,b);var P=b.get(x);P&&(P.__ecGraphicWidthOption=T.width,P.__ecGraphicHeightOption=T.height,A(P,v,T))})},_relocate:function(v,w){for(var b=v.option.elements,E=this.group,T=this._elMap,_=w.getWidth(),x=w.getHeight(),C=0;C<b.length;C++){var I=b[C],L=T.get(I.id);if(!L||!L.isGroup)continue;var F=L.parent,B=F===E;L.__ecGraphicWidth=a(L.__ecGraphicWidthOption,B?_:F.__ecGraphicWidth)||0,L.__ecGraphicHeight=a(L.__ecGraphicHeightOption,B?x:F.__ecGraphicHeight)||0}for(var C=b.length-1;C>=0;C--){var I=b[C],L=T.get(I.id);if(!L)continue;var F=L.parent,P=F===E?{width:_,height:x}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};d.positionElement(L,I,P,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var v=this._elMap;v.each(function(w){r(w,v)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function o(v,w,b,E){var T=b.type,_=n.hasOwnProperty(T)?n[T]:f.getShapeClass(T),x=new _(b);w.add(x),E.set(v,x),x.__ecGraphicId=v}function r(v,w){var b=v&&v.parent;b&&(v.type==="group"&&v.traverse(function(E){r(E,w)}),w.removeKey(v.__ecGraphicId),b.remove(v))}function l(v){return v=m.extend({},v),m.each(["id","parentId","$action","hv","bounding"].concat(d.LOCATION_PARAMS),function(w){delete v[w]}),v}function e(v,w){var b;return m.each(w,function(E){v[E]!=null&&v[E]!=="auto"&&(b=!0)}),b}function s(v,w){var b=v.exist;if(w.id=v.keyInfo.id,!w.type&&b&&(w.type=b.type),w.parentId==null){var E=w.parentOption;E?w.parentId=E.id:b&&(w.parentId=b.parentId)}w.parentOption=null}function u(v,w,b){var E=m.extend({},b),T=v[w],_=b.$action||"merge";_==="merge"?T?(m.merge(T,E,!0),d.mergeLayoutParam(T,E,{ignoreSize:!0}),d.copyLayoutParams(b,T)):v[w]=E:_==="replace"?v[w]=E:_==="remove"&&(T&&(v[w]=null))}function h(v,w){if(!v)return;v.hv=w.hv=[e(w,["left","right"]),e(w,["top","bottom"])],v.type==="group"&&(v.width==null&&(v.width=w.width=0),v.height==null&&(v.height=w.height=0))}function A(v,w,b){var E=v.eventData;!v.silent&&!v.ignore&&!E&&(E=v.eventData={componentType:"graphic",componentIndex:w.componentIndex,name:v.name}),E&&(E.info=v.info)}},f3JH:function(R,N,t){t("aTJb"),t("OlYY"),t("fc+c"),t("oY9F"),t("MqEG"),t("LBfv"),t("noeP")},f5HG:function(R,N,t){var y=t("IwbS"),p=t("QBsz"),S=y.Line.prototype,m=y.BezierCurve.prototype;function g(d){return isNaN(+d.cpx1)||isNaN(+d.cpy1)}var f=y.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(d,c){this[g(c)?"_buildPathLine":"_buildPathCurve"](d,c)},_buildPathLine:S.buildPath,_buildPathCurve:m.buildPath,pointAt:function(d){return this[g(this.shape)?"_pointAtLine":"_pointAtCurve"](d)},_pointAtLine:S.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(d){var c=this.shape,a=g(c)?[c.x2-c.x1,c.y2-c.y1]:this._tangentAtCurve(d);return p.normalize(a,a)},_tangentAtCurve:m.tangentAt});R.exports=f},f5Yq:function(R,N,t){var y=t("bYtY"),p=y.isFunction;function S(m,g,f){return{seriesType:m,performRawSeries:!0,reset:function(d,c,a){var n=d.getData(),i=d.get("symbol"),o=d.get("symbolSize"),r=d.get("symbolKeepAspect"),l=d.get("symbolRotate"),e=p(i),s=p(o),u=p(l),h=e||s||u,A=!e&&i?i:g,v=s?null:o,w=u?null:w;if(n.setVisual({legendSymbol:f||A,symbol:A,symbolSize:v,symbolKeepAspect:r,symbolRotate:l}),c.isSeriesFiltered(d))return;function b(E,T){if(h){var _=d.getRawValue(T),x=d.getDataParams(T);e&&E.setItemVisual(T,"symbol",i(_,x)),s&&E.setItemVisual(T,"symbolSize",o(_,x)),u&&E.setItemVisual(T,"symbolRotate",l(_,x))}if(E.hasItemOption){var C=E.getItemModel(T),I=C.getShallow("symbol",!0),L=C.getShallow("symbolSize",!0),F=C.getShallow("symbolRotate",!0),B=C.getShallow("symbolKeepAspect",!0);I!=null&&E.setItemVisual(T,"symbol",I),L!=null&&E.setItemVisual(T,"symbolSize",L),F!=null&&E.setItemVisual(T,"symbolRotate",F),B!=null&&E.setItemVisual(T,"symbolKeepAspect",B)}}return{dataEach:n.hasItemOption||h?b:null}}}}R.exports=S},fAei:function(R,N,t){"use strict";t.d(N,"a",function(){return v.a});var y=t("rePB"),p=t("VTBJ"),S=t("KQm4"),m=t("1OyB"),g=t("vuIU"),f=t("Ji7U"),d=t("LK+K"),c=t("q1tI"),a=t("4IlW"),n=t("Kwbf"),i=t("TSYQ"),o=t.n(i),r=t("sboe"),l=t("OZM5"),e=t("815F"),s=t("ODXe"),u=t("Ff2n"),h=t("+nKL"),A=t("8XRh"),v=t("WaYH"),w=function(J,de){var G=J.className,ae=J.style,Ae=J.motion,me=J.motionNodes,Me=J.motionType,oe=J.onMotionStart,_e=J.onMotionEnd,ee=J.active,ne=J.treeNodeRequiredProps,Ge=Object(u.a)(J,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),Ee=c.useState(!0),ue=Object(s.a)(Ee,2),re=ue[0],ce=ue[1],ke=c.useContext(r.a),Te=ke.prefixCls,Ke=c.useRef(!1),Ie=function(){Ke.current||_e(),Ke.current=!0};return Object(c.useEffect)(function(){me&&Me==="hide"&&re&&ce(!1)},[me]),Object(c.useEffect)(function(){return me&&oe(),function(){me&&Ie()}},[]),me?c.createElement(A.default,Object.assign({ref:de,visible:re},Ae,{motionAppear:Me==="show",onAppearEnd:Ie,onLeaveEnd:Ie}),function(se,ye){var xe=se.className,Ye=se.style;return c.createElement("div",{ref:ye,className:o()("".concat(Te,"-treenode-motion"),xe),style:Ye},me.map(function(pt){var nt=pt.data,Oe=nt.key,vt=Object(u.a)(nt,["key"]),Ze=pt.isStart,wt=pt.isEnd;delete vt.children;var xt=Object(e.f)(Oe,ne);return c.createElement(v.a,Object.assign({},vt,xt,{active:ee,data:pt.data,key:Oe,isStart:Ze,isEnd:wt}))}))}):c.createElement(v.a,Object.assign({domRef:de,className:G,style:ae},Ge,{active:ee}))};w.displayName="MotionTreeNode";var b=c.forwardRef(w),E=b;function T(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],de=X.length,G=J.length;if(Math.abs(de-G)!==1)return{add:!1,key:null};function ae(Ae,me){var Me=new Map;Ae.forEach(function(_e){Me.set(_e,!0)});var oe=me.filter(function(_e){return!Me.has(_e)});return oe.length===1?oe[0]:null}return de<G?{add:!0,key:ae(X,J)}:{add:!1,key:ae(J,X)}}function _(X,J,de){var G=X.findIndex(function(Me){var oe=Me.data;return oe.key===de}),ae=X[G+1],Ae=J.findIndex(function(Me){var oe=Me.data;return oe.key===de});if(ae){var me=J.findIndex(function(Me){var oe=Me.data;return oe.key===ae.data.key});return J.slice(Ae+1,me)}return J.slice(Ae+1)}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},I="RC_TREE_MOTION_".concat(Math.random()),L={key:I},F={key:I,level:0,index:0,pos:"0",node:L},B={parent:null,children:[],pos:F.pos,data:L,isStart:[],isEnd:[]};function P(X,J,de,G){return J===!1||!de?X:X.slice(0,Math.ceil(de/G)+1)}function H(X){var J=X.data.key,de=X.pos;return Object(e.e)(J,de)}function z(X){for(var J=String(X.data.key),de=X;de.parent;)de=de.parent,J="".concat(de.data.key," > ").concat(J);return J}var M=function(J,de){var G=J.prefixCls,ae=J.data,Ae=J.selectable,me=J.checkable,Me=J.expandedKeys,oe=J.selectedKeys,_e=J.checkedKeys,ee=J.loadedKeys,ne=J.loadingKeys,Ge=J.halfCheckedKeys,Ee=J.keyEntities,ue=J.disabled,re=J.dragging,ce=J.dragOverNodeKey,ke=J.dropPosition,Te=J.motion,Ke=J.height,Ie=J.itemHeight,se=J.virtual,ye=J.focusable,xe=J.activeItem,Ye=J.focused,pt=J.tabIndex,nt=J.onKeyDown,Oe=J.onFocus,vt=J.onBlur,Ze=J.onActiveChange,wt=J.onListChangeStart,xt=J.onListChangeEnd,Ot=Object(u.a)(J,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),Mt=c.useRef(null);c.useImperativeHandle(de,function(){return{scrollTo:function(Ln){Mt.current.scrollTo(Ln)}}});var Gt=c.useState(Me),$e=Object(s.a)(Gt,2),pe=$e[0],q=$e[1],bt=c.useState(ae),qe=Object(s.a)(bt,2),le=qe[0],Nt=qe[1],tr=c.useState(ae),lt=Object(s.a)(tr,2),Wt=lt[0],cr=lt[1],Vr=c.useState([]),ur=Object(s.a)(Vr,2),ir=ur[0],Lt=ur[1],ot=c.useState(null),Xe=Object(s.a)(ot,2),$t=Xe[0],Sr=Xe[1];function vr(){Nt(ae),cr(ae),Lt([]),Sr(null),xt()}c.useEffect(function(){q(Me);var Zr=T(pe,Me);if(Zr.key!==null)if(Zr.add){var Ln=le.findIndex(function(rt){var Vt=rt.data.key;return Vt===Zr.key}),Je=P(_(le,ae,Zr.key),se,Ke,Ie),et=le.slice();et.splice(Ln+1,0,B),cr(et),Lt(Je),Sr("show")}else{var be=ae.findIndex(function(rt){var Vt=rt.data.key;return Vt===Zr.key}),Le=P(_(ae,le,Zr.key),se,Ke,Ie),Ue=ae.slice();Ue.splice(be+1,0,B),cr(Ue),Lt(Le),Sr("hide")}else le!==ae&&(Nt(ae),cr(ae))},[Me,ae]),c.useEffect(function(){re||vr()},[re]);var fr=Te?Wt:ae,An={expandedKeys:Me,selectedKeys:oe,loadedKeys:ee,loadingKeys:ne,checkedKeys:_e,halfCheckedKeys:Ge,dragOverNodeKey:ce,dropPosition:ke,keyEntities:Ee};return c.createElement(c.Fragment,null,Ye&&xe&&c.createElement("span",{style:x,"aria-live":"assertive"},z(xe)),c.createElement("div",{role:"tree"},c.createElement("input",{style:x,disabled:ye===!1||ue,tabIndex:ye!==!1?pt:null,onKeyDown:nt,onFocus:Oe,onBlur:vt,value:"",onChange:C})),c.createElement(h.a,Object.assign({},Ot,{data:fr,itemKey:H,height:Ke,fullHeight:!1,virtual:se,itemHeight:Ie,prefixCls:"".concat(G,"-list"),ref:Mt}),function(Zr){var Ln=Zr.pos,Je=Zr.data,et=Je.key,be=Object(u.a)(Je,["key"]),Le=Zr.isStart,Ue=Zr.isEnd,rt=Object(e.e)(et,Ln);delete be.children;var Vt=Object(e.f)(rt,An);return c.createElement(E,Object.assign({},be,Vt,{active:xe&&et===xe.data.key,pos:Ln,data:Zr.data,isStart:Le,isEnd:Ue,motion:Te,motionNodes:et===I?ir:null,motionType:$t,onMotionStart:wt,onMotionEnd:vr,treeNodeRequiredProps:An,onMouseMove:function(){Ze(null)}}))}))},U=c.forwardRef(M);U.displayName="NodeList";var k=U,K=t("NvD2"),j=function(X){Object(f.a)(de,X);var J=Object(d.a)(de);function de(){var G;return Object(m.a)(this,de),G=J.apply(this,arguments),G.destroyed=!1,G.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},G.listRef=c.createRef(),G.onNodeDragStart=function(ae,Ae){var me=G.state,Me=me.expandedKeys,oe=me.keyEntities,_e=G.props.onDragStart,ee=Ae.props.eventKey;G.dragNode=Ae;var ne=Object(l.b)(Me,ee);G.setState({dragging:!0,dragNodesKeys:Object(l.g)(ee,oe)}),G.setExpandedKeys(ne),_e&&_e({event:ae,node:Object(e.b)(Ae.props)})},G.onNodeDragEnter=function(ae,Ae){var me=G.state,Me=me.expandedKeys,oe=me.keyEntities,_e=me.dragNodesKeys,ee=G.props.onDragEnter,ne=Ae.props,Ge=ne.pos,Ee=ne.eventKey;if(!G.dragNode||_e.indexOf(Ee)!==-1)return;var ue=Object(l.c)(ae,Ae);if(G.dragNode.props.eventKey===Ee&&ue===0){G.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){G.setState({dragOverNodeKey:Ee,dropPosition:ue}),G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(re){clearTimeout(G.delayedDragEnterLogic[re])}),G.delayedDragEnterLogic[Ge]=window.setTimeout(function(){if(!G.state.dragging)return;var re=Object(S.a)(Me),ce=oe[Ee];ce&&(ce.children||[]).length&&(re=Object(l.a)(Me,Ee)),"expandedKeys"in G.props||G.setExpandedKeys(re),ee&&ee({event:ae,node:Object(e.b)(Ae.props),expandedKeys:re})},400)},0)},G.onNodeDragOver=function(ae,Ae){var me=G.state.dragNodesKeys,Me=G.props.onDragOver,oe=Ae.props.eventKey;if(me.indexOf(oe)!==-1)return;if(G.dragNode&&oe===G.state.dragOverNodeKey){var _e=Object(l.c)(ae,Ae);if(_e===G.state.dropPosition)return;G.setState({dropPosition:_e})}Me&&Me({event:ae,node:Object(e.b)(Ae.props)})},G.onNodeDragLeave=function(ae,Ae){var me=G.props.onDragLeave;G.setState({dragOverNodeKey:""}),me&&me({event:ae,node:Object(e.b)(Ae.props)})},G.onNodeDragEnd=function(ae,Ae){var me=G.props.onDragEnd;G.setState({dragOverNodeKey:""}),G.cleanDragState(),me&&me({event:ae,node:Object(e.b)(Ae.props)}),G.dragNode=null},G.onNodeDrop=function(ae,Ae){var me=G.state,Me=me.dragNodesKeys,oe=Me===void 0?[]:Me,_e=me.dropPosition,ee=G.props.onDrop,ne=Ae.props,Ge=ne.eventKey,Ee=ne.pos;if(G.setState({dragOverNodeKey:""}),G.cleanDragState(),oe.indexOf(Ge)!==-1){Object(n.a)(!1,"Can not drop to dragNode(include it's children node)");return}var ue=Object(l.k)(Ee),re={event:ae,node:Object(e.b)(Ae.props),dragNode:G.dragNode?Object(e.b)(G.dragNode.props):null,dragNodesKeys:oe.slice(),dropPosition:_e+Number(ue[ue.length-1]),dropToGap:!1};_e!==0&&(re.dropToGap=!0),ee&&ee(re),G.dragNode=null},G.cleanDragState=function(){var ae=G.state.dragging;ae&&G.setState({dragging:!1})},G.onNodeClick=function(ae,Ae){var me=G.props.onClick;me&&me(ae,Ae)},G.onNodeDoubleClick=function(ae,Ae){var me=G.props.onDoubleClick;me&&me(ae,Ae)},G.onNodeSelect=function(ae,Ae){var me=G.state.selectedKeys,Me=G.state.keyEntities,oe=G.props,_e=oe.onSelect,ee=oe.multiple,ne=Ae.selected,Ge=Ae.key,Ee=!ne;Ee?ee?me=Object(l.a)(me,Ge):me=[Ge]:me=Object(l.b)(me,Ge);var ue=me.map(function(re){var ce=Me[re];return ce?ce.node:null}).filter(function(re){return re});G.setUncontrolledState({selectedKeys:me}),_e&&_e(me,{event:"select",selected:Ee,node:Ae,selectedNodes:ue,nativeEvent:ae.nativeEvent})},G.onNodeCheck=function(ae,Ae,me){var Me=G.state,oe=Me.keyEntities,_e=Me.checkedKeys,ee=Me.halfCheckedKeys,ne=G.props,Ge=ne.checkStrictly,Ee=ne.onCheck,ue=Ae.key,re,ce={event:"check",node:Ae,checked:me,nativeEvent:ae.nativeEvent};if(Ge){var ke=me?Object(l.a)(_e,ue):Object(l.b)(_e,ue),Te=Object(l.b)(ee,ue);re={checked:ke,halfChecked:Te},ce.checkedNodes=ke.map(function(Ye){return oe[Ye]}).filter(function(Ye){return Ye}).map(function(Ye){return Ye.node}),G.setUncontrolledState({checkedKeys:ke})}else{var Ke=Object(K.a)([].concat(Object(S.a)(_e),[ue]),!0,oe),Ie=Ke.checkedKeys,se=Ke.halfCheckedKeys;if(!me){var ye=new Set(Ie);ye.delete(ue);var xe=Object(K.a)(Array.from(ye),{checked:!1,halfCheckedKeys:se},oe);Ie=xe.checkedKeys,se=xe.halfCheckedKeys}re=Ie,ce.checkedNodes=[],ce.checkedNodesPositions=[],ce.halfCheckedKeys=se,Ie.forEach(function(Ye){var pt=oe[Ye];if(!pt)return;var nt=pt.node,Oe=pt.pos;ce.checkedNodes.push(nt),ce.checkedNodesPositions.push({node:nt,pos:Oe})}),G.setUncontrolledState({checkedKeys:Ie},!1,{halfCheckedKeys:se})}Ee&&Ee(re,ce)},G.onNodeLoad=function(ae){return new Promise(function(Ae){G.setState(function(me){var Me=me.loadedKeys,oe=Me===void 0?[]:Me,_e=me.loadingKeys,ee=_e===void 0?[]:_e,ne=G.props,Ge=ne.loadData,Ee=ne.onLoad,ue=ae.key;if(!Ge||oe.indexOf(ue)!==-1||ee.indexOf(ue)!==-1)return{};var re=Ge(ae);return re.then(function(){var ce=G.state,ke=ce.loadedKeys,Te=ce.loadingKeys,Ke=Object(l.a)(ke,ue),Ie=Object(l.b)(Te,ue);Ee&&Ee(Ke,{event:"load",node:ae}),G.setUncontrolledState({loadedKeys:Ke}),G.setState({loadingKeys:Ie}),Ae()}),{loadingKeys:Object(l.a)(ee,ue)}})})},G.onNodeMouseEnter=function(ae,Ae){var me=G.props.onMouseEnter;me&&me({event:ae,node:Ae})},G.onNodeMouseLeave=function(ae,Ae){var me=G.props.onMouseLeave;me&&me({event:ae,node:Ae})},G.onNodeContextMenu=function(ae,Ae){var me=G.props.onRightClick;me&&(ae.preventDefault(),me({event:ae,node:Ae}))},G.onFocus=function(){var ae=G.props.onFocus;G.setState({focused:!0}),ae&&ae.apply(void 0,arguments)},G.onBlur=function(){var ae=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),ae&&ae.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var ae=G.state,Ae=ae.expandedKeys,me=ae.selectedKeys,Me=ae.loadedKeys,oe=ae.loadingKeys,_e=ae.checkedKeys,ee=ae.halfCheckedKeys,ne=ae.dragOverNodeKey,Ge=ae.dropPosition,Ee=ae.keyEntities;return{expandedKeys:Ae||[],selectedKeys:me||[],loadedKeys:Me||[],loadingKeys:oe||[],checkedKeys:_e||[],halfCheckedKeys:ee||[],dragOverNodeKey:ne,dropPosition:Ge,keyEntities:Ee}},G.setExpandedKeys=function(ae){var Ae=G.state.treeData,me=Object(e.d)(Ae,ae);G.setUncontrolledState({expandedKeys:ae,flattenNodes:me},!0)},G.onNodeExpand=function(ae,Ae){var me=G.state.expandedKeys,Me=G.state.listChanging,oe=G.props,_e=oe.onExpand,ee=oe.loadData,ne=Ae.key,Ge=Ae.expanded;if(Me)return;var Ee=me.indexOf(ne),ue=!Ge;if(Object(n.a)(Ge&&Ee!==-1||!Ge&&Ee===-1,"Expand state not sync with index check"),ue?me=Object(l.a)(me,ne):me=Object(l.b)(me,ne),G.setExpandedKeys(me),_e&&_e(me,{node:Ae,expanded:ue,nativeEvent:ae.nativeEvent}),ue&&ee){var re=G.onNodeLoad(Ae);re&&re.then(function(){var ce=Object(e.d)(G.state.treeData,me);G.setUncontrolledState({flattenNodes:ce})})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(ae){var Ae=G.state.activeKey,me=G.props.onActiveChange;if(Ae===ae)return;G.setState({activeKey:ae}),ae!==null&&G.scrollTo({key:ae}),me&&me(ae)},G.getActiveItem=function(){var ae=G.state,Ae=ae.activeKey,me=ae.flattenNodes;return Ae===null?null:me.find(function(Me){var oe=Me.data.key;return oe===Ae})||null},G.offsetActiveKey=function(ae){var Ae=G.state,me=Ae.flattenNodes,Me=Ae.activeKey,oe=me.findIndex(function(ne){var Ge=ne.data.key;return Ge===Me});oe===-1&&ae<0&&(oe=me.length),oe=(oe+ae+me.length)%me.length;var _e=me[oe];if(_e){var ee=_e.data.key;G.onActiveChange(ee)}else G.onActiveChange(null)},G.onKeyDown=function(ae){var Ae=G.state,me=Ae.activeKey,Me=Ae.expandedKeys,oe=Ae.checkedKeys,_e=G.props,ee=_e.onKeyDown,ne=_e.checkable,Ge=_e.selectable;switch(ae.which){case a.a.UP:{G.offsetActiveKey(-1),ae.preventDefault();break}case a.a.DOWN:{G.offsetActiveKey(1),ae.preventDefault();break}}var Ee=G.getActiveItem();if(Ee&&Ee.data){var ue=G.getTreeNodeRequiredProps(),re=Ee.data.isLeaf===!1||!!(Ee.data.children||[]).length,ce=Object(e.b)(Object(p.a)(Object(p.a)({},Object(e.f)(me,ue)),{},{data:Ee.data,active:!0}));switch(ae.which){case a.a.LEFT:{re&&Me.includes(me)?G.onNodeExpand({},ce):Ee.parent&&G.onActiveChange(Ee.parent.data.key),ae.preventDefault();break}case a.a.RIGHT:{re&&!Me.includes(me)?G.onNodeExpand({},ce):Ee.children&&Ee.children.length&&G.onActiveChange(Ee.children[0].data.key),ae.preventDefault();break}case a.a.ENTER:case a.a.SPACE:{ne&&!ce.disabled&&ce.checkable!==!1&&!ce.disableCheckbox?G.onNodeCheck({},ce,!oe.includes(me)):!ne&&Ge&&!ce.disabled&&ce.selectable!==!1&&G.onNodeSelect({},ce);break}}}ee&&ee(ae)},G.setUncontrolledState=function(ae){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var Me=!1,oe=!0,_e={};Object.keys(ae).forEach(function(ee){if(ee in G.props){oe=!1;return}Me=!0,_e[ee]=ae[ee]}),Me&&(!Ae||oe)&&G.setState(Object(p.a)(Object(p.a)({},_e),me))},G.scrollTo=function(ae){G.listRef.current.scrollTo(ae)},G}return Object(g.a)(de,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ae,Ae=this.state,me=Ae.focused,Me=Ae.flattenNodes,oe=Ae.keyEntities,_e=Ae.dragging,ee=Ae.activeKey,ne=this.props,Ge=ne.prefixCls,Ee=ne.className,ue=ne.style,re=ne.showLine,ce=ne.focusable,ke=ne.tabIndex,Te=ke===void 0?0:ke,Ke=ne.selectable,Ie=ne.showIcon,se=ne.icon,ye=ne.switcherIcon,xe=ne.draggable,Ye=ne.checkable,pt=ne.checkStrictly,nt=ne.disabled,Oe=ne.motion,vt=ne.loadData,Ze=ne.filterTreeNode,wt=ne.height,xt=ne.itemHeight,Ot=ne.virtual,Mt=ne.titleRender,Gt=ne.onContextMenu,$e=Object(l.f)(this.props);return c.createElement(r.a.Provider,{value:{prefixCls:Ge,selectable:Ke,showIcon:Ie,icon:se,switcherIcon:ye,draggable:xe,checkable:Ye,checkStrictly:pt,disabled:nt,keyEntities:oe,loadData:vt,filterTreeNode:Ze,titleRender:Mt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c.createElement("div",{className:o()(Ge,Ee,(ae={},Object(y.a)(ae,"".concat(Ge,"-show-line"),re),Object(y.a)(ae,"".concat(Ge,"-focused"),me),Object(y.a)(ae,"".concat(Ge,"-active-focused"),ee!==null),ae))},c.createElement(k,Object.assign({ref:this.listRef,prefixCls:Ge,style:ue,data:Me,disabled:nt,selectable:Ke,checkable:!!Ye,motion:Oe,dragging:_e,height:wt,itemHeight:xt,virtual:Ot,focusable:ce,focused:me,tabIndex:Te,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Gt},this.getTreeNodeRequiredProps(),$e))))}}],[{key:"getDerivedStateFromProps",value:function(ae,Ae){var me=Ae.prevProps,Me={prevProps:ae};function oe(se){return!me&&se in ae||me&&me[se]!==ae[se]}var _e;if(oe("treeData")?_e=ae.treeData:oe("children")&&(Object(n.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),_e=Object(e.c)(ae.children)),_e){Me.treeData=_e;var ee=Object(e.a)(_e);Me.keyEntities=Object(p.a)(Object(y.a)({},I,F),ee.keyEntities)}var ne=Me.keyEntities||Ae.keyEntities;if(oe("expandedKeys")||me&&oe("autoExpandParent"))Me.expandedKeys=ae.autoExpandParent||!me&&ae.defaultExpandParent?Object(l.e)(ae.expandedKeys,ne):ae.expandedKeys;else if(!me&&ae.defaultExpandAll){var Ge=Object(p.a)({},ne);delete Ge[I],Me.expandedKeys=Object.keys(Ge).map(function(se){return Ge[se].key})}else!me&&ae.defaultExpandedKeys&&(Me.expandedKeys=ae.autoExpandParent||ae.defaultExpandParent?Object(l.e)(ae.defaultExpandedKeys,ne):ae.defaultExpandedKeys);if(Me.expandedKeys||delete Me.expandedKeys,_e||Me.expandedKeys){var Ee=Object(e.d)(_e||Ae.treeData,Me.expandedKeys||Ae.expandedKeys);Me.flattenNodes=Ee}if(ae.selectable&&(oe("selectedKeys")?Me.selectedKeys=Object(l.d)(ae.selectedKeys,ae):!me&&ae.defaultSelectedKeys&&(Me.selectedKeys=Object(l.d)(ae.defaultSelectedKeys,ae))),ae.checkable){var ue;if(oe("checkedKeys")?ue=Object(l.j)(ae.checkedKeys)||{}:!me&&ae.defaultCheckedKeys?ue=Object(l.j)(ae.defaultCheckedKeys)||{}:_e&&(ue=Object(l.j)(ae.checkedKeys)||{checkedKeys:Ae.checkedKeys,halfCheckedKeys:Ae.halfCheckedKeys}),ue){var re=ue,ce=re.checkedKeys,ke=ce===void 0?[]:ce,Te=re.halfCheckedKeys,Ke=Te===void 0?[]:Te;if(!ae.checkStrictly){var Ie=Object(K.a)(ke,!0,ne);ke=Ie.checkedKeys,Ke=Ie.halfCheckedKeys}Me.checkedKeys=ke,Me.halfCheckedKeys=Ke}}return oe("loadedKeys")&&(Me.loadedKeys=ae.loadedKeys),Me}}]),de}(c.Component);j.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},j.TreeNode=v.a;var V=j,W=N.b=V},fE02:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("/IIm"),m=t("vZ6x"),g=t("b9oc"),f=t("72pK"),d=t("Kagy"),c=t("IUWy");t("3TkU");var a=d.toolbox.dataZoom,n=p.each,i="\0_ec_\0toolbox-dataZoom_";function o(A,v,w){(this._brushController=new S(w.getZr())).on("brush",p.bind(this._onBrush,this)).mount(),this._isZoomActive}o.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:p.clone(a.title)};var r=o.prototype;r.render=function(A,v,w,b){this.model=A,this.ecModel=v,this.api=w,u(A,v,this,b,w),s(A,v)},r.onclick=function(A,v,w){l[w].call(this)},r.remove=function(A,v){this._brushController.unmount()},r.dispose=function(A,v){this._brushController.dispose()};var l={zoom:function(){var A=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:A})},back:function(){this._dispatchZoomAction(g.pop(this.ecModel))}};r._onBrush=function(A,v){if(!v.isEnd||!A.length)return;var w={},b=this.ecModel;this._brushController.updateCovers([]);var E=new m(e(this.model.option),b,{include:["grid"]});E.matchOutputRanges(A,b,function(x,C,I){if(I.type!=="cartesian2d")return;var L=x.brushType;L==="rect"?(T("x",I,C[0]),T("y",I,C[1])):T({lineX:"x",lineY:"y"}[L],I,C)}),g.push(b,w),this._dispatchZoomAction(w);function T(x,C,I){var L=C.getAxis(x),F=L.model,B=_(x,F,b),P=B.findRepresentativeAxisProxy(F).getMinMaxSpan();(P.minValueSpan!=null||P.maxValueSpan!=null)&&(I=f(0,I.slice(),L.scale.getExtent(),0,P.minValueSpan,P.maxValueSpan)),B&&(w[B.id]={dataZoomId:B.id,startValue:I[0],endValue:I[1]})}function _(x,C,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var B=F.getAxisModel(x,C.componentIndex);B&&(L=F)}),L}},r._dispatchZoomAction=function(A){var v=[];n(A,function(w,b){v.push(p.clone(w))}),v.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:v})};function e(A){var v={};return p.each(["xAxisIndex","yAxisIndex"],function(w){v[w]=A[w],v[w]==null&&(v[w]="all"),(v[w]===!1||v[w]==="none")&&(v[w]=[])}),v}function s(A,v){A.setIconStatus("back",g.count(v)>1?"emphasis":"normal")}function u(A,v,w,b,E){var T=w._isZoomActive;b&&b.type==="takeGlobalCursor"&&(T=b.key==="dataZoomSelect"?b.dataZoomSelectActive:!1),w._isZoomActive=T,A.setIconStatus("zoom",T?"emphasis":"normal");var _=new m(e(A.option),v,{include:["grid"]});w._brushController.setPanels(_.makePanelOpts(E,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}c.register("dataZoom",o),y.registerPreprocessor(function(A){if(!A)return;var v=A.dataZoom||(A.dataZoom=[]);p.isArray(v)||(A.dataZoom=v=[v]);var w=A.toolbox;if(w&&(p.isArray(w)&&(w=w[0]),w&&w.feature)){var b=w.feature.dataZoom;E("xAxis",b),E("yAxis",b)}function E(_,x){if(!x)return;var C=_+"Index",I=x[C];I!=null&&I!=="all"&&!p.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),T(_,function(L,F){if(I!=null&&I!=="all"&&p.indexOf(I,F)===-1)return;var B={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:i+_+F};B[C]=F,v.push(B)})}function T(_,x){var C=A[_];p.isArray(C)||(C=C?[C]:[]),n(C,x)}});var h=o;R.exports=h},fNCr:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("tSko"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},fUL4:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("r+aA"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},fW2E:function(R,N){var t={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function y(p,S,m){return t.hasOwnProperty(S)?m*=p.dpr:m}R.exports=y},"fc+c":function(R,N,t){var y=t("sS/r"),p=y.extend({type:"dataZoom",render:function(S,m,g,f){this.dataZoomModel=S,this.ecModel=m,this.api=g},getTargetCoordInfo:function(){var S=this.dataZoomModel,m=this.ecModel,g={};S.eachTargetAxis(function(d,c){var a=m.getComponent(d.axis,c);if(a){var n=a.getCoordSysModel();n&&f(n,a,g[n.mainType]||(g[n.mainType]=[]),n.componentIndex)}},this);function f(d,c,a,n){for(var i,o=0;o<a.length;o++)if(a[o].model===d){i=a[o];break}i||a.push(i={model:d,axisModels:[],coordIndex:n}),i.axisModels.push(c)}return g}});R.exports=p},fjKi:function(R,N,t){var y=t("ProS");t("Q7if"),t("jndi"),y.registerPreprocessor(function(p){p.markArea=p.markArea||{}})},fls0:function(R,N,t){var y=t("bYtY"),p=t("QBsz"),S=t("oVpE"),m=t("f5HG"),g=t("IwbS"),f=t("OELB"),d=f.round,c=["fromSymbol","toSymbol"];function a(u){return"_"+u+"Type"}function n(u,h,A){var v=h.getItemVisual(A,"color"),w=h.getItemVisual(A,u),b=h.getItemVisual(A,u+"Size");if(!w||w==="none")return;y.isArray(b)||(b=[b,b]);var E=S.createSymbol(w,-b[0]/2,-b[1]/2,b[0],b[1],v);return E.name=u,E}function i(u){var h=new m({name:"line",subPixelOptimize:!0});return o(h.shape,u),h}function o(u,h){u.x1=h[0][0],u.y1=h[0][1],u.x2=h[1][0],u.y2=h[1][1],u.percent=1;var A=h[2];A?(u.cpx1=A[0],u.cpy1=A[1]):(u.cpx1=NaN,u.cpy1=NaN)}function r(){var u=this,h=u.childOfName("fromSymbol"),A=u.childOfName("toSymbol"),v=u.childOfName("label");if(!h&&!A&&v.ignore)return;for(var w=1,b=this.parent;b;)b.scale&&(w/=b.scale[0]),b=b.parent;var E=u.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var T=E.shape.percent,_=E.pointAt(0),x=E.pointAt(T),C=p.sub([],x,_);if(p.normalize(C,C),h){h.attr("position",_);var I=E.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),h.attr("scale",[w*T,w*T])}if(A){A.attr("position",x);var I=E.tangentAt(1);A.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),A.attr("scale",[w*T,w*T])}if(!v.ignore){v.attr("position",x);var L,F,B,P,H=v.__labelDistance,z=H[0]*w,M=H[1]*w,U=T/2,I=E.tangentAt(U),k=[I[1],-I[0]],K=E.pointAt(U);k[1]>0&&(k[0]=-k[0],k[1]=-k[1]);var j=I[0]<0?-1:1;if(v.__position!=="start"&&v.__position!=="end"){var V=-Math.atan2(I[1],I[0]);x[0]<_[0]&&(V=Math.PI+V),v.attr("rotation",V)}var W;switch(v.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-M,B="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=M,B="top";break;default:W=0,B="middle"}switch(v.__position){case"end":L=[C[0]*z+x[0],C[1]*M+x[1]],F=C[0]>.8?"left":C[0]<-.8?"right":"center",B=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":L=[-C[0]*z+_[0],-C[1]*M+_[1]],F=C[0]>.8?"right":C[0]<-.8?"left":"center",B=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[z*j+_[0],_[1]+W],F=I[0]<0?"right":"left",P=[-z*j,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[K[0],K[1]+W],F="center",P=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-z*j+x[0],x[1]+W],F=I[0]>=0?"right":"left",P=[z*j,-W];break}v.attr({style:{textVerticalAlign:v.__verticalAlign||B,textAlign:v.__textAlign||F},position:L,scale:[w,w],origin:P})}}function l(u,h,A){g.Group.call(this),this._createLine(u,h,A)}var e=l.prototype;e.beforeUpdate=r,e._createLine=function(u,h,A){var v=u.hostModel,w=u.getItemLayout(h),b=i(w);b.shape.percent=0,g.initProps(b,{shape:{percent:1}},v,h),this.add(b);var E=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),y.each(c,function(T){var _=n(T,u,h);this.add(_),this[a(T)]=u.getItemVisual(h,T)},this),this._updateCommonStl(u,h,A)},e.updateData=function(u,h,A){var v=u.hostModel,w=this.childOfName("line"),b=u.getItemLayout(h),E={shape:{}};o(E.shape,b),g.updateProps(w,E,v,h),y.each(c,function(T){var _=u.getItemVisual(h,T),x=a(T);if(this[x]!==_){this.remove(this.childOfName(T));var C=n(T,u,h);this.add(C)}this[x]=_},this),this._updateCommonStl(u,h,A)},e._updateCommonStl=function(u,h,A){var v=u.hostModel,w=this.childOfName("line"),b=A&&A.lineStyle,E=A&&A.hoverLineStyle,T=A&&A.labelModel,_=A&&A.hoverLabelModel;if(!A||u.hasItemOption){var x=u.getItemModel(h);b=x.getModel("lineStyle").getLineStyle(),E=x.getModel("emphasis.lineStyle").getLineStyle(),T=x.getModel("label"),_=x.getModel("emphasis.label")}var C=u.getItemVisual(h,"color"),I=y.retrieve3(u.getItemVisual(h,"opacity"),b.opacity,1);w.useStyle(y.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:I},b)),w.hoverStyle=E,y.each(c,function(j){var V=this.childOfName(j);V&&(V.setColor(C),V.setStyle({opacity:I}))},this);var L=T.getShallow("show"),F=_.getShallow("show"),B=this.childOfName("label"),P,H;if((L||F)&&(P=C||"#000",H=v.getFormattedLabel(h,"normal",u.dataType),H==null)){var z=v.getRawValue(h);H=z==null?u.getName(h):isFinite(z)?d(z):z}var M=L?H:null,U=F?y.retrieve2(v.getFormattedLabel(h,"emphasis",u.dataType),H):null,k=B.style;if(M!=null||U!=null){g.setTextStyle(B.style,T,{text:M},{autoColor:P}),B.__textAlign=k.textAlign,B.__verticalAlign=k.textVerticalAlign,B.__position=T.get("position")||"middle";var K=T.get("distance");y.isArray(K)||(K=[K,K]),B.__labelDistance=K}U!=null?B.hoverStyle={text:U,textFill:_.getTextColor(!0),fontStyle:_.getShallow("fontStyle"),fontWeight:_.getShallow("fontWeight"),fontSize:_.getShallow("fontSize"),fontFamily:_.getShallow("fontFamily")}:B.hoverStyle={text:null},B.ignore=!L&&!F,g.setHoverStyle(this)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateLayout=function(u,h){this.setLinePoints(u.getItemLayout(h))},e.setLinePoints=function(u){var h=this.childOfName("line");o(h.shape,u),h.dirty()},y.inherits(l,g.Group);var s=l;R.exports=s},fmMI:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.each,g=S.filter,f=S.map,d=S.isArray,c=S.indexOf,a=S.isObject,n=S.isString,i=S.createHashMap,o=S.assert,r=S.clone,l=S.merge,e=S.extend,s=S.mixin,u=t("4NO4"),h=t("Qxkt"),A=t("bLfw"),v=t("iXHM"),w=t("5Hur"),b=t("D5nY"),E=b.resetSourceDefaulter,T="\0_ec_inner",_=h.extend({init:function(M,U,k,K){k=k||{},this.option=null,this._theme=new h(k),this._optionManager=K},setOption:function(M,U){o(!(T in M),"please use chart.getOption()"),this._optionManager.setOption(M,U),this.resetOption(null)},resetOption:function(M){var U=!1,k=this._optionManager;if(!M||M==="recreate"){var K=k.mountOption(M==="recreate");!this.option||M==="recreate"?I.call(this,K):(this.restoreData(),this.mergeOption(K)),U=!0}if((M==="timeline"||M==="media")&&this.restoreData(),!M||M==="recreate"||M==="timeline"){var j=k.getTimelineOption(this);j&&(this.mergeOption(j),U=!0)}if(!M||M==="recreate"||M==="media"){var V=k.getMediaOption(this,this._api);V.length&&m(V,function(W){this.mergeOption(W,U=!0)},this)}return U},mergeOption:function(M){var U=this.option,k=this._componentsMap,K=[];E(this),m(M,function(V,W){if(V==null)return;A.hasClass(W)?W&&K.push(W):U[W]=U[W]==null?r(V):l(U[W],V,!0)}),A.topologicalTravel(K,A.getAllClassMainTypes(),j,this);function j(V,W){var X=u.normalizeToArray(M[V]),J=u.mappingToExists(k.get(V),X);u.makeIdAndName(J),m(J,function(G,ae){var Ae=G.option;a(Ae)&&(G.keyInfo.mainType=V,G.keyInfo.subType=F(V,Ae,G.exist))});var de=L(k,W);U[V]=[],k.set(V,[]),m(J,function(G,ae){var Ae=G.exist,me=G.option;if(o(a(me)||Ae,"Empty component definition"),!me)Ae.mergeOption({},this),Ae.optionUpdated({},!1);else{var Me=A.getClass(V,G.keyInfo.subType,!0);if(Ae&&Ae.constructor===Me)Ae.name=G.keyInfo.name,Ae.mergeOption(me,this),Ae.optionUpdated(me,!1);else{var oe=e({dependentModels:de,componentIndex:ae},G.keyInfo);Ae=new Me(me,this,this,oe),e(Ae,oe),Ae.init(me,this,this,oe),Ae.optionUpdated(null,!0)}}k.get(V)[ae]=Ae,U[V][ae]=Ae.option},this),V==="series"&&B(this,k.get("series"))}this._seriesIndicesMap=i(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var M=r(this.option);return m(M,function(U,k){if(A.hasClass(k)){for(var U=u.normalizeToArray(U),K=U.length-1;K>=0;K--)u.isIdInner(U[K])&&U.splice(K,1);M[k]=U}}),delete M[T],M},getTheme:function(){return this._theme},getComponent:function(M,U){var k=this._componentsMap.get(M);if(k)return k[U||0]},queryComponents:function(M){var U=M.mainType;if(!U)return[];var k=M.index,K=M.id,j=M.name,V=this._componentsMap.get(U);if(!V||!V.length)return[];var W;if(k!=null)d(k)||(k=[k]),W=g(f(k,function(de){return V[de]}),function(de){return!!de});else if(K!=null){var X=d(K);W=g(V,function(de){return X&&c(K,de.id)>=0||!X&&de.id===K})}else if(j!=null){var J=d(j);W=g(V,function(de){return J&&c(j,de.name)>=0||!J&&de.name===j})}else W=V.slice();return P(W,M)},findComponents:function(M){var U=M.query,k=M.mainType,K=V(U),j=K?this.queryComponents(K):this._componentsMap.get(k);return W(P(j,M));function V(X){var J=k+"Index",de=k+"Id",G=k+"Name";return X&&(X[J]!=null||X[de]!=null||X[G]!=null)?{mainType:k,index:X[J],id:X[de],name:X[G]}:null}function W(X){return M.filter?g(X,M.filter):X}},eachComponent:function(M,U,k){var K=this._componentsMap;if(typeof M=="function")k=U,U=M,K.each(function(V,W){m(V,function(X,J){U.call(k,W,X,J)})});else if(n(M))m(K.get(M),U,k);else if(a(M)){var j=this.findComponents(M);m(j,U,k)}},getSeriesByName:function(M){var U=this._componentsMap.get("series");return g(U,function(k){return k.name===M})},getSeriesByIndex:function(M){return this._componentsMap.get("series")[M]},getSeriesByType:function(M){var U=this._componentsMap.get("series");return g(U,function(k){return k.subType===M})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(M,U){H(this),m(this._seriesIndices,function(k){var K=this._componentsMap.get("series")[k];M.call(U,K,k)},this)},eachRawSeries:function(M,U){m(this._componentsMap.get("series"),M,U)},eachSeriesByType:function(M,U,k){H(this),m(this._seriesIndices,function(K){var j=this._componentsMap.get("series")[K];j.subType===M&&U.call(k,j,K)},this)},eachRawSeriesByType:function(M,U,k){return m(this.getSeriesByType(M),U,k)},isSeriesFiltered:function(M){return H(this),this._seriesIndicesMap.get(M.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(M,U){H(this);var k=g(this._componentsMap.get("series"),M,U);B(this,k)},restoreData:function(M){var U=this._componentsMap;B(this,U.get("series"));var k=[];U.each(function(K,j){k.push(j)}),A.topologicalTravel(k,A.getAllClassMainTypes(),function(K,j){m(U.get(K),function(V){(K!=="series"||!x(V,M))&&V.restoreData()})})}});function x(M,U){if(U){var k=U.seiresIndex,K=U.seriesId,j=U.seriesName;return k!=null&&M.componentIndex!==k||K!=null&&M.id!==K||j!=null&&M.name!==j}}function C(M,U){var k=M.color&&!M.colorLayer;m(U,function(K,j){if(j==="colorLayer"&&k)return;A.hasClass(j)||(typeof K=="object"?M[j]=M[j]?l(M[j],K,!1):r(K):M[j]==null&&(M[j]=K))})}function I(M){M=M,this.option={},this.option[T]=1,this._componentsMap=i({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(M,this._theme.option),l(M,v,!1),this.mergeOption(M)}function L(M,U){d(U)||(U=U?[U]:[]);var k={};return m(U,function(K){k[K]=(M.get(K)||[]).slice()}),k}function F(M,U,k){var K=U.type?U.type:k?k.subType:A.determineSubType(M,U);return K}function B(M,U){M._seriesIndicesMap=i(M._seriesIndices=f(U,function(k){return k.componentIndex})||[])}function P(M,U){return U.hasOwnProperty("subType")?g(M,function(k){return k.subType===U.subType}):M}function H(M){}s(_,w);var z=_;R.exports=z},fyUT: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.n(g),d=t("TSYQ"),c=t.n(d),a=t("Ff2n"),n=t("rePB"),i=t("1OyB"),o=t("vuIU"),r=t("Ji7U"),l=t("md7G"),e=t("foSv"),s=t("4IlW");function u(W,X){var J=Object.keys(W);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(W);X&&(de=de.filter(function(G){return Object.getOwnPropertyDescriptor(W,G).enumerable})),J.push.apply(J,de)}return J}function h(W){for(var X=1;X<arguments.length;X++){var J=arguments[X]!=null?arguments[X]:{};X%2?u(Object(J),!0).forEach(function(de){Object(n.a)(W,de,J[de])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(J)):u(Object(J)).forEach(function(de){Object.defineProperty(W,de,Object.getOwnPropertyDescriptor(J,de))})}return W}function A(W){var X=v();return function(){var de=Object(e.a)(W),G;if(X){var ae=Object(e.a)(this).constructor;G=Reflect.construct(de,arguments,ae)}else G=de.apply(this,arguments);return Object(l.a)(this,G)}}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(W){return!1}}function w(){}function b(W){W.preventDefault()}var E=function(X){return X.replace(/[^\w.-]+/g,"")},T=200,_=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(X){return X!=null},I=function(X,J){return J===X||typeof J=="number"&&typeof X=="number"&&isNaN(J)&&isNaN(X)},L=function(W){Object(r.a)(J,W);var X=A(J);function J(de){var G;Object(i.a)(this,J),G=X.call(this,de),G.onKeyDown=function(me){var Me=G.props,oe=Me.onKeyDown,_e=Me.onPressEnter;if(me.keyCode===s.a.UP){var ee=G.getRatio(me);G.up(me,ee,null),G.stop()}else if(me.keyCode===s.a.DOWN){var ne=G.getRatio(me);G.down(me,ne,null),G.stop()}else me.keyCode===s.a.ENTER&&_e&&_e(me);if(G.recordCursorPosition(),G.lastKeyCode=me.keyCode,oe){for(var Ge=arguments.length,Ee=new Array(Ge>1?Ge-1:0),ue=1;ue<Ge;ue++)Ee[ue-1]=arguments[ue];oe.apply(void 0,[me].concat(Ee))}},G.onKeyUp=function(me){var Me=G.props.onKeyUp;if(G.stop(),G.recordCursorPosition(),Me){for(var oe=arguments.length,_e=new Array(oe>1?oe-1:0),ee=1;ee<oe;ee++)_e[ee-1]=arguments[ee];Me.apply(void 0,[me].concat(_e))}},G.onChange=function(me){var Me=G.props.onChange;G.state.focused&&(G.inputting=!0),G.rawInput=G.props.parser(G.getValueFromEvent(me)),G.setState({inputValue:G.rawInput}),Me(G.toNumber(G.rawInput))},G.onMouseUp=function(){var me=G.props.onMouseUp;G.recordCursorPosition(),me&&me.apply(void 0,arguments)},G.onFocus=function(){var me;G.setState({focused:!0}),(me=G.props).onFocus.apply(me,arguments)},G.onBlur=function(){var me=G.props.onBlur;G.inputting=!1,G.setState({focused:!1});var Me=G.getCurrentValidValue(G.state.inputValue),oe=G.setValue(Me,w);if(me){var _e=G.input.value,ee=G.getInputDisplayValue({focus:!1,value:oe});G.input.value=ee&&Number(ee),me.apply(void 0,arguments),G.input.value=_e}},G.getRatio=function(me){var Me=1;return me.metaKey||me.ctrlKey?Me=.1:me.shiftKey&&(Me=10),Me},G.getFullNum=function(me){return isNaN(me)?me:/e/i.test(String(me))?Number(me).toFixed(18).replace(/\.?0+$/,""):me},G.getPrecision=function(me){if(C(G.props.precision))return G.props.precision;var Me=String(me);if(Me.indexOf("e-")>=0)return parseInt(Me.slice(Me.indexOf("e-")+2),10);var oe=0;return Me.indexOf(".")>=0&&(oe=Me.length-Me.indexOf(".")-1),oe},G.getInputDisplayValue=function(me){var Me=me||G.state,oe=Me.focused,_e=Me.inputValue,ee=Me.value,ne;oe?ne=_e:ne=G.toPrecisionAsStep(ee),ne==null&&(ne="");var Ge=G.formatWrapper(ne);return C(G.props.decimalSeparator)&&(Ge=Ge.toString().replace(".",G.props.decimalSeparator)),Ge},G.recordCursorPosition=function(){try{G.cursorStart=G.input.selectionStart,G.cursorEnd=G.input.selectionEnd,G.currentValue=G.input.value,G.cursorBefore=G.input.value.substring(0,G.cursorStart),G.cursorAfter=G.input.value.substring(G.cursorEnd)}catch(me){}},G.restoreByAfter=function(me){if(me===void 0)return!1;var Me=G.input.value,oe=Me.lastIndexOf(me);if(oe===-1)return!1;var _e=G.cursorBefore.length;return G.lastKeyCode===s.a.DELETE&&G.cursorBefore.charAt(_e-1)===me[0]?(G.fixCaret(_e,_e),!0):oe+me.length===Me.length?(G.fixCaret(oe,oe),!0):!1},G.partRestoreByAfter=function(me){return me===void 0?!1:Array.prototype.some.call(me,function(Me,oe){var _e=me.substring(oe);return G.restoreByAfter(_e)})},G.isNotCompleteNumber=function(me){return isNaN(me)||me===""||me===null||me&&me.toString().indexOf(".")===me.toString().length-1},G.stop=function(){G.autoStepTimer&&clearTimeout(G.autoStepTimer)},G.down=function(me,Me,oe){G.pressingUpOrDown=!0,G.step("down",me,Me,oe)},G.up=function(me,Me,oe){G.pressingUpOrDown=!0,G.step("up",me,Me,oe)},G.saveInput=function(me){G.input=me};var ae=de.value;ae===void 0&&(ae=de.defaultValue),G.state={focused:de.autoFocus};var Ae=G.getValidValue(G.toNumber(ae));return G.state=h(h({},G.state),{},{inputValue:G.toPrecisionAsStep(Ae),value:Ae}),G}return Object(o.a)(J,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(G){var ae=this.props,Ae=ae.value,me=ae.onChange,Me=ae.max,oe=ae.min,_e=this.state.focused;if(G){if(!I(G.value,Ae)||!I(G.max,Me)||!I(G.min,oe)){var ee=_e?Ae:this.getValidValue(Ae),ne;this.pressingUpOrDown?ne=ee:this.inputting?ne=this.rawInput:ne=this.toPrecisionAsStep(ee),this.setState({value:ee,inputValue:ne})}var Ge="value"in this.props?Ae:this.state.value;"max"in this.props&&G.max!==Me&&typeof Ge=="number"&&Ge>Me&&me&&me(Me),"min"in this.props&&G.min!==oe&&typeof Ge=="number"&&Ge<oe&&me&&me(oe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Ee=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?Ee=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(Ee=this.cursorStart):Ee=this.input.value.length,this.fixCaret(Ee,Ee)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(ue){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(G){var ae=G;return ae===""?ae="":this.isNotCompleteNumber(parseFloat(ae))?ae=this.state.value:ae=this.getValidValue(ae),this.toNumber(ae)}},{key:"getValueFromEvent",value:function(G){var ae=G.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(ae=ae.replace(this.props.decimalSeparator,".")),ae}},{key:"getValidValue",value:function(G){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,me=parseFloat(G);return isNaN(me)?G:(me<ae&&(me=ae),me>Ae&&(me=Ae),me)}},{key:"setValue",value:function(G,ae){var Ae=this.props.precision,me=this.isNotCompleteNumber(parseFloat(G))?null:parseFloat(G),Me=this.state.value,oe=Me===void 0?null:Me,_e=this.state.inputValue,ee=_e===void 0?null:_e,ne=typeof me=="number"?me.toFixed(Ae):"".concat(me),Ge=me!==oe||ne!=="".concat(ee);return"value"in this.props?(ee=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ee},ae)):this.setState({value:me,inputValue:this.toPrecisionAsStep(G)},ae),Ge&&this.props.onChange(me),me}},{key:"getMaxPrecision",value:function(G){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.props,me=Ae.precision,Me=Ae.step;if(C(me))return me;var oe=this.getPrecision(ae),_e=this.getPrecision(Me),ee=this.getPrecision(G);return G?Math.max(ee,oe+_e):oe+_e}},{key:"getPrecisionFactor",value:function(G){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.getMaxPrecision(G,ae);return Math.pow(10,Ae)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(G){return this.props.formatter?this.props.formatter(G):G}},{key:"toPrecisionAsStep",value:function(G){if(this.isNotCompleteNumber(G)||G==="")return G;var ae=Math.abs(this.getMaxPrecision(G));return isNaN(ae)?G.toString():Number(G).toFixed(ae)}},{key:"toNumber",value:function(G){var ae=this.props.precision,Ae=this.state.focused,me=G&&G.length>16&&Ae;return this.isNotCompleteNumber(G)||me?G:C(ae)?Math.round(G*Math.pow(10,ae))/Math.pow(10,ae):Number(G)}},{key:"upStep",value:function(G,ae){var Ae=this.props.step,me=this.getPrecisionFactor(G,ae),Me=Math.abs(this.getMaxPrecision(G,ae)),oe=((me*G+me*Ae*ae)/me).toFixed(Me);return this.toNumber(oe)}},{key:"downStep",value:function(G,ae){var Ae=this.props.step,me=this.getPrecisionFactor(G,ae),Me=Math.abs(this.getMaxPrecision(G,ae)),oe=((me*G-me*Ae*ae)/me).toFixed(Me);return this.toNumber(oe)}},{key:"step",value:function(G,ae){var Ae=this,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Me=arguments.length>3?arguments[3]:void 0;this.stop(),ae&&(ae.persist(),ae.preventDefault());var oe=this.props;if(oe.disabled)return;var _e=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(_e))return;var ee=this["".concat(G,"Step")](_e,me),ne=ee>oe.max||ee<oe.min;if(ee>oe.max?ee=oe.max:ee<oe.min&&(ee=oe.min),this.setValue(ee,null),this.setState({focused:!0},function(){Ae.pressingUpOrDown=!1}),ne)return;this.autoStepTimer=setTimeout(function(){Ae[G](ae,me,!0)},Me?T:_)}},{key:"fixCaret",value:function(G,ae){if(G===void 0||ae===void 0||!this.input||!this.input.value)return;try{var Ae=this.input.selectionStart,me=this.input.selectionEnd;(G!==Ae||ae!==me)&&this.input.setSelectionRange(G,ae)}catch(Me){}}},{key:"render",value:function(){var G,ae=this.props,Ae=ae.prefixCls,me=ae.disabled,Me=ae.readOnly,oe=ae.useTouch,_e=ae.autoComplete,ee=ae.upHandler,ne=ae.downHandler,Ge=ae.className,Ee=ae.max,ue=ae.min,re=ae.style,ce=ae.title,ke=ae.onMouseEnter,Te=ae.onMouseLeave,Ke=ae.onMouseOver,Ie=ae.onMouseOut,se=ae.required,ye=ae.onClick,xe=ae.tabIndex,Ye=ae.type,pt=ae.placeholder,nt=ae.id,Oe=ae.inputMode,vt=ae.pattern,Ze=ae.step,wt=ae.maxLength,xt=ae.autoFocus,Ot=ae.name,Mt=ae.onPaste,Gt=ae.onInput,$e=Object(a.a)(ae,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste","onInput"]),pe=this.state,q=pe.value,bt=pe.focused,qe=c()(Ae,(G={},Object(n.a)(G,Ge,!!Ge),Object(n.a)(G,"".concat(Ae,"-disabled"),me),Object(n.a)(G,"".concat(Ae,"-focused"),bt),G)),le={};Object.keys($e).forEach(function(Xe){(Xe.substr(0,5)==="data-"||Xe.substr(0,5)==="aria-"||Xe==="role")&&(le[Xe]=$e[Xe])});var Nt=!Me&&!me,tr=this.getInputDisplayValue(null),lt=(q||q===0)&&(isNaN(q)||Number(q)>=Ee),Wt=(q||q===0)&&(isNaN(q)||Number(q)<=ue),cr=lt||me||Me,Vr=Wt||me||Me,ur=c()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-up"),Object(n.a)({},"".concat(Ae,"-handler-up-disabled"),cr)),ir=c()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-down"),Object(n.a)({},"".concat(Ae,"-handler-down-disabled"),Vr)),Lt=oe?{onTouchStart:cr?w:this.up,onTouchEnd:this.stop}:{onMouseDown:cr?w:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ot=oe?{onTouchStart:Vr?w:this.down,onTouchEnd:this.stop}:{onMouseDown:Vr?w:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return f.a.createElement("div",{className:qe,style:re,title:ce,onMouseEnter:ke,onMouseLeave:Te,onMouseOver:Ke,onMouseOut:Ie,onFocus:function(){return null},onBlur:function(){return null}},f.a.createElement("div",{className:"".concat(Ae,"-handler-wrap")},f.a.createElement("span",Object.assign({unselectable:"on"},Lt,{role:"button","aria-label":"Increase Value","aria-disabled":cr,className:ur}),ee||f.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-up-inner"),onClick:b})),f.a.createElement("span",Object.assign({unselectable:"on"},ot,{role:"button","aria-label":"Decrease Value","aria-disabled":Vr,className:ir}),ne||f.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-down-inner"),onClick:b}))),f.a.createElement("div",{className:"".concat(Ae,"-input-wrap")},f.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":ue,"aria-valuemax":Ee,"aria-valuenow":q,required:se,type:Ye,placeholder:pt,onPaste:Mt,onClick:ye,onMouseUp:this.onMouseUp,className:"".concat(Ae,"-input"),tabIndex:xe,autoComplete:_e,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Nt?this.onKeyDown:w,onKeyUp:Nt?this.onKeyUp:w,autoFocus:xt,maxLength:wt,readOnly:Me,disabled:me,max:Ee,min:ue,step:Ze,name:Ot,title:ce,id:nt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(tr),pattern:vt,inputMode:Oe,onInput:Gt},le))))}}]),J}(f.a.Component);L.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:x,min:-x,step:1,style:{},onChange:w,onKeyDown:w,onPressEnter:w,onFocus:w,onBlur:w,parser:E,required:!1,autoComplete:"off"};var F=L,B=F,P=t("FH2Y"),H=t.n(P),z=t("HQEm"),M=t.n(z),U=t("H84U"),k=t("3Nzz"),K=function(W,X){var J={};for(var de in W)Object.prototype.hasOwnProperty.call(W,de)&&X.indexOf(de)<0&&(J[de]=W[de]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,de=Object.getOwnPropertySymbols(W);G<de.length;G++)X.indexOf(de[G])<0&&Object.prototype.propertyIsEnumerable.call(W,de[G])&&(J[de[G]]=W[de[G]]);return J},j=g.forwardRef(function(W,X){var J=function(G){var ae=G.getPrefixCls,Ae=G.direction,me=W.className,Me=W.size,oe=W.prefixCls,_e=W.readOnly,ee=K(W,["className","size","prefixCls","readOnly"]),ne=ae("input-number",oe),Ge=g.createElement(H.a,{className:"".concat(ne,"-handler-up-inner")}),Ee=g.createElement(M.a,{className:"".concat(ne,"-handler-down-inner")});return g.createElement(k.b.Consumer,null,function(ue){var re,ce=Me||ue,ke=c()((re={},m()(re,"".concat(ne,"-lg"),ce==="large"),m()(re,"".concat(ne,"-sm"),ce==="small"),m()(re,"".concat(ne,"-rtl"),Ae==="rtl"),m()(re,"".concat(ne,"-readonly"),_e),re),me);return g.createElement(B,p()({ref:X,className:ke,upHandler:Ge,downHandler:Ee,prefixCls:ne,readOnly:_e},ee))})};return g.createElement(U.a,null,J)});j.defaultProps={step:1};var V=N.a=j},g0SD:function(R,N,t){var y=t("bYtY"),p=t("9wZj"),S=t("OELB"),m=t("YXkt"),g=t("kj2x"),f=t("iPDy");function d(n,i,o){var r=i.coordinateSystem;n.each(function(l){var e=n.getItemModel(l),s,u=S.parsePercent(e.get("x"),o.getWidth()),h=S.parsePercent(e.get("y"),o.getHeight());if(!isNaN(u)&&!isNaN(h))s=[u,h];else if(i.getMarkerPosition)s=i.getMarkerPosition(n.getValues(n.dimensions,l));else if(r){var A=n.get(r.dimensions[0],l),v=n.get(r.dimensions[1],l);s=r.dataToPoint([A,v])}isNaN(u)||(s[0]=u),isNaN(h)||(s[1]=h),n.setItemLayout(l,s)})}var c=f.extend({type:"markPoint",updateTransform:function(n,i,o){i.eachSeries(function(r){var l=r.markPointModel;l&&(d(l.getData(),r,o),this.markerGroupMap.get(r.id).updateLayout(l))},this)},renderSeries:function(n,i,o,r){var l=n.coordinateSystem,e=n.id,s=n.getData(),u=this.markerGroupMap,h=u.get(e)||u.set(e,new p),A=a(l,n,i);i.setData(A),d(i.getData(),n,r),A.each(function(v){var w=A.getItemModel(v),b=w.getShallow("symbol"),E=w.getShallow("symbolSize"),T=y.isFunction(b),_=y.isFunction(E);if(T||_){var x=i.getRawValue(v),C=i.getDataParams(v);T&&(b=b(x,C)),_&&(E=E(x,C))}A.setItemVisual(v,{symbol:b,symbolSize:E,color:w.get("itemStyle.color")||s.getVisual("color")})}),h.updateData(A),this.group.add(h.group),A.eachItemGraphicEl(function(v){v.traverse(function(w){w.dataModel=i})}),h.__keep=!0,h.group.silent=i.get("silent")||n.get("silent")}});function a(n,i,o){var r;n?r=y.map(n&&n.dimensions,function(s){var u=i.getData().getDimensionInfo(i.getData().mapDimension(s))||{};return y.defaults({name:s},u)}):r=[{name:"value",type:"float"}];var l=new m(r,o),e=y.map(o.get("data"),y.curry(g.dataTransform,i));return n&&(e=y.filter(e,y.curry(g.dataFilter,n))),l.initData(e,null,n?g.dimValueGetter:function(s){return s.value}),l}R.exports=c},g7p0:function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("+TT/"),m=S.getLayoutParams,g=S.sizeCalculable,f=S.mergeLayoutParam,d=p.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(n,i,o,r){var l=m(n);d.superApply(this,"init",arguments),c(n,l)},mergeOption:function(n,i){d.superApply(this,"mergeOption",arguments),c(this.option,n)}});function c(n,i){var o=n.cellSize;y.isArray(o)?o.length===1&&(o[1]=o[0]):o=n.cellSize=[o,o];var r=y.map([0,1],function(l){return g(i,l)&&(o[l]="auto"),o[l]!=null&&o[l]!=="auto"});f(n,i,{type:"box",ignoreSize:r})}var a=d;R.exports=a},g9YV:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("pED+"),m=t.n(S),g=t("+L6B"),f=t("R9oj"),d=t("7Kak"),c=t("sRBo"),a=t("qVdP"),n=t("T2oS"),i=t("DjyN"),o=t("5Dmo")},gIYZ:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};N.default=y},gKaM: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:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};N.default=y},gPAo:function(R,N){function t(m){return m}function y(m,g,f,d,c){this._old=m,this._new=g,this._oldKeyGetter=f||t,this._newKeyGetter=d||t,this.context=c}y.prototype={constructor:y,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,g=this._new,f={},d={},c=[],a=[],n;for(p(m,f,c,"_oldKeyGetter",this),p(g,d,a,"_newKeyGetter",this),n=0;n<m.length;n++){var i=c[n],o=d[i];if(o!=null){var r=o.length;r?(r===1&&(d[i]=null),o=o.shift()):d[i]=null,this._update&&this._update(o,n)}else this._remove&&this._remove(n)}for(var n=0;n<a.length;n++){var i=a[n];if(d.hasOwnProperty(i)){var o=d[i];if(o==null)continue;if(!o.length)this._add&&this._add(o);else for(var l=0,r=o.length;l<r;l++)this._add&&this._add(o[l])}}}};function p(m,g,f,d,c){for(var a=0;a<m.length;a++){var n="_ec_"+c[d](m[a],a),i=g[n];i==null?(f.push(n),g[n]=a):(i.length||(g[n]=i=[i]),i.push(a))}}var S=y;R.exports=S},gRFJ:function(R,N,t){R.exports=[t("rdUC"),t("ynwM"),t("RELg"),t("DlR+"),t("CrYA"),t("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(R){return R<10?"0"+R:R}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(R){return rx_escapable.lastIndex=0,rx_escapable.test(R)?'"'+R.replace(rx_escapable,function(N){var t=meta[N];return typeof t=="string"?t:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+R+'"'}function str(R,N){var t,y,p,S,m=gap,g,f=N[R];f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(R)),typeof rep=="function"&&(f=rep.call(N,R,f));switch(typeof f){case"string":return quote(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(gap+=indent,g=[],Object.prototype.toString.apply(f)==="[object Array]"){for(S=f.length,t=0;t<S;t+=1)g[t]=str(t,f)||"null";return p=g.length===0?"[]":gap?`[
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"]":"["+g.join(",")+"]",gap=m,p}if(rep&&typeof rep=="object")for(S=rep.length,t=0;t<S;t+=1)typeof rep[t]=="string"&&(y=rep[t],p=str(y,f),p&&g.push(quote(y)+(gap?": ":":")+p));else for(y in f)Object.prototype.hasOwnProperty.call(f,y)&&(p=str(y,f),p&&g.push(quote(y)+(gap?": ":":")+p));return p=g.length===0?"{}":gap?`{
|
|
|
`+gap+g.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"}":"{"+g.join(",")+"}",gap=m,p}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(R,N,t){var y;if(gap="",indent="",typeof t=="number")for(y=0;y<t;y+=1)indent+=" ";else typeof t=="string"&&(indent=t);if(rep=N,N&&typeof N!="function"&&(typeof N!="object"||typeof N.length!="number"))throw new Error("JSON.stringify");return str("",{"":R})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(R,N){var t,y,p=R[N];if(p&&typeof p=="object")for(t in p)Object.prototype.hasOwnProperty.call(p,t)&&(y=walk(p,t),y!==void 0?p[t]=y:delete p[t]);return reviver.call(R,N,p)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(R){return"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(R,N,t){var y=t("+TT/"),p=t("bYtY"),S=t("4NO4"),m=S.groupData;function g(I,L,F){I.eachSeriesByType("sankey",function(B){var P=B.get("nodeWidth"),H=B.get("nodeGap"),z=f(B,L);B.layoutInfo=z;var M=z.width,U=z.height,k=B.getGraph(),K=k.nodes,j=k.edges;c(K);var V=p.filter(K,function(de){return de.getLayout().value===0}),W=V.length!==0?0:B.get("layoutIterations"),X=B.get("orient"),J=B.get("nodeAlign");d(K,j,P,H,M,U,W,X,J)})}function f(I,L){return y.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function d(I,L,F,B,P,H,z,M,U){a(I,L,F,P,H,M,U),l(I,L,H,P,B,z,M),C(I,M)}function c(I){p.each(I,function(L){var F=_(L.outEdges,T),B=_(L.inEdges,T),P=L.getValue()||0,H=Math.max(F,B,P);L.setLayout({value:H},!0)})}function a(I,L,F,B,P,H,z){for(var M=[],U=[],k=[],K=[],j=0,V=0,W=0;W<L.length;W++)M[W]=1;for(W=0;W<I.length;W++)U[W]=I[W].inEdges.length,U[W]===0&&k.push(I[W]);for(var X=-1;k.length;){for(var J=0;J<k.length;J++){var de=k[J],G=de.hostGraph.data.getRawDataItem(de.dataIndex),ae=G.depth!=null&&G.depth>=0;ae&&G.depth>X&&(X=G.depth),de.setLayout({depth:ae?G.depth:j},!0),H==="vertical"?de.setLayout({dy:F},!0):de.setLayout({dx:F},!0);for(var Ae=0;Ae<de.outEdges.length;Ae++){var me=de.outEdges[Ae],Me=L.indexOf(me);M[Me]=0;var oe=me.node2,_e=I.indexOf(oe);--U[_e]===0&&K.indexOf(oe)<0&&K.push(oe)}}++j,k=K,K=[]}for(W=0;W<M.length;W++)if(M[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ee=X>j-1?X:j-1;z&&z!=="left"&&i(I,z,H,ee);var V=H==="vertical"?(P-F)/ee:(B-F)/ee;r(I,V,H)}function n(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function i(I,L,F,B){if(L==="right"){for(var P=[],H=I,z=0;H.length;){for(var M=0;M<H.length;M++){var U=H[M];U.setLayout({skNodeHeight:z},!0);for(var k=0;k<U.inEdges.length;k++){var K=U.inEdges[k];P.indexOf(K.node1)<0&&P.push(K.node1)}}H=P,P=[],++z}p.each(I,function(j){n(j)||j.setLayout({depth:Math.max(0,B-j.getLayout().skNodeHeight)},!0)})}else L==="justify"&&o(I,B)}function o(I,L){p.each(I,function(F){!n(F)&&!F.outEdges.length&&F.setLayout({depth:L},!0)})}function r(I,L,F){p.each(I,function(B){var P=B.getLayout().depth*L;F==="vertical"?B.setLayout({y:P},!0):B.setLayout({x:P},!0)})}function l(I,L,F,B,P,H,z){var M=e(I,z);s(M,L,F,B,P,z),u(M,P,F,B,z);for(var U=1;H>0;H--)U*=.99,h(M,U,z),u(M,P,F,B,z),x(M,U,z),u(M,P,F,B,z)}function e(I,L){var F=[],B=L==="vertical"?"y":"x",P=m(I,function(H){return H.getLayout()[B]});return P.keys.sort(function(H,z){return H-z}),p.each(P.keys,function(H){F.push(P.buckets.get(H))}),F}function s(I,L,F,B,P,H){var z=Infinity;p.each(I,function(M){var U=M.length,k=0;p.each(M,function(j){k+=j.getLayout().value});var K=H==="vertical"?(B-(U-1)*P)/k:(F-(U-1)*P)/k;K<z&&(z=K)}),p.each(I,function(M){p.each(M,function(U,k){var K=U.getLayout().value*z;H==="vertical"?(U.setLayout({x:k},!0),U.setLayout({dx:K},!0)):(U.setLayout({y:k},!0),U.setLayout({dy:K},!0))})}),p.each(L,function(M){var U=+M.getValue()*z;M.setLayout({dy:U},!0)})}function u(I,L,F,B,P){var H=P==="vertical"?"x":"y";p.each(I,function(z){z.sort(function(J,de){return J.getLayout()[H]-de.getLayout()[H]});for(var M,U,k,K=0,j=z.length,V=P==="vertical"?"dx":"dy",W=0;W<j;W++)U=z[W],k=K-U.getLayout()[H],k>0&&(M=U.getLayout()[H]+k,P==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),K=U.getLayout()[H]+U.getLayout()[V]+L;var X=P==="vertical"?B:F;if(k=K-L-X,k>0)for(M=U.getLayout()[H]-k,P==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0),K=M,W=j-2;W>=0;--W)U=z[W],k=U.getLayout()[H]+U.getLayout()[V]+L-K,k>0&&(M=U.getLayout()[H]-k,P==="vertical"?U.setLayout({x:M},!0):U.setLayout({y:M},!0)),K=U.getLayout()[H]})}function h(I,L,F){p.each(I.slice().reverse(),function(B){p.each(B,function(P){if(P.outEdges.length){var H=_(P.outEdges,A,F)/_(P.outEdges,T,F);if(isNaN(H)){var z=P.outEdges.length;H=z?_(P.outEdges,v,F)/z:0}if(F==="vertical"){var M=P.getLayout().x+(H-E(P,F))*L;P.setLayout({x:M},!0)}else{var U=P.getLayout().y+(H-E(P,F))*L;P.setLayout({y:U},!0)}}})})}function A(I,L){return E(I.node2,L)*I.getValue()}function v(I,L){return E(I.node2,L)}function w(I,L){return E(I.node1,L)*I.getValue()}function b(I,L){return E(I.node1,L)}function E(I,L){return L==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function T(I){return I.getValue()}function _(I,L,F){for(var B=0,P=I.length,H=-1;++H<P;){var z=+L.call(I,I[H],F);isNaN(z)||(B+=z)}return B}function x(I,L,F){p.each(I,function(B){p.each(B,function(P){if(P.inEdges.length){var H=_(P.inEdges,w,F)/_(P.inEdges,T,F);if(isNaN(H)){var z=P.inEdges.length;H=z?_(P.inEdges,b,F)/z:0}if(F==="vertical"){var M=P.getLayout().x+(H-E(P,F))*L;P.setLayout({x:M},!0)}else{var U=P.getLayout().y+(H-E(P,F))*L;P.setLayout({y:U},!0)}}})})}function C(I,L){var F=L==="vertical"?"x":"y";p.each(I,function(B){B.outEdges.sort(function(P,H){return P.node2.getLayout()[F]-H.node2.getLayout()[F]}),B.inEdges.sort(function(P,H){return P.node1.getLayout()[F]-H.node1.getLayout()[F]})}),p.each(I,function(B){var P=0,H=0;p.each(B.outEdges,function(z){z.setLayout({sy:P},!0),P+=z.getLayout().dy}),p.each(B.inEdges,function(z){z.setLayout({ty:H},!0),H+=z.getLayout().dy})})}R.exports=g},"giR+":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("QbM5"),m=t.n(S)},gut8:function(R,N){var t={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},y=9;N.ContextCachedBy=t,N.WILL_BE_RESTORED=y},gvm7:function(R,N,t){var y=t("bYtY"),p=t("dqUG");function S(g){this._zr=g.getZr(),this._show=!1,this._hideTimeout}S.prototype={constructor:S,_enterable:!0,update:function(){},show:function(g){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(g,f,d){this.el&&this._zr.remove(this.el);for(var c={},a=g,n="{marker",i="|}",o=a.indexOf(n);o>=0;){var r=a.indexOf(i),l=a.substr(o+n.length,r-o-n.length);l.indexOf("sub")>-1?c["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[l],textOffset:[3,0]}:c["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[l]},a=a.substr(r+1),o=a.indexOf("{marker")}this.el=new p({style:{rich:c,text:g,textLineHeight:20,textBackgroundColor:d.get("backgroundColor"),textBorderRadius:d.get("borderRadius"),textFill:d.get("textStyle.color"),textPadding:d.get("padding")},z:d.get("z")}),this._zr.add(this.el);var e=this;this.el.on("mouseover",function(){e._enterable&&(clearTimeout(e._hideTimeout),e._show=!0),e._inContent=!0}),this.el.on("mouseout",function(){e._enterable&&(e._show&&e.hideLater(e._hideDelay)),e._inContent=!1})},setEnterable:function(g){this._enterable=g},getSize:function(){var g=this.el.getBoundingRect();return[g.width,g.height]},moveTo:function(g,f){this.el&&this.el.attr("position",[g,f])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(g){this._show&&!(this._inContent&&this._enterable)&&(g?(this._hideDelay=g,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),g)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var g=this.getSize();return{width:g[0],height:g[1]}}};var m=S;R.exports=m},gwTy:function(R,N,t){},h54F:function(R,N,t){var y=t("ProS"),p=t("YXkt"),S=t("bYtY"),m=t("4NO4"),g=m.defaultEmphasis,f=t("Qxkt"),d=t("7aKB"),c=d.encodeHTML,a=t("I3/A"),n=t("xKMd"),i=y.extendSeriesModel({type:"series.graph",init:function(r){i.superApply(this,"init",arguments);var l=this;function e(){return l._categoriesData}this.legendVisualProvider=new n(e,e),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){i.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){i.superApply(this,"mergeDefaultAndTheme",arguments),g(r,["edgeLabel"],["show"])},getInitialData:function(r,l){var e=r.edges||r.links||[],s=r.data||r.nodes||[],u=this;if(s&&e)return a(s,e,this,!0,h).data;function h(A,v){A.wrapMethod("getItemModel",function(x){var C=u._categoriesModels,I=x.getShallow("category"),L=C[I];return L&&(L.parentModel=x.parentModel,x.parentModel=L),x});var w=u.getModel("edgeLabel"),b=new f({label:w.option},w.parentModel,l),E=u.getModel("emphasis.edgeLabel"),T=new f({emphasis:{label:E.option}},E.parentModel,l);v.wrapMethod("getItemModel",function(x){return x.customizeGetParent(_),x});function _(x){return x=this.parsePath(x),x&&x[0]==="label"?b:x&&x[0]==="emphasis"&&x[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,l,e){if(e==="edge"){var s=this.getData(),u=this.getDataParams(r,e),h=s.graph.getEdgeByIndex(r),A=s.getName(h.node1.dataIndex),v=s.getName(h.node2.dataIndex),w=[];return A!=null&&w.push(A),v!=null&&w.push(v),w=c(w.join(" > ")),u.value&&(w+=" : "+c(u.value)),w}else return i.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=S.map(this.option.categories||[],function(e){return e.value!=null?e:S.extend({value:0},e)}),l=new p(["value"],this);l.initData(r),this._categoriesData=l,this._categoriesModels=l.mapArray(function(e){return l.getItemModel(e,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return i.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),o=i;R.exports=o},h7HQ:function(R,N,t){var y=t("y+Vt"),p=t("T6xi"),S=y.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(g,f){p.buildPath(g,f,!0)}});R.exports=S},h8O9:function(R,N,t){var y=t("bYtY"),p=y.map,S=t("zM3Q"),m=t("7hqr"),g=m.isDimensionStacked;function f(d){return{seriesType:d,plan:S(),reset:function(c){var a=c.getData(),n=c.coordinateSystem,i=c.pipelineContext,o=i.large;if(!n)return;var r=p(n.dimensions,function(u){return a.mapDimension(u)}).slice(0,2),l=r.length,e=a.getCalculationInfo("stackResultDimension");g(a,r[0])&&(r[0]=e),g(a,r[1])&&(r[1]=e);function s(u,h){for(var A=u.end-u.start,v=o&&new Float32Array(A*l),w=u.start,b=0,E=[],T=[];w<u.end;w++){var _;if(l===1){var x=h.get(r[0],w);_=!isNaN(x)&&n.dataToPoint(x,null,T)}else{var x=E[0]=h.get(r[0],w),C=E[1]=h.get(r[1],w);_=!isNaN(x)&&!isNaN(C)&&n.dataToPoint(E,null,T)}o?(v[b++]=_?_[0]:NaN,v[b++]=_?_[1]:NaN):h.setItemLayout(w,_&&_.slice()||[NaN,NaN])}o&&h.setLayout("symbolPoints",v)}return l&&{progress:s}}}}R.exports=f},hD7B:function(R,N,t){var y=t("bYtY"),p=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function S(g){y.each(p,function(f){this[f]=y.bind(g[f],g)},this)}var m=S;R.exports=m},hFmY:function(R,N,t){var y=t("ProS"),p={type:"axisAreaSelect",event:"axisAreaSelected"};y.registerAction(p,function(S,m){m.eachComponent({mainType:"parallelAxis",query:S},function(g){g.axis.model.setActiveIntervals(S.intervals)})}),y.registerAction("parallelAxisExpand",function(S,m){m.eachComponent({mainType:"parallel",query:S},function(g){g.setAxisExpand(S)})})},hJvP:function(R,N,t){var y=t("2dDv"),p=t("IDmD");function S(m,g){var f=[];return m.eachComponent("parallel",function(d,c){var a=new y(d,m,g);a.name="parallel_"+c,a.resize(d,g),d.coordinateSystem=a,a.model=d,f.push(a)}),m.eachSeries(function(d){if(d.get("coordinateSystem")==="parallel"){var c=m.queryComponents({mainType:"parallel",index:d.get("parallelIndex"),id:d.get("parallelId")})[0];d.coordinateSystem=c.coordinateSystem}}),f}p.register("parallel",{create:S})},hM6l:function(R,N,t){var y=t("bYtY"),p=y.each,S=y.map,m=t("OELB"),g=m.linearMap,f=m.getPixelPrecision,d=m.round,c=t("4HMb"),a=c.createAxisTicks,n=c.createAxisLabels,i=c.calculateCategoryInterval,o=[0,1],r=function(u,h,A){this.dim=u,this.scale=h,this._extent=A||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(u){var h=this._extent,A=Math.min(h[0],h[1]),v=Math.max(h[0],h[1]);return u>=A&&u<=v},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return f(u||this.scale.getExtent(),this._extent)},setExtent:function(u,h){var A=this._extent;A[0]=u,A[1]=h},dataToCoord:function(u,h){var A=this._extent,v=this.scale;return u=v.normalize(u),this.onBand&&v.type==="ordinal"&&(A=A.slice(),l(A,v.count())),g(u,o,A,h)},coordToData:function(u,h){var A=this._extent,v=this.scale;this.onBand&&v.type==="ordinal"&&(A=A.slice(),l(A,v.count()));var w=g(u,A,o,h);return this.scale.scale(w)},pointToData:function(u,h){},getTicksCoords:function(u){u=u||{};var h=u.tickModel||this.getTickModel(),A=a(this,h),v=A.ticks,w=S(v,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),b=h.get("alignWithLabel");return e(this,w,b,u.clamp),w},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),h=u.get("splitNumber");h>0&&h<100||(h=5);var A=this.scale.getMinorTicks(h),v=S(A,function(w){return S(w,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this)},this);return v},getViewLabels:function(){return n(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,h=this.scale.getExtent(),A=h[1]-h[0]+(this.onBand?1:0);A===0&&(A=1);var v=Math.abs(u[1]-u[0]);return Math.abs(v)/A},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return i(this)}};function l(u,h){var A=u[1]-u[0],v=h,w=A/v/2;u[0]+=w,u[1]-=w}function e(u,h,A,v){var w=h.length;if(!u.onBand||A||!w)return;var b=u.getExtent(),E,T;if(w===1)h[0].coord=b[0],E=h[1]={coord:b[0]};else{var _=h[w-1].tickValue-h[0].tickValue,x=(h[w-1].coord-h[0].coord)/_;p(h,function(F){F.coord-=x/2});var C=u.scale.getExtent();T=1+C[1]-h[w-1].tickValue,E={coord:h[w-1].coord+x*T},h.push(E)}var I=b[0]>b[1];L(h[0].coord,b[0])&&(v?h[0].coord=b[0]:h.shift()),v&&L(b[0],h[0].coord)&&h.unshift({coord:b[0]}),L(b[1],E.coord)&&(v?E.coord=b[1]:h.pop()),v&&L(E.coord,b[1])&&h.push({coord:b[1]});function L(F,B){return F=d(F),B=d(B),I?F>B:F<B}}var s=r;R.exports=s},hNWo:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("Qxkt"),m=t("4NO4"),g=m.isNameSpecified,f=t("Kagy"),d=f.legend.selector,c={all:{type:"all",title:p.clone(d.all)},inverse:{type:"inverse",title:p.clone(d.inverse)}},a=y.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(i,o,r){this.mergeDefaultAndTheme(i,r),i.selected=i.selected||{},this._updateSelector(i)},mergeOption:function(i){a.superCall(this,"mergeOption",i),this._updateSelector(i)},_updateSelector:function(i){var o=i.selector;o===!0&&(o=i.selector=["all","inverse"]),p.isArray(o)&&p.each(o,function(r,l){p.isString(r)&&(r={type:r}),o[l]=p.merge(r,c[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var i=this._data;if(i[0]&&this.get("selectedMode")==="single"){for(var o=!1,r=0;r<i.length;r++){var l=i[r].get("name");if(this.isSelected(l)){this.select(l),o=!0;break}}!o&&this.select(i[0].get("name"))}},_updateData:function(i){var o=[],r=[];i.eachRawSeries(function(s){var u=s.name;r.push(u);var h;if(s.legendVisualProvider){var A=s.legendVisualProvider,v=A.getAllNames();i.isSeriesFiltered(s)||(r=r.concat(v)),v.length?o=o.concat(v):h=!0}else h=!0;h&&g(s)&&o.push(s.name)}),this._availableNames=r;var l=this.get("data")||o,e=p.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new S(s,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(i){var o=this.option.selected,r=this.get("selectedMode");if(r==="single"){var l=this._data;p.each(l,function(e){o[e.get("name")]=!1})}o[i]=!0},unSelect:function(i){this.get("selectedMode")!=="single"&&(this.option.selected[i]=!1)},toggleSelected:function(i){var o=this.option.selected;o.hasOwnProperty(i)||(o[i]=!0),this[o[i]?"unSelect":"select"](i)},allSelect:function(){var i=this._data,o=this.option.selected;p.each(i,function(r){o[r.get("name",!0)]=!0})},inverseSelect:function(){var i=this._data,o=this.option.selected;p.each(i,function(r){var l=r.get("name",!0);o.hasOwnProperty(l)||(o[l]=!0),o[l]=!o[l]})},isSelected:function(i){var o=this.option.selected;return!(o.hasOwnProperty(i)&&!o[i])&&p.indexOf(this._availableNames,i)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),n=a;R.exports=n},hOwI:function(R,N){var t=Math.log(2);function y(S,m,g,f,d,c){var a=f+"-"+d,n=S.length;if(c.hasOwnProperty(a))return c[a];if(m===1){var i=Math.round(Math.log((1<<n)-1&~d)/t);return S[g][i]}for(var o=f|1<<g,r=g+1;f&1<<r;)r++;for(var l=0,e=0,s=0;e<n;e++){var u=1<<e;u&d||(l+=(s%2?-1:1)*S[g][e]*y(S,m-1,r,o,d|u,c),s++)}return c[a]=l,l}function p(S,m){var g=[[S[0],S[1],1,0,0,0,-m[0]*S[0],-m[0]*S[1]],[0,0,0,S[0],S[1],1,-m[1]*S[0],-m[1]*S[1]],[S[2],S[3],1,0,0,0,-m[2]*S[2],-m[2]*S[3]],[0,0,0,S[2],S[3],1,-m[3]*S[2],-m[3]*S[3]],[S[4],S[5],1,0,0,0,-m[4]*S[4],-m[4]*S[5]],[0,0,0,S[4],S[5],1,-m[5]*S[4],-m[5]*S[5]],[S[6],S[7],1,0,0,0,-m[6]*S[6],-m[6]*S[7]],[0,0,0,S[6],S[7],1,-m[7]*S[6],-m[7]*S[7]]],f={},d=y(g,8,0,0,0,f);if(d===0)return;for(var c=[],a=0;a<8;a++)for(var n=0;n<8;n++)c[n]==null&&(c[n]=0),c[n]+=((a+n)%2?-1:1)*y(g,7,a===0?1:0,1<<a,1<<n,f)/d*m[a];return function(i,o,r){var l=o*c[6]+r*c[7]+1;i[0]=(o*c[0]+r*c[1]+c[2])/l,i[1]=(o*c[3]+r*c[4]+c[5])/l}}N.buildTransformer=p},hX1E:function(R,N){var t=Math.PI*2;function y(p){return p%=t,p<0&&(p+=t),p}N.normalizeRadian=y},hXwI: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<f.length;d++){var c=f[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function S(g,f,d){return f&&p(g.prototype,f),d&&p(g,d),g}var m=function(){function g(){y(this,g)}return S(g,[{key:"decodeRect",value:function(d,c,a,n,i,o,r){if(i.rQwait("COPYRECT",4))return!1;var l=i.rQshift16(),e=i.rQshift16();return o.copyImage(l,e,d,c,a,n),!0}}]),g}();N.default=m},hi0g:function(R,N,t){var y=t("bYtY"),p=y.createHashMap,S=y.each,m=y.isString,g=y.defaults,f=y.extend,d=y.isObject,c=y.clone,a=t("4NO4"),n=a.normalizeToArray,i=t("D5nY"),o=i.guessOrdinal,r=i.BE_ORDINAL,l=t("7G+c"),e=t("L0Ub"),s=e.OTHER_DIMENSIONS,u=t("Vi4m");function h(b,E,T){l.isInstance(E)||(E=l.seriesDataToSource(E)),T=T||{},b=(b||[]).slice();for(var _=(T.dimsDef||[]).slice(),x=p(),C=p(),I=[],L=A(E,b,_,T.dimCount),F=0;F<L;F++){var B=_[F]=f({},d(_[F])?_[F]:{name:_[F]}),P=B.name,H=I[F]=new u;P!=null&&x.get(P)==null&&(H.name=H.displayName=P,x.set(P,F)),B.type!=null&&(H.type=B.type),B.displayName!=null&&(H.displayName=B.displayName)}var z=T.encodeDef;!z&&T.encodeDefaulter&&(z=T.encodeDefaulter(E,L)),z=p(z),z.each(function(J,de){if(J=n(J).slice(),J.length===1&&!m(J[0])&&J[0]<0){z.set(de,!1);return}var G=z.set(de,[]);S(J,function(ae,Ae){m(ae)&&(ae=x.get(ae)),ae!=null&&ae<L&&(G[Ae]=ae,U(I[ae],de,Ae))})});var M=0;S(b,function(J,de){var G,J,ae,Ae;if(m(J))G=J,J={};else{G=J.name;var me=J.ordinalMeta;J.ordinalMeta=null,J=c(J),J.ordinalMeta=me,ae=J.dimsDef,Ae=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var Me=z.get(G);if(Me===!1)return;var Me=n(Me);if(!Me.length)for(var oe=0;oe<(ae&&ae.length||1);oe++){for(;M<I.length&&I[M].coordDim!=null;)M++;M<I.length&&Me.push(M++)}S(Me,function(_e,ee){var ne=I[_e];if(U(g(ne,J),G,ee),ne.name==null&&ae){var Ge=ae[ee];!d(Ge)&&(Ge={name:Ge}),ne.name=ne.displayName=Ge.name,ne.defaultTooltip=Ge.defaultTooltip}Ae&&g(ne.otherDims,Ae)})});function U(J,de,G){s.get(de)!=null?J.otherDims[de]=G:(J.coordDim=de,J.coordDimIndex=G,C.set(de,!0))}var k=T.generateCoord,K=T.generateCoordCount,j=K!=null;K=k?K||1:0;for(var V=k||"value",W=0;W<L;W++){var H=I[W]=I[W]||new u,X=H.coordDim;X==null&&(H.coordDim=v(V,C,j),H.coordDimIndex=0,(!k||K<=0)&&(H.isExtraCoord=!0),K--),H.name==null&&(H.name=v(H.coordDim,x)),H.type==null&&(o(E,W,H.name)===r.Must||H.isExtraCoord&&(H.otherDims.itemName!=null||H.otherDims.seriesName!=null))&&(H.type="ordinal")}return I}function A(b,E,T,_){var x=Math.max(b.dimensionsDetectCount||1,E.length,T.length,_||0);return S(E,function(C){var I=C.dimsDef;I&&(x=Math.max(x,I.length))}),x}function v(b,E,T){if(T||E.get(b)!=null){for(var _=0;E.get(b+_)!=null;)_++;b+=_}return E.set(b,!0),b}var w=h;R.exports=w},hkKa:function(R,N,t){"use strict";t.d(N,"a",function(){return g});var y=t("J4zp"),p=t.n(y),S=t("q1tI"),m=t.n(S);function g(){var f=S.useReducer(function(a){return a+1},0),d=p()(f,2),c=d[1];return c}},hw6D:function(R,N,t){var y=t("bYtY");function p(g){g.eachSeriesByType("radar",function(f){var d=f.getData(),c=[],a=f.coordinateSystem;if(!a)return;var n=a.getIndicatorAxes();y.each(n,function(i,o){d.each(d.mapDimension(n[o].dim),function(r,l){c[l]=c[l]||[];var e=a.dataToPoint(r,o);c[l][o]=S(e)?e:m(a)})}),d.each(function(i){var o=y.find(c[i],function(r){return S(r)})||m(a);c[i].push(o.slice()),d.setItemLayout(i,c[i])})})}function S(g){return!isNaN(g[0])&&!isNaN(g[1])}function m(g){return[g.cx,g.cy]}R.exports=p},hwYd: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("Nu4q")),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="PictureTwoTone";var c=m.forwardRef(d);N.default=c},hydK:function(R,N){var t="http://www.w3.org/2000/svg";function y(p){return document.createElementNS(t,p)}N.createElement=y},hyiK:function(R,N){function t(y,p,S,m,g,f){if(f>p&&f>m||f<p&&f<m)return 0;if(m===p)return 0;var d=m<p?1:-1,c=(f-p)/(m-p);(c===1||c===0)&&(d=m<p?.5:-.5);var a=c*(S-y)+y;return a===g?Infinity:a>g?d:0}R.exports=t},i38C:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.createHashMap,g=S.retrieve,f=S.each;function d(i){this.coordSysName=i,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function c(i){var o=i.get("coordinateSystem"),r=new d(o),l=a[o];if(l)return l(i,r,r.axisMap,r.categoryAxisMap),r}var a={cartesian2d:function(i,o,r,l){var e=i.getReferringComponents("xAxis")[0],s=i.getReferringComponents("yAxis")[0];o.coordSysDims=["x","y"],r.set("x",e),r.set("y",s),n(e)&&(l.set("x",e),o.firstCategoryDimIndex=0),n(s)&&(l.set("y",s),o.firstCategoryDimIndex==null&(o.firstCategoryDimIndex=1))},singleAxis:function(i,o,r,l){var e=i.getReferringComponents("singleAxis")[0];o.coordSysDims=["single"],r.set("single",e),n(e)&&(l.set("single",e),o.firstCategoryDimIndex=0)},polar:function(i,o,r,l){var e=i.getReferringComponents("polar")[0],s=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");o.coordSysDims=["radius","angle"],r.set("radius",s),r.set("angle",u),n(s)&&(l.set("radius",s),o.firstCategoryDimIndex=0),n(u)&&(l.set("angle",u),o.firstCategoryDimIndex==null&&(o.firstCategoryDimIndex=1))},geo:function(i,o,r,l){o.coordSysDims=["lng","lat"]},parallel:function(i,o,r,l){var e=i.ecModel,s=e.getComponent("parallel",i.get("parallelIndex")),u=o.coordSysDims=s.dimensions.slice();f(s.parallelAxisIndex,function(h,A){var v=e.getComponent("parallelAxis",h),w=u[A];r.set(w,v),n(v)&&o.firstCategoryDimIndex==null&&(l.set(w,v),o.firstCategoryDimIndex=A)})}};function n(i){return i.get("type")==="category"}N.getCoordSysInfoBySeries=c},i6bk:function(R,N,t){"use strict";t.d(N,"b",function(){return y}),t.d(N,"a",function(){return p});function y(S){return S!=null&&S===S.window}function p(S,m){if(typeof window=="undefined")return 0;var g=m?"scrollTop":"scrollLeft",f=0;return y(S)?f=S[m?"pageYOffset":"pageXOffset"]:S instanceof Document?f=S.documentElement[g]:S&&(f=S[g]),S&&!y(S)&&typeof f!="number"&&(f=(S.ownerDocument||S).documentElement[g]),f}},i8CU:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("Fm1+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},iLNv:function(R,N){var t="\0__throttleOriginMethod",y="\0__throttleRate",p="\0__throttleType";function S(f,d,c){var a,n=0,i=0,o=null,r,l,e,s;d=d||0;function u(){i=new Date().getTime(),o=null,f.apply(l,e||[])}var h=function(){a=new Date().getTime(),l=this,e=arguments;var A=s||d,v=s||c;s=null,r=a-(v?n:i)-A,clearTimeout(o),v?o=setTimeout(u,A):r>=0?u():o=setTimeout(u,-r),n=a};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(A){s=A},h}function m(f,d,c,a){var n=f[d];if(!n)return;var i=n[t]||n,o=n[p],r=n[y];if(r!==c||o!==a){if(c==null||!a)return f[d]=i;n=f[d]=S(i,c,a==="debounce"),n[t]=i,n[p]=a,n[y]=c}return n}function g(f,d){var c=f[d];c&&c[t]&&(f[d]=c[t])}N.throttle=S,N.createOrUpdate=m,N.clear=g},iPDy:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=y.extendComponentView({type:"marker",init:function(){this.markerGroupMap=p.createHashMap()},render:function(m,g,f){var d=this.markerGroupMap;d.each(function(a){a.__keep=!1});var c=this.type+"Model";g.eachSeries(function(a){var n=a[c];n&&this.renderSeries(a,n,g,f)},this),d.each(function(a){!a.__keep&&this.group.remove(a.group)},this)},renderSeries:function(){}});R.exports=S},iQDF:function(R,N,t){"use strict";var y=t("ZTW2"),p=t.n(y),S=t("+BJd"),m=t("+L6B")},iRjW:function(R,N,t){var y=t("bYtY"),p=t("Yl7c"),S=p.parseClassType,m=0;function g(c){return[c||"",m++,Math.random().toFixed(5)].join("_")}function f(c){var a={};return c.registerSubTypeDefaulter=function(n,i){n=S(n),a[n.main]=i},c.determineSubType=function(n,i){var o=i.type;if(!o){var r=S(n).main;c.hasSubTypes(n)&&a[r]&&(o=a[r](i))}return o},c}function d(c,a){c.topologicalTravel=function(r,l,e,s){if(!r.length)return;var u=n(l),h=u.graph,A=u.noEntryList,v={};for(y.each(r,function(x){v[x]=!0});A.length;){var w=A.pop(),b=h[w],E=!!v[w];E&&(e.call(s,w,b.originalDeps.slice()),delete v[w]),y.each(b.successor,E?_:T)}y.each(v,function(){throw new Error("Circle dependency may exists")});function T(x){h[x].entryCount--,h[x].entryCount===0&&A.push(x)}function _(x){v[x]=!0,T(x)}};function n(r){var l={},e=[];return y.each(r,function(s){var u=i(l,s),h=u.originalDeps=a(s),A=o(h,r);u.entryCount=A.length,u.entryCount===0&&e.push(s),y.each(A,function(v){y.indexOf(u.predecessor,v)<0&&u.predecessor.push(v);var w=i(l,v);y.indexOf(w.successor,v)<0&&w.successor.push(s)})}),{graph:l,noEntryList:e}}function i(r,l){return r[l]||(r[l]={predecessor:[],successor:[]}),r[l]}function o(r,l){var e=[];return y.each(r,function(s){y.indexOf(l,s)>=0&&e.push(s)}),e}}N.getUID=g,N.enableSubTypeDefaulter=f,N.enableTopologicalTravel=d},iUHT:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function p(b,E){for(var T=0;T<E.length;T++){var _=E[T];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(b,_.key,_)}}function S(b,E,T){return E&&p(b.prototype,E),T&&p(b,T),b}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],g=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=0,d,c,a,n,i,o;d=1<<16,c=1<<24,a=d|c,n=1<<2,i=1<<10,o=n|i;var r=[a|i,f|f,d|f,a|o,a|n,d|o,f|n,d|f,f|i,a|i,a|o,f|i,c|o,a|n,c|f,f|n,f|o,c|i,c|i,d|i,d|i,a|f,a|f,c|o,d|n,c|n,c|n,d|n,f|f,f|o,d|o,c|f,d|f,a|o,f|n,a|f,a|i,c|f,c|f,f|i,a|n,d|f,d|i,c|n,f|i,f|n,c|o,d|o,a|o,d|n,a|f,c|o,c|n,f|o,d|o,a|i,f|o,c|i,c|i,f|f,d|n,d|i,f|f,a|n];d=1<<20,c=1<<31,a=d|c,n=1<<5,i=1<<15,o=n|i;var l=[a|o,c|i,f|i,d|o,d|f,f|n,a|n,c|o,c|n,a|o,a|i,c|f,c|i,d|f,f|n,a|n,d|i,d|n,c|o,f|f,c|f,f|i,d|o,a|f,d|n,c|n,f|f,d|i,f|o,a|i,a|f,f|o,f|f,d|o,a|n,d|f,c|o,a|f,a|i,f|i,a|f,c|i,f|n,a|o,d|o,f|n,f|i,c|f,f|o,a|i,d|f,c|n,d|n,c|o,c|n,d|n,d|i,f|f,c|i,f|o,c|f,a|n,a|o,d|i];d=1<<17,c=1<<27,a=d|c,n=1<<3,i=1<<9,o=n|i;var e=[f|o,a|i,f|f,a|n,c|i,f|f,d|o,c|i,d|n,c|n,c|n,d|f,a|o,d|n,a|f,f|o,c|f,f|n,a|i,f|i,d|i,a|f,a|n,d|o,c|o,d|i,d|f,c|o,f|n,a|o,f|i,c|f,a|i,c|f,d|n,f|o,d|f,a|i,c|i,f|f,f|i,d|n,a|o,c|i,c|n,f|i,f|f,a|n,c|o,d|f,c|f,a|o,f|n,d|o,d|i,c|n,a|f,c|o,f|o,a|f,d|o,f|n,a|n,d|i];d=1<<13,c=1<<23,a=d|c,n=1<<0,i=1<<7,o=n|i;var s=[a|n,d|o,d|o,f|i,a|i,c|o,c|n,d|n,f|f,a|f,a|f,a|o,f|o,f|f,c|i,c|n,f|n,d|f,c|f,a|n,f|i,c|f,d|n,d|i,c|o,f|n,d|i,c|i,d|f,a|i,a|o,f|o,c|i,c|n,a|f,a|o,f|o,f|f,f|f,a|f,d|i,c|i,c|o,f|n,a|n,d|o,d|o,f|i,a|o,f|o,f|n,d|f,c|n,d|n,a|i,c|o,d|n,d|i,c|f,a|n,f|i,c|f,d|f,a|i];d=1<<25,c=1<<30,a=d|c,n=1<<8,i=1<<19,o=n|i;var u=[f|n,d|o,d|i,a|n,f|i,f|n,c|f,d|i,c|o,f|i,d|n,c|o,a|n,a|i,f|o,c|f,d|f,c|i,c|i,f|f,c|n,a|o,a|o,d|n,a|i,c|n,f|f,a|f,d|o,d|f,a|f,f|o,f|i,a|n,f|n,d|f,c|f,d|i,a|n,c|o,d|n,c|f,a|i,d|o,c|o,f|n,d|f,a|i,a|o,f|o,a|f,a|o,d|i,f|f,c|i,a|f,f|o,d|n,c|n,f|i,f|f,c|i,d|o,c|n];d=1<<22,c=1<<29,a=d|c,n=1<<4,i=1<<14,o=n|i;var h=[c|n,a|f,f|i,a|o,a|f,f|n,a|o,d|f,c|i,d|o,d|f,c|n,d|n,c|i,c|f,f|o,f|f,d|n,c|o,f|i,d|i,c|o,f|n,a|n,a|n,f|f,d|o,a|i,f|o,d|i,a|i,c|f,c|i,f|n,a|n,d|i,a|o,d|f,f|o,c|n,d|f,c|i,c|f,f|o,c|n,a|o,d|i,a|f,d|o,a|i,f|f,a|n,f|n,f|i,a|f,d|o,f|i,d|n,c|o,f|f,a|i,c|f,d|n,c|o];d=1<<21,c=1<<26,a=d|c,n=1<<1,i=1<<11,o=n|i;var A=[d|f,a|n,c|o,f|f,f|i,c|o,d|o,a|i,a|o,d|f,f|f,c|n,f|n,c|f,a|n,f|o,c|i,d|o,d|n,c|i,c|n,a|f,a|i,d|n,a|f,f|i,f|o,a|o,d|i,f|n,c|f,d|i,c|f,d|i,d|f,c|o,c|o,a|n,a|n,f|n,d|n,c|f,c|i,d|f,a|i,f|o,d|o,a|i,f|o,c|n,a|o,a|f,d|i,f|f,f|n,a|o,f|f,d|o,a|f,f|i,c|n,c|i,f|i,d|n];d=1<<18,c=1<<28,a=d|c,n=1<<6,i=1<<12,o=n|i;var v=[c|o,f|i,d|f,a|o,c|f,c|o,f|n,c|f,d|n,a|f,a|o,d|i,a|i,d|o,f|i,f|n,a|f,c|n,c|i,f|o,d|i,d|n,a|n,a|i,f|o,f|f,f|f,a|n,c|n,c|i,d|o,d|f,d|o,d|f,a|i,f|i,f|n,a|n,f|i,d|o,c|i,f|n,c|n,a|f,a|n,c|f,d|f,c|o,f|f,a|o,d|n,c|n,a|f,c|i,c|o,f|f,a|o,d|i,d|i,f|o,f|o,d|n,c|f,a|i],w=function(){function b(E){y(this,b),this.keys=[];for(var T=[],_=[],x=[],C=0,I=56;C<56;++C,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var L=I&7;T[C]=(E[I>>>3]&1<<L)!==0?1:0}for(var F=0;F<16;++F){var B=F<<1,P=B+1;x[B]=x[P]=0;for(var H=28;H<59;H+=28)for(var z=H-28;z<H;++z){var M=z+g[F];_[z]=M<H?T[M]:T[M-28]}for(var U=0;U<24;++U)_[m[U]]!==0&&(x[B]|=1<<23-U),_[m[U+24]]!==0&&(x[P]|=1<<23-U)}for(var k=0,K=0,j=0;k<16;++k){var V=x[K++],W=x[K++];this.keys[j]=(V&16515072)<<6,this.keys[j]|=(V&4032)<<10,this.keys[j]|=(W&16515072)>>>10,this.keys[j]|=(W&4032)>>>6,++j,this.keys[j]=(V&258048)<<12,this.keys[j]|=(V&63)<<16,this.keys[j]|=(W&258048)>>>4,this.keys[j]|=W&63,++j}}return S(b,[{key:"enc8",value:function(T){var _=T.slice(),x=0,C,I,L;C=_[x++]<<24|_[x++]<<16|_[x++]<<8|_[x++],I=_[x++]<<24|_[x++]<<16|_[x++]<<8|_[x++],L=(C>>>4^I)&252645135,I^=L,C^=L<<4,L=(C>>>16^I)&65535,I^=L,C^=L<<16,L=(I>>>2^C)&858993459,C^=L,I^=L<<2,L=(I>>>8^C)&16711935,C^=L,I^=L<<8,I=I<<1|I>>>31&1,L=(C^I)&2863311530,C^=L,I^=L,C=C<<1|C>>>31&1;for(var F=0,B=0;F<8;++F){L=I<<28|I>>>4,L^=this.keys[B++];var P=A[L&63];P|=u[L>>>8&63],P|=e[L>>>16&63],P|=r[L>>>24&63],L=I^this.keys[B++],P|=v[L&63],P|=h[L>>>8&63],P|=s[L>>>16&63],P|=l[L>>>24&63],C^=P,L=C<<28|C>>>4,L^=this.keys[B++],P=A[L&63],P|=u[L>>>8&63],P|=e[L>>>16&63],P|=r[L>>>24&63],L=C^this.keys[B++],P|=v[L&63],P|=h[L>>>8&63],P|=s[L>>>16&63],P|=l[L>>>24&63],I^=P}for(I=I<<31|I>>>1,L=(C^I)&2863311530,C^=L,I^=L,C=C<<31|C>>>1,L=(C>>>8^I)&16711935,I^=L,C^=L<<8,L=(C>>>2^I)&858993459,I^=L,C^=L<<2,L=(I>>>16^C)&65535,C^=L,I^=L<<16,L=(I>>>4^C)&252645135,C^=L,I^=L<<4,L=[I,C],x=0;x<8;x++)_[x]=(L[x>>>2]>>>8*(3-x%4))%256,_[x]<0&&(_[x]+=256);return _}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),b}();N.default=w},iXHM:function(R,N){var t="";typeof navigator!="undefined"&&(t=navigator.platform||"");var y={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};R.exports=y},iXp4:function(R,N,t){var y=t("ItGF"),p=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function S(m){return y.browser.ie&&y.browser.version>=11?function(){var g=this.__clipPaths,f=this.style,d;if(g)for(var c=0;c<g.length;c++){var a=g[c],n=a&&a.shape,i=a&&a.type;if(n&&(i==="sector"&&n.startAngle===n.endAngle||i==="rect"&&(!n.width||!n.height))){for(var o=0;o<p.length;o++)p[o][2]=f[p[o][0]],f[p[o][0]]=p[o][1];d=!0;break}}if(m.apply(this,arguments),d)for(var o=0;o<p.length;o++)f[p[o][0]]=p[o][2]}:m}R.exports=S},iYpf: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("ZLWo")),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="FolderOpenOutlined";var c=m.forwardRef(d);N.default=c},ieMj:function(R,N,t){var y=t("OELB"),p=t("7aKB"),S=t("4NgU"),m=t("lE7J"),g=y.round,f=S.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(c,a){var n=this._extent;isNaN(c)||(n[0]=parseFloat(c)),isNaN(a)||(n[1]=parseFloat(a))},unionExtent:function(c){var a=this._extent;c[0]<a[0]&&(a[0]=c[0]),c[1]>a[1]&&(a[1]=c[1]),f.prototype.setExtent.call(this,a[0],a[1])},getInterval:function(){return this._interval},setInterval:function(c){this._interval=c,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(c)},getTicks:function(c){var a=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,r=[];if(!a)return r;var l=1e4;n[0]<i[0]&&(c?r.push(g(i[0]-a,o)):r.push(n[0]));for(var e=i[0];e<=i[1]&&!(r.push(e),e=g(e+a,o),e===r[r.length-1]);)if(r.length>l)return[];var s=r.length?r[r.length-1]:i[1];return n[1]>s&&(c?r.push(g(s+a,o)):r.push(n[1])),r},getMinorTicks:function(c){for(var a=this.getTicks(!0),n=[],i=this.getExtent(),o=1;o<a.length;o++){for(var r=a[o],l=a[o-1],e=0,s=[],u=r-l,h=u/c;e<c-1;){var A=y.round(l+(e+1)*h);A>i[0]&&A<i[1]&&s.push(A),e++}n.push(s)}return n},getLabel:function(c,a){if(c==null)return"";var n=a&&a.precision;return n==null?n=y.getPrecisionSafe(c)||0:n==="auto"&&(n=this._intervalPrecision),c=g(c,n,!0),p.addCommas(c)},niceTicks:function(c,a,n){c=c||5;var i=this._extent,o=i[1]-i[0];if(!isFinite(o))return;o<0&&(o=-o,i.reverse());var r=m.intervalScaleNiceTicks(i,c,a,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(c){var a=this._extent;if(a[0]===a[1])if(a[0]!==0){var n=a[0];c.fixMax||(a[1]+=n/2),a[0]-=n/2}else a[1]=1;var i=a[1]-a[0];isFinite(i)||(a[0]=0,a[1]=1),this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var o=this._interval;c.fixMin||(a[0]=g(Math.floor(a[0]/o)*o)),c.fixMax||(a[1]=g(Math.ceil(a[1]/o)*o))}});f.create=function(){return new f};var d=f;R.exports=d},j5sG:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=p(t("NohK"));function p(m){return m&&m.__esModule?m:{default:m}}var S=function(g){var f=void 0,d=[],c=(0,y.default)(function(){d.forEach(function(r){r(g)})}),a=function(){var l=new ResizeObserver(c);return l.observe(g),c(),l},n=function(l){f||(f=a()),d.indexOf(l)===-1&&d.push(l)},i=function(){f.disconnect(),d=[],f=void 0},o=function(l){var e=d.indexOf(l);e!==-1&&d.splice(e,1),d.length===0&&f&&i()};return{element:g,bind:n,destroy:i,unbind:o}};N.createSensor=S},jCWc:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("1GLa")},jCoz:function(R,N,t){var y=t("bYtY"),p=t("4NgU"),S=t("OELB"),m=t("ieMj"),g=p.prototype,f=m.prototype,d=S.getPrecisionSafe,c=S.round,a=Math.floor,n=Math.ceil,i=Math.pow,o=Math.log,r=p.extend({type:"log",base:10,$constructor:function(){p.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var u=this._originalScale,h=this._extent,A=u.getExtent();return y.map(f.getTicks.call(this,s),function(v){var w=S.round(i(this.base,v));return w=v===h[0]&&u.__fixMin?l(w,A[0]):w,w=v===h[1]&&u.__fixMax?l(w,A[1]):w,w},this)},getMinorTicks:f.getMinorTicks,getLabel:f.getLabel,scale:function(s){return s=g.scale.call(this,s),i(this.base,s)},setExtent:function(s,u){var h=this.base;s=o(s)/o(h),u=o(u)/o(h),f.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=g.getExtent.call(this);u[0]=i(s,u[0]),u[1]=i(s,u[1]);var h=this._originalScale,A=h.getExtent();return h.__fixMin&&(u[0]=l(u[0],A[0])),h.__fixMax&&(u[1]=l(u[1],A[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=o(s[0])/o(u),s[1]=o(s[1])/o(u),g.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,h=u[1]-u[0];if(h===Infinity||h<=0)return;var A=S.quantity(h),v=s/h*A;for(v<=.5&&(A*=10);!isNaN(A)&&Math.abs(A)<1&&Math.abs(A)>0;)A*=10;var w=[S.round(n(u[0]/A)*A),S.round(a(u[1]/A)*A)];this._interval=A,this._niceExtent=w},niceExtent:function(s){f.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});y.each(["contain","normalize"],function(s){r.prototype[s]=function(u){return u=o(u)/o(this.base),g[s].call(this,u)}}),r.create=function(){return new r};function l(s,u){return c(s,d(u))}var e=r;R.exports=e},jN4g: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:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},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="CloseCircleFilled";var d=N.a=p.forwardRef(f)},jO45: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:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},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="CheckCircleFilled";var d=N.a=p.forwardRef(f)},jTL6:function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.max(g.r,0),a=g.startAngle,n=g.endAngle,i=g.clockwise,o=Math.cos(a),r=Math.sin(a);m.moveTo(o*c+f,r*c+d),m.arc(f,d,c,a,n,!i)}});R.exports=p},je13:function(R,N,t){var y=t("5nXd"),p=t("gRFJ"),S=[t("uQRt")];R.exports=y.createStore(p,S)},jett:function(R,N,t){var y=t("ProS");t("VSLf"),t("oBaM"),t("FGaS");var p=t("mOdp"),S=t("f5Yq"),m=t("hw6D"),g=t("0/Rx"),f=t("eJH7");y.registerVisual(p("radar")),y.registerVisual(S("radar","circle")),y.registerLayout(m),y.registerProcessor(g("radar")),y.registerPreprocessor(f)},jhfD: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:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},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="ArrowLeftOutlined";var d=N.a=p.forwardRef(f)},jkPA:function(R,N,t){var y=t("bYtY"),p=y.createHashMap,S=y.isObject,m=y.map;function g(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this._map}g.createByAxisModel=function(n){var i=n.option,o=i.data,r=o&&m(o,c);return new g({categories:r,needCollect:!r,deduplication:i.dedplication!==!1})};var f=g.prototype;f.getOrdinal=function(n){return d(this).get(n)},f.parseAndCollect=function(n){var i,o=this._needCollect;if(typeof n!="string"&&!o)return n;if(o&&!this._deduplication)return i=this.categories.length,this.categories[i]=n,i;var r=d(this);return i=r.get(n),i==null&&(o?(i=this.categories.length,this.categories[i]=n,r.set(n,i)):i=NaN),i};function d(n){return n._map||(n._map=p(n.categories))}function c(n){return S(n)&&n.value!=null?n.value:n+""}var a=g;R.exports=a},jndi:function(R,N,t){var y=t("bYtY"),p=t("Qe9p"),S=t("YXkt"),m=t("OELB"),g=t("IwbS"),f=t("kj2x"),d=t("iPDy"),c=function(e,s,u,h){var A=f.dataTransform(e,h[0]),v=f.dataTransform(e,h[1]),w=y.retrieve,b=A.coord,E=v.coord;b[0]=w(b[0],-Infinity),b[1]=w(b[1],-Infinity),E[0]=w(E[0],Infinity),E[1]=w(E[1],Infinity);var T=y.mergeAll([{},A,v]);return T.coord=[A.coord,v.coord],T.x0=A.x,T.y0=A.y,T.x1=v.x,T.y1=v.y,T};function a(e){return!isNaN(e)&&!isFinite(e)}function n(e,s,u,h){var A=1-e;return a(s[A])&&a(u[A])}function i(e,s){var u=s.coord[0],h=s.coord[1];return e.type==="cartesian2d"&&(u&&h&&(n(1,u,h,e)||n(0,u,h,e)))?!0:f.dataFilter(e,{coord:u,x:s.x0,y:s.y0})||f.dataFilter(e,{coord:h,x:s.x1,y:s.y1})}function o(e,s,u,h,A){var v=h.coordinateSystem,w=e.getItemModel(s),b,E=m.parsePercent(w.get(u[0]),A.getWidth()),T=m.parsePercent(w.get(u[1]),A.getHeight());if(!isNaN(E)&&!isNaN(T))b=[E,T];else{if(h.getMarkerPosition)b=h.getMarkerPosition(e.getValues(u,s));else{var _=e.get(u[0],s),x=e.get(u[1],s),C=[_,x];v.clampData&&v.clampData(C,C),b=v.dataToPoint(C,!0)}if(v.type==="cartesian2d"){var I=v.getAxis("x"),L=v.getAxis("y"),_=e.get(u[0],s),x=e.get(u[1],s);a(_)?b[0]=I.toGlobalCoord(I.getExtent()[u[0]==="x0"?0:1]):a(x)&&(b[1]=L.toGlobalCoord(L.getExtent()[u[1]==="y0"?0:1]))}isNaN(E)||(b[0]=E),isNaN(T)||(b[1]=T)}return b}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];d.extend({type:"markArea",updateTransform:function(e,s,u){s.eachSeries(function(h){var A=h.markAreaModel;if(A){var v=A.getData();v.each(function(w){var b=y.map(r,function(T){return o(v,w,T,h,u)});v.setItemLayout(w,b);var E=v.getItemGraphicEl(w);E.setShape("points",b)})}},this)},renderSeries:function(e,s,u,h){var A=e.coordinateSystem,v=e.id,w=e.getData(),b=this.markerGroupMap,E=b.get(v)||b.set(v,{group:new g.Group});this.group.add(E.group),E.__keep=!0;var T=l(A,e,s);s.setData(T),T.each(function(_){T.setItemLayout(_,y.map(r,function(x){return o(T,_,x,e,h)})),T.setItemVisual(_,{color:w.getVisual("color")})}),T.diff(E.__data).add(function(_){var x=new g.Polygon({shape:{points:T.getItemLayout(_)}});T.setItemGraphicEl(_,x),E.group.add(x)}).update(function(_,x){var C=E.__data.getItemGraphicEl(x);g.updateProps(C,{shape:{points:T.getItemLayout(_)}},s,_),E.group.add(C),T.setItemGraphicEl(_,C)}).remove(function(_){var x=E.__data.getItemGraphicEl(_);E.group.remove(x)}).execute(),T.eachItemGraphicEl(function(_,x){var C=T.getItemModel(x),I=C.getModel("label"),L=C.getModel("emphasis.label"),F=T.getItemVisual(x,"color");_.useStyle(y.defaults(C.getModel("itemStyle").getItemStyle(),{fill:p.modifyAlpha(F,.4),stroke:F})),_.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(_.style,_.hoverStyle,I,L,{labelFetcher:s,labelDataIndex:x,defaultText:T.getName(x)||"",isRectText:!0,autoColor:F}),g.setHoverStyle(_,{}),_.dataModel=s}),E.__data=T,E.group.silent=s.get("silent")||e.get("silent")}});function l(e,s,u){var h,A,v=["x0","y0","x1","y1"];e?(h=y.map(e&&e.dimensions,function(E){var T=s.getData(),_=T.getDimensionInfo(T.mapDimension(E))||{};return y.defaults({name:E},_)}),A=new S(y.map(v,function(E,T){return{name:E,type:h[T%2].type}}),u)):(h=[{name:"value",type:"float"}],A=new S(h,u));var w=y.map(u.get("data"),y.curry(c,s,e,u));e&&(w=y.filter(w,y.curry(i,e)));var b=e?function(E,T,_,x){return E.coord[Math.floor(x/2)][x%2]}:function(E){return E.value};return A.initData(w,null,b),A.hasItemOption=!0,A}},"jsU+":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IUWy"),m=y.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),p.each(this.option.feature,function(f,d){var c=S.get(d);c&&p.merge(f,c.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),g=m;R.exports=g},jtI2:function(R,N,t){t("SMc4");var y=t("bLfw"),p=y.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});R.exports=p},juDX:function(R,N,t){t("P47w");var y=t("aX58"),p=y.registerPainter,S=t("3CBa");p("svg",S)},k5C7:function(R,N,t){t("0JAE"),t("g7p0"),t("7mYs")},k9D9:function(R,N){var t="original",y="arrayRows",p="objectRows",S="keyedColumns",m="unknown",g="typedArray",f="column",d="row";N.SOURCE_FORMAT_ORIGINAL=t,N.SOURCE_FORMAT_ARRAY_ROWS=y,N.SOURCE_FORMAT_OBJECT_ROWS=p,N.SOURCE_FORMAT_KEYED_COLUMNS=S,N.SOURCE_FORMAT_UNKNOWN=m,N.SOURCE_FORMAT_TYPED_ARRAY=g,N.SERIES_LAYOUT_BY_COLUMN=f,N.SERIES_LAYOUT_BY_ROW=d},kDyi:function(R,N){function t(y){var p=y.findComponents({mainType:"legend"});p&&p.length&&y.filterSeries(function(S){for(var m=0;m<p.length;m++)if(!p[m].isSelected(S.name))return!1;return!0})}R.exports=t},kGiB:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("ABKa"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},kMLO:function(R,N,t){var y=t("XxSj"),p=t("Qe9p"),S=t("bYtY"),m=S.isArray,g="itemStyle",f={seriesType:"treemap",reset:function(e,s,u,h){var A=e.getData().tree,v=A.root,w=e.getModel(g);if(v.isRemoved())return;var b=S.map(A.levelModels,function(E){return E?E.get(g):null});d(v,{},b,w,e.getViewRoot().getAncestors(),e)}};function d(e,s,u,h,A,v){var w=e.getModel(),b=e.getLayout();if(!b||b.invisible||!b.isInView)return;var E=e.getModel(g),T=u[e.depth],_=c(E,s,T,h),x=E.get("borderColor"),C=E.get("borderColorSaturation"),I;C!=null&&(I=a(_,e),x=n(C,I)),e.setVisual("borderColor",x);var L=e.viewChildren;if(!L||!L.length)I=a(_,e),e.setVisual("color",I);else{var F=o(e,w,b,E,_,L);S.each(L,function(B,P){if(B.depth>=A.length||B===A[B.depth]){var H=l(w,_,B,P,F,v);d(B,H,u,h,A,v)}})}}function c(e,s,u,h){var A=S.extend({},s);return S.each(["color","colorAlpha","colorSaturation"],function(v){var w=e.get(v,!0);w==null&&u&&(w=u[v]),w==null&&(w=s[v]),w==null&&(w=h.get(v)),w!=null&&(A[v]=w)}),A}function a(e){var s=i(e,"color");if(s){var u=i(e,"colorAlpha"),h=i(e,"colorSaturation");return h&&(s=p.modifyHSL(s,null,null,h)),u&&(s=p.modifyAlpha(s,u)),s}}function n(e,s){return s!=null?p.modifyHSL(s,null,null,e):null}function i(e,s){var u=e[s];if(u!=null&&u!=="none")return u}function o(e,s,u,h,A,v){if(!v||!v.length)return;var w=r(s,"color")||A.color!=null&&A.color!=="none"&&(r(s,"colorAlpha")||r(s,"colorSaturation"));if(!w)return;var b=s.get("visualMin"),E=s.get("visualMax"),T=u.dataExtent.slice();b!=null&&b<T[0]&&(T[0]=b),E!=null&&E>T[1]&&(T[1]=E);var _=s.get("colorMappingBy"),x={type:w.name,dataExtent:T,visual:w.range};x.type==="color"&&(_==="index"||_==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var C=new y(x);return C.__drColorMappingBy=_,C}function r(e,s){var u=e.get(s);return m(u)&&u.length?{name:s,range:u}:null}function l(e,s,u,h,A,v){var w=S.extend({},s);if(A){var b=A.type,E=b==="color"&&A.__drColorMappingBy,T=E==="index"?h:E==="id"?v.mapIdToIndex(u.getId()):u.getValue(e.get("visualDimension"));w[b]=A.mapValueToVisual(T)}return w}R.exports=f},kPKH:function(R,N,t){"use strict";var y=t("/kpp");N.a=y.a},kaz8: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("TSYQ"),u=t.n(s),h=t("x1Ya"),A=t("RIqP"),v=t.n(A),w=t("BGR+"),b=t("H84U"),E=function(P,H){var z={};for(var M in P)Object.prototype.hasOwnProperty.call(P,M)&&H.indexOf(M)<0&&(z[M]=P[M]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(P);U<M.length;U++)H.indexOf(M[U])<0&&Object.prototype.propertyIsEnumerable.call(P,M[U])&&(z[M[U]]=P[M[U]]);return z},T=e.createContext(null),_=function(P){o()(z,P);var H=l()(z);function z(M){var U;return f()(this,z),U=H.call(this,M),U.cancelValue=function(k){U.setState(function(K){var j=K.registeredValues;return{registeredValues:j.filter(function(V){return V!==k})}})},U.registerValue=function(k){U.setState(function(K){var j=K.registeredValues;return{registeredValues:[].concat(v()(j),[k])}})},U.toggleOption=function(k){var K=U.state.registeredValues,j=U.state.value.indexOf(k.value),V=v()(U.state.value);j===-1?V.push(k.value):V.splice(j,1),"value"in U.props||U.setState({value:V});var W=U.props.onChange;if(W){var X=U.getOptions();W(V.filter(function(J){return K.indexOf(J)!==-1}).sort(function(J,de){var G=X.findIndex(function(Ae){return Ae.value===J}),ae=X.findIndex(function(Ae){return Ae.value===de});return G-ae}))}},U.renderGroup=function(k){var K=k.getPrefixCls,j=k.direction,V=n()(U),W=V.props,X=V.state,J=W.prefixCls,de=W.className,G=W.style,ae=W.options,Ae=E(W,["prefixCls","className","style","options"]),me=K("checkbox",J),Me="".concat(me,"-group"),oe=Object(w.default)(Ae,["children","defaultValue","value","onChange","disabled"]),_e=W.children;ae&&ae.length>0&&(_e=U.getOptions().map(function(Ge){return e.createElement(F,{prefixCls:me,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:W.disabled,value:Ge.value,checked:X.value.indexOf(Ge.value)!==-1,onChange:Ge.onChange,className:"".concat(Me,"-item"),style:Ge.style},Ge.label)}));var ee={toggleOption:U.toggleOption,value:U.state.value,disabled:U.props.disabled,name:U.props.name,registerValue:U.registerValue,cancelValue:U.cancelValue},ne=u()(Me,de,p()({},"".concat(Me,"-rtl"),j==="rtl"));return e.createElement("div",m()({className:ne,style:G},oe),e.createElement(T.Provider,{value:ee},_e))},U.state={value:M.value||M.defaultValue||[],registeredValues:[]},U}return c()(z,[{key:"getOptions",value:function(){var U=this.props.options;return U.map(function(k){return typeof k=="string"?{label:k,value:k}:k})}},{key:"render",value:function(){return e.createElement(b.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(U){return"value"in U?{value:U.value||[]}:null}}]),z}(e.PureComponent);_.defaultProps={options:[]};var x=_,C=t("uaoM"),I=function(P,H){var z={};for(var M in P)Object.prototype.hasOwnProperty.call(P,M)&&H.indexOf(M)<0&&(z[M]=P[M]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,M=Object.getOwnPropertySymbols(P);U<M.length;U++)H.indexOf(M[U])<0&&Object.prototype.propertyIsEnumerable.call(P,M[U])&&(z[M[U]]=P[M[U]]);return z},L=function(P){o()(z,P);var H=l()(z);function z(){var M;return f()(this,z),M=H.apply(this,arguments),M.saveCheckbox=function(U){M.rcCheckbox=U},M.renderCheckbox=function(U){var k,K=U.getPrefixCls,j=U.direction,V=n()(M),W=V.props,X=V.context,J=W.prefixCls,de=W.className,G=W.children,ae=W.indeterminate,Ae=W.style,me=W.onMouseEnter,Me=W.onMouseLeave,oe=I(W,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),_e=X,ee=K("checkbox",J),ne=m()({},oe);_e&&(ne.onChange=function(){oe.onChange&&oe.onChange.apply(oe,arguments),_e.toggleOption({label:G,value:W.value})},ne.name=_e.name,ne.checked=_e.value.indexOf(W.value)!==-1,ne.disabled=W.disabled||_e.disabled);var Ge=u()(de,(k={},p()(k,"".concat(ee,"-wrapper"),!0),p()(k,"".concat(ee,"-rtl"),j==="rtl"),p()(k,"".concat(ee,"-wrapper-checked"),ne.checked),p()(k,"".concat(ee,"-wrapper-disabled"),ne.disabled),k)),Ee=u()(p()({},"".concat(ee,"-indeterminate"),ae));return e.createElement("label",{className:Ge,style:Ae,onMouseEnter:me,onMouseLeave:Me},e.createElement(h.a,m()({},ne,{prefixCls:ee,className:Ee,ref:M.saveCheckbox})),G!==void 0&&e.createElement("span",null,G))},M}return c()(z,[{key:"componentDidMount",value:function(){var U,k=this.props.value;(U=this.context)===null||U===void 0||U.registerValue(k),Object(C.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(U){var k=U.value,K,j,V=this.props.value;V!==k&&((K=this.context)===null||K===void 0||K.cancelValue(k),(j=this.context)===null||j===void 0||j.registerValue(V))}},{key:"componentWillUnmount",value:function(){var U,k=this.props.value;(U=this.context)===null||U===void 0||U.cancelValue(k)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return e.createElement(b.a,null,this.renderCheckbox)}}]),z}(e.PureComponent);L.__ANT_CHECKBOX=!0,L.defaultProps={indeterminate:!1},L.contextType=T;var F=L;F.Group=x;var B=N.a=F},kj2x:function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=t("7hqr"),m=S.isDimensionStacked,g=y.indexOf;function f(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function d(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function c(u,h,A,v,w,b){var E=[],T=m(h,v),_=T?h.getCalculationInfo("stackResultDimension"):v,x=s(h,_,u),C=h.indicesOfNearest(_,x)[0];E[w]=h.get(A,C),E[b]=h.get(_,C);var I=h.get(v,C),L=p.getPrecision(h.get(v,C));return L=Math.min(L,20),L>=0&&(E[b]=+E[b].toFixed(L)),[E,I]}var a=y.curry,n={min:a(c,"min"),max:a(c,"max"),average:a(c,"average")};function i(u,h){var A=u.getData(),v=u.coordinateSystem;if(h&&!d(h)&&!y.isArray(h.coord)&&v){var w=v.dimensions,b=o(h,A,v,u);if(h=y.clone(h),h.type&&n[h.type]&&b.baseAxis&&b.valueAxis){var E=g(w,b.baseAxis.dim),T=g(w,b.valueAxis.dim),_=n[h.type](A,b.baseDataDim,b.valueDataDim,E,T);h.coord=_[0],h.value=_[1]}else{for(var x=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],C=0;C<2;C++)n[x[C]]&&(x[C]=s(A,A.mapDimension(w[C]),x[C]));h.coord=x}}return h}function o(u,h,A,v){var w={};return u.valueIndex!=null||u.valueDim!=null?(w.valueDataDim=u.valueIndex!=null?h.getDimension(u.valueIndex):u.valueDim,w.valueAxis=A.getAxis(r(v,w.valueDataDim)),w.baseAxis=A.getOtherAxis(w.valueAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim)):(w.baseAxis=v.getBaseAxis(),w.valueAxis=A.getOtherAxis(w.baseAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim),w.valueDataDim=h.mapDimension(w.valueAxis.dim)),w}function r(u,h){var A=u.getData(),v=A.dimensions;h=A.getDimension(h);for(var w=0;w<v.length;w++){var b=A.getDimensionInfo(v[w]);if(b.name===h)return b.coordDim}}function l(u,h){return u&&u.containData&&h.coord&&!f(h)?u.containData(h.coord):!0}function e(u,h,A,v){return v<2?u.coord&&u.coord[v]:u.value}function s(u,h,A){if(A==="average"){var v=0,w=0;return u.each(h,function(b,E){isNaN(b)||(v+=b,w++)}),v/w}else return A==="median"?u.getMedian(h):u.getDataExtent(h,!0)[A==="max"?1:0]}N.dataTransform=i,N.getAxisInfo=o,N.dataFilter=l,N.dimValueGetter=e,N.numCalculate=s},knOB:function(R,N,t){var y=t("bYtY"),p=t("hM6l");function S(g,f){p.call(this,"radius",g,f),this.type="category"}S.prototype={constructor:S,pointToData:function(g,f){return this.polar.pointToData(g,f)[this.dim==="radius"?0:1]},dataToRadius:p.prototype.dataToCoord,radiusToData:p.prototype.coordToData},y.inherits(S,p);var m=S;R.exports=m},ko1b:function(R,N,t){var y=t("bYtY"),p=t("T4UG"),S=t("Bsck"),m=t("Qxkt"),g=t("7aKB"),f=g.encodeHTML,d=g.addCommas,c=t("VaxA"),a=c.wrapTreePathInfo,n=p.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(r,l){var e={name:r.name,children:r.data};i(e);var s=r.levels||[];s=r.levels=o(s,l);var u=y.map(s||[],function(v){return new m(v,this,l)},this),h=S.createTree(e,this,null,A);function A(v){v.wrapMethod("getItemModel",function(w,b){var E=h.getNodeByDataIndex(b),T=u[E.depth];return T&&(w.parentModel=T),w})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var l=this.getData(),e=this.getRawValue(r),s=y.isArray(e)?d(e[0]):d(e),u=l.getName(r);return f(u+": "+s)},getDataParams:function(r){var l=p.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(r);return l.treePathInfo=a(e,this),l},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var l=this._idIndexMap;l||(l=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var e=l.get(r);return e==null&&l.set(r,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var l=this.getRawData().tree.root;(!r||r!==l&&!l.contains(r))&&(this._viewRoot=l)}});function i(r){var l=0;y.each(r.children,function(s){i(s);var u=s.value;y.isArray(u)&&(u=u[0]),l+=u});var e=r.value;y.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=l),e<0&&(e=0),y.isArray(r.value)?r.value[0]=e:r.value=e}function o(r,l){var e=l.get("color");if(!e)return;r=r||[];var s;if(y.each(r,function(h){var A=new m(h),v=A.get("color");(A.get("itemStyle.color")||v&&v!=="none")&&(s=!0)}),!s){var u=r[0]||(r[0]={});u.color=e.slice()}return r}R.exports=n},kzFp:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=N.pick=function(S,m){var g={};return m.forEach(function(f){g[f]=S[f]}),g}},kzvK:function(R,N,t){var y=t("sS/r"),p=y.extend({type:"timeline"});R.exports=p},"l+S1":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:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",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="SearchOutlined";var d=N.a=p.forwardRef(f)},lE7J:function(R,N,t){var y=t("OELB"),p=y.round;function S(d,c,a,n){var i={},o=d[1]-d[0],r=i.interval=y.nice(o/c,!0);a!=null&&r<a&&(r=i.interval=a),n!=null&&r>n&&(r=i.interval=n);var l=i.intervalPrecision=m(r),e=i.niceTickExtent=[p(Math.ceil(d[0]/r)*r,l),p(Math.floor(d[1]/r)*r,l)];return f(e,d),i}function m(d){return y.getPrecisionSafe(d)+2}function g(d,c,a){d[c]=Math.max(Math.min(d[c],a[1]),a[0])}function f(d,c){!isFinite(d[0])&&(d[0]=c[0]),!isFinite(d[1])&&(d[1]=c[1]),g(d,0,c),g(d,1,c),d[0]>d[1]&&(d[0]=d[1])}N.intervalScaleNiceTicks=S,N.getIntervalPrecision=m,N.fixExtent=f},lELe:function(R,N,t){var y=t("bYtY");function p(S){var m=[];y.each(S.series,function(g){g&&g.type==="map"&&(m.push(g),g.map=g.map||g.mapType,y.defaults(g,g.mapLocation))})}R.exports=p},lLGD:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("nVfU"),m=S.layout,g=S.largeLayout;t("Wqna"),t("F7hV"),t("Z8zF"),t("Ae16"),y.registerLayout(y.PRIORITY.VISUAL.LAYOUT,p.curry(m,"bar")),y.registerLayout(y.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,g),y.registerVisual({seriesType:"bar",reset:function(f){f.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(R,N,t){"use strict";function y(le){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(tr){return typeof tr}:y=function(tr){return tr&&typeof Symbol=="function"&&tr.constructor===Symbol&&tr!==Symbol.prototype?"symbol":typeof tr},y(le)}Object.defineProperty(N,"__esModule",{value:!0}),N.deflateInit=$e,N.deflateInit2=Gt,N.deflateReset=Ot,N.deflateResetKeep=xt,N.deflateSetHeader=Mt,N.deflate=pe,N.deflateEnd=q,N.deflateSetDictionary=bt,N.deflateInfo=N.Z_DEFLATED=N.Z_UNKNOWN=N.Z_DEFAULT_STRATEGY=N.Z_FIXED=N.Z_RLE=N.Z_HUFFMAN_ONLY=N.Z_FILTERED=N.Z_DEFAULT_COMPRESSION=N.Z_BUF_ERROR=N.Z_DATA_ERROR=N.Z_STREAM_ERROR=N.Z_STREAM_END=N.Z_OK=N.Z_BLOCK=N.Z_FINISH=N.Z_FULL_FLUSH=N.Z_PARTIAL_FLUSH=N.Z_NO_FLUSH=void 0;var p=a(t("6BzB")),S=a(t("c5fP")),m=d(t("xlC8")),g=d(t("QV2g")),f=d(t("xSIq"));function d(le){return le&&le.__esModule?le:{default:le}}function c(){if(typeof WeakMap!="function")return null;var le=new WeakMap;return c=function(){return le},le}function a(le){if(le&&le.__esModule)return le;if(le===null||y(le)!=="object"&&typeof le!="function")return{default:le};var Nt=c();if(Nt&&Nt.has(le))return Nt.get(le);var tr={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Wt in le)if(Object.prototype.hasOwnProperty.call(le,Wt)){var cr=lt?Object.getOwnPropertyDescriptor(le,Wt):null;cr&&(cr.get||cr.set)?Object.defineProperty(tr,Wt,cr):tr[Wt]=le[Wt]}return tr.default=le,Nt&&Nt.set(le,tr),tr}var n=0;N.Z_NO_FLUSH=n;var i=1;N.Z_PARTIAL_FLUSH=i;var o=3;N.Z_FULL_FLUSH=o;var r=4;N.Z_FINISH=r;var l=5;N.Z_BLOCK=l;var e=0;N.Z_OK=e;var s=1;N.Z_STREAM_END=s;var u=-2;N.Z_STREAM_ERROR=u;var h=-3;N.Z_DATA_ERROR=h;var A=-5;N.Z_BUF_ERROR=A;var v=-1;N.Z_DEFAULT_COMPRESSION=v;var w=1;N.Z_FILTERED=w;var b=2;N.Z_HUFFMAN_ONLY=b;var E=3;N.Z_RLE=E;var T=4;N.Z_FIXED=T;var _=0;N.Z_DEFAULT_STRATEGY=_;var x=2;N.Z_UNKNOWN=x;var C=8;N.Z_DEFLATED=C;var I=9,L=15,F=8,B=29,P=256,H=P+1+B,z=30,M=19,U=2*H+1,k=15,K=3,j=258,V=j+K+1,W=32,X=42,J=69,de=73,G=91,ae=103,Ae=113,me=666,Me=1,oe=2,_e=3,ee=4,ne=3;function Ge(le,Nt){return le.msg=f.default[Nt],Nt}function Ee(le){return(le<<1)-(le>4?9:0)}function ue(le){for(var Nt=le.length;--Nt>=0;)le[Nt]=0}function re(le){var Nt=le.state,tr=Nt.pending;if(tr>le.avail_out&&(tr=le.avail_out),tr===0)return;p.arraySet(le.output,Nt.pending_buf,Nt.pending_out,tr,le.next_out),le.next_out+=tr,Nt.pending_out+=tr,le.total_out+=tr,le.avail_out-=tr,Nt.pending-=tr,Nt.pending===0&&(Nt.pending_out=0)}function ce(le,Nt){S._tr_flush_block(le,le.block_start>=0?le.block_start:-1,le.strstart-le.block_start,Nt),le.block_start=le.strstart,re(le.strm)}function ke(le,Nt){le.pending_buf[le.pending++]=Nt}function Te(le,Nt){le.pending_buf[le.pending++]=Nt>>>8&255,le.pending_buf[le.pending++]=Nt&255}function Ke(le,Nt,tr,lt){var Wt=le.avail_in;return Wt>lt&&(Wt=lt),Wt===0?0:(le.avail_in-=Wt,p.arraySet(Nt,le.input,le.next_in,Wt,tr),le.state.wrap===1?le.adler=(0,m.default)(le.adler,Nt,Wt,tr):le.state.wrap===2&&(le.adler=(0,g.default)(le.adler,Nt,Wt,tr)),le.next_in+=Wt,le.total_in+=Wt,Wt)}function Ie(le,Nt){var tr=le.max_chain_length,lt=le.strstart,Wt,cr,Vr=le.prev_length,ur=le.nice_match,ir=le.strstart>le.w_size-V?le.strstart-(le.w_size-V):0,Lt=le.window,ot=le.w_mask,Xe=le.prev,$t=le.strstart+j,Sr=Lt[lt+Vr-1],vr=Lt[lt+Vr];le.prev_length>=le.good_match&&(tr>>=2),ur>le.lookahead&&(ur=le.lookahead);do{if(Wt=Nt,Lt[Wt+Vr]!==vr||Lt[Wt+Vr-1]!==Sr||Lt[Wt]!==Lt[lt]||Lt[++Wt]!==Lt[lt+1])continue;lt+=2,Wt++;do;while(Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&&Lt[++lt]===Lt[++Wt]&<<$t);if(cr=j-($t-lt),lt=$t-j,cr>Vr){if(le.match_start=Nt,Vr=cr,cr>=ur)break;Sr=Lt[lt+Vr-1],vr=Lt[lt+Vr]}}while((Nt=Xe[Nt&ot])>ir&&--tr!==0);return Vr<=le.lookahead?Vr:le.lookahead}function se(le){var Nt=le.w_size,tr,lt,Wt,cr,Vr;do{if(cr=le.window_size-le.lookahead-le.strstart,le.strstart>=Nt+(Nt-V)){p.arraySet(le.window,le.window,Nt,Nt,0),le.match_start-=Nt,le.strstart-=Nt,le.block_start-=Nt,lt=le.hash_size,tr=lt;do Wt=le.head[--tr],le.head[tr]=Wt>=Nt?Wt-Nt:0;while(--lt);lt=Nt,tr=lt;do Wt=le.prev[--tr],le.prev[tr]=Wt>=Nt?Wt-Nt:0;while(--lt);cr+=Nt}if(le.strm.avail_in===0)break;if(lt=Ke(le.strm,le.window,le.strstart+le.lookahead,cr),le.lookahead+=lt,le.lookahead+le.insert>=K)for(Vr=le.strstart-le.insert,le.ins_h=le.window[Vr],le.ins_h=(le.ins_h<<le.hash_shift^le.window[Vr+1])&le.hash_mask;le.insert&&!(le.ins_h=(le.ins_h<<le.hash_shift^le.window[Vr+K-1])&le.hash_mask,le.prev[Vr&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=Vr,Vr++,le.insert--,le.lookahead+le.insert<K););}while(le.lookahead<V&&le.strm.avail_in!==0)}function ye(le,Nt){var tr=65535;for(tr>le.pending_buf_size-5&&(tr=le.pending_buf_size-5);;){if(le.lookahead<=1){if(se(le),le.lookahead===0&&Nt===n)return Me;if(le.lookahead===0)break}le.strstart+=le.lookahead,le.lookahead=0;var lt=le.block_start+tr;if((le.strstart===0||le.strstart>=lt)&&(le.lookahead=le.strstart-lt,le.strstart=lt,ce(le,!1),le.strm.avail_out===0))return Me;if(le.strstart-le.block_start>=le.w_size-V&&(ce(le,!1),le.strm.avail_out===0))return Me}return le.insert=0,Nt===r?(ce(le,!0),le.strm.avail_out===0?_e:ee):(le.strstart>le.block_start&&(ce(le,!1),le.strm.avail_out===0),Me)}function xe(le,Nt){for(var tr,lt;;){if(le.lookahead<V){if(se(le),le.lookahead<V&&Nt===n)return Me;if(le.lookahead===0)break}if(tr=0,le.lookahead>=K&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,tr=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart),tr!==0&&le.strstart-tr<=le.w_size-V&&(le.match_length=Ie(le,tr)),le.match_length>=K)if(lt=S._tr_tally(le,le.strstart-le.match_start,le.match_length-K),le.lookahead-=le.match_length,le.match_length<=le.max_lazy_match&&le.lookahead>=K){le.match_length--;do le.strstart++,le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,tr=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart;while(--le.match_length!==0);le.strstart++}else le.strstart+=le.match_length,le.match_length=0,le.ins_h=le.window[le.strstart],le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+1])&le.hash_mask;else lt=S._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++;if(lt&&(ce(le,!1),le.strm.avail_out===0))return Me}return le.insert=le.strstart<K-1?le.strstart:K-1,Nt===r?(ce(le,!0),le.strm.avail_out===0?_e:ee):le.last_lit&&(ce(le,!1),le.strm.avail_out===0)?Me:oe}function Ye(le,Nt){for(var tr,lt,Wt;;){if(le.lookahead<V){if(se(le),le.lookahead<V&&Nt===n)return Me;if(le.lookahead===0)break}if(tr=0,le.lookahead>=K&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,tr=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart),le.prev_length=le.match_length,le.prev_match=le.match_start,le.match_length=K-1,tr!==0&&le.prev_length<le.max_lazy_match&&le.strstart-tr<=le.w_size-V&&(le.match_length=Ie(le,tr),le.match_length<=5&&(le.strategy===w||le.match_length===K&&le.strstart-le.match_start>4096)&&(le.match_length=K-1)),le.prev_length>=K&&le.match_length<=le.prev_length){Wt=le.strstart+le.lookahead-K,lt=S._tr_tally(le,le.strstart-1-le.prev_match,le.prev_length-K),le.lookahead-=le.prev_length-1,le.prev_length-=2;do++le.strstart<=Wt&&(le.ins_h=(le.ins_h<<le.hash_shift^le.window[le.strstart+K-1])&le.hash_mask,tr=le.prev[le.strstart&le.w_mask]=le.head[le.ins_h],le.head[le.ins_h]=le.strstart);while(--le.prev_length!==0);if(le.match_available=0,le.match_length=K-1,le.strstart++,lt&&(ce(le,!1),le.strm.avail_out===0))return Me}else if(le.match_available){if(lt=S._tr_tally(le,0,le.window[le.strstart-1]),lt&&ce(le,!1),le.strstart++,le.lookahead--,le.strm.avail_out===0)return Me}else le.match_available=1,le.strstart++,le.lookahead--}return le.match_available&&(lt=S._tr_tally(le,0,le.window[le.strstart-1]),le.match_available=0),le.insert=le.strstart<K-1?le.strstart:K-1,Nt===r?(ce(le,!0),le.strm.avail_out===0?_e:ee):le.last_lit&&(ce(le,!1),le.strm.avail_out===0)?Me:oe}function pt(le,Nt){for(var tr,lt,Wt,cr,Vr=le.window;;){if(le.lookahead<=j){if(se(le),le.lookahead<=j&&Nt===n)return Me;if(le.lookahead===0)break}if(le.match_length=0,le.lookahead>=K&&le.strstart>0&&(Wt=le.strstart-1,lt=Vr[Wt],lt===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt])){cr=le.strstart+j;do;while(lt===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&<===Vr[++Wt]&&Wt<cr);le.match_length=j-(cr-Wt),le.match_length>le.lookahead&&(le.match_length=le.lookahead)}if(le.match_length>=K?(tr=S._tr_tally(le,1,le.match_length-K),le.lookahead-=le.match_length,le.strstart+=le.match_length,le.match_length=0):(tr=S._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++),tr&&(ce(le,!1),le.strm.avail_out===0))return Me}return le.insert=0,Nt===r?(ce(le,!0),le.strm.avail_out===0?_e:ee):le.last_lit&&(ce(le,!1),le.strm.avail_out===0)?Me:oe}function nt(le,Nt){for(var tr;;){if(le.lookahead===0&&(se(le),le.lookahead===0)){if(Nt===n)return Me;break}if(le.match_length=0,tr=S._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++,tr&&(ce(le,!1),le.strm.avail_out===0))return Me}return le.insert=0,Nt===r?(ce(le,!0),le.strm.avail_out===0?_e:ee):le.last_lit&&(ce(le,!1),le.strm.avail_out===0)?Me:oe}function Oe(le,Nt,tr,lt,Wt){this.good_length=le,this.max_lazy=Nt,this.nice_length=tr,this.max_chain=lt,this.func=Wt}var vt;vt=[new Oe(0,0,0,0,ye),new Oe(4,4,8,4,xe),new Oe(4,5,16,8,xe),new Oe(4,6,32,32,xe),new Oe(4,4,16,16,Ye),new Oe(8,16,32,32,Ye),new Oe(8,16,128,128,Ye),new Oe(8,32,128,256,Ye),new Oe(32,128,258,1024,Ye),new Oe(32,258,258,4096,Ye)];function Ze(le){le.window_size=2*le.w_size,ue(le.head),le.max_lazy_match=vt[le.level].max_lazy,le.good_match=vt[le.level].good_length,le.nice_match=vt[le.level].nice_length,le.max_chain_length=vt[le.level].max_chain,le.strstart=0,le.block_start=0,le.lookahead=0,le.insert=0,le.match_length=le.prev_length=K-1,le.match_available=0,le.ins_h=0}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new p.Buf16(U*2),this.dyn_dtree=new p.Buf16((2*z+1)*2),this.bl_tree=new p.Buf16((2*M+1)*2),ue(this.dyn_ltree),ue(this.dyn_dtree),ue(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new p.Buf16(k+1),this.heap=new p.Buf16(2*H+1),ue(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new p.Buf16(2*H+1),ue(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function xt(le){var Nt;return!le||!le.state?Ge(le,u):(le.total_in=le.total_out=0,le.data_type=x,Nt=le.state,Nt.pending=0,Nt.pending_out=0,Nt.wrap<0&&(Nt.wrap=-Nt.wrap),Nt.status=Nt.wrap?X:Ae,le.adler=Nt.wrap===2?0:1,Nt.last_flush=n,S._tr_init(Nt),e)}function Ot(le){var Nt=xt(le);return Nt===e&&Ze(le.state),Nt}function Mt(le,Nt){return!le||!le.state||le.state.wrap!==2?u:(le.state.gzhead=Nt,e)}function Gt(le,Nt,tr,lt,Wt,cr){if(!le)return u;var Vr=1;if(Nt===v&&(Nt=6),lt<0?(Vr=0,lt=-lt):lt>15&&(Vr=2,lt-=16),Wt<1||Wt>I||tr!==C||lt<8||lt>15||Nt<0||Nt>9||cr<0||cr>T)return Ge(le,u);lt===8&&(lt=9);var ur=new wt;return le.state=ur,ur.strm=le,ur.wrap=Vr,ur.gzhead=null,ur.w_bits=lt,ur.w_size=1<<ur.w_bits,ur.w_mask=ur.w_size-1,ur.hash_bits=Wt+7,ur.hash_size=1<<ur.hash_bits,ur.hash_mask=ur.hash_size-1,ur.hash_shift=~~((ur.hash_bits+K-1)/K),ur.window=new p.Buf8(ur.w_size*2),ur.head=new p.Buf16(ur.hash_size),ur.prev=new p.Buf16(ur.w_size),ur.lit_bufsize=1<<Wt+6,ur.pending_buf_size=ur.lit_bufsize*4,ur.pending_buf=new p.Buf8(ur.pending_buf_size),ur.d_buf=1*ur.lit_bufsize,ur.l_buf=(1+2)*ur.lit_bufsize,ur.level=Nt,ur.strategy=cr,ur.method=tr,Ot(le)}function $e(le,Nt){return Gt(le,Nt,C,L,F,_)}function pe(le,Nt){var tr,lt,Wt,cr;if(!le||!le.state||Nt>l||Nt<0)return le?Ge(le,u):u;if(lt=le.state,!le.output||!le.input&&le.avail_in!==0||lt.status===me&&Nt!==r)return Ge(le,le.avail_out===0?A:u);if(lt.strm=le,tr=lt.last_flush,lt.last_flush=Nt,lt.status===X)if(lt.wrap===2)le.adler=0,ke(lt,31),ke(lt,139),ke(lt,8),lt.gzhead?(ke(lt,(lt.gzhead.text?1:0)+(lt.gzhead.hcrc?2:0)+(lt.gzhead.extra?4:0)+(lt.gzhead.name?8:0)+(lt.gzhead.comment?16:0)),ke(lt,lt.gzhead.time&255),ke(lt,lt.gzhead.time>>8&255),ke(lt,lt.gzhead.time>>16&255),ke(lt,lt.gzhead.time>>24&255),ke(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),ke(lt,lt.gzhead.os&255),lt.gzhead.extra&<.gzhead.extra.length&&(ke(lt,lt.gzhead.extra.length&255),ke(lt,lt.gzhead.extra.length>>8&255)),lt.gzhead.hcrc&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending,0)),lt.gzindex=0,lt.status=J):(ke(lt,0),ke(lt,0),ke(lt,0),ke(lt,0),ke(lt,0),ke(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),ke(lt,ne),lt.status=Ae);else{var Vr=C+(lt.w_bits-8<<4)<<8,ur=-1;lt.strategy>=b||lt.level<2?ur=0:lt.level<6?ur=1:lt.level===6?ur=2:ur=3,Vr|=ur<<6,lt.strstart!==0&&(Vr|=W),Vr+=31-Vr%31,lt.status=Ae,Te(lt,Vr),lt.strstart!==0&&(Te(lt,le.adler>>>16),Te(lt,le.adler&65535)),le.adler=1}if(lt.status===J)if(lt.gzhead.extra){for(Wt=lt.pending;lt.gzindex<(lt.gzhead.extra.length&65535)&&!(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),re(le),Wt=lt.pending,lt.pending===lt.pending_buf_size));)ke(lt,lt.gzhead.extra[lt.gzindex]&255),lt.gzindex++;lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),lt.gzindex===lt.gzhead.extra.length&&(lt.gzindex=0,lt.status=de)}else lt.status=de;if(lt.status===de)if(lt.gzhead.name){Wt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),re(le),Wt=lt.pending,lt.pending===lt.pending_buf_size)){cr=1;break}lt.gzindex<lt.gzhead.name.length?cr=lt.gzhead.name.charCodeAt(lt.gzindex++)&255:cr=0,ke(lt,cr)}while(cr!==0);lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),cr===0&&(lt.gzindex=0,lt.status=G)}else lt.status=G;if(lt.status===G)if(lt.gzhead.comment){Wt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),re(le),Wt=lt.pending,lt.pending===lt.pending_buf_size)){cr=1;break}lt.gzindex<lt.gzhead.comment.length?cr=lt.gzhead.comment.charCodeAt(lt.gzindex++)&255:cr=0,ke(lt,cr)}while(cr!==0);lt.gzhead.hcrc&<.pending>Wt&&(le.adler=(0,g.default)(le.adler,lt.pending_buf,lt.pending-Wt,Wt)),cr===0&&(lt.status=ae)}else lt.status=ae;if(lt.status===ae&&(lt.gzhead.hcrc?(lt.pending+2>lt.pending_buf_size&&re(le),lt.pending+2<=lt.pending_buf_size&&(ke(lt,le.adler&255),ke(lt,le.adler>>8&255),le.adler=0,lt.status=Ae)):lt.status=Ae),lt.pending!==0){if(re(le),le.avail_out===0)return lt.last_flush=-1,e}else if(le.avail_in===0&&Ee(Nt)<=Ee(tr)&&Nt!==r)return Ge(le,A);if(lt.status===me&&le.avail_in!==0)return Ge(le,A);if(le.avail_in!==0||lt.lookahead!==0||Nt!==n&<.status!==me){var ir=lt.strategy===b?nt(lt,Nt):lt.strategy===E?pt(lt,Nt):vt[lt.level].func(lt,Nt);if((ir===_e||ir===ee)&&(lt.status=me),ir===Me||ir===_e)return le.avail_out===0&&(lt.last_flush=-1),e;if(ir===oe&&(Nt===i?S._tr_align(lt):Nt!==l&&(S._tr_stored_block(lt,0,0,!1),Nt===o&&(ue(lt.head),lt.lookahead===0&&(lt.strstart=0,lt.block_start=0,lt.insert=0))),re(le),le.avail_out===0))return lt.last_flush=-1,e}return Nt!==r?e:lt.wrap<=0?s:(lt.wrap===2?(ke(lt,le.adler&255),ke(lt,le.adler>>8&255),ke(lt,le.adler>>16&255),ke(lt,le.adler>>24&255),ke(lt,le.total_in&255),ke(lt,le.total_in>>8&255),ke(lt,le.total_in>>16&255),ke(lt,le.total_in>>24&255)):(Te(lt,le.adler>>>16),Te(lt,le.adler&65535)),re(le),lt.wrap>0&&(lt.wrap=-lt.wrap),lt.pending!==0?e:s)}function q(le){var Nt;return!le||!le.state?u:(Nt=le.state.status,Nt!==X&&Nt!==J&&Nt!==de&&Nt!==G&&Nt!==ae&&Nt!==Ae&&Nt!==me?Ge(le,u):(le.state=null,Nt===Ae?Ge(le,h):e))}function bt(le,Nt){var tr=Nt.length,lt,Wt,cr,Vr,ur,ir,Lt,ot;if(!le||!le.state)return u;if(lt=le.state,Vr=lt.wrap,Vr===2||Vr===1&<.status!==X||lt.lookahead)return u;for(Vr===1&&(le.adler=(0,m.default)(le.adler,Nt,tr,0)),lt.wrap=0,tr>=lt.w_size&&(Vr===0&&(ue(lt.head),lt.strstart=0,lt.block_start=0,lt.insert=0),ot=new p.Buf8(lt.w_size),p.arraySet(ot,Nt,tr-lt.w_size,lt.w_size,0),Nt=ot,tr=lt.w_size),ur=le.avail_in,ir=le.next_in,Lt=le.input,le.avail_in=tr,le.next_in=0,le.input=Nt,se(lt);lt.lookahead>=K;){Wt=lt.strstart,cr=lt.lookahead-(K-1);do lt.ins_h=(lt.ins_h<<lt.hash_shift^lt.window[Wt+K-1])<.hash_mask,lt.prev[Wt<.w_mask]=lt.head[lt.ins_h],lt.head[lt.ins_h]=Wt,Wt++;while(--cr);lt.strstart=Wt,lt.lookahead=K-1,se(lt)}return lt.strstart+=lt.lookahead,lt.block_start=lt.strstart,lt.insert=lt.lookahead,lt.lookahead=0,lt.match_length=lt.prev_length=K-1,lt.match_available=0,le.next_in=ir,le.input=Lt,le.avail_in=ur,lt.wrap=Vr,e}var qe="pako deflate (from Nodeca project)";N.deflateInfo=qe},lOQZ:function(R,N,t){var y=t("QBsz"),p=t("U/Mo"),S=p.getSymbolSize,m=p.getNodeGlobalScale,g=Math.PI,f=[];function d(a,n){var i=a.coordinateSystem;if(i&&i.type!=="view")return;var o=i.getBoundingRect(),r=a.getData(),l=r.graph,e=o.width/2+o.x,s=o.height/2+o.y,u=Math.min(o.width,o.height)/2,h=r.count();if(r.setLayout({cx:e,cy:s}),!h)return;c[n](a,i,l,r,u,e,s,h),l.eachEdge(function(A){var v=A.getModel().get("lineStyle.curveness")||0,w=y.clone(A.node1.getLayout()),b=y.clone(A.node2.getLayout()),E,T=(w[0]+b[0])/2,_=(w[1]+b[1])/2;+v&&(v*=3,E=[e*v+T*(1-v),s*v+_*(1-v)]),A.setLayout([w,b,E])})}var c={value:function(a,n,i,o,r,l,e,s){var u=0,h=o.getSum("value"),A=Math.PI*2/(h||s);i.eachNode(function(v){var w=v.getValue("value"),b=A*(h?w:1)/2;u+=b,v.setLayout([r*Math.cos(u)+l,r*Math.sin(u)+e]),u+=b})},symbolSize:function(a,n,i,o,r,l,e,s){var u=0;f.length=s;var h=m(a);i.eachNode(function(w){var b=S(w);isNaN(b)&&(b=2),b<0&&(b=0),b*=h;var E=Math.asin(b/2/r);isNaN(E)&&(E=g/2),f[w.dataIndex]=E,u+=E*2});var A=(2*g-u)/s/2,v=0;i.eachNode(function(w){var b=A+f[w.dataIndex];v+=b,w.setLayout([r*Math.cos(v)+l,r*Math.sin(v)+e]),v+=b})}};N.circularLayout=d},lUTK:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("x54q"),m=t.n(S),g=t("5Dmo")},lZu9:function(R,N,t){(function(y){y(t("VrN/"),t("1eCo"),t("8EBN"))})(function(y){"use strict";y.defineMode("markdown",function(p,S){var m=y.getMode(p,"text/html"),g=m.name=="null";function f(k){if(y.findModeByName){var K=y.findModeByName(k);K&&(k=K.mime||K.mimes[0])}var j=y.getMode(p,k);return j.name=="null"?null:j}S.highlightFormatting===void 0&&(S.highlightFormatting=!1),S.maxBlockquoteDepth===void 0&&(S.maxBlockquoteDepth=0),S.taskLists===void 0&&(S.taskLists=!1),S.strikethrough===void 0&&(S.strikethrough=!1),S.emoji===void 0&&(S.emoji=!1),S.fencedCodeBlockHighlighting===void 0&&(S.fencedCodeBlockHighlighting=!0),S.fencedCodeBlockDefaultMode===void 0&&(S.fencedCodeBlockDefaultMode="text/plain"),S.xml===void 0&&(S.xml=!0),S.tokenTypeOverrides===void 0&&(S.tokenTypeOverrides={});var d={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var c in d)d.hasOwnProperty(c)&&S.tokenTypeOverrides[c]&&(d[c]=S.tokenTypeOverrides[c]);var a=/^([*\-_])(?:\s*\1){2,}\s*$/,n=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,i=/^\[(x| )\](?=\s)/i,o=S.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,h=" ";function A(k,K,j){return K.f=K.inline=j,j(k,K)}function v(k,K,j){return K.f=K.block=j,j(k,K)}function w(k){return!k||!/\S/.test(k.string)}function b(k){if(k.linkTitle=!1,k.linkHref=!1,k.linkText=!1,k.em=!1,k.strong=!1,k.strikethrough=!1,k.quote=0,k.indentedCode=!1,k.f==T){var K=g;if(!K){var j=y.innerMode(m,k.htmlState);K=j.mode.name=="xml"&&j.state.tagStart===null&&!j.state.context&&j.state.tokenize.isInText}K&&(k.f=I,k.block=E,k.htmlState=null)}return k.trailingSpace=0,k.trailingSpaceNewLine=!1,k.prevLine=k.thisLine,k.thisLine={stream:null},null}function E(k,K){var j=k.column()===K.indentation,V=w(K.prevLine.stream),W=K.indentedCode,X=K.prevLine.hr,J=K.list!==!1,de=(K.listStack[K.listStack.length-1]||0)+3;K.indentedCode=!1;var G=K.indentation;if(K.indentationDiff===null&&(K.indentationDiff=K.indentation,J)){for(K.list=null;G<K.listStack[K.listStack.length-1];)K.listStack.pop(),K.listStack.length?K.indentation=K.listStack[K.listStack.length-1]:K.list=!1;K.list!==!1&&(K.indentationDiff=G-K.listStack[K.listStack.length-1])}var ae=!V&&!X&&!K.prevLine.header&&(!J||!W)&&!K.prevLine.fencedCodeEnd,Ae=(K.list===!1||X||V)&&K.indentation<=de&&k.match(a),me=null;if(K.indentationDiff>=4&&(W||K.prevLine.fencedCodeEnd||K.prevLine.header||V))return k.skipToEnd(),K.indentedCode=!0,d.code;if(k.eatSpace())return null;if(j&&K.indentation<=de&&(me=k.match(o))&&me[1].length<=6)return K.quote=0,K.header=me[1].length,K.thisLine.header=!0,S.highlightFormatting&&(K.formatting="header"),K.f=K.inline,x(K);if(K.indentation<=de&&k.eat(">"))return K.quote=j?1:K.quote+1,S.highlightFormatting&&(K.formatting="quote"),k.eatSpace(),x(K);if(!Ae&&!K.setext&&j&&K.indentation<=de&&(me=k.match(n))){var Me=me[1]?"ol":"ul";return K.indentation=G+k.current().length,K.list=!0,K.quote=0,K.listStack.push(K.indentation),K.em=!1,K.strong=!1,K.code=!1,K.strikethrough=!1,S.taskLists&&k.match(i,!1)&&(K.taskList=!0),K.f=K.inline,S.highlightFormatting&&(K.formatting=["list","list-"+Me]),x(K)}else{if(j&&K.indentation<=de&&(me=k.match(e,!0)))return K.quote=0,K.fencedEndRE=new RegExp(me[1]+"+ *$"),K.localMode=S.fencedCodeBlockHighlighting&&f(me[2]||S.fencedCodeBlockDefaultMode),K.localMode&&(K.localState=y.startState(K.localMode)),K.f=K.block=_,S.highlightFormatting&&(K.formatting="code-block"),K.code=-1,x(K);if(K.setext||(!ae||!J)&&!K.quote&&K.list===!1&&!K.code&&!Ae&&!s.test(k.string)&&(me=k.lookAhead(1))&&(me=me.match(r)))return K.setext?(K.header=K.setext,K.setext=0,k.skipToEnd(),S.highlightFormatting&&(K.formatting="header")):(K.header=me[0].charAt(0)=="="?1:2,K.setext=K.header),K.thisLine.header=!0,K.f=K.inline,x(K);if(Ae)return k.skipToEnd(),K.hr=!0,K.thisLine.hr=!0,d.hr;if(k.peek()==="[")return A(k,K,H)}return A(k,K,K.inline)}function T(k,K){var j=m.token(k,K.htmlState);if(!g){var V=y.innerMode(m,K.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||K.md_inside&&k.current().indexOf(">")>-1)&&(K.f=I,K.block=E,K.htmlState=null)}return j}function _(k,K){var j=K.listStack[K.listStack.length-1]||0,V=K.indentation<j,W=j+3;if(K.fencedEndRE&&K.indentation<=W&&(V||k.match(K.fencedEndRE))){S.highlightFormatting&&(K.formatting="code-block");var X;return V||(X=x(K)),K.localMode=K.localState=null,K.block=E,K.f=I,K.fencedEndRE=null,K.code=0,K.thisLine.fencedCodeEnd=!0,V?v(k,K,K.block):X}else return K.localMode?K.localMode.token(k,K.localState):(k.skipToEnd(),d.code)}function x(k){var K=[];if(k.formatting){K.push(d.formatting),typeof k.formatting=="string"&&(k.formatting=[k.formatting]);for(var j=0;j<k.formatting.length;j++)K.push(d.formatting+"-"+k.formatting[j]),k.formatting[j]==="header"&&K.push(d.formatting+"-"+k.formatting[j]+"-"+k.header),k.formatting[j]==="quote"&&(!S.maxBlockquoteDepth||S.maxBlockquoteDepth>=k.quote?K.push(d.formatting+"-"+k.formatting[j]+"-"+k.quote):K.push("error"))}if(k.taskOpen)return K.push("meta"),K.length?K.join(" "):null;if(k.taskClosed)return K.push("property"),K.length?K.join(" "):null;if(k.linkHref?K.push(d.linkHref,"url"):(k.strong&&K.push(d.strong),k.em&&K.push(d.em),k.strikethrough&&K.push(d.strikethrough),k.emoji&&K.push(d.emoji),k.linkText&&K.push(d.linkText),k.code&&K.push(d.code),k.image&&K.push(d.image),k.imageAltText&&K.push(d.imageAltText,"link"),k.imageMarker&&K.push(d.imageMarker)),k.header&&K.push(d.header,d.header+"-"+k.header),k.quote&&(K.push(d.quote),!S.maxBlockquoteDepth||S.maxBlockquoteDepth>=k.quote?K.push(d.quote+"-"+k.quote):K.push(d.quote+"-"+S.maxBlockquoteDepth)),k.list!==!1){var V=(k.listStack.length-1)%3;V?V===1?K.push(d.list2):K.push(d.list3):K.push(d.list1)}return k.trailingSpaceNewLine?K.push("trailing-space-new-line"):k.trailingSpace&&K.push("trailing-space-"+(k.trailingSpace%2?"a":"b")),K.length?K.join(" "):null}function C(k,K){return k.match(l,!0)?x(K):void 0}function I(k,K){var j=K.text(k,K);if(typeof j!="undefined")return j;if(K.list)return K.list=null,x(K);if(K.taskList){var V=k.match(i,!0)[1]===" ";return V?K.taskOpen=!0:K.taskClosed=!0,S.highlightFormatting&&(K.formatting="task"),K.taskList=!1,x(K)}if(K.taskOpen=!1,K.taskClosed=!1,K.header&&k.match(/^#+$/,!0))return S.highlightFormatting&&(K.formatting="header"),x(K);var W=k.next();if(K.linkTitle){K.linkTitle=!1;var X=W;W==="("&&(X=")"),X=(X+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var J="^\\s*(?:[^"+X+"\\\\]+|\\\\\\\\|\\\\.)"+X;if(k.match(new RegExp(J),!0))return d.linkHref}if(W==="`"){var de=K.formatting;S.highlightFormatting&&(K.formatting="code"),k.eatWhile("`");var G=k.current().length;if(K.code==0&&(!K.quote||G==1))return K.code=G,x(K);if(G==K.code){var ae=x(K);return K.code=0,ae}else return K.formatting=de,x(K)}else if(K.code)return x(K);if(W==="\\"&&(k.next(),S.highlightFormatting)){var Ae=x(K),me=d.formatting+"-escape";return Ae?Ae+" "+me:me}if(W==="!"&&k.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return K.imageMarker=!0,K.image=!0,S.highlightFormatting&&(K.formatting="image"),x(K);if(W==="["&&K.imageMarker&&k.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return K.imageMarker=!1,K.imageAltText=!0,S.highlightFormatting&&(K.formatting="image"),x(K);if(W==="]"&&K.imageAltText){S.highlightFormatting&&(K.formatting="image");var Ae=x(K);return K.imageAltText=!1,K.image=!1,K.inline=K.f=F,Ae}if(W==="["&&!K.image)return K.linkText&&k.match(/^.*?\]/)||(K.linkText=!0,S.highlightFormatting&&(K.formatting="link")),x(K);if(W==="]"&&K.linkText){S.highlightFormatting&&(K.formatting="link");var Ae=x(K);return K.linkText=!1,K.inline=K.f=k.match(/\(.*?\)| ?\[.*?\]/,!1)?F:I,Ae}if(W==="<"&&k.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,S.highlightFormatting&&(K.formatting="link");var Ae=x(K);return Ae?Ae+=" ":Ae="",Ae+d.linkInline}if(W==="<"&&k.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,S.highlightFormatting&&(K.formatting="link");var Ae=x(K);return Ae?Ae+=" ":Ae="",Ae+d.linkEmail}if(S.xml&&W==="<"&&k.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Me=k.string.indexOf(">",k.pos);if(Me!=-1){var oe=k.string.substring(k.start,Me);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(oe)&&(K.md_inside=!0)}return k.backUp(1),K.htmlState=y.startState(m),v(k,K,T)}if(S.xml&&W==="<"&&k.match(/^\/\w*?>/))return K.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var _e=1,ee=k.pos==1?" ":k.string.charAt(k.pos-2);_e<3&&k.eat(W);)_e++;var ne=k.peek()||" ",Ge=!/\s/.test(ne)&&(!u.test(ne)||/\s/.test(ee)||u.test(ee)),Ee=!/\s/.test(ee)&&(!u.test(ee)||/\s/.test(ne)||u.test(ne)),ue=null,re=null;if(_e%2&&(!K.em&&Ge&&(W==="*"||!Ee||u.test(ee))?ue=!0:K.em==W&&Ee&&(W==="*"||!Ge||u.test(ne))&&(ue=!1)),_e>1&&(!K.strong&&Ge&&(W==="*"||!Ee||u.test(ee))?re=!0:K.strong==W&&Ee&&(W==="*"||!Ge||u.test(ne))&&(re=!1)),re!=null||ue!=null){S.highlightFormatting&&(K.formatting=ue==null?"strong":re==null?"em":"strong em"),ue===!0&&(K.em=W),re===!0&&(K.strong=W);var ae=x(K);return ue===!1&&(K.em=!1),re===!1&&(K.strong=!1),ae}}else if(W===" "&&(k.eat("*")||k.eat("_"))){if(k.peek()===" ")return x(K);k.backUp(1)}if(S.strikethrough){if(W==="~"&&k.eatWhile(W)){if(K.strikethrough){S.highlightFormatting&&(K.formatting="strikethrough");var ae=x(K);return K.strikethrough=!1,ae}else if(k.match(/^[^\s]/,!1))return K.strikethrough=!0,S.highlightFormatting&&(K.formatting="strikethrough"),x(K)}else if(W===" "&&k.match(/^~~/,!0)){if(k.peek()===" ")return x(K);k.backUp(2)}}if(S.emoji&&W===":"&&k.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){K.emoji=!0,S.highlightFormatting&&(K.formatting="emoji");var ce=x(K);return K.emoji=!1,ce}return W===" "&&(k.match(/^ +$/,!1)?K.trailingSpace++:K.trailingSpace&&(K.trailingSpaceNewLine=!0)),x(K)}function L(k,K){var j=k.next();if(j===">"){K.f=K.inline=I,S.highlightFormatting&&(K.formatting="link");var V=x(K);return V?V+=" ":V="",V+d.linkInline}return k.match(/^[^>]+/,!0),d.linkInline}function F(k,K){if(k.eatSpace())return null;var j=k.next();return j==="("||j==="["?(K.f=K.inline=P(j==="("?")":"]"),S.highlightFormatting&&(K.formatting="link-string"),K.linkHref=!0,x(K)):"error"}var B={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function P(k){return function(K,j){var V=K.next();if(V===k){j.f=j.inline=I,S.highlightFormatting&&(j.formatting="link-string");var W=x(j);return j.linkHref=!1,W}return K.match(B[k]),j.linkHref=!0,x(j)}}function H(k,K){return k.match(/^([^\]\\]|\\.)*\]:/,!1)?(K.f=z,k.next(),S.highlightFormatting&&(K.formatting="link"),K.linkText=!0,x(K)):A(k,K,I)}function z(k,K){if(k.match(/^\]:/,!0)){K.f=K.inline=M,S.highlightFormatting&&(K.formatting="link");var j=x(K);return K.linkText=!1,j}return k.match(/^([^\]\\]|\\.)+/,!0),d.linkText}function M(k,K){return k.eatSpace()?null:(k.match(/^[^\s]+/,!0),k.peek()===void 0?K.linkTitle=!0:k.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),K.f=K.inline=I,d.linkHref+" url")}var U={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:I,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(K){return{f:K.f,prevLine:K.prevLine,thisLine:K.thisLine,block:K.block,htmlState:K.htmlState&&y.copyState(m,K.htmlState),indentation:K.indentation,localMode:K.localMode,localState:K.localMode?y.copyState(K.localMode,K.localState):null,inline:K.inline,text:K.text,formatting:!1,linkText:K.linkText,linkTitle:K.linkTitle,linkHref:K.linkHref,code:K.code,em:K.em,strong:K.strong,strikethrough:K.strikethrough,emoji:K.emoji,header:K.header,setext:K.setext,hr:K.hr,taskList:K.taskList,list:K.list,listStack:K.listStack.slice(0),quote:K.quote,indentedCode:K.indentedCode,trailingSpace:K.trailingSpace,trailingSpaceNewLine:K.trailingSpaceNewLine,md_inside:K.md_inside,fencedEndRE:K.fencedEndRE}},token:function(K,j){if(j.formatting=!1,K!=j.thisLine.stream){if(j.header=0,j.hr=!1,K.match(/^\s*$/,!0))return b(j),null;if(j.prevLine=j.thisLine,j.thisLine={stream:K},j.taskList=!1,j.trailingSpace=0,j.trailingSpaceNewLine=!1,!j.localState&&(j.f=j.block,j.f!=T)){var V=K.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(j.indentation=V,j.indentationDiff=null,V>0)return null}}return j.f(K,j)},innerMode:function(K){return K.block==T?{state:K.htmlState,mode:m}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:U}},indent:function(K,j,V){return K.block==T&&m.indent?m.indent(K.htmlState,j,V):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,j,V):y.Pass},blankLine:b,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},laiN:function(R,N,t){var y=t("ProS");t("GVMX"),t("MH26"),y.registerPreprocessor(function(p){p.markLine=p.markLine||{}})},lnY3:function(R,N,t){},loD1:function(R,N){function t(y,p,S,m,g,f,d){if(g===0)return!1;var c=g,a=0,n=y;if(d>p+c&&d>m+c||d<p-c&&d<m-c||f>y+c&&f>S+c||f<y-c&&f<S-c)return!1;if(y!==S)a=(p-m)/(y-S),n=(y*m-S*p)/(y-S);else return Math.abs(f-y)<=c/2;var i=a*f-d+n,o=i*i/(a*a+1);return o<=c/2*c/2}N.containStroke=t},lrIw:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("cDf5"),m=t.n(S),g=t("J4zp"),f=t.n(g),d=t("q1tI"),c=t.n(d),a=t("Zm9Q"),n=t("TSYQ"),i=t.n(n),o=t("BGR+"),r=t("2fM7"),l=t("H84U"),e=t("uaoM"),s=t("0n0R"),u=r.a.Option,h=r.a;function A(b){return b&&b.type&&(b.type.isSelectOption||b.type.isSelectOptGroup)}var v=function(E,T){var _=E.prefixCls,x=E.className,C=E.children,I=E.dataSource,L=Object(a.a)(C),F=d.useRef();d.useImperativeHandle(T,function(){return F.current});var B;if(L.length===1&&Object(s.b)(L[0])&&!A(L[0])){var P=f()(L,1);B=P[0]}var H=function(){return B},z;return L.length&&A(L[0])?z=C:z=I?I.map(function(M){if(Object(s.b)(M))return M;switch(m()(M)){case"string":return d.createElement(u,{key:M,value:M},M);case"object":{var U=M.value;return d.createElement(u,{key:U,value:U},M.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],d.useEffect(function(){Object(e.a)(!("dataSource"in E),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!B||!("size"in E),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),d.createElement(l.a,null,function(M){var U=M.getPrefixCls,k=U("select",_);return d.createElement(h,p()({ref:F},Object(o.default)(E,["dataSource"]),{prefixCls:k,className:i()(x,"".concat(k,"-auto-complete")),mode:r.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:H}),z)})},w=d.forwardRef(v);w.Option=u,N.a=w},lwQL:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("9wZj"),m=t("c8qY"),g=t("SgGq"),f=t("Ae+d"),d=t("xSat"),c=d.onIrrelevantElement,a=t("IwbS"),n=t("SA8n"),i=t("U/Mo"),o=i.getNodeGlobalScale,r="__focusNodeAdjacency",l="__unfocusNodeAdjacency",e=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(w,b){var E=w.getVisual("opacity");return E!=null?E:w.getModel().get(b)}function h(w,b,E){var T=w.getGraphicEl(),_=u(w,b);E!=null&&(_==null&&(_=1),_*=E),T.downplay&&T.downplay(),T.traverse(function(x){if(!x.isGroup){var C=x.lineLabelOriginalOpacity;(C==null||E!=null)&&(C=_),x.setStyle("opacity",C)}})}function A(w,b){var E=u(w,b),T=w.getGraphicEl();T.traverse(function(_){!_.isGroup&&_.setStyle("opacity",E)}),T.highlight&&T.highlight()}var v=y.extendChartView({type:"graph",init:function(w,b){var E=new S,T=new m,_=this.group;this._controller=new g(b.getZr()),this._controllerHost={target:_},_.add(E.group),_.add(T.group),this._symbolDraw=E,this._lineDraw=T,this._firstRender=!0},render:function(w,b,E){var T=this,_=w.coordinateSystem;this._model=w;var x=this._symbolDraw,C=this._lineDraw,I=this.group;if(_.type==="view"){var L={position:_.position,scale:_.scale};this._firstRender?I.attr(L):a.updateProps(I,L,w)}n(w.getGraph(),o(w));var F=w.getData();x.updateData(F);var B=w.getEdgeData();C.updateData(B),this._updateNodeAndLinkScale(),this._updateController(w,b,E),clearTimeout(this._layoutTimeout);var P=w.forceLayout,H=w.get("force.layoutAnimation");P&&this._startForceLayoutIteration(P,H),F.eachItemGraphicEl(function(k,K){var j=F.getItemModel(K);k.off("drag").off("dragend");var V=j.get("draggable");V&&k.on("drag",function(){P&&(P.warmUp(),!this._layouting&&this._startForceLayoutIteration(P,H),P.setFixed(K),F.setItemLayout(K,k.position))},this).on("dragend",function(){P&&P.setUnfixed(K)},this),k.setDraggable(V&&P),k[r]&&k.off("mouseover",k[r]),k[l]&&k.off("mouseout",k[l]),j.get("focusNodeAdjacency")&&(k.on("mouseover",k[r]=function(){T._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,dataIndex:k.dataIndex})}),k.on("mouseout",k[l]=function(){T._dispatchUnfocus(E)}))},this),F.graph.eachEdge(function(k){var K=k.getGraphicEl();K[r]&&K.off("mouseover",K[r]),K[l]&&K.off("mouseout",K[l]),k.getModel().get("focusNodeAdjacency")&&(K.on("mouseover",K[r]=function(){T._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,edgeDataIndex:k.dataIndex})}),K.on("mouseout",K[l]=function(){T._dispatchUnfocus(E)}))});var z=w.get("layout")==="circular"&&w.get("circular.rotateLabel"),M=F.getLayout("cx"),U=F.getLayout("cy");F.eachItemGraphicEl(function(k,K){var j=F.getItemModel(K),V=j.get("label.rotate")||0,W=k.getSymbolPath();if(z){var X=F.getItemLayout(K),J=Math.atan2(X[1]-U,X[0]-M);J<0&&(J=Math.PI*2+J);var de=X[0]<M;de&&(J=J-Math.PI);var G=de?"left":"right";a.modifyLabelStyle(W,{textRotation:-J,textPosition:G,textOrigin:"center"},{textPosition:G})}else a.modifyLabelStyle(W,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(w,b){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,w.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(w,b,E,T){var _=w.getData(),x=_.graph,C=T.dataIndex,I=T.edgeDataIndex,L=x.getNodeByIndex(C),F=x.getEdgeByIndex(I);if(!L&&!F)return;x.eachNode(function(B){h(B,e,.1)}),x.eachEdge(function(B){h(B,s,.1)}),L&&(A(L,e),p.each(L.edges,function(B){if(B.dataIndex<0)return;A(B,s),A(B.node1,e),A(B.node2,e)})),F&&(A(F,s),A(F.node1,e),A(F.node2,e))},unfocusNodeAdjacency:function(w,b,E,T){var _=w.getData().graph;_.eachNode(function(x){h(x,e)}),_.eachEdge(function(x){h(x,s)})},_startForceLayoutIteration:function(w,b){var E=this;(function T(){w.step(function(_){E.updateLayout(E._model),(E._layouting=!_)&&(b?E._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(w,b,E){var T=this._controller,_=this._controllerHost,x=this.group;if(T.setPointerChecker(function(C,I,L){var F=x.getBoundingRect();return F.applyTransform(x.transform),F.contain(I,L)&&!c(C,E,w)}),w.coordinateSystem.type!=="view"){T.disable();return}T.enable(w.get("roam")),_.zoomLimit=w.get("scaleLimit"),_.zoom=w.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(C){f.updateViewOnPan(_,C.dx,C.dy),E.dispatchAction({seriesId:w.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){f.updateViewOnZoom(_,C.scale,C.originX,C.originY),E.dispatchAction({seriesId:w.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),n(w.getGraph(),o(w)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var w=this._model,b=w.getData(),E=o(w),T=[E,E];b.eachItemGraphicEl(function(_,x){_.attr("scale",T)})},updateLayout:function(w){n(w.getGraph(),o(w)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(w,b){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});R.exports=v},m9t5:function(R,N,t){var y=t("KCsZ"),p=y([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),S={getAreaStyle:function(m,g){return p(this,m,g)}};R.exports=S},mFDi:function(R,N,t){var y=t("QBsz"),p=t("Fofx"),S=y.applyTransform,m=Math.min,g=Math.max;function f(c,a,n,i){n<0&&(c=c+n,n=-n),i<0&&(a=a+i,i=-i),this.x=c,this.y=a,this.width=n,this.height=i}f.prototype={constructor:f,union:function(a){var n=m(a.x,this.x),i=m(a.y,this.y);this.width=g(a.x+a.width,this.x+this.width)-n,this.height=g(a.y+a.height,this.y+this.height)-i,this.x=n,this.y=i},applyTransform:function(){var c=[],a=[],n=[],i=[];return function(o){if(!o)return;c[0]=n[0]=this.x,c[1]=i[1]=this.y,a[0]=i[0]=this.x+this.width,a[1]=n[1]=this.y+this.height,S(c,c,o),S(a,a,o),S(n,n,o),S(i,i,o),this.x=m(c[0],a[0],n[0],i[0]),this.y=m(c[1],a[1],n[1],i[1]);var r=g(c[0],a[0],n[0],i[0]),l=g(c[1],a[1],n[1],i[1]);this.width=r-this.x,this.height=l-this.y}}(),calculateTransform:function(a){var n=this,i=a.width/n.width,o=a.height/n.height,r=p.create();return p.translate(r,r,[-n.x,-n.y]),p.scale(r,r,[i,o]),p.translate(r,r,[a.x,a.y]),r},intersect:function(a){if(!a)return!1;a instanceof f||(a=f.create(a));var n=this,i=n.x,o=n.x+n.width,r=n.y,l=n.y+n.height,e=a.x,s=a.x+a.width,u=a.y,h=a.y+a.height;return!(o<e||s<i||l<u||h<r)},contain:function(a,n){var i=this;return a>=i.x&&a<=i.x+i.width&&n>=i.y&&n<=i.y+i.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(c){return new f(c.x,c.y,c.width,c.height)};var d=f;R.exports=d},mHUz:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};N.default=y},mLcG:function(R,N){var t=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(y){setTimeout(y,16)};R.exports=t},"mO/d":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("I9Y+"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},mOdp:function(R,N,t){var y=t("bYtY"),p=y.createHashMap;function S(m){return{getTargetSeries:function(g){var f={},d=p();return g.eachSeriesByType(m,function(c){c.__paletteScope=f,d.set(c.uid,c)}),d},reset:function(g,f){var d=g.getRawData(),c={},a=g.getData();a.each(function(n){var i=a.getRawIndex(n);c[i]=n}),d.each(function(n){var i=c[n],o=i!=null&&a.getItemVisual(i,"color",!0),r=i!=null&&a.getItemVisual(i,"borderColor",!0),l;if((!o||!r)&&(l=d.getItemModel(n)),!o){var e=l.get("itemStyle.color")||g.getColorFromPalette(d.getName(n)||n+"",g.__paletteScope,d.count());i!=null&&a.setItemVisual(i,"color",e)}if(!r){var s=l.get("itemStyle.borderColor");i!=null&&a.setItemVisual(i,"borderColor",s)}})}}}R.exports=S},mTgk:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("mHUz"));function p(c){return c&&c.__esModule?c:{default:c}}var S={};function m(c,a){if(a===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[a,a,a,a]}function g(c,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[a,a,n,a]}function f(c,a,n){if(a===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(n===void 0)throw new Error('Undefined keysym for key "'+c+'"');if(c in S)throw new Error('Duplicate entry for key "'+c+'"');S[c]=[a,a,a,n]}g("Alt",y.default.XK_Alt_L,y.default.XK_Alt_R),m("AltGraph",y.default.XK_ISO_Level3_Shift),m("CapsLock",y.default.XK_Caps_Lock),g("Control",y.default.XK_Control_L,y.default.XK_Control_R),g("Meta",y.default.XK_Super_L,y.default.XK_Super_R),m("NumLock",y.default.XK_Num_Lock),m("ScrollLock",y.default.XK_Scroll_Lock),g("Shift",y.default.XK_Shift_L,y.default.XK_Shift_R),f("Enter",y.default.XK_Return,y.default.XK_KP_Enter),m("Tab",y.default.XK_Tab),f(" ",y.default.XK_space,y.default.XK_KP_Space),f("ArrowDown",y.default.XK_Down,y.default.XK_KP_Down),f("ArrowUp",y.default.XK_Up,y.default.XK_KP_Up),f("ArrowLeft",y.default.XK_Left,y.default.XK_KP_Left),f("ArrowRight",y.default.XK_Right,y.default.XK_KP_Right),f("End",y.default.XK_End,y.default.XK_KP_End),f("Home",y.default.XK_Home,y.default.XK_KP_Home),f("PageDown",y.default.XK_Next,y.default.XK_KP_Next),f("PageUp",y.default.XK_Prior,y.default.XK_KP_Prior),m("Backspace",y.default.XK_BackSpace),f("Clear",y.default.XK_Clear,y.default.XK_KP_Begin),m("Copy",y.default.XF86XK_Copy),m("Cut",y.default.XF86XK_Cut),f("Delete",y.default.XK_Delete,y.default.XK_KP_Delete),f("Insert",y.default.XK_Insert,y.default.XK_KP_Insert),m("Paste",y.default.XF86XK_Paste),m("Redo",y.default.XK_Redo),m("Undo",y.default.XK_Undo),m("Cancel",y.default.XK_Cancel),m("ContextMenu",y.default.XK_Menu),m("Escape",y.default.XK_Escape),m("Execute",y.default.XK_Execute),m("Find",y.default.XK_Find),m("Help",y.default.XK_Help),m("Pause",y.default.XK_Pause),m("Select",y.default.XK_Select),m("ZoomIn",y.default.XF86XK_ZoomIn),m("ZoomOut",y.default.XF86XK_ZoomOut),m("BrightnessDown",y.default.XF86XK_MonBrightnessDown),m("BrightnessUp",y.default.XF86XK_MonBrightnessUp),m("Eject",y.default.XF86XK_Eject),m("LogOff",y.default.XF86XK_LogOff),m("Power",y.default.XF86XK_PowerOff),m("PowerOff",y.default.XF86XK_PowerDown),m("PrintScreen",y.default.XK_Print),m("Hibernate",y.default.XF86XK_Hibernate),m("Standby",y.default.XF86XK_Standby),m("WakeUp",y.default.XF86XK_WakeUp),m("AllCandidates",y.default.XK_MultipleCandidate),m("Alphanumeric",y.default.XK_Eisu_Shift),m("CodeInput",y.default.XK_Codeinput),m("Compose",y.default.XK_Multi_key),m("Convert",y.default.XK_Henkan),m("GroupFirst",y.default.XK_ISO_First_Group),m("GroupLast",y.default.XK_ISO_Last_Group),m("GroupNext",y.default.XK_ISO_Next_Group),m("GroupPrevious",y.default.XK_ISO_Prev_Group),m("NonConvert",y.default.XK_Muhenkan),m("PreviousCandidate",y.default.XK_PreviousCandidate),m("SingleCandidate",y.default.XK_SingleCandidate),m("HangulMode",y.default.XK_Hangul),m("HanjaMode",y.default.XK_Hangul_Hanja),m("JunjuaMode",y.default.XK_Hangul_Jeonja),m("Eisu",y.default.XK_Eisu_toggle),m("Hankaku",y.default.XK_Hankaku),m("Hiragana",y.default.XK_Hiragana),m("HiraganaKatakana",y.default.XK_Hiragana_Katakana),m("KanaMode",y.default.XK_Kana_Shift),m("KanjiMode",y.default.XK_Kanji),m("Katakana",y.default.XK_Katakana),m("Romaji",y.default.XK_Romaji),m("Zenkaku",y.default.XK_Zenkaku),m("ZenkakuHanaku",y.default.XK_Zenkaku_Hankaku),m("F1",y.default.XK_F1),m("F2",y.default.XK_F2),m("F3",y.default.XK_F3),m("F4",y.default.XK_F4),m("F5",y.default.XK_F5),m("F6",y.default.XK_F6),m("F7",y.default.XK_F7),m("F8",y.default.XK_F8),m("F9",y.default.XK_F9),m("F10",y.default.XK_F10),m("F11",y.default.XK_F11),m("F12",y.default.XK_F12),m("F13",y.default.XK_F13),m("F14",y.default.XK_F14),m("F15",y.default.XK_F15),m("F16",y.default.XK_F16),m("F17",y.default.XK_F17),m("F18",y.default.XK_F18),m("F19",y.default.XK_F19),m("F20",y.default.XK_F20),m("F21",y.default.XK_F21),m("F22",y.default.XK_F22),m("F23",y.default.XK_F23),m("F24",y.default.XK_F24),m("F25",y.default.XK_F25),m("F26",y.default.XK_F26),m("F27",y.default.XK_F27),m("F28",y.default.XK_F28),m("F29",y.default.XK_F29),m("F30",y.default.XK_F30),m("F31",y.default.XK_F31),m("F32",y.default.XK_F32),m("F33",y.default.XK_F33),m("F34",y.default.XK_F34),m("F35",y.default.XK_F35),m("Close",y.default.XF86XK_Close),m("MailForward",y.default.XF86XK_MailForward),m("MailReply",y.default.XF86XK_Reply),m("MailSend",y.default.XF86XK_Send),m("MediaFastForward",y.default.XF86XK_AudioForward),m("MediaPause",y.default.XF86XK_AudioPause),m("MediaPlay",y.default.XF86XK_AudioPlay),m("MediaRecord",y.default.XF86XK_AudioRecord),m("MediaRewind",y.default.XF86XK_AudioRewind),m("MediaStop",y.default.XF86XK_AudioStop),m("MediaTrackNext",y.default.XF86XK_AudioNext),m("MediaTrackPrevious",y.default.XF86XK_AudioPrev),m("New",y.default.XF86XK_New),m("Open",y.default.XF86XK_Open),m("Print",y.default.XK_Print),m("Save",y.default.XF86XK_Save),m("SpellCheck",y.default.XF86XK_Spell),m("AudioVolumeDown",y.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",y.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",y.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",y.default.XF86XK_AudioMicMute),m("LaunchApplication1",y.default.XF86XK_MyComputer),m("LaunchApplication2",y.default.XF86XK_Calculator),m("LaunchCalendar",y.default.XF86XK_Calendar),m("LaunchMail",y.default.XF86XK_Mail),m("LaunchMediaPlayer",y.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",y.default.XF86XK_Music),m("LaunchPhone",y.default.XF86XK_Phone),m("LaunchScreenSaver",y.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",y.default.XF86XK_Excel),m("LaunchWebBrowser",y.default.XF86XK_WWW),m("LaunchWebCam",y.default.XF86XK_WebCam),m("LaunchWordProcessor",y.default.XF86XK_Word),m("BrowserBack",y.default.XF86XK_Back),m("BrowserFavorites",y.default.XF86XK_Favorites),m("BrowserForward",y.default.XF86XK_Forward),m("BrowserHome",y.default.XF86XK_HomePage),m("BrowserRefresh",y.default.XF86XK_Refresh),m("BrowserSearch",y.default.XF86XK_Search),m("BrowserStop",y.default.XF86XK_Stop),m("Dimmer",y.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",y.default.XF86XK_AudioCycleTrack),m("RandomToggle",y.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",y.default.XF86XK_SplitScreen),m("Subtitle",y.default.XF86XK_Subtitle),m("VideoModeNext",y.default.XF86XK_Next_VMode),f("=",y.default.XK_equal,y.default.XK_KP_Equal),f("+",y.default.XK_plus,y.default.XK_KP_Add),f("-",y.default.XK_minus,y.default.XK_KP_Subtract),f("*",y.default.XK_asterisk,y.default.XK_KP_Multiply),f("/",y.default.XK_slash,y.default.XK_KP_Divide),f(".",y.default.XK_period,y.default.XK_KP_Decimal),f(",",y.default.XK_comma,y.default.XK_KP_Separator),f("0",y.default.XK_0,y.default.XK_KP_0),f("1",y.default.XK_1,y.default.XK_KP_1),f("2",y.default.XK_2,y.default.XK_KP_2),f("3",y.default.XK_3,y.default.XK_KP_3),f("4",y.default.XK_4,y.default.XK_KP_4),f("5",y.default.XK_5,y.default.XK_KP_5),f("6",y.default.XK_6,y.default.XK_KP_6),f("7",y.default.XK_7,y.default.XK_KP_7),f("8",y.default.XK_8,y.default.XK_KP_8),f("9",y.default.XK_9,y.default.XK_KP_9);var d=S;N.default=d},mYwL:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("6GrX"),m=Math.PI;function g(f,d){d=d||{},y.defaults(d,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var c=new p.Group,a=new p.Rect({style:{fill:d.maskColor},zlevel:d.zlevel,z:1e4});c.add(a);var n=d.fontSize+" sans-serif",i=new p.Rect({style:{fill:"none",text:d.text,font:n,textPosition:"right",textDistance:10,textFill:d.textColor},zlevel:d.zlevel,z:10001});if(c.add(i),d.showSpinner){var o=new p.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:d.spinnerRadius},style:{stroke:d.color,lineCap:"round",lineWidth:d.lineWidth},zlevel:d.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),c.add(o)}return c.resize=function(){var r=S.getWidth(d.text,n),l=d.showSpinner?d.spinnerRadius:0,e=(f.getWidth()-l*2-(d.showSpinner&&r?10:0)-r)/2-(d.showSpinner?0:r/2),s=f.getHeight()/2;d.showSpinner&&o.setShape({cx:e,cy:s}),i.setShape({x:e-l,y:s-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:f.getWidth(),height:f.getHeight()})},c.resize(),c}R.exports=g},mdZa:function(R,N,t){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(p,S){"use strict";if(p==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(p),g=1;g<arguments.length;g++){var f=arguments[g];if(f!=null)for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(m[d]=f[d])}return m},writable:!0,configurable:!0}),function(){function y(p,S){S=S||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(p,S.bubbles,S.cancelable,S.detail),m}y.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=y)}(),Number.isInteger=Number.isInteger||function(p){return typeof p=="number"&&isFinite(p)&&Math.floor(p)===p}},mmNF:function(R,N){var t={utf8:{stringToBytes:function(p){return t.bin.stringToBytes(unescape(encodeURIComponent(p)))},bytesToString:function(p){return decodeURIComponent(escape(t.bin.bytesToString(p)))}},bin:{stringToBytes:function(p){for(var S=[],m=0;m<p.length;m++)S.push(p.charCodeAt(m)&255);return S},bytesToString:function(p){for(var S=[],m=0;m<p.length;m++)S.push(String.fromCharCode(p[m]));return S.join("")}}};R.exports=t},mr32:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("J4zp"),f=t.n(g),d=t("q1tI"),c=t("TSYQ"),a=t.n(c),n=t("BGR+"),i=t("V/uB"),o=t.n(i),r=t("H84U"),l=function(_,x){var C={};for(var I in _)Object.prototype.hasOwnProperty.call(_,I)&&x.indexOf(I)<0&&(C[I]=_[I]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(_);L<I.length;L++)x.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(_,I[L])&&(C[I[L]]=_[I[L]]);return C},e=function(x){var C,I=d.useContext(r.b),L=I.getPrefixCls,F=function(K){var j=x.checked,V=x.onChange,W=x.onClick;V&&V(!j),W&&W(K)},B=x.prefixCls,P=x.className,H=x.checked,z=l(x,["prefixCls","className","checked"]),M=L("tag",B),U=a()(M,(C={},p()(C,"".concat(M,"-checkable"),!0),p()(C,"".concat(M,"-checkable-checked"),H),C),P);return delete z.onChange,d.createElement("span",m()({},z,{className:U,onClick:F}))},s=e,u=t("09Wf"),h=t("g0mS"),A=function(_,x){var C={};for(var I in _)Object.prototype.hasOwnProperty.call(_,I)&&x.indexOf(I)<0&&(C[I]=_[I]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(_);L<I.length;L++)x.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(_,I[L])&&(C[I[L]]=_[I[L]]);return C},v=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),w=new RegExp("^(".concat(u.b.join("|"),")$")),b=function(x,C){var I,L=x.prefixCls,F=x.className,B=x.style,P=x.children,H=x.icon,z=x.color,M=x.onClose,U=x.closeIcon,k=x.closable,K=k===void 0?!1:k,j=A(x,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=d.useContext(r.b),W=V.getPrefixCls,X=V.direction,J=d.useState(!0),de=f()(J,2),G=de[0],ae=de[1];d.useEffect(function(){"visible"in j&&ae(j.visible)},[j.visible]);var Ae=function(){return z?v.test(z)||w.test(z):!1},me=m()({backgroundColor:z&&!Ae()?z:void 0},B),Me=Ae(),oe=W("tag",L),_e=a()(oe,(I={},p()(I,"".concat(oe,"-").concat(z),Me),p()(I,"".concat(oe,"-has-color"),z&&!Me),p()(I,"".concat(oe,"-hidden"),!G),p()(I,"".concat(oe,"-rtl"),X==="rtl"),I),F),ee=function(Te){if(Te.stopPropagation(),M&&M(Te),Te.defaultPrevented)return;"visible"in j||ae(!1)},ne=function(){return K?U?d.createElement("div",{className:"".concat(oe,"-close-icon"),onClick:ee},U):d.createElement(o.a,{className:"".concat(oe,"-close-icon"),onClick:ee}):null},Ge="onClick"in j||P&&P.type==="a",Ee=Object(n.default)(j,["visible"]),ue=H||null,re=ue?d.createElement(d.Fragment,null,ue,d.createElement("span",null,P)):P,ce=d.createElement("span",m()({},Ee,{ref:C,className:_e,style:me}),re,ne());return Ge?d.createElement(h.a,null,ce):ce},E=d.forwardRef(b);E.displayName="Tag",E.CheckableTag=s;var T=N.a=E},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(R){if(!0)module.exports=R();else var N})(function(){var define,module,exports;return function(){function R(N,t,y){function p(g,f){if(!t[g]){if(!N[g]){var d=typeof require=="function"&&require;if(!f&&d)return require(g,!0);if(S)return S(g,!0);var c=new Error("Cannot find module '"+g+"'");throw c.code="MODULE_NOT_FOUND",c}var a=t[g]={exports:{}};N[g][0].call(a.exports,function(n){var i=N[g][1][n];return p(i||n)},a,a.exports,R,N,t,y)}return t[g].exports}for(var S=typeof require=="function"&&require,m=0;m<y.length;m++)p(y[m]);return p}return R}()({1:[function(R,N,t){"use strict";var y=R("./browser/client");y.Buffer=R("buffer").Buffer,y.urllib=R("../shims/xhr"),y.version=R("./browser/version").version,N.exports=y},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(R,N,t){(function(y,p){"use strict";var S=R("babel-runtime/core-js/promise"),m=a(S),g=R("babel-runtime/regenerator"),f=a(g),d=R("babel-runtime/core-js/object/assign"),c=a(d);function a(H){return H&&H.__esModule?H:{default:H}}var n=R("debug")("ali-oss"),i=R("copy-to"),o=R("xml2js"),r=R("agentkeepalive"),l=R("merge-descriptors"),e=R("url"),s=R("is-type-of"),u=R("platform"),h=R("utility"),A=R("urllib"),v=R("./version"),w=R("bowser"),b=R("../common/signUtils"),E=R("../common/utils/isIP"),T=E.isIP,_=R("../common/client/initOptions"),x=R("../common/utils/createRequest"),C=x.createRequest,I=new r;function L(){var H=u.name,z=u.version;H&&H.toLowerCase&&H.toLowerCase()==="ie"&&z.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function B(H,z){if(L(),!(this instanceof B))return new B(H,z);H&&H.inited?this.options=H:this.options=B.initOptions(H),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=A,this.agent=this.options.agent||I),this.ctx=z,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}N.exports=B,B.initOptions=function(z){z.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var M=(0,c.default)({secure:F(),useFetch:!1},z);return _(M)};var P=B.prototype;P.debug=n,l(P,R("./object")),l(P,R("../common/bucket/getBucketWebsite")),l(P,R("../common/bucket/putBucketWebsite")),l(P,R("../common/bucket/deleteBucketWebsite")),l(P,R("../common/bucket/getBucketLifecycle")),l(P,R("../common/bucket/putBucketLifecycle")),l(P,R("../common/bucket/deleteBucketLifecycle")),l(P,R("../common/bucket/putBucketVersioning")),l(P,R("../common/bucket/getBucketVersioning")),l(P,R("./managed-upload")),l(P,R("../common/multipart")),l(P,R("../common/parallel")),P.signature=function(z){return this.debug("authorization stringToSign: %s",z,"info"),b.computeSignature(this.options.accessKeySecret,z)},P.authorization=function(z,M,U,k){var K=b.buildCanonicalString(z.toUpperCase(),M,{headers:k,parameters:U});return b.authorization(this.options.accessKeyId,this.options.accessKeySecret,K)},P.request=function(z){var M,U,k,K,j,V;return f.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:return M=C.call(this,z),this.options.useFetch||(M.params.mode="disable-fetch"),U=void 0,k=void 0,K=!!z.stream,X.prev=5,X.next=8,f.default.awrap(this.urllib.request(M.url,M.params));case 8:U=X.sent,this.debug("response %s %s, got %s, headers: %j",z.method,M.url,U.status,U.headers,"info"),X.next=15;break;case 12:X.prev=12,X.t0=X.catch(5),k=X.t0;case 15:if(j=void 0,!(U&&z.successStatuses&&z.successStatuses.indexOf(U.status)===-1)){X.next=28;break}return X.next=19,f.default.awrap(this.requestError(U));case 19:if(j=X.sent,!(j.code==="RequestTimeTooSkewed"&&!K)){X.next=25;break}return this.options.amendTimeSkewed=+new Date(j.serverTime)-new Date,X.next=24,f.default.awrap(this.request(z));case 24:return X.abrupt("return",X.sent);case 25:j.params=z,X.next=32;break;case 28:if(!k){X.next=32;break}return X.next=31,f.default.awrap(this.requestError(k));case 31:j=X.sent;case 32:if(!j){X.next=34;break}throw j;case 34:if(!z.xmlResponse){X.next=39;break}return X.next=37,f.default.awrap(this.parseXML(U.data));case 37:V=X.sent,U.data=V;case 39:return X.abrupt("return",U);case 40:case"end":return X.stop()}},null,this,[[5,12]])},P._getResource=function(z){var M="/";return z.bucket&&(M+=z.bucket+"/"),z.object&&(M+=z.object),M},P._isIP=T,P._escape=function(z){return h.encodeURIComponent(z).replace(/%2F/g,"/")},P._getReqUrl=function(z){var M={};i(this.options.endpoint).to(M);var U=this._isIP(M.hostname),k=this.options.cname;z.bucket&&!k&&!U&&(M.host=z.bucket+"."+M.host);var K="/";z.bucket&&U&&(K+=z.bucket+"/"),z.object&&(K+=this._escape(z.object).replace(/\+/g,"%2B")),M.pathname=K;var j={};if(z.query&&l(j,z.query),z.subres){var V={};s.string(z.subres)?V[z.subres]="":s.array(z.subres)?z.subres.forEach(function(W){V[W]=""}):V=z.subres,l(j,V)}return M.query=j,e.format(M)},P._getUserAgent=function(){var z=p&&p.browser?"js":"nodejs",M="aliyun-sdk-"+z+"/"+v.version,U=u.description;return!U&&p&&(U="Node.js "+p.version.slice(1)+" on "+p.platform+" "+p.arch),this._checkUserAgent(M+" "+U)},P._checkUserAgent=function(z){var M=z.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return M},P.checkBrowserAndVersion=function(z,M){return w.name===z&&w.version.split(".")[0]===M},P.parseXML=function(z){return new m.default(function(M,U){y.isBuffer(z)&&(z=z.toString()),o.parseString(z,{explicitRoot:!1,explicitArray:!1},function(k,K){k?U(k):M(K)})})},P.requestError=function(z){var M,U,k,K;return f.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(M=null,!(!z.data||!z.data.length)){V.next=5;break}z.status===-1||z.status===-2?(M=new Error(z.message),M.name=z.name,M.status=z.status,M.code=z.name):(z.status===404?(M=new Error("Object not exists"),M.name="NoSuchKeyError",M.status=404,M.code="NoSuchKey"):z.status===412?(M=new Error("Pre condition failed"),M.name="PreconditionFailedError",M.status=412,M.code="PreconditionFailed"):(M=new Error("Unknow error, status: "+z.status),M.name="UnknowError",M.status=z.status),M.requestId=z.headers["x-oss-request-id"],M.host=""),V.next=33;break;case 5:return U=String(z.data),this.debug("request response error data: %s",U,"error"),k=void 0,V.prev=8,V.next=11,f.default.awrap(this.parseXML(U));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:k=V.t0,V.next=24;break;case 17:return V.prev=17,V.t1=V.catch(8),this.debug(U,"error"),V.t1.message+=`
|
|
|
raw xml: `+U,V.t1.status=z.status,V.t1.requestId=z.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:K=k.Message||"unknow request error, status: "+z.status,k.Condition&&(K+=" (condition: "+k.Condition+")"),M=new Error(K),M.name=k.Code?k.Code+"Error":"UnknowError",M.status=z.status,M.code=k.Code,M.requestId=k.RequestId,M.hostId=k.HostId,M.serverTime=k.ServerTime;case 33:return this.debug("generate error %j",M,"error"),V.abrupt("return",M);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:R("../../node_modules/is-buffer/index.js")},R("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/core-js/array/from"),S=c(p),m=R("babel-runtime/core-js/promise"),g=c(m),f=R("babel-runtime/regenerator"),d=c(f);function c(b){return b&&b.__esModule?b:{default:b}}var a=R("is-type-of"),n=R("util"),i=R("path"),o=R("mime"),r=R("copy-to"),l=R("../common/utils/isBlob"),e=l.isBlob,s=R("../common/utils/isFile"),u=s.isFile,h=t;h.multipartUpload=function(E,T,_){var x,C,I,L,F,B,P,H,z;return d.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),_=_||{},!(_.checkpoint&&_.checkpoint.uploadId)){U.next=6;break}return U.next=5,d.default.awrap(this._resumeMultipart(_.checkpoint,_));case 5:return U.abrupt("return",U.sent);case 6:return x=100*1024,_.mime||(u(T)?_.mime=o.getType(i.extname(T.name)):e(T)?_.mime=T.type:_.mime=o.getType(i.extname(T))),_.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),U.next=12,d.default.awrap(this._getFileSize(T));case 12:if(C=U.sent,!(C<x)){U.next=25;break}return I=this._createStream(T,0,C),_.contentLength=C,U.next=18,d.default.awrap(this.putStream(E,I,_));case 18:if(L=U.sent,!(_&&_.progress)){U.next=22;break}return U.next=22,d.default.awrap(_.progress(1));case 22:return F={res:L.res,bucket:this.options.bucket,name:E,etag:L.res.headers.etag},(_.headers&&_.headers["x-oss-callback"]||_.callback)&&(F.data=L.data),U.abrupt("return",F);case 25:if(!(_.partSize&&!(parseInt(_.partSize,10)===_.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(_.partSize&&_.partSize<x)){U.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return U.next=31,d.default.awrap(this.initMultipartUpload(E,_));case 31:if(B=U.sent,P=B.uploadId,H=this._getPartSize(C,_.partSize),z={file:T,name:E,fileSize:C,partSize:H,uploadId:P,doneParts:[]},!(_&&_.progress)){U.next=38;break}return U.next=38,d.default.awrap(_.progress(0,z,B.res));case 38:return U.next=40,d.default.awrap(this._resumeMultipart(z,_));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},h._resumeMultipart=function(E,T){var _,x,C,I,L,F,B,P,H,z,M,U,k,K,j,V,W,X;return d.default.async(function(de){for(;;)switch(de.prev=de.next){case 0:if(_=this,!this.isCancel()){de.next=3;break}throw this._makeCancelEvent();case 3:return x=E.file,C=E.fileSize,I=E.partSize,L=E.uploadId,F=E.doneParts,B=E.name,P=[],F.length>0&&r(F).to(P),H=this._divideParts(C,I),z=H.length,M=!1,U=function(ae,Ae){var me=this;return new g.default(function(oe,_e){var ee,ne,Ge,Ee;return d.default.async(function(re){for(;;)switch(re.prev=re.next){case 0:if(re.prev=0,ae.isCancel()){re.next=18;break}return ee=H[Ae-1],ne={stream:ae._createStream(x,ee.start,ee.end),size:ee.end-ee.start},re.next=6,d.default.awrap(ae._uploadPart(B,L,Ae,ne));case 6:if(Ge=re.sent,!(!ae.isCancel()&&!M)){re.next=15;break}if(E.doneParts.push({number:Ae,etag:Ge.res.headers.etag}),!T.progress){re.next=12;break}return re.next=12,d.default.awrap(T.progress(F.length/z,E,Ge.res));case 12:oe({number:Ae,etag:Ge.res.headers.etag}),re.next=16;break;case 15:oe();case 16:re.next=19;break;case 18:oe();case 19:re.next=30;break;case 21:re.prev=21,re.t0=re.catch(0),Ee=new Error,Ee.name=re.t0.name,Ee.message=re.t0.message,Ee.stack=re.t0.stack,Ee.partNum=Ae,r(re.t0).to(Ee),_e(Ee);case 30:case"end":return re.stop()}},null,me,[[0,21]])})},k=(0,S.default)(new Array(z),function(G,ae){return ae+1}),K=P.map(function(G){return G.number}),j=k.filter(function(G){return K.indexOf(G)<0}),V=5,W=T.parallel||V,de.next=17,d.default.awrap(this._parallel(j,W,function(G){return new g.default(function(ae,Ae){U(_,G).then(function(me){me&&P.push(me),ae()}).catch(function(me){Ae(me)})})}));case 17:if(X=de.sent,M=!0,!this.isCancel()){de.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(X&&X.length>0)){de.next=25;break}throw X[0].message="Failed to upload some parts with error: "+X[0].toString()+" part_num: "+X[0].partNum,X[0];case 25:return de.next=27,d.default.awrap(this.completeMultipartUpload(B,L,P,T));case 27:return de.abrupt("return",de.sent);case 28:case"end":return de.stop()}},null,this)},h._getFileSize=function(E){return d.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!a.buffer(E)){_.next=4;break}return _.abrupt("return",E.length);case 4:if(!(e(E)||u(E))){_.next=6;break}return _.abrupt("return",E.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return _.stop()}},null,this)};var A=R("stream"),v=A.Readable;function w(b,E){if(!(this instanceof w))return new w(b,E);v.call(this,E),this.file=b,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(w,v),w.prototype.readFileAndPush=function(E){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var _=this.start,x=_+E;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,T=this.push(this.fileBuffer.slice(_,x))}},w.prototype._read=function(E){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var T=16*1024;E=E||T;var _=this;this.reader.onload=function(C){_.fileBuffer=y.from(new Uint8Array(C.target.result)),_.file=null,_.readFileAndPush(E)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(E)},h._createStream=function(E,T,_){if(e(E)||u(E))return new w(E.slice(T,_));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(E,T){var _=10*1e3,x=1024*1024;return T?Math.max(Math.ceil(E/_),T):x},h._divideParts=function(E,T){for(var _=Math.ceil(E/T),x=[],C=0;C<_;C++){var I=T*C,L=Math.min(I+T,E);x.push({start:I,end:L})}return x}}).call(this,R("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/promise"),p=a(y),S=R("babel-runtime/core-js/object/keys"),m=a(S),g=R("babel-runtime/core-js/object/assign"),f=a(g),d=R("babel-runtime/regenerator"),c=a(d);function a(_){return _&&_.__esModule?_:{default:_}}var n=R("utility"),i=R("fs"),o=R("is-type-of"),r=R("url"),l=R("copy-to"),e=R("path"),s=R("mime"),u=R("../common/callback"),h=R("../common/signUtils"),A=R("merge-descriptors"),v=R("../common/utils/isBlob"),w=v.isBlob,b=R("../common/utils/isFile"),E=b.isFile,T=t;T.append=function(x,C,I){var L;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",B.next=6,c.default.awrap(this.put(x,C,I));case 6:return L=B.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],B.abrupt("return",L);case 9:case"end":return B.stop()}},null,this)},T.put=function(x,C,I){var L,F,B,P,H,z,M;return c.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:if(L=void 0,I=I||{},x=this._objectName(x),!o.buffer(C)){k.next=7;break}L=C,k.next=33;break;case 7:if(!(w(C)||E(C))){k.next=32;break}return I.mime||(E(C)?I.mime=s.getType(e.extname(C.name)):I.mime=C.type),F=this._createStream(C,0,C.size),k.next=12,c.default.awrap(this._getFileSize(C));case 12:return I.contentLength=k.sent,k.prev=13,k.next=16,c.default.awrap(this.putStream(x,F,I));case 16:return B=k.sent,k.abrupt("return",B);case 20:if(k.prev=20,k.t0=k.catch(13),!(k.t0.code==="RequestTimeTooSkewed")){k.next=29;break}return this.options.amendTimeSkewed=+new Date(k.t0.serverTime)-new Date,k.next=26,c.default.awrap(this.put(x,C,I));case 26:return k.abrupt("return",k.sent);case 29:throw k.t0;case 30:k.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return I.headers=I.headers||{},this._convertMetaToHeaders(I.meta,I.headers),P=I.method||"PUT",H=this._objectRequestParams(P,x,I),u.encodeCallback(H,I),H.mime=I.mime,H.content=L,H.successStatuses=[200],k.next=43,c.default.awrap(this.request(H));case 43:return z=k.sent,M={name:x,url:this._objectUrl(x),res:z.res},H.headers&&H.headers["x-oss-callback"]&&(M.data=JSON.parse(z.data.toString())),k.abrupt("return",M);case 47:case"end":return k.stop()}},null,this,[[13,20]])},T.putStream=function(x,C,I){var L,F,B,P;return c.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return I=I||{},I.headers=I.headers||{},x=this._objectName(x),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),L=I.method||"PUT",F=this._objectRequestParams(L,x,I),u.encodeCallback(F,I),F.mime=I.mime,F.stream=C,F.successStatuses=[200],z.next=13,c.default.awrap(this.request(F));case 13:return B=z.sent,P={name:x,url:this._objectUrl(x),res:B.res},F.headers&&F.headers["x-oss-callback"]&&(P.data=JSON.parse(B.data.toString())),z.abrupt("return",P);case 17:case"end":return z.stop()}},null,this)},A(T,R("../common/object/copyObject")),A(T,R("../common/object/getObjectTagging")),A(T,R("../common/object/putObjectTagging")),A(T,R("../common/object/deleteObjectTagging")),A(T,R("../common/image")),A(T,R("../common/object/getBucketVersions")),A(T,R("../common/object/getACL")),A(T,R("../common/object/putACL")),A(T,R("../common/object/head")),A(T,R("../common/object/delete")),A(T,R("../common/object/get")),A(T,R("../common/object/putSymlink")),A(T,R("../common/object/getSymlink")),A(T,R("../common/object/deleteMulti")),A(T,R("../common/object/getObjectMeta")),T.putMeta=function(x,C,I){var L;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,c.default.awrap(this.copy(x,x,{meta:C||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=B.sent,B.abrupt("return",L);case 4:case"end":return B.stop()}},null,this)},T.list=function(x,C){var I,L,F,B,P;return c.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return I=this._objectRequestParams("GET","",C),I.query=x,I.xmlResponse=!0,I.successStatuses=[200],z.next=6,c.default.awrap(this.request(I));case 6:return L=z.sent,F=L.data.Contents,B=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(M){return{name:M.Key,url:B._objectUrl(M.Key),lastModified:M.LastModified,etag:M.ETag,type:M.Type,size:Number(M.Size),storageClass:M.StorageClass,owner:{id:M.Owner.ID,displayName:M.Owner.DisplayName}}})),P=L.data.CommonPrefixes||null,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(M){return M.Prefix})),z.abrupt("return",{res:L.res,objects:F,prefixes:P,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return z.stop()}},null,this)},T.restore=function(x,C){var I,L;return c.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:return C=C||{},C.subres=(0,f.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),I=this._objectRequestParams("POST",x,C),I.successStatuses=[202],B.next=7,c.default.awrap(this.request(I));case 7:return L=B.sent,B.abrupt("return",{res:L.res});case 9:case"end":return B.stop()}},null,this)},T.signatureUrl=function(x,C){C=C||{},x=this._objectName(x),C.method=C.method||"GET";var I=n.timestamp()+(C.expires||1800),L={bucket:this.options.bucket,object:x},F=this._getResource(L);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var B=h._signatureForURL(this.options.accessKeySecret,C,F,I),P=r.parse(this._getReqUrl(L));return P.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:B.Signature},l(B.subResource).to(P.query),P.format()},T.getObjectUrl=function(x,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(x))},T._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},T.generateObjectUrl=function(_,x){if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var C=r.parse(x),I=this.options.bucket;C.hostname=I+"."+C.hostname,C.host=I+"."+C.host,x=C.format()}return x+this._escape(this._objectName(_))},T._objectRequestParams=function(x,C,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},C=this._objectName(C);var L={object:C,bucket:this.options.bucket,method:x,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(L.headers={},l(I.headers).to(L.headers)),L},T._objectName=function(x){return x.replace(/^\/+/,"")},T._convertMetaToHeaders=function(x,C){if(!x)return;(0,m.default)(x).forEach(function(I){C["x-oss-meta-"+I]=x[I]})},T._deleteFileSafe=function(x){var C=this;return new p.default(function(I){i.exists(x,function(L){L?i.unlink(x,function(F){F&&C.debug("unlink %j error: %s",x,F,"error"),I()}):I()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(R,N,t){"use strict";t.version="6.10.0"},{}],6:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(d){return d&&d.__esModule?d:{default:d}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=t;f.deleteBucketLifecycle=function(c,a){var n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return g(c),n=this._bucketRequestParams("DELETE",c,"lifecycle",a),n.successStatuses=[204],r.next=5,p.default.awrap(this.request(n));case 5:return i=r.sent,r.abrupt("return",{res:i.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(d){return d&&d.__esModule?d:{default:d}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=t;f.deleteBucketWebsite=function(c,a){var n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return g(c),n=this._bucketRequestParams("DELETE",c,"website",a),n.successStatuses=[204],r.next=5,p.default.awrap(this.request(n));case 5:return i=r.sent,r.abrupt("return",{res:i.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("../utils/isArray"),d=f.isArray,c=R("../utils/formatObjKey"),a=c.formatObjKey,n=t;n.getBucketLifecycle=function(o,r){var l,e,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return g(o),l=this._bucketRequestParams("GET",o,"lifecycle",r),l.successStatuses=[200],l.xmlResponse=!0,h.next=6,p.default.awrap(this.request(l));case 6:return e=h.sent,s=e.data.Rule||null,s&&(d(s)||(s=[s]),s=s.map(function(A){return A.ID&&(A.id=A.ID,delete A.ID),A.Tag&&!d(A.Tag)&&(A.Tag=[A.Tag]),a(A,"firstLowerCase")})),h.abrupt("return",{rules:s,res:e.res});case 10:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(d){return d&&d.__esModule?d:{default:d}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=t;f.getBucketVersioning=function(c,a){var n,i,o;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return g(c),n=this._bucketRequestParams("GET",c,"versioning",a),n.xmlResponse=!0,n.successStatuses=[200],l.next=6,p.default.awrap(this.request(n));case 6:return i=l.sent,o=i.data.Status,l.abrupt("return",{status:i.status,versionStatus:o,res:i.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("../utils/isObject"),d=f.isObject,c=t;c.getBucketWebsite=function(n,i){var o,r,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return g(n),o=this._bucketRequestParams("GET",n,"website",i),o.successStatuses=[200],o.xmlResponse=!0,s.next=6,p.default.awrap(this.request(o));case 6:return r=s.sent,l=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(d(r.data.RoutingRules.RoutingRule)?l=[r.data.RoutingRules.RoutingRule]:l=r.data.RoutingRules.RoutingRule),s.abrupt("return",{index:r.data.IndexDocument&&r.data.IndexDocument.Suffix||"",supportSubDir:r.data.IndexDocument&&r.data.IndexDocument.SupportSubDir||"false",type:r.data.IndexDocument&&r.data.IndexDocument.Type,routingRules:l,error:r.data.ErrorDocument&&r.data.ErrorDocument.Key||null,res:r.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(E){return E&&E.__esModule?E:{default:E}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("../utils/isArray"),d=f.isArray,c=R("../utils/deepCopy"),a=c.deepCopy,n=R("../utils/isObject"),i=n.isObject,o=R("../utils/obj2xml"),r=o.obj2xml,l=R("../utils/checkObjectTag"),e=l.checkObjectTag,s=R("../utils/getStrBytesCount"),u=s.getStrBytesCount,h=t;h.putBucketLifecycle=function(T,_,x){var C,I,L,F,B;return p.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(g(T),d(_)){H.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",T,"lifecycle",x),I=[],L={LifecycleConfiguration:{Rule:I}},_.forEach(function(z){A(z),b(z),z.id&&(z.ID=z.id,delete z.id),I.push(z)}),F=r(L,{headers:!0,firstUpperCase:!0}),C.content=F,C.mime="xml",C.successStatuses=[200],H.next=13,p.default.awrap(this.request(C));case 13:return B=H.sent,H.abrupt("return",{res:B.res});case 15:case"end":return H.stop()}},null,this)};function A(E){E.days&&(E.expiration={days:E.days}),E.date&&(E.expiration={createdBeforeDate:E.date})}function v(E,T){var _=E.days,x=E.createdBeforeDate;if(!_&&!x)throw new Error(T+" must includes days or createdBeforeDate");if(_&&!/^[1-9][0-9]*$/.test(_))throw new Error("days must be a positive integer");if(x&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(x))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function w(E){if(!d(E)&&!i(E))throw new Error("tag must be Object or Array");E=i(E)?[E]:E;var T={},_=a(E);_.forEach(function(x){T[x.key]=x.value}),e(T)}function b(E){if(E.id&&u(E.id)>255)throw new Error("ID is composed of 255 bytes at most");if(E.prefix===""||E.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(E.status))throw new Error("Status must be Enabled or Disabled");if(E.transition){if(!["IA","Archive"].includes(E.transition.storageClass))throw new Error("StorageClass must be IA or Archive");v(E.transition,"Transition")}if(E.expiration){if(!E.expiration.expiredObjectDeleteMarker)v(E.expiration,"Expiration");else if(E.expiration.days||E.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(E.abortMultipartUpload&&v(E.abortMultipartUpload,"AbortMultipartUpload"),!E.expiration&&!E.abortMultipartUpload&&!E.transition&&!E.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(E.tag){if(E.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");w(E.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("../utils/obj2xml"),d=f.obj2xml,c=t;c.putBucketVersioning=function(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,e;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(g(n),["Enabled","Suspended"].includes(i)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",n,"versioning",o),l={VersioningConfiguration:{Status:i}},r.mime="xml",r.content=d(l,{headers:!0}),u.next=9,p.default.awrap(this.request(r));case 9:return e=u.sent,u.abrupt("return",{res:e.res,status:e.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("../utils/obj2xml"),d=f.obj2xml,c=R("../utils/isArray"),a=c.isArray,n=t;n.putBucketWebsite=function(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],e,s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:if(g(o),e=this._bucketRequestParams("PUT",o,"website",l),s={Suffix:r.index||"index.html"},u={IndexDocument:s},h={WebsiteConfiguration:u},r.supportSubDir&&(s.SupportSubDir=r.supportSubDir),r.type&&(s.Type=r.type),r.error&&(u.ErrorDocument={Key:r.error}),!(r.routingRules!==void 0)){w.next=12;break}if(a(r.routingRules)){w.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:r.routingRules};case 12:return h=d(h),e.content=h,e.mime="xml",e.successStatuses=[200],w.next=18,p.default.awrap(this.request(e));case 18:return A=w.sent,w.abrupt("return",{res:A.res});case 20:case"end":return w.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/core-js/object/keys"),S=f(p),m=R("babel-runtime/core-js/json/stringify"),g=f(m);function f(d){return d&&d.__esModule?d:{default:d}}t.encodeCallback=function(c,a){if(c.headers=c.headers||{},!Object.prototype.hasOwnProperty.call(c.headers,"x-oss-callback")&&a.callback){var n={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(n.callbackHost=a.callback.host),a.callback.contentType&&(n.callbackBodyType=a.callback.contentType);var i=y.from((0,g.default)(n)).toString("base64");if(c.headers["x-oss-callback"]=i,a.callback.customValue){var o={};(0,S.default)(a.callback.customValue).forEach(function(r){o["x:"+r]=a.callback.customValue[r]}),c.headers["x-oss-callback-var"]=y.from((0,g.default)(o)).toString("base64")}}}}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/assign"),p=S(y);function S(n){return n&&n.__esModule?n:{default:n}}var m=R("humanize-ms"),g=R("url"),f=R("../utils/checkBucketName"),d=f.checkBucketName;function c(n,i){var o=g.parse(n);if(o.protocol||(o=g.parse("http"+(i?"s":"")+"://"+n)),o.protocol!=="http:"&&o.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return o}function a(n,i,o){var r=o?"https://":"http://",l=i?"-internal.aliyuncs.com":".aliyuncs.com",e="vpc100-oss-cn-";return n.substr(0,e.length)===e&&(l=".aliyuncs.com"),g.parse(r+n+l)}N.exports=function(n){if(!n||!n.accessKeyId||!n.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");n.bucket&&d(n.bucket);var i=(0,p.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},n);if(i.accessKeyId=i.accessKeyId.trim(),i.accessKeySecret=i.accessKeySecret.trim(),i.timeout&&(i.timeout=m(i.timeout)),i.endpoint)i.endpoint=c(i.endpoint,i.secure);else if(i.region)i.endpoint=a(i.region,i.internal,i.secure);else throw new Error("require options.endpoint or options.region");return i.inited=!0,i}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(R,N,t){"use strict";var y=R("merge-descriptors"),p=t;y(p,R("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(i){return i&&i.__esModule?i:{default:i}}var m=R("../utils/checkBucketName"),g=m.checkBucketName,f=R("querystring"),d=R("js-base64"),c=d.Base64.encode,a=t;a.processObjectSave=function(o,r,l,e){var s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return n(o,"sourceObject"),n(r,"targetObject"),n(l,"process"),r=this._objectName(r),e&&g(e),s=this._objectRequestParams("POST",o,{subres:"x-oss-process"}),u=e?",b_"+c(e):"",r=c(r),h={"x-oss-process":l+"|sys/saveas,o_"+r+u},s.content=f.stringify(h),w.next=12,p.default.awrap(this.request(s));case 12:return A=w.sent,w.abrupt("return",{res:A.res,status:A.res.status});case 14:case"end":return w.stop()}},null,this)};function n(i,o){if(!i)throw new Error(o+" is required");if(typeof i!="string")throw new Error(o+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=S(y);function S(a){return a&&a.__esModule?a:{default:a}}var m=R("copy-to"),g=R("./callback"),f=R("./utils/deepCopy"),d=f.deepCopy,c=t;c.listUploads=function(n,i){var o,r,l,e;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return i=i||{},o={},m(i).to(o),o.subres="uploads",r=this._objectRequestParams("GET","",o),r.query=n,r.xmlResponse=!0,r.successStatuses=[200],u.next=10,p.default.awrap(this.request(r));case 10:return l=u.sent,e=l.data.Upload||[],Array.isArray(e)||(e=[e]),e=e.map(function(h){return{name:h.Key,uploadId:h.UploadId,initiated:h.Initiated}}),u.abrupt("return",{res:l.res,uploads:e,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},c.listParts=function(n,i,o,r){var l,e,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=r||{},l={},m(r).to(l),l.subres={uploadId:i},e=this._objectRequestParams("GET",n,l),e.query=o,e.xmlResponse=!0,e.successStatuses=[200],h.next=10,p.default.awrap(this.request(e));case 10:return s=h.sent,h.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return h.stop()}},null,this)},c.abortMultipartUpload=function(n,i,o){var r,l,e;return p.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),o=o||{},r={},m(o).to(r),r.subres={uploadId:i},l=this._objectRequestParams("DELETE",n,r),l.successStatuses=[204],u.next=9,p.default.awrap(this.request(l));case 9:return e=u.sent,u.abrupt("return",{res:e.res});case 11:case"end":return u.stop()}},null,this)},c.initMultipartUpload=function(n,i){var o,r,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return i=i||{},o={},m(i).to(o),o.headers=o.headers||{},this._convertMetaToHeaders(i.meta,o.headers),o.subres="uploads",r=this._objectRequestParams("POST",n,o),r.mime=i.mime,r.xmlResponse=!0,r.successStatuses=[200],s.next=12,p.default.awrap(this.request(r));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},c.uploadPart=function(n,i,o,r,l,e,s){var u;return p.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return u={stream:this._createStream(r,l,e),size:e-l},A.next=3,p.default.awrap(this._uploadPart(n,i,o,u,s));case 3:return A.abrupt("return",A.sent);case 4:case"end":return A.stop()}},null,this)},c.completeMultipartUpload=function(n,i,o,r){var l,e,s,u,h,A,v,w;return p.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:for(l=o.concat().sort(function(T,_){return T.number-_.number}).filter(function(T,_,x){return!_||T.number!==x[_-1].number}),e=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,s=0;s<l.length;s++)u=l[s],e+=`<Part>
|
|
|
`,e+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,e+="<ETag>"+u.etag+`</ETag>
|
|
|
`,e+=`</Part>
|
|
|
`;return e+="</CompleteMultipartUpload>",r=r||{},h={},h=d(r),h.headers&&delete h.headers["x-oss-server-side-encryption"],h.subres={uploadId:i},A=this._objectRequestParams("POST",n,h),g.encodeCallback(A,h),A.mime="xml",A.content=e,A.headers&&A.headers["x-oss-callback"]||(A.xmlResponse=!0),A.successStatuses=[200],E.next=17,p.default.awrap(this.request(A));case 17:return v=E.sent,w={res:v.res,bucket:A.bucket,name:n,etag:v.res.headers.etag},A.headers&&A.headers["x-oss-callback"]&&(w.data=JSON.parse(v.data.toString())),E.abrupt("return",w);case 21:case"end":return E.stop()}},null,this)},c._uploadPart=function(n,i,o,r,l){var e,s,u;return p.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return l=l||{},e={},m(l).to(e),e.headers={"Content-Length":r.size},e.subres={partNumber:o,uploadId:i},s=this._objectRequestParams("PUT",n,e),s.mime=e.mime,s.stream=r.stream,s.successStatuses=[200],A.next=11,p.default.awrap(this.request(s));case 11:if(u=A.sent,u.res.headers.etag){A.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return r.stream=null,s.stream=null,A.abrupt("return",{name:n,etag:u.res.headers.etag,res:u.res});case 17:case"end":return A.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=d(y),S=R("babel-runtime/core-js/object/keys"),m=d(S),g=R("babel-runtime/helpers/typeof"),f=d(g);function d(i){return i&&i.__esModule?i:{default:i}}var c=R("../utils/checkBucketName"),a=c.checkBucketName,n=t;n.copy=function(o,r,l,e){var s,u,h;return p.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return(typeof l=="undefined"?"undefined":(0,f.default)(l))==="object"&&(e=l),e=e||{},e.headers=e.headers||{},(0,m.default)(e.headers).forEach(function(w){e.headers["x-oss-copy-source-"+w.toLowerCase()]=e.headers[w]}),e.meta&&(e.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(e.meta,e.headers),r=this._getSourceName(r,l),e.versionId&&(r=r+"?versionId="+e.versionId),e.headers["x-oss-copy-source"]=r,s=this._objectRequestParams("PUT",o,e),s.xmlResponse=!0,s.successStatuses=[200,304],v.next=14,p.default.awrap(this.request(s));case 14:return u=v.sent,h=u.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),v.abrupt("return",{data:h,res:u.res});case 18:case"end":return v.stop()}},null,this)},n._getSourceName=function(o,r){return typeof r=="string"?o=this._objectName(o):o[0]!=="/"?r=this.options.bucket:(r=o.replace(/\/(.+?)(\/.*)/,"$1"),o=o.replace(/(\/.+?\/)(.*)/,"$2")),a(r),o=encodeURI(o),o="/"+r+"/"+o,o}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.delete=function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return a.subres=(0,m.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),n=this._objectRequestParams("DELETE",c,a),n.successStatuses=[204],r.next=6,p.default.awrap(this.request(n));case 6:return i=r.sent,r.abrupt("return",{res:i.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(n){return n&&n.__esModule?n:{default:n}}var f=R("utility"),d=R("../utils/obj2xml"),c=d.obj2xml,a=t;a.deleteMulti=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,l,e,s,u,h,A,v,w,b,E,T;return p.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(r=[],!(!i||!i.length)){x.next=3;break}throw new Error("names is required");case 3:for(l=0;l<i.length;l++)e={},typeof i[l]=="string"?e.Key=f.escape(this._objectName(i[l])):(s=i[l],u=s.key,h=s.versionId,e.Key=f.escape(this._objectName(u)),e.VersionId=h),r.push(e);return A={Delete:{Quiet:!!o.quiet,Object:r}},v=c(A,{headers:!0}),o.subres=(0,m.default)({delete:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),w=this._objectRequestParams("POST","",o),w.mime="xml",w.content=v,w.xmlResponse=!0,w.successStatuses=[200],x.next=15,p.default.awrap(this.request(w));case 15:return b=x.sent,E=b.data,T=E&&E.Deleted||null,T&&(Array.isArray(T)||(T=[T])),x.abrupt("return",{res:b.res,deleted:T||[]});case 20:case"end":return x.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.deleteObjectTagging=function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return a.subres=(0,m.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),c=this._objectName(c),n=this._objectRequestParams("DELETE",c,a),n.successStatuses=[204],r.next=7,p.default.awrap(this.request(n));case 7:return i=r.sent,r.abrupt("return",{status:i.status,res:i.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(a){return a&&a.__esModule?a:{default:a}}var f=R("fs"),d=R("is-type-of"),c=t;c.get=function(n,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,e,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=null,l=!1,d.writableStream(i)?r=i:d.string(i)?(r=f.createWriteStream(i),l=!0):o=i,o=o||{},o.subres=(0,m.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),o.process&&(o.subres["x-oss-process"]=o.process),e=void 0,h.prev=8,s=this._objectRequestParams("GET",n,o),s.writeStream=r,s.successStatuses=[200,206,304],h.next=14,p.default.awrap(this.request(s));case 14:e=h.sent,l&&r.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!l){h.next=24;break}return r.destroy(),h.next=24,p.default.awrap(this._deleteFileSafe(i));case 24:throw h.t0;case 25:return h.abrupt("return",{res:e.res,content:e.data});case 26:case"end":return h.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.getACL=function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return a.subres=(0,m.default)({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),c=this._objectName(c),n=this._objectRequestParams("GET",c,a),n.successStatuses=[200],n.xmlResponse=!0,r.next=8,p.default.awrap(this.request(n));case 8:return i=r.sent,r.abrupt("return",{acl:i.data.AccessControlList.Grant,owner:{id:i.data.Owner.ID,displayName:i.data.Owner.DisplayName},res:i.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=d(y),S=R("babel-runtime/regenerator"),m=d(S),g=R("babel-runtime/core-js/object/assign"),f=d(g);function d(s){return s&&s.__esModule?s:{default:s}}var c=t,a=R("../utils/isObject"),n=a.isObject,i=R("../utils/isArray"),o=i.isArray;c.getBucketVersions=r,c.listObjectVersions=r;function r(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h,A,v,w,b,E;return m.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){_.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,f.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),h=this._objectRequestParams("GET","",u),h.xmlResponse=!0,h.successStatuses=[200],h.query=e(s),_.next=10,m.default.awrap(this.request(h));case 10:return A=_.sent,v=A.data.Version||[],w=A.data.DeleteMarker||[],b=this,v&&(Array.isArray(v)||(v=[v]),v=v.map(function(x){return{name:x.Key,url:b._objectUrl(x.Key),lastModified:x.LastModified,isLatest:x.IsLatest==="true",versionId:x.VersionId,etag:x.ETag,type:x.Type,size:Number(x.Size),storageClass:x.StorageClass,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),w&&(o(w)||(w=[w]),w=w.map(function(x){return{name:x.Key,lastModified:x.LastModified,versionId:x.VersionId,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),E=A.data.CommonPrefixes||null,E&&(o(E)||(E=[E]),E=E.map(function(x){return x.Prefix})),_.abrupt("return",{res:A.res,objects:v,deleteMarker:w,prefixes:E,nextMarker:A.data.NextMarker||null,NextVersionIdMarker:A.data.NextVersionIdMarker||null,isTruncated:A.data.IsTruncated==="true"});case 19:case"end":return _.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function e(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return n(s)&&(0,p.default)(s).forEach(function(h){u[l(h)]=s[h]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.getObjectMeta=function(c,a){var n,i;return p.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return a=a||{},c=this._objectName(c),a.subres=(0,m.default)({objectMeta:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),n=this._objectRequestParams("HEAD",c,a),n.successStatuses=[200],r.next=8,p.default.awrap(this.request(n));case 8:return i=r.sent,r.abrupt("return",{status:i.status,res:i.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(a){return a&&a.__esModule?a:{default:a}}var f=t,d=R("../utils/isObject"),c=d.isObject;f.getObjectTagging=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,r,l,e,s;return p.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return i.subres=(0,m.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),n=this._objectName(n),o=this._objectRequestParams("GET",n,i),o.successStatuses=[200],h.next=7,p.default.awrap(this.request(o));case 7:return r=h.sent,h.next=10,p.default.awrap(this.parseXML(r.data));case 10:return l=h.sent,e=l.TagSet.Tag,e=e&&c(e)?[e]:e||[],s={},e.forEach(function(A){s[A.Key]=A.Value}),h.abrupt("return",{status:r.status,res:r.res,tag:s});case 16:case"end":return h.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.getSymlink=function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,o;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return a.subres=(0,m.default)({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),c=this._objectName(c),n=this._objectRequestParams("GET",c,a),n.successStatuses=[200],l.next=7,p.default.awrap(this.request(n));case 7:return i=l.sent,o=i.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(o),res:i.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=d(y),S=R("babel-runtime/core-js/object/keys"),m=d(S),g=R("babel-runtime/core-js/object/assign"),f=d(g);function d(a){return a&&a.__esModule?a:{default:a}}var c=t;c.head=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,r,l;return p.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return i.subres=(0,f.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectRequestParams("HEAD",n,i),o.successStatuses=[200,304],s.next=6,p.default.awrap(this.request(o));case 6:return r=s.sent,l={meta:null,res:r.res,status:r.status},r.status===200&&(0,m.default)(r.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=r.headers[u])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.putACL=function(c,a,n){var i,o;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=n||{},n.subres=(0,m.default)({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.headers=n.headers||{},n.headers["x-oss-object-acl"]=a,c=this._objectName(c),i=this._objectRequestParams("PUT",c,n),i.successStatuses=[200],l.next=10,p.default.awrap(this.request(i));case 10:return o=l.sent,l.abrupt("return",{res:o.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=d(y),S=R("babel-runtime/core-js/object/keys"),m=d(S),g=R("babel-runtime/core-js/object/assign"),f=d(g);function d(r){return r&&r.__esModule?r:{default:r}}var c=R("../utils/obj2xml"),a=c.obj2xml,n=R("../utils/checkObjectTag"),i=n.checkObjectTag,o=t;o.putObjectTagging=function(l,e){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return i(e),s.subres=(0,f.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),u=this._objectRequestParams("PUT",l,s),u.successStatuses=[200],e=(0,m.default)(e).map(function(b){return{Key:b,Value:e[b]}}),h={Tagging:{TagSet:{Tag:e}}},u.mime="xml",u.content=a(h),w.next=12,p.default.awrap(this.request(u));case 12:return A=w.sent,w.abrupt("return",{res:A.res,status:A.status});case 14:case"end":return w.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/object/assign"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f.putSymlink=function(c,a,n){var i,o;return p.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return n=n||{},n.headers=n.headers||{},a=this._escape(this._objectName(a)),this._convertMetaToHeaders(n.meta,n.headers),n.headers["x-oss-symlink-target"]=a,n.subres=(0,m.default)({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),n.storageClass&&(n.headers["x-oss-storage-class"]=n.storageClass),c=this._objectName(c),i=this._objectRequestParams("PUT",c,n),i.successStatuses=[200],l.next=13,p.default.awrap(this.request(i));case 13:return o=l.sent,l.abrupt("return",{res:o.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(R,N,t){"use strict";var y=R("babel-runtime/regenerator"),p=g(y),S=R("babel-runtime/core-js/promise"),m=g(S);function g(d){return d&&d.__esModule?d:{default:d}}var f=t;f._parallelNode=function(c,a,n,i){var o,r,l,e,s,u,h,A;return p.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:o=this,r=[],l=[],e=c.length/a,s=c.length%a,u=s===0?e:(c.length-s)/a+1,h=1,A=0;case 8:if(!(A<c.length)){w.next=26;break}if(!o.isCancel()){w.next=11;break}return w.abrupt("break",26);case 11:if(i?l.push(n(o,c[A],i)):l.push(n(o,c[A])),!(l.length===a||h===u&&A===c.length-1)){w.next=23;break}return w.prev=13,h+=1,w.next=17,p.default.awrap(m.default.all(l));case 17:w.next=22;break;case 19:w.prev=19,w.t0=w.catch(13),r.push(w.t0);case 22:l=[];case 23:A++,w.next=8;break;case 26:return w.abrupt("return",r);case 27:case"end":return w.stop()}},null,this,[[13,19]])},f._parallel=function(c,a,n){var i=this;return new m.default(function(o){var r=[];if(a<=0||!c){o(r);return}function l(E){return function(){if(E===null)throw new Error("Callback was already called.");var T=E;E=null;for(var _=arguments.length,x=Array(_),C=0;C<_;C++)x[C]=arguments[C];T.apply(this,x)}}function e(E){var T=-1,_=E.length;return function(){return++T<_&&!i.isCancel()?{value:E[T],key:T}:null}}var s=e(c),u=!1,h=0,A=!1;function v(E,T){h-=1,E?(u=!0,r.push(E),o(r)):T==={}||u&&h<=0?(u=!0,o(r)):A||(i.isCancel()?o(r):b())}function w(E,T){n(E).then(function(_){T(null,_)}).catch(function(_){T(_)})}function b(){for(A=!0;h<a&&!u&&!i.isCancel();){var E=s();if(E===null||r.length>0){u=!0,h<=0&&o(r);return}h+=1,w(E.value,l(v))}A=!1}b()})},f.cancel=function(c){this.options.cancelFlag=!0,c&&this.abortMultipartUpload(c.name,c.uploadId,c.options)},f.isCancel=function(){return this.options.cancelFlag},f.resetCancelFlag=function(){this.options.cancelFlag=!1},f._stop=function(){this.options.cancelFlag=!0},f._makeCancelEvent=function(){var c={status:0,name:"cancel"};return c}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/core-js/json/stringify"),S=f(p),m=R("babel-runtime/core-js/object/keys"),g=f(m);function f(a){return a&&a.__esModule?a:{default:a}}var d=R("./../../shims/crypto/crypto.js"),c=R("is-type-of");t.buildCanonicalizedResource=function(n,i){var o=""+n,r="?";if(c.string(i)&&i.trim()!=="")o+=r+i;else if(c.array(i))i.sort(),o+=r+i.join("&");else if(i){var l=function(u,h){return u[0]>h[0]?1:u[0]<h[0]?-1:0},e=function(u){o+=r+u,i[u]&&(o+="="+i[u]),r="&"};(0,g.default)(i).sort(l).forEach(e)}return o},t.buildCanonicalString=function(n,i,o,r){o=o||{};var l=o.headers||{},e="x-oss-",s=[],u={},h=[n.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],r||l["x-oss-date"]];return(0,g.default)(l).forEach(function(A){var v=A.toLowerCase();v.indexOf(e)===0&&(u[v]=String(l[A]).trim())}),(0,g.default)(u).sort().forEach(function(A){s.push(A+":"+u[A])}),h=h.concat(s),h.push(this.buildCanonicalizedResource(i,o.parameters)),h.join(`
|
|
|
`)},t.computeSignature=function(n,i){var o=d.createHmac("sha1",n);return o.update(y.from(i,"utf8")).digest("base64")},t.authorization=function(n,i,o){return"OSS "+n+":"+this.computeSignature(i,o)},t._signatureForURL=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments[2],r=arguments[3],l={},e=i.subResource,s=e===void 0?{}:e;if(i.process){var u="x-oss-process";s[u]=i.process}if(i.trafficLimit){var h="x-oss-traffic-limit";s[h]=i.trafficLimit}if(i.response&&(0,g.default)(i.response).forEach(function(b){var E="response-"+b.toLowerCase();s[E]=i.response[b]}),(0,g.default)(i).forEach(function(b){var E=b.toLowerCase(),T=i[b];E.indexOf("x-oss-")===0?l[E]=T:(E.indexOf("content-md5")===0||E.indexOf("content-type")===0)&&(l[b]=T)}),Object.prototype.hasOwnProperty.call(i,"security-token")&&(s["security-token"]=i["security-token"]),Object.prototype.hasOwnProperty.call(i,"callback")){var A={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};if(i.callback.host&&(A.callbackHost=i.callback.host),i.callback.contentType&&(A.callbackBodyType=i.callback.contentType),s.callback=y.from((0,S.default)(A)).toString("base64"),i.callback.customValue){var v={};(0,g.default)(i.callback.customValue).forEach(function(b){v["x:"+b]=i.callback.customValue[b]}),s["callback-var"]=y.from((0,S.default)(v)).toString("base64")}}var w=this.buildCanonicalString(i.method,o,{headers:l,parameters:s},r.toString());return{Signature:this.computeSignature(n,w),subResource:s}}}).call(this,R("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkBucketName=void 0,t.checkBucketName=function(y,p){var S=p?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!S.test(y))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/entries"),p=S(y);function S(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.checkObjectTag=void 0;var m=R("./checkValid"),g=m.checkValid,f=R("./isObject"),d=f.isObject,c=[{validator:function(o){if(typeof o!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],a={key:[].concat(c,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(c,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function n(i){if(!d(i))throw new Error("tag must be Object");var o=(0,p.default)(i);if(o.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];o.forEach(function(l){l.forEach(function(e,s){g(e,a[r[s]])})})}t.checkObjectTag=n},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkValid=void 0;function y(p,S){S.forEach(function(m){if(m.validator)m.validator(p);else if(m.pattern&&!m.pattern.test(p))throw new Error(m.msg)})}t.checkValid=y},{}],38:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/core-js/object/assign"),S=m(p);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(t,"__esModule",{value:!0}),t.createRequest=void 0;var g=R("./../../../shims/crypto/crypto.js"),f=R("debug")("ali-oss"),d=R("mime"),c=R("dateformat"),a=R("copy-to"),n=R("path");function i(l,e){return l[e]||l[e.toLowerCase()]}function o(l,e){delete l[e],delete l[e.toLowerCase()]}function r(l){var e=new Date;this.options.amendTimeSkewed&&(e=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":c(e,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,S.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),a(l.headers).to(s),i(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=d.getType(l.mime||n.extname(l.object||""))),i(s,"Content-Type")||o(s,"Content-Type"),l.content&&(s["Content-Md5"]=g.createHash("md5").update(y.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var u=this._getResource(l);s.authorization=this.authorization(l.method,u,l.subres,s);var h=this._getReqUrl(l);f("request %s %s, with headers %j, !!stream: %s",l.method,h,s,!!l.stream);var A=l.timeout||this.options.timeout,v={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:A,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(v.agent=this.agent),this.httpsAgent&&(v.httpsAgent=this.httpsAgent),{url:h,params:v}}t.createRequest=r}).call(this,R("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=g(y),S=R("babel-runtime/helpers/typeof"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}Object.defineProperty(t,"__esModule",{value:!0}),t.deepCopy=void 0,t.deepCopy=function(f){if(f===null||(typeof f=="undefined"?"undefined":(0,m.default)(f))!=="object")return f;var d=Array.isArray(f)?[]:{};return(0,p.default)(f).forEach(function(c){d[c]=t.deepCopy(f[c])}),d}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=g(y),S=R("babel-runtime/helpers/typeof"),m=g(S);function g(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatObjKey=void 0;function f(c,a){if(c===null||(typeof c=="undefined"?"undefined":(0,m.default)(c))!=="object")return c;var n=void 0;if(Array.isArray(c)){n=[];for(var i=0;i<c.length;i++)n.push(f(c[i],a))}else n={},(0,p.default)(c).forEach(function(o){n[d(o,a)]=f(c[o],a)});return n}t.formatObjKey=f;function d(c,a){return a==="firstUpperCase"?c=c.replace(/^./,function(n){return n.toUpperCase()}):a==="firstLowerCase"&&(c=c.replace(/^./,function(n){return n.toLowerCase()})),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStrBytesCount=void 0;function y(p){for(var S=0,m=0;m<p.length;m++){var g=p.charAt(m);/^[\u00-\uff]$/.test(g)?S+=1:S+=2}return S}t.getStrBytesCount=y},{}],42:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],43:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBlob=void 0;function y(p){return typeof Blob!="undefined"&&p instanceof Blob}t.isBlob=y},{}],44:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFile=void 0,t.isFile=function(y){return typeof File!="undefined"&&y instanceof File}},{}],45:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIP=void 0,t.isIP=function(y){var p=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,S=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return p.test(y)||S.test(y)}},{}],46:[function(R,N,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=void 0,t.isObject=function(y){return Object.prototype.toString.call(y)==="[object Object]"}},{}],47:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=S(y);function S(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.obj2xml=void 0;var m=R("./formatObjKey");function g(d){return Object.prototype.toString.call(d).replace(/(.*? |])/g,"").toLowerCase()}function f(d,c){var a="";return c&&c.headers&&(a=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),c&&c.firstUpperCase&&(d=m.formatObjKey(d,"firstUpperCase")),g(d)==="object"?(0,p.default)(d).forEach(function(n){g(d[n])==="string"||g(d[n])==="number"?a+="<"+n+">"+d[n]+"</"+n+">":g(d[n])==="object"?a+="<"+n+">"+f(d[n])+"</"+n+">":g(d[n])==="array"?a+=d[n].map(function(i){return"<"+n+">"+f(i)+"</"+n+">"}).join(""):a+="<"+n+">"+d[n].toString()+"</"+n+">"}):a+=d.toString(),a}t.obj2xml=f},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(R,N,t){N.exports=y,N.exports.HttpsAgent=y;function y(){}},{}],49:[function(R,N,t){N.exports=R("./register")().Promise},{"./register":51}],50:[function(R,N,t){"use strict";var y="@@any-promise/REGISTRATION",p=null;N.exports=function(S,m){return function(f,d){f=f||null,d=d||{};var c=d.global!==!1;if(p===null&&c&&(p=S[y]||null),p!==null&&f!==null&&p.implementation!==f)throw new Error('any-promise already defined as "'+p.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return p===null&&(f!==null&&typeof d.Promise!="undefined"?p={Promise:d.Promise,implementation:f}:p=m(f),c&&(S[y]=p)),p}}},{}],51:[function(R,N,t){"use strict";N.exports=R("./loader")(window,y);function y(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(R,N,t){N.exports={default:R("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(R,N,t){N.exports={default:R("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(R,N,t){N.exports={default:R("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(R,N,t){N.exports={default:R("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(R,N,t){N.exports={default:R("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(R,N,t){N.exports={default:R("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(R,N,t){N.exports={default:R("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(R,N,t){N.exports={default:R("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(R,N,t){N.exports={default:R("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(R,N,t){"use strict";t.__esModule=!0;var y=R("../core-js/symbol/iterator"),p=f(y),S=R("../core-js/symbol"),m=f(S),g=typeof m.default=="function"&&typeof p.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof m.default=="function"&&d.constructor===m.default&&d!==m.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}t.default=typeof m.default=="function"&&g(p.default)==="symbol"?function(d){return typeof d=="undefined"?"undefined":g(d)}:function(d){return d&&typeof m.default=="function"&&d.constructor===m.default&&d!==m.default.prototype?"symbol":typeof d=="undefined"?"undefined":g(d)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(R,N,t){N.exports=R("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(R,N,t){"use strict";t.byteLength=c,t.toByteArray=n,t.fromByteArray=r;for(var y=[],p=[],S=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,f=m.length;g<f;++g)y[g]=m[g],p[m.charCodeAt(g)]=g;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63;function d(l){var e=l.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=e);var u=s===e?0:4-s%4;return[s,u]}function c(l){var e=d(l),s=e[0],u=e[1];return(s+u)*3/4-u}function a(l,e,s){return(e+s)*3/4-s}function n(l){var e,s=d(l),u=s[0],h=s[1],A=new S(a(l,u,h)),v=0,w=h>0?u-4:u,b;for(b=0;b<w;b+=4)e=p[l.charCodeAt(b)]<<18|p[l.charCodeAt(b+1)]<<12|p[l.charCodeAt(b+2)]<<6|p[l.charCodeAt(b+3)],A[v++]=e>>16&255,A[v++]=e>>8&255,A[v++]=e&255;return h===2&&(e=p[l.charCodeAt(b)]<<2|p[l.charCodeAt(b+1)]>>4,A[v++]=e&255),h===1&&(e=p[l.charCodeAt(b)]<<10|p[l.charCodeAt(b+1)]<<4|p[l.charCodeAt(b+2)]>>2,A[v++]=e>>8&255,A[v++]=e&255),A}function i(l){return y[l>>18&63]+y[l>>12&63]+y[l>>6&63]+y[l&63]}function o(l,e,s){for(var u,h=[],A=e;A<s;A+=3)u=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),h.push(i(u));return h.join("")}function r(l){for(var e,s=l.length,u=s%3,h=[],A=16383,v=0,w=s-u;v<w;v+=A)h.push(o(l,v,v+A>w?w:v+A));return u===1?(e=l[s-1],h.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(l[s-2]<<8)+l[s-1],h.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),h.join("")}},{}],70:[function(R,N,t){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(y,p,S){typeof N!="undefined"&&N.exports?N.exports=S():typeof define=="function"&&define.amd?define(p,S):y[p]=S()}(this,"bowser",function(){var y=!0;function p(a){function n(U){var k=a.match(U);return k&&k.length>1&&k[1]||""}function i(U){var k=a.match(U);return k&&k.length>1&&k[2]||""}var o=n(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(a),l=!r&&/android/i.test(a),e=/nexus\s*[0-6]\s*/i.test(a),s=!e&&/nexus\s*[0-9]+/i.test(a),u=/CrOS/.test(a),h=/silk/i.test(a),A=/sailfish/i.test(a),v=/tizen/i.test(a),w=/(web|hpw)(o|0)s/i.test(a),b=/windows phone/i.test(a),E=/SamsungBrowser/i.test(a),T=!b&&/windows/i.test(a),_=!o&&!h&&/macintosh/i.test(a),x=!l&&!A&&!v&&!w&&/linux/i.test(a),C=i(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=n(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(a)&&!/tablet pc/i.test(a),F=!L&&/[^-]mobi/i.test(a),B=/xbox/i.test(a),P;/opera/i.test(a)?P={name:"Opera",opera:y,version:I||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?P={name:"Opera",opera:y,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(a)?P={name:"Samsung Internet for Android",samsungBrowser:y,version:I||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(a)?P={name:"NAVER Whale browser",whale:y,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(a)?P={name:"MZ Browser",mzbrowser:y,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(a)?P={name:"Opera Coast",coast:y,version:I||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(a)?P={name:"Focus",focus:y,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(a)?P={name:"Yandex Browser",yandexbrowser:y,version:I||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?P={name:"UC Browser",ucbrowser:y,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?P={name:"Maxthon",maxthon:y,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?P={name:"Epiphany",epiphany:y,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?P={name:"Puffin",puffin:y,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?P={name:"Sleipnir",sleipnir:y,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?P={name:"K-Meleon",kMeleon:y,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:b?(P={name:"Windows Phone",osname:"Windows Phone",windowsphone:y},C?(P.msedge=y,P.version=C):(P.msie=y,P.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?P={name:"Internet Explorer",msie:y,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?P={name:"Chrome",osname:"Chrome OS",chromeos:y,chromeBook:y,chrome:y,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?P={name:"Microsoft Edge",msedge:y,version:C}:/vivaldi/i.test(a)?P={name:"Vivaldi",vivaldi:y,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||I}:A?P={name:"Sailfish",osname:"Sailfish OS",sailfish:y,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?P={name:"SeaMonkey",seamonkey:y,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(P={name:"Firefox",firefox:y,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(P.firefoxos=y,P.osname="Firefox OS")):h?P={name:"Amazon Silk",silk:y,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?P={name:"PhantomJS",phantom:y,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?P={name:"SlimerJS",slimer:y,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?P={name:"BlackBerry",osname:"BlackBerry OS",blackberry:y,version:I||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:w?(P={name:"WebOS",osname:"WebOS",webos:y,version:I||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(P.touchpad=y)):/bada/i.test(a)?P={name:"Bada",osname:"Bada",bada:y,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:v?P={name:"Tizen",osname:"Tizen",tizen:y,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(a)?P={name:"QupZilla",qupzilla:y,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(a)?P={name:"Chromium",chromium:y,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(a)?P={name:"Chrome",chrome:y,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?P={name:"Android",version:I}:/safari|applewebkit/i.test(a)?(P={name:"Safari",safari:y},I&&(P.version=I)):o?(P={name:o=="iphone"?"iPhone":o=="ipad"?"iPad":"iPod"},I&&(P.version=I)):/googlebot/i.test(a)?P={name:"Googlebot",googlebot:y,version:n(/googlebot\/(\d+(\.\d+))/i)||I}:P={name:n(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!P.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(P.name=P.name||"Blink",P.blink=y):(P.name=P.name||"Webkit",P.webkit=y),!P.version&&I&&(P.version=I)):!P.opera&&/gecko\//i.test(a)&&(P.name=P.name||"Gecko",P.gecko=y,P.version=P.version||n(/gecko\/(\d+(\.\d+)?)/i)),!P.windowsphone&&(l||P.silk)?(P.android=y,P.osname="Android"):!P.windowsphone&&o?(P[o]=y,P.ios=y,P.osname="iOS"):_?(P.mac=y,P.osname="macOS"):B?(P.xbox=y,P.osname="Xbox"):T?(P.windows=y,P.osname="Windows"):x&&(P.linux=y,P.osname="Linux");function H(U){switch(U){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var z="";P.windows?z=H(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):P.windowsphone?z=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):P.mac?(z=n(/Mac OS X (\d+([_\.\s]\d+)*)/i),z=z.replace(/[_\s]/g,".")):o?(z=n(/os (\d+([_\s]\d+)*) like mac os x/i),z=z.replace(/[_\s]/g,".")):l?z=n(/android[ \/-](\d+(\.\d+)*)/i):P.webos?z=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):P.blackberry?z=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):P.bada?z=n(/bada\/(\d+(\.\d+)*)/i):P.tizen&&(z=n(/tizen[\/\s](\d+(\.\d+)*)/i)),z&&(P.osversion=z);var M=!P.windows&&z.split(".")[0];return L||s||o=="ipad"||l&&(M==3||M>=4&&!F)||P.silk?P.tablet=y:(F||o=="iphone"||o=="ipod"||l||e||P.blackberry||P.webos||P.bada)&&(P.mobile=y),P.msedge||P.msie&&P.version>=10||P.yandexbrowser&&P.version>=15||P.vivaldi&&P.version>=1||P.chrome&&P.version>=20||P.samsungBrowser&&P.version>=4||P.whale&&f([P.version,"1.0"])===1||P.mzbrowser&&f([P.version,"6.0"])===1||P.focus&&f([P.version,"1.0"])===1||P.firefox&&P.version>=20||P.safari&&P.version>=6||P.opera&&P.version>=10||P.ios&&P.osversion&&P.osversion.split(".")[0]>=6||P.blackberry&&P.version>=10.1||P.chromium&&P.version>=20?P.a=y:P.msie&&P.version<10||P.chrome&&P.version<20||P.firefox&&P.version<20||P.safari&&P.version<6||P.opera&&P.version<10||P.ios&&P.osversion&&P.osversion.split(".")[0]<6||P.chromium&&P.version<20?P.c=y:P.x=y,P}var S=p(typeof navigator!="undefined"&&navigator.userAgent||"");S.test=function(a){for(var n=0;n<a.length;++n){var i=a[n];if(typeof i=="string"&&i in S)return!0}return!1};function m(a){return a.split(".").length}function g(a,n){var i=[],o;if(Array.prototype.map)return Array.prototype.map.call(a,n);for(o=0;o<a.length;o++)i.push(n(a[o]));return i}function f(a){for(var n=Math.max(m(a[0]),m(a[1])),i=g(a,function(o){var r=n-m(o);return o=o+new Array(r+1).join(".0"),g(o.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--n>=0;){if(i[0][n]>i[1][n])return 1;if(i[0][n]===i[1][n]){if(n===0)return 0}else return-1}}function d(a,n,i){var o=S;typeof n=="string"&&(i=n,n=void 0),n===void 0&&(n=!1),i&&(o=p(i));var r=""+o.version;for(var l in a)if(a.hasOwnProperty(l)&&o[l]){if(typeof a[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(a));return f([r,a[l]])<0}return n}function c(a,n,i){return!d(a,n,i)}return S.isUnsupportedBrowser=d,S.compareVersions=f,S.check=c,S._detect=p,S.detect=p,S})},{}],71:[function(R,N,t){},{}],72:[function(R,N,t){var y=R("buffer").Buffer,p=y.isEncoding||function(c){switch(c&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function S(c){if(c&&!p(c))throw new Error("Unknown encoding: "+c)}var m=t.StringDecoder=function(c){this.encoding=(c||"utf8").toLowerCase().replace(/[-_]/,""),S(c);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=d;break;default:this.write=g;return}this.charBuffer=new y(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(c){for(var a="";this.charLength;){var n=c.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:c.length;if(c.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";c=c.slice(n,c.length),a=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var o=a.charCodeAt(a.length-1);if(o>=55296&&o<=56319){this.charLength+=this.surrogateSize,a="";continue}if(this.charReceived=this.charLength=0,c.length===0)return a;break}this.detectIncompleteChar(c);var i=c.length;this.charLength&&(c.copy(this.charBuffer,0,c.length-this.charReceived,i),i-=this.charReceived),a+=c.toString(this.encoding,0,i);var i=a.length-1,o=a.charCodeAt(i);if(o>=55296&&o<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),c.copy(this.charBuffer,0,0,r),a.substring(0,i)}return a},m.prototype.detectIncompleteChar=function(c){for(var a=c.length>=3?3:c.length;a>0;a--){var n=c[c.length-a];if(a==1&&n>>5==6){this.charLength=2;break}if(a<=2&&n>>4==14){this.charLength=3;break}if(a<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=a},m.prototype.end=function(c){var a="";if(c&&c.length&&(a=this.write(c)),this.charReceived){var n=this.charReceived,i=this.charBuffer,o=this.encoding;a+=i.slice(0,n).toString(o)}return a};function g(c){return c.toString(this.encoding)}function f(c){this.charReceived=c.length%2,this.charLength=this.charReceived?2:0}function d(c){this.charReceived=c.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(R,N,t){(function(y,p){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var S=R("base64-js"),m=R("ieee754"),g=R("isarray");t.Buffer=p,t.SlowBuffer=h,t.INSPECT_MAX_BYTES=50,p.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:f(),t.kMaxLength=d();function f(){try{var Ee=new Uint8Array(1);return Ee.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ee.foo()===42&&typeof Ee.subarray=="function"&&Ee.subarray(1,1).byteLength===0}catch(ue){return!1}}function d(){return p.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(Ee,ue){if(d()<ue)throw new RangeError("Invalid typed array length");return p.TYPED_ARRAY_SUPPORT?(Ee=new Uint8Array(ue),Ee.__proto__=p.prototype):(Ee===null&&(Ee=new p(ue)),Ee.length=ue),Ee}function p(Ee,ue,re){if(!p.TYPED_ARRAY_SUPPORT&&!(this instanceof p))return new p(Ee,ue,re);if(typeof Ee=="number"){if(typeof ue=="string")throw new Error("If encoding is specified then the first argument must be a string");return o(this,Ee)}return a(this,Ee,ue,re)}p.poolSize=8192,p._augment=function(Ee){return Ee.__proto__=p.prototype,Ee};function a(Ee,ue,re,ce){if(typeof ue=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&ue instanceof ArrayBuffer?e(Ee,ue,re,ce):typeof ue=="string"?r(Ee,ue,re):s(Ee,ue)}p.from=function(Ee,ue,re){return a(null,Ee,ue,re)},p.TYPED_ARRAY_SUPPORT&&(p.prototype.__proto__=Uint8Array.prototype,p.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&p[Symbol.species]===p&&Object.defineProperty(p,Symbol.species,{value:null,configurable:!0}));function n(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be a number');if(Ee<0)throw new RangeError('"size" argument must not be negative')}function i(Ee,ue,re,ce){return n(ue),ue<=0?c(Ee,ue):re!==void 0?typeof ce=="string"?c(Ee,ue).fill(re,ce):c(Ee,ue).fill(re):c(Ee,ue)}p.alloc=function(Ee,ue,re){return i(null,Ee,ue,re)};function o(Ee,ue){if(n(ue),Ee=c(Ee,ue<0?0:u(ue)|0),!p.TYPED_ARRAY_SUPPORT)for(var re=0;re<ue;++re)Ee[re]=0;return Ee}p.allocUnsafe=function(Ee){return o(null,Ee)},p.allocUnsafeSlow=function(Ee){return o(null,Ee)};function r(Ee,ue,re){if((typeof re!="string"||re==="")&&(re="utf8"),!p.isEncoding(re))throw new TypeError('"encoding" must be a valid string encoding');var ce=A(ue,re)|0;Ee=c(Ee,ce);var ke=Ee.write(ue,re);return ke!==ce&&(Ee=Ee.slice(0,ke)),Ee}function l(Ee,ue){var re=ue.length<0?0:u(ue.length)|0;Ee=c(Ee,re);for(var ce=0;ce<re;ce+=1)Ee[ce]=ue[ce]&255;return Ee}function e(Ee,ue,re,ce){if(ue.byteLength,re<0||ue.byteLength<re)throw new RangeError("'offset' is out of bounds");if(ue.byteLength<re+(ce||0))throw new RangeError("'length' is out of bounds");return re===void 0&&ce===void 0?ue=new Uint8Array(ue):ce===void 0?ue=new Uint8Array(ue,re):ue=new Uint8Array(ue,re,ce),p.TYPED_ARRAY_SUPPORT?(Ee=ue,Ee.__proto__=p.prototype):Ee=l(Ee,ue),Ee}function s(Ee,ue){if(p.isBuffer(ue)){var re=u(ue.length)|0;return Ee=c(Ee,re),Ee.length===0||ue.copy(Ee,0,0,re),Ee}if(ue){if(typeof ArrayBuffer!="undefined"&&ue.buffer instanceof ArrayBuffer||"length"in ue)return typeof ue.length!="number"||Ge(ue.length)?c(Ee,0):l(Ee,ue);if(ue.type==="Buffer"&&g(ue.data))return l(Ee,ue.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(Ee){if(Ee>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return Ee|0}function h(Ee){return+Ee!=Ee&&(Ee=0),p.alloc(+Ee)}p.isBuffer=function(ue){return!!(ue!=null&&ue._isBuffer)},p.compare=function(ue,re){if(!p.isBuffer(ue)||!p.isBuffer(re))throw new TypeError("Arguments must be Buffers");if(ue===re)return 0;for(var ce=ue.length,ke=re.length,Te=0,Ke=Math.min(ce,ke);Te<Ke;++Te)if(ue[Te]!==re[Te]){ce=ue[Te],ke=re[Te];break}return ce<ke?-1:ke<ce?1:0},p.isEncoding=function(ue){switch(String(ue).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(ue,re){if(!g(ue))throw new TypeError('"list" argument must be an Array of Buffers');if(ue.length===0)return p.alloc(0);var ce;if(re===void 0)for(re=0,ce=0;ce<ue.length;++ce)re+=ue[ce].length;var ke=p.allocUnsafe(re),Te=0;for(ce=0;ce<ue.length;++ce){var Ke=ue[ce];if(!p.isBuffer(Ke))throw new TypeError('"list" argument must be an Array of Buffers');Ke.copy(ke,Te),Te+=Ke.length}return ke};function A(Ee,ue){if(p.isBuffer(Ee))return Ee.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Ee)||Ee instanceof ArrayBuffer))return Ee.byteLength;typeof Ee!="string"&&(Ee=""+Ee);var re=Ee.length;if(re===0)return 0;for(var ce=!1;;)switch(ue){case"ascii":case"latin1":case"binary":return re;case"utf8":case"utf-8":case void 0:return Me(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re*2;case"hex":return re>>>1;case"base64":return ee(Ee).length;default:if(ce)return Me(Ee).length;ue=(""+ue).toLowerCase(),ce=!0}}p.byteLength=A;function v(Ee,ue,re){var ce=!1;if((ue===void 0||ue<0)&&(ue=0),ue>this.length)return"";if((re===void 0||re>this.length)&&(re=this.length),re<=0)return"";if(re>>>=0,ue>>>=0,re<=ue)return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return U(this,ue,re);case"utf8":case"utf-8":return B(this,ue,re);case"ascii":return z(this,ue,re);case"latin1":case"binary":return M(this,ue,re);case"base64":return F(this,ue,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,ue,re);default:if(ce)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),ce=!0}}p.prototype._isBuffer=!0;function w(Ee,ue,re){var ce=Ee[ue];Ee[ue]=Ee[re],Ee[re]=ce}p.prototype.swap16=function(){var ue=this.length;if(ue%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var re=0;re<ue;re+=2)w(this,re,re+1);return this},p.prototype.swap32=function(){var ue=this.length;if(ue%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var re=0;re<ue;re+=4)w(this,re,re+3),w(this,re+1,re+2);return this},p.prototype.swap64=function(){var ue=this.length;if(ue%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var re=0;re<ue;re+=8)w(this,re,re+7),w(this,re+1,re+6),w(this,re+2,re+5),w(this,re+3,re+4);return this},p.prototype.toString=function(){var ue=this.length|0;return ue===0?"":arguments.length===0?B(this,0,ue):v.apply(this,arguments)},p.prototype.equals=function(ue){if(!p.isBuffer(ue))throw new TypeError("Argument must be a Buffer");return this===ue?!0:p.compare(this,ue)===0},p.prototype.inspect=function(){var ue="",re=t.INSPECT_MAX_BYTES;return this.length>0&&(ue=this.toString("hex",0,re).match(/.{2}/g).join(" "),this.length>re&&(ue+=" ... ")),"<Buffer "+ue+">"},p.prototype.compare=function(ue,re,ce,ke,Te){if(!p.isBuffer(ue))throw new TypeError("Argument must be a Buffer");if(re===void 0&&(re=0),ce===void 0&&(ce=ue?ue.length:0),ke===void 0&&(ke=0),Te===void 0&&(Te=this.length),re<0||ce>ue.length||ke<0||Te>this.length)throw new RangeError("out of range index");if(ke>=Te&&re>=ce)return 0;if(ke>=Te)return-1;if(re>=ce)return 1;if(re>>>=0,ce>>>=0,ke>>>=0,Te>>>=0,this===ue)return 0;for(var Ke=Te-ke,Ie=ce-re,se=Math.min(Ke,Ie),ye=this.slice(ke,Te),xe=ue.slice(re,ce),Ye=0;Ye<se;++Ye)if(ye[Ye]!==xe[Ye]){Ke=ye[Ye],Ie=xe[Ye];break}return Ke<Ie?-1:Ie<Ke?1:0};function b(Ee,ue,re,ce,ke){if(Ee.length===0)return-1;if(typeof re=="string"?(ce=re,re=0):re>2147483647?re=2147483647:re<-2147483648&&(re=-2147483648),re=+re,isNaN(re)&&(re=ke?0:Ee.length-1),re<0&&(re=Ee.length+re),re>=Ee.length){if(ke)return-1;re=Ee.length-1}else if(re<0)if(ke)re=0;else return-1;if(typeof ue=="string"&&(ue=p.from(ue,ce)),p.isBuffer(ue))return ue.length===0?-1:E(Ee,ue,re,ce,ke);if(typeof ue=="number")return ue=ue&255,p.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(Ee,ue,re):Uint8Array.prototype.lastIndexOf.call(Ee,ue,re):E(Ee,[ue],re,ce,ke);throw new TypeError("val must be string, number or Buffer")}function E(Ee,ue,re,ce,ke){var Te=1,Ke=Ee.length,Ie=ue.length;if(ce!==void 0&&(ce=String(ce).toLowerCase(),ce==="ucs2"||ce==="ucs-2"||ce==="utf16le"||ce==="utf-16le")){if(Ee.length<2||ue.length<2)return-1;Te=2,Ke/=2,Ie/=2,re/=2}function se(nt,Oe){return Te===1?nt[Oe]:nt.readUInt16BE(Oe*Te)}var ye;if(ke){var xe=-1;for(ye=re;ye<Ke;ye++)if(se(Ee,ye)===se(ue,xe===-1?0:ye-xe)){if(xe===-1&&(xe=ye),ye-xe+1===Ie)return xe*Te}else xe!==-1&&(ye-=ye-xe),xe=-1}else for(re+Ie>Ke&&(re=Ke-Ie),ye=re;ye>=0;ye--){for(var Ye=!0,pt=0;pt<Ie;pt++)if(se(Ee,ye+pt)!==se(ue,pt)){Ye=!1;break}if(Ye)return ye}return-1}p.prototype.includes=function(ue,re,ce){return this.indexOf(ue,re,ce)!==-1},p.prototype.indexOf=function(ue,re,ce){return b(this,ue,re,ce,!0)},p.prototype.lastIndexOf=function(ue,re,ce){return b(this,ue,re,ce,!1)};function T(Ee,ue,re,ce){re=Number(re)||0;var ke=Ee.length-re;ce?(ce=Number(ce),ce>ke&&(ce=ke)):ce=ke;var Te=ue.length;if(Te%2!==0)throw new TypeError("Invalid hex string");ce>Te/2&&(ce=Te/2);for(var Ke=0;Ke<ce;++Ke){var Ie=parseInt(ue.substr(Ke*2,2),16);if(isNaN(Ie))return Ke;Ee[re+Ke]=Ie}return Ke}function _(Ee,ue,re,ce){return ne(Me(ue,Ee.length-re),Ee,re,ce)}function x(Ee,ue,re,ce){return ne(oe(ue),Ee,re,ce)}function C(Ee,ue,re,ce){return x(Ee,ue,re,ce)}function I(Ee,ue,re,ce){return ne(ee(ue),Ee,re,ce)}function L(Ee,ue,re,ce){return ne(_e(ue,Ee.length-re),Ee,re,ce)}p.prototype.write=function(ue,re,ce,ke){if(re===void 0)ke="utf8",ce=this.length,re=0;else if(ce===void 0&&typeof re=="string")ke=re,ce=this.length,re=0;else if(isFinite(re))re=re|0,isFinite(ce)?(ce=ce|0,ke===void 0&&(ke="utf8")):(ke=ce,ce=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Te=this.length-re;if((ce===void 0||ce>Te)&&(ce=Te),ue.length>0&&(ce<0||re<0)||re>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Ke=!1;;)switch(ke){case"hex":return T(this,ue,re,ce);case"utf8":case"utf-8":return _(this,ue,re,ce);case"ascii":return x(this,ue,re,ce);case"latin1":case"binary":return C(this,ue,re,ce);case"base64":return I(this,ue,re,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,ue,re,ce);default:if(Ke)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Ke=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(Ee,ue,re){return ue===0&&re===Ee.length?S.fromByteArray(Ee):S.fromByteArray(Ee.slice(ue,re))}function B(Ee,ue,re){re=Math.min(Ee.length,re);for(var ce=[],ke=ue;ke<re;){var Te=Ee[ke],Ke=null,Ie=Te>239?4:Te>223?3:Te>191?2:1;if(ke+Ie<=re){var se,ye,xe,Ye;switch(Ie){case 1:Te<128&&(Ke=Te);break;case 2:se=Ee[ke+1],(se&192)===128&&(Ye=(Te&31)<<6|se&63,Ye>127&&(Ke=Ye));break;case 3:se=Ee[ke+1],ye=Ee[ke+2],(se&192)===128&&(ye&192)===128&&(Ye=(Te&15)<<12|(se&63)<<6|ye&63,Ye>2047&&(Ye<55296||Ye>57343)&&(Ke=Ye));break;case 4:se=Ee[ke+1],ye=Ee[ke+2],xe=Ee[ke+3],(se&192)===128&&(ye&192)===128&&(xe&192)===128&&(Ye=(Te&15)<<18|(se&63)<<12|(ye&63)<<6|xe&63,Ye>65535&&Ye<1114112&&(Ke=Ye))}}Ke===null?(Ke=65533,Ie=1):Ke>65535&&(Ke-=65536,ce.push(Ke>>>10&1023|55296),Ke=56320|Ke&1023),ce.push(Ke),ke+=Ie}return H(ce)}var P=4096;function H(Ee){var ue=Ee.length;if(ue<=P)return String.fromCharCode.apply(String,Ee);for(var re="",ce=0;ce<ue;)re+=String.fromCharCode.apply(String,Ee.slice(ce,ce+=P));return re}function z(Ee,ue,re){var ce="";re=Math.min(Ee.length,re);for(var ke=ue;ke<re;++ke)ce+=String.fromCharCode(Ee[ke]&127);return ce}function M(Ee,ue,re){var ce="";re=Math.min(Ee.length,re);for(var ke=ue;ke<re;++ke)ce+=String.fromCharCode(Ee[ke]);return ce}function U(Ee,ue,re){var ce=Ee.length;(!ue||ue<0)&&(ue=0),(!re||re<0||re>ce)&&(re=ce);for(var ke="",Te=ue;Te<re;++Te)ke+=me(Ee[Te]);return ke}function k(Ee,ue,re){for(var ce=Ee.slice(ue,re),ke="",Te=0;Te<ce.length;Te+=2)ke+=String.fromCharCode(ce[Te]+ce[Te+1]*256);return ke}p.prototype.slice=function(ue,re){var ce=this.length;ue=~~ue,re=re===void 0?ce:~~re,ue<0?(ue+=ce,ue<0&&(ue=0)):ue>ce&&(ue=ce),re<0?(re+=ce,re<0&&(re=0)):re>ce&&(re=ce),re<ue&&(re=ue);var ke;if(p.TYPED_ARRAY_SUPPORT)ke=this.subarray(ue,re),ke.__proto__=p.prototype;else{var Te=re-ue;ke=new p(Te,void 0);for(var Ke=0;Ke<Te;++Ke)ke[Ke]=this[Ke+ue]}return ke};function K(Ee,ue,re){if(Ee%1!==0||Ee<0)throw new RangeError("offset is not uint");if(Ee+ue>re)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUIntLE=function(ue,re,ce){ue=ue|0,re=re|0,ce||K(ue,re,this.length);for(var ke=this[ue],Te=1,Ke=0;++Ke<re&&(Te*=256);)ke+=this[ue+Ke]*Te;return ke},p.prototype.readUIntBE=function(ue,re,ce){ue=ue|0,re=re|0,ce||K(ue,re,this.length);for(var ke=this[ue+--re],Te=1;re>0&&(Te*=256);)ke+=this[ue+--re]*Te;return ke},p.prototype.readUInt8=function(ue,re){return re||K(ue,1,this.length),this[ue]},p.prototype.readUInt16LE=function(ue,re){return re||K(ue,2,this.length),this[ue]|this[ue+1]<<8},p.prototype.readUInt16BE=function(ue,re){return re||K(ue,2,this.length),this[ue]<<8|this[ue+1]},p.prototype.readUInt32LE=function(ue,re){return re||K(ue,4,this.length),(this[ue]|this[ue+1]<<8|this[ue+2]<<16)+this[ue+3]*16777216},p.prototype.readUInt32BE=function(ue,re){return re||K(ue,4,this.length),this[ue]*16777216+(this[ue+1]<<16|this[ue+2]<<8|this[ue+3])},p.prototype.readIntLE=function(ue,re,ce){ue=ue|0,re=re|0,ce||K(ue,re,this.length);for(var ke=this[ue],Te=1,Ke=0;++Ke<re&&(Te*=256);)ke+=this[ue+Ke]*Te;return Te*=128,ke>=Te&&(ke-=Math.pow(2,8*re)),ke},p.prototype.readIntBE=function(ue,re,ce){ue=ue|0,re=re|0,ce||K(ue,re,this.length);for(var ke=re,Te=1,Ke=this[ue+--ke];ke>0&&(Te*=256);)Ke+=this[ue+--ke]*Te;return Te*=128,Ke>=Te&&(Ke-=Math.pow(2,8*re)),Ke},p.prototype.readInt8=function(ue,re){return re||K(ue,1,this.length),this[ue]&128?(255-this[ue]+1)*-1:this[ue]},p.prototype.readInt16LE=function(ue,re){re||K(ue,2,this.length);var ce=this[ue]|this[ue+1]<<8;return ce&32768?ce|4294901760:ce},p.prototype.readInt16BE=function(ue,re){re||K(ue,2,this.length);var ce=this[ue+1]|this[ue]<<8;return ce&32768?ce|4294901760:ce},p.prototype.readInt32LE=function(ue,re){return re||K(ue,4,this.length),this[ue]|this[ue+1]<<8|this[ue+2]<<16|this[ue+3]<<24},p.prototype.readInt32BE=function(ue,re){return re||K(ue,4,this.length),this[ue]<<24|this[ue+1]<<16|this[ue+2]<<8|this[ue+3]},p.prototype.readFloatLE=function(ue,re){return re||K(ue,4,this.length),m.read(this,ue,!0,23,4)},p.prototype.readFloatBE=function(ue,re){return re||K(ue,4,this.length),m.read(this,ue,!1,23,4)},p.prototype.readDoubleLE=function(ue,re){return re||K(ue,8,this.length),m.read(this,ue,!0,52,8)},p.prototype.readDoubleBE=function(ue,re){return re||K(ue,8,this.length),m.read(this,ue,!1,52,8)};function j(Ee,ue,re,ce,ke,Te){if(!p.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(ue>ke||ue<Te)throw new RangeError('"value" argument is out of bounds');if(re+ce>Ee.length)throw new RangeError("Index out of range")}p.prototype.writeUIntLE=function(ue,re,ce,ke){if(ue=+ue,re=re|0,ce=ce|0,!ke){var Te=Math.pow(2,8*ce)-1;j(this,ue,re,ce,Te,0)}var Ke=1,Ie=0;for(this[re]=ue&255;++Ie<ce&&(Ke*=256);)this[re+Ie]=ue/Ke&255;return re+ce},p.prototype.writeUIntBE=function(ue,re,ce,ke){if(ue=+ue,re=re|0,ce=ce|0,!ke){var Te=Math.pow(2,8*ce)-1;j(this,ue,re,ce,Te,0)}var Ke=ce-1,Ie=1;for(this[re+Ke]=ue&255;--Ke>=0&&(Ie*=256);)this[re+Ke]=ue/Ie&255;return re+ce},p.prototype.writeUInt8=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,1,255,0),p.TYPED_ARRAY_SUPPORT||(ue=Math.floor(ue)),this[re]=ue&255,re+1};function V(Ee,ue,re,ce){ue<0&&(ue=65535+ue+1);for(var ke=0,Te=Math.min(Ee.length-re,2);ke<Te;++ke)Ee[re+ke]=(ue&255<<8*(ce?ke:1-ke))>>>(ce?ke:1-ke)*8}p.prototype.writeUInt16LE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[re]=ue&255,this[re+1]=ue>>>8):V(this,ue,re,!0),re+2},p.prototype.writeUInt16BE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[re]=ue>>>8,this[re+1]=ue&255):V(this,ue,re,!1),re+2};function W(Ee,ue,re,ce){ue<0&&(ue=4294967295+ue+1);for(var ke=0,Te=Math.min(Ee.length-re,4);ke<Te;++ke)Ee[re+ke]=ue>>>(ce?ke:3-ke)*8&255}p.prototype.writeUInt32LE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[re+3]=ue>>>24,this[re+2]=ue>>>16,this[re+1]=ue>>>8,this[re]=ue&255):W(this,ue,re,!0),re+4},p.prototype.writeUInt32BE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[re]=ue>>>24,this[re+1]=ue>>>16,this[re+2]=ue>>>8,this[re+3]=ue&255):W(this,ue,re,!1),re+4},p.prototype.writeIntLE=function(ue,re,ce,ke){if(ue=+ue,re=re|0,!ke){var Te=Math.pow(2,8*ce-1);j(this,ue,re,ce,Te-1,-Te)}var Ke=0,Ie=1,se=0;for(this[re]=ue&255;++Ke<ce&&(Ie*=256);)ue<0&&se===0&&this[re+Ke-1]!==0&&(se=1),this[re+Ke]=(ue/Ie>>0)-se&255;return re+ce},p.prototype.writeIntBE=function(ue,re,ce,ke){if(ue=+ue,re=re|0,!ke){var Te=Math.pow(2,8*ce-1);j(this,ue,re,ce,Te-1,-Te)}var Ke=ce-1,Ie=1,se=0;for(this[re+Ke]=ue&255;--Ke>=0&&(Ie*=256);)ue<0&&se===0&&this[re+Ke+1]!==0&&(se=1),this[re+Ke]=(ue/Ie>>0)-se&255;return re+ce},p.prototype.writeInt8=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,1,127,-128),p.TYPED_ARRAY_SUPPORT||(ue=Math.floor(ue)),ue<0&&(ue=255+ue+1),this[re]=ue&255,re+1},p.prototype.writeInt16LE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[re]=ue&255,this[re+1]=ue>>>8):V(this,ue,re,!0),re+2},p.prototype.writeInt16BE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[re]=ue>>>8,this[re+1]=ue&255):V(this,ue,re,!1),re+2},p.prototype.writeInt32LE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,4,2147483647,-2147483648),p.TYPED_ARRAY_SUPPORT?(this[re]=ue&255,this[re+1]=ue>>>8,this[re+2]=ue>>>16,this[re+3]=ue>>>24):W(this,ue,re,!0),re+4},p.prototype.writeInt32BE=function(ue,re,ce){return ue=+ue,re=re|0,ce||j(this,ue,re,4,2147483647,-2147483648),ue<0&&(ue=4294967295+ue+1),p.TYPED_ARRAY_SUPPORT?(this[re]=ue>>>24,this[re+1]=ue>>>16,this[re+2]=ue>>>8,this[re+3]=ue&255):W(this,ue,re,!1),re+4};function X(Ee,ue,re,ce,ke,Te){if(re+ce>Ee.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("Index out of range")}function J(Ee,ue,re,ce,ke){return ke||X(Ee,ue,re,4,34028234663852886e22,-34028234663852886e22),m.write(Ee,ue,re,ce,23,4),re+4}p.prototype.writeFloatLE=function(ue,re,ce){return J(this,ue,re,!0,ce)},p.prototype.writeFloatBE=function(ue,re,ce){return J(this,ue,re,!1,ce)};function de(Ee,ue,re,ce,ke){return ke||X(Ee,ue,re,8,17976931348623157e292,-17976931348623157e292),m.write(Ee,ue,re,ce,52,8),re+8}p.prototype.writeDoubleLE=function(ue,re,ce){return de(this,ue,re,!0,ce)},p.prototype.writeDoubleBE=function(ue,re,ce){return de(this,ue,re,!1,ce)},p.prototype.copy=function(ue,re,ce,ke){if(ce||(ce=0),!ke&&ke!==0&&(ke=this.length),re>=ue.length&&(re=ue.length),re||(re=0),ke>0&&ke<ce&&(ke=ce),ke===ce)return 0;if(ue.length===0||this.length===0)return 0;if(re<0)throw new RangeError("targetStart out of bounds");if(ce<0||ce>=this.length)throw new RangeError("sourceStart out of bounds");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ue.length-re<ke-ce&&(ke=ue.length-re+ce);var Te=ke-ce,Ke;if(this===ue&&ce<re&&re<ke)for(Ke=Te-1;Ke>=0;--Ke)ue[Ke+re]=this[Ke+ce];else if(Te<1e3||!p.TYPED_ARRAY_SUPPORT)for(Ke=0;Ke<Te;++Ke)ue[Ke+re]=this[Ke+ce];else Uint8Array.prototype.set.call(ue,this.subarray(ce,ce+Te),re);return Te},p.prototype.fill=function(ue,re,ce,ke){if(typeof ue=="string"){if(typeof re=="string"?(ke=re,re=0,ce=this.length):typeof ce=="string"&&(ke=ce,ce=this.length),ue.length===1){var Te=ue.charCodeAt(0);Te<256&&(ue=Te)}if(ke!==void 0&&typeof ke!="string")throw new TypeError("encoding must be a string");if(typeof ke=="string"&&!p.isEncoding(ke))throw new TypeError("Unknown encoding: "+ke)}else typeof ue=="number"&&(ue=ue&255);if(re<0||this.length<re||this.length<ce)throw new RangeError("Out of range index");if(ce<=re)return this;re=re>>>0,ce=ce===void 0?this.length:ce>>>0,ue||(ue=0);var Ke;if(typeof ue=="number")for(Ke=re;Ke<ce;++Ke)this[Ke]=ue;else{var Ie=p.isBuffer(ue)?ue:Me(new p(ue,ke).toString()),se=Ie.length;for(Ke=0;Ke<ce-re;++Ke)this[Ke+re]=Ie[Ke%se]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ae(Ee){if(Ee=Ae(Ee).replace(G,""),Ee.length<2)return"";for(;Ee.length%4!==0;)Ee=Ee+"=";return Ee}function Ae(Ee){return Ee.trim?Ee.trim():Ee.replace(/^\s+|\s+$/g,"")}function me(Ee){return Ee<16?"0"+Ee.toString(16):Ee.toString(16)}function Me(Ee,ue){ue=ue||Infinity;for(var re,ce=Ee.length,ke=null,Te=[],Ke=0;Ke<ce;++Ke){if(re=Ee.charCodeAt(Ke),re>55295&&re<57344){if(!ke){if(re>56319){(ue-=3)>-1&&Te.push(239,191,189);continue}else if(Ke+1===ce){(ue-=3)>-1&&Te.push(239,191,189);continue}ke=re;continue}if(re<56320){(ue-=3)>-1&&Te.push(239,191,189),ke=re;continue}re=(ke-55296<<10|re-56320)+65536}else ke&&((ue-=3)>-1&&Te.push(239,191,189));if(ke=null,re<128){if((ue-=1)<0)break;Te.push(re)}else if(re<2048){if((ue-=2)<0)break;Te.push(re>>6|192,re&63|128)}else if(re<65536){if((ue-=3)<0)break;Te.push(re>>12|224,re>>6&63|128,re&63|128)}else if(re<1114112){if((ue-=4)<0)break;Te.push(re>>18|240,re>>12&63|128,re>>6&63|128,re&63|128)}else throw new Error("Invalid code point")}return Te}function oe(Ee){for(var ue=[],re=0;re<Ee.length;++re)ue.push(Ee.charCodeAt(re)&255);return ue}function _e(Ee,ue){for(var re,ce,ke,Te=[],Ke=0;Ke<Ee.length&&!((ue-=2)<0);++Ke)re=Ee.charCodeAt(Ke),ce=re>>8,ke=re%256,Te.push(ke),Te.push(ce);return Te}function ee(Ee){return S.toByteArray(ae(Ee))}function ne(Ee,ue,re,ce){for(var ke=0;ke<ce&&!(ke+re>=ue.length||ke>=Ee.length);++ke)ue[ke+re]=Ee[ke];return ke}function Ge(Ee){return Ee!==Ee}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(R,N,t){N.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(R,N,t){N.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(R,N,t){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=Array.prototype.slice;N.exports=p;function p(m,g){if(!(this instanceof p))return new p(m,g);this.src=m,this._withAccess=g}p.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},p.prototype.pick=function(m){return Array.isArray(m)||(m=y.call(arguments)),m.length&&(this.keys=m),this},p.prototype.to=function(m){if(m=m||{},!this.src)return m;var g=this.keys||Object.keys(this.src);if(!this._withAccess){for(var f=0;f<g.length;f++){if(d=g[f],m[d]!==void 0)continue;m[d]=this.src[d]}return m}for(var f=0;f<g.length;f++){var d=g[f];if(!S(m,d))continue;var c=this.src.__lookupGetter__(d),a=this.src.__lookupSetter__(d);c&&m.__defineGetter__(d,c),a&&m.__defineSetter__(d,a),!c&&!a&&(m[d]=this.src[d])}return m},p.prototype.toCover=function(m){for(var g=this.keys||Object.keys(this.src),f=0;f<g.length;f++){var d=g[f];delete m[d];var c=this.src.__lookupGetter__(d),a=this.src.__lookupSetter__(d);c&&m.__defineGetter__(d,c),a&&m.__defineSetter__(d,a),!c&&!a&&(m[d]=this.src[d])}},p.prototype.override=p.prototype.toCover,p.prototype.and=function(m){var g={};return this.to(g),this.src=m,this.to(g),this.src=g,this};function S(m,g){return m[g]===void 0&&m.__lookupGetter__(g)===void 0&&m.__lookupSetter__(g)===void 0}},{}],77:[function(R,N,t){R("../../modules/es6.string.iterator"),R("../../modules/es6.array.from"),N.exports=R("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(R,N,t){var y=R("../../modules/_core"),p=y.JSON||(y.JSON={stringify:JSON.stringify});N.exports=function(m){return p.stringify.apply(p,arguments)}},{"../../modules/_core":99}],79:[function(R,N,t){R("../../modules/es6.object.assign"),N.exports=R("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(R,N,t){R("../../modules/es6.object.create");var y=R("../../modules/_core").Object;N.exports=function(S,m){return y.create(S,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(R,N,t){R("../../modules/es6.object.define-property");var y=R("../../modules/_core").Object;N.exports=function(S,m,g){return y.defineProperty(S,m,g)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(R,N,t){R("../../modules/es7.object.entries"),N.exports=R("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(R,N,t){R("../../modules/es6.object.get-own-property-names");var y=R("../../modules/_core").Object;N.exports=function(S){return y.getOwnPropertyNames(S)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(R,N,t){R("../../modules/es6.object.get-prototype-of"),N.exports=R("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(R,N,t){R("../../modules/es6.object.keys"),N.exports=R("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(R,N,t){R("../modules/es6.object.to-string"),R("../modules/es6.string.iterator"),R("../modules/web.dom.iterable"),R("../modules/es6.promise"),R("../modules/es7.promise.finally"),R("../modules/es7.promise.try"),N.exports=R("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(R,N,t){R("../modules/web.immediate"),N.exports=R("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(R,N,t){R("../../modules/es6.string.from-code-point"),N.exports=R("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(R,N,t){R("../../modules/es6.function.has-instance"),N.exports=R("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(R,N,t){R("../../modules/es6.symbol"),R("../../modules/es6.object.to-string"),R("../../modules/es7.symbol.async-iterator"),R("../../modules/es7.symbol.observable"),N.exports=R("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(R,N,t){R("../../modules/es6.string.iterator"),R("../../modules/web.dom.iterable"),N.exports=R("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(R,N,t){N.exports=function(y){if(typeof y!="function")throw TypeError(y+" is not a function!");return y}},{}],93:[function(R,N,t){N.exports=function(){}},{}],94:[function(R,N,t){N.exports=function(y,p,S,m){if(!(y instanceof p)||m!==void 0&&m in y)throw TypeError(S+": incorrect invocation!");return y}},{}],95:[function(R,N,t){var y=R("./_is-object");N.exports=function(p){if(!y(p))throw TypeError(p+" is not an object!");return p}},{"./_is-object":119}],96:[function(R,N,t){var y=R("./_to-iobject"),p=R("./_to-length"),S=R("./_to-absolute-index");N.exports=function(m){return function(g,f,d){var c=y(g),a=p(c.length),n=S(d,a),i;if(m&&f!=f){for(;a>n;)if(i=c[n++],i!=i)return!0}else for(;a>n;n++)if((m||n in c)&&c[n]===f)return m||n||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(R,N,t){var y=R("./_cof"),p=R("./_wks")("toStringTag"),S=y(function(){return arguments}())=="Arguments",m=function(f,d){try{return f[d]}catch(c){}};N.exports=function(g){var f,d,c;return g===void 0?"Undefined":g===null?"Null":typeof(d=m(f=Object(g),p))=="string"?d:S?y(f):(c=y(f))=="Object"&&typeof f.callee=="function"?"Arguments":c}},{"./_cof":98,"./_wks":166}],98:[function(R,N,t){var y={}.toString;N.exports=function(p){return y.call(p).slice(8,-1)}},{}],99:[function(R,N,t){var y=N.exports={version:"2.6.11"};typeof __e=="number"&&(__e=y)},{}],100:[function(R,N,t){"use strict";var y=R("./_object-dp"),p=R("./_property-desc");N.exports=function(S,m,g){m in S?y.f(S,m,p(0,g)):S[m]=g}},{"./_object-dp":132,"./_property-desc":146}],101:[function(R,N,t){var y=R("./_a-function");N.exports=function(p,S,m){if(y(p),S===void 0)return p;switch(m){case 1:return function(g){return p.call(S,g)};case 2:return function(g,f){return p.call(S,g,f)};case 3:return function(g,f,d){return p.call(S,g,f,d)}}return function(){return p.apply(S,arguments)}}},{"./_a-function":92}],102:[function(R,N,t){N.exports=function(y){if(y==null)throw TypeError("Can't call method on "+y);return y}},{}],103:[function(R,N,t){N.exports=!R("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(R,N,t){var y=R("./_is-object"),p=R("./_global").document,S=y(p)&&y(p.createElement);N.exports=function(m){return S?p.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(R,N,t){N.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(R,N,t){var y=R("./_object-keys"),p=R("./_object-gops"),S=R("./_object-pie");N.exports=function(m){var g=y(m),f=p.f;if(f)for(var d=f(m),c=S.f,a=0,n;d.length>a;)c.call(m,n=d[a++])&&g.push(n);return g}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(R,N,t){var y=R("./_global"),p=R("./_core"),S=R("./_ctx"),m=R("./_hide"),g=R("./_has"),f="prototype",d=function c(a,n,i){var o=a&c.F,r=a&c.G,l=a&c.S,e=a&c.P,s=a&c.B,u=a&c.W,h=r?p:p[n]||(p[n]={}),A=h[f],v=r?y:l?y[n]:(y[n]||{})[f],w,b,E;r&&(i=n);for(w in i){if(b=!o&&v&&v[w]!==void 0,b&&g(h,w))continue;E=b?v[w]:i[w],h[w]=r&&typeof v[w]!="function"?i[w]:s&&b?S(E,y):u&&v[w]==E?function(T){var _=function(C,I,L){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(C);case 2:return new T(C,I)}return new T(C,I,L)}return T.apply(this,arguments)};return _[f]=T[f],_}(E):e&&typeof E=="function"?S(Function.call,E):E,e&&((h.virtual||(h.virtual={}))[w]=E,a&c.R&&A&&!A[w]&&m(A,w,E))}};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,N.exports=d},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(R,N,t){N.exports=function(y){try{return!!y()}catch(p){return!0}}},{}],109:[function(R,N,t){var y=R("./_ctx"),p=R("./_iter-call"),S=R("./_is-array-iter"),m=R("./_an-object"),g=R("./_to-length"),f=R("./core.get-iterator-method"),d={},c={},t=N.exports=function(a,n,i,o,r){var l=r?function(){return a}:f(a),e=y(i,o,n?2:1),s=0,u,h,A,v;if(typeof l!="function")throw TypeError(a+" is not iterable!");if(S(l)){for(u=g(a.length);u>s;s++)if(v=n?e(m(h=a[s])[0],h[1]):e(a[s]),v===d||v===c)return v}else for(A=l.call(a);!(h=A.next()).done;)if(v=p(A,e,h.value,n),v===d||v===c)return v};t.BREAK=d,t.RETURN=c},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(R,N,t){var y=N.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=y)},{}],111:[function(R,N,t){var y={}.hasOwnProperty;N.exports=function(p,S){return y.call(p,S)}},{}],112:[function(R,N,t){var y=R("./_object-dp"),p=R("./_property-desc");N.exports=R("./_descriptors")?function(S,m,g){return y.f(S,m,p(1,g))}:function(S,m,g){return S[m]=g,S}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(R,N,t){var y=R("./_global").document;N.exports=y&&y.documentElement},{"./_global":110}],114:[function(R,N,t){N.exports=!R("./_descriptors")&&!R("./_fails")(function(){return Object.defineProperty(R("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(R,N,t){N.exports=function(y,p,S){var m=S===void 0;switch(p.length){case 0:return m?y():y.call(S);case 1:return m?y(p[0]):y.call(S,p[0]);case 2:return m?y(p[0],p[1]):y.call(S,p[0],p[1]);case 3:return m?y(p[0],p[1],p[2]):y.call(S,p[0],p[1],p[2]);case 4:return m?y(p[0],p[1],p[2],p[3]):y.call(S,p[0],p[1],p[2],p[3])}return y.apply(S,p)}},{}],116:[function(R,N,t){var y=R("./_cof");N.exports=Object("z").propertyIsEnumerable(0)?Object:function(p){return y(p)=="String"?p.split(""):Object(p)}},{"./_cof":98}],117:[function(R,N,t){var y=R("./_iterators"),p=R("./_wks")("iterator"),S=Array.prototype;N.exports=function(m){return m!==void 0&&(y.Array===m||S[p]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(R,N,t){var y=R("./_cof");N.exports=Array.isArray||function(S){return y(S)=="Array"}},{"./_cof":98}],119:[function(R,N,t){N.exports=function(y){return typeof y=="object"?y!==null:typeof y=="function"}},{}],120:[function(R,N,t){var y=R("./_an-object");N.exports=function(p,S,m,g){try{return g?S(y(m)[0],m[1]):S(m)}catch(d){var f=p.return;throw f!==void 0&&y(f.call(p)),d}}},{"./_an-object":95}],121:[function(R,N,t){"use strict";var y=R("./_object-create"),p=R("./_property-desc"),S=R("./_set-to-string-tag"),m={};R("./_hide")(m,R("./_wks")("iterator"),function(){return this}),N.exports=function(g,f,d){g.prototype=y(m,{next:p(1,d)}),S(g,f+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(R,N,t){"use strict";var y=R("./_library"),p=R("./_export"),S=R("./_redefine"),m=R("./_hide"),g=R("./_iterators"),f=R("./_iter-create"),d=R("./_set-to-string-tag"),c=R("./_object-gpo"),a=R("./_wks")("iterator"),n=!([].keys&&"next"in[].keys()),i="@@iterator",o="keys",r="values",l=function(){return this};N.exports=function(e,s,u,h,A,v,w){f(u,s,h);var b=function(M){if(!n&&M in x)return x[M];switch(M){case o:return function(){return new u(this,M)};case r:return function(){return new u(this,M)}}return function(){return new u(this,M)}},E=s+" Iterator",T=A==r,_=!1,x=e.prototype,C=x[a]||x[i]||A&&x[A],I=C||b(A),L=A?T?b("entries"):I:void 0,F=s=="Array"&&x.entries||C,B,P,H;if(F&&(H=c(F.call(new e)),H!==Object.prototype&&H.next&&(d(H,E,!0),!y&&typeof H[a]!="function"&&m(H,a,l))),T&&C&&C.name!==r&&(_=!0,I=function(){return C.call(this)}),(!y||w)&&(n||_||!x[a])&&m(x,a,I),g[s]=I,g[E]=l,A)if(B={values:T?I:b(r),keys:v?I:b(o),entries:L},w)for(P in B)P in x||S(x,P,B[P]);else p(p.P+p.F*(n||_),s,B);return B}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(R,N,t){var y=R("./_wks")("iterator"),p=!1;try{var S=[7][y]();S.return=function(){p=!0},Array.from(S,function(){throw 2})}catch(m){}N.exports=function(m,g){if(!g&&!p)return!1;var f=!1;try{var d=[7],c=d[y]();c.next=function(){return{done:f=!0}},d[y]=function(){return c},m(d)}catch(a){}return f}},{"./_wks":166}],124:[function(R,N,t){N.exports=function(y,p){return{value:p,done:!!y}}},{}],125:[function(R,N,t){N.exports={}},{}],126:[function(R,N,t){N.exports=!0},{}],127:[function(R,N,t){var y=R("./_uid")("meta"),p=R("./_is-object"),S=R("./_has"),m=R("./_object-dp").f,g=0,f=Object.isExtensible||function(){return!0},d=!R("./_fails")(function(){return f(Object.preventExtensions({}))}),c=function(l){m(l,y,{value:{i:"O"+ ++g,w:{}}})},a=function(l,e){if(!p(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!S(l,y)){if(!f(l))return"F";if(!e)return"E";c(l)}return l[y].i},n=function(l,e){if(!S(l,y)){if(!f(l))return!0;if(!e)return!1;c(l)}return l[y].w},i=function(l){return d&&o.NEED&&f(l)&&!S(l,y)&&c(l),l},o=N.exports={KEY:y,NEED:!1,fastKey:a,getWeak:n,onFreeze:i}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(R,N,t){var y=R("./_global"),p=R("./_task").set,S=y.MutationObserver||y.WebKitMutationObserver,m=y.process,g=y.Promise,f=R("./_cof")(m)=="process";N.exports=function(){var d,c,a,n=function(){var e,s;for(f&&(e=m.domain)&&e.exit();d;){s=d.fn,d=d.next;try{s()}catch(u){throw d?a():c=void 0,u}}c=void 0,e&&e.enter()};if(f)a=function(){m.nextTick(n)};else if(S&&!(y.navigator&&y.navigator.standalone)){var i=!0,o=document.createTextNode("");new S(n).observe(o,{characterData:!0}),a=function(){o.data=i=!i}}else if(g&&g.resolve){var r=g.resolve(void 0);a=function(){r.then(n)}}else a=function(){p.call(y,n)};return function(l){var e={fn:l,next:void 0};c&&(c.next=e),d||(d=e,a()),c=e}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(R,N,t){"use strict";var y=R("./_a-function");function p(S){var m,g;this.promise=new S(function(f,d){if(m!==void 0||g!==void 0)throw TypeError("Bad Promise constructor");m=f,g=d}),this.resolve=y(m),this.reject=y(g)}N.exports.f=function(S){return new p(S)}},{"./_a-function":92}],130:[function(R,N,t){"use strict";var y=R("./_descriptors"),p=R("./_object-keys"),S=R("./_object-gops"),m=R("./_object-pie"),g=R("./_to-object"),f=R("./_iobject"),d=Object.assign;N.exports=!d||R("./_fails")(function(){var c={},a={},n=Symbol(),i="abcdefghijklmnopqrst";return c[n]=7,i.split("").forEach(function(o){a[o]=o}),d({},c)[n]!=7||Object.keys(d({},a)).join("")!=i})?function(a,n){for(var i=g(a),o=arguments.length,r=1,l=S.f,e=m.f;o>r;)for(var s=f(arguments[r++]),u=l?p(s).concat(l(s)):p(s),h=u.length,A=0,v;h>A;)v=u[A++],(!y||e.call(s,v))&&(i[v]=s[v]);return i}:d},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(R,N,t){var y=R("./_an-object"),p=R("./_object-dps"),S=R("./_enum-bug-keys"),m=R("./_shared-key")("IE_PROTO"),g=function(){},f="prototype",d=function(){var a=R("./_dom-create")("iframe"),n=S.length,i="<",o=">",r;for(a.style.display="none",R("./_html").appendChild(a),a.src="javascript:",r=a.contentWindow.document,r.open(),r.write(i+"script"+o+"document.F=Object"+i+"/script"+o),r.close(),d=r.F;n--;)delete d[f][S[n]];return d()};N.exports=Object.create||function(a,n){var i;return a!==null?(g[f]=y(a),i=new g,g[f]=null,i[m]=a):i=d(),n===void 0?i:p(i,n)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(R,N,t){var y=R("./_an-object"),p=R("./_ie8-dom-define"),S=R("./_to-primitive"),m=Object.defineProperty;t.f=R("./_descriptors")?Object.defineProperty:function(f,d,c){if(y(f),d=S(d,!0),y(c),p)try{return m(f,d,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(f[d]=c.value),f}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(R,N,t){var y=R("./_object-dp"),p=R("./_an-object"),S=R("./_object-keys");N.exports=R("./_descriptors")?Object.defineProperties:function(g,f){p(g);for(var d=S(f),c=d.length,a=0,n;c>a;)y.f(g,n=d[a++],f[n]);return g}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(R,N,t){var y=R("./_object-pie"),p=R("./_property-desc"),S=R("./_to-iobject"),m=R("./_to-primitive"),g=R("./_has"),f=R("./_ie8-dom-define"),d=Object.getOwnPropertyDescriptor;t.f=R("./_descriptors")?d:function(a,n){if(a=S(a),n=m(n,!0),f)try{return d(a,n)}catch(i){}if(g(a,n))return p(!y.f.call(a,n),a[n])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(R,N,t){var y=R("./_to-iobject"),p=R("./_object-gopn").f,S={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(d){try{return p(d)}catch(c){return m.slice()}};N.exports.f=function(d){return m&&S.call(d)=="[object Window]"?g(d):p(y(d))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(R,N,t){var y=R("./_object-keys-internal"),p=R("./_enum-bug-keys").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(m){return y(m,p)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(R,N,t){t.f=Object.getOwnPropertySymbols},{}],138:[function(R,N,t){var y=R("./_has"),p=R("./_to-object"),S=R("./_shared-key")("IE_PROTO"),m=Object.prototype;N.exports=Object.getPrototypeOf||function(g){return g=p(g),y(g,S)?g[S]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(R,N,t){var y=R("./_has"),p=R("./_to-iobject"),S=R("./_array-includes")(!1),m=R("./_shared-key")("IE_PROTO");N.exports=function(g,f){var d=p(g),c=0,a=[],n;for(n in d)n!=m&&(y(d,n)&&a.push(n));for(;f.length>c;)y(d,n=f[c++])&&(~S(a,n)||a.push(n));return a}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(R,N,t){var y=R("./_object-keys-internal"),p=R("./_enum-bug-keys");N.exports=Object.keys||function(m){return y(m,p)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(R,N,t){t.f={}.propertyIsEnumerable},{}],142:[function(R,N,t){var y=R("./_export"),p=R("./_core"),S=R("./_fails");N.exports=function(m,g){var f=(p.Object||{})[m]||Object[m],d={};d[m]=g(f),y(y.S+y.F*S(function(){f(1)}),"Object",d)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(R,N,t){var y=R("./_descriptors"),p=R("./_object-keys"),S=R("./_to-iobject"),m=R("./_object-pie").f;N.exports=function(g){return function(f){for(var d=S(f),c=p(d),a=c.length,n=0,i=[],o;a>n;)o=c[n++],(!y||m.call(d,o))&&i.push(g?[o,d[o]]:d[o]);return i}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(R,N,t){N.exports=function(y){try{return{e:!1,v:y()}}catch(p){return{e:!0,v:p}}}},{}],145:[function(R,N,t){var y=R("./_an-object"),p=R("./_is-object"),S=R("./_new-promise-capability");N.exports=function(m,g){if(y(m),p(g)&&g.constructor===m)return g;var f=S.f(m),d=f.resolve;return d(g),f.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(R,N,t){N.exports=function(y,p){return{enumerable:!(y&1),configurable:!(y&2),writable:!(y&4),value:p}}},{}],147:[function(R,N,t){var y=R("./_hide");N.exports=function(p,S,m){for(var g in S)m&&p[g]?p[g]=S[g]:y(p,g,S[g]);return p}},{"./_hide":112}],148:[function(R,N,t){N.exports=R("./_hide")},{"./_hide":112}],149:[function(R,N,t){"use strict";var y=R("./_global"),p=R("./_core"),S=R("./_object-dp"),m=R("./_descriptors"),g=R("./_wks")("species");N.exports=function(f){var d=typeof p[f]=="function"?p[f]:y[f];m&&d&&!d[g]&&S.f(d,g,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(R,N,t){var y=R("./_object-dp").f,p=R("./_has"),S=R("./_wks")("toStringTag");N.exports=function(m,g,f){m&&!p(m=f?m:m.prototype,S)&&y(m,S,{configurable:!0,value:g})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(R,N,t){var y=R("./_shared")("keys"),p=R("./_uid");N.exports=function(S){return y[S]||(y[S]=p(S))}},{"./_shared":152,"./_uid":162}],152:[function(R,N,t){var y=R("./_core"),p=R("./_global"),S="__core-js_shared__",m=p[S]||(p[S]={});(N.exports=function(g,f){return m[g]||(m[g]=f!==void 0?f:{})})("versions",[]).push({version:y.version,mode:R("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(R,N,t){var y=R("./_an-object"),p=R("./_a-function"),S=R("./_wks")("species");N.exports=function(m,g){var f=y(m).constructor,d;return f===void 0||(d=y(f)[S])==null?g:p(d)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(R,N,t){var y=R("./_to-integer"),p=R("./_defined");N.exports=function(S){return function(m,g){var f=String(p(m)),d=y(g),c=f.length,a,n;return d<0||d>=c?S?"":void 0:(a=f.charCodeAt(d),a<55296||a>56319||d+1===c||(n=f.charCodeAt(d+1))<56320||n>57343?S?f.charAt(d):a:S?f.slice(d,d+2):(a-55296<<10)+(n-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(R,N,t){var y=R("./_ctx"),p=R("./_invoke"),S=R("./_html"),m=R("./_dom-create"),g=R("./_global"),f=g.process,d=g.setImmediate,c=g.clearImmediate,a=g.MessageChannel,n=g.Dispatch,i=0,o={},r="onreadystatechange",l,e,s,u=function(){var v=+this;if(o.hasOwnProperty(v)){var w=o[v];delete o[v],w()}},h=function(v){u.call(v.data)};(!d||!c)&&(d=function(v){for(var w=[],b=1;arguments.length>b;)w.push(arguments[b++]);return o[++i]=function(){p(typeof v=="function"?v:Function(v),w)},l(i),i},c=function(v){delete o[v]},R("./_cof")(f)=="process"?l=function(v){f.nextTick(y(u,v,1))}:n&&n.now?l=function(v){n.now(y(u,v,1))}:a?(e=new a,s=e.port2,e.port1.onmessage=h,l=y(s.postMessage,s,1)):g.addEventListener&&typeof postMessage=="function"&&!g.importScripts?(l=function(v){g.postMessage(v+"","*")},g.addEventListener("message",h,!1)):r in m("script")?l=function(v){S.appendChild(m("script"))[r]=function(){S.removeChild(this),u.call(v)}}:l=function(v){setTimeout(y(u,v,1),0)}),N.exports={set:d,clear:c}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(R,N,t){var y=R("./_to-integer"),p=Math.max,S=Math.min;N.exports=function(m,g){return m=y(m),m<0?p(m+g,0):S(m,g)}},{"./_to-integer":157}],157:[function(R,N,t){var y=Math.ceil,p=Math.floor;N.exports=function(S){return isNaN(S=+S)?0:(S>0?p:y)(S)}},{}],158:[function(R,N,t){var y=R("./_iobject"),p=R("./_defined");N.exports=function(S){return y(p(S))}},{"./_defined":102,"./_iobject":116}],159:[function(R,N,t){var y=R("./_to-integer"),p=Math.min;N.exports=function(S){return S>0?p(y(S),9007199254740991):0}},{"./_to-integer":157}],160:[function(R,N,t){var y=R("./_defined");N.exports=function(p){return Object(y(p))}},{"./_defined":102}],161:[function(R,N,t){var y=R("./_is-object");N.exports=function(p,S){if(!y(p))return p;var m,g;if(S&&typeof(m=p.toString)=="function"&&!y(g=m.call(p)))return g;if(typeof(m=p.valueOf)=="function"&&!y(g=m.call(p)))return g;if(!S&&typeof(m=p.toString)=="function"&&!y(g=m.call(p)))return g;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(R,N,t){var y=0,p=Math.random();N.exports=function(S){return"Symbol(".concat(S===void 0?"":S,")_",(++y+p).toString(36))}},{}],163:[function(R,N,t){var y=R("./_global"),p=y.navigator;N.exports=p&&p.userAgent||""},{"./_global":110}],164:[function(R,N,t){var y=R("./_global"),p=R("./_core"),S=R("./_library"),m=R("./_wks-ext"),g=R("./_object-dp").f;N.exports=function(f){var d=p.Symbol||(p.Symbol=S?{}:y.Symbol||{});f.charAt(0)!="_"&&!(f in d)&&g(d,f,{value:m.f(f)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(R,N,t){t.f=R("./_wks")},{"./_wks":166}],166:[function(R,N,t){var y=R("./_shared")("wks"),p=R("./_uid"),S=R("./_global").Symbol,m=typeof S=="function",g=N.exports=function(f){return y[f]||(y[f]=m&&S[f]||(m?S:p)("Symbol."+f))};g.store=y},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(R,N,t){var y=R("./_classof"),p=R("./_wks")("iterator"),S=R("./_iterators");N.exports=R("./_core").getIteratorMethod=function(m){if(m!=null)return m[p]||m["@@iterator"]||S[y(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(R,N,t){"use strict";var y=R("./_ctx"),p=R("./_export"),S=R("./_to-object"),m=R("./_iter-call"),g=R("./_is-array-iter"),f=R("./_to-length"),d=R("./_create-property"),c=R("./core.get-iterator-method");p(p.S+p.F*!R("./_iter-detect")(function(a){Array.from(a)}),"Array",{from:function(n){var i=S(n),o=typeof this=="function"?this:Array,r=arguments.length,l=r>1?arguments[1]:void 0,e=l!==void 0,s=0,u=c(i),h,A,v,w;if(e&&(l=y(l,r>2?arguments[2]:void 0,2)),u!=null&&!(o==Array&&g(u)))for(w=u.call(i),A=new o;!(v=w.next()).done;s++)d(A,s,e?m(w,l,[v.value,s],!0):v.value);else for(h=f(i.length),A=new o(h);h>s;s++)d(A,s,e?l(i[s],s):i[s]);return A.length=s,A}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(R,N,t){"use strict";var y=R("./_add-to-unscopables"),p=R("./_iter-step"),S=R("./_iterators"),m=R("./_to-iobject");N.exports=R("./_iter-define")(Array,"Array",function(g,f){this._t=m(g),this._i=0,this._k=f},function(){var g=this._t,f=this._k,d=this._i++;return!g||d>=g.length?(this._t=void 0,p(1)):f=="keys"?p(0,d):f=="values"?p(0,g[d]):p(0,[d,g[d]])},"values"),S.Arguments=S.Array,y("keys"),y("values"),y("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(R,N,t){"use strict";var y=R("./_is-object"),p=R("./_object-gpo"),S=R("./_wks")("hasInstance"),m=Function.prototype;S in m||R("./_object-dp").f(m,S,{value:function(f){if(typeof this!="function"||!y(f))return!1;if(!y(this.prototype))return f instanceof this;for(;f=p(f);)if(this.prototype===f)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(R,N,t){var y=R("./_export");y(y.S+y.F,"Object",{assign:R("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(R,N,t){var y=R("./_export");y(y.S,"Object",{create:R("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(R,N,t){var y=R("./_export");y(y.S+y.F*!R("./_descriptors"),"Object",{defineProperty:R("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(R,N,t){R("./_object-sap")("getOwnPropertyNames",function(){return R("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(R,N,t){var y=R("./_to-object"),p=R("./_object-gpo");R("./_object-sap")("getPrototypeOf",function(){return function(m){return p(y(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(R,N,t){var y=R("./_to-object"),p=R("./_object-keys");R("./_object-sap")("keys",function(){return function(m){return p(y(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(R,N,t){arguments[4][71][0].apply(t,arguments)},{dup:71}],178:[function(R,N,t){"use strict";var y=R("./_library"),p=R("./_global"),S=R("./_ctx"),m=R("./_classof"),g=R("./_export"),f=R("./_is-object"),d=R("./_a-function"),c=R("./_an-instance"),a=R("./_for-of"),n=R("./_species-constructor"),i=R("./_task").set,o=R("./_microtask")(),r=R("./_new-promise-capability"),l=R("./_perform"),e=R("./_user-agent"),s=R("./_promise-resolve"),u="Promise",h=p.TypeError,A=p.process,v=A&&A.versions,w=v&&v.v8||"",b=p[u],E=m(A)=="process",T=function(){},_,x,C,I,L=x=r.f,F=!!function(){try{var K=b.resolve(1),j=(K.constructor={})[R("./_wks")("species")]=function(V){V(T,T)};return(E||typeof PromiseRejectionEvent=="function")&&K.then(T)instanceof j&&w.indexOf("6.6")!==0&&e.indexOf("Chrome/66")===-1}catch(V){}}(),B=function(j){var V;return f(j)&&typeof(V=j.then)=="function"?V:!1},P=function(j,V){if(j._n)return;j._n=!0;var W=j._c;o(function(){for(var X=j._v,J=j._s==1,de=0,G=function(Ae){var me=J?Ae.ok:Ae.fail,Me=Ae.resolve,oe=Ae.reject,_e=Ae.domain,ee,ne,Ge;try{me?(J||(j._h==2&&M(j),j._h=1),me===!0?ee=X:(_e&&_e.enter(),ee=me(X),_e&&(_e.exit(),Ge=!0)),ee===Ae.promise?oe(h("Promise-chain cycle")):(ne=B(ee))?ne.call(ee,Me,oe):Me(ee)):oe(X)}catch(Ee){_e&&!Ge&&_e.exit(),oe(Ee)}};W.length>de;)G(W[de++]);j._c=[],j._n=!1,V&&!j._h&&H(j)})},H=function(j){i.call(p,function(){var V=j._v,W=z(j),X,J,de;if(W&&(X=l(function(){E?A.emit("unhandledRejection",V,j):(J=p.onunhandledrejection)?J({promise:j,reason:V}):(de=p.console)&&de.error&&de.error("Unhandled promise rejection",V)}),j._h=E||z(j)?2:1),j._a=void 0,W&&X.e)throw X.v})},z=function(j){return j._h!==1&&(j._a||j._c).length===0},M=function(j){i.call(p,function(){var V;E?A.emit("rejectionHandled",j):(V=p.onrejectionhandled)&&V({promise:j,reason:j._v})})},U=function(j){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=j,V._s=2,V._a||(V._a=V._c.slice()),P(V,!0)},k=function K(j){var V=this,W;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===j)throw h("Promise can't be resolved itself");(W=B(j))?o(function(){var X={_w:V,_d:!1};try{W.call(j,S(K,X,1),S(U,X,1))}catch(J){U.call(X,J)}}):(V._v=j,V._s=1,P(V,!1))}catch(X){U.call({_w:V,_d:!1},X)}};F||(b=function(j){c(this,b,u,"_h"),d(j),_.call(this);try{j(S(k,this,1),S(U,this,1))}catch(V){U.call(this,V)}},_=function(j){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},_.prototype=R("./_redefine-all")(b.prototype,{then:function(j,V){var W=L(n(this,b));return W.ok=typeof j=="function"?j:!0,W.fail=typeof V=="function"&&V,W.domain=E?A.domain:void 0,this._c.push(W),this._a&&this._a.push(W),this._s&&P(this,!1),W.promise},catch:function(j){return this.then(void 0,j)}}),C=function(){var j=new _;this.promise=j,this.resolve=S(k,j,1),this.reject=S(U,j,1)},r.f=L=function(j){return j===b||j===I?new C(j):x(j)}),g(g.G+g.W+g.F*!F,{Promise:b}),R("./_set-to-string-tag")(b,u),R("./_set-species")(u),I=R("./_core")[u],g(g.S+g.F*!F,u,{reject:function(j){var V=L(this),W=V.reject;return W(j),V.promise}}),g(g.S+g.F*(y||!F),u,{resolve:function(j){return s(y&&this===I?b:this,j)}}),g(g.S+g.F*!(F&&R("./_iter-detect")(function(K){b.all(K).catch(T)})),u,{all:function(j){var V=this,W=L(V),X=W.resolve,J=W.reject,de=l(function(){var G=[],ae=0,Ae=1;a(j,!1,function(me){var Me=ae++,oe=!1;G.push(void 0),Ae++,V.resolve(me).then(function(_e){if(oe)return;oe=!0,G[Me]=_e,--Ae||X(G)},J)}),--Ae||X(G)});return de.e&&J(de.v),W.promise},race:function(j){var V=this,W=L(V),X=W.reject,J=l(function(){a(j,!1,function(de){V.resolve(de).then(W.resolve,X)})});return J.e&&X(J.v),W.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(R,N,t){var y=R("./_export"),p=R("./_to-absolute-index"),S=String.fromCharCode,m=String.fromCodePoint;y(y.S+y.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(f){for(var d=[],c=arguments.length,a=0,n;c>a;){if(n=+arguments[a++],p(n,1114111)!==n)throw RangeError(n+" is not a valid code point");d.push(n<65536?S(n):S(((n-=65536)>>10)+55296,n%1024+56320))}return d.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(R,N,t){"use strict";var y=R("./_string-at")(!0);R("./_iter-define")(String,"String",function(p){this._t=String(p),this._i=0},function(){var p=this._t,S=this._i,m;return S>=p.length?{value:void 0,done:!0}:(m=y(p,S),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(R,N,t){"use strict";var y=R("./_global"),p=R("./_has"),S=R("./_descriptors"),m=R("./_export"),g=R("./_redefine"),f=R("./_meta").KEY,d=R("./_fails"),c=R("./_shared"),a=R("./_set-to-string-tag"),n=R("./_uid"),i=R("./_wks"),o=R("./_wks-ext"),r=R("./_wks-define"),l=R("./_enum-keys"),e=R("./_is-array"),s=R("./_an-object"),u=R("./_is-object"),h=R("./_to-object"),A=R("./_to-iobject"),v=R("./_to-primitive"),w=R("./_property-desc"),b=R("./_object-create"),E=R("./_object-gopn-ext"),T=R("./_object-gopd"),_=R("./_object-gops"),x=R("./_object-dp"),C=R("./_object-keys"),I=T.f,L=x.f,F=E.f,B=y.Symbol,P=y.JSON,H=P&&P.stringify,z="prototype",M=i("_hidden"),U=i("toPrimitive"),k={}.propertyIsEnumerable,K=c("symbol-registry"),j=c("symbols"),V=c("op-symbols"),W=Object[z],X=typeof B=="function"&&!!_.f,J=y.QObject,de=!J||!J[z]||!J[z].findChild,G=S&&d(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(Te,Ke,Ie){var se=I(W,Ke);se&&delete W[Ke],L(Te,Ke,Ie),se&&Te!==W&&L(W,Ke,se)}:L,ae=function(Ke){var Ie=j[Ke]=b(B[z]);return Ie._k=Ke,Ie},Ae=X&&typeof B.iterator=="symbol"?function(Te){return typeof Te=="symbol"}:function(Te){return Te instanceof B},me=function(Ke,Ie,se){return Ke===W&&me(V,Ie,se),s(Ke),Ie=v(Ie,!0),s(se),p(j,Ie)?(se.enumerable?(p(Ke,M)&&Ke[M][Ie]&&(Ke[M][Ie]=!1),se=b(se,{enumerable:w(0,!1)})):(p(Ke,M)||L(Ke,M,w(1,{})),Ke[M][Ie]=!0),G(Ke,Ie,se)):L(Ke,Ie,se)},Me=function(Ke,Ie){s(Ke);for(var se=l(Ie=A(Ie)),ye=0,xe=se.length,Ye;xe>ye;)me(Ke,Ye=se[ye++],Ie[Ye]);return Ke},oe=function(Ke,Ie){return Ie===void 0?b(Ke):Me(b(Ke),Ie)},_e=function(Ke){var Ie=k.call(this,Ke=v(Ke,!0));return this===W&&p(j,Ke)&&!p(V,Ke)?!1:Ie||!p(this,Ke)||!p(j,Ke)||p(this,M)&&this[M][Ke]?Ie:!0},ee=function(Ke,Ie){if(Ke=A(Ke),Ie=v(Ie,!0),Ke===W&&p(j,Ie)&&!p(V,Ie))return;var se=I(Ke,Ie);return se&&p(j,Ie)&&!(p(Ke,M)&&Ke[M][Ie])&&(se.enumerable=!0),se},ne=function(Ke){for(var Ie=F(A(Ke)),se=[],ye=0,xe;Ie.length>ye;)!p(j,xe=Ie[ye++])&&xe!=M&&xe!=f&&se.push(xe);return se},Ge=function(Ke){for(var Ie=Ke===W,se=F(Ie?V:A(Ke)),ye=[],xe=0,Ye;se.length>xe;)p(j,Ye=se[xe++])&&(Ie?p(W,Ye):!0)&&ye.push(j[Ye]);return ye};X||(B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor!");var Ke=n(arguments.length>0?arguments[0]:void 0),Ie=function se(ye){this===W&&se.call(V,ye),p(this,M)&&p(this[M],Ke)&&(this[M][Ke]=!1),G(this,Ke,w(1,ye))};return S&&de&&G(W,Ke,{configurable:!0,set:Ie}),ae(Ke)},g(B[z],"toString",function(){return this._k}),T.f=ee,x.f=me,R("./_object-gopn").f=E.f=ne,R("./_object-pie").f=_e,_.f=Ge,S&&!R("./_library")&&g(W,"propertyIsEnumerable",_e,!0),o.f=function(Te){return ae(i(Te))}),m(m.G+m.W+m.F*!X,{Symbol:B});for(var Ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ue=0;Ee.length>ue;)i(Ee[ue++]);for(var re=C(i.store),ce=0;re.length>ce;)r(re[ce++]);m(m.S+m.F*!X,"Symbol",{for:function(Ke){return p(K,Ke+="")?K[Ke]:K[Ke]=B(Ke)},keyFor:function(Ke){if(!Ae(Ke))throw TypeError(Ke+" is not a symbol!");for(var Ie in K)if(K[Ie]===Ke)return Ie},useSetter:function(){de=!0},useSimple:function(){de=!1}}),m(m.S+m.F*!X,"Object",{create:oe,defineProperty:me,defineProperties:Me,getOwnPropertyDescriptor:ee,getOwnPropertyNames:ne,getOwnPropertySymbols:Ge});var ke=d(function(){_.f(1)});m(m.S+m.F*ke,"Object",{getOwnPropertySymbols:function(Ke){return _.f(h(Ke))}}),P&&m(m.S+m.F*(!X||d(function(){var Te=B();return H([Te])!="[null]"||H({a:Te})!="{}"||H(Object(Te))!="{}"})),"JSON",{stringify:function(Ke){for(var Ie=[Ke],se=1,ye,xe;arguments.length>se;)Ie.push(arguments[se++]);return xe=ye=Ie[1],!u(ye)&&Ke===void 0||Ae(Ke)?void 0:(e(ye)||(ye=function(pt,nt){if(typeof xe=="function"&&(nt=xe.call(this,pt,nt)),!Ae(nt))return nt}),Ie[1]=ye,H.apply(P,Ie))}}),B[z][U]||R("./_hide")(B[z],U,B[z].valueOf),a(B,"Symbol"),a(Math,"Math",!0),a(y.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(R,N,t){var y=R("./_export"),p=R("./_object-to-array")(!0);y(y.S,"Object",{entries:function(m){return p(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(R,N,t){"use strict";var y=R("./_export"),p=R("./_core"),S=R("./_global"),m=R("./_species-constructor"),g=R("./_promise-resolve");y(y.P+y.R,"Promise",{finally:function(d){var c=m(this,p.Promise||S.Promise),a=typeof d=="function";return this.then(a?function(n){return g(c,d()).then(function(){return n})}:d,a?function(n){return g(c,d()).then(function(){throw n})}:d)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(R,N,t){"use strict";var y=R("./_export"),p=R("./_new-promise-capability"),S=R("./_perform");y(y.S,"Promise",{try:function(g){var f=p.f(this),d=S(g);return(d.e?f.reject:f.resolve)(d.v),f.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(R,N,t){R("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(R,N,t){R("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(R,N,t){R("./es6.array.iterator");for(var y=R("./_global"),p=R("./_hide"),S=R("./_iterators"),m=R("./_wks")("toStringTag"),g="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<g.length;f++){var d=g[f],c=y[d],a=c&&c.prototype;a&&!a[m]&&p(a,m,d),S[d]=S.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(R,N,t){var y=R("./_export"),p=R("./_task");y(y.G+y.B,{setImmediate:p.set,clearImmediate:p.clear})},{"./_export":107,"./_task":155}],189:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/helpers/typeof"),S=m(p);function m(v){return v&&v.__esModule?v:{default:v}}function g(v){return Array.isArray?Array.isArray(v):A(v)==="[object Array]"}t.isArray=g;function f(v){return typeof v=="boolean"}t.isBoolean=f;function d(v){return v===null}t.isNull=d;function c(v){return v==null}t.isNullOrUndefined=c;function a(v){return typeof v=="number"}t.isNumber=a;function n(v){return typeof v=="string"}t.isString=n;function i(v){return(typeof v=="undefined"?"undefined":(0,S.default)(v))==="symbol"}t.isSymbol=i;function o(v){return v===void 0}t.isUndefined=o;function r(v){return A(v)==="[object RegExp]"}t.isRegExp=r;function l(v){return(typeof v=="undefined"?"undefined":(0,S.default)(v))==="object"&&v!==null}t.isObject=l;function e(v){return A(v)==="[object Date]"}t.isDate=e;function s(v){return A(v)==="[object Error]"||v instanceof Error}t.isError=s;function u(v){return typeof v=="function"}t.isFunction=u;function h(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||(typeof v=="undefined"?"undefined":(0,S.default)(v))==="symbol"||typeof v=="undefined"}t.isPrimitive=h,t.isBuffer=y.isBuffer;function A(v){return Object.prototype.toString.call(v)}}).call(this,{isBuffer:R("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(R,N,t){"use strict";var y=R("babel-runtime/helpers/typeof"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var g=function(){var n=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,o=/[^-+\dA-Z]/g;return function(r,l,e,s){if(arguments.length===1&&a(r)==="string"&&!/\d/.test(r)&&(l=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");l=String(g.masks[l]||l||g.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),e=!0,u==="GMT:"&&(s=!0));var h=e?"getUTC":"get",A=r[h+"Date"](),v=r[h+"Day"](),w=r[h+"Month"](),b=r[h+"FullYear"](),E=r[h+"Hours"](),T=r[h+"Minutes"](),_=r[h+"Seconds"](),x=r[h+"Milliseconds"](),C=e?0:r.getTimezoneOffset(),I=d(r),L=c(r),F={d:A,dd:f(A),ddd:g.i18n.dayNames[v],dddd:g.i18n.dayNames[v+7],m:w+1,mm:f(w+1),mmm:g.i18n.monthNames[w],mmmm:g.i18n.monthNames[w+12],yy:String(b).slice(2),yyyy:b,h:E%12||12,hh:f(E%12||12),H:E,HH:f(E),M:T,MM:f(T),s:_,ss:f(_),l:f(x,3),L:f(Math.round(x/10)),t:E<12?"a":"p",tt:E<12?"am":"pm",T:E<12?"A":"P",TT:E<12?"AM":"PM",Z:s?"GMT":e?"UTC":(String(r).match(i)||[""]).pop().replace(o,""),o:(C>0?"-":"+")+f(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][A%10>3?0:(A%100-A%10!=10)*A%10],W:I,N:L};return l.replace(n,function(B){return B in F?F[B]:B.slice(1,B.length-1)})}}();g.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},g.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function f(n,i){for(n=String(n),i=i||2;n.length<i;)n="0"+n;return n}function d(n){var i=new Date(n.getFullYear(),n.getMonth(),n.getDate());i.setDate(i.getDate()-(i.getDay()+6)%7+3);var o=new Date(i.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);var r=i.getTimezoneOffset()-o.getTimezoneOffset();i.setHours(i.getHours()-r);var l=(i-o)/(864e5*7);return 1+Math.floor(l)}function c(n){var i=n.getDay();return i===0&&(i=7),i}function a(n){return n===null?"null":n===void 0?"undefined":(typeof n=="undefined"?"undefined":(0,p.default)(n))!=="object"?typeof n=="undefined"?"undefined":(0,p.default)(n):Array.isArray(n)?"array":{}.toString.call(n).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return g}):(typeof t=="undefined"?"undefined":(0,p.default)(t))==="object"?N.exports=g:m.dateFormat=g})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(R,N,t){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=/["'&<>]/;N.exports=p;function p(S){var m=""+S,g=y.exec(m);if(!g)return m;var f,d="",c=0,a=0;for(c=g.index;c<m.length;c++){switch(m.charCodeAt(c)){case 34:f=""";break;case 38:f="&";break;case 39:f="'";break;case 60:f="<";break;case 62:f=">";break;default:continue}a!==c&&(d+=m.substring(a,c)),a=c+1,d+=f}return a!==c?d+m.substring(a,c):d}},{}],192:[function(R,N,t){function y(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}N.exports=y,y.EventEmitter=y,y.prototype._events=void 0,y.prototype._maxListeners=void 0,y.defaultMaxListeners=10,y.prototype.setMaxListeners=function(f){if(!S(f)||f<0||isNaN(f))throw TypeError("n must be a positive number");return this._maxListeners=f,this},y.prototype.emit=function(f){var d,c,a,n,i,o;if(this._events||(this._events={}),f==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(d=arguments[1],d instanceof Error)throw d;var r=new Error('Uncaught, unspecified "error" event. ('+d+")");throw r.context=d,r}if(c=this._events[f],g(c))return!1;if(p(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),c.apply(this,n)}else if(m(c))for(n=Array.prototype.slice.call(arguments,1),o=c.slice(),a=o.length,i=0;i<a;i++)o[i].apply(this,n);return!0},y.prototype.addListener=function(f,d){var c;if(!p(d))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",f,p(d.listener)?d.listener:d),this._events[f]?m(this._events[f])?this._events[f].push(d):this._events[f]=[this._events[f],d]:this._events[f]=d,m(this._events[f])&&!this._events[f].warned&&(g(this._maxListeners)?c=y.defaultMaxListeners:c=this._maxListeners,c&&c>0&&this._events[f].length>c&&(this._events[f].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[f].length),typeof console.trace=="function"&&console.trace())),this},y.prototype.on=y.prototype.addListener,y.prototype.once=function(f,d){if(!p(d))throw TypeError("listener must be a function");var c=!1;function a(){this.removeListener(f,a),c||(c=!0,d.apply(this,arguments))}return a.listener=d,this.on(f,a),this},y.prototype.removeListener=function(f,d){var c,a,n,i;if(!p(d))throw TypeError("listener must be a function");if(!this._events||!this._events[f])return this;if(c=this._events[f],n=c.length,a=-1,c===d||p(c.listener)&&c.listener===d)delete this._events[f],this._events.removeListener&&this.emit("removeListener",f,d);else if(m(c)){for(i=n;i-- >0;)if(c[i]===d||c[i].listener&&c[i].listener===d){a=i;break}if(a<0)return this;c.length===1?(c.length=0,delete this._events[f]):c.splice(a,1),this._events.removeListener&&this.emit("removeListener",f,d)}return this},y.prototype.removeAllListeners=function(f){var d,c;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[f]&&delete this._events[f],this;if(arguments.length===0){for(d in this._events){if(d==="removeListener")continue;this.removeAllListeners(d)}return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[f],p(c))this.removeListener(f,c);else if(c)for(;c.length;)this.removeListener(f,c[c.length-1]);return delete this._events[f],this},y.prototype.listeners=function(f){var d;return!this._events||!this._events[f]?d=[]:p(this._events[f])?d=[this._events[f]]:d=this._events[f].slice(),d},y.prototype.listenerCount=function(f){if(this._events){var d=this._events[f];if(p(d))return 1;if(d)return d.length}return 0},y.listenerCount=function(f,d){return f.listenerCount(d)};function p(f){return typeof f=="function"}function S(f){return typeof f=="number"}function m(f){return typeof f=="object"&&f!==null}function g(f){return f===void 0}},{}],193:[function(R,N,t){var y=R("http"),p=N.exports;for(var S in y)y.hasOwnProperty(S)&&(p[S]=y[S]);p.request=function(m,g){return m||(m={}),m.scheme="https",m.protocol="https:",y.request.call(this,m,g)}},{http:231}],194:[function(R,N,t){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var y=R("util"),p=R("ms");N.exports=function(S){if(typeof S=="number")return S;var m=p(S);if(m===void 0){var g=new Error(y.format("humanize-ms(%j) result undefined",S));console.warn(g.stack)}return m}},{ms:204,util:243}],195:[function(R,N,t){t.read=function(y,p,S,m,g){var f,d,c=g*8-m-1,a=(1<<c)-1,n=a>>1,i=-7,o=S?g-1:0,r=S?-1:1,l=y[p+o];for(o+=r,f=l&(1<<-i)-1,l>>=-i,i+=c;i>0;f=f*256+y[p+o],o+=r,i-=8);for(d=f&(1<<-i)-1,f>>=-i,i+=m;i>0;d=d*256+y[p+o],o+=r,i-=8);if(f===0)f=1-n;else{if(f===a)return d?NaN:(l?-1:1)*Infinity;d=d+Math.pow(2,m),f=f-n}return(l?-1:1)*d*Math.pow(2,f-m)},t.write=function(y,p,S,m,g,f){var d,c,a,n=f*8-g-1,i=(1<<n)-1,o=i>>1,r=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:f-1,e=m?1:-1,s=p<0||p===0&&1/p<0?1:0;for(p=Math.abs(p),isNaN(p)||p===Infinity?(c=isNaN(p)?1:0,d=i):(d=Math.floor(Math.log(p)/Math.LN2),p*(a=Math.pow(2,-d))<1&&(d--,a*=2),d+o>=1?p+=r/a:p+=r*Math.pow(2,1-o),p*a>=2&&(d++,a/=2),d+o>=i?(c=0,d=i):d+o>=1?(c=(p*a-1)*Math.pow(2,g),d=d+o):(c=p*Math.pow(2,o-1)*Math.pow(2,g),d=0));g>=8;y[S+l]=c&255,l+=e,c/=256,g-=8);for(d=d<<g|c,n+=g;n>0;y[S+l]=d&255,l+=e,d/=256,n-=8);y[S+l-e]|=s*128}},{}],196:[function(R,N,t){typeof Object.create=="function"?N.exports=function(p,S){S&&(p.super_=S,p.prototype=Object.create(S.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:N.exports=function(p,S){if(S){p.super_=S;var m=function(){};m.prototype=S.prototype,p.prototype=new m,p.prototype.constructor=p}}},{}],197:[function(R,N,t){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/N.exports=function(S){return S!=null&&(y(S)||p(S)||!!S._isBuffer)};function y(S){return!!S.constructor&&typeof S.constructor.isBuffer=="function"&&S.constructor.isBuffer(S)}function p(S){return typeof S.readFloatLE=="function"&&typeof S.slice=="function"&&y(S.slice(0,0))}},{}],198:[function(R,N,t){var y={}.toString;N.exports=Array.isArray||function(p){return y.call(p)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(R,N){typeof exports=="object"&&typeof module!="undefined"?module.exports=N(R):typeof define=="function"&&define.amd?define(N):N(R)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(R){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(R){for(var N={},t=0,y=R.length;t<y;t++)N[R.charAt(t)]=t;return N}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(N){if(N.length<2){var t=N.charCodeAt(0);return t<128?N:t<2048?fromCharCode(192|t>>>6)+fromCharCode(128|t&63):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|t&63)}else{var t=65536+(N.charCodeAt(0)-55296)*1024+(N.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|t&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(N){return N.replace(re_utob,cb_utob)},cb_encode=function(N){var t=[0,2,1][N.length%3],y=N.charCodeAt(0)<<16|(N.length>1?N.charCodeAt(1):0)<<8|(N.length>2?N.charCodeAt(2):0),p=[b64chars.charAt(y>>>18),b64chars.charAt(y>>>12&63),t>=2?"=":b64chars.charAt(y>>>6&63),t>=1?"=":b64chars.charAt(y&63)];return p.join("")},btoa=global.btoa?function(R){return global.btoa(R)}:function(R){return R.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(N){var t=Object.prototype.toString.call(N)==="[object Uint8Array]";return t?N.toString("base64"):btoa(utob(String(N)))},encode=function(N,t){return t?_encode(String(N)).replace(/[+\/]/g,function(y){return y=="+"?"-":"_"}).replace(/=/g,""):_encode(N)},encodeURI=function(N){return encode(N,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(N){switch(N.length){case 4:var t=(7&N.charCodeAt(0))<<18|(63&N.charCodeAt(1))<<12|(63&N.charCodeAt(2))<<6|63&N.charCodeAt(3),y=t-65536;return fromCharCode((y>>>10)+55296)+fromCharCode((y&1023)+56320);case 3:return fromCharCode((15&N.charCodeAt(0))<<12|(63&N.charCodeAt(1))<<6|63&N.charCodeAt(2));default:return fromCharCode((31&N.charCodeAt(0))<<6|63&N.charCodeAt(1))}},btou=function(N){return N.replace(re_btou,cb_btou)},cb_decode=function(N){var t=N.length,y=t%4,p=(t>0?b64tab[N.charAt(0)]<<18:0)|(t>1?b64tab[N.charAt(1)]<<12:0)|(t>2?b64tab[N.charAt(2)]<<6:0)|(t>3?b64tab[N.charAt(3)]:0),S=[fromCharCode(p>>>16),fromCharCode(p>>>8&255),fromCharCode(p&255)];return S.length-=[0,0,2,1][y],S.join("")},_atob=global.atob?function(R){return global.atob(R)}:function(R){return R.replace(/\S{1,4}/g,cb_decode)},atob=function(N){return _atob(String(N).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(R){return(R.constructor===buffer.constructor?R:buffer.from(R,"base64")).toString()}:function(R){return(R.constructor===buffer.constructor?R:new buffer(R,"base64")).toString()}:function(R){return btou(_atob(R))},decode=function(N){return _decode(String(N).replace(/[-_]/g,function(t){return t=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var N=global.Base64;return global.Base64=_Base64,N};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(N){return{value:N,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(R){return encode(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(R,N,t){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";N.exports=p;var y=Object.prototype.hasOwnProperty;function p(S,m,g){if(!S)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return g===void 0&&(g=!0),Object.getOwnPropertyNames(m).forEach(function(d){if(!g&&y.call(S,d))return;var c=Object.getOwnPropertyDescriptor(m,d);Object.defineProperty(S,d,c)}),S}},{}],201:[function(R,N,t){"use strict";function y(){this._types=Object.create(null),this._extensions=Object.create(null);for(var p=0;p<arguments.length;p++)this.define(arguments[p]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}y.prototype.define=function(p,S){for(var m in p){var g=p[m].map(function(c){return c.toLowerCase()});m=m.toLowerCase();for(var f=0;f<g.length;f++){var d=g[f];if(d[0]=="*")continue;if(!S&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+m+'".');this._types[d]=m}if(S||!this._extensions[m]){var d=g[0];this._extensions[m]=d[0]!="*"?d:d.substr(1)}}},y.prototype.getType=function(p){p=String(p);var S=p.replace(/^.*[/\\]/,"").toLowerCase(),m=S.replace(/^.*\./,"").toLowerCase(),g=S.length<p.length,f=m.length<S.length-1;return(f||!g)&&this._types[m]||null},y.prototype.getExtension=function(p){return p=/^\s*([^;\s]*)/.test(p)&&RegExp.$1,p&&this._extensions[p.toLowerCase()]||null},N.exports=y},{}],202:[function(R,N,t){"use strict";var y=R("./Mime");N.exports=new y(R("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(R,N,t){N.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(R,N,t){var y=1e3,p=y*60,S=p*60,m=S*24,g=m*7,f=m*365.25;N.exports=function(i,o){o=o||{};var r=typeof i;if(r==="string"&&i.length>0)return d(i);if(r==="number"&&isFinite(i))return o.long?a(i):c(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function d(i){if(i=String(i),i.length>100)return;var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!o)return;var r=parseFloat(o[1]),l=(o[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"weeks":case"week":case"w":return r*g;case"days":case"day":case"d":return r*m;case"hours":case"hour":case"hrs":case"hr":case"h":return r*S;case"minutes":case"minute":case"mins":case"min":case"m":return r*p;case"seconds":case"second":case"secs":case"sec":case"s":return r*y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function c(i){var o=Math.abs(i);return o>=m?Math.round(i/m)+"d":o>=S?Math.round(i/S)+"h":o>=p?Math.round(i/p)+"m":o>=y?Math.round(i/y)+"s":i+"ms"}function a(i){var o=Math.abs(i);return o>=m?n(i,o,m,"day"):o>=S?n(i,o,S,"hour"):o>=p?n(i,o,p,"minute"):o>=y?n(i,o,y,"second"):i+" ms"}function n(i,o,r,l){var e=o>=r*1.5;return Math.round(i/r)+" "+l+(e?"s":"")}},{}],205:[function(R,N,t){(function(y){function p(f,d){for(var c=0,a=f.length-1;a>=0;a--){var n=f[a];n==="."?f.splice(a,1):n===".."?(f.splice(a,1),c++):c&&(f.splice(a,1),c--)}if(d)for(;c--;c)f.unshift("..");return f}t.resolve=function(){for(var f="",d=!1,c=arguments.length-1;c>=-1&&!d;c--){var a=c>=0?arguments[c]:y.cwd();if(typeof a!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!a)continue;f=a+"/"+f,d=a.charAt(0)==="/"}return f=p(m(f.split("/"),function(n){return!!n}),!d).join("/"),(d?"/":"")+f||"."},t.normalize=function(f){var d=t.isAbsolute(f),c=g(f,-1)==="/";return f=p(m(f.split("/"),function(a){return!!a}),!d).join("/"),!f&&!d&&(f="."),f&&c&&(f+="/"),(d?"/":"")+f},t.isAbsolute=function(f){return f.charAt(0)==="/"},t.join=function(){var f=Array.prototype.slice.call(arguments,0);return t.normalize(m(f,function(d,c){if(typeof d!="string")throw new TypeError("Arguments to path.join must be strings");return d}).join("/"))},t.relative=function(f,d){f=t.resolve(f).substr(1),d=t.resolve(d).substr(1);function c(e){for(var s=0;s<e.length&&!(e[s]!=="");s++);for(var u=e.length-1;u>=0&&!(e[u]!=="");u--);return s>u?[]:e.slice(s,u-s+1)}for(var a=c(f.split("/")),n=c(d.split("/")),i=Math.min(a.length,n.length),o=i,r=0;r<i;r++)if(a[r]!==n[r]){o=r;break}for(var l=[],r=o;r<a.length;r++)l.push("..");return l=l.concat(n.slice(o)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(f){if(typeof f!="string"&&(f=f+""),f.length===0)return".";for(var d=f.charCodeAt(0),c=d===47,a=-1,n=!0,i=f.length-1;i>=1;--i)if(d=f.charCodeAt(i),d===47){if(!n){a=i;break}}else n=!1;return a===-1?c?"/":".":c&&a===1?"/":f.slice(0,a)};function S(f){typeof f!="string"&&(f=f+"");var d=0,c=-1,a=!0,n;for(n=f.length-1;n>=0;--n)if(f.charCodeAt(n)===47){if(!a){d=n+1;break}}else c===-1&&(a=!1,c=n+1);return c===-1?"":f.slice(d,c)}t.basename=function(f,d){var c=S(f);return d&&c.substr(-1*d.length)===d&&(c=c.substr(0,c.length-d.length)),c},t.extname=function(f){typeof f!="string"&&(f=f+"");for(var d=-1,c=0,a=-1,n=!0,i=0,o=f.length-1;o>=0;--o){var r=f.charCodeAt(o);if(r===47){if(!n){c=o+1;break}continue}a===-1&&(n=!1,a=o+1),r===46?d===-1?d=o:i!==1&&(i=1):d!==-1&&(i=-1)}return d===-1||a===-1||i===0||i===1&&d===a-1&&d===c+1?"":f.slice(d,a)};function m(f,d){if(f.filter)return f.filter(d);for(var c=[],a=0;a<f.length;a++)d(f[a],a,f)&&c.push(f[a]);return c}var g="ab".substr(-1)==="b"?function(f,d,c){return f.substr(d,c)}:function(f,d,c){return d<0&&(d=f.length+d),f.substr(d,c)}}).call(this,R("_process"))},{_process:208}],206:[function(R,N,t){(function(y){/*!
|
|
|
* Platform.js <https://mths.be/platform>
|
|
|
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
|
|
|
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
|
|
|
* Available under MIT license <https://mths.be/mit>
|
|
|
*/(function(){"use strict";var p={function:!0,object:!0},S=p[typeof window]&&window||this,m=S,g=p[typeof t]&&t,f=p[typeof N]&&N&&!N.nodeType&&N,d=g&&f&&typeof y=="object"&&y;d&&(d.global===d||d.window===d||d.self===d)&&(S=d);var c=Math.pow(2,53)-1,a=/\bOpera/,n=this,i=Object.prototype,o=i.hasOwnProperty,r=i.toString;function l(x){return x=String(x),x.charAt(0).toUpperCase()+x.slice(1)}function e(x,C,I){var L={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return C&&I&&/^Win/i.test(x)&&!/^Windows Phone /i.test(x)&&(L=L[/[\d.]+$/.exec(x)])&&(x="Windows "+L),x=String(x),C&&I&&(x=x.replace(RegExp(C,"i"),I)),x=u(x.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),x}function s(x,C){var I=-1,L=x?x.length:0;if(typeof L=="number"&&L>-1&&L<=c)for(;++I<L;)C(x[I],I,x);else h(x,C)}function u(x){return x=E(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:l(x)}function h(x,C){for(var I in x)o.call(x,I)&&C(x[I],I,x)}function A(x){return x==null?l(x):r.call(x).slice(8,-1)}function v(x,C){var I=x!=null?typeof x[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!x[C]:!0)}function w(x){return String(x).replace(/([ -])(?!$)/g,"$1?")}function b(x,C){var I=null;return s(x,function(L,F){I=C(I,L,F,x)}),I}function E(x){return String(x).replace(/^ +| +$/g,"")}function T(x){var C=S,I=x&&typeof x=="object"&&A(x)!="String";I&&(C=x,x=null);var L=C.navigator||{},F=L.userAgent||"";x||(x=F);var B=I||n==m,P=I?!!L.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(r.toString()),H="Object",z=I?H:"ScriptBridgingProxyObject",M=I?H:"Environment",U=I&&C.java?"JavaPackage":A(C.java),k=I?H:"RuntimeObject",K=/\bJava/.test(U)&&C.java,j=K&&A(C.environment)==M,V=K?"a":"\u03B1",W=K?"b":"\u03B2",X=C.document||{},J=C.operamini||C.opera,de=a.test(de=I&&J?J["[[Class]]"]:A(J))?de:J=null,G,ae=x,Ae=[],me=null,Me=x==F,oe=Me&&J&&typeof J.version=="function"&&J.version(),_e,ee=re([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),ne=ke(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Ge=Ke([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Ee=ce({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),ue=Te(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function re(xe){return b(xe,function(Ye,pt){return Ye||RegExp("\\b"+(pt.pattern||w(pt))+"\\b","i").exec(x)&&(pt.label||pt)})}function ce(xe){return b(xe,function(Ye,pt,nt){return Ye||(pt[Ge]||pt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ge)]||RegExp("\\b"+w(nt)+"(?:\\b|\\w*\\d)","i").exec(x))&&nt})}function ke(xe){return b(xe,function(Ye,pt){return Ye||RegExp("\\b"+(pt.pattern||w(pt))+"\\b","i").exec(x)&&(pt.label||pt)})}function Te(xe){return b(xe,function(Ye,pt){var nt=pt.pattern||w(pt);return!Ye&&(Ye=RegExp("\\b"+nt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(Ye=e(Ye,nt,pt.label||pt)),Ye})}function Ke(xe){return b(xe,function(Ye,pt){var nt=pt.pattern||w(pt);return!Ye&&(Ye=RegExp("\\b"+nt+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+nt+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+nt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((Ye=String(pt.label&&!RegExp(nt,"i").test(pt.label)?pt.label:Ye).split("/"))[1]&&!/[\d.]+/.test(Ye[0])&&(Ye[0]+=" "+Ye[1]),pt=pt.label||pt,Ye=u(Ye[0].replace(RegExp(nt,"i"),pt).replace(RegExp("; *(?:"+pt+"[_-])?","i")," ").replace(RegExp("("+pt+")[-_.]?(\\w)","i"),"$1 $2"))),Ye})}function Ie(xe){return b(xe,function(Ye,pt){return Ye||(RegExp(pt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function se(){return this.description||""}if(ee&&(ee=[ee]),Ee&&!Ge&&(Ge=Ke([Ee])),(G=/\bGoogle TV\b/.exec(Ge))&&(Ge=G[0]),/\bSimulator\b/i.test(x)&&(Ge=(Ge?Ge+" ":"")+"Simulator"),ne=="Opera Mini"&&/\bOPiOS\b/.test(x)&&Ae.push("running in Turbo/Uncompressed mode"),ne=="IE"&&/\blike iPhone OS\b/.test(x)?(G=T(x.replace(/like iPhone OS/,"")),Ee=G.manufacturer,Ge=G.product):/^iP/.test(Ge)?(ne||(ne="Safari"),ue="iOS"+((G=/ OS ([\d_]+)/i.exec(x))?" "+G[1].replace(/_/g,"."):"")):ne=="Konqueror"&&!/buntu/i.test(ue)?ue="Kubuntu":Ee&&Ee!="Google"&&(/Chrome/.test(ne)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(Ge))||/\bAndroid\b/.test(ue)&&/^Chrome/.test(ne)&&/\bVersion\//i.test(x)?(ne="Android Browser",ue=/\bAndroid\b/.test(ue)?ue:"Android"):ne=="Silk"?(/\bMobi/i.test(x)||(ue="Android",Ae.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&Ae.unshift("accelerated")):ne=="PaleMoon"&&(G=/\bFirefox\/([\d.]+)\b/.exec(x))?Ae.push("identifying as Firefox "+G[1]):ne=="Firefox"&&(G=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(ue||(ue="Firefox OS"),Ge||(Ge=G[1])):!ne||(G=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(ne))?(ne&&!Ge&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(G+"/")+8))&&(ne=null),(G=Ge||Ee||ue)&&(Ge||Ee||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ue))&&(ne=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ue)?ue:G)+" Browser")):ne=="Electron"&&(G=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&Ae.push("Chromium "+G),oe||(oe=Ie(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",w(ne),"(?:Firefox|Minefield|NetFront)"])),(G=ee=="iCab"&&parseFloat(oe)>3&&"WebKit"||/\bOpera\b/.test(ne)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(ee)&&"WebKit"||!ee&&/\bMSIE\b/i.test(x)&&(ue=="Mac OS"?"Tasman":"Trident")||ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ne)&&"NetFront")&&(ee=[G]),ne=="IE"&&(G=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(ne+=" Mobile",ue="Windows Phone "+(/\+$/.test(G)?G:G+".x"),Ae.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(ne="IE Mobile",ue="Windows Phone 8.x",Ae.unshift("desktop mode"),oe||(oe=(/\brv:([\d.]+)/.exec(x)||0)[1])):ne!="IE"&&ee=="Trident"&&(G=/\brv:([\d.]+)/.exec(x))&&(ne&&Ae.push("identifying as "+ne+(oe?" "+oe:"")),ne="IE",oe=G[1]),Me){if(v(C,"global"))if(K&&(G=K.lang.System,ae=G.getProperty("os.arch"),ue=ue||G.getProperty("os.name")+" "+G.getProperty("os.version")),j){try{oe=C.require("ringo/engine").version.join("."),ne="RingoJS"}catch(xe){(G=C.system)&&G.global.system==C.system&&(ne="Narwhal",ue||(ue=G[0].os||null))}ne||(ne="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(G=C.process)&&(typeof G.versions=="object"&&(typeof G.versions.electron=="string"?(Ae.push("Node "+G.versions.node),ne="Electron",oe=G.versions.electron):typeof G.versions.nw=="string"&&(Ae.push("Chromium "+oe,"Node "+G.versions.node),ne="NW.js",oe=G.versions.nw)),ne||(ne="Node.js",ae=G.arch,ue=G.platform,oe=/[\d.]+/.exec(G.version),oe=oe?oe[0]:null));else A(G=C.runtime)==z?(ne="Adobe AIR",ue=G.flash.system.Capabilities.os):A(G=C.phantom)==k?(ne="PhantomJS",oe=(G=G.version||null)&&G.major+"."+G.minor+"."+G.patch):typeof X.documentMode=="number"&&(G=/\bTrident\/(\d+)/i.exec(x))?(oe=[oe,X.documentMode],(G=+G[1]+4)!=oe[1]&&(Ae.push("IE "+oe[1]+" mode"),ee&&(ee[1]=""),oe[1]=G),oe=ne=="IE"?String(oe[1].toFixed(1)):oe[0]):typeof X.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ne)&&(Ae.push("masking as "+ne+" "+oe),ne="IE",oe="11.0",ee=["Trident"],ue="Windows");ue=ue&&u(ue)}if(oe&&(G=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(oe)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Me&&L.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(me=/b/i.test(G)?"beta":"alpha",oe=oe.replace(RegExp(G+"\\+?$"),"")+(me=="beta"?W:V)+(/\d+\+?/.exec(G)||"")),ne=="Fennec"||ne=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(ue))ne="Firefox Mobile";else if(ne=="Maxthon"&&oe)oe=oe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ge))Ge=="Xbox 360"&&(ue=null),Ge=="Xbox 360"&&/\bIEMobile\b/.test(x)&&Ae.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ne)||ne&&!Ge&&!/Browser|Mobi/.test(ne))&&(ue=="Windows CE"||/Mobi/i.test(x)))ne+=" Mobile";else if(ne=="IE"&&Me)try{C.external===null&&Ae.unshift("platform preview")}catch(xe){Ae.unshift("embedded")}else(/\bBlackBerry\b/.test(Ge)||/\bBB10\b/.test(x))&&(G=(RegExp(Ge.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||oe)?(G=[G,/BB10/.test(x)],ue=(G[1]?(Ge=null,Ee="BlackBerry"):"Device Software")+" "+G[0],oe=null):this!=h&&Ge!="Wii"&&(Me&&J||/Opera/.test(ne)&&/\b(?:MSIE|Firefox)\b/i.test(x)||ne=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ue)||ne=="IE"&&(ue&&!/^Win/.test(ue)&&oe>5.5||/\bWindows XP\b/.test(ue)&&oe>8||oe==8&&!/\bTrident\b/.test(x)))&&!a.test(G=T.call(h,x.replace(a,"")+";"))&&G.name&&(G="ing as "+G.name+((G=G.version)?" "+G:""),a.test(ne)?(/\bIE\b/.test(G)&&ue=="Mac OS"&&(ue=null),G="identify"+G):(G="mask"+G,de?ne=u(de.replace(/([a-z])([A-Z])/g,"$1 $2")):ne="Opera",/\bIE\b/.test(G)&&(ue=null),Me||(oe=null)),ee=["Presto"],Ae.push(G));(G=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(G=[parseFloat(G.replace(/\.(\d)$/,".0$1")),G],ne=="Safari"&&G[1].slice(-1)=="+"?(ne="WebKit Nightly",me="alpha",oe=G[1].slice(0,-1)):(oe==G[1]||oe==(G[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(oe=null),G[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],G[0]==537.36&&G[2]==537.36&&parseFloat(G[1])>=28&&ee=="WebKit"&&(ee=["Blink"]),!Me||!P&&!G[1]?(ee&&(ee[1]="like Safari"),G=(G=G[0],G<400?1:G<500?2:G<526?3:G<533?4:G<534?"4+":G<535?5:G<537?6:G<538?7:G<601?8:"8")):(ee&&(ee[1]="like Chrome"),G=G[1]||(G=G[0],G<530?1:G<532?2:G<532.05?3:G<533?4:G<534.03?5:G<534.07?6:G<534.1?7:G<534.13?8:G<534.16?9:G<534.24?10:G<534.3?11:G<535.01?12:G<535.02?"13+":G<535.07?15:G<535.11?16:G<535.19?17:G<536.05?18:G<536.1?19:G<537.01?20:G<537.11?"21+":G<537.13?23:G<537.18?24:G<537.24?25:G<537.36?26:ee!="Blink"?"27":"28")),ee&&(ee[1]+=" "+(G+=typeof G=="number"?".x":/[.+]/.test(G)?"":"+")),ne=="Safari"&&(!oe||parseInt(oe)>45)&&(oe=G)),ne=="Opera"&&(G=/\bzbov|zvav$/.exec(ue))?(ne+=" ",Ae.unshift("desktop mode"),G=="zvav"?(ne+="Mini",oe=null):ne+="Mobile",ue=ue.replace(RegExp(" *"+G+"$"),"")):ne=="Safari"&&/\bChrome\b/.exec(ee&&ee[1])&&(Ae.unshift("desktop mode"),ne="Chrome Mobile",oe=null,/\bOS X\b/.test(ue)?(Ee="Apple",ue="iOS 4.3+"):ue=null),oe&&oe.indexOf(G=/[\d.]+$/.exec(ue))==0&&x.indexOf("/"+G+"-")>-1&&(ue=E(ue.replace(G,""))),ee&&!/\b(?:Avant|Nook)\b/.test(ne)&&(/Browser|Lunascape|Maxthon/.test(ne)||ne!="Safari"&&/^iOS/.test(ue)&&/\bSafari\b/.test(ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ne)&&ee[1])&&((G=ee[ee.length-1])&&Ae.push(G)),Ae.length&&(Ae=["("+Ae.join("; ")+")"]),Ee&&Ge&&Ge.indexOf(Ee)<0&&Ae.push("on "+Ee),Ge&&Ae.push((/^on /.test(Ae[Ae.length-1])?"":"on ")+Ge),ue&&(G=/ ([\d.+]+)$/.exec(ue),_e=G&&ue.charAt(ue.length-G[0].length-1)=="/",ue={architecture:32,family:G&&!_e?ue.replace(G[0],""):ue,version:G?G[1]:null,toString:function(){var Ye=this.version;return this.family+(Ye&&!_e?" "+Ye:"")+(this.architecture==64?" 64-bit":"")}}),(G=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ae))&&!/\bi686\b/i.test(ae)?(ue&&(ue.architecture=64,ue.family=ue.family.replace(RegExp(" *"+G),"")),ne&&(/\bWOW64\b/i.test(x)||Me&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(x))&&Ae.unshift("32-bit")):ue&&/^OS X/.test(ue.family)&&ne=="Chrome"&&parseFloat(oe)>=39&&(ue.architecture=64),x||(x=null);var ye={};return ye.description=x,ye.layout=ee&&ee[0],ye.manufacturer=Ee,ye.name=ne,ye.prerelease=me,ye.product=Ge,ye.ua=x,ye.version=ne&&oe,ye.os=ue||{architecture:null,family:null,version:null,toString:function(){return"null"}},ye.parse=T,ye.toString=se,ye.version&&Ae.unshift(oe),ye.name&&Ae.unshift(ne),ue&&ne&&!(ue==String(ue).split(" ")[0]&&(ue==ne.split(" ")[0]||Ge))&&Ae.push(Ge?"("+ue+")":"on "+ue),Ae.length&&(ye.description=Ae.join(" ")),ye}var _=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(S.platform=_,define(function(){return _})):g&&f?h(_,function(x,C){g[C]=x}):S.platform=_}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(R,N,t){(function(y){"use strict";typeof y=="undefined"||!y.version||y.version.indexOf("v0.")===0||y.version.indexOf("v1.")===0&&y.version.indexOf("v1.8.")!==0?N.exports={nextTick:p}:N.exports=y;function p(S,m,g,f){if(typeof S!="function")throw new TypeError('"callback" argument must be a function');var d=arguments.length,c,a;switch(d){case 0:case 1:return y.nextTick(S);case 2:return y.nextTick(function(){S.call(null,m)});case 3:return y.nextTick(function(){S.call(null,m,g)});case 4:return y.nextTick(function(){S.call(null,m,g,f)});default:for(c=new Array(d-1),a=0;a<c.length;)c[a++]=arguments[a];return y.nextTick(function(){S.apply(null,c)})}}}).call(this,R("_process"))},{_process:208}],208:[function(R,N,t){var y=N.exports={},p,S;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?p=setTimeout:p=m}catch(s){p=m}try{typeof clearTimeout=="function"?S=clearTimeout:S=g}catch(s){S=g}})();function f(s){if(p===setTimeout)return setTimeout(s,0);if((p===m||!p)&&setTimeout)return p=setTimeout,setTimeout(s,0);try{return p(s,0)}catch(u){try{return p.call(null,s,0)}catch(h){return p.call(this,s,0)}}}function d(s){if(S===clearTimeout)return clearTimeout(s);if((S===g||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(s);try{return S(s)}catch(u){try{return S.call(null,s)}catch(h){return S.call(this,s)}}}var c=[],a=!1,n,i=-1;function o(){if(!a||!n)return;a=!1,n.length?c=n.concat(c):i=-1,c.length&&r()}function r(){if(a)return;var s=f(o);a=!0;for(var u=c.length;u;){for(n=c,c=[];++i<u;)n&&n[i].run();i=-1,u=c.length}n=null,a=!1,d(s)}y.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var h=1;h<arguments.length;h++)u[h-1]=arguments[h];c.push(new l(s,u)),c.length===1&&!a&&f(r)};function l(s,u){this.fun=s,this.array=u}l.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={};function e(){}y.on=e,y.addListener=e,y.once=e,y.off=e,y.removeListener=e,y.removeAllListeners=e,y.emit=e,y.prependListener=e,y.prependOnceListener=e,y.listeners=function(s){return[]},y.binding=function(s){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(s){throw new Error("process.chdir is not supported")},y.umask=function(){return 0}},{}],209:[function(R,N,t){(function(y){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(p){var S=typeof t=="object"&&t&&!t.nodeType&&t,m=typeof N=="object"&&N&&!N.nodeType&&N,g=typeof y=="object"&&y;(g.global===g||g.window===g||g.self===g)&&(p=g);var f,d=2147483647,c=36,a=1,n=26,i=38,o=700,r=72,l=128,e="-",s=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=c-a,w=Math.floor,b=String.fromCharCode,E;function T(U){throw new RangeError(A[U])}function _(U,k){for(var K=U.length,j=[];K--;)j[K]=k(U[K]);return j}function x(U,k){var K=U.split("@"),j="";K.length>1&&(j=K[0]+"@",U=K[1]),U=U.replace(h,".");var V=U.split("."),W=_(V,k).join(".");return j+W}function C(U){for(var k=[],K=0,j=U.length,V,W;K<j;)V=U.charCodeAt(K++),V>=55296&&V<=56319&&K<j?(W=U.charCodeAt(K++),(W&64512)==56320?k.push(((V&1023)<<10)+(W&1023)+65536):(k.push(V),K--)):k.push(V);return k}function I(U){return _(U,function(k){var K="";return k>65535&&(k-=65536,K+=b(k>>>10&1023|55296),k=56320|k&1023),K+=b(k),K}).join("")}function L(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:c}function F(U,k){return U+22+75*(U<26)-((k!=0)<<5)}function B(U,k,K){var j=0;for(U=K?w(U/o):U>>1,U+=w(U/k);U>v*n>>1;j+=c)U=w(U/v);return w(j+(v+1)*U/(U+i))}function P(U){var k=[],K=U.length,j,V=0,W=l,X=r,J,de,G,ae,Ae,me,Me,oe,_e;for(J=U.lastIndexOf(e),J<0&&(J=0),de=0;de<J;++de)U.charCodeAt(de)>=128&&T("not-basic"),k.push(U.charCodeAt(de));for(G=J>0?J+1:0;G<K;){for(ae=V,Ae=1,me=c;!(G>=K&&T("invalid-input"),Me=L(U.charCodeAt(G++)),(Me>=c||Me>w((d-V)/Ae))&&T("overflow"),V+=Me*Ae,oe=me<=X?a:me>=X+n?n:me-X,Me<oe);me+=c)_e=c-oe,Ae>w(d/_e)&&T("overflow"),Ae*=_e;j=k.length+1,X=B(V-ae,j,ae==0),w(V/j)>d-W&&T("overflow"),W+=w(V/j),V%=j,k.splice(V++,0,W)}return I(k)}function H(U){var k,K,j,V,W,X,J,de,G,ae,Ae,me=[],Me,oe,_e,ee;for(U=C(U),Me=U.length,k=l,K=0,W=r,X=0;X<Me;++X)Ae=U[X],Ae<128&&me.push(b(Ae));for(j=V=me.length,V&&me.push(e);j<Me;){for(J=d,X=0;X<Me;++X)Ae=U[X],Ae>=k&&Ae<J&&(J=Ae);for(oe=j+1,J-k>w((d-K)/oe)&&T("overflow"),K+=(J-k)*oe,k=J,X=0;X<Me;++X)if(Ae=U[X],Ae<k&&++K>d&&T("overflow"),Ae==k){for(de=K,G=c;!(ae=G<=W?a:G>=W+n?n:G-W,de<ae);G+=c)ee=de-ae,_e=c-ae,me.push(b(F(ae+ee%_e,0))),de=w(ee/_e);me.push(b(F(de,0))),W=B(K,oe,j==V),K=0,++j}++K,++k}return me.join("")}function z(U){return x(U,function(k){return s.test(k)?P(k.slice(4).toLowerCase()):k})}function M(U){return x(U,function(k){return u.test(k)?"xn--"+H(k):k})}if(f={version:"1.4.1",ucs2:{decode:C,encode:I},decode:P,encode:H,toASCII:M,toUnicode:z},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return f});else if(S&&m)if(N.exports==S)m.exports=f;else for(E in f)f.hasOwnProperty(E)&&(S[E]=f[E]);else p.punycode=f})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(R,N,t){"use strict";function y(S,m){return Object.prototype.hasOwnProperty.call(S,m)}N.exports=function(S,m,g,f){m=m||"&",g=g||"=";var d={};if(typeof S!="string"||S.length===0)return d;var c=/\+/g;S=S.split(m);var a=1e3;f&&typeof f.maxKeys=="number"&&(a=f.maxKeys);var n=S.length;a>0&&n>a&&(n=a);for(var i=0;i<n;++i){var o=S[i].replace(c,"%20"),r=o.indexOf(g),l,e,s,u;r>=0?(l=o.substr(0,r),e=o.substr(r+1)):(l=o,e=""),s=decodeURIComponent(l),u=decodeURIComponent(e),y(d,s)?p(d[s])?d[s].push(u):d[s]=[d[s],u]:d[s]=u}return d};var p=Array.isArray||function(S){return Object.prototype.toString.call(S)==="[object Array]"}},{}],211:[function(R,N,t){"use strict";var y=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};N.exports=function(g,f,d,c){return f=f||"&",d=d||"=",g===null&&(g=void 0),typeof g=="object"?S(m(g),function(a){var n=encodeURIComponent(y(a))+d;return p(g[a])?S(g[a],function(i){return n+encodeURIComponent(y(i))}).join(f):n+encodeURIComponent(y(g[a]))}).join(f):c?encodeURIComponent(y(c))+d+encodeURIComponent(y(g)):""};var p=Array.isArray||function(g){return Object.prototype.toString.call(g)==="[object Array]"};function S(g,f){if(g.map)return g.map(f);for(var d=[],c=0;c<g.length;c++)d.push(f(g[c],c));return d}var m=Object.keys||function(g){var f=[];for(var d in g)Object.prototype.hasOwnProperty.call(g,d)&&f.push(d);return f}},{}],212:[function(R,N,t){"use strict";t.decode=t.parse=R("./decode"),t.encode=t.stringify=R("./encode")},{"./decode":210,"./encode":211}],213:[function(R,N,t){N.exports=R("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=g(y),S=R("babel-runtime/core-js/object/keys"),m=g(S);function g(u){return u&&u.__esModule?u:{default:u}}var f=R("process-nextick-args"),d=m.default||function(u){var h=[];for(var A in u)h.push(A);return h};N.exports=l;var c=(0,p.default)(R("core-util-is"));c.inherits=R("inherits");var a=R("./_stream_readable"),n=R("./_stream_writable");c.inherits(l,a);for(var i=d(n.prototype),o=0;o<i.length;o++){var r=i[o];l.prototype[r]||(l.prototype[r]=n.prototype[r])}function l(u){if(!(this instanceof l))return new l(u);a.call(this,u),n.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",e)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function e(){if(this.allowHalfOpen||this._writableState.ended)return;f.nextTick(s,this)}function s(u){u.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(h){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=h,this._writableState.destroyed=h}}),l.prototype._destroy=function(u,h){this.push(null),this.end(),f.nextTick(h,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(d){return d&&d.__esModule?d:{default:d}}N.exports=f;var m=R("./_stream_transform"),g=(0,p.default)(R("core-util-is"));g.inherits=R("inherits"),g.inherits(f,m);function f(d){if(!(this instanceof f))return new f(d);m.call(this,d)}f.prototype._transform=function(d,c,a){a(null,d)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(R,N,t){(function(y,p){"use strict";var S=R("babel-runtime/core-js/object/get-prototype-of"),m=d(S),g=R("babel-runtime/core-js/object/create"),f=d(g);function d(ee){return ee&&ee.__esModule?ee:{default:ee}}var c=R("process-nextick-args");N.exports=C;var a=R("isarray"),n;C.ReadableState=x;var i=R("events").EventEmitter,o=function(ne,Ge){return ne.listeners(Ge).length},r=R("./internal/streams/stream"),l=R("safe-buffer").Buffer,e=p.Uint8Array||function(){};function s(ee){return l.from(ee)}function u(ee){return l.isBuffer(ee)||ee instanceof e}var h=(0,f.default)(R("core-util-is"));h.inherits=R("inherits");var A=R("util"),v=void 0;A&&A.debuglog?v=A.debuglog("stream"):v=function(){};var w=R("./internal/streams/BufferList"),b=R("./internal/streams/destroy"),E;h.inherits(C,r);var T=["error","close","destroy","pause","resume"];function _(ee,ne,Ge){if(typeof ee.prependListener=="function")return ee.prependListener(ne,Ge);!ee._events||!ee._events[ne]?ee.on(ne,Ge):a(ee._events[ne])?ee._events[ne].unshift(Ge):ee._events[ne]=[Ge,ee._events[ne]]}function x(ee,ne){n=n||R("./_stream_duplex"),ee=ee||{};var Ge=ne instanceof n;this.objectMode=!!ee.objectMode,Ge&&(this.objectMode=this.objectMode||!!ee.readableObjectMode);var Ee=ee.highWaterMark,ue=ee.readableHighWaterMark,re=this.objectMode?16:16*1024;Ee||Ee===0?this.highWaterMark=Ee:Ge&&(ue||ue===0)?this.highWaterMark=ue:this.highWaterMark=re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(E||(E=R("string_decoder/").StringDecoder),this.decoder=new E(ee.encoding),this.encoding=ee.encoding)}function C(ee){if(n=n||R("./_stream_duplex"),!(this instanceof C))return new C(ee);this._readableState=new x(ee,this),this.readable=!0,ee&&(typeof ee.read=="function"&&(this._read=ee.read),typeof ee.destroy=="function"&&(this._destroy=ee.destroy)),r.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ne){if(!this._readableState)return;this._readableState.destroyed=ne}}),C.prototype.destroy=b.destroy,C.prototype._undestroy=b.undestroy,C.prototype._destroy=function(ee,ne){this.push(null),ne(ee)},C.prototype.push=function(ee,ne){var Ge=this._readableState,Ee;return Ge.objectMode?Ee=!0:typeof ee=="string"&&(ne=ne||Ge.defaultEncoding,ne!==Ge.encoding&&(ee=l.from(ee,ne),ne=""),Ee=!0),I(this,ee,ne,!1,Ee)},C.prototype.unshift=function(ee){return I(this,ee,null,!0,!1)};function I(ee,ne,Ge,Ee,ue){var re=ee._readableState;if(ne===null)re.reading=!1,M(ee,re);else{var ce;ue||(ce=F(re,ne)),ce?ee.emit("error",ce):re.objectMode||ne&&ne.length>0?(typeof ne!="string"&&!re.objectMode&&(0,m.default)(ne)!==l.prototype&&(ne=s(ne)),Ee?re.endEmitted?ee.emit("error",new Error("stream.unshift() after end event")):L(ee,re,ne,!0):re.ended?ee.emit("error",new Error("stream.push() after EOF")):(re.reading=!1,re.decoder&&!Ge?(ne=re.decoder.write(ne),re.objectMode||ne.length!==0?L(ee,re,ne,!1):K(ee,re)):L(ee,re,ne,!1))):Ee||(re.reading=!1)}return B(re)}function L(ee,ne,Ge,Ee){ne.flowing&&ne.length===0&&!ne.sync?(ee.emit("data",Ge),ee.read(0)):(ne.length+=ne.objectMode?1:Ge.length,Ee?ne.buffer.unshift(Ge):ne.buffer.push(Ge),ne.needReadable&&U(ee)),K(ee,ne)}function F(ee,ne){var Ge;return!u(ne)&&typeof ne!="string"&&ne!==void 0&&!ee.objectMode&&(Ge=new TypeError("Invalid non-string/buffer chunk")),Ge}function B(ee){return!ee.ended&&(ee.needReadable||ee.length<ee.highWaterMark||ee.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(ee){return E||(E=R("string_decoder/").StringDecoder),this._readableState.decoder=new E(ee),this._readableState.encoding=ee,this};var P=8388608;function H(ee){return ee>=P?ee=P:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}function z(ee,ne){return ee<=0||ne.length===0&&ne.ended?0:ne.objectMode?1:ee!==ee?ne.flowing&&ne.length?ne.buffer.head.data.length:ne.length:(ee>ne.highWaterMark&&(ne.highWaterMark=H(ee)),ee<=ne.length?ee:ne.ended?ne.length:(ne.needReadable=!0,0))}C.prototype.read=function(ee){v("read",ee),ee=parseInt(ee,10);var ne=this._readableState,Ge=ee;if(ee!==0&&(ne.emittedReadable=!1),ee===0&&ne.needReadable&&(ne.length>=ne.highWaterMark||ne.ended))return v("read: emitReadable",ne.length,ne.ended),ne.length===0&&ne.ended?Me(this):U(this),null;if(ee=z(ee,ne),ee===0&&ne.ended)return ne.length===0&&Me(this),null;var Ee=ne.needReadable;v("need readable",Ee),(ne.length===0||ne.length-ee<ne.highWaterMark)&&(Ee=!0,v("length less than watermark",Ee)),ne.ended||ne.reading?(Ee=!1,v("reading or ended",Ee)):Ee&&(v("do read"),ne.reading=!0,ne.sync=!0,ne.length===0&&(ne.needReadable=!0),this._read(ne.highWaterMark),ne.sync=!1,ne.reading||(ee=z(Ge,ne)));var ue;return ee>0?ue=G(ee,ne):ue=null,ue===null?(ne.needReadable=!0,ee=0):ne.length-=ee,ne.length===0&&(ne.ended||(ne.needReadable=!0),Ge!==ee&&ne.ended&&Me(this)),ue!==null&&this.emit("data",ue),ue};function M(ee,ne){if(ne.ended)return;if(ne.decoder){var Ge=ne.decoder.end();Ge&&Ge.length&&(ne.buffer.push(Ge),ne.length+=ne.objectMode?1:Ge.length)}ne.ended=!0,U(ee)}function U(ee){var ne=ee._readableState;ne.needReadable=!1,ne.emittedReadable||(v("emitReadable",ne.flowing),ne.emittedReadable=!0,ne.sync?c.nextTick(k,ee):k(ee))}function k(ee){v("emit readable"),ee.emit("readable"),de(ee)}function K(ee,ne){ne.readingMore||(ne.readingMore=!0,c.nextTick(j,ee,ne))}function j(ee,ne){for(var Ge=ne.length;!ne.reading&&!ne.flowing&&!ne.ended&&ne.length<ne.highWaterMark&&!(v("maybeReadMore read 0"),ee.read(0),Ge===ne.length);)Ge=ne.length;ne.readingMore=!1}C.prototype._read=function(ee){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(ee,ne){var Ge=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=ee;break;case 1:Ee.pipes=[Ee.pipes,ee];break;default:Ee.pipes.push(ee);break}Ee.pipesCount+=1,v("pipe count=%d opts=%j",Ee.pipesCount,ne);var ue=(!ne||ne.end!==!1)&&ee!==y.stdout&&ee!==y.stderr,re=ue?ke:nt;Ee.endEmitted?c.nextTick(re):Ge.once("end",re),ee.on("unpipe",ce);function ce(Oe,vt){v("onunpipe"),Oe===Ge&&(vt&&vt.hasUnpiped===!1&&(vt.hasUnpiped=!0,Ie()))}function ke(){v("onend"),ee.end()}var Te=V(Ge);ee.on("drain",Te);var Ke=!1;function Ie(){v("cleanup"),ee.removeListener("close",Ye),ee.removeListener("finish",pt),ee.removeListener("drain",Te),ee.removeListener("error",xe),ee.removeListener("unpipe",ce),Ge.removeListener("end",ke),Ge.removeListener("end",nt),Ge.removeListener("data",ye),Ke=!0,Ee.awaitDrain&&(!ee._writableState||ee._writableState.needDrain)&&Te()}var se=!1;Ge.on("data",ye);function ye(Oe){v("ondata"),se=!1;var vt=ee.write(Oe);vt===!1&&!se&&((Ee.pipesCount===1&&Ee.pipes===ee||Ee.pipesCount>1&&_e(Ee.pipes,ee)!==-1)&&!Ke&&(v("false write response, pause",Ge._readableState.awaitDrain),Ge._readableState.awaitDrain++,se=!0),Ge.pause())}function xe(Oe){v("onerror",Oe),nt(),ee.removeListener("error",xe),o(ee,"error")===0&&ee.emit("error",Oe)}_(ee,"error",xe);function Ye(){ee.removeListener("finish",pt),nt()}ee.once("close",Ye);function pt(){v("onfinish"),ee.removeListener("close",Ye),nt()}ee.once("finish",pt);function nt(){v("unpipe"),Ge.unpipe(ee)}return ee.emit("pipe",Ge),Ee.flowing||(v("pipe resume"),Ge.resume()),ee};function V(ee){return function(){var ne=ee._readableState;v("pipeOnDrain",ne.awaitDrain),ne.awaitDrain&&ne.awaitDrain--,ne.awaitDrain===0&&o(ee,"data")&&(ne.flowing=!0,de(ee))}}C.prototype.unpipe=function(ee){var ne=this._readableState,Ge={hasUnpiped:!1};if(ne.pipesCount===0)return this;if(ne.pipesCount===1)return ee&&ee!==ne.pipes?this:(ee||(ee=ne.pipes),ne.pipes=null,ne.pipesCount=0,ne.flowing=!1,ee&&ee.emit("unpipe",this,Ge),this);if(!ee){var Ee=ne.pipes,ue=ne.pipesCount;ne.pipes=null,ne.pipesCount=0,ne.flowing=!1;for(var re=0;re<ue;re++)Ee[re].emit("unpipe",this,Ge);return this}var ce=_e(ne.pipes,ee);return ce===-1?this:(ne.pipes.splice(ce,1),ne.pipesCount-=1,ne.pipesCount===1&&(ne.pipes=ne.pipes[0]),ee.emit("unpipe",this,Ge),this)},C.prototype.on=function(ee,ne){var Ge=r.prototype.on.call(this,ee,ne);if(ee==="data")this._readableState.flowing!==!1&&this.resume();else if(ee==="readable"){var Ee=this._readableState;!Ee.endEmitted&&!Ee.readableListening&&(Ee.readableListening=Ee.needReadable=!0,Ee.emittedReadable=!1,Ee.reading?Ee.length&&U(this):c.nextTick(W,this))}return Ge},C.prototype.addListener=C.prototype.on;function W(ee){v("readable nexttick read 0"),ee.read(0)}C.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(v("resume"),ee.flowing=!0,X(this,ee)),this};function X(ee,ne){ne.resumeScheduled||(ne.resumeScheduled=!0,c.nextTick(J,ee,ne))}function J(ee,ne){ne.reading||(v("resume read 0"),ee.read(0)),ne.resumeScheduled=!1,ne.awaitDrain=0,ee.emit("resume"),de(ee),ne.flowing&&!ne.reading&&ee.read(0)}C.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function de(ee){var ne=ee._readableState;for(v("flow",ne.flowing);ne.flowing&&ee.read()!==null;);}C.prototype.wrap=function(ee){var ne=this,Ge=this._readableState,Ee=!1;ee.on("end",function(){if(v("wrapped end"),Ge.decoder&&!Ge.ended){var ce=Ge.decoder.end();ce&&ce.length&&ne.push(ce)}ne.push(null)}),ee.on("data",function(ce){if(v("wrapped data"),Ge.decoder&&(ce=Ge.decoder.write(ce)),Ge.objectMode&&ce==null)return;if(!Ge.objectMode&&(!ce||!ce.length))return;var ke=ne.push(ce);ke||(Ee=!0,ee.pause())});for(var ue in ee)this[ue]===void 0&&typeof ee[ue]=="function"&&(this[ue]=function(ce){return function(){return ee[ce].apply(ee,arguments)}}(ue));for(var re=0;re<T.length;re++)ee.on(T[re],this.emit.bind(this,T[re]));return this._read=function(ce){v("wrapped _read",ce),Ee&&(Ee=!1,ee.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=G;function G(ee,ne){if(ne.length===0)return null;var Ge;return ne.objectMode?Ge=ne.buffer.shift():!ee||ee>=ne.length?(ne.decoder?Ge=ne.buffer.join(""):ne.buffer.length===1?Ge=ne.buffer.head.data:Ge=ne.buffer.concat(ne.length),ne.buffer.clear()):Ge=ae(ee,ne.buffer,ne.decoder),Ge}function ae(ee,ne,Ge){var Ee;return ee<ne.head.data.length?(Ee=ne.head.data.slice(0,ee),ne.head.data=ne.head.data.slice(ee)):ee===ne.head.data.length?Ee=ne.shift():Ee=Ge?Ae(ee,ne):me(ee,ne),Ee}function Ae(ee,ne){var Ge=ne.head,Ee=1,ue=Ge.data;for(ee-=ue.length;Ge=Ge.next;){var re=Ge.data,ce=ee>re.length?re.length:ee;if(ce===re.length?ue+=re:ue+=re.slice(0,ee),ee-=ce,ee===0){ce===re.length?(++Ee,Ge.next?ne.head=Ge.next:ne.head=ne.tail=null):(ne.head=Ge,Ge.data=re.slice(ce));break}++Ee}return ne.length-=Ee,ue}function me(ee,ne){var Ge=l.allocUnsafe(ee),Ee=ne.head,ue=1;for(Ee.data.copy(Ge),ee-=Ee.data.length;Ee=Ee.next;){var re=Ee.data,ce=ee>re.length?re.length:ee;if(re.copy(Ge,Ge.length-ee,0,ce),ee-=ce,ee===0){ce===re.length?(++ue,Ee.next?ne.head=Ee.next:ne.head=ne.tail=null):(ne.head=Ee,Ee.data=re.slice(ce));break}++ue}return ne.length-=ue,Ge}function Me(ee){var ne=ee._readableState;if(ne.length>0)throw new Error('"endReadable()" called on non-empty stream');ne.endEmitted||(ne.ended=!0,c.nextTick(oe,ne,ee))}function oe(ee,ne){!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,ne.readable=!1,ne.emit("end"))}function _e(ee,ne){for(var Ge=0,Ee=ee.length;Ge<Ee;Ge++)if(ee[Ge]===ne)return Ge;return-1}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(n){return n&&n.__esModule?n:{default:n}}N.exports=d;var m=R("./_stream_duplex"),g=(0,p.default)(R("core-util-is"));g.inherits=R("inherits"),g.inherits(d,m);function f(n,i){var o=this._transformState;o.transforming=!1;var r=o.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));o.writechunk=null,o.writecb=null,i!=null&&this.push(i),r(n);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function d(n){if(!(this instanceof d))return new d(n);m.call(this,n),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,n&&(typeof n.transform=="function"&&(this._transform=n.transform),typeof n.flush=="function"&&(this._flush=n.flush)),this.on("prefinish",c)}function c(){var n=this;typeof this._flush=="function"?this._flush(function(i,o){a(n,i,o)}):a(this,null,null)}d.prototype.push=function(n,i){return this._transformState.needTransform=!1,m.prototype.push.call(this,n,i)},d.prototype._transform=function(n,i,o){throw new Error("_transform() is not implemented")},d.prototype._write=function(n,i,o){var r=this._transformState;if(r.writecb=o,r.writechunk=n,r.writeencoding=i,!r.transforming){var l=this._readableState;(r.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},d.prototype._read=function(n){var i=this._transformState;i.writechunk!==null&&i.writecb&&!i.transforming?(i.transforming=!0,this._transform(i.writechunk,i.writeencoding,i.afterTransform)):i.needTransform=!0},d.prototype._destroy=function(n,i){var o=this;m.prototype._destroy.call(this,n,function(r){i(r),o.emit("close")})};function a(n,i,o){if(i)return n.emit("error",i);if(o!=null&&n.push(o),n._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(n._transformState.transforming)throw new Error("Calling transform done when still transforming");return n.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(R,N,t){(function(y,p){"use strict";var S=R("babel-runtime/core-js/object/define-property"),m=r(S),g=R("babel-runtime/core-js/symbol/has-instance"),f=r(g),d=R("babel-runtime/core-js/symbol"),c=r(d),a=R("babel-runtime/core-js/object/create"),n=r(a),i=R("babel-runtime/core-js/set-immediate"),o=r(i);function r(me){return me&&me.__esModule?me:{default:me}}var l=R("process-nextick-args");N.exports=F;function e(me,Me,oe){this.chunk=me,this.encoding=Me,this.callback=oe,this.next=null}function s(me){var Me=this;this.next=null,this.entry=null,this.finish=function(){Ae(Me,me)}}var u=!y.browser&&["v0.10","v0.9."].indexOf(y.version.slice(0,5))>-1?o.default:l.nextTick,h;F.WritableState=I;var A=(0,n.default)(R("core-util-is"));A.inherits=R("inherits");var v={deprecate:R("util-deprecate")},w=R("./internal/streams/stream"),b=R("safe-buffer").Buffer,E=p.Uint8Array||function(){};function T(me){return b.from(me)}function _(me){return b.isBuffer(me)||me instanceof E}var x=R("./internal/streams/destroy");A.inherits(F,w);function C(){}function I(me,Me){h=h||R("./_stream_duplex"),me=me||{};var oe=Me instanceof h;this.objectMode=!!me.objectMode,oe&&(this.objectMode=this.objectMode||!!me.writableObjectMode);var _e=me.highWaterMark,ee=me.writableHighWaterMark,ne=this.objectMode?16:16*1024;_e||_e===0?this.highWaterMark=_e:oe&&(ee||ee===0)?this.highWaterMark=ee:this.highWaterMark=ne,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ge=me.decodeStrings===!1;this.decodeStrings=!Ge,this.defaultEncoding=me.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ee){K(Me,Ee)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}I.prototype.getBuffer=function(){for(var Me=this.bufferedRequest,oe=[];Me;)oe.push(Me),Me=Me.next;return oe},function(){try{Object.defineProperty(I.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(me){}}();var L;typeof c.default=="function"&&f.default&&typeof Function.prototype[f.default]=="function"?(L=Function.prototype[f.default],(0,m.default)(F,f.default,{value:function(Me){return L.call(this,Me)?!0:this!==F?!1:Me&&Me._writableState instanceof I}})):L=function(Me){return Me instanceof this};function F(me){if(h=h||R("./_stream_duplex"),!L.call(F,this)&&!(this instanceof h))return new F(me);this._writableState=new I(me,this),this.writable=!0,me&&(typeof me.write=="function"&&(this._write=me.write),typeof me.writev=="function"&&(this._writev=me.writev),typeof me.destroy=="function"&&(this._destroy=me.destroy),typeof me.final=="function"&&(this._final=me.final)),w.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function B(me,Me){var oe=new Error("write after end");me.emit("error",oe),l.nextTick(Me,oe)}function P(me,Me,oe,_e){var ee=!0,ne=!1;return oe===null?ne=new TypeError("May not write null values to stream"):typeof oe!="string"&&oe!==void 0&&!Me.objectMode&&(ne=new TypeError("Invalid non-string/buffer chunk")),ne&&(me.emit("error",ne),l.nextTick(_e,ne),ee=!1),ee}F.prototype.write=function(me,Me,oe){var _e=this._writableState,ee=!1,ne=!_e.objectMode&&_(me);return ne&&!b.isBuffer(me)&&(me=T(me)),typeof Me=="function"&&(oe=Me,Me=null),ne?Me="buffer":Me||(Me=_e.defaultEncoding),typeof oe!="function"&&(oe=C),_e.ended?B(this,oe):(ne||P(this,_e,me,oe))&&(_e.pendingcb++,ee=z(this,_e,ne,me,Me,oe)),ee},F.prototype.cork=function(){var me=this._writableState;me.corked++},F.prototype.uncork=function(){var me=this._writableState;me.corked&&(me.corked--,!me.writing&&!me.corked&&!me.finished&&!me.bufferProcessing&&me.bufferedRequest&&W(this,me))},F.prototype.setDefaultEncoding=function(Me){if(typeof Me=="string"&&(Me=Me.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Me+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Me);return this._writableState.defaultEncoding=Me,this};function H(me,Me,oe){return!me.objectMode&&me.decodeStrings!==!1&&typeof Me=="string"&&(Me=b.from(Me,oe)),Me}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z(me,Me,oe,_e,ee,ne){if(!oe){var Ge=H(Me,_e,ee);_e!==Ge&&(oe=!0,ee="buffer",_e=Ge)}var Ee=Me.objectMode?1:_e.length;Me.length+=Ee;var ue=Me.length<Me.highWaterMark;if(ue||(Me.needDrain=!0),Me.writing||Me.corked){var re=Me.lastBufferedRequest;Me.lastBufferedRequest={chunk:_e,encoding:ee,isBuf:oe,callback:ne,next:null},re?re.next=Me.lastBufferedRequest:Me.bufferedRequest=Me.lastBufferedRequest,Me.bufferedRequestCount+=1}else M(me,Me,!1,Ee,_e,ee,ne);return ue}function M(me,Me,oe,_e,ee,ne,Ge){Me.writelen=_e,Me.writecb=Ge,Me.writing=!0,Me.sync=!0,oe?me._writev(ee,Me.onwrite):me._write(ee,ne,Me.onwrite),Me.sync=!1}function U(me,Me,oe,_e,ee){--Me.pendingcb,oe?(l.nextTick(ee,_e),l.nextTick(G,me,Me),me._writableState.errorEmitted=!0,me.emit("error",_e)):(ee(_e),me._writableState.errorEmitted=!0,me.emit("error",_e),G(me,Me))}function k(me){me.writing=!1,me.writecb=null,me.length-=me.writelen,me.writelen=0}function K(me,Me){var oe=me._writableState,_e=oe.sync,ee=oe.writecb;if(k(oe),Me)U(me,oe,_e,Me,ee);else{var ne=X(oe);!ne&&!oe.corked&&!oe.bufferProcessing&&oe.bufferedRequest&&W(me,oe),_e?u(j,me,oe,ne,ee):j(me,oe,ne,ee)}}function j(me,Me,oe,_e){oe||V(me,Me),Me.pendingcb--,_e(),G(me,Me)}function V(me,Me){Me.length===0&&Me.needDrain&&(Me.needDrain=!1,me.emit("drain"))}function W(me,Me){Me.bufferProcessing=!0;var oe=Me.bufferedRequest;if(me._writev&&oe&&oe.next){var _e=Me.bufferedRequestCount,ee=new Array(_e),ne=Me.corkedRequestsFree;ne.entry=oe;for(var Ge=0,Ee=!0;oe;)ee[Ge]=oe,oe.isBuf||(Ee=!1),oe=oe.next,Ge+=1;ee.allBuffers=Ee,M(me,Me,!0,Me.length,ee,"",ne.finish),Me.pendingcb++,Me.lastBufferedRequest=null,ne.next?(Me.corkedRequestsFree=ne.next,ne.next=null):Me.corkedRequestsFree=new s(Me),Me.bufferedRequestCount=0}else{for(;oe;){var ue=oe.chunk,re=oe.encoding,ce=oe.callback,ke=Me.objectMode?1:ue.length;if(M(me,Me,!1,ke,ue,re,ce),oe=oe.next,Me.bufferedRequestCount--,Me.writing)break}oe===null&&(Me.lastBufferedRequest=null)}Me.bufferedRequest=oe,Me.bufferProcessing=!1}F.prototype._write=function(me,Me,oe){oe(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(me,Me,oe){var _e=this._writableState;typeof me=="function"?(oe=me,me=null,Me=null):typeof Me=="function"&&(oe=Me,Me=null),me!=null&&this.write(me,Me),_e.corked&&(_e.corked=1,this.uncork()),!_e.ending&&!_e.finished&&ae(this,_e,oe)};function X(me){return me.ending&&me.length===0&&me.bufferedRequest===null&&!me.finished&&!me.writing}function J(me,Me){me._final(function(oe){Me.pendingcb--,oe&&me.emit("error",oe),Me.prefinished=!0,me.emit("prefinish"),G(me,Me)})}function de(me,Me){!Me.prefinished&&!Me.finalCalled&&(typeof me._final=="function"?(Me.pendingcb++,Me.finalCalled=!0,l.nextTick(J,me,Me)):(Me.prefinished=!0,me.emit("prefinish")))}function G(me,Me){var oe=X(Me);return oe&&(de(me,Me),Me.pendingcb===0&&(Me.finished=!0,me.emit("finish"))),oe}function ae(me,Me,oe){Me.ending=!0,G(me,Me),oe&&(Me.finished?l.nextTick(oe):me.once("finish",oe)),Me.ended=!0,me.writable=!1}function Ae(me,Me,oe){var _e=me.entry;for(me.entry=null;_e;){var ee=_e.callback;Me.pendingcb--,ee(oe),_e=_e.next}Me.corkedRequestsFree?Me.corkedRequestsFree.next=me:Me.corkedRequestsFree=me}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Me){if(!this._writableState)return;this._writableState.destroyed=Me}}),F.prototype.destroy=x.destroy,F.prototype._undestroy=x.undestroy,F.prototype._destroy=function(me,Me){this.end(),Me(me)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(R,N,t){"use strict";function y(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}var p=R("safe-buffer").Buffer,S=R("util");function m(g,f,d){g.copy(f,d)}N.exports=function(){function g(){y(this,g),this.head=null,this.tail=null,this.length=0}return g.prototype.push=function(d){var c={data:d,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length},g.prototype.unshift=function(d){var c={data:d,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length},g.prototype.shift=function(){if(this.length===0)return;var d=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,d},g.prototype.clear=function(){this.head=this.tail=null,this.length=0},g.prototype.join=function(d){if(this.length===0)return"";for(var c=this.head,a=""+c.data;c=c.next;)a+=d+c.data;return a},g.prototype.concat=function(d){if(this.length===0)return p.alloc(0);if(this.length===1)return this.head.data;for(var c=p.allocUnsafe(d>>>0),a=this.head,n=0;a;)m(a.data,c,n),n+=a.data.length,a=a.next;return c},g}(),S&&S.inspect&&S.inspect.custom&&(N.exports.prototype[S.inspect.custom]=function(){var g=S.inspect({length:this.length});return this.constructor.name+" "+g})},{"safe-buffer":228,util:71}],220:[function(R,N,t){"use strict";var y=R("process-nextick-args");function p(g,f){var d=this,c=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return c||a?(f?f(g):g&&(!this._writableState||!this._writableState.errorEmitted)&&y.nextTick(m,this,g),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,function(n){!f&&n?(y.nextTick(m,d,n),d._writableState&&(d._writableState.errorEmitted=!0)):f&&f(n)}),this)}function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(g,f){g.emit("error",f)}N.exports={destroy:p,undestroy:S}},{"process-nextick-args":207}],221:[function(R,N,t){"use strict";N.exports=R("events").EventEmitter},{events:192}],222:[function(R,N,t){N.exports=R("./readable").PassThrough},{"./readable":223}],223:[function(R,N,t){t=N.exports=R("./lib/_stream_readable.js"),t.Stream=t,t.Readable=t,t.Writable=R("./lib/_stream_writable.js"),t.Duplex=R("./lib/_stream_duplex.js"),t.Transform=R("./lib/_stream_transform.js"),t.PassThrough=R("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(R,N,t){N.exports=R("./readable").Transform},{"./readable":223}],225:[function(R,N,t){N.exports=R("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(R,N,t){var y=function(){return this}()||Function("return this")(),p=y.regeneratorRuntime&&Object.getOwnPropertyNames(y).indexOf("regeneratorRuntime")>=0,S=p&&y.regeneratorRuntime;if(y.regeneratorRuntime=void 0,N.exports=R("./runtime"),p)y.regeneratorRuntime=S;else try{delete y.regeneratorRuntime}catch(m){y.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(R,N,t){!function(y){"use strict";var p=Object.prototype,S=p.hasOwnProperty,m,g=typeof Symbol=="function"?Symbol:{},f=g.iterator||"@@iterator",d=g.asyncIterator||"@@asyncIterator",c=g.toStringTag||"@@toStringTag",a=typeof N=="object",n=y.regeneratorRuntime;if(n){a&&(N.exports=n);return}n=y.regeneratorRuntime=a?N.exports:{};function i(z,M,U,k){var K=M&&M.prototype instanceof h?M:h,j=Object.create(K.prototype),V=new B(k||[]);return j._invoke=C(z,U,V),j}n.wrap=i;function o(z,M,U){try{return{type:"normal",arg:z.call(M,U)}}catch(k){return{type:"throw",arg:k}}}var r="suspendedStart",l="suspendedYield",e="executing",s="completed",u={};function h(){}function A(){}function v(){}var w={};w[f]=function(){return this};var b=Object.getPrototypeOf,E=b&&b(b(P([])));E&&E!==p&&S.call(E,f)&&(w=E);var T=v.prototype=h.prototype=Object.create(w);A.prototype=T.constructor=v,v.constructor=A,v[c]=A.displayName="GeneratorFunction";function _(z){["next","throw","return"].forEach(function(M){z[M]=function(U){return this._invoke(M,U)}})}n.isGeneratorFunction=function(z){var M=typeof z=="function"&&z.constructor;return M?M===A||(M.displayName||M.name)==="GeneratorFunction":!1},n.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,v):(z.__proto__=v,c in z||(z[c]="GeneratorFunction")),z.prototype=Object.create(T),z},n.awrap=function(z){return{__await:z}};function x(z){function M(K,j,V,W){var X=o(z[K],z,j);if(X.type==="throw")W(X.arg);else{var J=X.arg,de=J.value;return de&&typeof de=="object"&&S.call(de,"__await")?Promise.resolve(de.__await).then(function(G){M("next",G,V,W)},function(G){M("throw",G,V,W)}):Promise.resolve(de).then(function(G){J.value=G,V(J)},W)}}var U;function k(K,j){function V(){return new Promise(function(W,X){M(K,j,W,X)})}return U=U?U.then(V,V):V()}this._invoke=k}_(x.prototype),x.prototype[d]=function(){return this},n.AsyncIterator=x,n.async=function(z,M,U,k){var K=new x(i(z,M,U,k));return n.isGeneratorFunction(M)?K:K.next().then(function(j){return j.done?j.value:K.next()})};function C(z,M,U){var k=r;return function(j,V){if(k===e)throw new Error("Generator is already running");if(k===s){if(j==="throw")throw V;return H()}for(U.method=j,U.arg=V;;){var W=U.delegate;if(W){var X=I(W,U);if(X){if(X===u)continue;return X}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(k===r)throw k=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);k=e;var J=o(z,M,U);if(J.type==="normal"){if(k=U.done?s:l,J.arg===u)continue;return{value:J.arg,done:U.done}}else J.type==="throw"&&(k=s,U.method="throw",U.arg=J.arg)}}}function I(z,M){var U=z.iterator[M.method];if(U===m){if(M.delegate=null,M.method==="throw"){if(z.iterator.return&&(M.method="return",M.arg=m,I(z,M),M.method==="throw"))return u;M.method="throw",M.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var k=o(U,z.iterator,M.arg);if(k.type==="throw")return M.method="throw",M.arg=k.arg,M.delegate=null,u;var K=k.arg;if(!K)return M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,u;if(K.done)M[z.resultName]=K.value,M.next=z.nextLoc,M.method!=="return"&&(M.method="next",M.arg=m);else return K;return M.delegate=null,u}_(T),T[c]="Generator",T[f]=function(){return this},T.toString=function(){return"[object Generator]"};function L(z){var M={tryLoc:z[0]};1 in z&&(M.catchLoc=z[1]),2 in z&&(M.finallyLoc=z[2],M.afterLoc=z[3]),this.tryEntries.push(M)}function F(z){var M=z.completion||{};M.type="normal",delete M.arg,z.completion=M}function B(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(L,this),this.reset(!0)}n.keys=function(z){var M=[];for(var U in z)M.push(U);return M.reverse(),function k(){for(;M.length;){var K=M.pop();if(K in z)return k.value=K,k.done=!1,k}return k.done=!0,k}};function P(z){if(z){var M=z[f];if(M)return M.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var U=-1,k=function K(){for(;++U<z.length;)if(S.call(z,U))return K.value=z[U],K.done=!1,K;return K.value=m,K.done=!0,K};return k.next=k}}return{next:H}}n.values=P;function H(){return{value:m,done:!0}}B.prototype={constructor:B,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(F),!M)for(var U in this)U.charAt(0)==="t"&&S.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var M=this.tryEntries[0],U=M.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var U=this;function k(J,de){return V.type="throw",V.arg=M,U.next=J,de&&(U.method="next",U.arg=m),!!de}for(var K=this.tryEntries.length-1;K>=0;--K){var j=this.tryEntries[K],V=j.completion;if(j.tryLoc==="root")return k("end");if(j.tryLoc<=this.prev){var W=S.call(j,"catchLoc"),X=S.call(j,"finallyLoc");if(W&&X){if(this.prev<j.catchLoc)return k(j.catchLoc,!0);if(this.prev<j.finallyLoc)return k(j.finallyLoc)}else if(W){if(this.prev<j.catchLoc)return k(j.catchLoc,!0)}else if(X){if(this.prev<j.finallyLoc)return k(j.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(M,U){for(var k=this.tryEntries.length-1;k>=0;--k){var K=this.tryEntries[k];if(K.tryLoc<=this.prev&&S.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var j=K;break}}j&&(M==="break"||M==="continue")&&j.tryLoc<=U&&U<=j.finallyLoc&&(j=null);var V=j?j.completion:{};return V.type=M,V.arg=U,j?(this.method="next",this.next=j.finallyLoc,u):this.complete(V)},complete:function(M,U){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&U&&(this.next=U),u},finish:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var k=this.tryEntries[U];if(k.finallyLoc===M)return this.complete(k.completion,k.afterLoc),F(k),u}},catch:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var k=this.tryEntries[U];if(k.tryLoc===M){var K=k.completion;if(K.type==="throw"){var j=K.arg;F(k)}return j}}throw new Error("illegal catch attempt")},delegateYield:function(M,U,k){return this.delegate={iterator:P(M),resultName:U,nextLoc:k},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(R,N,t){var y=R("buffer"),p=y.Buffer;function S(g,f){for(var d in g)f[d]=g[d]}p.from&&p.alloc&&p.allocUnsafe&&p.allocUnsafeSlow?N.exports=y:(S(y,t),t.Buffer=m);function m(g,f,d){return p(g,f,d)}S(p,m),m.from=function(g,f,d){if(typeof g=="number")throw new TypeError("Argument must not be a number");return p(g,f,d)},m.alloc=function(g,f,d){if(typeof g!="number")throw new TypeError("Argument must be a number");var c=p(g);return f!==void 0?typeof d=="string"?c.fill(f,d):c.fill(f):c.fill(0),c},m.allocUnsafe=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return p(g)},m.allocUnsafeSlow=function(g){if(typeof g!="number")throw new TypeError("Argument must be a number");return y.SlowBuffer(g)}},{buffer:73}],229:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/core-js/string/from-code-point"),S=l(p),m=R("babel-runtime/core-js/json/stringify"),g=l(m),f=R("babel-runtime/helpers/typeof"),d=l(f),c=R("babel-runtime/core-js/object/define-property"),a=l(c),n=R("babel-runtime/core-js/object/keys"),i=l(n),o=R("babel-runtime/core-js/object/create"),r=l(o);function l(e){return e&&e.__esModule?e:{default:e}}(function(e){e.parser=function(re,ce){return new u(re,ce)},e.SAXParser=u,e.SAXStream=T,e.createStream=E,e.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(re,ce){if(!(this instanceof u))return new u(re,ce);var ke=this;A(ke),ke.q=ke.c="",ke.bufferCheckPosition=e.MAX_BUFFER_LENGTH,ke.opt=ce||{},ke.opt.lowercase=ke.opt.lowercase||ke.opt.lowercasetags,ke.looseCase=ke.opt.lowercase?"toLowerCase":"toUpperCase",ke.tags=[],ke.closed=ke.closedRoot=ke.sawRoot=!1,ke.tag=ke.error=null,ke.strict=!!re,ke.noscript=!!(re||ke.opt.noscript),ke.state=j.BEGIN,ke.strictEntities=ke.opt.strictEntities,ke.ENTITIES=ke.strictEntities?(0,r.default)(e.XML_ENTITIES):(0,r.default)(e.ENTITIES),ke.attribList=[],ke.opt.xmlns&&(ke.ns=(0,r.default)(L)),ke.trackPosition=ke.opt.position!==!1,ke.trackPosition&&(ke.position=ke.line=ke.column=0),W(ke,"onready")}r.default||(Object.create=function(re){function ce(){}ce.prototype=re;var ke=new ce;return ke}),i.default||(Object.keys=function(re){var ce=[];for(var ke in re)re.hasOwnProperty(ke)&&ce.push(ke);return ce});function h(re){for(var ce=Math.max(e.MAX_BUFFER_LENGTH,10),ke=0,Te=0,Ke=s.length;Te<Ke;Te++){var Ie=re[s[Te]].length;if(Ie>ce)switch(s[Te]){case"textNode":J(re);break;case"cdata":X(re,"oncdata",re.cdata),re.cdata="";break;case"script":X(re,"onscript",re.script),re.script="";break;default:G(re,"Max buffer length exceeded: "+s[Te])}ke=Math.max(ke,Ie)}var se=e.MAX_BUFFER_LENGTH-ke;re.bufferCheckPosition=se+re.position}function A(re){for(var ce=0,ke=s.length;ce<ke;ce++)re[s[ce]]=""}function v(re){J(re),re.cdata!==""&&(X(re,"oncdata",re.cdata),re.cdata=""),re.script!==""&&(X(re,"onscript",re.script),re.script="")}u.prototype={end:function(){ae(this)},write:ue,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){v(this)}};var w;try{w=R("stream").Stream}catch(re){w=function(){}}var b=e.EVENTS.filter(function(re){return re!=="error"&&re!=="end"});function E(re,ce){return new T(re,ce)}function T(re,ce){if(!(this instanceof T))return new T(re,ce);w.apply(this),this._parser=new u(re,ce),this.writable=!0,this.readable=!0;var ke=this;this._parser.onend=function(){ke.emit("end")},this._parser.onerror=function(Te){ke.emit("error",Te),ke._parser.error=null},this._decoder=null,b.forEach(function(Te){(0,a.default)(ke,"on"+Te,{get:function(){return ke._parser["on"+Te]},set:function(Ie){if(!Ie)return ke.removeAllListeners(Te),ke._parser["on"+Te]=Ie,Ie;ke.on(Te,Ie)},enumerable:!0,configurable:!1})})}T.prototype=(0,r.default)(w.prototype,{constructor:{value:T}}),T.prototype.write=function(re){if(typeof y=="function"&&typeof y.isBuffer=="function"&&y.isBuffer(re)){if(!this._decoder){var ce=R("string_decoder").StringDecoder;this._decoder=new ce("utf8")}re=this._decoder.write(re)}return this._parser.write(re.toString()),this.emit("data",re),!0},T.prototype.end=function(re){return re&&re.length&&this.write(re),this._parser.end(),!0},T.prototype.on=function(re,ce){var ke=this;return!ke._parser["on"+re]&&b.indexOf(re)!==-1&&(ke._parser["on"+re]=function(){var Te=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Te.splice(0,0,re),ke.emit.apply(ke,Te)}),w.prototype.on.call(ke,re,ce)};var _="[CDATA[",x="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:C,xmlns:I},F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,B=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function z(re){return re===" "||re===`
|
|
|
`||re==="\r"||re===" "}function M(re){return re==='"'||re==="'"}function U(re){return re===">"||z(re)}function k(re,ce){return re.test(ce)}function K(re,ce){return!k(re,ce)}var j=0;e.STATE={BEGIN:j++,BEGIN_WHITESPACE:j++,TEXT:j++,TEXT_ENTITY:j++,OPEN_WAKA:j++,SGML_DECL:j++,SGML_DECL_QUOTED:j++,DOCTYPE:j++,DOCTYPE_QUOTED:j++,DOCTYPE_DTD:j++,DOCTYPE_DTD_QUOTED:j++,COMMENT_STARTING:j++,COMMENT:j++,COMMENT_ENDING:j++,COMMENT_ENDED:j++,CDATA:j++,CDATA_ENDING:j++,CDATA_ENDING_2:j++,PROC_INST:j++,PROC_INST_BODY:j++,PROC_INST_ENDING:j++,OPEN_TAG:j++,OPEN_TAG_SLASH:j++,ATTRIB:j++,ATTRIB_NAME:j++,ATTRIB_NAME_SAW_WHITE:j++,ATTRIB_VALUE:j++,ATTRIB_VALUE_QUOTED:j++,ATTRIB_VALUE_CLOSED:j++,ATTRIB_VALUE_UNQUOTED:j++,ATTRIB_VALUE_ENTITY_Q:j++,ATTRIB_VALUE_ENTITY_U:j++,CLOSE_TAG:j++,CLOSE_TAG_SAW_WHITE:j++,SCRIPT:j++,SCRIPT_ENDING:j++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,i.default)(e.ENTITIES).forEach(function(re){var ce=e.ENTITIES[re],ke=typeof ce=="number"?String.fromCharCode(ce):ce;e.ENTITIES[re]=ke});for(var V in e.STATE)e.STATE[e.STATE[V]]=V;j=e.STATE;function W(re,ce,ke){re[ce]&&re[ce](ke)}function X(re,ce,ke){re.textNode&&J(re),W(re,ce,ke)}function J(re){re.textNode=de(re.opt,re.textNode),re.textNode&&W(re,"ontext",re.textNode),re.textNode=""}function de(re,ce){return re.trim&&(ce=ce.trim()),re.normalize&&(ce=ce.replace(/\s+/g," ")),ce}function G(re,ce){return J(re),re.trackPosition&&(ce+=`
|
|
|
Line: `+re.line+`
|
|
|
Column: `+re.column+`
|
|
|
Char: `+re.c),ce=new Error(ce),re.error=ce,W(re,"onerror",ce),re}function ae(re){return re.sawRoot&&!re.closedRoot&&Ae(re,"Unclosed root tag"),re.state!==j.BEGIN&&re.state!==j.BEGIN_WHITESPACE&&re.state!==j.TEXT&&G(re,"Unexpected end"),J(re),re.c="",re.closed=!0,W(re,"onend"),u.call(re,re.strict,re.opt),re}function Ae(re,ce){if((typeof re=="undefined"?"undefined":(0,d.default)(re))!=="object"||!(re instanceof u))throw new Error("bad call to strictFail");re.strict&&G(re,ce)}function me(re){re.strict||(re.tagName=re.tagName[re.looseCase]());var ce=re.tags[re.tags.length-1]||re,ke=re.tag={name:re.tagName,attributes:{}};re.opt.xmlns&&(ke.ns=ce.ns),re.attribList.length=0,X(re,"onopentagstart",ke)}function Me(re,ce){var ke=re.indexOf(":"),Te=ke<0?["",re]:re.split(":"),Ke=Te[0],Ie=Te[1];return ce&&re==="xmlns"&&(Ke="xmlns",Ie=""),{prefix:Ke,local:Ie}}function oe(re){if(re.strict||(re.attribName=re.attribName[re.looseCase]()),re.attribList.indexOf(re.attribName)!==-1||re.tag.attributes.hasOwnProperty(re.attribName)){re.attribName=re.attribValue="";return}if(re.opt.xmlns){var ce=Me(re.attribName,!0),ke=ce.prefix,Te=ce.local;if(ke==="xmlns")if(Te==="xml"&&re.attribValue!==C)Ae(re,"xml: prefix must be bound to "+C+`
|
|
|
Actual: `+re.attribValue);else if(Te==="xmlns"&&re.attribValue!==I)Ae(re,"xmlns: prefix must be bound to "+I+`
|
|
|
Actual: `+re.attribValue);else{var Ke=re.tag,Ie=re.tags[re.tags.length-1]||re;Ke.ns===Ie.ns&&(Ke.ns=(0,r.default)(Ie.ns)),Ke.ns[Te]=re.attribValue}re.attribList.push([re.attribName,re.attribValue])}else re.tag.attributes[re.attribName]=re.attribValue,X(re,"onattribute",{name:re.attribName,value:re.attribValue});re.attribName=re.attribValue=""}function _e(re,ce){if(re.opt.xmlns){var ke=re.tag,Te=Me(re.tagName);ke.prefix=Te.prefix,ke.local=Te.local,ke.uri=ke.ns[Te.prefix]||"",ke.prefix&&!ke.uri&&(Ae(re,"Unbound namespace prefix: "+(0,g.default)(re.tagName)),ke.uri=Te.prefix);var Ke=re.tags[re.tags.length-1]||re;ke.ns&&Ke.ns!==ke.ns&&(0,i.default)(ke.ns).forEach(function(wt){X(re,"onopennamespace",{prefix:wt,uri:ke.ns[wt]})});for(var Ie=0,se=re.attribList.length;Ie<se;Ie++){var ye=re.attribList[Ie],xe=ye[0],Ye=ye[1],pt=Me(xe,!0),nt=pt.prefix,Oe=pt.local,vt=nt===""?"":ke.ns[nt]||"",Ze={name:xe,value:Ye,prefix:nt,local:Oe,uri:vt};nt&&nt!=="xmlns"&&!vt&&(Ae(re,"Unbound namespace prefix: "+(0,g.default)(nt)),Ze.uri=nt),re.tag.attributes[xe]=Ze,X(re,"onattribute",Ze)}re.attribList.length=0}re.tag.isSelfClosing=!!ce,re.sawRoot=!0,re.tags.push(re.tag),X(re,"onopentag",re.tag),ce||(!re.noscript&&re.tagName.toLowerCase()==="script"?re.state=j.SCRIPT:re.state=j.TEXT,re.tag=null,re.tagName=""),re.attribName=re.attribValue="",re.attribList.length=0}function ee(re){if(!re.tagName){Ae(re,"Weird empty close tag."),re.textNode+="</>",re.state=j.TEXT;return}if(re.script){if(re.tagName!=="script"){re.script+="</"+re.tagName+">",re.tagName="",re.state=j.SCRIPT;return}X(re,"onscript",re.script),re.script=""}var ce=re.tags.length,ke=re.tagName;re.strict||(ke=ke[re.looseCase]());for(var Te=ke;ce--;){var Ke=re.tags[ce];if(Ke.name!==Te)Ae(re,"Unexpected close tag");else break}if(ce<0){Ae(re,"Unmatched closing tag: "+re.tagName),re.textNode+="</"+re.tagName+">",re.state=j.TEXT;return}re.tagName=ke;for(var Ie=re.tags.length;Ie-- >ce;){var se=re.tag=re.tags.pop();re.tagName=re.tag.name,X(re,"onclosetag",re.tagName);var ye={};for(var xe in se.ns)ye[xe]=se.ns[xe];var Ye=re.tags[re.tags.length-1]||re;re.opt.xmlns&&se.ns!==Ye.ns&&(0,i.default)(se.ns).forEach(function(pt){var nt=se.ns[pt];X(re,"onclosenamespace",{prefix:pt,uri:nt})})}ce===0&&(re.closedRoot=!0),re.tagName=re.attribValue=re.attribName="",re.attribList.length=0,re.state=j.TEXT}function ne(re){var ce=re.entity,ke=ce.toLowerCase(),Te,Ke="";return re.ENTITIES[ce]?re.ENTITIES[ce]:re.ENTITIES[ke]?re.ENTITIES[ke]:(ce=ke,ce.charAt(0)==="#"&&(ce.charAt(1)==="x"?(ce=ce.slice(2),Te=parseInt(ce,16),Ke=Te.toString(16)):(ce=ce.slice(1),Te=parseInt(ce,10),Ke=Te.toString(10))),ce=ce.replace(/^0+/,""),isNaN(Te)||Ke.toLowerCase()!==ce?(Ae(re,"Invalid character entity"),"&"+re.entity+";"):(0,S.default)(Te))}function Ge(re,ce){ce==="<"?(re.state=j.OPEN_WAKA,re.startTagPosition=re.position):z(ce)||(Ae(re,"Non-whitespace before first tag."),re.textNode=ce,re.state=j.TEXT)}function Ee(re,ce){var ke="";return ce<re.length&&(ke=re.charAt(ce)),ke}function ue(re){var ce=this;if(this.error)throw this.error;if(ce.closed)return G(ce,"Cannot write after close. Assign an onready handler.");if(re===null)return ae(ce);(typeof re=="undefined"?"undefined":(0,d.default)(re))==="object"&&(re=re.toString());for(var ke=0,Te="";!(Te=Ee(re,ke++),ce.c=Te,!Te);){ce.trackPosition&&(ce.position++,Te===`
|
|
|
`?(ce.line++,ce.column=0):ce.column++);switch(ce.state){case j.BEGIN:if(ce.state=j.BEGIN_WHITESPACE,Te==="\uFEFF")continue;Ge(ce,Te);continue;case j.BEGIN_WHITESPACE:Ge(ce,Te);continue;case j.TEXT:if(ce.sawRoot&&!ce.closedRoot){for(var Ke=ke-1;Te&&Te!=="<"&&Te!=="&";)Te=Ee(re,ke++),Te&&ce.trackPosition&&(ce.position++,Te===`
|
|
|
`?(ce.line++,ce.column=0):ce.column++);ce.textNode+=re.substring(Ke,ke-1)}Te==="<"&&!(ce.sawRoot&&ce.closedRoot&&!ce.strict)?(ce.state=j.OPEN_WAKA,ce.startTagPosition=ce.position):(!z(Te)&&(!ce.sawRoot||ce.closedRoot)&&Ae(ce,"Text data outside of root node."),Te==="&"?ce.state=j.TEXT_ENTITY:ce.textNode+=Te);continue;case j.SCRIPT:Te==="<"?ce.state=j.SCRIPT_ENDING:ce.script+=Te;continue;case j.SCRIPT_ENDING:Te==="/"?ce.state=j.CLOSE_TAG:(ce.script+="<"+Te,ce.state=j.SCRIPT);continue;case j.OPEN_WAKA:if(Te==="!")ce.state=j.SGML_DECL,ce.sgmlDecl="";else if(!z(Te))if(k(F,Te))ce.state=j.OPEN_TAG,ce.tagName=Te;else if(Te==="/")ce.state=j.CLOSE_TAG,ce.tagName="";else if(Te==="?")ce.state=j.PROC_INST,ce.procInstName=ce.procInstBody="";else{if(Ae(ce,"Unencoded <"),ce.startTagPosition+1<ce.position){var Ie=ce.position-ce.startTagPosition;Te=new Array(Ie).join(" ")+Te}ce.textNode+="<"+Te,ce.state=j.TEXT}continue;case j.SGML_DECL:(ce.sgmlDecl+Te).toUpperCase()===_?(X(ce,"onopencdata"),ce.state=j.CDATA,ce.sgmlDecl="",ce.cdata=""):ce.sgmlDecl+Te==="--"?(ce.state=j.COMMENT,ce.comment="",ce.sgmlDecl=""):(ce.sgmlDecl+Te).toUpperCase()===x?(ce.state=j.DOCTYPE,(ce.doctype||ce.sawRoot)&&Ae(ce,"Inappropriately located doctype declaration"),ce.doctype="",ce.sgmlDecl=""):Te===">"?(X(ce,"onsgmldeclaration",ce.sgmlDecl),ce.sgmlDecl="",ce.state=j.TEXT):(M(Te)&&(ce.state=j.SGML_DECL_QUOTED),ce.sgmlDecl+=Te);continue;case j.SGML_DECL_QUOTED:Te===ce.q&&(ce.state=j.SGML_DECL,ce.q=""),ce.sgmlDecl+=Te;continue;case j.DOCTYPE:Te===">"?(ce.state=j.TEXT,X(ce,"ondoctype",ce.doctype),ce.doctype=!0):(ce.doctype+=Te,Te==="["?ce.state=j.DOCTYPE_DTD:M(Te)&&(ce.state=j.DOCTYPE_QUOTED,ce.q=Te));continue;case j.DOCTYPE_QUOTED:ce.doctype+=Te,Te===ce.q&&(ce.q="",ce.state=j.DOCTYPE);continue;case j.DOCTYPE_DTD:ce.doctype+=Te,Te==="]"?ce.state=j.DOCTYPE:M(Te)&&(ce.state=j.DOCTYPE_DTD_QUOTED,ce.q=Te);continue;case j.DOCTYPE_DTD_QUOTED:ce.doctype+=Te,Te===ce.q&&(ce.state=j.DOCTYPE_DTD,ce.q="");continue;case j.COMMENT:Te==="-"?ce.state=j.COMMENT_ENDING:ce.comment+=Te;continue;case j.COMMENT_ENDING:Te==="-"?(ce.state=j.COMMENT_ENDED,ce.comment=de(ce.opt,ce.comment),ce.comment&&X(ce,"oncomment",ce.comment),ce.comment=""):(ce.comment+="-"+Te,ce.state=j.COMMENT);continue;case j.COMMENT_ENDED:Te!==">"?(Ae(ce,"Malformed comment"),ce.comment+="--"+Te,ce.state=j.COMMENT):ce.state=j.TEXT;continue;case j.CDATA:Te==="]"?ce.state=j.CDATA_ENDING:ce.cdata+=Te;continue;case j.CDATA_ENDING:Te==="]"?ce.state=j.CDATA_ENDING_2:(ce.cdata+="]"+Te,ce.state=j.CDATA);continue;case j.CDATA_ENDING_2:Te===">"?(ce.cdata&&X(ce,"oncdata",ce.cdata),X(ce,"onclosecdata"),ce.cdata="",ce.state=j.TEXT):Te==="]"?ce.cdata+="]":(ce.cdata+="]]"+Te,ce.state=j.CDATA);continue;case j.PROC_INST:Te==="?"?ce.state=j.PROC_INST_ENDING:z(Te)?ce.state=j.PROC_INST_BODY:ce.procInstName+=Te;continue;case j.PROC_INST_BODY:if(!ce.procInstBody&&z(Te))continue;Te==="?"?ce.state=j.PROC_INST_ENDING:ce.procInstBody+=Te;continue;case j.PROC_INST_ENDING:Te===">"?(X(ce,"onprocessinginstruction",{name:ce.procInstName,body:ce.procInstBody}),ce.procInstName=ce.procInstBody="",ce.state=j.TEXT):(ce.procInstBody+="?"+Te,ce.state=j.PROC_INST_BODY);continue;case j.OPEN_TAG:k(B,Te)?ce.tagName+=Te:(me(ce),Te===">"?_e(ce):Te==="/"?ce.state=j.OPEN_TAG_SLASH:(z(Te)||Ae(ce,"Invalid character in tag name"),ce.state=j.ATTRIB));continue;case j.OPEN_TAG_SLASH:Te===">"?(_e(ce,!0),ee(ce)):(Ae(ce,"Forward-slash in opening tag not followed by >"),ce.state=j.ATTRIB);continue;case j.ATTRIB:if(z(Te))continue;Te===">"?_e(ce):Te==="/"?ce.state=j.OPEN_TAG_SLASH:k(F,Te)?(ce.attribName=Te,ce.attribValue="",ce.state=j.ATTRIB_NAME):Ae(ce,"Invalid attribute name");continue;case j.ATTRIB_NAME:Te==="="?ce.state=j.ATTRIB_VALUE:Te===">"?(Ae(ce,"Attribute without value"),ce.attribValue=ce.attribName,oe(ce),_e(ce)):z(Te)?ce.state=j.ATTRIB_NAME_SAW_WHITE:k(B,Te)?ce.attribName+=Te:Ae(ce,"Invalid attribute name");continue;case j.ATTRIB_NAME_SAW_WHITE:if(Te==="=")ce.state=j.ATTRIB_VALUE;else{if(z(Te))continue;Ae(ce,"Attribute without value"),ce.tag.attributes[ce.attribName]="",ce.attribValue="",X(ce,"onattribute",{name:ce.attribName,value:""}),ce.attribName="",Te===">"?_e(ce):k(F,Te)?(ce.attribName=Te,ce.state=j.ATTRIB_NAME):(Ae(ce,"Invalid attribute name"),ce.state=j.ATTRIB)}continue;case j.ATTRIB_VALUE:if(z(Te))continue;M(Te)?(ce.q=Te,ce.state=j.ATTRIB_VALUE_QUOTED):(Ae(ce,"Unquoted attribute value"),ce.state=j.ATTRIB_VALUE_UNQUOTED,ce.attribValue=Te);continue;case j.ATTRIB_VALUE_QUOTED:if(Te!==ce.q){Te==="&"?ce.state=j.ATTRIB_VALUE_ENTITY_Q:ce.attribValue+=Te;continue}oe(ce),ce.q="",ce.state=j.ATTRIB_VALUE_CLOSED;continue;case j.ATTRIB_VALUE_CLOSED:z(Te)?ce.state=j.ATTRIB:Te===">"?_e(ce):Te==="/"?ce.state=j.OPEN_TAG_SLASH:k(F,Te)?(Ae(ce,"No whitespace between attributes"),ce.attribName=Te,ce.attribValue="",ce.state=j.ATTRIB_NAME):Ae(ce,"Invalid attribute name");continue;case j.ATTRIB_VALUE_UNQUOTED:if(!U(Te)){Te==="&"?ce.state=j.ATTRIB_VALUE_ENTITY_U:ce.attribValue+=Te;continue}oe(ce),Te===">"?_e(ce):ce.state=j.ATTRIB;continue;case j.CLOSE_TAG:if(ce.tagName)Te===">"?ee(ce):k(B,Te)?ce.tagName+=Te:ce.script?(ce.script+="</"+ce.tagName,ce.tagName="",ce.state=j.SCRIPT):(z(Te)||Ae(ce,"Invalid tagname in closing tag"),ce.state=j.CLOSE_TAG_SAW_WHITE);else{if(z(Te))continue;K(F,Te)?ce.script?(ce.script+="</"+Te,ce.state=j.SCRIPT):Ae(ce,"Invalid tagname in closing tag."):ce.tagName=Te}continue;case j.CLOSE_TAG_SAW_WHITE:if(z(Te))continue;Te===">"?ee(ce):Ae(ce,"Invalid characters in closing tag");continue;case j.TEXT_ENTITY:case j.ATTRIB_VALUE_ENTITY_Q:case j.ATTRIB_VALUE_ENTITY_U:var se,ye;switch(ce.state){case j.TEXT_ENTITY:se=j.TEXT,ye="textNode";break;case j.ATTRIB_VALUE_ENTITY_Q:se=j.ATTRIB_VALUE_QUOTED,ye="attribValue";break;case j.ATTRIB_VALUE_ENTITY_U:se=j.ATTRIB_VALUE_UNQUOTED,ye="attribValue";break}Te===";"?(ce[ye]+=ne(ce),ce.entity="",ce.state=se):k(ce.entity.length?H:P,Te)?ce.entity+=Te:(Ae(ce,"Invalid character in entity name"),ce[ye]+="&"+ce.entity+Te,ce.entity="",ce.state=se);continue;default:throw new Error(ce,"Unknown state: "+ce.state)}}return ce.position>=ce.bufferCheckPosition&&h(ce),ce}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */S.default||function(){var re=String.fromCharCode,ce=Math.floor,ke=function(){var Ke=16384,Ie=[],se,ye,xe=-1,Ye=arguments.length;if(!Ye)return"";for(var pt="";++xe<Ye;){var nt=Number(arguments[xe]);if(!isFinite(nt)||nt<0||nt>1114111||ce(nt)!==nt)throw RangeError("Invalid code point: "+nt);nt<=65535?Ie.push(nt):(nt-=65536,se=(nt>>10)+55296,ye=nt%1024+56320,Ie.push(se,ye)),(xe+1===Ye||Ie.length>Ke)&&(pt+=re.apply(null,Ie),Ie.length=0)}return pt};a.default?Object.defineProperty(String,"fromCodePoint",{value:ke,configurable:!0,writable:!0}):String.fromCodePoint=ke}()})(typeof t=="undefined"?(void 0).sax={}:t)}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(R,N,t){N.exports=S;var y=R("events").EventEmitter,p=R("inherits");p(S,y),S.Readable=R("readable-stream/readable.js"),S.Writable=R("readable-stream/writable.js"),S.Duplex=R("readable-stream/duplex.js"),S.Transform=R("readable-stream/transform.js"),S.PassThrough=R("readable-stream/passthrough.js"),S.Stream=S;function S(){y.call(this)}S.prototype.pipe=function(m,g){var f=this;function d(l){m.writable&&(m.write(l)===!1&&f.pause&&f.pause())}f.on("data",d);function c(){f.readable&&f.resume&&f.resume()}m.on("drain",c),!m._isStdio&&(!g||g.end!==!1)&&(f.on("end",n),f.on("close",i));var a=!1;function n(){if(a)return;a=!0,m.end()}function i(){if(a)return;a=!0,typeof m.destroy=="function"&&m.destroy()}function o(l){if(r(),y.listenerCount(this,"error")===0)throw l}f.on("error",o),m.on("error",o);function r(){f.removeListener("data",d),m.removeListener("drain",c),f.removeListener("end",n),f.removeListener("close",i),f.removeListener("error",o),m.removeListener("error",o),f.removeListener("end",r),f.removeListener("close",r),m.removeListener("close",r)}return f.on("end",r),f.on("close",r),m.on("close",r),m.emit("pipe",f),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(R,N,t){(function(y){var p=R("./lib/request"),S=R("./lib/response"),m=R("xtend"),g=R("builtin-status-codes"),f=R("url"),d=t;d.request=function(c,a){typeof c=="string"?c=f.parse(c):c=m(c);var n=y.location.protocol.search(/^https?:$/)===-1?"http:":"",i=c.protocol||n,o=c.hostname||c.host,r=c.port,l=c.path||"/";o&&o.indexOf(":")!==-1&&(o="["+o+"]"),c.url=(o?i+"//"+o:"")+(r?":"+r:"")+l,c.method=(c.method||"GET").toUpperCase(),c.headers=c.headers||{};var e=new p(c);return a&&e.on("response",a),e},d.get=function(a,n){var i=d.request(a,n);return i.end(),i},d.ClientRequest=p,d.IncomingMessage=S.IncomingMessage,d.Agent=function(){},d.Agent.defaultMaxSockets=4,d.globalAgent=new d.Agent,d.STATUS_CODES=g,d.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(R,N,t){(function(y){"use strict";t.fetch=d(y.fetch)&&d(y.ReadableStream),t.writableStream=d(y.WritableStream),t.abortController=d(y.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(c){}var p;function S(){if(p!==void 0)return p;if(y.XMLHttpRequest){p=new y.XMLHttpRequest;try{p.open("GET",y.XDomainRequest?"/":"https://example.com")}catch(c){p=null}}else p=null;return p}function m(c){var a=S();if(!a)return!1;try{return a.responseType=c,a.responseType===c}catch(n){}return!1}var g=typeof y.ArrayBuffer!="undefined",f=g&&d(y.ArrayBuffer.prototype.slice);t.arraybuffer=t.fetch||g&&m("arraybuffer"),t.msstream=!t.fetch&&f&&m("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&g&&m("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||(S()?d(S().overrideMimeType):!1),t.vbArray=d(y.VBArray);function d(c){return typeof c=="function"}p=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(R,N,t){(function(y,p,S){"use strict";var m=R("babel-runtime/core-js/object/keys"),g=f(m);function f(h){return h&&h.__esModule?h:{default:h}}var d=R("./capability"),c=R("inherits"),a=R("./response"),n=R("readable-stream"),i=R("to-arraybuffer"),o=a.IncomingMessage,r=a.readyStates;function l(h,A){return d.fetch&&A?"fetch":d.mozchunkedarraybuffer?"moz-chunked-arraybuffer":d.msstream?"ms-stream":d.arraybuffer&&h?"arraybuffer":d.vbArray&&h?"text:vbarray":"text"}var e=N.exports=function(h){var A=this;n.Writable.call(A),A._opts=h,A._body=[],A._headers={},h.auth&&A.setHeader("Authorization","Basic "+new S(h.auth).toString("base64")),(0,g.default)(h.headers).forEach(function(b){A.setHeader(b,h.headers[b])});var v,w=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!d.abortController)w=!1,v=!0;else if(h.mode==="prefer-streaming")v=!1;else if(h.mode==="allow-wrong-content-type")v=!d.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")v=!0;else throw new Error("Invalid value for opts.mode");A._mode=l(v,w),A._fetchTimer=null,A.on("finish",function(){A._onFinish()})};c(e,n.Writable),e.prototype.setHeader=function(h,A){var v=this,w=h.toLowerCase();if(u.indexOf(w)!==-1)return;v._headers[w]={name:h,value:A}},e.prototype.getHeader=function(h){var A=this._headers[h.toLowerCase()];return A?A.value:null},e.prototype.removeHeader=function(h){var A=this;delete A._headers[h.toLowerCase()]},e.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var A=h._opts,v=h._headers,w=null;A.method!=="GET"&&A.method!=="HEAD"&&(d.arraybuffer?w=i(S.concat(h._body)):d.blobConstructor?w=new p.Blob(h._body.map(function(C){return i(C)}),{type:(v["content-type"]||{}).value||""}):w=S.concat(h._body).toString());var b=[];if((0,g.default)(v).forEach(function(C){var I=v[C].name,L=v[C].value;Array.isArray(L)?L.forEach(function(F){b.push([I,F])}):b.push([I,L])}),h._mode==="fetch"){var E=null,T=null;if(d.abortController){var _=new AbortController;E=_.signal,h._fetchAbortController=_,"requestTimeout"in A&&A.requestTimeout!==0&&(h._fetchTimer=p.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},A.requestTimeout))}p.fetch(h._opts.url,{method:h._opts.method,headers:b,body:w||void 0,mode:"cors",credentials:A.withCredentials?"include":"same-origin",signal:E}).then(function(C){h._fetchResponse=C,h._connect()},function(C){p.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",C)})}else{var x=h._xhr=new p.XMLHttpRequest;try{x.open(h._opts.method,h._opts.url,!0)}catch(C){y.nextTick(function(){h.emit("error",C)});return}"responseType"in x&&(x.responseType=h._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!A.withCredentials),h._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in A&&(x.timeout=A.requestTimeout,x.ontimeout=function(){h.emit("requestTimeout")}),b.forEach(function(C){x.setRequestHeader(C[0],C[1])}),h._response=null,x.onreadystatechange=function(){switch(x.readyState){case r.LOADING:case r.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){h._onXHRProgress()}),x.onerror=function(){if(h._destroyed)return;h.emit("error",new Error("XHR error"))};try{x.send(w)}catch(C){y.nextTick(function(){h.emit("error",C)});return}}};function s(h){try{var A=h.status;return A!==null&&A!==0}catch(v){return!1}}e.prototype._onXHRProgress=function(){var h=this;if(!s(h._xhr)||h._destroyed)return;h._response||h._connect(),h._response._onXHRProgress()},e.prototype._connect=function(){var h=this;if(h._destroyed)return;h._response=new o(h._xhr,h._fetchResponse,h._mode,h._fetchTimer),h._response.on("error",function(A){h.emit("error",A)}),h.emit("response",h._response)},e.prototype._write=function(h,A,v){var w=this;w._body.push(h),v()},e.prototype.abort=e.prototype.destroy=function(){var h=this;h._destroyed=!0,p.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},e.prototype.end=function(h,A,v){var w=this;typeof h=="function"&&(v=h,h=void 0),n.Writable.prototype.end.call(w,h,A,v)},e.prototype.flushHeaders=function(){},e.prototype.setTimeout=function(){},e.prototype.setNoDelay=function(){},e.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(R,N,t){(function(y,p,S){"use strict";var m=R("babel-runtime/core-js/promise"),g=f(m);function f(o){return o&&o.__esModule?o:{default:o}}var d=R("./capability"),c=R("inherits"),a=R("readable-stream"),n=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},i=t.IncomingMessage=function(o,r,l,e){var s=this;if(a.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){y.nextTick(function(){s.emit("close")})}),l==="fetch"){var u=function E(){A.read().then(function(T){if(s._destroyed)return;if(T.done){p.clearTimeout(e),s.push(null);return}s.push(new S(T.value)),E()}).catch(function(T){p.clearTimeout(e),s._destroyed||s.emit("error",T)})};if(s._fetchResponse=r,s.url=r.url,s.statusCode=r.status,s.statusMessage=r.statusText,r.headers.forEach(function(E,T){s.headers[T.toLowerCase()]=E,s.rawHeaders.push(T,E)}),d.writableStream){var h=new WritableStream({write:function(T){return new g.default(function(_,x){s._destroyed?x():s.push(new S(T))?_():s._resumeFetch=_})},close:function(){p.clearTimeout(e),s._destroyed||s.push(null)},abort:function(T){s._destroyed||s.emit("error",T)}});try{r.body.pipeTo(h).catch(function(E){p.clearTimeout(e),s._destroyed||s.emit("error",E)});return}catch(E){}}var A=r.body.getReader();u()}else{s._xhr=o,s._pos=0,s.url=o.responseURL,s.statusCode=o.status,s.statusMessage=o.statusText;var v=o.getAllResponseHeaders().split(/\r?\n/);if(v.forEach(function(E){var T=E.match(/^([^:]+):\s*(.*)/);if(T){var _=T[1].toLowerCase();_==="set-cookie"?(s.headers[_]===void 0&&(s.headers[_]=[]),s.headers[_].push(T[2])):s.headers[_]!==void 0?s.headers[_]+=", "+T[2]:s.headers[_]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!d.overrideMimeType){var w=s.rawHeaders["mime-type"];if(w){var b=w.match(/;\s*charset=([^;])(;|$)/);b&&(s._charset=b[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};c(i,a.Readable),i.prototype._read=function(){var o=this,r=o._resumeFetch;r&&(o._resumeFetch=null,r())},i.prototype._onXHRProgress=function(){var o=this,r=o._xhr,l=null;switch(o._mode){case"text:vbarray":if(r.readyState!==n.DONE)break;try{l=new p.VBArray(r.responseBody).toArray()}catch(A){}if(l!==null){o.push(new S(l));break}case"text":try{l=r.responseText}catch(A){o._mode="text:vbarray";break}if(l.length>o._pos){var e=l.substr(o._pos);if(o._charset==="x-user-defined"){for(var s=new S(e.length),u=0;u<e.length;u++)s[u]=e.charCodeAt(u)&255;o.push(s)}else o.push(e,o._charset);o._pos=l.length}break;case"arraybuffer":if(r.readyState!==n.DONE||!r.response)break;l=r.response,o.push(new S(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=r.response,r.readyState!==n.LOADING||!l)break;o.push(new S(new Uint8Array(l)));break;case"ms-stream":if(l=r.response,r.readyState!==n.LOADING)break;var h=new p.MSStreamReader;h.onprogress=function(){h.result.byteLength>o._pos&&(o.push(new S(new Uint8Array(h.result.slice(o._pos)))),o._pos=h.result.byteLength)},h.onload=function(){o.push(null)},h.readAsArrayBuffer(l);break}o._xhr.readyState===n.DONE&&o._mode!=="ms-stream"&&o.push(null)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(R,N,t){"use strict";var y=R("safe-buffer").Buffer,p=y.isEncoding||function(h){h=""+h;switch(h&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function S(h){if(!h)return"utf8";for(var A;;)switch(h){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return h;default:if(A)return;h=(""+h).toLowerCase(),A=!0}}function m(h){var A=S(h);if(typeof A!="string"&&(y.isEncoding===p||!p(h)))throw new Error("Unknown encoding: "+h);return A||h}t.StringDecoder=g;function g(h){this.encoding=m(h);var A;switch(this.encoding){case"utf16le":this.text=o,this.end=r,A=4;break;case"utf8":this.fillLast=a,A=4;break;case"base64":this.text=l,this.end=e,A=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(A)}g.prototype.write=function(h){if(h.length===0)return"";var A,v;if(this.lastNeed){if(A=this.fillLast(h),A===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v<h.length?A?A+this.text(h,v):this.text(h,v):A||""},g.prototype.end=i,g.prototype.text=n,g.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length};function f(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function d(h,A,v){var w=A.length-1;if(w<v)return 0;var b=f(A[w]);return b>=0?(b>0&&(h.lastNeed=b-1),b):--w<v||b===-2?0:(b=f(A[w]),b>=0?(b>0&&(h.lastNeed=b-2),b):--w<v||b===-2?0:(b=f(A[w]),b>=0?(b>0&&(b===2?b=0:h.lastNeed=b-3),b):0))}function c(h,A,v){if((A[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&A.length>1){if((A[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&A.length>2&&(A[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function a(h){var A=this.lastTotal-this.lastNeed,v=c(this,h,A);if(v!==void 0)return v;if(this.lastNeed<=h.length)return h.copy(this.lastChar,A,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,A,0,h.length),this.lastNeed-=h.length}function n(h,A){var v=d(this,h,A);if(!this.lastNeed)return h.toString("utf8",A);this.lastTotal=v;var w=h.length-(v-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",A,w)}function i(h){var A=h&&h.length?this.write(h):"";return this.lastNeed?A+"\uFFFD":A}function o(h,A){if((h.length-A)%2===0){var v=h.toString("utf16le",A);if(v){var w=v.charCodeAt(v.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",A,h.length-1)}function r(h){var A=h&&h.length?this.write(h):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return A+this.lastChar.toString("utf16le",0,v)}return A}function l(h,A){var v=(h.length-A)%3;return v===0?h.toString("base64",A):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",A,h.length-v))}function e(h){var A=h&&h.length?this.write(h):"";return this.lastNeed?A+this.lastChar.toString("base64",0,3-this.lastNeed):A}function s(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(R,N,t){(function(y,p){var S=R("process/browser.js").nextTick,m=Function.prototype.apply,g=Array.prototype.slice,f={},d=0;t.setTimeout=function(){return new c(m.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new c(m.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(a){a.close()};function c(a,n){this._id=a,this._clearFn=n}c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(a,n){clearTimeout(a._idleTimeoutId),a._idleTimeout=n},t.unenroll=function(a){clearTimeout(a._idleTimeoutId),a._idleTimeout=-1},t._unrefActive=t.active=function(a){clearTimeout(a._idleTimeoutId);var n=a._idleTimeout;n>=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},n))},t.setImmediate=typeof y=="function"?y:function(a){var n=d++,i=arguments.length<2?!1:g.call(arguments,1);return f[n]=!0,S(function(){f[n]&&(i?a.apply(null,i):a.call(null),t.clearImmediate(n))}),n},t.clearImmediate=typeof p=="function"?p:function(a){delete f[a]}}).call(this,R("timers").setImmediate,R("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(R,N,t){var y=R("buffer").Buffer;N.exports=function(p){if(p instanceof Uint8Array){if(p.byteOffset===0&&p.byteLength===p.buffer.byteLength)return p.buffer;if(typeof p.buffer.slice=="function")return p.buffer.slice(p.byteOffset,p.byteOffset+p.byteLength)}if(y.isBuffer(p)){for(var S=new Uint8Array(p.length),m=p.length,g=0;g<m;g++)S[g]=p[g];return S.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(R,N,t){"use strict";var y=R("punycode"),p=R("./util");t.parse=A,t.resolve=w,t.resolveObject=b,t.format=v,t.Url=S;function S(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,g=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],c=["{","}","|","\\","^","`"].concat(d),a=["'"].concat(c),n=["%","/","?",";","#"].concat(a),i=["/","?","#"],o=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,e={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},h=R("querystring");function A(E,T,_){if(E&&p.isObject(E)&&E instanceof S)return E;var x=new S;return x.parse(E,T,_),x}S.prototype.parse=function(E,T,_){if(!p.isString(E))throw new TypeError("Parameter 'url' must be a string, not "+typeof E);var x=E.indexOf("?"),C=x!==-1&&x<E.indexOf("#")?"?":"#",I=E.split(C),L=/\\/g;I[0]=I[0].replace(L,"/"),E=I.join(C);var F=E;if(F=F.trim(),!_&&E.split("#").length===1){var B=f.exec(F);if(B)return this.path=F,this.href=F,this.pathname=B[1],B[2]?(this.search=B[2],T?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var P=m.exec(F);if(P){P=P[0];var H=P.toLowerCase();this.protocol=H,F=F.substr(P.length)}if(_||P||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var z=F.substr(0,2)==="//";z&&!(P&&s[P])&&(F=F.substr(2),this.slashes=!0)}if(!s[P]&&(z||P&&!u[P])){for(var M=-1,U=0;U<i.length;U++){var k=F.indexOf(i[U]);k!==-1&&(M===-1||k<M)&&(M=k)}var K,j;M===-1?j=F.lastIndexOf("@"):j=F.lastIndexOf("@",M),j!==-1&&(K=F.slice(0,j),F=F.slice(j+1),this.auth=decodeURIComponent(K)),M=-1;for(var U=0;U<n.length;U++){var k=F.indexOf(n[U]);k!==-1&&(M===-1||k<M)&&(M=k)}M===-1&&(M=F.length),this.host=F.slice(0,M),F=F.slice(M),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var W=this.hostname.split(/\./),U=0,X=W.length;U<X;U++){var J=W[U];if(!J)continue;if(!J.match(r)){for(var de="",G=0,ae=J.length;G<ae;G++)J.charCodeAt(G)>127?de+="x":de+=J[G];if(!de.match(r)){var Ae=W.slice(0,U),me=W.slice(U+1),Me=J.match(l);Me&&(Ae.push(Me[1]),me.unshift(Me[2])),me.length&&(F="/"+me.join(".")+F),this.hostname=Ae.join(".");break}}}this.hostname.length>o?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=y.toASCII(this.hostname));var oe=this.port?":"+this.port:"",_e=this.hostname||"";this.host=_e+oe,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!e[H])for(var U=0,X=a.length;U<X;U++){var ee=a[U];if(F.indexOf(ee)===-1)continue;var ne=encodeURIComponent(ee);ne===ee&&(ne=escape(ee)),F=F.split(ee).join(ne)}var Ge=F.indexOf("#");Ge!==-1&&(this.hash=F.substr(Ge),F=F.slice(0,Ge));var Ee=F.indexOf("?");if(Ee!==-1?(this.search=F.substr(Ee),this.query=F.substr(Ee+1),T&&(this.query=h.parse(this.query)),F=F.slice(0,Ee)):T&&(this.search="",this.query={}),F&&(this.pathname=F),u[H]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var oe=this.pathname||"",ue=this.search||"";this.path=oe+ue}return this.href=this.format(),this};function v(E){return p.isString(E)&&(E=A(E)),E instanceof S?E.format():S.prototype.format.call(E)}S.prototype.format=function(){var E=this.auth||"";E&&(E=encodeURIComponent(E),E=E.replace(/%3A/i,":"),E+="@");var T=this.protocol||"",_=this.pathname||"",x=this.hash||"",C=!1,I="";this.host?C=E+this.host:this.hostname&&(C=E+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(I=h.stringify(this.query));var L=this.search||I&&"?"+I||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||u[T])&&C!==!1?(C="//"+(C||""),_&&_.charAt(0)!=="/"&&(_="/"+_)):C||(C=""),x&&x.charAt(0)!=="#"&&(x="#"+x),L&&L.charAt(0)!=="?"&&(L="?"+L),_=_.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),L=L.replace("#","%23"),T+C+_+L+x};function w(E,T){return A(E,!1,!0).resolve(T)}S.prototype.resolve=function(E){return this.resolveObject(A(E,!1,!0)).format()};function b(E,T){return E?A(E,!1,!0).resolveObject(T):T}S.prototype.resolveObject=function(E){if(p.isString(E)){var T=new S;T.parse(E,!1,!0),E=T}for(var _=new S,x=Object.keys(this),C=0;C<x.length;C++){var I=x[C];_[I]=this[I]}if(_.hash=E.hash,E.href==="")return _.href=_.format(),_;if(E.slashes&&!E.protocol){for(var L=Object.keys(E),F=0;F<L.length;F++){var B=L[F];B!=="protocol"&&(_[B]=E[B])}return u[_.protocol]&&_.hostname&&!_.pathname&&(_.path=_.pathname="/"),_.href=_.format(),_}if(E.protocol&&E.protocol!==_.protocol){if(!u[E.protocol]){for(var P=Object.keys(E),H=0;H<P.length;H++){var z=P[H];_[z]=E[z]}return _.href=_.format(),_}if(_.protocol=E.protocol,!E.host&&!s[E.protocol]){for(var X=(E.pathname||"").split("/");X.length&&!(E.host=X.shift()););E.host||(E.host=""),E.hostname||(E.hostname=""),X[0]!==""&&X.unshift(""),X.length<2&&X.unshift(""),_.pathname=X.join("/")}else _.pathname=E.pathname;if(_.search=E.search,_.query=E.query,_.host=E.host||"",_.auth=E.auth,_.hostname=E.hostname||E.host,_.port=E.port,_.pathname||_.search){var M=_.pathname||"",U=_.search||"";_.path=M+U}return _.slashes=_.slashes||E.slashes,_.href=_.format(),_}var k=_.pathname&&_.pathname.charAt(0)==="/",K=E.host||E.pathname&&E.pathname.charAt(0)==="/",j=K||k||_.host&&E.pathname,V=j,W=_.pathname&&_.pathname.split("/")||[],X=E.pathname&&E.pathname.split("/")||[],J=_.protocol&&!u[_.protocol];if(J&&(_.hostname="",_.port=null,_.host&&(W[0]===""?W[0]=_.host:W.unshift(_.host)),_.host="",E.protocol&&(E.hostname=null,E.port=null,E.host&&(X[0]===""?X[0]=E.host:X.unshift(E.host)),E.host=null),j=j&&(X[0]===""||W[0]==="")),K)_.host=E.host||E.host===""?E.host:_.host,_.hostname=E.hostname||E.hostname===""?E.hostname:_.hostname,_.search=E.search,_.query=E.query,W=X;else if(X.length)W||(W=[]),W.pop(),W=W.concat(X),_.search=E.search,_.query=E.query;else if(!p.isNullOrUndefined(E.search)){if(J){_.hostname=_.host=W.shift();var de=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;de&&(_.auth=de.shift(),_.host=_.hostname=de.shift())}return _.search=E.search,_.query=E.query,(!p.isNull(_.pathname)||!p.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.href=_.format(),_}if(!W.length)return _.pathname=null,_.search?_.path="/"+_.search:_.path=null,_.href=_.format(),_;for(var G=W.slice(-1)[0],ae=(_.host||E.host||W.length>1)&&(G==="."||G==="..")||G==="",Ae=0,me=W.length;me>=0;me--)G=W[me],G==="."?W.splice(me,1):G===".."?(W.splice(me,1),Ae++):Ae&&(W.splice(me,1),Ae--);if(!j&&!V)for(;Ae--;Ae)W.unshift("..");j&&W[0]!==""&&(!W[0]||W[0].charAt(0)!=="/")&&W.unshift(""),ae&&W.join("/").substr(-1)!=="/"&&W.push("");var Me=W[0]===""||W[0]&&W[0].charAt(0)==="/";if(J){_.hostname=_.host=Me?"":W.length?W.shift():"";var de=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;de&&(_.auth=de.shift(),_.host=_.hostname=de.shift())}return j=j||_.host&&W.length,j&&!Me&&W.unshift(""),W.length?_.pathname=W.join("/"):(_.pathname=null,_.path=null),(!p.isNull(_.pathname)||!p.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.auth=E.auth||_.auth,_.slashes=_.slashes||E.slashes,_.href=_.format(),_},S.prototype.parseHost=function(){var E=this.host,T=g.exec(E);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),E=E.substr(0,E.length-T.length)),E&&(this.hostname=E)}},{"./util":239,punycode:209,querystring:212}],239:[function(R,N,t){"use strict";N.exports={isString:function(p){return typeof p=="string"},isObject:function(p){return typeof p=="object"&&p!==null},isNull:function(p){return p===null},isNullOrUndefined:function(p){return p==null}}},{}],240:[function(R,N,t){(function(y){N.exports=p;function p(m,g){if(S("noDeprecation"))return m;var f=!1;function d(){if(!f){if(S("throwDeprecation"))throw new Error(g);S("traceDeprecation")?console.trace(g):console.warn(g),f=!0}return m.apply(this,arguments)}return d}function S(m){try{if(!y.localStorage)return!1}catch(f){return!1}var g=y.localStorage[m];return g==null?!1:String(g).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(R,N,t){typeof Object.create=="function"?N.exports=function(p,S){p.super_=S,p.prototype=Object.create(S.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}})}:N.exports=function(p,S){p.super_=S;var m=function(){};m.prototype=S.prototype,p.prototype=new m,p.prototype.constructor=p}},{}],242:[function(R,N,t){N.exports=function(p){return p&&typeof p=="object"&&typeof p.copy=="function"&&typeof p.fill=="function"&&typeof p.readUInt8=="function"}},{}],243:[function(R,N,t){(function(y,p){var S=/%[sdj%]/g;t.format=function(M){if(!w(M)){for(var U=[],k=0;k<arguments.length;k++)U.push(f(arguments[k]));return U.join(" ")}for(var k=1,K=arguments,j=K.length,V=String(M).replace(S,function(X){if(X==="%%")return"%";if(k>=j)return X;switch(X){case"%s":return String(K[k++]);case"%d":return Number(K[k++]);case"%j":try{return JSON.stringify(K[k++])}catch(J){return"[Circular]"}default:return X}}),W=K[k];k<j;W=K[++k])h(W)||!_(W)?V+=" "+W:V+=" "+f(W);return V},t.deprecate=function(M,U){if(E(p.process))return function(){return t.deprecate(M,U).apply(this,arguments)};if(y.noDeprecation===!0)return M;var k=!1;function K(){if(!k){if(y.throwDeprecation)throw new Error(U);y.traceDeprecation?console.trace(U):console.error(U),k=!0}return M.apply(this,arguments)}return K};var m={},g;t.debuglog=function(M){if(E(g)&&(g=y.env.NODE_DEBUG||""),M=M.toUpperCase(),!m[M])if(new RegExp("\\b"+M+"\\b","i").test(g)){var U=y.pid;m[M]=function(){var k=t.format.apply(t,arguments);console.error("%s %d: %s",M,U,k)}}else m[M]=function(){};return m[M]};function f(M,U){var k={seen:[],stylize:c};return arguments.length>=3&&(k.depth=arguments[2]),arguments.length>=4&&(k.colors=arguments[3]),u(U)?k.showHidden=U:U&&t._extend(k,U),E(k.showHidden)&&(k.showHidden=!1),E(k.depth)&&(k.depth=2),E(k.colors)&&(k.colors=!1),E(k.customInspect)&&(k.customInspect=!0),k.colors&&(k.stylize=d),n(k,M,k.depth)}t.inspect=f,f.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(M,U){var k=f.styles[U];return k?"["+f.colors[k][0]+"m"+M+"["+f.colors[k][1]+"m":M}function c(M,U){return M}function a(M){var U={};return M.forEach(function(k,K){U[k]=!0}),U}function n(M,U,k){if(M.customInspect&&U&&I(U.inspect)&&U.inspect!==t.inspect&&!(U.constructor&&U.constructor.prototype===U)){var K=U.inspect(k,M);return w(K)||(K=n(M,K,k)),K}var j=i(M,U);if(j)return j;var V=Object.keys(U),W=a(V);if(M.showHidden&&(V=Object.getOwnPropertyNames(U)),C(U)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return o(U);if(V.length===0){if(I(U)){var X=U.name?": "+U.name:"";return M.stylize("[Function"+X+"]","special")}if(T(U))return M.stylize(RegExp.prototype.toString.call(U),"regexp");if(x(U))return M.stylize(Date.prototype.toString.call(U),"date");if(C(U))return o(U)}var J="",de=!1,G=["{","}"];if(s(U)&&(de=!0,G=["[","]"]),I(U)){var ae=U.name?": "+U.name:"";J=" [Function"+ae+"]"}if(T(U)&&(J=" "+RegExp.prototype.toString.call(U)),x(U)&&(J=" "+Date.prototype.toUTCString.call(U)),C(U)&&(J=" "+o(U)),V.length===0&&(!de||U.length==0))return G[0]+J+G[1];if(k<0)return T(U)?M.stylize(RegExp.prototype.toString.call(U),"regexp"):M.stylize("[Object]","special");M.seen.push(U);var Ae;return de?Ae=r(M,U,k,W,V):Ae=V.map(function(me){return l(M,U,k,W,me,de)}),M.seen.pop(),e(Ae,J,G)}function i(M,U){if(E(U))return M.stylize("undefined","undefined");if(w(U)){var k="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return M.stylize(k,"string")}if(v(U))return M.stylize(""+U,"number");if(u(U))return M.stylize(""+U,"boolean");if(h(U))return M.stylize("null","null")}function o(M){return"["+Error.prototype.toString.call(M)+"]"}function r(M,U,k,K,j){for(var V=[],W=0,X=U.length;W<X;++W)z(U,String(W))?V.push(l(M,U,k,K,String(W),!0)):V.push("");return j.forEach(function(J){J.match(/^\d+$/)||V.push(l(M,U,k,K,J,!0))}),V}function l(M,U,k,K,j,V){var W,X,J;if(J=Object.getOwnPropertyDescriptor(U,j)||{value:U[j]},J.get?J.set?X=M.stylize("[Getter/Setter]","special"):X=M.stylize("[Getter]","special"):J.set&&(X=M.stylize("[Setter]","special")),z(K,j)||(W="["+j+"]"),X||(M.seen.indexOf(J.value)<0?(h(k)?X=n(M,J.value,null):X=n(M,J.value,k-1),X.indexOf(`
|
|
|
`)>-1&&(V?X=X.split(`
|
|
|
`).map(function(de){return" "+de}).join(`
|
|
|
`).substr(2):X=`
|
|
|
`+X.split(`
|
|
|
`).map(function(de){return" "+de}).join(`
|
|
|
`))):X=M.stylize("[Circular]","special")),E(W)){if(V&&j.match(/^\d+$/))return X;W=JSON.stringify(""+j),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.substr(1,W.length-2),W=M.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=M.stylize(W,"string"))}return W+": "+X}function e(M,U,k){var K=0,j=M.reduce(function(V,W){return K++,W.indexOf(`
|
|
|
`)>=0&&K++,V+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return j>60?k[0]+(U===""?"":U+`
|
|
|
`)+" "+M.join(`,
|
|
|
`)+" "+k[1]:k[0]+U+" "+M.join(", ")+" "+k[1]}function s(M){return Array.isArray(M)}t.isArray=s;function u(M){return typeof M=="boolean"}t.isBoolean=u;function h(M){return M===null}t.isNull=h;function A(M){return M==null}t.isNullOrUndefined=A;function v(M){return typeof M=="number"}t.isNumber=v;function w(M){return typeof M=="string"}t.isString=w;function b(M){return typeof M=="symbol"}t.isSymbol=b;function E(M){return M===void 0}t.isUndefined=E;function T(M){return _(M)&&F(M)==="[object RegExp]"}t.isRegExp=T;function _(M){return typeof M=="object"&&M!==null}t.isObject=_;function x(M){return _(M)&&F(M)==="[object Date]"}t.isDate=x;function C(M){return _(M)&&(F(M)==="[object Error]"||M instanceof Error)}t.isError=C;function I(M){return typeof M=="function"}t.isFunction=I;function L(M){return M===null||typeof M=="boolean"||typeof M=="number"||typeof M=="string"||typeof M=="symbol"||typeof M=="undefined"}t.isPrimitive=L,t.isBuffer=R("./support/isBuffer");function F(M){return Object.prototype.toString.call(M)}function B(M){return M<10?"0"+M.toString(10):M.toString(10)}var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var M=new Date,U=[B(M.getHours()),B(M.getMinutes()),B(M.getSeconds())].join(":");return[M.getDate(),P[M.getMonth()],U].join(" ")}t.log=function(){console.log("%s - %s",H(),t.format.apply(t,arguments))},t.inherits=R("inherits"),t._extend=function(M,U){if(!U||!_(U))return M;for(var k=Object.keys(U),K=k.length;K--;)M[k[K]]=U[k[K]];return M};function z(M,U){return Object.prototype.hasOwnProperty.call(M,U)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(R,N,t){"use strict";(function(){"use strict";t.stripBOM=function(y){return y[0]==="\uFEFF"?y.substring(1):y}}).call(void 0)},{}],245:[function(R,N,t){"use strict";var y=R("babel-runtime/helpers/typeof"),p=g(y),S=R("babel-runtime/core-js/object/keys"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}(function(){"use strict";var f,d,c,a,n,i={}.hasOwnProperty;f=R("xmlbuilder"),d=R("./defaults").defaults,a=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},n=function(r){return"<![CDATA["+c(r)+"]]>"},c=function(r){return r.replace("]]>","]]]]><![CDATA[>")},t.Builder=function(){function o(r){var l,e,s;this.options={},e=d["0.2"];for(l in e){if(!i.call(e,l))continue;s=e[l],this.options[l]=s}for(l in r){if(!i.call(r,l))continue;s=r[l],this.options[l]=s}}return o.prototype.buildObject=function(r){var l,e,s,u,h;return l=this.options.attrkey,e=this.options.charkey,(0,m.default)(r).length===1&&this.options.rootName===d["0.2"].rootName?(h=(0,m.default)(r)[0],r=r[h]):h=this.options.rootName,s=function(A){return function(v,w){var b,E,T,_,x,C;if((typeof w=="undefined"?"undefined":(0,p.default)(w))!=="object")A.options.cdata&&a(w)?v.raw(n(w)):v.txt(w);else if(Array.isArray(w))for(_ in w){if(!i.call(w,_))continue;E=w[_];for(x in E)T=E[x],v=s(v.ele(x),T).up()}else for(x in w){if(!i.call(w,x))continue;if(E=w[x],x===l){if((typeof E=="undefined"?"undefined":(0,p.default)(E))==="object")for(b in E)C=E[b],v=v.att(b,C)}else if(x===e)A.options.cdata&&a(E)?v=v.raw(n(E)):v=v.txt(E);else if(Array.isArray(E))for(_ in E){if(!i.call(E,_))continue;T=E[_],typeof T=="string"?A.options.cdata&&a(T)?v=v.ele(x).raw(n(T)).up():v=v.ele(x,T).up():v=s(v.ele(x),T).up()}else(typeof E=="undefined"?"undefined":(0,p.default)(E))==="object"?v=s(v.ele(x),E).up():typeof E=="string"&&A.options.cdata&&a(E)?v=v.ele(x).raw(n(E)).up():(E==null&&(E=""),v=v.ele(x,E.toString()).up())}return v}}(this),u=f.create(h,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,r).end(this.options.renderOpts)},o}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(R,N,t){"use strict";(function(){t.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/promise"),p=a(y),S=R("babel-runtime/core-js/object/get-own-property-names"),m=a(S),g=R("babel-runtime/core-js/object/keys"),f=a(g),d=R("babel-runtime/helpers/typeof"),c=a(d);function a(n){return n&&n.__esModule?n:{default:n}}(function(){"use strict";var n,i,o,r,l,e,s,u,h=function(b,E){return function(){return b.apply(E,arguments)}},A=function(b,E){for(var T in E)v.call(E,T)&&(b[T]=E[T]);function _(){this.constructor=b}return _.prototype=E.prototype,b.prototype=new _,b.__super__=E.prototype,b},v={}.hasOwnProperty;s=R("sax"),o=R("events"),n=R("./bom"),e=R("./processors"),u=R("timers").setImmediate,i=R("./defaults").defaults,r=function(b){return(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&b!=null&&(0,f.default)(b).length===0},l=function(b,E,T){var _,x,C;for(_=0,x=b.length;_<x;_++)C=b[_],E=C(E,T);return E},t.Parser=function(w){A(b,w);function b(E){this.parseStringPromise=h(this.parseStringPromise,this),this.parseString=h(this.parseString,this),this.reset=h(this.reset,this),this.assignOrPush=h(this.assignOrPush,this),this.processAsync=h(this.processAsync,this);var T,_,x;if(!(this instanceof t.Parser))return new t.Parser(E);this.options={},_=i["0.2"];for(T in _){if(!v.call(_,T))continue;x=_[T],this.options[T]=x}for(T in E){if(!v.call(E,T))continue;x=E[T],this.options[T]=x}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(e.normalize)),this.reset()}return b.prototype.processAsync=function(){var E,T;try{return this.remaining.length<=this.options.chunkSize?(E=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(E),this.saxParser.close()):(E=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(E),u(this.processAsync))}catch(_){if(T=_,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},b.prototype.assignOrPush=function(E,T,_){return T in E?(E[T]instanceof Array||(E[T]=[E[T]]),E[T].push(_)):this.options.explicitArray?E[T]=[_]:E[T]=_},b.prototype.reset=function(){var E,T,_,x;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(C){return function(I){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",I)}}(this),this.saxParser.onend=function(C){return function(){if(!C.saxParser.ended)return C.saxParser.ended=!0,C.emit("end",C.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,x=[],E=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(C){return function(I){var L,F,B,P,H;if(B={},B[T]="",!C.options.ignoreAttrs){H=I.attributes;for(L in H){if(!v.call(H,L))continue;!(E in B)&&!C.options.mergeAttrs&&(B[E]={}),F=C.options.attrValueProcessors?l(C.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],P=C.options.attrNameProcessors?l(C.options.attrNameProcessors,L):L,C.options.mergeAttrs?C.assignOrPush(B,P,F):B[E][P]=F}}return B["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,I.name):I.name,C.options.xmlns&&(B[C.options.xmlnskey]={uri:I.uri,local:I.local}),x.push(B)}}(this),this.saxParser.onclosetag=function(C){return function(){var I,L,F,B,P,H,z,M,U,k;if(H=x.pop(),P=H["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete H["#name"],H.cdata===!0&&(I=H.cdata,delete H.cdata),U=x[x.length-1],H[T].match(/^\s*$/)&&!I?(L=H[T],delete H[T]):(C.options.trim&&(H[T]=H[T].trim()),C.options.normalize&&(H[T]=H[T].replace(/\s{2,}/g," ").trim()),H[T]=C.options.valueProcessors?l(C.options.valueProcessors,H[T],P):H[T],(0,f.default)(H).length===1&&T in H&&!C.EXPLICIT_CHARKEY&&(H=H[T])),r(H)&&(H=C.options.emptyTag!==""?C.options.emptyTag:L),C.options.validator!=null&&(k="/"+function(){var K,j,V;for(V=[],K=0,j=x.length;K<j;K++)B=x[K],V.push(B["#name"]);return V}().concat(P).join("/"),function(){var K;try{return H=C.options.validator(k,U&&U[P],H)}catch(j){return K=j,C.emit("error",K)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof H=="undefined"?"undefined":(0,c.default)(H))==="object"){if(!C.options.preserveChildrenOrder)B={},C.options.attrkey in H&&(B[C.options.attrkey]=H[C.options.attrkey],delete H[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in H&&(B[C.options.charkey]=H[C.options.charkey],delete H[C.options.charkey]),(0,m.default)(H).length>0&&(B[C.options.childkey]=H),H=B;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],z={};for(F in H){if(!v.call(H,F))continue;z[F]=H[F]}U[C.options.childkey].push(z),delete H["#name"],(0,f.default)(H).length===1&&T in H&&!C.EXPLICIT_CHARKEY&&(H=H[T])}}return x.length>0?C.assignOrPush(U,P,H):(C.options.explicitRoot&&(M=H,H={},H[P]=M),C.resultObject=H,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),_=function(C){return function(I){var L,F;if(F=x[x.length-1],F)return F[T]+=I,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(F[C.options.childkey]=F[C.options.childkey]||[],L={"#name":"__text__"},L[T]=I,C.options.normalize&&(L[T]=L[T].replace(/\s{2,}/g," ").trim()),F[C.options.childkey].push(L)),F}}(this),this.saxParser.ontext=_,this.saxParser.oncdata=function(C){return function(I){var L;if(L=_(I),L)return L.cdata=!0}}(this)},b.prototype.parseString=function(E,T){var _;T!=null&&typeof T=="function"&&(this.on("end",function(x){return this.reset(),T(null,x)}),this.on("error",function(x){return this.reset(),T(x)}));try{return E=E.toString(),E.trim()===""?(this.emit("end",null),!0):(E=n.stripBOM(E),this.options.async?(this.remaining=E,u(this.processAsync),this.saxParser):this.saxParser.write(E).close())}catch(x){if(_=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw _}else return this.emit("error",_),this.saxParser.errThrown=!0}},b.prototype.parseStringPromise=function(E){return new p.default(function(T){return function(_,x){return T.parseString(E,function(C,I){return C?x(C):_(I)})}}(this))},b}(o),t.parseString=function(w,b,E){var T,_,x;return E!=null?(typeof E=="function"&&(T=E),(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&(_=b)):(typeof b=="function"&&(T=b),_={}),x=new t.Parser(_),x.parseString(w,T)},t.parseStringPromise=function(w,b){var E,T;return(typeof b=="undefined"?"undefined":(0,c.default)(b))==="object"&&(E=b),T=new t.Parser(E),T.parseStringPromise(w)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(R,N,t){"use strict";(function(){"use strict";var y;y=new RegExp(/(?!xmlns)^.*:/),t.normalize=function(p){return p.toLowerCase()},t.firstCharLowerCase=function(p){return p.charAt(0).toLowerCase()+p.slice(1)},t.stripPrefix=function(p){return p.replace(y,"")},t.parseNumbers=function(p){return isNaN(p)||(p=p%1===0?parseInt(p,10):parseFloat(p)),p},t.parseBooleans=function(p){return/^(?:true|false)$/i.test(p)&&(p=p.toLowerCase()==="true"),p}}).call(void 0)},{}],249:[function(R,N,t){"use strict";(function(){"use strict";var y,p,S,m,g=function(c,a){for(var n in a)f.call(a,n)&&(c[n]=a[n]);function i(){this.constructor=c}return i.prototype=a.prototype,c.prototype=new i,c.__super__=a.prototype,c},f={}.hasOwnProperty;p=R("./defaults"),y=R("./builder"),S=R("./parser"),m=R("./processors"),t.defaults=p.defaults,t.processors=m,t.ValidationError=function(d){g(c,d);function c(a){this.message=a}return c}(Error),t.Builder=y.Builder,t.Parser=S.Parser,t.parseString=S.parseString,t.parseStringPromise=S.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(R,N,t){"use strict";(function(){N.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(R,N,t){"use strict";(function(){N.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/get-prototype-of"),p=d(y),S=R("babel-runtime/helpers/typeof"),m=d(S),g=R("babel-runtime/core-js/object/assign"),f=d(g);function d(c){return c&&c.__esModule?c:{default:c}}(function(){var c,a,n,i,o,r,l,e=[].slice,s={}.hasOwnProperty;c=function(){var h,A,v,w,b,E;if(E=arguments[0],b=2<=arguments.length?e.call(arguments,1):[],o(f.default))f.default.apply(null,arguments);else for(h=0,v=b.length;h<v;h++)if(w=b[h],w!=null)for(A in w){if(!s.call(w,A))continue;E[A]=w[A]}return E},o=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},r=function(h){var A;return!!h&&((A=typeof h=="undefined"?"undefined":(0,m.default)(h))==="function"||A==="object")},n=function(h){return o(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},i=function(h){var A;if(n(h))return!h.length;for(A in h){if(!s.call(h,A))continue;return!1}return!0},l=function(h){var A,v;return r(h)&&(v=(0,p.default)(h))&&(A=v.constructor)&&typeof A=="function"&&A instanceof A&&Function.prototype.toString.call(A)===Function.prototype.toString.call(Object)},a=function(h){return o(h.valueOf)?h.valueOf():h},N.exports.assign=c,N.exports.isFunction=o,N.exports.isObject=r,N.exports.isArray=n,N.exports.isEmpty=i,N.exports.isPlainObject=l,N.exports.getValue=a}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(R,N,t){"use strict";(function(){N.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f;m=R("./NodeType"),f=R("./XMLNode"),N.exports=g=function(){function d(c,a,n){if(this.parent=c,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),a==null)throw new Error("Missing attribute name. "+this.debugInfo(a));this.name=this.stringify.name(a),this.value=this.stringify.attValue(n),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(d.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(d.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(d.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(d.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(d.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(d.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(d.prototype,"specified",{get:function(){return!0}}),d.prototype.clone=function(){return(0,p.default)(this)},d.prototype.toString=function(c){return this.options.writer.attribute(this,this.options.writer.filterOptions(c))},d.prototype.debugInfo=function(c){return c=c||this.name,c==null?"parent: <"+this.parent.name+">":"attribute: {"+c+"}, parent: <"+this.parent.name+">"},d.prototype.isEqualNode=function(c){return c.namespaceURI!==this.namespaceURI||(c.prefix!==this.prefix||c.localName!==this.localName)?!1:!(c.value!==this.value)},d}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;m=R("./NodeType"),f=R("./XMLCharacterData"),N.exports=g=function(a){d(n,a);function n(i,o){if(n.__super__.constructor.call(this,i),o==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(o)}return n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return this.options.writer.cdata(this,this.options.writer.filterOptions(i))},n}(f)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f=function(a,n){for(var i in n)d.call(n,i)&&(a[i]=n[i]);function o(){this.constructor=a}return o.prototype=n.prototype,a.prototype=new o,a.__super__=n.prototype,a},d={}.hasOwnProperty;g=R("./XMLNode"),N.exports=m=function(c){f(a,c);function a(n){a.__super__.constructor.call(this,n),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),a.prototype.clone=function(){return(0,p.default)(this)},a.prototype.substringData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(n,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(n,i,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(n){return a.__super__.isEqualNode.apply(this,arguments).isEqualNode(n)?!(n.data!==this.data):!1},a}(g)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=f=function(a){d(n,a);function n(i,o){if(n.__super__.constructor.call(this,i),o==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(o)}return n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return this.options.writer.comment(this,this.options.writer.filterOptions(i))},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=g(y),S=R("babel-runtime/core-js/object/create"),m=g(S);function g(f){return f&&f.__esModule?f:{default:f}}(function(){var f,d,c;d=R("./XMLDOMErrorHandler"),c=R("./XMLDOMStringList"),N.exports=f=function(){function a(){var n;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new d,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=n=(0,m.default)(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new c((0,p.default)(this.defaultParams))}}),a.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},a.prototype.canSetParameter=function(n,i){return!0},a.prototype.setParameter=function(n,i){return i!=null?this.params[n]=i:delete this.params[n]},a}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(R,N,t){"use strict";(function(){var y;N.exports=y=function(){function p(){}return p.prototype.handleError=function(S){throw new Error(S)},p}()}).call(void 0)},{}],260:[function(R,N,t){"use strict";(function(){var y;N.exports=y=function(){function p(){}return p.prototype.hasFeature=function(S,m){return!0},p.prototype.createDocumentType=function(S,m,g){throw new Error("This DOM method is not implemented.")},p.prototype.createDocument=function(S,m,g){throw new Error("This DOM method is not implemented.")},p.prototype.createHTMLDocument=function(S){throw new Error("This DOM method is not implemented.")},p.prototype.getFeature=function(S,m){throw new Error("This DOM method is not implemented.")},p}()}).call(void 0)},{}],261:[function(R,N,t){"use strict";(function(){var y;N.exports=y=function(){function p(S){this.arr=S||[]}return Object.defineProperty(p.prototype,"length",{get:function(){return this.arr.length}}),p.prototype.item=function(S){return this.arr[S]||null},p.prototype.contains=function(S){return this.arr.indexOf(S)!==-1},p}()}).call(void 0)},{}],262:[function(R,N,t){"use strict";(function(){var y,p,S,m=function(d,c){for(var a in c)g.call(c,a)&&(d[a]=c[a]);function n(){this.constructor=d}return n.prototype=c.prototype,d.prototype=new n,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=R("./XMLNode"),y=R("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,a,n,i,o,r){if(d.__super__.constructor.call(this,c),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(n==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!o)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(o.indexOf("#")!==0&&(o="#"+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(r&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=y.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(i),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=o}return d.prototype.toString=function(c){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(R,N,t){"use strict";(function(){var y,p,S,m=function(d,c){for(var a in c)g.call(c,a)&&(d[a]=c[a]);function n(){this.constructor=d}return n.prototype=c.prototype,d.prototype=new n,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=R("./XMLNode"),y=R("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,a,n){if(d.__super__.constructor.call(this,c),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(a),this.type=y.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}return d.prototype.toString=function(c){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(R,N,t){"use strict";(function(){var y,p,S,m,g=function(c,a){for(var n in a)f.call(a,n)&&(c[n]=a[n]);function i(){this.constructor=c}return i.prototype=a.prototype,c.prototype=new i,c.__super__=a.prototype,c},f={}.hasOwnProperty;m=R("./Utility").isObject,S=R("./XMLNode"),y=R("./NodeType"),N.exports=p=function(d){g(c,d);function c(a,n,i,o){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(o==null)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!n,this.name=this.stringify.name(i),this.type=y.EntityDeclaration,!m(o))this.value=this.stringify.dtdEntityValue(o),this.internal=!0;else{if(!o.pubID&&!o.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(o.pubID&&!o.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,o.pubID!=null&&(this.pubID=this.stringify.dtdPubID(o.pubID)),o.sysID!=null&&(this.sysID=this.stringify.dtdSysID(o.sysID)),o.nData!=null&&(this.nData=this.stringify.dtdNData(o.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(c.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(c.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"xmlVersion",{get:function(){return null}}),c.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},c}(S)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(R,N,t){"use strict";(function(){var y,p,S,m=function(d,c){for(var a in c)g.call(c,a)&&(d[a]=c[a]);function n(){this.constructor=d}return n.prototype=c.prototype,d.prototype=new n,d.__super__=c.prototype,d},g={}.hasOwnProperty;S=R("./XMLNode"),y=R("./NodeType"),N.exports=p=function(f){m(d,f);function d(c,a,n){if(d.__super__.constructor.call(this,c),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=y.NotationDeclaration,n.pubID!=null&&(this.pubID=this.stringify.dtdPubID(n.pubID)),n.sysID!=null&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return Object.defineProperty(d.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(d.prototype,"systemId",{get:function(){return this.sysID}}),d.prototype.toString=function(c){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(c))},d}(S)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(R,N,t){"use strict";(function(){var y,p,S,m,g=function(c,a){for(var n in a)f.call(a,n)&&(c[n]=a[n]);function i(){this.constructor=c}return i.prototype=a.prototype,c.prototype=new i,c.__super__=a.prototype,c},f={}.hasOwnProperty;m=R("./Utility").isObject,S=R("./XMLNode"),y=R("./NodeType"),N.exports=p=function(d){g(c,d);function c(a,n,i,o){var r;c.__super__.constructor.call(this,a),m(n)&&(r=n,n=r.version,i=r.encoding,o=r.standalone),n||(n="1.0"),this.type=y.Declaration,this.version=this.stringify.xmlVersion(n),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),o!=null&&(this.standalone=this.stringify.xmlStandalone(o))}return c.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},c}(S)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a,n=function(r,l){for(var e in l)i.call(l,e)&&(r[e]=l[e]);function s(){this.constructor=r}return s.prototype=l.prototype,r.prototype=new s,r.__super__=l.prototype,r},i={}.hasOwnProperty;a=R("./Utility").isObject,c=R("./XMLNode"),y=R("./NodeType"),p=R("./XMLDTDAttList"),m=R("./XMLDTDEntity"),S=R("./XMLDTDElement"),g=R("./XMLDTDNotation"),d=R("./XMLNamedNodeMap"),N.exports=f=function(o){n(r,o);function r(l,e,s){var u,h,A,v,w,b;if(r.__super__.constructor.call(this,l),this.type=y.DocType,l.children){for(v=l.children,h=0,A=v.length;h<A;h++)if(u=v[h],u.type===y.Element){this.name=u.name;break}}this.documentObject=l,a(e)&&(w=e,e=w.pubID,s=w.sysID),s==null&&(b=[e,s],s=b[0],e=b[1]),e!=null&&(this.pubID=this.stringify.dtdPubID(e)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(r.prototype,"entities",{get:function(){var e,s,u,h,A;for(h={},A=this.children,s=0,u=A.length;s<u;s++)e=A[s],e.type===y.EntityDeclaration&&!e.pe&&(h[e.name]=e);return new d(h)}}),Object.defineProperty(r.prototype,"notations",{get:function(){var e,s,u,h,A;for(h={},A=this.children,s=0,u=A.length;s<u;s++)e=A[s],e.type===y.NotationDeclaration&&(h[e.name]=e);return new d(h)}}),Object.defineProperty(r.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(r.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(r.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),r.prototype.element=function(l,e){var s;return s=new S(this,l,e),this.children.push(s),this},r.prototype.attList=function(l,e,s,u,h){var A;return A=new p(this,l,e,s,u,h),this.children.push(A),this},r.prototype.entity=function(l,e){var s;return s=new m(this,!1,l,e),this.children.push(s),this},r.prototype.pEntity=function(l,e){var s;return s=new m(this,!0,l,e),this.children.push(s),this},r.prototype.notation=function(l,e){var s;return s=new g(this,l,e),this.children.push(s),this},r.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},r.prototype.ele=function(l,e){return this.element(l,e)},r.prototype.att=function(l,e,s,u,h){return this.attList(l,e,s,u,h)},r.prototype.ent=function(l,e){return this.entity(l,e)},r.prototype.pent=function(l,e){return this.pEntity(l,e)},r.prototype.not=function(l,e){return this.notation(l,e)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(l){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},r}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a=function(o,r){for(var l in r)n.call(r,l)&&(o[l]=r[l]);function e(){this.constructor=o}return e.prototype=r.prototype,o.prototype=new e,o.__super__=r.prototype,o},n={}.hasOwnProperty;c=R("./Utility").isPlainObject,S=R("./XMLDOMImplementation"),p=R("./XMLDOMConfiguration"),g=R("./XMLNode"),y=R("./NodeType"),d=R("./XMLStringifier"),f=R("./XMLStringWriter"),N.exports=m=function(i){a(o,i);function o(r){o.__super__.constructor.call(this,null),this.name="#document",this.type=y.Document,this.documentURI=null,this.domConfig=new p,r||(r={}),r.writer||(r.writer=new f),this.options=r,this.stringify=new d(r)}return Object.defineProperty(o.prototype,"implementation",{value:new S}),Object.defineProperty(o.prototype,"doctype",{get:function(){var l,e,s,u;for(u=this.children,e=0,s=u.length;e<s;e++)if(l=u[e],l.type===y.DocType)return l;return null}}),Object.defineProperty(o.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(o.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(o.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].encoding:null}}),Object.defineProperty(o.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(o.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===y.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(o.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(o.prototype,"origin",{get:function(){return null}}),Object.defineProperty(o.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(o.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(o.prototype,"contentType",{get:function(){return null}}),o.prototype.end=function(r){var l;return l={},r?c(r)&&(l=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(l))},o.prototype.toString=function(r){return this.options.writer.document(this,this.options.writer.filterOptions(r))},o.prototype.createElement=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createTextNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createComment=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createCDATASection=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createProcessingInstruction=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createAttribute=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createEntityReference=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.importNode=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createElementNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createAttributeNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagNameNS=function(r,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementById=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.adoptNode=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.renameNode=function(r,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByClassName=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createEvent=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createNodeIterator=function(r,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createTreeWalker=function(r,l,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o}(g)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a,n,i,o,r,l,e,s,u,h,A,v,w,b,E,T,_={}.hasOwnProperty;T=R("./Utility"),b=T.isObject,w=T.isFunction,E=T.isPlainObject,v=T.getValue,y=R("./NodeType"),o=R("./XMLDocument"),l=R("./XMLElement"),m=R("./XMLCData"),g=R("./XMLComment"),s=R("./XMLRaw"),A=R("./XMLText"),e=R("./XMLProcessingInstruction"),n=R("./XMLDeclaration"),i=R("./XMLDocType"),f=R("./XMLDTDAttList"),c=R("./XMLDTDEntity"),d=R("./XMLDTDElement"),a=R("./XMLDTDNotation"),S=R("./XMLAttribute"),h=R("./XMLStringifier"),u=R("./XMLStringWriter"),p=R("./WriterState"),N.exports=r=function(){function x(C,I,L){var F;this.name="?xml",this.type=y.Document,C||(C={}),F={},C.writer?E(C.writer)&&(F=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new h(C),this.onDataCallback=I||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return x.prototype.createChildNode=function(C){var I,L,F,B,P,H,z,M;switch(C.type){case y.CData:this.cdata(C.value);break;case y.Comment:this.comment(C.value);break;case y.Element:F={},z=C.attribs;for(L in z){if(!_.call(z,L))continue;I=z[L],F[L]=I.value}this.node(C.name,F);break;case y.Dummy:this.dummy();break;case y.Raw:this.raw(C.value);break;case y.Text:this.text(C.value);break;case y.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}for(M=C.children,P=0,H=M.length;P<H;P++)B=M[P],this.createChildNode(B),B.type===y.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(C,I,L){var F;if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));return this.openCurrent(),C=v(C),I==null&&(I={}),I=v(I),b(I)||(F=[I,L],L=F[0],I=F[1]),this.currentNode=new l(this,C,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},x.prototype.element=function(C,I,L){var F,B,P,H,z,M;if(this.currentNode&&this.currentNode.type===y.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||b(C)||w(C))for(H=this.options.noValidation,this.options.noValidation=!0,M=new o(this.options).element("TEMP_ROOT"),M.element(C),this.options.noValidation=H,z=M.children,B=0,P=z.length;B<P;B++)F=z[B],this.createChildNode(F),F.type===y.Element&&this.up();else this.node(C,I,L);return this},x.prototype.attribute=function(C,I){var L,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=v(C)),b(C))for(L in C){if(!_.call(C,L))continue;F=C[L],this.attribute(L,F)}else w(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[C]=new S(this,C,""):I!=null&&(this.currentNode.attribs[C]=new S(this,C,I));return this},x.prototype.text=function(C){var I;return this.openCurrent(),I=new A(this,C),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(C){var I;return this.openCurrent(),I=new m(this,C),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(C){var I;return this.openCurrent(),I=new g(this,C),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(C){var I;return this.openCurrent(),I=new s(this,C),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(C,I){var L,F,B,P,H;if(this.openCurrent(),C!=null&&(C=v(C)),I!=null&&(I=v(I)),Array.isArray(C))for(L=0,P=C.length;L<P;L++)F=C[L],this.instruction(F);else if(b(C))for(F in C){if(!_.call(C,F))continue;B=C[F],this.instruction(F,B)}else w(I)&&(I=I.apply()),H=new e(this,C,I),this.onData(this.writer.processingInstruction(H,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(C,I,L){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new n(this,C,I,L),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(C,I,L){if(this.openCurrent(),C==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new i(this,I,L),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(C,I){var L;return this.openCurrent(),L=new d(this,C,I),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(C,I,L,F,B){var P;return this.openCurrent(),P=new f(this,C,I,L,F,B),this.onData(this.writer.dtdAttList(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(C,I){var L;return this.openCurrent(),L=new c(this,!1,C,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(C,I){var L;return this.openCurrent(),L=new c(this,!0,C,I),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(C,I){var L;return this.openCurrent(),L=new a(this,C,I),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},x.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},x.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},x.prototype.openNode=function(C){var I,L,F,B;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===y.Element&&(this.root=C),L="",C.type===y.Element){this.writerOptions.state=p.OpenTag,L=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,B=C.attribs;for(F in B){if(!_.call(B,F))continue;I=B[F],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=p.InsideTag}else this.writerOptions.state=p.OpenTag,L=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?L+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(L+=' SYSTEM "'+C.sysID+'"'),C.children?(L+=" [",this.writerOptions.state=p.InsideTag):(this.writerOptions.state=p.CloseTag,L+=">"),L+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),C.isOpen=!0}},x.prototype.closeNode=function(C){var I;if(!C.isClosed)return I="",this.writerOptions.state=p.CloseTag,C.type===y.Element?I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=p.None,this.onData(I,this.currentLevel),C.isClosed=!0},x.prototype.onData=function(C,I){return this.documentStarted=!0,this.onDataCallback(C,I+1)},x.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},x.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},x.prototype.ele=function(){return this.element.apply(this,arguments)},x.prototype.nod=function(C,I,L){return this.node(C,I,L)},x.prototype.txt=function(C){return this.text(C)},x.prototype.dat=function(C){return this.cdata(C)},x.prototype.com=function(C){return this.comment(C)},x.prototype.ins=function(C,I){return this.instruction(C,I)},x.prototype.dec=function(C,I,L){return this.declaration(C,I,L)},x.prototype.dtd=function(C,I,L){return this.doctype(C,I,L)},x.prototype.e=function(C,I,L){return this.element(C,I,L)},x.prototype.n=function(C,I,L){return this.node(C,I,L)},x.prototype.t=function(C){return this.text(C)},x.prototype.d=function(C){return this.cdata(C)},x.prototype.c=function(C){return this.comment(C)},x.prototype.r=function(C){return this.raw(C)},x.prototype.i=function(C,I){return this.instruction(C,I)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===y.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(C,I){return this.entity(C,I)},x.prototype.pent=function(C,I){return this.pEntity(C,I)},x.prototype.not=function(C,I){return this.notation(C,I)},x}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;f=R("./XMLNode"),m=R("./NodeType"),N.exports=g=function(a){d(n,a);function n(i){n.__super__.constructor.call(this,i),this.type=m.Dummy}return n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return""},n}(f)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d,c,a,n,i,o,r=function(s,u){for(var h in u)l.call(u,h)&&(s[h]=u[h]);function A(){this.constructor=s}return A.prototype=u.prototype,s.prototype=new A,s.__super__=u.prototype,s},l={}.hasOwnProperty;o=R("./Utility"),i=o.isObject,n=o.isFunction,a=o.getValue,c=R("./XMLNode"),m=R("./NodeType"),g=R("./XMLAttribute"),d=R("./XMLNamedNodeMap"),N.exports=f=function(e){r(s,e);function s(u,h,A){var v,w,b,E;if(s.__super__.constructor.call(this,u),h==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(h),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,A!=null&&this.attribute(A),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(E=u.children,w=0,b=E.length;w<b;w++)if(v=E[w],v.type===m.DocType){v.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new d(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,h,A,v;A=(0,p.default)(this),A.isRoot&&(A.documentObject=null),A.attribs={},v=this.attribs;for(h in v){if(!l.call(v,h))continue;u=v[h],A.attribs[h]=u.clone()}return A.children=[],this.children.forEach(function(w){var b;return b=w.clone(),b.parent=A,A.children.push(b)}),A},s.prototype.attribute=function(u,h){var A,v;if(u!=null&&(u=a(u)),i(u))for(A in u){if(!l.call(u,A))continue;v=u[A],this.attribute(A,v)}else n(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[u]=new g(this,u,""):h!=null&&(this.attribs[u]=new g(this,u,h));return this},s.prototype.removeAttribute=function(u){var h,A,v;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=a(u),Array.isArray(u))for(A=0,v=u.length;A<v;A++)h=u[A],delete this.attribs[h];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,h){return this.attribute(u,h)},s.prototype.a=function(u,h){return this.attribute(u,h)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,h,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,h){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:h},s.prototype.setIdAttributeNS=function(u,h,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,h){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var h,A,v;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(h=A=0,v=this.attribs.length-1;0<=v?A<=v:A>=v;h=0<=v?++A:--A)if(!this.attribs[h].isEqualNode(u.attribs[h]))return!1;return!0},s}(c)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/keys"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m;N.exports=m=function(){function g(f){this.nodes=f}return Object.defineProperty(g.prototype,"length",{get:function(){return(0,p.default)(this.nodes).length||0}}),g.prototype.clone=function(){return this.nodes=null},g.prototype.getNamedItem=function(f){return this.nodes[f]},g.prototype.setNamedItem=function(f){var d;return d=this.nodes[f.nodeName],this.nodes[f.nodeName]=f,d||null},g.prototype.removeNamedItem=function(f){var d;return d=this.nodes[f],delete this.nodes[f],d||null},g.prototype.item=function(f){return this.nodes[(0,p.default)(this.nodes)[f]]||null},g.prototype.getNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},g.prototype.setNamedItemNS=function(f){throw new Error("This DOM method is not implemented.")},g.prototype.removeNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},g}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a,n,i,o,r,l,e,s,u,h,A,v={}.hasOwnProperty;A=R("./Utility"),h=A.isObject,u=A.isFunction,s=A.isEmpty,e=A.getValue,c=null,S=null,m=null,g=null,f=null,r=null,l=null,o=null,d=null,p=null,i=null,a=null,y=null,N.exports=n=function(){function w(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,c||(c=R("./XMLElement"),S=R("./XMLCData"),m=R("./XMLComment"),g=R("./XMLDeclaration"),f=R("./XMLDocType"),r=R("./XMLRaw"),l=R("./XMLText"),o=R("./XMLProcessingInstruction"),d=R("./XMLDummy"),p=R("./NodeType"),i=R("./XMLNodeList"),a=R("./XMLNamedNodeMap"),y=R("./DocumentPosition"))}return Object.defineProperty(w.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(w.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(w.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(w.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(w.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new i(this.children)),this.childNodeList}}),Object.defineProperty(w.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(w.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E-1]||null}}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E+1]||null}}),Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(w.prototype,"textContent",{get:function(){var E,T,_,x,C;if(this.nodeType===p.Element||this.nodeType===p.DocumentFragment){for(C="",x=this.children,T=0,_=x.length;T<_;T++)E=x[T],E.textContent&&(C+=E.textContent);return C}else return null},set:function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),w.prototype.setParent=function(b){var E,T,_,x,C;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),x=this.children,C=[],T=0,_=x.length;T<_;T++)E=x[T],C.push(E.setParent(this));return C},w.prototype.element=function(b,E,T){var _,x,C,I,L,F,B,P,H,z,M;if(F=null,E===null&&T==null&&(H=[{},null],E=H[0],T=H[1]),E==null&&(E={}),E=e(E),h(E)||(z=[E,T],T=z[0],E=z[1]),b!=null&&(b=e(b)),Array.isArray(b))for(C=0,B=b.length;C<B;C++)x=b[C],F=this.element(x);else if(u(b))F=this.element(b.apply());else if(h(b))for(L in b){if(!v.call(b,L))continue;if(M=b[L],u(M)&&(M=M.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(L.substr(this.stringify.convertAttKey.length),M);else if(!this.options.separateArrayItems&&Array.isArray(M)&&s(M))F=this.dummy();else if(h(M)&&s(M))F=this.element(L);else if(!this.options.keepNullNodes&&M==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(M))for(I=0,P=M.length;I<P;I++)x=M[I],_={},_[L]=x,F=this.element(_);else h(M)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?F=this.element(M):(F=this.element(L),F.element(M)):F=this.element(L,M)}else!this.options.keepNullNodes&&T===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?F=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?F=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(b.substr(this.stringify.convertPIKey.length),T):F=this.node(b,E,T);if(F==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return F},w.prototype.insertBefore=function(b,E,T){var _,x,C,I,L;if(b!=null?b.type:void 0)return C=b,I=E,C.setParent(this),I?(x=children.indexOf(I),L=children.splice(x),children.push(C),Array.prototype.push.apply(children,L)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return x=this.parent.children.indexOf(this),L=this.parent.children.splice(x),_=this.parent.element(b,E,T),Array.prototype.push.apply(this.parent.children,L),_},w.prototype.insertAfter=function(b,E,T){var _,x,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return x=this.parent.children.indexOf(this),C=this.parent.children.splice(x+1),_=this.parent.element(b,E,T),Array.prototype.push.apply(this.parent.children,C),_},w.prototype.remove=function(){var b,E;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return b=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[b,b-b+1].concat(E=[])),this.parent},w.prototype.node=function(b,E,T){var _,x;return b!=null&&(b=e(b)),E||(E={}),E=e(E),h(E)||(x=[E,T],T=x[0],E=x[1]),_=new c(this,b,E),T!=null&&_.text(T),this.children.push(_),_},w.prototype.text=function(b){var E;return h(b)&&this.element(b),E=new l(this,b),this.children.push(E),this},w.prototype.cdata=function(b){var E;return E=new S(this,b),this.children.push(E),this},w.prototype.comment=function(b){var E;return E=new m(this,b),this.children.push(E),this},w.prototype.commentBefore=function(b){var E,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T),E=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,_),this},w.prototype.commentAfter=function(b){var E,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T+1),E=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,_),this},w.prototype.raw=function(b){var E;return E=new r(this,b),this.children.push(E),this},w.prototype.dummy=function(){var b;return b=new d(this),b},w.prototype.instruction=function(b,E){var T,_,x,C,I;if(b!=null&&(b=e(b)),E!=null&&(E=e(E)),Array.isArray(b))for(C=0,I=b.length;C<I;C++)T=b[C],this.instruction(T);else if(h(b))for(T in b){if(!v.call(b,T))continue;_=b[T],this.instruction(T,_)}else u(E)&&(E=E.apply()),x=new o(this,b,E),this.children.push(x);return this},w.prototype.instructionBefore=function(b,E){var T,_,x;return _=this.parent.children.indexOf(this),x=this.parent.children.splice(_),T=this.parent.instruction(b,E),Array.prototype.push.apply(this.parent.children,x),this},w.prototype.instructionAfter=function(b,E){var T,_,x;return _=this.parent.children.indexOf(this),x=this.parent.children.splice(_+1),T=this.parent.instruction(b,E),Array.prototype.push.apply(this.parent.children,x),this},w.prototype.declaration=function(b,E,T){var _,x;return _=this.document(),x=new g(_,b,E,T),_.children.length===0?_.children.unshift(x):_.children[0].type===p.Declaration?_.children[0]=x:_.children.unshift(x),_.root()||_},w.prototype.dtd=function(b,E){var T,_,x,C,I,L,F,B,P,H;for(_=this.document(),x=new f(_,b,E),P=_.children,C=I=0,F=P.length;I<F;C=++I)if(T=P[C],T.type===p.DocType)return _.children[C]=x,x;for(H=_.children,C=L=0,B=H.length;L<B;C=++L)if(T=H[C],T.isRoot)return _.children.splice(C,0,x),x;return _.children.push(x),x},w.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},w.prototype.root=function(){var b;for(b=this;b;){if(b.type===p.Document)return b.rootObject;if(b.isRoot)return b;b=b.parent}},w.prototype.document=function(){var b;for(b=this;b;){if(b.type===p.Document)return b;b=b.parent}},w.prototype.end=function(b){return this.document().end(b)},w.prototype.prev=function(){var b;if(b=this.parent.children.indexOf(this),b<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[b-1]},w.prototype.next=function(){var b;if(b=this.parent.children.indexOf(this),b===-1||b===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[b+1]},w.prototype.importDocument=function(b){var E;return E=b.root().clone(),E.parent=this,E.isRoot=!1,this.children.push(E),this},w.prototype.debugInfo=function(b){var E,T;return b=b||this.name,b==null&&!((E=this.parent)!=null?E.name:void 0)?"":b==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},w.prototype.ele=function(b,E,T){return this.element(b,E,T)},w.prototype.nod=function(b,E,T){return this.node(b,E,T)},w.prototype.txt=function(b){return this.text(b)},w.prototype.dat=function(b){return this.cdata(b)},w.prototype.com=function(b){return this.comment(b)},w.prototype.ins=function(b,E){return this.instruction(b,E)},w.prototype.doc=function(){return this.document()},w.prototype.dec=function(b,E,T){return this.declaration(b,E,T)},w.prototype.e=function(b,E,T){return this.element(b,E,T)},w.prototype.n=function(b,E,T){return this.node(b,E,T)},w.prototype.t=function(b){return this.text(b)},w.prototype.d=function(b){return this.cdata(b)},w.prototype.c=function(b){return this.comment(b)},w.prototype.r=function(b){return this.raw(b)},w.prototype.i=function(b,E){return this.instruction(b,E)},w.prototype.u=function(){return this.up()},w.prototype.importXMLBuilder=function(b){return this.importDocument(b)},w.prototype.replaceChild=function(b,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.removeChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.appendChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.hasChildNodes=function(){return this.children.length!==0},w.prototype.cloneNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isSupported=function(b,E){return!0},w.prototype.hasAttributes=function(){return this.attribs.length!==0},w.prototype.compareDocumentPosition=function(b){var E,T;return E=this,E===b?0:this.document()!==b.document()?(T=y.Disconnected|y.ImplementationSpecific,Math.random()<.5?T|=y.Preceding:T|=y.Following,T):E.isAncestor(b)?y.Contains|y.Preceding:E.isDescendant(b)?y.Contains|y.Following:E.isPreceding(b)?y.Preceding:y.Following},w.prototype.isSameNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupPrefix=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isDefaultNamespace=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupNamespaceURI=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isEqualNode=function(b){var E,T,_;if(b.nodeType!==this.nodeType)return!1;if(b.children.length!==this.children.length)return!1;for(E=T=0,_=this.children.length-1;0<=_?T<=_:T>=_;E=0<=_?++T:--T)if(!this.children[E].isEqualNode(b.children[E]))return!1;return!0},w.prototype.getFeature=function(b,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.setUserData=function(b,E,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.getUserData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.contains=function(b){return b?b===this||this.isDescendant(b):!1},w.prototype.isDescendant=function(b){var E,T,_,x,C;for(C=this.children,_=0,x=C.length;_<x;_++){if(E=C[_],b===E)return!0;if(T=E.isDescendant(b),T)return!0}return!1},w.prototype.isAncestor=function(b){return b.isDescendant(this)},w.prototype.isPreceding=function(b){var E,T;return E=this.treePosition(b),T=this.treePosition(this),E===-1||T===-1?!1:E<T},w.prototype.isFollowing=function(b){var E,T;return E=this.treePosition(b),T=this.treePosition(this),E===-1||T===-1?!1:E>T},w.prototype.treePosition=function(b){var E,T;return T=0,E=!1,this.foreachTreeNode(this.document(),function(_){if(T++,!E&&_===b)return E=!0}),E?T:-1},w.prototype.foreachTreeNode=function(b,E){var T,_,x,C,I;for(b||(b=this.document()),C=b.children,_=0,x=C.length;_<x;_++){if(T=C[_],I=E(T))return I;if(I=this.foreachTreeNode(T,E),I)return I}},w}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(R,N,t){"use strict";(function(){var y;N.exports=y=function(){function p(S){this.nodes=S}return Object.defineProperty(p.prototype,"length",{get:function(){return this.nodes.length||0}}),p.prototype.clone=function(){return this.nodes=null},p.prototype.item=function(S){return this.nodes[S]||null},p}()}).call(void 0)},{}],275:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=f=function(a){d(n,a);function n(i,o,r){if(n.__super__.constructor.call(this,i),o==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(o),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(i))},n.prototype.isEqualNode=function(i){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(i)?!(i.target!==this.target):!1},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLNode"),N.exports=f=function(a){d(n,a);function n(i,o){if(n.__super__.constructor.call(this,i),o==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(o)}return n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return this.options.writer.raw(this,this.options.writer.filterOptions(i))},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(R,N,t){"use strict";(function(){var y,p,S,m,g=function(c,a){for(var n in a)f.call(a,n)&&(c[n]=a[n]);function i(){this.constructor=c}return i.prototype=a.prototype,c.prototype=new i,c.__super__=a.prototype,c},f={}.hasOwnProperty;y=R("./NodeType"),m=R("./XMLWriterBase"),p=R("./WriterState"),N.exports=S=function(d){g(c,d);function c(a,n){this.stream=a,c.__super__.constructor.call(this,n)}return c.prototype.endline=function(a,n,i){return a.isLastRootNode&&n.state===p.CloseTag?"":c.__super__.endline.call(this,a,n,i)},c.prototype.document=function(a,n){var i,o,r,l,e,s,u,h,A;for(u=a.children,o=r=0,e=u.length;r<e;o=++r)i=u[o],i.isLastRootNode=o===a.children.length-1;for(n=this.filterOptions(n),h=a.children,A=[],l=0,s=h.length;l<s;l++)i=h[l],A.push(this.writeChildNode(i,n,0));return A},c.prototype.attribute=function(a,n,i){return this.stream.write(c.__super__.attribute.call(this,a,n,i))},c.prototype.cdata=function(a,n,i){return this.stream.write(c.__super__.cdata.call(this,a,n,i))},c.prototype.comment=function(a,n,i){return this.stream.write(c.__super__.comment.call(this,a,n,i))},c.prototype.declaration=function(a,n,i){return this.stream.write(c.__super__.declaration.call(this,a,n,i))},c.prototype.docType=function(a,n,i){var o,r,l,e;if(i||(i=0),this.openNode(a,n,i),n.state=p.OpenTag,this.stream.write(this.indent(a,n,i)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a,n,i)),n.state=p.InsideTag,e=a.children,r=0,l=e.length;r<l;r++)o=e[r],this.writeChildNode(o,n,i+1);n.state=p.CloseTag,this.stream.write("]")}return n.state=p.CloseTag,this.stream.write(n.spaceBeforeSlash+">"),this.stream.write(this.endline(a,n,i)),n.state=p.None,this.closeNode(a,n,i)},c.prototype.element=function(a,n,i){var o,r,l,e,s,u,h,A,v,w;i||(i=0),this.openNode(a,n,i),n.state=p.OpenTag,this.stream.write(this.indent(a,n,i)+"<"+a.name),v=a.attribs;for(h in v){if(!f.call(v,h))continue;o=v[h],this.attribute(o,n,i)}if(l=a.children.length,e=l===0?null:a.children[0],l===0||a.children.every(function(b){return(b.type===y.Text||b.type===y.Raw)&&b.value===""}))n.allowEmpty?(this.stream.write(">"),n.state=p.CloseTag,this.stream.write("</"+a.name+">")):(n.state=p.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(n.pretty&&l===1&&(e.type===y.Text||e.type===y.Raw)&&e.value!=null)this.stream.write(">"),n.state=p.InsideTag,n.suppressPrettyCount++,A=!0,this.writeChildNode(e,n,i+1),n.suppressPrettyCount--,A=!1,n.state=p.CloseTag,this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.endline(a,n,i)),n.state=p.InsideTag,w=a.children,s=0,u=w.length;s<u;s++)r=w[s],this.writeChildNode(r,n,i+1);n.state=p.CloseTag,this.stream.write(this.indent(a,n,i)+"</"+a.name+">")}return this.stream.write(this.endline(a,n,i)),n.state=p.None,this.closeNode(a,n,i)},c.prototype.processingInstruction=function(a,n,i){return this.stream.write(c.__super__.processingInstruction.call(this,a,n,i))},c.prototype.raw=function(a,n,i){return this.stream.write(c.__super__.raw.call(this,a,n,i))},c.prototype.text=function(a,n,i){return this.stream.write(c.__super__.text.call(this,a,n,i))},c.prototype.dtdAttList=function(a,n,i){return this.stream.write(c.__super__.dtdAttList.call(this,a,n,i))},c.prototype.dtdElement=function(a,n,i){return this.stream.write(c.__super__.dtdElement.call(this,a,n,i))},c.prototype.dtdEntity=function(a,n,i){return this.stream.write(c.__super__.dtdEntity.call(this,a,n,i))},c.prototype.dtdNotation=function(a,n,i){return this.stream.write(c.__super__.dtdNotation.call(this,a,n,i))},c}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(R,N,t){"use strict";(function(){var y,p,S=function(f,d){for(var c in d)m.call(d,c)&&(f[c]=d[c]);function a(){this.constructor=f}return a.prototype=d.prototype,f.prototype=new a,f.__super__=d.prototype,f},m={}.hasOwnProperty;p=R("./XMLWriterBase"),N.exports=y=function(g){S(f,g);function f(d){f.__super__.constructor.call(this,d)}return f.prototype.document=function(d,c){var a,n,i,o,r;for(c=this.filterOptions(c),o="",r=d.children,n=0,i=r.length;n<i;n++)a=r[n],o+=this.writeChildNode(a,c,0);return c.pretty&&o.slice(-c.newline.length)===c.newline&&(o=o.slice(0,-c.newline.length)),o},f}(p)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(R,N,t){"use strict";(function(){var y,p=function(g,f){return function(){return g.apply(f,arguments)}},S={}.hasOwnProperty;N.exports=y=function(){function m(g){this.assertLegalName=p(this.assertLegalName,this),this.assertLegalChar=p(this.assertLegalChar,this);var f,d,c;g||(g={}),this.options=g,this.options.version||(this.options.version="1.0"),d=g.stringify||{};for(f in d){if(!S.call(d,f))continue;c=d[f],this[f]=c}}return m.prototype.name=function(g){return this.options.noValidation?g:this.assertLegalName(""+g||"")},m.prototype.text=function(g){return this.options.noValidation?g:this.assertLegalChar(this.textEscape(""+g||""))},m.prototype.cdata=function(g){return this.options.noValidation?g:(g=""+g||"",g=g.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(g))},m.prototype.comment=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+g);return this.assertLegalChar(g)},m.prototype.raw=function(g){return this.options.noValidation?g:""+g||""},m.prototype.attValue=function(g){return this.options.noValidation?g:this.assertLegalChar(this.attEscape(g=""+g||""))},m.prototype.insTarget=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.insValue=function(g){if(this.options.noValidation)return g;if(g=""+g||"",g.match(/\?>/))throw new Error("Invalid processing instruction value: "+g);return this.assertLegalChar(g)},m.prototype.xmlVersion=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+g);return g},m.prototype.xmlEncoding=function(g){if(this.options.noValidation)return g;if(g=""+g||"",!g.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+g);return this.assertLegalChar(g)},m.prototype.xmlStandalone=function(g){return this.options.noValidation?g:g?"yes":"no"},m.prototype.dtdPubID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdSysID=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdElementValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttType=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdAttDefault=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdEntityValue=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.dtdNData=function(g){return this.options.noValidation?g:this.assertLegalChar(""+g||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(g){var f,d;if(this.options.noValidation)return g;if(f="",this.options.version==="1.0"){if(f=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=g.match(f))throw new Error("Invalid character in string: "+g+" at index "+d.index)}else if(this.options.version==="1.1"&&(f=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=g.match(f)))throw new Error("Invalid character in string: "+g+" at index "+d.index);return g},m.prototype.assertLegalName=function(g){var f;if(this.options.noValidation)return g;if(this.assertLegalChar(g),f=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!g.match(f))throw new Error("Invalid character in name");return g},m.prototype.textEscape=function(g){var f;return this.options.noValidation?g:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(f,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(g){var f;return this.options.noValidation?g:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,g.replace(f,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(R,N,t){"use strict";var y=R("babel-runtime/core-js/object/create"),p=S(y);function S(m){return m&&m.__esModule?m:{default:m}}(function(){var m,g,f,d=function(n,i){for(var o in i)c.call(i,o)&&(n[o]=i[o]);function r(){this.constructor=n}return r.prototype=i.prototype,n.prototype=new r,n.__super__=i.prototype,n},c={}.hasOwnProperty;m=R("./NodeType"),g=R("./XMLCharacterData"),N.exports=f=function(a){d(n,a);function n(i,o){if(n.__super__.constructor.call(this,i),o==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(o)}return Object.defineProperty(n.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"wholeText",{get:function(){var o,r,l;for(l="",r=this.previousSibling;r;)l=r.data+l,r=r.previousSibling;for(l+=this.data,o=this.nextSibling;o;)l=l+o.data,o=o.nextSibling;return l}}),n.prototype.clone=function(){return(0,p.default)(this)},n.prototype.toString=function(i){return this.options.writer.text(this,this.options.writer.filterOptions(i))},n.prototype.splitText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceWholeText=function(i){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(g)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a,n,i,o,r,l,e,s,u,h={}.hasOwnProperty;u=R("./Utility").assign,y=R("./NodeType"),a=R("./XMLDeclaration"),n=R("./XMLDocType"),S=R("./XMLCData"),m=R("./XMLComment"),o=R("./XMLElement"),l=R("./XMLRaw"),e=R("./XMLText"),r=R("./XMLProcessingInstruction"),i=R("./XMLDummy"),g=R("./XMLDTDAttList"),f=R("./XMLDTDElement"),d=R("./XMLDTDEntity"),c=R("./XMLDTDNotation"),p=R("./WriterState"),N.exports=s=function(){function A(v){var w,b,E;v||(v={}),this.options=v,b=v.writer||{};for(w in b){if(!h.call(b,w))continue;E=b[w],this["_"+w]=this[w],this[w]=E}}return A.prototype.filterOptions=function(v){var w,b,E,T,_,x,C,I;return v||(v={}),v=u({},this.options,v),w={writer:this},w.pretty=v.pretty||!1,w.allowEmpty=v.allowEmpty||!1,w.indent=(b=v.indent)!=null?b:" ",w.newline=(E=v.newline)!=null?E:`
|
|
|
`,w.offset=(T=v.offset)!=null?T:0,w.dontPrettyTextNodes=(_=(x=v.dontPrettyTextNodes)!=null?x:v.dontprettytextnodes)!=null?_:0,w.spaceBeforeSlash=(C=(I=v.spaceBeforeSlash)!=null?I:v.spacebeforeslash)!=null?C:"",w.spaceBeforeSlash===!0&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=p.None,w},A.prototype.indent=function(v,w,b){var E;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(E=(b||0)+w.offset+1,E>0)?new Array(E).join(w.indent):""},A.prototype.endline=function(v,w,b){return!w.pretty||w.suppressPrettyCount?"":w.newline},A.prototype.attribute=function(v,w,b){var E;return this.openAttribute(v,w,b),E=" "+v.name+'="'+v.value+'"',this.closeAttribute(v,w,b),E},A.prototype.cdata=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<![CDATA[",w.state=p.InsideTag,E+=v.value,w.state=p.CloseTag,E+="]]>"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.comment=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<!-- ",w.state=p.InsideTag,E+=v.value,w.state=p.CloseTag,E+=" -->"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.declaration=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<?xml",w.state=p.InsideTag,E+=' version="'+v.version+'"',v.encoding!=null&&(E+=' encoding="'+v.encoding+'"'),v.standalone!=null&&(E+=' standalone="'+v.standalone+'"'),w.state=p.CloseTag,E+=w.spaceBeforeSlash+"?>",E+=this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.docType=function(v,w,b){var E,T,_,x,C;if(b||(b=0),this.openNode(v,w,b),w.state=p.OpenTag,x=this.indent(v,w,b),x+="<!DOCTYPE "+v.root().name,v.pubID&&v.sysID?x+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.sysID&&(x+=' SYSTEM "'+v.sysID+'"'),v.children.length>0){for(x+=" [",x+=this.endline(v,w,b),w.state=p.InsideTag,C=v.children,T=0,_=C.length;T<_;T++)E=C[T],x+=this.writeChildNode(E,w,b+1);w.state=p.CloseTag,x+="]"}return w.state=p.CloseTag,x+=w.spaceBeforeSlash+">",x+=this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),x},A.prototype.element=function(v,w,b){var E,T,_,x,C,I,L,F,B,P,H,z,M,U;b||(b=0),P=!1,H="",this.openNode(v,w,b),w.state=p.OpenTag,H+=this.indent(v,w,b)+"<"+v.name,z=v.attribs;for(B in z){if(!h.call(z,B))continue;E=z[B],H+=this.attribute(E,w,b)}if(_=v.children.length,x=_===0?null:v.children[0],_===0||v.children.every(function(k){return(k.type===y.Text||k.type===y.Raw)&&k.value===""}))w.allowEmpty?(H+=">",w.state=p.CloseTag,H+="</"+v.name+">"+this.endline(v,w,b)):(w.state=p.CloseTag,H+=w.spaceBeforeSlash+"/>"+this.endline(v,w,b));else if(w.pretty&&_===1&&(x.type===y.Text||x.type===y.Raw)&&x.value!=null)H+=">",w.state=p.InsideTag,w.suppressPrettyCount++,P=!0,H+=this.writeChildNode(x,w,b+1),w.suppressPrettyCount--,P=!1,w.state=p.CloseTag,H+="</"+v.name+">"+this.endline(v,w,b);else{if(w.dontPrettyTextNodes){for(M=v.children,C=0,L=M.length;C<L;C++)if(T=M[C],(T.type===y.Text||T.type===y.Raw)&&T.value!=null){w.suppressPrettyCount++,P=!0;break}}for(H+=">"+this.endline(v,w,b),w.state=p.InsideTag,U=v.children,I=0,F=U.length;I<F;I++)T=U[I],H+=this.writeChildNode(T,w,b+1);w.state=p.CloseTag,H+=this.indent(v,w,b)+"</"+v.name+">",P&&w.suppressPrettyCount--,H+=this.endline(v,w,b),w.state=p.None}return this.closeNode(v,w,b),H},A.prototype.writeChildNode=function(v,w,b){switch(v.type){case y.CData:return this.cdata(v,w,b);case y.Comment:return this.comment(v,w,b);case y.Element:return this.element(v,w,b);case y.Raw:return this.raw(v,w,b);case y.Text:return this.text(v,w,b);case y.ProcessingInstruction:return this.processingInstruction(v,w,b);case y.Dummy:return"";case y.Declaration:return this.declaration(v,w,b);case y.DocType:return this.docType(v,w,b);case y.AttributeDeclaration:return this.dtdAttList(v,w,b);case y.ElementDeclaration:return this.dtdElement(v,w,b);case y.EntityDeclaration:return this.dtdEntity(v,w,b);case y.NotationDeclaration:return this.dtdNotation(v,w,b);default:throw new Error("Unknown XML node type: "+v.constructor.name)}},A.prototype.processingInstruction=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<?",w.state=p.InsideTag,E+=v.target,v.value&&(E+=" "+v.value),w.state=p.CloseTag,E+=w.spaceBeforeSlash+"?>",E+=this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.raw=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b),w.state=p.InsideTag,E+=v.value,w.state=p.CloseTag,E+=this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.text=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b),w.state=p.InsideTag,E+=v.value,w.state=p.CloseTag,E+=this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.dtdAttList=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<!ATTLIST",w.state=p.InsideTag,E+=" "+v.elementName+" "+v.attributeName+" "+v.attributeType,v.defaultValueType!=="#DEFAULT"&&(E+=" "+v.defaultValueType),v.defaultValue&&(E+=' "'+v.defaultValue+'"'),w.state=p.CloseTag,E+=w.spaceBeforeSlash+">"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.dtdElement=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<!ELEMENT",w.state=p.InsideTag,E+=" "+v.name+" "+v.value,w.state=p.CloseTag,E+=w.spaceBeforeSlash+">"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.dtdEntity=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<!ENTITY",w.state=p.InsideTag,v.pe&&(E+=" %"),E+=" "+v.name,v.value?E+=' "'+v.value+'"':(v.pubID&&v.sysID?E+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.sysID&&(E+=' SYSTEM "'+v.sysID+'"'),v.nData&&(E+=" NDATA "+v.nData)),w.state=p.CloseTag,E+=w.spaceBeforeSlash+">"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.dtdNotation=function(v,w,b){var E;return this.openNode(v,w,b),w.state=p.OpenTag,E=this.indent(v,w,b)+"<!NOTATION",w.state=p.InsideTag,E+=" "+v.name,v.pubID&&v.sysID?E+=' PUBLIC "'+v.pubID+'" "'+v.sysID+'"':v.pubID?E+=' PUBLIC "'+v.pubID+'"':v.sysID&&(E+=' SYSTEM "'+v.sysID+'"'),w.state=p.CloseTag,E+=w.spaceBeforeSlash+">"+this.endline(v,w,b),w.state=p.None,this.closeNode(v,w,b),E},A.prototype.openNode=function(v,w,b){},A.prototype.closeNode=function(v,w,b){},A.prototype.openAttribute=function(v,w,b){},A.prototype.closeAttribute=function(v,w,b){},A}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(R,N,t){"use strict";(function(){var y,p,S,m,g,f,d,c,a,n;n=R("./Utility"),c=n.assign,a=n.isFunction,S=R("./XMLDOMImplementation"),m=R("./XMLDocument"),g=R("./XMLDocumentCB"),d=R("./XMLStringWriter"),f=R("./XMLStreamWriter"),y=R("./NodeType"),p=R("./WriterState"),N.exports.create=function(i,o,r,l){var e,s;if(i==null)throw new Error("Root element needs a name.");return l=c({},o,r,l),e=new m(l),s=e.element(i),l.headless||(e.declaration(l),(l.pubID!=null||l.sysID!=null)&&e.dtd(l)),s},N.exports.begin=function(i,o,r){var l;return a(i)&&(l=[i,o],o=l[0],r=l[1],i={}),o?new g(i,o,r):new m(i)},N.exports.stringWriter=function(i){return new d(i)},N.exports.streamWriter=function(i,o){return new f(i,o)},N.exports.implementation=new S,N.exports.nodeType=y,N.exports.writerState=p}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(R,N,t){N.exports=p;var y=Object.prototype.hasOwnProperty;function p(){for(var S={},m=0;m<arguments.length;m++){var g=arguments[m];for(var f in g)y.call(g,f)&&(S[f]=g[f])}return S}},{}],284:[function(R,N,t){"use strict";var y=R("buffer").Buffer,p=R("./sha"),S=R("./md5"),m={sha1:p,md5:S},g=64,f=y.alloc(g);f.fill(0);function d(n,i,o){y.isBuffer(i)||(i=y.from(i)),y.isBuffer(o)||(o=y.from(o)),i.length>g?i=n(i):i.length<g&&(i=y.concat([i,f],g));for(var r=y.alloc(g),l=y.alloc(g),e=0;e<g;e++)r[e]=i[e]^54,l[e]=i[e]^92;var s=n(y.concat([r,o]));return n(y.concat([l,s]))}function c(n,i){n=n||"sha1";var o=m[n],r=[],l=0;return o||a("algorithm:",n,"is not yet supported"),{update:function(s){return y.isBuffer(s)||(s=y.from(s)),r.push(s),l+=s.length,this},digest:function(s){var u=y.concat(r),h=i?d(o,i,u):o(u);return r=null,s?h.toString(s):h}}}function a(){var n=[].slice.call(arguments).join(" ");throw new Error([n,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}t.createHash=function(n){return c(n)},t.createHmac=function(n,i){return c(n,i)},t.createCredentials=function(){a("sorry,createCredentials is not implemented yet")},t.createCipher=function(){a("sorry,createCipher is not implemented yet")},t.createCipheriv=function(){a("sorry,createCipheriv is not implemented yet")},t.createDecipher=function(){a("sorry,createDecipher is not implemented yet")},t.createDecipheriv=function(){a("sorry,createDecipheriv is not implemented yet")},t.createSign=function(){a("sorry,createSign is not implemented yet")},t.createVerify=function(){a("sorry,createVerify is not implemented yet")},t.createDiffieHellman=function(){a("sorry,createDiffieHellman is not implemented yet")},t.pbkdf2=function(){a("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(R,N,t){"use strict";var y=R("buffer").Buffer,p=4,S=y.alloc(p);S.fill(0);var m=8;function g(c,a){if(c.length%p!==0){var n=c.length+(p-c.length%p);c=y.concat([c,S],n)}for(var i=[],o=a?c.readInt32BE:c.readInt32LE,r=0;r<c.length;r+=p)i.push(o.call(c,r));return i}function f(c,a,n){for(var i=y.alloc(a),o=n?i.writeInt32BE:i.writeInt32LE,r=0;r<c.length;r++)o.call(i,c[r],r*4,!0);return i}function d(c,a,n,i){y.isBuffer(c)||(c=y.from(c));var o=a(g(c,i),c.length*m);return f(o,n,i)}N.exports={hash:d}},{buffer:73}],286:[function(R,N,t){"use strict";var y=R("./helpers");function p(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function S(i,o){i[o>>5]|=128<<o%32,i[(o+64>>>9<<4)+14]=o;for(var r=1732584193,l=-271733879,e=-1732584194,s=271733878,u=0;u<i.length;u+=16){var h=r,A=l,v=e,w=s;r=g(r,l,e,s,i[u+0],7,-680876936),s=g(s,r,l,e,i[u+1],12,-389564586),e=g(e,s,r,l,i[u+2],17,606105819),l=g(l,e,s,r,i[u+3],22,-1044525330),r=g(r,l,e,s,i[u+4],7,-176418897),s=g(s,r,l,e,i[u+5],12,1200080426),e=g(e,s,r,l,i[u+6],17,-1473231341),l=g(l,e,s,r,i[u+7],22,-45705983),r=g(r,l,e,s,i[u+8],7,1770035416),s=g(s,r,l,e,i[u+9],12,-1958414417),e=g(e,s,r,l,i[u+10],17,-42063),l=g(l,e,s,r,i[u+11],22,-1990404162),r=g(r,l,e,s,i[u+12],7,1804603682),s=g(s,r,l,e,i[u+13],12,-40341101),e=g(e,s,r,l,i[u+14],17,-1502002290),l=g(l,e,s,r,i[u+15],22,1236535329),r=f(r,l,e,s,i[u+1],5,-165796510),s=f(s,r,l,e,i[u+6],9,-1069501632),e=f(e,s,r,l,i[u+11],14,643717713),l=f(l,e,s,r,i[u+0],20,-373897302),r=f(r,l,e,s,i[u+5],5,-701558691),s=f(s,r,l,e,i[u+10],9,38016083),e=f(e,s,r,l,i[u+15],14,-660478335),l=f(l,e,s,r,i[u+4],20,-405537848),r=f(r,l,e,s,i[u+9],5,568446438),s=f(s,r,l,e,i[u+14],9,-1019803690),e=f(e,s,r,l,i[u+3],14,-187363961),l=f(l,e,s,r,i[u+8],20,1163531501),r=f(r,l,e,s,i[u+13],5,-1444681467),s=f(s,r,l,e,i[u+2],9,-51403784),e=f(e,s,r,l,i[u+7],14,1735328473),l=f(l,e,s,r,i[u+12],20,-1926607734),r=d(r,l,e,s,i[u+5],4,-378558),s=d(s,r,l,e,i[u+8],11,-2022574463),e=d(e,s,r,l,i[u+11],16,1839030562),l=d(l,e,s,r,i[u+14],23,-35309556),r=d(r,l,e,s,i[u+1],4,-1530992060),s=d(s,r,l,e,i[u+4],11,1272893353),e=d(e,s,r,l,i[u+7],16,-155497632),l=d(l,e,s,r,i[u+10],23,-1094730640),r=d(r,l,e,s,i[u+13],4,681279174),s=d(s,r,l,e,i[u+0],11,-358537222),e=d(e,s,r,l,i[u+3],16,-722521979),l=d(l,e,s,r,i[u+6],23,76029189),r=d(r,l,e,s,i[u+9],4,-640364487),s=d(s,r,l,e,i[u+12],11,-421815835),e=d(e,s,r,l,i[u+15],16,530742520),l=d(l,e,s,r,i[u+2],23,-995338651),r=c(r,l,e,s,i[u+0],6,-198630844),s=c(s,r,l,e,i[u+7],10,1126891415),e=c(e,s,r,l,i[u+14],15,-1416354905),l=c(l,e,s,r,i[u+5],21,-57434055),r=c(r,l,e,s,i[u+12],6,1700485571),s=c(s,r,l,e,i[u+3],10,-1894986606),e=c(e,s,r,l,i[u+10],15,-1051523),l=c(l,e,s,r,i[u+1],21,-2054922799),r=c(r,l,e,s,i[u+8],6,1873313359),s=c(s,r,l,e,i[u+15],10,-30611744),e=c(e,s,r,l,i[u+6],15,-1560198380),l=c(l,e,s,r,i[u+13],21,1309151649),r=c(r,l,e,s,i[u+4],6,-145523070),s=c(s,r,l,e,i[u+11],10,-1120210379),e=c(e,s,r,l,i[u+2],15,718787259),l=c(l,e,s,r,i[u+9],21,-343485551),r=a(r,h),l=a(l,A),e=a(e,v),s=a(s,w)}return Array(r,l,e,s)}function m(i,o,r,l,e,s){return a(n(a(a(o,i),a(l,s)),e),r)}function g(i,o,r,l,e,s,u){return m(o&r|~o&l,i,o,e,s,u)}function f(i,o,r,l,e,s,u){return m(o&l|r&~l,i,o,e,s,u)}function d(i,o,r,l,e,s,u){return m(o^r^l,i,o,e,s,u)}function c(i,o,r,l,e,s,u){return m(r^(o|~l),i,o,e,s,u)}function a(i,o){var r=(i&65535)+(o&65535),l=(i>>16)+(o>>16)+(r>>16);return l<<16|r&65535}function n(i,o){return i<<o|i>>>32-o}N.exports=function(o){return y.hash(o,S,16)}},{"./helpers":285}],287:[function(R,N,t){"use strict";var y=R("./helpers");function p(d,c){d[c>>5]|=128<<24-c%32,d[(c+64>>9<<4)+15]=c;for(var a=Array(80),n=1732584193,i=-271733879,o=-1732584194,r=271733878,l=-1009589776,e=0;e<d.length;e+=16){for(var s=n,u=i,h=o,A=r,v=l,w=0;w<80;w++){w<16?a[w]=d[e+w]:a[w]=f(a[w-3]^a[w-8]^a[w-14]^a[w-16],1);var b=g(g(f(n,5),S(w,i,o,r)),g(g(l,a[w]),m(w)));l=r,r=o,o=f(i,30),i=n,n=b}n=g(n,s),i=g(i,u),o=g(o,h),r=g(r,A),l=g(l,v)}return Array(n,i,o,r,l)}function S(d,c,a,n){return d<20?c&a|~c&n:d<40?c^a^n:d<60?c&a|c&n|a&n:c^a^n}function m(d){return d<20?1518500249:d<40?1859775393:d<60?-1894007588:-899497514}function g(d,c){var a=(d&65535)+(c&65535),n=(d>>16)+(c>>16)+(a>>16);return n<<16|a&65535}function f(d,c){return d<<c|d>>>32-c}N.exports=function(c){return y.hash(c,p,20,!0)}},{"./helpers":285}],288:[function(R,N,t){"use strict";N.exports=function(){return function(){}}},{}],289:[function(R,N,t){(function(y){"use strict";var p=R("babel-runtime/helpers/typeof"),S=m(p);function m(n){return n&&n.__esModule?n:{default:n}}var g=R("stream"),f=g.Stream,d=R("../lib/common/utils/isArray"),c=d.isArray;N.exports.string=function(i){return typeof i=="string"},N.exports.array=c,N.exports.buffer=y.isBuffer;function a(n){return n instanceof f}N.exports.writableStream=function(i){return a(i)&&typeof i._write=="function"&&(0,S.default)(i._writableState)==="object"}}).call(this,{isBuffer:R("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(R,N,t){"use strict";t.encodeURIComponent=function(y){try{return encodeURIComponent(y)}catch(p){return y}},t.escape=R("escape-html"),t.timestamp=function(p){if(p){var S=p;return typeof S=="string"&&(S=Number(S)),String(p).length===10&&(S*=1e3),new Date(S)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(R,N,t){(function(y,p){"use strict";var S=R("babel-runtime/core-js/json/stringify"),m=d(S),g=R("babel-runtime/helpers/typeof"),f=d(g);function d(w){return w&&w.__esModule?w:{default:w}}var c=R("util"),a=R("url"),n=R("http"),i=R("https"),o=R("debug")("urllib"),r=R("humanize-ms"),l,e=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function h(w,b){return w===void 0?b:w}function A(w,b){return function(E,T,_){if(E)return b(E);w({data:T,status:_.statusCode,headers:_.headers,res:_})}}t.TIMEOUTS=[r("300s"),r("300s")];var v=["json","text"];t.request=function(b,E,T){return arguments.length===2&&typeof E=="function"&&(T=E,E=null),typeof T=="function"?t.requestWithCallback(b,E,T):(l||(l=R("any-promise")),new l(function(_,x){t.requestWithCallback(b,E,A(_,x))}))},t.requestWithCallback=function(b,E,T){if(!b||typeof b!="string"&&(typeof b=="undefined"?"undefined":(0,f.default)(b))!=="object"){var _=c.format("expect request url to be a string or a http request options, but got %j",b);throw new Error(_)}arguments.length===2&&typeof E=="function"&&(T=E,E=null),E=E||{},e>=s&&(e=0);var x=++e;E.requestUrls=E.requestUrls||[];var C={requestId:x,url:b,args:E,ctx:E.ctx};E.emitter&&E.emitter.emit("request",C),E.timeout=E.timeout||t.TIMEOUTS,E.maxRedirects=E.maxRedirects||10,E.streaming=E.streaming||E.customResponse;var I=Date.now(),L;typeof b=="string"?(u.test(b)||(b="http://"+b),L=a.parse(b)):L=b;var F=(E.type||E.method||L.method||"GET").toUpperCase(),B=L.port||80,P=n,H=h(E.agent,t.agent),z=E.fixJSONCtlChars;L.protocol==="https:"&&(P=i,H=h(E.httpsAgent,t.httpsAgent),L.port||(B=443));var M={host:L.hostname||L.host||"localhost",path:L.path||"/",method:F,port:B,agent:H,headers:E.headers||{},lookup:E.lookup};Array.isArray(E.timeout)?M.requestTimeout=E.timeout[E.timeout.length-1]:typeof E.timeout!="undefined"&&(M.requestTimeout=E.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],k=0;k<U.length;k++){var K=U[k];E.hasOwnProperty(K)&&(M[K]=E[K])}M.rejectUnauthorized===!1&&!M.hasOwnProperty("secureOptions")&&(M.secureOptions=R("constants").SSL_OP_NO_TLSv1_2);var j=E.auth||L.auth;j&&(M.auth=j);var V=E.content||E.data,W=F==="GET"||F==="HEAD"||E.dataAsQueryString;if(!E.content&&(V&&!(typeof V=="string"||p.isBuffer(V))))if(W)V=E.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var X=M.headers["Content-Type"]||M.headers["content-type"];X||(E.contentType==="json"?X="application/json":X="application/x-www-form-urlencoded",M.headers["Content-Type"]=X),parseContentType(X).type==="application/json"?V=(0,m.default)(V):V=E.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}W&&V&&(M.path+=(L.query?"&":"?")+V,V=null);var J=0;if(V){var de=V.length;p.isBuffer(V)||(de=p.byteLength(V)),J=M.headers["Content-Length"]=de}E.dataType==="json"&&(M.headers.Accept="application/json"),typeof E.beforeRequest=="function"&&E.beforeRequest(M);var G=null,ae=null,Ae=null,me=!1,Me=!1,oe=0,_e=-1,ee=!1,ne="",Ge="",Ee=null;E.timing&&(Ee={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function ue(){G&&(clearTimeout(G),G=null)}function re(){ae&&(clearTimeout(ae),ae=null)}function ce(Oe,vt,Ze){if(re(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,y.pid,M.method,b),Oe&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),x,y.pid,Oe.name,Oe.message,Oe.stack);return}var wt=T;T=null;var xt={};if(Ze&&(_e=Ze.statusCode,xt=Ze.headers),_e===401&&xt["www-authenticate"]&&(!E.headers||!E.headers.Authorization)&&E.digestAuth){var Ot=xt["www-authenticate"];if(Ot.indexOf("Digest ")>=0)return o("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,b,Ot),E.headers=E.headers||{},E.headers.Authorization=digestAuthHeader(M.method,M.path,Ot,E.digestAuth),o("Request#%d %s: auth with digest header: %s",x,b,E.headers.Authorization),Ze.headers["set-cookie"]&&(E.headers.Cookie=Ze.headers["set-cookie"].join(";")),t.requestWithCallback(b,E,wt)}var Mt=Date.now()-I;Ee&&(Ee.contentDownload=Mt),o("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Mt,oe,_e,M.method,M.host,M.path,Me,Ee);var Gt={status:_e,statusCode:_e,headers:xt,size:oe,aborted:ee,rt:Mt,keepAliveSocket:Me,data:vt,requestUrls:E.requestUrls,timing:Ee,remoteAddress:ne,remotePort:Ge};if(Oe){var $e="";H&&typeof H.getCurrentStatus=="function"&&($e=", agent status: "+(0,m.default)(H.getCurrentStatus())),Oe.message+=", "+M.method+" "+b+" "+_e+" (connected: "+me+", keepalive socket: "+Me+$e+`)
|
|
|
headers: `+(0,m.default)(xt),Oe.data=vt,Oe.path=M.path,Oe.status=_e,Oe.headers=xt,Oe.res=Gt}wt(Oe,vt,E.streaming?Ze:Gt),E.emitter&&(C.url=b,C.socket=pt&&pt.connection,C.options=M,C.size=J,E.emitter.emit("response",{requestId:x,error:Oe,ctx:E.ctx,req:C,res:Gt}))}function ke(Oe){var vt=null;if(E.followRedirect&&statuses.redirect[Oe.statusCode]){E._followRedirectCount=(E._followRedirectCount||0)+1;var Ze=Oe.headers.location;if(!Ze)vt=new Error("Got statusCode "+Oe.statusCode+" but cannot resolve next location from headers"),vt.name="FollowRedirectError";else if(E._followRedirectCount>E.maxRedirects)vt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+b),vt.name="MaxRedirectError";else{var wt=E.formatRedirectUrl?E.formatRedirectUrl(b,Ze):a.resolve(b,Ze);o("Request#%d %s: `redirected` from %s to %s",x,M.path,b,wt),re(),E.headers&&E.headers.Host&&u.test(Ze)&&(E.headers.Host=null);var xt=T;return T=null,t.requestWithCallback(wt,E,xt),{redirect:!0,error:null}}}return{redirect:!1,error:vt}}!M.headers["User-Agent"]&&!M.headers["user-agent"]&&(M.headers["User-Agent"]=navigator.userAgent),E.gzip&&(!M.headers["Accept-Encoding"]&&!M.headers["accept-encoding"]&&(M.headers["Accept-Encoding"]="gzip"));function Te(Oe,vt,Ze){var wt=Oe.headers["content-encoding"];return Ze(null,vt,wt)}var Ke=E.writeStream;o("Request#%d %s %s with headers %j, options.path: %s",x,F,b,M.headers,M.path),E.requestUrls.push(b);function Ie(Oe){if(Ee&&(Ee.waiting=Date.now()-I),o("Request#%d %s `req response` event emit: status %d, headers: %j",x,b,Oe.statusCode,Oe.headers),E.streaming){var vt=ke(Oe);if(vt.redirect){Oe.resume();return}return vt.error?(Oe.resume(),ce(vt.error,null,Oe)):ce(null,null,Oe)}if(Oe.on("close",function(){o("Request#%d %s: `res close` event emit, total size %d",x,b,oe)}),Oe.on("error",function(){o("Request#%d %s: `res error` event emit, total size %d",x,b,oe)}),Oe.on("aborted",function(){ee=!0,o("Request#%d %s: `res aborted` event emit, total size %d",x,b,oe)}),Ke){var vt=ke(Oe);if(vt.redirect){Oe.resume();return}return vt.error?(Oe.resume(),Ke.end(),ce(vt.error,null,Oe)):(E.consumeWriteStream===!1?Oe.on("end",ce.bind(null,null,null,Oe)):isNode010||isNode012?first([[Ke,"close"],[Oe,"aborted"]],function(xt,Ot,Mt){o("Request#%d %s: writeStream or res %s event emitted",x,b,Mt),ce(Ae||null,null,Oe)}):Ke.on("close",function(){o("Request#%d %s: writeStream close event emitted",x,b),ce(Ae||null,null,Oe)}),Oe.pipe(Ke))}var Ze=[];Oe.on("data",function(wt){o("Request#%d %s: `res data` event emit, size %d",x,b,wt.length),oe+=wt.length,Ze.push(wt)}),Oe.on("end",function(){var wt=p.concat(Ze,oe);if(o("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,b,oe,Oe._dumped),Ae)return ce(Ae,wt,Oe);var xt=ke(Oe);if(xt.error)return ce(xt.error,wt,Oe);if(xt.redirect)return;Te(Oe,wt,function(Ot,Mt,Gt){if(Ot)return ce(Ot,wt,Oe);if(!Gt&&v.indexOf(E.dataType)>=0){try{Mt=decodeBodyByCharset(Mt,Oe)}catch(pe){return o("decodeBodyByCharset error: %s",pe),ce(null,Mt,Oe)}if(E.dataType==="json")if(oe===0)Mt=null;else{var $e=parseJSON(Mt,z);$e.error?Ot=$e.error:Mt=$e.data}}ee&&o("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,b),ce(Ot,Mt,Oe)})})}var se,ye;Array.isArray(E.timeout)?(se=r(E.timeout[0]),ye=r(E.timeout[1])):se=ye=r(E.timeout),o("ConnectTimeout: %d, ResponseTimeout: %d",se,ye);function xe(){o("Connect timer ticking, timeout: %d",se),G=setTimeout(function(){G=null,_e===-1&&(_e=-2);var Oe="Connect timeout for "+se+"ms",vt="ConnectionTimeoutError";pt.socket||(vt="SocketAssignTimeoutError",Oe+=", working sockets is full"),Ae=new Error(Oe),Ae.name=vt,Ae.requestId=x,o("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,b,Ae.name,Oe,me),nt()},se)}function Ye(){o("Response timer ticking, timeout: %d",ye),ae=setTimeout(function(){ae=null;var Oe="Response timeout for "+ye+"ms",vt="ResponseTimeoutError";Ae=new Error(Oe),Ae.name=vt,Ae.requestId=x,o("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,b,Ae.name,Oe,me),nt()},ye)}var pt;M.mode=E.mode?E.mode:"";try{pt=P.request(M,Ie)}catch(Oe){return ce(Oe)}typeof window=="undefined"?xe():pt.on("requestTimeout",function(){_e===-1&&(_e=-2);var Oe="Connect timeout for "+se+"ms",vt="ConnectionTimeoutError";Ae=new Error(Oe),Ae.name=vt,Ae.requestId=x,nt()});function nt(){o("Request#%d %s abort, connected: %s",x,b,me),pt.socket||(Ae.noSocket=!0,ce(Ae)),pt.abort()}return Ee&&pt.on("finish",function(){Ee.requestSent=Date.now()-I}),pt.once("socket",function(Oe){Ee&&(Ee.queuing=Date.now()-I),isNode010&&Oe.socket&&(Oe=Oe.socket);var vt=Oe.readyState;if(vt==="opening"){Oe.once("lookup",function(Ze,wt,xt){o("Request#%d %s lookup: %s, %s, %s",x,b,Ze,wt,xt),Ee&&(Ee.dnslookup=Date.now()-I),wt&&(ne=wt)}),Oe.once("connect",function(){Ee&&(Ee.connected=Date.now()-I),ue(),Ye(),o("Request#%d %s new socket connected",x,b),me=!0,ne||(ne=Oe.remoteAddress),Ge=Oe.remotePort});return}o("Request#%d %s reuse socket connected, readyState: %s",x,b,vt),me=!0,Me=!0,ne||(ne=Oe.remoteAddress),Ge=Oe.remotePort,ue(),Ye()}),pt.on("error",function(Oe){(Oe.name==="Error"||Oe.name==="TypeError")&&(Oe.name=me?"ResponseError":"RequestError"),Oe.message+=' (req "error")',o("Request#%d %s `req error` event emit, %s: %s",x,b,Oe.name,Oe.message),ce(Ae||Oe)}),Ke&&Ke.once("error",function(Oe){Oe.message+=' (writeStream "error")',Ae=Oe,o("Request#%d %s `writeStream error` event emit, %s: %s",x,b,Oe.name,Oe.message),nt()}),E.stream?(E.stream.pipe(pt),E.stream.once("error",function(Oe){Oe.message+=' (stream "error")',Ae=Oe,o("Request#%d %s `readStream error` event emit, %s: %s",x,b,Oe.name,Oe.message),nt()})):pt.end(V),pt.requestId=x,pt}}).call(this,R("_process"),R("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(R,N,t){var y=t("hX1E"),p=y.normalizeRadian,S=Math.PI*2;function m(g,f,d,c,a,n,i,o,r){if(i===0)return!1;var l=i;o-=g,r-=f;var e=Math.sqrt(o*o+r*r);if(e-l>d||e+l<d)return!1;if(Math.abs(c-a)%S<1e-4)return!0;if(n){var s=c;c=p(a),a=p(s)}else c=p(c),a=p(a);c>a&&(a+=S);var u=Math.atan2(r,o);return u<0&&(u+=S),u>=c&&u<=a||u+S>=c&&u+S<=a}N.containStroke=m},n4Lv:function(R,N,t){var y=t("7hqr"),p=y.isDimensionStacked,S=t("bYtY"),m=S.map;function g(c,a,n){var i=c.getBaseAxis(),o=c.getOtherAxis(i),r=f(o,n),l=i.dim,e=o.dim,s=a.mapDimension(e),u=a.mapDimension(l),h=e==="x"||e==="radius"?1:0,A=m(c.dimensions,function(b){return a.mapDimension(b)}),v,w=a.getCalculationInfo("stackResultDimension");return(v|=p(a,A[0]))&&(A[0]=w),(v|=p(a,A[1]))&&(A[1]=w),{dataDimsForPoint:A,valueStart:r,valueAxisDim:e,baseAxisDim:l,stacked:!!v,valueDim:s,baseDim:u,baseDataOffset:h,stackedOverDimension:a.getCalculationInfo("stackedOverDimension")}}function f(c,a){var n=0,i=c.scale.getExtent();return a==="start"?n=i[0]:a==="end"?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function d(c,a,n,i){var o=NaN;c.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=c.valueStart);var r=c.baseDataOffset,l=[];return l[r]=n.get(c.baseDim,i),l[1-r]=o,a.dataToPoint(l)}N.prepareDataCoordInfo=g,N.getStackedOnPoint=d},n6Mw:function(R,N,t){var y=t("SrGk"),p=t("bYtY"),S=t("Fofx");function m(f,d){y.call(this,f,d,"clipPath","__clippath_in_use__")}p.inherits(m,y),m.prototype.update=function(f){var d=this.getSvgElement(f);d&&this.updateDom(d,f.__clipPaths,!1);var c=this.getTextSvgElement(f);c&&this.updateDom(c,f.__clipPaths,!0),this.markUsed(f)},m.prototype.updateDom=function(f,d,c){if(d&&d.length>0){var a=this.getDefs(!0),n=d[0],i,o,r=c?"_textDom":"_dom";n[r]?(o=n[r].getAttribute("id"),i=n[r],a.contains(i)||a.appendChild(i)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",o),a.appendChild(i),n[r]=i);var l=this.getSvgProxy(n);if(n.transform&&n.parent.invTransform&&!c){var e=Array.prototype.slice.call(n.transform);S.mul(n.transform,n.parent.invTransform,n.transform),l.brush(n),n.transform=e}else l.brush(n);var s=this.getSvgElement(n);i.innerHTML="",i.appendChild(s.cloneNode()),f.setAttribute("clip-path","url(#"+o+")"),d.length>1&&this.updateDom(i,d.slice(1),c)}else f&&f.setAttribute("clip-path","none")},m.prototype.markUsed=function(f){var d=this;f.__clipPaths&&p.each(f.__clipPaths,function(c){c._dom&&y.prototype.markUsed.call(d,c._dom),c._textDom&&y.prototype.markUsed.call(d,c._textDom)})};var g=m;R.exports=g},nCxF:function(R,N,t){var y=t("QBsz"),p=y.min,S=y.max,m=y.scale,g=y.distance,f=y.add,d=y.clone,c=y.sub;function a(n,i,o,r){var l=[],e=[],s=[],u=[],h,A,v,w;if(r){v=[Infinity,Infinity],w=[-Infinity,-Infinity];for(var b=0,E=n.length;b<E;b++)p(v,v,n[b]),S(w,w,n[b]);p(v,v,r[0]),S(w,w,r[1])}for(var b=0,E=n.length;b<E;b++){var T=n[b];if(o)h=n[b?b-1:E-1],A=n[(b+1)%E];else if(b===0||b===E-1){l.push(d(n[b]));continue}else h=n[b-1],A=n[b+1];c(e,A,h),m(e,e,i);var _=g(T,h),x=g(T,A),C=_+x;C!==0&&(_/=C,x/=C),m(s,e,-_),m(u,e,x);var I=f([],T,s),L=f([],T,u);r&&(S(I,I,v),p(I,I,w),S(L,L,v),p(L,L,w)),l.push(I),l.push(L)}return o&&l.push(l.shift()),l}R.exports=a},nKiI:function(R,N,t){var y=t("bYtY"),p=t("mFDi"),S=t("OELB"),m=S.parsePercent,g=S.MAX_SAFE_INTEGER,f=t("+TT/"),d=t("VaxA"),c=Math.max,a=Math.min,n=y.retrieve,i=y.each,o=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],l=["upperLabel","show"],e=["upperLabel","height"],s={seriesType:"treemap",reset:function(I,L,F,B){var P=F.getWidth(),H=F.getHeight(),z=I.option,M=f.getLayoutRect(I.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),U=z.size||[],k=m(n(M.width,U[0]),P),K=m(n(M.height,U[1]),H),j=B&&B.type,V=["treemapZoomToNode","treemapRootToNode"],W=d.retrieveTargetInfo(B,V,I),X=j==="treemapRender"||j==="treemapMove"?B.rootRect:null,J=I.getViewRoot(),de=d.getPathToRoot(J);if(j!=="treemapMove"){var G=j==="treemapZoomToNode"?T(I,W,J,k,K):X?[X.width,X.height]:[k,K],ae=z.sort;ae&&ae!=="asc"&&ae!=="desc"&&(ae="desc");var Ae={squareRatio:z.squareRatio,sort:ae,leafDepth:z.leafDepth};J.hostTree.clearLayouts();var me={x:0,y:0,width:G[0],height:G[1],area:G[0]*G[1]};J.setLayout(me),u(J,Ae,!1,0);var me=J.getLayout();i(de,function(oe,_e){var ee=(de[_e+1]||J).getValue();oe.setLayout(y.extend({dataExtent:[ee,ee],borderWidth:0,upperHeight:0},me))})}var Me=I.getData().tree.root;Me.setLayout(_(M,X,W),!0),I.setLayoutInfo(M),x(Me,new p(-M.x,-M.y,P,H),de,J,0)}};function u(I,L,F,B){var P,H;if(I.isRemoved())return;var z=I.getLayout();P=z.width,H=z.height;var M=I.getModel(),U=M.get(o),k=M.get(r)/2,K=C(M),j=Math.max(U,K),V=U-k,W=j-k,M=I.getModel();I.setLayout({borderWidth:U,upperHeight:j,upperLabelHeight:K},!0),P=c(P-2*V,0),H=c(H-V-W,0);var X=P*H,J=h(I,M,X,L,F,B);if(!J.length)return;var de={x:V,y:W,width:P,height:H},G=a(P,H),ae=Infinity,Ae=[];Ae.area=0;for(var me=0,Me=J.length;me<Me;){var oe=J[me];Ae.push(oe),Ae.area+=oe.getLayout().area;var _e=b(Ae,G,L.squareRatio);_e<=ae?(me++,ae=_e):(Ae.area-=Ae.pop().getLayout().area,E(Ae,G,de,k,!1),G=a(de.width,de.height),Ae.length=Ae.area=0,ae=Infinity)}if(Ae.length&&E(Ae,G,de,k,!0),!F){var ee=M.get("childrenVisibleMin");ee!=null&&X<ee&&(F=!0)}for(var me=0,Me=J.length;me<Me;me++)u(J[me],L,F,B+1)}function h(I,L,F,B,P,H){var z=I.children||[],M=B.sort;M!=="asc"&&M!=="desc"&&(M=null);var U=B.leafDepth!=null&&B.leafDepth<=H;if(P&&!U)return I.viewChildren=[];z=y.filter(z,function(W){return!W.isRemoved()}),v(z,M);var k=w(L,z,M);if(k.sum===0)return I.viewChildren=[];if(k.sum=A(L,F,k.sum,M,z),k.sum===0)return I.viewChildren=[];for(var K=0,j=z.length;K<j;K++){var V=z[K].getValue()/k.sum*F;z[K].setLayout({area:V})}return U&&(z.length&&I.setLayout({isLeafRoot:!0},!0),z.length=0),I.viewChildren=z,I.setLayout({dataExtent:k.dataExtent},!0),z}function A(I,L,F,B,P){if(!B)return F;for(var H=I.get("visibleMin"),z=P.length,M=z,U=z-1;U>=0;U--){var k=P[B==="asc"?z-U-1:U].getValue();k/F*L<H&&(M=U,F-=k)}return B==="asc"?P.splice(0,z-M):P.splice(M,z-M),F}function v(I,L){return L&&I.sort(function(F,B){var P=L==="asc"?F.getValue()-B.getValue():B.getValue()-F.getValue();return P===0?L==="asc"?F.dataIndex-B.dataIndex:B.dataIndex-F.dataIndex:P}),I}function w(I,L,F){for(var B=0,P=0,H=L.length;P<H;P++)B+=L[P].getValue();var z=I.get("visualDimension"),M;if(!L||!L.length)M=[NaN,NaN];else if(z==="value"&&F)M=[L[L.length-1].getValue(),L[0].getValue()],F==="asc"&&M.reverse();else{var M=[Infinity,-Infinity];i(L,function(k){var K=k.getValue(z);K<M[0]&&(M[0]=K),K>M[1]&&(M[1]=K)})}return{sum:B,dataExtent:M}}function b(I,L,F){for(var B=0,P=Infinity,H=0,z,M=I.length;H<M;H++)z=I[H].getLayout().area,z&&(z<P&&(P=z),z>B&&(B=z));var U=I.area*I.area,k=L*L*F;return U?c(k*B/U,U/(k*P)):Infinity}function E(I,L,F,B,P){var H=L===F.width?0:1,z=1-H,M=["x","y"],U=["width","height"],k=F[M[H]],K=L?I.area/L:0;(P||K>F[U[z]])&&(K=F[U[z]]);for(var j=0,V=I.length;j<V;j++){var W=I[j],X={},J=K?W.getLayout().area/K:0,de=X[U[z]]=c(K-2*B,0),G=F[M[H]]+F[U[H]]-k,ae=j===V-1||G<J?G:J,Ae=X[U[H]]=c(ae-2*B,0);X[M[z]]=F[M[z]]+a(B,de/2),X[M[H]]=k+a(B,Ae/2),k+=ae,W.setLayout(X,!0)}F[M[z]]+=K,F[U[z]]-=K}function T(I,L,F,B,P){var H=(L||{}).node,z=[B,P];if(!H||H===F)return z;for(var M,U=B*P,k=U*I.option.zoomToNodeRatio;M=H.parentNode;){for(var K=0,j=M.children,V=0,W=j.length;V<W;V++)K+=j[V].getValue();var X=H.getValue();if(X===0)return z;k*=K/X;var J=M.getModel(),de=J.get(o),G=Math.max(de,C(J,de));k+=4*de*de+(3*de+G)*Math.pow(k,.5),k>g&&(k=g),H=M}k<U&&(k=U);var ae=Math.pow(k/U,.5);return[B*ae,P*ae]}function _(I,L,F){if(L)return{x:L.x,y:L.y};var B={x:0,y:0};if(!F)return B;var P=F.node,H=P.getLayout();if(!H)return B;for(var z=[H.width/2,H.height/2],M=P;M;){var U=M.getLayout();z[0]+=U.x,z[1]+=U.y,M=M.parentNode}return{x:I.width/2-z[0],y:I.height/2-z[1]}}function x(I,L,F,B,P){var H=I.getLayout(),z=F[P],M=z&&z===I;if(z&&!M||P===F.length&&I!==B)return;I.setLayout({isInView:!0,invisible:!M&&!L.intersect(H),isAboveViewRoot:M},!0);var U=new p(L.x-H.x,L.y-H.y,L.width,L.height);i(I.viewChildren||[],function(k){x(k,U,F,B,P+1)})}function C(I){return I.get(l)?I.get(e):0}R.exports=s},nPnh:function(R,N){var t=Math.round;function y(m,g,f){if(!g)return;var d=g.x1,c=g.x2,a=g.y1,n=g.y2;m.x1=d,m.x2=c,m.y1=a,m.y2=n;var i=f&&f.lineWidth;if(!i)return;t(d*2)===t(c*2)&&(m.x1=m.x2=S(d,i,!0)),t(a*2)===t(n*2)&&(m.y1=m.y2=S(a,i,!0))}function p(m,g,f){if(!g)return;var d=g.x,c=g.y,a=g.width,n=g.height;m.x=d,m.y=c,m.width=a,m.height=n;var i=f&&f.lineWidth;if(!i)return;m.x=S(d,i,!0),m.y=S(c,i,!0),m.width=Math.max(S(d+a,i,!1)-m.x,a===0?0:1),m.height=Math.max(S(c+n,i,!1)-m.y,n===0?0:1)}function S(m,g,f){if(!g)return m;var d=t(m*2);return(d+t(g))%2===0?d/2:(d+(f?1:-1))/2}N.subPixelOptimizeLine=y,N.subPixelOptimizeRect=p,N.subPixelOptimize=S},nRaC:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("0fbx"),m=t.n(S),g=t("OaEy"),f=t("R9oj")},nVfU:function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=p.parsePercent,m=t("7hqr"),g=m.isDimensionStacked,f=t("zM3Q"),d="__ec_stack_",c=.5,a=typeof Float32Array!="undefined"?Float32Array:Array;function n(E){return E.get("stack")||d+E.seriesIndex}function i(E){return E.dim+E.index}function o(E){var T=[],_=E.axis,x="axis0";if(_.type!=="category")return;for(var C=_.getBandWidth(),I=0;I<E.count||0;I++)T.push(y.defaults({bandWidth:C,axisKey:x,stackId:d+I},E));for(var L=s(T),F=[],I=0;I<E.count;I++){var B=L[x][d+I];B.offsetCenter=B.offset+B.width/2,F.push(B)}return F}function r(E,T){var _=[];return T.eachSeriesByType(E,function(x){v(x)&&!w(x)&&_.push(x)}),_}function l(E){var T={};y.each(E,function(B){var P=B.coordinateSystem,H=P.getBaseAxis();if(H.type!=="time"&&H.type!=="value")return;for(var z=B.getData(),M=H.dim+"_"+H.index,U=z.mapDimension(H.dim),k=0,K=z.count();k<K;++k){var j=z.get(U,k);T[M]?T[M].push(j):T[M]=[j]}});var _=[];for(var x in T)if(T.hasOwnProperty(x)){var C=T[x];if(C){C.sort(function(B,P){return B-P});for(var I=null,L=1;L<C.length;++L){var F=C[L]-C[L-1];F>0&&(I=I===null?F:Math.min(I,F))}_[x]=I}}return _}function e(E){var T=l(E),_=[];return y.each(E,function(x){var C=x.coordinateSystem,I=C.getBaseAxis(),L=I.getExtent(),F;if(I.type==="category")F=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var B=I.dim+"_"+I.index,P=T[B],H=Math.abs(L[1]-L[0]),z=I.scale.getExtent(),M=Math.abs(z[1]-z[0]);F=P?H/M*P:H}else{var U=x.getData();F=Math.abs(L[1]-L[0])/U.count()}var k=S(x.get("barWidth"),F),K=S(x.get("barMaxWidth"),F),j=S(x.get("barMinWidth")||1,F),V=x.get("barGap"),W=x.get("barCategoryGap");_.push({bandWidth:F,barWidth:k,barMaxWidth:K,barMinWidth:j,barGap:V,barCategoryGap:W,axisKey:i(I),stackId:n(x)})}),s(_)}function s(E){var T={};y.each(E,function(x,C){var I=x.axisKey,L=x.bandWidth,F=T[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},B=F.stacks;T[I]=F;var P=x.stackId;B[P]||F.autoWidthCount++,B[P]=B[P]||{width:0,maxWidth:0};var H=x.barWidth;H&&!B[P].width&&(B[P].width=H,H=Math.min(F.remainedWidth,H),F.remainedWidth-=H);var z=x.barMaxWidth;z&&(B[P].maxWidth=z);var M=x.barMinWidth;M&&(B[P].minWidth=M);var U=x.barGap;U!=null&&(F.gap=U);var k=x.barCategoryGap;k!=null&&(F.categoryGap=k)});var _={};return y.each(T,function(x,C){_[C]={};var I=x.stacks,L=x.bandWidth,F=S(x.categoryGap,L),B=S(x.gap,1),P=x.remainedWidth,H=x.autoWidthCount,z=(P-F)/(H+(H-1)*B);z=Math.max(z,0),y.each(I,function(K){var j=K.maxWidth,V=K.minWidth;if(K.width){var W=K.width;j&&(W=Math.min(W,j)),V&&(W=Math.max(W,V)),K.width=W,P-=W+B*W,H--}else{var W=z;j&&j<W&&(W=Math.min(j,P)),V&&V>W&&(W=V),W!==z&&(K.width=W,P-=W+B*W,H--)}}),z=(P-F)/(H+(H-1)*B),z=Math.max(z,0);var M=0,U;y.each(I,function(K,j){K.width||(K.width=z),U=K,M+=K.width*(1+B)}),U&&(M-=U.width*B);var k=-M/2;y.each(I,function(K,j){_[C][j]=_[C][j]||{bandWidth:L,offset:k,width:K.width},k+=K.width*(1+B)})}),_}function u(E,T,_){if(E&&T){var x=E[i(T)];return x!=null&&_!=null&&(x=x[n(_)]),x}}function h(E,T){var _=r(E,T),x=e(_),C={},I={};y.each(_,function(L){var F=L.getData(),B=L.coordinateSystem,P=B.getBaseAxis(),H=n(L),z=x[i(P)][H],M=z.offset,U=z.width,k=B.getOtherAxis(P),K=L.get("barMinHeight")||0;C[H]=C[H]||[],I[H]=I[H]||[],F.setLayout({bandWidth:z.bandWidth,offset:M,size:U});for(var j=F.mapDimension(k.dim),V=F.mapDimension(P.dim),W=g(F,j),X=k.isHorizontal(),J=b(P,k,W),de=0,G=F.count();de<G;de++){var ae=F.get(j,de),Ae=F.get(V,de),me=ae>=0?"p":"n",Me=J;W&&(C[H][Ae]||(C[H][Ae]={p:J,n:J}),Me=C[H][Ae][me]);var oe,_e,ee,ne;if(X){var Ge=B.dataToPoint([ae,Ae]);oe=Me,_e=Ge[1]+M,ee=Ge[0]-J,ne=U,Math.abs(ee)<K&&(ee=(ee<0?-1:1)*K),isNaN(ee)||W&&(C[H][Ae][me]+=ee)}else{var Ge=B.dataToPoint([Ae,ae]);oe=Ge[0]+M,_e=Me,ee=U,ne=Ge[1]-J,Math.abs(ne)<K&&(ne=(ne<=0?-1:1)*K),isNaN(ne)||W&&(C[H][Ae][me]+=ne)}F.setItemLayout(de,{x:oe,y:_e,width:ee,height:ne})}},this)}var A={seriesType:"bar",plan:f(),reset:function(E){if(!v(E)||!w(E))return;var T=E.getData(),_=E.coordinateSystem,x=_.grid.getRect(),C=_.getBaseAxis(),I=_.getOtherAxis(C),L=T.mapDimension(I.dim),F=T.mapDimension(C.dim),B=I.isHorizontal(),P=B?0:1,H=u(e([E]),C,E).width;return H>c||(H=c),{progress:z};function z(M,U){for(var k=M.count,K=new a(k*2),j=new a(k*2),V=new a(k),W,X=[],J=[],de=0,G=0;(W=M.next())!=null;)J[P]=U.get(L,W),J[1-P]=U.get(F,W),X=_.dataToPoint(J,null,X),j[de]=B?x.x+x.width:X[0],K[de++]=X[0],j[de]=B?X[1]:x.y+x.height,K[de++]=X[1],V[G++]=W;U.setLayout({largePoints:K,largeDataIndices:V,largeBackgroundPoints:j,barWidth:H,valueAxisStart:b(C,I,!1),backgroundStart:B?x.x:x.y,valueAxisHorizontal:B})}}};function v(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function w(E){return E.pipelineContext&&E.pipelineContext.large}function b(E,T,_){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}N.getLayoutOnAxis=o,N.prepareLayoutBarSeries=r,N.makeColumnLayout=e,N.retrieveColumnLayout=u,N.layout=h,N.largeLayout=A},ngQI:function(R,N,t){"use strict";t.d(N,"a",function(){return Uc}),t.d(N,"b",function(){return Fc}),t.d(N,"c",function(){return _r});var y=t("q1tI"),p=t.n(y),S=t("dI71"),m=t("wx14"),g=t("ANjH"),f=t("/MKj");function d(Ce,Q){if(Ce.length!==Q.length)return!1;for(var ve=0;ve<Ce.length;ve++)if(Ce[ve]!==Q[ve])return!1;return!0}function c(Ce,Q){var ve=Object(y.useState)(function(){return{inputs:Q,result:Ce()}})[0],je=Object(y.useRef)(!0),it=Object(y.useRef)(ve),St=je.current||Boolean(Q&&it.current.inputs&&d(Q,it.current.inputs)),_t=St?it.current:{inputs:Q,result:Ce()};return Object(y.useEffect)(function(){je.current=!1,it.current=_t},[_t]),_t.result}function a(Ce,Q){return c(function(){return Ce},Q)}var n=c,i=a,o=t("9R94"),r=function(Q){var ve=Q.top,je=Q.right,it=Q.bottom,St=Q.left,_t=je-St,It=it-ve,Ar={top:ve,right:je,bottom:it,left:St,width:_t,height:It,x:St,y:ve,center:{x:(je+St)/2,y:(it+ve)/2}};return Ar},l=function(Q,ve){return{top:Q.top-ve.top,left:Q.left-ve.left,bottom:Q.bottom+ve.bottom,right:Q.right+ve.right}},e=function(Q,ve){return{top:Q.top+ve.top,left:Q.left+ve.left,bottom:Q.bottom-ve.bottom,right:Q.right-ve.right}},s=function(Q,ve){return{top:Q.top+ve.y,left:Q.left+ve.x,bottom:Q.bottom+ve.y,right:Q.right+ve.x}},u={top:0,right:0,bottom:0,left:0},h=function(Q){var ve=Q.borderBox,je=Q.margin,it=je===void 0?u:je,St=Q.border,_t=St===void 0?u:St,It=Q.padding,Ar=It===void 0?u:It,Tr=r(l(ve,it)),hr=r(e(ve,_t)),sr=r(e(hr,Ar));return{marginBox:Tr,borderBox:r(ve),paddingBox:hr,contentBox:sr,margin:it,border:_t,padding:Ar}},A=function(Q){var ve=Q.slice(0,-2),je=Q.slice(-2);if(je!=="px")return 0;var it=Number(ve);return isNaN(it)&&Object(o.a)(!1),it},v=function(){return{x:window.pageXOffset,y:window.pageYOffset}},w=function(Q,ve){var je=Q.borderBox,it=Q.border,St=Q.margin,_t=Q.padding,It=s(je,ve);return h({borderBox:It,border:it,margin:St,padding:_t})},b=function(Q,ve){return ve===void 0&&(ve=v()),w(Q,ve)},E=function(Q,ve){var je={top:A(ve.marginTop),right:A(ve.marginRight),bottom:A(ve.marginBottom),left:A(ve.marginLeft)},it={top:A(ve.paddingTop),right:A(ve.paddingRight),bottom:A(ve.paddingBottom),left:A(ve.paddingLeft)},St={top:A(ve.borderTopWidth),right:A(ve.borderRightWidth),bottom:A(ve.borderBottomWidth),left:A(ve.borderLeftWidth)};return h({borderBox:Q,margin:je,padding:it,border:St})},T=function(Q){var ve=Q.getBoundingClientRect(),je=window.getComputedStyle(Q);return E(ve,je)},_=Number.isNaN||function(Q){return typeof Q=="number"&&Q!==Q};function x(Ce,Q){return Ce===Q?!0:!!(_(Ce)&&_(Q))}function C(Ce,Q){if(Ce.length!==Q.length)return!1;for(var ve=0;ve<Ce.length;ve++)if(!x(Ce[ve],Q[ve]))return!1;return!0}function I(Ce,Q){Q===void 0&&(Q=C);var ve,je=[],it,St=!1;function _t(){for(var It=[],Ar=0;Ar<arguments.length;Ar++)It[Ar]=arguments[Ar];return St&&ve===this&&Q(It,je)||(it=Ce.apply(this,It),St=!0,ve=this,je=It),it}return _t}var L=I,F=function(Q){var ve=[],je=null,it=function(){for(var _t=arguments.length,It=new Array(_t),Ar=0;Ar<_t;Ar++)It[Ar]=arguments[Ar];if(ve=It,je)return;je=requestAnimationFrame(function(){je=null,Q.apply(void 0,ve)})};return it.cancel=function(){if(!je)return;cancelAnimationFrame(je),je=null},it},B=F,P=t("i8i4"),H=t.n(P),z=!0,M=/[ \t]{2,}/g,U=/^[ \t]*/gm,k=function(Q){return Q.replace(M," ").replace(U,"").trim()},K=function(Q){return k(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+k(Q)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},j=function(Q){return[K(Q),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},V="__react-beautiful-dnd-disable-dev-warnings";function W(Ce,Q){var ve;if(z)return;if(typeof window!="undefined"&&window[V])return;(ve=console)[Ce].apply(ve,j(Q))}var X=W.bind(null,"warn"),J=W.bind(null,"error");function de(){}function G(Ce,Q){return Object(m.a)({},Ce,{},Q)}function ae(Ce,Q,ve){var je=Q.map(function(it){var St=G(ve,it.options);return Ce.addEventListener(it.eventName,it.fn,St),function(){Ce.removeEventListener(it.eventName,it.fn,St)}});return function(){je.forEach(function(St){St()})}}var Ae=!0,me="Invariant failed";function Me(Ce){this.message=Ce}Me.prototype.toString=function(){return this.message};function oe(Ce,Q){if(Ce)return;throw Ae?new Me(me):new Me(me+": "+(Q||""))}var _e=function(Ce){Object(S.a)(Q,Ce);function Q(){for(var je,it=arguments.length,St=new Array(it),_t=0;_t<it;_t++)St[_t]=arguments[_t];return je=Ce.call.apply(Ce,[this].concat(St))||this,je.callbacks=null,je.unbind=de,je.onWindowError=function(It){var Ar=je.getCallbacks();Ar.isDragging()&&Ar.tryAbort();var Tr=It.error;Tr instanceof Me&&It.preventDefault()},je.getCallbacks=function(){if(!je.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return je.callbacks},je.setCallbacks=function(It){je.callbacks=It},je}var ve=Q.prototype;return ve.componentDidMount=function(){this.unbind=ae(window,[{eventName:"error",fn:this.onWindowError}])},ve.componentWillUnmount=function(){this.unbind()},ve.componentDidCatch=function(it){if(it instanceof Me){this.setState({});return}throw it},ve.render=function(){return this.props.children(this.setCallbacks)},Q}(p.a.Component),ee=`
|
|
|
Press space bar to start a drag.
|
|
|
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
|
|
Some screen readers may require you to be in focus mode or to use your pass through key
|
|
|
`,ne=function(Q){return Q+1},Ge=function(Q){return`
|
|
|
You have lifted an item in position `+ne(Q.source.index)+`
|
|
|
`},Ee=function(Q,ve){var je=Q.droppableId===ve.droppableId,it=ne(Q.index),St=ne(ve.index);return je?`
|
|
|
You have moved the item from position `+it+`
|
|
|
to position `+St+`
|
|
|
`:`
|
|
|
You have moved the item from position `+it+`
|
|
|
in list `+Q.droppableId+`
|
|
|
to list `+ve.droppableId+`
|
|
|
in position `+St+`
|
|
|
`},ue=function(Q,ve,je){var it=ve.droppableId===je.droppableId;return it?`
|
|
|
The item `+Q+`
|
|
|
has been combined with `+je.draggableId:`
|
|
|
The item `+Q+`
|
|
|
in list `+ve.droppableId+`
|
|
|
has been combined with `+je.draggableId+`
|
|
|
in list `+je.droppableId+`
|
|
|
`},re=function(Q){var ve=Q.destination;if(ve)return Ee(Q.source,ve);var je=Q.combine;return je?ue(Q.draggableId,Q.source,je):"You are over an area that cannot be dropped on"},ce=function(Q){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+ne(Q.index)+`
|
|
|
`},ke=function(Q){if(Q.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+ce(Q.source)+`
|
|
|
`;var ve=Q.destination,je=Q.combine;return ve?`
|
|
|
You have dropped the item.
|
|
|
`+Ee(Q.source,ve)+`
|
|
|
`:je?`
|
|
|
You have dropped the item.
|
|
|
`+ue(Q.draggableId,Q.source,je)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+ce(Q.source)+`
|
|
|
`},Te={dragHandleUsageInstructions:ee,onDragStart:Ge,onDragUpdate:re,onDragEnd:ke},Ke={x:0,y:0},Ie=function(Q,ve){return{x:Q.x+ve.x,y:Q.y+ve.y}},se=function(Q,ve){return{x:Q.x-ve.x,y:Q.y-ve.y}},ye=function(Q,ve){return Q.x===ve.x&&Q.y===ve.y},xe=function(Q){return{x:Q.x!==0?-Q.x:0,y:Q.y!==0?-Q.y:0}},Ye=function(Q,ve,je){var it;return je===void 0&&(je=0),it={},it[Q]=ve,it[Q==="x"?"y":"x"]=je,it},pt=function(Q,ve){return Math.sqrt(Math.pow(ve.x-Q.x,2)+Math.pow(ve.y-Q.y,2))},nt=function(Q,ve){return Math.min.apply(Math,ve.map(function(je){return pt(Q,je)}))},Oe=function(Q){return function(ve){return{x:Q(ve.x),y:Q(ve.y)}}},vt=function(Q,ve){var je=r({top:Math.max(ve.top,Q.top),right:Math.min(ve.right,Q.right),bottom:Math.min(ve.bottom,Q.bottom),left:Math.max(ve.left,Q.left)});return je.width<=0||je.height<=0?null:je},Ze=function(Q,ve){return{top:Q.top+ve.y,left:Q.left+ve.x,bottom:Q.bottom+ve.y,right:Q.right+ve.x}},wt=function(Q){return[{x:Q.left,y:Q.top},{x:Q.right,y:Q.top},{x:Q.left,y:Q.bottom},{x:Q.right,y:Q.bottom}]},xt={top:0,right:0,bottom:0,left:0},Ot=function(Q,ve){return ve?Ze(Q,ve.scroll.diff.displacement):Q},Mt=function(Q,ve,je){if(je&&je.increasedBy){var it;return Object(m.a)({},Q,(it={},it[ve.end]=Q[ve.end]+je.increasedBy[ve.line],it))}return Q},Gt=function(Q,ve){return ve&&ve.shouldClipSubject?vt(ve.pageMarginBox,Q):r(Q)},$e=function(Q){var ve=Q.page,je=Q.withPlaceholder,it=Q.axis,St=Q.frame,_t=Ot(ve.marginBox,St),It=Mt(_t,it,je),Ar=Gt(It,St);return{page:ve,withPlaceholder:je,active:Ar}},pe=function(Q,ve){Q.frame||oe(!1);var je=Q.frame,it=se(ve,je.scroll.initial),St=xe(it),_t=Object(m.a)({},je,{scroll:{initial:je.scroll.initial,current:ve,diff:{value:it,displacement:St},max:je.scroll.max}}),It=$e({page:Q.subject.page,withPlaceholder:Q.subject.withPlaceholder,axis:Q.axis,frame:_t}),Ar=Object(m.a)({},Q,{frame:_t,subject:It});return Ar};function q(Ce){return Number.isInteger?Number.isInteger(Ce):typeof Ce=="number"&&isFinite(Ce)&&Math.floor(Ce)===Ce}function bt(Ce){return Object.values?Object.values(Ce):Object.keys(Ce).map(function(Q){return Ce[Q]})}function qe(Ce,Q){if(Ce.findIndex)return Ce.findIndex(Q);for(var ve=0;ve<Ce.length;ve++)if(Q(Ce[ve]))return ve;return-1}function le(Ce,Q){if(Ce.find)return Ce.find(Q);var ve=qe(Ce,Q);return ve!==-1?Ce[ve]:void 0}function Nt(Ce){return Array.prototype.slice.call(Ce)}var tr=L(function(Ce){return Ce.reduce(function(Q,ve){return Q[ve.descriptor.id]=ve,Q},{})}),lt=L(function(Ce){return Ce.reduce(function(Q,ve){return Q[ve.descriptor.id]=ve,Q},{})}),Wt=L(function(Ce){return bt(Ce)}),cr=L(function(Ce){return bt(Ce)}),Vr=L(function(Ce,Q){var ve=cr(Q).filter(function(je){return Ce===je.descriptor.droppableId}).sort(function(je,it){return je.descriptor.index-it.descriptor.index});return ve});function ur(Ce){return Ce.at&&Ce.at.type==="REORDER"?Ce.at.destination:null}function ir(Ce){return Ce.at&&Ce.at.type==="COMBINE"?Ce.at.combine:null}var Lt=L(function(Ce,Q){return Q.filter(function(ve){return ve.descriptor.id!==Ce.descriptor.id})}),ot=function(Q){var ve=Q.isMovingForward,je=Q.draggable,it=Q.destination,St=Q.insideDestination,_t=Q.previousImpact;if(!it.isCombineEnabled)return null;var It=ur(_t);if(!It)return null;function Ar(ni){var Ii={type:"COMBINE",combine:{draggableId:ni,droppableId:it.descriptor.id}};return Object(m.a)({},_t,{at:Ii})}var Tr=_t.displaced.all,hr=Tr.length?Tr[0]:null;if(ve)return hr?Ar(hr):null;var sr=Lt(je,St);if(!hr){if(!sr.length)return null;var Cr=sr[sr.length-1];return Ar(Cr.descriptor.id)}var Mr=qe(sr,function(ni){return ni.descriptor.id===hr});Mr!==-1||oe(!1);var an=Mr-1;if(an<0)return null;var Pn=sr[an];return Ar(Pn.descriptor.id)},Xe=function(Q,ve){return Q.descriptor.droppableId===ve.descriptor.id},$t={point:Ke,value:0},Sr={invisible:{},visible:{},all:[]},vr={displaced:Sr,displacedBy:$t,at:null},fr=function(Q,ve){return function(je){return Q<=je&&je<=ve}},An=function(Q){var ve=fr(Q.top,Q.bottom),je=fr(Q.left,Q.right);return function(it){var St=ve(it.top)&&ve(it.bottom)&&je(it.left)&&je(it.right);if(St)return!0;var _t=ve(it.top)||ve(it.bottom),It=je(it.left)||je(it.right),Ar=_t&&It;if(Ar)return!0;var Tr=it.top<Q.top&&it.bottom>Q.bottom,hr=it.left<Q.left&&it.right>Q.right,sr=Tr&&hr;if(sr)return!0;var Cr=Tr&&It||hr&&_t;return Cr}},Zr=function(Q){var ve=fr(Q.top,Q.bottom),je=fr(Q.left,Q.right);return function(it){var St=ve(it.top)&&ve(it.bottom)&&je(it.left)&&je(it.right);return St}},Ln={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Je={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},et=function(Q){return function(ve){var je=fr(ve.top,ve.bottom),it=fr(ve.left,ve.right);return function(St){return Q===Ln?je(St.top)&&je(St.bottom):it(St.left)&&it(St.right)}}},be=function(Q,ve){var je=ve.frame?ve.frame.scroll.diff.displacement:Ke;return Ze(Q,je)},Le=function(Q,ve,je){return ve.subject.active?je(ve.subject.active)(Q):!1},Ue=function(Q,ve,je){return je(ve)(Q)},rt=function(Q){var ve=Q.target,je=Q.destination,it=Q.viewport,St=Q.withDroppableDisplacement,_t=Q.isVisibleThroughFrameFn,It=St?be(ve,je):ve;return Le(It,je,_t)&&Ue(It,it,_t)},Vt=function(Q){return rt(Object(m.a)({},Q,{isVisibleThroughFrameFn:An}))},Ft=function(Q){return rt(Object(m.a)({},Q,{isVisibleThroughFrameFn:Zr}))},zt=function(Q){return rt(Object(m.a)({},Q,{isVisibleThroughFrameFn:et(Q.destination.axis)}))},Dr=function(Q,ve,je){if(typeof je=="boolean")return je;if(!ve)return!0;var it=ve.invisible,St=ve.visible;if(it[Q])return!1;var _t=St[Q];return _t?_t.shouldAnimate:!0};function Pr(Ce,Q){var ve=Ce.page.marginBox,je={top:Q.point.y,right:0,bottom:0,left:Q.point.x};return r(l(ve,je))}function un(Ce){var Q=Ce.afterDragging,ve=Ce.destination,je=Ce.displacedBy,it=Ce.viewport,St=Ce.forceShouldAnimate,_t=Ce.last;return Q.reduce(function(Ar,Tr){var hr=Pr(Tr,je),sr=Tr.descriptor.id;Ar.all.push(sr);var Cr=Vt({target:hr,destination:ve,viewport:it,withDroppableDisplacement:!0});if(!Cr)return Ar.invisible[Tr.descriptor.id]=!0,Ar;var Mr=Dr(sr,_t,St),an={draggableId:sr,shouldAnimate:Mr};return Ar.visible[sr]=an,Ar},{all:[],visible:{},invisible:{}})}function Ht(Ce,Q){if(!Ce.length)return 0;var ve=Ce[Ce.length-1].descriptor.index;return Q.inHomeList?ve:ve+1}function dt(Ce){var Q=Ce.insideDestination,ve=Ce.inHomeList,je=Ce.displacedBy,it=Ce.destination,St=Ht(Q,{inHomeList:ve});return{displaced:Sr,displacedBy:je,at:{type:"REORDER",destination:{droppableId:it.descriptor.id,index:St}}}}function at(Ce){var Q=Ce.draggable,ve=Ce.insideDestination,je=Ce.destination,it=Ce.viewport,St=Ce.displacedBy,_t=Ce.last,It=Ce.index,Ar=Ce.forceShouldAnimate,Tr=Xe(Q,je);if(It==null)return dt({insideDestination:ve,inHomeList:Tr,displacedBy:St,destination:je});var hr=le(ve,function(Pn){return Pn.descriptor.index===It});if(!hr)return dt({insideDestination:ve,inHomeList:Tr,displacedBy:St,destination:je});var sr=Lt(Q,ve),Cr=ve.indexOf(hr),Mr=sr.slice(Cr),an=un({afterDragging:Mr,destination:je,displacedBy:St,last:_t,viewport:it.frame,forceShouldAnimate:Ar});return{displaced:an,displacedBy:St,at:{type:"REORDER",destination:{droppableId:je.descriptor.id,index:It}}}}function Qt(Ce,Q){return Boolean(Q.effected[Ce])}var Jt=function(Q){var ve=Q.isMovingForward,je=Q.destination,it=Q.draggables,St=Q.combine,_t=Q.afterCritical;if(!je.isCombineEnabled)return null;var It=St.draggableId,Ar=it[It],Tr=Ar.descriptor.index,hr=Qt(It,_t);return hr?ve?Tr:Tr-1:ve?Tr+1:Tr},gt=function(Q){var ve=Q.isMovingForward,je=Q.isInHomeList,it=Q.insideDestination,St=Q.location;if(!it.length)return null;var _t=St.index,It=ve?_t+1:_t-1,Ar=it[0].descriptor.index,Tr=it[it.length-1].descriptor.index,hr=je?Tr:Tr+1;return It<Ar||It>hr?null:It},Bt=function(Q){var ve=Q.isMovingForward,je=Q.isInHomeList,it=Q.draggable,St=Q.draggables,_t=Q.destination,It=Q.insideDestination,Ar=Q.previousImpact,Tr=Q.viewport,hr=Q.afterCritical,sr=Ar.at;if(sr||oe(!1),sr.type==="REORDER"){var Cr=gt({isMovingForward:ve,isInHomeList:je,location:sr.destination,insideDestination:It});return Cr==null?null:at({draggable:it,insideDestination:It,destination:_t,viewport:Tr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Cr})}var Mr=Jt({isMovingForward:ve,destination:_t,displaced:Ar.displaced,draggables:St,combine:sr.combine,afterCritical:hr});return Mr==null?null:at({draggable:it,insideDestination:It,destination:_t,viewport:Tr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Mr})},mt=function(Q){var ve=Q.displaced,je=Q.afterCritical,it=Q.combineWith,St=Q.displacedBy,_t=Boolean(ve.visible[it]||ve.invisible[it]);return Qt(it,je)?_t?Ke:xe(St.point):_t?St.point:Ke},kt=function(Q){var ve=Q.afterCritical,je=Q.impact,it=Q.draggables,St=ir(je);St||oe(!1);var _t=St.draggableId,It=it[_t].page.borderBox.center,Ar=mt({displaced:je.displaced,afterCritical:ve,combineWith:_t,displacedBy:je.displacedBy});return Ie(It,Ar)},gr=function(Q,ve){return ve.margin[Q.start]+ve.borderBox[Q.size]/2},ar=function(Q,ve){return ve.margin[Q.end]+ve.borderBox[Q.size]/2},lr=function(Q,ve,je){return ve[Q.crossAxisStart]+je.margin[Q.crossAxisStart]+je.borderBox[Q.crossAxisSize]/2},Gr=function(Q){var ve=Q.axis,je=Q.moveRelativeTo,it=Q.isMoving;return Ye(ve.line,je.marginBox[ve.end]+gr(ve,it),lr(ve,je.marginBox,it))},Jr=function(Q){var ve=Q.axis,je=Q.moveRelativeTo,it=Q.isMoving;return Ye(ve.line,je.marginBox[ve.start]-ar(ve,it),lr(ve,je.marginBox,it))},Tn=function(Q){var ve=Q.axis,je=Q.moveInto,it=Q.isMoving;return Ye(ve.line,je.contentBox[ve.start]+gr(ve,it),lr(ve,je.contentBox,it))},Nn=function(Q){var ve=Q.impact,je=Q.draggable,it=Q.draggables,St=Q.droppable,_t=Q.afterCritical,It=Vr(St.descriptor.id,it),Ar=je.page,Tr=St.axis;if(!It.length)return Tn({axis:Tr,moveInto:St.page,isMoving:Ar});var hr=ve.displaced,sr=ve.displacedBy,Cr=hr.all[0];if(Cr){var Mr=it[Cr];if(Qt(Cr,_t))return Jr({axis:Tr,moveRelativeTo:Mr.page,isMoving:Ar});var an=w(Mr.page,sr.point);return Jr({axis:Tr,moveRelativeTo:an,isMoving:Ar})}var Pn=It[It.length-1];if(Pn.descriptor.id===je.descriptor.id)return Ar.borderBox.center;if(Qt(Pn.descriptor.id,_t)){var ni=w(Pn.page,xe(_t.displacedBy.point));return Gr({axis:Tr,moveRelativeTo:ni,isMoving:Ar})}return Gr({axis:Tr,moveRelativeTo:Pn.page,isMoving:Ar})},zn=function(Q,ve){var je=Q.frame;return je?Ie(ve,je.scroll.diff.displacement):ve},qn=function(Q){var ve=Q.impact,je=Q.draggable,it=Q.droppable,St=Q.draggables,_t=Q.afterCritical,It=je.page.borderBox.center,Ar=ve.at;return it&&Ar?Ar.type==="REORDER"?Nn({impact:ve,draggable:je,draggables:St,droppable:it,afterCritical:_t}):kt({impact:ve,draggables:St,afterCritical:_t}):It},vi=function(Q){var ve=qn(Q),je=Q.droppable,it=je?zn(je,ve):ve;return it},Ri=function(Q,ve){var je=se(ve,Q.scroll.initial),it=xe(je),St=r({top:ve.y,bottom:ve.y+Q.frame.height,left:ve.x,right:ve.x+Q.frame.width}),_t={frame:St,scroll:{initial:Q.scroll.initial,max:Q.scroll.max,current:ve,diff:{value:je,displacement:it}}};return _t};function Ve(Ce,Q){return Ce.map(function(ve){return Q[ve]})}function Se(Ce,Q){for(var ve=0;ve<Q.length;ve++){var je=Q[ve].visible[Ce];if(je)return je}return null}var Re=function(Q){var ve=Q.impact,je=Q.viewport,it=Q.destination,St=Q.draggables,_t=Q.maxScrollChange,It=Ri(je,Ie(je.scroll.current,_t)),Ar=it.frame?pe(it,Ie(it.frame.scroll.current,_t)):it,Tr=ve.displaced,hr=un({afterDragging:Ve(Tr.all,St),destination:it,displacedBy:ve.displacedBy,viewport:It.frame,last:Tr,forceShouldAnimate:!1}),sr=un({afterDragging:Ve(Tr.all,St),destination:Ar,displacedBy:ve.displacedBy,viewport:je.frame,last:Tr,forceShouldAnimate:!1}),Cr={},Mr={},an=[Tr,hr,sr];Tr.all.forEach(function(ni){var Ii=Se(ni,an);if(Ii){Mr[ni]=Ii;return}Cr[ni]=!0});var Pn=Object(m.a)({},ve,{displaced:{all:Tr.all,invisible:Cr,visible:Mr}});return Pn},Be=function(Q,ve){return Ie(Q.scroll.diff.displacement,ve)},We=function(Q){var ve=Q.pageBorderBoxCenter,je=Q.draggable,it=Q.viewport,St=Be(it,ve),_t=se(St,je.page.borderBox.center);return Ie(je.client.borderBox.center,_t)},He=function(Q){var ve=Q.draggable,je=Q.destination,it=Q.newPageBorderBoxCenter,St=Q.viewport,_t=Q.withDroppableDisplacement,It=Q.onlyOnMainAxis,Ar=It===void 0?!1:It,Tr=se(it,ve.page.borderBox.center),hr=Ze(ve.page.borderBox,Tr),sr={target:hr,destination:je,withDroppableDisplacement:_t,viewport:St};return Ar?zt(sr):Ft(sr)},Qe=function(Q){var ve=Q.isMovingForward,je=Q.draggable,it=Q.destination,St=Q.draggables,_t=Q.previousImpact,It=Q.viewport,Ar=Q.previousPageBorderBoxCenter,Tr=Q.previousClientSelection,hr=Q.afterCritical;if(!it.isEnabled)return null;var sr=Vr(it.descriptor.id,St),Cr=Xe(je,it),Mr=ot({isMovingForward:ve,draggable:je,destination:it,insideDestination:sr,previousImpact:_t})||Bt({isMovingForward:ve,isInHomeList:Cr,draggable:je,draggables:St,destination:it,insideDestination:sr,previousImpact:_t,viewport:It,afterCritical:hr});if(!Mr)return null;var an=vi({impact:Mr,draggable:je,droppable:it,draggables:St,afterCritical:hr}),Pn=He({draggable:je,destination:it,newPageBorderBoxCenter:an,viewport:It.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Pn){var ni=We({pageBorderBoxCenter:an,draggable:je,viewport:It});return{clientSelection:ni,impact:Mr,scrollJumpRequest:null}}var Ii=se(an,Ar),hi=Re({impact:Mr,viewport:It,destination:it,draggables:St,maxScrollChange:Ii});return{clientSelection:Tr,impact:hi,scrollJumpRequest:Ii}},At=function(Q){var ve=Q.subject.active;return ve||oe(!1),ve},st=function(Q){var ve=Q.isMovingForward,je=Q.pageBorderBoxCenter,it=Q.source,St=Q.droppables,_t=Q.viewport,It=it.subject.active;if(!It)return null;var Ar=it.axis,Tr=fr(It[Ar.start],It[Ar.end]),hr=Wt(St).filter(function(Cr){return Cr!==it}).filter(function(Cr){return Cr.isEnabled}).filter(function(Cr){return Boolean(Cr.subject.active)}).filter(function(Cr){return An(_t.frame)(At(Cr))}).filter(function(Cr){var Mr=At(Cr);return ve?It[Ar.crossAxisEnd]<Mr[Ar.crossAxisEnd]:Mr[Ar.crossAxisStart]<It[Ar.crossAxisStart]}).filter(function(Cr){var Mr=At(Cr),an=fr(Mr[Ar.start],Mr[Ar.end]);return Tr(Mr[Ar.start])||Tr(Mr[Ar.end])||an(It[Ar.start])||an(It[Ar.end])}).sort(function(Cr,Mr){var an=At(Cr)[Ar.crossAxisStart],Pn=At(Mr)[Ar.crossAxisStart];return ve?an-Pn:Pn-an}).filter(function(Cr,Mr,an){return At(Cr)[Ar.crossAxisStart]===At(an[0])[Ar.crossAxisStart]});if(!hr.length)return null;if(hr.length===1)return hr[0];var sr=hr.filter(function(Cr){var Mr=fr(At(Cr)[Ar.start],At(Cr)[Ar.end]);return Mr(je[Ar.line])});return sr.length===1?sr[0]:sr.length>1?sr.sort(function(Cr,Mr){return At(Cr)[Ar.start]-At(Mr)[Ar.start]})[0]:hr.sort(function(Cr,Mr){var an=nt(je,wt(At(Cr))),Pn=nt(je,wt(At(Mr)));return an!==Pn?an-Pn:At(Cr)[Ar.start]-At(Mr)[Ar.start]})[0]},Pt=function(Q,ve){var je=Q.page.borderBox.center;return Qt(Q.descriptor.id,ve)?se(je,ve.displacedBy.point):je},wr=function(Q,ve){var je=Q.page.borderBox;return Qt(Q.descriptor.id,ve)?Ze(je,xe(ve.displacedBy.point)):je},mr=function(Q){var ve=Q.pageBorderBoxCenter,je=Q.viewport,it=Q.destination,St=Q.insideDestination,_t=Q.afterCritical,It=St.filter(function(Ar){return Ft({target:wr(Ar,_t),destination:it,viewport:je.frame,withDroppableDisplacement:!0})}).sort(function(Ar,Tr){var hr=pt(ve,zn(it,Pt(Ar,_t))),sr=pt(ve,zn(it,Pt(Tr,_t)));return hr<sr?-1:sr<hr?1:Ar.descriptor.index-Tr.descriptor.index});return It[0]||null},Or=L(function(Q,ve){var je=ve[Q.line];return{value:je,point:Ye(Q.line,je)}}),jt=function(Q,ve,je){var it=Q.axis;if(Q.descriptor.mode==="virtual")return Ye(it.line,ve[it.line]);var St=Q.subject.page.contentBox[it.size],_t=Vr(Q.descriptor.id,je),It=_t.reduce(function(hr,sr){return hr+sr.client.marginBox[it.size]},0),Ar=It+ve[it.line],Tr=Ar-St;return Tr<=0?null:Ye(it.line,Tr)},cn=function(Q,ve){return Object(m.a)({},Q,{scroll:Object(m.a)({},Q.scroll,{max:ve})})},nr=function(Q,ve,je){var it=Q.frame;Xe(ve,Q)&&oe(!1),Q.subject.withPlaceholder&&oe(!1);var St=Or(Q.axis,ve.displaceBy).point,_t=jt(Q,St,je),It={placeholderSize:St,increasedBy:_t,oldFrameMaxScroll:Q.frame?Q.frame.scroll.max:null};if(!it){var Ar=$e({page:Q.subject.page,withPlaceholder:It,axis:Q.axis,frame:Q.frame});return Object(m.a)({},Q,{subject:Ar})}var Tr=_t?Ie(it.scroll.max,_t):it.scroll.max,hr=cn(it,Tr),sr=$e({page:Q.subject.page,withPlaceholder:It,axis:Q.axis,frame:hr});return Object(m.a)({},Q,{subject:sr,frame:hr})},Xr=function(Q){var ve=Q.subject.withPlaceholder;ve||oe(!1);var je=Q.frame;if(!je){var it=$e({page:Q.subject.page,axis:Q.axis,frame:null,withPlaceholder:null});return Object(m.a)({},Q,{subject:it})}var St=ve.oldFrameMaxScroll;St||oe(!1);var _t=cn(je,St),It=$e({page:Q.subject.page,axis:Q.axis,frame:_t,withPlaceholder:null});return Object(m.a)({},Q,{subject:It,frame:_t})},Br=function(Q){var ve=Q.previousPageBorderBoxCenter,je=Q.moveRelativeTo,it=Q.insideDestination,St=Q.draggable,_t=Q.draggables,It=Q.destination,Ar=Q.viewport,Tr=Q.afterCritical;if(!je){if(it.length)return null;var hr={displaced:Sr,displacedBy:$t,at:{type:"REORDER",destination:{droppableId:It.descriptor.id,index:0}}},sr=vi({impact:hr,draggable:St,droppable:It,draggables:_t,afterCritical:Tr}),Cr=Xe(St,It)?It:nr(It,St,_t),Mr=He({draggable:St,destination:Cr,newPageBorderBoxCenter:sr,viewport:Ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Mr?hr:null}var an=Boolean(ve[It.axis.line]<=je.page.borderBox.center[It.axis.line]),Pn=function(){var Ii=je.descriptor.index;return je.descriptor.id===St.descriptor.id||an?Ii:Ii+1}(),ni=Or(It.axis,St.displaceBy);return at({draggable:St,insideDestination:it,destination:It,viewport:Ar,displacedBy:ni,last:Sr,index:Pn})},yr=function(Q){var ve=Q.isMovingForward,je=Q.previousPageBorderBoxCenter,it=Q.draggable,St=Q.isOver,_t=Q.draggables,It=Q.droppables,Ar=Q.viewport,Tr=Q.afterCritical,hr=st({isMovingForward:ve,pageBorderBoxCenter:je,source:St,droppables:It,viewport:Ar});if(!hr)return null;var sr=Vr(hr.descriptor.id,_t),Cr=mr({pageBorderBoxCenter:je,viewport:Ar,destination:hr,insideDestination:sr,afterCritical:Tr}),Mr=Br({previousPageBorderBoxCenter:je,destination:hr,draggable:it,draggables:_t,moveRelativeTo:Cr,insideDestination:sr,viewport:Ar,afterCritical:Tr});if(!Mr)return null;var an=vi({impact:Mr,draggable:it,droppable:hr,draggables:_t,afterCritical:Tr}),Pn=We({pageBorderBoxCenter:an,draggable:it,viewport:Ar});return{clientSelection:Pn,impact:Mr,scrollJumpRequest:null}},xn=function(Q){var ve=Q.at;return ve?ve.type==="REORDER"?ve.destination.droppableId:ve.combine.droppableId:null},Bn=function(Q,ve){var je=xn(Q);return je?ve[je]:null},ii=function(Q){var ve=Q.state,je=Q.type,it=Bn(ve.impact,ve.dimensions.droppables),St=Boolean(it),_t=ve.dimensions.droppables[ve.critical.droppable.id],It=it||_t,Ar=It.axis.direction,Tr=Ar==="vertical"&&(je==="MOVE_UP"||je==="MOVE_DOWN")||Ar==="horizontal"&&(je==="MOVE_LEFT"||je==="MOVE_RIGHT");if(Tr&&!St)return null;var hr=je==="MOVE_DOWN"||je==="MOVE_RIGHT",sr=ve.dimensions.draggables[ve.critical.draggable.id],Cr=ve.current.page.borderBoxCenter,Mr=ve.dimensions,an=Mr.draggables,Pn=Mr.droppables;return Tr?Qe({isMovingForward:hr,previousPageBorderBoxCenter:Cr,draggable:sr,destination:It,draggables:an,viewport:ve.viewport,previousClientSelection:ve.current.client.selection,previousImpact:ve.impact,afterCritical:ve.afterCritical}):yr({isMovingForward:hr,previousPageBorderBoxCenter:Cr,draggable:sr,isOver:It,draggables:an,droppables:Pn,viewport:ve.viewport,afterCritical:ve.afterCritical})};function oi(Ce){return Ce.phase==="DRAGGING"||Ce.phase==="COLLECTING"}function ei(Ce){var Q=fr(Ce.top,Ce.bottom),ve=fr(Ce.left,Ce.right);return function(it){return Q(it.y)&&ve(it.x)}}function ui(Ce,Q){return Ce.left<Q.right&&Ce.right>Q.left&&Ce.top<Q.bottom&&Ce.bottom>Q.top}function Fn(Ce){var Q=Ce.pageBorderBox,ve=Ce.draggable,je=Ce.candidates,it=ve.page.borderBox.center,St=je.map(function(_t){var It=_t.axis,Ar=Ye(_t.axis.line,Q.center[It.line],_t.page.borderBox.center[It.crossAxisLine]);return{id:_t.descriptor.id,distance:pt(it,Ar)}}).sort(function(_t,It){return It.distance-_t.distance});return St[0]?St[0].id:null}function Si(Ce){var Q=Ce.pageBorderBox,ve=Ce.draggable,je=Ce.droppables,it=Wt(je).filter(function(St){if(!St.isEnabled)return!1;var _t=St.subject.active;if(!_t)return!1;if(!ui(Q,_t))return!1;if(ei(_t)(Q.center))return!0;var It=St.axis,Ar=_t.center[It.crossAxisLine],Tr=Q[It.crossAxisStart],hr=Q[It.crossAxisEnd],sr=fr(_t[It.crossAxisStart],_t[It.crossAxisEnd]),Cr=sr(Tr),Mr=sr(hr);return!Cr&&!Mr?!0:Cr?Tr<Ar:hr>Ar});return it.length?it.length===1?it[0].descriptor.id:Fn({pageBorderBox:Q,draggable:ve,candidates:it}):null}var gn=function(Q,ve){return r(Ze(Q,ve))},Wr=function(Q,ve){var je=Q.frame;return je?gn(ve,je.scroll.diff.value):ve};function En(Ce){var Q=Ce.displaced,ve=Ce.id;return Boolean(Q.visible[ve]||Q.invisible[ve])}function on(Ce){var Q=Ce.draggable,ve=Ce.closest,je=Ce.inHomeList;return ve?je&&ve.descriptor.index>Q.descriptor.index?ve.descriptor.index-1:ve.descriptor.index:null}var ci=function(Q){var ve=Q.pageBorderBoxWithDroppableScroll,je=Q.draggable,it=Q.destination,St=Q.insideDestination,_t=Q.last,It=Q.viewport,Ar=Q.afterCritical,Tr=it.axis,hr=Or(it.axis,je.displaceBy),sr=hr.value,Cr=ve[Tr.start],Mr=ve[Tr.end],an=Lt(je,St),Pn=le(an,function(Ii){var hi=Ii.descriptor.id,ma=Ii.page.borderBox.center[Tr.line],Ui=Qt(hi,Ar),_a=En({displaced:_t,id:hi});return Ui?_a?Mr<=ma:Cr<ma-sr:_a?Mr<=ma+sr:Cr<ma}),ni=on({draggable:je,closest:Pn,inHomeList:Xe(je,it)});return at({draggable:je,insideDestination:St,destination:it,viewport:It,last:_t,displacedBy:hr,index:ni})},ri=4,bi=function(Q){var ve=Q.draggable,je=Q.pageBorderBoxWithDroppableScroll,it=Q.previousImpact,St=Q.destination,_t=Q.insideDestination,It=Q.afterCritical;if(!St.isCombineEnabled)return null;var Ar=St.axis,Tr=Or(St.axis,ve.displaceBy),hr=Tr.value,sr=je[Ar.start],Cr=je[Ar.end],Mr=Lt(ve,_t),an=le(Mr,function(ni){var Ii=ni.descriptor.id,hi=ni.page.borderBox,ma=hi[Ar.size],Ui=ma/ri,_a=Qt(Ii,It),Aa=En({displaced:it.displaced,id:Ii});return _a?Aa?Cr>hi[Ar.start]+Ui&&Cr<hi[Ar.end]-Ui:sr>hi[Ar.start]-hr+Ui&&sr<hi[Ar.end]-hr-Ui:Aa?Cr>hi[Ar.start]+hr+Ui&&Cr<hi[Ar.end]+hr-Ui:sr>hi[Ar.start]+Ui&&sr<hi[Ar.end]-Ui});if(!an)return null;var Pn={displacedBy:Tr,displaced:it.displaced,at:{type:"COMBINE",combine:{draggableId:an.descriptor.id,droppableId:St.descriptor.id}}};return Pn},Gn=function(Q){var ve=Q.pageOffset,je=Q.draggable,it=Q.draggables,St=Q.droppables,_t=Q.previousImpact,It=Q.viewport,Ar=Q.afterCritical,Tr=gn(je.page.borderBox,ve),hr=Si({pageBorderBox:Tr,draggable:je,droppables:St});if(!hr)return vr;var sr=St[hr],Cr=Vr(sr.descriptor.id,it),Mr=Wr(sr,Tr);return bi({pageBorderBoxWithDroppableScroll:Mr,draggable:je,previousImpact:_t,destination:sr,insideDestination:Cr,afterCritical:Ar})||ci({pageBorderBoxWithDroppableScroll:Mr,draggable:je,destination:sr,insideDestination:Cr,last:_t.displaced,viewport:It,afterCritical:Ar})},Fi=function(Q,ve){var je;return Object(m.a)({},Q,(je={},je[ve.descriptor.id]=ve,je))},Jn=function(Q){var ve=Q.previousImpact,je=Q.impact,it=Q.droppables,St=xn(ve),_t=xn(je);if(!St)return it;if(St===_t)return it;var It=it[St];if(!It.subject.withPlaceholder)return it;var Ar=Xr(It);return Fi(it,Ar)},Mi=function(Q){var ve=Q.draggable,je=Q.draggables,it=Q.droppables,St=Q.previousImpact,_t=Q.impact,It=Jn({previousImpact:St,impact:_t,droppables:it}),Ar=xn(_t);if(!Ar)return It;var Tr=it[Ar];if(Xe(ve,Tr))return It;if(Tr.subject.withPlaceholder)return It;var hr=nr(Tr,ve,je);return Fi(It,hr)},fn=function(Q){var ve=Q.state,je=Q.clientSelection,it=Q.dimensions,St=Q.viewport,_t=Q.impact,It=Q.scrollJumpRequest,Ar=St||ve.viewport,Tr=it||ve.dimensions,hr=je||ve.current.client.selection,sr=se(hr,ve.initial.client.selection),Cr={offset:sr,selection:hr,borderBoxCenter:Ie(ve.initial.client.borderBoxCenter,sr)},Mr={selection:Ie(Cr.selection,Ar.scroll.current),borderBoxCenter:Ie(Cr.borderBoxCenter,Ar.scroll.current),offset:Ie(Cr.offset,Ar.scroll.diff.value)},an={client:Cr,page:Mr};if(ve.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},ve,{dimensions:Tr,viewport:Ar,current:an});var Pn=Tr.draggables[ve.critical.draggable.id],ni=_t||Gn({pageOffset:Mr.offset,draggable:Pn,draggables:Tr.draggables,droppables:Tr.droppables,previousImpact:ve.impact,viewport:Ar,afterCritical:ve.afterCritical}),Ii=Mi({draggable:Pn,impact:ni,previousImpact:ve.impact,draggables:Tr.draggables,droppables:Tr.droppables}),hi=Object(m.a)({},ve,{current:an,dimensions:{draggables:Tr.draggables,droppables:Ii},impact:ni,viewport:Ar,scrollJumpRequest:It||null,forceShouldAnimate:It?!1:null});return hi};function kr(Ce,Q){return Ce.map(function(ve){return Q[ve]})}var yn=function(Q){var ve=Q.impact,je=Q.viewport,it=Q.draggables,St=Q.destination,_t=Q.forceShouldAnimate,It=ve.displaced,Ar=kr(It.all,it),Tr=un({afterDragging:Ar,destination:St,displacedBy:ve.displacedBy,viewport:je.frame,forceShouldAnimate:_t,last:It});return Object(m.a)({},ve,{displaced:Tr})},jn=function(Q){var ve=Q.impact,je=Q.draggable,it=Q.droppable,St=Q.draggables,_t=Q.viewport,It=Q.afterCritical,Ar=vi({impact:ve,draggable:je,draggables:St,droppable:it,afterCritical:It});return We({pageBorderBoxCenter:Ar,draggable:je,viewport:_t})},Xn=function(Q){var ve=Q.state,je=Q.dimensions,it=Q.viewport;ve.movementMode==="SNAP"||oe(!1);var St=ve.impact,_t=it||ve.viewport,It=je||ve.dimensions,Ar=It.draggables,Tr=It.droppables,hr=Ar[ve.critical.draggable.id],sr=xn(St);sr||oe(!1);var Cr=Tr[sr],Mr=yn({impact:St,viewport:_t,destination:Cr,draggables:Ar}),an=jn({impact:Mr,draggable:hr,droppable:Cr,draggables:Ar,viewport:_t,afterCritical:ve.afterCritical});return fn({impact:Mr,clientSelection:an,state:ve,dimensions:It,viewport:_t})},ti=function(Q){return{index:Q.index,droppableId:Q.droppableId}},di=function(Q){var ve=Q.draggable,je=Q.home,it=Q.draggables,St=Q.viewport,_t=Or(je.axis,ve.displaceBy),It=Vr(je.descriptor.id,it),Ar=It.indexOf(ve);Ar!==-1||oe(!1);var Tr=It.slice(Ar+1),hr=Tr.reduce(function(an,Pn){return an[Pn.descriptor.id]=!0,an},{}),sr={inVirtualList:je.descriptor.mode==="virtual",displacedBy:_t,effected:hr},Cr=un({afterDragging:Tr,destination:je,displacedBy:_t,last:null,viewport:St.frame,forceShouldAnimate:!1}),Mr={displaced:Cr,displacedBy:_t,at:{type:"REORDER",destination:ti(ve.descriptor)}};return{impact:Mr,afterCritical:sr}},fi=function(Q,ve){return{draggables:Q.draggables,droppables:Fi(Q.droppables,ve)}},mi=function(Q){},Ki=function(Q){},ia=function(Q){var ve=Q.draggable,je=Q.offset,it=Q.initialWindowScroll,St=w(ve.client,je),_t=b(St,it),It=Object(m.a)({},ve,{placeholder:Object(m.a)({},ve.placeholder,{client:St}),client:St,page:_t});return It},qi=function(Q){var ve=Q.frame;return ve||oe(!1),ve},Ra=function(Q){var ve=Q.additions,je=Q.updatedDroppables,it=Q.viewport,St=it.scroll.diff.value;return ve.map(function(_t){var It=_t.descriptor.droppableId,Ar=je[It],Tr=qi(Ar),hr=Tr.scroll.diff.value,sr=Ie(St,hr),Cr=ia({draggable:_t,offset:sr,initialWindowScroll:it.scroll.initial});return Cr})},pi=function(Q){var ve=Q.state,je=Q.published;mi();var it=je.modified.map(function(Ui){var _a=ve.dimensions.droppables[Ui.droppableId],Aa=pe(_a,Ui.scroll);return Aa}),St=Object(m.a)({},ve.dimensions.droppables,{},tr(it)),_t=lt(Ra({additions:je.additions,updatedDroppables:St,viewport:ve.viewport})),It=Object(m.a)({},ve.dimensions.draggables,{},_t);je.removals.forEach(function(Ui){delete It[Ui]});var Ar={droppables:St,draggables:It},Tr=xn(ve.impact),hr=Tr?Ar.droppables[Tr]:null,sr=Ar.draggables[ve.critical.draggable.id],Cr=Ar.droppables[ve.critical.droppable.id],Mr=di({draggable:sr,home:Cr,draggables:It,viewport:ve.viewport}),an=Mr.impact,Pn=Mr.afterCritical,ni=hr&&hr.isCombineEnabled?ve.impact:an,Ii=Gn({pageOffset:ve.current.page.offset,draggable:Ar.draggables[ve.critical.draggable.id],draggables:Ar.draggables,droppables:Ar.droppables,previousImpact:ni,viewport:ve.viewport,afterCritical:Pn});Ki();var hi=Object(m.a)({phase:"DRAGGING"},ve,{phase:"DRAGGING",impact:Ii,onLiftImpact:an,dimensions:Ar,afterCritical:Pn,forceShouldAnimate:!1});if(ve.phase==="COLLECTING")return hi;var ma=Object(m.a)({phase:"DROP_PENDING"},hi,{phase:"DROP_PENDING",reason:ve.reason,isWaiting:!1});return ma},ln=function(Q){return Q.movementMode==="SNAP"},Oi=function(Q,ve,je){var it=fi(Q.dimensions,ve);return!ln(Q)||je?fn({state:Q,dimensions:it}):Xn({state:Q,dimensions:it})};function Ji(Ce){return Ce.isDragging&&Ce.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},Ce,{scrollJumpRequest:null}):Ce}var Pi={phase:"IDLE",completed:null,shouldFlush:!1},aa=function(Q,ve){if(Q===void 0&&(Q=Pi),ve.type==="FLUSH")return Object(m.a)({},Pi,{shouldFlush:!0});if(ve.type==="INITIAL_PUBLISH"){Q.phase==="IDLE"||oe(!1);var je=ve.payload,it=je.critical,St=je.clientSelection,_t=je.viewport,It=je.dimensions,Ar=je.movementMode,Tr=It.draggables[it.draggable.id],hr=It.droppables[it.droppable.id],sr={selection:St,borderBoxCenter:Tr.client.borderBox.center,offset:Ke},Cr={client:sr,page:{selection:Ie(sr.selection,_t.scroll.initial),borderBoxCenter:Ie(sr.selection,_t.scroll.initial),offset:Ie(sr.selection,_t.scroll.diff.value)}},Mr=Wt(It.droppables).every(function(vo){return!vo.isFixedOnPage}),an=di({draggable:Tr,home:hr,draggables:It.draggables,viewport:_t}),Pn=an.impact,ni=an.afterCritical,Ii={phase:"DRAGGING",isDragging:!0,critical:it,movementMode:Ar,dimensions:It,initial:Cr,current:Cr,isWindowScrollAllowed:Mr,impact:Pn,afterCritical:ni,onLiftImpact:Pn,viewport:_t,scrollJumpRequest:null,forceShouldAnimate:null};return Ii}if(ve.type==="COLLECTION_STARTING"){if(Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING")return Q;Q.phase==="DRAGGING"||oe(!1);var hi=Object(m.a)({phase:"COLLECTING"},Q,{phase:"COLLECTING"});return hi}if(ve.type==="PUBLISH_WHILE_DRAGGING")return Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING"||oe(!1),pi({state:Q,published:ve.payload});if(ve.type==="MOVE"){if(Q.phase==="DROP_PENDING")return Q;oi(Q)||oe(!1);var ma=ve.payload.client;return ye(ma,Q.current.client.selection)?Q:fn({state:Q,clientSelection:ma,impact:ln(Q)?Q.impact:null})}if(ve.type==="UPDATE_DROPPABLE_SCROLL"){if(Q.phase==="DROP_PENDING")return Ji(Q);if(Q.phase==="COLLECTING")return Ji(Q);oi(Q)||oe(!1);var Ui=ve.payload,_a=Ui.id,Aa=Ui.newScroll,Va=Q.dimensions.droppables[_a];if(!Va)return Q;var mo=pe(Va,Aa);return Oi(Q,mo,!1)}if(ve.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(Q.phase==="DROP_PENDING")return Q;oi(Q)||oe(!1);var O=ve.payload,D=O.id,Y=O.isEnabled,Z=Q.dimensions.droppables[D];Z||oe(!1),Z.isEnabled!==Y||oe(!1);var te=Object(m.a)({},Z,{isEnabled:Y});return Oi(Q,te,!0)}if(ve.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(Q.phase==="DROP_PENDING")return Q;oi(Q)||oe(!1);var De=ve.payload,ht=De.id,Et=De.isCombineEnabled,Yt=Q.dimensions.droppables[ht];Yt||oe(!1),Yt.isCombineEnabled!==Et||oe(!1);var qt=Object(m.a)({},Yt,{isCombineEnabled:Et});return Oi(Q,qt,!0)}if(ve.type==="MOVE_BY_WINDOW_SCROLL"){if(Q.phase==="DROP_PENDING"||Q.phase==="DROP_ANIMATING")return Q;oi(Q)||oe(!1),Q.isWindowScrollAllowed||oe(!1);var qr=ve.payload.newScroll;if(ye(Q.viewport.scroll.current,qr))return Ji(Q);var dn=Ri(Q.viewport,qr);return ln(Q)?Xn({state:Q,viewport:dn}):fn({state:Q,viewport:dn})}if(ve.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!oi(Q))return Q;var Mn=ve.payload.maxScroll;if(ye(Mn,Q.viewport.scroll.max))return Q;var kn=Object(m.a)({},Q.viewport,{scroll:Object(m.a)({},Q.viewport.scroll,{max:Mn})});return Object(m.a)({phase:"DRAGGING"},Q,{viewport:kn})}if(ve.type==="MOVE_UP"||ve.type==="MOVE_DOWN"||ve.type==="MOVE_LEFT"||ve.type==="MOVE_RIGHT"){if(Q.phase==="COLLECTING"||Q.phase==="DROP_PENDING")return Q;Q.phase==="DRAGGING"||oe(!1);var Ai=ii({state:Q,type:ve.type});return Ai?fn({state:Q,impact:Ai.impact,clientSelection:Ai.clientSelection,scrollJumpRequest:Ai.scrollJumpRequest}):Q}if(ve.type==="DROP_PENDING"){var ji=ve.payload.reason;Q.phase==="COLLECTING"||oe(!1);var Qi=Object(m.a)({phase:"DROP_PENDING"},Q,{phase:"DROP_PENDING",isWaiting:!0,reason:ji});return Qi}if(ve.type==="DROP_ANIMATE"){var Yi=ve.payload,Xi=Yi.completed,pa=Yi.dropDuration,ya=Yi.newHomeClientOffset;Q.phase==="DRAGGING"||Q.phase==="DROP_PENDING"||oe(!1);var qa={phase:"DROP_ANIMATING",completed:Xi,dropDuration:pa,newHomeClientOffset:ya,dimensions:Q.dimensions};return qa}if(ve.type==="DROP_COMPLETE"){var ja=ve.payload.completed;return{phase:"IDLE",completed:ja,shouldFlush:!1}}return Q},Kt=function(Q){return{type:"BEFORE_INITIAL_CAPTURE",payload:Q}},Yr=function(Q){return{type:"LIFT",payload:Q}},rn=function(Q){return{type:"INITIAL_PUBLISH",payload:Q}},hn=function(Q){return{type:"PUBLISH_WHILE_DRAGGING",payload:Q}},ze=function(){return{type:"COLLECTION_STARTING",payload:null}},Ct=function(Q){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Q}},or=function(Q){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Q}},rr=function(Q){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Q}},Lr=function(Q){return{type:"MOVE",payload:Q}},Fr=function(Q){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Q}},Kr=function(Q){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Q}},nn=function(){return{type:"MOVE_UP",payload:null}},wn=function(){return{type:"MOVE_DOWN",payload:null}},In=function(){return{type:"MOVE_RIGHT",payload:null}},Rn=function(){return{type:"MOVE_LEFT",payload:null}},Dn=function(){return{type:"FLUSH",payload:null}},bn=function(Q){return{type:"DROP_ANIMATE",payload:Q}},Sn=function(Q){return{type:"DROP_COMPLETE",payload:Q}},_n=function(Q){return{type:"DROP",payload:Q}},Kn=function(Q){return{type:"DROP_PENDING",payload:Q}},Yn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Zn(Ce){if(Ce.length<=1)return;for(var Q=Ce.map(function(It){return It.descriptor.index}),ve={},je=1;je<Q.length;je++){var it=Q[je],St=Q[je-1];it!==St+1&&(ve[it]=!0)}if(!Object.keys(ve).length)return;var _t=Q.map(function(It){var Ar=Boolean(ve[It]);return Ar?"[\u{1F525}"+It+"]":""+It}).join(", ")}function yi(Ce,Q){if(!1)var ve}var gi=function(Q){return function(ve){var je=ve.getState,it=ve.dispatch;return function(St){return function(_t){if(_t.type!=="LIFT"){St(_t);return}var It=_t.payload,Ar=It.id,Tr=It.clientSelection,hr=It.movementMode,sr=je();sr.phase==="DROP_ANIMATING"&&it(Sn({completed:sr.completed})),je().phase==="IDLE"||oe(!1),it(Dn()),it(Kt({draggableId:Ar,movementMode:hr}));var Cr={shouldPublishImmediately:hr==="SNAP"},Mr={draggableId:Ar,scrollOptions:Cr},an=Q.startPublishing(Mr),Pn=an.critical,ni=an.dimensions,Ii=an.viewport;yi(Pn,ni),it(rn({critical:Pn,dimensions:ni,clientSelection:Tr,movementMode:hr,viewport:Ii}))}}}},Ni=function(Q){return function(){return function(ve){return function(je){je.type==="INITIAL_PUBLISH"&&Q.dragging(),je.type==="DROP_ANIMATE"&&Q.dropping(je.payload.completed.result.reason),(je.type==="FLUSH"||je.type==="DROP_COMPLETE")&&Q.resting(),ve(je)}}}},ki={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},xi={opacity:{drop:0,combining:.7},scale:{drop:.75}},_i={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Li=_i.outOfTheWay+"s "+ki.outOfTheWay,Hn={fluid:"opacity "+Li,snap:"transform "+Li+", opacity "+Li,drop:function(Q){var ve=Q+"s "+ki.drop;return"transform "+ve+", opacity "+ve},outOfTheWay:"transform "+Li,placeholder:"height "+Li+", width "+Li+", margin "+Li},Ci=function(Q){return ye(Q,Ke)?null:"translate("+Q.x+"px, "+Q.y+"px)"},Hi={moveTo:Ci,drop:function(Q,ve){var je=Ci(Q);return je?ve?je+" scale("+xi.scale.drop+")":je:null}},pr=_i.minDropTime,Rr=_i.maxDropTime,Qr=Rr-pr,Nr=1500,Xt=.6,xr=function(Q){var ve=Q.current,je=Q.destination,it=Q.reason,St=pt(ve,je);if(St<=0)return pr;if(St>=Nr)return Rr;var _t=St/Nr,It=pr+Qr*_t,Ar=it==="CANCEL"?It*Xt:It;return Number(Ar.toFixed(2))},er=function(Q){var ve=Q.impact,je=Q.draggable,it=Q.dimensions,St=Q.viewport,_t=Q.afterCritical,It=it.draggables,Ar=it.droppables,Tr=xn(ve),hr=Tr?Ar[Tr]:null,sr=Ar[je.descriptor.droppableId],Cr=jn({impact:ve,draggable:je,draggables:It,afterCritical:_t,droppable:hr||sr,viewport:St}),Mr=se(Cr,je.client.borderBox.center);return Mr},jr=function(Q){var ve=Q.draggables,je=Q.reason,it=Q.lastImpact,St=Q.home,_t=Q.viewport,It=Q.onLiftImpact;if(!it.at||je!=="DROP"){var Ar=yn({draggables:ve,impact:It,destination:St,viewport:_t,forceShouldAnimate:!0});return{impact:Ar,didDropInsideDroppable:!1}}if(it.at.type==="REORDER")return{impact:it,didDropInsideDroppable:!0};var Tr=Object(m.a)({},it,{displaced:Sr});return{impact:Tr,didDropInsideDroppable:!0}},Ur=function(Q){var ve=Q.getState,je=Q.dispatch;return function(it){return function(St){if(St.type!=="DROP"){it(St);return}var _t=ve(),It=St.payload.reason;if(_t.phase==="COLLECTING"){je(Kn({reason:It}));return}if(_t.phase==="IDLE")return;var Ar=_t.phase==="DROP_PENDING"&&_t.isWaiting;Ar&&oe(!1),_t.phase==="DRAGGING"||_t.phase==="DROP_PENDING"||oe(!1);var Tr=_t.critical,hr=_t.dimensions,sr=hr.draggables[_t.critical.draggable.id],Cr=jr({reason:It,lastImpact:_t.impact,afterCritical:_t.afterCritical,onLiftImpact:_t.onLiftImpact,home:_t.dimensions.droppables[_t.critical.droppable.id],viewport:_t.viewport,draggables:_t.dimensions.draggables}),Mr=Cr.impact,an=Cr.didDropInsideDroppable,Pn=an?ur(Mr):null,ni=an?ir(Mr):null,Ii={index:Tr.draggable.index,droppableId:Tr.droppable.id},hi={draggableId:sr.descriptor.id,type:sr.descriptor.type,source:Ii,reason:It,mode:_t.movementMode,destination:Pn,combine:ni},ma=er({impact:Mr,draggable:sr,dimensions:hr,viewport:_t.viewport,afterCritical:_t.afterCritical}),Ui={critical:_t.critical,afterCritical:_t.afterCritical,result:hi,impact:Mr},_a=!ye(_t.current.client.offset,ma)||Boolean(hi.combine);if(!_a){je(Sn({completed:Ui}));return}var Aa=xr({current:_t.current.client.offset,destination:ma,reason:It}),Va={newHomeClientOffset:ma,dropDuration:Aa,completed:Ui};je(bn(Va))}}},pn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function sn(Ce){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ve){if(ve.target!==window&&ve.target!==window.document)return;Ce()}}}function vn(Ce){var Q=Ce.onWindowScroll;function ve(){Q(pn())}var je=B(ve),it=sn(je),St=de;function _t(){return St!==de}function It(){_t()&&oe(!1),St=ae(window,[it])}function Ar(){_t()||oe(!1),je.cancel(),St(),St=de}return{start:It,stop:Ar,isActive:_t}}var Un=function(Q){return Q.type==="DROP_COMPLETE"||Q.type==="DROP_ANIMATE"||Q.type==="FLUSH"},Qn=function(Q){var ve=vn({onWindowScroll:function(it){Q.dispatch(Fr({newScroll:it}))}});return function(je){return function(it){!ve.isActive()&&it.type==="INITIAL_PUBLISH"&&ve.start(),ve.isActive()&&Un(it)&&ve.stop(),je(it)}}},$n=function(Q){var ve=!1,je=!1,it=setTimeout(function(){je=!0}),St=function(It){if(ve)return;if(je)return;ve=!0,Q(It),clearTimeout(it)};return St.wasCalled=function(){return ve},St},wi=function(){var Q=[],ve=function(_t){var It=qe(Q,function(hr){return hr.timerId===_t});It!==-1||oe(!1);var Ar=Q.splice(It,1),Tr=Ar[0];Tr.callback()},je=function(_t){var It=setTimeout(function(){return ve(It)}),Ar={timerId:It,callback:_t};Q.push(Ar)},it=function(){if(!Q.length)return;var _t=[].concat(Q);Q.length=0,_t.forEach(function(It){clearTimeout(It.timerId),It.callback()})};return{add:je,flush:it}},ra=function(Q,ve){return Q==null&&ve==null?!0:Q==null||ve==null?!1:Q.droppableId===ve.droppableId&&Q.index===ve.index},ua=function(Q,ve){return Q==null&&ve==null?!0:Q==null||ve==null?!1:Q.draggableId===ve.draggableId&&Q.droppableId===ve.droppableId},da=function(Q,ve){if(Q===ve)return!0;var je=Q.draggable.id===ve.draggable.id&&Q.draggable.droppableId===ve.draggable.droppableId&&Q.draggable.type===ve.draggable.type&&Q.draggable.index===ve.draggable.index,it=Q.droppable.id===ve.droppable.id&&Q.droppable.type===ve.droppable.type;return je&&it},sa=function(Q,ve){mi(),ve(),Ki()},fa=function(Q,ve){return{draggableId:Q.draggable.id,type:Q.droppable.type,source:{droppableId:Q.droppable.id,index:Q.draggable.index},mode:ve}},Wi=function(Q,ve,je,it){if(!Q){je(it(ve));return}var St=$n(je),_t={announce:St};Q(ve,_t),St.wasCalled()||je(it(ve))},Di=function(Q,ve){var je=wi(),it=null,St=function(Mr,an){it&&oe(!1),sa("onBeforeCapture",function(){var Pn=Q().onBeforeCapture;if(Pn){var ni={draggableId:Mr,mode:an};Pn(ni)}})},_t=function(Mr,an){it&&oe(!1),sa("onBeforeDragStart",function(){var Pn=Q().onBeforeDragStart;Pn&&Pn(fa(Mr,an))})},It=function(Mr,an){it&&oe(!1);var Pn=fa(Mr,an);it={mode:an,lastCritical:Mr,lastLocation:Pn.source,lastCombine:null},je.add(function(){sa("onDragStart",function(){return Wi(Q().onDragStart,Pn,ve,Te.onDragStart)})})},Ar=function(Mr,an){var Pn=ur(an),ni=ir(an);it||oe(!1);var Ii=!da(Mr,it.lastCritical);Ii&&(it.lastCritical=Mr);var hi=!ra(it.lastLocation,Pn);hi&&(it.lastLocation=Pn);var ma=!ua(it.lastCombine,ni);if(ma&&(it.lastCombine=ni),!Ii&&!hi&&!ma)return;var Ui=Object(m.a)({},fa(Mr,it.mode),{combine:ni,destination:Pn});je.add(function(){sa("onDragUpdate",function(){return Wi(Q().onDragUpdate,Ui,ve,Te.onDragUpdate)})})},Tr=function(){it||oe(!1),je.flush()},hr=function(Mr){it||oe(!1),it=null,sa("onDragEnd",function(){return Wi(Q().onDragEnd,Mr,ve,Te.onDragEnd)})},sr=function(){if(!it)return;var Mr=Object(m.a)({},fa(it.lastCritical,it.mode),{combine:null,destination:null,reason:"CANCEL"});hr(Mr)};return{beforeCapture:St,beforeStart:_t,start:It,update:Ar,flush:Tr,drop:hr,abort:sr}},na=function(Q,ve){var je=Di(Q,ve);return function(it){return function(St){return function(_t){if(_t.type==="BEFORE_INITIAL_CAPTURE"){je.beforeCapture(_t.payload.draggableId,_t.payload.movementMode);return}if(_t.type==="INITIAL_PUBLISH"){var It=_t.payload.critical;je.beforeStart(It,_t.payload.movementMode),St(_t),je.start(It,_t.payload.movementMode);return}if(_t.type==="DROP_COMPLETE"){var Ar=_t.payload.completed.result;je.flush(),St(_t),je.drop(Ar);return}if(St(_t),_t.type==="FLUSH"){je.abort();return}var Tr=it.getState();Tr.phase==="DRAGGING"&&je.update(Tr.critical,Tr.impact)}}}},Zi=function(Q){return function(ve){return function(je){if(je.type!=="DROP_ANIMATION_FINISHED"){ve(je);return}var it=Q.getState();it.phase==="DROP_ANIMATING"||oe(!1),Q.dispatch(Sn({completed:it.completed}))}}},ba=function(Q){var ve=null,je=null;function it(){je&&(cancelAnimationFrame(je),je=null),ve&&(ve(),ve=null)}return function(St){return function(_t){if((_t.type==="FLUSH"||_t.type==="DROP_COMPLETE"||_t.type==="DROP_ANIMATION_FINISHED")&&it(),St(_t),_t.type!=="DROP_ANIMATE")return;var It={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Tr=Q.getState();Tr.phase==="DROP_ANIMATING"&&Q.dispatch(Yn())}};je=requestAnimationFrame(function(){je=null,ve=ae(window,[It])})}}},Ta=function(Q){return function(){return function(ve){return function(je){(je.type==="DROP_COMPLETE"||je.type==="FLUSH"||je.type==="DROP_ANIMATE")&&Q.stopPublishing(),ve(je)}}}},$i=function(Q){var ve=!1;return function(){return function(je){return function(it){if(it.type==="INITIAL_PUBLISH"){ve=!0,Q.tryRecordFocus(it.payload.critical.draggable.id),je(it),Q.tryRestoreFocusRecorded();return}if(je(it),!ve)return;if(it.type==="FLUSH"){ve=!1,Q.tryRestoreFocusRecorded();return}if(it.type==="DROP_COMPLETE"){ve=!1;var St=it.payload.completed.result;St.combine&&Q.tryShiftRecord(St.draggableId,St.combine.draggableId),Q.tryRestoreFocusRecorded()}}}}},Vi=function(Q){return Q.type==="DROP_COMPLETE"||Q.type==="DROP_ANIMATE"||Q.type==="FLUSH"},La=function(Q){return function(ve){return function(je){return function(it){if(Vi(it)){Q.stop(),je(it);return}if(it.type==="INITIAL_PUBLISH"){je(it);var St=ve.getState();St.phase==="DRAGGING"||oe(!1),Q.start(St);return}je(it),Q.scroll(ve.getState())}}}},ga=function(Q){return function(ve){return function(je){if(ve(je),je.type!=="PUBLISH_WHILE_DRAGGING")return;var it=Q.getState();if(it.phase!=="DROP_PENDING")return;if(it.isWaiting)return;Q.dispatch(_n({reason:it.reason}))}}},Ti=g.d,Ea=function(Q){var ve=Q.dimensionMarshal,je=Q.focusMarshal,it=Q.styleMarshal,St=Q.getResponders,_t=Q.announce,It=Q.autoScroller;return Object(g.e)(aa,Ti(Object(g.a)(Ni(it),Ta(ve),gi(ve),Ur,Zi,ba,ga,La(It),Qn,$i(je),na(St,_t))))},Da=function(){return{additions:{},removals:{},modified:{}}};function Na(Ce){var Q=Ce.registry,ve=Ce.callbacks,je=Da(),it=null,St=function(){if(it)return;ve.collectionStarting(),it=requestAnimationFrame(function(){it=null,mi();var hr=je,sr=hr.additions,Cr=hr.removals,Mr=hr.modified,an=Object.keys(sr).map(function(Ii){return Q.draggable.getById(Ii).getDimension(Ke)}).sort(function(Ii,hi){return Ii.descriptor.index-hi.descriptor.index}),Pn=Object.keys(Mr).map(function(Ii){var hi=Q.droppable.getById(Ii),ma=hi.callbacks.getScrollWhileDragging();return{droppableId:Ii,scroll:ma}}),ni={additions:an,removals:Object.keys(Cr),modified:Pn};je=Da(),Ki(),ve.publish(ni)})},_t=function(hr){var sr=hr.descriptor.id;je.additions[sr]=hr,je.modified[hr.descriptor.droppableId]=!0,je.removals[sr]&&delete je.removals[sr],St()},It=function(hr){var sr=hr.descriptor;je.removals[sr.id]=!0,je.modified[sr.droppableId]=!0,je.additions[sr.id]&&delete je.additions[sr.id],St()},Ar=function(){if(!it)return;cancelAnimationFrame(it),it=null,je=Da()};return{add:_t,remove:It,stop:Ar}}var Pa=function(Q){var ve=Q.scrollHeight,je=Q.scrollWidth,it=Q.height,St=Q.width,_t=se({x:je,y:ve},{x:St,y:it}),It={x:Math.max(0,_t.x),y:Math.max(0,_t.y)};return It},Ha=function(){var Q=document.documentElement;return Q||oe(!1),Q},za=function(){var Q=Ha(),ve=Pa({scrollHeight:Q.scrollHeight,scrollWidth:Q.scrollWidth,width:Q.clientWidth,height:Q.clientHeight});return ve},wa=function(){var Q=pn(),ve=za(),je=Q.y,it=Q.x,St=Ha(),_t=St.clientWidth,It=St.clientHeight,Ar=it+_t,Tr=je+It,hr=r({top:je,left:it,right:Ar,bottom:Tr}),sr={frame:hr,scroll:{initial:Q,current:Q,max:ve,diff:{value:Ke,displacement:Ke}}};return sr},Ka=function(Q){var ve=Q.critical,je=Q.scrollOptions,it=Q.registry;mi();var St=wa(),_t=St.scroll.current,It=ve.droppable,Ar=it.droppable.getAllByType(It.type).map(function(Cr){return Cr.callbacks.getDimensionAndWatchScroll(_t,je)}),Tr=it.draggable.getAllByType(ve.draggable.type).map(function(Cr){return Cr.getDimension(_t)}),hr={draggables:lt(Tr),droppables:tr(Ar)};Ki();var sr={dimensions:hr,critical:ve,viewport:St};return sr};function ao(Ce,Q,ve){if(ve.descriptor.id===Q.id)return!1;if(ve.descriptor.type!==Q.type)return!1;var je=Ce.droppable.getById(ve.descriptor.droppableId);return!(je.descriptor.mode!=="virtual")}var ea=function(Q,ve){var je=null,it=Na({callbacks:{publish:ve.publishWhileDragging,collectionStarting:ve.collectionStarting},registry:Q}),St=function(an,Pn){if(Q.droppable.exists(an)||oe(!1),!je)return;ve.updateDroppableIsEnabled({id:an,isEnabled:Pn})},_t=function(an,Pn){if(!je)return;Q.droppable.exists(an)||oe(!1),ve.updateDroppableIsCombineEnabled({id:an,isCombineEnabled:Pn})},It=function(an,Pn){if(!je)return;Q.droppable.exists(an)||oe(!1),ve.updateDroppableScroll({id:an,newScroll:Pn})},Ar=function(an,Pn){if(!je)return;Q.droppable.getById(an).callbacks.scroll(Pn)},Tr=function(){if(!je)return;it.stop();var an=je.critical.droppable;Q.droppable.getAllByType(an.type).forEach(function(Pn){return Pn.callbacks.dragStopped()}),je.unsubscribe(),je=null},hr=function(an){je||oe(!1);var Pn=je.critical.draggable;an.type==="ADDITION"&&(ao(Q,Pn,an.value)&&it.add(an.value)),an.type==="REMOVAL"&&(ao(Q,Pn,an.value)&&it.remove(an.value))},sr=function(an){je&&oe(!1);var Pn=Q.draggable.getById(an.draggableId),ni=Q.droppable.getById(Pn.descriptor.droppableId),Ii={draggable:Pn.descriptor,droppable:ni.descriptor},hi=Q.subscribe(hr);return je={critical:Ii,unsubscribe:hi},Ka({critical:Ii,registry:Q,scrollOptions:an.scrollOptions})},Cr={updateDroppableIsEnabled:St,updateDroppableIsCombineEnabled:_t,scrollDroppable:Ar,updateDroppableScroll:It,startPublishing:sr,stopPublishing:Tr};return Cr},lo=function(Q,ve){return Q.phase==="IDLE"?!0:Q.phase!=="DROP_ANIMATING"||Q.completed.result.draggableId===ve?!1:Q.completed.result.reason==="DROP"},Ya=function(Q){window.scrollBy(Q.x,Q.y)},Sa=L(function(Ce){return Wt(Ce).filter(function(Q){return Q.isEnabled?!!Q.frame:!1})}),Ja=function(Q,ve){var je=le(Sa(ve),function(it){return it.frame||oe(!1),ei(it.frame.pageMarginBox)(Q)});return je},Ma=function(Q){var ve=Q.center,je=Q.destination,it=Q.droppables;if(je){var St=it[je];return St.frame?St:null}var _t=Ja(ve,it);return _t},ka={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Q){return Math.pow(Q,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},yo=function(Q,ve){var je=Q[ve.size]*ka.startFromPercentage,it=Q[ve.size]*ka.maxScrollAtPercentage,St={startScrollingFrom:je,maxScrollValueAt:it};return St},to=function(Q){var ve=Q.startOfRange,je=Q.endOfRange,it=Q.current,St=je-ve;if(St===0)return 0;var _t=it-ve,It=_t/St;return It},_o=1,co=function(Q,ve){if(Q>ve.startScrollingFrom)return 0;if(Q<=ve.maxScrollValueAt)return ka.maxPixelScroll;if(Q===ve.startScrollingFrom)return _o;var je=to({startOfRange:ve.maxScrollValueAt,endOfRange:ve.startScrollingFrom,current:Q}),it=1-je,St=ka.maxPixelScroll*ka.ease(it);return Math.ceil(St)},uo=ka.durationDampening.accelerateAt,Qa=ka.durationDampening.stopDampeningAt,Za=function(Q,ve){var je=ve,it=Qa,St=Date.now(),_t=St-je;if(_t>=Qa)return Q;if(_t<uo)return _o;var It=to({startOfRange:uo,endOfRange:it,current:_t}),Ar=Q*ka.ease(It);return Math.ceil(Ar)},Ca=function(Q){var ve=Q.distanceToEdge,je=Q.thresholds,it=Q.dragStartTime,St=Q.shouldUseTimeDampening,_t=co(ve,je);return _t===0?0:St?Math.max(Za(_t,it),_o):_t},no=function(Q){var ve=Q.container,je=Q.distanceToEdges,it=Q.dragStartTime,St=Q.axis,_t=Q.shouldUseTimeDampening,It=yo(ve,St),Ar=je[St.end]<je[St.start];return Ar?Ca({distanceToEdge:je[St.end],thresholds:It,dragStartTime:it,shouldUseTimeDampening:_t}):-1*Ca({distanceToEdge:je[St.start],thresholds:It,dragStartTime:it,shouldUseTimeDampening:_t})},fo=function(Q){var ve=Q.container,je=Q.subject,it=Q.proposedScroll,St=je.height>ve.height,_t=je.width>ve.width;return!_t&&!St?it:_t&&St?null:{x:_t?0:it.x,y:St?0:it.y}},Bi=Oe(function(Ce){return Ce===0?0:Ce}),Ia=function(Q){var ve=Q.dragStartTime,je=Q.container,it=Q.subject,St=Q.center,_t=Q.shouldUseTimeDampening,It={top:St.y-je.top,right:je.right-St.x,bottom:je.bottom-St.y,left:St.x-je.left},Ar=no({container:je,distanceToEdges:It,dragStartTime:ve,axis:Ln,shouldUseTimeDampening:_t}),Tr=no({container:je,distanceToEdges:It,dragStartTime:ve,axis:Je,shouldUseTimeDampening:_t}),hr=Bi({x:Tr,y:Ar});if(ye(hr,Ke))return null;var sr=fo({container:je,subject:it,proposedScroll:hr});return sr?ye(sr,Ke)?null:sr:null},Vo=Oe(function(Ce){return Ce===0?0:Ce>0?1:-1}),Uo=function(){var Ce=function(ve,je){return ve<0?ve:ve>je?ve-je:0};return function(Q){var ve=Q.current,je=Q.max,it=Q.change,St=Ie(ve,it),_t={x:Ce(St.x,je.x),y:Ce(St.y,je.y)};return ye(_t,Ke)?null:_t}}(),Xo=function(Q){var ve=Q.max,je=Q.current,it=Q.change,St={x:Math.max(je.x,ve.x),y:Math.max(je.y,ve.y)},_t=Vo(it),It=Uo({max:St,current:je,change:_t});return It?_t.x!==0&&It.x===0?!0:_t.y!==0&&It.y===0:!0},Yo=function(Q,ve){return Xo({current:Q.scroll.current,max:Q.scroll.max,change:ve})},bo=function(Q,ve){if(!Yo(Q,ve))return null;var je=Q.scroll.max,it=Q.scroll.current;return Uo({current:it,max:je,change:ve})},Oa=function(Q,ve){var je=Q.frame;return je?Xo({current:je.scroll.current,max:je.scroll.max,change:ve}):!1},Fo=function(Q,ve){var je=Q.frame;return je&&Oa(Q,ve)?Uo({current:je.scroll.current,max:je.scroll.max,change:ve}):null},ss=function(Q){var ve=Q.viewport,je=Q.subject,it=Q.center,St=Q.dragStartTime,_t=Q.shouldUseTimeDampening,It=Ia({dragStartTime:St,container:ve.frame,subject:je,center:it,shouldUseTimeDampening:_t});return It&&Yo(ve,It)?It:null},ho=function(Q){var ve=Q.droppable,je=Q.subject,it=Q.center,St=Q.dragStartTime,_t=Q.shouldUseTimeDampening,It=ve.frame;if(!It)return null;var Ar=Ia({dragStartTime:St,container:It.pageMarginBox,subject:je,center:it,shouldUseTimeDampening:_t});return Ar&&Oa(ve,Ar)?Ar:null},Oo=function(Q){var ve=Q.state,je=Q.dragStartTime,it=Q.shouldUseTimeDampening,St=Q.scrollWindow,_t=Q.scrollDroppable,It=ve.current.page.borderBoxCenter,Ar=ve.dimensions.draggables[ve.critical.draggable.id],Tr=Ar.page.marginBox;if(ve.isWindowScrollAllowed){var hr=ve.viewport,sr=ss({dragStartTime:je,viewport:hr,subject:Tr,center:It,shouldUseTimeDampening:it});if(sr){St(sr);return}}var Cr=Ma({center:It,destination:xn(ve.impact),droppables:ve.dimensions.droppables});if(!Cr)return;var Mr=ho({dragStartTime:je,droppable:Cr,subject:Tr,center:It,shouldUseTimeDampening:it});Mr&&_t(Cr.descriptor.id,Mr)},Fa=function(Q){var ve=Q.scrollWindow,je=Q.scrollDroppable,it=B(ve),St=B(je),_t=null,It=function(sr){_t||oe(!1);var Cr=_t,Mr=Cr.shouldUseTimeDampening,an=Cr.dragStartTime;Oo({state:sr,scrollWindow:it,scrollDroppable:St,dragStartTime:an,shouldUseTimeDampening:Mr})},Ar=function(sr){mi(),_t&&oe(!1);var Cr=Date.now(),Mr=!1,an=function(){Mr=!0};Oo({state:sr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:an,scrollDroppable:an}),_t={dragStartTime:Cr,shouldUseTimeDampening:Mr},Ki(),Mr&&It(sr)},Tr=function(){if(!_t)return;it.cancel(),St.cancel(),_t=null};return{start:Ar,stop:Tr,scroll:It}},Qo=function(Q){var ve=Q.move,je=Q.scrollDroppable,it=Q.scrollWindow,St=function(hr,sr){var Cr=Ie(hr.current.client.selection,sr);ve({client:Cr})},_t=function(hr,sr){if(!Oa(hr,sr))return sr;var Cr=Fo(hr,sr);if(!Cr)return je(hr.descriptor.id,sr),null;var Mr=se(sr,Cr);je(hr.descriptor.id,Mr);var an=se(sr,Mr);return an},It=function(hr,sr,Cr){if(!hr)return Cr;if(!Yo(sr,Cr))return Cr;var Mr=bo(sr,Cr);if(!Mr)return it(Cr),null;var an=se(Cr,Mr);it(an);var Pn=se(Cr,an);return Pn},Ar=function(hr){var sr=hr.scrollJumpRequest;if(!sr)return;var Cr=xn(hr.impact);Cr||oe(!1);var Mr=_t(hr.dimensions.droppables[Cr],sr);if(!Mr)return;var an=hr.viewport,Pn=It(hr.isWindowScrollAllowed,an,Mr);if(!Pn)return;St(hr,Pn)};return Ar},el=function(Q){var ve=Q.scrollDroppable,je=Q.scrollWindow,it=Q.move,St=Fa({scrollWindow:je,scrollDroppable:ve}),_t=Qo({move:it,scrollWindow:je,scrollDroppable:ve}),It=function(hr){if(hr.phase!=="DRAGGING")return;if(hr.movementMode==="FLUID"){St.scroll(hr);return}if(!hr.scrollJumpRequest)return;_t(hr)},Ar={scroll:It,start:St.start,stop:St.stop};return Ar},Es="data-rbd",Ns=function(){var Ce=Es+"-drag-handle";return{base:Ce,draggableId:Ce+"-draggable-id",contextId:Ce+"-context-id"}}(),Cs=function(){var Ce=Es+"-draggable";return{base:Ce,contextId:Ce+"-context-id",id:Ce+"-id"}}(),As=function(){var Ce=Es+"-droppable";return{base:Ce,contextId:Ce+"-context-id",id:Ce+"-id"}}(),vs={contextId:Es+"-scroll-container-context-id"},jo=function(Q){return function(ve){return"["+ve+'="'+Q+'"]'}},go=function(Q,ve){return Q.map(function(je){var it=je.styles[ve];return it?je.selector+" { "+it+" }":""}).join(" ")},es="pointer-events: none;",Ho=function(Q){var ve=jo(Q),je=function(){var Ar=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:ve(Ns.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:Ar,dragging:es,dropAnimating:Ar}}}(),it=function(){var Ar=`
|
|
|
transition: `+Hn.outOfTheWay+`;
|
|
|
`;return{selector:ve(Cs.contextId),styles:{dragging:Ar,dropAnimating:Ar,userCancel:Ar}}}(),St={selector:ve(As.contextId),styles:{always:"overflow-anchor: none;"}},_t={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},It=[it,je,St,_t];return{always:go(It,"always"),resting:go(It,"resting"),dragging:go(It,"dragging"),dropAnimating:go(It,"dropAnimating"),userCancel:go(It,"userCancel")}},Go=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,zr=function(){var Q=document.querySelector("head");return Q||oe(!1),Q},Bo=function(Q){var ve=document.createElement("style");return Q&&ve.setAttribute("nonce",Q),ve.type="text/css",ve};function tl(Ce,Q){var ve=n(function(){return Ho(Ce)},[Ce]),je=Object(y.useRef)(null),it=Object(y.useRef)(null),St=i(L(function(sr){var Cr=it.current;Cr||oe(!1),Cr.textContent=sr}),[]),_t=i(function(sr){var Cr=je.current;Cr||oe(!1),Cr.textContent=sr},[]);Go(function(){!je.current&&!it.current||oe(!1);var sr=Bo(Q),Cr=Bo(Q);return je.current=sr,it.current=Cr,sr.setAttribute(Es+"-always",Ce),Cr.setAttribute(Es+"-dynamic",Ce),zr().appendChild(sr),zr().appendChild(Cr),_t(ve.always),St(ve.resting),function(){var Mr=function(Pn){var ni=Pn.current;ni||oe(!1),zr().removeChild(ni),Pn.current=null};Mr(je),Mr(it)}},[Q,_t,St,ve.always,ve.resting,Ce]);var It=i(function(){return St(ve.dragging)},[St,ve.dragging]),Ar=i(function(sr){if(sr==="DROP"){St(ve.dropAnimating);return}St(ve.userCancel)},[St,ve.dropAnimating,ve.userCancel]),Tr=i(function(){if(!it.current)return;St(ve.resting)},[St,ve.resting]),hr=n(function(){return{dragging:It,dropping:Ar,resting:Tr}},[It,Ar,Tr]);return hr}var Ks=function(Q){return Q&&Q.ownerDocument?Q.ownerDocument.defaultView:window};function Ps(Ce){return Ce instanceof Ks(Ce).HTMLElement}function io(Ce,Q){var ve="["+Ns.contextId+'="'+Ce+'"]',je=Nt(document.querySelectorAll(ve));if(!je.length)return null;var it=le(je,function(St){return St.getAttribute(Ns.draggableId)===Q});return it&&Ps(it)?it:null}function Ao(Ce){var Q=Object(y.useRef)({}),ve=Object(y.useRef)(null),je=Object(y.useRef)(null),it=Object(y.useRef)(!1),St=i(function(Cr,Mr){var an={id:Cr,focus:Mr};return Q.current[Cr]=an,function(){var ni=Q.current,Ii=ni[Cr];Ii!==an&&delete ni[Cr]}},[]),_t=i(function(Cr){var Mr=io(Ce,Cr);Mr&&Mr!==document.activeElement&&Mr.focus()},[Ce]),It=i(function(Cr,Mr){ve.current===Cr&&(ve.current=Mr)},[]),Ar=i(function(){if(je.current)return;if(!it.current)return;je.current=requestAnimationFrame(function(){je.current=null;var Cr=ve.current;Cr&&_t(Cr)})},[_t]),Tr=i(function(Cr){ve.current=null;var Mr=document.activeElement;if(!Mr)return;if(Mr.getAttribute(Ns.draggableId)!==Cr)return;ve.current=Cr},[]);Go(function(){return it.current=!0,function(){it.current=!1;var Cr=je.current;Cr&&cancelAnimationFrame(Cr)}},[]);var hr=n(function(){return{register:St,tryRecordFocus:Tr,tryRestoreFocusRecorded:Ar,tryShiftRecord:It}},[St,Tr,Ar,It]);return hr}function Jo(){var Ce={draggables:{},droppables:{}},Q=[];function ve(sr){return Q.push(sr),function(){var Mr=Q.indexOf(sr);if(Mr===-1)return;Q.splice(Mr,1)}}function je(sr){Q.length&&Q.forEach(function(Cr){return Cr(sr)})}function it(sr){return Ce.draggables[sr]||null}function St(sr){var Cr=it(sr);return Cr||oe(!1),Cr}var _t={register:function(Cr){Ce.draggables[Cr.descriptor.id]=Cr,je({type:"ADDITION",value:Cr})},update:function(Cr,Mr){var an=Ce.draggables[Mr.descriptor.id];if(!an)return;if(an.uniqueId!==Cr.uniqueId)return;delete Ce.draggables[Mr.descriptor.id],Ce.draggables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Mr=Cr.descriptor.id,an=it(Mr);if(!an)return;if(Cr.uniqueId!==an.uniqueId)return;delete Ce.draggables[Mr],je({type:"REMOVAL",value:Cr})},getById:St,findById:it,exists:function(Cr){return Boolean(it(Cr))},getAllByType:function(Cr){return bt(Ce.draggables).filter(function(Mr){return Mr.descriptor.type===Cr})}};function It(sr){return Ce.droppables[sr]||null}function Ar(sr){var Cr=It(sr);return Cr||oe(!1),Cr}var Tr={register:function(Cr){Ce.droppables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Mr=It(Cr.descriptor.id);if(!Mr)return;if(Cr.uniqueId!==Mr.uniqueId)return;delete Ce.droppables[Cr.descriptor.id]},getById:Ar,findById:It,exists:function(Cr){return Boolean(It(Cr))},getAllByType:function(Cr){return bt(Ce.droppables).filter(function(Mr){return Mr.descriptor.type===Cr})}};function hr(){Ce.draggables={},Ce.droppables={},Q.length=0}return{draggable:_t,droppable:Tr,subscribe:ve,clean:hr}}function ns(){var Ce=n(Jo,[]);return Object(y.useEffect)(function(){return function(){requestAnimationFrame(Ce.clean)}},[Ce]),Ce}var ys=p.a.createContext(null),ps=function(){var Q=document.body;return Q||oe(!1),Q},Ls={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},il=function(Q){return"rbd-announcement-"+Q};function Rs(Ce){var Q=n(function(){return il(Ce)},[Ce]),ve=Object(y.useRef)(null);Object(y.useEffect)(function(){var St=document.createElement("div");return ve.current=St,St.id=Q,St.setAttribute("aria-live","assertive"),St.setAttribute("aria-atomic","true"),Object(m.a)(St.style,Ls),ps().appendChild(St),function(){setTimeout(function(){var Ar=ps();Ar.contains(St)&&Ar.removeChild(St),St===ve.current&&(ve.current=null)})}},[Q]);var je=i(function(it){var St=ve.current;if(St){St.textContent=it;return}},[]);return je}var Ws=0,ks={separator:"::"};function ms(){Ws=0}function Ms(Ce,Q){return Q===void 0&&(Q=ks),n(function(){return""+Ce+Q.separator+Ws++},[Q.separator,Ce])}function yt(Ce){var Q=Ce.contextId,ve=Ce.uniqueId;return"rbd-hidden-text-"+Q+"-"+ve}function Dt(Ce){var Q=Ce.contextId,ve=Ce.text,je=Ms("hidden-text",{separator:"-"}),it=n(function(){return yt({contextId:Q,uniqueId:je})},[je,Q]);return Object(y.useEffect)(function(){var _t=document.createElement("div");return _t.id=it,_t.textContent=ve,_t.style.display="none",ps().appendChild(_t),function(){var Ar=ps();Ar.contains(_t)&&Ar.removeChild(_t)}},[it,ve]),it}var tn=p.a.createContext(null),On={react:"^16.8.5","react-dom":"^16.8.5"},ft=/(\d+)\.(\d+)\.(\d+)/,$=function(Q){var ve=ft.exec(Q);ve!=null||oe(!1);var je=Number(ve[1]),it=Number(ve[2]),St=Number(ve[3]);return{major:je,minor:it,patch:St,raw:Q}},he=function(Q,ve){return ve.major>Q.major?!0:ve.major<Q.major?!1:ve.minor>Q.minor?!0:ve.minor<Q.minor?!1:ve.patch>=Q.patch},ge=function(Q,ve){var je=$(Q),it=$(ve);if(he(je,it))return},Fe=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,ct=function(Q){var ve=Q.doctype;if(!ve)return;ve.name.toLowerCase()!=="html",ve.publicId!==""};function Tt(Ce){}function br(Ce,Q){Tt(function(){Object(y.useEffect)(function(){try{Ce()}catch(ve){J(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+ve.message+`
|
|
|
`)}},Q)})}function Ir(){br(function(){ge(On.react,p.a.version),ct(document)},[])}function $r(Ce){var Q=Object(y.useRef)(Ce);return Object(y.useEffect)(function(){Q.current=Ce}),Q}function Cn(){var Ce=null;function Q(){return Boolean(Ce)}function ve(_t){return _t===Ce}function je(_t){Ce&&oe(!1);var It={abandon:_t};return Ce=It,It}function it(){Ce||oe(!1),Ce=null}function St(){Ce&&(Ce.abandon(),it())}return{isClaimed:Q,isActive:ve,claim:je,release:it,tryAbandon:St}}var Wn=9,si=13,Ei=27,zi=32,la=33,va=34,$a=35,eo=36,ro=37,Lo=38,Eo=39,Gi=40,po,wo=(po={},po[si]=!0,po[Wn]=!0,po),ts=function(Q){wo[Q.keyCode]&&Q.preventDefault()},No=function(){var Ce="visibilitychange";if(typeof document=="undefined")return Ce;var Q=[Ce,"ms"+Ce,"webkit"+Ce,"moz"+Ce,"o"+Ce],ve=le(Q,function(je){return"on"+je in document});return ve||Ce}(),Io=0,Ko=5;function bs(Ce,Q){return Math.abs(Q.x-Ce.x)>=Ko||Math.abs(Q.y-Ce.y)>=Ko}var ls={type:"IDLE"};function cs(Ce){var Q=Ce.cancel,ve=Ce.completed,je=Ce.getPhase,it=Ce.setPhase;return[{eventName:"mousemove",fn:function(_t){var It=_t.button,Ar=_t.clientX,Tr=_t.clientY;if(It!==Io)return;var hr={x:Ar,y:Tr},sr=je();if(sr.type==="DRAGGING"){_t.preventDefault(),sr.actions.move(hr);return}sr.type==="PENDING"||oe(!1);var Cr=sr.point;if(!bs(Cr,hr))return;_t.preventDefault();var Mr=sr.actions.fluidLift(hr);it({type:"DRAGGING",actions:Mr})}},{eventName:"mouseup",fn:function(_t){var It=je();if(It.type!=="DRAGGING"){Q();return}_t.preventDefault(),It.actions.drop({shouldBlockNextClick:!0}),ve()}},{eventName:"mousedown",fn:function(_t){je().type==="DRAGGING"&&_t.preventDefault(),Q()}},{eventName:"keydown",fn:function(_t){var It=je();if(It.type==="PENDING"){Q();return}if(_t.keyCode===Ei){_t.preventDefault(),Q();return}ts(_t)}},{eventName:"resize",fn:Q},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){je().type==="PENDING"&&Q()}},{eventName:"webkitmouseforcedown",fn:function(_t){var It=je();if(It.type!=="IDLE"||oe(!1),It.actions.shouldRespectForcePress()){Q();return}_t.preventDefault()}},{eventName:No,fn:Q}]}function ws(Ce){var Q=Object(y.useRef)(ls),ve=Object(y.useRef)(de),je=n(function(){return{eventName:"mousedown",fn:function(sr){if(sr.defaultPrevented)return;if(sr.button!==Io)return;if(sr.ctrlKey||sr.metaKey||sr.shiftKey||sr.altKey)return;var Cr=Ce.findClosestDraggableId(sr);if(!Cr)return;var Mr=Ce.tryGetLock(Cr,_t,{sourceEvent:sr});if(!Mr)return;sr.preventDefault();var an={x:sr.clientX,y:sr.clientY};ve.current(),Tr(Mr,an)}}},[Ce]),it=n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(sr){if(sr.defaultPrevented)return;var Cr=Ce.findClosestDraggableId(sr);if(!Cr)return;var Mr=Ce.findOptionsForDraggable(Cr);if(!Mr)return;if(Mr.shouldRespectForcePress)return;if(!Ce.canGetLock(Cr))return;sr.preventDefault()}}},[Ce]),St=i(function(){var sr={passive:!1,capture:!0};ve.current=ae(window,[it,je],sr)},[it,je]),_t=i(function(){var hr=Q.current;if(hr.type==="IDLE")return;Q.current=ls,ve.current(),St()},[St]),It=i(function(){var hr=Q.current;_t(),hr.type==="DRAGGING"&&hr.actions.cancel({shouldBlockNextClick:!0}),hr.type==="PENDING"&&hr.actions.abort()},[_t]),Ar=i(function(){var sr={capture:!0,passive:!1},Cr=cs({cancel:It,completed:_t,getPhase:function(){return Q.current},setPhase:function(an){Q.current=an}});ve.current=ae(window,Cr,sr)},[It,_t]),Tr=i(function(sr,Cr){Q.current.type==="IDLE"||oe(!1),Q.current={type:"PENDING",point:Cr,actions:sr},Ar()},[Ar]);Go(function(){return St(),function(){ve.current()}},[St])}var us;function Ys(){}var dl=(us={},us[va]=!0,us[la]=!0,us[eo]=!0,us[$a]=!0,us);function gs(Ce,Q){function ve(){Q(),Ce.cancel()}function je(){Q(),Ce.drop()}return[{eventName:"keydown",fn:function(St){if(St.keyCode===Ei){St.preventDefault(),ve();return}if(St.keyCode===zi){St.preventDefault(),je();return}if(St.keyCode===Gi){St.preventDefault(),Ce.moveDown();return}if(St.keyCode===Lo){St.preventDefault(),Ce.moveUp();return}if(St.keyCode===Eo){St.preventDefault(),Ce.moveRight();return}if(St.keyCode===ro){St.preventDefault(),Ce.moveLeft();return}if(dl[St.keyCode]){St.preventDefault();return}ts(St)}},{eventName:"mousedown",fn:ve},{eventName:"mouseup",fn:ve},{eventName:"click",fn:ve},{eventName:"touchstart",fn:ve},{eventName:"resize",fn:ve},{eventName:"wheel",fn:ve,options:{passive:!0}},{eventName:No,fn:ve}]}function Do(Ce){var Q=Object(y.useRef)(Ys),ve=n(function(){return{eventName:"keydown",fn:function(St){if(St.defaultPrevented)return;if(St.keyCode!==zi)return;var _t=Ce.findClosestDraggableId(St);if(!_t)return;var It=Ce.tryGetLock(_t,hr,{sourceEvent:St});if(!It)return;St.preventDefault();var Ar=!0,Tr=It.snapLift();Q.current();function hr(){Ar||oe(!1),Ar=!1,Q.current(),je()}Q.current=ae(window,gs(Tr,hr),{capture:!0,passive:!1})}}},[Ce]),je=i(function(){var St={passive:!1,capture:!0};Q.current=ae(window,[ve],St)},[ve]);Go(function(){return je(),function(){Q.current()}},[je])}var is={type:"IDLE"},Qs=120,Ds=.15;function Vs(Ce){var Q=Ce.cancel,ve=Ce.getPhase;return[{eventName:"orientationchange",fn:Q},{eventName:"resize",fn:Q},{eventName:"contextmenu",fn:function(it){it.preventDefault()}},{eventName:"keydown",fn:function(it){if(ve().type!=="DRAGGING"){Q();return}it.keyCode===Ei&&it.preventDefault(),Q()}},{eventName:No,fn:Q}]}function Xs(Ce){var Q=Ce.cancel,ve=Ce.completed,je=Ce.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(St){var _t=je();if(_t.type!=="DRAGGING"){Q();return}_t.hasMoved=!0;var It=St.touches[0],Ar=It.clientX,Tr=It.clientY,hr={x:Ar,y:Tr};St.preventDefault(),_t.actions.move(hr)}},{eventName:"touchend",fn:function(St){var _t=je();if(_t.type!=="DRAGGING"){Q();return}St.preventDefault(),_t.actions.drop({shouldBlockNextClick:!0}),ve()}},{eventName:"touchcancel",fn:function(St){if(je().type!=="DRAGGING"){Q();return}St.preventDefault(),Q()}},{eventName:"touchforcechange",fn:function(St){var _t=je();_t.type!=="IDLE"||oe(!1);var It=St.touches[0];if(!It)return;var Ar=It.force>=Ds;if(!Ar)return;var Tr=_t.actions.shouldRespectForcePress();if(_t.type==="PENDING"){Tr&&Q();return}if(Tr){if(_t.hasMoved){St.preventDefault();return}Q();return}St.preventDefault()}},{eventName:No,fn:Q}]}function Fs(Ce){var Q=Object(y.useRef)(is),ve=Object(y.useRef)(de),je=i(function(){return Q.current},[]),it=i(function(Mr){Q.current=Mr},[]),St=n(function(){return{eventName:"touchstart",fn:function(Mr){if(Mr.defaultPrevented)return;var an=Ce.findClosestDraggableId(Mr);if(!an)return;var Pn=Ce.tryGetLock(an,It,{sourceEvent:Mr});if(!Pn)return;var ni=Mr.touches[0],Ii=ni.clientX,hi=ni.clientY,ma={x:Ii,y:hi};ve.current(),sr(Pn,ma)}}},[Ce]),_t=i(function(){var Mr={capture:!0,passive:!1};ve.current=ae(window,[St],Mr)},[St]),It=i(function(){var Cr=Q.current;if(Cr.type==="IDLE")return;Cr.type==="PENDING"&&clearTimeout(Cr.longPressTimerId),it(is),ve.current(),_t()},[_t,it]),Ar=i(function(){var Cr=Q.current;It(),Cr.type==="DRAGGING"&&Cr.actions.cancel({shouldBlockNextClick:!0}),Cr.type==="PENDING"&&Cr.actions.abort()},[It]),Tr=i(function(){var Mr={capture:!0,passive:!1},an={cancel:Ar,completed:It,getPhase:je},Pn=ae(window,Xs(an),Mr),ni=ae(window,Vs(an),Mr);ve.current=function(){Pn(),ni()}},[Ar,je,It]),hr=i(function(){var Mr=je();Mr.type==="PENDING"||oe(!1);var an=Mr.actions.fluidLift(Mr.point);it({type:"DRAGGING",actions:an,hasMoved:!1})},[je,it]),sr=i(function(Mr,an){je().type==="IDLE"||oe(!1);var Pn=setTimeout(hr,Qs);it({type:"PENDING",point:an,actions:Mr,longPressTimerId:Pn}),Tr()},[Tr,je,it,hr]);Go(function(){return _t(),function(){ve.current();var an=je();an.type==="PENDING"&&(clearTimeout(an.longPressTimerId),it(is))}},[je,_t,it]),Go(function(){var Mr=ae(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Mr},[])}function al(Ce){Tt(function(){var Q=$r(Ce);br(function(){Q.current.length===Ce.length||oe(!1)})})}var Js={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function rl(Ce,Q){if(Q==null)return!1;var ve=Boolean(Js[Q.tagName.toLowerCase()]);if(ve)return!0;var je=Q.getAttribute("contenteditable");return je==="true"||je===""?!0:Q===Ce?!1:rl(Ce,Q.parentElement)}function Us(Ce,Q){var ve=Q.target;return Ps(ve)?rl(Ce,ve):!1}var Ga=function(Q){return r(Q.getBoundingClientRect()).center};function ha(Ce){return Ce instanceof Ks(Ce).Element}var Wa=function(){var Ce="matches";if(typeof document=="undefined")return Ce;var Q=[Ce,"msMatchesSelector","webkitMatchesSelector"],ve=le(Q,function(je){return je in Element.prototype});return ve||Ce}();function oo(Ce,Q){return Ce==null?null:Ce[Wa](Q)?Ce:oo(Ce.parentElement,Q)}function $o(Ce,Q){return Ce.closest?Ce.closest(Q):oo(Ce,Q)}function Bs(Ce){return"["+Ns.contextId+'="'+Ce+'"]'}function Ss(Ce,Q){var ve=Q.target;if(!ha(ve))return null;var je=Bs(Ce),it=$o(ve,je);return it&&Ps(it)?it:null}function ds(Ce,Q){var ve=Ss(Ce,Q);return ve?ve.getAttribute(Ns.draggableId):null}function Po(Ce,Q){var ve="["+Cs.contextId+'="'+Ce+'"]',je=Nt(document.querySelectorAll(ve)),it=le(je,function(St){return St.getAttribute(Cs.id)===Q});return it&&Ps(it)?it:null}function Co(Ce){Ce.preventDefault()}function Zo(Ce){var Q=Ce.expected,ve=Ce.phase,je=Ce.isLockActive,it=Ce.shouldWarn;return je()?!(Q!==ve):!1}function So(Ce){var Q=Ce.lockAPI,ve=Ce.store,je=Ce.registry,it=Ce.draggableId;if(Q.isClaimed())return!1;var St=je.draggable.findById(it);return St&&St.options.isEnabled?!!lo(ve.getState(),it):!1}function js(Ce){var Q=Ce.lockAPI,ve=Ce.contextId,je=Ce.store,it=Ce.registry,St=Ce.draggableId,_t=Ce.forceSensorStop,It=Ce.sourceEvent,Ar=So({lockAPI:Q,store:je,registry:it,draggableId:St});if(!Ar)return null;var Tr=it.draggable.getById(St),hr=Po(ve,Tr.descriptor.id);if(!hr)return null;if(It&&!Tr.options.canDragInteractiveElements&&Us(hr,It))return null;var sr=Q.claim(_t||de),Cr="PRE_DRAG";function Mr(){return Tr.options.shouldRespectForcePress}function an(){return Q.isActive(sr)}function Pn(Aa,Va){Zo({expected:Aa,phase:Cr,isLockActive:an,shouldWarn:!0})&&je.dispatch(Va())}var ni=Pn.bind(null,"DRAGGING");function Ii(Aa){function Va(){Q.release(),Cr="COMPLETED"}Cr!=="PRE_DRAG"&&(Va(),Cr==="PRE_DRAG"||oe(!1)),je.dispatch(Yr(Aa.liftActionArgs)),Cr="DRAGGING";function mo(O,D){if(D===void 0&&(D={shouldBlockNextClick:!1}),Aa.cleanup(),D.shouldBlockNextClick){var Y=ae(window,[{eventName:"click",fn:Co,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Y)}Va(),je.dispatch(_n({reason:O}))}return Object(m.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:Cr,isLockActive:an,shouldWarn:!1})},shouldRespectForcePress:Mr,drop:function(D){return mo("DROP",D)},cancel:function(D){return mo("CANCEL",D)}},Aa.actions)}function hi(Aa){var Va=B(function(O){ni(function(){return Lr({client:O})})}),mo=Ii({liftActionArgs:{id:St,clientSelection:Aa,movementMode:"FLUID"},cleanup:function(){return Va.cancel()},actions:{move:Va}});return Object(m.a)({},mo,{move:Va})}function ma(){var Aa={moveUp:function(){return ni(nn)},moveRight:function(){return ni(In)},moveDown:function(){return ni(wn)},moveLeft:function(){return ni(Rn)}};return Ii({liftActionArgs:{id:St,clientSelection:Ga(hr),movementMode:"SNAP"},cleanup:de,actions:Aa})}function Ui(){var Aa=Zo({expected:"PRE_DRAG",phase:Cr,isLockActive:an,shouldWarn:!0});Aa&&Q.release()}var _a={isActive:function(){return Zo({expected:"PRE_DRAG",phase:Cr,isLockActive:an,shouldWarn:!1})},shouldRespectForcePress:Mr,fluidLift:hi,snapLift:ma,abort:Ui};return _a}var Hl=[ws,Do,Fs];function fl(Ce){var Q=Ce.contextId,ve=Ce.store,je=Ce.registry,it=Ce.customSensors,St=Ce.enableDefaultSensors,_t=[].concat(St?Hl:[],it||[]),It=Object(y.useState)(function(){return Cn()})[0],Ar=i(function(hi,ma){hi.isDragging&&!ma.isDragging&&It.tryAbandon()},[It]);Go(function(){var hi=ve.getState(),ma=ve.subscribe(function(){var Ui=ve.getState();Ar(hi,Ui),hi=Ui});return ma},[It,ve,Ar]),Go(function(){return It.tryAbandon},[It.tryAbandon]);var Tr=i(function(Ii){return So({lockAPI:It,registry:je,store:ve,draggableId:Ii})},[It,je,ve]),hr=i(function(Ii,hi,ma){return js({lockAPI:It,registry:je,contextId:Q,store:ve,draggableId:Ii,forceSensorStop:hi,sourceEvent:ma&&ma.sourceEvent?ma.sourceEvent:null})},[Q,It,je,ve]),sr=i(function(Ii){return ds(Q,Ii)},[Q]),Cr=i(function(Ii){var hi=je.draggable.findById(Ii);return hi?hi.options:null},[je.draggable]),Mr=i(function(){if(!It.isClaimed())return;It.tryAbandon(),ve.getState().phase!=="IDLE"&&ve.dispatch(Dn())},[It,ve]),an=i(It.isClaimed,[It]),Pn=n(function(){return{canGetLock:Tr,tryGetLock:hr,findClosestDraggableId:sr,findOptionsForDraggable:Cr,tryReleaseLock:Mr,isLockClaimed:an}},[Tr,hr,sr,Cr,Mr,an]);al(_t);for(var ni=0;ni<_t.length;ni++)_t[ni](Pn)}var Ml=function(Q){return{onBeforeCapture:Q.onBeforeCapture,onBeforeDragStart:Q.onBeforeDragStart,onDragStart:Q.onDragStart,onDragEnd:Q.onDragEnd,onDragUpdate:Q.onDragUpdate}};function Zs(Ce){return Ce.current||oe(!1),Ce.current}function xl(Ce){var Q=Ce.contextId,ve=Ce.setCallbacks,je=Ce.sensors,it=Ce.nonce,St=Ce.dragHandleUsageInstructions,_t=Object(y.useRef)(null);Ir();var It=$r(Ce),Ar=i(function(){return Ml(It.current)},[It]),Tr=Rs(Q),hr=Dt({contextId:Q,text:St}),sr=tl(Q,it),Cr=i(function(O){Zs(_t).dispatch(O)},[]),Mr=n(function(){return Object(g.b)({publishWhileDragging:hn,updateDroppableScroll:Ct,updateDroppableIsEnabled:or,updateDroppableIsCombineEnabled:rr,collectionStarting:ze},Cr)},[Cr]),an=ns(),Pn=n(function(){return ea(an,Mr)},[an,Mr]),ni=n(function(){return el(Object(m.a)({scrollWindow:Ya,scrollDroppable:Pn.scrollDroppable},Object(g.b)({move:Lr},Cr)))},[Pn.scrollDroppable,Cr]),Ii=Ao(Q),hi=n(function(){return Ea({announce:Tr,autoScroller:ni,dimensionMarshal:Pn,focusMarshal:Ii,getResponders:Ar,styleMarshal:sr})},[Tr,ni,Pn,Ii,Ar,sr]);_t.current=hi;var ma=i(function(){var O=Zs(_t),D=O.getState();D.phase!=="IDLE"&&O.dispatch(Dn())},[]),Ui=i(function(){var O=Zs(_t).getState();return O.isDragging||O.phase==="DROP_ANIMATING"},[]),_a=n(function(){return{isDragging:Ui,tryAbort:ma}},[Ui,ma]);ve(_a);var Aa=i(function(O){return lo(Zs(_t).getState(),O)},[]),Va=i(function(){return oi(Zs(_t).getState())},[]),mo=n(function(){return{marshal:Pn,focus:Ii,contextId:Q,canLift:Aa,isMovementAllowed:Va,dragHandleUsageInstructionsId:hr,registry:an}},[Q,Pn,hr,Ii,Aa,Va,an]);return fl({contextId:Q,store:hi,registry:an,customSensors:je,enableDefaultSensors:Ce.enableDefaultSensors!==!1}),Object(y.useEffect)(function(){return ma},[ma]),p.a.createElement(tn.Provider,{value:mo},p.a.createElement(f.a,{context:ys,store:hi},Ce.children))}var El=0;function Ec(){El=0}function lc(){return n(function(){return""+El++},[])}function Cc(){Ec(),ms()}function Uc(Ce){var Q=lc(),ve=Ce.dragHandleUsageInstructions||Te.dragHandleUsageInstructions;return p.a.createElement(_e,null,function(je){return p.a.createElement(xl,{nonce:Ce.nonce,contextId:Q,setCallbacks:je,dragHandleUsageInstructions:ve,enableDefaultSensors:Ce.enableDefaultSensors,sensors:Ce.sensors,onBeforeCapture:Ce.onBeforeCapture,onBeforeDragStart:Ce.onBeforeDragStart,onDragStart:Ce.onDragStart,onDragUpdate:Ce.onDragUpdate,onDragEnd:Ce.onDragEnd},Ce.children)})}var Zl=function(Q){return function(ve){return Q===ve}},Gs=Zl("scroll"),hs=Zl("auto"),nl=Zl("visible"),$l=function(Q,ve){return ve(Q.overflowX)||ve(Q.overflowY)},cc=function(Q,ve){return ve(Q.overflowX)&&ve(Q.overflowY)},uc=function(Q){var ve=window.getComputedStyle(Q),je={overflowX:ve.overflowX,overflowY:ve.overflowY};return $l(je,Gs)||$l(je,hs)},ql=function(){return!1;var Q,ve;if(!uc(Q))return!1;var je,it;if(cc(it,nl))return!1},Kl=function Ce(Q){return Q==null?null:Q===document.body?ql()?Q:null:Q===document.documentElement?null:uc(Q)?Q:Ce(Q.parentElement)},jc=function(Q){if(!Q)return;var ve=Kl(Q.parentElement);if(!ve)return},dc=function(Q){return{x:Q.scrollLeft,y:Q.scrollTop}},Tc=function Ce(Q){if(!Q)return!1;var ve=window.getComputedStyle(Q);return ve.position==="fixed"?!0:Ce(Q.parentElement)},pl=function(Q){var ve=Kl(Q),je=Tc(Q);return{closestScrollable:ve,isFixedOnPage:je}},Al=function(Q){var ve=Q.descriptor,je=Q.isEnabled,it=Q.isCombineEnabled,St=Q.isFixedOnPage,_t=Q.direction,It=Q.client,Ar=Q.page,Tr=Q.closest,hr=function(){if(!Tr)return null;var an=Tr.scrollSize,Pn=Tr.client,ni=Pa({scrollHeight:an.scrollHeight,scrollWidth:an.scrollWidth,height:Pn.paddingBox.height,width:Pn.paddingBox.width});return{pageMarginBox:Tr.page.marginBox,frameClient:Pn,scrollSize:an,shouldClipSubject:Tr.shouldClipSubject,scroll:{initial:Tr.scroll,current:Tr.scroll,max:ni,diff:{value:Ke,displacement:Ke}}}}(),sr=_t==="vertical"?Ln:Je,Cr=$e({page:Ar,withPlaceholder:null,axis:sr,frame:hr}),Mr={descriptor:ve,isCombineEnabled:it,isFixedOnPage:St,axis:sr,isEnabled:je,client:It,page:Ar,frame:hr,subject:Cr};return Mr},Wl=function(Q,ve){var je=T(Q);if(!ve)return je;if(Q!==ve)return je;var it=je.paddingBox.top-ve.scrollTop,St=je.paddingBox.left-ve.scrollLeft,_t=it+ve.scrollHeight,It=St+ve.scrollWidth,Ar={top:it,right:It,bottom:_t,left:St},Tr=l(Ar,je.border),hr=h({borderBox:Tr,margin:je.margin,border:je.border,padding:je.padding});return hr},Fl=function(Q){var ve=Q.ref,je=Q.descriptor,it=Q.env,St=Q.windowScroll,_t=Q.direction,It=Q.isDropDisabled,Ar=Q.isCombineEnabled,Tr=Q.shouldClipSubject,hr=it.closestScrollable,sr=Wl(ve,hr),Cr=b(sr,St),Mr=function(){if(!hr)return null;var Pn=T(hr),ni={scrollHeight:hr.scrollHeight,scrollWidth:hr.scrollWidth};return{client:Pn,page:b(Pn,St),scroll:dc(hr),scrollSize:ni,shouldClipSubject:Tr}}(),an=Al({descriptor:je,isEnabled:!It,isCombineEnabled:Ar,isFixedOnPage:it.isFixedOnPage,direction:_t,client:sr,page:Cr,closest:Mr});return an},ml={passive:!1},Hs={passive:!0},zl=function(Q){return Q.shouldPublishImmediately?ml:Hs};function vl(Ce){var Q=Object(y.useContext)(Ce);return Q||oe(!1),Q}var ec=function(Q){return Q&&Q.env.closestScrollable||null};function _c(Ce){var Q=Object(y.useRef)(null),ve=vl(tn),je=Ms("droppable"),it=ve.registry,St=ve.marshal,_t=$r(Ce),It=n(function(){return{id:Ce.droppableId,type:Ce.type,mode:Ce.mode}},[Ce.droppableId,Ce.mode,Ce.type]),Ar=Object(y.useRef)(It),Tr=n(function(){return L(function(Ui,_a){Q.current||oe(!1);var Aa={x:Ui,y:_a};St.updateDroppableScroll(It.id,Aa)})},[It.id,St]),hr=i(function(){var Ui=Q.current;return!Ui||!Ui.env.closestScrollable?Ke:dc(Ui.env.closestScrollable)},[]),sr=i(function(){var Ui=hr();Tr(Ui.x,Ui.y)},[hr,Tr]),Cr=n(function(){return B(sr)},[sr]),Mr=i(function(){var Ui=Q.current,_a=ec(Ui);Ui&&_a||oe(!1);var Aa=Ui.scrollOptions;if(Aa.shouldPublishImmediately){sr();return}Cr()},[Cr,sr]),an=i(function(Ui,_a){Q.current&&oe(!1);var Aa=_t.current,Va=Aa.getDroppableRef();Va||oe(!1);var mo=pl(Va),O={ref:Va,descriptor:It,env:mo,scrollOptions:_a};Q.current=O;var D=Fl({ref:Va,descriptor:It,env:mo,windowScroll:Ui,direction:Aa.direction,isDropDisabled:Aa.isDropDisabled,isCombineEnabled:Aa.isCombineEnabled,shouldClipSubject:!Aa.ignoreContainerClipping}),Y=mo.closestScrollable;return Y&&(Y.setAttribute(vs.contextId,ve.contextId),Y.addEventListener("scroll",Mr,zl(O.scrollOptions))),D},[ve.contextId,It,Mr,_t]),Pn=i(function(){var Ui=Q.current,_a=ec(Ui);return Ui&&_a||oe(!1),dc(_a)},[]),ni=i(function(){var Ui=Q.current;Ui||oe(!1);var _a=ec(Ui);if(Q.current=null,!_a)return;Cr.cancel(),_a.removeAttribute(vs.contextId),_a.removeEventListener("scroll",Mr,zl(Ui.scrollOptions))},[Mr,Cr]),Ii=i(function(Ui){var _a=Q.current;_a||oe(!1);var Aa=ec(_a);Aa||oe(!1),Aa.scrollTop+=Ui.y,Aa.scrollLeft+=Ui.x},[]),hi=n(function(){return{getDimensionAndWatchScroll:an,getScrollWhileDragging:Pn,dragStopped:ni,scroll:Ii}},[ni,an,Pn,Ii]),ma=n(function(){return{uniqueId:je,descriptor:It,callbacks:hi}},[hi,It,je]);Go(function(){return Ar.current=ma.descriptor,it.droppable.register(ma),function(){Q.current&&ni(),it.droppable.unregister(ma)}},[hi,It,ni,ma,St,it.droppable]),Go(function(){if(!Q.current)return;St.updateDroppableIsEnabled(Ar.current.id,!Ce.isDropDisabled)},[Ce.isDropDisabled,St]),Go(function(){if(!Q.current)return;St.updateDroppableIsCombineEnabled(Ar.current.id,Ce.isCombineEnabled)},[Ce.isCombineEnabled,St])}function Vl(){}var Bl={width:0,height:0,margin:xt},Cl=function(Q){var ve=Q.isAnimatingOpenOnMount,je=Q.placeholder,it=Q.animate;return ve||it==="close"?Bl:{height:je.client.borderBox.height,width:je.client.borderBox.width,margin:je.client.margin}},Pl=function(Q){var ve=Q.isAnimatingOpenOnMount,je=Q.placeholder,it=Q.animate,St=Cl({isAnimatingOpenOnMount:ve,placeholder:je,animate:it});return{display:je.display,boxSizing:"border-box",width:St.width,height:St.height,marginTop:St.margin.top,marginRight:St.margin.right,marginBottom:St.margin.bottom,marginLeft:St.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:it!=="none"?Hn.placeholder:null}};function Ic(Ce){var Q=Object(y.useRef)(null),ve=i(function(){if(!Q.current)return;clearTimeout(Q.current),Q.current=null},[]),je=Ce.animate,it=Ce.onTransitionEnd,St=Ce.onClose,_t=Ce.contextId,It=Object(y.useState)(Ce.animate==="open"),Ar=It[0],Tr=It[1];Object(y.useEffect)(function(){return Ar?je!=="open"?(ve(),Tr(!1),Vl):Q.current?Vl:(Q.current=setTimeout(function(){Q.current=null,Tr(!1)}),ve):Vl},[je,Ar,ve]);var hr=i(function(Cr){if(Cr.propertyName!=="height")return;it(),je==="close"&&St()},[je,St,it]),sr=Pl({isAnimatingOpenOnMount:Ar,animate:Ce.animate,placeholder:Ce.placeholder});return p.a.createElement(Ce.placeholder.tagName,{style:sr,"data-rbd-placeholder-context-id":_t,onTransitionEnd:hr,ref:Ce.innerRef})}var Oc=p.a.memo(Ic),hc=p.a.createContext(null);function Xl(Ce){Ce&&Ps(Ce)||oe(!1)}function fc(Ce){return typeof Ce=="boolean"}function pc(Ce,Q){Q.forEach(function(ve){return ve(Ce)})}var Lc=[function(Q){var ve=Q.props;ve.droppableId||oe(!1),typeof ve.droppableId=="string"||oe(!1)},function(Q){var ve=Q.props;fc(ve.isDropDisabled)||oe(!1),fc(ve.isCombineEnabled)||oe(!1),fc(ve.ignoreContainerClipping)||oe(!1)},function(Q){var ve=Q.getDroppableRef;Xl(ve())}],ll=[function(Q){var ve=Q.props,je=Q.getPlaceholderRef;if(!ve.placeholder)return;var it=je();if(it)return}],cl=[function(Q){var ve=Q.props;ve.renderClone||oe(!1)},function(Q){var ve=Q.getPlaceholderRef;ve()&&oe(!1)}];function hl(Ce){br(function(){pc(Ce,Lc),Ce.props.mode==="standard"&&pc(Ce,ll),Ce.props.mode==="virtual"&&pc(Ce,cl)})}var tc=function(Ce){Object(S.a)(Q,Ce);function Q(){for(var je,it=arguments.length,St=new Array(it),_t=0;_t<it;_t++)St[_t]=arguments[_t];return je=Ce.call.apply(Ce,[this].concat(St))||this,je.state={isVisible:Boolean(je.props.on),data:je.props.on,animate:je.props.shouldAnimate&&je.props.on?"open":"none"},je.onClose=function(){if(je.state.animate!=="close")return;je.setState({isVisible:!1})},je}Q.getDerivedStateFromProps=function(it,St){return it.shouldAnimate?it.on?{isVisible:!0,data:it.on,animate:"open"}:St.isVisible?{isVisible:!0,data:St.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(it.on),data:it.on,animate:"none"}};var ve=Q.prototype;return ve.render=function(){if(!this.state.isVisible)return null;var it={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(it)},Q}(p.a.PureComponent),mc={dragging:5e3,dropAnimating:4500},yl=function(Q,ve){return ve?Hn.drop(ve.duration):Q?Hn.snap:Hn.fluid},ul=function(Q,ve){return Q?ve?xi.opacity.drop:xi.opacity.combining:null},Gl=function(Q){return Q.forceShouldAnimate!=null?Q.forceShouldAnimate:Q.mode==="SNAP"};function rc(Ce){var Q=Ce.dimension,ve=Q.client,je=Ce.offset,it=Ce.combineWith,St=Ce.dropping,_t=Boolean(it),It=Gl(Ce),Ar=Boolean(St),Tr=Ar?Hi.drop(je,_t):Hi.moveTo(je),hr={position:"fixed",top:ve.marginBox.top,left:ve.marginBox.left,boxSizing:"border-box",width:ve.borderBox.width,height:ve.borderBox.height,transition:yl(It,St),transform:Tr,opacity:ul(_t,Ar),zIndex:Ar?mc.dropAnimating:mc.dragging,pointerEvents:"none"};return hr}function Hc(Ce){return{transform:Hi.moveTo(Ce.offset),transition:Ce.shouldAnimateDisplacement?null:"none"}}function gc(Ce){return Ce.type==="DRAGGING"?rc(Ce):Hc(Ce)}function nc(Ce,Q,ve){ve===void 0&&(ve=Ke);var je=window.getComputedStyle(Q),it=Q.getBoundingClientRect(),St=E(it,je),_t=b(St,ve),It={client:St,tagName:Q.tagName.toLowerCase(),display:je.display},Ar={x:St.marginBox.width,y:St.marginBox.height},Tr={descriptor:Ce,placeholder:It,displaceBy:Ar,client:St,page:_t};return Tr}function Nc(Ce){var Q=Ms("draggable"),ve=Ce.descriptor,je=Ce.registry,it=Ce.getDraggableRef,St=Ce.canDragInteractiveElements,_t=Ce.shouldRespectForcePress,It=Ce.isEnabled,Ar=n(function(){return{canDragInteractiveElements:St,shouldRespectForcePress:_t,isEnabled:It}},[St,It,_t]),Tr=i(function(Mr){var an=it();return an||oe(!1),nc(ve,an,Mr)},[ve,it]),hr=n(function(){return{uniqueId:Q,descriptor:ve,options:Ar,getDimension:Tr}},[ve,Tr,Ar,Q]),sr=Object(y.useRef)(hr),Cr=Object(y.useRef)(!0);Go(function(){return je.draggable.register(sr.current),function(){return je.draggable.unregister(sr.current)}},[je.draggable]),Go(function(){if(Cr.current){Cr.current=!1;return}var Mr=sr.current;sr.current=hr,je.draggable.update(hr,Mr)},[hr,je.draggable])}function Ac(Ce,Q,ve){br(function(){function je(St){return"Draggable[id: "+St+"]: "}var it=Ce.draggableId;if(it||oe(!1),typeof it=="string"||oe(!1),q(Ce.index)||oe(!1),Ce.mapped.type==="DRAGGING")return;Xl(ve()),Ce.isEnabled&&(io(Q,it)||oe(!1))})}function bl(Ce){Tt(function(){var Q=Object(y.useRef)(Ce);br(function(){Ce===Q.current||oe(!1)},[Ce])})}function Tl(Ce){Ce.preventDefault()}function ic(Ce){var Q=Object(y.useRef)(null),ve=i(function(O){Q.current=O},[]),je=i(function(){return Q.current},[]),it=vl(tn),St=it.contextId,_t=it.dragHandleUsageInstructionsId,It=it.registry,Ar=vl(hc),Tr=Ar.type,hr=Ar.droppableId,sr=n(function(){return{id:Ce.draggableId,index:Ce.index,type:Tr,droppableId:hr}},[Ce.draggableId,Ce.index,Tr,hr]),Cr=Ce.children,Mr=Ce.draggableId,an=Ce.isEnabled,Pn=Ce.shouldRespectForcePress,ni=Ce.canDragInteractiveElements,Ii=Ce.isClone,hi=Ce.mapped,ma=Ce.dropAnimationFinished;if(Ac(Ce,St,je),bl(Ii),!Ii){var Ui=n(function(){return{descriptor:sr,registry:It,getDraggableRef:je,canDragInteractiveElements:ni,shouldRespectForcePress:Pn,isEnabled:an}},[sr,It,je,ni,Pn,an]);Nc(Ui)}var _a=n(function(){return an?{tabIndex:0,role:"button","aria-describedby":_t,"data-rbd-drag-handle-draggable-id":Mr,"data-rbd-drag-handle-context-id":St,draggable:!1,onDragStart:Tl}:null},[St,_t,Mr,an]),Aa=i(function(O){if(hi.type!=="DRAGGING")return;if(!hi.dropping)return;if(O.propertyName!=="transform")return;ma()},[ma,hi]),Va=n(function(){var O=gc(hi),D=hi.type==="DRAGGING"&&hi.dropping?Aa:null,Y={innerRef:ve,draggableProps:{"data-rbd-draggable-context-id":St,"data-rbd-draggable-id":Mr,style:O,onTransitionEnd:D},dragHandleProps:_a};return Y},[St,_a,Mr,hi,Aa,ve]),mo=n(function(){return{draggableId:sr.id,type:sr.type,source:{index:sr.index,droppableId:sr.droppableId}}},[sr.droppableId,sr.id,sr.index,sr.type]);return Cr(Va,hi.snapshot,mo)}var Yl=function(Q,ve){return Q===ve},vc=function(Q){var ve=Q.combine,je=Q.destination;return je?je.droppableId:ve?ve.droppableId:null},qc=function(Q){return Q.combine?Q.combine.draggableId:null},Kc=function(Q){return Q.at&&Q.at.type==="COMBINE"?Q.at.combine.draggableId:null};function Wc(){var Ce=L(function(it,St){return{x:it,y:St}}),Q=L(function(it,St,_t,It,Ar){return{isDragging:!0,isClone:St,isDropAnimating:Boolean(Ar),dropAnimation:Ar,mode:it,draggingOver:_t,combineWith:It,combineTargetFor:null}}),ve=L(function(it,St,_t,It,Ar,Tr,hr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ar,combineWith:Tr,mode:St,offset:it,dimension:_t,forceShouldAnimate:hr,snapshot:Q(St,It,Ar,Tr,null)}}}),je=function(St,_t){if(St.isDragging){if(St.critical.draggable.id!==_t.draggableId)return null;var It=St.current.client.offset,Ar=St.dimensions.draggables[_t.draggableId],Tr=xn(St.impact),hr=Kc(St.impact),sr=St.forceShouldAnimate;return ve(Ce(It.x,It.y),St.movementMode,Ar,_t.isClone,Tr,hr,sr)}if(St.phase==="DROP_ANIMATING"){var Cr=St.completed;if(Cr.result.draggableId!==_t.draggableId)return null;var Mr=_t.isClone,an=St.dimensions.draggables[_t.draggableId],Pn=Cr.result,ni=Pn.mode,Ii=vc(Pn),hi=qc(Pn),ma=St.dropDuration,Ui={duration:ma,curve:ki.drop,moveTo:St.newHomeClientOffset,opacity:hi?xi.opacity.drop:null,scale:hi?xi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:St.newHomeClientOffset,dimension:an,dropping:Ui,draggingOver:Ii,combineWith:hi,mode:ni,forceShouldAnimate:null,snapshot:Q(ni,Mr,Ii,hi,Ui)}}}return null};return je}function _l(Ce){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Ce,combineWith:null}}var Dc={mapped:{type:"SECONDARY",offset:Ke,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:_l(null)}};function yc(){var Ce=L(function(_t,It){return{x:_t,y:It}}),Q=L(_l),ve=L(function(_t,It,Ar){return It===void 0&&(It=null),{mapped:{type:"SECONDARY",offset:_t,combineTargetFor:It,shouldAnimateDisplacement:Ar,snapshot:Q(It)}}}),je=function(It){return It?ve(Ke,It,!0):null},it=function(It,Ar,Tr,hr){var sr=Tr.displaced.visible[It],Cr=Boolean(hr.inVirtualList&&hr.effected[It]),Mr=ir(Tr),an=Mr&&Mr.draggableId===It?Ar:null;if(!sr){if(!Cr)return je(an);if(Tr.displaced.invisible[It])return null;var Pn=xe(hr.displacedBy.point),ni=Ce(Pn.x,Pn.y);return ve(ni,an,!0)}if(Cr)return je(an);var Ii=Tr.displacedBy.point,hi=Ce(Ii.x,Ii.y);return ve(hi,an,sr.shouldAnimate)},St=function(It,Ar){if(It.isDragging)return It.critical.draggable.id===Ar.draggableId?null:it(Ar.draggableId,It.critical.draggable.id,It.impact,It.afterCritical);if(It.phase==="DROP_ANIMATING"){var Tr=It.completed;return Tr.result.draggableId===Ar.draggableId?null:it(Ar.draggableId,Tr.result.draggableId,Tr.impact,Tr.afterCritical)}return null};return St}var zc=function(){var Q=Wc(),ve=yc(),je=function(St,_t){return Q(St,_t)||ve(St,_t)||Dc};return je},Rc={dropAnimationFinished:Yn},Mc=Object(f.c)(zc,Rc,null,{context:ys,pure:!0,areStatePropsEqual:Yl})(ic);function ac(Ce){var Q=vl(hc),ve=Q.isUsingCloneFor;return ve===Ce.draggableId&&!Ce.isClone?null:p.a.createElement(Mc,Ce)}function Fc(Ce){var Q=typeof Ce.isDragDisabled=="boolean"?!Ce.isDragDisabled:!0,ve=Boolean(Ce.disableInteractiveElementBlocking),je=Boolean(Ce.shouldRespectForcePress);return p.a.createElement(ac,Object(m.a)({},Ce,{isClone:!1,isEnabled:Q,canDragInteractiveElements:ve,shouldRespectForcePress:je}))}function Il(Ce){var Q=Object(y.useContext)(tn);Q||oe(!1);var ve=Q.contextId,je=Q.isMovementAllowed,it=Object(y.useRef)(null),St=Object(y.useRef)(null),_t=Ce.children,It=Ce.droppableId,Ar=Ce.type,Tr=Ce.mode,hr=Ce.direction,sr=Ce.ignoreContainerClipping,Cr=Ce.isDropDisabled,Mr=Ce.isCombineEnabled,an=Ce.snapshot,Pn=Ce.useClone,ni=Ce.updateViewportMaxScroll,Ii=Ce.getContainerForClone,hi=i(function(){return it.current},[]),ma=i(function(Z){it.current=Z},[]),Ui=i(function(){return St.current},[]),_a=i(function(Z){St.current=Z},[]);hl({props:Ce,getDroppableRef:hi,getPlaceholderRef:Ui});var Aa=i(function(){je()&&ni({maxScroll:za()})},[je,ni]);_c({droppableId:It,type:Ar,mode:Tr,direction:hr,isDropDisabled:Cr,isCombineEnabled:Mr,ignoreContainerClipping:sr,getDroppableRef:hi});var Va=p.a.createElement(tc,{on:Ce.placeholder,shouldAnimate:Ce.shouldAnimatePlaceholder},function(Z){var te=Z.onClose,De=Z.data,ht=Z.animate;return p.a.createElement(Oc,{placeholder:De,onClose:te,innerRef:_a,animate:ht,contextId:ve,onTransitionEnd:Aa})}),mo=n(function(){return{innerRef:ma,placeholder:Va,droppableProps:{"data-rbd-droppable-id":It,"data-rbd-droppable-context-id":ve}}},[ve,It,Va,ma]),O=Pn?Pn.dragging.draggableId:null,D=n(function(){return{droppableId:It,type:Ar,isUsingCloneFor:O}},[It,O,Ar]);function Y(){if(!Pn)return null;var Z=Pn.dragging,te=Pn.render,De=p.a.createElement(ac,{draggableId:Z.draggableId,index:Z.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ht,Et){return te(ht,Et,Z)});return H.a.createPortal(De,Ii())}return p.a.createElement(hc.Provider,{value:D},_t(mo,an),Y())}var Ql=function(Q,ve){return Q===ve.droppable.type},fe=function(Q,ve){return ve.draggables[Q.draggable.id]},Pe=function(){var Q={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ve=Object(m.a)({},Q,{shouldAnimatePlaceholder:!1}),je=L(function(_t){return{draggableId:_t.id,type:_t.type,source:{index:_t.index,droppableId:_t.droppableId}}}),it=L(function(_t,It,Ar,Tr,hr,sr){var Cr=hr.descriptor.id,Mr=hr.descriptor.droppableId===_t;if(Mr){var an=sr?{render:sr,dragging:je(hr.descriptor)}:null,Pn={isDraggingOver:Ar,draggingOverWith:Ar?Cr:null,draggingFromThisWith:Cr,isUsingPlaceholder:!0};return{placeholder:hr.placeholder,shouldAnimatePlaceholder:!1,snapshot:Pn,useClone:an}}if(!It)return ve;if(!Tr)return Q;var ni={isDraggingOver:Ar,draggingOverWith:Cr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:hr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ni,useClone:null}}),St=function(It,Ar){var Tr=Ar.droppableId,hr=Ar.type,sr=!Ar.isDropDisabled,Cr=Ar.renderClone;if(It.isDragging){var Mr=It.critical;if(!Ql(hr,Mr))return ve;var an=fe(Mr,It.dimensions),Pn=xn(It.impact)===Tr;return it(Tr,sr,Pn,Pn,an,Cr)}if(It.phase==="DROP_ANIMATING"){var ni=It.completed;if(!Ql(hr,ni.critical))return ve;var Ii=fe(ni.critical,It.dimensions);return it(Tr,sr,vc(ni.result)===Tr,xn(ni.impact)===Tr,Ii,Cr)}if(It.phase==="IDLE"&&It.completed&&!It.shouldFlush){var hi=It.completed;if(!Ql(hr,hi.critical))return ve;var ma=xn(hi.impact)===Tr,Ui=Boolean(hi.impact.at&&hi.impact.at.type==="COMBINE"),_a=hi.critical.droppable.id===Tr;return ma?Ui?Q:ve:_a?Q:ve}return ve};return St},ut={updateViewportMaxScroll:Kr};function Ut(){return document.body||oe(!1),document.body}var dr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ut},_r=Object(f.c)(Pe,ut,null,{context:ys,pure:!0,areStatePropsEqual:Yl})(Il);_r.defaultProps=dr},ni6a:function(R,N,t){var y=t("pzxd"),p=t("mFDi"),S=t("gut8"),m=S.WILL_BE_RESTORED,g=new p,f=function(){};f.prototype={constructor:f,drawRectText:function(a,n){var i=this.style;n=i.textRect||n,this.__dirty&&y.normalizeTextStyle(i,!0);var o=i.text;if(o!=null&&(o+=""),!y.needDrawText(o,i))return;a.save();var r=this.transform;i.transformText?this.setTransform(a):r&&(g.copy(n),g.applyTransform(r),n=g),y.renderText(this,a,o,i,n,m),a.restore()}};var d=f;R.exports=d},nkfE:function(R,N,t){var y=t("bYtY"),p=t("ca2m"),S=t("bLfw"),m=t("+TT/"),g=m.getLayoutParams,f=m.mergeLayoutParam,d=t("jkPA"),c=["value","category","time","log"];function a(n,i,o,r){y.each(c,function(l){i.extend({type:n+"Axis."+l,mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,h=u?g(e):{},A=s.getTheme();y.merge(e,A.get(l+"Axis")),y.merge(e,this.getDefaultOption()),e.type=o(n,e),u&&f(e,h,u)},optionUpdated:function(){var e=this.option;e.type==="category"&&(this.__ordinalMeta=d.createByAxisModel(this))},getCategories:function(e){var s=this.option;if(s.type==="category")return e?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:y.mergeAll([{},p[l+"Axis"],r],!0)})}),S.registerSubTypeDefaulter(n+"Axis",y.curry(o,n))}R.exports=a},noeP:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("UOVi");y.registerAction("dataZoom",function(m,g){var f=S.createLinkedNodesFinder(p.bind(g.eachComponent,g,"dataZoom"),S.eachAxisDim,function(c,a){return c.get(a.axisIndex)}),d=[];g.eachComponent({mainType:"dataZoom",query:m},function(c,a){d.push.apply(d,f(c).nodes)}),p.each(d,function(c,a){c.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},"o/2+":function(R,N,t){"use strict";var y=t("q1tI"),p=t.n(y),S=Object(y.createContext)({});N.a=S},o40c:function(R,N,t){var y=t("IwbS"),p=t("OS9S"),S=t("loD1"),m=t("aKvl"),g=y.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(a,n){var i=n.segs,o=n.curveness;if(n.polyline)for(var r=0;r<i.length;){var l=i[r++];if(l>0){a.moveTo(i[r++],i[r++]);for(var e=1;e<l;e++)a.lineTo(i[r++],i[r++])}}else for(var r=0;r<i.length;){var s=i[r++],u=i[r++],h=i[r++],A=i[r++];if(a.moveTo(s,u),o>0){var v=(s+h)/2-(u-A)*o,w=(u+A)/2-(h-s)*o;a.quadraticCurveTo(v,w,h,A)}else a.lineTo(h,A)}},findDataIndex:function(a,n){var i=this.shape,o=i.segs,r=i.curveness;if(i.polyline)for(var l=0,e=0;e<o.length;){var s=o[e++];if(s>0)for(var u=o[e++],h=o[e++],A=1;A<s;A++){var v=o[e++],w=o[e++];if(S.containStroke(u,h,v,w))return l}l++}else for(var l=0,e=0;e<o.length;){var u=o[e++],h=o[e++],v=o[e++],w=o[e++];if(r>0){var b=(u+v)/2-(h-w)*r,E=(h+w)/2-(v-u)*r;if(m.containStroke(u,h,b,E,v,w))return l}else if(S.containStroke(u,h,v,w))return l;l++}return-1}});function f(){this.group=new y.Group}var d=f.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(a){this.group.removeAll();var n=new g({rectHover:!0,cursor:"default"});n.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(n,a),this.group.add(n),this._incremental=null},d.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>5e5?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(a,n){var i=new g;i.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(i,n,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=a.start,this.group.add(i))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._setCommon=function(a,n,i){var o=n.hostModel;a.setShape({polyline:o.get("polyline"),curveness:o.get("lineStyle.curveness")}),a.useStyle(o.getModel("lineStyle").getLineStyle()),a.style.strokeNoScale=!0;var r=n.getVisual("color");r&&a.setStyle("stroke",r),a.setStyle("fill"),i||(a.seriesIndex=o.seriesIndex,a.on("mousemove",function(l){a.dataIndex=null;var e=a.findDataIndex(l.offsetX,l.offsetY);e>0&&(a.dataIndex=e+a.__startIndex)}))},d._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var c=f;R.exports=c},oBaM:function(R,N,t){var y=t("T4UG"),p=t("5GtS"),S=t("bYtY"),m=t("7aKB"),g=m.encodeHTML,f=t("xKMd"),d=y.extend({type:"series.radar",dependencies:["radar"],init:function(a){d.superApply(this,"init",arguments),this.legendVisualProvider=new f(S.bind(this.getData,this),S.bind(this.getRawData,this))},getInitialData:function(a,n){return p(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(a){var n=this.getData(),i=this.coordinateSystem,o=i.getIndicatorAxes(),r=this.getData().getName(a);return g(r===""?this.name:r)+"<br/>"+S.map(o,function(l,e){var s=n.get(n.mapDimension(l.dim),a);return g(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(a){if(a!=null){for(var n=this.getData(),i=this.coordinateSystem,o=n.getValues(S.map(i.dimensions,function(s){return n.mapDimension(s)}),a,!0),r=0,l=o.length;r<l;r++)if(!isNaN(o[r])){var e=i.getIndicatorAxes();return i.coordToPoint(e[r].dataToCoord(o[r]),r)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=d;R.exports=c},oE7X:function(R,N,t){var y=t("bLfw");y.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(R,N,t){},oVpE:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("mFDi"),m=t("6GrX"),g=m.calculateTextPosition,f=p.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,A=u.cy,v=u.width/2,w=u.height/2;s.moveTo(h,A-w),s.lineTo(h+v,A+w),s.lineTo(h-v,A+w),s.closePath()}}),d=p.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,A=u.cy,v=u.width/2,w=u.height/2;s.moveTo(h,A-w),s.lineTo(h+v,A),s.lineTo(h,A+w),s.lineTo(h-v,A),s.closePath()}}),c=p.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.x,A=u.y,v=u.width/5*3,w=Math.max(v,u.height),b=v/2,E=b*b/(w-b),T=A-w+b+E,_=Math.asin(E/b),x=Math.cos(_)*b,C=Math.sin(_),I=Math.cos(_),L=b*.6,F=b*.7;s.moveTo(h-x,T+E),s.arc(h,T,b,Math.PI-_,Math.PI*2+_),s.bezierCurveTo(h+x-C*L,T+E+I*L,h,A-F,h,A),s.bezierCurveTo(h,A-F,h-x+C*L,T+E+I*L,h-x,T+E),s.closePath()}}),a=p.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.height,A=u.width,v=u.x,w=u.y,b=A/3*2;s.moveTo(v,w),s.lineTo(v+b,w+h),s.lineTo(v,w+h/4*3),s.lineTo(v-b,w+h),s.lineTo(v,w),s.closePath()}}),n={line:p.Line,rect:p.Rect,roundRect:p.Rect,square:p.Rect,circle:p.Circle,diamond:d,pin:c,arrow:a,triangle:f},i={line:function(s,u,h,A,v){v.x1=s,v.y1=u+A/2,v.x2=s+h,v.y2=u+A/2},rect:function(s,u,h,A,v){v.x=s,v.y=u,v.width=h,v.height=A},roundRect:function(s,u,h,A,v){v.x=s,v.y=u,v.width=h,v.height=A,v.r=Math.min(h,A)/4},square:function(s,u,h,A,v){var w=Math.min(h,A);v.x=s,v.y=u,v.width=w,v.height=w},circle:function(s,u,h,A,v){v.cx=s+h/2,v.cy=u+A/2,v.r=Math.min(h,A)/2},diamond:function(s,u,h,A,v){v.cx=s+h/2,v.cy=u+A/2,v.width=h,v.height=A},pin:function(s,u,h,A,v){v.x=s+h/2,v.y=u+A/2,v.width=h,v.height=A},arrow:function(s,u,h,A,v){v.x=s+h/2,v.y=u+A/2,v.width=h,v.height=A},triangle:function(s,u,h,A,v){v.cx=s+h/2,v.cy=u+A/2,v.width=h,v.height=A}},o={};y.each(n,function(s,u){o[u]=new s});var r=p.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,h){var A=g(s,u,h),v=this.shape;return v&&v.symbolType==="pin"&&u.textPosition==="inside"&&(A.y=h.y+h.height*.4),A},buildPath:function(s,u,h){var A=u.symbolType;if(A!=="none"){var v=o[A];v||(A="rect",v=o[A]),i[A](u.x,u.y,u.width,u.height,v.shape),v.buildPath(s,v.shape,h)}}});function l(s,u){if(this.type!=="image"){var h=this.style,A=this.shape;A&&A.symbolType==="line"?h.stroke=s:this.__isEmptyBrush?(h.stroke=s,h.fill=u||"#fff"):(h.fill&&(h.fill=s),h.stroke&&(h.stroke=s)),this.dirty(!1)}}function e(s,u,h,A,v,w,b){var E=s.indexOf("empty")===0;E&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=p.makeImage(s.slice(8),new S(u,h,A,v),b?"center":"cover"):s.indexOf("path://")===0?T=p.makePath(s.slice(7),{},new S(u,h,A,v),b?"center":"cover"):T=new r({shape:{symbolType:s,x:u,y:h,width:A,height:v}}),T.__isEmptyBrush=E,T.setColor=l,T.setColor(w),T}N.createSymbol=e},oY9F:function(R,N,t){var y=t("OlYY"),p=y.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});R.exports=p},osHv:function(R,N,t){(function(y){y(t("VrN/"))})(function(y){"use strict";var p=y.Pos;function S(u,h){return u.line-h.line||u.ch-h.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",g=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+m+"]["+g+"]*)","g");function d(u,h,A,v){this.line=h,this.ch=A,this.cm=u,this.text=u.getLine(h),this.min=v?Math.max(v.from,u.firstLine()):u.firstLine(),this.max=v?Math.min(v.to-1,u.lastLine()):u.lastLine()}function c(u,h){var A=u.cm.getTokenTypeAt(p(u.line,h));return A&&/\btag\b/.test(A)}function a(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function n(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function i(u){for(;;){var h=u.text.indexOf(">",u.ch);if(h==-1){if(a(u))continue;return}if(!c(u,h+1)){u.ch=h+1;continue}var A=u.text.lastIndexOf("/",h),v=A>-1&&!/\S/.test(u.text.slice(A+1,h));return u.ch=h+1,v?"selfClose":"regular"}}function o(u){for(;;){var h=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(h==-1){if(n(u))continue;return}if(!c(u,h+1)){u.ch=h;continue}f.lastIndex=h,u.ch=h;var A=f.exec(u.text);if(A&&A.index==h)return A}}function r(u){for(;;){f.lastIndex=u.ch;var h=f.exec(u.text);if(!h){if(a(u))continue;return}if(!c(u,h.index+1)){u.ch=h.index+1;continue}return u.ch=h.index+h[0].length,h}}function l(u){for(;;){var h=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(h==-1){if(n(u))continue;return}if(!c(u,h+1)){u.ch=h;continue}var A=u.text.lastIndexOf("/",h),v=A>-1&&!/\S/.test(u.text.slice(A+1,h));return u.ch=h+1,v?"selfClose":"regular"}}function e(u,h){for(var A=[];;){var v=r(u),w,b=u.line,E=u.ch-(v?v[0].length:0);if(!v||!(w=i(u)))return;if(w=="selfClose")continue;if(v[1]){for(var T=A.length-1;T>=0;--T)if(A[T]==v[2]){A.length=T;break}if(T<0&&(!h||h==v[2]))return{tag:v[2],from:p(b,E),to:p(u.line,u.ch)}}else A.push(v[2])}}function s(u,h){for(var A=[];;){var v=l(u);if(!v)return;if(v=="selfClose"){o(u);continue}var w=u.line,b=u.ch,E=o(u);if(!E)return;if(E[1])A.push(E[2]);else{for(var T=A.length-1;T>=0;--T)if(A[T]==E[2]){A.length=T;break}if(T<0&&(!h||h==E[2]))return{tag:E[2],from:p(u.line,u.ch),to:p(w,b)}}}}y.registerHelper("fold","xml",function(u,h){for(var A=new d(u,h.line,0);;){var v=r(A);if(!v||A.line!=h.line)return;var w=i(A);if(!w)return;if(!v[1]&&w!="selfClose"){var b=p(A.line,A.ch),E=e(A,v[2]);return E&&S(E.from,b)>0?{from:b,to:E.from}:null}}}),y.findMatchingTag=function(u,h,A){var v=new d(u,h.line,h.ch,A);if(v.text.indexOf(">")==-1&&v.text.indexOf("<")==-1)return;var w=i(v),b=w&&p(v.line,v.ch),E=w&&o(v);if(!w||!E||S(v,h)>0)return;var T={from:p(v.line,v.ch),to:b,tag:E[2]};return w=="selfClose"?{open:T,close:null,at:"open"}:E[1]?{open:s(v,E[2]),close:T,at:"close"}:(v=new d(u,b.line,b.ch,A),{open:T,close:e(v,E[2]),at:"open"})},y.findEnclosingTag=function(u,h,A,v){for(var w=new d(u,h.line,h.ch,A);;){var b=s(w,v);if(!b)break;var E=new d(u,h.line,h.ch,A),T=e(E,b.tag);if(T)return{open:b,close:T}}},y.scanForClosingTag=function(u,h,A,v){var w=new d(u,h.line,h.ch,v?{from:0,to:v}:null);return e(w,A)}})},ozfa:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("KxFI"),m=t.n(S)},"p+If":function(R,N,t){var y=t("ProS");t("cpOr"),t("rkZ5");var p=t("ZYIC"),S=t("7ph2");y.registerLayout(p),y.registerVisual(S)},"p/La":function(R,N){var t=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function y(p,S){p==="china"&&S.name==="\u53F0\u6E7E"&&S.geometries.push({type:"polygon",exterior:t[0]})}R.exports=y},p1MT:function(R,N,t){var y=t("Hw7h"),p=t("IwbS"),S=t("6Ic6"),m=t("OELB"),g=m.parsePercent,f=m.round,d=m.linearMap;function c(r,l){var e=r.get("center"),s=l.getWidth(),u=l.getHeight(),h=Math.min(s,u),A=g(e[0],l.getWidth()),v=g(e[1],l.getHeight()),w=g(r.get("radius"),h/2);return{cx:A,cy:v,r:w}}function a(r,l){return l&&(typeof l=="string"?r=l.replace("{value}",r!=null?r:""):typeof l=="function"&&(r=l(r))),r}var n=Math.PI*2,i=S.extend({type:"gauge",render:function(r,l,e){this.group.removeAll();var s=r.get("axisLine.lineStyle.color"),u=c(r,e);this._renderMain(r,l,e,s,u)},dispose:function(){},_renderMain:function(r,l,e,s,u){for(var h=this.group,A=r.getModel("axisLine"),v=A.getModel("lineStyle"),w=r.get("clockwise"),b=-r.get("startAngle")/180*Math.PI,E=-r.get("endAngle")/180*Math.PI,T=(E-b)%n,_=b,x=v.get("width"),C=A.get("show"),I=0;C&&I<s.length;I++){var L=Math.min(Math.max(s[I][0],0),1),E=b+T*L,F=new p.Sector({shape:{startAngle:_,endAngle:E,cx:u.cx,cy:u.cy,clockwise:w,r0:u.r-x,r:u.r},silent:!0});F.setStyle({fill:s[I][1]}),F.setStyle(v.getLineStyle(["color","borderWidth","borderColor"])),h.add(F),_=E}var B=function(H){if(H<=0)return s[0][1];for(var z=0;z<s.length;z++)if(s[z][0]>=H&&(z===0?0:s[z-1][0])<H)return s[z][1];return s[z-1][1]};if(!w){var P=b;b=E,E=P}this._renderTicks(r,l,e,B,u,b,E,w),this._renderPointer(r,l,e,B,u,b,E,w),this._renderTitle(r,l,e,B,u),this._renderDetail(r,l,e,B,u)},_renderTicks:function(r,l,e,s,u,h,A,v){for(var w=this.group,b=u.cx,E=u.cy,T=u.r,_=+r.get("min"),x=+r.get("max"),C=r.getModel("splitLine"),I=r.getModel("axisTick"),L=r.getModel("axisLabel"),F=r.get("splitNumber"),B=I.get("splitNumber"),P=g(C.get("length"),T),H=g(I.get("length"),T),z=h,M=(A-h)/F,U=M/B,k=C.getModel("lineStyle").getLineStyle(),K=I.getModel("lineStyle").getLineStyle(),j=0;j<=F;j++){var V=Math.cos(z),W=Math.sin(z);if(C.get("show")){var X=new p.Line({shape:{x1:V*T+b,y1:W*T+E,x2:V*(T-P)+b,y2:W*(T-P)+E},style:k,silent:!0});k.stroke==="auto"&&X.setStyle({stroke:s(j/F)}),w.add(X)}if(L.get("show")){var J=a(f(j/F*(x-_)+_),L.get("formatter")),de=L.get("distance"),G=s(j/F);w.add(new p.Text({style:p.setTextStyle({},L,{text:J,x:V*(T-P-de)+b,y:W*(T-P-de)+E,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:G}),silent:!0}))}if(I.get("show")&&j!==F){for(var ae=0;ae<=B;ae++){var V=Math.cos(z),W=Math.sin(z),Ae=new p.Line({shape:{x1:V*T+b,y1:W*T+E,x2:V*(T-H)+b,y2:W*(T-H)+E},silent:!0,style:K});K.stroke==="auto"&&Ae.setStyle({stroke:s((j+ae/B)/F)}),w.add(Ae),z+=U}z-=U}else z+=M}},_renderPointer:function(r,l,e,s,u,h,A,v){var w=this.group,b=this._data;if(!r.get("pointer.show")){b&&b.eachItemGraphicEl(function(C){w.remove(C)});return}var E=[+r.get("min"),+r.get("max")],T=[h,A],_=r.getData(),x=_.mapDimension("value");_.diff(b).add(function(C){var I=new y({shape:{angle:h}});p.initProps(I,{shape:{angle:d(_.get(x,C),E,T,!0)}},r),w.add(I),_.setItemGraphicEl(C,I)}).update(function(C,I){var L=b.getItemGraphicEl(I);p.updateProps(L,{shape:{angle:d(_.get(x,C),E,T,!0)}},r),w.add(L),_.setItemGraphicEl(C,L)}).remove(function(C){var I=b.getItemGraphicEl(C);w.remove(I)}).execute(),_.eachItemGraphicEl(function(C,I){var L=_.getItemModel(I),F=L.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:g(F.get("width"),u.r),r:g(F.get("length"),u.r)}),C.useStyle(L.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(d(_.get(x,I),E,[0,1],!0))),p.setHoverStyle(C,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=_},_renderTitle:function(r,l,e,s,u){var h=r.getData(),A=h.mapDimension("value"),v=r.getModel("title");if(v.get("show")){var w=v.get("offsetCenter"),b=u.cx+g(w[0],u.r),E=u.cy+g(w[1],u.r),T=+r.get("min"),_=+r.get("max"),x=r.getData().get(A,0),C=s(d(x,[T,_],[0,1],!0));this.group.add(new p.Text({silent:!0,style:p.setTextStyle({},v,{x:b,y:E,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(r,l,e,s,u){var h=r.getModel("detail"),A=+r.get("min"),v=+r.get("max");if(h.get("show")){var w=h.get("offsetCenter"),b=u.cx+g(w[0],u.r),E=u.cy+g(w[1],u.r),T=g(h.get("width"),u.r),_=g(h.get("height"),u.r),x=r.getData(),C=x.get(x.mapDimension("value"),0),I=s(d(C,[A,v],[0,1],!0));this.group.add(new p.Text({silent:!0,style:p.setTextStyle({},h,{x:b,y:E,text:a(C,h.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(_)?null:_,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),o=i;R.exports=o},"p77/":function(R,N,t){},pC0b:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("xzDV"),m=t.n(S),g=t("5Dmo")},"pED+":function(R,N,t){},pG52:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("WXVj"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},pLH3:function(R,N,t){var y=t("ProS");t("ALo7"),t("TWL2");var p=t("mOdp"),S=t("JLnu"),m=t("0/Rx");y.registerVisual(p("funnel")),y.registerLayout(S),y.registerProcessor(m("funnel"))},pP6R:function(R,N,t){var y=t("ProS"),p="\0_ec_interaction_mutex";function S(d,c,a){var n=f(d);n[c]=a}function m(d,c,a){var n=f(d),i=n[c];i===a&&(n[c]=null)}function g(d,c){return!!f(d)[c]}function f(d){return d[p]||(d[p]={})}y.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),N.take=S,N.release=m,N.isTaken=g},pmaE:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS"),m=t("DEFe"),g="__seriesMapHighDown",f="__seriesMapCallKey",d=y.extendChartView({type:"map",render:function(n,i,o,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var l=this.group;if(l.removeAll(),n.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===n.id){var e=this._mapDraw;e&&l.add(e.group)}else if(n.needsDrawMap){var e=this._mapDraw||new m(o,!0);l.add(e.group),e.draw(n,i,o,this,r),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&i.getComponent("legend")&&this._renderSymbols(n,i,o)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(n,i,o){var r=n.originalData,l=this.group;r.each(r.mapDimension("value"),function(e,s){if(isNaN(e))return;var u=r.getItemLayout(s);if(!u||!u.point)return;var h=u.point,A=u.offset,v=new S.Circle({style:{fill:n.getData().getVisual("color")},shape:{cx:h[0]+A*9,cy:h[1],r:3},silent:!0,z2:8+(A?0:S.Z2_EMPHASIS_LIFT+1)});if(!A){var w=n.mainSeries.getData(),b=r.getName(s),E=w.indexOfName(b),T=r.getItemModel(s),_=T.getModel("label"),x=T.getModel("emphasis.label"),C=w.getItemGraphicEl(E),I=p.retrieve2(n.getFormattedLabel(E,"normal"),b),L=p.retrieve2(n.getFormattedLabel(E,"emphasis"),I),F=C[g],B=Math.random();if(!F){F=C[g]={};var P=p.curry(c,!0),H=p.curry(c,!1);C.on("mouseover",P).on("mouseout",H).on("emphasis",P).on("normal",H)}C[f]=B,p.extend(F,{recordVersion:B,circle:v,labelModel:_,hoverLabelModel:x,emphasisText:L,normalText:I}),a(F,!1)}l.add(v)})}});function c(n){var i=this[g];i&&i.recordVersion===this[f]&&a(i,n)}function a(n,i){var o=n.circle,r=n.labelModel,l=n.hoverLabelModel,e=n.emphasisText,s=n.normalText;i?(o.style.extendFrom(S.setTextStyle({},l,{text:l.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),o.__mapOriginalZ2=o.z2,o.z2+=S.Z2_EMPHASIS_LIFT):(S.setTextStyle(o.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),o.dirty(!1),o.__mapOriginalZ2!=null&&(o.z2=o.__mapOriginalZ2,o.__mapOriginalZ2=null))}R.exports=d},pwpV:function(R,N,t){},pzxd:function(R,N,t){var y=t("bYtY"),p=y.retrieve2,S=y.retrieve3,m=y.each,g=y.normalizeCssArray,f=y.isString,d=y.isObject,c=t("6GrX"),a=t("VpOo"),n=t("Xnb7"),i=t("fW2E"),o=t("gut8"),r=o.ContextCachedBy,l=o.WILL_BE_RESTORED,e=c.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},h=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],A={},v={};function w(j){return b(j),m(j.rich,b),j}function b(j){if(j){j.font=c.makeFont(j);var V=j.textAlign;V==="middle"&&(V="center"),j.textAlign=V==null||s[V]?V:"left";var W=j.textVerticalAlign||j.textBaseline;W==="center"&&(W="middle"),j.textVerticalAlign=W==null||u[W]?W:"top";var X=j.textPadding;X&&(j.textPadding=g(j.textPadding))}}function E(j,V,W,X,J,de){X.rich?_(j,V,W,X,J,de):T(j,V,W,X,J,de)}function T(j,V,W,X,J,de){"use strict";var G=L(X),ae,Ae=!1,me=V.__attrCachedBy===r.PLAIN_TEXT;de!==l?(de&&(ae=de.style,Ae=!G&&me&&ae),V.__attrCachedBy=G?r.NONE:r.PLAIN_TEXT):me&&(V.__attrCachedBy=r.NONE);var Me=X.font||e;(!Ae||Me!==(ae.font||e))&&(V.font=Me);var oe=j.__computedFont;j.__styleFont!==Me&&(j.__styleFont=Me,oe=j.__computedFont=V.font);var _e=X.textPadding,ee=X.textLineHeight,ne=j.__textCotentBlock;(!ne||j.__dirtyText)&&(ne=j.__textCotentBlock=c.parsePlainText(W,oe,_e,ee,X.truncate));var Ge=ne.outerHeight,Ee=ne.lines,ue=ne.lineHeight,re=P(v,j,X,J),ce=re.baseX,ke=re.baseY,Te=re.textAlign||"left",Ke=re.textVerticalAlign;C(V,X,J,ce,ke);var Ie=c.adjustTextY(ke,Ge,Ke),se=ce,ye=Ie;if(G||_e){var xe=c.getWidth(W,oe),Ye=xe;_e&&(Ye+=_e[1]+_e[3]);var pt=c.adjustTextX(ce,Ye,Te);G&&F(j,V,X,pt,Ie,Ye,Ge),_e&&(se=k(ce,Te,_e),ye+=_e[0])}V.textAlign=Te,V.textBaseline="middle",V.globalAlpha=X.opacity||1;for(var nt=0;nt<h.length;nt++){var Oe=h[nt],vt=Oe[0],Ze=Oe[1],wt=X[vt];(!Ae||wt!==ae[vt])&&(V[Ze]=i(V,Ze,wt||Oe[2]))}ye+=ue/2;var xt=X.textStrokeWidth,Ot=Ae?ae.textStrokeWidth:null,Mt=!Ae||xt!==Ot,Gt=!Ae||Mt||X.textStroke!==ae.textStroke,$e=z(X.textStroke,xt),pe=M(X.textFill);if($e&&(Mt&&(V.lineWidth=xt),Gt&&(V.strokeStyle=$e)),pe&&((!Ae||X.textFill!==ae.textFill)&&(V.fillStyle=pe)),Ee.length===1)$e&&V.strokeText(Ee[0],se,ye),pe&&V.fillText(Ee[0],se,ye);else for(var nt=0;nt<Ee.length;nt++)$e&&V.strokeText(Ee[nt],se,ye),pe&&V.fillText(Ee[nt],se,ye),ye+=ue}function _(j,V,W,X,J,de){de!==l&&(V.__attrCachedBy=r.NONE);var G=j.__textCotentBlock;(!G||j.__dirtyText)&&(G=j.__textCotentBlock=c.parseRichText(W,X)),x(j,V,G,X,J)}function x(j,V,W,X,J){var de=W.width,G=W.outerWidth,ae=W.outerHeight,Ae=X.textPadding,me=P(v,j,X,J),Me=me.baseX,oe=me.baseY,_e=me.textAlign,ee=me.textVerticalAlign;C(V,X,J,Me,oe);var ne=c.adjustTextX(Me,G,_e),Ge=c.adjustTextY(oe,ae,ee),Ee=ne,ue=Ge;Ae&&(Ee+=Ae[3],ue+=Ae[0]);var re=Ee+de;L(X)&&F(j,V,X,ne,Ge,G,ae);for(var ce=0;ce<W.lines.length;ce++){for(var ke=W.lines[ce],Te=ke.tokens,Ke=Te.length,Ie=ke.lineHeight,se=ke.width,ye=0,xe=Ee,Ye=re,pt=Ke-1,nt;ye<Ke&&(nt=Te[ye],!nt.textAlign||nt.textAlign==="left");)I(j,V,nt,X,Ie,ue,xe,"left"),se-=nt.width,xe+=nt.width,ye++;for(;pt>=0&&(nt=Te[pt],nt.textAlign==="right");)I(j,V,nt,X,Ie,ue,Ye,"right"),se-=nt.width,Ye-=nt.width,pt--;for(xe+=(de-(xe-Ee)-(re-Ye)-se)/2;ye<=pt;)nt=Te[ye],I(j,V,nt,X,Ie,ue,xe+nt.width/2,"center"),xe+=nt.width,ye++;ue+=Ie}}function C(j,V,W,X,J){if(W&&V.textRotation){var de=V.textOrigin;de==="center"?(X=W.width/2+W.x,J=W.height/2+W.y):de&&(X=de[0]+W.x,J=de[1]+W.y),j.translate(X,J),j.rotate(-V.textRotation),j.translate(-X,-J)}}function I(j,V,W,X,J,de,G,ae){var Ae=X.rich[W.styleName]||{};Ae.text=W.text;var me=W.textVerticalAlign,Me=de+J/2;me==="top"?Me=de+W.height/2:me==="bottom"&&(Me=de+J-W.height/2),!W.isLineHolder&&L(Ae)&&F(j,V,Ae,ae==="right"?G-W.width:ae==="center"?G-W.width/2:G,Me-W.height/2,W.width,W.height);var oe=W.textPadding;oe&&(G=k(G,ae,oe),Me-=W.height/2-oe[2]-W.textHeight/2),H(V,"shadowBlur",S(Ae.textShadowBlur,X.textShadowBlur,0)),H(V,"shadowColor",Ae.textShadowColor||X.textShadowColor||"transparent"),H(V,"shadowOffsetX",S(Ae.textShadowOffsetX,X.textShadowOffsetX,0)),H(V,"shadowOffsetY",S(Ae.textShadowOffsetY,X.textShadowOffsetY,0)),H(V,"textAlign",ae),H(V,"textBaseline","middle"),H(V,"font",W.font||e);var _e=z(Ae.textStroke||X.textStroke,ne),ee=M(Ae.textFill||X.textFill),ne=p(Ae.textStrokeWidth,X.textStrokeWidth);_e&&(H(V,"lineWidth",ne),H(V,"strokeStyle",_e),V.strokeText(W.text,G,Me)),ee&&(H(V,"fillStyle",ee),V.fillText(W.text,G,Me))}function L(j){return!!(j.textBackgroundColor||j.textBorderWidth&&j.textBorderColor)}function F(j,V,W,X,J,de,G){var ae=W.textBackgroundColor,Ae=W.textBorderWidth,me=W.textBorderColor,Me=f(ae);if(H(V,"shadowBlur",W.textBoxShadowBlur||0),H(V,"shadowColor",W.textBoxShadowColor||"transparent"),H(V,"shadowOffsetX",W.textBoxShadowOffsetX||0),H(V,"shadowOffsetY",W.textBoxShadowOffsetY||0),Me||Ae&&me){V.beginPath();var oe=W.textBorderRadius;oe?a.buildPath(V,{x:X,y:J,width:de,height:G,r:oe}):V.rect(X,J,de,G),V.closePath()}if(Me)if(H(V,"fillStyle",ae),W.fillOpacity!=null){var _e=V.globalAlpha;V.globalAlpha=W.fillOpacity*W.opacity,V.fill(),V.globalAlpha=_e}else V.fill();else if(d(ae)){var ee=ae.image;ee=n.createOrUpdateImage(ee,null,j,B,ae),ee&&n.isImageReady(ee)&&V.drawImage(ee,X,J,de,G)}if(Ae&&me)if(H(V,"lineWidth",Ae),H(V,"strokeStyle",me),W.strokeOpacity!=null){var _e=V.globalAlpha;V.globalAlpha=W.strokeOpacity*W.opacity,V.stroke(),V.globalAlpha=_e}else V.stroke()}function B(j,V){V.image=j}function P(j,V,W,X){var J=W.x||0,de=W.y||0,G=W.textAlign,ae=W.textVerticalAlign;if(X){var Ae=W.textPosition;if(Ae instanceof Array)J=X.x+U(Ae[0],X.width),de=X.y+U(Ae[1],X.height);else{var me=V&&V.calculateTextPosition?V.calculateTextPosition(A,W,X):c.calculateTextPosition(A,W,X);J=me.x,de=me.y,G=G||me.textAlign,ae=ae||me.textVerticalAlign}var Me=W.textOffset;Me&&(J+=Me[0],de+=Me[1])}return j=j||{},j.baseX=J,j.baseY=de,j.textAlign=G,j.textVerticalAlign=ae,j}function H(j,V,W){return j[V]=i(j,V,W),j[V]}function z(j,V){return j==null||V<=0||j==="transparent"||j==="none"?null:j.image||j.colorStops?"#000":j}function M(j){return j==null||j==="none"?null:j.image||j.colorStops?"#000":j}function U(j,V){return typeof j=="string"?j.lastIndexOf("%")>=0?parseFloat(j)/100*V:parseFloat(j):j}function k(j,V,W){return V==="right"?j-W[1]:V==="center"?j+W[3]/2-W[1]/2:j+W[3]}function K(j,V){return j!=null&&(j||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}N.normalizeTextStyle=w,N.renderText=E,N.getBoxPosition=P,N.getStroke=z,N.getFill=M,N.parsePercent=U,N.needDrawText=K},"q/+u":function(R,N,t){var y=t("ProS"),p=t("9wZj"),S=t("yWXo"),m=t("h8O9");y.extendChartView({type:"scatter",render:function(g,f,d){var c=g.getData(),a=this._updateSymbolDraw(c,g);a.updateData(c,{clipShape:this._getClipShape(g)}),this._finished=!0},incrementalPrepareRender:function(g,f,d){var c=g.getData(),a=this._updateSymbolDraw(c,g);a.incrementalPrepareUpdate(c),this._finished=!1},incrementalRender:function(g,f,d){this._symbolDraw.incrementalUpdate(g,f.getData(),{clipShape:this._getClipShape(f)}),this._finished=g.end===f.getData().count()},updateTransform:function(g,f,d){var c=g.getData();if(this.group.dirty(),!this._finished||c.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=m().reset(g);a.progress&&a.progress({start:0,end:c.count()},c),this._symbolDraw.updateLayout(c)},_getClipShape:function(g){var f=g.coordinateSystem,d=f&&f.getArea&&f.getArea();return g.get("clip",!0)?d:null},_updateSymbolDraw:function(g,f){var d=this._symbolDraw,c=f.pipelineContext,a=c.large;return(!d||a!==this._isLargeDraw)&&(d&&d.remove(),d=this._symbolDraw=a?new S:new p,this._isLargeDraw=a,this.group.removeAll()),this.group.add(d.group),d},remove:function(g,f){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(R,N){var t=["lineStyle","normal","opacity"],y={seriesType:"parallel",reset:function(p,S,m){var g=p.getModel("itemStyle"),f=p.getModel("lineStyle"),d=S.get("color"),c=f.get("color")||g.get("color")||d[p.seriesIndex%d.length],a=p.get("inactiveOpacity"),n=p.get("activeOpacity"),i=p.getModel("lineStyle").getLineStyle(),o=p.coordinateSystem,r=p.getData(),l={normal:i.opacity,active:n,inactive:a};r.setVisual("color",c);function e(s,u){o.eachActiveState(u,function(h,A){var v=l[h];if(h==="normal"&&u.hasItemOption){var w=u.getItemModel(A).get(t,!0);w!=null&&(v=w)}u.setItemVisual(A,"opacity",v)},s.start,s.end)}return{progress:e}}};R.exports=y},q4HE: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){for(var b=A.lastIndex=0;A.test(w);)++b;return b}R.exports=v},q7KB:function(R,N,t){},qH13:function(R,N,t){var y=t("ItGF"),p=t("QBsz"),S=p.applyTransform,m=t("mFDi"),g=t("Qe9p"),f=t("6GrX"),d=t("pzxd"),c=t("ni6a"),a=t("Gev7"),n=t("Dagg"),i=t("dqUG"),o=t("y+Vt"),r=t("IMiH"),l=t("QuXc"),e=t("06Qe"),s=r.CMD,u=Math.round,h=Math.sqrt,A=Math.abs,v=Math.cos,w=Math.sin,b=Math.max;if(!y.canvasSupported){var E=",",T="progid:DXImageTransform.Microsoft",_=21600,x=_/2,C=1e5,I=1e3,L=function(ke){ke.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ke.coordsize=_+","+_,ke.coordorigin="0,0"},F=function(ke){return String(ke).replace(/&/g,"&").replace(/"/g,""")},B=function(ke,Te,Ke){return"rgb("+[ke,Te,Ke].join(",")+")"},P=function(ke,Te){Te&&ke&&Te.parentNode!==ke&&ke.appendChild(Te)},H=function(ke,Te){Te&&ke&&Te.parentNode===ke&&ke.removeChild(Te)},z=function(ke,Te,Ke){return(parseFloat(ke)||0)*C+(parseFloat(Te)||0)*I+Ke},M=d.parsePercent,U=function(ke,Te,Ke){var Ie=g.parse(Te);Ke=+Ke,isNaN(Ke)&&(Ke=1),Ie&&(ke.color=B(Ie[0],Ie[1],Ie[2]),ke.opacity=Ke*Ie[3])},k=function(ke){var Te=g.parse(ke);return[B(Te[0],Te[1],Te[2]),Te[3]]},K=function(ke,Te,Ke){var Ie=Te.fill;if(Ie!=null)if(Ie instanceof l){var se,ye=0,xe=[0,0],Ye=0,pt=1,nt=Ke.getBoundingRect(),Oe=nt.width,vt=nt.height;if(Ie.type==="linear"){se="gradient";var Ze=Ke.transform,wt=[Ie.x*Oe,Ie.y*vt],xt=[Ie.x2*Oe,Ie.y2*vt];Ze&&(S(wt,wt,Ze),S(xt,xt,Ze));var Ot=xt[0]-wt[0],Mt=xt[1]-wt[1];ye=Math.atan2(Ot,Mt)*180/Math.PI,ye<0&&(ye+=360),ye<1e-6&&(ye=0)}else{se="gradientradial";var wt=[Ie.x*Oe,Ie.y*vt],Ze=Ke.transform,Gt=Ke.scale,$e=Oe,pe=vt;xe=[(wt[0]-nt.x)/$e,(wt[1]-nt.y)/pe],Ze&&S(wt,wt,Ze),$e/=Gt[0]*_,pe/=Gt[1]*_;var q=b($e,pe);Ye=2*0/q,pt=2*Ie.r/q-Ye}var bt=Ie.colorStops.slice();bt.sort(function(Lt,ot){return Lt.offset-ot.offset});for(var qe=bt.length,le=[],Nt=[],tr=0;tr<qe;tr++){var lt=bt[tr],Wt=k(lt.color);Nt.push(lt.offset*pt+Ye+" "+Wt[0]),(tr===0||tr===qe-1)&&le.push(Wt)}if(qe>=2){var cr=le[0][0],Vr=le[1][0],ur=le[0][1]*Te.opacity,ir=le[1][1]*Te.opacity;ke.type=se,ke.method="none",ke.focus="100%",ke.angle=ye,ke.color=cr,ke.color2=Vr,ke.colors=Nt.join(","),ke.opacity=ir,ke.opacity2=ur}se==="radial"&&(ke.focusposition=xe.join(","))}else U(ke,Ie,Te.opacity)},j=function(ke,Te){Te.lineDash&&(ke.dashstyle=Te.lineDash.join(" ")),Te.stroke!=null&&!(Te.stroke instanceof l)&&U(ke,Te.stroke,Te.opacity)},V=function(ke,Te,Ke,Ie){var se=Te==="fill",ye=ke.getElementsByTagName(Te)[0];Ke[Te]!=null&&Ke[Te]!=="none"&&(se||!se&&Ke.lineWidth)?(ke[se?"filled":"stroked"]="true",Ke[Te]instanceof l&&H(ke,ye),ye||(ye=e.createNode(Te)),se?K(ye,Ke,Ie):j(ye,Ke),P(ke,ye)):(ke[se?"filled":"stroked"]="false",H(ke,ye))},W=[[],[],[]],X=function(ke,Te){var Ke=s.M,Ie=s.C,se=s.L,ye=s.A,xe=s.Q,Ye=[],pt,nt,Oe,vt,Ze,wt,xt=ke.data,Ot=ke.len();for(vt=0;vt<Ot;){Oe=xt[vt++],nt="",pt=0;switch(Oe){case Ke:nt=" m ",pt=1,Ze=xt[vt++],wt=xt[vt++],W[0][0]=Ze,W[0][1]=wt;break;case se:nt=" l ",pt=1,Ze=xt[vt++],wt=xt[vt++],W[0][0]=Ze,W[0][1]=wt;break;case xe:case Ie:nt=" c ",pt=3;var Mt=xt[vt++],Gt=xt[vt++],$e=xt[vt++],pe=xt[vt++],q,bt;Oe===xe?(q=$e,bt=pe,$e=($e+2*Mt)/3,pe=(pe+2*Gt)/3,Mt=(Ze+2*Mt)/3,Gt=(wt+2*Gt)/3):(q=xt[vt++],bt=xt[vt++]),W[0][0]=Mt,W[0][1]=Gt,W[1][0]=$e,W[1][1]=pe,W[2][0]=q,W[2][1]=bt,Ze=q,wt=bt;break;case ye:var qe=0,le=0,Nt=1,tr=1,lt=0;Te&&(qe=Te[4],le=Te[5],Nt=h(Te[0]*Te[0]+Te[1]*Te[1]),tr=h(Te[2]*Te[2]+Te[3]*Te[3]),lt=Math.atan2(-Te[1]/tr,Te[0]/Nt));var Wt=xt[vt++],cr=xt[vt++],Vr=xt[vt++],ur=xt[vt++],ir=xt[vt++]+lt,Lt=xt[vt++]+ir+lt;vt++;var ot=xt[vt++],Xe=Wt+v(ir)*Vr,$t=cr+w(ir)*ur,Mt=Wt+v(Lt)*Vr,Gt=cr+w(Lt)*ur,Sr=ot?" wa ":" at ";Math.abs(Xe-Mt)<1e-4&&(Math.abs(Lt-ir)>.01?ot&&(Xe+=270/_):Math.abs($t-cr)<1e-4?ot&&Xe<Wt||!ot&&Xe>Wt?Gt-=270/_:Gt+=270/_:ot&&$t<cr||!ot&&$t>cr?Mt+=270/_:Mt-=270/_),Ye.push(Sr,u(((Wt-Vr)*Nt+qe)*_-x),E,u(((cr-ur)*tr+le)*_-x),E,u(((Wt+Vr)*Nt+qe)*_-x),E,u(((cr+ur)*tr+le)*_-x),E,u((Xe*Nt+qe)*_-x),E,u(($t*tr+le)*_-x),E,u((Mt*Nt+qe)*_-x),E,u((Gt*tr+le)*_-x)),Ze=Mt,wt=Gt;break;case s.R:var vr=W[0],fr=W[1];vr[0]=xt[vt++],vr[1]=xt[vt++],fr[0]=vr[0]+xt[vt++],fr[1]=vr[1]+xt[vt++],Te&&(S(vr,vr,Te),S(fr,fr,Te)),vr[0]=u(vr[0]*_-x),fr[0]=u(fr[0]*_-x),vr[1]=u(vr[1]*_-x),fr[1]=u(fr[1]*_-x),Ye.push(" m ",vr[0],E,vr[1]," l ",fr[0],E,vr[1]," l ",fr[0],E,fr[1]," l ",vr[0],E,fr[1]);break;case s.Z:Ye.push(" x ")}if(pt>0){Ye.push(nt);for(var An=0;An<pt;An++){var Zr=W[An];Te&&S(Zr,Zr,Te),Ye.push(u(Zr[0]*_-x),E,u(Zr[1]*_-x),An<pt-1?E:"")}}}return Ye.join("")};o.prototype.brushVML=function(ce){var ke=this.style,Te=this._vmlEl;Te||(Te=e.createNode("shape"),L(Te),this._vmlEl=Te),V(Te,"fill",ke,this),V(Te,"stroke",ke,this);var Ke=this.transform,Ie=Ke!=null,se=Te.getElementsByTagName("stroke")[0];if(se){var ye=ke.lineWidth;if(Ie&&!ke.strokeNoScale){var xe=Ke[0]*Ke[3]-Ke[1]*Ke[2];ye*=h(A(xe))}se.weight=ye+"px"}var Ye=this.path||(this.path=new r);this.__dirtyPath&&(Ye.beginPath(),Ye.subPixelOptimize=!1,this.buildPath(Ye,this.shape),Ye.toStatic(),this.__dirtyPath=!1),Te.path=X(Ye,this.transform),Te.style.zIndex=z(this.zlevel,this.z,this.z2),P(ce,Te),ke.text!=null?this.drawRectText(ce,this.getBoundingRect()):this.removeRectText(ce)},o.prototype.onRemove=function(ce){H(ce,this._vmlEl),this.removeRectText(ce)},o.prototype.onAdd=function(ce){P(ce,this._vmlEl),this.appendRectText(ce)};var J=function(ke){return typeof ke=="object"&&ke.tagName&&ke.tagName.toUpperCase()==="IMG"};n.prototype.brushVML=function(ce){var ke=this.style,Te=ke.image,Ke,Ie;if(J(Te)){var se=Te.src;if(se===this._imageSrc)Ke=this._imageWidth,Ie=this._imageHeight;else{var ye=Te.runtimeStyle,xe=ye.width,Ye=ye.height;ye.width="auto",ye.height="auto",Ke=Te.width,Ie=Te.height,ye.width=xe,ye.height=Ye,this._imageSrc=se,this._imageWidth=Ke,this._imageHeight=Ie}Te=se}else Te===this._imageSrc&&(Ke=this._imageWidth,Ie=this._imageHeight);if(!Te)return;var pt=ke.x||0,nt=ke.y||0,Oe=ke.width,vt=ke.height,Ze=ke.sWidth,wt=ke.sHeight,xt=ke.sx||0,Ot=ke.sy||0,Mt=Ze&&wt,Gt=this._vmlEl;Gt||(Gt=e.doc.createElement("div"),L(Gt),this._vmlEl=Gt);var $e=Gt.style,pe=!1,q,bt=1,qe=1;if(this.transform&&(q=this.transform,bt=h(q[0]*q[0]+q[1]*q[1]),qe=h(q[2]*q[2]+q[3]*q[3]),pe=q[1]||q[2]),pe){var le=[pt,nt],Nt=[pt+Oe,nt],tr=[pt,nt+vt],lt=[pt+Oe,nt+vt];S(le,le,q),S(Nt,Nt,q),S(tr,tr,q),S(lt,lt,q);var Wt=b(le[0],Nt[0],tr[0],lt[0]),cr=b(le[1],Nt[1],tr[1],lt[1]),Vr=[];Vr.push("M11=",q[0]/bt,E,"M12=",q[2]/qe,E,"M21=",q[1]/bt,E,"M22=",q[3]/qe,E,"Dx=",u(pt*bt+q[4]),E,"Dy=",u(nt*qe+q[5])),$e.padding="0 "+u(Wt)+"px "+u(cr)+"px 0",$e.filter=T+".Matrix("+Vr.join("")+", SizingMethod=clip)"}else q&&(pt=pt*bt+q[4],nt=nt*qe+q[5]),$e.filter="",$e.left=u(pt)+"px",$e.top=u(nt)+"px";var ur=this._imageEl,ir=this._cropEl;ur||(ur=e.doc.createElement("div"),this._imageEl=ur);var Lt=ur.style;if(Mt){if(Ke&&Ie)Lt.width=u(bt*Ke*Oe/Ze)+"px",Lt.height=u(qe*Ie*vt/wt)+"px";else{var ot=new Image,Xe=this;ot.onload=function(){ot.onload=null,Ke=ot.width,Ie=ot.height,Lt.width=u(bt*Ke*Oe/Ze)+"px",Lt.height=u(qe*Ie*vt/wt)+"px",Xe._imageWidth=Ke,Xe._imageHeight=Ie,Xe._imageSrc=Te},ot.src=Te}ir||(ir=e.doc.createElement("div"),ir.style.overflow="hidden",this._cropEl=ir);var $t=ir.style;$t.width=u((Oe+xt*Oe/Ze)*bt),$t.height=u((vt+Ot*vt/wt)*qe),$t.filter=T+".Matrix(Dx="+-xt*Oe/Ze*bt+",Dy="+-Ot*vt/wt*qe+")",ir.parentNode||Gt.appendChild(ir),ur.parentNode!==ir&&ir.appendChild(ur)}else Lt.width=u(bt*Oe)+"px",Lt.height=u(qe*vt)+"px",Gt.appendChild(ur),ir&&ir.parentNode&&(Gt.removeChild(ir),this._cropEl=null);var Sr="",vr=ke.opacity;vr<1&&(Sr+=".Alpha(opacity="+u(vr*100)+") "),Sr+=T+".AlphaImageLoader(src="+Te+", SizingMethod=scale)",Lt.filter=Sr,Gt.style.zIndex=z(this.zlevel,this.z,this.z2),P(ce,Gt),ke.text!=null&&this.drawRectText(ce,this.getBoundingRect())},n.prototype.onRemove=function(ce){H(ce,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(ce)},n.prototype.onAdd=function(ce){P(ce,this._vmlEl),this.appendRectText(ce)};var de="normal",G={},ae=0,Ae=100,me=document.createElement("div"),Me=function(ke){var Te=G[ke];if(!Te){ae>Ae&&(ae=0,G={});var Ke=me.style,Ie;try{Ke.font=ke,Ie=Ke.fontFamily.split(",")[0]}catch(se){}Te={style:Ke.fontStyle||de,variant:Ke.fontVariant||de,weight:Ke.fontWeight||de,size:parseFloat(Ke.fontSize||12)|0,family:Ie||"Microsoft YaHei"},G[ke]=Te,ae++}return Te},oe;f.$override("measureText",function(ce,ke){var Te=e.doc;oe||(oe=Te.createElement("div"),oe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(oe));try{oe.style.font=ke}catch(Ke){}return oe.innerHTML="",oe.appendChild(Te.createTextNode(ce)),{width:oe.offsetWidth}});for(var _e=new m,ee=function(ke,Te,Ke,Ie){var se=this.style;this.__dirty&&d.normalizeTextStyle(se,!0);var ye=se.text;if(ye!=null&&(ye+=""),!ye)return;if(se.rich){var xe=f.parseRichText(ye,se);ye=[];for(var Ye=0;Ye<xe.lines.length;Ye++){for(var pt=xe.lines[Ye].tokens,nt=[],Oe=0;Oe<pt.length;Oe++)nt.push(pt[Oe].text);ye.push(nt.join(""))}ye=ye.join(`
|
|
|
`)}var vt,Ze,wt=se.textAlign,xt=se.textVerticalAlign,Ot=Me(se.font),Mt=Ot.style+" "+Ot.variant+" "+Ot.weight+" "+Ot.size+'px "'+Ot.family+'"';Ke=Ke||f.getBoundingRect(ye,Mt,wt,xt,se.textPadding,se.textLineHeight);var Gt=this.transform;if(Gt&&!Ie&&(_e.copy(Te),_e.applyTransform(Gt),Te=_e),Ie)vt=Te.x,Ze=Te.y;else{var $e=se.textPosition;if($e instanceof Array)vt=Te.x+M($e[0],Te.width),Ze=Te.y+M($e[1],Te.height),wt=wt||"left";else{var pe=this.calculateTextPosition?this.calculateTextPosition({},se,Te):f.calculateTextPosition({},se,Te);vt=pe.x,Ze=pe.y,wt=wt||pe.textAlign,xt=xt||pe.textVerticalAlign}}vt=f.adjustTextX(vt,Ke.width,wt),Ze=f.adjustTextY(Ze,Ke.height,xt),Ze+=Ke.height/2;var q=e.createNode,bt=this._textVmlEl,qe,le,Nt;bt?(Nt=bt.firstChild,qe=Nt.nextSibling,le=qe.nextSibling):(bt=q("line"),qe=q("path"),le=q("textpath"),Nt=q("skew"),le.style["v-text-align"]="left",L(bt),qe.textpathok=!0,le.on=!0,bt.from="0 0",bt.to="1000 0.05",P(bt,Nt),P(bt,qe),P(bt,le),this._textVmlEl=bt);var tr=[vt,Ze],lt=bt.style;Gt&&Ie?(S(tr,tr,Gt),Nt.on=!0,Nt.matrix=Gt[0].toFixed(3)+E+Gt[2].toFixed(3)+E+Gt[1].toFixed(3)+E+Gt[3].toFixed(3)+",0,0",Nt.offset=(u(tr[0])||0)+","+(u(tr[1])||0),Nt.origin="0 0",lt.left="0px",lt.top="0px"):(Nt.on=!1,lt.left=u(vt)+"px",lt.top=u(Ze)+"px"),le.string=F(ye);try{le.style.font=Mt}catch(Wt){}V(bt,"fill",{fill:se.textFill,opacity:se.opacity},this),V(bt,"stroke",{stroke:se.textStroke,opacity:se.opacity,lineDash:se.lineDash||null},this),bt.style.zIndex=z(this.zlevel,this.z,this.z2),P(ke,bt)},ne=function(ke){H(ke,this._textVmlEl),this._textVmlEl=null},Ge=function(ke){P(ke,this._textVmlEl)},Ee=[c,a,n,o,i],ue=0;ue<Ee.length;ue++){var re=Ee[ue].prototype;re.drawRectText=ee,re.removeRectText=ne,re.appendRectText=Ge}i.prototype.brushVML=function(ce){var ke=this.style;ke.text!=null?this.drawRectText(ce,{x:ke.x||0,y:ke.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(ce)},i.prototype.onRemove=function(ce){this.removeRectText(ce)},i.prototype.onAdd=function(ce){this.appendRectText(ce)}}},qJCg:function(R,N,t){var y=t("BlVb"),p=t("mFDi"),S=t("IwbS"),m=S.linePolygonIntersect,g={lineX:f(0),lineY:f(1),rect:{point:function(a,n,i){return a&&i.boundingRect.contain(a[0],a[1])},rect:function(a,n,i){return a&&i.boundingRect.intersect(a)}},polygon:{point:function(a,n,i){return a&&i.boundingRect.contain(a[0],a[1])&&y.contain(i.range,a[0],a[1])},rect:function(a,n,i){var o=i.range;if(!a||o.length<=1)return!1;var r=a.x,l=a.y,e=a.width,s=a.height,u=o[0];if(y.contain(o,r,l)||y.contain(o,r+e,l)||y.contain(o,r,l+s)||y.contain(o,r+e,l+s)||p.create(a).contain(u[0],u[1])||m(r,l,r+e,l,o)||m(r,l,r,l+s,o)||m(r+e,l,r+e,l+s,o)||m(r,l+s,r+e,l+s,o))return!0}}};function f(a){var n=["x","y"],i=["width","height"];return{point:function(o,r,l){if(o){var e=l.range,s=o[a];return d(s,e)}},rect:function(o,r,l){if(o){var e=l.range,s=[o[n[a]],o[n[a]]+o[i[a]]];return s[1]<s[0]&&s.reverse(),d(s[0],e)||d(s[1],e)||d(e[0],s)||d(e[1],s)}}}}function d(a,n){return n[0]<=a&&a<=n[1]}var c=g;R.exports=c},qMZE:function(R,N,t){var y=t("JEkh"),p=y.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});R.exports=p},qNPg:function(R,N,t){"use strict";t.d(N,"a",function(){return W});var y=t("rePB"),p=t("VTBJ"),S=t("KQm4"),m=t("ODXe"),g=t("Ff2n"),f=t("q1tI"),d=t("4IlW"),c=t("TSYQ"),a=t.n(c),n=t("6cGi"),i=t("bX4T"),o=t("8XRh"),r=t("8OUc"),l=t("c+Xe"),e=function(J,de){var G=J.prefixCls,ae=J.id,Ae=J.inputElement,me=J.disabled,Me=J.tabIndex,oe=J.autoFocus,_e=J.autoComplete,ee=J.editable,ne=J.accessibilityIndex,Ge=J.value,Ee=J.onKeyDown,ue=J.onMouseDown,re=J.onChange,ce=J.onPaste,ke=J.onCompositionStart,Te=J.onCompositionEnd,Ke=J.open,Ie=J.attrs,se=Ae||f.createElement("input",null),ye=se,xe=ye.ref,Ye=ye.props,pt=Ye.onKeyDown,nt=Ye.onChange,Oe=Ye.onMouseDown,vt=Ye.onCompositionStart,Ze=Ye.onCompositionEnd,wt=Ye.style;return se=f.cloneElement(se,Object(p.a)(Object(p.a)({id:ae,ref:Object(l.a)(de,xe),disabled:me,tabIndex:Me,autoComplete:_e||"off",autoFocus:oe,className:"".concat(G,"-selection-search-input"),style:Object(p.a)(Object(p.a)({},wt),{},{opacity:ee?null:0}),role:"combobox","aria-expanded":Ke,"aria-haspopup":"listbox","aria-owns":"".concat(ae,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ae,"_list"),"aria-activedescendant":"".concat(ae,"_list_").concat(ne)},Ie),{},{value:ee?Ge:"",readOnly:!ee,unselectable:ee?null:"on",onKeyDown:function(Ot){Ee(Ot),pt&&pt(Ot)},onMouseDown:function(Ot){ue(Ot),Oe&&Oe(Ot)},onChange:function(Ot){re(Ot),nt&&nt(Ot)},onCompositionStart:function(Ot){ke(Ot),vt&&vt(Ot)},onCompositionEnd:function(Ot){Te(Ot),Ze&&Ze(Ot)},onPaste:ce})),se},s=f.forwardRef(e);s.displayName="Input";var u=s,h=t("WKfj");function A(X,J){h.b?f.useLayoutEffect(X,J):f.useEffect(X,J)}var v="__RC_SELECT_MAX_REST_COUNT__",w=function(J){var de=J.id,G=J.prefixCls,ae=J.values,Ae=J.open,me=J.searchValue,Me=J.inputRef,oe=J.placeholder,_e=J.disabled,ee=J.mode,ne=J.showSearch,Ge=J.autoFocus,Ee=J.autoComplete,ue=J.accessibilityIndex,re=J.tabIndex,ce=J.removeIcon,ke=J.choiceTransitionName,Te=J.maxTagCount,Ke=J.maxTagTextLength,Ie=J.maxTagPlaceholder,se=Ie===void 0?function(Wt){return"+ ".concat(Wt.length," ...")}:Ie,ye=J.tagRender,xe=J.onSelect,Ye=J.onInputChange,pt=J.onInputPaste,nt=J.onInputKeyDown,Oe=J.onInputMouseDown,vt=J.onInputCompositionStart,Ze=J.onInputCompositionEnd,wt=f.useState(!1),xt=Object(m.a)(wt,2),Ot=xt[0],Mt=xt[1],Gt=f.useRef(null),$e=f.useState(0),pe=Object(m.a)($e,2),q=pe[0],bt=pe[1];f.useEffect(function(){Mt(!0)},[]);var qe=Ae||ee==="tags"?me:"",le=ee==="tags"||Ae&≠A(function(){bt(Gt.current.scrollWidth)},[qe]);var Nt=ae,tr;typeof Te=="number"&&(tr=ae.length-Te,Nt=ae.slice(0,Te)),typeof Ke=="number"&&(Nt=Nt.map(function(Wt){var cr=Wt.label,Vr=Object(g.a)(Wt,["label"]),ur=cr;if(typeof cr=="string"||typeof cr=="number"){var ir=String(ur);ir.length>Ke&&(ur="".concat(ir.slice(0,Ke),"..."))}return Object(p.a)(Object(p.a)({},Vr),{},{label:ur})})),tr>0&&Nt.push({key:v,label:typeof se=="function"?se(ae.slice(Te)):se});var lt=f.createElement(o.CSSMotionList,{component:!1,keys:Nt,motionName:ke,motionAppear:Ot},function(Wt){var cr=Wt.key,Vr=Wt.label,ur=Wt.value,ir=Wt.disabled,Lt=Wt.className,ot=Wt.style,Xe=cr||ur,$t=cr!==v&&!ir,Sr=function(An){An.preventDefault(),An.stopPropagation()},vr=function(An){An&&An.stopPropagation(),xe(ur,{selected:!1})};return typeof ye=="function"?f.createElement("span",{key:Xe,onMouseDown:Sr,className:Lt,style:ot},ye({label:Vr,value:ur,disabled:ir,closable:$t,onClose:vr})):f.createElement("span",{key:Xe,className:a()(Lt,"".concat(G,"-selection-item"),Object(y.a)({},"".concat(G,"-selection-item-disabled"),ir)),style:ot},f.createElement("span",{className:"".concat(G,"-selection-item-content")},Vr),$t&&f.createElement(r.a,{className:"".concat(G,"-selection-item-remove"),onMouseDown:Sr,onClick:vr,customizeIcon:ce},"\xD7"))});return f.createElement(f.Fragment,null,lt,f.createElement("span",{className:"".concat(G,"-selection-search"),style:{width:q}},f.createElement(u,{ref:Me,open:Ae,prefixCls:G,id:de,inputElement:null,disabled:_e,autoFocus:Ge,autoComplete:Ee,editable:le,accessibilityIndex:ue,value:qe,onKeyDown:nt,onMouseDown:Oe,onChange:Ye,onPaste:pt,onCompositionStart:vt,onCompositionEnd:Ze,tabIndex:re,attrs:Object(i.a)(J,!0)}),f.createElement("span",{ref:Gt,className:"".concat(G,"-selection-search-mirror"),"aria-hidden":!0},qe,"\xA0")),!ae.length&&!qe&&f.createElement("span",{className:"".concat(G,"-selection-placeholder")},oe))},b=w,E=function(J){var de=J.inputElement,G=J.prefixCls,ae=J.id,Ae=J.inputRef,me=J.disabled,Me=J.autoFocus,oe=J.autoComplete,_e=J.accessibilityIndex,ee=J.mode,ne=J.open,Ge=J.values,Ee=J.placeholder,ue=J.tabIndex,re=J.showSearch,ce=J.searchValue,ke=J.activeValue,Te=J.onInputKeyDown,Ke=J.onInputMouseDown,Ie=J.onInputChange,se=J.onInputPaste,ye=J.onInputCompositionStart,xe=J.onInputCompositionEnd,Ye=f.useState(!1),pt=Object(m.a)(Ye,2),nt=pt[0],Oe=pt[1],vt=ee==="combobox",Ze=vt||re&&ne,wt=Ge[0],xt=ce||"";vt&&ke&&!nt&&(xt=ke),f.useEffect(function(){vt&&Oe(!1)},[vt,ke]);var Ot=ee!=="combobox"&&!ne?!1:!!xt,Mt=wt&&(typeof wt.label=="string"||typeof wt.label=="number")?wt.label.toString():void 0;return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(G,"-selection-search")},f.createElement(u,{ref:Ae,prefixCls:G,id:ae,open:ne,inputElement:de,disabled:me,autoFocus:Me,autoComplete:oe,editable:Ze,accessibilityIndex:_e,value:xt,onKeyDown:Te,onMouseDown:Ke,onChange:function($e){Oe(!0),Ie($e)},onPaste:se,onCompositionStart:ye,onCompositionEnd:xe,tabIndex:ue,attrs:Object(i.a)(J,!0)})),!vt&&wt&&!Ot&&f.createElement("span",{className:"".concat(G,"-selection-item"),title:Mt},wt.label),!wt&&!Ot&&f.createElement("span",{className:"".concat(G,"-selection-placeholder")},Ee))},T=E;function _(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=f.useRef(null),de=f.useRef(null);f.useEffect(function(){return function(){window.clearTimeout(de.current)}},[]);function G(ae){(ae||J.current===null)&&(J.current=ae),window.clearTimeout(de.current),de.current=window.setTimeout(function(){J.current=null},X)}return[function(){return J.current},G]}var x=function(J,de){var G=Object(f.useRef)(null),ae=Object(f.useRef)(!1),Ae=J.prefixCls,me=J.multiple,Me=J.open,oe=J.mode,_e=J.showSearch,ee=J.tokenWithEnter,ne=J.onSearch,Ge=J.onSearchSubmit,Ee=J.onToggleOpen,ue=J.onInputKeyDown,re=J.domRef;f.useImperativeHandle(de,function(){return{focus:function(){G.current.focus()},blur:function(){G.current.blur()}}});var ce=_(0),ke=Object(m.a)(ce,2),Te=ke[0],Ke=ke[1],Ie=function(Ot){var Mt=Ot.which;(Mt===d.a.UP||Mt===d.a.DOWN)&&Ot.preventDefault(),ue&&ue(Ot),Mt===d.a.ENTER&&oe==="tags"&&!ae.current&&!Me&&Ge(Ot.target.value),[d.a.SHIFT,d.a.TAB,d.a.BACKSPACE,d.a.ESC].includes(Mt)||Ee(!0)},se=function(){Ke(!0)},ye=Object(f.useRef)(null),xe=function(Ot){ne(Ot,!0,ae.current)!==!1&&Ee(!0)},Ye=function(){ae.current=!0},pt=function(){ae.current=!1},nt=function(Ot){var Mt=Ot.target.value;if(ee&&ye.current&&/[\r\n]/.test(ye.current)){var Gt=ye.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Mt=Mt.replace(Gt,ye.current)}ye.current=null,xe(Mt)},Oe=function(Ot){var Mt=Ot.clipboardData,Gt=Mt.getData("text");ye.current=Gt},vt=function(Ot){var Mt=Te();if(Ot.target!==G.current){Mt||Ot.preventDefault();var Gt=document.body.style.msTouchAction!==void 0;Gt?setTimeout(function(){G.current.focus()}):G.current.focus()}(oe!=="combobox"&&(!_e||!Mt)||!Me)&&(Me&&ne("",!0,!1),Ee())},Ze={inputRef:G,onInputKeyDown:Ie,onInputMouseDown:se,onInputChange:nt,onInputPaste:Oe,onInputCompositionStart:Ye,onInputCompositionEnd:pt},wt=me?f.createElement(b,Object.assign({},J,Ze)):f.createElement(T,Object.assign({},J,Ze));return f.createElement("div",{ref:re,className:"".concat(Ae,"-selector"),onMouseDown:vt},wt)},C=f.forwardRef(x);C.displayName="Selector";var I=C,L=t("uciX"),F=function(J){var de=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:de,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:de,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:de,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:de,adjustY:1}}}},B=function(J,de){var G=J.prefixCls,ae=J.disabled,Ae=J.visible,me=J.children,Me=J.popupElement,oe=J.containerWidth,_e=J.animation,ee=J.transitionName,ne=J.dropdownStyle,Ge=J.dropdownClassName,Ee=J.direction,ue=Ee===void 0?"ltr":Ee,re=J.dropdownMatchSelectWidth,ce=re===void 0?!0:re,ke=J.dropdownRender,Te=J.dropdownAlign,Ke=J.getPopupContainer,Ie=J.empty,se=J.getTriggerDOMNode,ye=Object(g.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),xe="".concat(G,"-dropdown"),Ye=Me;ke&&(Ye=ke(Me));var pt=f.useMemo(function(){return F(ce)},[ce]),nt=_e?"".concat(xe,"-").concat(_e):ee,Oe=f.useRef(null);f.useImperativeHandle(de,function(){return{getPopupElement:function(){return Oe.current}}});var vt=Object(p.a)({minWidth:oe},ne);return typeof ce=="number"?vt.width=ce:ce&&(vt.width=oe),f.createElement(L.a,Object.assign({},ye,{showAction:[],hideAction:[],popupPlacement:ue==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:pt,prefixCls:xe,popupTransitionName:nt,popup:f.createElement("div",{ref:Oe},Ye),popupAlign:Te,popupVisible:Ae,getPopupContainer:Ke,popupClassName:a()(Ge,Object(y.a)({},"".concat(xe,"-empty"),Ie)),popupStyle:vt,getTriggerDOMNode:se}),me)},P=f.forwardRef(B);P.displayName="SelectTrigger";var H=P,z=t("wPlo");function M(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=f.useState(!1),de=Object(m.a)(J,2),G=de[0],ae=de[1],Ae=f.useRef(null),me=function(){window.clearTimeout(Ae.current)};f.useEffect(function(){return me},[]);var Me=function(_e,ee){me(),Ae.current=window.setTimeout(function(){ae(_e),ee&&ee()},X)};return[G,Me,me]}var U=t("2Qr1");function k(X,J,de){var G=f.useRef(null);G.current={elements:X.filter(function(ae){return ae}),open:J,triggerOpen:de},f.useEffect(function(){function ae(Ae){var me=Ae.target;G.current.open&&G.current.elements.every(function(Me){return!Me.contains(me)&&Me!==me})&&G.current.triggerOpen(!1)}return window.addEventListener("mousedown",ae),function(){return window.removeEventListener("mousedown",ae)}},[])}function K(X){var J=f.useRef(X),de=f.useMemo(function(){var G=new Map;J.current.forEach(function(Ae){var me=Ae.value,Me=Ae.label;me!==Me&&G.set(me,Me)});var ae=X.map(function(Ae){var me=G.get(Ae.value);return Ae.value===Ae.label&&me?Object(p.a)(Object(p.a)({},Ae),{},{label:me}):Ae});return J.current=ae,ae},[X]);return de}function j(X,J){var de=f.useRef(null),G=f.useMemo(function(){var Ae=new Map;return J.forEach(function(me){var Me=me.data.value;Ae.set(Me,me)}),Ae},[X,J]);de.current=G;var ae=function(me){return me.map(function(Me){return de.current.get(Me)}).filter(Boolean)};return ae}var V=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function W(X){var J=X.prefixCls,de=X.components.optionList,G=X.convertChildrenToData,ae=X.flattenOptions,Ae=X.getLabeledValue,me=X.filterOptions,Me=X.isValueDisabled,oe=X.findValueOption,_e=X.warningProps,ee=X.fillOptionsWithMissingValue,ne=X.omitDOMProps;function Ge(ue,re){var ce,ke=ue.prefixCls,Te=ke===void 0?J:ke,Ke=ue.className,Ie=ue.id,se=ue.open,ye=ue.defaultOpen,xe=ue.options,Ye=ue.children,pt=ue.mode,nt=ue.value,Oe=ue.defaultValue,vt=ue.labelInValue,Ze=ue.showSearch,wt=ue.inputValue,xt=ue.searchValue,Ot=ue.filterOption,Mt=ue.optionFilterProp,Gt=Mt===void 0?"value":Mt,$e=ue.autoClearSearchValue,pe=$e===void 0?!0:$e,q=ue.onSearch,bt=ue.allowClear,qe=ue.clearIcon,le=ue.showArrow,Nt=ue.inputIcon,tr=ue.menuItemSelectedIcon,lt=ue.disabled,Wt=ue.loading,cr=ue.defaultActiveFirstOption,Vr=ue.notFoundContent,ur=Vr===void 0?"Not Found":Vr,ir=ue.optionLabelProp,Lt=ue.backfill,ot=ue.getInputElement,Xe=ue.getPopupContainer,$t=ue.listHeight,Sr=$t===void 0?200:$t,vr=ue.listItemHeight,fr=vr===void 0?20:vr,An=ue.animation,Zr=ue.transitionName,Ln=ue.virtual,Je=ue.dropdownStyle,et=ue.dropdownClassName,be=ue.dropdownMatchSelectWidth,Le=ue.dropdownRender,Ue=ue.dropdownAlign,rt=ue.showAction,Vt=rt===void 0?[]:rt,Ft=ue.direction,zt=ue.tokenSeparators,Dr=ue.tagRender,Pr=ue.onPopupScroll,un=ue.onDropdownVisibleChange,Ht=ue.onFocus,dt=ue.onBlur,at=ue.onKeyUp,Qt=ue.onKeyDown,Jt=ue.onMouseDown,gt=ue.onChange,Bt=ue.onSelect,mt=ue.onDeselect,kt=ue.onClear,gr=ue.internalProps,ar=gr===void 0?{}:gr,lr=Object(g.a)(ue,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Gr=ar.mark===z.a,Jr=ne?ne(lr):lr;V.forEach(function(Hn){delete Jr[Hn]});var Tn=Object(f.useRef)(null),Nn=Object(f.useRef)(null),zn=Object(f.useRef)(null),qn=Object(f.useRef)(null),vi=Object(f.useMemo)(function(){return(zt||[]).some(function(Hn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Hn)})},[zt]),Ri=M(),Ve=Object(m.a)(Ri,3),Se=Ve[0],Re=Ve[1],Be=Ve[2],We=Object(f.useState)(),He=Object(m.a)(We,2),Qe=He[0],At=He[1];Object(f.useEffect)(function(){At("rc_select_".concat(Object(h.a)()))},[]);var st=Ie||Qe,Pt=ir;Pt===void 0&&(Pt=xe?"label":"children");var wr=pt==="combobox"?!1:vt,mr=pt==="tags"||pt==="multiple",Or=Ze!==void 0?Ze:mr||pt==="combobox",jt=Object(f.useRef)(null);f.useImperativeHandle(re,function(){return{focus:zn.current.focus,blur:zn.current.blur}});var cn=Object(n.a)(Oe,{value:nt}),nr=Object(m.a)(cn,2),Xr=nr[0],Br=nr[1],yr=Object(f.useMemo)(function(){return Object(h.e)(Xr,{labelInValue:wr,combobox:pt==="combobox"})},[Xr,wr]),xn=Object(f.useMemo)(function(){return new Set(yr)},[yr]),Bn=Object(f.useState)(null),ii=Object(m.a)(Bn,2),oi=ii[0],ei=ii[1],ui=Object(f.useState)(""),Fn=Object(m.a)(ui,2),Si=Fn[0],gn=Fn[1],Wr=Si;pt==="combobox"&&Xr!==void 0?Wr=Xr:xt!==void 0?Wr=xt:wt&&(Wr=wt);var En=Object(f.useMemo)(function(){var Hn=xe;return Hn===void 0&&(Hn=G(Ye)),pt==="tags"&&ee&&(Hn=ee(Hn,Xr,Pt,vt)),Hn||[]},[xe,Ye,pt,Xr]),on=Object(f.useMemo)(function(){return ae(En,ue)},[En]),ci=j(yr,on),ri=Object(f.useMemo)(function(){if(!Wr||!Or)return Object(S.a)(En);var Hn=me(Wr,En,{optionFilterProp:Gt,filterOption:pt==="combobox"&&Ot===void 0?function(){return!0}:Ot});return pt==="tags"&&Hn.every(function(Ci){return Ci[Gt]!==Wr})&&Hn.unshift({value:Wr,label:Wr,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Hn},[En,Wr,pt,Or]),bi=Object(f.useMemo)(function(){return ae(ri,ue)},[ri]);Object(f.useEffect)(function(){qn.current&&qn.current.scrollTo&&qn.current.scrollTo(0)},[Wr]);var Gn=Object(f.useMemo)(function(){var Hn=yr.map(function(Ci){var Hi=ci([Ci]),pr=Ae(Ci,{options:Hi,prevValue:Xr,labelInValue:wr,optionLabelProp:Pt});return Object(p.a)(Object(p.a)({},pr),{},{disabled:Me(Ci,Hi)})});return!pt&&Hn.length===1&&Hn[0].value===null&&Hn[0].label===null?[]:Hn},[Xr,En,pt]);Gn=K(Gn);var Fi=function(Ci,Hi,pr){var Rr=ci([Ci]),Qr=oe([Ci],Rr)[0];if(!ar.skipTriggerSelect){var Nr=wr?Ae(Ci,{options:Rr,prevValue:Xr,labelInValue:wr,optionLabelProp:Pt}):Ci;Hi&&Bt?Bt(Nr,Qr):!Hi&&mt&&mt(Nr,Qr)}Gr&&(Hi&&ar.onRawSelect?ar.onRawSelect(Ci,Qr,pr):!Hi&&ar.onRawDeselect&&ar.onRawDeselect(Ci,Qr,pr))},Jn=Object(f.useState)([]),Mi=Object(m.a)(Jn,2),fn=Mi[0],kr=Mi[1],yn=function(Ci){if(Gr&&ar.skipTriggerChange)return;var Hi=ci(Ci),pr=Object(h.f)(Array.from(Ci),{labelInValue:wr,options:Hi,getLabeledValue:Ae,prevValue:Xr,optionLabelProp:Pt}),Rr=mr?pr:pr[0];if(gt&&(yr.length!==0||pr.length!==0)){var Qr=oe(Ci,Hi,{prevValueOptions:fn});kr(Qr.map(function(Nr,Xt){var xr=Object(p.a)({},Nr);return Object.defineProperty(xr,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ci[Xt]}}),xr})),gt(Rr,mr?Qr:Qr[0])}Br(Rr)},jn=function(Ci,Hi){var pr=Hi.selected,Rr=Hi.source;if(lt)return;var Qr;mr?(Qr=new Set(yr),pr?Qr.add(Ci):Qr.delete(Ci)):(Qr=new Set,Qr.add(Ci)),(mr||!mr&&Array.from(yr)[0]!==Ci)&&yn(Array.from(Qr)),Fi(Ci,!mr||pr,Rr),pt==="combobox"?(gn(String(Ci)),ei("")):(!mr||pe)&&(gn(""),ei(""))},Xn=function(Ci,Hi){jn(Ci,Object(p.a)(Object(p.a)({},Hi),{},{source:"option"}))},ti=function(Ci,Hi){jn(Ci,Object(p.a)(Object(p.a)({},Hi),{},{source:"selection"}))},di=pt==="combobox"&&ot&&ot()||null,fi=Object(n.a)(void 0,{defaultValue:ye,value:se}),mi=Object(m.a)(fi,2),Ki=mi[0],ia=mi[1],qi=Ki,Ra=!ur&&!ri.length;(lt||Ra&&qi&&pt==="combobox")&&(qi=!1);var pi=Ra?!1:qi,ln=function(Ci){var Hi=Ci!==void 0?Ci:!qi;Ki!==Hi&&!lt&&(ia(Hi),un&&un(Hi))};k([Tn.current,Nn.current&&Nn.current.getPopupElement()],pi,ln);var Oi=function(Ci,Hi,pr){var Rr=!0,Qr=Ci;ei(null);var Nr=pr?null:Object(U.f)(Ci,zt),Xt=Nr;if(pt==="combobox")Hi&&yn([Qr]);else if(Nr){Qr="",pt!=="tags"&&(Xt=Nr.map(function(er){var jr=on.find(function(Ur){var pn=Ur.data;return pn[Pt]===er});return jr?jr.data.value:null}).filter(function(er){return er!==null}));var xr=Array.from(new Set([].concat(Object(S.a)(yr),Object(S.a)(Xt))));yn(xr),xr.forEach(function(er){Fi(er,!0,"input")}),ln(!1),Rr=!1}return gn(Qr),q&&Wr!==Qr&&q(Qr),Rr},Ji=function(Ci){var Hi=Array.from(new Set([].concat(Object(S.a)(yr),[Ci])));yn(Hi),Hi.forEach(function(pr){Fi(pr,!0,"input")}),gn("")};Object(f.useEffect)(function(){Ki&&!!lt&&ia(!1)},[lt]),Object(f.useEffect)(function(){!qi&&!mr&&pt!=="combobox"&&Oi("",!1,!1)},[qi]);var Pi=_(),aa=Object(m.a)(Pi,2),Kt=aa[0],Yr=aa[1],rn=function(Ci){var Hi=Kt(),pr=Ci.which;if(!qi&&pr===d.a.ENTER&&ln(!0),Yr(!!Wr),pr===d.a.BACKSPACE&&!Hi&&mr&&!Wr&&yr.length){var Rr=Object(h.c)(Gn,yr);Rr.removedValue!==null&&(yn(Rr.values),Fi(Rr.removedValue,!1,"input"))}for(var Qr=arguments.length,Nr=new Array(Qr>1?Qr-1:0),Xt=1;Xt<Qr;Xt++)Nr[Xt-1]=arguments[Xt];if(qi&&qn.current){var xr;(xr=qn.current).onKeyDown.apply(xr,[Ci].concat(Nr))}Qt&&Qt.apply(void 0,[Ci].concat(Nr))},hn=function(Ci){for(var Hi=arguments.length,pr=new Array(Hi>1?Hi-1:0),Rr=1;Rr<Hi;Rr++)pr[Rr-1]=arguments[Rr];if(qi&&qn.current){var Qr;(Qr=qn.current).onKeyUp.apply(Qr,[Ci].concat(pr))}at&&at.apply(void 0,[Ci].concat(pr))},ze=Object(f.useRef)(!1),Ct=function(){Re(!0),lt||(Ht&&!ze.current&&Ht.apply(void 0,arguments),Vt.includes("focus")&&ln(!0)),ze.current=!0},or=function(){if(Re(!1,function(){ze.current=!1,ln(!1)}),lt)return;Wr&&(pt==="tags"?(Oi("",!1,!1),yn(Array.from(new Set([].concat(Object(S.a)(yr),[Wr]))))):pt==="multiple"&&gn("")),dt&&dt.apply(void 0,arguments)},rr=[];Object(f.useEffect)(function(){return function(){rr.forEach(function(Hn){return clearTimeout(Hn)}),rr.splice(0,rr.length)}},[]);var Lr=function(Ci){var Hi=Ci.target,pr=Nn.current&&Nn.current.getPopupElement();if(pr&&pr.contains(Hi)){var Rr=setTimeout(function(){var xr=rr.indexOf(Rr);xr!==-1&&rr.splice(xr,1),Be(),pr.contains(document.activeElement)||zn.current.focus()});rr.push(Rr)}if(Jt){for(var Qr=arguments.length,Nr=new Array(Qr>1?Qr-1:0),Xt=1;Xt<Qr;Xt++)Nr[Xt-1]=arguments[Xt];Jt.apply(void 0,[Ci].concat(Nr))}},Fr=Object(f.useState)(0),Kr=Object(m.a)(Fr,2),nn=Kr[0],wn=Kr[1],In=cr!==void 0?cr:pt!=="combobox",Rn=function(Ci,Hi){wn(Hi),Lt&&pt==="combobox"&&Ci!==null&&ei(String(Ci))},Dn=Object(f.useState)(null),bn=Object(m.a)(Dn,2),Sn=bn[0],_n=bn[1],Kn=Object(f.useState)({}),Yn=Object(m.a)(Kn,2),Zn=Yn[1];function yi(){Zn({})}A(function(){if(pi){var Hn=Math.ceil(Tn.current.offsetWidth);Sn!==Hn&&_n(Hn)}},[pi]);var gi=f.createElement(de,{ref:qn,prefixCls:Te,id:st,open:qi,childrenAsData:!xe,options:ri,flattenOptions:bi,multiple:mr,values:xn,height:Sr,itemHeight:fr,onSelect:Xn,onToggleOpen:ln,onActiveValue:Rn,defaultActiveFirstOption:In,notFoundContent:ur,onScroll:Pr,searchValue:Wr,menuItemSelectedIcon:tr,virtual:Ln!==!1&&be!==!1,onMouseEnter:yi}),Ni,ki=function(){Gr&&ar.onClear&&ar.onClear(),kt&&kt(),yn([]),Oi("",!1,!1)};!lt&&bt&&(yr.length||Wr)&&(Ni=f.createElement(r.a,{className:"".concat(Te,"-clear"),onMouseDown:ki,customizeIcon:qe},"\xD7"));var xi=le!==void 0?le:Wt||!mr&&pt!=="combobox",_i;xi&&(_i=f.createElement(r.a,{className:a()("".concat(Te,"-arrow"),Object(y.a)({},"".concat(Te,"-arrow-loading"),Wt)),customizeIcon:Nt,customizeIconProps:{loading:Wt,searchValue:Wr,open:qi,focused:Se,showSearch:Or}}));var Li=a()(Te,Ke,(ce={},Object(y.a)(ce,"".concat(Te,"-focused"),Se),Object(y.a)(ce,"".concat(Te,"-multiple"),mr),Object(y.a)(ce,"".concat(Te,"-single"),!mr),Object(y.a)(ce,"".concat(Te,"-allow-clear"),bt),Object(y.a)(ce,"".concat(Te,"-show-arrow"),xi),Object(y.a)(ce,"".concat(Te,"-disabled"),lt),Object(y.a)(ce,"".concat(Te,"-loading"),Wt),Object(y.a)(ce,"".concat(Te,"-open"),qi),Object(y.a)(ce,"".concat(Te,"-customize-input"),di),Object(y.a)(ce,"".concat(Te,"-show-search"),Or),ce));return f.createElement("div",Object.assign({className:Li},Jr,{ref:Tn,onMouseDown:Lr,onKeyDown:rn,onKeyUp:hn,onFocus:Ct,onBlur:or}),Se&&!qi&&f.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(yr.join(", "))),f.createElement(H,{ref:Nn,disabled:lt,prefixCls:Te,visible:pi,popupElement:gi,containerWidth:Sn,animation:An,transitionName:Zr,dropdownStyle:Je,dropdownClassName:et,direction:Ft,dropdownMatchSelectWidth:be,dropdownRender:Le,dropdownAlign:Ue,getPopupContainer:Xe,empty:!En.length,getTriggerDOMNode:function(){return jt.current}},f.createElement(I,Object.assign({},ue,{domRef:jt,prefixCls:Te,inputElement:di,ref:zn,id:st,showSearch:Or,mode:pt,accessibilityIndex:nn,multiple:mr,tagRender:Dr,values:Gn,open:qi,onToggleOpen:ln,searchValue:Wr,activeValue:oi,onSearch:Oi,onSearchSubmit:Ji,onSelect:ti,tokenWithEnter:vi}))),_i,Ni)}var Ee=f.forwardRef(Ge);return Ee}},qPY4:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("u4NN"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},qWUW: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("DL4k")),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="CaretDownOutlined";var c=m.forwardRef(d);N.default=c},qWt2:function(R,N,t){var y=t("ProS"),p=y.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});R.exports=p},qZFw:function(R,N,t){var y=t("bYtY"),p=t("6GrX"),S=t("hM6l"),m=t("4NO4"),g=m.makeInner,f=g();function d(a,n){n=n||[0,360],S.call(this,"angle",a,n),this.type="category"}d.prototype={constructor:d,pointToData:function(a,n){return this.polar.pointToData(a,n)[this.dim==="radius"?0:1]},dataToAngle:S.prototype.dataToCoord,angleToData:S.prototype.coordToData,calculateCategoryInterval:function(){var a=this,n=a.getLabelModel(),i=a.scale,o=i.getExtent(),r=i.count();if(o[1]-o[0]<1)return 0;var l=o[0],e=a.dataToCoord(l+1)-a.dataToCoord(l),s=Math.abs(e),u=p.getBoundingRect(l,n.getFont(),"center","top"),h=Math.max(u.height,7),A=h/s;isNaN(A)&&(A=Infinity);var v=Math.max(0,Math.floor(A)),w=f(a.model),b=w.lastAutoInterval,E=w.lastTickCount;return b!=null&&E!=null&&Math.abs(b-v)<=1&&Math.abs(E-r)<=1&&b>v?v=b:(w.lastTickCount=r,w.lastAutoInterval=v),v}},y.inherits(d,S);var c=d;R.exports=c},qgGe:function(R,N,t){var y=t("bYtY"),p=t("T4UG"),S=t("Bsck"),m=t("VaxA"),g=m.wrapTreePathInfo,f=p.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(c,a){var n={name:c.name,children:c.data};d(n);var i=c.levels||[],o={};return o.levels=i,S.createTree(n,this,o).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(c){var a=p.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(c);return a.treePathInfo=g(n,this),a},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(c){c?this._viewRoot=c:c=this._viewRoot;var a=this.getRawData().tree.root;(!c||c!==a&&!a.contains(c))&&(this._viewRoot=a)}});function d(c){var a=0;y.each(c.children,function(i){d(i);var o=i.value;y.isArray(o)&&(o=o[0]),a+=o});var n=c.value;y.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=a),n<0&&(n=0),y.isArray(c.value)?c.value[0]=n:c.value=n}R.exports=f},qj72:function(R,N,t){var y=t("bYtY");function p(m,g){return g=g||[0,0],y.map(["x","y"],function(f,d){var c=this.getAxis(f),a=g[d],n=m[d]/2;return c.type==="category"?c.getBandWidth():Math.abs(c.dataToCoord(a-n)-c.dataToCoord(a+n))},this)}function S(m){var g=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:g.x,y:g.y,width:g.width,height:g.height},api:{coord:function(f){return m.dataToPoint(f)},size:y.bind(p,m)}}}R.exports=S},qrJ5:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("cDf5"),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),r=t("H84U"),l=t("o/2+"),e=t("CWQg"),s=t("ACnJ"),u=function(w,b){var E={};for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&b.indexOf(T)<0&&(E[T]=w[T]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,T=Object.getOwnPropertySymbols(w);_<T.length;_++)b.indexOf(T[_])<0&&Object.prototype.propertyIsEnumerable.call(w,T[_])&&(E[T[_]]=w[T[_]]);return E},h=Object(e.a)("top","middle","bottom","stretch"),A=Object(e.a)("start","end","center","space-around","space-between"),v=a.forwardRef(function(w,b){var E=a.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),T=c()(E,2),_=T[0],x=T[1],C=a.useRef();C.current=w.gutter,a.useEffect(function(){var F=s.a.subscribe(function(B){var P=C.current||0;(!Array.isArray(P)&&f()(P)==="object"||Array.isArray(P)&&(f()(P[0])==="object"||f()(P[1])==="object"))&&x(B)});return function(){s.a.unsubscribe(F)}},[]);var I=function(){var B=[0,0],P=w.gutter,H=P===void 0?0:P,z=Array.isArray(H)?H:[H,0];return z.forEach(function(M,U){if(f()(M)==="object")for(var k=0;k<s.b.length;k++){var K=s.b[k];if(_[K]&&M[K]!==void 0){B[U]=M[K];break}}else B[U]=M||0}),B},L=function(B){var P,H=B.getPrefixCls,z=B.direction,M=w.prefixCls,U=w.justify,k=w.align,K=w.className,j=w.style,V=w.children,W=u(w,["prefixCls","justify","align","className","style","children"]),X=H("row",M),J=I(),de=o()(X,(P={},m()(P,"".concat(X,"-").concat(U),U),m()(P,"".concat(X,"-").concat(k),k),m()(P,"".concat(X,"-rtl"),z==="rtl"),P),K),G=p()(p()(p()({},J[0]>0?{marginLeft:J[0]/-2,marginRight:J[0]/-2}:{}),J[1]>0?{marginTop:J[1]/-2,marginBottom:J[1]/2}:{}),j),ae=p()({},W);return delete ae.gutter,a.createElement(l.a.Provider,{value:{gutter:J}},a.createElement("div",p()({},ae,{className:de,style:G,ref:b}),V))};return a.createElement(r.a,null,L)});v.displayName="Row",N.a=v},"qt/9":function(R,N,t){var y=t("ProS"),p=t("bYtY");t("Wqna"),t("1tlw"),t("Mylv");var S=t("nVfU"),m=S.layout,g=t("f5Yq");t("Ae16"),y.registerLayout(p.curry(m,"pictorialBar")),y.registerVisual(g("pictorialBar","roundRect"))},quyA:function(R,N){var t="\\ud800-\\udfff",y="\\u0300-\\u036f",p="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",m=y+p+S,g="\\ufe0e\\ufe0f",f="\\u200d",d=RegExp("["+f+t+m+g+"]");function c(a){return d.test(a)}R.exports=c},qwVE:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("K4ya"),m=t("XxSj"),g=y.PRIORITY.VISUAL.COMPONENT;y.registerVisual(g,{createOnAllSeries:!0,reset:function(d,c){var a=[];return c.eachComponent("visualMap",function(n){var i=d.pipelineContext;if(!n.isTargetSeries(d)||i&&i.large)return;a.push(S.incrementalApplyVisual(n.stateList,n.targetVisuals,p.bind(n.getValueState,n),n.getDataDimension(d.getData())))}),a}}),y.registerVisual(g,{createOnAllSeries:!0,reset:function(d,c){var a=d.getData(),n=[];c.eachComponent("visualMap",function(i){if(i.isTargetSeries(d)){var o=i.getVisualMeta(p.bind(f,null,d,i))||{stops:[],outerColors:[]},r=i.getDataDimension(a),l=a.getDimensionInfo(r);l!=null&&(o.dimension=l.index,n.push(o))}}),d.getData().setVisual("visualMeta",n)}});function f(d,c,a,n){for(var i=c.targetVisuals[n],o=m.prepareVisualTypes(i),r={color:d.getData().getVisual("color")},l=0,e=o.length;l<e;l++){var s=o[l],u=i[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(a,h,A)}return r.color;function h(v){return r[v]}function A(v,w){r[v]=w}}},"r+aA":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("s2MQ")),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="EyeInvisibleOutlined";var c=m.forwardRef(d);N.default=c},"r/2G":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("+Zaj"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},r6Bn:function(R,N,t){var y=t("bYtY"),p=t("ItGF"),S=t("4fz+"),m=t("BPZU");function g(c,a){return c.zlevel===a.zlevel?c.z===a.z?c.z2-a.z2:c.z-a.z:c.zlevel-a.zlevel}var f=function(){this._roots=[],this._displayList=[],this._displayListLen=0};f.prototype={constructor:f,traverse:function(a,n){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(a,n)},getDisplayList:function(a,n){return n=n||!1,a&&this.updateDisplayList(n),this._displayList},updateDisplayList:function(a){this._displayListLen=0;for(var n=this._roots,i=this._displayList,o=0,r=n.length;o<r;o++)this._updateAndAddDisplayable(n[o],null,a);i.length=this._displayListLen,p.canvasSupported&&m(i,g)},_updateAndAddDisplayable:function(a,n,i){if(a.ignore&&!i)return;a.beforeUpdate(),a.__dirty&&a.update(),a.afterUpdate();var o=a.clipPath;if(o){n?n=n.slice():n=[];for(var r=o,l=a;r;)r.parent=l,r.updateTransform(),n.push(r),l=r,r=r.clipPath}if(a.isGroup){for(var e=a._children,s=0;s<e.length;s++){var u=e[s];a.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,n,i)}a.__dirty=!1}else a.__clipPaths=n,this._displayList[this._displayListLen++]=a},addRoot:function(a){if(a.__storage===this)return;a instanceof S&&a.addChildrenToStorage(this),this.addToStorage(a),this._roots.push(a)},delRoot:function(a){if(a==null){for(var n=0;n<this._roots.length;n++){var i=this._roots[n];i instanceof S&&i.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(a instanceof Array){for(var n=0,o=a.length;n<o;n++)this.delRoot(a[n]);return}var r=y.indexOf(this._roots,a);r>=0&&(this.delFromStorage(a),this._roots.splice(r,1),a instanceof S&&a.delChildrenFromStorage(this))},addToStorage:function(a){return a&&(a.__storage=this,a.dirty(!1)),this},delFromStorage:function(a){return a&&(a.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:g};var d=f;R.exports=d},rA99:function(R,N,t){var y=t("y+Vt"),p=t("QBsz"),S=t("Sj9i"),m=S.quadraticSubdivide,g=S.cubicSubdivide,f=S.quadraticAt,d=S.cubicAt,c=S.quadraticDerivativeAt,a=S.cubicDerivativeAt,n=[];function i(r,l,e){var s=r.cpx2,u=r.cpy2;return s===null||u===null?[(e?a:d)(r.x1,r.cpx1,r.cpx2,r.x2,l),(e?a:d)(r.y1,r.cpy1,r.cpy2,r.y2,l)]:[(e?c:f)(r.x1,r.cpx1,r.x2,l),(e?c:f)(r.y1,r.cpy1,r.y2,l)]}var o=y.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,e){var s=e.x1,u=e.y1,h=e.x2,A=e.y2,v=e.cpx1,w=e.cpy1,b=e.cpx2,E=e.cpy2,T=e.percent;if(T===0)return;l.moveTo(s,u),b==null||E==null?(T<1&&(m(s,v,h,T,n),v=n[1],h=n[2],m(u,w,A,T,n),w=n[1],A=n[2]),l.quadraticCurveTo(v,w,h,A)):(T<1&&(g(s,v,b,h,T,n),v=n[1],b=n[2],h=n[3],g(u,w,E,A,T,n),w=n[1],E=n[2],A=n[3]),l.bezierCurveTo(v,w,b,E,h,A))},pointAt:function(l){return i(this.shape,l,!1)},tangentAt:function(l){var e=i(this.shape,l,!0);return p.normalize(e,e)}});R.exports=o},rHrb:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var y=S(t("q1tI")),p=S(t("+QRC"));function S(A){return A&&A.__esModule?A:{default:A}}function m(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(w){return typeof w}:m=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},m(A)}function g(A,v){var w=Object.keys(A);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(A);v&&(b=b.filter(function(E){return Object.getOwnPropertyDescriptor(A,E).enumerable})),w.push.apply(w,b)}return w}function f(A){for(var v=1;v<arguments.length;v++){var w=arguments[v]!=null?arguments[v]:{};v%2?g(w,!0).forEach(function(b){u(A,b,w[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(w)):g(w).forEach(function(b){Object.defineProperty(A,b,Object.getOwnPropertyDescriptor(w,b))})}return A}function d(A,v){if(A==null)return{};var w=c(A,v),b,E;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(A);for(E=0;E<T.length;E++){if(b=T[E],v.indexOf(b)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,b))continue;w[b]=A[b]}}return w}function c(A,v){if(A==null)return{};var w={},b=Object.keys(A),E,T;for(T=0;T<b.length;T++){if(E=b[T],v.indexOf(E)>=0)continue;w[E]=A[E]}return w}function a(A,v){if(!(A instanceof v))throw new TypeError("Cannot call a class as a function")}function n(A,v){for(var w=0;w<v.length;w++){var b=v[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(A,b.key,b)}}function i(A,v,w){return v&&n(A.prototype,v),w&&n(A,w),A}function o(A,v){return v&&(m(v)==="object"||typeof v=="function")?v:l(A)}function r(A){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},r(A)}function l(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function e(A,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(v&&v.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),v&&s(A,v)}function s(A,v){return s=Object.setPrototypeOf||function(b,E){return b.__proto__=E,b},s(A,v)}function u(A,v,w){return v in A?Object.defineProperty(A,v,{value:w,enumerable:!0,configurable:!0,writable:!0}):A[v]=w,A}var h=function(A){e(v,A);function v(){var w,b;a(this,v);for(var E=arguments.length,T=new Array(E),_=0;_<E;_++)T[_]=arguments[_];return b=o(this,(w=r(v)).call.apply(w,[this].concat(T))),u(l(b),"onClick",function(x){var C=b.props,I=C.text,L=C.onCopy,F=C.children,B=C.options,P=y.default.Children.only(F),H=(0,p.default)(I,B);L&&L(I,H),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(x)}),b}return i(v,[{key:"render",value:function(){var b=this.props,E=b.text,T=b.onCopy,_=b.options,x=b.children,C=d(b,["text","onCopy","options","children"]),I=y.default.Children.only(x);return y.default.cloneElement(I,f({},C,{onClick:this.onClick}))}}]),v}(y.default.PureComponent);N.CopyToClipboard=h,u(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj: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:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",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="ReloadOutlined";var d=N.a=p.forwardRef(f)},rUJ1:function(R,N){var t=/[&<>"']/,y=/[&<>"']/g,p=/[<>"']|&(?!#?\w+;)/,S=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(x){return m[x]};function f(_,x){if(x){if(t.test(_))return _.replace(y,g)}else if(p.test(_))return _.replace(S,g);return _}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function c(_){return _.replace(d,function(x,C){return C=C.toLowerCase(),C==="colon"?":":C.charAt(0)==="#"?C.charAt(1)==="x"?String.fromCharCode(parseInt(C.substring(2),16)):String.fromCharCode(+C.substring(1)):""})}var a=/(^|[^\[])\^/g;function n(_,x){_=_.source||_,x=x||"";var C={replace:function(L,F){return F=F.source||F,F=F.replace(a,"$1"),_=_.replace(L,F),C},getRegex:function(){return new RegExp(_,x)}};return C}var i=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(_,x,C){if(_){var I;try{I=decodeURIComponent(c(C)).replace(i,"").toLowerCase()}catch(L){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}x&&!o.test(C)&&(C=h(x,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(L){return null}return C}var l={},e=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(_,x){l[" "+_]||(e.test(_)?l[" "+_]=_+"/":l[" "+_]=b(_,"/",!0)),_=l[" "+_];var C=_.indexOf(":")===-1;return x.substring(0,2)==="//"?C?x:_.replace(s,"$1")+x:x.charAt(0)==="/"?C?x:_.replace(u,"$1")+x:_+x}var A={exec:function(){}};function v(_){for(var x=1,C,I;x<arguments.length;x++){C=arguments[x];for(I in C)Object.prototype.hasOwnProperty.call(C,I)&&(_[I]=C[I])}return _}function w(_,x){var C=_.replace(/\|/g,function(F,B,P){for(var H=!1,z=B;--z>=0&&P[z]==="\\";)H=!H;return H?"|":" |"}),I=C.split(/ \|/),L=0;if(I.length>x)I.splice(x);else for(;I.length<x;)I.push("");for(;L<I.length;L++)I[L]=I[L].trim().replace(/\\\|/g,"|");return I}function b(_,x,C){var I=_.length;if(I===0)return"";for(var L=0;L<I;){var F=_.charAt(I-L-1);if(F===x&&!C)L++;else if(F!==x&&C)L++;else break}return _.substr(0,I-L)}function E(_,x){if(_.indexOf(x[1])===-1)return-1;for(var C=_.length,I=0,L=0;L<C;L++)if(_[L]==="\\")L++;else if(_[L]===x[0])I++;else if(_[L]===x[1]&&(I--,I<0))return L;return-1}function T(_){_&&_.sanitize&&!_.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}R.exports={escape:f,unescape:c,edit:n,cleanUrl:r,resolveUrl:h,noopTest:A,merge:v,splitCells:w,rtrim:b,findClosingBracket:E,checkSanitizeDeprecation:T}},rdUC:function(R,N,t){var y=t("MFOe"),p=y.Global;R.exports={name:"localStorage",read:m,write:g,each:f,remove:d,clearAll:c};function S(){return p.localStorage}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()}},rdor:function(R,N,t){var y=t("lOQZ"),p=y.circularLayout;function S(m){m.eachSeriesByType("graph",function(g){g.get("layout")==="circular"&&p(g,"symbolSize")})}R.exports=S},rfSb:function(R,N,t){var y=t("T4UG"),p=t("sdST"),S=t("L0Ub"),m=S.getDimensionTypeByAxis,g=t("YXkt"),f=t("bYtY"),d=t("4NO4"),c=d.groupData,a=t("7aKB"),n=a.encodeHTML,i=t("xKMd"),o=2,r=y.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new i(f.bind(this.getData,this),f.bind(this.getRawData,this))},fixData:function(e){var s=e.length,u=c(e,function(P){return P[2]}),h=[];u.buckets.each(function(P,H){h.push({name:H,dataList:P})});for(var A=h.length,v=-1,w=-1,b=0;b<A;++b){var E=h[b].dataList.length;E>v&&(v=E,w=b)}for(var T=0;T<A;++T){if(T===w)continue;for(var _=h[T].name,x=0;x<v;++x){for(var C=h[w].dataList[x][0],I=h[T].dataList.length,L=-1,F=0;F<I;++F){var B=h[T].dataList[F][0];if(B===C){L=F;break}}L===-1&&(e[s]=[],e[s][0]=C,e[s][1]=0,e[s][2]=_,s++)}}return e},getInitialData:function(e,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],h=u.get("type"),A=f.filter(e.data,function(C){return C[2]!==void 0}),v=this.fixData(A||[]),w=[],b=this.nameMap=f.createHashMap(),E=0,T=0;T<v.length;++T)w.push(v[T][o]),b.get(v[T][o])||(b.set(v[T][o],E),E++);var _=p(v,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new g(_,this);return x.initData(v),x},getLayerSeries:function(){for(var e=this.getData(),s=e.count(),u=[],h=0;h<s;++h)u[h]=h;var A=e.mapDimension("single"),v=c(u,function(b){return e.get("name",b)}),w=[];return v.buckets.each(function(b,E){b.sort(function(T,_){return e.get(A,T)-e.get(A,_)}),w.push({name:E,indices:b})}),w},getAxisTooltipData:function(e,s,u){f.isArray(e)||(e=e?[e]:[]);for(var h=this.getData(),A=this.getLayerSeries(),v=[],w=A.length,b,E=0;E<w;++E){for(var T=Number.MAX_VALUE,_=-1,x=A[E].indices.length,C=0;C<x;++C){var I=h.get(e[0],A[E].indices[C]),L=Math.abs(I-s);L<=T&&(b=I,T=L,_=A[E].indices[C])}v.push(_)}return{dataIndices:v,nestestValue:b}},formatTooltip:function(e){var s=this.getData(),u=s.getName(e),h=s.get(s.mapDimension("value"),e);return(isNaN(h)||h==null)&&(h="-"),n(u+" : "+h)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=r;R.exports=l},rkZ5:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("c8qY"),g=t("D9ME"),f=t("fls0"),d=t("RSch"),c=t("akwb"),a=t("o40c"),n=t("ZYIC"),i=t("sK/D"),o=i.createClipPath,r=S.extendChartView({type:"lines",init:function(){},render:function(l,e,s){var u=l.getData(),h=this._updateLineDraw(u,l),A=l.get("zlevel"),v=l.get("effect.trailLength"),w=s.getZr(),b=w.painter.getType()==="svg";b||w.painter.getLayer(A).clear(!0),this._lastZlevel!=null&&!b&&w.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&v&&(b||w.configLayer(A,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(v/10+.9,1),0)})),h.updateData(u);var E=l.get("clip",!0)&&o(l.coordinateSystem,!1,l);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=A,this._finished=!0},incrementalPrepareRender:function(l,e,s){var u=l.getData(),h=this._updateLineDraw(u,l);h.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,e,s){this._lineDraw.incrementalUpdate(l,e.getData()),this._finished=l.end===e.getData().count()},updateTransform:function(l,e,s){var u=l.getData(),h=l.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var A=n.reset(l);A.progress&&A.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,e){var s=this._lineDraw,u=this._showEffect(e),h=!!e.get("polyline"),A=e.pipelineContext,v=A.large;return(!s||u!==this._hasEffet||h!==this._isPolyline||v!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=v?new a:new m(h?u?c:d:u?g:f),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=v,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var e=l.getZr(),s=e.painter.getType()==="svg";!s&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});R.exports=r},rmlV:function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,g){var f=.5522848,d=g.cx,c=g.cy,a=g.rx,n=g.ry,i=a*f,o=n*f;m.moveTo(d-a,c),m.bezierCurveTo(d-a,c-o,d-i,c-n,d,c-n),m.bezierCurveTo(d+i,c-n,d+a,c-o,d+a,c),m.bezierCurveTo(d+a,c+o,d+i,c+n,d,c+n),m.bezierCurveTo(d-i,c+n,d-a,c+o,d-a,c),m.closePath()}});R.exports=p},rnVJ:function(R,N,t){var y=t("bYtY"),p=["rect","polygon","keep","clear"];function S(g,f){var d=g&&g.brush;if(y.isArray(d)||(d=d?[d]:[]),!d.length)return;var c=[];y.each(d,function(r){var l=r.hasOwnProperty("toolbox")?r.toolbox:[];l instanceof Array&&(c=c.concat(l))});var a=g&&g.toolbox;y.isArray(a)&&(a=a[0]),a||(a={feature:{}},g.toolbox=[a]);var n=a.feature||(a.feature={}),i=n.brush||(n.brush={}),o=i.type||(i.type=[]);o.push.apply(o,c),m(o),f&&!o.length&&o.push.apply(o,p)}function m(g){var f={};y.each(g,function(d){f[d]=1}),g.length=0,y.each(f,function(d,c){g.push(c)})}R.exports=S},rwxt:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=t("GdRQ");function p(d,c){if(!(d instanceof c))throw new TypeError("Cannot call a class as a function")}function S(d,c){for(var a=0;a<c.length;a++){var n=c[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}function m(d,c,a){return c&&S(d.prototype,c),a&&S(d,a),d}var g=!y.supportsCursorURIs||y.isTouchDevice,f=function(){function d(){p(this,d),this._target=null,this._canvas=document.createElement("canvas"),g&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(d,[{key:"attach",value:function(a){if(this._target&&this.detach(),this._target=a,g){document.body.appendChild(this._canvas);var n={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,n),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,n),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,n),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,n)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(g){var a={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,a),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,a),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,a),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,a),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(a,n,i,o,r){if(o===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-n,this._position.y=this._position.y+this._hotSpot.y-i,this._hotSpot.x=n,this._hotSpot.y=i;var l=this._canvas.getContext("2d");this._canvas.width=o,this._canvas.height=r;var e;try{e=new ImageData(new Uint8ClampedArray(a),o,r)}catch(u){e=l.createImageData(o,r),e.data.set(new Uint8ClampedArray(a))}if(l.clearRect(0,0,o,r),l.putImageData(e,0,0),g)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+n+" "+i+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(a,n){if(!g)return;window.visualViewport?(this._position.x=a+window.visualViewport.offsetLeft,this._position.y=n+window.visualViewport.offsetTop):(this._position.x=a,this._position.y=n),this._updatePosition();var i=document.elementFromPoint(a,n);this._updateVisibility(i)}},{key:"_handleMouseOver",value:function(a){this._handleMouseMove(a)}},{key:"_handleMouseLeave",value:function(a){this._updateVisibility(a.relatedTarget)}},{key:"_handleMouseMove",value:function(a){this._updateVisibility(a.target),this._position.x=a.clientX-this._hotSpot.x,this._position.y=a.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(a){var n=this,i=document.elementFromPoint(a.clientX,a.clientY);this._updateVisibility(i),this._captureIsActive()&&window.setTimeout(function(){if(!n._target)return;i=document.elementFromPoint(a.clientX,a.clientY),n._updateVisibility(i)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(a){return a?a===this._target?!0:this._target.contains(a)?!(window.getComputedStyle(a).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(a){this._captureIsActive()&&(a=document.captureElement),this._shouldShowCursor(a)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),d}();N.default=f},rySg:function(R,N,t){t("SMc4"),t("8nMs")},s2MQ: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.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};N.default=y},s2lz:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS"),m=t("gPAo"),g=t("VaxA"),f=t("9hCq"),d=t("SgGq"),c=t("mFDi"),a=t("Fofx"),n=t("5s0K"),i=t("KCsZ"),o=t("7aKB"),r=o.windowOpen,l=p.bind,e=S.Group,s=S.Rect,u=p.each,h=3,A=["label"],v=["emphasis","label"],w=["upperLabel"],b=["emphasis","upperLabel"],E=10,T=1,_=2,x=i([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(P){var H=x(P);return H.stroke=H.fill=H.lineWidth=null,H},I=y.extendChartView({type:"treemap",init:function(P,H){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(P,H,z,M){var U=H.findComponents({mainType:"series",subType:"treemap",query:M});if(p.indexOf(U,P)<0)return;this.seriesModel=P,this.api=z,this.ecModel=H;var k=["treemapZoomToNode","treemapRootToNode"],K=g.retrieveTargetInfo(M,k,P),j=M&&M.type,V=P.layoutInfo,W=!this._oldTree,X=this._storage,J=j==="treemapRootToNode"&&K&&X?{rootNodeGroup:X.nodeGroup[K.node.getRawIndex()],direction:M.direction}:null,de=this._giveContainerGroup(V),G=this._doRender(de,P,J);!W&&(!j||j==="treemapZoomToNode"||j==="treemapRootToNode")?this._doAnimation(de,G,P,J):G.renderFinally(),this._resetController(z),this._renderBreadcrumb(P,z,K)},_giveContainerGroup:function(P){var H=this._containerGroup;return H||(H=this._containerGroup=new e,this._initEvents(H),this.group.add(H)),H.attr("position",[P.x,P.y]),H},_doRender:function(P,H,z){var M=H.getData().tree,U=this._oldTree,k=L(),K=L(),j=this._storage,V=[],W=p.curry(F,H,K,j,z,k,V);J(M.root?[M.root]:[],U&&U.root?[U.root]:[],P,M===U||!U,0);var X=de(j);return this._oldTree=M,this._storage=K,{lastsForAnimation:k,willDeleteEls:X,renderFinally:G};function J(ae,Ae,me,Me,oe){Me?(Ae=ae,u(ae,function(ne,Ge){!ne.isRemoved()&&ee(Ge,Ge)})):new m(Ae,ae,_e,_e).add(ee).update(ee).remove(p.curry(ee,null)).execute();function _e(ne){return ne.getId()}function ee(ne,Ge){var Ee=ne!=null?ae[ne]:null,ue=Ge!=null?Ae[Ge]:null,re=W(Ee,ue,me,oe);re&&J(Ee&&Ee.viewChildren||[],ue&&ue.viewChildren||[],re,Me,oe+1)}}function de(ae){var Ae=L();return ae&&u(ae,function(me,Me){var oe=Ae[Me];u(me,function(_e){_e&&(oe.push(_e),_e.__tmWillDelete=1)})}),Ae}function G(){u(X,function(ae){u(ae,function(Ae){Ae.parent&&Ae.parent.remove(Ae)})}),u(V,function(ae){ae.invisible=!0,ae.dirty()})}},_doAnimation:function(P,H,z,M){if(!z.get("animation"))return;var U=z.get("animationDurationUpdate"),k=z.get("animationEasing"),K=n.createWrap();u(H.willDeleteEls,function(j,V){u(j,function(W,X){if(W.invisible)return;var J=W.parent,de;if(M&&M.direction==="drillDown")de=J===M.rootNodeGroup?{shape:{x:0,y:0,width:J.__tmNodeWidth,height:J.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var G=0,ae=0;J.__tmWillDelete||(G=J.__tmNodeWidth/2,ae=J.__tmNodeHeight/2),de=V==="nodeGroup"?{position:[G,ae],style:{opacity:0}}:{shape:{x:G,y:ae,width:0,height:0},style:{opacity:0}}}de&&K.add(W,de,U,k)})}),u(this._storage,function(j,V){u(j,function(W,X){var J=H.lastsForAnimation[V][X],de={};if(!J)return;V==="nodeGroup"?J.old&&(de.position=W.position.slice(),W.attr("position",J.old)):(J.old&&(de.shape=p.extend({},W.shape),W.setShape(J.old)),J.fadein?(W.setStyle("opacity",0),de.style={opacity:1}):W.style.opacity!==1&&(de.style={opacity:1})),K.add(W,de,U,k)})},this),this._state="animating",K.done(l(function(){this._state="ready",H.renderFinally()},this)).start()},_resetController:function(P){var H=this._controller;H||(H=this._controller=new d(P.getZr()),H.enable(this.seriesModel.get("roam")),H.on("pan",l(this._onPan,this)),H.on("zoom",l(this._onZoom,this)));var z=new c(0,0,P.getWidth(),P.getHeight());H.setPointerChecker(function(M,U,k){return z.contain(U,k)})},_clearController:function(){var P=this._controller;P&&(P.dispose(),P=null)},_onPan:function(P){if(this._state!=="animating"&&(Math.abs(P.dx)>h||Math.abs(P.dy)>h)){var H=this.seriesModel.getData().tree.root;if(!H)return;var z=H.getLayout();if(!z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x+P.dx,y:z.y+P.dy,width:z.width,height:z.height}})}},_onZoom:function(P){var H=P.originX,z=P.originY;if(this._state!=="animating"){var M=this.seriesModel.getData().tree.root;if(!M)return;var U=M.getLayout();if(!U)return;var k=new c(U.x,U.y,U.width,U.height),K=this.seriesModel.layoutInfo;H-=K.x,z-=K.y;var j=a.create();a.translate(j,j,[-H,-z]),a.scale(j,j,[P.scale,P.scale]),a.translate(j,j,[H,z]),k.applyTransform(j),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:k.x,y:k.y,width:k.width,height:k.height}})}},_initEvents:function(P){P.on("click",function(H){if(this._state!=="ready")return;var z=this.seriesModel.get("nodeClick",!0);if(!z)return;var M=this.findTarget(H.offsetX,H.offsetY);if(!M)return;var U=M.node;if(U.getLayout().isLeafRoot)this._rootToNode(M);else if(z==="zoomToNode")this._zoomToNode(M);else if(z==="link"){var k=U.hostTree.data.getItemModel(U.dataIndex),K=k.get("link",!0),j=k.get("target",!0)||"blank";K&&r(K,j)}},this)},_renderBreadcrumb:function(P,H,z){z||(z=P.get("leafDepth",!0)!=null?{node:P.getViewRoot()}:this.findTarget(H.getWidth()/2,H.getHeight()/2),z||(z={node:P.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f(this.group))).render(P,H,z.node,l(M,this));function M(U){this._state!=="animating"&&(g.aboveViewRoot(P.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(P){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},_rootToNode:function(P){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},findTarget:function(P,H){var z,M=this.seriesModel.getViewRoot();return M.eachNode({attr:"viewChildren",order:"preorder"},function(U){var k=this._storage.background[U.getRawIndex()];if(k){var K=k.transformCoordToLocal(P,H),j=k.shape;if(j.x<=K[0]&&K[0]<=j.x+j.width&&j.y<=K[1]&&K[1]<=j.y+j.height)z={node:U,offsetX:K[0],offsetY:K[1]};else return!1}},this),z}});function L(){return{nodeGroup:[],background:[],content:[]}}function F(P,H,z,M,U,k,K,j,V,W){if(!K)return;var X=K.getLayout(),J=P.getData();if(J.setItemGraphicEl(K.dataIndex,null),!X||!X.isInView)return;var de=X.width,G=X.height,ae=X.borderWidth,Ae=X.invisible,me=K.getRawIndex(),Me=j&&j.getRawIndex(),oe=K.viewChildren,_e=X.upperHeight,ee=oe&&oe.length,ne=K.getModel("itemStyle"),Ge=K.getModel("emphasis.itemStyle"),Ee=ye("nodeGroup",e);if(!Ee)return;if(V.add(Ee),Ee.attr("position",[X.x||0,X.y||0]),Ee.__tmNodeWidth=de,Ee.__tmNodeHeight=G,X.isAboveViewRoot)return Ee;var ue=K.getModel(),re=ye("background",s,W,T);if(re&&ke(Ee,re,ee&&X.upperLabelHeight),ee)S.isHighDownDispatcher(Ee)&&S.setAsHighDownDispatcher(Ee,!1),re&&(S.setAsHighDownDispatcher(re,!0),J.setItemGraphicEl(K.dataIndex,re));else{var ce=ye("content",s,W,_);ce&&Te(Ee,ce),re&&S.isHighDownDispatcher(re)&&S.setAsHighDownDispatcher(re,!1),S.setAsHighDownDispatcher(Ee,!0),J.setItemGraphicEl(K.dataIndex,Ee)}return Ee;function ke(pt,nt,Oe){if(nt.dataIndex=K.dataIndex,nt.seriesIndex=P.seriesIndex,nt.setShape({x:0,y:0,width:de,height:G}),Ae)Ke(nt);else{nt.invisible=!1;var vt=K.getVisual("borderColor",!0),Ze=Ge.get("borderColor"),wt=C(ne);wt.fill=vt;var xt=x(Ge);if(xt.fill=Ze,Oe){var Ot=de-2*ae;Ie(wt,xt,vt,Ot,_e,{x:ae,y:0,width:Ot,height:_e})}else wt.text=xt.text=null;nt.setStyle(wt),S.setElementHoverStyle(nt,xt)}pt.add(nt)}function Te(pt,nt){nt.dataIndex=K.dataIndex,nt.seriesIndex=P.seriesIndex;var Oe=Math.max(de-2*ae,0),vt=Math.max(G-2*ae,0);if(nt.culling=!0,nt.setShape({x:ae,y:ae,width:Oe,height:vt}),Ae)Ke(nt);else{nt.invisible=!1;var Ze=K.getVisual("color",!0),wt=C(ne);wt.fill=Ze;var xt=x(Ge);Ie(wt,xt,Ze,Oe,vt),nt.setStyle(wt),S.setElementHoverStyle(nt,xt)}pt.add(nt)}function Ke(pt){!pt.invisible&&k.push(pt)}function Ie(pt,nt,Oe,vt,Ze,wt){var xt=ue.get("name"),Ot=ue.getModel(wt?w:A),Mt=ue.getModel(wt?b:v),Gt=Ot.getShallow("show");S.setLabelStyle(pt,nt,Ot,Mt,{defaultText:Gt?xt:null,autoColor:Oe,isRectText:!0,labelFetcher:P,labelDataIndex:K.dataIndex,labelProp:wt?"upperLabel":"label"}),se(pt,wt,X),se(nt,wt,X),wt&&(pt.textRect=p.clone(wt)),pt.truncate=Gt&&Ot.get("ellipsis")?{outerWidth:vt,outerHeight:Ze,minChar:2}:null}function se(pt,nt,Oe){var vt=pt.text;if(!nt&&Oe.isLeafRoot&&vt!=null){var Ze=P.get("drillDownIcon",!0);pt.text=Ze?Ze+" "+vt:vt}}function ye(pt,nt,Oe,vt){var Ze=Me!=null&&z[pt][Me],wt=U[pt];return Ze?(z[pt][Me]=null,xe(wt,Ze,pt)):Ae||(Ze=new nt({z:B(Oe,vt)}),Ze.__tmDepth=Oe,Ze.__tmStorageName=pt,Ye(wt,Ze,pt)),H[pt][me]=Ze}function xe(pt,nt,Oe){var vt=pt[me]={};vt.old=Oe==="nodeGroup"?nt.position.slice():p.extend({},nt.shape)}function Ye(pt,nt,Oe){var vt=pt[me]={},Ze=K.parentNode;if(Ze&&(!M||M.direction==="drillDown")){var wt=0,xt=0,Ot=U.background[Ze.getRawIndex()];!M&&Ot&&Ot.old&&(wt=Ot.old.width,xt=Ot.old.height),vt.old=Oe==="nodeGroup"?[0,xt]:{x:wt,y:xt,width:0,height:0}}vt.fadein=Oe!=="nodeGroup"}}function B(P,H){var z=P*E+H;return(z-1)/z}R.exports=I},sAZ8:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("+rIm"),m=t("/IIm"),g=t("9KIM"),f=t("IwbS"),d=["axisLine","axisTickLabel","axisName"],c=y.extendComponentView({type:"parallelAxis",init:function(r,l){c.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",p.bind(this._onBrush,this))},render:function(r,l,e,s){if(a(r,l,s))return;this.axisModel=r,this.api=e,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!r.get("show"))return;var h=i(r,l),A=h.coordinateSystem,v=r.getAreaSelectStyle(),w=v.width,b=r.axis.dim,E=A.getAxisLayout(b),T=p.extend({strokeContainThreshold:w},E),_=new S(r,T);p.each(d,_.add,_),this._axisGroup.add(_.getGroup()),this._refreshBrushController(T,v,r,h,w,e);var x=s&&s.animation===!1?null:r;f.groupTransition(u,this._axisGroup,x)},_refreshBrushController:function(r,l,e,s,u,h){var A=e.axis.getExtent(),v=A[1]-A[0],w=Math.min(30,Math.abs(v)*.1),b=f.BoundingRect.create({x:A[0],y:-u/2,width:v,height:u});b.x-=w,b.width+=2*w,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:g.makeRectPanelClipPath(b),isTargetByCursor:g.makeRectIsTargetByCursor(b,h,s),getLinearBrushOtherExtent:g.makeLinearBrushOtherExtent(b,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(n(e))},_onBrush:function(r,l){var e=this.axisModel,s=e.axis,u=p.map(r,function(h){return[s.coordToData(h.range[0],!0),s.coordToData(h.range[1],!0)]});(!e.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function a(r,l,e){return e&&e.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:e})[0]===r}function n(r){var l=r.axis;return p.map(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(e[0],!0),l.dataToCoord(e[1],!0)]}})}function i(r,l){return l.getComponent("parallel",r.get("parallelIndex"))}var o=c;R.exports=o},sE09:function(R,N,t){},sGsY:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("q1tI"),f=t("TSYQ"),d=t.n(f),c=t("H84U"),a=t("B6l+"),n=t.n(a),i=function(K){var j=K.value,V=K.formatter,W=K.precision,X=K.decimalSeparator,J=K.groupSeparator,de=J===void 0?"":J,G=K.prefixCls,ae;if(typeof V=="function")ae=V(j);else{var Ae=String(j),me=Ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!me||Ae==="-")ae=Ae;else{var Me=me[1],oe=me[2]||"0",_e=me[4]||"";oe=oe.replace(/\B(?=(\d{3})+(?!\d))/g,de),typeof W=="number"&&(_e=n()(_e,W,"0").slice(0,W)),_e&&(_e="".concat(X).concat(_e)),ae=[g.createElement("span",{key:"int",className:"".concat(G,"-content-value-int")},Me,oe),_e&&g.createElement("span",{key:"decimal",className:"".concat(G,"-content-value-decimal")},_e)]}}return g.createElement("span",{className:"".concat(G,"-content-value")},ae)},o=i,r=function(K){var j=K.prefixCls,V=K.className,W=K.style,X=K.valueStyle,J=K.value,de=J===void 0?0:J,G=K.title,ae=K.valueRender,Ae=K.prefix,me=K.suffix,Me=K.direction,oe=K.onMouseEnter,_e=K.onMouseLeave,ee=g.createElement(o,m()({},K,{value:de})),ne=d()(j,V,p()({},"".concat(j,"-rtl"),Me==="rtl"));return g.createElement("div",{className:ne,style:W,onMouseEnter:oe,onMouseLeave:_e},G&&g.createElement("div",{className:"".concat(j,"-title")},G),g.createElement("div",{style:X,className:"".concat(j,"-content")},Ae&&g.createElement("span",{className:"".concat(j,"-content-prefix")},Ae),ae?ae(ee):ee,me&&g.createElement("span",{className:"".concat(j,"-content-suffix")},me)))};r.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(c.c)({prefixCls:"statistic"})(r),e=l,s=t("lwsE"),u=t.n(s),h=t("W8MJ"),A=t.n(h),v=t("7W2i"),w=t.n(v),b=t("LQ03"),E=t.n(b),T=t("J4zp"),_=t.n(T),x=t("QQZ/"),C=t.n(x),I=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function L(k,K){var j=k,V=/\[[^\]]*]/g,W=(K.match(V)||[]).map(function(G){return G.slice(1,-1)}),X=K.replace(V,"[]"),J=I.reduce(function(G,ae){var Ae=_()(ae,2),me=Ae[0],Me=Ae[1];if(G.indexOf(me)!==-1){var oe=Math.floor(j/Me);return j-=oe*Me,G.replace(new RegExp("".concat(me,"+"),"g"),function(_e){var ee=_e.length;return C()(oe.toString(),ee,"0")})}return G},X),de=0;return J.replace(V,function(){var G=W[de];return de+=1,G})}function F(k,K){var j=K.format,V=j===void 0?"":j,W=new Date(k).getTime(),X=Date.now(),J=Math.max(W-X,0);return L(J,V)}var B=t("0n0R"),P=1e3/30;function H(k){return new Date(k).getTime()}var z=function(k){w()(j,k);var K=E()(j);function j(){var V;return u()(this,j),V=K.apply(this,arguments),V.syncTimer=function(){var W=V.props.value,X=H(W);X>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},P)},V.stopTimer=function(){var W=V.props,X=W.onFinish,J=W.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var de=H(J);X&&de<Date.now()&&X()}},V.formatCountdown=function(W,X){var J=V.props.format;return F(W,m()(m()({},X),{format:J}))},V.valueRender=function(W){return Object(B.a)(W,{title:void 0})},V}return A()(j,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return g.createElement(e,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),j}(g.Component);z.defaultProps={format:"HH:mm:ss"};var M=z;e.Countdown=M;var U=N.a=e},"sK/D":function(R,N,t){var y=t("IwbS"),p=t("OELB"),S=p.round;function m(d,c,a){var n=d.getArea(),i=d.getBaseAxis().isHorizontal(),o=n.x,r=n.y,l=n.width,e=n.height,s=a.get("lineStyle.width")||2;o-=s/2,r-=s/2,l+=s,e+=s,o=Math.floor(o),l=Math.round(l);var u=new y.Rect({shape:{x:o,y:r,width:l,height:e}});return c&&(u.shape[i?"width":"height"]=0,y.initProps(u,{shape:{width:l,height:e}},a)),u}function g(d,c,a){var n=d.getArea(),i=new y.Sector({shape:{cx:S(d.cx,1),cy:S(d.cy,1),r0:S(n.r0,1),r:S(n.r,1),startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return c&&(i.shape.endAngle=n.startAngle,y.initProps(i,{shape:{endAngle:n.endAngle}},a)),i}function f(d,c,a){if(d){if(d.type==="polar")return g(d,c,a);if(d.type==="cartesian2d")return m(d,c,a)}else return null;return null}N.createGridClipPath=m,N.createPolarClipPath=g,N.createClipPath=f},sKgW:function(R,N){var t=9007199254740991,y=Math.floor;function p(S,m){var g="";if(!S||m<1||m>t)return g;do m%2&&(g+=S),m=y(m/2),m&&(S+=S);while(m);return g}R.exports=p},sPJy:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("AOa7"),m=t.n(S),g=t("lUTK"),f=t("qVdP")},sPtV:function(R,N,t){"use strict";t.d(N,"a",function(){return m});var y=t("q1tI"),p=t.n(y),S=t("hkKa");function m(g){var f=y.useRef(g),d=Object(S.a)();return[function(){return f.current},function(c){f.current=c,d()}]}},sRBo:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("KCY9"),m=t.n(S)},sRwP:function(R,N,t){t("jsU+"),t("2548"),t("Tp9H"),t("06DH"),t("dnwI"),t("fE02"),t("33Ds")},"sS/r":function(R,N,t){var y=t("4fz+"),p=t("iRjW"),S=t("Yl7c"),m=function(){this.group=new y,this.uid=p.getUID("viewComponent")};m.prototype={constructor:m,init:function(d,c){},render:function(d,c,a,n){},dispose:function(){},filterForExposedEvent:null};var g=m.prototype;g.updateView=g.updateLayout=g.updateVisual=function(d,c,a,n){},S.enableClassExtend(m),S.enableClassManagement(m,{registerWhenExtend:!0});var f=m;R.exports=f},"sW+o":function(R,N,t){var y=t("SrGk"),p=t("bYtY"),S=t("SUKs"),m=t("Qe9p");function g(d,c){y.call(this,d,c,["linearGradient","radialGradient"],"__gradient_in_use__")}p.inherits(g,y),g.prototype.addWithoutUpdate=function(d,c){if(c&&c.style){var a=this;p.each(["fill","stroke"],function(n){if(c.style[n]&&(c.style[n].type==="linear"||c.style[n].type==="radial")){var i=c.style[n],o=a.getDefs(!0),r;i._dom?(r=i._dom,o.contains(i._dom)||a.addDom(r)):r=a.add(i),a.markUsed(c);var l=r.getAttribute("id");d.setAttribute(n,"url(#"+l+")")}})}},g.prototype.add=function(d){var c;if(d.type==="linear")c=this.createElement("linearGradient");else if(d.type==="radial")c=this.createElement("radialGradient");else return S("Illegal gradient type."),null;return d.id=d.id||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-gradient-"+d.id),this.updateDom(d,c),this.addDom(c),c},g.prototype.update=function(d){var c=this;y.prototype.update.call(this,d,function(){var a=d.type,n=d._dom.tagName;a==="linear"&&n==="linearGradient"||a==="radial"&&n==="radialGradient"?c.updateDom(d,d._dom):(c.removeDom(d),c.add(d))})},g.prototype.updateDom=function(d,c){if(d.type==="linear")c.setAttribute("x1",d.x),c.setAttribute("y1",d.y),c.setAttribute("x2",d.x2),c.setAttribute("y2",d.y2);else if(d.type==="radial")c.setAttribute("cx",d.x),c.setAttribute("cy",d.y),c.setAttribute("r",d.r);else{S("Illegal gradient type.");return}d.global?c.setAttribute("gradientUnits","userSpaceOnUse"):c.setAttribute("gradientUnits","objectBoundingBox"),c.innerHTML="";for(var a=d.colorStops,n=0,i=a.length;n<i;++n){var o=this.createElement("stop");o.setAttribute("offset",a[n].offset*100+"%");var r=a[n].color;if(r.indexOf("rgba">-1)){var l=m.parse(r)[3],e=m.toHex(r);o.setAttribute("stop-color","#"+e),o.setAttribute("stop-opacity",l)}else o.setAttribute("stop-color",a[n].color);c.appendChild(o)}d._dom=c},g.prototype.markUsed=function(d){if(d.style){var c=d.style.fill;c&&c._dom&&y.prototype.markUsed.call(this,c._dom),c=d.style.stroke,c&&c._dom&&y.prototype.markUsed.call(this,c._dom)}};var f=g;R.exports=f},sboe:function(R,N,t){"use strict";t.d(N,"a",function(){return S});var y=t("q1tI"),p=t.n(y),S=y.createContext(null)},sdST:function(R,N,t){var y=t("hi0g");function p(S,m){return m=m||{},y(m.coordDimensions||[],S,{dimsDef:m.dimensionsDefine||S.dimensionsDefine,encodeDef:m.encodeDefine||S.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}R.exports=p},sjKO:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=S;var y=30,p=12;function S(m,g){var f,d,c,a,n,i,o,r,l,e,s,u,h,A,v,w,b,E,T,_,x,C,I,L,F;f=m.state,d=m.next_in,L=m.input,c=d+(m.avail_in-5),a=m.next_out,F=m.output,n=a-(g-m.avail_out),i=a+(m.avail_out-257),o=f.dmax,r=f.wsize,l=f.whave,e=f.wnext,s=f.window,u=f.hold,h=f.bits,A=f.lencode,v=f.distcode,w=(1<<f.lenbits)-1,b=(1<<f.distbits)-1;e:do{h<15&&(u+=L[d++]<<h,h+=8,u+=L[d++]<<h,h+=8),E=A[u&w];t:for(;;){if(T=E>>>24,u>>>=T,h-=T,T=E>>>16&255,T===0)F[a++]=E&65535;else if(T&16){_=E&65535,T&=15,T&&(h<T&&(u+=L[d++]<<h,h+=8),_+=u&(1<<T)-1,u>>>=T,h-=T),h<15&&(u+=L[d++]<<h,h+=8,u+=L[d++]<<h,h+=8),E=v[u&b];r:for(;;){if(T=E>>>24,u>>>=T,h-=T,T=E>>>16&255,T&16){if(x=E&65535,T&=15,h<T&&(u+=L[d++]<<h,h+=8,h<T&&(u+=L[d++]<<h,h+=8)),x+=u&(1<<T)-1,x>o){m.msg="invalid distance too far back",f.mode=y;break e}if(u>>>=T,h-=T,T=a-n,x>T){if(T=x-T,T>l&&f.sane){m.msg="invalid distance too far back",f.mode=y;break e}if(C=0,I=s,e===0){if(C+=r-T,T<_){_-=T;do F[a++]=s[C++];while(--T);C=a-x,I=F}}else if(e<T){if(C+=r+e-T,T-=e,T<_){_-=T;do F[a++]=s[C++];while(--T);if(C=0,e<_){T=e,_-=T;do F[a++]=s[C++];while(--T);C=a-x,I=F}}}else if(C+=e-T,T<_){_-=T;do F[a++]=s[C++];while(--T);C=a-x,I=F}for(;_>2;)F[a++]=I[C++],F[a++]=I[C++],F[a++]=I[C++],_-=3;_&&(F[a++]=I[C++],_>1&&(F[a++]=I[C++]))}else{C=a-x;do F[a++]=F[C++],F[a++]=F[C++],F[a++]=F[C++],_-=3;while(_>2);_&&(F[a++]=F[C++],_>1&&(F[a++]=F[C++]))}}else if((T&64)===0){E=v[(E&65535)+(u&(1<<T)-1)];continue r}else{m.msg="invalid distance code",f.mode=y;break e}break}}else if((T&64)===0){E=A[(E&65535)+(u&(1<<T)-1)];continue t}else if(T&32){f.mode=p;break e}else{m.msg="invalid literal/length code",f.mode=y;break e}break}}while(d<c&&a<i);_=h>>3,d-=_,h-=_<<3,u&=(1<<h)-1,m.next_in=d,m.next_out=a,m.avail_in=d<c?5+(c-d):5-(d-c),m.avail_out=a<i?257+(i-a):257-(a-i),f.hold=u,f.bits=h;return}},szbU:function(R,N,t){var y=t("bYtY"),p=y.each;function S(g){var f=g&&g.visualMap;y.isArray(f)||(f=f?[f]:[]),p(f,function(d){if(!d)return;m(d,"splitList")&&!m(d,"pieces")&&(d.pieces=d.splitList,delete d.splitList);var c=d.pieces;c&&y.isArray(c)&&p(c,function(a){y.isObject(a)&&(m(a,"start")&&!m(a,"min")&&(a.min=a.start),m(a,"end")&&!m(a,"max")&&(a.max=a.end))})})}function m(g,f){return g&&g.hasOwnProperty&&g.hasOwnProperty(f)}R.exports=S},t23M:function(R,N,t){"use strict";var y=t("VTBJ"),p=t("1OyB"),S=t("vuIU"),m=t("Ji7U"),g=t("LK+K"),f=t("q1tI"),d=t.n(f),c=t("m+aA"),a=t("Zm9Q"),n=t("Kwbf"),i=t("c+Xe"),o=t("bdgK"),r="rc-observer-key",l=function(e){Object(m.a)(u,e);var s=Object(g.a)(u);function u(){var h;return Object(p.a)(this,u),h=s.apply(this,arguments),h.resizeObserver=null,h.childNode=null,h.currentElement=null,h.state={width:0,height:0,offsetHeight:0,offsetWidth:0},h.onResize=function(A){var v=h.props.onResize,w=A[0].target,b=w.getBoundingClientRect(),E=b.width,T=b.height,_=w.offsetWidth,x=w.offsetHeight,C=Math.floor(E),I=Math.floor(T);if(h.state.width!==C||h.state.height!==I||h.state.offsetWidth!==_||h.state.offsetHeight!==x){var L={width:C,height:I,offsetWidth:_,offsetHeight:x};h.setState(L),v&&Promise.resolve().then(function(){v(Object(y.a)(Object(y.a)({},L),{},{offsetWidth:_,offsetHeight:x}))})}},h.setChildNode=function(A){h.childNode=A},h}return Object(S.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var A=this.props.disabled;if(A){this.destroyObserver();return}var v=Object(c.a)(this.childNode||this),w=v!==this.currentElement;w&&(this.destroyObserver(),this.currentElement=v),!this.resizeObserver&&v&&(this.resizeObserver=new o.default(this.onResize),this.resizeObserver.observe(v))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var A=this.props.children,v=Object(a.a)(A);if(v.length>1)Object(n.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(v.length===0)return Object(n.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var w=v[0];if(f.isValidElement(w)&&Object(i.c)(w)){var b=w.ref;v[0]=f.cloneElement(w,{ref:Object(i.a)(b,this.setChildNode)})}return v.length===1?v[0]:v.map(function(E,T){return!f.isValidElement(E)||"key"in E&&E.key!==null?E:f.cloneElement(E,{key:"".concat(r,"-").concat(T)})})}}]),u}(f.Component);l.displayName="ResizeObserver",N.a=l},t3Fx:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var h=arguments[u];for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(s[A]=h[A])}return s},p=function(){function s(u,h){for(var A=0;A<h.length;A++){var v=h[A];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(u,v.key,v)}}return function(u,h,A){return h&&s(u.prototype,h),A&&s(u,A),u}}(),S=t("q1tI"),m=i(S),g=t("17x9"),f=i(g),d=t("tkwv"),c=i(d),a=t("u3os"),n=t("kzFp");function i(s){return s&&s.__esModule?s:{default:s}}function o(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function r(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function l(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var e=function(s){l(u,s);function u(h){o(this,u);var A=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,h));return A.getEchartsInstance=function(){return A.echartsLib.getInstanceByDom(A.echartsElement)||A.echartsLib.init(A.echartsElement,A.props.theme,A.props.opts)},A.dispose=function(){if(A.echartsElement){try{(0,a.clear)(A.echartsElement)}catch(v){console.warn(v)}A.echartsLib.dispose(A.echartsElement)}},A.rerender=function(){var v=A.props,w=v.onEvents,b=v.onChartReady,E=A.renderEchartDom();A.bindEvents(E,w||{}),typeof b=="function"&&A.props.onChartReady(E),A.echartsElement&&(0,a.bind)(A.echartsElement,function(){try{E.resize()}catch(T){console.warn(T)}})},A.bindEvents=function(v,w){var b=function(_,x){typeof _=="string"&&typeof x=="function"&&v.on(_,function(C){x(C,v)})};for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&b(E,w[E])},A.renderEchartDom=function(){var v=A.getEchartsInstance();return v.setOption(A.props.option,A.props.notMerge||!1,A.props.lazyUpdate||!1),A.props.showLoading?v.showLoading(A.props.loadingOption||null):v.hideLoading(),v},A.echartsLib=h.echarts,A.echartsElement=null,A}return p(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(A){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(A,this.props))return;if(!(0,c.default)(A.theme,this.props.theme)||!(0,c.default)(A.opts,this.props.opts)||!(0,c.default)(A.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var v=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,c.default)((0,n.pick)(this.props,v),(0,n.pick)(A,v)))return;var w=this.renderEchartDom();if(!(0,c.default)(A.style,this.props.style)||!(0,c.default)(A.className,this.props.className))try{w.resize()}catch(b){console.warn(b)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var A=this,v=this.props,w=v.style,b=v.className,E=y({height:300},w);return m.default.createElement("div",{ref:function(_){A.echartsElement=_},style:E,className:"echarts-for-react "+b})}}]),u}(S.Component);N.default=e,e.propTypes={option:f.default.object.isRequired,echarts:f.default.object,notMerge:f.default.bool,lazyUpdate:f.default.bool,style:f.default.object,className:f.default.string,theme:f.default.oneOfType([f.default.string,f.default.object]),onChartReady:f.default.func,showLoading:f.default.bool,loadingOption:f.default.object,onEvents:f.default.object,opts:f.default.shape({devicePixelRatio:f.default.number,renderer:f.default.oneOf(["canvas","svg"]),width:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])]),height:f.default.oneOfType([f.default.number,f.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:f.default.func},e.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("Qxkt"),m=t("Znkb"),g=t("+rIm"),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function d(i,o,r){o[1]>o[0]&&(o=o.slice().reverse());var l=i.coordToPoint([o[0],r]),e=i.coordToPoint([o[1],r]);return{x1:l[0],y1:l[1],x2:e[0],y2:e[1]}}function c(i){var o=i.getRadiusAxis();return o.inverse?0:1}function a(i){var o=i[0],r=i[i.length-1];o&&r&&Math.abs(Math.abs(o.coord-r.coord)-360)<1e-4&&i.pop()}var n=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(i,o){if(this.group.removeAll(),!i.get("show"))return;var r=i.axis,l=r.polar,e=l.getRadiusAxis().getExtent(),s=r.getTicksCoords(),u=r.getMinorTicksCoords(),h=y.map(r.getViewLabels(),function(A){var A=y.clone(A);return A.coord=r.dataToCoord(A.tickValue),A});a(h),a(s),y.each(f,function(A){i.get(A+".show")&&(!r.scale.isBlank()||A==="axisLine")&&this["_"+A](i,l,s,u,e,h)},this)},_axisLine:function(i,o,r,l,e){var s=i.getModel("axisLine.lineStyle"),u=c(o),h=u?0:1,A;e[h]===0?A=new p.Circle({shape:{cx:o.cx,cy:o.cy,r:e[u]},style:s.getLineStyle(),z2:1,silent:!0}):A=new p.Ring({shape:{cx:o.cx,cy:o.cy,r:e[u],r0:e[h]},style:s.getLineStyle(),z2:1,silent:!0}),A.style.fill=null,this.group.add(A)},_axisTick:function(i,o,r,l,e){var s=i.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),h=e[c(o)],A=y.map(r,function(v){return new p.Line({shape:d(o,[h,h+u],v.coord)})});this.group.add(p.mergePath(A,{style:y.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")})}))},_minorTick:function(i,o,r,l,e){if(!l.length)return;for(var s=i.getModel("axisTick"),u=i.getModel("minorTick"),h=(s.get("inside")?-1:1)*u.get("length"),A=e[c(o)],v=[],w=0;w<l.length;w++)for(var b=0;b<l[w].length;b++)v.push(new p.Line({shape:d(o,[A,A+h],l[w][b].coord)}));this.group.add(p.mergePath(v,{style:y.defaults(u.getModel("lineStyle").getLineStyle(),y.defaults(s.getLineStyle(),{stroke:i.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(i,o,r,l,e,s){var u=i.getCategories(!0),h=i.getModel("axisLabel"),A=h.get("margin"),v=i.get("triggerEvent");y.each(s,function(w,b){var E=h,T=w.tickValue,_=e[c(o)],x=o.coordToPoint([_+A,w.coord]),C=o.cx,I=o.cy,L=Math.abs(x[0]-C)/_<.3?"center":x[0]>C?"left":"right",F=Math.abs(x[1]-I)/_<.3?"middle":x[1]>I?"top":"bottom";u&&u[T]&&u[T].textStyle&&(E=new S(u[T].textStyle,h,h.ecModel));var B=new p.Text({silent:g.isLabelSilent(i)});this.group.add(B),p.setTextStyle(B.style,E,{x:x[0],y:x[1],textFill:E.getTextColor()||i.get("axisLine.lineStyle.color"),text:w.formattedLabel,textAlign:L,textVerticalAlign:F}),v&&(B.eventData=g.makeAxisEventDataBase(i),B.eventData.targetType="axisLabel",B.eventData.value=w.rawLabel)},this)},_splitLine:function(i,o,r,l,e){var s=i.getModel("splitLine"),u=s.getModel("lineStyle"),h=u.get("color"),A=0;h=h instanceof Array?h:[h];for(var v=[],w=0;w<r.length;w++){var b=A++%h.length;v[b]=v[b]||[],v[b].push(new p.Line({shape:d(o,e,r[w].coord)}))}for(var w=0;w<v.length;w++)this.group.add(p.mergePath(v[w],{style:y.defaults({stroke:h[w%h.length]},u.getLineStyle()),silent:!0,z:i.get("z")}))},_minorSplitLine:function(i,o,r,l,e){if(!l.length)return;for(var s=i.getModel("minorSplitLine"),u=s.getModel("lineStyle"),h=[],A=0;A<l.length;A++)for(var v=0;v<l[A].length;v++)h.push(new p.Line({shape:d(o,e,l[A][v].coord)}));this.group.add(p.mergePath(h,{style:u.getLineStyle(),silent:!0,z:i.get("z")}))},_splitArea:function(i,o,r,l,e){if(!r.length)return;var s=i.getModel("splitArea"),u=s.getModel("areaStyle"),h=u.get("color"),A=0;h=h instanceof Array?h:[h];for(var v=[],w=Math.PI/180,b=-r[0].coord*w,E=Math.min(e[0],e[1]),T=Math.max(e[0],e[1]),_=i.get("clockwise"),x=1;x<r.length;x++){var C=A++%h.length;v[C]=v[C]||[],v[C].push(new p.Sector({shape:{cx:o.cx,cy:o.cy,r0:E,r:T,startAngle:b,endAngle:-r[x].coord*w,clockwise:_},silent:!0})),b=-r[x].coord*w}for(var x=0;x<v.length;x++)this.group.add(p.mergePath(v[x],{style:y.defaults({fill:h[x%h.length]},u.getAreaStyle()),silent:!0}))}});R.exports=n},tSko: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("SRve")),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="PlusOutlined";var c=m.forwardRef(d);N.default=c},tceW:function(R,N,t){var y=t("KCsZ"),p=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S={getBarItemStyle:function(m){var g=p(this,m);if(this.getBorderLineDash){var f=this.getBorderLineDash();f&&(g.lineDash=f)}return g}};R.exports=S},tkwv:function(R,N,t){"use strict";var y=Array.isArray,p=Object.keys,S=Object.prototype.hasOwnProperty;R.exports=function m(g,f){if(g===f)return!0;if(g&&f&&typeof g=="object"&&typeof f=="object"){var d=y(g),c=y(f),a,n,i;if(d&&c){if(n=g.length,n!=f.length)return!1;for(a=n;a--!==0;)if(!m(g[a],f[a]))return!1;return!0}if(d!=c)return!1;var o=g instanceof Date,r=f instanceof Date;if(o!=r)return!1;if(o&&r)return g.getTime()==f.getTime();var l=g instanceof RegExp,e=f instanceof RegExp;if(l!=e)return!1;if(l&&e)return g.toString()==f.toString();var s=p(g);if(n=s.length,n!==p(f).length)return!1;for(a=n;a--!==0;)if(!S.call(f,s[a]))return!1;for(a=n;a--!==0;)if(i=s[a],!m(g[i],f[i]))return!1;return!0}return g!==g&&f!==f}},txkQ:function(R,N,t){var y=t("aX58");N.zrender=y;var p=t("Fofx");N.matrix=p;var S=t("QBsz");N.vector=S;var m=t("bYtY"),g=t("Qe9p");N.color=g;var f=t("IwbS"),d=t("OELB");N.number=d;var c=t("7aKB");N.format=c;var a=t("iLNv"),n=a.throttle;N.throttle=a.throttle;var i=t("FUi9");N.helper=i;var o=t("vafp");N.parseGeoJSON=o;var r=t("YXkt");N.List=r;var l=t("Qxkt");N.Model=l;var e=t("hM6l");N.Axis=e;var s=t("ItGF");N.env=s;var u=o,h={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(v){h[v]=m[v]});var A={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(v){A[v]=f[v]}),N.parseGeoJson=u,N.util=h,N.graphic=A},u3DP:function(R,N,t){var y=t("6GrX"),p=t("OELB"),S=p.parsePercent,m=Math.PI/180;function g(a,n,i,o,r,l,e,s,u,h){a.sort(function(L,F){return L.y-F.y});function A(L,F,B,P){for(var H=L;H<F&&!(a[H].y+B>u+e);H++)if(a[H].y+=B,H>L&&H+1<F&&a[H+1].y>a[H].y+a[H].height){v(H,B/2);return}v(F-1,B/2)}function v(L,F){for(var B=L;B>=0&&!(a[B].y-F<u);B--)if(a[B].y-=F,B>0&&a[B].y>a[B-1].y+a[B-1].height)break}function w(L,F,B,P,H,z){for(var M=(z>0,F?Number.MAX_VALUE:0),U=0,k=L.length;U<k;U++){if(L[U].labelAlignTo!=="none")continue;var K=Math.abs(L[U].y-P),j=L[U].len,V=L[U].len2,W=K<H+j?Math.sqrt((H+j+V)*(H+j+V)-K*K):Math.abs(L[U].x-B);F&&W>=M&&(W=M-10),!F&&W<=M&&(W=M+10),L[U].x=B+W*z,M=W}}for(var b=0,E,T=a.length,_=[],x=[],C=0;C<T;C++){if(a[C].position==="outer"&&a[C].labelAlignTo==="labelLine"){var I=a[C].x-h;a[C].linePoints[1][0]+=I,a[C].x=h}E=a[C].y-b,E<0&&A(C,T,-E,r),b=a[C].y+a[C].height}e-b<0&&v(T-1,b-e);for(var C=0;C<T;C++)a[C].y>=i?x.push(a[C]):_.push(a[C]);w(_,!1,n,i,o,r),w(x,!0,n,i,o,r)}function f(a,n,i,o,r,l,e,s){for(var u=[],h=[],A=Number.MAX_VALUE,v=-Number.MAX_VALUE,w=0;w<a.length;w++){if(d(a[w]))continue;a[w].x<n?(A=Math.min(A,a[w].x),u.push(a[w])):(v=Math.max(v,a[w].x),h.push(a[w]))}g(h,n,i,o,1,r,l,e,s,v),g(u,n,i,o,-1,r,l,e,s,A);for(var w=0;w<a.length;w++){var b=a[w];if(d(b))continue;var E=b.linePoints;if(E){var T=b.labelAlignTo==="edge",_=b.textRect.width,x;T?b.x<n?x=E[2][0]-b.labelDistance-e-b.labelMargin:x=e+r-b.labelMargin-E[2][0]-b.labelDistance:b.x<n?x=b.x-e-b.bleedMargin:x=e+r-b.x-b.bleedMargin,x<b.textRect.width&&(b.text=y.truncateText(b.text,x,b.font),b.labelAlignTo==="edge"&&(_=y.getWidth(b.text,b.font)));var C=E[1][0]-E[2][0];T?b.x<n?E[2][0]=e+b.labelMargin+_+b.labelDistance:E[2][0]=e+r-b.labelMargin-_-b.labelDistance:(b.x<n?E[2][0]=b.x+b.labelDistance:E[2][0]=b.x-b.labelDistance,E[1][0]=E[2][0]+C),E[1][1]=E[2][1]=b.y}}}function d(a){return a.position==="center"}function c(a,n,i,o,r,l){var e=a.getData(),s=[],u,h,A=!1,v=(a.get("minShowLabelAngle")||0)*m;e.each(function(w){var b=e.getItemLayout(w),E=e.getItemModel(w),T=E.getModel("label"),_=T.get("position")||E.get("emphasis.label.position"),x=T.get("distanceToLabelLine"),C=T.get("alignTo"),I=S(T.get("margin"),i),L=T.get("bleedMargin"),F=T.getFont(),B=E.getModel("labelLine"),P=B.get("length");P=S(P,i);var H=B.get("length2");if(H=S(H,i),b.angle<v)return;var z=(b.startAngle+b.endAngle)/2,M=Math.cos(z),U=Math.sin(z),k,K,j,V;u=b.cx,h=b.cy;var W=a.getFormattedLabel(w,"normal")||e.getName(w),X=y.getBoundingRect(W,F,V,"top"),J=_==="inside"||_==="inner";if(_==="center")k=b.cx,K=b.cy,V="center";else{var de=(J?(b.r+b.r0)/2*M:b.r*M)+u,G=(J?(b.r+b.r0)/2*U:b.r*U)+h;if(k=de+M*3,K=G+U*3,!J){var ae=de+M*(P+n-b.r),Ae=G+U*(P+n-b.r),me=ae+(M<0?-1:1)*H,Me=Ae;C==="edge"?k=M<0?r+I:r+i-I:k=me+(M<0?-x:x),K=Me,j=[[de,G],[ae,Ae],[me,Me]]}V=J?"center":C==="edge"?M>0?"right":"left":M>0?"left":"right"}var oe,_e=T.get("rotate");typeof _e=="number"?oe=_e*(Math.PI/180):oe=_e?M<0?-z+Math.PI:-z:0,A=!!oe,b.label={x:k,y:K,position:_,height:X.height,len:P,len2:H,linePoints:j,textAlign:V,verticalAlign:"middle",rotation:oe,inside:J,labelDistance:x,labelAlignTo:C,labelMargin:I,bleedMargin:L,textRect:X,text:W,font:F},J||s.push(b.label)}),!A&&a.get("avoidLabelOverlap")&&f(s,u,h,n,i,o,r,l)}R.exports=c},u3os:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.ver=N.clear=N.bind=void 0;var y=t("P4Qj"),p=function(f,d){var c=(0,y.getSensor)(f);return c.bind(d),function(){c.unbind(d)}};N.bind=p;var S=function(f){var d=(0,y.getSensor)(f);(0,y.removeSensor)(d)};N.clear=S;var m="1.0.1";N.ver=m},u4NN: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("Uc92")),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="EyeOutlined";var c=m.forwardRef(d);N.default=c},u9fO:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("b80e"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},uAnK:function(R,N,t){var y=t("bYtY"),p=t("Kagy"),S=t("KxfA"),m=S.retrieveRawValue;function g(f,d){var c=d.getModel("aria");if(c.get("show")){if(c.get("description")){f.setAttribute("aria-label",c.get("description"));return}}else return;var a=0;d.eachSeries(function(w,b){++a},this);var n=c.get("data.maxCount")||10,i=c.get("series.maxCount")||10,o=Math.min(a,i),r;if(a<1)return;var l=A();l?r=u(h("general.withTitle"),{title:l}):r=h("general.withoutTitle");var e=[],s=a>1?"series.multiple.prefix":"series.single.prefix";r+=u(h(s),{seriesCount:a}),d.eachSeries(function(w,b){if(b<o){var E,T=w.get("name"),_="series."+(a>1?"multiple":"single")+".";E=h(T?_+"withName":_+"withoutName"),E=u(E,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:v(w.subType)});var x=w.getData();window.data=x,x.count()>n?E+=u(h("data.partialData"),{displayCnt:n}):E+=h("data.allData");for(var C=[],I=0;I<x.count();I++)if(I<n){var L=x.getName(I),F=m(x,I);C.push(u(h(L?"data.withName":"data.withoutName"),{name:L,value:F}))}E+=C.join(h("data.separator.middle"))+h("data.separator.end"),e.push(E)}}),r+=e.join(h("series.multiple.separator.middle"))+h("series.multiple.separator.end"),f.setAttribute("aria-label",r);function u(w,b){if(typeof w!="string")return w;var E=w;return y.each(b,function(T,_){E=E.replace(new RegExp("\\{\\s*"+_+"\\s*\\}","g"),T)}),E}function h(w){var b=c.get(w);if(b==null){for(var E=w.split("."),T=p.aria,_=0;_<E.length;++_)T=T[E[_]];return T}else return b}function A(){var w=d.getModel("title").option;return w&&w.length&&(w=w[0]),w&&w.text}function v(w){return p.series.typeNames[w]||"\u81EA\u5B9A\u4E49\u56FE"}}R.exports=g},uK0f:function(R,N,t){(function(y,p){R.exports=p()})(this,function(){"use strict";function y(p,S,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var g=p||[],f=[],d=0;do{var c=g.filter(function(a){return S(a,d)})[0];if(!c)break;f.push(c),g=c[m.childrenKeyName]||[],d+=1}while(g.length>0);return f}return y})},uOyE:function(R,N,t){var y=t("ProS");y.registerAction({type:"brush",event:"brush"},function(p,S){S.eachComponent({mainType:"brush",query:p},function(m){m.setAreas(p.areas)})}),y.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),y.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(R,N,t){R.exports=y;function y(){return t("gaXo"),{}}},ugBc: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 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};N.default=y},v56E:function(R,N,t){},v5uJ:function(R,N,t){var y=t("ProS"),p=t("2B6p"),S=p.updateCenterAndZoom;y.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(f){var d=m.dataIndex,c=f.getData().tree,a=c.getNodeByDataIndex(d);a.isExpand=!a.isExpand})}),y.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,g){g.eachComponent({mainType:"series",subType:"tree",query:m},function(f){var d=f.coordinateSystem,c=S(d,m);f.setCenter&&f.setCenter(c.center),f.setZoom&&f.setZoom(c.zoom)})})},"vF/C":function(R,N,t){var y=t("bLfw");y.registerSubTypeDefaulter("visualMap",function(p){return!p.categories&&(!(p.pieces?p.pieces.length>0:p.splitNumber>0)||p.calculable)?"continuous":"piecewise"})},vKoX:function(R,N,t){var y=t("SrGk"),p=t("bYtY");function S(f,d){y.call(this,f,d,["filter"],"__filter_in_use__","_shadowDom")}p.inherits(S,y),S.prototype.addWithoutUpdate=function(f,d){if(d&&m(d.style)){var c;if(d._shadowDom){c=d._shadowDom;var a=this.getDefs(!0);a.contains(d._shadowDom)||this.addDom(c)}else c=this.add(d);this.markUsed(d);var n=c.getAttribute("id");f.style.filter="url(#"+n+")"}},S.prototype.add=function(f){var d=this.createElement("filter");return f._shadowDomId=f._shadowDomId||this.nextId++,d.setAttribute("id","zr"+this._zrId+"-shadow-"+f._shadowDomId),this.updateDom(f,d),this.addDom(d),d},S.prototype.update=function(f,d){var c=d.style;if(m(c)){var a=this;y.prototype.update.call(this,d,function(){a.updateDom(d,d._shadowDom)})}else this.remove(f,d)},S.prototype.remove=function(f,d){d._shadowDomId!=null&&(this.removeDom(f),f.style.filter="")},S.prototype.updateDom=function(f,d){var c=d.getElementsByTagName("feDropShadow");c.length===0?c=this.createElement("feDropShadow"):c=c[0];var a=f.style,n=f.scale&&f.scale[0]||1,i=f.scale&&f.scale[1]||1,o,r,l,e;if(a.shadowBlur||a.shadowOffsetX||a.shadowOffsetY)o=a.shadowOffsetX||0,r=a.shadowOffsetY||0,l=a.shadowBlur,e=a.shadowColor;else if(a.textShadowBlur)o=a.textShadowOffsetX||0,r=a.textShadowOffsetY||0,l=a.textShadowBlur,e=a.textShadowColor;else{this.removeDom(d,a);return}c.setAttribute("dx",o/n),c.setAttribute("dy",r/i),c.setAttribute("flood-color",e);var s=l/2/n,u=l/2/i,h=s+" "+u;c.setAttribute("stdDeviation",h),d.setAttribute("x","-100%"),d.setAttribute("y","-100%"),d.setAttribute("width",Math.ceil(l/2*200)+"%"),d.setAttribute("height",Math.ceil(l/2*200)+"%"),d.appendChild(c),f._shadowDom=d},S.prototype.markUsed=function(f){f._shadowDom&&y.prototype.markUsed.call(this,f._shadowDom)};function m(f){return f&&(f.shadowBlur||f.shadowOffsetX||f.shadowOffsetY||f.textShadowBlur||f.textShadowOffsetX||f.textShadowOffsetY)}var g=S;R.exports=g},vL6D:function(R,N,t){var y=t("bYtY"),p=t("+rIm"),S=t("IwbS"),m=t("7bkD"),g=t("Znkb"),f=t("WN+l"),d=f.rectCoordAxisBuildSplitArea,c=f.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],n=["splitArea","splitLine"],i=g.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,l,e,s){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new S.Group;var A=m.layout(r),v=new p(r,A);y.each(a,v.add,v),u.add(this._axisGroup),u.add(v.getGroup()),y.each(n,function(w){r.get(w+".show")&&this["_"+w](r)},this),S.groupTransition(h,this._axisGroup,r),i.superCall(this,"render",r,l,e,s)},remove:function(){c(this)},_splitLine:function(r){var l=r.axis;if(l.scale.isBlank())return;var e=r.getModel("splitLine"),s=e.getModel("lineStyle"),u=s.get("width"),h=s.get("color");h=h instanceof Array?h:[h];for(var A=r.coordinateSystem.getRect(),v=l.isHorizontal(),w=[],b=0,E=l.getTicksCoords({tickModel:e}),T=[],_=[],x=0;x<E.length;++x){var C=l.toGlobalCoord(E[x].coord);v?(T[0]=C,T[1]=A.y,_[0]=C,_[1]=A.y+A.height):(T[0]=A.x,T[1]=C,_[0]=A.x+A.width,_[1]=C);var I=b++%h.length;w[I]=w[I]||[],w[I].push(new S.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:_[0],y2:_[1]},style:{lineWidth:u},silent:!0}))}for(var x=0;x<w.length;++x)this.group.add(S.mergePath(w[x],{style:{stroke:h[x%h.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(r){d(this,this._axisGroup,r,r)}}),o=i;R.exports=o},vWvF:function(R,N,t){var y=t("Bq2U"),p=t("SUKs"),S=t("bYtY"),m=S.isString,g=S.isFunction,f=S.isObject,d=S.isArrayLike,c=S.indexOf,a=function(){this.animators=[]};a.prototype={constructor:a,animate:function(e,s){var u,h=!1,A=this,v=this.__zr;if(e){var w=e.split("."),b=A;h=w[0]==="shape";for(var E=0,T=w.length;E<T;E++){if(!b)continue;b=b[w[E]]}b&&(u=b)}else u=A;if(!u){p('Property "'+e+'" is not existed in element '+A.id);return}var _=A.animators,x=new y(u,s);return x.during(function(C){A.dirty(h)}).done(function(){_.splice(c(_,x),1)}),_.push(x),v&&v.animation.addAnimator(x),x},stopAnimation:function(e){for(var s=this.animators,u=s.length,h=0;h<u;h++)s[h].stop(e);return s.length=0,this},animateTo:function(e,s,u,h,A,v){n(this,e,s,u,h,A,v)},animateFrom:function(e,s,u,h,A,v){n(this,e,s,u,h,A,v,!0)}};function n(l,e,s,u,h,A,v,w){m(u)?(A=h,h=u,u=0):g(h)?(A=h,h="linear",u=0):g(u)?(A=u,u=0):g(s)?(A=s,s=500):s||(s=500),l.stopAnimation(),i(l,"",l,e,s,u,w);var b=l.animators.slice(),E=b.length;function T(){E--,E||A&&A()}E||A&&A();for(var _=0;_<b.length;_++)b[_].done(T).start(h,v)}function i(l,e,s,u,h,A,v){var w={},b=0;for(var E in u){if(!u.hasOwnProperty(E))continue;s[E]!=null?f(u[E])&&!d(u[E])?i(l,e?e+"."+E:E,s[E],u[E],h,A,v):(v?(w[E]=s[E],o(l,e,E,u[E])):w[E]=u[E],b++):u[E]!=null&&!v&&o(l,e,E,u[E])}b>0&&l.animate(e,!1).when(h==null?500:h,w).delay(A||0)}function o(l,e,s,u){if(!e)l.attr(s,u);else{var h={};h[e]={},h[e][s]=u,l.attr(h)}}var r=a;R.exports=r},vZ6x:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("IwbS"),g=t("4NO4"),f=t("9KIM"),d=S.each,c=S.indexOf,a=S.curry,n=["dataToPoint","pointToData"],i=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function o(x,C,I){var L=this._targetInfoList=[],F={},B=e(C,x);d(s,function(P,H){(!I||!I.include||c(I.include,H)>=0)&&P(B,L,F)})}var r=o.prototype;r.setOutputRanges=function(x,C){this.matchOutputRanges(x,C,function(I,L,F){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var B=A[I.brushType](0,F,L);I.__rangeOffset={offset:w[I.brushType](B.values,I.range,[1,1]),xyMinMax:B.xyMinMax}}})},r.matchOutputRanges=function(x,C,I){d(x,function(L){var F=this.findTargetInfo(L,C);F&&F!==!0&&S.each(F.coordSyses,function(B){var P=A[L.brushType](1,B,L.range);I(L,P.values,B,C)})},this)},r.setInputRanges=function(x,C){d(x,function(I){var L=this.findTargetInfo(I,C);if(I.range=I.range||[],L&&L!==!0){I.panelId=L.panelId;var F=A[I.brushType](0,L.coordSys,I.coordRange),B=I.__rangeOffset;I.range=B?w[I.brushType](F.values,B.offset,E(F.xyMinMax,B.xyMinMax)):F.values}},this)},r.makePanelOpts=function(x,C){return S.map(this._targetInfoList,function(I){var L=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:C&&C(I),clipPath:f.makeRectPanelClipPath(L),isTargetByCursor:f.makeRectIsTargetByCursor(L,x,I.coordSysModel),getLinearBrushOtherExtent:f.makeLinearBrushOtherExtent(L)}})},r.controlSeries=function(x,C,I){var L=this.findTargetInfo(x,I);return L===!0||L&&c(L.coordSyses,C.coordinateSystem)>=0},r.findTargetInfo=function(x,C){for(var I=this._targetInfoList,L=e(C,x),F=0;F<I.length;F++){var B=I[F],P=x.panelId;if(P){if(B.panelId===P)return B}else for(var F=0;F<u.length;F++)if(u[F](L,B))return B}return!0};function l(x){return x[0]>x[1]&&x.reverse(),x}function e(x,C){return g.parseFinder(x,C,{includeMainTypes:i})}var s={grid:function(x,C){var I=x.xAxisModels,L=x.yAxisModels,F=x.gridModels,B=S.createHashMap(),P={},H={};if(!I&&!L&&!F)return;d(I,function(z){var M=z.axis.grid.model;B.set(M.id,M),P[M.id]=!0}),d(L,function(z){var M=z.axis.grid.model;B.set(M.id,M),H[M.id]=!0}),d(F,function(z){B.set(z.id,z),P[z.id]=!0,H[z.id]=!0}),B.each(function(z){var M=z.coordinateSystem,U=[];d(M.getCartesians(),function(k,K){(c(I,k.getAxis("x").model)>=0||c(L,k.getAxis("y").model)>=0)&&U.push(k)}),C.push({panelId:"grid--"+z.id,gridModel:z,coordSysModel:z,coordSys:U[0],coordSyses:U,getPanelRect:h.grid,xAxisDeclared:P[z.id],yAxisDeclared:H[z.id]})})},geo:function(x,C){d(x.geoModels,function(I){var L=I.coordinateSystem;C.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:L,coordSyses:[L],getPanelRect:h.geo})})}},u=[function(x,C){var I=x.xAxisModel,L=x.yAxisModel,F=x.gridModel;return!F&&I&&(F=I.axis.grid.model),!F&&L&&(F=L.axis.grid.model),F&&F===C.gridModel},function(x,C){var I=x.geoModel;return I&&I===C.geoModel}],h={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var x=this.coordSys,C=x.getBoundingRect().clone();return C.applyTransform(m.getTransform(x)),C}},A={lineX:a(v,0),lineY:a(v,1),rect:function(x,C,I){var L=C[n[x]]([I[0][0],I[1][0]]),F=C[n[x]]([I[0][1],I[1][1]]),B=[l([L[0],F[0]]),l([L[1],F[1]])];return{values:B,xyMinMax:B}},polygon:function(x,C,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],F=S.map(I,function(B){var P=C[n[x]](B);return L[0][0]=Math.min(L[0][0],P[0]),L[1][0]=Math.min(L[1][0],P[1]),L[0][1]=Math.max(L[0][1],P[0]),L[1][1]=Math.max(L[1][1],P[1]),P});return{values:F,xyMinMax:L}}};function v(x,C,I,L){var F=I.getAxis(["x","y"][x]),B=l(S.map([0,1],function(H){return C?F.coordToData(F.toLocalCoord(L[H])):F.toGlobalCoord(F.dataToCoord(L[H]))})),P=[];return P[x]=B,P[1-x]=[NaN,NaN],{values:B,xyMinMax:P}}var w={lineX:a(b,0),lineY:a(b,1),rect:function(x,C,I){return[[x[0][0]-I[0]*C[0][0],x[0][1]-I[0]*C[0][1]],[x[1][0]-I[1]*C[1][0],x[1][1]-I[1]*C[1][1]]]},polygon:function(x,C,I){return S.map(x,function(L,F){return[L[0]-I[0]*C[F][0],L[1]-I[1]*C[F][1]]})}};function b(x,C,I,L){return[C[0]-L[x]*I[0],C[1]-L[x]*I[1]]}function E(x,C){var I=T(x),L=T(C),F=[I[0]/L[0],I[1]/L[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function T(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var _=o;R.exports=_},vZI5:function(R,N,t){var y=t("bYtY"),p=t("T4UG"),S=t("5GhG"),m=S.seriesModelMixin,g=p.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(d,c,a){var n=c.getItemLayout(d);return n&&a.rect(n.brushRect)}});y.mixin(g,m,!0);var f=g;R.exports=f},vafp:function(R,N,t){var y=t("bYtY"),p=t("8nly");function S(f){if(!f.UTF8Encoding)return f;var d=f.UTF8Scale;d==null&&(d=1024);for(var c=f.features,a=0;a<c.length;a++)for(var n=c[a],i=n.geometry,o=i.coordinates,r=i.encodeOffsets,l=0;l<o.length;l++){var e=o[l];if(i.type==="Polygon")o[l]=m(e,r[l],d);else if(i.type==="MultiPolygon")for(var s=0;s<e.length;s++){var u=e[s];e[s]=m(u,r[l][s],d)}}return f.UTF8Encoding=!1,f}function m(f,d,c){for(var a=[],n=d[0],i=d[1],o=0;o<f.length;o+=2){var r=f.charCodeAt(o)-64,l=f.charCodeAt(o+1)-64;r=r>>1^-(r&1),l=l>>1^-(l&1),r+=n,l+=i,n=r,i=l,a.push([r/c,l/c])}return a}function g(f,d){return S(f),y.map(y.filter(f.features,function(c){return c.geometry&&c.properties&&c.geometry.coordinates.length>0}),function(c){var a=c.properties,n=c.geometry,i=n.coordinates,o=[];n.type==="Polygon"&&o.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),n.type==="MultiPolygon"&&y.each(i,function(l){l[0]&&o.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var r=new p(a[d||"name"],o,a.cp);return r.properties=a,r})}R.exports=g},vcCh:function(R,N,t){var y=t("ProS");t("0qV/"),y.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(p,S){S.eachComponent({mainType:"series",subType:"sankey",query:p},function(m){m.setNodePosition(p.dataIndex,[p.localX,p.localY])})})},vewr:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.getPointerEvent=y,N.stopEvent=p,N.setCapture=c,N.releaseCapture=a;function y(n){return n.changedTouches?n.changedTouches[0]:n.touches?n.touches[0]:n}function p(n){n.stopPropagation(),n.preventDefault()}var S=!1,m=null;document.captureElement=null;function g(n){if(S)return;var i=new n.constructor(n.type,n);S=!0,document.captureElement?document.captureElement.dispatchEvent(i):m.dispatchEvent(i),S=!1,n.stopPropagation(),i.defaultPrevented&&n.preventDefault(),n.type==="mouseup"&&a()}function f(){var n=document.getElementById("noVNC_mouse_capture_elem");n.style.cursor=window.getComputedStyle(document.captureElement).cursor}var d=new MutationObserver(f);function c(n){if(n.setCapture)n.setCapture(),document.captureElement=n,n.addEventListener("mouseup",a);else{a();var i=document.getElementById("noVNC_mouse_capture_elem");i===null&&(i=document.createElement("div"),i.id="noVNC_mouse_capture_elem",i.style.position="fixed",i.style.top="0px",i.style.left="0px",i.style.width="100%",i.style.height="100%",i.style.zIndex=1e4,i.style.display="none",document.body.appendChild(i),i.addEventListener("contextmenu",g),i.addEventListener("mousemove",g),i.addEventListener("mouseup",g)),document.captureElement=n,d.observe(n,{attributes:!0}),f(),i.style.display="",window.addEventListener("mousemove",g),window.addEventListener("mouseup",g)}}function a(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,d.disconnect();var n=document.getElementById("noVNC_mouse_capture_elem");n.style.display="none",window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",g)}}},vg9a:function(R,N,t){},"vk+C":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("RZPm"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},w06y:function(R,N,t){"use strict";t.d(N,"a",function(){return g});var y=t("19ai"),p=t("ZHpD"),S=t("0HTW"),m=t("QHF7");function g(f){return Object(y.a)(f)||Object(p.a)(f)||Object(S.a)(f)||Object(m.a)()}},w5pM: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:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"plus-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="PlusCircleOutlined";var d=N.a=p.forwardRef(f)},w6Tc:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("apAg"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},wCAj:function(R,N,t){"use strict";var y=t("cDf5"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("J4zp"),f=t.n(g),d=t("pVnL"),c=t.n(d),a=t("q1tI"),n=t("TSYQ"),i=t.n(n),o=t("BGR+"),r=t("rePB"),l=t("VTBJ"),e=t("KQm4"),s=t("U8pU"),u=t("ODXe"),h=t("Gytx"),A=t.n(h),v=t("Kwbf"),w=t("t23M"),b=t("qx4F");function E(Kt){return null}var T=E;function _(Kt){return null}var x=_,C=t("Ff2n"),I=t("c+Xe"),L="RC_TABLE_KEY";function F(Kt){return Kt==null?[]:Array.isArray(Kt)?Kt:[Kt]}function B(Kt,Yr){if(!Yr&&typeof Yr!="number")return Kt;for(var rn=F(Yr),hn=Kt,ze=0;ze<rn.length;ze+=1){if(!hn)return null;var Ct=rn[ze];hn=hn[Ct]}return hn}function P(Kt){var Yr=[],rn={};return Kt.forEach(function(hn){for(var ze=hn||{},Ct=ze.key,or=ze.dataIndex,rr=Ct||F(or).join("-")||L;rn[rr];)rr="".concat(rr,"_next");rn[rr]=!0,Yr.push(rr)}),Yr}function H(){var Kt={};function Yr(Ct,or){or&&Object.keys(or).forEach(function(rr){var Lr=or[rr];Lr&&Object(s.a)(Lr)==="object"?(Ct[rr]=Ct[rr]||{},Yr(Ct[rr],Lr)):Ct[rr]=Lr})}for(var rn=arguments.length,hn=new Array(rn),ze=0;ze<rn;ze++)hn[ze]=arguments[ze];return hn.forEach(function(Ct){Yr(Kt,Ct)}),Kt}function z(Kt){return Kt!=null}function M(Kt){return Kt&&Object(s.a)(Kt)==="object"&&!Array.isArray(Kt)&&!a.isValidElement(Kt)}function U(Kt){return typeof Kt=="string"?!0:Object(I.c)(Kt)}function k(Kt,Yr){var rn,hn=Kt.prefixCls,ze=Kt.className,Ct=Kt.record,or=Kt.index,rr=Kt.dataIndex,Lr=Kt.render,Fr=Kt.children,Kr=Kt.component,nn=Kr===void 0?"td":Kr,wn=Kt.colSpan,In=Kt.rowSpan,Rn=Kt.fixLeft,Dn=Kt.fixRight,bn=Kt.firstFixLeft,Sn=Kt.lastFixLeft,_n=Kt.firstFixRight,Kn=Kt.lastFixRight,Yn=Kt.appendNode,Zn=Kt.additionalProps,yi=Zn===void 0?{}:Zn,gi=Kt.ellipsis,Ni=Kt.align,ki=Kt.rowType,xi=Kt.isSticky,_i="".concat(hn,"-cell"),Li,Hn;if(Fr)Hn=Fr;else{var Ci=B(Ct,rr);if(Hn=Ci,Lr){var Hi=Lr(Ci,Ct,or);M(Hi)?(Hn=Hi.children,Li=Hi.props):Hn=Hi}}Object(s.a)(Hn)==="object"&&!Array.isArray(Hn)&&!a.isValidElement(Hn)&&(Hn=null),gi&&(Sn||_n)&&(Hn=a.createElement("span",{className:"".concat(_i,"-content")},Hn));var pr=Li||{},Rr=pr.colSpan,Qr=pr.rowSpan,Nr=pr.style,Xt=pr.className,xr=Object(C.a)(pr,["colSpan","rowSpan","style","className"]),er=Rr!==void 0?Rr:wn,jr=Qr!==void 0?Qr:In;if(er===0||jr===0)return null;var Ur={},pn=typeof Rn=="number",sn=typeof Dn=="number";pn&&(Ur.position="sticky",Ur.left=Rn),sn&&(Ur.position="sticky",Ur.right=Dn);var vn={};Ni&&(vn.textAlign=Ni);var Un,Qn=gi===!0?{showTitle:!0}:gi;Qn&&(Qn.showTitle||ki==="header")&&(typeof Hn=="string"||typeof Hn=="number"?Un=Hn.toString():a.isValidElement(Hn)&&typeof Hn.props.children=="string"&&(Un=Hn.props.children));var $n=Object(l.a)(Object(l.a)(Object(l.a)({title:Un},xr),yi),{},{colSpan:er&&er!==1?er:null,rowSpan:jr&&jr!==1?jr:null,className:i()(_i,ze,(rn={},Object(r.a)(rn,"".concat(_i,"-fix-left"),pn),Object(r.a)(rn,"".concat(_i,"-fix-left-first"),bn),Object(r.a)(rn,"".concat(_i,"-fix-left-last"),Sn),Object(r.a)(rn,"".concat(_i,"-fix-right"),sn),Object(r.a)(rn,"".concat(_i,"-fix-right-first"),_n),Object(r.a)(rn,"".concat(_i,"-fix-right-last"),Kn),Object(r.a)(rn,"".concat(_i,"-ellipsis"),gi),Object(r.a)(rn,"".concat(_i,"-with-append"),Yn),Object(r.a)(rn,"".concat(_i,"-fix-sticky"),(pn||sn)&&xi),rn),yi.className,Xt),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},yi.style),vn),Ur),Nr),ref:U(nn)?Yr:null});return a.createElement(nn,Object.assign({},$n),Yn,Hn)}var K=a.forwardRef(k);K.displayName="Cell";var j=a.memo(K,function(Kt,Yr){return Yr.shouldCellUpdate?!Yr.shouldCellUpdate(Yr.record,Kt.record):!1}),V=j,W=a.createContext(null),X=W;function J(Kt,Yr,rn,hn,ze){var Ct=rn[Kt]||{},or=rn[Yr]||{},rr,Lr;Ct.fixed==="left"?rr=hn.left[Kt]:or.fixed==="right"&&(Lr=hn.right[Yr]);var Fr=!1,Kr=!1,nn=!1,wn=!1,In=rn[Yr+1],Rn=rn[Kt-1];if(ze==="rtl"){if(rr!==void 0){var Dn=Rn&&Rn.fixed==="left";wn=!Dn}else if(Lr!==void 0){var bn=In&&In.fixed==="right";nn=!bn}}else if(rr!==void 0){var Sn=In&&In.fixed==="left";Fr=!Sn}else if(Lr!==void 0){var _n=Rn&&Rn.fixed==="right";Kr=!_n}return{fixLeft:rr,fixRight:Lr,lastFixLeft:Fr,firstFixRight:Kr,lastFixRight:nn,firstFixLeft:wn,isSticky:hn.isSticky}}function de(Kt){var Yr=Kt.cells,rn=Kt.stickyOffsets,hn=Kt.flattenColumns,ze=Kt.rowComponent,Ct=Kt.cellComponent,or=Kt.onHeaderRow,rr=Kt.index,Lr=a.useContext(X),Fr=Lr.prefixCls,Kr=Lr.direction,nn;or&&(nn=or(Yr.map(function(In){return In.column}),rr));var wn=P(Yr.map(function(In){return In.column}));return a.createElement(ze,Object.assign({},nn),Yr.map(function(In,Rn){var Dn=In.column,bn=J(In.colStart,In.colEnd,hn,rn,Kr),Sn;return Dn&&Dn.onHeaderCell&&(Sn=In.column.onHeaderCell(Dn)),a.createElement(V,Object.assign({},In,{ellipsis:Dn.ellipsis,align:Dn.align,component:Ct,prefixCls:Fr,key:wn[Rn]},bn,{additionalProps:Sn,rowType:"header"}))}))}de.displayName="HeaderRow";var G=de;function ae(Kt){var Yr=[];function rn(or,rr){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Yr[Lr]=Yr[Lr]||[];var Fr=rr,Kr=or.filter(Boolean).map(function(nn){var wn={key:nn.key,className:nn.className||"",children:nn.title,column:nn,colStart:Fr},In=1,Rn=nn.children;return Rn&&Rn.length>0&&(In=rn(Rn,Fr,Lr+1).reduce(function(Dn,bn){return Dn+bn},0),wn.hasSubColumns=!0),"colSpan"in nn&&(In=nn.colSpan),"rowSpan"in nn&&(wn.rowSpan=nn.rowSpan),wn.colSpan=In,wn.colEnd=wn.colStart+In-1,Yr[Lr].push(wn),Fr+=In,In});return Kr}rn(Kt,0);for(var hn=Yr.length,ze=function(rr){Yr[rr].forEach(function(Lr){!("rowSpan"in Lr)&&!Lr.hasSubColumns&&(Lr.rowSpan=hn-rr)})},Ct=0;Ct<hn;Ct+=1)ze(Ct);return Yr}function Ae(Kt){var Yr=Kt.stickyOffsets,rn=Kt.columns,hn=Kt.flattenColumns,ze=Kt.onHeaderRow,Ct=a.useContext(X),or=Ct.prefixCls,rr=Ct.getComponent,Lr=a.useMemo(function(){return ae(rn)},[rn]),Fr=rr(["header","wrapper"],"thead"),Kr=rr(["header","row"],"tr"),nn=rr(["header","cell"],"th");return a.createElement(Fr,{className:"".concat(or,"-thead")},Lr.map(function(wn,In){var Rn=a.createElement(G,{key:In,flattenColumns:hn,cells:wn,stickyOffsets:Yr,rowComponent:Kr,cellComponent:nn,onHeaderRow:ze,index:In});return Rn}))}var me=Ae,Me="RC_TABLE_INTERNAL_COL_DEFINE";function oe(Kt){var Yr=Kt.expandable,rn=Object(C.a)(Kt,["expandable"]);return"expandable"in Kt?Object(l.a)(Object(l.a)({},rn),Yr):rn}function _e(Kt){return Object.keys(Kt).reduce(function(Yr,rn){return(rn.substr(0,5)==="data-"||rn.substr(0,5)==="aria-")&&(Yr[rn]=Kt[rn]),Yr},{})}function ee(Kt){for(var Yr=Kt.colWidths,rn=Kt.columns,hn=Kt.columCount,ze=[],Ct=hn||rn.length,or=!1,rr=Ct-1;rr>=0;rr-=1){var Lr=Yr[rr],Fr=rn&&rn[rr],Kr=Fr&&Fr[Me];(Lr||Kr||or)&&(ze.unshift(a.createElement("col",Object.assign({key:rr,style:{width:Lr,minWidth:Lr}},Kr))),or=!0)}return a.createElement("colgroup",null,ze)}var ne=ee;function Ge(Kt,Yr){return Object(a.useMemo)(function(){for(var rn=[],hn=0;hn<Yr;hn+=1){var ze=Kt[hn];if(ze!==void 0)rn[hn]=ze;else return null}return rn},[Kt.join("_"),Yr])}var Ee=a.forwardRef(function(Kt,Yr){var rn=Kt.noData,hn=Kt.columns,ze=Kt.flattenColumns,Ct=Kt.colWidths,or=Kt.columCount,rr=Kt.stickyOffsets,Lr=Kt.direction,Fr=Kt.fixHeader,Kr=Kt.offsetHeader,nn=Kt.stickyClassName,wn=Kt.onScroll,In=Object(C.a)(Kt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Rn=a.useContext(X),Dn=Rn.prefixCls,bn=Rn.scrollbarSize,Sn=Rn.isSticky,_n=Sn&&!Fr?0:bn,Kn=a.useRef(null),Yn=a.useCallback(function(_i){Object(I.b)(Yr,_i),Object(I.b)(Kn,_i)},[]);a.useEffect(function(){var _i;function Li(Hn){var Ci=Hn.currentTarget,Hi=Hn.deltaX;Hi&&(wn({currentTarget:Ci,scrollLeft:Ci.scrollLeft+Hi}),Hn.preventDefault())}return(_i=Kn.current)===null||_i===void 0||_i.addEventListener("wheel",Li),function(){var Hn;(Hn=Kn.current)===null||Hn===void 0||Hn.removeEventListener("wheel",Li)}},[]);var Zn=ze[ze.length-1],yi={fixed:Zn?Zn.fixed:null,onHeaderCell:function(){return{className:"".concat(Dn,"-cell-scrollbar")}}},gi=Object(a.useMemo)(function(){return _n?[].concat(Object(e.a)(hn),[yi]):hn},[_n,hn]),Ni=Object(a.useMemo)(function(){return _n?[].concat(Object(e.a)(ze),[yi]):ze},[_n,ze]),ki=Object(a.useMemo)(function(){var _i=rr.right,Li=rr.left;return Object(l.a)(Object(l.a)({},rr),{},{left:Lr==="rtl"?[].concat(Object(e.a)(Li.map(function(Hn){return Hn+_n})),[0]):Li,right:Lr==="rtl"?_i:[].concat(Object(e.a)(_i.map(function(Hn){return Hn+_n})),[0]),isSticky:Sn})},[_n,rr,Sn]),xi=Ge(Ct,or);return a.createElement("div",{style:Object(l.a)({overflow:"hidden"},Sn?{top:Kr}:{}),ref:Yn,className:i()("".concat(Dn,"-header"),Object(r.a)({},nn,!!nn))},a.createElement("table",{style:{tableLayout:"fixed",visibility:rn||xi?null:"hidden"}},a.createElement(ne,{colWidths:xi?[].concat(Object(e.a)(xi),[_n]):[],columCount:or+1,columns:Ni}),a.createElement(me,Object.assign({},In,{stickyOffsets:ki,columns:gi,flattenColumns:Ni}))))});Ee.displayName="FixedHeader";var ue=Ee,re=a.createContext(null),ce=re;function ke(Kt){var Yr=Kt.prefixCls,rn=Kt.children,hn=Kt.component,ze=Kt.cellComponent,Ct=Kt.fixHeader,or=Kt.fixColumn,rr=Kt.horizonScroll,Lr=Kt.className,Fr=Kt.expanded,Kr=Kt.componentWidth,nn=Kt.colSpan,wn=a.useContext(X),In=wn.scrollbarSize;return a.useMemo(function(){var Rn=rn;return or&&(Rn=a.createElement("div",{style:{width:Kr-(Ct?In:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Yr,"-expanded-row-fixed")},Rn)),a.createElement(hn,{className:Lr,style:{display:Fr?null:"none"}},a.createElement(V,{component:ze,prefixCls:Yr,colSpan:nn},Rn))},[rn,hn,Ct,rr,Lr,Fr,Kr,nn,In])}var Te=ke;function Ke(Kt){var Yr=Kt.className,rn=Kt.style,hn=Kt.record,ze=Kt.index,Ct=Kt.rowKey,or=Kt.getRowKey,rr=Kt.rowExpandable,Lr=Kt.expandedKeys,Fr=Kt.onRow,Kr=Kt.indent,nn=Kr===void 0?0:Kr,wn=Kt.rowComponent,In=Kt.cellComponent,Rn=Kt.childrenColumnName,Dn=a.useContext(X),bn=Dn.prefixCls,Sn=Dn.fixedInfoList,_n=a.useContext(ce),Kn=_n.fixHeader,Yn=_n.fixColumn,Zn=_n.horizonScroll,yi=_n.componentWidth,gi=_n.flattenColumns,Ni=_n.expandableType,ki=_n.expandRowByClick,xi=_n.onTriggerExpand,_i=_n.rowClassName,Li=_n.expandedRowClassName,Hn=_n.indentSize,Ci=_n.expandIcon,Hi=_n.expandedRowRender,pr=_n.expandIconColumnIndex,Rr=a.useState(!1),Qr=Object(u.a)(Rr,2),Nr=Qr[0],Xt=Qr[1],xr=Lr&&Lr.has(Kt.recordKey);a.useEffect(function(){xr&&Xt(!0)},[xr]);var er=Ni==="row"&&(!rr||rr(hn)),jr=Ni==="nest",Ur=Rn&&hn&&hn[Rn],pn=er||jr,sn;Fr&&(sn=Fr(hn,ze));var vn=function(fa){if(ki&&pn&&xi(hn,fa),sn&&sn.onClick){for(var Wi,Di=arguments.length,na=new Array(Di>1?Di-1:0),Zi=1;Zi<Di;Zi++)na[Zi-1]=arguments[Zi];(Wi=sn).onClick.apply(Wi,[fa].concat(na))}},Un;typeof _i=="string"?Un=_i:typeof _i=="function"&&(Un=_i(hn,ze,nn));var Qn=P(gi),$n=a.createElement(wn,Object.assign({},sn,{"data-row-key":Ct,className:i()(Yr,"".concat(bn,"-row"),"".concat(bn,"-row-level-").concat(nn),Un,sn&&sn.className),style:Object(l.a)(Object(l.a)({},rn),sn?sn.style:null),onClick:vn}),gi.map(function(sa,fa){var Wi=sa.render,Di=sa.dataIndex,na=sa.className,Zi=Qn[fa],ba=Sn[fa],Ta;fa===(pr||0)&&jr&&(Ta=a.createElement(a.Fragment,null,a.createElement("span",{style:{paddingLeft:"".concat(Hn*nn,"px")},className:"".concat(bn,"-row-indent indent-level-").concat(nn)}),Ci({prefixCls:bn,expanded:xr,expandable:Ur,record:hn,onExpand:xi})));var $i;return sa.onCell&&($i=sa.onCell(hn,ze)),a.createElement(V,Object.assign({className:na,ellipsis:sa.ellipsis,align:sa.align,component:In,prefixCls:bn,key:Zi,record:hn,index:ze,dataIndex:Di,render:Wi,shouldCellUpdate:sa.shouldCellUpdate},ba,{appendNode:Ta,additionalProps:$i}))})),wi;if(er&&(Nr||xr)){var ra=Hi(hn,ze,nn+1,xr),ua=Li&&Li(hn,ze,nn);wi=a.createElement(Te,{expanded:xr,className:i()("".concat(bn,"-expanded-row"),"".concat(bn,"-expanded-row-level-").concat(nn+1),ua),prefixCls:bn,fixHeader:Kn,fixColumn:Yn,horizonScroll:Zn,component:wn,componentWidth:yi,cellComponent:In,colSpan:gi.length},ra)}var da;return Ur&&xr&&(da=(hn[Rn]||[]).map(function(sa,fa){var Wi=or(sa,fa);return a.createElement(Ke,Object.assign({},Kt,{key:Wi,rowKey:Wi,record:sa,recordKey:Wi,index:fa,indent:nn+1}))})),a.createElement(a.Fragment,null,$n,wi,da)}Ke.displayName="BodyRow";var Ie=Ke,se=a.createContext(null),ye=se;function xe(Kt){var Yr=Kt.columnKey,rn=Kt.onColumnResize,hn=a.useRef();return a.useEffect(function(){hn.current&&rn(Yr,hn.current.offsetWidth)},[]),a.createElement(w.a,{onResize:function(Ct){var or=Ct.offsetWidth;rn(Yr,or)}},a.createElement("td",{ref:hn,style:{padding:0,border:0,height:0}},a.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Ye(Kt){var Yr=Kt.data,rn=Kt.getRowKey,hn=Kt.measureColumnWidth,ze=Kt.expandedKeys,Ct=Kt.onRow,or=Kt.rowExpandable,rr=Kt.emptyNode,Lr=Kt.childrenColumnName,Fr=a.useContext(ye),Kr=Fr.onColumnResize,nn=a.useContext(X),wn=nn.prefixCls,In=nn.getComponent,Rn=a.useContext(ce),Dn=Rn.fixHeader,bn=Rn.horizonScroll,Sn=Rn.flattenColumns,_n=Rn.componentWidth;return a.useMemo(function(){var Kn=In(["body","wrapper"],"tbody"),Yn=In(["body","row"],"tr"),Zn=In(["body","cell"],"td"),yi;Yr.length?yi=Yr.map(function(Ni,ki){var xi=rn(Ni,ki);return a.createElement(Ie,{key:xi,rowKey:xi,record:Ni,recordKey:xi,index:ki,rowComponent:Yn,cellComponent:Zn,expandedKeys:ze,onRow:Ct,getRowKey:rn,rowExpandable:or,childrenColumnName:Lr})}):yi=a.createElement(Te,{expanded:!0,className:"".concat(wn,"-placeholder"),prefixCls:wn,fixHeader:Dn,fixColumn:bn,horizonScroll:bn,component:Yn,componentWidth:_n,cellComponent:Zn,colSpan:Sn.length},rr);var gi=P(Sn);return a.createElement(Kn,{className:"".concat(wn,"-tbody")},hn&&a.createElement("tr",{"aria-hidden":"true",className:"".concat(wn,"-measure-row"),style:{height:0}},gi.map(function(Ni){return a.createElement(xe,{key:Ni,columnKey:Ni,onColumnResize:Kr})})),yi)},[Yr,wn,Ct,hn,ze,rn,In,_n,rr,Sn])}var pt=a.memo(Ye);pt.displayName="Body";var nt=pt,Oe=t("Zm9Q");function vt(Kt){return Object(Oe.a)(Kt).filter(function(Yr){return a.isValidElement(Yr)}).map(function(Yr){var rn=Yr.key,hn=Yr.props,ze=hn.children,Ct=Object(C.a)(hn,["children"]),or=Object(l.a)({key:rn},Ct);return ze&&(or.children=vt(ze)),or})}function Ze(Kt){return Kt.reduce(function(Yr,rn){var hn=rn.fixed,ze=hn===!0?"left":hn,Ct=rn.children;return Ct&&Ct.length>0?[].concat(Object(e.a)(Yr),Object(e.a)(Ze(Ct).map(function(or){return Object(l.a)({fixed:ze},or)}))):[].concat(Object(e.a)(Yr),[Object(l.a)(Object(l.a)({},rn),{},{fixed:ze})])},[])}function wt(Kt){for(var Yr=!0,rn=0;rn<Kt.length;rn+=1){var hn=Kt[rn];if(Yr&&hn.fixed!=="left")Yr=!1;else if(!Yr&&hn.fixed==="left"){Object(v.a)(!1,"Index ".concat(rn-1," of `columns` missing `fixed='left'` prop."));break}}for(var ze=!0,Ct=Kt.length-1;Ct>=0;Ct-=1){var or=Kt[Ct];if(ze&&or.fixed!=="right")ze=!1;else if(!ze&&or.fixed==="right"){Object(v.a)(!1,"Index ".concat(Ct+1," of `columns` missing `fixed='right'` prop."));break}}}function xt(Kt){return Kt.map(function(Yr){var rn=Yr.fixed,hn=Object(C.a)(Yr,["fixed"]),ze=rn;return rn==="left"?ze="right":rn==="right"&&(ze="left"),Object(l.a)({fixed:ze},hn)})}function Ot(Kt,Yr){var rn=Kt.prefixCls,hn=Kt.columns,ze=Kt.children,Ct=Kt.expandable,or=Kt.expandedKeys,rr=Kt.getRowKey,Lr=Kt.onTriggerExpand,Fr=Kt.expandIcon,Kr=Kt.rowExpandable,nn=Kt.expandIconColumnIndex,wn=Kt.direction,In=Kt.expandRowByClick,Rn=a.useMemo(function(){return hn||vt(ze)},[hn,ze]),Dn=a.useMemo(function(){if(Ct){var _n,Kn=nn||0,Yn=Rn[Kn],Zn=(_n={},Object(r.a)(_n,Me,{className:"".concat(rn,"-expand-icon-col")}),Object(r.a)(_n,"title",""),Object(r.a)(_n,"fixed",Yn?Yn.fixed:null),Object(r.a)(_n,"className","".concat(rn,"-row-expand-icon-cell")),Object(r.a)(_n,"render",function(Ni,ki,xi){var _i=rr(ki,xi),Li=or.has(_i),Hn=Kr?Kr(ki):!0,Ci=Fr({prefixCls:rn,expanded:Li,expandable:Hn,record:ki,onExpand:Lr});return In?a.createElement("span",{onClick:function(pr){return pr.stopPropagation()}},Ci):Ci}),_n),yi=Rn.slice();return Kn>=0&&yi.splice(Kn,0,Zn),yi}return Rn},[Ct,Rn,rr,or,Fr,wn]),bn=a.useMemo(function(){var _n=Dn;return Yr&&(_n=Yr(_n)),_n.length||(_n=[{render:function(){return null}}]),_n},[Yr,Dn,wn]),Sn=a.useMemo(function(){return wn==="rtl"?xt(Ze(bn)):Ze(bn)},[bn,wn]);return[bn,Sn]}var Mt=Ot,Gt=t("xEkU"),$e=t.n(Gt);function pe(Kt){var Yr=Object(a.useRef)(Kt),rn=Object(a.useState)({}),hn=Object(u.a)(rn,2),ze=hn[1],Ct=Object(a.useRef)(null),or=Object(a.useRef)([]);function rr(Lr){Ct.current===null&&(or.current=[],Ct.current=$e()(function(){or.current.forEach(function(Fr){Yr.current=Fr(Yr.current)}),Ct.current=null,ze({})})),or.current.push(Lr)}return Object(a.useEffect)(function(){return function(){$e.a.cancel(Ct.current)}},[]),[Yr.current,rr]}function q(Kt){var Yr=Object(a.useRef)(Kt),rn=Object(a.useRef)(null);function hn(){window.clearTimeout(rn.current)}function ze(or){Yr.current=or,hn(),rn.current=window.setTimeout(function(){Yr.current=null,rn.current=null},100)}function Ct(){return Yr.current}return Object(a.useEffect)(function(){return hn},[]),[ze,Ct]}function bt(Kt,Yr,rn){var hn=Object(a.useMemo)(function(){for(var ze=[],Ct=[],or=0,rr=0,Lr=0;Lr<Yr;Lr+=1)if(rn==="rtl"){Ct[Lr]=rr,rr+=Kt[Lr]||0;var Fr=Yr-Lr-1;ze[Fr]=or,or+=Kt[Fr]||0}else{ze[Lr]=or,or+=Kt[Lr]||0;var Kr=Yr-Lr-1;Ct[Kr]=rr,rr+=Kt[Kr]||0}return{left:ze,right:Ct}},[Kt,Yr,rn]);return hn}var qe=bt;function le(Kt){var Yr=Kt.className,rn=Kt.children;return a.createElement("div",{className:Yr},rn)}var Nt=le;function tr(Kt){var Yr=Kt.className,rn=Kt.index,hn=Kt.children,ze=Kt.colSpan,Ct=Kt.rowSpan,or=a.useContext(X),rr=or.prefixCls,Lr=or.fixedInfoList,Fr=Lr[rn];return a.createElement(V,Object.assign({className:Yr,index:rn,component:"td",prefixCls:rr,record:null,dataIndex:null,render:function(){return{children:hn,props:{colSpan:ze,rowSpan:Ct}}}},Fr))}function lt(Kt){return a.createElement("tr",Object.assign({},Kt))}function Wt(Kt){var Yr=Kt.children,rn=a.useContext(X),hn=rn.prefixCls;return a.createElement("tfoot",{className:"".concat(hn,"-summary")},Yr)}var cr=Wt,Vr={Cell:tr,Row:lt};function ur(Kt){var Yr,rn=Kt.prefixCls,hn=Kt.record,ze=Kt.onExpand,Ct=Kt.expanded,or=Kt.expandable,rr="".concat(rn,"-row-expand-icon");if(!or)return a.createElement("span",{className:i()(rr,"".concat(rn,"-row-spaced"))});var Lr=function(Kr){ze(hn,Kr),Kr.stopPropagation()};return a.createElement("span",{className:i()(rr,(Yr={},Object(r.a)(Yr,"".concat(rn,"-row-expanded"),Ct),Object(r.a)(Yr,"".concat(rn,"-row-collapsed"),!Ct),Yr)),onClick:Lr})}function ir(Kt,Yr,rn){var hn=[];function ze(Ct){(Ct||[]).forEach(function(or,rr){hn.push(Yr(or,rr)),ze(or[rn])})}return ze(Kt),hn}var Lt=t("zT1h"),ot=t("y0+3"),Xe=function(Yr,rn){var hn,ze,Ct=Yr.scrollBodyRef,or=Yr.onScroll,rr=Yr.offsetScroll,Lr=a.useContext(X),Fr=Lr.prefixCls,Kr=((hn=Ct.current)===null||hn===void 0?void 0:hn.scrollWidth)||0,nn=((ze=Ct.current)===null||ze===void 0?void 0:ze.clientWidth)||0,wn=Kr&&nn*(nn/Kr),In=a.useRef(),Rn=pe({scrollLeft:0,isHiddenScrollBar:!1}),Dn=Object(u.a)(Rn,2),bn=Dn[0],Sn=Dn[1],_n=a.useRef({delta:0,x:0}),Kn=a.useState(!1),Yn=Object(u.a)(Kn,2),Zn=Yn[0],yi=Yn[1],gi=function(){yi(!1)},Ni=function(Hn){Hn.persist(),_n.current.delta=Hn.pageX-bn.scrollLeft,_n.current.x=0,yi(!0),Hn.preventDefault()},ki=function(Hn){var Ci,Hi=Hn||((Ci=window)===null||Ci===void 0?void 0:Ci.event),pr=Hi.buttons;if(!Zn||pr===0){Zn&&yi(!1);return}var Rr=_n.current.x+Hn.pageX-_n.current.x-_n.current.delta;Rr<=0&&(Rr=0),Rr+wn>=nn&&(Rr=nn-wn),or({scrollLeft:Rr/nn*(Kr+2)}),_n.current.x=Hn.pageX},xi=function(){var Hn=Object(ot.b)(Ct.current).top,Ci=Hn+Ct.current.offsetHeight,Hi=document.documentElement.scrollTop+window.innerHeight;Ci-Object(b.a)()<=Hi||Hn>=Hi-rr?Sn(function(pr){return Object(l.a)(Object(l.a)({},pr),{},{isHiddenScrollBar:!0})}):Sn(function(pr){return Object(l.a)(Object(l.a)({},pr),{},{isHiddenScrollBar:!1})})},_i=function(Hn){Sn(function(Ci){return Object(l.a)(Object(l.a)({},Ci),{},{scrollLeft:Hn/Kr*nn||0})})};return a.useImperativeHandle(rn,function(){return{setScrollLeft:_i}}),a.useEffect(function(){var Li=Object(Lt.a)(document.body,"mouseup",gi,!1),Hn=Object(Lt.a)(document.body,"mousemove",ki,!1);return xi(),function(){Li.remove(),Hn.remove()}},[wn,Zn]),a.useEffect(function(){var Li=Object(Lt.a)(window,"scroll",xi,!1),Hn=Object(Lt.a)(window,"resize",xi,!1);return function(){Li.remove(),Hn.remove()}},[]),a.useEffect(function(){bn.isHiddenScrollBar||Sn(function(Li){var Hn,Ci;return Object(l.a)(Object(l.a)({},Li),{},{scrollLeft:Ct.current.scrollLeft/((Hn=Ct.current)===null||Hn===void 0?void 0:Hn.scrollWidth)*((Ci=Ct.current)===null||Ci===void 0?void 0:Ci.clientWidth)})})},[bn.isHiddenScrollBar]),Kr<=nn||!wn||bn.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(b.a)(),width:nn,bottom:rr},className:"".concat(Fr,"-sticky-scroll")},a.createElement("div",{onMouseDown:Ni,ref:In,className:i()("".concat(Fr,"-sticky-scroll-bar"),Object(r.a)({},"".concat(Fr,"-sticky-scroll-bar-active"),Zn)),style:{width:"".concat(wn,"px"),transform:"translate3d(".concat(bn.scrollLeft,"px, 0, 0)")}}))},$t=a.forwardRef(Xe);function Sr(Kt,Yr){return a.useMemo(function(){var rn=!!Kt;return{isSticky:rn,stickyClassName:rn?"".concat(Yr,"-sticky-header"):"",offsetHeader:Object(s.a)(Kt)==="object"&&Kt.offsetHeader||0,offsetScroll:Object(s.a)(Kt)==="object"&&Kt.offsetScroll||0}},[Kt,Yr])}var vr=[],fr={},An="rc-table-internal-hook",Zr=a.memo(function(Kt){var Yr=Kt.children;return Yr},function(Kt,Yr){return A()(Kt.props,Yr.props)?Kt.pingLeft!==Yr.pingLeft||Kt.pingRight!==Yr.pingRight:!1});function Ln(Kt){var Yr,rn=Kt.prefixCls,hn=Kt.className,ze=Kt.rowClassName,Ct=Kt.style,or=Kt.data,rr=Kt.rowKey,Lr=Kt.scroll,Fr=Kt.tableLayout,Kr=Kt.direction,nn=Kt.title,wn=Kt.footer,In=Kt.summary,Rn=Kt.id,Dn=Kt.showHeader,bn=Kt.components,Sn=Kt.emptyText,_n=Kt.onRow,Kn=Kt.onHeaderRow,Yn=Kt.internalHooks,Zn=Kt.transformColumns,yi=Kt.internalRefs,gi=Kt.sticky,Ni=or||vr,ki=!!Ni.length,xi=a.useState(0),_i=Object(u.a)(xi,2),Li=_i[0],Hn=_i[1];a.useEffect(function(){Hn(Object(b.a)())});var Ci=a.useMemo(function(){return H(bn,{})},[bn]),Hi=a.useCallback(function(io,Ao){return B(Ci,io)||Ao},[Ci]),pr=a.useMemo(function(){return typeof rr=="function"?rr:function(io){var Ao=io&&io[rr];return Ao}},[rr]),Rr=oe(Kt),Qr=Rr.expandIcon,Nr=Rr.expandedRowKeys,Xt=Rr.defaultExpandedRowKeys,xr=Rr.defaultExpandAllRows,er=Rr.expandedRowRender,jr=Rr.onExpand,Ur=Rr.onExpandedRowsChange,pn=Rr.expandRowByClick,sn=Rr.rowExpandable,vn=Rr.expandIconColumnIndex,Un=Rr.expandedRowClassName,Qn=Rr.childrenColumnName,$n=Rr.indentSize,wi=Qr||ur,ra=Qn||"children",ua=a.useMemo(function(){return er?"row":Kt.expandable&&Yn===An&&Kt.expandable.__PARENT_RENDER_ICON__||Ni.some(function(io){return io&&Object(s.a)(io)==="object"&&io[ra]})?"nest":!1},[!!er,Ni]),da=a.useState(function(){return Xt||(xr?ir(Ni,pr,ra):[])}),sa=Object(u.a)(da,2),fa=sa[0],Wi=sa[1],Di=a.useMemo(function(){return new Set(Nr||fa||[])},[Nr,fa]),na=a.useCallback(function(io){var Ao=pr(io,Ni.indexOf(io)),Jo,ns=Di.has(Ao);ns?(Di.delete(Ao),Jo=Object(e.a)(Di)):Jo=[].concat(Object(e.a)(Di),[Ao]),Wi(Jo),jr&&jr(!ns,io),Ur&&Ur(Jo)},[pr,Di,Ni,jr,Ur]),Zi=a.useState(0),ba=Object(u.a)(Zi,2),Ta=ba[0],$i=ba[1],Vi=Mt(Object(l.a)(Object(l.a)(Object(l.a)({},Kt),Rr),{},{expandable:!!er,expandedKeys:Di,getRowKey:pr,onTriggerExpand:na,expandIcon:wi,expandIconColumnIndex:vn,direction:Kr}),Yn===An?Zn:null),La=Object(u.a)(Vi,2),ga=La[0],Ti=La[1],Ea=a.useMemo(function(){return{columns:ga,flattenColumns:Ti}},[ga,Ti]),Da=a.useRef(),Na=a.useRef(),Pa=a.useRef(),Ha=a.useState(!1),za=Object(u.a)(Ha,2),wa=za[0],Ka=za[1],ao=a.useState(!1),ea=Object(u.a)(ao,2),lo=ea[0],Ya=ea[1],Sa=pe(new Map),Ja=Object(u.a)(Sa,2),Ma=Ja[0],ka=Ja[1],yo=P(Ti),to=yo.map(function(io){return Ma.get(io)}),_o=a.useMemo(function(){return to},[to.join("_")]),co=qe(_o,Ti.length,Kr),uo=Lr&&z(Lr.y),Qa=Lr&&z(Lr.x),Za=Qa&&Ti.some(function(io){var Ao=io.fixed;return Ao}),Ca=a.useRef(),no=Sr(gi,rn),fo=no.isSticky,Bi=no.offsetHeader,Ia=no.offsetScroll,Vo=no.stickyClassName,Uo,Xo,Yo;uo&&(Xo={overflowY:"scroll",maxHeight:Lr.y}),Qa&&(Uo={overflowX:"auto"},uo||(Xo={overflowY:"hidden"}),Yo={width:Lr.x===!0?"auto":Lr.x,minWidth:"100%"});var bo=a.useCallback(function(io,Ao){ka(function(Jo){var ns=new Map(Jo);return ns.set(io,Ao),ns})},[]),Oa=q(null),Fo=Object(u.a)(Oa,2),ss=Fo[0],ho=Fo[1];function Oo(io,Ao){if(!Ao)return;typeof Ao=="function"?Ao(io):Ao.scrollLeft!==io&&(Ao.scrollLeft=io)}var Fa=function(Ao){var Jo=Ao.currentTarget,ns=Ao.scrollLeft,ys=typeof ns=="number"?ns:Jo.scrollLeft,ps=Jo||fr;if(!ho()||ho()===ps){var Ls;ss(ps),Oo(ys,Na.current),Oo(ys,Pa.current),Oo(ys,(Ls=Ca.current)===null||Ls===void 0?void 0:Ls.setScrollLeft)}if(Jo){var il=Jo.scrollWidth,Rs=Jo.clientWidth;Ka(ys>0),Ya(ys<il-Rs)}},Qo=function(){Pa.current&&Fa({currentTarget:Pa.current})},el=function(Ao){var Jo=Ao.width;Qo(),$i(Da.current?Da.current.offsetWidth:Jo)};a.useEffect(function(){return Qo},[]),a.useEffect(function(){Qa&&Qo()},[Qa]),a.useEffect(function(){Yn===An&&yi&&(yi.body.current=Pa.current)});var Es=Hi(["table"],"table"),Ns=a.useMemo(function(){return Fr||(Za?Lr.x==="max-content"?"auto":"fixed":uo||Ti.some(function(io){var Ao=io.ellipsis;return Ao})?"fixed":"auto")},[uo,Za,Ti,Fr]),Cs,As={colWidths:_o,columCount:Ti.length,stickyOffsets:co,onHeaderRow:Kn,fixHeader:uo},vs=a.useMemo(function(){return ki?null:typeof Sn=="function"?Sn():Sn},[ki,Sn]),jo=a.createElement(nt,{data:Ni,measureColumnWidth:uo||Qa||fo,expandedKeys:Di,rowExpandable:sn,getRowKey:pr,onRow:_n,emptyNode:vs,childrenColumnName:ra}),go=a.createElement(ne,{colWidths:Ti.map(function(io){var Ao=io.width;return Ao}),columns:Ti}),es=In&&a.createElement(cr,null,In(Ni)),Ho=Hi(["body"]);if(uo||fo){var Go;typeof Ho=="function"?(Go=Ho(Ni,{scrollbarSize:Li,ref:Pa,onScroll:Fa}),As.colWidths=Ti.map(function(io,Ao){var Jo=io.width,ns=Ao===ga.length-1?Jo-Li:Jo;return typeof ns=="number"&&!Number.isNaN(ns)?ns:(Object(v.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Go=a.createElement("div",{style:Object(l.a)(Object(l.a)({},Uo),Xo),onScroll:Fa,ref:Pa,className:i()("".concat(rn,"-body"))},a.createElement(Es,{style:Object(l.a)(Object(l.a)({},Yo),{},{tableLayout:Ns})},go,jo,es),fo&&a.createElement($t,{ref:Ca,offsetScroll:Ia,scrollBodyRef:Pa,onScroll:Fa})),Cs=a.createElement(a.Fragment,null,Dn!==!1&&a.createElement(ue,Object.assign({noData:!Ni.length},As,Ea,{direction:Kr,offsetHeader:Bi,stickyClassName:Vo,ref:Na,onScroll:Fa})),Go)}else Cs=a.createElement("div",{style:Object(l.a)(Object(l.a)({},Uo),Xo),className:i()("".concat(rn,"-content")),onScroll:Fa,ref:Pa},a.createElement(Es,{style:Object(l.a)(Object(l.a)({},Yo),{},{tableLayout:Ns})},go,Dn!==!1&&a.createElement(me,Object.assign({},As,Ea)),jo,es));var zr=_e(Kt),Bo=a.createElement("div",Object.assign({className:i()(rn,hn,(Yr={},Object(r.a)(Yr,"".concat(rn,"-rtl"),Kr==="rtl"),Object(r.a)(Yr,"".concat(rn,"-ping-left"),wa),Object(r.a)(Yr,"".concat(rn,"-ping-right"),lo),Object(r.a)(Yr,"".concat(rn,"-layout-fixed"),Fr==="fixed"),Object(r.a)(Yr,"".concat(rn,"-fixed-header"),uo),Object(r.a)(Yr,"".concat(rn,"-fixed-column"),Za),Object(r.a)(Yr,"".concat(rn,"-scroll-horizontal"),Qa),Object(r.a)(Yr,"".concat(rn,"-has-fix-left"),Ti[0]&&Ti[0].fixed),Object(r.a)(Yr,"".concat(rn,"-has-fix-right"),Ti[Ti.length-1]&&Ti[Ti.length-1].fixed==="right"),Yr)),style:Ct,id:Rn,ref:Da},zr),a.createElement(Zr,{pingLeft:wa,pingRight:lo,props:Object(l.a)(Object(l.a)({},Kt),{},{stickyOffsets:co,mergedExpandedKeys:Di})},nn&&a.createElement(Nt,{className:"".concat(rn,"-title")},nn(Ni)),a.createElement("div",{className:"".concat(rn,"-container")},Cs),wn&&a.createElement(Nt,{className:"".concat(rn,"-footer")},wn(Ni))));Qa&&(Bo=a.createElement(w.a,{onResize:el},Bo));var tl=a.useMemo(function(){return{prefixCls:rn,getComponent:Hi,scrollbarSize:Li,direction:Kr,fixedInfoList:Ti.map(function(io,Ao){return J(Ao,Ao,Ti,co,Kr)}),isSticky:fo}},[rn,Hi,Li,Kr,Ti,co,Kr,fo]),Ks=a.useMemo(function(){return Object(l.a)(Object(l.a)({},Ea),{},{tableLayout:Ns,rowClassName:ze,expandedRowClassName:Un,componentWidth:Ta,fixHeader:uo,fixColumn:Za,horizonScroll:Qa,expandIcon:wi,expandableType:ua,expandRowByClick:pn,expandedRowRender:er,onTriggerExpand:na,expandIconColumnIndex:vn,indentSize:$n})},[Ea,Ns,ze,Un,Ta,uo,Za,Qa,wi,ua,pn,er,na,vn,$n]),Ps=a.useMemo(function(){return{onColumnResize:bo}},[bo]);return a.createElement(X.Provider,{value:tl},a.createElement(ce.Provider,{value:Ks},a.createElement(ye.Provider,{value:Ps},Bo)))}Ln.Column=x,Ln.ColumnGroup=T,Ln.Summary=Vr,Ln.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Je=Ln,et=Je,be=t("W9HT"),Le=t("NUBc"),Ue=t("H84U"),rt=function(Kt,Yr){var rn={};for(var hn in Kt)Object.prototype.hasOwnProperty.call(Kt,hn)&&Yr.indexOf(hn)<0&&(rn[hn]=Kt[hn]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,hn=Object.getOwnPropertySymbols(Kt);ze<hn.length;ze++)Yr.indexOf(hn[ze])<0&&Object.prototype.propertyIsEnumerable.call(Kt,hn[ze])&&(rn[hn[ze]]=Kt[hn[ze]]);return rn},Vt=10;function Ft(Kt,Yr){var rn={current:Yr.current,pageSize:Yr.pageSize},hn=Kt&&p()(Kt)==="object"?Kt:{};return Object.keys(hn).forEach(function(ze){var Ct=Yr[ze];typeof Ct!="function"&&(rn[ze]=Ct)}),rn}function zt(){for(var Kt={},Yr=arguments.length,rn=new Array(Yr),hn=0;hn<Yr;hn++)rn[hn]=arguments[hn];return rn.forEach(function(ze){ze&&Object.keys(ze).forEach(function(Ct){var or=ze[Ct];or!==void 0&&(Kt[Ct]=or)})}),Kt}function Dr(Kt,Yr,rn){var hn=Yr&&p()(Yr)==="object"?Yr:{},ze=hn.total,Ct=ze===void 0?0:ze,or=rt(hn,["total"]),rr=Object(a.useState)(function(){return{current:"defaultCurrent"in or?or.defaultCurrent:1,pageSize:"defaultPageSize"in or?or.defaultPageSize:Vt}}),Lr=f()(rr,2),Fr=Lr[0],Kr=Lr[1],nn=zt(Fr,or,{total:Ct>0?Ct:Kt});if(!Ct){var wn=Math.ceil(Kt/nn.pageSize);wn<nn.current&&(nn.current=1)}var In=function(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Sn=arguments.length>1?arguments[1]:void 0;Kr(c()(c()({},nn),{current:bn,pageSize:Sn||nn.pageSize}))},Rn=function(bn,Sn){var _n=nn==null?void 0:nn.pageSize;Sn&&Sn!==_n&&(bn=1,Yr&&Yr.onShowSizeChange&&Yr.onShowSizeChange(bn,Sn)),Yr&&Yr.onChange&&Yr.onChange(bn,Sn),In(bn,Sn),rn(bn,Sn||_n)};return Yr===!1?[{},function(){}]:[c()(c()({},nn),{onChange:Rn}),In]}function Pr(Kt,Yr,rn){var hn=a.useRef({});function ze(Ct){if(!hn.current||hn.current.data!==Kt||hn.current.childrenColumnName!==Yr||hn.current.getRowKey!==rn){var or=function Lr(Fr){Fr.forEach(function(Kr,nn){var wn=rn(Kr,nn);rr.set(wn,Kr),Kr&&p()(Kr)==="object"&&Yr in Kr&&Lr(Kr[Yr]||[])})},rr=new Map;or(Kt),hn.current={data:Kt,childrenColumnName:Yr,kvMap:rr,getRowKey:rn}}return hn.current.kvMap.get(Ct)}return[ze]}var un=t("SA+Z"),Ht=t.n(un),dt=t("RIqP"),at=t.n(dt),Qt=t("HQEm"),Jt=t.n(Qt),gt=t("815F"),Bt=t("NvD2"),mt=t("OZM5"),kt=t("6cGi"),gr=t("kaz8"),ar=t("jsC+"),lr=t("BvKs"),Gr=t("9yH6"),Jr=t("uaoM"),Tn="SELECT_ALL",Nn="SELECT_INVERT";function zn(Kt){return Kt&&Kt.fixed}function qn(Kt,Yr){var rn=[];return(Kt||[]).forEach(function(hn){rn.push(hn),hn&&p()(hn)==="object"&&Yr in hn&&(rn=[].concat(at()(rn),at()(qn(hn[Yr],Yr))))}),rn}function vi(Kt,Yr){var rn=Kt||{},hn=rn.preserveSelectedRowKeys,ze=rn.selectedRowKeys,Ct=rn.getCheckboxProps,or=rn.onChange,rr=rn.onSelect,Lr=rn.onSelectAll,Fr=rn.onSelectInvert,Kr=rn.onSelectMultiple,nn=rn.columnWidth,wn=rn.type,In=rn.selections,Rn=rn.fixed,Dn=rn.renderCell,bn=rn.hideSelectAll,Sn=rn.checkStrictly,_n=Sn===void 0?!0:Sn,Kn=Yr.prefixCls,Yn=Yr.data,Zn=Yr.pageData,yi=Yr.getRecordByKey,gi=Yr.getRowKey,Ni=Yr.expandType,ki=Yr.childrenColumnName,xi=Yr.locale,_i=Yr.expandIconColumnIndex,Li=Yr.getPopupContainer,Hn=a.useRef(new Map),Ci=Object(kt.a)(ze||[],{value:ze}),Hi=f()(Ci,2),pr=Hi[0],Rr=Hi[1],Qr=Object(a.useMemo)(function(){return _n?{keyEntities:null}:Object(gt.a)(Yn,void 0,gi)},[Yn,gi,_n]),Nr=Qr.keyEntities,Xt=Object(a.useMemo)(function(){return qn(Zn,ki)},[Zn,ki]),xr=Object(a.useMemo)(function(){var Wi=new Map;return Xt.forEach(function(Di,na){var Zi=gi(Di,na),ba=(Ct?Ct(Di):null)||{};Wi.set(Zi,ba)}),Wi},[Xt,gi,Ct]),er=Object(a.useCallback)(function(Wi){var Di;return!!((Di=xr.get(gi(Wi)))===null||Di===void 0?void 0:Di.disabled)},[xr,gi]),jr=Object(a.useMemo)(function(){if(_n)return[pr,[]];var Wi=Object(Bt.a)(pr,!0,Nr,er),Di=Wi.checkedKeys,na=Wi.halfCheckedKeys;return[Di,na]},[pr,_n,Nr,er]),Ur=f()(jr,2),pn=Ur[0],sn=Ur[1],vn=Object(a.useMemo)(function(){var Wi=wn==="radio"?pn.slice(0,1):pn;return new Set(Wi)},[pn,wn]),Un=Object(a.useMemo)(function(){return wn==="radio"?new Set:new Set(sn)},[sn,wn]),Qn=Object(a.useState)(null),$n=f()(Qn,2),wi=$n[0],ra=$n[1];a.useEffect(function(){Kt||Rr([])},[!!Kt]);var ua=Object(a.useCallback)(function(Wi){var Di,na;if(hn){var Zi=new Map;Di=Wi,na=Wi.map(function(ba){var Ta=yi(ba);return!Ta&&Hn.current.has(ba)&&(Ta=Hn.current.get(ba)),Zi.set(ba,Ta),Ta}),Hn.current=Zi}else Di=[],na=[],Wi.forEach(function(ba){var Ta=yi(ba);Ta!==void 0&&(Di.push(ba),na.push(Ta))});Rr(Di),or&&or(Di,na)},[Rr,yi,or,hn]),da=Object(a.useCallback)(function(Wi,Di,na,Zi){if(rr){var ba=na.map(function(Ta){return yi(Ta)});rr(yi(Wi),Di,ba,Zi)}ua(na)},[rr,yi,ua]),sa=Object(a.useMemo)(function(){if(!In||bn)return null;var Wi=In===!0?[Tn,Nn]:In;return Wi.map(function(Di){return Di===Tn?{key:"all",text:xi.selectionAll,onSelect:function(){ua(Yn.map(function(Zi,ba){return gi(Zi,ba)}))}}:Di===Nn?{key:"invert",text:xi.selectInvert,onSelect:function(){var Zi=new Set(vn);Zn.forEach(function(Ta,$i){var Vi=gi(Ta,$i);Zi.has(Vi)?Zi.delete(Vi):Zi.add(Vi)});var ba=Array.from(Zi);ua(ba),Fr&&(Object(Jr.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Fr(ba))}}:Di})},[In,vn,Zn,gi,Fr,ua]),fa=Object(a.useCallback)(function(Wi){if(!Kt)return Wi;var Di=new Set(vn),na=Xt.map(gi).filter(function(wa){return!xr.get(wa).disabled}),Zi=na.every(function(wa){return Di.has(wa)}),ba=na.some(function(wa){return Di.has(wa)}),Ta=function(){var Ka=[];Zi?na.forEach(function(ea){Di.delete(ea),Ka.push(ea)}):na.forEach(function(ea){Di.has(ea)||(Di.add(ea),Ka.push(ea))});var ao=Array.from(Di);ua(ao),Lr&&Lr(!Zi,ao.map(function(ea){return yi(ea)}),Ka.map(function(ea){return yi(ea)}))},$i;if(wn!=="radio"){var Vi;if(sa){var La=a.createElement(lr.a,{getPopupContainer:Li},sa.map(function(wa,Ka){var ao=wa.key,ea=wa.text,lo=wa.onSelect;return a.createElement(lr.a.Item,{key:ao||Ka,onClick:function(){lo&&lo(na)}},ea)}));Vi=a.createElement("div",{className:"".concat(Kn,"-selection-extra")},a.createElement(ar.a,{overlay:La,getPopupContainer:Li},a.createElement("span",null,a.createElement(Jt.a,null))))}var ga=Xt.every(function(wa,Ka){var ao=gi(wa,Ka),ea=xr.get(ao)||{};return ea.disabled});$i=!bn&&a.createElement("div",{className:"".concat(Kn,"-selection")},a.createElement(gr.a,{checked:!ga&&!!Xt.length&&Zi,indeterminate:!Zi&&ba,onChange:Ta,disabled:Xt.length===0||ga}),Vi)}var Ti;wn==="radio"?Ti=function(Ka,ao,ea){var lo=gi(ao,ea),Ya=Di.has(lo);return{node:a.createElement(Gr.a,c()({},xr.get(lo),{checked:Ya,onClick:function(Ja){return Ja.stopPropagation()},onChange:function(Ja){Di.has(lo)||da(lo,!0,[lo],Ja.nativeEvent)}})),checked:Ya}}:Ti=function(Ka,ao,ea){var lo,Ya=gi(ao,ea),Sa=Di.has(Ya),Ja=Un.has(Ya),Ma=xr.get(Ya),ka;return Ni==="nest"?(ka=Ja,Object(Jr.a)(!(typeof(Ma==null?void 0:Ma.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):ka=(lo=Ma==null?void 0:Ma.indeterminate)!==null&&lo!==void 0?lo:Ja,{node:a.createElement(gr.a,c()({},Ma,{indeterminate:ka,checked:Sa,onClick:function(to){return to.stopPropagation()},onChange:function(to){var _o=to.nativeEvent,co=_o.shiftKey,uo=-1,Qa=-1;if(co&&_n){var Za=new Set([wi,Ya]);na.some(function(Oa,Fo){if(Za.has(Oa))if(uo===-1)uo=Fo;else return Qa=Fo,!0;return!1})}if(Qa!==-1&&uo!==Qa&&_n){var Ca=na.slice(uo,Qa+1),no=[];Sa?Ca.forEach(function(Oa){Di.has(Oa)&&(no.push(Oa),Di.delete(Oa))}):Ca.forEach(function(Oa){Di.has(Oa)||(no.push(Oa),Di.add(Oa))});var fo=Array.from(Di);ua(fo),Kr&&Kr(!Sa,fo.map(function(Oa){return yi(Oa)}),no.map(function(Oa){return yi(Oa)}))}else{var Bi=pn;if(_n){var Ia=Sa?Object(mt.b)(Bi,Ya):Object(mt.a)(Bi,Ya);da(Ya,!Sa,Ia,_o)}else{var Vo=Object(Bt.a)([].concat(at()(Bi),[Ya]),!0,Nr,er),Uo=Vo.checkedKeys,Xo=Vo.halfCheckedKeys,Yo=Uo;if(Sa){var bo=new Set(Uo);bo.delete(Ya),Yo=Object(Bt.a)(Array.from(bo),{checked:!1,halfCheckedKeys:Xo},Nr,er).checkedKeys}da(Ya,!Sa,Yo,_o)}}ra(Ya)}})),checked:Sa}};var Ea=function(Ka,ao,ea){var lo=Ti(Ka,ao,ea),Ya=lo.node,Sa=lo.checked;return Dn?Dn(Sa,ao,ea,Ya):Ya},Da=m()({width:nn,className:"".concat(Kn,"-selection-column"),title:Kt.columnTitle||$i,render:Ea},Me,{className:"".concat(Kn,"-selection-col")});if(Ni==="row"&&Wi.length&&!_i){var Na=Ht()(Wi),Pa=Na[0],Ha=Na.slice(1),za=Rn||zn(Ha[0]);return za&&(Pa.fixed=za),[Pa,c()(c()({},Da),{fixed:za})].concat(at()(Ha))}return[c()(c()({},Da),{fixed:Rn||zn(Wi[0])})].concat(at()(Wi))},[gi,Xt,Kt,pn,vn,Un,nn,sa,Ni,wi,xr,Kr,da,er]);return[fa,vn]}var Ri=t("6SEX"),Ve=t.n(Ri),Se=t("i8CU"),Re=t.n(Se),Be=t("3S7+");function We(Kt,Yr){return"key"in Kt&&Kt.key!==void 0&&Kt.key!==null?Kt.key:Kt.dataIndex?Array.isArray(Kt.dataIndex)?Kt.dataIndex.join("."):Kt.dataIndex:Yr}function He(Kt,Yr){return Yr?"".concat(Yr,"-").concat(Kt):"".concat(Kt)}function Qe(Kt,Yr){return typeof Kt=="function"?Kt(Yr):Kt}var At="ascend",st="descend";function Pt(Kt){return p()(Kt.sorter)==="object"&&typeof Kt.sorter.multiple=="number"?Kt.sorter.multiple:!1}function wr(Kt){return typeof Kt=="function"?Kt:Kt&&p()(Kt)==="object"&&Kt.compare?Kt.compare:!1}function mr(Kt,Yr){return Yr?Kt[Kt.indexOf(Yr)+1]:Kt[0]}function Or(Kt,Yr,rn){var hn=[];function ze(Ct,or){hn.push({column:Ct,key:We(Ct,or),multiplePriority:Pt(Ct),sortOrder:Ct.sortOrder})}return(Kt||[]).forEach(function(Ct,or){var rr=He(or,rn);Ct.children?("sortOrder"in Ct&&ze(Ct,rr),hn=[].concat(at()(hn),at()(Or(Ct.children,Yr,rr)))):Ct.sorter&&("sortOrder"in Ct?ze(Ct,rr):Yr&&Ct.defaultSortOrder&&hn.push({column:Ct,key:We(Ct,rr),multiplePriority:Pt(Ct),sortOrder:Ct.defaultSortOrder}))}),hn}function jt(Kt,Yr,rn,hn,ze,Ct,or,rr){return(Yr||[]).map(function(Lr,Fr){var Kr=He(Fr,rr),nn=Lr;if(nn.sorter){var wn=nn.sortDirections||ze,In=nn.showSorterTooltip===void 0?or:nn.showSorterTooltip,Rn=We(nn,Kr),Dn=rn.find(function(ki){var xi=ki.key;return xi===Rn}),bn=Dn?Dn.sortOrder:null,Sn=mr(wn,bn),_n=wn.includes(At)&&a.createElement(Re.a,{className:i()("".concat(Kt,"-column-sorter-up"),{active:bn===At})}),Kn=wn.includes(st)&&a.createElement(Ve.a,{className:i()("".concat(Kt,"-column-sorter-down"),{active:bn===st})}),Yn=Ct||{},Zn=Yn.cancelSort,yi=Yn.triggerAsc,gi=Yn.triggerDesc,Ni=Zn;Sn===st?Ni=gi:Sn===At&&(Ni=yi),nn=c()(c()({},nn),{className:i()(nn.className,m()({},"".concat(Kt,"-column-sort"),bn)),title:function(xi){var _i=a.createElement("div",{className:"".concat(Kt,"-column-sorters")},a.createElement("span",null,Qe(Lr.title,xi)),a.createElement("span",{className:i()("".concat(Kt,"-column-sorter"),m()({},"".concat(Kt,"-column-sorter-full"),_n&&Kn))},a.createElement("span",{className:"".concat(Kt,"-column-sorter-inner")},_n,Kn)));return In?a.createElement(Be.a,{title:Ni},a.createElement("div",{className:"".concat(Kt,"-column-sorters-with-tooltip")},_i)):_i},onHeaderCell:function(xi){var _i=Lr.onHeaderCell&&Lr.onHeaderCell(xi)||{},Li=_i.onClick;return _i.onClick=function(Hn){hn({column:Lr,key:Rn,sortOrder:Sn,multiplePriority:Pt(Lr)}),Li&&Li(Hn)},_i.className=i()(_i.className,"".concat(Kt,"-column-has-sorters")),_i}})}return"children"in nn&&(nn=c()(c()({},nn),{children:jt(Kt,nn.children,rn,hn,ze,Ct,or,Kr)})),nn})}function cn(Kt){var Yr=Kt.column,rn=Kt.sortOrder;return{column:Yr,order:rn,field:Yr.dataIndex,columnKey:Yr.key}}function nr(Kt){var Yr=Kt.filter(function(rn){var hn=rn.sortOrder;return hn}).map(cn);return Yr.length===0&&Kt.length?c()(c()({},cn(Kt[Kt.length-1])),{column:void 0}):Yr.length<=1?Yr[0]||{}:Yr}function Xr(Kt,Yr,rn){var hn=Yr.slice().sort(function(or,rr){return rr.multiplePriority-or.multiplePriority}),ze=Kt.slice(),Ct=hn.filter(function(or){var rr=or.column.sorter,Lr=or.sortOrder;return wr(rr)&&Lr});return Ct.length?ze.sort(function(or,rr){for(var Lr=0;Lr<Ct.length;Lr+=1){var Fr=Ct[Lr],Kr=Fr.column.sorter,nn=Fr.sortOrder,wn=wr(Kr);if(wn&&nn){var In=wn(or,rr,nn);if(In!==0)return nn===At?In:-In}}return 0}).map(function(or){var rr=or[rn];return rr?c()(c()({},or),m()({},rn,Xr(rr,Yr,rn))):or}):ze}function Br(Kt){var Yr=Kt.prefixCls,rn=Kt.mergedColumns,hn=Kt.onSorterChange,ze=Kt.sortDirections,Ct=Kt.tableLocale,or=Kt.showSorterTooltip,rr=a.useState(Or(rn,!0)),Lr=f()(rr,2),Fr=Lr[0],Kr=Lr[1],nn=a.useMemo(function(){var bn=!0,Sn=Or(rn,!1);if(!Sn.length)return Fr;var _n=[];function Kn(Zn){bn?_n.push(Zn):_n.push(c()(c()({},Zn),{sortOrder:null}))}var Yn=null;return Sn.forEach(function(Zn){Yn===null?(Kn(Zn),Zn.sortOrder&&(Zn.multiplePriority===!1?bn=!1:Yn=!0)):(Yn&&Zn.multiplePriority!==!1||(bn=!1),Kn(Zn))}),_n},[rn,Fr]),wn=a.useMemo(function(){var bn=nn.map(function(Sn){var _n=Sn.column,Kn=Sn.sortOrder;return{column:_n,order:Kn}});return{sortColumns:bn,sortColumn:bn[0]&&bn[0].column,sortOrder:bn[0]&&bn[0].order}},[nn]);function In(bn){var Sn;bn.multiplePriority===!1||!nn.length||nn[0].multiplePriority===!1?Sn=[bn]:Sn=[].concat(at()(nn.filter(function(_n){var Kn=_n.key;return Kn!==bn.key})),[bn]),Kr(Sn),hn(nr(Sn),Sn)}var Rn=function(Sn){return jt(Yr,Sn,nn,In,ze,Ct,or)},Dn=function(){return nr(nn)};return[Rn,nn,wn,Dn]}var yr=t("Y+p1"),xn=t.n(yr),Bn=t("5Uyt"),ii=t.n(Bn),oi=t("2/Rp"),ei=t("ECub"),ui=function(Yr){return a.createElement("div",{className:Yr.className,onClick:function(hn){return hn.stopPropagation()}},Yr.children)},Fn=ui,Si=t("sPtV"),gn=lr.a.SubMenu,Wr=lr.a.Item;function En(Kt){return Kt.some(function(Yr){var rn=Yr.children;return rn})}function on(Kt){var Yr=Kt.filters,rn=Kt.prefixCls,hn=Kt.filteredKeys,ze=Kt.filterMultiple,Ct=Kt.locale;return Yr.length===0?a.createElement(a.Fragment,null,a.createElement(ei.a,{image:ei.a.PRESENTED_IMAGE_SIMPLE,description:Ct.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Yr.map(function(or,rr){var Lr=String(or.value);if(or.children)return a.createElement(gn,{key:Lr||rr,title:or.text,popupClassName:"".concat(rn,"-dropdown-submenu")},on({filters:or.children,prefixCls:rn,filteredKeys:hn,filterMultiple:ze,locale:Ct}));var Fr=ze?gr.a:Gr.a;return a.createElement(Wr,{key:or.value!==void 0?Lr:rr},a.createElement(Fr,{checked:hn.includes(Lr)}),a.createElement("span",null,or.text))})}function ci(Kt){var Yr,rn=Kt.prefixCls,hn=Kt.column,ze=Kt.dropdownPrefixCls,Ct=Kt.columnKey,or=Kt.filterMultiple,rr=Kt.filterState,Lr=Kt.triggerFilter,Fr=Kt.locale,Kr=Kt.children,nn=Kt.getPopupContainer,wn=hn.filterDropdownVisible,In=hn.onFilterDropdownVisibleChange,Rn=a.useState(!1),Dn=f()(Rn,2),bn=Dn[0],Sn=Dn[1],_n=!!(rr&&(((Yr=rr.filteredKeys)===null||Yr===void 0?void 0:Yr.length)||rr.forceFiltered)),Kn=function($n){Sn($n),In&&In($n)},Yn=typeof wn=="boolean"?wn:bn,Zn=rr&&rr.filteredKeys,yi=Object(Si.a)(Zn||[]),gi=f()(yi,2),Ni=gi[0],ki=gi[1],xi=function($n){var wi=$n.selectedKeys;ki(wi)};a.useEffect(function(){xi({selectedKeys:Zn||[]})},[Zn]);var _i=a.useState([]),Li=f()(_i,2),Hn=Li[0],Ci=Li[1],Hi=a.useRef(),pr=function($n){Hi.current=window.setTimeout(function(){Ci($n)})},Rr=function(){window.clearTimeout(Hi.current)};a.useEffect(function(){return function(){window.clearTimeout(Hi.current)}},[]);var Qr=function($n){Kn(!1);var wi=$n&&$n.length?$n:null;if(wi===null&&(!rr||!rr.filteredKeys))return null;if(xn()(wi,rr==null?void 0:rr.filteredKeys))return null;Lr({column:hn,key:Ct,filteredKeys:wi})},Nr=function(){Qr(Ni())},Xt=function(){ki([]),Qr([])},xr=function($n){$n&&Zn!==void 0&&ki(Zn||[]),Kn($n),!$n&&!hn.filterDropdown&&Nr()},er=i()(m()({},"".concat(ze,"-menu-without-submenu"),!En(hn.filters||[]))),jr;if(typeof hn.filterDropdown=="function")jr=hn.filterDropdown({prefixCls:"".concat(ze,"-custom"),setSelectedKeys:function($n){return xi({selectedKeys:$n})},selectedKeys:Ni(),confirm:Nr,clearFilters:Xt,filters:hn.filters,visible:Yn});else if(hn.filterDropdown)jr=hn.filterDropdown;else{var Ur=Ni()||[];jr=a.createElement(a.Fragment,null,a.createElement(lr.a,{multiple:or,prefixCls:"".concat(ze,"-menu"),className:er,onClick:Rr,onSelect:xi,onDeselect:xi,selectedKeys:Ur,getPopupContainer:nn,openKeys:Hn,onOpenChange:pr},on({filters:hn.filters||[],prefixCls:rn,filteredKeys:Ni(),filterMultiple:or,locale:Fr})),a.createElement("div",{className:"".concat(rn,"-dropdown-btns")},a.createElement(oi.a,{type:"link",size:"small",disabled:Ur.length===0,onClick:Xt},Fr.filterReset),a.createElement(oi.a,{type:"primary",size:"small",onClick:Nr},Fr.filterConfirm)))}var pn=a.createElement(Fn,{className:"".concat(rn,"-dropdown")},jr),sn;typeof hn.filterIcon=="function"?sn=hn.filterIcon(_n):hn.filterIcon?sn=hn.filterIcon:sn=a.createElement(ii.a,null);var vn=a.useContext(Ue.b),Un=vn.direction;return a.createElement("div",{className:i()("".concat(rn,"-column"))},a.createElement("span",{className:"".concat(rn,"-column-title")},Kr),a.createElement("span",{className:i()("".concat(rn,"-trigger-container"),m()({},"".concat(rn,"-trigger-container-open"),Yn)),onClick:function($n){$n.stopPropagation()}},a.createElement(ar.a,{overlay:pn,trigger:["click"],visible:Yn,onVisibleChange:xr,getPopupContainer:nn,placement:Un==="rtl"?"bottomLeft":"bottomRight"},a.createElement("span",{role:"button",tabIndex:-1,className:i()("".concat(rn,"-trigger"),{active:_n})},sn))))}var ri=ci;function bi(Kt,Yr,rn){var hn=[];return(Kt||[]).forEach(function(ze,Ct){var or=He(Ct,rn);"children"in ze?hn=[].concat(at()(hn),at()(bi(ze.children,Yr,or))):(ze.filters||"filterDropdown"in ze||"onFilter"in ze)&&("filteredValue"in ze?hn.push({column:ze,key:We(ze,or),filteredKeys:ze.filteredValue,forceFiltered:ze.filtered}):hn.push({column:ze,key:We(ze,or),filteredKeys:Yr&&ze.defaultFilteredValue?ze.defaultFilteredValue:void 0,forceFiltered:ze.filtered}))}),hn}function Gn(Kt,Yr,rn,hn,ze,Ct,or,rr){return rn.map(function(Lr,Fr){var Kr=He(Fr,rr),nn=Lr.filterMultiple,wn=nn===void 0?!0:nn;if(Lr.filters||"filterDropdown"in Lr){var In=We(Lr,Kr),Rn=hn.find(function(Dn){var bn=Dn.key;return In===bn});return c()(c()({},Lr),{title:function(bn){return a.createElement(ri,{prefixCls:"".concat(Kt,"-filter"),dropdownPrefixCls:Yr,column:Lr,columnKey:In,filterState:Rn,filterMultiple:wn,triggerFilter:ze,locale:or,getPopupContainer:Ct},Qe(Lr.title,bn))}})}return"children"in Lr?c()(c()({},Lr),{children:Gn(Kt,Yr,Lr.children,hn,ze,Ct,or,Kr)}):Lr})}function Fi(Kt){var Yr={};return Kt.forEach(function(rn){var hn=rn.key,ze=rn.filteredKeys;Yr[hn]=ze||null}),Yr}function Jn(Kt){var Yr=[];return(Kt||[]).forEach(function(rn){var hn=rn.value,ze=rn.children;Yr.push(hn),ze&&(Yr=[].concat(at()(Yr),at()(Jn(ze))))}),Yr}function Mi(Kt,Yr){return Yr.reduce(function(rn,hn){var ze=hn.column,Ct=ze.onFilter,or=ze.filters,rr=hn.filteredKeys;return Ct&&rr&&rr.length?rn.filter(function(Lr){return rr.some(function(Fr){var Kr=Jn(or),nn=Kr.findIndex(function(In){return String(In)===String(Fr)}),wn=nn!==-1?Kr[nn]:Fr;return Ct(wn,Lr)})}):rn},Kt)}function fn(Kt){var Yr=Kt.prefixCls,rn=Kt.dropdownPrefixCls,hn=Kt.mergedColumns,ze=Kt.onFilterChange,Ct=Kt.getPopupContainer,or=Kt.locale,rr=a.useState(bi(hn,!0)),Lr=f()(rr,2),Fr=Lr[0],Kr=Lr[1],nn=a.useMemo(function(){var Dn=bi(hn,!1);return Dn.every(function(bn){var Sn=bn.filteredKeys;return Sn===void 0})?Fr:Dn},[hn,Fr]),wn=a.useCallback(function(){return Fi(nn)},[nn]),In=function(bn){var Sn=nn.filter(function(_n){var Kn=_n.key;return Kn!==bn.key});Sn.push(bn),Kr(Sn),ze(Fi(Sn),Sn)},Rn=function(bn){return Gn(Yr,rn,bn,nn,In,Ct,or)};return[Rn,nn,wn]}var kr=fn;function yn(Kt,Yr){return Kt.map(function(rn){var hn=c()({},rn);return hn.title=Qe(rn.title,Yr),"children"in hn&&(hn.children=yn(hn.children,Yr)),hn})}function jn(Kt){var Yr=a.useCallback(function(rn){return yn(rn,Kt)},[Kt]);return[Yr]}function Xn(Kt){return function(rn){var hn,ze=rn.prefixCls,Ct=rn.onExpand,or=rn.record,rr=rn.expanded,Lr=rn.expandable,Fr="".concat(ze,"-row-expand-icon");return a.createElement("button",{type:"button",onClick:function(nn){Ct(or,nn),nn.stopPropagation()},className:i()(Fr,(hn={},m()(hn,"".concat(Fr,"-spaced"),!Lr),m()(hn,"".concat(Fr,"-expanded"),Lr&&rr),m()(hn,"".concat(Fr,"-collapsed"),Lr&&!rr),hn)),"aria-label":rr?Kt.collapse:Kt.expand})}}var ti=Xn,di=t("zAh6"),fi=t("ZvpZ"),mi=fi.a,Ki=t("3Nzz");function ia(Kt){return null}var qi=ia;function Ra(Kt){return null}var pi=Ra,ln=t("5OYt"),Oi=[];function Ji(Kt){var Yr,rn=Kt.prefixCls,hn=Kt.className,ze=Kt.style,Ct=Kt.size,or=Kt.bordered,rr=Kt.dropdownPrefixCls,Lr=Kt.dataSource,Fr=Kt.pagination,Kr=Kt.rowSelection,nn=Kt.rowKey,wn=Kt.rowClassName,In=Kt.columns,Rn=Kt.children,Dn=Kt.childrenColumnName,bn=Kt.onChange,Sn=Kt.getPopupContainer,_n=Kt.loading,Kn=Kt.expandIcon,Yn=Kt.expandable,Zn=Kt.expandedRowRender,yi=Kt.expandIconColumnIndex,gi=Kt.indentSize,Ni=Kt.scroll,ki=Kt.sortDirections,xi=Kt.locale,_i=Kt.showSorterTooltip,Li=_i===void 0?!0:_i;Object(Jr.a)(!(typeof nn=="function"&&nn.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Hn=Object(ln.a)(),Ci=a.useMemo(function(){var bo=new Set(Object.keys(Hn).filter(function(Oa){return Hn[Oa]}));return(In||vt(Rn)).filter(function(Oa){return!Oa.responsive||Oa.responsive.some(function(Fo){return bo.has(Fo)})})},[Rn,In,Hn]),Hi=Object(o.default)(Kt,["className","style","columns"]),pr=a.useContext(Ki.b),Rr=a.useContext(Ue.b),Qr=Rr.locale,Nr=Qr===void 0?mi:Qr,Xt=Rr.renderEmpty,xr=Rr.direction,er=Ct||pr,jr=c()(c()({},Nr.Table),xi),Ur=Lr||Oi,pn=a.useContext(Ue.b),sn=pn.getPrefixCls,vn=sn("table",rn),Un=sn("dropdown",rr),Qn=c()({childrenColumnName:Dn,expandIconColumnIndex:yi},Yn),$n=Qn.childrenColumnName,wi=$n===void 0?"children":$n,ra=a.useMemo(function(){return Ur.some(function(bo){var Oa;return(Oa=bo)===null||Oa===void 0?void 0:Oa[wi]})?"nest":Zn||Yn&&Yn.expandedRowRender?"row":null},[Ur]),ua={body:a.useRef()},da=a.useMemo(function(){return typeof nn=="function"?nn:function(bo){var Oa;return(Oa=bo)===null||Oa===void 0?void 0:Oa[nn]}},[nn]),sa=Pr(Ur,wi,da),fa=f()(sa,1),Wi=fa[0],Di={},na=function(Oa,Fo){var ss=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ho=c()(c()({},Di),Oa);ss&&(Di.resetPagination(),ho.pagination.current&&(ho.pagination.current=1),Fr&&Fr.onChange&&Fr.onChange(1,ho.pagination.pageSize)),Ni&&Ni.scrollToFirstRowOnChange!==!1&&ua.body.current&&Object(di.a)(0,{getContainer:function(){return ua.body.current}}),bn&&bn(ho.pagination,ho.filters,ho.sorter,{currentDataSource:Mi(Xr(Ur,ho.sorterStates,wi),ho.filterStates),action:Fo})},Zi=function(Oa,Fo){na({sorter:Oa,sorterStates:Fo},"sort",!1)},ba=Br({prefixCls:vn,mergedColumns:Ci,onSorterChange:Zi,sortDirections:ki||["ascend","descend"],tableLocale:jr,showSorterTooltip:Li}),Ta=f()(ba,4),$i=Ta[0],Vi=Ta[1],La=Ta[2],ga=Ta[3],Ti=a.useMemo(function(){return Xr(Ur,Vi,wi)},[Ur,Vi]);Di.sorter=ga(),Di.sorterStates=Vi;var Ea=function(Oa,Fo){na({filters:Oa,filterStates:Fo},"filter",!0)},Da=kr({prefixCls:vn,locale:jr,dropdownPrefixCls:Un,mergedColumns:Ci,onFilterChange:Ea,getPopupContainer:Sn}),Na=f()(Da,3),Pa=Na[0],Ha=Na[1],za=Na[2],wa=Mi(Ti,Ha);Di.filters=za(),Di.filterStates=Ha;var Ka=a.useMemo(function(){return c()({},La)},[La]),ao=jn(Ka),ea=f()(ao,1),lo=ea[0],Ya=function(Oa,Fo){na({pagination:c()(c()({},Di.pagination),{current:Oa,pageSize:Fo})},"paginate")},Sa=Dr(wa.length,Fr,Ya),Ja=f()(Sa,2),Ma=Ja[0],ka=Ja[1];Di.pagination=Fr===!1?{}:Ft(Fr,Ma),Di.resetPagination=ka;var yo=a.useMemo(function(){if(Fr===!1||!Ma.pageSize)return wa;var bo=Ma.current,Oa=bo===void 0?1:bo,Fo=Ma.total,ss=Ma.pageSize,ho=ss===void 0?Vt:ss;return wa.length<Fo?wa.length>ho?(Object(Jr.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),wa.slice((Oa-1)*ho,Oa*ho)):wa:wa.slice((Oa-1)*ho,Oa*ho)},[!!Fr,wa,Ma&&Ma.current,Ma&&Ma.pageSize,Ma&&Ma.total]),to=vi(Kr,{prefixCls:vn,data:wa,pageData:yo,getRowKey:da,getRecordByKey:Wi,expandType:ra,childrenColumnName:wi,locale:jr,expandIconColumnIndex:Qn.expandIconColumnIndex,getPopupContainer:Sn}),_o=f()(to,2),co=_o[0],uo=_o[1],Qa=function(Oa,Fo,ss){var ho;return typeof wn=="function"?ho=i()(wn(Oa,Fo,ss)):ho=i()(wn),i()(m()({},"".concat(vn,"-row-selected"),uo.has(da(Oa,Fo))),ho)};Qn.__PARENT_RENDER_ICON__=Qn.expandIcon,Qn.expandIcon=Qn.expandIcon||Kn||ti(jr),ra==="nest"&&Qn.expandIconColumnIndex===void 0?Qn.expandIconColumnIndex=Kr?1:0:Qn.expandIconColumnIndex>0&&Kr&&(Qn.expandIconColumnIndex-=1),typeof Qn.indentSize!="number"&&(Qn.indentSize=typeof gi=="number"?gi:15);var Za=a.useCallback(function(bo){return lo(co(Pa($i(bo))))},[$i,Pa,co]),Ca,no;if(Fr!==!1){var fo;Ma.size?fo=Ma.size:fo=er==="small"||er==="middle"?"small":void 0;var Bi=function(Oa){return a.createElement(Le.a,c()({className:"".concat(vn,"-pagination ").concat(vn,"-pagination-").concat(Oa)},Ma,{size:fo}))},Ia=xr==="rtl"?"left":"right";if(Ma.position!==null&&Array.isArray(Ma.position)){var Vo=Ma.position.find(function(bo){return bo.indexOf("top")!==-1}),Uo=Ma.position.find(function(bo){return bo.indexOf("bottom")!==-1});!Vo&&!Uo?no=Bi(Ia):(Vo&&(Ca=Bi(Vo.toLowerCase().replace("top",""))),Uo&&(no=Bi(Uo.toLowerCase().replace("bottom",""))))}else no=Bi(Ia)}var Xo;typeof _n=="boolean"?Xo={spinning:_n}:p()(_n)==="object"&&(Xo=c()({spinning:!0},_n));var Yo=i()("".concat(vn,"-wrapper"),hn,m()({},"".concat(vn,"-wrapper-rtl"),xr==="rtl"));return a.createElement("div",{className:Yo,style:ze},a.createElement(be.a,c()({spinning:!1},Xo),Ca,a.createElement(et,c()({},Hi,{columns:Ci,direction:xr,expandable:Qn,prefixCls:vn,className:i()((Yr={},m()(Yr,"".concat(vn,"-middle"),er==="middle"),m()(Yr,"".concat(vn,"-small"),er==="small"),m()(Yr,"".concat(vn,"-bordered"),or),m()(Yr,"".concat(vn,"-empty"),Ur.length===0),Yr)),data:yo,rowKey:da,rowClassName:Qa,emptyText:xi&&xi.emptyText||Xt("Table"),internalHooks:An,internalRefs:ua,transformColumns:Za})),wa&&wa.length>0&&no))}Ji.defaultProps={rowKey:"key"},Ji.SELECTION_ALL=Tn,Ji.SELECTION_INVERT=Nn,Ji.Column=qi,Ji.ColumnGroup=pi,Ji.Summary=Vr;var Pi=Ji,aa=N.a=Pi},wDdD:function(R,N,t){var y=t("ProS"),p=t("bYtY");t("98bh"),t("GrNh");var S=t("d4KN"),m=t("mOdp"),g=t("KS52"),f=t("0/Rx");S("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),y.registerVisual(m("pie")),y.registerLayout(p.curry(g,"pie")),y.registerProcessor(f("pie"))},wOnQ:function(R,N,t){/*!
|
|
|
* html2canvas 1.4.0 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(y,p){R.exports=p()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var y=function(ie,we){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ne,tt){Ne.__proto__=tt}||function(Ne,tt){for(var Rt in tt)Object.prototype.hasOwnProperty.call(tt,Rt)&&(Ne[Rt]=tt[Rt])},y(ie,we)};function p(Zt,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Class extends value "+String(ie)+" is not a constructor or null");y(Zt,ie);function we(){this.constructor=Zt}Zt.prototype=ie===null?Object.create(ie):(we.prototype=ie.prototype,new we)}var S=function(){return S=Object.assign||function(we){for(var Ne,tt=1,Rt=arguments.length;tt<Rt;tt++){Ne=arguments[tt];for(var Er in Ne)Object.prototype.hasOwnProperty.call(Ne,Er)&&(we[Er]=Ne[Er])}return we},S.apply(this,arguments)};function m(Zt,ie,we,Ne){function tt(Rt){return Rt instanceof we?Rt:new we(function(Er){Er(Rt)})}return new(we||(we=Promise))(function(Rt,Er){function Hr(ai){try{mn(Ne.next(ai))}catch(Vn){Er(Vn)}}function en(ai){try{mn(Ne.throw(ai))}catch(Vn){Er(Vn)}}function mn(ai){ai.done?Rt(ai.value):tt(ai.value).then(Hr,en)}mn((Ne=Ne.apply(Zt,ie||[])).next())})}function g(Zt,ie){var we={label:0,sent:function(){if(Rt[0]&1)throw Rt[1];return Rt[1]},trys:[],ops:[]},Ne,tt,Rt,Er;return Er={next:Hr(0),throw:Hr(1),return:Hr(2)},typeof Symbol=="function"&&(Er[Symbol.iterator]=function(){return this}),Er;function Hr(mn){return function(ai){return en([mn,ai])}}function en(mn){if(Ne)throw new TypeError("Generator is already executing.");for(;we;)try{if(Ne=1,tt&&(Rt=mn[0]&2?tt.return:mn[0]?tt.throw||((Rt=tt.return)&&Rt.call(tt),0):tt.next)&&!(Rt=Rt.call(tt,mn[1])).done)return Rt;(tt=0,Rt)&&(mn=[mn[0]&2,Rt.value]);switch(mn[0]){case 0:case 1:Rt=mn;break;case 4:return we.label++,{value:mn[1],done:!1};case 5:we.label++,tt=mn[1],mn=[0];continue;case 7:mn=we.ops.pop(),we.trys.pop();continue;default:if(!(Rt=we.trys,Rt=Rt.length>0&&Rt[Rt.length-1])&&(mn[0]===6||mn[0]===2)){we=0;continue}if(mn[0]===3&&(!Rt||mn[1]>Rt[0]&&mn[1]<Rt[3])){we.label=mn[1];break}if(mn[0]===6&&we.label<Rt[1]){we.label=Rt[1],Rt=mn;break}if(Rt&&we.label<Rt[2]){we.label=Rt[2],we.ops.push(mn);break}Rt[2]&&we.ops.pop(),we.trys.pop();continue}mn=ie.call(Zt,we)}catch(ai){mn=[6,ai],tt=0}finally{Ne=Rt=0}if(mn[0]&5)throw mn[1];return{value:mn[0]?mn[1]:void 0,done:!0}}}function f(Zt,ie,we){if(we||arguments.length===2)for(var Ne=0,tt=ie.length,Rt;Ne<tt;Ne++)(Rt||!(Ne in ie))&&(Rt||(Rt=Array.prototype.slice.call(ie,0,Ne)),Rt[Ne]=ie[Ne]);return Zt.concat(Rt||ie)}for(var d=function(){function Zt(ie,we,Ne,tt){this.left=ie,this.top=we,this.width=Ne,this.height=tt}return Zt.prototype.add=function(ie,we,Ne,tt){return new Zt(this.left+ie,this.top+we,this.width+Ne,this.height+tt)},Zt.fromClientRect=function(ie,we){return new Zt(we.left+ie.windowBounds.left,we.top+ie.windowBounds.top,we.width,we.height)},Zt.fromDOMRectList=function(ie,we){var Ne=Array.from(we).find(function(tt){return tt.width!==0});return Ne?new Zt(Ne.x+ie.windowBounds.left,Ne.y+ie.windowBounds.top,Ne.width,Ne.height):Zt.EMPTY},Zt.EMPTY=new Zt(0,0,0,0),Zt}(),c=function(ie,we){return d.fromClientRect(ie,we.getBoundingClientRect())},a=function(ie){var we=ie.body,Ne=ie.documentElement;if(!we||!Ne)throw new Error("Unable to get document size");var tt=Math.max(Math.max(we.scrollWidth,Ne.scrollWidth),Math.max(we.offsetWidth,Ne.offsetWidth),Math.max(we.clientWidth,Ne.clientWidth)),Rt=Math.max(Math.max(we.scrollHeight,Ne.scrollHeight),Math.max(we.offsetHeight,Ne.offsetHeight),Math.max(we.clientHeight,Ne.clientHeight));return new d(0,0,tt,Rt)},n=function(ie){for(var we=[],Ne=0,tt=ie.length;Ne<tt;){var Rt=ie.charCodeAt(Ne++);if(Rt>=55296&&Rt<=56319&&Ne<tt){var Er=ie.charCodeAt(Ne++);(Er&64512)===56320?we.push(((Rt&1023)<<10)+(Er&1023)+65536):(we.push(Rt),Ne--)}else we.push(Rt)}return we},i=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var Ne=ie.length;if(!Ne)return"";for(var tt=[],Rt=-1,Er="";++Rt<Ne;){var Hr=ie[Rt];Hr<=65535?tt.push(Hr):(Hr-=65536,tt.push((Hr>>10)+55296,Hr%1024+56320)),(Rt+1===Ne||tt.length>16384)&&(Er+=String.fromCharCode.apply(String,tt),tt.length=0)}return Er},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),l=0;l<o.length;l++)r[o.charCodeAt(l)]=l;var e=function(ie){var we=ie.length*.75,Ne=ie.length,tt,Rt=0,Er,Hr,en,mn;ie[ie.length-1]==="="&&(we--,ie[ie.length-2]==="="&&we--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(we):new Array(we),Vn=Array.isArray(ai)?ai:new Uint8Array(ai);for(tt=0;tt<Ne;tt+=4)Er=r[ie.charCodeAt(tt)],Hr=r[ie.charCodeAt(tt+1)],en=r[ie.charCodeAt(tt+2)],mn=r[ie.charCodeAt(tt+3)],Vn[Rt++]=Er<<2|Hr>>4,Vn[Rt++]=(Hr&15)<<4|en>>2,Vn[Rt++]=(en&3)<<6|mn&63;return ai},s=function(ie){for(var we=ie.length,Ne=[],tt=0;tt<we;tt+=2)Ne.push(ie[tt+1]<<8|ie[tt]);return Ne},u=function(ie){for(var we=ie.length,Ne=[],tt=0;tt<we;tt+=4)Ne.push(ie[tt+3]<<24|ie[tt+2]<<16|ie[tt+1]<<8|ie[tt]);return Ne},h=5,A=6+5,v=2,w=A-h,b=65536>>h,E=1<<h,T=E-1,_=1024>>h,x=b+_,C=x,I=2048>>6,L=C+I,F=65536>>A,B=1<<w,P=B-1,H=function(ie,we,Ne){return ie.slice?ie.slice(we,Ne):new Uint16Array(Array.prototype.slice.call(ie,we,Ne))},z=function(ie,we,Ne){return ie.slice?ie.slice(we,Ne):new Uint32Array(Array.prototype.slice.call(ie,we,Ne))},M=function(ie){var we=e(ie),Ne=Array.isArray(we)?u(we):new Uint32Array(we),tt=Array.isArray(we)?s(we):new Uint16Array(we),Rt=24,Er=H(tt,Rt/2,Ne[4]/2),Hr=Ne[5]===2?H(tt,(Rt+Ne[4])/2):z(Ne,Math.ceil((Rt+Ne[4])/4));return new U(Ne[0],Ne[1],Ne[2],Ne[3],Er,Hr)},U=function(){function Zt(ie,we,Ne,tt,Rt,Er){this.initialValue=ie,this.errorValue=we,this.highStart=Ne,this.highValueIndex=tt,this.index=Rt,this.data=Er}return Zt.prototype.get=function(ie){var we;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return we=this.index[ie>>h],we=(we<<v)+(ie&T),this.data[we];if(ie<=65535)return we=this.index[b+(ie-55296>>h)],we=(we<<v)+(ie&T),this.data[we];if(ie<this.highStart)return we=L-F+(ie>>A),we=this.index[we],we+=ie>>h&P,we=this.index[we],we=(we<<v)+(ie&T),this.data[we];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Zt}(),k="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",K=50,j=1,V=2,W=3,X=4,J=5,de=7,G=8,ae=9,Ae=10,me=11,Me=12,oe=13,_e=14,ee=15,ne=16,Ge=17,Ee=18,ue=19,re=20,ce=21,ke=22,Te=23,Ke=24,Ie=25,se=26,ye=27,xe=28,Ye=29,pt=30,nt=31,Oe=32,vt=33,Ze=34,wt=35,xt=36,Ot=37,Mt=38,Gt=39,$e=40,pe=41,q=42,bt=43,qe=[9001,65288],le="!",Nt="\xD7",tr="\xF7",lt=M(k),Wt=[pt,xt],cr=[j,V,W,J],Vr=[Ae,G],ur=[ye,se],ir=cr.concat(Vr),Lt=[Mt,Gt,$e,Ze,wt],ot=[ee,oe],Xe=function(ie,we){we===void 0&&(we="strict");var Ne=[],tt=[],Rt=[];return ie.forEach(function(Er,Hr){var en=lt.get(Er);if(en>K?(Rt.push(!0),en-=K):Rt.push(!1),["normal","auto","loose"].indexOf(we)!==-1&&[8208,8211,12316,12448].indexOf(Er)!==-1)return tt.push(Hr),Ne.push(ne);if(en===X||en===me){if(Hr===0)return tt.push(Hr),Ne.push(pt);var mn=Ne[Hr-1];return ir.indexOf(mn)===-1?(tt.push(tt[Hr-1]),Ne.push(mn)):(tt.push(Hr),Ne.push(pt))}if(tt.push(Hr),en===nt)return Ne.push(we==="strict"?ce:Ot);if(en===q)return Ne.push(pt);if(en===Ye)return Ne.push(pt);if(en===bt)return Er>=131072&&Er<=196605||Er>=196608&&Er<=262141?Ne.push(Ot):Ne.push(pt);Ne.push(en)}),[tt,Ne,Rt]},$t=function(ie,we,Ne,tt){var Rt=tt[Ne];if(Array.isArray(ie)?ie.indexOf(Rt)!==-1:ie===Rt)for(var Er=Ne;Er<=tt.length;){Er++;var Hr=tt[Er];if(Hr===we)return!0;if(Hr!==Ae)break}if(Rt===Ae)for(var Er=Ne;Er>0;){Er--;var en=tt[Er];if(Array.isArray(ie)?ie.indexOf(en)!==-1:ie===en)for(var mn=Ne;mn<=tt.length;){mn++;var Hr=tt[mn];if(Hr===we)return!0;if(Hr!==Ae)break}if(en!==Ae)break}return!1},Sr=function(ie,we){for(var Ne=ie;Ne>=0;){var tt=we[Ne];if(tt===Ae)Ne--;else return tt}return 0},vr=function(ie,we,Ne,tt,Rt){if(Ne[tt]===0)return Nt;var Er=tt-1;if(Array.isArray(Rt)&&Rt[Er]===!0)return Nt;var Hr=Er-1,en=Er+1,mn=we[Er],ai=Hr>=0?we[Hr]:0,Vn=we[en];if(mn===V&&Vn===W)return Nt;if(cr.indexOf(mn)!==-1)return le;if(cr.indexOf(Vn)!==-1)return Nt;if(Vr.indexOf(Vn)!==-1)return Nt;if(Sr(Er,we)===G)return tr;if(lt.get(ie[Er])===me)return Nt;if((mn===Oe||mn===vt)&<.get(ie[en])===me)return Nt;if(mn===de||Vn===de)return Nt;if(mn===ae)return Nt;if([Ae,oe,ee].indexOf(mn)===-1&&Vn===ae)return Nt;if([Ge,Ee,ue,Ke,xe].indexOf(Vn)!==-1)return Nt;if(Sr(Er,we)===ke)return Nt;if($t(Te,ke,Er,we))return Nt;if($t([Ge,Ee],ce,Er,we))return Nt;if($t(Me,Me,Er,we))return Nt;if(mn===Ae)return tr;if(mn===Te||Vn===Te)return Nt;if(Vn===ne||mn===ne)return tr;if([oe,ee,ce].indexOf(Vn)!==-1||mn===_e)return Nt;if(ai===xt&&ot.indexOf(mn)!==-1)return Nt;if(mn===xe&&Vn===xt)return Nt;if(Vn===re)return Nt;if(Wt.indexOf(Vn)!==-1&&mn===Ie||Wt.indexOf(mn)!==-1&&Vn===Ie)return Nt;if(mn===ye&&[Ot,Oe,vt].indexOf(Vn)!==-1||[Ot,Oe,vt].indexOf(mn)!==-1&&Vn===se)return Nt;if(Wt.indexOf(mn)!==-1&&ur.indexOf(Vn)!==-1||ur.indexOf(mn)!==-1&&Wt.indexOf(Vn)!==-1)return Nt;if([ye,se].indexOf(mn)!==-1&&(Vn===Ie||[ke,ee].indexOf(Vn)!==-1&&we[en+1]===Ie)||[ke,ee].indexOf(mn)!==-1&&Vn===Ie||mn===Ie&&[Ie,xe,Ke].indexOf(Vn)!==-1)return Nt;if([Ie,xe,Ke,Ge,Ee].indexOf(Vn)!==-1)for(var li=Er;li>=0;){var oa=we[li];if(oa===Ie)return Nt;if([xe,Ke].indexOf(oa)!==-1)li--;else break}if([ye,se].indexOf(Vn)!==-1)for(var li=[Ge,Ee].indexOf(mn)!==-1?Hr:Er;li>=0;){var oa=we[li];if(oa===Ie)return Nt;if([xe,Ke].indexOf(oa)!==-1)li--;else break}if(Mt===mn&&[Mt,Gt,Ze,wt].indexOf(Vn)!==-1||[Gt,Ze].indexOf(mn)!==-1&&[Gt,$e].indexOf(Vn)!==-1||[$e,wt].indexOf(mn)!==-1&&Vn===$e)return Nt;if(Lt.indexOf(mn)!==-1&&[re,se].indexOf(Vn)!==-1||Lt.indexOf(Vn)!==-1&&mn===ye)return Nt;if(Wt.indexOf(mn)!==-1&&Wt.indexOf(Vn)!==-1)return Nt;if(mn===Ke&&Wt.indexOf(Vn)!==-1)return Nt;if(Wt.concat(Ie).indexOf(mn)!==-1&&Vn===ke&&qe.indexOf(ie[en])===-1||Wt.concat(Ie).indexOf(Vn)!==-1&&mn===Ee)return Nt;if(mn===pe&&Vn===pe){for(var ca=Ne[Er],xa=1;ca>0&&(ca--,we[ca]===pe);)xa++;if(xa%2!==0)return Nt}return mn===Oe&&Vn===vt?Nt:tr},fr=function(ie,we){we||(we={lineBreak:"normal",wordBreak:"normal"});var Ne=Xe(ie,we.lineBreak),tt=Ne[0],Rt=Ne[1],Er=Ne[2];(we.wordBreak==="break-all"||we.wordBreak==="break-word")&&(Rt=Rt.map(function(en){return[Ie,pt,q].indexOf(en)!==-1?Ot:en}));var Hr=we.wordBreak==="keep-all"?Er.map(function(en,mn){return en&&ie[mn]>=19968&&ie[mn]<=40959}):void 0;return[tt,Rt,Hr]},An=function(){function Zt(ie,we,Ne,tt){this.codePoints=ie,this.required=we===le,this.start=Ne,this.end=tt}return Zt.prototype.slice=function(){return i.apply(void 0,this.codePoints.slice(this.start,this.end))},Zt}(),Zr=function(ie,we){var Ne=n(ie),tt=fr(Ne,we),Rt=tt[0],Er=tt[1],Hr=tt[2],en=Ne.length,mn=0,ai=0;return{next:function(){if(ai>=en)return{done:!0,value:null};for(var li=Nt;ai<en&&(li=vr(Ne,Er,Rt,++ai,Hr))===Nt;);if(li!==Nt||ai===en){var oa=new An(Ne,li,mn,ai);return mn=ai,{value:oa,done:!1}}return{done:!0,value:null}}}},Ln=1<<0,Je=1<<1,et=1<<2,be=1<<3,Le=10,Ue=47,rt=92,Vt=9,Ft=32,zt=34,Dr=61,Pr=35,un=36,Ht=37,dt=39,at=40,Qt=41,Jt=95,gt=45,Bt=33,mt=60,kt=62,gr=64,ar=91,lr=93,Gr=61,Jr=123,Tn=63,Nn=125,zn=124,qn=126,vi=128,Ri=65533,Ve=42,Se=43,Re=44,Be=58,We=59,He=46,Qe=0,At=8,st=11,Pt=14,wr=31,mr=127,Or=-1,jt=48,cn=97,nr=101,Xr=102,Br=117,yr=122,xn=65,Bn=69,ii=70,oi=85,ei=90,ui=function(ie){return ie>=jt&&ie<=57},Fn=function(ie){return ie>=55296&&ie<=57343},Si=function(ie){return ui(ie)||ie>=xn&&ie<=ii||ie>=cn&&ie<=Xr},gn=function(ie){return ie>=cn&&ie<=yr},Wr=function(ie){return ie>=xn&&ie<=ei},En=function(ie){return gn(ie)||Wr(ie)},on=function(ie){return ie>=vi},ci=function(ie){return ie===Le||ie===Vt||ie===Ft},ri=function(ie){return En(ie)||on(ie)||ie===Jt},bi=function(ie){return ri(ie)||ui(ie)||ie===gt},Gn=function(ie){return ie>=Qe&&ie<=At||ie===st||ie>=Pt&&ie<=wr||ie===mr},Fi=function(ie,we){return ie!==rt?!1:we!==Le},Jn=function(ie,we,Ne){return ie===gt?ri(we)||Fi(we,Ne):ri(ie)?!0:!!(ie===rt&&Fi(ie,we))},Mi=function(ie,we,Ne){return ie===Se||ie===gt?ui(we)?!0:we===He&&ui(Ne):ie===He?ui(we):ui(ie)},fn=function(ie){var we=0,Ne=1;(ie[we]===Se||ie[we]===gt)&&(ie[we]===gt&&(Ne=-1),we++);for(var tt=[];ui(ie[we]);)tt.push(ie[we++]);var Rt=tt.length?parseInt(i.apply(void 0,tt),10):0;ie[we]===He&&we++;for(var Er=[];ui(ie[we]);)Er.push(ie[we++]);var Hr=Er.length,en=Hr?parseInt(i.apply(void 0,Er),10):0;(ie[we]===Bn||ie[we]===nr)&&we++;var mn=1;(ie[we]===Se||ie[we]===gt)&&(ie[we]===gt&&(mn=-1),we++);for(var ai=[];ui(ie[we]);)ai.push(ie[we++]);var Vn=ai.length?parseInt(i.apply(void 0,ai),10):0;return Ne*(Rt+en*Math.pow(10,-Hr))*Math.pow(10,mn*Vn)},kr={type:2},yn={type:3},jn={type:4},Xn={type:13},ti={type:8},di={type:21},fi={type:9},mi={type:10},Ki={type:11},ia={type:12},qi={type:14},Ra={type:23},pi={type:1},ln={type:25},Oi={type:24},Ji={type:26},Pi={type:27},aa={type:28},Kt={type:29},Yr={type:31},rn={type:32},hn=function(){function Zt(){this._value=[]}return Zt.prototype.write=function(ie){this._value=this._value.concat(n(ie))},Zt.prototype.read=function(){for(var ie=[],we=this.consumeToken();we!==rn;)ie.push(we),we=this.consumeToken();return ie},Zt.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case zt:return this.consumeStringToken(zt);case Pr:var we=this.peekCodePoint(0),Ne=this.peekCodePoint(1),tt=this.peekCodePoint(2);if(bi(we)||Fi(Ne,tt)){var Rt=Jn(we,Ne,tt)?Je:Ln,Er=this.consumeName();return{type:5,value:Er,flags:Rt}}break;case un:if(this.peekCodePoint(0)===Dr)return this.consumeCodePoint(),Xn;break;case dt:return this.consumeStringToken(dt);case at:return kr;case Qt:return yn;case Ve:if(this.peekCodePoint(0)===Dr)return this.consumeCodePoint(),qi;break;case Se:if(Mi(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Re:return jn;case gt:var Hr=ie,en=this.peekCodePoint(0),mn=this.peekCodePoint(1);if(Mi(Hr,en,mn))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(Jn(Hr,en,mn))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(en===gt&&mn===kt)return this.consumeCodePoint(),this.consumeCodePoint(),Oi;break;case He:if(Mi(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Ue:if(this.peekCodePoint(0)===Ve)for(this.consumeCodePoint();;){var ai=this.consumeCodePoint();if(ai===Ve&&(ai=this.consumeCodePoint(),ai===Ue))return this.consumeToken();if(ai===Or)return this.consumeToken()}break;case Be:return Ji;case We:return Pi;case mt:if(this.peekCodePoint(0)===Bt&&this.peekCodePoint(1)===gt&&this.peekCodePoint(2)===gt)return this.consumeCodePoint(),this.consumeCodePoint(),ln;break;case gr:var Vn=this.peekCodePoint(0),li=this.peekCodePoint(1),oa=this.peekCodePoint(2);if(Jn(Vn,li,oa)){var Er=this.consumeName();return{type:7,value:Er}}break;case ar:return aa;case rt:if(Fi(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case lr:return Kt;case Gr:if(this.peekCodePoint(0)===Dr)return this.consumeCodePoint(),ti;break;case Jr:return Ki;case Nn:return ia;case Br:case oi:var ca=this.peekCodePoint(0),xa=this.peekCodePoint(1);return ca===Se&&(Si(xa)||xa===Tn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case zn:if(this.peekCodePoint(0)===Dr)return this.consumeCodePoint(),fi;if(this.peekCodePoint(0)===zn)return this.consumeCodePoint(),di;break;case qn:if(this.peekCodePoint(0)===Dr)return this.consumeCodePoint(),mi;break;case Or:return rn}return ci(ie)?(this.consumeWhiteSpace(),Yr):ui(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):ri(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:i(ie)}},Zt.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},Zt.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},Zt.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},Zt.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],we=this.consumeCodePoint();Si(we)&&ie.length<6;)ie.push(we),we=this.consumeCodePoint();for(var Ne=!1;we===Tn&&ie.length<6;)ie.push(we),we=this.consumeCodePoint(),Ne=!0;if(Ne){var tt=parseInt(i.apply(void 0,ie.map(function(en){return en===Tn?jt:en})),16),Rt=parseInt(i.apply(void 0,ie.map(function(en){return en===Tn?ii:en})),16);return{type:30,start:tt,end:Rt}}var Er=parseInt(i.apply(void 0,ie),16);if(this.peekCodePoint(0)===gt&&Si(this.peekCodePoint(1))){this.consumeCodePoint(),we=this.consumeCodePoint();for(var Hr=[];Si(we)&&Hr.length<6;)Hr.push(we),we=this.consumeCodePoint();var Rt=parseInt(i.apply(void 0,Hr),16);return{type:30,start:Er,end:Rt}}else return{type:30,start:Er,end:Er}},Zt.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===at?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===at?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},Zt.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Or)return{type:22,value:""};var we=this.peekCodePoint(0);if(we===dt||we===zt){var Ne=this.consumeStringToken(this.consumeCodePoint());return Ne.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Or||this.peekCodePoint(0)===Qt)?(this.consumeCodePoint(),{type:22,value:Ne.value}):(this.consumeBadUrlRemnants(),Ra)}for(;;){var tt=this.consumeCodePoint();if(tt===Or||tt===Qt)return{type:22,value:i.apply(void 0,ie)};if(ci(tt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Or||this.peekCodePoint(0)===Qt?(this.consumeCodePoint(),{type:22,value:i.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),Ra);if(tt===zt||tt===dt||tt===at||Gn(tt))return this.consumeBadUrlRemnants(),Ra;if(tt===rt)if(Fi(tt,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ra;else ie.push(tt)}},Zt.prototype.consumeWhiteSpace=function(){for(;ci(this.peekCodePoint(0));)this.consumeCodePoint()},Zt.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Qt||ie===Or)return;Fi(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Zt.prototype.consumeStringSlice=function(ie){for(var we=5e4,Ne="";ie>0;){var tt=Math.min(we,ie);Ne+=i.apply(void 0,this._value.splice(0,tt)),ie-=tt}return this._value.shift(),Ne},Zt.prototype.consumeStringToken=function(ie){var we="",Ne=0;do{var tt=this._value[Ne];if(tt===Or||tt===void 0||tt===ie)return we+=this.consumeStringSlice(Ne),{type:0,value:we};if(tt===Le)return this._value.splice(0,Ne),pi;if(tt===rt){var Rt=this._value[Ne+1];Rt!==Or&&Rt!==void 0&&(Rt===Le?(we+=this.consumeStringSlice(Ne),Ne=-1,this._value.shift()):Fi(tt,Rt)&&(we+=this.consumeStringSlice(Ne),we+=i(this.consumeEscapedCodePoint()),Ne=-1))}Ne++}while(!0)},Zt.prototype.consumeNumber=function(){var ie=[],we=et,Ne=this.peekCodePoint(0);for((Ne===Se||Ne===gt)&&ie.push(this.consumeCodePoint());ui(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());Ne=this.peekCodePoint(0);var tt=this.peekCodePoint(1);if(Ne===He&&ui(tt))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),we=be;ui(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());Ne=this.peekCodePoint(0),tt=this.peekCodePoint(1);var Rt=this.peekCodePoint(2);if((Ne===Bn||Ne===nr)&&((tt===Se||tt===gt)&&ui(Rt)||ui(tt)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),we=be;ui(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[fn(ie),we]},Zt.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),we=ie[0],Ne=ie[1],tt=this.peekCodePoint(0),Rt=this.peekCodePoint(1),Er=this.peekCodePoint(2);if(Jn(tt,Rt,Er)){var Hr=this.consumeName();return{type:15,number:we,flags:Ne,unit:Hr}}return tt===Ht?(this.consumeCodePoint(),{type:16,number:we,flags:Ne}):{type:17,number:we,flags:Ne}},Zt.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(Si(ie)){for(var we=i(ie);Si(this.peekCodePoint(0))&&we.length<6;)we+=i(this.consumeCodePoint());ci(this.peekCodePoint(0))&&this.consumeCodePoint();var Ne=parseInt(we,16);return Ne===0||Fn(Ne)||Ne>1114111?Ri:Ne}return ie===Or?Ri:ie},Zt.prototype.consumeName=function(){for(var ie="";;){var we=this.consumeCodePoint();if(bi(we))ie+=i(we);else if(Fi(we,this.peekCodePoint(0)))ie+=i(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(we),ie}},Zt}(),ze=function(){function Zt(ie){this._tokens=ie}return Zt.create=function(ie){var we=new hn;return we.write(ie),new Zt(we.read())},Zt.parseValue=function(ie){return Zt.create(ie).parseComponentValue()},Zt.parseValues=function(ie){return Zt.create(ie).parseComponentValues()},Zt.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===31;)ie=this.consumeToken();if(ie.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var we=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return we;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Zt.prototype.parseComponentValues=function(){for(var ie=[];;){var we=this.consumeComponentValue();if(we.type===32)return ie;ie.push(we),ie.push()}},Zt.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ie.type);case 19:return this.consumeFunction(ie)}return ie},Zt.prototype.consumeSimpleBlock=function(ie){for(var we={type:ie,values:[]},Ne=this.consumeToken();;){if(Ne.type===32||In(Ne,ie))return we;this.reconsumeToken(Ne),we.values.push(this.consumeComponentValue()),Ne=this.consumeToken()}},Zt.prototype.consumeFunction=function(ie){for(var we={name:ie.value,values:[],type:18};;){var Ne=this.consumeToken();if(Ne.type===32||Ne.type===3)return we;this.reconsumeToken(Ne),we.values.push(this.consumeComponentValue())}},Zt.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?rn:ie},Zt.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},Zt}(),Ct=function(ie){return ie.type===15},or=function(ie){return ie.type===17},rr=function(ie){return ie.type===20},Lr=function(ie){return ie.type===0},Fr=function(ie,we){return rr(ie)&&ie.value===we},Kr=function(ie){return ie.type!==31},nn=function(ie){return ie.type!==31&&ie.type!==4},wn=function(ie){var we=[],Ne=[];return ie.forEach(function(tt){if(tt.type===4){if(Ne.length===0)throw new Error("Error parsing function args, zero tokens for arg");we.push(Ne),Ne=[];return}tt.type!==31&&Ne.push(tt)}),Ne.length&&we.push(Ne),we},In=function(ie,we){return we===11&&ie.type===12||we===28&&ie.type===29?!0:we===2&&ie.type===3},Rn=function(ie){return ie.type===17||ie.type===15},Dn=function(ie){return ie.type===16||Rn(ie)},bn=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Sn={type:17,number:0,flags:et},_n={type:16,number:50,flags:et},Kn={type:16,number:100,flags:et},Yn=function(ie,we,Ne){var tt=ie[0],Rt=ie[1];return[Zn(tt,we),Zn(typeof Rt!="undefined"?Rt:tt,Ne)]},Zn=function(ie,we){if(ie.type===16)return ie.number/100*we;if(Ct(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;case"px":default:return ie.number}return ie.number},yi="deg",gi="grad",Ni="rad",ki="turn",xi={name:"angle",parse:function(ie,we){if(we.type===15)switch(we.unit){case yi:return Math.PI*we.number/180;case gi:return Math.PI/200*we.number;case Ni:return we.number;case ki:return Math.PI*2*we.number}throw new Error("Unsupported angle type")}},_i=function(ie){return ie.type===15&&(ie.unit===yi||ie.unit===gi||ie.unit===Ni||ie.unit===ki)},Li=function(ie){var we=ie.filter(rr).map(function(Ne){return Ne.value}).join(" ");switch(we){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Sn,Sn];case"to top":case"bottom":return Hn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Sn,Kn];case"to right":case"left":return Hn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Kn,Kn];case"to bottom":case"top":return Hn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Kn,Sn];case"to left":case"right":return Hn(270)}return 0},Hn=function(ie){return Math.PI*ie/180},Ci={name:"color",parse:function(ie,we){if(we.type===18){var Ne=er[we.name];if(typeof Ne=="undefined")throw new Error('Attempting to parse an unsupported color function "'+we.name+'"');return Ne(ie,we.values)}if(we.type===5){if(we.value.length===3){var tt=we.value.substring(0,1),Rt=we.value.substring(1,2),Er=we.value.substring(2,3);return Rr(parseInt(tt+tt,16),parseInt(Rt+Rt,16),parseInt(Er+Er,16),1)}if(we.value.length===4){var tt=we.value.substring(0,1),Rt=we.value.substring(1,2),Er=we.value.substring(2,3),Hr=we.value.substring(3,4);return Rr(parseInt(tt+tt,16),parseInt(Rt+Rt,16),parseInt(Er+Er,16),parseInt(Hr+Hr,16)/255)}if(we.value.length===6){var tt=we.value.substring(0,2),Rt=we.value.substring(2,4),Er=we.value.substring(4,6);return Rr(parseInt(tt,16),parseInt(Rt,16),parseInt(Er,16),1)}if(we.value.length===8){var tt=we.value.substring(0,2),Rt=we.value.substring(2,4),Er=we.value.substring(4,6),Hr=we.value.substring(6,8);return Rr(parseInt(tt,16),parseInt(Rt,16),parseInt(Er,16),parseInt(Hr,16)/255)}}if(we.type===20){var en=Ur[we.value.toUpperCase()];if(typeof en!="undefined")return en}return Ur.TRANSPARENT}},Hi=function(ie){return(255&ie)===0},pr=function(ie){var we=255&ie,Ne=255&ie>>8,tt=255&ie>>16,Rt=255&ie>>24;return we<255?"rgba("+Rt+","+tt+","+Ne+","+we/255+")":"rgb("+Rt+","+tt+","+Ne+")"},Rr=function(ie,we,Ne,tt){return(ie<<24|we<<16|Ne<<8|Math.round(tt*255)<<0)>>>0},Qr=function(ie,we){if(ie.type===17)return ie.number;if(ie.type===16){var Ne=we===3?1:255;return we===3?ie.number/100*Ne:Math.round(ie.number/100*Ne)}return 0},Nr=function(ie,we){var Ne=we.filter(nn);if(Ne.length===3){var tt=Ne.map(Qr),Rt=tt[0],Er=tt[1],Hr=tt[2];return Rr(Rt,Er,Hr,1)}if(Ne.length===4){var en=Ne.map(Qr),Rt=en[0],Er=en[1],Hr=en[2],mn=en[3];return Rr(Rt,Er,Hr,mn)}return 0};function Xt(Zt,ie,we){return we<0&&(we+=1),we>=1&&(we-=1),we<1/6?(ie-Zt)*we*6+Zt:we<1/2?ie:we<2/3?(ie-Zt)*6*(2/3-we)+Zt:Zt}var xr=function(ie,we){var Ne=we.filter(nn),tt=Ne[0],Rt=Ne[1],Er=Ne[2],Hr=Ne[3],en=(tt.type===17?Hn(tt.number):xi.parse(ie,tt))/(Math.PI*2),mn=Dn(Rt)?Rt.number/100:0,ai=Dn(Er)?Er.number/100:0,Vn=typeof Hr!="undefined"&&Dn(Hr)?Zn(Hr,1):1;if(mn===0)return Rr(ai*255,ai*255,ai*255,1);var li=ai<=.5?ai*(mn+1):ai+mn-ai*mn,oa=ai*2-li,ca=Xt(oa,li,en+1/3),xa=Xt(oa,li,en),so=Xt(oa,li,en-1/3);return Rr(ca*255,xa*255,so*255,Vn)},er={hsl:xr,hsla:xr,rgb:Nr,rgba:Nr},jr=function(ie,we){return Ci.parse(ie,ze.create(we).parseComponentValue())},Ur={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},pn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,we){return we.map(function(Ne){if(rr(Ne))switch(Ne.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},sn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vn=function(ie,we){var Ne=Ci.parse(ie,we[0]),tt=we[1];return tt&&Dn(tt)?{color:Ne,stop:tt}:{color:Ne,stop:null}},Un=function(ie,we){var Ne=ie[0],tt=ie[ie.length-1];Ne.stop===null&&(Ne.stop=Sn),tt.stop===null&&(tt.stop=Kn);for(var Rt=[],Er=0,Hr=0;Hr<ie.length;Hr++){var en=ie[Hr].stop;if(en!==null){var mn=Zn(en,we);mn>Er?Rt.push(mn):Rt.push(Er),Er=mn}else Rt.push(null)}for(var ai=null,Hr=0;Hr<Rt.length;Hr++){var Vn=Rt[Hr];if(Vn===null)ai===null&&(ai=Hr);else if(ai!==null){for(var li=Hr-ai,oa=Rt[ai-1],ca=(Vn-oa)/(li+1),xa=1;xa<=li;xa++)Rt[ai+xa-1]=ca*xa;ai=null}}return ie.map(function(so,Xa){var Ua=so.color;return{color:Ua,stop:Math.max(Math.min(1,Rt[Xa]/we),0)}})},Qn=function(ie,we,Ne){var tt=we/2,Rt=Ne/2,Er=Zn(ie[0],we)-tt,Hr=Rt-Zn(ie[1],Ne);return(Math.atan2(Hr,Er)+Math.PI*2)%(Math.PI*2)},$n=function(ie,we,Ne){var tt=typeof ie=="number"?ie:Qn(ie,we,Ne),Rt=Math.abs(we*Math.sin(tt))+Math.abs(Ne*Math.cos(tt)),Er=we/2,Hr=Ne/2,en=Rt/2,mn=Math.sin(tt-Math.PI/2)*en,ai=Math.cos(tt-Math.PI/2)*en;return[Rt,Er-ai,Er+ai,Hr-mn,Hr+mn]},wi=function(ie,we){return Math.sqrt(ie*ie+we*we)},ra=function(ie,we,Ne,tt,Rt){var Er=[[0,0],[0,we],[ie,0],[ie,we]];return Er.reduce(function(Hr,en){var mn=en[0],ai=en[1],Vn=wi(Ne-mn,tt-ai);return(Rt?Vn<Hr.optimumDistance:Vn>Hr.optimumDistance)?{optimumCorner:en,optimumDistance:Vn}:Hr},{optimumDistance:Rt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ua=function(ie,we,Ne,tt,Rt){var Er=0,Hr=0;switch(ie.size){case 0:ie.shape===0?Er=Hr=Math.min(Math.abs(we),Math.abs(we-tt),Math.abs(Ne),Math.abs(Ne-Rt)):ie.shape===1&&(Er=Math.min(Math.abs(we),Math.abs(we-tt)),Hr=Math.min(Math.abs(Ne),Math.abs(Ne-Rt)));break;case 2:if(ie.shape===0)Er=Hr=Math.min(wi(we,Ne),wi(we,Ne-Rt),wi(we-tt,Ne),wi(we-tt,Ne-Rt));else if(ie.shape===1){var en=Math.min(Math.abs(Ne),Math.abs(Ne-Rt))/Math.min(Math.abs(we),Math.abs(we-tt)),mn=ra(tt,Rt,we,Ne,!0),ai=mn[0],Vn=mn[1];Er=wi(ai-we,(Vn-Ne)/en),Hr=en*Er}break;case 1:ie.shape===0?Er=Hr=Math.max(Math.abs(we),Math.abs(we-tt),Math.abs(Ne),Math.abs(Ne-Rt)):ie.shape===1&&(Er=Math.max(Math.abs(we),Math.abs(we-tt)),Hr=Math.max(Math.abs(Ne),Math.abs(Ne-Rt)));break;case 3:if(ie.shape===0)Er=Hr=Math.max(wi(we,Ne),wi(we,Ne-Rt),wi(we-tt,Ne),wi(we-tt,Ne-Rt));else if(ie.shape===1){var en=Math.max(Math.abs(Ne),Math.abs(Ne-Rt))/Math.max(Math.abs(we),Math.abs(we-tt)),li=ra(tt,Rt,we,Ne,!1),ai=li[0],Vn=li[1];Er=wi(ai-we,(Vn-Ne)/en),Hr=en*Er}break}return Array.isArray(ie.size)&&(Er=Zn(ie.size[0],tt),Hr=ie.size.length===2?Zn(ie.size[1],Rt):Er),[Er,Hr]},da=function(ie,we){var Ne=Hn(180),tt=[];return wn(we).forEach(function(Rt,Er){if(Er===0){var Hr=Rt[0];if(Hr.type===20&&Hr.value==="to"){Ne=Li(Rt);return}else if(_i(Hr)){Ne=xi.parse(ie,Hr);return}}var en=vn(ie,Rt);tt.push(en)}),{angle:Ne,stops:tt,type:1}},sa=function(ie,we){var Ne=Hn(180),tt=[];return wn(we).forEach(function(Rt,Er){if(Er===0){var Hr=Rt[0];if(Hr.type===20&&["top","left","right","bottom"].indexOf(Hr.value)!==-1){Ne=Li(Rt);return}else if(_i(Hr)){Ne=(xi.parse(ie,Hr)+Hn(270))%Hn(360);return}}var en=vn(ie,Rt);tt.push(en)}),{angle:Ne,stops:tt,type:1}},fa=function(ie,we){var Ne=Hn(180),tt=[],Rt=1,Er=0,Hr=3,en=[];return wn(we).forEach(function(mn,ai){var Vn=mn[0];if(ai===0){if(rr(Vn)&&Vn.value==="linear"){Rt=1;return}else if(rr(Vn)&&Vn.value==="radial"){Rt=2;return}}if(Vn.type===18){if(Vn.name==="from"){var li=Ci.parse(ie,Vn.values[0]);tt.push({stop:Sn,color:li})}else if(Vn.name==="to"){var li=Ci.parse(ie,Vn.values[0]);tt.push({stop:Kn,color:li})}else if(Vn.name==="color-stop"){var oa=Vn.values.filter(nn);if(oa.length===2){var li=Ci.parse(ie,oa[1]),ca=oa[0];or(ca)&&tt.push({stop:{type:16,number:ca.number*100,flags:ca.flags},color:li})}}}}),Rt===1?{angle:(Ne+Hn(180))%Hn(360),stops:tt,type:Rt}:{size:Hr,shape:Er,stops:tt,position:en,type:Rt}},Wi="closest-side",Di="farthest-side",na="closest-corner",Zi="farthest-corner",ba="circle",Ta="ellipse",$i="cover",Vi="contain",La=function(ie,we){var Ne=0,tt=3,Rt=[],Er=[];return wn(we).forEach(function(Hr,en){var mn=!0;if(en===0){var ai=!1;mn=Hr.reduce(function(li,oa){if(ai)if(rr(oa))switch(oa.value){case"center":return Er.push(_n),li;case"top":case"left":return Er.push(Sn),li;case"right":case"bottom":return Er.push(Kn),li}else(Dn(oa)||Rn(oa))&&Er.push(oa);else if(rr(oa))switch(oa.value){case ba:return Ne=0,!1;case Ta:return Ne=1,!1;case"at":return ai=!0,!1;case Wi:return tt=0,!1;case $i:case Di:return tt=1,!1;case Vi:case na:return tt=2,!1;case Zi:return tt=3,!1}else if(Rn(oa)||Dn(oa))return Array.isArray(tt)||(tt=[]),tt.push(oa),!1;return li},mn)}if(mn){var Vn=vn(ie,Hr);Rt.push(Vn)}}),{size:tt,shape:Ne,stops:Rt,position:Er,type:2}},ga=function(ie,we){var Ne=0,tt=3,Rt=[],Er=[];return wn(we).forEach(function(Hr,en){var mn=!0;if(en===0?mn=Hr.reduce(function(Vn,li){if(rr(li))switch(li.value){case"center":return Er.push(_n),!1;case"top":case"left":return Er.push(Sn),!1;case"right":case"bottom":return Er.push(Kn),!1}else if(Dn(li)||Rn(li))return Er.push(li),!1;return Vn},mn):en===1&&(mn=Hr.reduce(function(Vn,li){if(rr(li))switch(li.value){case ba:return Ne=0,!1;case Ta:return Ne=1,!1;case Vi:case Wi:return tt=0,!1;case Di:return tt=1,!1;case na:return tt=2,!1;case $i:case Zi:return tt=3,!1}else if(Rn(li)||Dn(li))return Array.isArray(tt)||(tt=[]),tt.push(li),!1;return Vn},mn)),mn){var ai=vn(ie,Hr);Rt.push(ai)}}),{size:tt,shape:Ne,stops:Rt,position:Er,type:2}},Ti=function(ie){return ie.type===1},Ea=function(ie){return ie.type===2},Da={name:"image",parse:function(ie,we){if(we.type===22){var Ne={url:we.value,type:0};return ie.cache.addImage(we.value),Ne}if(we.type===18){var tt=Pa[we.name];if(typeof tt=="undefined")throw new Error('Attempting to parse an unsupported image function "'+we.name+'"');return tt(ie,we.values)}throw new Error("Unsupported image type "+we.type)}};function Na(Zt){return!(Zt.type===20&&Zt.value==="none")&&(Zt.type!==18||!!Pa[Zt.name])}var Pa={"linear-gradient":da,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":La,"-moz-radial-gradient":ga,"-ms-radial-gradient":ga,"-o-radial-gradient":ga,"-webkit-radial-gradient":ga,"-webkit-gradient":fa},Ha={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ie,we){if(we.length===0)return[];var Ne=we[0];return Ne.type===20&&Ne.value==="none"?[]:we.filter(function(tt){return nn(tt)&&Na(tt)}).map(function(tt){return Da.parse(ie,tt)})}},za={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ie,we){return we.map(function(Ne){if(rr(Ne))switch(Ne.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},wa={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ie,we){return wn(we).map(function(Ne){return Ne.filter(Dn)}).map(bn)}},Ka={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ie,we){return wn(we).map(function(Ne){return Ne.filter(rr).map(function(tt){return tt.value}).join(" ")}).map(ao)}},ao=function(ie){switch(ie){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ea;(function(Zt){Zt.AUTO="auto",Zt.CONTAIN="contain",Zt.COVER="cover"})(ea||(ea={}));var lo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ie,we){return wn(we).map(function(Ne){return Ne.filter(Ya)})}},Ya=function(ie){return rr(ie)||Dn(ie)},Sa=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ja=Sa("top"),Ma=Sa("right"),ka=Sa("bottom"),yo=Sa("left"),to=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:1,parse:function(Ne,tt){return bn(tt.filter(Dn))}}},_o=to("top-left"),co=to("top-right"),uo=to("bottom-right"),Qa=to("bottom-left"),Za=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ne,tt){switch(tt){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ca=Za("top"),no=Za("right"),fo=Za("bottom"),Bi=Za("left"),Ia=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ne,tt){return Ct(tt)?tt.number:0}}},Vo=Ia("top"),Uo=Ia("right"),Xo=Ia("bottom"),Yo=Ia("left"),bo={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oa={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ie,we){switch(we){case"rtl":return 1;case"ltr":default:return 0}}},Fo={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ie,we){return we.filter(rr).reduce(function(Ne,tt){return Ne|ss(tt.value)},0)}},ss=function(ie){switch(ie){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ho={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ie,we){switch(we){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Oo={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ie,we){return we.type===20&&we.value==="normal"?0:we.type===17||we.type===15?we.number:0}},Fa;(function(Zt){Zt.NORMAL="normal",Zt.STRICT="strict"})(Fa||(Fa={}));var Qo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,we){switch(we){case"strict":return Fa.STRICT;case"normal":default:return Fa.NORMAL}}},el={name:"line-height",initialValue:"normal",prefix:!1,type:4},Es=function(ie,we){return rr(ie)&&ie.value==="normal"?1.2*we:ie.type===17?we*ie.number:Dn(ie)?Zn(ie,we):we},Ns={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ie,we){return we.type===20&&we.value==="none"?null:Da.parse(ie,we)}},Cs={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ie,we){switch(we){case"inside":return 0;case"outside":default:return 1}}},As={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ie,we){switch(we){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},vs=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:4}},jo=vs("top"),go=vs("right"),es=vs("bottom"),Ho=vs("left"),Go={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ie,we){return we.filter(rr).map(function(Ne){switch(Ne.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},zr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ie,we){switch(we){case"break-word":return"break-word";case"normal":default:return"normal"}}},Bo=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},tl=Bo("top"),Ks=Bo("right"),Ps=Bo("bottom"),io=Bo("left"),Ao={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ie,we){switch(we){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Jo={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ie,we){switch(we){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ns={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,we){return we.length===1&&Fr(we[0],"none")?[]:wn(we).map(function(Ne){for(var tt={color:Ur.TRANSPARENT,offsetX:Sn,offsetY:Sn,blur:Sn},Rt=0,Er=0;Er<Ne.length;Er++){var Hr=Ne[Er];Rn(Hr)?(Rt===0?tt.offsetX=Hr:Rt===1?tt.offsetY=Hr:tt.blur=Hr,Rt++):tt.color=Ci.parse(ie,Hr)}return tt})}},ys={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ie,we){switch(we){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},ps={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ie,we){if(we.type===20&&we.value==="none")return null;if(we.type===18){var Ne=Rs[we.name];if(typeof Ne=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+we.name+'"');return Ne(we.values)}return null}},Ls=function(ie){var we=ie.filter(function(Ne){return Ne.type===17}).map(function(Ne){return Ne.number});return we.length===6?we:null},il=function(ie){var we=ie.filter(function(mn){return mn.type===17}).map(function(mn){return mn.number}),Ne=we[0],tt=we[1];we[2],we[3];var Rt=we[4],Er=we[5];we[6],we[7],we[8],we[9],we[10],we[11];var Hr=we[12],en=we[13];return we[14],we[15],we.length===16?[Ne,tt,Rt,Er,Hr,en]:null},Rs={matrix:Ls,matrix3d:il},Ws={type:16,number:50,flags:et},ks=[Ws,Ws],ms={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ie,we){var Ne=we.filter(Dn);return Ne.length!==2?ks:[Ne[0],Ne[1]]}},Ms={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ie,we){switch(we){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},yt;(function(Zt){Zt.NORMAL="normal",Zt.BREAK_ALL="break-all",Zt.KEEP_ALL="keep-all"})(yt||(yt={}));for(var Dt={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ie,we){switch(we){case"break-all":return yt.BREAK_ALL;case"keep-all":return yt.KEEP_ALL;case"normal":default:return yt.NORMAL}}},tn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ie,we){if(we.type===20)return{auto:!0,order:0};if(or(we))return{auto:!1,order:we.number};throw new Error("Invalid z-index number parsed")}},On={name:"time",parse:function(ie,we){if(we.type===15)switch(we.unit.toLowerCase()){case"s":return 1e3*we.number;case"ms":return we.number}throw new Error("Unsupported time type")}},ft={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ie,we){return or(we)?we.number:1}},$={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},he={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ie,we){return we.filter(rr).map(function(Ne){switch(Ne.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Ne){return Ne!==0})}},ge={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ie,we){var Ne=[],tt=[];return we.forEach(function(Rt){switch(Rt.type){case 20:case 0:Ne.push(Rt.value);break;case 17:Ne.push(Rt.number.toString());break;case 4:tt.push(Ne.join(" ")),Ne.length=0;break}}),Ne.length&&tt.push(Ne.join(" ")),tt.map(function(Rt){return Rt.indexOf(" ")===-1?Rt:"'"+Rt+"'"})}},Fe={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ct={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ie,we){if(or(we))return we.number;if(rr(we))switch(we.value){case"bold":return 700;case"normal":default:return 400}return 400}},Tt={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ie,we){return we.filter(rr).map(function(Ne){return Ne.value})}},br={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ie,we){switch(we){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ir=function(ie,we){return(ie&we)!==0},$r={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ie,we){if(we.length===0)return[];var Ne=we[0];return Ne.type===20&&Ne.value==="none"?[]:we}},Cn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ie,we){if(we.length===0)return null;var Ne=we[0];if(Ne.type===20&&Ne.value==="none")return null;for(var tt=[],Rt=we.filter(Kr),Er=0;Er<Rt.length;Er++){var Hr=Rt[Er],en=Rt[Er+1];if(Hr.type===20){var mn=en&&or(en)?en.number:1;tt.push({counter:Hr.value,increment:mn})}}return tt}},Wn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ie,we){if(we.length===0)return[];for(var Ne=[],tt=we.filter(Kr),Rt=0;Rt<tt.length;Rt++){var Er=tt[Rt],Hr=tt[Rt+1];if(rr(Er)&&Er.value!=="none"){var en=Hr&&or(Hr)?Hr.number:0;Ne.push({counter:Er.value,reset:en})}}return Ne}},si={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ie,we){return we.filter(Ct).map(function(Ne){return On.parse(ie,Ne)})}},Ei={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ie,we){if(we.length===0)return null;var Ne=we[0];if(Ne.type===20&&Ne.value==="none")return null;var tt=[],Rt=we.filter(Lr);if(Rt.length%2!==0)return null;for(var Er=0;Er<Rt.length;Er+=2){var Hr=Rt[Er].value,en=Rt[Er+1].value;tt.push({open:Hr,close:en})}return tt}},zi=function(ie,we,Ne){if(!ie)return"";var tt=ie[Math.min(we,ie.length-1)];return tt?Ne?tt.open:tt.close:""},la={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ie,we){return we.length===1&&Fr(we[0],"none")?[]:wn(we).map(function(Ne){for(var tt={color:255,offsetX:Sn,offsetY:Sn,blur:Sn,spread:Sn,inset:!1},Rt=0,Er=0;Er<Ne.length;Er++){var Hr=Ne[Er];Fr(Hr,"inset")?tt.inset=!0:Rn(Hr)?(Rt===0?tt.offsetX=Hr:Rt===1?tt.offsetY=Hr:Rt===2?tt.blur=Hr:tt.spread=Hr,Rt++):tt.color=Ci.parse(ie,Hr)}return tt})}},va={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ie,we){var Ne=[0,1,2],tt=[];return we.filter(rr).forEach(function(Rt){switch(Rt.value){case"stroke":tt.push(1);break;case"fill":tt.push(0);break;case"markers":tt.push(2);break}}),Ne.forEach(function(Rt){tt.indexOf(Rt)===-1&&tt.push(Rt)}),tt}},$a={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},eo={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,we){return Ct(we)?we.number:0}},ro=function(){function Zt(ie,we){var Ne,tt;this.animationDuration=Gi(ie,si,we.animationDuration),this.backgroundClip=Gi(ie,pn,we.backgroundClip),this.backgroundColor=Gi(ie,sn,we.backgroundColor),this.backgroundImage=Gi(ie,Ha,we.backgroundImage),this.backgroundOrigin=Gi(ie,za,we.backgroundOrigin),this.backgroundPosition=Gi(ie,wa,we.backgroundPosition),this.backgroundRepeat=Gi(ie,Ka,we.backgroundRepeat),this.backgroundSize=Gi(ie,lo,we.backgroundSize),this.borderTopColor=Gi(ie,Ja,we.borderTopColor),this.borderRightColor=Gi(ie,Ma,we.borderRightColor),this.borderBottomColor=Gi(ie,ka,we.borderBottomColor),this.borderLeftColor=Gi(ie,yo,we.borderLeftColor),this.borderTopLeftRadius=Gi(ie,_o,we.borderTopLeftRadius),this.borderTopRightRadius=Gi(ie,co,we.borderTopRightRadius),this.borderBottomRightRadius=Gi(ie,uo,we.borderBottomRightRadius),this.borderBottomLeftRadius=Gi(ie,Qa,we.borderBottomLeftRadius),this.borderTopStyle=Gi(ie,Ca,we.borderTopStyle),this.borderRightStyle=Gi(ie,no,we.borderRightStyle),this.borderBottomStyle=Gi(ie,fo,we.borderBottomStyle),this.borderLeftStyle=Gi(ie,Bi,we.borderLeftStyle),this.borderTopWidth=Gi(ie,Vo,we.borderTopWidth),this.borderRightWidth=Gi(ie,Uo,we.borderRightWidth),this.borderBottomWidth=Gi(ie,Xo,we.borderBottomWidth),this.borderLeftWidth=Gi(ie,Yo,we.borderLeftWidth),this.boxShadow=Gi(ie,la,we.boxShadow),this.color=Gi(ie,bo,we.color),this.direction=Gi(ie,Oa,we.direction),this.display=Gi(ie,Fo,we.display),this.float=Gi(ie,ho,we.cssFloat),this.fontFamily=Gi(ie,ge,we.fontFamily),this.fontSize=Gi(ie,Fe,we.fontSize),this.fontStyle=Gi(ie,br,we.fontStyle),this.fontVariant=Gi(ie,Tt,we.fontVariant),this.fontWeight=Gi(ie,ct,we.fontWeight),this.letterSpacing=Gi(ie,Oo,we.letterSpacing),this.lineBreak=Gi(ie,Qo,we.lineBreak),this.lineHeight=Gi(ie,el,we.lineHeight),this.listStyleImage=Gi(ie,Ns,we.listStyleImage),this.listStylePosition=Gi(ie,Cs,we.listStylePosition),this.listStyleType=Gi(ie,As,we.listStyleType),this.marginTop=Gi(ie,jo,we.marginTop),this.marginRight=Gi(ie,go,we.marginRight),this.marginBottom=Gi(ie,es,we.marginBottom),this.marginLeft=Gi(ie,Ho,we.marginLeft),this.opacity=Gi(ie,ft,we.opacity);var Rt=Gi(ie,Go,we.overflow);this.overflowX=Rt[0],this.overflowY=Rt[Rt.length>1?1:0],this.overflowWrap=Gi(ie,zr,we.overflowWrap),this.paddingTop=Gi(ie,tl,we.paddingTop),this.paddingRight=Gi(ie,Ks,we.paddingRight),this.paddingBottom=Gi(ie,Ps,we.paddingBottom),this.paddingLeft=Gi(ie,io,we.paddingLeft),this.paintOrder=Gi(ie,va,we.paintOrder),this.position=Gi(ie,Jo,we.position),this.textAlign=Gi(ie,Ao,we.textAlign),this.textDecorationColor=Gi(ie,$,(Ne=we.textDecorationColor)!==null&&Ne!==void 0?Ne:we.color),this.textDecorationLine=Gi(ie,he,(tt=we.textDecorationLine)!==null&&tt!==void 0?tt:we.textDecoration),this.textShadow=Gi(ie,ns,we.textShadow),this.textTransform=Gi(ie,ys,we.textTransform),this.transform=Gi(ie,ps,we.transform),this.transformOrigin=Gi(ie,ms,we.transformOrigin),this.visibility=Gi(ie,Ms,we.visibility),this.webkitTextStrokeColor=Gi(ie,$a,we.webkitTextStrokeColor),this.webkitTextStrokeWidth=Gi(ie,eo,we.webkitTextStrokeWidth),this.wordBreak=Gi(ie,Dt,we.wordBreak),this.zIndex=Gi(ie,tn,we.zIndex)}return Zt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Zt.prototype.isTransparent=function(){return Hi(this.backgroundColor)},Zt.prototype.isTransformed=function(){return this.transform!==null},Zt.prototype.isPositioned=function(){return this.position!==0},Zt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Zt.prototype.isFloating=function(){return this.float!==0},Zt.prototype.isInlineLevel=function(){return Ir(this.display,4)||Ir(this.display,33554432)||Ir(this.display,268435456)||Ir(this.display,536870912)||Ir(this.display,67108864)||Ir(this.display,134217728)},Zt}(),Lo=function(){function Zt(ie,we){this.content=Gi(ie,$r,we.content),this.quotes=Gi(ie,Ei,we.quotes)}return Zt}(),Eo=function(){function Zt(ie,we){this.counterIncrement=Gi(ie,Cn,we.counterIncrement),this.counterReset=Gi(ie,Wn,we.counterReset)}return Zt}(),Gi=function(ie,we,Ne){var tt=new hn,Rt=Ne!==null&&typeof Ne!="undefined"?Ne.toString():we.initialValue;tt.write(Rt);var Er=new ze(tt.read());switch(we.type){case 2:var Hr=Er.parseComponentValue();return we.parse(ie,rr(Hr)?Hr.value:we.initialValue);case 0:return we.parse(ie,Er.parseComponentValue());case 1:return we.parse(ie,Er.parseComponentValues());case 4:return Er.parseComponentValue();case 3:switch(we.format){case"angle":return xi.parse(ie,Er.parseComponentValue());case"color":return Ci.parse(ie,Er.parseComponentValue());case"image":return Da.parse(ie,Er.parseComponentValue());case"length":var en=Er.parseComponentValue();return Rn(en)?en:Sn;case"length-percentage":var mn=Er.parseComponentValue();return Dn(mn)?mn:Sn;case"time":return On.parse(ie,Er.parseComponentValue())}break}},po="data-html2canvas-debug",wo=function(ie){var we=ie.getAttribute(po);switch(we){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ts=function(ie,we){var Ne=wo(ie);return Ne===1||we===Ne},No=function(){function Zt(ie,we){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,ts(we,3))debugger;this.styles=new ro(ie,window.getComputedStyle(we,null)),Dc(we)&&(this.styles.animationDuration.some(function(Ne){return Ne>0})&&(we.style.animationDuration="0s"),this.styles.transform!==null&&(we.style.transform="none")),this.bounds=c(this.context,we),ts(we,4)&&(this.flags|=16)}return Zt}(),Io="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ko="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ls=0;ls<Ko.length;ls++)bs[Ko.charCodeAt(ls)]=ls;for(var cs=function(ie){var we=ie.length*.75,Ne=ie.length,tt,Rt=0,Er,Hr,en,mn;ie[ie.length-1]==="="&&(we--,ie[ie.length-2]==="="&&we--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(we):new Array(we),Vn=Array.isArray(ai)?ai:new Uint8Array(ai);for(tt=0;tt<Ne;tt+=4)Er=bs[ie.charCodeAt(tt)],Hr=bs[ie.charCodeAt(tt+1)],en=bs[ie.charCodeAt(tt+2)],mn=bs[ie.charCodeAt(tt+3)],Vn[Rt++]=Er<<2|Hr>>4,Vn[Rt++]=(Hr&15)<<4|en>>2,Vn[Rt++]=(en&3)<<6|mn&63;return ai},ws=function(ie){for(var we=ie.length,Ne=[],tt=0;tt<we;tt+=2)Ne.push(ie[tt+1]<<8|ie[tt]);return Ne},us=function(ie){for(var we=ie.length,Ne=[],tt=0;tt<we;tt+=4)Ne.push(ie[tt+3]<<24|ie[tt+2]<<16|ie[tt+1]<<8|ie[tt]);return Ne},Ys=5,dl=6+5,gs=2,Do=dl-Ys,is=65536>>Ys,Qs=1<<Ys,Ds=Qs-1,Vs=1024>>Ys,Xs=is+Vs,Fs=Xs,al=2048>>6,Js=Fs+al,rl=65536>>dl,Us=1<<Do,Ga=Us-1,ha=function(ie,we,Ne){return ie.slice?ie.slice(we,Ne):new Uint16Array(Array.prototype.slice.call(ie,we,Ne))},Wa=function(ie,we,Ne){return ie.slice?ie.slice(we,Ne):new Uint32Array(Array.prototype.slice.call(ie,we,Ne))},oo=function(ie,we){var Ne=cs(ie),tt=Array.isArray(Ne)?us(Ne):new Uint32Array(Ne),Rt=Array.isArray(Ne)?ws(Ne):new Uint16Array(Ne),Er=24,Hr=ha(Rt,Er/2,tt[4]/2),en=tt[5]===2?ha(Rt,(Er+tt[4])/2):Wa(tt,Math.ceil((Er+tt[4])/4));return new $o(tt[0],tt[1],tt[2],tt[3],Hr,en)},$o=function(){function Zt(ie,we,Ne,tt,Rt,Er){this.initialValue=ie,this.errorValue=we,this.highStart=Ne,this.highValueIndex=tt,this.index=Rt,this.data=Er}return Zt.prototype.get=function(ie){var we;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return we=this.index[ie>>Ys],we=(we<<gs)+(ie&Ds),this.data[we];if(ie<=65535)return we=this.index[is+(ie-55296>>Ys)],we=(we<<gs)+(ie&Ds),this.data[we];if(ie<this.highStart)return we=Js-rl+(ie>>dl),we=this.index[we],we+=ie>>Ys&Ga,we=this.index[we],we=(we<<gs)+(ie&Ds),this.data[we];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Zt}(),Bs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ss=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ds=0;ds<Bs.length;ds++)Ss[Bs.charCodeAt(ds)]=ds;var Po=1,Co=2,Zo=3,So=4,js=5,Hl=7,fl=8,Ml=9,Zs=10,xl=11,El=12,Ec=13,lc=14,Cc=15,Uc=function(ie){for(var we=[],Ne=0,tt=ie.length;Ne<tt;){var Rt=ie.charCodeAt(Ne++);if(Rt>=55296&&Rt<=56319&&Ne<tt){var Er=ie.charCodeAt(Ne++);(Er&64512)===56320?we.push(((Rt&1023)<<10)+(Er&1023)+65536):(we.push(Rt),Ne--)}else we.push(Rt)}return we},Zl=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var Ne=ie.length;if(!Ne)return"";for(var tt=[],Rt=-1,Er="";++Rt<Ne;){var Hr=ie[Rt];Hr<=65535?tt.push(Hr):(Hr-=65536,tt.push((Hr>>10)+55296,Hr%1024+56320)),(Rt+1===Ne||tt.length>16384)&&(Er+=String.fromCharCode.apply(String,tt),tt.length=0)}return Er},Gs=oo(Io),hs="\xD7",nl="\xF7",$l=function(ie){return Gs.get(ie)},cc=function(ie,we,Ne){var tt=Ne-2,Rt=we[tt],Er=we[Ne-1],Hr=we[Ne];if(Er===Co&&Hr===Zo)return hs;if(Er===Co||Er===Zo||Er===So)return nl;if(Hr===Co||Hr===Zo||Hr===So)return nl;if(Er===fl&&[fl,Ml,xl,El].indexOf(Hr)!==-1)return hs;if((Er===xl||Er===Ml)&&(Hr===Ml||Hr===Zs))return hs;if((Er===El||Er===Zs)&&Hr===Zs)return hs;if(Hr===Ec||Hr===js)return hs;if(Hr===Hl)return hs;if(Er===Po)return hs;if(Er===Ec&&Hr===lc){for(;Rt===js;)Rt=we[--tt];if(Rt===lc)return hs}if(Er===Cc&&Hr===Cc){for(var en=0;Rt===Cc;)en++,Rt=we[--tt];if(en%2===0)return hs}return nl},uc=function(ie){var we=Uc(ie),Ne=we.length,tt=0,Rt=0,Er=we.map($l);return{next:function(){if(tt>=Ne)return{done:!0,value:null};for(var en=hs;tt<Ne&&(en=cc(we,Er,++tt))===hs;);if(en!==hs||tt===Ne){var mn=Zl.apply(null,we.slice(Rt,tt));return Rt=tt,{value:mn,done:!1}}return{done:!0,value:null}}}},ql=function(ie){for(var we=uc(ie),Ne=[],tt;!(tt=we.next()).done;)tt.value&&Ne.push(tt.value.slice());return Ne},Kl=function(ie){var we=123;if(ie.createRange){var Ne=ie.createRange();if(Ne.getBoundingClientRect){var tt=ie.createElement("boundtest");tt.style.height=we+"px",tt.style.display="block",ie.body.appendChild(tt),Ne.selectNode(tt);var Rt=Ne.getBoundingClientRect(),Er=Math.round(Rt.height);if(ie.body.removeChild(tt),Er===we)return!0}}return!1},jc=function(ie){var we=ie.createElement("boundtest");we.style.width="50px",we.style.display="block",we.style.fontSize="12px",we.style.letterSpacing="0px",we.style.wordSpacing="0px",ie.body.appendChild(we);var Ne=ie.createRange();we.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var tt=we.firstChild,Rt=n(tt.data).map(function(mn){return i(mn)}),Er=0,Hr={},en=Rt.every(function(mn,ai){Ne.setStart(tt,Er),Ne.setEnd(tt,Er+mn.length);var Vn=Ne.getBoundingClientRect();Er+=mn.length;var li=Vn.x>Hr.x||Vn.y>Hr.y;return Hr=Vn,ai===0?!0:li});return ie.body.removeChild(we),en},dc=function(){return typeof new Image().crossOrigin!="undefined"},Tc=function(){return typeof new XMLHttpRequest().responseType=="string"},pl=function(ie){var we=new Image,Ne=ie.createElement("canvas"),tt=Ne.getContext("2d");if(!tt)return!1;we.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{tt.drawImage(we,0,0),Ne.toDataURL()}catch(Rt){return!1}return!0},Al=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},Wl=function(ie){var we=ie.createElement("canvas"),Ne=100;we.width=Ne,we.height=Ne;var tt=we.getContext("2d");if(!tt)return Promise.reject(!1);tt.fillStyle="rgb(0, 255, 0)",tt.fillRect(0,0,Ne,Ne);var Rt=new Image,Er=we.toDataURL();Rt.src=Er;var Hr=Fl(Ne,Ne,0,0,Rt);return tt.fillStyle="red",tt.fillRect(0,0,Ne,Ne),ml(Hr).then(function(en){tt.drawImage(en,0,0);var mn=tt.getImageData(0,0,Ne,Ne).data;tt.fillStyle="red",tt.fillRect(0,0,Ne,Ne);var ai=ie.createElement("div");return ai.style.backgroundImage="url("+Er+")",ai.style.height=Ne+"px",Al(mn)?ml(Fl(Ne,Ne,0,0,ai)):Promise.reject(!1)}).then(function(en){return tt.drawImage(en,0,0),Al(tt.getImageData(0,0,Ne,Ne).data)}).catch(function(){return!1})},Fl=function(ie,we,Ne,tt,Rt){var Er="http://www.w3.org/2000/svg",Hr=document.createElementNS(Er,"svg"),en=document.createElementNS(Er,"foreignObject");return Hr.setAttributeNS(null,"width",ie.toString()),Hr.setAttributeNS(null,"height",we.toString()),en.setAttributeNS(null,"width","100%"),en.setAttributeNS(null,"height","100%"),en.setAttributeNS(null,"x",Ne.toString()),en.setAttributeNS(null,"y",tt.toString()),en.setAttributeNS(null,"externalResourcesRequired","true"),Hr.appendChild(en),en.appendChild(Rt),Hr},ml=function(ie){return new Promise(function(we,Ne){var tt=new Image;tt.onload=function(){return we(tt)},tt.onerror=Ne,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Hs={get SUPPORT_RANGE_BOUNDS(){var Zt=Kl(document);return Object.defineProperty(Hs,"SUPPORT_RANGE_BOUNDS",{value:Zt}),Zt},get SUPPORT_WORD_BREAKING(){var Zt=Hs.SUPPORT_RANGE_BOUNDS&&jc(document);return Object.defineProperty(Hs,"SUPPORT_WORD_BREAKING",{value:Zt}),Zt},get SUPPORT_SVG_DRAWING(){var Zt=pl(document);return Object.defineProperty(Hs,"SUPPORT_SVG_DRAWING",{value:Zt}),Zt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Zt=typeof Array.from=="function"&&typeof window.fetch=="function"?Wl(document):Promise.resolve(!1);return Object.defineProperty(Hs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Zt}),Zt},get SUPPORT_CORS_IMAGES(){var Zt=dc();return Object.defineProperty(Hs,"SUPPORT_CORS_IMAGES",{value:Zt}),Zt},get SUPPORT_RESPONSE_TYPE(){var Zt=Tc();return Object.defineProperty(Hs,"SUPPORT_RESPONSE_TYPE",{value:Zt}),Zt},get SUPPORT_CORS_XHR(){var Zt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Hs,"SUPPORT_CORS_XHR",{value:Zt}),Zt},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Zt=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Hs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Zt}),Zt}},zl=function(){function Zt(ie,we){this.text=ie,this.bounds=we}return Zt}(),vl=function(ie,we,Ne,tt){var Rt=Cl(we,Ne),Er=[],Hr=0;return Rt.forEach(function(en){if(Ne.textDecorationLine.length||en.trim().length>0)if(Hs.SUPPORT_RANGE_BOUNDS){var mn=_c(tt,Hr,en.length).getClientRects();if(mn.length>1){var ai=Vl(en),Vn=0;ai.forEach(function(oa){Er.push(new zl(oa,d.fromDOMRectList(ie,_c(tt,Vn+Hr,oa.length).getClientRects()))),Vn+=oa.length})}else Er.push(new zl(en,d.fromDOMRectList(ie,mn)))}else{var li=tt.splitText(en.length);Er.push(new zl(en,ec(ie,tt))),tt=li}else Hs.SUPPORT_RANGE_BOUNDS||(tt=tt.splitText(en.length));Hr+=en.length}),Er},ec=function(ie,we){var Ne=we.ownerDocument;if(Ne){var tt=Ne.createElement("html2canvaswrapper");tt.appendChild(we.cloneNode(!0));var Rt=we.parentNode;if(Rt){Rt.replaceChild(tt,we);var Er=c(ie,tt);return tt.firstChild&&Rt.replaceChild(tt.firstChild,tt),Er}}return d.EMPTY},_c=function(ie,we,Ne){var tt=ie.ownerDocument;if(!tt)throw new Error("Node has no owner document");var Rt=tt.createRange();return Rt.setStart(ie,we),Rt.setEnd(ie,we+Ne),Rt},Vl=function(ie){if(Hs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var we=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(we.segment(ie)).map(function(Ne){return Ne.segment})}return ql(ie)},Bl=function(ie,we){if(Hs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ne=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Ne.segment(ie)).map(function(tt){return tt.segment})}return Ic(ie,we)},Cl=function(ie,we){return we.letterSpacing!==0?Vl(ie):Bl(ie,we)},Pl=[32,160,4961,65792,65793,4153,4241],Ic=function(ie,we){for(var Ne=Zr(ie,{lineBreak:we.lineBreak,wordBreak:we.overflowWrap==="break-word"?"break-word":we.wordBreak}),tt=[],Rt,Er=function(){if(Rt.value){var en=Rt.value.slice(),mn=n(en),ai="";mn.forEach(function(Vn){Pl.indexOf(Vn)===-1?ai+=i(Vn):(ai.length&&tt.push(ai),tt.push(i(Vn)),ai="")}),ai.length&&tt.push(ai)}};!(Rt=Ne.next()).done;)Er();return tt},Oc=function(){function Zt(ie,we,Ne){this.text=hc(we.data,Ne.textTransform),this.textBounds=vl(ie,this.text,Ne,we)}return Zt}(),hc=function(ie,we){switch(we){case 1:return ie.toLowerCase();case 3:return ie.replace(Xl,fc);case 2:return ie.toUpperCase();default:return ie}},Xl=/(^|\s|:|-|\(|\))([a-z])/g,fc=function(ie,we,Ne){return ie.length>0?we+Ne.toUpperCase():ie},pc=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.src=Ne.currentSrc||Ne.src,tt.intrinsicWidth=Ne.naturalWidth,tt.intrinsicHeight=Ne.naturalHeight,tt.context.cache.addImage(tt.src),tt}return ie}(No),Lc=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.canvas=Ne,tt.intrinsicWidth=Ne.width,tt.intrinsicHeight=Ne.height,tt}return ie}(No),ll=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this,Rt=new XMLSerializer,Er=c(we,Ne);return Ne.setAttribute("width",Er.width+"px"),Ne.setAttribute("height",Er.height+"px"),tt.svg="data:image/svg+xml,"+encodeURIComponent(Rt.serializeToString(Ne)),tt.intrinsicWidth=Ne.width.baseVal.value,tt.intrinsicHeight=Ne.height.baseVal.value,tt.context.cache.addImage(tt.svg),tt}return ie}(No),cl=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.value=Ne.value,tt}return ie}(No),hl=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.start=Ne.start,tt.reversed=typeof Ne.reversed=="boolean"&&Ne.reversed===!0,tt}return ie}(No),tc=[{type:15,flags:0,unit:"px",number:3}],mc=[{type:16,flags:0,number:50}],yl=function(ie){return ie.width>ie.height?new d(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width<ie.height?new d(ie.left,ie.top+(ie.height-ie.width)/2,ie.width,ie.width):ie},ul=function(ie){var we=ie.type===Hc?new Array(ie.value.length+1).join("\u2022"):ie.value;return we.length===0?ie.placeholder||"":we},Gl="checkbox",rc="radio",Hc="password",gc=707406591,nc=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;tt.type=Ne.type.toLowerCase(),tt.checked=Ne.checked,tt.value=ul(Ne),(tt.type===Gl||tt.type===rc)&&(tt.styles.backgroundColor=3739148031,tt.styles.borderTopColor=tt.styles.borderRightColor=tt.styles.borderBottomColor=tt.styles.borderLeftColor=2779096575,tt.styles.borderTopWidth=tt.styles.borderRightWidth=tt.styles.borderBottomWidth=tt.styles.borderLeftWidth=1,tt.styles.borderTopStyle=tt.styles.borderRightStyle=tt.styles.borderBottomStyle=tt.styles.borderLeftStyle=1,tt.styles.backgroundClip=[0],tt.styles.backgroundOrigin=[0],tt.bounds=yl(tt.bounds));switch(tt.type){case Gl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=tc;break;case rc:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=mc;break}return tt}return ie}(No),Nc=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this,Rt=Ne.options[Ne.selectedIndex||0];return tt.value=Rt&&Rt.text||"",tt}return ie}(No),Ac=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.value=Ne.value,tt}return ie}(No),bl=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;tt.src=Ne.src,tt.width=parseInt(Ne.width,10)||0,tt.height=parseInt(Ne.height,10)||0,tt.backgroundColor=tt.styles.backgroundColor;try{if(Ne.contentWindow&&Ne.contentWindow.document&&Ne.contentWindow.document.documentElement){tt.tree=vc(we,Ne.contentWindow.document.documentElement);var Rt=Ne.contentWindow.document.documentElement?jr(we,getComputedStyle(Ne.contentWindow.document.documentElement).backgroundColor):Ur.TRANSPARENT,Er=Ne.contentWindow.document.body?jr(we,getComputedStyle(Ne.contentWindow.document.body).backgroundColor):Ur.TRANSPARENT;tt.backgroundColor=Hi(Rt)?Hi(Er)?tt.styles.backgroundColor:Er:Rt}}catch(Hr){}return tt}return ie}(No),Tl=["OL","UL","MENU"],ic=function Zt(ie,we,Ne,tt){for(var Rt=we.firstChild,Er=void 0;Rt;Rt=Er)if(Er=Rt.nextSibling,Wc(Rt)&&Rt.data.trim().length>0)Ne.textNodes.push(new Oc(ie,Rt,Ne.styles));else if(_l(Rt))if(Ce(Rt)&&Rt.assignedNodes)Rt.assignedNodes().forEach(function(en){return Zt(ie,en,Ne,tt)});else{var Hr=Yl(ie,Rt);Hr.styles.isVisible()&&(qc(Rt,Hr,tt)?Hr.flags|=4:Kc(Hr.styles)&&(Hr.flags|=2),Tl.indexOf(Rt.tagName)!==-1&&(Hr.flags|=8),Ne.elements.push(Hr),Rt.slot,Rt.shadowRoot?Zt(ie,Rt.shadowRoot,Hr,tt):!dr(Rt)&&!Fc(Rt)&&!_r(Rt)&&Zt(ie,Rt,Hr,tt))}},Yl=function(ie,we){return fe(we)?new pc(ie,we):Ql(we)?new Lc(ie,we):Fc(we)?new ll(ie,we):zc(we)?new cl(ie,we):Rc(we)?new hl(ie,we):Mc(we)?new nc(ie,we):_r(we)?new Nc(ie,we):dr(we)?new Ac(ie,we):Pe(we)?new bl(ie,we):new No(ie,we)},vc=function(ie,we){var Ne=Yl(ie,we);return Ne.flags|=4,ic(ie,we,Ne,Ne),Ne},qc=function(ie,we,Ne){return we.styles.isPositionedWithZIndex()||we.styles.opacity<1||we.styles.isTransformed()||Il(ie)&&Ne.styles.isTransparent()},Kc=function(ie){return ie.isPositioned()||ie.isFloating()},Wc=function(ie){return ie.nodeType===Node.TEXT_NODE},_l=function(ie){return ie.nodeType===Node.ELEMENT_NODE},Dc=function(ie){return _l(ie)&&typeof ie.style!="undefined"&&!yc(ie)},yc=function(ie){return typeof ie.className=="object"},zc=function(ie){return ie.tagName==="LI"},Rc=function(ie){return ie.tagName==="OL"},Mc=function(ie){return ie.tagName==="INPUT"},ac=function(ie){return ie.tagName==="HTML"},Fc=function(ie){return ie.tagName==="svg"},Il=function(ie){return ie.tagName==="BODY"},Ql=function(ie){return ie.tagName==="CANVAS"},fe=function(ie){return ie.tagName==="IMG"},Pe=function(ie){return ie.tagName==="IFRAME"},ut=function(ie){return ie.tagName==="STYLE"},Ut=function(ie){return ie.tagName==="SCRIPT"},dr=function(ie){return ie.tagName==="TEXTAREA"},_r=function(ie){return ie.tagName==="SELECT"},Ce=function(ie){return ie.tagName==="SLOT"},Q=function(ie){return ie.tagName.indexOf("-")>0},ve=function(){function Zt(){this.counters={}}return Zt.prototype.getCounterValue=function(ie){var we=this.counters[ie];return we&&we.length?we[we.length-1]:1},Zt.prototype.getCounterValues=function(ie){var we=this.counters[ie];return we||[]},Zt.prototype.pop=function(ie){var we=this;ie.forEach(function(Ne){return we.counters[Ne].pop()})},Zt.prototype.parse=function(ie){var we=this,Ne=ie.counterIncrement,tt=ie.counterReset,Rt=!0;Ne!==null&&Ne.forEach(function(Hr){var en=we.counters[Hr.counter];en&&Hr.increment!==0&&(Rt=!1,en.length||en.push(1),en[Math.max(0,en.length-1)]+=Hr.increment)});var Er=[];return Rt&&tt.forEach(function(Hr){var en=we.counters[Hr.counter];Er.push(Hr.counter),en||(en=we.counters[Hr.counter]=[]),en.push(Hr.reset)}),Er},Zt}(),je={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},it={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},St={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},_t={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},It=function(ie,we,Ne,tt,Rt,Er){return ie<we||ie>Ne?Ui(ie,Rt,Er.length>0):tt.integers.reduce(function(Hr,en,mn){for(;ie>=en;)ie-=en,Hr+=tt.values[mn];return Hr},"")+Er},Ar=function(ie,we,Ne,tt){var Rt="";do Ne||ie--,Rt=tt(ie)+Rt,ie/=we;while(ie*we>=we);return Rt},Tr=function(ie,we,Ne,tt,Rt){var Er=Ne-we+1;return(ie<0?"-":"")+(Ar(Math.abs(ie),Er,tt,function(Hr){return i(Math.floor(Hr%Er)+we)})+Rt)},hr=function(ie,we,Ne){Ne===void 0&&(Ne=". ");var tt=we.length;return Ar(Math.abs(ie),tt,!1,function(Rt){return we[Math.floor(Rt%tt)]})+Ne},sr=1<<0,Cr=1<<1,Mr=1<<2,an=1<<3,Pn=function(ie,we,Ne,tt,Rt,Er){if(ie<-9999||ie>9999)return Ui(ie,4,Rt.length>0);var Hr=Math.abs(ie),en=Rt;if(Hr===0)return we[0]+en;for(var mn=0;Hr>0&&mn<=4;mn++){var ai=Hr%10;ai===0&&Ir(Er,sr)&&en!==""?en=we[ai]+en:ai>1||ai===1&&mn===0||ai===1&&mn===1&&Ir(Er,Cr)||ai===1&&mn===1&&Ir(Er,Mr)&&ie>100||ai===1&&mn>1&&Ir(Er,an)?en=we[ai]+(mn>0?Ne[mn-1]:"")+en:ai===1&&mn>0&&(en=Ne[mn-1]+en),Hr=Math.floor(Hr/10)}return(ie<0?tt:"")+en},ni="\u5341\u767E\u5343\u842C",Ii="\u62FE\u4F70\u4EDF\u842C",hi="\u30DE\u30A4\u30CA\u30B9",ma="\uB9C8\uC774\uB108\uC2A4",Ui=function(ie,we,Ne){var tt=Ne?". ":"",Rt=Ne?"\u3001":"",Er=Ne?", ":"",Hr=Ne?" ":"";switch(we){case 0:return"\u2022"+Hr;case 1:return"\u25E6"+Hr;case 2:return"\u25FE"+Hr;case 5:var en=Tr(ie,48,57,!0,tt);return en.length<4?"0"+en:en;case 4:return hr(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Rt);case 6:return It(ie,1,3999,je,3,tt).toLowerCase();case 7:return It(ie,1,3999,je,3,tt);case 8:return Tr(ie,945,969,!1,tt);case 9:return Tr(ie,97,122,!1,tt);case 10:return Tr(ie,65,90,!1,tt);case 11:return Tr(ie,1632,1641,!0,tt);case 12:case 49:return It(ie,1,9999,it,3,tt);case 35:return It(ie,1,9999,it,3,tt).toLowerCase();case 13:return Tr(ie,2534,2543,!0,tt);case 14:case 30:return Tr(ie,6112,6121,!0,tt);case 15:return hr(ie,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Rt);case 16:return hr(ie,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Rt);case 17:case 48:return Pn(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ni,"\u8CA0",Rt,Cr|Mr|an);case 47:return Pn(ie,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Ii,"\u8CA0",Rt,sr|Cr|Mr|an);case 42:return Pn(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ni,"\u8D1F",Rt,Cr|Mr|an);case 41:return Pn(ie,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Ii,"\u8D1F",Rt,sr|Cr|Mr|an);case 26:return Pn(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",hi,Rt,0);case 25:return Pn(ie,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",hi,Rt,sr|Cr|Mr);case 31:return Pn(ie,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ma,Er,sr|Cr|Mr);case 33:return Pn(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ma,Er,0);case 32:return Pn(ie,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ma,Er,sr|Cr|Mr);case 18:return Tr(ie,2406,2415,!0,tt);case 20:return It(ie,1,19999,_t,3,tt);case 21:return Tr(ie,2790,2799,!0,tt);case 22:return Tr(ie,2662,2671,!0,tt);case 22:return It(ie,1,10999,St,3,tt);case 23:return hr(ie,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return hr(ie,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Tr(ie,3302,3311,!0,tt);case 28:return hr(ie,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Rt);case 29:return hr(ie,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Rt);case 34:return Tr(ie,3792,3801,!0,tt);case 37:return Tr(ie,6160,6169,!0,tt);case 38:return Tr(ie,4160,4169,!0,tt);case 39:return Tr(ie,2918,2927,!0,tt);case 40:return Tr(ie,1776,1785,!0,tt);case 43:return Tr(ie,3046,3055,!0,tt);case 44:return Tr(ie,3174,3183,!0,tt);case 45:return Tr(ie,3664,3673,!0,tt);case 46:return Tr(ie,3872,3881,!0,tt);case 3:default:return Tr(ie,48,57,!0,tt)}},_a="data-html2canvas-ignore",Aa=function(){function Zt(ie,we,Ne){if(this.context=ie,this.options=Ne,this.scrolledElements=[],this.referenceElement=we,this.counters=new ve,this.quoteDepth=0,!we.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(we.ownerDocument.documentElement,!1)}return Zt.prototype.toIFrame=function(ie,we){var Ne=this,tt=mo(ie,we);if(!tt.contentWindow)return Promise.reject("Unable to find iframe window");var Rt=ie.defaultView.pageXOffset,Er=ie.defaultView.pageYOffset,Hr=tt.contentWindow,en=Hr.document,mn=Y(tt).then(function(){return m(Ne,void 0,void 0,function(){var ai,Vn;return g(this,function(li){switch(li.label){case 0:return this.scrolledElements.forEach(Et),Hr&&(Hr.scrollTo(we.left,we.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Hr.scrollY!==we.top||Hr.scrollX!==we.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Hr.scrollX-we.left,Hr.scrollY-we.top,0,0))),ai=this.options.onclone,Vn=this.clonedReferenceElement,typeof Vn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:en.fonts&&en.fonts.ready?[4,en.fonts.ready]:[3,2];case 1:li.sent(),li.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,D(en)]:[3,4];case 3:li.sent(),li.label=4;case 4:return typeof ai=="function"?[2,Promise.resolve().then(function(){return ai(en,Vn)}).then(function(){return tt})]:[2,tt]}})})});return en.open(),en.write(De(document.doctype)+"<html></html>"),ht(this.referenceElement.ownerDocument,Rt,Er),en.replaceChild(en.adoptNode(this.documentElement),en.documentElement),en.close(),mn},Zt.prototype.createElementClone=function(ie){if(ts(ie,2))debugger;if(Ql(ie))return this.createCanvasClone(ie);if(ut(ie))return this.createStyleClone(ie);var we=ie.cloneNode(!1);return fe(we)&&(fe(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(we.src=ie.currentSrc,we.srcset=""),we.loading==="lazy"&&(we.loading="eager")),Q(we)?this.createCustomElementClone(we):we},Zt.prototype.createCustomElementClone=function(ie){var we=document.createElement("html2canvascustomelement");return te(ie.style,we),we},Zt.prototype.createStyleClone=function(ie){try{var we=ie.sheet;if(we&&we.cssRules){var Ne=[].slice.call(we.cssRules,0).reduce(function(Rt,Er){return Er&&typeof Er.cssText=="string"?Rt+Er.cssText:Rt},""),tt=ie.cloneNode(!1);return tt.textContent=Ne,tt}}catch(Rt){if(this.context.logger.error("Unable to access cssRules property",Rt),Rt.name!=="SecurityError")throw Rt}return ie.cloneNode(!1)},Zt.prototype.createCanvasClone=function(ie){var we;if(this.options.inlineImages&&ie.ownerDocument){var Ne=ie.ownerDocument.createElement("img");try{return Ne.src=ie.toDataURL(),Ne}catch(mn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ie)}}var tt=ie.cloneNode(!1);try{tt.width=ie.width,tt.height=ie.height;var Rt=ie.getContext("2d"),Er=tt.getContext("2d");if(Er)if(!this.options.allowTaint&&Rt)Er.putImageData(Rt.getImageData(0,0,ie.width,ie.height),0,0);else{var Hr=(we=ie.getContext("webgl2"))!==null&&we!==void 0?we:ie.getContext("webgl");if(Hr){var en=Hr.getContextAttributes();(en==null?void 0:en.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}Er.drawImage(ie,0,0)}return tt}catch(mn){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return tt},Zt.prototype.appendChildNode=function(ie,we,Ne){(!_l(we)||!Ut(we)&&!we.hasAttribute(_a)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(we)))&&((!this.options.copyStyles||!_l(we)||!ut(we))&&ie.appendChild(this.cloneNode(we,Ne)))},Zt.prototype.cloneNode=function(ie,we){var Ne=this;if(Wc(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var tt=ie.ownerDocument.defaultView;if(tt&&_l(ie)&&(Dc(ie)||yc(ie))){var Rt=this.createElementClone(ie);Rt.style.transitionProperty="none";var Er=tt.getComputedStyle(ie),Hr=tt.getComputedStyle(ie,":before"),en=tt.getComputedStyle(ie,":after");this.referenceElement===ie&&Dc(Rt)&&(this.clonedReferenceElement=Rt),Il(Rt)&&kn(Rt);var mn=this.counters.parse(new Eo(this.context,Er)),ai=this.resolvePseudoContent(ie,Rt,Hr,Va.BEFORE);Q(ie)&&(we=!0);for(var Vn=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;Vn;Vn=Vn.nextSibling)if(_l(Vn)&&Ce(Vn)&&typeof Vn.assignedNodes=="function"){var li=Vn.assignedNodes();li.length&&li.forEach(function(ca){return Ne.appendChildNode(Rt,ca,we)})}else this.appendChildNode(Rt,Vn,we);ai&&Rt.insertBefore(ai,Rt.firstChild);var oa=this.resolvePseudoContent(ie,Rt,en,Va.AFTER);return oa&&Rt.appendChild(oa),this.counters.pop(mn),(Er&&(this.options.copyStyles||yc(ie))&&!Pe(ie)||we)&&te(Er,Rt),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([Rt,ie.scrollLeft,ie.scrollTop]),(dr(ie)||_r(ie))&&(dr(Rt)||_r(Rt))&&(Rt.value=ie.value),Rt}return ie.cloneNode(!1)},Zt.prototype.resolvePseudoContent=function(ie,we,Ne,tt){var Rt=this;if(!Ne)return;var Er=Ne.content,Hr=we.ownerDocument;if(!Hr||!Er||Er==="none"||Er==="-moz-alt-content"||Ne.display==="none")return;this.counters.parse(new Eo(this.context,Ne));var en=new Lo(this.context,Ne),mn=Hr.createElement("html2canvaspseudoelement");te(Ne,mn),en.content.forEach(function(Vn){if(Vn.type===0)mn.appendChild(Hr.createTextNode(Vn.value));else if(Vn.type===22){var li=Hr.createElement("img");li.src=Vn.value,li.style.opacity="1",mn.appendChild(li)}else if(Vn.type===18){if(Vn.name==="attr"){var oa=Vn.values.filter(rr);oa.length&&mn.appendChild(Hr.createTextNode(ie.getAttribute(oa[0].value)||""))}else if(Vn.name==="counter"){var ca=Vn.values.filter(nn),xa=ca[0],so=ca[1];if(xa&&rr(xa)){var Xa=Rt.counters.getCounterValue(xa.value),Ua=so&&rr(so)?As.parse(Rt.context,so.value):3;mn.appendChild(Hr.createTextNode(Ui(Xa,Ua,!1)))}}else if(Vn.name==="counters"){var zo=Vn.values.filter(nn),xa=zo[0],qo=zo[1],so=zo[2];if(xa&&rr(xa)){var Ro=Rt.counters.getCounterValues(xa.value),Ba=so&&rr(so)?As.parse(Rt.context,so.value):3,as=qo&&qo.type===0?qo.value:"",os=Ro.map(function(Jl){return Ui(Jl,Ba,!1)}).join(as);mn.appendChild(Hr.createTextNode(os))}}}else if(Vn.type===20)switch(Vn.value){case"open-quote":mn.appendChild(Hr.createTextNode(zi(en.quotes,Rt.quoteDepth++,!0)));break;case"close-quote":mn.appendChild(Hr.createTextNode(zi(en.quotes,--Rt.quoteDepth,!1)));break;default:mn.appendChild(Hr.createTextNode(Vn.value))}}),mn.className=qr+" "+dn;var ai=tt===Va.BEFORE?" "+qr:" "+dn;return yc(we)?we.className.baseValue+=ai:we.className+=ai,mn},Zt.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},Zt}(),Va;(function(Zt){Zt[Zt.BEFORE=0]="BEFORE",Zt[Zt.AFTER=1]="AFTER"})(Va||(Va={}));var mo=function(ie,we){var Ne=ie.createElement("iframe");return Ne.className="html2canvas-container",Ne.style.visibility="hidden",Ne.style.position="fixed",Ne.style.left="-10000px",Ne.style.top="0px",Ne.style.border="0",Ne.width=we.width.toString(),Ne.height=we.height.toString(),Ne.scrolling="no",Ne.setAttribute(_a,"true"),ie.body.appendChild(Ne),Ne},O=function(ie){return new Promise(function(we){if(ie.complete){we();return}if(!ie.src){we();return}ie.onload=we,ie.onerror=we})},D=function(ie){return Promise.all([].slice.call(ie.images,0).map(O))},Y=function(ie){return new Promise(function(we,Ne){var tt=ie.contentWindow;if(!tt)return Ne("No window assigned for iframe");var Rt=tt.document;tt.onload=ie.onload=function(){tt.onload=ie.onload=null;var Er=setInterval(function(){Rt.body.childNodes.length>0&&Rt.readyState==="complete"&&(clearInterval(Er),we(ie))},50)}})},Z=["all","d","content"],te=function(ie,we){for(var Ne=ie.length-1;Ne>=0;Ne--){var tt=ie.item(Ne);Z.indexOf(tt)===-1&&we.style.setProperty(tt,ie.getPropertyValue(tt))}return we},De=function(ie){var we="";return ie&&(we+="<!DOCTYPE ",ie.name&&(we+=ie.name),ie.internalSubset&&(we+=ie.internalSubset),ie.publicId&&(we+='"'+ie.publicId+'"'),ie.systemId&&(we+='"'+ie.systemId+'"'),we+=">"),we},ht=function(ie,we,Ne){ie&&ie.defaultView&&(we!==ie.defaultView.pageXOffset||Ne!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(we,Ne)},Et=function(ie){var we=ie[0],Ne=ie[1],tt=ie[2];we.scrollLeft=Ne,we.scrollTop=tt},Yt=":before",qt=":after",qr="___html2canvas___pseudoelement_before",dn="___html2canvas___pseudoelement_after",Mn=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,kn=function(ie){Ai(ie,"."+qr+Yt+Mn+`
|
|
|
.`+dn+qt+Mn)},Ai=function(ie,we){var Ne=ie.ownerDocument;if(Ne){var tt=Ne.createElement("style");tt.textContent=we,ie.appendChild(tt)}},ji=function(){function Zt(){}return Zt.getOrigin=function(ie){var we=Zt._link;return we?(we.href=ie,we.href=we.href,we.protocol+we.hostname+we.port):"about:blank"},Zt.isSameOrigin=function(ie){return Zt.getOrigin(ie)===Zt._origin},Zt.setContext=function(ie){Zt._link=ie.document.createElement("a"),Zt._origin=Zt.getOrigin(ie.location.href)},Zt._origin="about:blank",Zt}(),Qi=function(){function Zt(ie,we){this.context=ie,this._options=we,this._cache={}}return Zt.prototype.addImage=function(ie){var we=Promise.resolve();return this.has(ie)||(vo(ie)||ya(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),we},Zt.prototype.match=function(ie){return this._cache[ie]},Zt.prototype.loadImage=function(ie){return m(this,void 0,void 0,function(){var we,Ne,tt,Rt,Er=this;return g(this,function(Hr){switch(Hr.label){case 0:return we=ji.isSameOrigin(ie),Ne=!qa(ie)&&this._options.useCORS===!0&&Hs.SUPPORT_CORS_IMAGES&&!we,tt=!qa(ie)&&!we&&!vo(ie)&&typeof this._options.proxy=="string"&&Hs.SUPPORT_CORS_XHR&&!Ne,!we&&this._options.allowTaint===!1&&!qa(ie)&&!vo(ie)&&!tt&&!Ne?[2]:(Rt=ie,tt?[4,this.proxy(Rt)]:[3,2]);case 1:Rt=Hr.sent(),Hr.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(en,mn){var ai=new Image;ai.onload=function(){return en(ai)},ai.onerror=mn,(ja(Rt)||Ne)&&(ai.crossOrigin="anonymous"),ai.src=Rt,ai.complete===!0&&setTimeout(function(){return en(ai)},500),Er._options.imageTimeout>0&&setTimeout(function(){return mn("Timed out ("+Er._options.imageTimeout+"ms) loading image")},Er._options.imageTimeout)})];case 3:return[2,Hr.sent()]}})})},Zt.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},Zt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Zt.prototype.proxy=function(ie){var we=this,Ne=this._options.proxy;if(!Ne)throw new Error("No proxy defined");var tt=ie.substring(0,256);return new Promise(function(Rt,Er){var Hr=Hs.SUPPORT_RESPONSE_TYPE?"blob":"text",en=new XMLHttpRequest;en.onload=function(){if(en.status===200)if(Hr==="text")Rt(en.response);else{var Vn=new FileReader;Vn.addEventListener("load",function(){return Rt(Vn.result)},!1),Vn.addEventListener("error",function(li){return Er(li)},!1),Vn.readAsDataURL(en.response)}else Er("Failed to proxy resource "+tt+" with status code "+en.status)},en.onerror=Er;var mn=Ne.indexOf("?")>-1?"&":"?";if(en.open("GET",""+Ne+mn+"url="+encodeURIComponent(ie)+"&responseType="+Hr),Hr!=="text"&&en instanceof XMLHttpRequest&&(en.responseType=Hr),we._options.imageTimeout){var ai=we._options.imageTimeout;en.timeout=ai,en.ontimeout=function(){return Er("Timed out ("+ai+"ms) proxying "+tt)}}en.send()})},Zt}(),Yi=/^data:image\/svg\+xml/i,Xi=/^data:image\/.*;base64,/i,pa=/^data:image\/.*/i,ya=function(ie){return Hs.SUPPORT_SVG_DRAWING||!Wo(ie)},qa=function(ie){return pa.test(ie)},ja=function(ie){return Xi.test(ie)},vo=function(ie){return ie.substr(0,4)==="blob"},Wo=function(ie){return ie.substr(-3).toLowerCase()==="svg"||Yi.test(ie)},ta=function(){function Zt(ie,we){this.type=0,this.x=ie,this.y=we}return Zt.prototype.add=function(ie,we){return new Zt(this.x+ie,this.y+we)},Zt}(),ko=function(ie,we,Ne){return new ta(ie.x+(we.x-ie.x)*Ne,ie.y+(we.y-ie.y)*Ne)},Ts=function(){function Zt(ie,we,Ne,tt){this.type=1,this.start=ie,this.startControl=we,this.endControl=Ne,this.end=tt}return Zt.prototype.subdivide=function(ie,we){var Ne=ko(this.start,this.startControl,ie),tt=ko(this.startControl,this.endControl,ie),Rt=ko(this.endControl,this.end,ie),Er=ko(Ne,tt,ie),Hr=ko(tt,Rt,ie),en=ko(Er,Hr,ie);return we?new Zt(this.start,Ne,Er,en):new Zt(en,Hr,Rt,this.end)},Zt.prototype.add=function(ie,we){return new Zt(this.start.add(ie,we),this.startControl.add(ie,we),this.endControl.add(ie,we),this.end.add(ie,we))},Zt.prototype.reverse=function(){return new Zt(this.end,this.endControl,this.startControl,this.start)},Zt}(),fs=function(ie){return ie.type===1},_s=function(){function Zt(ie){var we=ie.styles,Ne=ie.bounds,tt=Yn(we.borderTopLeftRadius,Ne.width,Ne.height),Rt=tt[0],Er=tt[1],Hr=Yn(we.borderTopRightRadius,Ne.width,Ne.height),en=Hr[0],mn=Hr[1],ai=Yn(we.borderBottomRightRadius,Ne.width,Ne.height),Vn=ai[0],li=ai[1],oa=Yn(we.borderBottomLeftRadius,Ne.width,Ne.height),ca=oa[0],xa=oa[1],so=[];so.push((Rt+en)/Ne.width),so.push((ca+Vn)/Ne.width),so.push((Er+xa)/Ne.height),so.push((mn+li)/Ne.height);var Xa=Math.max.apply(Math,so);Xa>1&&(Rt/=Xa,Er/=Xa,en/=Xa,mn/=Xa,Vn/=Xa,li/=Xa,ca/=Xa,xa/=Xa);var Ua=Ne.width-en,zo=Ne.height-li,qo=Ne.width-Vn,Ro=Ne.height-xa,Ba=we.borderTopWidth,as=we.borderRightWidth,os=we.borderBottomWidth,Mo=we.borderLeftWidth,Dl=Zn(we.paddingTop,ie.bounds.width),Jl=Zn(we.paddingRight,ie.bounds.width),Rl=Zn(we.paddingBottom,ie.bounds.width),sl=Zn(we.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=Rt>0||Er>0?To(Ne.left+Mo/3,Ne.top+Ba/3,Rt-Mo/3,Er-Ba/3,xo.TOP_LEFT):new ta(Ne.left+Mo/3,Ne.top+Ba/3),this.topRightBorderDoubleOuterBox=Rt>0||Er>0?To(Ne.left+Ua,Ne.top+Ba/3,en-as/3,mn-Ba/3,xo.TOP_RIGHT):new ta(Ne.left+Ne.width-as/3,Ne.top+Ba/3),this.bottomRightBorderDoubleOuterBox=Vn>0||li>0?To(Ne.left+qo,Ne.top+zo,Vn-as/3,li-os/3,xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width-as/3,Ne.top+Ne.height-os/3),this.bottomLeftBorderDoubleOuterBox=ca>0||xa>0?To(Ne.left+Mo/3,Ne.top+Ro,ca-Mo/3,xa-os/3,xo.BOTTOM_LEFT):new ta(Ne.left+Mo/3,Ne.top+Ne.height-os/3),this.topLeftBorderDoubleInnerBox=Rt>0||Er>0?To(Ne.left+Mo*2/3,Ne.top+Ba*2/3,Rt-Mo*2/3,Er-Ba*2/3,xo.TOP_LEFT):new ta(Ne.left+Mo*2/3,Ne.top+Ba*2/3),this.topRightBorderDoubleInnerBox=Rt>0||Er>0?To(Ne.left+Ua,Ne.top+Ba*2/3,en-as*2/3,mn-Ba*2/3,xo.TOP_RIGHT):new ta(Ne.left+Ne.width-as*2/3,Ne.top+Ba*2/3),this.bottomRightBorderDoubleInnerBox=Vn>0||li>0?To(Ne.left+qo,Ne.top+zo,Vn-as*2/3,li-os*2/3,xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width-as*2/3,Ne.top+Ne.height-os*2/3),this.bottomLeftBorderDoubleInnerBox=ca>0||xa>0?To(Ne.left+Mo*2/3,Ne.top+Ro,ca-Mo*2/3,xa-os*2/3,xo.BOTTOM_LEFT):new ta(Ne.left+Mo*2/3,Ne.top+Ne.height-os*2/3),this.topLeftBorderStroke=Rt>0||Er>0?To(Ne.left+Mo/2,Ne.top+Ba/2,Rt-Mo/2,Er-Ba/2,xo.TOP_LEFT):new ta(Ne.left+Mo/2,Ne.top+Ba/2),this.topRightBorderStroke=Rt>0||Er>0?To(Ne.left+Ua,Ne.top+Ba/2,en-as/2,mn-Ba/2,xo.TOP_RIGHT):new ta(Ne.left+Ne.width-as/2,Ne.top+Ba/2),this.bottomRightBorderStroke=Vn>0||li>0?To(Ne.left+qo,Ne.top+zo,Vn-as/2,li-os/2,xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width-as/2,Ne.top+Ne.height-os/2),this.bottomLeftBorderStroke=ca>0||xa>0?To(Ne.left+Mo/2,Ne.top+Ro,ca-Mo/2,xa-os/2,xo.BOTTOM_LEFT):new ta(Ne.left+Mo/2,Ne.top+Ne.height-os/2),this.topLeftBorderBox=Rt>0||Er>0?To(Ne.left,Ne.top,Rt,Er,xo.TOP_LEFT):new ta(Ne.left,Ne.top),this.topRightBorderBox=en>0||mn>0?To(Ne.left+Ua,Ne.top,en,mn,xo.TOP_RIGHT):new ta(Ne.left+Ne.width,Ne.top),this.bottomRightBorderBox=Vn>0||li>0?To(Ne.left+qo,Ne.top+zo,Vn,li,xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width,Ne.top+Ne.height),this.bottomLeftBorderBox=ca>0||xa>0?To(Ne.left,Ne.top+Ro,ca,xa,xo.BOTTOM_LEFT):new ta(Ne.left,Ne.top+Ne.height),this.topLeftPaddingBox=Rt>0||Er>0?To(Ne.left+Mo,Ne.top+Ba,Math.max(0,Rt-Mo),Math.max(0,Er-Ba),xo.TOP_LEFT):new ta(Ne.left+Mo,Ne.top+Ba),this.topRightPaddingBox=en>0||mn>0?To(Ne.left+Math.min(Ua,Ne.width-as),Ne.top+Ba,Ua>Ne.width+as?0:Math.max(0,en-as),Math.max(0,mn-Ba),xo.TOP_RIGHT):new ta(Ne.left+Ne.width-as,Ne.top+Ba),this.bottomRightPaddingBox=Vn>0||li>0?To(Ne.left+Math.min(qo,Ne.width-Mo),Ne.top+Math.min(zo,Ne.height-os),Math.max(0,Vn-as),Math.max(0,li-os),xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width-as,Ne.top+Ne.height-os),this.bottomLeftPaddingBox=ca>0||xa>0?To(Ne.left+Mo,Ne.top+Math.min(Ro,Ne.height-os),Math.max(0,ca-Mo),Math.max(0,xa-os),xo.BOTTOM_LEFT):new ta(Ne.left+Mo,Ne.top+Ne.height-os),this.topLeftContentBox=Rt>0||Er>0?To(Ne.left+Mo+sl,Ne.top+Ba+Dl,Math.max(0,Rt-(Mo+sl)),Math.max(0,Er-(Ba+Dl)),xo.TOP_LEFT):new ta(Ne.left+Mo+sl,Ne.top+Ba+Dl),this.topRightContentBox=en>0||mn>0?To(Ne.left+Math.min(Ua,Ne.width+Mo+sl),Ne.top+Ba+Dl,Ua>Ne.width+Mo+sl?0:en-Mo+sl,mn-(Ba+Dl),xo.TOP_RIGHT):new ta(Ne.left+Ne.width-(as+Jl),Ne.top+Ba+Dl),this.bottomRightContentBox=Vn>0||li>0?To(Ne.left+Math.min(qo,Ne.width-(Mo+sl)),Ne.top+Math.min(zo,Ne.height+Ba+Dl),Math.max(0,Vn-(as+Jl)),li-(os+Rl),xo.BOTTOM_RIGHT):new ta(Ne.left+Ne.width-(as+Jl),Ne.top+Ne.height-(os+Rl)),this.bottomLeftContentBox=ca>0||xa>0?To(Ne.left+Mo+sl,Ne.top+Ro,Math.max(0,ca-(Mo+sl)),xa-(os+Rl),xo.BOTTOM_LEFT):new ta(Ne.left+Mo+sl,Ne.top+Ne.height-(os+Rl))}return Zt}(),xo;(function(Zt){Zt[Zt.TOP_LEFT=0]="TOP_LEFT",Zt[Zt.TOP_RIGHT=1]="TOP_RIGHT",Zt[Zt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Zt[Zt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(xo||(xo={}));var To=function(ie,we,Ne,tt,Rt){var Er=4*((Math.sqrt(2)-1)/3),Hr=Ne*Er,en=tt*Er,mn=ie+Ne,ai=we+tt;switch(Rt){case xo.TOP_LEFT:return new Ts(new ta(ie,ai),new ta(ie,ai-en),new ta(mn-Hr,we),new ta(mn,we));case xo.TOP_RIGHT:return new Ts(new ta(ie,we),new ta(ie+Hr,we),new ta(mn,ai-en),new ta(mn,ai));case xo.BOTTOM_RIGHT:return new Ts(new ta(mn,we),new ta(mn,we+en),new ta(ie+Hr,ai),new ta(ie,ai));case xo.BOTTOM_LEFT:default:return new Ts(new ta(mn,ai),new ta(mn-Hr,ai),new ta(ie,we+en),new ta(ie,we))}},xs=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},Is=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},rs=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},ol=function(){function Zt(ie,we,Ne){this.offsetX=ie,this.offsetY=we,this.matrix=Ne,this.type=0,this.target=2|4}return Zt}(),kl=function(){function Zt(ie,we){this.path=ie,this.target=we,this.type=1}return Zt}(),Ol=function(){function Zt(ie){this.opacity=ie,this.type=2,this.target=2|4}return Zt}(),Os=function(ie){return ie.type===0},wl=function(ie){return ie.type===1},zs=function(ie){return ie.type===2},Vc=function(ie,we){return ie.length===we.length?ie.some(function(Ne,tt){return Ne===we[tt]}):!1},Ll=function(ie,we,Ne,tt,Rt){return ie.map(function(Er,Hr){switch(Hr){case 0:return Er.add(we,Ne);case 1:return Er.add(we+tt,Ne);case 2:return Er.add(we+tt,Ne+Rt);case 3:return Er.add(we,Ne+Rt)}return Er})},Sl=function(){function Zt(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Zt}(),Ul=function(){function Zt(ie,we){if(this.container=ie,this.parent=we,this.effects=[],this.curves=new _s(this.container),this.container.styles.opacity<1&&this.effects.push(new Ol(this.container.styles.opacity)),this.container.styles.transform!==null){var Ne=this.container.bounds.left+this.container.styles.transformOrigin[0].number,tt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Rt=this.container.styles.transform;this.effects.push(new ol(Ne,tt,Rt))}if(this.container.styles.overflowX!==0){var Er=xs(this.curves),Hr=rs(this.curves);Vc(Er,Hr)?this.effects.push(new kl(Er,2|4)):(this.effects.push(new kl(Er,2)),this.effects.push(new kl(Hr,4)))}}return Zt.prototype.getEffects=function(ie){for(var we=[2,3].indexOf(this.container.styles.position)===-1,Ne=this.parent,tt=this.effects.slice(0);Ne;){var Rt=Ne.effects.filter(function(en){return!wl(en)});if(we||Ne.container.styles.position!==0||!Ne.parent){if(tt.unshift.apply(tt,Rt),we=[2,3].indexOf(Ne.container.styles.position)===-1,Ne.container.styles.overflowX!==0){var Er=xs(Ne.curves),Hr=rs(Ne.curves);Vc(Er,Hr)||tt.unshift(new kl(Hr,2|4))}}else tt.unshift.apply(tt,Rt);Ne=Ne.parent}return tt.filter(function(en){return Ir(en.target,ie)})},Zt}(),$s=function Zt(ie,we,Ne,tt){ie.container.elements.forEach(function(Rt){var Er=Ir(Rt.flags,4),Hr=Ir(Rt.flags,2),en=new Ul(Rt,ie);Ir(Rt.styles.display,2048)&&tt.push(en);var mn=Ir(Rt.flags,8)?[]:tt;if(Er||Hr){var ai=Er||Rt.styles.isPositioned()?Ne:we,Vn=new Sl(en);if(Rt.styles.isPositioned()||Rt.styles.opacity<1||Rt.styles.isTransformed()){var li=Rt.styles.zIndex.order;if(li<0){var oa=0;ai.negativeZIndex.some(function(xa,so){return li>xa.element.container.styles.zIndex.order?(oa=so,!1):oa>0}),ai.negativeZIndex.splice(oa,0,Vn)}else if(li>0){var ca=0;ai.positiveZIndex.some(function(xa,so){return li>=xa.element.container.styles.zIndex.order?(ca=so+1,!1):ca>0}),ai.positiveZIndex.splice(ca,0,Vn)}else ai.zeroOrAutoZIndexOrTransformedOrOpacity.push(Vn)}else Rt.styles.isFloating()?ai.nonPositionedFloats.push(Vn):ai.nonPositionedInlineLevel.push(Vn);Zt(en,Vn,Er?Vn:Ne,mn)}else Rt.styles.isInlineLevel()?we.inlineLevel.push(en):we.nonInlineLevel.push(en),Zt(en,we,Ne,mn);Ir(Rt.flags,8)&&Nl(Rt,mn)})},Nl=function(ie,we){for(var Ne=ie instanceof hl?ie.start:1,tt=ie instanceof hl?ie.reversed:!1,Rt=0;Rt<we.length;Rt++){var Er=we[Rt];Er.container instanceof cl&&typeof Er.container.value=="number"&&Er.container.value!==0&&(Ne=Er.container.value),Er.listValue=Ui(Ne,Er.container.styles.listStyleType,!0),Ne+=tt?-1:1}},Bc=function(ie){var we=new Ul(ie,null),Ne=new Sl(we),tt=[];return $s(we,Ne,Ne,tt),Nl(we.container,tt),Ne},Xc=function(ie,we){switch(we){case 0:return gl(ie.topLeftBorderBox,ie.topLeftPaddingBox,ie.topRightBorderBox,ie.topRightPaddingBox);case 1:return gl(ie.topRightBorderBox,ie.topRightPaddingBox,ie.bottomRightBorderBox,ie.bottomRightPaddingBox);case 2:return gl(ie.bottomRightBorderBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox);case 3:default:return gl(ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox,ie.topLeftBorderBox,ie.topLeftPaddingBox)}},vu=function(ie,we){switch(we){case 0:return gl(ie.topLeftBorderBox,ie.topLeftBorderDoubleOuterBox,ie.topRightBorderBox,ie.topRightBorderDoubleOuterBox);case 1:return gl(ie.topRightBorderBox,ie.topRightBorderDoubleOuterBox,ie.bottomRightBorderBox,ie.bottomRightBorderDoubleOuterBox);case 2:return gl(ie.bottomRightBorderBox,ie.bottomRightBorderDoubleOuterBox,ie.bottomLeftBorderBox,ie.bottomLeftBorderDoubleOuterBox);case 3:default:return gl(ie.bottomLeftBorderBox,ie.bottomLeftBorderDoubleOuterBox,ie.topLeftBorderBox,ie.topLeftBorderDoubleOuterBox)}},xu=function(ie,we){switch(we){case 0:return gl(ie.topLeftBorderDoubleInnerBox,ie.topLeftPaddingBox,ie.topRightBorderDoubleInnerBox,ie.topRightPaddingBox);case 1:return gl(ie.topRightBorderDoubleInnerBox,ie.topRightPaddingBox,ie.bottomRightBorderDoubleInnerBox,ie.bottomRightPaddingBox);case 2:return gl(ie.bottomRightBorderDoubleInnerBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderDoubleInnerBox,ie.bottomLeftPaddingBox);case 3:default:return gl(ie.bottomLeftBorderDoubleInnerBox,ie.bottomLeftPaddingBox,ie.topLeftBorderDoubleInnerBox,ie.topLeftPaddingBox)}},lu=function(ie,we){switch(we){case 0:return eu(ie.topLeftBorderStroke,ie.topRightBorderStroke);case 1:return eu(ie.topRightBorderStroke,ie.bottomRightBorderStroke);case 2:return eu(ie.bottomRightBorderStroke,ie.bottomLeftBorderStroke);case 3:default:return eu(ie.bottomLeftBorderStroke,ie.topLeftBorderStroke)}},eu=function(ie,we){var Ne=[];return fs(ie)?Ne.push(ie.subdivide(.5,!1)):Ne.push(ie),fs(we)?Ne.push(we.subdivide(.5,!0)):Ne.push(we),Ne},gl=function(ie,we,Ne,tt){var Rt=[];return fs(ie)?Rt.push(ie.subdivide(.5,!1)):Rt.push(ie),fs(Ne)?Rt.push(Ne.subdivide(.5,!0)):Rt.push(Ne),fs(tt)?Rt.push(tt.subdivide(.5,!0).reverse()):Rt.push(tt),fs(we)?Rt.push(we.subdivide(.5,!1).reverse()):Rt.push(we),Rt},oc=function(ie){var we=ie.bounds,Ne=ie.styles;return we.add(Ne.borderLeftWidth,Ne.borderTopWidth,-(Ne.borderRightWidth+Ne.borderLeftWidth),-(Ne.borderTopWidth+Ne.borderBottomWidth))},tu=function(ie){var we=ie.styles,Ne=ie.bounds,tt=Zn(we.paddingLeft,Ne.width),Rt=Zn(we.paddingRight,Ne.width),Er=Zn(we.paddingTop,Ne.width),Hr=Zn(we.paddingBottom,Ne.width);return Ne.add(tt+we.borderLeftWidth,Er+we.borderTopWidth,-(we.borderRightWidth+we.borderLeftWidth+tt+Rt),-(we.borderTopWidth+we.borderBottomWidth+Er+Hr))},yu=function(ie,we){return ie===0?we.bounds:ie===2?tu(we):oc(we)},Eu=function(ie,we){return ie===0?we.bounds:ie===2?tu(we):oc(we)},cu=function(ie,we,Ne){var tt=yu(Gc(ie.styles.backgroundOrigin,we),ie),Rt=Eu(Gc(ie.styles.backgroundClip,we),ie),Er=bu(Gc(ie.styles.backgroundSize,we),Ne,tt),Hr=Er[0],en=Er[1],mn=Yn(Gc(ie.styles.backgroundPosition,we),tt.width-Hr,tt.height-en),ai=wu(Gc(ie.styles.backgroundRepeat,we),mn,Er,tt,Rt),Vn=Math.round(tt.left+mn[0]),li=Math.round(tt.top+mn[1]);return[ai,Vn,li,Hr,en]},jl=function(ie){return rr(ie)&&ie.value===ea.AUTO},uu=function(ie){return typeof ie=="number"},bu=function(ie,we,Ne){var tt=we[0],Rt=we[1],Er=we[2],Hr=ie[0],en=ie[1];if(!Hr)return[0,0];if(Dn(Hr)&&en&&Dn(en))return[Zn(Hr,Ne.width),Zn(en,Ne.height)];var mn=uu(Er);if(rr(Hr)&&(Hr.value===ea.CONTAIN||Hr.value===ea.COVER)){if(uu(Er)){var ai=Ne.width/Ne.height;return ai<Er!==(Hr.value===ea.COVER)?[Ne.width,Ne.width/Er]:[Ne.height*Er,Ne.height]}return[Ne.width,Ne.height]}var Vn=uu(tt),li=uu(Rt),oa=Vn||li;if(jl(Hr)&&(!en||jl(en))){if(Vn&&li)return[tt,Rt];if(!mn&&!oa)return[Ne.width,Ne.height];if(oa&&mn){var ca=Vn?tt:Rt*Er,xa=li?Rt:tt/Er;return[ca,xa]}var so=Vn?tt:Ne.width,Xa=li?Rt:Ne.height;return[so,Xa]}if(mn){var Ua=0,zo=0;return Dn(Hr)?Ua=Zn(Hr,Ne.width):Dn(en)&&(zo=Zn(en,Ne.height)),jl(Hr)?Ua=zo*Er:(!en||jl(en))&&(zo=Ua/Er),[Ua,zo]}var qo=null,Ro=null;if(Dn(Hr)?qo=Zn(Hr,Ne.width):en&&Dn(en)&&(Ro=Zn(en,Ne.height)),qo!==null&&(!en||jl(en))&&(Ro=Vn&&li?qo/tt*Rt:Ne.height),Ro!==null&&jl(Hr)&&(qo=Vn&&li?Ro/Rt*tt:Ne.width),qo!==null&&Ro!==null)return[qo,Ro];throw new Error("Unable to calculate background-size for element")},Gc=function(ie,we){var Ne=ie[we];return typeof Ne=="undefined"?ie[0]:Ne},wu=function(ie,we,Ne,tt,Rt){var Er=we[0],Hr=we[1],en=Ne[0],mn=Ne[1];switch(ie){case 2:return[new ta(Math.round(tt.left),Math.round(tt.top+Hr)),new ta(Math.round(tt.left+tt.width),Math.round(tt.top+Hr)),new ta(Math.round(tt.left+tt.width),Math.round(mn+tt.top+Hr)),new ta(Math.round(tt.left),Math.round(mn+tt.top+Hr))];case 3:return[new ta(Math.round(tt.left+Er),Math.round(tt.top)),new ta(Math.round(tt.left+Er+en),Math.round(tt.top)),new ta(Math.round(tt.left+Er+en),Math.round(tt.height+tt.top)),new ta(Math.round(tt.left+Er),Math.round(tt.height+tt.top))];case 1:return[new ta(Math.round(tt.left+Er),Math.round(tt.top+Hr)),new ta(Math.round(tt.left+Er+en),Math.round(tt.top+Hr)),new ta(Math.round(tt.left+Er+en),Math.round(tt.top+Hr+mn)),new ta(Math.round(tt.left+Er),Math.round(tt.top+Hr+mn))];default:return[new ta(Math.round(Rt.left),Math.round(Rt.top)),new ta(Math.round(Rt.left+Rt.width),Math.round(Rt.top)),new ta(Math.round(Rt.left+Rt.width),Math.round(Rt.height+Rt.top)),new ta(Math.round(Rt.left),Math.round(Rt.height+Rt.top))]}},Cu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Yc="Hidden Text",fu=function(){function Zt(ie){this._data={},this._document=ie}return Zt.prototype.parseMetrics=function(ie,we){var Ne=this._document.createElement("div"),tt=this._document.createElement("img"),Rt=this._document.createElement("span"),Er=this._document.body;Ne.style.visibility="hidden",Ne.style.fontFamily=ie,Ne.style.fontSize=we,Ne.style.margin="0",Ne.style.padding="0",Ne.style.whiteSpace="nowrap",Er.appendChild(Ne),tt.src=Cu,tt.width=1,tt.height=1,tt.style.margin="0",tt.style.padding="0",tt.style.verticalAlign="baseline",Rt.style.fontFamily=ie,Rt.style.fontSize=we,Rt.style.margin="0",Rt.style.padding="0",Rt.appendChild(this._document.createTextNode(Yc)),Ne.appendChild(Rt),Ne.appendChild(tt);var Hr=tt.offsetTop-Rt.offsetTop+2;Ne.removeChild(Rt),Ne.appendChild(this._document.createTextNode(Yc)),Ne.style.lineHeight="normal",tt.style.verticalAlign="super";var en=tt.offsetTop-Ne.offsetTop+2;return Er.removeChild(Ne),{baseline:Hr,middle:en}},Zt.prototype.getMetrics=function(ie,we){var Ne=ie+" "+we;return typeof this._data[Ne]=="undefined"&&(this._data[Ne]=this.parseMetrics(ie,we)),this._data[Ne]},Zt}(),ru=function(){function Zt(ie,we){this.context=ie,this.options=we}return Zt}(),sc=1e4,bc=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt._activeEffects=[],tt.canvas=Ne.canvas?Ne.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),Ne.canvas||(tt.canvas.width=Math.floor(Ne.width*Ne.scale),tt.canvas.height=Math.floor(Ne.height*Ne.scale),tt.canvas.style.width=Ne.width+"px",tt.canvas.style.height=Ne.height+"px"),tt.fontMetrics=new fu(document),tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-Ne.x,-Ne.y),tt.ctx.textBaseline="bottom",tt._activeEffects=[],tt.context.logger.debug("Canvas renderer initialized ("+Ne.width+"x"+Ne.height+") with scale "+Ne.scale),tt}return ie.prototype.applyEffects=function(we){for(var Ne=this;this._activeEffects.length;)this.popEffect();we.forEach(function(tt){return Ne.applyEffect(tt)})},ie.prototype.applyEffect=function(we){this.ctx.save(),zs(we)&&(this.ctx.globalAlpha=we.opacity),Os(we)&&(this.ctx.translate(we.offsetX,we.offsetY),this.ctx.transform(we.matrix[0],we.matrix[1],we.matrix[2],we.matrix[3],we.matrix[4],we.matrix[5]),this.ctx.translate(-we.offsetX,-we.offsetY)),wl(we)&&(this.path(we.path),this.ctx.clip()),this._activeEffects.push(we)},ie.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},ie.prototype.renderStack=function(we){return m(this,void 0,void 0,function(){var Ne;return g(this,function(tt){switch(tt.label){case 0:return Ne=we.element.container.styles,Ne.isVisible()?[4,this.renderStackContent(we)]:[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},ie.prototype.renderNode=function(we){return m(this,void 0,void 0,function(){return g(this,function(Ne){switch(Ne.label){case 0:if(Ir(we.container.flags,16))debugger;return we.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(we)]:[3,3];case 1:return Ne.sent(),[4,this.renderNodeContent(we)];case 2:Ne.sent(),Ne.label=3;case 3:return[2]}})})},ie.prototype.renderTextWithLetterSpacing=function(we,Ne,tt){var Rt=this;if(Ne===0)this.ctx.fillText(we.text,we.bounds.left,we.bounds.top+tt);else{var Er=Vl(we.text);Er.reduce(function(Hr,en){return Rt.ctx.fillText(en,Hr,we.bounds.top+tt),Hr+Rt.ctx.measureText(en).width},we.bounds.left)}},ie.prototype.createFontStyle=function(we){var Ne=we.fontVariant.filter(function(Er){return Er==="normal"||Er==="small-caps"}).join(""),tt=Tu(we.fontFamily).join(", "),Rt=Ct(we.fontSize)?""+we.fontSize.number+we.fontSize.unit:we.fontSize.number+"px";return[[we.fontStyle,Ne,we.fontWeight,Rt,tt].join(" "),tt,Rt]},ie.prototype.renderTextNode=function(we,Ne){return m(this,void 0,void 0,function(){var tt,Rt,Er,Hr,en,mn,ai,Vn,li=this;return g(this,function(oa){return tt=this.createFontStyle(Ne),Rt=tt[0],Er=tt[1],Hr=tt[2],this.ctx.font=Rt,this.ctx.direction=Ne.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",en=this.fontMetrics.getMetrics(Er,Hr),mn=en.baseline,ai=en.middle,Vn=Ne.paintOrder,we.textBounds.forEach(function(ca){Vn.forEach(function(xa){switch(xa){case 0:li.ctx.fillStyle=pr(Ne.color),li.renderTextWithLetterSpacing(ca,Ne.letterSpacing,mn);var so=Ne.textShadow;so.length&&ca.text.trim().length&&(so.slice(0).reverse().forEach(function(Xa){li.ctx.shadowColor=pr(Xa.color),li.ctx.shadowOffsetX=Xa.offsetX.number*li.options.scale,li.ctx.shadowOffsetY=Xa.offsetY.number*li.options.scale,li.ctx.shadowBlur=Xa.blur.number,li.renderTextWithLetterSpacing(ca,Ne.letterSpacing,mn)}),li.ctx.shadowColor="",li.ctx.shadowOffsetX=0,li.ctx.shadowOffsetY=0,li.ctx.shadowBlur=0),Ne.textDecorationLine.length&&(li.ctx.fillStyle=pr(Ne.textDecorationColor||Ne.color),Ne.textDecorationLine.forEach(function(Xa){switch(Xa){case 1:li.ctx.fillRect(ca.bounds.left,Math.round(ca.bounds.top+mn),ca.bounds.width,1);break;case 2:li.ctx.fillRect(ca.bounds.left,Math.round(ca.bounds.top),ca.bounds.width,1);break;case 3:li.ctx.fillRect(ca.bounds.left,Math.ceil(ca.bounds.top+ai),ca.bounds.width,1);break}}));break;case 1:Ne.webkitTextStrokeWidth&&ca.text.trim().length&&(li.ctx.strokeStyle=pr(Ne.webkitTextStrokeColor),li.ctx.lineWidth=Ne.webkitTextStrokeWidth,li.ctx.lineJoin=window.chrome?"miter":"round",li.ctx.strokeText(ca.text,ca.bounds.left,ca.bounds.top+mn)),li.ctx.strokeStyle="",li.ctx.lineWidth=0,li.ctx.lineJoin="miter";break}})}),[2]})})},ie.prototype.renderReplacedElement=function(we,Ne,tt){if(tt&&we.intrinsicWidth>0&&we.intrinsicHeight>0){var Rt=tu(we),Er=rs(Ne);this.path(Er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,we.intrinsicWidth,we.intrinsicHeight,Rt.left,Rt.top,Rt.width,Rt.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(we){return m(this,void 0,void 0,function(){var Ne,tt,Rt,Er,Hr,en,mn,mn,ai,Vn,li,oa,ca,xa,so,Xa,Ua,zo,qo,mn,Ro,ca,Xa;return g(this,function(Ba){switch(Ba.label){case 0:this.applyEffects(we.getEffects(4)),Ne=we.container,tt=we.curves,Rt=Ne.styles,Er=0,Hr=Ne.textNodes,Ba.label=1;case 1:return Er<Hr.length?(en=Hr[Er],[4,this.renderTextNode(en,Rt)]):[3,4];case 2:Ba.sent(),Ba.label=3;case 3:return Er++,[3,1];case 4:if(!(Ne instanceof pc))return[3,8];Ba.label=5;case 5:return Ba.trys.push([5,7,,8]),[4,this.context.cache.match(Ne.src)];case 6:return mn=Ba.sent(),this.renderReplacedElement(Ne,tt,mn),[3,8];case 7:return Ba.sent(),this.context.logger.error("Error loading image "+Ne.src),[3,8];case 8:if(Ne instanceof Lc&&this.renderReplacedElement(Ne,tt,Ne.canvas),!(Ne instanceof ll))return[3,12];Ba.label=9;case 9:return Ba.trys.push([9,11,,12]),[4,this.context.cache.match(Ne.svg)];case 10:return mn=Ba.sent(),this.renderReplacedElement(Ne,tt,mn),[3,12];case 11:return Ba.sent(),this.context.logger.error("Error loading svg "+Ne.svg.substring(0,255)),[3,12];case 12:return Ne instanceof bl&&Ne.tree?(ai=new ie(this.context,{scale:this.options.scale,backgroundColor:Ne.backgroundColor,x:0,y:0,width:Ne.width,height:Ne.height}),[4,ai.render(Ne.tree)]):[3,14];case 13:Vn=Ba.sent(),Ne.width&&Ne.height&&this.ctx.drawImage(Vn,0,0,Ne.width,Ne.height,Ne.bounds.left,Ne.bounds.top,Ne.bounds.width,Ne.bounds.height),Ba.label=14;case 14:if(Ne instanceof nc&&(li=Math.min(Ne.bounds.width,Ne.bounds.height),Ne.type===Gl?Ne.checked&&(this.ctx.save(),this.path([new ta(Ne.bounds.left+li*.39363,Ne.bounds.top+li*.79),new ta(Ne.bounds.left+li*.16,Ne.bounds.top+li*.5549),new ta(Ne.bounds.left+li*.27347,Ne.bounds.top+li*.44071),new ta(Ne.bounds.left+li*.39694,Ne.bounds.top+li*.5649),new ta(Ne.bounds.left+li*.72983,Ne.bounds.top+li*.23),new ta(Ne.bounds.left+li*.84,Ne.bounds.top+li*.34085),new ta(Ne.bounds.left+li*.39363,Ne.bounds.top+li*.79)]),this.ctx.fillStyle=pr(gc),this.ctx.fill(),this.ctx.restore()):Ne.type===rc&&(Ne.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Ne.bounds.left+li/2,Ne.bounds.top+li/2,li/4,0,Math.PI*2,!0),this.ctx.fillStyle=pr(gc),this.ctx.fill(),this.ctx.restore()))),wc(Ne)&&Ne.value.length){oa=this.createFontStyle(Rt),ca=oa[0],xa=oa[1],so=this.fontMetrics.getMetrics(ca,xa).baseline,this.ctx.font=ca,this.ctx.fillStyle=pr(Rt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=pu(Ne.styles.textAlign),Xa=tu(Ne),Ua=0;switch(Ne.styles.textAlign){case 1:Ua+=Xa.width/2;break;case 2:Ua+=Xa.width;break}zo=Xa.add(Ua,0,0,-Xa.height/2+1),this.ctx.save(),this.path([new ta(Xa.left,Xa.top),new ta(Xa.left+Xa.width,Xa.top),new ta(Xa.left+Xa.width,Xa.top+Xa.height),new ta(Xa.left,Xa.top+Xa.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new zl(Ne.value,zo),Rt.letterSpacing,so),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ir(Ne.styles.display,2048))return[3,20];if(!(Ne.styles.listStyleImage!==null))return[3,19];if(qo=Ne.styles.listStyleImage,!(qo.type===0))return[3,18];mn=void 0,Ro=qo.url,Ba.label=15;case 15:return Ba.trys.push([15,17,,18]),[4,this.context.cache.match(Ro)];case 16:return mn=Ba.sent(),this.ctx.drawImage(mn,Ne.bounds.left-(mn.width+10),Ne.bounds.top),[3,18];case 17:return Ba.sent(),this.context.logger.error("Error loading list-style-image "+Ro),[3,18];case 18:return[3,20];case 19:we.listValue&&Ne.styles.listStyleType!==-1&&(ca=this.createFontStyle(Rt)[0],this.ctx.font=ca,this.ctx.fillStyle=pr(Rt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Xa=new d(Ne.bounds.left,Ne.bounds.top+Zn(Ne.styles.paddingTop,Ne.bounds.width),Ne.bounds.width,Es(Rt.lineHeight,Rt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new zl(we.listValue,Xa),Rt.letterSpacing,Es(Rt.lineHeight,Rt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ba.label=20;case 20:return[2]}})})},ie.prototype.renderStackContent=function(we){return m(this,void 0,void 0,function(){var Ne,tt,Rt,Er,Hr,Rt,en,mn,Rt,ai,Vn,Rt,li,oa,Rt,ca,xa,Rt,so,Xa,Rt;return g(this,function(Ua){switch(Ua.label){case 0:if(Ir(we.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(we.element)];case 1:Ua.sent(),Ne=0,tt=we.negativeZIndex,Ua.label=2;case 2:return Ne<tt.length?(Rt=tt[Ne],[4,this.renderStack(Rt)]):[3,5];case 3:Ua.sent(),Ua.label=4;case 4:return Ne++,[3,2];case 5:return[4,this.renderNodeContent(we.element)];case 6:Ua.sent(),Er=0,Hr=we.nonInlineLevel,Ua.label=7;case 7:return Er<Hr.length?(Rt=Hr[Er],[4,this.renderNode(Rt)]):[3,10];case 8:Ua.sent(),Ua.label=9;case 9:return Er++,[3,7];case 10:en=0,mn=we.nonPositionedFloats,Ua.label=11;case 11:return en<mn.length?(Rt=mn[en],[4,this.renderStack(Rt)]):[3,14];case 12:Ua.sent(),Ua.label=13;case 13:return en++,[3,11];case 14:ai=0,Vn=we.nonPositionedInlineLevel,Ua.label=15;case 15:return ai<Vn.length?(Rt=Vn[ai],[4,this.renderStack(Rt)]):[3,18];case 16:Ua.sent(),Ua.label=17;case 17:return ai++,[3,15];case 18:li=0,oa=we.inlineLevel,Ua.label=19;case 19:return li<oa.length?(Rt=oa[li],[4,this.renderNode(Rt)]):[3,22];case 20:Ua.sent(),Ua.label=21;case 21:return li++,[3,19];case 22:ca=0,xa=we.zeroOrAutoZIndexOrTransformedOrOpacity,Ua.label=23;case 23:return ca<xa.length?(Rt=xa[ca],[4,this.renderStack(Rt)]):[3,26];case 24:Ua.sent(),Ua.label=25;case 25:return ca++,[3,23];case 26:so=0,Xa=we.positiveZIndex,Ua.label=27;case 27:return so<Xa.length?(Rt=Xa[so],[4,this.renderStack(Rt)]):[3,30];case 28:Ua.sent(),Ua.label=29;case 29:return so++,[3,27];case 30:return[2]}})})},ie.prototype.mask=function(we){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(we.slice(0).reverse()),this.ctx.closePath()},ie.prototype.path=function(we){this.ctx.beginPath(),this.formatPath(we),this.ctx.closePath()},ie.prototype.formatPath=function(we){var Ne=this;we.forEach(function(tt,Rt){var Er=fs(tt)?tt.start:tt;Rt===0?Ne.ctx.moveTo(Er.x,Er.y):Ne.ctx.lineTo(Er.x,Er.y),fs(tt)&&Ne.ctx.bezierCurveTo(tt.startControl.x,tt.startControl.y,tt.endControl.x,tt.endControl.y,tt.end.x,tt.end.y)})},ie.prototype.renderRepeat=function(we,Ne,tt,Rt){this.path(we),this.ctx.fillStyle=Ne,this.ctx.translate(tt,Rt),this.ctx.fill(),this.ctx.translate(-tt,-Rt)},ie.prototype.resizeImage=function(we,Ne,tt){var Rt;if(we.width===Ne&&we.height===tt)return we;var Er=(Rt=this.canvas.ownerDocument)!==null&&Rt!==void 0?Rt:document,Hr=Er.createElement("canvas");Hr.width=Math.max(1,Ne),Hr.height=Math.max(1,tt);var en=Hr.getContext("2d");return en.drawImage(we,0,0,we.width,we.height,0,0,Ne,tt),Hr},ie.prototype.renderBackgroundImage=function(we){return m(this,void 0,void 0,function(){var Ne,tt,Rt,Er,Hr,en;return g(this,function(mn){switch(mn.label){case 0:Ne=we.styles.backgroundImage.length-1,tt=function(Vn){var li,oa,ca,xa,so,Xa,Ua,zo,qo,Ro,xa,so,Xa,Ua,zo,Ba,as,os,Mo,Dl,Jl,Rl,sl,nu,qo,Sc,xa,Qc,Jc,Ua,zo,Zc,so,Xa,iu,xc,$c,au,ou,Pc,su,kc;return g(this,function(hu){switch(hu.label){case 0:if(!(Vn.type===0))return[3,5];li=void 0,oa=Vn.url,hu.label=1;case 1:return hu.trys.push([1,3,,4]),[4,Rt.context.cache.match(oa)];case 2:return li=hu.sent(),[3,4];case 3:return hu.sent(),Rt.context.logger.error("Error loading background-image "+oa),[3,4];case 4:return li&&(ca=cu(we,Ne,[li.width,li.height,li.width/li.height]),xa=ca[0],so=ca[1],Xa=ca[2],Ua=ca[3],zo=ca[4],qo=Rt.ctx.createPattern(Rt.resizeImage(li,Ua,zo),"repeat"),Rt.renderRepeat(xa,qo,so,Xa)),[3,6];case 5:Ti(Vn)?(Ro=cu(we,Ne,[null,null,null]),xa=Ro[0],so=Ro[1],Xa=Ro[2],Ua=Ro[3],zo=Ro[4],Ba=$n(Vn.angle,Ua,zo),as=Ba[0],os=Ba[1],Mo=Ba[2],Dl=Ba[3],Jl=Ba[4],Rl=document.createElement("canvas"),Rl.width=Ua,Rl.height=zo,sl=Rl.getContext("2d"),nu=sl.createLinearGradient(os,Dl,Mo,Jl),Un(Vn.stops,as).forEach(function(Au){return nu.addColorStop(Au.stop,pr(Au.color))}),sl.fillStyle=nu,sl.fillRect(0,0,Ua,zo),Ua>0&&zo>0&&(qo=Rt.ctx.createPattern(Rl,"repeat"),Rt.renderRepeat(xa,qo,so,Xa))):Ea(Vn)&&(Sc=cu(we,Ne,[null,null,null]),xa=Sc[0],Qc=Sc[1],Jc=Sc[2],Ua=Sc[3],zo=Sc[4],Zc=Vn.position.length===0?[_n]:Vn.position,so=Zn(Zc[0],Ua),Xa=Zn(Zc[Zc.length-1],zo),iu=ua(Vn,so,Xa,Ua,zo),xc=iu[0],$c=iu[1],xc>0&&$c>0&&(au=Rt.ctx.createRadialGradient(Qc+so,Jc+Xa,0,Qc+so,Jc+Xa,xc),Un(Vn.stops,xc*2).forEach(function(Au){return au.addColorStop(Au.stop,pr(Au.color))}),Rt.path(xa),Rt.ctx.fillStyle=au,xc!==$c?(ou=we.bounds.left+.5*we.bounds.width,Pc=we.bounds.top+.5*we.bounds.height,su=$c/xc,kc=1/su,Rt.ctx.save(),Rt.ctx.translate(ou,Pc),Rt.ctx.transform(1,0,0,su,0,0),Rt.ctx.translate(-ou,-Pc),Rt.ctx.fillRect(Qc,kc*(Jc-Pc)+Pc,Ua,zo*kc),Rt.ctx.restore()):Rt.ctx.fill())),hu.label=6;case 6:return Ne--,[2]}})},Rt=this,Er=0,Hr=we.styles.backgroundImage.slice(0).reverse(),mn.label=1;case 1:return Er<Hr.length?(en=Hr[Er],[5,tt(en)]):[3,4];case 2:mn.sent(),mn.label=3;case 3:return Er++,[3,1];case 4:return[2]}})})},ie.prototype.renderSolidBorder=function(we,Ne,tt){return m(this,void 0,void 0,function(){return g(this,function(Rt){return this.path(Xc(tt,Ne)),this.ctx.fillStyle=pr(we),this.ctx.fill(),[2]})})},ie.prototype.renderDoubleBorder=function(we,Ne,tt,Rt){return m(this,void 0,void 0,function(){var Er,Hr;return g(this,function(en){switch(en.label){case 0:return Ne<3?[4,this.renderSolidBorder(we,tt,Rt)]:[3,2];case 1:return en.sent(),[2];case 2:return Er=vu(Rt,tt),this.path(Er),this.ctx.fillStyle=pr(we),this.ctx.fill(),Hr=xu(Rt,tt),this.path(Hr),this.ctx.fill(),[2]}})})},ie.prototype.renderNodeBackgroundAndBorders=function(we){return m(this,void 0,void 0,function(){var Ne,tt,Rt,Er,Hr,en,mn,ai,Vn=this;return g(this,function(li){switch(li.label){case 0:return this.applyEffects(we.getEffects(2)),Ne=we.container.styles,tt=!Hi(Ne.backgroundColor)||Ne.backgroundImage.length,Rt=[{style:Ne.borderTopStyle,color:Ne.borderTopColor,width:Ne.borderTopWidth},{style:Ne.borderRightStyle,color:Ne.borderRightColor,width:Ne.borderRightWidth},{style:Ne.borderBottomStyle,color:Ne.borderBottomColor,width:Ne.borderBottomWidth},{style:Ne.borderLeftStyle,color:Ne.borderLeftColor,width:Ne.borderLeftWidth}],Er=du(Gc(Ne.backgroundClip,0),we.curves),tt||Ne.boxShadow.length?(this.ctx.save(),this.path(Er),this.ctx.clip(),Hi(Ne.backgroundColor)||(this.ctx.fillStyle=pr(Ne.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(we.container)]):[3,2];case 1:li.sent(),this.ctx.restore(),Ne.boxShadow.slice(0).reverse().forEach(function(oa){Vn.ctx.save();var ca=xs(we.curves),xa=oa.inset?0:sc,so=Ll(ca,-xa+(oa.inset?1:-1)*oa.spread.number,(oa.inset?1:-1)*oa.spread.number,oa.spread.number*(oa.inset?-2:2),oa.spread.number*(oa.inset?-2:2));oa.inset?(Vn.path(ca),Vn.ctx.clip(),Vn.mask(so)):(Vn.mask(ca),Vn.ctx.clip(),Vn.path(so)),Vn.ctx.shadowOffsetX=oa.offsetX.number+xa,Vn.ctx.shadowOffsetY=oa.offsetY.number,Vn.ctx.shadowColor=pr(oa.color),Vn.ctx.shadowBlur=oa.blur.number,Vn.ctx.fillStyle=oa.inset?pr(oa.color):"rgba(0,0,0,1)",Vn.ctx.fill(),Vn.ctx.restore()}),li.label=2;case 2:Hr=0,en=0,mn=Rt,li.label=3;case 3:return en<mn.length?(ai=mn[en],ai.style!==0&&!Hi(ai.color)&&ai.width>0?ai.style===2?[4,this.renderDashedDottedBorder(ai.color,ai.width,Hr,we.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return li.sent(),[3,11];case 5:return ai.style===3?[4,this.renderDashedDottedBorder(ai.color,ai.width,Hr,we.curves,3)]:[3,7];case 6:return li.sent(),[3,11];case 7:return ai.style===4?[4,this.renderDoubleBorder(ai.color,ai.width,Hr,we.curves)]:[3,9];case 8:return li.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ai.color,Hr,we.curves)];case 10:li.sent(),li.label=11;case 11:Hr++,li.label=12;case 12:return en++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(we,Ne,tt,Rt,Er){return m(this,void 0,void 0,function(){var Hr,en,mn,ai,Vn,li,oa,ca,xa,so,Xa,Ua,zo,qo,Ro,Ba,Ro,Ba;return g(this,function(as){return this.ctx.save(),Hr=lu(Rt,tt),en=Xc(Rt,tt),Er===2&&(this.path(en),this.ctx.clip()),fs(en[0])?(mn=en[0].start.x,ai=en[0].start.y):(mn=en[0].x,ai=en[0].y),fs(en[1])?(Vn=en[1].end.x,li=en[1].end.y):(Vn=en[1].x,li=en[1].y),tt===0||tt===2?oa=Math.abs(mn-Vn):oa=Math.abs(ai-li),this.ctx.beginPath(),Er===3?this.formatPath(Hr):this.formatPath(en.slice(0,2)),ca=Ne<3?Ne*3:Ne*2,xa=Ne<3?Ne*2:Ne,Er===3&&(ca=Ne,xa=Ne),so=!0,oa<=ca*2?so=!1:oa<=ca*2+xa?(Xa=oa/(2*ca+xa),ca*=Xa,xa*=Xa):(Ua=Math.floor((oa+xa)/(ca+xa)),zo=(oa-Ua*ca)/(Ua-1),qo=(oa-(Ua+1)*ca)/Ua,xa=qo<=0||Math.abs(xa-zo)<Math.abs(xa-qo)?zo:qo),so&&(Er===3?this.ctx.setLineDash([0,ca+xa]):this.ctx.setLineDash([ca,xa])),Er===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Ne):this.ctx.lineWidth=Ne*2+1.1,this.ctx.strokeStyle=pr(we),this.ctx.stroke(),this.ctx.setLineDash([]),Er===2&&(fs(en[0])&&(Ro=en[3],Ba=en[0],this.ctx.beginPath(),this.formatPath([new ta(Ro.end.x,Ro.end.y),new ta(Ba.start.x,Ba.start.y)]),this.ctx.stroke()),fs(en[1])&&(Ro=en[1],Ba=en[2],this.ctx.beginPath(),this.formatPath([new ta(Ro.end.x,Ro.end.y),new ta(Ba.start.x,Ba.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},ie.prototype.render=function(we){return m(this,void 0,void 0,function(){var Ne;return g(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=pr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Ne=Bc(we),[4,this.renderStack(Ne)];case 1:return tt.sent(),this.applyEffects([]),[2,this.canvas]}})})},ie}(ru),wc=function(ie){return ie instanceof Ac||ie instanceof Nc?!0:ie instanceof nc&&ie.type!==rc&&ie.type!==Gl},du=function(ie,we){switch(ie){case 0:return xs(we);case 2:return Is(we);case 1:default:return rs(we)}},pu=function(ie){switch(ie){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Su=["-apple-system","system-ui"],Tu=function(ie){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ie.filter(function(we){return Su.indexOf(we)===-1}):ie},mu=function(Zt){p(ie,Zt);function ie(we,Ne){var tt=Zt.call(this,we,Ne)||this;return tt.canvas=Ne.canvas?Ne.canvas:document.createElement("canvas"),tt.ctx=tt.canvas.getContext("2d"),tt.options=Ne,tt.canvas.width=Math.floor(Ne.width*Ne.scale),tt.canvas.height=Math.floor(Ne.height*Ne.scale),tt.canvas.style.width=Ne.width+"px",tt.canvas.style.height=Ne.height+"px",tt.ctx.scale(tt.options.scale,tt.options.scale),tt.ctx.translate(-Ne.x,-Ne.y),tt.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Ne.width+"x"+Ne.height+" at "+Ne.x+","+Ne.y+") with scale "+Ne.scale),tt}return ie.prototype.render=function(we){return m(this,void 0,void 0,function(){var Ne,tt;return g(this,function(Rt){switch(Rt.label){case 0:return Ne=Fl(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,we),[4,gu(Ne)];case 1:return tt=Rt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=pr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(tt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},ie}(ru),gu=function(ie){return new Promise(function(we,Ne){var tt=new Image;tt.onload=function(){we(tt)},tt.onerror=Ne,tt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},_u=function(){function Zt(ie){var we=ie.id,Ne=ie.enabled;this.id=we,this.enabled=Ne,this.start=Date.now()}return Zt.prototype.debug=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},Zt.prototype.getTime=function(){return Date.now()-this.start},Zt.prototype.info=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,f([this.id,this.getTime()+"ms"],ie)))},Zt.prototype.warn=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},Zt.prototype.error=function(){for(var ie=[],we=0;we<arguments.length;we++)ie[we]=arguments[we];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,f([this.id,this.getTime()+"ms"],ie)):this.info.apply(this,ie))},Zt.instances={},Zt}(),Iu=function(){function Zt(ie,we){var Ne;this.windowBounds=we,this.instanceName="#"+Zt.instanceCount++,this.logger=new _u({id:this.instanceName,enabled:ie.logging}),this.cache=(Ne=ie.cache)!==null&&Ne!==void 0?Ne:new Qi(this,ie)}return Zt.instanceCount=1,Zt}(),Ou=function(ie,we){return we===void 0&&(we={}),Lu(ie,we)};typeof window!="undefined"&&ji.setContext(window);var Lu=function(ie,we){return m(void 0,void 0,void 0,function(){var Ne,tt,Rt,Er,Hr,en,mn,ai,Vn,li,oa,ca,xa,so,Xa,Ua,zo,qo,Ro,Ba,as,os,as,Mo,Dl,Jl,Rl,sl,nu,Sc,Qc,Jc,Zc,iu,xc,$c,au,ou,Pc,su;return g(this,function(kc){switch(kc.label){case 0:if(!ie||typeof ie!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Ne=ie.ownerDocument,!Ne)throw new Error("Element is not attached to a Document");if(tt=Ne.defaultView,!tt)throw new Error("Document is not attached to a Window");return Rt={allowTaint:(Mo=we.allowTaint)!==null&&Mo!==void 0?Mo:!1,imageTimeout:(Dl=we.imageTimeout)!==null&&Dl!==void 0?Dl:15e3,proxy:we.proxy,useCORS:(Jl=we.useCORS)!==null&&Jl!==void 0?Jl:!1},Er=S({logging:(Rl=we.logging)!==null&&Rl!==void 0?Rl:!0,cache:we.cache},Rt),Hr={windowWidth:(sl=we.windowWidth)!==null&&sl!==void 0?sl:tt.innerWidth,windowHeight:(nu=we.windowHeight)!==null&&nu!==void 0?nu:tt.innerHeight,scrollX:(Sc=we.scrollX)!==null&&Sc!==void 0?Sc:tt.pageXOffset,scrollY:(Qc=we.scrollY)!==null&&Qc!==void 0?Qc:tt.pageYOffset},en=new d(Hr.scrollX,Hr.scrollY,Hr.windowWidth,Hr.windowHeight),mn=new Iu(Er,en),ai=(Jc=we.foreignObjectRendering)!==null&&Jc!==void 0?Jc:!1,Vn={allowTaint:(Zc=we.allowTaint)!==null&&Zc!==void 0?Zc:!1,onclone:we.onclone,ignoreElements:we.ignoreElements,inlineImages:ai,copyStyles:ai},mn.logger.debug("Starting document clone with size "+en.width+"x"+en.height+" scrolled to "+-en.left+","+-en.top),li=new Aa(mn,ie,Vn),oa=li.clonedReferenceElement,oa?[4,li.toIFrame(Ne,en)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ca=kc.sent(),xa=Il(oa)||ac(oa)?a(oa.ownerDocument):c(mn,oa),so=xa.width,Xa=xa.height,Ua=xa.left,zo=xa.top,qo=Nu(mn,oa,we.backgroundColor),Ro={canvas:we.canvas,backgroundColor:qo,scale:(xc=(iu=we.scale)!==null&&iu!==void 0?iu:tt.devicePixelRatio)!==null&&xc!==void 0?xc:1,x:(($c=we.x)!==null&&$c!==void 0?$c:0)+Ua,y:((au=we.y)!==null&&au!==void 0?au:0)+zo,width:(ou=we.width)!==null&&ou!==void 0?ou:Math.ceil(so),height:(Pc=we.height)!==null&&Pc!==void 0?Pc:Math.ceil(Xa)},ai?(mn.logger.debug("Document cloned, using foreign object rendering"),as=new mu(mn,Ro),[4,as.render(oa)]):[3,3];case 2:return Ba=kc.sent(),[3,5];case 3:return mn.logger.debug("Document cloned, element located at "+Ua+","+zo+" with size "+so+"x"+Xa+" using computed rendering"),mn.logger.debug("Starting DOM parsing"),os=vc(mn,oa),qo===os.styles.backgroundColor&&(os.styles.backgroundColor=Ur.TRANSPARENT),mn.logger.debug("Starting renderer for element at "+Ro.x+","+Ro.y+" with size "+Ro.width+"x"+Ro.height),as=new bc(mn,Ro),[4,as.render(os)];case 4:Ba=kc.sent(),kc.label=5;case 5:return((su=we.removeContainer)!==null&&su!==void 0?su:!0)&&(Aa.destroy(ca)||mn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),mn.logger.debug("Finished rendering"),[2,Ba]}})})},Nu=function(ie,we,Ne){var tt=we.ownerDocument,Rt=tt.documentElement?jr(ie,getComputedStyle(tt.documentElement).backgroundColor):Ur.TRANSPARENT,Er=tt.body?jr(ie,getComputedStyle(tt.body).backgroundColor):Ur.TRANSPARENT,Hr=typeof Ne=="string"?jr(ie,Ne):Ne===null?Ur.TRANSPARENT:4294967295;return we===tt.documentElement?Hi(Rt)?Hi(Er)?Hr:Er:Rt:Hr};return Ou})},wPlo:function(R,N,t){"use strict";t.d(N,"a",function(){return y});var y="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp: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("ygfH")),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="CheckOutlined";var c=m.forwardRef(d);N.default=c},wYyv:function(R,N,t){"use strict";var y=t("GmyR"),p=t("47nA"),S=function(f,d,c){var a=d<0?f.length+d:d;if(a>=0&&a<f.length){var n=c<0?f.length+c:c,i=f.splice(d,1),o=p(i,1),r=o[0];f.splice(n,0,r)}},m=function(f,d,c){return f=y(f),S(f,d,c),f};R.exports=m,R.exports.mutate=S},wgjA: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:"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"};N.default=y},whVF:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=t("lNSK"),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;n<a.length;n++){var i=a[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}function f(c,a,n){return a&&g(c.prototype,a),n&&g(c,n),c}var d=function(){function c(){m(this,c),this.strm=new p.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.deflateInit)(this.strm,this.windowBits)}return f(c,[{key:"deflate",value:function(n){this.strm.input=n,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var i=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),o=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(i<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[o],l=o.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,i=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),i<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=e.length,r.push(e)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),u=0,h=0;h<r.length;h++)s.set(r[h],u),u+=r[h].length;o=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,o}}]),c}();N.default=d},wlus: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:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-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="MinusCircleOutlined";var d=N.a=p.forwardRef(f)},wr5s:function(R,N,t){var y=t("IwbS"),p=y.extendShape,S=p({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.max(g.r0||0,0),a=Math.max(g.r,0),n=(a-c)*.5,i=c+n,o=g.startAngle,r=g.endAngle,l=g.clockwise,e=Math.cos(o),s=Math.sin(o),u=Math.cos(r),h=Math.sin(r),A=l?r-o<Math.PI*2:o-r<Math.PI*2;A&&(m.moveTo(e*c+f,s*c+d),m.arc(e*i+f,s*i+d,n,-Math.PI+o,o,!l)),m.arc(f,d,a,o,r,!l),m.moveTo(u*a+f,h*a+d),m.arc(u*i+f,h*i+d,n,r-Math.PI*2,r-Math.PI,!l),c!==0&&(m.arc(f,d,c,r,o,l),m.moveTo(e*c+f,h*c+d)),m.closePath()}});R.exports=S},wt3j:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("/IIm"),m=t("EMyp"),g=m.layoutCovers,f=y.extendComponentView({type:"brush",init:function(c,a){this.ecModel=c,this.api=a,this.model,(this._brushController=new S(a.getZr())).on("brush",p.bind(this._onBrush,this)).mount()},render:function(c){return this.model=c,d.apply(this,arguments)},updateTransform:function(c,a){return g(a),d.apply(this,arguments)},updateView:d,dispose:function(){this._brushController.dispose()},_onBrush:function(c,a){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(c,this.ecModel),(!a.isEnd||a.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:p.clone(c),$from:n}),a.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:p.clone(c),$from:n})}});function d(c,a,n,i){(!i||i.$from!==c.id)&&this._brushController.setPanels(c.brushTargetManager.makePanelOpts(n)).enableBrush(c.brushOption).updateCovers(c.areas.slice())}R.exports=f},wy8a:function(R,N,t){var y=t("KxBF");function p(S,m,g){var f=S.length;return g=g===void 0?f:g,!m&&g>=f?S:y(S,m,g)}R.exports=p},x1Ya:function(R,N,t){"use strict";var y=t("wx14"),p=t("rePB"),S=t("Ff2n"),m=t("VTBJ"),g=t("1OyB"),f=t("vuIU"),d=t("Ji7U"),c=t("LK+K"),a=t("q1tI"),n=t.n(a),i=t("TSYQ"),o=t.n(i),r=function(l){Object(d.a)(s,l);var e=Object(c.a)(s);function s(u){var h;Object(g.a)(this,s),h=e.call(this,u),h.handleChange=function(v){var w=h.props,b=w.disabled,E=w.onChange;if(b)return;"checked"in h.props||h.setState({checked:v.target.checked}),E&&E({target:Object(m.a)(Object(m.a)({},h.props),{},{checked:v.target.checked}),stopPropagation:function(){v.stopPropagation()},preventDefault:function(){v.preventDefault()},nativeEvent:v.nativeEvent})},h.saveInput=function(v){h.input=v};var A="checked"in u?u.checked:u.defaultChecked;return h.state={checked:A},h}return Object(f.a)(s,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var h,A=this.props,v=A.prefixCls,w=A.className,b=A.style,E=A.name,T=A.id,_=A.type,x=A.disabled,C=A.readOnly,I=A.tabIndex,L=A.onClick,F=A.onFocus,B=A.onBlur,P=A.onKeyDown,H=A.onKeyPress,z=A.onKeyUp,M=A.autoFocus,U=A.value,k=A.required,K=Object(S.a)(A,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),j=Object.keys(K).reduce(function(X,J){return(J.substr(0,5)==="aria-"||J.substr(0,5)==="data-"||J==="role")&&(X[J]=K[J]),X},{}),V=this.state.checked,W=o()(v,w,(h={},Object(p.a)(h,"".concat(v,"-checked"),V),Object(p.a)(h,"".concat(v,"-disabled"),x),h));return n.a.createElement("span",{className:W,style:b},n.a.createElement("input",Object(y.a)({name:E,id:T,type:_,required:k,readOnly:C,disabled:x,tabIndex:I,className:"".concat(v,"-input"),checked:!!V,onClick:L,onFocus:F,onBlur:B,onKeyUp:z,onKeyDown:P,onKeyPress:H,onChange:this.handleChange,autoFocus:M,ref:this.saveInput,value:U},j)),n.a.createElement("span",{className:"".concat(v,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(h,A){return"checked"in h?Object(m.a)(Object(m.a)({},A),{},{checked:h.checked}):null}}]),s}(a.Component);r.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},N.a=r},x3X8:function(R,N,t){var y=t("KxfA"),p=y.retrieveRawValue;function S(m,g){var f=m.mapDimension("defaultedLabel",!0),d=f.length;if(d===1)return p(m,g,f[0]);if(d){for(var c=[],a=0;a<f.length;a++){var n=p(m,g,f[a]);c.push(n)}return c.join(" ")}}N.getDefaultLabel=S},x54q:function(R,N,t){},x6Kt:function(R,N,t){var y=t("y+Vt"),p=t("VpOo"),S=t("nPnh"),m=S.subPixelOptimizeRect,g={},f=y.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(c,a){var n,i,o,r;this.subPixelOptimize?(m(g,a,this.style),n=g.x,i=g.y,o=g.width,r=g.height,g.r=a.r,a=g):(n=a.x,i=a.y,o=a.width,r=a.height),a.r?p.buildPath(c,a):c.rect(n,i,o,r),c.closePath();return}});R.exports=f},xGfz: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:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{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:"plus-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="PlusSquareOutlined";var d=N.a=p.forwardRef(f)},xKMd:function(R,N){function t(p,S){this.getAllNames=function(){var m=S();return m.mapArray(m.getName)},this.containName=function(m){var g=S();return g.indexOfName(m)>=0},this.indexOfName=function(m){var g=p();return g.indexOfName(m)},this.getItemVisual=function(m,g){var f=p();return f.getItemVisual(m,g)}}var y=t;R.exports=y},xO64:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("8K/p"));function p(e){return e&&e.__esModule?e:{default:e}}function S(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(u){return typeof u}:S=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},S(e)}function m(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function g(e,s){for(var u=0;u<s.length;u++){var h=s[u];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(e,h.key,h)}}function f(e,s,u){return s&&g(e.prototype,s),u&&g(e,u),e}function d(e,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),s&&c(e,s)}function c(e,s){return c=Object.setPrototypeOf||function(h,A){return h.__proto__=A,h},c(e,s)}function a(e){var s=o();return function(){var h=r(e),A;if(s){var v=r(this).constructor;A=Reflect.construct(h,arguments,v)}else A=h.apply(this,arguments);return n(this,A)}}function n(e,s){return s&&(S(s)==="object"||typeof s=="function")?s:i(e)}function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(){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(e){return!1}}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},r(e)}var l=function(e){d(u,e);var s=a(u);function u(){return m(this,u),s.apply(this,arguments)}return f(u,[{key:"_pngRect",value:function(A,v,w,b,E,T,_){var x=this._readData(E);return x===null?!1:(T.imageRect(A,v,w,b,"image/png",x),!0)}},{key:"_basicRect",value:function(A,v,w,b,E,T,_,x){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(y.default);N.default=l},xRUu:function(R,N,t){t("hJvP"),t("hFmY"),t("sAZ8")},xSIq:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};N.default=y},xSat:function(R,N){var t={axisPointer:1,tooltip:1,brush:1};function y(p,S,m){var g=S.getComponentByElement(p.topTarget),f=g&&g.coordinateSystem;return g&&g!==m&&!t[g.mainType]&&f&&f.model!==m}N.onIrrelevantElement=y},xTNl:function(R,N){var t=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],y={color:t,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t]};R.exports=y},xb2K: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("5yev")),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="RedoOutlined";var c=m.forwardRef(d);N.default=c},xiyX:function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("nkfE"),m=t("ICMv"),g=p.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),f={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function d(a,n){return n.type||(n.data?"category":"value")}y.merge(g.prototype,m),S("single",g,d,f);var c=g;R.exports=c},xlC8:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(p,S,m,g){for(var f=p&65535|0,d=p>>>16&65535|0,c=0;m!==0;){c=m>2e3?2e3:m,m-=c;do f=f+S[g++]|0,d=d+f|0;while(--c);f%=65521,d%=65521}return f|d<<16|0}},xzDV:function(R,N,t){},"y+Vt":function(R,N,t){var y=t("Gev7"),p=t("bYtY"),S=t("IMiH"),m=t("2DNl"),g=t("3C/r"),f=g.prototype.getCanvasPattern,d=Math.abs,c=new S(!0);function a(i){y.call(this,i),this.path=null}a.prototype={constructor:a,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(o,r){var l=this.style,e=this.path||c,s=l.hasStroke(),u=l.hasFill(),h=l.fill,A=l.stroke,v=u&&!!h.colorStops,w=s&&!!A.colorStops,b=u&&!!h.image,E=s&&!!A.image;if(l.bind(o,this,r),this.setTransform(o),this.__dirty){var T;v&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(o,h,T)),w&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(o,A,T))}v?o.fillStyle=this._fillGradient:b&&(o.fillStyle=f.call(h,o)),w?o.strokeStyle=this._strokeGradient:E&&(o.strokeStyle=f.call(A,o));var _=l.lineDash,x=l.lineDashOffset,C=!!o.setLineDash,I=this.getGlobalScale();if(e.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||_&&!C&&s?(e.beginPath(o),_&&!C&&(e.setLineDash(_),e.setLineDashOffset(x)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(o.beginPath(),this.path.rebuildPath(o)),u)if(l.fillOpacity!=null){var L=o.globalAlpha;o.globalAlpha=l.fillOpacity*l.opacity,e.fill(o),o.globalAlpha=L}else e.fill(o);if(_&&C&&(o.setLineDash(_),o.lineDashOffset=x),s)if(l.strokeOpacity!=null){var L=o.globalAlpha;o.globalAlpha=l.strokeOpacity*l.opacity,e.stroke(o),o.globalAlpha=L}else e.stroke(o);_&&C&&o.setLineDash([]),l.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},buildPath:function(o,r,l){},createPathProxy:function(){this.path=new S},getBoundingRect:function(){var o=this._rect,r=this.style,l=!o;if(l){var e=this.path;e||(e=this.path=new S),this.__dirtyPath&&(e.beginPath(),this.buildPath(e,this.shape,!1)),o=e.getBoundingRect()}if(this._rect=o,r.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=o.clone());if(this.__dirty||l){s.copy(o);var u=r.lineWidth,h=r.strokeNoScale?this.getLineScale():1;r.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),h>1e-10&&(s.width+=u/h,s.height+=u/h,s.x-=u/h/2,s.y-=u/h/2)}return s}return o},contain:function(o,r){var l=this.transformCoordToLocal(o,r),e=this.getBoundingRect(),s=this.style;if(o=l[0],r=l[1],e.contain(o,r)){var u=this.path.data;if(s.hasStroke()){var h=s.lineWidth,A=s.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(s.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),m.containStroke(u,h/A,o,r)))return!0}if(s.hasFill())return m.contain(u,o,r)}return!1},dirty:function(o){o==null&&(o=!0),o&&(this.__dirtyPath=o,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(o){return this.animate("shape",o)},attrKV:function(o,r){o==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):y.prototype.attrKV.call(this,o,r)},setShape:function(o,r){var l=this.shape;if(l){if(p.isObject(o))for(var e in o)o.hasOwnProperty(e)&&(l[e]=o[e]);else l[o]=r;this.dirty(!0)}return this},getLineScale:function(){var o=this.transform;return o&&d(o[0]-1)>1e-10&&d(o[3]-1)>1e-10?Math.sqrt(d(o[0]*o[3]-o[2]*o[1])):1}},a.extend=function(i){var o=function(e){a.call(this,e),i.style&&this.style.extendFrom(i.style,!1);var s=i.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var h in s)!u.hasOwnProperty(h)&&s.hasOwnProperty(h)&&(u[h]=s[h])}i.init&&i.init.call(this,e)};p.inherits(o,a);for(var r in i)r!=="style"&&r!=="shape"&&(o.prototype[r]=i[r]);return o},p.inherits(a,y);var n=a;R.exports=n},"y+lR":function(R,N,t){var y=t("bYtY"),p=t("mFDi"),S=t("z35g");function m(f){S.call(this,f)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(f){var d=this.getAxis("x"),c=this.getAxis("y");return d.contain(d.toLocalCoord(f[0]))&&c.contain(c.toLocalCoord(f[1]))},containData:function(f){return this.getAxis("x").containData(f[0])&&this.getAxis("y").containData(f[1])},dataToPoint:function(f,d,c){var a=this.getAxis("x"),n=this.getAxis("y");return c=c||[],c[0]=a.toGlobalCoord(a.dataToCoord(f[0])),c[1]=n.toGlobalCoord(n.dataToCoord(f[1])),c},clampData:function(f,d){var c=this.getAxis("x").scale,a=this.getAxis("y").scale,n=c.getExtent(),i=a.getExtent(),o=c.parse(f[0]),r=a.parse(f[1]);return d=d||[],d[0]=Math.min(Math.max(Math.min(n[0],n[1]),o),Math.max(n[0],n[1])),d[1]=Math.min(Math.max(Math.min(i[0],i[1]),r),Math.max(i[0],i[1])),d},pointToData:function(f,d){var c=this.getAxis("x"),a=this.getAxis("y");return d=d||[],d[0]=c.coordToData(c.toLocalCoord(f[0])),d[1]=a.coordToData(a.toLocalCoord(f[1])),d},getOtherAxis:function(f){return this.getAxis(f.dim==="x"?"y":"x")},getArea:function(){var f=this.getAxis("x").getGlobalExtent(),d=this.getAxis("y").getGlobalExtent(),c=Math.min(f[0],f[1]),a=Math.min(d[0],d[1]),n=Math.max(f[0],f[1])-c,i=Math.max(d[0],d[1])-a,o=new p(c,a,n,i);return o}},y.inherits(m,S);var g=m;R.exports=g},"y0+3":function(R,N,t){"use strict";t.d(N,"a",function(){return i}),t.d(N,"b",function(){return r});var y=/margin|padding|width|height|max|min|offset/,p={left:!0,top:!0},S={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function g(l,e,s){if(e=e.toLowerCase(),s==="auto"){if(e==="height")return l.offsetHeight;if(e==="width")return l.offsetWidth}return e in p||(p[e]=y.test(e)),p[e]?parseFloat(s)||0:s}function f(l,e){var s=arguments.length,u=m(l);return e=S[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,s===1?u:g(l,e,u[e]||l.style[e])}function d(l,e,s){var u=arguments.length;if(e=S[e]?"cssFloat"in l.style?"cssFloat":"styleFloat":e,u===3)return typeof s=="number"&&y.test(e)&&(s="".concat(s,"px")),l.style[e]=s,s;for(var h in e)e.hasOwnProperty(h)&&d(l,h,e[h]);return m(l)}function c(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function a(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function n(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:e}}function i(){var l=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:e}}function o(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(l){var e=l.getBoundingClientRect(),s=document.documentElement;return{left:e.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},"y1t/":function(R,N,t){"use strict";t.d(N,"a",function(){return y});function y(p){if(p==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(R,N){function t(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}t.prototype={constructor:t,_dragStart:function(m){for(var g=m.target;g&&!g.draggable;)g=g.parent;g&&(this._draggingTarget=g,g.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(y(g,m),"dragstart",m.event))},_drag:function(m){var g=this._draggingTarget;if(g){var f=m.offsetX,d=m.offsetY,c=f-this._x,a=d-this._y;this._x=f,this._y=d,g.drift(c,a,m),this.dispatchToElement(y(g,m),"drag",m.event);var n=this.findHover(f,d,g).target,i=this._dropTarget;this._dropTarget=n,g!==n&&(i&&n!==i&&this.dispatchToElement(y(i,m),"dragleave",m.event),n&&n!==i&&this.dispatchToElement(y(n,m),"dragenter",m.event))}},_dragEnd:function(m){var g=this._draggingTarget;g&&(g.dragging=!1),this.dispatchToElement(y(g,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(y(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function y(S,m){return{target:S,topTarget:m&&m.topTarget}}var p=t;R.exports=p},y2l5:function(R,N,t){var y=t("MwEJ"),p=t("T4UG"),S=p.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,g){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});R.exports=S},y3Kf: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:"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"},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="UpOutlined";var d=N.a=p.forwardRef(f)},y3NT:function(R,N,t){var y=t("OELB"),p=y.parsePercent,S=t("bYtY"),m=Math.PI/180;function g(c,a,n,i){a.eachSeriesByType(c,function(o){var r=o.get("center"),l=o.get("radius");S.isArray(l)||(l=[0,l]),S.isArray(r)||(r=[r,r]);var e=n.getWidth(),s=n.getHeight(),u=Math.min(e,s),h=p(r[0],e),A=p(r[1],s),v=p(l[0],u/2),w=p(l[1],u/2),b=-o.get("startAngle")*m,E=o.get("minAngle")*m,T=o.getData().tree.root,_=o.getViewRoot(),x=_.depth,C=o.get("sort");C!=null&&f(_,C);var I=0;S.each(_.children,function(W){!isNaN(W.getValue())&&I++});var L=_.getValue(),F=Math.PI/(L||I)*2,B=_.depth>0,P=_.height-(B?-1:1),H=(w-v)/(P||1),z=o.get("clockwise"),M=o.get("stillShowZeroSum"),U=z?1:-1,k=function(W,X){if(!W)return;var J=X;if(W!==T){var de=W.getValue(),G=L===0&&M?F:de*F;G<E&&(G=E),J=X+U*G;var ae=W.depth-x-(B?-1:1),Ae=v+H*ae,me=v+H*(ae+1),Me=W.getModel();Me.get("r0")!=null&&(Ae=p(Me.get("r0"),u/2)),Me.get("r")!=null&&(me=p(Me.get("r"),u/2)),W.setLayout({angle:G,startAngle:X,endAngle:J,clockwise:z,cx:h,cy:A,r0:Ae,r:me})}if(W.children&&W.children.length){var oe=0;S.each(W.children,function(_e){oe+=k(_e,X+oe)})}return J-X};if(B){var K=v,j=v+H,V=Math.PI*2;T.setLayout({angle:V,startAngle:b,endAngle:b+V,clockwise:z,cx:h,cy:A,r0:K,r:j})}k(_,b)})}function f(c,a){var n=c.children||[];c.children=d(n,a),n.length&&S.each(c.children,function(i){f(i,a)})}function d(c,a){if(typeof a=="function")return c.sort(a);var n=a==="asc";return c.sort(function(i,o){var r=(i.getValue()-o.getValue())*(n?1:-1);return r===0?(i.dataIndex-o.dataIndex)*(n?-1:1):r})}R.exports=g},y3Yb: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("HBhm")),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="PaperClipOutlined";var c=m.forwardRef(d);N.default=c},"y4/Y":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("zTMp"),m=t("62sa");t("SKx+"),t("1LEl"),t("Sp2Z"),y.registerPreprocessor(function(g){if(g){(!g.axisPointer||g.axisPointer.length===0)&&(g.axisPointer={});var f=g.axisPointer.link;f&&!p.isArray(f)&&(g.axisPointer.link=[f])}}),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,function(g,f){g.getComponent("axisPointer").coordSysAxesInfo=S.collect(g,f)}),y.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(R,N,t){var y=t("bYtY"),p=t("+TT/"),S=p.getLayoutRect;function m(f,d,c){var a=f.option,n=a.align;if(n!=null&&n!=="auto")return n;for(var i={width:d.getWidth(),height:d.getHeight()},o=a.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],l=r[o],e=[0,null,10],s={},u=0;u<3;u++)s[r[1-o][u]]=e[u],s[l[u]]=u===2?c[0]:a[l[u]];var h=[["x","width",3],["y","height",0]][o],A=S(s,i,a.padding);return l[(A.margin[h[2]]||0)+A[h[0]]+A[h[1]]*.5<i[h[1]]*.5?0:1]}function g(f,d){return y.each(f||[],function(c){c.dataIndex!=null&&(c.dataIndexInside=c.dataIndex,c.dataIndex=null),c.highlightKey="visualMap"+(d?d.componentIndex:"")}),f}N.getItemAlign=m,N.makeHighDownBatch=g},y8nQ:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("gwTy"),m=t.n(S),g=t("1GLa")},yEEn: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:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-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="ArrowDownOutlined";var d=N.a=p.forwardRef(f)},yO87:function(R,N,t){var y=t("bYtY"),p=t("oVpE"),S=p.createSymbol,m=t("IwbS"),g=m.Group,f=t("OELB"),d=f.parsePercent,c=t("FBjb"),a=3;function n(e){return y.isArray(e)||(e=[+e,+e]),e}function i(e,s){var u=s.rippleEffectColor||s.color;e.eachChild(function(h){h.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function o(e,s){g.call(this);var u=new c(e,s),h=new g;this.add(u),this.add(h),h.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(e,s)}var r=o.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(e){for(var s=e.symbolType,u=e.color,h=this.childAt(1),A=0;A<a;A++){var v=S(s,-1,-1,2,2,u);v.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var w=-A/a*e.period+e.effectOffset;v.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(w).start(),v.animateStyle(!0).when(e.period,{opacity:0}).delay(w).start(),h.add(v)}i(h,e)},r.updateEffectAnimation=function(e){for(var s=this._effectCfg,u=this.childAt(1),h=["symbolType","period","rippleScale"],A=0;A<h.length;A++){var v=h[A];if(s[v]!==e[v]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}i(u,e)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(e,s){var u=e.hostModel;this.childAt(0).updateData(e,s);var h=this.childAt(1),A=e.getItemModel(s),v=e.getItemVisual(s,"symbol"),w=n(e.getItemVisual(s,"symbolSize")),b=e.getItemVisual(s,"color");h.attr("scale",w),h.traverse(function(F){F.attr({fill:b})});var E=A.getShallow("symbolOffset");if(E){var T=h.position;T[0]=d(E[0],w[0]),T[1]=d(E[1],w[1])}var _=e.getItemVisual(s,"symbolRotate");h.rotation=(_||0)*Math.PI/180||0;var x={};if(x.showEffectOn=u.get("showEffectOn"),x.rippleScale=A.get("rippleEffect.scale"),x.brushType=A.get("rippleEffect.brushType"),x.period=A.get("rippleEffect.period")*1e3,x.effectOffset=s/e.count(),x.z=A.getShallow("z")||0,x.zlevel=A.getShallow("zlevel")||0,x.symbolType=v,x.color=b,x.rippleEffectColor=A.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),x.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(x):this.startEffectAnimation(x),this._effectCfg=x;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),I=function(){C.highlight(),x.showEffectOn!=="render"&&this.startEffectAnimation(x)},L=function(){C.downplay(),x.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",L,this).on("emphasis",I,this).on("normal",L,this)}this._effectCfg=x},r.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},y.inherits(o,g);var l=o;R.exports=l},yS9w:function(R,N,t){var y=t("MEGo"),p=y.parseSVG,S=y.makeViewBoxTransform,m=t("4fz+"),g=t("x6Kt"),f=t("bYtY"),d=f.assert,c=f.createHashMap,a=t("mFDi"),n=t("4NO4"),i=n.makeInner,o=i(),r={load:function(e,s){var u=o(s).originRoot;if(u)return{root:u,boundingRect:o(s).boundingRect};var h=l(s);return o(s).originRoot=h.root,o(s).boundingRect=h.boundingRect,h},makeGraphic:function(e,s,u){var h=o(s),A=h.rootMap||(h.rootMap=c()),v=A.get(u);if(v)return v;var w=h.originRoot,b=h.boundingRect;return h.originRootHostKey?v=l(s,b).root:(h.originRootHostKey=u,v=w),A.set(u,v)},removeGraphic:function(e,s,u){var h=o(s),A=h.rootMap;A&&A.removeKey(u),u===h.originRootHostKey&&(h.originRootHostKey=null)}};function l(e,s){var u=e.svgXML,h,A;try{h=u&&p(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},A=h.root,d(A!=null)}catch(_){throw new Error(`Invalid svg format
|
|
|
`+_.message)}var v=h.width,w=h.height,b=h.viewBoxRect;if(s||(s=v==null||w==null?A.getBoundingRect():new a(0,0,0,0),v!=null&&(s.width=v),w!=null&&(s.height=w)),b){var E=S(b,s.width,s.height),T=A;A=new m,A.add(T),T.scale=E.scale,T.position=E.position}return A.setClipPath(new g({shape:s.plain()})),{root:A,boundingRect:s}}R.exports=r},yWXo:function(R,N,t){var y=t("IwbS"),p=t("oVpE"),S=p.createSymbol,m=t("OS9S"),g=4,f=y.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(n,i){var o=i.points,r=i.size,l=this.symbolProxy,e=l.shape,s=n.getContext?n.getContext():n,u=s&&r[0]<g;if(u)return;for(var h=0;h<o.length;){var A=o[h++],v=o[h++];if(isNaN(A)||isNaN(v))continue;if(this.softClipShape&&!this.softClipShape.contain(A,v))continue;e.x=A-r[0]/2,e.y=v-r[1]/2,e.width=r[0],e.height=r[1],l.buildPath(n,e,!0)}},afterBrush:function(n){var i=this.shape,o=i.points,r=i.size,l=r[0]<g;if(!l)return;this.setTransform(n);for(var e=0;e<o.length;){var s=o[e++],u=o[e++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;n.fillRect(s-r[0]/2,u-r[1]/2,r[0],r[1])}this.restoreTransform(n)},findDataIndex:function(n,i){for(var o=this.shape,r=o.points,l=o.size,e=Math.max(l[0],4),s=Math.max(l[1],4),u=r.length/2-1;u>=0;u--){var h=u*2,A=r[h]-e/2,v=r[h+1]-s/2;if(n>=A&&i>=v&&n<=A+e&&i<=v+s)return u}return-1}});function d(){this.group=new y.Group}var c=d.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(n,i){this.group.removeAll();var o=new f({rectHover:!0,cursor:"default"});o.setShape({points:n.getLayout("symbolPoints")}),this._setCommon(o,n,!1,i),this.group.add(o),this._incremental=null},c.updateLayout=function(n){if(this._incremental)return;var i=n.getLayout("symbolPoints");this.group.eachChild(function(o){if(o.startIndex!=null){var r=(o.endIndex-o.startIndex)*2,l=o.startIndex*4*2;i=new Float32Array(i.buffer,l,r)}o.setShape("points",i)})},c.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(n,i,o){var r;this._incremental?(r=new f,this._incremental.addDisplayable(r,!0)):(r=new f({rectHover:!0,cursor:"default",startIndex:n.start,endIndex:n.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:i.getLayout("symbolPoints")}),this._setCommon(r,i,!!this._incremental,o)},c._setCommon=function(n,i,o,r){var l=i.hostModel;r=r||{};var e=i.getVisual("symbolSize");n.setShape("size",e instanceof Array?e:[e,e]),n.softClipShape=r.clipShape||null,n.symbolProxy=S(i.getVisual("symbol"),0,0,0,0),n.setColor=n.symbolProxy.setColor;var s=n.shape.size[0]<g;n.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=i.getVisual("color");u&&n.setColor(u),o||(n.seriesIndex=l.seriesIndex,n.on("mousemove",function(h){n.dataIndex=null;var A=n.findDataIndex(h.offsetX,h.offsetY);A>=0&&(n.dataIndex=A+(n.startIndex||0))}))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var a=d;R.exports=a},ycre:function(R,N,t){var y=t("711d"),p=y("length");R.exports=p},ye1Q: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:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",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="LoadingOutlined";var d=N.a=p.forwardRef(f)},ygfH: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:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};N.default=y},yik8:function(R,N,t){var y=t("bZqE"),p=y.eachAfter,S=y.eachBefore,m=t("Itpr"),g=m.init,f=m.firstWalk,d=m.secondWalk,c=m.separation,a=m.radialCoordinate,n=m.getViewRect;function i(r,l){r.eachSeriesByType("tree",function(e){o(e,l)})}function o(r,l){var e=n(r,l);r.layoutInfo=e;var s=r.get("layout"),u=0,h=0,A=null;s==="radial"?(u=2*Math.PI,h=Math.min(e.height,e.width)/2,A=c(function(P,H){return(P.parentNode===H.parentNode?1:2)/P.depth})):(u=e.width,h=e.height,A=c());var v=r.getData().tree.root,w=v.children[0];if(w){g(v),p(w,f,A),v.hierNode.modifier=-w.hierNode.prelim,S(w,d);var b=w,E=w,T=w;S(w,function(P){var H=P.getLayout().x;H<b.getLayout().x&&(b=P),H>E.getLayout().x&&(E=P),P.depth>T.depth&&(T=P)});var _=b===E?1:A(b,E)/2,x=_-b.getLayout().x,C=0,I=0,L=0,F=0;if(s==="radial")C=u/(E.getLayout().x+_+x),I=h/(T.depth-1||1),S(w,function(P){L=(P.getLayout().x+x)*C,F=(P.depth-1)*I;var H=a(L,F);P.setLayout({x:H.x,y:H.y,rawX:L,rawY:F},!0)});else{var B=r.getOrient();B==="RL"||B==="LR"?(I=h/(E.getLayout().x+_+x),C=u/(T.depth-1||1),S(w,function(P){F=(P.getLayout().x+x)*I,L=B==="LR"?(P.depth-1)*C:u-(P.depth-1)*C,P.setLayout({x:L,y:F},!0)})):(B==="TB"||B==="BT")&&(C=u/(E.getLayout().x+_+x),I=h/(T.depth-1||1),S(w,function(P){L=(P.getLayout().x+x)*C,F=B==="TB"?(P.depth-1)*I:h-(P.depth-1)*I,P.setLayout({x:L,y:F},!0)}))}}}R.exports=i},ynwM:function(R,N,t){var y=t("MFOe"),p=y.Global;R.exports={name:"oldFF-globalStorage",read:m,write:g,each:f,remove:d,clearAll:c};var S=p.globalStorage;function m(a){return S[a]}function g(a,n){S[a]=n}function f(a){for(var n=S.length-1;n>=0;n--){var i=S.key(n);a(S[i],i)}}function d(a){return S.removeItem(a)}function c(){f(function(a,n){delete S[a]})}},ypgQ:function(R,N,t){var y=t("bYtY"),p=t("4NO4"),S=t("bLfw"),m=y.each,g=y.clone,f=y.map,d=y.merge,c=/^(min|max)?(.+)$/;function a(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}a.prototype={constructor:a,setOption:function(s,u){s&&y.each(p.normalizeToArray(s.series),function(v){v&&v.data&&y.isTypedArray(v.data)&&y.setAsPrimitive(v.data)}),s=g(s);var h=this._optionBackup,A=n.call(this,s,u,!h);this._newBaseOption=A.baseOption,h?(l(h.baseOption,A.baseOption),A.timelineOptions.length&&(h.timelineOptions=A.timelineOptions),A.mediaList.length&&(h.mediaList=A.mediaList),A.mediaDefault&&(h.mediaDefault=A.mediaDefault)):this._optionBackup=A},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=f(u.timelineOptions,g),this._mediaList=f(u.mediaList,g),this._mediaDefault=g(u.mediaDefault),this._currentMediaIndices=[],g(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,h=this._timelineOptions;if(h.length){var A=s.getComponent("timeline");A&&(u=g(h[A.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),h=this._api.getHeight(),A=this._mediaList,v=this._mediaDefault,w=[],b=[];if(!A.length&&!v)return b;for(var E=0,T=A.length;E<T;E++)i(A[E].query,u,h)&&w.push(E);return!w.length&&v&&(w=[-1]),w.length&&!r(w,this._currentMediaIndices)&&(b=f(w,function(_){return g(_===-1?v.option:A[_].option)})),this._currentMediaIndices=w,b}};function n(s,u,h){var A=[],v=[],w,b,E=s.timeline;if(s.baseOption&&(b=s.baseOption),(E||s.options)&&(b=b||{},A=(s.options||[]).slice()),s.media){b=b||{};var T=s.media;m(T,function(_){_&&_.option&&(_.query?v.push(_):w||(w=_))})}return b||(b=s),b.timeline||(b.timeline=E),m([b].concat(A).concat(y.map(v,function(_){return _.option})),function(_){m(u,function(x){x(_,h)})}),{baseOption:b,timelineOptions:A,mediaDefault:w,mediaList:v}}function i(s,u,h){var A={width:u,height:h,aspectratio:u/h},v=!0;return y.each(s,function(w,b){var E=b.match(c);if(!E||!E[1]||!E[2])return;var T=E[1],_=E[2].toLowerCase();o(A[_],w,T)||(v=!1)}),v}function o(s,u,h){return h==="min"?s>=u:h==="max"?s<=u:s===u}function r(s,u){return s.join(",")===u.join(",")}function l(s,u){u=u||{},m(u,function(h,A){if(h==null)return;var v=s[A];if(!S.hasClass(A))s[A]=d(v,h,!0);else{h=p.normalizeToArray(h),v=p.normalizeToArray(v);var w=p.mappingToExists(v,h);s[A]=f(w,function(b){return b.option&&b.exist?d(b.exist,b.option,!0):b.exist||b.option})}})}var e=a;R.exports=e},yxFR:function(R,N,t){var y=t("y+Vt"),p=t("nPnh"),S=p.subPixelOptimizeLine,m={},g=y.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(d,c){var a,n,i,o;this.subPixelOptimize?(S(m,c,this.style),a=m.x1,n=m.y1,i=m.x2,o=m.y2):(a=c.x1,n=c.y1,i=c.x2,o=c.y2);var r=c.percent;if(r===0)return;d.moveTo(a,n),r<1&&(i=a*(1-r)+i*r,o=n*(1-r)+o*r),d.lineTo(i,o)},pointAt:function(d){var c=this.shape;return[c.x1*(1-d)+c.x2*d,c.y1*(1-d)+c.y2*d]}});R.exports=g},z35g:function(R,N,t){var y=t("bYtY");function p(g){return this._axes[g]}var S=function(g){this._axes={},this._dimList=[],this.name=g||""};S.prototype={constructor:S,type:"cartesian",getAxis:function(g){return this._axes[g]},getAxes:function(){return y.map(this._dimList,p,this)},getAxesByScale:function(g){return g=g.toLowerCase(),y.filter(this.getAxes(),function(f){return f.scale.type===g})},addAxis:function(g){var f=g.dim;this._axes[f]=g,this._dimList.push(f)},dataToCoord:function(g){return this._dataCoordConvert(g,"dataToCoord")},coordToData:function(g){return this._dataCoordConvert(g,"coordToData")},_dataCoordConvert:function(g,f){for(var d=this._dimList,c=g instanceof Array?[]:{},a=0;a<d.length;a++){var n=d[a],i=this._axes[n];c[n]=i[f](g[n])}return c}};var m=S;R.exports=m},zAh6:function(R,N,t){"use strict";t.d(N,"a",function(){return g});var y=t("xEkU"),p=t.n(y),S=t("i6bk");function m(f,d,c,a){var n=c-d;return f/=a/2,f<1?n/2*f*f*f+d:n/2*((f-=2)*f*f+2)+d}function g(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=d.getContainer,a=c===void 0?function(){return window}:c,n=d.callback,i=d.duration,o=i===void 0?450:i,r=a(),l=Object(S.a)(r,!0),e=Date.now(),s=function u(){var h=Date.now(),A=h-e,v=m(A>o?o:A,l,f,o);Object(S.b)(r)?r.scrollTo(window.pageXOffset,v):r instanceof HTMLDocument||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=v:r.scrollTop=v,A<o?p()(u):typeof n=="function"&&n()};p()(s)}},zDms:function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=t("UOVi"),m=t("72pK"),g=y.each,f=p.asc,d=function(r,l,e,s){this._dimName=r,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=e};d.prototype={constructor:d,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],l=this.ecModel;return l.eachSeries(function(e){if(S.isCoordSupported(e.get("coordinateSystem"))){var s=this._dimName,u=l.queryComponents({mainType:s+"Axis",index:e.get(s+"AxisIndex"),id:e.get(s+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&r.push(e)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,l=this.ecModel,e=this.getAxisModel(),s=r==="x"||r==="y",u,h;s?(h="gridIndex",u=r==="x"?"y":"x"):(h="polarIndex",u=r==="angle"?"radius":"angle");var A;return l.eachComponent(u+"Axis",function(v){(v.get(h)||0)===(e.get(h)||0)&&(A=v)}),A},getMinMaxSpan:function(){return y.clone(this._minMaxSpan)},calculateDataWindow:function(r){var l=this._dataExtent,e=this.getAxisModel(),s=e.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],A=[],v=[],w;g(["start","end"],function(T,_){var x=r[T],C=r[T+"Value"];u[_]==="percent"?(x==null&&(x=h[_]),C=s.parse(p.linearMap(x,h,l))):(w=!0,C=C==null?l[_]:s.parse(C),x=p.linearMap(C,l,h)),v[_]=C,A[_]=x}),f(v),f(A);var b=this._minMaxSpan;w?E(v,A,l,h,!1):E(A,v,h,l,!0);function E(T,_,x,C,I){var L=I?"Span":"ValueSpan";m(0,T,x,"all",b["min"+L],b["max"+L]);for(var F=0;F<2;F++)_[F]=p.linearMap(T[F],x,C,!0),I&&(_[F]=s.parse(_[F]))}return{valueWindow:v,percentWindow:A}},reset:function(r){if(r!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,l),i(this);var e=this.calculateDataWindow(r.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,n(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,n(this,!0)},filterData:function(r,l){if(r!==this._dataZoomModel)return;var e=this._dimName,s=this.getTargetSeriesModels(),u=r.get("filterMode"),h=this._valueWindow;if(u==="none")return;g(s,function(v){var w=v.getData(),b=w.mapDimension(e,!0);if(!b.length)return;u==="weakFilter"?w.filterSelf(function(E){for(var T,_,x,C=0;C<b.length;C++){var I=w.get(b[C],E),L=!isNaN(I),F=I<h[0],B=I>h[1];if(L&&!F&&!B)return!0;L&&(x=!0),F&&(T=!0),B&&(_=!0)}return x&&T&&_}):g(b,function(E){if(u==="empty")v.setData(w=w.map(E,function(_){return A(_)?_:NaN}));else{var T={};T[E]=h,w.selectRange(T)}}),g(b,function(E){w.setApproximateExtent(h,E)})});function A(v){return v>=h[0]&&v<=h[1]}}};function c(r,l,e){var s=[Infinity,-Infinity];return g(e,function(u){var h=u.getData();h&&g(h.mapDimension(l,!0),function(A){var v=h.getApproximateExtent(A);v[0]<s[0]&&(s[0]=v[0]),v[1]>s[1]&&(s[1]=v[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),a(r,s),s}function a(r,l){var e=r.getAxisModel(),s=e.getMin(!0),u=e.get("type")==="category",h=u&&e.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:u&&(l[0]=h>0?0:NaN);var A=e.getMax(!0);return A!=null&&A!=="dataMax"&&typeof A!="function"?l[1]=A:u&&(l[1]=h>0?h-1:NaN),e.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function n(r,l){var e=r.getAxisModel(),s=r._percentWindow,u=r._valueWindow;if(!s)return;var h=p.getPixelPrecision(u,[0,500]);h=Math.min(h,20);var A=l||s[0]===0&&s[1]===100;e.setRange(A?null:+u[0].toFixed(h),A?null:+u[1].toFixed(h))}function i(r){var l=r._minMaxSpan={},e=r._dataZoomModel,s=r._dataExtent;g(["min","max"],function(u){var h=e.get(u+"Span"),A=e.get(u+"ValueSpan");A!=null&&(A=r.getAxisModel().axis.scale.parse(A)),A!=null?h=p.linearMap(s[0]+A,s,[0,100],!0):h!=null&&(A=p.linearMap(h,[0,100],s,!0)-s[0]),l[u+"Span"]=h,l[u+"ValueSpan"]=A})}var o=d;R.exports=o},zM3Q:function(R,N,t){var y=t("4NO4"),p=y.makeInner;function S(){var m=p();return function(g){var f=m(g),d=g.pipelineContext,c=f.large,a=f.progressiveRender,n=f.large=d&&d.large,i=f.progressiveRender=d&&d.progressiveRender;return!!(c^n||a^i)&&"reset"}}R.exports=S},zRKj:function(R,N,t){t("Ae16"),t("Sp2Z"),t("y4/Y")},zTMp:function(R,N,t){var y=t("bYtY"),p=t("Qxkt"),S=y.each,m=y.curry;function g(s,u){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f(h,s,u),h.seriesInvolved&&c(h,s),h}function f(s,u,h){var A=u.getComponent("tooltip"),v=u.getComponent("axisPointer"),w=v.get("link",!0)||[],b=[];S(h.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var T=e(E.model),_=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=E;var x=E.model,C=x.getModel("tooltip",A);if(S(E.getAxes(),m(B,!1,null)),E.getTooltipAxes&&A&&C.get("show")){var I=C.get("trigger")==="axis",L=C.get("axisPointer.type")==="cross",F=E.getTooltipAxes(C.get("axisPointer.axis"));(I||L)&&S(F.baseAxes,m(B,L?"cross":!0,I)),L&&S(F.otherAxes,m(B,"cross",!1))}function B(P,H,z){var M=z.model.getModel("axisPointer",v),U=M.get("show");if(!U||U==="auto"&&!P&&!l(M))return;H==null&&(H=M.get("triggerTooltip")),M=P?d(z,C,v,u,P,H):M;var k=M.get("snap"),K=e(z.model),j=H||k||z.type==="category",V=s.axesInfo[K]={key:K,axis:z,coordSys:E,axisPointerModel:M,triggerTooltip:H,involveSeries:j,snap:k,useHandle:l(M),seriesModels:[]};_[K]=V,s.seriesInvolved|=j;var W=a(w,z);if(W!=null){var X=b[W]||(b[W]={axesInfo:{}});X.axesInfo[K]=V,X.mapper=w[W].mapper,V.linkGroup=X}}})}function d(s,u,h,A,v,w){var b=u.getModel("axisPointer"),E={};S(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){E[C]=y.clone(b.get(C))}),E.snap=s.type!=="category"&&!!w,b.get("type")==="cross"&&(E.type="line");var T=E.label||(E.label={});if(T.show==null&&(T.show=!1),v==="cross"){var _=b.get("label.show");if(T.show=_!=null?_:!0,!w){var x=E.lineStyle=b.get("crossStyle");x&&y.defaults(T,x.textStyle)}}return s.model.getModel("axisPointer",new p(E,h,A))}function c(s,u){u.eachSeries(function(h){var A=h.coordinateSystem,v=h.get("tooltip.trigger",!0),w=h.get("tooltip.show",!0);if(!A||v==="none"||v===!1||v==="item"||w===!1||h.get("axisPointer.show",!0)===!1)return;S(s.coordSysAxesInfo[e(A.model)],function(b){var E=b.axis;A.getAxis(E.dim)===E&&(b.seriesModels.push(h),b.seriesDataCount==null&&(b.seriesDataCount=0),b.seriesDataCount+=h.getData().count())})},this)}function a(s,u){for(var h=u.model,A=u.dim,v=0;v<s.length;v++){var w=s[v]||{};if(n(w[A+"AxisId"],h.id)||n(w[A+"AxisIndex"],h.componentIndex)||n(w[A+"AxisName"],h.name))return v}}function n(s,u){return s==="all"||y.isArray(s)&&y.indexOf(s,u)>=0||s===u}function i(s){var u=o(s);if(!u)return;var h=u.axisPointerModel,A=u.axis.scale,v=h.option,w=h.get("status"),b=h.get("value");b!=null&&(b=A.parse(b));var E=l(h);w==null&&(v.status=E?"show":"hide");var T=A.getExtent().slice();T[0]>T[1]&&T.reverse(),(b==null||b>T[1])&&(b=T[1]),b<T[0]&&(b=T[0]),v.value=b,E&&(v.status=u.axis.scale.isBlank()?"hide":"show")}function o(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[e(s)]}function r(s){var u=o(s);return u&&u.axisPointerModel}function l(s){return!!s.get("handle.show")}function e(s){return s.type+"||"+s.id}N.collect=g,N.fixValue=i,N.getAxisInfo=o,N.getAxisPointerModel=r,N.makeKey=e},zYTA:function(R,N,t){var y=t("bYtY"),p=256;function S(){var g=y.createCanvas();this.canvas=g,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}S.prototype={update:function(g,f,d,c,a,n){var i=this._getBrush(),o=this._getGradient(g,a,"inRange"),r=this._getGradient(g,a,"outOfRange"),l=this.pointSize+this.blurSize,e=this.canvas,s=e.getContext("2d"),u=g.length;e.width=f,e.height=d;for(var h=0;h<u;++h){var A=g[h],v=A[0],w=A[1],b=A[2],E=c(b);s.globalAlpha=E,s.drawImage(i,v-l,w-l)}if(!e.width||!e.height)return e;for(var T=s.getImageData(0,0,e.width,e.height),_=T.data,x=0,C=_.length,I=this.minOpacity,L=this.maxOpacity,F=L-I;x<C;){var E=_[x+3]/256,B=Math.floor(E*(p-1))*4;if(E>0){var P=n(E)?o:r;E>0&&(E=E*F+I),_[x++]=P[B],_[x++]=P[B+1],_[x++]=P[B+2],_[x++]=P[B+3]*E*256}else x+=4}return s.putImageData(T,0,0),e},_getBrush:function(){var g=this._brushCanvas||(this._brushCanvas=y.createCanvas()),f=this.pointSize+this.blurSize,d=f*2;g.width=d,g.height=d;var c=g.getContext("2d");return c.clearRect(0,0,d,d),c.shadowOffsetX=d,c.shadowBlur=this.blurSize,c.shadowColor="#000",c.beginPath(),c.arc(-f,f,this.pointSize,0,Math.PI*2,!0),c.closePath(),c.fill(),g},_getGradient:function(g,f,d){for(var c=this._gradientPixels,a=c[d]||(c[d]=new Uint8ClampedArray(256*4)),n=[0,0,0,0],i=0,o=0;o<256;o++)f[d](o/255,!0,n),a[i++]=n[0],a[i++]=n[1],a[i++]=n[2],a[i++]=n[3];return a}};var m=S;R.exports=m},zarK:function(R,N,t){var y=t("YH21"),p=y.addEventListener,S=y.removeEventListener,m=y.normalizeEvent,g=y.getNativeEvent,f=t("bYtY"),d=t("H6uX"),c=t("ItGF"),a=300,n=c.domSupported,i=function(){var P=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],H=["touchstart","touchend","touchmove"],z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},M=f.map(P,function(U){var k=U.replace("mouse","pointer");return z.hasOwnProperty(k)?k:U});return{mouse:P,touch:H,pointer:M}}(),o={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(P){return P==="mousewheel"&&c.browser.firefox?"DOMMouseScroll":P}function l(P){var H=P.pointerType;return H==="pen"||H==="touch"}function e(P){P.touching=!0,P.touchTimer!=null&&(clearTimeout(P.touchTimer),P.touchTimer=null),P.touchTimer=setTimeout(function(){P.touching=!1,P.touchTimer=null},700)}function s(P){P&&(P.zrByTouch=!0)}function u(P,H){return m(P.dom,new A(P,H),!0)}function h(P,H){for(var z=H,M=!1;z&&z.nodeType!==9&&!(M=z.domBelongToZr||z!==H&&z===P.painterRoot);)z=z.parentNode;return M}function A(P,H){this.type=H.type,this.target=this.currentTarget=P.dom,this.pointerType=H.pointerType,this.clientX=H.clientX,this.clientY=H.clientY}var v=A.prototype;v.stopPropagation=v.stopImmediatePropagation=v.preventDefault=f.noop;var w={mousedown:function(H){H=m(this.dom,H),this._mayPointerCapture=[H.zrX,H.zrY],this.trigger("mousedown",H)},mousemove:function(H){H=m(this.dom,H);var z=this._mayPointerCapture;z&&(H.zrX!==z[0]||H.zrY!==z[1])&&C(this,!0),this.trigger("mousemove",H)},mouseup:function(H){H=m(this.dom,H),C(this,!1),this.trigger("mouseup",H)},mouseout:function(H){H=m(this.dom,H),this._pointerCapturing&&(H.zrEventControl="no_globalout");var z=H.toElement||H.relatedTarget;H.zrIsToLocalDOM=h(this,z),this.trigger("mouseout",H)},touchstart:function(H){H=m(this.dom,H),s(H),this._lastTouchMoment=new Date,this.handler.processGesture(H,"start"),w.mousemove.call(this,H),w.mousedown.call(this,H)},touchmove:function(H){H=m(this.dom,H),s(H),this.handler.processGesture(H,"change"),w.mousemove.call(this,H)},touchend:function(H){H=m(this.dom,H),s(H),this.handler.processGesture(H,"end"),w.mouseup.call(this,H),+new Date-this._lastTouchMoment<a&&w.click.call(this,H)},pointerdown:function(H){w.mousedown.call(this,H)},pointermove:function(H){l(H)||w.mousemove.call(this,H)},pointerup:function(H){w.mouseup.call(this,H)},pointerout:function(H){l(H)||w.mouseout.call(this,H)}};f.each(["click","mousewheel","dblclick","contextmenu"],function(P){w[P]=function(H){H=m(this.dom,H),this.trigger(P,H)}});var b={pointermove:function(H){l(H)||b.mousemove.call(this,H)},pointerup:function(H){b.mouseup.call(this,H)},mousemove:function(H){this.trigger("mousemove",H)},mouseup:function(H){var z=this._pointerCapturing;C(this,!1),this.trigger("mouseup",H),z&&(H.zrEventControl="only_globalout",this.trigger("mouseout",H))}};function E(P,H){var z=H.domHandlers;c.pointerEventsSupported?f.each(i.pointer,function(M){_(H,M,function(U){z[M].call(P,U)})}):(c.touchEventsSupported&&f.each(i.touch,function(M){_(H,M,function(U){z[M].call(P,U),e(H)})}),f.each(i.mouse,function(M){_(H,M,function(U){U=g(U),H.touching||z[M].call(P,U)})}))}function T(P,H){c.pointerEventsSupported?f.each(o.pointer,z):c.touchEventsSupported||f.each(o.mouse,z);function z(M){function U(k){k=g(k),h(P,k.target)||(k=u(P,k),H.domHandlers[M].call(P,k))}_(H,M,U,{capture:!0})}}function _(P,H,z,M){P.mounted[H]=z,P.listenerOpts[H]=M,p(P.domTarget,r(H),z,M)}function x(P){var H=P.mounted;for(var z in H)H.hasOwnProperty(z)&&S(P.domTarget,r(z),H[z],P.listenerOpts[z]);P.mounted={}}function C(P,H){if(P._mayPointerCapture=null,n&&P._pointerCapturing^H){P._pointerCapturing=H;var z=P._globalHandlerScope;H?T(P,z):x(z)}}function I(P,H){this.domTarget=P,this.domHandlers=H,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(P,H){d.call(this),this.dom=P,this.painterRoot=H,this._localHandlerScope=new I(P,w),n&&(this._globalHandlerScope=new I(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var F=L.prototype;F.dispose=function(){x(this._localHandlerScope),n&&x(this._globalHandlerScope)},F.setCursor=function(P){this.dom.style&&(this.dom.style.cursor=P||"default")},f.mixin(L,d);var B=L;R.exports=B},zdCA: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("PSzr")),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="BarsOutlined";var c=m.forwardRef(d);N.default=c},zeV3: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.n(g),d=t("TSYQ"),c=t.n(d),a=t("H84U"),n=function(r,l){var e={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&l.indexOf(s)<0&&(e[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(r);u<s.length;u++)l.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(r,s[u])&&(e[s[u]]=r[s[u]]);return e},i={small:8,middle:16,large:24},o=function(l){var e,s=g.useContext(a.b),u=s.getPrefixCls,h=s.space,A=s.direction,v=l.size,w=v===void 0?(h==null?void 0:h.size)||"small":v,b=l.align,E=l.className,T=l.children,_=l.direction,x=_===void 0?"horizontal":_,C=l.prefixCls,I=n(l,["size","align","className","children","direction","prefixCls"]),L=g.Children.count(T);if(L===0)return null;var F=b===void 0&&x==="horizontal"?"center":b,B=u("space",C),P=c()(B,"".concat(B,"-").concat(x),(e={},m()(e,"".concat(B,"-rtl"),A==="rtl"),m()(e,"".concat(B,"-align-").concat(F),F),e),E),H="".concat(B,"-item"),z=A==="rtl"?"marginLeft":"marginRight";return g.createElement("div",p()({className:P},I),g.Children.map(T,function(M,U){return g.createElement("div",{className:H,key:"".concat(H,"-").concat(U),style:U===L-1||M===null||M===void 0?{}:m()({},x==="vertical"?"marginBottom":z,typeof w=="string"?i[w]:w)},M)}))};N.a=o},zoYe:function(R,N,t){var y=t("nmnc"),p=t("eUgh"),S=t("Z0cm"),m=t("/9aa"),g=1/0,f=y?y.prototype:void 0,d=f?f.toString:void 0;function c(a){if(typeof a=="string")return a;if(S(a))return p(a,c)+"";if(m(a))return d?d.call(a):"";var n=a+"";return n=="0"&&1/a==-g?"-0":n}R.exports=c},zuHt:function(R,N,t){var y=t("bYtY");function p(S){var m={};S.eachSeriesByType("map",function(g){var f=g.getMapType();if(g.getHostGeoModel()||m[f])return;var d={};y.each(g.seriesGroup,function(a){var n=a.coordinateSystem,i=a.originalData;a.get("showLegendSymbol")&&S.getComponent("legend")&&i.each(i.mapDimension("value"),function(o,r){var l=i.getName(r),e=n.getRegion(l);if(!e||isNaN(o))return;var s=d[l]||0,u=n.dataToPoint(e.center);d[l]=s+1,i.setItemLayout(r,{point:u,offset:s})})});var c=g.getData();c.each(function(a){var n=c.getName(a),i=c.getItemLayout(a)||{};i.showLabel=!d[n],c.setItemLayout(a,i)}),m[f]=!0})}R.exports=p}}]);
|