You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/vendors.76a0f25e.async.js

915 lines
3.9 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("6MrE"),p=i.n(E)},"+QRC":function(B,N,i){"use strict";var y=i("E9nw"),m={"text/plain":"Text","text/html":"Url",default:"Text"},E="Copy to clipboard: #{key}, Enter";function p(f){var d=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,d)}function v(f,d){var l,n,t,a,o,r,c=!1;d||(d={}),l=d.debug||!1;try{t=y(),a=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"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=m[d.format]||m.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),a.selectNodeContents(r),o.addRange(a);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");c=!0}catch(s){l&&console.error("unable to copy using execCommand: ",s),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(d.format||"text",f),d.onCopy&&d.onCopy(window.clipboardData),c=!0}catch(u){l&&console.error("unable to copy using clipboardData: ",u),l&&console.error("falling back to prompt"),n=p("message"in d?d.message:E),window.prompt(n,f)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(a):o.removeAllRanges()),r&&document.body.removeChild(r),t()}return c}B.exports=v},"+TT/":function(B,N,i){var y=i("bYtY"),m=i("mFDi"),E=i("OELB"),p=E.parsePercent,v=i("7aKB"),f=y.each,d=["left","right","top","bottom","width","height"],l=[["width","left","right"],["height","top","bottom"]];function n(A,w,b,S,_){var T=0,x=0;S==null&&(S=Infinity),_==null&&(_=Infinity);var C=0;w.eachChild(function(I,L){var M=I.position,k=I.getBoundingRect(),R=w.childAt(L+1),j=R&&R.getBoundingRect(),V,D;if(A==="horizontal"){var H=k.width+(j?-j.x+k.x:0);V=T+H,V>S||I.newline?(T=0,V=H,x+=C+b,C=k.height):C=Math.max(C,k.height)}else{var P=k.height+(j?-j.y+k.y:0);D=x+P,D>_||I.newline?(T+=C+b,x=0,D=P,C=k.width):C=Math.max(C,k.width)}if(I.newline)return;M[0]=T,M[1]=x,A==="horizontal"?T=V+b:x=D+b})}var t=n,a=y.curry(n,"vertical"),o=y.curry(n,"horizontal");function r(A,w,b){var S=w.width,_=w.height,T=p(A.x,S),x=p(A.y,_),C=p(A.x2,S),I=p(A.y2,_);return(isNaN(T)||isNaN(parseFloat(A.x)))&&(T=0),(isNaN(C)||isNaN(parseFloat(A.x2)))&&(C=S),(isNaN(x)||isNaN(parseFloat(A.y)))&&(x=0),(isNaN(I)||isNaN(parseFloat(A.y2)))&&(I=_),b=v.normalizeCssArray(b||0),{width:Math.max(C-T-b[1]-b[3],0),height:Math.max(I-x-b[0]-b[2],0)}}function c(A,w,b){b=v.normalizeCssArray(b||0);var S=w.width,_=w.height,T=p(A.left,S),x=p(A.top,_),C=p(A.right,S),I=p(A.bottom,_),L=p(A.width,S),M=p(A.height,_),k=b[2]+b[0],R=b[1]+b[3],j=A.aspect;isNaN(L)&&(L=S-C-R-T),isNaN(M)&&(M=_-I-k-x),j!=null&&(isNaN(L)&&isNaN(M)&&(j>S/_?L=S*.8:M=_*.8),isNaN(L)&&(L=j*M),isNaN(M)&&(M=L/j)),isNaN(T)&&(T=S-C-L-R),isNaN(x)&&(x=_-I-M-k);switch(A.left||A.right){case"center":T=S/2-L/2-b[3];break;case"right":T=S-L-R;break}switch(A.top||A.bottom){case"middle":case"center":x=_/2-M/2-b[0];break;case"bottom":x=_-M-k;break}T=T||0,x=x||0,isNaN(L)&&(L=S-R-T-(C||0)),isNaN(M)&&(M=_-k-x-(I||0));var V=new m(T+b[3],x+b[0],L,M);return V.margin=b,V}function e(A,w,b,S,_){var T=!_||!_.hv||_.hv[0],x=!_||!_.hv||_.hv[1],C=_&&_.boundingMode||"all";if(!T&&!x)return;var I;if(C==="raw")I=A.type==="group"?new m(0,0,+w.width||0,+w.height||0):A.getBoundingRect();else if(I=A.getBoundingRect(),A.needLocalTransform()){var L=A.getLocalTransform();I=I.clone(),I.applyTransform(L)}w=c(y.defaults({width:I.width,height:I.height},w),b,S);var M=A.position,k=T?w.x-I.x:0,R=x?w.y-I.y:0;A.attr("position",C==="raw"?[k,R]:[M[0]+k,M[1]+R])}function s(A,w){return A[l[w][0]]!=null||A[l[w][1]]!=null&&A[l[w][2]]!=null}function u(A,w,b){!y.isObject(b)&&(b={});var S=b.ignoreSize;!y.isArray(S)&&(S=[S,S]);var _=x(l[0],0),T=x(l[1],1);L(l[0],A,_),L(l[1],A,T);function x(M,k){var R={},j=0,V={},D=0,H=2;if(f(M,function(U){V[U]=A[U]}),f(M,function(U){C(w,U)&&(R[U]=V[U]=w[U]),I(R,U)&&j++,I(V,U)&&D++}),S[k])return I(w,M[1])?V[M[2]]=null:I(w,M[2])&&(V[M[1]]=null),V;if(D===H||!j)return V;if(j>=H)return R;for(var P=0;P<M.length;P++){var K=M[P];if(!C(R,K)&&C(A,K)){R[K]=A[K];break}}return R}function C(M,k){return M.hasOwnProperty(k)}function I(M,k){return M[k]!=null&&M[k]!=="auto"}function L(M,k,R){f(M,function(j){k[j]=R[j]})}}function h(A){return g({},A)}function g(A,w){return w&&A&&f(d,function(b){w.hasOwnProperty(b)&&(A[b]=w[b])}),A}N.LOCATION_PARAMS=d,N.HV_NAMES=l,N.box=t,N.vbox=a,N.hbox=o,N.getAvailableSize=r,N.getLayoutRect=c,N.positionElement=e,N.sizeCalculable=s,N.mergeLayoutParam=u,N.getLayoutParams=h,N.copyLayoutParams=g},"+Zaj":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ugBc")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CalendarOutlined";var l=p.forwardRef(d);N.default=l},"+d4F":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("y3Yb"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"+eQT":function(B,N,i){"use strict";var y=i("wd/R"),m=i.n(y),E=i("Kwbf"),p={getNow:function(){return m()()},getWeekDay:function(Dt){var ur=Dt.clone().locale("en_US");return ur.weekday()+ur.localeData().firstDayOfWeek()},getYear:function(Dt){return Dt.year()},getMonth:function(Dt){return Dt.month()},getDate:function(Dt){return Dt.date()},getHour:function(Dt){return Dt.hour()},getMinute:function(Dt){return Dt.minute()},getSecond:function(Dt){return Dt.second()},addYear:function(Dt,ur){var ar=Dt.clone();return ar.add(ur,"year")},addMonth:function(Dt,ur){var ar=Dt.clone();return ar.add(ur,"month")},addDate:function(Dt,ur){var ar=Dt.clone();return ar.add(ur,"day")},setYear:function(Dt,ur){var ar=Dt.clone();return ar.year(ur)},setMonth:function(Dt,ur){var ar=Dt.clone();return ar.month(ur)},setDate:function(Dt,ur){var ar=Dt.clone();return ar.date(ur)},setHour:function(Dt,ur){var ar=Dt.clone();return ar.hour(ur)},setMinute:function(Dt,ur){var ar=Dt.clone();return ar.minute(ur)},setSecond:function(Dt,ur){var ar=Dt.clone();return ar.second(ur)},isAfter:function(Dt,ur){return Dt.isAfter(ur)},isValidate:function(Dt){return Dt.isValid()},locale:{getWeekFirstDay:function(Dt){var ur=m()().locale(Dt);return ur.localeData().firstDayOfWeek()},getWeek:function(Dt,ur){var ar=ur.clone(),Lr=ar.locale(Dt);return Lr.week()},getShortWeekDays:function(Dt){var ur=m()().locale(Dt);return ur.localeData().weekdaysMin()},getShortMonths:function(Dt){var ur=m()().locale(Dt);return ur.localeData().monthsShort()},format:function(Dt,ur,ar){var Lr=ur.clone(),Rr=Lr.locale(Dt);return Rr.format(ar)},parse:function(Dt,ur,ar){for(var Lr=[],Rr=0;Rr<ar.length;Rr+=1){var Hr=ar[Rr],an=ur;if(Hr.includes("wo")||Hr.includes("Wo")){Hr=Hr.replace(/wo/g,"w").replace(/Wo/g,"W");var wn=Hr.match(/[-YyMmDdHhSsWwGg]+/g),In=an.match(/[-\d]+/g);wn&&In?(Hr=wn.join(""),an=In.join("")):Lr.push(Hr.replace(/o/g,""))}var Rn=m()(an,Hr,Dt,!0);if(Rn.isValid())return Rn}for(var Nn=0;Nn<Lr.length;Nn+=1){var vn=m()(ur,Lr[Nn],Dt,!1);if(vn.isValid())return Object(E.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),vn}return null}}},v=p,f=i("pVnL"),d=i.n(f),l=i("q1tI"),n=i("2/Rp");function t(Qe){return l.createElement(n.a,d()({size:"small",type:"primary"},Qe))}var a=i("mr32");function o(Qe){return l.createElement(a.a,d()({color:"blue"},Qe))}var r=i("lSNA"),c=i.n(r),e=i("lwsE"),s=i.n(e),u=i("W8MJ"),h=i.n(u),g=i("7W2i"),A=i.n(g),w=i("LQ03"),b=i.n(w),S=i("TSYQ"),_=i.n(S),T=i("r/2G"),x=i.n(T),C=i("XzQk"),I=i.n(C),L=i("kbBi"),M=i.n(L),k=i("1OyB"),R=i("vuIU"),j=i("Ji7U"),V=i("LK+K"),D=i("rePB"),H=i("VTBJ"),P=i("ODXe"),K=i("6cGi"),U=i("U8pU"),G=i("4IlW"),W=l.createContext({}),Z=W,J={visibility:"hidden"};function ve(Qe){var Dt=Qe.prefixCls,ur=Qe.prevIcon,ar=ur===void 0?"\u2039":ur,Lr=Qe.nextIcon,Rr=Lr===void 0?"\u203A":Lr,Hr=Qe.superPrevIcon,an=Hr===void 0?"\xAB":Hr,wn=Qe.superNextIcon,In=wn===void 0?"\xBB":wn,Rn=Qe.onSuperPrev,Nn=Qe.onSuperNext,vn=Qe.onPrev,Sn=Qe.onNext,Tn=Qe.children,Kn=l.useContext(Z),Qn=Kn.hideNextBtn,qn=Kn.hidePrevBtn;return l.createElement("div",{className:Dt},Rn&&l.createElement("button",{type:"button",onClick:Rn,tabIndex:-1,className:"".concat(Dt,"-super-prev-btn"),style:qn?J:{}},an),vn&&l.createElement("button",{type:"button",onClick:vn,tabIndex:-1,className:"".concat(Dt,"-prev-btn"),style:qn?J:{}},ar),l.createElement("div",{className:"".concat(Dt,"-view")},Tn),Sn&&l.createElement("button",{type:"button",onClick:Sn,tabIndex:-1,className:"".concat(Dt,"-next-btn"),style:Qn?J:{}},Rr),Nn&&l.createElement("button",{type:"button",onClick:Nn,tabIndex:-1,className:"".concat(Dt,"-super-next-btn"),style:Qn?J:{}},In))}var q=ve;function ce(Qe){var Dt=l.useContext(Z),ur=Dt.hideHeader;if(ur)return null;var ar=Qe.prefixCls,Lr=Qe.generateConfig,Rr=Qe.locale,Hr=Qe.value,an=Qe.format,wn="".concat(ar,"-header");return l.createElement(q,{prefixCls:wn},Hr?Lr.locale.format(Rr.locale,Hr,an):"\xA0")}var be=ce,Ce=i("YrtM"),Fe=i("KQm4"),fe=new Map;function Ne(Qe,Dt,ur){if(fe.get(Qe)&&cancelAnimationFrame(fe.get(Qe)),ur<=0){fe.set(Qe,requestAnimationFrame(function(){Qe.scrollTop=Dt}));return}var ar=Dt-Qe.scrollTop,Lr=ar/ur*10;fe.set(Qe,requestAnimationFrame(function(){Qe.scrollTop+=Lr,Qe.scrollTop!==Dt&&Ne(Qe,Dt,ur-10)}))}function Q(Qe,Dt){var ur=Dt.onLeftRight,ar=Dt.onCtrlLeftRight,Lr=Dt.onUpDown,Rr=Dt.onPageUpDown,Hr=Dt.onEnter,an=Qe.which,wn=Qe.ctrlKey,In=Qe.metaKey;switch(an){case G.a.LEFT:if(wn||In){if(ar)return ar(-1),!0}else if(ur)return ur(-1),!0;break;case G.a.RIGHT:if(wn||In){if(ar)return ar(1),!0}else if(ur)return ur(1),!0;break;case G.a.UP:if(Lr)return Lr(-1),!0;break;case G.a.DOWN:if(Lr)return Lr(1),!0;break;case G.a.PAGE_UP:if(Rr)return Rr(-1),!0;break;case G.a.PAGE_DOWN:if(Rr)return Rr(1),!0;break;case G.a.ENTER:if(Hr)return Hr(),!0;break}return!1}function ae(Qe,Dt,ur,ar){var Lr=Qe;if(!Lr)switch(Dt){case"time":Lr=ar?"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=ur?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Lr}function Ue(Qe,Dt){var ur=Qe==="time"?8:10;return Math.max(ur,Dt.length)+2}var te=null,X=new Set;function z(Qe){return!te&&typeof window!="undefined"&&window.addEventListener&&(te=function(ur){Object(Fe.a)(X).forEach(function(ar){ar(ur)})},window.addEventListener("mousedown",te)),X.add(Qe),function(){X.delete(Qe),X.size===0&&(window.removeEventListener("mousedown",te),te=null)}}var Y=function(Dt){return Dt==="month"||Dt==="date"?"year":Dt},pe=function(Dt){return Dt==="date"?"month":Dt},se=function(Dt){return Dt==="month"||Dt==="date"?"quarter":Dt},Te=function(Dt){return Dt==="date"?"week":Dt},Se={year:Y,month:pe,quarter:se,week:Te,time:null,date:null};function ie(Qe,Dt){return Qe.some(function(ur){return ur&&ur.contains(Dt)})}function de(Qe){var Dt=Qe.prefixCls,ur=Qe.units,ar=Qe.onSelect,Lr=Qe.value,Rr=Qe.active,Hr=Qe.hideDisabledOptions,an="".concat(Dt,"-cell"),wn=l.useContext(Z),In=wn.open,Rn=l.useRef(null),Nn=l.useRef(new Map);return l.useLayoutEffect(function(){var vn=Nn.current.get(Lr);vn&&In!==!1&&Ne(Rn.current,vn.offsetTop,120)},[Lr]),l.useLayoutEffect(function(){if(In){var vn=Nn.current.get(Lr);vn&&Ne(Rn.current,vn.offsetTop,0)}},[In]),l.createElement("ul",{className:_()("".concat(Dt,"-column"),Object(D.a)({},"".concat(Dt,"-column-active"),Rr)),ref:Rn,style:{position:"relative"}},ur.map(function(vn){var Sn;return Hr&&vn.disabled?null:l.createElement("li",{key:vn.value,ref:function(Kn){Nn.current.set(vn.value,Kn)},className:_()(an,(Sn={},Object(D.a)(Sn,"".concat(an,"-disabled"),vn.disabled),Object(D.a)(Sn,"".concat(an,"-selected"),Lr===vn.value),Sn)),onClick:function(){if(vn.disabled)return;ar(vn.value)}},l.createElement("div",{className:"".concat(an,"-inner")},vn.label))}))}var _e=de;function We(Qe,Dt){for(var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",ar=String(Qe);ar.length<Dt;)ar="".concat(ur).concat(Qe);return ar}var at=function(){for(var Dt=arguments.length,ur=new Array(Dt),ar=0;ar<Dt;ar++)ur[ar]=arguments[ar];return ur};function tt(Qe){return Qe==null?[]:Array.isArray(Qe)?Qe:[Qe]}function Oe(Qe){var Dt={};return Object.keys(Qe).forEach(function(ur){(ur.substr(0,5)==="data-"||ur.substr(0,5)==="aria-"||ur==="role"||ur==="name")&&ur.substr(0,7)!=="data-__"&&(Dt[ur]=Qe[ur])}),Dt}function yt(Qe,Dt){return Qe?Qe[Dt]:null}function Ye(Qe,Dt,ur){var ar=[yt(Qe,0),yt(Qe,1)];return ar[ur]=typeof Dt=="function"?Dt(ar[ur]):Dt,!ar[0]&&!ar[1]?null:ar}function bt(Qe,Dt,ur,ar,Lr){var Rr=Qe.setHour(Dt,ur);return Rr=Qe.setMinute(Rr,ar),Rr=Qe.setSecond(Rr,Lr),Rr}function Ct(Qe,Dt,ur,ar,Lr,Rr){var Hr=Math.floor(Qe/ar)*ar;if(Hr<Qe)return[Hr,60-Lr,60-Rr];var an=Math.floor(Dt/Lr)*Lr;if(an<Dt)return[Hr,an,60-Rr];var wn=Math.floor(ur/Rr)*Rr;return[Hr,an,wn]}function It(Qe,Dt){if(Qe.length!==Dt.length)return!0;for(var ur=0;ur<Qe.length;ur+=1)if(Qe[ur].disabled!==Dt[ur].disabled)return!0;return!1}function Ft(Qe,Dt,ur,ar){for(var Lr=[],Rr=Qe;Rr<=Dt;Rr+=ur)Lr.push({label:We(Rr,2),value:Rr,disabled:(ar||[]).includes(Rr)});return Lr}function Vt(Qe){var Dt=Qe.generateConfig,ur=Qe.prefixCls,ar=Qe.operationRef,Lr=Qe.activeColumnIndex,Rr=Qe.value,Hr=Qe.showHour,an=Qe.showMinute,wn=Qe.showSecond,In=Qe.use12Hours,Rn=Qe.hourStep,Nn=Rn===void 0?1:Rn,vn=Qe.minuteStep,Sn=vn===void 0?1:vn,Tn=Qe.secondStep,Kn=Tn===void 0?1:Tn,Qn=Qe.disabledHours,qn=Qe.disabledMinutes,bi=Qe.disabledSeconds,gi=Qe.hideDisabledOptions,Ri=Qe.onSelect,Bi=[],xi="".concat(ur,"-content"),Ti="".concat(ur,"-time-panel"),Di,Pn=Rr?Dt.getHour(Rr):-1,_i=Rr?Dt.getMinute(Rr):-1,ji=Rr?Dt.getSecond(Rr):-1,mr=function(Gn,ei,Ci,Qi){var ua=Rr||Dt.getNow(),ha=Math.max(0,ei),la=Math.max(0,Ci),da=Math.max(0,Qi);return ua=bt(Dt,ua,!In||!Gn?ha:ha+12,la,da),ua},Dr=Ft(0,23,Nn,Qn&&Qn()),Gr=Object(Ce.a)(function(){return Dr},Dr,It);In&&(Di=Pn>=12,Pn%=12);var Nr=l.useMemo(function(){if(!In)return[!1,!1];var Bn=[!0,!0];return Gr.forEach(function(Gn){var ei=Gn.disabled,Ci=Gn.value;if(ei)return;Ci>=12?Bn[1]=!1:Bn[0]=!1}),Bn},[In,Gr]),Gt=Object(P.a)(Nr,2),xr=Gt[0],rr=Gt[1],Pr=l.useMemo(function(){return In?Gr.filter(Di?function(Bn){return Bn.value>=12}:function(Bn){return Bn.value<12}).map(function(Bn){var Gn=Bn.value%12,ei=Gn===0?"12":We(Gn,2);return Object(H.a)(Object(H.a)({},Bn),{},{label:ei,value:Gn})}):Gr},[In,Gr]),kr=Ft(0,59,Sn,qn&&qn(Pn)),dn=Ft(0,59,Kn,bi&&bi(Pn,_i));ar.current={onUpDown:function(Gn){var ei=Bi[Lr];if(ei)for(var Ci=ei.units.findIndex(function(la){return la.value===ei.value}),Qi=ei.units.length,ua=1;ua<Qi;ua+=1){var ha=ei.units[(Ci+Gn*ua+Qi)%Qi];if(ha.disabled!==!0){ei.onSelect(ha.value);break}}}};function ln(Bn,Gn,ei,Ci,Qi){Bn!==!1&&Bi.push({node:l.cloneElement(Gn,{prefixCls:Ti,value:ei,active:Lr===Bi.length,onSelect:Qi,units:Ci,hideDisabledOptions:gi}),onSelect:Qi,value:ei,units:Ci})}ln(Hr,l.createElement(_e,{key:"hour"}),Pn,Pr,function(Bn){Ri(mr(Di,Bn,_i,ji),"mouse")}),ln(an,l.createElement(_e,{key:"minute"}),_i,kr,function(Bn){Ri(mr(Di,Pn,Bn,ji),"mouse")}),ln(wn,l.createElement(_e,{key:"second"}),ji,dn,function(Bn){Ri(mr(Di,Pn,_i,Bn),"mouse")});var yn=-1;return typeof Di=="boolean"&&(yn=Di?1:0),ln(In===!0,l.createElement(_e,{key:"12hours"}),yn,[{label:"AM",value:0,disabled:xr},{label:"PM",value:1,disabled:rr}],function(Bn){Ri(mr(!!Bn,Pn,_i,ji),"mouse")}),l.createElement("div",{className:xi},Bi.map(function(Bn){var Gn=Bn.node;return Gn}))}var $e=Vt,ge=function(Dt){return Dt.filter(function(ur){return ur!==!1}).length};function ne(Qe){var Dt=Qe.generateConfig,ur=Qe.format,ar=ur===void 0?"HH:mm:ss":ur,Lr=Qe.prefixCls,Rr=Qe.active,Hr=Qe.operationRef,an=Qe.showHour,wn=Qe.showMinute,In=Qe.showSecond,Rn=Qe.use12Hours,Nn=Rn===void 0?!1:Rn,vn=Qe.onSelect,Sn=Qe.value,Tn="".concat(Lr,"-time-panel"),Kn=l.useRef(),Qn=l.useState(-1),qn=Object(P.a)(Qn,2),bi=qn[0],gi=qn[1],Ri=ge([an,wn,In,Nn]);return Hr.current={onKeyDown:function(xi){return Q(xi,{onLeftRight:function(Di){gi((bi+Di+Ri)%Ri)},onUpDown:function(Di){bi===-1?gi(0):Kn.current&&Kn.current.onUpDown(Di)},onEnter:function(){vn(Sn||Dt.getNow(),"key"),gi(-1)}})},onBlur:function(){gi(-1)}},l.createElement("div",{className:_()(Tn,Object(D.a)({},"".concat(Tn,"-active"),Rr))},l.createElement(be,Object.assign({},Qe,{format:ar,prefixCls:Lr})),l.createElement($e,Object.assign({},Qe,{prefixCls:Lr,activeColumnIndex:bi,operationRef:Kn})))}var wt=ne,qe=7;function he(Qe,Dt){return!Qe&&!Dt?!0:!Qe||!Dt?!1:void 0}function kt(Qe,Dt,ur){var ar=he(Dt,ur);if(typeof ar=="boolean")return ar;var Lr=Math.floor(Qe.getYear(Dt)/10),Rr=Math.floor(Qe.getYear(ur)/10);return Lr===Rr}function nr(Qe,Dt,ur){var ar=he(Dt,ur);return typeof ar=="boolean"?ar:Qe.getYear(Dt)===Qe.getYear(ur)}function lt(Qe,Dt){var ur=Math.floor(Qe.getMonth(Dt)/3);return ur+1}function Xt(Qe,Dt,ur){var ar=he(Dt,ur);return typeof ar=="boolean"?ar:nr(Qe,Dt,ur)&&lt(Qe,Dt)===lt(Qe,ur)}function hr(Qe,Dt,ur){var ar=he(Dt,ur);return typeof ar=="boolean"?ar:nr(Qe,Dt,ur)&&Qe.getMonth(Dt)===Qe.getMonth(ur)}function Wr(Qe,Dt,ur){var ar=he(Dt,ur);return typeof ar=="boolean"?ar:Qe.getYear(Dt)===Qe.getYear(ur)&&Qe.getMonth(Dt)===Qe.getMonth(ur)&&Qe.getDate(Dt)===Qe.getDate(ur)}function mt(Qe,Dt,ur){var ar=he(Dt,ur);return typeof ar=="boolean"?ar:Qe.getHour(Dt)===Qe.getHour(ur)&&Qe.getMinute(Dt)===Qe.getMinute(ur)&&Qe.getSecond(Dt)===Qe.getSecond(ur)}function Et(Qe,Dt,ur,ar){var Lr=he(ur,ar);return typeof Lr=="boolean"?Lr:Qe.locale.getWeek(Dt,ur)===Qe.locale.getWeek(Dt,ar)}function rt(Qe,Dt,ur){return Wr(Qe,Dt,ur)&&mt(Qe,Dt,ur)}function He(Qe,Dt,ur,ar){return!Dt||!ur||!ar?!1:!Wr(Qe,Dt,ar)&&!Wr(Qe,ur,ar)&&Qe.isAfter(ar,Dt)&&Qe.isAfter(ur,ar)}function ze(Qe,Dt,ur){var ar=Dt.locale.getWeekFirstDay(Qe),Lr=Dt.setDate(ur,1),Rr=Dt.getWeekDay(Lr),Hr=Dt.addDate(Lr,ar-Rr);return Dt.getMonth(Hr)===Dt.getMonth(ur)&&Dt.getDate(Hr)>1&&(Hr=Dt.addDate(Hr,-7)),Hr}function Rt(Qe,Dt,ur){var ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Dt){case"year":return ur.addYear(Qe,ar*10);case"quarter":case"month":return ur.addYear(Qe,ar);default:return ur.addMonth(Qe,ar)}}var sr=l.createContext({}),Jt=sr;function qt(Qe){var Dt=Qe.cellPrefixCls,ur=Qe.generateConfig,ar=Qe.rangedValue,Lr=Qe.hoverRangedValue,Rr=Qe.isInView,Hr=Qe.isSameCell,an=Qe.offsetCell,wn=Qe.today,In=Qe.value;function Rn(Nn){var vn,Sn=an(Nn,-1),Tn=an(Nn,1),Kn=yt(ar,0),Qn=yt(ar,1),qn=yt(Lr,0),bi=yt(Lr,1),gi=He(ur,qn,bi,Nn);function Ri(_i){return Hr(Kn,_i)}function Bi(_i){return Hr(Qn,_i)}var xi=Hr(qn,Nn),Ti=Hr(bi,Nn),Di=(gi||Ti)&&(!Rr(Sn)||Bi(Sn)),Pn=(gi||xi)&&(!Rr(Tn)||Ri(Tn));return vn={},Object(D.a)(vn,"".concat(Dt,"-in-view"),Rr(Nn)),Object(D.a)(vn,"".concat(Dt,"-in-range"),He(ur,Kn,Qn,Nn)),Object(D.a)(vn,"".concat(Dt,"-range-start"),Ri(Nn)),Object(D.a)(vn,"".concat(Dt,"-range-end"),Bi(Nn)),Object(D.a)(vn,"".concat(Dt,"-range-start-single"),Ri(Nn)&&!Qn),Object(D.a)(vn,"".concat(Dt,"-range-end-single"),Bi(Nn)&&!Kn),Object(D.a)(vn,"".concat(Dt,"-range-start-near-hover"),Ri(Nn)&&(Hr(Sn,qn)||He(ur,qn,bi,Sn))),Object(D.a)(vn,"".concat(Dt,"-range-end-near-hover"),Bi(Nn)&&(Hr(Tn,bi)||He(ur,qn,bi,Tn))),Object(D.a)(vn,"".concat(Dt,"-range-hover"),gi),Object(D.a)(vn,"".concat(Dt,"-range-hover-start"),xi),Object(D.a)(vn,"".concat(Dt,"-range-hover-end"),Ti),Object(D.a)(vn,"".concat(Dt,"-range-hover-edge-start"),Di),Object(D.a)(vn,"".concat(Dt,"-range-hover-edge-end"),Pn),Object(D.a)(vn,"".concat(Dt,"-range-hover-edge-start-near-range"),Di&&Hr(Sn,Qn)),Object(D.a)(vn,"".concat(Dt,"-range-hover-edge-end-near-range"),Pn&&Hr(Tn,Kn)),Object(D.a)(vn,"".concat(Dt,"-today"),Hr(wn,Nn)),Object(D.a)(vn,"".concat(Dt,"-selected"),Hr(In,Nn)),vn}return Rn}function qr(Qe){for(var Dt=Qe.prefixCls,ur=Qe.disabledDate,ar=Qe.onSelect,Lr=Qe.rowNum,Rr=Qe.colNum,Hr=Qe.prefixColumn,an=Qe.rowClassName,wn=Qe.baseDate,In=Qe.getCellClassName,Rn=Qe.getCellText,Nn=Qe.getCellNode,vn=Qe.getCellDate,Sn=Qe.titleCell,Tn=Qe.headerCells,Kn=l.useContext(Z),Qn=Kn.onDateMouseEnter,qn=Kn.onDateMouseLeave,bi="".concat(Dt,"-cell"),gi=[],Ri=0;Ri<Lr;Ri+=1){for(var Bi=[],xi=void 0,Ti=function(_i){var ji=Ri*Rr+_i,mr=vn(wn,ji),Dr=ur&&ur(mr);_i===0&&(xi=mr,Hr&&Bi.push(Hr(xi))),Bi.push(l.createElement("td",{key:_i,title:Sn&&Sn(mr),className:_()(bi,Object(H.a)(Object(D.a)({},"".concat(bi,"-disabled"),Dr),In(mr))),onClick:function(){Dr||ar(mr)},onMouseEnter:function(){!Dr&&Qn&&Qn(mr)},onMouseLeave:function(){!Dr&&qn&&qn(mr)}},Nn?Nn(mr):l.createElement("div",{className:"".concat(bi,"-inner")},Rn(mr))))},Di=0;Di<Rr;Di+=1)Ti(Di);gi.push(l.createElement("tr",{key:Ri,className:an&&an(xi)},Bi))}return l.createElement("div",{className:"".concat(Dt,"-body")},l.createElement("table",{className:"".concat(Dt,"-content")},Tn&&l.createElement("thead",null,l.createElement("tr",null,Tn)),l.createElement("tbody",null,gi)))}function Fr(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.prefixColumn,Lr=Qe.locale,Rr=Qe.rowCount,Hr=Qe.viewDate,an=Qe.value,wn=Qe.dateRender,In=l.useContext(Jt),Rn=In.rangedValue,Nn=In.hoverRangedValue,vn=ze(Lr.locale,ur,Hr),Sn="".concat(Dt,"-cell"),Tn=ur.locale.getWeekFirstDay(Lr.locale),Kn=ur.getNow(),Qn=[],qn=Lr.shortWeekDays||(ur.locale.getShortWeekDays?ur.locale.getShortWeekDays(Lr.locale):[]);ar&&Qn.push(l.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var bi=0;bi<qe;bi+=1)Qn.push(l.createElement("th",{key:bi},qn[(bi+Tn)%qe]));var gi=qt({cellPrefixCls:Sn,today:Kn,value:an,generateConfig:ur,rangedValue:ar?null:Rn,hoverRangedValue:ar?null:Nn,isSameCell:function(xi,Ti){return Wr(ur,xi,Ti)},isInView:function(xi){return hr(ur,xi,Hr)},offsetCell:function(xi,Ti){return ur.addDate(xi,Ti)}}),Ri=wn?function(Bi){return wn(Bi,Kn)}:void 0;return l.createElement(qr,Object.assign({},Qe,{rowNum:Rr,colNum:qe,baseDate:vn,getCellNode:Ri,getCellText:ur.getDate,getCellClassName:gi,getCellDate:ur.addDate,titleCell:function(xi){return ur.locale.format(Lr.locale,xi,"YYYY-MM-DD")},headerCells:Qn}))}var mn=Fr;function Tt(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.locale,Lr=Qe.viewDate,Rr=Qe.onNextMonth,Hr=Qe.onPrevMonth,an=Qe.onNextYear,wn=Qe.onPrevYear,In=Qe.onYearClick,Rn=Qe.onMonthClick,Nn=l.useContext(Z),vn=Nn.hideHeader;if(vn)return null;var Sn="".concat(Dt,"-header"),Tn=ar.shortMonths||(ur.locale.getShortMonths?ur.locale.getShortMonths(ar.locale):[]),Kn=ur.getMonth(Lr),Qn=l.createElement("button",{type:"button",key:"year",onClick:In,tabIndex:-1,className:"".concat(Dt,"-year-btn")},ur.locale.format(ar.locale,Lr,ar.yearFormat)),qn=l.createElement("button",{type:"button",key:"month",onClick:Rn,tabIndex:-1,className:"".concat(Dt,"-month-btn")},ar.monthFormat?ur.locale.format(ar.locale,Lr,ar.monthFormat):Tn[Kn]),bi=ar.monthBeforeYear?[qn,Qn]:[Qn,qn];return l.createElement(q,Object.assign({},Qe,{prefixCls:Sn,onSuperPrev:wn,onPrev:Hr,onNext:Rr,onSuperNext:an}),bi)}var St=Tt,Re=6;function Ve(Qe){var Dt=Qe.prefixCls,ur=Qe.panelName,ar=ur===void 0?"date":ur,Lr=Qe.keyboardConfig,Rr=Qe.active,Hr=Qe.operationRef,an=Qe.generateConfig,wn=Qe.value,In=Qe.viewDate,Rn=Qe.onViewDateChange,Nn=Qe.onPanelChange,vn=Qe.onSelect,Sn="".concat(Dt,"-").concat(ar,"-panel");Hr.current={onKeyDown:function(qn){return Q(qn,Object(H.a)({onLeftRight:function(gi){vn(an.addDate(wn||In,gi),"key")},onCtrlLeftRight:function(gi){vn(an.addYear(wn||In,gi),"key")},onUpDown:function(gi){vn(an.addDate(wn||In,gi*qe),"key")},onPageUpDown:function(gi){vn(an.addMonth(wn||In,gi),"key")}},Lr))}};var Tn=function(qn){var bi=an.addYear(In,qn);Rn(bi),Nn(null,bi)},Kn=function(qn){var bi=an.addMonth(In,qn);Rn(bi),Nn(null,bi)};return l.createElement("div",{className:_()(Sn,Object(D.a)({},"".concat(Sn,"-active"),Rr))},l.createElement(St,Object.assign({},Qe,{prefixCls:Dt,value:wn,viewDate:In,onPrevYear:function(){Tn(-1)},onNextYear:function(){Tn(1)},onPrevMonth:function(){Kn(-1)},onNextMonth:function(){Kn(1)},onMonthClick:function(){Nn("month",In)},onYearClick:function(){Nn("year",In)}})),l.createElement(mn,Object.assign({},Qe,{onSelect:function(qn){return vn(qn,"mouse")},prefixCls:Dt,value:wn,viewDate:In,rowCount:Re})))}var Xe=Ve;function ct(Qe,Dt,ur){if(!ur)return Dt;var ar=Dt;return ar=Qe.setHour(ar,Qe.getHour(ur)),ar=Qe.setMinute(ar,Qe.getMinute(ur)),ar=Qe.setSecond(ar,Qe.getSecond(ur)),ar}var tr=at("date","time");function ir(Qe){var Dt=Qe.prefixCls,ur=Qe.operationRef,ar=Qe.generateConfig,Lr=Qe.value,Rr=Qe.defaultValue,Hr=Qe.disabledTime,an=Qe.showTime,wn=Qe.onSelect,In="".concat(Dt,"-datetime-panel"),Rn=l.useState(null),Nn=Object(P.a)(Rn,2),vn=Nn[0],Sn=Nn[1],Tn=l.useRef({}),Kn=l.useRef({}),Qn=Object(U.a)(an)==="object"?Object(H.a)({},an):{};function qn(Bi){var xi=tr.indexOf(vn)+Bi,Ti=tr[xi]||null;return Ti}var bi=function(xi){Kn.current.onBlur&&Kn.current.onBlur(xi),Sn(null)};ur.current={onKeyDown:function(xi){if(xi.which===G.a.TAB){var Ti=qn(xi.shiftKey?-1:1);return Sn(Ti),Ti&&xi.preventDefault(),!0}if(vn){var Di=vn==="date"?Tn:Kn;return Di.current&&Di.current.onKeyDown&&Di.current.onKeyDown(xi),!0}return[G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN].includes(xi.which)?(Sn("date"),!0):!1},onBlur:bi,onClose:bi};var gi=function(xi,Ti){var Di=xi;Ti==="date"&&!Lr&&Qn.defaultValue?(Di=ar.setHour(Di,ar.getHour(Qn.defaultValue)),Di=ar.setMinute(Di,ar.getMinute(Qn.defaultValue)),Di=ar.setSecond(Di,ar.getSecond(Qn.defaultValue))):Ti==="time"&&!Lr&&Rr&&(Di=ar.setYear(Di,ar.getYear(Rr)),Di=ar.setMonth(Di,ar.getMonth(Rr)),Di=ar.setDate(Di,ar.getDate(Rr))),wn&&wn(Di,"mouse")},Ri=Hr?Hr(Lr||null):{};return l.createElement("div",{className:_()(In,Object(D.a)({},"".concat(In,"-active"),vn))},l.createElement(Xe,Object.assign({},Qe,{operationRef:Tn,active:vn==="date",onSelect:function(xi){gi(ct(ar,xi,an&&Object(U.a)(an)==="object"?an.defaultValue:null),"date")}})),l.createElement(wt,Object.assign({},Qe,{format:void 0},Qn,Ri,{defaultValue:void 0,operationRef:Kn,active:vn==="time",onSelect:function(xi){gi(xi,"time")}})))}var or=ir;function Xr(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.locale,Lr=Qe.value,Rr="".concat(Dt,"-cell"),Hr=function(Rn){return l.createElement("td",{key:"week",className:_()(Rr,"".concat(Rr,"-week"))},ur.locale.getWeek(ar.locale,Rn))},an="".concat(Dt,"-week-panel-row"),wn=function(Rn){return _()(an,Object(D.a)({},"".concat(an,"-selected"),Et(ur,ar.locale,Lr,Rn)))};return l.createElement(Xe,Object.assign({},Qe,{panelName:"week",prefixColumn:Hr,rowClassName:wn,keyboardConfig:{onLeftRight:null}}))}var Yr=Xr;function bn(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.locale,Lr=Qe.viewDate,Rr=Qe.onNextYear,Hr=Qe.onPrevYear,an=Qe.onYearClick,wn=l.useContext(Z),In=wn.hideHeader;if(In)return null;var Rn="".concat(Dt,"-header");return l.createElement(q,Object.assign({},Qe,{prefixCls:Rn,onSuperPrev:Hr,onSuperNext:Rr}),l.createElement("button",{type:"button",onClick:an,className:"".concat(Dt,"-year-btn")},ur.locale.format(ar.locale,Lr,ar.yearFormat)))}var Yt=bn,pt=3,ht=4;function Zt(Qe){var Dt=Qe.prefixCls,ur=Qe.locale,ar=Qe.value,Lr=Qe.viewDate,Rr=Qe.generateConfig,Hr=Qe.monthCellRender,an=l.useContext(Jt),wn=an.rangedValue,In=an.hoverRangedValue,Rn="".concat(Dt,"-cell"),Nn=qt({cellPrefixCls:Rn,value:ar,generateConfig:Rr,rangedValue:wn,hoverRangedValue:In,isSameCell:function(Qn,qn){return hr(Rr,Qn,qn)},isInView:function(){return!0},offsetCell:function(Qn,qn){return Rr.addMonth(Qn,qn)}}),vn=ur.shortMonths||(Rr.locale.getShortMonths?Rr.locale.getShortMonths(ur.locale):[]),Sn=Rr.setMonth(Lr,0),Tn=Hr?function(Kn){return Hr(Kn,ur)}:void 0;return l.createElement(qr,Object.assign({},Qe,{rowNum:ht,colNum:pt,baseDate:Sn,getCellNode:Tn,getCellText:function(Qn){return ur.monthFormat?Rr.locale.format(ur.locale,Qn,ur.monthFormat):vn[Rr.getMonth(Qn)]},getCellClassName:Nn,getCellDate:Rr.addMonth,titleCell:function(Qn){return Rr.locale.format(ur.locale,Qn,"YYYY-MM")}}))}var $t=Zt;function At(Qe){var Dt=Qe.prefixCls,ur=Qe.operationRef,ar=Qe.onViewDateChange,Lr=Qe.generateConfig,Rr=Qe.value,Hr=Qe.viewDate,an=Qe.onPanelChange,wn=Qe.onSelect,In="".concat(Dt,"-month-panel");ur.current={onKeyDown:function(vn){return Q(vn,{onLeftRight:function(Tn){wn(Lr.addMonth(Rr||Hr,Tn),"key")},onCtrlLeftRight:function(Tn){wn(Lr.addYear(Rr||Hr,Tn),"key")},onUpDown:function(Tn){wn(Lr.addMonth(Rr||Hr,Tn*pt),"key")},onEnter:function(){an("date",Rr||Hr)}})}};var Rn=function(vn){var Sn=Lr.addYear(Hr,vn);ar(Sn),an(null,Sn)};return l.createElement("div",{className:In},l.createElement(Yt,Object.assign({},Qe,{prefixCls:Dt,onPrevYear:function(){Rn(-1)},onNextYear:function(){Rn(1)},onYearClick:function(){an("year",Hr)}})),l.createElement($t,Object.assign({},Qe,{prefixCls:Dt,onSelect:function(vn){wn(vn,"mouse"),an("date",vn)}})))}var Pt=At;function gt(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.locale,Lr=Qe.viewDate,Rr=Qe.onNextYear,Hr=Qe.onPrevYear,an=Qe.onYearClick,wn=l.useContext(Z),In=wn.hideHeader;if(In)return null;var Rn="".concat(Dt,"-header");return l.createElement(q,Object.assign({},Qe,{prefixCls:Rn,onSuperPrev:Hr,onSuperNext:Rr}),l.createElement("button",{type:"button",onClick:an,className:"".concat(Dt,"-year-btn")},ur.locale.format(ar.locale,Lr,ar.yearFormat)))}var Wt=gt,yr=4,cr=1;function pr(Qe){var Dt=Qe.prefixCls,ur=Qe.locale,ar=Qe.value,Lr=Qe.viewDate,Rr=Qe.generateConfig,Hr=l.useContext(Jt),an=Hr.rangedValue,wn=Hr.hoverRangedValue,In="".concat(Dt,"-cell"),Rn=qt({cellPrefixCls:In,value:ar,generateConfig:Rr,rangedValue:an,hoverRangedValue:wn,isSameCell:function(Sn,Tn){return Xt(Rr,Sn,Tn)},isInView:function(){return!0},offsetCell:function(Sn,Tn){return Rr.addMonth(Sn,Tn*3)}}),Nn=Rr.setDate(Rr.setMonth(Lr,0),1);return l.createElement(qr,Object.assign({},Qe,{rowNum:cr,colNum:yr,baseDate:Nn,getCellText:function(Sn){return Rr.locale.format(ur.locale,Sn,ur.quarterFormat||"[Q]Q")},getCellClassName:Rn,getCellDate:function(Sn,Tn){return Rr.addMonth(Sn,Tn*3)},titleCell:function(Sn){return Rr.locale.format(ur.locale,Sn,"YYYY-[Q]Q")}}))}var Qr=pr;function $r(Qe){var Dt=Qe.prefixCls,ur=Qe.operationRef,ar=Qe.onViewDateChange,Lr=Qe.generateConfig,Rr=Qe.value,Hr=Qe.viewDate,an=Qe.onPanelChange,wn=Qe.onSelect,In="".concat(Dt,"-quarter-panel");ur.current={onKeyDown:function(vn){return Q(vn,{onLeftRight:function(Tn){wn(Lr.addMonth(Rr||Hr,Tn*3),"key")},onCtrlLeftRight:function(Tn){wn(Lr.addYear(Rr||Hr,Tn),"key")},onUpDown:function(Tn){wn(Lr.addYear(Rr||Hr,Tn),"key")}})}};var Rn=function(vn){var Sn=Lr.addYear(Hr,vn);ar(Sn),an(null,Sn)};return l.createElement("div",{className:In},l.createElement(Wt,Object.assign({},Qe,{prefixCls:Dt,onPrevYear:function(){Rn(-1)},onNextYear:function(){Rn(1)},onYearClick:function(){an("year",Hr)}})),l.createElement(Qr,Object.assign({},Qe,{prefixCls:Dt,onSelect:function(vn){wn(vn,"mouse")}})))}var Ln=$r;function Mn(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.viewDate,Lr=Qe.onPrevDecade,Rr=Qe.onNextDecade,Hr=Qe.onDecadeClick,an=l.useContext(Z),wn=an.hideHeader;if(wn)return null;var In="".concat(Dt,"-header"),Rn=ur.getYear(ar),Nn=Math.floor(Rn/xe)*xe,vn=Nn+xe-1;return l.createElement(q,Object.assign({},Qe,{prefixCls:In,onSuperPrev:Lr,onSuperNext:Rr}),l.createElement("button",{type:"button",onClick:Hr,className:"".concat(Dt,"-decade-btn")},Nn,"-",vn))}var Vn=Mn,ii=3,Li=4;function Pi(Qe){var Dt=Qe.prefixCls,ur=Qe.value,ar=Qe.viewDate,Lr=Qe.locale,Rr=Qe.generateConfig,Hr=l.useContext(Jt),an=Hr.rangedValue,wn=Hr.hoverRangedValue,In="".concat(Dt,"-cell"),Rn=Rr.getYear(ar),Nn=Math.floor(Rn/xe)*xe,vn=Nn+xe-1,Sn=Rr.setYear(ar,Nn-Math.ceil((ii*Li-xe)/2)),Tn=function(qn){var bi=Rr.getYear(qn);return Nn<=bi&&bi<=vn},Kn=qt({cellPrefixCls:In,value:ur,generateConfig:Rr,rangedValue:an,hoverRangedValue:wn,isSameCell:function(qn,bi){return nr(Rr,qn,bi)},isInView:Tn,offsetCell:function(qn,bi){return Rr.addYear(qn,bi)}});return l.createElement(qr,Object.assign({},Qe,{rowNum:Li,colNum:ii,baseDate:Sn,getCellText:Rr.getYear,getCellClassName:Kn,getCellDate:Rr.addYear,titleCell:function(qn){return Rr.locale.format(Lr.locale,qn,"YYYY")}}))}var Ze=Pi,xe=10;function Me(Qe){var Dt=Qe.prefixCls,ur=Qe.operationRef,ar=Qe.onViewDateChange,Lr=Qe.generateConfig,Rr=Qe.value,Hr=Qe.viewDate,an=Qe.sourceMode,wn=Qe.onSelect,In=Qe.onPanelChange,Rn="".concat(Dt,"-year-panel");ur.current={onKeyDown:function(Sn){return Q(Sn,{onLeftRight:function(Kn){wn(Lr.addYear(Rr||Hr,Kn),"key")},onCtrlLeftRight:function(Kn){wn(Lr.addYear(Rr||Hr,Kn*xe),"key")},onUpDown:function(Kn){wn(Lr.addYear(Rr||Hr,Kn*ii),"key")},onEnter:function(){In(an==="date"?"date":"month",Rr||Hr)}})}};var Nn=function(Sn){var Tn=Lr.addYear(Hr,Sn*10);ar(Tn),In(null,Tn)};return l.createElement("div",{className:Rn},l.createElement(Vn,Object.assign({},Qe,{prefixCls:Dt,onPrevDecade:function(){Nn(-1)},onNextDecade:function(){Nn(1)},onDecadeClick:function(){In("decade",Hr)}})),l.createElement(Ze,Object.assign({},Qe,{prefixCls:Dt,onSelect:function(Sn){In(an==="date"?"date":"month",Sn),wn(Sn,"mouse")}})))}var ke=Me;function Ge(Qe){var Dt=Qe.prefixCls,ur=Qe.generateConfig,ar=Qe.viewDate,Lr=Qe.onPrevDecades,Rr=Qe.onNextDecades,Hr=l.useContext(Z),an=Hr.hideHeader;if(an)return null;var wn="".concat(Dt,"-header"),In=ur.getYear(ar),Rn=Math.floor(In/Ar)*Ar,Nn=Rn+Ar-1;return l.createElement(q,Object.assign({},Qe,{prefixCls:wn,onSuperPrev:Lr,onSuperNext:Rr}),Rn,"-",Nn)}var Ke=Ge,Je=3,vt=4;function ot(Qe){var Dt=br-1,ur=Qe.prefixCls,ar=Qe.viewDate,Lr=Qe.generateConfig,Rr=Qe.disabledDate,Hr="".concat(ur,"-cell"),an=Lr.getYear(ar),wn=Math.floor(an/br)*br,In=Math.floor(an/Ar)*Ar,Rn=In+Ar-1,Nn=Lr.setYear(ar,In-Math.ceil((Je*vt*br-Ar)/2)),vn=function(Tn){var Kn,Qn=Rr&&Rr(Tn),qn=Lr.getYear(Tn),bi=qn+Dt;return Kn={},Object(D.a)(Kn,"".concat(Hr,"-disabled"),Qn),Object(D.a)(Kn,"".concat(Hr,"-in-view"),In<=qn&&bi<=Rn),Object(D.a)(Kn,"".concat(Hr,"-selected"),qn===wn),Kn};return l.createElement(qr,Object.assign({},Qe,{rowNum:vt,colNum:Je,baseDate:Nn,getCellText:function(Tn){var Kn=Lr.getYear(Tn);return"".concat(Kn,"-").concat(Kn+Dt)},getCellClassName:vn,getCellDate:function(Tn,Kn){return Lr.addYear(Tn,Kn*br)}}))}var Ut=ot,br=10,Ar=br*10;function Or(Qe){var Dt=Qe.prefixCls,ur=Qe.onViewDateChange,ar=Qe.generateConfig,Lr=Qe.viewDate,Rr=Qe.operationRef,Hr=Qe.onSelect,an=Qe.onPanelChange,wn="".concat(Dt,"-decade-panel");Rr.current={onKeyDown:function(vn){return Q(vn,{onLeftRight:function(Tn){Hr(ar.addYear(Lr,Tn*br),"key")},onCtrlLeftRight:function(Tn){Hr(ar.addYear(Lr,Tn*Ar),"key")},onUpDown:function(Tn){Hr(ar.addYear(Lr,Tn*br*Je),"key")},onEnter:function(){an("year",Lr)}})}};var In=function(vn){var Sn=ar.addYear(Lr,vn*Ar);ur(Sn),an(null,Sn)},Rn=function(vn){Hr(vn,"mouse"),an("year",vn)};return l.createElement("div",{className:wn},l.createElement(Ke,Object.assign({},Qe,{prefixCls:Dt,onPrevDecades:function(){In(-1)},onNextDecades:function(){In(1)}})),l.createElement(Ut,Object.assign({},Qe,{prefixCls:Dt,onSelect:Rn})))}var zt=Or;function un(Qe,Dt,ur){return ur?l.createElement("div",{className:"".concat(Qe,"-footer-extra")},ur(Dt)):null}function lr(Qe){var Dt=Qe.prefixCls,ur=Qe.rangeList,ar=ur===void 0?[]:ur,Lr=Qe.components,Rr=Lr===void 0?{}:Lr,Hr=Qe.needConfirmButton,an=Qe.onNow,wn=Qe.onOk,In=Qe.okDisabled,Rn=Qe.showNow,Nn=Qe.locale,vn,Sn;if(ar.length){var Tn=Rr.rangeItem||"span";vn=l.createElement(l.Fragment,null,ar.map(function(Qn){var qn=Qn.label,bi=Qn.onClick,gi=Qn.onMouseEnter,Ri=Qn.onMouseLeave;return l.createElement("li",{key:qn,className:"".concat(Dt,"-preset")},l.createElement(Tn,{onClick:bi,onMouseEnter:gi,onMouseLeave:Ri},qn))}))}if(Hr){var Kn=Rr.button||"button";an&&!vn&&Rn!==!1&&(vn=l.createElement("li",{className:"".concat(Dt,"-now")},l.createElement("a",{className:"".concat(Dt,"-now-btn"),onClick:an},Nn.now))),Sn=Hr&&l.createElement("li",{className:"".concat(Dt,"-ok")},l.createElement(Kn,{disabled:In,onClick:wn},Nn.ok))}return!vn&&!Sn?null:l.createElement("ul",{className:"".concat(Dt,"-ranges")},vn,Sn)}function Vr(Qe){var Dt,ur=Qe.prefixCls,ar=ur===void 0?"rc-picker":ur,Lr=Qe.className,Rr=Qe.style,Hr=Qe.locale,an=Qe.generateConfig,wn=Qe.value,In=Qe.defaultValue,Rn=Qe.pickerValue,Nn=Qe.defaultPickerValue,vn=Qe.disabledDate,Sn=Qe.mode,Tn=Qe.picker,Kn=Tn===void 0?"date":Tn,Qn=Qe.tabIndex,qn=Qn===void 0?0:Qn,bi=Qe.showNow,gi=Qe.showTime,Ri=Qe.showToday,Bi=Qe.renderExtraFooter,xi=Qe.hideHeader,Ti=Qe.onSelect,Di=Qe.onChange,Pn=Qe.onPanelChange,_i=Qe.onMouseDown,ji=Qe.onPickerValueChange,mr=Qe.onOk,Dr=Qe.components,Gr=Qe.direction,Nr=Qe.hourStep,Gt=Nr===void 0?1:Nr,xr=Qe.minuteStep,rr=xr===void 0?1:xr,Pr=Qe.secondStep,kr=Pr===void 0?1:Pr,dn=Kn==="date"&&!!gi||Kn==="time",ln=24%Gt===0,yn=60%rr===0,Bn=60%kr===0,Gn=l.useContext(Z),ei=Gn.operationRef,Ci=Gn.panelRef,Qi=Gn.onSelect,ua=Gn.hideRanges,ha=Gn.defaultOpenValue,la=l.useContext(Jt),da=la.inRange,Wi=la.panelPosition,Mi=la.rangedValue,na=la.hoverRangedValue,ea=l.useRef({}),_a=l.useRef(!0),Fa=Object(K.a)(null,{value:wn,defaultValue:In,postState:function(Fi){return!Fi&&ha&&Kn==="time"?ha:Fi}}),ta=Object(P.a)(Fa,2),Yi=ta[0],ka=ta[1],ba=Object(K.a)(null,{value:Rn,defaultValue:Nn||Yi,postState:function(Fi){return Fi||an.getNow()}}),Ei=Object(P.a)(ba,2),ca=Ei[0],Ha=Ei[1],Pa=function(Fi){Ha(Fi),ji&&ji(Fi)},ya=function(Fi){var ma=Se[Kn];return ma?ma(Fi):Fi},Ea=Object(K.a)(function(){return Kn==="time"?"time":ya("date")},{value:Sn}),Ga=Object(P.a)(Ea,2),Ta=Ga[0],Va=Ga[1];l.useEffect(function(){Va(Kn)},[Kn]);var uo=l.useState(function(){return Ta}),aa=Object(P.a)(uo,2),po=aa[0],Ua=aa[1],Da=function(Fi,ma){var Mo=ya(Fi||Ta);Ua(Ta),Va(Mo),Pn&&(Ta!==Mo||rt(an,ca,ca))&&Pn(ma,Mo)},$a=function(Fi,ma){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ta===Kn||Mo)&&(ka(Fi),Ti&&Ti(Fi),Qi&&Qi(Fi,ma),Di&&!rt(an,Fi,Yi)&&Di(Fi))},Ma=function(Fi){return ea.current&&ea.current.onKeyDown?([G.a.LEFT,G.a.RIGHT,G.a.UP,G.a.DOWN,G.a.PAGE_UP,G.a.PAGE_DOWN,G.a.ENTER].includes(Fi.which)&&Fi.preventDefault(),ea.current.onKeyDown(Fi)):(Object(E.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ka=function(Fi){ea.current&&ea.current.onBlur&&ea.current.onBlur(Fi)};ei&&Wi!=="right"&&(ei.current={onKeyDown:Ma,onClose:function(){ea.current&&ea.current.onClose&&ea.current.onClose()}}),l.useEffect(function(){wn&&!_a.current&&Ha(wn)},[wn]),l.useEffect(function(){_a.current=!1},[]);var yo,io=Object(H.a)(Object(H.a)({},Qe),{},{operationRef:ea,prefixCls:ar,viewDate:ca,value:Yi,onViewDateChange:Pa,sourceMode:po,onPanelChange:Da,disabledDate:Ta!=="decade"?vn:void 0});delete io.onChange,delete io.onSelect;switch(Ta){case"decade":yo=l.createElement(zt,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;case"year":yo=l.createElement(ke,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;case"month":yo=l.createElement(Pt,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;case"quarter":yo=l.createElement(Ln,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;case"week":yo=l.createElement(Yr,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;case"time":delete io.showTime,yo=l.createElement(wt,Object.assign({},io,Object(U.a)(gi)==="object"?gi:null,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}));break;default:gi?yo=l.createElement(or,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}})):yo=l.createElement(Xe,Object.assign({},io,{onSelect:function(Fi,ma){Pa(Fi),$a(Fi,ma)}}))}var xo,mo,go=function(){var Fi=an.getNow(),ma=Ct(an.getHour(Fi),an.getMinute(Fi),an.getSecond(Fi),ln?Gt:1,yn?rr:1,Bn?kr:1),Mo=bt(an,Fi,ma[0],ma[1],ma[2]);$a(Mo,"submit")};ua||(xo=un(ar,Ta,Bi),mo=lr({prefixCls:ar,components:Dr,needConfirmButton:dn,okDisabled:!Yi||vn&&vn(Yi),locale:Hr,showNow:bi,onNow:dn&&go,onOk:function(){Yi&&($a(Yi,"submit",!0),mr&&mr(Yi))}}));var Ya;if(Ri&&Ta==="date"&&Kn==="date"&&!gi){var qa=an.getNow(),La="".concat(ar,"-today-btn"),oo=vn&&vn(qa);Ya=l.createElement("a",{className:_()(La,oo&&"".concat(La,"-disabled")),"aria-disabled":oo,onClick:function(){oo||$a(qa,"mouse",!0)}},Hr.today)}return l.createElement(Z.Provider,{value:Object(H.a)(Object(H.a)({},Gn),{},{hideHeader:"hideHeader"in Qe?xi:Gn.hideHeader,hidePrevBtn:da&&Wi==="right",hideNextBtn:da&&Wi==="left"})},l.createElement("div",{tabIndex:qn,className:_()("".concat(ar,"-panel"),Lr,(Dt={},Object(D.a)(Dt,"".concat(ar,"-panel-has-range"),Mi&&Mi[0]&&Mi[1]),Object(D.a)(Dt,"".concat(ar,"-panel-has-range-hover"),na&&na[0]&&na[1]),Object(D.a)(Dt,"".concat(ar,"-panel-rtl"),Gr==="rtl"),Dt)),style:Rr,onKeyDown:Ma,onBlur:Ka,onMouseDown:_i,ref:Ci},yo,xo||mo||Ya?l.createElement("div",{className:"".concat(ar,"-footer")},xo,mo,Ya):null))}var Br=Vr,Sr=i("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 Hn(Qe){var Dt,ur=Qe.prefixCls,ar=Qe.popupElement,Lr=Qe.popupStyle,Rr=Qe.visible,Hr=Qe.dropdownClassName,an=Qe.dropdownAlign,wn=Qe.transitionName,In=Qe.getPopupContainer,Rn=Qe.children,Nn=Qe.range,vn=Qe.popupPlacement,Sn=Qe.direction,Tn="".concat(ur,"-dropdown"),Kn=function(){return vn!==void 0?vn:Sn==="rtl"?"bottomRight":"bottomLeft"};return l.createElement(Sr.a,{showAction:[],hideAction:[],popupPlacement:Kn(),builtinPlacements:xn,prefixCls:Tn,popupTransitionName:wn,popup:ar,popupAlign:an,popupVisible:Rr,popupClassName:_()(Hr,(Dt={},Object(D.a)(Dt,"".concat(Tn,"-range"),Nn),Object(D.a)(Dt,"".concat(Tn,"-rtl"),Sn==="rtl"),Dt)),popupStyle:Lr,getPopupContainer:In},Rn)}var ai=Hn;function si(Qe){var Dt=Qe.open,ur=Qe.value,ar=Qe.isClickOutside,Lr=Qe.triggerOpen,Rr=Qe.forwardKeyDown,Hr=Qe.blurToCancel,an=Qe.onSubmit,wn=Qe.onCancel,In=Qe.onFocus,Rn=Qe.onBlur,Nn=Object(l.useState)(!1),vn=Object(P.a)(Nn,2),Sn=vn[0],Tn=vn[1],Kn=Object(l.useState)(!1),Qn=Object(P.a)(Kn,2),qn=Qn[0],bi=Qn[1],gi=Object(l.useRef)(!1),Ri=Object(l.useRef)(!1),Bi={onMouseDown:function(){Tn(!0),Lr(!0)},onKeyDown:function(Ti){switch(Ti.which){case G.a.ENTER:{Dt?an()!==!1&&Tn(!0):Lr(!0),Ti.preventDefault();return}case G.a.TAB:{Sn&&Dt&&!Ti.shiftKey?(Tn(!1),Ti.preventDefault()):!Sn&&Dt&&(!Rr(Ti)&&Ti.shiftKey&&(Tn(!0),Ti.preventDefault()));return}case G.a.ESC:{Tn(!0),wn();return}}!Dt&&![G.a.SHIFT].includes(Ti.which)?Lr(!0):Sn||Rr(Ti)},onFocus:function(Ti){Tn(!0),bi(!0),In&&In(Ti)},onBlur:function(Ti){if(gi.current||!ar(document.activeElement)){gi.current=!1;return}Hr?setTimeout(function(){ar(document.activeElement)&&wn()},0):Dt&&(Lr(!1),Ri.current&&an()),bi(!1),Rn&&Rn(Ti)}};return Object(l.useEffect)(function(){Ri.current=!1},[Dt]),Object(l.useEffect)(function(){Ri.current=!0},[ur]),Object(l.useEffect)(function(){return z(function(xi){var Ti=xi.target;Dt&&(ar(Ti)?qn||Lr(!1):(gi.current=!0,requestAnimationFrame(function(){gi.current=!1})))})}),[Bi,{focused:qn,typing:Sn}]}function Yn(Qe){var Dt=Qe.valueTexts,ur=Qe.onTextChange,ar=l.useState(""),Lr=Object(P.a)(ar,2),Rr=Lr[0],Hr=Lr[1],an=l.useRef([]);an.current=Dt;function wn(Rn){Hr(Rn),ur(Rn)}function In(){Hr(an.current[0])}return l.useEffect(function(){Dt.every(function(Rn){return Rn!==Rr})&&In()},[Dt.join("||")]),[Rr,wn,In]}var Wn=i("Gytx"),Dn=i.n(Wn);function vi(Qe,Dt){var ur=Dt.formatList,ar=Dt.generateConfig,Lr=Dt.locale;return Object(Ce.a)(function(){if(!Qe)return[[""],""];for(var Rr="",Hr=[],an=0;an<ur.length;an+=1){var wn=ur[an],In=ar.locale.format(Lr.locale,Qe,wn);Hr.push(In),an===0&&(Rr=In)}return[Hr,Rr]},[Qe,ur],function(Rr,Hr){return Rr[0]!==Hr[0]||!Dn()(Rr[1],Hr[1])})}function gn(Qe,Dt){var ur=Dt.formatList,ar=Dt.generateConfig,Lr=Dt.locale,Rr=Object(l.useState)(null),Hr=Object(P.a)(Rr,2),an=Hr[0],wn=Hr[1],In=Object(l.useRef)(null);function Rn(Qn){var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(In.current),qn){wn(Qn);return}In.current=requestAnimationFrame(function(){wn(Qn)})}var Nn=vi(an,{formatList:ur,generateConfig:ar,locale:Lr}),vn=Object(P.a)(Nn,2),Sn=vn[1];function Tn(Qn){Rn(Qn)}function Kn(){var Qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Rn(null,Qn)}return Object(l.useEffect)(function(){Kn(!0)},[Qe]),Object(l.useEffect)(function(){return function(){return cancelAnimationFrame(In.current)}},[]),[Sn,Tn,Kn]}function Kr(Qe){var Dt,ur=Qe.prefixCls,ar=ur===void 0?"rc-picker":ur,Lr=Qe.id,Rr=Qe.tabIndex,Hr=Qe.style,an=Qe.className,wn=Qe.dropdownClassName,In=Qe.dropdownAlign,Rn=Qe.popupStyle,Nn=Qe.transitionName,vn=Qe.generateConfig,Sn=Qe.locale,Tn=Qe.inputReadOnly,Kn=Qe.allowClear,Qn=Qe.autoFocus,qn=Qe.showTime,bi=Qe.picker,gi=bi===void 0?"date":bi,Ri=Qe.format,Bi=Qe.use12Hours,xi=Qe.value,Ti=Qe.defaultValue,Di=Qe.open,Pn=Qe.defaultOpen,_i=Qe.defaultOpenValue,ji=Qe.suffixIcon,mr=Qe.clearIcon,Dr=Qe.disabled,Gr=Qe.disabledDate,Nr=Qe.placeholder,Gt=Qe.getPopupContainer,xr=Qe.pickerRef,rr=Qe.panelRender,Pr=Qe.onChange,kr=Qe.onOpenChange,dn=Qe.onFocus,ln=Qe.onBlur,yn=Qe.onMouseDown,Bn=Qe.onMouseUp,Gn=Qe.onMouseEnter,ei=Qe.onMouseLeave,Ci=Qe.onContextMenu,Qi=Qe.onClick,ua=Qe.direction,ha=Qe.autoComplete,la=ha===void 0?"off":ha,da=l.useRef(null),Wi=gi==="date"&&!!qn||gi==="time",Mi=tt(ae(Ri,gi,qn,Bi)),na=l.useRef(null),ea=l.useRef(null),_a=Object(K.a)(null,{value:xi,defaultValue:Ti}),Fa=Object(P.a)(_a,2),ta=Fa[0],Yi=Fa[1],ka=l.useState(ta),ba=Object(P.a)(ka,2),Ei=ba[0],ca=ba[1],Ha=l.useRef(null),Pa=Object(K.a)(!1,{value:Di,defaultValue:Pn,postState:function(Xa){return Dr?!1:Xa},onChange:function(Xa){kr&&kr(Xa),!Xa&&Ha.current&&Ha.current.onClose&&Ha.current.onClose()}}),ya=Object(P.a)(Pa,2),Ea=ya[0],Ga=ya[1],Ta=vi(Ei,{formatList:Mi,generateConfig:vn,locale:Sn}),Va=Object(P.a)(Ta,2),uo=Va[0],aa=Va[1],po=Yn({valueTexts:uo,onTextChange:function(Xa){var Yo=vn.locale.parse(Sn.locale,Xa,Mi);Yo&&(!Gr||!Gr(Yo))&&ca(Yo)}}),Ua=Object(P.a)(po,3),Da=Ua[0],$a=Ua[1],Ma=Ua[2],Ka=function(Xa){ca(Xa),Yi(Xa),Pr&&!rt(vn,ta,Xa)&&Pr(Xa,Xa?vn.locale.format(Sn.locale,Xa,Mi[0]):"")},yo=function(Xa){if(Dr&&Xa)return;Ga(Xa)},io=function(Xa){return Ea&&Ha.current&&Ha.current.onKeyDown?Ha.current.onKeyDown(Xa):(Object(E.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},xo=function(){Bn&&Bn.apply(void 0,arguments),da.current&&(da.current.focus(),yo(!0))},mo=si({blurToCancel:Wi,open:Ea,value:Da,triggerOpen:yo,forwardKeyDown:io,isClickOutside:function(Xa){return!ie([na.current,ea.current],Xa)},onSubmit:function(){return Gr&&Gr(Ei)?!1:(Ka(Ei),yo(!1),Ma(),!0)},onCancel:function(){yo(!1),ca(ta),Ma()},onFocus:dn,onBlur:ln}),go=Object(P.a)(mo,2),Ya=go[0],qa=go[1],La=qa.focused,oo=qa.typing;l.useEffect(function(){Ea||(ca(ta),!uo.length||uo[0]===""?$a(""):aa!==Da&&Ma())},[Ea,uo]),l.useEffect(function(){Ea||Ma()},[gi]),l.useEffect(function(){ca(ta)},[ta]),xr&&(xr.current={focus:function(){da.current&&da.current.focus()},blur:function(){da.current&&da.current.blur()}});var vo=Object(H.a)(Object(H.a)({},Qe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Fi=l.createElement(Br,Object.assign({},vo,{generateConfig:vn,className:_()(Object(D.a)({},"".concat(ar,"-panel-focused"),!oo)),value:Ei,locale:Sn,tabIndex:-1,onChange:ca,direction:ua}));rr&&(Fi=rr(Fi));var ma=l.createElement("div",{className:"".concat(ar,"-panel-container"),onMouseDown:function(Xa){Xa.preventDefault()}},Fi),Mo;ji&&(Mo=l.createElement("span",{className:"".concat(ar,"-suffix")},ji));var zo;Kn&&ta&&!Dr&&(zo=l.createElement("span",{onMouseDown:function(Xa){Xa.preventDefault(),Xa.stopPropagation()},onMouseUp:function(Xa){Xa.preventDefault(),Xa.stopPropagation(),Ka(null),yo(!1)},className:"".concat(ar,"-clear")},mr||l.createElement("span",{className:"".concat(ar,"-clear-btn")})));var Qo=function(Xa,Yo){(Yo==="submit"||Yo!=="key"&&!Wi)&&(Ka(Xa),yo(!1))},Jo=ua==="rtl"?"bottomRight":"bottomLeft",bo=gn(Da,{formatList:Mi,generateConfig:vn,locale:Sn}),Ra=Object(P.a)(bo,3),jo=Ra[0],hs=Ra[1],Ao=Ra[2];return l.createElement(Z.Provider,{value:{operationRef:Ha,hideHeader:gi==="time",panelRef:na,onSelect:Qo,open:Ea,defaultOpenValue:_i,onDateMouseEnter:hs,onDateMouseLeave:Ao}},l.createElement(ai,{visible:Ea,popupElement:ma,popupStyle:Rn,prefixCls:ar,dropdownClassName:wn,dropdownAlign:In,getPopupContainer:Gt,transitionName:Nn,popupPlacement:Jo,direction:ua},l.createElement("div",{className:_()(ar,an,(Dt={},Object(D.a)(Dt,"".concat(ar,"-disabled"),Dr),Object(D.a)(Dt,"".concat(ar,"-focused"),La),Object(D.a)(Dt,"".concat(ar,"-rtl"),ua==="rtl"),Dt)),style:Hr,onMouseDown:yn,onMouseUp:xo,onMouseEnter:Gn,onMouseLeave:ei,onContextMenu:Ci,onClick:Qi},l.createElement("div",{className:_()("".concat(ar,"-input"),Object(D.a)({},"".concat(ar,"-input-placeholder"),!!jo)),ref:ea},l.createElement("input",Object.assign({id:Lr,tabIndex:Rr,disabled:Dr,readOnly:Tn||!oo,value:jo||Da,onChange:function(Xa){$a(Xa.target.value)},autoFocus:Qn,placeholder:Nr,ref:da,title:Da},Ya,{size:Ue(gi,Mi[0])},Oe(Qe),{autoComplete:la})),Mo,zo))))}var En=function(Qe){Object(j.a)(ur,Qe);var Dt=Object(V.a)(ur);function ur(){var ar;return Object(k.a)(this,ur),ar=Dt.apply(this,arguments),ar.pickerRef=l.createRef(),ar.focus=function(){ar.pickerRef.current&&ar.pickerRef.current.focus()},ar.blur=function(){ar.pickerRef.current&&ar.pickerRef.current.blur()},ar}return Object(R.a)(ur,[{key:"render",value:function(){return l.createElement(Kr,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),ur}(l.Component),sn=En;function li(Qe,Dt,ur){var ar=Qe.picker,Lr=Qe.locale,Rr=Qe.selectedValue,Hr=Qe.disabledDate,an=Qe.disabled,wn=Qe.generateConfig,In=yt(Rr,0),Rn=yt(Rr,1);function Nn(Qn){var qn=wn.getYear(Qn),bi=wn.locale.getWeek(Lr.locale,Qn);return qn*100+bi}function vn(Qn){var qn=wn.getYear(Qn),bi=wn.getMonth(Qn);return qn*100+bi}function Sn(Qn){var qn=wn.getYear(Qn),bi=lt(wn,Qn);return qn*10+bi}var Tn=l.useCallback(function(Qn){if(Hr&&Hr(Qn))return!0;if(an[1]&&Rn)return!Wr(wn,Qn,Rn)&&wn.isAfter(Qn,Rn);if(Dt&&Rn)switch(ar){case"quarter":return Sn(Qn)>Sn(Rn);case"month":return vn(Qn)>vn(Rn);case"week":return Nn(Qn)>Nn(Rn);default:return!Wr(wn,Qn,Rn)&&wn.isAfter(Qn,Rn)}return!1},[Hr,an[1],Rn,Dt]),Kn=l.useCallback(function(Qn){if(Hr&&Hr(Qn))return!0;if(an[0]&&In)return!Wr(wn,Qn,Rn)&&wn.isAfter(In,Qn);if(ur&&In)switch(ar){case"quarter":return Sn(Qn)<Sn(In);case"month":return vn(Qn)<vn(In);case"week":return Nn(Qn)<Nn(In);default:return!Wr(wn,Qn,In)&&wn.isAfter(In,Qn)}return!1},[Hr,an[0],In,ur]);return[Tn,Kn]}function ni(Qe,Dt,ur,ar){var Lr=Rt(Qe,ur,ar,1);function Rr(Hr){return Hr(Qe,Dt)?"same":Hr(Lr,Dt)?"closing":"far"}switch(ur){case"year":return Rr(function(Hr,an){return kt(ar,Hr,an)});case"quarter":case"month":return Rr(function(Hr,an){return nr(ar,Hr,an)});default:return Rr(function(Hr,an){return hr(ar,Hr,an)})}}function yi(Qe,Dt,ur,ar){var Lr=yt(Qe,0),Rr=yt(Qe,1);if(Dt===0)return Lr;if(Lr&&Rr){var Hr=ni(Lr,Rr,ur,ar);switch(Hr){case"same":return Lr;case"closing":return Lr;default:return Rt(Rr,ur,ar,-1)}}return Lr}function Xn(Qe){var Dt=Qe.values,ur=Qe.picker,ar=Qe.defaultDates,Lr=Qe.generateConfig,Rr=l.useState(function(){return[yt(ar,0),yt(ar,1)]}),Hr=Object(P.a)(Rr,2),an=Hr[0],wn=Hr[1],In=l.useState(null),Rn=Object(P.a)(In,2),Nn=Rn[0],vn=Rn[1],Sn=yt(Dt,0),Tn=yt(Dt,1);function Kn(qn){return an[qn]?an[qn]:yt(Nn,qn)||yi(Dt,qn,ur,Lr)||Sn||Tn||Lr.getNow()}function Qn(qn,bi){if(qn){var gi=Ye(Nn,qn,bi);wn(Ye(an,null,bi)||[null,null]);var Ri=(bi+1)%2;yt(Dt,Ri)||(gi=Ye(gi,qn,Ri)),vn(gi)}else(Sn||Tn)&&vn(null)}return[Kn,Qn]}function ki(Qe,Dt){return Qe&&Qe[0]&&Qe[1]&&Dt.isAfter(Qe[0],Qe[1])?[Qe[1],Qe[0]]:Qe}function wi(Qe,Dt,ur,ar){return Qe||ar&&ar[Dt]?!0:!!ur[(Dt+1)%2]}function Ji(Qe){var Dt,ur,ar,Lr=Qe.prefixCls,Rr=Lr===void 0?"rc-picker":Lr,Hr=Qe.id,an=Qe.style,wn=Qe.className,In=Qe.popupStyle,Rn=Qe.dropdownClassName,Nn=Qe.transitionName,vn=Qe.dropdownAlign,Sn=Qe.getPopupContainer,Tn=Qe.generateConfig,Kn=Qe.locale,Qn=Qe.placeholder,qn=Qe.autoFocus,bi=Qe.disabled,gi=Qe.format,Ri=Qe.picker,Bi=Ri===void 0?"date":Ri,xi=Qe.showTime,Ti=Qe.use12Hours,Di=Qe.separator,Pn=Di===void 0?"~":Di,_i=Qe.value,ji=Qe.defaultValue,mr=Qe.defaultPickerValue,Dr=Qe.open,Gr=Qe.defaultOpen,Nr=Qe.disabledDate,Gt=Qe.disabledTime,xr=Qe.dateRender,rr=Qe.panelRender,Pr=Qe.ranges,kr=Qe.allowEmpty,dn=Qe.allowClear,ln=Qe.suffixIcon,yn=Qe.clearIcon,Bn=Qe.pickerRef,Gn=Qe.inputReadOnly,ei=Qe.mode,Ci=Qe.renderExtraFooter,Qi=Qe.onChange,ua=Qe.onOpenChange,ha=Qe.onPanelChange,la=Qe.onCalendarChange,da=Qe.onFocus,Wi=Qe.onBlur,Mi=Qe.onOk,na=Qe.components,ea=Qe.order,_a=Qe.direction,Fa=Qe.activePickerIndex,ta=Qe.autoComplete,Yi=ta===void 0?"off":ta,ka=Bi==="date"&&!!xi||Bi==="time",ba=Object(l.useRef)({}),Ei=Object(l.useRef)(null),ca=Object(l.useRef)(null),Ha=Object(l.useRef)(null),Pa=Object(l.useRef)(null),ya=Object(l.useRef)(null),Ea=Object(l.useRef)(null),Ga=Object(l.useRef)(null),Ta=tt(ae(gi,Bi,xi,Ti)),Va=Object(K.a)(0,{value:Fa}),uo=Object(P.a)(Va,2),aa=uo[0],po=uo[1],Ua=Object(l.useRef)(null),Da=l.useMemo(function(){return Array.isArray(bi)?bi:[bi||!1,bi||!1]},[bi]),$a=Object(K.a)(null,{value:_i,defaultValue:ji,postState:function(ga){return Bi==="time"&&!ea?ga:ki(ga,Tn)}}),Ma=Object(P.a)($a,2),Ka=Ma[0],yo=Ma[1],io=Xn({values:Ka,picker:Bi,defaultDates:mr,generateConfig:Tn}),xo=Object(P.a)(io,2),mo=xo[0],go=xo[1],Ya=Object(K.a)(Ka,{postState:function(ga){var Ba=ga;if(Da[0]&&Da[1])return Ba;for(var ho=0;ho<2;ho+=1)Da[ho]&&!yt(Ba,ho)&&!yt(kr,ho)&&(Ba=Ye(Ba,Tn.getNow(),ho));return Ba}}),qa=Object(P.a)(Ya,2),La=qa[0],oo=qa[1],vo=Object(K.a)([Bi,Bi],{value:ei}),Fi=Object(P.a)(vo,2),ma=Fi[0],Mo=Fi[1];Object(l.useEffect)(function(){Mo([Bi,Bi])},[Bi]);var zo=function(ga,Ba){Mo(ga),ha&&ha(Ba,ga)},Qo=li({picker:Bi,selectedValue:La,locale:Kn,disabled:Da,disabledDate:Nr,generateConfig:Tn},ba.current[1],ba.current[0]),Jo=Object(P.a)(Qo,2),bo=Jo[0],Ra=Jo[1],jo=Object(K.a)(!1,{value:Dr,defaultValue:Gr,postState:function(ga){return Da[aa]?!1:ga},onChange:function(ga){ua&&ua(ga),!ga&&Ua.current&&Ua.current.onClose&&Ua.current.onClose()}}),hs=Object(P.a)(jo,2),Ao=hs[0],Io=hs[1],Xa=Ao&&aa===0,Yo=Ao&&aa===1,pl=Object(l.useState)(0),Ls=Object(P.a)(pl,2),os=Ls[0],_s=Ls[1];Object(l.useEffect)(function(){!Ao&&Ei.current&&_s(Ei.current.offsetWidth)},[Ao]);var Ns=l.useRef();function is(eo,ga){if(eo)clearTimeout(Ns.current),ba.current[ga]=!0,po(ga),Io(eo),Ao||go(null,ga);else if(aa===ga){Io(eo);var Ba=ba.current;Ns.current=setTimeout(function(){Ba===ba.current&&(ba.current={})})}}function Wo(eo){is(!0,eo),setTimeout(function(){var ga=[Ea,Ga][eo];ga.current&&ga.current.focus()},0)}function Co(eo,ga){var Ba=eo,ho=yt(Ba,0),Bo=yt(Ba,1);ho&&Bo&&Tn.isAfter(ho,Bo)&&(Bi==="week"&&!Et(Tn,Kn.locale,ho,Bo)||Bi==="quarter"&&!Xt(Tn,ho,Bo)||Bi!=="week"&&Bi!=="quarter"&&Bi!=="time"&&!Wr(Tn,ho,Bo)?(ga===0?(Ba=[ho,null],Bo=null):(ho=null,Ba=[null,Bo]),ba.current=Object(D.a)({},ga,!0)):(Bi!=="time"||ea!==!1)&&(Ba=ki(Ba,Tn))),oo(Ba);var Ts=Ba&&Ba[0]?Tn.locale.format(Kn.locale,Ba[0],Ta[0]):"",Ko=Ba&&Ba[1]?Tn.locale.format(Kn.locale,Ba[1],Ta[0]):"";if(la){var To={range:ga===0?"start":"end"};la(Ba,[Ts,Ko],To)}var qo=wi(ho,0,Da,kr),Ro=wi(Bo,1,Da,kr),cs=Ba===null||qo&&Ro;cs&&(yo(Ba),Qi&&(!rt(Tn,yt(Ka,0),ho)||!rt(Tn,yt(Ka,1),Bo))&&Qi(Ba,[Ts,Ko]));var ys=null;ga===0&&!Da[1]?ys=1:ga===1&&!Da[0]&&(ys=0),ys!==null&&ys!==aa&&(!ba.current[ys]||!yt(Ba,ys))&&yt(Ba,ga)?Wo(ys):is(!1,ga)}var ts=function(ga){return Ao&&Ua.current&&Ua.current.onKeyDown?Ua.current.onKeyDown(ga):(Object(E.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},No={formatList:Ta,generateConfig:Tn,locale:Kn},Ho=vi(yt(La,0),No),zr=Object(P.a)(Ho,2),Si=zr[0],Ps=zr[1],Vs=vi(yt(La,1),No),Ms=Object(P.a)(Vs,2),so=Ms[0],wo=Ms[1],Vo=function(ga,Ba){var ho=Tn.locale.parse(Kn.locale,ga,Ta),Bo=Ba===0?bo:Ra;ho&&!Bo(ho)&&(oo(Ye(La,ho,Ba)),go(ho,Ba))},Zo=Yn({valueTexts:Si,onTextChange:function(ga){return Vo(ga,0)}}),As=Object(P.a)(Zo,3),ws=As[0],Ss=As[1],Qs=As[2],Hs=Yn({valueTexts:so,onTextChange:function(ga){return Vo(ga,1)}}),Ys=Object(P.a)(Hs,3),Ds=Ys[0],rs=Ys[1],xt=Ys[2],Ot=Object(l.useState)(null),nn=Object(P.a)(Ot,2),On=nn[0],$n=nn[1],ft=Object(l.useState)(null),oe=Object(P.a)(ft,2),Ae=oe[0],we=oe[1],Be=gn(ws,{formatList:Ta,generateConfig:Tn,locale:Kn}),st=Object(P.a)(Be,3),Bt=st[0],wr=st[1],Tr=st[2],tn=gn(Ds,{formatList:Ta,generateConfig:Tn,locale:Kn}),_n=Object(P.a)(tn,3),jn=_n[0],fi=_n[1],Ii=_n[2],Vi=function(ga){we(Ye(La,ga,aa)),aa===0?wr(ga):fi(ga)},sa=function(){we(Ye(La,null,aa)),aa===0?Tr():Ii()},wa=function(ga,Ba){return{blurToCancel:ka,forwardKeyDown:ts,onBlur:Wi,isClickOutside:function(Bo){return!ie([ca.current,Ha.current,Pa.current],Bo)},onFocus:function(Bo){po(ga),da&&da(Bo)},triggerOpen:function(Bo){is(Bo,ga)},onSubmit:function(){Co(La,ga),Ba()},onCancel:function(){is(!1,ga),oo(Ka),Ba()}}},Za=si(Object(H.a)(Object(H.a)({},wa(0,Qs)),{},{open:Xa,value:ws})),to=Object(P.a)(Za,2),lo=to[0],_o=to[1],ao=_o.focused,Do=_o.typing,Ja=si(Object(H.a)(Object(H.a)({},wa(1,xt)),{},{open:Yo,value:Ds})),Eo=Object(P.a)(Ja,2),fs=Eo[0],Oo=Eo[1],Lo=Oo.focused,vs=Oo.typing,Fs=function(ga){!Ao&&!Ea.current.contains(ga.target)&&!Ga.current.contains(ga.target)&&(Da[0]?Da[1]||Wo(1):Wo(0))},ss=function(ga){Ao&&(ao||Lo)&&!Ea.current.contains(ga.target)&&!Ga.current.contains(ga.target)&&ga.preventDefault()},Fo=Ka&&Ka[0]?Tn.locale.format(Kn.locale,Ka[0],"YYYYMMDDHHmmss"):"",Zs=Ka&&Ka[1]?Tn.locale.format(Kn.locale,Ka[1],"YYYYMMDDHHmmss"):"";Object(l.useEffect)(function(){Ao||(oo(Ka),!Si.length||Si[0]===""?Ss(""):Ps!==ws&&Qs(),!so.length||so[0]===""?rs(""):wo!==Ds&&xt())},[Ao,Si,so]),Object(l.useEffect)(function(){oo(Ka)},[Fo,Zs]),Bn&&(Bn.current={focus:function(){Ea.current&&Ea.current.focus()},blur:function(){Ea.current&&Ea.current.blur(),Ga.current&&Ga.current.blur()}});var xs=Object.keys(Pr||{}),ll=xs.map(function(eo){var ga=Pr[eo],Ba=typeof ga=="function"?ga():ga;return{label:eo,onClick:function(){Co(Ba,null),is(!1,aa)},onMouseEnter:function(){$n(Ba)},onMouseLeave:function(){$n(null)}}});function Js(){var eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ga=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ba=null;Ao&&Ae&&Ae[0]&&Ae[1]&&Tn.isAfter(Ae[1],Ae[0])&&(Ba=Ae);var ho=xi;if(xi&&Object(U.a)(xi)==="object"&&xi.defaultValue){var Bo=xi.defaultValue;ho=Object(H.a)(Object(H.a)({},xi),{},{defaultValue:yt(Bo,aa)||void 0})}var Ts=null;return xr&&(Ts=function(To,qo){return xr(To,qo,{range:aa?"end":"start"})}),l.createElement(Jt.Provider,{value:{inRange:!0,panelPosition:eo,rangedValue:On||La,hoverRangedValue:Ba}},l.createElement(Br,Object.assign({},Qe,ga,{dateRender:Ts,showTime:ho,mode:ma[aa],generateConfig:Tn,style:void 0,direction:_a,disabledDate:aa===0?bo:Ra,disabledTime:function(To){return Gt?Gt(To,aa===0?"start":"end"):!1},className:_()(Object(D.a)({},"".concat(Rr,"-panel-focused"),aa===0?!Do:!vs)),value:yt(La,aa),locale:Kn,tabIndex:-1,onPanelChange:function(To,qo){zo(Ye(ma,qo,aa),Ye(La,To,aa));var Ro=To;eo==="right"&&ma[aa]===qo&&(Ro=Rt(Ro,qo,Tn,-1)),go(Ro,aa)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var ps=0,Xo=0;aa&&Ha.current&&ya.current&&ca.current&&(ps=Ha.current.offsetWidth+ya.current.offsetWidth,ca.current.offsetWidth&&ps>ca.current.offsetWidth&&(Xo=ps));var oa=_a==="rtl"?{right:ps}:{left:ps};function Xs(){var eo,ga=un(Rr,ma[aa],Ci),Ba=lr({prefixCls:Rr,components:na,needConfirmButton:ka,okDisabled:!yt(La,aa)||Nr&&Nr(La[aa]),locale:Kn,rangeList:ll,onOk:function(){yt(La,aa)&&(Co(La,aa),Mi&&Mi(La))}});if(Bi!=="time"&&!xi){var ho=mo(aa),Bo=Rt(ho,Bi,Tn),Ts=ma[aa],Ko=Ts===Bi,To=Js(Ko?"left":!1,{pickerValue:ho,onPickerValueChange:function(ys){go(ys,aa)}}),qo=Js("right",{pickerValue:Bo,onPickerValueChange:function(ys){go(Rt(ys,Bi,Tn,-1),aa)}});_a==="rtl"?eo=l.createElement(l.Fragment,null,qo,Ko&&To):eo=l.createElement(l.Fragment,null,To,Ko&&qo)}else eo=Js();var Ro=l.createElement(l.Fragment,null,l.createElement("div",{className:"".concat(Rr,"-panels")},eo),(ga||Ba)&&l.createElement("div",{className:"".concat(Rr,"-footer")},ga,Ba));return rr&&(Ro=rr(Ro)),l.createElement("div",{className:"".concat(Rr,"-panel-container"),style:{marginLeft:Xo},ref:ca,onMouseDown:function(ys){ys.preventDefault()}},Ro)}var rl=l.createElement("div",{className:_()("".concat(Rr,"-range-wrapper"),"".concat(Rr,"-").concat(Bi,"-range-wrapper")),style:{minWidth:os}},l.createElement("div",{className:"".concat(Rr,"-range-arrow"),style:oa}),Xs()),Bs;ln&&(Bs=l.createElement("span",{className:"".concat(Rr,"-suffix")},ln));var Es;dn&&(yt(Ka,0)&&!Da[0]||yt(Ka,1)&&!Da[1])&&(Es=l.createElement("span",{onMouseDown:function(ga){ga.preventDefault(),ga.stopPropagation()},onMouseUp:function(ga){ga.preventDefault(),ga.stopPropagation();var Ba=Ka;Da[0]||(Ba=Ye(Ba,null,0)),Da[1]||(Ba=Ye(Ba,null,1)),Co(Ba,null),is(!1,aa)},className:"".concat(Rr,"-clear")},yn||l.createElement("span",{className:"".concat(Rr,"-clear-btn")})));var cl={size:Ue(Bi,Ta[0])},Gs=0,Rs=0;Ha.current&&Pa.current&&ya.current&&(aa===0?Rs=Ha.current.offsetWidth:(Gs=ps,Rs=Pa.current.offsetWidth));var Ks=_a==="rtl"?{right:Gs}:{left:Gs},zs=function(ga,Ba){var ho=Ye(La,ga,aa);Ba==="submit"||Ba!=="key"&&!ka?(Co(ho,aa),aa===0?Tr():Ii()):oo(ho)};return l.createElement(Z.Provider,{value:{operationRef:Ua,hideHeader:Bi==="time",onDateMouseEnter:Vi,onDateMouseLeave:sa,hideRanges:!0,onSelect:zs,open:Ao}},l.createElement(ai,{visible:Ao,popupElement:rl,popupStyle:In,prefixCls:Rr,dropdownClassName:Rn,dropdownAlign:vn,getPopupContainer:Sn,transitionName:Nn,range:!0,direction:_a},l.createElement("div",Object.assign({ref:Ei,className:_()(Rr,"".concat(Rr,"-range"),wn,(Dt={},Object(D.a)(Dt,"".concat(Rr,"-disabled"),Da[0]&&Da[1]),Object(D.a)(Dt,"".concat(Rr,"-focused"),aa===0?ao:Lo),Object(D.a)(Dt,"".concat(Rr,"-rtl"),_a==="rtl"),Dt)),style:an,onClick:Fs,onMouseDown:ss},Oe(Qe)),l.createElement("div",{className:_()("".concat(Rr,"-input"),(ur={},Object(D.a)(ur,"".concat(Rr,"-input-active"),aa===0),Object(D.a)(ur,"".concat(Rr,"-input-placeholder"),!!Bt),ur)),ref:Ha},l.createElement("input",Object.assign({id:Hr,disabled:Da[0],readOnly:Gn||!Do,value:Bt||ws,onChange:function(ga){Ss(ga.target.value)},autoFocus:qn,placeholder:yt(Qn,0)||"",ref:Ea},lo,cl,{autoComplete:Yi}))),l.createElement("div",{className:"".concat(Rr,"-range-separator"),ref:ya},Pn),l.createElement("div",{className:_()("".concat(Rr,"-input"),(ar={},Object(D.a)(ar,"".concat(Rr,"-input-active"),aa===1),Object(D.a)(ar,"".concat(Rr,"-input-placeholder"),!!jn),ar)),ref:Pa},l.createElement("input",Object.assign({disabled:Da[1],readOnly:Gn||!vs,value:jn||Ds,onChange:function(ga){rs(ga.target.value)},placeholder:yt(Qn,1)||"",ref:Ga},fs,cl,{autoComplete:Yi}))),l.createElement("div",{className:"".concat(Rr,"-active-bar"),style:Object(H.a)(Object(H.a)({},Ks),{},{width:Rs,position:"absolute"})}),Bs,Es)))}var An=function(Qe){Object(j.a)(ur,Qe);var Dt=Object(V.a)(ur);function ur(){var ar;return Object(k.a)(this,ur),ar=Dt.apply(this,arguments),ar.pickerRef=l.createRef(),ar.focus=function(){ar.pickerRef.current&&ar.pickerRef.current.focus()},ar.blur=function(){ar.pickerRef.current&&ar.pickerRef.current.blur()},ar}return Object(R.a)(ur,[{key:"render",value:function(){return l.createElement(Ji,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),ur}(l.Component),Ur=An,Cn=sn,Un=i("61s2");function Zn(Qe,Dt,ur){return ur!==void 0?ur:Qe==="year"&&Dt.lang.yearPlaceholder?Dt.lang.yearPlaceholder:Qe==="quarter"&&Dt.lang.quarterPlaceholder?Dt.lang.quarterPlaceholder:Qe==="month"&&Dt.lang.monthPlaceholder?Dt.lang.monthPlaceholder:Qe==="week"&&Dt.lang.weekPlaceholder?Dt.lang.weekPlaceholder:Qe==="time"&&Dt.timePickerLocale.placeholder?Dt.timePickerLocale.placeholder:Dt.lang.placeholder}function ti(Qe,Dt,ur){return ur!==void 0?ur:Qe==="year"&&Dt.lang.yearPlaceholder?Dt.lang.rangeYearPlaceholder:Qe==="month"&&Dt.lang.monthPlaceholder?Dt.lang.rangeMonthPlaceholder:Qe==="week"&&Dt.lang.weekPlaceholder?Dt.lang.rangeWeekPlaceholder:Qe==="time"&&Dt.timePickerLocale.placeholder?Dt.timePickerLocale.rangePlaceholder:Dt.lang.rangePlaceholder}var hi=i("uaoM"),pi=i("H84U"),mi=i("YMnH"),Hi=i("3Nzz"),ra=function(Qe,Dt){var ur={};for(var ar in Qe)Object.prototype.hasOwnProperty.call(Qe,ar)&&Dt.indexOf(ar)<0&&(ur[ar]=Qe[ar]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,ar=Object.getOwnPropertySymbols(Qe);Lr<ar.length;Lr++)Dt.indexOf(ar[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Qe,ar[Lr])&&(ur[ar[Lr]]=Qe[ar[Lr]]);return ur};function $i(Qe){function Dt(wn,In){var Rn=function(Nn){A()(Sn,Nn);var vn=b()(Sn);function Sn(Tn){var Kn;return s()(this,Sn),Kn=vn.call(this,Tn),Kn.pickerRef=l.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 Qn=Kn.props.locale,qn=d()(d()({},Un.a),Qn);return qn.lang=d()(d()({},qn.lang),(Qn||{}).lang),qn},Kn.renderPicker=function(Qn){var qn=Kn.context,bi=qn.getPrefixCls,gi=qn.direction,Ri=qn.getPopupContainer,Bi=Kn.props,xi=Bi.prefixCls,Ti=Bi.getPopupContainer,Di=Bi.className,Pn=Bi.size,_i=Bi.bordered,ji=_i===void 0?!0:_i,mr=Bi.placeholder,Dr=ra(Bi,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Gr=Kn.props,Nr=Gr.format,Gt=Gr.showTime,xr=bi("picker",xi),rr={showToday:!0},Pr={};wn&&(Pr.picker=wn);var kr=wn||Kn.props.picker;return Pr=d()(d()(d()({},Pr),Gt?ia(d()({format:Nr,picker:kr},Gt)):{}),kr==="time"?ia(d()(d()({format:Nr},Kn.props),{picker:kr})):{}),l.createElement(Hi.b.Consumer,null,function(dn){var ln,yn=Pn||dn;return l.createElement(Cn,d()({ref:Kn.pickerRef,placeholder:Zn(kr,Qn,mr),suffixIcon:kr==="time"?l.createElement(I.a,null):l.createElement(x.a,null),clearIcon:l.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},rr,Dr,Pr,{locale:Qn.lang,className:_()(Di,(ln={},c()(ln,"".concat(xr,"-").concat(yn),yn),c()(ln,"".concat(xr,"-borderless"),!ji),ln)),prefixCls:xr,getPopupContainer:Ti||Ri,generateConfig:Qe,prevIcon:l.createElement("span",{className:"".concat(xr,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(xr,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(xr,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(xr,"-super-next-icon")}),components:Gi,direction:gi}))})},Object(hi.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 l.createElement(mi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Sn}(l.Component);return Rn.contextType=pi.b,In&&(Rn.displayName=In),Rn}var ur=Dt(),ar=Dt("week","WeekPicker"),Lr=Dt("month","MonthPicker"),Rr=Dt("year","YearPicker"),Hr=Dt("time","TimePicker"),an=Dt("quarter","QuarterPicker");return{DatePicker:ur,WeekPicker:ar,MonthPicker:Lr,YearPicker:Rr,TimePicker:Hr,QuarterPicker:an}}var ro=i("8ISB"),di=i.n(ro),cn=function(Qe,Dt){var ur={};for(var ar in Qe)Object.prototype.hasOwnProperty.call(Qe,ar)&&Dt.indexOf(ar)<0&&(ur[ar]=Qe[ar]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,ar=Object.getOwnPropertySymbols(Qe);Lr<ar.length;Lr++)Dt.indexOf(ar[Lr])<0&&Object.prototype.propertyIsEnumerable.call(Qe,ar[Lr])&&(ur[ar[Lr]]=Qe[ar[Lr]]);return ur};function Ni(Qe){var Dt=function(ur){A()(Lr,ur);var ar=b()(Lr);function Lr(){var Rr;return s()(this,Lr),Rr=ar.apply(this,arguments),Rr.pickerRef=l.createRef(),Rr.focus=function(){Rr.pickerRef.current&&Rr.pickerRef.current.focus()},Rr.blur=function(){Rr.pickerRef.current&&Rr.pickerRef.current.blur()},Rr.getDefaultLocale=function(){var Hr=Rr.props.locale,an=d()(d()({},Un.a),Hr);return an.lang=d()(d()({},an.lang),(Hr||{}).lang),an},Rr.renderPicker=function(Hr){var an=Rr.context,wn=an.getPrefixCls,In=an.direction,Rn=an.getPopupContainer,Nn=Rr.props,vn=Nn.prefixCls,Sn=Nn.getPopupContainer,Tn=Nn.className,Kn=Nn.size,Qn=Nn.bordered,qn=Qn===void 0?!0:Qn,bi=Nn.placeholder,gi=cn(Nn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Ri=Rr.props,Bi=Ri.format,xi=Ri.showTime,Ti=Ri.picker,Di=wn("picker",vn),Pn={};return Pn=d()(d()(d()({},Pn),xi?ia(d()({format:Bi,picker:Ti},xi)):{}),Ti==="time"?ia(d()(d()({format:Bi},Rr.props),{picker:Ti})):{}),l.createElement(Hi.b.Consumer,null,function(_i){var ji,mr=Kn||_i;return l.createElement(Ur,d()({separator:l.createElement("span",{"aria-label":"to",className:"".concat(Di,"-separator")},l.createElement(di.a,null)),ref:Rr.pickerRef,placeholder:ti(Ti,Hr,bi),suffixIcon:Ti==="time"?l.createElement(I.a,null):l.createElement(x.a,null),clearIcon:l.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},gi,Pn,{className:_()(Tn,(ji={},c()(ji,"".concat(Di,"-").concat(mr),mr),c()(ji,"".concat(Di,"-borderless"),!qn),ji)),locale:Hr.lang,prefixCls:Di,getPopupContainer:Sn||Rn,generateConfig:Qe,prevIcon:l.createElement("span",{className:"".concat(Di,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(Di,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(Di,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(Di,"-super-next-icon")}),components:Gi,direction:In}))})},Rr}return h()(Lr,[{key:"render",value:function(){return l.createElement(mi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Lr}(l.Component);return Dt.contextType=pi.b,Dt}var Gi={button:t,rangeItem:o};function Ki(Qe){return Qe?Array.isArray(Qe)?Qe:[Qe]:[]}function ia(Qe){var Dt=Qe.format,ur=Qe.picker,ar=Qe.showHour,Lr=Qe.showMinute,Rr=Qe.showSecond,Hr=Qe.use12Hours,an=Ki(Dt)[0],wn=d()({},Qe);return an&&(!an.includes("s")&&Rr===void 0&&(wn.showSecond=!1),!an.includes("m")&&Lr===void 0&&(wn.showMinute=!1),!an.includes("H")&&!an.includes("h")&&ar===void 0&&(wn.showHour=!1),(an.includes("a")||an.includes("A"))&&Hr===void 0&&(wn.use12Hours=!0)),ur==="time"?wn:{showTime:wn}}function Kt(Qe){var Dt=$i(Qe),ur=Dt.DatePicker,ar=Dt.WeekPicker,Lr=Dt.MonthPicker,Rr=Dt.YearPicker,Hr=Dt.TimePicker,an=Dt.QuarterPicker,wn=Ni(Qe),In=ur;return In.WeekPicker=ar,In.MonthPicker=Lr,In.YearPicker=Rr,In.RangePicker=wn,In.TimePicker=Hr,In.QuarterPicker=an,In}var Zr=Kt,rn=Zr(v),pn=N.a=rn},"+lIL":function(B,N,i){var y=i("ProS");i("/ry/"),i("3OrL");var m=i("L5E0"),E=i("7Phj");y.registerVisual(m),y.registerLayout(E)},"+nKL":function(B,N,i){"use strict";var y=i("q1tI"),m=i("TSYQ"),E=i.n(m),p=i("VTBJ"),v=i("1OyB"),f=i("vuIU"),d=i("Ji7U"),l=i("LK+K"),n=i("m+aA"),t=i("Zm9Q"),a=i("Kwbf"),o=i("c+Xe"),r=i("bdgK"),c="rc-observer-key",e=function(mt){Object(d.a)(rt,mt);var Et=Object(l.a)(rt);function rt(){var He;Object(v.a)(this,rt);for(var ze=arguments.length,Rt=new Array(ze),sr=0;sr<ze;sr++)Rt[sr]=arguments[sr];return He=Et.call.apply(Et,[this].concat(Rt)),He.resizeObserver=null,He.childNode=null,He.currentElement=null,He.state={width:0,height:0,offsetHeight:0,offsetWidth:0},He.onResize=function(Jt){var qt=He.props.onResize,qr=Jt[0].target,Fr=qr.getBoundingClientRect(),mn=Fr.width,Tt=Fr.height,St=qr.offsetWidth,Re=qr.offsetHeight,Ve=Math.floor(mn),Xe=Math.floor(Tt);if(He.state.width!==Ve||He.state.height!==Xe||He.state.offsetWidth!==St||He.state.offsetHeight!==Re){var ct={width:Ve,height:Xe,offsetWidth:St,offsetHeight:Re};if(He.setState(ct),qt){var tr=St===Math.round(mn)?mn:St,ir=Re===Math.round(Tt)?Tt:Re;Promise.resolve().then(function(){qt(Object(p.a)(Object(p.a)({},ct),{},{offsetWidth:tr,offsetHeight:ir}),qr)})}}},He.setChildNode=function(Jt){He.childNode=Jt},He}return Object(f.a)(rt,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var ze=this.props.disabled;if(ze){this.destroyObserver();return}var Rt=Object(n.a)(this.childNode||this),sr=Rt!==this.currentElement;sr&&(this.destroyObserver(),this.currentElement=Rt),!this.resizeObserver&&Rt&&(this.resizeObserver=new r.default(this.onResize),this.resizeObserver.observe(Rt))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var ze=this.props.children,Rt=Object(t.a)(ze);if(Rt.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(Rt.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var sr=Rt[0];if(y.isValidElement(sr)&&Object(o.c)(sr)){var Jt=sr.ref;Rt[0]=y.cloneElement(sr,{ref:Object(o.a)(Jt,this.setChildNode)})}return Rt.length===1?Rt[0]:Rt.map(function(qt,qr){return!y.isValidElement(qt)||"key"in qt&&qt.key!==null?qt:y.cloneElement(qt,{key:"".concat(c,"-").concat(qr)})})}}]),rt}(y.Component);e.displayName="ResizeObserver";var s=e;function u(mt,Et){var rt=Object.keys(mt);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(mt);Et&&(He=He.filter(function(ze){return Object.getOwnPropertyDescriptor(mt,ze).enumerable})),rt.push.apply(rt,He)}return rt}function h(mt){for(var Et=1;Et<arguments.length;Et++){var rt=arguments[Et]!=null?arguments[Et]:{};Et%2?u(Object(rt),!0).forEach(function(He){g(mt,He,rt[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(rt)):u(Object(rt)).forEach(function(He){Object.defineProperty(mt,He,Object.getOwnPropertyDescriptor(rt,He))})}return mt}function g(mt,Et,rt){return Et in mt?Object.defineProperty(mt,Et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):mt[Et]=rt,mt}var A=y.forwardRef(function(mt,Et){var rt=mt.height,He=mt.offset,ze=mt.children,Rt=mt.prefixCls,sr=mt.onInnerResize,Jt={},qt={display:"flex",flexDirection:"column"};return He!==void 0&&(Jt={height:rt,position:"relative",overflow:"hidden"},qt=h(h({},qt),{},{transform:"translateY(".concat(He,"px)"),position:"absolute",left:0,right:0,top:0})),y.createElement("div",{style:Jt},y.createElement(s,{onResize:function(Fr){var mn=Fr.offsetHeight;mn&&sr&&sr()}},y.createElement("div",{style:qt,className:E()(g({},"".concat(Rt,"-holder-inner"),Rt)),ref:Et},ze)))});A.displayName="Filler";var w=A,b=i("wgJM");function S(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(rt){return typeof rt}:S=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},S(mt)}function _(mt,Et,rt){return Et in mt?Object.defineProperty(mt,Et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):mt[Et]=rt,mt}function T(mt,Et){if(!(mt instanceof Et))throw new TypeError("Cannot call a class as a function")}function x(mt,Et){for(var rt=0;rt<Et.length;rt++){var He=Et[rt];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(mt,He.key,He)}}function C(mt,Et,rt){return Et&&x(mt.prototype,Et),rt&&x(mt,rt),mt}function I(mt,Et){if(typeof Et!="function"&&Et!==null)throw new TypeError("Super expression must either be null or a function");mt.prototype=Object.create(Et&&Et.prototype,{constructor:{value:mt,writable:!0,configurable:!0}}),Et&&L(mt,Et)}function L(mt,Et){return L=Object.setPrototypeOf||function(He,ze){return He.__proto__=ze,He},L(mt,Et)}function M(mt){var Et=j();return function(){var He=V(mt),ze;if(Et){var Rt=V(this).constructor;ze=Reflect.construct(He,arguments,Rt)}else ze=He.apply(this,arguments);return k(this,ze)}}function k(mt,Et){return Et&&(S(Et)==="object"||typeof Et=="function")?Et:R(mt)}function R(mt){if(mt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return mt}function j(){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(mt){return!1}}function V(mt){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},V(mt)}var D=20;function H(mt){return"touches"in mt?mt.touches[0].pageY:mt.pageY}var P=function(mt){I(rt,mt);var Et=M(rt);function rt(){var He;T(this,rt);for(var ze=arguments.length,Rt=new Array(ze),sr=0;sr<ze;sr++)Rt[sr]=arguments[sr];return He=Et.call.apply(Et,[this].concat(Rt)),He.moveRaf=null,He.scrollbarRef=y.createRef(),He.thumbRef=y.createRef(),He.visibleTimeout=null,He.state={dragging:!1,pageY:null,startTop:null,visible:!1},He.delayHidden=function(){clearTimeout(He.visibleTimeout),He.setState({visible:!0}),He.visibleTimeout=setTimeout(function(){He.setState({visible:!1})},2e3)},He.onScrollbarTouchStart=function(Jt){Jt.preventDefault()},He.onContainerMouseDown=function(Jt){Jt.stopPropagation(),Jt.preventDefault()},He.patchEvents=function(){window.addEventListener("mousemove",He.onMouseMove),window.addEventListener("mouseup",He.onMouseUp),He.thumbRef.current.addEventListener("touchmove",He.onMouseMove),He.thumbRef.current.addEventListener("touchend",He.onMouseUp)},He.removeEvents=function(){window.removeEventListener("mousemove",He.onMouseMove),window.removeEventListener("mouseup",He.onMouseUp),He.scrollbarRef.current.removeEventListener("touchstart",He.onScrollbarTouchStart),He.thumbRef.current.removeEventListener("touchstart",He.onMouseDown),He.thumbRef.current.removeEventListener("touchmove",He.onMouseMove),He.thumbRef.current.removeEventListener("touchend",He.onMouseUp),b.a.cancel(He.moveRaf)},He.onMouseDown=function(Jt){var qt=He.props.onStartMove;He.setState({dragging:!0,pageY:H(Jt),startTop:He.getTop()}),qt(),He.patchEvents(),Jt.stopPropagation(),Jt.preventDefault()},He.onMouseMove=function(Jt){var qt=He.state,qr=qt.dragging,Fr=qt.pageY,mn=qt.startTop,Tt=He.props.onScroll;if(b.a.cancel(He.moveRaf),qr){var St=H(Jt)-Fr,Re=mn+St,Ve=He.getEnableScrollRange(),Xe=He.getEnableHeightRange(),ct=Xe?Re/Xe:0,tr=Math.ceil(ct*Ve);He.moveRaf=Object(b.a)(function(){Tt(tr)})}},He.onMouseUp=function(){var Jt=He.props.onStopMove;He.setState({dragging:!1}),Jt(),He.removeEvents()},He.getSpinHeight=function(){var Jt=He.props,qt=Jt.height,qr=Jt.count,Fr=qt/qr*10;return Fr=Math.max(Fr,D),Fr=Math.min(Fr,qt/2),Math.floor(Fr)},He.getEnableScrollRange=function(){var Jt=He.props,qt=Jt.scrollHeight,qr=Jt.height;return qt-qr||0},He.getEnableHeightRange=function(){var Jt=He.props.height,qt=He.getSpinHeight();return Jt-qt||0},He.getTop=function(){var Jt=He.props.scrollTop,qt=He.getEnableScrollRange(),qr=He.getEnableHeightRange();if(Jt===0||qt===0)return 0;var Fr=Jt/qt;return Fr*qr},He.showScroll=function(){var Jt=He.props,qt=Jt.height,qr=Jt.scrollHeight;return qr>qt},He}return C(rt,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(ze){ze.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var ze=this.state,Rt=ze.dragging,sr=ze.visible,Jt=this.props.prefixCls,qt=this.getSpinHeight(),qr=this.getTop(),Fr=this.showScroll(),mn=Fr&&sr;return y.createElement("div",{ref:this.scrollbarRef,className:E()("".concat(Jt,"-scrollbar"),_({},"".concat(Jt,"-scrollbar-show"),Fr)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:mn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},y.createElement("div",{ref:this.thumbRef,className:E()("".concat(Jt,"-scrollbar-thumb"),_({},"".concat(Jt,"-scrollbar-thumb-moving"),Rt)),style:{width:"100%",height:qt,top:qr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),rt}(y.Component);function K(mt){var Et=mt.children,rt=mt.setRef,He=y.useCallback(function(ze){rt(ze)},[]);return y.cloneElement(Et,{ref:He})}function U(mt,Et,rt,He,ze,Rt){var sr=Rt.getKey;return mt.slice(Et,rt+1).map(function(Jt,qt){var qr=Et+qt,Fr=ze(Jt,qr,{}),mn=sr(Jt);return y.createElement(K,{key:mn,setRef:function(St){return He(Jt,St)}},Fr)})}function G(mt,Et){if(!(mt instanceof Et))throw new TypeError("Cannot call a class as a function")}function W(mt,Et){for(var rt=0;rt<Et.length;rt++){var He=Et[rt];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(mt,He.key,He)}}function Z(mt,Et,rt){return Et&&W(mt.prototype,Et),rt&&W(mt,rt),mt}var J=function(){function mt(){G(this,mt),this.maps=void 0,this.maps={},this.maps.prototype=null}return Z(mt,[{key:"set",value:function(rt,He){this.maps[rt]=He}},{key:"get",value:function(rt){return this.maps[rt]}}]),mt}(),ve=J;function q(mt,Et){return fe(mt)||Fe(mt,Et)||be(mt,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 be(mt,Et){if(!mt)return;if(typeof mt=="string")return Ce(mt,Et);var rt=Object.prototype.toString.call(mt).slice(8,-1);if(rt==="Object"&&mt.constructor&&(rt=mt.constructor.name),rt==="Map"||rt==="Set")return Array.from(mt);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return Ce(mt,Et)}function Ce(mt,Et){(Et==null||Et>mt.length)&&(Et=mt.length);for(var rt=0,He=new Array(Et);rt<Et;rt++)He[rt]=mt[rt];return He}function Fe(mt,Et){var rt=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(rt==null)return;var He=[],ze=!0,Rt=!1,sr,Jt;try{for(rt=rt.call(mt);!(ze=(sr=rt.next()).done)&&!(He.push(sr.value),Et&&He.length===Et);ze=!0);}catch(qt){Rt=!0,Jt=qt}finally{try{!ze&&rt.return!=null&&rt.return()}finally{if(Rt)throw Jt}}return He}function fe(mt){if(Array.isArray(mt))return mt}function Ne(mt,Et,rt){var He=y.useState(0),ze=q(He,2),Rt=ze[0],sr=ze[1],Jt=Object(y.useRef)(new Map),qt=Object(y.useRef)(new ve),qr=Object(y.useRef)(0);function Fr(){qr.current+=1;var Tt=qr.current;Promise.resolve().then(function(){if(Tt!==qr.current)return;Jt.current.forEach(function(St,Re){if(St&&St.offsetParent){var Ve=Object(n.a)(St),Xe=Ve.offsetHeight;qt.current.get(Re)!==Xe&&qt.current.set(Re,Ve.offsetHeight)}}),sr(function(St){return St+1})})}function mn(Tt,St){var Re=mt(Tt),Ve=Jt.current.get(Re);St?(Jt.current.set(Re,St),Fr()):Jt.current.delete(Re),!Ve!==!St&&(St?Et==null||Et(Tt):rt==null||rt(Tt))}return[mn,Fr,qt.current,Rt]}function Q(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(rt){return typeof rt}:Q=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},Q(mt)}function ae(mt,Et,rt,He,ze,Rt,sr,Jt){var qt=y.useRef();return function(qr){if(qr==null){Jt();return}if(b.a.cancel(qt.current),typeof qr=="number")sr(qr);else if(qr&&Q(qr)==="object"){var Fr,mn=qr.align;"index"in qr?Fr=qr.index:Fr=Et.findIndex(function(Ve){return ze(Ve)===qr.key});var Tt=qr.offset,St=Tt===void 0?0:Tt,Re=function Ve(Xe,ct){if(Xe<0||!mt.current)return;var tr=mt.current.clientHeight,ir=!1,or=ct;if(tr){for(var Xr=ct||mn,Yr=0,bn=0,Yt=0,pt=Math.min(Et.length,Fr),ht=0;ht<=pt;ht+=1){var Zt=ze(Et[ht]);bn=Yr;var $t=rt.get(Zt);Yt=bn+($t===void 0?He:$t),Yr=Yt,ht===Fr&&$t===void 0&&(ir=!0)}var At=null;switch(Xr){case"top":At=bn-St;break;case"bottom":At=Yt-tr+St;break;default:{var Pt=mt.current.scrollTop,gt=Pt+tr;bn<Pt?or="top":Yt>gt&&(or="bottom")}}At!==null&&At!==mt.current.scrollTop&&sr(At)}qt.current=Object(b.a)(function(){ir&&Rt(),Ve(Xe-1,or)})};Re(3)}}}function Ue(mt,Et,rt,He){var ze=rt-mt,Rt=Et-rt,sr=Math.min(ze,Rt)*2;if(He<=sr){var Jt=Math.floor(He/2);return He%2?rt+Jt+1:rt-Jt}return ze>Rt?rt-(He-Rt):rt+(He-ze)}function te(mt,Et,rt){var He=mt.length,ze=Et.length,Rt,sr;if(He===0&&ze===0)return null;He<ze?(Rt=mt,sr=Et):(Rt=Et,sr=mt);var Jt={__EMPTY_ITEM__:!0};function qt(Re){return Re!==void 0?rt(Re):Jt}for(var qr=null,Fr=Math.abs(He-ze)!==1,mn=0;mn<sr.length;mn+=1){var Tt=qt(Rt[mn]),St=qt(sr[mn]);if(Tt!==St){qr=mn,Fr=Fr||Tt!==qt(sr[mn+1]);break}}return qr===null?null:{index:qr,multiple:Fr}}function X(mt,Et){return Te(mt)||se(mt,Et)||Y(mt,Et)||z()}function z(){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 Y(mt,Et){if(!mt)return;if(typeof mt=="string")return pe(mt,Et);var rt=Object.prototype.toString.call(mt).slice(8,-1);if(rt==="Object"&&mt.constructor&&(rt=mt.constructor.name),rt==="Map"||rt==="Set")return Array.from(mt);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return pe(mt,Et)}function pe(mt,Et){(Et==null||Et>mt.length)&&(Et=mt.length);for(var rt=0,He=new Array(Et);rt<Et;rt++)He[rt]=mt[rt];return He}function se(mt,Et){var rt=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(rt==null)return;var He=[],ze=!0,Rt=!1,sr,Jt;try{for(rt=rt.call(mt);!(ze=(sr=rt.next()).done)&&!(He.push(sr.value),Et&&He.length===Et);ze=!0);}catch(qt){Rt=!0,Jt=qt}finally{try{!ze&&rt.return!=null&&rt.return()}finally{if(Rt)throw Jt}}return He}function Te(mt){if(Array.isArray(mt))return mt}function Se(mt,Et,rt){var He=y.useState(mt),ze=X(He,2),Rt=ze[0],sr=ze[1],Jt=y.useState(null),qt=X(Jt,2),qr=qt[0],Fr=qt[1];return y.useEffect(function(){var mn=te(Rt||[],mt||[],Et);(mn==null?void 0:mn.index)!==void 0&&(rt==null||rt(mn.index),Fr(mt[mn.index])),sr(mt)},[mt]),[qr]}function ie(mt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ie=function(rt){return typeof rt}:ie=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},ie(mt)}var de=(typeof navigator=="undefined"?"undefined":ie(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),_e=de,We=function(mt,Et){var rt=Object(y.useRef)(!1),He=Object(y.useRef)(null);function ze(){clearTimeout(He.current),rt.current=!0,He.current=setTimeout(function(){rt.current=!1},50)}var Rt=Object(y.useRef)({top:mt,bottom:Et});return Rt.current.top=mt,Rt.current.bottom=Et,function(sr){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qt=sr<0&&Rt.current.top||sr>0&&Rt.current.bottom;return Jt&&qt?(clearTimeout(He.current),rt.current=!1):(!qt||rt.current)&&ze(),!rt.current&&qt}};function at(mt,Et,rt,He){var ze=Object(y.useRef)(0),Rt=Object(y.useRef)(null),sr=Object(y.useRef)(null),Jt=Object(y.useRef)(!1),qt=We(Et,rt);function qr(mn){if(!mt)return;b.a.cancel(Rt.current);var Tt=mn.deltaY;if(ze.current+=Tt,sr.current=Tt,qt(Tt))return;_e||mn.preventDefault(),Rt.current=Object(b.a)(function(){var St=Jt.current?10:1;He(ze.current*St),ze.current=0})}function Fr(mn){if(!mt)return;Jt.current=mn.detail===sr.current}return[qr,Fr]}var tt=14/15;function Oe(mt,Et,rt){var He=Object(y.useRef)(!1),ze=Object(y.useRef)(0),Rt=Object(y.useRef)(null),sr=Object(y.useRef)(null),Jt,qt=function(Tt){if(He.current){var St=Math.ceil(Tt.touches[0].pageY),Re=ze.current-St;ze.current=St,rt(Re)&&Tt.preventDefault(),clearInterval(sr.current),sr.current=setInterval(function(){Re*=tt,(!rt(Re,!0)||Math.abs(Re)<=.1)&&clearInterval(sr.current)},16)}},qr=function(){He.current=!1,Jt()},Fr=function(Tt){Jt(),Tt.touches.length===1&&!He.current&&(He.current=!0,ze.current=Math.ceil(Tt.touches[0].pageY),Rt.current=Tt.target,Rt.current.addEventListener("touchmove",qt),Rt.current.addEventListener("touchend",qr))};Jt=function(){Rt.current&&(Rt.current.removeEventListener("touchmove",qt),Rt.current.removeEventListener("touchend",qr))},y.useLayoutEffect(function(){return mt&&Et.current.addEventListener("touchstart",Fr),function(){Et.current.removeEventListener("touchstart",Fr),Jt(),clearInterval(sr.current)}},[mt])}var yt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Ye(){return Ye=Object.assign||function(mt){for(var Et=1;Et<arguments.length;Et++){var rt=arguments[Et];for(var He in rt)Object.prototype.hasOwnProperty.call(rt,He)&&(mt[He]=rt[He])}return mt},Ye.apply(this,arguments)}function bt(mt,Et){var rt=Object.keys(mt);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(mt);Et&&(He=He.filter(function(ze){return Object.getOwnPropertyDescriptor(mt,ze).enumerable})),rt.push.apply(rt,He)}return rt}function Ct(mt){for(var Et=1;Et<arguments.length;Et++){var rt=arguments[Et]!=null?arguments[Et]:{};Et%2?bt(Object(rt),!0).forEach(function(He){It(mt,He,rt[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(rt)):bt(Object(rt)).forEach(function(He){Object.defineProperty(mt,He,Object.getOwnPropertyDescriptor(rt,He))})}return mt}function It(mt,Et,rt){return Et in mt?Object.defineProperty(mt,Et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):mt[Et]=rt,mt}function Ft(mt,Et){return wt(mt)||ne(mt,Et)||$e(mt,Et)||Vt()}function Vt(){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 $e(mt,Et){if(!mt)return;if(typeof mt=="string")return ge(mt,Et);var rt=Object.prototype.toString.call(mt).slice(8,-1);if(rt==="Object"&&mt.constructor&&(rt=mt.constructor.name),rt==="Map"||rt==="Set")return Array.from(mt);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return ge(mt,Et)}function ge(mt,Et){(Et==null||Et>mt.length)&&(Et=mt.length);for(var rt=0,He=new Array(Et);rt<Et;rt++)He[rt]=mt[rt];return He}function ne(mt,Et){var rt=mt==null?null:typeof Symbol!="undefined"&&mt[Symbol.iterator]||mt["@@iterator"];if(rt==null)return;var He=[],ze=!0,Rt=!1,sr,Jt;try{for(rt=rt.call(mt);!(ze=(sr=rt.next()).done)&&!(He.push(sr.value),Et&&He.length===Et);ze=!0);}catch(qt){Rt=!0,Jt=qt}finally{try{!ze&&rt.return!=null&&rt.return()}finally{if(Rt)throw Jt}}return He}function wt(mt){if(Array.isArray(mt))return mt}function qe(mt,Et){if(mt==null)return{};var rt=he(mt,Et),He,ze;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(mt);for(ze=0;ze<Rt.length;ze++){if(He=Rt[ze],Et.indexOf(He)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(mt,He))continue;rt[He]=mt[He]}}return rt}function he(mt,Et){if(mt==null)return{};var rt={},He=Object.keys(mt),ze,Rt;for(Rt=0;Rt<He.length;Rt++){if(ze=He[Rt],Et.indexOf(ze)>=0)continue;rt[ze]=mt[ze]}return rt}var kt=[],nr={overflowY:"auto",overflowAnchor:"none"};function lt(mt,Et){var rt=mt.prefixCls,He=rt===void 0?"rc-virtual-list":rt,ze=mt.className,Rt=mt.height,sr=mt.itemHeight,Jt=mt.fullHeight,qt=Jt===void 0?!0:Jt,qr=mt.style,Fr=mt.data,mn=mt.children,Tt=mt.itemKey,St=mt.virtual,Re=mt.component,Ve=Re===void 0?"div":Re,Xe=mt.onScroll,ct=mt.onVisibleChange,tr=qe(mt,yt),ir=!!(St!==!1&&Rt&&sr),or=ir&&Fr&&sr*Fr.length>Rt,Xr=Object(y.useState)(0),Yr=Ft(Xr,2),bn=Yr[0],Yt=Yr[1],pt=Object(y.useState)(!1),ht=Ft(pt,2),Zt=ht[0],$t=ht[1],At=E()(He,ze),Pt=Fr||kt,gt=Object(y.useRef)(),Wt=Object(y.useRef)(),yr=Object(y.useRef)(),cr=y.useCallback(function(Wn){return typeof Tt=="function"?Tt(Wn):Wn==null?void 0:Wn[Tt]},[Tt]),pr={getKey:cr};function Qr(Wn){Yt(function(Dn){var vi;typeof Wn=="function"?vi=Wn(Dn):vi=Wn;var gn=Ar(vi);return gt.current.scrollTop=gn,gn})}var $r=Object(y.useRef)({start:0,end:Pt.length}),Ln=Object(y.useRef)(),Mn=Se(Pt,cr),Vn=Ft(Mn,1),ii=Vn[0];Ln.current=ii;var Li=Ne(cr,null,null),Pi=Ft(Li,4),Ze=Pi[0],xe=Pi[1],Me=Pi[2],ke=Pi[3],Ge=y.useMemo(function(){if(!ir)return{scrollHeight:void 0,start:0,end:Pt.length-1,offset:void 0};if(!or){var Wn;return{scrollHeight:((Wn=Wt.current)===null||Wn===void 0?void 0:Wn.offsetHeight)||0,start:0,end:Pt.length-1,offset:void 0}}for(var Dn=0,vi,gn,Kr,En=Pt.length,sn=0;sn<En;sn+=1){var li=Pt[sn],ni=cr(li),yi=Me.get(ni),Xn=Dn+(yi===void 0?sr:yi);Xn>=bn&&vi===void 0&&(vi=sn,gn=Dn),Xn>bn+Rt&&Kr===void 0&&(Kr=sn),Dn=Xn}return vi===void 0&&(vi=0,gn=0),Kr===void 0&&(Kr=Pt.length-1),Kr=Math.min(Kr+1,Pt.length),{scrollHeight:Dn,start:vi,end:Kr,offset:gn}},[or,ir,bn,Pt,ke,Rt]),Ke=Ge.scrollHeight,Je=Ge.start,vt=Ge.end,ot=Ge.offset;$r.current.start=Je,$r.current.end=vt;var Ut=Ke-Rt,br=Object(y.useRef)(Ut);br.current=Ut;function Ar(Wn){var Dn=Wn;return Number.isNaN(br.current)||(Dn=Math.min(Dn,br.current)),Dn=Math.max(Dn,0),Dn}var Or=bn<=0,zt=bn>=Ut,un=We(Or,zt);function lr(Wn){var Dn=Wn;Qr(Dn)}function Vr(Wn){var Dn=Wn.currentTarget.scrollTop;Dn!==bn&&Qr(Dn),Xe==null||Xe(Wn)}var Br=at(ir,Or,zt,function(Wn){Qr(function(Dn){var vi=Dn+Wn;return vi})}),Sr=Ft(Br,2),xn=Sr[0],Hn=Sr[1];Oe(ir,gt,function(Wn,Dn){return un(Wn,Dn)?!1:(xn({preventDefault:function(){},deltaY:Wn}),!0)}),Object(y.useLayoutEffect)(function(){function Wn(Dn){ir&&Dn.preventDefault()}return gt.current.addEventListener("wheel",xn),gt.current.addEventListener("DOMMouseScroll",Hn),gt.current.addEventListener("MozMousePixelScroll",Wn),function(){gt.current.removeEventListener("wheel",xn),gt.current.removeEventListener("DOMMouseScroll",Hn),gt.current.removeEventListener("MozMousePixelScroll",Wn)}},[ir]);var ai=ae(gt,Pt,Me,sr,cr,xe,Qr,function(){var Wn;(Wn=yr.current)===null||Wn===void 0||Wn.delayHidden()});y.useImperativeHandle(Et,function(){return{scrollTo:ai}}),Object(y.useLayoutEffect)(function(){if(ct){var Wn=Pt.slice(Je,vt+1);ct(Wn,Pt)}},[Je,vt,Pt]);var si=U(Pt,Je,vt,Ze,mn,pr),Yn=null;return Rt&&(Yn=Ct(It({},qt?"height":"maxHeight",Rt),nr),ir&&(Yn.overflowY="hidden",Zt&&(Yn.pointerEvents="none"))),y.createElement("div",Ye({style:Ct(Ct({},qr),{},{position:"relative"}),className:At},tr),y.createElement(Ve,{className:"".concat(He,"-holder"),style:Yn,ref:gt,onScroll:Vr},y.createElement(w,{prefixCls:He,height:Ke,offset:ot,onInnerResize:xe,ref:Wt},si)),ir&&y.createElement(P,{ref:yr,prefixCls:He,scrollTop:bn,height:Rt,scrollHeight:Ke,count:Pt.length,onScroll:lr,onStartMove:function(){$t(!0)},onStopMove:function(){$t(!1)}}))}var Xt=y.forwardRef(lt);Xt.displayName="List";var hr=Xt,Wr=N.a=hr},"+rIm":function(B,N,i){var y=i("bYtY"),m=y.retrieve,E=y.defaults,p=y.extend,v=y.each,f=i("7aKB"),d=i("IwbS"),l=i("Qxkt"),n=i("OELB"),t=n.isRadianAroundZero,a=n.remRadian,o=i("oVpE"),r=o.createSymbol,c=i("Fofx"),e=i("QBsz"),s=e.applyTransform,u=i("aX7z"),h=u.shouldShowAllLabels,g=Math.PI,A=function(D,H){this.opt=H,this.axisModel=D,E(H,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new d.Group;var P=new d.Group({position:H.position.slice(),rotation:H.rotation});P.updateTransform(),this._transform=P.transform,this._dumbGroup=P};A.prototype={constructor:A,hasBuilder:function(D){return!!w[D]},add:function(D){w[D].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var D=this.opt,H=this.axisModel;if(!H.get("axisLine.show"))return;var P=this.axisModel.axis.getExtent(),K=this._transform,U=[P[0],0],G=[P[1],0];K&&(s(U,U,K),s(G,G,K));var W=p({lineCap:"round"},H.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new d.Line({anid:"line",subPixelOptimize:!0,shape:{x1:U[0],y1:U[1],x2:G[0],y2:G[1]},style:W,strokeContainThreshold:D.strokeContainThreshold||5,silent:!0,z2:1}));var Z=H.get("axisLine.symbol"),J=H.get("axisLine.symbolSize"),ve=H.get("axisLine.symbolOffset")||0;if(typeof ve=="number"&&(ve=[ve,ve]),Z!=null){typeof Z=="string"&&(Z=[Z,Z]),(typeof J=="string"||typeof J=="number")&&(J=[J,J]);var q=J[0],ce=J[1];v([{rotate:D.rotation+Math.PI/2,offset:ve[0],r:0},{rotate:D.rotation-Math.PI/2,offset:ve[1],r:Math.sqrt((U[0]-G[0])*(U[0]-G[0])+(U[1]-G[1])*(U[1]-G[1]))}],function(be,Ce){if(Z[Ce]!=="none"&&Z[Ce]!=null){var Fe=r(Z[Ce],-q/2,-ce/2,q,ce,W.stroke,!0),fe=be.r+be.offset,Ne=[U[0]+fe*Math.cos(D.rotation),U[1]-fe*Math.sin(D.rotation)];Fe.attr({rotation:be.rotate,position:Ne,silent:!0,z2:11}),this.group.add(Fe)}},this)}},axisTickLabel:function(){var D=this.axisModel,H=this.opt,P=k(this,D,H),K=j(this,D,H);x(D,K,P),R(this,D,H)},axisName:function(){var D=this.opt,H=this.axisModel,P=m(D.axisName,H.get("name"));if(!P)return;var K=H.get("nameLocation"),U=D.nameDirection,G=H.getModel("nameTextStyle"),W=H.get("nameGap")||0,Z=this.axisModel.axis.getExtent(),J=Z[0]>Z[1]?-1:1,ve=[K==="start"?Z[0]-J*W:K==="end"?Z[1]+J*W:(Z[0]+Z[1])/2,L(K)?D.labelOffset+U*W:0],q,ce=H.get("nameRotate");ce!=null&&(ce=ce*g/180);var be;L(K)?q=S(D.rotation,ce!=null?ce:D.rotation,U):(q=_(D,K,ce||0,Z),be=D.axisNameAvailableWidth,be!=null&&(be=Math.abs(be/Math.sin(q.rotation)),!isFinite(be)&&(be=null)));var Ce=G.getFont(),Fe=H.get("nameTruncate",!0)||{},fe=Fe.ellipsis,Ne=m(D.nameTruncateMaxWidth,Fe.maxWidth,be),Q=fe!=null&&Ne!=null?f.truncateText(P,Ne,Ce,fe,{minChar:2,placeholder:Fe.placeholder}):P,ae=H.get("tooltip",!0),Ue=H.mainType,te={componentType:Ue,name:P,$vars:["name"]};te[Ue+"Index"]=H.componentIndex;var X=new d.Text({anid:"name",__fullText:P,__truncatedText:Q,position:ve,rotation:q.rotation,silent:T(H),z2:1,tooltip:ae&&ae.show?p({content:P,formatter:function(){return P},formatterParams:te},ae):null});d.setTextStyle(X.style,G,{text:Q,textFont:Ce,textFill:G.getTextColor()||H.get("axisLine.lineStyle.color"),textAlign:G.get("align")||q.textAlign,textVerticalAlign:G.get("verticalAlign")||q.textVerticalAlign}),H.get("triggerEvent")&&(X.eventData=b(H),X.eventData.targetType="axisName",X.eventData.name=P),this._dumbGroup.add(X),X.updateTransform(),this.group.add(X),X.decomposeTransform()}},b=A.makeAxisEventDataBase=function(D){var H={componentType:D.mainType,componentIndex:D.componentIndex};return H[D.mainType+"Index"]=D.componentIndex,H},S=A.innerTextLayout=function(D,H,P){var K=a(H-D),U,G;return t(K)?(G=P>0?"top":"bottom",U="center"):t(K-g)?(G=P>0?"bottom":"top",U="center"):(G="middle",K>0&&K<g?U=P>0?"right":"left":U=P>0?"left":"right"),{rotation:K,textAlign:U,textVerticalAlign:G}};function _(D,H,P,K){var U=a(P-D.rotation),G,W,Z=K[0]>K[1],J=H==="start"&&!Z||H!=="start"&&Z;return t(U-g/2)?(W=J?"bottom":"top",G="center"):t(U-g*1.5)?(W=J?"top":"bottom",G="center"):(W="middle",U<g*1.5&&U>g/2?G=J?"left":"right":G=J?"right":"left"),{rotation:U,textAlign:G,textVerticalAlign:W}}var T=A.isLabelSilent=function(D){var H=D.get("tooltip");return D.get("silent")||!(D.get("triggerEvent")||H&&H.show)};function x(D,H,P){if(h(D.axis))return;var K=D.get("axisLabel.showMinLabel"),U=D.get("axisLabel.showMaxLabel");H=H||[],P=P||[];var G=H[0],W=H[1],Z=H[H.length-1],J=H[H.length-2],ve=P[0],q=P[1],ce=P[P.length-1],be=P[P.length-2];K===!1?(C(G),C(ve)):I(G,W)&&(K?(C(W),C(q)):(C(G),C(ve))),U===!1?(C(Z),C(ce)):I(J,Z)&&(U?(C(J),C(be)):(C(Z),C(ce)))}function C(D){D&&(D.ignore=!0)}function I(D,H,P){var K=D&&D.getBoundingRect().clone(),U=H&&H.getBoundingRect().clone();if(!K||!U)return;var G=c.identity([]);return c.rotate(G,G,-D.rotation),K.applyTransform(c.mul([],G,D.getLocalTransform())),U.applyTransform(c.mul([],G,H.getLocalTransform())),K.intersect(U)}function L(D){return D==="middle"||D==="center"}function M(D,H,P,K,U){for(var G=[],W=[],Z=[],J=0;J<D.length;J++){var ve=D[J].coord;W[0]=ve,W[1]=0,Z[0]=ve,Z[1]=P,H&&(s(W,W,H),s(Z,Z,H));var q=new d.Line({anid:U+"_"+D[J].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:Z[0],y2:Z[1]},style:K,z2:2,silent:!0});G.push(q)}return G}function k(D,H,P){var K=H.axis,U=H.getModel("axisTick");if(!U.get("show")||K.scale.isBlank())return;for(var G=U.getModel("lineStyle"),W=P.tickDirection*U.get("length"),Z=K.getTicksCoords(),J=M(Z,D._transform,W,E(G.getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")}),"ticks"),ve=0;ve<J.length;ve++)D.group.add(J[ve]);return J}function R(D,H,P){var K=H.axis,U=H.getModel("minorTick");if(!U.get("show")||K.scale.isBlank())return;var G=K.getMinorTicksCoords();if(!G.length)return;for(var W=U.getModel("lineStyle"),Z=P.tickDirection*U.get("length"),J=E(W.getLineStyle(),E(H.getModel("axisTick").getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")})),ve=0;ve<G.length;ve++)for(var q=M(G[ve],D._transform,Z,J,"minorticks_"+ve),ce=0;ce<q.length;ce++)D.group.add(q[ce])}function j(D,H,P){var K=H.axis,U=m(P.axisLabelShow,H.get("axisLabel.show"));if(!U||K.scale.isBlank())return;var G=H.getModel("axisLabel"),W=G.get("margin"),Z=K.getViewLabels(),J=(m(P.labelRotate,G.get("rotate"))||0)*g/180,ve=S(P.rotation,J,P.labelDirection),q=H.getCategories&&H.getCategories(!0),ce=[],be=T(H),Ce=H.get("triggerEvent");return v(Z,function(Fe,fe){var Ne=Fe.tickValue,Q=Fe.formattedLabel,ae=Fe.rawLabel,Ue=G;q&&q[Ne]&&q[Ne].textStyle&&(Ue=new l(q[Ne].textStyle,G,H.ecModel));var te=Ue.getTextColor()||H.get("axisLine.lineStyle.color"),X=K.dataToCoord(Ne),z=[X,P.labelOffset+P.labelDirection*W],Y=new d.Text({anid:"label_"+Ne,position:z,rotation:ve.rotation,silent:be,z2:10});d.setTextStyle(Y.style,Ue,{text:Q,textAlign:Ue.getShallow("align",!0)||ve.textAlign,textVerticalAlign:Ue.getShallow("verticalAlign",!0)||Ue.getShallow("baseline",!0)||ve.textVerticalAlign,textFill:typeof te=="function"?te(K.type==="category"?ae:K.type==="value"?Ne+"":Ne,fe):te}),Ce&&(Y.eventData=b(H),Y.eventData.targetType="axisLabel",Y.eventData.value=ae),D._dumbGroup.add(Y),Y.updateTransform(),ce.push(Y),D.group.add(Y),Y.decomposeTransform()}),ce}var V=A;B.exports=V},"+wW9":function(B,N,i){var y=i("bYtY"),m=y.each,E=y.isArray,p=y.isObject,v=i("JuEJ"),f=i("4NO4"),d=f.normalizeToArray;function l(c,e){e=e.split(",");for(var s=c,u=0;u<e.length&&!(s=s&&s[e[u]],s==null);u++);return s}function n(c,e,s,u){e=e.split(",");for(var h=c,g,A=0;A<e.length-1;A++)g=e[A],h[g]==null&&(h[g]={}),h=h[g];(u||h[e[A]]==null)&&(h[e[A]]=s)}function t(c){m(a,function(e){e[0]in c&&!(e[1]in c)&&(c[e[1]]=c[e[0]])})}var a=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],o=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(c,e){v(c,e),c.series=d(c.series),m(c.series,function(s){if(!p(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=l(s,"pointer.color");h!=null&&n(s,"itemStyle.color",h)}t(s)}),c.dataRange&&(c.visualMap=c.dataRange),m(o,function(s){var u=c[s];u&&(E(u)||(u=[u]),m(u,function(h){t(h)}))})}B.exports=r},"/IIm":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("H6uX"),v=i("IwbS"),f=i("pP6R"),d=i("gPAo"),l=E.curry,n=E.each,t=E.map,a=Math.min,o=Math.max,r=Math.pow,c=1e4,e=6,s=6,u="globalPan",h={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},g={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},A={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(ie){p.call(this),this._zr=ie,this.group=new v.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={},n(z,function(de,_e){this._handlers[_e]=E.bind(de,this)},this)}b.prototype={constructor:b,enableBrush:function(ie){return this._brushType&&_(this),ie.brushType&&S(this,ie),this},setPanels:function(ie){if(ie&&ie.length){var de=this._panels={};E.each(ie,function(_e){de[_e.panelId]=E.clone(_e)})}else this._panels=null;return this},mount:function(ie){ie=ie||{},this._enableGlobalPan=ie.enableGlobalPan;var de=this.group;return this._zr.add(de),de.attr({position:ie.position||[0,0],rotation:ie.rotation||0,scale:ie.scale||[1,1]}),this._transform=de.getLocalTransform(),this},eachCover:function(ie,de){n(this._covers,ie,de)},updateCovers:function(ie){ie=E.map(ie,function(Ct){return E.merge(E.clone(A),Ct,!0)});var de="\0-brush-index-",_e=this._covers,We=this._covers=[],at=this,tt=this._creatingCover;return new d(_e,ie,yt,Oe).add(Ye).update(Ye).remove(bt).execute(),this;function Oe(Ct,It){return(Ct.id!=null?Ct.id:de+It)+"-"+Ct.brushType}function yt(Ct,It){return Oe(Ct.__brushOption,It)}function Ye(Ct,It){var Ft=ie[Ct];if(It!=null&&_e[It]===tt)We[Ct]=_e[It];else{var Vt=We[Ct]=It!=null?(_e[It].__brushOption=Ft,_e[It]):I(at,C(at,Ft));k(at,Vt)}}function bt(Ct){_e[Ct]!==tt&&at.group.remove(_e[Ct])}},unmount:function(){return this.enableBrush(!1),D(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},E.mixin(b,p);function S(ie,de){var _e=ie._zr;ie._enableGlobalPan||f.take(_e,u,ie._uid),T(_e,ie._handlers),ie._brushType=de.brushType,ie._brushOption=E.merge(E.clone(A),de,!0)}function _(ie){var de=ie._zr;f.release(de,u,ie._uid),x(de,ie._handlers),ie._brushType=ie._brushOption=null}function T(ie,de){n(de,function(_e,We){ie.on(We,_e)})}function x(ie,de){n(de,function(_e,We){ie.off(We,_e)})}function C(ie,de){var _e=se[de.brushType].createCover(ie,de);return _e.__brushOption=de,M(_e,de),ie.group.add(_e),_e}function I(ie,de){var _e=R(de);return _e.endCreating&&(_e.endCreating(ie,de),M(de,de.__brushOption)),de}function L(ie,de){var _e=de.__brushOption;R(de).updateCoverShape(ie,de,_e.range,_e)}function M(ie,de){var _e=de.z;_e==null&&(_e=c),ie.traverse(function(We){We.z=_e,We.z2=_e})}function k(ie,de){R(de).updateCommon(ie,de),L(ie,de)}function R(ie){return se[ie.__brushOption.brushType]}function j(ie,de,_e){var We=ie._panels;if(!We)return!0;var at,tt=ie._transform;return n(We,function(Oe){Oe.isTargetByCursor(de,_e,tt)&&(at=Oe)}),at}function V(ie,de){var _e=ie._panels;if(!_e)return!0;var We=de.__brushOption.panelId;return We!=null?_e[We]:!0}function D(ie){var de=ie._covers,_e=de.length;return n(de,function(We){ie.group.remove(We)},ie),de.length=0,!!_e}function H(ie,de){var _e=t(ie._covers,function(We){var at=We.__brushOption,tt=E.clone(at.range);return{brushType:at.brushType,panelId:at.panelId,range:tt}});ie.trigger("brush",_e,{isEnd:!!de.isEnd,removeOnClick:!!de.removeOnClick})}function P(ie){var de=ie._track;if(!de.length)return!1;var _e=de[de.length-1],We=de[0],at=_e[0]-We[0],tt=_e[1]-We[1],Oe=r(at*at+tt*tt,.5);return Oe>e}function K(ie){var de=ie.length-1;return de<0&&(de=0),[ie[0],ie[de]]}function U(ie,de,_e,We){var at=new v.Group;return at.add(new v.Rect({name:"main",style:J(_e),silent:!0,draggable:!0,cursor:"move",drift:l(ie,de,at,"nswe"),ondragend:l(H,de,{isEnd:!0})})),n(We,function(tt){at.add(new v.Rect({name:tt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(ie,de,at,tt),ondragend:l(H,de,{isEnd:!0})}))}),at}function G(ie,de,_e,We){var at=We.brushStyle.lineWidth||0,tt=o(at,s),Oe=_e[0][0],yt=_e[1][0],Ye=Oe-at/2,bt=yt-at/2,Ct=_e[0][1],It=_e[1][1],Ft=Ct-tt+at/2,Vt=It-tt+at/2,$e=Ct-Oe,ge=It-yt,ne=$e+at,wt=ge+at;Z(ie,de,"main",Oe,yt,$e,ge),We.transformable&&(Z(ie,de,"w",Ye,bt,tt,wt),Z(ie,de,"e",Ft,bt,tt,wt),Z(ie,de,"n",Ye,bt,ne,tt),Z(ie,de,"s",Ye,Vt,ne,tt),Z(ie,de,"nw",Ye,bt,tt,tt),Z(ie,de,"ne",Ft,bt,tt,tt),Z(ie,de,"sw",Ye,Vt,tt,tt),Z(ie,de,"se",Ft,Vt,tt,tt))}function W(ie,de){var _e=de.__brushOption,We=_e.transformable,at=de.childAt(0);at.useStyle(J(_e)),at.attr({silent:!We,cursor:We?"move":"default"}),n(["w","e","n","s","se","sw","ne","nw"],function(tt){var Oe=de.childOfName(tt),yt=ce(ie,tt);Oe&&Oe.attr({silent:!We,invisible:!We,cursor:We?g[yt]+"-resize":null})})}function Z(ie,de,_e,We,at,tt,Oe){var yt=de.childOfName(_e);yt&&yt.setShape(Ne(fe(ie,de,[[We,at],[We+tt,at+Oe]])))}function J(ie){return E.defaults({strokeNoScale:!0},ie.brushStyle)}function ve(ie,de,_e,We){var at=[a(ie,_e),a(de,We)],tt=[o(ie,_e),o(de,We)];return[[at[0],tt[0]],[at[1],tt[1]]]}function q(ie){return v.getTransform(ie.group)}function ce(ie,de){if(de.length>1){de=de.split("");var _e=[ce(ie,de[0]),ce(ie,de[1])];return(_e[0]==="e"||_e[0]==="w")&&_e.reverse(),_e.join("")}else{var We={w:"left",e:"right",n:"top",s:"bottom"},at={left:"w",right:"e",top:"n",bottom:"s"},_e=v.transformDirection(We[de],q(ie));return at[_e]}}function be(ie,de,_e,We,at,tt,Oe,yt){var Ye=We.__brushOption,bt=ie(Ye.range),Ct=Fe(_e,tt,Oe);n(at.split(""),function(It){var Ft=h[It];bt[Ft[0]][Ft[1]]+=Ct[Ft[0]]}),Ye.range=de(ve(bt[0][0],bt[1][0],bt[0][1],bt[1][1])),k(_e,We),H(_e,{isEnd:!1})}function Ce(ie,de,_e,We,at){var tt=de.__brushOption.range,Oe=Fe(ie,_e,We);n(tt,function(yt){yt[0]+=Oe[0],yt[1]+=Oe[1]}),k(ie,de),H(ie,{isEnd:!1})}function Fe(ie,de,_e){var We=ie.group,at=We.transformCoordToLocal(de,_e),tt=We.transformCoordToLocal(0,0);return[at[0]-tt[0],at[1]-tt[1]]}function fe(ie,de,_e){var We=V(ie,de);return We&&We!==!0?We.clipPath(_e,ie._transform):E.clone(_e)}function Ne(ie){var de=a(ie[0][0],ie[1][0]),_e=a(ie[0][1],ie[1][1]),We=o(ie[0][0],ie[1][0]),at=o(ie[0][1],ie[1][1]);return{x:de,y:_e,width:We-de,height:at-_e}}function Q(ie,de,_e){if(!ie._brushType||pe(ie,de))return;var We=ie._zr,at=ie._covers,tt=j(ie,de,_e);if(!ie._dragging)for(var Oe=0;Oe<at.length;Oe++){var yt=at[Oe].__brushOption;if(tt&&(tt===!0||yt.panelId===tt.panelId)&&se[yt.brushType].contain(at[Oe],_e[0],_e[1]))return}tt&&We.setCursorStyle("crosshair")}function ae(ie){var de=ie.event;de.preventDefault&&de.preventDefault()}function Ue(ie,de,_e){return ie.childOfName("main").contain(de,_e)}function te(ie,de,_e,We){var at=ie._creatingCover,tt=ie._creatingPanel,Oe=ie._brushOption,yt;if(ie._track.push(_e.slice()),P(ie)||at){if(tt&&!at){Oe.brushMode==="single"&&D(ie);var Ye=E.clone(Oe);Ye.brushType=X(Ye.brushType,tt),Ye.panelId=tt===!0?null:tt.panelId,at=ie._creatingCover=C(ie,Ye),ie._covers.push(at)}if(at){var bt=se[X(ie._brushType,tt)],Ct=at.__brushOption;Ct.range=bt.getCreatingRange(fe(ie,at,ie._track)),We&&(I(ie,at),bt.updateCommon(ie,at)),L(ie,at),yt={isEnd:We}}}else We&&Oe.brushMode==="single"&&Oe.removeOnClick&&(j(ie,de,_e)&&D(ie)&&(yt={isEnd:We,removeOnClick:!0}));return yt}function X(ie,de){return ie==="auto"?de.defaultBrushType:ie}var z={mousedown:function(ie){if(this._dragging)Y(this,ie);else if(!ie.target||!ie.target.draggable){ae(ie);var de=this.group.transformCoordToLocal(ie.offsetX,ie.offsetY);this._creatingCover=null;var _e=this._creatingPanel=j(this,ie,de);_e&&(this._dragging=!0,this._track=[de.slice()])}},mousemove:function(ie){var de=ie.offsetX,_e=ie.offsetY,We=this.group.transformCoordToLocal(de,_e);if(Q(this,ie,We),this._dragging){ae(ie);var at=te(this,ie,We,!1);at&&H(this,at)}},mouseup:function(ie){Y(this,ie)}};function Y(ie,de){if(ie._dragging){ae(de);var _e=de.offsetX,We=de.offsetY,at=ie.group.transformCoordToLocal(_e,We),tt=te(ie,de,at,!0);ie._dragging=!1,ie._track=[],ie._creatingCover=null,tt&&H(ie,tt)}}function pe(ie,de,_e){var We=ie._zr;return de<0||de>We.getWidth()||_e<0||_e>We.getHeight()}var se={lineX:Te(0),lineY:Te(1),rect:{createCover:function(ie,de){return U(l(be,function(_e){return _e},function(_e){return _e}),ie,de,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ie){var de=K(ie);return ve(de[1][0],de[1][1],de[0][0],de[0][1])},updateCoverShape:function(ie,de,_e,We){G(ie,de,_e,We)},updateCommon:W,contain:Ue},polygon:{createCover:function(ie,de){var _e=new v.Group;return _e.add(new v.Polyline({name:"main",style:J(de),silent:!0})),_e},getCreatingRange:function(ie){return ie},endCreating:function(ie,de){de.remove(de.childAt(0)),de.add(new v.Polygon({name:"main",draggable:!0,drift:l(Ce,ie,de),ondragend:l(H,ie,{isEnd:!0})}))},updateCoverShape:function(ie,de,_e,We){de.childAt(0).setShape({points:fe(ie,de,_e)})},updateCommon:W,contain:Ue}};function Te(ie){return{createCover:function(de,_e){return U(l(be,function(We){var at=[We,[0,100]];return ie&&at.reverse(),at},function(We){return We[ie]}),de,_e,[["w","e"],["n","s"]][ie])},getCreatingRange:function(de){var _e=K(de),We=a(_e[0][ie],_e[1][ie]),at=o(_e[0][ie],_e[1][ie]);return[We,at]},updateCoverShape:function(de,_e,We,at){var tt,Oe=V(de,_e);if(Oe!==!0&&Oe.getLinearBrushOtherExtent)tt=Oe.getLinearBrushOtherExtent(ie,de._transform);else{var yt=de._zr;tt=[0,[yt.getWidth(),yt.getHeight()][1-ie]]}var Ye=[We,tt];ie&&Ye.reverse(),G(de,_e,Ye,at)},updateCommon:W,contain:Ue}}var Se=b;B.exports=Se},"/MfK":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DeleteOutlined";var d=N.a=m.forwardRef(f)},"/POA":function(B,N,i){!function(y,m){if(!0)B.exports=m();else var E,p}(window,function(){return function(y){var m={};function E(p){if(m[p])return m[p].exports;var v=m[p]={i:p,l:!1,exports:{}};return y[p].call(v.exports,v,v.exports,E),v.l=!0,v.exports}return E.m=y,E.c=m,E.d=function(p,v,f){E.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:f})},E.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},E.t=function(p,v){if(1&v&&(p=E(p)),8&v)return p;if(4&v&&typeof p=="object"&&p&&p.__esModule)return p;var f=Object.create(null);if(E.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:p}),2&v&&typeof p!="string")for(var d in p)E.d(f,d,function(l){return p[l]}.bind(null,d));return f},E.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return E.d(v,"a",v),v},E.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},E.p="",E(E.s=34)}([function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.forwardEvent=m.EventEmitter=void 0;var p=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var d=this;return this._event||(this._event=function(l){return d._listeners.push(l),{dispose:function(){if(!d._disposed){for(var t=0;t<d._listeners.length;t++)if(d._listeners[t]===l)return void d._listeners.splice(t,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(f,d){for(var l=[],n=0;n<this._listeners.length;n++)l.push(this._listeners[n]);for(n=0;n<l.length;n++)l[n].call(void 0,f,d)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();m.EventEmitter=p,m.forwardEvent=function(v,f){return v(function(d){return f.fire(d)})}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.IUnicodeService=m.IOptionsService=m.ILogService=m.IInstantiationService=m.IDirtyRowService=m.ICharsetService=m.ICoreService=m.ICoreMouseService=m.IBufferService=void 0;var p=E(14);m.IBufferService=p.createDecorator("BufferService"),m.ICoreMouseService=p.createDecorator("CoreMouseService"),m.ICoreService=p.createDecorator("CoreService"),m.ICharsetService=p.createDecorator("CharsetService"),m.IDirtyRowService=p.createDecorator("DirtyRowService"),m.IInstantiationService=p.createDecorator("InstantiationService"),m.ILogService=p.createDecorator("LogService"),m.IOptionsService=p.createDecorator("OptionsService"),m.IUnicodeService=p.createDecorator("UnicodeService")},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.getDisposeArrayDisposable=m.disposeArray=m.Disposable=void 0;var p=function(){function f(){this._disposables=[],this._isDisposed=!1}return f.prototype.dispose=function(){this._isDisposed=!0;for(var d=0,l=this._disposables;d<l.length;d++)l[d].dispose();this._disposables.length=0},f.prototype.register=function(d){return this._disposables.push(d),d},f.prototype.unregister=function(d){var l=this._disposables.indexOf(d);l!==-1&&this._disposables.splice(l,1)},f}();function v(f){for(var d=0,l=f;d<l.length;d++)l[d].dispose();f.length=0}m.Disposable=p,m.disposeArray=v,m.getDisposeArrayDisposable=function(f){return{dispose:function(){return v(f)}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WHITESPACE_CELL_CODE=m.WHITESPACE_CELL_WIDTH=m.WHITESPACE_CELL_CHAR=m.NULL_CELL_CODE=m.NULL_CELL_WIDTH=m.NULL_CELL_CHAR=m.CHAR_DATA_CODE_INDEX=m.CHAR_DATA_WIDTH_INDEX=m.CHAR_DATA_CHAR_INDEX=m.CHAR_DATA_ATTR_INDEX=m.DEFAULT_ATTR=m.DEFAULT_COLOR=void 0,m.DEFAULT_COLOR=256,m.DEFAULT_ATTR=256|m.DEFAULT_COLOR<<9,m.CHAR_DATA_ATTR_INDEX=0,m.CHAR_DATA_CHAR_INDEX=1,m.CHAR_DATA_WIDTH_INDEX=2,m.CHAR_DATA_CODE_INDEX=3,m.NULL_CELL_CHAR="",m.NULL_CELL_WIDTH=1,m.NULL_CELL_CODE=0,m.WHITESPACE_CELL_CHAR=" ",m.WHITESPACE_CELL_WIDTH=1,m.WHITESPACE_CELL_CODE=32},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,o){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,o)},function(t,a){function o(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(o.prototype=a.prototype,new o)});Object.defineProperty(m,"__esModule",{value:!0}),m.CellData=void 0;var f=E(8),d=E(3),l=E(6),n=function(t){function a(){var o=t!==null&&t.apply(this,arguments)||this;return o.content=0,o.fg=0,o.bg=0,o.extended=new l.ExtendedAttrs,o.combinedData="",o}return v(a,t),a.fromCharData=function(o){var r=new a;return r.setFromCharData(o),r},a.prototype.isCombined=function(){return 2097152&this.content},a.prototype.getWidth=function(){return this.content>>22},a.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?f.stringFromCodePoint(2097151&this.content):""},a.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},a.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 c=o[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=c&&c<=56319){var e=o[d.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(c-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)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(l.AttributeData);m.CellData=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ISoundService=m.ISelectionService=m.IRenderService=m.IMouseService=m.ICoreBrowserService=m.ICharSizeService=void 0;var p=E(14);m.ICharSizeService=p.createDecorator("CharSizeService"),m.ICoreBrowserService=p.createDecorator("CoreBrowserService"),m.IMouseService=p.createDecorator("MouseService"),m.IRenderService=p.createDecorator("RenderService"),m.ISelectionService=p.createDecorator("SelectionService"),m.ISoundService=p.createDecorator("SoundService")},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ExtendedAttrs=m.AttributeData=void 0;var p=function(){function f(){this.fg=0,this.bg=0,this.extended=new v}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}();m.AttributeData=p;var v=function(){function f(d,l){d===void 0&&(d=0),l===void 0&&(l=-1),this.underlineStyle=d,this.underlineColor=l}return f.prototype.clone=function(){return new f(this.underlineStyle,this.underlineColor)},f.prototype.isEmpty=function(){return this.underlineStyle===0},f}();m.ExtendedAttrs=v},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.addDisposableDomListener=void 0,m.addDisposableDomListener=function(p,v,f,d){p.addEventListener(v,f,d);var l=!1;return{dispose:function(){l||(l=!0,p.removeEventListener(v,f,d))}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Utf8ToUtf32=m.StringToUtf32=m.utf32ToString=m.stringFromCodePoint=void 0,m.stringFromCodePoint=function(f){return f>65535?(f-=65536,String.fromCharCode(55296+(f>>10))+String.fromCharCode(f%1024+56320)):String.fromCharCode(f)},m.utf32ToString=function(f,d,l){d===void 0&&(d=0),l===void 0&&(l=f.length);for(var n="",t=d;t<l;++t){var a=f[t];a>65535?(a-=65536,n+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):n+=String.fromCharCode(a)}return n};var p=function(){function f(){this._interim=0}return f.prototype.clear=function(){this._interim=0},f.prototype.decode=function(d,l){var n=d.length;if(!n)return 0;var t=0,a=0;this._interim&&(56320<=(c=d.charCodeAt(a++))&&c<=57343?l[t++]=1024*(this._interim-55296)+c-56320+65536:(l[t++]=this._interim,l[t++]=c),this._interim=0);for(var o=a;o<n;++o){var r=d.charCodeAt(o);if(55296<=r&&r<=56319){if(++o>=n)return this._interim=r,t;var c;56320<=(c=d.charCodeAt(o))&&c<=57343?l[t++]=1024*(r-55296)+c-56320+65536:(l[t++]=r,l[t++]=c)}else l[t++]=r}return t},f}();m.StringToUtf32=p;var v=function(){function f(){this.interim=new Uint8Array(3)}return f.prototype.clear=function(){this.interim.fill(0)},f.prototype.decode=function(d,l){var n=d.length;if(!n)return 0;var t,a,o,r,c=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 g=0,A=void 0;(A=63&this.interim[++g])&&g<4;)h<<=6,h|=A;for(var w=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,b=w-g;s<b;){if(s>=n)return 0;if((192&(A=d[s++]))!=128){s--,u=!0;break}this.interim[g++]=A,h<<=6,h|=63&A}u||(w===2?h<128?s--:l[c++]=h:w===3?h<2048||h>=55296&&h<=57343||(l[c++]=h):h<65536||h>1114111||(l[c++]=h)),this.interim.fill(0)}for(var S=n-4,_=s;_<n;){for(;!(!(_<S)||128&(t=d[_])||128&(a=d[_+1])||128&(o=d[_+2])||128&(r=d[_+3]));)l[c++]=t,l[c++]=a,l[c++]=o,l[c++]=r,_+=4;if((t=d[_++])<128)l[c++]=t;else if((224&t)==192){if(_>=n)return this.interim[0]=t,c;if((192&(a=d[_++]))!=128){_--;continue}if((e=(31&t)<<6|63&a)<128){_--;continue}l[c++]=e}else if((240&t)==224){if(_>=n)return this.interim[0]=t,c;if((192&(a=d[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,c;if((192&(o=d[_++]))!=128){_--;continue}if((e=(15&t)<<12|(63&a)<<6|63&o)<2048||e>=55296&&e<=57343)continue;l[c++]=e}else if((248&t)==240){if(_>=n)return this.interim[0]=t,c;if((192&(a=d[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,c;if((192&(o=d[_++]))!=128){_--;continue}if(_>=n)return this.interim[0]=t,this.interim[1]=a,this.interim[2]=o,c;if((192&(r=d[_++]))!=128){_--;continue}if((e=(7&t)<<18|(63&a)<<12|(63&o)<<6|63&r)<65536||e>1114111)continue;l[c++]=e}}return c},f}();m.Utf8ToUtf32=v},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CHAR_ATLAS_CELL_SPACING=m.DIM_OPACITY=m.INVERTED_DEFAULT_COLOR=void 0,m.INVERTED_DEFAULT_COLOR=257,m.DIM_OPACITY=.5,m.CHAR_ATLAS_CELL_SPACING=1},function(y,m,E){"use strict";var p,v,f,d;function l(t){var a=t.toString(16);return a.length<2?"0"+a:a}function n(t,a){return t<a?(a+.05)/(t+.05):(t+.05)/(a+.05)}Object.defineProperty(m,"__esModule",{value:!0}),m.contrastRatio=m.toPaddedHex=m.rgba=m.rgb=m.css=m.color=m.channels=void 0,function(t){t.toCss=function(a,o,r,c){return c!==void 0?"#"+l(a)+l(o)+l(r)+l(c):"#"+l(a)+l(o)+l(r)},t.toRgba=function(a,o,r,c){return c===void 0&&(c=255),(a<<24|o<<16|r<<8|c)>>>0}}(p=m.channels||(m.channels={})),(v=m.color||(m.color={})).blend=function(t,a){var o=(255&a.rgba)/255;if(o===1)return{css:a.css,rgba:a.rgba};var r=a.rgba>>24&255,c=a.rgba>>16&255,e=a.rgba>>8&255,s=t.rgba>>24&255,u=t.rgba>>16&255,h=t.rgba>>8&255,g=s+Math.round((r-s)*o),A=u+Math.round((c-u)*o),w=h+Math.round((e-h)*o);return{css:p.toCss(g,A,w),rgba:p.toRgba(g,A,w)}},v.isOpaque=function(t){return(255&t.rgba)==255},v.ensureContrastRatio=function(t,a,o){var r=d.ensureContrastRatio(t.rgba,a.rgba,o);if(r)return d.toColor(r>>24&255,r>>16&255,r>>8&255)},v.opaque=function(t){var a=(255|t.rgba)>>>0,o=d.toChannels(a),r=o[0],c=o[1],e=o[2];return{css:p.toCss(r,c,e),rgba:a}},v.opacity=function(t,a){var o=Math.round(255*a),r=d.toChannels(t.rgba),c=r[0],e=r[1],s=r[2];return{css:p.toCss(c,e,s,o),rgba:p.toRgba(c,e,s,o)}},(m.css||(m.css={})).toColor=function(t){switch(t.length){case 7:return{css:t,rgba:(parseInt(t.slice(1),16)<<8|255)>>>0};case 9:return{css:t,rgba:parseInt(t.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(t){function a(o,r,c){var e=o/255,s=r/255,u=c/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))}t.relativeLuminance=function(o){return a(o>>16&255,o>>8&255,255&o)},t.relativeLuminance2=a}(f=m.rgb||(m.rgb={})),function(t){function a(r,c,e){for(var s=r>>24&255,u=r>>16&255,h=r>>8&255,g=c>>24&255,A=c>>16&255,w=c>>8&255,b=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(s,u,h));b<e&&(g>0||A>0||w>0);)g-=Math.max(0,Math.ceil(.1*g)),A-=Math.max(0,Math.ceil(.1*A)),w-=Math.max(0,Math.ceil(.1*w)),b=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(s,u,h));return(g<<24|A<<16|w<<8|255)>>>0}function o(r,c,e){for(var s=r>>24&255,u=r>>16&255,h=r>>8&255,g=c>>24&255,A=c>>16&255,w=c>>8&255,b=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(s,u,h));b<e&&(g<255||A<255||w<255);)g=Math.min(255,g+Math.ceil(.1*(255-g))),A=Math.min(255,A+Math.ceil(.1*(255-A))),w=Math.min(255,w+Math.ceil(.1*(255-w))),b=n(f.relativeLuminance2(g,w,A),f.relativeLuminance2(s,u,h));return(g<<24|A<<16|w<<8|255)>>>0}t.ensureContrastRatio=function(r,c,e){var s=f.relativeLuminance(r>>8),u=f.relativeLuminance(c>>8);if(n(s,u)<e)return u<s?a(r,c,e):o(r,c,e)},t.reduceLuminance=a,t.increaseLuminance=o,t.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},t.toColor=function(r,c,e){return{css:p.toCss(r,c,e),rgba:p.toRgba(r,c,e)}}}(d=m.rgba||(m.rgba={})),m.toPaddedHex=l,m.contrastRatio=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isLinux=m.isWindows=m.isIphone=m.isIpad=m.isMac=m.isSafari=m.isFirefox=void 0;var p=typeof navigator=="undefined",v=p?"node":navigator.userAgent,f=p?"node":navigator.platform;function d(l,n){return l.indexOf(n)>=0}m.isFirefox=!!~v.indexOf("Firefox"),m.isSafari=/^((?!chrome|android).)*safari/i.test(v),m.isMac=d(["Macintosh","MacIntel","MacPPC","Mac68K"],f),m.isIpad=f==="iPad",m.isIphone=f==="iPhone",m.isWindows=d(["Windows","Win16","Win32","WinCE"],f),m.isLinux=f.indexOf("Linux")>=0},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.C1=m.C0=void 0,function(p){p.NUL="\0",p.SOH="",p.STX="",p.ETX="",p.EOT="",p.ENQ="",p.ACK="",p.BEL="\x07",p.BS="\b",p.HT=" ",p.LF=`
`,p.VT="\v",p.FF="\f",p.CR="\r",p.SO="",p.SI="",p.DLE="",p.DC1="",p.DC2="",p.DC3="",p.DC4="",p.NAK="",p.SYN="",p.ETB="",p.CAN="",p.EM="",p.SUB="",p.ESC="",p.FS="",p.GS="",p.RS="",p.US="",p.SP=" ",p.DEL="\x7F"}(m.C0||(m.C0={})),function(p){p.PAD="\x80",p.HOP="\x81",p.BPH="\x82",p.NBH="\x83",p.IND="\x84",p.NEL="\x85",p.SSA="\x86",p.ESA="\x87",p.HTS="\x88",p.HTJ="\x89",p.VTS="\x8A",p.PLD="\x8B",p.PLU="\x8C",p.RI="\x8D",p.SS2="\x8E",p.SS3="\x8F",p.DCS="\x90",p.PU1="\x91",p.PU2="\x92",p.STS="\x93",p.CCH="\x94",p.MW="\x95",p.SPA="\x96",p.EPA="\x97",p.SOS="\x98",p.SGCI="\x99",p.SCI="\x9A",p.CSI="\x9B",p.ST="\x9C",p.OSC="\x9D",p.PM="\x9E",p.APC="\x9F"}(m.C1||(m.C1={}))},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseRenderLayer=void 0;var p=E(3),v=E(9),f=E(25),d=E(6),l=E(28),n=E(10),t=E(17),a=function(){function o(r,c,e,s,u,h,g,A){this._container=r,this._alpha=s,this._colors=u,this._rendererId=h,this._bufferService=g,this._optionsService=A,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-"+c+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return o.prototype.dispose=function(){var r;t.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},o.prototype._initCanvas=function(){this._ctx=l.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,c){},o.prototype.onSelectionChanged=function(r,c,e){e===void 0&&(e=!1)},o.prototype.setColors=function(r){this._refreshCharAtlas(r)},o.prototype._setTransparency=function(r){if(r!==this._alpha){var c=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,c),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,c,e,s){this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight)},o.prototype._fillBottomLineAtCells=function(r,c,e){e===void 0&&(e=1),this._ctx.fillRect(r*this._scaledCellWidth,(c+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},o.prototype._fillLeftLineAtCell=function(r,c,e){this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},o.prototype._strokeRectAtCell=function(r,c,e,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,c*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,c,e,s){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight))},o.prototype._fillCharTrueColor=function(r,c,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(r.getChars(),c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},o.prototype._drawChars=function(r,c,e){var s,u,h=this._getContrastColor(r);h||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,c,e,h):(r.isInverse()?(s=r.isBgDefault()?v.INVERTED_DEFAULT_COLOR:r.getBgColor(),u=r.isFgDefault()?v.INVERTED_DEFAULT_COLOR:r.getFgColor()):(u=r.isBgDefault()?p.DEFAULT_COLOR:r.getBgColor(),s=r.isFgDefault()?p.DEFAULT_COLOR:r.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||p.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||p.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,c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,c,e))},o.prototype._drawUncachedChars=function(r,c,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=n.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=v.DIM_OPACITY),this._ctx.fillText(r.getChars(),c*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,c){return(c?"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 c=this._colors.contrastCache.getColor(r.bg,r.fg);if(c!==void 0)return c||void 0;var e=r.getFgColor(),s=r.getFgColorMode(),u=r.getBgColor(),h=r.getBgColorMode(),g=!!r.isInverse(),A=!!r.isInverse();if(g){var w=e;e=u,u=w;var b=s;s=h,h=b}var S=this._resolveBackgroundRgba(h,u,g),_=this._resolveForegroundRgba(s,e,g,A),T=n.rgba.ensureContrastRatio(S,_,this._optionsService.options.minimumContrastRatio);if(T){var x={css:n.channels.toCss(T>>24&255,T>>16&255,T>>8&255),rgba:T};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,c,e){switch(r){case 16777216:case 33554432:return this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},o.prototype._resolveForegroundRgba=function(r,c,e,s){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&c<8&&(c+=8),this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},o}();m.BaseRenderLayer=a},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createDecorator=m.getServiceDependencies=m.serviceRegistry=void 0;function p(v,f,d){f.di$target===f?f.di$dependencies.push({id:v,index:d}):(f.di$dependencies=[{id:v,index:d}],f.di$target=f)}m.serviceRegistry=new Map,m.getServiceDependencies=function(v){return v.di$dependencies||[]},m.createDecorator=function(v){if(m.serviceRegistry.has(v))return m.serviceRegistry.get(v);var f=function d(l,n,t){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");p(d,l,t)};return f.toString=function(){return v},m.serviceRegistry.set(v,f),f}},function(y,m,E){"use strict";function p(v,f,d,l){if(d===void 0&&(d=0),l===void 0&&(l=v.length),d>=v.length)return v;d=(v.length+d)%v.length,l=l>=v.length?v.length:(v.length+l)%v.length;for(var n=d;n<l;++n)v[n]=f;return v}Object.defineProperty(m,"__esModule",{value:!0}),m.concat=m.fillFallback=m.fill=void 0,m.fill=function(v,f,d,l){return v.fill?v.fill(f,d,l):p(v,f,d,l)},m.fillFallback=p,m.concat=function(v,f){var d=new v.constructor(v.length+f.length);return d.set(v),d.set(f,v.length),d}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferLine=m.DEFAULT_ATTR_DATA=void 0;var p=E(8),v=E(3),f=E(4),d=E(6);m.DEFAULT_ATTR_DATA=Object.freeze(new d.AttributeData);var l=function(){function n(t,a,o){o===void 0&&(o=!1),this.isWrapped=o,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*t);for(var r=a||f.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),c=0;c<t;++c)this.setCell(c,r);this.length=t}return n.prototype.get=function(t){var a=this._data[3*t+0],o=2097151&a;return[this._data[3*t+1],2097152&a?this._combined[t]:o?p.stringFromCodePoint(o):"",a>>22,2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):o]},n.prototype.set=function(t,a){this._data[3*t+1]=a[v.CHAR_DATA_ATTR_INDEX],a[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[t]=a[1],this._data[3*t+0]=2097152|t|a[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*t+0]=a[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[v.CHAR_DATA_WIDTH_INDEX]<<22},n.prototype.getWidth=function(t){return this._data[3*t+0]>>22},n.prototype.hasWidth=function(t){return 12582912&this._data[3*t+0]},n.prototype.getFg=function(t){return this._data[3*t+1]},n.prototype.getBg=function(t){return this._data[3*t+2]},n.prototype.hasContent=function(t){return 4194303&this._data[3*t+0]},n.prototype.getCodePoint=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t].charCodeAt(this._combined[t].length-1):2097151&a},n.prototype.isCombined=function(t){return 2097152&this._data[3*t+0]},n.prototype.getString=function(t){var a=this._data[3*t+0];return 2097152&a?this._combined[t]:2097151&a?p.stringFromCodePoint(2097151&a):""},n.prototype.loadCell=function(t,a){var o=3*t;return a.content=this._data[o+0],a.fg=this._data[o+1],a.bg=this._data[o+2],2097152&a.content&&(a.combinedData=this._combined[t]),268435456&a.bg&&(a.extended=this._extendedAttrs[t]),a},n.prototype.setCell=function(t,a){2097152&a.content&&(this._combined[t]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[t]=a.extended),this._data[3*t+0]=a.content,this._data[3*t+1]=a.fg,this._data[3*t+2]=a.bg},n.prototype.setCellFromCodePoint=function(t,a,o,r,c,e){268435456&c&&(this._extendedAttrs[t]=e),this._data[3*t+0]=a|o<<22,this._data[3*t+1]=r,this._data[3*t+2]=c},n.prototype.addCodepointToCell=function(t,a){var o=this._data[3*t+0];2097152&o?this._combined[t]+=p.stringFromCodePoint(a):(2097151&o?(this._combined[t]=p.stringFromCodePoint(2097151&o)+p.stringFromCodePoint(a),o&=-2097152,o|=2097152):o=a|1<<22,this._data[3*t+0]=o)},n.prototype.insertCells=function(t,a,o,r){if((t%=this.length)&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-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<this.length-t){for(var c=new f.CellData,e=this.length-t-a-1;e>=0;--e)this.setCell(t+a+e,this.loadCell(t+e,c));for(e=0;e<a;++e)this.setCell(t+e,o)}else for(e=t;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)},n.prototype.deleteCells=function(t,a,o,r){if(t%=this.length,a<this.length-t){for(var c=new f.CellData,e=0;e<this.length-t-a;++e)this.setCell(t+e,this.loadCell(t+a+e,c));for(e=this.length-a;e<this.length;++e)this.setCell(e,o)}else for(e=t;e<this.length;++e)this.setCell(e,o);t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-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(t)!==0||this.hasContent(t)||this.setCellFromCodePoint(t,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.prototype.replaceCells=function(t,a,o,r){for(t&&this.getWidth(t-1)===2&&this.setCellFromCodePoint(t-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<this.length&&this.getWidth(a-1)===2&&this.setCellFromCodePoint(a,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);t<a&&t<this.length;)this.setCell(t++,o)},n.prototype.resize=function(t,a){if(t!==this.length){if(t>this.length){var o=new Uint32Array(3*t);this.length&&(3*t<this._data.length?o.set(this._data.subarray(0,3*t)):o.set(this._data)),this._data=o;for(var r=this.length;r<t;++r)this.setCell(r,a)}else if(t){(o=new Uint32Array(3*t)).set(this._data.subarray(0,3*t)),this._data=o;var c=Object.keys(this._combined);for(r=0;r<c.length;r++){var e=parseInt(c[r],10);e>=t&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=t}},n.prototype.fill=function(t){this._combined={},this._extendedAttrs={};for(var a=0;a<this.length;++a)this.setCell(a,t)},n.prototype.copyFrom=function(t){for(var a in this.length!==t.length?this._data=new Uint32Array(t._data):this._data.set(t._data),this.length=t.length,this._combined={},t._combined)this._combined[a]=t._combined[a];for(var a in this._extendedAttrs={},t._extendedAttrs)this._extendedAttrs[a]=t._extendedAttrs[a];this.isWrapped=t.isWrapped},n.prototype.clone=function(){var t=new n(0);for(var a in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[a]=this._combined[a];for(var a in this._extendedAttrs)t._extendedAttrs[a]=this._extendedAttrs[a];return t.isWrapped=this.isWrapped,t},n.prototype.getTrimmedLength=function(){for(var t=this.length-1;t>=0;--t)if(4194303&this._data[3*t+0])return t+(this._data[3*t+0]>>22);return 0},n.prototype.copyCellsFrom=function(t,a,o,r,c){var e=t._data;if(c)for(var s=r-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(o+s)+u]=e[3*(a+s)+u];else for(s=0;s<r;s++)for(u=0;u<3;u++)this._data[3*(o+s)+u]=e[3*(a+s)+u];var h=Object.keys(t._combined);for(u=0;u<h.length;u++){var g=parseInt(h[u],10);g>=a&&(this._combined[g-a+o]=t._combined[g])}},n.prototype.translateToString=function(t,a,o){t===void 0&&(t=!1),a===void 0&&(a=0),o===void 0&&(o=this.length),t&&(o=Math.min(o,this.getTrimmedLength()));for(var r="";a<o;){var c=this._data[3*a+0],e=2097151&c;r+=2097152&c?this._combined[a]:e?p.stringFromCodePoint(e):v.WHITESPACE_CELL_CHAR,a+=c>>22||1}return r},n}();m.BufferLine=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeElementFromParent=void 0,m.removeElementFromParent=function(){for(var p,v=[],f=0;f<arguments.length;f++)v[f]=arguments[f];for(var d=0,l=v;d<l.length;d++){var n=l[d];(p=n==null?void 0:n.parentElement)===null||p===void 0||p.removeChild(n)}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.tooMuchOutput=m.promptLabel=void 0,m.promptLabel="Terminal input",m.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(T,x){return(p=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])})(T,x)},function(_,T){function x(){this.constructor=_}p(_,T),_.prototype=T===null?Object.create(T):(x.prototype=T.prototype,new x)});Object.defineProperty(m,"__esModule",{value:!0}),m.InputHandler=m.WindowsOptionsReportType=void 0;var f,d=E(12),l=E(20),n=E(39),t=E(2),a=E(15),o=E(8),r=E(16),c=E(0),e=E(3),s=E(4),u=E(6),h=E(22),g=E(24),A={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function w(_,T){if(_>24)return T.setWinLines||!1;switch(_){case 1:return!!T.restoreWin;case 2:return!!T.minimizeWin;case 3:return!!T.setWinPosition;case 4:return!!T.setWinSizePixels;case 5:return!!T.raiseWin;case 6:return!!T.lowerWin;case 7:return!!T.refreshWin;case 8:return!!T.setWinSizeChars;case 9:return!!T.maximizeWin;case 10:return!!T.fullscreenWin;case 11:return!!T.getWinState;case 13:return!!T.getWinPosition;case 14:return!!T.getWinSizePixels;case 15:return!!T.getScreenSizePixels;case 16:return!!T.getCellSizePixels;case 18:return!!T.getWinSizeChars;case 19:return!!T.getScreenSizeChars;case 20:return!!T.getIconTitle;case 21:return!!T.getWinTitle;case 22:return!!T.pushTitle;case 23:return!!T.popTitle;case 24:return!!T.setWinLines}return!1}!function(_){_[_.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_[_.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(f=m.WindowsOptionsReportType||(m.WindowsOptionsReportType={}));var b=function(){function _(T,x,C,I){this._bufferService=T,this._coreService=x,this._logService=C,this._optionsService=I,this._data=new Uint32Array(0)}return _.prototype.hook=function(T){this._data=new Uint32Array(0)},_.prototype.put=function(T,x,C){this._data=a.concat(this._data,T.subarray(x,C))},_.prototype.unhook=function(T){if(T){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)},_}(),S=function(_){function T(x,C,I,L,M,k,R,j,V){V===void 0&&(V=new n.EscapeSequenceParser);var D=_.call(this)||this;D._bufferService=x,D._charsetService=C,D._coreService=I,D._dirtyRowService=L,D._logService=M,D._optionsService=k,D._coreMouseService=R,D._unicodeService=j,D._parser=V,D._parseBuffer=new Uint32Array(4096),D._stringDecoder=new o.StringToUtf32,D._utf8Decoder=new o.Utf8ToUtf32,D._workCell=new s.CellData,D._windowTitle="",D._iconName="",D._windowTitleStack=[],D._iconNameStack=[],D._curAttrData=r.DEFAULT_ATTR_DATA.clone(),D._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),D._onRequestBell=new c.EventEmitter,D._onRequestRefreshRows=new c.EventEmitter,D._onRequestReset=new c.EventEmitter,D._onRequestScroll=new c.EventEmitter,D._onRequestSyncScrollBar=new c.EventEmitter,D._onRequestWindowsOptionsReport=new c.EventEmitter,D._onA11yChar=new c.EventEmitter,D._onA11yTab=new c.EventEmitter,D._onCursorMove=new c.EventEmitter,D._onLineFeed=new c.EventEmitter,D._onScroll=new c.EventEmitter,D._onTitleChange=new c.EventEmitter,D.register(D._parser),D._parser.setCsiHandlerFallback(function(U,G){D._logService.debug("Unknown CSI code: ",{identifier:D._parser.identToString(U),params:G.toArray()})}),D._parser.setEscHandlerFallback(function(U){D._logService.debug("Unknown ESC code: ",{identifier:D._parser.identToString(U)})}),D._parser.setExecuteHandlerFallback(function(U){D._logService.debug("Unknown EXECUTE code: ",{code:U})}),D._parser.setOscHandlerFallback(function(U,G,W){D._logService.debug("Unknown OSC code: ",{identifier:U,action:G,data:W})}),D._parser.setDcsHandlerFallback(function(U,G,W){G==="HOOK"&&(W=W.toArray()),D._logService.debug("Unknown DCS code: ",{identifier:D._parser.identToString(U),action:G,payload:W})}),D._parser.setPrintHandler(function(U,G,W){return D.print(U,G,W)}),D._parser.setCsiHandler({final:"@"},function(U){return D.insertChars(U)}),D._parser.setCsiHandler({intermediates:" ",final:"@"},function(U){return D.scrollLeft(U)}),D._parser.setCsiHandler({final:"A"},function(U){return D.cursorUp(U)}),D._parser.setCsiHandler({intermediates:" ",final:"A"},function(U){return D.scrollRight(U)}),D._parser.setCsiHandler({final:"B"},function(U){return D.cursorDown(U)}),D._parser.setCsiHandler({final:"C"},function(U){return D.cursorForward(U)}),D._parser.setCsiHandler({final:"D"},function(U){return D.cursorBackward(U)}),D._parser.setCsiHandler({final:"E"},function(U){return D.cursorNextLine(U)}),D._parser.setCsiHandler({final:"F"},function(U){return D.cursorPrecedingLine(U)}),D._parser.setCsiHandler({final:"G"},function(U){return D.cursorCharAbsolute(U)}),D._parser.setCsiHandler({final:"H"},function(U){return D.cursorPosition(U)}),D._parser.setCsiHandler({final:"I"},function(U){return D.cursorForwardTab(U)}),D._parser.setCsiHandler({final:"J"},function(U){return D.eraseInDisplay(U)}),D._parser.setCsiHandler({prefix:"?",final:"J"},function(U){return D.eraseInDisplay(U)}),D._parser.setCsiHandler({final:"K"},function(U){return D.eraseInLine(U)}),D._parser.setCsiHandler({prefix:"?",final:"K"},function(U){return D.eraseInLine(U)}),D._parser.setCsiHandler({final:"L"},function(U){return D.insertLines(U)}),D._parser.setCsiHandler({final:"M"},function(U){return D.deleteLines(U)}),D._parser.setCsiHandler({final:"P"},function(U){return D.deleteChars(U)}),D._parser.setCsiHandler({final:"S"},function(U){return D.scrollUp(U)}),D._parser.setCsiHandler({final:"T"},function(U){return D.scrollDown(U)}),D._parser.setCsiHandler({final:"X"},function(U){return D.eraseChars(U)}),D._parser.setCsiHandler({final:"Z"},function(U){return D.cursorBackwardTab(U)}),D._parser.setCsiHandler({final:"`"},function(U){return D.charPosAbsolute(U)}),D._parser.setCsiHandler({final:"a"},function(U){return D.hPositionRelative(U)}),D._parser.setCsiHandler({final:"b"},function(U){return D.repeatPrecedingCharacter(U)}),D._parser.setCsiHandler({final:"c"},function(U){return D.sendDeviceAttributesPrimary(U)}),D._parser.setCsiHandler({prefix:">",final:"c"},function(U){return D.sendDeviceAttributesSecondary(U)}),D._parser.setCsiHandler({final:"d"},function(U){return D.linePosAbsolute(U)}),D._parser.setCsiHandler({final:"e"},function(U){return D.vPositionRelative(U)}),D._parser.setCsiHandler({final:"f"},function(U){return D.hVPosition(U)}),D._parser.setCsiHandler({final:"g"},function(U){return D.tabClear(U)}),D._parser.setCsiHandler({final:"h"},function(U){return D.setMode(U)}),D._parser.setCsiHandler({prefix:"?",final:"h"},function(U){return D.setModePrivate(U)}),D._parser.setCsiHandler({final:"l"},function(U){return D.resetMode(U)}),D._parser.setCsiHandler({prefix:"?",final:"l"},function(U){return D.resetModePrivate(U)}),D._parser.setCsiHandler({final:"m"},function(U){return D.charAttributes(U)}),D._parser.setCsiHandler({final:"n"},function(U){return D.deviceStatus(U)}),D._parser.setCsiHandler({prefix:"?",final:"n"},function(U){return D.deviceStatusPrivate(U)}),D._parser.setCsiHandler({intermediates:"!",final:"p"},function(U){return D.softReset(U)}),D._parser.setCsiHandler({intermediates:" ",final:"q"},function(U){return D.setCursorStyle(U)}),D._parser.setCsiHandler({final:"r"},function(U){return D.setScrollRegion(U)}),D._parser.setCsiHandler({final:"s"},function(U){return D.saveCursor(U)}),D._parser.setCsiHandler({final:"t"},function(U){return D.windowOptions(U)}),D._parser.setCsiHandler({final:"u"},function(U){return D.restoreCursor(U)}),D._parser.setCsiHandler({intermediates:"'",final:"}"},function(U){return D.insertColumns(U)}),D._parser.setCsiHandler({intermediates:"'",final:"~"},function(U){return D.deleteColumns(U)}),D._parser.setExecuteHandler(d.C0.BEL,function(){return D.bell()}),D._parser.setExecuteHandler(d.C0.LF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(d.C0.VT,function(){return D.lineFeed()}),D._parser.setExecuteHandler(d.C0.FF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(d.C0.CR,function(){return D.carriageReturn()}),D._parser.setExecuteHandler(d.C0.BS,function(){return D.backspace()}),D._parser.setExecuteHandler(d.C0.HT,function(){return D.tab()}),D._parser.setExecuteHandler(d.C0.SO,function(){return D.shiftOut()}),D._parser.setExecuteHandler(d.C0.SI,function(){return D.shiftIn()}),D._parser.setExecuteHandler(d.C1.IND,function(){return D.index()}),D._parser.setExecuteHandler(d.C1.NEL,function(){return D.nextLine()}),D._parser.setExecuteHandler(d.C1.HTS,function(){return D.tabSet()}),D._parser.setOscHandler(0,new h.OscHandler(function(U){D.setTitle(U),D.setIconName(U)})),D._parser.setOscHandler(1,new h.OscHandler(function(U){return D.setIconName(U)})),D._parser.setOscHandler(2,new h.OscHandler(function(U){return D.setTitle(U)})),D._parser.setEscHandler({final:"7"},function(){return D.saveCursor()}),D._parser.setEscHandler({final:"8"},function(){return D.restoreCursor()}),D._parser.setEscHandler({final:"D"},function(){return D.index()}),D._parser.setEscHandler({final:"E"},function(){return D.nextLine()}),D._parser.setEscHandler({final:"H"},function(){return D.tabSet()}),D._parser.setEscHandler({final:"M"},function(){return D.reverseIndex()}),D._parser.setEscHandler({final:"="},function(){return D.keypadApplicationMode()}),D._parser.setEscHandler({final:">"},function(){return D.keypadNumericMode()}),D._parser.setEscHandler({final:"c"},function(){return D.fullReset()}),D._parser.setEscHandler({final:"n"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"o"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"|"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"}"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"~"},function(){return D.setgLevel(1)}),D._parser.setEscHandler({intermediates:"%",final:"@"},function(){return D.selectDefaultCharset()}),D._parser.setEscHandler({intermediates:"%",final:"G"},function(){return D.selectDefaultCharset()});var H=function(G){P._parser.setEscHandler({intermediates:"(",final:G},function(){return D.selectCharset("("+G)}),P._parser.setEscHandler({intermediates:")",final:G},function(){return D.selectCharset(")"+G)}),P._parser.setEscHandler({intermediates:"*",final:G},function(){return D.selectCharset("*"+G)}),P._parser.setEscHandler({intermediates:"+",final:G},function(){return D.selectCharset("+"+G)}),P._parser.setEscHandler({intermediates:"-",final:G},function(){return D.selectCharset("-"+G)}),P._parser.setEscHandler({intermediates:".",final:G},function(){return D.selectCharset("."+G)}),P._parser.setEscHandler({intermediates:"/",final:G},function(){return D.selectCharset("/"+G)})},P=this;for(var K in l.CHARSETS)H(K);return D._parser.setEscHandler({intermediates:"#",final:"8"},function(){return D.screenAlignmentPattern()}),D._parser.setErrorHandler(function(U){return D._logService.error("Parsing error: ",U),U}),D._parser.setDcsHandler({intermediates:"$",final:"q"},new b(D._bufferService,D._coreService,D._logService,D._optionsService)),D}return v(T,_),Object.defineProperty(T.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),T.prototype.dispose=function(){_.prototype.dispose.call(this)},T.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 M=0;M<x.length;M+=131072){var k=M+131072<x.length?M+131072:x.length,R=typeof x=="string"?this._stringDecoder.decode(x.substring(M,k),this._parseBuffer):this._utf8Decoder.decode(x.subarray(M,k),this._parseBuffer);this._parser.parse(this._parseBuffer,R)}else R=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,R);(C=this._bufferService.buffer).x===I&&C.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},T.prototype.print=function(x,C,I){var L,M,k=this._bufferService.buffer,R=this._charsetService.charset,j=this._optionsService.options.screenReaderMode,V=this._bufferService.cols,D=this._coreService.decPrivateModes.wraparound,H=this._coreService.modes.insertMode,P=this._curAttrData,K=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&I-C>0&&K.getWidth(k.x-1)===2&&K.setCellFromCodePoint(k.x-1,0,1,P.fg,P.bg,P.extended);for(var U=C;U<I;++U){if(L=x[U],M=this._unicodeService.wcwidth(L),L<127&&R){var G=R[String.fromCharCode(L)];G&&(L=G.charCodeAt(0))}if(j&&this._onA11yChar.fire(o.stringFromCodePoint(L)),M||!k.x){if(k.x+M-1>=V){if(D){for(;k.x<V;)K.setCellFromCodePoint(k.x++,0,1,P.fg,P.bg,P.extended);k.x=0,k.y++,k.y===k.scrollBottom+1?(k.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(k.y>=this._bufferService.rows&&(k.y=this._bufferService.rows-1),k.lines.get(k.ybase+k.y).isWrapped=!0),K=k.lines.get(k.ybase+k.y)}else if(k.x=V-1,M===2)continue}if(H&&(K.insertCells(k.x,M,k.getNullCell(P),P),K.getWidth(V-1)===2&&K.setCellFromCodePoint(V-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,P.fg,P.bg,P.extended)),K.setCellFromCodePoint(k.x++,L,M,P.fg,P.bg,P.extended),M>0)for(;--M;)K.setCellFromCodePoint(k.x++,0,0,P.fg,P.bg,P.extended)}else K.getWidth(k.x-1)?K.addCodepointToCell(k.x-1,L):K.addCodepointToCell(k.x-2,L)}I-C>0&&(K.loadCell(k.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),k.x<V&&I-C>0&&K.getWidth(k.x)===0&&!K.hasContent(k.x)&&K.setCellFromCodePoint(k.x,0,1,P.fg,P.bg,P.extended),this._dirtyRowService.markDirty(k.y)},T.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)})},T.prototype.addDcsHandler=function(x,C){return this._parser.addDcsHandler(x,new g.DcsHandler(C))},T.prototype.addEscHandler=function(x,C){return this._parser.addEscHandler(x,C)},T.prototype.addOscHandler=function(x,C){return this._parser.addOscHandler(x,new h.OscHandler(C))},T.prototype.bell=function(){this._onRequestBell.fire()},T.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()},T.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},T.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()},T.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)}},T.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},T.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},T.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)},T.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)},T.prototype._moveCursor=function(x,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+C)},T.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))},T.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)},T.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},T.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},T.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},T.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},T.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},T.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},T.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},T.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},T.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},T.prototype.hVPosition=function(x){this.cursorPosition(x)},T.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={})},T.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()},T.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()},T.prototype._eraseInBufferLine=function(x,C,I,L){L===void 0&&(L=!1);var M=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);M.replaceCells(C,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(M.isWrapped=!1)},T.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},T.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))}},T.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)},T.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,M=this._bufferService.rows-1-I.scrollBottom,k=this._bufferService.rows-1+I.ybase-M+1;C--;)I.lines.splice(k-1,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.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,M=I.ybase+I.y;for(L=this._bufferService.rows-1-I.scrollBottom,L=this._bufferService.rows-1+I.ybase-L;C--;)I.lines.splice(M,1),I.lines.splice(L,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},T.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))},T.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))},T.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)},T.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)},T.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 M=C.lines.get(C.ybase+L);M.deleteCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.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 M=C.lines.get(C.ybase+L);M.insertCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.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 M=this._bufferService.buffer.lines.get(C.ybase+L);M.insertCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.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 M=C.lines.get(C.ybase+L);M.deleteCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},T.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))},T.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)}},T.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"))},T.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"))},T.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},T.prototype.setMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!0}},T.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,l.DEFAULT_CHARSET),this._charsetService.setgCharset(1,l.DEFAULT_CHARSET),this._charsetService.setgCharset(2,l.DEFAULT_CHARSET),this._charsetService.setgCharset(3,l.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}},T.prototype.resetMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!1}},T.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}},T.prototype._updateAttrColor=function(x,C,I,L,M){return C===2?(x|=50331648,x&=-16777216,x|=u.AttributeData.fromColorRGB([I,L,M])):C===5&&(x&=-50331904,x|=33554432|255&I),x},T.prototype._extractColor=function(x,C,I){var L=[0,0,-1,0,0,0],M=0,k=0;do{if(L[k+M]=x.params[C+k],x.hasSubParams(C+k)){var R=x.getSubParams(C+k),j=0;do L[1]===5&&(M=1),L[k+j+1+M]=R[j];while(++j<R.length&&j+k+1+M<L.length);break}if(L[1]===5&&k+M>=2||L[1]===2&&k+M>=5)break;L[1]&&(M=1)}while(++k+C<x.length&&k+M<L.length);for(j=2;j<L.length;++j)L[j]===-1&&(L[j]=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 k},T.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()},T.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,M=0;M<I;M++)(C=x.params[M])>=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(M)?x.getSubParams(M)[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?M+=this._extractColor(x,M,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)},T.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")}},T.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")}},T.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},T.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},T.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))},T.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())}}},T.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},T.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()},T.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},T.prototype.setIconName=function(x){this._iconName=x},T.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},T.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},T.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},T.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,l.DEFAULT_CHARSET)},T.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(A[x[0]],l.CHARSETS[x[1]]||l.DEFAULT_CHARSET):this.selectDefaultCharset()},T.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()},T.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},T.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()},T.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},T.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},T.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},T.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},T.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,M=C.lines.get(L);M&&(M.fill(x),M.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},T}(t.Disposable);m.InputHandler=S},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DEFAULT_CHARSET=m.CHARSETS=void 0,m.CHARSETS={},m.DEFAULT_CHARSET=m.CHARSETS.B,m.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"},m.CHARSETS.A={"#":"\xA3"},m.CHARSETS.B=void 0,m.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},m.CHARSETS.C=m.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},m.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},m.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},m.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},m.CHARSETS.E=m.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},m.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},m.CHARSETS.H=m.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},m.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Params=void 0;var p=function(){function v(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 v.fromArray=function(f){var d=new v;if(!f.length)return d;for(var l=f[0]instanceof Array?1:0;l<f.length;++l){var n=f[l];if(n instanceof Array)for(var t=0;t<n.length;++t)d.addSubParam(n[t]);else d.addParam(n)}return d},v.prototype.clone=function(){var f=new v(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},v.prototype.toArray=function(){for(var f=[],d=0;d<this.length;++d){f.push(this.params[d]);var l=this._subParamsIdx[d]>>8,n=255&this._subParamsIdx[d];n-l>0&&f.push(Array.prototype.slice.call(this._subParams,l,n))}return f},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.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}},v.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]++}},v.prototype.hasSubParams=function(f){return(255&this._subParamsIdx[f])-(this._subParamsIdx[f]>>8)>0},v.prototype.getSubParams=function(f){var d=this._subParamsIdx[f]>>8,l=255&this._subParamsIdx[f];return l-d>0?this._subParams.subarray(d,l):null},v.prototype.getSubParamsAll=function(){for(var f={},d=0;d<this.length;++d){var l=this._subParamsIdx[d]>>8,n=255&this._subParamsIdx[d];n-l>0&&(f[d]=this._subParams.slice(l,n))}return f},v.prototype.addDigit=function(f){var d;if(!(this._rejectDigits||!(d=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var l=this._digitIsSub?this._subParams:this.params,n=l[d-1];l[d-1]=~n?Math.min(10*n+f,2147483647):f}},v}();m.Params=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OscHandler=m.OscParser=void 0;var p=E(23),v=E(8),f=function(){function l(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return l.prototype.addHandler=function(n,t){this._handlers[n]===void 0&&(this._handlers[n]=[]);var a=this._handlers[n];return a.push(t),{dispose:function(){var r=a.indexOf(t);r!==-1&&a.splice(r,1)}}},l.prototype.setHandler=function(n,t){this._handlers[n]=[t]},l.prototype.clearHandler=function(n){this._handlers[n]&&delete this._handlers[n]},l.prototype.setHandlerFallback=function(n){this._handlerFb=n},l.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},l.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},l.prototype._start=function(){var n=this._handlers[this._id];if(n)for(var t=n.length-1;t>=0;t--)n[t].start();else this._handlerFb(this._id,"START")},l.prototype._put=function(n,t,a){var o=this._handlers[this._id];if(o)for(var r=o.length-1;r>=0;r--)o[r].put(n,t,a);else this._handlerFb(this._id,"PUT",v.utf32ToString(n,t,a))},l.prototype._end=function(n){var t=this._handlers[this._id];if(t){for(var a=t.length-1;a>=0&&t[a].end(n)===!1;a--);for(a--;a>=0;a--)t[a].end(!1)}else this._handlerFb(this._id,"END",n)},l.prototype.start=function(){this.reset(),this._id=-1,this._state=1},l.prototype.put=function(n,t,a){if(this._state!==3){if(this._state===1)for(;t<a;){var o=n[t++];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&&a-t>0&&this._put(n,t,a)}},l.prototype.end=function(n){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(n)),this._id=-1,this._state=0)},l}();m.OscParser=f;var d=function(){function l(n){this._handler=n,this._data="",this._hitLimit=!1}return l.prototype.start=function(){this._data="",this._hitLimit=!1},l.prototype.put=function(n,t,a){this._hitLimit||(this._data+=v.utf32ToString(n,t,a),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},l.prototype.end=function(n){var t;return this._hitLimit?t=!1:n&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},l}();m.OscHandler=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PAYLOAD_LIMIT=void 0,m.PAYLOAD_LIMIT=1e7},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DcsHandler=m.DcsParser=void 0;var p=E(8),v=E(21),f=E(23),d=[],l=function(){function t(){this._handlers=Object.create(null),this._active=d,this._ident=0,this._handlerFb=function(){}}return t.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},t.prototype.addHandler=function(a,o){this._handlers[a]===void 0&&(this._handlers[a]=[]);var r=this._handlers[a];return r.push(o),{dispose:function(){var e=r.indexOf(o);e!==-1&&r.splice(e,1)}}},t.prototype.setHandler=function(a,o){this._handlers[a]=[o]},t.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},t.prototype.setHandlerFallback=function(a){this._handlerFb=a},t.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=d,this._ident=0},t.prototype.hook=function(a,o){if(this.reset(),this._ident=a,this._active=this._handlers[a]||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)},t.prototype.put=function(a,o,r){if(this._active.length)for(var c=this._active.length-1;c>=0;c--)this._active[c].put(a,o,r);else this._handlerFb(this._ident,"PUT",p.utf32ToString(a,o,r))},t.prototype.unhook=function(a){if(this._active.length){for(var o=this._active.length-1;o>=0&&this._active[o].unhook(a)===!1;o--);for(o--;o>=0;o--)this._active[o].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=d,this._ident=0},t}();m.DcsParser=l;var n=function(){function t(a){this._handler=a,this._data="",this._hitLimit=!1}return t.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},t.prototype.put=function(a,o,r){this._hitLimit||(this._data+=p.utf32ToString(a,o,r),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},t.prototype.unhook=function(a){var o;return this._hitLimit?o=!1:a&&(o=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,o},t}();m.DcsHandler=n},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.removeTerminalFromCache=m.acquireCharAtlas=void 0;var p=E(26),v=E(43),f=[];m.acquireCharAtlas=function(d,l,n,t,a){for(var o=p.generateConfig(t,a,d,n),r=0;r<f.length;r++){var c=(e=f[r]).ownedBy.indexOf(l);if(c>=0){if(p.configEquals(e.config,o))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),f.splice(r,1)):e.ownedBy.splice(c,1);break}}for(r=0;r<f.length;r++){var e=f[r];if(p.configEquals(e.config,o))return e.ownedBy.push(l),e.atlas}var s={atlas:new v.DynamicCharAtlas(document,o),config:o,ownedBy:[l]};return f.push(s),s.atlas},m.removeTerminalFromCache=function(d){for(var l=0;l<f.length;l++){var n=f[l].ownedBy.indexOf(d);if(n!==-1){f[l].ownedBy.length===1?(f[l].atlas.dispose(),f.splice(l,1)):f[l].ownedBy.splice(n,1);break}}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.is256Color=m.configEquals=m.generateConfig=void 0;var p=E(3);m.generateConfig=function(v,f,d,l){var n={foreground:l.foreground,background:l.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:l.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:f,fontFamily:d.fontFamily,fontSize:d.fontSize,fontWeight:d.fontWeight,fontWeightBold:d.fontWeightBold,allowTransparency:d.allowTransparency,colors:n}},m.configEquals=function(v,f){for(var d=0;d<v.colors.ansi.length;d++)if(v.colors.ansi[d].rgba!==f.colors.ansi[d].rgba)return!1;return v.devicePixelRatio===f.devicePixelRatio&&v.fontFamily===f.fontFamily&&v.fontSize===f.fontSize&&v.fontWeight===f.fontWeight&&v.fontWeightBold===f.fontWeightBold&&v.allowTransparency===f.allowTransparency&&v.scaledCharWidth===f.scaledCharWidth&&v.scaledCharHeight===f.scaledCharHeight&&v.colors.foreground===f.colors.foreground&&v.colors.background===f.colors.background},m.is256Color=function(v){return v<p.DEFAULT_COLOR}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorManager=m.DEFAULT_ANSI_COLORS=void 0;var p=E(10),v=E(45),f=p.css.toColor("#ffffff"),d=p.css.toColor("#000000"),l=p.css.toColor("#ffffff"),n=p.css.toColor("#000000"),t={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};m.DEFAULT_ANSI_COLORS=function(){for(var o=[p.css.toColor("#2e3436"),p.css.toColor("#cc0000"),p.css.toColor("#4e9a06"),p.css.toColor("#c4a000"),p.css.toColor("#3465a4"),p.css.toColor("#75507b"),p.css.toColor("#06989a"),p.css.toColor("#d3d7cf"),p.css.toColor("#555753"),p.css.toColor("#ef2929"),p.css.toColor("#8ae234"),p.css.toColor("#fce94f"),p.css.toColor("#729fcf"),p.css.toColor("#ad7fa8"),p.css.toColor("#34e2e2"),p.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],c=0;c<216;c++){var e=r[c/36%6|0],s=r[c/6%6|0],u=r[c%6];o.push({css:p.channels.toCss(e,s,u),rgba:p.channels.toRgba(e,s,u)})}for(c=0;c<24;c++){var h=8+10*c;o.push({css:p.channels.toCss(h,h,h),rgba:p.channels.toRgba(h,h,h)})}return o}();var a=function(){function o(r,c){this.allowTransparency=c;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 v.ColorContrastCache,this.colors={foreground:f,background:d,cursor:l,cursorAccent:n,selectionTransparent:t,selectionOpaque:p.color.blend(d,t),ansi:m.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,l,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,n,!0),this.colors.selectionTransparent=this._parseColor(r.selection,t,!0),this.colors.selectionOpaque=p.color.blend(this.colors.background,this.colors.selectionTransparent),p.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=p.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,m.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,m.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,m.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,m.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,m.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,m.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,m.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,m.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,m.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,m.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,m.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,m.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,m.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,m.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,m.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,m.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},o.prototype._parseColor=function(r,c,e){if(e===void 0&&(e=this.allowTransparency),r===void 0)return c;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+c.css),c;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 "+c.css+"."),c;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(S){return Number(S)}),h=u[0],g=u[1],A=u[2],w=u[3],b=Math.round(255*w);return{rgba:p.channels.toRgba(h,g,A,b),css:r}}return{css:this._ctx.fillStyle,rgba:p.channels.toRgba(s[0],s[1],s[2],s[3])}},o}();m.ColorManager=a},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwIfFalsy=void 0,m.throwIfFalsy=function(p){if(!p)throw new Error("value must not be falsy");return p}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(o,r){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var s in e)e.hasOwnProperty(s)&&(c[s]=e[s])})(o,r)},function(a,o){function r(){this.constructor=a}p(a,o),a.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(m,"__esModule",{value:!0}),m.CharacterJoinerRegistry=m.JoinedCellData=void 0;var f=E(6),d=E(3),l=E(4),n=function(a){function o(r,c,e){var s=a.call(this)||this;return s.content=0,s.combinedData="",s.fg=r.fg,s.bg=r.bg,s.combinedData=c,s._width=e,s}return v(o,a),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);m.JoinedCellData=n;var t=function(){function a(o){this._bufferService=o,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new l.CellData}return a.prototype.registerCharacterJoiner=function(o){var r={id:this._nextCharacterJoinerId++,handler:o};return this._characterJoiners.push(r),r.id},a.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},a.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 c=[],e=r.translateToString(!0),s=0,u=0,h=0,g=r.getFg(0),A=r.getBg(0),w=0;w<r.getTrimmedLength();w++)if(r.loadCell(w,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==g||this._workCell.bg!==A){if(w-s>1)for(var b=this._getJoinedRanges(e,h,u,r,s),S=0;S<b.length;S++)c.push(b[S]);s=w,h=u,g=this._workCell.fg,A=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),S=0;S<b.length;S++)c.push(b[S]);return c},a.prototype._getJoinedRanges=function(o,r,c,e,s){for(var u=o.substring(r,c),h=this._characterJoiners[0].handler(u),g=1;g<this._characterJoiners.length;g++)for(var A=this._characterJoiners[g].handler(u),w=0;w<A.length;w++)a._mergeRanges(h,A[w]);return this._stringRangesToCellRanges(h,e,s),h},a.prototype._stringRangesToCellRanges=function(o,r,c){var e=0,s=!1,u=0,h=o[e];if(h){for(var g=c;g<this._bufferService.cols;g++){var A=r.getWidth(g),w=r.getString(g).length||d.WHITESPACE_CELL_CHAR.length;if(A!==0){if(!s&&h[0]<=u&&(h[0]=g,s=!0),h[1]<=u){if(h[1]=g,!(h=o[++e]))break;h[0]<=u?(h[0]=g,s=!0):s=!1}u+=w}}h&&(h[1]=this._bufferService.cols)}},a._mergeRanges=function(o,r){for(var c=!1,e=0;e<o.length;e++){var s=o[e];if(c){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]),c=!0)}}return c?o[o.length-1][1]=r[1]:o.push(r),o},a}();m.CharacterJoinerRegistry=t},function(y,m,E){"use strict";function p(v,f){var d=f.getBoundingClientRect();return[v.clientX-d.left,v.clientY-d.top]}Object.defineProperty(m,"__esModule",{value:!0}),m.getRawByteCoords=m.getCoords=m.getCoordsRelativeToElement=void 0,m.getCoordsRelativeToElement=p,m.getCoords=function(v,f,d,l,n,t,a,o){if(n){var r=p(v,f);if(r)return r[0]=Math.ceil((r[0]+(o?t/2:0))/t),r[1]=Math.ceil(r[1]/a),r[0]=Math.min(Math.max(r[0],1),d+(o?1:0)),r[1]=Math.min(Math.max(r[1],1),l),r}},m.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.RenderDebouncer=void 0;var p=function(){function v(f){this._renderCallback=f}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(f,d,l){var n=this;this._rowCount=l,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 n._innerRefresh()}))},v.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)}},v}();m.RenderDebouncer=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(l,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var o in a)a.hasOwnProperty(o)&&(t[o]=a[o])})(l,n)},function(d,l){function n(){this.constructor=d}p(d,l),d.prototype=l===null?Object.create(l):(n.prototype=l.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.ScreenDprMonitor=void 0;var f=function(d){function l(){var n=d!==null&&d.apply(this,arguments)||this;return n._currentDevicePixelRatio=window.devicePixelRatio,n}return v(l,d),l.prototype.setListener=function(n){var t=this;this._listener&&this.clearListener(),this._listener=n,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},l.prototype.dispose=function(){d.prototype.dispose.call(this),this.clearListener()},l.prototype._updateDpr=function(){var n;this._outerListener&&((n=this._resolutionMediaMatchList)===null||n===void 0||n.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},l.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)},l}(E(2).Disposable);m.ScreenDprMonitor=f},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.clone=void 0,m.clone=function p(v,f){if(f===void 0&&(f=5),typeof v!="object")return v;var d=Array.isArray(v)?[]:{};for(var l in v)d[l]=f<=1?v[l]:v[l]?p(v[l],f-1):v[l];return d}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var p=E(4),v=E(35),f=E(18),d=E(0),l=E(83),n=function(){function e(s){this._core=new v.Terminal(s),this._addonManager=new l.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 c(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 a(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,g=s;h<g.length;h++){var A=g[h];if(A===1/0||isNaN(A)||A%1!=0)throw new Error("This API only accepts integers")}},e}();m.Terminal=n;var t=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 p.CellData},e}(),a=function(){function e(s){var u=this;this._buffers=s,this._onBufferChange=new d.EventEmitter,this._normal=new t(this._buffers.normal,"normal"),this._alternate=new t(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 p.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,g){return u(h,g.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}(),c=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,m,E){"use strict";var p,v=this&&this.__extends||(p=function(D,H){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,K){P.__proto__=K}||function(P,K){for(var U in K)K.hasOwnProperty(U)&&(P[U]=K[U])})(D,H)},function(V,D){function H(){this.constructor=V}p(V,D),V.prototype=D===null?Object.create(D):(H.prototype=D.prototype,new H)});Object.defineProperty(m,"__esModule",{value:!0}),m.Terminal=void 0;var f=E(36),d=E(37),l=E(38),n=E(12),t=E(19),a=E(40),o=E(50),r=E(51),c=E(11),e=E(7),s=E(18),u=E(54),h=E(55),g=E(56),A=E(57),w=E(59),b=E(0),S=E(16),_=E(27),T=E(60),x=E(5),C=E(61),I=E(62),L=E(63),M=E(64),k=E(65),R=typeof window!="undefined"?window.document:null,j=function(V){function D(H){H===void 0&&(H={});var P=V.call(this,H)||this;return P.browser=c,P._keyDownHandled=!1,P._onCursorMove=new b.EventEmitter,P._onKey=new b.EventEmitter,P._onRender=new b.EventEmitter,P._onSelectionChange=new b.EventEmitter,P._onTitleChange=new b.EventEmitter,P._onFocus=new b.EventEmitter,P._onBlur=new b.EventEmitter,P._onA11yCharEmitter=new b.EventEmitter,P._onA11yTabEmitter=new b.EventEmitter,P._setup(),P.linkifier=P._instantiationService.createInstance(o.Linkifier),P.linkifier2=P.register(P._instantiationService.createInstance(L.Linkifier2)),P.register(P._inputHandler.onRequestBell(function(){return P.bell()})),P.register(P._inputHandler.onRequestRefreshRows(function(K,U){return P.refresh(K,U)})),P.register(P._inputHandler.onRequestReset(function(){return P.reset()})),P.register(P._inputHandler.onRequestScroll(function(K,U){return P.scroll(K,U||void 0)})),P.register(P._inputHandler.onRequestWindowsOptionsReport(function(K){return P._reportWindowsOptions(K)})),P.register(b.forwardEvent(P._inputHandler.onCursorMove,P._onCursorMove)),P.register(b.forwardEvent(P._inputHandler.onTitleChange,P._onTitleChange)),P.register(b.forwardEvent(P._inputHandler.onA11yChar,P._onA11yCharEmitter)),P.register(b.forwardEvent(P._inputHandler.onA11yTab,P._onA11yTabEmitter)),P.register(P._bufferService.onResize(function(K){return P._afterResize(K.cols,K.rows)})),P}return v(D,V),Object.defineProperty(D.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),D.prototype.dispose=function(){var H,P,K;this._isDisposed||(V.prototype.dispose.call(this),(H=this._renderService)===null||H===void 0||H.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(P=this.element)===null||P===void 0?void 0:P.parentNode)===null||K===void 0||K.removeChild(this.element))},D.prototype._setup=function(){V.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(D.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),D.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},D.prototype._updateOptions=function(H){var P,K,U,G;switch(V.prototype._updateOptions.call(this,H),H){case"fontFamily":case"fontSize":(P=this._renderService)===null||P===void 0||P.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":(U=this.viewport)===null||U===void 0||U.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new g.AccessibilityManager(this,this._renderService)):((G=this._accessibilityManager)===null||G===void 0||G.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},D.prototype._onTextAreaFocus=function(H){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[I"),this.updateCursorStyle(H),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},D.prototype.blur=function(){var H;return(H=this.textarea)===null||H===void 0?void 0:H.blur()},D.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(n.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},D.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var H=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),P=this._bufferService.buffer.y*H,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=P+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=H+"px",this.textarea.style.lineHeight=H+"px",this.textarea.style.zIndex="-5"}},D.prototype._initGlobal=function(){var H=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(K){H.hasSelection()&&l.copyHandler(K,H._selectionService)}));var P=function(U){return l.handlePasteEvent(U,H.textarea,H._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",P)),this.register(e.addDisposableDomListener(this.element,"paste",P)),c.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&l.rightClickHandler(K,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(K){l.rightClickHandler(K,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})),c.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&l.moveTextAreaUnderMouseCursor(K,H.textarea,H.screenElement)}))},D.prototype._bindKeys=function(){var H=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(P){return H._keyUp(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(P){return H._keyDown(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(P){return H._keyPress(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return H._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(P){return H._compositionHelper.compositionupdate(P)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return H._compositionHelper.compositionend()})),this.register(this.onRender(function(){return H._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(P){return H._queueLinkification(P.start,P.end)}))},D.prototype.open=function(H){var P=this;if(!H)throw new Error("Terminal requires a parent element.");R.body.contains(H)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=H.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"),H.appendChild(this.element);var K=R.createDocumentFragment();this._viewportElement=R.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=R.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=R.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=R.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=R.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 P._onTextAreaFocus(W)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return P._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var U=this._instantiationService.createInstance(M.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,U),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=R.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 _.ColorManager(R,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return P._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var G=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(T.RenderService,G,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return P._onRender.fire(W)})),this.onResize(function(W){return P._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,Z){return P.scrollLines(W,Z)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return P.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){P._renderService.onCursorMove(),P._syncTextArea()})),this.register(this.onResize(function(){return P._renderService.onResize(P.cols,P.rows)})),this.register(this.onBlur(function(){return P._renderService.onBlur()})),this.register(this.onFocus(function(){return P._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return P.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 P.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return P._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return P._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){P.textarea.value=W,P.textarea.focus(),P.textarea.select()})),this.register(this.onScroll(function(){P.viewport.syncScrollArea(),P._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return P._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return P._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 P._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 g.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},D.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(a.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(A.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},D.prototype._setTheme=function(H){var P,K,U;this._theme=H,(P=this._colorManager)===null||P===void 0||P.setTheme(H),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(U=this.viewport)===null||U===void 0||U.onThemeChange(this._colorManager.colors)},D.prototype.bindMouse=function(){var H=this,P=this,K=this.element;function U(q){var ce,be,Ce=P._mouseService.getRawByteCoords(q,P.screenElement,P.cols,P.rows);if(!Ce)return!1;switch(q.overrideType||q.type){case"mousemove":be=32,q.buttons===void 0?(ce=3,q.button!==void 0&&(ce=q.button<3?q.button:3)):ce=1&q.buttons?0:4&q.buttons?1:2&q.buttons?2:3;break;case"mouseup":be=0,ce=q.button<3?q.button:3;break;case"mousedown":be=1,ce=q.button<3?q.button:3;break;case"wheel":q.deltaY!==0&&(be=q.deltaY<0?0:1),ce=4;break;default:return!1}return!(be===void 0||ce===void 0||ce>4)&&P._coreMouseService.triggerMouseEvent({col:Ce.x-33,row:Ce.y-33,button:ce,action:be,ctrl:q.ctrlKey,alt:q.altKey,shift:q.shiftKey})}var G={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(ce){return U(ce),ce.buttons||(H._document.removeEventListener("mouseup",G.mouseup),G.mousedrag&&H._document.removeEventListener("mousemove",G.mousedrag)),H.cancel(ce)},Z=function(ce){return U(ce),ce.preventDefault(),H.cancel(ce)},J=function(ce){ce.buttons&&U(ce)},ve=function(ce){ce.buttons||U(ce)};this.register(this._coreMouseService.onProtocolChange(function(q){q?(H.optionsService.options.logLevel==="debug"&&H._logService.debug("Binding to mouse events:",H._coreMouseService.explainEvents(q)),H.element.classList.add("enable-mouse-events"),H._selectionService.disable()):(H._logService.debug("Unbinding from mouse events."),H.element.classList.remove("enable-mouse-events"),H._selectionService.enable()),8&q?G.mousemove||(K.addEventListener("mousemove",ve),G.mousemove=ve):(K.removeEventListener("mousemove",G.mousemove),G.mousemove=null),16&q?G.wheel||(K.addEventListener("wheel",Z,{passive:!1}),G.wheel=Z):(K.removeEventListener("wheel",G.wheel),G.wheel=null),2&q?G.mouseup||(G.mouseup=W):(H._document.removeEventListener("mouseup",G.mouseup),G.mouseup=null),4&q?G.mousedrag||(G.mousedrag=J):(H._document.removeEventListener("mousemove",G.mousedrag),G.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(K,"mousedown",function(q){if(q.preventDefault(),H.focus(),H._coreMouseService.areMouseEventsActive&&!H._selectionService.shouldForceSelection(q))return U(q),G.mouseup&&H._document.addEventListener("mouseup",G.mouseup),G.mousedrag&&H._document.addEventListener("mousemove",G.mousedrag),H.cancel(q)})),this.register(e.addDisposableDomListener(K,"wheel",function(q){if(!G.wheel){if(!H.buffer.hasScrollback){var ce=H.viewport.getLinesScrolled(q);if(ce===0)return;for(var be=n.C0.ESC+(H._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(q.deltaY<0?"A":"B"),Ce="",Fe=0;Fe<Math.abs(ce);Fe++)Ce+=be;H._coreService.triggerDataEvent(Ce,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(K,"wheel",function(q){if(!G.wheel)return H.viewport.onWheel(q)?void 0:H.cancel(q)},{passive:!1})),this.register(e.addDisposableDomListener(K,"touchstart",function(q){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchStart(q),H.cancel(q)},{passive:!0})),this.register(e.addDisposableDomListener(K,"touchmove",function(q){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchMove(q)?void 0:H.cancel(q)},{passive:!1}))},D.prototype.refresh=function(H,P){var K;(K=this._renderService)===null||K===void 0||K.refreshRows(H,P)},D.prototype._queueLinkification=function(H,P){var K;(K=this.linkifier)===null||K===void 0||K.linkifyRows(H,P)},D.prototype.updateCursorStyle=function(H){this._selectionService&&this._selectionService.shouldColumnSelect(H)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},D.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},D.prototype.scrollLines=function(H,P){V.prototype.scrollLines.call(this,H,P),this.refresh(0,this.rows-1)},D.prototype.paste=function(H){l.paste(H,this.textarea,this._coreService)},D.prototype.attachCustomKeyEventHandler=function(H){this._customKeyEventHandler=H},D.prototype.registerLinkMatcher=function(H,P,K){var U=this.linkifier.registerLinkMatcher(H,P,K);return this.refresh(0,this.rows-1),U},D.prototype.deregisterLinkMatcher=function(H){this.linkifier.deregisterLinkMatcher(H)&&this.refresh(0,this.rows-1)},D.prototype.registerLinkProvider=function(H){return this.linkifier2.registerLinkProvider(H)},D.prototype.registerCharacterJoiner=function(H){var P=this._renderService.registerCharacterJoiner(H);return this.refresh(0,this.rows-1),P},D.prototype.deregisterCharacterJoiner=function(H){this._renderService.deregisterCharacterJoiner(H)&&this.refresh(0,this.rows-1)},Object.defineProperty(D.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),D.prototype.addMarker=function(H){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+H)},D.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},D.prototype.select=function(H,P,K){this._selectionService.setSelection(H,P,K)},D.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},D.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]}},D.prototype.clearSelection=function(){var H;(H=this._selectionService)===null||H===void 0||H.clearSelection()},D.prototype.selectAll=function(){var H;(H=this._selectionService)===null||H===void 0||H.selectAll()},D.prototype.selectLines=function(H,P){var K;(K=this._selectionService)===null||K===void 0||K.selectLines(H,P)},D.prototype._keyDown=function(H){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(!this._compositionHelper.keydown(H))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var P=w.evaluateKeyboardEvent(H,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(H),P.type===3||P.type===2){var K=this.rows-1;return this.scrollLines(P.type===2?-K:K),this.cancel(H,!0)}return P.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,H)||(P.cancel&&this.cancel(H,!0),!P.key||(P.key!==n.C0.ETX&&P.key!==n.C0.CR||(this.textarea.value=""),this._onKey.fire({key:P.key,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(P.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(H,!0)))},D.prototype._isThirdLevelShift=function(H,P){var K=H.isMac&&!this.options.macOptionIsMeta&&P.altKey&&!P.ctrlKey&&!P.metaKey||H.isWindows&&P.altKey&&P.ctrlKey&&!P.metaKey;return P.type==="keypress"?K:K&&(!P.keyCode||P.keyCode>47)},D.prototype._keyUp=function(H){this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1||(function(P){return P.keyCode===16||P.keyCode===17||P.keyCode===18}(H)||this.focus(),this.updateCursorStyle(H))},D.prototype._keyPress=function(H){var P;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(this.cancel(H),H.charCode)P=H.charCode;else if(H.which===null||H.which===void 0)P=H.keyCode;else{if(H.which===0||H.charCode===0)return!1;P=H.which}return!(!P||(H.altKey||H.ctrlKey||H.metaKey)&&!this._isThirdLevelShift(this.browser,H))&&(P=String.fromCharCode(P),this._onKey.fire({key:P,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(P,!0),!0)},D.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},D.prototype.resize=function(H,P){H!==this.cols||P!==this.rows?V.prototype.resize.call(this,H,P):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},D.prototype._afterResize=function(H,P){var K,U;(K=this._charSizeService)===null||K===void 0||K.measure(),(U=this.viewport)===null||U===void 0||U.syncScrollArea(!0)},D.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 H=1;H<this.rows;H++)this.buffer.lines.push(this.buffer.getBlankLine(S.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},D.prototype.reset=function(){var H,P;this.options.rows=this.rows,this.options.cols=this.cols;var K=this._customKeyEventHandler;this._setup(),V.prototype.reset.call(this),(H=this._selectionService)===null||H===void 0||H.reset(),this._customKeyEventHandler=K,this.refresh(0,this.rows-1),(P=this.viewport)===null||P===void 0||P.syncScrollArea()},D.prototype._reportWindowsOptions=function(H){if(this._renderService)switch(H){case t.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var P=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),K=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[4;"+K+";"+P+"t");break;case t.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCellWidth.toFixed(0),G=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(n.C0.ESC+"[6;"+G+";"+U+"t")}},D.prototype.cancel=function(H,P){if(this.options.cancelEvents||P)return H.preventDefault(),H.stopPropagation(),!1},D.prototype._visualBell=function(){return!1},D.prototype._soundBell=function(){return this.options.bellStyle==="sound"},D}(k.CoreTerminal);m.Terminal=j},function(y,m,E){"use strict";var p=this&&this.__decorate||function(n,t,a,o){var r,c=arguments.length,e=c<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,a):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,o);else for(var s=n.length-1;s>=0;s--)(r=n[s])&&(e=(c<3?r(e):c>3?r(t,a,e):r(t,a))||e);return c>3&&e&&Object.defineProperty(t,a,e),e},v=this&&this.__param||function(n,t){return function(a,o){t(a,o,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CompositionHelper=void 0;var f=E(5),d=E(1),l=function(){function n(t,a,o,r,c,e){this._textarea=t,this._compositionView=a,this._bufferService=o,this._optionsService=r,this._charSizeService=c,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(n.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),n.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},n.prototype.compositionupdate=function(t){var a=this;this._compositionView.textContent=t.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},n.prototype.compositionend=function(){this._finalizeComposition(!0)},n.prototype.keydown=function(t){if(this._isComposing||this._isSendingComposition){if(t.keyCode===229)return!1;if(t.keyCode===16||t.keyCode===17||t.keyCode===18)return!1;this._finalizeComposition(!1)}return t.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},n.prototype._finalizeComposition=function(t){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,t){var o={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var c=void 0;c=a._isComposing?a._textarea.value.substring(o.start,o.end):a._textarea.value.substring(o.start),a._coreService.triggerDataEvent(c,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},n.prototype._handleAnyTextareaChanges=function(){var t=this,a=this._textarea.value;setTimeout(function(){if(!t._isComposing){var o=t._textarea.value.replace(a,"");o.length>0&&t._coreService.triggerDataEvent(o,!0)}},0)},n.prototype.updateCompositionElements=function(t){var a=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,c=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=c+"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=c+"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"}t||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},n=p([v(2,d.IBufferService),v(3,d.IOptionsService),v(4,f.ICharSizeService),v(5,d.ICoreService)],n)}();m.CompositionHelper=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,s){var u,h=arguments.length,g=h<3?c:s===null?s=Object.getOwnPropertyDescriptor(c,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,s);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,s){c(e,s,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Viewport=void 0;var l=E(2),n=E(7),t=E(5),a=E(1),o=function(r){function c(e,s,u,h,g,A,w){var b=r.call(this)||this;return b._scrollLines=e,b._viewportElement=s,b._scrollArea=u,b._bufferService=h,b._optionsService=g,b._charSizeService=A,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(n.addDisposableDomListener(b._viewportElement,"scroll",b._onScroll.bind(b))),setTimeout(function(){return b.syncScrollArea()},0),b}return v(c,r),c.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},c.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()}))},c.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},c.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)},c.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)}},c.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)},c.prototype.onWheel=function(e){var s=this._getPixelsScrolled(e);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(e,s))},c.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},c.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},c.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},c.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},c.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))},c=f([d(3,a.IBufferService),d(4,a.IOptionsService),d(5,t.ICharSizeService),d(6,t.IRenderService)],c)}(l.Disposable);m.Viewport=o},function(y,m,E){"use strict";function p(l){return l.replace(/\r?\n/g,"\r")}function v(l,n){return n?"[200~"+l+"[201~":l}function f(l,n,t){l=v(l=p(l),t.decPrivateModes.bracketedPasteMode),t.triggerDataEvent(l,!0),n.value=""}function d(l,n,t){var a=t.getBoundingClientRect(),o=l.clientX-a.left-10,r=l.clientY-a.top-10;n.style.width="20px",n.style.height="20px",n.style.left=o+"px",n.style.top=r+"px",n.style.zIndex="1000",n.focus()}Object.defineProperty(m,"__esModule",{value:!0}),m.rightClickHandler=m.moveTextAreaUnderMouseCursor=m.paste=m.handlePasteEvent=m.copyHandler=m.bracketTextForPaste=m.prepareTextForTerminal=void 0,m.prepareTextForTerminal=p,m.bracketTextForPaste=v,m.copyHandler=function(l,n){l.clipboardData&&l.clipboardData.setData("text/plain",n.selectionText),l.preventDefault()},m.handlePasteEvent=function(l,n,t){l.stopPropagation(),l.clipboardData&&f(l.clipboardData.getData("text/plain"),n,t)},m.paste=f,m.moveTextAreaUnderMouseCursor=d,m.rightClickHandler=function(l,n,t,a,o){d(l,n,t),o&&!a.isClickInSelection(l)&&a.selectWordAtCursor(l),n.value=a.selectionText,n.select()}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.EscapeSequenceParser=m.VT500_TRANSITION_TABLE=m.TransitionTable=void 0;var f=E(2),d=E(15),l=E(21),n=E(22),t=E(24),a=function(){function r(c){this.table=new Uint8Array(c)}return r.prototype.setDefault=function(c,e){d.fill(this.table,c<<4|e)},r.prototype.add=function(c,e,s,u){this.table[e<<8|c]=s<<4|u},r.prototype.addMany=function(c,e,s,u){for(var h=0;h<c.length;h++)this.table[e<<8|c[h]]=s<<4|u},r}();m.TransitionTable=a,m.VT500_TRANSITION_TABLE=function(){var r=new a(4095),c=Array.apply(null,Array(256)).map(function(A,w){return w}),e=function(w,b){return c.slice(w,b)},s=e(32,127),u=e(0,24);u.push(25),u.push.apply(u,e(28,32));var h,g=e(0,14);for(h in r.setDefault(1,0),r.addMany(s,0,2,0),g)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 c(e){e===void 0&&(e=m.VT500_TRANSITION_TABLE);var s=r.call(this)||this;return s._transitions=e,s.initialState=0,s.currentState=s.initialState,s._params=new l.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,h,g){},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 n.OscParser,s._dcsParser=new t.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return v(c,r),c.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 g=e.intermediates.charCodeAt(h);if(32>g||g>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=g}}if(e.final.length!==1)throw new Error("final must be a single byte");var A=e.final.charCodeAt(0);if(s[0]>A||A>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=A},c.prototype.identToString=function(e){for(var s=[];e;)s.push(String.fromCharCode(255&e)),e>>=8;return s.reverse().join("")},c.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},c.prototype.setPrintHandler=function(e){this._printHandler=e},c.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},c.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 A=h.indexOf(s);A!==-1&&h.splice(A,1)}}},c.prototype.setEscHandler=function(e,s){this._escHandlers[this._identifier(e,[48,126])]=[s]},c.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},c.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},c.prototype.setExecuteHandler=function(e,s){this._executeHandlers[e.charCodeAt(0)]=s},c.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},c.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},c.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 A=h.indexOf(s);A!==-1&&h.splice(A,1)}}},c.prototype.setCsiHandler=function(e,s){this._csiHandlers[this._identifier(e)]=[s]},c.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},c.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},c.prototype.addDcsHandler=function(e,s){return this._dcsParser.addHandler(this._identifier(e),s)},c.prototype.setDcsHandler=function(e,s){this._dcsParser.setHandler(this._identifier(e),s)},c.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},c.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},c.prototype.addOscHandler=function(e,s){return this._oscParser.addHandler(e,s)},c.prototype.setOscHandler=function(e,s){this._oscParser.setHandler(e,s)},c.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},c.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},c.prototype.setErrorHandler=function(e){this._errorHandler=e},c.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},c.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},c.prototype.parse=function(e,s){for(var u=0,h=0,g=this.currentState,A=this._oscParser,w=this._dcsParser,b=this._collect,S=this._params,_=this._transitions.table,T=0;T<s;++T){switch((h=_[g<<8|((u=e[T])<160?u:160)])>>4){case 2:for(var x=T+1;;++x){if(x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,T,x),T=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,T,x),T=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,T,x),T=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,T,x),T=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:T,code:u,currentState:g,collect:b,params:S,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](S)===!1;I--);I<0&&this._csiHandlerFb(b<<8|u,S),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(u-48)}while(++T<s&&(u=e[T])>47&&u<60);T--;break;case 9:b<<=8,b|=u;break;case 10:for(var L=this._escHandlers[b<<8|u],M=L?L.length-1:-1;M>=0&&L[M]()===!1;M--);M<0&&this._escHandlerFb(b<<8|u),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),b=0;break;case 12:w.hook(b<<8|u,S);break;case 13:for(var k=T+1;;++k)if(k>=s||(u=e[k])===24||u===26||u===27||u>127&&u<160){w.put(e,T,k),T=k-1;break}break;case 14:w.unhook(u!==24&&u!==26),u===27&&(h|=1),S.reset(),S.addParam(0),b=0,this.precedingCodepoint=0;break;case 4:A.start();break;case 5:for(var R=T+1;;R++)if(R>=s||(u=e[R])<32||u>127&&u<=159){A.put(e,T,R),T=R-1;break}break;case 6:A.end(u!==24&&u!==26),u===27&&(h|=1),S.reset(),S.addParam(0),b=0,this.precedingCodepoint=0}g=15&h}this._collect=b,this.currentState=g},c}(f.Disposable);m.EscapeSequenceParser=o},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(w,b){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var T in _)_.hasOwnProperty(T)&&(S[T]=_[T])})(w,b)},function(A,w){function b(){this.constructor=A}p(A,w),A.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(A,w,b,S){var _,T=arguments.length,x=T<3?w:S===null?S=Object.getOwnPropertyDescriptor(w,b):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(A,w,b,S);else for(var C=A.length-1;C>=0;C--)(_=A[C])&&(x=(T<3?_(x):T>3?_(w,b,x):_(w,b))||x);return T>3&&x&&Object.defineProperty(w,b,x),x},d=this&&this.__param||function(A,w){return function(b,S){w(b,S,A)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Renderer=void 0;var l=E(41),n=E(47),t=E(48),a=E(49),o=E(29),r=E(2),c=E(5),e=E(1),s=E(25),u=E(0),h=1,g=function(A){function w(b,S,_,T,x,C,I,L,M){var k=A.call(this)||this;k._colors=b,k._screenElement=S,k._bufferService=x,k._charSizeService=C,k._optionsService=I,k._id=h++,k._onRequestRedraw=new u.EventEmitter;var R=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new o.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new l.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,R,k._id,k._bufferService,I),new n.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,I),new a.LinkRenderLayer(k._screenElement,2,k._colors,k._id,_,T,k._bufferService,I),new t.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,I,L,M)],k.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},k._devicePixelRatio=window.devicePixelRatio,k._updateDimensions(),k.onOptionsChanged(),k}return v(w,A),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){for(var b=0,S=this._renderLayers;b<S.length;b++)S[b].dispose();A.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 S=0,_=this._renderLayers;S<_.length;S++){var T=_[S];T.setColors(this._colors),T.reset()}},w.prototype.onResize=function(b,S){this._updateDimensions();for(var _=0,T=this._renderLayers;_<T.length;_++)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,S,_){_===void 0&&(_=!1),this._runOperation(function(T){return T.onSelectionChanged(b,S,_)})},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 S=0,_=this._renderLayers;S<_.length;S++)b(_[S])},w.prototype.renderRows=function(b,S){for(var _=0,T=this._renderLayers;_<T.length;_++)T[_].onGridChanged(b,S)},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,c.ICharSizeService),d(6,e.IOptionsService),d(7,e.ICoreService),d(8,c.ICoreBrowserService)],w)}(r.Disposable);m.Renderer=g},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(m,"__esModule",{value:!0}),m.TextRenderLayer=void 0;var f=E(42),d=E(13),l=E(6),n=E(3),t=E(29),a=E(4),o=function(r){function c(e,s,u,h,g,A,w,b){var S=r.call(this,e,"text",s,g,u,A,w,b)||this;return S._characterWidth=0,S._characterFont="",S._characterOverlapCache={},S._workCell=new a.CellData,S._state=new f.GridCache,S._characterJoinerRegistry=h,S}return v(c,r),c.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)},c.prototype.reset=function(){this._state.clear(),this._clearAll()},c.prototype._forEachCell=function(e,s,u,h){for(var g=e;g<=s;g++)for(var A=g+this._bufferService.buffer.ydisp,w=this._bufferService.buffer.lines.get(A),b=u?u.getJoinedCharacters(A):[],S=0;S<this._bufferService.cols;S++){w.loadCell(S,this._workCell);var _=this._workCell,T=!1,x=S;if(_.getWidth()!==0){if(b.length>0&&S===b[0][0]){T=!0;var C=b.shift();_=new t.JoinedCellData(this._workCell,w.translateToString(!0,C[0],C[1]),C[1]-C[0]),x=C[1]-1}!T&&this._isOverlapping(_)&&x<w.length-1&&w.getCodePoint(x+1)===n.NULL_CELL_CODE&&(_.content&=-12582913,_.content|=2<<22),h(_,S,g),S=x}}},c.prototype._drawBackground=function(e,s){var u=this,h=this._ctx,g=this._bufferService.cols,A=0,w=0,b=null;h.save(),this._forEachCell(e,s,null,function(S,_,T){var x=null;S.isInverse()?x=S.isFgDefault()?u._colors.foreground.css:S.isFgRGB()?"rgb("+l.AttributeData.toColorRGB(S.getFgColor()).join(",")+")":u._colors.ansi[S.getFgColor()].css:S.isBgRGB()?x="rgb("+l.AttributeData.toColorRGB(S.getBgColor()).join(",")+")":S.isBgPalette()&&(x=u._colors.ansi[S.getBgColor()].css),b===null&&(A=_,w=T),T!==w?(h.fillStyle=b||"",u._fillCells(A,w,g-A,1),A=_,w=T):b!==x&&(h.fillStyle=b||"",u._fillCells(A,w,_-A,1),A=_,w=T),b=x}),b!==null&&(h.fillStyle=b,this._fillCells(A,w,g-A,1)),h.restore()},c.prototype._drawForeground=function(e,s){var u=this;this._forEachCell(e,s,this._characterJoinerRegistry,function(h,g,A){if(!h.isInvisible()&&(u._drawChars(h,g,A),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("+l.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("+l.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(g,A,h.getWidth()),u._ctx.restore()}})},c.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))},c.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},c.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},c}(d.BaseRenderLayer);m.TextRenderLayer=o},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.GridCache=void 0;var p=function(){function v(){this.cache=[]}return v.prototype.resize=function(f,d){for(var l=0;l<f;l++){this.cache.length<=l&&this.cache.push([]);for(var n=this.cache[l].length;n<d;n++)this.cache[l].push(void 0);this.cache[l].length=d}this.cache.length=f},v.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},v}();m.GridCache=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(h,g){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var b in w)w.hasOwnProperty(b)&&(A[b]=w[b])})(h,g)},function(u,h){function g(){this.constructor=u}p(u,h),u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)});Object.defineProperty(m,"__esModule",{value:!0}),m.NoneCharAtlas=m.DynamicCharAtlas=m.getGlyphCacheKey=void 0;var f=E(9),d=E(44),l=E(27),n=E(46),t=E(11),a=E(28),o=E(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function c(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}m.getGlyphCacheKey=c;var e=function(u){function h(g,A){var w=u.call(this)||this;w._config=A,w._drawToCacheCount=0,w._glyphsWaitingOnBitmap=[],w._bitmapCommitTimeout=null,w._bitmap=null,w._cacheCanvas=g.createElement("canvas"),w._cacheCanvas.width=1024,w._cacheCanvas.height=1024,w._cacheCtx=a.throwIfFalsy(w._cacheCanvas.getContext("2d",{alpha:!0}));var b=g.createElement("canvas");b.width=w._config.scaledCharWidth,b.height=w._config.scaledCharHeight,w._tmpCtx=a.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 S=w._width*w._height;return w._cacheMap=new n.LRUMap(S),w._cacheMap.prealloc(S),w}return v(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(g,A,w,b){if(A.code===32)return!0;if(!this._canCache(A))return!1;var S=c(A),_=this._cacheMap.get(S);if(_!=null)return this._drawFromCache(g,_,w,b),!0;if(this._drawToCacheCount<100){var T=void 0;T=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(A,T);return this._cacheMap.set(S,x),this._drawFromCache(g,x,w,b),!0}return!1},h.prototype._canCache=function(g){return g.code<256},h.prototype._toCoordinateX=function(g){return g%this._width*this._config.scaledCharWidth},h.prototype._toCoordinateY=function(g){return Math.floor(g/this._width)*this._config.scaledCharHeight},h.prototype._drawFromCache=function(g,A,w,b){if(!A.isEmpty){var S=this._toCoordinateX(A.index),_=this._toCoordinateY(A.index);g.drawImage(A.inBitmap?this._bitmap:this._cacheCanvas,S,_,this._config.scaledCharWidth,this._config.scaledCharHeight,w,b,this._config.scaledCharWidth,this._config.scaledCharHeight)}},h.prototype._getColorFromAnsiIndex=function(g){return g<this._config.colors.ansi.length?this._config.colors.ansi[g]:l.DEFAULT_ANSI_COLORS[g]},h.prototype._getBackgroundColor=function(g){return this._config.allowTransparency?r:g.bg===f.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:g.bg<256?this._getColorFromAnsiIndex(g.bg):this._config.colors.background},h.prototype._getForegroundColor=function(g){return g.fg===f.INVERTED_DEFAULT_COLOR?o.color.opaque(this._config.colors.background):g.fg<256?this._getColorFromAnsiIndex(g.fg):this._config.colors.foreground},h.prototype._drawToCache=function(g,A){this._drawToCacheCount++,this._tmpCtx.save();var w=this._getBackgroundColor(g);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=g.bold?this._config.fontWeightBold:this._config.fontWeight,S=g.italic?"italic":"";this._tmpCtx.font=S+" "+b+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(g).css,g.dim&&(this._tmpCtx.globalAlpha=f.DIM_OPACITY),this._tmpCtx.fillText(g.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var _=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),T=!1;this._config.allowTransparency||(T=function(L,M){for(var k=!0,R=M.rgba>>>24,j=M.rgba>>>16&255,V=M.rgba>>>8&255,D=0;D<L.data.length;D+=4)L.data[D]===R&&L.data[D+1]===j&&L.data[D+2]===V?L.data[D+3]=0:k=!1;return k}(_,w));var x=this._toCoordinateX(A),C=this._toCoordinateY(A);this._cacheCtx.putImageData(_,x,C);var I={index:A,isEmpty:T,inBitmap:!1};return this._addGlyphToBitmap(I),I},h.prototype._addGlyphToBitmap=function(g){var A=this;!("createImageBitmap"in window)||t.isFirefox||t.isSafari||(this._glyphsWaitingOnBitmap.push(g),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return A._generateBitmap()},100)))},h.prototype._generateBitmap=function(){var g=this,A=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(w){g._bitmap=w;for(var b=0;b<A.length;b++)A[b].inBitmap=!0}),this._bitmapCommitTimeout=null},h}(d.BaseCharAtlas);m.DynamicCharAtlas=e;var s=function(u){function h(g,A){return u.call(this)||this}return v(h,u),h.prototype.draw=function(g,A,w,b){return!1},h}(d.BaseCharAtlas);m.NoneCharAtlas=s},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BaseCharAtlas=void 0;var p=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();m.BaseCharAtlas=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ColorContrastCache=void 0;var p=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(f,d,l){this._rgba[f]||(this._rgba[f]={}),this._rgba[f][d]=l},v.prototype.getCss=function(f,d){return this._rgba[f]?this._rgba[f][d]:void 0},v.prototype.setColor=function(f,d,l){this._color[f]||(this._color[f]={}),this._color[f][d]=l},v.prototype.getColor=function(f,d){return this._color[f]?this._color[f][d]:void 0},v}();m.ColorContrastCache=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.LRUMap=void 0;var p=function(){function v(f){this.capacity=f,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(f){var d=f.prev,l=f.next;f===this._head&&(this._head=l),f===this._tail&&(this._tail=d),d!==null&&(d.next=l),l!==null&&(l.prev=d)},v.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)},v.prototype.prealloc=function(f){for(var d=this._nodePool,l=0;l<f;l++)d.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(f){var d=this._map[f];return d!==void 0?(this._unlinkNode(d),this._appendNode(d),d.value):null},v.prototype.peekValue=function(f){var d=this._map[f];return d!==void 0?d.value:null},v.prototype.peek=function(){var f=this._head;return f===null?null:f.value},v.prototype.set=function(f,d){var l=this._map[f];if(l!==void 0)l=this._map[f],this._unlinkNode(l),l.value=d;else if(this.size>=this.capacity)l=this._head,this._unlinkNode(l),delete this._map[l.key],l.key=f,l.value=d,this._map[f]=l;else{var n=this._nodePool;n.length>0?((l=n.pop()).key=f,l.value=d):l={prev:null,next:null,key:f,value:d},this._map[f]=l,this.size++}this._appendNode(l)},v}();m.LRUMap=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(l,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var o in a)a.hasOwnProperty(o)&&(t[o]=a[o])})(l,n)},function(d,l){function n(){this.constructor=d}p(d,l),d.prototype=l===null?Object.create(l):(n.prototype=l.prototype,new n)});Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionRenderLayer=void 0;var f=function(d){function l(n,t,a,o,r,c){var e=d.call(this,n,"selection",t,!0,a,o,r,c)||this;return e._clearState(),e}return v(l,d),l.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},l.prototype.resize=function(n){d.prototype.resize.call(this,n),this._clearState()},l.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},l.prototype.onSelectionChanged=function(n,t,a){if(this._didStateChange(n,t,a,this._bufferService.buffer.ydisp))if(this._clearAll(),n&&t){var o=n[1]-this._bufferService.buffer.ydisp,r=t[1]-this._bufferService.buffer.ydisp,c=Math.max(o,0),e=Math.min(r,this._bufferService.rows-1);if(!(c>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var s=n[0],u=t[0]-s,h=e-c+1;this._fillCells(s,c,u,h)}else{s=o===c?n[0]:0;var g=c===e?t[0]:this._bufferService.cols;this._fillCells(s,c,g-s,1);var A=Math.max(e-c-1,0);if(this._fillCells(0,c+1,this._bufferService.cols,A),c!==e){var w=r===e?t[0]:this._bufferService.cols;this._fillCells(0,e,w,1)}}this._state.start=[n[0],n[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},l.prototype._didStateChange=function(n,t,a,o){return!this._areCoordinatesEqual(n,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||a!==this._state.columnSelectMode||o!==this._state.ydisp},l.prototype._areCoordinatesEqual=function(n,t){return!(!n||!t)&&n[0]===t[0]&&n[1]===t[1]},l}(E(13).BaseRenderLayer);m.SelectionRenderLayer=f},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,o){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,o)},function(t,a){function o(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(o.prototype=a.prototype,new o)});Object.defineProperty(m,"__esModule",{value:!0}),m.CursorRenderLayer=void 0;var f=E(13),d=E(4),l=function(t){function a(o,r,c,e,s,u,h,g,A){var w=t.call(this,o,"cursor",r,!0,c,e,u,h)||this;return w._onRequestRedraw=s,w._coreService=g,w._coreBrowserService=A,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 v(a,t),a.prototype.resize=function(o){t.prototype.resize.call(this,o),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var o,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new n(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})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(o,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(o){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,c=r-this._bufferService.buffer.ydisp;if(c<0||c>=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,c,this._cell):this._renderBlurCursor(e,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,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===c&&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,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},a.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})},a.prototype._renderBarCursor=function(o,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(o,r,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(o,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(o,r,c.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(c,o,r),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(o,r,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(o,r),this._ctx.restore()},a.prototype._renderBlurCursor=function(o,r,c){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(o,r,c.getWidth(),1),this._ctx.restore()},a}(f.BaseRenderLayer);m.CursorRenderLayer=l;var n=function(){function t(a,o){this._renderCallback=o,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(t.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),t.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)},t.prototype.restartBlinkAnimation=function(){var a=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})))},t.prototype._restartInterval=function(a){var o=this;a===void 0&&(a=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 c=600-(Date.now()-o._animationTimeRestarted);return o._animationTimeRestarted=void 0,void o._restartInterval(c)}o.isCursorVisible=!o.isCursorVisible,o._animationFrame=window.requestAnimationFrame(function(){o._renderCallback(),o._animationFrame=void 0})},600)},a)},t.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)},t.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},t}()},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(a,o){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var e in c)c.hasOwnProperty(e)&&(r[e]=c[e])})(a,o)},function(t,a){function o(){this.constructor=t}p(t,a),t.prototype=a===null?Object.create(a):(o.prototype=a.prototype,new o)});Object.defineProperty(m,"__esModule",{value:!0}),m.LinkRenderLayer=void 0;var f=E(13),d=E(9),l=E(26),n=function(t){function a(o,r,c,e,s,u,h,g){var A=t.call(this,o,"link",r,!0,c,e,h,g)||this;return s.onShowLinkUnderline(function(w){return A._onShowLinkUnderline(w)}),s.onHideLinkUnderline(function(w){return A._onHideLinkUnderline(w)}),u.onShowLinkUnderline(function(w){return A._onShowLinkUnderline(w)}),u.onHideLinkUnderline(function(w){return A._onHideLinkUnderline(w)}),A}return v(a,t),a.prototype.resize=function(o){t.prototype.resize.call(this,o),this._state=void 0},a.prototype.reset=function(){this._clearCurrentLink()},a.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}},a.prototype._onShowLinkUnderline=function(o){if(o.fg===d.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:o.fg&&l.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},a.prototype._onHideLinkUnderline=function(o){this._clearCurrentLink()},a}(f.BaseRenderLayer);m.LinkRenderLayer=n},function(y,m,E){"use strict";var p=this&&this.__decorate||function(t,a,o,r){var c,e=arguments.length,s=e<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,o):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,a,o,r);else for(var u=t.length-1;u>=0;u--)(c=t[u])&&(s=(e<3?c(s):e>3?c(a,o,s):c(a,o))||s);return e>3&&s&&Object.defineProperty(a,o,s),s},v=this&&this.__param||function(t,a){return function(o,r){a(o,r,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZone=m.Linkifier=void 0;var f=E(0),d=E(1),l=function(){function t(a,o,r){this._bufferService=a,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(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),t.prototype.attachToDom=function(a,o){this._element=a,this._mouseZoneManager=o},t.prototype.linkifyRows=function(a,o){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=o):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,o)),this._mouseZoneManager.clearAll(a,o),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},t._timeBeforeLatency))},t.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var o=a.ydisp+this._rowsToLinkify.start;if(!(o>=a.lines.length)){for(var r=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,c=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,o,r,c,c);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")},t.prototype.registerLinkMatcher=function(a,o,r){if(r===void 0&&(r={}),!o)throw new Error("handler must be defined");var c={id:this._nextLinkMatcherId++,regex:a,handler:o,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(c),c.id},t.prototype._addLinkMatcherToList=function(a){if(this._linkMatchers.length!==0){for(var o=this._linkMatchers.length-1;o>=0;o--)if(a.priority<=this._linkMatchers[o].priority)return void this._linkMatchers.splice(o+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},t.prototype.deregisterLinkMatcher=function(a){for(var o=0;o<this._linkMatchers.length;o++)if(this._linkMatchers[o].id===a)return this._linkMatchers.splice(o,1),!0;return!1},t.prototype._doLinkifyRow=function(a,o,r){for(var c,e=this,s=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),u=-1,h=function(){var w=c[typeof r.matchIndex!="number"?0:r.matchIndex];if(!w)return g._logService.debug("match found without corresponding matchIndex",c,r),"break";if(u=o.indexOf(w,u+1),s.lastIndex=u+w.length,u<0)return"break";var b=g._bufferService.buffer.stringIndexToBufferIndex(a,u);if(b[0]<0)return"break";var S=g._bufferService.buffer.lines.get(b[0]);if(!S)return"break";var _=S.getFg(b[1]),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,T)}):g._addLink(b[1],b[0]-g._bufferService.buffer.ydisp,w,r,T)},g=this;(c=s.exec(o))!==null&&!(h()==="break"););},t.prototype._addLink=function(a,o,r,c,e){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(r),h=a%this._bufferService.cols,g=o+Math.floor(a/this._bufferService.cols),A=(h+u)%this._bufferService.cols,w=g+Math.floor((h+u)/this._bufferService.cols);A===0&&(A=this._bufferService.cols,w--),this._mouseZoneManager.add(new n(h+1,g+1,A+1,w+1,function(b){if(c.handler)return c.handler(b,r);var S=window.open();S?(S.opener=null,S.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(h,g,A,w,e)),s._element.classList.add("xterm-cursor-pointer")},function(b){s._onLinkTooltip.fire(s._createLinkHoverEvent(h,g,A,w,e)),c.hoverTooltipCallback&&c.hoverTooltipCallback(b,r,{start:{x:h,y:g},end:{x:A,y:w}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(h,g,A,w,e)),s._element.classList.remove("xterm-cursor-pointer"),c.hoverLeaveCallback&&c.hoverLeaveCallback()},function(b){return!c.willLinkActivate||c.willLinkActivate(b,r)}))}},t.prototype._createLinkHoverEvent=function(a,o,r,c,e){return{x1:a,y1:o,x2:r,y2:c,cols:this._bufferService.cols,fg:e}},t._timeBeforeLatency=200,t=p([v(0,d.IBufferService),v(1,d.ILogService),v(2,d.IUnicodeService)],t)}();m.Linkifier=l;var n=function(a,o,r,c,e,s,u,h,g){this.x1=a,this.y1=o,this.x2=r,this.y2=c,this.clickCallback=e,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=h,this.willLinkActivate=g};m.MouseZone=n},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(w,b){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,_){S.__proto__=_}||function(S,_){for(var T in _)_.hasOwnProperty(T)&&(S[T]=_[T])})(w,b)},function(A,w){function b(){this.constructor=A}p(A,w),A.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(A,w,b,S){var _,T=arguments.length,x=T<3?w:S===null?S=Object.getOwnPropertyDescriptor(w,b):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(A,w,b,S);else for(var C=A.length-1;C>=0;C--)(_=A[C])&&(x=(T<3?_(x):T>3?_(w,b,x):_(w,b))||x);return T>3&&x&&Object.defineProperty(w,b,x),x},d=this&&this.__param||function(A,w){return function(b,S){w(b,S,A)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionService=void 0;var l=E(11),n=E(52),t=E(4),a=E(0),o=E(5),r=E(1),c=E(30),e=E(53),s=E(2),u=String.fromCharCode(160),h=new RegExp(u,"g"),g=function(A){function w(b,S,_,T,x,C,I){var L=A.call(this)||this;return L._element=b,L._screenElement=S,L._bufferService=_,L._coreService=T,L._mouseService=x,L._optionsService=C,L._renderService=I,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new t.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new a.EventEmitter),L._onRedrawRequest=L.register(new a.EventEmitter),L._onSelectionChange=L.register(new a.EventEmitter),L._onRequestScrollLines=L.register(new a.EventEmitter),L._mouseMoveListener=function(M){return L._onMouseMove(M)},L._mouseUpListener=function(M){return L._onMouseUp(M)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(M){return L._onTrim(M)}),L.register(L._bufferService.buffers.onBufferActivate(function(M){return L._onBufferActivate(M)})),L.enable(),L._model=new n.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return v(w,A),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 S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!(!S||!_)&&(S[0]!==_[0]||S[1]!==_[1])},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;if(!S||!_)return"";var T=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(S[0]===_[0])return"";for(var C=S[1];C<=_[1];C++){var I=T.translateBufferLineToString(C,!0,S[0],_[0]);x.push(I)}}else{var L=S[1]===_[1]?_[0]:void 0;for(x.push(T.translateBufferLineToString(S[1],!0,S[0],L)),C=S[1]+1;C<=_[1]-1;C++){var M=T.lines.get(C);I=T.translateBufferLineToString(C,!0),M&&M.isWrapped?x[x.length-1]+=I:x.push(I)}S[1]!==_[1]&&(M=T.lines.get(_[1]),I=T.translateBufferLineToString(_[1],!0,0,_[0]),M&&M.isWrapped?x[x.length-1]+=I:x.push(I))}return x.map(function(k){return k.replace(h," ")}).join(l.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 S=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return S._refresh()})),l.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 S=this._getMouseBufferCoords(b),_=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!!(_&&T&&S)&&this._areCoordsInSelection(S,_,T)},w.prototype._areCoordsInSelection=function(b,S,_){return b[1]>S[1]&&b[1]<_[1]||S[1]===_[1]&&b[1]===S[1]&&b[0]>=S[0]&&b[0]<_[0]||S[1]<_[1]&&b[1]===_[1]&&b[0]<_[0]||S[1]<_[1]&&b[1]===S[1]&&b[0]>=S[0]},w.prototype.selectWordAtCursor=function(b){var S=this._getMouseBufferCoords(b);S&&(this._selectWordAt(S,!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,S){this._model.clearSelection(),b=Math.max(b,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,b],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},w.prototype._onTrim=function(b){this._model.onTrim(b)&&this.refresh()},w.prototype._getMouseBufferCoords=function(b){var S=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},w.prototype._getMouseEventScrollAmount=function(b){var S=c.getCoordsRelativeToElement(b,this._screenElement)[1],_=this._renderService.dimensions.canvasHeight;return S>=0&&S<=_?0:(S>_&&(S-=_),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},w.prototype.shouldForceSelection=function(b){return l.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 S=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);S&&S.length!==this._model.selectionStart[0]&&S.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},w.prototype._onDoubleClick=function(b){var S=this._getMouseBufferCoords(b);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},w.prototype._onTripleClick=function(b){var S=this._getMouseBufferCoords(b);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},w.prototype.shouldColumnSelect=function(b){return b.altKey&&!(l.isMac&&this._optionsService.options.macOptionClickForcesSelection)},w.prototype._onMouseMove=function(b){if(b.stopImmediatePropagation(),this._model.selectionStart){var S=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 _=this._bufferService.buffer;if(this._model.selectionEnd[1]<_.lines.length){var T=_.lines.get(this._model.selectionEnd[1]);T&&T.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}S&&S[0]===this._model.selectionEnd[0]&&S[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 S=b.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&b.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _=this._mouseService.getCoords(b,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_&&_[0]!==void 0&&_[1]!==void 0){var T=e.moveToCellSequence(_[0]-1,_[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(T,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},w.prototype._onBufferActivate=function(b){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=b.activeBuffer.lines.onTrim(function(_){return S._onTrim(_)})},w.prototype._convertViewportColToCharacterIndex=function(b,S){for(var _=S[0],T=0;S[0]>=T;T++){var x=b.loadCell(T,this._workCell).getChars().length;this._workCell.getWidth()===0?_--:x>1&&S[0]!==T&&(_+=x-1)}return _},w.prototype.setSelection=function(b,S,_){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[b,S],this._model.selectionStartLength=_,this.refresh()},w.prototype._getWordAt=function(b,S,_,T){if(_===void 0&&(_=!0),T===void 0&&(T=!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),M=L,k=b[0]-L,R=0,j=0,V=0,D=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;M<I.length&&I.charAt(M+1)===" ";)M++}else{var H=b[0],P=b[0];C.getWidth(H)===0&&(R++,H--),C.getWidth(P)===2&&(j++,P++);var K=C.getString(P).length;for(K>1&&(D+=K-1,M+=K-1);H>0&&L>0&&!this._isCharWordSeparator(C.loadCell(H-1,this._workCell));){C.loadCell(H-1,this._workCell);var U=this._workCell.getChars().length;this._workCell.getWidth()===0?(R++,H--):U>1&&(V+=U-1,L-=U-1),L--,H--}for(;P<C.length&&M+1<I.length&&!this._isCharWordSeparator(C.loadCell(P+1,this._workCell));){C.loadCell(P+1,this._workCell);var G=this._workCell.getChars().length;this._workCell.getWidth()===2?(j++,P++):G>1&&(D+=G-1,M+=G-1),M++,P++}}M++;var W=L+k-R+V,Z=Math.min(this._bufferService.cols,M-L+R+j-V-D);if(S||I.slice(L,M).trim()!==""){if(_&&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 ve=this._getWordAt([this._bufferService.cols-1,b[1]-1],!1,!0,!1);if(ve){var q=this._bufferService.cols-ve.start;W-=q,Z+=q}}}if(T&&W+Z===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var ce=x.lines.get(b[1]+1);if(ce&&ce.isWrapped&&ce.getCodePoint(0)!==32){var be=this._getWordAt([0,b[1]+1],!1,!1,!0);be&&(Z+=be.length)}}return{start:W,length:Z}}}}},w.prototype._selectWordAt=function(b,S){var _=this._getWordAt(b,S);if(_){for(;_.start<0;)_.start+=this._bufferService.cols,b[1]--;this._model.selectionStart=[_.start,b[1]],this._model.selectionStartLength=_.length}},w.prototype._selectToWordAt=function(b){var S=this._getWordAt(b,!0);if(S){for(var _=b[1];S.start<0;)S.start+=this._bufferService.cols,_--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,_++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,_]}},w.prototype._isCharWordSeparator=function(b){return b.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(b.getChars())>=0},w.prototype._selectLineAt=function(b){var S=this._bufferService.buffer.getWrappedRangeForLine(b);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.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);m.SelectionService=g},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SelectionModel=void 0;var p=function(){function v(f){this._bufferService=f,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.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(v.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}),v.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])},v.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)},v}();m.SelectionModel=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.moveToCellSequence=void 0;var p=E(12);function v(a,o,r,c){var e=a-f(r,a),s=o-f(r,o);return t(Math.abs(e-s)-function(u,h,g){for(var A=0,w=u-f(g,u),b=h-f(g,h),S=0;S<Math.abs(w-b);S++){var _=d(u,h)==="A"?-1:1,T=g.buffer.lines.get(w+_*S);T&&T.isWrapped&&A++}return A}(a,o,r),n(d(a,o),c))}function f(a,o){for(var r=0,c=a.buffer.lines.get(o),e=c&&c.isWrapped;e&&o>=0&&o<a.rows;)r++,e=(c=a.buffer.lines.get(--o))&&c.isWrapped;return r}function d(a,o){return a>o?"A":"B"}function l(a,o,r,c,e,s){for(var u=a,h=o,g="";u!==r||h!==c;)u+=e?1:-1,e&&u>s.cols-1?(g+=s.buffer.translateBufferLineToString(h,!1,a,u),u=0,a=0,h++):!e&&u<0&&(g+=s.buffer.translateBufferLineToString(h,!1,0,a+1),a=u=s.cols-1,h--);return g+s.buffer.translateBufferLineToString(h,!1,a,u)}function n(a,o){var r=o?"O":"[";return p.C0.ESC+r+a}function t(a,o){a=Math.floor(a);for(var r="",c=0;c<a;c++)r+=o;return r}m.moveToCellSequence=function(a,o,r,c){var e,s=r.buffer.x,u=r.buffer.y;if(!r.buffer.hasScrollback)return function(g,A,w,b,S,_){return v(A,b,S,_).length===0?"":t(l(g,A,g,A-f(S,A),!1,S).length,n("D",_))}(s,u,0,o,r,c)+v(u,o,r,c)+function(g,A,w,b,S,_){var T;T=v(A,b,S,_).length>0?b-f(S,b):A;var x=b,C=function(I,L,M,k,R,j){var V;return V=v(M,k,R,j).length>0?k-f(R,k):L,I<M&&V<=k||I>=M&&V<k?"C":"D"}(g,A,w,b,S,_);return t(l(g,T,w,x,C==="C",S).length,n(C,_))}(s,u,a,o,r,c);if(u===o)return e=s>a?"D":"C",t(Math.abs(s-a),n(e,c));e=u>o?"D":"C";var h=Math.abs(u-o);return t(function(g,A){return A.cols-g}(u>o?a:s,r)+(h-1)*r.cols+1+((u>o?s:a)-1),n(e,c))}},function(y,m,E){"use strict";var p=this&&this.__decorate||function(l,n,t,a){var o,r=arguments.length,c=r<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(l,n,t,a);else for(var e=l.length-1;e>=0;e--)(o=l[e])&&(c=(r<3?o(c):r>3?o(n,t,c):o(n,t))||c);return r>3&&c&&Object.defineProperty(n,t,c),c},v=this&&this.__param||function(l,n){return function(t,a){n(t,a,l)}};Object.defineProperty(m,"__esModule",{value:!0}),m.SoundService=void 0;var f=E(1),d=function(){function l(n){this._optionsService=n}return Object.defineProperty(l,"audioContext",{get:function(){if(!l._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;l._audioContext=new t}return l._audioContext},enumerable:!1,configurable:!0}),l.prototype.playBellSound=function(){var n=l.audioContext;if(n){var t=n.createBufferSource();n.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){t.buffer=a,t.connect(n.destination),t.start(0)})}},l.prototype._base64ToArrayBuffer=function(n){for(var t=window.atob(n),a=t.length,o=new Uint8Array(a),r=0;r<a;r++)o[r]=t.charCodeAt(r);return o.buffer},l.prototype._removeMimeType=function(n){return n.split(",")[1]},l=p([v(0,f.IOptionsService)],l)}();m.SoundService=d},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,s){var u,h=arguments.length,g=h<3?c:s===null?s=Object.getOwnPropertyDescriptor(c,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,s);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,s){c(e,s,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseZoneManager=void 0;var l=E(2),n=E(7),t=E(5),a=E(1),o=function(r){function c(e,s,u,h,g,A){var w=r.call(this)||this;return w._element=e,w._screenElement=s,w._bufferService=u,w._mouseService=h,w._selectionService=g,w._optionsService=A,w._zones=[],w._areZonesActive=!1,w._lastHoverCoords=[void 0,void 0],w._initialSelectionLength=0,w.register(n.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 v(c,r),c.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},c.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},c.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()}},c.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))},c.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))},c.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},c.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)))},c.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(e);s&&s.tooltipCallback&&s.tooltipCallback(e)},c.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())}},c.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},c.prototype._onClick=function(e){var s=this._findZoneEventAt(e),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},c.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},c.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],g=0;g<this._zones.length;g++){var A=this._zones[g];if(A.y1===A.y2){if(h===A.y1&&u>=A.x1&&u<A.x2)return A}else if(h===A.y1&&u>=A.x1||h===A.y2&&u<A.x2||h>A.y1&&h<A.y2)return A}},c=f([d(2,a.IBufferService),d(3,t.IMouseService),d(4,t.ISelectionService),d(5,a.IOptionsService)],c)}(l.Disposable);m.MouseZoneManager=o},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(e,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,h){u.__proto__=h}||function(u,h){for(var g in h)h.hasOwnProperty(g)&&(u[g]=h[g])})(e,s)},function(c,e){function s(){this.constructor=c}p(c,e),c.prototype=e===null?Object.create(e):(s.prototype=e.prototype,new s)});Object.defineProperty(m,"__esModule",{value:!0}),m.AccessibilityManager=void 0;var f=E(18),d=E(11),l=E(31),n=E(7),t=E(2),a=E(32),o=E(17),r=function(c){function e(s,u){var h=c.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 g=0;g<h._terminal.rows;g++)h._rowElements[g]=h._createAccessibilityTreeNode(),h._rowContainer.appendChild(h._rowElements[g]);if(h._topBoundaryFocusListener=function(A){return h._onBoundaryFocus(A,0)},h._bottomBoundaryFocusListener=function(A){return h._onBoundaryFocus(A,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 l.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(A){return h._onResize(A.rows)})),h.register(h._terminal.onRender(function(A){return h._refreshRows(A.start,A.end)})),h.register(h._terminal.onScroll(function(){return h._refreshRows()})),h.register(h._terminal.onA11yChar(function(A){return h._onChar(A)})),h.register(h._terminal.onLineFeed(function(){return h._onChar(`
`)})),h.register(h._terminal.onA11yTab(function(A){return h._onTab(A)})),h.register(h._terminal.onKey(function(A){return h._onKey(A.key)})),h.register(h._terminal.onBlur(function(){return h._clearLiveRegion()})),h.register(h._renderService.onDimensionsChange(function(){return h._refreshRowsDimensions()})),h._screenDprMonitor=new a.ScreenDprMonitor,h.register(h._screenDprMonitor),h._screenDprMonitor.setListener(function(){return h._refreshRowsDimensions()}),h.register(n.addDisposableDomListener(window,"resize",function(){return h._refreshRowsDimensions()})),h}return v(e,c),e.prototype.dispose=function(){c.prototype.dispose.call(this),o.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(s,u){var h=s.target,g=this._rowElements[u===0?1:this._rowElements.length-2];if(h.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===g){var A,w;if(u===0?(A=h,w=this._rowElements.pop(),this._rowContainer.removeChild(w)):(A=this._rowElements.shift(),w=h,this._rowContainer.removeChild(A)),A.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,g=h.lines.length.toString(),A=s;A<=u;A++){var w=h.translateBufferLineToString(h.ydisp+A,!0),b=(h.ydisp+A+1).toString(),S=this._rowElements[A];S&&(w.length===0?S.innerHTML="&nbsp;":S.textContent=w,S.setAttribute("aria-posinset",b),S.setAttribute("aria-setsize",g))}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}(t.Disposable);m.AccessibilityManager=r},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(g,A){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var S in b)b.hasOwnProperty(S)&&(w[S]=b[S])})(g,A)},function(h,g){function A(){this.constructor=h}p(h,g),h.prototype=g===null?Object.create(g):(A.prototype=g.prototype,new A)}),f=this&&this.__decorate||function(h,g,A,w){var b,S=arguments.length,_=S<3?g:w===null?w=Object.getOwnPropertyDescriptor(g,A):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(h,g,A,w);else for(var T=h.length-1;T>=0;T--)(b=h[T])&&(_=(S<3?b(_):S>3?b(g,A,_):b(g,A))||_);return S>3&&_&&Object.defineProperty(g,A,_),_},d=this&&this.__param||function(h,g){return function(A,w){g(A,w,h)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DomRenderer=void 0;var l=E(58),n=E(9),t=E(2),a=E(5),o=E(1),r=E(0),c=E(10),e=E(17),s=1,u=function(h){function g(A,w,b,S,_,T,x,C,I){var L=h.call(this)||this;return L._colors=A,L._element=w,L._screenElement=b,L._viewportElement=S,L._linkifier=_,L._linkifier2=T,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 l.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(M){return L._onLinkHover(M)}),L._linkifier.onHideLinkUnderline(function(M){return L._onLinkLeave(M)}),L._linkifier2.onShowLinkUnderline(function(M){return L._onLinkHover(M)}),L._linkifier2.onHideLinkUnderline(function(M){return L._onLinkLeave(M)}),L}return v(g,h),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),g.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)},g.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 A=0,w=this._rowElements;A<w.length;A++){var b=w[A];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 S=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=S,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},g.prototype.setColors=function(A){this._colors=A,this._injectCss()},g.prototype._injectCss=function(){var A=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(."+l.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+l.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+l.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) ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+":not(."+l.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_BLINK_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+l.CURSOR_CLASS+"."+l.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,S){w+=A._terminalSelector+" .xterm-fg-"+S+" { color: "+b.css+"; }"+A._terminalSelector+" .xterm-bg-"+S+" { background-color: "+b.css+"; }"}),w+=this._terminalSelector+" .xterm-fg-"+n.INVERTED_DEFAULT_COLOR+" { color: "+c.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+n.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=w},g.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},g.prototype._refreshRowElements=function(A,w){for(var b=this._rowElements.length;b<=w;b++){var S=document.createElement("div");this._rowContainer.appendChild(S),this._rowElements.push(S)}for(;this._rowElements.length>w;)this._rowContainer.removeChild(this._rowElements.pop())},g.prototype.onResize=function(A,w){this._refreshRowElements(A,w),this._updateDimensions()},g.prototype.onCharSizeChanged=function(){this._updateDimensions()},g.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},g.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},g.prototype.onSelectionChanged=function(A,w,b){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(A&&w){var S=A[1]-this._bufferService.buffer.ydisp,_=w[1]-this._bufferService.buffer.ydisp,T=Math.max(S,0),x=Math.min(_,this._bufferService.rows-1);if(!(T>=this._bufferService.rows||x<0)){var C=document.createDocumentFragment();if(b)C.appendChild(this._createSelectionElement(T,A[0],w[0],x-T+1));else{var I=S===T?A[0]:0,L=T===x?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(T,I,L));var M=x-T-1;if(C.appendChild(this._createSelectionElement(T+1,0,this._bufferService.cols,M)),T!==x){var k=_===x?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(x,0,k))}}this._selectionContainer.appendChild(C)}}},g.prototype._createSelectionElement=function(A,w,b,S){S===void 0&&(S=1);var _=document.createElement("div");return _.style.height=S*this.dimensions.actualCellHeight+"px",_.style.top=A*this.dimensions.actualCellHeight+"px",_.style.left=w*this.dimensions.actualCellWidth+"px",_.style.width=this.dimensions.actualCellWidth*(b-w)+"px",_},g.prototype.onCursorMove=function(){},g.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},g.prototype.clear=function(){for(var A=0,w=this._rowElements;A<w.length;A++)w[A].innerHTML=""},g.prototype.renderRows=function(A,w){for(var b=this._bufferService.buffer.ybase+this._bufferService.buffer.y,S=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),_=this._optionsService.options.cursorBlink,T=A;T<=w;T++){var x=this._rowElements[T];x.innerHTML="";var C=T+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,S,_,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(g.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),g.prototype.registerCharacterJoiner=function(A){return-1},g.prototype.deregisterCharacterJoiner=function(A){return!1},g.prototype._onLinkHover=function(A){this._setCellUnderline(A.x1,A.x2,A.y1,A.y2,A.cols,!0)},g.prototype._onLinkLeave=function(A){this._setCellUnderline(A.x1,A.x2,A.y1,A.y2,A.cols,!1)},g.prototype._setCellUnderline=function(A,w,b,S,_,T){for(;A!==w||b!==S;){var x=this._rowElements[b];if(!x)return;var C=x.children[A];C&&(C.style.textDecoration=T?"underline":"none"),++A>=_&&(A=0,b++)}},g=f([d(6,a.ICharSizeService),d(7,o.IOptionsService),d(8,o.IBufferService)],g)}(t.Disposable);m.DomRenderer=u},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DomRendererRowFactory=m.CURSOR_STYLE_UNDERLINE_CLASS=m.CURSOR_STYLE_BAR_CLASS=m.CURSOR_STYLE_BLOCK_CLASS=m.CURSOR_BLINK_CLASS=m.CURSOR_CLASS=m.UNDERLINE_CLASS=m.ITALIC_CLASS=m.DIM_CLASS=m.BOLD_CLASS=void 0;var p=E(9),v=E(3),f=E(4),d=E(10);m.BOLD_CLASS="xterm-bold",m.DIM_CLASS="xterm-dim",m.ITALIC_CLASS="xterm-italic",m.UNDERLINE_CLASS="xterm-underline",m.CURSOR_CLASS="xterm-cursor",m.CURSOR_BLINK_CLASS="xterm-cursor-blink",m.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",m.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",m.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var l=function(){function t(a,o,r){this._document=a,this._optionsService=o,this._colors=r,this._workCell=new f.CellData}return t.prototype.setColors=function(a){this._colors=a},t.prototype.createRow=function(a,o,r,c,e,s,u){for(var h=this._document.createDocumentFragment(),g=0,A=Math.min(a.length,u)-1;A>=0;A--)if(a.loadCell(A,this._workCell).getCode()!==v.NULL_CELL_CODE||o&&A===c){g=A+1;break}for(A=0;A<g;A++){a.loadCell(A,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&&A===c)switch(b.classList.add(m.CURSOR_CLASS),e&&b.classList.add(m.CURSOR_BLINK_CLASS),r){case"bar":b.classList.add(m.CURSOR_STYLE_BAR_CLASS);break;case"underline":b.classList.add(m.CURSOR_STYLE_UNDERLINE_CLASS);break;default:b.classList.add(m.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&b.classList.add(m.BOLD_CLASS),this._workCell.isItalic()&&b.classList.add(m.ITALIC_CLASS),this._workCell.isDim()&&b.classList.add(m.DIM_CLASS),this._workCell.isUnderline()&&b.classList.add(m.UNDERLINE_CLASS),this._workCell.isInvisible()?b.textContent=v.WHITESPACE_CELL_CHAR:b.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),T=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var I=S;S=T,T=I;var L=_;_=x,x=L}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(b,this._colors.background,this._colors.ansi[S])||b.classList.add("xterm-fg-"+S);break;case 50331648:var M=d.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(b,this._colors.background,M)||this._addStyle(b,"color:#"+n(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(b,this._colors.background,this._colors.foreground)||C&&b.classList.add("xterm-fg-"+p.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:b.classList.add("xterm-bg-"+T);break;case 50331648:this._addStyle(b,"background-color:#"+n(T.toString(16),"0",6));break;case 0:default:C&&b.classList.add("xterm-bg-"+p.INVERTED_DEFAULT_COLOR)}h.appendChild(b)}}return h},t.prototype._applyMinimumContrast=function(a,o,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var c=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return c===void 0&&(c=d.color.ensureContrastRatio(o,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,c!=null?c:null)),!!c&&(this._addStyle(a,"color:"+c.css),!0)},t.prototype._addStyle=function(a,o){a.setAttribute("style",""+(a.getAttribute("style")||"")+o+";")},t}();function n(t,a,o){for(;t.length<o;)t=a+t;return t}m.DomRendererRowFactory=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.evaluateKeyboardEvent=void 0;var p=E(12),v={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:["'",'"']};m.evaluateKeyboardEvent=function(f,d,l,n){var t={type:0,cancel:!1,key:void 0},a=(f.shiftKey?1:0)|(f.altKey?2:0)|(f.ctrlKey?4:0)|(f.metaKey?8:0);switch(f.keyCode){case 0:f.key==="UIKeyInputUpArrow"?t.key=d?p.C0.ESC+"OA":p.C0.ESC+"[A":f.key==="UIKeyInputLeftArrow"?t.key=d?p.C0.ESC+"OD":p.C0.ESC+"[D":f.key==="UIKeyInputRightArrow"?t.key=d?p.C0.ESC+"OC":p.C0.ESC+"[C":f.key==="UIKeyInputDownArrow"&&(t.key=d?p.C0.ESC+"OB":p.C0.ESC+"[B");break;case 8:if(f.shiftKey){t.key=p.C0.BS;break}if(f.altKey){t.key=p.C0.ESC+p.C0.DEL;break}t.key=p.C0.DEL;break;case 9:if(f.shiftKey){t.key=p.C0.ESC+"[Z";break}t.key=p.C0.HT,t.cancel=!0;break;case 13:t.key=f.altKey?p.C0.ESC+p.C0.CR:p.C0.CR,t.cancel=!0;break;case 27:t.key=p.C0.ESC,f.altKey&&(t.key=p.C0.ESC+p.C0.ESC),t.cancel=!0;break;case 37:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"D",t.key===p.C0.ESC+"[1;3D"&&(t.key=p.C0.ESC+(l?"b":"[1;5D"))):t.key=d?p.C0.ESC+"OD":p.C0.ESC+"[D";break;case 39:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"C",t.key===p.C0.ESC+"[1;3C"&&(t.key=p.C0.ESC+(l?"f":"[1;5C"))):t.key=d?p.C0.ESC+"OC":p.C0.ESC+"[C";break;case 38:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"A",l||t.key!==p.C0.ESC+"[1;3A"||(t.key=p.C0.ESC+"[1;5A")):t.key=d?p.C0.ESC+"OA":p.C0.ESC+"[A";break;case 40:if(f.metaKey)break;a?(t.key=p.C0.ESC+"[1;"+(a+1)+"B",l||t.key!==p.C0.ESC+"[1;3B"||(t.key=p.C0.ESC+"[1;5B")):t.key=d?p.C0.ESC+"OB":p.C0.ESC+"[B";break;case 45:f.shiftKey||f.ctrlKey||(t.key=p.C0.ESC+"[2~");break;case 46:t.key=a?p.C0.ESC+"[3;"+(a+1)+"~":p.C0.ESC+"[3~";break;case 36:t.key=a?p.C0.ESC+"[1;"+(a+1)+"H":d?p.C0.ESC+"OH":p.C0.ESC+"[H";break;case 35:t.key=a?p.C0.ESC+"[1;"+(a+1)+"F":d?p.C0.ESC+"OF":p.C0.ESC+"[F";break;case 33:f.shiftKey?t.type=2:t.key=p.C0.ESC+"[5~";break;case 34:f.shiftKey?t.type=3:t.key=p.C0.ESC+"[6~";break;case 112:t.key=a?p.C0.ESC+"[1;"+(a+1)+"P":p.C0.ESC+"OP";break;case 113:t.key=a?p.C0.ESC+"[1;"+(a+1)+"Q":p.C0.ESC+"OQ";break;case 114:t.key=a?p.C0.ESC+"[1;"+(a+1)+"R":p.C0.ESC+"OR";break;case 115:t.key=a?p.C0.ESC+"[1;"+(a+1)+"S":p.C0.ESC+"OS";break;case 116:t.key=a?p.C0.ESC+"[15;"+(a+1)+"~":p.C0.ESC+"[15~";break;case 117:t.key=a?p.C0.ESC+"[17;"+(a+1)+"~":p.C0.ESC+"[17~";break;case 118:t.key=a?p.C0.ESC+"[18;"+(a+1)+"~":p.C0.ESC+"[18~";break;case 119:t.key=a?p.C0.ESC+"[19;"+(a+1)+"~":p.C0.ESC+"[19~";break;case 120:t.key=a?p.C0.ESC+"[20;"+(a+1)+"~":p.C0.ESC+"[20~";break;case 121:t.key=a?p.C0.ESC+"[21;"+(a+1)+"~":p.C0.ESC+"[21~";break;case 122:t.key=a?p.C0.ESC+"[23;"+(a+1)+"~":p.C0.ESC+"[23~";break;case 123:t.key=a?p.C0.ESC+"[24;"+(a+1)+"~":p.C0.ESC+"[24~";break;default:if(!f.ctrlKey||f.shiftKey||f.altKey||f.metaKey)if(l&&!n||!f.altKey||f.metaKey)l&&!f.altKey&&!f.ctrlKey&&f.metaKey?f.keyCode===65&&(t.type=1):f.key&&!f.ctrlKey&&!f.altKey&&!f.metaKey&&f.keyCode>=48&&f.key.length===1?t.key=f.key:f.key&&f.ctrlKey&&f.key==="_"&&(t.key=p.C0.US);else{var o=v[f.keyCode],r=o&&o[f.shiftKey?1:0];if(r)t.key=p.C0.ESC+r;else if(f.keyCode>=65&&f.keyCode<=90){var c=f.ctrlKey?f.keyCode-64:f.keyCode+32;t.key=p.C0.ESC+String.fromCharCode(c)}}else f.keyCode>=65&&f.keyCode<=90?t.key=String.fromCharCode(f.keyCode-64):f.keyCode===32?t.key=p.C0.NUL:f.keyCode>=51&&f.keyCode<=55?t.key=String.fromCharCode(f.keyCode-51+27):f.keyCode===56?t.key=p.C0.DEL:f.keyCode===219?t.key=p.C0.ESC:f.keyCode===220?t.key=p.C0.FS:f.keyCode===221&&(t.key=p.C0.GS)}return t}},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(u,h){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,A){g.__proto__=A}||function(g,A){for(var w in A)A.hasOwnProperty(w)&&(g[w]=A[w])})(u,h)},function(s,u){function h(){this.constructor=s}p(s,u),s.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}),f=this&&this.__decorate||function(s,u,h,g){var A,w=arguments.length,b=w<3?u:g===null?g=Object.getOwnPropertyDescriptor(u,h):g;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(s,u,h,g);else for(var S=s.length-1;S>=0;S--)(A=s[S])&&(b=(w<3?A(b):w>3?A(u,h,b):A(u,h))||b);return w>3&&b&&Object.defineProperty(u,h,b),b},d=this&&this.__param||function(s,u){return function(h,g){u(h,g,s)}};Object.defineProperty(m,"__esModule",{value:!0}),m.RenderService=void 0;var l=E(31),n=E(0),t=E(2),a=E(32),o=E(7),r=E(1),c=E(5),e=function(s){function u(h,g,A,w,b,S){var _=s.call(this)||this;if(_._renderer=h,_._rowCount=g,_._isPaused=!1,_._needsFullRefresh=!1,_._isNextRenderRedrawOnly=!0,_._needsSelectionRefresh=!1,_._canvasWidth=0,_._canvasHeight=0,_._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_._onDimensionsChange=new n.EventEmitter,_._onRender=new n.EventEmitter,_._onRefreshRequest=new n.EventEmitter,_.register({dispose:function(){return _._renderer.dispose()}}),_._renderDebouncer=new l.RenderDebouncer(function(x,C){return _._renderRows(x,C)}),_.register(_._renderDebouncer),_._screenDprMonitor=new a.ScreenDprMonitor,_._screenDprMonitor.setListener(function(){return _.onDevicePixelRatioChange()}),_.register(_._screenDprMonitor),_.register(S.onResize(function(x){return _._fullRefresh()})),_.register(w.onOptionChange(function(){return _._renderer.onOptionsChanged()})),_.register(b.onCharSizeChange(function(){return _.onCharSizeChanged()})),_._renderer.onRequestRedraw(function(x){return _.refreshRows(x.start,x.end,!0)}),_.register(o.addDisposableDomListener(window,"resize",function(){return _.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var T=new IntersectionObserver(function(x){return _._onIntersectionChange(x[x.length-1])},{threshold:0});T.observe(A),_.register({dispose:function(){return T.disconnect()}})}return _}return v(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,g,A){A===void 0&&(A=!1),this._isPaused?this._needsFullRefresh=!0:(A||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,g,this._rowCount))},u.prototype._renderRows=function(h,g){this._renderer.renderRows(h,g),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:g}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(h,g){this._rowCount=g,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 g=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(A){return g.refreshRows(A.start,A.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,g){this._renderer.onResize(h,g),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,g,A){this._selectionState.start=h,this._selectionState.end=g,this._selectionState.columnSelectMode=A,this._renderer.onSelectionChanged(h,g,A)},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,c.ICharSizeService),d(5,r.IBufferService)],u)}(t.Disposable);m.RenderService=e},function(y,m,E){"use strict";var p=this&&this.__decorate||function(t,a,o,r){var c,e=arguments.length,s=e<3?a:r===null?r=Object.getOwnPropertyDescriptor(a,o):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,a,o,r);else for(var u=t.length-1;u>=0;u--)(c=t[u])&&(s=(e<3?c(s):e>3?c(a,o,s):c(a,o))||s);return e>3&&s&&Object.defineProperty(a,o,s),s},v=this&&this.__param||function(t,a){return function(o,r){a(o,r,t)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CharSizeService=void 0;var f=E(1),d=E(0),l=function(){function t(a,o,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new d.EventEmitter,this._measureStrategy=new n(a,o,this._optionsService)}return Object.defineProperty(t.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),t.prototype.measure=function(){var a=this._measureStrategy.measure();a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._onCharSizeChange.fire())},t=p([v(2,f.IOptionsService)],t)}();m.CharSizeService=l;var n=function(){function t(a,o,r){this._document=a,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 t.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._measureElement.getBoundingClientRect();return a.width!==0&&a.height!==0&&(this._result.width=a.width,this._result.height=Math.ceil(a.height)),this._result},t}()},function(y,m,E){"use strict";var p=this&&this.__decorate||function(n,t,a,o){var r,c=arguments.length,e=c<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,a):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(n,t,a,o);else for(var s=n.length-1;s>=0;s--)(r=n[s])&&(e=(c<3?r(e):c>3?r(t,a,e):r(t,a))||e);return c>3&&e&&Object.defineProperty(t,a,e),e},v=this&&this.__param||function(n,t){return function(a,o){t(a,o,n)}};Object.defineProperty(m,"__esModule",{value:!0}),m.MouseService=void 0;var f=E(5),d=E(30),l=function(){function n(t,a){this._renderService=t,this._charSizeService=a}return n.prototype.getCoords=function(t,a,o,r,c){return d.getCoords(t,a,o,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,c)},n.prototype.getRawByteCoords=function(t,a,o,r){var c=this.getCoords(t,a,o,r);return d.getRawByteCoords(c)},n=p([v(0,f.IRenderService),v(1,f.ICharSizeService)],n)}();m.MouseService=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,s){var u,h=arguments.length,g=h<3?c:s===null?s=Object.getOwnPropertyDescriptor(c,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,s);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,s){c(e,s,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.Linkifier2=void 0;var l=E(1),n=E(0),t=E(2),a=E(7),o=function(r){function c(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 n.EventEmitter),s._onHideLinkUnderline=s.register(new n.EventEmitter),s.register(t.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return v(c,r),Object.defineProperty(c.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),c.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)}}},c.prototype.attachToDom=function(e,s,u){var h=this;this._element=e,this._mouseService=s,this._renderService=u,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},c.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 g=u[h];if(g.classList.contains("xterm"))break;if(g.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},c.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))},c.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(g,A){var w;s?((w=u._activeProviderReplies)===null||w===void 0?void 0:w.get(A))&&(h=u._checkLinkProviderResult(A,e,h)):g.provideLinks(e.y,function(b){var S,_;if(!u._isMouseOut){var T=b==null?void 0:b.map(function(x){return{link:x}});(S=u._activeProviderReplies)===null||S===void 0||S.set(A,T),h=u._checkLinkProviderResult(A,e,h),((_=u._activeProviderReplies)===null||_===void 0?void 0:_.size)===u._linkProviders.length&&u._removeIntersectingLinks(e.y,u._activeProviderReplies)}})})},c.prototype._removeIntersectingLinks=function(e,s){for(var u=new Set,h=0;h<s.size;h++){var g=s.get(h);if(g)for(var A=0;A<g.length;A++)for(var w=g[A],b=w.link.range.start.y<e?0:w.link.range.start.x,S=w.link.range.end.y>e?this._bufferService.cols:w.link.range.end.x,_=b;_<=S;_++){if(u.has(_)){g.splice(A--,1);break}u.add(_)}}},c.prototype._checkLinkProviderResult=function(e,s,u){var h,g=this;if(!this._activeProviderReplies)return u;for(var A=this._activeProviderReplies.get(e),w=!1,b=0;b<e;b++)this._activeProviderReplies.has(b)&&!this._activeProviderReplies.get(b)||(w=!0);if(!w&&A){var S=A.find(function(T){return g._linkAtPosition(T.link,s)});S&&(u=!0,this._handleNewLink(S))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(b=0;b<this._activeProviderReplies.size;b++){var _=(h=this._activeProviderReplies.get(b))===null||h===void 0?void 0:h.find(function(T){return g._linkAtPosition(T.link,s)});if(_){u=!0,this._handleNewLink(_);break}}return u},c.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)}},c.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,t.disposeArray(this._linkCacheDisposables))},c.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 g,A;return(A=(g=s._currentLink)===null||g===void 0?void 0:g.state)===null||A===void 0?void 0:A.decorations.pointerCursor},set:function(g){var A,w;((A=s._currentLink)===null||A===void 0?void 0:A.state)&&s._currentLink.state.decorations.pointerCursor!==g&&(s._currentLink.state.decorations.pointerCursor=g,s._currentLink.state.isHovered&&((w=s._element)===null||w===void 0||w.classList.toggle("xterm-cursor-pointer",g)))}},underline:{get:function(){var g,A;return(A=(g=s._currentLink)===null||g===void 0?void 0:g.state)===null||A===void 0?void 0:A.decorations.underline},set:function(g){var A,w,b;((A=s._currentLink)===null||A===void 0?void 0:A.state)&&((b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline)!==g&&(s._currentLink.state.decorations.underline=g,s._currentLink.state.isHovered&&s._fireUnderlineEvent(e.link,g))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var g=h.start===0?0:h.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(g,h.end+1+s._bufferService.buffer.ydisp)})))}},c.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)},c.prototype._fireUnderlineEvent=function(e,s){var u=e.range,h=this._bufferService.buffer.ydisp,g=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(g)},c.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)},c.prototype._linkAtPosition=function(e,s){var u=e.range.start.y===e.range.end.y,h=e.range.start.y<s.y,g=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||g&&e.range.start.x<=s.x||h&&g)&&e.range.start.y<=s.y&&e.range.end.y>=s.y},c.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}},c.prototype._createLinkUnderlineEvent=function(e,s,u,h,g){return{x1:e,y1:s,x2:u,y2:h,cols:this._bufferService.cols,fg:g}},c=f([d(0,l.IBufferService)],c)}(t.Disposable);m.Linkifier2=o},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CoreBrowserService=void 0;var p=function(){function v(f){this._textarea=f}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();m.CoreBrowserService=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(S,_){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,x){T.__proto__=x}||function(T,x){for(var C in x)x.hasOwnProperty(C)&&(T[C]=x[C])})(S,_)},function(b,S){function _(){this.constructor=b}p(b,S),b.prototype=S===null?Object.create(S):(_.prototype=S.prototype,new _)});Object.defineProperty(m,"__esModule",{value:!0}),m.CoreTerminal=void 0;var f=E(2),d=E(1),l=E(66),n=E(67),t=E(68),a=E(74),o=E(75),r=E(0),c=E(76),e=E(77),s=E(78),u=E(80),h=E(81),g=E(19),A=E(82),w=function(b){function S(_){var T=b.call(this)||this;return T._onBinary=new r.EventEmitter,T._onData=new r.EventEmitter,T._onLineFeed=new r.EventEmitter,T._onResize=new r.EventEmitter,T._onScroll=new r.EventEmitter,T._instantiationService=new l.InstantiationService,T.optionsService=new a.OptionsService(_),T._instantiationService.setService(d.IOptionsService,T.optionsService),T._bufferService=T.register(T._instantiationService.createInstance(t.BufferService)),T._instantiationService.setService(d.IBufferService,T._bufferService),T._logService=T._instantiationService.createInstance(n.LogService),T._instantiationService.setService(d.ILogService,T._logService),T._coreService=T.register(T._instantiationService.createInstance(o.CoreService,function(){return T.scrollToBottom()})),T._instantiationService.setService(d.ICoreService,T._coreService),T._coreMouseService=T._instantiationService.createInstance(c.CoreMouseService),T._instantiationService.setService(d.ICoreMouseService,T._coreMouseService),T._dirtyRowService=T._instantiationService.createInstance(e.DirtyRowService),T._instantiationService.setService(d.IDirtyRowService,T._dirtyRowService),T.unicodeService=T._instantiationService.createInstance(s.UnicodeService),T._instantiationService.setService(d.IUnicodeService,T.unicodeService),T._charsetService=T._instantiationService.createInstance(u.CharsetService),T._instantiationService.setService(d.ICharsetService,T._charsetService),T._inputHandler=new g.InputHandler(T._bufferService,T._charsetService,T._coreService,T._dirtyRowService,T._logService,T.optionsService,T._coreMouseService,T.unicodeService),T.register(r.forwardEvent(T._inputHandler.onLineFeed,T._onLineFeed)),T.register(T._inputHandler),T.register(r.forwardEvent(T._bufferService.onResize,T._onResize)),T.register(r.forwardEvent(T._coreService.onData,T._onData)),T.register(r.forwardEvent(T._coreService.onBinary,T._onBinary)),T.register(T.optionsService.onOptionChange(function(x){return T._updateOptions(x)})),T._writeBuffer=new A.WriteBuffer(function(x){return T._inputHandler.parse(x)}),T}return v(S,b),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var _;this._isDisposed||(b.prototype.dispose.call(this),(_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)},S.prototype.write=function(_,T){this._writeBuffer.write(_,T)},S.prototype.writeSync=function(_){this._writeBuffer.writeSync(_)},S.prototype.resize=function(_,T){isNaN(_)||isNaN(T)||(_=Math.max(_,t.MINIMUM_COLS),T=Math.max(T,t.MINIMUM_ROWS),this._bufferService.resize(_,T))},S.prototype.scroll=function(_,T){T===void 0&&(T=!1);var x,C=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===_.fg&&x.getBg(0)===_.bg||(x=C.getBlankLine(_,T),this._cachedBlankLine=x),x.isWrapped=T;var I=C.ybase+C.scrollTop,L=C.ybase+C.scrollBottom;if(C.scrollTop===0){var M=C.lines.isFull;L===C.lines.length-1?M?C.lines.recycle().copyFrom(x):C.lines.push(x.clone()):C.lines.splice(L+1,0,x.clone()),M?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var k=L-I+1;C.lines.shiftElements(I+1,k-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)},S.prototype.scrollLines=function(_,T){var x=this._bufferService.buffer;if(_<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var C=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+_,x.ybase),0),C!==x.ydisp&&(T||this._onScroll.fire(x.ydisp))},S.prototype.scrollPages=function(_){this.scrollLines(_*(this.rows-1))},S.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},S.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},S.prototype.scrollToLine=function(_){var T=_-this._bufferService.buffer.ydisp;T!==0&&this.scrollLines(T)},S.prototype.addEscHandler=function(_,T){return this._inputHandler.addEscHandler(_,T)},S.prototype.addDcsHandler=function(_,T){return this._inputHandler.addDcsHandler(_,T)},S.prototype.addCsiHandler=function(_,T){return this._inputHandler.addCsiHandler(_,T)},S.prototype.addOscHandler=function(_,T){return this._inputHandler.addOscHandler(_,T)},S.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},S.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},S.prototype._updateOptions=function(_){var T;switch(_){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var _=this;if(!this._windowsMode){var T=[];T.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),T.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(_._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,I=T;C<I.length;C++)I[C].dispose()}}}},S}(f.Disposable);m.CoreTerminal=w},function(y,m,E){"use strict";var p=this&&this.__spreadArrays||function(){for(var n=0,t=0,a=arguments.length;t<a;t++)n+=arguments[t].length;var o=Array(n),r=0;for(t=0;t<a;t++)for(var c=arguments[t],e=0,s=c.length;e<s;e++,r++)o[r]=c[e];return o};Object.defineProperty(m,"__esModule",{value:!0}),m.InstantiationService=m.ServiceCollection=void 0;var v=E(1),f=E(14),d=function(){function n(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];this._entries=new Map;for(var o=0,r=t;o<r.length;o++){var c=r[o],e=c[0],s=c[1];this.set(e,s)}}return n.prototype.set=function(t,a){var o=this._entries.get(t);return this._entries.set(t,a),o},n.prototype.forEach=function(t){this._entries.forEach(function(a,o){return t(o,a)})},n.prototype.has=function(t){return this._entries.has(t)},n.prototype.get=function(t){return this._entries.get(t)},n}();m.ServiceCollection=d;var l=function(){function n(){this._services=new d,this._services.set(v.IInstantiationService,this)}return n.prototype.setService=function(t,a){this._services.set(t,a)},n.prototype.getService=function(t){return this._services.get(t)},n.prototype.createInstance=function(t){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];for(var r=f.getServiceDependencies(t).sort(function(A,w){return A.index-w.index}),c=[],e=0,s=r;e<s.length;e++){var u=s[e],h=this._services.get(u.id);if(!h)throw new Error("[createInstance] "+t.name+" depends on UNKNOWN service "+u.id+".");c.push(h)}var g=r.length>0?r[0].index:a.length;if(a.length!==g)throw new Error("[createInstance] First service dependency of "+t.name+" at position "+(g+1)+" conflicts with "+a.length+" static arguments");return new(t.bind.apply(t,p([void 0],p(a,c))))},n}();m.InstantiationService=l},function(y,m,E){"use strict";var p=this&&this.__decorate||function(a,o,r,c){var e,s=arguments.length,u=s<3?o:c===null?c=Object.getOwnPropertyDescriptor(o,r):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(a,o,r,c);else for(var h=a.length-1;h>=0;h--)(e=a[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},v=this&&this.__param||function(a,o){return function(r,c){o(r,c,a)}},f=this&&this.__spreadArrays||function(){for(var a=0,o=0,r=arguments.length;o<r;o++)a+=arguments[o].length;var c=Array(a),e=0;for(o=0;o<r;o++)for(var s=arguments[o],u=0,h=s.length;u<h;u++,e++)c[e]=s[u];return c};Object.defineProperty(m,"__esModule",{value:!0}),m.LogService=m.LogLevel=void 0;var d,l=E(1);!function(a){a[a.DEBUG=0]="DEBUG",a[a.INFO=1]="INFO",a[a.WARN=2]="WARN",a[a.ERROR=3]="ERROR",a[a.OFF=4]="OFF"}(d=m.LogLevel||(m.LogLevel={}));var n={debug:d.DEBUG,info:d.INFO,warn:d.WARN,error:d.ERROR,off:d.OFF},t=function(){function a(o){var r=this;this._optionsService=o,this._updateLogLevel(),this._optionsService.onOptionChange(function(c){c==="logLevel"&&r._updateLogLevel()})}return a.prototype._updateLogLevel=function(){this._logLevel=n[this._optionsService.options.logLevel]},a.prototype._evalLazyOptionalParams=function(o){for(var r=0;r<o.length;r++)typeof o[r]=="function"&&(o[r]=o[r]())},a.prototype._log=function(o,r,c){this._evalLazyOptionalParams(c),o.call.apply(o,f([console,"xterm.js: "+r],c))},a.prototype.debug=function(o){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.DEBUG&&this._log(console.log,o,r)},a.prototype.info=function(o){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.INFO&&this._log(console.info,o,r)},a.prototype.warn=function(o){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.WARN&&this._log(console.warn,o,r)},a.prototype.error=function(o){for(var r=[],c=1;c<arguments.length;c++)r[c-1]=arguments[c];this._logLevel<=d.ERROR&&this._log(console.error,o,r)},a=p([v(0,l.IOptionsService)],a)}();m.LogService=t},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(c,e){return(p=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])})(c,e)},function(r,c){function e(){this.constructor=r}p(r,c),r.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),f=this&&this.__decorate||function(r,c,e,s){var u,h=arguments.length,g=h<3?c:s===null?s=Object.getOwnPropertyDescriptor(c,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,s);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},d=this&&this.__param||function(r,c){return function(e,s){c(e,s,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.BufferService=m.MINIMUM_ROWS=m.MINIMUM_COLS=void 0;var l=E(1),n=E(69),t=E(0),a=E(2);m.MINIMUM_COLS=2,m.MINIMUM_ROWS=1;var o=function(r){function c(e){var s=r.call(this)||this;return s._optionsService=e,s.isUserScrolling=!1,s._onResize=new t.EventEmitter,s.cols=Math.max(e.options.cols,m.MINIMUM_COLS),s.rows=Math.max(e.options.rows,m.MINIMUM_ROWS),s.buffers=new n.BufferSet(e,s),s}return v(c,r),Object.defineProperty(c.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),c.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},c.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})},c.prototype.reset=function(){this.buffers.dispose(),this.buffers=new n.BufferSet(this._optionsService,this),this.isUserScrolling=!1},c=f([d(0,l.IOptionsService)],c)}(a.Disposable);m.BufferService=o},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(t,a){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var c in r)r.hasOwnProperty(c)&&(o[c]=r[c])})(t,a)},function(n,t){function a(){this.constructor=n}p(n,t),n.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)});Object.defineProperty(m,"__esModule",{value:!0}),m.BufferSet=void 0;var f=E(70),d=E(0),l=function(n){function t(a,o){var r=n.call(this)||this;return r._onBufferActivate=r.register(new d.EventEmitter),r._normal=new f.Buffer(!0,a,o),r._normal.fillViewportRows(),r._alt=new f.Buffer(!1,a,o),r._activeBuffer=r._normal,r.setupTabStops(),r}return v(t,n),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.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}))},t.prototype.activateAltBuffer=function(a){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(a),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}))},t.prototype.resize=function(a,o){this._normal.resize(a,o),this._alt.resize(a,o)},t.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},t}(E(2).Disposable);m.BufferSet=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BufferStringIterator=m.Buffer=m.MAX_BUFFER_SIZE=void 0;var p=E(71),v=E(16),f=E(4),d=E(3),l=E(72),n=E(73),t=E(20),a=E(6);m.MAX_BUFFER_SIZE=4294967295;var o=function(){function c(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=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=t.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 p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return c.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 a.ExtendedAttrs),this._nullCell},c.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 a.ExtendedAttrs),this._whitespaceCell},c.prototype.getBlankLine=function(e,s){return new v.BufferLine(this._bufferService.cols,this.getNullCell(e),s)},Object.defineProperty(c.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),c.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var s=e+this._optionsService.options.scrollback;return s>m.MAX_BUFFER_SIZE?m.MAX_BUFFER_SIZE:s},c.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=v.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(e))}},c.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new p.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},c.prototype.resize=function(e,s){var u=this.getNullCell(v.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 g=0;g<this.lines.length;g++)this.lines.get(g).resize(e,u);var A=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 v.BufferLine(e,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+A+1?(this.ybase--,A++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.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),A&&(this.y+=A),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(g=0;g<this.lines.length;g++)this.lines.get(g).resize(e,u);this._cols=e,this._rows=s},Object.defineProperty(c.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),c.prototype._reflow=function(e,s){this._cols!==e&&(e>this._cols?this._reflowLarger(e,s):this._reflowSmaller(e,s))},c.prototype._reflowLarger=function(e,s){var u=l.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(u.length>0){var h=l.reflowLargerCreateNewLayout(this.lines,u);l.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(e,s,h.countRemoved)}},c.prototype._reflowLargerAdjustViewport=function(e,s,u){for(var h=this.getNullCell(v.DEFAULT_ATTR_DATA),g=u;g-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new v.BufferLine(e,h))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},c.prototype._reflowSmaller=function(e,s){for(var u=this.getNullCell(v.DEFAULT_ATTR_DATA),h=[],g=0,A=this.lines.length-1;A>=0;A--){var w=this.lines.get(A);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=e)){for(var b=[w];w.isWrapped&&A>0;)w=this.lines.get(--A),b.unshift(w);var S=this.ybase+this.y;if(!(S>=A&&S<A+b.length)){var _=b[b.length-1].getTrimmedLength(),T=l.reflowSmallerGetNewLineLengths(b,this._cols,e),x=T.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 M=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);I.push(M)}I.length>0&&(h.push({start:A+b.length+g,newLines:I}),g+=I.length),b.push.apply(b,I);var k=T.length-1,R=T[k];R===0&&(R=T[--k]);for(var j=b.length-x-1,V=_;j>=0;){var D=Math.min(V,R);if(b[k].copyCellsFrom(b[j],V-D,R-D,D,!0),(R-=D)===0&&(R=T[--k]),(V-=D)===0){j--;var H=Math.max(j,0);V=l.getWrappedLineTrimmedLength(b,H,this._cols)}}for(L=0;L<b.length;L++)T[L]<e&&b[L].setCell(T[L],u);for(var P=x-C;P-- >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+g)-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=[],U=[];for(L=0;L<this.lines.length;L++)U.push(this.lines.get(L));var G=this.lines.length,W=G-1,Z=0,J=h[Z];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+g);var ve=0;for(L=Math.min(this.lines.maxLength-1,G+g-1);L>=0;L--)if(J&&J.start>W+ve){for(var q=J.newLines.length-1;q>=0;q--)this.lines.set(L--,J.newLines[q]);L++,K.push({index:W+1,amount:J.newLines.length}),ve+=J.newLines.length,J=h[++Z]}else this.lines.set(L,U[W--]);var ce=0;for(L=K.length-1;L>=0;L--)K[L].index+=ce,this.lines.onInsertEmitter.fire(K[L]),ce+=K[L].amount;var be=Math.max(0,G+g-this.lines.maxLength);be>0&&this.lines.onTrimEmitter.fire(be)}},c.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 g=u?h.getTrimmedLength():h.length,A=0;A<g;++A)if(h.get(A)[d.CHAR_DATA_WIDTH_INDEX]&&(s-=h.get(A)[d.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[e,A];e++}return[e,0]},c.prototype.translateBufferLineToString=function(e,s,u,h){u===void 0&&(u=0);var g=this.lines.get(e);return g?g.translateToString(s,u,h):""},c.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}},c.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},c.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},c.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},c.prototype.addMarker=function(e){var s=this,u=new n.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},c.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},c.prototype.iterator=function(e,s,u,h,g){return new r(this,e,s,u,h,g)},c}();m.Buffer=o;var r=function(){function c(e,s,u,h,g,A){u===void 0&&(u=0),h===void 0&&(h=e.lines.length),g===void 0&&(g=0),A===void 0&&(A=0),this._buffer=e,this._trimRight=s,this._startIndex=u,this._endIndex=h,this._startOverscan=g,this._endOverscan=A,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return c.prototype.hasNext=function(){return this._current<this._endIndex},c.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}},c}();m.BufferStringIterator=r},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CircularList=void 0;var p=E(0),v=function(){function f(d){this._maxLength=d,this.onDeleteEmitter=new p.EventEmitter,this.onInsertEmitter=new p.EventEmitter,this.onTrimEmitter=new p.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(l){if(this._maxLength!==l){for(var n=new Array(l),t=0;t<Math.min(l,this.length);t++)n[t]=this._array[this._getCyclicIndex(t)];this._array=n,this._maxLength=l,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"length",{get:function(){return this._length},set:function(l){if(l>this._length)for(var n=this._length;n<l;n++)this._array[n]=void 0;this._length=l},enumerable:!1,configurable:!0}),f.prototype.get=function(d){return this._array[this._getCyclicIndex(d)]},f.prototype.set=function(d,l){this._array[this._getCyclicIndex(d)]=l},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,l){for(var n=[],t=2;t<arguments.length;t++)n[t-2]=arguments[t];if(l){for(var a=d;a<this._length-l;a++)this._array[this._getCyclicIndex(a)]=this._array[this._getCyclicIndex(a+l)];this._length-=l}for(a=this._length-1;a>=d;a--)this._array[this._getCyclicIndex(a+n.length)]=this._array[this._getCyclicIndex(a)];for(a=0;a<n.length;a++)this._array[this._getCyclicIndex(d+a)]=n[a];if(this._length+n.length>this._maxLength){var o=this._length+n.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=n.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,l,n){if(!(l<=0)){if(d<0||d>=this._length)throw new Error("start argument out of range");if(d+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var t=l-1;t>=0;t--)this.set(d+t+n,this.get(d+t));var a=d+l+n-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(t=0;t<l;t++)this.set(d+t+n,this.get(d+t))}},f.prototype._getCyclicIndex=function(d){return(this._startIndex+d)%this._maxLength},f}();m.CircularList=v},function(y,m,E){"use strict";function p(v,f,d){if(f===v.length-1)return v[f].getTrimmedLength();var l=!v[f].hasContent(d-1)&&v[f].getWidth(d-1)===1,n=v[f+1].getWidth(0)===2;return l&&n?d-1:d}Object.defineProperty(m,"__esModule",{value:!0}),m.getWrappedLineTrimmedLength=m.reflowSmallerGetNewLineLengths=m.reflowLargerApplyNewLayout=m.reflowLargerCreateNewLayout=m.reflowLargerGetLinesToRemove=void 0,m.reflowLargerGetLinesToRemove=function(v,f,d,l,n){for(var t=[],a=0;a<v.length-1;a++){var o=a,r=v.get(++o);if(r.isWrapped){for(var c=[v.get(a)];o<v.length&&r.isWrapped;)c.push(r),r=v.get(++o);if(l>=a&&l<o)a+=c.length-1;else{for(var e=0,s=p(c,e,f),u=1,h=0;u<c.length;){var g=p(c,u,f),A=g-h,w=d-s,b=Math.min(A,w);c[e].copyCellsFrom(c[u],h,s,b,!1),(s+=b)===d&&(e++,s=0),(h+=b)===g&&(u++,h=0),s===0&&e!==0&&c[e-1].getWidth(d-1)===2&&(c[e].copyCellsFrom(c[e-1],d-1,s++,1,!1),c[e-1].setCell(d-1,n))}c[e].replaceCells(s,d,n);for(var S=0,_=c.length-1;_>0&&(_>e||c[_].getTrimmedLength()===0);_--)S++;S>0&&(t.push(a+c.length-S),t.push(S)),a+=c.length-1}}}return t},m.reflowLargerCreateNewLayout=function(v,f){for(var d=[],l=0,n=f[l],t=0,a=0;a<v.length;a++)if(n===a){var o=f[++l];v.onDeleteEmitter.fire({index:a-t,amount:o}),a+=o-1,t+=o,n=f[++l]}else d.push(a);return{layout:d,countRemoved:t}},m.reflowLargerApplyNewLayout=function(v,f){for(var d=[],l=0;l<f.length;l++)d.push(v.get(f[l]));for(l=0;l<d.length;l++)v.set(l,d[l]);v.length=f.length},m.reflowSmallerGetNewLineLengths=function(v,f,d){for(var l=[],n=v.map(function(s,u){return p(v,u,f)}).reduce(function(s,u){return s+u}),t=0,a=0,o=0;o<n;){if(n-o<d){l.push(n-o);break}t+=d;var r=p(v,a,f);t>r&&(t-=r,a++);var c=v[a].getWidth(t-1)===2;c&&t--;var e=c?d-1:d;l.push(e),o+=e}return l},m.getWrappedLineTrimmedLength=p},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(n,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var r in o)o.hasOwnProperty(r)&&(a[r]=o[r])})(n,t)},function(l,n){function t(){this.constructor=l}p(l,n),l.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)});Object.defineProperty(m,"__esModule",{value:!0}),m.Marker=void 0;var f=E(0),d=function(l){function n(t){var a=l.call(this)||this;return a.line=t,a._id=n._nextId++,a.isDisposed=!1,a._onDispose=new f.EventEmitter,a}return v(n,l),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},n._nextId=1,n}(E(2).Disposable);m.Marker=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.OptionsService=m.DEFAULT_OPTIONS=m.DEFAULT_BELL_SOUND=void 0;var p=E(0),v=E(11),f=E(33);m.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",m.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:m.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:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var d=["cols","rows"],l=function(){function n(t){this._onOptionChange=new p.EventEmitter,this.options=f.clone(m.DEFAULT_OPTIONS);for(var a=0,o=Object.keys(t);a<o.length;a++){var r=o[a];if(r in this.options){var c=t[r];this.options[r]=c}}}return Object.defineProperty(n.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),n.prototype.setOption=function(t,a){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');if(d.indexOf(t)!==-1)throw new Error('Option "'+t+'" can only be set in the constructor');this.options[t]!==a&&(a=this._sanitizeAndValidateOption(t,a),this.options[t]!==a&&(this.options[t]=a,this._onOptionChange.fire(t)))},n.prototype._sanitizeAndValidateOption=function(t,a){switch(t){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":a||(a=m.DEFAULT_OPTIONS[t]);break;case"cursorWidth":a=Math.floor(a);case"lineHeight":case"tabStopWidth":if(a<1)throw new Error(t+" cannot be less than 1, value: "+a);break;case"minimumContrastRatio":a=Math.max(1,Math.min(21,Math.round(10*a)/10));break;case"scrollback":if((a=Math.min(a,4294967295))<0)throw new Error(t+" cannot be less than 0, value: "+a);break;case"fastScrollSensitivity":case"scrollSensitivity":if(a<=0)throw new Error(t+" cannot be less than or equal to 0, value: "+a)}return a},n.prototype.getOption=function(t){if(!(t in m.DEFAULT_OPTIONS))throw new Error('No option with key "'+t+'"');return this.options[t]},n}();m.OptionsService=l},function(y,m,E){"use strict";var p,v=this&&this.__extends||(p=function(s,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,g){h.__proto__=g}||function(h,g){for(var A in g)g.hasOwnProperty(A)&&(h[A]=g[A])})(s,u)},function(e,s){function u(){this.constructor=e}p(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 g,A=arguments.length,w=A<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--)(g=e[b])&&(w=(A<3?g(w):A>3?g(s,u,w):g(s,u))||w);return A>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(m,"__esModule",{value:!0}),m.CoreService=void 0;var l=E(1),n=E(0),t=E(33),a=E(2),o=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),c=function(e){function s(u,h,g,A){var w=e.call(this)||this;return w._bufferService=h,w._logService=g,w._optionsService=A,w.isCursorInitialized=!1,w.isCursorHidden=!1,w._onData=w.register(new n.EventEmitter),w._onUserInput=w.register(new n.EventEmitter),w._onBinary=w.register(new n.EventEmitter),w._scrollToBottom=u,w.register({dispose:function(){return w._scrollToBottom=void 0}}),w.modes=t.clone(o),w.decPrivateModes=t.clone(r),w}return v(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=t.clone(o),this.decPrivateModes=t.clone(r)},s.prototype.triggerDataEvent=function(u,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var g=this._bufferService.buffer;g.ybase!==g.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(A){return A.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,l.IBufferService),d(2,l.ILogService),d(3,l.IOptionsService)],s)}(a.Disposable);m.CoreService=c},function(y,m,E){"use strict";var p=this&&this.__decorate||function(r,c,e,s){var u,h=arguments.length,g=h<3?c:s===null?s=Object.getOwnPropertyDescriptor(c,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(r,c,e,s);else for(var A=r.length-1;A>=0;A--)(u=r[A])&&(g=(h<3?u(g):h>3?u(c,e,g):u(c,e))||g);return h>3&&g&&Object.defineProperty(c,e,g),g},v=this&&this.__param||function(r,c){return function(e,s){c(e,s,r)}};Object.defineProperty(m,"__esModule",{value:!0}),m.CoreMouseService=void 0;var f=E(1),d=E(0),l={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(c){return c.button!==4&&c.action===1&&(c.ctrl=!1,c.alt=!1,c.shift=!1,!0)}},VT200:{events:19,restrict:function(c){return c.action!==32}},DRAG:{events:23,restrict:function(c){return c.action!==32||c.button!==3}},ANY:{events:31,restrict:function(c){return!0}}};function n(r,c){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||c||(e|=3)),e}var t=String.fromCharCode,a={DEFAULT:function(c){var e=[n(c,!1)+32,c.col+32,c.row+32];return e[0]>255||e[1]>255||e[2]>255?"":""+t(e[0])+t(e[1])+t(e[2])},SGR:function(c){var e=c.action===0&&c.button!==4?"m":"M";return"[<"+n(c,!0)+";"+c.col+";"+c.row+e}},o=function(){function r(c,e){this._bufferService=c,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(l);s<u.length;s++){var h=u[s];this.addProtocol(h,l[h])}for(var g=0,A=Object.keys(a);g<A.length;g++){var w=A[g];this.addEncoding(w,a[w])}this.reset()}return r.prototype.addProtocol=function(c,e){this._protocols[c]=e},r.prototype.addEncoding=function(c,e){this._encodings[c]=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(c){if(c.col<0||c.col>=this._bufferService.cols||c.row<0||c.row>=this._bufferService.rows)return!1;if(c.button===4&&c.action===32)return!1;if(c.button===3&&c.action!==32)return!1;if(c.button!==4&&(c.action===2||c.action===3))return!1;if(c.col++,c.row++,c.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,c))return!1;if(!this._protocols[this._activeProtocol].restrict(c))return!1;var e=this._encodings[this._activeEncoding](c);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=c,!0},r.prototype.explainEvents=function(c){return{down:!!(1&c),up:!!(2&c),drag:!!(4&c),move:!!(8&c),wheel:!!(16&c)}},r.prototype._compareEvents=function(c,e){return c.col===e.col&&c.row===e.row&&c.button===e.button&&c.action===e.action&&c.ctrl===e.ctrl&&c.alt===e.alt&&c.shift===e.shift},r=p([v(0,f.IBufferService),v(1,f.ICoreService)],r)}();m.CoreMouseService=o},function(y,m,E){"use strict";var p=this&&this.__decorate||function(l,n,t,a){var o,r=arguments.length,c=r<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,t):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(l,n,t,a);else for(var e=l.length-1;e>=0;e--)(o=l[e])&&(c=(r<3?o(c):r>3?o(n,t,c):o(n,t))||c);return r>3&&c&&Object.defineProperty(n,t,c),c},v=this&&this.__param||function(l,n){return function(t,a){n(t,a,l)}};Object.defineProperty(m,"__esModule",{value:!0}),m.DirtyRowService=void 0;var f=E(1),d=function(){function l(n){this._bufferService=n,this.clearRange()}return Object.defineProperty(l.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),l.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},l.prototype.markDirty=function(n){n<this._start?this._start=n:n>this._end&&(this._end=n)},l.prototype.markRangeDirty=function(n,t){if(n>t){var a=n;n=t,t=a}n<this._start&&(this._start=n),t>this._end&&(this._end=t)},l.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},l=p([v(0,f.IBufferService)],l)}();m.DirtyRowService=d},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeService=void 0;var p=E(0),v=E(79),f=function(){function d(){this._providers=Object.create(null),this._active="",this._onChange=new p.EventEmitter;var l=new v.UnicodeV6;this.register(l),this._active=l.version,this._activeProvider=l}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(n){if(!this._providers[n])throw new Error('unknown Unicode version "'+n+'"');this._active=n,this._activeProvider=this._providers[n],this._onChange.fire(n)},enumerable:!1,configurable:!0}),d.prototype.register=function(l){this._providers[l.version]=l},d.prototype.wcwidth=function(l){return this._activeProvider.wcwidth(l)},d.prototype.getStringCellWidth=function(l){for(var n=0,t=l.length,a=0;a<t;++a){var o=l.charCodeAt(a);if(55296<=o&&o<=56319){if(++a>=t)return n+this.wcwidth(o);var r=l.charCodeAt(a);56320<=r&&r<=57343?o=1024*(o-55296)+r-56320+65536:n+=this.wcwidth(r)}n+=this.wcwidth(o)}return n},d}();m.UnicodeService=f},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnicodeV6=void 0;var p,v=E(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]],l=function(){function n(){if(this.version="6",!p){p=new Uint8Array(65536),v.fill(p,1),p[0]=0,v.fill(p,0,1,32),v.fill(p,0,127,160),v.fill(p,2,4352,4448),p[9001]=2,p[9002]=2,v.fill(p,2,11904,42192),p[12351]=1,v.fill(p,2,44032,55204),v.fill(p,2,63744,64256),v.fill(p,2,65040,65050),v.fill(p,2,65072,65136),v.fill(p,2,65280,65377),v.fill(p,2,65504,65511);for(var t=0;t<f.length;++t)v.fill(p,0,f[t][0],f[t][1]+1)}}return n.prototype.wcwidth=function(t){return t<32?0:t<127?1:t<65536?p[t]:function(a,o){var r,c=0,e=o.length-1;if(a<o[0][0]||a>o[e][1])return!1;for(;e>=c;)if(a>o[r=c+e>>1][1])c=r+1;else{if(!(a<o[r][0]))return!0;e=r-1}return!1}(t,d)?0:t>=131072&&t<=196605||t>=196608&&t<=262141?2:1},n}();m.UnicodeV6=l},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CharsetService=void 0;var p=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(f){this.glevel=f,this.charset=this._charsets[f]},v.prototype.setgCharset=function(f,d){this._charsets[f]=d,this.glevel===f&&(this.charset=d)},v}();m.CharsetService=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.updateWindowsModeWrappedState=void 0;var p=E(3);m.updateWindowsModeWrappedState=function(v){var f=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),d=f==null?void 0:f.get(v.cols-1),l=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);l&&d&&(l.isWrapped=d[p.CHAR_DATA_CODE_INDEX]!==p.NULL_CELL_CODE&&d[p.CHAR_DATA_CODE_INDEX]!==p.WHITESPACE_CELL_CODE)}},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.WriteBuffer=void 0;var p=function(){function v(f){this._action=f,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(f){if(this._writeBuffer.length){for(var d=this._bufferOffset;d<this._writeBuffer.length;++d){var l=this._writeBuffer[d],n=this._callbacks[d];this._action(l),n&&n()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(f)},v.prototype.write=function(f,d){var l=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 l._innerWrite()})),this._pendingData+=f.length,this._writeBuffer.push(f),this._callbacks.push(d)},v.prototype._innerWrite=function(){for(var f=this,d=Date.now();this._writeBuffer.length>this._bufferOffset;){var l=this._writeBuffer[this._bufferOffset],n=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(l),this._pendingData-=l.length,n&&n(),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)},v}();m.WriteBuffer=p},function(y,m,E){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AddonManager=void 0;var p=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var f=this._addons.length-1;f>=0;f--)this._addons[f].instance.dispose()},v.prototype.loadAddon=function(f,d){var l=this,n={instance:d,dispose:d.dispose,isDisposed:!1};this._addons.push(n),d.dispose=function(){return l._wrappedAddonDispose(n)},d.activate(f)},v.prototype._wrappedAddonDispose=function(f){if(!f.isDisposed){for(var d=-1,l=0;l<this._addons.length;l++)if(this._addons[l]===f){d=l;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)}},v}();m.AddonManager=p}])})},"/SeX":function(B,N,i){var y=i("knOB"),m=i("qZFw"),E=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new y,this._angleAxis=new m,this._radiusAxis.polar=this._angleAxis.polar=this};E.prototype={type:"polar",axisPointerEnabled:!0,constructor:E,dimensions:["radius","angle"],model:null,containPoint:function(v){var f=this.pointToCoord(v);return this._radiusAxis.contain(f[0])&&this._angleAxis.contain(f[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var f=[],d=this._angleAxis,l=this._radiusAxis;return d.scale.type===v&&f.push(d),l.scale.type===v&&f.push(l),f},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var f=this._angleAxis;return v===f?this._radiusAxis:f},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var f=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[f],otherAxes:[this.getOtherAxis(f)]}},dataToPoint:function(v,f){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],f),this._angleAxis.dataToAngle(v[1],f)])},pointToData:function(v,f){var d=this.pointToCoord(v);return[this._radiusAxis.radiusToData(d[0],f),this._angleAxis.angleToData(d[1],f)]},pointToCoord:function(v){var f=v[0]-this.cx,d=v[1]-this.cy,l=this.getAngleAxis(),n=l.getExtent(),t=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);l.inverse?t=a-360:a=t+360;var o=Math.sqrt(f*f+d*d);f/=o,d/=o;for(var r=Math.atan2(-d,f)/Math.PI*180,c=r<t?1:-1;r<t||r>a;)r+=c*360;return[o,r]},coordToPoint:function(v){var f=v[0],d=v[1]/180*Math.PI,l=Math.cos(d)*f+this.cx,n=-Math.sin(d)*f+this.cy;return[l,n]},getArea:function(){var v=this.getAngleAxis(),f=this.getRadiusAxis(),d=f.getExtent().slice();d[0]>d[1]&&d.reverse();var l=v.getExtent(),n=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:d[0],r:d[1],startAngle:-l[0]*n,endAngle:-l[1]*n,clockwise:v.inverse,contain:function(t,a){var o=t-this.cx,r=a-this.cy,c=o*o+r*r,e=this.r,s=this.r0;return c<=e*e&&c>=s*s}}}};var p=E;B.exports=p},"/WM3":function(B,N,i){var y=i("QuXc"),m=i("bYtY"),E=m.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,f){var d=v.getData(),l=(v.visualColorAccessPath||"itemStyle.color").split("."),n=v.get(l),t=E(n)&&!(n instanceof y)?n:null;(!n||t)&&(n=v.getColorFromPalette(v.name,null,f.getSeriesCount())),d.setVisual("color",n);var a=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),o=v.get(a);if(d.setVisual("borderColor",o),!f.isSeriesFiltered(v)){t&&d.each(function(c){d.setItemVisual(c,"color",t(v.getDataParams(c)))});var r=function(c,e){var s=c.getItemModel(e),u=s.get(l,!0),h=s.get(a,!0);u!=null&&c.setItemVisual(e,"color",u),h!=null&&c.setItemVisual(e,"borderColor",h)};return{dataEach:d.hasItemOption?r:null}}}};B.exports=p},"/d5a":function(B,N){var i={average:function(E){for(var p=0,v=0,f=0;f<E.length;f++)isNaN(E[f])||(p+=E[f],v++);return v===0?NaN:p/v},sum:function(E){for(var p=0,v=0;v<E.length;v++)p+=E[v]||0;return p},max:function(E){for(var p=-Infinity,v=0;v<E.length;v++)E[v]>p&&(p=E[v]);return isFinite(p)?p:NaN},min:function(E){for(var p=Infinity,v=0;v<E.length;v++)E[v]<p&&(p=E[v]);return isFinite(p)?p:NaN},nearest:function(E){return E[0]}},y=function(E,p){return Math.round(E.length/2)};function m(E){return{seriesType:E,modifyOutputEnd:!0,reset:function(p,v,f){var d=p.getData(),l=p.get("sampling"),n=p.coordinateSystem;if(n.type==="cartesian2d"&&l){var t=n.getBaseAxis(),a=n.getOtherAxis(t),o=t.getExtent(),r=o[1]-o[0],c=Math.round(d.count()/r);if(c>1){var e;typeof l=="string"?e=i[l]:typeof l=="function"&&(e=l),e&&p.setData(d.downSample(d.mapDimension(a.dim),1/c,e,y))}}}}}B.exports=m},"/ezw":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("cDf5"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=function(P){var K=P.prefixCls,U=P.className,G=P.width,W=P.style;return d.createElement("h3",{className:n()(K,U),style:p()({width:G},W)})},a=t,o=i("RIqP"),r=i.n(o),c=function(P){var K=function(q){var ce=P.width,be=P.rows,Ce=be===void 0?2:be;return Array.isArray(ce)?ce[q]:Ce-1===q?ce:void 0},U=P.prefixCls,G=P.className,W=P.style,Z=P.rows,J=r()(Array(Z)).map(function(ve,q){return d.createElement("li",{key:q,style:{width:K(q)}})});return d.createElement("ul",{className:n()(U,G),style:W},J)},e=c,s=i("H84U"),u=function(P){var K,U,G=P.prefixCls,W=P.className,Z=P.style,J=P.size,ve=P.shape,q=n()((K={},m()(K,"".concat(G,"-lg"),J==="large"),m()(K,"".concat(G,"-sm"),J==="small"),K)),ce=n()((U={},m()(U,"".concat(G,"-circle"),ve==="circle"),m()(U,"".concat(G,"-square"),ve==="square"),m()(U,"".concat(G,"-round"),ve==="round"),U)),be=typeof J=="number"?{width:J,height:J,lineHeight:"".concat(J,"px")}:{};return d.createElement("span",{className:n()(G,W,q,ce),style:p()(p()({},be),Z)})},h=u,g=i("BGR+"),A=function(P){var K=function(G){var W=G.getPrefixCls,Z=P.prefixCls,J=P.className,ve=P.active,q=W("skeleton",Z),ce=Object(g.default)(P,["prefixCls"]),be=n()(q,J,"".concat(q,"-element"),m()({},"".concat(q,"-active"),ve));return d.createElement("div",{className:be},d.createElement(h,p()({prefixCls:"".concat(q,"-avatar")},ce)))};return d.createElement(s.a,null,K)};A.defaultProps={size:"default",shape:"circle"};var w=A,b=function(P){var K=function(G){var W=G.getPrefixCls,Z=P.prefixCls,J=P.className,ve=P.active,q=W("skeleton",Z),ce=Object(g.default)(P,["prefixCls"]),be=n()(q,J,"".concat(q,"-element"),m()({},"".concat(q,"-active"),ve));return d.createElement("div",{className:be},d.createElement(h,p()({prefixCls:"".concat(q,"-button")},ce)))};return d.createElement(s.a,null,K)};b.defaultProps={size:"default"};var S=b,_=function(P){var K=function(G){var W=G.getPrefixCls,Z=P.prefixCls,J=P.className,ve=P.active,q=W("skeleton",Z),ce=Object(g.default)(P,["prefixCls"]),be=n()(q,J,"".concat(q,"-element"),m()({},"".concat(q,"-active"),ve));return d.createElement("div",{className:be},d.createElement(h,p()({prefixCls:"".concat(q,"-input")},ce)))};return d.createElement(s.a,null,K)};_.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(P){var K=function(G){var W=G.getPrefixCls,Z=P.prefixCls,J=P.className,ve=P.style,q=W("skeleton",Z),ce=n()(q,J,"".concat(q,"-element"));return d.createElement("div",{className:ce},d.createElement("div",{className:n()("".concat(q,"-image"),J),style:ve},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(q,"-image-svg")},d.createElement("path",{d:x,className:"".concat(q,"-image-path")}))))};return d.createElement(s.a,null,K)},I=C;function L(H){return H&&f()(H)==="object"?H:{}}function M(H,P){return H&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(H,P){return!H&&P?{width:"38%"}:H&&P?{width:"50%"}:{}}function R(H,P){var K={};return(!H||!P)&&(K.width="61%"),!H&&P?K.rows=3:K.rows=2,K}var j=function(P){var K=function(G){var W=G.getPrefixCls,Z=G.direction,J=P.prefixCls,ve=P.loading,q=P.className,ce=P.children,be=P.avatar,Ce=P.title,Fe=P.paragraph,fe=P.active,Ne=P.round,Q=W("skeleton",J);if(ve||!("loading"in P)){var ae,Ue=!!be,te=!!Ce,X=!!Fe,z;if(Ue){var Y=p()(p()({prefixCls:"".concat(Q,"-avatar")},M(te,X)),L(be));z=d.createElement("div",{className:"".concat(Q,"-header")},d.createElement(h,Y))}var pe;if(te||X){var se;if(te){var Te=p()(p()({prefixCls:"".concat(Q,"-title")},k(Ue,X)),L(Ce));se=d.createElement(a,Te)}var Se;if(X){var ie=p()(p()({prefixCls:"".concat(Q,"-paragraph")},R(Ue,te)),L(Fe));Se=d.createElement(e,ie)}pe=d.createElement("div",{className:"".concat(Q,"-content")},se,Se)}var de=n()(Q,q,(ae={},m()(ae,"".concat(Q,"-with-avatar"),Ue),m()(ae,"".concat(Q,"-active"),fe),m()(ae,"".concat(Q,"-rtl"),Z==="rtl"),m()(ae,"".concat(Q,"-round"),Ne),ae));return d.createElement("div",{className:de},z,pe)}return ce};return d.createElement(s.a,null,K)};j.defaultProps={avatar:!1,title:!0,paragraph:!0},j.Button=S,j.Avatar=w,j.Input=T,j.Image=I;var V=j,D=N.a=V},"/iHx":function(B,N,i){var y=i("6GrX"),m=i("IwbS"),E=["textStyle","color"],p={getTextColor:function(v){var f=this.ecModel;return this.getShallow("color")||(!v&&f?f.get(E):null)},getFont:function(){return m.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return y.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};B.exports=p},"/ry/":function(B,N,i){var y=i("bYtY"),m=i("T4UG"),E=i("5GhG"),p=E.seriesModelMixin,v=m.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(v,p,!0);var f=v;B.exports=f},"/stD":function(B,N,i){var y=i("bYtY"),m=i("IUWy"),E=i("Kagy"),p=E.toolbox.brush;function v(l,n,t){this.model=l,this.ecModel=n,this.api=t,this._brushType,this._brushMode}v.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(p.title)};var f=v.prototype;f.render=f.updateView=function(l,n,t){var a,o,r;n.eachComponent({mainType:"brush"},function(c){a=c.brushType,o=c.brushOption.brushMode||"single",r|=c.areas.length}),this._brushType=a,this._brushMode=o,y.each(l.get("type",!0),function(c){l.setIconStatus(c,(c==="keep"?o==="multiple":c==="clear"?r:c===a)?"emphasis":"normal")})},f.getIcons=function(){var l=this.model,n=l.get("icon",!0),t={};return y.each(l.get("type",!0),function(a){n[a]&&(t[a]=n[a])}),t},f.onclick=function(l,n,t){var a=this._brushType,o=this._brushMode;t==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:t==="keep"?a:a===t?!1:t,brushMode:t==="keep"?o==="multiple"?"single":"multiple":o}})},m.register("brush",v);var d=v;B.exports=d},"/wGt":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),o=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),s=i("Ff2n"),u=i("1OyB"),h=i("vuIU"),g=i("Ji7U"),A=i("md7G"),w=i("foSv"),b=i("1W/9"),S=i("rePB"),_=i("JX7q"),T=i("TSYQ"),x=i.n(T),C=i("qx4F"),I=i("4IlW");function L(se){return Array.isArray(se)?se:[se]}var M={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(M).filter(function(se){if(typeof document=="undefined")return!1;var Te=document.getElementsByTagName("html")[0];return se in(Te?Te.style:{})})[0],R=M[k];function j(se,Te,Se,ie){se.addEventListener?se.addEventListener(Te,Se,ie):se.attachEvent&&se.attachEvent("on".concat(Te),Se)}function V(se,Te,Se,ie){se.removeEventListener?se.removeEventListener(Te,Se,ie):se.attachEvent&&se.detachEvent("on".concat(Te),Se)}function D(se,Te){var Se=typeof se=="function"?se(Te):se;return Array.isArray(Se)?Se.length===2?Se:[Se[0],Se[1]]:[Se]}var H=function(Te){return!isNaN(parseFloat(Te))&&isFinite(Te)},P=!(typeof window!="undefined"&&window.document&&window.document.createElement),K=function se(Te,Se,ie,de){if(!Se||Se===document||Se instanceof Document)return!1;if(Se===Te.parentNode)return!0;var _e=Math.max(Math.abs(ie),Math.abs(de))===Math.abs(de),We=Math.max(Math.abs(ie),Math.abs(de))===Math.abs(ie),at=Se.scrollHeight-Se.clientHeight,tt=Se.scrollWidth-Se.clientWidth,Oe=document.defaultView.getComputedStyle(Se),yt=Oe.overflowY==="auto"||Oe.overflowY==="scroll",Ye=Oe.overflowX==="auto"||Oe.overflowX==="scroll",bt=at&&yt,Ct=tt&&Ye;return _e&&(!bt||bt&&(Se.scrollTop>=at&&de<0||Se.scrollTop<=0&&de>0))||We&&(!Ct||Ct&&(Se.scrollLeft>=tt&&ie<0||Se.scrollLeft<=0&&ie>0))?se(Te,Se.parentNode,ie,de):!1};function U(se){var Te=G();return function(){var ie=Object(w.a)(se),de;if(Te){var _e=Object(w.a)(this).constructor;de=Reflect.construct(ie,arguments,_e)}else de=ie.apply(this,arguments);return Object(A.a)(this,de)}}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(se){return!1}}var W={},Z=function(se){Object(g.a)(Se,se);var Te=U(Se);function Se(ie){var de;return Object(u.a)(this,Se),de=Te.call(this,ie),de.domFocus=function(){de.dom&&de.dom.focus()},de.removeStartHandler=function(_e){if(_e.touches.length>1)return;de.startPos={x:_e.touches[0].clientX,y:_e.touches[0].clientY}},de.removeMoveHandler=function(_e){if(_e.changedTouches.length>1)return;var We=_e.currentTarget,at=_e.changedTouches[0].clientX-de.startPos.x,tt=_e.changedTouches[0].clientY-de.startPos.y;(We===de.maskDom||We===de.handlerDom||We===de.contentDom&&K(We,_e.target,at,tt))&&_e.cancelable&&_e.preventDefault()},de.transitionEnd=function(_e){var We=_e.target;V(We,R,de.transitionEnd),We.style.transition=""},de.onKeyDown=function(_e){if(_e.keyCode===I.a.ESC){var We=de.props.onClose;_e.stopPropagation(),We&&We(_e)}},de.onWrapperTransitionEnd=function(_e){var We=de.props,at=We.open,tt=We.afterVisibleChange;_e.target===de.contentWrapper&&_e.propertyName.match(/transform$/)&&(de.dom.style.transition="",!at&&de.getCurrentDrawerSome()&&(document.body.style.overflowX="",de.maskDom&&(de.maskDom.style.left="",de.maskDom.style.width="")),tt&&tt(!!at))},de.openLevelTransition=function(){var _e=de.props,We=_e.open,at=_e.width,tt=_e.height,Oe=de.getHorizontalBoolAndPlacementName(),yt=Oe.isHorizontal,Ye=Oe.placementName,bt=de.contentDom?de.contentDom.getBoundingClientRect()[yt?"width":"height"]:0,Ct=(yt?at:tt)||bt;de.setLevelAndScrolling(We,Ye,Ct)},de.setLevelTransform=function(_e,We,at,tt){var Oe=de.props,yt=Oe.placement,Ye=Oe.levelMove,bt=Oe.duration,Ct=Oe.ease,It=Oe.showMask;de.levelDom.forEach(function(Ft){Ft.style.transition="transform ".concat(bt," ").concat(Ct),j(Ft,R,de.transitionEnd);var Vt=_e?at:0;if(Ye){var $e=D(Ye,{target:Ft,open:_e});Vt=_e?$e[0]:$e[1]||0}var ge=typeof Vt=="number"?"".concat(Vt,"px"):Vt,ne=yt==="left"||yt==="top"?ge:"-".concat(ge);ne=It&&yt==="right"&&tt?"calc(".concat(ne," + ").concat(tt,"px)"):ne,Ft.style.transform=Vt?"".concat(We,"(").concat(ne,")"):""})},de.setLevelAndScrolling=function(_e,We,at){var tt=de.props.onChange;if(!P){var Oe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;de.setLevelTransform(_e,We,at,Oe),de.toggleScrollingToDrawerAndBody(Oe)}tt&&tt(_e)},de.toggleScrollingToDrawerAndBody=function(_e){var We=de.props,at=We.getOpenCount,tt=We.getContainer,Oe=We.showMask,yt=We.open,Ye=tt&&tt(),bt=at&&at();if(Ye&&Ye.parentNode===document.body&&Oe){var Ct=["touchstart"],It=[document.body,de.maskDom,de.handlerDom,de.contentDom];yt&&document.body.style.overflow!=="hidden"?(_e&&de.addScrollingEffect(_e),bt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",It.forEach(function(Ft,Vt){if(!Ft)return;j(Ft,Ct[Vt]||"touchmove",Vt?de.removeMoveHandler:de.removeStartHandler,de.passive)})):de.getCurrentDrawerSome()&&(bt||(document.body.style.overflow=""),document.body.style.touchAction="",_e&&de.remScrollingEffect(_e),It.forEach(function(Ft,Vt){if(!Ft)return;V(Ft,Ct[Vt]||"touchmove",Vt?de.removeMoveHandler:de.removeStartHandler,de.passive)}))}},de.addScrollingEffect=function(_e){var We=de.props,at=We.placement,tt=We.duration,Oe=We.ease,yt=We.getOpenCount,Ye=We.switchScrollingEffect,bt=yt&&yt();bt===1&&Ye();var Ct="width ".concat(tt," ").concat(Oe),It="transform ".concat(tt," ").concat(Oe);de.dom.style.transition="none";switch(at){case"right":de.dom.style.transform="translateX(-".concat(_e,"px)");break;case"top":case"bottom":de.dom.style.width="calc(100% - ".concat(_e,"px)"),de.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(de.timeout),de.timeout=setTimeout(function(){de.dom&&(de.dom.style.transition="".concat(It,",").concat(Ct),de.dom.style.width="",de.dom.style.transform="")})},de.remScrollingEffect=function(_e){var We=de.props,at=We.placement,tt=We.duration,Oe=We.ease,yt=We.getOpenCount,Ye=We.switchScrollingEffect,bt=yt&&yt();bt||Ye(!0),k&&(document.body.style.overflowX="hidden"),de.dom.style.transition="none";var Ct,It="width ".concat(tt," ").concat(Oe),Ft="transform ".concat(tt," ").concat(Oe);switch(at){case"left":{de.dom.style.width="100%",It="width 0s ".concat(Oe," ").concat(tt);break}case"right":{de.dom.style.transform="translateX(".concat(_e,"px)"),de.dom.style.width="100%",It="width 0s ".concat(Oe," ").concat(tt),de.maskDom&&(de.maskDom.style.left="-".concat(_e,"px"),de.maskDom.style.width="calc(100% + ".concat(_e,"px)"));break}case"top":case"bottom":{de.dom.style.width="calc(100% + ".concat(_e,"px)"),de.dom.style.height="100%",de.dom.style.transform="translateZ(0)",Ct="height 0s ".concat(Oe," ").concat(tt);break}default:break}clearTimeout(de.timeout),de.timeout=setTimeout(function(){de.dom&&(de.dom.style.transition="".concat(Ft,",").concat(Ct?"".concat(Ct,","):"").concat(It),de.dom.style.transform="",de.dom.style.width="",de.dom.style.height="")})},de.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(_e){return W[_e]})},de.getLevelDom=function(_e){var We=_e.level,at=_e.getContainer;if(P)return;var tt=at&&at(),Oe=tt?tt.parentNode:null;if(de.levelDom=[],We==="all"){var yt=Oe?Array.prototype.slice.call(Oe.children):[];yt.forEach(function(Ye){Ye.nodeName!=="SCRIPT"&&Ye.nodeName!=="STYLE"&&Ye.nodeName!=="LINK"&&Ye!==tt&&de.levelDom.push(Ye)})}else We&&L(We).forEach(function(Ye){document.querySelectorAll(Ye).forEach(function(bt){de.levelDom.push(bt)})})},de.getHorizontalBoolAndPlacementName=function(){var _e=de.props.placement,We=_e==="left"||_e==="right",at="translate".concat(We?"X":"Y");return{isHorizontal:We,placementName:at}},de.state={_self:Object(_.a)(de)},de}return Object(h.a)(Se,[{key:"componentDidMount",value:function(){var de=this;if(!P){var _e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return _e=!0,null}}))}catch(yt){}this.passive=_e?{passive:!1}:!1}var We=this.props,at=We.open,tt=We.getContainer,Oe=tt&&tt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),at&&(Oe&&Oe.parentNode===document.body&&(W[this.drawerId]=at),this.openLevelTransition(),this.forceUpdate(function(){de.domFocus()}))}},{key:"componentDidUpdate",value:function(de){var _e=this.props,We=_e.open,at=_e.getContainer,tt=at&&at();We!==de.open&&(We&&this.domFocus(),tt&&tt.parentNode===document.body&&(W[this.drawerId]=!!We),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var de=this.props,_e=de.getOpenCount,We=de.open,at=de.switchScrollingEffect,tt=typeof _e=="function"&&_e();delete W[this.drawerId],We&&(this.setLevelTransform(!1),document.body.style.touchAction=""),tt||(document.body.style.overflow="",at(!0))}},{key:"render",value:function(){var de,_e=this,We=this.props,at=We.className,tt=We.children,Oe=We.style,yt=We.width,Ye=We.height,bt=We.defaultOpen,Ct=We.open,It=We.prefixCls,Ft=We.placement,Vt=We.level,$e=We.levelMove,ge=We.ease,ne=We.duration,wt=We.getContainer,qe=We.handler,he=We.onChange,kt=We.afterVisibleChange,nr=We.showMask,lt=We.maskClosable,Xt=We.maskStyle,hr=We.onClose,Wr=We.onHandleClick,mt=We.keyboard,Et=We.getOpenCount,rt=We.switchScrollingEffect,He=Object(s.a)(We,["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"]),ze=this.dom?Ct:!1,Rt=x()(It,(de={},Object(S.a)(de,"".concat(It,"-").concat(Ft),!0),Object(S.a)(de,"".concat(It,"-open"),ze),Object(S.a)(de,at||"",!!at),Object(S.a)(de,"no-mask",!nr),de)),sr=this.getHorizontalBoolAndPlacementName(),Jt=sr.placementName,qt=Ft==="left"||Ft==="top"?"-100%":"100%",qr=ze?"":"".concat(Jt,"(").concat(qt,")"),Fr=qe&&e.cloneElement(qe,{onClick:function(Tt){qe.props.onClick&&qe.props.onClick(),Wr&&Wr(Tt)},ref:function(Tt){_e.handlerDom=Tt}});return e.createElement("div",Object.assign({},He,{tabIndex:-1,className:Rt,style:Oe,ref:function(Tt){_e.dom=Tt},onKeyDown:ze&&mt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),nr&&e.createElement("div",{className:"".concat(It,"-mask"),onClick:lt?hr:void 0,style:Xt,ref:function(Tt){_e.maskDom=Tt}}),e.createElement("div",{className:"".concat(It,"-content-wrapper"),style:{transform:qr,msTransform:qr,width:H(yt)?"".concat(yt,"px"):yt,height:H(Ye)?"".concat(Ye,"px"):Ye},ref:function(Tt){_e.contentWrapper=Tt}},e.createElement("div",{className:"".concat(It,"-content"),ref:function(Tt){_e.contentDom=Tt},onTouchStart:ze&&nr?this.removeStartHandler:void 0,onTouchMove:ze&&nr?this.removeMoveHandler:void 0},tt),Fr))}}],[{key:"getDerivedStateFromProps",value:function(de,_e){var We=_e.prevProps,at=_e._self,tt={prevProps:de};if(We!==void 0){var Oe=de.placement,yt=de.level;Oe!==We.placement&&(at.contentDom=null),yt!==We.level&&at.getLevelDom(de)}return tt}}]),Se}(e.Component);Z.defaultProps={switchScrollingEffect:function(){}};var J=Z;function ve(se){var Te=q();return function(){var ie=Object(w.a)(se),de;if(Te){var _e=Object(w.a)(this).constructor;de=Reflect.construct(ie,arguments,_e)}else de=ie.apply(this,arguments);return Object(A.a)(this,de)}}function q(){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(se){return!1}}var ce=function(se){Object(g.a)(Se,se);var Te=ve(Se);function Se(ie){var de;Object(u.a)(this,Se),de=Te.call(this,ie),de.onHandleClick=function(We){var at=de.props,tt=at.onHandleClick,Oe=at.open;if(tt&&tt(We),typeof Oe=="undefined"){var yt=de.state.open;de.setState({open:!yt})}},de.onClose=function(We){var at=de.props,tt=at.onClose,Oe=at.open;tt&&tt(We),typeof Oe=="undefined"&&de.setState({open:!1})};var _e=typeof ie.open!="undefined"?ie.open:!!ie.defaultOpen;return de.state={open:_e},"onMaskClick"in ie&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),de}return Object(h.a)(Se,[{key:"render",value:function(){var de=this,_e=this.props,We=_e.defaultOpen,at=_e.getContainer,tt=_e.wrapperClassName,Oe=_e.forceRender,yt=_e.handler,Ye=Object(s.a)(_e,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),bt=this.state.open;if(!at)return e.createElement("div",{className:tt,ref:function(Ft){de.dom=Ft}},e.createElement(J,Object.assign({},Ye,{open:bt,handler:yt,getContainer:function(){return de.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ct=!!yt||Oe;return e.createElement(b.a,{visible:bt,forceRender:Ct,getContainer:at,wrapperClassName:tt},function(It){var Ft=It.visible,Vt=It.afterClose,$e=Object(s.a)(It,["visible","afterClose"]);return e.createElement(J,Object.assign({},Ye,$e,{open:Ft!==void 0?Ft:bt,afterVisibleChange:Vt!==void 0?Vt:Ye.afterVisibleChange,handler:yt,onClose:de.onClose,onHandleClick:de.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(de,_e){var We=_e.prevProps,at={prevProps:de};return typeof We!="undefined"&&de.open!==We.open&&(at.open=de.open),at}}]),Se}(e.Component);ce.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 be=ce,Ce=be,Fe=i("V/uB"),fe=i.n(Fe),Ne=i("BGR+"),Q=i("H84U"),ae=i("CWQg"),Ue=function(se,Te){var Se={};for(var ie in se)Object.prototype.hasOwnProperty.call(se,ie)&&Te.indexOf(ie)<0&&(Se[ie]=se[ie]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ie=Object.getOwnPropertySymbols(se);de<ie.length;de++)Te.indexOf(ie[de])<0&&Object.prototype.propertyIsEnumerable.call(se,ie[de])&&(Se[ie[de]]=se[ie[de]]);return Se},te=e.createContext(null),X=Object(ae.a)("top","right","bottom","left"),z={distance:180},Y=function(se){o()(Se,se);var Te=c()(Se);function Se(){var ie;return f()(this,Se),ie=Te.apply(this,arguments),ie.state={push:!1},ie.push=function(){ie.props.push&&ie.setState({push:!0})},ie.pull=function(){ie.props.push&&ie.setState({push:!1})},ie.onDestroyTransitionEnd=function(){var de=ie.getDestroyOnClose();if(!de)return;ie.props.visible||(ie.destroyClose=!0,ie.forceUpdate())},ie.getDestroyOnClose=function(){return ie.props.destroyOnClose&&!ie.props.visible},ie.getPushDistance=function(){var de=ie.props.push,_e;return typeof de=="boolean"?_e=de?z.distance:0:_e=de.distance,parseFloat(String(_e||0))},ie.getPushTransform=function(de){var _e=ie.getPushDistance();if(de==="left"||de==="right")return"translateX(".concat(de==="left"?_e:-_e,"px)");if(de==="top"||de==="bottom")return"translateY(".concat(de==="top"?_e:-_e,"px)")},ie.getRcDrawerStyle=function(){var de=ie.props,_e=de.zIndex,We=de.placement,at=de.mask,tt=de.style,Oe=ie.state.push,yt=at?{}:ie.getOffsetStyle();return p()(p()({zIndex:_e,transform:Oe?ie.getPushTransform(We):void 0},yt),tt)},ie.renderBody=function(){var de=ie.props,_e=de.bodyStyle,We=de.drawerStyle,at=de.prefixCls,tt=de.visible;if(ie.destroyClose&&!tt)return null;ie.destroyClose=!1;var Oe={},yt=ie.getDestroyOnClose();return yt&&(Oe.opacity=0,Oe.transition="opacity .3s"),e.createElement("div",{className:"".concat(at,"-wrapper-body"),style:p()(p()({},Oe),We),onTransitionEnd:ie.onDestroyTransitionEnd},ie.renderHeader(),e.createElement("div",{className:"".concat(at,"-body"),style:_e},ie.props.children),ie.renderFooter())},ie.renderProvider=function(de){return ie.parentDrawer=de,e.createElement(Q.a,null,function(_e){var We=_e.getPopupContainer,at=_e.getPrefixCls,tt=ie.props,Oe=tt.prefixCls,yt=tt.placement,Ye=tt.className,bt=tt.mask,Ct=tt.direction,It=tt.visible,Ft=Ue(tt,["prefixCls","placement","className","mask","direction","visible"]),Vt=at("select",Oe),$e=x()(Ye,m()({"no-mask":!bt},"".concat(Vt,"-rtl"),Ct==="rtl")),ge=bt?ie.getOffsetStyle():{};return e.createElement(te.Provider,{value:t()(ie)},e.createElement(Ce,p()({handler:!1},Object(Ne.default)(Ft,["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:Ft.getContainer===void 0&&We?function(){return We(document.body)}:Ft.getContainer},ge,{prefixCls:Vt,open:It,showMask:bt,placement:yt,style:ie.getRcDrawerStyle(),className:$e}),ie.renderBody()))})},ie}return l()(Se,[{key:"componentDidMount",value:function(){var de=this.props.visible;de&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(de){var _e=this.props.visible;de.visible!==_e&&this.parentDrawer&&(_e?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var de=this.props,_e=de.placement,We=de.width,at=de.height,tt=de.visible,Oe=de.mask;if(!tt&&!Oe)return{};var yt={};return _e==="left"||_e==="right"?yt.width=We:yt.height=at,yt}},{key:"renderHeader",value:function(){var de=this.props,_e=de.title,We=de.prefixCls,at=de.closable,tt=de.headerStyle;if(!_e&&!at)return null;var Oe=_e?"".concat(We,"-header"):"".concat(We,"-header-no-title");return e.createElement("div",{className:Oe,style:tt},_e&&e.createElement("div",{className:"".concat(We,"-title")},_e),at&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var de=this.props,_e=de.footer,We=de.footerStyle,at=de.prefixCls;if(!_e)return null;var tt="".concat(at,"-footer");return e.createElement("div",{className:tt,style:We},_e)}},{key:"renderCloseIcon",value:function(){var de=this.props,_e=de.closable,We=de.closeIcon,at=We===void 0?e.createElement(fe.a,null):We,tt=de.prefixCls,Oe=de.onClose;return _e&&e.createElement("button",{onClick:Oe,"aria-label":"Close",className:"".concat(tt,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},at)}},{key:"render",value:function(){return e.createElement(te.Consumer,null,this.renderProvider)}}]),Se}(e.Component);Y.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:z};var pe=N.a=Object(Q.c)({prefixCls:"drawer"})(Y)},"/y7N":function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("6GrX"),p=i("7aKB"),v=i("Fofx"),f=i("aX7z"),d=i("+rIm");function l(u){var h=u.get("type"),g=u.getModel(h+"Style"),A;return h==="line"?(A=g.getLineStyle(),A.fill=null):h==="shadow"&&(A=g.getAreaStyle(),A.stroke=null),A}function n(u,h,g,A,w){var b=g.get("value"),S=a(b,h.axis,h.ecModel,g.get("seriesDataIndices"),{precision:g.get("label.precision"),formatter:g.get("label.formatter")}),_=g.getModel("label"),T=p.normalizeCssArray(_.get("padding")||0),x=_.getFont(),C=E.getBoundingRect(S,x),I=w.position,L=C.width+T[1]+T[3],M=C.height+T[0]+T[2],k=w.align;k==="right"&&(I[0]-=L),k==="center"&&(I[0]-=L/2);var R=w.verticalAlign;R==="bottom"&&(I[1]-=M),R==="middle"&&(I[1]-=M/2),t(I,L,M,A);var j=_.get("backgroundColor");(!j||j==="auto")&&(j=h.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:L,height:M,r:_.get("borderRadius")},position:I.slice(),style:{text:S,textFont:x,textFill:_.getTextColor(),textPosition:"inside",textPadding:T,fill:j,stroke:_.get("borderColor")||"transparent",lineWidth:_.get("borderWidth")||0,shadowBlur:_.get("shadowBlur"),shadowColor:_.get("shadowColor"),shadowOffsetX:_.get("shadowOffsetX"),shadowOffsetY:_.get("shadowOffsetY")},z2:10}}function t(u,h,g,A){var w=A.getWidth(),b=A.getHeight();u[0]=Math.min(u[0]+h,w)-h,u[1]=Math.min(u[1]+g,b)-g,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function a(u,h,g,A,w){u=h.scale.parse(u);var b=h.scale.getLabel(u,{precision:w.precision}),S=w.formatter;if(S){var _={value:f.getAxisRawValue(h,u),axisDimension:h.dim,axisIndex:h.index,seriesData:[]};y.each(A,function(T){var x=g.getSeriesByIndex(T.seriesIndex),C=T.dataIndexInside,I=x&&x.getDataParams(C);I&&_.seriesData.push(I)}),y.isString(S)?b=S.replace("{value}",b):y.isFunction(S)&&(b=S(_))}return b}function o(u,h,g){var A=v.create();return v.rotate(A,A,g.rotation),v.translate(A,A,g.position),m.applyTransform([u.dataToCoord(h),(g.labelOffset||0)+(g.labelDirection||1)*(g.labelMargin||0)],A)}function r(u,h,g,A,w,b){var S=d.innerTextLayout(g.rotation,0,g.labelDirection);g.labelMargin=w.get("label.margin"),n(h,A,w,b,{position:o(A.axis,u,g),align:S.textAlign,verticalAlign:S.textVerticalAlign})}function c(u,h,g){return g=g||0,{x1:u[g],y1:u[1-g],x2:h[g],y2:h[1-g]}}function e(u,h,g){return g=g||0,{x:u[g],y:u[1-g],width:h[g],height:h[1-g]}}function s(u,h,g,A,w,b){return{cx:u,cy:h,r0:g,r:A,startAngle:w,endAngle:b,clockwise:!0}}N.buildElStyle=l,N.buildLabelElOption=n,N.getValueLabel=a,N.getTransformedPosition=o,N.buildCartesianSingleLabelElOption=r,N.makeLineShape=c,N.makeRectShape=e,N.makeSectorShape=s},"/zsF":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("bE4E"),p=i.n(E)},"0/Rx":function(B,N){function i(y){return{seriesType:y,reset:function(m,E){var p=E.findComponents({mainType:"legend"});if(!p||!p.length)return;var v=m.getData();v.filterSelf(function(f){for(var d=v.getName(f),l=0;l<p.length;l++)if(!p[l].isSelected(d))return!1;return!0})}}}B.exports=i},"01d+":function(B,N,i){var y=i("bYtY"),m=y.each,E=i("HF/U"),p=E.simpleLayout,v=E.simpleLayoutEdge;function f(d,l){d.eachSeriesByType("graph",function(n){var t=n.get("layout"),a=n.coordinateSystem;if(a&&a.type!=="view"){var o=n.getData(),r=[];m(a.dimensions,function(g){r=r.concat(o.mapDimension(g,!0))});for(var c=0;c<o.count();c++){for(var e=[],s=!1,u=0;u<r.length;u++){var h=o.get(r[u],c);isNaN(h)||(s=!0),e.push(h)}s?o.setItemLayout(c,a.dataToPoint(e)):o.setItemLayout(c,[NaN,NaN])}v(o.graph)}else(!t||t==="none")&&p(n)})}B.exports=f},"06DH":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("Kagy"),p=i("IUWy"),v=E.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:m.clone(v.title),option:{},seriesIndex:{}};var l=d.prototype;l.getIcons=function(){var o=this.model,r=o.get("icon"),c={};return m.each(o.get("type"),function(e){r[e]&&(c[e]=r[e])}),c};var n={line:function(o,r,c,e){if(o==="bar")return m.merge({id:r,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.line")||{},!0)},bar:function(o,r,c,e){if(o==="line")return m.merge({id:r,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.bar")||{},!0)},stack:function(o,r,c,e){var s=c.get("stack")===f;if(o==="line"||o==="bar")return e.setIconStatus("stack",s?"normal":"emphasis"),m.merge({id:r,stack:s?"":f},e.get("option.stack")||{},!0)}},t=[["line","bar"],["stack"]];l.onclick=function(o,r,c){var e=this.model,s=e.get("seriesIndex."+c);if(!n[c])return;var u={series:[]},h=function(w){var b=w.subType,S=w.id,_=n[c](b,S,w,e);_&&(m.defaults(_,w.option),u.series.push(_));var T=w.coordinateSystem;if(T&&T.type==="cartesian2d"&&(c==="line"||c==="bar")){var x=T.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],M=L.componentIndex;u[I]=u[I]||[];for(var k=0;k<=M;k++)u[I][M]=u[I][M]||{};u[I][M].boundaryGap=c==="bar"}}};m.each(t,function(w){m.indexOf(w,c)>=0&&m.each(w,function(b){e.setIconStatus(b,"normal")})}),e.setIconStatus(c,"emphasis"),o.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},h);var g;if(c==="stack"){var A=u.series&&u.series[0]&&u.series[0].stack===f;g=A?m.merge({stack:v.title.tiled},v.title):m.clone(v.title)}r.dispatchAction({type:"changeMagicType",currentType:c,newOption:u,newTitle:g,featureName:"magicType"})},y.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(o,r){r.mergeOption(o.newOption)}),p.register("magicType",d);var a=d;B.exports=a},"06Qe":function(B,N,i){var y=i("ItGF"),m="urn:schemas-microsoft-com:vml",E=typeof window=="undefined"?null:window,p=!1,v=E&&E.document;function f(n){return d(n)}var d;if(v&&!y.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",m),d=function(t){return v.createElement("<zrvml:"+t+' class="zrvml">')}}catch(n){d=function(a){return v.createElement("<"+a+' xmlns="'+m+'" class="zrvml">')}}function l(){if(p||!v)return;p=!0;var n=v.styleSheets;n.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):n[0].addRule(".zrvml","behavior:url(#default#VML)")}N.doc=v,N.createNode=f,N.initVML=l},"09Wf":function(B,N,i){"use strict";i.d(N,"b",function(){return m}),i.d(N,"a",function(){return E});var y=i("CWQg"),m=Object(y.a)("success","processing","error","default","warning"),E=Object(y.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(B,N,i){var y=i("T4UG"),m=i("I3/A"),E=i("7aKB"),p=E.encodeHTML,v=i("Qxkt"),f=i("Tghj"),d=f.__DEV__,l=y.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,a){for(var o=t.edges||t.links,r=t.data||t.nodes,c=t.levels,e=this.levelModels={},s=0;s<c.length;s++)c[s].depth!=null&&c[s].depth>=0&&(e[c[s].depth]=new v(c[s],this,a));if(r&&o){var u=m(r,o,this,!0,h);return u.data}function h(g,A){g.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(S){var _=this.parentModel,T=_.getData().getItemLayout(b).depth,x=_.levelModels[T];return x||this.parentModel}),w}),A.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(S){var _=this.parentModel,T=_.getGraph().getEdgeByIndex(b),x=T.node1.getLayout().depth,C=_.levelModels[x];return C||this.parentModel}),w})}},setNodePosition:function(t,a){var o=this.option.data[t];o.localX=a[0],o.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,a,o){if(o==="edge"){var r=this.getDataParams(t,o),c=r.data,e=c.source+" -- "+c.target;return r.value&&(e+=" : "+r.value),p(e)}else if(o==="node"){var s=this.getGraph().getNodeByIndex(t),u=s.getLayout().value,h=this.getDataParams(t,o).data.name;if(u)var e=h+" : "+u;return p(e)}return l.superCall(this,"formatTooltip",t,a)},optionUpdated:function(){var t=this.option;t.focusNodeAdjacency===!0&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,a){var o=l.superCall(this,"getDataParams",t,a);if(o.value==null&&a==="node"){var r=this.getGraph().getNodeByIndex(t),c=r.getLayout().value;o.value=c}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}}),n=l;B.exports=n},"0HBW":function(B,N,i){var y=i("ProS"),m=i("bYtY");i("Hxpc"),i("7uqq"),i("dmGj"),i("SehX");function E(p,v){v.update="updateView",y.registerAction(v,function(f,d){var l={};return d.eachComponent({mainType:"geo",query:f},function(n){n[p](f.name);var t=n.coordinateSystem;m.each(t.regions,function(a){l[a.name]=n.isSelected(a.name)||!1})}),{selected:l,name:f.name}})}E("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),E("select",{type:"geoSelect",event:"geoselected"}),E("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(B,N,i){var y=i("bYtY"),m=i("+TT/"),E=i("OELB"),p=i("IDmD"),v=864e5;function f(n,t,a){this._model=n}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(n){n=E.parseDate(n);var t=n.getFullYear(),a=n.getMonth()+1;a=a<10?"0"+a:a;var o=n.getDate();o=o<10?"0"+o:o;var r=n.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:t,m:a,d:o,day:r,time:n.getTime(),formatedDate:t+"-"+a+"-"+o,date:n}},getNextNDay:function(n,t){return t=t||0,t===0?this.getDateInfo(n):(n=new Date(this.getDateInfo(n).time),n.setDate(n.getDate()+t),this.getDateInfo(n))},update:function(n,t){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 a=this._rangeInfo.weeks||1,o=["width","height"],r=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[a,7]:[7,a];y.each([0,1],function(g){h(r,g)&&(c[o[g]]=r[g]*e[g])});var s={width:t.getWidth(),height:t.getHeight()},u=this._rect=m.getLayoutRect(c,s);y.each([0,1],function(g){h(r,g)||(r[g]=u[o[g]]/e[g])});function h(g,A){return g[A]!=null&&g[A]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(n,t){y.isArray(n)&&(n=n[0]),t==null&&(t=!0);var a=this.getDateInfo(n),o=this._rangeInfo,r=a.formatedDate;if(t&&!(a.time>=o.start.time&&a.time<o.end.time+v))return[NaN,NaN];var c=a.day,e=this._getRangeInfo([o.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+c*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+c*this._sh+this._sh/2]},pointToData:function(n){var t=this.pointToDate(n);return t&&t.time},dataToRect:function(n,t){var a=this.dataToPoint(n,t);return{contentShape:{x:a[0]-(this._sw-this._lineWidth)/2,y:a[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:a,tl:[a[0]-this._sw/2,a[1]-this._sh/2],tr:[a[0]+this._sw/2,a[1]-this._sh/2],br:[a[0]+this._sw/2,a[1]+this._sh/2],bl:[a[0]-this._sw/2,a[1]+this._sh/2]}},pointToDate:function(n){var t=Math.floor((n[0]-this._rect.x)/this._sw)+1,a=Math.floor((n[1]-this._rect.y)/this._sh)+1,o=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(a,t-1,o):this._getDateByWeeksAndDay(t,a-1,o)},convertToPixel:y.curry(d,"dataToPoint"),convertFromPixel:y.curry(d,"pointToData"),_initRangeOption:function(){var n=this._model.get("range"),t=n;if(y.isArray(t)&&t.length===1&&(t=t[0]),/^\d{4}$/.test(t)&&(n=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var a=this.getDateInfo(t),o=a.date;o.setMonth(o.getMonth()+1);var r=this.getNextNDay(o,-1);n=[a.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(n=[t,t]);var c=this._getRangeInfo(n);return c.start.time>c.end.time&&n.reverse(),n},_getRangeInfo:function(n){n=[this.getDateInfo(n[0]),this.getDateInfo(n[1])];var t;n[0].time>n[1].time&&(t=!0,n.reverse());var a=Math.floor(n[1].time/v)-Math.floor(n[0].time/v)+1,o=new Date(n[0].time),r=o.getDate(),c=n[1].date.getDate();o.setDate(r+a-1);var e=o.getDate();if(e!==c)for(var s=o.getTime()-n[1].time>0?1:-1;(e=o.getDate())!==c&&(o.getTime()-n[1].time)*s>0;)a-=s,o.setDate(e-s);var u=Math.floor((a+n[0].day+6)/7),h=t?-u+1:u-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},_getDateByWeeksAndDay:function(n,t,a){var o=this._getRangeInfo(a);if(n>o.weeks||n===0&&t<o.fweek||n===o.weeks&&t>o.lweek)return!1;var r=(n-1)*7-o.fweek+t,c=new Date(o.start.time);return c.setDate(o.start.d+r),this.getDateInfo(c)}},f.dimensions=f.prototype.dimensions,f.getDimensionsInfo=f.prototype.getDimensionsInfo,f.create=function(n,t){var a=[];return n.eachComponent("calendar",function(o){var r=new f(o,n,t);a.push(r),o.coordinateSystem=r}),n.eachSeries(function(o){o.get("coordinateSystem")==="calendar"&&(o.coordinateSystem=a[o.get("calendarIndex")||0])}),a};function d(n,t,a,o){var r=a.calendarModel,c=a.seriesModel,e=r?r.coordinateSystem:c?c.coordinateSystem:null;return e===this?e[n](o):null}p.register("calendar",f);var l=f;B.exports=l},"0JQy":function(B,N){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="["+i+"]",d="["+p+"]",l="\\ud83c[\\udffb-\\udfff]",n="(?:"+d+"|"+l+")",t="[^"+i+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",c=n+"?",e="["+v+"]?",s="(?:"+r+"(?:"+[t,a,o].join("|")+")"+e+c+")*",u=e+c+s,h="(?:"+[t+d+"?",d,a,o,f].join("|")+")",g=RegExp(l+"(?="+l+")|"+h+u,"g");function A(w){return w.match(g)||[]}B.exports=A},"0NbB":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CaretDownOutlined";var d=N.a=m.forwardRef(f)},"0V0F":function(B,N,i){var y=i("bYtY"),m=y.createHashMap,E=y.each;function p(f){var d=m();f.eachSeries(function(l){var n=l.get("stack");if(n){var t=d.get(n)||d.set(n,[]),a=l.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:l};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;t.length&&a.setCalculationInfo("stackedOnSeries",t[t.length-1].seriesModel),t.push(o)}}),d.each(v)}function v(f){E(f,function(d,l){var n=[],t=[NaN,NaN],a=[d.stackResultDimension,d.stackedOverDimension],o=d.data,r=d.isStackedByIndex,c=o.map(a,function(e,s,u){var h=o.get(d.stackedDimension,u);if(isNaN(h))return t;var g,A;r?A=o.getRawIndex(u):g=o.get(d.stackedByDimension,u);for(var w=NaN,b=l-1;b>=0;b--){var S=f[b];if(r||(A=S.data.rawIndexOf(S.stackedByDimension,g)),A>=0){var _=S.data.getByRawIndex(S.stackResultDimension,A);if(h>=0&&_>0||h<=0&&_<0){h+=_,w=_;break}}}return n[0]=h,n[1]=w,n});o.hostModel.setData(c),d.data=c})}B.exports=p},"0XgM":function(B,N,i){},"0fbx":function(B,N,i){},"0o9m":function(B,N,i){var y=i("ProS");i("hNWo"),i("RlCK"),i("XpcN");var m=i("kDyi"),E=i("bLfw");y.registerProcessor(y.PRIORITY.PROCESSOR.SERIES_FILTER,m),E.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(B,N,i){var y=i("ProS");y.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),y.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(B,N){var i=arguments[3],y=arguments[4],m=arguments[5],E=JSON.stringify;B.exports=function(p,v){for(var f,d=Object.keys(m),l=0,n=d.length;l<n;l++){var t=d[l],a=m[t].exports;if(a===p||a&&a.default===p){f=t;break}}if(!f){f=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var o={},l=0,n=d.length;l<n;l++){var t=d[l];o[t]=t}y[f]=["function(require,module,exports){"+p+"(self); }",o]}var r=Math.floor(Math.pow(16,8)*Math.random()).toString(16),c={};c[f]=f,y[r]=["function(require,module,exports){var f = require("+E(f)+");(f.default ? f.default : f)(self);}",c];var e={};s(r);function s(b){e[b]=!0;for(var S in y[b][1]){var _=y[b][1][S];e[_]||s(_)}}var u="("+i+")({"+Object.keys(e).map(function(b){return E(b)+":["+y[b][0]+","+E(y[b][1])+"]"}).join(",")+"},{},["+E(r)+"])",h=window.URL||window.webkitURL||window.mozURL||window.msURL,g=new Blob([u],{type:"text/javascript"});if(v&&v.bare)return g;var A=h.createObjectURL(g),w=new Worker(A);return w.objectURL=A,w}},"0s+r":function(B,N,i){var y=i("bYtY"),m=i("QBsz"),E=i("y23F"),p=i("H6uX"),v=i("YH21"),f=i("C0SR"),d="silent";function l(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:n}}function n(){v.stop(this.event)}function t(){}t.prototype.dispose=function(){};var a=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],o=function(u,h,g,A){p.call(this),this.storage=u,this.painter=h,this.painterRoot=A,g=g||new t,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,E.call(this),this.setHandlerProxy(g)};o.prototype={constructor:o,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(y.each(a,function(h){u.on&&u.on(h,this[h],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var h=u.zrX,g=u.zrY,A=c(this,h,g),w=this._hovered,b=w.target;b&&!b.__zr&&(w=this.findHover(w.x,w.y),b=w.target);var S=this._hovered=A?{x:h,y:g}:this.findHover(h,g),_=S.target,T=this.proxy;T.setCursor&&T.setCursor(_?_.cursor:"default"),b&&_!==b&&this.dispatchToElement(w,"mouseout",u),this.dispatchToElement(S,"mousemove",u),_&&_!==b&&this.dispatchToElement(S,"mouseover",u)},mouseout:function(u){var h=u.zrEventControl,g=u.zrIsToLocalDOM;h!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),h!=="no_globalout"&&(!g&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,h){var g=this[u];g&&g.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,g){u=u||{};var A=u.target;if(A&&A.silent)return;for(var w="on"+h,b=l(h,u,g);A&&!(A[w]&&(b.cancelBubble=A[w].call(A,b)),A.trigger(h,b),A=A.parent,b.cancelBubble););b.cancelBubble||(this.trigger(h,b),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[w]=="function"&&S[w].call(S,b),S.trigger&&S.trigger(h,b)}))},findHover:function(u,h,g){for(var A=this.storage.getDisplayList(),w={x:u,y:h},b=A.length-1;b>=0;b--){var S;if(A[b]!==g&&!A[b].ignore&&(S=r(A[b],u,h))&&(!w.topTarget&&(w.topTarget=A[b]),S!==d)){w.target=A[b];break}}return w},processGesture:function(u,h){this._gestureMgr||(this._gestureMgr=new f);var g=this._gestureMgr;h==="start"&&g.clear();var A=g.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(h==="end"&&g.clear(),A){var w=A.type;u.gestureEvent=w,this.dispatchToElement({target:A.target},w,A.event)}}},y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){o.prototype[s]=function(u){var h=u.zrX,g=u.zrY,A=c(this,h,g),w,b;if((s!=="mouseup"||!A)&&(w=this.findHover(h,g),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||m.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 g=s,A;g;){if(g.clipPath&&!g.clipPath.contain(u,h))return!1;g.silent&&(A=!0),g=g.parent}return A?d:!0}return!1}function c(s,u,h){var g=s.painter;return u<0||u>g.getWidth()||h<0||h>g.getHeight()}y.mixin(o,p),y.mixin(o,E);var e=o;B.exports=e},"10cm":function(B,N,i){var y=i("ProS"),m=i("2B6p"),E=m.updateCenterAndZoom;i("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};y.registerAction(p,function(v,f){f.eachComponent({mainType:"series",query:v},function(d){var l=d.coordinateSystem,n=E(l,v);d.setCenter&&d.setCenter(n.center),d.setZoom&&d.setZoom(n.zoom)})})},"15/o":function(B,N,i){},"19Vz":function(B,N,i){(function(y){y(i("VrN/"))})(function(y){y.defineOption("placeholder","",function(l,n,t){var a=t&&t!=y.Init;if(n&&!a)l.on("blur",v),l.on("change",f),l.on("swapDoc",f),y.on(l.getInputField(),"compositionupdate",l.state.placeholderCompose=function(){p(l)}),f(l);else if(!n&&a){l.off("blur",v),l.off("change",f),l.off("swapDoc",f),y.off(l.getInputField(),"compositionupdate",l.state.placeholderCompose),m(l);var o=l.getWrapperElement();o.className=o.className.replace(" CodeMirror-empty","")}n&&!l.hasFocus()&&v(l)});function m(l){l.state.placeholder&&(l.state.placeholder.parentNode.removeChild(l.state.placeholder),l.state.placeholder=null)}function E(l){m(l);var n=l.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=l.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var t=l.getOption("placeholder");typeof t=="string"&&(t=document.createTextNode(t)),n.appendChild(t),l.display.lineSpace.insertBefore(n,l.display.lineSpace.firstChild)}function p(l){setTimeout(function(){var n=!1,t=l.getInputField();t.nodeName=="TEXTAREA"?n=!t.value:l.lineCount()==1&&(n=!/[^\u200b]/.test(t.querySelector(".CodeMirror-line").textContent)),n?E(l):m(l)},20)}function v(l){d(l)&&E(l)}function f(l){var n=l.getWrapperElement(),t=d(l);n.className=n.className.replace(" CodeMirror-empty","")+(t?" CodeMirror-empty":""),t?E(l):m(l)}function d(l){return l.lineCount()===1&&l.getLine(0)===""}})},"1Jh7":function(B,N,i){var y=i("y+Vt"),m=i("T6xi"),E=y.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,f){m.buildPath(v,f,!1)}});B.exports=E},"1LEl":function(B,N,i){var y=i("ProS"),m=i("F9bG"),E=y.extendComponentView({type:"axisPointer",render:function(v,f,d){var l=f.getComponent("tooltip"),n=v.get("triggerOn")||l&&l.get("triggerOn")||"mousemove|click";m.register("axisPointer",d,function(t,a,o){n!=="none"&&(t==="leave"||n.indexOf(t)>=0)&&o({type:"updateAxisPointer",currTrigger:t,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(v,f){m.unregister(f.getZr(),"axisPointer"),E.superApply(this._model,"remove",arguments)},dispose:function(v,f){m.unregister("axisPointer",f),E.superApply(this._model,"dispose",arguments)}}),p=E;B.exports=p},"1MYJ":function(B,N,i){var y=i("y+Vt"),m=y.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,v=this.shape.paths,f=0;f<v.length;f++)p=p||v[f].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],v=this.getGlobalScale(),f=0;f<p.length;f++)p[f].path||p[f].createPathProxy(),p[f].path.setScale(v[0],v[1],p[f].segmentIgnoreThreshold)},buildPath:function(p,v){for(var f=v.paths||[],d=0;d<f.length;d++)f[d].buildPath(p,f[d].shape,!0)},afterBrush:function(){for(var p=this.shape.paths||[],v=0;v<p.length;v++)p[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),y.prototype.getBoundingRect.call(this)}});B.exports=m},"1NG9":function(B,N,i){var y=i("y+Vt"),m=i("QBsz"),E=i("iXp4"),p=m.min,v=m.max,f=m.scaleAndAdd,d=m.copy,l=[],n=[],t=[];function a(h){return isNaN(h[0])||isNaN(h[1])}function o(h,g,A,w,b,S,_,T,x,C,I){return C==="none"||!C?c.apply(this,arguments):r.apply(this,arguments)}function r(h,g,A,w,b,S,_,T,x,C,I){for(var L=0,M=A,k=0;k<w;k++){var R=g[M];if(M>=b||M<0)break;if(a(R)){if(I){M+=S;continue}break}if(M===A)h[S>0?"moveTo":"lineTo"](R[0],R[1]);else if(x>0){var j=g[L],V=C==="y"?1:0,D=(R[V]-j[V])*x;d(n,j),n[V]=j[V]+D,d(t,R),t[V]=R[V]-D,h.bezierCurveTo(n[0],n[1],t[0],t[1],R[0],R[1])}else h.lineTo(R[0],R[1]);L=M,M+=S}return k}function c(h,g,A,w,b,S,_,T,x,C,I){for(var L=0,M=A,k=0;k<w;k++){var R=g[M];if(M>=b||M<0)break;if(a(R)){if(I){M+=S;continue}break}if(M===A)h[S>0?"moveTo":"lineTo"](R[0],R[1]),d(n,R);else if(x>0){var j=M+S,V=g[j];if(I)for(;V&&a(g[j]);)j+=S,V=g[j];var D=.5,H=g[L],V=g[j];if(!V||a(V))d(t,R);else{a(V)&&!I&&(V=R),m.sub(l,V,H);var P,K;if(C==="x"||C==="y"){var U=C==="x"?0:1;P=Math.abs(R[U]-H[U]),K=Math.abs(R[U]-V[U])}else P=m.dist(R,H),K=m.dist(R,V);D=K/(K+P),f(t,R,l,-x*(1-D))}p(n,n,T),v(n,n,_),p(t,t,T),v(t,t,_),h.bezierCurveTo(n[0],n[1],t[0],t[1],R[0],R[1]),f(n,R,l,x*D)}else h.lineTo(R[0],R[1]);L=M,M+=S}return k}function e(h,g){var A=[Infinity,Infinity],w=[-Infinity,-Infinity];if(g)for(var b=0;b<h.length;b++){var S=h[b];S[0]<A[0]&&(A[0]=S[0]),S[1]<A[1]&&(A[1]=S[1]),S[0]>w[0]&&(w[0]=S[0]),S[1]>w[1]&&(w[1]=S[1])}return{min:g?A:w,max:g?w:A}}var s=y.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:E(y.prototype.brush),buildPath:function(h,g){var A=g.points,w=0,b=A.length,S=e(A,g.smoothConstraint);if(g.connectNulls){for(;b>0&&a(A[b-1]);b--);for(;w<b&&a(A[w]);w++);}for(;w<b;)w+=o(h,A,w,b,b,1,S.min,S.max,g.smooth,g.smoothMonotone,g.connectNulls)+1}}),u=y.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:E(y.prototype.brush),buildPath:function(h,g){var A=g.points,w=g.stackedOnPoints,b=0,S=A.length,_=g.smoothMonotone,T=e(A,g.smoothConstraint),x=e(w,g.smoothConstraint);if(g.connectNulls){for(;S>0&&a(A[S-1]);S--);for(;b<S&&a(A[b]);b++);}for(;b<S;){var C=o(h,A,b,S,S,1,T.min,T.max,g.smooth,_,g.connectNulls);o(h,w,b+C-1,C,S,-1,x.min,x.max,g.stackedOnSmooth,_,g.connectNulls),b+=C+1,h.closePath()}}});N.Polyline=s,N.Polygon=u},"1RvN":function(B,N){var i=function(){this.head=null,this.tail=null,this._len=0},y=i.prototype;y.insert=function(f){var d=new m(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,l=f.next;d?d.next=l:this.head=l,l?l.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 m=function(d){this.value=d,this.next,this.prev},E=function(d){this._list=new i,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},p=E.prototype;p.put=function(f,d){var l=this._list,n=this._map,t=null;if(n[f]==null){var a=l.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var r=l.head;l.remove(r),delete n[r.key],t=r.value,this._lastRemovedEntry=r}o?o.value=d:o=new m(d),o.key=f,l.insertEntry(o),n[f]=o}return t},p.get=function(f){var d=this._map[f],l=this._list;if(d!=null)return d!==l.tail&&(l.remove(d),l.insertEntry(d)),d.value},p.clear=function(){this._list.clear(),this._map={}};var v=E;B.exports=v},"1bdT":function(B,N,i){var y=i("3gBT"),m=i("H6uX"),E=i("DN4a"),p=i("vWvF"),v=i("bYtY"),f=function(n){E.call(this,n),m.call(this,n),p.call(this,n),this.id=n.id||y()};f.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(n,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":n=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=n,a[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(n,t){},attrKV:function(n,t){if(n==="position"||n==="scale"||n==="origin"){if(t){var a=this[n];a||(a=this[n]=[]),a[0]=t[0],a[1]=t[1]}}else this[n]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(n,t){if(typeof n=="string")this.attrKV(n,t);else if(v.isObject(n))for(var a in n)n.hasOwnProperty(a)&&this.attrKV(a,n[a]);return this.dirty(!1),this},setClipPath:function(n){var t=this.__zr;t&&n.addSelfToZr(t),this.clipPath&&this.clipPath!==n&&this.removeClipPath(),this.clipPath=n,n.__zr=t,n.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var n=this.clipPath;n&&(n.__zr&&n.removeSelfFromZr(n.__zr),n.__zr=null,n.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(n){this.__zr=n;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.addAnimator(t[a]);this.clipPath&&this.clipPath.addSelfToZr(n)},removeSelfFromZr:function(n){this.__zr=null;var t=this.animators;if(t)for(var a=0;a<t.length;a++)n.animation.removeAnimator(t[a]);this.clipPath&&this.clipPath.removeSelfFromZr(n)}},v.mixin(f,p),v.mixin(f,E),v.mixin(f,m);var d=f;B.exports=d},"1dTM":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=i("GQ8N"),m=C(i("Lo0S")),E=i("VSMT"),p=i("GdRQ"),v=i("SZEN"),f=i("vewr"),d=T(i("YJ9k")),l=T(i("MZdM")),n=T(i("ItS6")),t=T(i("whVF")),a=T(i("Fv0C")),o=T(i("LCi9")),r=T(i("rwxt")),c=T(i("Mmt2")),e=T(i("iUHT")),s=T(i("mHUz")),u=T(i("P2ho")),h=i("NBmB");i("mdZa");var g=T(i("34/K")),A=T(i("hXwI")),w=T(i("SgaC")),b=T(i("3690")),S=T(i("8K/p")),_=T(i("xO64"));function T(pe){return pe&&pe.__esModule?pe:{default:pe}}function x(){if(typeof WeakMap!="function")return null;var pe=new WeakMap;return x=function(){return pe},pe}function C(pe){if(pe&&pe.__esModule)return pe;if(pe===null||I(pe)!=="object"&&typeof pe!="function")return{default:pe};var se=x();if(se&&se.has(pe))return se.get(pe);var Te={},Se=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ie in pe)if(Object.prototype.hasOwnProperty.call(pe,ie)){var de=Se?Object.getOwnPropertyDescriptor(pe,ie):null;de&&(de.get||de.set)?Object.defineProperty(Te,ie,de):Te[ie]=pe[ie]}return Te.default=pe,se&&se.set(pe,Te),Te}function I(pe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Te){return typeof Te}:I=function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},I(pe)}function L(pe,se){if(!(pe instanceof se))throw new TypeError("Cannot call a class as a function")}function M(pe,se){for(var Te=0;Te<se.length;Te++){var Se=se[Te];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(pe,Se.key,Se)}}function k(pe,se,Te){return se&&M(pe.prototype,se),Te&&M(pe,Te),pe}function R(pe,se){if(typeof se!="function"&&se!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(se&&se.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),se&&j(pe,se)}function j(pe,se){return j=Object.setPrototypeOf||function(Se,ie){return Se.__proto__=ie,Se},j(pe,se)}function V(pe){var se=P();return function(){var Se=K(pe),ie;if(se){var de=K(this).constructor;ie=Reflect.construct(Se,arguments,de)}else ie=Se.apply(this,arguments);return D(this,ie)}}function D(pe,se){return se&&(I(se)==="object"||typeof se=="function")?se:H(pe)}function H(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}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(pe){return!1}}function K(pe){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(Te){return Te.__proto__||Object.getPrototypeOf(Te)},K(pe)}var U=3,G="rgb(40, 40, 40)",W=17,Z=50,J=19,ve=75,q=50,ce=1e3,be=50,Ce=1,Fe=1<<1,fe=1<<2,Ne=1<<3,Q=1<<4,ae=1<<24,Ue=1<<25,te=1<<26,X=1<<27,z=1<<28,Y=function(pe){R(Te,pe);var se=V(Te);function Te(Se,ie,de){var _e;if(L(this,Te),!Se)throw new Error("Must specify target");if(!ie)throw new Error("Must specify URL");_e=se.call(this),_e._target=Se,_e._url=ie,de=de||{},_e._rfbCredentials=de.credentials||{},_e._shared="shared"in de?!!de.shared:!0,_e._repeaterID=de.repeaterID||"",_e._wsProtocols=de.wsProtocols||[],_e._rfbConnectionState="",_e._rfbInitState="",_e._rfbAuthScheme=-1,_e._rfbCleanDisconnect=!0,_e._rfbVersion=0,_e._rfbMaxVersion=3.8,_e._rfbTightVNC=!1,_e._rfbVeNCryptState=0,_e._rfbXvpVer=0,_e._fbWidth=0,_e._fbHeight=0,_e._fbName="",_e._capabilities={power:!1},_e._supportsFence=!1,_e._supportsContinuousUpdates=!1,_e._enabledContinuousUpdates=!1,_e._supportsSetDesktopSize=!1,_e._screenID=0,_e._screenFlags=0,_e._qemuExtKeyEventSupported=!1,_e._clipboardText=null,_e._clipboardServerCapabilitiesActions={},_e._clipboardServerCapabilitiesFormats={},_e._sock=null,_e._display=null,_e._flushing=!1,_e._keyboard=null,_e._gestures=null,_e._disconnTimer=null,_e._resizeTimeout=null,_e._mouseMoveTimer=null,_e._decoders={},_e._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},_e._mousePos={},_e._mouseButtonMask=0,_e._mouseLastMoveTime=0,_e._viewportDragging=!1,_e._viewportDragPos={},_e._viewportHasMoved=!1,_e._accumulatedWheelDeltaX=0,_e._accumulatedWheelDeltaY=0,_e._gestureLastTapTime=null,_e._gestureFirstDoubleTapEv=null,_e._gestureLastMagnitudeX=0,_e._gestureLastMagnitudeY=0,_e._eventHandlers={focusCanvas:_e._focusCanvas.bind(H(_e)),windowResize:_e._windowResize.bind(H(_e)),handleMouse:_e._handleMouse.bind(H(_e)),handleWheel:_e._handleWheel.bind(H(_e)),handleGesture:_e._handleGesture.bind(H(_e))},m.Debug(">> RFB.constructor"),_e._screen=document.createElement("div"),_e._screen.style.display="flex",_e._screen.style.width="100%",_e._screen.style.height="100%",_e._screen.style.overflow="auto",_e._screen.style.background=G,_e._canvas=document.createElement("canvas"),_e._canvas.style.margin="auto",_e._canvas.style.outline="none",_e._canvas.style.flexShrink="0",_e._canvas.width=0,_e._canvas.height=0,_e._canvas.tabIndex=-1,_e._screen.appendChild(_e._canvas),_e._cursor=new r.default,_e._cursorImage=Te.cursors.none,_e._decoders[h.encodings.encodingRaw]=new g.default,_e._decoders[h.encodings.encodingCopyRect]=new A.default,_e._decoders[h.encodings.encodingRRE]=new w.default,_e._decoders[h.encodings.encodingHextile]=new b.default,_e._decoders[h.encodings.encodingTight]=new S.default,_e._decoders[h.encodings.encodingTightPNG]=new _.default;try{_e._display=new l.default(_e._canvas)}catch(We){throw m.Error("Display exception: "+We),We}return _e._display.onflush=_e._onFlush.bind(H(_e)),_e._keyboard=new a.default(_e._canvas),_e._keyboard.onkeyevent=_e._handleKeyEvent.bind(H(_e)),_e._gestures=new o.default,_e._sock=new c.default,_e._sock.on("message",function(){_e._handleMessage()}),_e._sock.on("open",function(){_e._rfbConnectionState==="connecting"&&_e._rfbInitState===""?(_e._rfbInitState="ProtocolVersion",m.Debug("Starting VNC handshake")):_e._fail("Unexpected server connection while "+_e._rfbConnectionState)}),_e._sock.on("close",function(We){m.Debug("WebSocket on-close event");var at="";We.code&&(at="(code: "+We.code,We.reason&&(at+=", reason: "+We.reason),at+=")");switch(_e._rfbConnectionState){case"connecting":_e._fail("Connection closed "+at);break;case"connected":_e._updateConnectionState("disconnecting"),_e._updateConnectionState("disconnected");break;case"disconnecting":_e._updateConnectionState("disconnected");break;case"disconnected":_e._fail("Unexpected server disconnect when already disconnected "+at);break;default:_e._fail("Unexpected server disconnect before connecting "+at);break}_e._sock.off("close")}),_e._sock.on("error",function(We){return m.Warn("WebSocket on-error event")}),setTimeout(_e._updateConnectionState.bind(H(_e),"connecting")),m.Debug("<< RFB.constructor"),_e.dragViewport=!1,_e.focusOnClick=!0,_e._viewOnly=!1,_e._clipViewport=!1,_e._scaleViewport=!1,_e._resizeSession=!1,_e._showDotCursor=!1,de.showDotCursor!==void 0&&(m.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),_e._showDotCursor=de.showDotCursor),_e._qualityLevel=6,_e._compressionLevel=2,_e}return k(Te,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(ie){this._rfbCredentials=ie,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;m.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(ie,de,_e){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(_e===void 0){this.sendKey(ie,de,!0),this.sendKey(ie,de,!1);return}var We=u.default[de];if(this._qemuExtKeyEventSupported&&We)ie=ie||0,m.Info("Sending key ("+(_e?"down":"up")+"): keysym "+ie+", scancode "+We),Te.messages.QEMUExtendedKeyEvent(this._sock,ie,_e,We);else{if(!ie)return;m.Info("Sending keysym ("+(_e?"down":"up")+"): "+ie),Te.messages.keyEvent(this._sock,ie,_e?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ie){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Ce]&&this._clipboardServerCapabilitiesActions[X])this._clipboardText=ie,Te.messages.extendedClipboardNotify(this._sock,[Ce]);else{for(var de=new Uint8Array(ie.length),_e=0;_e<ie.length;_e++)de[_e]=ie.charCodeAt(_e);Te.messages.clientCutText(this._sock,de)}}},{key:"_connect",value:function(){m.Debug(">> RFB.connect"),m.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ie){ie.name==="SyntaxError"?this._fail("Invalid host or port ("+ie+")"):this._fail("Error when opening socket ("+ie+")")}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),m.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){m.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(ie){if(!(ie.name==="NotFoundError"))throw ie}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),m.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ie){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ie){this._fbName=ie,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ie){var de=this;window.requestAnimationFrame(function(){de._updateClip(),de._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ie=this._display.clipViewport,de=this._clipViewport;if(this._scaleViewport&&(de=!1),ie!==de&&(this._display.clipViewport=de),de){var _e=this._screenSize();this._display.viewportChangeSize(_e.w,_e.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ie=this._screenSize();this._display.autoscale(ie.w,ie.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ie=this._screenSize();Te.messages.setDesktopSize(this._sock,Math.floor(ie.w),Math.floor(ie.h),this._screenID,this._screenFlags),m.Debug("Requested new desktop size: "+ie.w+"x"+ie.h)}},{key:"_screenSize",value:function(){var ie=this._screen.getBoundingClientRect();return{w:ie.width,h:ie.height}}},{key:"_fixScrollbars",value:function(){var ie=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ie}},{key:"_updateConnectionState",value:function(ie){var de=this,_e=this._rfbConnectionState;if(ie===_e){m.Debug("Already in state '"+ie+"', ignoring");return}if(_e==="disconnected"){m.Error("Tried changing state of a disconnected RFB object");return}switch(ie){case"connected":if(_e!=="connecting"){m.Error("Bad transition to connected state, previous connection state: "+_e);return}break;case"disconnected":if(_e!=="disconnecting"){m.Error("Bad transition to disconnected state, previous connection state: "+_e);return}break;case"connecting":if(_e!==""){m.Error("Bad transition to connecting state, previous connection state: "+_e);return}break;case"disconnecting":if(_e!=="connected"&&_e!=="connecting"){m.Error("Bad transition to disconnecting state, previous connection state: "+_e);return}break;default:m.Error("Unknown connection state: "+ie);return}this._rfbConnectionState=ie,m.Debug("New state '"+ie+"', was '"+_e+"'."),this._disconnTimer&&ie!=="disconnecting"&&(m.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ie){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){m.Error("Disconnection timed out."),de._updateConnectionState("disconnected")},U*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ie){switch(this._rfbConnectionState){case"disconnecting":m.Error("Failed when disconnecting: "+ie);break;case"connected":m.Error("Failed while connected: "+ie);break;case"connecting":m.Error("Failed when connecting: "+ie);break;default:m.Error("RFB failure: "+ie);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ie,de){this._capabilities[ie]=de,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){m.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":m.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(ie,de,_e){this.sendKey(ie,de,_e)}},{key:"_handleMouse",value:function(ie){if(ie.type==="click"&&ie.target!==this._canvas)return;if(ie.stopPropagation(),ie.preventDefault(),ie.type==="click"||ie.type==="contextmenu")return;var de=(0,v.clientToElement)(ie.clientX,ie.clientY,this._canvas);switch(ie.type){case"mousedown":(0,f.setCapture)(this._canvas),this._handleMouseButton(de.x,de.y,!0,1<<ie.button);break;case"mouseup":this._handleMouseButton(de.x,de.y,!1,1<<ie.button);break;case"mousemove":this._handleMouseMove(de.x,de.y);break}}},{key:"_handleMouseButton",value:function(ie,de,_e,We){if(this.dragViewport)if(_e&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ie,y:de},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ie,de,We)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ie,de,this._mouseButtonMask)),_e?this._mouseButtonMask|=We:this._mouseButtonMask&=~We,this._sendMouse(ie,de,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ie,de){var _e=this;if(this._viewportDragging){var We=this._viewportDragPos.x-ie,at=this._viewportDragPos.y-de;(this._viewportHasMoved||Math.abs(We)>p.dragThreshold||Math.abs(at)>p.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ie,y:de},this._display.viewportChangePos(We,at));return}if(this._mousePos={x:ie,y:de},this._mouseMoveTimer==null){var tt=Date.now()-this._mouseLastMoveTime;tt>W?(this._sendMouse(ie,de,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){_e._handleDelayedMouseMove()},W-tt)}}},{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(ie,de,_e){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Te.messages.pointerEvent(this._sock,this._display.absX(ie),this._display.absY(de),_e)}},{key:"_handleWheel",value:function(ie){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ie.stopPropagation(),ie.preventDefault();var de=(0,v.clientToElement)(ie.clientX,ie.clientY,this._canvas),_e=ie.deltaX,We=ie.deltaY;ie.deltaMode!==0&&(_e*=J,We*=J),this._accumulatedWheelDeltaX+=_e,this._accumulatedWheelDeltaY+=We,Math.abs(this._accumulatedWheelDeltaX)>=Z&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(de.x,de.y,!0,1<<5),this._handleMouseButton(de.x,de.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(de.x,de.y,!0,1<<6),this._handleMouseButton(de.x,de.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Z&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(de.x,de.y,!0,1<<3),this._handleMouseButton(de.x,de.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(de.x,de.y,!0,1<<4),this._handleMouseButton(de.x,de.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ie,de,_e){this._handleMouseMove(de,_e),this._cursor.move(ie.detail.clientX,ie.detail.clientY)}},{key:"_handleTapEvent",value:function(ie,de){var _e=(0,v.clientToElement)(ie.detail.clientX,ie.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ce&&this._gestureFirstDoubleTapEv.detail.type===ie.detail.type){var We=this._gestureFirstDoubleTapEv.detail.clientX-ie.detail.clientX,at=this._gestureFirstDoubleTapEv.detail.clientY-ie.detail.clientY,tt=Math.hypot(We,at);tt<be?_e=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ie}else this._gestureFirstDoubleTapEv=ie;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,de),this._handleMouseButton(_e.x,_e.y,!1,de)}},{key:"_handleGesture",value:function(ie){var de,_e=(0,v.clientToElement)(ie.detail.clientX,ie.detail.clientY,this._canvas);switch(ie.type){case"gesturestart":switch(ie.detail.type){case"onetap":this._handleTapEvent(ie,1);break;case"twotap":this._handleTapEvent(ie,4);break;case"threetap":this._handleTapEvent(ie,2);break;case"drag":this._fakeMouseMove(ie,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,1);break;case"longpress":this._fakeMouseMove(ie,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ie.detail.magnitudeX,this._gestureLastMagnitudeY=ie.detail.magnitudeY,this._fakeMouseMove(ie,_e.x,_e.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ie.detail.magnitudeX,ie.detail.magnitudeY),this._fakeMouseMove(ie,_e.x,_e.y);break}break;case"gesturemove":switch(ie.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ie,_e.x,_e.y);break;case"twodrag":for(this._fakeMouseMove(ie,_e.x,_e.y);ie.detail.magnitudeY-this._gestureLastMagnitudeY>q;)this._handleMouseButton(_e.x,_e.y,!0,8),this._handleMouseButton(_e.x,_e.y,!1,8),this._gestureLastMagnitudeY+=q;for(;ie.detail.magnitudeY-this._gestureLastMagnitudeY<-q;)this._handleMouseButton(_e.x,_e.y,!0,16),this._handleMouseButton(_e.x,_e.y,!1,16),this._gestureLastMagnitudeY-=q;for(;ie.detail.magnitudeX-this._gestureLastMagnitudeX>q;)this._handleMouseButton(_e.x,_e.y,!0,32),this._handleMouseButton(_e.x,_e.y,!1,32),this._gestureLastMagnitudeX+=q;for(;ie.detail.magnitudeX-this._gestureLastMagnitudeX<-q;)this._handleMouseButton(_e.x,_e.y,!0,64),this._handleMouseButton(_e.x,_e.y,!1,64),this._gestureLastMagnitudeX-=q;break;case"pinch":if(this._fakeMouseMove(ie,_e.x,_e.y),de=Math.hypot(ie.detail.magnitudeX,ie.detail.magnitudeY),Math.abs(de-this._gestureLastMagnitudeX)>ve){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);de-this._gestureLastMagnitudeX>ve;)this._handleMouseButton(_e.x,_e.y,!0,8),this._handleMouseButton(_e.x,_e.y,!1,8),this._gestureLastMagnitudeX+=ve;for(;de-this._gestureLastMagnitudeX<-ve;)this._handleMouseButton(_e.x,_e.y,!0,16),this._handleMouseButton(_e.x,_e.y,!1,16),this._gestureLastMagnitudeX-=ve}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ie.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ie,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!1,1);break;case"longpress":this._fakeMouseMove(ie,_e.x,_e.y),this._handleMouseButton(_e.x,_e.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ie=this._sock.rQshiftStr(12).substr(4,7);m.Info("Server ProtocolVersion: "+ie);var de=0;switch(ie){case"000.000":de=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 "+ie)}if(de){for(var _e="ID:"+this._repeaterID;_e.length<250;)_e+="\0";return this._sock.sendString(_e),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var We="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+We+`
`),m.Debug("Sent ProtocolVersion: "+We),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ie(We,at){for(var tt=0;tt<at.length;tt++)if(at[tt]===We)return!0;return!1}if(this._rfbVersion>=3.7){var de=this._sock.rQshift8();if(this._sock.rQwait("security type",de,1))return!1;if(de===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var _e=this._sock.rQshiftBytes(de);if(m.Debug("Server security types: "+_e),ie(1,_e))this._rfbAuthScheme=1;else if(ie(22,_e))this._rfbAuthScheme=22;else if(ie(16,_e))this._rfbAuthScheme=16;else if(ie(2,_e))this._rfbAuthScheme=2;else if(ie(19,_e))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+_e+")");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",m.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var ie=this._sock.rQshift32(),de="";if(ie>0){if(this._sock.rQwait("reason",ie,4))return!1;de=this._sock.rQshiftStr(ie)}return de!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:de}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+de+")")):(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 ie=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ie),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ie=this._sock.rQshift8(),de=this._sock.rQshift8();if(!(ie==0&&de==2))return this._fail("Unsupported VeNCrypt version "+ie+"."+de);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var _e=this._sock.rQshift8();if(_e!=0)return this._fail("VeNCrypt failure "+_e);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var We=this._sock.rQshift8();if(We<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=We,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var at=[],tt=0;tt<this._rfbVeNCryptSubtypesLength;tt++)at.push(this._sock.rQshift32());if(at.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,E.encodeUTF8)(this._rfbCredentials.username),yt=(0,E.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Oe.length]),this._sock.send([0,0,0,yt.length]),this._sock.sendString(Oe),this._sock.sendString(yt),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 ie=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),de=Te.genDES(this._rfbCredentials.password,ie);return this._sock.send(de),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(ie){for(var de={0:{vendor:"TGHT",signature:"NOTUNNEL"}},_e={},We=0;We<ie;We++){var at=this._sock.rQshift32(),tt=this._sock.rQshiftStr(4),Oe=this._sock.rQshiftStr(8);_e[at]={vendor:tt,signature:Oe}}return m.Debug("Server Tight tunnel types: "+_e),_e[1]&&_e[1].vendor==="SICR"&&_e[1].signature==="SCHANNEL"&&(m.Debug("Detected Siemens server. Assuming NOTUNNEL support."),_e[0]={vendor:"TGHT",signature:"NOTUNNEL"}),_e[0]?_e[0].vendor!=de[0].vendor||_e[0].signature!=de[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(m.Debug("Selected tunnel type: "+de[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 ie=this._sock.rQshift32();if(ie>0&&this._sock.rQwait("tunnel capabilities",16*ie,4))return!1;if(this._rfbTightVNC=!0,ie>0)return this._negotiateTightTunnels(ie),!1}if(this._sock.rQwait("sub auth count",4))return!1;var de=this._sock.rQshift32();if(de===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*de,4))return!1;for(var _e={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},We=[],at=0;at<de;at++){this._sock.rQshift32();var tt=this._sock.rQshiftStr(12);We.push(tt)}m.Debug("Server Tight authentication types: "+We);for(var Oe in _e)if(We.indexOf(Oe)!=-1){this._sock.send([0,0,0,_e[Oe]]),m.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 ie=this._sock.rQshift32();return ie===0?(this._rfbInitState="ClientInitialisation",m.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ie,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ie}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ie=this._sock.rQshift16(),de=this._sock.rQshift16(),_e=this._sock.rQshift8(),We=this._sock.rQshift8(),at=this._sock.rQshift8(),tt=this._sock.rQshift8(),Oe=this._sock.rQshift16(),yt=this._sock.rQshift16(),Ye=this._sock.rQshift16(),bt=this._sock.rQshift8(),Ct=this._sock.rQshift8(),It=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ft=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ft,24))return!1;var Vt=this._sock.rQshiftStr(Ft);if(Vt=(0,E.decodeUTF8)(Vt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ft))return!1;var $e=this._sock.rQshift16(),ge=this._sock.rQshift16(),ne=this._sock.rQshift16();this._sock.rQskipBytes(2);var wt=($e+ge+ne)*16;if(this._sock.rQwait("TightVNC extended server init header",wt,32+Ft))return!1;this._sock.rQskipBytes(16*$e),this._sock.rQskipBytes(16*ge),this._sock.rQskipBytes(16*ne)}return m.Info("Screen: "+ie+"x"+de+", bpp: "+_e+", depth: "+We+", bigEndian: "+at+", trueColor: "+tt+", redMax: "+Oe+", greenMax: "+yt+", blueMax: "+Ye+", redShift: "+bt+", greenShift: "+Ct+", blueShift: "+It),this._setDesktopName(Vt),this._resize(ie,de),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(m.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Te.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Te.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ie=[];ie.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(ie.push(h.encodings.encodingTight),ie.push(h.encodings.encodingTightPNG),ie.push(h.encodings.encodingHextile),ie.push(h.encodings.encodingRRE)),ie.push(h.encodings.encodingRaw),ie.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ie.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ie.push(h.encodings.pseudoEncodingDesktopSize),ie.push(h.encodings.pseudoEncodingLastRect),ie.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),ie.push(h.encodings.pseudoEncodingExtendedDesktopSize),ie.push(h.encodings.pseudoEncodingXvp),ie.push(h.encodings.pseudoEncodingFence),ie.push(h.encodings.pseudoEncodingContinuousUpdates),ie.push(h.encodings.pseudoEncodingDesktopName),ie.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ie.push(h.encodings.pseudoEncodingVMwareCursor),ie.push(h.encodings.pseudoEncodingCursor)),Te.messages.clientEncodings(this._sock,ie)}},{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 m.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(m.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var ie=this._sock.rQshift32();if(ie=(0,y.toSigned32bit)(ie),this._sock.rQwait("ServerCutText content",Math.abs(ie),8))return!1;if(ie>=0){var de=this._sock.rQshiftStr(ie);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:de}}))}else{ie=Math.abs(ie);var _e=this._sock.rQshift32(),We=_e&65535,at=_e&4278190080,tt=!!(at&ae);if(tt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Oe=0;Oe<=15;Oe++){var yt=1<<Oe;We&yt&&(this._clipboardServerCapabilitiesFormats[yt]=!0,this._sock.rQshift32())}for(var Ye=24;Ye<=31;Ye++){var bt=1<<Ye;this._clipboardServerCapabilitiesActions[bt]=!!(at&bt)}var Ct=[ae,Ue,te,X,z];Te.messages.extendedClipboardCaps(this._sock,Ct,{extendedClipboardFormatText:0})}else if(at===Ue){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[z]&&(We&Ce&&Te.messages.extendedClipboardProvide(this._sock,[Ce],[this._clipboardText]))}else if(at===te){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[X]&&(this._clipboardText!=null?Te.messages.extendedClipboardNotify(this._sock,[Ce]):Te.messages.extendedClipboardNotify(this._sock,[]))}else if(at===X){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ue]&&(We&Ce&&Te.messages.extendedClipboardRequest(this._sock,[Ce]))}else if(at===z){if(this._viewOnly)return!0;if(!(We&Ce))return!0;this._clipboardText=null;var It=this._sock.rQshiftBytes(ie-4),Ft=new n.default,Vt=null;Ft.setInput(It);for(var $e=0;$e<=15;$e++){var ge=1<<$e;if(We&ge){var ne=0,wt=Ft.inflate(4);ne|=wt[0]<<24,ne|=wt[1]<<16,ne|=wt[2]<<8,ne|=wt[3];var qe=Ft.inflate(ne);ge===Ce&&(Vt=qe)}}if(Ft.setInput(null),Vt!==null){for(var he="",kt=0;kt<Vt.length;kt++)he+=String.fromCharCode(Vt[kt]);Vt=he,Vt=(0,E.decodeUTF8)(Vt),Vt.length>0&&Vt.charAt(Vt.length-1)==="\0"&&(Vt=Vt.slice(0,-1)),Vt=Vt.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Vt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+at)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ie=this._sock.rQshift32(),de=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",de,9))return!1;de>64&&(m.Warn("Bad payload length ("+de+") in fence response"),de=64);var _e=this._sock.rQshiftStr(de);return this._supportsFence=!0,ie&1<<31?(ie&=1<<0|1<<1,Te.messages.clientFence(this._sock,ie,_e),!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 ie=this._sock.rQshift8(),de=this._sock.rQshift8();switch(de){case 0:m.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ie,m.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+de+")");break}return!0}},{key:"_normalMsg",value:function(){var ie;this._FBU.rects>0?ie=0:ie=this._sock.rQshift8();var de,_e;switch(ie){case 0:return _e=this._framebufferUpdate(),_e&&!this._enabledContinuousUpdates&&Te.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),_e;case 1:return this._handleSetColourMapMsg();case 2:return m.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return de=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,de&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),m.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+ie+")"),m.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 ie=this._sock.rQshiftBytes(12);this._FBU.x=(ie[0]<<8)+ie[1],this._FBU.y=(ie[2]<<8)+ie[3],this._FBU.width=(ie[4]<<8)+ie[5],this._FBU.height=(ie[6]<<8)+ie[7],this._FBU.encoding=parseInt((ie[8]<<24)+(ie[9]<<16)+(ie[10]<<8)+ie[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 ie=document.createEvent("keyboardEvent");ie.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(de){}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 ie=this._FBU.x,de=this._FBU.y,_e=this._FBU.width,We=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var at=this._sock.rQshift8();this._sock.rQshift8();var tt,Oe=4;if(at==0){var yt=4294967040|0;if(tt=new Array(_e*We*Oe),this._sock.rQwait("VMware cursor classic encoding",_e*We*Oe*2,2))return!1;for(var Ye=new Array(_e*We),bt=0;bt<_e*We;bt++)Ye[bt]=this._sock.rQshift32();for(var Ct=new Array(_e*We),It=0;It<_e*We;It++)Ct[It]=this._sock.rQshift32();for(var Ft=0;Ft<_e*We;Ft++)if(Ye[Ft]==0){var Vt=Ct[Ft],$e=Vt>>8&255,ge=Vt>>16&255,ne=Vt>>24&255;tt[Ft*Oe]=$e,tt[Ft*Oe+1]=ge,tt[Ft*Oe+2]=ne,tt[Ft*Oe+3]=255}else(Ye[Ft]&yt)==yt?Ct[Ft]==0?(tt[Ft*Oe]=0,tt[Ft*Oe+1]=0,tt[Ft*Oe+2]=0,tt[Ft*Oe+3]=0):((Ct[Ft]&yt)==yt,tt[Ft*Oe]=0,tt[Ft*Oe+1]=0,tt[Ft*Oe+2]=0,tt[Ft*Oe+3]=255):(tt[Ft*Oe]=0,tt[Ft*Oe+1]=0,tt[Ft*Oe+2]=0,tt[Ft*Oe+3]=255)}else if(at==1){if(this._sock.rQwait("VMware cursor alpha encoding",_e*We*4,2))return!1;tt=new Array(_e*We*Oe);for(var wt=0;wt<_e*We;wt++){var qe=this._sock.rQshift32();tt[wt*4]=qe>>24&255,tt[wt*4+1]=qe>>16&255,tt[wt*4+2]=qe>>8&255,tt[wt*4+3]=qe&255}}else return m.Warn("The given cursor type is not supported: "+at+" given."),!1;return this._updateCursor(tt,ie,de,_e,We),!0}},{key:"_handleCursor",value:function(){var ie=this._FBU.x,de=this._FBU.y,_e=this._FBU.width,We=this._FBU.height,at=_e*We*4,tt=Math.ceil(_e/8)*We,Oe=at+tt;if(this._sock.rQwait("cursor encoding",Oe))return!1;for(var yt=this._sock.rQshiftBytes(at),Ye=this._sock.rQshiftBytes(tt),bt=new Uint8Array(_e*We*4),Ct=0,It=0;It<We;It++)for(var Ft=0;Ft<_e;Ft++){var Vt=It*Math.ceil(_e/8)+Math.floor(Ft/8),$e=Ye[Vt]<<Ft%8&128?255:0;bt[Ct]=yt[Ct+2],bt[Ct+1]=yt[Ct+1],bt[Ct+2]=yt[Ct],bt[Ct+3]=$e,Ct+=4}return this._updateCursor(bt,ie,de,_e,We),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ie=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ie,4))return!1;var de=this._sock.rQshiftStr(ie);return de=(0,E.decodeUTF8)(de,!0),this._setDesktopName(de),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ie=this._sock.rQpeek8(),de=4+ie*16;if(this._sock.rQwait("ExtendedDesktopSize",de))return!1;var _e=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,_e&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var We=0;We<ie;We+=1)We===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 at="";switch(this._FBU.y){case 1:at="Resize is administratively prohibited";break;case 2:at="Out of resources";break;case 3:at="Invalid screen layout";break;default:at="Unknown reason";break}m.Warn("Server did not accept the resize request: "+at)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ie=this._decoders[this._FBU.encoding];if(!ie)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ie.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(de){return this._fail("Error decoding rect: "+de),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Te.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ie,de){this._fbWidth=ie,this._fbHeight=de,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ie,de){if(this._rfbXvpVer<ie)return;m.Info("Sending XVP operation "+de+" (version "+ie+")"),Te.messages.xvpOp(this._sock,ie,de)}},{key:"_updateCursor",value:function(ie,de,_e,We,at){this._cursorImage={rgbaPixels:ie,hotx:de,hoty:_e,w:We,h:at},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ie=3;ie<this._cursorImage.rgbaPixels.length;ie+=4)if(this._cursorImage.rgbaPixels[ie])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ie=this._shouldShowDotCursor()?Te.cursors.dot:this._cursorImage;this._cursor.change(ie.rgbaPixels,ie.hotx,ie.hoty,ie.w,ie.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ie){this._viewOnly=ie,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ie?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ie){m.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ie){this._clipViewport=ie,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ie){this._scaleViewport=ie,ie&&this._clipViewport&&this._updateClip(),this._updateScale(),!ie&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ie){this._resizeSession=ie,ie&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ie){this._showDotCursor=ie,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ie){this._screen.style.background=ie}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ie){if(!Number.isInteger(ie)||ie<0||ie>9){m.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ie)return;this._qualityLevel=ie,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ie){if(!Number.isInteger(ie)||ie<0||ie>9){m.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ie)return;this._compressionLevel=ie,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ie,de){var _e=ie.split("").map(function(We){return We.charCodeAt(0)});return new e.default(_e).encrypt(de)}}]),Te}(d.default);N.default=Y,Y.messages={keyEvent:function(se,Te,Se){var ie=se._sQ,de=se._sQlen;ie[de]=4,ie[de+1]=Se,ie[de+2]=0,ie[de+3]=0,ie[de+4]=Te>>24,ie[de+5]=Te>>16,ie[de+6]=Te>>8,ie[de+7]=Te,se._sQlen+=8,se.flush()},QEMUExtendedKeyEvent:function(se,Te,Se,ie){function de(tt){var Oe=ie>>8,yt=ie&255;return Oe===224&&yt<127?yt|128:tt}var _e=se._sQ,We=se._sQlen;_e[We]=255,_e[We+1]=0,_e[We+2]=Se>>8,_e[We+3]=Se,_e[We+4]=Te>>24,_e[We+5]=Te>>16,_e[We+6]=Te>>8,_e[We+7]=Te;var at=de(ie);_e[We+8]=at>>24,_e[We+9]=at>>16,_e[We+10]=at>>8,_e[We+11]=at,se._sQlen+=12,se.flush()},pointerEvent:function(se,Te,Se,ie){var de=se._sQ,_e=se._sQlen;de[_e]=5,de[_e+1]=ie,de[_e+2]=Te>>8,de[_e+3]=Te,de[_e+4]=Se>>8,de[_e+5]=Se,se._sQlen+=6,se.flush()},_buildExtendedClipboardFlags:function(se,Te){for(var Se=new Uint8Array(4),ie=0,de=0,_e=0;_e<se.length;_e++)de|=se[_e];for(var We=0;We<Te.length;We++)ie|=Te[We];return Se[0]=de>>24,Se[1]=0,Se[2]=0,Se[3]=ie,Se},extendedClipboardProvide:function(se,Te,Se){for(var ie=new t.default,de=[],_e=0;_e<Te.length;_e++){if(Te[_e]!=Ce)throw new Error("Unsupported extended clipboard format for Provide message.");Se[_e]=Se[_e].replace(/\r\n|\r|\n/gm,`\r
`);var We=(0,E.encodeUTF8)(Se[_e]+"\0");de.push(We.length>>24&255,We.length>>16&255,We.length>>8&255,We.length&255);for(var at=0;at<We.length;at++)de.push(We.charCodeAt(at))}var tt=ie.deflate(new Uint8Array(de)),Oe=new Uint8Array(4+tt.length);Oe.set(Y.messages._buildExtendedClipboardFlags([z],Te)),Oe.set(tt,4),Y.messages.clientCutText(se,Oe,!0)},extendedClipboardNotify:function(se,Te){var Se=Y.messages._buildExtendedClipboardFlags([X],Te);Y.messages.clientCutText(se,Se,!0)},extendedClipboardRequest:function(se,Te){var Se=Y.messages._buildExtendedClipboardFlags([Ue],Te);Y.messages.clientCutText(se,Se,!0)},extendedClipboardCaps:function(se,Te,Se){var ie=Object.keys(Se),de=new Uint8Array(4+4*ie.length);ie.map(function(at){return parseInt(at)}),ie.sort(function(at,tt){return at-tt}),de.set(Y.messages._buildExtendedClipboardFlags(Te,[]));for(var _e=4,We=0;We<ie.length;We++)de[_e]=Se[ie[We]]>>24,de[_e+1]=Se[ie[We]]>>16,de[_e+2]=Se[ie[We]]>>8,de[_e+3]=Se[ie[We]]>>0,_e+=4,de[3]|=1<<ie[We];Y.messages.clientCutText(se,de,!0)},clientCutText:function(se,Te){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ie=se._sQ,de=se._sQlen;ie[de]=6,ie[de+1]=0,ie[de+2]=0,ie[de+3]=0;var _e;Se?_e=(0,y.toUnsigned32bit)(-Te.length):_e=Te.length,ie[de+4]=_e>>24,ie[de+5]=_e>>16,ie[de+6]=_e>>8,ie[de+7]=_e,se._sQlen+=8;for(var We=0,at=Te.length;at>0;){for(var tt=Math.min(at,se._sQbufferSize-se._sQlen),Oe=0;Oe<tt;Oe++)ie[se._sQlen+Oe]=Te[We+Oe];se._sQlen+=tt,se.flush(),at-=tt,We+=tt}},setDesktopSize:function(se,Te,Se,ie,de){var _e=se._sQ,We=se._sQlen;_e[We]=251,_e[We+1]=0,_e[We+2]=Te>>8,_e[We+3]=Te,_e[We+4]=Se>>8,_e[We+5]=Se,_e[We+6]=1,_e[We+7]=0,_e[We+8]=ie>>24,_e[We+9]=ie>>16,_e[We+10]=ie>>8,_e[We+11]=ie,_e[We+12]=0,_e[We+13]=0,_e[We+14]=0,_e[We+15]=0,_e[We+16]=Te>>8,_e[We+17]=Te,_e[We+18]=Se>>8,_e[We+19]=Se,_e[We+20]=de>>24,_e[We+21]=de>>16,_e[We+22]=de>>8,_e[We+23]=de,se._sQlen+=24,se.flush()},clientFence:function(se,Te,Se){var ie=se._sQ,de=se._sQlen;ie[de]=248,ie[de+1]=0,ie[de+2]=0,ie[de+3]=0,ie[de+4]=Te>>24,ie[de+5]=Te>>16,ie[de+6]=Te>>8,ie[de+7]=Te;var _e=Se.length;ie[de+8]=_e;for(var We=0;We<_e;We++)ie[de+9+We]=Se.charCodeAt(We);se._sQlen+=9+_e,se.flush()},enableContinuousUpdates:function(se,Te,Se,ie,de,_e){var We=se._sQ,at=se._sQlen;We[at]=150,We[at+1]=Te,We[at+2]=Se>>8,We[at+3]=Se,We[at+4]=ie>>8,We[at+5]=ie,We[at+6]=de>>8,We[at+7]=de,We[at+8]=_e>>8,We[at+9]=_e,se._sQlen+=10,se.flush()},pixelFormat:function(se,Te,Se){var ie=se._sQ,de=se._sQlen,_e;Te>16?_e=32:Te>8?_e=16:_e=8;var We=Math.floor(Te/3);ie[de]=0,ie[de+1]=0,ie[de+2]=0,ie[de+3]=0,ie[de+4]=_e,ie[de+5]=Te,ie[de+6]=0,ie[de+7]=Se?1:0,ie[de+8]=0,ie[de+9]=(1<<We)-1,ie[de+10]=0,ie[de+11]=(1<<We)-1,ie[de+12]=0,ie[de+13]=(1<<We)-1,ie[de+14]=We*2,ie[de+15]=We*1,ie[de+16]=We*0,ie[de+17]=0,ie[de+18]=0,ie[de+19]=0,se._sQlen+=20,se.flush()},clientEncodings:function(se,Te){var Se=se._sQ,ie=se._sQlen;Se[ie]=2,Se[ie+1]=0,Se[ie+2]=Te.length>>8,Se[ie+3]=Te.length;for(var de=ie+4,_e=0;_e<Te.length;_e++){var We=Te[_e];Se[de]=We>>24,Se[de+1]=We>>16,Se[de+2]=We>>8,Se[de+3]=We,de+=4}se._sQlen+=de-ie,se.flush()},fbUpdateRequest:function(se,Te,Se,ie,de,_e){var We=se._sQ,at=se._sQlen;typeof Se=="undefined"&&(Se=0),typeof ie=="undefined"&&(ie=0),We[at]=3,We[at+1]=Te?1:0,We[at+2]=Se>>8&255,We[at+3]=Se&255,We[at+4]=ie>>8&255,We[at+5]=ie&255,We[at+6]=de>>8&255,We[at+7]=de&255,We[at+8]=_e>>8&255,We[at+9]=_e&255,se._sQlen+=10,se.flush()},xvpOp:function(se,Te,Se){var ie=se._sQ,de=se._sQlen;ie[de]=250,ie[de+1]=0,ie[de+2]=Te,ie[de+3]=Se,se._sQlen+=4,se.flush()}},Y.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(B,N,i){(function(y){y(i("VrN/"))})(function(y){"use strict";var m={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},E={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(p,v){var f=p.indentUnit,d={},l=v.htmlMode?m:E;for(var n in l)d[n]=l[n];for(var n in v)d[n]=v[n];var t,a;function o(L,M){function k(V){return M.tokenize=V,V(L,M)}var R=L.next();if(R=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?k(e("atom","]]>")):null:L.match("--")?k(e("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),k(s(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),M.tokenize=e("meta","?>"),"meta"):(t=L.eat("/")?"closeTag":"openTag",M.tokenize=r,"tag bracket");if(R=="&"){var j;return L.eat("#")?L.eat("x")?j=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):j=L.eatWhile(/[\d]/)&&L.eat(";"):j=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),j?"atom":"error"}else return L.eatWhile(/[^&<]/),null}o.isInText=!0;function r(L,M){var k=L.next();if(k==">"||k=="/"&&L.eat(">"))return M.tokenize=o,t=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return t="equals",null;if(k=="<"){M.tokenize=o,M.state=A,M.tagName=M.tagStart=null;var R=M.tokenize(L,M);return R?R+" tag error":"tag error"}else return/[\'\"]/.test(k)?(M.tokenize=c(k),M.stringStartCol=L.column(),M.tokenize(L,M)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function c(L){var M=function(R,j){for(;!R.eol();)if(R.next()==L){j.tokenize=r;break}return"string"};return M.isInAttribute=!0,M}function e(L,M){return function(k,R){for(;!k.eol();){if(k.match(M)){R.tokenize=o;break}k.next()}return L}}function s(L){return function(M,k){for(var R;(R=M.next())!=null;){if(R=="<")return k.tokenize=s(L+1),k.tokenize(M,k);if(R==">")if(L==1){k.tokenize=o;break}else return k.tokenize=s(L-1),k.tokenize(M,k)}return"meta"}}function u(L,M,k){this.prev=L.context,this.tagName=M,this.indent=L.indented,this.startOfLine=k,(d.doNotIndent.hasOwnProperty(M)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function h(L){L.context&&(L.context=L.context.prev)}function g(L,M){for(var k;;){if(!L.context)return;if(k=L.context.tagName,!d.contextGrabbers.hasOwnProperty(k)||!d.contextGrabbers[k].hasOwnProperty(M))return;h(L)}}function A(L,M,k){return L=="openTag"?(k.tagStart=M.column(),w):L=="closeTag"?b:A}function w(L,M,k){return L=="word"?(k.tagName=M.current(),a="tag",T):d.allowMissingTagName&&L=="endTag"?(a="tag bracket",T(L,M,k)):(a="error",w)}function b(L,M,k){if(L=="word"){var R=M.current();return k.context&&k.context.tagName!=R&&d.implicitlyClosed.hasOwnProperty(k.context.tagName)&&h(k),k.context&&k.context.tagName==R||d.matchClosing===!1?(a="tag",S):(a="tag error",_)}else return d.allowMissingTagName&&L=="endTag"?(a="tag bracket",S(L,M,k)):(a="error",_)}function S(L,M,k){return L!="endTag"?(a="error",S):(h(k),A)}function _(L,M,k){return a="error",S(L,M,k)}function T(L,M,k){if(L=="word")return a="attribute",x;if(L=="endTag"||L=="selfcloseTag"){var R=k.tagName,j=k.tagStart;return k.tagName=k.tagStart=null,L=="selfcloseTag"||d.autoSelfClosers.hasOwnProperty(R)?g(k,R):(g(k,R),k.context=new u(k,R,j==k.indented)),A}return a="error",T}function x(L,M,k){return L=="equals"?C:(d.allowMissing||(a="error"),T(L,M,k))}function C(L,M,k){return L=="string"?I:L=="word"&&d.allowUnquoted?(a="string",T):(a="error",T(L,M,k))}function I(L,M,k){return L=="string"?I:T(L,M,k)}return{startState:function(M){var k={tokenize:o,state:A,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(k.baseIndent=M),k},token:function(M,k){if(!k.tagName&&M.sol()&&(k.indented=M.indentation()),M.eatSpace())return null;t=null;var R=k.tokenize(M,k);return(R||t)&&R!="comment"&&(a=null,k.state=k.state(t||R,M,k),a&&(R=a=="error"?R+" error":a)),R},indent:function(M,k,R){var j=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+f;if(j&&j.noIndent)return y.Pass;if(M.tokenize!=r&&M.tokenize!=o)return R?R.match(/^(\s*)/)[0].length:0;if(M.tagName)return d.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+f*(d.multilineTagIndentFactor||1);if(d.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var V=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(V&&V[1])for(;j;)if(j.tagName==V[2]){j=j.prev;break}else if(d.implicitlyClosed.hasOwnProperty(j.tagName))j=j.prev;else break;else if(V)for(;j;){var D=d.contextGrabbers[j.tagName];if(D&&D.hasOwnProperty(V[2]))j=j.prev;else break}for(;j&&j.prev&&!j.startOfLine;)j=j.prev;return j?j.indent+f:M.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:d.htmlMode?"html":"xml",helperType:d.htmlMode?"html":"xml",skipAttribute:function(M){M.state==C&&(M.state=T)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var k=[],R=M.context;R;R=R.prev)R.tagName&&k.push(R.tagName);return k.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(B,N,i){(function(y,m){/*!
* html2pdf.js v0.10.1
* Copyright (c) 2021 Erik Koopmans
* Released under the MIT License.
*/(function(p,v){B.exports=v(i("dtIV"),i("wOnQ"))})(self,function(E,p){return function(){var v={"./src/plugin/hyperlinks.js":function(t,a,o){"use strict";o.r(a);var r=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),c=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"),g=[],A={toContainer:u.default.prototype.toContainer,toPdf:u.default.prototype.toPdf};u.default.prototype.toContainer=function(){return A.toContainer.call(this).then(function(){if(this.opt.enableLinks){var S=this.prop.container,_=S.querySelectorAll("a"),T=(0,h.unitConvert)(S.getBoundingClientRect(),this.prop.pageSize.k);g=[],Array.prototype.forEach.call(_,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-=T.left,L.top-=T.top;var M=Math.floor(L.top/this.prop.pageSize.inner.height)+1,k=this.opt.margin[0]+L.top%this.prop.pageSize.inner.height,R=this.opt.margin[1]+L.left;g.push({page:M,top:k,left:R,clientRect:L,link:x})}},this)}})},u.default.prototype.toPdf=function(){return A.toPdf.call(this).then(function(){if(this.opt.enableLinks){g.forEach(function(_){this.prop.pdf.setPage(_.page),this.prop.pdf.link(_.left,_.top,_.clientRect.width,_.clientRect.height,{url:_.link.href})},this);var S=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(S)}})}},"./src/plugin/jspdf-plugin.js":function(t,a,o){"use strict";o.r(a);var r=o("./node_modules/core-js/modules/es.symbol.js"),c=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),g=o("./node_modules/core-js/modules/es.symbol.iterator.js"),A=o.n(g),w=o("./node_modules/core-js/modules/es.array.iterator.js"),b=o.n(w),S=o("./node_modules/core-js/modules/es.string.iterator.js"),_=o.n(S),T=o("./node_modules/core-js/modules/web.dom-collections.iterator.js"),x=o.n(T),C=o("jspdf"),I=o.n(C);function L(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(R){return typeof R}:L=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},L(M)}C.jsPDF.getPageSize=function(M,k,R){if(L(M)==="object"){var j=M;M=j.orientation,k=j.unit||k,R=j.format||R}k=k||"mm",R=R||"a4",M=(""+(M||"P")).toLowerCase();var V=(""+R).toLowerCase(),D={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(k){case"pt":var H=1;break;case"mm":var H=72/25.4;break;case"cm":var H=72/2.54;break;case"in":var H=72;break;case"px":var H=72/96;break;case"pc":var H=12;break;case"em":var H=12;break;case"ex":var H=6;break;default:throw"Invalid unit: "+k}if(D.hasOwnProperty(V))var P=D[V][1]/H,K=D[V][0]/H;else try{var P=R[1],K=R[0]}catch(W){throw new Error("Invalid format: "+R)}if(M==="p"||M==="portrait"){if(M="p",K>P){var U=K;K=P,P=U}}else if(M==="l"||M==="landscape"){if(M="l",P>K){var U=K;K=P,P=U}}else throw"Invalid orientation: "+M;var G={width:K,height:P,unit:k,k:H};return G},a.default=C.jsPDF},"./src/plugin/pagebreaks.js":function(t,a,o){"use strict";o.r(a);var r=o("./node_modules/core-js/modules/es.array.concat.js"),c=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),g=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),A=o.n(g),w=o("./node_modules/core-js/modules/es.object.keys.js"),b=o.n(w),S=o("./src/worker.js"),_=o("./src/utils.js"),T={toContainer:S.default.prototype.toContainer};S.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},S.default.prototype.toContainer=function(){return T.toContainer.call(this).then(function(){var I=this.prop.container,L=this.prop.pageSize.inner.px.height,M=[].concat(this.opt.pagebreak.mode),k={avoidAll:M.indexOf("avoid-all")!==-1,css:M.indexOf("css")!==-1,legacy:M.indexOf("legacy")!==-1},R={},j=this;["before","after","avoid"].forEach(function(H){var P=k.avoidAll&&H==="avoid";R[H]=P?[]:[].concat(j.opt.pagebreak[H]||[]),R[H].length>0&&(R[H]=Array.prototype.slice.call(I.querySelectorAll(R[H].join(", "))))});var V=I.querySelectorAll(".html2pdf__page-break");V=Array.prototype.slice.call(V);var D=I.querySelectorAll("*");Array.prototype.forEach.call(D,function(P){var K={before:!1,after:k.legacy&&V.indexOf(P)!==-1,avoid:k.avoidAll};if(k.css){var U=window.getComputedStyle(P),G=["always","page","left","right"],W=["avoid","avoid-page"];K={before:K.before||G.indexOf(U.breakBefore||U.pageBreakBefore)!==-1,after:K.after||G.indexOf(U.breakAfter||U.pageBreakAfter)!==-1,avoid:K.avoid||W.indexOf(U.breakInside||U.pageBreakInside)!==-1}}Object.keys(K).forEach(function(be){K[be]=K[be]||R[be].indexOf(P)!==-1});var Z=P.getBoundingClientRect();if(K.avoid&&!K.before){var J=Math.floor(Z.top/L),ve=Math.floor(Z.bottom/L),q=Math.abs(Z.bottom-Z.top)/L;ve!==J&&q<=1&&(K.before=!0)}if(K.before){var ce=(0,_.createElement)("div",{style:{display:"block",height:L-Z.top%L+"px"}});P.parentNode.insertBefore(ce,P)}if(K.after){var ce=(0,_.createElement)("div",{style:{display:"block",height:L-Z.bottom%L+"px"}});P.parentNode.insertBefore(ce,P.nextSibling)}})})}},"./src/utils.js":function(t,a,o){"use strict";o.r(a),o.d(a,{objType:function(){return M},createElement:function(){return k},cloneNode:function(){return R},unitConvert:function(){return j},toPx:function(){return V}});var r=o("./node_modules/core-js/modules/es.number.constructor.js"),c=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),g=o("./node_modules/core-js/modules/es.object.to-string.js"),A=o.n(g),w=o("./node_modules/core-js/modules/es.symbol.iterator.js"),b=o.n(w),S=o("./node_modules/core-js/modules/es.array.iterator.js"),_=o.n(S),T=o("./node_modules/core-js/modules/es.string.iterator.js"),x=o.n(T),C=o("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=o.n(C);function L(D){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(D)}var M=function(H){var P=L(H);return P==="undefined"?"undefined":P==="string"||H instanceof String?"string":P==="number"||H instanceof Number?"number":P==="function"||H instanceof Function?"function":!!H&&H.constructor===Array?"array":H&&H.nodeType===1?"element":P==="object"?"object":"unknown"},k=function(H,P){var K=document.createElement(H);if(P.className&&(K.className=P.className),P.innerHTML){K.innerHTML=P.innerHTML;for(var U=K.getElementsByTagName("script"),G=U.length;G-- >0;null)U[G].parentNode.removeChild(U[G])}for(var W in P.style)K.style[W]=P.style[W];return K},R=function D(H,P){for(var K=H.nodeType===3?document.createTextNode(H.nodeValue):H.cloneNode(!1),U=H.firstChild;U;U=U.nextSibling)(P===!0||U.nodeType!==1||U.nodeName!=="SCRIPT")&&K.appendChild(D(U,P));return H.nodeType===1&&(H.nodeName==="CANVAS"?(K.width=H.width,K.height=H.height,K.getContext("2d").drawImage(H,0,0)):(H.nodeName==="TEXTAREA"||H.nodeName==="SELECT")&&(K.value=H.value),K.addEventListener("load",function(){K.scrollTop=H.scrollTop,K.scrollLeft=H.scrollLeft},!0)),K},j=function(H,P){if(M(H)==="number")return H*72/96/P;var K={};for(var U in H)K[U]=H[U]*72/96/P;return K},V=function(H,P){return Math.floor(H*P/72*96)}},"./src/worker.js":function(t,a,o){"use strict";o.r(a);var r=o("./node_modules/core-js/modules/es.object.assign.js"),c=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),g=o("./node_modules/core-js/modules/es.array.concat.js"),A=o.n(g),w=o("./node_modules/core-js/modules/es.object.to-string.js"),b=o.n(w),S=o("./node_modules/core-js/modules/es.regexp.to-string.js"),_=o.n(S),T=o("./node_modules/core-js/modules/es.function.name.js"),x=o.n(T),C=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=o.n(C),L=o("jspdf"),M=o.n(L),k=o("html2canvas"),R=o.n(k),j=o("./src/utils.js"),V=o("./node_modules/es6-promise/dist/es6-promise.js"),D=o.n(V),H=D().Promise,P=function K(U){var G=Object.assign(K.convert(H.resolve()),JSON.parse(JSON.stringify(K.template))),W=K.convert(H.resolve(),G);return W=W.setProgress(1,K,1,[K]),W=W.set(U),W};P.prototype=Object.create(H.prototype),P.prototype.constructor=P,P.convert=function(U,G){return U.__proto__=G||P.prototype,U},P.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:{}}},P.prototype.from=function(U,G){function W(Z){switch((0,j.objType)(Z)){case"string":return"string";case"element":return Z.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){G=G||W(U);switch(G){case"string":return this.set({src:(0,j.createElement)("div",{innerHTML:U})});case"element":return this.set({src:U});case"canvas":return this.set({canvas:U});case"img":return this.set({img:U});default:return this.error("Unknown source type.")}})},P.prototype.to=function(U){switch(U){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.")}},P.prototype.toContainer=function(){var U=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(U).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)"},Z={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,j.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,j.createElement)("div",{className:"html2pdf__overlay",style:W}),this.prop.container=(0,j.createElement)("div",{className:"html2pdf__container",style:Z}),this.prop.container.appendChild(J),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},P.prototype.toCanvas=function(){var U=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(U).then(function(){var W=Object.assign({},this.opt.html2canvas);return delete W.onrendered,k(this.prop.container,W)}).then(function(W){var Z=this.opt.html2canvas.onrendered||function(){};Z(W),this.prop.canvas=W,document.body.removeChild(this.prop.overlay)})},P.prototype.toImg=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).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})},P.prototype.toPdf=function(){var U=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(U).then(function(){var W=this.prop.canvas,Z=this.opt,J=W.height,ve=Math.floor(W.width*this.prop.pageSize.inner.ratio),q=Math.ceil(J/ve),ce=this.prop.pageSize.inner.height,be=document.createElement("canvas"),Ce=be.getContext("2d");be.width=W.width,be.height=ve,this.prop.pdf=this.prop.pdf||new L.jsPDF(Z.jsPDF);for(var Fe=0;Fe<q;Fe++){Fe===q-1&&J%ve!==0&&(be.height=J%ve,ce=be.height*this.prop.pageSize.inner.width/be.width);var fe=be.width,Ne=be.height;Ce.fillStyle="white",Ce.fillRect(0,0,fe,Ne),Ce.drawImage(W,0,Fe*ve,fe,Ne,0,0,fe,Ne),Fe&&this.prop.pdf.addPage();var Q=be.toDataURL("image/"+Z.image.type,Z.image.quality);this.prop.pdf.addImage(Q,Z.image.type,Z.margin[1],Z.margin[0],this.prop.pageSize.inner.width,ce)}})},P.prototype.output=function(U,G,W){return W=W||"pdf",W.toLowerCase()==="img"||W.toLowerCase()==="image"?this.outputImg(U,G):this.outputPdf(U,G)},P.prototype.outputPdf=function(U,G){var W=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(W).then(function(){return this.prop.pdf.output(U,G)})},P.prototype.outputImg=function(U,G){var W=[function(){return this.prop.img||this.toImg()}];return this.thenList(W).then(function(){switch(U){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 "'+U+'" is not supported.'}})},P.prototype.save=function(U){var G=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(G).set(U?{filename:U}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},P.prototype.set=function(U){if((0,j.objType)(U)!=="object")return this;var G=Object.keys(U||{}).map(function(W){switch(W){case"margin":return this.setMargin.bind(this,U.margin);case"jsPDF":return function(){return this.opt.jsPDF=U.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,U.pageSize);default:return W in P.template.prop?function(){this.prop[W]=U[W]}:function(){this.opt[W]=U[W]}}},this);return this.then(function(){return this.thenList(G)})},P.prototype.get=function(U,G){return this.then(function(){var Z=U in P.template.prop?this.prop[U]:this.opt[U];return G?G(Z):Z})},P.prototype.setMargin=function(U){return this.then(function(){switch((0,j.objType)(U)){case"number":U=[U,U,U,U];case"array":if(U.length===2&&(U=[U[0],U[1],U[0],U[1]]),U.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=U}).then(this.setPageSize)},P.prototype.setPageSize=function(U){return this.then(function(){U=U||L.jsPDF.getPageSize(this.opt.jsPDF),U.hasOwnProperty("inner")||(U.inner={width:U.width-this.opt.margin[1]-this.opt.margin[3],height:U.height-this.opt.margin[0]-this.opt.margin[2]},U.inner.px={width:(0,j.toPx)(U.inner.width,U.k),height:(0,j.toPx)(U.inner.height,U.k)},U.inner.ratio=U.inner.height/U.inner.width),this.prop.pageSize=U})},P.prototype.setProgress=function(U,G,W,Z){return U!=null&&(this.progress.val=U),G!=null&&(this.progress.state=G),W!=null&&(this.progress.n=W),Z!=null&&(this.progress.stack=Z),this.progress.ratio=this.progress.val/this.progress.state,this},P.prototype.updateProgress=function(U,G,W,Z){return this.setProgress(U?this.progress.val+U:null,G||null,W?this.progress.n+W:null,Z?this.progress.stack.concat(Z):null)},P.prototype.then=function(U,G){var W=this;return this.thenCore(U,G,function(J,ve){return W.updateProgress(null,null,1,[J]),H.prototype.then.call(this,function(ce){return W.updateProgress(null,J),ce}).then(J,ve).then(function(ce){return W.updateProgress(1),ce})})},P.prototype.thenCore=function(U,G,W){W=W||H.prototype.then;var Z=this;U&&(U=U.bind(Z)),G&&(G=G.bind(Z));var J=H.toString().indexOf("[native code]")!==-1&&H.name==="Promise",ve=J?Z:P.convert(Object.assign({},Z),H.prototype),q=W.call(ve,U,G);return P.convert(q,Z.__proto__)},P.prototype.thenExternal=function(U,G){return H.prototype.then.call(this,U,G)},P.prototype.thenList=function(U){var G=this;return U.forEach(function(Z){G=G.thenCore(Z)}),G},P.prototype.catch=function(K){K&&(K=K.bind(this));var U=H.prototype.catch.call(this,K);return P.convert(U,this)},P.prototype.catchExternal=function(U){return H.prototype.catch.call(this,U)},P.prototype.error=function(U){return this.then(function(){throw new Error(U)})},P.prototype.using=P.prototype.set,P.prototype.saveAs=P.prototype.save,P.prototype.export=P.prototype.output,P.prototype.run=P.prototype.then,a.default=P},"./node_modules/core-js/internals/a-function.js":function(t){t.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"./node_modules/core-js/internals/a-possible-prototype.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js");t.exports=function(c){if(!r(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype");return c}},"./node_modules/core-js/internals/add-to-unscopables.js":function(t,a,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),c=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:c(null)}),t.exports=function(h){u[s][h]=!0}},"./node_modules/core-js/internals/an-object.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js");t.exports=function(c){if(!r(c))throw TypeError(String(c)+" is not an object");return c}},"./node_modules/core-js/internals/array-for-each.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/array-iteration.js").forEach,c=o("./node_modules/core-js/internals/array-method-is-strict.js"),e=c("forEach");t.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(t,a,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),c=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(g,A,w){var b=r(g),S=c(b.length),_=e(w,S),T;if(h&&A!=A){for(;S>_;)if(T=b[_++],T!=T)return!0}else for(;S>_;_++)if((h||_ in b)&&b[_]===A)return h||_||0;return!h&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(t,a,o){var r=o("./node_modules/core-js/internals/function-bind-context.js"),c=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,g=function(w){var b=w==1,S=w==2,_=w==3,T=w==4,x=w==6,C=w==7,I=w==5||x;return function(L,M,k,R){for(var j=e(L),V=c(j),D=r(M,k,3),H=s(V.length),P=0,K=R||u,U=b?K(L,H):S||C?K(L,0):void 0,G,W;H>P;P++)if((I||P in V)&&(G=V[P],W=D(G,P,j),w))if(b)U[P]=W;else if(W)switch(w){case 3:return!0;case 5:return G;case 6:return P;case 2:h.call(U,G)}else switch(w){case 4:return!1;case 7:h.call(U,G)}return x?-1:_||T?T:U}};t.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(t,a,o){var r=o("./node_modules/core-js/internals/fails.js"),c=o("./node_modules/core-js/internals/well-known-symbol.js"),e=o("./node_modules/core-js/internals/engine-v8-version.js"),s=c("species");t.exports=function(u){return e>=51||!r(function(){var h=[],g=h.constructor={};return g[s]=function(){return{foo:1}},h[u](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/fails.js");t.exports=function(c,e){var s=[][c];return!!s&&r(function(){s.call(null,e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js"),c=o("./node_modules/core-js/internals/is-array.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("species");t.exports=function(u){var h;return c(u)&&(h=u.constructor,typeof h=="function"&&(h===Array||c(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(t,a,o){var r=o("./node_modules/core-js/internals/array-species-constructor.js");t.exports=function(c,e){return new(r(c))(e===0?0:e)}},"./node_modules/core-js/internals/classof-raw.js":function(t){var a={}.toString;t.exports=function(o){return a.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),c=o("./node_modules/core-js/internals/classof-raw.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag"),u=c(function(){return arguments}())=="Arguments",h=function(A,w){try{return A[w]}catch(b){}};t.exports=r?c:function(g){var A,w,b;return g===void 0?"Undefined":g===null?"Null":typeof(w=h(A=Object(g),s))=="string"?w:u?c(A):(b=c(A))=="Object"&&typeof A.callee=="function"?"Arguments":b}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(t,a,o){var r=o("./node_modules/core-js/internals/has.js"),c=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");t.exports=function(u,h){for(var g=c(h),A=s.f,w=e.f,b=0;b<g.length;b++){var S=g[b];r(u,S)||A(u,S,w(h,S))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(t,a,o){var r=o("./node_modules/core-js/internals/fails.js");t.exports=!r(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},"./node_modules/core-js/internals/create-html.js":function(t,a,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js"),c=o("./node_modules/core-js/internals/to-string.js"),e=/"/g;t.exports=function(s,u,h,g){var A=c(r(s)),w="<"+u;return h!==""&&(w+=" "+h+'="'+c(g).replace(e,"&quot;")+'"'),w+">"+A+"</"+u+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,c=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};t.exports=function(g,A,w){var b=A+" Iterator";return g.prototype=c(r,{next:e(1,w)}),s(g,b,!1,!0),u[b]=h,g}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=o("./node_modules/core-js/internals/object-define-property.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=r?function(s,u,h){return c.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(t){t.exports=function(a,o){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:o}}},"./node_modules/core-js/internals/create-property.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/to-property-key.js"),c=o("./node_modules/core-js/internals/object-define-property.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js");t.exports=function(s,u,h){var g=r(u);g in s?c.f(s,g,e(0,h)):s[g]=h}},"./node_modules/core-js/internals/define-iterator.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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"),g=o("./node_modules/core-js/internals/redefine.js"),A=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"),S=o("./node_modules/core-js/internals/iterators-core.js"),_=S.IteratorPrototype,T=S.BUGGY_SAFARI_ITERATORS,x=A("iterator"),C="keys",I="values",L="entries",M=function(){return this};t.exports=function(k,R,j,V,D,H,P){c(j,R,V);var K=function(Fe){if(Fe===D&&J)return J;if(!T&&Fe in W)return W[Fe];switch(Fe){case C:return function(){return new j(this,Fe)};case I:return function(){return new j(this,Fe)};case L:return function(){return new j(this,Fe)}}return function(){return new j(this)}},U=R+" Iterator",G=!1,W=k.prototype,Z=W[x]||W["@@iterator"]||D&&W[D],J=!T&&Z||K(D),ve=R=="Array"&&W.entries||Z,q,ce,be;if(ve&&(q=e(ve.call(new k)),_!==Object.prototype&&q.next&&(!w&&e(q)!==_&&(s?s(q,_):typeof q[x]!="function"&&h(q,x,M)),u(q,U,!0,!0),w&&(b[U]=M))),D==I&&Z&&Z.name!==I&&(G=!0,J=function(){return Z.call(this)}),(!w||P)&&W[x]!==J&&h(W,x,J),b[R]=J,D)if(ce={values:K(I),keys:H?J:K(C),entries:K(L)},P)for(be in ce)(T||G||!(be in W))&&g(W,be,ce[be]);else r({target:R,proto:!0,forced:T||G},ce);return ce}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(t,a,o){var r=o("./node_modules/core-js/internals/path.js"),c=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;t.exports=function(u){var h=r.Symbol||(r.Symbol={});c(h,u)||s(h,u,{value:e.f(u)})}},"./node_modules/core-js/internals/descriptors.js":function(t,a,o){var r=o("./node_modules/core-js/internals/fails.js");t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=o("./node_modules/core-js/internals/is-object.js"),e=r.document,s=c(e)&&c(e.createElement);t.exports=function(u){return s?e.createElement(u):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(t){t.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(t,a,o){var r=o("./node_modules/core-js/internals/get-built-in.js");t.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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,g,A;h?(g=h.split("."),A=g[0]<4?1:g[0]+g[1]):c&&(g=c.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=c.match(/Chrome\/(\d+)/),g&&(A=g[1]))),t.exports=A&&+A},"./node_modules/core-js/internals/enum-bug-keys.js":function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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"),g=o("./node_modules/core-js/internals/is-forced.js");t.exports=function(A,w){var b=A.target,S=A.global,_=A.stat,T,x,C,I,L,M;if(S?x=r:_?x=r[b]||u(b,{}):x=(r[b]||{}).prototype,x)for(C in w){if(L=w[C],A.noTargetGet?(M=c(x,C),I=M&&M.value):I=x[C],T=g(S?C:b+(_?".":"#")+C,A.forced),!T&&I!==void 0){if(typeof L===typeof I)continue;h(L,I)}(A.sham||I&&I.sham)&&e(L,"sham",!0),s(x,C,L,A)}}},"./node_modules/core-js/internals/fails.js":function(t){t.exports=function(a){try{return!!a()}catch(o){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(t,a,o){var r=o("./node_modules/core-js/internals/a-function.js");t.exports=function(c,e,s){if(r(c),e===void 0)return c;switch(s){case 0:return function(){return c.call(e)};case 1:return function(u){return c.call(e,u)};case 2:return function(u,h){return c.call(e,u,h)};case 3:return function(u,h,g){return c.call(e,u,h,g)}}return function(){return c.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=function(s){return typeof s=="function"?s:void 0};t.exports=function(e,s){return arguments.length<2?c(r[e]):r[e]&&r[e][s]}},"./node_modules/core-js/internals/global.js":function(t){var a=function(r){return r&&r.Math==Math&&r};t.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof y=="object"&&y)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-object.js"),c={}.hasOwnProperty;t.exports=Object.hasOwn||function(s,u){return c.call(r(s),u)}},"./node_modules/core-js/internals/hidden-keys.js":function(t){t.exports={}},"./node_modules/core-js/internals/html.js":function(t,a,o){var r=o("./node_modules/core-js/internals/get-built-in.js");t.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=o("./node_modules/core-js/internals/fails.js"),e=o("./node_modules/core-js/internals/document-create-element.js");t.exports=!r&&!c(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(t,a,o){var r=o("./node_modules/core-js/internals/fails.js"),c=o("./node_modules/core-js/internals/classof-raw.js"),e="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(s){return c(s)=="String"?e.call(s,""):Object(s)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js"),c=o("./node_modules/core-js/internals/object-set-prototype-of.js");t.exports=function(e,s,u){var h,g;return c&&typeof(h=s.constructor)=="function"&&h!==u&&r(g=h.prototype)&&g!==u.prototype&&c(e,g),e}},"./node_modules/core-js/internals/inspect-source.js":function(t,a,o){var r=o("./node_modules/core-js/internals/shared-store.js"),c=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(e){return c.call(e)}),t.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(t,a,o){var r=o("./node_modules/core-js/internals/native-weak-map.js"),c=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"),g=o("./node_modules/core-js/internals/shared-key.js"),A=o("./node_modules/core-js/internals/hidden-keys.js"),w="Object already initialized",b=c.WeakMap,S,_,T,x=function(V){return T(V)?_(V):S(V,{})},C=function(V){return function(D){var H;if(!e(D)||(H=_(D)).type!==V)throw TypeError("Incompatible receiver, "+V+" required");return H}};if(r||h.state){var I=h.state||(h.state=new b),L=I.get,M=I.has,k=I.set;S=function(V,D){if(M.call(I,V))throw new TypeError(w);return D.facade=V,k.call(I,V,D),D},_=function(V){return L.call(I,V)||{}},T=function(V){return M.call(I,V)}}else{var R=g("state");A[R]=!0,S=function(V,D){if(u(V,R))throw new TypeError(w);return D.facade=V,s(V,R,D),D},_=function(V){return u(V,R)?V[R]:{}},T=function(V){return u(V,R)}}t.exports={set:S,get:_,has:T,enforce:x,getterFor:C}},"./node_modules/core-js/internals/is-array.js":function(t,a,o){var r=o("./node_modules/core-js/internals/classof-raw.js");t.exports=Array.isArray||function(e){return r(e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(t,a,o){var r=o("./node_modules/core-js/internals/fails.js"),c=/#|\.prototype\./,e=function(w,b){var S=u[s(w)];return S==g?!0:S==h?!1:typeof b=="function"?r(b):!!b},s=e.normalize=function(A){return String(A).replace(c,".").toLowerCase()},u=e.data={},h=e.NATIVE="N",g=e.POLYFILL="P";t.exports=e},"./node_modules/core-js/internals/is-object.js":function(t){t.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},"./node_modules/core-js/internals/is-pure.js":function(t){t.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(t,a,o){var r=o("./node_modules/core-js/internals/get-built-in.js"),c=o("./node_modules/core-js/internals/use-symbol-as-uid.js");t.exports=c?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(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/fails.js"),c=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"),g=u("iterator"),A=!1,w=function(){return this},b,S,_;[].keys&&(_=[].keys(),"next"in _?(S=c(c(_)),S!==Object.prototype&&(b=S)):A=!0);var T=b==null||r(function(){var x={};return b[g].call(x)!==x});T&&(b={}),(!h||T)&&!s(b,g)&&e(b,g,w),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:A}},"./node_modules/core-js/internals/iterators.js":function(t){t.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(t,a,o){var r=o("./node_modules/core-js/internals/engine-v8-version.js"),c=o("./node_modules/core-js/internals/fails.js");t.exports=!!Object.getOwnPropertySymbols&&!c(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(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=o("./node_modules/core-js/internals/inspect-source.js"),e=r.WeakMap;t.exports=typeof e=="function"&&/native code/.test(c(e))},"./node_modules/core-js/internals/object-assign.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/descriptors.js"),c=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"),g=o("./node_modules/core-js/internals/indexed-object.js"),A=Object.assign,w=Object.defineProperty;t.exports=!A||c(function(){if(r&&A({b:1},A(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},S={},_=Symbol(),T="abcdefghijklmnopqrst";return b[_]=7,T.split("").forEach(function(x){S[x]=x}),A({},b)[_]!=7||e(A({},S)).join("")!=T})?function(S,_){for(var T=h(S),x=arguments.length,C=1,I=s.f,L=u.f;x>C;)for(var M=g(arguments[C++]),k=I?e(M).concat(I(M)):e(M),R=k.length,j=0,V;R>j;)V=k[j++],(!r||L.call(M,V))&&(T[V]=M[V]);return T}:A},"./node_modules/core-js/internals/object-create.js":function(t,a,o){var r=o("./node_modules/core-js/internals/an-object.js"),c=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"),g=o("./node_modules/core-js/internals/shared-key.js"),A=">",w="<",b="prototype",S="script",_=g("IE_PROTO"),T=function(){},x=function(R){return w+S+A+R+w+"/"+S+A},C=function(R){R.write(x("")),R.close();var j=R.parentWindow.Object;return R=null,j},I=function(){var R=h("iframe"),j="java"+S+":",V;if(R.style)return R.style.display="none",u.appendChild(R),R.src=String(j),V=R.contentWindow.document,V.open(),V.write(x("document.F=Object")),V.close(),V.F},L,M=function(){try{L=new ActiveXObject("htmlfile")}catch(j){}M=document.domain&&L?C(L):I()||C(L);for(var R=e.length;R--;)delete M[b][e[R]];return M()};s[_]=!0,t.exports=Object.create||function(R,j){var V;return R!==null?(T[b]=r(R),V=new T,T[b]=null,V[_]=R):V=M(),j===void 0?V:c(V,j)}},"./node_modules/core-js/internals/object-define-properties.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=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");t.exports=r?Object.defineProperties:function(h,g){e(h);for(var A=s(g),w=A.length,b=0,S;w>b;)c.f(h,S=A[b++],g[S]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=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;a.f=r?u:function(g,A,w){if(e(g),A=s(A),e(w),c)try{return u(g,A,w)}catch(b){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(g[A]=w.value),g}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=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"),g=o("./node_modules/core-js/internals/ie8-dom-define.js"),A=Object.getOwnPropertyDescriptor;a.f=r?A:function(b,S){if(b=s(b),S=u(S),g)try{return A(b,S)}catch(_){}if(h(b,S))return e(!c.f.call(b,S),b[S])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),c=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(g){try{return c(g)}catch(A){return s.slice()}};t.exports.f=function(g){return s&&e.call(g)=="[object Window]"?u(g):c(r(g))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(t,a,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),c=o("./node_modules/core-js/internals/enum-bug-keys.js"),e=c.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(u){return r(u,e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(t,a){a.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(t,a,o){var r=o("./node_modules/core-js/internals/has.js"),c=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;t.exports=s?Object.getPrototypeOf:function(g){return g=c(g),r(g,u)?g[u]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(t,a,o){var r=o("./node_modules/core-js/internals/has.js"),c=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");t.exports=function(u,h){var g=c(u),A=0,w=[],b;for(b in g)!r(s,b)&&r(g,b)&&w.push(b);for(;h.length>A;)r(g,b=h[A++])&&(~e(w,b)||w.push(b));return w}},"./node_modules/core-js/internals/object-keys.js":function(t,a,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),c=o("./node_modules/core-js/internals/enum-bug-keys.js");t.exports=Object.keys||function(s){return r(s,c)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(t,a){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,c=r&&!o.call({1:2},1);a.f=c?function(s){var u=r(this,s);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(t,a,o){var r=o("./node_modules/core-js/internals/an-object.js"),c=o("./node_modules/core-js/internals/a-possible-prototype.js");t.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(g,A){return r(g),c(A),e?u.call(g,A):g.__proto__=A,g}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),c=o("./node_modules/core-js/internals/classof.js");t.exports=r?{}.toString:function(){return"[object "+c(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js");t.exports=function(c,e){var s,u;if(e==="string"&&typeof(s=c.toString)=="function"&&!r(u=s.call(c)))return u;if(typeof(s=c.valueOf)=="function"&&!r(u=s.call(c)))return u;if(e!=="string"&&typeof(s=c.toString)=="function"&&!r(u=s.call(c)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(t,a,o){var r=o("./node_modules/core-js/internals/get-built-in.js"),c=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");t.exports=r("Reflect","ownKeys")||function(h){var g=c.f(s(h)),A=e.f;return A?g.concat(A(h)):g}},"./node_modules/core-js/internals/path.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js");t.exports=r},"./node_modules/core-js/internals/redefine.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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"),g=h.get,A=h.enforce,w=String(String).split("String");(t.exports=function(b,S,_,T){var x=T?!!T.unsafe:!1,C=T?!!T.enumerable:!1,I=T?!!T.noTargetGet:!1,L;if(typeof _=="function"&&(typeof S=="string"&&!e(_,"name")&&c(_,"name",S),L=A(_),L.source||(L.source=w.join(typeof S=="string"?S:""))),b===r){C?b[S]=_:s(S,_);return}else x?!I&&b[S]&&(C=!0):delete b[S];C?b[S]=_:c(b,S,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||u(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/an-object.js");t.exports=function(){var c=r(this),e="";return c.global&&(e+="g"),c.ignoreCase&&(e+="i"),c.multiline&&(e+="m"),c.dotAll&&(e+="s"),c.unicode&&(e+="u"),c.sticky&&(e+="y"),e}},"./node_modules/core-js/internals/require-object-coercible.js":function(t){t.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"./node_modules/core-js/internals/set-global.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js");t.exports=function(c,e){try{Object.defineProperty(r,c,{value:e,configurable:!0,writable:!0})}catch(s){r[c]=e}return e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(t,a,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,c=o("./node_modules/core-js/internals/has.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag");t.exports=function(u,h,g){u&&!c(u=g?u:u.prototype,s)&&r(u,s,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(t,a,o){var r=o("./node_modules/core-js/internals/shared.js"),c=o("./node_modules/core-js/internals/uid.js"),e=r("keys");t.exports=function(s){return e[s]||(e[s]=c(s))}},"./node_modules/core-js/internals/shared-store.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=o("./node_modules/core-js/internals/set-global.js"),e="__core-js_shared__",s=r[e]||c(e,{});t.exports=s},"./node_modules/core-js/internals/shared.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-pure.js"),c=o("./node_modules/core-js/internals/shared-store.js");(t.exports=function(e,s){return c[e]||(c[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(t,a,o){var r=o("./node_modules/core-js/internals/fails.js");t.exports=function(c){return r(function(){var e=""[c]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-integer.js"),c=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(g,A){var w=c(e(g)),b=r(A),S=w.length,_,T;return b<0||b>=S?h?"":void 0:(_=w.charCodeAt(b),_<55296||_>56319||b+1===S||(T=w.charCodeAt(b+1))<56320||T>57343?h?w.charAt(b):_:h?w.slice(b,b+2):(_-55296<<10)+(T-56320)+65536)}};t.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js":function(t,a,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js"),c=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+"*$"),g=function(w){return function(b){var S=c(r(b));return w&1&&(S=S.replace(u,"")),w&2&&(S=S.replace(h,"")),S}};t.exports={start:g(1),end:g(2),trim:g(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-integer.js"),c=Math.max,e=Math.min;t.exports=function(s,u){var h=r(s);return h<0?c(h+u,0):e(h,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(t,a,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),c=o("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(e){return r(c(e))}},"./node_modules/core-js/internals/to-integer.js":function(t){var a=Math.ceil,o=Math.floor;t.exports=function(r){return isNaN(r=+r)?0:(r>0?o:a)(r)}},"./node_modules/core-js/internals/to-length.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-integer.js"),c=Math.min;t.exports=function(e){return e>0?c(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(t,a,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(c){return Object(r(c))}},"./node_modules/core-js/internals/to-primitive.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-object.js"),c=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");t.exports=function(h,g){if(!r(h)||c(h))return h;var A=h[u],w;if(A!==void 0){if(g===void 0&&(g="default"),w=A.call(h,g),!r(w)||c(w))return w;throw TypeError("Can't convert object to primitive value")}return g===void 0&&(g="number"),e(h,g)}},"./node_modules/core-js/internals/to-property-key.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-primitive.js"),c=o("./node_modules/core-js/internals/is-symbol.js");t.exports=function(e){var s=r(e,"string");return c(s)?s:String(s)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(t,a,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),c=r("toStringTag"),e={};e[c]="z",t.exports=String(e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(t,a,o){var r=o("./node_modules/core-js/internals/is-symbol.js");t.exports=function(c){if(r(c))throw TypeError("Cannot convert a Symbol value to a string");return String(c)}},"./node_modules/core-js/internals/uid.js":function(t){var a=0,o=Math.random();t.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++a+o).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(t,a,o){var r=o("./node_modules/core-js/internals/native-symbol.js");t.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(t,a,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js");a.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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"),g=c("wks"),A=r.Symbol,w=h?A:A&&A.withoutSetter||s;t.exports=function(b){return(!e(g,b)||!(u||typeof g[b]=="string"))&&(u&&e(A,b)?g[b]=A[b]:g[b]=w("Symbol."+b)),g[b]}},"./node_modules/core-js/internals/whitespaces.js":function(t){t.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(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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"),g=o("./node_modules/core-js/internals/create-property.js"),A=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"),S=o("./node_modules/core-js/internals/engine-v8-version.js"),_=b("isConcatSpreadable"),T=9007199254740991,x="Maximum allowed index exceeded",C=S>=51||!c(function(){var k=[];return k[_]=!1,k.concat()[0]!==k}),I=w("concat"),L=function(R){if(!s(R))return!1;var j=R[_];return j!==void 0?!!j:e(R)},M=!C||!I;r({target:"Array",proto:!0,forced:M},{concat:function(R){var j=u(this),V=A(j,0),D=0,H,P,K,U,G;for(H=-1,K=arguments.length;H<K;H++)if(G=H===-1?j:arguments[H],L(G)){if(U=h(G.length),D+U>T)throw TypeError(x);for(P=0;P<U;P++,D++)P in G&&g(V,D,G[P])}else{if(D>=T)throw TypeError(x);g(V,D++,G)}return V.length=D,V}})},"./node_modules/core-js/modules/es.array.iterator.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/to-indexed-object.js"),c=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",g=s.set,A=s.getterFor(h);t.exports=u(Array,"Array",function(w,b){g(this,{type:h,target:r(w),index:0,kind:b})},function(){var w=A(this),b=w.target,S=w.kind,_=w.index++;return!b||_>=b.length?(w.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:_,done:!1}:S=="values"?{value:b[_],done:!1}:{value:[_,b[_]],done:!1}},"values"),e.Arguments=e.Array,c("keys"),c("values"),c("entries")},"./node_modules/core-js/modules/es.array.join.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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=c!=Object,g=s("join",",");r({target:"Array",proto:!0,forced:h||!g},{join:function(w){return u.call(e(this),w===void 0?",":w)}})},"./node_modules/core-js/modules/es.array.map.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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 c(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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"),g=o("./node_modules/core-js/internals/create-property.js"),A=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"),S=A("species"),_=[].slice,T=Math.max;r({target:"Array",proto:!0,forced:!b},{slice:function(C,I){var L=h(this),M=u(L.length),k=s(C,M),R=s(I===void 0?M:I,M),j,V,D;if(e(L)&&(j=L.constructor,typeof j=="function"&&(j===Array||e(j.prototype))?j=void 0:c(j)&&(j=j[S],j===null&&(j=void 0)),j===Array||j===void 0))return _.call(L,k,R);for(V=new(j===void 0?Array:j)(T(R-k,0)),D=0;k<R;k++,D++)k in L&&g(V,D,L[k]);return V.length=D,V}})},"./node_modules/core-js/modules/es.function.name.js":function(t,a,o){var r=o("./node_modules/core-js/internals/descriptors.js"),c=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)&&c(e,h,{configurable:!0,get:function(){try{return s.call(this).match(u)[1]}catch(A){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/descriptors.js"),c=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"),g=o("./node_modules/core-js/internals/inherit-if-required.js"),A=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"),S=o("./node_modules/core-js/internals/object-create.js"),_=o("./node_modules/core-js/internals/object-get-own-property-names.js").f,T=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=c[I],M=L.prototype,k=h(S(M))==I,R=function(K){if(A(K))throw TypeError("Cannot convert a Symbol value to a number");var U=w(K,"number"),G,W,Z,J,ve,q,ce,be;if(typeof U=="string"&&U.length>2){if(U=C(U),G=U.charCodeAt(0),G===43||G===45){if(W=U.charCodeAt(2),W===88||W===120)return NaN}else if(G===48){switch(U.charCodeAt(1)){case 66:case 98:Z=2,J=49;break;case 79:case 111:Z=8,J=55;break;default:return+U}for(ve=U.slice(2),q=ve.length,ce=0;ce<q;ce++)if(be=ve.charCodeAt(ce),be<48||be>J)return NaN;return parseInt(ve,Z)}}return+U};if(e(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var j=function(K){var U=arguments.length<1?0:K,G=this;return G instanceof j&&(k?b(function(){M.valueOf.call(G)}):h(G)!=I)?g(new L(R(U)),G,j):R(U)},V=r?_(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(","),D=0,H;V.length>D;D++)u(L,H=V[D])&&!u(j,H)&&x(j,H,T(L,H));j.prototype=M,M.constructor=j,s(c,I,j)}},"./node_modules/core-js/modules/es.object.assign.js":function(t,a,o){var r=o("./node_modules/core-js/internals/export.js"),c=o("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==c},{assign:c})},"./node_modules/core-js/modules/es.object.keys.js":function(t,a,o){var r=o("./node_modules/core-js/internals/export.js"),c=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(g){return e(c(g))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(t,a,o){var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),c=o("./node_modules/core-js/internals/redefine.js"),e=o("./node_modules/core-js/internals/object-to-string.js");r||c(Object.prototype,"toString",e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/redefine.js"),c=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",g=RegExp.prototype,A=g[h],w=s(function(){return A.call({source:"a",flags:"b"})!="/a/b"}),b=A.name!=h;(w||b)&&r(RegExp.prototype,h,function(){var _=c(this),T=e(_.source),x=_.flags,C=e(x===void 0&&_ instanceof RegExp&&!("flags"in g)?u.call(_):x);return"/"+T+"/"+C},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/string-multibyte.js").charAt,c=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,g=e.getterFor(u);s(String,"String",function(A){h(this,{type:u,string:c(A),index:0})},function(){var w=g(this),b=w.string,S=w.index,_;return S>=b.length?{value:void 0,done:!0}:(_=r(b,S),w.index+=_.length,{value:_,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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 c(this,"a","href",u)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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,g=o("./node_modules/core-js/internals/copy-constructor-properties.js"),A=e.Symbol;if(c&&typeof A=="function"&&(!("description"in A.prototype)||A().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 A(I):I===void 0?A():A(I);return I===""&&(w[L]=!0),L};g(b,A);var S=b.prototype=A.prototype;S.constructor=b;var _=S.toString,T=String(A("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;h(S,"description",{configurable:!0,get:function(){var I=u(this)?this.valueOf():this,L=_.call(I);if(s(w,I))return"";var M=T?L.slice(7,-1):L.replace(x,"$1");return M===""?void 0:M}}),r({global:!0,forced:!0},{Symbol:b})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(t,a,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(t,a,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),c=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"),g=o("./node_modules/core-js/internals/fails.js"),A=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"),S=o("./node_modules/core-js/internals/is-symbol.js"),_=o("./node_modules/core-js/internals/an-object.js"),T=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"),M=o("./node_modules/core-js/internals/object-create.js"),k=o("./node_modules/core-js/internals/object-keys.js"),R=o("./node_modules/core-js/internals/object-get-own-property-names.js"),j=o("./node_modules/core-js/internals/object-get-own-property-names-external.js"),V=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),D=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),H=o("./node_modules/core-js/internals/object-define-property.js"),P=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),U=o("./node_modules/core-js/internals/redefine.js"),G=o("./node_modules/core-js/internals/shared.js"),W=o("./node_modules/core-js/internals/shared-key.js"),Z=o("./node_modules/core-js/internals/hidden-keys.js"),J=o("./node_modules/core-js/internals/uid.js"),ve=o("./node_modules/core-js/internals/well-known-symbol.js"),q=o("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ce=o("./node_modules/core-js/internals/define-well-known-symbol.js"),be=o("./node_modules/core-js/internals/set-to-string-tag.js"),Ce=o("./node_modules/core-js/internals/internal-state.js"),Fe=o("./node_modules/core-js/internals/array-iteration.js").forEach,fe=W("hidden"),Ne="Symbol",Q="prototype",ae=ve("toPrimitive"),Ue=Ce.set,te=Ce.getterFor(Ne),X=Object[Q],z=c.Symbol,Y=e("JSON","stringify"),pe=D.f,se=H.f,Te=j.f,Se=P.f,ie=G("symbols"),de=G("op-symbols"),_e=G("string-to-symbol-registry"),We=G("symbol-to-string-registry"),at=G("wks"),tt=c.QObject,Oe=!tt||!tt[Q]||!tt[Q].findChild,yt=u&&g(function(){return M(se({},"a",{get:function(){return se(this,"a",{value:7}).a}})).a!=7})?function(wt,qe,he){var kt=pe(X,qe);kt&&delete X[qe],se(wt,qe,he),kt&&wt!==X&&se(X,qe,kt)}:se,Ye=function(qe,he){var kt=ie[qe]=M(z[Q]);return Ue(kt,{type:Ne,tag:qe,description:he}),u||(kt.description=he),kt},bt=function(qe,he,kt){qe===X&&bt(de,he,kt),_(qe);var nr=C(he);return _(kt),A(ie,nr)?(kt.enumerable?(A(qe,fe)&&qe[fe][nr]&&(qe[fe][nr]=!1),kt=M(kt,{enumerable:L(0,!1)})):(A(qe,fe)||se(qe,fe,L(1,{})),qe[fe][nr]=!0),yt(qe,nr,kt)):se(qe,nr,kt)},Ct=function(qe,he){_(qe);var kt=x(he),nr=k(kt).concat(ge(kt));return Fe(nr,function(lt){(!u||Ft.call(kt,lt))&&bt(qe,lt,kt[lt])}),qe},It=function(qe,he){return he===void 0?M(qe):Ct(M(qe),he)},Ft=function(qe){var he=C(qe),kt=Se.call(this,he);return this===X&&A(ie,he)&&!A(de,he)?!1:kt||!A(this,he)||!A(ie,he)||A(this,fe)&&this[fe][he]?kt:!0},Vt=function(qe,he){var kt=x(qe),nr=C(he);if(kt===X&&A(ie,nr)&&!A(de,nr))return;var lt=pe(kt,nr);return lt&&A(ie,nr)&&!(A(kt,fe)&&kt[fe][nr])&&(lt.enumerable=!0),lt},$e=function(qe){var he=Te(x(qe)),kt=[];return Fe(he,function(nr){!A(ie,nr)&&!A(Z,nr)&&kt.push(nr)}),kt},ge=function(qe){var he=qe===X,kt=Te(he?de:x(qe)),nr=[];return Fe(kt,function(lt){A(ie,lt)&&(!he||A(X,lt))&&nr.push(ie[lt])}),nr};if(h||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var qe=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),he=J(qe),kt=function nr(lt){this===X&&nr.call(de,lt),A(this,fe)&&A(this[fe],he)&&(this[fe][he]=!1),yt(this,he,L(1,lt))};return u&&Oe&&yt(X,he,{configurable:!0,set:kt}),Ye(he,qe)},U(z[Q],"toString",function(){return te(this).tag}),U(z,"withoutSetter",function(wt){return Ye(J(wt),wt)}),P.f=Ft,H.f=bt,D.f=Vt,R.f=j.f=$e,V.f=ge,q.f=function(wt){return Ye(ve(wt),wt)},u&&(se(z[Q],"description",{configurable:!0,get:function(){return te(this).description}}),s||U(X,"propertyIsEnumerable",Ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:z}),Fe(k(at),function(wt){ce(wt)}),r({target:Ne,stat:!0,forced:!h},{for:function(qe){var he=I(qe);if(A(_e,he))return _e[he];var kt=z(he);return _e[he]=kt,We[kt]=he,kt},keyFor:function(qe){if(!S(qe))throw TypeError(qe+" is not a symbol");if(A(We,qe))return We[qe]},useSetter:function(){Oe=!0},useSimple:function(){Oe=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!u},{create:It,defineProperty:bt,defineProperties:Ct,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:$e,getOwnPropertySymbols:ge}),r({target:"Object",stat:!0,forced:g(function(){V.f(1)})},{getOwnPropertySymbols:function(qe){return V.f(T(qe))}}),Y){var ne=!h||g(function(){var wt=z();return Y([wt])!="[null]"||Y({a:wt})!="{}"||Y(Object(wt))!="{}"});r({target:"JSON",stat:!0,forced:ne},{stringify:function(qe,he,kt){for(var nr=[qe],lt=1,Xt;arguments.length>lt;)nr.push(arguments[lt++]);return Xt=he,!b(he)&&qe===void 0||S(qe)?void 0:(w(he)||(he=function(Wr,mt){if(typeof Xt=="function"&&(mt=Xt.call(this,Wr,mt)),!S(mt))return mt}),nr[1]=he,Y.apply(null,nr))}})}z[Q][ae]||K(z[Q],ae,z[Q].valueOf),be(z,Ne),Z[fe]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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 c){var h=r[u],g=h&&h.prototype;if(g&&g.forEach!==e)try{s(g,"forEach",e)}catch(A){g.forEach=e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(t,a,o){var r=o("./node_modules/core-js/internals/global.js"),c=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"),g=u("toStringTag"),A=e.values;for(var w in c){var b=r[w],S=b&&b.prototype;if(S){if(S[h]!==A)try{s(S,h,A)}catch(T){S[h]=A}if(S[g]||s(S,g,w),c[w]){for(var _ in e)if(S[_]!==e[_])try{s(S,_,e[_])}catch(T){S[_]=e[_]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(t){/*!
* @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(a,o){t.exports=o()})(this,function(){"use strict";function a(tt){var Oe=typeof tt;return tt!==null&&(Oe==="object"||Oe==="function")}function o(tt){return typeof tt=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(Oe){return Object.prototype.toString.call(Oe)==="[object Array]"};var c=r,e=0,s=void 0,u=void 0,h=function(Oe,yt){k[e]=Oe,k[e+1]=yt,e+=2,e===2&&(u?u(R):V())};function g(tt){u=tt}function A(tt){h=tt}var w=typeof window!="undefined"?window:void 0,b=w||{},S=b.MutationObserver||b.WebKitMutationObserver,_=typeof self=="undefined"&&typeof m!="undefined"&&{}.toString.call(m)==="[object process]",T=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function x(){return function(){return m.nextTick(R)}}function C(){return typeof s!="undefined"?function(){s(R)}:M()}function I(){var tt=0,Oe=new S(R),yt=document.createTextNode("");return Oe.observe(yt,{characterData:!0}),function(){yt.data=tt=++tt%2}}function L(){var tt=new MessageChannel;return tt.port1.onmessage=R,function(){return tt.port2.postMessage(0)}}function M(){var tt=setTimeout;return function(){return tt(R,1)}}var k=new Array(1e3);function R(){for(var tt=0;tt<e;tt+=2){var Oe=k[tt],yt=k[tt+1];Oe(yt),k[tt]=void 0,k[tt+1]=void 0}e=0}function j(){try{var tt=Function("return this")().require("vertx");return s=tt.runOnLoop||tt.runOnContext,C()}catch(Oe){return M()}}var V=void 0;_?V=x():S?V=I():T?V=L():w===void 0&&!0?V=j():V=M();function D(tt,Oe){var yt=this,Ye=new this.constructor(K);Ye[P]===void 0&&Y(Ye);var bt=yt._state;if(bt){var Ct=arguments[bt-1];h(function(){return Ue(bt,Ye,Ct,yt._result)})}else Q(yt,Ye,tt,Oe);return Ye}function H(tt){var Oe=this;if(tt&&typeof tt=="object"&&tt.constructor===Oe)return tt;var yt=new Oe(K);return Ce(yt,tt),yt}var P=Math.random().toString(36).substring(2);function K(){}var U=void 0,G=1,W=2;function Z(){return new TypeError("You cannot resolve a promise with itself")}function J(){return new TypeError("A promises callback cannot return that same promise.")}function ve(tt,Oe,yt,Ye){try{tt.call(Oe,yt,Ye)}catch(bt){return bt}}function q(tt,Oe,yt){h(function(Ye){var bt=!1,Ct=ve(yt,Oe,function(It){if(bt)return;bt=!0,Oe!==It?Ce(Ye,It):fe(Ye,It)},function(It){if(bt)return;bt=!0,Ne(Ye,It)},"Settle: "+(Ye._label||" unknown promise"));!bt&&Ct&&(bt=!0,Ne(Ye,Ct))},tt)}function ce(tt,Oe){Oe._state===G?fe(tt,Oe._result):Oe._state===W?Ne(tt,Oe._result):Q(Oe,void 0,function(yt){return Ce(tt,yt)},function(yt){return Ne(tt,yt)})}function be(tt,Oe,yt){Oe.constructor===tt.constructor&&yt===D&&Oe.constructor.resolve===H?ce(tt,Oe):yt===void 0?fe(tt,Oe):o(yt)?q(tt,Oe,yt):fe(tt,Oe)}function Ce(tt,Oe){if(tt===Oe)Ne(tt,Z());else if(a(Oe)){var yt=void 0;try{yt=Oe.then}catch(Ye){Ne(tt,Ye);return}be(tt,Oe,yt)}else fe(tt,Oe)}function Fe(tt){tt._onerror&&tt._onerror(tt._result),ae(tt)}function fe(tt,Oe){if(tt._state!==U)return;tt._result=Oe,tt._state=G,tt._subscribers.length!==0&&h(ae,tt)}function Ne(tt,Oe){if(tt._state!==U)return;tt._state=W,tt._result=Oe,h(Fe,tt)}function Q(tt,Oe,yt,Ye){var bt=tt._subscribers,Ct=bt.length;tt._onerror=null,bt[Ct]=Oe,bt[Ct+G]=yt,bt[Ct+W]=Ye,Ct===0&&tt._state&&h(ae,tt)}function ae(tt){var Oe=tt._subscribers,yt=tt._state;if(Oe.length===0)return;for(var Ye=void 0,bt=void 0,Ct=tt._result,It=0;It<Oe.length;It+=3)Ye=Oe[It],bt=Oe[It+yt],Ye?Ue(yt,Ye,bt,Ct):bt(Ct);tt._subscribers.length=0}function Ue(tt,Oe,yt,Ye){var bt=o(yt),Ct=void 0,It=void 0,Ft=!0;if(bt){try{Ct=yt(Ye)}catch(Vt){Ft=!1,It=Vt}if(Oe===Ct){Ne(Oe,J());return}}else Ct=Ye;Oe._state!==U||(bt&&Ft?Ce(Oe,Ct):Ft===!1?Ne(Oe,It):tt===G?fe(Oe,Ct):tt===W&&Ne(Oe,Ct))}function te(tt,Oe){try{Oe(function(Ye){Ce(tt,Ye)},function(Ye){Ne(tt,Ye)})}catch(yt){Ne(tt,yt)}}var X=0;function z(){return X++}function Y(tt){tt[P]=X++,tt._state=void 0,tt._result=void 0,tt._subscribers=[]}function pe(){return new Error("Array Methods must be provided an Array")}var se=function(){function tt(Oe,yt){this._instanceConstructor=Oe,this.promise=new Oe(K),this.promise[P]||Y(this.promise),c(yt)?(this.length=yt.length,this._remaining=yt.length,this._result=new Array(this.length),this.length===0?fe(this.promise,this._result):(this.length=this.length||0,this._enumerate(yt),this._remaining===0&&fe(this.promise,this._result))):Ne(this.promise,pe())}return tt.prototype._enumerate=function(yt){for(var Ye=0;this._state===U&&Ye<yt.length;Ye++)this._eachEntry(yt[Ye],Ye)},tt.prototype._eachEntry=function(yt,Ye){var bt=this._instanceConstructor,Ct=bt.resolve;if(Ct===H){var It=void 0,Ft=void 0,Vt=!1;try{It=yt.then}catch(ge){Vt=!0,Ft=ge}if(It===D&&yt._state!==U)this._settledAt(yt._state,Ye,yt._result);else if(typeof It!="function")this._remaining--,this._result[Ye]=yt;else if(bt===We){var $e=new bt(K);Vt?Ne($e,Ft):be($e,yt,It),this._willSettleAt($e,Ye)}else this._willSettleAt(new bt(function(ge){return ge(yt)}),Ye)}else this._willSettleAt(Ct(yt),Ye)},tt.prototype._settledAt=function(yt,Ye,bt){var Ct=this.promise;Ct._state===U&&(this._remaining--,yt===W?Ne(Ct,bt):this._result[Ye]=bt),this._remaining===0&&fe(Ct,this._result)},tt.prototype._willSettleAt=function(yt,Ye){var bt=this;Q(yt,void 0,function(Ct){return bt._settledAt(G,Ye,Ct)},function(Ct){return bt._settledAt(W,Ye,Ct)})},tt}();function Te(tt){return new se(this,tt).promise}function Se(tt){var Oe=this;return c(tt)?new Oe(function(yt,Ye){for(var bt=tt.length,Ct=0;Ct<bt;Ct++)Oe.resolve(tt[Ct]).then(yt,Ye)}):new Oe(function(yt,Ye){return Ye(new TypeError("You must pass an array to race."))})}function ie(tt){var Oe=this,yt=new Oe(K);return Ne(yt,tt),yt}function de(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _e(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var We=function(){function tt(Oe){this[P]=z(),this._result=this._state=void 0,this._subscribers=[],K!==Oe&&(typeof Oe!="function"&&de(),this instanceof tt?te(this,Oe):_e())}return tt.prototype.catch=function(yt){return this.then(null,yt)},tt.prototype.finally=function(yt){var Ye=this,bt=Ye.constructor;return o(yt)?Ye.then(function(Ct){return bt.resolve(yt()).then(function(){return Ct})},function(Ct){return bt.resolve(yt()).then(function(){throw Ct})}):Ye.then(yt,yt)},tt}();We.prototype.then=D,We.all=Te,We.race=Se,We.resolve=H,We.reject=ie,We._setScheduler=g,We._setAsap=A,We._asap=h;function at(){var tt=void 0;if(typeof y!="undefined")tt=y;else if(typeof self!="undefined")tt=self;else try{tt=Function("return this")()}catch(Ye){throw new Error("polyfill failed because global object is unavailable in this environment")}var Oe=tt.Promise;if(Oe){var yt=null;try{yt=Object.prototype.toString.call(Oe.resolve())}catch(Ye){}if(yt==="[object Promise]"&&!Oe.cast)return}tt.Promise=We}return We.polyfill=at,We.Promise=We,We})},html2canvas:function(t){"use strict";t.exports=p},jspdf:function(t){"use strict";t.exports=E}},f={};function d(n){var t=f[n];if(t!==void 0)return t.exports;var a=f[n]={exports:{}};return v[n].call(a.exports,a,a.exports,d),a.exports}!function(){d.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return d.d(t,{a:t}),t}}(),!function(){d.d=function(n,t){for(var a in t)d.o(t,a)&&!d.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:t[a]})}}(),!function(){d.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)}}(),!function(){d.r=function(n){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}();var l={};return!function(){"use strict";/*!**********************!*\
!*** ./src/index.js ***!
\**********************/d.r(l);var n=d("./src/worker.js"),t=d("./src/plugin/jspdf-plugin.js"),a=d("./src/plugin/pagebreaks.js"),o=d("./src/plugin/hyperlinks.js"),r=function c(e,s){var u=new c.Worker(s);return e?u.from(e).save():u};r.Worker=n.default,l.default=r}(),l=l.default,l}()})}).call(this,i("yLpj"),i("Q2Ig"))},"1q3G":function(B,N,i){"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(B,N,i){var y=i("MBQ8"),m=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(p){return p.stack=null,m.superApply(this,"getInitialData",arguments)}}),E=m;B.exports=E},"1u/T":function(B,N,i){var y=i("ProS"),m={type:"selectDataRange",event:"dataRangeSelected",update:"update"};y.registerAction(m,function(E,p){p.eachComponent({mainType:"visualMap",query:E},function(v){v.setSelected(E.selected)})})},"1vzs":function(B,N,i){"use strict";i.d(N,"a",function(){return e});var y=i("q1tI"),m=i.n(y),E=i("HQEm"),p=i.n(E),v=i("gZBC"),f=i.n(v),d=i("NAnI"),l=i.n(d),n=i("V/uB"),t=i.n(n),a=i("kbBi"),o=i.n(a),r=i("w6Tc"),c=i.n(r);function e(s){var u=s.suffixIcon,h=s.clearIcon,g=s.menuItemSelectedIcon,A=s.removeIcon,w=s.loading,b=s.multiple,S=s.prefixCls,_=h;h||(_=y.createElement(o.a,null));var T=null;if(u!==void 0)T=u;else if(w)T=y.createElement(f.a,{spin:!0});else{var x="".concat(S,"-suffix");T=function(M){var k=M.open,R=M.showSearch;return k&&R?y.createElement(c.a,{className:x}):y.createElement(p.a,{className:x})}}var C=null;g!==void 0?C=g:b?C=y.createElement(l.a,null):C=null;var I=null;return A!==void 0?I=A:I=y.createElement(t.a,null),{clearIcon:_,suffixIcon:T,itemIcon:C,removeIcon:I}}},"1xaR":function(B,N,i){var y=i("ProS"),m=i("bYtY");i("qgGe"),i("NA0q"),i("RPvy");var E=i("mOdp"),p=i("y3NT"),v=i("0/Rx");y.registerVisual(m.curry(E,"sunburst")),y.registerLayout(m.curry(p,"sunburst")),y.registerProcessor(m.curry(v,"sunburst"))},"24YM":function(B,N,i){"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 m="size-sensor-object";N.SensorClassName=m;var E="-1";N.SensorTabIndex=E},"2548":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("6GrX"),p=i("IUWy"),v=i("IwbS"),f=i("Qxkt"),d=i("gPAo"),l=i("eRkO"),n=y.extendComponentView({type:"toolbox",render:function(a,o,r,c){var e=this.group;if(e.removeAll(),!a.get("show"))return;var s=+a.get("itemSize"),u=a.get("feature")||{},h=this._features||(this._features={}),g=[];m.each(u,function(b,S){g.push(S)}),new d(this._featureNames||[],g).add(A).update(A).remove(m.curry(A,null)).execute(),this._featureNames=g;function A(b,S){var _=g[b],T=g[S],x=u[_],C=new f(x,a,a.ecModel),I;if(c&&c.newTitle!=null&&c.featureName===_&&(x.title=c.newTitle),_&&!T){if(t(_))I={model:C,onclick:C.option.onclick,featureName:_};else{var L=p.get(_);if(!L)return;I=new L(C,o,r)}h[_]=I}else{if(I=h[T],!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,_),C.setIconStatus=function(M,k){var R=this.option,j=this.iconPaths;R.iconStatus=R.iconStatus||{},R.iconStatus[M]=k,j[M]&&j[M].trigger(k)},I.render&&I.render(C,o,r,c)}function w(b,S,_){var T=b.getModel("iconStyle"),x=b.getModel("emphasis.iconStyle"),C=S.getIcons?S.getIcons():b.get("icon"),I=b.get("title")||{};if(typeof C=="string"){var L=C,M=I;C={},I={},C[_]=L,I[_]=M}var k=b.iconPaths={};m.each(C,function(R,j){var V=v.createIcon(R,{},{x:-s/2,y:-s/2,width:s,height:s});V.setStyle(T.getItemStyle()),V.hoverStyle=x.getItemStyle(),V.setStyle({text:I[j],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var D=a.getModel("tooltip");D&&D.get("show")&&V.attr("tooltip",m.extend({content:I[j],formatter:D.get("formatter",!0)||function(){return I[j]},formatterParams:{componentType:"toolbox",name:j,title:I[j],$vars:["name","title"]},position:D.get("position",!0)||"bottom"},D.option)),v.setHoverStyle(V),a.get("showTitle")&&(V.__title=I[j],V.on("mouseover",function(){var H=x.getItemStyle(),P=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";V.setStyle({textFill:x.get("textFill")||H.fill||H.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||P})}).on("mouseout",function(){V.setStyle({textFill:null,textBackgroundColor:null})})),V.trigger(b.get("iconStatus."+j)||"normal"),e.add(V),V.on("click",m.bind(S.onclick,S,o,r,j)),k[j]=V})}l.layout(e,a,r),e.add(l.makeBackground(e.getBoundingRect(),a)),e.eachChild(function(b){var S=b.__title,_=b.hoverStyle;if(_&&S){var T=E.getBoundingRect(S,E.makeFont(_)),x=b.position[0]+e.position[0],C=b.position[1]+e.position[1]+s,I=!1;C+T.height>r.getHeight()&&(_.textPosition="top",I=!0);var L=I?-5-T.height:s+8;x+T.width/2>r.getWidth()?(_.textPosition=["100%",L],_.textAlign="right"):x-T.width/2<0&&(_.textPosition=[0,L],_.textAlign="left")}})},updateView:function(a,o,r,c){m.each(this._features,function(e){e.updateView&&e.updateView(e.model,o,r,c)})},remove:function(a,o){m.each(this._features,function(r){r.remove&&r.remove(a,o)}),this.group.removeAll()},dispose:function(a,o){m.each(this._features,function(r){r.dispose&&r.dispose(a,o)})}});function t(a){return a.indexOf("my")===0}B.exports=n},"2B6p":function(B,N){function i(y,m,E){var p=y.getZoom(),v=y.getCenter(),f=m.zoom,d=y.dataToPoint(v);if(m.dx!=null&&m.dy!=null){d[0]-=m.dx,d[1]-=m.dy;var v=y.pointToData(d);y.setCenter(v)}if(f!=null){if(E){var l=E.min||0,n=E.max||Infinity;f=Math.max(Math.min(p*f,n),l)/p}y.scale[0]*=f,y.scale[1]*=f;var t=y.position,a=(m.originX-t[0])*(f-1),o=(m.originY-t[1])*(f-1);t[0]-=a,t[1]-=o,y.updateTransform();var v=y.pointToData(d);y.setCenter(v),y.setZoom(f*p)}return{center:y.getCenter(),zoom:y.getZoom()}}N.updateCenterAndZoom=i},"2BaD":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseCircleOutlined";var d=N.a=m.forwardRef(f)},"2DNl":function(B,N,i){var y=i("IMiH"),m=i("loD1"),E=i("59Ip"),p=i("aKvl"),v=i("n1HI"),f=i("hX1E"),d=f.normalizeRadian,l=i("Sj9i"),n=i("hyiK"),t=y.CMD,a=Math.PI*2,o=1e-4;function r(S,_){return Math.abs(S-_)<o}var c=[-1,-1,-1],e=[-1,-1];function s(){var S=e[0];e[0]=e[1],e[1]=S}function u(S,_,T,x,C,I,L,M,k,R){if(R>_&&R>x&&R>I&&R>M||R<_&&R<x&&R<I&&R<M)return 0;var j=l.cubicRootAt(_,x,I,M,R,c);if(j===0)return 0;for(var V=0,D=-1,H,P,K=0;K<j;K++){var U=c[K],G=U===0||U===1?.5:1,W=l.cubicAt(S,T,C,L,U);if(W<k)continue;D<0&&(D=l.cubicExtrema(_,x,I,M,e),e[1]<e[0]&&D>1&&s(),H=l.cubicAt(_,x,I,M,e[0]),D>1&&(P=l.cubicAt(_,x,I,M,e[1]))),D===2?U<e[0]?V+=H<_?G:-G:U<e[1]?V+=P<H?G:-G:V+=M<P?G:-G:U<e[0]?V+=H<_?G:-G:V+=M<H?G:-G}return V}function h(S,_,T,x,C,I,L,M){if(M>_&&M>x&&M>I||M<_&&M<x&&M<I)return 0;var k=l.quadraticRootAt(_,x,I,M,c);if(k===0)return 0;var R=l.quadraticExtremum(_,x,I);if(R>=0&&R<=1){for(var j=0,V=l.quadraticAt(_,x,I,R),D=0;D<k;D++){var H=c[D]===0||c[D]===1?.5:1,P=l.quadraticAt(S,T,C,c[D]);if(P<L)continue;c[D]<R?j+=V<_?H:-H:j+=I<V?H:-H}return j}else{var H=c[0]===0||c[0]===1?.5:1,P=l.quadraticAt(S,T,C,c[0]);return P<L?0:I<_?H:-H}}function g(S,_,T,x,C,I,L,M){if(M-=_,M>T||M<-T)return 0;var k=Math.sqrt(T*T-M*M);c[0]=-k,c[1]=k;var R=Math.abs(x-C);if(R<1e-4)return 0;if(R%a<1e-4){x=0,C=a;var j=I?1:-1;return L>=c[0]+S&&L<=c[1]+S?j:0}if(I){var k=x;x=d(C),C=d(k)}else x=d(x),C=d(C);x>C&&(C+=a);for(var V=0,D=0;D<2;D++){var H=c[D];if(H+S>L){var P=Math.atan2(M,H),j=I?1:-1;P<0&&(P=a+P),(P>=x&&P<=C||P+a>=x&&P+a<=C)&&(P>Math.PI/2&&P<Math.PI*1.5&&(j=-j),V+=j)}}return V}function A(S,_,T,x,C){for(var I=0,L=0,M=0,k=0,R=0,j=0;j<S.length;){var V=S[j++];V===t.M&&j>1&&(T||(I+=n(L,M,k,R,x,C))),j===1&&(L=S[j],M=S[j+1],k=L,R=M);switch(V){case t.M:k=S[j++],R=S[j++],L=k,M=R;break;case t.L:if(T){if(m.containStroke(L,M,S[j],S[j+1],_,x,C))return!0}else I+=n(L,M,S[j],S[j+1],x,C)||0;L=S[j++],M=S[j++];break;case t.C:if(T){if(E.containStroke(L,M,S[j++],S[j++],S[j++],S[j++],S[j],S[j+1],_,x,C))return!0}else I+=u(L,M,S[j++],S[j++],S[j++],S[j++],S[j],S[j+1],x,C)||0;L=S[j++],M=S[j++];break;case t.Q:if(T){if(p.containStroke(L,M,S[j++],S[j++],S[j],S[j+1],_,x,C))return!0}else I+=h(L,M,S[j++],S[j++],S[j],S[j+1],x,C)||0;L=S[j++],M=S[j++];break;case t.A:var D=S[j++],H=S[j++],P=S[j++],K=S[j++],U=S[j++],G=S[j++];j+=1;var W=1-S[j++],Z=Math.cos(U)*P+D,J=Math.sin(U)*K+H;j>1?I+=n(L,M,Z,J,x,C):(k=Z,R=J);var ve=(x-D)*K/P+D;if(T){if(v.containStroke(D,H,K,U,U+G,W,_,ve,C))return!0}else I+=g(D,H,K,U,U+G,W,ve,C);L=Math.cos(U+G)*P+D,M=Math.sin(U+G)*K+H;break;case t.R:k=L=S[j++],R=M=S[j++];var q=S[j++],ce=S[j++],Z=k+q,J=R+ce;if(T){if(m.containStroke(k,R,Z,R,_,x,C)||m.containStroke(Z,R,Z,J,_,x,C)||m.containStroke(Z,J,k,J,_,x,C)||m.containStroke(k,J,k,R,_,x,C))return!0}else I+=n(Z,R,Z,J,x,C),I+=n(k,J,k,R,x,C);break;case t.Z:if(T){if(m.containStroke(L,M,k,R,_,x,C))return!0}else I+=n(L,M,k,R,x,C);L=k,M=R;break}}return!T&&!r(M,R)&&(I+=n(L,M,k,R,x,C)||0),I!==0}function w(S,_,T){return A(S,0,!1,_,T)}function b(S,_,T,x){return A(S,_,!0,T,x)}N.contain=w,N.containStroke=b},"2KFj":function(B,N,i){"use strict";i.d(N,"a",function(){return E});var y=i("XPR9");function m(p,v){for(;!Object.prototype.hasOwnProperty.call(p,v)&&!(p=Object(y.a)(p),p===null););return p}function E(p,v,f){return typeof Reflect!="undefined"&&Reflect.get?E=Reflect.get:E=function(l,n,t){var a=m(l,n);if(!a)return;var o=Object.getOwnPropertyDescriptor(a,n);return o.get?o.get.call(t):o.value},E(p,v,f||p)}},"2Qr1":function(B,N,i){"use strict";i.d(N,"d",function(){return n}),i.d(N,"c",function(){return a}),i.d(N,"e",function(){return o}),i.d(N,"b",function(){return e}),i.d(N,"f",function(){return s}),i.d(N,"g",function(){return u}),i.d(N,"a",function(){return h});var y=i("rePB"),m=i("KQm4"),E=i("T5bk"),p=i("U8pU"),v=i("VTBJ"),f=i("Kwbf"),d=i("WKfj");function l(g,A){var w=g.key,b;return"value"in g&&(b=g.value),w!=null?w:b!==void 0?b:"rc-index-key-".concat(A)}function n(g){var A=[];function w(b,S){b.forEach(function(_){S||!("options"in _)?A.push({key:l(_,A.length),groupOption:S,data:_}):(A.push({key:l(_,A.length),group:!0,data:_}),w(_.options,!0))})}return w(g,!1),A}function t(g){var A=Object(v.a)({},g);return"props"in A||Object.defineProperty(A,"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`."),A}}),A}function a(g,A){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=w.prevValueOptions,S=b===void 0?[]:b,_=new Map;return A.forEach(function(T){if(!T.group){var x=T.data;_.set(x.value,x)}}),g.map(function(T){var x=_.get(T);return x||(x=Object(v.a)({},S.find(function(C){return C._INTERNAL_OPTION_VALUE_===T}))),t(x)})}var o=function(A,w){var b=w.options,S=w.prevValue,_=w.labelInValue,T=w.optionLabelProp,x=a([A],b)[0],C={value:A},I,L=Object(d.d)(S);return _&&(I=L.find(function(M){return Object(p.a)(M)==="object"&&"value"in M?M.value===A:M.key===A})),I&&Object(p.a)(I)==="object"&&"label"in I?(C.label=I.label,x&&typeof I.label=="string"&&typeof x[T]=="string"&&I.label.trim()!==x[T].trim()&&Object(f.a)(!1,"`label` of `value` is not same as `label` in Select options.")):x&&T in x?C.label=x[T]:C.label=A,C.key=C.value,C};function r(g){return Object(d.d)(g).join("")}function c(g){return function(A,w){var b=A.toLowerCase();if("options"in w)return r(w.label).toLowerCase().includes(b);var S=w[g],_=r(S).toLowerCase();return _.includes(b)}}function e(g,A,w){var b=w.optionFilterProp,S=w.filterOption,_=[],T;return S===!1?A:(typeof S=="function"?T=S:T=c(b),A.forEach(function(x){if("options"in x){var C=T(g,x);if(C)_.push(x);else{var I=x.options.filter(function(L){return T(g,L)});I.length&&_.push(Object(v.a)(Object(v.a)({},x),{},{options:I}))}return}T(g,t(x))&&_.push(x)}),_)}function s(g,A){if(!A||!A.length)return null;var w=!1;function b(_,T){var x=Object(E.a)(T),C=x[0],I=x.slice(1);if(!C)return[_];var L=_.split(C);return w=w||L.length>1,L.reduce(function(M,k){return[].concat(Object(m.a)(M),Object(m.a)(b(k,I)))},[]).filter(function(M){return M})}var S=b(g,A);return w?S:null}function u(g,A){var w=a([g],A)[0];return w.disabled}function h(g,A,w,b){var S=Object(d.d)(A).slice().sort(),_=Object(m.a)(g),T=new Set;return g.forEach(function(x){x.options?x.options.forEach(function(C){T.add(C.value)}):T.add(x.value)}),S.forEach(function(x){var C=b?x.value:x;if(!T.has(C)){var I;_.push(b?(I={},Object(y.a)(I,w,x.label),Object(y.a)(I,"value",C),I):{value:C})}}),_}},"2dDv":function(B,N,i){var y=i("bYtY"),m=i("Fofx"),E=i("+TT/"),p=i("aX7z"),v=i("D1WM"),f=i("IwbS"),d=i("OELB"),l=i("72pK"),n=y.each,t=Math.min,a=Math.max,o=Math.floor,r=Math.ceil,c=d.round,e=Math.PI;function s(w,b,S){this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=w.dimensions,this._rect,this._model=w,this._init(w,b,S)}s.prototype={type:"parallel",constructor:s,_init:function(w,b,S){var _=w.dimensions,T=w.parallelAxisIndex;n(_,function(x,C){var I=T[C],L=b.getComponent("parallelAxis",I),M=this._axesMap.set(x,new v(x,p.createScaleByModel(L),[0,0],L.get("type"),I)),k=M.type==="category";M.onBand=k&&L.get("boundaryGap"),M.inverse=L.get("inverse"),L.axis=M,M.model=L,M.coordinateSystem=L.coordinateSystem=this},this)},update:function(w,b){this._updateAxesFromSeries(this._model,w)},containPoint:function(w){var b=this._makeLayoutInfo(),S=b.axisBase,_=b.layoutBase,T=b.pixelDimIndex,x=w[1-T],C=w[T];return x>=S&&x<=S+b.axisLength&&C>=_&&C<=_+b.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(w,b){b.eachSeries(function(S){if(!w.contains(S,b))return;var _=S.getData();n(this.dimensions,function(T){var x=this._axesMap.get(T);x.scale.unionExtentFromData(_,_.mapDimension(T)),p.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(w,b){this._rect=E.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,S=["x","y"],_=["width","height"],T=w.get("layout"),x=T==="horizontal"?0:1,C=b[_[x]],I=[0,C],L=this.dimensions.length,M=u(w.get("axisExpandWidth"),I),k=u(w.get("axisExpandCount")||0,[0,L]),R=w.get("axisExpandable")&&L>3&&L>k&&k>1&&M>0&&C>0,j=w.get("axisExpandWindow"),V;if(j)V=u(j[1]-j[0],I),j[1]=j[0]+V;else{V=u(M*(k-1),I);var D=w.get("axisExpandCenter")||o(L/2);j=[M*D-V/2],j[1]=j[0]+V}var H=(C-V)/(L-k);H<3&&(H=0);var P=[o(c(j[0]/M,1))+1,r(c(j[1]/M,1))-1],K=H/M*j[0];return{layout:T,pixelDimIndex:x,layoutBase:b[S[x]],layoutLength:C,axisBase:b[S[1-x]],axisLength:b[_[1-x]],axisExpandable:R,axisExpandWidth:M,axisCollapseWidth:H,axisExpandWindow:j,axisCount:L,winInnerIndices:P,axisExpandWindow0Pos:K}},_layoutAxes:function(){var w=this._rect,b=this._axesMap,S=this.dimensions,_=this._makeLayoutInfo(),T=_.layout;b.each(function(x){var C=[0,_.axisLength],I=x.inverse?1:0;x.setExtent(C[I],C[1-I])}),n(S,function(x,C){var I=(_.axisExpandable?g:h)(C,_),L={horizontal:{x:I.position,y:_.axisLength},vertical:{x:0,y:I.position}},M={horizontal:e/2,vertical:0},k=[L[T].x+w.x,L[T].y+w.y],R=M[T],j=m.create();m.rotate(j,j,R),m.translate(j,j,k),this._axesLayout[x]={position:k,rotation:R,transform:j,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,S,_){S==null&&(S=0),_==null&&(_=w.count());var T=this._axesMap,x=this.dimensions,C=[],I=[];y.each(x,function(H){C.push(w.mapDimension(H)),I.push(T.get(H).model)});for(var L=this.hasAxisBrushed(),M=S;M<_;M++){var k;if(!L)k="normal";else{k="active";for(var R=w.getValues(C,M),j=0,V=x.length;j<V;j++){var D=I[j].getActiveState(R[j]);if(D==="inactive"){k="inactive";break}}}b(k,M)}},hasAxisBrushed:function(){for(var w=this.dimensions,b=this._axesMap,S=!1,_=0,T=w.length;_<T;_++)b.get(w[_]).model.getActiveState()!=="normal"&&(S=!0);return S},axisCoordToPoint:function(w,b){var S=this._axesLayout[b];return f.applyTransform([w,0],S.transform)},getAxisLayout:function(w){return y.clone(this._axesLayout[w])},getSlidedAxisExpandWindow:function(w){var b=this._makeLayoutInfo(),S=b.pixelDimIndex,_=b.axisExpandWindow.slice(),T=_[1]-_[0],x=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(w))return{behavior:"none",axisExpandWindow:_};var C=w[S]-b.layoutBase-b.axisExpandWindow0Pos,I,L="slide",M=b.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),R=k[0]!=null;if(M)R&&M&&C<T*k[0]?(L="jump",I=C-T*k[2]):R&&M&&C>T*(1-k[0])?(L="jump",I=C-T*(1-k[2])):(I=C-T*k[1])>=0&&(I=C-T*(1-k[1]))<=0&&(I=0),I*=b.axisExpandWidth/M,I?l(I,_,x,"all"):L="none";else{var T=_[1]-_[0],j=x[1]*C/T;_=[a(0,j-T/2)],_[1]=t(x[1],_[0]+T),_[0]=_[1]-T}return{axisExpandWindow:_,behavior:L}}};function u(w,b){return t(a(w,b[0]),b[1])}function h(w,b){var S=b.layoutLength/(b.axisCount-1);return{position:S*w,axisNameAvailableWidth:S,axisLabelShow:!0}}function g(w,b){var S=b.layoutLength,_=b.axisExpandWidth,T=b.axisCount,x=b.axisCollapseWidth,C=b.winInnerIndices,I,L=x,M=!1,k;return w<C[0]?(I=w*x,k=x):w<=C[1]?(I=b.axisExpandWindow0Pos+w*_-b.axisExpandWindow[0],L=_,M=!0):(I=S-(T-1-w)*x,k=x),{position:I,axisNameAvailableWidth:L,axisLabelShow:M,nameTruncateMaxWidth:k}}var A=s;B.exports=A},"2fGM":function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});y.merge(v.prototype,p);var f={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function d(l,n){return n.type||(n.data?"category":"value")}E("angle",v,d,f.angle),E("radius",v,d,f.radius)},"2fM7":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),o=i.n(a),r=i("q1tI"),c=i("BGR+"),e=i("TSYQ"),s=i.n(e),u=i("1OyB"),h=i("vuIU"),g=i("Ji7U"),A=i("LK+K"),w=i("rePB"),b=i("Ff2n"),S=i("ODXe"),_=i("4IlW"),T=i("bX4T"),x=i("YrtM"),C=i("+nKL"),I=i("8OUc"),L=function(z,Y){var pe=z.prefixCls,se=z.id,Te=z.flattenOptions,Se=z.childrenAsData,ie=z.values,de=z.searchValue,_e=z.multiple,We=z.defaultActiveFirstOption,at=z.height,tt=z.itemHeight,Oe=z.notFoundContent,yt=z.open,Ye=z.menuItemSelectedIcon,bt=z.virtual,Ct=z.onSelect,It=z.onToggleOpen,Ft=z.onActiveValue,Vt=z.onScroll,$e=z.onMouseEnter,ge="".concat(pe,"-item"),ne=Object(x.a)(function(){return Te},[yt,Te],function(rt,He){return He[0]&&rt[1]!==He[1]}),wt=r.useRef(null),qe=function(He){He.preventDefault()},he=function(He){wt.current&&wt.current.scrollTo({index:He})},kt=function(He){for(var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Rt=ne.length,sr=0;sr<Rt;sr+=1){var Jt=(He+sr*ze+Rt)%Rt,qt=ne[Jt],qr=qt.group,Fr=qt.data;if(!qr&&!Fr.disabled)return Jt}return-1},nr=r.useState(function(){return kt(0)}),lt=Object(S.a)(nr,2),Xt=lt[0],hr=lt[1],Wr=function(He){hr(He);var ze=ne[He];if(!ze){Ft(null,-1);return}Ft(ze.data.value,He)};r.useEffect(function(){Wr(We!==!1?kt(0):-1)},[ne.length,de]),r.useEffect(function(){var rt=setTimeout(function(){if(!_e&&yt&&ie.size===1){var He=Array.from(ie)[0],ze=ne.findIndex(function(Rt){var sr=Rt.data;return sr.value===He});Wr(ze),he(ze)}});return function(){return clearTimeout(rt)}},[yt]);var mt=function(He){He!==void 0&&Ct(He,{selected:!ie.has(He)}),_e||It(!1)};if(r.useImperativeHandle(Y,function(){return{onKeyDown:function(He){var ze=He.which;switch(ze){case _.a.UP:case _.a.DOWN:{var Rt=0;if(ze===_.a.UP?Rt=-1:ze===_.a.DOWN&&(Rt=1),Rt!==0){var sr=kt(Xt+Rt,Rt);he(sr),Wr(sr)}break}case _.a.ENTER:{var Jt=ne[Xt];Jt&&!Jt.data.disabled?mt(Jt.data.value):mt(void 0),yt&&He.preventDefault();break}case _.a.ESC:It(!1)}},onKeyUp:function(){},scrollTo:function(He){he(He)}}}),ne.length===0)return r.createElement("div",{role:"listbox",id:"".concat(se,"_list"),className:"".concat(ge,"-empty"),onMouseDown:qe},Oe);function Et(rt){var He=ne[rt];if(!He)return null;var ze=He.data||{},Rt=ze.value,sr=ze.label,Jt=ze.children,qt=Object(T.a)(ze,!0),qr=Se?Jt:sr;return He?r.createElement("div",Object.assign({"aria-label":typeof qr=="string"?qr:null},qt,{key:rt,role:"option",id:"".concat(se,"_list_").concat(rt),"aria-selected":ie.has(Rt)}),Rt):null}return r.createElement(r.Fragment,null,r.createElement("div",{role:"listbox",id:"".concat(se,"_list"),style:{height:0,width:0,overflow:"hidden"}},Et(Xt-1),Et(Xt),Et(Xt+1)),r.createElement(C.a,{itemKey:"key",ref:wt,data:ne,height:at,itemHeight:tt,fullHeight:!1,onMouseDown:qe,onScroll:Vt,virtual:bt,onMouseEnter:$e},function(rt,He){var ze,Rt=rt.group,sr=rt.groupOption,Jt=rt.data,qt=Jt.label,qr=Jt.key;if(Rt)return r.createElement("div",{className:s()(ge,"".concat(ge,"-group"))},qt!==void 0?qt:qr);var Fr=Jt.disabled,mn=Jt.value,Tt=Jt.title,St=Jt.children,Re=Jt.style,Ve=Jt.className,Xe=Object(b.a)(Jt,["disabled","value","title","children","style","className"]),ct=ie.has(mn),tr="".concat(ge,"-option"),ir=s()(ge,tr,Ve,(ze={},Object(w.a)(ze,"".concat(tr,"-grouped"),sr),Object(w.a)(ze,"".concat(tr,"-active"),Xt===He&&!Fr),Object(w.a)(ze,"".concat(tr,"-disabled"),Fr),Object(w.a)(ze,"".concat(tr,"-selected"),ct),ze)),or=Se?St:qt,Xr=!Ye||typeof Ye=="function"||ct;return r.createElement("div",Object.assign({},Xe,{"aria-selected":ct,className:ir,title:Tt,onMouseMove:function(){if(Xt===He||Fr)return;Wr(He)},onClick:function(){Fr||mt(mn)},style:Re}),r.createElement("div",{className:"".concat(tr,"-content")},or||mn),r.isValidElement(Ye)||ct,Xr&&r.createElement(I.a,{className:"".concat(ge,"-option-state"),customizeIcon:Ye,customizeIconProps:{isSelected:ct}},ct?"\u2713":null))}))},M=r.forwardRef(L);M.displayName="OptionList";var k=M,R=function(){return null};R.isSelectOption=!0;var j=R,V=function(){return null};V.isSelectOptGroup=!0;var D=V,H=i("VTBJ"),P=i("Zm9Q");function K(X){var z=X.key,Y=X.props,pe=Y.children,se=Y.value,Te=Object(b.a)(Y,["children","value"]);return Object(H.a)({key:z,value:se!==void 0?se:z,children:pe},Te)}function U(X){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(P.a)(X).map(function(Y,pe){if(!r.isValidElement(Y)||!Y.type)return null;var se=Y.type.isSelectOptGroup,Te=Y.key,Se=Y.props,ie=Se.children,de=Object(b.a)(Se,["children"]);return z||!se?K(Y):Object(H.a)(Object(H.a)({key:"__RC_SELECT_GRP__".concat(Te===null?pe:Te,"__"),label:Te},de),{},{options:U(ie)})}).filter(function(Y){return Y})}var G=i("2Qr1"),W=i("qNPg"),Z=i("U8pU"),J=i("Kwbf"),ve=i("WKfj");function q(X){var z=X.mode,Y=X.options,pe=X.children,se=X.backfill,Te=X.allowClear,Se=X.placeholder,ie=X.getInputElement,de=X.showSearch,_e=X.onSearch,We=X.defaultOpen,at=X.autoFocus,tt=X.labelInValue,Oe=X.value,yt=X.inputValue,Ye=X.optionLabelProp,bt=z==="multiple"||z==="tags",Ct=de!==void 0?de:bt||z==="combobox",It=Y||U(pe);if(Object(J.a)(z!=="tags"||It.every(function(ge){return!ge.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),z==="tags"||z==="combobox"){var Ft=It.some(function(ge){return ge.options?ge.options.some(function(ne){return typeof("value"in ne?ne.value:ne.key)=="number"}):typeof("value"in ge?ge.value:ge.key)=="number"});Object(J.a)(!Ft,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(z!=="combobox"||!Ye,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(z==="combobox"||!se,"`backfill` only works with `combobox` mode."),Object(J.a)(z==="combobox"||!ie,"`getInputElement` only work with `combobox` mode."),Object(J.b)(z!=="combobox"||!ie||!Te||!Se,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),_e&&!Ct&&z!=="combobox"&&z!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!We||at,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Oe!=null){var Vt=Object(ve.d)(Oe);Object(J.a)(!tt||Vt.every(function(ge){return Object(Z.a)(ge)==="object"&&("key"in ge||"value"in ge)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!bt||Array.isArray(Oe),"`value` should be array when `mode` is `multiple` or `tags`")}if(pe){var $e=null;Object(P.a)(pe).some(function(ge){if(!r.isValidElement(ge)||!ge.type)return!1;var ne=ge.type;if(ne.isSelectOption)return!1;if(ne.isSelectOptGroup){var wt=Object(P.a)(ge.props.children).every(function(qe){return!r.isValidElement(qe)||!ge.type||qe.type.isSelectOption?!0:($e=qe.type,!1)});return!wt}return $e=ne,!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)(yt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ce=q,be=Object(W.a)({prefixCls:"rc-select",components:{optionList:k},convertChildrenToData:U,flattenOptions:G.d,getLabeledValue:G.e,filterOptions:G.b,isValueDisabled:G.g,findValueOption:G.c,warningProps:ce,fillOptionsWithMissingValue:G.a}),Ce=function(X){Object(g.a)(Y,X);var z=Object(A.a)(Y);function Y(){var pe;return Object(u.a)(this,Y),pe=z.apply(this,arguments),pe.selectRef=r.createRef(),pe.focus=function(){pe.selectRef.current.focus()},pe.blur=function(){pe.selectRef.current.blur()},pe}return Object(h.a)(Y,[{key:"render",value:function(){return r.createElement(be,Object.assign({ref:this.selectRef},this.props))}}]),Y}(r.Component);Ce.Option=j,Ce.OptGroup=D;var Fe=Ce,fe=Fe,Ne=i("H84U"),Q=i("1vzs"),ae=i("3Nzz"),Ue=function(X){t()(Y,X);var z=o()(Y);function Y(){var pe;return f()(this,Y),pe=z.apply(this,arguments),pe.selectRef=r.createRef(),pe.focus=function(){pe.selectRef.current&&pe.selectRef.current.focus()},pe.blur=function(){pe.selectRef.current&&pe.selectRef.current.blur()},pe.getMode=function(){var se=pe.props.mode;return se==="combobox"?void 0:se===Y.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":se},pe.renderSelect=function(se){var Te=se.getPopupContainer,Se=se.getPrefixCls,ie=se.renderEmpty,de=se.direction,_e=se.virtual,We=se.dropdownMatchSelectWidth,at=pe.props,tt=at.prefixCls,Oe=at.notFoundContent,yt=at.className,Ye=at.size,bt=at.listHeight,Ct=bt===void 0?256:bt,It=at.listItemHeight,Ft=It===void 0?24:It,Vt=at.getPopupContainer,$e=at.dropdownClassName,ge=at.bordered,ne=Se("select",tt),wt=pe.getMode(),qe=wt==="multiple"||wt==="tags",he;Oe!==void 0?he=Oe:wt==="combobox"?he=null:he=ie("Select");var kt=Object(Q.a)(p()(p()({},pe.props),{multiple:qe,prefixCls:ne})),nr=kt.suffixIcon,lt=kt.itemIcon,Xt=kt.removeIcon,hr=kt.clearIcon,Wr=Object(c.default)(pe.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),mt=s()($e,m()({},"".concat(ne,"-dropdown-").concat(de),de==="rtl"));return r.createElement(ae.b.Consumer,null,function(Et){var rt,He=Ye||Et,ze=s()(yt,(rt={},m()(rt,"".concat(ne,"-lg"),He==="large"),m()(rt,"".concat(ne,"-sm"),He==="small"),m()(rt,"".concat(ne,"-rtl"),de==="rtl"),m()(rt,"".concat(ne,"-borderless"),!ge),rt));return r.createElement(fe,p()({ref:pe.selectRef,virtual:_e,dropdownMatchSelectWidth:We},Wr,{listHeight:Ct,listItemHeight:Ft,mode:wt,prefixCls:ne,direction:de,inputIcon:nr,menuItemSelectedIcon:lt,removeIcon:Xt,clearIcon:hr,notFoundContent:he,className:ze,getPopupContainer:Vt||Te,dropdownClassName:mt}))})},pe}return l()(Y,[{key:"render",value:function(){return r.createElement(Ne.a,null,this.renderSelect)}}]),Y}(r.Component);Ue.Option=j,Ue.OptGroup=D,Ue.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ue.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var te=N.a=Ue},"2fw6":function(B,N,i){var y=i("y+Vt"),m=y.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,v,f){f&&p.moveTo(v.cx+v.r,v.cy),p.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});B.exports=m},"2jpz":function(B,N,i){"use strict";i.d(N,"a",function(){return h});var y=i("cDf5"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("TSYQ"),f=i.n(v),d=i("gZBC"),l=i.n(d),n=i("vk+C"),t=i.n(n),a=i("pG52"),o=i.n(a),r=i("Csr3"),c=i.n(r),e=i("e5VY"),s=i.n(e),u=i("0n0R");function h(g,A,w,b){var S=b.isLeaf,_=b.expanded,T=b.loading;if(T)return E.createElement(l.a,{className:"".concat(g,"-switcher-loading-icon")});var x;if(w&&m()(w)==="object"&&(x=w.showLeafIcon),S)return w?m()(w)==="object"&&!x?E.createElement("span",{className:"".concat(g,"-switcher-leaf-line")}):E.createElement(t.a,{className:"".concat(g,"-switcher-line-icon")}):null;var C="".concat(g,"-switcher-icon");return Object(u.b)(A)?Object(u.a)(A,{className:f()(A.props.className||"",C)}):A||(w?_?E.createElement(o.a,{className:"".concat(g,"-switcher-line-icon")}):E.createElement(c.a,{className:"".concat(g,"-switcher-line-icon")}):E.createElement(s.a,{className:C}))}},"2oIt":function(B,N,i){"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(B,N,i){var y=i("ProS");i("ko1b"),i("s2lz"),i("RBEP");var m=i("kMLO"),E=i("nKiI");y.registerVisual(m),y.registerLayout(E)},"2w7y":function(B,N,i){var y=i("ProS");i("qMZE"),i("g0SD"),y.registerPreprocessor(function(m){m.markPoint=m.markPoint||{}})},"33Ds":function(B,N,i){var y=i("ProS"),m=i("b9oc"),E=i("Kagy"),p=i("IUWy"),v=E.toolbox.restore;function f(n){this.model=n}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:v.title};var d=f.prototype;d.onclick=function(n,t,a){m.clear(n),t.dispatchAction({type:"restore",from:this.uid})},p.register("restore",f),y.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(n,t){t.resetOption("recreate")});var l=f;B.exports=l},"34/K":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._lines=0}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,o,r){this._lines===0&&(this._lines=t);var c=r==8?1:4,e=n*c;if(a.rQwait("RAW",e))return!1;var s=l+(t-this._lines),u=Math.min(this._lines,Math.floor(a.rQlen/e)),h=a.rQ,g=a.rQi;if(r==8){for(var A=n*u,w=new Uint8Array(A*4),b=0;b<A;b++)w[b*4+0]=(h[g+b]>>0&3)*255/3,w[b*4+1]=(h[g+b]>>2&3)*255/3,w[b*4+2]=(h[g+b]>>4&3)*255/3,w[b*4+4]=0;h=w,g=0}return o.blitImage(d,s,n,u,h,g),a.rQskipBytes(u*e),this._lines-=u,!(this._lines>0)}}]),v}();N.default=p},"3690":function(B,N,i){"use strict";function y(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(a){return typeof a}:y=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y(n)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return E=function(){return n},n}function p(n){if(n&&n.__esModule)return n;if(n===null||y(n)!=="object"&&typeof n!="function")return{default:n};var t=E();if(t&&t.has(n))return t.get(n);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var c=o?Object.getOwnPropertyDescriptor(n,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=n[r]}return a.default=n,t&&t.set(n,a),a}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function f(n,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function d(n,t,a){return t&&f(n.prototype,t),a&&f(n,a),n}var l=function(){function n(){v(this,n),this._tiles=0,this._lastsubencoding=0}return d(n,[{key:"decodeRect",value:function(a,o,r,c,e,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(r/16),this._tilesY=Math.ceil(c/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 g=e.rQ,A=e.rQi,w=g[A];if(w>30)throw new Error("Illegal hextile subencoding (subencoding: "+w+")");var b=this._totalTiles-this._tiles,S=b%this._tilesX,_=Math.floor(b/this._tilesX),T=a+S*16,x=o+_*16,C=Math.min(16,a+r-T),I=Math.min(16,o+c-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=g[A+h-1];w&16?h+=L*(4+2):h+=L*2}if(e.rQwait("HEXTILE",h))return!1;if(A++,w===0)this._lastsubencoding&1?m.Debug(" Ignoring blank after RAW"):s.fillRect(T,x,C,I,this._background);else if(w&1)s.blitImage(T,x,C,I,g,A),A+=h-1;else{if(w&2&&(this._background=[g[A],g[A+1],g[A+2],g[A+3]],A+=4),w&4&&(this._foreground=[g[A],g[A+1],g[A+2],g[A+3]],A+=4),s.startTile(T,x,C,I,this._background),w&8){var M=g[A];A++;for(var k=0;k<M;k++){var R=void 0;w&16?(R=[g[A],g[A+1],g[A+2],g[A+3]],A+=4):R=this._foreground;var j=g[A];A++;var V=j>>4,D=j&15,H=g[A];A++;var P=(H>>4)+1,K=(H&15)+1;s.subTile(V,D,P,K,R)}}s.finishTile()}e.rQi=A,this._lastsubencoding=w,this._tiles--}return!0}}]),n}();N.default=l},"3C/r":function(B,N){var i=function(E,p){this.image=E,this.repeat=p,this.type="pattern"};i.prototype.getCanvasPattern=function(m){return m.createPattern(this.image,this.repeat||"repeat")};var y=i;B.exports=y},"3CBa":function(B,N,i){var y=i("hydK"),m=y.createElement,E=i("bYtY"),p=i("SUKs"),v=i("y+Vt"),f=i("Dagg"),d=i("dqUG"),l=i("DBLp"),n=i("sW+o"),t=i("n6Mw"),a=i("vKoX"),o=i("P47w"),r=o.path,c=o.image,e=o.text;function s(C){return parseInt(C,10)}function u(C){return C instanceof v?r:C instanceof f?c:C instanceof d?e:r}function h(C,I){return I&&C&&I.parentNode!==C}function g(C,I,L){if(h(C,I)&&L){var M=L.nextSibling;M?C.insertBefore(I,M):C.appendChild(I)}}function A(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 S(C){return C.__svgEl}var _=function(I,L,M,k){this.root=I,this.storage=L,this._opts=M=E.extend({},M||{});var R=m("svg");R.setAttribute("xmlns","http://www.w3.org/2000/svg"),R.setAttribute("version","1.1"),R.setAttribute("baseProfile","full"),R.style.cssText="user-select:none;position:absolute;left:0;top:0;";var j=m("g");R.appendChild(j);var V=m("g");R.appendChild(V),this.gradientManager=new n(k,V),this.clipPathManager=new t(k,V),this.shadowManager=new a(k,V);var D=document.createElement("div");D.style.cssText="overflow:hidden;position:relative",this._svgDom=R,this._svgRoot=V,this._backgroundRoot=j,this._viewport=D,I.appendChild(D),D.appendChild(R),this.resize(M.width,M.height),this._visibleList=[]};_.prototype={constructor:_,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=m("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,M=this._visibleList,k=I.length,R=[],j;for(j=0;j<k;j++){var V=I[j],D=u(V),H=S(V)||b(V);V.invisible||(V.__dirty&&(D&&D.brush(V),this.clipPathManager.update(V),V.style&&(this.gradientManager.update(V.style.fill),this.gradientManager.update(V.style.stroke),this.shadowManager.update(H,V)),V.__dirty=!1),R.push(V))}var P=l(M,R),K;for(j=0;j<P.length;j++){var U=P[j];if(U.removed)for(var G=0;G<U.count;G++){var V=M[U.indices[G]],H=S(V),W=b(V);w(L,H),w(L,W)}}for(j=0;j<P.length;j++){var U=P[j];if(U.added)for(var G=0;G<U.count;G++){var V=R[U.indices[G]],H=S(V),W=b(V);K?g(L,H,K):A(L,H),H?g(L,W,H):K?g(L,W,K):A(L,W),g(L,W,H),K=W||H||K,this.gradientManager.addWithoutUpdate(H||W,V),this.shadowManager.addWithoutUpdate(H||W,V),this.clipPathManager.markUsed(V)}else if(!U.removed)for(var G=0;G<U.count;G++){var V=R[U.indices[G]],H=S(V),W=b(V),H=S(V),W=b(V);this.gradientManager.markUsed(V),this.gradientManager.addWithoutUpdate(H||W,V),this.shadowManager.markUsed(V),this.shadowManager.addWithoutUpdate(H||W,V),this.clipPathManager.markUsed(V),W&&g(L,W,H),K=H||W||K}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=R},_getDefs:function(I){var L=this._svgDom,M=L.getElementsByTagName("defs");if(M.length===0)if(I){var M=L.insertBefore(m("defs"),L.firstChild);return M.contains||(M.contains=function(R){var j=M.children;if(!j)return!1;for(var V=j.length-1;V>=0;--V)if(j[V]===R)return!0;return!1}),M}else return null;else return M[0]},resize:function(I,L){var M=this._viewport;M.style.display="none";var k=this._opts;if(I!=null&&(k.width=I),L!=null&&(k.height=L),I=this._getSize(0),L=this._getSize(1),M.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var R=M.style;R.width=I+"px",R.height=L+"px";var j=this._svgDom;j.setAttribute("width",I),j.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,M=["width","height"][I],k=["clientWidth","clientHeight"][I],R=["paddingLeft","paddingTop"][I],j=["paddingRight","paddingBottom"][I];if(L[M]!=null&&L[M]!=="auto")return parseFloat(L[M]);var V=this.root,D=document.defaultView.getComputedStyle(V);return(V[k]||s(D[M])||s(V.style[M]))-(s(D[R])||0)-(s(D[j])||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 T(C){return function(){p('In SVG mode painter not support method "'+C+'"')}}E.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){_.prototype[C]=T(C)});var x=_;B.exports=x},"3LNs":function(B,N,i){var y=i("bYtY"),m=i("Yl7c"),E=i("IwbS"),p=i("zTMp"),v=i("YH21"),f=i("iLNv"),d=i("4NO4"),l=d.makeInner,n=l(),t=y.clone,a=y.bind;function o(){}o.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(g,A,w,b){var S=A.get("value"),_=A.get("status");if(this._axisModel=g,this._axisPointerModel=A,this._api=w,!b&&this._lastValue===S&&this._lastStatus===_)return;this._lastValue=S,this._lastStatus=_;var T=this._group,x=this._handle;if(!_||_==="hide"){T&&T.hide(),x&&x.hide();return}T&&T.show(),x&&x.show();var C={};this.makeElOption(C,S,g,A,w);var I=C.graphicKey;I!==this._lastGraphicKey&&this.clear(w),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(g,A);if(!T)T=this._group=new E.Group,this.createPointerEl(T,C,g,A),this.createLabelEl(T,C,g,A),w.getZr().add(T);else{var M=y.curry(r,A,L);this.updatePointerEl(T,C,M,A),this.updateLabelEl(T,C,M,A)}u(T,A,!0),this._renderHandle(S)},remove:function(g){this.clear(g)},dispose:function(g){this.clear(g)},determineAnimation:function(g,A){var w=A.get("animation"),b=g.axis,S=b.type==="category",_=A.get("snap");if(!_&&!S)return!1;if(w==="auto"||w==null){var T=this.animationThreshold;if(S&&b.getBandWidth()>T)return!0;if(_){var x=p.getAxisInfo(g).seriesDataCount,C=b.getExtent();return Math.abs(C[0]-C[1])/x>T}return!1}return w===!0},makeElOption:function(g,A,w,b,S){},createPointerEl:function(g,A,w,b){var S=A.pointer;if(S){var _=n(g).pointerEl=new E[S.type](t(A.pointer));g.add(_)}},createLabelEl:function(g,A,w,b){if(A.label){var S=n(g).labelEl=new E.Rect(t(A.label));g.add(S),e(S,b)}},updatePointerEl:function(g,A,w){var b=n(g).pointerEl;b&&A.pointer&&(b.setStyle(A.pointer.style),w(b,{shape:A.pointer.shape}))},updateLabelEl:function(g,A,w,b){var S=n(g).labelEl;S&&(S.setStyle(A.label.style),w(S,{shape:A.label.shape,position:A.label.position}),e(S,b))},_renderHandle:function(g){if(this._dragging||!this.updateHandleTransform)return;var A=this._axisPointerModel,w=this._api.getZr(),b=this._handle,S=A.getModel("handle"),_=A.get("status");if(!S.get("show")||!_||_==="hide"){b&&w.remove(b),this._handle=null;return}var T;this._handle||(T=!0,b=this._handle=E.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){v.stop(I.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),w.add(b)),u(b,A,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];b.setStyle(S.getItemStyle(null,x));var C=S.get("size");y.isArray(C)||(C=[C,C]),b.attr("scale",[C[0]/2,C[1]/2]),f.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(g,T)},_moveHandleToValue:function(g,A){r(this._axisPointerModel,!A&&this._moveAnimation,this._handle,s(this.getHandleTransform(g,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(g,A){var w=this._handle;if(!w)return;this._dragging=!0;var b=this.updateHandleTransform(s(w),[g,A],this._axisModel,this._axisPointerModel);this._payloadInfo=b,w.stopAnimation(),w.attr(s(b)),n(w).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var g=this._handle;if(!g)return;var A=this._payloadInfo,w=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:A.cursorPoint[0],y:A.cursorPoint[1],tooltipOption:A.tooltipOption,axesInfo:[{axisDim:w.axis.dim,axisIndex:w.componentIndex}]})},_onHandleDragEnd:function(g){this._dragging=!1;var A=this._handle;if(!A)return;var w=this._axisPointerModel.get("value");this._moveHandleToValue(w),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(g){this._lastValue=null,this._lastStatus=null;var A=g.getZr(),w=this._group,b=this._handle;A&&w&&(this._lastGraphicKey=null,w&&A.remove(w),b&&A.remove(b),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(g,A,w){return w=w||0,{x:g[w],y:g[1-w],width:A[w],height:A[1-w]}}},o.prototype.constructor=o;function r(g,A,w,b){c(n(w).lastProp,b)||(n(w).lastProp=b,A?E.updateProps(w,b,g):(w.stopAnimation(),w.attr(b)))}function c(g,A){if(y.isObject(g)&&y.isObject(A)){var w=!0;return y.each(A,function(b,S){w=w&&c(g[S],b)}),!!w}else return g===A}function e(g,A){g[A.get("label.show")?"show":"hide"]()}function s(g){return{position:g.position.slice(),rotation:g.rotation||0}}function u(g,A,w){var b=A.get("z"),S=A.get("zlevel");g&&g.traverse(function(_){_.type!=="group"&&(b!=null&&(_.z=b),S!=null&&(_.zlevel=S),_.silent=w)})}m.enableClassExtend(o);var h=o;B.exports=h},"3OrL":function(B,N,i){var y=i("bYtY"),m=i("6Ic6"),E=i("IwbS"),p=i("y+Vt"),v=["itemStyle"],f=["emphasis","itemStyle"],d=m.extend({type:"boxplot",render:function(r,c,e){var s=r.getData(),u=this.group,h=this._data;this._data||u.removeAll();var g=r.get("layout")==="horizontal"?1:0;s.diff(h).add(function(A){if(s.hasValue(A)){var w=s.getItemLayout(A),b=n(w,s,A,g,!0);s.setItemGraphicEl(A,b),u.add(b)}}).update(function(A,w){var b=h.getItemGraphicEl(w);if(!s.hasValue(A)){u.remove(b);return}var S=s.getItemLayout(A);b?t(S,b,s,A):b=n(S,s,A,g),u.add(b),s.setItemGraphicEl(A,b)}).remove(function(A){var w=h.getItemGraphicEl(A);w&&u.remove(w)}).execute(),this._data=s},remove:function(r){var c=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(s){s&&c.remove(s)})},dispose:y.noop}),l=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,c){var e=c.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 n(r,c,e,s,u){var h=r.ends,g=new l({shape:{points:u?a(h,s,r):h}});return t(r,g,c,e,u),g}function t(r,c,e,s,u){var h=e.hostModel,g=E[u?"initProps":"updateProps"];g(c,{shape:{points:r.ends}},h,s);var A=e.getItemModel(s),w=A.getModel(v),b=e.getItemVisual(s,"color"),S=w.getItemStyle(["borderColor"]);S.stroke=b,S.strokeNoScale=!0,c.useStyle(S),c.z2=100;var _=A.getModel(f).getItemStyle();E.setHoverStyle(c,_)}function a(r,c,e){return y.map(r,function(s){return s=s.slice(),s[c]=e.initBaseline,s})}var o=d;B.exports=o},"3S7+":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("q1tI"),l=i("U8pU"),n=i("VTBJ"),t=i("Ff2n"),a=i("uciX"),o={adjustX:1,adjustY:1},r=[0,0],c={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=c,s=function(P){var K=P.overlay,U=P.prefixCls,G=P.id,W=P.overlayInnerStyle;return d.createElement("div",{className:"".concat(U,"-inner"),id:G,role:"tooltip",style:W},typeof K=="function"?K():K)},u=s,h=function(P,K){var U=P.overlayClassName,G=P.trigger,W=G===void 0?["hover"]:G,Z=P.mouseEnterDelay,J=Z===void 0?0:Z,ve=P.mouseLeaveDelay,q=ve===void 0?.1:ve,ce=P.overlayStyle,be=P.prefixCls,Ce=be===void 0?"rc-tooltip":be,Fe=P.children,fe=P.onVisibleChange,Ne=P.afterVisibleChange,Q=P.transitionName,ae=P.animation,Ue=P.placement,te=Ue===void 0?"right":Ue,X=P.align,z=X===void 0?{}:X,Y=P.destroyTooltipOnHide,pe=Y===void 0?!1:Y,se=P.defaultVisible,Te=P.getTooltipContainer,Se=P.overlayInnerStyle,ie=Object(t.a)(P,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),de=Object(d.useRef)(null);Object(d.useImperativeHandle)(K,function(){return de.current});var _e=Object(n.a)({},ie);"visible"in P&&(_e.popupVisible=P.visible);var We=function(){var Ye=P.arrowContent,bt=Ye===void 0?null:Ye,Ct=P.overlay,It=P.id;return[d.createElement("div",{className:"".concat(Ce,"-arrow"),key:"arrow"},bt),d.createElement(u,{key:"content",prefixCls:Ce,id:It,overlay:Ct,overlayInnerStyle:Se})]},at=!1,tt=!1;if(typeof pe=="boolean")at=pe;else if(pe&&Object(l.a)(pe)==="object"){var Oe=pe.keepParent;at=Oe===!0,tt=Oe===!1}return d.createElement(a.a,Object.assign({popupClassName:U,prefixCls:Ce,popup:We,action:W,builtinPlacements:c,popupPlacement:te,ref:de,popupAlign:z,getPopupContainer:Te,onPopupVisibleChange:fe,afterPopupVisibleChange:Ne,popupTransitionName:Q,popupAnimation:ae,defaultPopupVisible:se,destroyPopupOnHide:at,autoDestroy:tt,mouseLeaveDelay:q,popupStyle:ce,mouseEnterDelay:J},_e),Fe)},g=Object(d.forwardRef)(h),A=g,w=i("TSYQ"),b=i.n(w),S={adjustX:1,adjustY:1},_={adjustX:0,adjustY:0},T=[0,0];function x(H){return typeof H=="boolean"?H?S:_:f()(f()({},_),H)}function C(H){var P=H.arrowWidth,K=P===void 0?5:P,U=H.horizontalArrowShift,G=U===void 0?16:U,W=H.verticalArrowShift,Z=W===void 0?8:W,J=H.autoAdjustOverflow,ve={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:[-(G+K),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Z+K)]},topRight:{points:["br","tc"],offset:[G+K,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Z+K)]},bottomRight:{points:["tr","bc"],offset:[G+K,4]},rightBottom:{points:["bl","cr"],offset:[4,Z+K]},bottomLeft:{points:["tl","bc"],offset:[-(G+K),4]},leftBottom:{points:["br","cl"],offset:[-4,Z+K]}};return Object.keys(ve).forEach(function(q){ve[q]=H.arrowPointAtCenter?f()(f()({},ve[q]),{overflow:x(J),targetOffset:T}):f()(f()({},c[q]),{overflow:x(J)}),ve[q].ignoreShake=!0}),ve}var I=i("0n0R"),L=i("H84U"),M=i("09Wf"),k=function(P,K){var U={},G=f()({},P);return K.forEach(function(W){P&&W in P&&(U[W]=P[W],delete G[W])}),{picked:U,omitted:G}},R=new RegExp("^(".concat(M.a.join("|"),")(-inverse)?$"));function j(H,P){var K=H.type;if((K.__ANT_BUTTON===!0||K.__ANT_SWITCH===!0||K.__ANT_CHECKBOX===!0||H.type==="button")&&H.props.disabled){var U=k(H.props.style,["position","left","right","top","bottom","float","display","zIndex"]),G=U.picked,W=U.omitted,Z=f()(f()({display:"inline-block"},G),{cursor:"not-allowed",width:H.props.block?"100%":null}),J=f()(f()({},W),{pointerEvents:"none"}),ve=Object(I.a)(H,{style:J,className:null});return d.createElement("span",{style:Z,className:b()(H.props.className,"".concat(P,"-disabled-compatible-wrapper"))},ve)}return H}var V=d.forwardRef(function(H,P){var K,U=d.useContext(L.b),G=U.getPopupContainer,W=U.getPrefixCls,Z=U.direction,J=d.useState(!!H.visible||!!H.defaultVisible),ve=p()(J,2),q=ve[0],ce=ve[1];d.useEffect(function(){"visible"in H&&ce(H.visible)},[H.visible]);var be=function(){var Oe=H.title,yt=H.overlay;return!Oe&&!yt&&Oe!==0},Ce=function(Oe){"visible"in H||ce(be()?!1:Oe),H.onVisibleChange&&!be()&&H.onVisibleChange(Oe)},Fe=function(){var Oe=H.builtinPlacements,yt=H.arrowPointAtCenter,Ye=H.autoAdjustOverflow;return Oe||C({arrowPointAtCenter:yt,autoAdjustOverflow:Ye})},fe=function(Oe,yt){var Ye=Fe(),bt=Object.keys(Ye).filter(function(Ft){return Ye[Ft].points[0]===yt.points[0]&&Ye[Ft].points[1]===yt.points[1]})[0];if(!bt)return;var Ct=Oe.getBoundingClientRect(),It={top:"50%",left:"50%"};bt.indexOf("top")>=0||bt.indexOf("Bottom")>=0?It.top="".concat(Ct.height-yt.offset[1],"px"):(bt.indexOf("Top")>=0||bt.indexOf("bottom")>=0)&&(It.top="".concat(-yt.offset[1],"px")),bt.indexOf("left")>=0||bt.indexOf("Right")>=0?It.left="".concat(Ct.width-yt.offset[0],"px"):(bt.indexOf("right")>=0||bt.indexOf("Left")>=0)&&(It.left="".concat(-yt.offset[0],"px")),Oe.style.transformOrigin="".concat(It.left," ").concat(It.top)},Ne=function(){var Oe=H.title,yt=H.overlay;return Oe===0?Oe:yt||Oe||""},Q=H.prefixCls,ae=H.openClassName,Ue=H.getPopupContainer,te=H.getTooltipContainer,X=H.overlayClassName,z=H.color,Y=H.overlayInnerStyle,pe=H.children,se=W("tooltip",Q),Te=q;!("visible"in H)&&be()&&(Te=!1);var Se=j(Object(I.b)(pe)?pe:d.createElement("span",null,pe),se),ie=Se.props,de=b()(ie.className,m()({},ae||"".concat(se,"-open"),!0)),_e=b()(X,(K={},m()(K,"".concat(se,"-rtl"),Z==="rtl"),m()(K,"".concat(se,"-").concat(z),z&&R.test(z)),K)),We,at;return z&&!R.test(z)&&(We=f()(f()({},Y),{background:z}),at={background:z}),d.createElement(A,f()({},H,{prefixCls:se,overlayClassName:_e,getTooltipContainer:Ue||te||G,ref:P,builtinPlacements:Fe(),overlay:Ne(),visible:Te,onVisibleChange:Ce,onPopupAlign:fe,overlayInnerStyle:We,arrowContent:d.createElement("span",{className:"".concat(se,"-arrow-content"),style:at})}),Te?Object(I.a)(Se,{className:de}):Se)});V.displayName="Tooltip",V.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var D=N.a=V},"3TkU":function(B,N,i){i("aTJb"),i("OlYY"),i("fc+c"),i("QUw5"),i("Swgg"),i("LBfv"),i("noeP")},"3X6L":function(B,N,i){var y=i("bYtY"),m=i("7a+S"),E=i("OKJ2"),p=m.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(p,E);var v=p;B.exports=v},"3dVZ":function(B,N,i){},"3e3G":function(B,N,i){var y=i("bYtY"),m=i("QuXc"),E=function(f,d,l,n,t){this.x=f==null?.5:f,this.y=d==null?.5:d,this.r=l==null?.5:l,this.type="radial",this.global=t||!1,m.call(this,n)};E.prototype={constructor:E},y.inherits(E,m);var p=E;B.exports=p},"3gBT":function(B,N){var i=2311;function y(){return i++}B.exports=y},"3hzK":function(B,N){var i={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")}}};B.exports=i},"3m61":function(B,N){function i(m){return m instanceof Array||(m=[m,m]),m}function y(m){m.eachSeriesByType("graph",function(E){var p=E.getGraph(),v=E.getEdgeData(),f=i(E.get("edgeSymbol")),d=i(E.get("edgeSymbolSize")),l="lineStyle.color".split("."),n="lineStyle.opacity".split(".");v.setVisual("fromSymbol",f&&f[0]),v.setVisual("toSymbol",f&&f[1]),v.setVisual("fromSymbolSize",d&&d[0]),v.setVisual("toSymbolSize",d&&d[1]),v.setVisual("color",E.get(l)),v.setVisual("opacity",E.get(n)),v.each(function(t){var a=v.getItemModel(t),o=p.getEdgeByIndex(t),r=i(a.getShallow("symbol",!0)),c=i(a.getShallow("symbolSize",!0)),e=a.get(l),s=a.get(n);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]),c[0]&&o.setVisual("fromSymbolSize",c[0]),c[1]&&o.setVisual("toSymbolSize",c[1]),o.setVisual("color",e),o.setVisual("opacity",s)})})}B.exports=y},"3ouR":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseSquareOutlined";var d=N.a=m.forwardRef(f)},"3zoK":function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("KCsZ"),p=i("nkfE"),v=i("OELB"),f=i("ICMv"),d=m.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return E([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(a){var o=this.activeIntervals=y.clone(a);if(o)for(var r=o.length-1;r>=0;r--)v.asc(o[r])},getActiveState:function(a){var o=this.activeIntervals;if(!o.length)return"normal";if(a==null||isNaN(a))return"inactive";if(o.length===1){var r=o[0];if(r[0]<=a&&a<=r[1])return"active"}else for(var c=0,e=o.length;c<e;c++)if(o[c][0]<=a&&a<=o[c][1])return"active";return"inactive"}}),l={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 n(a,o){return o.type||(o.data?"category":"value")}p("parallel",d,n,l);var t=d;B.exports=t},"4Feb":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("IwbS"),v=i("x3X8"),f=v.getDefaultLabel,d=i("MwEJ"),l=i("nVfU"),n=l.getLayoutOnAxis,t=i("gPAo"),a=i("T4UG"),o=i("Qxkt"),r=i("6Ic6"),c=i("sK/D"),e=c.createClipPath,s=i("qj72"),u=i("ANjR"),h=i("MHtr"),g=i("6usn"),A=i("Rx6q"),w=p.CACHED_LABEL_STYLE_PROPERTIES,b=["itemStyle"],S=["emphasis","itemStyle"],_=["label"],T=["emphasis","label"],x="e\0\0",C={cartesian2d:s,geo:u,singleAxis:h,polar:g,calendar:A};a.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(q,ce){return d(this.getSource(),this)},getDataParams:function(q,ce,be){var Ce=a.prototype.getDataParams.apply(this,arguments);return be&&(Ce.info=be.info),Ce}}),r.extend({type:"custom",_data:null,render:function(q,ce,be,Ce){var Fe=this._data,fe=q.getData(),Ne=this.group,Q=k(q,fe,ce,be);fe.diff(Fe).add(function(Ue){j(null,Ue,Q(Ue,Ce),q,Ne,fe)}).update(function(Ue,te){var X=Fe.getItemGraphicEl(te);j(X,Ue,Q(Ue,Ce),q,Ne,fe)}).remove(function(Ue){var te=Fe.getItemGraphicEl(Ue);te&&Ne.remove(te)}).execute();var ae=q.get("clip",!0)?e(q.coordinateSystem,!1,q):null;ae?Ne.setClipPath(ae):Ne.removeClipPath(),this._data=fe},incrementalPrepareRender:function(q,ce,be){this.group.removeAll(),this._data=null},incrementalRender:function(q,ce,be,Ce,Fe){var fe=ce.getData(),Ne=k(ce,fe,be,Ce);function Q(te){te.isGroup||(te.incremental=!0,te.useHoverLayer=!0)}for(var ae=q.start;ae<q.end;ae++){var Ue=j(null,ae,Ne(ae,Fe),ce,this.group,fe);Ue.traverse(Q)}},dispose:E.noop,filterForExposedEvent:function(q,ce,be,Ce){var Fe=ce.element;if(Fe==null||be.name===Fe)return!0;for(;(be=be.parent)&&be!==this.group;)if(be.name===Fe)return!0;return!1}});function I(q){var ce=q.type,be;if(ce==="path"){var Ce=q.shape,Fe=Ce.width!=null&&Ce.height!=null?{x:Ce.x||0,y:Ce.y||0,width:Ce.width,height:Ce.height}:null,fe=Z(Ce);be=p.makePath(fe,null,Fe,Ce.layout||"center"),be.__customPathData=fe}else if(ce==="image")be=new p.Image({}),be.__customImagePath=q.style.image;else if(ce==="text")be=new p.Text({}),be.__customText=q.style.text;else if(ce==="group")be=new p.Group;else{if(ce==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var Ne=p.getShapeClass(ce);be=new Ne}return be.__customGraphicType=ce,be.name=q.name,be}function L(q,ce,be,Ce,Fe,fe,Ne){var Q={},ae=be.style||{};if(be.shape&&(Q.shape=E.clone(be.shape)),be.position&&(Q.position=be.position.slice()),be.scale&&(Q.scale=be.scale.slice()),be.origin&&(Q.origin=be.origin.slice()),be.rotation&&(Q.rotation=be.rotation),q.type==="image"&&be.style){var Ue=Q.style={};E.each(["x","y","width","height"],function(z){M(z,Ue,ae,q.style,fe)})}if(q.type==="text"&&be.style){var Ue=Q.style={};E.each(["x","y"],function(Y){M(Y,Ue,ae,q.style,fe)}),!ae.hasOwnProperty("textFill")&&ae.fill&&(ae.textFill=ae.fill),!ae.hasOwnProperty("textStroke")&&ae.stroke&&(ae.textStroke=ae.stroke)}if(q.type!=="group"&&(q.useStyle(ae),fe)){q.style.opacity=0;var te=ae.opacity;te==null&&(te=1),p.initProps(q,{style:{opacity:te}},Ce,ce)}fe?q.attr(Q):p.updateProps(q,Q,Ce,ce),be.hasOwnProperty("z2")&&q.attr("z2",be.z2||0),be.hasOwnProperty("silent")&&q.attr("silent",be.silent),be.hasOwnProperty("invisible")&&q.attr("invisible",be.invisible),be.hasOwnProperty("ignore")&&q.attr("ignore",be.ignore),be.hasOwnProperty("info")&&q.attr("info",be.info);var X=be.styleEmphasis;p.setElementHoverStyle(q,X),Ne&&p.setAsHighDownDispatcher(q,X!==!1)}function M(q,ce,be,Ce,Fe){be[q]!=null&&!Fe&&(ce[q]=be[q],be[q]=Ce[q])}function k(q,ce,be,Ce){var Fe=q.get("renderItem"),fe=q.coordinateSystem,Ne={};fe&&(Ne=fe.prepareCustoms?fe.prepareCustoms():C[fe.type](fe));var Q=E.defaults({getWidth:Ce.getWidth,getHeight:Ce.getHeight,getZr:Ce.getZr,getDevicePixelRatio:Ce.getDevicePixelRatio,value:Te,style:Se,styleEmphasis:ie,visual:de,barLayout:_e,currentSeriesIndices:We,font:at},Ne.api||{}),ae={context:{},seriesId:q.id,seriesName:q.name,seriesIndex:q.seriesIndex,coordSys:Ne.coordSys,dataInsideLength:ce.count(),encode:R(q.getData())},Ue,te=!0,X,z,Y,pe;return function(tt,Oe){return Ue=tt,te=!0,Fe&&Fe(E.defaults({dataIndexInside:tt,dataIndex:ce.getRawIndex(tt),actionType:Oe?Oe.type:null},ae),Q)};function se(tt){tt==null&&(tt=Ue),te&&(X=ce.getItemModel(tt),z=X.getModel(_),Y=X.getModel(T),pe=ce.getItemVisual(tt,"color"),te=!1)}function Te(tt,Oe){return Oe==null&&(Oe=Ue),ce.get(ce.getDimension(tt||0),Oe)}function Se(tt,Oe){Oe==null&&(Oe=Ue),se(Oe);var yt=X.getModel(b).getItemStyle();pe!=null&&(yt.fill=pe);var Ye=ce.getItemVisual(Oe,"opacity");Ye!=null&&(yt.opacity=Ye);var bt=tt?U(tt,z):z;return p.setTextStyle(yt,bt,null,{autoColor:pe,isRectText:!0}),yt.text=bt.getShallow("show")?E.retrieve2(q.getFormattedLabel(Oe,"normal"),f(ce,Oe)):null,tt&&G(yt,tt),yt}function ie(tt,Oe){Oe==null&&(Oe=Ue),se(Oe);var yt=X.getModel(S).getItemStyle(),Ye=tt?U(tt,Y):Y;return p.setTextStyle(yt,Ye,null,{isRectText:!0},!0),yt.text=Ye.getShallow("show")?E.retrieve3(q.getFormattedLabel(Oe,"emphasis"),q.getFormattedLabel(Oe,"normal"),f(ce,Oe)):null,tt&&G(yt,tt),yt}function de(tt,Oe){return Oe==null&&(Oe=Ue),ce.getItemVisual(Oe,tt)}function _e(tt){if(fe.getBaseAxis){var Oe=fe.getBaseAxis();return n(E.defaults({axis:Oe},tt),Ce)}}function We(){return be.getCurrentSeriesIndices()}function at(tt){return p.getFont(tt,be)}}function R(q){var ce={};return E.each(q.dimensions,function(be,Ce){var Fe=q.getDimensionInfo(be);if(!Fe.isExtraCoord){var fe=Fe.coordDim,Ne=ce[fe]=ce[fe]||[];Ne[Fe.coordDimIndex]=Ce}}),ce}function j(q,ce,be,Ce,Fe,fe){return q=V(q,ce,be,Ce,Fe,fe,!0),q&&fe.setItemGraphicEl(ce,q),q}function V(q,ce,be,Ce,Fe,fe,Ne){var Q=!be;be=be||{};var ae=be.type,Ue=be.shape,te=be.style;if(q&&(Q||ae!=null&&ae!==q.__customGraphicType||ae==="path"&&J(Ue)&&Z(Ue)!==q.__customPathData||ae==="image"&&ve(te,"image")&&te.image!==q.__customImagePath||ae==="text"&&ve(Ue,"text")&&te.text!==q.__customText)&&(Fe.remove(q),q=null),Q)return;var X=!q;return!q&&(q=I(be)),L(q,ce,be,Ce,fe,X,Ne),ae==="group"&&D(q,ce,be,Ce,fe),Fe.add(q),q}function D(q,ce,be,Ce,Fe){var fe=be.children,Ne=fe?fe.length:0,Q=be.$mergeChildren,ae=Q==="byName"||be.diffChildrenByName,Ue=Q===!1;if(!Ne&&!ae&&!Ue)return;if(ae){H({oldChildren:q.children()||[],newChildren:fe||[],dataIndex:ce,animatableModel:Ce,group:q,data:Fe});return}Ue&&q.removeAll();for(var te=0;te<Ne;te++)fe[te]&&V(q.childAt(te),ce,fe[te],Ce,q,Fe)}function H(q){new t(q.oldChildren,q.newChildren,P,P,q).add(K).update(K).remove(W).execute()}function P(q,ce){var be=q&&q.name;return be!=null?be:x+ce}function K(q,ce){var be=this.context,Ce=q!=null?be.newChildren[q]:null,Fe=ce!=null?be.oldChildren[ce]:null;V(Fe,be.dataIndex,Ce,be.animatableModel,be.group,be.data)}function U(q,ce){var be=new o({},ce);return E.each(w,function(Ce,Fe){q.hasOwnProperty(Ce)&&(be.option[Fe]=q[Ce])}),be}function G(q,ce){for(var be in ce)(ce.hasOwnProperty(be)||!w.hasOwnProperty(be))&&(q[be]=ce[be])}function W(q){var ce=this.context,be=ce.oldChildren[q];be&&ce.group.remove(be)}function Z(q){return q&&(q.pathData||q.d)}function J(q){return q&&(q.hasOwnProperty("pathData")||q.hasOwnProperty("d"))}function ve(q,ce){return q&&q.hasOwnProperty(ce)}},"4HMb":function(B,N,i){var y=i("bYtY"),m=i("6GrX"),E=i("4NO4"),p=E.makeInner,v=i("aX7z"),f=v.makeLabelFormatter,d=v.getOptionCategoryInterval,l=v.shouldShowAllLabels,n=p();function t(_){return _.type==="category"?o(_):e(_)}function a(_,T){return _.type==="category"?c(_,T):{ticks:_.scale.getTicks()}}function o(_){var T=_.getLabelModel(),x=r(_,T);return!T.get("show")||_.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function r(_,T){var x=s(_,"labels"),C=d(T),I=u(x,C);if(I)return I;var L,M;return y.isFunction(C)?L=S(_,C):(M=C==="auto"?g(_):C,L=b(_,M)),h(x,C,{labels:L,labelCategoryInterval:M})}function c(_,T){var x=s(_,"ticks"),C=d(T),I=u(x,C);if(I)return I;var L,M;if((!T.get("show")||_.scale.isBlank())&&(L=[]),y.isFunction(C))L=S(_,C,!0);else if(C==="auto"){var k=r(_,_.getLabelModel());M=k.labelCategoryInterval,L=y.map(k.labels,function(R){return R.tickValue})}else M=C,L=b(_,M,!0);return h(x,C,{ticks:L,tickCategoryInterval:M})}function e(_){var T=_.scale.getTicks(),x=f(_);return{labels:y.map(T,function(C,I){return{formattedLabel:x(C,I),rawLabel:_.scale.getLabel(C),tickValue:C}})}}function s(_,T){return n(_)[T]||(n(_)[T]=[])}function u(_,T){for(var x=0;x<_.length;x++)if(_[x].key===T)return _[x].value}function h(_,T,x){return _.push({key:T,value:x}),x}function g(_){var T=n(_).autoInterval;return T!=null?T:n(_).autoInterval=_.calculateCategoryInterval()}function A(_){var T=w(_),x=f(_),C=(T.axisRotate-T.labelRotate)/180*Math.PI,I=_.scale,L=I.getExtent(),M=I.count();if(L[1]-L[0]<1)return 0;var k=1;M>40&&(k=Math.max(1,Math.floor(M/40)));for(var R=L[0],j=_.dataToCoord(R+1)-_.dataToCoord(R),V=Math.abs(j*Math.cos(C)),D=Math.abs(j*Math.sin(C)),H=0,P=0;R<=L[1];R+=k){var K=0,U=0,G=m.getBoundingRect(x(R),T.font,"center","top");K=G.width*1.3,U=G.height*1.3,H=Math.max(H,K,7),P=Math.max(P,U,7)}var W=H/V,Z=P/D;isNaN(W)&&(W=Infinity),isNaN(Z)&&(Z=Infinity);var J=Math.max(0,Math.floor(Math.min(W,Z))),ve=n(_.model),q=_.getExtent(),ce=ve.lastAutoInterval,be=ve.lastTickCount;return ce!=null&&be!=null&&Math.abs(ce-J)<=1&&Math.abs(be-M)<=1&&ce>J&&ve.axisExtend0===q[0]&&ve.axisExtend1===q[1]?J=ce:(ve.lastTickCount=M,ve.lastAutoInterval=J,ve.axisExtend0=q[0],ve.axisExtend1=q[1]),J}function w(_){var T=_.getLabelModel();return{axisRotate:_.getRotate?_.getRotate():_.isHorizontal&&!_.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function b(_,T,x){var C=f(_),I=_.scale,L=I.getExtent(),M=_.getLabelModel(),k=[],R=Math.max((T||0)+1,1),j=L[0],V=I.count();j!==0&&R>1&&V/R>2&&(j=Math.round(Math.ceil(j/R)*R));var D=l(_),H=M.get("showMinLabel")||D,P=M.get("showMaxLabel")||D;H&&j!==L[0]&&U(L[0]);for(var K=j;K<=L[1];K+=R)U(K);P&&K-R!==L[1]&&U(L[1]);function U(G){k.push(x?G:{formattedLabel:C(G),rawLabel:I.getLabel(G),tickValue:G})}return k}function S(_,T,x){var C=_.scale,I=f(_),L=[];return y.each(C.getTicks(),function(M){var k=C.getLabel(M);T(M,k)&&L.push(x?M:{formattedLabel:I(M),rawLabel:k,tickValue:M})}),L}N.createAxisLabels=t,N.createAxisTicks=a,N.calculateCategoryInterval=A},"4NO4":function(B,N,i){var y=i("bYtY"),m=i("ItGF"),E=y.each,p=y.isObject,v=y.isArray,f="series\0";function d(x){return x instanceof Array?x:x==null?[]:[x]}function l(x,C,I){if(x){x[C]=x[C]||{},x.emphasis=x.emphasis||{},x.emphasis[C]=x.emphasis[C]||{};for(var L=0,M=I.length;L<M;L++){var k=I[L];!x.emphasis[C].hasOwnProperty(k)&&x[C].hasOwnProperty(k)&&(x.emphasis[C][k]=x[C][k])}}}var n=["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 t(x){return p(x)&&!v(x)&&!(x instanceof Date)?x.value:x}function a(x){return p(x)&&!(x instanceof Array)}function o(x,C){C=(C||[]).slice();var I=y.map(x||[],function(L,M){return{exist:L}});return E(C,function(L,M){if(!p(L))return;for(var k=0;k<I.length;k++)if(!I[k].option&&L.id!=null&&I[k].exist.id===L.id+""){I[k].option=L,C[M]=null;return}for(var k=0;k<I.length;k++){var R=I[k].exist;if(!I[k].option&&(R.id==null||L.id==null)&&L.name!=null&&!e(L)&&!e(R)&&R.name===L.name+""){I[k].option=L,C[M]=null;return}}}),E(C,function(L,M){if(!p(L))return;for(var k=0;k<I.length;k++){var R=I[k].exist;if(!I[k].option&&!e(R)&&L.id==null){I[k].option=L;break}}k>=I.length&&I.push({option:L})}),I}function r(x){var C=y.createHashMap();E(x,function(I,L){var M=I.exist;M&&C.set(M.id,I)}),E(x,function(I,L){var M=I.option;y.assert(!M||M.id==null||!C.get(M.id)||C.get(M.id)===I,"id duplicates: "+(M&&M.id)),M&&M.id!=null&&C.set(M.id,I),!I.keyInfo&&(I.keyInfo={})}),E(x,function(I,L){var M=I.exist,k=I.option,R=I.keyInfo;if(!p(k))return;if(R.name=k.name!=null?k.name+"":M?M.name:f+L,M)R.id=M.id;else if(k.id!=null)R.id=k.id+"";else{var j=0;do R.id="\0"+R.name+"\0"+j++;while(C.get(R.id))}C.set(R.id,I)})}function c(x){var C=x.name;return!!(C&&C.indexOf(f))}function e(x){return p(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,C){var I={},L={};return M(x||[],I),M(C||[],L,I),[k(I),k(L)];function M(R,j,V){for(var D=0,H=R.length;D<H;D++)for(var P=R[D].seriesId,K=d(R[D].dataIndex),U=V&&V[P],G=0,W=K.length;G<W;G++){var Z=K[G];U&&U[Z]?U[Z]=null:(j[P]||(j[P]={}))[Z]=1}}function k(R,j){var V=[];for(var D in R)if(R.hasOwnProperty(D)&&R[D]!=null)if(j)V.push(+D);else{var H=k(R[D],!0);H.length&&V.push({seriesId:D,dataIndex:H})}return V}}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_"+g+++"_"+Math.random().toFixed(5);return function(C){return C[x]||(C[x]={})}}var g=0;function A(x,C,I){if(y.isString(C)){var L={};L[C+"Index"]=0,C=L}var M=I&&I.defaultMainType;M&&!w(C,M+"Index")&&!w(C,M+"Id")&&!w(C,M+"Name")&&(C[M+"Index"]=0);var k={};return E(C,function(R,j){var R=C[j];if(j==="dataIndex"||j==="dataIndexInside"){k[j]=R;return}var V=j.match(/^(\w+)(Index|Id|Name)$/)||[],D=V[1],H=(V[2]||"").toLowerCase();if(!D||!H||R==null||H==="index"&&R==="none"||I&&I.includeMainTypes&&y.indexOf(I.includeMainTypes,D)<0)return;var P={mainType:D};(H!=="index"||R!=="all")&&(P[H]=R);var K=x.queryComponents(P);k[D+"Models"]=K,k[D+"Model"]=K[0]}),k}function w(x,C){return x&&x.hasOwnProperty(C)}function b(x,C,I){x.setAttribute?x.setAttribute(C,I):x[C]=I}function S(x,C){return x.getAttribute?x.getAttribute(C):x[C]}function _(x){return x==="auto"?m.domSupported?"html":"richText":x||"html"}function T(x,C){var I=y.createHashMap(),L=[];return y.each(x,function(M){var k=C(M);(I.get(k)||(L.push(k),I.set(k,[]))).push(M)}),{keys:L,buckets:I}}N.normalizeToArray=d,N.defaultEmphasis=l,N.TEXT_STYLE_OPTIONS=n,N.getDataItemValue=t,N.isDataItemOption=a,N.mappingToExists=o,N.makeIdAndName=r,N.isNameSpecified=c,N.isIdInner=e,N.compressBatches=s,N.queryDataIndex=u,N.makeInner=h,N.parseFinder=A,N.setAttribute=b,N.getAttribute=S,N.getTooltipRenderMode=_,N.groupData=T},"4NgU":function(B,N,i){var y=i("Yl7c");function m(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}m.prototype.parse=function(p){return p},m.prototype.getSetting=function(p){return this._setting[p]},m.prototype.contain=function(p){var v=this._extent;return p>=v[0]&&p<=v[1]},m.prototype.normalize=function(p){var v=this._extent;return v[1]===v[0]?.5:(p-v[0])/(v[1]-v[0])},m.prototype.scale=function(p){var v=this._extent;return p*(v[1]-v[0])+v[0]},m.prototype.unionExtent=function(p){var v=this._extent;p[0]<v[0]&&(v[0]=p[0]),p[1]>v[1]&&(v[1]=p[1])},m.prototype.unionExtentFromData=function(p,v){this.unionExtent(p.getApproximateExtent(v))},m.prototype.getExtent=function(){return this._extent.slice()},m.prototype.setExtent=function(p,v){var f=this._extent;isNaN(p)||(f[0]=p),isNaN(v)||(f[1]=v)},m.prototype.isBlank=function(){return this._isBlank},m.prototype.setBlank=function(p){this._isBlank=p},m.prototype.getLabel=null,y.enableClassExtend(m),y.enableClassManagement(m,{registerWhenExtend:!0});var E=m;B.exports=E},"4fz+":function(B,N,i){var y=i("bYtY"),m=i("1bdT"),E=i("mFDi"),p=function(d){d=d||{},m.call(this,d);for(var l in d)d.hasOwnProperty(l)&&(this[l]=d[l]);this._children=[],this.__storage=null,this.__dirty=!0};p.prototype={constructor:p,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(d){return this._children[d]},childOfName:function(d){for(var l=this._children,n=0;n<l.length;n++)if(l[n].name===d)return l[n]},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,l){if(d&&d!==this&&d.parent!==this&&l&&l.parent===this){var n=this._children,t=n.indexOf(l);t>=0&&(n.splice(t,0,d),this._doAdd(d))}return this},_doAdd:function(d){d.parent&&d.parent.remove(d),d.parent=this;var l=this.__storage,n=this.__zr;l&&l!==d.__storage&&(l.addToStorage(d),d instanceof p&&d.addChildrenToStorage(l)),n&&n.refresh()},remove:function(d){var l=this.__zr,n=this.__storage,t=this._children,a=y.indexOf(t,d);return a<0?this:(t.splice(a,1),d.parent=null,n&&(n.delFromStorage(d),d instanceof p&&d.delChildrenFromStorage(n)),l&&l.refresh(),this)},removeAll:function(){var d=this._children,l=this.__storage,n,t;for(t=0;t<d.length;t++)n=d[t],l&&(l.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(l)),n.parent=null;return d.length=0,this},eachChild:function(d,l){for(var n=this._children,t=0;t<n.length;t++){var a=n[t];d.call(l,a,t)}return this},traverse:function(d,l){for(var n=0;n<this._children.length;n++){var t=this._children[n];d.call(l,t),t.type==="group"&&t.traverse(d,l)}return this},addChildrenToStorage:function(d){for(var l=0;l<this._children.length;l++){var n=this._children[l];d.addToStorage(n),n instanceof p&&n.addChildrenToStorage(d)}},delChildrenFromStorage:function(d){for(var l=0;l<this._children.length;l++){var n=this._children[l];d.delFromStorage(n),n instanceof p&&n.delChildrenFromStorage(d)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(d){for(var l=null,n=new E(0,0,0,0),t=d||this._children,a=[],o=0;o<t.length;o++){var r=t[o];if(r.ignore||r.invisible)continue;var c=r.getBoundingRect(),e=r.getLocalTransform(a);e?(n.copy(c),n.applyTransform(e),l=l||n.clone(),l.union(n)):(l=l||c.clone(),l.union(c))}return l||n}},y.inherits(p,m);var v=p;B.exports=v},"4i/N":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseOutlined";var d=N.a=m.forwardRef(f)},"4mN7":function(B,N,i){var y=i("QBsz"),m=i("Sj9i"),E=Math.min,p=Math.max,v=Math.sin,f=Math.cos,d=Math.PI*2,l=y.create(),n=y.create(),t=y.create();function a(h,g,A){if(h.length===0)return;var w=h[0],b=w[0],S=w[0],_=w[1],T=w[1],x;for(x=1;x<h.length;x++)w=h[x],b=E(b,w[0]),S=p(S,w[0]),_=E(_,w[1]),T=p(T,w[1]);g[0]=b,g[1]=_,A[0]=S,A[1]=T}function o(h,g,A,w,b,S){b[0]=E(h,A),b[1]=E(g,w),S[0]=p(h,A),S[1]=p(g,w)}var r=[],c=[];function e(h,g,A,w,b,S,_,T,x,C){var I=m.cubicExtrema,L=m.cubicAt,M,k=I(h,A,b,_,r);for(x[0]=Infinity,x[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,M=0;M<k;M++){var R=L(h,A,b,_,r[M]);x[0]=E(R,x[0]),C[0]=p(R,C[0])}for(k=I(g,w,S,T,c),M=0;M<k;M++){var j=L(g,w,S,T,c[M]);x[1]=E(j,x[1]),C[1]=p(j,C[1])}x[0]=E(h,x[0]),C[0]=p(h,C[0]),x[0]=E(_,x[0]),C[0]=p(_,C[0]),x[1]=E(g,x[1]),C[1]=p(g,C[1]),x[1]=E(T,x[1]),C[1]=p(T,C[1])}function s(h,g,A,w,b,S,_,T){var x=m.quadraticExtremum,C=m.quadraticAt,I=p(E(x(h,A,b),1),0),L=p(E(x(g,w,S),1),0),M=C(h,A,b,I),k=C(g,w,S,L);_[0]=E(h,b,M),_[1]=E(g,S,k),T[0]=p(h,b,M),T[1]=p(g,S,k)}function u(h,g,A,w,b,S,_,T,x){var C=y.min,I=y.max,L=Math.abs(b-S);if(L%d<1e-4&&L>1e-4){T[0]=h-A,T[1]=g-w,x[0]=h+A,x[1]=g+w;return}if(l[0]=f(b)*A+h,l[1]=v(b)*w+g,n[0]=f(S)*A+h,n[1]=v(S)*w+g,C(T,l,n),I(x,l,n),b=b%d,b<0&&(b=b+d),S=S%d,S<0&&(S=S+d),b>S&&!_?S+=d:b<S&&_&&(b+=d),_){var M=S;S=b,b=M}for(var k=0;k<S;k+=Math.PI/2)k>b&&(t[0]=f(k)*A+h,t[1]=v(k)*w+g,C(T,t,T),I(x,t,x))}N.fromPoints=a,N.fromLine=o,N.fromCubic=e,N.fromQuadratic=s,N.fromArc=u},"4vCz":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("X2/X")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PlusSquareOutlined";var l=p.forwardRef(d);N.default=l},"4xFK":function(B,N,i){"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(B,N,i){var y=i("IwbS"),m=i("x3X8"),E=m.getDefaultLabel;function p(f,d,l,n,t,a,o){var r=l.getModel("label"),c=l.getModel("emphasis.label");y.setLabelStyle(f,d,r,c,{labelFetcher:t,labelDataIndex:a,defaultText:E(t.getData(),a),isRectText:!0,autoColor:n}),v(f),v(d)}function v(f,d){f.textPosition==="outside"&&(f.textPosition=d)}N.setLabel=p},"59Ip":function(B,N,i){var y=i("Sj9i");function m(E,p,v,f,d,l,n,t,a,o,r){if(a===0)return!1;var c=a;if(r>p+c&&r>f+c&&r>l+c&&r>t+c||r<p-c&&r<f-c&&r<l-c&&r<t-c||o>E+c&&o>v+c&&o>d+c&&o>n+c||o<E-c&&o<v-c&&o<d-c&&o<n-c)return!1;var e=y.cubicProjectPoint(E,p,v,f,d,l,n,t,o,r,null);return e<=c/2}N.containStroke=m},"5Dmo":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("5YgA"),p=i.n(E)},"5GOC":function(B,N,i){"use strict";var y=i("cIOH"),m=i("b56q"),E=i("15/o")},"5GhG":function(B,N,i){var y=i("5GtS"),m=i("bYtY"),E=i("L0Ub"),p=E.getDimensionTypeByAxis,v=i("D5nY"),f=v.makeSeriesEncodeForAxisCoordSys,d={_baseAxisDim:null,getInitialData:function(l,n){var t,a=n.getComponent("xAxis",this.get("xAxisIndex")),o=n.getComponent("yAxis",this.get("yAxisIndex")),r=a.get("type"),c=o.get("type"),e;r==="category"?(l.layout="horizontal",t=a.getOrdinalMeta(),e=!0):c==="category"?(l.layout="vertical",t=o.getOrdinalMeta(),e=!0):l.layout=l.layout||"horizontal";var s=["x","y"],u=l.layout==="horizontal"?0:1,h=this._baseAxisDim=s[u],g=s[1-u],A=[a,o],w=A[u].get("type"),b=A[1-u].get("type"),S=l.data;if(S&&e){var _=[];m.each(S,function(C,I){var L;C.value&&m.isArray(C.value)?(L=C.value.slice(),C.value.unshift(I)):m.isArray(C)?(L=C.slice(),C.unshift(I)):L=C,_.push(L)}),l.data=_}var T=this.defaultValueDimensions,x=[{name:h,type:p(w),ordinalMeta:t,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:p(b),dimsDef:T.slice()}];return y(this,{coordDimensions:x,dimensionsCount:T.length+1,encodeDefaulter:m.curry(f,x,this)})},getBaseAxis:function(){var l=this._baseAxisDim;return this.ecModel.getComponent(l+"Axis",this.get(l+"AxisIndex")).axis}};N.seriesModelMixin=d},"5GtS":function(B,N,i){var y=i("sdST"),m=i("YXkt"),E=i("bYtY"),p=E.extend,v=E.isArray;function f(d,l,n){l=v(l)&&{coordDimensions:l}||p({},l);var t=d.getSource(),a=y(t,l),o=new m(a,d);return o.initData(t,n),o}B.exports=f},"5Hur":function(B,N,i){var y=i("4NO4"),m=y.makeInner,E=y.normalizeToArray,p=m();function v(d,l){for(var n=d.length,t=0;t<n;t++)if(d[t].length>l)return d[t];return d[n-1]}var f={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(d,l,n){l=l||this;var t=p(l),a=t.colorIdx||0,o=t.colorNameMap=t.colorNameMap||{};if(o.hasOwnProperty(d))return o[d];var r=E(this.get("color",!0)),c=this.get("colorLayer",!0),e=n==null||!c?r:v(c,n);if(e=e||r,!e||!e.length)return;var s=e[a];return d&&(o[d]=s),t.colorIdx=(a+1)%e.length,s}};B.exports=f},"5NDa":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("OnYD"),p=i.n(E),v=i("+L6B")},"5NHt":function(B,N,i){i("aTJb"),i("OlYY"),i("fc+c"),i("N5BQ"),i("IyUQ"),i("LBfv"),i("noeP")},"5OYt":function(B,N,i){"use strict";var y=i("J4zp"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("ACnJ");function f(){var d=Object(E.useState)({}),l=m()(d,2),n=l[0],t=l[1];return Object(E.useEffect)(function(){var a=v.a.subscribe(function(o){t(o)});return function(){return v.a.unsubscribe(a)}},[]),n}N.a=f},"5RzL":function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),o=i.n(a),r=i("q1tI"),c=i("1OyB"),e=i("vuIU"),s=i("Ji7U"),u=i("LK+K"),h=i("KQm4"),g=i("U8pU"),A=i("ODXe"),w=i("VTBJ"),b=i("qNPg"),S=i("2Qr1"),_=i("815F"),T=i("NvD2"),x=i("wPlo"),C=i("6cGi"),I=i("Kwbf"),L=i("4IlW"),M=i("YrtM"),k=i("fAei"),R=r.createContext(null);function j(lt,Xt){if(!lt)return!0;var hr=lt.data,Wr=hr.disabled,mt=hr.disableCheckbox;switch(Xt){case"select":return Wr;case"checkbox":return Wr||mt}return!1}function V(lt,Xt){var hr=r.useCallback(function(mt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,He=lt.get(mt);return!rt&&j(He,Et)?null:He},[lt]),Wr=r.useCallback(function(mt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",rt=arguments.length>2?arguments[2]:void 0,He=Xt.get(mt);return!rt&&j(He,Et)?null:He},[Xt]);return[hr,Wr]}function D(lt){return r.useMemo(function(){var Xt=new Map,hr=new Map;return lt.forEach(function(Wr){Xt.set(Wr.key,Wr),hr.set(Wr.data.value,Wr)}),[Xt,hr]},[lt])}var H={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},P=function(Xt,hr){var Wr=Xt.prefixCls,mt=Xt.height,Et=Xt.itemHeight,rt=Xt.virtual,He=Xt.options,ze=Xt.flattenOptions,Rt=Xt.multiple,sr=Xt.searchValue,Jt=Xt.onSelect,qt=Xt.onToggleOpen,qr=Xt.open,Fr=Xt.notFoundContent,mn=Xt.onMouseEnter,Tt=r.useContext(R),St=Tt.checkable,Re=Tt.checkedKeys,Ve=Tt.halfCheckedKeys,Xe=Tt.treeExpandedKeys,ct=Tt.treeDefaultExpandAll,tr=Tt.treeDefaultExpandedKeys,ir=Tt.onTreeExpand,or=Tt.treeIcon,Xr=Tt.showTreeIcon,Yr=Tt.switcherIcon,bn=Tt.treeLine,Yt=Tt.treeNodeFilterProp,pt=Tt.loadData,ht=Tt.treeLoadedKeys,Zt=Tt.treeMotion,$t=Tt.onTreeLoad,At=r.useRef(),Pt=Object(M.a)(function(){return He},[qr,He],function(Br,Sr){return Sr[0]&&Br[1]!==Sr[1]}),gt=D(ze),Wt=Object(A.a)(gt,2),yr=Wt[0],cr=Wt[1],pr=V(yr,cr),Qr=Object(A.a)(pr,2),$r=Qr[0],Ln=Qr[1],Mn=r.useMemo(function(){return Re.map(function(Br){var Sr=Ln(Br);return Sr?Sr.key:null})},[Re]),Vn=r.useMemo(function(){return St?{checked:Mn,halfChecked:Ve}:null},[Mn,Ve,St]);r.useEffect(function(){if(qr&&!Rt&&Mn.length){var Br;(Br=At.current)===null||Br===void 0||Br.scrollTo({key:Mn[0]})}},[qr]);var ii=String(sr).toLowerCase(),Li=function(Sr){return ii?String(Sr[Yt]).toLowerCase().includes(ii):!1},Pi=r.useState(tr),Ze=Object(A.a)(Pi,2),xe=Ze[0],Me=Ze[1],ke=r.useState(null),Ge=Object(A.a)(ke,2),Ke=Ge[0],Je=Ge[1],vt=r.useMemo(function(){return Xe?Object(h.a)(Xe):sr?Ke:xe},[xe,Ke,ii,Xe]);r.useEffect(function(){sr&&Je(ze.map(function(Br){return Br.key}))},[sr]);var ot=function(Sr){Me(Sr),Je(Sr),ir&&ir(Sr)},Ut=function(Sr){Sr.preventDefault()},br=function(Sr,xn){var Hn=xn.node.key,ai=$r(Hn,St?"checkbox":"select");ai!==null&&Jt(ai.data.value,{selected:!Re.includes(ai.data.value)}),Rt||qt(!1)},Ar=r.useState(null),Or=Object(A.a)(Ar,2),zt=Or[0],un=Or[1],lr=$r(zt);if(r.useImperativeHandle(hr,function(){return{onKeyDown:function(Sr){var xn,Hn=Sr.which;switch(Hn){case L.a.UP:case L.a.DOWN:case L.a.LEFT:case L.a.RIGHT:(xn=At.current)===null||xn===void 0||xn.onKeyDown(Sr);break;case L.a.ENTER:{lr!==null&&br(null,{node:{key:zt},selected:!Re.includes(lr.data.value)});break}case L.a.ESC:qt(!1)}},onKeyUp:function(){}}}),Pt.length===0)return r.createElement("div",{role:"listbox",className:"".concat(Wr,"-empty"),onMouseDown:Ut},Fr);var Vr={};return ht&&(Vr.loadedKeys=ht),vt&&(Vr.expandedKeys=vt),r.createElement("div",{onMouseDown:Ut,onMouseEnter:mn},lr&&qr&&r.createElement("span",{style:H,"aria-live":"assertive"},lr.data.value),r.createElement(k.b,Object.assign({ref:At,focusable:!1,prefixCls:"".concat(Wr,"-tree"),treeData:Pt,height:mt,itemHeight:Et,virtual:rt,multiple:Rt,icon:or,showIcon:Xr,switcherIcon:Yr,showLine:bn,loadData:sr?null:pt,motion:Zt,checkable:St,checkStrictly:!0,checkedKeys:Vn,selectedKeys:St?[]:Mn,defaultExpandAll:ct},Vr,{onActiveChange:un,onSelect:br,onCheck:br,onExpand:ot,onLoad:$t,filterTreeNode:Li})))},K=r.forwardRef(P);K.displayName="OptionList";var U=K,G=function(){return null},W=G,Z=i("Ff2n"),J=i("Zm9Q");function ve(lt){return Object(J.a)(lt).map(function(Xt){if(!r.isValidElement(Xt)||!Xt.type)return null;var hr=Xt.key,Wr=Xt.props,mt=Wr.children,Et=Wr.value,rt=Object(Z.a)(Wr,["children","value"]),He=Object(w.a)({key:hr,value:Et},rt),ze=ve(mt);return ze.length&&(He.children=ze),He}).filter(function(Xt){return Xt})}function q(lt){if(!lt)return lt;var Xt=Object(w.a)({},lt);return"props"in Xt||Object.defineProperty(Xt,"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."),Xt}}),Xt}function ce(lt,Xt,hr,Wr,mt){var Et=null,rt=null;function He(){function ze(Rt){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Rt.map(function(qt,qr){var Fr="".concat(sr,"-").concat(qr),mn=hr.includes(qt.value),Tt=ze(qt.children||[],Fr,mn),St=r.createElement(W,Object.assign({},qt),Tt.map(function(Ve){return Ve.node}));if(Xt===qt.value&&(Et=St),mn){var Re={pos:Fr,node:St,children:Tt};return Jt||rt.push(Re),Re}return null}).filter(function(qt){return qt})}rt||(rt=[],ze(Wr),rt.sort(function(Rt,sr){var Jt=Rt.node.props.value,qt=sr.node.props.value,qr=hr.indexOf(Jt),Fr=hr.indexOf(qt);return qr-Fr}))}Object.defineProperty(lt,"triggerNode",{get:function(){return Object(I.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),He(),Et}}),Object.defineProperty(lt,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),He(),mt?rt:rt.map(function(Rt){var sr=Rt.node;return sr})}})}function be(lt){return Array.isArray(lt)?lt:lt!==void 0?[lt]:[]}function Ce(lt,Xt){var hr=new Map;return Xt.forEach(function(Wr){var mt=Wr.data;hr.set(mt.value,mt)}),lt.map(function(Wr){return q(hr.get(Wr))})}function Fe(lt,Xt){var hr=Ce([lt],Xt)[0];return hr?hr.disabled:!1}function fe(lt){return lt.disabled||lt.disableCheckbox||lt.checkable===!1}function Ne(lt){for(var Xt=lt.parent,hr=0,Wr=Xt;Wr;)Wr=Wr.parent,hr+=1;return hr}function Q(lt){function Xt(Wr){return(Wr||[]).map(function(mt){var Et=mt.value,rt=mt.key,He=mt.children,ze=Object(w.a)(Object(w.a)({},mt),{},{key:"key"in mt?rt:Et});return He&&(ze.children=Xt(He)),ze})}var hr=Object(_.d)(Xt(lt),!0);return hr.map(function(Wr){return{key:Wr.data.key,data:Wr.data,level:Ne(Wr)}})}function ae(lt){return function(Xt,hr){var Wr=hr[lt];return String(Wr).toLowerCase().includes(String(Xt).toLowerCase())}}function Ue(lt,Xt,hr){var Wr=hr.optionFilterProp,mt=hr.filterOption;if(mt===!1)return Xt;var Et;typeof mt=="function"?Et=mt:Et=ae(Wr);function rt(He){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return He.map(function(Rt){var sr=Rt.children,Jt=ze||Et(lt,q(Rt)),qt=rt(sr||[],Jt);return Jt||qt.length?Object(w.a)(Object(w.a)({},Rt),{},{children:qt}):null}).filter(function(Rt){return Rt})}return rt(Xt)}function te(lt,Xt,hr,Wr){var mt=new Map;return be(Xt).forEach(function(Et){Et&&Object(g.a)(Et)==="object"&&"value"in Et&&mt.set(Et.value,Et)}),lt.map(function(Et){var rt={value:Et},He=hr(Et,"select",!0),ze=He?Wr(He.data):Et;if(mt.has(Et)){var Rt=mt.get(Et);rt.label="label"in Rt?Rt.label:ze,"halfChecked"in Rt&&(rt.halfChecked=Rt.halfChecked)}else rt.label=ze;return rt})}function X(lt,Xt){var hr=new Set(lt);return hr.add(Xt),Array.from(hr)}function z(lt,Xt){var hr=new Set(lt);return hr.delete(Xt),Array.from(hr)}function Y(lt){var Xt=lt.searchPlaceholder,hr=lt.treeCheckStrictly,Wr=lt.treeCheckable,mt=lt.labelInValue,Et=lt.value,rt=lt.multiple;Object(I.a)(!Xt,"`searchPlaceholder` has been removed."),hr&&mt===!1&&Object(I.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(mt||hr)&&Object(I.a)(be(Et).every(function(He){return He&&Object(g.a)(He)==="object"&&"value"in He}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),hr||rt||Wr?Object(I.a)(!Et||Array.isArray(Et),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(I.a)(!Array.isArray(Et),"`value` should not be array when `TreeSelect` is single mode.")}var pe=Y,se=10;function Te(lt,Xt){var hr=Xt.id,Wr=Xt.pId,mt=Xt.rootPId,Et={},rt=[],He=lt.map(function(ze){var Rt=Object(w.a)({},ze),sr=Rt[hr];return Et[sr]=Rt,Rt.key=Rt.key||sr,Rt});return He.forEach(function(ze){var Rt=ze[Wr],sr=Et[Rt];sr&&(sr.children=sr.children||[],sr.children.push(ze)),(Rt===mt||!sr&&mt===null)&&rt.push(ze)}),rt}function Se(lt,Xt){var hr=0,Wr=new Set;function mt(Et){return(Et||[]).map(function(rt){var He=rt.key,ze=rt.value,Rt=rt.children,sr=Object(Z.a)(rt,["key","value","children"]),Jt="value"in rt?ze:He,qt=Object(w.a)(Object(w.a)({},sr),{},{key:He!=null?He:Jt,value:Jt,title:Xt(rt)});return"children"in rt&&(qt.children=mt(Rt)),qt})}return mt(lt)}function ie(lt,Xt,hr){var Wr=hr.getLabelProp,mt=hr.simpleMode,Et=r.useRef({});return lt?(Et.current.formatTreeData=Et.current.treeData===lt?Et.current.formatTreeData:Se(mt?Te(lt,Object(w.a)({id:"id",pId:"pId",rootPId:null},mt!==!0?mt:{})):lt,Wr),Et.current.treeData=lt):Et.current.formatTreeData=Et.current.children===Xt?Et.current.formatTreeData:Se(ve(Xt),Wr),Et.current.formatTreeData}var de="SHOW_ALL",_e="SHOW_PARENT",We="SHOW_CHILD";function at(lt,Xt,hr){var Wr=new Set(lt);return Xt===We?lt.filter(function(mt){var Et=hr[mt];return!(Et&&Et.children&&Et.children.every(function(rt){var He=rt.node;return fe(He)||Wr.has(He.key)}))}):Xt===_e?lt.filter(function(mt){var Et=hr[mt],rt=Et?Et.parent:null;return!(rt&&!fe(rt.node)&&Wr.has(rt.node.key))}):lt}function tt(lt,Xt){var hr=Xt.value,Wr=Xt.getEntityByValue,mt=Xt.getEntityByKey,Et=Xt.treeConduction,rt=Xt.showCheckedStrategy,He=Xt.conductKeyEntities,ze=Xt.getLabelProp;return r.useMemo(function(){var Rt=lt;if(Et){var sr=at(lt.map(function(Jt){var qt=Wr(Jt);return qt?qt.key:Jt}),rt,He);Rt=sr.map(function(Jt){var qt=mt(Jt);return qt?qt.data.value:Jt})}return te(Rt,hr,Wr,ze)},[lt,hr,Et,rt,Wr])}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"],yt=Object(b.a)({prefixCls:"rc-tree-select",components:{optionList:U},convertChildrenToData:function(){return null},flattenOptions:Q,getLabeledValue:S.e,filterOptions:Ue,isValueDisabled:Fe,findValueOption:Ce,omitDOMProps:function(Xt){var hr=Object(w.a)({},Xt);return Oe.forEach(function(Wr){delete hr[Wr]}),hr}});yt.displayName="Select";var Ye=r.forwardRef(function(lt,Xt){var hr=lt.multiple,Wr=lt.treeCheckable,mt=lt.treeCheckStrictly,Et=lt.showCheckedStrategy,rt=Et===void 0?"SHOW_CHILD":Et,He=lt.labelInValue,ze=lt.loadData,Rt=lt.treeLoadedKeys,sr=lt.treeNodeFilterProp,Jt=sr===void 0?"value":sr,qt=lt.treeNodeLabelProp,qr=lt.treeDataSimpleMode,Fr=lt.treeData,mn=lt.treeExpandedKeys,Tt=lt.treeDefaultExpandedKeys,St=lt.treeDefaultExpandAll,Re=lt.children,Ve=lt.treeIcon,Xe=lt.showTreeIcon,ct=lt.switcherIcon,tr=lt.treeLine,ir=lt.treeMotion,or=lt.filterTreeNode,Xr=lt.dropdownPopupAlign,Yr=lt.onChange,bn=lt.onTreeExpand,Yt=lt.onTreeLoad,pt=lt.onDropdownVisibleChange,ht=lt.onSelect,Zt=lt.onDeselect,$t=Wr||mt,At=hr||$t,Pt=Wr&&!mt,gt=mt||He,Wt=r.useRef(null);r.useImperativeHandle(Xt,function(){return{focus:Wt.current.focus,blur:Wt.current.blur}});var yr=function(Hn){return Fr&&Hn.label||Hn.title},cr=function(Hn){return qt?Hn[qt]:yr(Hn)},pr=ie(Fr,Re,{getLabelProp:yr,simpleMode:qr}),Qr=Object(r.useMemo)(function(){return Q(pr)},[pr]),$r=D(Qr),Ln=Object(A.a)($r,2),Mn=Ln[0],Vn=Ln[1],ii=V(Mn,Vn),Li=Object(A.a)(ii,2),Pi=Li[0],Ze=Li[1],xe=Object(r.useMemo)(function(){return Pt?Object(_.a)(pr):{keyEntities:null}},[pr,Wr,mt]),Me=xe.keyEntities,ke=Object(C.a)(lt.defaultValue,{value:lt.value}),Ge=Object(A.a)(ke,2),Ke=Ge[0],Je=Ge[1],vt=function(Hn){var ai=[],si=[];return Hn.forEach(function(Yn){Ze(Yn)?si.push(Yn):ai.push(Yn)}),{missingRawValues:ai,existRawValues:si}},ot=Object(r.useMemo)(function(){var xn=[],Hn=[];if(be(Ke).forEach(function(Kr){if(Kr&&Object(g.a)(Kr)==="object"&&"value"in Kr)if(Kr.halfChecked&&mt){var En=Ze(Kr.value);xn.push(En?En.key:Kr.value)}else Hn.push(Kr.value);else Hn.push(Kr)}),Pt){var ai=vt(Hn),si=ai.missingRawValues,Yn=ai.existRawValues,Wn=Yn.map(function(Kr){return Ze(Kr).key}),Dn=Object(T.a)(Wn,!0,Me),vi=Dn.checkedKeys,gn=Dn.halfCheckedKeys;return[[].concat(Object(h.a)(si),Object(h.a)(vi.map(function(Kr){return Pi(Kr).data.value}))),gn]}return[Hn,xn]},[Ke,At,gt,Wr,mt]),Ut=Object(A.a)(ot,2),br=Ut[0],Ar=Ut[1],Or=tt(br,{treeConduction:Pt,value:Ke,showCheckedStrategy:rt,conductKeyEntities:Me,getEntityByValue:Ze,getEntityByKey:Pi,getLabelProp:cr}),zt=function(Hn,ai,si){if(Je(At?Hn:Hn[0]),Yr){var Yn=Hn;if(Pt&&rt!=="SHOW_ALL"){var Wn=Hn.map(function(yi){var Xn=Ze(yi);return Xn?Xn.key:yi}),Dn=at(Wn,rt,Me);Yn=Dn.map(function(yi){var Xn=Pi(yi);return Xn?Xn.data.value:yi})}var vi=ai||{triggerValue:void 0,selected:void 0},gn=vi.triggerValue,Kr=vi.selected,En=gt?te(Yn,Ke,Ze,cr):Yn;if(mt){var sn=Ar.map(function(yi){var Xn=Pi(yi);return Xn?Xn.data.value:yi}).filter(function(yi){return!Yn.includes(yi)});En=[].concat(Object(h.a)(En),Object(h.a)(te(sn,Ke,Ze,cr)))}var li={preValue:Or,triggerValue:gn},ni=!0;(mt||si==="selection"&&!Kr)&&(ni=!1),ce(li,gn,Hn,pr,ni),$t?li.checked=Kr:li.selected=Kr,Yr(At?En:En[0],gt?null:Yn.map(function(yi){var Xn=Ze(yi);return Xn?cr(Xn.data):null}),li)}},un=function(Hn,ai,si){var Yn=Hn;if(!At)zt([Hn],{selected:!0,triggerValue:Hn},si);else{var Wn=X(br,Hn);if(Pt){var Dn=vt(Wn),vi=Dn.missingRawValues,gn=Dn.existRawValues,Kr=gn.map(function(li){return Ze(li).key}),En=Object(T.a)(Kr,!0,Me),sn=En.checkedKeys;Wn=[].concat(Object(h.a)(vi),Object(h.a)(sn.map(function(li){return Pi(li).data.value})))}zt(Wn,{selected:!0,triggerValue:Hn},si)}ht&&ht(Yn,ai)},lr=function(Hn,ai,si){var Yn=Hn,Wn=z(br,Hn);if(Pt){var Dn=vt(Wn),vi=Dn.missingRawValues,gn=Dn.existRawValues,Kr=gn.map(function(li){return Ze(li).key}),En=Object(T.a)(Kr,{checked:!1,halfCheckedKeys:Ar},Me),sn=En.checkedKeys;Wn=[].concat(Object(h.a)(vi),Object(h.a)(sn.map(function(li){return Pi(li).data.value})))}zt(Wn,{selected:!1,triggerValue:Hn},si),Zt&&Zt(Yn,ai)},Vr=function(){zt([],null,"clear")},Br=r.useCallback(function(xn){if(pt){var Hn={};Object.defineProperty(Hn,"documentClickClose",{get:function(){return Object(I.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),pt(xn,Hn)}},[pt]),Sr={optionLabelProp:null,optionFilterProp:Jt,dropdownAlign:Xr,internalProps:{mark:x.a,onClear:Vr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:un,onRawDeselect:lr}};return"filterTreeNode"in lt&&(Sr.filterOption=or),r.createElement(R.Provider,{value:{checkable:$t,loadData:ze,treeLoadedKeys:Rt,onTreeLoad:Yt,checkedKeys:br,halfCheckedKeys:Ar,treeDefaultExpandAll:St,treeExpandedKeys:mn,treeDefaultExpandedKeys:Tt,onTreeExpand:bn,treeIcon:Ve,treeMotion:ir,showTreeIcon:Xe,switcherIcon:ct,treeLine:tr,treeNodeFilterProp:Jt}},r.createElement(yt,Object.assign({ref:Wt,mode:At?"multiple":null},lt,Sr,{value:Or,labelInValue:!0,options:pr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Br})))}),bt=function(lt){Object(s.a)(hr,lt);var Xt=Object(u.a)(hr);function hr(){var Wr;return Object(c.a)(this,hr),Wr=Xt.apply(this,arguments),Wr.selectRef=r.createRef(),Wr.focus=function(){Wr.selectRef.current.focus()},Wr.blur=function(){Wr.selectRef.current.blur()},Wr}return Object(e.a)(hr,[{key:"render",value:function(){return r.createElement(Ye,Object.assign({ref:this.selectRef},this.props))}}]),hr}(r.Component);bt.TreeNode=W,bt.SHOW_ALL=de,bt.SHOW_PARENT=_e,bt.SHOW_CHILD=We;var Ct=bt,It=Ct,Ft=i("TSYQ"),Vt=i.n(Ft),$e=i("BGR+"),ge=i("H84U"),ne=i("uaoM"),wt=i("1vzs"),qe=i("2jpz"),he=i("3Nzz"),kt=function(lt){t()(hr,lt);var Xt=o()(hr);function hr(Wr){var mt;return f()(this,hr),mt=Xt.call(this,Wr),mt.selectRef=r.createRef(),mt.renderTreeSelect=function(Et){var rt=Et.getPopupContainer,He=Et.getPrefixCls,ze=Et.renderEmpty,Rt=Et.direction,sr=Et.virtual,Jt=Et.dropdownMatchSelectWidth,qt=mt.props,qr=qt.prefixCls,Fr=qt.size,mn=qt.className,Tt=qt.treeCheckable,St=qt.multiple,Re=qt.listHeight,Ve=Re===void 0?256:Re,Xe=qt.listItemHeight,ct=Xe===void 0?26:Xe,tr=qt.notFoundContent,ir=qt.switcherIcon,or=qt.treeLine,Xr=qt.getPopupContainer,Yr=qt.dropdownClassName,bn=qt.bordered,Yt=qt.treeIcon,pt=Yt===void 0?!1:Yt,ht=He("select",qr),Zt=He("select-tree",qr),$t=He("tree-select",qr),At=Vt()(Yr,"".concat($t,"-dropdown"),p()({},"".concat($t,"-dropdown-rtl"),Rt==="rtl")),Pt=!!(Tt||St),gt=Object(wt.a)(m()(m()({},mt.props),{multiple:Pt,prefixCls:ht})),Wt=gt.suffixIcon,yr=gt.itemIcon,cr=gt.removeIcon,pr=gt.clearIcon,Qr;tr!==void 0?Qr=tr:Qr=ze("Select");var $r=Object($e.default)(mt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return r.createElement(he.b.Consumer,null,function(Ln){var Mn,Vn=Fr||Ln,ii=Vt()(!qr&&$t,(Mn={},p()(Mn,"".concat(ht,"-lg"),Vn==="large"),p()(Mn,"".concat(ht,"-sm"),Vn==="small"),p()(Mn,"".concat(ht,"-rtl"),Rt==="rtl"),p()(Mn,"".concat(ht,"-borderless"),!bn),Mn),mn);return r.createElement(It,m()({virtual:sr,dropdownMatchSelectWidth:Jt},$r,{ref:mt.selectRef,prefixCls:ht,className:ii,listHeight:Ve,listItemHeight:ct,treeCheckable:Tt&&r.createElement("span",{className:"".concat(ht,"-tree-checkbox-inner")}),inputIcon:Wt,menuItemSelectedIcon:yr,removeIcon:cr,clearIcon:pr,switcherIcon:function(Pi){return Object(qe.a)(Zt,ir,or,Pi)},showTreeIcon:pt,notFoundContent:Qr,getPopupContainer:Xr||rt,treeMotion:null,dropdownClassName:At}))})},Object(ne.a)(Wr.multiple!==!1||!Wr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),mt}return l()(hr,[{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(ge.a,null,this.renderTreeSelect)}}]),hr}(r.Component);kt.TreeNode=W,kt.SHOW_ALL=de,kt.SHOW_PARENT=_e,kt.SHOW_CHILD=We,kt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var nr=N.a=kt},"5Uyt":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("KmBX"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"5YOS":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("xb2K"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"5YgA":function(B,N,i){},"5bA4":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LeftOutlined";var d=N.a=m.forwardRef(f)},"5nXd":function(B,N,i){var y=i("MFOe"),m=y.slice,E=y.pluck,p=y.each,v=y.bind,f=y.create,d=y.isList,l=y.isFunction,n=y.isObject;B.exports={createStore:o};var t={version:"2.0.12",enabled:!1,get:function(c,e){var s=this.storage.read(this._namespacePrefix+c);return this._deserialize(s,e)},set:function(c,e){return e===void 0?this.remove(c):(this.storage.write(this._namespacePrefix+c,this._serialize(e)),e)},remove:function(c){this.storage.remove(this._namespacePrefix+c)},each:function(c){var e=this;this.storage.each(function(s,u){c.call(e,e._deserialize(s),(u||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(c){return this._namespacePrefix=="__storejs_"+c+"_"},createStore:function(){return o.apply(this,arguments)},addPlugin:function(c){this._addPlugin(c)},namespace:function(c){return o(this.storage,this.plugins,c)}};function a(){var r=typeof console=="undefined"?null:console;if(!r)return;var c=r.warn?r.warn:r.log;c.apply(r,arguments)}function o(r,c,e){e||(e=""),r&&!d(r)&&(r=[r]),c&&!d(c)&&(c=[c]);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 g={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(b){try{var S="__storejs__test__";b.write(S,S);var _=b.read(S)===S;return b.remove(S),_}catch(T){return!1}},_assignPluginFnProp:function(b,S){var _=this[S];this[S]=function(){var x=m(arguments,0),C=this;function I(){return _?(p(arguments,function(M,k){x[k]=M}),_.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,S){if(!b)return S;var _="";try{_=JSON.parse(b)}catch(T){_=b}return _!==void 0?_:S},_addStorage:function(b){if(this.enabled)return;this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var S=this;if(d(b)){p(b,function(x){S._addPlugin(x)});return}var _=E(this.plugins,function(x){return b===x});if(_)return;if(this.plugins.push(b),!l(b))throw new Error("Plugins must be function values that return objects");var T=b.call(this);if(!n(T))throw new Error("Plugins must return an object of function properties");p(T,function(x,C){if(!l(x))throw new Error("Bad plugin property: "+C+" from plugin "+b.name+". Plugins should only return functions.");S._assignPluginFnProp(x,C)})},addStorage:function(b){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},A=f(g,t,{plugins:[]});return A.raw={},p(A,function(w,b){l(w)&&(A.raw[b]=v(A,w))}),p(r,function(w){A._addStorage(w)}),p(c,function(w){A._addPlugin(w)}),A}},"5rEg":function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lwsE"),p=i.n(E),v=i("W8MJ"),f=i.n(v),d=i("7W2i"),l=i.n(d),n=i("LQ03"),t=i.n(n),a=i("lSNA"),o=i.n(a),r=i("q1tI"),c=i("TSYQ"),e=i.n(c),s=i("BGR+"),u=i("kbBi"),h=i.n(u),g=i("CWQg"),A=i("0n0R"),w=Object(g.a)("text","input");function b(Y){return!!(Y.prefix||Y.suffix||Y.allowClear)}var S=function(Y){l()(se,Y);var pe=t()(se);function se(){var Te;return p()(this,se),Te=pe.apply(this,arguments),Te.containerRef=r.createRef(),Te.onInputMouseUp=function(Se){var ie;if((ie=Te.containerRef.current)===null||ie===void 0?void 0:ie.contains(Se.target)){var de=Te.props.triggerFocus;de()}},Te}return f()(se,[{key:"renderClearIcon",value:function(Se){var ie=this.props,de=ie.allowClear,_e=ie.value,We=ie.disabled,at=ie.readOnly,tt=ie.inputType,Oe=ie.handleReset;if(!de)return null;var yt=!We&&!at&&_e,Ye=tt===w[0]?"".concat(Se,"-textarea-clear-icon"):"".concat(Se,"-clear-icon");return r.createElement(h.a,{onClick:Oe,className:e()(Ye,o()({},"".concat(Ye,"-hidden"),!yt)),role:"button"})}},{key:"renderSuffix",value:function(Se){var ie=this.props,de=ie.suffix,_e=ie.allowClear;return de||_e?r.createElement("span",{className:"".concat(Se,"-suffix")},this.renderClearIcon(Se),de):null}},{key:"renderLabeledIcon",value:function(Se,ie){var de,_e=this.props,We=_e.focused,at=_e.value,tt=_e.prefix,Oe=_e.className,yt=_e.size,Ye=_e.suffix,bt=_e.disabled,Ct=_e.allowClear,It=_e.direction,Ft=_e.style,Vt=_e.readOnly,$e=_e.bordered,ge=this.renderSuffix(Se);if(!b(this.props))return Object(A.a)(ie,{value:at});var ne=tt?r.createElement("span",{className:"".concat(Se,"-prefix")},tt):null,wt=e()(Oe,"".concat(Se,"-affix-wrapper"),(de={},o()(de,"".concat(Se,"-affix-wrapper-focused"),We),o()(de,"".concat(Se,"-affix-wrapper-disabled"),bt),o()(de,"".concat(Se,"-affix-wrapper-sm"),yt==="small"),o()(de,"".concat(Se,"-affix-wrapper-lg"),yt==="large"),o()(de,"".concat(Se,"-affix-wrapper-input-with-clear-btn"),Ye&&Ct&&at),o()(de,"".concat(Se,"-affix-wrapper-rtl"),It==="rtl"),o()(de,"".concat(Se,"-affix-wrapper-readonly"),Vt),o()(de,"".concat(Se,"-affix-wrapper-borderless"),!$e),de));return r.createElement("span",{ref:this.containerRef,className:wt,style:Ft,onMouseUp:this.onInputMouseUp},ne,Object(A.a)(ie,{style:null,value:at,className:M(Se,$e,yt,bt)}),ge)}},{key:"renderInputWithLabel",value:function(Se,ie){var de,_e,We=this.props,at=We.addonBefore,tt=We.addonAfter,Oe=We.style,yt=We.size,Ye=We.className,bt=We.direction;if(!at&&!tt)return ie;var Ct="".concat(Se,"-group"),It="".concat(Ct,"-addon"),Ft=at?r.createElement("span",{className:It},at):null,Vt=tt?r.createElement("span",{className:It},tt):null,$e=e()("".concat(Se,"-wrapper"),(de={},o()(de,Ct,at||tt),o()(de,"".concat(Ct,"-rtl"),bt==="rtl"),de)),ge=e()(Ye,"".concat(Se,"-group-wrapper"),(_e={},o()(_e,"".concat(Se,"-group-wrapper-sm"),yt==="small"),o()(_e,"".concat(Se,"-group-wrapper-lg"),yt==="large"),o()(_e,"".concat(Se,"-group-wrapper-rtl"),bt==="rtl"),_e));return r.createElement("span",{className:ge,style:Oe},r.createElement("span",{className:$e},Ft,Object(A.a)(ie,{style:null}),Vt))}},{key:"renderTextAreaWithClearIcon",value:function(Se,ie){var de,_e=this.props,We=_e.value,at=_e.allowClear,tt=_e.className,Oe=_e.style,yt=_e.direction,Ye=_e.bordered;if(!at)return Object(A.a)(ie,{value:We});var bt=e()(tt,"".concat(Se,"-affix-wrapper"),"".concat(Se,"-affix-wrapper-textarea-with-clear-btn"),(de={},o()(de,"".concat(Se,"-affix-wrapper-rtl"),yt==="rtl"),o()(de,"".concat(Se,"-affix-wrapper-borderless"),!Ye),de));return r.createElement("span",{className:bt,style:Oe},Object(A.a)(ie,{style:null,value:We}),this.renderClearIcon(Se))}},{key:"render",value:function(){var Se=this.props,ie=Se.prefixCls,de=Se.inputType,_e=Se.element;return de===w[0]?this.renderTextAreaWithClearIcon(ie,_e):this.renderInputWithLabel(ie,this.renderLabeledIcon(ie,_e))}}]),se}(r.Component),_=S,T=i("H84U"),x=i("3Nzz"),C=i("uaoM");function I(Y){return typeof Y=="undefined"||Y===null?"":Y}function L(Y,pe,se){if(se){var Te=pe;if(pe.type==="click"){Te=Object.create(pe),Te.target=Y,Te.currentTarget=Y;var Se=Y.value;Y.value="",se(Te),Y.value=Se;return}se(Te)}}function M(Y,pe,se,Te,Se){var ie;return e()(Y,(ie={},o()(ie,"".concat(Y,"-sm"),se==="small"),o()(ie,"".concat(Y,"-lg"),se==="large"),o()(ie,"".concat(Y,"-disabled"),Te),o()(ie,"".concat(Y,"-rtl"),Se==="rtl"),o()(ie,"".concat(Y,"-borderless"),!pe),ie))}var k=function(Y){l()(se,Y);var pe=t()(se);function se(Te){var Se;p()(this,se),Se=pe.call(this,Te),Se.direction="ltr",Se.focus=function(){Se.input.focus()},Se.saveClearableInput=function(de){Se.clearableInput=de},Se.saveInput=function(de){Se.input=de},Se.onFocus=function(de){var _e=Se.props.onFocus;Se.setState({focused:!0},Se.clearPasswordValueAttribute),_e&&_e(de)},Se.onBlur=function(de){var _e=Se.props.onBlur;Se.setState({focused:!1},Se.clearPasswordValueAttribute),_e&&_e(de)},Se.handleReset=function(de){Se.setValue("",function(){Se.focus()}),L(Se.input,de,Se.props.onChange)},Se.renderInput=function(de,_e,We){var at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},tt=Se.props,Oe=tt.className,yt=tt.addonBefore,Ye=tt.addonAfter,bt=tt.size,Ct=tt.disabled,It=Object(s.default)(Se.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return r.createElement("input",m()({autoComplete:at.autoComplete},It,{onChange:Se.handleChange,onFocus:Se.onFocus,onBlur:Se.onBlur,onKeyDown:Se.handleKeyDown,className:e()(M(de,We,bt||_e,Ct,Se.direction),o()({},Oe,Oe&&!yt&&!Ye)),ref:Se.saveInput}))},Se.clearPasswordValueAttribute=function(){Se.removePasswordTimeout=setTimeout(function(){Se.input&&Se.input.getAttribute("type")==="password"&&Se.input.hasAttribute("value")&&Se.input.removeAttribute("value")})},Se.handleChange=function(de){Se.setValue(de.target.value,Se.clearPasswordValueAttribute),L(Se.input,de,Se.props.onChange)},Se.handleKeyDown=function(de){var _e=Se.props,We=_e.onPressEnter,at=_e.onKeyDown;de.keyCode===13&&We&&We(de),at&&at(de)},Se.renderComponent=function(de){var _e=de.getPrefixCls,We=de.direction,at=de.input,tt=Se.state,Oe=tt.value,yt=tt.focused,Ye=Se.props,bt=Ye.prefixCls,Ct=Ye.bordered,It=Ct===void 0?!0:Ct,Ft=_e("input",bt);return Se.direction=We,r.createElement(x.b.Consumer,null,function(Vt){return r.createElement(_,m()({size:Vt},Se.props,{prefixCls:Ft,inputType:"input",value:I(Oe),element:Se.renderInput(Ft,Vt,It,at),handleReset:Se.handleReset,ref:Se.saveClearableInput,direction:We,focused:yt,triggerFocus:Se.focus,bordered:It}))})};var ie=typeof Te.value=="undefined"?Te.defaultValue:Te.value;return Se.state={value:ie,focused:!1,prevValue:Te.value},Se}return f()(se,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Se){return b(Se)!==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(Se,ie){this.props.value===void 0&&this.setState({value:Se},ie)}},{key:"render",value:function(){return r.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Se,ie){var de=ie.prevValue,_e={prevValue:Se.value};return(Se.value!==void 0||de!==Se.value)&&(_e.value=Se.value),_e}}]),se}(r.Component);k.defaultProps={type:"text"};var R=k,j=function(pe){return r.createElement(T.a,null,function(se){var Te,Se=se.getPrefixCls,ie=se.direction,de=pe.prefixCls,_e=pe.className,We=_e===void 0?"":_e,at=Se("input-group",de),tt=e()(at,(Te={},o()(Te,"".concat(at,"-lg"),pe.size==="large"),o()(Te,"".concat(at,"-sm"),pe.size==="small"),o()(Te,"".concat(at,"-compact"),pe.compact),o()(Te,"".concat(at,"-rtl"),ie==="rtl"),Te),We);return r.createElement("span",{className:tt,style:pe.style,onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onFocus:pe.onFocus,onBlur:pe.onBlur},pe.children)})},V=j,D=i("c+Xe"),H=i("w6Tc"),P=i.n(H),K=i("gZBC"),U=i.n(K),G=i("2/Rp"),W=function(Y,pe){var se={};for(var Te in Y)Object.prototype.hasOwnProperty.call(Y,Te)&&pe.indexOf(Te)<0&&(se[Te]=Y[Te]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Te=Object.getOwnPropertySymbols(Y);Se<Te.length;Se++)pe.indexOf(Te[Se])<0&&Object.prototype.propertyIsEnumerable.call(Y,Te[Se])&&(se[Te[Se]]=Y[Te[Se]]);return se},Z=r.forwardRef(function(Y,pe){var se=r.useRef(null),Te=function(Oe){var yt=Y.onChange,Ye=Y.onSearch;Oe&&Oe.target&&Oe.type==="click"&&Ye&&Ye(Oe.target.value,Oe),yt&&yt(Oe)},Se=function(Oe){var yt;document.activeElement===((yt=se.current)===null||yt===void 0?void 0:yt.input)&&Oe.preventDefault()},ie=function(Oe){var yt,Ye=Y.onSearch,bt=Y.loading,Ct=Y.disabled;if(bt||Ct)return;Ye&&Ye((yt=se.current)===null||yt===void 0?void 0:yt.input.value,Oe)},de=function(Oe){var yt=Y.enterButton,Ye=Y.size;return yt?r.createElement(x.b.Consumer,{key:"enterButton"},function(bt){return r.createElement(G.a,{className:"".concat(Oe,"-button"),type:"primary",size:Ye||bt},r.createElement(U.a,null))}):r.createElement(U.a,{className:"".concat(Oe,"-icon"),key:"loadingIcon"})},_e=function(Oe){var yt=Y.suffix,Ye=Y.enterButton,bt=Y.loading;if(bt&&!Ye)return[yt,de(Oe)];if(Ye)return yt;var Ct=r.createElement(P.a,{className:"".concat(Oe,"-icon"),key:"searchIcon",onClick:ie});return yt?[Object(A.c)(yt,null,{key:"suffix"}),Ct]:Ct},We=function(Oe,yt){var Ye=Y.enterButton,bt=Y.disabled,Ct=Y.addonAfter,It=Y.loading,Ft="".concat(Oe,"-button");if(It&&Ye)return[de(Oe),Ct];if(!Ye)return Ct;var Vt,$e=Ye,ge=$e.type&&$e.type.__ANT_BUTTON===!0;return ge||$e.type==="button"?Vt=Object(A.a)($e,m()({onMouseDown:Se,onClick:ie,key:"enterButton"},ge?{className:Ft,size:yt}:{})):Vt=r.createElement(G.a,{className:Ft,type:"primary",size:yt,disabled:bt,key:"enterButton",onMouseDown:Se,onClick:ie},Ye===!0?r.createElement(P.a,null):Ye),Ct?[Vt,Object(A.c)(Ct,null,{key:"addonAfter"})]:Vt},at=function(Oe){var yt=Oe.getPrefixCls,Ye=Oe.direction,bt=Y.prefixCls,Ct=Y.inputPrefixCls,It=Y.enterButton,Ft=Y.className,Vt=Y.size,$e=W(Y,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete $e.onSearch,delete $e.loading;var ge=yt("input-search",bt),ne=yt("input",Ct),wt=function(he){var kt;if(It){var nr;kt=e()(ge,Ft,(nr={},o()(nr,"".concat(ge,"-rtl"),Ye==="rtl"),o()(nr,"".concat(ge,"-enter-button"),!!It),o()(nr,"".concat(ge,"-").concat(he),!!he),nr))}else kt=e()(ge,Ft,o()({},"".concat(ge,"-rtl"),Ye==="rtl"));return kt};return r.createElement(x.b.Consumer,null,function(qe){return r.createElement(R,m()({ref:Object(D.a)(se,pe),onPressEnter:ie},$e,{size:Vt||qe,prefixCls:ne,addonAfter:We(ge,Vt||qe),suffix:_e(ge),onChange:Te,className:wt(Vt||qe)}))})};return r.createElement(T.a,null,at)});Z.defaultProps={enterButton:!1},Z.displayName="Search";var J=Z,ve=i("Y1PL"),q=function(Y){l()(se,Y);var pe=t()(se);function se(Te){var Se;p()(this,se),Se=pe.call(this,Te),Se.focus=function(){Se.resizableTextArea.textArea.focus()},Se.saveTextArea=function(de){Se.resizableTextArea=de==null?void 0:de.resizableTextArea},Se.saveClearableInput=function(de){Se.clearableInput=de},Se.handleChange=function(de){Se.setValue(de.target.value),L(Se.resizableTextArea.textArea,de,Se.props.onChange)},Se.handleReset=function(de){Se.setValue("",function(){Se.focus()}),L(Se.resizableTextArea.textArea,de,Se.props.onChange)},Se.renderTextArea=function(de,_e){return r.createElement(ve.default,m()({},Object(s.default)(Se.props,["allowClear","bordered"]),{className:e()(Se.props.className,o()({},"".concat(de,"-borderless"),!_e)),prefixCls:de,onChange:Se.handleChange,ref:Se.saveTextArea}))},Se.renderComponent=function(de){var _e=de.getPrefixCls,We=de.direction,at=Se.state.value,tt=Se.props,Oe=tt.prefixCls,yt=tt.bordered,Ye=yt===void 0?!0:yt,bt=_e("input",Oe);return r.createElement(_,m()({},Se.props,{prefixCls:bt,direction:We,inputType:"text",value:I(at),element:Se.renderTextArea(bt,Ye),handleReset:Se.handleReset,ref:Se.saveClearableInput,triggerFocus:Se.focus,bordered:Ye}))};var ie=typeof Te.value=="undefined"?Te.defaultValue:Te.value;return Se.state={value:ie},Se}return f()(se,[{key:"setValue",value:function(Se,ie){this.props.value===void 0&&this.setState({value:Se},ie)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return r.createElement(T.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Se){return Se.value!==void 0?{value:Se.value}:null}}]),se}(r.Component),ce=q,be=i("J4zp"),Ce=i.n(be),Fe=i("qPY4"),fe=i.n(Fe),Ne=i("fUL4"),Q=i.n(Ne),ae=function(Y,pe){var se={};for(var Te in Y)Object.prototype.hasOwnProperty.call(Y,Te)&&pe.indexOf(Te)<0&&(se[Te]=Y[Te]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Te=Object.getOwnPropertySymbols(Y);Se<Te.length;Se++)pe.indexOf(Te[Se])<0&&Object.prototype.propertyIsEnumerable.call(Y,Te[Se])&&(se[Te[Se]]=Y[Te[Se]]);return se},Ue={click:"onClick",hover:"onMouseOver"},te=r.forwardRef(function(Y,pe){var se=Object(r.useState)(!1),Te=Ce()(se,2),Se=Te[0],ie=Te[1],de=function(){var tt=Y.disabled;if(tt)return;ie(!Se)},_e=function(tt){var Oe,yt=Y.action,Ye=Y.iconRender,bt=Ye===void 0?function(){return null}:Ye,Ct=Ue[yt]||"",It=bt(Se),Ft=(Oe={},o()(Oe,Ct,de),o()(Oe,"className","".concat(tt,"-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(It)?It:r.createElement("span",null,It),Ft)},We=function(tt){var Oe=tt.getPrefixCls,yt=Y.className,Ye=Y.prefixCls,bt=Y.inputPrefixCls,Ct=Y.size,It=Y.visibilityToggle,Ft=ae(Y,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Vt=Oe("input",bt),$e=Oe("input-password",Ye),ge=It&&_e($e),ne=e()($e,yt,o()({},"".concat($e,"-").concat(Ct),!!Ct)),wt=m()(m()({},Object(s.default)(Ft,["suffix","iconRender"])),{type:Se?"text":"password",className:ne,prefixCls:Vt,suffix:ge});return Ct&&(wt.size=Ct),r.createElement(R,m()({ref:pe},wt))};return r.createElement(T.a,null,We)});te.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(pe){return pe?r.createElement(fe.a,null):r.createElement(Q.a,null)}},te.displayName="Password";var X=te;R.Group=V,R.Search=J,R.TextArea=ce,R.Password=X;var z=N.a=R},"5s0K":function(B,N,i){var y=i("bYtY");function m(){var E=[],p={},v;return{add:function(f,d,l,n,t){return y.isString(n)&&(t=n,n=0),p[f.id]?!1:(p[f.id]=1,E.push({el:f,target:d,time:l,delay:n,easing:t}),!0)},done:function(f){return v=f,this},start:function(){for(var f=E.length,d=0,l=E.length;d<l;d++){var n=E[d];n.el.animateTo(n.target,n.time,n.delay,n.easing,t)}return this;function t(){f--,f||(E.length=0,p={},v&&v())}}}}N.createWrap=m},"5yev":function(B,N,i){"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(B,N,i){var y=i("ProS");y.registerAction("legendScroll","legendscroll",function(m,E){var p=m.scrollDataIndex;p!=null&&E.eachComponent({mainType:"legend",subType:"scroll",query:m},function(v){v.setScrollDataIndex(p)})})},"62sa":function(B,N,i){var y=i("bYtY"),m=i("4NO4"),E=m.makeInner,p=i("zTMp"),v=i("Ez2D"),f=y.each,d=y.curry,l=E();function n(A,w,b){var S=A.currTrigger,_=[A.x,A.y],T=A,x=A.dispatchAction||y.bind(b.dispatchAction,b),C=w.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;g(_)&&(_=v({seriesIndex:T.seriesIndex,dataIndex:T.dataIndex},w).point);var I=g(_),L=T.axesInfo,M=C.axesInfo,k=S==="leave"||g(_),R={},j={},V={list:[],map:{}},D={showPointer:d(o,j),showTooltip:d(r,V)};f(C.coordSysMap,function(P,K){var U=I||P.containPoint(_);f(C.coordSysAxesInfo[K],function(G,W){var Z=G.axis,J=u(L,G);if(!k&&U&&(!L||J)){var ve=J&&J.value;ve==null&&!I&&(ve=Z.pointToData(_)),ve!=null&&t(G,ve,D,!1,R)}})});var H={};return f(M,function(P,K){var U=P.linkGroup;U&&!j[K]&&f(U.axesInfo,function(G,W){var Z=j[W];if(G!==P&&Z){var J=Z.value;U.mapper&&(J=P.axis.scale.parse(U.mapper(J,h(G),h(P)))),H[P.key]=J}})}),f(H,function(P,K){t(M[K],P,D,!0,R)}),c(j,M,R),e(V,_,A,x),s(M,x,b),R}function t(A,w,b,S,_){var T=A.axis;if(T.scale.isBlank()||!T.containData(w))return;if(!A.involveSeries){b.showPointer(A,w);return}var x=a(w,A),C=x.payloadBatch,I=x.snapToValue;C[0]&&_.seriesIndex==null&&y.extend(_,C[0]),!S&&A.snap&&(T.containData(I)&&I!=null&&(w=I)),b.showPointer(A,w,C,_),b.showTooltip(A,x,I)}function a(A,w){var b=w.axis,S=b.dim,_=A,T=[],x=Number.MAX_VALUE,C=-1;return f(w.seriesModels,function(I,L){var M=I.getData().mapDimension(S,!0),k,R;if(I.getAxisTooltipData){var j=I.getAxisTooltipData(M,A,b);R=j.dataIndices,k=j.nestestValue}else{if(R=I.getData().indicesOfNearest(M[0],A,b.type==="category"?.5:null),!R.length)return;k=I.getData().get(M[0],R[0])}if(k==null||!isFinite(k))return;var V=A-k,D=Math.abs(V);D<=x&&((D<x||V>=0&&C<0)&&(x=D,C=V,_=k,T.length=0),f(R,function(H){T.push({seriesIndex:I.seriesIndex,dataIndexInside:H,dataIndex:I.getData().getRawIndex(H)})}))}),{payloadBatch:T,snapToValue:_}}function o(A,w,b,S){A[w.key]={value:b,payloadBatch:S}}function r(A,w,b,S){var _=b.payloadBatch,T=w.axis,x=T.model,C=w.axisPointerModel;if(!w.triggerTooltip||!_.length)return;var I=w.coordSys.model,L=p.makeKey(I),M=A.map[L];M||(M=A.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},A.list.push(M)),M.dataByAxis.push({axisDim:T.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:S,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:_.slice()})}function c(A,w,b){var S=b.axesInfo=[];f(w,function(_,T){var x=_.axisPointerModel.option,C=A[T];C?(!_.useHandle&&(x.status="show"),x.value=C.value,x.seriesDataIndices=(C.payloadBatch||[]).slice()):!_.useHandle&&(x.status="hide"),x.status==="show"&&S.push({axisDim:_.axis.dim,axisIndex:_.axis.model.componentIndex,value:x.value})})}function e(A,w,b,S){if(g(w)||!A.list.length){S({type:"hideTip"});return}var _=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:w[0],y:w[1],tooltipOption:b.tooltipOption,position:b.position,dataIndexInside:_.dataIndexInside,dataIndex:_.dataIndex,seriesIndex:_.seriesIndex,dataByCoordSys:A.list})}function s(A,w,b){var S=b.getZr(),_="axisPointerLastHighlights",T=l(S)[_]||{},x=l(S)[_]={};f(A,function(L,M){var k=L.axisPointerModel.option;k.status==="show"&&f(k.seriesDataIndices,function(R){var j=R.seriesIndex+" | "+R.dataIndex;x[j]=R})});var C=[],I=[];y.each(T,function(L,M){!x[M]&&I.push(L)}),y.each(x,function(L,M){!T[M]&&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(A,w){for(var b=0;b<(A||[]).length;b++){var S=A[b];if(w.axis.dim===S.axisDim&&w.axis.model.componentIndex===S.axisIndex)return S}}function h(A){var w=A.axis.model,b={},S=b.axisDim=A.axis.dim;return b.axisIndex=b[S+"AxisIndex"]=w.componentIndex,b.axisName=b[S+"AxisName"]=w.name,b.axisId=b[S+"AxisId"]=w.id,b}function g(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}B.exports=n},"6BzB":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.shrinkBuf=y,N.arraySet=m,N.flattenChunks=E,N.Buf32=N.Buf16=N.Buf8=void 0;function y(d,l){return d.length===l?d:d.subarray?d.subarray(0,l):(d.length=l,d)}function m(d,l,n,t,a){if(l.subarray&&d.subarray){d.set(l.subarray(n,n+t),a);return}for(var o=0;o<t;o++)d[a+o]=l[n+o]}function E(d){var l,n,t,a,o,r;for(t=0,l=0,n=d.length;l<n;l++)t+=d[l].length;for(r=new Uint8Array(t),a=0,l=0,n=d.length;l<n;l++)o=d[l],r.set(o,a),a+=o.length;return r}var p=Uint8Array;N.Buf8=p;var v=Uint16Array;N.Buf16=v;var f=Int32Array;N.Buf32=f},"6D9b":function(B,N,i){},"6GrX":function(B,N,i){var y=i("mFDi"),m=i("Xnb7"),E=i("bYtY"),p=E.getContext,v=E.extend,f=E.retrieve2,d=E.retrieve3,l=E.trim,n={},t=0,a=5e3,o=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",c={};function e(V,D){c[V]=D}function s(V,D){D=D||r;var H=V+":"+D;if(n[H])return n[H];for(var P=(V+"").split(`
`),K=0,U=0,G=P.length;U<G;U++)K=Math.max(L(P[U],D).width,K);return t>a&&(t=0,n={}),t++,n[H]=K,K}function u(V,D,H,P,K,U,G,W){return G?g(V,D,H,P,K,U,G,W):h(V,D,H,P,K,U,W)}function h(V,D,H,P,K,U,G){var W=M(V,D,K,U,G),Z=s(V,D);K&&(Z+=K[1]+K[3]);var J=W.outerHeight,ve=A(0,Z,H),q=w(0,J,P),ce=new y(ve,q,Z,J);return ce.lineHeight=W.lineHeight,ce}function g(V,D,H,P,K,U,G,W){var Z=k(V,{rich:G,truncate:W,font:D,textAlign:H,textPadding:K,textLineHeight:U}),J=Z.outerWidth,ve=Z.outerHeight,q=A(0,J,H),ce=w(0,ve,P);return new y(q,ce,J,ve)}function A(V,D,H){return H==="right"?V-=D:H==="center"&&(V-=D/2),V}function w(V,D,H){return H==="middle"?V-=D/2:H==="bottom"&&(V-=D),V}function b(V,D,H){var P=D.textPosition,K=D.textDistance,U=H.x,G=H.y;K=K||0;var W=H.height,Z=H.width,J=W/2,ve="left",q="top";switch(P){case"left":U-=K,G+=J,ve="right",q="middle";break;case"right":U+=K+Z,G+=J,q="middle";break;case"top":U+=Z/2,G-=K,ve="center",q="bottom";break;case"bottom":U+=Z/2,G+=W+K,ve="center";break;case"inside":U+=Z/2,G+=J,ve="center",q="middle";break;case"insideLeft":U+=K,G+=J,q="middle";break;case"insideRight":U+=Z-K,G+=J,ve="right",q="middle";break;case"insideTop":U+=Z/2,G+=K,ve="center";break;case"insideBottom":U+=Z/2,G+=W-K,ve="center",q="bottom";break;case"insideTopLeft":U+=K,G+=K;break;case"insideTopRight":U+=Z-K,G+=K,ve="right";break;case"insideBottomLeft":U+=K,G+=W-K,q="bottom";break;case"insideBottomRight":U+=Z-K,G+=W-K,ve="right",q="bottom";break}return V=V||{},V.x=U,V.y=G,V.textAlign=ve,V.textVerticalAlign=q,V}function S(V,D,H){var P={textPosition:V,textDistance:H};return b({},P,D)}function _(V,D,H,P,K){if(!D)return"";var U=(V+"").split(`
`);K=T(D,H,P,K);for(var G=0,W=U.length;G<W;G++)U[G]=x(U[G],K);return U.join(`
`)}function T(V,D,H,P){P=v({},P),P.font=D;var H=f(H,"...");P.maxIterations=f(P.maxIterations,2);var K=P.minChar=f(P.minChar,0);P.cnCharWidth=s("\u56FD",D);var U=P.ascCharWidth=s("a",D);P.placeholder=f(P.placeholder,"");for(var G=V=Math.max(0,V-1),W=0;W<K&&G>=U;W++)G-=U;var Z=s(H,D);return Z>G&&(H="",Z=0),G=V-Z,P.ellipsis=H,P.ellipsisWidth=Z,P.contentWidth=G,P.containerWidth=V,P}function x(V,D){var H=D.containerWidth,P=D.font,K=D.contentWidth;if(!H)return"";var U=s(V,P);if(U<=H)return V;for(var G=0;;G++){if(U<=K||G>=D.maxIterations){V+=D.ellipsis;break}var W=G===0?C(V,K,D.ascCharWidth,D.cnCharWidth):U>0?Math.floor(V.length*K/U):0;V=V.substr(0,W),U=s(V,P)}return V===""&&(V=D.placeholder),V}function C(V,D,H,P){for(var K=0,U=0,G=V.length;U<G&&K<D;U++){var W=V.charCodeAt(U);K+=0<=W&&W<=127?H:P}return U}function I(V){return s("\u56FD",V)}function L(V,D){return c.measureText(V,D)}c.measureText=function(V,D){var H=p();return H.font=D||r,H.measureText(V)};function M(V,D,H,P,K){V!=null&&(V+="");var U=f(P,I(D)),G=V?V.split(`
`):[],W=G.length*U,Z=W,J=!0;if(H&&(Z+=H[0]+H[2]),V&&K){J=!1;var ve=K.outerHeight,q=K.outerWidth;if(ve!=null&&Z>ve)V="",G=[];else if(q!=null)for(var ce=T(q-(H?H[1]+H[3]:0),D,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),be=0,Ce=G.length;be<Ce;be++)G[be]=x(G[be],ce)}return{lines:G,height:W,outerHeight:Z,lineHeight:U,canCacheByTextString:J}}function k(V,D){var H={lines:[],width:0,height:0};if(V!=null&&(V+=""),!V)return H;for(var P=o.lastIndex=0,K;(K=o.exec(V))!=null;){var U=K.index;U>P&&R(H,V.substring(P,U)),R(H,K[2],K[1]),P=o.lastIndex}P<V.length&&R(H,V.substring(P,V.length));var G=H.lines,W=0,Z=0,J=[],ve=D.textPadding,q=D.truncate,ce=q&&q.outerWidth,be=q&&q.outerHeight;ve&&(ce!=null&&(ce-=ve[1]+ve[3]),be!=null&&(be-=ve[0]+ve[2]));for(var Ce=0;Ce<G.length;Ce++){for(var Fe=G[Ce],fe=0,Ne=0,Q=0;Q<Fe.tokens.length;Q++){var ae=Fe.tokens[Q],Ue=ae.styleName&&D.rich[ae.styleName]||{},te=ae.textPadding=Ue.textPadding,X=ae.font=Ue.font||D.font,z=ae.textHeight=f(Ue.textHeight,I(X));if(te&&(z+=te[0]+te[2]),ae.height=z,ae.lineHeight=d(Ue.textLineHeight,D.textLineHeight,z),ae.textAlign=Ue&&Ue.textAlign||D.textAlign,ae.textVerticalAlign=Ue&&Ue.textVerticalAlign||"middle",be!=null&&W+ae.lineHeight>be)return{lines:[],width:0,height:0};ae.textWidth=s(ae.text,X);var Y=Ue.textWidth,pe=Y==null||Y==="auto";if(typeof Y=="string"&&Y.charAt(Y.length-1)==="%")ae.percentWidth=Y,J.push(ae),Y=0;else{if(pe){Y=ae.textWidth;var se=Ue.textBackgroundColor,Te=se&&se.image;Te&&(Te=m.findExistImage(Te),m.isImageReady(Te)&&(Y=Math.max(Y,Te.width*z/Te.height)))}var Se=te?te[1]+te[3]:0;Y+=Se;var ie=ce!=null?ce-Ne:null;ie!=null&&ie<Y&&(!pe||ie<Se?(ae.text="",ae.textWidth=Y=0):(ae.text=_(ae.text,ie-Se,X,q.ellipsis,{minChar:q.minChar}),ae.textWidth=s(ae.text,X),Y=ae.textWidth+Se))}Ne+=ae.width=Y,Ue&&(fe=Math.max(fe,ae.lineHeight))}Fe.width=Ne,Fe.lineHeight=fe,W+=fe,Z=Math.max(Z,Ne)}H.outerWidth=H.width=f(D.textWidth,Z),H.outerHeight=H.height=f(D.textHeight,W),ve&&(H.outerWidth+=ve[1]+ve[3],H.outerHeight+=ve[0]+ve[2]);for(var Ce=0;Ce<J.length;Ce++){var ae=J[Ce],de=ae.percentWidth;ae.width=parseInt(de,10)/100*Z}return H}function R(V,D,H){for(var P=D==="",K=D.split(`
`),U=V.lines,G=0;G<K.length;G++){var W=K[G],Z={styleName:H,text:W,isLineHolder:!W&&!P};if(G)U.push({tokens:[Z]});else{var J=(U[U.length-1]||(U[0]={tokens:[]})).tokens,ve=J.length;ve===1&&J[0].isLineHolder?J[0]=Z:(W||!ve||P)&&J.push(Z)}}}function j(V){var D=(V.fontSize||V.fontFamily)&&[V.fontStyle,V.fontWeight,(V.fontSize||12)+"px",V.fontFamily||"sans-serif"].join(" ");return D&&l(D)||V.textFont||V.font}N.DEFAULT_FONT=r,N.$override=e,N.getWidth=s,N.getBoundingRect=u,N.adjustTextX=A,N.adjustTextY=w,N.calculateTextPosition=b,N.adjustTextPositionOnRect=S,N.truncateText=_,N.getLineHeight=I,N.measureText=L,N.parsePlainText=M,N.parseRichText=k,N.makeFont=j},"6Hfg":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("FhB9")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="SwapRightOutlined";var l=p.forwardRef(d);N.default=l},"6Ic6":function(B,N,i){var y=i("bYtY"),m=y.each,E=i("4fz+"),p=i("iRjW"),v=i("Yl7c"),f=i("4NO4"),d=i("IwbS"),l=i("9H2F"),n=l.createTask,t=i("zM3Q"),a=f.makeInner(),o=t();function r(){this.group=new E,this.uid=p.getUID("viewChart"),this.renderTask=n({plan:u,reset:h}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(w,b){},render:function(w,b,S,_){},highlight:function(w,b,S,_){s(w.getData(),_,"emphasis")},downplay:function(w,b,S,_){s(w.getData(),_,"normal")},remove:function(w,b){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=r.prototype;c.updateView=c.updateLayout=c.updateVisual=function(w,b,S,_){this.render(w,b,S,_)};function e(w,b,S){if(w&&(w.trigger(b,S),w.isGroup&&!d.isHighDownDispatcher(w)))for(var _=0,T=w.childCount();_<T;_++)e(w.childAt(_),b,S)}function s(w,b,S){var _=f.queryDataIndex(w,b),T=b&&b.highlightKey!=null?d.getHighlightDigit(b.highlightKey):null;_!=null?m(f.normalizeToArray(_),function(x){e(w.getItemGraphicEl(x),S,T)}):w.eachItemGraphicEl(function(x){e(x,S,T)})}v.enableClassExtend(r,["dispose"]),v.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(w,b){a(w).updateMethod=b};function u(w){return o(w.model)}function h(w){var b=w.model,S=w.ecModel,_=w.api,T=w.payload,x=b.pipelineContext.progressiveRender,C=w.view,I=T&&a(T).updateMethod,L=x?"incrementalPrepareRender":I&&C[I]?I:"render";return L!=="render"&&C[L](b,S,_,T),g[L]}var g={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)}}},A=r;B.exports=A},"6MrE":function(B,N,i){},"6Qwc":function(B,N,i){"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(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("qWUW"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"6UJt":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("v56E"),p=i.n(E),v=i("R9oj"),f=i("5NDa")},"6VBw":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("ODXe"),E=i("rePB"),p=i("Ff2n"),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("Pw59"),n=i("Qi1f"),t=["icon","className","onClick","style","primaryColor","secondaryColor"],a={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function o(w){var b=w.primaryColor,S=w.secondaryColor;a.primaryColor=b,a.secondaryColor=S||Object(n.b)(b),a.calculated=!!S}function r(){return Object(y.a)({},a)}var c=function(b){var S=b.icon,_=b.className,T=b.onClick,x=b.style,C=b.primaryColor,I=b.secondaryColor,L=Object(p.a)(b,t),M=a;if(C&&(M={primaryColor:C,secondaryColor:I||Object(n.b)(C)}),Object(n.f)(),Object(n.g)(Object(n.c)(S),"icon should be icon definiton, but got ".concat(S)),!Object(n.c)(S))return null;var k=S;return k&&typeof k.icon=="function"&&(k=Object(y.a)(Object(y.a)({},k),{},{icon:k.icon(M.primaryColor,M.secondaryColor)})),Object(n.a)(k.icon,"svg-".concat(k.name),Object(y.a)({className:_,onClick:T,style:x,"data-icon":k.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},L))};c.displayName="IconReact",c.getTwoToneColors=r,c.setTwoToneColors=o;var e=c;function s(w){var b=Object(n.d)(w),S=Object(m.a)(b,2),_=S[0],T=S[1];return e.setTwoToneColors({primaryColor:_,secondaryColor:T})}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 g=v.forwardRef(function(w,b){var S,_=w.className,T=w.icon,x=w.spin,C=w.rotate,I=w.tabIndex,L=w.onClick,M=w.twoToneColor,k=Object(p.a)(w,h),R=v.useContext(l.a),j=R.prefixCls,V=j===void 0?"anticon":j,D=d()(V,(S={},Object(E.a)(S,"".concat(V,"-").concat(T.name),!!T.name),Object(E.a)(S,"".concat(V,"-spin"),!!x||T.name==="loading"),S),_),H=I;H===void 0&&L&&(H=-1);var P=C?{msTransform:"rotate(".concat(C,"deg)"),transform:"rotate(".concat(C,"deg)")}:void 0,K=Object(n.d)(M),U=Object(m.a)(K,2),G=U[0],W=U[1];return v.createElement("span",Object(y.a)(Object(y.a)({role:"img","aria-label":T.name},k),{},{ref:b,tabIndex:H,onClick:L,className:D}),v.createElement(e,{icon:T,primaryColor:G,secondaryColor:W,style:P}))});g.displayName="AntdIcon",g.getTwoToneColor=u,g.setTwoToneColor=s;var A=N.a=g},"6cGi":function(B,N,i){"use strict";i.d(N,"a",function(){return p});var y=i("ODXe"),m=i("q1tI"),E=i.n(m);function p(v,f){var d=f||{},l=d.defaultValue,n=d.value,t=d.onChange,a=d.postState,o=m.useState(function(){return n!==void 0?n:l!==void 0?typeof l=="function"?l():l:typeof v=="function"?v():v}),r=Object(y.a)(o,2),c=r[0],e=r[1],s=n!==void 0?n:c;a&&(s=a(s));function u(g){e(g),s!==g&&t&&t(g,s)}var h=m.useRef(!0);return m.useEffect(function(){if(h.current){h.current=!1;return}n===void 0&&e(n)},[n]),[s,u]}},"6fms":function(B,N,i){var y=i("SUKs"),m=i("06Qe"),E=i("bYtY"),p=E.each;function v(n){return parseInt(n,10)}function f(n,t){m.initVML(),this.root=n,this.storage=t;var a=document.createElement("div"),o=document.createElement("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",o.style.cssText="position:absolute;left:0;top:0;",n.appendChild(a),this._vmlRoot=o,this._vmlViewport=a,this.resize();var r=t.delFromStorage,c=t.addToStorage;t.delFromStorage=function(e){r.call(t,e),e&&(e.onRemove&&e.onRemove(o))},t.addToStorage=function(e){e.onAdd&&e.onAdd(o),c.call(t,e)},this._firstPaint=!0}f.prototype={constructor:f,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var a=this._vmlRoot,o=0;o<t.length;o++){var r=t[o];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(a),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(a),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,a),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(a),this._firstPaint=!1)},resize:function(t,a){var t=t==null?this._getWidth():t,a=a==null?this._getHeight():a;if(this._width!==t||this._height!==a){this._width=t,this._height=a;var o=this._vmlViewport.style;o.width=t+"px",o.height=a+"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 t=this.root,a=t.currentStyle;return(t.clientWidth||v(a.width))-v(a.paddingLeft)-v(a.paddingRight)|0},_getHeight:function(){var t=this.root,a=t.currentStyle;return(t.clientHeight||v(a.height))-v(a.paddingTop)-v(a.paddingBottom)|0}};function d(n){return function(){y('In IE8.0 VML mode painter not support method "'+n+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(n){f.prototype[n]=d(n)});var l=f;B.exports=l},"6r85":function(B,N,i){var y=i("bYtY");function m(E){if(!E||!y.isArray(E.series))return;y.each(E.series,function(p){y.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}B.exports=m},"6uqw":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("ItGF"),p=i("YOMW"),v=i("XxSj"),f=i("K4ya"),d=i("4NO4"),l=i("OELB"),n=v.mapVisual,t=v.eachVisual,a=m.isArray,o=m.each,r=l.asc,c=l.linearMap,e=m.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,g,A){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(h,A)},optionUpdated:function(h,g){var A=this.option;E.canvasSupported||(A.realtime=!1),!g&&f.replaceVisualOption(A,h,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(h){var g=this.stateList;h=m.bind(h,this),this.controllerVisuals=f.createVisualMappings(this.option.controller,g,h),this.targetVisuals=f.createVisualMappings(this.option.target,g,h)},getTargetSeriesIndices:function(){var h=this.option.seriesIndex,g=[];return h==null||h==="all"?this.ecModel.eachSeries(function(A,w){g.push(w)}):g=d.normalizeToArray(h),g},eachTargetSeries:function(h,g){m.each(this.getTargetSeriesIndices(),function(A){h.call(g,this.ecModel.getSeriesByIndex(A))},this)},isTargetSeries:function(h){var g=!1;return this.eachTargetSeries(function(A){A===h&&(g=!0)}),g},formatValueText:function(h,g,A){var w=this.option,b=w.precision,S=this.dataBound,_=w.formatter,T,x;if(A=A||["<",">"],m.isArray(h)&&(h=h.slice(),T=!0),x=g?h:T?[C(h[0]),C(h[1])]:C(h),m.isString(_))return _.replace("{value}",T?x[0]:x).replace("{value2}",T?x[1]:x);if(m.isFunction(_))return T?_(h[0],h[1]):_(h);if(T)return h[0]===S[0]?A[0]+" "+x[1]:h[1]===S[1]?A[1]+" "+x[0]:x[0]+" - "+x[1];return x;function C(I){return I===S[0]?"min":I===S[1]?"max":(+I).toFixed(Math.min(b,20))}},resetExtent:function(){var h=this.option,g=r([h.min,h.max]);this._dataExtent=g},getDataDimension:function(h){var g=this.option.dimension,A=h.dimensions;if(g==null&&!A.length)return;if(g!=null)return h.getDimension(g);for(var w=h.dimensions,b=w.length-1;b>=0;b--){var S=w[b],_=h.getDimensionInfo(S);if(!_.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,g=this.option,A={inRange:g.inRange,outOfRange:g.outOfRange},w=g.target||(g.target={}),b=g.controller||(g.controller={});m.merge(w,A),m.merge(b,A);var S=this.isCategory();_.call(this,w),_.call(this,b),T.call(this,w,"inRange","outOfRange"),x.call(this,b);function _(C){a(g.color)&&!C.inRange&&(C.inRange={color:g.color.slice().reverse()}),C.inRange=C.inRange||{color:h.get("gradientColor")},o(this.stateList,function(I){var L=C[I];if(m.isString(L)){var M=p.get(L,"active",S);M?(C[I]={},C[I][L]=M):delete C[I]}},this)}function T(C,I,L){var M=C[I],k=C[L];M&&!k&&(k=C[L]={},o(M,function(R,j){if(!v.isValidType(j))return;var V=p.get(j,"inactive",S);V!=null&&(k[j]=V,j==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function x(C){var I=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,L=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,M=this.get("inactiveColor");o(this.stateList,function(k){var R=this.itemSize,j=C[k];j||(j=C[k]={color:S?M:[M]}),j.symbol==null&&(j.symbol=I&&m.clone(I)||(S?"roundRect":["roundRect"])),j.symbolSize==null&&(j.symbolSize=L&&m.clone(L)||(S?R[0]:[R[0],R[0]])),j.symbol=n(j.symbol,function(H){return H==="none"||H==="square"?"roundRect":H});var V=j.symbolSize;if(V!=null){var D=-Infinity;t(V,function(H){H>D&&(D=H)}),j.symbolSize=n(V,function(H){return c(H,[0,D],[0,R[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;B.exports=u},"6usn":function(B,N,i){var y=i("bYtY");function m(p,v){return y.map(["Radius","Angle"],function(f,d){var l=this["get"+f+"Axis"](),n=v[d],t=p[d]/2,a="dataTo"+f,o=l.type==="category"?l.getBandWidth():Math.abs(l[a](n-t)-l[a](n+t));return f==="Angle"&&(o=o*Math.PI/180),o},this)}function E(p){var v=p.getRadiusAxis(),f=p.getAngleAxis(),d=v.getExtent();return d[0]>d[1]&&d.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:d[1],r0:d[0]},api:{coord:y.bind(function(l){var n=v.dataToRadius(l[0]),t=f.dataToAngle(l[1]),a=p.coordToPoint([n,t]);return a.push(n,t*Math.PI/180),a}),size:y.bind(m,p)}}}B.exports=E},"6xvX":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("V7ic"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"711d":function(B,N){function i(y){return function(m){return m==null?void 0:m[y]}}B.exports=i},"72pK":function(B,N){function i(E,p,v,f,d,l){E=E||0;var n=v[1]-v[0];if(d!=null&&(d=m(d,[0,n])),l!=null&&(l=Math.max(l,d!=null?d:0)),f==="all"){var t=Math.abs(p[1]-p[0]);t=m(t,[0,n]),d=l=m(t,[d,l]),f=0}p[0]=m(p[0],v),p[1]=m(p[1],v);var a=y(p,f);p[f]+=E;var o=d||0,r=v.slice();a.sign<0?r[0]+=o:r[1]-=o,p[f]=m(p[f],r);var c=y(p,f);d!=null&&(c.sign!==a.sign||c.span<d)&&(p[1-f]=p[f]+a.sign*d);var c=y(p,f);return l!=null&&c.span>l&&(p[1-f]=p[f]+c.sign*l),p}function y(E,p){var v=E[p]-E[1-p];return{span:Math.abs(v),sign:v>0?-1:v<0?1:p?-1:1}}function m(E,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,E))}B.exports=i},"75ce":function(B,N,i){var y=i("ProS");i("IXuL"),i("8X+K");var m=i("f5Yq"),E=i("h8O9"),p=i("/d5a");i("Ae16"),y.registerVisual(m("line","circle","line")),y.registerLayout(E("line")),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(B,N,i){var y=i("ProS");i("IWNH"),i("bNin"),i("v5uJ");var m=i("f5Yq"),E=i("yik8");y.registerVisual(m("tree","circle")),y.registerLayout(E)},"7AJT":function(B,N,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.position=n||"bottom"};E.prototype={constructor:E,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var f=this.getExtent();return f[0]=this.toGlobalCoord(f[0]),f[1]=this.toGlobalCoord(f[1]),v&&f[0]>f[1]&&f.reverse(),f},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,f){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),f)},toLocalCoord:null,toGlobalCoord:null},y.inherits(E,m);var p=E;B.exports=p},"7Cbv":function(B,N,i){"use strict";var y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),m=new Uint8Array(16);function E(){if(!y)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(m)}var p=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function v(r){return typeof r=="string"&&p.test(r)}for(var f=v,d=[],l=0;l<256;++l)d.push((l+256).toString(16).substr(1));function n(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e=(d[r[c+0]]+d[r[c+1]]+d[r[c+2]]+d[r[c+3]]+"-"+d[r[c+4]]+d[r[c+5]]+"-"+d[r[c+6]]+d[r[c+7]]+"-"+d[r[c+8]]+d[r[c+9]]+"-"+d[r[c+10]]+d[r[c+11]]+d[r[c+12]]+d[r[c+13]]+d[r[c+14]]+d[r[c+15]]).toLowerCase();if(!f(e))throw TypeError("Stringified UUID is invalid");return e}var t=n;function a(r,c,e){r=r||{};var s=r.random||(r.rng||E)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,c){e=e||0;for(var u=0;u<16;++u)c[e+u]=s[u];return c}return t(s)}var o=N.a=a},"7DRL":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.createHashMap,v=E.isString,f=E.isArray,d=E.each,l=E.assert,n=i("MEGo"),t=n.parseXML,a=p(),o={registerMap:function(c,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 g=h.type;g==="geoJson"&&(g=h.type="geoJSON");var A=r[g];A(h)}),a.set(c,u)},retrieveMap:function(c){return a.get(c)}},r={geoJSON:function(c){var e=c.source;c.geoJSON=v(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(c){c.svgXML=t(c.source)}};B.exports=o},"7G+c":function(B,N,i){var y=i("bYtY"),m=y.createHashMap,E=y.isTypedArray,p=i("Yl7c"),v=p.enableClassCheck,f=i("k9D9"),d=f.SOURCE_FORMAT_ORIGINAL,l=f.SERIES_LAYOUT_BY_COLUMN,n=f.SOURCE_FORMAT_UNKNOWN,t=f.SOURCE_FORMAT_TYPED_ARRAY,a=f.SOURCE_FORMAT_KEYED_COLUMNS;function o(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===a?{}:[]),this.sourceFormat=c.sourceFormat||n,this.seriesLayoutBy=c.seriesLayoutBy||l,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&m(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}o.seriesDataToSource=function(c){return new o({data:c,sourceFormat:E(c)?t:d,fromDataset:!1})},v(o);var r=o;B.exports=r},"7Kak":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("KPFz"),p=i.n(E)},"7Phj":function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=y.each;function v(n){var t=f(n);p(t,function(a){var o=a.seriesModels;if(!o.length)return;d(a),p(o,function(r,c){l(r,a.boxOffsetList[c],a.boxWidthList[c])})})}function f(n){var t=[],a=[];return n.eachSeriesByType("boxplot",function(o){var r=o.getBaseAxis(),c=y.indexOf(a,r);c<0&&(c=a.length,a[c]=r,t[c]={axis:r,seriesModels:[]}),t[c].seriesModels.push(o)}),t}function d(n){var t,a=n.axis,o=n.seriesModels,r=o.length,c=n.boxWidthList=[],e=n.boxOffsetList=[],s=[],u;if(a.type==="category")u=a.getBandWidth();else{var h=0;p(o,function(S){h=Math.max(h,S.getData().count())}),t=a.getExtent(),Math.abs(t[1]-t[0])/h}p(o,function(S){var _=S.get("boxWidth");y.isArray(_)||(_=[_,_]),s.push([E(_[0],u)||0,E(_[1],u)||0])});var g=u*.8-2,A=g/r*.3,w=(g-A*(r-1))/r,b=w/2-g/2;p(o,function(S,_){e.push(b),b+=A+w,c.push(Math.min(Math.max(w,s[_][0]),s[_][1]))})}function l(n,t,a){var o=n.coordinateSystem,r=n.getData(),c=a/2,e=n.get("layout")==="horizontal"?0:1,s=1-e,u=["x","y"],h=r.mapDimension(u[e]),g=r.mapDimension(u[s],!0);if(h==null||g.length<5)return;for(var A=0;A<r.count();A++){var w=r.get(h,A),b=I(w,g[2],A),S=I(w,g[0],A),_=I(w,g[1],A),T=I(w,g[3],A),x=I(w,g[4],A),C=[];L(C,_,0),L(C,T,1),C.push(S,_,x,T),M(C,S),M(C,x),M(C,b),r.setItemLayout(A,{initBaseline:b[s],ends:C})}function I(k,R,j){var V=r.get(R,j),D=[];D[e]=k,D[s]=V;var H;return isNaN(k)||isNaN(V)?H=[NaN,NaN]:(H=o.dataToPoint(D),H[e]+=t),H}function L(k,R,j){var V=R.slice(),D=R.slice();V[e]+=c,D[e]-=c,j?k.push(V,D):k.push(D,V)}function M(k,R){var j=R.slice(),V=R.slice();j[e]-=c,V[e]+=c,k.push(j,V)}}B.exports=v},"7SHv":function(B,N,i){var y=i("LPTA"),m=y.devicePixelRatio,E=i("bYtY"),p=i("SUKs"),v=i("mFDi"),f=i("BPZU"),d=i("Xmg4"),l=i("mLcG"),n=i("Dagg"),t=i("ItGF"),a=1e5,o=314159,r=.01,c=.001;function e(T){return parseInt(T,10)}function s(T){return T?T.__builtin__?!0:!(typeof T.resize!="function"||typeof T.refresh!="function"):!1}var u=new v(0,0,0,0),h=new v(0,0,0,0);function g(T,x,C){return u.copy(T.getBoundingRect()),T.transform&&u.applyTransform(T.transform),h.width=x,h.height=C,!u.intersect(h)}function A(T,x){if(T===x)return!1;if(!T||!x||T.length!==x.length)return!0;for(var C=0;C<T.length;C++)if(T[C]!==x[C])return!0;return!1}function w(T,x){for(var C=0;C<T.length;C++){var I=T[C];I.setTransform(x),x.beginPath(),I.buildPath(x,I.shape),x.clip(),I.restoreTransform(x)}}function b(T,x){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+T+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var S=function(x,C,I){this.type="canvas";var L=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=I=E.extend({},I||{}),this.dpr=I.devicePixelRatio||m,this._singleCanvas=L,this.root=x;var M=x.style;M&&(M["-webkit-tap-highlight-color"]="transparent",M["-webkit-user-select"]=M["user-select"]=M["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=C;var k=this._zlevelList=[],R=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var V=x.width,D=x.height;I.width!=null&&(V=I.width),I.height!=null&&(D=I.height),this.dpr=I.devicePixelRatio||1,x.width=V*this.dpr,x.height=D*this.dpr,this._width=V,this._height=D;var H=new d(x,this,this.dpr);H.__builtin__=!0,H.initContext(),R[o]=H,H.zlevel=o,k.push(o),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var j=this._domRoot=b(this._width,this._height);x.appendChild(j)}this._hoverlayer=null,this._hoverElements=[]};S.prototype={constructor:S,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 M=I[L],k=this._layers[M];if(!k.__builtin__&&k.refresh){var R=L===0?this._backgroundColor:null;k.refresh(R)}}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=E.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(a));var L={};I.ctx.save();for(var M=0;M<C;){var k=x[M],R=k.__from;if(!(R&&R.__zr)){x.splice(M,1),R.__hoverMir=null,C--;continue}M++,R.invisible||(k.transform=R.transform,k.invTransform=R.invTransform,k.__clipPaths=R.__clipPaths,this._doPaintEl(k,I,!0,L))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(a)},_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 M=this;l(function(){M._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 M=this._zlevelList[L],k=this._layers[M];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||C)&&I.push(k)}for(var R=!0,j=0;j<I.length;j++){var k=I[j],V=k.ctx,D={};V.save();var H=C?k.__startIndex:k.__drawIndex,P=!C&&k.incremental&&Date.now,K=P&&Date.now(),U=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,U);else if(H===k.__startIndex){var G=x[H];(!G.incremental||!G.notClear||C)&&k.clear(!1,U)}H===-1&&(console.error("For some unknown reason. drawIndex is -1"),H=k.__startIndex);for(var W=H;W<k.__endIndex;W++){var Z=x[W];if(this._doPaintEl(Z,k,C,D),Z.__dirty=Z.__dirtyText=!1,P){var J=Date.now()-K;if(J>15)break}}k.__drawIndex=W,k.__drawIndex<k.__endIndex&&(R=!1),D.prevElClipPaths&&V.restore(),V.restore()}return t.wxa&&E.each(this._layers,function(ve){ve&&ve.ctx&&ve.ctx.draw&&ve.ctx.draw()}),R},_doPaintEl:function(x,C,I,L){var M=C.ctx,k=x.transform;if((C.__dirty||I)&&!x.invisible&&x.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(x.culling&&g(x,this._width,this._height))){var R=x.__clipPaths,j=L.prevElClipPaths;(!j||A(R,j))&&(j&&(M.restore(),L.prevElClipPaths=null,L.prevEl=null),R&&(M.save(),w(R,M),L.prevElClipPaths=R)),x.beforeBrush&&x.beforeBrush(M),x.brush(M,L.prevEl||null),L.prevEl=x,x.afterBrush&&x.afterBrush(M)}},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]?E.merge(I,this._layerConfig[x],!0):this._layerConfig[x-r]&&E.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,M=L.length,k=null,R=-1,j=this._domRoot;if(I[x]){p("ZLevel "+x+" has been used already");return}if(!s(C)){p("Layer of zlevel "+x+" is not valid");return}if(M>0&&x>L[0]){for(R=0;R<M-1&&!(L[R]<x&&L[R+1]>x);R++);k=I[L[R]]}if(L.splice(R+1,0,x),I[x]=C,!C.virtual)if(k){var V=k.dom;V.nextSibling?j.insertBefore(C.dom,V.nextSibling):j.appendChild(C.dom)}else j.firstChild?j.insertBefore(C.dom,j.firstChild):j.appendChild(C.dom)},eachLayer:function(x,C){var I=this._zlevelList,L,M;for(M=0;M<I.length;M++)L=I[M],x.call(C,this._layers[L],L)},eachBuiltinLayer:function(x,C){var I=this._zlevelList,L,M,k;for(k=0;k<I.length;k++)M=I[k],L=this._layers[M],L.__builtin__&&x.call(C,L,M)},eachOtherLayer:function(x,C){var I=this._zlevelList,L,M,k;for(k=0;k<I.length;k++)M=I[k],L=this._layers[M],L.__builtin__||x.call(C,L,M)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(D,H){D.__dirty=D.__used=!1});function C(D){M&&(M.__endIndex!==D&&(M.__dirty=!0),M.__endIndex=D)}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 M=null,k=0,R,I=0;I<x.length;I++){var L=x[I],j=L.zlevel,V;R!==j&&(R=j,k=0),L.incremental?(V=this.getLayer(j+c,this._needsManuallyCompositing),V.incremental=!0,k=1):V=this.getLayer(j+(k>0?r:0),this._needsManuallyCompositing),V.__builtin__||p("ZLevel "+j+" has been used by unkown layer "+V.id),V!==M&&(V.__used=!0,V.__startIndex!==I&&(V.__dirty=!0),V.__startIndex=I,V.incremental?V.__drawIndex=-1:V.__drawIndex=I,C(I),M=V),L.__dirty&&(V.__dirty=!0,V.incremental&&V.__drawIndex<0&&(V.__drawIndex=I))}C(I),this.eachBuiltinLayer(function(D,H){!D.__used&&D.getElementCount()>0&&(D.__dirty=!0,D.__startIndex=D.__endIndex=D.__drawIndex=0),D.__dirty&&D.__drawIndex<0&&(D.__drawIndex=D.__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]?E.merge(I[x],C,!0):I[x]=C;for(var L=0;L<this._zlevelList.length;L++){var M=this._zlevelList[L];if(M===x||M===x+r){var k=this._layers[M];E.merge(k,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(E.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 M in this._layers)this._layers.hasOwnProperty(M)&&this._layers[M].resize(x,C);E.each(this._progressiveLayers,function(k){k.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,M=C.ctx;this.eachLayer(function(D){D.__builtin__?M.drawImage(D.dom,0,0,I,L):D.renderToCanvas&&(C.ctx.save(),D.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var k={},R=this.storage.getDisplayList(!0),j=0;j<R.length;j++){var V=R[j];this._doPaintEl(V,C,!0,k)}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],M=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(C[I]!=null&&C[I]!=="auto")return parseFloat(C[I]);var R=this.root,j=document.defaultView.getComputedStyle(R);return(R[L]||e(j[I])||e(R.style[I]))-(e(j[M])||0)-(e(j[k])||0)|0},pathToImage:function(x,C){C=C||this.dpr;var I=document.createElement("canvas"),L=I.getContext("2d"),M=x.getBoundingRect(),k=x.style,R=k.shadowBlur*C,j=k.shadowOffsetX*C,V=k.shadowOffsetY*C,D=k.hasStroke()?k.lineWidth:0,H=Math.max(D/2,-j+R),P=Math.max(D/2,j+R),K=Math.max(D/2,-V+R),U=Math.max(D/2,V+R),G=M.width+H+P,W=M.height+K+U;I.width=G*C,I.height=W*C,L.scale(C,C),L.clearRect(0,0,G,W),L.dpr=C;var Z={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[H-M.x,K-M.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(L);var J=n,ve=new J({style:{x:0,y:0,image:I}});return Z.position!=null&&(ve.position=x.position=Z.position),Z.rotation!=null&&(ve.rotation=x.rotation=Z.rotation),Z.scale!=null&&(ve.scale=x.scale=Z.scale),ve}};var _=S;B.exports=_},"7a+S":function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("YXkt"),p=i("4NO4"),v=m.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,l,n){this._data,this._names,this.mergeDefaultAndTheme(d,n),this._initData()},mergeOption:function(d){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(d){d==null&&(d=this.option.currentIndex);var l=this._data.count();this.option.loop?d=(d%l+l)%l:(d>=l&&(d=l-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,l=d.data||[],n=d.axisType,t=this._names=[];if(n==="category"){var a=[];y.each(l,function(c,e){var s=p.getDataItemValue(c),u;y.isObject(c)?(u=y.clone(c),u.value=e):u=e,a.push(u),!y.isString(s)&&(s==null||isNaN(s))&&(s=""),t.push(s+"")}),l=a}var o={category:"ordinal",time:"time"}[n]||"number",r=this._data=new E([{name:"value",type:o}],this);r.initData(l,t)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),f=v;B.exports=f},"7aKB":function(B,N,i){var y=i("bYtY"),m=i("6GrX"),E=i("OELB");function p(b){return isNaN(b)?"-":(b=(b+"").split("."),b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:""))}function v(b,S){return b=(b||"").toLowerCase().replace(/-(.)/g,function(_,T){return T.toUpperCase()}),S&&b&&(b=b.charAt(0).toUpperCase()+b.slice(1)),b}var f=y.normalizeCssArray,d=/([&<>"'])/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function n(b){return b==null?"":(b+"").replace(d,function(S,_){return l[_]})}var t=["a","b","c","d","e","f","g"],a=function(b,S){return"{"+b+(S==null?"":S)+"}"};function o(b,S,_){y.isArray(S)||(S=[S]);var T=S.length;if(!T)return"";for(var x=S[0].$vars||[],C=0;C<x.length;C++){var I=t[C];b=b.replace(a(I),a(I,0))}for(var L=0;L<T;L++)for(var M=0;M<x.length;M++){var k=S[L][x[M]];b=b.replace(a(t[M],L),_?n(k):k)}return b}function r(b,S,_){return y.each(S,function(T,x){b=b.replace("{"+x+"}",_?n(T):T)}),b}function c(b,S){b=y.isString(b)?{color:b,extraCssText:S}:b||{};var _=b.color,T=b.type,S=b.extraCssText,x=b.renderMode||"html",C=b.markerId||"X";return _?x==="html"?T==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+n(_)+";"+(S||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+n(_)+";"+(S||"")+'"></span>':{renderMode:x,content:"{marker"+C+"|} ",style:{color:_}}:""}function e(b,S){return b+="","0000".substr(0,S-b.length)+b}function s(b,S,_){(b==="week"||b==="month"||b==="quarter"||b==="half-year"||b==="year")&&(b=`MM-dd
yyyy`);var T=E.parseDate(S),x=_?"UTC":"",C=T["get"+x+"FullYear"](),I=T["get"+x+"Month"]()+1,L=T["get"+x+"Date"](),M=T["get"+x+"Hours"](),k=T["get"+x+"Minutes"](),R=T["get"+x+"Seconds"](),j=T["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(M,2)).replace("h",M).replace("mm",e(k,2)).replace("m",k).replace("ss",e(R,2)).replace("s",R).replace("SSS",e(j,3)),b}function u(b){return b&&b.charAt(0).toUpperCase()+b.substr(1)}var h=m.truncateText;function g(b){return m.getBoundingRect(b.text,b.font,b.textAlign,b.textVerticalAlign,b.textPadding,b.textLineHeight,b.rich,b.truncate)}function A(b,S,_,T,x,C,I,L){return m.getBoundingRect(b,S,_,T,x,L,C,I)}function w(b,S){if(S==="_blank"||S==="blank"){var _=window.open();_.opener=null,_.location=b}else window.open(b,S)}N.addCommas=p,N.toCamelCase=v,N.normalizeCssArray=f,N.encodeHTML=n,N.formatTpl=o,N.formatTplSimple=r,N.getTooltipMarker=c,N.formatTime=s,N.capitalFirst=u,N.truncateText=h,N.getTextBoundingRect=g,N.getTextRect=A,N.windowOpen=w},"7bkD":function(B,N,i){var y=i("bYtY");function m(E,p){p=p||{};var v=E.coordinateSystem,f=E.axis,d={},l=f.position,n=f.orient,t=v.getRect(),a=[t.x,t.x+t.width,t.y,t.y+t.height],o={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};d.position=[n==="vertical"?o.vertical[l]:a[0],n==="horizontal"?o.horizontal[l]:a[3]];var r={horizontal:0,vertical:1};d.rotation=Math.PI/2*r[n];var c={top:-1,bottom:1,right:1,left:-1};d.labelDirection=d.tickDirection=d.nameDirection=c[l],E.get("axisTick.inside")&&(d.tickDirection=-d.tickDirection),y.retrieve(p.labelInside,E.get("axisLabel.inside"))&&(d.labelDirection=-d.labelDirection);var e=p.rotate;return e==null&&(e=E.get("axisLabel.rotate")),d.labelRotation=l==="top"?-e:e,d.z2=1,d}N.layout=m},"7hqr":function(B,N,i){var y=i("bYtY"),m=y.each,E=y.isString;function p(d,l,n){n=n||{};var t=n.byIndex,a=n.stackedCoordDimension,o=!!(d&&d.get("stack")),r,c,e,s;if(m(l,function(A,w){E(A)&&(l[w]=A={name:A}),o&&!A.isExtraCoord&&(!t&&!r&&A.ordinalMeta&&(r=A),!c&&A.type!=="ordinal"&&A.type!=="time"&&(!a||a===A.coordDim)&&(c=A))}),c&&!t&&!r&&(t=!0),c){e="__\0ecstackresult",s="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var u=c.coordDim,h=c.type,g=0;m(l,function(A){A.coordDim===u&&g++}),l.push({name:e,coordDim:u,coordDimIndex:g,type:h,isExtraCoord:!0,isCalculationCoord:!0}),g++,l.push({name:s,coordDim:s,coordDimIndex:g,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:c&&c.name,stackedByDimension:r&&r.name,isStackedByIndex:t,stackedOverDimension:s,stackResultDimension:e}}function v(d,l){return!!l&&l===d.getCalculationInfo("stackedDimension")}function f(d,l){return v(d,l)?d.getCalculationInfo("stackResultDimension"):l}N.enableDataStack=p,N.isDimensionStacked=v,N.getStackedDimension=f},"7mYs":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("7aKB"),v=i("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"]},l=y.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(n,t,a){var o=this.group;o.removeAll();var r=n.coordinateSystem,c=r.getRangeInfo(),e=r.getOrient();this._renderDayRect(n,c,o),this._renderLines(n,c,e,o),this._renderYearText(n,c,e,o),this._renderMonthText(n,e,o),this._renderWeekText(n,c,e,o)},_renderDayRect:function(n,t,a){for(var o=n.coordinateSystem,r=n.getModel("itemStyle").getItemStyle(),c=o.getCellWidth(),e=o.getCellHeight(),s=t.start.time;s<=t.end.time;s=o.getNextNDay(s,1).time){var u=o.dataToRect([s],!1).tl,h=new E.Rect({shape:{x:u[0],y:u[1],width:c,height:e},cursor:"default",style:r});a.add(h)}},_renderLines:function(n,t,a,o){var r=this,c=n.coordinateSystem,e=n.getModel("splitLine.lineStyle").getLineStyle(),s=n.get("splitLine.show"),u=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=t.start,g=0;h.time<=t.end.time;g++){w(h.formatedDate),g===0&&(h=c.getDateInfo(t.start.y+"-"+t.start.m));var A=h.date;A.setMonth(A.getMonth()+1),h=c.getDateInfo(A)}w(c.getNextNDay(t.end.time,1).formatedDate);function w(b){r._firstDayOfMonth.push(c.getDateInfo(b)),r._firstDayPoints.push(c.dataToRect([b],!1).tl);var S=r._getLinePointsOfOneWeek(n,b,a);r._tlpoints.push(S[0]),r._blpoints.push(S[S.length-1]),s&&r._drawSplitline(S,e,o)}s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,u,a),e,o),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,u,a),e,o)},_getEdgesPoints:function(n,t,a){var o=[n[0].slice(),n[n.length-1].slice()],r=a==="horizontal"?0:1;return o[0][r]=o[0][r]-t/2,o[1][r]=o[1][r]+t/2,o},_drawSplitline:function(n,t,a){var o=new E.Polyline({z2:20,shape:{points:n},style:t});a.add(o)},_getLinePointsOfOneWeek:function(n,t,a){var o=n.coordinateSystem;t=o.getDateInfo(t);for(var r=[],c=0;c<7;c++){var e=o.getNextNDay(t.time,c),s=o.dataToRect([e.time],!1);r[2*e.day]=s.tl,r[2*e.day+1]=s[a==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(n,t){return typeof n=="string"&&n?p.formatTplSimple(n,t):typeof n=="function"?n(t):t.nameMap},_yearTextPositionControl:function(n,t,a,o,r){t=t.slice();var c=["center","bottom"];o==="bottom"?(t[1]+=r,c=["center","top"]):o==="left"?t[0]-=r:o==="right"?(t[0]+=r,c=["center","top"]):t[1]-=r;var e=0;return(o==="left"||o==="right")&&(e=Math.PI/2),{rotation:e,position:t,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(n,t,a,o){var r=n.getModel("yearLabel");if(!r.get("show"))return;var c=r.get("margin"),e=r.get("position");e||(e=a!=="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,g=a==="horizontal"?0:1,A={top:[u,s[g][1]],bottom:[u,s[1-g][1]],left:[s[1-g][0],h],right:[s[g][0],h]},w=t.start.y;+t.end.y>+t.start.y&&(w=w+"-"+t.end.y);var b=r.get("formatter"),S={start:t.start.y,end:t.end.y,nameMap:w},_=this._formatterLabel(b,S),T=new E.Text({z2:30});E.setTextStyle(T.style,r,{text:_}),T.attr(this._yearTextPositionControl(T,A[e],a,e,c)),o.add(T)},_monthTextPositionControl:function(n,t,a,o,r){var c="left",e="top",s=n[0],u=n[1];return a==="horizontal"?(u=u+r,t&&(c="center"),o==="start"&&(e="bottom")):(s=s+r,t&&(e="middle"),o==="start"&&(c="right")),{x:s,y:u,textAlign:c,textVerticalAlign:e}},_renderMonthText:function(n,t,a){var o=n.getModel("monthLabel");if(!o.get("show"))return;var r=o.get("nameMap"),c=o.get("margin"),e=o.get("position"),s=o.get("align"),u=[this._tlpoints,this._blpoints];m.isString(r)&&(r=f[r.toUpperCase()]||[]);var h=e==="start"?0:1,g=t==="horizontal"?0:1;c=e==="start"?-c:c;for(var A=s==="center",w=0;w<u[h].length-1;w++){var b=u[h][w].slice(),S=this._firstDayOfMonth[w];if(A){var _=this._firstDayPoints[w];b[g]=(_[g]+u[0][w+1][g])/2}var T=o.get("formatter"),x=r[+S.m-1],C={yyyy:S.y,yy:(S.y+"").slice(2),MM:S.m,M:+S.m,nameMap:x},I=this._formatterLabel(T,C),L=new E.Text({z2:30});m.extend(E.setTextStyle(L.style,o,{text:I}),this._monthTextPositionControl(b,A,t,e,c)),a.add(L)}},_weekTextPositionControl:function(n,t,a,o,r){var c="center",e="middle",s=n[0],u=n[1],h=a==="start";return t==="horizontal"?(s=s+o+(h?1:-1)*r[0]/2,c=h?"right":"left"):(u=u+o+(h?1:-1)*r[1]/2,e=h?"bottom":"top"),{x:s,y:u,textAlign:c,textVerticalAlign:e}},_renderWeekText:function(n,t,a,o){var r=n.getModel("dayLabel");if(!r.get("show"))return;var c=n.coordinateSystem,e=r.get("position"),s=r.get("nameMap"),u=r.get("margin"),h=c.getFirstDayOfWeek();m.isString(s)&&(s=d[s.toUpperCase()]||[]);var g=c.getNextNDay(t.end.time,7-t.lweek).time,A=[c.getCellWidth(),c.getCellHeight()];u=v.parsePercent(u,A[a==="horizontal"?0:1]),e==="start"&&(g=c.getNextNDay(t.start.time,-(7+t.fweek)).time,u=-u);for(var w=0;w<7;w++){var b=c.getNextNDay(g,w),S=c.dataToRect([b.time],!1).center,_=w;_=Math.abs((w+h)%7);var T=new E.Text({z2:30});m.extend(E.setTextStyle(T.style,r,{text:s[_]}),this._weekTextPositionControl(S,a,e,u,A)),o.add(T)}}});B.exports=l},"7oTu":function(B,N,i){var y=i("IMiH"),m=i("QBsz"),E=m.applyTransform,p=y.CMD,v=[[],[],[]],f=Math.sqrt,d=Math.atan2;function l(n,t){var a=n.data,o,r,c,e,s,u,h=p.M,g=p.C,A=p.L,w=p.R,b=p.A,S=p.Q;for(c=0,e=0;c<a.length;){o=a[c++],e=c,r=0;switch(o){case h:r=1;break;case A:r=1;break;case g:r=3;break;case S:r=2;break;case b:var _=t[4],T=t[5],x=f(t[0]*t[0]+t[1]*t[1]),C=f(t[2]*t[2]+t[3]*t[3]),I=d(-t[1]/C,t[0]/x);a[c]*=x,a[c++]+=_,a[c]*=C,a[c++]+=T,a[c++]*=x,a[c++]*=C,a[c++]+=I,a[c++]+=I,c+=2,e=c;break;case w:u[0]=a[c++],u[1]=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1],u[0]+=a[c++],u[1]+=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1]}for(s=0;s<r;s++){var u=v[s];u[0]=a[c++],u[1]=a[c++],E(u,u,t),a[e++]=u[0],a[e++]=u[1]}}}B.exports=l},"7pVf":function(B,N,i){var y=i("ProS"),m=i("ZqQs");i("oE7X"),i("OUJF"),i("3X6L"),i("NH9N"),y.registerPreprocessor(m)},"7ph2":function(B,N){function i(E){return E instanceof Array||(E=[E,E]),E}var y="lineStyle.opacity".split("."),m={seriesType:"lines",reset:function(E,p,v){var f=i(E.get("symbol")),d=i(E.get("symbolSize")),l=E.getData();l.setVisual("fromSymbol",f&&f[0]),l.setVisual("toSymbol",f&&f[1]),l.setVisual("fromSymbolSize",d&&d[0]),l.setVisual("toSymbolSize",d&&d[1]),l.setVisual("opacity",E.get(y));function n(t,a){var o=t.getItemModel(a),r=i(o.getShallow("symbol",!0)),c=i(o.getShallow("symbolSize",!0)),e=o.get(y);r[0]&&t.setItemVisual(a,"fromSymbol",r[0]),r[1]&&t.setItemVisual(a,"toSymbol",r[1]),c[0]&&t.setItemVisual(a,"fromSymbolSize",c[0]),c[1]&&t.setItemVisual(a,"toSymbolSize",c[1]),t.setItemVisual(a,"opacity",e)}return{dataEach:l.hasItemOption?n:null}}};B.exports=m},"7uqq":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("AUH6"),f=i("+TT/"),d=i("OELB"),l=i("W4dC"),n=i("7DRL");function t(c,e){var s=c.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 g=this.getBoundingRect(),A,w=c.get("layoutCenter"),b=c.get("layoutSize"),S=e.getWidth(),_=e.getHeight(),T=g.width/g.height*this.aspectScale,x=!1;w&&b&&(w=[d.parsePercent(w[0],S),d.parsePercent(w[1],_)],b=d.parsePercent(b,Math.min(S,_)),!isNaN(w[0])&&!isNaN(w[1])&&!isNaN(b)&&(x=!0));var C;if(x){var C={};T>1?(C.width=b,C.height=b/T):(C.height=b,C.width=b*T),C.y=w[1]-C.height/2,C.x=w[0]-C.width/2}else A=c.getBoxLayoutParams(),A.aspect=T,C=f.getLayoutRect(A,{width:S,height:_});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(c.get("center")),this.setZoom(c.get("zoom"))}function a(c,e){p.each(e.get("geoCoord"),function(s,u){c.addGeoCoord(u,s)})}var o={dimensions:v.prototype.dimensions,create:function(c,e){var s=[];c.eachComponent("geo",function(h,g){var A=h.get("map"),w=h.get("aspectScale"),b=!0,S=n.retrieveMap(A);S&&S[0]&&S[0].type==="svg"?(w==null&&(w=1),b=!1):w==null&&(w=.75);var _=new v(A+g,A,h.get("nameMap"),b);_.aspectScale=w,_.zoomLimit=h.get("scaleLimit"),s.push(_),a(_,h),h.coordinateSystem=_,_.model=h,_.resize=t,_.resize(h,e)}),c.eachSeries(function(h){var g=h.get("coordinateSystem");if(g==="geo"){var A=h.get("geoIndex")||0;h.coordinateSystem=s[A]}});var u={};return c.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var g=h.getMapType();u[g]=u[g]||[],u[g].push(h)}}),p.each(u,function(h,g){var A=p.map(h,function(b){return b.get("nameMap")}),w=new v(g,g,p.mergeAll(A));w.zoomLimit=p.retrieve.apply(null,p.map(h,function(b){return b.get("scaleLimit")})),s.push(w),w.resize=t,w.aspectScale=h[0].get("aspectScale"),w.resize(h[0],e),p.each(h,function(b){b.coordinateSystem=w,a(w,b)})}),s},getFilledRegions:function(c,e,s){for(var u=(c||[]).slice(),h=p.createHashMap(),g=0;g<u.length;g++)h.set(u[g].name,u[g]);var A=l.load(e,s);return p.each(A.regions,function(w){var b=w.name;!h.get(b)&&u.push({name:b})}),u}};E.registerCoordinateSystem("geo",o);var r=o;B.exports=r},"7yuC":function(B,N,i){var y=i("QBsz"),m=y.scaleAndAdd;function E(p,v,f){for(var d=f.rect,l=d.width,n=d.height,t=[d.x+l/2,d.y+n/2],a=f.gravity==null?.1:f.gravity,o=0;o<p.length;o++){var r=p[o];r.p||(r.p=y.create(l*(Math.random()-.5)+t[0],n*(Math.random()-.5)+t[1])),r.pp=y.clone(r.p),r.edges=null}var c=f.friction==null?.6:f.friction,e=c;return{warmUp:function(){e=c*.8},setFixed:function(s){p[s].fixed=!0},setUnfixed:function(s){p[s].fixed=!1},step:function(s){for(var u=[],h=p.length,g=0;g<v.length;g++){var A=v[g];if(A.ignoreForceLayout)continue;var w=A.n1,b=A.n2;y.sub(u,b.p,w.p);var S=y.len(u)-A.d,_=b.w/(w.w+b.w);isNaN(_)&&(_=0),y.normalize(u,u),!w.fixed&&m(w.p,w.p,u,_*S*e),!b.fixed&&m(b.p,b.p,u,-(1-_)*S*e)}for(var g=0;g<h;g++){var T=p[g];T.fixed||(y.sub(u,t,T.p),m(T.p,T.p,u,a*e))}for(var g=0;g<h;g++)for(var w=p[g],x=g+1;x<h;x++){var b=p[x];y.sub(u,b.p,w.p);var S=y.len(u);S===0&&(y.set(u,Math.random()-.5,Math.random()-.5),S=1);var C=(w.rep+b.rep)/S/S;!w.fixed&&m(w.pp,w.pp,u,C),!b.fixed&&m(b.pp,b.pp,u,-C)}for(var I=[],g=0;g<h;g++){var T=p[g];T.fixed||(y.sub(I,T.p,T.pp),m(T.p,T.p,I,e),y.copy(T.pp,T.p))}e=e*.992,s&&s(p,v,e<.01)}}}N.forceLayout=E},"8+yF":function(B,N,i){"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},m={lookup:function(p){if(p>=32&&p<=255)return p;var v=y[p];return v!==void 0?v:16777216|p}};N.default=m},"815F":function(B,N,i){"use strict";i.d(N,"e",function(){return d}),i.d(N,"c",function(){return n}),i.d(N,"d",function(){return t}),i.d(N,"a",function(){return o}),i.d(N,"f",function(){return r}),i.d(N,"b",function(){return c});var y=i("KQm4"),m=i("VTBJ"),E=i("Ff2n"),p=i("Zm9Q"),v=i("Kwbf"),f=i("OZM5");function d(e,s){return e!=null?e:s}function l(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(A){var w=A.key,b=A.children;Object(v.a)(w!=null,"Tree node must have a certain key: [".concat(g).concat(w,"]"));var S=String(w);Object(v.a)(!s.has(S)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(S)),s.set(S,!0),u(b,"".concat(g).concat(S," > "))})}u(e)}function n(e){function s(u){var h=Object(p.a)(u);return h.map(function(g){if(!Object(f.i)(g))return Object(v.a)(!g,"Tree/TreeNode can only accept TreeNode as children."),null;var A=g.key,w=g.props,b=w.children,S=Object(E.a)(w,["children"]),_=Object(m.a)({key:A},S),T=s(b);return T.length&&(_.children=T),_}).filter(function(g){return g})}return s(e)}function t(){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 g(A){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return A.map(function(b,S){var _=Object(f.h)(w?w.pos:"0",S),T=d(b.key,_),x=Object(m.a)(Object(m.a)({},b),{},{parent:w,pos:_,children:null,data:b,isStart:[].concat(Object(y.a)(w?w.isStart:[]),[S===0]),isEnd:[].concat(Object(y.a)(w?w.isEnd:[]),[S===A.length-1])});return h.push(x),s===!0||u.has(T)?x.children=g(b.children||[],x):x.children=[],x})}return g(e),h}function a(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 g(A,w,b){var S=A?A.children:e,_=A?Object(f.h)(b.pos,w):"0";if(A){var T=h(A,_),x={node:A,index:w,pos:_,key:T,parentPos:b.node?b.pos:null,level:b.level+1};s(x)}S&&S.forEach(function(C,I){g(C,I,{node:A,pos:_,level:b?b.level+1:-1})})}g(null)}function o(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,h=s.processEntity,g=s.onProcessFinished,A=arguments.length>2?arguments[2]:void 0,w={},b={},S={posEntities:w,keyEntities:b};return u&&(S=u(S)||S),a(e,function(_){var T=_.node,x=_.index,C=_.pos,I=_.key,L=_.parentPos,M=_.level,k={node:T,index:x,key:I,pos:C,level:M},R=d(I,C);w[C]=k,b[R]=k,k.parent=w[L],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),h&&h(k,S)},A),g&&g(S),S}function r(e,s){var u=s.expandedKeys,h=s.selectedKeys,g=s.loadedKeys,A=s.loadingKeys,w=s.checkedKeys,b=s.halfCheckedKeys,S=s.dragOverNodeKey,_=s.dropPosition,T=s.keyEntities,x=T[e],C={eventKey:e,expanded:u.indexOf(e)!==-1,selected:h.indexOf(e)!==-1,loaded:g.indexOf(e)!==-1,loading:A.indexOf(e)!==-1,checked:w.indexOf(e)!==-1,halfChecked:b.indexOf(e)!==-1,pos:String(x?x.pos:""),dragOver:S===e&&_===0,dragOverGapTop:S===e&&_===-1,dragOverGapBottom:S===e&&_===1};return C}function c(e){var s=e.data,u=e.expanded,h=e.selected,g=e.checked,A=e.loaded,w=e.loading,b=e.halfChecked,S=e.dragOver,_=e.dragOverGapTop,T=e.dragOverGapBottom,x=e.pos,C=e.active,I=Object(m.a)(Object(m.a)({},s),{},{expanded:u,selected:h,checked:g,loaded:A,loading:w,halfChecked:b,dragOver:S,dragOverGapTop:_,dragOverGapBottom:T,pos:x,active:C});return"props"in I||Object.defineProperty(I,"props",{get:function(){return Object(v.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(B,N,i){"use strict";function y(c){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(c)}Object.defineProperty(N,"__esModule",{value:!0}),N.getKeycode=a,N.getKey=o,N.getKeysym=r;var m=t(i("mHUz")),E=t(i("8+yF")),p=t(i("6Qwc")),v=t(i("gIYZ")),f=t(i("mTgk")),d=n(i("GdRQ"));function l(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return l=function(){return c},c}function n(c){if(c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var e=l();if(e&&e.has(c))return e.get(c);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in c)if(Object.prototype.hasOwnProperty.call(c,h)){var g=u?Object.getOwnPropertyDescriptor(c,h):null;g&&(g.get||g.set)?Object.defineProperty(s,h,g):s[h]=c[h]}return s.default=c,e&&e.set(c,s),s}function t(c){return c&&c.__esModule?c:{default:c}}function a(c){if(c.code){switch(c.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return c.code}if(c.type!=="keypress"&&c.keyCode in p.default){var e=p.default[c.keyCode];if(d.isMac()&&e==="ContextMenu"&&(e="MetaRight"),c.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(c.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(c){if(c.key!==void 0){switch(c.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 c.char}switch(c.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(c.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(c.key==="\0"&&c.code==="NumpadDecimal")return"Delete";if(!d.isIE()&&!d.isEdge())return c.key;if(c.key.length!==1&&c.key!=="Unidentified")return c.key}var e=a(c);return e in v.default?v.default[e]:c.charCode?String.fromCharCode(c.charCode):"Unidentified"}function r(c){var e=o(c);if(e==="Unidentified")return null;if(e in f.default){var s=c.location;if(e==="Meta"&&s===0&&(s=2),e==="Clear"&&s===3){var u=a(c);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),e==="Meta"){var h=a(c);if(h==="AltLeft")return m.default.XK_Meta_L;if(h==="AltRight")return m.default.XK_Meta_R}if(e==="Clear"){var g=a(c);if(g==="NumLock")return m.default.XK_Num_Lock}return f.default[e][s]}if(e.length!==1)return null;var A=e.charCodeAt();return A?E.default.lookup(A):null}},"8EBN":function(B,N,i){(function(y){y(i("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 m=0;m<y.modeInfo.length;m++){var E=y.modeInfo[m];E.mimes&&(E.mime=E.mimes[0])}y.findModeByMIME=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.mime==p)return f;if(f.mimes){for(var d=0;d<f.mimes.length;d++)if(f.mimes[d]==p)return f}}if(/\+xml$/.test(p))return y.findModeByMIME("application/xml");if(/\+json$/.test(p))return y.findModeByMIME("application/json")},y.findModeByExtension=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.ext){for(var d=0;d<f.ext.length;d++)if(f.ext[d]==p)return f}}},y.findModeByFileName=function(p){for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.file&&f.file.test(p))return f}var d=p.lastIndexOf("."),l=d>-1&&p.substring(d+1,p.length);if(l)return y.findModeByExtension(l)},y.findModeByName=function(p){p=p.toLowerCase();for(var v=0;v<y.modeInfo.length;v++){var f=y.modeInfo[v];if(f.name.toLowerCase()==p)return f;if(f.alias){for(var d=0;d<f.alias.length;d++)if(f.alias[d].toLowerCase()==p)return f}}}})},"8IMR":function(B,N,i){"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(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("6Hfg"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},"8K/p":function(B,N,i){"use strict";function y(a){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(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=f(i("Lo0S")),E=p(i("ItS6"));function p(a){return a&&a.__esModule?a:{default:a}}function v(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return v=function(){return a},a}function f(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var o=v();if(o&&o.has(a))return o.get(a);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var s=c?Object.getOwnPropertyDescriptor(a,e):null;s&&(s.get||s.set)?Object.defineProperty(r,e,s):r[e]=a[e]}return r.default=a,o&&o.set(a,r),r}function d(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")}function l(a,o){for(var r=0;r<o.length;r++){var c=o[r];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}function n(a,o,r){return o&&l(a.prototype,o),r&&l(a,r),a}var t=function(){function a(){d(this,a),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 E.default}return n(a,[{key:"decodeRect",value:function(r,c,e,s,u,h,g){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var A=0;A<4;A++)this._ctl>>A&1&&(this._zlibs[A].reset(),m.Info("Reset zlib stream "+A));this._ctl=this._ctl>>4}var w;if(this._ctl===8)w=this._fillRect(r,c,e,s,u,h,g);else if(this._ctl===9)w=this._jpegRect(r,c,e,s,u,h,g);else if(this._ctl===10)w=this._pngRect(r,c,e,s,u,h,g);else if((this._ctl&128)==0)w=this._basicRect(this._ctl,r,c,e,s,u,h,g);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return w&&(this._ctl=null),w}},{key:"_fillRect",value:function(r,c,e,s,u,h,g){if(u.rQwait("TIGHT",3))return!1;var A=u.rQi,w=u.rQ;return h.fillRect(r,c,e,s,[w[A+2],w[A+1],w[A]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,c,e,s,u,h,g){var A=this._readData(u);return A===null?!1:(h.imageRect(r,c,e,s,"image/jpeg",A),!0)}},{key:"_pngRect",value:function(r,c,e,s,u,h,g){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,c,e,s,u,h,g,A){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,c,e,s,u,h,g,A);break;case 1:b=this._paletteFilter(w,c,e,s,u,h,g,A);break;case 2:b=this._gradientFilter(w,c,e,s,u,h,g,A);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return b&&(this._filter=null),b}},{key:"_copyFilter",value:function(r,c,e,s,u,h,g,A){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 g.blitRgbImage(c,e,s,u,b,0,!1),!0}},{key:"_paletteFilter",value:function(r,c,e,s,u,h,g,A){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 S=this._numColors<=2?1:8,_=Math.floor((s*S+7)/8),T=_*u,x;if(T<12){if(h.rQwait("TIGHT",T))return!1;x=h.rQshiftBytes(T)}else{if(x=this._readData(h),x===null)return!1;this._zlibs[r].setInput(x),x=this._zlibs[r].inflate(T),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(c,e,s,u,x,this._palette,g):this._paletteRect(c,e,s,u,x,this._palette,g),this._numColors=0,!0}},{key:"_monoRect",value:function(r,c,e,s,u,h,g){for(var A=this._getScratchBuffer(e*s*4),w=Math.floor((e+7)/8),b=Math.floor(e/8),S=0;S<s;S++){var _=void 0,T=void 0,x=void 0;for(x=0;x<b;x++)for(var C=7;C>=0;C--)_=(S*e+x*8+7-C)*4,T=(u[S*w+x]>>C&1)*3,A[_]=h[T],A[_+1]=h[T+1],A[_+2]=h[T+2],A[_+3]=255;for(var I=7;I>=8-e%8;I--)_=(S*e+x*8+7-I)*4,T=(u[S*w+x]>>I&1)*3,A[_]=h[T],A[_+1]=h[T+1],A[_+2]=h[T+2],A[_+3]=255}g.blitRgbxImage(r,c,e,s,A,0,!1)}},{key:"_paletteRect",value:function(r,c,e,s,u,h,g){for(var A=this._getScratchBuffer(e*s*4),w=e*s*4,b=0,S=0;b<w;b+=4,S++){var _=u[S]*3;A[b]=h[_],A[b+1]=h[_+1],A[b+2]=h[_+2],A[b+3]=255}g.blitRgbxImage(r,c,e,s,A,0,!1)}},{key:"_gradientFilter",value:function(r,c,e,s,u,h,g,A){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(r){if(this._len===0){if(r.rQwait("TIGHT",3))return null;var c;c=r.rQshift8(),this._len=c&127,c&128&&(c=r.rQshift8(),this._len|=(c&127)<<7,c&128&&(c=r.rQshift8(),this._len|=c<<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}}]),a}();N.default=t},"8OUc":function(B,N,i){"use strict";var y=i("q1tI"),m=i.n(y),E=i("TSYQ"),p=i.n(E),v=function(d){var l=d.className,n=d.customizeIcon,t=d.customizeIconProps,a=d.onMouseDown,o=d.onClick,r=d.children,c;return typeof n=="function"?c=n(t):c=n,y.createElement("span",{className:l,onMouseDown:function(s){s.preventDefault(),a&&a(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:o,"aria-hidden":!0},c!==void 0?c:y.createElement("span",{className:p()(l.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},r))};N.a=v},"8SMY":function(B,N,i){var y=i("n4Lv"),m=y.prepareDataCoordInfo,E=y.getStackedOnPoint;function p(f,d){var l=[];return d.diff(f).add(function(n){l.push({cmd:"+",idx:n})}).update(function(n,t){l.push({cmd:"=",idx:t,idx1:n})}).remove(function(n){l.push({cmd:"-",idx:n})}).execute(),l}function v(f,d,l,n,t,a,o,r){for(var c=p(f,d),e=[],s=[],u=[],h=[],g=[],A=[],w=[],b=m(t,d,o),S=m(a,f,r),_=0;_<c.length;_++){var T=c[_],x=!0;switch(T.cmd){case"=":var C=f.getItemLayout(T.idx),I=d.getItemLayout(T.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=I.slice()),e.push(C),s.push(I),u.push(l[T.idx]),h.push(n[T.idx1]),w.push(d.getRawIndex(T.idx1));break;case"+":var L=T.idx;e.push(t.dataToPoint([d.get(b.dataDimsForPoint[0],L),d.get(b.dataDimsForPoint[1],L)])),s.push(d.getItemLayout(L).slice()),u.push(E(b,t,d,L)),h.push(n[L]),w.push(d.getRawIndex(L));break;case"-":var L=T.idx,M=f.getRawIndex(L);M!==L?(e.push(f.getItemLayout(L)),s.push(a.dataToPoint([f.get(S.dataDimsForPoint[0],L),f.get(S.dataDimsForPoint[1],L)])),u.push(l[L]),h.push(E(S,a,f,L)),w.push(M)):x=!1}x&&(g.push(T),A.push(A.length))}A.sort(function(H,P){return w[H]-w[P]});for(var k=[],R=[],j=[],V=[],D=[],_=0;_<A.length;_++){var L=A[_];k[_]=e[L],R[_]=s[L],j[_]=u[L],V[_]=h[L],D[_]=g[L]}return{current:k,next:R,stackedOnCurrent:j,stackedOnNext:V,status:D}}B.exports=v},"8Skl":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DownOutlined";var d=N.a=m.forwardRef(f)},"8Th4":function(B,N,i){var y=i("3LNs"),m=i("/y7N"),E=i("7bkD"),p=i("Znkb"),v=["x","y"],f=["width","height"],d=y.extend({makeElOption:function(o,r,c,e,s){var u=c.axis,h=u.coordinateSystem,g=t(h,1-n(u)),A=h.dataToPoint(r)[0],w=e.get("type");if(w&&w!=="none"){var b=m.buildElStyle(e),S=l[w](u,A,g);S.style=b,o.graphicKey=S.type,o.pointer=S}var _=E.layout(c);m.buildCartesianSingleLabelElOption(r,o,_,c,e,s)},getHandleTransform:function(o,r,c){var e=E.layout(r,{labelInside:!1});return e.labelMargin=c.get("handle.margin"),{position:m.getTransformedPosition(r.axis,o,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(o,r,c,e){var s=c.axis,u=s.coordinateSystem,h=n(s),g=t(u,h),A=o.position;A[h]+=r[h],A[h]=Math.min(g[1],A[h]),A[h]=Math.max(g[0],A[h]);var w=t(u,1-h),b=(w[1]+w[0])/2,S=[b,b];return S[h]=A[h],{position:A,rotation:o.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}}}),l={line:function(o,r,c){var e=m.makeLineShape([r,c[0]],[r,c[1]],n(o));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(o,r,c){var e=o.getBandWidth(),s=c[1]-c[0];return{type:"Rect",shape:m.makeRectShape([r-e/2,c[0]],[e,s],n(o))}}};function n(o){return o.isHorizontal()?0:1}function t(o,r){var c=o.getRect();return[c[v[r]],c[v[r]]+c[f[r]]]}p.registerAxisPointerClass("SingleAxisPointer",d);var a=d;B.exports=a},"8Uz6":function(B,N,i){var y=i("hNWo"),m=i("+TT/"),E=m.mergeLayoutParam,p=m.getLayoutParams,v=y.extend({type:"legend.scroll",setScrollDataIndex:function(l){this.option.scrollDataIndex=l},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(l,n,t,a){var o=p(l);v.superCall(this,"init",l,n,t,a),f(this,l,o)},mergeOption:function(l,n){v.superCall(this,"mergeOption",l,n),f(this,this.option,l)}});function f(l,n,t){var a=l.getOrient(),o=[1,1];o[a.index]=0,E(n,t,{type:"box",ignoreSize:o})}var d=v;B.exports=d},"8X+K":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("4mN7"),v=p.fromPoints,f=i("9wZj"),d=i("FBjb"),l=i("8SMY"),n=i("IwbS"),t=i("4NO4"),a=i("1NG9"),o=a.Polyline,r=a.Polygon,c=i("6Ic6"),e=i("n4Lv"),s=e.prepareDataCoordInfo,u=e.getStackedOnPoint,h=i("sK/D"),g=h.createGridClipPath,A=h.createPolarClipPath;function w(k,R){if(k.length!==R.length)return;for(var j=0;j<k.length;j++){var V=k[j],D=R[j];if(V[0]!==D[0]||V[1]!==D[1])return}return!0}function b(k,R){var j=[],V=[],D=[],H=[];return v(k,j,V),v(R,D,H),Math.max(Math.abs(j[0]-D[0]),Math.abs(j[1]-D[1]),Math.abs(V[0]-H[0]),Math.abs(V[1]-H[1]))}function S(k){return typeof k=="number"?k:k?.5:0}function _(k,R,j){if(!j.valueDim)return[];for(var V=[],D=0,H=R.count();D<H;D++)V.push(u(j,k,R,D));return V}function T(k,R,j){for(var V=R.getBaseAxis(),D=V.dim==="x"||V.dim==="radius"?0:1,H=[],P=0;P<k.length-1;P++){var K=k[P+1],U=k[P];H.push(U);var G=[];switch(j){case"end":G[D]=K[D],G[1-D]=U[1-D],H.push(G);break;case"middle":var W=(U[D]+K[D])/2,Z=[];G[D]=Z[D]=W,G[1-D]=U[1-D],Z[1-D]=K[1-D],H.push(G),H.push(Z);break;default:G[D]=U[D],G[1-D]=K[1-D],H.push(G)}}return k[P]&&H.push(k[P]),H}function x(k,R){var j=k.getVisual("visualMeta");if(!j||!j.length||!k.count())return;if(R.type!=="cartesian2d")return;for(var V,D,H=j.length-1;H>=0;H--){var P=j[H].dimension,K=k.dimensions[P],U=k.getDimensionInfo(K);if(V=U&&U.coordDim,V==="x"||V==="y"){D=j[H];break}}if(!D)return;var G=R.getAxis(V),W=E.map(D.stops,function(Fe){return{coord:G.toGlobalCoord(G.dataToCoord(Fe.value)),color:Fe.color}}),Z=W.length,J=D.outerColors.slice();Z&&W[0].coord>W[Z-1].coord&&(W.reverse(),J.reverse());var ve=10,q=W[0].coord-ve,ce=W[Z-1].coord+ve,be=ce-q;if(be<.001)return"transparent";E.each(W,function(Fe){Fe.offset=(Fe.coord-q)/be}),W.push({offset:Z?W[Z-1].offset:.5,color:J[1]||"transparent"}),W.unshift({offset:Z?W[0].offset:.5,color:J[0]||"transparent"});var Ce=new n.LinearGradient(0,0,0,0,W,!0);return Ce[V]=q,Ce[V+"2"]=ce,Ce}function C(k,R,j){var V=k.get("showAllSymbol"),D=V==="auto";if(V&&!D)return;var H=j.getAxesByScale("ordinal")[0];if(!H)return;if(D&&I(H,R))return;var P=R.mapDimension(H.dim),K={};return E.each(H.getViewLabels(),function(U){K[U.tickValue]=1}),function(U){return!K.hasOwnProperty(R.get(P,U))}}function I(k,R){var j=k.getExtent(),V=Math.abs(j[1]-j[0])/k.scale.count();isNaN(V)&&(V=0);for(var D=R.count(),H=Math.max(1,Math.round(D/5)),P=0;P<D;P+=H)if(d.getSymbolSize(R,P)[k.isHorizontal()?1:0]*1.5>V)return!1;return!0}function L(k,R,j){if(k.type==="cartesian2d"){var V=k.getBaseAxis().isHorizontal(),D=g(k,R,j);if(!j.get("clip",!0)){var H=D.shape,P=Math.max(H.width,H.height);V?(H.y-=P,H.height+=P*2):(H.x-=P,H.width+=P*2)}return D}else return A(k,R,j)}var M=c.extend({type:"line",init:function(){var k=new n.Group,R=new f;this.group.add(R.group),this._symbolDraw=R,this._lineGroup=k},render:function(k,R,j){var V=k.coordinateSystem,D=this.group,H=k.getData(),P=k.getModel("lineStyle"),K=k.getModel("areaStyle"),U=H.mapArray(H.getItemLayout),G=V.type==="polar",W=this._coordSys,Z=this._symbolDraw,J=this._polyline,ve=this._polygon,q=this._lineGroup,ce=k.get("animation"),be=!K.isEmpty(),Ce=K.get("origin"),Fe=s(V,H,Ce),fe=_(V,H,Fe),Ne=k.get("showSymbol"),Q=Ne&&!G&&C(k,H,V),ae=this._data;ae&&ae.eachItemGraphicEl(function(se,Te){se.__temp&&(D.remove(se),ae.setItemGraphicEl(Te,null))}),Ne||Z.remove(),D.add(q);var Ue=!G&&k.get("step"),te;V&&V.getArea&&k.get("clip",!0)&&(te=V.getArea(),te.width!=null?(te.x-=.1,te.y-=.1,te.width+=.2,te.height+=.2):te.r0&&(te.r0-=.5,te.r1+=.5)),this._clipShapeForSymbol=te,J&&W.type===V.type&&Ue===this._step?(be&&!ve?ve=this._newPolygon(U,fe,V,ce):ve&&!be&&(q.remove(ve),ve=this._polygon=null),q.setClipPath(L(V,!1,k)),Ne&&Z.updateData(H,{isIgnore:Q,clipShape:te}),H.eachItemGraphicEl(function(se){se.stopAnimation(!0)}),(!w(this._stackedOnPoints,fe)||!w(this._points,U))&&(ce?this._updateAnimation(H,fe,V,j,Ue,Ce):(Ue&&(U=T(U,V,Ue),fe=T(fe,V,Ue)),J.setShape({points:U}),ve&&ve.setShape({points:U,stackedOnPoints:fe})))):(Ne&&Z.updateData(H,{isIgnore:Q,clipShape:te}),Ue&&(U=T(U,V,Ue),fe=T(fe,V,Ue)),J=this._newPolyline(U,V,ce),be&&(ve=this._newPolygon(U,fe,V,ce)),q.setClipPath(L(V,!0,k)));var X=x(H,V)||H.getVisual("color");J.useStyle(E.defaults(P.getLineStyle(),{fill:"none",stroke:X,lineJoin:"bevel"}));var z=k.get("smooth");if(z=S(k.get("smooth")),J.setShape({smooth:z,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),ve){var Y=H.getCalculationInfo("stackedOnSeries"),pe=0;ve.useStyle(E.defaults(K.getAreaStyle(),{fill:X,opacity:.7,lineJoin:"bevel"})),Y&&(pe=S(Y.get("smooth"))),ve.setShape({smooth:z,stackedOnSmooth:pe,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=H,this._coordSys=V,this._stackedOnPoints=fe,this._points=U,this._step=Ue,this._valueOrigin=Ce},dispose:function(){},highlight:function(k,R,j,V){var D=k.getData(),H=t.queryDataIndex(D,V);if(!(H instanceof Array)&&H!=null&&H>=0){var P=D.getItemGraphicEl(H);if(!P){var K=D.getItemLayout(H);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;P=new d(D,H),P.position=K,P.setZ(k.get("zlevel"),k.get("z")),P.ignore=isNaN(K[0])||isNaN(K[1]),P.__temp=!0,D.setItemGraphicEl(H,P),P.stopSymbolAnimation(!0),this.group.add(P)}P.highlight()}else c.prototype.highlight.call(this,k,R,j,V)},downplay:function(k,R,j,V){var D=k.getData(),H=t.queryDataIndex(D,V);if(H!=null&&H>=0){var P=D.getItemGraphicEl(H);P&&(P.__temp?(D.setItemGraphicEl(H,null),this.group.remove(P)):P.downplay())}else c.prototype.downplay.call(this,k,R,j,V)},_newPolyline:function(k){var R=this._polyline;return R&&this._lineGroup.remove(R),R=new o({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(R),this._polyline=R,R},_newPolygon:function(k,R){var j=this._polygon;return j&&this._lineGroup.remove(j),j=new r({shape:{points:k,stackedOnPoints:R},silent:!0}),this._lineGroup.add(j),this._polygon=j,j},_updateAnimation:function(k,R,j,V,D,H){var P=this._polyline,K=this._polygon,U=k.hostModel,G=l(this._data,k,this._stackedOnPoints,R,this._coordSys,j,this._valueOrigin,H),W=G.current,Z=G.stackedOnCurrent,J=G.next,ve=G.stackedOnNext;if(D&&(W=T(G.current,j,D),Z=T(G.stackedOnCurrent,j,D),J=T(G.next,j,D),ve=T(G.stackedOnNext,j,D)),b(W,J)>3e3||K&&b(Z,ve)>3e3){P.setShape({points:J}),K&&K.setShape({points:J,stackedOnPoints:ve});return}P.shape.__points=G.current,P.shape.points=W,n.updateProps(P,{shape:{points:J}},U),K&&(K.setShape({points:W,stackedOnPoints:Z}),n.updateProps(K,{shape:{points:J,stackedOnPoints:ve}},U));for(var q=[],ce=G.status,be=0;be<ce.length;be++){var Ce=ce[be].cmd;if(Ce==="="){var Fe=k.getItemGraphicEl(ce[be].idx1);Fe&&q.push({el:Fe,ptIdx:be})}}P.animators&&P.animators.length&&P.animators[0].during(function(){for(var fe=0;fe<q.length;fe++){var Ne=q[fe].el;Ne.attr("position",P.shape.__points[q[fe].ptIdx])}})},remove:function(k){var R=this.group,j=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),j&&j.eachItemGraphicEl(function(V,D){V.__temp&&(R.remove(V),j.setItemGraphicEl(D,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});B.exports=M},"8XDt":function(B,N,i){i("qH13");var y=i("aX58"),m=y.registerPainter,E=i("6fms");m("vml",E)},"8hn6":function(B,N){var i="#eee",y=function(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}},m=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],E={color:m,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i},label:{color:"#000"}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:m[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:y(),logAxis:y(),valueAxis:y(),categoryAxis:y(),line:{symbol:"circle"},graph:{color:m},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};E.categoryAxis.splitLine.show=!1;var p=E;B.exports=p},"8nMs":function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("+rIm"),p=i("Znkb"),v=i("AVZG"),f=i("WN+l"),d=f.rectCoordAxisBuildSplitArea,l=f.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine","minorSplitLine"],a=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(o,r,c,e){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new m.Group,this.group.add(this._axisGroup),!o.get("show"))return;var u=o.getCoordSysModel(),h=v.layout(u,o),g=new E(o,h);y.each(n,g.add,g),this._axisGroup.add(g.getGroup()),y.each(t,function(A){o.get(A+".show")&&this["_"+A](o,u)},this),m.groupTransition(s,this._axisGroup,o),a.superCall(this,"render",o,r,c,e)},remove:function(){l(this)},_splitLine:function(o,r){var c=o.axis;if(c.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(),g=c.isHorizontal(),A=0,w=c.getTicksCoords({tickModel:e}),b=[],S=[],_=s.getLineStyle(),T=0;T<w.length;T++){var x=c.toGlobalCoord(w[T].coord);g?(b[0]=x,b[1]=h.y,S[0]=x,S[1]=h.y+h.height):(b[0]=h.x,b[1]=x,S[0]=h.x+h.width,S[1]=x);var C=A++%u.length,I=w[T].tickValue;this._axisGroup.add(new m.Line({anid:I!=null?"line_"+w[T].tickValue:null,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:S[0],y2:S[1]},style:y.defaults({stroke:u[C]},_),silent:!0}))}},_minorSplitLine:function(o,r){var c=o.axis,e=o.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=r.coordinateSystem.getRect(),h=c.isHorizontal(),g=c.getMinorTicksCoords();if(!g.length)return;for(var A=[],w=[],b=s.getLineStyle(),S=0;S<g.length;S++)for(var _=0;_<g[S].length;_++){var T=c.toGlobalCoord(g[S][_].coord);h?(A[0]=T,A[1]=u.y,w[0]=T,w[1]=u.y+u.height):(A[0]=u.x,A[1]=T,w[0]=u.x+u.width,w[1]=T),this._axisGroup.add(new m.Line({anid:"minor_line_"+g[S][_].tickValue,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:w[0],y2:w[1]},style:b,silent:!0}))}},_splitArea:function(o,r){d(this,this._axisGroup,o,r)}});a.extend({type:"xAxis"}),a.extend({type:"yAxis"})},"8nly":function(B,N,i){var y=i("mFDi"),m=i("4mN7"),E=i("QBsz"),p=i("BlVb");function v(d,l,n){if(this.name=d,this.geometries=l,n)n=[n[0],n[1]];else{var t=this.getBoundingRect();n=[t.x+t.width/2,t.y+t.height/2]}this.center=n}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var d=this._rect;if(d)return d;for(var l=Number.MAX_VALUE,n=[l,l],t=[-l,-l],a=[],o=[],r=this.geometries,c=0;c<r.length;c++){if(r[c].type!=="polygon")continue;var e=r[c].exterior;m.fromPoints(e,a,o),E.min(n,n,a),E.max(t,t,o)}return c===0&&(n[0]=n[1]=t[0]=t[1]=0),this._rect=new y(n[0],n[1],t[0]-n[0],t[1]-n[1])},contain:function(d){var l=this.getBoundingRect(),n=this.geometries;if(!l.contain(d[0],d[1]))return!1;e:for(var t=0,a=n.length;t<a;t++){if(n[t].type!=="polygon")continue;var o=n[t].exterior,r=n[t].interiors;if(p.contain(o,d[0],d[1])){for(var c=0;c<(r?r.length:0);c++)if(p.contain(r[c]))continue e;return!0}}return!1},transformTo:function(d,l,n,t){var a=this.getBoundingRect(),o=a.width/a.height;n?t||(t=n/o):n=o*t;for(var r=new y(d,l,n,t),c=a.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,g=0;g<u.length;g++)E.applyTransform(u[g],u[g],c);for(var A=0;A<(h?h.length:0);A++)for(var g=0;g<h[A].length;g++)E.applyTransform(h[A][g],h[A][g],c)}a=this._rect,a.copy(r),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(d){d==null&&(d=this.name);var l=new v(d,this.geometries,this.center);return l._rect=this._rect,l.transformTo=null,l}};var f=v;B.exports=f},"8waO":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("iLNv"),p=i("ZWlE");i("hJvP"),i("IXyC"),i("xRUu");var v=5;y.extendComponentView({type:"parallel",render:function(l,n,t){this._model=l,this._api=t,this._handlers||(this._handlers={},m.each(f,function(a,o){t.getZr().on(o,this._handlers[o]=m.bind(a,this))},this)),E.createOrUpdate(this,"_throttledDispatchExpand",l.get("axisExpandRate"),"fixRate")},dispose:function(l,n){m.each(this._handlers,function(t,a){n.getZr().off(a,t)}),this._handlers=null},_throttledDispatchExpand:function(l){this._dispatchExpand(l)},_dispatchExpand:function(l){l&&this._api.dispatchAction(m.extend({type:"parallelAxisExpand"},l))}});var f={mousedown:function(l){d(this,"click")&&(this._mouseDownPoint=[l.offsetX,l.offsetY])},mouseup:function(l){var n=this._mouseDownPoint;if(d(this,"click")&&n){var t=[l.offsetX,l.offsetY],a=Math.pow(n[0]-t[0],2)+Math.pow(n[1]-t[1],2);if(a>v)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([l.offsetX,l.offsetY]);o.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(l){if(this._mouseDownPoint||!d(this,"mousemove"))return;var n=this._model,t=n.coordinateSystem.getSlidedAxisExpandWindow([l.offsetX,l.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(n.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:!1})}};function d(l,n){var t=l._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===n}y.registerPreprocessor(p)},"8x+h":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("K4ya"),f=i("Qxkt"),d=["#ddd"],l=E.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(a,o){var r=this.option;!o&&v.replaceVisualOption(r,a,["inBrush","outOfBrush"]);var c=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:d},c.hasOwnProperty("liftZ")||(c.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=p.map(a,function(o){return n(this.option,o)},this)},setBrushOption:function(a){this.brushOption=n(this.option,a),this.brushType=this.brushOption.brushType}});function n(a,o){return p.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new f(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},o,!0)}var t=l;B.exports=t},"8z0m":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("RIqP"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("J4zp"),l=i.n(d),n=i("q1tI"),t=i.n(n),a=i("TSYQ"),o=i.n(a);function r(mt,Et){var rt="cannot "+mt.method+" "+mt.action+" "+Et.status+"'",He=new Error(rt);return He.status=Et.status,He.method=mt.method,He.url=mt.action,He}function c(mt){var Et=mt.responseText||mt.response;if(!Et)return Et;try{return JSON.parse(Et)}catch(rt){return Et}}function e(mt){var Et=new XMLHttpRequest;mt.onProgress&&Et.upload&&(Et.upload.onprogress=function(Rt){Rt.total>0&&(Rt.percent=Rt.loaded/Rt.total*100),mt.onProgress(Rt)});var rt=new FormData;mt.data&&Object.keys(mt.data).forEach(function(ze){var Rt=mt.data[ze];if(Array.isArray(Rt)){Rt.forEach(function(sr){rt.append(ze+"[]",sr)});return}rt.append(ze,mt.data[ze])}),mt.file instanceof Blob?rt.append(mt.filename,mt.file,mt.file.name):rt.append(mt.filename,mt.file),Et.onerror=function(Rt){mt.onError(Rt)},Et.onload=function(){return Et.status<200||Et.status>=300?mt.onError(r(mt,Et),c(Et)):mt.onSuccess(c(Et),Et)},Et.open(mt.method,mt.action,!0),mt.withCredentials&&"withCredentials"in Et&&(Et.withCredentials=!0);var He=mt.headers||{};return He["X-Requested-With"]!==null&&Et.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(He).forEach(function(ze){He[ze]!==null&&Et.setRequestHeader(ze,He[ze])}),Et.send(rt),{abort:function(){Et.abort()}}}var s=+new Date,u=0;function h(){return"rc-upload-"+s+"-"+ ++u}function g(mt,Et){return mt.indexOf(Et,mt.length-Et.length)!==-1}var A=function(mt,Et){if(mt&&Et){var rt=Array.isArray(Et)?Et:Et.split(","),He=mt.name||"",ze=mt.type||"",Rt=ze.replace(/\/.*$/,"");return rt.some(function(sr){var Jt=sr.trim();return Jt.charAt(0)==="."?g(He.toLowerCase(),Jt.toLowerCase()):/\/\*$/.test(Jt)?Rt===Jt.replace(/\/.*$/,""):ze===Jt})}return!0};function w(mt,Et){var rt=mt.createReader(),He=[];function ze(){rt.readEntries(function(Rt){var sr=Array.prototype.slice.apply(Rt);He=He.concat(sr);var Jt=!sr.length;Jt?Et(He):ze()})}ze()}var b=function(Et,rt,He){var ze=function Rt(sr,Jt){Jt=Jt||"",sr.isFile?sr.file(function(qt){He(qt)&&(sr.fullPath&&!qt.webkitRelativePath&&(Object.defineProperties(qt,{webkitRelativePath:{writable:!0}}),qt.webkitRelativePath=sr.fullPath.replace(/^\//,""),Object.defineProperties(qt,{webkitRelativePath:{writable:!1}})),rt([qt]))}):sr.isDirectory&&w(sr,function(qt){qt.forEach(function(qr){Rt(qr,""+Jt+sr.name+"/")})})};Et.forEach(function(Rt){ze(Rt.webkitGetAsEntry())})},S=b,_=Object.assign||function(mt){for(var Et=1;Et<arguments.length;Et++){var rt=arguments[Et];for(var He in rt)Object.prototype.hasOwnProperty.call(rt,He)&&(mt[He]=rt[He])}return mt},T=function(){function mt(Et,rt){var He=[],ze=!0,Rt=!1,sr=void 0;try{for(var Jt=Et[Symbol.iterator](),qt;!(ze=(qt=Jt.next()).done)&&!(He.push(qt.value),rt&&He.length===rt);ze=!0);}catch(qr){Rt=!0,sr=qr}finally{try{!ze&&Jt.return&&Jt.return()}finally{if(Rt)throw sr}}return He}return function(Et,rt){if(Array.isArray(Et))return Et;if(Symbol.iterator in Object(Et))return mt(Et,rt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),x=function(){function mt(Et,rt){for(var He=0;He<rt.length;He++){var ze=rt[He];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Et,ze.key,ze)}}return function(Et,rt,He){return rt&&mt(Et.prototype,rt),He&&mt(Et,He),Et}}();function C(mt,Et,rt){return Et in mt?Object.defineProperty(mt,Et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):mt[Et]=rt,mt}function I(mt,Et){var rt={};for(var He in mt){if(Et.indexOf(He)>=0)continue;if(!Object.prototype.hasOwnProperty.call(mt,He))continue;rt[He]=mt[He]}return rt}function L(mt,Et){if(!(mt instanceof Et))throw new TypeError("Cannot call a class as a function")}function M(mt,Et){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Et&&(typeof Et=="object"||typeof Et=="function")?Et:mt}function k(mt,Et){if(typeof Et!="function"&&Et!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Et);mt.prototype=Object.create(Et&&Et.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),Et&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,Et):mt.__proto__=Et)}var R=function(Et){return Object.keys(Et).reduce(function(rt,He){return(He.substr(0,5)==="data-"||He.substr(0,5)==="aria-"||He==="role")&&(rt[He]=Et[He]),rt},{})},j=function(mt){k(Et,mt);function Et(){var rt,He,ze,Rt;L(this,Et);for(var sr=arguments.length,Jt=Array(sr),qt=0;qt<sr;qt++)Jt[qt]=arguments[qt];return Rt=(He=(ze=M(this,(rt=Et.__proto__||Object.getPrototypeOf(Et)).call.apply(rt,[this].concat(Jt))),ze),ze.state={uid:h()},ze.reqs={},ze.onChange=function(qr){var Fr=qr.target.files;ze.uploadFiles(Fr),ze.reset()},ze.onClick=function(qr){var Fr=ze.fileInput;if(!Fr)return;var mn=ze.props,Tt=mn.children,St=mn.onClick;Tt&&Tt.type==="button"&&(Fr.parentNode.focus(),Fr.parentNode.querySelector("button").blur()),Fr.click(),St&&St(qr)},ze.onKeyDown=function(qr){qr.key==="Enter"&&ze.onClick()},ze.onFileDrop=function(qr){var Fr=ze.props.multiple;if(qr.preventDefault(),qr.type==="dragover")return;if(ze.props.directory)S(Array.prototype.slice.call(qr.dataTransfer.items),ze.uploadFiles,function(Tt){return A(Tt,ze.props.accept)});else{var mn=Array.prototype.slice.call(qr.dataTransfer.files).filter(function(Tt){return A(Tt,ze.props.accept)});Fr===!1&&(mn=mn.slice(0,1)),ze.uploadFiles(mn)}},ze.uploadFiles=function(qr){var Fr=Array.prototype.slice.call(qr);Fr.map(function(mn){return mn.uid=h(),mn}).forEach(function(mn){ze.upload(mn,Fr)})},ze.saveFileInput=function(qr){ze.fileInput=qr},He),M(ze,Rt)}return x(Et,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(He,ze){var Rt=this,sr=this.props;if(!sr.beforeUpload)return setTimeout(function(){return Rt.post(He)},0);var Jt=sr.beforeUpload(He,ze);Jt&&Jt.then?Jt.then(function(qt){var qr=Object.prototype.toString.call(qt);return qr==="[object File]"||qr==="[object Blob]"?Rt.post(qt):Rt.post(He)}).catch(function(qt){console.log(qt)}):Jt!==!1&&setTimeout(function(){return Rt.post(He)},0);return}},{key:"post",value:function(He){var ze=this;if(!this._isMounted)return;var Rt=this.props,sr=Rt.onStart,Jt=Rt.onProgress,qt=Rt.transformFile,qr=qt===void 0?function(Fr){return Fr}:qt;new Promise(function(Fr){var mn=Rt.action;return typeof mn=="function"&&(mn=mn(He)),Fr(mn)}).then(function(Fr){var mn=He.uid,Tt=Rt.customRequest||e,St=Promise.resolve(qr(He)).then(function(Re){var Ve=Rt.data;return typeof Ve=="function"&&(Ve=Ve(Re)),Promise.all([Re,Ve])}).catch(function(Re){console.error(Re)});St.then(function(Re){var Ve=T(Re,2),Xe=Ve[0],ct=Ve[1],tr={action:Fr,filename:Rt.name,data:ct,file:Xe,headers:Rt.headers,withCredentials:Rt.withCredentials,method:Rt.method||"post",onProgress:Jt?function(ir){Jt(ir,He)}:null,onSuccess:function(or,Xr){delete ze.reqs[mn],Rt.onSuccess(or,He,Xr)},onError:function(or,Xr){delete ze.reqs[mn],Rt.onError(or,Xr,He)}};sr(He),ze.reqs[mn]=Tt(tr)})})}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(He){var ze=this.reqs;if(He){var Rt=He;He&&He.uid&&(Rt=He.uid),ze[Rt]&&ze[Rt].abort&&ze[Rt].abort(),delete ze[Rt]}else Object.keys(ze).forEach(function(sr){ze[sr]&&ze[sr].abort&&ze[sr].abort(),delete ze[sr]})}},{key:"render",value:function(){var He,ze=this.props,Rt=ze.component,sr=ze.prefixCls,Jt=ze.className,qt=ze.disabled,qr=ze.id,Fr=ze.style,mn=ze.multiple,Tt=ze.accept,St=ze.children,Re=ze.directory,Ve=ze.openFileDialogOnClick,Xe=ze.onMouseEnter,ct=ze.onMouseLeave,tr=I(ze,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),ir=o()((He={},C(He,sr,!0),C(He,sr+"-disabled",qt),C(He,Jt,Jt),He)),or=qt?{}:{onClick:Ve?this.onClick:function(){},onKeyDown:Ve?this.onKeyDown:function(){},onMouseEnter:Xe,onMouseLeave:ct,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return t.a.createElement(Rt,_({},or,{className:ir,role:"button",style:Fr}),t.a.createElement("input",_({},R(tr),{id:qr,type:"file",ref:this.saveFileInput,onClick:function(Yr){return Yr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Tt,directory:Re?"directory":null,webkitdirectory:Re?"webkitdirectory":null,multiple:mn,onChange:this.onChange})),St)}}]),Et}(n.Component),V=j,D=Object.assign||function(mt){for(var Et=1;Et<arguments.length;Et++){var rt=arguments[Et];for(var He in rt)Object.prototype.hasOwnProperty.call(rt,He)&&(mt[He]=rt[He])}return mt},H=function(){function mt(Et,rt){for(var He=0;He<rt.length;He++){var ze=rt[He];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Et,ze.key,ze)}}return function(Et,rt,He){return rt&&mt(Et.prototype,rt),He&&mt(Et,He),Et}}();function P(mt,Et){if(!(mt instanceof Et))throw new TypeError("Cannot call a class as a function")}function K(mt,Et){if(!mt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Et&&(typeof Et=="object"||typeof Et=="function")?Et:mt}function U(mt,Et){if(typeof Et!="function"&&Et!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Et);mt.prototype=Object.create(Et&&Et.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),Et&&(Object.setPrototypeOf?Object.setPrototypeOf(mt,Et):mt.__proto__=Et)}function G(){}var W=function(mt){U(Et,mt);function Et(){var rt,He,ze,Rt;P(this,Et);for(var sr=arguments.length,Jt=Array(sr),qt=0;qt<sr;qt++)Jt[qt]=arguments[qt];return Rt=(He=(ze=K(this,(rt=Et.__proto__||Object.getPrototypeOf(Et)).call.apply(rt,[this].concat(Jt))),ze),ze.saveUploader=function(qr){ze.uploader=qr},He),K(ze,Rt)}return H(Et,[{key:"abort",value:function(He){this.uploader.abort(He)}},{key:"render",value:function(){return t.a.createElement(V,D({},this.props,{ref:this.saveUploader}))}}]),Et}(n.Component);W.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:G,onError:G,onSuccess:G,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Z=W,J=Z,ve=function(mt,Et){var rt={};for(var He in mt)Object.prototype.hasOwnProperty.call(mt,He)&&Et.indexOf(He)<0&&(rt[He]=mt[He]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,He=Object.getOwnPropertySymbols(mt);ze<He.length;ze++)Et.indexOf(He[ze])<0&&Object.prototype.propertyIsEnumerable.call(mt,He[ze])&&(rt[He[ze]]=mt[He[ze]]);return rt},q=function(Et,rt){var He=Et.style,ze=Et.height,Rt=ve(Et,["style","height"]);return n.createElement(hr,f()({ref:rt},Rt,{type:"drag",style:f()(f()({},He),{height:ze})}))},ce=n.forwardRef(q);ce.displayName="Dragger";var be=ce,Ce=i("MFj2"),Fe=i("gZBC"),fe=i.n(Fe),Ne=i("+d4F"),Q=i.n(Ne),ae=i("XAae"),Ue=i.n(ae),te=i("6xvX"),X=i.n(te),z=i("qPY4"),Y=i.n(z),pe=i("QB+1"),se=i.n(pe),Te=i("Qs3X"),Se=i.n(Te),ie=i("0n0R");function de(){return!0}function _e(mt){return f()(f()({},mt),{lastModified:mt.lastModified,lastModifiedDate:mt.lastModifiedDate,name:mt.name,size:mt.size,type:mt.type,uid:mt.uid,percent:0,originFileObj:mt})}function We(mt,Et){var rt=mt.uid!==void 0?"uid":"name";return Et.filter(function(He){return He[rt]===mt[rt]})[0]}function at(mt,Et){var rt=mt.uid!==void 0?"uid":"name",He=Et.filter(function(ze){return ze[rt]!==mt[rt]});return He.length===Et.length?null:He}var tt=function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",rt=Et.split("/"),He=rt[rt.length-1],ze=He.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ze)||[""])[0]},Oe=function(Et){return Et.indexOf("image/")===0},yt=function(Et){if(Et.type&&!Et.thumbUrl)return Oe(Et.type);var rt=Et.thumbUrl||Et.url,He=tt(rt);return/^data:image\//.test(rt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(He)?!0:/^data:/.test(rt)?!1:!He},Ye=200;function bt(mt){return new Promise(function(Et){if(!mt.type||!Oe(mt.type)){Et("");return}var rt=document.createElement("canvas");rt.width=Ye,rt.height=Ye,rt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ye,"px; height: ").concat(Ye,"px; z-index: 9999; display: none;"),document.body.appendChild(rt);var He=rt.getContext("2d"),ze=new Image;ze.onload=function(){var Rt=ze.width,sr=ze.height,Jt=Ye,qt=Ye,qr=0,Fr=0;Rt<sr?(qt=sr*(Ye/Rt),Fr=-(qt-Jt)/2):(Jt=Rt*(Ye/sr),qr=-(Jt-qt)/2),He.drawImage(ze,qr,Fr,Jt,qt);var mn=rt.toDataURL();document.body.removeChild(rt),Et(mn)},ze.src=window.URL.createObjectURL(mt)})}var Ct=i("3S7+"),It=i("CFYs"),Ft=i("H84U"),Vt=i("2/Rp"),$e=i("hkKa"),ge=function(Et,rt){var He,ze=Et.listType,Rt=Et.previewFile,sr=Et.onPreview,Jt=Et.onDownload,qt=Et.onRemove,qr=Et.locale,Fr=Et.iconRender,mn=Et.isImageUrl,Tt=Et.prefixCls,St=Et.items,Re=St===void 0?[]:St,Ve=Et.showPreviewIcon,Xe=Et.showRemoveIcon,ct=Et.showDownloadIcon,tr=Et.removeIcon,ir=Et.downloadIcon,or=Et.progress,Xr=Object($e.a)();n.useEffect(function(){if(ze!=="picture"&&ze!=="picture-card")return;(Re||[]).forEach(function(cr){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(cr.originFileObj instanceof File||cr.originFileObj instanceof Blob)||cr.thumbUrl!==void 0)return;cr.thumbUrl="",Rt&&Rt(cr.originFileObj).then(function(pr){cr.thumbUrl=pr||"",Xr()})})},[ze,Re,Rt]);var Yr=function(pr,Qr){return sr?(Qr.preventDefault(),sr(pr)):void 0},bn=function(pr){typeof Jt=="function"?Jt(pr):pr.url&&window.open(pr.url)},Yt=function(pr){qt&&qt(pr)},pt=function(pr){if(Fr)return Fr(pr,ze);var Qr=pr.status==="uploading",$r=mn&&mn(pr)?n.createElement(Ue.a,null):n.createElement(X.a,null),Ln=Qr?n.createElement(fe.a,null):n.createElement(Q.a,null);return ze==="picture"?Ln=Qr?n.createElement(fe.a,null):$r:ze==="picture-card"&&(Ln=Qr?qr.uploading:$r),Ln},ht=function(pr,Qr,$r,Ln){var Mn={type:"text",size:"small",title:Ln,onClick:function(Li){Qr(),Object(ie.b)(pr)&&pr.props.onClick&&pr.props.onClick(Li)},className:"".concat($r,"-list-item-card-actions-btn")};if(Object(ie.b)(pr)){var Vn=Object(ie.a)(pr,f()(f()({},pr.props),{onClick:function(){}}));return n.createElement(Vt.a,f()({},Mn,{icon:Vn}))}return n.createElement(Vt.a,Mn,n.createElement("span",null,pr))};n.useImperativeHandle(rt,function(){return{handlePreview:Yr,handleDownload:bn}});var Zt=n.useContext(Ft.b),$t=Zt.getPrefixCls,At=Zt.direction,Pt=$t("upload",Tt),gt=Re.map(function(cr){var pr,Qr,$r,Ln=pt(cr),Mn=n.createElement("div",{className:"".concat(Pt,"-text-icon")},Ln);if(ze==="picture"||ze==="picture-card")if(cr.status==="uploading"||!cr.thumbUrl&&!cr.url){var Vn,ii=o()((Vn={},m()(Vn,"".concat(Pt,"-list-item-thumbnail"),!0),m()(Vn,"".concat(Pt,"-list-item-file"),cr.status!=="uploading"),Vn));Mn=n.createElement("div",{className:ii},Ln)}else{var Li,Pi=mn&&mn(cr)?n.createElement("img",{src:cr.thumbUrl||cr.url,alt:cr.name,className:"".concat(Pt,"-list-item-image")}):Ln,Ze=o()((Li={},m()(Li,"".concat(Pt,"-list-item-thumbnail"),!0),m()(Li,"".concat(Pt,"-list-item-file"),mn&&!mn(cr)),Li));Mn=n.createElement("a",{className:Ze,onClick:function(Br){return Yr(cr,Br)},href:cr.url||cr.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pi)}if(cr.status==="uploading"){var xe="percent"in cr?n.createElement(It.a,f()({},or,{type:"line",percent:cr.percent})):null;$r=n.createElement("div",{className:"".concat(Pt,"-list-item-progress"),key:"progress"},xe)}var Me=o()((pr={},m()(pr,"".concat(Pt,"-list-item"),!0),m()(pr,"".concat(Pt,"-list-item-").concat(cr.status),!0),m()(pr,"".concat(Pt,"-list-item-list-type-").concat(ze),!0),pr)),ke=typeof cr.linkProps=="string"?JSON.parse(cr.linkProps):cr.linkProps,Ge=Xe?ht(tr||n.createElement(se.a,null),function(){return Yt(cr)},Pt,qr.removeFile):null,Ke=ct&&cr.status==="done"?ht(ir||n.createElement(Se.a,null),function(){return bn(cr)},Pt,qr.downloadFile):null,Je=ze!=="picture-card"&&n.createElement("span",{key:"download-delete",className:"".concat(Pt,"-list-item-card-actions ").concat(ze==="picture"?"picture":"")},Ke,Ge),vt=o()((Qr={},m()(Qr,"".concat(Pt,"-list-item-name"),!0),m()(Qr,"".concat(Pt,"-list-item-name-icon-count-").concat([Ke,Ge].filter(function(Vr){return Vr}).length),!0),Qr)),ot=cr.url?[n.createElement("a",f()({key:"view",target:"_blank",rel:"noopener noreferrer",className:vt,title:cr.name},ke,{href:cr.url,onClick:function(Br){return Yr(cr,Br)}}),cr.name),Je]:[n.createElement("span",{key:"view",className:vt,onClick:function(Br){return Yr(cr,Br)},title:cr.name},cr.name),Je],Ut={pointerEvents:"none",opacity:.5},br=Ve?n.createElement("a",{href:cr.url||cr.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:cr.url||cr.thumbUrl?void 0:Ut,onClick:function(Br){return Yr(cr,Br)},title:qr.previewFile},n.createElement(Y.a,null)):null,Ar=ze==="picture-card"&&cr.status!=="uploading"&&n.createElement("span",{className:"".concat(Pt,"-list-item-actions")},br,cr.status==="done"&&Ke,Ge),Or;cr.response&&typeof cr.response=="string"?Or=cr.response:Or=cr.error&&cr.error.statusText||qr.uploadError;var zt=n.createElement("span",null,Mn,ot),un=n.createElement("div",{className:Me},n.createElement("div",{className:"".concat(Pt,"-list-item-info")},zt),Ar,n.createElement(Ce.a,{transitionName:"fade",component:""},$r)),lr=o()(m()({},"".concat(Pt,"-list-picture-card-container"),ze==="picture-card"));return n.createElement("div",{key:cr.uid,className:lr},cr.status==="error"?n.createElement(Ct.a,{title:Or,getPopupContainer:function(Br){return Br.parentNode}},un):n.createElement("span",null,un))}),Wt=o()((He={},m()(He,"".concat(Pt,"-list"),!0),m()(He,"".concat(Pt,"-list-").concat(ze),!0),m()(He,"".concat(Pt,"-list-rtl"),At==="rtl"),He)),yr=ze==="picture-card"?"animate-inline":"animate";return n.createElement(Ce.a,{transitionName:"".concat(Pt,"-").concat(yr),component:"div",className:Wt},gt)},ne=n.forwardRef(ge);ne.displayName="UploadList",ne.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:bt,isImageUrl:yt};var wt=ne,qe=i("YMnH"),he=i("ZvpZ"),kt=i("uaoM"),nr=i("sPtV"),lt=function(Et,rt){var He,ze=Et.fileList,Rt=Et.defaultFileList,sr=Et.onRemove,Jt=Et.showUploadList,qt=Et.listType,qr=Et.onPreview,Fr=Et.onDownload,mn=Et.previewFile,Tt=Et.disabled,St=Et.locale,Re=Et.iconRender,Ve=Et.isImageUrl,Xe=Et.progress,ct=Et.prefixCls,tr=Et.className,ir=Et.type,or=Et.children,Xr=Et.style,Yr=Object(nr.a)(ze||Rt||[]),bn=l()(Yr,2),Yt=bn[0],pt=bn[1],ht=n.useState("drop"),Zt=l()(ht,2),$t=Zt[0],At=Zt[1],Pt=n.useRef();n.useEffect(function(){pt(ze||Rt||[]),Object(kt.a)("fileList"in Et||!("value"in Et),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),n.useEffect(function(){"fileList"in Et&&pt(ze||[])},[ze]);var gt=function(ot){"fileList"in Et||pt(ot.fileList);var Ut=Et.onChange;Ut&&Ut(f()(f()({},ot),{fileList:p()(ot.fileList)}))},Wt=function(ot){var Ut=_e(ot);Ut.status="uploading";var br=Yt().concat(),Ar=br.findIndex(function(Or){var zt=Or.uid;return zt===Ut.uid});Ar===-1?br.push(Ut):br[Ar]=Ut,gt({file:Ut,fileList:br})},yr=function(ot,Ut,br){try{typeof ot=="string"&&(ot=JSON.parse(ot))}catch(Or){}var Ar=We(Ut,Yt());if(!Ar)return;Ar.status="done",Ar.response=ot,Ar.xhr=br,gt({file:f()({},Ar),fileList:Yt().concat()})},cr=function(ot,Ut){var br=We(Ut,Yt());if(!br)return;br.percent=ot.percent,gt({event:ot,file:f()({},br),fileList:Yt().concat()})},pr=function(ot,Ut,br){var Ar=We(br,Yt());if(!Ar)return;Ar.error=ot,Ar.response=Ut,Ar.status="error",gt({file:f()({},Ar),fileList:Yt().concat()})},Qr=function(ot){Promise.resolve(typeof sr=="function"?sr(ot):sr).then(function(Ut){if(Ut===!1)return;var br=at(ot,Yt());br&&(ot.status="removed",Pt.current&&Pt.current.abort(ot),gt({file:ot,fileList:br}))})},$r=function(ot){At(ot.type)},Ln=function(ot,Ut){var br=Et.beforeUpload;if(!br)return!0;var Ar=br(ot,Ut);if(Ar===!1){var Or=[];return Yt().concat(Ut.map(_e)).forEach(function(zt){Or.every(function(un){return un.uid!==zt.uid})&&Or.push(zt)}),gt({file:ot,fileList:Or}),!1}return Ar&&Ar.then?Ar:!0},Mn=Object($e.a)();n.useImperativeHandle(rt,function(){return{onStart:Wt,onSuccess:yr,onProgress:cr,onError:pr,fileList:Yt(),upload:Pt.current,forceUpdate:Mn}});var Vn=function(ot){var Ut=Jt.showRemoveIcon,br=Jt.showPreviewIcon,Ar=Jt.showDownloadIcon,Or=Jt.removeIcon,zt=Jt.downloadIcon;return n.createElement(wt,{listType:qt,items:Yt(),previewFile:mn,onPreview:qr,onDownload:Fr,onRemove:Qr,showRemoveIcon:!Tt&&Ut,showPreviewIcon:br,showDownloadIcon:Ar,removeIcon:Or,downloadIcon:zt,iconRender:Re,locale:f()(f()({},ot),St),isImageUrl:Ve,progress:Xe})},ii=n.useContext(Ft.b),Li=ii.getPrefixCls,Pi=ii.direction,Ze=Li("upload",ct),xe=f()(f()({onStart:Wt,onError:pr,onProgress:cr,onSuccess:yr},Et),{prefixCls:Ze,beforeUpload:Ln});delete xe.className,delete xe.style,(!or||Tt)&&delete xe.id;var Me=Jt?n.createElement(qe.a,{componentName:"Upload",defaultLocale:he.a.Upload},Vn):null;if(ir==="drag"){var ke,Ge=o()(Ze,(ke={},m()(ke,"".concat(Ze,"-drag"),!0),m()(ke,"".concat(Ze,"-drag-uploading"),Yt().some(function(vt){return vt.status==="uploading"})),m()(ke,"".concat(Ze,"-drag-hover"),$t==="dragover"),m()(ke,"".concat(Ze,"-disabled"),Tt),m()(ke,"".concat(Ze,"-rtl"),Pi==="rtl"),ke),tr);return n.createElement("span",null,n.createElement("div",{className:Ge,onDrop:$r,onDragOver:$r,onDragLeave:$r,style:Xr},n.createElement(J,f()({},xe,{ref:Pt,className:"".concat(Ze,"-btn")}),n.createElement("div",{className:"".concat(Ze,"-drag-container")},or))),Me)}var Ke=o()(Ze,(He={},m()(He,"".concat(Ze,"-select"),!0),m()(He,"".concat(Ze,"-select-").concat(qt),!0),m()(He,"".concat(Ze,"-disabled"),Tt),m()(He,"".concat(Ze,"-rtl"),Pi==="rtl"),He)),Je=n.createElement("div",{className:Ke,style:or?void 0:{display:"none"}},n.createElement(J,f()({},xe,{ref:Pt})));return qt==="picture-card"?n.createElement("span",{className:o()(tr,"".concat(Ze,"-picture-card-wrapper"))},Me,Je):n.createElement("span",{className:tr},Je,Me)},Xt=n.forwardRef(lt);Xt.Dragger=be,Xt.displayName="Upload",Xt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:de,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var hr=Xt;hr.Dragger=be;var Wr=N.a=hr},"98bh":function(B,N,i){var y=i("ProS"),m=i("5GtS"),E=i("bYtY"),p=i("4NO4"),v=i("OELB"),f=v.getPercentWithPrecision,d=i("cCMj"),l=i("KxfA"),n=l.retrieveRawAttr,t=i("D5nY"),a=t.makeSeriesEncodeForNameBased,o=i("xKMd"),r=y.extendSeriesModel({type:"series.pie",init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new o(E.bind(this.getData,this),E.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 m(this,{coordDimensions:["value"],encodeDefaulter:E.curry(a,this)})},_createSelectableList:function(){for(var e=this.getRawData(),s=e.mapDimension("value"),u=[],h=0,g=e.count();h<g;h++)u.push({name:e.getName(h),value:e.get(s,h),selected:n(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(g){h.push(g)}),u.percent=f(h,e,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(e){p.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"}});E.mixin(r,d);var c=r;B.exports=c},"9H2F":function(B,N,i){var y=i("bYtY"),m=y.assert,E=y.isArray,p=i("Tghj"),v=p.__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 l=d.prototype;l.perform=function(o){var r=this._upstream,c=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&&!c&&(s=this._plan(this.context));var u=w(this._modBy),h=this._modDataCount||0,g=w(o&&o.modBy),A=o&&o.modDataCount||0;(u!==g||h!==A)&&(s="reset");function w(L){return!(L>=1)&&(L=1),L}var b;(this._dirty||s==="reset")&&(this._dirty=!1,b=a(this,c)),this._modBy=g,this._modDataCount=A;var S=o&&o.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var _=this._dueIndex,T=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!c&&(b||_<T)){var x=this._progress;if(E(x))for(var C=0;C<x.length;C++)t(this,x[C],_,T,g,A);else t(this,x,_,T,g,A)}this._dueIndex=T;var I=this._settedOutputEnd!=null?this._settedOutputEnd:T;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var n=function(){var o,r,c,e,s,u={reset:function(A,w,b,S){r=A,o=w,c=b,e=S,s=Math.ceil(e/c),u.next=c>1&&e>0?g:h}};return u;function h(){return r<o?r++:null}function g(){var A=r%s*c+Math.ceil(r/s),w=r>=o?null:A<e?A:r;return r++,w}}();l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function t(o,r,c,e,s,u){n.reset(c,e,s,u),o._callingProgress=r,o._callingProgress({start:c,end:e,count:e-c,next:n.next},o.context)}function a(o,r){o._dueIndex=o._outputDueEnd=o._dueEnd=0,o._settedOutputEnd=null;var c,e;!r&&o._reset&&(c=o._reset(o.context),c&&c.progress&&(e=c.forceFirstProgress,c=c.progress),E(c)&&!c.length&&(c=null)),o._progress=c,o._modBy=o._modDataCount=null;var s=o._downstream;return s&&s.dirty(),e}l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(o){(this._downstream!==o||this._dirty)&&(this._downstream=o,o._upstream=this,o.dirty())},l.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(o){this._outputDueEnd=this._settedOutputEnd=o},N.createTask=f},"9KIM":function(B,N,i){var y=i("mFDi"),m=i("xSat"),E=m.onIrrelevantElement,p=i("IwbS");function v(n){return n=l(n),function(t,a){return p.clipPointsByRect(t,n)}}function f(n,t){return n=l(n),function(a){var o=t!=null?t:a,r=o?n.width:n.height,c=o?n.x:n.y;return[c,c+(r||0)]}}function d(n,t,a){return n=l(n),function(o,r,c){return n.contain(r[0],r[1])&&!E(o,t,a)}}function l(n){return y.create(n)}N.makeRectPanelClipPath=v,N.makeLinearBrushOtherExtent=f,N.makeRectIsTargetByCursor=d},"9ama":function(B,N,i){},"9eas":function(B,N,i){i("HM/N"),i("tBnm")},"9hCq":function(B,N,i){var y=i("IwbS"),m=i("+TT/"),E=i("bYtY"),p=i("VaxA"),v=p.wrapTreePathInfo,f=8,d=8,l=5;function n(r){this.group=new y.Group,r.add(this.group)}n.prototype={constructor:n,render:function(r,c,e,s){var u=r.getModel("breadcrumb"),h=this.group;if(h.removeAll(),!u.get("show")||!e)return;var g=u.getModel("itemStyle"),A=g.getModel("textStyle"),w={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,w,A),this._renderContent(r,w,g,A,s),m.positionElement(h,w.pos,w.box)},_prepare:function(r,c,e){for(var s=r;s;s=s.parentNode){var u=s.getModel().get("name"),h=e.getTextRect(u),g=Math.max(h.width+f*2,c.emptyItemWidth);c.totalWidth+=g+d,c.renderList.push({node:s,text:u,width:g})}},_renderContent:function(r,c,e,s,u){for(var h=0,g=c.emptyItemWidth,A=r.get("breadcrumb.height"),w=m.getAvailableSize(c.pos,c.box),b=c.totalWidth,S=c.renderList,_=S.length-1;_>=0;_--){var T=S[_],x=T.node,C=T.width,I=T.text;b>w.width&&(b-=C-g,C=g,I=null);var L=new y.Polygon({shape:{points:t(h,0,C,A,_===S.length-1,_===0)},style:E.defaults(e.getItemStyle(),{lineJoin:"bevel",text:I,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:E.curry(u,x)});this.group.add(L),a(L,r,x),h+=C+d}},remove:function(){this.group.removeAll()}};function t(r,c,e,s,u,h){var g=[[u?r:r-l,c],[r+e,c],[r+e,c+s],[u?r:r-l,c+s]];return!h&&g.splice(2,0,[r+e+l,c+s/2]),!u&&g.push([r,c+s/2]),g}function a(r,c,e){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&v(e,c)}}var o=n;B.exports=o},"9u0u":function(B,N,i){var y=i("bYtY");function m(p,v){var f={};return y.each(p,function(d){d.each(d.mapDimension("value"),function(l,n){var t="ec-"+d.getName(n);f[t]=f[t]||[],isNaN(l)||f[t].push(l)})}),p[0].map(p[0].mapDimension("value"),function(d,l){for(var n="ec-"+p[0].getName(l),t=0,a=Infinity,o=-Infinity,r=f[n].length,c=0;c<r;c++)a=Math.min(a,f[n][c]),o=Math.max(o,f[n][c]),t+=f[n][c];var e;return v==="min"?e=a:v==="max"?e=o:v==="average"?e=t/r:e=t,r===0?NaN:e})}function E(p){var v={};p.eachSeriesByType("map",function(f){var d=f.getHostGeoModel(),l=d?"o"+d.id:"i"+f.getMapType();(v[l]=v[l]||[]).push(f)}),y.each(v,function(f,d){for(var l=m(y.map(f,function(t){return t.getData()}),f[0].get("mapValueCalculation")),n=0;n<f.length;n++)f[n].originalData=f[n].getData();for(var n=0;n<f.length;n++)f[n].seriesGroup=f,f[n].needsDrawMap=n===0&&!f[n].getHostGeoModel(),f[n].setData(l.cloneShallow()),f[n].mainSeries=f[0]})}B.exports=E},"9wZj":function(B,N,i){var y=i("IwbS"),m=i("FBjb"),E=i("bYtY"),p=E.isObject;function v(a){this.group=new y.Group,this._symbolCtor=a||m}var f=v.prototype;function d(a,o,r,c){return o&&!isNaN(o[0])&&!isNaN(o[1])&&!(c.isIgnore&&c.isIgnore(r))&&!(c.clipShape&&!c.clipShape.contain(o[0],o[1]))&&a.getItemVisual(r,"symbol")!=="none"}f.updateData=function(a,o){o=l(o);var r=this.group,c=a.hostModel,e=this._data,s=this._symbolCtor,u=n(a);e||r.removeAll(),a.diff(e).add(function(h){var g=a.getItemLayout(h);if(d(a,g,h,o)){var A=new s(a,h,u);A.attr("position",g),a.setItemGraphicEl(h,A),r.add(A)}}).update(function(h,g){var A=e.getItemGraphicEl(g),w=a.getItemLayout(h);if(!d(a,w,h,o)){r.remove(A);return}A?(A.updateData(a,h,u),y.updateProps(A,{position:w},c)):(A=new s(a,h),A.attr("position",w)),r.add(A),a.setItemGraphicEl(h,A)}).remove(function(h){var g=e.getItemGraphicEl(h);g&&g.fadeOut(function(){r.remove(g)})}).execute(),this._data=a},f.isPersistent=function(){return!0},f.updateLayout=function(){var a=this._data;a&&a.eachItemGraphicEl(function(o,r){var c=a.getItemLayout(r);o.attr("position",c)})},f.incrementalPrepareUpdate=function(a){this._seriesScope=n(a),this._data=null,this.group.removeAll()},f.incrementalUpdate=function(a,o,r){r=l(r);function c(h){h.isGroup||(h.incremental=h.useHoverLayer=!0)}for(var e=a.start;e<a.end;e++){var s=o.getItemLayout(e);if(d(o,s,e,r)){var u=new this._symbolCtor(o,e,this._seriesScope);u.traverse(c),u.attr("position",s),this.group.add(u),o.setItemGraphicEl(e,u)}}};function l(a){return a!=null&&!p(a)&&(a={isIgnore:a}),a||{}}f.remove=function(a){var o=this.group,r=this._data;r&&a?r.eachItemGraphicEl(function(c){c.fadeOut(function(){o.remove(c)})}):o.removeAll()};function n(a){var o=a.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 t=v;B.exports=t},"9yH6":function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("x1Ya"),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=v.createContext(null),a=t.Provider,o=t,r=i("cDf5"),c=i.n(r);function e(j,V){typeof j=="function"?j(V):c()(j)==="object"&&j&&"current"in j&&(j.current=V)}function s(){for(var j=arguments.length,V=new Array(j),D=0;D<j;D++)V[D]=arguments[D];return function(H){V.forEach(function(P){e(P,H)})}}var u=i("uaoM"),h=function(j,V){var D={};for(var H in j)Object.prototype.hasOwnProperty.call(j,H)&&V.indexOf(H)<0&&(D[H]=j[H]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,H=Object.getOwnPropertySymbols(j);P<H.length;P++)V.indexOf(H[P])<0&&Object.prototype.propertyIsEnumerable.call(j,H[P])&&(D[H[P]]=j[H[P]]);return D},g=function(V,D){var H,P=v.useContext(o),K=v.useContext(n.b),U=K.getPrefixCls,G=K.direction,W=v.useRef(),Z=s(D,W);v.useEffect(function(){Object(u.a)(!("optionType"in V),"Radio","`optionType` is only support in Radio.Group.")},[]);var J=function(ae){V.onChange&&V.onChange(ae),(P==null?void 0:P.onChange)&&P.onChange(ae)},ve=V.prefixCls,q=V.className,ce=V.children,be=V.style,Ce=h(V,["prefixCls","className","children","style"]),Fe=U("radio",ve),fe=p()({},Ce);P&&(fe.name=P.name,fe.onChange=J,fe.checked=V.value===P.value,fe.disabled=V.disabled||P.disabled);var Ne=l()(q,(H={},m()(H,"".concat(Fe,"-wrapper"),!0),m()(H,"".concat(Fe,"-wrapper-checked"),fe.checked),m()(H,"".concat(Fe,"-wrapper-disabled"),fe.disabled),m()(H,"".concat(Fe,"-wrapper-rtl"),G==="rtl"),H));return v.createElement("label",{className:Ne,style:be,onMouseEnter:V.onMouseEnter,onMouseLeave:V.onMouseLeave},v.createElement(f.a,p()({},fe,{prefixCls:Fe,ref:Z})),ce!==void 0?v.createElement("span",null,ce):null)},A=v.forwardRef(g);A.displayName="Radio",A.defaultProps={type:"radio"};var w=A,b=i("J4zp"),S=i.n(b),_=i("6cGi"),T=i("3Nzz"),x=v.forwardRef(function(j,V){var D=v.useContext(n.b),H=D.getPrefixCls,P=D.direction,K=v.useContext(T.b),U=Object(_.a)(j.defaultValue,{value:j.value}),G=S()(U,2),W=G[0],Z=G[1],J=function(ce){var be=W,Ce=ce.target.value;"value"in j||Z(Ce);var Fe=j.onChange;Fe&&Ce!==be&&Fe(ce)},ve=function(){var ce,be=j.prefixCls,Ce=j.className,Fe=Ce===void 0?"":Ce,fe=j.options,Ne=j.optionType,Q=j.buttonStyle,ae=j.disabled,Ue=j.children,te=j.size,X=j.style,z=j.id,Y=j.onMouseEnter,pe=j.onMouseLeave,se=H("radio",be),Te="".concat(se,"-group"),Se=Ue;if(fe&&fe.length>0){var ie=Ne==="button"?"".concat(se,"-button"):se;Se=fe.map(function(We){return typeof We=="string"?v.createElement(w,{ref:V,key:We,prefixCls:ie,disabled:ae,value:We,checked:W===We},We):v.createElement(w,{ref:V,key:"radio-group-value-options-".concat(We.value),prefixCls:ie,disabled:We.disabled||ae,value:We.value,checked:W===We.value,style:We.style},We.label)})}var de=te||K,_e=l()(Te,"".concat(Te,"-").concat(Q),(ce={},m()(ce,"".concat(Te,"-").concat(de),de),m()(ce,"".concat(Te,"-rtl"),P==="rtl"),ce),Fe);return v.createElement("div",{className:_e,style:X,onMouseEnter:Y,onMouseLeave:pe,id:z},Se)};return v.createElement(a,{value:{onChange:J,value:W,disabled:j.disabled,name:j.name}},ve())});x.defaultProps={buttonStyle:"outline"};var C=v.memo(x),I=function(j,V){var D={};for(var H in j)Object.prototype.hasOwnProperty.call(j,H)&&V.indexOf(H)<0&&(D[H]=j[H]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,H=Object.getOwnPropertySymbols(j);P<H.length;P++)V.indexOf(H[P])<0&&Object.prototype.propertyIsEnumerable.call(j,H[P])&&(D[H[P]]=j[H[P]]);return D},L=function(V,D){var H=v.useContext(o),P=v.useContext(n.b),K=P.getPrefixCls,U=V.prefixCls,G=I(V,["prefixCls"]),W=K("radio-button",U);return H&&(G.checked=V.value===H.value,G.disabled=V.disabled||H.disabled),v.createElement(w,p()({prefixCls:W},G,{type:"radio",ref:D}))},M=v.forwardRef(L),k=w;k.Button=M,k.Group=C;var R=N.a=k},A1Ka:function(B,N,i){var y=i("bLfw"),m=i("sS/r"),E=i("D5nY"),p=E.detectSourceFormat,v=i("k9D9"),f=v.SERIES_LAYOUT_BY_COLUMN;y.extend({type:"dataset",defaultOption:{seriesLayoutBy:f,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),m.extend({type:"dataset"})},ABKa:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Qs9O")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FolderOutlined";var l=p.forwardRef(d);N.default=l},AE9C:function(B,N,i){var y=i("bYtY"),m=i("crZl"),E=i("IwbS"),p=i("oVpE"),v=p.createSymbol,f=i("+TT/"),d=i("y7Aq"),l=m.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var a=this.visualMapModel,o=a.get("textGap"),r=a.textStyleModel,c=r.getFont(),e=r.getTextColor(),s=this._getItemAlign(),u=a.itemSize,h=this._getViewData(),g=h.endsText,A=y.retrieve(a.get("showLabel",!0),!g);g&&this._renderEndsText(t,g[0],u,A,s),y.each(h.viewPieceList,w,this),g&&this._renderEndsText(t,g[1],u,A,s),f.box(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t);function w(b){var S=b.piece,_=new E.Group;_.onclick=y.bind(this._onItemClick,this,S),this._enableHoverLink(_,b.indexInModelPieceList);var T=a.getRepresentValue(S);if(this._createItemSymbol(_,T,[0,0,u[0],u[1]]),A){var x=this.visualMapModel.getValueState(T);_.add(new E.Text({style:{x:s==="right"?-o:u[0]+o,y:u[1]/2,text:S.text,textVerticalAlign:"middle",textAlign:s,textFont:c,textFill:e,opacity:x==="outOfRange"?.5:1}}))}t.add(_)}},_enableHoverLink:function(t,a){t.on("mouseover",y.bind(o,this,"highlight")).on("mouseout",y.bind(o,this,"downplay"));function o(r){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:r,batch:d.makeHighDownBatch(c.findTargetDataIndices(a),c)})}},_getItemAlign:function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return d.getItemAlign(t,this.api,t.itemSize);var o=a.align;return(!o||o==="auto")&&(o="left"),o},_renderEndsText:function(t,a,o,r,c){if(!a)return;var e=new E.Group,s=this.visualMapModel.textStyleModel;e.add(new E.Text({style:{x:r?c==="right"?o[0]:0:o[0]/2,y:o[1]/2,textVerticalAlign:"middle",textAlign:r?c:"center",text:a,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(e)},_getViewData:function(){var t=this.visualMapModel,a=y.map(t.getPieceList(),function(e,s){return{piece:e,indexInModelPieceList:s}}),o=t.get("text"),r=t.get("orient"),c=t.get("inverse");return(r==="horizontal"?c:!c)?a.reverse():o&&(o=o.slice().reverse()),{viewPieceList:a,endsText:o}},_createItemSymbol:function(t,a,o){t.add(v(this.getControllerVisual(a,"symbol"),o[0],o[1],o[2],o[3],this.getControllerVisual(a,"color")))},_onItemClick:function(t){var a=this.visualMapModel,o=a.option,r=y.clone(o.selected),c=a.getSelectedMapKey(t);o.selectedMode==="single"?(r[c]=!0,y.each(r,function(e,s){r[s]=s===c})):r[c]=!r[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),n=l;B.exports=n},AEZ6:function(B,N,i){var y=i("bYtY"),m=y.each,E=y.createHashMap,p=i("T4UG"),v=i("MwEJ"),f=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(n,t){var a=this.getSource();return d(a,this),v(a,this)},getRawIndicesByActiveState:function(n){var t=this.coordinateSystem,a=this.getData(),o=[];return t.eachActiveState(a,function(r,c){n===r&&o.push(a.getRawIndex(c))}),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(n,t){if(n.encodeDefine)return;var a=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(!a)return;var o=n.encodeDefine=E();m(a.dimensions,function(r){var c=l(r);o.set(r,c)})}function l(n){return+n.replace("dim","")}B.exports=f},AH3D:function(B,N,i){var y=i("ProS");i("y4/Y"),i("qWt2"),i("Qvb6"),y.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),y.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("5GtS"),p=i("4NO4"),v=p.defaultEmphasis,f=i("D5nY"),d=f.makeSeriesEncodeForNameBased,l=i("xKMd"),n=y.extendSeriesModel({type:"series.funnel",init:function(a){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(m.bind(this.getData,this),m.bind(this.getRawData,this)),this._defaultLabelLine(a)},getInitialData:function(a,o){return E(this,{coordDimensions:["value"],encodeDefaulter:m.curry(d,this)})},_defaultLabelLine:function(a){v(a,"labelLine",["show"]);var o=a.labelLine,r=a.emphasis.labelLine;o.show=o.show&&a.label.show,r.show=r.show&&a.emphasis.label.show},getDataParams:function(a){var o=this.getData(),r=n.superCall(this,"getDataParams",a),c=o.mapDimension("value"),e=o.getSum(c);return r.percent=e?+(o.get(c,a)/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}}}}),t=n;B.exports=t},ANjR:function(B,N,i){var y=i("bYtY");function m(p,v){return v=v||[0,0],y.map([0,1],function(f){var d=v[f],l=p[f]/2,n=[],t=[];return n[f]=d-l,t[f]=d+l,n[1-f]=t[1-f]=v[1-f],Math.abs(this.dataToPoint(n)[f]-this.dataToPoint(t)[f])},this)}function E(p){var v=p.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:p.getZoom()},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}B.exports=E},AOa7:function(B,N,i){},AUH6:function(B,N,i){var y=i("bYtY"),m=i("mFDi"),E=i("bMXI"),p=i("W4dC");function v(l,n,t,a){E.call(this,l),this.map=n;var o=p.load(n,t);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.regionsMap,this._invertLongitute=a==null?!0:a,this.regions=o.regions,this._rect=o.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(l){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(l))return!0;return!1},transformTo:function(l,n,t,a){var o=this.getBoundingRect(),r=this._invertLongitute;o=o.clone(),r&&(o.y=-o.y-o.height);var c=this._rawTransformable;if(c.transform=o.calculateTransform(new m(l,n,t,a)),c.decomposeTransform(),r){var e=c.scale;e[1]=-e[1]}c.updateTransform(),this._updateTransform()},getRegion:function(l){return this._regionsMap.get(l)},getRegionByCoord:function(l){for(var n=this.regions,t=0;t<n.length;t++)if(n[t].contain(l))return n[t]},addGeoCoord:function(l,n){this._nameCoordMap.set(l,n)},getGeoCoord:function(l){return this._nameCoordMap.get(l)},getBoundingRect:function(){return this._rect},dataToPoint:function(l,n,t){if(typeof l=="string"&&(l=this.getGeoCoord(l)),l)return E.prototype.dataToPoint.call(this,l,n,t)},convertToPixel:y.curry(f,"dataToPoint"),convertFromPixel:y.curry(f,"pointToData")},y.mixin(v,E);function f(l,n,t,a){var o=t.geoModel,r=t.seriesModel,c=o?o.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return c===this?c[l](a):null}var d=v;B.exports=d},AVZG:function(B,N,i){var y=i("bYtY");function m(E,p,v){v=v||{};var f=E.coordinateSystem,d=p.axis,l={},n=d.getAxesOnZeroOf()[0],t=d.position,a=n?"onZero":t,o=d.dim,r=f.getRect(),c=[r.x,r.x+r.width,r.y,r.y+r.height],e={left:0,right:1,top:0,bottom:1,onZero:2},s=p.get("offset")||0,u=o==="x"?[c[2]-s,c[3]+s]:[c[0]-s,c[1]+s];if(n){var h=n.toGlobalCoord(n.dataToCoord(0));u[e.onZero]=Math.max(Math.min(h,u[1]),u[0])}l.position=[o==="y"?u[e[a]]:c[0],o==="x"?u[e[a]]:c[3]],l.rotation=Math.PI/2*(o==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};l.labelDirection=l.tickDirection=l.nameDirection=g[t],l.labelOffset=n?u[e[t]]-u[e.onZero]:0,p.get("axisTick.inside")&&(l.tickDirection=-l.tickDirection),y.retrieve(v.labelInside,p.get("axisLabel.inside"))&&(l.labelDirection=-l.labelDirection);var A=p.get("axisLabel.rotate");return l.labelRotate=a==="top"?-A:A,l.z2=1,l}N.layout=m},"Ae+d":function(B,N){function i(m,E,p){var v=m.target,f=v.position;f[0]+=E,f[1]+=p,v.dirty()}function y(m,E,p,v){var f=m.target,d=m.zoomLimit,l=f.position,n=f.scale,t=m.zoom=m.zoom||1;if(t*=E,d){var a=d.min||0,o=d.max||Infinity;t=Math.max(Math.min(o,t),a)}var r=t/m.zoom;m.zoom=t,l[0]-=(p-l[0])*(r-1),l[1]-=(v-l[1])*(r-1),n[0]*=r,n[1]*=r,f.dirty()}N.updateViewOnPan=i,N.updateViewOnZoom=y},Ae16:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS");i("Wqna"),i("rySg"),y.extendComponentView({type:"grid",render:function(p,v){this.group.removeAll(),p.get("show")&&this.group.add(new E.Rect({shape:p.coordinateSystem.getRect(),style:m.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),y.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("PQMj"),p=i.n(E)},"B+YJ":function(B,N,i){i("TYVI"),i("p1MT")},"B6l+":function(B,N,i){var y=i("Sq3C"),m=i("Z1HP"),E=i("Sxd8"),p=i("dt0z");function v(f,d,l){f=p(f),d=E(d);var n=d?m(f):0;return d&&n<d?f+y(d-n,l):f}B.exports=v},B9cy:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("0XgM"),p=i.n(E)},B9fm:function(B,N,i){var y=i("bYtY"),m=i("Qe9p"),E=i("YH21"),p=i("Ze12"),v=i("ItGF"),f=i("7aKB"),d=y.each,l=f.toCamelCase,n=["","-webkit-","-moz-","-o-"],t="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function a(u){var h="cubic-bezier(0.23, 1, 0.32, 1)",g="left "+u+"s "+h+",top "+u+"s "+h;return y.map(n,function(A){return A+"transition:"+g}).join(";")}function o(u){var h=[],g=u.get("fontSize"),A=u.getTextColor();return A&&h.push("color:"+A),h.push("font:"+u.getFont()),g&&h.push("line-height:"+Math.round(g*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=[],g=u.get("transitionDuration"),A=u.get("backgroundColor"),w=u.getModel("textStyle"),b=u.get("padding");return g&&h.push(a(g)),A&&(v.canvasSupported?h.push("background-Color:"+A):(h.push("background-Color:#"+m.toHex(A)),h.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],function(S){var _="border-"+S,T=l(_),x=u.get(T);x!=null&&h.push(_+":"+x+(S==="color"?"":"px"))}),h.push(o(w)),b!=null&&h.push("padding:"+f.normalizeCssArray(b).join("px ")+"px"),h.join(";")+";"}function c(u,h,g,A,w){var b=h&&h.painter;if(g){var S=b&&b.getViewportRoot();S&&p.transformLocalCoord(u,S,document.body,A,w)}else{u[0]=A,u[1]=w;var _=b&&b.getViewportRootOffset();_&&(u[0]+=_.offsetLeft,u[1]+=_.offsetTop)}}function e(u,h,g){if(v.wxa)return null;var A=document.createElement("div");A.domBelongToZr=!0,this.el=A;var w=this._zr=h.getZr(),b=this._appendToBody=g&&g.appendToBody;this._styleCoord=[0,0],c(this._styleCoord,w,b,h.getWidth()/2,h.getHeight()/2),b?document.body.appendChild(A):u.appendChild(A),this._container=u,this._show=!1,this._hideTimeout;var S=this;A.onmouseenter=function(){S._enterable&&(clearTimeout(S._hideTimeout),S._show=!0),S._inContent=!0},A.onmousemove=function(_){if(_=_||window.event,!S._enterable){var T=w.handler,x=w.painter.getViewportRoot();E.normalizeEvent(x,_,!0),T.dispatch("mousemove",_)}},A.onmouseleave=function(){S._enterable&&(S._show&&S.hideLater(S._hideDelay)),S._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var u=this._container,h=u.currentStyle||document.defaultView.getComputedStyle(u),g=u.style;g.position!=="absolute"&&h.position!=="absolute"&&(g.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var h=this.el,g=this._styleCoord;h.style.cssText=t+r(u)+";left:"+g[0]+"px;top:"+g[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 g=this._styleCoord;c(g,this._zr,this._appendToBody,u,h);var A=this.el.style;A.left=g[0]+"px",A.top=g[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 g=document.defaultView.getComputedStyle(this.el);g&&(u+=parseInt(g.borderLeftWidth,10)+parseInt(g.borderRightWidth,10),h+=parseInt(g.borderTopWidth,10)+parseInt(g.borderBottomWidth,10))}return{width:u,height:h}}};var s=e;B.exports=s},BPZU:function(B,N){var i=32,y=7,m=256;function E(a){for(var o=0;a>=i;)o|=a&1,a>>=1;return a+o}function p(a,o,r,c){var e=o+1;if(e===r)return 1;if(c(a[e++],a[o])<0){for(;e<r&&c(a[e],a[e-1])<0;)e++;v(a,o,e)}else for(;e<r&&c(a[e],a[e-1])>=0;)e++;return e-o}function v(a,o,r){for(r--;o<r;){var c=a[o];a[o++]=a[r],a[r--]=c}}function f(a,o,r,c,e){for(c===o&&c++;c<r;c++){for(var s=a[c],u=o,h=c,g;u<h;)g=u+h>>>1,e(s,a[g])<0?h=g:u=g+1;var A=c-u;switch(A){case 3:a[u+3]=a[u+2];case 2:a[u+2]=a[u+1];case 1:a[u+1]=a[u];break;default:for(;A>0;)a[u+A]=a[u+A-1],A--}a[u]=s}}function d(a,o,r,c,e,s){var u=0,h=0,g=1;if(s(a,o[r+e])>0){for(h=c-e;g<h&&s(a,o[r+e+g])>0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h),u+=e,g+=e}else{for(h=e+1;g<h&&s(a,o[r+e-g])<=0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h);var A=u;u=e-g,g=e-A}for(u++;u<g;){var w=u+(g-u>>>1);s(a,o[r+w])>0?u=w+1:g=w}return g}function l(a,o,r,c,e,s){var u=0,h=0,g=1;if(s(a,o[r+e])<0){for(h=e+1;g<h&&s(a,o[r+e-g])<0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h);var A=u;u=e-g,g=e-A}else{for(h=c-e;g<h&&s(a,o[r+e+g])>=0;)u=g,g=(g<<1)+1,g<=0&&(g=h);g>h&&(g=h),u+=e,g+=e}for(u++;u<g;){var w=u+(g-u>>>1);s(a,o[r+w])<0?g=w:u=w+1}return g}function n(a,o){var r=y,c=0,e=m,s=0,u,h,g=0;c=a.length,c<2*m&&(e=c>>>1);var A=[];s=c<120?5:c<1542?10:c<119151?19:40,u=[],h=[];function w(C,I){u[g]=C,h[g]=I,g+=1}function b(){for(;g>1;){var C=g-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;_(C)}}function S(){for(;g>1;){var C=g-2;C>0&&h[C-1]<h[C+1]&&C--,_(C)}}function _(C){var I=u[C],L=h[C],M=u[C+1],k=h[C+1];h[C]=L+k,C===g-3&&(u[C+1]=u[C+2],h[C+1]=h[C+2]),g--;var R=l(a[M],a,I,L,0,o);if(I+=R,L-=R,L===0)return;if(k=d(a[I+L-1],a,M,k,k-1,o),k===0)return;L<=k?T(I,L,M,k):x(I,L,M,k)}function T(C,I,L,M){var k=0;for(k=0;k<I;k++)A[k]=a[C+k];var R=0,j=L,V=C;if(a[V++]=a[j++],--M===0){for(k=0;k<I;k++)a[V+k]=A[R+k];return}if(I===1){for(k=0;k<M;k++)a[V+k]=a[j+k];a[V+M]=A[R];return}for(var D=r,H,P,K;;){H=0,P=0,K=!1;do if(o(a[j],A[R])<0){if(a[V++]=a[j++],P++,H=0,--M===0){K=!0;break}}else if(a[V++]=A[R++],H++,P=0,--I===1){K=!0;break}while((H|P)<D);if(K)break;do{if(H=l(a[j],A,R,I,0,o),H!==0){for(k=0;k<H;k++)a[V+k]=A[R+k];if(V+=H,R+=H,I-=H,I<=1){K=!0;break}}if(a[V++]=a[j++],--M===0){K=!0;break}if(P=d(A[R],a,j,M,0,o),P!==0){for(k=0;k<P;k++)a[V+k]=a[j+k];if(V+=P,j+=P,M-=P,M===0){K=!0;break}}if(a[V++]=A[R++],--I===1){K=!0;break}D--}while(H>=y||P>=y);if(K)break;D<0&&(D=0),D+=2}if(r=D,r<1&&(r=1),I===1){for(k=0;k<M;k++)a[V+k]=a[j+k];a[V+M]=A[R]}else{if(I===0)throw new Error;for(k=0;k<I;k++)a[V+k]=A[R+k]}}function x(C,I,L,M){var k=0;for(k=0;k<M;k++)A[k]=a[L+k];var R=C+I-1,j=M-1,V=L+M-1,D=0,H=0;if(a[V--]=a[R--],--I===0){for(D=V-(M-1),k=0;k<M;k++)a[D+k]=A[k];return}if(M===1){for(V-=I,R-=I,H=V+1,D=R+1,k=I-1;k>=0;k--)a[H+k]=a[D+k];a[V]=A[j];return}for(var P=r;;){var K=0,U=0,G=!1;do if(o(A[j],a[R])<0){if(a[V--]=a[R--],K++,U=0,--I===0){G=!0;break}}else if(a[V--]=A[j--],U++,K=0,--M===1){G=!0;break}while((K|U)<P);if(G)break;do{if(K=I-l(A[j],a,C,I,I-1,o),K!==0){for(V-=K,R-=K,I-=K,H=V+1,D=R+1,k=K-1;k>=0;k--)a[H+k]=a[D+k];if(I===0){G=!0;break}}if(a[V--]=A[j--],--M===1){G=!0;break}if(U=M-d(a[R],A,0,M,M-1,o),U!==0){for(V-=U,j-=U,M-=U,H=V+1,D=j+1,k=0;k<U;k++)a[H+k]=A[D+k];if(M<=1){G=!0;break}}if(a[V--]=a[R--],--I===0){G=!0;break}P--}while(K>=y||U>=y);if(G)break;P<0&&(P=0),P+=2}if(r=P,r<1&&(r=1),M===1){for(V-=I,R-=I,H=V+1,D=R+1,k=I-1;k>=0;k--)a[H+k]=a[D+k];a[V]=A[j]}else{if(M===0)throw new Error;for(D=V-(M-1),k=0;k<M;k++)a[D+k]=A[k]}}this.mergeRuns=b,this.forceMergeRuns=S,this.pushRun=w}function t(a,o,r,c){r||(r=0),c||(c=a.length);var e=c-r;if(e<2)return;var s=0;if(e<i){s=p(a,r,c,o),f(a,r,c,r+s,o);return}var u=new n(a,o),h=E(e);do{if(s=p(a,r,c,o),s<h){var g=e;g>h&&(g=h),f(a,r,r+g,r+s,o),s=g}u.pushRun(r,s),u.mergeRuns(),e-=s,r+=s}while(e!==0);u.forceMergeRuns()}B.exports=t},Bd2K:function(B,N,i){(function(y){y(i("VrN/"),i("osHv"))})(function(y){y.defineOption("autoCloseTags",!1,function(n,t,a){if(a!=y.Init&&a&&n.removeKeyMap("autoCloseTags"),!t)return;var o={name:"autoCloseTags"};(typeof t!="object"||t.whenClosing!==!1)&&(o["'/'"]=function(r){return f(r)}),(typeof t!="object"||t.whenOpening!==!1)&&(o["'>'"]=function(r){return p(r)}),n.addKeyMap(o)});var m=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],E=["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 p(n){if(n.getOption("disableInput"))return y.Pass;for(var t=n.listSelections(),a=[],o=n.getOption("autoCloseTags"),r=0;r<t.length;r++){if(!t[r].empty())return y.Pass;var c=t[r].head,e=n.getTokenAt(c),s=y.innerMode(n.getMode(),e.state),u=s.state,h=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),g=h&&h.name;if(!g)return y.Pass;var A=s.mode.configuration=="html",w=typeof o=="object"&&o.dontCloseTags||A&&m,b=typeof o=="object"&&o.indentTags||A&&E;e.end>c.ch&&(g=g.slice(0,g.length-e.end+c.ch));var S=g.toLowerCase();if(!g||e.type=="string"&&(e.end!=c.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&h.close||e.string.indexOf("/")==c.ch-e.start-1||w&&d(w,S)>-1||l(n,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],g,c,!0))return y.Pass;var _=typeof o=="object"&&o.emptyTags;if(_&&d(_,g)>-1){a[r]={text:"/>",newPos:y.Pos(c.line,c.ch+2)};continue}var T=b&&d(b,S)>-1;a[r]={indent:T,text:">"+(T?`
`:"")+"</"+g+">",newPos:T?y.Pos(c.line+1,0):y.Pos(c.line,c.ch+1)}}for(var x=typeof o=="object"&&o.dontIndentOnAutoClose,r=t.length-1;r>=0;r--){var C=a[r];n.replaceRange(C.text,t[r].head,t[r].anchor,"+insert");var I=n.listSelections().slice(0);I[r]={head:C.newPos,anchor:C.newPos},n.setSelections(I),!x&&C.indent&&(n.indentLine(C.newPos.line,null,!0),n.indentLine(C.newPos.line+1,null,!0))}}function v(n,t){for(var a=n.listSelections(),o=[],r=t?"/":"</",c=n.getOption("autoCloseTags"),e=typeof c=="object"&&c.dontIndentOnSlash,s=0;s<a.length;s++){if(!a[s].empty())return y.Pass;var u=a[s].head,h=n.getTokenAt(u),g=y.innerMode(n.getMode(),h.state),A=g.state;if(t&&(h.type=="string"||h.string.charAt(0)!="<"||h.start!=u.ch-1))return y.Pass;var w,b=g.mode.name!="xml"&&n.getMode().name=="htmlmixed";if(b&&g.mode.name=="javascript")w=r+"script";else if(b&&g.mode.name=="css")w=r+"style";else{var S=g.mode.xmlCurrentContext&&g.mode.xmlCurrentContext(A);if(!S||S.length&&l(n,S,S[S.length-1],u))return y.Pass;w=r+S[S.length-1]}n.getLine(u.line).charAt(h.end)!=">"&&(w+=">"),o[s]=w}if(n.replaceSelections(o),a=n.listSelections(),!e)for(var s=0;s<a.length;s++)(s==a.length-1||a[s].head.line<a[s+1].head.line)&&n.indentLine(a[s].head.line)}function f(n){return n.getOption("disableInput")?y.Pass:v(n,!0)}y.commands.closeTag=function(n){return v(n)};function d(n,t){if(n.indexOf)return n.indexOf(t);for(var a=0,o=n.length;a<o;++a)if(n[a]==t)return a;return-1}function l(n,t,a,o,r){if(!y.scanForClosingTag)return!1;var c=Math.min(n.lastLine()+1,o.line+500),e=y.scanForClosingTag(n,o,null,c);if(!e||e.tag!=a)return!1;for(var s=r?1:0,u=t.length-1;u>=0&&t[u]==a;u--)++s;o=e.to;for(var u=1;u<s;u++){var h=y.scanForClosingTag(n,o,null,c);if(!h||h.tag!=a)return!1;o=h.to}return!0}})},BlVb:function(B,N,i){var y=i("hyiK"),m=1e-8;function E(v,f){return Math.abs(v-f)<m}function p(v,f,d){var l=0,n=v[0];if(!n)return!1;for(var t=1;t<v.length;t++){var a=v[t];l+=y(n[0],n[1],a[0],a[1],f,d),n=a}var o=v[0];return(!E(n[0],o[0])||!E(n[1],o[1]))&&(l+=y(n[0],n[1],o[0],o[1],f,d)),l!==0}N.contain=p},BoS7:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("czTT"),p=i.n(E)},Bq2U:function(B,N,i){var y=i("RDYZ"),m=i("Qe9p"),E=i("bYtY"),p=E.isArrayLike,v=Array.prototype.slice;function f(w,b){return w[b]}function d(w,b,S){w[b]=S}function l(w,b,S){return(b-w)*S+w}function n(w,b,S){return S>.5?b:w}function t(w,b,S,_,T){var x=w.length;if(T===1)for(var C=0;C<x;C++)_[C]=l(w[C],b[C],S);else for(var I=x&&w[0].length,C=0;C<x;C++)for(var L=0;L<I;L++)_[C][L]=l(w[C][L],b[C][L],S)}function a(w,b,S){var _=w.length,T=b.length;if(_!==T){var x=_>T;if(x)w.length=T;else for(var C=_;C<T;C++)w.push(S===1?b[C]:v.call(b[C]))}for(var I=w[0]&&w[0].length,C=0;C<w.length;C++)if(S===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,S){if(w===b)return!0;var _=w.length;if(_!==b.length)return!1;if(S===1){for(var T=0;T<_;T++)if(w[T]!==b[T])return!1}else for(var x=w[0].length,T=0;T<_;T++)for(var C=0;C<x;C++)if(w[T][C]!==b[T][C])return!1;return!0}function r(w,b,S,_,T,x,C,I,L){var M=w.length;if(L===1)for(var k=0;k<M;k++)I[k]=c(w[k],b[k],S[k],_[k],T,x,C);else for(var R=w[0].length,k=0;k<M;k++)for(var j=0;j<R;j++)I[k][j]=c(w[k][j],b[k][j],S[k][j],_[k][j],T,x,C)}function c(w,b,S,_,T,x,C){var I=(S-w)*.5,L=(_-b)*.5;return(2*(b-S)+I+L)*C+(-3*(b-S)-2*I-L)*x+I*T+b}function e(w){if(p(w)){var b=w.length;if(p(w[0])){for(var S=[],_=0;_<b;_++)S.push(v.call(w[_]));return S}return v.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 p(b&&b[0])?2:1}function h(w,b,S,_,T,x){var C=w._getter,I=w._setter,L=b==="spline",M=_.length;if(!M)return;var k=_[0].value,R=p(k),j=!1,V=!1,D=R?u(_):0,H;_.sort(function(X,z){return X.time-z.time}),H=_[M-1].time;for(var P=[],K=[],U=_[0].value,G=!0,W=0;W<M;W++){P.push(_[W].time/H);var Z=_[W].value;if(R&&o(Z,U,D)||!R&&Z===U||(G=!1),U=Z,typeof Z=="string"){var J=m.parse(Z);J?(Z=J,j=!0):V=!0}K.push(Z)}if(!x&&G)return;for(var ve=K[M-1],W=0;W<M-1;W++)R?a(K[W],ve,D):isNaN(K[W])&&!isNaN(ve)&&!V&&!j&&(K[W]=ve);R&&a(C(w._target,T),ve,D);var q=0,ce=0,be,Ce,Fe,fe,Ne,Q;if(j)var ae=[0,0,0,0];var Ue=function(z,Y){var pe;if(Y<0)pe=0;else if(Y<ce){for(be=Math.min(q+1,M-1),pe=be;pe>=0&&!(P[pe]<=Y);pe--);pe=Math.min(pe,M-2)}else{for(pe=q;pe<M&&!(P[pe]>Y);pe++);pe=Math.min(pe-1,M-2)}q=pe,ce=Y;var se=P[pe+1]-P[pe];if(se===0)return;if(Ce=(Y-P[pe])/se,L)if(fe=K[pe],Fe=K[pe===0?pe:pe-1],Ne=K[pe>M-2?M-1:pe+1],Q=K[pe>M-3?M-1:pe+2],R)r(Fe,fe,Ne,Q,Ce,Ce*Ce,Ce*Ce*Ce,C(z,T),D);else{var Te;if(j)Te=r(Fe,fe,Ne,Q,Ce,Ce*Ce,Ce*Ce*Ce,ae,1),Te=s(ae);else{if(V)return n(fe,Ne,Ce);Te=c(Fe,fe,Ne,Q,Ce,Ce*Ce,Ce*Ce*Ce)}I(z,T,Te)}else if(R)t(K[pe],K[pe+1],Ce,C(z,T),D);else{var Te;if(j)t(K[pe],K[pe+1],Ce,ae,1),Te=s(ae);else{if(V)return n(K[pe],K[pe+1],Ce);Te=l(K[pe],K[pe+1],Ce)}I(z,T,Te)}},te=new y({target:w._target,life:H,loop:w._loop,delay:w._delay,onframe:Ue,ondestroy:S});return b&&b!=="spline"&&(te.easing=b),te}var g=function(b,S,_,T){this._tracks={},this._target=b,this._loop=S||!1,this._getter=_||f,this._setter=T||d,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};g.prototype={when:function(b,S){var _=this._tracks;for(var T in S){if(!S.hasOwnProperty(T))continue;if(!_[T]){_[T]=[];var x=this._getter(this._target,T);if(x==null)continue;b!==0&&_[T].push({time:0,value:e(x)})}_[T].push({time:b,value:S[T]})}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,S=b.length,_=0;_<S;_++)b[_].call(this)},start:function(b,S){var _=this,T=0,x=function(){T--,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,S);L&&(this._clipList.push(L),T++,this.animation&&this.animation.addClip(L),C=L)}if(C){var M=C.onframe;C.onframe=function(k,R){M(k,R);for(var j=0;j<_._onframeList.length;j++)_._onframeList[j](k,R)}}return T||this._doneCallback(),this},stop:function(b){for(var S=this._clipList,_=this.animation,T=0;T<S.length;T++){var x=S[T];b&&x.onframe(this._target,1),_&&_.removeClip(x)}S.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 A=g;B.exports=A},Bqw1:function(B,N,i){"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(B,N,i){var y=i("bYtY"),m=i("Qxkt"),E=i("Mdki"),p=i("YXkt"),v=i("sdST"),f=function(t,a){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=a};f.prototype={constructor:f,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,a,o){typeof t=="function"&&(o=a,a=t,t=null),t=t||{},y.isString(t)&&(t={order:t});var r=t.order||"preorder",c=this[t.attr||"children"],e;r==="preorder"&&(e=a.call(o,this));for(var s=0;!e&&s<c.length;s++)c[s].eachNode(t,a,o);r==="postorder"&&a.call(o,this)},updateDepthAndHeight:function(t){var a=0;this.depth=t;for(var o=0;o<this.children.length;o++){var r=this.children[o];r.updateDepthAndHeight(t+1),r.height>a&&(a=r.height)}this.height=a+1},getNodeById:function(t){if(this.getId()===t)return this;for(var a=0,o=this.children,r=o.length;a<r;a++){var c=o[a].getNodeById(t);if(c)return c}},contains:function(t){if(t===this)return!0;for(var a=0,o=this.children,r=o.length;a<r;a++){var c=o[a].contains(t);if(c)return c}},getAncestors:function(t){for(var a=[],o=t?this:this.parentNode;o;)a.push(o),o=o.parentNode;return a.reverse(),a},getValue:function(t){var a=this.hostTree.data;return a.get(a.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(this.dataIndex<0)return;var a=this.hostTree,o=a.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?o.getModel(t,r.getModel(t)):o.getModel(t)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,a)},getVisual:function(t,a){return this.hostTree.data.getItemVisual(this.dataIndex,t,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var a=t.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}};function d(t,a){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=y.map(a||[],function(o){return new m(o,t,t.ecModel)})}d.prototype={constructor:d,type:"tree",eachNode:function(t,a,o){this.root.eachNode(t,a,o)},getNodeByDataIndex:function(t){var a=this.data.getRawIndex(t);return this._nodes[a]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,a=this._nodes,o=0,r=a.length;o<r;o++)a[o].dataIndex=-1;for(var o=0,r=t.count();o<r;o++)a[t.getRawIndex(o)].dataIndex=o},clearLayouts:function(){this.data.clearItemLayouts()}},d.createTree=function(t,a,o,r){var c=new d(a,o&&o.levels),e=[],s=1;u(t);function u(A,w){var b=A.value;s=Math.max(s,y.isArray(b)?b.length:1),e.push(A);var S=new f(A.name,c);w?l(S,w):c.root=S,c._nodes.push(S);var _=A.children;if(_)for(var T=0;T<_.length;T++)u(_[T],S)}c.root.updateDepthAndHeight(0);var h=v(e,{coordDimensions:["value"],dimensionsCount:s}),g=new p(h,a);return g.initData(e),r&&r(g),E({mainData:g,struct:c,structAttr:"tree"}),c.update(),c};function l(t,a){var o=a.children;if(t.parentNode===a)return;o.push(t),t.parentNode=a}var n=d;B.exports=n},BtR2:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LikeOutlined";var d=N.a=m.forwardRef(f)},BuqR:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("6uqw"),v=i("XxSj"),f=i("YOMW"),d=i("OELB"),l=d.reformIntervals,n=p.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,c){n.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();t[this._mode].call(this),this._resetSelected(r,c);var s=this.option.categories;this.resetVisual(function(u,h){e==="categories"?(u.mappingMethod="category",u.categories=E.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=E.map(this._pieceList,function(g){var g=E.clone(g);return h!=="inRange"&&(g.visual=null),g}))})},completeVisualOption:function(){var r=this.option,c={},e=v.listVisualTypes(),s=this.isCategory();E.each(r.pieces,function(h){E.each(e,function(g){h.hasOwnProperty(g)&&(c[g]=1)})}),E.each(c,function(h,g){var A=0;E.each(this.stateList,function(w){A|=u(r,w,g)||u(r.target,w,g)},this),!A&&E.each(this.stateList,function(w){(r[w]||(r[w]={}))[g]=f.get(g,w==="inRange"?"active":"inactive",s)})},this);function u(h,g,A){return h&&h[g]&&(E.isObject(h[g])?h[g].hasOwnProperty(A):h[g]===A)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,c){var e=this.option,s=this._pieceList,u=(c?e:r).selected||{};if(e.selected=u,E.each(s,function(g,A){var w=this.getSelectedMapKey(g);u.hasOwnProperty(w)||(u[w]=!0)},this),e.selectedMode==="single"){var h=!1;E.each(s,function(g,A){var w=this.getSelectedMapKey(g);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=E.clone(r)},getValueState:function(r){var c=v.findPieceIndex(r,this._pieceList);return c!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[c])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var c=[];return this.eachTargetSeries(function(e){var s=[],u=e.getData();u.each(this.getDataDimension(u),function(h,g){var A=v.findPieceIndex(h,this._pieceList);A===r&&s.push(g)},this),c.push({seriesId:e.id,dataIndex:s})},this),c},getRepresentValue:function(r){var c;if(this.isCategory())c=r.value;else if(r.value!=null)c=r.value;else{var e=r.interval||[];c=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return c},getVisualMeta:function(r){if(this.isCategory())return;var c=[],e=[],s=this;function u(w,b){var S=s.getRepresentValue({interval:w});b||(b=s.getValueState(S));var _=r(S,b);w[0]===-Infinity?e[0]=_:w[1]===Infinity?e[1]=_:c.push({value:w[0],color:_},{value:w[1],color:_})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var g=h[0].interval[0];g!==-Infinity&&h.unshift({interval:[-Infinity,g]}),g=h[h.length-1].interval[1],g!==Infinity&&h.push({interval:[g,Infinity]})}var A=-Infinity;return E.each(h,function(w){var b=w.interval;b&&(b[0]>A&&u([A,b[0]],"outOfRange"),u(b.slice()),A=b[1])},this),{stops:c,outerColors:e}}}),t={splitNumber:function(){var r=this.option,c=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&&c.push({interval:[-Infinity,s[0]],close:[0,0]});for(var g=0,A=s[0];g<u;A+=h,g++){var w=g===u-1?s[1]:A+h;c.push({interval:[A,w],close:[1,1]})}r.maxOpen&&c.push({interval:[s[1],Infinity],close:[0,0]}),l(c),E.each(c,function(b,S){b.index=S,b.text=this.formatValueText(b.interval)},this)},categories:function(){var r=this.option;E.each(r.categories,function(c){this._pieceList.push({text:this.formatValueText(c,!0),value:c})},this),a(r,this._pieceList)},pieces:function(){var r=this.option,c=this._pieceList;E.each(r.pieces,function(e,s){E.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 g=u.interval=[],A=u.close=[0,0],w=[1,0,1],b=[-Infinity,Infinity],S=[],_=0;_<2;_++){for(var T=[["gte","gt","min"],["lte","lt","max"]][_],x=0;x<3&&g[_]==null;x++)g[_]=e[T[x]],A[_]=w[x],S[_]=x===2;g[_]==null&&(g[_]=b[_])}S[0]&&g[1]===Infinity&&(A[0]=0),S[1]&&g[0]===-Infinity&&(A[1]=0),g[0]===g[1]&&A[0]&&A[1]&&(u.value=g[0])}u.visual=v.retrieveVisuals(e),c.push(u)},this),a(r,c),l(c),E.each(c,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 a(r,c){var e=r.inverse;(r.orient==="vertical"?!e:e)&&c.reverse()}var o=n;B.exports=o},BvKs:function(B,N,i){"use strict";i.d(N,"a",function(){return Yt});var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),o=i.n(a),r=i("q1tI"),c=i("VTBJ"),e=i("1OyB"),s=i("vuIU"),u=i("JX7q"),h=i("Ji7U"),g=i("LK+K"),A=i("I8Z2"),w=i("BGR+"),b=i("wx14"),S=i("rePB"),_=i("4IlW"),T=i("2GS6"),x=i("Gytx"),C=i.n(x),I=i("TSYQ"),L=i.n(I),M=i("U8pU"),k=i("ODXe"),R=/iPhone/i,j=/iPod/i,V=/iPad/i,D=/\bAndroid(?:.+)Mobile\b/i,H=/Android/i,P=/\bAndroid(?:.+)SD4930UR\b/i,K=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,U=/Windows Phone/i,G=/\bWindows(?:.+)ARM\b/i,W=/BlackBerry/i,Z=/BB10/i,J=/Opera Mini/i,ve=/\b(CriOS|Chrome)(?:.+)Mobile/i,q=/Mobile(?:.+)Firefox\b/i;function ce(pt,ht){return pt.test(ht)}function be(pt){var ht=pt||(typeof navigator!="undefined"?navigator.userAgent:""),Zt=ht.split("[FBAN");if(typeof Zt[1]!="undefined"){var $t=Zt,At=Object(k.a)($t,1);ht=At[0]}if(Zt=ht.split("Twitter"),typeof Zt[1]!="undefined"){var Pt=Zt,gt=Object(k.a)(Pt,1);ht=gt[0]}var Wt={apple:{phone:ce(R,ht)&&!ce(U,ht),ipod:ce(j,ht),tablet:!ce(R,ht)&&ce(V,ht)&&!ce(U,ht),device:(ce(R,ht)||ce(j,ht)||ce(V,ht))&&!ce(U,ht)},amazon:{phone:ce(P,ht),tablet:!ce(P,ht)&&ce(K,ht),device:ce(P,ht)||ce(K,ht)},android:{phone:!ce(U,ht)&&ce(P,ht)||!ce(U,ht)&&ce(D,ht),tablet:!ce(U,ht)&&!ce(P,ht)&&!ce(D,ht)&&(ce(K,ht)||ce(H,ht)),device:!ce(U,ht)&&(ce(P,ht)||ce(K,ht)||ce(D,ht)||ce(H,ht))||ce(/\bokhttp\b/i,ht)},windows:{phone:ce(U,ht),tablet:ce(G,ht),device:ce(U,ht)||ce(G,ht)},other:{blackberry:ce(W,ht),blackberry10:ce(Z,ht),opera:ce(J,ht),firefox:ce(q,ht),chrome:ce(ve,ht),device:ce(W,ht)||ce(Z,ht)||ce(J,ht)||ce(q,ht)||ce(ve,ht)},any:null,phone:null,tablet:null};return Wt.any=Wt.apple.device||Wt.android.device||Wt.windows.device||Wt.other.device,Wt.phone=Wt.apple.phone||Wt.android.phone||Wt.windows.phone,Wt.tablet=Wt.apple.tablet||Wt.android.tablet||Wt.windows.tablet,Wt}var Ce=Object(c.a)(Object(c.a)({},be()),{},{isMobile:be}),Fe=Ce;function fe(){}function Ne(pt,ht,Zt){var $t=ht||"";return pt.key||"".concat($t,"item_").concat(Zt)}function Q(pt){return"".concat(pt,"-menu-")}function ae(pt,ht){var Zt=-1;r.Children.forEach(pt,function($t){Zt+=1,$t&&$t.type&&$t.type.isMenuItemGroup?r.Children.forEach($t.props.children,function(At){Zt+=1,ht(At,Zt)}):ht($t,Zt)})}function Ue(pt,ht,Zt){if(!pt||Zt.find)return;r.Children.forEach(pt,function($t){if($t){var At=$t.type;if(!At||!(At.isSubMenu||At.isMenuItem||At.isMenuItemGroup))return;ht.indexOf($t.key)!==-1?Zt.find=!0:$t.props.children&&Ue($t.props.children,ht,Zt)}})}var te=["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"],X=function(ht){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$t=ht&&typeof ht.getBoundingClientRect=="function"&&ht.getBoundingClientRect().width;if($t){if(Zt){var At=getComputedStyle(ht),Pt=At.marginLeft,gt=At.marginRight;$t+=+Pt.replace("px","")+ +gt.replace("px","")}$t=+$t.toFixed(6)}return $t||0},z=function(ht,Zt,$t){ht&&Object(M.a)(ht.style)==="object"&&(ht.style[Zt]=$t)},Y=function(){return Fe.any},pe=i("KQm4"),se=i("Ff2n"),Te=i("i8i4"),Se=i("bdgK"),ie=i("uciX"),de=i("8XRh"),_e={adjustX:1,adjustY:1},We={topLeft:{points:["bl","tl"],overflow:_e,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:_e,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:_e,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:_e,offset:[4,0]}},at={topLeft:{points:["bl","tl"],overflow:_e,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:_e,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:_e,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:_e,offset:[4,0]}},tt=We,Oe=0,yt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Ye=function(ht,Zt,$t){var At=Q(Zt),Pt=ht.getState();ht.setState({defaultActiveFirst:Object(c.a)(Object(c.a)({},Pt.defaultActiveFirst),{},Object(S.a)({},At,$t))})},bt=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt($t){var At;Object(e.a)(this,Zt),At=ht.call(this,$t),At.onDestroy=function(pr){At.props.onDestroy(pr)},At.onKeyDown=function(pr){var Qr=pr.keyCode,$r=At.menuInstance,Ln=At.props,Mn=Ln.isOpen,Vn=Ln.store;if(Qr===_.a.ENTER)return At.onTitleClick(pr),Ye(Vn,At.props.eventKey,!0),!0;if(Qr===_.a.RIGHT)return Mn?$r.onKeyDown(pr):(At.triggerOpenChange(!0),Ye(Vn,At.props.eventKey,!0)),!0;if(Qr===_.a.LEFT){var ii;if(Mn)ii=$r.onKeyDown(pr);else return;return ii||(At.triggerOpenChange(!1),ii=!0),ii}return Mn&&(Qr===_.a.UP||Qr===_.a.DOWN)?$r.onKeyDown(pr):void 0},At.onOpenChange=function(pr){At.props.onOpenChange(pr)},At.onPopupVisibleChange=function(pr){At.triggerOpenChange(pr,pr?"mouseenter":"mouseleave")},At.onMouseEnter=function(pr){var Qr=At.props,$r=Qr.eventKey,Ln=Qr.onMouseEnter,Mn=Qr.store;Ye(Mn,At.props.eventKey,!1),Ln({key:$r,domEvent:pr})},At.onMouseLeave=function(pr){var Qr=At.props,$r=Qr.parentMenu,Ln=Qr.eventKey,Mn=Qr.onMouseLeave;$r.subMenuInstance=Object(u.a)(At),Mn({key:Ln,domEvent:pr})},At.onTitleMouseEnter=function(pr){var Qr=At.props,$r=Qr.eventKey,Ln=Qr.onItemHover,Mn=Qr.onTitleMouseEnter;Ln({key:$r,hover:!0}),Mn({key:$r,domEvent:pr})},At.onTitleMouseLeave=function(pr){var Qr=At.props,$r=Qr.parentMenu,Ln=Qr.eventKey,Mn=Qr.onItemHover,Vn=Qr.onTitleMouseLeave;$r.subMenuInstance=Object(u.a)(At),Mn({key:Ln,hover:!1}),Vn({key:Ln,domEvent:pr})},At.onTitleClick=function(pr){var Qr=Object(u.a)(At),$r=Qr.props;if($r.onTitleClick({key:$r.eventKey,domEvent:pr}),$r.triggerSubMenuAction==="hover")return;At.triggerOpenChange(!$r.isOpen,"click"),Ye($r.store,At.props.eventKey,!1)},At.onSubMenuClick=function(pr){typeof At.props.onClick=="function"&&At.props.onClick(At.addKeyPath(pr))},At.onSelect=function(pr){At.props.onSelect(pr)},At.onDeselect=function(pr){At.props.onDeselect(pr)},At.getPrefixCls=function(){return"".concat(At.props.rootPrefixCls,"-submenu")},At.getActiveClassName=function(){return"".concat(At.getPrefixCls(),"-active")},At.getDisabledClassName=function(){return"".concat(At.getPrefixCls(),"-disabled")},At.getSelectedClassName=function(){return"".concat(At.getPrefixCls(),"-selected")},At.getOpenClassName=function(){return"".concat(At.props.rootPrefixCls,"-submenu-open")},At.saveMenuInstance=function(pr){At.menuInstance=pr},At.addKeyPath=function(pr){return Object(c.a)(Object(c.a)({},pr),{},{keyPath:(pr.keyPath||[]).concat(At.props.eventKey)})},At.triggerOpenChange=function(pr,Qr){var $r=At.props.eventKey,Ln=function(){At.onOpenChange({key:$r,item:Object(u.a)(At),trigger:Qr,open:pr})};Qr==="mouseenter"?At.mouseenterTimeout=setTimeout(function(){Ln()},0):Ln()},At.isChildrenSelected=function(){var pr={find:!1};return Ue(At.props.children,At.props.selectedKeys,pr),pr.find},At.isOpen=function(){return At.props.openKeys.indexOf(At.props.eventKey)!==-1},At.adjustWidth=function(){if(!At.subMenuTitle||!At.menuInstance)return;var pr=Te.findDOMNode(At.menuInstance);if(pr.offsetWidth>=At.subMenuTitle.offsetWidth)return;pr.style.minWidth="".concat(At.subMenuTitle.offsetWidth,"px")},At.saveSubMenuTitle=function(pr){At.subMenuTitle=pr},At.getBaseProps=function(){var pr=Object(u.a)(At),Qr=pr.props;return{mode:Qr.mode==="horizontal"?"vertical":Qr.mode,visible:At.props.isOpen,level:Qr.level+1,inlineIndent:Qr.inlineIndent,focusable:!1,onClick:At.onSubMenuClick,onSelect:At.onSelect,onDeselect:At.onDeselect,onDestroy:At.onDestroy,selectedKeys:Qr.selectedKeys,eventKey:"".concat(Qr.eventKey,"-menu-"),openKeys:Qr.openKeys,motion:Qr.motion,onOpenChange:At.onOpenChange,subMenuOpenDelay:Qr.subMenuOpenDelay,parentMenu:Object(u.a)(At),subMenuCloseDelay:Qr.subMenuCloseDelay,forceSubMenuRender:Qr.forceSubMenuRender,triggerSubMenuAction:Qr.triggerSubMenuAction,builtinPlacements:Qr.builtinPlacements,defaultActiveFirst:Qr.store.getState().defaultActiveFirst[Q(Qr.eventKey)],multiple:Qr.multiple,prefixCls:Qr.rootPrefixCls,id:At.internalMenuId,manualRef:At.saveMenuInstance,itemIcon:Qr.itemIcon,expandIcon:Qr.expandIcon,direction:Qr.direction}},At.getMotion=function(pr,Qr){var $r=Object(u.a)(At),Ln=$r.haveRendered,Mn=At.props,Vn=Mn.motion,ii=Mn.rootPrefixCls,Li=Object(c.a)(Object(c.a)({},Vn),{},{leavedClassName:"".concat(ii,"-hidden"),removeOnLeave:!1,motionAppear:Ln||!Qr||pr!=="inline"});return Li};var Pt=$t.store,gt=$t.eventKey,Wt=Pt.getState(),yr=Wt.defaultActiveFirst;At.isRootMenu=!1;var cr=!1;return yr&&(cr=yr[gt]),Ye(Pt,gt,cr),At}return Object(s.a)(Zt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var At=this,Pt=this.props,gt=Pt.mode,Wt=Pt.parentMenu,yr=Pt.manualRef;if(yr&&yr(this),gt!=="horizontal"||!Wt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return At.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var At=this.props,Pt=At.onDestroy,gt=At.eventKey;Pt&&Pt(gt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(At){var Pt=this,gt=this.getBaseProps(),Wt=this.getMotion(gt.mode,gt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||gt.visible||gt.forceSubMenuRender,!this.haveOpened)return r.createElement("div",null);var yr=gt.direction;return r.createElement(de.default,Object.assign({visible:gt.visible},Wt),function(cr){var pr=cr.className,Qr=cr.style,$r=L()("".concat(gt.prefixCls,"-sub"),pr,Object(S.a)({},"".concat(gt.prefixCls,"-rtl"),yr==="rtl"));return r.createElement(Xt,Object.assign({},gt,{id:Pt.internalMenuId,className:$r,style:Qr}),At)})}},{key:"render",value:function(){var At,Pt=Object(c.a)({},this.props),gt=Pt.isOpen,Wt=this.getPrefixCls(),yr=Pt.mode==="inline",cr=L()(Wt,"".concat(Wt,"-").concat(Pt.mode),(At={},Object(S.a)(At,Pt.className,!!Pt.className),Object(S.a)(At,this.getOpenClassName(),gt),Object(S.a)(At,this.getActiveClassName(),Pt.active||gt&&!yr),Object(S.a)(At,this.getDisabledClassName(),Pt.disabled),Object(S.a)(At,this.getSelectedClassName(),this.isChildrenSelected()),At));this.internalMenuId||(Pt.eventKey?this.internalMenuId="".concat(Pt.eventKey,"$Menu"):(Oe+=1,this.internalMenuId="$__$".concat(Oe,"$Menu")));var pr={},Qr={},$r={};Pt.disabled||(pr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Qr={onClick:this.onTitleClick},$r={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Ln={},Mn=Pt.direction;yr&&(Mn==="rtl"?Ln.paddingRight=Pt.inlineIndent*Pt.level:Ln.paddingLeft=Pt.inlineIndent*Pt.level);var Vn={};this.props.isOpen&&(Vn={"aria-owns":this.internalMenuId});var ii=null;Pt.mode!=="horizontal"&&(ii=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ii=r.createElement(this.props.expandIcon,Object(c.a)({},this.props))));var Li=r.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Ln,className:"".concat(Wt,"-title"),role:"button"},$r,Qr,{"aria-expanded":gt},Vn,{"aria-haspopup":"true",title:typeof Pt.title=="string"?Pt.title:void 0}),Pt.title,ii||r.createElement("i",{className:"".concat(Wt,"-arrow")})),Pi=this.renderChildren(Pt.children),Ze=Pt.parentMenu.isRootMenu?Pt.parentMenu.props.getPopupContainer:function(Ar){return Ar.parentNode},xe=yt[Pt.mode],Me=Pt.popupOffset?{offset:Pt.popupOffset}:{},ke=Pt.mode==="inline"?"":Pt.popupClassName;ke+=Mn==="rtl"?" ".concat(Wt,"-rtl"):"";var Ge=Pt.disabled,Ke=Pt.triggerSubMenuAction,Je=Pt.subMenuOpenDelay,vt=Pt.forceSubMenuRender,ot=Pt.subMenuCloseDelay,Ut=Pt.builtinPlacements;te.forEach(function(Ar){return delete Pt[Ar]}),delete Pt.onClick;var br=Mn==="rtl"?Object.assign({},at,Ut):Object.assign({},We,Ut);return delete Pt.direction,r.createElement("li",Object.assign({},Pt,pr,{className:cr,role:"menuitem"}),yr&&Li,yr&&Pi,!yr&&r.createElement(ie.a,{prefixCls:Wt,popupClassName:L()("".concat(Wt,"-popup"),ke),getPopupContainer:Ze,builtinPlacements:br,popupPlacement:xe,popupVisible:gt,popupAlign:Me,popup:Pi,action:Ge?[]:[Ke],mouseEnterDelay:Je,mouseLeaveDelay:ot,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:vt},Li))}}]),Zt}(r.Component);bt.defaultProps={onMouseEnter:fe,onMouseLeave:fe,onTitleMouseEnter:fe,onTitleMouseLeave:fe,onTitleClick:fe,manualRef:fe,mode:"vertical",title:""};var Ct=Object(A.b)(function(pt,ht){var Zt=pt.openKeys,$t=pt.activeKey,At=pt.selectedKeys,Pt=ht.eventKey,gt=ht.subMenuKey;return{isOpen:Zt.indexOf(Pt)>-1,active:$t[gt]===Pt,selectedKeys:At}})(bt);Ct.isSubMenu=!0;var It=Ct,Ft="menuitem-overflowed",Vt=.5,$e=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt(){var $t;return Object(e.a)(this,Zt),$t=ht.apply(this,arguments),$t.resizeObserver=null,$t.mutationObserver=null,$t.originalTotalWidth=0,$t.overflowedItems=[],$t.menuItemSizes=[],$t.cancelFrameId=null,$t.state={lastVisibleIndex:void 0},$t.getMenuItemNodes=function(){var At=$t.props.prefixCls,Pt=Te.findDOMNode(Object(u.a)($t));return Pt?[].slice.call(Pt.children).filter(function(gt){return gt.className.split(" ").indexOf("".concat(At,"-overflowed-submenu"))<0}):[]},$t.getOverflowedSubMenuItem=function(At,Pt,gt){var Wt=$t.props,yr=Wt.overflowedIndicator,cr=Wt.level,pr=Wt.mode,Qr=Wt.prefixCls,$r=Wt.theme;if(cr!==1||pr!=="horizontal")return null;var Ln=$t.props.children[0],Mn=Ln.props,Vn=Mn.children,ii=Mn.title,Li=Mn.style,Pi=Object(se.a)(Mn,["children","title","style"]),Ze=Object(c.a)({},Li),xe="".concat(At,"-overflowed-indicator"),Me="".concat(At,"-overflowed-indicator");Pt.length===0&&gt!==!0?Ze=Object(c.a)(Object(c.a)({},Ze),{},{display:"none"}):gt&&(Ze=Object(c.a)(Object(c.a)({},Ze),{},{visibility:"hidden",position:"absolute"}),xe="".concat(xe,"-placeholder"),Me="".concat(Me,"-placeholder"));var ke=$r?"".concat(Qr,"-").concat($r):"",Ge={};return te.forEach(function(Ke){Pi[Ke]!==void 0&&(Ge[Ke]=Pi[Ke])}),r.createElement(It,Object.assign({title:yr,className:"".concat(Qr,"-overflowed-submenu"),popupClassName:ke},Ge,{key:xe,eventKey:Me,disabled:!1,style:Ze}),Pt)},$t.setChildrenWidthAndResize=function(){if($t.props.mode!=="horizontal")return;var At=Te.findDOMNode(Object(u.a)($t));if(!At)return;var Pt=At.children;if(!Pt||Pt.length===0)return;var gt=At.children[Pt.length-1];z(gt,"display","inline-block");var Wt=$t.getMenuItemNodes(),yr=Wt.filter(function(cr){return cr.className.split(" ").indexOf(Ft)>=0});yr.forEach(function(cr){z(cr,"display","inline-block")}),$t.menuItemSizes=Wt.map(function(cr){return X(cr,!0)}),yr.forEach(function(cr){z(cr,"display","none")}),$t.overflowedIndicatorWidth=X(At.children[At.children.length-1],!0),$t.originalTotalWidth=$t.menuItemSizes.reduce(function(cr,pr){return cr+pr},0),$t.handleResize(),z(gt,"display","none")},$t.handleResize=function(){if($t.props.mode!=="horizontal")return;var At=Te.findDOMNode(Object(u.a)($t));if(!At)return;var Pt=X(At);$t.overflowedItems=[];var gt=0,Wt;$t.originalTotalWidth>Pt+Vt&&(Wt=-1,$t.menuItemSizes.forEach(function(yr){gt+=yr,gt+$t.overflowedIndicatorWidth<=Pt&&(Wt+=1)})),$t.setState({lastVisibleIndex:Wt})},$t}return Object(s.a)(Zt,[{key:"componentDidMount",value:function(){var At=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Pt=Te.findDOMNode(this);if(!Pt)return;this.resizeObserver=new Se.default(function(gt){gt.forEach(function(){var Wt=At.cancelFrameId;cancelAnimationFrame(Wt),At.cancelFrameId=requestAnimationFrame(At.setChildrenWidthAndResize)})}),[].slice.call(Pt.children).concat(Pt).forEach(function(gt){At.resizeObserver.observe(gt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){At.resizeObserver.disconnect(),[].slice.call(Pt.children).concat(Pt).forEach(function(gt){At.resizeObserver.observe(gt)}),At.setChildrenWidthAndResize()}),this.mutationObserver.observe(Pt,{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(At){var Pt=this,gt=this.state.lastVisibleIndex;return(At||[]).reduce(function(Wt,yr,cr){var pr=yr;if(Pt.props.mode==="horizontal"){var Qr=Pt.getOverflowedSubMenuItem(yr.props.eventKey,[]);gt!==void 0&&Pt.props.className.indexOf("".concat(Pt.props.prefixCls,"-root"))!==-1&&(cr>gt&&(pr=r.cloneElement(yr,{style:{display:"none"},eventKey:"".concat(yr.props.eventKey,"-hidden"),className:"".concat(Ft)})),cr===gt+1&&(Pt.overflowedItems=At.slice(gt+1).map(function(Ln){return r.cloneElement(Ln,{key:Ln.props.eventKey,mode:"vertical-left"})}),Qr=Pt.getOverflowedSubMenuItem(yr.props.eventKey,Pt.overflowedItems)));var $r=[].concat(Object(pe.a)(Wt),[Qr,pr]);return cr===At.length-1&&$r.push(Pt.getOverflowedSubMenuItem(yr.props.eventKey,[],!0)),$r}return[].concat(Object(pe.a)(Wt),[pr])},[])}},{key:"render",value:function(){var At=this.props,Pt=At.visible,gt=At.prefixCls,Wt=At.overflowedIndicator,yr=At.mode,cr=At.level,pr=At.tag,Qr=At.children,$r=At.theme,Ln=Object(se.a)(At,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Mn=pr;return r.createElement(Mn,Object.assign({},Ln),this.renderChildren(Qr))}}]),Zt}(r.Component);$e.defaultProps={tag:"div",className:""};var ge=$e;function ne(pt){return pt.length?pt.every(function(ht){return!!ht.props.disabled}):!0}function wt(pt,ht,Zt){var $t=pt.getState();pt.setState({activeKey:Object(c.a)(Object(c.a)({},$t.activeKey),{},Object(S.a)({},ht,Zt))})}function qe(pt){return pt.eventKey||"0-menu-"}function he(pt,ht){var Zt=ht,$t=pt.children,At=pt.eventKey;if(Zt){var Pt;if(ae($t,function(gt,Wt){gt&&gt.props&&!gt.props.disabled&&Zt===Ne(gt,At,Wt)&&(Pt=!0)}),Pt)return Zt}return Zt=null,pt.defaultActiveFirst&&ae($t,function(gt,Wt){!Zt&&gt&&!gt.props.disabled&&(Zt=Ne(gt,At,Wt))}),Zt}function kt(pt){if(pt){var ht=this.instanceArray.indexOf(pt);ht!==-1?this.instanceArray[ht]=pt:this.instanceArray.push(pt)}}var nr=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt($t){var At;return Object(e.a)(this,Zt),At=ht.call(this,$t),At.onKeyDown=function(Pt,gt){var Wt=Pt.keyCode,yr;if(At.getFlatInstanceArray().forEach(function(pr){pr&&pr.props.active&&pr.onKeyDown&&(yr=pr.onKeyDown(Pt))}),yr)return 1;var cr=null;return(Wt===_.a.UP||Wt===_.a.DOWN)&&(cr=At.step(Wt===_.a.UP?-1:1)),cr?(Pt.preventDefault(),wt(At.props.store,qe(At.props),cr.props.eventKey),typeof gt=="function"&&gt(cr),1):void 0},At.onItemHover=function(Pt){var gt=Pt.key,Wt=Pt.hover;wt(At.props.store,qe(At.props),Wt?gt:null)},At.onDeselect=function(Pt){At.props.onDeselect(Pt)},At.onSelect=function(Pt){At.props.onSelect(Pt)},At.onClick=function(Pt){At.props.onClick(Pt)},At.onOpenChange=function(Pt){At.props.onOpenChange(Pt)},At.onDestroy=function(Pt){At.props.onDestroy(Pt)},At.getFlatInstanceArray=function(){return At.instanceArray},At.step=function(Pt){var gt=At.getFlatInstanceArray(),Wt=At.props.store.getState().activeKey[qe(At.props)],yr=gt.length;if(!yr)return null;Pt<0&&(gt=gt.concat().reverse());var cr=-1;if(gt.every(function(Ln,Mn){return Ln&&Ln.props.eventKey===Wt?(cr=Mn,!1):!0}),!At.props.defaultActiveFirst&&cr!==-1&&ne(gt.slice(cr,yr-1)))return;var pr=(cr+1)%yr,Qr=pr;do{var $r=gt[Qr];if(!$r||$r.props.disabled)Qr=(Qr+1)%yr;else return $r}while(Qr!==pr);return null},At.renderCommonMenuItem=function(Pt,gt,Wt){var yr=At.props.store.getState(),cr=Object(u.a)(At),pr=cr.props,Qr=Ne(Pt,pr.eventKey,gt),$r=Pt.props;if(!$r||typeof Pt.type=="string")return Pt;var Ln=Qr===yr.activeKey,Mn=Object(c.a)(Object(c.a)({mode:$r.mode||pr.mode,level:pr.level,inlineIndent:pr.inlineIndent,renderMenuItem:At.renderMenuItem,rootPrefixCls:pr.prefixCls,index:gt,parentMenu:pr.parentMenu,manualRef:$r.disabled?void 0:Object(T.a)(Pt.ref,kt.bind(Object(u.a)(At))),eventKey:Qr,active:!$r.disabled&&Ln,multiple:pr.multiple,onClick:function(ii){($r.onClick||fe)(ii),At.onClick(ii)},onItemHover:At.onItemHover,motion:pr.motion,subMenuOpenDelay:pr.subMenuOpenDelay,subMenuCloseDelay:pr.subMenuCloseDelay,forceSubMenuRender:pr.forceSubMenuRender,onOpenChange:At.onOpenChange,onDeselect:At.onDeselect,onSelect:At.onSelect,builtinPlacements:pr.builtinPlacements,itemIcon:$r.itemIcon||At.props.itemIcon,expandIcon:$r.expandIcon||At.props.expandIcon},Wt),{},{direction:pr.direction});return(pr.mode==="inline"||Y())&&(Mn.triggerSubMenuAction="click"),r.cloneElement(Pt,Mn)},At.renderMenuItem=function(Pt,gt,Wt){if(!Pt)return null;var yr=At.props.store.getState(),cr={openKeys:yr.openKeys,selectedKeys:yr.selectedKeys,triggerSubMenuAction:At.props.triggerSubMenuAction,subMenuKey:Wt};return At.renderCommonMenuItem(Pt,gt,cr)},$t.store.setState({activeKey:Object(c.a)(Object(c.a)({},$t.store.getState().activeKey),{},Object(S.a)({},$t.eventKey,he($t,$t.activeKey)))}),At.instanceArray=[],At}return Object(s.a)(Zt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(At){return this.props.visible||At.visible||this.props.className!==At.className||!C()(this.props.style,At.style)}},{key:"componentDidUpdate",value:function(At){var Pt=this.props,gt="activeKey"in Pt?Pt.activeKey:Pt.store.getState().activeKey[qe(Pt)],Wt=he(Pt,gt);if(Wt!==gt)wt(Pt.store,qe(Pt),Wt);else if("activeKey"in At){var yr=he(At,At.activeKey);Wt!==yr&&wt(Pt.store,qe(Pt),Wt)}}},{key:"render",value:function(){var At=this,Pt=Object(b.a)({},this.props);this.instanceArray=[];var gt=L()(Pt.prefixCls,Pt.className,"".concat(Pt.prefixCls,"-").concat(Pt.mode)),Wt={className:gt,role:Pt.role||"menu"};Pt.id&&(Wt.id=Pt.id),Pt.focusable&&(Wt.tabIndex=0,Wt.onKeyDown=this.onKeyDown);var yr=Pt.prefixCls,cr=Pt.eventKey,pr=Pt.visible,Qr=Pt.level,$r=Pt.mode,Ln=Pt.overflowedIndicator,Mn=Pt.theme;return te.forEach(function(Vn){return delete Pt[Vn]}),delete Pt.onClick,r.createElement(ge,Object.assign({},Pt,{prefixCls:yr,mode:$r,tag:"ul",level:Qr,theme:Mn,visible:pr,overflowedIndicator:Ln},Wt),r.Children.map(Pt.children,function(Vn,ii){return At.renderMenuItem(Vn,ii,cr||"0-menu-")}))}}]),Zt}(r.Component);nr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:fe};var lt=Object(A.b)()(nr),Xt=lt,hr=i("Kwbf");function Wr(pt,ht,Zt){var $t=pt.prefixCls,At=pt.motion,Pt=pt.defaultMotions,gt=Pt===void 0?{}:Pt,Wt=pt.openAnimation,yr=pt.openTransitionName,cr=ht.switchingModeFromInline;if(At)return At;if(Object(M.a)(Wt)==="object"&&Wt)Object(hr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Wt=="string")return{motionName:"".concat($t,"-open-").concat(Wt)};if(yr)return{motionName:yr};var pr=gt[Zt];return pr||(cr?null:gt.other)}var mt=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt($t){var At;Object(e.a)(this,Zt),At=ht.call(this,$t),At.inlineOpenKeys=[],At.onSelect=function(Wt){var yr=Object(u.a)(At),cr=yr.props;if(cr.selectable){var pr=At.store.getState(),Qr=pr.selectedKeys,$r=Wt.key;cr.multiple?Qr=Qr.concat([$r]):Qr=[$r],"selectedKeys"in cr||At.store.setState({selectedKeys:Qr}),cr.onSelect(Object(c.a)(Object(c.a)({},Wt),{},{selectedKeys:Qr}))}},At.onClick=function(Wt){var yr=At.getRealMenuMode(),cr=Object(u.a)(At),pr=cr.store,Qr=cr.props.onOpenChange;yr!=="inline"&&!("openKeys"in At.props)&&(pr.setState({openKeys:[]}),Qr([])),At.props.onClick(Wt)},At.onKeyDown=function(Wt,yr){At.innerMenu.getWrappedInstance().onKeyDown(Wt,yr)},At.onOpenChange=function(Wt){var yr=Object(u.a)(At),cr=yr.props,pr=At.store.getState().openKeys.concat(),Qr=!1,$r=function(Mn){var Vn=!1;if(Mn.open)Vn=pr.indexOf(Mn.key)===-1,Vn&&pr.push(Mn.key);else{var ii=pr.indexOf(Mn.key);Vn=ii!==-1,Vn&&pr.splice(ii,1)}Qr=Qr||Vn};Array.isArray(Wt)?Wt.forEach($r):$r(Wt),Qr&&("openKeys"in At.props||At.store.setState({openKeys:pr}),cr.onOpenChange(pr))},At.onDeselect=function(Wt){var yr=Object(u.a)(At),cr=yr.props;if(cr.selectable){var pr=At.store.getState().selectedKeys.concat(),Qr=Wt.key,$r=pr.indexOf(Qr);$r!==-1&&pr.splice($r,1),"selectedKeys"in cr||At.store.setState({selectedKeys:pr}),cr.onDeselect(Object(c.a)(Object(c.a)({},Wt),{},{selectedKeys:pr}))}},At.onMouseEnter=function(Wt){At.restoreModeVerticalFromInline();var yr=At.props.onMouseEnter;yr&&yr(Wt)},At.onTransitionEnd=function(Wt){var yr=Wt.propertyName==="width"&&Wt.target===Wt.currentTarget,cr=Wt.target.className,pr=Object.prototype.toString.call(cr)==="[object SVGAnimatedString]"?cr.animVal:cr,Qr=Wt.propertyName==="font-size"&&pr.indexOf("anticon")>=0;(yr||Qr)&&At.restoreModeVerticalFromInline()},At.setInnerMenu=function(Wt){At.innerMenu=Wt},At.isRootMenu=!0;var Pt=$t.defaultSelectedKeys,gt=$t.defaultOpenKeys;return"selectedKeys"in $t&&(Pt=$t.selectedKeys||[]),"openKeys"in $t&&(gt=$t.openKeys||[]),At.store=Object(A.c)({selectedKeys:Pt,openKeys:gt,activeKey:{"0-menu-":he($t,$t.activeKey)}}),At.state={switchingModeFromInline:!1},At}return Object(s.a)(Zt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(At){this.updateOpentKeysWhenSwitchMode(At),this.updateMiniStore();var Pt=this.props,gt=Pt.siderCollapsed,Wt=Pt.inlineCollapsed,yr=Pt.onOpenChange;(!At.inlineCollapsed&&Wt||!At.siderCollapsed&&gt)&&yr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(At){var Pt=this.props,gt=this.store,Wt=this.inlineOpenKeys,yr=gt.getState(),cr={};At.mode==="inline"&&Pt.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Pt||((Pt.inlineCollapsed&&!At.inlineCollapsed||Pt.siderCollapsed&&!At.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=yr.openKeys.concat(),cr.openKeys=[]),(!Pt.inlineCollapsed&&At.inlineCollapsed||!Pt.siderCollapsed&&At.siderCollapsed)&&(cr.openKeys=Wt,this.inlineOpenKeys=[])),Object.keys(cr).length&&gt.setState(cr)}},{key:"updateMenuDisplay",value:function(){var At=this.props.collapsedWidth,Pt=this.store,gt=this.prevOpenKeys,Wt=this.getInlineCollapsed()&&(At===0||At==="0"||At==="0px");Wt?(this.prevOpenKeys=Pt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):gt&&(this.store.setState({openKeys:gt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var At=this.props.mode,Pt=this.state.switchingModeFromInline,gt=this.getInlineCollapsed();return Pt&&gt?"inline":gt?"vertical":At}},{key:"getInlineCollapsed",value:function(){var At=this.props,Pt=At.inlineCollapsed,gt=At.siderCollapsed;return gt!==void 0?gt:Pt}},{key:"restoreModeVerticalFromInline",value:function(){var At=this.state.switchingModeFromInline;At&&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 At=Object(c.a)({},Object(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Pt=this.getRealMenuMode();return At.className+=" ".concat(At.prefixCls,"-root"),At.direction==="rtl"&&(At.className+=" ".concat(At.prefixCls,"-rtl")),At=Object(c.a)(Object(c.a)({},At),{},{mode:Pt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Wr(this.props,this.state,Pt)}),delete At.openAnimation,delete At.openTransitionName,r.createElement(A.a,{store:this.store},r.createElement(Xt,Object.assign({},At,{ref:this.setInnerMenu}),this.props.children))}}]),Zt}(r.Component);mt.defaultProps={selectable:!0,onClick:fe,onSelect:fe,onOpenChange:fe,onDeselect:fe,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 Et=mt,rt=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt(){var $t;return Object(e.a)(this,Zt),$t=ht.apply(this,arguments),$t.onKeyDown=function(At){var Pt=At.keyCode;return Pt===_.a.ENTER?($t.onClick(At),!0):void 0},$t.onMouseLeave=function(At){var Pt=$t.props,gt=Pt.eventKey,Wt=Pt.onItemHover,yr=Pt.onMouseLeave;Wt({key:gt,hover:!1}),yr({key:gt,domEvent:At})},$t.onMouseEnter=function(At){var Pt=$t.props,gt=Pt.eventKey,Wt=Pt.onItemHover,yr=Pt.onMouseEnter;Wt({key:gt,hover:!0}),yr({key:gt,domEvent:At})},$t.onClick=function(At){var Pt=$t.props,gt=Pt.eventKey,Wt=Pt.multiple,yr=Pt.onClick,cr=Pt.onSelect,pr=Pt.onDeselect,Qr=Pt.isSelected,$r={key:gt,keyPath:[gt],item:Object(u.a)($t),domEvent:At};yr($r),Wt?Qr?pr($r):cr($r):Qr||cr($r)},$t.saveNode=function(At){$t.node=At},$t}return Object(s.a)(Zt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var At=this.props;At.onDestroy&&At.onDestroy(At.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 At,Pt=Object(c.a)({},this.props),gt=L()(this.getPrefixCls(),Pt.className,(At={},Object(S.a)(At,this.getActiveClassName(),!Pt.disabled&&Pt.active),Object(S.a)(At,this.getSelectedClassName(),Pt.isSelected),Object(S.a)(At,this.getDisabledClassName(),Pt.disabled),At)),Wt=Object(c.a)(Object(c.a)({},Pt.attribute),{},{title:typeof Pt.title=="string"?Pt.title:void 0,className:gt,role:Pt.role||"menuitem","aria-disabled":Pt.disabled});Pt.role==="option"?Wt=Object(c.a)(Object(c.a)({},Wt),{},{role:"option","aria-selected":Pt.isSelected}):(Pt.role===null||Pt.role==="none")&&(Wt.role="none");var yr={onClick:Pt.disabled?null:this.onClick,onMouseLeave:Pt.disabled?null:this.onMouseLeave,onMouseEnter:Pt.disabled?null:this.onMouseEnter},cr=Object(c.a)({},Pt.style);Pt.mode==="inline"&&(Pt.direction==="rtl"?cr.paddingRight=Pt.inlineIndent*Pt.level:cr.paddingLeft=Pt.inlineIndent*Pt.level),te.forEach(function(Qr){return delete Pt[Qr]}),delete Pt.direction;var pr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(pr=r.createElement(this.props.itemIcon,this.props)),r.createElement("li",Object.assign({},Object(w.default)(Pt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Wt,yr,{style:cr,ref:this.saveNode}),Pt.children,pr)}}]),Zt}(r.Component);rt.isMenuItem=!0,rt.defaultProps={onSelect:fe,onMouseEnter:fe,onMouseLeave:fe,manualRef:fe};var He=Object(A.b)(function(pt,ht){var Zt=pt.activeKey,$t=pt.selectedKeys,At=ht.eventKey,Pt=ht.subMenuKey;return{active:Zt[Pt]===At,isSelected:$t.indexOf(At)!==-1}})(rt),ze=He,Rt=function(pt){Object(h.a)(Zt,pt);var ht=Object(g.a)(Zt);function Zt(){var $t;return Object(e.a)(this,Zt),$t=ht.apply(this,arguments),$t.renderInnerMenuItem=function(At){var Pt=$t.props,gt=Pt.renderMenuItem,Wt=Pt.index;return gt(At,Wt,$t.props.subMenuKey)},$t}return Object(s.a)(Zt,[{key:"render",value:function(){var At=Object(b.a)({},this.props),Pt=At.className,gt=Pt===void 0?"":Pt,Wt=At.rootPrefixCls,yr="".concat(Wt,"-item-group-title"),cr="".concat(Wt,"-item-group-list"),pr=At.title,Qr=At.children;return te.forEach(function($r){return delete At[$r]}),delete At.onClick,delete At.direction,r.createElement("li",Object.assign({},At,{className:"".concat(gt," ").concat(Wt,"-item-group")}),r.createElement("div",{className:yr,title:typeof pr=="string"?pr:void 0},pr),r.createElement("ul",{className:cr},r.Children.map(Qr,this.renderInnerMenuItem)))}}]),Zt}(r.Component);Rt.isMenuItemGroup=!0,Rt.defaultProps={disabled:!0};var sr=Rt,Jt=function(ht){var Zt=ht.className,$t=ht.rootPrefixCls,At=ht.style;return r.createElement("li",{className:"".concat(Zt," ").concat($t,"-item-divider"),style:At})};Jt.defaultProps={disabled:!0,className:"",style:{}};var qt=Jt,qr=Et,Fr=Object(r.createContext)({inlineCollapsed:!1}),mn=Fr,Tt=i("0n0R"),St=function(pt){t()(Zt,pt);var ht=o()(Zt);function Zt(){return f()(this,Zt),ht.apply(this,arguments)}return l()(Zt,[{key:"renderTitle",value:function(At){var Pt=this.props,gt=Pt.icon,Wt=Pt.title,yr=Pt.level,cr=Pt.rootPrefixCls;if(!gt)return At&&yr===1&&Wt&&typeof Wt=="string"?r.createElement("div",{className:"".concat(cr,"-inline-collapsed-noicon")},Wt.charAt(0)):Wt;var pr=Object(Tt.b)(Wt)&&Wt.type==="span";return r.createElement(r.Fragment,null,gt,pr?Wt:r.createElement("span",null,Wt))}},{key:"render",value:function(){var At=this,Pt=this.props,gt=Pt.rootPrefixCls,Wt=Pt.popupClassName;return r.createElement(mn.Consumer,null,function(yr){var cr=yr.inlineCollapsed,pr=yr.antdMenuTheme;return r.createElement(It,m()({},Object(w.default)(At.props,["icon"]),{title:At.renderTitle(cr),popupClassName:L()(gt,"".concat(gt,"-").concat(pr),Wt)}))})}}]),Zt}(r.Component);St.contextType=mn,St.isSubMenu=1;var Re=St,Ve=i("Zm9Q"),Xe=i("3S7+"),ct=i("ZX9x"),tr=function(pt,ht){var Zt={};for(var $t in pt)Object.prototype.hasOwnProperty.call(pt,$t)&&ht.indexOf($t)<0&&(Zt[$t]=pt[$t]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,$t=Object.getOwnPropertySymbols(pt);At<$t.length;At++)ht.indexOf($t[At])<0&&Object.prototype.propertyIsEnumerable.call(pt,$t[At])&&(Zt[$t[At]]=pt[$t[At]]);return Zt},ir=function(pt){t()(Zt,pt);var ht=o()(Zt);function Zt(){var $t;return f()(this,Zt),$t=ht.apply(this,arguments),$t.renderItem=function(At){var Pt=At.siderCollapsed,gt=$t.props,Wt=gt.level,yr=gt.className,cr=gt.children,pr=gt.rootPrefixCls,Qr=$t.props,$r=Qr.title,Ln=Qr.icon,Mn=Qr.danger,Vn=tr(Qr,["title","icon","danger"]);return r.createElement(mn.Consumer,null,function(ii){var Li,Pi=ii.inlineCollapsed,Ze=ii.direction,xe=$r;typeof $r=="undefined"?xe=Wt===1?cr:"":$r===!1&&(xe="");var Me={title:xe};!Pt&&!Pi&&(Me.title=null,Me.visible=!1);var ke=Object(Ve.a)(cr).length;return r.createElement(Xe.a,m()({},Me,{placement:Ze==="rtl"?"left":"right",overlayClassName:"".concat(pr,"-inline-collapsed-tooltip")}),r.createElement(ze,m()({},Vn,{className:L()(yr,(Li={},p()(Li,"".concat(pr,"-item-danger"),Mn),p()(Li,"".concat(pr,"-item-only-child"),(Ln?ke+1:ke)===1),Li)),title:$r}),Ln,$t.renderItemChildren(Pi)))})},$t}return l()(Zt,[{key:"renderItemChildren",value:function(At){var Pt=this.props,gt=Pt.icon,Wt=Pt.children,yr=Pt.level,cr=Pt.rootPrefixCls;return!gt||Object(Tt.b)(Wt)&&Wt.type==="span"?Wt&&At&&yr===1&&typeof Wt=="string"?r.createElement("div",{className:"".concat(cr,"-inline-collapsed-noicon")},Wt.charAt(0)):Wt:r.createElement("span",null,Wt)}},{key:"render",value:function(){return r.createElement(ct.a.Consumer,null,this.renderItem)}}]),Zt}(r.Component);ir.isMenuItem=!0;var or=i("H84U"),Xr=i("uaoM"),Yr=i("EXcs"),bn=function(pt){t()(Zt,pt);var ht=o()(Zt);function Zt($t){var At;return f()(this,Zt),At=ht.call(this,$t),At.renderMenu=function(Pt){var gt=Pt.getPopupContainer,Wt=Pt.getPrefixCls,yr=Pt.direction,cr=At.props,pr=cr.prefixCls,Qr=cr.className,$r=cr.theme,Ln={horizontal:{motionName:"slide-up"},inline:Yr.a,other:{motionName:"zoom-big"}},Mn=Wt("menu",pr),Vn=L()(Qr,"".concat(Mn,"-").concat($r),p()({},"".concat(Mn,"-inline-collapsed"),At.getInlineCollapsed()));return r.createElement(mn.Provider,{value:{inlineCollapsed:At.getInlineCollapsed()||!1,antdMenuTheme:$r,direction:yr}},r.createElement(qr,m()({getPopupContainer:gt},At.props,{className:Vn,prefixCls:Mn,direction:yr,defaultMotions:Ln})))},Object(Xr.a)(!("inlineCollapsed"in $t&&$t.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Xr.a)(!($t.siderCollapsed!==void 0&&"inlineCollapsed"in $t),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),At}return l()(Zt,[{key:"getInlineCollapsed",value:function(){var At=this.props,Pt=At.inlineCollapsed,gt=At.siderCollapsed;return gt!==void 0?gt:Pt}},{key:"render",value:function(){return r.createElement(or.a,null,this.renderMenu)}}]),Zt}(r.Component);bn.defaultProps={className:"",theme:"light",focusable:!1};var Yt=function(pt){t()(Zt,pt);var ht=o()(Zt);function Zt(){return f()(this,Zt),ht.apply(this,arguments)}return l()(Zt,[{key:"render",value:function(){var At=this;return r.createElement(ct.a.Consumer,null,function(Pt){return r.createElement(bn,m()({},At.props,Pt))})}}]),Zt}(r.Component);Yt.Divider=qt,Yt.Item=ir,Yt.SubMenu=Re,Yt.ItemGroup=sr},C0SR:function(B,N,i){var y=i("YH21"),m=function(){this._track=[]};m.prototype={constructor:m,recognize:function(l,n,t){return this._doTrack(l,n,t),this._recognize(l)},clear:function(){return this._track.length=0,this},_doTrack:function(l,n,t){var a=l.touches;if(!a)return;for(var o={points:[],touches:[],target:n,event:l},r=0,c=a.length;r<c;r++){var e=a[r],s=y.clientToLocal(t,e,{});o.points.push([s.zrX,s.zrY]),o.touches.push(e)}this._track.push(o)},_recognize:function(l){for(var n in v)if(v.hasOwnProperty(n)){var t=v[n](this._track,l);if(t)return t}}};function E(d){var l=d[1][0]-d[0][0],n=d[1][1]-d[0][1];return Math.sqrt(l*l+n*n)}function p(d){return[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]}var v={pinch:function(l,n){var t=l.length;if(!t)return;var a=(l[t-1]||{}).points,o=(l[t-2]||{}).points||a;if(o&&o.length>1&&a&&a.length>1){var r=E(a)/E(o);!isFinite(r)&&(r=1),n.pinchScale=r;var c=p(a);return n.pinchX=c[0],n.pinchY=c[1],{type:"pinch",target:l[0].target,event:n}}}},f=m;B.exports=f},C0tN:function(B,N,i){i("0o9m"),i("8Uz6"),i("Ducp"),i("6/nd")},CBdT:function(B,N,i){var y=i("ProS");i("8waO"),i("AEZ6"),i("YNf1");var m=i("q3GZ");y.registerVisual(m)},CF2D:function(B,N,i){var y=i("ProS");i("vZI5"),i("GeKi");var m=i("6r85"),E=i("TJmX"),p=i("CbHG");y.registerPreprocessor(m),y.registerVisual(E),y.registerLayout(p)},CFYs:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),o=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),s=i.n(e),u=i("TSYQ"),h=i.n(u),g=i("BGR+"),A=i("V/uB"),w=i.n(A),b=i("NAnI"),S=i.n(b),_=i("J84W"),T=i.n(_),x=i("kbBi"),C=i.n(x),I=i("H84U"),L=i("CWQg"),M=i("uaoM"),k=i("Zss7"),R=i.n(k),j=2,V=.16,D=.05,H=.05,P=.15,K=5,U=4,G=[{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(ir,or,Xr){var Yr;return Math.round(ir.h)>=60&&Math.round(ir.h)<=240?Yr=Xr?Math.round(ir.h)-j*or:Math.round(ir.h)+j*or:Yr=Xr?Math.round(ir.h)+j*or:Math.round(ir.h)-j*or,Yr<0?Yr+=360:Yr>=360&&(Yr-=360),Yr}function Z(ir,or,Xr){if(ir.h===0&&ir.s===0)return ir.s;var Yr;return Xr?Yr=ir.s-V*or:or===U?Yr=ir.s+V:Yr=ir.s+D*or,Yr>1&&(Yr=1),Xr&&or===K&&Yr>.1&&(Yr=.1),Yr<.06&&(Yr=.06),Number(Yr.toFixed(2))}function J(ir,or,Xr){var Yr;return Xr?Yr=ir.v+H*or:Yr=ir.v-P*or,Yr>1&&(Yr=1),Number(Yr.toFixed(2))}function ve(ir){for(var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xr=[],Yr=R()(ir),bn=K;bn>0;bn-=1){var Yt=Yr.toHsv(),pt=R()({h:W(Yt,bn,!0),s:Z(Yt,bn,!0),v:J(Yt,bn,!0)}).toHexString();Xr.push(pt)}Xr.push(Yr.toHexString());for(var ht=1;ht<=U;ht+=1){var Zt=Yr.toHsv(),$t=R()({h:W(Zt,ht),s:Z(Zt,ht),v:J(Zt,ht)}).toHexString();Xr.push($t)}return or.theme==="dark"?G.map(function(At){var Pt=At.index,gt=At.opacity,Wt=R.a.mix(or.backgroundColor||"#141414",Xr[Pt],gt*100).toHexString();return Wt}):Xr}var q={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"},ce={},be={};Object.keys(q).forEach(function(ir){ce[ir]=ve(q[ir]),ce[ir].primary=ce[ir][5],be[ir]=ve(q[ir],{theme:"dark",backgroundColor:"#141414"}),be[ir].primary=be[ir][5]});var Ce=ce.red,Fe=ce.volcano,fe=ce.gold,Ne=ce.orange,Q=ce.yellow,ae=ce.lime,Ue=ce.green,te=ce.cyan,X=ce.blue,z=ce.geekblue,Y=ce.purple,pe=ce.magenta,se=ce.grey;function Te(ir){return!ir||ir<0?0:ir>100?100:ir}function Se(ir){var or=ir.success,Xr=ir.successPercent,Yr=Xr;return or&&"progress"in or&&(Object(M.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Yr=or.progress),or&&"percent"in or&&(Yr=or.percent),Yr}var ie=function(ir,or){var Xr={};for(var Yr in ir)Object.prototype.hasOwnProperty.call(ir,Yr)&&or.indexOf(Yr)<0&&(Xr[Yr]=ir[Yr]);if(ir!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,Yr=Object.getOwnPropertySymbols(ir);bn<Yr.length;bn++)or.indexOf(Yr[bn])<0&&Object.prototype.propertyIsEnumerable.call(ir,Yr[bn])&&(Xr[Yr[bn]]=ir[Yr[bn]]);return Xr},de=function(or){var Xr=[];return Object.keys(or).forEach(function(Yr){var bn=parseFloat(Yr.replace(/%/g,""));isNaN(bn)||Xr.push({key:bn,value:or[Yr]})}),Xr=Xr.sort(function(Yr,bn){return Yr.key-bn.key}),Xr.map(function(Yr){var bn=Yr.key,Yt=Yr.value;return"".concat(Yt," ").concat(bn,"%")}).join(", ")},_e=function(or){var Xr=or.from,Yr=Xr===void 0?q.blue:Xr,bn=or.to,Yt=bn===void 0?q.blue:bn,pt=or.direction,ht=pt===void 0?"to right":pt,Zt=ie(or,["from","to","direction"]);if(Object.keys(Zt).length!==0){var $t=de(Zt);return{backgroundImage:"linear-gradient(".concat(ht,", ").concat($t,")")}}return{backgroundImage:"linear-gradient(".concat(ht,", ").concat(Yr,", ").concat(Yt,")")}},We=function(or){var Xr=or.prefixCls,Yr=or.percent,bn=or.strokeWidth,Yt=or.size,pt=or.strokeColor,ht=or.strokeLinecap,Zt=or.children,$t=or.trailColor,At=or.success,Pt=pt&&typeof pt!="string"?_e(pt):{background:pt},gt=$t?{backgroundColor:$t}:void 0,Wt=p()({width:"".concat(Te(Yr),"%"),height:bn||(Yt==="small"?6:8),borderRadius:ht==="square"?0:""},Pt),yr=Se(or),cr={width:"".concat(Te(yr),"%"),height:bn||(Yt==="small"?6:8),borderRadius:ht==="square"?0:"",backgroundColor:At==null?void 0:At.strokeColor},pr=yr!==void 0?e.createElement("div",{className:"".concat(Xr,"-success-bg"),style:cr}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(Xr,"-outer")},e.createElement("div",{className:"".concat(Xr,"-inner"),style:gt},e.createElement("div",{className:"".concat(Xr,"-bg"),style:Wt}),pr)),Zt)},at=We,tt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Oe=function(or){var Xr=or.map(function(){return Object(e.useRef)()}),Yr=Object(e.useRef)();return Object(e.useEffect)(function(){var bn=Date.now(),Yt=!1;Object.keys(Xr).forEach(function(pt){var ht=Xr[pt].current;if(!ht)return;Yt=!0;var Zt=ht.style;Zt.transitionDuration=".3s, .3s, .3s, .06s",Yr.current&&bn-Yr.current<100&&(Zt.transitionDuration="0s, 0s")}),Yt&&(Yr.current=Date.now())}),[Xr]};function yt(){return yt=Object.assign||function(ir){for(var or=1;or<arguments.length;or++){var Xr=arguments[or];for(var Yr in Xr)Object.prototype.hasOwnProperty.call(Xr,Yr)&&(ir[Yr]=Xr[Yr])}return ir},yt.apply(this,arguments)}function Ye(ir,or){return Vt(ir)||Ft(ir,or)||Ct(ir,or)||bt()}function bt(){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 Ct(ir,or){if(!ir)return;if(typeof ir=="string")return It(ir,or);var Xr=Object.prototype.toString.call(ir).slice(8,-1);if(Xr==="Object"&&ir.constructor&&(Xr=ir.constructor.name),Xr==="Map"||Xr==="Set")return Array.from(ir);if(Xr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xr))return It(ir,or)}function It(ir,or){(or==null||or>ir.length)&&(or=ir.length);for(var Xr=0,Yr=new Array(or);Xr<or;Xr++)Yr[Xr]=ir[Xr];return Yr}function Ft(ir,or){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(ir)))return;var Xr=[],Yr=!0,bn=!1,Yt=void 0;try{for(var pt=ir[Symbol.iterator](),ht;!(Yr=(ht=pt.next()).done)&&!(Xr.push(ht.value),or&&Xr.length===or);Yr=!0);}catch(Zt){bn=!0,Yt=Zt}finally{try{!Yr&&pt.return!=null&&pt.return()}finally{if(bn)throw Yt}}return Xr}function Vt(ir){if(Array.isArray(ir))return ir}function $e(ir,or){if(ir==null)return{};var Xr=ge(ir,or),Yr,bn;if(Object.getOwnPropertySymbols){var Yt=Object.getOwnPropertySymbols(ir);for(bn=0;bn<Yt.length;bn++){if(Yr=Yt[bn],or.indexOf(Yr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ir,Yr))continue;Xr[Yr]=ir[Yr]}}return Xr}function ge(ir,or){if(ir==null)return{};var Xr={},Yr=Object.keys(ir),bn,Yt;for(Yt=0;Yt<Yr.length;Yt++){if(bn=Yr[Yt],or.indexOf(bn)>=0)continue;Xr[bn]=ir[bn]}return Xr}var ne=function(or){var Xr=or.className,Yr=or.percent,bn=or.prefixCls,Yt=or.strokeColor,pt=or.strokeLinecap,ht=or.strokeWidth,Zt=or.style,$t=or.trailColor,At=or.trailWidth,Pt=or.transition,gt=$e(or,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete gt.gapPosition;var Wt=Array.isArray(Yr)?Yr:[Yr],yr=Array.isArray(Yt)?Yt:[Yt],cr=Oe(Wt),pr=Ye(cr,1),Qr=pr[0],$r=ht/2,Ln=100-ht/2,Mn="M ".concat(pt==="round"?$r:0,",").concat($r,`
L `).concat(pt==="round"?Ln:100,",").concat($r),Vn="0 0 100 ".concat(ht),ii=0;return s.a.createElement("svg",yt({className:h()("".concat(bn,"-line"),Xr),viewBox:Vn,preserveAspectRatio:"none",style:Zt},gt),s.a.createElement("path",{className:"".concat(bn,"-line-trail"),d:Mn,strokeLinecap:pt,stroke:$t,strokeWidth:At||ht,fillOpacity:"0"}),Wt.map(function(Li,Pi){var Ze={strokeDasharray:"".concat(Li,"px, 100px"),strokeDashoffset:"-".concat(ii,"px"),transition:Pt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},xe=yr[Pi]||yr[yr.length-1];return ii+=Li,s.a.createElement("path",{key:Pi,className:"".concat(bn,"-line-path"),d:Mn,strokeLinecap:pt,stroke:xe,strokeWidth:ht,fillOpacity:"0",ref:Qr[Pi],style:Ze})}))};ne.defaultProps=tt;var wt=ne;function qe(){return qe=Object.assign||function(ir){for(var or=1;or<arguments.length;or++){var Xr=arguments[or];for(var Yr in Xr)Object.prototype.hasOwnProperty.call(Xr,Yr)&&(ir[Yr]=Xr[Yr])}return ir},qe.apply(this,arguments)}function he(ir,or){return hr(ir)||Xt(ir,or)||nr(ir,or)||kt()}function kt(){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 nr(ir,or){if(!ir)return;if(typeof ir=="string")return lt(ir,or);var Xr=Object.prototype.toString.call(ir).slice(8,-1);if(Xr==="Object"&&ir.constructor&&(Xr=ir.constructor.name),Xr==="Map"||Xr==="Set")return Array.from(ir);if(Xr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xr))return lt(ir,or)}function lt(ir,or){(or==null||or>ir.length)&&(or=ir.length);for(var Xr=0,Yr=new Array(or);Xr<or;Xr++)Yr[Xr]=ir[Xr];return Yr}function Xt(ir,or){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(ir)))return;var Xr=[],Yr=!0,bn=!1,Yt=void 0;try{for(var pt=ir[Symbol.iterator](),ht;!(Yr=(ht=pt.next()).done)&&!(Xr.push(ht.value),or&&Xr.length===or);Yr=!0);}catch(Zt){bn=!0,Yt=Zt}finally{try{!Yr&&pt.return!=null&&pt.return()}finally{if(bn)throw Yt}}return Xr}function hr(ir){if(Array.isArray(ir))return ir}function Wr(ir,or){if(ir==null)return{};var Xr=mt(ir,or),Yr,bn;if(Object.getOwnPropertySymbols){var Yt=Object.getOwnPropertySymbols(ir);for(bn=0;bn<Yt.length;bn++){if(Yr=Yt[bn],or.indexOf(Yr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ir,Yr))continue;Xr[Yr]=ir[Yr]}}return Xr}function mt(ir,or){if(ir==null)return{};var Xr={},Yr=Object.keys(ir),bn,Yt;for(Yt=0;Yt<Yr.length;Yt++){if(bn=Yr[Yt],or.indexOf(bn)>=0)continue;Xr[bn]=ir[bn]}return Xr}var Et=0;function rt(ir){return+ir.replace("%","")}function He(ir){return Array.isArray(ir)?ir:[ir]}function ze(ir,or,Xr,Yr){var bn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Yt=arguments.length>5?arguments[5]:void 0,pt=50-Yr/2,ht=0,Zt=-pt,$t=0,At=-2*pt;switch(Yt){case"left":ht=-pt,Zt=0,$t=2*pt,At=0;break;case"right":ht=pt,Zt=0,$t=-2*pt,At=0;break;case"bottom":Zt=pt,At=2*pt;break;default:}var Pt="M 50,50 m ".concat(ht,",").concat(Zt,`
a `).concat(pt,",").concat(pt," 0 1 1 ").concat($t,",").concat(-At,`
a `).concat(pt,",").concat(pt," 0 1 1 ").concat(-$t,",").concat(At),gt=Math.PI*2*pt,Wt={stroke:Xr,strokeDasharray:"".concat(or/100*(gt-bn),"px ").concat(gt,"px"),strokeDashoffset:"-".concat(bn/2+ir/100*(gt-bn),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Pt,pathStyle:Wt}}var Rt=function(or){var Xr=or.prefixCls,Yr=or.strokeWidth,bn=or.trailWidth,Yt=or.gapDegree,pt=or.gapPosition,ht=or.trailColor,Zt=or.strokeLinecap,$t=or.style,At=or.className,Pt=or.strokeColor,gt=or.percent,Wt=Wr(or,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),yr=Object(e.useMemo)(function(){return Et+=1,Et},[]),cr=ze(0,100,ht,Yr,Yt,pt),pr=cr.pathString,Qr=cr.pathStyle,$r=He(gt),Ln=He(Pt),Mn=Ln.find(function(Ze){return Object.prototype.toString.call(Ze)==="[object Object]"}),Vn=Oe($r),ii=he(Vn,1),Li=ii[0],Pi=function(){var xe=0;return $r.map(function(Me,ke){var Ge=Ln[ke]||Ln[Ln.length-1],Ke=Object.prototype.toString.call(Ge)==="[object Object]"?"url(#".concat(Xr,"-gradient-").concat(yr,")"):"",Je=ze(xe,Me,Ge,Yr,Yt,pt);return xe+=Me,s.a.createElement("path",{key:ke,className:"".concat(Xr,"-circle-path"),d:Je.pathString,stroke:Ke,strokeLinecap:Zt,strokeWidth:Yr,opacity:Me===0?0:1,fillOpacity:"0",style:Je.pathStyle,ref:Li[ke]})})};return s.a.createElement("svg",qe({className:h()("".concat(Xr,"-circle"),At),viewBox:"0 0 100 100",style:$t},Wt),Mn&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(Xr,"-gradient-").concat(yr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Mn).sort(function(Ze,xe){return rt(Ze)-rt(xe)}).map(function(Ze,xe){return s.a.createElement("stop",{key:xe,offset:Ze,stopColor:Mn[Ze]})}))),s.a.createElement("path",{className:"".concat(Xr,"-circle-trail"),d:pr,stroke:ht,strokeLinecap:Zt,strokeWidth:bn||Yr,fillOpacity:"0",style:Qr}),Pi().reverse())};Rt.defaultProps=tt;var sr=Rt,Jt={Line:wt,Circle:sr};function qt(ir){var or=ir.percent,Xr=ir.success,Yr=ir.successPercent,bn=Te(or),Yt=Se({success:Xr,successPercent:Yr});return Yt?[Te(Yt),Te(bn-Te(Yt))]:bn}function qr(ir){var or=ir.success,Xr=ir.strokeColor,Yr=ir.successPercent,bn=Xr||null,Yt=Se({success:or,successPercent:Yr});return Yt?[q.green,bn]:bn}var Fr=function(or){var Xr=or.prefixCls,Yr=or.width,bn=or.strokeWidth,Yt=or.trailColor,pt=or.strokeLinecap,ht=or.gapPosition,Zt=or.gapDegree,$t=or.type,At=or.children,Pt=Yr||120,gt={width:Pt,height:Pt,fontSize:Pt*.15+6},Wt=bn||6,yr=ht||$t==="dashboard"&&"bottom"||"top",cr=function(){return Zt||Zt===0?Zt:$t==="dashboard"?75:void 0},pr=qr(or),Qr=Object.prototype.toString.call(pr)==="[object Object]",$r=h()("".concat(Xr,"-inner"),m()({},"".concat(Xr,"-circle-gradient"),Qr));return e.createElement("div",{className:$r,style:gt},e.createElement(sr,{percent:qt(or),strokeWidth:Wt,trailWidth:Wt,strokeColor:pr,strokeLinecap:pt,trailColor:Yt,prefixCls:Xr,gapDegree:cr(),gapPosition:yr}),At)},mn=Fr,Tt=function(or){for(var Xr=or.size,Yr=or.steps,bn=or.percent,Yt=bn===void 0?0:bn,pt=or.strokeWidth,ht=pt===void 0?8:pt,Zt=or.strokeColor,$t=or.trailColor,At=or.prefixCls,Pt=or.children,gt=Math.floor(Yr*(Yt/100)),Wt=Xr==="small"?2:14,yr=[],cr=0;cr<Yr;cr+=1)yr.push(e.createElement("div",{key:cr,className:h()("".concat(At,"-steps-item"),m()({},"".concat(At,"-steps-item-active"),cr<=gt-1)),style:{backgroundColor:cr<=gt-1?Zt:$t,width:Wt,height:ht}}));return e.createElement("div",{className:"".concat(At,"-steps-outer")},yr,Pt)},St=Tt,Re=function(ir,or){var Xr={};for(var Yr in ir)Object.prototype.hasOwnProperty.call(ir,Yr)&&or.indexOf(Yr)<0&&(Xr[Yr]=ir[Yr]);if(ir!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,Yr=Object.getOwnPropertySymbols(ir);bn<Yr.length;bn++)or.indexOf(Yr[bn])<0&&Object.prototype.propertyIsEnumerable.call(ir,Yr[bn])&&(Xr[Yr[bn]]=ir[Yr[bn]]);return Xr},Ve=Object(L.a)("line","circle","dashboard"),Xe=Object(L.a)("normal","exception","active","success"),ct=function(ir){o()(Xr,ir);var or=c()(Xr);function Xr(){var Yr;return f()(this,Xr),Yr=or.apply(this,arguments),Yr.renderProgress=function(bn){var Yt,pt=bn.getPrefixCls,ht=bn.direction,Zt=t()(Yr),$t=Zt.props,At=$t.prefixCls,Pt=$t.className,gt=$t.size,Wt=$t.type,yr=$t.steps,cr=$t.showInfo,pr=$t.strokeColor,Qr=Re($t,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),$r=pt("progress",At),Ln=Yr.getProgressStatus(),Mn=Yr.renderProcessInfo($r,Ln);Object(M.a)(!("successPercent"in $t),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var Vn;Wt==="line"?Vn=yr?e.createElement(St,p()({},Yr.props,{strokeColor:typeof pr=="string"?pr:void 0,prefixCls:$r,steps:yr}),Mn):e.createElement(at,p()({},Yr.props,{prefixCls:$r}),Mn):(Wt==="circle"||Wt==="dashboard")&&(Vn=e.createElement(mn,p()({},Yr.props,{prefixCls:$r,progressStatus:Ln}),Mn));var ii=h()($r,(Yt={},m()(Yt,"".concat($r,"-").concat(Wt==="dashboard"&&"circle"||yr&&"steps"||Wt),!0),m()(Yt,"".concat($r,"-status-").concat(Ln),!0),m()(Yt,"".concat($r,"-show-info"),cr),m()(Yt,"".concat($r,"-").concat(gt),gt),m()(Yt,"".concat($r,"-rtl"),ht==="rtl"),Yt),Pt);return e.createElement("div",p()({},Object(g.default)(Qr,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:ii}),Vn)},Yr}return l()(Xr,[{key:"getPercentNumber",value:function(){var bn=this.props.percent,Yt=bn===void 0?0:bn,pt=Se(this.props);return parseInt(pt!==void 0?pt.toString():Yt.toString(),10)}},{key:"getProgressStatus",value:function(){var bn=this.props.status;return Xe.indexOf(bn)<0&&this.getPercentNumber()>=100?"success":bn||"normal"}},{key:"renderProcessInfo",value:function(bn,Yt){var pt=this.props,ht=pt.showInfo,Zt=pt.format,$t=pt.type,At=pt.percent,Pt=Se(this.props);if(!ht)return null;var gt,Wt=Zt||function(cr){return"".concat(cr,"%")},yr=$t==="line";return Zt||Yt!=="exception"&&Yt!=="success"?gt=Wt(Te(At),Te(Pt)):Yt==="exception"?gt=yr?e.createElement(C.a,null):e.createElement(w.a,null):Yt==="success"&&(gt=yr?e.createElement(T.a,null):e.createElement(S.a,null)),e.createElement("span",{className:"".concat(bn,"-text"),title:typeof gt=="string"?gt:void 0},gt)}},{key:"render",value:function(){return e.createElement(I.a,null,this.renderProgress)}}]),Xr}(e.Component);ct.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var tr=N.a=ct},"CMP+":function(B,N,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l){m.call(this,v,f,d),this.type=l||"value",this.model=null};E.prototype={constructor:E,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},y.inherits(E,m);var p=E;B.exports=p},CP8R:function(B,N,i){"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(B,N,i){},CbHG:function(B,N,i){var y=i("IwbS"),m=y.subPixelOptimize,E=i("zM3Q"),p=i("OELB"),v=p.parsePercent,f=i("bYtY"),d=f.retrieve2,l=typeof Float32Array!="undefined"?Float32Array:Array,n={seriesType:"candlestick",plan:E(),reset:function(o){var r=o.coordinateSystem,c=o.getData(),e=a(o,c),s=0,u=1,h=["x","y"],g=c.mapDimension(h[s]),A=c.mapDimension(h[u],!0),w=A[0],b=A[1],S=A[2],_=A[3];if(c.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),g==null||A.length<4)return;return{progress:o.pipelineContext.large?x:T};function T(C,I){for(var L;(L=C.next())!=null;){var M=I.get(g,L),k=I.get(w,L),R=I.get(b,L),j=I.get(S,L),V=I.get(_,L),D=Math.min(k,R),H=Math.max(k,R),P=Z(D,M),K=Z(H,M),U=Z(j,M),G=Z(V,M),W=[];J(W,K,0),J(W,P,1),W.push(q(G),q(K),q(U),q(P)),I.setItemLayout(L,{sign:t(I,L,k,R,b),initBaseline:k>R?K[u]:P[u],ends:W,brushRect:ve(j,V,M)})}function Z(ce,be){var Ce=[];return Ce[s]=be,Ce[u]=ce,isNaN(be)||isNaN(ce)?[NaN,NaN]:r.dataToPoint(Ce)}function J(ce,be,Ce){var Fe=be.slice(),fe=be.slice();Fe[s]=m(Fe[s]+e/2,1,!1),fe[s]=m(fe[s]-e/2,1,!0),Ce?ce.push(Fe,fe):ce.push(fe,Fe)}function ve(ce,be,Ce){var Fe=Z(ce,Ce),fe=Z(be,Ce);return Fe[s]-=e/2,fe[s]-=e/2,{x:Fe[0],y:Fe[1],width:u?e:fe[0]-Fe[0],height:u?fe[1]-Fe[1]:e}}function q(ce){return ce[s]=m(ce[s],1),ce}}function x(C,I){for(var L=new l(C.count*4),M=0,k,R=[],j=[],V;(V=C.next())!=null;){var D=I.get(g,V),H=I.get(w,V),P=I.get(b,V),K=I.get(S,V),U=I.get(_,V);if(isNaN(D)||isNaN(K)||isNaN(U)){L[M++]=NaN,M+=3;continue}L[M++]=t(I,V,H,P,b),R[s]=D,R[u]=K,k=r.dataToPoint(R,null,j),L[M++]=k?k[0]:NaN,L[M++]=k?k[1]:NaN,R[u]=U,k=r.dataToPoint(R,null,j),L[M++]=k?k[1]:NaN}I.setLayout("largePoints",L)}}};function t(o,r,c,e,s){var u;return c>e?u=-1:c<e?u=1:u=r>0?o.get(s,r-1)<=e?1:-1:1,u}function a(o,r){var c=o.getBaseAxis(),e,s=c.type==="category"?c.getBandWidth():(e=c.getExtent(),Math.abs(e[1]-e[0])/r.count()),u=v(d(o.get("barMaxWidth"),s),s),h=v(d(o.get("barMinWidth"),1),s),g=o.get("barWidth");return g!=null?v(g,s):Math.max(Math.min(s/2,u),h)}B.exports=n},Cm0C:function(B,N,i){i("5NHt"),i("f3JH")},Cmcn:function(B,N,i){"use strict";i.d(N,"a",function(){return m});var y=i("0HTW");function m(E,p){var v;if(typeof Symbol=="undefined"||E[Symbol.iterator]==null){if(Array.isArray(E)||(v=Object(y.a)(E))||p&&E&&typeof E.length=="number"){v&&(E=v);var f=0,d=function(){};return{s:d,n:function(){return f>=E.length?{done:!0}:{done:!1,value:E[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 l=!0,n=!1,t;return{s:function(){v=E[Symbol.iterator]()},n:function(){var o=v.next();return l=o.done,o},e:function(o){n=!0,t=o},f:function(){try{!l&&v.return!=null&&v.return()}finally{if(n)throw t}}}}},CrYA:function(B,N,i){var y=i("MFOe"),m=y.Global;B.exports={name:"sessionStorage",read:p,write:v,each:f,remove:d,clearAll:l};function E(){return m.sessionStorage}function p(n){return E().getItem(n)}function v(n,t){return E().setItem(n,t)}function f(n){for(var t=E().length-1;t>=0;t--){var a=E().key(t);n(p(a),a)}}function d(n){return E().removeItem(n)}function l(){return E().clear()}},Csr3:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("4vCz"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},D1WM:function(B,N,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.axisIndex=n};E.prototype={constructor:E,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},y.inherits(E,m);var p=E;B.exports=p},D5nY:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("4NO4"),p=E.makeInner,v=E.getDataItemValue,f=i("bYtY"),d=f.createHashMap,l=f.each,n=f.map,t=f.isArray,a=f.isString,o=f.isObject,r=f.isTypedArray,c=f.isArrayLike,e=f.extend,s=f.assert,u=i("7G+c"),h=i("k9D9"),g=h.SOURCE_FORMAT_ORIGINAL,A=h.SOURCE_FORMAT_ARRAY_ROWS,w=h.SOURCE_FORMAT_OBJECT_ROWS,b=h.SOURCE_FORMAT_KEYED_COLUMNS,S=h.SOURCE_FORMAT_UNKNOWN,_=h.SOURCE_FORMAT_TYPED_ARRAY,T=h.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},C=p();function I(W){var Z=W.option.source,J=S;if(r(Z))J=_;else if(t(Z)){Z.length===0&&(J=A);for(var ve=0,q=Z.length;ve<q;ve++){var ce=Z[ve];if(ce==null)continue;if(t(ce)){J=A;break}else if(o(ce)){J=w;break}}}else if(o(Z)){for(var be in Z)if(Z.hasOwnProperty(be)&&c(Z[be])){J=b;break}}else if(Z!=null)throw new Error("Invalid data");C(W).sourceFormat=J}function L(W){return C(W).source}function M(W){C(W).datasetMap=d()}function k(W){var Z=W.option,J=Z.data,ve=r(J)?_:g,q=!1,ce=Z.seriesLayoutBy,be=Z.sourceHeader,Ce=Z.dimensions,Fe=K(W);if(Fe){var fe=Fe.option;J=fe.source,ve=C(Fe).sourceFormat,q=!0,ce=ce||fe.seriesLayoutBy,be==null&&(be=fe.sourceHeader),Ce=Ce||fe.dimensions}var Ne=R(J,ve,ce,be,Ce);C(W).source=new u({data:J,fromDataset:q,seriesLayoutBy:ce,sourceFormat:ve,dimensionsDefine:Ne.dimensionsDefine,startIndex:Ne.startIndex,dimensionsDetectCount:Ne.dimensionsDetectCount,encodeDefine:Z.encode})}function R(W,Z,J,ve,q){if(!W)return{dimensionsDefine:j(q)};var ce,be;if(Z===A)ve==="auto"||ve==null?V(function(Fe){Fe!=null&&Fe!=="-"&&(a(Fe)?be==null&&(be=1):be=0)},J,W,10):be=ve?1:0,!q&&be===1&&(q=[],V(function(Fe,fe){q[fe]=Fe!=null?Fe:""},J,W)),ce=q?q.length:J===T?W.length:W[0]?W[0].length:null;else if(Z===w)q||(q=D(W));else if(Z===b)q||(q=[],l(W,function(Fe,fe){q.push(fe)}));else if(Z===g){var Ce=v(W[0]);ce=t(Ce)&&Ce.length||1}else Z===_;return{startIndex:be,dimensionsDefine:j(q),dimensionsDetectCount:ce}}function j(W){if(!W)return;var Z=d();return n(W,function(J,ve){if(J=e({},o(J)?J:{name:J}),J.name==null)return J;J.name+="",J.displayName==null&&(J.displayName=J.name);var q=Z.get(J.name);return q?J.name+="-"+q.count++:Z.set(J.name,{count:1}),J})}function V(W,Z,J,ve){if(ve==null&&(ve=Infinity),Z===T)for(var q=0;q<J.length&&q<ve;q++)W(J[q]?J[q][0]:null,q);else for(var ce=J[0]||[],q=0;q<ce.length&&q<ve;q++)W(ce[q],q)}function D(W){for(var Z=0,J;Z<W.length&&!(J=W[Z++]););if(J){var ve=[];return l(J,function(q,ce){ve.push(ce)}),ve}}function H(W,Z,J){var ve={},q=K(Z);if(!q||!W)return ve;var ce=[],be=[],Ce=Z.ecModel,Fe=C(Ce).datasetMap,fe=q.uid+"_"+J.seriesLayoutBy,Ne,Q;W=W.slice(),l(W,function(X,z){!o(X)&&(W[z]={name:X}),X.type==="ordinal"&&Ne==null&&(Ne=z,Q=te(W[z])),ve[X.name]=[]});var ae=Fe.get(fe)||Fe.set(fe,{categoryWayDim:Q,valueWayDim:0});l(W,function(X,z){var Y=X.name,pe=te(X);if(Ne==null){var se=ae.valueWayDim;Ue(ve[Y],se,pe),Ue(be,se,pe),ae.valueWayDim+=pe}else if(Ne===z)Ue(ve[Y],0,pe),Ue(ce,0,pe);else{var se=ae.categoryWayDim;Ue(ve[Y],se,pe),Ue(be,se,pe),ae.categoryWayDim+=pe}});function Ue(X,z,Y){for(var pe=0;pe<Y;pe++)X.push(z+pe)}function te(X){var z=X.dimsDef;return z?z.length:1}return ce.length&&(ve.itemName=ce),be.length&&(ve.seriesName=be),ve}function P(W,Z,J){var ve={},q=K(W);if(!q)return ve;var ce=Z.sourceFormat,be=Z.dimensionsDefine,Ce;(ce===w||ce===b)&&l(be,function(Ne,Q){(o(Ne)?Ne.name:Ne)==="name"&&(Ce=Q)});var Fe=function(){for(var Ne={},Q={},ae=[],Ue=0,te=Math.min(5,J);Ue<te;Ue++){var X=G(Z.data,ce,Z.seriesLayoutBy,be,Z.startIndex,Ue);ae.push(X);var z=X===x.Not;if(z&&Ne.v==null&&Ue!==Ce&&(Ne.v=Ue),(Ne.n==null||Ne.n===Ne.v||!z&&ae[Ne.n]===x.Not)&&(Ne.n=Ue),Y(Ne)&&ae[Ne.n]!==x.Not)return Ne;z||(X===x.Might&&Q.v==null&&Ue!==Ce&&(Q.v=Ue),(Q.n==null||Q.n===Q.v)&&(Q.n=Ue))}function Y(pe){return pe.v!=null&&pe.n!=null}return Y(Ne)?Ne:Y(Q)?Q:null}();if(Fe){ve.value=Fe.v;var fe=Ce!=null?Ce:Fe.n;ve.itemName=[fe],ve.seriesName=[fe]}return ve}function K(W){var Z=W.option,J=Z.data;if(!J)return W.ecModel.getComponent("dataset",Z.datasetIndex||0)}function U(W,Z){return G(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,Z)}function G(W,Z,J,ve,q,ce){var be,Ce=5;if(r(W))return x.Not;var Fe,fe;if(ve){var Ne=ve[ce];o(Ne)?(Fe=Ne.name,fe=Ne.type):a(Ne)&&(Fe=Ne)}if(fe!=null)return fe==="ordinal"?x.Must:x.Not;if(Z===A)if(J===T){for(var Q=W[ce],ae=0;ae<(Q||[]).length&&ae<Ce;ae++)if((be=z(Q[q+ae]))!=null)return be}else for(var ae=0;ae<W.length&&ae<Ce;ae++){var Ue=W[q+ae];if(Ue&&(be=z(Ue[ce]))!=null)return be}else if(Z===w){if(!Fe)return x.Not;for(var ae=0;ae<W.length&&ae<Ce;ae++){var te=W[ae];if(te&&(be=z(te[Fe]))!=null)return be}}else if(Z===b){if(!Fe)return x.Not;var Q=W[Fe];if(!Q||r(Q))return x.Not;for(var ae=0;ae<Q.length&&ae<Ce;ae++)if((be=z(Q[ae]))!=null)return be}else if(Z===g)for(var ae=0;ae<W.length&&ae<Ce;ae++){var te=W[ae],X=v(te);if(!t(X))return x.Not;if((be=z(X[ce]))!=null)return be}function z(Y){var pe=a(Y);if(Y!=null&&isFinite(Y)&&Y!=="")return pe?x.Might:x.Not;if(pe&&Y!=="-")return x.Must}return x.Not}N.BE_ORDINAL=x,N.detectSourceFormat=I,N.getSource=L,N.resetSourceDefaulter=M,N.prepareSource=k,N.makeSeriesEncodeForAxisCoordSys=H,N.makeSeriesEncodeForNameBased=P,N.guessOrdinal=U},D9ME:function(B,N,i){var y=i("IwbS"),m=i("fls0"),E=i("bYtY"),p=i("oVpE"),v=p.createSymbol,f=i("QBsz"),d=i("Sj9i");function l(a,o,r){y.Group.call(this),this.add(this.createLine(a,o,r)),this._updateEffectSymbol(a,o)}var n=l.prototype;n.createLine=function(a,o,r){return new m(a,o,r)},n._updateEffectSymbol=function(a,o){var r=a.getItemModel(o),c=r.getModel("effect"),e=c.get("symbolSize"),s=c.get("symbol");E.isArray(e)||(e=[e,e]);var u=c.get("color")||a.getItemVisual(o,"color"),h=this.childAt(1);if(this._symbolType!==s&&(this.remove(h),h=v(s,-.5,-.5,1,1,u),h.z2=100,h.culling=!0,this.add(h)),!h)return;h.setStyle("shadowColor",u),h.setStyle(c.getItemStyle(["color"])),h.attr("scale",e),h.setColor(u),h.attr("scale",e),this._symbolType=s,this._symbolScale=e,this._updateEffectAnimation(a,c,o)},n._updateEffectAnimation=function(a,o,r){var c=this.childAt(1);if(!c)return;var e=this,s=a.getItemLayout(r),u=o.get("period")*1e3,h=o.get("loop"),g=o.get("constantSpeed"),A=E.retrieve(o.get("delay"),function(_){return _/a.count()*u/3}),w=typeof A=="function";if(c.ignore=!0,this.updateAnimationPoints(c,s),g>0&&(u=this.getLineLength(c)/g*1e3),u!==this._period||h!==this._loop){c.stopAnimation();var b=A;w&&(b=A(r)),c.__t>0&&(b=-u*c.__t),c.__t=0;var S=c.animate("",h).when(u,{__t:1}).delay(b).during(function(){e.updateSymbolPosition(c)});h||S.done(function(){e.remove(c)}),S.start()}this._period=u,this._loop=h},n.getLineLength=function(a){return f.dist(a.__p1,a.__cp1)+f.dist(a.__cp1,a.__p2)},n.updateAnimationPoints=function(a,o){a.__p1=o[0],a.__p2=o[1],a.__cp1=o[2]||[(o[0][0]+o[1][0])/2,(o[0][1]+o[1][1])/2]},n.updateData=function(a,o,r){this.childAt(0).updateData(a,o,r),this._updateEffectSymbol(a,o)},n.updateSymbolPosition=function(a){var o=a.__p1,r=a.__p2,c=a.__cp1,e=a.__t,s=a.position,u=[s[0],s[1]],h=d.quadraticAt,g=d.quadraticDerivativeAt;s[0]=h(o[0],c[0],r[0],e),s[1]=h(o[1],c[1],r[1],e);var A=g(o[0],c[0],r[0],e),w=g(o[1],c[1],r[1],e);if(a.rotation=-Math.atan2(w,A)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT<a.__t){var b=f.dist(u,s)*1.05;a.attr("scale",[a.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(a.__lastT===1){var b=2*f.dist(o,s);a.attr("scale",[a.scale[0],b])}else a.attr("scale",this._symbolScale);a.__lastT=a.__t,a.ignore=!1},n.updateLayout=function(a,o){this.childAt(0).updateLayout(a,o);var r=a.getItemModel(o).getModel("effect");this._updateEffectAnimation(a,r,o)},E.inherits(l,y.Group);var t=l;B.exports=t},DBLp:function(B,N){function i(){}i.prototype={diff:function(f,d,l){l||(l=function(w,b){return w===b}),this.equals=l;var n=this;f=f.slice(),d=d.slice();var t=d.length,a=f.length,o=1,r=t+a,c=[{newPos:-1,components:[]}],e=this.extractCommon(c[0],d,f,0);if(c[0].newPos+1>=t&&e+1>=a){for(var s=[],u=0;u<d.length;u++)s.push(u);return[{indices:s,count:d.length}]}function h(){for(var A=-1*o;A<=o;A+=2){var w,b=c[A-1],S=c[A+1],_=(S?S.newPos:0)-A;b&&(c[A-1]=void 0);var T=b&&b.newPos+1<t,x=S&&0<=_&&_<a;if(!T&&!x){c[A]=void 0;continue}if(!T||x&&b.newPos<S.newPos?(w=m(S),n.pushComponent(w.components,void 0,!0)):(w=b,w.newPos++,n.pushComponent(w.components,!0,void 0)),_=n.extractCommon(w,d,f,A),w.newPos+1>=t&&_+1>=a)return y(n,w.components,d,f);c[A]=w}o++}for(;o<=r;){var g=h();if(g)return g}},pushComponent:function(f,d,l){var n=f[f.length-1];n&&n.added===d&&n.removed===l?f[f.length-1]={count:n.count+1,added:d,removed:l}:f.push({count:1,added:d,removed:l})},extractCommon:function(f,d,l,n){for(var t=d.length,a=l.length,o=f.newPos,r=o-n,c=0;o+1<t&&r+1<a&&this.equals(d[o+1],l[r+1]);)o++,r++,c++;return c&&f.components.push({count:c}),f.newPos=o,r},tokenize:function(f){return f.slice()},join:function(f){return f.slice()}};function y(v,f,d,l){for(var n=0,t=f.length,a=0,o=0;n<t;n++){var r=f[n];if(r.removed){for(var c=[],e=o;e<o+r.count;e++)c.push(e);r.indices=c,o+=r.count}else{for(var c=[],e=a;e<a+r.count;e++)c.push(e);r.indices=c,a+=r.count,r.added||(o+=r.count)}}return f}function m(v){return{newPos:v.newPos,components:v.components.slice(0)}}var E=new i;function p(v,f,d){return E.diff(v,f,d)}B.exports=p},DEFe:function(B,N,i){var y=i("bYtY"),m=i("SgGq"),E=i("Ae+d"),p=i("xSat"),v=p.onIrrelevantElement,f=i("IwbS"),d=i("W4dC"),l=i("iRjW"),n=l.getUID,t=i("DN4a");function a(s){var u=s.getItemStyle(),h=s.get("areaColor");return h!=null&&(u.fill=h),u}function o(s,u,h,g,A){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 S={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:y.map(b.__regions,function(_){return{name:_.name,from:A.uid}})};S[u.mainType+"Id"]=u.id,g.dispatchAction(S),r(u,h)}))}function r(s,u){u.eachChild(function(h){y.each(h.__regions,function(g){h.trigger(s.isSelected(g.name)?"emphasis":"normal")})})}function c(s,u){var h=new f.Group;this.uid=n("ec_map_draw"),this._controller=new m(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)}c.prototype={constructor:c,draw:function(s,u,h,g,A){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 S=s.coordinateSystem;this._updateBackground(S);var _=this._regionsGroup,T=this.group,x=S.getTransformInfo(),C=!_.childAt(0)||A,I;if(C)T.transform=x.roamTransform,T.decomposeTransform(),T.dirty();else{var L=new t;L.transform=x.roamTransform,L.decomposeTransform();var M={scale:L.scale,position:L.position};I=L.scale,f.updateProps(T,M,s)}var k=x.rawScale,R=x.rawPosition;_.removeAll();var j=["itemStyle"],V=["emphasis","itemStyle"],D=["label"],H=["emphasis","label"],P=y.createHashMap();y.each(S.regions,function(K){var U=P.get(K.name)||P.set(K.name,new f.Group),G=new f.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});U.add(G);var W=s.getRegionModel(K.name)||s,Z=W.getModel(j),J=W.getModel(V),ve=a(Z),q=a(J),ce=W.getModel(D),be=W.getModel(H),Ce;if(b){Ce=b.indexOfName(K.name);var Fe=b.getItemVisual(Ce,"color",!0);Fe&&(ve.fill=Fe)}var fe=function(se){return[se[0]*k[0]+R[0],se[1]*k[1]+R[1]]};y.each(K.geometries,function(se){if(se.type!=="polygon")return;for(var Te=[],Se=0;Se<se.exterior.length;++Se)Te.push(fe(se.exterior[Se]));G.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Te}}));for(var Se=0;Se<(se.interiors?se.interiors.length:0);++Se){for(var ie=se.interiors[Se],Te=[],de=0;de<ie.length;++de)Te.push(fe(ie[de]));G.shape.paths.push(new f.Polygon({segmentIgnoreThreshold:1,shape:{points:Te}}))}}),G.setStyle(ve),G.style.strokeNoScale=!0,G.culling=!0;var Ne=ce.get("show"),Q=be.get("show"),ae=b&&isNaN(b.get(b.mapDimension("value"),Ce)),Ue=b&&b.getItemLayout(Ce);if(w||ae&&(Ne||Q)||Ue&&Ue.showLabel){var te=w?K.name:Ce,X;(!b||Ce>=0)&&(X=s);var z=new f.Text({position:fe(K.center.slice()),scale:[1/T.scale[0],1/T.scale[1]],z2:10,silent:!0});if(f.setLabelStyle(z.style,z.hoverStyle={},ce,be,{labelFetcher:X,labelDataIndex:te,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var Y=[1/I[0],1/I[1]];f.updateProps(z,{scale:Y},s)}U.add(z)}if(b)b.setItemGraphicEl(Ce,U);else{var W=s.getRegionModel(K.name);G.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:K.name,region:W&&W.option||{}}}var pe=U.__regions||(U.__regions=[]);pe.push(K),U.highDownSilentOnTouch=!!s.get("selectedMode"),f.setHoverStyle(U,q),_.add(U)}),this._updateController(s,u,h),o(this,s,_,h,g),r(s,_)},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 g=s.coordinateSystem,A=this._controller,w=this._controllerHost;w.zoomLimit=s.get("scaleLimit"),w.zoom=g.getZoom(),A.enable(s.get("roam")||!1);var b=s.mainType;function S(){var _={type:"geoRoam",componentType:b};return _[b+"Id"]=s.id,_}A.off("pan").on("pan",function(_){this._mouseDownFlag=!1,E.updateViewOnPan(w,_.dx,_.dy),h.dispatchAction(y.extend(S(),{dx:_.dx,dy:_.dy}))},this),A.off("zoom").on("zoom",function(_){if(this._mouseDownFlag=!1,E.updateViewOnZoom(w,_.scale,_.originX,_.originY),h.dispatchAction(y.extend(S(),{zoom:_.scale,originX:_.originX,originY:_.originY})),this._updateGroup){var T=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/T[0],1/T[1]])})}},this),A.setPointerChecker(function(_,T,x){return g.getViewRectAfterRoam().contain(T,x)&&!v(_,h,s)})}};var e=c;B.exports=e},DFOY:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),o=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),s=i("uciX"),u=i("2W6z"),h=i.n(u),g=i("4IlW"),A=i("uK0f"),w=i.n(A);function b(He,ze){if(He===ze)return!0;if(!He||!ze)return!1;var Rt=He.length;if(ze.length!==Rt)return!1;for(var sr=0;sr<Rt;sr++)if(He[sr]!==ze[sr])return!1;return!0}function S(He){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(Rt){return typeof Rt}:S=function(Rt){return Rt&&typeof Symbol=="function"&&Rt.constructor===Symbol&&Rt!==Symbol.prototype?"symbol":typeof Rt},S(He)}function _(He,ze){if(!(He instanceof ze))throw new TypeError("Cannot call a class as a function")}function T(He,ze){for(var Rt=0;Rt<ze.length;Rt++){var sr=ze[Rt];sr.enumerable=sr.enumerable||!1,sr.configurable=!0,"value"in sr&&(sr.writable=!0),Object.defineProperty(He,sr.key,sr)}}function x(He,ze,Rt){return ze&&T(He.prototype,ze),Rt&&T(He,Rt),He}function C(He,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Super expression must either be null or a function");He.prototype=Object.create(ze&&ze.prototype,{constructor:{value:He,writable:!0,configurable:!0}}),ze&&I(He,ze)}function I(He,ze){return I=Object.setPrototypeOf||function(sr,Jt){return sr.__proto__=Jt,sr},I(He,ze)}function L(He){var ze=R();return function(){var Rt=j(He),sr;if(ze){var Jt=j(this).constructor;sr=Reflect.construct(Rt,arguments,Jt)}else sr=Rt.apply(this,arguments);return M(this,sr)}}function M(He,ze){return ze&&(S(ze)==="object"||typeof ze=="function")?ze:k(He)}function k(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}function R(){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(He){return!1}}function j(He){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(Rt){return Rt.__proto__||Object.getPrototypeOf(Rt)},j(He)}var V=function(){var He=function(ze){C(sr,ze);var Rt=L(sr);function sr(){var Jt;return _(this,sr),Jt=Rt.apply(this,arguments),Jt.menuItems={},Jt.saveMenuItem=function(qt){return function(qr){Jt.menuItems[qt]=qr}},Jt}return x(sr,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(qt){!qt.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(qt){var qr=this.props,Fr=qr.fieldNames,mn=qr.defaultFieldNames;return Fr[qt]||mn[qt]}},{key:"getOption",value:function(qt,qr){var Fr=this.props,mn=Fr.prefixCls,Tt=Fr.expandTrigger,St=Fr.expandIcon,Re=Fr.loadingIcon,Ve=this.props.onSelect.bind(this,qt,qr),Xe=this.props.onItemDoubleClick.bind(this,qt,qr),ct={onClick:Ve,onDoubleClick:Xe},tr="".concat(mn,"-menu-item"),ir=null,or=qt[this.getFieldName("children")]&&qt[this.getFieldName("children")].length>0;(or||qt.isLeaf===!1)&&(tr+=" ".concat(mn,"-menu-item-expand"),qt.loading||(ir=e.createElement("span",{className:"".concat(mn,"-menu-item-expand-icon")},St))),Tt==="hover"&&(or||qt.isLeaf===!1)&&(ct={onMouseEnter:this.delayOnSelect.bind(this,Ve),onMouseLeave:this.delayOnSelect.bind(this),onClick:Ve}),this.isActiveOption(qt,qr)&&(tr+=" ".concat(mn,"-menu-item-active"),ct.ref=this.saveMenuItem(qr)),qt.disabled&&(tr+=" ".concat(mn,"-menu-item-disabled"));var Xr=null;qt.loading&&(tr+=" ".concat(mn,"-menu-item-loading"),Xr=Re||null);var Yr="";return"title"in qt?Yr=qt.title:typeof qt[this.getFieldName("label")]=="string"&&(Yr=qt[this.getFieldName("label")]),e.createElement("li",Object.assign({key:qt[this.getFieldName("value")],className:tr,title:Yr},ct,{role:"menuitem",onMouseDown:function(Yt){return Yt.preventDefault()}}),qt[this.getFieldName("label")],ir,Xr)}},{key:"getActiveOptions",value:function(qt){var qr=this,Fr=this.props.options,mn=qt||this.props.activeValue;return w()(Fr,function(Tt,St){return Tt[qr.getFieldName("value")]===mn[St]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var qt=this,qr=this.props.options,Fr=this.getActiveOptions().map(function(mn){return mn[qt.getFieldName("children")]}).filter(function(mn){return!!mn});return Fr.unshift(qr),Fr}},{key:"delayOnSelect",value:function(qt){for(var qr=this,Fr=arguments.length,mn=new Array(Fr>1?Fr-1:0),Tt=1;Tt<Fr;Tt++)mn[Tt-1]=arguments[Tt];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof qt=="function"&&(this.delayTimer=window.setTimeout(function(){qt(mn),qr.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var qt=this.getShowOptions().length,qr=0;qr<qt;qr++){var Fr=this.menuItems[qr];Fr&&Fr.parentElement&&(Fr.parentElement.scrollTop=Fr.offsetTop)}}},{key:"isActiveOption",value:function(qt,qr){var Fr=this.props.activeValue,mn=Fr===void 0?[]:Fr;return mn[qr]===qt[this.getFieldName("value")]}},{key:"render",value:function(){var qt=this,qr=this.props,Fr=qr.prefixCls,mn=qr.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function(Tt,St){return e.createElement("ul",{className:"".concat(Fr,"-menu"),key:St,style:mn},Tt.map(function(Re){return qt.getOption(Re,St)}))}))}}]),sr}(e.Component);return He.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},He}(),D=V,H={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}}},P=H;function K(He){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K=function(Rt){return typeof Rt}:K=function(Rt){return Rt&&typeof Symbol=="function"&&Rt.constructor===Symbol&&Rt!==Symbol.prototype?"symbol":typeof Rt},K(He)}function U(He,ze){if(He==null)return{};var Rt=G(He,ze),sr,Jt;if(Object.getOwnPropertySymbols){var qt=Object.getOwnPropertySymbols(He);for(Jt=0;Jt<qt.length;Jt++){if(sr=qt[Jt],ze.indexOf(sr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(He,sr))continue;Rt[sr]=He[sr]}}return Rt}function G(He,ze){if(He==null)return{};var Rt={},sr=Object.keys(He),Jt,qt;for(qt=0;qt<sr.length;qt++){if(Jt=sr[qt],ze.indexOf(Jt)>=0)continue;Rt[Jt]=He[Jt]}return Rt}function W(He){return q(He)||ve(He)||J(He)||Z()}function Z(){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(He,ze){if(!He)return;if(typeof He=="string")return ce(He,ze);var Rt=Object.prototype.toString.call(He).slice(8,-1);if(Rt==="Object"&&He.constructor&&(Rt=He.constructor.name),Rt==="Map"||Rt==="Set")return Array.from(He);if(Rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Rt))return ce(He,ze)}function ve(He){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(He))return Array.from(He)}function q(He){if(Array.isArray(He))return ce(He)}function ce(He,ze){(ze==null||ze>He.length)&&(ze=He.length);for(var Rt=0,sr=new Array(ze);Rt<ze;Rt++)sr[Rt]=He[Rt];return sr}function be(He,ze){if(!(He instanceof ze))throw new TypeError("Cannot call a class as a function")}function Ce(He,ze){for(var Rt=0;Rt<ze.length;Rt++){var sr=ze[Rt];sr.enumerable=sr.enumerable||!1,sr.configurable=!0,"value"in sr&&(sr.writable=!0),Object.defineProperty(He,sr.key,sr)}}function Fe(He,ze,Rt){return ze&&Ce(He.prototype,ze),Rt&&Ce(He,Rt),He}function fe(He,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Super expression must either be null or a function");He.prototype=Object.create(ze&&ze.prototype,{constructor:{value:He,writable:!0,configurable:!0}}),ze&&Ne(He,ze)}function Ne(He,ze){return Ne=Object.setPrototypeOf||function(sr,Jt){return sr.__proto__=Jt,sr},Ne(He,ze)}function Q(He){var ze=te();return function(){var Rt=X(He),sr;if(ze){var Jt=X(this).constructor;sr=Reflect.construct(Rt,arguments,Jt)}else sr=Rt.apply(this,arguments);return ae(this,sr)}}function ae(He,ze){return ze&&(K(ze)==="object"||typeof ze=="function")?ze:Ue(He)}function Ue(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}function te(){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(He){return!1}}function X(He){return X=Object.setPrototypeOf?Object.getPrototypeOf:function(Rt){return Rt.__proto__||Object.getPrototypeOf(Rt)},X(He)}var z=function(){var He=function(ze){fe(sr,ze);var Rt=Q(sr);function sr(Jt){var qt;be(this,sr),qt=Rt.call(this,Jt),qt.setPopupVisible=function(Fr){var mn=qt.state.value;"popupVisible"in qt.props||qt.setState({popupVisible:Fr}),Fr&&!qt.state.popupVisible&&qt.setState({activeValue:mn}),qt.props.onPopupVisibleChange(Fr)},qt.handleChange=function(Fr,mn,Tt){var St=mn.visible;(Tt.type!=="keydown"||Tt.keyCode===g.a.ENTER)&&(qt.props.onChange(Fr.map(function(Re){return Re[qt.getFieldName("value")]}),Fr),qt.setPopupVisible(St))},qt.handlePopupVisibleChange=function(Fr){qt.setPopupVisible(Fr)},qt.handleMenuSelect=function(Fr,mn,Tt){var St=qt.trigger.getRootDomNode();St&&St.focus&&St.focus();var Re=qt.props,Ve=Re.changeOnSelect,Xe=Re.loadData,ct=Re.expandTrigger;if(!Fr||Fr.disabled)return;var tr=qt.state.activeValue;tr=tr.slice(0,mn+1),tr[mn]=Fr[qt.getFieldName("value")];var ir=qt.getActiveOptions(tr);if(Fr.isLeaf===!1&&!Fr[qt.getFieldName("children")]&&Xe){Ve&&qt.handleChange(ir,{visible:!0},Tt),qt.setState({activeValue:tr}),Xe(ir);return}var or={};!Fr[qt.getFieldName("children")]||!Fr[qt.getFieldName("children")].length?(qt.handleChange(ir,{visible:!1},Tt),or.value=tr):Ve&&(Tt.type==="click"||Tt.type==="keydown")&&(ct==="hover"?qt.handleChange(ir,{visible:!1},Tt):qt.handleChange(ir,{visible:!0},Tt),or.value=tr),or.activeValue=tr,("value"in qt.props||Tt.type==="keydown"&&Tt.keyCode!==g.a.ENTER)&&delete or.value,qt.setState(or)},qt.handleItemDoubleClick=function(){var Fr=qt.props.changeOnSelect;Fr&&qt.setPopupVisible(!1)},qt.handleKeyDown=function(Fr){var mn=qt.props.children;if(mn&&mn.props.onKeyDown){mn.props.onKeyDown(Fr);return}var Tt=W(qt.state.activeValue),St=Tt.length-1<0?0:Tt.length-1,Re=qt.getCurrentLevelOptions(),Ve=Re.map(function(ir){return ir[qt.getFieldName("value")]}).indexOf(Tt[St]);if(Fr.keyCode!==g.a.DOWN&&Fr.keyCode!==g.a.UP&&Fr.keyCode!==g.a.LEFT&&Fr.keyCode!==g.a.RIGHT&&Fr.keyCode!==g.a.ENTER&&Fr.keyCode!==g.a.SPACE&&Fr.keyCode!==g.a.BACKSPACE&&Fr.keyCode!==g.a.ESC&&Fr.keyCode!==g.a.TAB)return;if(!qt.state.popupVisible&&Fr.keyCode!==g.a.BACKSPACE&&Fr.keyCode!==g.a.LEFT&&Fr.keyCode!==g.a.RIGHT&&Fr.keyCode!==g.a.ESC&&Fr.keyCode!==g.a.TAB){qt.setPopupVisible(!0);return}if(Fr.keyCode===g.a.DOWN||Fr.keyCode===g.a.UP){Fr.preventDefault();var Xe=Ve;Xe!==-1?Fr.keyCode===g.a.DOWN?(Xe+=1,Xe=Xe>=Re.length?0:Xe):(Xe-=1,Xe=Xe<0?Re.length-1:Xe):Xe=0,Tt[St]=Re[Xe][qt.getFieldName("value")]}else if(Fr.keyCode===g.a.LEFT||Fr.keyCode===g.a.BACKSPACE)Fr.preventDefault(),Tt.splice(Tt.length-1,1);else if(Fr.keyCode===g.a.RIGHT)Fr.preventDefault(),Re[Ve]&&Re[Ve][qt.getFieldName("children")]&&Tt.push(Re[Ve][qt.getFieldName("children")][0][qt.getFieldName("value")]);else if(Fr.keyCode===g.a.ESC||Fr.keyCode===g.a.TAB){qt.setPopupVisible(!1);return}(!Tt||Tt.length===0)&&qt.setPopupVisible(!1);var ct=qt.getActiveOptions(Tt),tr=ct[ct.length-1];qt.handleMenuSelect(tr,ct.length-1,Fr),qt.props.onKeyDown&&qt.props.onKeyDown(Fr)},qt.saveTrigger=function(Fr){qt.trigger=Fr};var qr=[];return"value"in Jt?qr=Jt.value||[]:"defaultValue"in Jt&&(qr=Jt.defaultValue||[]),h()(!("filedNames"in Jt),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),qt.state={popupVisible:Jt.popupVisible,activeValue:qr,value:qr,prevProps:Jt},qt.defaultFieldNames={label:"label",value:"value",children:"children"},qt}return Fe(sr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(qt){var qr=this.defaultFieldNames,Fr=this.props,mn=Fr.fieldNames,Tt=Fr.filedNames;return"filedNames"in this.props?Tt[qt]||qr[qt]:mn[qt]||qr[qt]}},{key:"getFieldNames",value:function(){var qt=this.props,qr=qt.fieldNames,Fr=qt.filedNames;return"filedNames"in this.props?Fr:qr}},{key:"getCurrentLevelOptions",value:function(){var qt=this,qr=this.props.options,Fr=qr===void 0?[]:qr,mn=this.state.activeValue,Tt=mn===void 0?[]:mn,St=w()(Fr,function(Re,Ve){return Re[qt.getFieldName("value")]===Tt[Ve]},{childrenKeyName:this.getFieldName("children")});return St[St.length-2]?St[St.length-2][this.getFieldName("children")]:W(Fr).filter(function(Re){return!Re.disabled})}},{key:"getActiveOptions",value:function(qt){var qr=this;return w()(this.props.options||[],function(Fr,mn){return Fr[qr.getFieldName("value")]===qt[mn]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var qt=this.props,qr=qt.prefixCls,Fr=qt.transitionName,mn=qt.popupClassName,Tt=qt.options,St=Tt===void 0?[]:Tt,Re=qt.disabled,Ve=qt.builtinPlacements,Xe=qt.popupPlacement,ct=qt.children,tr=qt.dropdownRender,ir=U(qt,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),or=e.createElement("div",null),Xr="";St&&St.length>0?or=e.createElement(D,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Xr=" ".concat(qr,"-menus-empty");var Yr=or;return tr&&(Yr=tr(or)),e.createElement(s.a,Object.assign({ref:this.saveTrigger},ir,{popupPlacement:Xe,builtinPlacements:Ve,popupTransitionName:Fr,action:Re?[]:["click"],popupVisible:Re?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(qr,"-menus"),popupClassName:mn+Xr,popup:Yr}),e.cloneElement(ct,{onKeyDown:this.handleKeyDown,tabIndex:Re?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(qt,qr){var Fr=qr.prevProps,mn=Fr===void 0?{}:Fr,Tt={prevProps:qt};return"value"in qt&&!b(mn.value,qt.value)&&(Tt.value=qt.value||[],"loadData"in qt||(Tt.activeValue=qt.value||[])),"popupVisible"in qt&&(Tt.popupVisible=qt.popupVisible),Tt}}]),sr}(e.Component);return He.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:P,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},He}(),Y=z,pe=Y,se=i("TSYQ"),Te=i.n(se),Se=i("BGR+"),ie=i("kbBi"),de=i.n(ie),_e=i("HQEm"),We=i.n(_e),at=i("fEPi"),tt=i.n(at),Oe=i("5YOS"),yt=i.n(Oe),Ye=i("DFhj"),bt=i.n(Ye),Ct=i("5rEg"),It=i("H84U"),Ft=i("YMnH"),Vt=i("uaoM"),$e=i("3Nzz"),ge=i("0n0R"),ne=function(He,ze){var Rt={};for(var sr in He)Object.prototype.hasOwnProperty.call(He,sr)&&ze.indexOf(sr)<0&&(Rt[sr]=He[sr]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,sr=Object.getOwnPropertySymbols(He);Jt<sr.length;Jt++)ze.indexOf(sr[Jt])<0&&Object.prototype.propertyIsEnumerable.call(He,sr[Jt])&&(Rt[sr[Jt]]=He[sr[Jt]]);return Rt},wt=50;function qe(He,ze,Rt){return He.split(ze).map(function(sr,Jt){return Jt===0?sr:[e.createElement("span",{className:"".concat(Rt,"-menu-item-keyword"),key:"seperator"},ze),sr]})}function he(He,ze,Rt){return ze.some(function(sr){return sr[Rt.label].indexOf(He)>-1})}function kt(He,ze,Rt,sr){return ze.map(function(Jt,qt){var qr=Jt[sr.label],Fr=qr.indexOf(He)>-1?qe(qr,He,Rt):qr;return qt===0?Fr:[" / ",Fr]})}function nr(He,ze,Rt,sr){function Jt(qt){return qt[sr.label].indexOf(Rt)>-1}return He.findIndex(Jt)-ze.findIndex(Jt)}function lt(He){var ze=He.fieldNames;return ze}function Xt(He){var ze=lt(He)||{},Rt={children:ze.children||"children",label:ze.label||"label",value:ze.value||"value"};return Rt}function hr(He,ze){var Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],sr=Xt(ze),Jt=[],qt=sr.children;return He.forEach(function(qr){var Fr=Rt.concat(qr);(ze.changeOnSelect||!qr[qt]||!qr[qt].length)&&Jt.push(Fr),qr[qt]&&(Jt=Jt.concat(hr(qr[qt],ze,Fr)))}),Jt}var Wr=function(ze){return ze.join(" / ")};function mt(He){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(He||[]).forEach(function(Rt){var sr=ze.value||"value";Object(Vt.a)(sr in Rt,"Cascader","Not found `value` in `options`."),mt(Rt[ze.children||"children"],ze)})}var Et=function(He){o()(Rt,He);var ze=c()(Rt);function Rt(sr){var Jt;return f()(this,Rt),Jt=ze.call(this,sr),Jt.cachedOptions=[],Jt.setValue=function(qt){var qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Jt.props||Jt.setState({value:qt});var Fr=Jt.props.onChange;Fr&&Fr(qt,qr)},Jt.saveInput=function(qt){Jt.input=qt},Jt.handleChange=function(qt,qr){if(Jt.setState({inputValue:""}),qr[0].__IS_FILTERED_OPTION){var Fr=qt[0],mn=qr[0].path;Jt.setValue(Fr,mn);return}Jt.setValue(qt,qr)},Jt.handlePopupVisibleChange=function(qt){"popupVisible"in Jt.props||Jt.setState(function(Fr){return{popupVisible:qt,inputFocused:qt,inputValue:qt?Fr.inputValue:""}});var qr=Jt.props.onPopupVisibleChange;qr&&qr(qt)},Jt.handleInputBlur=function(){Jt.setState({inputFocused:!1})},Jt.handleInputClick=function(qt){var qr=Jt.state,Fr=qr.inputFocused,mn=qr.popupVisible;(Fr||mn)&&qt.stopPropagation()},Jt.handleKeyDown=function(qt){(qt.keyCode===g.a.BACKSPACE||qt.keyCode===g.a.SPACE)&&qt.stopPropagation()},Jt.handleInputChange=function(qt){var qr=Jt.state.popupVisible,Fr=qt.target.value;qr||Jt.handlePopupVisibleChange(!0),Jt.setState({inputValue:Fr})},Jt.clearSelection=function(qt){var qr=Jt.state.inputValue;qt.preventDefault(),qt.stopPropagation(),qr?Jt.setState({inputValue:""}):(Jt.handlePopupVisibleChange(!1),Jt.clearSelectionTimeout=setTimeout(function(){Jt.setValue([])},200))},Jt.renderCascader=function(qt,qr){var Fr=qt.getPopupContainer,mn=qt.getPrefixCls,Tt=qt.renderEmpty,St=qt.direction;return e.createElement($e.b.Consumer,null,function(Re){var Ve,Xe,ct,tr,ir=t()(Jt),or=ir.props,Xr=ir.state,Yr=or.prefixCls,bn=or.inputPrefixCls,Yt=or.children,pt=or.placeholder,ht=pt===void 0?qr.placeholder||"Please select":pt,Zt=or.size,$t=or.disabled,At=or.className,Pt=or.style,gt=or.allowClear,Wt=or.showSearch,yr=Wt===void 0?!1:Wt,cr=or.suffixIcon,pr=or.expandIcon,Qr=or.notFoundContent,$r=or.popupClassName,Ln=or.bordered,Mn=or.dropdownRender,Vn=ne(or,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),ii=Zt||Re,Li=Xr.value,Pi=Xr.inputFocused,Ze=St==="rtl",xe=mn("cascader",Yr),Me=mn("input",bn),ke=Te()((Ve={},p()(Ve,"".concat(Me,"-lg"),ii==="large"),p()(Ve,"".concat(Me,"-sm"),ii==="small"),Ve)),Ge=gt&&!$t&&Li.length>0||Xr.inputValue?e.createElement(de.a,{className:"".concat(xe,"-picker-clear"),onClick:Jt.clearSelection}):null,Ke=Te()((Xe={},p()(Xe,"".concat(xe,"-picker-arrow"),!0),p()(Xe,"".concat(xe,"-picker-arrow-expand"),Xr.popupVisible),Xe)),Je=Te()(At,"".concat(xe,"-picker"),(ct={},p()(ct,"".concat(xe,"-picker-rtl"),Ze),p()(ct,"".concat(xe,"-picker-with-value"),Xr.inputValue),p()(ct,"".concat(xe,"-picker-disabled"),$t),p()(ct,"".concat(xe,"-picker-").concat(ii),!!ii),p()(ct,"".concat(xe,"-picker-show-search"),!!yr),p()(ct,"".concat(xe,"-picker-focused"),Pi),p()(ct,"".concat(xe,"-picker-borderless"),!Ln),ct)),vt=Object(Se.default)(Vn,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),ot=or.options,Ut=Xt(Jt.props);if(ot&&ot.length>0)Xr.inputValue&&(ot=Jt.generateFilteredOptions(xe,Tt));else{var br;ot=[(br={},p()(br,Ut.label,Qr||Tt("Cascader")),p()(br,Ut.value,"ANT_CASCADER_NOT_FOUND"),br)]}Xr.popupVisible?Jt.cachedOptions=ot:ot=Jt.cachedOptions;var Ar={},Or=(ot||[]).length===1&&ot[0].isEmptyNode;Or&&(Ar.height="auto");var zt=yr.matchInputWidth!==!1;zt&&(Xr.inputValue||Or)&&Jt.input&&(Ar.width=Jt.input.input.offsetWidth);var un;cr?un=Object(ge.c)(cr,e.createElement("span",{className:"".concat(xe,"-picker-arrow")},cr),function(){var ai;return{className:Te()((ai={},p()(ai,cr.props.className,cr.props.className),p()(ai,"".concat(xe,"-picker-arrow"),!0),ai))}}):un=e.createElement(We.a,{className:Ke});var lr=Yt||e.createElement("span",{style:Pt,className:Je},e.createElement("span",{className:"".concat(xe,"-picker-label")},Jt.getLabel()),e.createElement(Ct.a,m()({},vt,{tabIndex:"-1",ref:Jt.saveInput,prefixCls:Me,placeholder:Li&&Li.length>0?void 0:ht,className:"".concat(xe,"-input ").concat(ke),value:Xr.inputValue,disabled:$t,readOnly:!yr,autoComplete:vt.autoComplete||"off",onClick:yr?Jt.handleInputClick:void 0,onBlur:yr?Jt.handleInputBlur:void 0,onKeyDown:Jt.handleKeyDown,onChange:yr?Jt.handleInputChange:void 0})),Ge,un),Vr;pr?Vr=pr:Vr=Ze?e.createElement(bt.a,null):e.createElement(tt.a,null);var Br=e.createElement("span",{className:"".concat(xe,"-menu-item-loading-icon")},e.createElement(yt.a,{spin:!0})),Sr=or.getPopupContainer||Fr,xn=Object(Se.default)(or,["inputIcon","expandIcon","loadingIcon","bordered"]),Hn=Te()($r,(tr={},p()(tr,"".concat(xe,"-menu-").concat(St),St==="rtl"),p()(tr,"".concat(xe,"-menu-empty"),ot.length===1&&ot[0].value==="ANT_CASCADER_NOT_FOUND"),tr));return e.createElement(pe,m()({},xn,{prefixCls:xe,getPopupContainer:Sr,options:ot,value:Li,popupVisible:Xr.popupVisible,onPopupVisibleChange:Jt.handlePopupVisibleChange,onChange:Jt.handleChange,dropdownMenuColumnStyle:Ar,expandIcon:Vr,loadingIcon:Br,popupClassName:Hn,popupPlacement:Jt.getPopupPlacement(St),dropdownRender:Mn}),lr)})},Jt.state={value:sr.value||sr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:sr.popupVisible,flattenOptions:sr.showSearch?hr(sr.options,sr):void 0,prevProps:sr},Jt}return l()(Rt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Jt=this.props,qt=Jt.options,qr=Jt.displayRender,Fr=qr===void 0?Wr:qr,mn=Xt(this.props),Tt=this.state.value,St=Array.isArray(Tt[0])?Tt[0]:Tt,Re=w()(qt,function(Xe,ct){return Xe[mn.value]===St[ct]},{childrenKeyName:mn.children}),Ve=Re.length?Re.map(function(Xe){return Xe[mn.label]}):Tt;return Fr(Ve,Re)}},{key:"generateFilteredOptions",value:function(Jt,qt){var qr=this,Fr,mn=this.props,Tt=mn.showSearch,St=mn.notFoundContent,Re=Xt(this.props),Ve=Tt.filter,Xe=Ve===void 0?he:Ve,ct=Tt.render,tr=ct===void 0?kt:ct,ir=Tt.sort,or=ir===void 0?nr:ir,Xr=Tt.limit,Yr=Xr===void 0?wt:Xr,bn=this.state,Yt=bn.flattenOptions,pt=Yt===void 0?[]:Yt,ht=bn.inputValue,Zt;if(Yr>0){Zt=[];var $t=0;pt.some(function(At){var Pt=Xe(qr.state.inputValue,At,Re);return Pt&&(Zt.push(At),$t+=1),$t>=Yr})}else Object(Vt.a)(typeof Yr!="number","Cascader","'limit' of showSearch should be positive number or false."),Zt=pt.filter(function(At){return Xe(qr.state.inputValue,At,Re)});return Zt=Zt.sort(function(At,Pt){return or(At,Pt,ht,Re)}),Zt.length>0?Zt.map(function(At){var Pt;return Pt={__IS_FILTERED_OPTION:!0,path:At},p()(Pt,Re.value,At.map(function(gt){return gt[Re.value]})),p()(Pt,Re.label,tr(ht,At,Jt,Re)),p()(Pt,"disabled",At.some(function(gt){return!!gt.disabled})),p()(Pt,"isEmptyNode",!0),Pt}):[(Fr={},p()(Fr,Re.value,"ANT_CASCADER_NOT_FOUND"),p()(Fr,Re.label,St||qt("Cascader")),p()(Fr,"disabled",!0),p()(Fr,"isEmptyNode",!0),Fr)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",qt=this.props.popupPlacement;return qt!==void 0?qt:Jt==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Jt=this;return e.createElement(It.a,null,function(qt){return e.createElement(Ft.a,null,function(qr){return Jt.renderCascader(qt,qr)})})}}],[{key:"getDerivedStateFromProps",value:function(Jt,qt){var qr=qt.prevProps,Fr={prevProps:Jt};return"value"in Jt&&(Fr.value=Jt.value||[]),"popupVisible"in Jt&&(Fr.popupVisible=Jt.popupVisible),Jt.showSearch&&qr.options!==Jt.options&&(Fr.flattenOptions=hr(Jt.options,Jt)),Fr}}]),Rt}(e.Component);Et.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var rt=N.a=Et},DFhj:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("GGyF"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},DL4k:function(B,N,i){"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(B,N,i){var y=i("Fofx"),m=i("QBsz"),E=y.identity,p=5e-5;function v(o){return o>p||o<-p}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 v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var l=[];d.updateTransform=function(){var o=this.parent,r=o&&o.transform,c=this.needLocalTransform(),e=this.transform;if(!(c||r)){e&&E(e);return}e=e||y.create(),c?this.getLocalTransform(e):E(e),r&&(c?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(l);var u=l[0]<0?-1:1,h=l[1]<0?-1:1,g=((l[0]-u)*s+u)/l[0]||0,A=((l[1]-h)*s+h)/l[1]||0;e[0]*=g,e[1]*=g,e[2]*=A,e[3]*=A}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,c=o.dpr||1;r?o.setTransform(c*r[0],c*r[1],c*r[2],c*r[3],c*r[4],c*r[5]):o.setTransform(c,0,0,c,0,0)},d.restoreTransform=function(o){var r=o.dpr||1;o.setTransform(r,0,0,r,0,0)};var n=[],t=y.create();d.setLocalTransform=function(o){if(!o)return;var r=o[0]*o[0]+o[1]*o[1],c=o[2]*o[2]+o[3]*o[3],e=this.position,s=this.scale;v(r-1)&&(r=Math.sqrt(r)),v(c-1)&&(c=Math.sqrt(c)),o[0]<0&&(r=-r),o[3]<0&&(c=-c),e[0]=o[4],e[1]=o[5],s[0]=r,s[1]=c,this.rotation=Math.atan2(-o[1]/c,o[0]/r)},d.decomposeTransform=function(){if(!this.transform)return;var o=this.parent,r=this.transform;o&&o.transform&&(y.mul(n,o.invTransform,r),r=n);var c=this.origin;c&&(c[0]||c[1])&&(t[4]=c[0],t[5]=c[1],y.mul(n,r,t),n[4]-=c[0],n[5]-=c[1],r=n),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 c=[o,r],e=this.invTransform;return e&&m.applyTransform(c,c,e),c},d.transformCoordToGlobal=function(o,r){var c=[o,r],e=this.transform;return e&&m.applyTransform(c,c,e),c},f.getLocalTransform=function(o,r){r=r||[],E(r);var c=o.origin,e=o.scale||[1,1],s=o.rotation||0,u=o.position||[0,0];return c&&(r[4]-=c[0],r[5]-=c[1]),y.scale(r,r,e),s&&y.rotate(r,r,s),c&&(r[4]+=c[0],r[5]+=c[1]),r[4]+=u[0],r[5]+=u[1],r};var a=f;B.exports=a},DO2E:function(B,N,i){"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(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("OPEp"),p=i.n(E)},DZo9:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("JGo8"),p=i.n(E),v=i("+L6B"),f=i("MXD1"),d=i("5Dmo")},Dagg:function(B,N,i){var y=i("Gev7"),m=i("mFDi"),E=i("bYtY"),p=i("Xnb7");function v(d){y.call(this,d)}v.prototype={constructor:v,type:"image",brush:function(l,n){var t=this.style,a=t.image;t.bind(l,this,n);var o=this._image=p.createOrUpdateImage(a,this._image,this,this.onload);if(!o||!p.isImageReady(o))return;var r=t.x||0,c=t.y||0,e=t.width,s=t.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(l),t.sWidth&&t.sHeight){var h=t.sx||0,g=t.sy||0;l.drawImage(o,h,g,t.sWidth,t.sHeight,r,c,e,s)}else if(t.sx&&t.sy){var h=t.sx,g=t.sy,A=e-h,w=s-g;l.drawImage(o,h,g,A,w,r,c,e,s)}else l.drawImage(o,r,c,e,s);t.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},getBoundingRect:function(){var l=this.style;return this._rect||(this._rect=new m(l.x||0,l.y||0,l.width||0,l.height||0)),this._rect}},E.inherits(v,y);var f=v;B.exports=f},Dg8C:function(B,N,i){var y=i("XxSj"),m=i("bYtY");function E(p,v){p.eachSeriesByType("sankey",function(f){var d=f.getGraph(),l=d.nodes;if(l.length){var n=Infinity,t=-Infinity;m.each(l,function(a){var o=a.getLayout().value;o<n&&(n=o),o>t&&(t=o)}),m.each(l,function(a){var o=new y({type:"color",mappingMethod:"linear",dataExtent:[n,t],visual:f.get("color")}),r=o.mapValueToVisual(a.getLayout().value),c=a.getModel().get("itemStyle.color");c!=null?a.setVisual("color",c):a.setVisual("color",r)})}})}B.exports=E},DjyN:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Urep"),p=i.n(E),v=i("OaEy")},DlQD:function(B,N,i){(function(y,m){B.exports=m()})(this,function(){"use strict";function y(It,Ft){for(var Vt=0;Vt<Ft.length;Vt++){var $e=Ft[Vt];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(It,$e.key,$e)}}function m(It,Ft,Vt){return Ft&&y(It.prototype,Ft),Vt&&y(It,Vt),It}function E(It,Ft){if(!It)return;if(typeof It=="string")return p(It,Ft);var Vt=Object.prototype.toString.call(It).slice(8,-1);if(Vt==="Object"&&It.constructor&&(Vt=It.constructor.name),Vt==="Map"||Vt==="Set")return Array.from(It);if(Vt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Vt))return p(It,Ft)}function p(It,Ft){(Ft==null||Ft>It.length)&&(Ft=It.length);for(var Vt=0,$e=new Array(Ft);Vt<Ft;Vt++)$e[Vt]=It[Vt];return $e}function v(It,Ft){var Vt;if(typeof Symbol=="undefined"||It[Symbol.iterator]==null){if(Array.isArray(It)||(Vt=E(It))||Ft&&It&&typeof It.length=="number"){Vt&&(It=Vt);var $e=0;return function(){return $e>=It.length?{done:!0}:{done:!1,value:It[$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 Vt=It[Symbol.iterator](),Vt.next.bind(Vt)}function f(It,Ft){return Ft={exports:{}},It(Ft,Ft.exports),Ft.exports}var d=f(function(It){function Ft(){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 Vt($e){It.exports.defaults=$e}It.exports={defaults:Ft(),getDefaults:Ft,changeDefaults:Vt}}),l=d.defaults,n=d.getDefaults,t=d.changeDefaults,a=/[&<>"']/,o=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(Ft){return e[Ft]};function u(It,Ft){if(Ft){if(a.test(It))return It.replace(o,s)}else if(r.test(It))return It.replace(c,s);return It}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(It){return It.replace(h,function(Ft,Vt){return Vt=Vt.toLowerCase(),Vt==="colon"?":":Vt.charAt(0)==="#"?Vt.charAt(1)==="x"?String.fromCharCode(parseInt(Vt.substring(2),16)):String.fromCharCode(+Vt.substring(1)):""})}var A=/(^|[^\[])\^/g;function w(It,Ft){It=It.source||It,Ft=Ft||"";var Vt={replace:function(ge,ne){return ne=ne.source||ne,ne=ne.replace(A,"$1"),It=It.replace(ge,ne),Vt},getRegex:function(){return new RegExp(It,Ft)}};return Vt}var b=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(It,Ft,Vt){if(It){var $e;try{$e=decodeURIComponent(g(Vt)).replace(b,"").toLowerCase()}catch(ge){return null}if($e.indexOf("javascript:")===0||$e.indexOf("vbscript:")===0||$e.indexOf("data:")===0)return null}Ft&&!S.test(Vt)&&(Vt=L(Ft,Vt));try{Vt=encodeURI(Vt).replace(/%25/g,"%")}catch(ge){return null}return Vt}var T={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(It,Ft){T[" "+It]||(x.test(It)?T[" "+It]=It+"/":T[" "+It]=j(It,"/",!0)),It=T[" "+It];var Vt=It.indexOf(":")===-1;return Ft.substring(0,2)==="//"?Vt?Ft:It.replace(C,"$1")+Ft:Ft.charAt(0)==="/"?Vt?Ft:It.replace(I,"$1")+Ft:It+Ft}var M={exec:function(){}};function k(It){for(var Ft=1,Vt,$e;Ft<arguments.length;Ft++){Vt=arguments[Ft];for($e in Vt)Object.prototype.hasOwnProperty.call(Vt,$e)&&(It[$e]=Vt[$e])}return It}function R(It,Ft){var Vt=It.replace(/\|/g,function(ne,wt,qe){for(var he=!1,kt=wt;--kt>=0&&qe[kt]==="\\";)he=!he;return he?"|":" |"}),$e=Vt.split(/ \|/),ge=0;if($e.length>Ft)$e.splice(Ft);else for(;$e.length<Ft;)$e.push("");for(;ge<$e.length;ge++)$e[ge]=$e[ge].trim().replace(/\\\|/g,"|");return $e}function j(It,Ft,Vt){var $e=It.length;if($e===0)return"";for(var ge=0;ge<$e;){var ne=It.charAt($e-ge-1);if(ne===Ft&&!Vt)ge++;else if(ne!==Ft&&Vt)ge++;else break}return It.substr(0,$e-ge)}function V(It,Ft){if(It.indexOf(Ft[1])===-1)return-1;for(var Vt=It.length,$e=0,ge=0;ge<Vt;ge++)if(It[ge]==="\\")ge++;else if(It[ge]===Ft[0])$e++;else if(It[ge]===Ft[1]&&($e--,$e<0))return ge;return-1}function D(It){It&&It.sanitize&&!It.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 H={escape:u,unescape:g,edit:w,cleanUrl:_,resolveUrl:L,noopTest:M,merge:k,splitCells:R,rtrim:j,findClosingBracket:V,checkSanitizeDeprecation:D},P=d.defaults,K=H.rtrim,U=H.splitCells,G=H.escape,W=H.findClosingBracket;function Z(It,Ft,Vt){var $e=Ft.href,ge=Ft.title?G(Ft.title):null,ne=It[1].replace(/\\([\[\]])/g,"$1");return It[0].charAt(0)!=="!"?{type:"link",raw:Vt,href:$e,title:ge,text:ne}:{type:"image",raw:Vt,href:$e,title:ge,text:G(ne)}}function J(It,Ft){var Vt=It.match(/^(\s+)(?:```)/);if(Vt===null)return Ft;var $e=Vt[1];return Ft.split(`
`).map(function(ge){var ne=ge.match(/^\s+/);if(ne===null)return ge;var wt=ne[0];return wt.length>=$e.length?ge.slice($e.length):ge}).join(`
`)}var ve=function(){function It(Vt){this.options=Vt||P}var Ft=It.prototype;return Ft.space=function($e){var ge=this.rules.block.newline.exec($e);if(ge)return ge[0].length>1?{type:"space",raw:ge[0]}:{raw:`
`}},Ft.code=function($e,ge){var ne=this.rules.block.code.exec($e);if(ne){var wt=ge[ge.length-1];if(wt&&wt.type==="paragraph")return{raw:ne[0],text:ne[0].trimRight()};var qe=ne[0].replace(/^ {4}/gm,"");return{type:"code",raw:ne[0],codeBlockStyle:"indented",text:this.options.pedantic?qe:K(qe,`
`)}}},Ft.fences=function($e){var ge=this.rules.block.fences.exec($e);if(ge){var ne=ge[0],wt=J(ne,ge[3]||"");return{type:"code",raw:ne,lang:ge[2]?ge[2].trim():ge[2],text:wt}}},Ft.heading=function($e){var ge=this.rules.block.heading.exec($e);if(ge)return{type:"heading",raw:ge[0],depth:ge[1].length,text:ge[2]}},Ft.nptable=function($e){var ge=this.rules.block.nptable.exec($e);if(ge){var ne={type:"table",header:U(ge[1].replace(/^ *| *\| *$/g,"")),align:ge[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ge[3]?ge[3].replace(/\n$/,"").split(`
`):[],raw:ge[0]};if(ne.header.length===ne.align.length){var wt=ne.align.length,qe;for(qe=0;qe<wt;qe++)/^ *-+: *$/.test(ne.align[qe])?ne.align[qe]="right":/^ *:-+: *$/.test(ne.align[qe])?ne.align[qe]="center":/^ *:-+ *$/.test(ne.align[qe])?ne.align[qe]="left":ne.align[qe]=null;for(wt=ne.cells.length,qe=0;qe<wt;qe++)ne.cells[qe]=U(ne.cells[qe],ne.header.length);return ne}}},Ft.hr=function($e){var ge=this.rules.block.hr.exec($e);if(ge)return{type:"hr",raw:ge[0]}},Ft.blockquote=function($e){var ge=this.rules.block.blockquote.exec($e);if(ge){var ne=ge[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ge[0],text:ne}}},Ft.list=function($e){var ge=this.rules.block.list.exec($e);if(ge){for(var ne=ge[0],wt=ge[2],qe=wt.length>1,he=wt[wt.length-1]===")",kt={type:"list",raw:ne,ordered:qe,start:qe?+wt.slice(0,-1):"",loose:!1,items:[]},nr=ge[0].match(this.rules.block.item),lt=!1,Xt,hr,Wr,mt,Et,rt,He,ze=nr.length,Rt=0;Rt<ze;Rt++)Xt=nr[Rt],ne=Xt,hr=Xt.length,Xt=Xt.replace(/^ *([*+-]|\d+[.)]) */,""),~Xt.indexOf(`
`)&&(hr-=Xt.length,Xt=this.options.pedantic?Xt.replace(/^ {1,4}/gm,""):Xt.replace(new RegExp("^ {1,"+hr+"}","gm"),"")),Rt!==ze-1&&(Wr=this.rules.block.bullet.exec(nr[Rt+1])[0],(qe?Wr.length===1||!he&&Wr[Wr.length-1]===")":Wr.length>1||this.options.smartLists&&Wr!==wt)&&(mt=nr.slice(Rt+1).join(`
`),kt.raw=kt.raw.substring(0,kt.raw.length-mt.length),Rt=ze-1)),Et=lt||/\n\n(?!\s*$)/.test(Xt),Rt!==ze-1&&(lt=Xt.charAt(Xt.length-1)===`
`,Et||(Et=lt)),Et&&(kt.loose=!0),rt=/^\[[ xX]\] /.test(Xt),He=void 0,rt&&(He=Xt[1]!==" ",Xt=Xt.replace(/^\[[ xX]\] +/,"")),kt.items.push({type:"list_item",raw:ne,task:rt,checked:He,loose:Et,text:Xt});return kt}},Ft.html=function($e){var ge=this.rules.block.html.exec($e);if(ge)return{type:this.options.sanitize?"paragraph":"html",raw:ge[0],pre:!this.options.sanitizer&&(ge[1]==="pre"||ge[1]==="script"||ge[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ge[0]):G(ge[0]):ge[0]}},Ft.def=function($e){var ge=this.rules.block.def.exec($e);if(ge){ge[3]&&(ge[3]=ge[3].substring(1,ge[3].length-1));var ne=ge[1].toLowerCase().replace(/\s+/g," ");return{tag:ne,raw:ge[0],href:ge[2],title:ge[3]}}},Ft.table=function($e){var ge=this.rules.block.table.exec($e);if(ge){var ne={type:"table",header:U(ge[1].replace(/^ *| *\| *$/g,"")),align:ge[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ge[3]?ge[3].replace(/\n$/,"").split(`
`):[]};if(ne.header.length===ne.align.length){ne.raw=ge[0];var wt=ne.align.length,qe;for(qe=0;qe<wt;qe++)/^ *-+: *$/.test(ne.align[qe])?ne.align[qe]="right":/^ *:-+: *$/.test(ne.align[qe])?ne.align[qe]="center":/^ *:-+ *$/.test(ne.align[qe])?ne.align[qe]="left":ne.align[qe]=null;for(wt=ne.cells.length,qe=0;qe<wt;qe++)ne.cells[qe]=U(ne.cells[qe].replace(/^ *\| *| *\| *$/g,""),ne.header.length);return ne}}},Ft.lheading=function($e){var ge=this.rules.block.lheading.exec($e);if(ge)return{type:"heading",raw:ge[0],depth:ge[2].charAt(0)==="="?1:2,text:ge[1]}},Ft.paragraph=function($e){var ge=this.rules.block.paragraph.exec($e);if(ge)return{type:"paragraph",raw:ge[0],text:ge[1].charAt(ge[1].length-1)===`
`?ge[1].slice(0,-1):ge[1]}},Ft.text=function($e,ge){var ne=this.rules.block.text.exec($e);if(ne){var wt=ge[ge.length-1];return wt&&wt.type==="text"?{raw:ne[0],text:ne[0]}:{type:"text",raw:ne[0],text:ne[0]}}},Ft.escape=function($e){var ge=this.rules.inline.escape.exec($e);if(ge)return{type:"escape",raw:ge[0],text:G(ge[1])}},Ft.tag=function($e,ge,ne){var wt=this.rules.inline.tag.exec($e);if(wt)return!ge&&/^<a /i.test(wt[0])?ge=!0:ge&&/^<\/a>/i.test(wt[0])&&(ge=!1),!ne&&/^<(pre|code|kbd|script)(\s|>)/i.test(wt[0])?ne=!0:ne&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(wt[0])&&(ne=!1),{type:this.options.sanitize?"text":"html",raw:wt[0],inLink:ge,inRawBlock:ne,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(wt[0]):G(wt[0]):wt[0]}},Ft.link=function($e){var ge=this.rules.inline.link.exec($e);if(ge){var ne=W(ge[2],"()");if(ne>-1){var wt=ge[0].indexOf("!")===0?5:4,qe=wt+ge[1].length+ne;ge[2]=ge[2].substring(0,ne),ge[0]=ge[0].substring(0,qe).trim(),ge[3]=""}var he=ge[2],kt="";if(this.options.pedantic){var nr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(he);nr?(he=nr[1],kt=nr[3]):kt=""}else kt=ge[3]?ge[3].slice(1,-1):"";he=he.trim().replace(/^<([\s\S]*)>$/,"$1");var lt=Z(ge,{href:he&&he.replace(this.rules.inline._escapes,"$1"),title:kt&&kt.replace(this.rules.inline._escapes,"$1")},ge[0]);return lt}},Ft.reflink=function($e,ge){var ne;if((ne=this.rules.inline.reflink.exec($e))||(ne=this.rules.inline.nolink.exec($e))){var wt=(ne[2]||ne[1]).replace(/\s+/g," ");if(wt=ge[wt.toLowerCase()],!wt||!wt.href){var qe=ne[0].charAt(0);return{type:"text",raw:qe,text:qe}}var he=Z(ne,wt,ne[0]);return he}},Ft.strong=function($e,ge,ne){ne===void 0&&(ne="");var wt=this.rules.inline.strong.start.exec($e);if(wt&&(!wt[1]||wt[1]&&(ne===""||this.rules.inline.punctuation.exec(ne)))){ge=ge.slice(-1*$e.length);var qe=wt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;qe.lastIndex=0;for(var he;(wt=qe.exec(ge))!=null;)if(he=this.rules.inline.strong.middle.exec(ge.slice(0,wt.index+3)),he)return{type:"strong",raw:$e.slice(0,he[0].length),text:$e.slice(2,he[0].length-2)}}},Ft.em=function($e,ge,ne){ne===void 0&&(ne="");var wt=this.rules.inline.em.start.exec($e);if(wt&&(!wt[1]||wt[1]&&(ne===""||this.rules.inline.punctuation.exec(ne)))){ge=ge.slice(-1*$e.length);var qe=wt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;qe.lastIndex=0;for(var he;(wt=qe.exec(ge))!=null;)if(he=this.rules.inline.em.middle.exec(ge.slice(0,wt.index+2)),he)return{type:"em",raw:$e.slice(0,he[0].length),text:$e.slice(1,he[0].length-1)}}},Ft.codespan=function($e){var ge=this.rules.inline.code.exec($e);if(ge){var ne=ge[2].replace(/\n/g," "),wt=/[^ ]/.test(ne),qe=ne.startsWith(" ")&&ne.endsWith(" ");return wt&&qe&&(ne=ne.substring(1,ne.length-1)),ne=G(ne,!0),{type:"codespan",raw:ge[0],text:ne}}},Ft.br=function($e){var ge=this.rules.inline.br.exec($e);if(ge)return{type:"br",raw:ge[0]}},Ft.del=function($e){var ge=this.rules.inline.del.exec($e);if(ge)return{type:"del",raw:ge[0],text:ge[1]}},Ft.autolink=function($e,ge){var ne=this.rules.inline.autolink.exec($e);if(ne){var wt,qe;return ne[2]==="@"?(wt=G(this.options.mangle?ge(ne[1]):ne[1]),qe="mailto:"+wt):(wt=G(ne[1]),qe=wt),{type:"link",raw:ne[0],text:wt,href:qe,tokens:[{type:"text",raw:wt,text:wt}]}}},Ft.url=function($e,ge){var ne;if(ne=this.rules.inline.url.exec($e)){var wt,qe;if(ne[2]==="@")wt=G(this.options.mangle?ge(ne[0]):ne[0]),qe="mailto:"+wt;else{var he;do he=ne[0],ne[0]=this.rules.inline._backpedal.exec(ne[0])[0];while(he!==ne[0]);wt=G(ne[0]),ne[1]==="www."?qe="http://"+wt:qe=wt}return{type:"link",raw:ne[0],text:wt,href:qe,tokens:[{type:"text",raw:wt,text:wt}]}}},Ft.inlineText=function($e,ge,ne){var wt=this.rules.inline.text.exec($e);if(wt){var qe;return ge?qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(wt[0]):G(wt[0]):wt[0]:qe=G(this.options.smartypants?ne(wt[0]):wt[0]),{type:"text",raw:wt[0],text:qe}}},It}(),q=H.noopTest,ce=H.edit,be=H.merge,Ce={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:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Ce._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Ce._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Ce.def=ce(Ce.def).replace("label",Ce._label).replace("title",Ce._title).getRegex(),Ce.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ce.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Ce.item=ce(Ce.item,"gm").replace(/bull/g,Ce.bullet).getRegex(),Ce.list=ce(Ce.list).replace(/bull/g,Ce.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ce.def.source+")").getRegex(),Ce._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",Ce._comment=/<!--(?!-?>)[\s\S]*?-->/,Ce.html=ce(Ce.html,"i").replace("comment",Ce._comment).replace("tag",Ce._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ce.paragraph=ce(Ce._paragraph).replace("hr",Ce.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",Ce._tag).getRegex(),Ce.blockquote=ce(Ce.blockquote).replace("paragraph",Ce.paragraph).getRegex(),Ce.normal=be({},Ce),Ce.gfm=be({},Ce.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*|$)"}),Ce.gfm.nptable=ce(Ce.gfm.nptable).replace("hr",Ce.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",Ce._tag).getRegex(),Ce.gfm.table=ce(Ce.gfm.table).replace("hr",Ce.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",Ce._tag).getRegex(),Ce.pedantic=be({},Ce.normal,{html:ce(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ce._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:q,paragraph:ce(Ce.normal._paragraph).replace("hr",Ce.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Ce.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Fe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,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:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Fe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Fe.punctuation=ce(Fe.punctuation).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Fe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Fe.em.start=ce(Fe.em.start).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.em.middle=ce(Fe.em.middle).replace(/punctuation/g,Fe._punctuation).replace(/overlapSkip/g,Fe._overlapSkip).getRegex(),Fe.em.endAst=ce(Fe.em.endAst,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.em.endUnd=ce(Fe.em.endUnd,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.start=ce(Fe.strong.start).replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.middle=ce(Fe.strong.middle).replace(/punctuation/g,Fe._punctuation).replace(/blockSkip/g,Fe._blockSkip).getRegex(),Fe.strong.endAst=ce(Fe.strong.endAst,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.strong.endUnd=ce(Fe.strong.endUnd,"g").replace(/punctuation/g,Fe._punctuation).getRegex(),Fe.blockSkip=ce(Fe._blockSkip,"g").getRegex(),Fe.overlapSkip=ce(Fe._overlapSkip,"g").getRegex(),Fe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Fe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Fe._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])?)+(?![-_])/,Fe.autolink=ce(Fe.autolink).replace("scheme",Fe._scheme).replace("email",Fe._email).getRegex(),Fe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Fe.tag=ce(Fe.tag).replace("comment",Ce._comment).replace("attribute",Fe._attribute).getRegex(),Fe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Fe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Fe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Fe.link=ce(Fe.link).replace("label",Fe._label).replace("href",Fe._href).replace("title",Fe._title).getRegex(),Fe.reflink=ce(Fe.reflink).replace("label",Fe._label).getRegex(),Fe.reflinkSearch=ce(Fe.reflinkSearch,"g").replace("reflink",Fe.reflink).replace("nolink",Fe.nolink).getRegex(),Fe.normal=be({},Fe),Fe.pedantic=be({},Fe.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:ce(/^!?\[(label)\]\((.*?)\)/).replace("label",Fe._label).getRegex(),reflink:ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Fe._label).getRegex()}),Fe.gfm=be({},Fe.normal,{escape:ce(Fe.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Fe.gfm.url=ce(Fe.gfm.url,"i").replace("email",Fe.gfm._extended_email).getRegex(),Fe.breaks=be({},Fe.gfm,{br:ce(Fe.br).replace("{2,}","*").getRegex(),text:ce(Fe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var fe={block:Ce,inline:Fe},Ne=d.defaults,Q=fe.block,ae=fe.inline;function Ue(It){return It.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 te(It){var Ft="",Vt,$e,ge=It.length;for(Vt=0;Vt<ge;Vt++)$e=It.charCodeAt(Vt),Math.random()>.5&&($e="x"+$e.toString(16)),Ft+="&#"+$e+";";return Ft}var X=function(){function It(Vt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Vt||Ne,this.options.tokenizer=this.options.tokenizer||new ve,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var $e={block:Q.normal,inline:ae.normal};this.options.pedantic?($e.block=Q.pedantic,$e.inline=ae.pedantic):this.options.gfm&&($e.block=Q.gfm,this.options.breaks?$e.inline=ae.breaks:$e.inline=ae.gfm),this.tokenizer.rules=$e}It.lex=function($e,ge){var ne=new It(ge);return ne.lex($e)};var Ft=It.prototype;return Ft.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},Ft.blockTokens=function($e,ge,ne){ge===void 0&&(ge=[]),ne===void 0&&(ne=!0),$e=$e.replace(/^ +$/gm,"");for(var wt,qe,he,kt;$e;){if(wt=this.tokenizer.space($e)){$e=$e.substring(wt.raw.length),wt.type&&ge.push(wt);continue}if(wt=this.tokenizer.code($e,ge)){$e=$e.substring(wt.raw.length),wt.type?ge.push(wt):(kt=ge[ge.length-1],kt.raw+=`
`+wt.raw,kt.text+=`
`+wt.text);continue}if(wt=this.tokenizer.fences($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.heading($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.nptable($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.hr($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.blockquote($e)){$e=$e.substring(wt.raw.length),wt.tokens=this.blockTokens(wt.text,[],ne),ge.push(wt);continue}if(wt=this.tokenizer.list($e)){for($e=$e.substring(wt.raw.length),he=wt.items.length,qe=0;qe<he;qe++)wt.items[qe].tokens=this.blockTokens(wt.items[qe].text,[],!1);ge.push(wt);continue}if(wt=this.tokenizer.html($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(ne&&(wt=this.tokenizer.def($e))){$e=$e.substring(wt.raw.length),this.tokens.links[wt.tag]||(this.tokens.links[wt.tag]={href:wt.href,title:wt.title});continue}if(wt=this.tokenizer.table($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.lheading($e)){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(ne&&(wt=this.tokenizer.paragraph($e))){$e=$e.substring(wt.raw.length),ge.push(wt);continue}if(wt=this.tokenizer.text($e,ge)){$e=$e.substring(wt.raw.length),wt.type?ge.push(wt):(kt=ge[ge.length-1],kt.raw+=`
`+wt.raw,kt.text+=`
`+wt.text);continue}if($e){var nr="Infinite loop on byte: "+$e.charCodeAt(0);if(this.options.silent){console.error(nr);break}else throw new Error(nr)}}return ge},Ft.inline=function($e){var ge,ne,wt,qe,he,kt,nr=$e.length;for(ge=0;ge<nr;ge++){kt=$e[ge];switch(kt.type){case"paragraph":case"text":case"heading":{kt.tokens=[],this.inlineTokens(kt.text,kt.tokens);break}case"table":{for(kt.tokens={header:[],cells:[]},qe=kt.header.length,ne=0;ne<qe;ne++)kt.tokens.header[ne]=[],this.inlineTokens(kt.header[ne],kt.tokens.header[ne]);for(qe=kt.cells.length,ne=0;ne<qe;ne++)for(he=kt.cells[ne],kt.tokens.cells[ne]=[],wt=0;wt<he.length;wt++)kt.tokens.cells[ne][wt]=[],this.inlineTokens(he[wt],kt.tokens.cells[ne][wt]);break}case"blockquote":{this.inline(kt.tokens);break}case"list":{for(qe=kt.items.length,ne=0;ne<qe;ne++)this.inline(kt.items[ne].tokens);break}}}return $e},Ft.inlineTokens=function($e,ge,ne,wt,qe){ge===void 0&&(ge=[]),ne===void 0&&(ne=!1),wt===void 0&&(wt=!1),qe===void 0&&(qe="");var he,kt=$e,nr;if(this.tokens.links){var lt=Object.keys(this.tokens.links);if(lt.length>0)for(;(nr=this.tokenizer.rules.inline.reflinkSearch.exec(kt))!=null;)lt.includes(nr[0].slice(nr[0].lastIndexOf("[")+1,-1))&&(kt=kt.slice(0,nr.index)+"["+"a".repeat(nr[0].length-2)+"]"+kt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(nr=this.tokenizer.rules.inline.blockSkip.exec(kt))!=null;)kt=kt.slice(0,nr.index)+"["+"a".repeat(nr[0].length-2)+"]"+kt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;$e;){if(he=this.tokenizer.escape($e)){$e=$e.substring(he.raw.length),ge.push(he);continue}if(he=this.tokenizer.tag($e,ne,wt)){$e=$e.substring(he.raw.length),ne=he.inLink,wt=he.inRawBlock,ge.push(he);continue}if(he=this.tokenizer.link($e)){$e=$e.substring(he.raw.length),he.type==="link"&&(he.tokens=this.inlineTokens(he.text,[],!0,wt)),ge.push(he);continue}if(he=this.tokenizer.reflink($e,this.tokens.links)){$e=$e.substring(he.raw.length),he.type==="link"&&(he.tokens=this.inlineTokens(he.text,[],!0,wt)),ge.push(he);continue}if(he=this.tokenizer.strong($e,kt,qe)){$e=$e.substring(he.raw.length),he.tokens=this.inlineTokens(he.text,[],ne,wt),ge.push(he);continue}if(he=this.tokenizer.em($e,kt,qe)){$e=$e.substring(he.raw.length),he.tokens=this.inlineTokens(he.text,[],ne,wt),ge.push(he);continue}if(he=this.tokenizer.codespan($e)){$e=$e.substring(he.raw.length),ge.push(he);continue}if(he=this.tokenizer.br($e)){$e=$e.substring(he.raw.length),ge.push(he);continue}if(he=this.tokenizer.del($e)){$e=$e.substring(he.raw.length),he.tokens=this.inlineTokens(he.text,[],ne,wt),ge.push(he);continue}if(he=this.tokenizer.autolink($e,te)){$e=$e.substring(he.raw.length),ge.push(he);continue}if(!ne&&(he=this.tokenizer.url($e,te))){$e=$e.substring(he.raw.length),ge.push(he);continue}if(he=this.tokenizer.inlineText($e,wt,Ue)){$e=$e.substring(he.raw.length),qe=he.raw.slice(-1),ge.push(he);continue}if($e){var Xt="Infinite loop on byte: "+$e.charCodeAt(0);if(this.options.silent){console.error(Xt);break}else throw new Error(Xt)}}return ge},m(It,null,[{key:"rules",get:function(){return{block:Q,inline:ae}}}]),It}(),z=d.defaults,Y=H.cleanUrl,pe=H.escape,se=function(){function It(Vt){this.options=Vt||z}var Ft=It.prototype;return Ft.code=function($e,ge,ne){var wt=(ge||"").match(/\S*/)[0];if(this.options.highlight){var qe=this.options.highlight($e,wt);qe!=null&&qe!==$e&&(ne=!0,$e=qe)}return wt?'<pre><code class="'+this.options.langPrefix+pe(wt,!0)+'">'+(ne?$e:pe($e,!0))+`</code></pre>
`:"<pre><code>"+(ne?$e:pe($e,!0))+`</code></pre>
`},Ft.blockquote=function($e){return`<blockquote>
`+$e+`</blockquote>
`},Ft.html=function($e){return $e},Ft.heading=function($e,ge,ne,wt){return this.options.headerIds?"<h"+ge+' id="'+this.options.headerPrefix+wt.slug(ne)+'">'+$e+"</h"+ge+`>
`:"<h"+ge+">"+$e+"</h"+ge+`>
`},Ft.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},Ft.list=function($e,ge,ne){var wt=ge?"ol":"ul",qe=ge&&ne!==1?' start="'+ne+'"':"";return"<"+wt+qe+`>
`+$e+"</"+wt+`>
`},Ft.listitem=function($e){return"<li>"+$e+`</li>
`},Ft.checkbox=function($e){return"<input "+($e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ft.paragraph=function($e){return"<p>"+$e+`</p>
`},Ft.table=function($e,ge){return ge&&(ge="<tbody>"+ge+"</tbody>"),`<table>
<thead>
`+$e+`</thead>
`+ge+`</table>
`},Ft.tablerow=function($e){return`<tr>
`+$e+`</tr>
`},Ft.tablecell=function($e,ge){var ne=ge.header?"th":"td",wt=ge.align?"<"+ne+' align="'+ge.align+'">':"<"+ne+">";return wt+$e+"</"+ne+`>
`},Ft.strong=function($e){return"<strong>"+$e+"</strong>"},Ft.em=function($e){return"<em>"+$e+"</em>"},Ft.codespan=function($e){return"<code>"+$e+"</code>"},Ft.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ft.del=function($e){return"<del>"+$e+"</del>"},Ft.link=function($e,ge,ne){if($e=Y(this.options.sanitize,this.options.baseUrl,$e),$e===null)return ne;var wt='<a href="'+pe($e)+'"';return ge&&(wt+=' title="'+ge+'"'),wt+=">"+ne+"</a>",wt},Ft.image=function($e,ge,ne){if($e=Y(this.options.sanitize,this.options.baseUrl,$e),$e===null)return ne;var wt='<img src="'+$e+'" alt="'+ne+'"';return ge&&(wt+=' title="'+ge+'"'),wt+=this.options.xhtml?"/>":">",wt},Ft.text=function($e){return $e},It}(),Te=function(){function It(){}var Ft=It.prototype;return Ft.strong=function($e){return $e},Ft.em=function($e){return $e},Ft.codespan=function($e){return $e},Ft.del=function($e){return $e},Ft.html=function($e){return $e},Ft.text=function($e){return $e},Ft.link=function($e,ge,ne){return""+ne},Ft.image=function($e,ge,ne){return""+ne},Ft.br=function(){return""},It}(),Se=function(){function It(){this.seen={}}var Ft=It.prototype;return Ft.slug=function($e){var ge=$e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ge)){var ne=ge;do this.seen[ne]++,ge=ne+"-"+this.seen[ne];while(this.seen.hasOwnProperty(ge))}return this.seen[ge]=0,ge},It}(),ie=d.defaults,de=H.unescape,_e=function(){function It(Vt){this.options=Vt||ie,this.options.renderer=this.options.renderer||new se,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Te,this.slugger=new Se}It.parse=function($e,ge){var ne=new It(ge);return ne.parse($e)};var Ft=It.prototype;return Ft.parse=function($e,ge){ge===void 0&&(ge=!0);var ne="",wt,qe,he,kt,nr,lt,Xt,hr,Wr,mt,Et,rt,He,ze,Rt,sr,Jt,qt,qr=$e.length;for(wt=0;wt<qr;wt++){mt=$e[wt];switch(mt.type){case"space":continue;case"hr":{ne+=this.renderer.hr();continue}case"heading":{ne+=this.renderer.heading(this.parseInline(mt.tokens),mt.depth,de(this.parseInline(mt.tokens,this.textRenderer)),this.slugger);continue}case"code":{ne+=this.renderer.code(mt.text,mt.lang,mt.escaped);continue}case"table":{for(hr="",Xt="",kt=mt.header.length,qe=0;qe<kt;qe++)Xt+=this.renderer.tablecell(this.parseInline(mt.tokens.header[qe]),{header:!0,align:mt.align[qe]});for(hr+=this.renderer.tablerow(Xt),Wr="",kt=mt.cells.length,qe=0;qe<kt;qe++){for(lt=mt.tokens.cells[qe],Xt="",nr=lt.length,he=0;he<nr;he++)Xt+=this.renderer.tablecell(this.parseInline(lt[he]),{header:!1,align:mt.align[he]});Wr+=this.renderer.tablerow(Xt)}ne+=this.renderer.table(hr,Wr);continue}case"blockquote":{Wr=this.parse(mt.tokens),ne+=this.renderer.blockquote(Wr);continue}case"list":{for(Et=mt.ordered,rt=mt.start,He=mt.loose,kt=mt.items.length,Wr="",qe=0;qe<kt;qe++)Rt=mt.items[qe],sr=Rt.checked,Jt=Rt.task,ze="",Rt.task&&(qt=this.renderer.checkbox(sr),He?Rt.tokens.length>0&&Rt.tokens[0].type==="text"?(Rt.tokens[0].text=qt+" "+Rt.tokens[0].text,Rt.tokens[0].tokens&&Rt.tokens[0].tokens.length>0&&Rt.tokens[0].tokens[0].type==="text"&&(Rt.tokens[0].tokens[0].text=qt+" "+Rt.tokens[0].tokens[0].text)):Rt.tokens.unshift({type:"text",text:qt}):ze+=qt),ze+=this.parse(Rt.tokens,He),Wr+=this.renderer.listitem(ze,Jt,sr);ne+=this.renderer.list(Wr,Et,rt);continue}case"html":{ne+=this.renderer.html(mt.text);continue}case"paragraph":{ne+=this.renderer.paragraph(this.parseInline(mt.tokens));continue}case"text":{for(Wr=mt.tokens?this.parseInline(mt.tokens):mt.text;wt+1<qr&&$e[wt+1].type==="text";)mt=$e[++wt],Wr+=`
`+(mt.tokens?this.parseInline(mt.tokens):mt.text);ne+=ge?this.renderer.paragraph(Wr):Wr;continue}default:{var Fr='Token with "'+mt.type+'" type was not found.';if(this.options.silent){console.error(Fr);return}else throw new Error(Fr)}}}return ne},Ft.parseInline=function($e,ge){ge=ge||this.renderer;var ne="",wt,qe,he=$e.length;for(wt=0;wt<he;wt++){qe=$e[wt];switch(qe.type){case"escape":{ne+=ge.text(qe.text);break}case"html":{ne+=ge.html(qe.text);break}case"link":{ne+=ge.link(qe.href,qe.title,this.parseInline(qe.tokens,ge));break}case"image":{ne+=ge.image(qe.href,qe.title,qe.text);break}case"strong":{ne+=ge.strong(this.parseInline(qe.tokens,ge));break}case"em":{ne+=ge.em(this.parseInline(qe.tokens,ge));break}case"codespan":{ne+=ge.codespan(qe.text);break}case"br":{ne+=ge.br();break}case"del":{ne+=ge.del(this.parseInline(qe.tokens,ge));break}case"text":{ne+=ge.text(qe.text);break}default:{var kt='Token with "'+qe.type+'" type was not found.';if(this.options.silent){console.error(kt);return}else throw new Error(kt)}}}return ne},It}(),We=H.merge,at=H.checkSanitizeDeprecation,tt=H.escape,Oe=d.getDefaults,yt=d.changeDefaults,Ye=d.defaults;function bt(It,Ft,Vt){if(typeof It=="undefined"||It===null)throw new Error("marked(): input parameter is undefined or null");if(typeof It!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(It)+", string expected");if(typeof Ft=="function"&&(Vt=Ft,Ft=null),Ft=We({},bt.defaults,Ft||{}),at(Ft),Vt){var $e=Ft.highlight,ge;try{ge=X.lex(It,Ft)}catch(he){return Vt(he)}var ne=function(kt){var nr;if(!kt)try{nr=_e.parse(ge,Ft)}catch(lt){kt=lt}return Ft.highlight=$e,kt?Vt(kt):Vt(null,nr)};if(!$e||$e.length<3)return ne();if(delete Ft.highlight,!ge.length)return ne();var wt=0;bt.walkTokens(ge,function(he){he.type==="code"&&(wt++,setTimeout(function(){$e(he.text,he.lang,function(kt,nr){if(kt)return ne(kt);nr!=null&&nr!==he.text&&(he.text=nr,he.escaped=!0),wt--,wt===0&&ne()})},0))}),wt===0&&ne();return}try{var qe=X.lex(It,Ft);return Ft.walkTokens&&bt.walkTokens(qe,Ft.walkTokens),_e.parse(qe,Ft)}catch(he){if(he.message+=`
Please report this to https://github.com/markedjs/marked.`,Ft.silent)return"<p>An error occurred:</p><pre>"+tt(he.message+"",!0)+"</pre>";throw he}}bt.options=bt.setOptions=function(It){return We(bt.defaults,It),yt(bt.defaults),bt},bt.getDefaults=Oe,bt.defaults=Ye,bt.use=function(It){var Ft=We({},It);if(It.renderer&&function(){var $e=bt.defaults.renderer||new se,ge=function(qe){var he=$e[qe];$e[qe]=function(){for(var kt=arguments.length,nr=new Array(kt),lt=0;lt<kt;lt++)nr[lt]=arguments[lt];var Xt=It.renderer[qe].apply($e,nr);return Xt===!1&&(Xt=he.apply($e,nr)),Xt}};for(var ne in It.renderer)ge(ne);Ft.renderer=$e}(),It.tokenizer&&function(){var $e=bt.defaults.tokenizer||new ve,ge=function(qe){var he=$e[qe];$e[qe]=function(){for(var kt=arguments.length,nr=new Array(kt),lt=0;lt<kt;lt++)nr[lt]=arguments[lt];var Xt=It.tokenizer[qe].apply($e,nr);return Xt===!1&&(Xt=he.apply($e,nr)),Xt}};for(var ne in It.tokenizer)ge(ne);Ft.tokenizer=$e}(),It.walkTokens){var Vt=bt.defaults.walkTokens;Ft.walkTokens=function($e){It.walkTokens($e),Vt&&Vt($e)}}bt.setOptions(Ft)},bt.walkTokens=function(It,Ft){for(var Vt=v(It),$e;!($e=Vt()).done;){var ge=$e.value;Ft(ge);switch(ge.type){case"table":{for(var ne=v(ge.tokens.header),wt;!(wt=ne()).done;){var qe=wt.value;bt.walkTokens(qe,Ft)}for(var he=v(ge.tokens.cells),kt;!(kt=he()).done;)for(var nr=kt.value,lt=v(nr),Xt;!(Xt=lt()).done;){var hr=Xt.value;bt.walkTokens(hr,Ft)}break}case"list":{bt.walkTokens(ge.items,Ft);break}default:ge.tokens&&bt.walkTokens(ge.tokens,Ft)}}},bt.Parser=_e,bt.parser=_e.parse,bt.Renderer=se,bt.TextRenderer=Te,bt.Lexer=X,bt.lexer=X.lex,bt.Tokenizer=ve,bt.Slugger=Se,bt.parse=bt;var Ct=bt;return Ct})},"DlR+":function(B,N,i){var y=i("MFOe"),m=y.Global,E=y.trim;B.exports={name:"cookieStorage",read:v,write:d,each:f,remove:l,clearAll:n};var p=m.document;function v(a){if(!a||!t(a))return null;var o="(?:^|.*;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(o),"$1"))}function f(a){for(var o=p.cookie.split(/; ?/g),r=o.length-1;r>=0;r--){if(!E(o[r]))continue;var c=o[r].split("="),e=unescape(c[0]),s=unescape(c[1]);a(s,e)}}function d(a,o){if(!a)return;p.cookie=escape(a)+"="+escape(o)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function l(a){if(!a||!t(a))return;p.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function n(){f(function(a,o){l(o)})}function t(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("+TT/"),p=i("XpcN"),v=m.Group,f=["width","height"],d=["x","y"],l=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){l.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){l.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,a,o,r,c,e,s){var u=this;l.superCall(this,"renderInner",t,a,o,r,c,e,s);var h=this._controllerGroup,g=a.get("pageIconSize",!0);y.isArray(g)||(g=[g,g]),w("pagePrev",0);var A=a.getModel("pageTextStyle");h.add(new m.Text({name:"pageText",style:{textFill:A.getTextColor(),font:A.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),w("pageNext",1);function w(b,S){var _=b+"DataIndex",T=m.createIcon(a.get("pageIcons",!0)[a.getOrient().name][S],{onclick:y.bind(u._pageGo,u,_,a,r)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});T.name=b,h.add(T)}},layoutInner:function(t,a,o,r,c,e){var s=this.getSelectorGroup(),u=t.getOrient().index,h=f[u],g=d[u],A=f[1-u],w=d[1-u];c&&E.box("horizontal",s,t.get("selectorItemGap",!0));var b=t.get("selectorButtonGap",!0),S=s.getBoundingRect(),_=[-S.x,-S.y],T=y.clone(o);c&&(T[h]=o[h]-S[h]-b);var x=this._layoutContentAndController(t,r,T,u,h,A,w);if(c){if(e==="end")_[u]+=x[h]+b;else{var C=S[h]+b;_[u]-=C,x[g]-=C}x[h]+=S[h]+b,_[1-u]+=x[w]+x[A]/2-S[A]/2,x[A]=Math.max(x[A],S[A]),x[w]=Math.min(x[w],S[w]+_[1-u]),s.attr("position",_)}return x},_layoutContentAndController:function(t,a,o,r,c,e,s){var u=this.getContentGroup(),h=this._containerGroup,g=this._controllerGroup;E.box(t.get("orient"),u,t.get("itemGap"),r?o.width:null,r?null:o.height),E.box("horizontal",g,t.get("pageButtonItemGap",!0));var A=u.getBoundingRect(),w=g.getBoundingRect(),b=this._showController=A[c]>o[c],S=[-A.x,-A.y];a||(S[r]=u.position[r]);var _=[0,0],T=[-w.x,-w.y],x=y.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(b){var C=t.get("pageButtonPosition",!0);C==="end"?T[r]+=o[c]-w[c]:_[r]+=w[c]+x}T[1-r]+=A[e]/2-w[e]/2,u.attr("position",S),h.attr("position",_),g.attr("position",T);var I={x:0,y:0};if(I[c]=b?o[c]:A[c],I[e]=Math.max(A[e],w[e]),I[s]=Math.min(0,w[s]+T[1-r]),h.__rectSize=o[c],b){var L={x:0,y:0};L[c]=Math.max(o[c]-w[c]-x,0),L[e]=I[e],h.setClipPath(new m.Rect({shape:L})),h.__rectSize=L[c]}else g.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return M.pageIndex!=null&&m.updateProps(u,{position:M.contentPosition},b?t:!1),this._updatePageInfoView(t,M),I},_pageGo:function(t,a,o){var r=this._getPageInfo(a)[t];r!=null&&o.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:a.id})},_updatePageInfoView:function(t,a){var o=this._controllerGroup;y.each(["pagePrev","pageNext"],function(h){var g=a[h+"DataIndex"]!=null,A=o.childOfName(h);A&&(A.setStyle("fill",g?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),A.cursor=g?"pointer":"default")});var r=o.childOfName("pageText"),c=t.get("pageFormatter"),e=a.pageIndex,s=e!=null?e+1:0,u=a.pageCount;r&&c&&r.setStyle("text",y.isString(c)?c.replace("{current}",s).replace("{total}",u):c({current:s,total:u}))},_getPageInfo:function(t){var a=t.get("scrollDataIndex",!0),o=this.getContentGroup(),r=this._containerGroup.__rectSize,c=t.getOrient().index,e=f[c],s=d[c],u=this._findTargetItemIndex(a),h=o.children(),g=h[u],A=h.length,w=A?1:0,b={contentPosition:o.position.slice(),pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!g)return b;var S=I(g);b.contentPosition[c]=-S.s;for(var _=u+1,T=S,x=S,C=null;_<=A;++_)C=I(h[_]),(!C&&x.e>T.s+r||C&&!L(C,T.s))&&(x.i>T.i?T=x:T=C,T&&(b.pageNextDataIndex==null&&(b.pageNextDataIndex=T.i),++b.pageCount)),x=C;for(var _=u-1,T=S,x=S,C=null;_>=-1;--_)C=I(h[_]),(!C||!L(x,C.s))&&T.i<x.i&&(x=T,b.pagePrevDataIndex==null&&(b.pagePrevDataIndex=T.i),++b.pageCount,++b.pageIndex),T=C;return b;function I(M){if(M){var k=M.getBoundingRect(),R=k[s]+M.position[c];return{s:R,e:R+k[e],i:M.__legendDataIndex}}}function L(M,k){return M.e>=k&&M.s<=k+r}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var a,o=this.getContentGroup(),r;return o.eachChild(function(c,e){var s=c.__legendDataIndex;r==null&&s!=null&&(r=e),s===t&&(a=e)}),a!=null?a:r}}),n=l;B.exports=n},"E/ki":function(B,N,i){"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(B,N,i){(function(y,m){/*!
* @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(E,p){B.exports=p()})(this,function(){"use strict";function E(se){var Te=typeof se;return se!==null&&(Te==="object"||Te==="function")}function p(se){return typeof se=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Te){return Object.prototype.toString.call(Te)==="[object Array]"};var f=v,d=0,l=void 0,n=void 0,t=function(Te,Se){S[d]=Te,S[d+1]=Se,d+=2,d===2&&(n?n(_):x())};function a(se){n=se}function o(se){t=se}var r=typeof window!="undefined"?window:void 0,c=r||{},e=c.MutationObserver||c.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(_)}}function g(){return typeof l!="undefined"?function(){l(_)}:b()}function A(){var se=0,Te=new e(_),Se=document.createTextNode("");return Te.observe(Se,{characterData:!0}),function(){Se.data=se=++se%2}}function w(){var se=new MessageChannel;return se.port1.onmessage=_,function(){return se.port2.postMessage(0)}}function b(){var se=setTimeout;return function(){return se(_,1)}}var S=new Array(1e3);function _(){for(var se=0;se<d;se+=2){var Te=S[se],Se=S[se+1];Te(Se),S[se]=void 0,S[se+1]=void 0}d=0}function T(){try{var se=Function("return this")().require("vertx");return l=se.runOnLoop||se.runOnContext,g()}catch(Te){return b()}}var x=void 0;s?x=h():e?x=A():u?x=w():r===void 0&&!0?x=T():x=b();function C(se,Te){var Se=this,ie=new this.constructor(M);ie[L]===void 0&&fe(ie);var de=Se._state;if(de){var _e=arguments[de-1];t(function(){return ce(de,ie,_e,Se._result)})}else ve(Se,ie,se,Te);return ie}function I(se){var Te=this;if(se&&typeof se=="object"&&se.constructor===Te)return se;var Se=new Te(M);return G(Se,se),Se}var L=Math.random().toString(36).substring(2);function M(){}var k=void 0,R=1,j=2;function V(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function H(se,Te,Se,ie){try{se.call(Te,Se,ie)}catch(de){return de}}function P(se,Te,Se){t(function(ie){var de=!1,_e=H(Se,Te,function(We){if(de)return;de=!0,Te!==We?G(ie,We):Z(ie,We)},function(We){if(de)return;de=!0,J(ie,We)},"Settle: "+(ie._label||" unknown promise"));!de&&_e&&(de=!0,J(ie,_e))},se)}function K(se,Te){Te._state===R?Z(se,Te._result):Te._state===j?J(se,Te._result):ve(Te,void 0,function(Se){return G(se,Se)},function(Se){return J(se,Se)})}function U(se,Te,Se){Te.constructor===se.constructor&&Se===C&&Te.constructor.resolve===I?K(se,Te):Se===void 0?Z(se,Te):p(Se)?P(se,Te,Se):Z(se,Te)}function G(se,Te){if(se===Te)J(se,V());else if(E(Te)){var Se=void 0;try{Se=Te.then}catch(ie){J(se,ie);return}U(se,Te,Se)}else Z(se,Te)}function W(se){se._onerror&&se._onerror(se._result),q(se)}function Z(se,Te){if(se._state!==k)return;se._result=Te,se._state=R,se._subscribers.length!==0&&t(q,se)}function J(se,Te){if(se._state!==k)return;se._state=j,se._result=Te,t(W,se)}function ve(se,Te,Se,ie){var de=se._subscribers,_e=de.length;se._onerror=null,de[_e]=Te,de[_e+R]=Se,de[_e+j]=ie,_e===0&&se._state&&t(q,se)}function q(se){var Te=se._subscribers,Se=se._state;if(Te.length===0)return;for(var ie=void 0,de=void 0,_e=se._result,We=0;We<Te.length;We+=3)ie=Te[We],de=Te[We+Se],ie?ce(Se,ie,de,_e):de(_e);se._subscribers.length=0}function ce(se,Te,Se,ie){var de=p(Se),_e=void 0,We=void 0,at=!0;if(de){try{_e=Se(ie)}catch(tt){at=!1,We=tt}if(Te===_e){J(Te,D());return}}else _e=ie;Te._state!==k||(de&&at?G(Te,_e):at===!1?J(Te,We):se===R?Z(Te,_e):se===j&&J(Te,_e))}function be(se,Te){try{Te(function(ie){G(se,ie)},function(ie){J(se,ie)})}catch(Se){J(se,Se)}}var Ce=0;function Fe(){return Ce++}function fe(se){se[L]=Ce++,se._state=void 0,se._result=void 0,se._subscribers=[]}function Ne(){return new Error("Array Methods must be provided an Array")}var Q=function(){function se(Te,Se){this._instanceConstructor=Te,this.promise=new Te(M),this.promise[L]||fe(this.promise),f(Se)?(this.length=Se.length,this._remaining=Se.length,this._result=new Array(this.length),this.length===0?Z(this.promise,this._result):(this.length=this.length||0,this._enumerate(Se),this._remaining===0&&Z(this.promise,this._result))):J(this.promise,Ne())}return se.prototype._enumerate=function(Se){for(var ie=0;this._state===k&&ie<Se.length;ie++)this._eachEntry(Se[ie],ie)},se.prototype._eachEntry=function(Se,ie){var de=this._instanceConstructor,_e=de.resolve;if(_e===I){var We=void 0,at=void 0,tt=!1;try{We=Se.then}catch(yt){tt=!0,at=yt}if(We===C&&Se._state!==k)this._settledAt(Se._state,ie,Se._result);else if(typeof We!="function")this._remaining--,this._result[ie]=Se;else if(de===Y){var Oe=new de(M);tt?J(Oe,at):U(Oe,Se,We),this._willSettleAt(Oe,ie)}else this._willSettleAt(new de(function(yt){return yt(Se)}),ie)}else this._willSettleAt(_e(Se),ie)},se.prototype._settledAt=function(Se,ie,de){var _e=this.promise;_e._state===k&&(this._remaining--,Se===j?J(_e,de):this._result[ie]=de),this._remaining===0&&Z(_e,this._result)},se.prototype._willSettleAt=function(Se,ie){var de=this;ve(Se,void 0,function(_e){return de._settledAt(R,ie,_e)},function(_e){return de._settledAt(j,ie,_e)})},se}();function ae(se){return new Q(this,se).promise}function Ue(se){var Te=this;return f(se)?new Te(function(Se,ie){for(var de=se.length,_e=0;_e<de;_e++)Te.resolve(se[_e]).then(Se,ie)}):new Te(function(Se,ie){return ie(new TypeError("You must pass an array to race."))})}function te(se){var Te=this,Se=new Te(M);return J(Se,se),Se}function X(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Y=function(){function se(Te){this[L]=Fe(),this._result=this._state=void 0,this._subscribers=[],M!==Te&&(typeof Te!="function"&&X(),this instanceof se?be(this,Te):z())}return se.prototype.catch=function(Se){return this.then(null,Se)},se.prototype.finally=function(Se){var ie=this,de=ie.constructor;return p(Se)?ie.then(function(_e){return de.resolve(Se()).then(function(){return _e})},function(_e){return de.resolve(Se()).then(function(){throw _e})}):ie.then(Se,Se)},se}();Y.prototype.then=C,Y.all=ae,Y.race=Ue,Y.resolve=I,Y.reject=te,Y._setScheduler=a,Y._setAsap=o,Y._asap=t;function pe(){var se=void 0;if(typeof m!="undefined")se=m;else if(typeof self!="undefined")se=self;else try{se=Function("return this")()}catch(ie){throw new Error("polyfill failed because global object is unavailable in this environment")}var Te=se.Promise;if(Te){var Se=null;try{Se=Object.prototype.toString.call(Te.resolve())}catch(ie){}if(Se==="[object Promise]"&&!Te.cast)return}se.Promise=Y}return Y.polyfill=pe,Y.Promise=Y,Y})}).call(this,i("Q2Ig"),i("yLpj"))},E9nw:function(B,N){B.exports=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var y=document.activeElement,m=[],E=0;E<i.rangeCount;E++)m.push(i.getRangeAt(E));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||m.forEach(function(p){i.addRange(p)}),y&&y.focus()}}},ELLl:function(B,N,i){(function(y){y(i("VrN/"))})(function(y){var m={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},E=y.Pos;y.defineOption("autoCloseBrackets",!1,function(e,s,u){u&&u!=y.Init&&(e.removeKeyMap(v),e.state.closeBrackets=null),s&&(f(p(s,"pairs")),e.state.closeBrackets=s,e.addKeyMap(v))});function p(e,s){return s=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[s]!=null?e[s]:m[s]}var v={Backspace:n,Enter:t};function f(e){for(var s=0;s<e.length;s++){var u=e.charAt(s),h="'"+u+"'";v[h]||(v[h]=d(u))}}f(m.pairs+"`");function d(e){return function(s){return o(s,e)}}function l(e){var s=e.state.closeBrackets;if(!s||s.override)return s;var u=e.getModeAt(e.getCursor());return u.closeBrackets||s}function n(e){var s=l(e);if(!s||e.getOption("disableInput"))return y.Pass;for(var u=p(s,"pairs"),h=e.listSelections(),g=0;g<h.length;g++){if(!h[g].empty())return y.Pass;var A=r(e,h[g].head);if(!A||u.indexOf(A)%2!=0)return y.Pass}for(var g=h.length-1;g>=0;g--){var w=h[g].head;e.replaceRange("",E(w.line,w.ch-1),E(w.line,w.ch+1),"+delete")}}function t(e){var s=l(e),u=s&&p(s,"explode");if(!u||e.getOption("disableInput"))return y.Pass;for(var h=e.listSelections(),g=0;g<h.length;g++){if(!h[g].empty())return y.Pass;var A=r(e,h[g].head);if(!A||u.indexOf(A)%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 S=h[b].head.line;e.indentLine(S,null,!0),e.indentLine(S+1,null,!0)}})}function a(e){var s=y.cmpPos(e.anchor,e.head)>0;return{anchor:new E(e.anchor.line,e.anchor.ch+(s?-1:1)),head:new E(e.head.line,e.head.ch+(s?1:-1))}}function o(e,s){var u=l(e);if(!u||e.getOption("disableInput"))return y.Pass;var h=p(u,"pairs"),g=h.indexOf(s);if(g==-1)return y.Pass;for(var A=p(u,"closeBefore"),w=p(u,"triples"),b=h.charAt(g+1)==s,S=e.listSelections(),_=g%2==0,T,x=0;x<S.length;x++){var C=S[x],I=C.head,L,M=e.getRange(I,E(I.line,I.ch+1));if(_&&!C.empty())L="surround";else if((b||!_)&&M==s)b&&c(e,I)?L="both":w.indexOf(s)>=0&&e.getRange(I,E(I.line,I.ch+3))==s+s+s?L="skipThree":L="skip";else if(b&&I.ch>1&&w.indexOf(s)>=0&&e.getRange(E(I.line,I.ch-2),I)==s+s){if(I.ch>2&&/\bstring/.test(e.getTokenTypeAt(E(I.line,I.ch-2))))return y.Pass;L="addFour"}else if(b){var k=I.ch==0?" ":e.getRange(E(I.line,I.ch-1),I);if(!y.isWordChar(M)&&k!=s&&!y.isWordChar(k))L="both";else return y.Pass}else if(_&&(M.length===0||/\s/.test(M)||A.indexOf(M)>-1))L="both";else return y.Pass;if(!T)T=L;else if(T!=L)return y.Pass}var R=g%2?h.charAt(g-1):s,j=g%2?s:h.charAt(g+1);e.operation(function(){if(T=="skip")e.execCommand("goCharRight");else if(T=="skipThree")for(var V=0;V<3;V++)e.execCommand("goCharRight");else if(T=="surround"){for(var D=e.getSelections(),V=0;V<D.length;V++)D[V]=R+D[V]+j;e.replaceSelections(D,"around"),D=e.listSelections().slice();for(var V=0;V<D.length;V++)D[V]=a(D[V]);e.setSelections(D)}else T=="both"?(e.replaceSelection(R+j,null),e.triggerElectric(R+j),e.execCommand("goCharLeft")):T=="addFour"&&(e.replaceSelection(R+R+R+R,"before"),e.execCommand("goCharRight"))})}function r(e,s){var u=e.getRange(E(s.line,s.ch-1),E(s.line,s.ch+1));return u.length==2?u:null}function c(e,s){var u=e.getTokenAt(E(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(e.getTokenTypeAt(s)))}})},EMyp:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("mFDi"),p=i("K4ya"),v=i("qJCg"),f=i("iLNv"),d=i("vZ6x"),l=["inBrush","outOfBrush"],n="__ecBrushSelect",t="__ecInBrushSelectEvent",a=y.PRIORITY.VISUAL.BRUSH;y.registerLayout(a,function(w,b,S){w.eachComponent({mainType:"brush"},function(_){S&&S.type==="takeGlobalCursor"&&_.setBrushOption(S.key==="brush"?S.brushOption:{brushType:!1})}),o(w)});function o(w){w.eachComponent({mainType:"brush"},function(b){var S=b.brushTargetManager=new d(b.option,w);S.setInputRanges(b.areas,w)})}y.registerVisual(a,function(w,b,S){var _=[],T,x;w.eachComponent({mainType:"brush"},function(C,I){var L={brushId:C.id,brushIndex:I,brushName:C.name,areas:m.clone(C.areas),selected:[]};_.push(L);var M=C.option,k=M.brushLink,R=[],j=[],V=[],D=0;I||(T=M.throttleType,x=M.throttleDelay);var H=m.map(C.areas,function(Z){return h(m.defaults({boundingRect:g[Z.brushType](Z)},Z))}),P=p.createVisualMappings(C.option,l,function(Z){Z.mappingMethod="fixed"});m.isArray(k)&&m.each(k,function(Z){R[Z]=1});function K(Z){return k==="all"||R[Z]}function U(Z){return!!Z.length}w.eachSeries(function(Z,J){var ve=V[J]=[];Z.subType==="parallel"?G(Z,J,ve):W(Z,J,ve)});function G(Z,J){var ve=Z.coordinateSystem;D|=ve.hasAxisBrushed(),K(J)&&ve.eachActiveState(Z.getData(),function(q,ce){q==="active"&&(j[ce]=1)})}function W(Z,J,ve){var q=s(Z);if(!q||u(C,J))return;if(m.each(H,function(be){q[be.brushType]&&C.brushTargetManager.controlSeries(be,Z,w)&&ve.push(be),D|=U(ve)}),K(J)&&U(ve)){var ce=Z.getData();ce.each(function(be){e(q,ve,ce,be)&&(j[be]=1)})}}w.eachSeries(function(Z,J){var ve={seriesId:Z.id,seriesIndex:J,seriesName:Z.name,dataIndex:[]};L.selected.push(ve);var q=s(Z),ce=V[J],be=Z.getData(),Ce=K(J)?function(Fe){return j[Fe]?(ve.dataIndex.push(be.getRawIndex(Fe)),"inBrush"):"outOfBrush"}:function(Fe){return e(q,ce,be,Fe)?(ve.dataIndex.push(be.getRawIndex(Fe)),"inBrush"):"outOfBrush"};(K(J)?D:U(ce))&&p.applyVisual(l,P,be,Ce)})}),r(b,T,x,_,S)});function r(w,b,S,_,T){if(!T)return;var x=w.getZr();if(x[t])return;x[n]||(x[n]=c);var C=f.createOrUpdate(x,n,S,b);C(w,_)}function c(w,b){if(!w.isDisposed()){var S=w.getZr();S[t]=!0,w.dispatchAction({type:"brushSelect",batch:b}),S[t]=!1}}function e(w,b,S,_){for(var T=0,x=b.length;T<x;T++){var C=b[T];if(w[C.brushType](_,S,C.selectors,C))return!0}}function s(w){var b=w.brushSelector;if(m.isString(b)){var S=[];return m.each(v,function(T,x){S[x]=function(C,I,L,M){var k=I.getItemLayout(C);return T[b](k,L,M)}}),S}else if(m.isFunction(b)){var _={};return m.each(v,function(T,x){_[x]=b}),_}return b}function u(w,b){var S=w.option.seriesIndex;return S!=null&&S!=="all"&&(m.isArray(S)?m.indexOf(S,b)<0:b!==S)}function h(w){var b=w.selectors={};return m.each(v[w.brushType],function(S,_){b[_]=function(T){return S(T,b,w)}}),w}var g={lineX:m.noop,lineY:m.noop,rect:function(w){return A(w.range)},polygon:function(w){for(var b,S=w.range,_=0,T=S.length;_<T;_++){b=b||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=S[_];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&&A(b)}};function A(w){return new E(w[0][0],w[1][0],w[0][1]-w[0][0],w[1][1]-w[1][0])}N.layoutCovers=o},ERHi:function(B,N,i){var y=i("ProS");i("Z6js"),i("R4Th");var m=i("f5Yq"),E=i("h8O9");y.registerVisual(m("effectScatter","circle")),y.registerLayout(E("effectScatter"))},EXcs:function(B,N,i){"use strict";var y=function(){return{height:0,opacity:0}},m=function(d){return{height:d.scrollHeight,opacity:1}},E=function(d){return{height:d.offsetHeight}},p=function(d,l){return l.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:y,onEnterStart:y,onAppearActive:m,onEnterActive:m,onLeaveStart:E,onLeaveActive:y,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};N.a=v},Em2t:function(B,N,i){var y=i("bahg"),m=i("quyA"),E=i("0JQy");function p(v){return m(v)?E(v):y(v)}B.exports=p},Ez2D:function(B,N,i){var y=i("bYtY"),m=i("4NO4");function E(p,v){var f=[],d=p.seriesIndex,l;if(d==null||!(l=v.getSeriesByIndex(d)))return{point:[]};var n=l.getData(),t=m.queryDataIndex(n,p);if(t==null||t<0||y.isArray(t))return{point:[]};var a=n.getItemGraphicEl(t),o=l.coordinateSystem;if(l.getTooltipPosition)f=l.getTooltipPosition(t)||[];else if(o&&o.dataToPoint)f=o.dataToPoint(n.getValues(y.map(o.dimensions,function(c){return n.mapDimension(c)}),t,!0))||[];else if(a){var r=a.getBoundingRect().clone();r.applyTransform(a.transform),f=[r.x+r.width/2,r.y+r.height/2]}return{point:f,el:a}}B.exports=E},F0hE:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("ca2m"),p=i("Qxkt"),v=i("ICMv"),f=E.valueAxis;function d(t,a){return m.defaults({show:a},t)}var l=y.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),a=this.get("splitNumber"),o=this.get("scale"),r=this.get("axisLine"),c=this.get("axisTick"),e=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),g=this.get("name.formatter"),A=this.get("nameGap"),w=this.get("triggerEvent"),b=m.map(this.get("indicator")||[],function(S){S.max!=null&&S.max>0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var _=u;if(S.color!=null&&(_=m.defaults({color:S.color},u)),S=m.merge(m.clone(S),{boundaryGap:t,splitNumber:a,scale:o,axisLine:r,axisTick:c,axisType:e,axisLabel:s,name:S.text,nameLocation:"end",nameGap:A,nameTextStyle:_,triggerEvent:w},!1),h||(S.name=""),typeof g=="string"){var T=S.name;S.name=g.replace("{value}",T!=null?T:"")}else typeof g=="function"&&(S.name=g(S.name,S));var x=m.extend(new p(S,null,this.ecModel),v);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:m.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:[]}}),n=l;B.exports=n},F5Ls:function(B,N){var i={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function y(m,E){if(m==="china"){var p=i[E.name];if(p){var v=E.center;v[0]+=p[0]/10.5,v[1]+=-p[1]/(10.5/.75)}}}B.exports=y},F7hV:function(B,N,i){var y=i("MBQ8"),m=y.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var E=this.get("progressiveThreshold"),p=this.get("largeThreshold");return p>E&&(E=p),E},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}}});B.exports=m},F9bG:function(B,N,i){var y=i("bYtY"),m=i("ItGF"),E=i("4NO4"),p=E.makeInner,v=p(),f=y.each;function d(c,e,s){if(m.node)return;var u=e.getZr();v(u).records||(v(u).records={}),l(u,e);var h=v(u).records[c]||(v(u).records[c]={});h.handler=s}function l(c,e){if(v(c).initialized)return;v(c).initialized=!0,s("click",y.curry(a,"click")),s("mousemove",y.curry(a,"mousemove")),s("globalout",t);function s(u,h){c.on(u,function(g){var A=o(e);f(v(c).records,function(w){w&&h(w,g,A.dispatchAction)}),n(A.pendings,e)})}}function n(c,e){var s=c.showTip.length,u=c.hideTip.length,h;s?h=c.showTip[s-1]:u&&(h=c.hideTip[u-1]),h&&(h.dispatchAction=null,e.dispatchAction(h))}function t(c,e,s){c.handler("leave",null,s)}function a(c,e,s,u){e.handler(c,s,u)}function o(c){var e={showTip:[],hideTip:[]},s=function(u){var h=e[u.type];h?h.push(u):(u.dispatchAction=s,c.dispatchAction(u))};return{dispatchAction:s,pendings:e}}function r(c,e){if(m.node)return;var s=e.getZr(),u=(v(s).records||{})[c];u&&(v(s).records[c]=null)}N.register=d,N.unregister=r},FBjb:function(B,N,i){var y=i("bYtY"),m=i("oVpE"),E=m.createSymbol,p=i("IwbS"),v=i("OELB"),f=v.parsePercent,d=i("x3X8"),l=d.getDefaultLabel;function n(A,w,b){p.Group.call(this),this.updateData(A,w,b)}var t=n.prototype,a=n.getSymbolSize=function(A,w){var b=A.getItemVisual(w,"symbolSize");return b instanceof Array?b.slice():[+b,+b]};function o(A){return[A[0]/2,A[1]/2]}function r(A,w){this.parent.drift(A,w)}t._createSymbol=function(A,w,b,S,_){this.removeAll();var T=w.getItemVisual(b,"color"),x=E(A,-1,-1,2,2,T,_);x.attr({z2:100,culling:!0,scale:o(S)}),x.drift=r,this._symbolType=A,this.add(x)},t.stopSymbolAnimation=function(A){this.childAt(0).stopAnimation(A)},t.getSymbolPath=function(){return this.childAt(0)},t.getScale=function(){return this.childAt(0).scale},t.highlight=function(){this.childAt(0).trigger("emphasis")},t.downplay=function(){this.childAt(0).trigger("normal")},t.setZ=function(A,w){var b=this.childAt(0);b.zlevel=A,b.z=w},t.setDraggable=function(A){var w=this.childAt(0);w.draggable=A,w.cursor=A?"move":w.cursor},t.updateData=function(A,w,b){this.silent=!1;var S=A.getItemVisual(w,"symbol")||"circle",_=A.hostModel,T=a(A,w),x=S!==this._symbolType;if(x){var C=A.getItemVisual(w,"symbolKeepAspect");this._createSymbol(S,A,w,T,C)}else{var I=this.childAt(0);I.silent=!1,p.updateProps(I,{scale:o(T)},_,w)}if(this._updateCommon(A,w,T,b),x){var I=this.childAt(0),L=b&&b.fadeIn,M={scale:I.scale.slice()};L&&(M.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),p.initProps(I,M,_,w)}this._seriesModel=_};var c=["itemStyle"],e=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];t._updateCommon=function(A,w,b,S){var _=this.childAt(0),T=A.hostModel,x=A.getItemVisual(w,"color");_.type!=="image"?_.useStyle({strokeNoScale:!0}):_.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=S&&S.itemStyle,I=S&&S.hoverItemStyle,L=S&&S.symbolOffset,M=S&&S.labelModel,k=S&&S.hoverLabelModel,R=S&&S.hoverAnimation,j=S&&S.cursorStyle;if(!S||A.hasItemOption){var V=S&&S.itemModel?S.itemModel:A.getItemModel(w);C=V.getModel(c).getItemStyle(["color"]),I=V.getModel(e).getItemStyle(),L=V.getShallow("symbolOffset"),M=V.getModel(s),k=V.getModel(u),R=V.getShallow("hoverAnimation"),j=V.getShallow("cursor")}else I=y.extend({},I);var D=_.style,H=A.getItemVisual(w,"symbolRotate");_.attr("rotation",(H||0)*Math.PI/180||0),L&&_.attr("position",[f(L[0],b[0]),f(L[1],b[1])]),j&&_.attr("cursor",j),_.setColor(x,S&&S.symbolInnerColor),_.setStyle(C);var P=A.getItemVisual(w,"opacity");P!=null&&(D.opacity=P);var K=A.getItemVisual(w,"liftZ"),U=_.__z2Origin;K!=null?U==null&&(_.__z2Origin=_.z2,_.z2+=K):U!=null&&(_.z2=U,_.__z2Origin=null);var G=S&&S.useNameLabel;p.setLabelStyle(D,I,M,k,{labelFetcher:T,labelDataIndex:w,defaultText:W,isRectText:!0,autoColor:x});function W(Z,J){return G?A.getName(Z):l(A,Z)}_.__symbolOriginalScale=o(b),_.hoverStyle=I,_.highDownOnUpdate=R&&T.isAnimationEnabled()?h:null,p.setHoverStyle(_)};function h(A,w){if(this.incremental||this.useHoverLayer)return;if(w==="emphasis"){var b=this.__symbolOriginalScale,S=b[1]/b[0],_={scale:[Math.max(b[0]*1.1,b[0]+3),Math.max(b[1]*1.1,b[1]+3*S)]};this.animateTo(_,400,"elasticOut")}else w==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}t.fadeOut=function(A,w){var b=this.childAt(0);this.silent=b.silent=!0,!(w&&w.keepLabel)&&(b.style.text=null),p.updateProps(b,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,A)},y.inherits(n,p.Group);var g=n;B.exports=g},FGaS:function(B,N,i){var y=i("ProS"),m=i("IwbS"),E=i("bYtY"),p=i("oVpE");function v(d){return E.isArray(d)||(d=[+d,+d]),d}var f=y.extendChartView({type:"radar",render:function(d,l,n){var t=d.coordinateSystem,a=this.group,o=d.getData(),r=this._data;function c(u,h){var g=u.getItemVisual(h,"symbol")||"circle",A=u.getItemVisual(h,"color");if(g==="none")return;var w=v(u.getItemVisual(h,"symbolSize")),b=p.createSymbol(g,-1,-1,2,2,A);return b.attr({style:{strokeNoScale:!0},z2:100,scale:[w[0]/2,w[1]/2]}),b}function e(u,h,g,A,w,b){g.removeAll();for(var S=0;S<h.length-1;S++){var _=c(A,w);_&&(_.__dimIdx=S,u[S]?(_.attr("position",u[S]),m[b?"initProps":"updateProps"](_,{position:h[S]},d,w)):_.attr("position",h[S]),g.add(_))}}function s(u){return E.map(u,function(h){return[t.cx,t.cy]})}o.diff(r).add(function(u){var h=o.getItemLayout(u);if(!h)return;var g=new m.Polygon,A=new m.Polyline,w={shape:{points:h}};g.shape.points=s(h),A.shape.points=s(h),m.initProps(g,w,d,u),m.initProps(A,w,d,u);var b=new m.Group,S=new m.Group;b.add(A),b.add(g),b.add(S),e(A.shape.points,h,S,o,u,!0),o.setItemGraphicEl(u,b)}).update(function(u,h){var g=r.getItemGraphicEl(h),A=g.childAt(0),w=g.childAt(1),b=g.childAt(2),S={shape:{points:o.getItemLayout(u)}};if(!S.shape.points)return;e(A.shape.points,S.shape.points,b,o,u,!1),m.updateProps(A,S,d),m.updateProps(w,S,d),o.setItemGraphicEl(u,g)}).remove(function(u){a.remove(r.getItemGraphicEl(u))}).execute(),o.eachItemGraphicEl(function(u,h){var g=o.getItemModel(h),A=u.childAt(0),w=u.childAt(1),b=u.childAt(2),S=o.getItemVisual(h,"color");a.add(u),A.useStyle(E.defaults(g.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:S})),A.hoverStyle=g.getModel("emphasis.lineStyle").getLineStyle();var _=g.getModel("areaStyle"),T=g.getModel("emphasis.areaStyle"),x=_.isEmpty()&&_.parentModel.isEmpty(),C=T.isEmpty()&&T.parentModel.isEmpty();C=C&&x,w.ignore=x,w.useStyle(E.defaults(_.getAreaStyle(),{fill:S,opacity:.7})),w.hoverStyle=T.getAreaStyle();var I=g.getModel("itemStyle").getItemStyle(["color"]),L=g.getModel("emphasis.itemStyle").getItemStyle(),M=g.getModel("label"),k=g.getModel("emphasis.label");b.eachChild(function(R){R.setStyle(I),R.hoverStyle=E.clone(L);var j=o.get(o.dimensions[R.__dimIdx],h);(j==null||isNaN(j))&&(j=""),m.setLabelStyle(R.style,R.hoverStyle,M,k,{labelFetcher:o.hostModel,labelDataIndex:h,labelDimIndex:R.__dimIdx,defaultText:j,autoColor:S,isRectText:!0})}),u.highDownOnUpdate=function(R,j){w.attr("ignore",j==="emphasis"?C:x)},m.setHoverStyle(u)}),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});B.exports=f},FH2Y:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("ZMnZ"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},FNN5:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("+rIm"),p=i("Znkb"),v=["axisLine","axisTickLabel","axisName"],f=["splitLine","splitArea","minorSplitLine"],d=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(n,t){if(this.group.removeAll(),!n.get("show"))return;var a=n.axis,o=a.polar,r=o.getAngleAxis(),c=a.getTicksCoords(),e=a.getMinorTicksCoords(),s=r.getExtent()[0],u=a.getExtent(),h=l(o,n,s),g=new E(n,h);y.each(v,g.add,g),this.group.add(g.getGroup()),y.each(f,function(A){n.get(A+".show")&&!a.scale.isBlank()&&this["_"+A](n,o,s,u,c,e)},this)},_splitLine:function(n,t,a,o,r){var c=n.getModel("splitLine"),e=c.getModel("lineStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],g=0;g<r.length;g++){var A=u++%s.length;h[A]=h[A]||[],h[A].push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:r[g].coord}}))}for(var g=0;g<h.length;g++)this.group.add(m.mergePath(h[g],{style:y.defaults({stroke:s[g%s.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(n,t,a,o,r,c){if(!c.length)return;for(var e=n.getModel("minorSplitLine"),s=e.getModel("lineStyle"),u=[],h=0;h<c.length;h++)for(var g=0;g<c[h].length;g++)u.push(new m.Circle({shape:{cx:t.cx,cy:t.cy,r:c[h][g].coord}}));this.group.add(m.mergePath(u,{style:y.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(n,t,a,o,r){if(!r.length)return;var c=n.getModel("splitArea"),e=c.getModel("areaStyle"),s=e.get("color"),u=0;s=s instanceof Array?s:[s];for(var h=[],g=r[0].coord,A=1;A<r.length;A++){var w=u++%s.length;h[w]=h[w]||[],h[w].push(new m.Sector({shape:{cx:t.cx,cy:t.cy,r0:g,r:r[A].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),g=r[A].coord}for(var A=0;A<h.length;A++)this.group.add(m.mergePath(h[A],{style:y.defaults({fill:s[A%s.length]},e.getAreaStyle()),silent:!0}))}});function l(n,t,a){return{position:[n.cx,n.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}B.exports=d},FUi9:function(B,N,i){var y=i("bYtY"),m=i("MwEJ"),E=i("aX7z"),p=i("ICMv"),v=i("Qxkt"),f=i("+TT/"),d=f.getLayoutRect;N.getLayoutRect=f.getLayoutRect;var l=i("7hqr"),n=l.enableDataStack,t=l.isDimensionStacked,a=l.getStackedDimension,o=i("hi0g");N.completeDimensions=o;var r=i("sdST");N.createDimensions=r;var c=i("oVpE");N.createSymbol=c.createSymbol;function e(g){return m(g.getSource(),g)}var s={isDimensionStacked:t,enableDataStack:n,getStackedDimension:a};function u(g,A){var w=A;v.isInstance(A)||(w=new v(A),y.mixin(w,p));var b=E.createScaleByModel(w);return b.setExtent(g[0],g[1]),E.niceScaleExtent(b,w),b}function h(g){y.mixin(g,p)}N.createList=e,N.dataStack=s,N.createScale=u,N.mixinAxisModelCommonMethods=h},"Fa/5":function(B,N,i){var y=i("ProS");i("y2l5"),i("q/+u");var m=i("f5Yq"),E=i("h8O9");i("Ae16"),y.registerVisual(m("scatter","circle")),y.registerLayout(E("scatter"))},FhB9:function(B,N,i){"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(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("a7Wl")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretUpOutlined";var l=p.forwardRef(d);N.default=l},Fofx:function(B,N){var i=typeof Float32Array=="undefined"?Array:Float32Array;function y(){var t=new i(6);return m(t),t}function m(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function E(t,a){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4],t[5]=a[5],t}function p(t,a,o){var r=a[0]*o[0]+a[2]*o[1],c=a[1]*o[0]+a[3]*o[1],e=a[0]*o[2]+a[2]*o[3],s=a[1]*o[2]+a[3]*o[3],u=a[0]*o[4]+a[2]*o[5]+a[4],h=a[1]*o[4]+a[3]*o[5]+a[5];return t[0]=r,t[1]=c,t[2]=e,t[3]=s,t[4]=u,t[5]=h,t}function v(t,a,o){return t[0]=a[0],t[1]=a[1],t[2]=a[2],t[3]=a[3],t[4]=a[4]+o[0],t[5]=a[5]+o[1],t}function f(t,a,o){var r=a[0],c=a[2],e=a[4],s=a[1],u=a[3],h=a[5],g=Math.sin(o),A=Math.cos(o);return t[0]=r*A+s*g,t[1]=-r*g+s*A,t[2]=c*A+u*g,t[3]=-c*g+A*u,t[4]=A*e+g*h,t[5]=A*h-g*e,t}function d(t,a,o){var r=o[0],c=o[1];return t[0]=a[0]*r,t[1]=a[1]*c,t[2]=a[2]*r,t[3]=a[3]*c,t[4]=a[4]*r,t[5]=a[5]*c,t}function l(t,a){var o=a[0],r=a[2],c=a[4],e=a[1],s=a[3],u=a[5],h=o*s-e*r;return h?(h=1/h,t[0]=s*h,t[1]=-e*h,t[2]=-r*h,t[3]=o*h,t[4]=(r*u-s*c)*h,t[5]=(e*c-o*u)*h,t):null}function n(t){var a=y();return E(a,t),a}N.create=y,N.identity=m,N.copy=E,N.mul=p,N.translate=v,N.rotate=f,N.scale=d,N.invert=l,N.clone=n},Fv0C:function(B,N,i){"use strict";function y(c){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(c)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=n(i("Lo0S")),E=i("vewr"),p=n(i("8CQX")),v=d(i("mHUz")),f=n(i("GdRQ"));function d(c){return c&&c.__esModule?c:{default:c}}function l(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return l=function(){return c},c}function n(c){if(c&&c.__esModule)return c;if(c===null||y(c)!=="object"&&typeof c!="function")return{default:c};var e=l();if(e&&e.has(c))return e.get(c);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in c)if(Object.prototype.hasOwnProperty.call(c,h)){var g=u?Object.getOwnPropertyDescriptor(c,h):null;g&&(g.get||g.set)?Object.defineProperty(s,h,g):s[h]=c[h]}return s.default=c,e&&e.set(c,s),s}function t(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function a(c,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(c,u.key,u)}}function o(c,e,s){return e&&a(c.prototype,e),s&&a(c,s),c}var r=function(){function c(e){t(this,c),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(c,[{key:"_sendKeyEvent",value:function(s,u,h){if(h)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}m.Debug("onkeyevent "+(h?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,h)}},{key:"_getKeyCode",value:function(s){var u=p.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),g=String.fromCharCode(h).toUpperCase();return"Platform"+g.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),h=p.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?h=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){h&&(this._sendKeyEvent(h,u,!0),this._sendKeyEvent(h,u,!1)),(0,E.stopEvent)(s);return}if(f.isMac()||f.isIOS())switch(h){case v.default.XK_Super_L:h=v.default.XK_Alt_L;break;case v.default.XK_Super_R:h=v.default.XK_Super_L;break;case v.default.XK_Alt_L:h=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:h=v.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(h=this._keyDownList[u]),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,E.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,E.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,E.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),h=p.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!h){m.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 g=String.fromCharCode(s.keyCode);s.shiftKey?g=g.toUpperCase():g=g.toLowerCase(),u=g.charCodeAt()}else u=0;this._sendKeyEvent(u,h,!0)}},{key:"_handleKeyUp",value:function(s){(0,E.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.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(v.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){m.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);m.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(g){if(!(g in h))return;var A=new KeyboardEvent("keyup",{key:h[g],code:g});A.skipCheckAlt=!0,u.dispatchEvent(A)})}},{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()}}]),c}();N.default=r},FxDU:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=i("QO+J"),m=i("j5sG"),E=typeof ResizeObserver!="undefined"?m.createSensor:y.createSensor;N.createSensor=E},GGyF:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("wgjA")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="LeftOutlined";var l=p.forwardRef(d);N.default=l},GIiI:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PoweroffOutlined";var d=N.a=m.forwardRef(f)},GMDS:function(B,N,i){var y=i("bYtY"),m=i("4NgU"),E=i("jkPA"),p=m.prototype,v=m.extend({type:"ordinal",init:function(d,l){(!d||y.isArray(d))&&(d=new E({categories:d})),this._ordinalMeta=d,this._extent=l||[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),p.contain.call(this,d)&&this._ordinalMeta.categories[d]!=null},normalize:function(d){return p.normalize.call(this,this.parse(d))},scale:function(d){return Math.round(p.scale.call(this,d))},getTicks:function(){for(var d=[],l=this._extent,n=l[0];n<=l[1];)d.push(n),n++;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,l){this.unionExtent(d.getApproximateExtent(l))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:y.noop,niceExtent:y.noop});v.create=function(){return new v};var f=v;B.exports=f},GQ8N:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.toUnsigned32bit=y,N.toSigned32bit=m;function y(E){return E>>>0}function m(E){return E|0}},GUcZ:function(B,N,i){"use strict";var y=i("XKWP"),m=i("N7Kx"),E=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Re,Ve){return Re.__proto__=Ve,Re},Object.assign=Object.assign||function(Re){if(Re==null)throw new TypeError("Cannot convert undefined or null to object");for(var Ve=Object(Re),Xe=1;Xe<arguments.length;Xe++){var ct=arguments[Xe];if(ct!=null)for(var tr in ct)ct.hasOwnProperty(tr)&&(Ve[tr]=ct[tr])}return Ve},typeof self.Promise!="function"&&i("E2g8").polyfill()}}]),Tt}();E.install();var p=E,v=i("+qE3"),f=i.n(v),d=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"e",value:function(Re,Ve){(!Re||Tt.FORCE_GLOBAL_TAG)&&(Re=Tt.GLOBAL_TAG);var Xe="[".concat(Re,"] > ").concat(Ve);if(Tt.ENABLE_CALLBACK&&Tt.emitter.emit("log","error",Xe),!Tt.ENABLE_ERROR)return;console.error?console.error(Xe):console.warn?console.warn(Xe):console.log(Xe)}},{key:"i",value:function(Re,Ve){(!Re||Tt.FORCE_GLOBAL_TAG)&&(Re=Tt.GLOBAL_TAG);var Xe="[".concat(Re,"] > ").concat(Ve);if(Tt.ENABLE_CALLBACK&&Tt.emitter.emit("log","info",Xe),!Tt.ENABLE_INFO)return;console.info?console.info(Xe):console.log(Xe)}},{key:"w",value:function(Re,Ve){(!Re||Tt.FORCE_GLOBAL_TAG)&&(Re=Tt.GLOBAL_TAG);var Xe="[".concat(Re,"] > ").concat(Ve);if(Tt.ENABLE_CALLBACK&&Tt.emitter.emit("log","warn",Xe),!Tt.ENABLE_WARN)return;console.warn?console.warn(Xe):console.log(Xe)}},{key:"d",value:function(Re,Ve){(!Re||Tt.FORCE_GLOBAL_TAG)&&(Re=Tt.GLOBAL_TAG);var Xe="[".concat(Re,"] > ").concat(Ve);if(Tt.ENABLE_CALLBACK&&Tt.emitter.emit("log","debug",Xe),!Tt.ENABLE_DEBUG)return;console.debug?console.debug(Xe):console.log(Xe)}},{key:"v",value:function(Re,Ve){(!Re||Tt.FORCE_GLOBAL_TAG)&&(Re=Tt.GLOBAL_TAG);var Xe="[".concat(Re,"] > ").concat(Ve);if(Tt.ENABLE_CALLBACK&&Tt.emitter.emit("log","verbose",Xe),!Tt.ENABLE_VERBOSE)return;console.log(Xe)}}]),Tt}();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 l=d,n=function(){function Tt(){Object(y.a)(this,Tt),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(m.a)(Tt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Re){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Re,this._totalBytes+=Re):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Re,this._totalBytes+=Re):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Re,this._totalBytes+=Re,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Re=(this._now()-this._lastCheckpoint)/1e3;return Re==0&&(Re=1),this._intervalBytes/Re/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 Re=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Re/1024}}]),Tt}(),t=n,a=i("kFHX"),o=i("4jIl"),r=function(){function Tt(St){Object(y.a)(this,Tt),this._message=St}return Object(m.a)(Tt,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Tt}(),c=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve){return Object(y.a)(this,Re),St.call(this,Ve)}return Object(m.a)(Re,[{key:"name",get:function(){return"IllegalStateException"}}]),Re}(r),e=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve){return Object(y.a)(this,Re),St.call(this,Ve)}return Object(m.a)(Re,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Re}(r),s=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve){return Object(y.a)(this,Re),St.call(this,Ve)}return Object(m.a)(Re,[{key:"name",get:function(){return"NotImplementedException"}}]),Re}(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"},g=function(){function Tt(St){Object(y.a)(this,Tt),this._type=St||"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(m.a)(Tt,[{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(Re){this._onContentLengthKnown=Re}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Re){this._onURLRedirect=Re}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Re){this._onDataArrival=Re}},{key:"onError",get:function(){return this._onError},set:function(Re){this._onError=Re}},{key:"onComplete",get:function(){return this._onComplete},set:function(Re){this._onComplete=Re}},{key:"open",value:function(Re,Ve){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}}]),Tt}(),A=i("2KFj"),w=i("XPR9"),b={};function S(){var Tt=self.navigator.userAgent.toLowerCase(),St=/(edge)\/([\w.]+)/.exec(Tt)||/(opr)[\/]([\w.]+)/.exec(Tt)||/(chrome)[ \/]([\w.]+)/.exec(Tt)||/(iemobile)[\/]([\w.]+)/.exec(Tt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Tt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Tt)||/(webkit)[ \/]([\w.]+)/.exec(Tt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Tt)||/(msie) ([\w.]+)/.exec(Tt)||Tt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Tt)||Tt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Tt)||[],Re=/(ipad)/.exec(Tt)||/(ipod)/.exec(Tt)||/(windows phone)/.exec(Tt)||/(iphone)/.exec(Tt)||/(kindle)/.exec(Tt)||/(android)/.exec(Tt)||/(windows)/.exec(Tt)||/(mac)/.exec(Tt)||/(linux)/.exec(Tt)||/(cros)/.exec(Tt)||[],Ve={browser:St[5]||St[3]||St[1]||"",version:St[2]||St[4]||"0",majorVersion:St[4]||St[2]||"0",platform:Re[0]||""},Xe={};if(Ve.browser){Xe[Ve.browser]=!0;var ct=Ve.majorVersion.split(".");Xe.version={major:parseInt(Ve.majorVersion,10),string:Ve.version},ct.length>1&&(Xe.version.minor=parseInt(ct[1],10)),ct.length>2&&(Xe.version.build=parseInt(ct[2],10))}if(Ve.platform&&(Xe[Ve.platform]=!0),(Xe.chrome||Xe.opr||Xe.safari)&&(Xe.webkit=!0),Xe.rv||Xe.iemobile){Xe.rv&&delete Xe.rv;var tr="msie";Ve.browser=tr,Xe[tr]=!0}if(Xe.edge){delete Xe.edge;var ir="msedge";Ve.browser=ir,Xe[ir]=!0}if(Xe.opr){var or="opera";Ve.browser=or,Xe[or]=!0}if(Xe.safari&&Xe.android){var Xr="android";Ve.browser=Xr,Xe[Xr]=!0}Xe.name=Ve.browser,Xe.platform=Ve.platform;for(var Yr in b)b.hasOwnProperty(Yr)&&delete b[Yr];Object.assign(b,Xe)}S();var _=b,T=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve,Xe){var ct;return Object(y.a)(this,Re),ct=St.call(this,"fetch-stream-loader"),ct.TAG="FetchStreamLoader",ct._seekHandler=Ve,ct._config=Xe,ct._needStash=!0,ct._requestAbort=!1,ct._contentLength=null,ct._receivedLength=0,ct}return Object(m.a)(Re,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(A.a)(Object(w.a)(Re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Xe,ct){var tr=this;this._dataSource=Xe,this._range=ct;var ir=Xe.url;this._config.reuseRedirectedURL&&Xe.redirectedURL!=null&&(ir=Xe.redirectedURL);var or=this._seekHandler.getConfig(ir,ct),Xr=new self.Headers;if(typeof or.headers=="object"){var Yr=or.headers;for(var bn in Yr)Yr.hasOwnProperty(bn)&&Xr.append(bn,Yr[bn])}var Yt={method:"GET",headers:Xr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var pt in this._config.headers)Xr.append(pt,this._config.headers[pt]);Xe.cors===!1&&(Yt.mode="same-origin"),Xe.withCredentials&&(Yt.credentials="include"),Xe.referrerPolicy&&(Yt.referrerPolicy=Xe.referrerPolicy),this._status=u.kConnecting,self.fetch(or.url,Yt).then(function(ht){if(tr._requestAbort){tr._requestAbort=!1,tr._status=u.kIdle;return}if(ht.ok&&ht.status>=200&&ht.status<=299){if(ht.url!==or.url&&tr._onURLRedirect){var Zt=tr._seekHandler.removeURLParameters(ht.url);tr._onURLRedirect(Zt)}var $t=ht.headers.get("Content-Length");return $t!=null&&(tr._contentLength=parseInt($t),tr._contentLength!==0&&(tr._onContentLengthKnown&&tr._onContentLengthKnown(tr._contentLength))),tr._pump.call(tr,ht.body.getReader())}else if(tr._status=u.kError,tr._onError)tr._onError(h.HTTP_STATUS_CODE_INVALID,{code:ht.status,msg:ht.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+ht.status+" "+ht.statusText)}).catch(function(ht){if(tr._status=u.kError,tr._onError)tr._onError(h.EXCEPTION,{code:-1,msg:ht.message});else throw ht})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Xe){var ct=this;return Xe.read().then(function(tr){if(tr.done)if(ct._contentLength!==null&&ct._receivedLength<ct._contentLength){ct._status=u.kError;var ir=h.EARLY_EOF,or={code:-1,msg:"Fetch stream meet Early-EOF"};if(ct._onError)ct._onError(ir,or);else throw new r(or.msg)}else ct._status=u.kComplete,ct._onComplete&&ct._onComplete(ct._range.from,ct._range.from+ct._receivedLength-1);else{if(ct._requestAbort===!0)return ct._requestAbort=!1,ct._status=u.kComplete,Xe.cancel();ct._status=u.kBuffering;var Xr=tr.value.buffer,Yr=ct._range.from+ct._receivedLength;ct._receivedLength+=Xr.byteLength,ct._onDataArrival&&ct._onDataArrival(Xr,Yr,ct._receivedLength),ct._pump(Xe)}}).catch(function(tr){if(tr.code===11&&_.msedge)return;ct._status=u.kError;var ir=0,or=null;if((tr.code===19||tr.message==="network error")&&(ct._contentLength===null||ct._contentLength!==null&&ct._receivedLength<ct._contentLength)?(ir=h.EARLY_EOF,or={code:tr.code,msg:"Fetch stream meet Early-EOF"}):(ir=h.EXCEPTION,or={code:tr.code,msg:tr.message}),ct._onError)ct._onError(ir,or);else throw new r(or.msg)})}}],[{key:"isSupported",value:function(){try{var Xe=_.msedge&&_.version.minor>=15048,ct=_.msedge?Xe:!0;return self.fetch&&self.ReadableStream&&ct}catch(tr){return!1}}}]),Re}(g),x=T,C=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve,Xe){var ct;return Object(y.a)(this,Re),ct=St.call(this,"xhr-moz-chunked-loader"),ct.TAG="MozChunkedLoader",ct._seekHandler=Ve,ct._config=Xe,ct._needStash=!0,ct._xhr=null,ct._requestAbort=!1,ct._contentLength=null,ct._receivedLength=0,ct}return Object(m.a)(Re,[{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(A.a)(Object(w.a)(Re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Xe,ct){this._dataSource=Xe,this._range=ct;var tr=Xe.url;this._config.reuseRedirectedURL&&Xe.redirectedURL!=null&&(tr=Xe.redirectedURL);var ir=this._seekHandler.getConfig(tr,ct);this._requestURL=ir.url;var or=this._xhr=new XMLHttpRequest;if(or.open("GET",ir.url,!0),or.responseType="moz-chunked-arraybuffer",or.onreadystatechange=this._onReadyStateChange.bind(this),or.onprogress=this._onProgress.bind(this),or.onloadend=this._onLoadEnd.bind(this),or.onerror=this._onXhrError.bind(this),Xe.withCredentials&&(or.withCredentials=!0),typeof ir.headers=="object"){var Xr=ir.headers;for(var Yr in Xr)Xr.hasOwnProperty(Yr)&&or.setRequestHeader(Yr,Xr[Yr])}if(typeof this._config.headers=="object"){var bn=this._config.headers;for(var Yt in bn)bn.hasOwnProperty(Yt)&&or.setRequestHeader(Yt,bn[Yt])}this._status=u.kConnecting,or.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Xe){var ct=Xe.target;if(ct.readyState===2){if(ct.responseURL!=null&&ct.responseURL!==this._requestURL&&this._onURLRedirect){var tr=this._seekHandler.removeURLParameters(ct.responseURL);this._onURLRedirect(tr)}if(ct.status!==0&&(ct.status<200||ct.status>299))if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ct.status,msg:ct.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+ct.status+" "+ct.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Xe){if(this._status===u.kError)return;this._contentLength===null&&(Xe.total!==null&&Xe.total!==0&&(this._contentLength=Xe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ct=Xe.target.response,tr=this._range.from+this._receivedLength;this._receivedLength+=ct.byteLength,this._onDataArrival&&this._onDataArrival(ct,tr,this._receivedLength)}},{key:"_onLoadEnd",value:function(Xe){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(Xe){this._status=u.kError;var ct=0,tr=null;if(this._contentLength&&Xe.loaded<this._contentLength?(ct=h.EARLY_EOF,tr={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ct=h.EXCEPTION,tr={code:-1,msg:Xe.constructor.name+" "+Xe.type}),this._onError)this._onError(ct,tr);else throw new r(tr.msg)}}],[{key:"isSupported",value:function(){try{var Xe=new XMLHttpRequest;return Xe.open("GET","https://example.com",!0),Xe.responseType="moz-chunked-arraybuffer",Xe.responseType==="moz-chunked-arraybuffer"}catch(ct){return l.w("MozChunkedLoader",ct.message),!1}}}]),Re}(g),I=C,L=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve,Xe){var ct;return Object(y.a)(this,Re),ct=St.call(this,"xhr-msstream-loader"),ct.TAG="MSStreamLoader",ct._seekHandler=Ve,ct._config=Xe,ct._needStash=!0,ct._xhr=null,ct._reader=null,ct._totalRange=null,ct._currentRange=null,ct._currentRequestURL=null,ct._currentRedirectedURL=null,ct._contentLength=null,ct._receivedLength=0,ct._bufferLimit=16*1024*1024,ct._lastTimeBufferSize=0,ct._isReconnecting=!1,ct}return Object(m.a)(Re,[{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(A.a)(Object(w.a)(Re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Xe,ct){this._internalOpen(Xe,ct,!1)}},{key:"_internalOpen",value:function(Xe,ct,tr){this._dataSource=Xe,tr?this._currentRange=ct:this._totalRange=ct;var ir=Xe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?ir=this._currentRedirectedURL:Xe.redirectedURL!=null&&(ir=Xe.redirectedURL));var or=this._seekHandler.getConfig(ir,ct);this._currentRequestURL=or.url;var Xr=this._reader=new self.MSStreamReader;Xr.onprogress=this._msrOnProgress.bind(this),Xr.onload=this._msrOnLoad.bind(this),Xr.onerror=this._msrOnError.bind(this);var Yr=this._xhr=new XMLHttpRequest;if(Yr.open("GET",or.url,!0),Yr.responseType="ms-stream",Yr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Yr.onerror=this._xhrOnError.bind(this),Xe.withCredentials&&(Yr.withCredentials=!0),typeof or.headers=="object"){var bn=or.headers;for(var Yt in bn)bn.hasOwnProperty(Yt)&&Yr.setRequestHeader(Yt,bn[Yt])}if(typeof this._config.headers=="object"){var pt=this._config.headers;for(var ht in pt)pt.hasOwnProperty(ht)&&Yr.setRequestHeader(ht,pt[ht])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,Yr.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(Xe){var ct=Xe.target;if(ct.readyState===2)if(ct.status>=200&&ct.status<=299){if(this._status=u.kBuffering,ct.responseURL!=null){var tr=this._seekHandler.removeURLParameters(ct.responseURL);ct.responseURL!==this._currentRequestURL&&tr!==this._currentRedirectedURL&&(this._currentRedirectedURL=tr,this._onURLRedirect&&this._onURLRedirect(tr))}var ir=ct.getResponseHeader("Content-Length");if(ir!=null&&this._contentLength==null){var or=parseInt(ir);or>0&&(this._contentLength=or,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:ct.status,msg:ct.statusText});else throw new r("MSStreamLoader: Http code invalid, "+ct.status+" "+ct.statusText);else if(ct.readyState===3&&(ct.status>=200&&ct.status<=299)){this._status=u.kBuffering;var Xr=ct.response;this._reader.readAsArrayBuffer(Xr)}}},{key:"_xhrOnError",value:function(Xe){this._status=u.kError;var ct=h.EXCEPTION,tr={code:-1,msg:Xe.constructor.name+" "+Xe.type};if(this._onError)this._onError(ct,tr);else throw new r(tr.msg)}},{key:"_msrOnProgress",value:function(Xe){var ct=Xe.target,tr=ct.result;if(tr==null){this._doReconnectIfNeeded();return}var ir=tr.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=tr.byteLength;var or=this._totalRange.from+this._receivedLength;this._receivedLength+=ir.byteLength,this._onDataArrival&&this._onDataArrival(ir,or,this._receivedLength),tr.byteLength>=this._bufferLimit&&(l.v(this.TAG,"MSStream buffer exceeded max size near ".concat(or+ir.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 Xe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Xe,!0)}}},{key:"_msrOnLoad",value:function(Xe){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Xe){this._status=u.kError;var ct=0,tr=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ct=h.EARLY_EOF,tr={code:-1,msg:"MSStream meet Early-Eof"}):(ct=h.EARLY_EOF,tr={code:-1,msg:Xe.constructor.name+" "+Xe.type}),this._onError)this._onError(ct,tr);else throw new r(tr.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Xe=new XMLHttpRequest;return Xe.open("GET","https://example.com",!0),Xe.responseType="ms-stream",Xe.responseType==="ms-stream"}catch(ct){return l.w("MSStreamLoader",ct.message),!1}}}]),Re}(g),M=L,k=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(Ve,Xe){var ct;return Object(y.a)(this,Re),ct=St.call(this,"xhr-range-loader"),ct.TAG="RangeLoader",ct._seekHandler=Ve,ct._config=Xe,ct._needStash=!1,ct._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ct._currentChunkSizeKB=384,ct._currentSpeedNormalized=0,ct._zeroSpeedChunkCount=0,ct._xhr=null,ct._speedSampler=new t,ct._requestAbort=!1,ct._waitForTotalLength=!1,ct._totalLengthReceived=!1,ct._currentRequestURL=null,ct._currentRedirectedURL=null,ct._currentRequestRange=null,ct._totalLength=null,ct._contentLength=null,ct._receivedLength=0,ct._lastTimeLoaded=0,ct}return Object(m.a)(Re,[{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(A.a)(Object(w.a)(Re.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(Xe,ct){this._dataSource=Xe,this._range=ct,this._status=u.kConnecting;var tr=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(tr=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!tr?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Xe=this._currentChunkSizeKB*1024,ct=this._range.from+this._receivedLength,tr=ct+Xe;this._contentLength!=null&&(tr-this._range.from>=this._contentLength&&(tr=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ct,to:tr},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Xe,ct){this._lastTimeLoaded=0;var tr=Xe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?tr=this._currentRedirectedURL:Xe.redirectedURL!=null&&(tr=Xe.redirectedURL));var ir=this._seekHandler.getConfig(tr,ct);this._currentRequestURL=ir.url;var or=this._xhr=new XMLHttpRequest;if(or.open("GET",ir.url,!0),or.responseType="arraybuffer",or.onreadystatechange=this._onReadyStateChange.bind(this),or.onprogress=this._onProgress.bind(this),or.onload=this._onLoad.bind(this),or.onerror=this._onXhrError.bind(this),Xe.withCredentials&&(or.withCredentials=!0),typeof ir.headers=="object"){var Xr=ir.headers;for(var Yr in Xr)Xr.hasOwnProperty(Yr)&&or.setRequestHeader(Yr,Xr[Yr])}if(typeof this._config.headers=="object"){var bn=this._config.headers;for(var Yt in bn)bn.hasOwnProperty(Yt)&&or.setRequestHeader(Yt,bn[Yt])}or.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(Xe){var ct=Xe.target;if(ct.readyState===2){if(ct.responseURL!=null){var tr=this._seekHandler.removeURLParameters(ct.responseURL);ct.responseURL!==this._currentRequestURL&&tr!==this._currentRedirectedURL&&(this._currentRedirectedURL=tr,this._onURLRedirect&&this._onURLRedirect(tr))}if(ct.status>=200&&ct.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:ct.status,msg:ct.statusText});else throw new r("RangeLoader: Http code invalid, "+ct.status+" "+ct.statusText)}}},{key:"_onProgress",value:function(Xe){if(this._status===u.kError)return;if(this._contentLength===null){var ct=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ct=!0;var tr=Xe.total;this._internalAbort(),tr!=null&tr!==0&&(this._totalLength=tr)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ct){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var ir=Xe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Xe.loaded,this._speedSampler.addBytes(ir)}},{key:"_normalizeSpeed",value:function(Xe){var ct=this._chunkSizeKBList,tr=ct.length-1,ir=0,or=0,Xr=tr;if(Xe<ct[0])return ct[0];for(;or<=Xr;){if(ir=or+Math.floor((Xr-or)/2),ir===tr||Xe>=ct[ir]&&Xe<ct[ir+1])return ct[ir];ct[ir]<Xe?or=ir+1:Xr=ir-1}}},{key:"_onLoad",value:function(Xe){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ct=this._speedSampler.lastSecondKBps;if(ct===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ct=this._speedSampler.currentKBps)),ct!==0){var tr=this._normalizeSpeed(ct);this._currentSpeedNormalized!==tr&&(this._currentSpeedNormalized=tr,this._currentChunkSizeKB=tr)}var ir=Xe.target.response,or=this._range.from+this._receivedLength;this._receivedLength+=ir.byteLength;var Xr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Xr=!0,this._onDataArrival&&this._onDataArrival(ir,or,this._receivedLength),Xr&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Xe){this._status=u.kError;var ct=0,tr=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ct=h.EARLY_EOF,tr={code:-1,msg:"RangeLoader meet Early-Eof"}):(ct=h.EXCEPTION,tr={code:-1,msg:Xe.constructor.name+" "+Xe.type}),this._onError)this._onError(ct,tr);else throw new r(tr.msg)}}],[{key:"isSupported",value:function(){try{var Xe=new XMLHttpRequest;return Xe.open("GET","https://example.com",!0),Xe.responseType="arraybuffer",Xe.responseType==="arraybuffer"}catch(ct){return l.w("RangeLoader",ct.message),!1}}}]),Re}(g),R=k,j=function(Tt){Object(a.a)(Re,Tt);var St=Object(o.a)(Re);function Re(){var Ve;return Object(y.a)(this,Re),Ve=St.call(this,"websocket-loader"),Ve.TAG="WebSocketLoader",Ve._needStash=!0,Ve._ws=null,Ve._requestAbort=!1,Ve._receivedLength=0,Ve}return Object(m.a)(Re,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(A.a)(Object(w.a)(Re.prototype),"destroy",this).call(this)}},{key:"open",value:function(Xe){try{var ct=this._ws=new self.WebSocket(Xe.url);ct.binaryType="arraybuffer",ct.onopen=this._onWebSocketOpen.bind(this),ct.onclose=this._onWebSocketClose.bind(this),ct.onmessage=this._onWebSocketMessage.bind(this),ct.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch(ir){this._status=u.kError;var tr={code:ir.code,msg:ir.message};if(this._onError)this._onError(h.EXCEPTION,tr);else throw new r(tr.msg)}}},{key:"abort",value:function(){var Xe=this._ws;Xe&&(Xe.readyState===0||Xe.readyState===1)&&(this._requestAbort=!0,Xe.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Xe){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Xe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Xe){var ct=this;if(Xe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Xe.data);else if(Xe.data instanceof Blob){var tr=new FileReader;tr.onload=function(){ct._dispatchArrayBuffer(tr.result)},tr.readAsArrayBuffer(Xe.data)}else{this._status=u.kError;var ir={code:-1,msg:"Unsupported WebSocket message type: "+Xe.data.constructor.name};if(this._onError)this._onError(h.EXCEPTION,ir);else throw new r(ir.msg)}}},{key:"_dispatchArrayBuffer",value:function(Xe){var ct=Xe,tr=this._receivedLength;this._receivedLength+=ct.byteLength,this._onDataArrival&&this._onDataArrival(ct,tr,this._receivedLength)}},{key:"_onWebSocketError",value:function(Xe){this._status=u.kError;var ct={code:Xe.code,msg:Xe.message};if(this._onError)this._onError(h.EXCEPTION,ct);else throw new r(ct.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Xe){return!1}}}]),Re}(g),V=j,D=function(){function Tt(St){Object(y.a)(this,Tt),this._zeroStart=St||!1}return Object(m.a)(Tt,[{key:"getConfig",value:function(Re,Ve){var Xe={};if(Ve.from!==0||Ve.to!==-1){var ct;Ve.to!==-1?ct="bytes=".concat(Ve.from.toString(),"-").concat(Ve.to.toString()):ct="bytes=".concat(Ve.from.toString(),"-"),Xe.Range=ct}else this._zeroStart&&(Xe.Range="bytes=0-");return{url:Re,headers:Xe}}},{key:"removeURLParameters",value:function(Re){return Re}}]),Tt}(),H=D,P=function(){function Tt(St,Re){Object(y.a)(this,Tt),this._startName=St,this._endName=Re}return Object(m.a)(Tt,[{key:"getConfig",value:function(Re,Ve){var Xe=Re;if(Ve.from!==0||Ve.to!==-1){var ct=!0;Xe.indexOf("?")===-1&&(Xe+="?",ct=!1),ct&&(Xe+="&"),Xe+="".concat(this._startName,"=").concat(Ve.from.toString()),Ve.to!==-1&&(Xe+="&".concat(this._endName,"=").concat(Ve.to.toString()))}return{url:Xe,headers:{}}}},{key:"removeURLParameters",value:function(Re){var Ve=Re.split("?")[0],Xe=void 0,ct=Re.indexOf("?");ct!==-1&&(Xe=Re.substring(ct+1));var tr="";if(Xe!=null&&Xe.length>0)for(var ir=Xe.split("&"),or=0;or<ir.length;or++){var Xr=ir[or].split("="),Yr=or>0;Xr[0]!==this._startName&&Xr[0]!==this._endName&&(Yr&&(tr+="&"),tr+=ir[or])}return tr.length===0?Ve:Ve+"?"+tr}}]),Tt}(),K=P,U=function(){function Tt(St,Re,Ve){Object(y.a)(this,Tt),this.TAG="IOController",this._config=Re,this._extraData=Ve,this._stashInitialSize=1024*384,Re.stashInitialSize!=null&&Re.stashInitialSize>0&&(this._stashInitialSize=Re.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,Re.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=St,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(St.url),this._refTotalLength=St.filesize?St.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new t,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(m.a)(Tt,[{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(Re){this._extraData=Re}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Re){this._onDataArrival=Re}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Re){this._onSeeked=Re}},{key:"onError",get:function(){return this._onError},set:function(Re){this._onError=Re}},{key:"onComplete",get:function(){return this._onComplete},set:function(Re){this._onComplete=Re}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Re){this._onRedirect=Re}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Re){this._onRecoveredEarlyEof=Re}},{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===R?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var Re=this._config;if(Re.seekType==="range")this._seekHandler=new H(this._config.rangeLoadZeroStart);else if(Re.seekType==="param"){var Ve=Re.seekParamStart||"bstart",Xe=Re.seekParamEnd||"bend";this._seekHandler=new K(Ve,Xe)}else if(Re.seekType==="custom"){if(typeof Re.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Re.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(Re.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=V;else if(x.isSupported())this._loaderClass=x;else if(I.isSupported())this._loaderClass=I;else if(R.isSupported())this._loaderClass=R;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(Re){this._currentRange={from:0,to:-1},Re&&(this._currentRange.from=Re),this._speedSampler.reset(),Re||(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 Re=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Re,!0)}}},{key:"seek",value:function(Re){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Re,!0)}},{key:"_internalSeek",value:function(Re,Ve){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Ve),this._loader.destroy(),this._loader=null;var Xe={from:Re,to:-1};this._currentRange={from:Xe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Xe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Re){if(!Re||typeof Re!="string"||Re.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=Re}},{key:"_expandBuffer",value:function(Re){for(var Ve=this._stashSize;Ve+1024*1024*1<Re;)Ve*=2;if(Ve+=1024*1024*1,Ve===this._bufferSize)return;var Xe=new ArrayBuffer(Ve);if(this._stashUsed>0){var ct=new Uint8Array(this._stashBuffer,0,this._stashUsed),tr=new Uint8Array(Xe,0,Ve);tr.set(ct,0)}this._stashBuffer=Xe,this._bufferSize=Ve}},{key:"_normalizeSpeed",value:function(Re){var Ve=this._speedNormalizeList,Xe=Ve.length-1,ct=0,tr=0,ir=Xe;if(Re<Ve[0])return Ve[0];for(;tr<=ir;){if(ct=tr+Math.floor((ir-tr)/2),ct===Xe||Re>=Ve[ct]&&Re<Ve[ct+1])return Ve[ct];Ve[ct]<Re?tr=ct+1:ir=ct-1}}},{key:"_adjustStashSize",value:function(Re){var Ve=0;this._config.isLive||Re<512?Ve=Re:Re>=512&&Re<=1024?Ve=Math.floor(Re*1.5):Ve=Re*2,Ve>8192&&(Ve=8192);var Xe=Ve*1024+1024*1024*1;this._bufferSize<Xe&&this._expandBuffer(Xe),this._stashSize=Ve*1024}},{key:"_dispatchChunks",value:function(Re,Ve){return this._currentRange.to=Ve+Re.byteLength-1,this._onDataArrival(Re,Ve)}},{key:"_onURLRedirect",value:function(Re){this._redirectedURL=Re,this._onRedirect&&this._onRedirect(Re)}},{key:"_onContentLengthKnown",value:function(Re){Re&&this._fullRequestFlag&&(this._totalLength=Re,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Re,Ve,Xe){if(!this._onDataArrival)throw new c("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Re.byteLength);var ct=this._speedSampler.lastSecondKBps;if(ct!==0){var tr=this._normalizeSpeed(ct);this._speedNormalized!==tr&&(this._speedNormalized=tr,this._adjustStashSize(tr))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=Ve),this._stashUsed+Re.byteLength<=this._stashSize){var pt=new Uint8Array(this._stashBuffer,0,this._stashSize);pt.set(new Uint8Array(Re),this._stashUsed),this._stashUsed+=Re.byteLength}else{var ht=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Zt=this._stashBuffer.slice(0,this._stashUsed),$t=this._dispatchChunks(Zt,this._stashByteStart);if($t<Zt.byteLength){if($t>0){var At=new Uint8Array(Zt,$t);ht.set(At,0),this._stashUsed=At.byteLength,this._stashByteStart+=$t}}else this._stashUsed=0,this._stashByteStart+=$t;this._stashUsed+Re.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Re.byteLength),ht=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ht.set(new Uint8Array(Re),this._stashUsed),this._stashUsed+=Re.byteLength}else{var Pt=this._dispatchChunks(Re,Ve);if(Pt<Re.byteLength){var gt=Re.byteLength-Pt;gt>this._bufferSize&&(this._expandBuffer(gt),ht=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ht.set(new Uint8Array(Re,Pt),0),this._stashUsed+=gt,this._stashByteStart=Ve+Pt}}}else if(this._stashUsed===0){var ir=this._dispatchChunks(Re,Ve);if(ir<Re.byteLength){var or=Re.byteLength-ir;or>this._bufferSize&&this._expandBuffer(or);var Xr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Xr.set(new Uint8Array(Re,ir),0),this._stashUsed+=or,this._stashByteStart=Ve+ir}}else{this._stashUsed+Re.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Re.byteLength);var Yr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Yr.set(new Uint8Array(Re),this._stashUsed),this._stashUsed+=Re.byteLength;var bn=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(bn<this._stashUsed&&bn>0){var Yt=new Uint8Array(this._stashBuffer,bn);Yr.set(Yt,0)}this._stashUsed-=bn,this._stashByteStart+=bn}}},{key:"_flushStashBuffer",value:function(Re){if(this._stashUsed>0){var Ve=this._stashBuffer.slice(0,this._stashUsed),Xe=this._dispatchChunks(Ve,this._stashByteStart),ct=Ve.byteLength-Xe;if(Xe<Ve.byteLength)if(Re)l.w(this.TAG,"".concat(ct," bytes unconsumed data remain when flush buffer, dropped"));else{if(Xe>0){var tr=new Uint8Array(this._stashBuffer,0,this._bufferSize),ir=new Uint8Array(Ve,Xe);tr.set(ir,0),this._stashUsed=ir.byteLength,this._stashByteStart+=Xe}return 0}return this._stashUsed=0,this._stashByteStart=0,ct}return 0}},{key:"_onLoaderComplete",value:function(Re,Ve){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Re,Ve){l.e(this.TAG,"Loader error, code = ".concat(Ve.code,", msg = ").concat(Ve.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Re=h.UNRECOVERABLE_EARLY_EOF);switch(Re){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Xe=this._currentRange.to+1;Xe<this._totalLength&&(l.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Xe,!1));return}Re=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(Re,Ve);else throw new r("IOException: "+Ve.msg)}}]),Tt}(),G=U,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 Z(){return Object.assign({},W)}var J=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Re=new G({},Z()),Ve=Re.loaderType;return Re.destroy(),Ve=="fetch-stream-loader"||Ve=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Re=new G({},Z()),Ve=Re.loaderType;return Re.destroy(),Ve}},{key:"supportNativeMediaPlayback",value:function(Re){Tt.videoElement==null&&(Tt.videoElement=window.document.createElement("video"));var Ve=Tt.videoElement.canPlayType(Re);return Ve==="probably"||Ve=="maybe"}},{key:"getFeatureList",value:function(){var Re={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Re.mseFlvPlayback=Tt.supportMSEH264Playback(),Re.networkStreamIO=Tt.supportNetworkStreamIO(),Re.networkLoaderName=Tt.getNetworkLoaderTypeName(),Re.mseLiveFlvPlayback=Re.mseFlvPlayback&&Re.networkStreamIO,Re.nativeMP4H264Playback=Tt.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Re.nativeWebmVP8Playback=Tt.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Re.nativeWebmVP9Playback=Tt.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Re}}]),Tt}(),ve=J,q={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"},ce=q,be=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"forceGlobalTag",get:function(){return l.FORCE_GLOBAL_TAG},set:function(Re){l.FORCE_GLOBAL_TAG=Re,Tt._notifyChange()}},{key:"globalTag",get:function(){return l.GLOBAL_TAG},set:function(Re){l.GLOBAL_TAG=Re,Tt._notifyChange()}},{key:"enableAll",get:function(){return l.ENABLE_VERBOSE&&l.ENABLE_DEBUG&&l.ENABLE_INFO&&l.ENABLE_WARN&&l.ENABLE_ERROR},set:function(Re){l.ENABLE_VERBOSE=Re,l.ENABLE_DEBUG=Re,l.ENABLE_INFO=Re,l.ENABLE_WARN=Re,l.ENABLE_ERROR=Re,Tt._notifyChange()}},{key:"enableDebug",get:function(){return l.ENABLE_DEBUG},set:function(Re){l.ENABLE_DEBUG=Re,Tt._notifyChange()}},{key:"enableVerbose",get:function(){return l.ENABLE_VERBOSE},set:function(Re){l.ENABLE_VERBOSE=Re,Tt._notifyChange()}},{key:"enableInfo",get:function(){return l.ENABLE_INFO},set:function(Re){l.ENABLE_INFO=Re,Tt._notifyChange()}},{key:"enableWarn",get:function(){return l.ENABLE_WARN},set:function(Re){l.ENABLE_WARN=Re,Tt._notifyChange()}},{key:"enableError",get:function(){return l.ENABLE_ERROR},set:function(Re){l.ENABLE_ERROR=Re,Tt._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:l.GLOBAL_TAG,forceGlobalTag:l.FORCE_GLOBAL_TAG,enableVerbose:l.ENABLE_VERBOSE,enableDebug:l.ENABLE_DEBUG,enableInfo:l.ENABLE_INFO,enableWarn:l.ENABLE_WARN,enableError:l.ENABLE_ERROR,enableCallback:l.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Re){l.GLOBAL_TAG=Re.globalTag,l.FORCE_GLOBAL_TAG=Re.forceGlobalTag,l.ENABLE_VERBOSE=Re.enableVerbose,l.ENABLE_DEBUG=Re.enableDebug,l.ENABLE_INFO=Re.enableInfo,l.ENABLE_WARN=Re.enableWarn,l.ENABLE_ERROR=Re.enableError,l.ENABLE_CALLBACK=Re.enableCallback}},{key:"_notifyChange",value:function(){var Re=Tt.emitter;if(Re.listenerCount("change")>0){var Ve=Tt.getConfig();Re.emit("change",Ve)}}},{key:"registerListener",value:function(Re){Tt.emitter.addListener("change",Re)}},{key:"removeListener",value:function(Re){Tt.emitter.removeListener("change",Re)}},{key:"addLogListener",value:function(Re){l.emitter.addListener("log",Re),l.emitter.listenerCount("log")>0&&(l.ENABLE_CALLBACK=!0,Tt._notifyChange())}},{key:"removeLogListener",value:function(Re){l.emitter.removeListener("log",Re),l.emitter.listenerCount("log")===0&&(l.ENABLE_CALLBACK=!1,Tt._notifyChange())}}]),Tt}();be.emitter=new f.a;var Ce=be,Fe=function(){function Tt(){Object(y.a)(this,Tt),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(m.a)(Tt,[{key:"isComplete",value:function(){var Re=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Ve=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&&Re&&Ve}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Re){if(this.keyframesIndex==null)return null;var Ve=this.keyframesIndex,Xe=this._search(Ve.times,Re);return{index:Xe,milliseconds:Ve.times[Xe],fileposition:Ve.filepositions[Xe]}}},{key:"_search",value:function(Re,Ve){var Xe=0,ct=Re.length-1,tr=0,ir=0,or=ct;for(Ve<Re[0]&&(Xe=0,ir=or+1);ir<=or;)if(tr=ir+Math.floor((or-ir)/2),tr===ct||Ve>=Re[tr]&&Ve<Re[tr+1]){Xe=tr;break}else Re[tr]<Ve?ir=tr+1:or=tr-1;return Xe}}]),Tt}(),fe=Fe;function Ne(Tt,St,Re){var Ve=Tt;if(St+Re<Ve.length){for(;Re--;)if((Ve[++St]&192)!==128)return!1;return!0}else return!1}function Q(Tt){for(var St=[],Re=Tt,Ve=0,Xe=Tt.length;Ve<Xe;){if(Re[Ve]<128){St.push(String.fromCharCode(Re[Ve])),++Ve;continue}else if(!(Re[Ve]<192)){if(Re[Ve]<224){if(Ne(Re,Ve,1)){var ct=(Re[Ve]&31)<<6|Re[Ve+1]&63;if(ct>=128){St.push(String.fromCharCode(ct&65535)),Ve+=2;continue}}}else if(Re[Ve]<240){if(Ne(Re,Ve,2)){var tr=(Re[Ve]&15)<<12|(Re[Ve+1]&63)<<6|Re[Ve+2]&63;if(tr>=2048&&(tr&63488)!==55296){St.push(String.fromCharCode(tr&65535)),Ve+=3;continue}}}else if(Re[Ve]<248&&Ne(Re,Ve,3)){var ir=(Re[Ve]&7)<<18|(Re[Ve+1]&63)<<12|(Re[Ve+2]&63)<<6|Re[Ve+3]&63;if(ir>65536&&ir<1114112){ir-=65536,St.push(String.fromCharCode(ir>>>10|55296)),St.push(String.fromCharCode(ir&1023|56320)),Ve+=4;continue}}}St.push(String.fromCharCode(65533)),++Ve}return St.join("")}var ae=Q,Ue=function(){var Tt=new ArrayBuffer(2);return new DataView(Tt).setInt16(0,256,!0),new Int16Array(Tt)[0]===256}(),te=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"parseScriptData",value:function(Re,Ve,Xe){var ct={};try{var tr=Tt.parseValue(Re,Ve,Xe),ir=Tt.parseValue(Re,Ve+tr.size,Xe-tr.size);ct[tr.data]=ir.data}catch(or){l.e("AMF",or.toString())}return ct}},{key:"parseObject",value:function(Re,Ve,Xe){if(Xe<3)throw new c("Data not enough when parse ScriptDataObject");var ct=Tt.parseString(Re,Ve,Xe),tr=Tt.parseValue(Re,Ve+ct.size,Xe-ct.size),ir=tr.objectEnd;return{data:{name:ct.data,value:tr.data},size:ct.size+tr.size,objectEnd:ir}}},{key:"parseVariable",value:function(Re,Ve,Xe){return Tt.parseObject(Re,Ve,Xe)}},{key:"parseString",value:function(Re,Ve,Xe){if(Xe<2)throw new c("Data not enough when parse String");var ct=new DataView(Re,Ve,Xe),tr=ct.getUint16(0,!Ue),ir;return tr>0?ir=ae(new Uint8Array(Re,Ve+2,tr)):ir="",{data:ir,size:2+tr}}},{key:"parseLongString",value:function(Re,Ve,Xe){if(Xe<4)throw new c("Data not enough when parse LongString");var ct=new DataView(Re,Ve,Xe),tr=ct.getUint32(0,!Ue),ir;return tr>0?ir=ae(new Uint8Array(Re,Ve+4,tr)):ir="",{data:ir,size:4+tr}}},{key:"parseDate",value:function(Re,Ve,Xe){if(Xe<10)throw new c("Data size invalid when parse Date");var ct=new DataView(Re,Ve,Xe),tr=ct.getFloat64(0,!Ue),ir=ct.getInt16(8,!Ue);return tr+=ir*60*1e3,{data:new Date(tr),size:8+2}}},{key:"parseValue",value:function(Re,Ve,Xe){if(Xe<1)throw new c("Data not enough when parse Value");var ct=new DataView(Re,Ve,Xe),tr=1,ir=ct.getUint8(0),or,Xr=!1;try{switch(ir){case 0:or=ct.getFloat64(1,!Ue),tr+=8;break;case 1:{var Yr=ct.getUint8(1);or=!!Yr,tr+=1;break}case 2:{var bn=Tt.parseString(Re,Ve+1,Xe-1);or=bn.data,tr+=bn.size;break}case 3:{or={};var Yt=0;for((ct.getUint32(Xe-4,!Ue)&16777215)===9&&(Yt=3);tr<Xe-4;){var pt=Tt.parseObject(Re,Ve+tr,Xe-tr-Yt);if(pt.objectEnd)break;or[pt.data.name]=pt.data.value,tr+=pt.size}if(tr<=Xe-3){var ht=ct.getUint32(tr-1,!Ue)&16777215;ht===9&&(tr+=3)}break}case 8:{or={},tr+=4;var Zt=0;for((ct.getUint32(Xe-4,!Ue)&16777215)===9&&(Zt=3);tr<Xe-8;){var $t=Tt.parseVariable(Re,Ve+tr,Xe-tr-Zt);if($t.objectEnd)break;or[$t.data.name]=$t.data.value,tr+=$t.size}if(tr<=Xe-3){var At=ct.getUint32(tr-1,!Ue)&16777215;At===9&&(tr+=3)}break}case 9:or=void 0,tr=1,Xr=!0;break;case 10:{or=[];var Pt=ct.getUint32(1,!Ue);tr+=4;for(var gt=0;gt<Pt;gt++){var Wt=Tt.parseValue(Re,Ve+tr,Xe-tr);or.push(Wt.data),tr+=Wt.size}break}case 11:{var yr=Tt.parseDate(Re,Ve+1,Xe-1);or=yr.data,tr+=yr.size;break}case 12:{var cr=Tt.parseString(Re,Ve+1,Xe-1);or=cr.data,tr+=cr.size;break}default:tr=Xe,l.w("AMF","Unsupported AMF value type "+ir)}}catch(pr){l.e("AMF",pr.toString())}return{data:or,size:tr,objectEnd:Xr}}}]),Tt}(),X=te,z=function(){function Tt(St){Object(y.a)(this,Tt),this.TAG="ExpGolomb",this._buffer=St,this._buffer_index=0,this._total_bytes=St.byteLength,this._total_bits=St.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(m.a)(Tt,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Re=this._total_bytes-this._buffer_index;if(Re<=0)throw new c("ExpGolomb: _fillCurrentWord() but no bytes available");var Ve=Math.min(4,Re),Xe=new Uint8Array(4);Xe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+Ve)),this._current_word=new DataView(Xe.buffer).getUint32(0,!1),this._buffer_index+=Ve,this._current_word_bits_left=Ve*8}},{key:"readBits",value:function(Re){if(Re>32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(Re<=this._current_word_bits_left){var Ve=this._current_word>>>32-Re;return this._current_word<<=Re,this._current_word_bits_left-=Re,Ve}var Xe=this._current_word_bits_left?this._current_word:0;Xe=Xe>>>32-this._current_word_bits_left;var ct=Re-this._current_word_bits_left;this._fillCurrentWord();var tr=Math.min(ct,this._current_word_bits_left),ir=this._current_word>>>32-tr;return this._current_word<<=tr,this._current_word_bits_left-=tr,Xe=Xe<<tr|ir,Xe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Re;for(Re=0;Re<this._current_word_bits_left;Re++)if((this._current_word&2147483648>>>Re)!==0)return this._current_word<<=Re,this._current_word_bits_left-=Re,Re;return this._fillCurrentWord(),Re+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Re=this._skipLeadingZero();return this.readBits(Re+1)-1}},{key:"readSEG",value:function(){var Re=this.readUEG();return Re&1?Re+1>>>1:-1*(Re>>>1)}}]),Tt}(),Y=z,pe=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"_ebsp2rbsp",value:function(Re){for(var Ve=Re,Xe=Ve.byteLength,ct=new Uint8Array(Xe),tr=0,ir=0;ir<Xe;ir++){if(ir>=2&&(Ve[ir]===3&&Ve[ir-1]===0&&Ve[ir-2]===0))continue;ct[tr]=Ve[ir],tr++}return new Uint8Array(ct.buffer,0,tr)}},{key:"parseSPS",value:function(Re){var Ve=Tt._ebsp2rbsp(Re),Xe=new Y(Ve);Xe.readByte();var ct=Xe.readByte();Xe.readByte();var tr=Xe.readByte();Xe.readUEG();var ir=Tt.getProfileString(ct),or=Tt.getLevelString(tr),Xr=1,Yr=420,bn=[0,420,422,444],Yt=8;if((ct===100||ct===110||ct===122||ct===244||ct===44||ct===83||ct===86||ct===118||ct===128||ct===138||ct===144)&&(Xr=Xe.readUEG(),Xr===3&&Xe.readBits(1),Xr<=3&&(Yr=bn[Xr]),Yt=Xe.readUEG()+8,Xe.readUEG(),Xe.readBits(1),Xe.readBool()))for(var pt=Xr!==3?8:12,ht=0;ht<pt;ht++)Xe.readBool()&&(ht<6?Tt._skipScalingList(Xe,16):Tt._skipScalingList(Xe,64));Xe.readUEG();var Zt=Xe.readUEG();if(Zt===0)Xe.readUEG();else if(Zt===1){Xe.readBits(1),Xe.readSEG(),Xe.readSEG();for(var $t=Xe.readUEG(),At=0;At<$t;At++)Xe.readSEG()}var Pt=Xe.readUEG();Xe.readBits(1);var gt=Xe.readUEG(),Wt=Xe.readUEG(),yr=Xe.readBits(1);yr===0&&Xe.readBits(1),Xe.readBits(1);var cr=0,pr=0,Qr=0,$r=0,Ln=Xe.readBool();Ln&&(cr=Xe.readUEG(),pr=Xe.readUEG(),Qr=Xe.readUEG(),$r=Xe.readUEG());var Mn=1,Vn=1,ii=0,Li=!0,Pi=0,Ze=0,xe=Xe.readBool();if(xe){if(Xe.readBool()){var Me=Xe.readByte(),ke=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Ge=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Me>0&&Me<16?(Mn=ke[Me-1],Vn=Ge[Me-1]):Me===255&&(Mn=Xe.readByte()<<8|Xe.readByte(),Vn=Xe.readByte()<<8|Xe.readByte())}if(Xe.readBool()&&Xe.readBool(),Xe.readBool()&&(Xe.readBits(4),Xe.readBool()&&Xe.readBits(24)),Xe.readBool()&&(Xe.readUEG(),Xe.readUEG()),Xe.readBool()){var Ke=Xe.readBits(32),Je=Xe.readBits(32);Li=Xe.readBool(),Pi=Je,Ze=Ke*2,ii=Pi/Ze}}var vt=1;(Mn!==1||Vn!==1)&&(vt=Mn/Vn);var ot=0,Ut=0;if(Xr===0)ot=1,Ut=2-yr;else{var br=Xr===3?1:2,Ar=Xr===1?2:1;ot=br,Ut=Ar*(2-yr)}var Or=(gt+1)*16,zt=(2-yr)*((Wt+1)*16);Or-=(cr+pr)*ot,zt-=(Qr+$r)*Ut;var un=Math.ceil(Or*vt);return Xe.destroy(),Xe=null,{profile_string:ir,level_string:or,bit_depth:Yt,ref_frames:Pt,chroma_format:Yr,chroma_format_string:Tt.getChromaFormatString(Yr),frame_rate:{fixed:Li,fps:ii,fps_den:Ze,fps_num:Pi},sar_ratio:{width:Mn,height:Vn},codec_size:{width:Or,height:zt},present_size:{width:un,height:zt}}}},{key:"_skipScalingList",value:function(Re,Ve){for(var Xe=8,ct=8,tr=0,ir=0;ir<Ve;ir++)ct!==0&&(tr=Re.readSEG(),ct=(Xe+tr+256)%256),Xe=ct===0?Xe:ct}},{key:"getProfileString",value:function(Re){switch(Re){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(Re){return(Re/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Re){switch(Re){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),Tt}(),se=pe,Te={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},Se=Te;function ie(Tt){return Tt>>>8&255|(Tt&255)<<8}function de(Tt){return(Tt&4278190080)>>>24|(Tt&16711680)>>>8|(Tt&65280)<<8|(Tt&255)<<24}function _e(Tt,St){return Tt[St]<<24|Tt[St+1]<<16|Tt[St+2]<<8|Tt[St+3]}var We=function(){function Tt(St,Re){Object(y.a)(this,Tt),this.TAG="FLVDemuxer",this._config=Re,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=St.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=St.hasAudioTrack,this._hasVideo=St.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new fe,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 Ve=new ArrayBuffer(2);return new DataView(Ve).setInt16(0,256,!0),new Int16Array(Ve)[0]===256}()}return Object(m.a)(Tt,[{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(Re){return Re.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Re){this._onTrackMetadata=Re}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Re){this._onMediaInfo=Re}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Re){this._onMetaDataArrived=Re}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Re){this._onScriptDataArrived=Re}},{key:"onError",get:function(){return this._onError},set:function(Re){this._onError=Re}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Re){this._onDataAvailable=Re}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Re){this._timestampBase=Re}},{key:"overridedDuration",get:function(){return this._duration},set:function(Re){this._durationOverrided=!0,this._duration=Re,this._mediaInfo.duration=Re}},{key:"overridedHasAudio",set:function(Re){this._hasAudioFlagOverrided=!0,this._hasAudio=Re,this._mediaInfo.hasAudio=Re}},{key:"overridedHasVideo",set:function(Re){this._hasVideoFlagOverrided=!0,this._hasVideo=Re,this._mediaInfo.hasVideo=Re}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new fe}},{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(Re,Ve){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new c("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Xe=0,ct=this._littleEndian;if(Ve===0)if(Re.byteLength>13){var tr=Tt.probe(Re);Xe=tr.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Ve+Xe!==this._dataOffset&&l.w(this.TAG,"First time parsing but chunk byteStart invalid!");var ir=new DataView(Re,Xe),or=ir.getUint32(0,!ct);or!==0&&l.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Xe+=4}for(;Xe<Re.byteLength;){this._dispatch=!0;var Xr=new DataView(Re,Xe);if(Xe+11+4>Re.byteLength)break;var Yr=Xr.getUint8(0),bn=Xr.getUint32(0,!ct)&16777215;if(Xe+11+bn+4>Re.byteLength)break;if(Yr!==8&&Yr!==9&&Yr!==18){l.w(this.TAG,"Unsupported tag type ".concat(Yr,", skipped")),Xe+=11+bn+4;continue}var Yt=Xr.getUint8(4),pt=Xr.getUint8(5),ht=Xr.getUint8(6),Zt=Xr.getUint8(7),$t=ht|pt<<8|Yt<<16|Zt<<24,At=Xr.getUint32(7,!ct)&16777215;At!==0&&l.w(this.TAG,"Meet tag which has StreamID != 0!");var Pt=Xe+11;switch(Yr){case 8:this._parseAudioData(Re,Pt,bn,$t);break;case 9:this._parseVideoData(Re,Pt,bn,$t,Ve+Xe);break;case 18:this._parseScriptData(Re,Pt,bn);break}var gt=Xr.getUint32(11+bn,!ct);gt!==11+bn&&l.w(this.TAG,"Invalid PrevTagSize ".concat(gt)),Xe+=11+bn+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Xe}},{key:"_parseScriptData",value:function(Re,Ve,Xe){var ct=X.parseScriptData(Re,Ve,Xe);if(ct.hasOwnProperty("onMetaData")){if(ct.onMetaData==null||typeof ct.onMetaData!="object"){l.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&l.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ct;var tr=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},tr)),typeof tr.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=tr.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof tr.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=tr.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof tr.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=tr.audiodatarate),typeof tr.videodatarate=="number"&&(this._mediaInfo.videoDataRate=tr.videodatarate),typeof tr.width=="number"&&(this._mediaInfo.width=tr.width),typeof tr.height=="number"&&(this._mediaInfo.height=tr.height),typeof tr.duration=="number"){if(!this._durationOverrided){var ir=Math.floor(tr.duration*this._timescale);this._duration=ir,this._mediaInfo.duration=ir}}else this._mediaInfo.duration=0;if(typeof tr.framerate=="number"){var or=Math.floor(tr.framerate*1e3);if(or>0){var Xr=or/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Xr,this._referenceFrameRate.fps_num=or,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Xr}}if(typeof tr.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Yr=tr.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Yr),tr.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=tr,l.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ct).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ct)))}},{key:"_parseKeyframesIndex",value:function(Re){for(var Ve=[],Xe=[],ct=1;ct<Re.times.length;ct++){var tr=this._timestampBase+Math.floor(Re.times[ct]*1e3);Ve.push(tr),Xe.push(Re.filepositions[ct])}return{times:Ve,filepositions:Xe}}},{key:"_parseAudioData",value:function(Re,Ve,Xe,ct){if(Xe<=1){l.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var tr=this._littleEndian,ir=new DataView(Re,Ve,Xe),or=ir.getUint8(0),Xr=or>>>4;if(Xr!==2&&Xr!==10){this._onError(Se.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Xr);return}var Yr=0,bn=(or&12)>>>2;if(bn>=0&&bn<=4)Yr=this._flvSoundRateTable[bn];else{this._onError(Se.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+bn);return}var Yt=(or&2)>>>1,pt=or&1,ht=this._audioMetadata,Zt=this._audioTrack;if(ht||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),ht=this._audioMetadata={},ht.type="audio",ht.id=Zt.id,ht.timescale=this._timescale,ht.duration=this._duration,ht.audioSampleRate=Yr,ht.channelCount=pt===0?1:2),Xr===10){var $t=this._parseAACAudioData(Re,Ve+1,Xe-1);if($t==null)return;if($t.packetType===0){ht.config&&l.w(this.TAG,"Found another AudioSpecificConfig!");var At=$t.data;ht.audioSampleRate=At.samplingRate,ht.channelCount=At.channelCount,ht.codec=At.codec,ht.originalCodec=At.originalCodec,ht.config=At.config,ht.refSampleDuration=1024/ht.audioSampleRate*ht.timescale,l.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",ht);var Pt=this._mediaInfo;Pt.audioCodec=ht.originalCodec,Pt.audioSampleRate=ht.audioSampleRate,Pt.audioChannelCount=ht.channelCount,Pt.hasVideo?Pt.videoCodec!=null&&(Pt.mimeType='video/x-flv; codecs="'+Pt.videoCodec+","+Pt.audioCodec+'"'):Pt.mimeType='video/x-flv; codecs="'+Pt.audioCodec+'"',Pt.isComplete()&&this._onMediaInfo(Pt)}else if($t.packetType===1){var gt=this._timestampBase+ct,Wt={unit:$t.data,length:$t.data.byteLength,dts:gt,pts:gt};Zt.samples.push(Wt),Zt.length+=$t.data.length}else l.e(this.TAG,"Flv: Unsupported AAC data type ".concat($t.packetType))}else if(Xr===2){if(!ht.codec){var yr=this._parseMP3AudioData(Re,Ve+1,Xe-1,!0);if(yr==null)return;ht.audioSampleRate=yr.samplingRate,ht.channelCount=yr.channelCount,ht.codec=yr.codec,ht.originalCodec=yr.originalCodec,ht.refSampleDuration=1152/ht.audioSampleRate*ht.timescale,l.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",ht);var cr=this._mediaInfo;cr.audioCodec=ht.codec,cr.audioSampleRate=ht.audioSampleRate,cr.audioChannelCount=ht.channelCount,cr.audioDataRate=yr.bitRate,cr.hasVideo?cr.videoCodec!=null&&(cr.mimeType='video/x-flv; codecs="'+cr.videoCodec+","+cr.audioCodec+'"'):cr.mimeType='video/x-flv; codecs="'+cr.audioCodec+'"',cr.isComplete()&&this._onMediaInfo(cr)}var pr=this._parseMP3AudioData(Re,Ve+1,Xe-1,!1);if(pr==null)return;var Qr=this._timestampBase+ct,$r={unit:pr,length:pr.byteLength,dts:Qr,pts:Qr};Zt.samples.push($r),Zt.length+=pr.length}}},{key:"_parseAACAudioData",value:function(Re,Ve,Xe){if(Xe<=1){l.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ct={},tr=new Uint8Array(Re,Ve,Xe);return ct.packetType=tr[0],tr[0]===0?ct.data=this._parseAACAudioSpecificConfig(Re,Ve+1,Xe-1):ct.data=tr.subarray(1),ct}},{key:"_parseAACAudioSpecificConfig",value:function(Re,Ve,Xe){var ct=new Uint8Array(Re,Ve,Xe),tr=null,ir=0,or=0,Xr=null,Yr=0,bn=null;if(ir=or=ct[0]>>>3,Yr=(ct[0]&7)<<1|ct[1]>>>7,Yr<0||Yr>=this._mpegSamplingRates.length){this._onError(Se.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Yt=this._mpegSamplingRates[Yr],pt=(ct[1]&120)>>>3;if(pt<0||pt>=8){this._onError(Se.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}ir===5&&(bn=(ct[1]&7)<<1|ct[2]>>>7,Xr=(ct[2]&124)>>>2);var ht=self.navigator.userAgent.toLowerCase();return ht.indexOf("firefox")!==-1?Yr>=6?(ir=5,tr=new Array(4),bn=Yr-3):(ir=2,tr=new Array(2),bn=Yr):ht.indexOf("android")!==-1?(ir=2,tr=new Array(2),bn=Yr):(ir=5,bn=Yr,tr=new Array(4),Yr>=6?bn=Yr-3:pt===1&&(ir=2,tr=new Array(2),bn=Yr)),tr[0]=ir<<3,tr[0]|=(Yr&15)>>>1,tr[1]=(Yr&15)<<7,tr[1]|=(pt&15)<<3,ir===5&&(tr[1]|=(bn&15)>>>1,tr[2]=(bn&1)<<7,tr[2]|=2<<2,tr[3]=0),{config:tr,samplingRate:Yt,channelCount:pt,codec:"mp4a.40."+ir,originalCodec:"mp4a.40."+or}}},{key:"_parseMP3AudioData",value:function(Re,Ve,Xe,ct){if(Xe<4){l.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var tr=this._littleEndian,ir=new Uint8Array(Re,Ve,Xe),or=null;if(ct){if(ir[0]!==255)return;var Xr=ir[1]>>>3&3,Yr=(ir[1]&6)>>1,bn=(ir[2]&240)>>>4,Yt=(ir[2]&12)>>>2,pt=ir[3]>>>6&3,ht=pt!==3?2:1,Zt=0,$t=0,At=34,Pt="mp3";switch(Xr){case 0:Zt=this._mpegAudioV25SampleRateTable[Yt];break;case 2:Zt=this._mpegAudioV20SampleRateTable[Yt];break;case 3:Zt=this._mpegAudioV10SampleRateTable[Yt];break}switch(Yr){case 1:At=34,bn<this._mpegAudioL3BitRateTable.length&&($t=this._mpegAudioL3BitRateTable[bn]);break;case 2:At=33,bn<this._mpegAudioL2BitRateTable.length&&($t=this._mpegAudioL2BitRateTable[bn]);break;case 3:At=32,bn<this._mpegAudioL1BitRateTable.length&&($t=this._mpegAudioL1BitRateTable[bn]);break}or={bitRate:$t,samplingRate:Zt,channelCount:ht,codec:Pt,originalCodec:Pt}}else or=ir;return or}},{key:"_parseVideoData",value:function(Re,Ve,Xe,ct,tr){if(Xe<=1){l.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var ir=new Uint8Array(Re,Ve,Xe)[0],or=(ir&240)>>>4,Xr=ir&15;if(Xr!==7){this._onError(Se.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Xr));return}this._parseAVCVideoPacket(Re,Ve+1,Xe-1,ct,tr,or)}},{key:"_parseAVCVideoPacket",value:function(Re,Ve,Xe,ct,tr,ir){if(Xe<4){l.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var or=this._littleEndian,Xr=new DataView(Re,Ve,Xe),Yr=Xr.getUint8(0),bn=Xr.getUint32(0,!or)&16777215,Yt=bn<<8>>8;if(Yr===0)this._parseAVCDecoderConfigurationRecord(Re,Ve+4,Xe-4);else if(Yr===1)this._parseAVCVideoData(Re,Ve+4,Xe-4,ct,tr,ir,Yt);else if(!(Yr===2)){this._onError(Se.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Yr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Re,Ve,Xe){if(Xe<7){l.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ct=this._videoMetadata,tr=this._videoTrack,ir=this._littleEndian,or=new DataView(Re,Ve,Xe);ct?typeof ct.avcc!="undefined"&&l.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ct=this._videoMetadata={},ct.type="video",ct.id=tr.id,ct.timescale=this._timescale,ct.duration=this._duration);var Xr=or.getUint8(0),Yr=or.getUint8(1),bn=or.getUint8(2),Yt=or.getUint8(3);if(Xr!==1||Yr===0){this._onError(Se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(or.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Se.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var pt=or.getUint8(5)&31;if(pt===0){this._onError(Se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else pt>1&&l.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(pt));for(var ht=6,Zt=0;Zt<pt;Zt++){var $t=or.getUint16(ht,!ir);if(ht+=2,$t===0)continue;var At=new Uint8Array(Re,Ve+ht,$t);ht+=$t;var Pt=se.parseSPS(At);if(Zt!==0)continue;ct.codecWidth=Pt.codec_size.width,ct.codecHeight=Pt.codec_size.height,ct.presentWidth=Pt.present_size.width,ct.presentHeight=Pt.present_size.height,ct.profile=Pt.profile_string,ct.level=Pt.level_string,ct.bitDepth=Pt.bit_depth,ct.chromaFormat=Pt.chroma_format,ct.sarRatio=Pt.sar_ratio,ct.frameRate=Pt.frame_rate,(Pt.frame_rate.fixed===!1||Pt.frame_rate.fps_num===0||Pt.frame_rate.fps_den===0)&&(ct.frameRate=this._referenceFrameRate);var gt=ct.frameRate.fps_den,Wt=ct.frameRate.fps_num;ct.refSampleDuration=ct.timescale*(gt/Wt);for(var yr=At.subarray(1,4),cr="avc1.",pr=0;pr<3;pr++){var Qr=yr[pr].toString(16);Qr.length<2&&(Qr="0"+Qr),cr+=Qr}ct.codec=cr;var $r=this._mediaInfo;$r.width=ct.codecWidth,$r.height=ct.codecHeight,$r.fps=ct.frameRate.fps,$r.profile=ct.profile,$r.level=ct.level,$r.refFrames=Pt.ref_frames,$r.chromaFormat=Pt.chroma_format_string,$r.sarNum=ct.sarRatio.width,$r.sarDen=ct.sarRatio.height,$r.videoCodec=cr,$r.hasAudio?$r.audioCodec!=null&&($r.mimeType='video/x-flv; codecs="'+$r.videoCodec+","+$r.audioCodec+'"'):$r.mimeType='video/x-flv; codecs="'+$r.videoCodec+'"',$r.isComplete()&&this._onMediaInfo($r)}var Ln=or.getUint8(ht);if(Ln===0){this._onError(Se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ln>1&&l.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Ln));ht++;for(var Mn=0;Mn<Ln;Mn++){var Vn=or.getUint16(ht,!ir);if(ht+=2,Vn===0)continue;ht+=Vn}ct.avcc=new Uint8Array(Xe),ct.avcc.set(new Uint8Array(Re,Ve,Xe),0),l.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",ct)}},{key:"_parseAVCVideoData",value:function(Re,Ve,Xe,ct,tr,ir,or){for(var Xr=this._littleEndian,Yr=new DataView(Re,Ve,Xe),bn=[],Yt=0,pt=0,ht=this._naluLengthSize,Zt=this._timestampBase+ct,$t=ir===1;pt<Xe;){if(pt+4>=Xe){l.w(this.TAG,"Malformed Nalu near timestamp ".concat(Zt,", offset = ").concat(pt,", dataSize = ").concat(Xe));break}var At=Yr.getUint32(pt,!Xr);if(ht===3&&(At>>>=8),At>Xe-ht){l.w(this.TAG,"Malformed Nalus near timestamp ".concat(Zt,", NaluSize > DataSize!"));return}var Pt=Yr.getUint8(pt+ht)&31;Pt===5&&($t=!0);var gt=new Uint8Array(Re,Ve+pt,ht+At),Wt={type:Pt,data:gt};bn.push(Wt),Yt+=gt.byteLength,pt+=ht+At}if(bn.length){var yr=this._videoTrack,cr={units:bn,length:Yt,isKeyframe:$t,dts:Zt,cts:or,pts:Zt+or};$t&&(cr.fileposition=tr),yr.samples.push(cr),yr.length+=Yt}}}],[{key:"probe",value:function(Re){var Ve=new Uint8Array(Re),Xe={match:!1};if(Ve[0]!==70||Ve[1]!==76||Ve[2]!==86||Ve[3]!==1)return Xe;var ct=(Ve[4]&4)>>>2!==0,tr=(Ve[4]&1)!==0,ir=_e(Ve,5);return ir<9?Xe:{match:!0,consumed:ir,dataOffset:ir,hasAudioTrack:ct,hasVideoTrack:tr}}}]),Tt}(),at=We,tt=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"init",value:function(){Tt.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 Re in Tt.types)Tt.types.hasOwnProperty(Re)&&(Tt.types[Re]=[Re.charCodeAt(0),Re.charCodeAt(1),Re.charCodeAt(2),Re.charCodeAt(3)]);var Ve=Tt.constants={};Ve.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Ve.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Ve.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Ve.STSC=Ve.STCO=Ve.STTS,Ve.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ve.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]),Ve.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]),Ve.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Ve.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ve.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Re){for(var Ve=8,Xe=null,ct=Array.prototype.slice.call(arguments,1),tr=ct.length,ir=0;ir<tr;ir++)Ve+=ct[ir].byteLength;Xe=new Uint8Array(Ve),Xe[0]=Ve>>>24&255,Xe[1]=Ve>>>16&255,Xe[2]=Ve>>>8&255,Xe[3]=Ve&255,Xe.set(Re,4);for(var or=8,Xr=0;Xr<tr;Xr++)Xe.set(ct[Xr],or),or+=ct[Xr].byteLength;return Xe}},{key:"generateInitSegment",value:function(Re){var Ve=Tt.box(Tt.types.ftyp,Tt.constants.FTYP),Xe=Tt.moov(Re),ct=new Uint8Array(Ve.byteLength+Xe.byteLength);return ct.set(Ve,0),ct.set(Xe,Ve.byteLength),ct}},{key:"moov",value:function(Re){var Ve=Tt.mvhd(Re.timescale,Re.duration),Xe=Tt.trak(Re),ct=Tt.mvex(Re);return Tt.box(Tt.types.moov,Ve,Xe,ct)}},{key:"mvhd",value:function(Re,Ve){return Tt.box(Tt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Re>>>24&255,Re>>>16&255,Re>>>8&255,Re&255,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&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(Re){return Tt.box(Tt.types.trak,Tt.tkhd(Re),Tt.mdia(Re))}},{key:"tkhd",value:function(Re){var Ve=Re.id,Xe=Re.duration,ct=Re.presentWidth,tr=Re.presentHeight;return Tt.box(Tt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255,0,0,0,0,Xe>>>24&255,Xe>>>16&255,Xe>>>8&255,Xe&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,ct>>>8&255,ct&255,0,0,tr>>>8&255,tr&255,0,0]))}},{key:"mdia",value:function(Re){return Tt.box(Tt.types.mdia,Tt.mdhd(Re),Tt.hdlr(Re),Tt.minf(Re))}},{key:"mdhd",value:function(Re){var Ve=Re.timescale,Xe=Re.duration;return Tt.box(Tt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255,Xe>>>24&255,Xe>>>16&255,Xe>>>8&255,Xe&255,85,196,0,0]))}},{key:"hdlr",value:function(Re){var Ve=null;return Re.type==="audio"?Ve=Tt.constants.HDLR_AUDIO:Ve=Tt.constants.HDLR_VIDEO,Tt.box(Tt.types.hdlr,Ve)}},{key:"minf",value:function(Re){var Ve=null;return Re.type==="audio"?Ve=Tt.box(Tt.types.smhd,Tt.constants.SMHD):Ve=Tt.box(Tt.types.vmhd,Tt.constants.VMHD),Tt.box(Tt.types.minf,Ve,Tt.dinf(),Tt.stbl(Re))}},{key:"dinf",value:function(){var Re=Tt.box(Tt.types.dinf,Tt.box(Tt.types.dref,Tt.constants.DREF));return Re}},{key:"stbl",value:function(Re){var Ve=Tt.box(Tt.types.stbl,Tt.stsd(Re),Tt.box(Tt.types.stts,Tt.constants.STTS),Tt.box(Tt.types.stsc,Tt.constants.STSC),Tt.box(Tt.types.stsz,Tt.constants.STSZ),Tt.box(Tt.types.stco,Tt.constants.STCO));return Ve}},{key:"stsd",value:function(Re){return Re.type==="audio"?Re.codec==="mp3"?Tt.box(Tt.types.stsd,Tt.constants.STSD_PREFIX,Tt.mp3(Re)):Tt.box(Tt.types.stsd,Tt.constants.STSD_PREFIX,Tt.mp4a(Re)):Tt.box(Tt.types.stsd,Tt.constants.STSD_PREFIX,Tt.avc1(Re))}},{key:"mp3",value:function(Re){var Ve=Re.channelCount,Xe=Re.audioSampleRate,ct=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ve,0,16,0,0,0,0,Xe>>>8&255,Xe&255,0,0]);return Tt.box(Tt.types[".mp3"],ct)}},{key:"mp4a",value:function(Re){var Ve=Re.channelCount,Xe=Re.audioSampleRate,ct=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ve,0,16,0,0,0,0,Xe>>>8&255,Xe&255,0,0]);return Tt.box(Tt.types.mp4a,ct,Tt.esds(Re))}},{key:"esds",value:function(Re){var Ve=Re.config||[],Xe=Ve.length,ct=new Uint8Array([0,0,0,0,3,23+Xe,0,1,0,4,15+Xe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Xe]).concat(Ve).concat([6,1,2]));return Tt.box(Tt.types.esds,ct)}},{key:"avc1",value:function(Re){var Ve=Re.avcc,Xe=Re.codecWidth,ct=Re.codecHeight,tr=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,Xe>>>8&255,Xe&255,ct>>>8&255,ct&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 Tt.box(Tt.types.avc1,tr,Tt.box(Tt.types.avcC,Ve))}},{key:"mvex",value:function(Re){return Tt.box(Tt.types.mvex,Tt.trex(Re))}},{key:"trex",value:function(Re){var Ve=Re.id,Xe=new Uint8Array([0,0,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Tt.box(Tt.types.trex,Xe)}},{key:"moof",value:function(Re,Ve){return Tt.box(Tt.types.moof,Tt.mfhd(Re.sequenceNumber),Tt.traf(Re,Ve))}},{key:"mfhd",value:function(Re){var Ve=new Uint8Array([0,0,0,0,Re>>>24&255,Re>>>16&255,Re>>>8&255,Re&255]);return Tt.box(Tt.types.mfhd,Ve)}},{key:"traf",value:function(Re,Ve){var Xe=Re.id,ct=Tt.box(Tt.types.tfhd,new Uint8Array([0,0,0,0,Xe>>>24&255,Xe>>>16&255,Xe>>>8&255,Xe&255])),tr=Tt.box(Tt.types.tfdt,new Uint8Array([0,0,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255])),ir=Tt.sdtp(Re),or=Tt.trun(Re,ir.byteLength+16+16+8+16+8+8);return Tt.box(Tt.types.traf,ct,tr,or,ir)}},{key:"sdtp",value:function(Re){for(var Ve=Re.samples||[],Xe=Ve.length,ct=new Uint8Array(4+Xe),tr=0;tr<Xe;tr++){var ir=Ve[tr].flags;ct[tr+4]=ir.isLeading<<6|ir.dependsOn<<4|ir.isDependedOn<<2|ir.hasRedundancy}return Tt.box(Tt.types.sdtp,ct)}},{key:"trun",value:function(Re,Ve){var Xe=Re.samples||[],ct=Xe.length,tr=12+16*ct,ir=new Uint8Array(tr);Ve+=8+tr,ir.set([0,0,15,1,ct>>>24&255,ct>>>16&255,ct>>>8&255,ct&255,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255],0);for(var or=0;or<ct;or++){var Xr=Xe[or].duration,Yr=Xe[or].size,bn=Xe[or].flags,Yt=Xe[or].cts;ir.set([Xr>>>24&255,Xr>>>16&255,Xr>>>8&255,Xr&255,Yr>>>24&255,Yr>>>16&255,Yr>>>8&255,Yr&255,bn.isLeading<<2|bn.dependsOn,bn.isDependedOn<<6|bn.hasRedundancy<<4|bn.isNonSync,0,0,Yt>>>24&255,Yt>>>16&255,Yt>>>8&255,Yt&255],12+16*or)}return Tt.box(Tt.types.trun,ir)}},{key:"mdat",value:function(Re){return Tt.box(Tt.types.mdat,Re)}}]),Tt}();tt.init();var Oe=tt,yt=function(){function Tt(){Object(y.a)(this,Tt)}return Object(m.a)(Tt,null,[{key:"getSilentFrame",value:function(Re,Ve){if(Re==="mp4a.40.2"){if(Ve===1)return new Uint8Array([0,200,0,128,35,128]);if(Ve===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Ve===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Ve===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Ve===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(Ve===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(Ve===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(Ve===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(Ve===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}}]),Tt}(),Ye=yt,bt=function Tt(St,Re,Ve,Xe,ct){Object(y.a)(this,Tt),this.dts=St,this.pts=Re,this.duration=Ve,this.originalDts=Xe,this.isSyncPoint=ct,this.fileposition=null},Ct=function(){function Tt(){Object(y.a)(this,Tt),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(m.a)(Tt,[{key:"appendSyncPoint",value:function(Re){Re.isSyncPoint=!0,this.syncPoints.push(Re)}}]),Tt}(),It=function(){function Tt(){Object(y.a)(this,Tt),this._list=[]}return Object(m.a)(Tt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Re){var Ve=this._list;if(Re.length===0)return;Ve.length>0&&Re[0].originalDts<Ve[Ve.length-1].originalDts&&this.clear(),Array.prototype.push.apply(Ve,Re)}},{key:"getLastSyncPointBeforeDts",value:function(Re){if(this._list.length==0)return null;var Ve=this._list,Xe=0,ct=Ve.length-1,tr=0,ir=0,or=ct;for(Re<Ve[0].dts&&(Xe=0,ir=or+1);ir<=or;)if(tr=ir+Math.floor((or-ir)/2),tr===ct||Re>=Ve[tr].dts&&Re<Ve[tr+1].dts){Xe=tr;break}else Ve[tr].dts<Re?ir=tr+1:or=tr-1;return this._list[Xe]}}]),Tt}(),Ft=function(){function Tt(St){Object(y.a)(this,Tt),this._type=St,this._list=[],this._lastAppendLocation=-1}return Object(m.a)(Tt,[{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(Re){var Ve=this._list;if(Ve.length===0)return-2;var Xe=Ve.length-1,ct=0,tr=0,ir=Xe,or=0;if(Re<Ve[0].originalBeginDts)return or=-1,or;for(;tr<=ir;)if(ct=tr+Math.floor((ir-tr)/2),ct===Xe||Re>Ve[ct].lastSample.originalDts&&Re<Ve[ct+1].originalBeginDts){or=ct;break}else Ve[ct].originalBeginDts<Re?tr=ct+1:ir=ct-1;return or}},{key:"_searchNearestSegmentAfter",value:function(Re){return this._searchNearestSegmentBefore(Re)+1}},{key:"append",value:function(Re){var Ve=this._list,Xe=Re,ct=this._lastAppendLocation,tr=0;ct!==-1&&ct<Ve.length&&Xe.originalBeginDts>=Ve[ct].lastSample.originalDts&&(ct===Ve.length-1||ct<Ve.length-1&&Xe.originalBeginDts<Ve[ct+1].originalBeginDts)?tr=ct+1:Ve.length>0&&(tr=this._searchNearestSegmentBefore(Xe.originalBeginDts)+1),this._lastAppendLocation=tr,this._list.splice(tr,0,Xe)}},{key:"getLastSegmentBefore",value:function(Re){var Ve=this._searchNearestSegmentBefore(Re);return Ve>=0?this._list[Ve]:null}},{key:"getLastSampleBefore",value:function(Re){var Ve=this.getLastSegmentBefore(Re);return Ve!=null?Ve.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Re){for(var Ve=this._searchNearestSegmentBefore(Re),Xe=this._list[Ve].syncPoints;Xe.length===0&&Ve>0;)Ve--,Xe=this._list[Ve].syncPoints;return Xe.length>0?Xe[Xe.length-1]:null}}]),Tt}(),Vt=function(){function Tt(St){Object(y.a)(this,Tt),this.TAG="MP4Remuxer",this._config=St,this._isLive=St.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 Ft("audio"),this._videoSegmentInfoList=new Ft("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(m.a)(Tt,[{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(Re){return Re.onDataAvailable=this.remux.bind(this),Re.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Re){this._onInitSegment=Re}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Re){this._onMediaSegment=Re}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Re){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Re,Ve){if(!this._onMediaSegment)throw new c("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Re,Ve),this._remuxVideo(Ve),this._remuxAudio(Re)}},{key:"_onTrackMetadataReceived",value:function(Re,Ve){var Xe=null,ct="mp4",tr=Ve.codec;if(Re==="audio")this._audioMeta=Ve,Ve.codec==="mp3"&&this._mp3UseMpegAudio?(ct="mpeg",tr="",Xe=new Uint8Array):Xe=Oe.generateInitSegment(Ve);else if(Re==="video")this._videoMeta=Ve,Xe=Oe.generateInitSegment(Ve);else return;if(!this._onInitSegment)throw new c("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Re,{type:Re,data:Xe.buffer,codec:tr,container:"".concat(Re,"/").concat(ct),mediaDuration:Ve.duration})}},{key:"_calculateDtsBase",value:function(Re,Ve){if(this._dtsBaseInited)return;Re.samples&&Re.samples.length&&(this._audioDtsBase=Re.samples[0].dts),Ve.samples&&Ve.samples.length&&(this._videoDtsBase=Ve.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Re=this._videoStashedLastSample,Ve=this._audioStashedLastSample,Xe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Re!=null&&(Xe.samples.push(Re),Xe.length=Re.length);var ct={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Ve!=null&&(ct.samples.push(Ve),ct.length=Ve.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Xe,!0),this._remuxAudio(ct,!0)}},{key:"_remuxAudio",value:function(Re,Ve){if(this._audioMeta==null)return;var Xe=Re,ct=Xe.samples,tr=void 0,ir=-1,or=-1,Xr=-1,Yr=this._audioMeta.refSampleDuration,bn=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Yt=this._dtsBaseInited&&this._audioNextDts===void 0,pt=!1;if(!ct||ct.length===0)return;if(ct.length===1&&!Ve)return;var ht=0,Zt=null,$t=0;bn?(ht=0,$t=Xe.length):(ht=8,$t=8+Xe.length);var At=null;if(ct.length>1&&(At=ct.pop(),$t-=At.length),this._audioStashedLastSample!=null){var Pt=this._audioStashedLastSample;this._audioStashedLastSample=null,ct.unshift(Pt),$t+=Pt.length}At!=null&&(this._audioStashedLastSample=At);var gt=ct[0].dts-this._dtsBase;if(this._audioNextDts)tr=gt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())tr=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(pt=!0));else{var Wt=this._audioSegmentInfoList.getLastSampleBefore(gt);if(Wt!=null){var yr=gt-(Wt.originalDts+Wt.duration);yr<=3&&(yr=0);var cr=Wt.dts+Wt.duration+yr;tr=gt-cr}else tr=0}if(pt){var pr=gt-tr,Qr=this._videoSegmentInfoList.getLastSegmentBefore(gt);if(Qr!=null&&Qr.beginDts<pr){var $r=Ye.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if($r){var Ln=Qr.beginDts,Mn=pr-Qr.beginDts;l.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Ln,", duration: ").concat(Mn)),ct.unshift({unit:$r,dts:Ln,pts:Ln}),$t+=$r.byteLength}}else pt=!1}for(var Vn=[],ii=0;ii<ct.length;ii++){var Li=ct[ii],Pi=Li.unit,Ze=Li.dts-this._dtsBase,xe=Ze-tr;ir===-1&&(ir=xe);var Me=0;if(ii!==ct.length-1){var ke=ct[ii+1].dts-this._dtsBase-tr;Me=ke-xe}else if(At!=null){var Ge=At.dts-this._dtsBase-tr;Me=Ge-xe}else Vn.length>=1?Me=Vn[Vn.length-1].duration:Me=Math.floor(Yr);var Ke=!1,Je=null;if(Me>Yr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){Ke=!0;var vt=Math.abs(Me-Yr),ot=Math.ceil(vt/Yr),Ut=xe+Yr;l.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(xe+Me," ms, expected: ").concat(xe+Math.round(Yr)," ms, ")+"delta: ".concat(Math.round(vt)," ms, generate: ").concat(ot," frames"));var br=Ye.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);br==null&&(l.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),br=Pi),Je=[];for(var Ar=0;Ar<ot;Ar++){var Or=Math.round(Ut);if(Je.length>0){var zt=Je[Je.length-1];zt.duration=Or-zt.dts}var un={dts:Or,pts:Or,cts:0,unit:br,size:br.byteLength,duration:0,originalDts:Ze,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Je.push(un),$t+=un.size,Ut+=Yr}var lr=Je[Je.length-1];lr.duration=xe+Me-lr.dts,Me=Math.round(Yr)}Vn.push({dts:xe,pts:xe,cts:0,unit:Li.unit,size:Li.unit.byteLength,duration:Me,originalDts:Ze,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ke&&Vn.push.apply(Vn,Je)}bn?Zt=new Uint8Array($t):(Zt=new Uint8Array($t),Zt[0]=$t>>>24&255,Zt[1]=$t>>>16&255,Zt[2]=$t>>>8&255,Zt[3]=$t&255,Zt.set(Oe.types.mdat,4));for(var Vr=0;Vr<Vn.length;Vr++){var Br=Vn[Vr].unit;Zt.set(Br,ht),ht+=Br.byteLength}var Sr=Vn[Vn.length-1];or=Sr.dts+Sr.duration,this._audioNextDts=or;var xn=new Ct;xn.beginDts=ir,xn.endDts=or,xn.beginPts=ir,xn.endPts=or,xn.originalBeginDts=Vn[0].originalDts,xn.originalEndDts=Sr.originalDts+Sr.duration,xn.firstSample=new bt(Vn[0].dts,Vn[0].pts,Vn[0].duration,Vn[0].originalDts,!1),xn.lastSample=new bt(Sr.dts,Sr.pts,Sr.duration,Sr.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(xn),Xe.samples=Vn,Xe.sequenceNumber++;var Hn=null;bn?Hn=new Uint8Array:Hn=Oe.moof(Xe,ir),Xe.samples=[],Xe.length=0;var ai={type:"audio",data:this._mergeBoxes(Hn,Zt).buffer,sampleCount:Vn.length,info:xn};bn&&Yt&&(ai.timestampOffset=ir),this._onMediaSegment("audio",ai)}},{key:"_remuxVideo",value:function(Re,Ve){if(this._videoMeta==null)return;var Xe=Re,ct=Xe.samples,tr=void 0,ir=-1,or=-1,Xr=-1,Yr=-1;if(!ct||ct.length===0)return;if(ct.length===1&&!Ve)return;var bn=8,Yt=null,pt=8+Re.length,ht=null;if(ct.length>1&&(ht=ct.pop(),pt-=ht.length),this._videoStashedLastSample!=null){var Zt=this._videoStashedLastSample;this._videoStashedLastSample=null,ct.unshift(Zt),pt+=Zt.length}ht!=null&&(this._videoStashedLastSample=ht);var $t=ct[0].dts-this._dtsBase;if(this._videoNextDts)tr=$t-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())tr=0;else{var At=this._videoSegmentInfoList.getLastSampleBefore($t);if(At!=null){var Pt=$t-(At.originalDts+At.duration);Pt<=3&&(Pt=0);var gt=At.dts+At.duration+Pt;tr=$t-gt}else tr=0}for(var Wt=new Ct,yr=[],cr=0;cr<ct.length;cr++){var pr=ct[cr],Qr=pr.dts-this._dtsBase,$r=pr.isKeyframe,Ln=Qr-tr,Mn=pr.cts,Vn=Ln+Mn;ir===-1&&(ir=Ln,Xr=Vn);var ii=0;if(cr!==ct.length-1){var Li=ct[cr+1].dts-this._dtsBase-tr;ii=Li-Ln}else if(ht!=null){var Pi=ht.dts-this._dtsBase-tr;ii=Pi-Ln}else yr.length>=1?ii=yr[yr.length-1].duration:ii=Math.floor(this._videoMeta.refSampleDuration);if($r){var Ze=new bt(Ln,Vn,ii,pr.dts,!0);Ze.fileposition=pr.fileposition,Wt.appendSyncPoint(Ze)}yr.push({dts:Ln,pts:Vn,cts:Mn,units:pr.units,size:pr.length,isKeyframe:$r,duration:ii,originalDts:Qr,flags:{isLeading:0,dependsOn:$r?2:1,isDependedOn:$r?1:0,hasRedundancy:0,isNonSync:$r?0:1}})}Yt=new Uint8Array(pt),Yt[0]=pt>>>24&255,Yt[1]=pt>>>16&255,Yt[2]=pt>>>8&255,Yt[3]=pt&255,Yt.set(Oe.types.mdat,4);for(var xe=0;xe<yr.length;xe++)for(var Me=yr[xe].units;Me.length;){var ke=Me.shift(),Ge=ke.data;Yt.set(Ge,bn),bn+=Ge.byteLength}var Ke=yr[yr.length-1];if(or=Ke.dts+Ke.duration,Yr=Ke.pts+Ke.duration,this._videoNextDts=or,Wt.beginDts=ir,Wt.endDts=or,Wt.beginPts=Xr,Wt.endPts=Yr,Wt.originalBeginDts=yr[0].originalDts,Wt.originalEndDts=Ke.originalDts+Ke.duration,Wt.firstSample=new bt(yr[0].dts,yr[0].pts,yr[0].duration,yr[0].originalDts,yr[0].isKeyframe),Wt.lastSample=new bt(Ke.dts,Ke.pts,Ke.duration,Ke.originalDts,Ke.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Wt),Xe.samples=yr,Xe.sequenceNumber++,this._forceFirstIDR){var Je=yr[0].flags;Je.dependsOn=2,Je.isNonSync=0}var vt=Oe.moof(Xe,ir);Xe.samples=[],Xe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(vt,Yt).buffer,sampleCount:yr.length,info:Wt})}},{key:"_mergeBoxes",value:function(Re,Ve){var Xe=new Uint8Array(Re.byteLength+Ve.byteLength);return Xe.set(Re,0),Xe.set(Ve,Re.byteLength),Xe}}]),Tt}(),$e=Vt,ge={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"},ne=ge,wt=function(){function Tt(St,Re){Object(y.a)(this,Tt),this.TAG="TransmuxingController",this._emitter=new f.a,this._config=Re,St.segments||(St.segments=[{duration:St.duration,filesize:St.filesize,url:St.url}]),typeof St.cors!="boolean"&&(St.cors=!0),typeof St.withCredentials!="boolean"&&(St.withCredentials=!1),this._mediaDataSource=St,this._currentSegmentIndex=0;var Ve=0;this._mediaDataSource.segments.forEach(function(Xe){Xe.timestampBase=Ve,Ve+=Xe.duration,Xe.cors=St.cors,Xe.withCredentials=St.withCredentials,Re.referrerPolicy&&(Xe.referrerPolicy=Re.referrerPolicy)}),!isNaN(Ve)&&this._mediaDataSource.duration!==Ve&&(this._mediaDataSource.duration=Ve),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(m.a)(Tt,[{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(Re,Ve){this._emitter.addListener(Re,Ve)}},{key:"off",value:function(Re,Ve){this._emitter.removeListener(Re,Ve)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Re,Ve){this._currentSegmentIndex=Re;var Xe=this._mediaDataSource.segments[Re],ct=this._ioctl=new G(Xe,this._config,Re);ct.onError=this._onIOException.bind(this),ct.onSeeked=this._onIOSeeked.bind(this),ct.onComplete=this._onIOComplete.bind(this),ct.onRedirect=this._onIORedirect.bind(this),ct.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),Ve?this._demuxer.bindDataSource(this._ioctl):ct.onDataArrival=this._onInitChunkArrival.bind(this),ct.open(Ve)}},{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(Re){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var Ve=this._searchSegmentIndexContains(Re);if(Ve===this._currentSegmentIndex){var Xe=this._mediaInfo.segments[Ve];if(Xe==null)this._pendingSeekTime=Re;else{var ct=Xe.getNearestKeyframe(Re);this._remuxer.seek(ct.milliseconds),this._ioctl.seek(ct.fileposition),this._pendingResolveSeekPoint=ct.milliseconds}}else{var tr=this._mediaInfo.segments[Ve];if(tr==null)this._pendingSeekTime=Re,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(Ve);else{var ir=tr.getNearestKeyframe(Re);this._internalAbort(),this._remuxer.seek(Re),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[Ve].timestampBase,this._loadSegment(Ve,ir.fileposition),this._pendingResolveSeekPoint=ir.milliseconds,this._reportSegmentMediaInfo(Ve)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Re){for(var Ve=this._mediaDataSource.segments,Xe=Ve.length-1,ct=0;ct<Ve.length;ct++)if(Re<Ve[ct].timestampBase){Xe=ct-1;break}return Xe}},{key:"_onInitChunkArrival",value:function(Re,Ve){var Xe=this,ct=null,tr=0;if(Ve>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,tr=this._demuxer.parseChunks(Re,Ve);else if((ct=at.probe(Re)).match){this._demuxer=new at(ct,this._config),this._remuxer||(this._remuxer=new $e(this._config));var ir=this._mediaDataSource;ir.duration!=null&&!isNaN(ir.duration)&&(this._demuxer.overridedDuration=ir.duration),typeof ir.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=ir.hasAudio),typeof ir.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=ir.hasVideo),this._demuxer.timestampBase=ir.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),tr=this._demuxer.parseChunks(Re,Ve)}else ct=null,l.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Xe._internalAbort()}),this._emitter.emit(ne.DEMUX_ERROR,Se.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),tr=0;return tr}},{key:"_onMediaInfo",value:function(Re){var Ve=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Re),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,fe.prototype));var Xe=Object.assign({},Re);Object.setPrototypeOf(Xe,fe.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Xe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ct=Ve._pendingSeekTime;Ve._pendingSeekTime=null,Ve.seek(ct)})}},{key:"_onMetaDataArrived",value:function(Re){this._emitter.emit(ne.METADATA_ARRIVED,Re)}},{key:"_onScriptDataArrived",value:function(Re){this._emitter.emit(ne.SCRIPTDATA_ARRIVED,Re)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Re){var Ve=Re,Xe=Ve+1;Xe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Xe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(ne.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Re){var Ve=this._ioctl.extraData;this._mediaDataSource.segments[Ve].redirectedURL=Re}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(ne.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Re,Ve){l.e(this.TAG,"IOException: type = ".concat(Re,", code = ").concat(Ve.code,", msg = ").concat(Ve.msg)),this._emitter.emit(ne.IO_ERROR,Re,Ve),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Re,Ve){l.e(this.TAG,"DemuxException: type = ".concat(Re,", info = ").concat(Ve)),this._emitter.emit(ne.DEMUX_ERROR,Re,Ve)}},{key:"_onRemuxerInitSegmentArrival",value:function(Re,Ve){this._emitter.emit(ne.INIT_SEGMENT,Re,Ve)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Re,Ve){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(ne.MEDIA_SEGMENT,Re,Ve),this._pendingResolveSeekPoint!=null&&Re==="video"){var Xe=Ve.info.syncPoints,ct=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,_.safari&&Xe.length>0&&Xe[0].originalDts===ct&&(ct=Xe[0].pts),this._emitter.emit(ne.RECOMMEND_SEEKPOINT,ct)}}},{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(Re){var Ve=this._mediaInfo.segments[Re],Xe=Object.assign({},Ve);Xe.duration=this._mediaInfo.duration,Xe.segmentCount=this._mediaInfo.segmentCount,delete Xe.segments,delete Xe.keyframesIndex,this._emitter.emit(ne.MEDIA_INFO,Xe)}},{key:"_reportStatisticsInfo",value:function(){var Re={};Re.url=this._ioctl.currentURL,Re.hasRedirect=this._ioctl.hasRedirect,Re.hasRedirect&&(Re.redirectedURL=this._ioctl.currentRedirectedURL),Re.speed=this._ioctl.currentSpeed,Re.loaderType=this._ioctl.loaderType,Re.currentSegmentIndex=this._currentSegmentIndex,Re.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(ne.STATISTICS_INFO,Re)}}]),Tt}(),qe=wt,he=function(St){var Re="TransmuxingWorker",Ve=null,Xe=$t.bind(this);p.install(),St.addEventListener("message",function(At){switch(At.data.cmd){case"init":Ve=new qe(At.data.param[0],At.data.param[1]),Ve.on(ne.IO_ERROR,pt.bind(this)),Ve.on(ne.DEMUX_ERROR,ht.bind(this)),Ve.on(ne.INIT_SEGMENT,ct.bind(this)),Ve.on(ne.MEDIA_SEGMENT,tr.bind(this)),Ve.on(ne.LOADING_COMPLETE,ir.bind(this)),Ve.on(ne.RECOVERED_EARLY_EOF,or.bind(this)),Ve.on(ne.MEDIA_INFO,Xr.bind(this)),Ve.on(ne.METADATA_ARRIVED,Yr.bind(this)),Ve.on(ne.SCRIPTDATA_ARRIVED,bn.bind(this)),Ve.on(ne.STATISTICS_INFO,Yt.bind(this)),Ve.on(ne.RECOMMEND_SEEKPOINT,Zt.bind(this));break;case"destroy":Ve&&(Ve.destroy(),Ve=null),St.postMessage({msg:"destroyed"});break;case"start":Ve.start();break;case"stop":Ve.stop();break;case"seek":Ve.seek(At.data.param);break;case"pause":Ve.pause();break;case"resume":Ve.resume();break;case"logging_config":{var Pt=At.data.param;Ce.applyConfig(Pt),Pt.enableCallback===!0?Ce.addLogListener(Xe):Ce.removeLogListener(Xe);break}}});function ct(At,Pt){var gt={msg:ne.INIT_SEGMENT,data:{type:At,data:Pt}};St.postMessage(gt,[Pt.data])}function tr(At,Pt){var gt={msg:ne.MEDIA_SEGMENT,data:{type:At,data:Pt}};St.postMessage(gt,[Pt.data])}function ir(){var At={msg:ne.LOADING_COMPLETE};St.postMessage(At)}function or(){var At={msg:ne.RECOVERED_EARLY_EOF};St.postMessage(At)}function Xr(At){var Pt={msg:ne.MEDIA_INFO,data:At};St.postMessage(Pt)}function Yr(At){var Pt={msg:ne.METADATA_ARRIVED,data:At};St.postMessage(Pt)}function bn(At){var Pt={msg:ne.SCRIPTDATA_ARRIVED,data:At};St.postMessage(Pt)}function Yt(At){var Pt={msg:ne.STATISTICS_INFO,data:At};St.postMessage(Pt)}function pt(At,Pt){St.postMessage({msg:ne.IO_ERROR,data:{type:At,info:Pt}})}function ht(At,Pt){St.postMessage({msg:ne.DEMUX_ERROR,data:{type:At,info:Pt}})}function Zt(At){St.postMessage({msg:ne.RECOMMEND_SEEKPOINT,data:At})}function $t(At,Pt){St.postMessage({msg:"logcat_callback",data:{type:At,logcat:Pt}})}},kt=he,nr=function(){function Tt(St,Re){if(Object(y.a)(this,Tt),this.TAG="Transmuxer",this._emitter=new f.a,Re.enableWorker&&typeof Worker!="undefined")try{var Ve=i("0r65");this._worker=Ve(kt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[St,Re]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ce.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ce.getConfig()})}catch(ct){l.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new qe(St,Re)}else this._controller=new qe(St,Re);if(this._controller){var Xe=this._controller;Xe.on(ne.IO_ERROR,this._onIOError.bind(this)),Xe.on(ne.DEMUX_ERROR,this._onDemuxError.bind(this)),Xe.on(ne.INIT_SEGMENT,this._onInitSegment.bind(this)),Xe.on(ne.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Xe.on(ne.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Xe.on(ne.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Xe.on(ne.MEDIA_INFO,this._onMediaInfo.bind(this)),Xe.on(ne.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Xe.on(ne.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Xe.on(ne.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Xe.on(ne.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(m.a)(Tt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ce.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Re,Ve){this._emitter.addListener(Re,Ve)}},{key:"off",value:function(Re,Ve){this._emitter.removeListener(Re,Ve)}},{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(Re){this._worker?this._worker.postMessage({cmd:"seek",param:Re}):this._controller.seek(Re)}},{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(Re,Ve){var Xe=this;Promise.resolve().then(function(){Xe._emitter.emit(ne.INIT_SEGMENT,Re,Ve)})}},{key:"_onMediaSegment",value:function(Re,Ve){var Xe=this;Promise.resolve().then(function(){Xe._emitter.emit(ne.MEDIA_SEGMENT,Re,Ve)})}},{key:"_onLoadingComplete",value:function(){var Re=this;Promise.resolve().then(function(){Re._emitter.emit(ne.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Re=this;Promise.resolve().then(function(){Re._emitter.emit(ne.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Re){var Ve=this;Promise.resolve().then(function(){Ve._emitter.emit(ne.MEDIA_INFO,Re)})}},{key:"_onMetaDataArrived",value:function(Re){var Ve=this;Promise.resolve().then(function(){Ve._emitter.emit(ne.METADATA_ARRIVED,Re)})}},{key:"_onScriptDataArrived",value:function(Re){var Ve=this;Promise.resolve().then(function(){Ve._emitter.emit(ne.SCRIPTDATA_ARRIVED,Re)})}},{key:"_onStatisticsInfo",value:function(Re){var Ve=this;Promise.resolve().then(function(){Ve._emitter.emit(ne.STATISTICS_INFO,Re)})}},{key:"_onIOError",value:function(Re,Ve){var Xe=this;Promise.resolve().then(function(){Xe._emitter.emit(ne.IO_ERROR,Re,Ve)})}},{key:"_onDemuxError",value:function(Re,Ve){var Xe=this;Promise.resolve().then(function(){Xe._emitter.emit(ne.DEMUX_ERROR,Re,Ve)})}},{key:"_onRecommendSeekpoint",value:function(Re){var Ve=this;Promise.resolve().then(function(){Ve._emitter.emit(ne.RECOMMEND_SEEKPOINT,Re)})}},{key:"_onLoggingConfigChanged",value:function(Re){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Re})}},{key:"_onWorkerMessage",value:function(Re){var Ve=Re.data,Xe=Ve.data;if(Ve.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Ve.msg){case ne.INIT_SEGMENT:case ne.MEDIA_SEGMENT:this._emitter.emit(Ve.msg,Xe.type,Xe.data);break;case ne.LOADING_COMPLETE:case ne.RECOVERED_EARLY_EOF:this._emitter.emit(Ve.msg);break;case ne.MEDIA_INFO:Object.setPrototypeOf(Xe,fe.prototype),this._emitter.emit(Ve.msg,Xe);break;case ne.METADATA_ARRIVED:case ne.SCRIPTDATA_ARRIVED:case ne.STATISTICS_INFO:this._emitter.emit(Ve.msg,Xe);break;case ne.IO_ERROR:case ne.DEMUX_ERROR:this._emitter.emit(Ve.msg,Xe.type,Xe.info);break;case ne.RECOMMEND_SEEKPOINT:this._emitter.emit(Ve.msg,Xe);break;case"logcat_callback":l.emitter.emit("log",Xe.type,Xe.logcat);break;default:break}}}]),Tt}(),lt=nr,Xt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},hr=Xt,Wr=function(){function Tt(St){Object(y.a)(this,Tt),this.TAG="MSEController",this._config=St,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 It}return Object(m.a)(Tt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Re,Ve){this._emitter.addListener(Re,Ve)}},{key:"off",value:function(Re,Ve){this._emitter.removeListener(Re,Ve)}},{key:"attachMediaElement",value:function(Re){if(this._mediaSource)throw new c("MediaSource has been attached to an HTMLMediaElement!");var Ve=this._mediaSource=new window.MediaSource;Ve.addEventListener("sourceopen",this.e.onSourceOpen),Ve.addEventListener("sourceended",this.e.onSourceEnded),Ve.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Re,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Re.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Re=this._mediaSource;for(var Ve in this._sourceBuffers){var Xe=this._pendingSegments[Ve];Xe.splice(0,Xe.length),this._pendingSegments[Ve]=null,this._pendingRemoveRanges[Ve]=null,this._lastInitSegments[Ve]=null;var ct=this._sourceBuffers[Ve];if(ct){if(Re.readyState!=="closed"){try{Re.removeSourceBuffer(ct)}catch(tr){l.e(this.TAG,tr.message)}ct.removeEventListener("error",this.e.onSourceBufferError),ct.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Ve]=null,this._sourceBuffers[Ve]=null}}if(Re.readyState==="open")try{Re.endOfStream()}catch(tr){l.e(this.TAG,tr.message)}Re.removeEventListener("sourceopen",this.e.onSourceOpen),Re.removeEventListener("sourceended",this.e.onSourceEnded),Re.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(Re,Ve){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Re),this._pendingSegments[Re.type].push(Re);return}var Xe=Re,ct="".concat(Xe.container);Xe.codec&&Xe.codec.length>0&&(ct+=";codecs=".concat(Xe.codec));var tr=!1;if(l.v(this.TAG,"Received Initialization Segment, mimeType: "+ct),this._lastInitSegments[Xe.type]=Xe,ct!==this._mimeTypes[Xe.type]){if(this._mimeTypes[Xe.type])l.v(this.TAG,"Notice: ".concat(Xe.type," mimeType changed, origin: ").concat(this._mimeTypes[Xe.type],", target: ").concat(ct));else{tr=!0;try{var ir=this._sourceBuffers[Xe.type]=this._mediaSource.addSourceBuffer(ct);ir.addEventListener("error",this.e.onSourceBufferError),ir.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(or){l.e(this.TAG,or.message),this._emitter.emit(hr.ERROR,{code:or.code,msg:or.message});return}}this._mimeTypes[Xe.type]=ct}Ve||this._pendingSegments[Xe.type].push(Xe),tr||this._sourceBuffers[Xe.type]&&!this._sourceBuffers[Xe.type].updating&&this._doAppendSegments(),_.safari&&Xe.container==="audio/mpeg"&&Xe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Xe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Re){var Ve=Re;this._pendingSegments[Ve.type].push(Ve),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Xe=this._sourceBuffers[Ve.type];Xe&&!Xe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Re){for(var Ve in this._sourceBuffers){if(!this._sourceBuffers[Ve])continue;var Xe=this._sourceBuffers[Ve];if(this._mediaSource.readyState==="open")try{Xe.abort()}catch(Yr){l.e(this.TAG,Yr.message)}this._idrList.clear();var ct=this._pendingSegments[Ve];if(ct.splice(0,ct.length),this._mediaSource.readyState==="closed")continue;for(var tr=0;tr<Xe.buffered.length;tr++){var ir=Xe.buffered.start(tr),or=Xe.buffered.end(tr);this._pendingRemoveRanges[Ve].push({start:ir,end:or})}if(Xe.updating||this._doRemoveRanges(),_.safari){var Xr=this._lastInitSegments[Ve];Xr&&(this._pendingSegments[Ve].push(Xr),Xe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Re=this._mediaSource,Ve=this._sourceBuffers;if(!Re||Re.readyState!=="open"){Re&&Re.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}Ve.video&&Ve.video.updating||Ve.audio&&Ve.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Re.endOfStream())}},{key:"getNearestKeyframe",value:function(Re){return this._idrList.getLastSyncPointBeforeDts(Re)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Re=this._mediaElement.currentTime;for(var Ve in this._sourceBuffers){var Xe=this._sourceBuffers[Ve];if(Xe){var ct=Xe.buffered;if(ct.length>=1&&Re-ct.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Re=this._mediaElement.currentTime;for(var Ve in this._sourceBuffers){var Xe=this._sourceBuffers[Ve];if(Xe){for(var ct=Xe.buffered,tr=!1,ir=0;ir<ct.length;ir++){var or=ct.start(ir),Xr=ct.end(ir);if(or<=Re&&Re<Xr+3){if(Re-or>=this._config.autoCleanupMaxBackwardDuration){tr=!0;var Yr=Re-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Ve].push({start:or,end:Yr})}}else Xr<Re&&(tr=!0,this._pendingRemoveRanges[Ve].push({start:or,end:Xr}))}tr&&!Xe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Re=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Re.video&&Re.video.updating||Re.audio&&Re.audio.updating)return;var Ve=this._mediaSource.duration,Xe=this._pendingMediaDuration;Xe>0&&(isNaN(Ve)||Xe>Ve)&&(l.v(this.TAG,"Update MediaSource duration from ".concat(Ve," to ").concat(Xe)),this._mediaSource.duration=Xe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Re in this._pendingRemoveRanges){if(!this._sourceBuffers[Re]||this._sourceBuffers[Re].updating)continue;for(var Ve=this._sourceBuffers[Re],Xe=this._pendingRemoveRanges[Re];Xe.length&&!Ve.updating;){var ct=Xe.shift();Ve.remove(ct.start,ct.end)}}}},{key:"_doAppendSegments",value:function(){var Re=this._pendingSegments;for(var Ve in Re){if(!this._sourceBuffers[Ve]||this._sourceBuffers[Ve].updating)continue;if(Re[Ve].length>0){var Xe=Re[Ve].shift();if(Xe.timestampOffset){var ct=this._sourceBuffers[Ve].timestampOffset,tr=Xe.timestampOffset/1e3,ir=Math.abs(ct-tr);ir>.1&&(l.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ct," to ").concat(tr)),this._sourceBuffers[Ve].timestampOffset=tr),delete Xe.timestampOffset}if(!Xe.data||Xe.data.byteLength===0)continue;try{this._sourceBuffers[Ve].appendBuffer(Xe.data),this._isBufferFull=!1,Ve==="video"&&Xe.hasOwnProperty("info")&&this._idrList.appendArray(Xe.info.syncPoints)}catch(or){this._pendingSegments[Ve].unshift(Xe),or.code===22?(this._isBufferFull||this._emitter.emit(hr.BUFFER_FULL),this._isBufferFull=!0):(l.e(this.TAG,or.message),this._emitter.emit(hr.ERROR,{code:or.code,msg:or.message}))}}}}},{key:"_onSourceOpen",value:function(){if(l.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Re=this._pendingSourceBufferInit;Re.length;){var Ve=Re.shift();this.appendInitSegment(Ve,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(hr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){l.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){l.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 Re=this._pendingSegments;return Re.video.length>0||Re.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Re=this._pendingRemoveRanges;return Re.video.length>0||Re.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(hr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Re){l.e(this.TAG,"SourceBuffer Error: ".concat(Re))}}]),Tt}(),mt=Wr,Et={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},rt={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:Se.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Se.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Se.CODEC_UNSUPPORTED},He=function(){function Tt(St,Re){if(Object(y.a)(this,Tt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new f.a,this._config=Z(),typeof Re=="object"&&Object.assign(this._config,Re),St.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");St.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=St,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 Ve=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(Ve||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(m.a)(Tt,[{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(Re,Ve){var Xe=this;Re===ce.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Xe._emitter.emit(ce.MEDIA_INFO,Xe.mediaInfo)}):Re===ce.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Xe._emitter.emit(ce.STATISTICS_INFO,Xe.statisticsInfo)})),this._emitter.addListener(Re,Ve)}},{key:"off",value:function(Re,Ve){this._emitter.removeListener(Re,Ve)}},{key:"attachMediaElement",value:function(Re){var Ve=this;if(this._mediaElement=Re,Re.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Re.addEventListener("seeking",this.e.onvSeeking),Re.addEventListener("canplay",this.e.onvCanPlay),Re.addEventListener("stalled",this.e.onvStalled),Re.addEventListener("progress",this.e.onvProgress),this._msectl=new mt(this._config),this._msectl.on(hr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(hr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(hr.SOURCE_OPEN,function(){Ve._mseSourceOpened=!0,Ve._hasPendingLoad&&(Ve._hasPendingLoad=!1,Ve.load())}),this._msectl.on(hr.ERROR,function(Xe){Ve._emitter.emit(ce.ERROR,Et.MEDIA_ERROR,rt.MEDIA_MSE_ERROR,Xe)}),this._msectl.attachMediaElement(Re),this._pendingSeekTime!=null)try{Re.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Xe){}}},{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 Re=this;if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new c("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(ne.INIT_SEGMENT,function(Ve,Xe){Re._msectl.appendInitSegment(Xe)}),this._transmuxer.on(ne.MEDIA_SEGMENT,function(Ve,Xe){if(Re._msectl.appendMediaSegment(Xe),Re._config.lazyLoad&&!Re._config.isLive){var ct=Re._mediaElement.currentTime;Xe.info.endDts>=(ct+Re._config.lazyLoadMaxDuration)*1e3&&(Re._progressChecker==null&&(l.v(Re.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Re._suspendTransmuxer()))}}),this._transmuxer.on(ne.LOADING_COMPLETE,function(){Re._msectl.endOfStream(),Re._emitter.emit(ce.LOADING_COMPLETE)}),this._transmuxer.on(ne.RECOVERED_EARLY_EOF,function(){Re._emitter.emit(ce.RECOVERED_EARLY_EOF)}),this._transmuxer.on(ne.IO_ERROR,function(Ve,Xe){Re._emitter.emit(ce.ERROR,Et.NETWORK_ERROR,Ve,Xe)}),this._transmuxer.on(ne.DEMUX_ERROR,function(Ve,Xe){Re._emitter.emit(ce.ERROR,Et.MEDIA_ERROR,Ve,{code:-1,msg:Xe})}),this._transmuxer.on(ne.MEDIA_INFO,function(Ve){Re._mediaInfo=Ve,Re._emitter.emit(ce.MEDIA_INFO,Object.assign({},Ve))}),this._transmuxer.on(ne.METADATA_ARRIVED,function(Ve){Re._emitter.emit(ce.METADATA_ARRIVED,Ve)}),this._transmuxer.on(ne.SCRIPTDATA_ARRIVED,function(Ve){Re._emitter.emit(ce.SCRIPTDATA_ARRIVED,Ve)}),this._transmuxer.on(ne.STATISTICS_INFO,function(Ve){Re._statisticsInfo=Re._fillStatisticsInfo(Ve),Re._emitter.emit(ce.STATISTICS_INFO,Object.assign({},Re._statisticsInfo))}),this._transmuxer.on(ne.RECOMMEND_SEEKPOINT,function(Ve){Re._mediaElement&&!Re._config.accurateSeek&&(Re._requestSetTime=!0,Re._mediaElement.currentTime=Ve/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(Re){this._mediaElement.volume=Re}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Re){this._mediaElement.muted=Re}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Re){this._mediaElement?this._internalSeek(Re):this._pendingSeekTime=Re}},{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(Re){if(Re.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Re;var Ve=!0,Xe=0,ct=0;if(this._mediaElement.getVideoPlaybackQuality){var tr=this._mediaElement.getVideoPlaybackQuality();Xe=tr.totalVideoFrames,ct=tr.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Xe=this._mediaElement.webkitDecodedFrameCount,ct=this._mediaElement.webkitDroppedFrameCount):Ve=!1;return Ve&&(Re.decodedFrames=Xe,Re.droppedFrames=ct),Re}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Re=this._mediaElement.buffered,Ve=this._mediaElement.currentTime,Xe=0,ct=0,tr=0;tr<Re.length;tr++){var ir=Re.start(tr),or=Re.end(tr);if(ir<=Ve&&Ve<or){Xe=ir,ct=or;break}}ct>=Ve+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(l.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){l.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 Re=this._mediaElement.currentTime,Ve=this._mediaElement.buffered,Xe=!1,ct=0;ct<Ve.length;ct++){var tr=Ve.start(ct),ir=Ve.end(ct);if(Re>=tr&&Re<ir){Re>=ir-this._config.lazyLoadRecoverDuration&&(Xe=!0);break}}Xe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Xe&&(l.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Re){for(var Ve=this._mediaElement.buffered,Xe=0;Xe<Ve.length;Xe++){var ct=Ve.start(Xe),tr=Ve.end(Xe);if(Re>=ct&&Re<tr)return!0}return!1}},{key:"_internalSeek",value:function(Re){var Ve=this._isTimepointBuffered(Re),Xe=!1,ct=0;if(Re<1&&this._mediaElement.buffered.length>0){var tr=this._mediaElement.buffered.start(0);(tr<1&&Re<tr||_.safari)&&(Xe=!0,ct=_.safari?.1:tr)}if(Xe)this._requestSetTime=!0,this._mediaElement.currentTime=ct;else if(Ve){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Re;else{var ir=this._msectl.getNearestKeyframe(Math.floor(Re*1e3));this._requestSetTime=!0,ir!=null?this._mediaElement.currentTime=ir.dts/1e3:this._mediaElement.currentTime=Re}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Re),this._transmuxer.seek(Math.floor(Re*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Re)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Re=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Re)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Re),this._transmuxer.seek(Math.floor(Re*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Re))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Re){var Ve=this._mediaElement;if(Re||!this._receivedCanPlay||Ve.readyState<2){var Xe=Ve.buffered;Xe.length>0&&Ve.currentTime<Xe.start(0)&&(l.w(this.TAG,"Playback seems stuck at ".concat(Ve.currentTime,", seek to ").concat(Xe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Xe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Re){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Re){var Ve=this._mediaElement.currentTime,Xe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(Ve<1&&Xe.length>0){var ct=Xe.start(0);if(ct<1&&Ve<ct||_.safari){this._requestSetTime=!0,this._mediaElement.currentTime=_.safari?.1:ct;return}}if(this._isTimepointBuffered(Ve)){if(this._alwaysSeekKeyframe){var tr=this._msectl.getNearestKeyframe(Math.floor(Ve*1e3));tr!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=tr.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:Ve,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Re){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Re){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Re){this._checkAndResumeStuckPlayback()}}]),Tt}(),ze=He,Rt=function(){function Tt(St,Re){if(Object(y.a)(this,Tt),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new f.a,this._config=Z(),typeof Re=="object"&&Object.assign(this._config,Re),St.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(St.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(St.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=St,this._mediaElement=null}return Object(m.a)(Tt,[{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(Re,Ve){var Xe=this;Re===ce.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Xe._emitter.emit(ce.MEDIA_INFO,Xe.mediaInfo)}):Re===ce.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Xe._emitter.emit(ce.STATISTICS_INFO,Xe.statisticsInfo)})),this._emitter.addListener(Re,Ve)}},{key:"off",value:function(Re,Ve){this._emitter.removeListener(Re,Ve)}},{key:"attachMediaElement",value:function(Re){if(this._mediaElement=Re,Re.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Re.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ve){}}},{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 c("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(Re){this._mediaElement.volume=Re}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Re){this._mediaElement.muted=Re}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Re){this._mediaElement?this._mediaElement.currentTime=Re:this._pendingSeekTime=Re}},{key:"mediaInfo",get:function(){var Re=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Ve={mimeType:Re+this._mediaDataSource.type};return this._mediaElement&&(Ve.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Ve.width=this._mediaElement.videoWidth,Ve.height=this._mediaElement.videoHeight)),Ve}},{key:"statisticsInfo",get:function(){var Re={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Re;var Ve=!0,Xe=0,ct=0;if(this._mediaElement.getVideoPlaybackQuality){var tr=this._mediaElement.getVideoPlaybackQuality();Xe=tr.totalVideoFrames,ct=tr.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Xe=this._mediaElement.webkitDecodedFrameCount,ct=this._mediaElement.webkitDroppedFrameCount):Ve=!1;return Ve&&(Re.decodedFrames=Xe,Re.droppedFrames=ct),Re}},{key:"_onvLoadedMetadata",value:function(Re){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(ce.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(ce.STATISTICS_INFO,this.statisticsInfo)}}]),Tt}(),sr=Rt;p.install();function Jt(Tt,St){var Re=Tt;if(Re==null||typeof Re!="object")throw new e("MediaDataSource must be an javascript object!");if(!Re.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(Re.type){case"flv":return new ze(Re,St);default:return new sr(Re,St)}}function qt(){return ve.supportMSEH264Playback()}function qr(){return ve.getFeatureList()}var Fr={};Fr.createPlayer=Jt,Fr.isSupported=qt,Fr.getFeatureList=qr,Fr.BaseLoader=g,Fr.LoaderStatus=u,Fr.LoaderErrors=h,Fr.Events=ce,Fr.ErrorTypes=Et,Fr.ErrorDetails=rt,Fr.FlvPlayer=ze,Fr.NativePlayer=sr,Fr.LoggingControl=Ce,Object.defineProperty(Fr,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var mn=N.a=Fr},GVMX:function(B,N,i){var y=i("JEkh"),m=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"}});B.exports=m},GdRQ:function(B,N,i){"use strict";function y(_){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(_)}Object.defineProperty(N,"__esModule",{value:!0}),N.isMac=u,N.isWindows=h,N.isIOS=g,N.isSafari=A,N.isIE=w,N.isEdge=b,N.isFirefox=S,N.hasScrollbarGutter=N.supportsImageMetadata=N.supportsCursorURIs=N.dragThreshold=N.isTouchDevice=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var _=new WeakMap;return E=function(){return _},_}function p(_){if(_&&_.__esModule)return _;if(_===null||y(_)!=="object"&&typeof _!="function")return{default:_};var T=E();if(T&&T.has(_))return T.get(_);var x={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in _)if(Object.prototype.hasOwnProperty.call(_,I)){var L=C?Object.getOwnPropertyDescriptor(_,I):null;L&&(L.get||L.set)?Object.defineProperty(x,I,L):x[I]=_[I]}return x.default=_,T&&T.set(_,x),x}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;N.isTouchDevice=v,window.addEventListener("touchstart",function _(){N.isTouchDevice=v=!0,window.removeEventListener("touchstart",_,!1)},!1);var f=10*(window.devicePixelRatio||1);N.dragThreshold=f;var d=!1;try{var l=document.createElement("canvas");l.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',l.style.cursor.indexOf("url")===0?(m.Info("Data URI scheme cursor supported"),d=!0):m.Warn("Data URI scheme cursor not supported")}catch(_){m.Error("Data URI scheme cursor test exception: "+_)}var n=d;N.supportsCursorURIs=n;var t=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),t=!0}catch(_){}var a=t;N.supportsImageMetadata=a;var o=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var c=document.createElement("div");r.appendChild(c);var e=r.offsetWidth-c.offsetWidth;r.parentNode.removeChild(r),o=e!=0}catch(_){m.Error("Scrollbar test exception: "+_)}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 g(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function A(){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 S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(B,N,i){var y=i("bYtY"),m=i("6Ic6"),E=i("IwbS"),p=i("y+Vt"),v=i("sK/D"),f=v.createClipPath,d=["itemStyle"],l=["emphasis","itemStyle"],n=["color","color0","borderColor","borderColor0"],t=m.extend({type:"candlestick",render:function(A,w,b){this.group.removeClipPath(),this._updateDrawMode(A),this._isLargeDraw?this._renderLarge(A):this._renderNormal(A)},incrementalPrepareRender:function(A,w,b){this._clear(),this._updateDrawMode(A)},incrementalRender:function(A,w,b,S){this._isLargeDraw?this._incrementalRenderLarge(A,w):this._incrementalRenderNormal(A,w)},_updateDrawMode:function(A){var w=A.pipelineContext.large;(this._isLargeDraw==null||w^this._isLargeDraw)&&(this._isLargeDraw=w,this._clear())},_renderNormal:function(A){var w=A.getData(),b=this._data,S=this.group,_=w.getLayout("isSimpleBox"),T=A.get("clip",!0),x=A.coordinateSystem,C=x.getArea&&x.getArea();this._data||S.removeAll(),w.diff(b).add(function(I){if(w.hasValue(I)){var L,M=w.getItemLayout(I);if(T&&r(C,M))return;L=o(M,I,!0),E.initProps(L,{shape:{points:M.ends}},A,I),c(L,w,I,_),S.add(L),w.setItemGraphicEl(I,L)}}).update(function(I,L){var M=b.getItemGraphicEl(L);if(!w.hasValue(I)){S.remove(M);return}var k=w.getItemLayout(I);if(T&&r(C,k)){S.remove(M);return}M?E.updateProps(M,{shape:{points:k.ends}},A,I):M=o(k,I),c(M,w,I,_),S.add(M),w.setItemGraphicEl(I,M)}).remove(function(I){var L=b.getItemGraphicEl(I);L&&S.remove(L)}).execute(),this._data=w},_renderLarge:function(A){this._clear(),u(A,this.group);var w=A.get("clip",!0)?f(A.coordinateSystem,!1,A):null;w?this.group.setClipPath(w):this.group.removeClipPath()},_incrementalRenderNormal:function(A,w){for(var b=w.getData(),S=b.getLayout("isSimpleBox"),_;(_=A.next())!=null;){var T,x=b.getItemLayout(_);T=o(x,_),c(T,b,_,S),T.incremental=!0,this.group.add(T)}},_incrementalRenderLarge:function(A,w){u(w,this.group,!0)},remove:function(A){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:y.noop}),a=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(A,w){var b=w.points;this.__simpleBox?(A.moveTo(b[4][0],b[4][1]),A.lineTo(b[6][0],b[6][1])):(A.moveTo(b[0][0],b[0][1]),A.lineTo(b[1][0],b[1][1]),A.lineTo(b[2][0],b[2][1]),A.lineTo(b[3][0],b[3][1]),A.closePath(),A.moveTo(b[4][0],b[4][1]),A.lineTo(b[5][0],b[5][1]),A.moveTo(b[6][0],b[6][1]),A.lineTo(b[7][0],b[7][1]))}});function o(A,w,b){var S=A.ends;return new a({shape:{points:b?e(S,A):S},z2:100})}function r(A,w){for(var b=!0,S=0;S<w.ends.length;S++)if(A.contain(w.ends[S][0],w.ends[S][1])){b=!1;break}return b}function c(A,w,b,S){var _=w.getItemModel(b),T=_.getModel(d),x=w.getItemVisual(b,"color"),C=w.getItemVisual(b,"borderColor")||x,I=T.getItemStyle(n);A.useStyle(I),A.style.strokeNoScale=!0,A.style.fill=x,A.style.stroke=C,A.__simpleBox=S;var L=_.getModel(l).getItemStyle();E.setHoverStyle(A,L)}function e(A,w){return y.map(A,function(b){return b=b.slice(),b[1]=w.initBaseline,b})}var s=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(A,w){for(var b=w.points,S=0;S<b.length;)if(this.__sign===b[S++]){var _=b[S++];A.moveTo(_,b[S++]),A.lineTo(_,b[S++])}else S+=3}});function u(A,w,b){var S=A.getData(),_=S.getLayout("largePoints"),T=new s({shape:{points:_},__sign:1});w.add(T);var x=new s({shape:{points:_},__sign:-1});w.add(x),h(1,T,A,S),h(-1,x,A,S),b&&(T.incremental=!0,x.incremental=!0)}function h(A,w,b,S){var _=A>0?"P":"N",T=S.getVisual("borderColor"+_)||S.getVisual("color"+_),x=b.getModel(d).getItemStyle(n);w.useStyle(x),w.style.fill=null,w.style.stroke=T}var g=t;B.exports=g},Gev7:function(B,N,i){var y=i("bYtY"),m=i("K2GJ"),E=i("1bdT"),p=i("ni6a");function v(d){d=d||{},E.call(this,d);for(var l in d)d.hasOwnProperty(l)&&l!=="style"&&(this[l]=d[l]);this.style=new m(d.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,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(l){},afterBrush:function(l){},brush:function(l,n){},getBoundingRect:function(){},contain:function(l,n){return this.rectContain(l,n)},traverse:function(l,n){l.call(n,this)},rectContain:function(l,n){var t=this.transformCoordToLocal(l,n),a=this.getBoundingRect();return a.contain(t[0],t[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(l){return this.animate("style",l)},attrKV:function(l,n){l!=="style"?E.prototype.attrKV.call(this,l,n):this.style.set(n)},setStyle:function(l,n){return this.style.set(l,n),this.dirty(!1),this},useStyle:function(l){return this.style=new m(l,this),this.dirty(!1),this},calculateTextPosition:null},y.inherits(v,E),y.mixin(v,p);var f=v;B.exports=f},GrNh:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("6Ic6");function p(t,a,o,r){var c=a.getData(),e=this.dataIndex,s=c.getName(e),u=a.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:t,name:s,seriesId:a.id}),c.each(function(h){v(c.getItemGraphicEl(h),c.getItemLayout(h),a.isSelected(c.getName(h)),u,o)})}function v(t,a,o,r,c){var e=(a.startAngle+a.endAngle)/2,s=Math.cos(e),u=Math.sin(e),h=o?r:0,g=[s*h,u*h];c?t.animate().when(200,{position:g}).start("bounceOut"):t.attr("position",g)}function f(t,a){m.Group.call(this);var o=new m.Sector({z2:2}),r=new m.Polyline,c=new m.Text;this.add(o),this.add(r),this.add(c),this.updateData(t,a,!0)}var d=f.prototype;d.updateData=function(t,a,o){var r=this.childAt(0),c=this.childAt(1),e=this.childAt(2),s=t.hostModel,u=t.getItemModel(a),h=t.getItemLayout(a),g=y.extend({},h);g.label=null;var A=s.getShallow("animationTypeUpdate");if(o){r.setShape(g);var w=s.getShallow("animationType");w==="scale"?(r.shape.r=h.r0,m.initProps(r,{shape:{r:h.r}},s,a)):(r.shape.endAngle=h.startAngle,m.updateProps(r,{shape:{endAngle:h.endAngle}},s,a))}else A==="expansion"?r.setShape(g):m.updateProps(r,{shape:g},s,a);var b=t.getItemVisual(a,"color");r.useStyle(y.defaults({lineJoin:"bevel",fill:b},u.getModel("itemStyle").getItemStyle())),r.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var S=u.getShallow("cursor");S&&r.attr("cursor",S),v(this,t.getItemLayout(a),s.isSelected(t.getName(a)),s.get("selectedOffset"),s.get("animation"));var _=!o&&A==="transition";this._updateLabel(t,a,_),this.highDownOnUpdate=s.get("silent")?null:function(T,x){var C=s.isAnimationEnabled()&&u.get("hoverAnimation");x==="emphasis"?(c.ignore=c.hoverIgnore,e.ignore=e.hoverIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+s.get("hoverOffset")}},300,"elasticOut"))):(c.ignore=c.normalIgnore,e.ignore=e.normalIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},m.setHoverStyle(this)},d._updateLabel=function(t,a,o){var r=this.childAt(1),c=this.childAt(2),e=t.hostModel,s=t.getItemModel(a),u=t.getItemLayout(a),h=u.label,g=t.getItemVisual(a,"color");if(!h||isNaN(h.x)||isNaN(h.y)){c.ignore=c.normalIgnore=c.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var A={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},w={x:h.x,y:h.y};o?(m.updateProps(r,{shape:A},e,a),m.updateProps(c,{style:w},e,a)):(r.attr({shape:A}),c.attr({style:w})),c.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var b=s.getModel("label"),S=s.getModel("emphasis.label"),_=s.getModel("labelLine"),T=s.getModel("emphasis.labelLine"),g=t.getItemVisual(a,"color");m.setLabelStyle(c.style,c.hoverStyle={},b,S,{labelFetcher:t.hostModel,labelDataIndex:a,defaultText:h.text,autoColor:g,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:t.getItemVisual(a,"opacity")}),c.ignore=c.normalIgnore=!b.get("show"),c.hoverIgnore=!S.get("show"),r.ignore=r.normalIgnore=!_.get("show"),r.hoverIgnore=!T.get("show"),r.setStyle({stroke:g,opacity:t.getItemVisual(a,"opacity")}),r.setStyle(_.getModel("lineStyle").getLineStyle()),r.hoverStyle=T.getModel("lineStyle").getLineStyle();var x=_.get("smooth");x&&x===!0&&(x=.4),r.setShape({smooth:x})},y.inherits(f,m.Group);var l=E.extend({type:"pie",init:function(){var t=new m.Group;this._sectorGroup=t},render:function(t,a,o,r){if(r&&r.from===this.uid)return;var c=t.getData(),e=this._data,s=this.group,u=a.get("animation"),h=!e,g=t.get("animationType"),A=t.get("animationTypeUpdate"),w=y.curry(p,this.uid,t,u,o),b=t.get("selectedMode");if(c.diff(e).add(function(C){var I=new f(c,C);h&&g!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),b&&I.on("click",w),c.setItemGraphicEl(C,I),s.add(I)}).update(function(C,I){var L=e.getItemGraphicEl(I);!h&&A!=="transition"&&L.eachChild(function(M){M.stopAnimation(!0)}),L.updateData(c,C),L.off("click"),b&&L.on("click",w),s.add(L),c.setItemGraphicEl(C,L)}).remove(function(C){var I=e.getItemGraphicEl(C);s.remove(I)}).execute(),u&&c.count()>0&&(h?g!=="scale":A!=="transition")){for(var S=c.getItemLayout(0),_=1;isNaN(S.startAngle)&&_<c.count();++_)S=c.getItemLayout(_);var T=Math.max(o.getWidth(),o.getHeight())/2,x=y.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(S.cx,S.cy,T,S.startAngle,S.clockwise,x,t,h))}else s.removeClipPath();this._data=c},dispose:function(){},_createClipPath:function(t,a,o,r,c,e,s,u){var h=new m.Sector({shape:{cx:t,cy:a,r0:0,r:o,startAngle:r,endAngle:r,clockwise:c}}),g=u?m.initProps:m.updateProps;return g(h,{shape:{endAngle:r+(c?1:-1)*Math.PI*2}},s,e),h},containPoint:function(t,a){var o=a.getData(),r=o.getItemLayout(0);if(r){var c=t[0]-r.cx,e=t[1]-r.cy,s=Math.sqrt(c*c+e*e);return s<=r.r&&s>=r.r0}}}),n=l;B.exports=n},Gytx:function(B,N){B.exports=function(y,m,E,p){var v=E?E.call(p,y,m):void 0;if(v!==void 0)return!!v;if(y===m)return!0;if(typeof y!="object"||!y||typeof m!="object"||!m)return!1;var f=Object.keys(y),d=Object.keys(m);if(f.length!==d.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(m),n=0;n<f.length;n++){var t=f[n];if(!l(t))return!1;var a=y[t],o=m[t];if(v=E?E.call(p,a,o,t):void 0,v===!1||v===void 0&&a!==o)return!1}return!0}},GzdX:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("rePB"),f=i("1OyB"),d=i("vuIU"),l=i("Ji7U"),n=i("md7G"),t=i("foSv"),a=i("m+aA"),o=i("TSYQ"),r=i.n(o),c=i("4IlW");function e(H){var P=H.pageXOffset,K="scrollLeft";if(typeof P!="number"){var U=H.document;P=U.documentElement[K],typeof P!="number"&&(P=U.body[K])}return P}function s(H){var P,K,U=H.ownerDocument,G=U.body,W=U&&U.documentElement,Z=H.getBoundingClientRect();return P=Z.left,K=Z.top,P-=W.clientLeft||G.clientLeft||0,K-=W.clientTop||G.clientTop||0,{left:P,top:K}}function u(H){var P=s(H),K=H.ownerDocument,U=K.defaultView||K.parentWindow;return P.left+=e(U),P.left}function h(H){var P=g();return function(){var U=Object(t.a)(H),G;if(P){var W=Object(t.a)(this).constructor;G=Reflect.construct(U,arguments,W)}else G=U.apply(this,arguments);return Object(n.a)(this,G)}}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(H){return!1}}var A=function(H){Object(l.a)(K,H);var P=h(K);function K(){var U;return Object(f.a)(this,K),U=P.apply(this,arguments),U.onHover=function(G){var W=U.props,Z=W.onHover,J=W.index;Z(G,J)},U.onClick=function(G){var W=U.props,Z=W.onClick,J=W.index;Z(G,J)},U.onKeyDown=function(G){var W=U.props,Z=W.onClick,J=W.index;G.keyCode===13&&Z(G,J)},U}return Object(d.a)(K,[{key:"getClassName",value:function(){var G=this.props,W=G.prefixCls,Z=G.index,J=G.value,ve=G.allowHalf,q=G.focused,ce=Z+1,be=W;return J===0&&Z===0&&q?be+=" ".concat(W,"-focused"):ve&&J+.5>=ce&&J<ce?(be+=" ".concat(W,"-half ").concat(W,"-active"),q&&(be+=" ".concat(W,"-focused"))):(be+=ce<=J?" ".concat(W,"-full"):" ".concat(W,"-zero"),ce===J&&q&&(be+=" ".concat(W,"-focused"))),be}},{key:"render",value:function(){var G=this.onHover,W=this.onClick,Z=this.onKeyDown,J=this.props,ve=J.disabled,q=J.prefixCls,ce=J.character,be=J.characterRender,Ce=J.index,Fe=J.count,fe=J.value,Ne=typeof ce=="function"?ce(this.props):ce,Q=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:ve?null:W,onKeyDown:ve?null:Z,onMouseMove:ve?null:G,role:"radio","aria-checked":fe>Ce?"true":"false","aria-posinset":Ce+1,"aria-setsize":Fe,tabIndex:ve?-1:0},p.a.createElement("div",{className:"".concat(q,"-first")},Ne),p.a.createElement("div",{className:"".concat(q,"-second")},Ne)));return be&&(Q=be(Q,this.props)),Q}}]),K}(p.a.Component);function w(H,P){var K=Object.keys(H);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(H);P&&(U=U.filter(function(G){return Object.getOwnPropertyDescriptor(H,G).enumerable})),K.push.apply(K,U)}return K}function b(H){for(var P=1;P<arguments.length;P++){var K=arguments[P]!=null?arguments[P]:{};P%2?w(Object(K),!0).forEach(function(U){Object(v.a)(H,U,K[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(K)):w(Object(K)).forEach(function(U){Object.defineProperty(H,U,Object.getOwnPropertyDescriptor(K,U))})}return H}function S(H){var P=_();return function(){var U=Object(t.a)(H),G;if(P){var W=Object(t.a)(this).constructor;G=Reflect.construct(U,arguments,W)}else G=U.apply(this,arguments);return Object(n.a)(this,G)}}function _(){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(H){return!1}}function T(){}var x=function(H){Object(l.a)(K,H);var P=S(K);function K(U){var G;Object(f.a)(this,K),G=P.call(this,U),G.onHover=function(Z,J){var ve=G.props.onHoverChange,q=G.getStarValue(J,Z.pageX),ce=G.state.cleanedValue;q!==ce&&G.setState({hoverValue:q,cleanedValue:null}),ve(q)},G.onMouseLeave=function(){var Z=G.props.onHoverChange;G.setState({hoverValue:void 0,cleanedValue:null}),Z(void 0)},G.onClick=function(Z,J){var ve=G.props.allowClear,q=G.state.value,ce=G.getStarValue(J,Z.pageX),be=!1;ve&&(be=ce===q),G.onMouseLeave(),G.changeValue(be?0:ce),G.setState({cleanedValue:be?ce:null})},G.onFocus=function(){var Z=G.props.onFocus;G.setState({focused:!0}),Z&&Z()},G.onBlur=function(){var Z=G.props.onBlur;G.setState({focused:!1}),Z&&Z()},G.onKeyDown=function(Z){var J=Z.keyCode,ve=G.props,q=ve.count,ce=ve.allowHalf,be=ve.onKeyDown,Ce=ve.direction,Fe=Ce==="rtl",fe=G.state.value;J===c.a.RIGHT&&fe<q&&!Fe?(ce?fe+=.5:fe+=1,G.changeValue(fe),Z.preventDefault()):J===c.a.LEFT&&fe>0&&!Fe||J===c.a.RIGHT&&fe>0&&Fe?(ce?fe-=.5:fe-=1,G.changeValue(fe),Z.preventDefault()):J===c.a.LEFT&&fe<q&&Fe&&(ce?fe+=.5:fe+=1,G.changeValue(fe),Z.preventDefault()),be&&be(Z)},G.saveRef=function(Z){return function(J){G.stars[Z]=J}},G.saveRate=function(Z){G.rate=Z};var W=U.value;return W===void 0&&(W=U.defaultValue),G.stars={},G.state={value:W,focused:!1,cleanedValue:null},G}return Object(d.a)(K,[{key:"componentDidMount",value:function(){var G=this.props,W=G.autoFocus,Z=G.disabled;W&&!Z&&this.focus()}},{key:"getStarDOM",value:function(G){return Object(a.a)(this.stars[G])}},{key:"getStarValue",value:function(G,W){var Z=this.props,J=Z.allowHalf,ve=Z.direction,q=ve==="rtl",ce=G+1;if(J){var be=this.getStarDOM(G),Ce=u(be),Fe=be.clientWidth;(q&&W-Ce>Fe/2||!q&&W-Ce<Fe/2)&&(ce-=.5)}return ce}},{key:"focus",value:function(){var G=this.props.disabled;G||this.rate.focus()}},{key:"blur",value:function(){var G=this.props.disabled;G||this.rate.blur()}},{key:"changeValue",value:function(G){var W=this.props.onChange;"value"in this.props||this.setState({value:G}),W(G)}},{key:"render",value:function(){for(var G=this.props,W=G.count,Z=G.allowHalf,J=G.style,ve=G.prefixCls,q=G.disabled,ce=G.className,be=G.character,Ce=G.characterRender,Fe=G.tabIndex,fe=G.direction,Ne=this.state,Q=Ne.value,ae=Ne.hoverValue,Ue=Ne.focused,te=[],X=q?"".concat(ve,"-disabled"):"",z=0;z<W;z+=1)te.push(p.a.createElement(A,{ref:this.saveRef(z),index:z,count:W,disabled:q,prefixCls:"".concat(ve,"-star"),allowHalf:Z,value:ae===void 0?Q:ae,onClick:this.onClick,onHover:this.onHover,key:z,character:be,characterRender:Ce,focused:Ue}));var Y=r()(ve,X,ce,Object(v.a)({},"".concat(ve,"-rtl"),fe==="rtl"));return p.a.createElement("ul",{className:Y,style:J,onMouseLeave:q?null:this.onMouseLeave,tabIndex:q?-1:Fe,onFocus:q?null:this.onFocus,onBlur:q?null:this.onBlur,onKeyDown:q?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},te)}}],[{key:"getDerivedStateFromProps",value:function(G,W){return"value"in G&&G.value!==void 0?b(b({},W),{},{value:G.value}):W}}]),K}(p.a.Component);x.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:T,character:"\u2605",onHoverChange:T,tabIndex:0,direction:"ltr"};var C=x,I=C,L=i("Lerx"),M=i.n(L),k=i("3S7+"),R=i("H84U"),j=function(H,P){var K={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&P.indexOf(U)<0&&(K[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,U=Object.getOwnPropertySymbols(H);G<U.length;G++)P.indexOf(U[G])<0&&Object.prototype.propertyIsEnumerable.call(H,U[G])&&(K[U[G]]=H[U[G]]);return K},V=E.forwardRef(function(H,P){var K=H.prefixCls,U=H.tooltips,G=j(H,["prefixCls","tooltips"]),W=function(be,Ce){var Fe=Ce.index;return U?E.createElement(k.a,{title:U[Fe]},be):be},Z=E.useContext(R.b),J=Z.getPrefixCls,ve=Z.direction,q=J("rate",K);return E.createElement(I,m()({ref:P,characterRender:W},G,{prefixCls:q,direction:ve}))});V.displayName="Rate",V.defaultProps={character:E.createElement(M.a,null)};var D=N.a=V},H6uX:function(B,N){var i=Array.prototype.slice,y=function(f){this._$handlers={},this._$eventProcessor=f};y.prototype={constructor:y,one:function(f,d,l,n){return E(this,f,d,l,n,!0)},on:function(f,d,l,n){return E(this,f,d,l,n,!1)},isSilent:function(f){var d=this._$handlers;return!d[f]||!d[f].length},off:function(f,d){var l=this._$handlers;if(!f)return this._$handlers={},this;if(d){if(l[f]){for(var n=[],t=0,a=l[f].length;t<a;t++)l[f][t].h!==d&&n.push(l[f][t]);l[f]=n}l[f]&&l[f].length===0&&delete l[f]}else delete l[f];return this},trigger:function(f){var d=this._$handlers[f],l=this._$eventProcessor;if(d){var n=arguments,t=n.length;t>3&&(n=i.call(n,1));for(var a=d.length,o=0;o<a;){var r=d[o];if(l&&l.filter&&r.query!=null&&!l.filter(f,r.query)){o++;continue}switch(t){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,n[1]);break;case 3:r.h.call(r.ctx,n[1],n[2]);break;default:r.h.apply(r.ctx,n);break}r.one?(d.splice(o,1),a--):o++}}return l&&l.afterTrigger&&l.afterTrigger(f),this},triggerWithContext:function(f){var d=this._$handlers[f],l=this._$eventProcessor;if(d){var n=arguments,t=n.length;t>4&&(n=i.call(n,1,n.length-1));for(var a=n[n.length-1],o=d.length,r=0;r<o;){var c=d[r];if(l&&l.filter&&c.query!=null&&!l.filter(f,c.query)){r++;continue}switch(t){case 1:c.h.call(a);break;case 2:c.h.call(a,n[1]);break;case 3:c.h.call(a,n[1],n[2]);break;default:c.h.apply(a,n);break}c.one?(d.splice(r,1),o--):r++}}return l&&l.afterTrigger&&l.afterTrigger(f),this}};function m(v,f){var d=v._$eventProcessor;return f!=null&&d&&d.normalizeQuery&&(f=d.normalizeQuery(f)),f}function E(v,f,d,l,n,t){var a=v._$handlers;if(typeof d=="function"&&(n=l,l=d,d=null),!l||!f)return v;d=m(v,d),a[f]||(a[f]=[]);for(var o=0;o<a[f].length;o++)if(a[f][o].h===l)return v;var r={h:l,one:t,query:d,ctx:n||v,callAtLast:l.zrEventfulCallAtLast},c=a[f].length-1,e=a[f][c];return e&&e.callAtLast?a[f].splice(c,0,r):a[f].push(r),v}var p=y;B.exports=p},H7XF:function(B,N,i){"use strict";N.byteLength=l,N.toByteArray=t,N.fromByteArray=r;for(var y=[],m=[],E=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=p.length;v<f;++v)y[v]=p[v],m[p.charCodeAt(v)]=v;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function d(c){var e=c.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=c.indexOf("=");s===-1&&(s=e);var u=s===e?0:4-s%4;return[s,u]}function l(c){var e=d(c),s=e[0],u=e[1];return(s+u)*3/4-u}function n(c,e,s){return(e+s)*3/4-s}function t(c){var e,s=d(c),u=s[0],h=s[1],g=new E(n(c,u,h)),A=0,w=h>0?u-4:u,b;for(b=0;b<w;b+=4)e=m[c.charCodeAt(b)]<<18|m[c.charCodeAt(b+1)]<<12|m[c.charCodeAt(b+2)]<<6|m[c.charCodeAt(b+3)],g[A++]=e>>16&255,g[A++]=e>>8&255,g[A++]=e&255;return h===2&&(e=m[c.charCodeAt(b)]<<2|m[c.charCodeAt(b+1)]>>4,g[A++]=e&255),h===1&&(e=m[c.charCodeAt(b)]<<10|m[c.charCodeAt(b+1)]<<4|m[c.charCodeAt(b+2)]>>2,g[A++]=e>>8&255,g[A++]=e&255),g}function a(c){return y[c>>18&63]+y[c>>12&63]+y[c>>6&63]+y[c&63]}function o(c,e,s){for(var u,h=[],g=e;g<s;g+=3)u=(c[g]<<16&16711680)+(c[g+1]<<8&65280)+(c[g+2]&255),h.push(a(u));return h.join("")}function r(c){for(var e,s=c.length,u=s%3,h=[],g=16383,A=0,w=s-u;A<w;A+=g)h.push(o(c,A,A+g>w?w:A+g));return u===1?(e=c[s-1],h.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(c[s-2]<<8)+c[s-1],h.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),h.join("")}},HBhm:function(B,N,i){"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},HDXh:function(B,N,i){"use strict";(function(y){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var m=i("H7XF"),E=i("kVK+"),p=i("v3Qx");N.Buffer=l,N.SlowBuffer=h,N.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:v(),N.kMaxLength=f();function v(){try{var te=new Uint8Array(1);return te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},te.foo()===42&&typeof te.subarray=="function"&&te.subarray(1,1).byteLength===0}catch(X){return!1}}function f(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(te,X){if(f()<X)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(te=new Uint8Array(X),te.__proto__=l.prototype):(te===null&&(te=new l(X)),te.length=X),te}function l(te,X,z){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(te,X,z);if(typeof te=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return o(this,te)}return n(this,te,X,z)}l.poolSize=8192,l._augment=function(te){return te.__proto__=l.prototype,te};function n(te,X,z,Y){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?e(te,X,z,Y):typeof X=="string"?r(te,X,z):s(te,X)}l.from=function(te,X,z){return n(null,te,X,z)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0}));function t(te){if(typeof te!="number")throw new TypeError('"size" argument must be a number');if(te<0)throw new RangeError('"size" argument must not be negative')}function a(te,X,z,Y){return t(X),X<=0?d(te,X):z!==void 0?typeof Y=="string"?d(te,X).fill(z,Y):d(te,X).fill(z):d(te,X)}l.alloc=function(te,X,z){return a(null,te,X,z)};function o(te,X){if(t(X),te=d(te,X<0?0:u(X)|0),!l.TYPED_ARRAY_SUPPORT)for(var z=0;z<X;++z)te[z]=0;return te}l.allocUnsafe=function(te){return o(null,te)},l.allocUnsafeSlow=function(te){return o(null,te)};function r(te,X,z){if((typeof z!="string"||z==="")&&(z="utf8"),!l.isEncoding(z))throw new TypeError('"encoding" must be a valid string encoding');var Y=g(X,z)|0;te=d(te,Y);var pe=te.write(X,z);return pe!==Y&&(te=te.slice(0,pe)),te}function c(te,X){var z=X.length<0?0:u(X.length)|0;te=d(te,z);for(var Y=0;Y<z;Y+=1)te[Y]=X[Y]&255;return te}function e(te,X,z,Y){if(X.byteLength,z<0||X.byteLength<z)throw new RangeError("'offset' is out of bounds");if(X.byteLength<z+(Y||0))throw new RangeError("'length' is out of bounds");return z===void 0&&Y===void 0?X=new Uint8Array(X):Y===void 0?X=new Uint8Array(X,z):X=new Uint8Array(X,z,Y),l.TYPED_ARRAY_SUPPORT?(te=X,te.__proto__=l.prototype):te=c(te,X),te}function s(te,X){if(l.isBuffer(X)){var z=u(X.length)|0;return te=d(te,z),te.length===0||X.copy(te,0,0,z),te}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||Ue(X.length)?d(te,0):c(te,X);if(X.type==="Buffer"&&p(X.data))return c(te,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(te){if(te>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return te|0}function h(te){return+te!=te&&(te=0),l.alloc(+te)}l.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},l.compare=function(X,z){if(!l.isBuffer(X)||!l.isBuffer(z))throw new TypeError("Arguments must be Buffers");if(X===z)return 0;for(var Y=X.length,pe=z.length,se=0,Te=Math.min(Y,pe);se<Te;++se)if(X[se]!==z[se]){Y=X[se],pe=z[se];break}return Y<pe?-1:pe<Y?1:0},l.isEncoding=function(X){switch(String(X).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}},l.concat=function(X,z){if(!p(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return l.alloc(0);var Y;if(z===void 0)for(z=0,Y=0;Y<X.length;++Y)z+=X[Y].length;var pe=l.allocUnsafe(z),se=0;for(Y=0;Y<X.length;++Y){var Te=X[Y];if(!l.isBuffer(Te))throw new TypeError('"list" argument must be an Array of Buffers');Te.copy(pe,se),se+=Te.length}return pe};function g(te,X){if(l.isBuffer(te))return te.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(te)||te instanceof ArrayBuffer))return te.byteLength;typeof te!="string"&&(te=""+te);var z=te.length;if(z===0)return 0;for(var Y=!1;;)switch(X){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":case void 0:return Fe(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Q(te).length;default:if(Y)return Fe(te).length;X=(""+X).toLowerCase(),Y=!0}}l.byteLength=g;function A(te,X,z){var Y=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((z===void 0||z>this.length)&&(z=this.length),z<=0)return"";if(z>>>=0,X>>>=0,z<=X)return"";for(te||(te="utf8");;)switch(te){case"hex":return H(this,X,z);case"utf8":case"utf-8":return k(this,X,z);case"ascii":return V(this,X,z);case"latin1":case"binary":return D(this,X,z);case"base64":return M(this,X,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,X,z);default:if(Y)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),Y=!0}}l.prototype._isBuffer=!0;function w(te,X,z){var Y=te[X];te[X]=te[z],te[z]=Y}l.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var z=0;z<X;z+=2)w(this,z,z+1);return this},l.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var z=0;z<X;z+=4)w(this,z,z+3),w(this,z+1,z+2);return this},l.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var z=0;z<X;z+=8)w(this,z,z+7),w(this,z+1,z+6),w(this,z+2,z+5),w(this,z+3,z+4);return this},l.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?k(this,0,X):A.apply(this,arguments)},l.prototype.equals=function(X){if(!l.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:l.compare(this,X)===0},l.prototype.inspect=function(){var X="",z=N.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,z).match(/.{2}/g).join(" "),this.length>z&&(X+=" ... ")),"<Buffer "+X+">"},l.prototype.compare=function(X,z,Y,pe,se){if(!l.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(z===void 0&&(z=0),Y===void 0&&(Y=X?X.length:0),pe===void 0&&(pe=0),se===void 0&&(se=this.length),z<0||Y>X.length||pe<0||se>this.length)throw new RangeError("out of range index");if(pe>=se&&z>=Y)return 0;if(pe>=se)return-1;if(z>=Y)return 1;if(z>>>=0,Y>>>=0,pe>>>=0,se>>>=0,this===X)return 0;for(var Te=se-pe,Se=Y-z,ie=Math.min(Te,Se),de=this.slice(pe,se),_e=X.slice(z,Y),We=0;We<ie;++We)if(de[We]!==_e[We]){Te=de[We],Se=_e[We];break}return Te<Se?-1:Se<Te?1:0};function b(te,X,z,Y,pe){if(te.length===0)return-1;if(typeof z=="string"?(Y=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,isNaN(z)&&(z=pe?0:te.length-1),z<0&&(z=te.length+z),z>=te.length){if(pe)return-1;z=te.length-1}else if(z<0)if(pe)z=0;else return-1;if(typeof X=="string"&&(X=l.from(X,Y)),l.isBuffer(X))return X.length===0?-1:S(te,X,z,Y,pe);if(typeof X=="number")return X=X&255,l.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(te,X,z):Uint8Array.prototype.lastIndexOf.call(te,X,z):S(te,[X],z,Y,pe);throw new TypeError("val must be string, number or Buffer")}function S(te,X,z,Y,pe){var se=1,Te=te.length,Se=X.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(te.length<2||X.length<2)return-1;se=2,Te/=2,Se/=2,z/=2}function ie(tt,Oe){return se===1?tt[Oe]:tt.readUInt16BE(Oe*se)}var de;if(pe){var _e=-1;for(de=z;de<Te;de++)if(ie(te,de)===ie(X,_e===-1?0:de-_e)){if(_e===-1&&(_e=de),de-_e+1===Se)return _e*se}else _e!==-1&&(de-=de-_e),_e=-1}else for(z+Se>Te&&(z=Te-Se),de=z;de>=0;de--){for(var We=!0,at=0;at<Se;at++)if(ie(te,de+at)!==ie(X,at)){We=!1;break}if(We)return de}return-1}l.prototype.includes=function(X,z,Y){return this.indexOf(X,z,Y)!==-1},l.prototype.indexOf=function(X,z,Y){return b(this,X,z,Y,!0)},l.prototype.lastIndexOf=function(X,z,Y){return b(this,X,z,Y,!1)};function _(te,X,z,Y){z=Number(z)||0;var pe=te.length-z;Y?(Y=Number(Y),Y>pe&&(Y=pe)):Y=pe;var se=X.length;if(se%2!==0)throw new TypeError("Invalid hex string");Y>se/2&&(Y=se/2);for(var Te=0;Te<Y;++Te){var Se=parseInt(X.substr(Te*2,2),16);if(isNaN(Se))return Te;te[z+Te]=Se}return Te}function T(te,X,z,Y){return ae(Fe(X,te.length-z),te,z,Y)}function x(te,X,z,Y){return ae(fe(X),te,z,Y)}function C(te,X,z,Y){return x(te,X,z,Y)}function I(te,X,z,Y){return ae(Q(X),te,z,Y)}function L(te,X,z,Y){return ae(Ne(X,te.length-z),te,z,Y)}l.prototype.write=function(X,z,Y,pe){if(z===void 0)pe="utf8",Y=this.length,z=0;else if(Y===void 0&&typeof z=="string")pe=z,Y=this.length,z=0;else if(isFinite(z))z=z|0,isFinite(Y)?(Y=Y|0,pe===void 0&&(pe="utf8")):(pe=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var se=this.length-z;if((Y===void 0||Y>se)&&(Y=se),X.length>0&&(Y<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");for(var Te=!1;;)switch(pe){case"hex":return _(this,X,z,Y);case"utf8":case"utf-8":return T(this,X,z,Y);case"ascii":return x(this,X,z,Y);case"latin1":case"binary":return C(this,X,z,Y);case"base64":return I(this,X,z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,z,Y);default:if(Te)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),Te=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(te,X,z){return X===0&&z===te.length?m.fromByteArray(te):m.fromByteArray(te.slice(X,z))}function k(te,X,z){z=Math.min(te.length,z);for(var Y=[],pe=X;pe<z;){var se=te[pe],Te=null,Se=se>239?4:se>223?3:se>191?2:1;if(pe+Se<=z){var ie,de,_e,We;switch(Se){case 1:se<128&&(Te=se);break;case 2:ie=te[pe+1],(ie&192)===128&&(We=(se&31)<<6|ie&63,We>127&&(Te=We));break;case 3:ie=te[pe+1],de=te[pe+2],(ie&192)===128&&(de&192)===128&&(We=(se&15)<<12|(ie&63)<<6|de&63,We>2047&&(We<55296||We>57343)&&(Te=We));break;case 4:ie=te[pe+1],de=te[pe+2],_e=te[pe+3],(ie&192)===128&&(de&192)===128&&(_e&192)===128&&(We=(se&15)<<18|(ie&63)<<12|(de&63)<<6|_e&63,We>65535&&We<1114112&&(Te=We))}}Te===null?(Te=65533,Se=1):Te>65535&&(Te-=65536,Y.push(Te>>>10&1023|55296),Te=56320|Te&1023),Y.push(Te),pe+=Se}return j(Y)}var R=4096;function j(te){var X=te.length;if(X<=R)return String.fromCharCode.apply(String,te);for(var z="",Y=0;Y<X;)z+=String.fromCharCode.apply(String,te.slice(Y,Y+=R));return z}function V(te,X,z){var Y="";z=Math.min(te.length,z);for(var pe=X;pe<z;++pe)Y+=String.fromCharCode(te[pe]&127);return Y}function D(te,X,z){var Y="";z=Math.min(te.length,z);for(var pe=X;pe<z;++pe)Y+=String.fromCharCode(te[pe]);return Y}function H(te,X,z){var Y=te.length;(!X||X<0)&&(X=0),(!z||z<0||z>Y)&&(z=Y);for(var pe="",se=X;se<z;++se)pe+=Ce(te[se]);return pe}function P(te,X,z){for(var Y=te.slice(X,z),pe="",se=0;se<Y.length;se+=2)pe+=String.fromCharCode(Y[se]+Y[se+1]*256);return pe}l.prototype.slice=function(X,z){var Y=this.length;X=~~X,z=z===void 0?Y:~~z,X<0?(X+=Y,X<0&&(X=0)):X>Y&&(X=Y),z<0?(z+=Y,z<0&&(z=0)):z>Y&&(z=Y),z<X&&(z=X);var pe;if(l.TYPED_ARRAY_SUPPORT)pe=this.subarray(X,z),pe.__proto__=l.prototype;else{var se=z-X;pe=new l(se,void 0);for(var Te=0;Te<se;++Te)pe[Te]=this[Te+X]}return pe};function K(te,X,z){if(te%1!==0||te<0)throw new RangeError("offset is not uint");if(te+X>z)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUIntLE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X],se=1,Te=0;++Te<z&&(se*=256);)pe+=this[X+Te]*se;return pe},l.prototype.readUIntBE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X+--z],se=1;z>0&&(se*=256);)pe+=this[X+--z]*se;return pe},l.prototype.readUInt8=function(X,z){return z||K(X,1,this.length),this[X]},l.prototype.readUInt16LE=function(X,z){return z||K(X,2,this.length),this[X]|this[X+1]<<8},l.prototype.readUInt16BE=function(X,z){return z||K(X,2,this.length),this[X]<<8|this[X+1]},l.prototype.readUInt32LE=function(X,z){return z||K(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},l.prototype.readUInt32BE=function(X,z){return z||K(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},l.prototype.readIntLE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X],se=1,Te=0;++Te<z&&(se*=256);)pe+=this[X+Te]*se;return se*=128,pe>=se&&(pe-=Math.pow(2,8*z)),pe},l.prototype.readIntBE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=z,se=1,Te=this[X+--pe];pe>0&&(se*=256);)Te+=this[X+--pe]*se;return se*=128,Te>=se&&(Te-=Math.pow(2,8*z)),Te},l.prototype.readInt8=function(X,z){return z||K(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},l.prototype.readInt16LE=function(X,z){z||K(X,2,this.length);var Y=this[X]|this[X+1]<<8;return Y&32768?Y|4294901760:Y},l.prototype.readInt16BE=function(X,z){z||K(X,2,this.length);var Y=this[X+1]|this[X]<<8;return Y&32768?Y|4294901760:Y},l.prototype.readInt32LE=function(X,z){return z||K(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},l.prototype.readInt32BE=function(X,z){return z||K(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},l.prototype.readFloatLE=function(X,z){return z||K(X,4,this.length),E.read(this,X,!0,23,4)},l.prototype.readFloatBE=function(X,z){return z||K(X,4,this.length),E.read(this,X,!1,23,4)},l.prototype.readDoubleLE=function(X,z){return z||K(X,8,this.length),E.read(this,X,!0,52,8)},l.prototype.readDoubleBE=function(X,z){return z||K(X,8,this.length),E.read(this,X,!1,52,8)};function U(te,X,z,Y,pe,se){if(!l.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>pe||X<se)throw new RangeError('"value" argument is out of bounds');if(z+Y>te.length)throw new RangeError("Index out of range")}l.prototype.writeUIntLE=function(X,z,Y,pe){if(X=+X,z=z|0,Y=Y|0,!pe){var se=Math.pow(2,8*Y)-1;U(this,X,z,Y,se,0)}var Te=1,Se=0;for(this[z]=X&255;++Se<Y&&(Te*=256);)this[z+Se]=X/Te&255;return z+Y},l.prototype.writeUIntBE=function(X,z,Y,pe){if(X=+X,z=z|0,Y=Y|0,!pe){var se=Math.pow(2,8*Y)-1;U(this,X,z,Y,se,0)}var Te=Y-1,Se=1;for(this[z+Te]=X&255;--Te>=0&&(Se*=256);)this[z+Te]=X/Se&255;return z+Y},l.prototype.writeUInt8=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,1,255,0),l.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[z]=X&255,z+1};function G(te,X,z,Y){X<0&&(X=65535+X+1);for(var pe=0,se=Math.min(te.length-z,2);pe<se;++pe)te[z+pe]=(X&255<<8*(Y?pe:1-pe))>>>(Y?pe:1-pe)*8}l.prototype.writeUInt16LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):G(this,X,z,!0),z+2},l.prototype.writeUInt16BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):G(this,X,z,!1),z+2};function W(te,X,z,Y){X<0&&(X=4294967295+X+1);for(var pe=0,se=Math.min(te.length-z,4);pe<se;++pe)te[z+pe]=X>>>(Y?pe:3-pe)*8&255}l.prototype.writeUInt32LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[z+3]=X>>>24,this[z+2]=X>>>16,this[z+1]=X>>>8,this[z]=X&255):W(this,X,z,!0),z+4},l.prototype.writeUInt32BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):W(this,X,z,!1),z+4},l.prototype.writeIntLE=function(X,z,Y,pe){if(X=+X,z=z|0,!pe){var se=Math.pow(2,8*Y-1);U(this,X,z,Y,se-1,-se)}var Te=0,Se=1,ie=0;for(this[z]=X&255;++Te<Y&&(Se*=256);)X<0&&ie===0&&this[z+Te-1]!==0&&(ie=1),this[z+Te]=(X/Se>>0)-ie&255;return z+Y},l.prototype.writeIntBE=function(X,z,Y,pe){if(X=+X,z=z|0,!pe){var se=Math.pow(2,8*Y-1);U(this,X,z,Y,se-1,-se)}var Te=Y-1,Se=1,ie=0;for(this[z+Te]=X&255;--Te>=0&&(Se*=256);)X<0&&ie===0&&this[z+Te+1]!==0&&(ie=1),this[z+Te]=(X/Se>>0)-ie&255;return z+Y},l.prototype.writeInt8=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,1,127,-128),l.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[z]=X&255,z+1},l.prototype.writeInt16LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):G(this,X,z,!0),z+2},l.prototype.writeInt16BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):G(this,X,z,!1),z+2},l.prototype.writeInt32LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8,this[z+2]=X>>>16,this[z+3]=X>>>24):W(this,X,z,!0),z+4},l.prototype.writeInt32BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),l.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):W(this,X,z,!1),z+4};function Z(te,X,z,Y,pe,se){if(z+Y>te.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function J(te,X,z,Y,pe){return pe||Z(te,X,z,4,34028234663852886e22,-34028234663852886e22),E.write(te,X,z,Y,23,4),z+4}l.prototype.writeFloatLE=function(X,z,Y){return J(this,X,z,!0,Y)},l.prototype.writeFloatBE=function(X,z,Y){return J(this,X,z,!1,Y)};function ve(te,X,z,Y,pe){return pe||Z(te,X,z,8,17976931348623157e292,-17976931348623157e292),E.write(te,X,z,Y,52,8),z+8}l.prototype.writeDoubleLE=function(X,z,Y){return ve(this,X,z,!0,Y)},l.prototype.writeDoubleBE=function(X,z,Y){return ve(this,X,z,!1,Y)},l.prototype.copy=function(X,z,Y,pe){if(Y||(Y=0),!pe&&pe!==0&&(pe=this.length),z>=X.length&&(z=X.length),z||(z=0),pe>0&&pe<Y&&(pe=Y),pe===Y)return 0;if(X.length===0||this.length===0)return 0;if(z<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("sourceStart out of bounds");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),X.length-z<pe-Y&&(pe=X.length-z+Y);var se=pe-Y,Te;if(this===X&&Y<z&&z<pe)for(Te=se-1;Te>=0;--Te)X[Te+z]=this[Te+Y];else if(se<1e3||!l.TYPED_ARRAY_SUPPORT)for(Te=0;Te<se;++Te)X[Te+z]=this[Te+Y];else Uint8Array.prototype.set.call(X,this.subarray(Y,Y+se),z);return se},l.prototype.fill=function(X,z,Y,pe){if(typeof X=="string"){if(typeof z=="string"?(pe=z,z=0,Y=this.length):typeof Y=="string"&&(pe=Y,Y=this.length),X.length===1){var se=X.charCodeAt(0);se<256&&(X=se)}if(pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!l.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe)}else typeof X=="number"&&(X=X&255);if(z<0||this.length<z||this.length<Y)throw new RangeError("Out of range index");if(Y<=z)return this;z=z>>>0,Y=Y===void 0?this.length:Y>>>0,X||(X=0);var Te;if(typeof X=="number")for(Te=z;Te<Y;++Te)this[Te]=X;else{var Se=l.isBuffer(X)?X:Fe(new l(X,pe).toString()),ie=Se.length;for(Te=0;Te<Y-z;++Te)this[Te+z]=Se[Te%ie]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function ce(te){if(te=be(te).replace(q,""),te.length<2)return"";for(;te.length%4!==0;)te=te+"=";return te}function be(te){return te.trim?te.trim():te.replace(/^\s+|\s+$/g,"")}function Ce(te){return te<16?"0"+te.toString(16):te.toString(16)}function Fe(te,X){X=X||Infinity;for(var z,Y=te.length,pe=null,se=[],Te=0;Te<Y;++Te){if(z=te.charCodeAt(Te),z>55295&&z<57344){if(!pe){if(z>56319){(X-=3)>-1&&se.push(239,191,189);continue}else if(Te+1===Y){(X-=3)>-1&&se.push(239,191,189);continue}pe=z;continue}if(z<56320){(X-=3)>-1&&se.push(239,191,189),pe=z;continue}z=(pe-55296<<10|z-56320)+65536}else pe&&((X-=3)>-1&&se.push(239,191,189));if(pe=null,z<128){if((X-=1)<0)break;se.push(z)}else if(z<2048){if((X-=2)<0)break;se.push(z>>6|192,z&63|128)}else if(z<65536){if((X-=3)<0)break;se.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((X-=4)<0)break;se.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return se}function fe(te){for(var X=[],z=0;z<te.length;++z)X.push(te.charCodeAt(z)&255);return X}function Ne(te,X){for(var z,Y,pe,se=[],Te=0;Te<te.length&&!((X-=2)<0);++Te)z=te.charCodeAt(Te),Y=z>>8,pe=z%256,se.push(pe),se.push(Y);return se}function Q(te){return m.toByteArray(ce(te))}function ae(te,X,z,Y){for(var pe=0;pe<Y&&!(pe+z>=X.length||pe>=te.length);++pe)X[pe+z]=te[pe];return pe}function Ue(te){return te!==te}}).call(this,i("yLpj"))},"HF/U":function(B,N,i){var y=i("QBsz");function m(p){var v=p.coordinateSystem;if(v&&v.type!=="view")return;var f=p.getGraph();f.eachNode(function(d){var l=d.getModel();d.setLayout([+l.get("x"),+l.get("y")])}),E(f)}function E(p){p.eachEdge(function(v){var f=v.getModel().get("lineStyle.curveness")||0,d=y.clone(v.node1.getLayout()),l=y.clone(v.node2.getLayout()),n=[d,l];+f&&n.push([(d[0]+l[0])/2-(d[1]-l[1])*f,(d[1]+l[1])/2-(l[0]-d[0])*f]),v.setLayout(n)})}N.simpleLayout=m,N.simpleLayoutEdge=E},"HM/N":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("/SeX"),v=i("OELB"),f=v.parsePercent,d=i("aX7z"),l=d.createScaleByModel,n=d.niceScaleExtent,t=i("IDmD"),a=i("7hqr"),o=a.getStackedDimension;i("ePAk");function r(u,h,g){var A=h.get("center"),w=g.getWidth(),b=g.getHeight();u.cx=f(A[0],w),u.cy=f(A[1],b);var S=u.getRadiusAxis(),_=Math.min(w,b)/2,T=h.get("radius");T==null?T=[0,"100%"]:E.isArray(T)||(T=[0,T]),T=[f(T[0],_),f(T[1],_)],S.inverse?S.setExtent(T[1],T[0]):S.setExtent(T[0],T[1])}function c(u,h){var g=this,A=g.getAngleAxis(),w=g.getRadiusAxis();if(A.scale.setExtent(Infinity,-Infinity),w.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(_){if(_.coordinateSystem===g){var T=_.getData();E.each(T.mapDimension("radius",!0),function(x){w.scale.unionExtentFromData(T,o(T,x))}),E.each(T.mapDimension("angle",!0),function(x){A.scale.unionExtentFromData(T,o(T,x))})}}),n(A.scale,A.model),n(w.scale,w.model),A.type==="category"&&!A.onBand){var b=A.getExtent(),S=360/A.scale.count();A.inverse?b[1]+=S:b[1]-=S,A.setExtent(b[0],b[1])}}function e(u,h){if(u.type=h.get("type"),u.scale=l(h),u.onBand=h.get("boundaryGap")&&u.type==="category",u.inverse=h.get("inverse"),h.mainType==="angleAxis"){u.inverse^=h.get("clockwise");var g=h.get("startAngle");u.setExtent(g,g+(u.inverse?-360:360))}h.axis=u,u.model=h}var s={dimensions:p.prototype.dimensions,create:function(u,h){var g=[];return u.eachComponent("polar",function(A,w){var b=new p(w);b.update=c;var S=b.getRadiusAxis(),_=b.getAngleAxis(),T=A.findAxisModel("radiusAxis"),x=A.findAxisModel("angleAxis");e(S,T),e(_,x),r(b,A,h),g.push(b),A.coordinateSystem=b,b.model=A}),u.eachSeries(function(A){if(A.get("coordinateSystem")==="polar"){var w=u.queryComponents({mainType:"polar",index:A.get("polarIndex"),id:A.get("polarId")})[0];A.coordinateSystem=w.coordinateSystem}}),g}};t.register("polar",s)},HQEm:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("Sj0X"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},HjIi:function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=i("7hqr"),v=p.isDimensionStacked;function f(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function d(a,o){return o.dim+a.model.componentIndex}function l(a,o,r){var c={},e=n(y.filter(o.getSeriesByType(a),function(s){return!o.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));o.eachSeriesByType(a,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),h=s.coordinateSystem,g=h.getBaseAxis(),A=d(h,g),w=f(s),b=e[A][w],S=b.offset,_=b.width,T=h.getOtherAxis(g),x=s.coordinateSystem.cx,C=s.coordinateSystem.cy,I=s.get("barMinHeight")||0,L=s.get("barMinAngle")||0;c[w]=c[w]||[];for(var M=u.mapDimension(T.dim),k=u.mapDimension(g.dim),R=v(u,M),j=g.dim!=="radius"||!s.get("roundCap",!0),V=T.getExtent()[0],D=0,H=u.count();D<H;D++){var P=u.get(M,D),K=u.get(k,D),U=P>=0?"p":"n",G=V;R&&(c[w][K]||(c[w][K]={p:V,n:V}),G=c[w][K][U]);var W,Z,J,ve;if(T.dim==="radius"){var q=T.dataToRadius(P)-V,ce=g.dataToAngle(K);Math.abs(q)<I&&(q=(q<0?-1:1)*I),W=G,Z=G+q,J=ce-S,ve=J-_,R&&(c[w][K][U]=Z)}else{var be=T.dataToAngle(P,j)-V,Ce=g.dataToRadius(K);Math.abs(be)<L&&(be=(be<0?-1:1)*L),W=Ce+S,Z=W+_,J=G,ve=G+be,R&&(c[w][K][U]=ve)}u.setItemLayout(D,{cx:x,cy:C,r0:W,r:Z,startAngle:-J*Math.PI/180,endAngle:-ve*Math.PI/180})}},this)}function n(a,o){var r={};y.each(a,function(e,s){var u=e.getData(),h=e.coordinateSystem,g=h.getBaseAxis(),A=d(h,g),w=g.getExtent(),b=g.type==="category"?g.getBandWidth():Math.abs(w[1]-w[0])/u.count(),S=r[A]||{bandWidth:b,remainedWidth:b,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},_=S.stacks;r[A]=S;var T=f(e);_[T]||S.autoWidthCount++,_[T]=_[T]||{width:0,maxWidth:0};var x=E(e.get("barWidth"),b),C=E(e.get("barMaxWidth"),b),I=e.get("barGap"),L=e.get("barCategoryGap");x&&!_[T].width&&(x=Math.min(S.remainedWidth,x),_[T].width=x,S.remainedWidth-=x),C&&(_[T].maxWidth=C),I!=null&&(S.gap=I),L!=null&&(S.categoryGap=L)});var c={};return y.each(r,function(e,s){c[s]={};var u=e.stacks,h=e.bandWidth,g=E(e.categoryGap,h),A=E(e.gap,1),w=e.remainedWidth,b=e.autoWidthCount,S=(w-g)/(b+(b-1)*A);S=Math.max(S,0),y.each(u,function(C,I){var L=C.maxWidth;L&&L<S&&(L=Math.min(L,w),C.width&&(L=Math.min(L,C.width)),w-=L,C.width=L,b--)}),S=(w-g)/(b+(b-1)*A),S=Math.max(S,0);var _=0,T;y.each(u,function(C,I){C.width||(C.width=S),T=C,_+=C.width*(1+A)}),T&&(_-=T.width*A);var x=-_/2;y.each(u,function(C,I){c[s][I]=c[s][I]||{offset:x,width:C.width},x+=C.width*(1+A)})}),c}var t=l;B.exports=t},HjOm:function(B,N,i){"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"},m=y;N.default=m},Hw7h:function(B,N,i){var y=i("y+Vt"),m=y.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(E,p){var v=Math.cos,f=Math.sin,d=p.r,l=p.width,n=p.angle,t=p.x-v(n)*l*(l>=d/3?1:2),a=p.y-f(n)*l*(l>=d/3?1:2);n=p.angle-Math.PI/2,E.moveTo(t,a),E.lineTo(p.x+v(n)*l,p.y+f(n)*l),E.lineTo(p.x+v(p.angle)*d,p.y+f(p.angle)*d),E.lineTo(p.x-v(n)*l,p.y-f(n)*l),E.lineTo(t,a);return}});B.exports=m},Hxpc:function(B,N,i){var y=i("bYtY"),m=i("4NO4"),E=i("bLfw"),p=i("Qxkt"),v=i("cCMj"),f=i("7uqq"),d=E.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(n){E.prototype.init.apply(this,arguments),m.defaultEmphasis(n,"label",["show"])},optionUpdated:function(){var n=this.option,t=this;n.regions=f.getFilledRegions(n.regions,n.map,n.nameMap),this._optionModelMap=y.reduce(n.regions||[],function(a,o){return o.name&&a.set(o.name,new p(o,t)),a},y.createHashMap()),this.updateSelectedMap(n.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(n){return this._optionModelMap.get(n)||new p(null,this,this.ecModel)},getFormattedLabel:function(n,t){var a=this.getRegionModel(n),o=a.get("label"+(t==="normal"?".":t+".")+"formatter"),r={name:n};if(typeof o=="function")return r.status=t,o(r);if(typeof o=="string")return o.replace("{a}",n!=null?n:"")},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n}});y.mixin(d,v);var l=d;B.exports=l},"I+77":function(B,N,i){var y=i("ProS");i("h54F"),i("lwQL"),i("10cm");var m=i("Z1r0"),E=i("f5Yq"),p=i("KUOm"),v=i("3m61"),f=i("01d+"),d=i("rdor"),l=i("WGYa"),n=i("ewwo");y.registerProcessor(m),y.registerVisual(E("graph","circle",null)),y.registerVisual(p),y.registerVisual(v),y.registerLayout(f),y.registerLayout(y.PRIORITY.VISUAL.POST_CHART_LAYOUT,d),y.registerLayout(l),y.registerCoordinateSystem("graphView",{create:n})},"I+Bx":function(B,N,i){var y=i("bYtY"),m=i("eIcI"),E=i("ieMj"),p=i("OELB"),v=i("aX7z"),f=v.getScaleExtent,d=v.niceScaleExtent,l=i("IDmD"),n=i("jCoz");function t(o,r,c){this._model=o,this.dimensions=[],this._indicatorAxes=y.map(o.getIndicatorModels(),function(e,s){var u="indicator_"+s,h=new m(u,e.get("axisType")==="log"?new n:new E);return h.name=e.get("name"),h.model=e,e.axis=h,this.dimensions.push(u),h},this),this.resize(o,c),this.cx,this.cy,this.r,this.r0,this.startAngle}t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(o,r){var c=this._indicatorAxes[r];return this.coordToPoint(c.dataToCoord(o),r)},t.prototype.coordToPoint=function(o,r){var c=this._indicatorAxes[r],e=c.angle,s=this.cx+o*Math.cos(e),u=this.cy-o*Math.sin(e);return[s,u]},t.prototype.pointToData=function(o){var r=o[0]-this.cx,c=o[1]-this.cy,e=Math.sqrt(r*r+c*c);r/=e,c/=e;for(var s=Math.atan2(-c,r),u=Infinity,h,g=-1,A=0;A<this._indicatorAxes.length;A++){var w=this._indicatorAxes[A],b=Math.abs(s-w.angle);b<u&&(h=w,g=A,u=b)}return[g,+(h&&h.coordToData(e))]},t.prototype.resize=function(o,r){var c=o.get("center"),e=r.getWidth(),s=r.getHeight(),u=Math.min(e,s)/2;this.cx=p.parsePercent(c[0],e),this.cy=p.parsePercent(c[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=p.parsePercent(h[0],u),this.r=p.parsePercent(h[1],u),y.each(this._indicatorAxes,function(g,A){g.setExtent(this.r0,this.r);var w=this.startAngle+A*Math.PI*2/this._indicatorAxes.length;w=Math.atan2(Math.sin(w),Math.cos(w)),g.angle=w},this)},t.prototype.update=function(o,r){var c=this._indicatorAxes,e=this._model;y.each(c,function(h){h.scale.setExtent(Infinity,-Infinity)}),o.eachSeriesByType("radar",function(h,g){if(h.get("coordinateSystem")!=="radar"||o.getComponent("radar",h.get("radarIndex"))!==e)return;var A=h.getData();y.each(c,function(w){w.scale.unionExtentFromData(A,A.mapDimension(w.dim))})},this);var s=e.get("splitNumber");function u(h){var g=Math.pow(10,Math.floor(Math.log(h)/Math.LN10)),A=h/g;return A===2?A=5:A*=2,A*g}y.each(c,function(h,g){var A=f(h.scale,h.model).extent;d(h.scale,h.model);var w=h.model,b=h.scale,S=w.getMin(),_=w.getMax(),T=b.getInterval();if(S!=null&&_!=null)b.setExtent(+S,+_),b.setInterval((_-S)/s);else if(S!=null){var x;do x=S+T*s,b.setExtent(+S,x),b.setInterval(T),T=u(T);while(x<A[1]&&isFinite(x)&&isFinite(A[1]))}else if(_!=null){var C;do C=_-T*s,b.setExtent(C,+_),b.setInterval(T),T=u(T);while(C>A[0]&&isFinite(C)&&isFinite(A[0]))}else{var I=b.getTicks().length-1;I>s&&(T=u(T));var x=Math.ceil(A[1]/T)*T,C=p.round(x-T*s);b.setExtent(C,x),b.setInterval(T)}})},t.dimensions=[],t.create=function(o,r){var c=[];return o.eachComponent("radar",function(e){var s=new t(e,o,r);c.push(s),e.coordinateSystem=s}),o.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=c[e.get("radarIndex")||0])}),c},l.register("radar",t);var a=t;B.exports=a},"I3/A":function(B,N,i){var y=i("bYtY"),m=i("YXkt"),E=i("c2i1"),p=i("Mdki"),v=i("sdST"),f=i("IDmD"),d=i("MwEJ");function l(n,t,a,o,r){for(var c=new E(o),e=0;e<n.length;e++)c.addNode(y.retrieve(n[e].id,n[e].name,e),e);for(var s=[],u=[],h=0,e=0;e<t.length;e++){var g=t[e],A=g.source,w=g.target;c.addEdge(A,w,h)&&(u.push(g),s.push(y.retrieve(g.id,A+" > "+w)),h++)}var b=a.get("coordinateSystem"),S;if(b==="cartesian2d"||b==="polar")S=d(n,a);else{var _=f.get(b),T=_&&_.type!=="view"?_.dimensions||[]:[];y.indexOf(T,"value")<0&&T.concat(["value"]);var x=v(n,{coordDimensions:T});S=new m(x,a),S.initData(n)}var C=new m(["value"],a);return C.initData(u,s),r&&r(S,C),p({mainData:S,struct:c,structAttr:"graph",datas:{node:S,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}B.exports=l},I8Z2:function(B,N,i){"use strict";i.d(N,"a",function(){return p}),i.d(N,"b",function(){return r}),i.d(N,"c",function(){return e});var y=i("q1tI"),m=function(){var s=function(h,g){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var b in w)w.hasOwnProperty(b)&&(A[b]=w[b])},s(h,g)};return function(u,h){s(u,h);function g(){this.constructor=u}u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)}}(),E=y.createContext(null),p=function(s){m(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.prototype.render=function(){return y.createElement(E.Provider,{value:this.props.store},this.props.children)},u}(y.Component),v=i("Gytx"),f=i.n(v),d=i("2mql"),l=i.n(d),n=function(){var s=function(h,g){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var b in w)w.hasOwnProperty(b)&&(A[b]=w[b])},s(h,g)};return function(u,h){s(u,h);function g(){this.constructor=u}u.prototype=h===null?Object.create(h):(g.prototype=h.prototype,new g)}}(),t=function(){return t=Object.assign||function(s){for(var u,h=1,g=arguments.length;h<g;h++){u=arguments[h];for(var A in u)Object.prototype.hasOwnProperty.call(u,A)&&(s[A]=u[A])}return s},t.apply(this,arguments)};function a(s){return s.displayName||s.name||"Component"}var o=function(){return{}};function r(s,u){u===void 0&&(u={});var h=!!s,g=s||o;return function(w){var b=function(_){n(T,_);function T(x,C){var I=_.call(this,x,C)||this;return I.unsubscribe=null,I.handleChange=function(){if(!I.unsubscribe)return;var L=g(I.store.getState(),I.props);I.setState({subscribed:L})},I.store=I.context,I.state={subscribed:g(I.store.getState(),x),store:I.store,props:x},I}return T.getDerivedStateFromProps=function(x,C){return s&&s.length===2&&x!==C.props?{subscribed:g(C.store.getState(),x),props:x}:{props:x}},T.prototype.componentDidMount=function(){this.trySubscribe()},T.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},T.prototype.shouldComponentUpdate=function(x,C){return!f()(this.props,x)||!f()(this.state.subscribed,C.subscribed)},T.prototype.trySubscribe=function(){h&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},T.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},T.prototype.render=function(){var x=t(t(t({},this.props),this.state.subscribed),{store:this.store});return y.createElement(w,t({},x,{ref:this.props.miniStoreForwardedRef}))},T.displayName="Connect("+a(w)+")",T.contextType=E,T}(y.Component);if(u.forwardRef){var S=y.forwardRef(function(_,T){return y.createElement(b,t({},_,{miniStoreForwardedRef:T}))});return l()(S,w)}return l()(b,w)}}var c=function(){return c=Object.assign||function(s){for(var u,h=1,g=arguments.length;h<g;h++){u=arguments[h];for(var A in u)Object.prototype.hasOwnProperty.call(u,A)&&(s[A]=u[A])}return s},c.apply(this,arguments)};function e(s){var u=s,h=[];function g(b){u=c(c({},u),b);for(var S=0;S<h.length;S++)h[S]()}function A(){return u}function w(b){return h.push(b),function(){var _=h.indexOf(b);h.splice(_,1)}}return{setState:g,getState:A,subscribe:w}}},"I9Y+":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("4xFK")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DoubleRightOutlined";var l=p.forwardRef(d);N.default=l},ICMv:function(B,N,i){var y=i("bYtY"),m={getMin:function(E){var p=this.option,v=!E&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!y.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(E){var p=this.option,v=!E&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!y.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var E=this.option;return E.rangeStart!=null||E.rangeEnd!=null?!1:!E.scale},getCoordSysModel:y.noop,setRange:function(E,p){this.option.rangeStart=E,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};B.exports=m},IDmD:function(B,N,i){var y=i("bYtY"),m={};function E(){this._coordinateSystems=[]}E.prototype={constructor:E,create:function(v,f){var d=[];y.each(m,function(l,n){var t=l.create(v,f);d=d.concat(t||[])}),this._coordinateSystems=d},update:function(v,f){y.each(this._coordinateSystems,function(d){d.update&&d.update(v,f)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},E.register=function(v,f){m[v]=f},E.get=function(v){return m[v]};var p=E;B.exports=p},IMiH:function(B,N,i){var y=i("Sj9i"),m=i("QBsz"),E=i("4mN7"),p=i("mFDi"),v=i("LPTA"),f=v.devicePixelRatio,d={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},l=[],n=[],t=[],a=[],o=Math.min,r=Math.max,c=Math.cos,e=Math.sin,s=Math.sqrt,u=Math.abs,h=typeof Float32Array!="undefined",g=function(b){this._saveData=!(b||!1),this._saveData&&(this.data=[]),this._ctx=null};g.prototype={constructor:g,_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,S,_){_=_||0,this._ux=u(_/f/b)||0,this._uy=u(_/f/S)||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,S){return this.addData(d.M,b,S),this._ctx&&this._ctx.moveTo(b,S),this._x0=b,this._y0=S,this._xi=b,this._yi=S,this},lineTo:function(b,S){var _=u(b-this._xi)>this._ux||u(S-this._yi)>this._uy||this._len<5;return this.addData(d.L,b,S),this._ctx&&_&&(this._needsDash()?this._dashedLineTo(b,S):this._ctx.lineTo(b,S)),_&&(this._xi=b,this._yi=S),this},bezierCurveTo:function(b,S,_,T,x,C){return this.addData(d.C,b,S,_,T,x,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(b,S,_,T,x,C):this._ctx.bezierCurveTo(b,S,_,T,x,C)),this._xi=x,this._yi=C,this},quadraticCurveTo:function(b,S,_,T){return this.addData(d.Q,b,S,_,T),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,S,_,T):this._ctx.quadraticCurveTo(b,S,_,T)),this._xi=_,this._yi=T,this},arc:function(b,S,_,T,x,C){return this.addData(d.A,b,S,_,_,T,x-T,0,C?0:1),this._ctx&&this._ctx.arc(b,S,_,T,x,C),this._xi=c(x)*_+b,this._yi=e(x)*_+S,this},arcTo:function(b,S,_,T,x){return this._ctx&&this._ctx.arcTo(b,S,_,T,x),this},rect:function(b,S,_,T){return this._ctx&&this._ctx.rect(b,S,_,T),this.addData(d.R,b,S,_,T),this},closePath:function(){this.addData(d.Z);var b=this._ctx,S=this._x0,_=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(S,_),b.closePath()),this._xi=S,this._yi=_,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 S=0,_=0;_<b.length;_++)S+=b[_];this._dashSum=S}return this},setLineDashOffset:function(b){return this._dashOffset=b,this},len:function(){return this._len},setData:function(b){var S=b.length;!(this.data&&this.data.length===S)&&h&&(this.data=new Float32Array(S));for(var _=0;_<S;_++)this.data[_]=b[_];this._len=S},appendPath:function(b){b instanceof Array||(b=[b]);for(var S=b.length,_=0,T=this._len,x=0;x<S;x++)_+=b[x].len();h&&this.data instanceof Float32Array&&(this.data=new Float32Array(T+_));for(var x=0;x<S;x++)for(var C=b[x].data,I=0;I<C.length;I++)this.data[T++]=C[I];this._len=T},addData:function(b){if(!this._saveData)return;var S=this.data;this._len+arguments.length>S.length&&(this._expandData(),S=this.data);for(var _=0;_<arguments.length;_++)S[this._len++]=arguments[_];this._prevCmd=b},_expandData:function(){if(!(this.data instanceof Array)){for(var b=[],S=0;S<this._len;S++)b[S]=this.data[S];this.data=b}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(b,S){var _=this._dashSum,T=this._dashOffset,x=this._lineDash,C=this._ctx,I=this._xi,L=this._yi,M=b-I,k=S-L,R=s(M*M+k*k),j=I,V=L,D,H=x.length,P;for(M/=R,k/=R,T<0&&(T=_+T),T%=_,j-=T*M,V-=T*k;M>0&&j<=b||M<0&&j>=b||M===0&&(k>0&&V<=S||k<0&&V>=S);){if(P=this._dashIdx,D=x[P],j+=M*D,V+=k*D,this._dashIdx=(P+1)%H,M>0&&j<I||M<0&&j>I||k>0&&V<L||k<0&&V>L)continue;C[P%2?"moveTo":"lineTo"](M>=0?o(j,b):r(j,b),k>=0?o(V,S):r(V,S))}M=j-b,k=V-S,this._dashOffset=-s(M*M+k*k)},_dashedBezierTo:function(b,S,_,T,x,C){var I=this._dashSum,L=this._dashOffset,M=this._lineDash,k=this._ctx,R=this._xi,j=this._yi,V,D,H,P=y.cubicAt,K=0,U=this._dashIdx,G=M.length,W,Z,J=0;for(L<0&&(L=I+L),L%=I,V=0;V<1;V+=.1)D=P(R,b,_,x,V+.1)-P(R,b,_,x,V),H=P(j,S,T,C,V+.1)-P(j,S,T,C,V),K+=s(D*D+H*H);for(;U<G&&!(J+=M[U],J>L);U++);for(V=(J-L)/K;V<=1;)W=P(R,b,_,x,V),Z=P(j,S,T,C,V),U%2?k.moveTo(W,Z):k.lineTo(W,Z),V+=M[U]/K,U=(U+1)%G;U%2!==0&&k.lineTo(x,C),D=x-W,H=C-Z,this._dashOffset=-s(D*D+H*H)},_dashedQuadraticTo:function(b,S,_,T){var x=_,C=T;_=(_+2*b)/3,T=(T+2*S)/3,b=(this._xi+2*b)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(b,S,_,T,x,C)},toStatic:function(){var b=this.data;b instanceof Array&&(b.length=this._len,h&&(this.data=new Float32Array(b)))},getBoundingRect:function(){l[0]=l[1]=t[0]=t[1]=Number.MAX_VALUE,n[0]=n[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var b=this.data,S=0,_=0,T=0,x=0,C=0;C<b.length;){var I=b[C++];C===1&&(S=b[C],_=b[C+1],T=S,x=_);switch(I){case d.M:T=b[C++],x=b[C++],S=T,_=x,t[0]=T,t[1]=x,a[0]=T,a[1]=x;break;case d.L:E.fromLine(S,_,b[C],b[C+1],t,a),S=b[C++],_=b[C++];break;case d.C:E.fromCubic(S,_,b[C++],b[C++],b[C++],b[C++],b[C],b[C+1],t,a),S=b[C++],_=b[C++];break;case d.Q:E.fromQuadratic(S,_,b[C++],b[C++],b[C],b[C+1],t,a),S=b[C++],_=b[C++];break;case d.A:var L=b[C++],M=b[C++],k=b[C++],R=b[C++],j=b[C++],V=b[C++]+j;C+=1;var D=1-b[C++];C===1&&(T=c(j)*k+L,x=e(j)*R+M),E.fromArc(L,M,k,R,j,V,D,t,a),S=c(V)*k+L,_=e(V)*R+M;break;case d.R:T=S=b[C++],x=_=b[C++];var H=b[C++],P=b[C++];E.fromLine(T,x,T+H,x+P,t,a);break;case d.Z:S=T,_=x;break}m.min(l,l,t),m.max(n,n,a)}return C===0&&(l[0]=l[1]=n[0]=n[1]=0),new p(l[0],l[1],n[0]-l[0],n[1]-l[1])},rebuildPath:function(b){for(var S=this.data,_,T,x,C,I,L,M=this._ux,k=this._uy,R=this._len,j=0;j<R;){var V=S[j++];j===1&&(x=S[j],C=S[j+1],_=x,T=C);switch(V){case d.M:_=x=S[j++],T=C=S[j++],b.moveTo(x,C);break;case d.L:I=S[j++],L=S[j++],(u(I-x)>M||u(L-C)>k||j===R-1)&&(b.lineTo(I,L),x=I,C=L);break;case d.C:b.bezierCurveTo(S[j++],S[j++],S[j++],S[j++],S[j++],S[j++]),x=S[j-2],C=S[j-1];break;case d.Q:b.quadraticCurveTo(S[j++],S[j++],S[j++],S[j++]),x=S[j-2],C=S[j-1];break;case d.A:var D=S[j++],H=S[j++],P=S[j++],K=S[j++],U=S[j++],G=S[j++],W=S[j++],Z=S[j++],J=P>K?P:K,ve=P>K?1:P/K,q=P>K?K/P:1,ce=Math.abs(P-K)>.001,be=U+G;ce?(b.translate(D,H),b.rotate(W),b.scale(ve,q),b.arc(0,0,J,U,be,1-Z),b.scale(1/ve,1/q),b.rotate(-W),b.translate(-D,-H)):b.arc(D,H,J,U,be,1-Z),j===1&&(_=c(U)*P+D,T=e(U)*K+H),x=c(be)*P+D,C=e(be)*K+H;break;case d.R:_=x=S[j],T=C=S[j+1],b.rect(S[j++],S[j++],S[j++],S[j++]);break;case d.Z:b.closePath(),x=_,C=T}}}},g.CMD=d;var A=g;B.exports=A},IUWy:function(B,N){var i={};function y(E,p){i[E]=p}function m(E){return i[E]}N.register=y,N.get=m},IWNH:function(B,N,i){var y=i("T4UG"),m=i("Bsck"),E=i("7aKB"),p=E.encodeHTML,v=i("Qxkt"),f=y.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(d){var l={name:d.name,children:d.data},n=d.leaves||{},t=new v(n,this,this.ecModel),a=m.createTree(l,this,{},o);function o(s){s.wrapMethod("getItemModel",function(u,h){var g=a.getNodeByDataIndex(h);return(!g.children.length||!g.isExpand)&&(u.parentModel=t),u})}var r=0;a.eachNode("preorder",function(s){s.depth>r&&(r=s.depth)});var c=d.expandAndCollapse,e=c&&d.initialTreeDepth>=0?d.initialTreeDepth:r;return a.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=e}),a.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 l=this.getData().tree,n=l.root.children[0],t=l.getNodeByDataIndex(d),a=t.getValue(),o=t.name;t&&t!==n;)o=t.parentNode.name+"."+o,t=t.parentNode;return p(o+(isNaN(a)||a==null?"":" : "+a))},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}});B.exports=f},IWp7:function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=i("7aKB"),p=i("lE7J"),v=i("ieMj"),f=v.prototype,d=Math.ceil,l=Math.floor,n=1e3,t=n*60,a=t*60,o=a*24,r=function(u,h,g,A){for(;g<A;){var w=g+A>>>1;u[w][1]<h?g=w+1:A=w}return g},c=v.extend({type:"time",getLabel:function(u){var h=this._stepLvl,g=new Date(u);return E.formatTime(h[0],g,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 g=new Date;h[1]=+new Date(g.getFullYear(),g.getMonth(),g.getDate()),h[0]=h[1]-o}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var A=this._interval;u.fixMin||(h[0]=m.round(l(h[0]/A)*A)),u.fixMax||(h[1]=m.round(d(h[1]/A)*A))},niceTicks:function(u,h,g){u=u||10;var A=this._extent,w=A[1]-A[0],b=w/u;h!=null&&b<h&&(b=h),g!=null&&b>g&&(b=g);var S=e.length,_=r(e,b,0,S),T=e[Math.min(_,S-1)],x=T[1];if(T[0]==="year"){var C=w/x,I=m.nice(C/u,!0);x*=I}var L=this.getSetting("useUTC")?0:new Date(+A[0]||+A[1]).getTimezoneOffset()*60*1e3,M=[Math.round(d((A[0]-L)/x)*x+L),Math.round(l((A[1]-L)/x)*x+L)];p.fixExtent(M,A),this._stepLvl=T,this._interval=x,this._niceExtent=M},parse:function(u){return+m.parseDate(u)}});y.each(["contain","normalize"],function(u){c.prototype[u]=function(h){return f[u].call(this,this.parse(h))}});var e=[["hh:mm:ss",n],["hh:mm:ss",n*5],["hh:mm:ss",n*10],["hh:mm:ss",n*15],["hh:mm:ss",n*30],[`hh:mm
MM-dd`,t],[`hh:mm
MM-dd`,t*5],[`hh:mm
MM-dd`,t*10],[`hh:mm
MM-dd`,t*15],[`hh:mm
MM-dd`,t*30],[`hh:mm
MM-dd`,a],[`hh:mm
MM-dd`,a*2],[`hh:mm
MM-dd`,a*6],[`hh:mm
MM-dd`,a*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]];c.create=function(u){return new c({useUTC:u.ecModel.get("useUTC")})};var s=c;B.exports=s},IXuL:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("MwEJ"),p=i("T4UG"),v=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(f,d){return E(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}});B.exports=v},IXyC:function(B,N,i){var y=i("bYtY"),m=i("bLfw");i("3zoK");var E=m.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(){m.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(p){var v=this.option;p&&y.merge(v,p,!0),this._initDimensions()},contains:function(p,v){var f=p.get("parallelIndex");return f!=null&&v.getComponent("parallel",f)===this},setAxisExpand:function(p){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){p.hasOwnProperty(v)&&(this.option[v]=p[v])},this)},_initDimensions:function(){var p=this.dimensions=[],v=this.parallelAxisIndex=[],f=y.filter(this.dependentModels.parallelAxis,function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);y.each(f,function(d){p.push("dim"+d.get("dim")),v.push(d.componentIndex)})}});B.exports=E},ItGF:function(B,N){var i={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?i={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?i={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?i={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i=m(navigator.userAgent);var y=i;function m(E){var p={},v={},f=E.match(/Firefox\/([\d.]+)/),d=E.match(/MSIE\s([\d.]+)/)||E.match(/Trident\/.+?rv:(([\d.]+))/),l=E.match(/Edge\/([\d.]+)/),n=/micromessenger/i.test(E);return f&&(v.firefox=!0,v.version=f[1]),d&&(v.ie=!0,v.version=d[1]),l&&(v.edge=!0,v.version=l[1]),n&&(v.weChat=!0),{browser:v,os:p,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}B.exports=y},ItS6:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=i("eP3c"),m=E(i("1q3G"));function E(l){return l&&l.__esModule?l:{default:l}}function p(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function v(l,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,a.key,a)}}function f(l,n,t){return n&&v(l.prototype,n),t&&v(l,t),l}var d=function(){function l(){p(this,l),this.strm=new m.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(l,[{key:"setInput",value:function(t){t?(this.strm.input=t,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(t){t>this.chunkSize&&(this.chunkSize=t,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=t;var a=(0,y.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=t)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)}}]),l}();N.default=d},Itpr:function(B,N,i){var y=i("+TT/");function m(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 g=h.length,A=g-1;A>=0;A--){var w=h[A];w.hierNode={defaultAncestor:null,ancestor:w,prelim:0,modifier:0,change:0,shift:0,i:A,thread:null},s.push(w)}}function E(e,s){var u=e.isExpand?e.children:[],h=e.parentNode.children,g=e.hierNode.i?h[e.hierNode.i-1]:null;if(u.length){l(e);var A=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;g?(e.hierNode.prelim=g.hierNode.prelim+s(e,g),e.hierNode.modifier=e.hierNode.prelim-A):e.hierNode.prelim=A}else g&&(e.hierNode.prelim=g.hierNode.prelim+s(e,g));e.parentNode.hierNode.defaultAncestor=n(e,g,e.parentNode.hierNode.defaultAncestor||h[0],s)}function p(e){var s=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:s},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function v(e){return arguments.length?e:c}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 l(e){for(var s=e.children,u=s.length,h=0,g=0;--u>=0;){var A=s[u];A.hierNode.prelim+=h,A.hierNode.modifier+=h,g+=A.hierNode.change,h+=A.hierNode.shift+g}}function n(e,s,u,h){if(s){for(var g=e,A=e,w=A.parentNode.children[0],b=s,S=g.hierNode.modifier,_=A.hierNode.modifier,T=w.hierNode.modifier,x=b.hierNode.modifier;b=t(b),A=a(A),b&&A;){g=t(g),w=a(w),g.hierNode.ancestor=e;var C=b.hierNode.prelim+x-A.hierNode.prelim-_+h(b,A);C>0&&(r(o(b,e,u),e,C),_+=C,S+=C),x+=b.hierNode.modifier,_+=A.hierNode.modifier,S+=g.hierNode.modifier,T+=w.hierNode.modifier}b&&!t(g)&&(g.hierNode.thread=b,g.hierNode.modifier+=x-S),A&&!a(w)&&(w.hierNode.thread=A,w.hierNode.modifier+=_-T,u=e)}return u}function t(e){var s=e.children;return s.length&&e.isExpand?s[s.length-1]:e.hierNode.thread}function a(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 c(e,s){return e.parentNode===s.parentNode?1:2}N.init=m,N.firstWalk=E,N.secondWalk=p,N.separation=v,N.radialCoordinate=f,N.getViewRect=d},IwbS:function(B,N,i){var y=i("bYtY"),m=i("NC18"),E=i("Qe9p"),p=i("Fofx"),v=i("QBsz"),f=i("y+Vt"),d=i("DN4a"),l=i("Dagg");N.Image=l;var n=i("4fz+");N.Group=n;var t=i("dqUG");N.Text=t;var a=i("2fw6");N.Circle=a;var o=i("SqI9");N.Sector=o;var r=i("RXMa");N.Ring=r;var c=i("h7HQ");N.Polygon=c;var e=i("1Jh7");N.Polyline=e;var s=i("x6Kt");N.Rect=s;var u=i("yxFR");N.Line=u;var h=i("rA99");N.BezierCurve=h;var g=i("jTL6");N.Arc=g;var A=i("1MYJ");N.CompoundPath=A;var w=i("SKnc");N.LinearGradient=w;var b=i("3e3G");N.RadialGradient=b;var S=i("mFDi");N.BoundingRect=S;var _=i("OS9S");N.IncrementalDisplayable=_;var T=i("nPnh"),x=Math.max,C=Math.min,I={},L=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",R="normal",j=1,V={},D={};function H(He){return f.extend(He)}function P(He,ze){return m.extendFromString(He,ze)}function K(He,ze){D[He]=ze}function U(He){if(D.hasOwnProperty(He))return D[He]}function G(He,ze,Rt,sr){var Jt=m.createFromString(He,ze);return Rt&&(sr==="center"&&(Rt=Z(Rt,Jt.getBoundingRect())),ve(Jt,Rt)),Jt}function W(He,ze,Rt){var sr=new l({style:{image:He,x:ze.x,y:ze.y,width:ze.width,height:ze.height},onload:function(Jt){if(Rt==="center"){var qt={width:Jt.width,height:Jt.height};sr.setStyle(Z(ze,qt))}}});return sr}function Z(He,ze){var Rt=ze.width/ze.height,sr=He.height*Rt,Jt;sr<=He.width?Jt=He.height:(sr=He.width,Jt=sr/Rt);var qt=He.x+He.width/2,qr=He.y+He.height/2;return{x:qt-sr/2,y:qr-Jt/2,width:sr,height:Jt}}var J=m.mergePath;function ve(He,ze){if(!He.applyTransform)return;var Rt=He.getBoundingRect(),sr=Rt.calculateTransform(ze);He.applyTransform(sr)}function q(He){return T.subPixelOptimizeLine(He.shape,He.shape,He.style),He}function ce(He){return T.subPixelOptimizeRect(He.shape,He.shape,He.style),He}var be=T.subPixelOptimize;function Ce(He){return He!=null&&He!=="none"}var Fe=y.createHashMap(),fe=0;function Ne(He){if(typeof He!="string")return He;var ze=Fe.get(He);return ze||(ze=E.lift(He,-.1),fe<1e4&&(Fe.set(He,ze),fe++)),ze}function Q(He){if(!He.__hoverStlDirty)return;He.__hoverStlDirty=!1;var ze=He.__hoverStl;if(!ze){He.__cachedNormalStl=He.__cachedNormalZ2=null;return}var Rt=He.__cachedNormalStl={};He.__cachedNormalZ2=He.z2;var sr=He.style;for(var Jt in ze)ze[Jt]!=null&&(Rt[Jt]=sr[Jt]);Rt.fill=sr.fill,Rt.stroke=sr.stroke}function ae(He){var ze=He.__hoverStl;if(!ze||He.__highlighted)return;var Rt=He.__zr,sr=He.useHoverLayer&&Rt&&Rt.painter.type==="canvas";if(He.__highlighted=sr?"layer":"plain",He.isGroup||!Rt&&He.useHoverLayer)return;var Jt=He,qt=He.style;sr&&(Jt=Rt.addHover(He),qt=Jt.style),Vt(qt),sr||Q(Jt),qt.extendFrom(ze),Ue(qt,ze,"fill"),Ue(qt,ze,"stroke"),Ft(qt),sr||(He.dirty(!1),He.z2+=L)}function Ue(He,ze,Rt){!Ce(ze[Rt])&&Ce(He[Rt])&&(He[Rt]=Ne(He[Rt]))}function te(He){var ze=He.__highlighted;if(!ze)return;if(He.__highlighted=!1,He.isGroup)return;if(ze==="layer")He.__zr&&He.__zr.removeHover(He);else{var Rt=He.style,sr=He.__cachedNormalStl;sr&&(Vt(Rt),He.setStyle(sr),Ft(Rt));var Jt=He.__cachedNormalZ2;Jt!=null&&He.z2-Jt===L&&(He.z2=Jt)}}function X(He,ze,Rt){var sr=R,Jt=R,qt;He.__highlighted&&(sr=k,qt=!0),ze(He,Rt),He.__highlighted&&(Jt=k,qt=!0),He.isGroup&&He.traverse(function(qr){!qr.isGroup&&ze(qr,Rt)}),qt&&He.__highDownOnUpdate&&He.__highDownOnUpdate(sr,Jt)}function z(He,ze){ze=He.__hoverStl=ze!==!1&&(He.hoverStyle||ze||{}),He.__hoverStlDirty=!0,He.__highlighted&&(He.__cachedNormalStl=null,te(He),ae(He))}function Y(He){!Se(this,He)&&!this.__highByOuter&&X(this,ae)}function pe(He){!Se(this,He)&&!this.__highByOuter&&X(this,te)}function se(He){this.__highByOuter|=1<<(He||0),X(this,ae)}function Te(He){!(this.__highByOuter&=~(1<<(He||0)))&&X(this,te)}function Se(He,ze){return He.__highDownSilentOnTouch&&ze.zrByTouch}function ie(He,ze){de(He,!0),X(He,z,ze)}function de(He,ze){var Rt=ze===!1;if(He.__highDownSilentOnTouch=He.highDownSilentOnTouch,He.__highDownOnUpdate=He.highDownOnUpdate,!Rt||He.__highDownDispatcher){var sr=Rt?"off":"on";He[sr]("mouseover",Y)[sr]("mouseout",pe),He[sr]("emphasis",se)[sr]("normal",Te),He.__highByOuter=He.__highByOuter||0,He.__highDownDispatcher=!Rt}}function _e(He){return!!(He&&He.__highDownDispatcher)}function We(He){var ze=V[He];return ze==null&&j<=32&&(ze=V[He]=j++),ze}function at(He,ze,Rt,sr,Jt,qt,qr){Jt=Jt||I;var Fr=Jt.labelFetcher,mn=Jt.labelDataIndex,Tt=Jt.labelDimIndex,St=Jt.labelProp,Re=Rt.getShallow("show"),Ve=sr.getShallow("show"),Xe;(Re||Ve)&&(Fr&&(Xe=Fr.getFormattedLabel(mn,"normal",null,Tt,St)),Xe==null&&(Xe=y.isFunction(Jt.defaultText)?Jt.defaultText(mn,Jt):Jt.defaultText));var ct=Re?Xe:null,tr=Ve?y.retrieve2(Fr?Fr.getFormattedLabel(mn,"emphasis",null,Tt,St):null,Xe):null;(ct!=null||tr!=null)&&(Oe(He,Rt,qt,Jt),Oe(ze,sr,qr,Jt,!0)),He.text=ct,ze.text=tr}function tt(He,ze,Rt){var sr=He.style;ze&&(Vt(sr),He.setStyle(ze),Ft(sr)),sr=He.__hoverStl,Rt&&sr&&(Vt(sr),y.extend(sr,Rt),Ft(sr))}function Oe(He,ze,Rt,sr,Jt){return Ye(He,ze,sr,Jt),Rt&&y.extend(He,Rt),He}function yt(He,ze,Rt){var sr={isRectText:!0},Jt;Rt===!1?Jt=!0:sr.autoColor=Rt,Ye(He,ze,sr,Jt)}function Ye(He,ze,Rt,sr){if(Rt=Rt||I,Rt.isRectText){var Jt;Rt.getTextPosition?Jt=Rt.getTextPosition(ze,sr):(Jt=ze.getShallow("position")||(sr?null:"inside"),Jt==="outside"&&(Jt="top")),He.textPosition=Jt,He.textOffset=ze.getShallow("offset");var qt=ze.getShallow("rotate");qt!=null&&(qt*=Math.PI/180),He.textRotation=qt,He.textDistance=y.retrieve2(ze.getShallow("distance"),sr?null:5)}var qr=ze.ecModel,Fr=qr&&qr.option.textStyle,mn=bt(ze),Tt;if(mn){Tt={};for(var St in mn)if(mn.hasOwnProperty(St)){var Re=ze.getModel(["rich",St]);Ct(Tt[St]={},Re,Fr,Rt,sr)}}return He.rich=Tt,Ct(He,ze,Fr,Rt,sr,!0),Rt.forceRich&&!Rt.textStyle&&(Rt.textStyle={}),He}function bt(He){for(var ze;He&&He!==He.ecModel;){var Rt=(He.option||I).rich;if(Rt){ze=ze||{};for(var sr in Rt)Rt.hasOwnProperty(sr)&&(ze[sr]=1)}He=He.parentModel}return ze}function Ct(He,ze,Rt,sr,Jt,qt){Rt=!Jt&&Rt||I,He.textFill=It(ze.getShallow("color"),sr)||Rt.color,He.textStroke=It(ze.getShallow("textBorderColor"),sr)||Rt.textBorderColor,He.textStrokeWidth=y.retrieve2(ze.getShallow("textBorderWidth"),Rt.textBorderWidth),Jt||(qt&&(He.insideRollbackOpt=sr,Ft(He)),He.textFill==null&&(He.textFill=sr.autoColor)),He.fontStyle=ze.getShallow("fontStyle")||Rt.fontStyle,He.fontWeight=ze.getShallow("fontWeight")||Rt.fontWeight,He.fontSize=ze.getShallow("fontSize")||Rt.fontSize,He.fontFamily=ze.getShallow("fontFamily")||Rt.fontFamily,He.textAlign=ze.getShallow("align"),He.textVerticalAlign=ze.getShallow("verticalAlign")||ze.getShallow("baseline"),He.textLineHeight=ze.getShallow("lineHeight"),He.textWidth=ze.getShallow("width"),He.textHeight=ze.getShallow("height"),He.textTag=ze.getShallow("tag"),(!qt||!sr.disableBox)&&(He.textBackgroundColor=It(ze.getShallow("backgroundColor"),sr),He.textPadding=ze.getShallow("padding"),He.textBorderColor=It(ze.getShallow("borderColor"),sr),He.textBorderWidth=ze.getShallow("borderWidth"),He.textBorderRadius=ze.getShallow("borderRadius"),He.textBoxShadowColor=ze.getShallow("shadowColor"),He.textBoxShadowBlur=ze.getShallow("shadowBlur"),He.textBoxShadowOffsetX=ze.getShallow("shadowOffsetX"),He.textBoxShadowOffsetY=ze.getShallow("shadowOffsetY")),He.textShadowColor=ze.getShallow("textShadowColor")||Rt.textShadowColor,He.textShadowBlur=ze.getShallow("textShadowBlur")||Rt.textShadowBlur,He.textShadowOffsetX=ze.getShallow("textShadowOffsetX")||Rt.textShadowOffsetX,He.textShadowOffsetY=ze.getShallow("textShadowOffsetY")||Rt.textShadowOffsetY}function It(He,ze){return He!=="auto"?He:ze&&ze.autoColor?ze.autoColor:null}function Ft(He){var ze=He.textPosition,Rt=He.insideRollbackOpt,sr;if(Rt&&He.textFill==null){var Jt=Rt.autoColor,qt=Rt.isRectText,qr=Rt.useInsideStyle,Fr=qr!==!1&&(qr===!0||qt&&ze&&typeof ze=="string"&&ze.indexOf("inside")>=0),mn=!Fr&&Jt!=null;(Fr||mn)&&(sr={textFill:He.textFill,textStroke:He.textStroke,textStrokeWidth:He.textStrokeWidth}),Fr&&(He.textFill="#fff",He.textStroke==null&&(He.textStroke=Jt,He.textStrokeWidth==null&&(He.textStrokeWidth=2))),mn&&(He.textFill=Jt)}He.insideRollback=sr}function Vt(He){var ze=He.insideRollback;ze&&(He.textFill=ze.textFill,He.textStroke=ze.textStroke,He.textStrokeWidth=ze.textStrokeWidth,He.insideRollback=null)}function $e(He,ze){var Rt=ze&&ze.getModel("textStyle");return y.trim([He.fontStyle||Rt&&Rt.getShallow("fontStyle")||"",He.fontWeight||Rt&&Rt.getShallow("fontWeight")||"",(He.fontSize||Rt&&Rt.getShallow("fontSize")||12)+"px",He.fontFamily||Rt&&Rt.getShallow("fontFamily")||"sans-serif"].join(" "))}function ge(He,ze,Rt,sr,Jt,qt){typeof Jt=="function"&&(qt=Jt,Jt=null);var qr=sr&&sr.isAnimationEnabled();if(qr){var Fr=He?"Update":"",mn=sr.getShallow("animationDuration"+Fr),Tt=sr.getShallow("animationEasing"+Fr),St=sr.getShallow("animationDelay"+Fr);typeof St=="function"&&(St=St(Jt,sr.getAnimationDelayParams?sr.getAnimationDelayParams(ze,Jt):null)),typeof mn=="function"&&(mn=mn(Jt)),mn>0?ze.animateTo(Rt,mn,St||0,Tt,qt,!!qt):(ze.stopAnimation(),ze.attr(Rt),qt&&qt())}else ze.stopAnimation(),ze.attr(Rt),qt&&qt()}function ne(He,ze,Rt,sr,Jt){ge(!0,He,ze,Rt,sr,Jt)}function wt(He,ze,Rt,sr,Jt){ge(!1,He,ze,Rt,sr,Jt)}function qe(He,ze){for(var Rt=p.identity([]);He&&He!==ze;)p.mul(Rt,He.getLocalTransform(),Rt),He=He.parent;return Rt}function he(He,ze,Rt){return ze&&!y.isArrayLike(ze)&&(ze=d.getLocalTransform(ze)),Rt&&(ze=p.invert([],ze)),v.applyTransform([],He,ze)}function kt(He,ze,Rt){var sr=ze[4]===0||ze[5]===0||ze[0]===0?1:Math.abs(2*ze[4]/ze[0]),Jt=ze[4]===0||ze[5]===0||ze[2]===0?1:Math.abs(2*ze[4]/ze[2]),qt=[He==="left"?-sr:He==="right"?sr:0,He==="top"?-Jt:He==="bottom"?Jt:0];return qt=he(qt,ze,Rt),Math.abs(qt[0])>Math.abs(qt[1])?qt[0]>0?"right":"left":qt[1]>0?"bottom":"top"}function nr(He,ze,Rt,sr){if(!He||!ze)return;function Jt(Fr){var mn={};return Fr.traverse(function(Tt){!Tt.isGroup&&Tt.anid&&(mn[Tt.anid]=Tt)}),mn}function qt(Fr){var mn={position:v.clone(Fr.position),rotation:Fr.rotation};return Fr.shape&&(mn.shape=y.extend({},Fr.shape)),mn}var qr=Jt(He);ze.traverse(function(Fr){if(!Fr.isGroup&&Fr.anid){var mn=qr[Fr.anid];if(mn){var Tt=qt(Fr);Fr.attr(qt(mn)),ne(Fr,Tt,Rt,Fr.dataIndex)}}})}function lt(He,ze){return y.map(He,function(Rt){var sr=Rt[0];sr=x(sr,ze.x),sr=C(sr,ze.x+ze.width);var Jt=Rt[1];return Jt=x(Jt,ze.y),Jt=C(Jt,ze.y+ze.height),[sr,Jt]})}function Xt(He,ze){var Rt=x(He.x,ze.x),sr=C(He.x+He.width,ze.x+ze.width),Jt=x(He.y,ze.y),qt=C(He.y+He.height,ze.y+ze.height);if(sr>=Rt&&qt>=Jt)return{x:Rt,y:Jt,width:sr-Rt,height:qt-Jt}}function hr(He,ze,Rt){ze=y.extend({rectHover:!0},ze);var sr=ze.style={strokeNoScale:!0};if(Rt=Rt||{x:-1,y:-1,width:2,height:2},He)return He.indexOf("image://")===0?(sr.image=He.slice(8),y.defaults(sr,Rt),new l(ze)):G(He.replace("path://",""),ze,Rt,"center")}function Wr(He,ze,Rt,sr,Jt){for(var qt=0,qr=Jt[Jt.length-1];qt<Jt.length;qt++){var Fr=Jt[qt];if(mt(He,ze,Rt,sr,Fr[0],Fr[1],qr[0],qr[1]))return!0;qr=Fr}}function mt(He,ze,Rt,sr,Jt,qt,qr,Fr){var mn=Rt-He,Tt=sr-ze,St=qr-Jt,Re=Fr-qt,Ve=Et(St,Re,mn,Tt);if(rt(Ve))return!1;var Xe=He-Jt,ct=ze-qt,tr=Et(Xe,ct,mn,Tt)/Ve;if(tr<0||tr>1)return!1;var ir=Et(Xe,ct,St,Re)/Ve;return!(ir<0||ir>1)}function Et(He,ze,Rt,sr){return He*sr-Rt*ze}function rt(He){return He<=1e-6&&He>=-1e-6}K("circle",a),K("sector",o),K("ring",r),K("polygon",c),K("polyline",e),K("rect",s),K("line",u),K("bezierCurve",h),K("arc",g),N.Z2_EMPHASIS_LIFT=L,N.CACHED_LABEL_STYLE_PROPERTIES=M,N.extendShape=H,N.extendPath=P,N.registerShape=K,N.getShapeClass=U,N.makePath=G,N.makeImage=W,N.mergePath=J,N.resizePath=ve,N.subPixelOptimizeLine=q,N.subPixelOptimizeRect=ce,N.subPixelOptimize=be,N.setElementHoverStyle=z,N.setHoverStyle=ie,N.setAsHighDownDispatcher=de,N.isHighDownDispatcher=_e,N.getHighlightDigit=We,N.setLabelStyle=at,N.modifyLabelStyle=tt,N.setTextStyle=Oe,N.setText=yt,N.getFont=$e,N.updateProps=ne,N.initProps=wt,N.getTransform=qe,N.applyTransform=he,N.transformDirection=kt,N.groupTransition=nr,N.clipPointsByRect=lt,N.clipRectByRect=Xt,N.createIcon=hr,N.linePolygonIntersect=Wr,N.lineLineIntersect=mt},IyUQ:function(B,N,i){var y=i("bYtY"),m=i("YH21"),E=i("IwbS"),p=i("iLNv"),v=i("fc+c"),f=i("OELB"),d=i("+TT/"),l=i("72pK"),n=E.Rect,t=f.linearMap,a=f.asc,o=y.bind,r=y.each,c=7,e=1,s=30,u="horizontal",h="vertical",g=5,A=["line","bar","candlestick","scatter"],w=v.extend({type:"dataZoom.slider",init:function(T,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(T,x,C,I){if(w.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=T.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),p.clear(this,"_dispatchZoomAction")},dispose:function(){w.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var T=this.group;T.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new E.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),T.add(x),this._positionGroup()},_resetLocation:function(){var T=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-c,width:C.width,height:s}:{right:c,top:C.y,width:s,height:C.height},M=d.getLayoutParams(T.option);y.each(["right","top","width","height"],function(R){M[R]==="ph"&&(M[R]=L[R])});var k=d.getLayoutRect(M,I,T.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var T=this.group,x=this._location,C=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),M=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;M.attr(C===u&&!L?{scale:k?[1,1]:[1,-1]}:C===u&&L?{scale:k?[-1,1]:[-1,-1]}:C===h&&!L?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var R=T.getBoundingRect([M]);T.attr("position",[x.x-R.x,x.y-R.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var T=this.dataZoomModel,x=this._size,C=this._displayables.barGroup;C.add(new n({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:T.get("backgroundColor")},z2:-40})),C.add(new n({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 T=this._dataShadowInfo=this._prepareDataShadowInfo();if(!T)return;var x=this._size,C=T.series,I=C.getRawData(),L=C.getShadowDim?C.getShadowDim():T.otherDim;if(L==null)return;var M=I.getDataExtent(L),k=(M[1]-M[0])*.3;M=[M[0]-k,M[1]+k];var R=[0,x[1]],j=[0,x[0]],V=[[x[0],0],[0,0]],D=[],H=j[1]/(I.count()-1),P=0,K=Math.round(I.count()/x[0]),U;I.each([L],function(W,Z){if(K>0&&Z%K){P+=H;return}var J=W==null||isNaN(W)||W==="",ve=J?0:t(W,M,R,!0);J&&!U&&Z?(V.push([V[V.length-1][0],0]),D.push([D[D.length-1][0],0])):!J&&U&&(V.push([P,0]),D.push([P,0])),V.push([P,ve]),D.push([P,ve]),P+=H,U=J});var G=this.dataZoomModel;this._displayables.barGroup.add(new E.Polygon({shape:{points:V},style:y.defaults({fill:G.get("dataBackgroundColor")},G.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new E.Polyline({shape:{points:D},style:G.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var T=this.dataZoomModel,x=T.get("showDataShadow");if(x===!1)return;var C,I=this.ecModel;return T.eachTargetAxis(function(L,M){var k=T.getAxisProxy(L.name,M).getTargetSeriesModels();y.each(k,function(R){if(C)return;if(x!==!0&&y.indexOf(A,R.get("type"))<0)return;var j=I.getComponent(L.axis,M).axis,V=b(L.name),D,H=R.coordinateSystem;V!=null&&H.getOtherAxis&&(D=H.getOtherAxis(j).inverse),V=R.getData().mapDimension(V),C={thisAxis:j,series:R,thisDim:L.name,otherDim:V,otherAxisInverse:D}},this)},this),C},_renderHandle:function(){var T=this._displayables,x=T.handles=[],C=T.handleLabels=[],I=this._displayables.barGroup,L=this._size,M=this.dataZoomModel;I.add(T.filler=new n({draggable:!0,cursor:S(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:M.get("fillerColor"),textPosition:"inside"}})),I.add(new n({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),r([0,1],function(k){var R=E.createIcon(M.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:o(this._onDragMove,this,k),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}),j=R.getBoundingRect();this._handleHeight=f.parsePercent(M.get("handleSize"),this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,R.setStyle(M.getModel("handleStyle").getItemStyle());var V=M.get("handleColor");V!=null&&(R.style.fill=V),I.add(x[k]=R);var D=M.textStyleModel;this.group.add(C[k]=new E.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:D.getTextColor(),textFont:D.getFont()},z2:10}))},this)},_resetInterval:function(){var T=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[t(T[0],[0,100],x,!0),t(T[1],[0,100],x,!0)]},_updateInterval:function(T,x){var C=this.dataZoomModel,I=this._handleEnds,L=this._getViewExtent(),M=C.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];l(x,I,L,C.get("zoomLock")?"all":T,M.minSpan!=null?t(M.minSpan,k,L,!0):null,M.maxSpan!=null?t(M.maxSpan,k,L,!0):null);var R=this._range,j=this._range=a([t(I[0],L,k,!0),t(I[1],L,k,!0)]);return!R||R[0]!==j[0]||R[1]!==j[1]},_updateView:function(T){var x=this._displayables,C=this._handleEnds,I=a(C.slice()),L=this._size;r([0,1],function(M){var k=x.handles[M],R=this._handleHeight;k.attr({scale:[R/2,R/2],position:[C[M],L[1]/2-R/2]})},this),x.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:L[1]}),this._updateDataInfo(T)},_updateDataInfo:function(T){var x=this.dataZoomModel,C=this._displayables,I=C.handleLabels,L=this._orient,M=["",""];if(x.get("showDetail")){var k=x.findRepresentativeAxisProxy();if(k){var R=k.getAxisModel().axis,j=this._range,V=T?k.calculateDataWindow({start:j[0],end:j[1]}).valueWindow:k.getDataValueWindow();M=[this._formatLabel(V[0],R),this._formatLabel(V[1],R)]}}var D=a(this._handleEnds.slice());H.call(this,0),H.call(this,1);function H(P){var K=E.getTransform(C.handles[P].parent,this.group),U=E.transformDirection(P===0?"right":"left",K),G=this._handleWidth/2+g,W=E.applyTransform([D[P]+(P===0?-G:G),this._size[1]/2],K);I[P].setStyle({x:W[0],y:W[1],textVerticalAlign:L===u?"middle":U,textAlign:L===u?U:"center",text:M[P]})}},_formatLabel:function(T,x){var C=this.dataZoomModel,I=C.get("labelFormatter"),L=C.get("labelPrecision");(L==null||L==="auto")&&(L=x.getPixelPrecision());var M=T==null||isNaN(T)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(T)):T.toFixed(Math.min(L,20));return y.isFunction(I)?I(T,M):y.isString(I)?I.replace("{value}",M):M},_showDataInfo:function(T){T=this._dragging||T;var x=this._displayables.handleLabels;x[0].attr("invisible",!T),x[1].attr("invisible",!T)},_onDragMove:function(T,x,C,I){this._dragging=!0,m.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),M=E.applyTransform([x,C],L,!0),k=this._updateInterval(T,M[0]),R=this.dataZoomModel.get("realtime");this._updateView(!R),k&&R&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var T=this.dataZoomModel.get("realtime");!T&&this._dispatchZoomAction()},_onClickPanelClick:function(T){var x=this._size,C=this._displayables.barGroup.transformCoordToLocal(T.offsetX,T.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,M=this._updateInterval("all",C[0]-L);this._updateView(),M&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var T=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:T[0],end:T[1]})},_findCoordRect:function(){var T;if(r(this.getTargetCoordInfo(),function(I){if(!T&&I.length){var L=I[0].model.coordinateSystem;T=L.getRect&&L.getRect()}}),!T){var x=this.api.getWidth(),C=this.api.getHeight();T={x:x*.2,y:C*.2,width:x*.6,height:C*.6}}return T}});function b(T){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[T]}function S(T){return T==="vertical"?"ns-resize":"ew-resize"}var _=w;B.exports=_},IzEo:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("lnY3"),p=i.n(E),v=i("Znn+"),f=i("14J3"),d=i("jCWc")},J66h:function(B,N,i){(function(y){var m,E;(function(p,v){B.exports=v(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof y!="undefined"?y:this,function(p){"use strict";p=p||{};var v=p.Base64,f="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(R){for(var j={},V=0,D=R.length;V<D;V++)j[R.charAt(V)]=V;return j}(d),n=String.fromCharCode,t=function(j){if(j.length<2){var V=j.charCodeAt(0);return V<128?j:V<2048?n(192|V>>>6)+n(128|V&63):n(224|V>>>12&15)+n(128|V>>>6&63)+n(128|V&63)}else{var V=65536+(j.charCodeAt(0)-55296)*1024+(j.charCodeAt(1)-56320);return n(240|V>>>18&7)+n(128|V>>>12&63)+n(128|V>>>6&63)+n(128|V&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,o=function(j){return j.replace(a,t)},r=function(j){var V=[0,2,1][j.length%3],D=j.charCodeAt(0)<<16|(j.length>1?j.charCodeAt(1):0)<<8|(j.length>2?j.charCodeAt(2):0),H=[d.charAt(D>>>18),d.charAt(D>>>12&63),V>=2?"=":d.charAt(D>>>6&63),V>=1?"=":d.charAt(D&63)];return H.join("")},c=p.btoa&&typeof p.btoa=="function"?function(R){return p.btoa(R)}:function(R){if(R.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return R.replace(/[\s\S]{1,3}/g,r)},e=function(j){return c(o(String(j)))},s=function(j){return j.replace(/[+\/]/g,function(V){return V=="+"?"-":"_"}).replace(/=/g,"")},u=function(j,V){return V?s(e(j)):e(j)},h=function(j){return u(j,!0)},g;p.Uint8Array&&(g=function(j,V){for(var D="",H=0,P=j.length;H<P;H+=3){var K=j[H],U=j[H+1],G=j[H+2],W=K<<16|U<<8|G;D+=d.charAt(W>>>18)+d.charAt(W>>>12&63)+(typeof U!="undefined"?d.charAt(W>>>6&63):"=")+(typeof G!="undefined"?d.charAt(W&63):"=")}return V?s(D):D});var A=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(j){switch(j.length){case 4:var V=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),D=V-65536;return n((D>>>10)+55296)+n((D&1023)+56320);case 3:return n((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return n((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},b=function(j){return j.replace(A,w)},S=function(j){var V=j.length,D=V%4,H=(V>0?l[j.charAt(0)]<<18:0)|(V>1?l[j.charAt(1)]<<12:0)|(V>2?l[j.charAt(2)]<<6:0)|(V>3?l[j.charAt(3)]:0),P=[n(H>>>16),n(H>>>8&255),n(H&255)];return P.length-=[0,0,2,1][D],P.join("")},_=p.atob&&typeof p.atob=="function"?function(R){return p.atob(R)}:function(R){return R.replace(/\S{1,4}/g,S)},T=function(j){return _(String(j).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(j){return b(_(j))},C=function(j){return String(j).replace(/[-_]/g,function(V){return V=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(j){return x(C(j))},L;p.Uint8Array&&(L=function(j){return Uint8Array.from(T(C(j)),function(V){return V.charCodeAt(0)})});var M=function(){var j=p.Base64;return p.Base64=v,j};if(p.Base64={VERSION:f,atob:T,btoa:c,fromBase64:I,toBase64:u,utob:o,encode:u,encodeURI:h,btou:b,decode:I,noConflict:M,fromUint8Array:g,toUint8Array:L},typeof Object.defineProperty=="function"){var k=function(j){return{value:j,enumerable:!1,writable:!0,configurable:!0}};p.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(R){return u(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),B.exports?B.exports.Base64=p.Base64:!(m=[],E=function(){return p.Base64}.apply(N,m),E!==void 0&&(B.exports=E)),{Base64:p.Base64}})}).call(this,i("yLpj"))},JEkh:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("ItGF"),f=i("4NO4"),d=i("7aKB"),l=i("OKJ2"),n=d.addCommas,t=d.encodeHTML;function a(c){f.defaultEmphasis(c,"label",["show"])}var o=E.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(c,e,s){this.mergeDefaultAndTheme(c,s),this._mergeOption(c,s,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var c=this.__hostSeries;return this.getShallow("animation")&&c&&c.isAnimationEnabled()},mergeOption:function(c,e){this._mergeOption(c,e,!1,!1)},_mergeOption:function(c,e,s,u){var h=this.constructor,g=this.mainType+"Model";s||e.eachSeries(function(A){var w=A.get(this.mainType,!0),b=A[g];if(!w||!w.data){A[g]=null;return}b?b._mergeOption(w,e,!0):(u&&a(w),p.each(w.data,function(S){S instanceof Array?(a(S[0]),a(S[1])):a(S)}),b=new h(w,this,e),p.extend(b,{mainType:this.mainType,seriesIndex:A.seriesIndex,name:A.name,createdBySelf:!0}),b.__hostSeries=A),A[g]=b},this)},formatTooltip:function(c){var e=this.getData(),s=this.getRawValue(c),u=p.isArray(s)?p.map(s,n).join(", "):n(s),h=e.getName(c),g=t(this.name);return(s!=null||h)&&(g+="<br />"),h&&(g+=t(h),s!=null&&(g+=" : ")),s!=null&&(g+=t(u)),g},getData:function(){return this._data},setData:function(c){this._data=c}});p.mixin(o,l);var r=o;B.exports=r},JGo8:function(B,N,i){},JLnu:function(B,N,i){var y=i("+TT/"),m=i("OELB"),E=m.parsePercent,p=m.linearMap;function v(n,t){return y.getLayoutRect(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function f(n,t){for(var a=n.mapDimension("value"),o=n.mapArray(a,function(u){return u}),r=[],c=t==="ascending",e=0,s=n.count();e<s;e++)r[e]=e;return typeof t=="function"?r.sort(t):t!=="none"&&r.sort(function(u,h){return c?o[u]-o[h]:o[h]-o[u]}),r}function d(n){n.each(function(t){var a=n.getItemModel(t),o=a.getModel("label"),r=o.get("position"),c=a.getModel("labelLine"),e=n.getItemLayout(t),s=e.points,u=r==="inner"||r==="inside"||r==="center"||r==="insideLeft"||r==="insideRight",h,g,A,w;if(u)r==="insideLeft"?(g=(s[0][0]+s[3][0])/2+5,A=(s[0][1]+s[3][1])/2,h="left"):r==="insideRight"?(g=(s[1][0]+s[2][0])/2-5,A=(s[1][1]+s[2][1])/2,h="right"):(g=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,A=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,h="center"),w=[[g,A],[g,A]];else{var b,S,_,T=c.get("length");r==="left"?(b=(s[3][0]+s[0][0])/2,S=(s[3][1]+s[0][1])/2,_=b-T,g=_-5,h="right"):r==="right"?(b=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,_=b+T,g=_+5,h="left"):r==="rightTop"?(b=s[1][0],S=s[1][1],_=b+T,g=_+5,h="top"):r==="rightBottom"?(b=s[2][0],S=s[2][1],_=b+T,g=_+5,h="bottom"):r==="leftTop"?(b=s[0][0],S=s[1][1],_=b-T,g=_-5,h="right"):r==="leftBottom"?(b=s[3][0],S=s[2][1],_=b-T,g=_-5,h="right"):(b=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,_=b+T,g=_+5,h="left");var x=S;w=[[b,S],[_,x]],A=x}e.label={linePoints:w,x:g,y:A,verticalAlign:"middle",textAlign:h,inside:u}})}function l(n,t,a){n.eachSeriesByType("funnel",function(o){var r=o.getData(),c=r.mapDimension("value"),e=o.get("sort"),s=v(o,t),u=f(r,e),h=[E(o.get("minSize"),s.width),E(o.get("maxSize"),s.width)],g=r.getDataExtent(c),A=o.get("min"),w=o.get("max");A==null&&(A=Math.min(g[0],0)),w==null&&(w=g[1]);var b=o.get("funnelAlign"),S=o.get("gap"),_=(s.height-S*(r.count()-1))/r.count(),T=s.y,x=function(V,D){var H=r.get(c,V)||0,P=p(H,[A,w],h,!0),K;switch(b){case"left":K=s.x;break;case"center":K=s.x+(s.width-P)/2;break;case"right":K=s.x+s.width-P;break}return[[K,D],[K+P,D]]};e==="ascending"&&(_=-_,S=-S,T+=s.height,u=u.reverse());for(var C=0;C<u.length;C++){var I=u[C],L=u[C+1],M=r.getItemModel(I),k=M.get("itemStyle.height");k==null?k=_:(k=E(k,s.height),e==="ascending"&&(k=-k));var R=x(I,T),j=x(L,T+k);T+=k+S,r.setItemLayout(I,{points:R.concat(j.slice().reverse())})}d(r)})}B.exports=l},JSwD:function(B,N,i){"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 m=p(i("6BzB"));function E(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return E=function(){return s},s}function p(s){if(s&&s.__esModule)return s;if(s===null||y(s)!=="object"&&typeof s!="function")return{default:s};var u=E();if(u&&u.has(s))return u.get(s);var h={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in s)if(Object.prototype.hasOwnProperty.call(s,A)){var w=g?Object.getOwnPropertyDescriptor(s,A):null;w&&(w.get||w.set)?Object.defineProperty(h,A,w):h[A]=s[A]}return h.default=s,u&&u.set(s,h),h}var v=15,f=852,d=592,l=0,n=1,t=2,a=[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],c=[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,g,A,w,b,S){var _=S.bits,T=0,x=0,C=0,I=0,L=0,M=0,k=0,R=0,j=0,V=0,D,H,P,K,U,G=null,W=0,Z,J=new m.Buf16(v+1),ve=new m.Buf16(v+1),q=null,ce=0,be,Ce,Fe;for(T=0;T<=v;T++)J[T]=0;for(x=0;x<g;x++)J[u[h+x]]++;for(L=_,I=v;I>=1&&!(J[I]!==0);I--);if(L>I&&(L=I),I===0)return A[w++]=1<<24|64<<16|0,A[w++]=1<<24|64<<16|0,S.bits=1,0;for(C=1;C<I&&!(J[C]!==0);C++);for(L<C&&(L=C),R=1,T=1;T<=v;T++)if(R<<=1,R-=J[T],R<0)return-1;if(R>0&&(s===l||I!==1))return-1;for(ve[1]=0,T=1;T<v;T++)ve[T+1]=ve[T]+J[T];for(x=0;x<g;x++)u[h+x]!==0&&(b[ve[u[h+x]]++]=x);if(s===l?(G=q=b,Z=19):s===n?(G=a,W-=257,q=o,ce-=257,Z=256):(G=r,q=c,Z=-1),V=0,x=0,T=C,U=w,M=L,k=0,P=-1,j=1<<L,K=j-1,s===n&&j>f||s===t&&j>d)return 1;for(;;){be=T-k,b[x]<Z?(Ce=0,Fe=b[x]):b[x]>Z?(Ce=q[ce+b[x]],Fe=G[W+b[x]]):(Ce=32+64,Fe=0),D=1<<T-k,H=1<<M,C=H;do H-=D,A[U+(V>>k)+H]=be<<24|Ce<<16|Fe|0;while(H!==0);for(D=1<<T-1;V&D;)D>>=1;if(D!==0?(V&=D-1,V+=D):V=0,x++,--J[T]===0){if(T===I)break;T=u[h+b[x]]}if(T>L&&(V&K)!==P){for(k===0&&(k=L),U+=C,M=T-k,R=1<<M;M+k<I&&!(R-=J[M+k],R<=0);)M++,R<<=1;if(j+=1<<M,s===n&&j>f||s===t&&j>d)return 1;P=V&K,A[P]=L<<24|M<<16|U-w|0}}return V!==0&&(A[U+V]=T-k<<24|64<<16|0),S.bits=L,0}},JVwQ:function(B,N,i){var y=i("ProS"),m=i("1NG9"),E=m.Polygon,p=i("IwbS"),v=i("bYtY"),f=v.bind,d=v.extend,l=i("gPAo"),n=y.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,o,r){var c=a.getData(),e=this.group,s=a.getLayerSeries(),u=c.getLayout("layoutInfo"),h=u.rect,g=u.boundaryGap;e.attr("position",[0,h.y+g[0]]);function A(_){return _.name}var w=new l(this._layersSeries||[],s,A,A),b={};w.add(f(S,this,"add")).update(f(S,this,"update")).remove(f(S,this,"remove")).execute();function S(_,T,x){var C=this._layers;if(_==="remove"){e.remove(C[T]);return}for(var I=[],L=[],M,k=s[T].indices,R=0;R<k.length;R++){var j=c.getItemLayout(k[R]),V=j.x,D=j.y0,H=j.y;I.push([V,D]),L.push([V,D+H]),M=c.getItemVisual(k[R],"color")}var P,K,U=c.getItemLayout(k[0]),G=c.getItemModel(k[R-1]),W=G.getModel("label"),Z=W.get("margin");if(_==="add"){var J=b[T]=new p.Group;P=new E({shape:{points:I,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),K=new p.Text({style:{x:U.x-Z,y:U.y0+U.y/2}}),J.add(P),J.add(K),e.add(J),P.setClipPath(t(P.getBoundingRect(),a,function(){P.removeClipPath()}))}else{var J=C[x];P=J.childAt(0),K=J.childAt(1),e.add(J),b[T]=J,p.updateProps(P,{shape:{points:I,stackedOnPoints:L}},a),p.updateProps(K,{style:{x:U.x-Z,y:U.y0+U.y/2}},a)}var ve=G.getModel("emphasis.itemStyle"),q=G.getModel("itemStyle");p.setTextStyle(K.style,W,{text:W.get("show")?a.getFormattedLabel(k[R-1],"normal")||c.getName(k[R-1]):null,textVerticalAlign:"middle"}),P.setStyle(d({fill:M},q.getItemStyle(["color"]))),p.setHoverStyle(P,ve.getItemStyle())}this._layersSeries=s,this._layers=b},dispose:function(){}});function t(a,o,r){var c=new p.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return p.initProps(c,{shape:{width:a.width+20,height:a.height+20}},o,r),c}B.exports=n},JgUQ:function(B,N,i){"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(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("PJYZ"),t=i.n(n),a=i("7W2i"),o=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),s=i("i8i4"),u=i("TSYQ"),h=i.n(u),g=i("zT1h"),A=i("cDf5"),w=i.n(A),b=i("BGR+"),S=i("t23M"),_=i("H84U"),T=i("PEeC");function x(fe){return fe!==window?fe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(fe,Ne,Q){return Q!==void 0&&Ne.top>fe.top-Q?Q+Ne.top:void 0}function I(fe,Ne,Q){if(Q!==void 0&&Ne.bottom<fe.bottom+Q){var ae=window.innerHeight-Ne.bottom;return Q+ae}return}var L=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],M=[];function k(){return M}function R(fe,Ne){if(!fe)return;var Q=M.find(function(ae){return ae.target===fe});Q?Q.affixList.push(Ne):(Q={target:fe,affixList:[Ne],eventHandlers:{}},M.push(Q),L.forEach(function(ae){Q.eventHandlers[ae]=Object(g.a)(fe,ae,function(){Q.affixList.forEach(function(Ue){Ue.lazyUpdatePosition()})})}))}function j(fe){var Ne=M.find(function(Q){var ae=Q.affixList.some(function(Ue){return Ue===fe});return ae&&(Q.affixList=Q.affixList.filter(function(Ue){return Ue!==fe})),ae});Ne&&Ne.affixList.length===0&&(M=M.filter(function(Q){return Q!==Ne}),L.forEach(function(Q){var ae=Ne.eventHandlers[Q];ae&&ae.remove&&ae.remove()}))}var V=function(fe,Ne,Q,ae){var Ue=arguments.length,te=Ue<3?Ne:ae===null?ae=Object.getOwnPropertyDescriptor(Ne,Q):ae,X;if((typeof Reflect=="undefined"?"undefined":w()(Reflect))==="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(fe,Ne,Q,ae);else for(var z=fe.length-1;z>=0;z--)(X=fe[z])&&(te=(Ue<3?X(te):Ue>3?X(Ne,Q,te):X(Ne,Q))||te);return Ue>3&&te&&Object.defineProperty(Ne,Q,te),te};function D(){return typeof window!="undefined"?window:null}var H;(function(fe){fe[fe.None=0]="None",fe[fe.Prepare=1]="Prepare"})(H||(H={}));var P=function(fe){o()(Q,fe);var Ne=c()(Q);function Q(){var ae;return f()(this,Q),ae=Ne.apply(this,arguments),ae.state={status:H.None,lastAffix:!1,prevTarget:null},ae.getOffsetTop=function(){var Ue=ae.props.offsetBottom,te=ae.props.offsetTop;return Ue===void 0&&te===void 0&&(te=0),te},ae.getOffsetBottom=function(){return ae.props.offsetBottom},ae.savePlaceholderNode=function(Ue){ae.placeholderNode=Ue},ae.saveFixedNode=function(Ue){ae.fixedNode=Ue},ae.measure=function(){var Ue=ae.state,te=Ue.status,X=Ue.lastAffix,z=ae.props.onChange,Y=ae.getTargetFunc();if(te!==H.Prepare||!ae.fixedNode||!ae.placeholderNode||!Y)return;var pe=ae.getOffsetTop(),se=ae.getOffsetBottom(),Te=Y();if(!Te)return;var Se={status:H.None},ie=x(Te),de=x(ae.placeholderNode),_e=C(de,ie,pe),We=I(de,ie,se);_e!==void 0?(Se.affixStyle={position:"fixed",top:_e,width:de.width,height:de.height},Se.placeholderStyle={width:de.width,height:de.height}):We!==void 0&&(Se.affixStyle={position:"fixed",bottom:We,width:de.width,height:de.height},Se.placeholderStyle={width:de.width,height:de.height}),Se.lastAffix=!!Se.affixStyle,z&&X!==Se.lastAffix&&z(Se.lastAffix),ae.setState(Se)},ae.prepareMeasure=function(){if(ae.setState({status:H.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ue},ae.render=function(){var Ue=ae.context.getPrefixCls,te=ae.state,X=te.affixStyle,z=te.placeholderStyle,Y=ae.props,pe=Y.prefixCls,se=Y.children,Te=h()(p()({},Ue("affix",pe),X)),Se=Object(b.default)(ae.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(S.a,{onResize:function(){ae.updatePosition()}},e.createElement("div",m()({},Se,{ref:ae.savePlaceholderNode}),X&&e.createElement("div",{style:z,"aria-hidden":"true"}),e.createElement("div",{className:Te,ref:ae.saveFixedNode,style:X},e.createElement(S.a,{onResize:function(){ae.updatePosition()}},se))))},ae}return l()(Q,[{key:"getTargetFunc",value:function(){var Ue=this.context.getTargetContainer,te=this.props.target;return te!==void 0?te:Ue||D}},{key:"componentDidMount",value:function(){var Ue=this,te=this.getTargetFunc();te&&(this.timeout=setTimeout(function(){R(te(),Ue),Ue.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ue){var te=this.state.prevTarget,X=this.getTargetFunc(),z=null;X&&(z=X()||null),te!==z&&(j(this),z&&(R(z,this),this.updatePosition()),this.setState({prevTarget:z})),(Ue.offsetTop!==this.props.offsetTop||Ue.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),j(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ue=this.getTargetFunc(),te=this.state.affixStyle;if(Ue&&te){var X=this.getOffsetTop(),z=this.getOffsetBottom(),Y=Ue();if(Y&&this.placeholderNode){var pe=x(Y),se=x(this.placeholderNode),Te=C(se,pe,X),Se=I(se,pe,z);if(Te!==void 0&&te.top===Te||Se!==void 0&&te.bottom===Se)return}}this.prepareMeasure()}}]),Q}(e.Component);P.contextType=_.b,V([Object(T.b)()],P.prototype,"updatePosition",null),V([Object(T.b)()],P.prototype,"lazyUpdatePosition",null);var K=P,U=i("zAh6"),G=i("i6bk"),W=e.createContext(null),Z=W;function J(){return window}function ve(fe,Ne){if(!fe.getClientRects().length)return 0;var Q=fe.getBoundingClientRect();return Q.width||Q.height?Ne===window?(Ne=fe.ownerDocument.documentElement,Q.top-Ne.clientTop):Q.top-Ne.getBoundingClientRect().top:Q.top}var q=/#(\S+)$/,ce=function(fe){o()(Q,fe);var Ne=c()(Q);function Q(){var ae;return f()(this,Q),ae=Ne.apply(this,arguments),ae.state={activeLink:null},ae.links=[],ae.registerLink=function(Ue){ae.links.includes(Ue)||ae.links.push(Ue)},ae.unregisterLink=function(Ue){var te=ae.links.indexOf(Ue);te!==-1&&ae.links.splice(te,1)},ae.getContainer=function(){var Ue=ae.context.getTargetContainer,te=ae.props.getContainer,X=te||Ue||J;return X()},ae.handleScrollTo=function(Ue){var te=ae.props,X=te.offsetTop,z=te.targetOffset;ae.setCurrentActiveLink(Ue);var Y=ae.getContainer(),pe=Object(G.a)(Y,!0),se=q.exec(Ue);if(!se)return;var Te=document.getElementById(se[1]);if(!Te)return;var Se=ve(Te,Y),ie=pe+Se;ie-=z!==void 0?z:X||0,ae.animating=!0,Object(U.a)(ie,{callback:function(){ae.animating=!1},getContainer:ae.getContainer})},ae.saveInkNode=function(Ue){ae.inkNode=Ue},ae.setCurrentActiveLink=function(Ue){var te=ae.state.activeLink,X=ae.props.onChange;te!==Ue&&(ae.setState({activeLink:Ue}),X&&X(Ue))},ae.handleScroll=function(){if(ae.animating)return;var Ue=ae.props,te=Ue.offsetTop,X=Ue.bounds,z=Ue.targetOffset,Y=ae.getCurrentAnchor(z!==void 0?z:te||0,X);ae.setCurrentActiveLink(Y)},ae.updateInk=function(){var Ue=t()(ae),te=Ue.prefixCls,X=s.findDOMNode(t()(ae)),z=X.getElementsByClassName("".concat(te,"-link-title-active"))[0];z&&(ae.inkNode.style.top="".concat(z.offsetTop+z.clientHeight/2-4.5,"px"))},ae.render=function(){var Ue=ae.context,te=Ue.getPrefixCls,X=Ue.direction,z=ae.props,Y=z.prefixCls,pe=z.className,se=pe===void 0?"":pe,Te=z.style,Se=z.offsetTop,ie=z.affix,de=z.showInkInFixed,_e=z.children,We=ae.state.activeLink,at=te("anchor",Y);ae.prefixCls=at;var tt=h()("".concat(at,"-ink-ball"),{visible:We}),Oe=h()(se,"".concat(at,"-wrapper"),p()({},"".concat(at,"-rtl"),X==="rtl")),yt=h()(at,{fixed:!ie&&!de}),Ye=m()({maxHeight:Se?"calc(100vh - ".concat(Se,"px)"):"100vh"},Te),bt=e.createElement("div",{className:Oe,style:Ye},e.createElement("div",{className:yt},e.createElement("div",{className:"".concat(at,"-ink")},e.createElement("span",{className:tt,ref:ae.saveInkNode})),_e));return e.createElement(Z.Provider,{value:{registerLink:ae.registerLink,unregisterLink:ae.unregisterLink,activeLink:ae.state.activeLink,scrollTo:ae.handleScrollTo,onClick:ae.props.onClick}},ie?e.createElement(K,{offsetTop:Se,target:ae.getContainer},bt):bt)},ae}return l()(Q,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ue=this.getContainer();this.scrollContainer!==Ue&&(this.scrollContainer=Ue,this.scrollEvent.remove(),this.scrollEvent=Object(g.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,X=this.props.getCurrentAnchor;if(typeof X=="function")return X();var z=[],Y=this.getContainer();if(this.links.forEach(function(se){var Te=q.exec(se.toString());if(!Te)return;var Se=document.getElementById(Te[1]);if(Se){var ie=ve(Se,Y);ie<Ue+te&&z.push({link:se,top:ie})}}),z.length){var pe=z.reduce(function(se,Te){return Te.top>se.top?Te:se});return pe.link}return""}}]),Q}(e.Component);ce.defaultProps={affix:!0,showInkInFixed:!1},ce.contextType=_.b;var be=function(fe){o()(Q,fe);var Ne=c()(Q);function Q(){var ae;return f()(this,Q),ae=Ne.apply(this,arguments),ae.handleClick=function(Ue){var te=ae.context,X=te.scrollTo,z=te.onClick,Y=ae.props,pe=Y.href,se=Y.title;z&&z(Ue,{title:se,href:pe}),X(pe)},ae.renderAnchorLink=function(Ue){var te=Ue.getPrefixCls,X=ae.props,z=X.prefixCls,Y=X.href,pe=X.title,se=X.children,Te=X.className,Se=X.target,ie=te("anchor",z),de=ae.context.activeLink===Y,_e=h()(Te,"".concat(ie,"-link"),p()({},"".concat(ie,"-link-active"),de)),We=h()("".concat(ie,"-link-title"),p()({},"".concat(ie,"-link-title-active"),de));return e.createElement("div",{className:_e},e.createElement("a",{className:We,href:Y,title:typeof pe=="string"?pe:"",target:Se,onClick:ae.handleClick},pe),se)},ae}return l()(Q,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ue){var te=Ue.href,X=this.props.href;te!==X&&(this.context.unregisterLink(te),this.context.registerLink(X))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(_.a,null,this.renderAnchorLink)}}]),Q}(e.Component);be.defaultProps={href:"#"},be.contextType=Z;var Ce=be;ce.Link=Ce;var Fe=N.a=ce},JuEJ:function(B,N,i){var y=i("bYtY"),m=i("4NO4"),E=y.each,p=y.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function f(e){var s=e&&e.itemStyle;if(!s)return;for(var u=0,h=v.length;u<h;u++){var g=v[u],A=s.normal,w=s.emphasis;A&&A[g]&&(e[g]=e[g]||{},e[g].normal?y.merge(e[g].normal,A[g]):e[g].normal=A[g],A[g]=null),w&&w[g]&&(e[g]=e[g]||{},e[g].emphasis?y.merge(e[g].emphasis,w[g]):e[g].emphasis=w[g],w[g]=null)}}function d(e,s,u){if(e&&e[s]&&(e[s].normal||e[s].emphasis)){var h=e[s].normal,g=e[s].emphasis;h&&(u?(e[s].normal=e[s].emphasis=null,y.defaults(e[s],h)):e[s]=h),g&&(e.emphasis=e.emphasis||{},e.emphasis[s]=g)}}function l(e){d(e,"itemStyle"),d(e,"lineStyle"),d(e,"areaStyle"),d(e,"label"),d(e,"labelLine"),d(e,"upperLabel"),d(e,"edgeLabel")}function n(e,s){var u=p(e)&&e[s],h=p(u)&&u.textStyle;if(h)for(var g=0,A=m.TEXT_STYLE_OPTIONS.length;g<A;g++){var s=m.TEXT_STYLE_OPTIONS[g];h.hasOwnProperty(s)&&(u[s]=h[s])}}function t(e){e&&(l(e),n(e,"label"),e.emphasis&&n(e.emphasis,"label"))}function a(e){if(!p(e))return;f(e),l(e),n(e,"label"),n(e,"upperLabel"),n(e,"edgeLabel"),e.emphasis&&(n(e.emphasis,"label"),n(e.emphasis,"upperLabel"),n(e.emphasis,"edgeLabel"));var s=e.markPoint;s&&(f(s),t(s));var u=e.markLine;u&&(f(u),t(u));var h=e.markArea;h&&t(h);var g=e.data;if(e.type==="graph"){g=g||e.nodes;var A=e.links||e.edges;if(A&&!y.isTypedArray(A))for(var w=0;w<A.length;w++)t(A[w]);y.each(e.categories,function(_){l(_)})}if(g&&!y.isTypedArray(g))for(var w=0;w<g.length;w++)t(g[w]);var s=e.markPoint;if(s&&s.data)for(var b=s.data,w=0;w<b.length;w++)t(b[w]);var u=e.markLine;if(u&&u.data)for(var S=u.data,w=0;w<S.length;w++)y.isArray(S[w])?(t(S[w][0]),t(S[w][1])):t(S[w]);e.type==="gauge"?(n(e,"axisLabel"),n(e,"title"),n(e,"detail")):e.type==="treemap"?(d(e.breadcrumb,"itemStyle"),y.each(e.levels,function(_){l(_)})):e.type==="tree"&&l(e.leaves)}function o(e){return y.isArray(e)?e:e?[e]:[]}function r(e){return(y.isArray(e)?e[0]:e)||{}}function c(e,s){E(o(e.series),function(h){p(h)&&a(h)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),E(u,function(h){E(o(e[h]),function(g){g&&(n(g,"axisLabel"),n(g.axisPointer,"label"))})}),E(o(e.parallel),function(h){var g=h&&h.parallelAxisDefault;n(g,"axisLabel"),n(g&&g.axisPointer,"label")}),E(o(e.calendar),function(h){d(h,"itemStyle"),n(h,"dayLabel"),n(h,"monthLabel"),n(h,"yearLabel")}),E(o(e.radar),function(h){n(h,"name")}),E(o(e.geo),function(h){p(h)&&(t(h),E(o(h.regions),function(g){t(g)}))}),E(o(e.timeline),function(h){t(h),d(h,"label"),d(h,"itemStyle"),d(h,"controlStyle",!0);var g=h.data;y.isArray(g)&&y.each(g,function(A){y.isObject(A)&&(d(A,"label"),d(A,"itemStyle"))})}),E(o(e.toolbox),function(h){d(h,"iconStyle"),E(h.feature,function(g){d(g,"iconStyle")})}),n(r(e.axisPointer),"label"),n(r(e.tooltip).axisPointer,"label")}B.exports=c},K2GJ:function(B,N,i){var y=i("fW2E"),m=i("gut8"),E=m.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(r){this.extendFrom(r,!1)};function f(o,r,c){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*c.width+c.x,s=s*c.width+c.x,u=u*c.height+c.y,h=h*c.height+c.y),e=isNaN(e)?0:e,s=isNaN(s)?1:s,u=isNaN(u)?0:u,h=isNaN(h)?0:h;var g=o.createLinearGradient(e,u,s,h);return g}function d(o,r,c){var e=c.width,s=c.height,u=Math.min(e,s),h=r.x==null?.5:r.x,g=r.y==null?.5:r.y,A=r.r==null?.5:r.r;r.global||(h=h*e+c.x,g=g*s+c.y,A=A*u);var w=o.createRadialGradient(h,g,0,h,g,A);return w}v.prototype={constructor:v,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,c,e){var s=this,u=e&&e.style,h=!u||r.__attrCachedBy!==E.STYLE_BIND;r.__attrCachedBy=E.STYLE_BIND;for(var g=0;g<p.length;g++){var A=p[g],w=A[0];(h||s[w]!==u[w])&&(r[w]=y(r,w,s[w]||A[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&&c&&c.getLineScale?c.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,c){if(r)for(var e in r)r.hasOwnProperty(e)&&(c===!0||(c===!1?!this.hasOwnProperty(e):r[e]!=null))&&(this[e]=r[e])},set:function(r,c){typeof r=="string"?this[r]=c:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,c,e){for(var s=c.type==="radial"?d:f,u=s(r,c,e),h=c.colorStops,g=0;g<h.length;g++)u.addColorStop(h[g].offset,h[g].color);return u}};for(var l=v.prototype,n=0;n<p.length;n++){var t=p[n];t[0]in l||(l[t[0]]=t[1])}v.getGradient=l.getGradient;var a=v;B.exports=a},K4ya:function(B,N,i){var y=i("bYtY"),m=i("XxSj"),E=y.each;function p(n){if(n){for(var t in n)if(n.hasOwnProperty(t))return!0}}function v(n,t,a){var o={};return E(t,function(c){var e=o[c]=r();E(n[c],function(s,u){if(!m.isValidType(u))return;var h={type:u,visual:s};a&&a(h,c),e[u]=new m(h),u==="opacity"&&(h=y.clone(h),h.type="colorAlpha",e.__hidden.__alphaForOpacity=new m(h))})}),o;function r(){var c=function(){};c.prototype.__hidden=c.prototype;var e=new c;return e}}function f(n,t,a){var o;y.each(a,function(r){t.hasOwnProperty(r)&&p(t[r])&&(o=!0)}),o&&y.each(a,function(r){t.hasOwnProperty(r)&&p(t[r])?n[r]=y.clone(t[r]):delete n[r]})}function d(n,t,a,o,r,c){var e={};y.each(n,function(A){var w=m.prepareVisualTypes(t[A]);e[A]=w});var s;function u(A){return a.getItemVisual(s,A)}function h(A,w){a.setItemVisual(s,A,w)}c==null?a.each(g):a.each([c],g);function g(A,w){s=c==null?A:w;var b=a.getRawDataItem(s);if(b&&b.visualMap===!1)return;for(var S=o.call(r,A),_=t[S],T=e[S],x=0,C=T.length;x<C;x++){var I=T[x];_[I]&&_[I].applyVisual(A,u,h)}}}function l(n,t,a,o){var r={};y.each(n,function(e){var s=m.prepareVisualTypes(t[e]);r[e]=s});function c(e,s){o!=null&&(o=s.getDimension(o));function u(I){return s.getItemVisual(g,I)}function h(I,L){s.setItemVisual(g,I,L)}for(var g;(g=e.next())!=null;){var A=s.getRawDataItem(g);if(A&&A.visualMap===!1)continue;for(var w=o!=null?s.get(o,g,!0):g,b=a(w),S=t[b],_=r[b],T=0,x=_.length;T<x;T++){var C=_[T];S[C]&&S[C].applyVisual(w,u,h)}}}return{progress:c}}N.createVisualMappings=v,N.replaceVisualOption=f,N.applyVisual=d,N.incrementalApplyVisual=l},KCsZ:function(B,N,i){var y=i("bYtY");function m(E){for(var p=0;p<E.length;p++)E[p][1]||(E[p][1]=E[p][0]);return function(v,f,d){for(var l={},n=0;n<E.length;n++){var t=E[n][1];if(f&&y.indexOf(f,t)>=0||d&&y.indexOf(d,t)<0)continue;var a=v.getShallow(t);a!=null&&(l[E[n][0]]=a)}return l}}B.exports=m},KPFz:function(B,N,i){},KQeH:function(B,N,i){"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(B,N,i){var y=i("OELB"),m=y.parsePercent,E=y.linearMap,p=i("+TT/"),v=i("u3DP"),f=i("bYtY"),d=Math.PI*2,l=Math.PI/180;function n(a,o){return p.getLayoutRect(a.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function t(a,o,r,c){o.eachSeriesByType(a,function(e){var s=e.getData(),u=s.mapDimension("value"),h=n(e,r),g=e.get("center"),A=e.get("radius");f.isArray(A)||(A=[0,A]),f.isArray(g)||(g=[g,g]);var w=m(h.width,r.getWidth()),b=m(h.height,r.getHeight()),S=Math.min(w,b),_=m(g[0],w)+h.x,T=m(g[1],b)+h.y,x=m(A[0],S/2),C=m(A[1],S/2),I=-e.get("startAngle")*l,L=e.get("minAngle")*l,M=0;s.each(u,function(Z){!isNaN(Z)&&M++});var k=s.getSum(u),R=Math.PI/(k||M)*2,j=e.get("clockwise"),V=e.get("roseType"),D=e.get("stillShowZeroSum"),H=s.getDataExtent(u);H[0]=0;var P=d,K=0,U=I,G=j?1:-1;if(s.each(u,function(Z,J){var ve;if(isNaN(Z)){s.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:j,cx:_,cy:T,r0:x,r:V?NaN:C,viewRect:h});return}V!=="area"?ve=k===0&&D?R:Z*R:ve=d/M,ve<L?(ve=L,P-=L):K+=Z;var q=U+G*ve;s.setItemLayout(J,{angle:ve,startAngle:U,endAngle:q,clockwise:j,cx:_,cy:T,r0:x,r:V?E(Z,H,[x,C]):C,viewRect:h}),U=q}),P<d&&M)if(P<=.001){var W=d/M;s.each(u,function(Z,J){if(!isNaN(Z)){var ve=s.getItemLayout(J);ve.angle=W,ve.startAngle=I+G*J*W,ve.endAngle=I+G*(J+1)*W}})}else R=P/K,U=I,s.each(u,function(Z,J){if(!isNaN(Z)){var ve=s.getItemLayout(J),q=ve.angle===L?L:Z*R;ve.startAngle=U,ve.endAngle=U+G*q,U+=G*q}});v(e,C,h.width,h.height,h.x,h.y)})}B.exports=t},KUOm:function(B,N){function i(y){var m={};y.eachSeriesByType("graph",function(E){var p=E.getCategoriesData(),v=E.getData(),f={};p.each(function(d){var l=p.getName(d);f["ec-"+l]=d;var n=p.getItemModel(d),t=n.get("itemStyle.color")||E.getColorFromPalette(l,m);p.setItemVisual(d,"color",t);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<a.length;o++){var r=n.getShallow(a[o],!0);r!=null&&p.setItemVisual(d,a[o],r)}}),p.count()&&v.each(function(d){var l=v.getItemModel(d),n=l.getShallow("category");if(n!=null){typeof n=="string"&&(n=f["ec-"+n]);for(var t=["color","opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<t.length;a++)v.getItemVisual(d,t[a],!0)==null&&v.setItemVisual(d,t[a],p.getItemVisual(n,t[a]))}})})}B.exports=i},Kagy:function(B,N){var i={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:""}}}};B.exports=i},KamJ:function(B,N,i){var y=i("ProS"),m=i("szbU");i("vF/C"),i("qwVE"),i("BuqR"),i("AE9C"),i("1u/T"),y.registerPreprocessor(m)},KmBX:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("CP8R")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FilterFilled";var l=p.forwardRef(d);N.default=l},"KpQ+":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("E/ki")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="ClockCircleOutlined";var l=p.forwardRef(d);N.default=l},KrTs:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("cDf5"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("q1tI"),l=i("MFj2"),n=i("TSYQ"),t=i.n(n),a=i("J4zp"),o=i.n(a),r=i("H84U"),c=i("0n0R"),e=function(C,I){var L={};for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&I.indexOf(M)<0&&(L[M]=C[M]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,M=Object.getOwnPropertySymbols(C);k<M.length;k++)I.indexOf(M[k])<0&&Object.prototype.propertyIsEnumerable.call(C,M[k])&&(L[M[k]]=C[M[k]]);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=[],M=0;M<30;M++)L.push(d.createElement("p",{key:M.toString(),className:t()(I,{current:C===M})},M%10));return L}var h=function(I){var L=I.prefixCls,M=I.count,k=I.className,R=I.style,j=I.title,V=I.component,D=V===void 0?"sup":V,H=I.displayComponent,P=I.onAnimated,K=P===void 0?function(){}:P,U=e(I,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),G=d.useState(!0),W=o()(G,2),Z=W[0],J=W[1],ve=d.useState(M),q=o()(ve,2),ce=q[0],be=q[1],Ce=d.useState(M),Fe=o()(Ce,2),fe=Fe[0],Ne=Fe[1],Q=d.useState(M),ae=o()(Q,2),Ue=ae[0],te=ae[1],X=d.useContext(r.b),z=X.getPrefixCls,Y=z("scroll-number",L);fe!==M&&(J(!0),Ne(M)),d.useEffect(function(){te(ce);var ie;return Z&&(ie=setTimeout(function(){J(!1),be(M),K()})),function(){ie&&clearTimeout(ie)}},[Z,M,K]);var pe=function(de,_e){var We=Math.abs(Number(ce)),at=Math.abs(Number(Ue)),tt=Math.abs(s(ce)[_e]),Oe=Math.abs(s(at)[_e]);return Z?10+de:We>at?tt>=Oe?10+de:20+de:tt<=Oe?10+de:de},se=function(de,_e){if(typeof de=="number"){var We=pe(de,_e),at=Z||s(Ue)[_e]===void 0;return d.createElement("span",{className:"".concat(Y,"-only"),style:{transition:at?"none":void 0,msTransform:"translateY(".concat(-We*100,"%)"),WebkitTransform:"translateY(".concat(-We*100,"%)"),transform:"translateY(".concat(-We*100,"%)")},key:_e},u(We,"".concat(Y,"-only-unit")))}return d.createElement("span",{key:"symbol",className:"".concat(Y,"-symbol")},de)},Te=function(){return ce&&Number(ce)%1===0?s(ce).map(function(de,_e){return se(de,_e)}).reverse():ce},Se=f()(f()({},U),{style:R,className:t()(Y,k),title:j});return R&&R.borderColor&&(Se.style=f()(f()({},R),{boxShadow:"0 0 0 1px ".concat(R.borderColor," inset")})),H?Object(c.a)(H,{className:t()("".concat(Y,"-custom-component"),H.props&&H.props.className)}):d.createElement(D,Se,Te())},g=h,A=i("09Wf");function w(C){return A.a.indexOf(C)!==-1}var b=function(I){var L,M=I.className,k=I.prefixCls,R=I.style,j=I.color,V=I.children,D=I.text,H=I.placement,P=H===void 0?"end":H,K=d.useContext(r.b),U=K.getPrefixCls,G=K.direction,W=U("ribbon",k),Z=w(j),J=t()(W,M,"".concat(W,"-placement-").concat(P),(L={},m()(L,"".concat(W,"-rtl"),G==="rtl"),m()(L,"".concat(W,"-color-").concat(j),Z),L)),ve={},q={};return j&&!Z&&(ve.background=j,q.color=j),d.createElement("div",{className:"".concat(W,"-wrapper")},V,d.createElement("div",{className:J,style:f()(f()({},ve),R)},D,d.createElement("div",{className:"".concat(W,"-corner"),style:q})))},S=b,_=function(C,I){var L={};for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&I.indexOf(M)<0&&(L[M]=C[M]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,M=Object.getOwnPropertySymbols(C);k<M.length;k++)I.indexOf(M[k])<0&&Object.prototype.propertyIsEnumerable.call(C,M[k])&&(L[M[k]]=C[M[k]]);return L},T=function(I){var L,M,k=I.prefixCls,R=I.scrollNumberPrefixCls,j=I.children,V=I.status,D=I.text,H=I.color,P=I.count,K=P===void 0?null:P,U=I.overflowCount,G=U===void 0?99:U,W=I.dot,Z=W===void 0?!1:W,J=I.size,ve=J===void 0?"default":J,q=I.title,ce=I.offset,be=I.style,Ce=I.className,Fe=I.showZero,fe=Fe===void 0?!1:Fe,Ne=_(I,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Q=d.useContext(r.b),ae=Q.getPrefixCls,Ue=Q.direction,te=ae("badge",k),X=function(){var Ct=K>G?"".concat(G,"+"):K;return Ct},z=function(){return!!V||!!H},Y=function(){var Ct=X();return Ct==="0"||Ct===0},pe=function(){return Z&&!Y()||z()},se=function(){return pe()?"":X()},Te=function(){return q||(typeof K=="string"||typeof K=="number"?K:void 0)},Se=function(){return Ue==="rtl"?ce?f()({left:parseInt(ce[0],10),marginTop:ce[1]},be):be:ce?f()({right:-parseInt(ce[0],10),marginTop:ce[1]},be):be},ie=function(){var Ct=se(),It=Ct==null||Ct==="";return(It||Y()&&!fe)&&!pe()},de=function(){var Ct=ie();return Ct||!D?null:d.createElement("span",{className:"".concat(te,"-status-text")},D)},_e=function(){var Ct=K;return!Ct||p()(Ct)!=="object"?void 0:Object(c.a)(Ct,{style:f()(f()({},Se()),Ct.props&&Ct.props.style)})},We=function(){var Ct,It=ae("scroll-number",R),Ft=se(),Vt=pe(),$e=ie(),ge=t()((Ct={},m()(Ct,"".concat(te,"-dot"),Vt),m()(Ct,"".concat(te,"-count"),!Vt),m()(Ct,"".concat(te,"-count-sm"),ve==="small"),m()(Ct,"".concat(te,"-multiple-words"),!Vt&&K&&K.toString&&K.toString().length>1),m()(Ct,"".concat(te,"-status-").concat(V),!!V),m()(Ct,"".concat(te,"-status-").concat(H),w(H)),Ct)),ne=Se();return H&&!w(H)&&(ne=ne||{},ne.background=H),$e?null:d.createElement(g,{prefixCls:It,"data-show":!$e,className:ge,count:Ft,displayComponent:_e(),title:Te(),style:ne,key:"scrollNumber"})},at=t()((L={},m()(L,"".concat(te,"-status-dot"),z()),m()(L,"".concat(te,"-status-").concat(V),!!V),m()(L,"".concat(te,"-status-").concat(H),w(H)),L)),tt={};H&&!w(H)&&(tt.background=H);var Oe=t()(Ce,te,(M={},m()(M,"".concat(te,"-status"),z()),m()(M,"".concat(te,"-not-a-wrapper"),!j),m()(M,"".concat(te,"-rtl"),Ue==="rtl"),M));if(!j&&z()){var yt=Se(),Ye=yt&&yt.color;return d.createElement("span",f()({},Ne,{className:Oe,style:yt}),d.createElement("span",{className:at,style:tt}),d.createElement("span",{style:{color:Ye},className:"".concat(te,"-status-text")},D))}return d.createElement("span",f()({},Ne,{className:Oe}),j,d.createElement(l.a,{component:"",showProp:"data-show",transitionName:j?"".concat(te,"-zoom"):"",transitionAppear:!0},We()),de())};T.Ribbon=S;var x=N.a=T},Kvyg:function(B,N,i){},KxBF:function(B,N){function i(y,m,E){var p=-1,v=y.length;m<0&&(m=-m>v?0:v+m),E=E>v?v:E,E<0&&(E+=v),v=m>E?0:E-m>>>0,m>>>=0;for(var f=Array(v);++p<v;)f[p]=y[p+m];return f}B.exports=i},KxFI:function(B,N,i){},KxfA:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.isTypedArray,v=E.extend,f=E.assert,d=E.each,l=E.isObject,n=i("4NO4"),t=n.getDataItemValue,a=n.isDataItemOption,o=i("OELB"),r=o.parseDate,c=i("7G+c"),e=i("k9D9"),s=e.SOURCE_FORMAT_TYPED_ARRAY,u=e.SOURCE_FORMAT_ARRAY_ROWS,h=e.SOURCE_FORMAT_ORIGINAL,g=e.SOURCE_FORMAT_OBJECT_ROWS;function A(j,V){c.isInstance(j)||(j=c.seriesDataToSource(j)),this._source=j;var D=this._data=j.data,H=j.sourceFormat;H===s&&(this._offset=0,this._dimSize=V,this._data=D);var P=b[H===u?H+"_"+j.seriesLayoutBy:H];v(this,P)}var w=A.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(j){return this._data[j+this._source.startIndex]},appendData:T},arrayRows_row:{pure:!0,count:function(){var j=this._data[0];return j?Math.max(0,j.length-this._source.startIndex):0},getItem:function(j){j+=this._source.startIndex;for(var V=[],D=this._data,H=0;H<D.length;H++){var P=D[H];V.push(P?P[j]:null)}return V},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:S,getItem:_,appendData:T},keyedColumns:{pure:!0,count:function(){var j=this._source.dimensionsDefine[0].name,V=this._data[j];return V?V.length:0},getItem:function(j){for(var V=[],D=this._source.dimensionsDefine,H=0;H<D.length;H++){var P=this._data[D[H].name];V.push(P?P[j]:null)}return V},appendData:function(j){var V=this._data;d(j,function(D,H){for(var P=V[H]||(V[H]=[]),K=0;K<(D||[]).length;K++)P.push(D[K])})}},original:{count:S,getItem:_,appendData:T},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(j,V){j=j-this._offset,V=V||[];for(var D=this._dimSize*j,H=0;H<this._dimSize;H++)V[H]=this._data[D+H];return V},appendData:function(j){this._data=j},clean:function(){this._offset+=this.count(),this._data=null}}};function S(){return this._data.length}function _(j){return this._data[j]}function T(j){for(var V=0;V<j.length;V++)this._data.push(j[V])}var x={arrayRows:C,objectRows:function(j,V,D,H){return D!=null?j[H]:j},keyedColumns:C,original:function(j,V,D,H){var P=t(j);return D==null||!(P instanceof Array)?P:P[D]},typedArray:C};function C(j,V,D,H){return D!=null?j[D]:j}var I={arrayRows:L,objectRows:function(j,V,D,H){return M(j[V],this._dimensionInfos[V])},keyedColumns:L,original:function(j,V,D,H){var P=j&&(j.value==null?j:j.value);return!this._rawData.pure&&a(j)&&(this.hasItemOption=!0),M(P instanceof Array?P[H]:P,this._dimensionInfos[V])},typedArray:function(j,V,D,H){return j[H]}};function L(j,V,D,H){return M(j[H],this._dimensionInfos[V])}function M(j,V){var D=V&&V.type;if(D==="ordinal"){var H=V&&V.ordinalMeta;return H?H.parseAndCollect(j):j}return D==="time"&&typeof j!="number"&&j!=null&&j!=="-"&&(j=+r(j)),j==null||j===""?NaN:+j}function k(j,V,D){if(!j)return;var H=j.getRawDataItem(V);if(H==null)return;var P=j.getProvider().getSource().sourceFormat,K,U,G=j.getDimensionInfo(D);return G&&(K=G.name,U=G.index),x[P](H,V,U,K)}function R(j,V,D){if(!j)return;var H=j.getProvider().getSource().sourceFormat;if(H!==h&&H!==g)return;var P=j.getRawDataItem(V);if(H===h&&!l(P)&&(P=null),P)return P[D]}N.DefaultDataProvider=A,N.defaultDimValueGetters=I,N.retrieveRawValue=k,N.retrieveRawAttr=R},L0Ub:function(B,N,i){var y=i("bYtY"),m=y.each,E=y.createHashMap,p=y.assert,v=i("Tghj"),f=v.__DEV__,d=E(["tooltip","label","itemName","itemId","seriesName"]);function l(o){var r={},c=r.encode={},e=E(),s=[],u=[],h=r.userOutput={dimensionNames:o.dimensions.slice(),encode:{}};m(o.dimensions,function(S){var _=o.getDimensionInfo(S),T=_.coordDim;if(T){var x=_.coordDimIndex;n(c,T)[x]=S,_.isExtraCoord||(e.set(T,1),a(_.type)&&(s[0]=S),n(h.encode,T)[x]=_.index),_.defaultTooltip&&u.push(S)}d.each(function(C,I){var L=n(c,I),M=_.otherDims[I];M!=null&&M!==!1&&(L[M]=_.name)})});var g=[],A={};e.each(function(S,_){var T=c[_];A[_]=T[0],g=g.concat(T)}),r.dataDimsOnCoord=g,r.encodeFirstDimNotExtra=A;var w=c.label;w&&w.length&&(s=w.slice());var b=c.tooltip;return b&&b.length?u=b.slice():u.length||(u=s.slice()),c.defaultedLabel=s,c.defaultedTooltip=u,r}function n(o,r){return o.hasOwnProperty(r)||(o[r]=[]),o[r]}function t(o){return o==="category"?"ordinal":o==="time"?"time":"float"}function a(o){return!(o==="ordinal"||o==="time")}N.OTHER_DIMENSIONS=d,N.summarizeDimensions=l,N.getDimensionTypeByAxis=t},L3Oj:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("HjIi");i("HM/N"),i("9eas"),i("eS4l"),i("y4/Y"),i("as94"),y.registerLayout(m.curry(E,"bar")),y.extendComponentView({type:"polar"})},L5E0:function(B,N){var i=["itemStyle","borderColor"];function y(m,E){var p=m.get("color");m.eachRawSeriesByType("boxplot",function(v){var f=p[v.seriesIndex%p.length],d=v.getData();d.setVisual({legendSymbol:"roundRect",color:v.get(i)||f}),m.isSeriesFiltered(v)||d.each(function(l){var n=d.getItemModel(l);d.setItemVisual(l,{color:n.get(i,!0)})})})}B.exports=y},LBfv:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=m.createHashMap,p=m.each;y.registerProcessor({getTargetSeries:function(v){var f=E();return v.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(l,n,t){var a=t.getAxisProxy(l.name,n);p(a.getTargetSeriesModels(),function(o){f.set(o.uid,o)})})}),f},modifyOutputEnd:!0,overallReset:function(v,f){v.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(l,n,t){t.getAxisProxy(l.name,n).reset(t,f)}),d.eachTargetAxis(function(l,n,t){t.getAxisProxy(l.name,n).filterData(t,f)})}),v.eachComponent("dataZoom",function(d){var l=d.findRepresentativeAxisProxy(),n=l.getDataPercentWindow(),t=l.getDataValueWindow();d.setCalculatedRange({start:n[0],end:n[1],startValue:t[0],endValue:t[1]})})}})},LCi9:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function m(A,w){for(var b=0;b<w.length;b++){var S=w[b];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(A,S.key,S)}}function E(A,w,b){return w&&m(A.prototype,w),b&&m(A,b),A}var p=0,v=1,f=2,d=4,l=8,n=16,t=32,a=64,o=127,r=50,c=90,e=250,s=1e3,u=1e3,h=50,g=function(){function A(){y(this,A),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 E(A,[{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 S;b.stopPropagation(),b.preventDefault();switch(b.type){case"touchstart":S=this._touchStart;break;case"touchmove":S=this._touchMove;break;case"touchend":case"touchcancel":S=this._touchEnd;break}for(var _=0;_<b.changedTouches.length;_++){var T=b.changedTouches[_];S.call(this,T.identifier,T.clientX,T.clientY)}}},{key:"_touchStart",value:function(b,S,_){if(this._hasDetectedGesture()||this._state===p){this._ignored.push(b);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>e){this._state=p,this._ignored.push(b);return}if(this._waitingRelease){this._state=p,this._ignored.push(b);return}this._tracked.push({id:b,started:Date.now(),active:!0,firstX:S,firstY:_,lastX:S,lastY:_,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|l|n),this._stopLongpressTimeout();break;case 3:this._state&=~(f|t|a);break;default:this._state=p}}},{key:"_touchMove",value:function(b,S,_){var T=this._tracked.find(function(k){return k.id===b});if(T===void 0)return;T.lastX=S,T.lastY=_;var x=S-T.firstX,C=_-T.firstY;if((T.firstX!==T.lastX||T.firstY!==T.lastY)&&(T.angle=Math.atan2(C,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,C)<r)return;if(this._state&=~(v|f|d|n),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~l),this._tracked.length!==2&&(this._state&=~(t|a)),this._tracked.length===2){var I=this._tracked.find(function(k){return k.id!==b}),L=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(L>r){var M=Math.abs(T.angle-I.angle);M=Math.abs((M+180)%360-180),M>c?this._state&=~t:this._state&=~a,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(b,S,_){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=p),!this._hasDetectedGesture()&&(this._state&=~(l|t|a),this._state&=~n,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&=~(v|d);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=p),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=p);var T=this._tracked.find(function(C){return C.id===b});if(T.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==p)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=p,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===p||this._state&this._state-1?!1:!(this._state&(v|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=n,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(),S=Math.abs(b.x),_=Math.abs(b.y),T=this._getAverageDistance(),x=Math.abs(Math.hypot(T.first.x,T.first.y)-Math.hypot(T.last.x,T.last.y));_<x&&S<x?this._state=a:this._state=t,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(b){var S={type:this._stateToGesture(this._state)},_=this._getPosition(),T=_.last;b==="gesturestart"&&(T=_.first);switch(this._state){case t:case a:T=_.first;break}if(S.clientX=T.x,S.clientY=T.y,this._state===a){var x=this._getAverageDistance();b==="gesturestart"?(S.magnitudeX=x.first.x,S.magnitudeY=x.first.y):(S.magnitudeX=x.last.x,S.magnitudeY=x.last.y)}else if(this._state===t)if(b==="gesturestart")S.magnitudeX=0,S.magnitudeY=0;else{var C=this._getAverageMovement();S.magnitudeX=C.x,S.magnitudeY=C.y}var I=new CustomEvent(b,{detail:S});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(b){switch(b){case v:return"onetap";case f:return"twotap";case d:return"threetap";case l:return"drag";case n:return"longpress";case t:return"twodrag";case a: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,S=0,_=0,T=0,x=0,C=0;C<this._tracked.length;C++)S+=this._tracked[C].firstX,_+=this._tracked[C].firstY,T+=this._tracked[C].lastX,x+=this._tracked[C].lastY;return{first:{x:S/b,y:_/b},last:{x:T/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,S;b=S=0;for(var _=this._tracked.length,T=0;T<this._tracked.length;T++)b+=this._tracked[T].lastX-this._tracked[T].firstX,S+=this._tracked[T].lastY-this._tracked[T].firstY;return{x:b/_,y:S/_}}},{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],S=this._tracked[this._tracked.length-1],_=Math.abs(S.firstX-b.firstX),T=Math.abs(S.firstY-b.firstY),x=Math.abs(S.lastX-b.lastX),C=Math.abs(S.lastY-b.lastY);return{first:{x:_,y:T},last:{x,y:C}}}}]),A}();N.default=g},LPTA:function(B,N){var i=1;typeof window!="undefined"&&(i=Math.max(window.devicePixelRatio||1,1));var y=0,m=i;N.debugMode=y,N.devicePixelRatio=m},LPzL:function(B,N,i){var y=i("ProS");i("QzjZ"),i("vL6D"),i("xiyX"),i("y4/Y"),i("8Th4"),y.extendComponentView({type:"single"})},LSTS:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=function(){function o(r,c){for(var e=0;e<c.length;e++){var s=c[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,c,e){return c&&o(r.prototype,c),e&&o(r,e),r}}(),m=i("q1tI"),E=f(m),p=i("17x9"),v=f(p);function f(o){return o&&o.__esModule?o:{default:o}}function d(o,r){var c={};for(var e in o){if(r.indexOf(e)>=0)continue;if(!Object.prototype.hasOwnProperty.call(o,e))continue;c[e]=o[e]}return c}function l(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function n(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 t(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 a=function(o){t(r,o);function r(c){l(this,r);var e=n(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,c));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 g=document.documentElement||document.body.parentNode||document.body,A=s.pageYOffset!==void 0?s.pageYOffset:g.scrollTop;this.props.isReverse?h=A:h=this.calculateOffset(e,A)}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,g=s.hasMore,A=s.initialLoad,w=s.isReverse,b=s.loader,S=s.loadMore,_=s.pageStart,T=s.ref,x=s.threshold,C=s.useCapture,I=s.useWindow,L=s.getScrollParent,M=d(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);M.ref=function(R){e.scrollComponent=R,T&&T(R)};var k=[u];return g&&(b?w?k.unshift(b):k.push(b):this.defaultLoader&&(w?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),E.default.createElement(h,M,k)}}]),r}(m.Component);a.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},a.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=a,B.exports=N.default},Lerx:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("Mds0"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},Llu2:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DeliveredProcedureOutlined";var d=N.a=m.forwardRef(f)},Lo0S:function(B,N,i){"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",m=function(){};N.Debug=m;var E=function(){};N.Info=E;var p=function(){};N.Warn=p;var v=function(){};N.Error=v;function f(l){if(typeof l=="undefined"?l=y:y=l,N.Debug=m=N.Info=E=N.Warn=p=N.Error=v=function(){},typeof window.console!="undefined")switch(l){case"debug":N.Debug=m=console.debug.bind(window.console);case"info":N.Info=E=console.info.bind(window.console);case"warn":N.Warn=p=console.warn.bind(window.console);case"error":N.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+l+"'")}}function d(){return y}f()},LtfV:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="InboxOutlined";var d=N.a=m.forwardRef(f)},Lyp1:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="QuestionCircleOutlined";var d=N.a=m.forwardRef(f)},LzGr:function(B,N,i){var y=i("ProS"),m=i("rnVJ");i("EMyp"),i("8x+h"),i("wt3j"),i("uOyE"),i("/stD"),y.registerPreprocessor(m)},MBQ8:function(B,N,i){var y=i("T4UG"),m=i("MwEJ"),E=y.extend({type:"series.__base_bar__",getInitialData:function(p,v){return m(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var v=this.coordinateSystem;if(v){var f=v.dataToPoint(v.clampData(p)),d=this.getData(),l=d.getLayout("offset"),n=d.getLayout("size"),t=v.getBaseAxis().isHorizontal()?0:1;return f[t]+=l+n/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:{}}});B.exports=E},MEGo:function(B,N,i){var y=i("4fz+"),m=i("Dagg"),E=i("dqUG"),p=i("2fw6"),v=i("x6Kt"),f=i("rmlV"),d=i("yxFR"),l=i("y+Vt"),n=i("h7HQ"),t=i("1Jh7"),a=i("SKnc"),o=i("K2GJ"),r=i("Fofx"),c=i("NC18"),e=c.createFromString,s=i("bYtY"),u=s.isString,h=s.extend,g=s.defaults,A=s.trim,w=s.each,b=/[\s,]+/;function S(G){if(u(G)){var W=new DOMParser;G=W.parseFromString(G,"text/xml")}for(G.nodeType===9&&(G=G.firstChild);G.nodeName.toLowerCase()!=="svg"||G.nodeType!==1;)G=G.nextSibling;return G}function _(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}_.prototype.parse=function(G,W){W=W||{};var Z=S(G);if(!Z)throw new Error("Illegal svg");var J=new y;this._root=J;var ve=Z.getAttribute("viewBox")||"",q=parseFloat(Z.getAttribute("width")||W.width),ce=parseFloat(Z.getAttribute("height")||W.height);isNaN(q)&&(q=null),isNaN(ce)&&(ce=null),k(Z,J,null,!0);for(var be=Z.firstChild;be;)this._parseNode(be,J),be=be.nextSibling;var Ce,Fe;if(ve){var fe=A(ve).split(b);fe.length>=4&&(Ce={x:parseFloat(fe[0]||0),y:parseFloat(fe[1]||0),width:parseFloat(fe[2]),height:parseFloat(fe[3])})}if(Ce&&q!=null&&ce!=null&&(Fe=K(Ce,q,ce),!W.ignoreViewBox)){var Ne=J;J=new y,J.add(Ne),Ne.scale=Fe.scale.slice(),Ne.position=Fe.position.slice()}return!W.ignoreRootClip&&q!=null&&ce!=null&&J.setClipPath(new v({shape:{x:0,y:0,width:q,height:ce}})),{root:J,width:q,height:ce,viewBoxRect:Ce,viewBoxTransform:Fe}},_.prototype._parseNode=function(G,W){var Z=G.nodeName.toLowerCase();Z==="defs"?this._isDefine=!0:Z==="text"&&(this._isText=!0);var J;if(this._isDefine){var ve=x[Z];if(ve){var q=ve.call(this,G),ce=G.getAttribute("id");ce&&(this._defs[ce]=q)}}else{var ve=T[Z];ve&&(J=ve.call(this,G,W),W.add(J))}for(var be=G.firstChild;be;)be.nodeType===1&&this._parseNode(be,J),be.nodeType===3&&this._isText&&this._parseText(be,J),be=be.nextSibling;Z==="defs"?this._isDefine=!1:Z==="text"&&(this._isText=!1)},_.prototype._parseText=function(G,W){if(G.nodeType===1){var Z=G.getAttribute("dx")||0,J=G.getAttribute("dy")||0;this._textX+=parseFloat(Z),this._textY+=parseFloat(J)}var ve=new E({style:{text:G.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(W,ve),k(G,ve,this._defs);var q=ve.style.fontSize;q&&q<9&&(ve.style.fontSize=9,ve.scale=ve.scale||[1,1],ve.scale[0]*=q/9,ve.scale[1]*=q/9);var ce=ve.getBoundingRect();return this._textX+=ce.width,W.add(ve),ve};var T={g:function(W,Z){var J=new y;return I(Z,J),k(W,J,this._defs),J},rect:function(W,Z){var J=new v;return I(Z,J),k(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,Z){var J=new p;return I(Z,J),k(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,Z){var J=new d;return I(Z,J),k(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,Z){var J=new f;return I(Z,J),k(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,Z){var J=W.getAttribute("points");J&&(J=L(J));var ve=new n({shape:{points:J||[]}});return I(Z,ve),k(W,ve,this._defs),ve},polyline:function(W,Z){var J=new l;I(Z,J),k(W,J,this._defs);var ve=W.getAttribute("points");ve&&(ve=L(ve));var q=new t({shape:{points:ve||[]}});return q},image:function(W,Z){var J=new m;return I(Z,J),k(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,Z){var J=W.getAttribute("x")||0,ve=W.getAttribute("y")||0,q=W.getAttribute("dx")||0,ce=W.getAttribute("dy")||0;this._textX=parseFloat(J)+parseFloat(q),this._textY=parseFloat(ve)+parseFloat(ce);var be=new y;return I(Z,be),k(W,be,this._defs),be},tspan:function(W,Z){var J=W.getAttribute("x"),ve=W.getAttribute("y");J!=null&&(this._textX=parseFloat(J)),ve!=null&&(this._textY=parseFloat(ve));var q=W.getAttribute("dx")||0,ce=W.getAttribute("dy")||0,be=new y;return I(Z,be),k(W,be,this._defs),this._textX+=q,this._textY+=ce,be},path:function(W,Z){var J=W.getAttribute("d")||"",ve=e(J);return I(Z,ve),k(W,ve,this._defs),ve}},x={lineargradient:function(W){var Z=parseInt(W.getAttribute("x1")||0,10),J=parseInt(W.getAttribute("y1")||0,10),ve=parseInt(W.getAttribute("x2")||10,10),q=parseInt(W.getAttribute("y2")||0,10),ce=new a(Z,J,ve,q);return C(W,ce),ce},radialgradient:function(W){}};function C(G,W){for(var Z=G.firstChild;Z;){if(Z.nodeType===1){var J=Z.getAttribute("offset");J.indexOf("%")>0?J=parseInt(J,10)/100:J?J=parseFloat(J):J=0;var ve=Z.getAttribute("stop-color")||"#000000";W.addColorStop(J,ve)}Z=Z.nextSibling}}function I(G,W){G&&G.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),g(W.__inheritedStyle,G.__inheritedStyle))}function L(G){for(var W=A(G).split(b),Z=[],J=0;J<W.length;J+=2){var ve=parseFloat(W[J]),q=parseFloat(W[J+1]);Z.push([ve,q])}return Z}var M={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 k(G,W,Z,J){var ve=W.__inheritedStyle||{},q=W.type==="text";if(G.nodeType===1&&(D(G,W),h(ve,P(G)),!J)){for(var ce in M)if(M.hasOwnProperty(ce)){var be=G.getAttribute(ce);be!=null&&(ve[M[ce]]=be)}}var Ce=q?"textFill":"fill",Fe=q?"textStroke":"stroke";W.style=W.style||new o;var fe=W.style;ve.fill!=null&&fe.set(Ce,j(ve.fill,Z)),ve.stroke!=null&&fe.set(Fe,j(ve.stroke,Z)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Ne){var Q=Ne==="lineWidth"&&q?"textStrokeWidth":Ne;ve[Ne]!=null&&fe.set(Q,parseFloat(ve[Ne]))}),(!ve.textBaseline||ve.textBaseline==="auto")&&(ve.textBaseline="alphabetic"),ve.textBaseline==="alphabetic"&&(ve.textBaseline="bottom"),ve.textAlign==="start"&&(ve.textAlign="left"),ve.textAlign==="end"&&(ve.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(Ne){ve[Ne]!=null&&fe.set(Ne,ve[Ne])}),ve.lineDash&&(W.style.lineDash=A(ve.lineDash).split(b)),fe[Fe]&&fe[Fe]!=="none"&&(W[Fe]=!0),W.__inheritedStyle=ve}var R=/url\(\s*#(.*?)\)/;function j(G,W){var Z=W&&G&&G.match(R);if(Z){var J=A(Z[1]),ve=W[J];return ve}return G}var V=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function D(G,W){var Z=G.getAttribute("transform");if(Z){Z=Z.replace(/,/g," ");var J=null,ve=[];Z.replace(V,function(Ce,Fe,fe){ve.push(Fe,fe)});for(var q=ve.length-1;q>0;q-=2){var ce=ve[q],be=ve[q-1];J=J||r.create();switch(be){case"translate":ce=A(ce).split(b),r.translate(J,J,[parseFloat(ce[0]),parseFloat(ce[1]||0)]);break;case"scale":ce=A(ce).split(b),r.scale(J,J,[parseFloat(ce[0]),parseFloat(ce[1]||ce[0])]);break;case"rotate":ce=A(ce).split(b),r.rotate(J,J,parseFloat(ce[0]));break;case"skew":ce=A(ce).split(b),console.warn("Skew transform is not supported yet");break;case"matrix":var ce=A(ce).split(b);J[0]=parseFloat(ce[0]),J[1]=parseFloat(ce[1]),J[2]=parseFloat(ce[2]),J[3]=parseFloat(ce[3]),J[4]=parseFloat(ce[4]),J[5]=parseFloat(ce[5]);break}}W.setLocalTransform(J)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function P(G){var W=G.getAttribute("style"),Z={};if(!W)return Z;var J={};H.lastIndex=0;for(var ve;(ve=H.exec(W))!=null;)J[ve[1]]=ve[2];for(var q in M)M.hasOwnProperty(q)&&J[q]!=null&&(Z[M[q]]=J[q]);return Z}function K(G,W,Z){var J=W/G.width,ve=Z/G.height,q=Math.min(J,ve),ce=[q,q],be=[-(G.x+G.width/2)*q+W/2,-(G.y+G.height/2)*q+Z/2];return{scale:ce,position:be}}function U(G,W){var Z=new _;return Z.parse(G,W)}N.parseXML=S,N.makeViewBoxTransform=K,N.parseSVG=U},MFOe:function(B,N,i){(function(y){var m=f(),E=d(),p=l(),v=typeof window!="undefined"?window:y;B.exports={assign:m,create:E,trim:p,bind:n,slice:t,each:a,map:o,pluck:r,isList:c,isFunction:e,isObject:s,Global:v};function f(){return Object.assign?Object.assign:function(h,g,A,w){for(var b=1;b<arguments.length;b++)a(Object(arguments[b]),function(S,_){h[_]=S});return h}}function d(){if(Object.create)return function(g,A,w,b){var S=t(arguments,1);return m.apply(this,[Object.create(g)].concat(S))};var u=function(){};return function(g,A,w,b){var S=t(arguments,1);return u.prototype=g,m.apply(this,[new u].concat(S))}}function l(){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 n(u,h){return function(){return h.apply(u,Array.prototype.slice.call(arguments,0))}}function t(u,h){return Array.prototype.slice.call(u,h||0)}function a(u,h){r(u,function(g,A){return h(g,A),!1})}function o(u,h){var g=c(u)?[]:{};return r(u,function(A,w){return g[w]=h(A,w),!1}),g}function r(u,h){if(c(u)){for(var g=0;g<u.length;g++)if(h(u[g],g))return u[g]}else for(var A in u)if(u.hasOwnProperty(A)&&h(u[A],A))return u[A]}function c(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,i("yLpj"))},MH26:function(B,N,i){var y=i("bYtY"),m=i("YXkt"),E=i("OELB"),p=i("kj2x"),v=i("c8qY"),f=i("iPDy"),d=i("7hqr"),l=d.getStackedDimension,n=function(s,u,h,g){var A=s.getData(),w=g.type;if(!y.isArray(g)&&(w==="min"||w==="max"||w==="average"||w==="median"||g.xAxis!=null||g.yAxis!=null)){var b,S;if(g.yAxis!=null||g.xAxis!=null)b=u.getAxis(g.yAxis!=null?"y":"x"),S=y.retrieve(g.yAxis,g.xAxis);else{var _=p.getAxisInfo(g,A,u,s);b=_.valueAxis;var T=l(A,_.valueDataDim);S=p.numCalculate(A,T,w)}var x=b.dim==="x"?0:1,C=1-x,I=y.clone(g),L={};I.type=null,I.coord=[],L.coord=[],I.coord[C]=-Infinity,L.coord[C]=Infinity;var M=h.get("precision");M>=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(M,20))),I.coord[x]=L.coord[x]=S,g=[I,L,{type:w,valueIndex:g.valueIndex,value:S}]}return g=[p.dataTransform(s,g[0]),p.dataTransform(s,g[1]),y.extend({},g[2])],g[2].type=g[2].type||"",y.merge(g[2],g[0]),y.merge(g[2],g[1]),g};function t(s){return!isNaN(s)&&!isFinite(s)}function a(s,u,h,g){var A=1-s,w=g.dimensions[s];return t(u[A])&&t(h[A])&&u[s]===h[s]&&g.getAxis(w).containData(u[s])}function o(s,u){if(s.type==="cartesian2d"){var h=u[0].coord,g=u[1].coord;if(h&&g&&(a(1,h,g,s)||a(0,h,g,s)))return!0}return p.dataFilter(s,u[0])&&p.dataFilter(s,u[1])}function r(s,u,h,g,A){var w=g.coordinateSystem,b=s.getItemModel(u),S,_=E.parsePercent(b.get("x"),A.getWidth()),T=E.parsePercent(b.get("y"),A.getHeight());if(!isNaN(_)&&!isNaN(T))S=[_,T];else{if(g.getMarkerPosition)S=g.getMarkerPosition(s.getValues(s.dimensions,u));else{var x=w.dimensions,C=s.get(x[0],u),I=s.get(x[1],u);S=w.dataToPoint([C,I])}if(w.type==="cartesian2d"){var L=w.getAxis("x"),M=w.getAxis("y"),x=w.dimensions;t(s.get(x[0],u))?S[0]=L.toGlobalCoord(L.getExtent()[h?0:1]):t(s.get(x[1],u))&&(S[1]=M.toGlobalCoord(M.getExtent()[h?0:1]))}isNaN(_)||(S[0]=_),isNaN(T)||(S[1]=T)}s.setItemLayout(u,S)}var c=f.extend({type:"markLine",updateTransform:function(s,u,h){u.eachSeries(function(g){var A=g.markLineModel;if(A){var w=A.getData(),b=A.__from,S=A.__to;b.each(function(_){r(b,_,!0,g,h),r(S,_,!1,g,h)}),w.each(function(_){w.setItemLayout(_,[b.getItemLayout(_),S.getItemLayout(_)])}),this.markerGroupMap.get(g.id).updateLayout()}},this)},renderSeries:function(s,u,h,g){var A=s.coordinateSystem,w=s.id,b=s.getData(),S=this.markerGroupMap,_=S.get(w)||S.set(w,new v);this.group.add(_.group);var T=e(A,s,u),x=T.from,C=T.to,I=T.line;u.__from=x,u.__to=C,u.setData(I);var L=u.get("symbol"),M=u.get("symbolSize");y.isArray(L)||(L=[L,L]),typeof M=="number"&&(M=[M,M]),T.from.each(function(R){k(x,R,!0),k(C,R,!1)}),I.each(function(R){var j=I.getItemModel(R).get("lineStyle.color");I.setItemVisual(R,{color:j||x.getItemVisual(R,"color")}),I.setItemLayout(R,[x.getItemLayout(R),C.getItemLayout(R)]),I.setItemVisual(R,{fromSymbolSize:x.getItemVisual(R,"symbolSize"),fromSymbol:x.getItemVisual(R,"symbol"),toSymbolSize:C.getItemVisual(R,"symbolSize"),toSymbol:C.getItemVisual(R,"symbol")})}),_.updateData(I),T.line.eachItemGraphicEl(function(R,j){R.traverse(function(V){V.dataModel=u})});function k(R,j,V){var D=R.getItemModel(j);r(R,j,V,s,g),R.setItemVisual(j,{symbolSize:D.get("symbolSize")||M[V?0:1],symbol:D.get("symbol",!0)||L[V?0:1],color:D.get("itemStyle.color")||b.getVisual("color")})}_.__keep=!0,_.group.silent=u.get("silent")||s.get("silent")}});function e(s,u,h){var g;s?g=y.map(s&&s.dimensions,function(T){var x=u.getData().getDimensionInfo(u.getData().mapDimension(T))||{};return y.defaults({name:T},x)}):g=[{name:"value",type:"float"}];var A=new m(g,h),w=new m(g,h),b=new m([],h),S=y.map(h.get("data"),y.curry(n,u,s,h));s&&(S=y.filter(S,y.curry(o,s)));var _=s?p.dimValueGetter:function(T){return T.value};return A.initData(y.map(S,function(T){return T[0]}),null,_),w.initData(y.map(S,function(T){return T[1]}),null,_),b.initData(y.map(S,function(T){return T[2]})),b.hasItemOption=!0,{from:A,to:w,line:b}}B.exports=c},MHoB:function(B,N,i){var y=i("bYtY"),m=i("6uqw"),E=i("OELB"),p=[20,140],v=m.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(l,n){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var l=this.itemSize;this._orient==="horizontal"&&l.reverse(),(l[0]==null||isNaN(l[0]))&&(l[0]=p[0]),(l[1]==null||isNaN(l[1]))&&(l[1]=p[1])},_resetRange:function(){var l=this.getExtent(),n=this.option.range;!n||n.auto?(l.auto=1,this.option.range=l):y.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],l[0]),n[1]=Math.min(n[1],l[1]))},completeVisualOption:function(){m.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,function(l){var n=this.option.controller[l].symbolSize;n&&n[0]!==n[1]&&(n[0]=0)},this)},setSelected:function(l){this.option.range=l.slice(),this._resetRange()},getSelected:function(){var l=this.getExtent(),n=E.asc((this.get("range")||[]).slice());return n[0]>l[1]&&(n[0]=l[1]),n[1]>l[1]&&(n[1]=l[1]),n[0]<l[0]&&(n[0]=l[0]),n[1]<l[0]&&(n[1]=l[0]),n},getValueState:function(l){var n=this.option.range,t=this.getExtent();return(n[0]<=t[0]||n[0]<=l)&&(n[1]>=t[1]||l<=n[1])?"inRange":"outOfRange"},findTargetDataIndices:function(l){var n=[];return this.eachTargetSeries(function(t){var a=[],o=t.getData();o.each(this.getDataDimension(o),function(r,c){l[0]<=r&&r<=l[1]&&a.push(c)},this),n.push({seriesId:t.id,dataIndex:a})},this),n},getVisualMeta:function(l){var n=f(this,"outOfRange",this.getExtent()),t=f(this,"inRange",this.option.range.slice()),a=[];function o(g,A){a.push({value:g,color:l(g,A)})}for(var r=0,c=0,e=t.length,s=n.length;c<s&&(!t.length||n[c]<=t[0]);c++)n[c]<t[r]&&o(n[c],"outOfRange");for(var u=1;r<e;r++,u=0)u&&a.length&&o(t[r],"outOfRange"),o(t[r],"inRange");for(var u=1;c<s;c++)(!t.length||t[t.length-1]<n[c])&&(u&&(a.length&&o(a[a.length-1].value,"outOfRange"),u=0),o(n[c],"outOfRange"));var h=a.length;return{stops:a,outerColors:[h?a[0].color:"transparent",h?a[h-1].color:"transparent"]}}});function f(l,n,t){if(t[0]===t[1])return t.slice();for(var a=200,o=(t[1]-t[0])/a,r=t[0],c=[],e=0;e<=a&&r<t[1];e++)c.push(r),r+=o;return c.push(t[1]),c}var d=v;B.exports=d},MHtr:function(B,N,i){var y=i("bYtY");function m(p,v){var f=this.getAxis(),d=v instanceof Array?v[0]:v,l=(p instanceof Array?p[0]:p)/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(d-l)-f.dataToCoord(d+l))}function E(p){var v=p.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}B.exports=E},MJZm:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("fAei"),d=i("TSYQ"),l=i.n(d),n=i("RIqP"),t=i.n(n),a=i("J4zp"),o=i.n(a),r=i("sEfC"),c=i.n(r),e=i("OZM5"),s=i("815F"),u=i("vk+C"),h=i.n(u),g=i("Vy0f"),A=i.n(g),w=i("kGiB"),b=i.n(w),S=i("H84U"),_;(function(U){U[U.None=0]="None",U[U.Start=1]="Start",U[U.End=2]="End"})(_||(_={}));function T(U,G){function W(Z){var J=Z.key,ve=Z.children;G(J,Z)!==!1&&T(ve||[],G)}U.forEach(W)}function x(U){var G=U.treeData,W=U.expandedKeys,Z=U.startKey,J=U.endKey,ve=[],q=_.None;if(Z&&Z===J)return[Z];if(!Z||!J)return[];function ce(be){return be===Z||be===J}return T(G,function(be){if(q===_.End)return!1;if(ce(be)){if(ve.push(be),q===_.None)q=_.Start;else if(q===_.Start)return q=_.End,!1}else q===_.Start&&ve.push(be);return!(W.indexOf(be)===-1)}),ve}function C(U,G){var W=t()(G),Z=[];return T(U,function(J,ve){var q=W.indexOf(J);return q!==-1&&(Z.push(ve),W.splice(q,1)),!!W.length}),Z}var I=function(U,G){var W={};for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&G.indexOf(Z)<0&&(W[Z]=U[Z]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,Z=Object.getOwnPropertySymbols(U);J<Z.length;J++)G.indexOf(Z[J])<0&&Object.prototype.propertyIsEnumerable.call(U,Z[J])&&(W[Z[J]]=U[Z[J]]);return W};function L(U){var G=U.isLeaf,W=U.expanded;return G?v.createElement(h.a,null):W?v.createElement(A.a,null):v.createElement(b.a,null)}function M(U){var G=U.treeData,W=U.children;return G||Object(s.c)(W)}var k=function(G,W){var Z=G.defaultExpandAll,J=G.defaultExpandParent,ve=G.defaultExpandedKeys,q=I(G,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ce=v.useRef(),be=v.useRef(),Ce=v.createRef();v.useImperativeHandle(W,function(){return Ce.current});var Fe=function(){var Ct=Object(s.a)(M(q)),It=Ct.keyEntities,Ft;return Z?Ft=Object.keys(It):J?Ft=Object(e.e)(q.expandedKeys||ve,It):Ft=q.expandedKeys||ve,Ft},fe=v.useState(q.selectedKeys||q.defaultSelectedKeys||[]),Ne=o()(fe,2),Q=Ne[0],ae=Ne[1],Ue=v.useState(Fe()),te=o()(Ue,2),X=te[0],z=te[1];v.useEffect(function(){"selectedKeys"in q&&ae(q.selectedKeys)},[q.selectedKeys]),v.useEffect(function(){"expandedKeys"in q&&z(q.expandedKeys)},[q.expandedKeys]);var Y=function(Ct,It){var Ft=It.isLeaf;if(Ft||Ct.shiftKey||Ct.metaKey||Ct.ctrlKey)return;Ce.current.onNodeExpand(Ct,It)},pe=c()(Y,200,{leading:!0}),se=function(Ct,It){return"expandedKeys"in q||z(Ct),q.onExpand?q.onExpand(Ct,It):void 0},Te=function(Ct,It){var Ft=q.expandAction;Ft==="click"&&pe(Ct,It),q.onClick&&q.onClick(Ct,It)},Se=function(Ct,It){var Ft=q.expandAction;Ft==="doubleClick"&&pe(Ct,It),q.onDoubleClick&&q.onDoubleClick(Ct,It)},ie=function(Ct,It){var Ft=q.multiple,Vt=It.node,$e=It.nativeEvent,ge=Vt.key,ne=ge===void 0?"":ge,wt=M(q),qe=p()(p()({},It),{selected:!0}),he=$e.ctrlKey||$e.metaKey,kt=$e.shiftKey,nr;Ft&&he?(nr=Ct,ce.current=ne,be.current=nr,qe.selectedNodes=C(wt,nr)):Ft&&kt?(nr=Array.from(new Set([].concat(t()(be.current||[]),t()(x({treeData:wt,expandedKeys:X,startKey:ne,endKey:ce.current}))))),qe.selectedNodes=C(wt,nr)):(nr=[ne],ce.current=ne,be.current=nr,qe.selectedNodes=C(wt,nr)),q.onSelect&&q.onSelect(nr,qe),"selectedKeys"in q||ae(nr)},de=v.useContext(S.b),_e=de.getPrefixCls,We=de.direction,at=q.prefixCls,tt=q.className,Oe=I(q,["prefixCls","className"]),yt=_e("tree",at),Ye=l()("".concat(yt,"-directory"),tt,m()({},"".concat(yt,"-directory-rtl"),We==="rtl"));return v.createElement(P,p()({icon:L,ref:Ce,blockNode:!0},Oe,{prefixCls:yt,className:Ye,expandedKeys:X,selectedKeys:Q,onSelect:ie,onClick:Te,onDoubleClick:Se,onExpand:se}))},R=v.forwardRef(k);R.displayName="DirectoryTree",R.defaultProps={showIcon:!0,expandAction:"click"};var j=R,V=i("EXcs"),D=i("2jpz"),H=v.forwardRef(function(U,G){var W,Z=v.useContext(S.b),J=Z.getPrefixCls,ve=Z.direction,q=Z.virtual,ce=U.prefixCls,be=U.className,Ce=U.showIcon,Fe=U.showLine,fe=U.switcherIcon,Ne=U.blockNode,Q=U.children,ae=U.checkable,Ue=p()(p()({},U),{showLine:Boolean(Fe)}),te=J("tree",ce);return v.createElement(f.b,p()({itemHeight:20,ref:G,virtual:q},Ue,{prefixCls:te,className:l()(be,(W={},m()(W,"".concat(te,"-icon-hide"),!Ce),m()(W,"".concat(te,"-block-node"),Ne),m()(W,"".concat(te,"-rtl"),ve==="rtl"),W)),checkable:ae&&v.createElement("span",{className:"".concat(te,"-checkbox-inner")}),switcherIcon:function(z){return Object(D.a)(te,fe,Fe,z)}}),Q)});H.TreeNode=f.a,H.DirectoryTree=j,H.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},V.a),{motionAppear:!1}),blockNode:!1};var P=H,K=N.a=P},MKOG:function(B,N,i){var y=i("bYtY"),m=i("YH21"),E=m.Dispatcher,p=i("mLcG"),v=i("Bq2U"),f=function(n){n=n||{},this.stage=n.stage||{},this.onframe=n.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,E.call(this)};f.prototype={constructor:f,addClip:function(n){this._clips.push(n)},addAnimator:function(n){n.animation=this;for(var t=n.getClips(),a=0;a<t.length;a++)this.addClip(t[a])},removeClip:function(n){var t=y.indexOf(this._clips,n);t>=0&&this._clips.splice(t,1)},removeAnimator:function(n){for(var t=n.getClips(),a=0;a<t.length;a++)this.removeClip(t[a]);n.animation=null},_update:function(){for(var n=new Date().getTime()-this._pausedTime,t=n-this._time,a=this._clips,o=a.length,r=[],c=[],e=0;e<o;e++){var s=a[e],u=s.step(n,t);u&&(r.push(u),c.push(s))}for(var e=0;e<o;)a[e]._needsRemove?(a[e]=a[o-1],a.pop(),o--):e++;o=r.length;for(var e=0;e<o;e++)c[e].fire(r[e]);this._time=n,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var n=this;this._running=!0;function t(){n._running&&(p(t),!n._paused&&n._update())}p(t)},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(n,t){t=t||{};var a=new v(n,t.loop,t.getter,t.setter);return this.addAnimator(a),a}},y.mixin(f,E);var d=f;B.exports=d},MRoa:function(B,N,i){var y=i("ProS");i("0Bwj"),i("W2nI"),i("vcCh");var m=i("gawk"),E=i("Dg8C");y.registerLayout(m),y.registerVisual(E)},MT78:function(B,N,i){var y=i("ProS");(function(){for(var E in y){if(y==null||!y.hasOwnProperty(E)||E==="default"||E==="__esModule")return;N[E]=y[E]}})();var m=i("txkQ");(function(){for(var E in m){if(m==null||!m.hasOwnProperty(E)||E==="default"||E==="__esModule")return;N[E]=m[E]}})(),i("A1Ka"),i("75ce"),i("lLGD"),i("wDdD"),i("Fa/5"),i("jett"),i("Z1wy"),i("75ev"),i("2uGb"),i("I+77"),i("B+YJ"),i("pLH3"),i("CBdT"),i("MRoa"),i("+lIL"),i("CF2D"),i("ERHi"),i("p+If"),i("XOKv"),i("qt/9"),i("bBL8"),i("1xaR"),i("4Feb"),i("zRKj"),i("L3Oj"),i("0HBW"),i("LPzL"),i("8waO"),i("k5C7"),i("f1nB"),i("sRwP"),i("AH3D"),i("y4/Y"),i("LzGr"),i("Ynxi"),i("7pVf"),i("2w7y"),i("laiN"),i("fjKi"),i("C0tN"),i("0o9m"),i("Cm0C"),i("f3JH"),i("5NHt"),i("VFCP"),i("dBmv"),i("KamJ"),i("8XDt"),i("juDX")},MXD1:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Kvyg"),p=i.n(E)},MZdM:function(B,N,i){"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 m=l(i("Lo0S")),E=f(i("N/zr")),p=i("GdRQ"),v=i("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 l(r){if(r&&r.__esModule)return r;if(r===null||y(r)!=="object"&&typeof r!="function")return{default:r};var c=d();if(c&&c.has(r))return c.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,c&&c.set(r,e),e}function n(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}function t(r,c){for(var e=0;e<c.length;e++){var s=c[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function a(r,c,e){return c&&t(r.prototype,c),e&&t(r,e),r}var o=function(){function r(c){if(n(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,m.Debug(">> Display.constructor"),this._target=c,!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},m.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),m.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(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,g=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),g+s>=this._fbHeight&&(s-=g+s-this._fbHeight+1),e===0&&s===0)return;m.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")&&(m.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,v.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,v.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 g=this._viewportLoc;this.viewportChangeSize(g.w,g.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,g=this._damageBounds.bottom-u,A=s-this._viewportLoc.x,w=u-this._viewportLoc.y;A<0&&(h+=A,s-=A,A=0),w<0&&(g+=w,u-=w,w=0),A+h>this._viewportLoc.w&&(h=this._viewportLoc.w-A),w+g>this._viewportLoc.h&&(g=this._viewportLoc.h-w),h>0&&g>0&&this._targetCtx.drawImage(this._backbuffer,s,u,h,g,A,w,h,g),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,g,A){this._renderQ.length!==0&&!A?this._renderQPush({type:"fill",x:e,y:s,width:u,height:h,color:g}):(this._setFillColor(g),this._drawCtx.fillRect(e,s,u,h),this._damage(e,s,u,h))}},{key:"copyImage",value:function(e,s,u,h,g,A,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"copy",oldX:e,oldY:s,x:u,y:h,width:g,height:A}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,s,g,A,u,h,g,A),this._damage(u,h,g,A))}},{key:"imageRect",value:function(e,s,u,h,g,A){if(u===0||h===0)return;var w=new Image;w.src="data: "+g+";base64,"+E.default.encode(A),this._renderQPush({type:"img",img:w,x:e,y:s,width:u,height:h})}},{key:"startTile",value:function(e,s,u,h,g){this._tileX=e,this._tileY=s,u===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,h);for(var A=g[2],w=g[1],b=g[0],S=this._tile.data,_=0;_<u*h*4;_+=4)S[_]=A,S[_+1]=w,S[_+2]=b,S[_+3]=255}},{key:"subTile",value:function(e,s,u,h,g){for(var A=g[2],w=g[1],b=g[0],S=e+u,_=s+h,T=this._tile.data,x=this._tile.width,C=s;C<_;C++)for(var I=e;I<S;I++){var L=(I+C*x)*4;T[L]=A,T[L+1]=w,T[L+2]=b,T[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,g,A,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(g.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,g,A)}},{key:"blitRgbImage",value:function(e,s,u,h,g,A,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*3);b.set(new Uint8Array(g.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,g,A)}},{key:"blitRgbxImage",value:function(e,s,u,h,g,A,w){if(this._renderQ.length!==0&&!w){var b=new Uint8Array(u*h*4);b.set(new Uint8Array(g.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,g,A)}},{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,g=e/s,A=h.w/h.h;A>=g?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,g,A){for(var w=this._drawCtx.createImageData(u,h),b=w.data,S=0,_=A;S<u*h*4;S+=4,_+=3)b[S]=g[_],b[S+1]=g[_+1],b[S+2]=g[_+2],b[S+3]=255;this._drawCtx.putImageData(w,e,s),this._damage(e,s,w.width,w.height)}},{key:"_bgrxImageData",value:function(e,s,u,h,g,A){for(var w=this._drawCtx.createImageData(u,h),b=w.data,S=0,_=A;S<u*h*4;S+=4,_+=4)b[S]=g[_+2],b[S+1]=g[_+1],b[S+2]=g[_],b[S+3]=255;this._drawCtx.putImageData(w,e,s),this._damage(e,s,w.width,w.height)}},{key:"_rgbxImageData",value:function(e,s,u,h,g,A){var w;p.supportsImageMetadata?w=new ImageData(new Uint8ClampedArray(g.buffer,g.byteOffset,u*h*4),u,h):(w=this._drawCtx.createImageData(u,h),w.data.set(new Uint8ClampedArray(g.buffer,g.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){m.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(B,N,i){var y=i("bYtY"),m=y.each,E="\0__link_datas",p="\0__link_mainData";function v(c){var e=c.mainData,s=c.datas;s||(s={main:e},c.datasAttr={main:"data"}),c.datas=c.mainData=null,a(e,s,c),m(s,function(u){m(e.TRANSFERABLE_METHODS,function(h){u.wrapMethod(h,y.curry(f,c))})}),e.wrapMethod("cloneShallow",y.curry(l,c)),m(e.CHANGABLE_METHODS,function(u){e.wrapMethod(u,y.curry(d,c))}),y.assert(s[e.dataType]===e)}function f(c,e){if(t(this)){var s=y.extend({},this[E]);s[this.dataType]=e,a(e,s,c)}else o(e,this.dataType,this[p],c);return e}function d(c,e){return c.struct&&c.struct.update(this),e}function l(c,e){return m(e[E],function(s,u){s!==e&&o(s.cloneShallow(),u,e,c)}),e}function n(c){var e=this[p];return c==null||e==null?e:e[E][c]}function t(c){return c[p]===c}function a(c,e,s){c[E]={},m(e,function(u,h){o(u,h,c,s)})}function o(c,e,s,u){s[E][e]=c,c[p]=s,c.dataType=e,u.struct&&(c[u.structAttr]=u.struct,u.struct[u.datasAttr[e]]=c),c.getLinkedData=n}var r=v;B.exports=r},Mds0:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("8IMR")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="StarFilled";var l=p.forwardRef(d);N.default=l},Mgri:function(B,N,i){for(var y=i("bYtY"),m=i("8nly"),E=[126,25],p=[[[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]]],v=0;v<p.length;v++)for(var f=0;f<p[v].length;f++)p[v][f][0]/=10.5,p[v][f][1]/=-10.5/.75,p[v][f][0]+=E[0],p[v][f][1]+=E[1];function d(l,n){l==="china"&&n.push(new m("\u5357\u6D77\u8BF8\u5C9B",y.map(p,function(t){return{type:"polygon",exterior:t}}),E))}B.exports=d},Mmt2:function(B,N,i){"use strict";function y(a){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(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return E=function(){return a},a}function p(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var o=E();if(o&&o.has(a))return o.get(a);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var s=c?Object.getOwnPropertyDescriptor(a,e):null;s&&(s.get||s.set)?Object.defineProperty(r,e,s):r[e]=a[e]}return r.default=a,o&&o.set(a,r),r}function v(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")}function f(a,o){for(var r=0;r<o.length;r++){var c=o[r];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}function d(a,o,r){return o&&f(a.prototype,o),r&&f(a,r),a}var l=!1,n=40*1024*1024,t=function(){function a(){v(this,a),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(a,[{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 c=0,e=r-1;e>=0;e--)c+=this._rQ[this._rQi++]<<e*8;return c}},{key:"rQshiftStr",value:function(r){typeof r=="undefined"&&(r=this.rQlen);for(var c="",e=0;e<r;e+=4096){var s=this.rQshiftBytes(Math.min(4096,r-e));c+=String.fromCharCode.apply(null,s)}return c}},{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,c){c===void 0&&(c=this.rQlen),r.set(new Uint8Array(this._rQ.buffer,this._rQi,c)),this._rQi+=c}},{key:"rQslice",value:function(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,c-r)}},{key:"rQwait",value:function(r,c,e){if(this.rQlen<c){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(c){return c.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,c){this._eventHandlers[r]=c}},{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,c){var e=this;this.init(),this._websocket=new WebSocket(r,c),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){m.Debug(">> WebSock.onopen"),e._websocket.protocol&&m.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),m.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){m.Debug(">> WebSock.onclose"),e._eventHandlers.close(s),m.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){m.Debug(">> WebSock.onerror: "+s),e._eventHandlers.error(s),m.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(m.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 c=(this._rQlen-this._rQi+r)*8,e=this._rQbufferSize<c;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,c)),this._rQbufferSize>n&&(this._rQbufferSize=n,this._rQbufferSize-this.rQlen<r))throw new Error("Receive Queue buffer exceeded "+n+" 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 l?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 c=new Uint8Array(r);c.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(c.length),this._rQ.set(c,this._rQlen),this._rQlen+=c.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)):m.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}}]),a}();N.default=t},MqEG:function(B,N,i){var y=i("bYtY"),m=i("fc+c"),E=i("72pK"),p=i("VXYp"),v=y.bind,f=m.extend({type:"dataZoom.inside",init:function(a,o){this._range},render:function(a,o,r,c){f.superApply(this,"render",arguments),this._range=a.getPercentRange(),y.each(this.getTargetCoordInfo(),function(e,s){var u=y.map(e,function(h){return p.generateCoordId(h.model)});y.each(e,function(h){var g=h.model,A={};y.each(["pan","zoom","scrollMove"],function(w){A[w]=v(d[w],this,h,s)},this),p.register(r,{coordId:p.generateCoordId(g),allCoordIds:u,containsPoint:function(w,b,S){return g.coordinateSystem.containPoint([b,S])},dataZoomId:a.id,dataZoomModel:a,getRange:A})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),f.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(a,o,r,c){var e=this._range,s=e.slice(),u=a.axisModels[0];if(!u)return;var h=n[o](null,[c.originX,c.originY],u,r,a),g=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0],A=Math.max(1/c.scale,0);s[0]=(s[0]-g)*A+g,s[1]=(s[1]-g)*A+g;var w=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(E(0,s,[0,100],0,w.minSpan,w.maxSpan),this._range=s,e[0]!==s[0]||e[1]!==s[1])return s},pan:l(function(a,o,r,c,e,s){var u=n[c]([s.oldX,s.oldY],[s.newX,s.newY],o,e,r);return u.signal*(a[1]-a[0])*u.pixel/u.pixelLength}),scrollMove:l(function(a,o,r,c,e,s){var u=n[c]([0,0],[s.scrollDelta,s.scrollDelta],o,e,r);return u.signal*(a[1]-a[0])*s.scrollDelta})};function l(a){return function(o,r,c,e){var s=this._range,u=s.slice(),h=o.axisModels[0];if(!h)return;var g=a(u,h,o,r,c,e);if(E(g,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var n={grid:function(a,o,r,c,e){var s=r.axis,u={},h=e.model.coordinateSystem.getRect();return a=a||[0,0],s.dim==="x"?(u.pixel=o[0]-a[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=s.inverse?1:-1):(u.pixel=o[1]-a[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=s.inverse?-1:1),u},polar:function(a,o,r,c,e){var s=r.axis,u={},h=e.model.coordinateSystem,g=h.getRadiusAxis().getExtent(),A=h.getAngleAxis().getExtent();return a=a?h.pointToCoord(a):[0,0],o=h.pointToCoord(o),r.mainType==="radiusAxis"?(u.pixel=o[0]-a[0],u.pixelLength=g[1]-g[0],u.pixelStart=g[0],u.signal=s.inverse?1:-1):(u.pixel=o[1]-a[1],u.pixelLength=A[1]-A[0],u.pixelStart=A[0],u.signal=s.inverse?-1:1),u},singleAxis:function(a,o,r,c,e){var s=r.axis,u=e.model.coordinateSystem.getRect(),h={};return a=a||[0,0],s.orient==="horizontal"?(h.pixel=o[0]-a[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=s.inverse?1:-1):(h.pixel=o[1]-a[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=s.inverse?-1:1),h}},t=f;B.exports=t},MwEJ:function(B,N,i){var y=i("bYtY"),m=i("YXkt"),E=i("sdST"),p=i("k9D9"),v=p.SOURCE_FORMAT_ORIGINAL,f=i("L0Ub"),d=f.getDimensionTypeByAxis,l=i("4NO4"),n=l.getDataItemValue,t=i("IDmD"),a=i("i38C"),o=a.getCoordSysInfoBySeries,r=i("7G+c"),c=i("7hqr"),e=c.enableDataStack,s=i("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function h(b,S,_){_=_||{},r.isInstance(b)||(b=r.seriesDataToSource(b));var T=S.get("coordinateSystem"),x=t.get(T),C=o(S),I;C&&(I=y.map(C.coordSysDims,function(D){var H={name:D},P=C.axisMap.get(D);if(P){var K=P.get("type");H.type=d(K)}return H})),I||(I=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var L=E(b,{coordDimensions:I,generateCoord:_.generateCoord,encodeDefaulter:_.useEncodeDefaulter?y.curry(u,I,S):null}),M,k;C&&y.each(L,function(D,H){var P=D.coordDim,K=C.categoryAxisMap.get(P);K&&(M==null&&(M=H),D.ordinalMeta=K.getOrdinalMeta()),D.otherDims.itemName!=null&&(k=!0)}),!k&&M!=null&&(L[M].otherDims.itemName=0);var R=e(S,L),j=new m(L,S);j.setCalculationInfo(R);var V=M!=null&&g(b)?function(D,H,P,K){return K===M?P:this.defaultDimValueGetter(D,H,P,K)}:null;return j.hasItemOption=!1,j.initData(b,null,V),j}function g(b){if(b.sourceFormat===v){var S=A(b.data||[]);return S!=null&&!y.isArray(n(S))}}function A(b){for(var S=0;S<b.length&&b[S]==null;)S++;return b[S]}var w=h;B.exports=w},Mylv:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("oVpE"),v=p.createSymbol,f=i("OELB"),d=f.parsePercent,l=f.isNumeric,n=i("56rv"),t=n.setLabel,a=["itemStyle","borderWidth"],o=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new E.Circle,c=y.extendChartView({type:"pictorialBar",render:function(U,G,W){var Z=this.group,J=U.getData(),ve=this._data,q=U.coordinateSystem,ce=q.getBaseAxis(),be=!!ce.isHorizontal(),Ce=q.grid.getRect(),Fe={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:U,coordSys:q,coordSysExtent:[[Ce.x,Ce.x+Ce.width],[Ce.y,Ce.y+Ce.height]],isHorizontal:be,valueDim:o[+be],categoryDim:o[1-be]};return J.diff(ve).add(function(fe){if(!J.hasValue(fe))return;var Ne=x(J,fe),Q=e(J,fe,Ne,Fe),ae=M(J,Fe,Q);J.setItemGraphicEl(fe,ae),Z.add(ae),H(ae,Fe,Q)}).update(function(fe,Ne){var Q=ve.getItemGraphicEl(Ne);if(!J.hasValue(fe)){Z.remove(Q);return}var ae=x(J,fe),Ue=e(J,fe,ae,Fe),te=j(J,Ue);Q&&te!==Q.__pictorialShapeStr&&(Z.remove(Q),J.setItemGraphicEl(fe,null),Q=null),Q?k(Q,Fe,Ue):Q=M(J,Fe,Ue,!0),J.setItemGraphicEl(fe,Q),Q.__pictorialSymbolMeta=Ue,Z.add(Q),H(Q,Fe,Ue)}).remove(function(fe){var Ne=ve.getItemGraphicEl(fe);Ne&&R(ve,fe,Ne.__pictorialSymbolMeta.animationModel,Ne)}).execute(),this._data=J,this.group},dispose:m.noop,remove:function(U,G){var W=this.group,Z=this._data;U.get("animation")?Z&&Z.eachItemGraphicEl(function(J){R(Z,J.dataIndex,U,J)}):W.removeAll()}});function e(U,G,W,Z){var J=U.getItemLayout(G),ve=W.get("symbolRepeat"),q=W.get("symbolClip"),ce=W.get("symbolPosition")||"start",be=W.get("symbolRotate"),Ce=(be||0)*Math.PI/180||0,Fe=W.get("symbolPatternSize")||2,fe=W.isAnimationEnabled(),Ne={dataIndex:G,layout:J,itemModel:W,symbolType:U.getItemVisual(G,"symbol")||"circle",color:U.getItemVisual(G,"color"),symbolClip:q,symbolRepeat:ve,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Fe,rotation:Ce,animationModel:fe?W:null,hoverAnimation:fe&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};s(W,ve,J,Z,Ne),h(U,G,J,ve,q,Ne.boundingLength,Ne.pxSign,Fe,Z,Ne),g(W,Ne.symbolScale,Ce,Z,Ne);var Q=Ne.symbolSize,ae=W.get("symbolOffset");return m.isArray(ae)&&(ae=[d(ae[0],Q[0]),d(ae[1],Q[1])]),A(W,Q,J,ve,q,ae,ce,Ne.valueLineWidth,Ne.boundingLength,Ne.repeatCutLength,Z,Ne),Ne}function s(U,G,W,Z,J){var ve=Z.valueDim,q=U.get("symbolBoundingData"),ce=Z.coordSys.getOtherAxis(Z.coordSys.getBaseAxis()),be=ce.toGlobalCoord(ce.dataToCoord(0)),Ce=1-+(W[ve.wh]<=0),Fe;if(m.isArray(q)){var fe=[u(ce,q[0])-be,u(ce,q[1])-be];fe[1]<fe[0]&&fe.reverse(),Fe=fe[Ce]}else q!=null?Fe=u(ce,q)-be:G?Fe=Z.coordSysExtent[ve.index][Ce]-be:Fe=W[ve.wh];J.boundingLength=Fe,G&&(J.repeatCutLength=W[ve.wh]),J.pxSign=Fe>0?1:Fe<0?-1:0}function u(U,G){return U.toGlobalCoord(U.dataToCoord(U.scale.parse(G)))}function h(U,G,W,Z,J,ve,q,ce,be,Ce){var Fe=be.valueDim,fe=be.categoryDim,Ne=Math.abs(W[fe.wh]),Q=U.getItemVisual(G,"symbolSize");m.isArray(Q)?Q=Q.slice():(Q==null&&(Q="100%"),Q=[Q,Q]),Q[fe.index]=d(Q[fe.index],Ne),Q[Fe.index]=d(Q[Fe.index],Z?Ne:Math.abs(ve)),Ce.symbolSize=Q;var ae=Ce.symbolScale=[Q[0]/ce,Q[1]/ce];ae[Fe.index]*=(be.isHorizontal?-1:1)*q}function g(U,G,W,Z,J){var ve=U.get(a)||0;ve&&(r.attr({scale:G.slice(),rotation:W}),r.updateTransform(),ve/=r.getLineScale(),ve*=G[Z.valueDim.index]),J.valueLineWidth=ve}function A(U,G,W,Z,J,ve,q,ce,be,Ce,Fe,fe){var Ne=Fe.categoryDim,Q=Fe.valueDim,ae=fe.pxSign,Ue=Math.max(G[Q.index]+ce,0),te=Ue;if(Z){var X=Math.abs(be),z=m.retrieve(U.get("symbolMargin"),"15%")+"",Y=!1;z.lastIndexOf("!")===z.length-1&&(Y=!0,z=z.slice(0,z.length-1)),z=d(z,G[Q.index]);var pe=Math.max(Ue+z*2,0),se=Y?0:z*2,Te=l(Z),Se=Te?Z:P((X+se)/pe),ie=X-Se*Ue;z=ie/2/(Y?Se:Se-1),pe=Ue+z*2,se=Y?0:z*2,!Te&&Z!=="fixed"&&(Se=Ce?P((Math.abs(Ce)+se)/pe):0),te=Se*pe-se,fe.repeatTimes=Se,fe.symbolMargin=z}var de=ae*(te/2),_e=fe.pathPosition=[];_e[Ne.index]=W[Ne.wh]/2,_e[Q.index]=q==="start"?de:q==="end"?be-de:be/2,ve&&(_e[0]+=ve[0],_e[1]+=ve[1]);var We=fe.bundlePosition=[];We[Ne.index]=W[Ne.xy],We[Q.index]=W[Q.xy];var at=fe.barRectShape=m.extend({},W);at[Q.wh]=ae*Math.max(Math.abs(W[Q.wh]),Math.abs(_e[Q.index]+de)),at[Ne.wh]=W[Ne.wh];var tt=fe.clipShape={};tt[Ne.xy]=-W[Ne.xy],tt[Ne.wh]=Fe.ecSize[Ne.wh],tt[Q.xy]=0,tt[Q.wh]=W[Q.wh]}function w(U){var G=U.symbolPatternSize,W=v(U.symbolType,-G/2,-G/2,G,G,U.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function b(U,G,W,Z){var J=U.__pictorialBundle,ve=W.symbolSize,q=W.valueLineWidth,ce=W.pathPosition,be=G.valueDim,Ce=W.repeatTimes||0,Fe=0,fe=ve[G.valueDim.index]+q+W.symbolMargin*2;for(V(U,function(X){X.__pictorialAnimationIndex=Fe,X.__pictorialRepeatTimes=Ce,Fe<Ce?D(X,null,ae(Fe),W,Z):D(X,null,{scale:[0,0]},W,Z,function(){J.remove(X)}),L(X,W),Fe++});Fe<Ce;Fe++){var Ne=w(W);Ne.__pictorialAnimationIndex=Fe,Ne.__pictorialRepeatTimes=Ce,J.add(Ne);var Q=ae(Fe);D(Ne,{position:Q.position,scale:[0,0]},{scale:Q.scale,rotation:Q.rotation},W,Z),Ne.on("mouseover",Ue).on("mouseout",te),L(Ne,W)}function ae(X){var z=ce.slice(),Y=W.pxSign,pe=X;return(W.symbolRepeatDirection==="start"?Y>0:Y<0)&&(pe=Ce-1-X),z[be.index]=fe*(pe-Ce/2+.5)+ce[be.index],{position:z,scale:W.symbolScale.slice(),rotation:W.rotation}}function Ue(){V(U,function(X){X.trigger("emphasis")})}function te(){V(U,function(X){X.trigger("normal")})}}function S(U,G,W,Z){var J=U.__pictorialBundle,ve=U.__pictorialMainPath;ve?D(ve,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,Z):(ve=U.__pictorialMainPath=w(W),J.add(ve),D(ve,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,Z),ve.on("mouseover",q).on("mouseout",ce)),L(ve,W);function q(){this.trigger("emphasis")}function ce(){this.trigger("normal")}}function _(U,G,W){var Z=m.extend({},G.barRectShape),J=U.__pictorialBarRect;J?D(J,null,{shape:Z},G,W):(J=U.__pictorialBarRect=new E.Rect({z2:2,shape:Z,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),U.add(J))}function T(U,G,W,Z){if(W.symbolClip){var J=U.__pictorialClipPath,ve=m.extend({},W.clipShape),q=G.valueDim,ce=W.animationModel,be=W.dataIndex;if(J)E.updateProps(J,{shape:ve},ce,be);else{ve[q.wh]=0,J=new E.Rect({shape:ve}),U.__pictorialBundle.setClipPath(J),U.__pictorialClipPath=J;var Ce={};Ce[q.wh]=W.clipShape[q.wh],E[Z?"updateProps":"initProps"](J,{shape:Ce},ce,be)}}}function x(U,G){var W=U.getItemModel(G);return W.getAnimationDelayParams=C,W.isAnimationEnabled=I,W}function C(U){return{index:U.__pictorialAnimationIndex,count:U.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(U,G){U.off("emphasis").off("normal");var W=G.symbolScale.slice();G.hoverAnimation&&U.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 M(U,G,W,Z){var J=new E.Group,ve=new E.Group;return J.add(ve),J.__pictorialBundle=ve,ve.attr("position",W.bundlePosition.slice()),W.symbolRepeat?b(J,G,W):S(J,G,W),_(J,W,Z),T(J,G,W,Z),J.__pictorialShapeStr=j(U,W),J.__pictorialSymbolMeta=W,J}function k(U,G,W){var Z=W.animationModel,J=W.dataIndex,ve=U.__pictorialBundle;E.updateProps(ve,{position:W.bundlePosition.slice()},Z,J),W.symbolRepeat?b(U,G,W,!0):S(U,G,W,!0),_(U,W,!0),T(U,G,W,!0)}function R(U,G,W,Z){var J=Z.__pictorialBarRect;J&&(J.style.text=null);var ve=[];V(Z,function(q){ve.push(q)}),Z.__pictorialMainPath&&ve.push(Z.__pictorialMainPath),Z.__pictorialClipPath&&(W=null),m.each(ve,function(q){E.updateProps(q,{scale:[0,0]},W,G,function(){Z.parent&&Z.parent.remove(Z)})}),U.setItemGraphicEl(G,null)}function j(U,G){return[U.getItemVisual(G.dataIndex,"symbol")||"none",!!G.symbolRepeat,!!G.symbolClip].join(":")}function V(U,G,W){m.each(U.__pictorialBundle.children(),function(Z){Z!==U.__pictorialBarRect&&G.call(W,Z)})}function D(U,G,W,Z,J,ve){G&&U.attr(G),Z.symbolClip&&!J?W&&U.attr(W):W&&E[J?"updateProps":"initProps"](U,W,Z.animationModel,Z.dataIndex,ve)}function H(U,G,W){var Z=W.color,J=W.dataIndex,ve=W.itemModel,q=ve.getModel("itemStyle").getItemStyle(["color"]),ce=ve.getModel("emphasis.itemStyle").getItemStyle(),be=ve.getShallow("cursor");V(U,function(Ne){Ne.setColor(Z),Ne.setStyle(m.defaults({fill:Z,opacity:W.opacity},q)),E.setHoverStyle(Ne,ce),be&&(Ne.cursor=be),Ne.z2=W.z2});var Ce={},Fe=G.valueDim.posDesc[+(W.boundingLength>0)],fe=U.__pictorialBarRect;t(fe.style,Ce,ve,Z,G.seriesModel,J,Fe),E.setHoverStyle(fe,Ce)}function P(U){var G=Math.round(U);return Math.abs(U-G)<1e-4?G:Math.ceil(U)}var K=c;B.exports=K},"N/zr":function(B,N,i){"use strict";function y(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(l){return typeof l}:y=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},y(f)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=p(i("Lo0S"));function E(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return E=function(){return f},f}function p(f){if(f&&f.__esModule)return f;if(f===null||y(f)!=="object"&&typeof f!="function")return{default:f};var d=E();if(d&&d.has(f))return d.get(f);var l={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in f)if(Object.prototype.hasOwnProperty.call(f,t)){var a=n?Object.getOwnPropertyDescriptor(f,t):null;a&&(a.get||a.set)?Object.defineProperty(l,t,a):l[t]=f[t]}return l.default=f,d&&d.set(f,l),l}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(d){"use strict";for(var l="",n=d.length,t=n%3,a=0;a<n-2;a+=3)l+=this.toBase64Table[d[a]>>2],l+=this.toBase64Table[((d[a]&3)<<4)+(d[a+1]>>4)],l+=this.toBase64Table[((d[a+1]&15)<<2)+(d[a+2]>>6)],l+=this.toBase64Table[d[a+2]&63];var o=n-t;return t===2?(l+=this.toBase64Table[d[o]>>2],l+=this.toBase64Table[((d[o]&3)<<4)+(d[o+1]>>4)],l+=this.toBase64Table[(d[o+1]&15)<<2],l+=this.toBase64Table[64]):t===1&&(l+=this.toBase64Table[d[o]>>2],l+=this.toBase64Table[(d[o]&3)<<4],l+=this.toBase64Table[64],l+=this.toBase64Table[64]),l},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 l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=d.indexOf("=")-l;n<0&&(n=d.length-l);for(var t=(n>>2)*3+Math.floor(n%4/1.5),a=new Array(t),o=0,r=0,c=0,e=l;e<d.length;e++){var s=this.toBinaryTable[d.charCodeAt(e)&127],u=d.charAt(e)===this.base64Pad;if(s===-1){m.Error("Illegal character code "+d.charCodeAt(e)+" at position "+e);continue}r=r<<6|s,o+=6,o>=8&&(o-=8,u||(a[c++]=r>>o&255),r&=(1<<o)-1)}if(o){var h=new Error("Corrupted base64 string");throw h.name="Base64-Error",h}return a}};N.default=v},N5BQ:function(B,N,i){var y=i("OlYY"),m=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"}}}),E=m;B.exports=E},NA0q:function(B,N,i){var y=i("bYtY"),m=i("6Ic6"),E=i("TkdX"),p=i("gPAo"),v=i("7aKB"),f=v.windowOpen,d="sunburstRootToNode",l=m.extend({type:"sunburst",init:function(){},render:function(t,a,o,r){var c=this;this.seriesModel=t,this.api=o,this.ecModel=a;var e=t.getData(),s=e.tree.root,u=t.getViewRoot(),h=this.group,g=t.get("renderLabelForZeroData"),A=[];u.eachNode(function(I){A.push(I)});var w=this._oldChildren||[];if(_(A,w),C(s,u),r&&r.highlight&&r.highlight.piece){var b=t.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(b)}else if(r&&r.unhighlight){var S=this.virtualPiece;!S&&s.children.length&&(S=s.children[0].piece),S&&S.onNormal()}this._initEvents(),this._oldChildren=A;function _(I,L){if(I.length===0&&L.length===0)return;new p(L,I,M,M).add(k).update(k).remove(y.curry(k,null)).execute();function M(R){return R.getId()}function k(R,j){var V=R==null?null:I[R],D=j==null?null:L[j];T(V,D)}}function T(I,L){if(!g&&I&&!I.getValue()&&(I=null),I!==s&&L!==s){if(L&&L.piece)I?(L.piece.updateData(!1,I,"normal",t,a),e.setItemGraphicEl(I.dataIndex,L.piece)):x(L);else if(I){var M=new E(I,t,a);h.add(M),e.setItemGraphicEl(I.dataIndex,M)}}}function x(I){if(!I)return;I.piece&&(h.remove(I.piece),I.piece=null)}function C(I,L){if(L.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,I,"normal",t,a):(c.virtualPiece=new E(I,t,a),h.add(c.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var M=function(k){c._rootToNode(L.parentNode)};L.piece._onclickEvent=M,c.virtualPiece.on("click",M)}else c.virtualPiece&&(h.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var t=this,a=function(o){var r=!1,c=t.seriesModel.getViewRoot();c.eachNode(function(e){if(!r&&e.piece&&e.piece.childAt(0)===o.target){var s=e.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(e);else if(s==="link"){var u=e.getModel(),h=u.get("link");if(h){var g=u.get("target",!0)||"_blank";f(h,g)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:d,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,a){var o=a.getData(),r=o.getItemLayout(0);if(r){var c=t[0]-r.cx,e=t[1]-r.cy,s=Math.sqrt(c*c+e*e);return s<=r.r&&s>=r.r0}}}),n=l;B.exports=n},NAnI:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("wXyp"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},NBmB:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.encodingName=m,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 m(E){switch(E){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 "+E+"]"}}},NC18:function(B,N,i){var y=i("y+Vt"),m=i("IMiH"),E=i("7oTu"),p=Math.sqrt,v=Math.sin,f=Math.cos,d=Math.PI,l=function(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])},n=function(A,w){return(A[0]*w[0]+A[1]*w[1])/(l(A)*l(w))},t=function(A,w){return(A[0]*w[1]<A[1]*w[0]?-1:1)*Math.acos(n(A,w))};function a(g,A,w,b,S,_,T,x,C,I,L){var M=C*(d/180),k=f(M)*(g-w)/2+v(M)*(A-b)/2,R=-1*v(M)*(g-w)/2+f(M)*(A-b)/2,j=k*k/(T*T)+R*R/(x*x);j>1&&(T*=p(j),x*=p(j));var V=(S===_?-1:1)*p((T*T*(x*x)-T*T*(R*R)-x*x*(k*k))/(T*T*(R*R)+x*x*(k*k)))||0,D=V*T*R/x,H=V*-x*k/T,P=(g+w)/2+f(M)*D-v(M)*H,K=(A+b)/2+v(M)*D+f(M)*H,U=t([1,0],[(k-D)/T,(R-H)/x]),G=[(k-D)/T,(R-H)/x],W=[(-1*k-D)/T,(-1*R-H)/x],Z=t(G,W);n(G,W)<=-1&&(Z=d),n(G,W)>=1&&(Z=0),_===0&&Z>0&&(Z=Z-2*d),_===1&&Z<0&&(Z=Z+2*d),L.addData(I,P,K,T,x,U,Z,M,_)}var o=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(g){if(!g)return new m;for(var A=0,w=0,b=A,S=w,_,T=new m,x=m.CMD,C=g.match(o),I=0;I<C.length;I++){for(var L=C[I],M=L.charAt(0),k,R=L.match(r)||[],j=R.length,V=0;V<j;V++)R[V]=parseFloat(R[V]);for(var D=0;D<j;){var H,P,K,U,G,W,Z,J=A,ve=w;switch(M){case"l":A+=R[D++],w+=R[D++],k=x.L,T.addData(k,A,w);break;case"L":A=R[D++],w=R[D++],k=x.L,T.addData(k,A,w);break;case"m":A+=R[D++],w+=R[D++],k=x.M,T.addData(k,A,w),b=A,S=w,M="l";break;case"M":A=R[D++],w=R[D++],k=x.M,T.addData(k,A,w),b=A,S=w,M="L";break;case"h":A+=R[D++],k=x.L,T.addData(k,A,w);break;case"H":A=R[D++],k=x.L,T.addData(k,A,w);break;case"v":w+=R[D++],k=x.L,T.addData(k,A,w);break;case"V":w=R[D++],k=x.L,T.addData(k,A,w);break;case"C":k=x.C,T.addData(k,R[D++],R[D++],R[D++],R[D++],R[D++],R[D++]),A=R[D-2],w=R[D-1];break;case"c":k=x.C,T.addData(k,R[D++]+A,R[D++]+w,R[D++]+A,R[D++]+w,R[D++]+A,R[D++]+w),A+=R[D-2],w+=R[D-1];break;case"S":H=A,P=w;var q=T.len(),ce=T.data;_===x.C&&(H+=A-ce[q-4],P+=w-ce[q-3]),k=x.C,J=R[D++],ve=R[D++],A=R[D++],w=R[D++],T.addData(k,H,P,J,ve,A,w);break;case"s":H=A,P=w;var q=T.len(),ce=T.data;_===x.C&&(H+=A-ce[q-4],P+=w-ce[q-3]),k=x.C,J=A+R[D++],ve=w+R[D++],A+=R[D++],w+=R[D++],T.addData(k,H,P,J,ve,A,w);break;case"Q":J=R[D++],ve=R[D++],A=R[D++],w=R[D++],k=x.Q,T.addData(k,J,ve,A,w);break;case"q":J=R[D++]+A,ve=R[D++]+w,A+=R[D++],w+=R[D++],k=x.Q,T.addData(k,J,ve,A,w);break;case"T":H=A,P=w;var q=T.len(),ce=T.data;_===x.Q&&(H+=A-ce[q-4],P+=w-ce[q-3]),A=R[D++],w=R[D++],k=x.Q,T.addData(k,H,P,A,w);break;case"t":H=A,P=w;var q=T.len(),ce=T.data;_===x.Q&&(H+=A-ce[q-4],P+=w-ce[q-3]),A+=R[D++],w+=R[D++],k=x.Q,T.addData(k,H,P,A,w);break;case"A":K=R[D++],U=R[D++],G=R[D++],W=R[D++],Z=R[D++],J=A,ve=w,A=R[D++],w=R[D++],k=x.A,a(J,ve,A,w,W,Z,K,U,G,k,T);break;case"a":K=R[D++],U=R[D++],G=R[D++],W=R[D++],Z=R[D++],J=A,ve=w,A+=R[D++],w+=R[D++],k=x.A,a(J,ve,A,w,W,Z,K,U,G,k,T);break}}(M==="z"||M==="Z")&&(k=x.Z,T.addData(k),A=b,w=S),_=k}return T.toStatic(),T}function e(g,A){var w=c(g);return A=A||{},A.buildPath=function(b){if(b.setData){b.setData(w.data);var S=b.getContext();S&&b.rebuildPath(S)}else{var S=b;w.rebuildPath(S)}},A.applyTransform=function(b){E(w,b),this.dirty(!0)},A}function s(g,A){return new y(e(g,A))}function u(g,A){return y.extend(e(g,A))}function h(g,A){for(var w=[],b=g.length,S=0;S<b;S++){var _=g[S];_.path||_.createPathProxy(),_.__dirtyPath&&_.buildPath(_.path,_.shape,!0),w.push(_.path)}var T=new y(A);return T.createPathProxy(),T.buildPath=function(x){x.appendPath(w);var C=x.getContext();C&&x.rebuildPath(C)},T}N.createFromString=s,N.extendFromString=u,N.mergePath=h},NH9N:function(B,N,i){var y=i("bYtY"),m=i("mFDi"),E=i("Fofx"),p=i("IwbS"),v=i("+TT/"),f=i("kzvK"),d=i("CMP+"),l=i("oVpE"),n=l.createSymbol,t=i("aX7z"),a=i("OELB"),o=i("7aKB"),r=o.encodeHTML,c=y.bind,e=y.each,s=Math.PI,u=f.extend({type:"timeline.slider",init:function(b,S){this.api=S,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(b,S,_,T){if(this.model=b,this.api=_,this.ecModel=S,this.group.removeAll(),b.get("show",!0)){var x=this._layout(b,_),C=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),L=this._axis=this._createAxis(x,b);b.formatTooltip=function(M){return r(L.scale.getLabel(M))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(M){this["_render"+M](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,S){var _=b.get("label.position"),T=b.get("orient"),x=h(b,S);_==null||_==="auto"?_=T==="horizontal"?x.y+x.height/2<S.getHeight()/2?"-":"+":x.x+x.width/2<S.getWidth()/2?"+":"-":isNaN(_)&&(_={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[T][_]);var C={horizontal:"center",vertical:_>=0||_==="+"?"left":"right"},I={horizontal:_>=0||_==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:s/2},M=T==="vertical"?x.height:x.width,k=b.getModel("controlStyle"),R=k.get("show",!0),j=R?k.get("itemSize"):0,V=R?k.get("itemGap"):0,D=j+V,H=b.get("label.rotate")||0;H=H*s/180;var P,K,U,G,W=k.get("position",!0),Z=R&&k.get("showPlayBtn",!0),J=R&&k.get("showPrevBtn",!0),ve=R&&k.get("showNextBtn",!0),q=0,ce=M;return W==="left"||W==="bottom"?(Z&&(P=[0,0],q+=D),J&&(K=[q,0],q+=D),ve&&(U=[ce-j,0],ce-=D)):(Z&&(P=[ce-j,0],ce-=D),J&&(K=[0,0],q+=D),ve&&(U=[ce-j,0],ce-=D)),G=[q,ce],b.get("inverse")&&G.reverse(),{viewRect:x,mainLength:M,orient:T,rotation:L[T],labelRotation:H,labelPosOpt:_,labelAlign:b.get("label.align")||C[T],labelBaseline:b.get("label.verticalAlign")||b.get("label.baseline")||I[T],playPosition:P,prevBtnPosition:K,nextBtnPosition:U,axisExtent:G,controlSize:j,controlGap:V}},_position:function(b,S){var _=this._mainGroup,T=this._labelGroup,x=b.viewRect;if(b.orient==="vertical"){var C=E.create(),I=x.x,L=x.y+x.height;E.translate(C,C,[-I,-L]),E.rotate(C,C,-s/2),E.translate(C,C,[I,L]),x=x.clone(),x.applyTransform(C)}var M=K(x),k=K(_.getBoundingRect()),R=K(T.getBoundingRect()),j=_.position,V=T.position;V[0]=j[0]=M[0][0];var D=b.labelPosOpt;if(isNaN(D)){var H=D==="+"?0:1;U(j,k,M,1,H),U(V,R,M,1,1-H)}else{var H=D>=0?0:1;U(j,k,M,1,H),V[1]=j[1]+D}_.attr("position",j),T.attr("position",V),_.rotation=T.rotation=b.rotation,P(_),P(T);function P(G){var W=G.position;G.origin=[M[0][0]-W[0],M[1][0]-W[1]]}function K(G){return[[G.x,G.x+G.width],[G.y,G.y+G.height]]}function U(G,W,Z,J,ve){G[J]+=Z[J][ve]-W[J][ve]}},_createAxis:function(b,S){var _=S.getData(),T=S.get("axisType"),x=t.createScaleByModel(S,T);x.getTicks=function(){return _.mapArray(["value"],function(L){return L})};var C=_.getDataExtent("value");x.setExtent(C[0],C[1]),x.niceTicks();var I=new d("value",x,b.axisExtent,T);return I.model=S,I},_createGroup:function(b){var S=this["_"+b]=new p.Group;return this.group.add(S),S},_renderAxisLine:function(b,S,_,T){var x=_.getExtent();if(!T.get("lineStyle.show"))return;S.add(new p.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:y.extend({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(b,S,_,T){var x=T.getData(),C=_.scale.getTicks();e(C,function(I){var L=_.dataToCoord(I),M=x.getItemModel(I),k=M.getModel("itemStyle"),R=M.getModel("emphasis.itemStyle"),j={position:[L,0],onclick:c(this._changeTimeline,this,I)},V=A(M,k,S,j);p.setHoverStyle(V,R.getItemStyle()),M.get("tooltip")?(V.dataIndex=I,V.dataModel=T):V.dataIndex=V.dataModel=null},this)},_renderAxisLabel:function(b,S,_,T){var x=_.getLabelModel();if(!x.get("show"))return;var C=T.getData(),I=_.getViewLabels();e(I,function(L){var M=L.tickValue,k=C.getItemModel(M),R=k.getModel("label"),j=k.getModel("emphasis.label"),V=_.dataToCoord(L.tickValue),D=new p.Text({position:[V,0],rotation:b.labelRotation-b.rotation,onclick:c(this._changeTimeline,this,M),silent:!1});p.setTextStyle(D.style,R,{text:L.formattedLabel,textAlign:b.labelAlign,textVerticalAlign:b.labelBaseline}),S.add(D),p.setHoverStyle(D,p.setTextStyle({},j))},this)},_renderControl:function(b,S,_,T){var x=b.controlSize,C=b.rotation,I=T.getModel("controlStyle").getItemStyle(),L=T.getModel("emphasis.controlStyle").getItemStyle(),M=[0,-x/2,x,x],k=T.getPlayState(),R=T.get("inverse",!0);j(b.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,R?"-":"+")),j(b.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,R?"+":"-")),j(b.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!k),!0);function j(V,D,H,P){if(!V)return;var K={position:V,origin:[x/2,0],rotation:P?-C:0,rectHover:!0,style:I,onclick:H},U=g(T,D,M,K);S.add(U),p.setHoverStyle(U,L)}},_renderCurrentPointer:function(b,S,_,T){var x=T.getData(),C=T.getCurrentIndex(),I=x.getItemModel(C).getModel("checkpointStyle"),L=this,M={onCreate:function(k){k.draggable=!0,k.drift=c(L._handlePointerDrag,L),k.ondragend=c(L._handlePointerDragend,L),w(k,C,_,T,!0)},onUpdate:function(k){w(k,C,_,T)}};this._currentPointer=A(I,I,this._mainGroup,{},this._currentPointer,M)},_handlePlayClick:function(b){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:b,from:this.uid})},_handlePointerDrag:function(b,S,_){this._clearTimer(),this._pointerChangeTimeline([_.offsetX,_.offsetY])},_handlePointerDragend:function(b){this._pointerChangeTimeline([b.offsetX,b.offsetY],!0)},_pointerChangeTimeline:function(b,S){var _=this._toAxisCoord(b)[0],T=this._axis,x=a.asc(T.getExtent().slice());_>x[1]&&(_=x[1]),_<x[0]&&(_=x[0]),this._currentPointer.position[0]=_,this._currentPointer.dirty();var C=this._findNearestTick(_),I=this.model;(S||C!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(c(b,this),this.model.get("playInterval")));function b(){var S=this.model;this._changeTimeline(S.getCurrentIndex()+(S.get("rewind",!0)?-1:1))}},_toAxisCoord:function(b){var S=this._mainGroup.getLocalTransform();return p.applyTransform(b,S,!0)},_findNearestTick:function(b){var S=this.model.getData(),_=Infinity,T,x=this._axis;return S.each(["value"],function(C,I){var L=x.dataToCoord(C),M=Math.abs(L-b);M<_&&(_=M,T=I)}),T},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(b){var S=this.model.getCurrentIndex();b==="+"?b=S+1:b==="-"&&(b=S-1),this.api.dispatchAction({type:"timelineChange",currentIndex:b,from:this.uid})}});function h(b,S){return v.getLayoutRect(b.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()},b.get("padding"))}function g(b,S,_,T){var x=p.makePath(b.get(S).replace(/^path:\/\//,""),y.clone(T||{}),new m(_[0],_[1],_[2],_[3]),"center");return x}function A(b,S,_,T,x,C){var I=S.get("color");if(x)x.setColor(I),_.add(x),C&&C.onUpdate(x);else{var L=b.get("symbol");x=n(L,-1,-1,2,2,I),x.setStyle("strokeNoScale",!0),_.add(x),C&&C.onCreate(x)}var M=S.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(M),T=y.merge({rectHover:!0,z2:100},T,!0);var k=b.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,T.scale=k;var R=b.get("symbolOffset");if(R){var j=T.position=T.position||[0,0];j[0]+=a.parsePercent(R[0],k[0]),j[1]+=a.parsePercent(R[1],k[1])}var V=b.get("symbolRotate");return T.rotation=(V||0)*Math.PI/180||0,x.attr(T),x.updateTransform(),x}function w(b,S,_,T,x){if(b.dragging)return;var C=T.getModel("checkpointStyle"),I=_.dataToCoord(T.getData().get(["value"],S));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)))}B.exports=u},NJEC:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("sKbD"),t=i.n(n),a=i("4IlW"),o=i("3S7+"),r=i("2/Rp"),c=i("zvFY"),e=i("YMnH"),s=i("ZvpZ"),u=i("H84U"),h=i("bogI"),g=i("0n0R"),A=void 0,w=function(S,_){var T={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&_.indexOf(x)<0&&(T[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(S);C<x.length;C++)_.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(S,x[C])&&(T[x[C]]=S[x[C]]);return T},b=v.forwardRef(function(S,_){var T=v.useState(S.visible),x=p()(T,2),C=x[0],I=x[1];v.useEffect(function(){"visible"in S&&I(S.visible)},[S.visible]),v.useEffect(function(){"defaultVisible"in S&&I(S.defaultVisible)},[S.defaultVisible]);var L=function(be,Ce){"visible"in S||I(be),S.onVisibleChange&&S.onVisibleChange(be,Ce)},M=function(be){L(!1,be),S.onConfirm&&S.onConfirm.call(A,be)},k=function(be){L(!1,be),S.onCancel&&S.onCancel.call(A,be)},R=function(be){be.keyCode===a.a.ESC&&C&&L(!1,be)},j=function(be){var Ce=S.disabled;if(Ce)return;L(be)},V=function(be,Ce){var Fe=S.okButtonProps,fe=S.cancelButtonProps,Ne=S.title,Q=S.cancelText,ae=S.okText,Ue=S.okType,te=S.icon;return v.createElement("div",{className:"".concat(be,"-inner-content")},v.createElement("div",{className:"".concat(be,"-message")},te,v.createElement("div",{className:"".concat(be,"-message-title")},Object(h.a)(Ne))),v.createElement("div",{className:"".concat(be,"-buttons")},v.createElement(r.a,m()({onClick:k,size:"small"},fe),Q||Ce.cancelText),v.createElement(r.a,m()({onClick:M},Object(c.a)(Ue),{size:"small"},Fe),ae||Ce.okText)))},D=v.useContext(u.b),H=D.getPrefixCls,P=S.prefixCls,K=S.placement,U=S.children,G=S.overlayClassName,W=w(S,["prefixCls","placement","children","overlayClassName"]),Z=H("popover",P),J=H("popconfirm",P),ve=l()(J,G),q=v.createElement(e.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ce){return V(Z,ce)});return v.createElement(o.a,m()({},W,{prefixCls:Z,placement:K,onVisibleChange:j,visible:C,overlay:q,overlayClassName:ve,ref:_}),Object(g.a)(U,{onKeyDown:function(be){var Ce,Fe;(Fe=U==null?void 0:(Ce=U.props).onKeyDown)===null||Fe===void 0||Fe.call(Ce,be),R(be)}}))});b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(t.a,null),disabled:!1},N.a=b},NUBc:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("wx14"),l=i("rePB"),n=i("VTBJ"),t=i("1OyB"),a=i("vuIU"),o=i("Ji7U"),r=i("LK+K"),c=i("TSYQ"),e=i.n(c),s=function(Ce){var Fe,fe="".concat(Ce.rootPrefixCls,"-item"),Ne=e()(fe,"".concat(fe,"-").concat(Ce.page),(Fe={},Object(l.a)(Fe,"".concat(fe,"-active"),Ce.active),Object(l.a)(Fe,Ce.className,!!Ce.className),Object(l.a)(Fe,"".concat(fe,"-disabled"),!Ce.page),Fe)),Q=function(){Ce.onClick(Ce.page)},ae=function(te){Ce.onKeyPress(te,Ce.onClick,Ce.page)};return f.a.createElement("li",{title:Ce.showTitle?Ce.page:null,className:Ne,onClick:Q,onKeyPress:ae,tabIndex:"0"},Ce.itemRender(Ce.page,"page",f.a.createElement("a",{rel:"nofollow"},Ce.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},g=function(be){Object(o.a)(Fe,be);var Ce=Object(r.a)(Fe);function Fe(){var fe;Object(t.a)(this,Fe);for(var Ne=arguments.length,Q=new Array(Ne),ae=0;ae<Ne;ae++)Q[ae]=arguments[ae];return fe=Ce.call.apply(Ce,[this].concat(Q)),fe.state={goInputText:""},fe.buildOptionText=function(Ue){return"".concat(Ue," ").concat(fe.props.locale.items_per_page)},fe.changeSize=function(Ue){fe.props.changeSize(Number(Ue))},fe.handleChange=function(Ue){fe.setState({goInputText:Ue.target.value})},fe.handleBlur=function(Ue){var te=fe.props,X=te.goButton,z=te.quickGo,Y=te.rootPrefixCls,pe=fe.state.goInputText;if(X||pe==="")return;if(Ue.relatedTarget&&(Ue.relatedTarget.className.indexOf("".concat(Y,"-prev"))>=0||Ue.relatedTarget.className.indexOf("".concat(Y,"-next"))>=0))return;fe.setState({goInputText:""}),z(fe.getValidValue())},fe.go=function(Ue){var te=fe.state.goInputText;if(te==="")return;(Ue.keyCode===h.ENTER||Ue.type==="click")&&(fe.setState({goInputText:""}),fe.props.quickGo(fe.getValidValue()))},fe}return Object(a.a)(Fe,[{key:"getValidValue",value:function(){var Ne=this.state,Q=Ne.goInputText,ae=Ne.current;return!Q||isNaN(Q)?ae:Number(Q)}},{key:"getPageSizeOptions",value:function(){var Ne=this.props,Q=Ne.pageSize,ae=Ne.pageSizeOptions;return ae.some(function(Ue){return Ue.toString()===Q.toString()})?ae:ae.concat([Q.toString()]).sort(function(Ue,te){var X=isNaN(Number(Ue))?0:Number(Ue),z=isNaN(Number(te))?0:Number(te);return X-z})}},{key:"render",value:function(){var Ne=this,Q=this.props,ae=Q.pageSize,Ue=Q.locale,te=Q.rootPrefixCls,X=Q.changeSize,z=Q.quickGo,Y=Q.goButton,pe=Q.selectComponentClass,se=Q.buildOptionText,Te=Q.selectPrefixCls,Se=Q.disabled,ie=this.state.goInputText,de="".concat(te,"-options"),_e=pe,We=null,at=null,tt=null;if(!X&&!z)return null;var Oe=this.getPageSizeOptions();if(X&&_e){var yt=Oe.map(function(Ye,bt){return f.a.createElement(_e.Option,{key:bt,value:Ye.toString()},(se||Ne.buildOptionText)(Ye))});We=f.a.createElement(_e,{disabled:Se,prefixCls:Te,showSearch:!1,className:"".concat(de,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ae||Oe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(bt){return bt.parentNode}},yt)}return z&&(Y&&(tt=typeof Y=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Se,className:"".concat(de,"-quick-jumper-button")},Ue.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Y)),at=f.a.createElement("div",{className:"".concat(de,"-quick-jumper")},Ue.jump_to,f.a.createElement("input",{disabled:Se,type:"text",value:ie,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ue.page,tt)),f.a.createElement("li",{className:"".concat(de)},We,at)}}]),Fe}(f.a.Component);g.defaultProps={pageSizeOptions:["10","20","50","100"]};var A=g,w=i("N2Kk");function b(){}function S(be){return typeof be=="number"&&isFinite(be)&&Math.floor(be)===be}function _(be,Ce,Fe){return Fe}function T(be,Ce,Fe){var fe=typeof be=="undefined"?Ce.pageSize:be;return Math.floor((Fe.total-1)/fe)+1}var x=function(be){Object(o.a)(Fe,be);var Ce=Object(r.a)(Fe);function Fe(fe){var Ne;Object(t.a)(this,Fe),Ne=Ce.call(this,fe),Ne.getJumpPrevPage=function(){return Math.max(1,Ne.state.current-(Ne.props.showLessItems?3:5))},Ne.getJumpNextPage=function(){return Math.min(T(void 0,Ne.state,Ne.props),Ne.state.current+(Ne.props.showLessItems?3:5))},Ne.getItemIcon=function(X,z){var Y=Ne.props.prefixCls,pe=X||f.a.createElement("button",{type:"button","aria-label":z,className:"".concat(Y,"-item-link")});return typeof X=="function"&&(pe=f.a.createElement(X,Object(n.a)({},Ne.props))),pe},Ne.savePaginationNode=function(X){Ne.paginationNode=X},Ne.isValid=function(X){return S(X)&&X!==Ne.state.current},Ne.shouldDisplayQuickJumper=function(){var X=Ne.props,z=X.showQuickJumper,Y=X.pageSize,pe=X.total;return pe<=Y?!1:z},Ne.handleKeyDown=function(X){(X.keyCode===h.ARROW_UP||X.keyCode===h.ARROW_DOWN)&&X.preventDefault()},Ne.handleKeyUp=function(X){var z=Ne.getValidValue(X),Y=Ne.state.currentInputValue;z!==Y&&Ne.setState({currentInputValue:z}),X.keyCode===h.ENTER?Ne.handleChange(z):X.keyCode===h.ARROW_UP?Ne.handleChange(z-1):X.keyCode===h.ARROW_DOWN&&Ne.handleChange(z+1)},Ne.changePageSize=function(X){var z=Ne.state.current,Y=T(X,Ne.state,Ne.props);z=z>Y?Y:z,Y===0&&(z=Ne.state.current),typeof X=="number"&&("pageSize"in Ne.props||Ne.setState({pageSize:X}),"current"in Ne.props||Ne.setState({current:z,currentInputValue:z})),Ne.props.onShowSizeChange(z,X),"onChange"in Ne.props&&Ne.props.onChange&&Ne.props.onChange(z,X)},Ne.handleChange=function(X){var z=Ne.props.disabled,Y=X;if(Ne.isValid(Y)&&!z){var pe=T(void 0,Ne.state,Ne.props);Y>pe?Y=pe:Y<1&&(Y=1),"current"in Ne.props||Ne.setState({current:Y,currentInputValue:Y});var se=Ne.state.pageSize;return Ne.props.onChange(Y,se),Y}return Ne.state.current},Ne.prev=function(){Ne.hasPrev()&&Ne.handleChange(Ne.state.current-1)},Ne.next=function(){Ne.hasNext()&&Ne.handleChange(Ne.state.current+1)},Ne.jumpPrev=function(){Ne.handleChange(Ne.getJumpPrevPage())},Ne.jumpNext=function(){Ne.handleChange(Ne.getJumpNextPage())},Ne.hasPrev=function(){return Ne.state.current>1},Ne.hasNext=function(){return Ne.state.current<T(void 0,Ne.state,Ne.props)},Ne.runIfEnter=function(X,z){if(X.key==="Enter"||X.charCode===13){for(var Y=arguments.length,pe=new Array(Y>2?Y-2:0),se=2;se<Y;se++)pe[se-2]=arguments[se];z.apply(void 0,pe)}},Ne.runIfEnterPrev=function(X){Ne.runIfEnter(X,Ne.prev)},Ne.runIfEnterNext=function(X){Ne.runIfEnter(X,Ne.next)},Ne.runIfEnterJumpPrev=function(X){Ne.runIfEnter(X,Ne.jumpPrev)},Ne.runIfEnterJumpNext=function(X){Ne.runIfEnter(X,Ne.jumpNext)},Ne.handleGoTO=function(X){(X.keyCode===h.ENTER||X.type==="click")&&Ne.handleChange(Ne.state.currentInputValue)};var Q=fe.onChange!==b,ae="current"in fe;ae&&!Q&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ue=fe.defaultCurrent;"current"in fe&&(Ue=fe.current);var te=fe.defaultPageSize;return"pageSize"in fe&&(te=fe.pageSize),Ue=Math.min(Ue,T(te,void 0,fe)),Ne.state={current:Ue,currentInputValue:Ue,pageSize:te},Ne}return Object(a.a)(Fe,[{key:"componentDidUpdate",value:function(Ne,Q){var ae=this.props.prefixCls;if(Q.current!==this.state.current&&this.paginationNode){var Ue=this.paginationNode.querySelector(".".concat(ae,"-item-").concat(Q.current));Ue&&document.activeElement===Ue&&Ue.blur()}}},{key:"getValidValue",value:function(Ne){var Q=Ne.target.value,ae=T(void 0,this.state,this.props),Ue=this.state.currentInputValue,te;return Q===""?te=Q:isNaN(Number(Q))?te=Ue:Q>=ae?te=ae:te=Number(Q),te}},{key:"getShowSizeChanger",value:function(){var Ne=this.props,Q=Ne.showSizeChanger,ae=Ne.total,Ue=Ne.totalBoundaryShowSizeChanger;return typeof Q!="undefined"?Q:ae>Ue}},{key:"renderPrev",value:function(Ne){var Q=this.props,ae=Q.prevIcon,Ue=Q.itemRender,te=Ue(Ne,"prev",this.getItemIcon(ae,"prev page")),X=!this.hasPrev();return Object(v.isValidElement)(te)?Object(v.cloneElement)(te,{disabled:X}):te}},{key:"renderNext",value:function(Ne){var Q=this.props,ae=Q.nextIcon,Ue=Q.itemRender,te=Ue(Ne,"next",this.getItemIcon(ae,"next page")),X=!this.hasNext();return Object(v.isValidElement)(te)?Object(v.cloneElement)(te,{disabled:X}):te}},{key:"render",value:function(){var Ne=this,Q=this.props,ae=Q.prefixCls,Ue=Q.className,te=Q.style,X=Q.disabled,z=Q.hideOnSinglePage,Y=Q.total,pe=Q.locale,se=Q.showQuickJumper,Te=Q.showLessItems,Se=Q.showTitle,ie=Q.showTotal,de=Q.simple,_e=Q.itemRender,We=Q.showPrevNextJumpers,at=Q.jumpPrevIcon,tt=Q.jumpNextIcon,Oe=Q.selectComponentClass,yt=Q.selectPrefixCls,Ye=Q.pageSizeOptions,bt=this.state,Ct=bt.current,It=bt.pageSize,Ft=bt.currentInputValue;if(z===!0&&Y<=It)return null;var Vt=T(void 0,this.state,this.props),$e=[],ge=null,ne=null,wt=null,qe=null,he=null,kt=se&&se.goButton,nr=Te?1:2,lt=Ct-1>0?Ct-1:0,Xt=Ct+1<Vt?Ct+1:Vt,hr=Object.keys(this.props).reduce(function(mn,Tt){return(Tt.substr(0,5)==="data-"||Tt.substr(0,5)==="aria-"||Tt==="role")&&(mn[Tt]=Ne.props[Tt]),mn},{});if(de)return kt&&(typeof kt=="boolean"?he=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pe.jump_to_confirm):he=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},kt),he=f.a.createElement("li",{title:Se?"".concat(pe.jump_to).concat(Ct,"/").concat(Vt):null,className:"".concat(ae,"-simple-pager")},he)),f.a.createElement("ul",Object(d.a)({className:e()(ae,"".concat(ae,"-simple"),Object(l.a)({},"".concat(ae,"-disabled"),X),Ue),style:te,ref:this.savePaginationNode},hr),f.a.createElement("li",{title:Se?pe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ae,"-prev"),Object(l.a)({},"".concat(ae,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(lt)),f.a.createElement("li",{title:Se?"".concat(Ct,"/").concat(Vt):null,className:"".concat(ae,"-simple-pager")},f.a.createElement("input",{type:"text",value:Ft,disabled:X,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(ae,"-slash")},"/"),Vt),f.a.createElement("li",{title:Se?pe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat(ae,"-next"),Object(l.a)({},"".concat(ae,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xt)),he);if(Vt<=3+nr*2){var Wr={locale:pe,rootPrefixCls:ae,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Se,itemRender:_e};Vt||$e.push(f.a.createElement(u,Object(d.a)({},Wr,{key:"noPager",page:Vt,className:"".concat(ae,"-disabled")})));for(var mt=1;mt<=Vt;mt+=1){var Et=Ct===mt;$e.push(f.a.createElement(u,Object(d.a)({},Wr,{key:mt,page:mt,active:Et})))}}else{var rt=Te?pe.prev_3:pe.prev_5,He=Te?pe.next_3:pe.next_5;We&&(ge=f.a.createElement("li",{title:Se?rt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat(ae,"-jump-prev"),Object(l.a)({},"".concat(ae,"-jump-prev-custom-icon"),!!at))},_e(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(at,"prev page"))),ne=f.a.createElement("li",{title:Se?He:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat(ae,"-jump-next"),Object(l.a)({},"".concat(ae,"-jump-next-custom-icon"),!!tt))},_e(this.getJumpNextPage(),"jump-next",this.getItemIcon(tt,"next page")))),qe=f.a.createElement(u,{locale:pe,last:!0,rootPrefixCls:ae,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Vt,page:Vt,active:!1,showTitle:Se,itemRender:_e}),wt=f.a.createElement(u,{locale:pe,rootPrefixCls:ae,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Se,itemRender:_e});var ze=Math.max(1,Ct-nr),Rt=Math.min(Ct+nr,Vt);Ct-1<=nr&&(Rt=1+nr*2),Vt-Ct<=nr&&(ze=Vt-nr*2);for(var sr=ze;sr<=Rt;sr+=1){var Jt=Ct===sr;$e.push(f.a.createElement(u,{locale:pe,rootPrefixCls:ae,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:sr,page:sr,active:Jt,showTitle:Se,itemRender:_e}))}Ct-1>=nr*2&&Ct!==1+2&&($e[0]=Object(v.cloneElement)($e[0],{className:"".concat(ae,"-item-after-jump-prev")}),$e.unshift(ge)),Vt-Ct>=nr*2&&Ct!==Vt-2&&($e[$e.length-1]=Object(v.cloneElement)($e[$e.length-1],{className:"".concat(ae,"-item-before-jump-next")}),$e.push(ne)),ze!==1&&$e.unshift(wt),Rt!==Vt&&$e.push(qe)}var qt=null;ie&&(qt=f.a.createElement("li",{className:"".concat(ae,"-total-text")},ie(Y,[Y===0?0:(Ct-1)*It+1,Ct*It>Y?Y:Ct*It])));var qr=!this.hasPrev()||!Vt,Fr=!this.hasNext()||!Vt;return f.a.createElement("ul",Object(d.a)({className:e()(ae,Ue,Object(l.a)({},"".concat(ae,"-disabled"),X)),style:te,unselectable:"unselectable",ref:this.savePaginationNode},hr),qt,f.a.createElement("li",{title:Se?pe.prev_page:null,onClick:this.prev,tabIndex:qr?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ae,"-prev"),Object(l.a)({},"".concat(ae,"-disabled"),qr)),"aria-disabled":qr},this.renderPrev(lt)),$e,f.a.createElement("li",{title:Se?pe.next_page:null,onClick:this.next,tabIndex:Fr?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat(ae,"-next"),Object(l.a)({},"".concat(ae,"-disabled"),Fr)),"aria-disabled":Fr},this.renderNext(Xt)),f.a.createElement(A,{disabled:X,locale:pe,rootPrefixCls:ae,selectComponentClass:Oe,selectPrefixCls:yt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ct,pageSize:It,pageSizeOptions:Ye,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:kt}))}}],[{key:"getDerivedStateFromProps",value:function(Ne,Q){var ae={};if("current"in Ne&&(ae.current=Ne.current,Ne.current!==Q.current&&(ae.currentInputValue=ae.current)),"pageSize"in Ne&&Ne.pageSize!==Q.pageSize){var Ue=Q.current,te=T(Ne.pageSize,Q,Ne);Ue=Ue>te?te:Ue,"current"in Ne||(ae.current=Ue,ae.currentInputValue=Ue),ae.pageSize=Ne.pageSize}return ae}}]),Fe}(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:_,totalBoundaryShowSizeChanger:50};var C=x,I=i("H4fg"),L=i("DFhj"),M=i.n(L),k=i("fEPi"),R=i.n(k),j=i("u9fO"),V=i.n(j),D=i("mO/d"),H=i.n(D),P=i("2fM7"),K=function(Ce){return v.createElement(P.a,p()({size:"small"},Ce))};K.Option=P.a.Option;var U=K,G=i("YMnH"),W=i("H84U"),Z=i("5OYt"),J=function(be,Ce){var Fe={};for(var fe in be)Object.prototype.hasOwnProperty.call(be,fe)&&Ce.indexOf(fe)<0&&(Fe[fe]=be[fe]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,fe=Object.getOwnPropertySymbols(be);Ne<fe.length;Ne++)Ce.indexOf(fe[Ne])<0&&Object.prototype.propertyIsEnumerable.call(be,fe[Ne])&&(Fe[fe[Ne]]=be[fe[Ne]]);return Fe},ve=function(Ce){var Fe=Ce.prefixCls,fe=Ce.selectPrefixCls,Ne=Ce.className,Q=Ce.size,ae=Ce.locale,Ue=J(Ce,["prefixCls","selectPrefixCls","className","size","locale"]),te=Object(Z.a)(),X=te.xs,z=v.useContext(W.b),Y=z.getPrefixCls,pe=z.direction,se=Y("pagination",Fe),Te=function(){var de=v.createElement("span",{className:"".concat(se,"-item-ellipsis")},"\u2022\u2022\u2022"),_e=v.createElement("button",{className:"".concat(se,"-item-link"),type:"button",tabIndex:-1},v.createElement(M.a,null)),We=v.createElement("button",{className:"".concat(se,"-item-link"),type:"button",tabIndex:-1},v.createElement(R.a,null)),at=v.createElement("a",{className:"".concat(se,"-item-link")},v.createElement("div",{className:"".concat(se,"-item-container")},v.createElement(V.a,{className:"".concat(se,"-item-link-icon")}),de)),tt=v.createElement("a",{className:"".concat(se,"-item-link")},v.createElement("div",{className:"".concat(se,"-item-container")},v.createElement(H.a,{className:"".concat(se,"-item-link-icon")}),de));if(pe==="rtl"){var Oe=[We,_e];_e=Oe[0],We=Oe[1];var yt=[tt,at];at=yt[0],tt=yt[1]}return{prevIcon:_e,nextIcon:We,jumpPrevIcon:at,jumpNextIcon:tt}},Se=function(de){var _e=p()(p()({},de),ae),We=Q==="small"||!!(X&&!Q&&Ue.responsive),at=Y("select",fe),tt=e()(Ne,m()({mini:We},"".concat(se,"-rtl"),pe==="rtl"));return v.createElement(C,p()({},Ue,{prefixCls:se,selectPrefixCls:at},Te(),{className:tt,selectComponentClass:We?U:P.a,locale:_e}))};return v.createElement(G.a,{componentName:"Pagination",defaultLocale:I.a},Se)},q=ve,ce=N.a=q},NohK:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=function(E){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var f=this,d=arguments.length,l=new Array(d),n=0;n<d;n++)l[n]=arguments[n];clearTimeout(v),v=setTimeout(function(){E.apply(f,l)},p)}};N.default=y},Nu4q:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(E,p){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:E}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:p}},{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:p}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:p}},{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:E}}]}},name:"picture",theme:"twotone"};N.default=y},NvD2:function(B,N,i){"use strict";i.d(N,"a",function(){return f});var y=i("Kwbf");function m(d,l){var n=new Set;return d.forEach(function(t){l.has(t)||n.add(t)}),n}function E(d){var l=d||{},n=l.disabled,t=l.disableCheckbox,a=l.checkable;return!!(n||t)||a===!1}function p(d,l,n,t){for(var a=new Set(d),o=new Set,r=0;r<=n;r+=1){var c=l.get(r)||new Set;c.forEach(function(h){var g=h.key,A=h.node,w=h.children,b=w===void 0?[]:w;a.has(g)&&!t(A)&&b.filter(function(S){return!t(S.node)}).forEach(function(S){a.add(S.key)})})}for(var e=new Set,s=n;s>=0;s-=1){var u=l.get(s)||new Set;u.forEach(function(h){var g=h.parent,A=h.node;if(t(A)||!h.parent||e.has(h.parent.key))return;if(t(h.parent.node)){e.add(g.key);return}var w=!0,b=!1;(g.children||[]).filter(function(S){return!t(S.node)}).forEach(function(S){var _=S.key,T=a.has(_);w&&!T&&(w=!1),!b&&(T||o.has(_))&&(b=!0)}),w&&a.add(g.key),b&&o.add(g.key),e.add(g.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(m(o,a))}}function v(d,l,n,t,a){for(var o=new Set(d),r=new Set(l),c=0;c<=t;c+=1){var e=n.get(c)||new Set;e.forEach(function(g){var A=g.key,w=g.node,b=g.children,S=b===void 0?[]:b;!o.has(A)&&!r.has(A)&&!a(w)&&S.filter(function(_){return!a(_.node)}).forEach(function(_){o.delete(_.key)})})}r=new Set;for(var s=new Set,u=t;u>=0;u-=1){var h=n.get(u)||new Set;h.forEach(function(g){var A=g.parent,w=g.node;if(a(w)||!g.parent||s.has(g.parent.key))return;if(a(g.parent.node)){s.add(A.key);return}var b=!0,S=!1;(A.children||[]).filter(function(_){return!a(_.node)}).forEach(function(_){var T=_.key,x=o.has(T);b&&!x&&(b=!1),!S&&(x||r.has(T))&&(S=!0)}),b||o.delete(A.key),S&&r.add(A.key),s.add(A.key)})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(m(r,o))}}function f(d,l,n,t){var a=[],o;t?o=t:o=E;var r=new Set(d.filter(function(u){var h=!!n[u];return h||a.push(u),h})),c=new Map,e=0;Object.keys(n).forEach(function(u){var h=n[u],g=h.level,A=c.get(g);A||(A=new Set,c.set(g,A)),A.add(h),e=Math.max(e,g)}),Object(y.a)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return l===!0?s=p(r,c,e,o):s=v(r,l.halfCheckedKeys,c,e,o),s}},"O/iA":function(B,N,i){},O3gP:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("O/iA"),p=i.n(E),v=i("OaEy")},OELB:function(B,N,i){var y=i("bYtY"),m=1e-4;function E(S){return S.replace(/^\s+|\s+$/g,"")}function p(S,_,T,x){var C=_[1]-_[0],I=T[1]-T[0];if(C===0)return I===0?T[0]:(T[0]+T[1])/2;if(x)if(C>0){if(S<=_[0])return T[0];if(S>=_[1])return T[1]}else{if(S>=_[0])return T[0];if(S<=_[1])return T[1]}else{if(S===_[0])return T[0];if(S===_[1])return T[1]}return(S-_[0])/C*I+T[0]}function v(S,_){switch(S){case"center":case"middle":S="50%";break;case"left":case"top":S="0%";break;case"right":case"bottom":S="100%";break}return typeof S=="string"?E(S).match(/%$/)?parseFloat(S)/100*_:parseFloat(S):S==null?NaN:+S}function f(S,_,T){return _==null&&(_=10),_=Math.min(Math.max(0,_),20),S=(+S).toFixed(_),T?S:+S}function d(S){return S.sort(function(_,T){return _-T}),S}function l(S){if(S=+S,isNaN(S))return 0;for(var _=1,T=0;Math.round(S*_)/_!==S;)_*=10,T++;return T}function n(S){var _=S.toString(),T=_.indexOf("e");if(T>0){var x=+_.slice(T+1);return x<0?-x:0}else{var C=_.indexOf(".");return C<0?0:_.length-1-C}}function t(S,_){var T=Math.log,x=Math.LN10,C=Math.floor(T(S[1]-S[0])/x),I=Math.round(T(Math.abs(_[1]-_[0]))/x),L=Math.min(Math.max(-C+I,0),20);return isFinite(L)?L:20}function a(S,_,T){if(!S[_])return 0;var x=y.reduce(S,function(P,K){return P+(isNaN(K)?0:K)},0);if(x===0)return 0;for(var C=Math.pow(10,T),I=y.map(S,function(P){return(isNaN(P)?0:P)/x*C*100}),L=C*100,M=y.map(I,function(P){return Math.floor(P)}),k=y.reduce(M,function(P,K){return P+K},0),R=y.map(I,function(P,K){return P-M[K]});k<L;){for(var j=Number.NEGATIVE_INFINITY,V=null,D=0,H=R.length;D<H;++D)R[D]>j&&(j=R[D],V=D);++M[V],R[V]=0,++k}return M[_]/C}var o=9007199254740991;function r(S){var _=Math.PI*2;return(S%_+_)%_}function c(S){return S>-m&&S<m}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(S){if(S instanceof Date)return S;if(typeof S=="string"){var _=e.exec(S);if(!_)return new Date(NaN);if(_[8]){var T=+_[4]||0;return _[8].toUpperCase()!=="Z"&&(T-=_[8].slice(0,3)),new Date(Date.UTC(+_[1],+(_[2]||1)-1,+_[3]||1,T,+(_[5]||0),+_[6]||0,+_[7]||0))}else return new Date(+_[1],+(_[2]||1)-1,+_[3]||1,+_[4]||0,+(_[5]||0),+_[6]||0,+_[7]||0)}else if(S==null)return new Date(NaN);return new Date(Math.round(S))}function u(S){return Math.pow(10,h(S))}function h(S){if(S===0)return 0;var _=Math.floor(Math.log(S)/Math.LN10);return S/Math.pow(10,_)>=10&&_++,_}function g(S,_){var T=h(S),x=Math.pow(10,T),C=S/x,I;return _?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,S=I*x,T>=-20?+S.toFixed(T<0?-T:0):S}function A(S,_){var T=(S.length-1)*_+1,x=Math.floor(T),C=+S[x-1],I=T-x;return I?C+I*(S[x]-C):C}function w(S){S.sort(function(k,R){return M(k,R,0)?-1:1});for(var _=-Infinity,T=1,x=0;x<S.length;){for(var C=S[x].interval,I=S[x].close,L=0;L<2;L++)C[L]<=_&&(C[L]=_,I[L]=L?1:1-T),_=C[L],T=I[L];C[0]===C[1]&&I[0]*I[1]!==1?S.splice(x,1):x++}return S;function M(k,R,j){return k.interval[j]<R.interval[j]||k.interval[j]===R.interval[j]&&(k.close[j]-R.close[j]===(j?-1:1)||!j&&M(k,R,1))}}function b(S){return S-parseFloat(S)>=0}N.linearMap=p,N.parsePercent=v,N.round=f,N.asc=d,N.getPrecision=l,N.getPrecisionSafe=n,N.getPixelPrecision=t,N.getPercentWithPrecision=a,N.MAX_SAFE_INTEGER=o,N.remRadian=r,N.isRadianAroundZero=c,N.parseDate=s,N.quantity=u,N.quantityExponent=h,N.nice=g,N.quantile=A,N.reformIntervals=w,N.isNumeric=b},OKJ2:function(B,N,i){var y=i("KxfA"),m=y.retrieveRawValue,E=i("7aKB"),p=E.getTooltipMarker,v=E.formatTpl,f=i("4NO4"),d=f.getTooltipRenderMode,l=/\{@(.+?)\}/g,n={getDataParams:function(t,a){var o=this.getData(a),r=this.getRawValue(t,a),c=o.getRawIndex(t),e=o.getName(t),s=o.getRawDataItem(t),u=o.getItemVisual(t,"color"),h=o.getItemVisual(t,"borderColor"),g=this.ecModel.getComponent("tooltip"),A=g&&g.get("renderMode"),w=d(A),b=this.mainType,S=b==="series",_=o.userOutput;return{componentType:b,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:e,dataIndex:c,data:s,dataType:a,value:r,color:u,borderColor:h,dimensionNames:_?_.dimensionNames:null,encode:_?_.encode:null,marker:p({color:u,renderMode:w}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,a,o,r,c){a=a||"normal";var e=this.getData(o),s=e.getItemModel(t),u=this.getDataParams(t,o);r!=null&&u.value instanceof Array&&(u.value=u.value[r]);var h=s.get(a==="normal"?[c||"label","formatter"]:[a,c||"label","formatter"]);if(typeof h=="function")return u.status=a,u.dimensionIndex=r,h(u);if(typeof h=="string"){var g=v(h,u);return g.replace(l,function(A,w){var b=w.length;return w.charAt(0)==="["&&w.charAt(b-1)==="]"&&(w=+w.slice(1,b-1)),m(e,t,w)})}},getRawValue:function(t,a){return m(this.getData(a),t)},formatTooltip:function(){}};B.exports=n},OPEp:function(B,N,i){},OQFs:function(B,N,i){var y=i("KCsZ"),m=y([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E={getLineStyle:function(p){var v=m(this,p);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(p){p==null&&(p=1);var v=this.get("type"),f=Math.max(p,2),d=p*4;return v==="solid"||v==null?!1:v==="dashed"?[d,d]:[f,f]}};B.exports=E},OS9S:function(B,N,i){var y=i("bYtY"),m=y.inherits,E=i("Gev7"),p=i("mFDi");function v(l){E.call(this,l),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(l,n){n?this._temporaryDisplayables.push(l):this._displayables.push(l),this.dirty()},v.prototype.addDisplayables=function(l,n){n=n||!1;for(var t=0;t<l.length;t++)this.addDisplayable(l[t],n)},v.prototype.eachPendingDisplayable=function(l){for(var n=this._cursor;n<this._displayables.length;n++)l&&l(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)l&&l(this._temporaryDisplayables[n])},v.prototype.update=function(){this.updateTransform();for(var l=this._cursor;l<this._displayables.length;l++){var n=this._displayables[l];n.parent=this,n.update(),n.parent=null}for(var l=0;l<this._temporaryDisplayables.length;l++){var n=this._temporaryDisplayables[l];n.parent=this,n.update(),n.parent=null}},v.prototype.brush=function(l,n){for(var t=this._cursor;t<this._displayables.length;t++){var a=this._displayables[t];a.beforeBrush&&a.beforeBrush(l),a.brush(l,t===this._cursor?null:this._displayables[t-1]),a.afterBrush&&a.afterBrush(l)}this._cursor=t;for(var t=0;t<this._temporaryDisplayables.length;t++){var a=this._temporaryDisplayables[t];a.beforeBrush&&a.beforeBrush(l),a.brush(l,t===0?null:this._temporaryDisplayables[t-1]),a.afterBrush&&a.afterBrush(l)}this._temporaryDisplayables=[],this.notClear=!0};var f=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var l=new p(Infinity,Infinity,-Infinity,-Infinity),n=0;n<this._displayables.length;n++){var t=this._displayables[n],a=t.getBoundingRect().clone();t.needLocalTransform()&&a.applyTransform(t.getLocalTransform(f)),l.union(a)}this._rect=l}return this._rect},v.prototype.contain=function(l,n){var t=this.transformCoordToLocal(l,n),a=this.getBoundingRect();if(a.contain(t[0],t[1]))for(var o=0;o<this._displayables.length;o++){var r=this._displayables[o];if(r.contain(l,n))return!0}return!1},m(v,E);var d=v;B.exports=d},OUJF:function(B,N,i){var y=i("ProS"),m=i("bYtY");y.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(E,p){var v=p.getComponent("timeline");return v&&E.currentIndex!=null&&(v.setCurrentIndex(E.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),p.resetOption("timeline"),m.defaults({currentIndex:v.option.currentIndex},E)}),y.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(E,p){var v=p.getComponent("timeline");v&&E.playState!=null&&v.setPlayState(E.playState)})},OXB0:function(B,N,i){var y=i("T4UG"),m=i("MwEJ"),E=i("IDmD"),p=y.extend({type:"series.heatmap",getInitialData:function(v,f){return m(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=E.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});B.exports=p},OZM5:function(B,N,i){"use strict";i.d(N,"b",function(){return t}),i.d(N,"a",function(){return a}),i.d(N,"k",function(){return o}),i.d(N,"h",function(){return r}),i.d(N,"i",function(){return c}),i.d(N,"g",function(){return e}),i.d(N,"c",function(){return s}),i.d(N,"d",function(){return u}),i.d(N,"j",function(){return A}),i.d(N,"e",function(){return w}),i.d(N,"f",function(){return b});var y=i("KQm4"),m=i("U8pU"),E=i("Ff2n"),p=i("q1tI"),v=i.n(p),f=i("Kwbf"),d=i("WaYH"),l=.25,n=2;function t(S,_){var T=S.slice(),x=T.indexOf(_);return x>=0&&T.splice(x,1),T}function a(S,_){var T=S.slice();return T.indexOf(_)===-1&&T.push(_),T}function o(S){return S.split("-")}function r(S,_){return"".concat(S,"-").concat(_)}function c(S){return S&&S.type&&S.type.isTreeNode}function e(S,_){var T=[S],x=_[S];function C(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(L){var M=L.key,k=L.children;T.push(M),C(k)})}return C(x.children),T}function s(S,_){var T=S.clientY,x=_.selectHandle.getBoundingClientRect(),C=x.top,I=x.bottom,L=x.height,M=Math.max(L*l,n);return T<=C+M?-1:T>=I-M?1:0}function u(S,_){if(!S)return;var T=_.multiple;return T?S.slice():S.length?[S[0]]:S}var h=function(_){return _};function g(S,_){if(!S)return[];var T=_||{},x=T.processProps,C=x===void 0?h:x,I=Array.isArray(S)?S:[S];return I.map(function(L){var M=L.children,k=Object(E.a)(L,["children"]),R=g(M,_);return v.a.createElement(d.a,Object.assign({},C(k)),R)})}function A(S){if(!S)return null;var _;if(Array.isArray(S))_={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(m.a)(S)==="object")_={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return _}function w(S,_){var T=new Set;function x(C){if(T.has(C))return;var I=_[C];if(!I)return;T.add(C);var L=I.parent,M=I.node;if(M.disabled)return;L&&x(L.key)}return(S||[]).forEach(function(C){x(C)}),Object(y.a)(T)}function b(S){var _={};return Object.keys(S).forEach(function(T){(T.startsWith("data-")||T.startsWith("aria-"))&&(_[T]=S[T])}),_}},OaEy:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("bKJz"),p=i.n(E),v=i("R9oj")},Ol7k:function(B,N,i){"use strict";var y=i("PKem"),m=i("ZX9x");y.b.Sider=m.b,N.a=y.b},OlYY:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("ItGF"),f=i("4NO4"),d=i("UOVi"),l=i("zDms"),n=p.each,t=d.eachAxisDim,a=E.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);p.merge(this.option,e,!0),p.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(e){var s=this.option;v.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(e),r(this,e);var u=this.settledOption;n([["start","startValue"],["end","endValue"]],function(h,g){this._rangePropMode[g]==="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,g){var A=this.dependentModels[s.axis][u],w=A.__dzAxisProxy||(A.__dzAxisProxy=new l(s.name,u,this,g));e[s.name+"_"+u]=w},this)},_resetTarget:function(){var e=this.option,s=this._judgeAutoMode();t(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;t(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 g=s==="vertical"?"y":"x";h[g+"Axis"].length?(u[g+"AxisIndex"]=[0],e=!1):n(h.singleAxis,function(A){e&&A.get("orient",!0)===s&&(u.singleAxisIndex=[A.componentIndex],e=!1)})}e&&t(function(A){if(!e)return;var w=[],b=this.dependentModels[A.axis];if(b.length&&!w.length)for(var S=0,_=b.length;S<_;S++)b[S].get("type")==="category"&&w.push(S);u[A.axisIndex]=w,w.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(A){this._isSeriesHasAllAxesTypeOf(A,"value")&&t(function(w){var b=u[w.axisIndex],S=A.get(w.axisIndex),_=A.get(w.axisId),T=A.ecModel.queryComponents({mainType:w.axis,index:S,id:_})[0];S=T.componentIndex,p.indexOf(b,S)<0&&b.push(S)})},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 t(function(h){var g=e.get(h.axisIndex),A=this.dependentModels[h.axis][g];(!A||A.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 t(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;t(function(h){n(this.get(h.axisIndex),function(g){e.call(s,h,g,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;n([["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;n(["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 n(["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");n([["start","startValue"],["end","endValue"]],function(g,A){var w=s[g[0]]!=null,b=s[g[1]]!=null;w&&!b?u[A]="percent":!w&&b?u[A]="value":h?u[A]=h[A]:w&&(u[A]="percent")})}var c=a;B.exports=c},OnYD:function(B,N,i){},"Oy/b":function(B,N,i){(function(m,E){B.exports=E()})(typeof self!="undefined"?self:this,function(){return function(y){var m={};function E(p){if(m[p])return m[p].exports;var v=m[p]={i:p,l:!1,exports:{}};return y[p].call(v.exports,v,v.exports,E),v.l=!0,v.exports}return E.m=y,E.c=m,E.d=function(p,v,f){E.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:f})},E.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},E.t=function(p,v){if(v&1&&(p=E(p)),v&8)return p;if(v&4&&typeof p=="object"&&p&&p.__esModule)return p;var f=Object.create(null);if(E.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var d in p)E.d(f,d,function(l){return p[l]}.bind(null,d));return f},E.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return E.d(v,"a",v),v},E.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},E.p="",E(E.s=1)}([function(y,m,E){},function(y,m,E){"use strict";E.r(m);var p=E(0),v=function(){function ft(oe,Ae,we){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=oe,this.start=Ae,this.end=we}return ft.range=function(Ae,we){return we?!Ae||!Ae.loc||!we.loc||Ae.loc.lexer!==we.loc.lexer?null:new ft(Ae.loc.lexer,Ae.loc.start,we.loc.end):Ae&&Ae.loc},ft}(),f=function(){function ft(Ae,we){this.text=void 0,this.loc=void 0,this.text=Ae,this.loc=we}var oe=ft.prototype;return oe.range=function(we,Be){return new ft(Be,v.range(this,we))},ft}(),d=function ft(oe,Ae){this.position=void 0;var we="KaTeX parse error: "+oe,Be,st=Ae&&Ae.loc;if(st&&st.start<=st.end){var Bt=st.lexer.input;Be=st.start;var wr=st.end;Be===Bt.length?we+=" at end of input: ":we+=" at position "+(Be+1)+": ";var Tr=Bt.slice(Be,wr).replace(/[^]/g,"$&\u0332"),tn;Be>15?tn="\u2026"+Bt.slice(Be-15,Be):tn=Bt.slice(0,Be);var _n;wr+15<Bt.length?_n=Bt.slice(wr,wr+15)+"\u2026":_n=Bt.slice(wr),we+=tn+Tr+_n}var jn=new Error(we);return jn.name="ParseError",jn.__proto__=ft.prototype,jn.position=Be,jn};d.prototype.__proto__=Error.prototype;var l=d,n=function(oe,Ae){return oe.indexOf(Ae)!==-1},t=function(oe,Ae){return oe===void 0?Ae:oe},a=/([A-Z])/g,o=function(oe){return oe.replace(a,"-$1").toLowerCase()},r={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},c=/[&><"']/g;function e(ft){return String(ft).replace(c,function(oe){return r[oe]})}var s=function ft(oe){return oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?ft(oe.body[0]):oe:oe.type==="font"?ft(oe.body):oe},u=function(oe){var Ae=s(oe);return Ae.type==="mathord"||Ae.type==="textord"||Ae.type==="atom"},h=function(oe){if(!oe)throw new Error("Expected non-null, but got "+String(oe));return oe},g=function(oe){var Ae=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(oe);return Ae!=null?Ae[1]:"_relative"},A={contains:n,deflt:t,escape:e,hyphenate:o,getBaseElem:s,isCharacterBox:u,protocolFromUrl:g},w=function(){function ft(Ae){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,Ae=Ae||{},this.displayMode=A.deflt(Ae.displayMode,!1),this.output=A.deflt(Ae.output,"htmlAndMathml"),this.leqno=A.deflt(Ae.leqno,!1),this.fleqn=A.deflt(Ae.fleqn,!1),this.throwOnError=A.deflt(Ae.throwOnError,!0),this.errorColor=A.deflt(Ae.errorColor,"#cc0000"),this.macros=Ae.macros||{},this.minRuleThickness=Math.max(0,A.deflt(Ae.minRuleThickness,0)),this.colorIsTextColor=A.deflt(Ae.colorIsTextColor,!1),this.strict=A.deflt(Ae.strict,"warn"),this.trust=A.deflt(Ae.trust,!1),this.maxSize=Math.max(0,A.deflt(Ae.maxSize,Infinity)),this.maxExpand=Math.max(0,A.deflt(Ae.maxExpand,1e3))}var oe=ft.prototype;return oe.reportNonstrict=function(we,Be,st){var Bt=this.strict;if(typeof Bt=="function"&&(Bt=Bt(we,Be,st)),!Bt||Bt==="ignore")return;if(Bt===!0||Bt==="error")throw new l("LaTeX-incompatible input and strict mode is set to 'error': "+(Be+" ["+we+"]"),st);Bt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Be+" ["+we+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Bt+"': "+Be+" ["+we+"]"))},oe.useStrictBehavior=function(we,Be,st){var Bt=this.strict;if(typeof Bt=="function")try{Bt=Bt(we,Be,st)}catch(wr){Bt="error"}return!Bt||Bt==="ignore"?!1:Bt===!0||Bt==="error"?!0:Bt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Be+" ["+we+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Bt+"': "+Be+" ["+we+"]")),!1)},oe.isTrusted=function(we){we.url&&!we.protocol&&(we.protocol=A.protocolFromUrl(we.url));var Be=typeof this.trust=="function"?this.trust(we):this.trust;return Boolean(Be)},ft}(),b=function(){function ft(Ae,we,Be){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ae,this.size=we,this.cramped=Be}var oe=ft.prototype;return oe.sup=function(){return k[R[this.id]]},oe.sub=function(){return k[j[this.id]]},oe.fracNum=function(){return k[V[this.id]]},oe.fracDen=function(){return k[D[this.id]]},oe.cramp=function(){return k[H[this.id]]},oe.text=function(){return k[P[this.id]]},oe.isTight=function(){return this.size>=2},ft}(),S=0,_=1,T=2,x=3,C=4,I=5,L=6,M=7,k=[new b(S,0,!1),new b(_,0,!0),new b(T,1,!1),new b(x,1,!0),new b(C,2,!1),new b(I,2,!0),new b(L,3,!1),new b(M,3,!0)],R=[C,I,C,I,L,M,L,M],j=[I,I,I,I,M,M,M,M],V=[T,x,C,I,L,M,L,M],D=[x,x,I,I,M,M,M,M],H=[_,_,x,x,I,I,M,M],P=[S,_,T,x,T,x,T,x],K={DISPLAY:k[S],TEXT:k[T],SCRIPT:k[C],SCRIPTSCRIPT:k[L]},U=[{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 G(ft){for(var oe=0;oe<U.length;oe++)for(var Ae=U[oe],we=0;we<Ae.blocks.length;we++){var Be=Ae.blocks[we];if(ft>=Be[0]&&ft<=Be[1])return Ae.name}return null}var W=[];U.forEach(function(ft){return ft.blocks.forEach(function(oe){return W.push.apply(W,oe)})});function Z(ft){for(var oe=0;oe<W.length;oe+=2)if(ft>=W[oe]&&ft<=W[oe+1])return!0;return!1}var J=80,ve=function(oe,Ae){return"M95,"+(622+oe+Ae)+`
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`+oe/2.075+" -"+oe+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+oe)+`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+oe)+" "+Ae+"h400000v"+(40+oe)+"h-400000z"},q=function(oe,Ae){return"M263,"+(601+oe+Ae)+`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`+oe/2.084+" -"+oe+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+oe)+`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+oe)+" "+Ae+"h400000v"+(40+oe)+"h-400000z"},ce=function(oe,Ae){return"M983 "+(10+oe+Ae)+`
l`+oe/3.13+" -"+oe+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+oe)+`
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+oe)+" "+Ae+"h400000v"+(40+oe)+"h-400000z"},be=function(oe,Ae){return"M424,"+(2398+oe+Ae)+`
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`+oe/4.223+" -"+oe+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+oe)+`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+oe)+" "+Ae+`
h400000v`+(40+oe)+"h-400000z"},Ce=function(oe,Ae){return"M473,"+(2713+oe+Ae)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+oe/5.298+" -"+oe+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+oe)+`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+oe)+" "+Ae+"h400000v"+(40+oe)+"H1017.7z"},Fe=function(oe,Ae,we){var Be=we-54-Ae-oe;return"M702 "+(oe+Ae)+"H400000"+(40+oe)+`
H742v`+Be+`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 `+Ae+"H400000v"+(40+oe)+"H742z"},fe=function(oe,Ae,we){Ae=1e3*Ae;var Be="";switch(oe){case"sqrtMain":Be=ve(Ae,J);break;case"sqrtSize1":Be=q(Ae,J);break;case"sqrtSize2":Be=ce(Ae,J);break;case"sqrtSize3":Be=be(Ae,J);break;case"sqrtSize4":Be=Ce(Ae,J);break;case"sqrtTall":Be=Fe(Ae,J,we)}return Be},Ne={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`},Q=function(){function ft(Ae){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=Ae,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var oe=ft.prototype;return oe.hasClass=function(we){return A.contains(this.classes,we)},oe.toNode=function(){for(var we=document.createDocumentFragment(),Be=0;Be<this.children.length;Be++)we.appendChild(this.children[Be].toNode());return we},oe.toMarkup=function(){for(var we="",Be=0;Be<this.children.length;Be++)we+=this.children[Be].toMarkup();return we},oe.toText=function(){var we=function(st){return st.toText()};return this.children.map(we).join("")},ft}(),ae=function(oe){return oe.filter(function(Ae){return Ae}).join(" ")},Ue=function(oe,Ae,we){if(this.classes=oe||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=we||{},Ae){Ae.style.isTight()&&this.classes.push("mtight");var Be=Ae.getColor();Be&&(this.style.color=Be)}},te=function(oe){var Ae=document.createElement(oe);Ae.className=ae(this.classes);for(var we in this.style)this.style.hasOwnProperty(we)&&(Ae.style[we]=this.style[we]);for(var Be in this.attributes)this.attributes.hasOwnProperty(Be)&&Ae.setAttribute(Be,this.attributes[Be]);for(var st=0;st<this.children.length;st++)Ae.appendChild(this.children[st].toNode());return Ae},X=function(oe){var Ae="<"+oe;this.classes.length&&(Ae+=' class="'+A.escape(ae(this.classes))+'"');var we="";for(var Be in this.style)this.style.hasOwnProperty(Be)&&(we+=A.hyphenate(Be)+":"+this.style[Be]+";");we&&(Ae+=' style="'+A.escape(we)+'"');for(var st in this.attributes)this.attributes.hasOwnProperty(st)&&(Ae+=" "+st+'="'+A.escape(this.attributes[st])+'"');Ae+=">";for(var Bt=0;Bt<this.children.length;Bt++)Ae+=this.children[Bt].toMarkup();return Ae+="</"+oe+">",Ae},z=function(){function ft(Ae,we,Be,st){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,Ue.call(this,Ae,Be,st),this.children=we||[]}var oe=ft.prototype;return oe.setAttribute=function(we,Be){this.attributes[we]=Be},oe.hasClass=function(we){return A.contains(this.classes,we)},oe.toNode=function(){return te.call(this,"span")},oe.toMarkup=function(){return X.call(this,"span")},ft}(),Y=function(){function ft(Ae,we,Be,st){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,Ue.call(this,we,st),this.children=Be||[],this.setAttribute("href",Ae)}var oe=ft.prototype;return oe.setAttribute=function(we,Be){this.attributes[we]=Be},oe.hasClass=function(we){return A.contains(this.classes,we)},oe.toNode=function(){return te.call(this,"a")},oe.toMarkup=function(){return X.call(this,"a")},ft}(),pe=function(){function ft(Ae,we,Be){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=we,this.src=Ae,this.classes=["mord"],this.style=Be}var oe=ft.prototype;return oe.hasClass=function(we){return A.contains(this.classes,we)},oe.toNode=function(){var we=document.createElement("img");we.src=this.src,we.alt=this.alt,we.className="mord";for(var Be in this.style)this.style.hasOwnProperty(Be)&&(we.style[Be]=this.style[Be]);return we},oe.toMarkup=function(){var we="<img src='"+this.src+" 'alt='"+this.alt+"' ",Be="";for(var st in this.style)this.style.hasOwnProperty(st)&&(Be+=A.hyphenate(st)+":"+this.style[st]+";");return Be&&(we+=' style="'+A.escape(Be)+'"'),we+="'/>",we},ft}(),se={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Te=function(){function ft(Ae,we,Be,st,Bt,wr,Tr,tn){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=Ae,this.height=we||0,this.depth=Be||0,this.italic=st||0,this.skew=Bt||0,this.width=wr||0,this.classes=Tr||[],this.style=tn||{},this.maxFontSize=0;var _n=G(this.text.charCodeAt(0));_n&&this.classes.push(_n+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=se[this.text])}var oe=ft.prototype;return oe.hasClass=function(we){return A.contains(this.classes,we)},oe.toNode=function(){var we=document.createTextNode(this.text),Be=null;this.italic>0&&(Be=document.createElement("span"),Be.style.marginRight=this.italic+"em"),this.classes.length>0&&(Be=Be||document.createElement("span"),Be.className=ae(this.classes));for(var st in this.style)this.style.hasOwnProperty(st)&&(Be=Be||document.createElement("span"),Be.style[st]=this.style[st]);return Be?(Be.appendChild(we),Be):we},oe.toMarkup=function(){var we=!1,Be="<span";this.classes.length&&(we=!0,Be+=' class="',Be+=A.escape(ae(this.classes)),Be+='"');var st="";this.italic>0&&(st+="margin-right:"+this.italic+"em;");for(var Bt in this.style)this.style.hasOwnProperty(Bt)&&(st+=A.hyphenate(Bt)+":"+this.style[Bt]+";");st&&(we=!0,Be+=' style="'+A.escape(st)+'"');var wr=A.escape(this.text);return we?(Be+=">",Be+=wr,Be+="</span>",Be):wr},ft}(),Se=function(){function ft(Ae,we){this.children=void 0,this.attributes=void 0,this.children=Ae||[],this.attributes=we||{}}var oe=ft.prototype;return oe.toNode=function(){var we="http://www.w3.org/2000/svg",Be=document.createElementNS(we,"svg");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&Be.setAttribute(st,this.attributes[st]);for(var Bt=0;Bt<this.children.length;Bt++)Be.appendChild(this.children[Bt].toNode());return Be},oe.toMarkup=function(){var we="<svg";for(var Be in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Be)&&(we+=" "+Be+"='"+this.attributes[Be]+"'");we+=">";for(var st=0;st<this.children.length;st++)we+=this.children[st].toMarkup();return we+="</svg>",we},ft}(),ie=function(){function ft(Ae,we){this.pathName=void 0,this.alternate=void 0,this.pathName=Ae,this.alternate=we}var oe=ft.prototype;return oe.toNode=function(){var we="http://www.w3.org/2000/svg",Be=document.createElementNS(we,"path");return this.alternate?Be.setAttribute("d",this.alternate):Be.setAttribute("d",Ne[this.pathName]),Be},oe.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Ne[this.pathName]+"'/>"},ft}(),de=function(){function ft(Ae){this.attributes=void 0,this.attributes=Ae||{}}var oe=ft.prototype;return oe.toNode=function(){var we="http://www.w3.org/2000/svg",Be=document.createElementNS(we,"line");for(var st in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,st)&&Be.setAttribute(st,this.attributes[st]);return Be},oe.toMarkup=function(){var we="<line";for(var Be in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Be)&&(we+=" "+Be+"='"+this.attributes[Be]+"'");return we+="/>",we},ft}();function _e(ft){if(ft instanceof Te)return ft;throw new Error("Expected symbolNode but got "+String(ft)+".")}function We(ft){if(ft instanceof z)return ft;throw new Error("Expected span<HtmlDomNode> but got "+String(ft)+".")}var at={"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]}},tt={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 yt(ft,oe){at[ft]=oe}function Ye(ft,oe,Ae){if(!at[oe])throw new Error("Font metrics not found for font: "+oe+".");var we=ft.charCodeAt(0),Be=at[oe][we];if(!Be&&ft[0]in Oe&&(we=Oe[ft[0]].charCodeAt(0),Be=at[oe][we]),!Be&&Ae==="text"&&(Z(we)&&(Be=at[oe][77])),Be)return{depth:Be[0],height:Be[1],italic:Be[2],skew:Be[3],width:Be[4]}}var bt={};function Ct(ft){var oe;if(ft>=5?oe=0:ft>=3?oe=1:oe=2,!bt[oe]){var Ae=bt[oe]={cssEmPerMu:tt.quad[oe]/18};for(var we in tt)tt.hasOwnProperty(we)&&(Ae[we]=tt[we][oe])}return bt[oe]}var It={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ft={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Vt={math:{},text:{}},$e=Vt;function ge(ft,oe,Ae,we,Be,st){Vt[ft][Be]={font:oe,group:Ae,replace:we},st&&we&&(Vt[ft][we]=Vt[ft][Be])}var ne="math",wt="text",qe="main",he="ams",kt="accent-token",nr="bin",lt="close",Xt="inner",hr="mathord",Wr="op-token",mt="open",Et="punct",rt="rel",He="spacing",ze="textord";ge(ne,qe,rt,"\u2261","\\equiv",!0),ge(ne,qe,rt,"\u227A","\\prec",!0),ge(ne,qe,rt,"\u227B","\\succ",!0),ge(ne,qe,rt,"\u223C","\\sim",!0),ge(ne,qe,rt,"\u22A5","\\perp"),ge(ne,qe,rt,"\u2AAF","\\preceq",!0),ge(ne,qe,rt,"\u2AB0","\\succeq",!0),ge(ne,qe,rt,"\u2243","\\simeq",!0),ge(ne,qe,rt,"\u2223","\\mid",!0),ge(ne,qe,rt,"\u226A","\\ll",!0),ge(ne,qe,rt,"\u226B","\\gg",!0),ge(ne,qe,rt,"\u224D","\\asymp",!0),ge(ne,qe,rt,"\u2225","\\parallel"),ge(ne,qe,rt,"\u22C8","\\bowtie",!0),ge(ne,qe,rt,"\u2323","\\smile",!0),ge(ne,qe,rt,"\u2291","\\sqsubseteq",!0),ge(ne,qe,rt,"\u2292","\\sqsupseteq",!0),ge(ne,qe,rt,"\u2250","\\doteq",!0),ge(ne,qe,rt,"\u2322","\\frown",!0),ge(ne,qe,rt,"\u220B","\\ni",!0),ge(ne,qe,rt,"\u221D","\\propto",!0),ge(ne,qe,rt,"\u22A2","\\vdash",!0),ge(ne,qe,rt,"\u22A3","\\dashv",!0),ge(ne,qe,rt,"\u220B","\\owns"),ge(ne,qe,Et,".","\\ldotp"),ge(ne,qe,Et,"\u22C5","\\cdotp"),ge(ne,qe,ze,"#","\\#"),ge(wt,qe,ze,"#","\\#"),ge(ne,qe,ze,"&","\\&"),ge(wt,qe,ze,"&","\\&"),ge(ne,qe,ze,"\u2135","\\aleph",!0),ge(ne,qe,ze,"\u2200","\\forall",!0),ge(ne,qe,ze,"\u210F","\\hbar",!0),ge(ne,qe,ze,"\u2203","\\exists",!0),ge(ne,qe,ze,"\u2207","\\nabla",!0),ge(ne,qe,ze,"\u266D","\\flat",!0),ge(ne,qe,ze,"\u2113","\\ell",!0),ge(ne,qe,ze,"\u266E","\\natural",!0),ge(ne,qe,ze,"\u2663","\\clubsuit",!0),ge(ne,qe,ze,"\u2118","\\wp",!0),ge(ne,qe,ze,"\u266F","\\sharp",!0),ge(ne,qe,ze,"\u2662","\\diamondsuit",!0),ge(ne,qe,ze,"\u211C","\\Re",!0),ge(ne,qe,ze,"\u2661","\\heartsuit",!0),ge(ne,qe,ze,"\u2111","\\Im",!0),ge(ne,qe,ze,"\u2660","\\spadesuit",!0),ge(wt,qe,ze,"\xA7","\\S",!0),ge(wt,qe,ze,"\xB6","\\P",!0),ge(ne,qe,ze,"\u2020","\\dag"),ge(wt,qe,ze,"\u2020","\\dag"),ge(wt,qe,ze,"\u2020","\\textdagger"),ge(ne,qe,ze,"\u2021","\\ddag"),ge(wt,qe,ze,"\u2021","\\ddag"),ge(wt,qe,ze,"\u2021","\\textdaggerdbl"),ge(ne,qe,lt,"\u23B1","\\rmoustache",!0),ge(ne,qe,mt,"\u23B0","\\lmoustache",!0),ge(ne,qe,lt,"\u27EF","\\rgroup",!0),ge(ne,qe,mt,"\u27EE","\\lgroup",!0),ge(ne,qe,nr,"\u2213","\\mp",!0),ge(ne,qe,nr,"\u2296","\\ominus",!0),ge(ne,qe,nr,"\u228E","\\uplus",!0),ge(ne,qe,nr,"\u2293","\\sqcap",!0),ge(ne,qe,nr,"\u2217","\\ast"),ge(ne,qe,nr,"\u2294","\\sqcup",!0),ge(ne,qe,nr,"\u25EF","\\bigcirc"),ge(ne,qe,nr,"\u2219","\\bullet"),ge(ne,qe,nr,"\u2021","\\ddagger"),ge(ne,qe,nr,"\u2240","\\wr",!0),ge(ne,qe,nr,"\u2A3F","\\amalg"),ge(ne,qe,nr,"&","\\And"),ge(ne,qe,rt,"\u27F5","\\longleftarrow",!0),ge(ne,qe,rt,"\u21D0","\\Leftarrow",!0),ge(ne,qe,rt,"\u27F8","\\Longleftarrow",!0),ge(ne,qe,rt,"\u27F6","\\longrightarrow",!0),ge(ne,qe,rt,"\u21D2","\\Rightarrow",!0),ge(ne,qe,rt,"\u27F9","\\Longrightarrow",!0),ge(ne,qe,rt,"\u2194","\\leftrightarrow",!0),ge(ne,qe,rt,"\u27F7","\\longleftrightarrow",!0),ge(ne,qe,rt,"\u21D4","\\Leftrightarrow",!0),ge(ne,qe,rt,"\u27FA","\\Longleftrightarrow",!0),ge(ne,qe,rt,"\u21A6","\\mapsto",!0),ge(ne,qe,rt,"\u27FC","\\longmapsto",!0),ge(ne,qe,rt,"\u2197","\\nearrow",!0),ge(ne,qe,rt,"\u21A9","\\hookleftarrow",!0),ge(ne,qe,rt,"\u21AA","\\hookrightarrow",!0),ge(ne,qe,rt,"\u2198","\\searrow",!0),ge(ne,qe,rt,"\u21BC","\\leftharpoonup",!0),ge(ne,qe,rt,"\u21C0","\\rightharpoonup",!0),ge(ne,qe,rt,"\u2199","\\swarrow",!0),ge(ne,qe,rt,"\u21BD","\\leftharpoondown",!0),ge(ne,qe,rt,"\u21C1","\\rightharpoondown",!0),ge(ne,qe,rt,"\u2196","\\nwarrow",!0),ge(ne,qe,rt,"\u21CC","\\rightleftharpoons",!0),ge(ne,he,rt,"\u226E","\\nless",!0),ge(ne,he,rt,"\uE010","\\@nleqslant"),ge(ne,he,rt,"\uE011","\\@nleqq"),ge(ne,he,rt,"\u2A87","\\lneq",!0),ge(ne,he,rt,"\u2268","\\lneqq",!0),ge(ne,he,rt,"\uE00C","\\@lvertneqq"),ge(ne,he,rt,"\u22E6","\\lnsim",!0),ge(ne,he,rt,"\u2A89","\\lnapprox",!0),ge(ne,he,rt,"\u2280","\\nprec",!0),ge(ne,he,rt,"\u22E0","\\npreceq",!0),ge(ne,he,rt,"\u22E8","\\precnsim",!0),ge(ne,he,rt,"\u2AB9","\\precnapprox",!0),ge(ne,he,rt,"\u2241","\\nsim",!0),ge(ne,he,rt,"\uE006","\\@nshortmid"),ge(ne,he,rt,"\u2224","\\nmid",!0),ge(ne,he,rt,"\u22AC","\\nvdash",!0),ge(ne,he,rt,"\u22AD","\\nvDash",!0),ge(ne,he,rt,"\u22EA","\\ntriangleleft"),ge(ne,he,rt,"\u22EC","\\ntrianglelefteq",!0),ge(ne,he,rt,"\u228A","\\subsetneq",!0),ge(ne,he,rt,"\uE01A","\\@varsubsetneq"),ge(ne,he,rt,"\u2ACB","\\subsetneqq",!0),ge(ne,he,rt,"\uE017","\\@varsubsetneqq"),ge(ne,he,rt,"\u226F","\\ngtr",!0),ge(ne,he,rt,"\uE00F","\\@ngeqslant"),ge(ne,he,rt,"\uE00E","\\@ngeqq"),ge(ne,he,rt,"\u2A88","\\gneq",!0),ge(ne,he,rt,"\u2269","\\gneqq",!0),ge(ne,he,rt,"\uE00D","\\@gvertneqq"),ge(ne,he,rt,"\u22E7","\\gnsim",!0),ge(ne,he,rt,"\u2A8A","\\gnapprox",!0),ge(ne,he,rt,"\u2281","\\nsucc",!0),ge(ne,he,rt,"\u22E1","\\nsucceq",!0),ge(ne,he,rt,"\u22E9","\\succnsim",!0),ge(ne,he,rt,"\u2ABA","\\succnapprox",!0),ge(ne,he,rt,"\u2246","\\ncong",!0),ge(ne,he,rt,"\uE007","\\@nshortparallel"),ge(ne,he,rt,"\u2226","\\nparallel",!0),ge(ne,he,rt,"\u22AF","\\nVDash",!0),ge(ne,he,rt,"\u22EB","\\ntriangleright"),ge(ne,he,rt,"\u22ED","\\ntrianglerighteq",!0),ge(ne,he,rt,"\uE018","\\@nsupseteqq"),ge(ne,he,rt,"\u228B","\\supsetneq",!0),ge(ne,he,rt,"\uE01B","\\@varsupsetneq"),ge(ne,he,rt,"\u2ACC","\\supsetneqq",!0),ge(ne,he,rt,"\uE019","\\@varsupsetneqq"),ge(ne,he,rt,"\u22AE","\\nVdash",!0),ge(ne,he,rt,"\u2AB5","\\precneqq",!0),ge(ne,he,rt,"\u2AB6","\\succneqq",!0),ge(ne,he,rt,"\uE016","\\@nsubseteqq"),ge(ne,he,nr,"\u22B4","\\unlhd"),ge(ne,he,nr,"\u22B5","\\unrhd"),ge(ne,he,rt,"\u219A","\\nleftarrow",!0),ge(ne,he,rt,"\u219B","\\nrightarrow",!0),ge(ne,he,rt,"\u21CD","\\nLeftarrow",!0),ge(ne,he,rt,"\u21CF","\\nRightarrow",!0),ge(ne,he,rt,"\u21AE","\\nleftrightarrow",!0),ge(ne,he,rt,"\u21CE","\\nLeftrightarrow",!0),ge(ne,he,rt,"\u25B3","\\vartriangle"),ge(ne,he,ze,"\u210F","\\hslash"),ge(ne,he,ze,"\u25BD","\\triangledown"),ge(ne,he,ze,"\u25CA","\\lozenge"),ge(ne,he,ze,"\u24C8","\\circledS"),ge(ne,he,ze,"\xAE","\\circledR"),ge(wt,he,ze,"\xAE","\\circledR"),ge(ne,he,ze,"\u2221","\\measuredangle",!0),ge(ne,he,ze,"\u2204","\\nexists"),ge(ne,he,ze,"\u2127","\\mho"),ge(ne,he,ze,"\u2132","\\Finv",!0),ge(ne,he,ze,"\u2141","\\Game",!0),ge(ne,he,ze,"\u2035","\\backprime"),ge(ne,he,ze,"\u25B2","\\blacktriangle"),ge(ne,he,ze,"\u25BC","\\blacktriangledown"),ge(ne,he,ze,"\u25A0","\\blacksquare"),ge(ne,he,ze,"\u29EB","\\blacklozenge"),ge(ne,he,ze,"\u2605","\\bigstar"),ge(ne,he,ze,"\u2222","\\sphericalangle",!0),ge(ne,he,ze,"\u2201","\\complement",!0),ge(ne,he,ze,"\xF0","\\eth",!0),ge(ne,he,ze,"\u2571","\\diagup"),ge(ne,he,ze,"\u2572","\\diagdown"),ge(ne,he,ze,"\u25A1","\\square"),ge(ne,he,ze,"\u25A1","\\Box"),ge(ne,he,ze,"\u25CA","\\Diamond"),ge(ne,he,ze,"\xA5","\\yen",!0),ge(wt,he,ze,"\xA5","\\yen",!0),ge(ne,he,ze,"\u2713","\\checkmark",!0),ge(wt,he,ze,"\u2713","\\checkmark"),ge(ne,he,ze,"\u2136","\\beth",!0),ge(ne,he,ze,"\u2138","\\daleth",!0),ge(ne,he,ze,"\u2137","\\gimel",!0),ge(ne,he,ze,"\u03DD","\\digamma",!0),ge(ne,he,ze,"\u03F0","\\varkappa"),ge(ne,he,mt,"\u250C","\\ulcorner",!0),ge(ne,he,lt,"\u2510","\\urcorner",!0),ge(ne,he,mt,"\u2514","\\llcorner",!0),ge(ne,he,lt,"\u2518","\\lrcorner",!0),ge(ne,he,rt,"\u2266","\\leqq",!0),ge(ne,he,rt,"\u2A7D","\\leqslant",!0),ge(ne,he,rt,"\u2A95","\\eqslantless",!0),ge(ne,he,rt,"\u2272","\\lesssim",!0),ge(ne,he,rt,"\u2A85","\\lessapprox",!0),ge(ne,he,rt,"\u224A","\\approxeq",!0),ge(ne,he,nr,"\u22D6","\\lessdot"),ge(ne,he,rt,"\u22D8","\\lll",!0),ge(ne,he,rt,"\u2276","\\lessgtr",!0),ge(ne,he,rt,"\u22DA","\\lesseqgtr",!0),ge(ne,he,rt,"\u2A8B","\\lesseqqgtr",!0),ge(ne,he,rt,"\u2251","\\doteqdot"),ge(ne,he,rt,"\u2253","\\risingdotseq",!0),ge(ne,he,rt,"\u2252","\\fallingdotseq",!0),ge(ne,he,rt,"\u223D","\\backsim",!0),ge(ne,he,rt,"\u22CD","\\backsimeq",!0),ge(ne,he,rt,"\u2AC5","\\subseteqq",!0),ge(ne,he,rt,"\u22D0","\\Subset",!0),ge(ne,he,rt,"\u228F","\\sqsubset",!0),ge(ne,he,rt,"\u227C","\\preccurlyeq",!0),ge(ne,he,rt,"\u22DE","\\curlyeqprec",!0),ge(ne,he,rt,"\u227E","\\precsim",!0),ge(ne,he,rt,"\u2AB7","\\precapprox",!0),ge(ne,he,rt,"\u22B2","\\vartriangleleft"),ge(ne,he,rt,"\u22B4","\\trianglelefteq"),ge(ne,he,rt,"\u22A8","\\vDash",!0),ge(ne,he,rt,"\u22AA","\\Vvdash",!0),ge(ne,he,rt,"\u2323","\\smallsmile"),ge(ne,he,rt,"\u2322","\\smallfrown"),ge(ne,he,rt,"\u224F","\\bumpeq",!0),ge(ne,he,rt,"\u224E","\\Bumpeq",!0),ge(ne,he,rt,"\u2267","\\geqq",!0),ge(ne,he,rt,"\u2A7E","\\geqslant",!0),ge(ne,he,rt,"\u2A96","\\eqslantgtr",!0),ge(ne,he,rt,"\u2273","\\gtrsim",!0),ge(ne,he,rt,"\u2A86","\\gtrapprox",!0),ge(ne,he,nr,"\u22D7","\\gtrdot"),ge(ne,he,rt,"\u22D9","\\ggg",!0),ge(ne,he,rt,"\u2277","\\gtrless",!0),ge(ne,he,rt,"\u22DB","\\gtreqless",!0),ge(ne,he,rt,"\u2A8C","\\gtreqqless",!0),ge(ne,he,rt,"\u2256","\\eqcirc",!0),ge(ne,he,rt,"\u2257","\\circeq",!0),ge(ne,he,rt,"\u225C","\\triangleq",!0),ge(ne,he,rt,"\u223C","\\thicksim"),ge(ne,he,rt,"\u2248","\\thickapprox"),ge(ne,he,rt,"\u2AC6","\\supseteqq",!0),ge(ne,he,rt,"\u22D1","\\Supset",!0),ge(ne,he,rt,"\u2290","\\sqsupset",!0),ge(ne,he,rt,"\u227D","\\succcurlyeq",!0),ge(ne,he,rt,"\u22DF","\\curlyeqsucc",!0),ge(ne,he,rt,"\u227F","\\succsim",!0),ge(ne,he,rt,"\u2AB8","\\succapprox",!0),ge(ne,he,rt,"\u22B3","\\vartriangleright"),ge(ne,he,rt,"\u22B5","\\trianglerighteq"),ge(ne,he,rt,"\u22A9","\\Vdash",!0),ge(ne,he,rt,"\u2223","\\shortmid"),ge(ne,he,rt,"\u2225","\\shortparallel"),ge(ne,he,rt,"\u226C","\\between",!0),ge(ne,he,rt,"\u22D4","\\pitchfork",!0),ge(ne,he,rt,"\u221D","\\varpropto"),ge(ne,he,rt,"\u25C0","\\blacktriangleleft"),ge(ne,he,rt,"\u2234","\\therefore",!0),ge(ne,he,rt,"\u220D","\\backepsilon"),ge(ne,he,rt,"\u25B6","\\blacktriangleright"),ge(ne,he,rt,"\u2235","\\because",!0),ge(ne,he,rt,"\u22D8","\\llless"),ge(ne,he,rt,"\u22D9","\\gggtr"),ge(ne,he,nr,"\u22B2","\\lhd"),ge(ne,he,nr,"\u22B3","\\rhd"),ge(ne,he,rt,"\u2242","\\eqsim",!0),ge(ne,qe,rt,"\u22C8","\\Join"),ge(ne,he,rt,"\u2251","\\Doteq",!0),ge(ne,he,nr,"\u2214","\\dotplus",!0),ge(ne,he,nr,"\u2216","\\smallsetminus"),ge(ne,he,nr,"\u22D2","\\Cap",!0),ge(ne,he,nr,"\u22D3","\\Cup",!0),ge(ne,he,nr,"\u2A5E","\\doublebarwedge",!0),ge(ne,he,nr,"\u229F","\\boxminus",!0),ge(ne,he,nr,"\u229E","\\boxplus",!0),ge(ne,he,nr,"\u22C7","\\divideontimes",!0),ge(ne,he,nr,"\u22C9","\\ltimes",!0),ge(ne,he,nr,"\u22CA","\\rtimes",!0),ge(ne,he,nr,"\u22CB","\\leftthreetimes",!0),ge(ne,he,nr,"\u22CC","\\rightthreetimes",!0),ge(ne,he,nr,"\u22CF","\\curlywedge",!0),ge(ne,he,nr,"\u22CE","\\curlyvee",!0),ge(ne,he,nr,"\u229D","\\circleddash",!0),ge(ne,he,nr,"\u229B","\\circledast",!0),ge(ne,he,nr,"\u22C5","\\centerdot"),ge(ne,he,nr,"\u22BA","\\intercal",!0),ge(ne,he,nr,"\u22D2","\\doublecap"),ge(ne,he,nr,"\u22D3","\\doublecup"),ge(ne,he,nr,"\u22A0","\\boxtimes",!0),ge(ne,he,rt,"\u21E2","\\dashrightarrow",!0),ge(ne,he,rt,"\u21E0","\\dashleftarrow",!0),ge(ne,he,rt,"\u21C7","\\leftleftarrows",!0),ge(ne,he,rt,"\u21C6","\\leftrightarrows",!0),ge(ne,he,rt,"\u21DA","\\Lleftarrow",!0),ge(ne,he,rt,"\u219E","\\twoheadleftarrow",!0),ge(ne,he,rt,"\u21A2","\\leftarrowtail",!0),ge(ne,he,rt,"\u21AB","\\looparrowleft",!0),ge(ne,he,rt,"\u21CB","\\leftrightharpoons",!0),ge(ne,he,rt,"\u21B6","\\curvearrowleft",!0),ge(ne,he,rt,"\u21BA","\\circlearrowleft",!0),ge(ne,he,rt,"\u21B0","\\Lsh",!0),ge(ne,he,rt,"\u21C8","\\upuparrows",!0),ge(ne,he,rt,"\u21BF","\\upharpoonleft",!0),ge(ne,he,rt,"\u21C3","\\downharpoonleft",!0),ge(ne,he,rt,"\u22B8","\\multimap",!0),ge(ne,he,rt,"\u21AD","\\leftrightsquigarrow",!0),ge(ne,he,rt,"\u21C9","\\rightrightarrows",!0),ge(ne,he,rt,"\u21C4","\\rightleftarrows",!0),ge(ne,he,rt,"\u21A0","\\twoheadrightarrow",!0),ge(ne,he,rt,"\u21A3","\\rightarrowtail",!0),ge(ne,he,rt,"\u21AC","\\looparrowright",!0),ge(ne,he,rt,"\u21B7","\\curvearrowright",!0),ge(ne,he,rt,"\u21BB","\\circlearrowright",!0),ge(ne,he,rt,"\u21B1","\\Rsh",!0),ge(ne,he,rt,"\u21CA","\\downdownarrows",!0),ge(ne,he,rt,"\u21BE","\\upharpoonright",!0),ge(ne,he,rt,"\u21C2","\\downharpoonright",!0),ge(ne,he,rt,"\u21DD","\\rightsquigarrow",!0),ge(ne,he,rt,"\u21DD","\\leadsto"),ge(ne,he,rt,"\u21DB","\\Rrightarrow",!0),ge(ne,he,rt,"\u21BE","\\restriction"),ge(ne,qe,ze,"\u2018","`"),ge(ne,qe,ze,"$","\\$"),ge(wt,qe,ze,"$","\\$"),ge(wt,qe,ze,"$","\\textdollar"),ge(ne,qe,ze,"%","\\%"),ge(wt,qe,ze,"%","\\%"),ge(ne,qe,ze,"_","\\_"),ge(wt,qe,ze,"_","\\_"),ge(wt,qe,ze,"_","\\textunderscore"),ge(ne,qe,ze,"\u2220","\\angle",!0),ge(ne,qe,ze,"\u221E","\\infty",!0),ge(ne,qe,ze,"\u2032","\\prime"),ge(ne,qe,ze,"\u25B3","\\triangle"),ge(ne,qe,ze,"\u0393","\\Gamma",!0),ge(ne,qe,ze,"\u0394","\\Delta",!0),ge(ne,qe,ze,"\u0398","\\Theta",!0),ge(ne,qe,ze,"\u039B","\\Lambda",!0),ge(ne,qe,ze,"\u039E","\\Xi",!0),ge(ne,qe,ze,"\u03A0","\\Pi",!0),ge(ne,qe,ze,"\u03A3","\\Sigma",!0),ge(ne,qe,ze,"\u03A5","\\Upsilon",!0),ge(ne,qe,ze,"\u03A6","\\Phi",!0),ge(ne,qe,ze,"\u03A8","\\Psi",!0),ge(ne,qe,ze,"\u03A9","\\Omega",!0),ge(ne,qe,ze,"A","\u0391"),ge(ne,qe,ze,"B","\u0392"),ge(ne,qe,ze,"E","\u0395"),ge(ne,qe,ze,"Z","\u0396"),ge(ne,qe,ze,"H","\u0397"),ge(ne,qe,ze,"I","\u0399"),ge(ne,qe,ze,"K","\u039A"),ge(ne,qe,ze,"M","\u039C"),ge(ne,qe,ze,"N","\u039D"),ge(ne,qe,ze,"O","\u039F"),ge(ne,qe,ze,"P","\u03A1"),ge(ne,qe,ze,"T","\u03A4"),ge(ne,qe,ze,"X","\u03A7"),ge(ne,qe,ze,"\xAC","\\neg",!0),ge(ne,qe,ze,"\xAC","\\lnot"),ge(ne,qe,ze,"\u22A4","\\top"),ge(ne,qe,ze,"\u22A5","\\bot"),ge(ne,qe,ze,"\u2205","\\emptyset"),ge(ne,he,ze,"\u2205","\\varnothing"),ge(ne,qe,hr,"\u03B1","\\alpha",!0),ge(ne,qe,hr,"\u03B2","\\beta",!0),ge(ne,qe,hr,"\u03B3","\\gamma",!0),ge(ne,qe,hr,"\u03B4","\\delta",!0),ge(ne,qe,hr,"\u03F5","\\epsilon",!0),ge(ne,qe,hr,"\u03B6","\\zeta",!0),ge(ne,qe,hr,"\u03B7","\\eta",!0),ge(ne,qe,hr,"\u03B8","\\theta",!0),ge(ne,qe,hr,"\u03B9","\\iota",!0),ge(ne,qe,hr,"\u03BA","\\kappa",!0),ge(ne,qe,hr,"\u03BB","\\lambda",!0),ge(ne,qe,hr,"\u03BC","\\mu",!0),ge(ne,qe,hr,"\u03BD","\\nu",!0),ge(ne,qe,hr,"\u03BE","\\xi",!0),ge(ne,qe,hr,"\u03BF","\\omicron",!0),ge(ne,qe,hr,"\u03C0","\\pi",!0),ge(ne,qe,hr,"\u03C1","\\rho",!0),ge(ne,qe,hr,"\u03C3","\\sigma",!0),ge(ne,qe,hr,"\u03C4","\\tau",!0),ge(ne,qe,hr,"\u03C5","\\upsilon",!0),ge(ne,qe,hr,"\u03D5","\\phi",!0),ge(ne,qe,hr,"\u03C7","\\chi",!0),ge(ne,qe,hr,"\u03C8","\\psi",!0),ge(ne,qe,hr,"\u03C9","\\omega",!0),ge(ne,qe,hr,"\u03B5","\\varepsilon",!0),ge(ne,qe,hr,"\u03D1","\\vartheta",!0),ge(ne,qe,hr,"\u03D6","\\varpi",!0),ge(ne,qe,hr,"\u03F1","\\varrho",!0),ge(ne,qe,hr,"\u03C2","\\varsigma",!0),ge(ne,qe,hr,"\u03C6","\\varphi",!0),ge(ne,qe,nr,"\u2217","*"),ge(ne,qe,nr,"+","+"),ge(ne,qe,nr,"\u2212","-"),ge(ne,qe,nr,"\u22C5","\\cdot",!0),ge(ne,qe,nr,"\u2218","\\circ"),ge(ne,qe,nr,"\xF7","\\div",!0),ge(ne,qe,nr,"\xB1","\\pm",!0),ge(ne,qe,nr,"\xD7","\\times",!0),ge(ne,qe,nr,"\u2229","\\cap",!0),ge(ne,qe,nr,"\u222A","\\cup",!0),ge(ne,qe,nr,"\u2216","\\setminus"),ge(ne,qe,nr,"\u2227","\\land"),ge(ne,qe,nr,"\u2228","\\lor"),ge(ne,qe,nr,"\u2227","\\wedge",!0),ge(ne,qe,nr,"\u2228","\\vee",!0),ge(ne,qe,ze,"\u221A","\\surd"),ge(ne,qe,mt,"(","("),ge(ne,qe,mt,"[","["),ge(ne,qe,mt,"\u27E8","\\langle",!0),ge(ne,qe,mt,"\u2223","\\lvert"),ge(ne,qe,mt,"\u2225","\\lVert"),ge(ne,qe,lt,")",")"),ge(ne,qe,lt,"]","]"),ge(ne,qe,lt,"?","?"),ge(ne,qe,lt,"!","!"),ge(ne,qe,lt,"\u27E9","\\rangle",!0),ge(ne,qe,lt,"\u2223","\\rvert"),ge(ne,qe,lt,"\u2225","\\rVert"),ge(ne,qe,rt,"=","="),ge(ne,qe,rt,"<","<"),ge(ne,qe,rt,">",">"),ge(ne,qe,rt,":",":"),ge(ne,qe,rt,"\u2248","\\approx",!0),ge(ne,qe,rt,"\u2245","\\cong",!0),ge(ne,qe,rt,"\u2265","\\ge"),ge(ne,qe,rt,"\u2265","\\geq",!0),ge(ne,qe,rt,"\u2190","\\gets"),ge(ne,qe,rt,">","\\gt"),ge(ne,qe,rt,"\u2208","\\in",!0),ge(ne,qe,rt,"\uE020","\\@not"),ge(ne,qe,rt,"\u2282","\\subset",!0),ge(ne,qe,rt,"\u2283","\\supset",!0),ge(ne,qe,rt,"\u2286","\\subseteq",!0),ge(ne,qe,rt,"\u2287","\\supseteq",!0),ge(ne,he,rt,"\u2288","\\nsubseteq",!0),ge(ne,he,rt,"\u2289","\\nsupseteq",!0),ge(ne,qe,rt,"\u22A8","\\models"),ge(ne,qe,rt,"\u2190","\\leftarrow",!0),ge(ne,qe,rt,"\u2264","\\le"),ge(ne,qe,rt,"\u2264","\\leq",!0),ge(ne,qe,rt,"<","\\lt"),ge(ne,qe,rt,"\u2192","\\rightarrow",!0),ge(ne,qe,rt,"\u2192","\\to"),ge(ne,he,rt,"\u2271","\\ngeq",!0),ge(ne,he,rt,"\u2270","\\nleq",!0),ge(ne,qe,He,"\xA0","\\ "),ge(ne,qe,He,"\xA0","~"),ge(ne,qe,He,"\xA0","\\space"),ge(ne,qe,He,"\xA0","\\nobreakspace"),ge(wt,qe,He,"\xA0","\\ "),ge(wt,qe,He,"\xA0","~"),ge(wt,qe,He,"\xA0","\\space"),ge(wt,qe,He,"\xA0","\\nobreakspace"),ge(ne,qe,He,null,"\\nobreak"),ge(ne,qe,He,null,"\\allowbreak"),ge(ne,qe,Et,",",","),ge(ne,qe,Et,";",";"),ge(ne,he,nr,"\u22BC","\\barwedge",!0),ge(ne,he,nr,"\u22BB","\\veebar",!0),ge(ne,qe,nr,"\u2299","\\odot",!0),ge(ne,qe,nr,"\u2295","\\oplus",!0),ge(ne,qe,nr,"\u2297","\\otimes",!0),ge(ne,qe,ze,"\u2202","\\partial",!0),ge(ne,qe,nr,"\u2298","\\oslash",!0),ge(ne,he,nr,"\u229A","\\circledcirc",!0),ge(ne,he,nr,"\u22A1","\\boxdot",!0),ge(ne,qe,nr,"\u25B3","\\bigtriangleup"),ge(ne,qe,nr,"\u25BD","\\bigtriangledown"),ge(ne,qe,nr,"\u2020","\\dagger"),ge(ne,qe,nr,"\u22C4","\\diamond"),ge(ne,qe,nr,"\u22C6","\\star"),ge(ne,qe,nr,"\u25C3","\\triangleleft"),ge(ne,qe,nr,"\u25B9","\\triangleright"),ge(ne,qe,mt,"{","\\{"),ge(wt,qe,ze,"{","\\{"),ge(wt,qe,ze,"{","\\textbraceleft"),ge(ne,qe,lt,"}","\\}"),ge(wt,qe,ze,"}","\\}"),ge(wt,qe,ze,"}","\\textbraceright"),ge(ne,qe,mt,"{","\\lbrace"),ge(ne,qe,lt,"}","\\rbrace"),ge(ne,qe,mt,"[","\\lbrack"),ge(wt,qe,ze,"[","\\lbrack"),ge(ne,qe,lt,"]","\\rbrack"),ge(wt,qe,ze,"]","\\rbrack"),ge(ne,qe,mt,"(","\\lparen"),ge(ne,qe,lt,")","\\rparen"),ge(wt,qe,ze,"<","\\textless"),ge(wt,qe,ze,">","\\textgreater"),ge(ne,qe,mt,"\u230A","\\lfloor",!0),ge(ne,qe,lt,"\u230B","\\rfloor",!0),ge(ne,qe,mt,"\u2308","\\lceil",!0),ge(ne,qe,lt,"\u2309","\\rceil",!0),ge(ne,qe,ze,"\\","\\backslash"),ge(ne,qe,ze,"\u2223","|"),ge(ne,qe,ze,"\u2223","\\vert"),ge(wt,qe,ze,"|","\\textbar"),ge(ne,qe,ze,"\u2225","\\|"),ge(ne,qe,ze,"\u2225","\\Vert"),ge(wt,qe,ze,"\u2225","\\textbardbl"),ge(wt,qe,ze,"~","\\textasciitilde"),ge(wt,qe,ze,"\\","\\textbackslash"),ge(wt,qe,ze,"^","\\textasciicircum"),ge(ne,qe,rt,"\u2191","\\uparrow",!0),ge(ne,qe,rt,"\u21D1","\\Uparrow",!0),ge(ne,qe,rt,"\u2193","\\downarrow",!0),ge(ne,qe,rt,"\u21D3","\\Downarrow",!0),ge(ne,qe,rt,"\u2195","\\updownarrow",!0),ge(ne,qe,rt,"\u21D5","\\Updownarrow",!0),ge(ne,qe,Wr,"\u2210","\\coprod"),ge(ne,qe,Wr,"\u22C1","\\bigvee"),ge(ne,qe,Wr,"\u22C0","\\bigwedge"),ge(ne,qe,Wr,"\u2A04","\\biguplus"),ge(ne,qe,Wr,"\u22C2","\\bigcap"),ge(ne,qe,Wr,"\u22C3","\\bigcup"),ge(ne,qe,Wr,"\u222B","\\int"),ge(ne,qe,Wr,"\u222B","\\intop"),ge(ne,qe,Wr,"\u222C","\\iint"),ge(ne,qe,Wr,"\u222D","\\iiint"),ge(ne,qe,Wr,"\u220F","\\prod"),ge(ne,qe,Wr,"\u2211","\\sum"),ge(ne,qe,Wr,"\u2A02","\\bigotimes"),ge(ne,qe,Wr,"\u2A01","\\bigoplus"),ge(ne,qe,Wr,"\u2A00","\\bigodot"),ge(ne,qe,Wr,"\u222E","\\oint"),ge(ne,qe,Wr,"\u222F","\\oiint"),ge(ne,qe,Wr,"\u2230","\\oiiint"),ge(ne,qe,Wr,"\u2A06","\\bigsqcup"),ge(ne,qe,Wr,"\u222B","\\smallint"),ge(wt,qe,Xt,"\u2026","\\textellipsis"),ge(ne,qe,Xt,"\u2026","\\mathellipsis"),ge(wt,qe,Xt,"\u2026","\\ldots",!0),ge(ne,qe,Xt,"\u2026","\\ldots",!0),ge(ne,qe,Xt,"\u22EF","\\@cdots",!0),ge(ne,qe,Xt,"\u22F1","\\ddots",!0),ge(ne,qe,ze,"\u22EE","\\varvdots"),ge(ne,qe,kt,"\u02CA","\\acute"),ge(ne,qe,kt,"\u02CB","\\grave"),ge(ne,qe,kt,"\xA8","\\ddot"),ge(ne,qe,kt,"~","\\tilde"),ge(ne,qe,kt,"\u02C9","\\bar"),ge(ne,qe,kt,"\u02D8","\\breve"),ge(ne,qe,kt,"\u02C7","\\check"),ge(ne,qe,kt,"^","\\hat"),ge(ne,qe,kt,"\u20D7","\\vec"),ge(ne,qe,kt,"\u02D9","\\dot"),ge(ne,qe,kt,"\u02DA","\\mathring"),ge(ne,qe,hr,"\u0131","\\imath",!0),ge(ne,qe,hr,"\u0237","\\jmath",!0),ge(wt,qe,ze,"\u0131","\\i",!0),ge(wt,qe,ze,"\u0237","\\j",!0),ge(wt,qe,ze,"\xDF","\\ss",!0),ge(wt,qe,ze,"\xE6","\\ae",!0),ge(wt,qe,ze,"\xE6","\\ae",!0),ge(wt,qe,ze,"\u0153","\\oe",!0),ge(wt,qe,ze,"\xF8","\\o",!0),ge(wt,qe,ze,"\xC6","\\AE",!0),ge(wt,qe,ze,"\u0152","\\OE",!0),ge(wt,qe,ze,"\xD8","\\O",!0),ge(wt,qe,kt,"\u02CA","\\'"),ge(wt,qe,kt,"\u02CB","\\`"),ge(wt,qe,kt,"\u02C6","\\^"),ge(wt,qe,kt,"\u02DC","\\~"),ge(wt,qe,kt,"\u02C9","\\="),ge(wt,qe,kt,"\u02D8","\\u"),ge(wt,qe,kt,"\u02D9","\\."),ge(wt,qe,kt,"\u02DA","\\r"),ge(wt,qe,kt,"\u02C7","\\v"),ge(wt,qe,kt,"\xA8",'\\"'),ge(wt,qe,kt,"\u02DD","\\H"),ge(wt,qe,kt,"\u25EF","\\textcircled");var Rt={"--":!0,"---":!0,"``":!0,"''":!0};ge(wt,qe,ze,"\u2013","--"),ge(wt,qe,ze,"\u2013","\\textendash"),ge(wt,qe,ze,"\u2014","---"),ge(wt,qe,ze,"\u2014","\\textemdash"),ge(wt,qe,ze,"\u2018","`"),ge(wt,qe,ze,"\u2018","\\textquoteleft"),ge(wt,qe,ze,"\u2019","'"),ge(wt,qe,ze,"\u2019","\\textquoteright"),ge(wt,qe,ze,"\u201C","``"),ge(wt,qe,ze,"\u201C","\\textquotedblleft"),ge(wt,qe,ze,"\u201D","''"),ge(wt,qe,ze,"\u201D","\\textquotedblright"),ge(ne,qe,ze,"\xB0","\\degree",!0),ge(wt,qe,ze,"\xB0","\\degree"),ge(wt,qe,ze,"\xB0","\\textdegree",!0),ge(ne,qe,hr,"\xA3","\\pounds"),ge(ne,qe,hr,"\xA3","\\mathsterling",!0),ge(wt,qe,hr,"\xA3","\\pounds"),ge(wt,qe,hr,"\xA3","\\textsterling",!0),ge(ne,he,ze,"\u2720","\\maltese"),ge(wt,he,ze,"\u2720","\\maltese"),ge(wt,qe,He,"\xA0","\\ "),ge(wt,qe,He,"\xA0"," "),ge(wt,qe,He,"\xA0","~");for(var sr='0123456789/@."',Jt=0;Jt<sr.length;Jt++){var qt=sr.charAt(Jt);ge(ne,qe,ze,qt,qt)}for(var qr='0123456789!@*()-=+[]<>|";:?/.,',Fr=0;Fr<qr.length;Fr++){var mn=qr.charAt(Fr);ge(wt,qe,ze,mn,mn)}for(var Tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",St=0;St<Tt.length;St++){var Re=Tt.charAt(St);ge(ne,qe,hr,Re,Re),ge(wt,qe,ze,Re,Re)}ge(ne,he,ze,"C","\u2102"),ge(wt,he,ze,"C","\u2102"),ge(ne,he,ze,"H","\u210D"),ge(wt,he,ze,"H","\u210D"),ge(ne,he,ze,"N","\u2115"),ge(wt,he,ze,"N","\u2115"),ge(ne,he,ze,"P","\u2119"),ge(wt,he,ze,"P","\u2119"),ge(ne,he,ze,"Q","\u211A"),ge(wt,he,ze,"Q","\u211A"),ge(ne,he,ze,"R","\u211D"),ge(wt,he,ze,"R","\u211D"),ge(ne,he,ze,"Z","\u2124"),ge(wt,he,ze,"Z","\u2124"),ge(ne,qe,hr,"h","\u210E"),ge(wt,qe,hr,"h","\u210E");for(var Ve="",Xe=0;Xe<Tt.length;Xe++){var ct=Tt.charAt(Xe);Ve=String.fromCharCode(55349,56320+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56372+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56424+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56580+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56736+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56788+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56840+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56944+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Xe<26&&(Ve=String.fromCharCode(55349,56632+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve),Ve=String.fromCharCode(55349,56476+Xe),ge(ne,qe,hr,ct,Ve),ge(wt,qe,ze,ct,Ve))}Ve=String.fromCharCode(55349,56668),ge(ne,qe,hr,"k",Ve),ge(wt,qe,ze,"k",Ve);for(var tr=0;tr<10;tr++){var ir=tr.toString();Ve=String.fromCharCode(55349,57294+tr),ge(ne,qe,hr,ir,Ve),ge(wt,qe,ze,ir,Ve),Ve=String.fromCharCode(55349,57314+tr),ge(ne,qe,hr,ir,Ve),ge(wt,qe,ze,ir,Ve),Ve=String.fromCharCode(55349,57324+tr),ge(ne,qe,hr,ir,Ve),ge(wt,qe,ze,ir,Ve),Ve=String.fromCharCode(55349,57334+tr),ge(ne,qe,hr,ir,Ve),ge(wt,qe,ze,ir,Ve)}for(var or="\xC7\xD0\xDE\xE7\xFE",Xr=0;Xr<or.length;Xr++){var Yr=or.charAt(Xr);ge(ne,qe,hr,Yr,Yr),ge(wt,qe,ze,Yr,Yr)}ge(wt,qe,ze,"\xF0","\xF0"),ge(wt,qe,ze,"\u2013","\u2013"),ge(wt,qe,ze,"\u2014","\u2014"),ge(wt,qe,ze,"\u2018","\u2018"),ge(wt,qe,ze,"\u2019","\u2019"),ge(wt,qe,ze,"\u201C","\u201C"),ge(wt,qe,ze,"\u201D","\u201D");var bn=[["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"]],Yt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],pt=function(oe,Ae){var we=oe.charCodeAt(0),Be=oe.charCodeAt(1),st=(we-55296)*1024+(Be-56320)+65536,Bt=Ae==="math"?0:1;if(119808<=st&&st<120484){var wr=Math.floor((st-119808)/26);return[bn[wr][2],bn[wr][Bt]]}else if(120782<=st&&st<=120831){var Tr=Math.floor((st-120782)/10);return[Yt[Tr][2],Yt[Tr][Bt]]}else{if(st===120485||st===120486)return[bn[0][2],bn[0][Bt]];if(120486<st&&st<120782)return["",""];throw new l("Unsupported character: "+oe)}},ht=[[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]],Zt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],$t=function(oe,Ae){return Ae.size<2?oe:ht[oe-1][Ae.size-1]},At=function(){function ft(Ae){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=Ae.style,this.color=Ae.color,this.size=Ae.size||ft.BASESIZE,this.textSize=Ae.textSize||this.size,this.phantom=!!Ae.phantom,this.font=Ae.font||"",this.fontFamily=Ae.fontFamily||"",this.fontWeight=Ae.fontWeight||"",this.fontShape=Ae.fontShape||"",this.sizeMultiplier=Zt[this.size-1],this.maxSize=Ae.maxSize,this.minRuleThickness=Ae.minRuleThickness,this._fontMetrics=void 0}var oe=ft.prototype;return oe.extend=function(we){var Be={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 st in we)we.hasOwnProperty(st)&&(Be[st]=we[st]);return new ft(Be)},oe.havingStyle=function(we){return this.style===we?this:this.extend({style:we,size:$t(this.textSize,we)})},oe.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},oe.havingSize=function(we){return this.size===we&&this.textSize===we?this:this.extend({style:this.style.text(),size:we,textSize:we,sizeMultiplier:Zt[we-1]})},oe.havingBaseStyle=function(we){we=we||this.style.text();var Be=$t(ft.BASESIZE,we);return this.size===Be&&this.textSize===ft.BASESIZE&&this.style===we?this:this.extend({style:we,size:Be})},oe.havingBaseSizing=function(){var we;switch(this.style.id){case 4:case 5:we=3;break;case 6:case 7:we=1;break;default:we=6}return this.extend({style:this.style.text(),size:we})},oe.withColor=function(we){return this.extend({color:we})},oe.withPhantom=function(){return this.extend({phantom:!0})},oe.withFont=function(we){return this.extend({font:we})},oe.withTextFontFamily=function(we){return this.extend({fontFamily:we,font:""})},oe.withTextFontWeight=function(we){return this.extend({fontWeight:we,font:""})},oe.withTextFontShape=function(we){return this.extend({fontShape:we,font:""})},oe.sizingClasses=function(we){return we.size!==this.size?["sizing","reset-size"+we.size,"size"+this.size]:[]},oe.baseSizingClasses=function(){return this.size!==ft.BASESIZE?["sizing","reset-size"+this.size,"size"+ft.BASESIZE]:[]},oe.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ct(this.size)),this._fontMetrics},oe.getColor=function(){return this.phantom?"transparent":this.color},ft}();At.BASESIZE=6;var Pt=At,gt={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},Wt={ex:!0,em:!0,mu:!0},yr=function(oe){return typeof oe!="string"&&(oe=oe.unit),oe in gt||oe in Wt||oe==="ex"},cr=function(oe,Ae){var we;if(oe.unit in gt)we=gt[oe.unit]/Ae.fontMetrics().ptPerEm/Ae.sizeMultiplier;else if(oe.unit==="mu")we=Ae.fontMetrics().cssEmPerMu;else{var Be;if(Ae.style.isTight()?Be=Ae.havingStyle(Ae.style.text()):Be=Ae,oe.unit==="ex")we=Be.fontMetrics().xHeight;else if(oe.unit==="em")we=Be.fontMetrics().quad;else throw new l("Invalid unit: '"+oe.unit+"'");Be!==Ae&&(we*=Be.sizeMultiplier/Ae.sizeMultiplier)}return Math.min(oe.number*we,Ae.maxSize)},pr=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Qr=function(oe,Ae,we){return $e[we][oe]&&$e[we][oe].replace&&(oe=$e[we][oe].replace),{value:oe,metrics:Ye(oe,Ae,we)}},$r=function(oe,Ae,we,Be,st){var Bt=Qr(oe,Ae,we),wr=Bt.metrics;oe=Bt.value;var Tr;if(wr){var tn=wr.italic;(we==="text"||Be&&Be.font==="mathit")&&(tn=0),Tr=new Te(oe,wr.height,wr.depth,tn,wr.skew,wr.width,st)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+oe+"' in style '"+Ae+"' and mode '"+we+"'")),Tr=new Te(oe,0,0,0,0,0,st);if(Be){Tr.maxFontSize=Be.sizeMultiplier,Be.style.isTight()&&Tr.classes.push("mtight");var _n=Be.getColor();_n&&(Tr.style.color=_n)}return Tr},Ln=function(oe,Ae,we,Be){return Be===void 0&&(Be=[]),we.font==="boldsymbol"&&Qr(oe,"Main-Bold",Ae).metrics?$r(oe,"Main-Bold",Ae,we,Be.concat(["mathbf"])):oe==="\\"||$e[Ae][oe].font==="main"?$r(oe,"Main-Regular",Ae,we,Be):$r(oe,"AMS-Regular",Ae,we,Be.concat(["amsrm"]))},Mn=function(oe,Ae,we,Be){return/[0-9]/.test(oe.charAt(0))||A.contains(pr,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Vn=function(oe,Ae,we,Be){return A.contains(pr,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(oe.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ii=function(oe,Ae,we,Be){return Qr(oe,"Math-BoldItalic",Ae).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Li=function(oe,Ae,we){var Be=oe.mode,st=oe.text,Bt=["mord"],wr=Be==="math"||Be==="text"&&Ae.font,Tr=wr?Ae.font:Ae.fontFamily;if(st.charCodeAt(0)===55349){var tn=pt(st,Be),_n=tn[0],jn=tn[1];return $r(st,_n,Be,Ae,Bt.concat(jn))}else if(Tr){var fi,Ii;if(Tr==="boldsymbol"||Tr==="mathnormal"){var Vi=Tr==="boldsymbol"?ii(st,Be,Ae,Bt):Vn(st,Be,Ae,Bt);fi=Vi.fontName,Ii=[Vi.fontClass]}else A.contains(pr,st)?(fi="Main-Italic",Ii=["mathit"]):wr?(fi=Or[Tr].fontName,Ii=[Tr]):(fi=Ar(Tr,Ae.fontWeight,Ae.fontShape),Ii=[Tr,Ae.fontWeight,Ae.fontShape]);if(Qr(st,fi,Be).metrics)return $r(st,fi,Be,Ae,Bt.concat(Ii));if(Rt.hasOwnProperty(st)&&fi.substr(0,10)==="Typewriter"){for(var sa=[],wa=0;wa<st.length;wa++)sa.push($r(st[wa],fi,Be,Ae,Bt.concat(Ii)));return Je(sa)}}if(we==="mathord"){var Za=Mn(st,Be,Ae,Bt);return $r(st,Za.fontName,Be,Ae,Bt.concat([Za.fontClass]))}else if(we==="textord"){var to=$e[Be][st]&&$e[Be][st].font;if(to==="ams"){var lo=Ar("amsrm",Ae.fontWeight,Ae.fontShape);return $r(st,lo,Be,Ae,Bt.concat("amsrm",Ae.fontWeight,Ae.fontShape))}else if(to==="main"||!to){var _o=Ar("textrm",Ae.fontWeight,Ae.fontShape);return $r(st,_o,Be,Ae,Bt.concat(Ae.fontWeight,Ae.fontShape))}else{var ao=Ar(to,Ae.fontWeight,Ae.fontShape);return $r(st,ao,Be,Ae,Bt.concat(ao,Ae.fontWeight,Ae.fontShape))}}else throw new Error("unexpected type: "+we+" in makeOrd")},Pi=function(oe,Ae){if(ae(oe.classes)!==ae(Ae.classes)||oe.skew!==Ae.skew||oe.maxFontSize!==Ae.maxFontSize)return!1;for(var we in oe.style)if(oe.style.hasOwnProperty(we)&&oe.style[we]!==Ae.style[we])return!1;for(var Be in Ae.style)if(Ae.style.hasOwnProperty(Be)&&oe.style[Be]!==Ae.style[Be])return!1;return!0},Ze=function(oe){for(var Ae=0;Ae<oe.length-1;Ae++){var we=oe[Ae],Be=oe[Ae+1];we instanceof Te&&Be instanceof Te&&Pi(we,Be)&&(we.text+=Be.text,we.height=Math.max(we.height,Be.height),we.depth=Math.max(we.depth,Be.depth),we.italic=Be.italic,oe.splice(Ae+1,1),Ae--)}return oe},xe=function(oe){for(var Ae=0,we=0,Be=0,st=0;st<oe.children.length;st++){var Bt=oe.children[st];Bt.height>Ae&&(Ae=Bt.height),Bt.depth>we&&(we=Bt.depth),Bt.maxFontSize>Be&&(Be=Bt.maxFontSize)}oe.height=Ae,oe.depth=we,oe.maxFontSize=Be},Me=function(oe,Ae,we,Be){var st=new z(oe,Ae,we,Be);return xe(st),st},ke=function(oe,Ae,we,Be){return new z(oe,Ae,we,Be)},Ge=function(oe,Ae,we){var Be=Me([oe],[],Ae);return Be.height=Math.max(we||Ae.fontMetrics().defaultRuleThickness,Ae.minRuleThickness),Be.style.borderBottomWidth=Be.height+"em",Be.maxFontSize=1,Be},Ke=function(oe,Ae,we,Be){var st=new Y(oe,Ae,we,Be);return xe(st),st},Je=function(oe){var Ae=new Q(oe);return xe(Ae),Ae},vt=function(oe,Ae){return oe instanceof Q?Me([],[oe],Ae):oe},ot=function(oe){if(oe.positionType==="individualShift"){for(var Ae=oe.children,we=[Ae[0]],Be=-Ae[0].shift-Ae[0].elem.depth,st=Be,Bt=1;Bt<Ae.length;Bt++){var wr=-Ae[Bt].shift-st-Ae[Bt].elem.depth,Tr=wr-(Ae[Bt-1].elem.height+Ae[Bt-1].elem.depth);st=st+wr,we.push({type:"kern",size:Tr}),we.push(Ae[Bt])}return{children:we,depth:Be}}var tn;if(oe.positionType==="top"){for(var _n=oe.positionData,jn=0;jn<oe.children.length;jn++){var fi=oe.children[jn];_n-=fi.type==="kern"?fi.size:fi.elem.height+fi.elem.depth}tn=_n}else if(oe.positionType==="bottom")tn=-oe.positionData;else{var Ii=oe.children[0];if(Ii.type!=="elem")throw new Error('First child must have type "elem".');if(oe.positionType==="shift")tn=-Ii.elem.depth-oe.positionData;else if(oe.positionType==="firstBaseline")tn=-Ii.elem.depth;else throw new Error("Invalid positionType "+oe.positionType+".")}return{children:oe.children,depth:tn}},Ut=function(oe,Ae){for(var we=ot(oe),Be=we.children,st=we.depth,Bt=0,wr=0;wr<Be.length;wr++){var Tr=Be[wr];if(Tr.type==="elem"){var tn=Tr.elem;Bt=Math.max(Bt,tn.maxFontSize,tn.height)}}Bt+=2;var _n=Me(["pstrut"],[]);_n.style.height=Bt+"em";for(var jn=[],fi=st,Ii=st,Vi=st,sa=0;sa<Be.length;sa++){var wa=Be[sa];if(wa.type==="kern")Vi+=wa.size;else{var Za=wa.elem,to=wa.wrapperClasses||[],lo=wa.wrapperStyle||{},_o=Me(to,[_n,Za],void 0,lo);_o.style.top=-Bt-Vi-Za.depth+"em",wa.marginLeft&&(_o.style.marginLeft=wa.marginLeft),wa.marginRight&&(_o.style.marginRight=wa.marginRight),jn.push(_o),Vi+=Za.height+Za.depth}fi=Math.min(fi,Vi),Ii=Math.max(Ii,Vi)}var ao=Me(["vlist"],jn);ao.style.height=Ii+"em";var Do;if(fi<0){var Ja=Me([],[]),Eo=Me(["vlist"],[Ja]);Eo.style.height=-fi+"em";var fs=Me(["vlist-s"],[new Te("\u200B")]);Do=[Me(["vlist-r"],[ao,fs]),Me(["vlist-r"],[Eo])]}else Do=[Me(["vlist-r"],[ao])];var Oo=Me(["vlist-t"],Do);return Do.length===2&&Oo.classes.push("vlist-t2"),Oo.height=Ii,Oo.depth=-fi,Oo},br=function(oe,Ae){var we=Me(["mspace"],[],Ae),Be=cr(oe,Ae);return we.style.marginRight=Be+"em",we},Ar=function(oe,Ae,we){var Be="";switch(oe){case"amsrm":Be="AMS";break;case"textrm":Be="Main";break;case"textsf":Be="SansSerif";break;case"texttt":Be="Typewriter";break;default:Be=oe}var st;return Ae==="textbf"&&we==="textit"?st="BoldItalic":Ae==="textbf"?st="Bold":Ae==="textit"?st="Italic":st="Regular",Be+"-"+st},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"}},zt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},un=function(oe,Ae){var we=zt[oe],Be=we[0],st=we[1],Bt=we[2],wr=new ie(Be),Tr=new Se([wr],{width:st+"em",height:Bt+"em",style:"width:"+st+"em",viewBox:"0 0 "+1e3*st+" "+1e3*Bt,preserveAspectRatio:"xMinYMin"}),tn=ke(["overlay"],[Tr],Ae);return tn.height=Bt,tn.style.height=Bt+"em",tn.style.width=st+"em",tn},lr={fontMap:Or,makeSymbol:$r,mathsym:Ln,makeSpan:Me,makeSvgSpan:ke,makeLineSpan:Ge,makeAnchor:Ke,makeFragment:Je,wrapFragment:vt,makeVList:Ut,makeOrd:Li,makeGlue:br,staticSvg:un,svgData:zt,tryCombineChars:Ze};function Vr(ft,oe){var Ae=Br(ft,oe);if(!Ae)throw new Error("Expected node of type "+oe+", but got "+(ft?"node of type "+ft.type:String(ft)));return Ae}function Br(ft,oe){return ft&&ft.type===oe?ft:null}function Sr(ft,oe){var Ae=xn(ft,oe);if(!Ae)throw new Error('Expected node of type "atom" and family "'+oe+'", but got '+(ft?ft.type==="atom"?"atom of family "+ft.family:"node of type "+ft.type:String(ft)));return Ae}function xn(ft,oe){return ft&&ft.type==="atom"&&ft.family===oe?ft:null}function Hn(ft){var oe=ai(ft);if(!oe)throw new Error("Expected node of symbol group type, but got "+(ft?"node of type "+ft.type:String(ft)));return oe}function ai(ft){return ft&&(ft.type==="atom"||Ft.hasOwnProperty(ft.type))?ft:null}var si={number:3,unit:"mu"},Yn={number:4,unit:"mu"},Wn={number:5,unit:"mu"},Dn={mord:{mop:si,mbin:Yn,mrel:Wn,minner:si},mop:{mord:si,mop:si,mrel:Wn,minner:si},mbin:{mord:Yn,mop:Yn,mopen:Yn,minner:Yn},mrel:{mord:Wn,mop:Wn,mopen:Wn,minner:Wn},mopen:{},mclose:{mop:si,mbin:Yn,mrel:Wn,minner:si},mpunct:{mord:si,mop:si,mrel:Wn,mopen:si,mclose:si,mpunct:si,minner:si},minner:{mord:si,mop:si,mbin:Yn,mrel:Wn,mopen:si,mpunct:si,minner:si}},vi={mord:{mop:si},mop:{mord:si,mop:si},mbin:{},mrel:{},mopen:{},mclose:{mop:si},mpunct:{},minner:{mop:si}},gn={},Kr={},En={};function sn(ft){for(var oe=ft.type,Ae=ft.names,we=ft.props,Be=ft.handler,st=ft.htmlBuilder,Bt=ft.mathmlBuilder,wr={type:oe,numArgs:we.numArgs,argTypes:we.argTypes,greediness:we.greediness===void 0?1:we.greediness,allowedInText:!!we.allowedInText,allowedInMath:we.allowedInMath===void 0?!0:we.allowedInMath,numOptionalArgs:we.numOptionalArgs||0,infix:!!we.infix,handler:Be},Tr=0;Tr<Ae.length;++Tr)gn[Ae[Tr]]=wr;oe&&(st&&(Kr[oe]=st),Bt&&(En[oe]=Bt))}function li(ft){var oe=ft.type,Ae=ft.htmlBuilder,we=ft.mathmlBuilder;sn({type:oe,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Ae,mathmlBuilder:we})}var ni=function(oe){var Ae=Br(oe,"ordgroup");return Ae?Ae.body:[oe]},yi=lr.makeSpan,Xn=["leftmost","mbin","mopen","mrel","mop","mpunct"],ki=["rightmost","mrel","mclose","mpunct"],wi={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT},Ji={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},An=function(oe,Ae,we,Be){Be===void 0&&(Be=[null,null]);for(var st=[],Bt=0;Bt<oe.length;Bt++){var wr=hi(oe[Bt],Ae);if(wr instanceof Q){var Tr=wr.children;st.push.apply(st,Tr)}else st.push(wr)}if(!we)return st;var tn=Ae;if(oe.length===1){var _n=Br(oe[0],"sizing")||Br(oe[0],"styling");_n&&(_n.type==="sizing"?tn=Ae.havingSize(_n.size):_n.type==="styling"&&(tn=Ae.havingStyle(wi[_n.style])))}var jn=yi([Be[0]||"leftmost"],[],Ae),fi=yi([Be[1]||"rightmost"],[],Ae);return Ur(st,function(Ii,Vi){var sa=Vi.classes[0],wa=Ii.classes[0];sa==="mbin"&&A.contains(ki,wa)?Vi.classes[0]="mord":wa==="mbin"&&A.contains(Xn,sa)&&(Ii.classes[0]="mord")},{node:jn},fi),Ur(st,function(Ii,Vi){var sa=Zn(Vi),wa=Zn(Ii),Za=sa&&wa?Ii.hasClass("mtight")?vi[sa][wa]:Dn[sa][wa]:null;if(Za)return lr.makeGlue(Za,tn)},{node:jn},fi),st},Ur=function ft(oe,Ae,we,Be){Be&&oe.push(Be);for(var st=0;st<oe.length;st++){var Bt=oe[st],wr=Cn(Bt);if(wr){ft(wr.children,Ae,we);continue}if(Bt.classes[0]==="mspace")continue;var Tr=Ae(Bt,we.node);Tr&&(we.insertAfter?we.insertAfter(Tr):(oe.unshift(Tr),st++)),we.node=Bt,we.insertAfter=function(tn){return function(_n){oe.splice(tn+1,0,_n),st++}}(st)}Be&&oe.pop()},Cn=function(oe){return oe instanceof Q||oe instanceof Y?oe:null},Un=function ft(oe,Ae){var we=Cn(oe);if(we){var Be=we.children;if(Be.length){if(Ae==="right")return ft(Be[Be.length-1],"right");if(Ae==="left")return ft(Be[0],"left")}}return oe},Zn=function(oe,Ae){return oe?(Ae&&(oe=Un(oe,Ae)),Ji[oe.classes[0]]||null):null},ti=function(oe,Ae){var we=["nulldelimiter"].concat(oe.baseSizingClasses());return yi(Ae.concat(we))},hi=function(oe,Ae,we){if(!oe)return yi();if(Kr[oe.type]){var Be=Kr[oe.type](oe,Ae);if(we&&Ae.size!==we.size){Be=yi(Ae.sizingClasses(we),[Be],Ae);var st=Ae.sizeMultiplier/we.sizeMultiplier;Be.height*=st,Be.depth*=st}return Be}else throw new l("Got group of unknown type: '"+oe.type+"'")};function pi(ft,oe){var Ae=yi(["base"],ft,oe),we=yi(["strut"]);return we.style.height=Ae.height+Ae.depth+"em",we.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(we),Ae}function mi(ft,oe){var Ae=null;ft.length===1&&ft[0].type==="tag"&&(Ae=ft[0].tag,ft=ft[0].body);for(var we=An(ft,oe,!0),Be=[],st=[],Bt=0;Bt<we.length;Bt++)if(st.push(we[Bt]),we[Bt].hasClass("mbin")||we[Bt].hasClass("mrel")||we[Bt].hasClass("allowbreak")){for(var wr=!1;Bt<we.length-1&&we[Bt+1].hasClass("mspace")&&!we[Bt+1].hasClass("newline");)Bt++,st.push(we[Bt]),we[Bt].hasClass("nobreak")&&(wr=!0);wr||(Be.push(pi(st,oe)),st=[])}else we[Bt].hasClass("newline")&&(st.pop(),st.length>0&&(Be.push(pi(st,oe)),st=[]),Be.push(we[Bt]));st.length>0&&Be.push(pi(st,oe));var Tr;Ae&&(Tr=pi(An(Ae,oe,!0)),Tr.classes=["tag"],Be.push(Tr));var tn=yi(["katex-html"],Be);if(tn.setAttribute("aria-hidden","true"),Tr){var _n=Tr.children[0];_n.style.height=tn.height+tn.depth+"em",_n.style.verticalAlign=-tn.depth+"em"}return tn}function Hi(ft){return new Q(ft)}var ra=function(){function ft(Ae,we){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ae,this.attributes={},this.children=we||[]}var oe=ft.prototype;return oe.setAttribute=function(we,Be){this.attributes[we]=Be},oe.getAttribute=function(we){return this.attributes[we]},oe.toNode=function(){var we=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Be in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Be)&&we.setAttribute(Be,this.attributes[Be]);for(var st=0;st<this.children.length;st++)we.appendChild(this.children[st].toNode());return we},oe.toMarkup=function(){var we="<"+this.type;for(var Be in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Be)&&(we+=" "+Be+'="',we+=A.escape(this.attributes[Be]),we+='"');we+=">";for(var st=0;st<this.children.length;st++)we+=this.children[st].toMarkup();return we+="</"+this.type+">",we},oe.toText=function(){return this.children.map(function(we){return we.toText()}).join("")},ft}(),$i=function(){function ft(Ae){this.text=void 0,this.text=Ae}var oe=ft.prototype;return oe.toNode=function(){return document.createTextNode(this.text)},oe.toMarkup=function(){return A.escape(this.toText())},oe.toText=function(){return this.text},ft}(),ro=function(){function ft(Ae){this.width=void 0,this.character=void 0,this.width=Ae,Ae>=.05555&&Ae<=.05556?this.character="\u200A":Ae>=.1666&&Ae<=.1667?this.character="\u2009":Ae>=.2222&&Ae<=.2223?this.character="\u2005":Ae>=.2777&&Ae<=.2778?this.character="\u2005\u200A":Ae>=-.05556&&Ae<=-.05555?this.character="\u200A\u2063":Ae>=-.1667&&Ae<=-.1666?this.character="\u2009\u2063":Ae>=-.2223&&Ae<=-.2222?this.character="\u205F\u2063":Ae>=-.2778&&Ae<=-.2777?this.character="\u2005\u2063":this.character=null}var oe=ft.prototype;return oe.toNode=function(){if(this.character)return document.createTextNode(this.character);var we=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return we.setAttribute("width",this.width+"em"),we},oe.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},oe.toText=function(){return this.character?this.character:" "},ft}(),di={MathNode:ra,TextNode:$i,SpaceNode:ro,newDocumentFragment:Hi},cn=function(oe,Ae,we){return $e[Ae][oe]&&$e[Ae][oe].replace&&oe.charCodeAt(0)!==55349&&!(Rt.hasOwnProperty(oe)&&we&&(we.fontFamily&&we.fontFamily.substr(4,2)==="tt"||we.font&&we.font.substr(4,2)==="tt"))&&(oe=$e[Ae][oe].replace),new di.TextNode(oe)},Ni=function(oe){return oe.length===1?oe[0]:new di.MathNode("mrow",oe)},Gi=function(oe,Ae){if(Ae.fontFamily==="texttt")return"monospace";if(Ae.fontFamily==="textsf")return Ae.fontShape==="textit"&&Ae.fontWeight==="textbf"?"sans-serif-bold-italic":Ae.fontShape==="textit"?"sans-serif-italic":Ae.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ae.fontShape==="textit"&&Ae.fontWeight==="textbf")return"bold-italic";if(Ae.fontShape==="textit")return"italic";if(Ae.fontWeight==="textbf")return"bold";var we=Ae.font;if(!we||we==="mathnormal")return null;var Be=oe.mode;if(we==="mathit")return"italic";if(we==="boldsymbol")return"bold-italic";if(we==="mathbf")return"bold";if(we==="mathbb")return"double-struck";if(we==="mathfrak")return"fraktur";if(we==="mathscr"||we==="mathcal")return"script";if(we==="mathsf")return"sans-serif";if(we==="mathtt")return"monospace";var st=oe.text;if(A.contains(["\\imath","\\jmath"],st))return null;$e[Be][st]&&$e[Be][st].replace&&(st=$e[Be][st].replace);var Bt=lr.fontMap[we].fontName;return Ye(st,Bt,Be)?lr.fontMap[we].variant:null},Ki=function(oe,Ae,we){if(oe.length===1){var Be=Kt(oe[0],Ae);return we&&Be instanceof ra&&Be.type==="mo"&&(Be.setAttribute("lspace","0em"),Be.setAttribute("rspace","0em")),[Be]}for(var st=[],Bt,wr=0;wr<oe.length;wr++){var Tr=Kt(oe[wr],Ae);if(Tr instanceof ra&&Bt instanceof ra){if(Tr.type==="mtext"&&Bt.type==="mtext"&&Tr.getAttribute("mathvariant")===Bt.getAttribute("mathvariant")){var tn;(tn=Bt.children).push.apply(tn,Tr.children);continue}else if(Tr.type==="mn"&&Bt.type==="mn"){var _n;(_n=Bt.children).push.apply(_n,Tr.children);continue}else if(Tr.type==="mi"&&Tr.children.length===1&&Bt.type==="mn"){var jn=Tr.children[0];if(jn instanceof $i&&jn.text==="."){var fi;(fi=Bt.children).push.apply(fi,Tr.children);continue}}else if(Bt.type==="mi"&&Bt.children.length===1){var Ii=Bt.children[0];if(Ii instanceof $i&&Ii.text==="\u0338"&&(Tr.type==="mo"||Tr.type==="mi"||Tr.type==="mn")){var Vi=Tr.children[0];Vi instanceof $i&&Vi.text.length>0&&(Vi.text=Vi.text.slice(0,1)+"\u0338"+Vi.text.slice(1),st.pop())}}}st.push(Tr),Bt=Tr}return st},ia=function(oe,Ae,we){return Ni(Ki(oe,Ae,we))},Kt=function(oe,Ae){if(!oe)return new di.MathNode("mrow");if(En[oe.type]){var we=En[oe.type](oe,Ae);return we}else throw new l("Got group of unknown type: '"+oe.type+"'")};function Zr(ft,oe,Ae,we){var Be=Ki(ft,Ae),st;Be.length===1&&Be[0]instanceof ra&&A.contains(["mrow","mtable"],Be[0].type)?st=Be[0]:st=new di.MathNode("mrow",Be);var Bt=new di.MathNode("annotation",[new di.TextNode(oe)]);Bt.setAttribute("encoding","application/x-tex");var wr=new di.MathNode("semantics",[st,Bt]),Tr=new di.MathNode("math",[wr]);Tr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var tn=we?"katex":"katex-mathml";return lr.makeSpan([tn],[Tr])}var rn=function(oe){return new Pt({style:oe.displayMode?K.DISPLAY:K.TEXT,maxSize:oe.maxSize,minRuleThickness:oe.minRuleThickness})},pn=function(oe,Ae){if(Ae.displayMode){var we=["katex-display"];Ae.leqno&&we.push("leqno"),Ae.fleqn&&we.push("fleqn"),oe=lr.makeSpan(we,[oe])}return oe},Qe=function(oe,Ae,we){var Be=rn(we),st;if(we.output==="mathml")return Zr(oe,Ae,Be,!0);if(we.output==="html"){var Bt=mi(oe,Be);st=lr.makeSpan(["katex"],[Bt])}else{var wr=Zr(oe,Ae,Be,!1),Tr=mi(oe,Be);st=lr.makeSpan(["katex"],[wr,Tr])}return pn(st,we)},Dt=function(oe,Ae,we){var Be=rn(we),st=mi(oe,Be),Bt=lr.makeSpan(["katex"],[st]);return pn(Bt,we)},ur=Qe,ar={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(oe){var Ae=new di.MathNode("mo",[new di.TextNode(ar[oe.substr(1)])]);return Ae.setAttribute("stretchy","true"),Ae},Rr={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]},Hr=function(oe){return oe.type==="ordgroup"?oe.body.length:1},an=function(oe,Ae){function we(){var Tr=4e5,tn=oe.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],tn)){var _n=oe,jn=Hr(_n.base),fi,Ii,Vi;if(jn>5)tn==="widehat"||tn==="widecheck"?(fi=420,Tr=2364,Vi=.42,Ii=tn+"4"):(fi=312,Tr=2340,Vi=.34,Ii="tilde4");else{var sa=[1,1,2,2,3,3][jn];tn==="widehat"||tn==="widecheck"?(Tr=[0,1062,2364,2364,2364][sa],fi=[0,239,300,360,420][sa],Vi=[0,.24,.3,.3,.36,.42][sa],Ii=tn+sa):(Tr=[0,600,1033,2339,2340][sa],fi=[0,260,286,306,312][sa],Vi=[0,.26,.286,.3,.306,.34][sa],Ii="tilde"+sa)}var wa=new ie(Ii),Za=new Se([wa],{width:"100%",height:Vi+"em",viewBox:"0 0 "+Tr+" "+fi,preserveAspectRatio:"none"});return{span:lr.makeSvgSpan([],[Za],Ae),minWidth:0,height:Vi}}else{var to=[],lo=Rr[tn],_o=lo[0],ao=lo[1],Do=lo[2],Ja=Do/1e3,Eo=_o.length,fs,Oo;if(Eo===1){var Lo=lo[3];fs=["hide-tail"],Oo=[Lo]}else if(Eo===2)fs=["halfarrow-left","halfarrow-right"],Oo=["xMinYMin","xMaxYMin"];else if(Eo===3)fs=["brace-left","brace-center","brace-right"],Oo=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Eo+" children.");for(var vs=0;vs<Eo;vs++){var Fs=new ie(_o[vs]),ss=new Se([Fs],{width:"400em",height:Ja+"em",viewBox:"0 0 "+Tr+" "+Do,preserveAspectRatio:Oo[vs]+" slice"}),Fo=lr.makeSvgSpan([fs[vs]],[ss],Ae);if(Eo===1)return{span:Fo,minWidth:ao,height:Ja};Fo.style.height=Ja+"em",to.push(Fo)}return{span:lr.makeSpan(["stretchy"],to,Ae),minWidth:ao,height:Ja}}}var Be=we(),st=Be.span,Bt=Be.minWidth,wr=Be.height;return st.height=wr,st.style.height=wr+"em",Bt>0&&(st.style.minWidth=Bt+"em"),st},wn=function(oe,Ae,we,Be){var st,Bt=oe.height+oe.depth+2*we;if(/fbox|color/.test(Ae)){if(st=lr.makeSpan(["stretchy",Ae],[],Be),Ae==="fbox"){var wr=Be.color&&Be.getColor();wr&&(st.style.borderColor=wr)}}else{var Tr=[];/^[bx]cancel$/.test(Ae)&&Tr.push(new de({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ae)&&Tr.push(new de({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var tn=new Se(Tr,{width:"100%",height:Bt+"em"});st=lr.makeSvgSpan([],[tn],Be)}return st.height=Bt,st.style.height=Bt+"em",st},In={encloseSpan:wn,mathMLnode:Lr,svgSpan:an},Rn=function(oe,Ae){var we,Be,st=Br(oe,"supsub"),Bt;st?(Be=Vr(st.base,"accent"),we=Be.base,st.base=we,Bt=We(hi(st,Ae)),st.base=Be):(Be=Vr(oe,"accent"),we=Be.base);var wr=hi(we,Ae.havingCrampedStyle()),Tr=Be.isShifty&&A.isCharacterBox(we),tn=0;if(Tr){var _n=A.getBaseElem(we),jn=hi(_n,Ae.havingCrampedStyle());tn=_e(jn).skew}var fi=Math.min(wr.height,Ae.fontMetrics().xHeight),Ii;if(Be.isStretchy)Ii=In.svgSpan(Be,Ae),Ii=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wr},{type:"elem",elem:Ii,wrapperClasses:["svg-align"],wrapperStyle:tn>0?{width:"calc(100% - "+2*tn+"em)",marginLeft:2*tn+"em"}:void 0}]},Ae);else{var Vi,sa;Be.label==="\\vec"?(Vi=lr.staticSvg("vec",Ae),sa=lr.svgData.vec[1]):(Vi=lr.makeOrd({mode:Be.mode,text:Be.label},Ae,"textord"),Vi=_e(Vi),Vi.italic=0,sa=Vi.width),Ii=lr.makeSpan(["accent-body"],[Vi]);var wa=Be.label==="\\textcircled";wa&&(Ii.classes.push("accent-full"),fi=wr.height);var Za=tn;wa||(Za-=sa/2),Ii.style.left=Za+"em",Be.label==="\\textcircled"&&(Ii.style.top=".2em"),Ii=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wr},{type:"kern",size:-fi},{type:"elem",elem:Ii}]},Ae)}var to=lr.makeSpan(["mord","accent"],[Ii],Ae);return Bt?(Bt.children[0]=to,Bt.height=Math.max(to.height,Bt.height),Bt.classes[0]="mord",Bt):to},Nn=function(oe,Ae){var we=oe.isStretchy?In.mathMLnode(oe.label):new di.MathNode("mo",[cn(oe.label,oe.mode)]),Be=new di.MathNode("mover",[Kt(oe.base,Ae),we]);return Be.setAttribute("accent","true"),Be},vn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ft){return"\\"+ft}).join("|"));sn({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(oe,Ae){var we=Ae[0],Be=!vn.test(oe.funcName),st=!Be||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:Be,isShifty:st,base:we}},htmlBuilder:Rn,mathmlBuilder:Nn}),sn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(oe,Ae){var we=Ae[0];return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:!1,isShifty:!0,base:we}},htmlBuilder:Rn,mathmlBuilder:Nn}),sn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];return{type:"accentUnder",mode:we.mode,label:Be,base:st}},htmlBuilder:function(oe,Ae){var we=hi(oe.base,Ae),Be=In.svgSpan(oe,Ae),st=oe.label==="\\utilde"?.12:0,Bt=lr.makeVList({positionType:"bottom",positionData:Be.height+st,children:[{type:"elem",elem:Be,wrapperClasses:["svg-align"]},{type:"kern",size:st},{type:"elem",elem:we}]},Ae);return lr.makeSpan(["mord","accentunder"],[Bt],Ae)},mathmlBuilder:function(oe,Ae){var we=In.mathMLnode(oe.label),Be=new di.MathNode("munder",[Kt(oe.base,Ae),we]);return Be.setAttribute("accentunder","true"),Be}});var Sn=function(oe){var Ae=new di.MathNode("mpadded",oe?[oe]:[]);return Ae.setAttribute("width","+0.6em"),Ae.setAttribute("lspace","0.3em"),Ae};sn({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(oe,Ae,we){var Be=oe.parser,st=oe.funcName;return{type:"xArrow",mode:Be.mode,label:st,body:Ae[0],below:we[0]}},htmlBuilder:function(oe,Ae){var we=Ae.style,Be=Ae.havingStyle(we.sup()),st=lr.wrapFragment(hi(oe.body,Be,Ae),Ae);st.classes.push("x-arrow-pad");var Bt;oe.below&&(Be=Ae.havingStyle(we.sub()),Bt=lr.wrapFragment(hi(oe.below,Be,Ae),Ae),Bt.classes.push("x-arrow-pad"));var wr=In.svgSpan(oe,Ae),Tr=-Ae.fontMetrics().axisHeight+.5*wr.height,tn=-Ae.fontMetrics().axisHeight-.5*wr.height-.111;(st.depth>.25||oe.label==="\\xleftequilibrium")&&(tn-=st.depth);var _n;if(Bt){var jn=-Ae.fontMetrics().axisHeight+Bt.height+.5*wr.height+.111;_n=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:tn},{type:"elem",elem:wr,shift:Tr},{type:"elem",elem:Bt,shift:jn}]},Ae)}else _n=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:st,shift:tn},{type:"elem",elem:wr,shift:Tr}]},Ae);return _n.children[0].children[0].children[1].classes.push("svg-align"),lr.makeSpan(["mrel","x-arrow"],[_n],Ae)},mathmlBuilder:function(oe,Ae){var we=In.mathMLnode(oe.label),Be;if(oe.body){var st=Sn(Kt(oe.body,Ae));if(oe.below){var Bt=Sn(Kt(oe.below,Ae));Be=new di.MathNode("munderover",[we,Bt,st])}else Be=new di.MathNode("mover",[we,st])}else if(oe.below){var wr=Sn(Kt(oe.below,Ae));Be=new di.MathNode("munder",[we,wr])}else Be=Sn(),Be=new di.MathNode("mover",[we,Be]);return Be}}),sn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){for(var we=oe.parser,Be=Vr(Ae[0],"ordgroup"),st=Be.body,Bt="",wr=0;wr<st.length;wr++){var Tr=Vr(st[wr],"textord");Bt+=Tr.text}var tn=parseInt(Bt);if(isNaN(tn))throw new l("\\@char has non-numeric argument "+Bt);return{type:"textord",mode:we.mode,text:String.fromCharCode(tn)}}});var Tn=function(oe,Ae){var we=An(oe.body,Ae.withColor(oe.color),!1);return lr.makeFragment(we)},Kn=function(oe,Ae){var we=Ki(oe.body,Ae.withColor(oe.color)),Be=new di.MathNode("mstyle",we);return Be.setAttribute("mathcolor",oe.color),Be};sn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(oe,Ae){var we=oe.parser,Be=Vr(Ae[0],"color-token").color,st=Ae[1];return{type:"color",mode:we.mode,color:Be,body:ni(st)}},htmlBuilder:Tn,mathmlBuilder:Kn}),sn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(oe,Ae){var we=oe.parser,Be=oe.breakOnTokenText,st=Vr(Ae[0],"color-token").color;we.gullet.macros.set("\\current@color",st);var Bt=we.parseExpression(!0,Be);return{type:"color",mode:we.mode,color:st,body:Bt}},htmlBuilder:Tn,mathmlBuilder:Kn}),sn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,Ae,we){var Be=oe.parser,st=oe.funcName,Bt=we[0],wr=st==="\\cr",Tr=!1;return wr||(Be.settings.displayMode&&Be.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Tr=!1:Tr=!0),{type:"cr",mode:Be.mode,newLine:Tr,newRow:wr,size:Bt&&Vr(Bt,"size").value}},htmlBuilder:function(oe,Ae){if(oe.newRow)throw new l("\\cr valid only within a tabular/array environment");var we=lr.makeSpan(["mspace"],[],Ae);return oe.newLine&&(we.classes.push("newline"),oe.size&&(we.style.marginTop=cr(oe.size,Ae)+"em")),we},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mspace");return oe.newLine&&(we.setAttribute("linebreak","newline"),oe.size&&we.setAttribute("height",cr(oe.size,Ae)+"em")),we}});var Qn=function(oe,Ae,we){var Be=$e.math[oe]&&$e.math[oe].replace,st=Ye(Be||oe,Ae,we);if(!st)throw new Error("Unsupported symbol "+oe+" and font size "+Ae+".");return st},qn=function(oe,Ae,we,Be){var st=we.havingBaseStyle(Ae),Bt=lr.makeSpan(Be.concat(st.sizingClasses(we)),[oe],we),wr=st.sizeMultiplier/we.sizeMultiplier;return Bt.height*=wr,Bt.depth*=wr,Bt.maxFontSize=st.sizeMultiplier,Bt},bi=function(oe,Ae,we){var Be=Ae.havingBaseStyle(we),st=(1-Ae.sizeMultiplier/Be.sizeMultiplier)*Ae.fontMetrics().axisHeight;oe.classes.push("delimcenter"),oe.style.top=st+"em",oe.height-=st,oe.depth+=st},gi=function(oe,Ae,we,Be,st,Bt){var wr=lr.makeSymbol(oe,"Main-Regular",st,Be),Tr=qn(wr,Ae,Be,Bt);return we&&bi(Tr,Be,Ae),Tr},Ri=function(oe,Ae,we,Be){return lr.makeSymbol(oe,"Size"+Ae+"-Regular",we,Be)},Bi=function(oe,Ae,we,Be,st,Bt){var wr=Ri(oe,Ae,st,Be),Tr=qn(lr.makeSpan(["delimsizing","size"+Ae],[wr],Be),K.TEXT,Be,Bt);return we&&bi(Tr,Be,K.TEXT),Tr},xi=function(oe,Ae,we){var Be;Ae==="Size1-Regular"?Be="delim-size1":Be="delim-size4";var st=lr.makeSpan(["delimsizinginner",Be],[lr.makeSpan([],[lr.makeSymbol(oe,Ae,we)])]);return{type:"elem",elem:st}},Ti={type:"kern",size:-.005},Di=function(oe,Ae,we,Be,st,Bt){var wr,Tr,tn,_n;wr=tn=_n=oe,Tr=null;var jn="Size1-Regular";oe==="\\uparrow"?tn=_n="\u23D0":oe==="\\Uparrow"?tn=_n="\u2016":oe==="\\downarrow"?wr=tn="\u23D0":oe==="\\Downarrow"?wr=tn="\u2016":oe==="\\updownarrow"?(wr="\\uparrow",tn="\u23D0",_n="\\downarrow"):oe==="\\Updownarrow"?(wr="\\Uparrow",tn="\u2016",_n="\\Downarrow"):oe==="["||oe==="\\lbrack"?(wr="\u23A1",tn="\u23A2",_n="\u23A3",jn="Size4-Regular"):oe==="]"||oe==="\\rbrack"?(wr="\u23A4",tn="\u23A5",_n="\u23A6",jn="Size4-Regular"):oe==="\\lfloor"||oe==="\u230A"?(tn=wr="\u23A2",_n="\u23A3",jn="Size4-Regular"):oe==="\\lceil"||oe==="\u2308"?(wr="\u23A1",tn=_n="\u23A2",jn="Size4-Regular"):oe==="\\rfloor"||oe==="\u230B"?(tn=wr="\u23A5",_n="\u23A6",jn="Size4-Regular"):oe==="\\rceil"||oe==="\u2309"?(wr="\u23A4",tn=_n="\u23A5",jn="Size4-Regular"):oe==="("||oe==="\\lparen"?(wr="\u239B",tn="\u239C",_n="\u239D",jn="Size4-Regular"):oe===")"||oe==="\\rparen"?(wr="\u239E",tn="\u239F",_n="\u23A0",jn="Size4-Regular"):oe==="\\{"||oe==="\\lbrace"?(wr="\u23A7",Tr="\u23A8",_n="\u23A9",tn="\u23AA",jn="Size4-Regular"):oe==="\\}"||oe==="\\rbrace"?(wr="\u23AB",Tr="\u23AC",_n="\u23AD",tn="\u23AA",jn="Size4-Regular"):oe==="\\lgroup"||oe==="\u27EE"?(wr="\u23A7",_n="\u23A9",tn="\u23AA",jn="Size4-Regular"):oe==="\\rgroup"||oe==="\u27EF"?(wr="\u23AB",_n="\u23AD",tn="\u23AA",jn="Size4-Regular"):oe==="\\lmoustache"||oe==="\u23B0"?(wr="\u23A7",_n="\u23AD",tn="\u23AA",jn="Size4-Regular"):(oe==="\\rmoustache"||oe==="\u23B1")&&(wr="\u23AB",_n="\u23A9",tn="\u23AA",jn="Size4-Regular");var fi=Qn(wr,jn,st),Ii=fi.height+fi.depth,Vi=Qn(tn,jn,st),sa=Vi.height+Vi.depth,wa=Qn(_n,jn,st),Za=wa.height+wa.depth,to=0,lo=1;if(Tr!==null){var _o=Qn(Tr,jn,st);to=_o.height+_o.depth,lo=2}var ao=Ii+Za+to,Do=Math.max(0,Math.ceil((Ae-ao)/(lo*sa))),Ja=ao+Do*lo*sa,Eo=Be.fontMetrics().axisHeight;we&&(Eo*=Be.sizeMultiplier);var fs=Ja/2-Eo,Oo=(Do+1)*.005-sa,Lo=[];if(Lo.push(xi(_n,jn,st)),Tr===null)for(var vs=0;vs<Do;vs++)Lo.push(Ti),Lo.push(xi(tn,jn,st));else{for(var Fs=0;Fs<Do;Fs++)Lo.push(Ti),Lo.push(xi(tn,jn,st));Lo.push({type:"kern",size:Oo}),Lo.push(xi(tn,jn,st)),Lo.push(Ti),Lo.push(xi(Tr,jn,st));for(var ss=0;ss<Do;ss++)Lo.push(Ti),Lo.push(xi(tn,jn,st))}Lo.push({type:"kern",size:Oo}),Lo.push(xi(tn,jn,st)),Lo.push(Ti),Lo.push(xi(wr,jn,st));var Fo=Be.havingBaseStyle(K.TEXT),Zs=lr.makeVList({positionType:"bottom",positionData:fs,children:Lo},Fo);return qn(lr.makeSpan(["delimsizing","mult"],[Zs],Fo),K.TEXT,Be,Bt)},Pn=80,_i=.08,ji=function(oe,Ae,we,Be,st){var Bt=fe(oe,Be,we),wr=new ie(oe,Bt),Tr=new Se([wr],{width:"400em",height:Ae+"em",viewBox:"0 0 400000 "+we,preserveAspectRatio:"xMinYMin slice"});return lr.makeSvgSpan(["hide-tail"],[Tr],st)},mr=function(oe,Ae){var we=Ae.havingBaseSizing(),Be=ln("\\surd",oe*we.sizeMultiplier,kr,we),st=we.sizeMultiplier,Bt=Math.max(0,Ae.minRuleThickness-Ae.fontMetrics().sqrtRuleThickness),wr,Tr=0,tn=0,_n=0,jn;return Be.type==="small"?(_n=1e3+1e3*Bt+Pn,oe<1?st=1:oe<1.4&&(st=.7),Tr=(1+Bt+_i)/st,tn=(1+Bt)/st,wr=ji("sqrtMain",Tr,_n,Bt,Ae),wr.style.minWidth="0.853em",jn=.833/st):Be.type==="large"?(_n=(1e3+Pn)*Gt[Be.size],tn=(Gt[Be.size]+Bt)/st,Tr=(Gt[Be.size]+Bt+_i)/st,wr=ji("sqrtSize"+Be.size,Tr,_n,Bt,Ae),wr.style.minWidth="1.02em",jn=1/st):(Tr=oe+Bt+_i,tn=oe+Bt,_n=Math.floor(1e3*oe+Bt)+Pn,wr=ji("sqrtTall",Tr,_n,Bt,Ae),wr.style.minWidth="0.742em",jn=1.056),wr.height=tn,wr.style.height=Tr+"em",{span:wr,advanceWidth:jn,ruleWidth:(Ae.fontMetrics().sqrtRuleThickness+Bt)*st}},Dr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Gr=["\\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"],Gt=[0,1.2,1.8,2.4,3],xr=function(oe,Ae,we,Be,st){if(oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle"),A.contains(Dr,oe)||A.contains(Nr,oe))return Bi(oe,Ae,!1,we,Be,st);if(A.contains(Gr,oe))return Di(oe,Gt[Ae],!1,we,Be,st);throw new l("Illegal delimiter: '"+oe+"'")},rr=[{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}],Pr=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],kr=[{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"}],dn=function(oe){if(oe.type==="small")return"Main-Regular";if(oe.type==="large")return"Size"+oe.size+"-Regular";if(oe.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+oe.type+"' here.")},ln=function(oe,Ae,we,Be){for(var st=Math.min(2,3-Be.style.size),Bt=st;Bt<we.length&&!(we[Bt].type==="stack");Bt++){var wr=Qn(oe,dn(we[Bt]),"math"),Tr=wr.height+wr.depth;if(we[Bt].type==="small"){var tn=Be.havingBaseStyle(we[Bt].style);Tr*=tn.sizeMultiplier}if(Tr>Ae)return we[Bt]}return we[we.length-1]},yn=function(oe,Ae,we,Be,st,Bt){oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle");var wr;A.contains(Nr,oe)?wr=rr:A.contains(Dr,oe)?wr=kr:wr=Pr;var Tr=ln(oe,Ae,wr,Be);return Tr.type==="small"?gi(oe,Tr.style,we,Be,st,Bt):Tr.type==="large"?Bi(oe,Tr.size,we,Be,st,Bt):Di(oe,Ae,we,Be,st,Bt)},Bn=function(oe,Ae,we,Be,st,Bt){var wr=Be.fontMetrics().axisHeight*Be.sizeMultiplier,Tr=901,tn=5/Be.fontMetrics().ptPerEm,_n=Math.max(Ae-wr,we+wr),jn=Math.max(_n/500*Tr,2*_n-tn);return yn(oe,jn,!0,Be,st,Bt)},Gn={sqrtImage:mr,sizedDelim:xr,customSizedDelim:yn,leftRightDelim:Bn},ei={"\\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}},Ci=["(","\\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 Qi(ft,oe){var Ae=ai(ft);if(Ae&&A.contains(Ci,Ae.text))return Ae;throw new l("Invalid delimiter: '"+(Ae?Ae.text:JSON.stringify(ft))+"' after '"+oe.funcName+"'",ft)}sn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(oe,Ae){var we=Qi(Ae[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:ei[oe.funcName].size,mclass:ei[oe.funcName].mclass,delim:we.text}},htmlBuilder:function(oe,Ae){return oe.delim==="."?lr.makeSpan([oe.mclass]):Gn.sizedDelim(oe.delim,oe.size,Ae,oe.mode,[oe.mclass])},mathmlBuilder:function(oe){var Ae=[];oe.delim!=="."&&Ae.push(cn(oe.delim,oe.mode));var we=new di.MathNode("mo",Ae);return oe.mclass==="mopen"||oe.mclass==="mclose"?we.setAttribute("fence","true"):we.setAttribute("fence","false"),we}});function ua(ft){if(!ft.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}sn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser.gullet.macros.get("\\current@color");if(we&&typeof we!="string")throw new l("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:Qi(Ae[0],oe).text,color:we}}}),sn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(oe,Ae){var we=Qi(Ae[0],oe),Be=oe.parser;++Be.leftrightDepth;var st=Be.parseExpression(!1);--Be.leftrightDepth,Be.expect("\\right",!1);var Bt=Vr(Be.parseFunction(),"leftright-right");return{type:"leftright",mode:Be.mode,body:st,left:we.text,right:Bt.delim,rightColor:Bt.color}},htmlBuilder:function(oe,Ae){ua(oe);for(var we=An(oe.body,Ae,!0,["mopen","mclose"]),Be=0,st=0,Bt=!1,wr=0;wr<we.length;wr++)we[wr].isMiddle?Bt=!0:(Be=Math.max(we[wr].height,Be),st=Math.max(we[wr].depth,st));Be*=Ae.sizeMultiplier,st*=Ae.sizeMultiplier;var Tr;if(oe.left==="."?Tr=ti(Ae,["mopen"]):Tr=Gn.leftRightDelim(oe.left,Be,st,Ae,oe.mode,["mopen"]),we.unshift(Tr),Bt)for(var tn=1;tn<we.length;tn++){var _n=we[tn],jn=_n.isMiddle;jn&&(we[tn]=Gn.leftRightDelim(jn.delim,Be,st,jn.options,oe.mode,[]))}var fi;if(oe.right===".")fi=ti(Ae,["mclose"]);else{var Ii=oe.rightColor?Ae.withColor(oe.rightColor):Ae;fi=Gn.leftRightDelim(oe.right,Be,st,Ii,oe.mode,["mclose"])}return we.push(fi),lr.makeSpan(["minner"],we,Ae)},mathmlBuilder:function(oe,Ae){ua(oe);var we=Ki(oe.body,Ae);if(oe.left!=="."){var Be=new di.MathNode("mo",[cn(oe.left,oe.mode)]);Be.setAttribute("fence","true"),we.unshift(Be)}if(oe.right!=="."){var st=new di.MathNode("mo",[cn(oe.right,oe.mode)]);st.setAttribute("fence","true"),oe.rightColor&&st.setAttribute("mathcolor",oe.rightColor),we.push(st)}return Ni(we)}}),sn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(oe,Ae){var we=Qi(Ae[0],oe);if(!oe.parser.leftrightDepth)throw new l("\\middle without preceding \\left",we);return{type:"middle",mode:oe.parser.mode,delim:we.text}},htmlBuilder:function(oe,Ae){var we;if(oe.delim===".")we=ti(Ae,[]);else{we=Gn.sizedDelim(oe.delim,1,Ae,oe.mode,[]);var Be={delim:oe.delim,options:Ae};we.isMiddle=Be}return we},mathmlBuilder:function(oe,Ae){var we=oe.delim==="\\vert"||oe.delim==="|"?cn("|","text"):cn(oe.delim,oe.mode),Be=new di.MathNode("mo",[we]);return Be.setAttribute("fence","true"),Be.setAttribute("lspace","0.05em"),Be.setAttribute("rspace","0.05em"),Be}});var ha=function(oe,Ae){var we=lr.wrapFragment(hi(oe.body,Ae),Ae),Be=oe.label.substr(1),st=Ae.sizeMultiplier,Bt,wr=0,Tr=A.isCharacterBox(oe.body);if(Be==="sout")Bt=lr.makeSpan(["stretchy","sout"]),Bt.height=Ae.fontMetrics().defaultRuleThickness/st,wr=-.5*Ae.fontMetrics().xHeight;else{/cancel/.test(Be)?Tr||we.classes.push("cancel-pad"):we.classes.push("boxpad");var tn=0,_n=0;/box/.test(Be)?(_n=Math.max(Ae.fontMetrics().fboxrule,Ae.minRuleThickness),tn=Ae.fontMetrics().fboxsep+(Be==="colorbox"?0:_n)):tn=Tr?.2:0,Bt=In.encloseSpan(we,Be,tn,Ae),/fbox|boxed|fcolorbox/.test(Be)&&(Bt.style.borderStyle="solid",Bt.style.borderWidth=_n+"em"),wr=we.depth+tn,oe.backgroundColor&&(Bt.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Bt.style.borderColor=oe.borderColor))}var jn;return oe.backgroundColor?jn=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Bt,shift:wr},{type:"elem",elem:we,shift:0}]},Ae):jn=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:we,shift:0},{type:"elem",elem:Bt,shift:wr,wrapperClasses:/cancel/.test(Be)?["svg-align"]:[]}]},Ae),/cancel/.test(Be)&&(jn.height=we.height,jn.depth=we.depth),/cancel/.test(Be)&&!Tr?lr.makeSpan(["mord","cancel-lap"],[jn],Ae):lr.makeSpan(["mord"],[jn],Ae)},la=function(oe,Ae){var we=0,Be=new di.MathNode(oe.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Kt(oe.body,Ae)]);switch(oe.label){case"\\cancel":Be.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Be.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Be.setAttribute("notation","horizontalstrike");break;case"\\fbox":Be.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(we=Ae.fontMetrics().fboxsep*Ae.fontMetrics().ptPerEm,Be.setAttribute("width","+"+2*we+"pt"),Be.setAttribute("height","+"+2*we+"pt"),Be.setAttribute("lspace",we+"pt"),Be.setAttribute("voffset",we+"pt"),oe.label==="\\fcolorbox"){var st=Math.max(Ae.fontMetrics().fboxrule,Ae.minRuleThickness);Be.setAttribute("style","border: "+st+"em solid "+String(oe.borderColor))}break;case"\\xcancel":Be.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&Be.setAttribute("mathbackground",oe.backgroundColor),Be};sn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(oe,Ae,we){var Be=oe.parser,st=oe.funcName,Bt=Vr(Ae[0],"color-token").color,wr=Ae[1];return{type:"enclose",mode:Be.mode,label:st,backgroundColor:Bt,body:wr}},htmlBuilder:ha,mathmlBuilder:la}),sn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(oe,Ae,we){var Be=oe.parser,st=oe.funcName,Bt=Vr(Ae[0],"color-token").color,wr=Vr(Ae[1],"color-token").color,Tr=Ae[2];return{type:"enclose",mode:Be.mode,label:st,backgroundColor:wr,borderColor:Bt,body:Tr}},htmlBuilder:ha,mathmlBuilder:la}),sn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(oe,Ae){var we=oe.parser;return{type:"enclose",mode:we.mode,label:"\\fbox",body:Ae[0]}}}),sn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(oe,Ae,we){var Be=oe.parser,st=oe.funcName,Bt=Ae[0];return{type:"enclose",mode:Be.mode,label:st,body:Bt}},htmlBuilder:ha,mathmlBuilder:la});var da={};function Wi(ft){for(var oe=ft.type,Ae=ft.names,we=ft.props,Be=ft.handler,st=ft.htmlBuilder,Bt=ft.mathmlBuilder,wr={type:oe,numArgs:we.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Be},Tr=0;Tr<Ae.length;++Tr)da[Ae[Tr]]=wr;st&&(Kr[oe]=st),Bt&&(En[oe]=Bt)}function Mi(ft){var oe=[];ft.consumeSpaces();for(var Ae=ft.fetch().text;Ae==="\\hline"||Ae==="\\hdashline";)ft.consume(),oe.push(Ae==="\\hdashline"),ft.consumeSpaces(),Ae=ft.fetch().text;return oe}function na(ft,oe,Ae){var we=oe.hskipBeforeAndAfter,Be=oe.addJot,st=oe.cols,Bt=oe.arraystretch,wr=oe.colSeparationType;if(ft.gullet.beginGroup(),ft.gullet.macros.set("\\\\","\\cr"),!Bt){var Tr=ft.gullet.expandMacroAsText("\\arraystretch");if(Tr==null)Bt=1;else if(Bt=parseFloat(Tr),!Bt||Bt<0)throw new l("Invalid \\arraystretch: "+Tr)}ft.gullet.beginGroup();var tn=[],_n=[tn],jn=[],fi=[];for(fi.push(Mi(ft));;){var Ii=ft.parseExpression(!1,"\\cr");ft.gullet.endGroup(),ft.gullet.beginGroup(),Ii={type:"ordgroup",mode:ft.mode,body:Ii},Ae&&(Ii={type:"styling",mode:ft.mode,style:Ae,body:[Ii]}),tn.push(Ii);var Vi=ft.fetch().text;if(Vi==="&")ft.consume();else if(Vi==="\\end"){tn.length===1&&Ii.type==="styling"&&Ii.body[0].body.length===0&&_n.pop(),fi.length<_n.length+1&&fi.push([]);break}else if(Vi==="\\cr"){var sa=Vr(ft.parseFunction(),"cr");jn.push(sa.size),fi.push(Mi(ft)),tn=[],_n.push(tn)}else throw new l("Expected & or \\\\ or \\cr or \\end",ft.nextToken)}return ft.gullet.endGroup(),ft.gullet.endGroup(),{type:"array",mode:ft.mode,addJot:Be,arraystretch:Bt,body:_n,cols:st,rowGaps:jn,hskipBeforeAndAfter:we,hLinesBeforeRow:fi,colSeparationType:wr}}function ea(ft){return ft.substr(0,1)==="d"?"display":"text"}var _a=function(oe,Ae){var we,Be,st=oe.body.length,Bt=oe.hLinesBeforeRow,wr=0,Tr=new Array(st),tn=[],_n=Math.max(Ae.fontMetrics().arrayRuleWidth,Ae.minRuleThickness),jn=1/Ae.fontMetrics().ptPerEm,fi=5*jn;if(oe.colSeparationType&&oe.colSeparationType==="small"){var Ii=Ae.havingStyle(K.SCRIPT).sizeMultiplier;fi=.2778*(Ii/Ae.sizeMultiplier)}var Vi=12*jn,sa=3*jn,wa=oe.arraystretch*Vi,Za=.7*wa,to=.3*wa,lo=0;function _o(zs){for(var eo=0;eo<zs.length;++eo)eo>0&&(lo+=.25),tn.push({pos:lo,isDashed:zs[eo]})}for(_o(Bt[0]),we=0;we<oe.body.length;++we){var ao=oe.body[we],Do=Za,Ja=to;wr<ao.length&&(wr=ao.length);var Eo=new Array(ao.length);for(Be=0;Be<ao.length;++Be){var fs=hi(ao[Be],Ae);Ja<fs.depth&&(Ja=fs.depth),Do<fs.height&&(Do=fs.height),Eo[Be]=fs}var Oo=oe.rowGaps[we],Lo=0;Oo&&(Lo=cr(Oo,Ae),Lo>0&&(Lo+=to,Ja<Lo&&(Ja=Lo),Lo=0)),oe.addJot&&(Ja+=sa),Eo.height=Do,Eo.depth=Ja,lo+=Do,Eo.pos=lo,lo+=Ja+Lo,Tr[we]=Eo,_o(Bt[we+1])}var vs=lo/2+Ae.fontMetrics().axisHeight,Fs=oe.cols||[],ss=[],Fo,Zs;for(Be=0,Zs=0;Be<wr||Zs<Fs.length;++Be,++Zs){for(var xs=Fs[Zs]||{},ll=!0;xs.type==="separator";){if(ll||(Fo=lr.makeSpan(["arraycolsep"],[]),Fo.style.width=Ae.fontMetrics().doubleRuleSep+"em",ss.push(Fo)),xs.separator==="|"||xs.separator===":"){var Js=xs.separator==="|"?"solid":"dashed",ps=lr.makeSpan(["vertical-separator"],[],Ae);ps.style.height=lo+"em",ps.style.borderRightWidth=_n+"em",ps.style.borderRightStyle=Js,ps.style.margin="0 -"+_n/2+"em",ps.style.verticalAlign=-(lo-vs)+"em",ss.push(ps)}else throw new l("Invalid separator type: "+xs.separator);Zs++,xs=Fs[Zs]||{},ll=!1}if(Be>=wr)continue;var Xo=void 0;(Be>0||oe.hskipBeforeAndAfter)&&(Xo=A.deflt(xs.pregap,fi),Xo!==0&&(Fo=lr.makeSpan(["arraycolsep"],[]),Fo.style.width=Xo+"em",ss.push(Fo)));var oa=[];for(we=0;we<st;++we){var Xs=Tr[we],rl=Xs[Be];if(!rl)continue;var Bs=Xs.pos-vs;rl.depth=Xs.depth,rl.height=Xs.height,oa.push({type:"elem",elem:rl,shift:Bs})}oa=lr.makeVList({positionType:"individualShift",children:oa},Ae),oa=lr.makeSpan(["col-align-"+(xs.align||"c")],[oa]),ss.push(oa),(Be<wr-1||oe.hskipBeforeAndAfter)&&(Xo=A.deflt(xs.postgap,fi),Xo!==0&&(Fo=lr.makeSpan(["arraycolsep"],[]),Fo.style.width=Xo+"em",ss.push(Fo)))}if(Tr=lr.makeSpan(["mtable"],ss),tn.length>0){for(var Es=lr.makeLineSpan("hline",Ae,_n),cl=lr.makeLineSpan("hdashline",Ae,_n),Gs=[{type:"elem",elem:Tr,shift:0}];tn.length>0;){var Rs=tn.pop(),Ks=Rs.pos-vs;Rs.isDashed?Gs.push({type:"elem",elem:cl,shift:Ks}):Gs.push({type:"elem",elem:Es,shift:Ks})}Tr=lr.makeVList({positionType:"individualShift",children:Gs},Ae)}return lr.makeSpan(["mord"],[Tr],Ae)},Fa={c:"center ",l:"left ",r:"right "},ta=function(oe,Ae){var we=new di.MathNode("mtable",oe.body.map(function(lo){return new di.MathNode("mtr",lo.map(function(_o){return new di.MathNode("mtd",[Kt(_o,Ae)])}))})),Be=oe.arraystretch===.5?.1:.16+oe.arraystretch-1+(oe.addJot?.09:0);we.setAttribute("rowspacing",Be+"em");var st="",Bt="";if(oe.cols){var wr=oe.cols,Tr="",tn=!1,_n=0,jn=wr.length;wr[0].type==="separator"&&(st+="top ",_n=1),wr[wr.length-1].type==="separator"&&(st+="bottom ",jn-=1);for(var fi=_n;fi<jn;fi++)wr[fi].type==="align"?(Bt+=Fa[wr[fi].align],tn&&(Tr+="none "),tn=!0):wr[fi].type==="separator"&&(tn&&(Tr+=wr[fi].separator==="|"?"solid ":"dashed ",tn=!1));we.setAttribute("columnalign",Bt.trim()),/[sd]/.test(Tr)&&we.setAttribute("columnlines",Tr.trim())}if(oe.colSeparationType==="align"){for(var Ii=oe.cols||[],Vi="",sa=1;sa<Ii.length;sa++)Vi+=sa%2?"0em ":"1em ";we.setAttribute("columnspacing",Vi.trim())}else oe.colSeparationType==="alignat"?we.setAttribute("columnspacing","0em"):oe.colSeparationType==="small"?we.setAttribute("columnspacing","0.2778em"):we.setAttribute("columnspacing","1em");var wa="",Za=oe.hLinesBeforeRow;st+=Za[0].length>0?"left ":"",st+=Za[Za.length-1].length>0?"right ":"";for(var to=1;to<Za.length-1;to++)wa+=Za[to].length===0?"none ":Za[to][0]?"dashed ":"solid ";return/[sd]/.test(wa)&&we.setAttribute("rowlines",wa.trim()),st!==""&&(we=new di.MathNode("menclose",[we]),we.setAttribute("notation",st.trim())),oe.arraystretch&&oe.arraystretch<1&&(we=new di.MathNode("mstyle",[we]),we.setAttribute("scriptlevel","1")),we},Yi=function(oe,Ae){var we=[],Be=na(oe.parser,{cols:we,addJot:!0},"display"),st,Bt=0,wr={type:"ordgroup",mode:oe.mode,body:[]},Tr=Br(Ae[0],"ordgroup");if(Tr){for(var tn="",_n=0;_n<Tr.body.length;_n++){var jn=Vr(Tr.body[_n],"textord");tn+=jn.text}st=Number(tn),Bt=st*2}var fi=!Bt;Be.body.forEach(function(wa){for(var Za=1;Za<wa.length;Za+=2){var to=Vr(wa[Za],"styling"),lo=Vr(to.body[0],"ordgroup");lo.body.unshift(wr)}if(fi)Bt<wa.length&&(Bt=wa.length);else{var _o=wa.length/2;if(st<_o)throw new l("Too many math in a row: "+("expected "+st+", but got "+_o),wa[0])}});for(var Ii=0;Ii<Bt;++Ii){var Vi="r",sa=0;Ii%2===1?Vi="l":Ii>0&&fi&&(sa=1),we[Ii]={type:"align",align:Vi,pregap:sa,postgap:0}}return Be.colSeparationType=fi?"align":"alignat",Be};Wi({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(oe,Ae){var we=ai(Ae[0]),Be=we?[Ae[0]]:Vr(Ae[0],"ordgroup").body,st=Be.map(function(wr){var Tr=Hn(wr),tn=Tr.text;if("lcr".indexOf(tn)!==-1)return{type:"align",align:tn};if(tn==="|")return{type:"separator",separator:"|"};if(tn===":")return{type:"separator",separator:":"};throw new l("Unknown column alignment: "+tn,wr)}),Bt={cols:st,hskipBeforeAndAfter:!0};return na(oe.parser,Bt,ea(oe.envName))},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(oe){var Ae={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName],we={hskipBeforeAndAfter:!1},Be=na(oe.parser,we,ea(oe.envName));return Ae?{type:"leftright",mode:oe.mode,body:[Be],left:Ae[0],right:Ae[1],rightColor:void 0}:Be},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(oe){var Ae={arraystretch:.5},we=na(oe.parser,Ae,"script");return we.colSeparationType="small",we},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["subarray"],props:{numArgs:1},handler:function(oe,Ae){var we=ai(Ae[0]),Be=we?[Ae[0]]:Vr(Ae[0],"ordgroup").body,st=Be.map(function(wr){var Tr=Hn(wr),tn=Tr.text;if("lc".indexOf(tn)!==-1)return{type:"align",align:tn};throw new l("Unknown column alignment: "+tn,wr)});if(st.length>1)throw new l("{subarray} can contain only one column");var Bt={cols:st,hskipBeforeAndAfter:!1,arraystretch:.5};if(Bt=na(oe.parser,Bt,"script"),Bt.body[0].length>1)throw new l("{subarray} can contain only one column");return Bt},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(oe){var Ae={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},we=na(oe.parser,Ae,ea(oe.envName));return{type:"leftright",mode:oe.mode,body:[we],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["aligned"],props:{numArgs:0},handler:Yi,htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["gathered"],props:{numArgs:0},handler:function(oe){var Ae={cols:[{type:"align",align:"c"}],addJot:!0};return na(oe.parser,Ae,"display")},htmlBuilder:_a,mathmlBuilder:ta}),Wi({type:"array",names:["alignedat"],props:{numArgs:1},handler:Yi,htmlBuilder:_a,mathmlBuilder:ta}),sn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(oe,Ae){throw new l(oe.funcName+" valid only within array environment")}});var ka=da,ba=ka;sn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];if(st.type!=="ordgroup")throw new l("Invalid environment name",st);for(var Bt="",wr=0;wr<st.body.length;++wr)Bt+=Vr(st.body[wr],"textord").text;if(Be==="\\begin"){if(!ba.hasOwnProperty(Bt))throw new l("No such environment: "+Bt,st);var Tr=ba[Bt],tn=we.parseArguments("\\begin{"+Bt+"}",Tr),_n=tn.args,jn=tn.optArgs,fi={mode:we.mode,envName:Bt,parser:we},Ii=Tr.handler(fi,_n,jn);we.expect("\\end",!1);var Vi=we.nextToken,sa=Vr(we.parseFunction(),"environment");if(sa.name!==Bt)throw new l("Mismatch: \\begin{"+Bt+"} matched by \\end{"+sa.name+"}",Vi);return Ii}return{type:"environment",mode:we.mode,name:Bt,nameGroup:st}}});var Ei=lr.makeSpan;function ca(ft,oe){var Ae=An(ft.body,oe,!0);return Ei([ft.mclass],Ae,oe)}function Ha(ft,oe){var Ae,we=Ki(ft.body,oe);return ft.mclass==="minner"?di.newDocumentFragment(we):(ft.mclass==="mord"?ft.isCharacterBox?(Ae=we[0],Ae.type="mi"):Ae=new di.MathNode("mi",we):(ft.isCharacterBox?(Ae=we[0],Ae.type="mo"):Ae=new di.MathNode("mo",we),ft.mclass==="mbin"?(Ae.attributes.lspace="0.22em",Ae.attributes.rspace="0.22em"):ft.mclass==="mpunct"?(Ae.attributes.lspace="0em",Ae.attributes.rspace="0.17em"):(ft.mclass==="mopen"||ft.mclass==="mclose")&&(Ae.attributes.lspace="0em",Ae.attributes.rspace="0em")),Ae)}sn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];return{type:"mclass",mode:we.mode,mclass:"m"+Be.substr(5),body:ni(st),isCharacterBox:A.isCharacterBox(st)}},htmlBuilder:ca,mathmlBuilder:Ha});var Pa=function(oe){var Ae=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return Ae.type==="atom"&&(Ae.family==="bin"||Ae.family==="rel")?"m"+Ae.family:"mord"};sn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(oe,Ae){var we=oe.parser;return{type:"mclass",mode:we.mode,mclass:Pa(Ae[0]),body:[Ae[1]],isCharacterBox:A.isCharacterBox(Ae[1])}}}),sn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[1],Bt=Ae[0],wr;Be!=="\\stackrel"?wr=Pa(st):wr="mrel";var Tr={type:"op",mode:st.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Be!=="\\stackrel",body:ni(st)},tn={type:"supsub",mode:Bt.mode,base:Tr,sup:Be==="\\underset"?null:Bt,sub:Be==="\\underset"?Bt:null};return{type:"mclass",mode:we.mode,mclass:wr,body:[tn],isCharacterBox:A.isCharacterBox(tn)}},htmlBuilder:ca,mathmlBuilder:Ha});var ya=function(oe,Ae){var we=oe.font,Be=Ae.withFont(we);return hi(oe.body,Be)},Ea=function(oe,Ae){var we=oe.font,Be=Ae.withFont(we);return Kt(oe.body,Be)},Ga={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};sn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0],Bt=Be;return Bt in Ga&&(Bt=Ga[Bt]),{type:"font",mode:we.mode,font:Bt.slice(1),body:st}},htmlBuilder:ya,mathmlBuilder:Ea}),sn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0],st=A.isCharacterBox(Be);return{type:"mclass",mode:we.mode,mclass:Pa(Be),body:[{type:"font",mode:we.mode,font:"boldsymbol",body:Be}],isCharacterBox:st}}}),sn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=oe.breakOnTokenText,Bt=we.mode,wr=we.parseExpression(!0,st),Tr="math"+Be.slice(1);return{type:"font",mode:Bt,font:Tr,body:{type:"ordgroup",mode:we.mode,body:wr}}},htmlBuilder:ya,mathmlBuilder:Ea});var Ta=function(oe,Ae){var we=Ae;return oe==="display"?we=we.id>=K.SCRIPT.id?we.text():K.DISPLAY:oe==="text"&&we.size===K.DISPLAY.size?we=K.TEXT:oe==="script"?we=K.SCRIPT:oe==="scriptscript"&&(we=K.SCRIPTSCRIPT),we},Va=function(oe,Ae){var we=Ta(oe.size,Ae.style),Be=we.fracNum(),st=we.fracDen(),Bt;Bt=Ae.havingStyle(Be);var wr=hi(oe.numer,Bt,Ae);if(oe.continued){var Tr=8.5/Ae.fontMetrics().ptPerEm,tn=3.5/Ae.fontMetrics().ptPerEm;wr.height=wr.height<Tr?Tr:wr.height,wr.depth=wr.depth<tn?tn:wr.depth}Bt=Ae.havingStyle(st);var _n=hi(oe.denom,Bt,Ae),jn,fi,Ii;oe.hasBarLine?(oe.barSize?(fi=cr(oe.barSize,Ae),jn=lr.makeLineSpan("frac-line",Ae,fi)):jn=lr.makeLineSpan("frac-line",Ae),fi=jn.height,Ii=jn.height):(jn=null,fi=0,Ii=Ae.fontMetrics().defaultRuleThickness);var Vi,sa,wa;we.size===K.DISPLAY.size||oe.size==="display"?(Vi=Ae.fontMetrics().num1,fi>0?sa=3*Ii:sa=7*Ii,wa=Ae.fontMetrics().denom1):(fi>0?(Vi=Ae.fontMetrics().num2,sa=Ii):(Vi=Ae.fontMetrics().num3,sa=3*Ii),wa=Ae.fontMetrics().denom2);var Za;if(jn){var lo=Ae.fontMetrics().axisHeight;Vi-wr.depth-(lo+.5*fi)<sa&&(Vi+=sa-(Vi-wr.depth-(lo+.5*fi))),lo-.5*fi-(_n.height-wa)<sa&&(wa+=sa-(lo-.5*fi-(_n.height-wa)));var _o=-(lo-.5*fi);Za=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_n,shift:wa},{type:"elem",elem:jn,shift:_o},{type:"elem",elem:wr,shift:-Vi}]},Ae)}else{var to=Vi-wr.depth-(_n.height-wa);to<sa&&(Vi+=.5*(sa-to),wa+=.5*(sa-to)),Za=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_n,shift:wa},{type:"elem",elem:wr,shift:-Vi}]},Ae)}Bt=Ae.havingStyle(we),Za.height*=Bt.sizeMultiplier/Ae.sizeMultiplier,Za.depth*=Bt.sizeMultiplier/Ae.sizeMultiplier;var ao;we.size===K.DISPLAY.size?ao=Ae.fontMetrics().delim1:ao=Ae.fontMetrics().delim2;var Do,Ja;return oe.leftDelim==null?Do=ti(Ae,["mopen"]):Do=Gn.customSizedDelim(oe.leftDelim,ao,!0,Ae.havingStyle(we),oe.mode,["mopen"]),oe.continued?Ja=lr.makeSpan([]):oe.rightDelim==null?Ja=ti(Ae,["mclose"]):Ja=Gn.customSizedDelim(oe.rightDelim,ao,!0,Ae.havingStyle(we),oe.mode,["mclose"]),lr.makeSpan(["mord"].concat(Bt.sizingClasses(Ae)),[Do,lr.makeSpan(["mfrac"],[Za]),Ja],Ae)},uo=function(oe,Ae){var we=new di.MathNode("mfrac",[Kt(oe.numer,Ae),Kt(oe.denom,Ae)]);if(!oe.hasBarLine)we.setAttribute("linethickness","0px");else if(oe.barSize){var Be=cr(oe.barSize,Ae);we.setAttribute("linethickness",Be+"em")}var st=Ta(oe.size,Ae.style);if(st.size!==Ae.style.size){we=new di.MathNode("mstyle",[we]);var Bt=st.size===K.DISPLAY.size?"true":"false";we.setAttribute("displaystyle",Bt),we.setAttribute("scriptlevel","0")}if(oe.leftDelim!=null||oe.rightDelim!=null){var wr=[];if(oe.leftDelim!=null){var Tr=new di.MathNode("mo",[new di.TextNode(oe.leftDelim.replace("\\",""))]);Tr.setAttribute("fence","true"),wr.push(Tr)}if(wr.push(we),oe.rightDelim!=null){var tn=new di.MathNode("mo",[new di.TextNode(oe.rightDelim.replace("\\",""))]);tn.setAttribute("fence","true"),wr.push(tn)}return Ni(wr)}return we};sn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0],Bt=Ae[1],wr,Tr=null,tn=null,_n="auto";switch(Be){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":wr=!0;break;case"\\\\atopfrac":wr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":wr=!1,Tr="(",tn=")";break;case"\\\\bracefrac":wr=!1,Tr="\\{",tn="\\}";break;case"\\\\brackfrac":wr=!1,Tr="[",tn="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Be){case"\\cfrac":case"\\dfrac":case"\\dbinom":_n="display";break;case"\\tfrac":case"\\tbinom":_n="text";break}return{type:"genfrac",mode:we.mode,continued:Be==="\\cfrac",numer:st,denom:Bt,hasBarLine:wr,leftDelim:Tr,rightDelim:tn,size:_n,barSize:null}},htmlBuilder:Va,mathmlBuilder:uo}),sn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(oe){var Ae=oe.parser,we=oe.funcName,Be=oe.token,st;switch(we){case"\\over":st="\\frac";break;case"\\choose":st="\\binom";break;case"\\atop":st="\\\\atopfrac";break;case"\\brace":st="\\\\bracefrac";break;case"\\brack":st="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Ae.mode,replaceWith:st,token:Be}}});var aa=["display","text","script","scriptscript"],po=function(oe){var Ae=null;return oe.length>0&&(Ae=oe,Ae=Ae==="."?null:Ae),Ae};sn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(oe,Ae){var we=oe.parser,Be=Ae[4],st=Ae[5],Bt=Br(Ae[0],"atom");Bt&&(Bt=Sr(Ae[0],"open"));var wr=Bt?po(Bt.text):null,Tr=Br(Ae[1],"atom");Tr&&(Tr=Sr(Ae[1],"close"));var tn=Tr?po(Tr.text):null,_n=Vr(Ae[2],"size"),jn,fi=null;_n.isBlank?jn=!0:(fi=_n.value,jn=fi.number>0);var Ii="auto",Vi=Br(Ae[3],"ordgroup");if(Vi){if(Vi.body.length>0){var sa=Vr(Vi.body[0],"textord");Ii=aa[Number(sa.text)]}}else Vi=Vr(Ae[3],"textord"),Ii=aa[Number(Vi.text)];return{type:"genfrac",mode:we.mode,numer:Be,denom:st,continued:!1,hasBarLine:jn,barSize:fi,leftDelim:wr,rightDelim:tn,size:Ii}},htmlBuilder:Va,mathmlBuilder:uo}),sn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=oe.token;return{type:"infix",mode:we.mode,replaceWith:"\\\\abovefrac",size:Vr(Ae[0],"size").value,token:st}}}),sn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0],Bt=h(Vr(Ae[1],"infix").size),wr=Ae[2],Tr=Bt.number>0;return{type:"genfrac",mode:we.mode,numer:st,denom:wr,continued:!1,hasBarLine:Tr,barSize:Bt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Va,mathmlBuilder:uo});var Ua=function(oe,Ae){var we=Ae.style,Be,st,Bt=Br(oe,"supsub");Bt?(Be=Bt.sup?hi(Bt.sup,Ae.havingStyle(we.sup()),Ae):hi(Bt.sub,Ae.havingStyle(we.sub()),Ae),st=Vr(Bt.base,"horizBrace")):st=Vr(oe,"horizBrace");var wr=hi(st.base,Ae.havingBaseStyle(K.DISPLAY)),Tr=In.svgSpan(st,Ae),tn;if(st.isOver?(tn=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wr},{type:"kern",size:.1},{type:"elem",elem:Tr}]},Ae),tn.children[0].children[0].children[1].classes.push("svg-align")):(tn=lr.makeVList({positionType:"bottom",positionData:wr.depth+.1+Tr.height,children:[{type:"elem",elem:Tr},{type:"kern",size:.1},{type:"elem",elem:wr}]},Ae),tn.children[0].children[0].children[0].classes.push("svg-align")),Be){var _n=lr.makeSpan(["mord",st.isOver?"mover":"munder"],[tn],Ae);st.isOver?tn=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_n},{type:"kern",size:.2},{type:"elem",elem:Be}]},Ae):tn=lr.makeVList({positionType:"bottom",positionData:_n.depth+.2+Be.height+Be.depth,children:[{type:"elem",elem:Be},{type:"kern",size:.2},{type:"elem",elem:_n}]},Ae)}return lr.makeSpan(["mord",st.isOver?"mover":"munder"],[tn],Ae)},Da=function(oe,Ae){var we=In.mathMLnode(oe.label);return new di.MathNode(oe.isOver?"mover":"munder",[Kt(oe.base,Ae),we])};sn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName;return{type:"horizBrace",mode:we.mode,label:Be,isOver:/^\\over/.test(Be),base:Ae[0]}},htmlBuilder:Ua,mathmlBuilder:Da}),sn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Ae[1],st=Vr(Ae[0],"url").url;return we.settings.isTrusted({command:"\\href",url:st})?{type:"href",mode:we.mode,href:st,body:ni(Be)}:we.formatUnsupportedCmd("\\href")},htmlBuilder:function(oe,Ae){var we=An(oe.body,Ae,!1);return lr.makeAnchor(oe.href,[],we,Ae)},mathmlBuilder:function(oe,Ae){var we=ia(oe.body,Ae);return we instanceof ra||(we=new ra("mrow",[we])),we.setAttribute("href",oe.href),we}}),sn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Vr(Ae[0],"url").url;if(!we.settings.isTrusted({command:"\\url",url:Be}))return we.formatUnsupportedCmd("\\url");for(var st=[],Bt=0;Bt<Be.length;Bt++){var wr=Be[Bt];wr==="~"&&(wr="\\textasciitilde"),st.push({type:"textord",mode:"text",text:wr})}var Tr={type:"text",mode:we.mode,font:"\\texttt",body:st};return{type:"href",mode:we.mode,href:Be,body:ni(Tr)}}}),sn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser;return{type:"htmlmathml",mode:we.mode,html:ni(Ae[0]),mathml:ni(Ae[1])}},htmlBuilder:function(oe,Ae){var we=An(oe.html,Ae,!1);return lr.makeFragment(we)},mathmlBuilder:function(oe,Ae){return ia(oe.mathml,Ae)}});var $a=function(oe){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(oe))return{number:+oe,unit:"bp"};var Ae=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(oe);if(!Ae)throw new l("Invalid size: '"+oe+"' in \\includegraphics");var we={number:+(Ae[1]+Ae[2]),unit:Ae[3]};if(!yr(we))throw new l("Invalid unit: '"+we.unit+"' in \\includegraphics.");return we};sn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(oe,Ae,we){var Be=oe.parser,st={number:0,unit:"em"},Bt={number:.9,unit:"em"},wr={number:0,unit:"em"},Tr="";if(we[0])for(var tn=Vr(we[0],"raw").string,_n=tn.split(","),jn=0;jn<_n.length;jn++){var fi=_n[jn].split("=");if(fi.length===2){var Ii=fi[1].trim();switch(fi[0].trim()){case"alt":Tr=Ii;break;case"width":st=$a(Ii);break;case"height":Bt=$a(Ii);break;case"totalheight":wr=$a(Ii);break;default:throw new l("Invalid key: '"+fi[0]+"' in \\includegraphics.")}}}var Vi=Vr(Ae[0],"url").url;return Tr===""&&(Tr=Vi,Tr=Tr.replace(/^.*[\\/]/,""),Tr=Tr.substring(0,Tr.lastIndexOf("."))),Be.settings.isTrusted({command:"\\includegraphics",url:Vi})?{type:"includegraphics",mode:Be.mode,alt:Tr,width:st,height:Bt,totalheight:wr,src:Vi}:Be.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(oe,Ae){var we=cr(oe.height,Ae),Be=0;oe.totalheight.number>0&&(Be=cr(oe.totalheight,Ae)-we,Be=Number(Be.toFixed(2)));var st=0;oe.width.number>0&&(st=cr(oe.width,Ae));var Bt={height:we+Be+"em"};st>0&&(Bt.width=st+"em"),Be>0&&(Bt.verticalAlign=-Be+"em");var wr=new pe(oe.src,oe.alt,Bt);return wr.height=we,wr.depth=Be,wr},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mglyph",[]);we.setAttribute("alt",oe.alt);var Be=cr(oe.height,Ae),st=0;if(oe.totalheight.number>0&&(st=cr(oe.totalheight,Ae)-Be,st=st.toFixed(2),we.setAttribute("valign","-"+st+"em")),we.setAttribute("height",Be+st+"em"),oe.width.number>0){var Bt=cr(oe.width,Ae);we.setAttribute("width",Bt+"em")}return we.setAttribute("src",oe.src),we}}),sn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Vr(Ae[0],"size");if(we.settings.strict){var Bt=Be[1]==="m",wr=st.value.unit==="mu";Bt?(wr||we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Be+" supports only mu units, "+("not "+st.value.unit+" units")),we.mode!=="math"&&we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Be+" works only in math mode")):wr&&we.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Be+" doesn't support mu units")}return{type:"kern",mode:we.mode,dimension:st.value}},htmlBuilder:function(oe,Ae){return lr.makeGlue(oe.dimension,Ae)},mathmlBuilder:function(oe,Ae){var we=cr(oe.dimension,Ae);return new di.SpaceNode(we)}}),sn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];return{type:"lap",mode:we.mode,alignment:Be.slice(5),body:st}},htmlBuilder:function(oe,Ae){var we;oe.alignment==="clap"?(we=lr.makeSpan([],[hi(oe.body,Ae)]),we=lr.makeSpan(["inner"],[we],Ae)):we=lr.makeSpan(["inner"],[hi(oe.body,Ae)]);var Be=lr.makeSpan(["fix"],[]),st=lr.makeSpan([oe.alignment],[we,Be],Ae),Bt=lr.makeSpan(["strut"]);return Bt.style.height=st.height+st.depth+"em",Bt.style.verticalAlign=-st.depth+"em",st.children.unshift(Bt),st=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:st}]},Ae),lr.makeSpan(["mord"],[st],Ae)},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mpadded",[Kt(oe.body,Ae)]);if(oe.alignment!=="rlap"){var Be=oe.alignment==="llap"?"-1":"-0.5";we.setAttribute("lspace",Be+"width")}return we.setAttribute("width","0px"),we}}),sn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,Ae){var we=oe.funcName,Be=oe.parser,st=Be.mode;Be.switchMode("math");var Bt=we==="\\("?"\\)":"$",wr=Be.parseExpression(!1,Bt);return Be.expect(Bt),Be.switchMode(st),{type:"styling",mode:Be.mode,style:"text",body:wr}}}),sn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,Ae){throw new l("Mismatched "+oe.funcName)}});var Ma=function(oe,Ae){switch(Ae.style.size){case K.DISPLAY.size:return oe.display;case K.TEXT.size:return oe.text;case K.SCRIPT.size:return oe.script;case K.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};sn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(oe,Ae){var we=oe.parser;return{type:"mathchoice",mode:we.mode,display:ni(Ae[0]),text:ni(Ae[1]),script:ni(Ae[2]),scriptscript:ni(Ae[3])}},htmlBuilder:function(oe,Ae){var we=Ma(oe,Ae),Be=An(we,Ae,!1);return lr.makeFragment(Be)},mathmlBuilder:function(oe,Ae){var we=Ma(oe,Ae);return ia(we,Ae)}});var Ka=function(oe,Ae,we,Be,st,Bt,wr){oe=lr.makeSpan([],[oe]);var Tr,tn;if(Ae){var _n=hi(Ae,Be.havingStyle(st.sup()),Be);tn={elem:_n,kern:Math.max(Be.fontMetrics().bigOpSpacing1,Be.fontMetrics().bigOpSpacing3-_n.depth)}}if(we){var jn=hi(we,Be.havingStyle(st.sub()),Be);Tr={elem:jn,kern:Math.max(Be.fontMetrics().bigOpSpacing2,Be.fontMetrics().bigOpSpacing4-jn.height)}}var fi;if(tn&&Tr){var Ii=Be.fontMetrics().bigOpSpacing5+Tr.elem.height+Tr.elem.depth+Tr.kern+oe.depth+wr;fi=lr.makeVList({positionType:"bottom",positionData:Ii,children:[{type:"kern",size:Be.fontMetrics().bigOpSpacing5},{type:"elem",elem:Tr.elem,marginLeft:-Bt+"em"},{type:"kern",size:Tr.kern},{type:"elem",elem:oe},{type:"kern",size:tn.kern},{type:"elem",elem:tn.elem,marginLeft:Bt+"em"},{type:"kern",size:Be.fontMetrics().bigOpSpacing5}]},Be)}else if(Tr){var Vi=oe.height-wr;fi=lr.makeVList({positionType:"top",positionData:Vi,children:[{type:"kern",size:Be.fontMetrics().bigOpSpacing5},{type:"elem",elem:Tr.elem,marginLeft:-Bt+"em"},{type:"kern",size:Tr.kern},{type:"elem",elem:oe}]},Be)}else if(tn){var sa=oe.depth+wr;fi=lr.makeVList({positionType:"bottom",positionData:sa,children:[{type:"elem",elem:oe},{type:"kern",size:tn.kern},{type:"elem",elem:tn.elem,marginLeft:Bt+"em"},{type:"kern",size:Be.fontMetrics().bigOpSpacing5}]},Be)}else return oe;return lr.makeSpan(["mop","op-limits"],[fi],Be)},yo=["\\smallint"],io=function(oe,Ae){var we,Be,st=!1,Bt,wr=Br(oe,"supsub");wr?(we=wr.sup,Be=wr.sub,Bt=Vr(wr.base,"op"),st=!0):Bt=Vr(oe,"op");var Tr=Ae.style,tn=!1;Tr.size===K.DISPLAY.size&&Bt.symbol&&!A.contains(yo,Bt.name)&&(tn=!0);var _n;if(Bt.symbol){var jn=tn?"Size2-Regular":"Size1-Regular",fi="";if((Bt.name==="\\oiint"||Bt.name==="\\oiiint")&&(fi=Bt.name.substr(1),Bt.name=fi==="oiint"?"\\iint":"\\iiint"),_n=lr.makeSymbol(Bt.name,jn,"math",Ae,["mop","op-symbol",tn?"large-op":"small-op"]),fi.length>0){var Ii=_n.italic,Vi=lr.staticSvg(fi+"Size"+(tn?"2":"1"),Ae);_n=lr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_n,shift:0},{type:"elem",elem:Vi,shift:tn?.08:0}]},Ae),Bt.name="\\"+fi,_n.classes.unshift("mop"),_n.italic=Ii}}else if(Bt.body){var sa=An(Bt.body,Ae,!0);sa.length===1&&sa[0]instanceof Te?(_n=sa[0],_n.classes[0]="mop"):_n=lr.makeSpan(["mop"],lr.tryCombineChars(sa),Ae)}else{for(var wa=[],Za=1;Za<Bt.name.length;Za++)wa.push(lr.mathsym(Bt.name[Za],Bt.mode,Ae));_n=lr.makeSpan(["mop"],wa,Ae)}var to=0,lo=0;return(_n instanceof Te||Bt.name==="\\oiint"||Bt.name==="\\oiiint")&&!Bt.suppressBaseShift&&(to=(_n.height-_n.depth)/2-Ae.fontMetrics().axisHeight,lo=_n.italic),st?Ka(_n,we,Be,Ae,Tr,lo,to):(to&&(_n.style.position="relative",_n.style.top=to+"em"),_n)},xo=function(oe,Ae){var we;if(oe.symbol)we=new ra("mo",[cn(oe.name,oe.mode)]),A.contains(yo,oe.name)&&we.setAttribute("largeop","false");else if(oe.body)we=new ra("mo",Ki(oe.body,Ae));else{we=new ra("mi",[new $i(oe.name.slice(1))]);var Be=new ra("mo",[cn("\u2061","text")]);oe.parentIsSupSub?we=new ra("mo",[we,Be]):we=Hi([we,Be])}return we},mo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};sn({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(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Be;return st.length===1&&(st=mo[st]),{type:"op",mode:we.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:st}},htmlBuilder:io,mathmlBuilder:xo}),sn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0];return{type:"op",mode:we.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ni(Be)}},htmlBuilder:io,mathmlBuilder:xo});var go={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};sn({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(oe){var Ae=oe.parser,we=oe.funcName;return{type:"op",mode:Ae.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:we}},htmlBuilder:io,mathmlBuilder:xo}),sn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(oe){var Ae=oe.parser,we=oe.funcName;return{type:"op",mode:Ae.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:we}},htmlBuilder:io,mathmlBuilder:xo}),sn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(oe){var Ae=oe.parser,we=oe.funcName,Be=we;return Be.length===1&&(Be=go[Be]),{type:"op",mode:Ae.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Be}},htmlBuilder:io,mathmlBuilder:xo});var Ya=function(oe,Ae){var we,Be,st=!1,Bt,wr=Br(oe,"supsub");wr?(we=wr.sup,Be=wr.sub,Bt=Vr(wr.base,"operatorname"),st=!0):Bt=Vr(oe,"operatorname");var Tr;if(Bt.body.length>0){for(var tn=Bt.body.map(function(Ii){var Vi=Ii.text;return typeof Vi=="string"?{type:"textord",mode:Ii.mode,text:Vi}:Ii}),_n=An(tn,Ae.withFont("mathrm"),!0),jn=0;jn<_n.length;jn++){var fi=_n[jn];fi instanceof Te&&(fi.text=fi.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Tr=lr.makeSpan(["mop"],_n,Ae)}else Tr=lr.makeSpan(["mop"],[],Ae);return st?Ka(Tr,we,Be,Ae,Ae.style,0,0):Tr},qa=function(oe,Ae){for(var we=Ki(oe.body,Ae.withFont("mathrm")),Be=!0,st=0;st<we.length;st++){var Bt=we[st];if(!(Bt instanceof di.SpaceNode))if(Bt instanceof di.MathNode)switch(Bt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var wr=Bt.children[0];Bt.children.length===1&&wr instanceof di.TextNode?wr.text=wr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Be=!1;break}default:Be=!1}else Be=!1}if(Be){var Tr=we.map(function(jn){return jn.toText()}).join("");we=[new di.TextNode(Tr)]}var tn=new di.MathNode("mi",we);tn.setAttribute("mathvariant","normal");var _n=new di.MathNode("mo",[cn("\u2061","text")]);return oe.parentIsSupSub?new di.MathNode("mo",[tn,_n]):di.newDocumentFragment([tn,_n])};sn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];return{type:"operatorname",mode:we.mode,body:ni(st),alwaysHandleSupSub:Be==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ya,mathmlBuilder:qa}),li({type:"ordgroup",htmlBuilder:function(oe,Ae){return oe.semisimple?lr.makeFragment(An(oe.body,Ae,!1)):lr.makeSpan(["mord"],An(oe.body,Ae,!0),Ae)},mathmlBuilder:function(oe,Ae){return ia(oe.body,Ae,!0)}}),sn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0];return{type:"overline",mode:we.mode,body:Be}},htmlBuilder:function(oe,Ae){var we=hi(oe.body,Ae.havingCrampedStyle()),Be=lr.makeLineSpan("overline-line",Ae),st=Ae.fontMetrics().defaultRuleThickness,Bt=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we},{type:"kern",size:3*st},{type:"elem",elem:Be},{type:"kern",size:st}]},Ae);return lr.makeSpan(["mord","overline"],[Bt],Ae)},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mo",[new di.TextNode("\u203E")]);we.setAttribute("stretchy","true");var Be=new di.MathNode("mover",[Kt(oe.body,Ae),we]);return Be.setAttribute("accent","true"),Be}}),sn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0];return{type:"phantom",mode:we.mode,body:ni(Be)}},htmlBuilder:function(oe,Ae){var we=An(oe.body,Ae.withPhantom(),!1);return lr.makeFragment(we)},mathmlBuilder:function(oe,Ae){var we=Ki(oe.body,Ae);return new di.MathNode("mphantom",we)}}),sn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0];return{type:"hphantom",mode:we.mode,body:Be}},htmlBuilder:function(oe,Ae){var we=lr.makeSpan([],[hi(oe.body,Ae.withPhantom())]);if(we.height=0,we.depth=0,we.children)for(var Be=0;Be<we.children.length;Be++)we.children[Be].height=0,we.children[Be].depth=0;return we=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we}]},Ae),lr.makeSpan(["mord"],[we],Ae)},mathmlBuilder:function(oe,Ae){var we=Ki(ni(oe.body),Ae),Be=new di.MathNode("mphantom",we),st=new di.MathNode("mpadded",[Be]);return st.setAttribute("height","0px"),st.setAttribute("depth","0px"),st}}),sn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Ae[0];return{type:"vphantom",mode:we.mode,body:Be}},htmlBuilder:function(oe,Ae){var we=lr.makeSpan(["inner"],[hi(oe.body,Ae.withPhantom())]),Be=lr.makeSpan(["fix"],[]);return lr.makeSpan(["mord","rlap"],[we,Be],Ae)},mathmlBuilder:function(oe,Ae){var we=Ki(ni(oe.body),Ae),Be=new di.MathNode("mphantom",we),st=new di.MathNode("mpadded",[Be]);return st.setAttribute("width","0px"),st}}),sn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=Vr(Ae[0],"size").value,st=Ae[1];return{type:"raisebox",mode:we.mode,dy:Be,body:st}},htmlBuilder:function(oe,Ae){var we=hi(oe.body,Ae),Be=cr(oe.dy,Ae);return lr.makeVList({positionType:"shift",positionData:-Be,children:[{type:"elem",elem:we}]},Ae)},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mpadded",[Kt(oe.body,Ae)]),Be=oe.dy.number+oe.dy.unit;return we.setAttribute("voffset",Be),we}}),sn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(oe,Ae,we){var Be=oe.parser,st=we[0],Bt=Vr(Ae[0],"size"),wr=Vr(Ae[1],"size");return{type:"rule",mode:Be.mode,shift:st&&Vr(st,"size").value,width:Bt.value,height:wr.value}},htmlBuilder:function(oe,Ae){var we=lr.makeSpan(["mord","rule"],[],Ae),Be=cr(oe.width,Ae),st=cr(oe.height,Ae),Bt=oe.shift?cr(oe.shift,Ae):0;return we.style.borderRightWidth=Be+"em",we.style.borderTopWidth=st+"em",we.style.bottom=Bt+"em",we.width=Be,we.height=st+Bt,we.depth=-Bt,we.maxFontSize=st*1.125*Ae.sizeMultiplier,we},mathmlBuilder:function(oe,Ae){var we=cr(oe.width,Ae),Be=cr(oe.height,Ae),st=oe.shift?cr(oe.shift,Ae):0,Bt=Ae.color&&Ae.getColor()||"black",wr=new di.MathNode("mspace");wr.setAttribute("mathbackground",Bt),wr.setAttribute("width",we+"em"),wr.setAttribute("height",Be+"em");var Tr=new di.MathNode("mpadded",[wr]);return st>=0?Tr.setAttribute("height","+"+st+"em"):(Tr.setAttribute("height",st+"em"),Tr.setAttribute("depth","+"+-st+"em")),Tr.setAttribute("voffset",st+"em"),Tr}});function La(ft,oe,Ae){for(var we=An(ft,oe,!1),Be=oe.sizeMultiplier/Ae.sizeMultiplier,st=0;st<we.length;st++){var Bt=we[st].classes.indexOf("sizing");Bt<0?Array.prototype.push.apply(we[st].classes,oe.sizingClasses(Ae)):we[st].classes[Bt+1]==="reset-size"+oe.size&&(we[st].classes[Bt+1]="reset-size"+Ae.size),we[st].height*=Be,we[st].depth*=Be}return lr.makeFragment(we)}var oo=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],vo=function(oe,Ae){var we=Ae.havingSize(oe.size);return La(oe.body,we,Ae)};sn({type:"sizing",names:oo,props:{numArgs:0,allowedInText:!0},handler:function(oe,Ae){var we=oe.breakOnTokenText,Be=oe.funcName,st=oe.parser,Bt=st.parseExpression(!1,we);return{type:"sizing",mode:st.mode,size:oo.indexOf(Be)+1,body:Bt}},htmlBuilder:vo,mathmlBuilder:function(oe,Ae){var we=Ae.havingSize(oe.size),Be=Ki(oe.body,we),st=new di.MathNode("mstyle",Be);return st.setAttribute("mathsize",we.sizeMultiplier+"em"),st}}),sn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(oe,Ae,we){var Be=oe.parser,st=!1,Bt=!1,wr=we[0]&&Vr(we[0],"ordgroup");if(wr)for(var Tr="",tn=0;tn<wr.body.length;++tn){var _n=wr.body[tn];if(Tr=_n.text,Tr==="t")st=!0;else if(Tr==="b")Bt=!0;else{st=!1,Bt=!1;break}}else st=!0,Bt=!0;var jn=Ae[0];return{type:"smash",mode:Be.mode,body:jn,smashHeight:st,smashDepth:Bt}},htmlBuilder:function(oe,Ae){var we=lr.makeSpan([],[hi(oe.body,Ae)]);if(!oe.smashHeight&&!oe.smashDepth)return we;if(oe.smashHeight&&(we.height=0,we.children))for(var Be=0;Be<we.children.length;Be++)we.children[Be].height=0;if(oe.smashDepth&&(we.depth=0,we.children))for(var st=0;st<we.children.length;st++)we.children[st].depth=0;var Bt=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we}]},Ae);return lr.makeSpan(["mord"],[Bt],Ae)},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mpadded",[Kt(oe.body,Ae)]);return oe.smashHeight&&we.setAttribute("height","0px"),oe.smashDepth&&we.setAttribute("depth","0px"),we}}),sn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(oe,Ae,we){var Be=oe.parser,st=we[0],Bt=Ae[0];return{type:"sqrt",mode:Be.mode,body:Bt,index:st}},htmlBuilder:function(oe,Ae){var we=hi(oe.body,Ae.havingCrampedStyle());we.height===0&&(we.height=Ae.fontMetrics().xHeight),we=lr.wrapFragment(we,Ae);var Be=Ae.fontMetrics(),st=Be.defaultRuleThickness,Bt=st;Ae.style.id<K.TEXT.id&&(Bt=Ae.fontMetrics().xHeight);var wr=st+Bt/4,Tr=we.height+we.depth+wr+st,tn=Gn.sqrtImage(Tr,Ae),_n=tn.span,jn=tn.ruleWidth,fi=tn.advanceWidth,Ii=_n.height-jn;Ii>we.height+we.depth+wr&&(wr=(wr+Ii-we.height-we.depth)/2);var Vi=_n.height-we.height-wr-jn;we.style.paddingLeft=fi+"em";var sa=lr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:we,wrapperClasses:["svg-align"]},{type:"kern",size:-(we.height+Vi)},{type:"elem",elem:_n},{type:"kern",size:jn}]},Ae);if(oe.index){var wa=Ae.havingStyle(K.SCRIPTSCRIPT),Za=hi(oe.index,wa,Ae),to=.6*(sa.height-sa.depth),lo=lr.makeVList({positionType:"shift",positionData:-to,children:[{type:"elem",elem:Za}]},Ae),_o=lr.makeSpan(["root"],[lo]);return lr.makeSpan(["mord","sqrt"],[_o,sa],Ae)}else return lr.makeSpan(["mord","sqrt"],[sa],Ae)},mathmlBuilder:function(oe,Ae){var we=oe.body,Be=oe.index;return Be?new di.MathNode("mroot",[Kt(we,Ae),Kt(Be,Ae)]):new di.MathNode("msqrt",[Kt(we,Ae)])}});var Fi={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};sn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(oe,Ae){var we=oe.breakOnTokenText,Be=oe.funcName,st=oe.parser,Bt=st.parseExpression(!0,we),wr=Be.slice(1,Be.length-5);return{type:"styling",mode:st.mode,style:wr,body:Bt}},htmlBuilder:function(oe,Ae){var we=Fi[oe.style],Be=Ae.havingStyle(we).withFont("");return La(oe.body,Be,Ae)},mathmlBuilder:function(oe,Ae){var we=Fi[oe.style],Be=Ae.havingStyle(we),st=Ki(oe.body,Be),Bt=new di.MathNode("mstyle",st),wr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Tr=wr[oe.style];return Bt.setAttribute("scriptlevel",Tr[0]),Bt.setAttribute("displaystyle",Tr[1]),Bt}});var ma=function(oe,Ae){var we=oe.base;if(we)if(we.type==="op"){var Be=we.limits&&(Ae.style.size===K.DISPLAY.size||we.alwaysHandleSupSub);return Be?io:null}else if(we.type==="operatorname"){var st=we.alwaysHandleSupSub&&(Ae.style.size===K.DISPLAY.size||we.limits);return st?Ya:null}else{if(we.type==="accent")return A.isCharacterBox(we.base)?Rn:null;if(we.type==="horizBrace"){var Bt=!oe.sub;return Bt===we.isOver?Ua:null}else return null}else return null};li({type:"supsub",htmlBuilder:function(oe,Ae){var we=ma(oe,Ae);if(we)return we(oe,Ae);var Be=oe.base,st=oe.sup,Bt=oe.sub,wr=hi(Be,Ae),Tr,tn,_n=Ae.fontMetrics(),jn=0,fi=0,Ii=Be&&A.isCharacterBox(Be);if(st){var Vi=Ae.havingStyle(Ae.style.sup());Tr=hi(st,Vi,Ae),Ii||(jn=wr.height-Vi.fontMetrics().supDrop*Vi.sizeMultiplier/Ae.sizeMultiplier)}if(Bt){var sa=Ae.havingStyle(Ae.style.sub());tn=hi(Bt,sa,Ae),Ii||(fi=wr.depth+sa.fontMetrics().subDrop*sa.sizeMultiplier/Ae.sizeMultiplier)}var wa;Ae.style===K.DISPLAY?wa=_n.sup1:Ae.style.cramped?wa=_n.sup3:wa=_n.sup2;var Za=Ae.sizeMultiplier,to=.5/_n.ptPerEm/Za+"em",lo=null;if(tn){var _o=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(wr instanceof Te||_o)&&(lo=-wr.italic+"em")}var ao;if(Tr&&tn){jn=Math.max(jn,wa,Tr.depth+.25*_n.xHeight),fi=Math.max(fi,_n.sub2);var Do=_n.defaultRuleThickness,Ja=4*Do;if(jn-Tr.depth-(tn.height-fi)<Ja){fi=Ja-(jn-Tr.depth)+tn.height;var Eo=.8*_n.xHeight-(jn-Tr.depth);Eo>0&&(jn+=Eo,fi-=Eo)}var fs=[{type:"elem",elem:tn,shift:fi,marginRight:to,marginLeft:lo},{type:"elem",elem:Tr,shift:-jn,marginRight:to}];ao=lr.makeVList({positionType:"individualShift",children:fs},Ae)}else if(tn){fi=Math.max(fi,_n.sub1,tn.height-.8*_n.xHeight);var Oo=[{type:"elem",elem:tn,marginLeft:lo,marginRight:to}];ao=lr.makeVList({positionType:"shift",positionData:fi,children:Oo},Ae)}else if(Tr)jn=Math.max(jn,wa,Tr.depth+.25*_n.xHeight),ao=lr.makeVList({positionType:"shift",positionData:-jn,children:[{type:"elem",elem:Tr,marginRight:to}]},Ae);else throw new Error("supsub must have either sup or sub.");var Lo=Zn(wr,"right")||"mord";return lr.makeSpan([Lo],[wr,lr.makeSpan(["msupsub"],[ao])],Ae)},mathmlBuilder:function(oe,Ae){var we=!1,Be,st,Bt=Br(oe.base,"horizBrace");Bt&&(st=!!oe.sup,st===Bt.isOver&&(we=!0,Be=Bt.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var wr=[Kt(oe.base,Ae)];oe.sub&&wr.push(Kt(oe.sub,Ae)),oe.sup&&wr.push(Kt(oe.sup,Ae));var Tr;if(we)Tr=Be?"mover":"munder";else if(oe.sub)if(oe.sup){var jn=oe.base;jn&&jn.type==="op"&&jn.limits&&Ae.style===K.DISPLAY||jn&&jn.type==="operatorname"&&jn.alwaysHandleSupSub&&(Ae.style===K.DISPLAY||jn.limits)?Tr="munderover":Tr="msubsup"}else{var _n=oe.base;_n&&_n.type==="op"&&_n.limits&&(Ae.style===K.DISPLAY||_n.alwaysHandleSupSub)||_n&&_n.type==="operatorname"&&_n.alwaysHandleSupSub&&(_n.limits||Ae.style===K.DISPLAY)?Tr="munder":Tr="msub"}else{var tn=oe.base;tn&&tn.type==="op"&&tn.limits&&(Ae.style===K.DISPLAY||tn.alwaysHandleSupSub)||tn&&tn.type==="operatorname"&&tn.alwaysHandleSupSub&&(tn.limits||Ae.style===K.DISPLAY)?Tr="mover":Tr="msup"}var fi=new di.MathNode(Tr,wr);return fi}}),li({type:"atom",htmlBuilder:function(oe,Ae){return lr.mathsym(oe.text,oe.mode,Ae,["m"+oe.family])},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mo",[cn(oe.text,oe.mode)]);if(oe.family==="bin"){var Be=Gi(oe,Ae);Be==="bold-italic"&&we.setAttribute("mathvariant",Be)}else oe.family==="punct"?we.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&we.setAttribute("stretchy","false");return we}});var Mo={mi:"italic",mn:"normal",mtext:"normal"};li({type:"mathord",htmlBuilder:function(oe,Ae){return lr.makeOrd(oe,Ae,"mathord")},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mi",[cn(oe.text,oe.mode,Ae)]),Be=Gi(oe,Ae)||"italic";return Be!==Mo[we.type]&&we.setAttribute("mathvariant",Be),we}}),li({type:"textord",htmlBuilder:function(oe,Ae){return lr.makeOrd(oe,Ae,"textord")},mathmlBuilder:function(oe,Ae){var we=cn(oe.text,oe.mode,Ae),Be=Gi(oe,Ae)||"normal",st;return oe.mode==="text"?st=new di.MathNode("mtext",[we]):/[0-9]/.test(oe.text)?st=new di.MathNode("mn",[we]):oe.text==="\\prime"?st=new di.MathNode("mo",[we]):st=new di.MathNode("mi",[we]),Be!==Mo[st.type]&&st.setAttribute("mathvariant",Be),st}});var zo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Qo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};li({type:"spacing",htmlBuilder:function(oe,Ae){if(Qo.hasOwnProperty(oe.text)){var we=Qo[oe.text].className||"";if(oe.mode==="text"){var Be=lr.makeOrd(oe,Ae,"textord");return Be.classes.push(we),Be}else return lr.makeSpan(["mspace",we],[lr.mathsym(oe.text,oe.mode,Ae)],Ae)}else{if(zo.hasOwnProperty(oe.text))return lr.makeSpan(["mspace",zo[oe.text]],[],Ae);throw new l('Unknown type of space "'+oe.text+'"')}},mathmlBuilder:function(oe,Ae){var we;if(Qo.hasOwnProperty(oe.text))we=new di.MathNode("mtext",[new di.TextNode("\xA0")]);else{if(zo.hasOwnProperty(oe.text))return new di.MathNode("mspace");throw new l('Unknown type of space "'+oe.text+'"')}return we}});var Jo=function(){var oe=new di.MathNode("mtd",[]);return oe.setAttribute("width","50%"),oe};li({type:"tag",mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mtable",[new di.MathNode("mtr",[Jo(),new di.MathNode("mtd",[ia(oe.body,Ae)]),Jo(),new di.MathNode("mtd",[ia(oe.tag,Ae)])])]);return we.setAttribute("width","100%"),we}});var bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},jo={"\\textit":"textit","\\textup":"textup"},hs=function(oe,Ae){var we=oe.font;return we?bo[we]?Ae.withTextFontFamily(bo[we]):Ra[we]?Ae.withTextFontWeight(Ra[we]):Ae.withTextFontShape(jo[we]):Ae};sn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser,Be=oe.funcName,st=Ae[0];return{type:"text",mode:we.mode,body:ni(st),font:Be}},htmlBuilder:function(oe,Ae){var we=hs(oe,Ae),Be=An(oe.body,we,!0);return lr.makeSpan(["mord","text"],lr.tryCombineChars(Be),we)},mathmlBuilder:function(oe,Ae){var we=hs(oe,Ae);return ia(oe.body,we)}}),sn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(oe,Ae){var we=oe.parser;return{type:"underline",mode:we.mode,body:Ae[0]}},htmlBuilder:function(oe,Ae){var we=hi(oe.body,Ae),Be=lr.makeLineSpan("underline-line",Ae),st=Ae.fontMetrics().defaultRuleThickness,Bt=lr.makeVList({positionType:"top",positionData:we.height,children:[{type:"kern",size:st},{type:"elem",elem:Be},{type:"kern",size:3*st},{type:"elem",elem:we}]},Ae);return lr.makeSpan(["mord","underline"],[Bt],Ae)},mathmlBuilder:function(oe,Ae){var we=new di.MathNode("mo",[new di.TextNode("\u203E")]);we.setAttribute("stretchy","true");var Be=new di.MathNode("munder",[Kt(oe.body,Ae),we]);return Be.setAttribute("accentunder","true"),Be}}),sn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(oe,Ae,we){throw new l("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(oe,Ae){for(var we=Ao(oe),Be=[],st=Ae.havingStyle(Ae.style.text()),Bt=0;Bt<we.length;Bt++){var wr=we[Bt];wr==="~"&&(wr="\\textasciitilde"),Be.push(lr.makeSymbol(wr,"Typewriter-Regular",oe.mode,st,["mord","texttt"]))}return lr.makeSpan(["mord","text"].concat(st.sizingClasses(Ae)),lr.tryCombineChars(Be),st)},mathmlBuilder:function(oe,Ae){var we=new di.TextNode(Ao(oe)),Be=new di.MathNode("mtext",[we]);return Be.setAttribute("mathvariant","monospace"),Be}});var Ao=function(oe){return oe.body.replace(/ /g,oe.star?"\u2423":"\xA0")},Io=gn,Xa=Io,Yo=`[ \r
]`,pl="\\\\[a-zA-Z@]+",Ls="\\\\[^\uD800-\uDFFF]",os=""+pl+Yo+"*",_s=new RegExp("^("+pl+")"+Yo+"*$"),Ns="[\u0300-\u036F]",is=new RegExp(Ns+"+$"),Wo="("+Yo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ns+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ns+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+os)+("|"+Ls+")"),Co=function(){function ft(Ae,we){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Ae,this.settings=we,this.tokenRegex=new RegExp(Wo,"g"),this.catcodes={"%":14}}var oe=ft.prototype;return oe.setCatcode=function(we,Be){this.catcodes[we]=Be},oe.lex=function(){var we=this.input,Be=this.tokenRegex.lastIndex;if(Be===we.length)return new f("EOF",new v(this,Be,Be));var st=this.tokenRegex.exec(we);if(st===null||st.index!==Be)throw new l("Unexpected character: '"+we[Be]+"'",new f(we[Be],new v(this,Be,Be+1)));var Bt=st[2]||" ";if(this.catcodes[Bt]===14){var wr=we.indexOf(`
`,this.tokenRegex.lastIndex);return wr===-1?(this.tokenRegex.lastIndex=we.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=wr+1,this.lex()}var Tr=Bt.match(_s);return Tr&&(Bt=Tr[1]),new f(Bt,new v(this,Be,this.tokenRegex.lastIndex))},ft}(),ts=function(){function ft(Ae,we){Ae===void 0&&(Ae={}),we===void 0&&(we={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=we,this.builtins=Ae,this.undefStack=[]}var oe=ft.prototype;return oe.beginGroup=function(){this.undefStack.push({})},oe.endGroup=function(){if(this.undefStack.length===0)throw new l("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var we=this.undefStack.pop();for(var Be in we)we.hasOwnProperty(Be)&&(we[Be]===void 0?delete this.current[Be]:this.current[Be]=we[Be])},oe.has=function(we){return this.current.hasOwnProperty(we)||this.builtins.hasOwnProperty(we)},oe.get=function(we){return this.current.hasOwnProperty(we)?this.current[we]:this.builtins[we]},oe.set=function(we,Be,st){if(st===void 0&&(st=!1),st){for(var Bt=0;Bt<this.undefStack.length;Bt++)delete this.undefStack[Bt][we];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][we]=Be)}else{var wr=this.undefStack[this.undefStack.length-1];wr&&!wr.hasOwnProperty(we)&&(wr[we]=this.current[we])}this.current[we]=Be},ft}(),No={},Ho=No;function zr(ft,oe){No[ft]=oe}zr("\\@firstoftwo",function(ft){var oe=ft.consumeArgs(2);return{tokens:oe[0],numArgs:0}}),zr("\\@secondoftwo",function(ft){var oe=ft.consumeArgs(2);return{tokens:oe[1],numArgs:0}}),zr("\\@ifnextchar",function(ft){var oe=ft.consumeArgs(3),Ae=ft.future();return oe[0].length===1&&oe[0][0].text===Ae.text?{tokens:oe[1],numArgs:0}:{tokens:oe[2],numArgs:0}}),zr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),zr("\\TextOrMath",function(ft){var oe=ft.consumeArgs(2);return ft.mode==="text"?{tokens:oe[0],numArgs:0}:{tokens:oe[1],numArgs:0}});var Si={"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 oe=ft.popToken(),Ae,we="";if(oe.text==="'")Ae=8,oe=ft.popToken();else if(oe.text==='"')Ae=16,oe=ft.popToken();else if(oe.text==="`")if(oe=ft.popToken(),oe.text[0]==="\\")we=oe.text.charCodeAt(1);else{if(oe.text==="EOF")throw new l("\\char` missing argument");we=oe.text.charCodeAt(0)}else Ae=10;if(Ae){if(we=Si[oe.text],we==null||we>=Ae)throw new l("Invalid base-"+Ae+" digit "+oe.text);for(var Be;(Be=Si[ft.future().text])!=null&&Be<Ae;)we*=Ae,we+=Be,ft.popToken()}return"\\@char{"+we+"}"});var Ps=function(oe,Ae){var we=oe.consumeArgs(1)[0];if(we.length!==1)throw new l("\\gdef's first argument must be a macro name");var Be=we[0].text,st=0;for(we=oe.consumeArgs(1)[0];we.length===1&&we[0].text==="#";){if(we=oe.consumeArgs(1)[0],we.length!==1)throw new l('Invalid argument number length "'+we.length+'"');if(!/^[1-9]$/.test(we[0].text))throw new l('Invalid argument number "'+we[0].text+'"');if(st++,parseInt(we[0].text)!==st)throw new l('Argument number "'+we[0].text+'" out of order');we=oe.consumeArgs(1)[0]}return oe.macros.set(Be,{tokens:we,numArgs:st},Ae),""};zr("\\gdef",function(ft){return Ps(ft,!0)}),zr("\\def",function(ft){return Ps(ft,!1)}),zr("\\global",function(ft){var oe=ft.consumeArgs(1)[0];if(oe.length!==1)throw new l("Invalid command after \\global");var Ae=oe[0].text;if(Ae==="\\def")return Ps(ft,!0);throw new l("Invalid command '"+Ae+"' after \\global")});var Vs=function(oe,Ae,we){var Be=oe.consumeArgs(1)[0];if(Be.length!==1)throw new l("\\newcommand's first argument must be a macro name");var st=Be[0].text,Bt=oe.isDefined(st);if(Bt&&!Ae)throw new l("\\newcommand{"+st+"} attempting to redefine "+(st+"; use \\renewcommand"));if(!Bt&&!we)throw new l("\\renewcommand{"+st+"} when command "+st+" does not yet exist; use \\newcommand");var wr=0;if(Be=oe.consumeArgs(1)[0],Be.length===1&&Be[0].text==="["){for(var Tr="",tn=oe.expandNextToken();tn.text!=="]"&&tn.text!=="EOF";)Tr+=tn.text,tn=oe.expandNextToken();if(!Tr.match(/^\s*[0-9]+\s*$/))throw new l("Invalid number of arguments: "+Tr);wr=parseInt(Tr),Be=oe.consumeArgs(1)[0]}return oe.macros.set(st,{tokens:Be,numArgs:wr}),""};zr("\\newcommand",function(ft){return Vs(ft,!1,!0)}),zr("\\renewcommand",function(ft){return Vs(ft,!0,!1)}),zr("\\providecommand",function(ft){return Vs(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 Ms={",":"\\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 oe="\\dotso",Ae=ft.expandAfterFuture().text;return Ae in Ms?oe=Ms[Ae]:Ae.substr(0,4)==="\\not"?oe="\\dotsb":Ae in $e.math&&(A.contains(["bin","rel"],$e.math[Ae].group)&&(oe="\\dotsb")),oe});var so={")":!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 oe=ft.future().text;return oe in so?"\\ldots\\,":"\\ldots"}),zr("\\dotsc",function(ft){var oe=ft.future().text;return oe in so&&oe!==","?"\\ldots\\,":"\\ldots"}),zr("\\cdots",function(ft){var oe=ft.future().text;return oe in so?"\\@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 l("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 wo=at["Main-Regular"]["T".charCodeAt(0)][1]-.7*at["Main-Regular"]["A".charCodeAt(0)][1]+"em";zr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+wo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),zr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+wo+"}{\\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 Vo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Zo=function(){function ft(Ae,we,Be){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=we,this.expansionCount=0,this.feed(Ae),this.macros=new ts(Ho,we.macros),this.mode=Be,this.stack=[]}var oe=ft.prototype;return oe.feed=function(we){this.lexer=new Co(we,this.settings)},oe.switchMode=function(we){this.mode=we},oe.beginGroup=function(){this.macros.beginGroup()},oe.endGroup=function(){this.macros.endGroup()},oe.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},oe.popToken=function(){return this.future(),this.stack.pop()},oe.pushToken=function(we){this.stack.push(we)},oe.pushTokens=function(we){var Be;(Be=this.stack).push.apply(Be,we)},oe.consumeSpaces=function(){for(;;){var we=this.future();if(we.text===" ")this.stack.pop();else break}},oe.consumeArgs=function(we){for(var Be=[],st=0;st<we;++st){this.consumeSpaces();var Bt=this.popToken();if(Bt.text==="{"){for(var wr=[],Tr=1;Tr!==0;){var tn=this.popToken();if(wr.push(tn),tn.text==="{")++Tr;else if(tn.text==="}")--Tr;else if(tn.text==="EOF")throw new l("End of input in macro argument",Bt)}wr.pop(),wr.reverse(),Be[st]=wr}else{if(Bt.text==="EOF")throw new l("End of input expecting macro argument");Be[st]=[Bt]}}return Be},oe.expandOnce=function(){var we=this.popToken(),Be=we.text,st=this._getExpansion(Be);if(st==null)return this.pushToken(we),we;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new l("Too many expansions: infinite loop or need to increase maxExpand setting");var Bt=st.tokens;if(st.numArgs){var wr=this.consumeArgs(st.numArgs);Bt=Bt.slice();for(var Tr=Bt.length-1;Tr>=0;--Tr){var tn=Bt[Tr];if(tn.text==="#"){if(Tr===0)throw new l("Incomplete placeholder at end of macro body",tn);if(tn=Bt[--Tr],tn.text==="#")Bt.splice(Tr+1,1);else if(/^[1-9]$/.test(tn.text)){var _n;(_n=Bt).splice.apply(_n,[Tr,2].concat(wr[+tn.text-1]))}else throw new l("Not a valid argument number",tn)}}}return this.pushTokens(Bt),Bt},oe.expandAfterFuture=function(){return this.expandOnce(),this.future()},oe.expandNextToken=function(){for(;;){var we=this.expandOnce();if(we instanceof f)if(we.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},oe.expandMacro=function(we){if(!this.macros.get(we))return;var Be=[],st=this.stack.length;for(this.pushToken(new f(we));this.stack.length>st;){var Bt=this.expandOnce();Bt instanceof f&&Be.push(this.stack.pop())}return Be},oe.expandMacroAsText=function(we){var Be=this.expandMacro(we);return Be&&Be.map(function(st){return st.text}).join("")},oe._getExpansion=function(we){var Be=this.macros.get(we);if(Be==null)return Be;var st=typeof Be=="function"?Be(this):Be;if(typeof st=="string"){var Bt=0;if(st.indexOf("#")!==-1)for(var wr=st.replace(/##/g,"");wr.indexOf("#"+(Bt+1))!==-1;)++Bt;for(var Tr=new Co(st,this.settings),tn=[],_n=Tr.lex();_n.text!=="EOF";)tn.push(_n),_n=Tr.lex();tn.reverse();var jn={tokens:tn,numArgs:Bt};return jn}return st},oe.isDefined=function(we){return this.macros.has(we)||Xa.hasOwnProperty(we)||$e.math.hasOwnProperty(we)||$e.text.hasOwnProperty(we)||Vo.hasOwnProperty(we)},ft}(),As={"\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"}},ws={\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"},Ss=function(){function ft(Ae,we){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 Zo(Ae,we,this.mode),this.settings=we,this.leftrightDepth=0}var oe=ft.prototype;return oe.expect=function(we,Be){if(Be===void 0&&(Be=!0),this.fetch().text!==we)throw new l("Expected '"+we+"', got '"+this.fetch().text+"'",this.fetch());Be&&this.consume()},oe.consume=function(){this.nextToken=null},oe.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},oe.switchMode=function(we){this.mode=we,this.gullet.switchMode(we)},oe.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var we=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),we},oe.parseExpression=function(we,Be){for(var st=[];;){this.mode==="math"&&this.consumeSpaces();var Bt=this.fetch();if(ft.endOfExpression.indexOf(Bt.text)!==-1)break;if(Be&&Bt.text===Be)break;if(we&&Xa[Bt.text]&&Xa[Bt.text].infix)break;var wr=this.parseAtom(Be);if(!wr)break;st.push(wr)}return this.mode==="text"&&this.formLigatures(st),this.handleInfixNodes(st)},oe.handleInfixNodes=function(we){for(var Be=-1,st,Bt=0;Bt<we.length;Bt++){var wr=Br(we[Bt],"infix");if(wr){if(Be!==-1)throw new l("only one infix operator per group",wr.token);Be=Bt,st=wr.replaceWith}}if(Be!==-1&&st){var Tr,tn,_n=we.slice(0,Be),jn=we.slice(Be+1);_n.length===1&&_n[0].type==="ordgroup"?Tr=_n[0]:Tr={type:"ordgroup",mode:this.mode,body:_n},jn.length===1&&jn[0].type==="ordgroup"?tn=jn[0]:tn={type:"ordgroup",mode:this.mode,body:jn};var fi;return st==="\\\\abovefrac"?fi=this.callFunction(st,[Tr,we[Be],tn],[]):fi=this.callFunction(st,[Tr,tn],[]),[fi]}else return we},oe.handleSupSubscript=function(we){var Be=this.fetch(),st=Be.text;this.consume();var Bt=this.parseGroup(we,!1,ft.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Bt)throw new l("Expected group after '"+st+"'",Be);return Bt},oe.formatUnsupportedCmd=function(we){for(var Be=[],st=0;st<we.length;st++)Be.push({type:"textord",mode:"text",text:we[st]});var Bt={type:"text",mode:this.mode,body:Be},wr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Bt]};return wr},oe.parseAtom=function(we){var Be=this.parseGroup("atom",!1,null,we);if(this.mode==="text")return Be;for(var st,Bt;;){this.consumeSpaces();var wr=this.fetch();if(wr.text==="\\limits"||wr.text==="\\nolimits"){var Tr=Br(Be,"op");if(Tr){var tn=wr.text==="\\limits";Tr.limits=tn,Tr.alwaysHandleSupSub=!0}else if(Tr=Br(Be,"operatorname"),Tr&&Tr.alwaysHandleSupSub){var _n=wr.text==="\\limits";Tr.limits=_n}else throw new l("Limit controls must follow a math operator",wr);this.consume()}else if(wr.text==="^"){if(st)throw new l("Double superscript",wr);st=this.handleSupSubscript("superscript")}else if(wr.text==="_"){if(Bt)throw new l("Double subscript",wr);Bt=this.handleSupSubscript("subscript")}else if(wr.text==="'"){if(st)throw new l("Double superscript",wr);var jn={type:"textord",mode:this.mode,text:"\\prime"},fi=[jn];for(this.consume();this.fetch().text==="'";)fi.push(jn),this.consume();this.fetch().text==="^"&&fi.push(this.handleSupSubscript("superscript")),st={type:"ordgroup",mode:this.mode,body:fi}}else break}return st||Bt?{type:"supsub",mode:this.mode,base:Be,sup:st,sub:Bt}:Be},oe.parseFunction=function(we,Be,st){var Bt=this.fetch(),wr=Bt.text,Tr=Xa[wr];if(!Tr)return null;if(this.consume(),st!=null&&Tr.greediness<=st)throw new l("Got function '"+wr+"' with no arguments"+(Be?" as "+Be:""),Bt);if(this.mode==="text"&&!Tr.allowedInText)throw new l("Can't use function '"+wr+"' in text mode",Bt);if(this.mode==="math"&&Tr.allowedInMath===!1)throw new l("Can't use function '"+wr+"' in math mode",Bt);var tn=this.parseArguments(wr,Tr),_n=tn.args,jn=tn.optArgs;return this.callFunction(wr,_n,jn,Bt,we)},oe.callFunction=function(we,Be,st,Bt,wr){var Tr={funcName:we,parser:this,token:Bt,breakOnTokenText:wr},tn=Xa[we];if(tn&&tn.handler)return tn.handler(Tr,Be,st);throw new l("No function handler for "+we)},oe.parseArguments=function(we,Be){var st=Be.numArgs+Be.numOptionalArgs;if(st===0)return{args:[],optArgs:[]};for(var Bt=Be.greediness,wr=[],Tr=[],tn=0;tn<st;tn++){var _n=Be.argTypes&&Be.argTypes[tn],jn=tn<Be.numOptionalArgs,fi=tn>0&&!jn||tn===0&&!jn&&this.mode==="math",Ii=this.parseGroupOfType("argument to '"+we+"'",_n,jn,Bt,fi);if(!Ii){if(jn){Tr.push(null);continue}throw new l("Expected group after '"+we+"'",this.fetch())}(jn?Tr:wr).push(Ii)}return{args:wr,optArgs:Tr}},oe.parseGroupOfType=function(we,Be,st,Bt,wr){switch(Be){case"color":return wr&&this.consumeSpaces(),this.parseColorGroup(st);case"size":return wr&&this.consumeSpaces(),this.parseSizeGroup(st);case"url":return this.parseUrlGroup(st,wr);case"math":case"text":return this.parseGroup(we,st,Bt,void 0,Be,wr);case"hbox":{var Tr=this.parseGroup(we,st,Bt,void 0,"text",wr);if(!Tr)return Tr;var tn={type:"styling",mode:Tr.mode,body:[Tr],style:"text"};return tn}case"raw":{if(wr&&this.consumeSpaces(),st&&this.fetch().text==="{")return null;var _n=this.parseStringGroup("raw",st,!0);if(_n)return{type:"raw",mode:"text",string:_n.text};throw new l("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(we,st,Bt,void 0,void 0,wr);default:throw new l("Unknown group type as "+we,this.fetch())}},oe.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},oe.parseStringGroup=function(we,Be,st){var Bt=Be?"[":"{",wr=Be?"]":"}",Tr=this.fetch();if(Tr.text!==Bt){if(Be)return null;if(st&&Tr.text!=="EOF"&&/[^{}[\]]/.test(Tr.text))return this.consume(),Tr}var tn=this.mode;this.mode="text",this.expect(Bt);for(var _n="",jn=this.fetch(),fi=0,Ii=jn,Vi;(Vi=this.fetch()).text!==wr||st&&fi>0;){switch(Vi.text){case"EOF":throw new l("Unexpected end of input in "+we,jn.range(Ii,_n));case Bt:fi++;break;case wr:fi--;break}Ii=Vi,_n+=Ii.text,this.consume()}return this.expect(wr),this.mode=tn,jn.range(Ii,_n)},oe.parseRegexGroup=function(we,Be){var st=this.mode;this.mode="text";for(var Bt=this.fetch(),wr=Bt,Tr="",tn;(tn=this.fetch()).text!=="EOF"&&we.test(Tr+tn.text);)wr=tn,Tr+=wr.text,this.consume();if(Tr==="")throw new l("Invalid "+Be+": '"+Bt.text+"'",Bt);return this.mode=st,Bt.range(wr,Tr)},oe.parseColorGroup=function(we){var Be=this.parseStringGroup("color",we);if(!Be)return null;var st=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Be.text);if(!st)throw new l("Invalid color: '"+Be.text+"'",Be);var Bt=st[0];return/^[0-9a-f]{6}$/i.test(Bt)&&(Bt="#"+Bt),{type:"color-token",mode:this.mode,color:Bt}},oe.parseSizeGroup=function(we){var Be,st=!1;if(!we&&this.fetch().text!=="{"?Be=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Be=this.parseStringGroup("size",we),!Be)return null;!we&&Be.text.length===0&&(Be.text="0pt",st=!0);var Bt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Be.text);if(!Bt)throw new l("Invalid size: '"+Be.text+"'",Be);var wr={number:+(Bt[1]+Bt[2]),unit:Bt[3]};if(!yr(wr))throw new l("Invalid unit: '"+wr.unit+"'",Be);return{type:"size",mode:this.mode,value:wr,isBlank:st}},oe.parseUrlGroup=function(we,Be){this.gullet.lexer.setCatcode("%",13);var st=this.parseStringGroup("url",we,!0);if(this.gullet.lexer.setCatcode("%",14),!st)return null;var Bt=st.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Bt}},oe.parseGroup=function(we,Be,st,Bt,wr,Tr){var tn=this.mode;wr&&this.switchMode(wr),Tr&&this.consumeSpaces();var _n=this.fetch(),jn=_n.text,fi;if(Be?jn==="[":jn==="{"||jn==="\\begingroup"){this.consume();var Ii=ft.endOfGroup[jn];this.gullet.beginGroup();var Vi=this.parseExpression(!1,Ii),sa=this.fetch();this.expect(Ii),this.gullet.endGroup(),fi={type:"ordgroup",mode:this.mode,loc:v.range(_n,sa),body:Vi,semisimple:jn==="\\begingroup"||void 0}}else if(Be)fi=null;else if(fi=this.parseFunction(Bt,we,st)||this.parseSymbol(),fi==null&&jn[0]==="\\"&&!Vo.hasOwnProperty(jn)){if(this.settings.throwOnError)throw new l("Undefined control sequence: "+jn,_n);fi=this.formatUnsupportedCmd(jn),this.consume()}return wr&&this.switchMode(tn),fi},oe.formLigatures=function(we){for(var Be=we.length-1,st=0;st<Be;++st){var Bt=we[st],wr=Bt.text;wr==="-"&&we[st+1].text==="-"&&(st+1<Be&&we[st+2].text==="-"?(we.splice(st,3,{type:"textord",mode:"text",loc:v.range(Bt,we[st+2]),text:"---"}),Be-=2):(we.splice(st,2,{type:"textord",mode:"text",loc:v.range(Bt,we[st+1]),text:"--"}),Be-=1)),(wr==="'"||wr==="`")&&we[st+1].text===wr&&(we.splice(st,2,{type:"textord",mode:"text",loc:v.range(Bt,we[st+1]),text:wr+wr}),Be-=1)}},oe.parseSymbol=function(){var we=this.fetch(),Be=we.text;if(/^\\verb[^a-zA-Z]/.test(Be)){this.consume();var st=Be.slice(5),Bt=st.charAt(0)==="*";if(Bt&&(st=st.slice(1)),st.length<2||st.charAt(0)!==st.slice(-1))throw new l(`\\verb assertion failed --
please report what input caused this bug`);return st=st.slice(1,-1),{type:"verb",mode:"text",body:st,star:Bt}}ws.hasOwnProperty(Be[0])&&!$e[this.mode][Be[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Be[0]+'" used in math mode',we),Be=ws[Be[0]]+Be.substr(1));var wr=is.exec(Be);wr&&(Be=Be.substring(0,wr.index),Be==="i"?Be="\u0131":Be==="j"&&(Be="\u0237"));var Tr;if($e[this.mode][Be]){this.settings.strict&&this.mode==="math"&&or.indexOf(Be)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Be[0]+'" used in math mode',we);var tn=$e[this.mode][Be].group,_n=v.range(we),jn;if(It.hasOwnProperty(tn)){var fi=tn;jn={type:"atom",mode:this.mode,family:fi,loc:_n,text:Be}}else jn={type:tn,mode:this.mode,loc:_n,text:Be};Tr=jn}else if(Be.charCodeAt(0)>=128)this.settings.strict&&(Z(Be.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Be[0]+'" used in math mode',we):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Be[0]+'"'+(" ("+Be.charCodeAt(0)+")"),we)),Tr={type:"textord",mode:"text",loc:v.range(we),text:Be};else return null;if(this.consume(),wr)for(var Ii=0;Ii<wr[0].length;Ii++){var Vi=wr[0][Ii];if(!As[Vi])throw new l("Unknown accent ' "+Vi+"'",we);var sa=As[Vi][this.mode];if(!sa)throw new l("Accent "+Vi+" unsupported in "+this.mode+" mode",we);Tr={type:"accent",mode:this.mode,loc:v.range(we),label:sa,isStretchy:!1,isShifty:!0,base:Tr}}return Tr},ft}();Ss.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Ss.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Ss.SUPSUB_GREEDINESS=1;var Qs=function(oe,Ae){if(!(typeof oe=="string"||oe instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var we=new Ss(oe,Ae);delete we.gullet.macros.current["\\df@tag"];var Be=we.parse();if(we.gullet.macros.get("\\df@tag")){if(!Ae.displayMode)throw new l("\\tag works only in display equations");we.gullet.feed("\\df@tag"),Be=[{type:"tag",mode:"text",body:Be,tag:we.parse()}]}return Be},Hs=Qs,Ys=function(oe,Ae,we){Ae.textContent="";var Be=Ot(oe,we).toNode();Ae.appendChild(Be)};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."),Ys=function(){throw new l("KaTeX doesn't work in quirks mode.")}));var Ds=function(oe,Ae){var we=Ot(oe,Ae).toMarkup();return we},rs=function(oe,Ae){var we=new w(Ae);return Hs(oe,we)},xt=function(oe,Ae,we){if(we.throwOnError||!(oe instanceof l))throw oe;var Be=lr.makeSpan(["katex-error"],[new Te(Ae)]);return Be.setAttribute("title",oe.toString()),Be.setAttribute("style","color:"+we.errorColor),Be},Ot=function(oe,Ae){var we=new w(Ae);try{var Be=Hs(oe,we);return Qe(Be,oe,we)}catch(st){return xt(st,oe,we)}},nn=function(oe,Ae){var we=new w(Ae);try{var Be=Hs(oe,we);return Dt(Be,oe,we)}catch(st){return xt(st,oe,we)}},On={version:"0.11.1",render:Ys,renderToString:Ds,ParseError:l,__parse:rs,__renderToDomTree:Ot,__renderToHTMLTree:nn,__setFontMetrics:yt,__defineSymbol:ge,__defineMacro:zr,__domTree:{Span:z,Anchor:Y,SymbolNode:Te,SvgNode:Se,PathNode:ie,LineNode:de}},$n=m.default=On}]).default})},P2fV:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("Q9mQ"),p=i("+L6B"),v=i("sE09"),f=i.n(v)},P2ho:function(B,N,i){"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(B,N,i){var y=i("hydK"),m=y.createElement,E=i("IMiH"),p=i("mFDi"),v=i("Fofx"),f=i("6GrX"),d=i("pzxd"),l=i("dqUG"),n=E.CMD,t=Array.prototype.join,a="none",o=Math.round,r=Math.sin,c=Math.cos,e=Math.PI,s=Math.PI*2,u=180/e,h=1e-4;function g(G){return o(G*1e4)/1e4}function A(G){return G<h&&G>-h}function w(G,W){var Z=W?G.textFill:G.fill;return Z!=null&&Z!==a}function b(G,W){var Z=W?G.textStroke:G.stroke;return Z!=null&&Z!==a}function S(G,W){W&&_(G,"transform","matrix("+t.call(W,",")+")")}function _(G,W,Z){(!Z||Z.type!=="linear"&&Z.type!=="radial")&&G.setAttribute(W,Z)}function T(G,W,Z){G.setAttributeNS("http://www.w3.org/1999/xlink",W,Z)}function x(G,W,Z,J){if(w(W,Z)){var ve=Z?W.textFill:W.fill;ve=ve==="transparent"?a:ve,_(G,"fill",ve),_(G,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else _(G,"fill",a);if(b(W,Z)){var q=Z?W.textStroke:W.stroke;q=q==="transparent"?a:q,_(G,"stroke",q);var ce=Z?W.textStrokeWidth:W.lineWidth,be=!Z&&W.strokeNoScale?J.getLineScale():1;_(G,"stroke-width",ce/be),_(G,"paint-order",Z?"stroke":"fill"),_(G,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var Ce=W.lineDash;Ce?(_(G,"stroke-dasharray",W.lineDash.join(",")),_(G,"stroke-dashoffset",o(W.lineDashOffset||0))):_(G,"stroke-dasharray",""),W.lineCap&&_(G,"stroke-linecap",W.lineCap),W.lineJoin&&_(G,"stroke-linejoin",W.lineJoin),W.miterLimit&&_(G,"stroke-miterlimit",W.miterLimit)}else _(G,"stroke",a)}function C(G){for(var W=[],Z=G.data,J=G.len(),ve=0;ve<J;){var q=Z[ve++],ce="",be=0;switch(q){case n.M:ce="M",be=2;break;case n.L:ce="L",be=2;break;case n.Q:ce="Q",be=4;break;case n.C:ce="C",be=6;break;case n.A:var Ce=Z[ve++],Fe=Z[ve++],fe=Z[ve++],Ne=Z[ve++],Q=Z[ve++],ae=Z[ve++],Ue=Z[ve++],te=Z[ve++],X=Math.abs(ae),z=A(X-s)||(te?ae>=s:-ae>=s),Y=ae>0?ae%s:ae%s+s,pe=!1;z?pe=!0:A(X)?pe=!1:pe=Y>=e===!!te;var se=g(Ce+fe*c(Q)),Te=g(Fe+Ne*r(Q));z&&(te?ae=s-1e-4:ae=-s+1e-4,pe=!0,ve===9&&W.push("M",se,Te));var Se=g(Ce+fe*c(Q+ae)),ie=g(Fe+Ne*r(Q+ae));W.push("A",g(fe),g(Ne),o(Ue*u),+pe,+te,Se,ie);break;case n.Z:ce="Z";break;case n.R:var Se=g(Z[ve++]),ie=g(Z[ve++]),de=g(Z[ve++]),_e=g(Z[ve++]);W.push("M",Se,ie,"L",Se+de,ie,"L",Se+de,ie+_e,"L",Se,ie+_e,"L",Se,ie);break}ce&&W.push(ce);for(var We=0;We<be;We++)W.push(g(Z[ve++]))}return W.join(" ")}var I={};I.brush=function(G){var W=G.style,Z=G.__svgEl;Z||(Z=m("path"),G.__svgEl=Z),G.path||G.createPathProxy();var J=G.path;if(G.__dirtyPath){J.beginPath(),J.subPixelOptimize=!1,G.buildPath(J,G.shape),G.__dirtyPath=!1;var ve=C(J);ve.indexOf("NaN")<0&&_(Z,"d",ve)}x(Z,W,!1,G),S(Z,G.transform),W.text!=null?D(G,G.getBoundingRect()):U(G)};var L={};L.brush=function(G){var W=G.style,Z=W.image;if(Z instanceof HTMLImageElement){var J=Z.src;Z=J}if(!Z)return;var ve=W.x||0,q=W.y||0,ce=W.width,be=W.height,Ce=G.__svgEl;Ce||(Ce=m("image"),G.__svgEl=Ce),Z!==G.__imageSrc&&(T(Ce,"href",Z),G.__imageSrc=Z),_(Ce,"width",ce),_(Ce,"height",be),_(Ce,"x",ve),_(Ce,"y",q),S(Ce,G.transform),W.text!=null?D(G,G.getBoundingRect()):U(G)};var M={},k=new p,R={},j=[],V={left:"start",right:"end",center:"middle",middle:"middle"},D=function(W,Z){var J=W.style,ve=W.transform,q=W instanceof l||J.transformText;W.__dirty&&d.normalizeTextStyle(J,!0);var ce=J.text;if(ce!=null&&(ce+=""),!d.needDrawText(ce,J))return;ce==null&&(ce=""),!q&&ve&&(k.copy(Z),k.applyTransform(ve),Z=k);var be=W.__textSvgEl;be||(be=m("text"),W.__textSvgEl=be);var Ce=be.style,Fe=J.font||f.DEFAULT_FONT,fe=be.__computedFont;Fe!==be.__styleFont&&(Ce.font=be.__styleFont=Fe,fe=be.__computedFont=Ce.font);var Ne=J.textPadding,Q=J.textLineHeight,ae=W.__textCotentBlock;(!ae||W.__dirtyText)&&(ae=W.__textCotentBlock=f.parsePlainText(ce,fe,Ne,Q,J.truncate));var Ue=ae.outerHeight,te=ae.lineHeight;d.getBoxPosition(R,W,J,Z);var X=R.baseX,z=R.baseY,Y=R.textAlign||"left",pe=R.textVerticalAlign;H(be,q,ve,J,Z,X,z);var se=f.adjustTextY(z,Ue,pe),Te=X,Se=se;Ne&&(Te=P(X,Y,Ne),Se+=Ne[0]),Se+=te/2,x(be,J,!0,W);var ie=ae.canCacheByTextString,de=W.__tspanList||(W.__tspanList=[]),_e=de.length;if(ie&&W.__canCacheByTextString&&W.__text===ce){if(W.__dirtyText&&_e)for(var We=0;We<_e;++We)K(de[We],Y,Te,Se+We*te)}else{W.__text=ce,W.__canCacheByTextString=ie;for(var at=ae.lines,tt=at.length,We=0;We<tt;We++){var Oe=de[We],yt=at[We];Oe?Oe.__zrText!==yt&&(Oe.innerHTML="",Oe.appendChild(document.createTextNode(yt))):(Oe=de[We]=m("tspan"),be.appendChild(Oe),Oe.appendChild(document.createTextNode(yt))),K(Oe,Y,Te,Se+We*te)}if(_e>tt){for(;We<_e;We++)be.removeChild(de[We]);de.length=tt}}};function H(G,W,Z,J,ve,q,ce){v.identity(j),W&&Z&&v.copy(j,Z);var be=J.textRotation;if(ve&&be){var Ce=J.textOrigin;Ce==="center"?(q=ve.width/2+ve.x,ce=ve.height/2+ve.y):Ce&&(q=Ce[0]+ve.x,ce=Ce[1]+ve.y),j[4]-=q,j[5]-=ce,v.rotate(j,j,be),j[4]+=q,j[5]+=ce}S(G,j)}function P(G,W,Z){return W==="right"?G-Z[1]:W==="center"?G+Z[3]/2-Z[1]/2:G+Z[3]}function K(G,W,Z,J){_(G,"dominant-baseline","middle"),_(G,"text-anchor",V[W]),_(G,"x",Z),_(G,"y",J)}function U(G){G&&G.__textSvgEl&&(G.__textSvgEl.parentNode&&G.__textSvgEl.parentNode.removeChild(G.__textSvgEl),G.__textSvgEl=null,G.__tspanList=[],G.__text=null)}M.drawRectText=D,M.brush=function(G){var W=G.style;W.text!=null?D(G,!1):U(G)},N.path=I,N.image=L,N.text=M},P4Qj:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.removeSensor=N.getSensor=void 0;var y=p(i("chpo")),m=i("FxDU"),E=i("24YM");function p(l){return l&&l.__esModule?l:{default:l}}var v={},f=function(n){var t=n.getAttribute(E.SizeSensorId);if(t&&v[t])return v[t];var a=(0,y.default)();n.setAttribute(E.SizeSensorId,a);var o=(0,m.createSensor)(n);return v[a]=o,o};N.getSensor=f;var d=function(n){var t=n.element.getAttribute(E.SizeSensorId);n.element.removeAttribute(E.SizeSensorId),n.destroy(),t&&v[t]&&delete v[t]};N.removeSensor=d},P5Jw:function(B,N,i){"use strict";var y=i("rHrb"),m=y.CopyToClipboard;m.CopyToClipboard=m,B.exports=m},PArb:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=function(o,r){var c={};for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&r.indexOf(e)<0&&(c[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])&&(c[e[s]]=o[e[s]]);return c},a=function(r){return v.createElement(n.a,null,function(c){var e,s=c.getPrefixCls,u=c.direction,h=r.prefixCls,g=r.type,A=g===void 0?"horizontal":g,w=r.orientation,b=w===void 0?"center":w,S=r.className,_=r.children,T=r.dashed,x=r.plain,C=t(r,["prefixCls","type","orientation","className","children","dashed","plain"]),I=s("divider",h),L=b.length>0?"-".concat(b):b,M=!!_,k=l()(S,I,"".concat(I,"-").concat(A),(e={},p()(e,"".concat(I,"-with-text"),M),p()(e,"".concat(I,"-with-text").concat(L),M),p()(e,"".concat(I,"-dashed"),!!T),p()(e,"".concat(I,"-plain"),!!x),p()(e,"".concat(I,"-rtl"),u==="rtl"),e));return v.createElement("div",m()({className:k},C,{role:"separator"}),_&&v.createElement("span",{className:"".concat(I,"-inner-text")},_))})};N.a=a},PD8m:function(B,N){B.exports={name:"memoryStorage",read:y,write:m,each:E,remove:p,clearAll:v};var i={};function y(f){return i[f]}function m(f,d){i[f]=d}function E(f){for(var d in i)i.hasOwnProperty(d)&&f(i[d],d)}function p(f){delete i[f]}function v(f){i={}}},PEeC:function(B,N,i){"use strict";i.d(N,"a",function(){return v}),i.d(N,"b",function(){return f});var y=i("RIqP"),m=i.n(y),E=i("xEkU"),p=i.n(E);function v(d){var l,n=function(o){return function(){l=null,d.apply(void 0,m()(o))}},t=function(){if(l==null){for(var o=arguments.length,r=new Array(o),c=0;c<o;c++)r[c]=arguments[c];l=p()(n(r))}};return t.cancel=function(){return p.a.cancel(l)},t}function f(){return function(d,l,n){var t=n.value,a=!1;return{configurable:!0,get:function(){if(a||this===d.prototype||this.hasOwnProperty(l))return t;var r=v(t.bind(this));return a=!0,Object.defineProperty(this,l,{value:r,configurable:!0,writable:!0}),a=!1,r}}}}},PKem:function(B,N,i){"use strict";i.d(N,"a",function(){return w});var y=i("RIqP"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("pVnL"),f=i.n(v),d=i("lwsE"),l=i.n(d),n=i("W8MJ"),t=i.n(n),a=i("7W2i"),o=i.n(a),r=i("LQ03"),c=i.n(r),e=i("q1tI"),s=i.n(e),u=i("TSYQ"),h=i.n(u),g=i("H84U"),A=function(L,M){var k={};for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&M.indexOf(R)<0&&(k[R]=L[R]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,R=Object.getOwnPropertySymbols(L);j<R.length;j++)M.indexOf(R[j])<0&&Object.prototype.propertyIsEnumerable.call(L,R[j])&&(k[R[j]]=L[R[j]]);return k},w=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function b(L){var M=L.suffixCls,k=L.tagName,R=L.displayName;return function(j){var V;return V=function(D){o()(P,D);var H=c()(P);function P(){var K;return l()(this,P),K=H.apply(this,arguments),K.renderComponent=function(U){var G=U.getPrefixCls,W=K.props.prefixCls,Z=G(M,W);return e.createElement(j,f()({prefixCls:Z,tagName:k},K.props))},K}return t()(P,[{key:"render",value:function(){return e.createElement(g.a,null,this.renderComponent)}}]),P}(e.Component),V.displayName=R,V}}var S=function(M){var k=M.prefixCls,R=M.className,j=M.children,V=M.tagName,D=A(M,["prefixCls","className","children","tagName"]),H=h()(k,R);return e.createElement(V,f()({className:H},D),j)},_=function(L){o()(k,L);var M=c()(k);function k(){var R;return l()(this,k),R=M.apply(this,arguments),R.state={siders:[]},R.renderComponent=function(j){var V,D=j.direction,H=R.props,P=H.prefixCls,K=H.className,U=H.children,G=H.hasSider,W=H.tagName,Z=A(H,["prefixCls","className","children","hasSider","tagName"]),J=h()(P,(V={},p()(V,"".concat(P,"-has-sider"),typeof G=="boolean"?G:R.state.siders.length>0),p()(V,"".concat(P,"-rtl"),D==="rtl"),V),K);return e.createElement(w.Provider,{value:{siderHook:R.getSiderHook()}},e.createElement(W,f()({className:J},Z),U))},R}return t()(k,[{key:"getSiderHook",value:function(){var j=this;return{addSider:function(D){j.setState(function(H){return{siders:[].concat(m()(H.siders),[D])}})},removeSider:function(D){j.setState(function(H){return{siders:H.siders.filter(function(P){return P!==D})}})}}}},{key:"render",value:function(){return e.createElement(g.a,null,this.renderComponent)}}]),k}(e.Component),T=b({suffixCls:"layout",tagName:"section",displayName:"Layout"})(_),x=b({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),C=b({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),I=b({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);T.Header=x,T.Footer=C,T.Content=I,N.b=T},PNag:function(B,N,i){var y=i("bYtY"),m=i("SKnc"),E=i("YH21"),p=i("crZl"),v=i("IwbS"),f=i("OELB"),d=i("72pK"),l=i("y7Aq"),n=i("4NO4"),t=f.linearMap,a=y.each,o=Math.min,r=Math.max,c=12,e=6,s=p.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 _=this.visualMapModel,T=this.group;this._orient=_.get("orient"),this._useHandle=_.get("calculable"),this._resetInterval(),this._renderBar(T);var x=_.get("text");this._renderEndsText(T,x,0),this._renderEndsText(T,x,1),this._updateView(!0),this.renderBackground(T),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(T)},_renderEndsText:function(_,T,x){if(!T)return;var C=T[1-x];C=C!=null?C+"":"";var I=this.visualMapModel,L=I.get("textGap"),M=I.itemSize,k=this._shapes.barGroup,R=this._applyTransform([M[0]/2,x===0?-L:M[1]+L],k),j=this._applyTransform(x===0?"bottom":"top",k),V=this._orient,D=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:R[0],y:R[1],textVerticalAlign:V==="horizontal"?"middle":j,textAlign:V==="horizontal"?j:"center",text:C,textFont:D.getFont(),textFill:D.getTextColor()}}))},_renderBar:function(_){var T=this.visualMapModel,x=this._shapes,C=T.itemSize,I=this._orient,L=this._useHandle,M=l.getItemAlign(T,this.api,C),k=x.barGroup=this._createBarGroup(M);k.add(x.outOfRange=u()),k.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 R=T.textStyleModel.getTextRect("\u56FD"),j=r(R.width,R.height);L&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(k,0,C,j,I,M),this._createHandle(k,1,C,j,I,M)),this._createIndicator(k,C,j,I),_.add(k)},_createHandle:function(_,T,x,C,I){var L=y.bind(this._dragHandle,this,T,!1),M=y.bind(this._dragHandle,this,T,!0),k=u(h(T,C),b(this._orient),L,M);k.position[0]=x[0],_.add(k);var R=this.visualMapModel.textStyleModel,j=new v.Text({draggable:!0,drift:L,onmousemove:function(H){E.stop(H.event)},ondragend:M,style:{x:0,y:0,text:"",textFont:R.getFont(),textFill:R.getTextColor()}});this.group.add(j);var V=[I==="horizontal"?C/2:C*1.5,I==="horizontal"?T===0?-(C*1.5):C*1.5:T===0?-C/2:C/2],D=this._shapes;D.handleThumbs[T]=k,D.handleLabelPoints[T]=V,D.handleLabels[T]=j},_createIndicator:function(_,T,x,C){var I=u([[0,0]],"move");I.position[0]=T[0],I.attr({invisible:!0,silent:!0}),_.add(I);var L=this.visualMapModel.textStyleModel,M=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(M);var k=[C==="horizontal"?x/2:e+3,0],R=this._shapes;R.indicator=I,R.indicatorLabel=M,R.indicatorLabelPoint=k},_dragHandle:function(_,T,x,C){if(!this._useHandle)return;if(this._dragging=!T,!T){var I=this._applyTransform([x,C],this._shapes.barGroup,!0);this._updateInterval(_,I[1]),this._updateView()}T===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),T?!this._hovering&&this._clearHoverLinkToSeries():w(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[_],!1)},_resetInterval:function(){var _=this.visualMapModel,T=this._dataInterval=_.getSelected(),x=_.getExtent(),C=[0,_.itemSize[1]];this._handleEnds=[t(T[0],x,C,!0),t(T[1],x,C,!0)]},_updateInterval:function(_,T){T=T||0;var x=this.visualMapModel,C=this._handleEnds,I=[0,x.itemSize[1]];d(T,C,I,_,0);var L=x.getExtent();this._dataInterval=[t(C[0],I,L,!0),t(C[1],I,L,!0)]},_updateView:function(_){var T=this.visualMapModel,x=T.getExtent(),C=this._shapes,I=[0,T.itemSize[1]],L=_?I:this._handleEnds,M=this._createBarVisual(this._dataInterval,x,L,"inRange"),k=this._createBarVisual(x,x,I,"outOfRange");C.inRange.setStyle({fill:M.barColor,opacity:M.opacity}).setShape("points",M.barPoints),C.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(L,M)},_createBarVisual:function(_,T,x,C){var I={forceState:C,convertOpacityToAlpha:!0},L=this._makeColorGradient(_,I),M=[this.getControllerVisual(_[0],"symbolSize",I),this.getControllerVisual(_[1],"symbolSize",I)],k=this._createBarPoints(x,M);return{barColor:new m(0,0,0,1,L),barPoints:k,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(_,T){var x=100,C=[],I=(_[1]-_[0])/x;C.push({color:this.getControllerVisual(_[0],"color",T),offset:0});for(var L=1;L<x;L++){var M=_[0]+I*L;if(M>_[1])break;C.push({color:this.getControllerVisual(M,"color",T),offset:L/x})}return C.push({color:this.getControllerVisual(_[1],"color",T),offset:1}),C},_createBarPoints:function(_,T){var x=this.visualMapModel.itemSize;return[[x[0]-T[0],_[0]],[x[0],_[0]],[x[0],_[1]],[x[0]-T[1],_[1]]]},_createBarGroup:function(_){var T=this._orient,x=this.visualMapModel.get("inverse");return new v.Group(T==="horizontal"&&!x?{scale:_==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:T==="horizontal"&&x?{scale:_==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:T==="vertical"&&!x?{scale:_==="left"?[1,-1]:[-1,-1]}:{scale:_==="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;a([0,1],function(M){var k=I[M];k.setStyle("fill",T.handlesColor[M]),k.position[1]=_[M];var R=v.applyTransform(x.handleLabelPoints[M],v.getTransform(k,this.group));L[M].setStyle({x:R[0],y:R[1],text:C.formatValueText(this._dataInterval[M]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?M===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(_,T,x,C){var I=this.visualMapModel,L=I.getExtent(),M=I.itemSize,k=[0,M[1]],R=t(_,L,k,!0),j=this._shapes,V=j.indicator;if(!V)return;V.position[1]=R,V.attr("invisible",!1),V.setShape("points",g(!!x,C,R,M[1]));var D={convertOpacityToAlpha:!0},H=this.getControllerVisual(_,"color",D);V.setStyle("fill",H);var P=v.applyTransform(j.indicatorLabelPoint,v.getTransform(V,this.group)),K=j.indicatorLabel;K.attr("invisible",!1);var U=this._applyTransform("left",j.barGroup),G=this._orient;K.setStyle({text:(x||"")+I.formatValueText(T),textVerticalAlign:G==="horizontal"?U:"middle",textAlign:G==="horizontal"?"center":U,x:P[0],y:P[1]})},_enableHoverLinkToSeries:function(){var _=this;this._shapes.barGroup.on("mousemove",function(T){if(_._hovering=!0,!_._dragging){var x=_.visualMapModel.itemSize,C=_._applyTransform([T.offsetX,T.offsetY],_._shapes.barGroup,!0,!0);C[1]=o(r(0,C[1]),x[1]),_._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=x[0])}}).on("mouseout",function(){_._hovering=!1,!_._dragging&&_._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var _=this.api.getZr();this.visualMapModel.option.hoverLink?(_.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),_.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();_=o(r(I[0],_),I[1]);var M=A(x,L,I),k=[_-M,_+M],R=t(_,I,L,!0),j=[t(k[0],I,L,!0),t(k[1],I,L,!0)];k[0]<I[0]&&(j[0]=-Infinity),k[1]>I[1]&&(j[1]=Infinity),T&&(j[0]===-Infinity?this._showIndicator(R,j[1],"< ",M):j[1]===Infinity?this._showIndicator(R,j[0],"> ",M):this._showIndicator(R,R,"\u2248 ",M));var V=this._hoverLinkDataIndices,D=[];(T||w(x))&&(D=this._hoverLinkDataIndices=x.findTargetDataIndices(j));var H=n.compressBatches(V,D);this._dispatchHighDown("downplay",l.makeHighDownBatch(H[0],x)),this._dispatchHighDown("highlight",l.makeHighDownBatch(H[1],x))},_hoverLinkFromSeriesMouseOver:function(_){var T=_.target,x=this.visualMapModel;if(!T||T.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(T.seriesIndex);if(!x.isTargetSeries(C))return;var I=C.getData(T.dataType),L=I.get(x.getDataDimension(I),T.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var _=this._shapes;_.indicator&&_.indicator.attr("invisible",!0),_.indicatorLabel&&_.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var _=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",l.makeHighDownBatch(_,this.visualMapModel)),_.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var _=this.api.getZr();_.off("mouseover",this._hoverLinkFromSeriesMouseOver),_.off("mouseout",this._hideIndicator)},_applyTransform:function(_,T,x,C){var I=v.getTransform(T,C?null:this.group);return v[y.isArray(_)?"applyTransform":"transformDirection"](_,I,x)},_dispatchHighDown:function(_,T){T&&T.length&&this.api.dispatchAction({type:_,batch:T})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(_,T,x,C){return new v.Polygon({shape:{points:_},draggable:!!x,cursor:T,drift:x,onmousemove:function(I){E.stop(I.event)},ondragend:C})}function h(_,T){return _===0?[[0,0],[T,0],[T,-T]]:[[0,0],[T,0],[T,T]]}function g(_,T,x,C){return _?[[0,-o(T,r(x,0))],[e,0],[0,o(T,r(C-x,0))]]:[[0,0],[5,-5],[5,5]]}function A(_,T,x){var C=c/2,I=_.get("hoverLinkDataSize");return I&&(C=t(I,T,x,!0)/2),C}function w(_){var T=_.get("hoverLinkOnHandle");return!!(T==null?_.get("realtime"):T)}function b(_){return _==="vertical"?"ns-resize":"ew-resize"}var S=s;B.exports=S},PQMj:function(B,N,i){},PSzr:function(B,N,i){"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(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("aX58"),p=i("bYtY"),v=i("Qe9p"),f=i("ItGF"),d=i("BPZU"),l=i("H6uX"),n=i("fmMI"),t=i("hD7B"),a=i("IDmD"),o=i("ypgQ"),r=i("+wW9"),c=i("0V0F"),e=i("bLfw"),s=i("T4UG"),u=i("sS/r"),h=i("6Ic6"),g=i("IwbS"),A=i("4NO4"),w=i("iLNv"),b=w.throttle,S=i("/WM3"),_=i("uAnK"),T=i("mYwL"),x=i("af/B"),C=i("xTNl"),I=i("8hn6");i("A1Ka");var L=i("7DRL"),M=p.assert,k=p.each,R=p.isFunction,j=p.isObject,V=e.parseClassType,D="4.8.0",H={zrender:"4.3.1"},P=1,K=1e3,U=800,G=900,W=5e3,Z=1e3,J=1100,ve=2e3,q=3e3,ce=3500,be=4e3,Ce=5e3,Fe={PROCESSOR:{FILTER:K,SERIES_FILTER:U,STATISTIC:W},VISUAL:{LAYOUT:Z,PROGRESSIVE_LAYOUT:J,GLOBAL:ve,CHART:q,POST_CHART_LAYOUT:ce,COMPONENT:be,BRUSH:Ce}},fe="__flagInMainProcess",Ne="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function ae(gt,Wt){return function(yr,cr,pr){if(!Wt&&this._disposed){Ct(this.id);return}yr=yr&&yr.toLowerCase(),l.prototype[gt].call(this,yr,cr,pr)}}function Ue(){l.call(this)}Ue.prototype.on=ae("on",!0),Ue.prototype.off=ae("off",!0),Ue.prototype.one=ae("one",!0),p.mixin(Ue,l);function te(gt,Wt,yr){yr=yr||{},typeof Wt=="string"&&(Wt=lt[Wt]),this.id,this.group,this._dom=gt;var cr="canvas",pr=this._zr=E.init(gt,{renderer:yr.renderer||cr,devicePixelRatio:yr.devicePixelRatio,width:yr.width,height:yr.height});this._throttledZrFlush=b(p.bind(pr.flush,pr),17);var Wt=p.clone(Wt);Wt&&r(Wt,!0),this._theme=Wt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var Qr=this._api=$e(this);function $r(Ln,Mn){return Ln.__prio-Mn.__prio}d(nr,$r),d(qe,$r),this._scheduler=new x(this,Qr,qe,nr),l.call(this,this._ecEventProcessor=new ge),this._messageCenter=new Ue,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],pr.animation.on("frame",this._onframe,this),_e(pr,this),p.setAsPrimitive(this)}var X=te.prototype;X._onframe=function(){if(this._disposed)return;var gt=this._scheduler;if(this[Ne]){var Wt=this[Ne].silent;this[fe]=!0,pe(this),Y.update.call(this),this[fe]=!1,this[Ne]=!1,ie.call(this,Wt),de.call(this,Wt)}else if(gt.unfinished){var yr=P,cr=this._model,pr=this._api;gt.unfinished=!1;do{var Qr=+new Date;gt.performSeriesTasks(cr),gt.performDataProcessorTasks(cr),Te(this,cr),gt.performVisualTasks(cr),yt(this,this._model,pr,"remain"),yr-=+new Date-Qr}while(yr>0&&gt.unfinished);gt.unfinished||this._zr.flush()}},X.getDom=function(){return this._dom},X.getZr=function(){return this._zr},X.setOption=function(gt,Wt,yr){if(this._disposed){Ct(this.id);return}var cr;if(j(Wt)&&(yr=Wt.lazyUpdate,cr=Wt.silent,Wt=Wt.notMerge),this[fe]=!0,!this._model||Wt){var pr=new o(this._api),Qr=this._theme,$r=this._model=new n;$r.scheduler=this._scheduler,$r.init(null,null,Qr,pr)}this._model.setOption(gt,he),yr?(this[Ne]={silent:cr},this[fe]=!1):(pe(this),Y.update.call(this),this._zr.flush(),this[Ne]=!1,this[fe]=!1,ie.call(this,cr),de.call(this,cr))},X.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},X.getModel=function(){return this._model},X.getOption=function(){return this._model&&this._model.getOption()},X.getWidth=function(){return this._zr.getWidth()},X.getHeight=function(){return this._zr.getHeight()},X.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},X.getRenderedCanvas=function(gt){if(!f.canvasSupported)return;gt=gt||{},gt.pixelRatio=gt.pixelRatio||1,gt.backgroundColor=gt.backgroundColor||this._model.get("backgroundColor");var Wt=this._zr;return Wt.painter.getRenderedCanvas(gt)},X.getSvgDataURL=function(){if(!f.svgSupported)return;var gt=this._zr,Wt=gt.storage.getDisplayList();return p.each(Wt,function(yr){yr.stopAnimation(!0)}),gt.painter.toDataURL()},X.getDataURL=function(gt){if(this._disposed){Ct(this.id);return}gt=gt||{};var Wt=gt.excludeComponents,yr=this._model,cr=[],pr=this;k(Wt,function($r){yr.eachComponent({mainType:$r},function(Ln){var Mn=pr._componentsMap[Ln.__viewId];Mn.group.ignore||(cr.push(Mn),Mn.group.ignore=!0)})});var Qr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(gt).toDataURL("image/"+(gt&&gt.type||"png"));return k(cr,function($r){$r.group.ignore=!1}),Qr},X.getConnectedDataURL=function(gt){if(this._disposed){Ct(this.id);return}if(!f.canvasSupported)return;var Wt=gt.type==="svg",yr=this.group,cr=Math.min,pr=Math.max,Qr=Infinity;if(Wr[yr]){var $r=Qr,Ln=Qr,Mn=-Qr,Vn=-Qr,ii=[],Li=gt&&gt.pixelRatio||1;p.each(hr,function(Ge,Ke){if(Ge.group===yr){var Je=Wt?Ge.getZr().painter.getSvgDom().innerHTML:Ge.getRenderedCanvas(p.clone(gt)),vt=Ge.getDom().getBoundingClientRect();$r=cr(vt.left,$r),Ln=cr(vt.top,Ln),Mn=pr(vt.right,Mn),Vn=pr(vt.bottom,Vn),ii.push({dom:Je,left:vt.left,top:vt.top})}}),$r*=Li,Ln*=Li,Mn*=Li,Vn*=Li;var Pi=Mn-$r,Ze=Vn-Ln,xe=p.createCanvas(),Me=E.init(xe,{renderer:Wt?"svg":"canvas"});if(Me.resize({width:Pi,height:Ze}),Wt){var ke="";return k(ii,function(Ge){var Ke=Ge.left-$r,Je=Ge.top-Ln;ke+='<g transform="translate('+Ke+","+Je+')">'+Ge.dom+"</g>"}),Me.painter.getSvgRoot().innerHTML=ke,gt.connectedBackgroundColor&&Me.painter.setBackgroundColor(gt.connectedBackgroundColor),Me.refreshImmediately(),Me.painter.toDataURL()}else return gt.connectedBackgroundColor&&Me.add(new g.Rect({shape:{x:0,y:0,width:Pi,height:Ze},style:{fill:gt.connectedBackgroundColor}})),k(ii,function(Ge){var Ke=new g.Image({style:{x:Ge.left*Li-$r,y:Ge.top*Li-Ln,image:Ge.dom}});Me.add(Ke)}),Me.refreshImmediately(),xe.toDataURL("image/"+(gt&&gt.type||"png"))}else return this.getDataURL(gt)},X.convertToPixel=p.curry(z,"convertToPixel"),X.convertFromPixel=p.curry(z,"convertFromPixel");function z(gt,Wt,yr){if(this._disposed){Ct(this.id);return}var cr=this._model,pr=this._coordSysMgr.getCoordinateSystems(),Qr;Wt=A.parseFinder(cr,Wt);for(var $r=0;$r<pr.length;$r++){var Ln=pr[$r];if(Ln[gt]&&(Qr=Ln[gt](cr,Wt,yr))!=null)return Qr}}X.containPixel=function(gt,Wt){if(this._disposed){Ct(this.id);return}var yr=this._model,cr;return gt=A.parseFinder(yr,gt),p.each(gt,function(pr,Qr){Qr.indexOf("Models")>=0&&p.each(pr,function($r){var Ln=$r.coordinateSystem;if(Ln&&Ln.containPoint)cr|=!!Ln.containPoint(Wt);else if(Qr==="seriesModels"){var Mn=this._chartsMap[$r.__viewId];Mn&&Mn.containPoint&&(cr|=Mn.containPoint(Wt,$r))}},this)},this),!!cr},X.getVisual=function(gt,Wt){var yr=this._model;gt=A.parseFinder(yr,gt,{defaultMainType:"series"});var cr=gt.seriesModel,pr=cr.getData(),Qr=gt.hasOwnProperty("dataIndexInside")?gt.dataIndexInside:gt.hasOwnProperty("dataIndex")?pr.indexOfRawIndex(gt.dataIndex):null;return Qr!=null?pr.getItemVisual(Qr,Wt):pr.getVisual(Wt)},X.getViewOfComponentModel=function(gt){return this._componentsMap[gt.__viewId]},X.getViewOfSeriesModel=function(gt){return this._chartsMap[gt.__viewId]};var Y={prepareAndUpdate:function(gt){pe(this),Y.update.call(this,gt)},update:function(gt){var Wt=this._model,yr=this._api,cr=this._zr,pr=this._coordSysMgr,Qr=this._scheduler;if(!Wt)return;Qr.restoreData(Wt,gt),Qr.performSeriesTasks(Wt),pr.create(Wt,yr),Qr.performDataProcessorTasks(Wt,gt),Te(this,Wt),pr.update(Wt,yr),at(Wt),Qr.performVisualTasks(Wt,gt),tt(this,Wt,yr,gt);var $r=Wt.get("backgroundColor")||"transparent";if(f.canvasSupported)cr.setBackgroundColor($r);else{var Ln=v.parse($r);$r=v.stringify(Ln,"rgb"),Ln[3]===0&&($r="transparent")}Ye(Wt,yr)},updateTransform:function(gt){var Wt=this._model,yr=this,cr=this._api;if(!Wt)return;var pr=[];Wt.eachComponent(function($r,Ln){var Mn=yr.getViewOfComponentModel(Ln);if(Mn&&Mn.__alive)if(Mn.updateTransform){var Vn=Mn.updateTransform(Ln,Wt,cr,gt);Vn&&Vn.update&&pr.push(Mn)}else pr.push(Mn)});var Qr=p.createHashMap();Wt.eachSeries(function($r){var Ln=yr._chartsMap[$r.__viewId];if(Ln.updateTransform){var Mn=Ln.updateTransform($r,Wt,cr,gt);Mn&&Mn.update&&Qr.set($r.uid,1)}else Qr.set($r.uid,1)}),at(Wt),this._scheduler.performVisualTasks(Wt,gt,{setDirty:!0,dirtyMap:Qr}),yt(yr,Wt,cr,gt,Qr),Ye(Wt,this._api)},updateView:function(gt){var Wt=this._model;if(!Wt)return;h.markUpdateMethod(gt,"updateView"),at(Wt),this._scheduler.performVisualTasks(Wt,gt,{setDirty:!0}),tt(this,this._model,this._api,gt),Ye(Wt,this._api)},updateVisual:function(gt){Y.update.call(this,gt)},updateLayout:function(gt){Y.update.call(this,gt)}};function pe(gt){var Wt=gt._model,yr=gt._scheduler;yr.restorePipelines(Wt),yr.prepareStageTasks(),We(gt,"component",Wt,yr),We(gt,"chart",Wt,yr),yr.plan()}function se(gt,Wt,yr,cr,pr){var Qr=gt._model;if(!cr){k(gt._componentsViews.concat(gt._chartsViews),Vn);return}var $r={};$r[cr+"Id"]=yr[cr+"Id"],$r[cr+"Index"]=yr[cr+"Index"],$r[cr+"Name"]=yr[cr+"Name"];var Ln={mainType:cr,query:$r};pr&&(Ln.subType=pr);var Mn=yr.excludeSeriesId;Mn!=null&&(Mn=p.createHashMap(A.normalizeToArray(Mn))),Qr&&Qr.eachComponent(Ln,function(ii){(!Mn||Mn.get(ii.id)==null)&&Vn(gt[cr==="series"?"_chartsMap":"_componentsMap"][ii.__viewId])},gt);function Vn(ii){ii&&ii.__alive&&ii[Wt]&&ii[Wt](ii.__model,Qr,gt._api,yr)}}X.resize=function(gt){if(this._disposed){Ct(this.id);return}this._zr.resize(gt);var Wt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Wt)return;var yr=Wt.resetOption("media"),cr=gt&&gt.silent;this[fe]=!0,yr&&pe(this),Y.update.call(this),this[fe]=!1,ie.call(this,cr),de.call(this,cr)};function Te(gt,Wt){var yr=gt._chartsMap,cr=gt._scheduler;Wt.eachSeries(function(pr){cr.updateStreamModes(pr,yr[pr.__viewId])})}X.showLoading=function(gt,Wt){if(this._disposed){Ct(this.id);return}if(j(gt)&&(Wt=gt,gt=""),gt=gt||"default",this.hideLoading(),!Xt[gt])return;var yr=Xt[gt](this._api,Wt),cr=this._zr;this._loadingFX=yr,cr.add(yr)},X.hideLoading=function(){if(this._disposed){Ct(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},X.makeActionFromEvent=function(gt){var Wt=p.extend({},gt);return Wt.type=wt[gt.type],Wt},X.dispatchAction=function(gt,Wt){if(this._disposed){Ct(this.id);return}if(j(Wt)||(Wt={silent:!!Wt}),!ne[gt.type])return;if(!this._model)return;if(this[fe]){this._pendingActions.push(gt);return}Se.call(this,gt,Wt.silent),Wt.flush?this._zr.flush(!0):Wt.flush!==!1&&f.browser.weChat&&this._throttledZrFlush(),ie.call(this,Wt.silent),de.call(this,Wt.silent)};function Se(gt,Wt){var yr=gt.type,cr=gt.escapeConnect,pr=ne[yr],Qr=pr.actionInfo,$r=(Qr.update||"update").split(":"),Ln=$r.pop();$r=$r[0]!=null&&V($r[0]),this[fe]=!0;var Mn=[gt],Vn=!1;gt.batch&&(Vn=!0,Mn=p.map(gt.batch,function(Ze){return Ze=p.defaults(p.extend({},Ze),gt),Ze.batch=null,Ze}));var ii=[],Li,Pi=yr==="highlight"||yr==="downplay";k(Mn,function(Ze){Li=pr.action(Ze,this._model,this._api),Li=Li||p.extend({},Ze),Li.type=Qr.event||Li.type,ii.push(Li),Pi?se(this,Ln,Ze,"series"):$r&&se(this,Ln,Ze,$r.main,$r.sub)},this),Ln!=="none"&&!Pi&&!$r&&(this[Ne]?(pe(this),Y.update.call(this,gt),this[Ne]=!1):Y[Ln].call(this,gt)),Vn?Li={type:Qr.event||yr,escapeConnect:cr,batch:ii}:Li=ii[0],this[fe]=!1,!Wt&&this._messageCenter.trigger(Li.type,Li)}function ie(gt){for(var Wt=this._pendingActions;Wt.length;){var yr=Wt.shift();Se.call(this,yr,gt)}}function de(gt){!gt&&this.trigger("updated")}function _e(gt,Wt){gt.on("rendered",function(){Wt.trigger("rendered"),gt.animation.isFinished()&&!Wt[Ne]&&!Wt._scheduler.unfinished&&!Wt._pendingActions.length&&Wt.trigger("finished")})}X.appendData=function(gt){if(this._disposed){Ct(this.id);return}var Wt=gt.seriesIndex,yr=this.getModel(),cr=yr.getSeriesByIndex(Wt);cr.appendData(gt),this._scheduler.unfinished=!0},X.on=ae("on",!1),X.off=ae("off",!1),X.one=ae("one",!1);function We(gt,Wt,yr,cr){for(var pr=Wt==="component",Qr=pr?gt._componentsViews:gt._chartsViews,$r=pr?gt._componentsMap:gt._chartsMap,Ln=gt._zr,Mn=gt._api,Vn=0;Vn<Qr.length;Vn++)Qr[Vn].__alive=!1;pr?yr.eachComponent(function(Pi,Ze){Pi!=="series"&&ii(Ze)}):yr.eachSeries(ii);function ii(Pi){var Ze="_ec_"+Pi.id+"_"+Pi.type,xe=$r[Ze];if(!xe){var Me=V(Pi.type),ke=pr?u.getClass(Me.main,Me.sub):h.getClass(Me.sub);xe=new ke,xe.init(yr,Mn),$r[Ze]=xe,Qr.push(xe),Ln.add(xe.group)}Pi.__viewId=xe.__id=Ze,xe.__alive=!0,xe.__model=Pi,xe.group.__ecComponentInfo={mainType:Pi.mainType,index:Pi.componentIndex},!pr&&cr.prepareView(xe,Pi,yr,Mn)}for(var Vn=0;Vn<Qr.length;){var Li=Qr[Vn];Li.__alive?Vn++:(!pr&&Li.renderTask.dispose(),Ln.remove(Li.group),Li.dispose(yr,Mn),Qr.splice(Vn,1),delete $r[Li.__id],Li.__id=Li.group.__ecComponentInfo=null)}}function at(gt){gt.clearColorPalette(),gt.eachSeries(function(Wt){Wt.clearColorPalette()})}function tt(gt,Wt,yr,cr){Oe(gt,Wt,yr,cr),k(gt._chartsViews,function(pr){pr.__alive=!1}),yt(gt,Wt,yr,cr),k(gt._chartsViews,function(pr){pr.__alive||pr.remove(Wt,yr)})}function Oe(gt,Wt,yr,cr,pr){k(pr||gt._componentsViews,function(Qr){var $r=Qr.__model;Qr.render($r,Wt,yr,cr),Vt($r,Qr)})}function yt(gt,Wt,yr,cr,pr){var Qr=gt._scheduler,$r;Wt.eachSeries(function(Ln){var Mn=gt._chartsMap[Ln.__viewId];Mn.__alive=!0;var Vn=Mn.renderTask;Qr.updatePayload(Vn,cr),pr&&pr.get(Ln.uid)&&Vn.dirty(),$r|=Vn.perform(Qr.getPerformArgs(Vn)),Mn.group.silent=!!Ln.get("silent"),Vt(Ln,Mn),Ft(Ln,Mn)}),Qr.unfinished|=$r,It(gt,Wt),_(gt._zr.dom,Wt)}function Ye(gt,Wt){k(kt,function(yr){yr(gt,Wt)})}var bt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];X._initEvents=function(){k(bt,function(gt){var Wt=function(yr){var cr=this.getModel(),pr=yr.target,Qr,$r=gt==="globalout";if($r)Qr={};else if(pr&&pr.dataIndex!=null){var Ln=pr.dataModel||cr.getSeriesByIndex(pr.seriesIndex);Qr=Ln&&Ln.getDataParams(pr.dataIndex,pr.dataType,pr)||{}}else pr&&pr.eventData&&(Qr=p.extend({},pr.eventData));if(Qr){var Mn=Qr.componentType,Vn=Qr.componentIndex;(Mn==="markLine"||Mn==="markPoint"||Mn==="markArea")&&(Mn="series",Vn=Qr.seriesIndex);var ii=Mn&&Vn!=null&&cr.getComponent(Mn,Vn),Li=ii&&this[ii.mainType==="series"?"_chartsMap":"_componentsMap"][ii.__viewId];Qr.event=yr,Qr.type=gt,this._ecEventProcessor.eventInfo={targetEl:pr,packedEvent:Qr,model:ii,view:Li},this.trigger(gt,Qr)}};Wt.zrEventfulCallAtLast=!0,this._zr.on(gt,Wt,this)},this),k(wt,function(gt,Wt){this._messageCenter.on(Wt,function(yr){this.trigger(Wt,yr)},this)},this)},X.isDisposed=function(){return this._disposed},X.clear=function(){if(this._disposed){Ct(this.id);return}this.setOption({series:[]},!0)},X.dispose=function(){if(this._disposed){Ct(this.id);return}this._disposed=!0,A.setAttribute(this.getDom(),rt,"");var gt=this._api,Wt=this._model;k(this._componentsViews,function(yr){yr.dispose(Wt,gt)}),k(this._chartsViews,function(yr){yr.dispose(Wt,gt)}),this._zr.dispose(),delete hr[this.id]},p.mixin(te,l);function Ct(gt){}function It(gt,Wt){var yr=gt._zr,cr=yr.storage,pr=0;cr.traverse(function(Qr){pr++}),pr>Wt.get("hoverLayerThreshold")&&!f.node&&Wt.eachSeries(function(Qr){if(Qr.preventUsingHoverLayer)return;var $r=gt._chartsMap[Qr.__viewId];$r.__alive&&$r.group.traverse(function(Ln){Ln.useHoverLayer=!0})})}function Ft(gt,Wt){var yr=gt.get("blendMode")||null;Wt.group.traverse(function(cr){cr.isGroup||cr.style.blend!==yr&&cr.setStyle("blend",yr),cr.eachPendingDisplayable&&cr.eachPendingDisplayable(function(pr){pr.setStyle("blend",yr)})})}function Vt(gt,Wt){var yr=gt.get("z"),cr=gt.get("zlevel");Wt.group.traverse(function(pr){pr.type!=="group"&&(yr!=null&&(pr.z=yr),cr!=null&&(pr.zlevel=cr))})}function $e(gt){var Wt=gt._coordSysMgr;return p.extend(new t(gt),{getCoordinateSystems:p.bind(Wt.getCoordinateSystems,Wt),getComponentByElement:function(yr){for(;yr;){var cr=yr.__ecComponentInfo;if(cr!=null)return gt._model.getComponent(cr.mainType,cr.index);yr=yr.parent}}})}function ge(){this.eventInfo}ge.prototype={constructor:ge,normalizeQuery:function(gt){var Wt={},yr={},cr={};if(p.isString(gt)){var pr=V(gt);Wt.mainType=pr.main||null,Wt.subType=pr.sub||null}else{var Qr=["Index","Name","Id"],$r={name:1,dataIndex:1,dataType:1};p.each(gt,function(Ln,Mn){for(var Vn=!1,ii=0;ii<Qr.length;ii++){var Li=Qr[ii],Pi=Mn.lastIndexOf(Li);if(Pi>0&&Pi===Mn.length-Li.length){var Ze=Mn.slice(0,Pi);Ze!=="data"&&(Wt.mainType=Ze,Wt[Li.toLowerCase()]=Ln,Vn=!0)}}$r.hasOwnProperty(Mn)&&(yr[Mn]=Ln,Vn=!0),Vn||(cr[Mn]=Ln)})}return{cptQuery:Wt,dataQuery:yr,otherQuery:cr}},filter:function(gt,Wt,yr){var cr=this.eventInfo;if(!cr)return!0;var pr=cr.targetEl,Qr=cr.packedEvent,$r=cr.model,Ln=cr.view;if(!$r||!Ln)return!0;var Mn=Wt.cptQuery,Vn=Wt.dataQuery;return ii(Mn,$r,"mainType")&&ii(Mn,$r,"subType")&&ii(Mn,$r,"index","componentIndex")&&ii(Mn,$r,"name")&&ii(Mn,$r,"id")&&ii(Vn,Qr,"name")&&ii(Vn,Qr,"dataIndex")&&ii(Vn,Qr,"dataType")&&(!Ln.filterForExposedEvent||Ln.filterForExposedEvent(gt,Wt.otherQuery,pr,Qr));function ii(Li,Pi,Ze,xe){return Li[Ze]==null||Pi[xe||Ze]===Li[Ze]}},afterTrigger:function(){this.eventInfo=null}};var ne={},wt={},qe=[],he=[],kt=[],nr=[],lt={},Xt={},hr={},Wr={},mt=new Date-0,Et=new Date-0,rt="_echarts_instance_";function He(gt){var Wt=0,yr=1,cr=2,pr="__connectUpdateStatus";function Qr($r,Ln){for(var Mn=0;Mn<$r.length;Mn++){var Vn=$r[Mn];Vn[pr]=Ln}}k(wt,function($r,Ln){gt._messageCenter.on(Ln,function(Mn){if(Wr[gt.group]&&gt[pr]!==Wt){if(Mn&&Mn.escapeConnect)return;var Vn=gt.makeActionFromEvent(Mn),ii=[];k(hr,function(Li){Li!==gt&&Li.group===gt.group&&ii.push(Li)}),Qr(ii,Wt),k(ii,function(Li){Li[pr]!==yr&&Li.dispatchAction(Vn)}),Qr(ii,cr)}})})}function ze(gt,Wt,yr){var cr=qr(gt);if(cr)return cr;var pr=new te(gt,Wt,yr);return pr.id="ec_"+mt++,hr[pr.id]=pr,A.setAttribute(gt,rt,pr.id),He(pr),pr}function Rt(gt){if(p.isArray(gt)){var Wt=gt;gt=null,k(Wt,function(yr){yr.group!=null&&(gt=yr.group)}),gt=gt||"g_"+Et++,k(Wt,function(yr){yr.group=gt})}return Wr[gt]=!0,gt}function sr(gt){Wr[gt]=!1}var Jt=sr;function qt(gt){typeof gt=="string"?gt=hr[gt]:gt instanceof te||(gt=qr(gt)),gt instanceof te&&!gt.isDisposed()&&gt.dispose()}function qr(gt){return hr[A.getAttribute(gt,rt)]}function Fr(gt){return hr[gt]}function mn(gt,Wt){lt[gt]=Wt}function Tt(gt){he.push(gt)}function St(gt,Wt){or(qe,gt,Wt,K)}function Re(gt){kt.push(gt)}function Ve(gt,Wt,yr){typeof Wt=="function"&&(yr=Wt,Wt="");var cr=j(gt)?gt.type:[gt,gt={event:Wt}][0];gt.event=(gt.event||cr).toLowerCase(),Wt=gt.event,M(Q.test(cr)&&Q.test(Wt)),ne[cr]||(ne[cr]={action:yr,actionInfo:gt}),wt[Wt]=cr}function Xe(gt,Wt){a.register(gt,Wt)}function ct(gt){var Wt=a.get(gt);if(Wt)return Wt.getDimensionsInfo?Wt.getDimensionsInfo():Wt.dimensions.slice()}function tr(gt,Wt){or(nr,gt,Wt,Z,"layout")}function ir(gt,Wt){or(nr,gt,Wt,q,"visual")}function or(gt,Wt,yr,cr,pr){(R(Wt)||j(Wt))&&(yr=Wt,Wt=cr);var Qr=x.wrapStageHandler(yr,pr);return Qr.__prio=Wt,Qr.__raw=yr,gt.push(Qr),Qr}function Xr(gt,Wt){Xt[gt]=Wt}function Yr(gt){return e.extend(gt)}function bn(gt){return u.extend(gt)}function Yt(gt){return s.extend(gt)}function pt(gt){return h.extend(gt)}function ht(gt){p.$override("createCanvas",gt)}function Zt(gt,Wt,yr){L.registerMap(gt,Wt,yr)}function $t(gt){var Wt=L.retrieveMap(gt);return Wt&&Wt[0]&&{geoJson:Wt[0].geoJSON,specialAreas:Wt[0].specialAreas}}ir(ve,S),Tt(r),St(G,c),Xr("default",T),Ve({type:"highlight",event:"highlight",update:"highlight"},p.noop),Ve({type:"downplay",event:"downplay",update:"downplay"},p.noop),mn("light",C),mn("dark",I);var At={};N.version=D,N.dependencies=H,N.PRIORITY=Fe,N.init=ze,N.connect=Rt,N.disConnect=sr,N.disconnect=Jt,N.dispose=qt,N.getInstanceByDom=qr,N.getInstanceById=Fr,N.registerTheme=mn,N.registerPreprocessor=Tt,N.registerProcessor=St,N.registerPostUpdate=Re,N.registerAction=Ve,N.registerCoordinateSystem=Xe,N.getCoordinateSystemDimensions=ct,N.registerLayout=tr,N.registerVisual=ir,N.registerLoading=Xr,N.extendComponentModel=Yr,N.extendComponentView=bn,N.extendSeriesModel=Yt,N.extendChartView=pt,N.setCanvasCreator=ht,N.registerMap=Zt,N.getMap=$t,N.dataTool=At;var Pt=i("txkQ");(function(){for(var gt in Pt)Pt.hasOwnProperty(gt)&&(N[gt]=Pt[gt])})()},Pw59:function(B,N,i){"use strict";var y=i("q1tI"),m=i.n(y),E=Object(y.createContext)({});N.a=E},Q7if:function(B,N,i){var y=i("JEkh"),m=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"}}}});B.exports=m},Q9mQ:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("UADf"),p=i.n(E)},"QB+1":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("Ywus"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},QBsz:function(B,N){var i=typeof Float32Array=="undefined"?Array:Float32Array;function y(x,C){var I=new i(2);return x==null&&(x=0),C==null&&(C=0),I[0]=x,I[1]=C,I}function m(x,C){return x[0]=C[0],x[1]=C[1],x}function E(x){var C=new i(2);return C[0]=x[0],C[1]=x[1],C}function p(x,C,I){return x[0]=C,x[1]=I,x}function v(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 l(x){return Math.sqrt(t(x))}var n=l;function t(x){return x[0]*x[0]+x[1]*x[1]}var a=t;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 c(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=l(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 g(x,C){return(x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1])}var A=g;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 S(x,C,I){var L=C[0],M=C[1];return x[0]=I[0]*L+I[2]*M+I[4],x[1]=I[1]*L+I[3]*M+I[5],x}function _(x,C,I){return x[0]=Math.min(C[0],I[0]),x[1]=Math.min(C[1],I[1]),x}function T(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=m,N.clone=E,N.set=p,N.add=v,N.scaleAndAdd=f,N.sub=d,N.len=l,N.length=n,N.lenSquare=t,N.lengthSquare=a,N.mul=o,N.div=r,N.dot=c,N.scale=e,N.normalize=s,N.distance=u,N.dist=h,N.distanceSquare=g,N.distSquare=A,N.negate=w,N.lerp=b,N.applyTransform=S,N.min=_,N.max=T},"QO+J":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=E(i("NohK")),m=i("24YM");function E(v){return v&&v.__esModule?v:{default:v}}var p=function(f){var d=void 0,l=[],n=function(){getComputedStyle(f).position==="static"&&(f.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",t),t()},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",m.SensorClassName),e.setAttribute("tabindex",m.SensorTabIndex),e.type="text/html",f.appendChild(e),e.data="about:blank",e},t=(0,y.default)(function(){l.forEach(function(c){c(f)})}),a=function(e){d||(d=n()),l.indexOf(e)===-1&&l.push(e)},o=function(){d&&d.parentNode&&(d.contentDocument&&d.contentDocument.defaultView.removeEventListener("resize",t),d.parentNode.removeChild(d),d=void 0,l=[])},r=function(e){var s=l.indexOf(e);s!==-1&&l.splice(s,1),l.length===0&&d&&o()};return{element:f,bind:a,destroy:o,unbind:r}};N.createSensor=p},"QQZ/":function(B,N,i){var y=i("Sq3C"),m=i("Z1HP"),E=i("Sxd8"),p=i("dt0z");function v(f,d,l){f=p(f),d=E(d);var n=d?m(f):0;return d&&n<d?y(d-n,l)+f:f}B.exports=v},QUw5:function(B,N,i){var y=i("OlYY"),m=y.extend({type:"dataZoom.select"});B.exports=m},QV2g:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(){for(var p,v=[],f=0;f<256;f++){p=f;for(var d=0;d<8;d++)p=p&1?3988292384^p>>>1:p>>>1;v[f]=p}return v}var m=y();function E(p,v,f,d){var l=m,n=d+f;p^=-1;for(var t=d;t<n;t++)p=p>>>8^l[(p^v[t])&255];return p^-1}},QbM5:function(B,N,i){},Qe9p:function(B,N,i){var y=i("1RvN"),m={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 E(C){return C=Math.round(C),C<0?0:C>255?255:C}function p(C){return C=Math.round(C),C<0?0:C>360?360:C}function v(C){return C<0?0:C>1?1:C}function f(C){return C.length&&C.charAt(C.length-1)==="%"?E(parseFloat(C)/100*255):E(parseInt(C,10))}function d(C){return C.length&&C.charAt(C.length-1)==="%"?v(parseFloat(C)/100):v(parseFloat(C))}function l(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 n(C,I,L){return C+(I-C)*L}function t(C,I,L,M,k){return C[0]=I,C[1]=L,C[2]=M,C[3]=k,C}function a(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 c(C,I){r&&a(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 a(I,L);C=C+"";var M=C.replace(/ /g,"").toLowerCase();if(M in m)return a(I,m[M]),c(C,I),I;if(M.charAt(0)==="#"){if(M.length===4){var k=parseInt(M.substr(1),16);if(!(k>=0&&k<=4095)){t(I,0,0,0,1);return}return t(I,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),c(C,I),I}else if(M.length===7){var k=parseInt(M.substr(1),16);if(!(k>=0&&k<=16777215)){t(I,0,0,0,1);return}return t(I,(k&16711680)>>16,(k&65280)>>8,k&255,1),c(C,I),I}return}var R=M.indexOf("("),j=M.indexOf(")");if(R!==-1&&j+1===M.length){var V=M.substr(0,R),D=M.substr(R+1,j-(R+1)).split(","),H=1;switch(V){case"rgba":if(D.length!==4){t(I,0,0,0,1);return}H=d(D.pop());case"rgb":if(D.length!==3){t(I,0,0,0,1);return}return t(I,f(D[0]),f(D[1]),f(D[2]),H),c(C,I),I;case"hsla":if(D.length!==4){t(I,0,0,0,1);return}return D[3]=d(D[3]),s(D,I),c(C,I),I;case"hsl":if(D.length!==3){t(I,0,0,0,1);return}return s(D,I),c(C,I),I;default:return}}t(I,0,0,0,1);return}function s(C,I){var L=(parseFloat(C[0])%360+360)%360/360,M=d(C[1]),k=d(C[2]),R=k<=.5?k*(M+1):k+M-k*M,j=k*2-R;return I=I||[],t(I,E(l(j,R,L+1/3)*255),E(l(j,R,L)*255),E(l(j,R,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,M=C[2]/255,k=Math.min(I,L,M),R=Math.max(I,L,M),j=R-k,V=(R+k)/2,D,H;if(j===0)D=0,H=0;else{V<.5?H=j/(R+k):H=j/(2-R-k);var P=((R-I)/6+j/2)/j,K=((R-L)/6+j/2)/j,U=((R-M)/6+j/2)/j;I===R?D=U-K:L===R?D=1/3+P-U:M===R&&(D=2/3+K-P),D<0&&(D+=1),D>1&&(D-=1)}var G=[D*360,H,V];return C[3]!=null&&G.push(C[3]),G}function h(C,I){var L=e(C);if(L){for(var M=0;M<3;M++)I<0?L[M]=L[M]*(1-I)|0:L[M]=(255-L[M])*I+L[M]|0,L[M]>255?L[M]=255:C[M]<0&&(L[M]=0);return x(L,L.length===4?"rgba":"rgb")}}function g(C){var I=e(C);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function A(C,I,L){if(!(I&&I.length)||!(C>=0&&C<=1))return;L=L||[];var M=C*(I.length-1),k=Math.floor(M),R=Math.ceil(M),j=I[k],V=I[R],D=M-k;return L[0]=E(n(j[0],V[0],D)),L[1]=E(n(j[1],V[1],D)),L[2]=E(n(j[2],V[2],D)),L[3]=v(n(j[3],V[3],D)),L}var w=A;function b(C,I,L){if(!(I&&I.length)||!(C>=0&&C<=1))return;var M=C*(I.length-1),k=Math.floor(M),R=Math.ceil(M),j=e(I[k]),V=e(I[R]),D=M-k,H=x([E(n(j[0],V[0],D)),E(n(j[1],V[1],D)),E(n(j[2],V[2],D)),v(n(j[3],V[3],D))],"rgba");return L?{color:H,leftIndex:k,rightIndex:R,value:M}:H}var S=b;function _(C,I,L,M){if(C=e(C),C)return C=u(C),I!=null&&(C[0]=p(I)),L!=null&&(C[1]=d(L)),M!=null&&(C[2]=d(M)),x(s(C),"rgba")}function T(C,I){if(C=e(C),C&&I!=null)return C[3]=v(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=g,N.fastLerp=A,N.fastMapToColor=w,N.lerp=b,N.mapToColor=S,N.modifyHSL=_,N.modifyAlpha=T,N.stringify=x},Qi1f:function(B,N,i){"use strict";i.d(N,"g",function(){return c}),i.d(N,"c",function(){return e}),i.d(N,"a",function(){return u}),i.d(N,"b",function(){return h}),i.d(N,"d",function(){return g}),i.d(N,"e",function(){return A}),i.d(N,"f",function(){return b});var y=i("VTBJ"),m=i("U8pU"),E=i("u3cA"),p=i("q1tI"),v=i.n(p),f=i("Kwbf"),d=i("MNnm"),l="rc-util-key";function n(S){if(S.attachTo)return S.attachTo;var _=document.querySelector("head");return _||document.body}function t(S){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||_===void 0?void 0:_.nonce){var C;x.nonce=(C=T.csp)===null||C===void 0?void 0:C.nonce}x.innerHTML=S;var I=n(T),L=I.firstChild;return T.prepend&&I.prepend?I.prepend(x):T.prepend&&L?I.insertBefore(x,L):I.appendChild(x),x}var a=new Map;function o(S,_){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=n(T);if(!a.has(x)){var C=t("",T),I=C.parentNode;a.set(x,I),I.removeChild(C)}var L=Array.from(a.get(x).children).find(function(V){return V.tagName==="STYLE"&&V[l]===_});if(L){var M,k;if(((M=T.csp)===null||M===void 0?void 0:M.nonce)&&L.nonce!==((k=T.csp)===null||k===void 0?void 0:k.nonce)){var R;L.nonce=(R=T.csp)===null||R===void 0?void 0:R.nonce}return L.innerHTML!==S&&(L.innerHTML=S),L}var j=t(S,T);return j[l]=_,j}var r=i("Pw59");function c(S,_){Object(f.a)(S,"[@ant-design/icons] ".concat(_))}function e(S){return Object(m.a)(S)==="object"&&typeof S.name=="string"&&typeof S.theme=="string"&&(Object(m.a)(S.icon)==="object"||typeof S.icon=="function")}function s(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce(function(_,T){var x=S[T];switch(T){case"class":_.className=x,delete _.class;break;default:_[T]=x}return _},{})}function u(S,_,T){return T?v.a.createElement(S.tag,Object(y.a)(Object(y.a)({key:_},s(S.attrs)),T),(S.children||[]).map(function(x,C){return u(x,"".concat(_,"-").concat(S.tag,"-").concat(C))})):v.a.createElement(S.tag,Object(y.a)({key:_},s(S.attrs)),(S.children||[]).map(function(x,C){return u(x,"".concat(_,"-").concat(S.tag,"-").concat(C))}))}function h(S){return Object(E.generate)(S)[0]}function g(S){return S?Array.isArray(S)?S:[S]:[]}var A={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 _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w,T=Object(p.useContext)(r.a),x=T.csp;Object(p.useEffect)(function(){o(_,"@ant-design-icons",{prepend:!0,csp:x})},[])}},Qs3X:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("X+im"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},Qs9O:function(B,N,i){"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(B,N){var i=function(E){this.colorStops=E||[]};i.prototype={constructor:i,addColorStop:function(E,p){this.colorStops.push({offset:E,color:p})}};var y=i;B.exports=y},Qvb6:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("ItGF"),p=i("B9fm"),v=i("gvm7"),f=i("7aKB"),d=i("OELB"),l=i("IwbS"),n=i("Ez2D"),t=i("+TT/"),a=i("Qxkt"),o=i("F9bG"),r=i("aX7z"),c=i("/y7N"),e=i("4NO4"),s=e.getTooltipRenderMode,u=m.bind,h=m.each,g=d.parsePercent,A=new l.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=y.extendComponentView({type:"tooltip",init:function(I,L){if(E.node)return;var M=I.getComponent("tooltip"),k=M.get("renderMode");this._renderMode=s(k);var R;this._renderMode==="html"?(R=new p(L.getDom(),L,{appendToBody:M.get("appendToBody",!0)}),this._newLine="<br/>"):(R=new v(L),this._newLine=`
`),this._tooltipContent=R},render:function(I,L,M){if(E.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=M,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.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(M,k,R){L!=="none"&&(L.indexOf(M)>=0?this._tryShow(k,R):M==="leave"&&this._hide(R))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,M=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!M.isDisposed()&&k.manuallyShowTip(I,L,M,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(I,L,M,k){if(k.from===this.uid||E.node)return;var R=S(k,M);this._ticket="";var j=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var V=A;V.position=[k.x,k.y],V.update(),V.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:V},R)}else if(j)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},R);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,M,k))return;var D=n(k,L),H=D.point[0],P=D.point[1];H!=null&&P!=null&&this._tryShow({offsetX:H,offsetY:P,position:k.position,target:D.el},R)}else k.x!=null&&k.y!=null&&(M.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:M.getZr().findHover(k.x,k.y).target},R))},manuallyHideTip:function(I,L,M,k){var R=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&R.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(S(k,M))},_manuallyAxisShowTip:function(I,L,M,k){var R=k.seriesIndex,j=k.dataIndex,V=L.getComponent("axisPointer").coordSysAxesInfo;if(R==null||j==null||V==null)return;var D=L.getSeriesByIndex(R);if(!D)return;var H=D.getData(),I=b([H.getItemModel(j),D,(D.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(M.dispatchAction({type:"updateAxisPointer",seriesIndex:R,dataIndex:j,position:k.position}),!0)},_tryShow:function(I,L){var M=I.target,k=this._tooltipModel;if(!k)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var R=I.dataByCoordSys;R&&R.length?this._showAxisTooltip(R,I):M&&M.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,M,L)):M&&M.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,M,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var M=I.get("showDelay");L=m.bind(L,this),clearTimeout(this._showTimout),M>0?this._showTimout=setTimeout(L,M):L()},_showAxisTooltip:function(I,L){var M=this._ecModel,k=this._tooltipModel,R=[L.offsetX,L.offsetY],j=[],V=[],D=b([L.tooltipOption,k]),H=this._renderMode,P=this._newLine,K={};h(I,function(G){h(G.dataByAxis,function(W){var Z=M.getComponent(W.axisDim+"Axis",W.axisIndex),J=W.value,ve=[];if(!Z||J==null)return;var q=c.getValueLabel(J,Z.axis,M,W.seriesDataIndices,W.valueLabelOpt);m.each(W.seriesDataIndices,function(be){var Ce=M.getSeriesByIndex(be.seriesIndex),Fe=be.dataIndexInside,fe=Ce&&Ce.getDataParams(Fe);if(fe.axisDim=W.axisDim,fe.axisIndex=W.axisIndex,fe.axisType=W.axisType,fe.axisId=W.axisId,fe.axisValue=r.getAxisRawValue(Z.axis,J),fe.axisValueLabel=q,fe){V.push(fe);var Ne=Ce.formatTooltip(Fe,!0,null,H),Q;if(m.isObject(Ne)){Q=Ne.html;var ae=Ne.markers;m.merge(K,ae)}else Q=Ne;ve.push(Q)}});var ce=q;H!=="html"?j.push(ve.join(P)):j.push((ce?f.encodeHTML(ce)+P:"")+ve.join(P))})},this),j.reverse(),j=j.join(this._newLine+this._newLine);var U=L.position;this._showOrMove(D,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(D,U,R[0],R[1],this._tooltipContent,V):this._showTooltipContent(D,j,V,Math.random(),R[0],R[1],U,void 0,K)})},_showSeriesItemTooltip:function(I,L,M){var k=this._ecModel,R=L.seriesIndex,j=k.getSeriesByIndex(R),V=L.dataModel||j,D=L.dataIndex,H=L.dataType,P=V.getData(H),K=b([P.getItemModel(D),V,j&&(j.coordinateSystem||{}).model,this._tooltipModel]),U=K.get("trigger");if(U!=null&&U!=="item")return;var G=V.getDataParams(D,H),W=V.formatTooltip(D,!1,H,this._renderMode),Z,J;m.isObject(W)?(Z=W.html,J=W.markers):(Z=W,J=null);var ve="item_"+V.name+"_"+D;this._showOrMove(K,function(){this._showTooltipContent(K,Z,G,ve,I.offsetX,I.offsetY,I.position,I.target,J)}),M({type:"showTip",dataIndexInside:D,dataIndex:P.getRawIndex(D),seriesIndex:R,from:this.uid})},_showComponentItemTooltip:function(I,L,M){var k=L.tooltip;if(typeof k=="string"){var R=k;k={content:R,formatter:R}}var j=new a(k,this._tooltipModel,this._ecModel),V=j.get("content"),D=Math.random();this._showOrMove(j,function(){this._showTooltipContent(j,V,j.get("formatterParams")||{},D,I.offsetX,I.offsetY,I.position,L)}),M({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,M,k,R,j,V,D,H){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var P=this._tooltipContent,K=I.get("formatter");V=V||I.get("position");var U=L;if(K&&typeof K=="string")U=f.formatTpl(K,M,!0);else if(typeof K=="function"){var G=u(function(W,Z){W===this._ticket&&(P.setContent(Z,H,I),this._updatePosition(I,V,R,j,P,M,D))},this);this._ticket=k,U=K(M,k,G)}P.setContent(U,H,I),P.show(I),this._updatePosition(I,V,R,j,P,M,D)},_updatePosition:function(I,L,M,k,R,j,V){var D=this._api.getWidth(),H=this._api.getHeight();L=L||I.get("position");var P=R.getSize(),K=I.get("align"),U=I.get("verticalAlign"),G=V&&V.getBoundingRect().clone();if(V&&G.applyTransform(V.transform),typeof L=="function"&&(L=L([M,k],j,R.el,G,{viewSize:[D,H],contentSize:P.slice()})),m.isArray(L))M=g(L[0],D),k=g(L[1],H);else if(m.isObject(L)){L.width=P[0],L.height=P[1];var W=t.getLayoutRect(L,{width:D,height:H});M=W.x,k=W.y,K=null,U=null}else if(typeof L=="string"&&V){var Z=x(L,G,P);M=Z[0],k=Z[1]}else{var Z=_(M,k,R,D,H,K?null:20,U?null:20);M=Z[0],k=Z[1]}if(K&&(M-=C(K)?P[0]/2:K==="right"?P[0]:0),U&&(k-=C(U)?P[1]/2:U==="bottom"?P[1]:0),I.get("confine")){var Z=T(M,k,R,D,H);M=Z[0],k=Z[1]}R.moveTo(M,k)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,M=!!L&&L.length===I.length;return M&&h(L,function(k,R){var j=k.dataByAxis||{},V=I[R]||{},D=V.dataByAxis||[];M&=j.length===D.length,M&&h(j,function(H,P){var K=D[P]||{},U=H.seriesDataIndices||[],G=K.seriesDataIndices||[];M&=H.value===K.value&&H.axisType===K.axisType&&H.axisId===K.axisId&&U.length===G.length,M&&h(U,function(W,Z){var J=G[Z];M&=W.seriesIndex===J.seriesIndex&&W.dataIndex===J.dataIndex})})}),this._lastDataByCoordSys=I,!!M},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(E.node)return;this._tooltipContent.dispose(),o.unregister("itemTooltip",L)}});function b(I){for(var L=I.pop();I.length;){var M=I.pop();M&&(a.isInstance(M)&&(M=M.get("tooltip",!0)),typeof M=="string"&&(M={formatter:M}),L=new a(M,L,L.ecModel))}return L}function S(I,L){return I.dispatchAction||m.bind(L.dispatchAction,L)}function _(I,L,M,k,R,j,V){var D=M.getOuterSize(),H=D.width,P=D.height;return j!=null&&(I+H+j>k?I-=H+j:I+=j),V!=null&&(L+P+V>R?L-=P+V:L+=V),[I,L]}function T(I,L,M,k,R){var j=M.getOuterSize(),V=j.width,D=j.height;return I=Math.min(I+V,k)-V,L=Math.min(L+D,R)-D,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function x(I,L,M){var k=M[0],R=M[1],j=5,V=0,D=0,H=L.width,P=L.height;switch(I){case"inside":V=L.x+H/2-k/2,D=L.y+P/2-R/2;break;case"top":V=L.x+H/2-k/2,D=L.y-R-j;break;case"bottom":V=L.x+H/2-k/2,D=L.y+P+j;break;case"left":V=L.x-k-j,D=L.y+P/2-R/2;break;case"right":V=L.x+H+j,D=L.y+P/2-R/2}return[V,D]}function C(I){return I==="center"||I==="middle"}B.exports=w},Qxkt:function(B,N,i){var y=i("bYtY"),m=i("ItGF"),E=i("4NO4"),p=E.makeInner,v=i("Yl7c"),f=v.enableClassExtend,d=v.enableClassCheck,l=i("OQFs"),n=i("m9t5"),t=i("/iHx"),a=i("VR9l"),o=y.mixin,r=p();function c(h,g,A){this.parentModel=g,this.ecModel=A,this.option=h}c.prototype={constructor:c,init:null,mergeOption:function(h){y.merge(this.option,h,!0)},get:function(h,g){return h==null?this.option:e(this.option,this.parsePath(h),!g&&s(this,h))},getShallow:function(h,g){var A=this.option,w=A==null?A:A[h],b=!g&&s(this,h);return w==null&&b&&(w=b.getShallow(h)),w},getModel:function(h,g){var A=h==null?this.option:e(this.option,h=this.parsePath(h)),w;return g=g||(w=s(this,h))&&w.getModel(h),new c(A,g,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(!m.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(h,g,A){for(var w=0;w<g.length;w++){if(!g[w])continue;if(h=h&&typeof h=="object"?h[g[w]]:null,h==null)break}return h==null&&A&&(h=A.get(g)),h}function s(h,g){var A=r(h).getParent;return A?A.call(h,g):h.parentModel}f(c),d(c),o(c,l),o(c,n),o(c,t),o(c,a);var u=c;B.exports=u},QyFq:function(B,N,i){"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(B,N,i){var y=i("S/Yl"),m=i("IDmD");function E(p,v){var f=[];return p.eachComponent("singleAxis",function(d,l){var n=new y(d,p,v);n.name="single_"+l,n.resize(d,v),d.coordinateSystem=n,f.push(n)}),p.eachSeries(function(d){if(d.get("coordinateSystem")==="singleAxis"){var l=p.queryComponents({mainType:"singleAxis",index:d.get("singleAxisIndex"),id:d.get("singleAxisId")})[0];d.coordinateSystem=l&&l.coordinateSystem}}),f}m.register("single",{create:E,dimensions:y.prototype.dimensions})},R4Th:function(B,N,i){var y=i("ProS"),m=i("9wZj"),E=i("yO87"),p=i("Fofx"),v=i("h8O9"),f=y.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new m(E)},render:function(d,l,n){var t=d.getData(),a=this._symbolDraw;a.updateData(t),this.group.add(a.group)},updateTransform:function(d,l,n){var t=d.getData();this.group.dirty();var a=v().reset(d);a.progress&&a.progress({start:0,end:t.count()},t),this._symbolDraw.updateLayout(t)},_updateGroupTransform:function(d){var l=d.coordinateSystem;l&&l.getRoamTransform&&(this.group.transform=p.clone(l.getRoamTransform()),this.group.decomposeTransform())},remove:function(d,l){this._symbolDraw&&this._symbolDraw.remove(l)},dispose:function(){}});B.exports=f},R9oj:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("pwpV"),p=i.n(E)},RBEP:function(B,N,i){for(var y=i("ProS"),m=i("VaxA"),E=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<p.length;v++)y.registerAction({type:p[v],update:"updateView"},E);y.registerAction({type:"treemapRootToNode",update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"treemap",query:f},l);function l(n,t){var a=["treemapZoomToNode","treemapRootToNode"],o=m.retrieveTargetInfo(f,a,n);if(o){var r=n.getViewRoot();r&&(f.direction=m.aboveViewRoot(r,o.node)?"rollUp":"drillDown"),n.resetViewRoot(o.node)}}})},RCxd:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ExclamationCircleOutlined";var d=N.a=m.forwardRef(f)},RDYZ:function(B,N,i){var y=i("dMvE");function m(p){this._target=p.target,this._life=p.life||1e3,this._delay=p.delay||0,this._initialized=!1,this.loop=p.loop==null?!1:p.loop,this.gap=p.gap||0,this.easing=p.easing||"Linear",this.onframe=p.onframe,this.ondestroy=p.ondestroy,this.onrestart=p.onrestart,this._pausedTime=0,this._paused=!1}m.prototype={constructor:m,step:function(v,f){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=f;return}var d=(v-this._startTime-this._pausedTime)/this._life;if(d<0)return;d=Math.min(d,1);var l=this.easing,n=typeof l=="string"?y[l]:l,t=typeof n=="function"?n(d):d;return this.fire("frame",t),d===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var f=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-f+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,f){v="on"+v,this[v]&&this[v](this._target,f)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var E=m;B.exports=E},RELg:function(B,N,i){var y=i("MFOe"),m=y.Global;B.exports={name:"oldIE-userDataStorage",write:d,read:l,each:n,remove:t,clearAll:a};var E="storejs",p=m.document,v=c(),f=(m.navigator?m.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function d(e,s){if(f)return;var u=r(e);v(function(h){h.setAttribute(u,s),h.save(E)})}function l(e){if(f)return;var s=r(e),u=null;return v(function(h){u=h.getAttribute(s)}),u}function n(e){v(function(s){for(var u=s.XMLDocument.documentElement.attributes,h=u.length-1;h>=0;h--){var g=u[h];e(s.getAttribute(g.name),g.name)}})}function t(e){var s=r(e);v(function(u){u.removeAttribute(s),u.save(E)})}function a(){v(function(e){var s=e.XMLDocument.documentElement.attributes;e.load(E);for(var u=s.length-1;u>=0;u--)e.removeAttribute(s[u].name);e.save(E)})}var o=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(e){return e.replace(/^\d/,"___$&").replace(o,"___")}function c(){if(!p||!p.documentElement||!p.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(g){h=p.createElement("div"),s=p.body}return function(g){var A=[].slice.call(arguments,0);A.unshift(h),s.appendChild(h),h.addBehavior("#default#userData"),h.load(E),g.apply(this,A),s.removeChild(h);return}}},RPvy:function(B,N,i){var y=i("ProS"),m=i("VaxA"),E="sunburstRootToNode";y.registerAction({type:E,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){var a=m.retrieveTargetInfo(f,[E],n);if(a){var o=n.getViewRoot();o&&(f.direction=m.aboveViewRoot(o,a.node)?"rollUp":"drillDown"),n.resetViewRoot(a.node)}}});var p="sunburstHighlight";y.registerAction({type:p,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){var a=m.retrieveTargetInfo(f,[p],n);a&&(f.highlight=a.node)}});var v="sunburstUnhighlight";y.registerAction({type:v,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},l);function l(n,t){f.unhighlight=!0}})},RSch:function(B,N,i){var y=i("IwbS"),m=i("bYtY");function E(f,d,l){y.Group.call(this),this._createPolyline(f,d,l)}var p=E.prototype;p._createPolyline=function(f,d,l){var n=f.getItemLayout(d),t=new y.Polyline({shape:{points:n}});this.add(t),this._updateCommonStl(f,d,l)},p.updateData=function(f,d,l){var n=f.hostModel,t=this.childAt(0),a={shape:{points:f.getItemLayout(d)}};y.updateProps(t,a,n,d),this._updateCommonStl(f,d,l)},p._updateCommonStl=function(f,d,l){var n=this.childAt(0),t=f.getItemModel(d),a=f.getItemVisual(d,"color"),o=l&&l.lineStyle,r=l&&l.hoverLineStyle;(!l||f.hasItemOption)&&(o=t.getModel("lineStyle").getLineStyle(),r=t.getModel("emphasis.lineStyle").getLineStyle()),n.useStyle(m.defaults({strokeNoScale:!0,fill:"none",stroke:a},o)),n.hoverStyle=r,y.setHoverStyle(this)},p.updateLayout=function(f,d){var l=this.childAt(0);l.setShape("points",f.getItemLayout(d))},m.inherits(E,y.Group);var v=E;B.exports=v},RXMa:function(B,N,i){var y=i("y+Vt"),m=y.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,v){var f=v.cx,d=v.cy,l=Math.PI*2;p.moveTo(f+v.r,d),p.arc(f,d,v.r,0,l,!1),p.moveTo(f+v.r0,d),p.arc(f,d,v.r0,0,l,!0)}});B.exports=m},RZPm:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("JgUQ")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FileOutlined";var l=p.forwardRef(d);N.default=l},RlCK:function(B,N,i){var y=i("ProS"),m=i("bYtY");function E(p,v,f){var d={},l=p==="toggleSelected",n;return f.eachComponent("legend",function(t){l&&n!=null?t[n?"select":"unSelect"](v.name):p==="allSelect"||p==="inverseSelect"?t[p]():(t[p](v.name),n=t.isSelected(v.name));var a=t.getData();m.each(a,function(o){var r=o.get("name");if(r===`
`||r==="")return;var c=t.isSelected(r);d.hasOwnProperty(r)?d[r]=d[r]&&c:d[r]=c})}),p==="allSelect"||p==="inverseSelect"?{selected:d}:{name:v.name,selected:d}}y.registerAction("legendToggleSelect","legendselectchanged",m.curry(E,"toggleSelected")),y.registerAction("legendAllSelect","legendselectall",m.curry(E,"allSelect")),y.registerAction("legendInverseSelect","legendinverseselect",m.curry(E,"inverseSelect")),y.registerAction("legendSelect","legendselected",m.curry(E,"select")),y.registerAction("legendUnSelect","legendunselected",m.curry(E,"unSelect"))},RotF:function(B,N,i){B.exports=i("LSTS")},Rx6q:function(B,N){function i(y){var m=y.getRect(),E=y.getRangeInfo();return{coordSys:{type:"calendar",x:m.x,y:m.y,width:m.width,height:m.height,cellWidth:y.getCellWidth(),cellHeight:y.getCellHeight(),rangeInfo:{start:E.start,end:E.end,weeks:E.weeks,dayCount:E.allDay}},api:{coord:function(p,v){return y.dataToPoint(p,v)}}}}B.exports=i},"S/Yl":function(B,N,i){var y=i("Zvw2"),m=i("aX7z"),E=i("+TT/"),p=E.getLayoutRect,v=i("bYtY"),f=v.each;function d(n,t,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(n,t,a),this.model=n}d.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:d,_init:function(n,t,a){var o=this.dimension,r=new y(o,m.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),c=r.type==="category";r.onBand=c&&n.get("boundaryGap"),r.inverse=n.get("inverse"),r.orient=n.get("orient"),n.axis=r,r.model=n,r.coordinateSystem=this,this._axis=r},update:function(n,t){n.eachSeries(function(a){if(a.coordinateSystem===this){var o=a.getData();f(o.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(o,r)},this),m.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(n,t){this._rect=p({left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var n=this._rect,t=this._axis,a=t.isHorizontal(),o=a?[0,n.width]:[0,n.height],r=t.reverse?1:0;t.setExtent(o[r],o[1-r]),this._updateAxisTransform(t,a?n.x:n.y)},_updateAxisTransform:function(n,t){var a=n.getExtent(),o=a[0]+a[1],r=n.isHorizontal();n.toGlobalCoord=r?function(c){return c+t}:function(c){return o-c+t},n.toLocalCoord=r?function(c){return c-t}:function(c){return o-c+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(n){var t=this.getRect(),a=this.getAxis(),o=a.orient;return o==="horizontal"?a.contain(a.toLocalCoord(n[0]))&&n[1]>=t.y&&n[1]<=t.y+t.height:a.contain(a.toLocalCoord(n[1]))&&n[0]>=t.y&&n[0]<=t.y+t.height},pointToData:function(n){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(n[t.orient==="horizontal"?0:1]))]},dataToPoint:function(n){var t=this.getAxis(),a=this.getRect(),o=[],r=t.orient==="horizontal"?0:1;return n instanceof Array&&(n=n[0]),o[r]=t.toGlobalCoord(t.dataToCoord(+n)),o[1-r]=r===0?a.y+a.height/2:a.x+a.width/2,o}};var l=d;B.exports=l},"SA+Z":function(B,N,i){var y=i("wTVA"),m=i("EbDI"),E=i("ZhPi"),p=i("wkBT");function v(f){return y(f)||m(f)||E(f)||p()}B.exports=v,B.exports.default=B.exports,B.exports.__esModule=!0},"SA4+":function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("IwbS"),v=i("zYTA"),f=i("bYtY");function d(a,o,r){var c=a[1]-a[0];o=f.map(o,function(u){return{interval:[(u.interval[0]-a[0])/c,(u.interval[1]-a[0])/c]}});var e=o.length,s=0;return function(u){for(var h=s;h<e;h++){var g=o[h].interval;if(g[0]<=u&&u<=g[1]){s=h;break}}if(h===e)for(var h=s-1;h>=0;h--){var g=o[h].interval;if(g[0]<=u&&u<=g[1]){s=h;break}}return h>=0&&h<e&&r[h]}}function l(a,o){var r=a[1]-a[0];return o=[(o[0]-a[0])/r,(o[1]-a[0])/r],function(c){return c>=o[0]&&c<=o[1]}}function n(a){var o=a.dimensions;return o[0]==="lng"&&o[1]==="lat"}var t=E.extendChartView({type:"heatmap",render:function(a,o,r){var c;o.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===a&&(c=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=a.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(a,r,0,a.getData().count()):n(e)&&this._renderOnGeo(e,a,c,r)},incrementalPrepareRender:function(a,o,r){this.group.removeAll()},incrementalRender:function(a,o,r,c){var e=o.coordinateSystem;e&&this._renderOnCartesianAndCalendar(o,c,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,o,r,c,e){var s=a.coordinateSystem,u,h;if(s.type==="cartesian2d"){var g=s.getAxis("x"),A=s.getAxis("y");u=g.getBandWidth(),h=A.getBandWidth()}for(var w=this.group,b=a.getData(),S="itemStyle",_="emphasis.itemStyle",T="label",x="emphasis.label",C=a.getModel(S).getItemStyle(["color"]),I=a.getModel(_).getItemStyle(),L=a.getModel(T),M=a.getModel(x),k=s.type,R=k==="cartesian2d"?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],j=r;j<c;j++){var V;if(k==="cartesian2d"){if(isNaN(b.get(R[2],j)))continue;var D=s.dataToPoint([b.get(R[0],j),b.get(R[1],j)]);V=new p.Rect({shape:{x:Math.floor(Math.round(D[0])-u/2),y:Math.floor(Math.round(D[1])-h/2),width:Math.ceil(u),height:Math.ceil(h)},style:{fill:b.getItemVisual(j,"color"),opacity:b.getItemVisual(j,"opacity")}})}else{if(isNaN(b.get(R[1],j)))continue;V=new p.Rect({z2:1,shape:s.dataToRect([b.get(R[0],j)]).contentShape,style:{fill:b.getItemVisual(j,"color"),opacity:b.getItemVisual(j,"opacity")}})}var H=b.getItemModel(j);b.hasItemOption&&(C=H.getModel(S).getItemStyle(["color"]),I=H.getModel(_).getItemStyle(),L=H.getModel(T),M=H.getModel(x));var P=a.getRawValue(j),K="-";P&&P[2]!=null&&(K=P[2]),p.setLabelStyle(C,I,L,M,{labelFetcher:a,labelDataIndex:j,defaultText:K,isRectText:!0}),V.setStyle(C),p.setHoverStyle(V,b.hasItemOption?I:f.extend({},I)),V.incremental=e,e&&(V.useHoverLayer=!0),w.add(V),b.setItemGraphicEl(j,V)}},_renderOnGeo:function(a,o,r,c){var e=r.targetVisuals.inRange,s=r.targetVisuals.outOfRange,u=o.getData(),h=this._hmLayer||this._hmLayer||new v;h.blurSize=o.get("blurSize"),h.pointSize=o.get("pointSize"),h.minOpacity=o.get("minOpacity"),h.maxOpacity=o.get("maxOpacity");var g=a.getViewRect().clone(),A=a.getRoamTransform();g.applyTransform(A);var w=Math.max(g.x,0),b=Math.max(g.y,0),S=Math.min(g.width+g.x,c.getWidth()),_=Math.min(g.height+g.y,c.getHeight()),T=S-w,x=_-b,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],I=u.mapArray(C,function(R,j,V){var D=a.dataToPoint([R,j]);return D[0]-=w,D[1]-=b,D.push(V),D}),L=r.getExtent(),M=r.type==="visualMap.continuous"?l(L,r.option.range):d(L,r.getPieceList(),r.option.selected);h.update(I,T,x,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:s.color.getColorMapper()},M);var k=new p.Image({style:{width:T,height:x,x:w,y:b,image:h.canvas},silent:!0});this.group.add(k)},dispose:function(){}});B.exports=t},SA8n:function(B,N,i){var y=i("Sj9i"),m=i("QBsz"),E=i("U/Mo"),p=E.getSymbolSize,v=[],f=[],d=[],l=y.quadraticAt,n=m.distSquare,t=Math.abs;function a(r,c,e){for(var s=r[0],u=r[1],h=r[2],g=Infinity,A,w=e*e,b=.1,S=.1;S<=.9;S+=.1){v[0]=l(s[0],u[0],h[0],S),v[1]=l(s[1],u[1],h[1],S);var _=t(n(v,c)-w);_<g&&(g=_,A=S)}for(var T=0;T<32;T++){var x=A+b;f[0]=l(s[0],u[0],h[0],A),f[1]=l(s[1],u[1],h[1],A),d[0]=l(s[0],u[0],h[0],x),d[1]=l(s[1],u[1],h[1],x);var _=n(f,c)-w;if(t(_)<.01)break;var C=n(d,c)-w;b/=2,_<0?C>=0?A=A+b:A=A-b:C>=0?A=A-b:A=A+b}return A}function o(r,c){var e=[],s=y.quadraticSubdivide,u=[[],[],[]],h=[[],[]],g=[];c/=2,r.eachEdge(function(A,w){var b=A.getLayout(),S=A.getVisual("fromSymbol"),_=A.getVisual("toSymbol");b.__original||(b.__original=[m.clone(b[0]),m.clone(b[1])],b[2]&&b.__original.push(m.clone(b[2])));var T=b.__original;if(b[2]!=null){if(m.copy(u[0],T[0]),m.copy(u[1],T[2]),m.copy(u[2],T[1]),S&&S!=="none"){var x=p(A.node1),C=a(u,T[0],x*c);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(_&&_!=="none"){var x=p(A.node2),C=a(u,T[1],x*c);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]}m.copy(b[0],u[0]),m.copy(b[1],u[2]),m.copy(b[2],u[1])}else{if(m.copy(h[0],T[0]),m.copy(h[1],T[1]),m.sub(g,h[1],h[0]),m.normalize(g,g),S&&S!=="none"){var x=p(A.node1);m.scaleAndAdd(h[0],h[0],g,x*c)}if(_&&_!=="none"){var x=p(A.node2);m.scaleAndAdd(h[1],h[1],g,-x*c)}m.copy(b[0],h[0]),m.copy(b[1],h[1])}})}B.exports=o},SJMd:function(B,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 i,y,m,E=!1,p,v;window.PR_SHOULD_USE_CONTINUATION=!0;var f,d;(function(){var l=window,n=["break,continue,do,else,for,if,return,while"],t=[n,"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"],a=[t,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[a,"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=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],c=[a,"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=[a,"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=[n,"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"],g=[n,"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"],A=[n,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],w=[o,c,r,s,u,h,g,A],b=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,S="str",_="kwd",T="com",x="typ",C="lit",I="pun",L="pln",M="tag",k="dec",R="src",j="atn",V="atv",D="nocode",H="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function P(te){for(var X=0,z=!1,Y=!1,pe=0,se=te.length;pe<se;++pe){var Te=te[pe];if(Te.ignoreCase)Y=!0;else if(/[a-z]/i.test(Te.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){z=!0,Y=!1;break}}var Se={b:8,t:9,n:10,v:11,f:12,r:13};function ie(tt){var Oe=tt.charCodeAt(0);if(Oe!==92)return Oe;var yt=tt.charAt(1);return Oe=Se[yt],Oe||("0"<=yt&&yt<="7"?parseInt(tt.substring(1),8):yt==="u"||yt==="x"?parseInt(tt.substring(2),16):tt.charCodeAt(1))}function de(tt){if(tt<32)return(tt<16?"\\x0":"\\x")+tt.toString(16);var Oe=String.fromCharCode(tt);return Oe==="\\"||Oe==="-"||Oe==="]"||Oe==="^"?"\\"+Oe:Oe}function _e(tt){var Oe=tt.substring(1,tt.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")),yt=[],Ye=Oe[0]==="^",bt=["["];Ye&&bt.push("^");for(var Ct=Ye?1:0,It=Oe.length;Ct<It;++Ct){var Ft=Oe[Ct];if(/\\[bdsw]/i.test(Ft))bt.push(Ft);else{var Vt=ie(Ft),$e;Ct+2<It&&Oe[Ct+1]==="-"?($e=ie(Oe[Ct+2]),Ct+=2):$e=Vt,yt.push([Vt,$e]),$e<65||Vt>122||($e<65||Vt>90||yt.push([Math.max(65,Vt)|32,Math.min($e,90)|32]),$e<97||Vt>122||yt.push([Math.max(97,Vt)&~32,Math.min($e,122)&~32]))}}yt.sort(function(qe,he){return qe[0]-he[0]||he[1]-qe[1]});for(var ge=[],ne=[],Ct=0;Ct<yt.length;++Ct){var wt=yt[Ct];wt[0]<=ne[1]+1?ne[1]=Math.max(ne[1],wt[1]):ge.push(ne=wt)}for(var Ct=0;Ct<ge.length;++Ct){var wt=ge[Ct];bt.push(de(wt[0])),wt[1]>wt[0]&&(wt[1]+1>wt[0]&&bt.push("-"),bt.push(de(wt[1])))}return bt.push("]"),bt.join("")}function We(tt){for(var Oe=tt.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")),yt=Oe.length,Ye=[],bt=0,Ct=0;bt<yt;++bt){var It=Oe[bt];if(It==="(")++Ct;else if(It.charAt(0)==="\\"){var Ft=+It.substring(1);Ft&&(Ft<=Ct?Ye[Ft]=-1:Oe[bt]=de(Ft))}}for(var bt=1;bt<Ye.length;++bt)Ye[bt]===-1&&(Ye[bt]=++X);for(var bt=0,Ct=0;bt<yt;++bt){var It=Oe[bt];if(It==="(")++Ct,Ye[Ct]||(Oe[bt]="(?:");else if(It.charAt(0)==="\\"){var Ft=+It.substring(1);Ft&&Ft<=Ct&&(Oe[bt]="\\"+Ye[Ft])}}for(var bt=0;bt<yt;++bt)Oe[bt]==="^"&&Oe[bt+1]!=="^"&&(Oe[bt]="");if(tt.ignoreCase&&z)for(var bt=0;bt<yt;++bt){var It=Oe[bt],Vt=It.charAt(0);It.length>=2&&Vt==="["?Oe[bt]=_e(It):Vt!=="\\"&&(Oe[bt]=It.replace(/[a-zA-Z]/g,function(ne){var wt=ne.charCodeAt(0);return"["+String.fromCharCode(wt&~32,wt|32)+"]"}))}return Oe.join("")}for(var at=[],pe=0,se=te.length;pe<se;++pe){var Te=te[pe];if(Te.global||Te.multiline)throw new Error(""+Te);at.push("(?:"+We(Te)+")")}return new RegExp(at.join("|"),Y?"gi":"g")}function K(te,X){var z=/(?:^|\s)nocode(?:\s|$)/,Y=[],pe=0,se=[],Te=0;function Se(ie){var de=ie.nodeType;if(de==1){if(z.test(ie.className))return;for(var _e=ie.firstChild;_e;_e=_e.nextSibling)Se(_e);var We=ie.nodeName.toLowerCase();(We==="br"||We==="li")&&(Y[Te]=`
`,se[Te<<1]=pe++,se[Te++<<1|1]=ie)}else if(de==3||de==4){var at=ie.nodeValue;at.length&&(X?at=at.replace(/\r\n?/g,`
`):at=at.replace(/[ \t\r\n]+/g," "),Y[Te]=at,se[Te<<1]=pe,pe+=at.length,se[Te++<<1|1]=ie)}}return Se(te),{sourceCode:Y.join("").replace(/\n$/,""),spans:se}}function U(te,X,z,Y,pe){if(!z)return;var se={sourceNode:te,pre:1,langExtension:null,numberLines:null,sourceCode:z,spans:null,basePos:X,decorations:null};Y(se),pe.push.apply(pe,se.decorations)}var G=/\S/;function W(te){for(var X=void 0,z=te.firstChild;z;z=z.nextSibling){var Y=z.nodeType;X=Y===1?X?te:z:Y===3&&G.test(z.nodeValue)?te:X}return X===te?void 0:X}function Z(te,X){var z={},Y;(function(){for(var Te=te.concat(X),Se=[],ie={},de=0,_e=Te.length;de<_e;++de){var We=Te[de],at=We[3];if(at)for(var tt=at.length;--tt>=0;)z[at.charAt(tt)]=We;var Oe=We[1],yt=""+Oe;ie.hasOwnProperty(yt)||(Se.push(Oe),ie[yt]=null)}Se.push(/[\0-\uffff]/),Y=P(Se)})();var pe=X.length,se=function Te(Se){for(var ie=Se.sourceCode,de=Se.basePos,_e=Se.sourceNode,We=[de,L],at=0,tt=ie.match(Y)||[],Oe={},yt=0,Ye=tt.length;yt<Ye;++yt){var bt=tt[yt],Ct=Oe[bt],It=void 0,Ft;if(typeof Ct=="string")Ft=!1;else{var Vt=z[bt.charAt(0)];if(Vt)It=bt.match(Vt[1]),Ct=Vt[0];else{for(var $e=0;$e<pe;++$e)if(Vt=X[$e],It=bt.match(Vt[1]),It){Ct=Vt[0];break}It||(Ct=L)}Ft=Ct.length>=5&&Ct.substring(0,5)==="lang-",Ft&&!(It&&typeof It[1]=="string")&&(Ft=!1,Ct=R),Ft||(Oe[bt]=Ct)}var ge=at;if(at+=bt.length,!Ft)We.push(de+ge,Ct);else{var ne=It[1],wt=bt.indexOf(ne),qe=wt+ne.length;It[2]&&(qe=bt.length-It[2].length,wt=qe-ne.length);var he=Ct.substring(5);U(_e,de+ge,bt.substring(0,wt),Te,We),U(_e,de+ge+wt,ne,Fe(he,ne),We),U(_e,de+ge+qe,bt.substring(qe),Te,We)}}Se.decorations=We};return se}function J(te){var X=[],z=[];te.tripleQuotedStrings?X.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):te.multiLineStrings?X.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):X.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),te.verbatimStrings&&z.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Y=te.hashComments;Y&&(te.cStyleComments?(Y>1?X.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):X.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),z.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):X.push([T,/^#[^\r\n]*/,null,"#"])),te.cStyleComments&&(z.push([T,/^\/\/[^\r\n]*/,null]),z.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var pe=te.regexLiterals;if(pe){var se=pe>1?"":`
\r`,Te=se?".":"[\\S\\s]",Se="/(?=[^/*"+se+"])(?:[^/\\x5B\\x5C"+se+"]|\\x5C"+Te+"|\\x5B(?:[^\\x5C\\x5D"+se+"]|\\x5C"+Te+")*(?:\\x5D|$))+/";z.push(["lang-regex",RegExp("^"+H+"("+Se+")")])}var ie=te.types;ie&&z.push([x,ie]);var de=(""+te.keywords).replace(/^ | $/g,"");de.length&&z.push([_,new RegExp("^(?:"+de.replace(/[\s,]+/g,"|")+")\\b"),null]),X.push([L,/^\s+/,null,` \r
\xA0`]);var _e="^.[^\\s\\w.$@'\"`/\\\\]*";return te.regexLiterals&&(_e+="(?!s*/)"),z.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(_e),null]),Z(X,z)}var ve=J({keywords:w,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function q(te,X,z){for(var Y=/(?:^|\s)nocode(?:\s|$)/,pe=/\r\n?|\n/,se=te.ownerDocument,Te=se.createElement("li");te.firstChild;)Te.appendChild(te.firstChild);var Se=[Te];function ie(Oe){var yt=Oe.nodeType;if(yt==1&&!Y.test(Oe.className))if(Oe.nodeName==="br")de(Oe),Oe.parentNode&&Oe.parentNode.removeChild(Oe);else for(var Ye=Oe.firstChild;Ye;Ye=Ye.nextSibling)ie(Ye);else if((yt==3||yt==4)&&z){var bt=Oe.nodeValue,Ct=bt.match(pe);if(Ct){var It=bt.substring(0,Ct.index);Oe.nodeValue=It;var Ft=bt.substring(Ct.index+Ct[0].length);if(Ft){var Vt=Oe.parentNode;Vt.insertBefore(se.createTextNode(Ft),Oe.nextSibling)}de(Oe),It||Oe.parentNode.removeChild(Oe)}}}function de(Oe){for(;!Oe.nextSibling;)if(Oe=Oe.parentNode,!Oe)return;function yt(Ct,It){var Ft=It?Ct.cloneNode(!1):Ct,Vt=Ct.parentNode;if(Vt){var $e=yt(Vt,1),ge=Ct.nextSibling;$e.appendChild(Ft);for(var ne=ge;ne;ne=ge)ge=ne.nextSibling,$e.appendChild(ne)}return Ft}for(var Ye=yt(Oe.nextSibling,0),bt;(bt=Ye.parentNode)&&bt.nodeType===1;)Ye=bt;Se.push(Ye)}for(var _e=0;_e<Se.length;++_e)ie(Se[_e]);X===(X|0)&&Se[0].setAttribute("value",X);var We=se.createElement("ol");We.className="linenums";for(var at=Math.max(0,X-1|0)||0,_e=0,tt=Se.length;_e<tt;++_e)Te=Se[_e],Te.className="L"+(_e+at)%10,Te.firstChild||Te.appendChild(se.createTextNode("\xA0")),We.appendChild(Te);te.appendChild(We)}function ce(te){var X=/\bMSIE\s(\d+)/.exec(navigator.userAgent);X=X&&+X[1]<=8;var z=/\n/g,Y=te.sourceCode,pe=Y.length,se=0,Te=te.spans,Se=Te.length,ie=0,de=te.decorations,_e=de.length,We=0;de[_e]=pe;var at,tt;for(tt=at=0;tt<_e;)de[tt]!==de[tt+2]?(de[at++]=de[tt++],de[at++]=de[tt++]):tt+=2;for(_e=at,tt=at=0;tt<_e;){for(var Oe=de[tt],yt=de[tt+1],Ye=tt+2;Ye+2<=_e&&de[Ye+1]===yt;)Ye+=2;de[at++]=Oe,de[at++]=yt,tt=Ye}_e=de.length=at;var bt=te.sourceNode,Ct="";bt&&(Ct=bt.style.display,bt.style.display="none");try{for(var It=null;ie<Se;){var Ft=Te[ie],Vt=Te[ie+2]||pe,$e=de[We+2]||pe,Ye=Math.min(Vt,$e),ge=Te[ie+1],ne;if(ge.nodeType!==1&&(ne=Y.substring(se,Ye))){X&&(ne=ne.replace(z,"\r")),ge.nodeValue=ne;var wt=ge.ownerDocument,qe=wt.createElement("span");qe.className=de[We+1];var he=ge.parentNode;he.replaceChild(qe,ge),qe.appendChild(ge),se<Vt&&(Te[ie+1]=ge=wt.createTextNode(Y.substring(Ye,Vt)),he.insertBefore(ge,qe.nextSibling))}se=Ye,se>=Vt&&(ie+=2),se>=$e&&(We+=2)}}finally{bt&&(bt.style.display=Ct)}}var be={};function Ce(te,X){for(var z=X.length;--z>=0;){var Y=X[z];be.hasOwnProperty(Y)?l.console&&console.warn("cannot override language handler %s",Y):be[Y]=te}}function Fe(te,X){return te&&be.hasOwnProperty(te)||(te=/^\s*</.test(X)?"default-markup":"default-code"),be[te]}Ce(ve,["default-code"]),Ce(Z([],[[L,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[T,/^<\!--[\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"]),Ce(Z([[L,/^[\s]+/,null,` \r
`],[V,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[M,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!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"]),Ce(Z([],[[V,/^[\s\S]+/]]),["uq.val"]),Ce(J({keywords:o,hashComments:!0,cStyleComments:!0,types:b}),["c","cc","cpp","cxx","cyc","m"]),Ce(J({keywords:"null,true,false"}),["json"]),Ce(J({keywords:c,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:b}),["cs"]),Ce(J({keywords:r,cStyleComments:!0}),["java"]),Ce(J({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ce(J({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ce(J({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ce(J({keywords:g,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ce(J({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ce(J({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ce(Z([],[[S,/^[\s\S]+/]]),["regex"]);function fe(te){var X=te.langExtension;try{var z=K(te.sourceNode,te.pre),Y=z.sourceCode;te.sourceCode=Y,te.spans=z.spans,te.basePos=0,Fe(X,Y)(te),ce(te)}catch(pe){l.console&&console.log(pe&&pe.stack||pe)}}function Ne(te,X,z){var Y=z||!1,pe=X||null,se=document.createElement("div");se.innerHTML="<pre>"+te+"</pre>",se=se.firstChild,Y&&q(se,Y,!0);var Te={langExtension:pe,numberLines:Y,sourceNode:se,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return fe(Te),se.innerHTML}function Q(te,X){var z=X||document.body,Y=z.ownerDocument||document;function pe(Ft){return z.getElementsByTagName(Ft)}for(var se=[pe("pre"),pe("code"),pe("xmp")],Te=[],Se=0;Se<se.length;++Se)for(var ie=0,de=se[Se].length;ie<de;++ie)Te.push(se[Se][ie]);se=null;var _e=Date;_e.now||(_e={now:function(){return+new Date}});var We=0,at=/\blang(?:uage)?-([\w.]+)(?!\S)/,tt=/\bprettyprint\b/,Oe=/\bprettyprinted\b/,yt=/pre|xmp/i,Ye=/^code$/i,bt=/^(?:pre|code|xmp)$/i,Ct={};function It(){for(var Ft=l.PR_SHOULD_USE_CONTINUATION?_e.now()+250:Infinity;We<Te.length&&_e.now()<Ft;We++){for(var Vt=Te[We],$e=Ct,ge=Vt;ge=ge.previousSibling;){var ne=ge.nodeType,wt=(ne===7||ne===8)&&ge.nodeValue;if(wt?!/^\??prettify\b/.test(wt):ne!==3||/\S/.test(ge.nodeValue))break;if(wt){$e={},wt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ze,Rt,sr){$e[Rt]=sr});break}}var qe=Vt.className;if(($e!==Ct||tt.test(qe))&&!Oe.test(qe)){for(var he=!1,kt=Vt.parentNode;kt;kt=kt.parentNode){var nr=kt.tagName;if(bt.test(nr)&&kt.className&&tt.test(kt.className)){he=!0;break}}if(!he){Vt.className+=" prettyprinted";var lt=$e.lang;if(!lt){lt=qe.match(at);var Xt;!lt&&(Xt=W(Vt))&&Ye.test(Xt.tagName)&&(lt=Xt.className.match(at)),lt&&(lt=lt[1])}var hr;if(yt.test(Vt.tagName))hr=1;else{var Wr=Vt.currentStyle,mt=Y.defaultView,Et=Wr?Wr.whiteSpace:mt&&mt.getComputedStyle?mt.getComputedStyle(Vt,null).getPropertyValue("white-space"):0;hr=Et&&Et.substring(0,3)==="pre"}var rt=$e.linenums;(rt=rt==="true"||+rt)||(rt=qe.match(/\blinenums\b(?::(\d+))?/),rt=rt?rt[1]&&rt[1].length?+rt[1]:!0:!1),rt&&q(Vt,rt,hr);var He={langExtension:lt,sourceNode:Vt,numberLines:rt,pre:hr,sourceCode:null,basePos:null,spans:null,decorations:null};fe(He)}}}We<Te.length?l.setTimeout(It,250):typeof te=="function"&&te()}It()}var ae=l.PR={createSimpleLexer:Z,registerLangHandler:Ce,sourceDecorator:J,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:V,PR_COMMENT:T,PR_DECLARATION:k,PR_KEYWORD:_,PR_LITERAL:C,PR_NOCODE:D,PR_PLAIN:L,PR_PUNCTUATION:I,PR_SOURCE:R,PR_STRING:S,PR_TAG:M,PR_TYPE:x,prettyPrintOne:E?l.prettyPrintOne=Ne:f=Ne,prettyPrint:d=E?l.prettyPrint=Q:d=Q},Ue=l.define;typeof Ue=="function"&&Ue.amd&&Ue("google-code-prettify",[],function(){return ae})})()},SKnc:function(B,N,i){var y=i("bYtY"),m=i("QuXc"),E=function(f,d,l,n,t,a){this.x=f==null?0:f,this.y=d==null?0:d,this.x2=l==null?1:l,this.y2=n==null?0:n,this.type="linear",this.global=a||!1,m.call(this,t)};E.prototype={constructor:E},y.inherits(E,m);var p=E;B.exports=p},"SKx+":function(B,N,i){var y=i("ProS"),m=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}}}),E=m;B.exports=E},SMc4:function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.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(n,t){return t.type||(t.data?"category":"value")}y.merge(v.prototype,p);var d={offset:0};E("x",v,f,d),E("y",v,f,d);var l=v;B.exports=l},SRve:function(B,N,i){"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(B,N,i){var y=i("LPTA"),m=y.debugMode,E=function(){};m===1&&(E=console.error);var p=E;B.exports=p},SZEN:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.clientToElement=y;function y(m,E,p){var v=p.getBoundingClientRect(),f={x:0,y:0};return m<v.left?f.x=0:m>=v.right?f.x=v.width-1:f.x=m-v.left,E<v.top?f.y=0:E>=v.bottom?f.y=v.height-1:f.y=E-v.top,f}},Sdc0:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i("rePB"),d=i("ODXe"),l=i("Ff2n"),n=i("TSYQ"),t=i.n(n),a=i("6cGi"),o=i("4IlW"),r=v.forwardRef(function(_,T){var x,C=_.prefixCls,I=C===void 0?"rc-switch":C,L=_.className,M=_.checked,k=_.defaultChecked,R=_.disabled,j=_.loadingIcon,V=_.checkedChildren,D=_.unCheckedChildren,H=_.onClick,P=_.onChange,K=_.onKeyDown,U=Object(l.a)(_,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),G=Object(a.a)(!1,{value:M,defaultValue:k}),W=Object(d.a)(G,2),Z=W[0],J=W[1];function ve(Ce,Fe){var fe=Z;return R||(fe=Ce,J(fe),P==null||P(fe,Fe)),fe}function q(Ce){Ce.which===o.a.LEFT?ve(!1,Ce):Ce.which===o.a.RIGHT&&ve(!0,Ce),K==null||K(Ce)}function ce(Ce){var Fe=ve(!Z,Ce);H==null||H(Fe,Ce)}var be=t()(I,L,(x={},Object(f.a)(x,"".concat(I,"-checked"),Z),Object(f.a)(x,"".concat(I,"-disabled"),R),x));return v.createElement("button",Object.assign({},U,{type:"button",role:"switch","aria-checked":Z,disabled:R,className:be,ref:T,onKeyDown:q,onClick:ce}),j,v.createElement("span",{className:"".concat(I,"-inner")},Z?V:D))});r.displayName="Switch";var c=r,e=i("gZBC"),s=i.n(e),u=i("g0mS"),h=i("H84U"),g=i("3Nzz"),A=i("uaoM"),w=function(_,T){var x={};for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&T.indexOf(C)<0&&(x[C]=_[C]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(_);I<C.length;I++)T.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(_,C[I])&&(x[C[I]]=_[C[I]]);return x},b=v.forwardRef(function(_,T){var x,C=_.prefixCls,I=_.size,L=_.loading,M=_.className,k=M===void 0?"":M,R=_.disabled,j=w(_,["prefixCls","size","loading","className","disabled"]);Object(A.a)("checked"in j||!("value"in j),"Switch","`value` is not a valid prop, do you mean `checked`?");var V=v.useContext(h.b),D=V.getPrefixCls,H=V.direction,P=v.useContext(g.b),K=D("switch",C),U=v.createElement("div",{className:"".concat(K,"-handle")},L&&v.createElement(s.a,{className:"".concat(K,"-loading-icon")})),G=t()(k,(x={},p()(x,"".concat(K,"-small"),(I||P)==="small"),p()(x,"".concat(K,"-loading"),L),p()(x,"".concat(K,"-rtl"),H==="rtl"),x));return v.createElement(u.a,{insertExtraNode:!0},v.createElement(c,m()({},j,{prefixCls:K,className:G,disabled:R||L,ref:T,loadingIcon:U})))});b.__ANT_SWITCH=!0,b.displayName="Switch";var S=N.a=b},SehX:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("2B6p"),p=E.updateCenterAndZoom;y.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,f){var d=v.componentType||"series";f.eachComponent({mainType:d,query:v},function(l){var n=l.coordinateSystem;if(n.type!=="geo")return;var t=p(n,v,l.get("scaleLimit"));l.setCenter&&l.setCenter(t.center),l.setZoom&&l.setZoom(t.zoom),d==="series"&&m.each(l.seriesGroup,function(a){a.setCenter(t.center),a.setZoom(t.zoom)})})})},SgGq:function(B,N,i){var y=i("bYtY"),m=i("H6uX"),E=i("YH21"),p=i("pP6R");function v(e){this.pointerChecker,this._zr=e,this._opt={};var s=y.bind,u=s(f,this),h=s(d,this),g=s(l,this),A=s(n,this),w=s(t,this);m.call(this),this.setPointerChecker=function(b){this.pointerChecker=b},this.enable=function(b,S){this.disable(),this._opt=y.defaults(y.clone(S)||{},{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",g)),(b===!0||b==="scale"||b==="zoom")&&(e.on("mousewheel",A),e.on("pinch",w))},this.disable=function(){e.off("mousedown",u),e.off("mousemove",h),e.off("mouseup",g),e.off("mousewheel",A),e.off("pinch",w)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}y.mixin(v,m);function f(e){if(E.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"||p.isTaken(this._zr,"globalPan"))return;var s=e.offsetX,u=e.offsetY,h=this._x,g=this._y,A=s-h,w=u-g;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&E.stop(e.event),o(this,"pan","moveOnMouseMove",e,{dx:A,dy:w,oldX:h,oldY:g,newX:s,newY:u})}function l(e){E.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function n(e){var s=r("zoomOnMouseWheel",e,this._opt),u=r("moveOnMouseWheel",e,this._opt),h=e.wheelDelta,g=Math.abs(h),A=e.offsetX,w=e.offsetY;if(h===0||!s&&!u)return;if(s){var b=g>3?1.4:g>1?1.2:1.1,S=h>0?b:1/b;a(this,"zoom","zoomOnMouseWheel",e,{scale:S,originX:A,originY:w})}if(u){var _=Math.abs(h),T=(h>0?1:-1)*(_>3?.4:_>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:T,originX:A,originY:w})}}function t(e){if(p.isTaken(this._zr,"globalPan"))return;var s=e.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,e,{scale:s,originX:e.pinchX,originY:e.pinchY})}function a(e,s,u,h,g){e.pointerChecker&&e.pointerChecker(h,g.originX,g.originY)&&(E.stop(h.event),o(e,s,u,h,g))}function o(e,s,u,h,g){g.isAvailableBehavior=y.bind(r,null,u,h),e.trigger(s,g)}function r(e,s,u){var h=u[e];return!e||h&&(!y.isString(h)||s.event[h+"Key"])}var c=v;B.exports=c},SgaC:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._subrects=0}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,o,r){if(this._subrects===0){if(a.rQwait("RRE",4+4))return!1;this._subrects=a.rQshift32();var c=a.rQshiftBytes(4);o.fillRect(d,l,n,t,c)}for(;this._subrects>0;){if(a.rQwait("RRE",4+8))return!1;var e=a.rQshiftBytes(4),s=a.rQshift16(),u=a.rQshift16(),h=a.rQshift16(),g=a.rQshift16();o.fillRect(d+s,l+u,h,g,e),this._subrects--}return!0}}]),v}();N.default=p},Sj0X:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("XuBP")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DownOutlined";var l=p.forwardRef(d);N.default=l},Sj9i:function(B,N,i){var y=i("QBsz"),m=y.create,E=y.distSquare,p=Math.pow,v=Math.sqrt,f=1e-8,d=1e-4,l=v(3),n=1/3,t=m(),a=m(),o=m();function r(C){return C>-f&&C<f}function c(C){return C>f||C<-f}function e(C,I,L,M,k){var R=1-k;return R*R*(R*C+3*k*I)+k*k*(k*M+3*R*L)}function s(C,I,L,M,k){var R=1-k;return 3*(((I-C)*R+2*(L-I)*k)*R+(M-L)*k*k)}function u(C,I,L,M,k,R){var j=M+3*(I-L)-C,V=3*(L-I*2+C),D=3*(I-C),H=C-k,P=V*V-3*j*D,K=V*D-9*j*H,U=D*D-3*V*H,G=0;if(r(P)&&r(K))if(r(V))R[0]=0;else{var W=-D/V;W>=0&&W<=1&&(R[G++]=W)}else{var Z=K*K-4*P*U;if(r(Z)){var J=K/P,W=-V/j+J,ve=-J/2;W>=0&&W<=1&&(R[G++]=W),ve>=0&&ve<=1&&(R[G++]=ve)}else if(Z>0){var q=v(Z),ce=P*V+1.5*j*(-K+q),be=P*V+1.5*j*(-K-q);ce<0?ce=-p(-ce,n):ce=p(ce,n),be<0?be=-p(-be,n):be=p(be,n);var W=(-V-(ce+be))/(3*j);W>=0&&W<=1&&(R[G++]=W)}else{var Ce=(2*P*V-3*j*K)/(2*v(P*P*P)),Fe=Math.acos(Ce)/3,fe=v(P),Ne=Math.cos(Fe),W=(-V-2*fe*Ne)/(3*j),ve=(-V+fe*(Ne+l*Math.sin(Fe)))/(3*j),Q=(-V+fe*(Ne-l*Math.sin(Fe)))/(3*j);W>=0&&W<=1&&(R[G++]=W),ve>=0&&ve<=1&&(R[G++]=ve),Q>=0&&Q<=1&&(R[G++]=Q)}}return G}function h(C,I,L,M,k){var R=6*L-12*I+6*C,j=9*I+3*M-3*C-9*L,V=3*I-3*C,D=0;if(r(j)){if(c(R)){var H=-V/R;H>=0&&H<=1&&(k[D++]=H)}}else{var P=R*R-4*j*V;if(r(P))k[0]=-R/(2*j);else if(P>0){var K=v(P),H=(-R+K)/(2*j),U=(-R-K)/(2*j);H>=0&&H<=1&&(k[D++]=H),U>=0&&U<=1&&(k[D++]=U)}}return D}function g(C,I,L,M,k,R){var j=(I-C)*k+C,V=(L-I)*k+I,D=(M-L)*k+L,H=(V-j)*k+j,P=(D-V)*k+V,K=(P-H)*k+H;R[0]=C,R[1]=j,R[2]=H,R[3]=K,R[4]=K,R[5]=P,R[6]=D,R[7]=M}function A(C,I,L,M,k,R,j,V,D,H,P){var K,U=.005,G=Infinity,W,Z,J,ve;t[0]=D,t[1]=H;for(var q=0;q<1;q+=.05)a[0]=e(C,L,k,j,q),a[1]=e(I,M,R,V,q),J=E(t,a),J<G&&(K=q,G=J);G=Infinity;for(var ce=0;ce<32&&!(U<d);ce++)W=K-U,Z=K+U,a[0]=e(C,L,k,j,W),a[1]=e(I,M,R,V,W),J=E(a,t),W>=0&&J<G?(K=W,G=J):(o[0]=e(C,L,k,j,Z),o[1]=e(I,M,R,V,Z),ve=E(o,t),Z<=1&&ve<G?(K=Z,G=ve):U*=.5);return P&&(P[0]=e(C,L,k,j,K),P[1]=e(I,M,R,V,K)),v(G)}function w(C,I,L,M){var k=1-M;return k*(k*C+2*M*I)+M*M*L}function b(C,I,L,M){return 2*((1-M)*(I-C)+M*(L-I))}function S(C,I,L,M,k){var R=C-2*I+L,j=2*(I-C),V=C-M,D=0;if(r(R)){if(c(j)){var H=-V/j;H>=0&&H<=1&&(k[D++]=H)}}else{var P=j*j-4*R*V;if(r(P)){var H=-j/(2*R);H>=0&&H<=1&&(k[D++]=H)}else if(P>0){var K=v(P),H=(-j+K)/(2*R),U=(-j-K)/(2*R);H>=0&&H<=1&&(k[D++]=H),U>=0&&U<=1&&(k[D++]=U)}}return D}function _(C,I,L){var M=C+L-2*I;return M===0?.5:(C-I)/M}function T(C,I,L,M,k){var R=(I-C)*M+C,j=(L-I)*M+I,V=(j-R)*M+R;k[0]=C,k[1]=R,k[2]=V,k[3]=V,k[4]=j,k[5]=L}function x(C,I,L,M,k,R,j,V,D){var H,P=.005,K=Infinity;t[0]=j,t[1]=V;for(var U=0;U<1;U+=.05){a[0]=w(C,L,k,U),a[1]=w(I,M,R,U);var G=E(t,a);G<K&&(H=U,K=G)}K=Infinity;for(var W=0;W<32&&!(P<d);W++){var Z=H-P,J=H+P;a[0]=w(C,L,k,Z),a[1]=w(I,M,R,Z);var G=E(a,t);if(Z>=0&&G<K)H=Z,K=G;else{o[0]=w(C,L,k,J),o[1]=w(I,M,R,J);var ve=E(o,t);J<=1&&ve<K?(H=J,K=ve):P*=.5}}return D&&(D[0]=w(C,L,k,H),D[1]=w(I,M,R,H)),v(K)}N.cubicAt=e,N.cubicDerivativeAt=s,N.cubicRootAt=u,N.cubicExtrema=h,N.cubicSubdivide=g,N.cubicProjectPoint=A,N.quadraticAt=w,N.quadraticDerivativeAt=b,N.quadraticRootAt=S,N.quadraticExtremum=_,N.quadraticSubdivide=T,N.quadraticProjectPoint=x},Sp2Z:function(B,N,i){var y=i("3LNs"),m=i("/y7N"),E=i("AVZG"),p=i("Znkb"),v=y.extend({makeElOption:function(t,a,o,r,c){var e=o.axis,s=e.grid,u=r.get("type"),h=f(s,e).getOtherAxis(e).getGlobalExtent(),g=e.toGlobalCoord(e.dataToCoord(a,!0));if(u&&u!=="none"){var A=m.buildElStyle(r),w=d[u](e,g,h);w.style=A,t.graphicKey=w.type,t.pointer=w}var b=E.layout(s.model,o);m.buildCartesianSingleLabelElOption(a,t,b,o,r,c)},getHandleTransform:function(t,a,o){var r=E.layout(a.axis.grid.model,a,{labelInside:!1});return r.labelMargin=o.get("handle.margin"),{position:m.getTransformedPosition(a.axis,t,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,a,o,r){var c=o.axis,e=c.grid,s=c.getGlobalExtent(!0),u=f(e,c).getOtherAxis(c).getGlobalExtent(),h=c.dim==="x"?0:1,g=t.position;g[h]+=a[h],g[h]=Math.min(s[1],g[h]),g[h]=Math.max(s[0],g[h]);var A=(u[1]+u[0])/2,w=[A,A];w[h]=g[h];var b=[{verticalAlign:"middle"},{align:"center"}];return{position:g,rotation:t.rotation,cursorPoint:w,tooltipOption:b[h]}}});function f(t,a){var o={};return o[a.dim+"AxisIndex"]=a.index,t.getCartesian(o)}var d={line:function(t,a,o){var r=m.makeLineShape([a,o[0]],[a,o[1]],l(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,a,o){var r=Math.max(1,t.getBandWidth()),c=o[1]-o[0];return{type:"Rect",shape:m.makeRectShape([a-r/2,o[0]],[r,c],l(t))}}};function l(t){return t.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",v);var n=v;B.exports=n},Sq3C:function(B,N,i){var y=i("sKgW"),m=i("zoYe"),E=i("wy8a"),p=i("quyA"),v=i("Z1HP"),f=i("Em2t"),d=Math.ceil;function l(n,t){t=t===void 0?" ":m(t);var a=t.length;if(a<2)return a?y(t,n):t;var o=y(t,d(n/v(t)));return p(t)?E(f(o),0,n).join(""):o.slice(0,n)}B.exports=l},SqI9:function(B,N,i){var y=i("y+Vt"),m=i("iXp4"),E=y.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:m(y.prototype.brush),buildPath:function(v,f){var d=f.cx,l=f.cy,n=Math.max(f.r0||0,0),t=Math.max(f.r,0),a=f.startAngle,o=f.endAngle,r=f.clockwise,c=Math.cos(a),e=Math.sin(a);v.moveTo(c*n+d,e*n+l),v.lineTo(c*t+d,e*t+l),v.arc(d,l,t,a,o,!r),v.lineTo(Math.cos(o)*n+d,Math.sin(o)*n+l),n!==0&&v.arc(d,l,n,o,a,r),v.closePath()}});B.exports=E},SrGk:function(B,N,i){var y=i("hydK"),m=y.createElement,E=i("bYtY"),p=i("y+Vt"),v=i("Dagg"),f=i("dqUG"),d=i("P47w"),l=d.path,n=d.image,t=d.text,a="0",o="1";function r(e,s,u,h,g){this._zrId=e,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=h,this._domName=g||"_dom",this.nextId=0}r.prototype.createElement=m,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 g=u.children;if(!g)return!1;for(var A=g.length-1;A>=0;--A)if(g[A]===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 E.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;E.each(e,function(u){u[s._markLabel]=a})},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;E.each(s,function(h){h[u._markLabel]!==o&&e.removeChild(h)})},r.prototype.getSvgProxy=function(e){return e instanceof p?l:e instanceof v?n:e instanceof f?t:l},r.prototype.getTextSvgElement=function(e){return e.__textSvgEl},r.prototype.getSvgElement=function(e){return e.__svgEl};var c=r;B.exports=c},Swgg:function(B,N,i){var y=i("fc+c"),m=y.extend({type:"dataZoom.select"});B.exports=m},Sxd8:function(B,N,i){var y=i("ZCgT");function m(E){var p=y(E),v=p%1;return p===p?v?p-v:p:0}B.exports=m},T1rO:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("zdCA"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},T4UG:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("ItGF"),v=i("7aKB"),f=v.formatTime,d=v.encodeHTML,l=v.addCommas,n=v.getTooltipMarker,t=i("4NO4"),a=i("bLfw"),o=i("5Hur"),r=i("OKJ2"),c=i("+TT/"),e=c.getLayoutParams,s=c.mergeLayoutParam,u=i("9H2F"),h=u.createTask,g=i("D5nY"),A=g.prepareSource,w=g.getSource,b=i("KxfA"),S=b.retrieveRawValue,_=t.makeInner(),T=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(D,H,P,K){this.seriesIndex=this.componentIndex,this.dataTask=h({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(D,P),A(this);var U=this.getInitialData(D,P);k(U,this),this.dataTask.context.data=U,_(this).dataBeforeProcessed=U,x(this)},mergeDefaultAndTheme:function(D,H){var P=this.layoutMode,K=P?e(D):{},U=this.subType;a.hasClass(U)&&(U+="Series"),E.merge(D,H.getTheme().get(this.subType)),E.merge(D,this.getDefaultOption()),t.defaultEmphasis(D,"label",["show"]),this.fillDataTextStyle(D.data),P&&s(D,K,P)},mergeOption:function(D,H){D=E.merge(this.option,D,!0),this.fillDataTextStyle(D.data);var P=this.layoutMode;P&&s(this.option,D,P),A(this);var K=this.getInitialData(D,H);k(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,_(this).dataBeforeProcessed=K,x(this)},fillDataTextStyle:function(D){if(D&&!E.isTypedArray(D))for(var H=["show"],P=0;P<D.length;P++)D[P]&&D[P].label&&t.defaultEmphasis(D[P],"label",H)},getInitialData:function(){},appendData:function(D){var H=this.getRawData();H.appendData(D.data)},getData:function(D){var H=j(this);if(H){var P=H.context.data;return D==null?P:P.getLinkedData(D)}else return _(this).data},setData:function(D){var H=j(this);if(H){var P=H.context;P.data!==D&&H.modifyOutputEnd&&H.setOutputEnd(D.count()),P.outputData=D,H!==this.dataTask&&(P.data=D)}_(this).data=D},getSource:function(){return w(this)},getRawData:function(){return _(this).dataBeforeProcessed},getBaseAxis:function(){var D=this.coordinateSystem;return D&&D.getBaseAxis&&D.getBaseAxis()},formatTooltip:function(D,H,P,K){var U=this;K=K||"html";var G=K==="html"?"<br/>":`
`,W=K==="richText",Z={},J=0;function ve(se){var Te=E.reduce(se,function(We,at,tt){var Oe=ce.getDimensionInfo(tt);return We|=Oe&&Oe.tooltip!==!1&&Oe.displayName!=null},0),Se=[];be.length?E.each(be,function(We){ie(S(ce,D,We),We)}):E.each(se,ie);function ie(We,at){var tt=ce.getDimensionInfo(at);if(!tt||tt.otherDims.tooltip===!1)return;var Oe=tt.type,yt="sub"+U.seriesIndex+"at"+J,Ye=n({color:Ne,type:"subItem",renderMode:K,markerId:yt}),bt=typeof Ye=="string"?Ye:Ye.content,Ct=(Te?bt+d(tt.displayName||"-")+": ":"")+d(Oe==="ordinal"?We+"":Oe==="time"?H?"":f("yyyy/MM/dd hh:mm:ss",We):l(We));Ct&&Se.push(Ct),W&&(Z[yt]=Ne,++J)}var de=Te?W?`
`:"<br/>":"",_e=de+Se.join(de||", ");return{renderMode:K,content:_e,style:Z}}function q(se){return{renderMode:K,content:d(l(se)),style:Z}}var ce=this.getData(),be=ce.mapDimension("defaultedTooltip",!0),Ce=be.length,Fe=this.getRawValue(D),fe=E.isArray(Fe),Ne=ce.getItemVisual(D,"color");E.isObject(Ne)&&Ne.colorStops&&(Ne=(Ne.colorStops[0]||{}).color),Ne=Ne||"transparent";var Q=Ce>1||fe&&!Ce?ve(Fe):q(Ce?S(ce,D,be[0]):fe?Fe[0]:Fe),ae=Q.content,Ue=U.seriesIndex+"at"+J,te=n({color:Ne,type:"item",renderMode:K,markerId:Ue});Z[Ue]=Ne,++J;var X=ce.getName(D),z=this.name;t.isNameSpecified(this)||(z=""),z=z?d(z)+(H?": ":G):"";var Y=typeof te=="string"?te:te.content,pe=H?Y+z+ae:z+Y+(X?d(X)+": "+ae:ae);return{html:pe,markers:Z}},isAnimationEnabled:function(){if(p.node)return!1;var D=this.getShallow("animation");return D&&(this.getData().count()>this.getShallow("animationThreshold")&&(D=!1)),D},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(D,H,P){var K=this.ecModel,U=o.getColorFromPalette.call(this,D,H,P);return U||(U=K.getColorFromPalette(D,H,P)),U},coordDimToDataDim:function(D){return this.getRawData().mapDimension(D,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});E.mixin(T,r),E.mixin(T,o);function x(D){var H=D.name;t.isNameSpecified(D)||(D.name=C(D)||H)}function C(D){var H=D.getRawData(),P=H.mapDimension("seriesName",!0),K=[];return E.each(P,function(U){var G=H.getDimensionInfo(U);G.displayName&&K.push(G.displayName)}),K.join(" ")}function I(D){return D.model.getRawData().count()}function L(D){var H=D.model;return H.setData(H.getRawData().cloneShallow()),M}function M(D,H){H.outputData&&D.end>H.outputData.count()&&H.model.getRawData().cloneShallow(H.outputData)}function k(D,H){E.each(D.CHANGABLE_METHODS,function(P){D.wrapMethod(P,E.curry(R,H))})}function R(D){var H=j(D);H&&H.setOutputEnd(this.count())}function j(D){var H=(D.ecModel||{}).scheduler,P=H&&H.getPipeline(D.uid);if(P){var K=P.currentTask;if(K){var U=K.agentStubMap;U&&(K=U.get(D.uid))}return K}}var V=T;B.exports=V},T6xi:function(B,N,i){var y=i("YgsL"),m=i("nCxF");function E(p,v,f){var d=v.points,l=v.smooth;if(d&&d.length>=2){if(l&&l!=="spline"){var n=m(d,l,f,v.smoothConstraint);p.moveTo(d[0][0],d[0][1]);for(var t=d.length,a=0;a<(f?t:t-1);a++){var o=n[a*2],r=n[a*2+1],c=d[(a+1)%t];p.bezierCurveTo(o[0],o[1],r[0],r[1],c[0],c[1])}}else{l==="spline"&&(d=y(d,f)),p.moveTo(d[0][0],d[0][1]);for(var a=1,e=d.length;a<e;a++)p.lineTo(d[a][0],d[a][1])}f&&p.closePath()}}N.buildPath=E},TIY9:function(B,N,i){var y=i("bYtY"),m=y.each,E=i("vafp"),p=i("4NO4"),v=p.makeInner,f=i("Mgri"),d=i("F5Ls"),l=i("a9QJ"),n=i("p/La"),t=v(),a={load:function(r,c,e){var s=t(c).parsed;if(s)return s;var u=c.specialAreas||{},h=c.geoJSON,g;try{g=h?E(h,e):[]}catch(A){throw new Error(`Invalid geoJson format
`+A.message)}return f(r,g),m(g,function(A){var w=A.name;d(r,A),l(r,A),n(r,A);var b=u[w];b&&A.transformTo(b.left,b.top,b.width,b.height)}),t(c).parsed={regions:g,boundingRect:o(g)}}};function o(r){for(var c,e=0;e<r.length;e++){var s=r[e].getBoundingRect();c=c||s.clone(),c.union(s)}return c}B.exports=a},TJmX:function(B,N,i){var y=i("zM3Q"),m=["itemStyle","borderColor"],E=["itemStyle","borderColor0"],p=["itemStyle","color"],v=["itemStyle","color0"],f={seriesType:"candlestick",plan:y(),performRawSeries:!0,reset:function(d,l){var n=d.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:o(1,d),colorN:o(-1,d),borderColorP:r(1,d),borderColorN:r(-1,d)}),l.isSeriesFiltered(d))return;var t=d.pipelineContext.large;return!t&&{progress:a};function a(c,e){for(var s;(s=c.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(c,e){return e.get(c>0?p:v)}function r(c,e){return e.get(c>0?m:E)}}};B.exports=f},TWL2:function(B,N,i){var y=i("IwbS"),m=i("bYtY"),E=i("6Ic6");function p(n,t){y.Group.call(this);var a=new y.Polygon,o=new y.Polyline,r=new y.Text;this.add(a),this.add(o),this.add(r),this.highDownOnUpdate=function(c,e){e==="emphasis"?(o.ignore=o.hoverIgnore,r.ignore=r.hoverIgnore):(o.ignore=o.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(n,t,!0)}var v=p.prototype,f=["itemStyle","opacity"];v.updateData=function(n,t,a){var o=this.childAt(0),r=n.hostModel,c=n.getItemModel(t),e=n.getItemLayout(t),s=n.getItemModel(t).get(f);s=s==null?1:s,o.useStyle({}),a?(o.setShape({points:e.points}),o.setStyle({opacity:0}),y.initProps(o,{style:{opacity:s}},r,t)):y.updateProps(o,{style:{opacity:s},shape:{points:e.points}},r,t);var u=c.getModel("itemStyle"),h=n.getItemVisual(t,"color");o.setStyle(m.defaults({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),o.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(n,t),y.setHoverStyle(this)},v._updateLabel=function(n,t){var a=this.childAt(1),o=this.childAt(2),r=n.hostModel,c=n.getItemModel(t),e=n.getItemLayout(t),s=e.label,u=n.getItemVisual(t,"color");y.updateProps(a,{shape:{points:s.linePoints||s.linePoints}},r,t),y.updateProps(o,{style:{x:s.x,y:s.y}},r,t),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var h=c.getModel("label"),g=c.getModel("emphasis.label"),A=c.getModel("labelLine"),w=c.getModel("emphasis.labelLine"),u=n.getItemVisual(t,"color");y.setLabelStyle(o.style,o.hoverStyle={},h,g,{labelFetcher:n.hostModel,labelDataIndex:t,defaultText:n.getName(t),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!h.get("show"),o.hoverIgnore=!g.get("show"),a.ignore=a.normalIgnore=!A.get("show"),a.hoverIgnore=!w.get("show"),a.setStyle({stroke:u}),a.setStyle(A.getModel("lineStyle").getLineStyle()),a.hoverStyle=w.getModel("lineStyle").getLineStyle()},m.inherits(p,y.Group);var d=E.extend({type:"funnel",render:function(n,t,a){var o=n.getData(),r=this._data,c=this.group;o.diff(r).add(function(e){var s=new p(o,e);o.setItemGraphicEl(e,s),c.add(s)}).update(function(e,s){var u=r.getItemGraphicEl(s);u.updateData(o,e),c.add(u),o.setItemGraphicEl(e,u)}).remove(function(e){var s=r.getItemGraphicEl(e);c.remove(s)}).execute(),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),l=d;B.exports=l},TYVI:function(B,N,i){var y=i("5GtS"),m=i("T4UG"),E=m.extend({type:"series.gauge",getInitialData:function(v,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}}}),p=E;B.exports=p},Tghj:function(B,N,i){(function(y){var m;typeof window!="undefined"?m=window.__DEV__:typeof y!="undefined"&&(m=y.__DEV__),typeof m=="undefined"&&(m=!0);var E=m;N.__DEV__=E}).call(this,i("yLpj"))},ThAp:function(B,N,i){var y=i("bYtY"),m=i("5GtS"),E=i("T4UG"),p=i("7aKB"),v=p.encodeHTML,f=p.addCommas,d=i("cCMj"),l=i("KxfA"),n=l.retrieveRawAttr,t=i("W4dC"),a=i("D5nY"),o=a.makeSeriesEncodeForNameBased,r=E.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var s=m(this,{coordDimensions:["value"],encodeDefaulter:y.curry(o,this)}),u=s.mapDimension("value"),h=y.createHashMap(),g=[],A=[],w=0,b=s.count();w<b;w++){var S=s.getName(w);h.set(S,!0),g.push({name:S,value:s.get(u,w),selected:n(s,w,"selected")})}var _=t.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return y.each(_.regions,function(T){var x=T.name;h.get(x)||(g.push({name:x}),A.push(x))}),this.updateSelectedMap(g),s.appendValues([],A),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),g=this.seriesGroup,A=[],w=0;w<g.length;w++){var b=g[w].originalData.indexOfName(h),S=s.mapDimension("value");isNaN(g[w].originalData.get(S,b))||A.push(v(g[w].name))}return A.join(", ")+"<br />"+v(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 c=r;B.exports=c},TkdX:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,v=4;function f(r,c,e){m.Group.call(this);var s=new m.Sector({z2:p});s.seriesIndex=c.seriesIndex;var u=new m.Text({z2:v,silent:r.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,r,"normal",c,e);function h(){u.ignore=u.hoverIgnore}function g(){u.ignore=u.normalIgnore}this.on("emphasis",h).on("normal",g).on("mouseover",h).on("mouseout",g)}var d=f.prototype;d.updateData=function(r,c,e,s,u){this.node=c,c.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var h=this.childAt(0);h.dataIndex=c.dataIndex;var g=c.getModel(),A=c.getLayout(),w=y.extend({},A);w.label=null;var b=n(c,s,u);o(c,s,b);var S=g.getModel("itemStyle").getItemStyle(),_;if(e==="normal")_=S;else{var T=g.getModel(e+".itemStyle").getItemStyle();_=y.merge(T,S)}_=y.defaults({lineJoin:"bevel",fill:_.fill||b},_),r?(h.setShape(w),h.shape.r=A.r0,m.updateProps(h,{shape:{r:A.r}},s,c.dataIndex),h.useStyle(_)):typeof _.fill=="object"&&_.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(m.updateProps(h,{shape:w},s),h.useStyle(_)):m.updateProps(h,{shape:w,style:_},s),this._updateLabel(s,b,e);var x=g.getShallow("cursor");if(x&&h.attr("cursor",x),r){var C=s.getShallow("highlightPolicy");this._initEvents(h,c,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,m.setHoverStyle(this)},d.onEmphasis=function(r){var c=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(c.node===e?e.piece.updateData(!1,e,"emphasis"):a(e,c.node,r)?e.piece.childAt(0).trigger("highlight"):r!==E.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,c,e){var s=this.node.getModel(),u=s.getModel("label"),h=e==="normal"||e==="emphasis"?u:s.getModel(e+".label"),g=s.getModel("emphasis.label"),A=y.retrieve(r.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);H("show")===!1&&(A="");var w=this.node.getLayout(),b=h.get("minAngle");b==null&&(b=u.get("minAngle")),b=b/180*Math.PI;var S=w.endAngle-w.startAngle;b!=null&&Math.abs(S)<b&&(A="");var _=this.childAt(1);m.setLabelStyle(_.style,_.hoverStyle||{},u,g,{defaultText:h.getShallow("show")?A:null,autoColor:c,useInsideStyle:!0});var T=(w.startAngle+w.endAngle)/2,x=Math.cos(T),C=Math.sin(T),I,L=H("position"),M=H("distance")||0,k=H("align");L==="outside"?(I=w.r+M,k=T>Math.PI/2?"right":"left"):!k||k==="center"?(I=(w.r+w.r0)/2,k="center"):k==="left"?(I=w.r0+M,T>Math.PI/2&&(k="right")):k==="right"&&(I=w.r-M,T>Math.PI/2&&(k="left")),_.attr("style",{text:A,textAlign:k,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var R=I*x+w.cx,j=I*C+w.cy;_.attr("position",[R,j]);var V=H("rotate"),D=0;V==="radial"?(D=-T,D<-Math.PI/2&&(D+=Math.PI)):V==="tangential"?(D=Math.PI/2-T,D>Math.PI/2?D-=Math.PI:D<-Math.PI/2&&(D+=Math.PI)):typeof V=="number"&&(D=V*Math.PI/180),_.attr("rotation",D);function H(P){var K=h.get(P);return K==null?u.get(P):K}},d._initEvents=function(r,c,e,s){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,h=function(){u.onEmphasis(s)},g=function(){u.onNormal()},A=function(){u.onDownplay()},w=function(){u.onHighlight()};e.isAnimationEnabled()&&r.on("mouseover",h).on("mouseout",g).on("emphasis",h).on("normal",g).on("downplay",A).on("highlight",w)},y.inherits(f,m.Group);var l=f;function n(r,c,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 g=e.option.color.length;return h=e.option.color[t(r)%g],h}function t(r){for(var c=r;c.depth>1;)c=c.parentNode;var e=r.getAncestors()[0];return y.indexOf(e.children,c)}function a(r,c,e){return e===E.NONE?!1:e===E.SELF?r===c:e===E.ANCESTOR?r===c||r.isAncestorOf(c):r===c||r.isDescendantOf(c)}function o(r,c,e){var s=c.getData();s.setItemVisual(r.dataIndex,"color",e)}B.exports=l},Tp9H:function(B,N,i){var y=i("ItGF"),m=i("Kagy"),E=i("IUWy"),p=m.toolbox.saveAsImage;function v(l){this.model=l}v.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:p.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:p.lang.slice()},v.prototype.unusable=!y.canvasSupported;var f=v.prototype;f.onclick=function(l,n){var t=this.model,a=t.get("name")||l.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",r=o?"svg":t.get("type",!0)||"png",c=n.getConnectedDataURL({type:r,backgroundColor:t.get("backgroundColor",!0)||l.get("backgroundColor")||"#fff",connectedBackgroundColor:t.get("connectedBackgroundColor"),excludeComponents:t.get("excludeComponents"),pixelRatio:t.get("pixelRatio")});if(typeof MouseEvent=="function"&&!y.browser.ie&&!y.browser.edge){var e=document.createElement("a");e.download=a+"."+r,e.target="_blank",e.href=c;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(c.split(",")[1]),h=u.length,g=new Uint8Array(h);h--;)g[h]=u.charCodeAt(h);var A=new Blob([g]);window.navigator.msSaveOrOpenBlob(A,a+"."+r)}else{var w=t.get("lang"),b='<body style="margin:0;"><img src="'+c+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',S=window.open();S.document.write(b)}},E.register("saveAsImage",v);var d=v;B.exports=d},"U/Mo":function(B,N){function i(m){var E=m.coordinateSystem;if(E.type!=="view")return 1;var p=m.option.nodeScaleRatio,v=E.scale,f=v&&v[0]||1,d=E.getZoom(),l=(d-1)*p+1;return l/f}function y(m){var E=m.getVisual("symbolSize");return E instanceof Array&&(E=(E[0]+E[1])/2),+E}N.getNodeGlobalScale=i,N.getSymbolSize=y},UADf:function(B,N,i){},UESt:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="RightOutlined";var d=N.a=m.forwardRef(f)},UOVi:function(B,N,i){var y=i("bYtY"),m=i("7aKB"),E=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function v(n){return y.indexOf(p,n)>=0}function f(n,t){n=n.slice();var a=y.map(n,m.capitalFirst);t=(t||[]).slice();var o=y.map(t,m.capitalFirst);return function(r,c){y.each(n,function(e,s){for(var u={name:e,capital:a[s]},h=0;h<t.length;h++)u[t[h]]=e+o[h];r.call(c,u)})}}var d=f(E,["axisIndex","axis","index","id"]);function l(n,t,a){return function(e){var s={nodes:[],records:{}};if(t(function(g){s.records[g.name]={}}),!e)return s;c(e,s);var u;do u=!1,n(h);while(u);function h(g){!o(g,s)&&r(g,s)&&(c(g,s),u=!0)}return s};function o(e,s){return y.indexOf(s.nodes,e)>=0}function r(e,s){var u=!1;return t(function(h){y.each(a(e,h)||[],function(g){s.records[h.name][g]&&(u=!0)})}),u}function c(e,s){s.nodes.push(e),t(function(u){y.each(a(e,u)||[],function(h){s.records[u.name][h]=!0})})}}N.isCoordSupported=v,N.createNameEach=f,N.eachAxisDim=d,N.createLinkedNodesFinder=l},Uc92:function(B,N,i){"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(B,N,i){var y=i("bYtY"),m=i("OELB");function E(f,d){f.eachSeriesByType("themeRiver",function(l){var n=l.getData(),t=l.coordinateSystem,a={},o=t.getRect();a.rect=o;var r=l.get("boundaryGap"),c=t.getAxis();if(a.boundaryGap=r,c.orient==="horizontal"){r[0]=m.parsePercent(r[0],o.height),r[1]=m.parsePercent(r[1],o.height);var e=o.height-r[0]-r[1];p(n,l,e)}else{r[0]=m.parsePercent(r[0],o.width),r[1]=m.parsePercent(r[1],o.width);var s=o.width-r[0]-r[1];p(n,l,s)}n.setLayout("layoutInfo",a)})}function p(f,d,l){if(!f.count())return;for(var n=d.coordinateSystem,t=d.getLayerSeries(),a=f.mapDimension("single"),o=f.mapDimension("value"),r=y.map(t,function(b){return y.map(b.indices,function(S){var _=n.dataToPoint(f.get(a,S));return _[1]=f.get(o,S),_})}),c=v(r),e=c.y0,s=l/c.max,u=t.length,h=t[0].indices.length,g,A=0;A<h;++A){g=e[A]*s,f.setItemLayout(t[0].indices[A],{layerIndex:0,x:r[0][A][0],y0:g,y:r[0][A][1]*s});for(var w=1;w<u;++w)g+=r[w-1][A][1]*s,f.setItemLayout(t[w].indices[A],{layerIndex:w,x:r[w][A][0],y0:g,y:r[w][A][1]*s})}}function v(f){for(var d=f.length,l=f[0].length,n=[],t=[],a=0,o,r={},c=0;c<l;++c){for(var e=0,o=0;e<d;++e)o+=f[e][c][1];o>a&&(a=o),n.push(o)}for(var s=0;s<l;++s)t[s]=(a-n[s])/2;a=0;for(var u=0;u<l;++u){var h=n[u]+t[u];h>a&&(a=h)}return r.y0=t,r.max=a,r}B.exports=E},Urep:function(B,N,i){},V7ic:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("digP")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FileTwoTone";var l=p.forwardRef(d);N.default=l},VFCP:function(B,N,i){i("dBmv"),i("KamJ")},VPsl:function(B,N){function i(y){y.eachSeriesByType("map",function(m){var E=m.get("color"),p=m.getModel("itemStyle"),v=p.get("areaColor"),f=p.get("color")||E[m.seriesIndex%E.length];m.getData().setVisual({areaColor:v,color:f})})}B.exports=i},VR9l:function(B,N,i){var y=i("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),E={getItemStyle:function(p,v){var f=m(this,p,v),d=this.getBorderLineDash();return d&&(f.lineDash=d),f},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};B.exports=E},VSLf:function(B,N,i){i("I+Bx"),i("F0hE"),i("bBKM")},VSMT:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.decodeUTF8=y,N.encodeUTF8=m;function y(E){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(E))}catch(v){if(v instanceof URIError&&p)return E;throw v}}function m(E){return unescape(encodeURIComponent(E))}},VXYp:function(B,N,i){var y=i("bYtY"),m=i("SgGq"),E=i("iLNv"),p="\0_ec_dataZoom_roams";function v(r,c){var e=l(r),s=c.dataZoomId,u=c.coordId;y.each(e,function(A,w){var b=A.dataZoomInfos;b[s]&&y.indexOf(c.allCoordIds,u)<0&&(delete b[s],A.count--)}),t(e);var h=e[u];h||(h=e[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=n(r,h),h.dispatchAction=y.curry(a,r)),!h.dataZoomInfos[s]&&h.count++,h.dataZoomInfos[s]=c;var g=o(h.dataZoomInfos);h.controller.enable(g.controlType,g.opt),h.controller.setPointerChecker(c.containsPoint),E.createOrUpdate(h,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function f(r,c){var e=l(r);y.each(e,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[c]&&(delete u[c],s.count--)}),t(e)}function d(r){return r.type+"\0_"+r.id}function l(r){var c=r.getZr();return c[p]||(c[p]={})}function n(r,c){var e=new m(r.getZr());return y.each(["pan","zoom","scrollMove"],function(s){e.on(s,function(u){var h=[];y.each(c.dataZoomInfos,function(g){if(!u.isAvailableBehavior(g.dataZoomModel.option))return;var A=(g.getRange||{})[s],w=A&&A(c.controller,u);!g.dataZoomModel.get("disabled",!0)&&w&&h.push({dataZoomId:g.dataZoomId,start:w[0],end:w[1]})}),h.length&&c.dispatchAction(h)})}),e}function t(r){y.each(r,function(c,e){c.count||(c.controller.dispose(),delete r[e])})}function a(r,c){r.dispatchAction({type:"dataZoom",batch:c})}function o(r){var c,e="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return y.each(r,function(h){var g=h.dataZoomModel,A=g.get("disabled",!0)?!1:g.get("zoomLock",!0)?"move":!0;s[e+A]>s[e+c]&&(c=A),u&=g.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}N.register=v,N.unregister=f,N.generateCoordId=d},VaxA:function(B,N,i){var y=i("bYtY");function m(f,d,l){if(f&&y.indexOf(d,f.type)>=0){var n=l.getData().tree.root,t=f.targetNode;if(typeof t=="string"&&(t=n.getNodeById(t)),t&&n.contains(t))return{node:t};var a=f.targetNodeId;if(a!=null&&(t=n.getNodeById(a)))return{node:t}}}function E(f){for(var d=[];f;)f=f.parentNode,f&&d.push(f);return d.reverse()}function p(f,d){var l=E(f);return y.indexOf(l,d)>=0}function v(f,d){for(var l=[];f;){var n=f.dataIndex;l.push({name:f.name,dataIndex:n,value:d.getRawValue(n)}),f=f.parentNode}return l.reverse(),l}N.retrieveTargetInfo=m,N.getPathToRoot=E,N.aboveViewRoot=p,N.wrapTreePathInfo=v},Vi4m:function(B,N,i){var y=i("bYtY");function m(p){p!=null&&y.extend(this,p),this.otherDims={}}var E=m;B.exports=E},Vl3Y:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("J4zp"),p=i.n(E),v=i("lSNA"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("85Yc"),a=i("H84U"),o=i("BGR+"),r=d.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=d.createContext({updateItemErrors:function(){}}),e=function(kt){var nr=Object(o.default)(kt,["prefixCls"]);return d.createElement(t.FormProvider,nr)};function s(he){return typeof he=="object"&&he!=null&&he.nodeType===1}function u(he,kt){return(!kt||he!=="hidden")&&he!=="visible"&&he!=="clip"}function h(he,kt){if(he.clientHeight<he.scrollHeight||he.clientWidth<he.scrollWidth){var nr=getComputedStyle(he,null);return u(nr.overflowY,kt)||u(nr.overflowX,kt)||function(lt){var Xt=function(hr){if(!hr.ownerDocument||!hr.ownerDocument.defaultView)return null;try{return hr.ownerDocument.defaultView.frameElement}catch(Wr){return null}}(lt);return!!Xt&&(Xt.clientHeight<lt.scrollHeight||Xt.clientWidth<lt.scrollWidth)}(he)}return!1}function g(he,kt,nr,lt,Xt,hr,Wr,mt){return hr<he&&Wr>kt||hr>he&&Wr<kt?0:hr<=he&&mt<=nr||Wr>=kt&&mt>=nr?hr-he-lt:Wr>kt&&mt<nr||hr<he&&mt>nr?Wr-kt+Xt:0}var A=function(he,kt){var nr=window,lt=kt.scrollMode,Xt=kt.block,hr=kt.inline,Wr=kt.boundary,mt=kt.skipOverflowHiddenElements,Et=typeof Wr=="function"?Wr:function(Mn){return Mn!==Wr};if(!s(he))throw new TypeError("Invalid target");for(var rt=document.scrollingElement||document.documentElement,He=[],ze=he;s(ze)&&Et(ze);){if((ze=ze.parentElement)===rt){He.push(ze);break}ze!=null&&ze===document.body&&h(ze)&&!h(document.documentElement)||ze!=null&&h(ze,mt)&&He.push(ze)}for(var Rt=nr.visualViewport?nr.visualViewport.width:innerWidth,sr=nr.visualViewport?nr.visualViewport.height:innerHeight,Jt=window.scrollX||pageXOffset,qt=window.scrollY||pageYOffset,qr=he.getBoundingClientRect(),Fr=qr.height,mn=qr.width,Tt=qr.top,St=qr.right,Re=qr.bottom,Ve=qr.left,Xe=Xt==="start"||Xt==="nearest"?Tt:Xt==="end"?Re:Tt+Fr/2,ct=hr==="center"?Ve+mn/2:hr==="end"?St:Ve,tr=[],ir=0;ir<He.length;ir++){var or=He[ir],Xr=or.getBoundingClientRect(),Yr=Xr.height,bn=Xr.width,Yt=Xr.top,pt=Xr.right,ht=Xr.bottom,Zt=Xr.left;if(lt==="if-needed"&&Tt>=0&&Ve>=0&&Re<=sr&&St<=Rt&&Tt>=Yt&&Re<=ht&&Ve>=Zt&&St<=pt)return tr;var $t=getComputedStyle(or),At=parseInt($t.borderLeftWidth,10),Pt=parseInt($t.borderTopWidth,10),gt=parseInt($t.borderRightWidth,10),Wt=parseInt($t.borderBottomWidth,10),yr=0,cr=0,pr="offsetWidth"in or?or.offsetWidth-or.clientWidth-At-gt:0,Qr="offsetHeight"in or?or.offsetHeight-or.clientHeight-Pt-Wt:0;if(rt===or)yr=Xt==="start"?Xe:Xt==="end"?Xe-sr:Xt==="nearest"?g(qt,qt+sr,sr,Pt,Wt,qt+Xe,qt+Xe+Fr,Fr):Xe-sr/2,cr=hr==="start"?ct:hr==="center"?ct-Rt/2:hr==="end"?ct-Rt:g(Jt,Jt+Rt,Rt,At,gt,Jt+ct,Jt+ct+mn,mn),yr=Math.max(0,yr+qt),cr=Math.max(0,cr+Jt);else{yr=Xt==="start"?Xe-Yt-Pt:Xt==="end"?Xe-ht+Wt+Qr:Xt==="nearest"?g(Yt,ht,Yr,Pt,Wt+Qr,Xe,Xe+Fr,Fr):Xe-(Yt+Yr/2)+Qr/2,cr=hr==="start"?ct-Zt-At:hr==="center"?ct-(Zt+bn/2)+pr/2:hr==="end"?ct-pt+gt+pr:g(Zt,pt,bn,At,gt+pr,ct,ct+mn,mn);var $r=or.scrollLeft,Ln=or.scrollTop;Xe+=Ln-(yr=Math.max(0,Math.min(Ln+yr,or.scrollHeight-Yr+Qr))),ct+=$r-(cr=Math.max(0,Math.min($r+cr,or.scrollWidth-bn+pr)))}tr.push({el:or,top:yr,left:cr})}return tr};function w(he){return he===Object(he)&&Object.keys(he).length!==0}function b(he,kt){kt===void 0&&(kt="auto");var nr="scrollBehavior"in document.body.style;he.forEach(function(lt){var Xt=lt.el,hr=lt.top,Wr=lt.left;Xt.scroll&&nr?Xt.scroll({top:hr,left:Wr,behavior:kt}):(Xt.scrollTop=hr,Xt.scrollLeft=Wr)})}function S(he){return he===!1?{block:"end",inline:"nearest"}:w(he)?he:{block:"start",inline:"nearest"}}function _(he,kt){var nr=!he.ownerDocument.documentElement.contains(he);if(w(kt)&&typeof kt.behavior=="function")return kt.behavior(nr?[]:A(he,kt));if(nr)return;var lt=S(kt);return b(A(he,lt),lt.behavior)}var T=_;function x(he){return he===void 0||he===!1?[]:Array.isArray(he)?he:[he]}function C(he,kt){if(!he.length)return;var nr=he.join("_");return kt?"".concat(kt,"_").concat(nr):nr}function I(he){var kt=x(he);return kt.join("_")}function L(he){var kt=Object(t.useForm)(),nr=p()(kt,1),lt=nr[0],Xt=Object(d.useRef)({}),hr=Object(d.useMemo)(function(){return he||m()(m()({},lt),{__INTERNAL__:{itemRef:function(mt){return function(Et){var rt=I(mt);Et?Xt.current[rt]=Et:delete Xt.current[rt]}}},scrollToField:function(mt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rt=x(mt),He=C(rt,hr.__INTERNAL__.name),ze=He?document.getElementById(He):null;ze&&T(ze,m()({scrollMode:"if-needed",block:"nearest"},Et))},getFieldInstance:function(mt){var Et=I(mt);return Xt.current[Et]}})},[he,lt]);return[hr]}var M=i("3Nzz"),k=function(he,kt){var nr={};for(var lt in he)Object.prototype.hasOwnProperty.call(he,lt)&&kt.indexOf(lt)<0&&(nr[lt]=he[lt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(he);Xt<lt.length;Xt++)kt.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(he,lt[Xt])&&(nr[lt[Xt]]=he[lt[Xt]]);return nr},R=function(kt,nr){var lt,Xt=d.useContext(M.b),hr=d.useContext(a.b),Wr=hr.getPrefixCls,mt=hr.direction,Et=kt.name,rt=kt.prefixCls,He=kt.className,ze=He===void 0?"":He,Rt=kt.size,sr=Rt===void 0?Xt:Rt,Jt=kt.form,qt=kt.colon,qr=kt.labelAlign,Fr=kt.labelCol,mn=kt.wrapperCol,Tt=kt.hideRequiredMark,St=kt.layout,Re=St===void 0?"horizontal":St,Ve=kt.scrollToFirstError,Xe=kt.requiredMark,ct=kt.onFinishFailed,tr=k(kt,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),ir=Object(d.useMemo)(function(){return Xe!==void 0?Xe:!Tt},[Tt,Xe]),or=Wr("form",rt),Xr=n()(or,(lt={},f()(lt,"".concat(or,"-").concat(Re),!0),f()(lt,"".concat(or,"-hide-required-mark"),ir===!1),f()(lt,"".concat(or,"-rtl"),mt==="rtl"),f()(lt,"".concat(or,"-").concat(sr),sr),lt),ze),Yr=L(Jt),bn=p()(Yr,1),Yt=bn[0],pt=Yt.__INTERNAL__;pt.name=Et;var ht=Object(d.useMemo)(function(){return{name:Et,labelAlign:qr,labelCol:Fr,wrapperCol:mn,vertical:Re==="vertical",colon:qt,requiredMark:ir,itemRef:pt.itemRef}},[Et,qr,Fr,mn,Re,qt,ir]);d.useImperativeHandle(nr,function(){return Yt});var Zt=function(At){ct&&ct(At),Ve&&At.errorFields.length&&Yt.scrollToField(At.errorFields[0].name)};return d.createElement(M.a,{size:sr},d.createElement(r.Provider,{value:ht},d.createElement(t.default,m()({id:Et},tr,{onFinishFailed:Zt,form:Yt,className:Xr}))))},j=d.forwardRef(R),V=j,D=i("cDf5"),H=i.n(D),P=i("RIqP"),K=i.n(P),U=i("Y+p1"),G=i.n(U),W=i("KW7l"),Z=i("c+Xe"),J=i("qrJ5"),ve=i("CWQg"),q=i("uaoM"),ce=i("/kpp"),be=i("YMnH"),Ce=i("ZvpZ"),Fe=function(kt){var nr=kt.prefixCls,lt=kt.label,Xt=kt.htmlFor,hr=kt.labelCol,Wr=kt.labelAlign,mt=kt.colon,Et=kt.required,rt=kt.requiredMark,He=Object(be.b)("Form"),ze=p()(He,1),Rt=ze[0];return lt?d.createElement(r.Consumer,{key:"label"},function(sr){var Jt,qt=sr.vertical,qr=sr.labelAlign,Fr=sr.labelCol,mn=sr.colon,Tt,St=hr||Fr||{},Re=Wr||qr,Ve="".concat(nr,"-item-label"),Xe=n()(Ve,Re==="left"&&"".concat(Ve,"-left"),St.className),ct=lt,tr=mt===!0||mn!==!1&&mt!==!1,ir=tr&&!qt;ir&&typeof lt=="string"&&lt.trim()!==""&&(ct=lt.replace(/[:|]\s*$/,"")),rt==="optional"&&!Et&&(ct=d.createElement(d.Fragment,null,ct,d.createElement("span",{className:"".concat(nr,"-item-optional")},(Rt==null?void 0:Rt.optional)||((Tt=Ce.a.Form)===null||Tt===void 0?void 0:Tt.optional))));var or=n()((Jt={},f()(Jt,"".concat(nr,"-item-required"),Et),f()(Jt,"".concat(nr,"-item-required-mark-optional"),rt==="optional"),f()(Jt,"".concat(nr,"-item-no-colon"),!tr),Jt));return d.createElement(ce.a,m()({},St,{className:Xe}),d.createElement("label",{htmlFor:Xt,className:or,title:typeof lt=="string"?lt:""},ct))}):null},fe=Fe,Ne=i("gZBC"),Q=i.n(Ne),ae=i("kbBi"),Ue=i.n(ae),te=i("J84W"),X=i.n(te),z=i("sKbD"),Y=i.n(z),pe=i("YrtM"),se=i("8XRh"),Te=i("hkKa");function Se(he,kt,nr){var lt=d.useRef({errors:he,visible:!!he.length}),Xt=Object(Te.a)(),hr=function(){var mt=lt.current.visible,Et=!!he.length,rt=lt.current.errors;lt.current.errors=he,lt.current.visible=Et,mt!==Et?kt(Et):(rt.length!==he.length||rt.some(function(He,ze){return He!==he[ze]}))&&Xt()};return d.useEffect(function(){if(!nr){var Wr=setTimeout(hr,10);return function(){return clearTimeout(Wr)}}},[he]),nr&&hr(),[lt.current.visible,lt.current.errors]}var ie={success:X.a,warning:Y.a,error:Ue.a,validating:Q.a},de=function(kt){var nr=kt.prefixCls,lt=kt.wrapperCol,Xt=kt.children,hr=kt.help,Wr=kt.errors,mt=kt.onDomErrorVisibleChange,Et=kt.hasFeedback,rt=kt.validateStatus,He=kt.extra,ze=Object(Te.a)(),Rt="".concat(nr,"-item"),sr=d.useContext(r),Jt=lt||sr.wrapperCol||{},qt=n()("".concat(Rt,"-control"),Jt.className),qr=Se(Wr,function(ct){ct&&Promise.resolve().then(function(){mt(!0)}),ze()},!!hr),Fr=p()(qr,2),mn=Fr[0],Tt=Fr[1];d.useEffect(function(){return function(){mt(!1)}},[]);var St=Object(pe.a)(function(){return Tt},mn,function(ct,tr){return tr}),Re=rt&&ie[rt],Ve=Et&&Re?d.createElement("span",{className:"".concat(Rt,"-children-icon")},d.createElement(Re,null)):null,Xe=m()({},sr);return delete Xe.labelCol,delete Xe.wrapperCol,d.createElement(r.Provider,{value:Xe},d.createElement(ce.a,m()({},Jt,{className:qt}),d.createElement("div",{className:"".concat(Rt,"-control-input")},d.createElement("div",{className:"".concat(Rt,"-control-input-content")},Xt),Ve),d.createElement(se.default,{motionDeadline:500,visible:mn,motionName:"show-help",onLeaveEnd:function(){mt(!1)},motionAppear:!0,removeOnLeave:!0},function(ct){var tr=ct.className;return d.createElement("div",{className:n()("".concat(Rt,"-explain"),tr),key:"help"},St.map(function(ir,or){return d.createElement("div",{key:or,role:"alert"},ir)}))}),He&&d.createElement("div",{className:"".concat(Rt,"-extra")},He)))},_e=de,We=i("0n0R"),at=i("xEkU"),tt=i.n(at);function Oe(he){var kt=d.useState(he),nr=p()(kt,2),lt=nr[0],Xt=nr[1],hr=Object(d.useRef)(null),Wr=Object(d.useRef)([]),mt=Object(d.useRef)(!1);d.useEffect(function(){return function(){mt.current=!0,tt.a.cancel(hr.current)}},[]);function Et(rt){if(mt.current)return;hr.current===null&&(Wr.current=[],hr.current=tt()(function(){hr.current=null,Xt(function(He){var ze=He;return Wr.current.forEach(function(Rt){ze=Rt(ze)}),ze})})),Wr.current.push(rt)}return[lt,Et]}function yt(){var he=d.useContext(r),kt=he.itemRef,nr=d.useRef({});function lt(Xt,hr){var Wr=hr&&H()(hr)==="object"&&hr.ref,mt=Xt.join("_");return(nr.current.name!==mt||nr.current.originRef!==Wr)&&(nr.current.name=mt,nr.current.originRef=Wr,nr.current.ref=Object(Z.a)(kt(Xt),Wr)),nr.current.ref}return lt}var Ye=function(he,kt){var nr={};for(var lt in he)Object.prototype.hasOwnProperty.call(he,lt)&&kt.indexOf(lt)<0&&(nr[lt]=he[lt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(he);Xt<lt.length;Xt++)kt.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(he,lt[Xt])&&(nr[lt[Xt]]=he[lt[Xt]]);return nr},bt=Object(ve.a)("success","warning","error","validating",""),Ct=d.memo(function(he){var kt=he.children;return kt},function(he,kt){return he.value===kt.value&&he.update===kt.update});function It(he){return he===null&&Object(q.a)(!1,"Form.Item","`null` is passed as `name` property"),!(he==null)}function Ft(he){var kt=he.name,nr=he.fieldKey,lt=he.noStyle,Xt=he.dependencies,hr=he.prefixCls,Wr=he.style,mt=he.className,Et=he.shouldUpdate,rt=he.hasFeedback,He=he.help,ze=he.rules,Rt=he.validateStatus,sr=he.children,Jt=he.required,qt=he.label,qr=he.trigger,Fr=qr===void 0?"onChange":qr,mn=he.validateTrigger,Tt=he.hidden,St=Ye(he,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),Re=d.useRef(!1),Ve=d.useContext(a.b),Xe=Ve.getPrefixCls,ct=d.useContext(r),tr=ct.name,ir=ct.requiredMark,or=d.useContext(c),Xr=or.updateItemErrors,Yr=d.useState(!!He),bn=p()(Yr,2),Yt=bn[0],pt=bn[1],ht=d.useRef(Rt),Zt=Oe({}),$t=p()(Zt,2),At=$t[0],Pt=$t[1],gt=d.useContext(W.b),Wt=gt.validateTrigger,yr=mn!==void 0?mn:Wt;function cr(Ze){Re.current||pt(Ze)}var pr=It(kt),Qr=d.useRef([]);d.useEffect(function(){return function(){Re.current=!0,Xr(Qr.current.join("__SPLIT__"),[])}},[]);var $r=Xe("form",hr),Ln=lt?Xr:function(Ze,xe){Pt(function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return G()(Me[Ze],xe)?Me:m()(m()({},Me),f()({},Ze,xe))})},Mn=yt();function Vn(Ze,xe,Me,ke){var Ge,Ke;if(lt&&!Tt)return Ze;var Je=[];Object.keys(At).forEach(function(br){Je=[].concat(K()(Je),K()(At[br]||[]))});var vt;He!=null?vt=x(He):(vt=Me?Me.errors:[],vt=[].concat(K()(vt),K()(Je)));var ot="";Rt!==void 0?ot=Rt:(Me==null?void 0:Me.validating)?ot="validating":((Ke=Me==null?void 0:Me.errors)===null||Ke===void 0?void 0:Ke.length)||Je.length?ot="error":(Me==null?void 0:Me.touched)&&(ot="success"),Yt&&He&&(ht.current=ot);var Ut=(Ge={},f()(Ge,"".concat($r,"-item"),!0),f()(Ge,"".concat($r,"-item-with-help"),Yt||He),f()(Ge,"".concat(mt),!!mt),f()(Ge,"".concat($r,"-item-has-feedback"),ot&&rt),f()(Ge,"".concat($r,"-item-has-success"),ot==="success"),f()(Ge,"".concat($r,"-item-has-warning"),ot==="warning"),f()(Ge,"".concat($r,"-item-has-error"),ot==="error"),f()(Ge,"".concat($r,"-item-has-error-leave"),!He&&Yt&&ht.current==="error"),f()(Ge,"".concat($r,"-item-is-validating"),ot==="validating"),f()(Ge,"".concat($r,"-item-hidden"),Tt),Ge);return d.createElement(J.a,m()({className:n()(Ut),style:Wr,key:"row"},Object(o.default)(St,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),d.createElement(fe,m()({htmlFor:xe,required:ke,requiredMark:ir},he,{prefixCls:$r})),d.createElement(_e,m()({},he,Me,{errors:vt,prefixCls:$r,onDomErrorVisibleChange:cr,validateStatus:ot}),d.createElement(c.Provider,{value:{updateItemErrors:Ln}},Ze)))}var ii=typeof sr=="function",Li=d.useRef(0);if(Li.current+=1,!pr&&!ii&&!Xt)return Vn(sr);var Pi={};return typeof qt=="string"&&(Pi.label=qt),d.createElement(t.Field,m()({},he,{messageVariables:Pi,trigger:Fr,validateTrigger:yr,onReset:function(){cr(!1)}}),function(Ze,xe,Me){var ke=xe.errors,Ge=x(kt).length&&xe?xe.name:[],Ke=C(Ge,tr);if(lt){if(Qr.current=K()(Ge),nr){var Je=Array.isArray(nr)?nr:[nr];Qr.current=[].concat(K()(Ge.slice(0,-1)),K()(Je))}Xr(Qr.current.join("__SPLIT__"),ke)}var vt=Jt!==void 0?Jt:!!(ze&&ze.some(function(Or){if(Or&&H()(Or)==="object"&&Or.required)return!0;if(typeof Or=="function"){var zt=Or(Me);return zt&&zt.required}return!1})),ot=m()({},Ze),Ut=null;if(Object(q.a)(!(Et&&Xt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(sr)&&pr)Object(q.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Ut=sr;else if(ii&&(!(Et||Xt)||pr))Object(q.a)(!!(Et||Xt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(q.a)(!pr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Xt&&!ii&&!pr)Object(q.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(We.b)(sr)){Object(q.a)(sr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var br=m()(m()({},sr.props),ot);br.id||(br.id=Ke),Object(Z.c)(sr)&&(br.ref=Mn(Ge,sr));var Ar=new Set([].concat(K()(x(Fr)),K()(x(yr))));Ar.forEach(function(Or){br[Or]=function(){for(var zt,un,lr,Vr,Br,Sr=arguments.length,xn=new Array(Sr),Hn=0;Hn<Sr;Hn++)xn[Hn]=arguments[Hn];(lr=ot[Or])===null||lr===void 0||(zt=lr).call.apply(zt,[ot].concat(xn)),(Br=(Vr=sr.props)[Or])===null||Br===void 0||(un=Br).call.apply(un,[Vr].concat(xn))}}),Ut=d.createElement(Ct,{value:ot[he.valuePropName||"value"],update:Li.current},Object(We.a)(sr,br))}else ii&&(Et||Xt)&&!pr?Ut=sr(Me):(Object(q.a)(!Ge.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),Ut=sr);return Vn(Ut,Ke,xe,vt)})}var Vt=Ft,$e=function(he,kt){var nr={};for(var lt in he)Object.prototype.hasOwnProperty.call(he,lt)&&kt.indexOf(lt)<0&&(nr[lt]=he[lt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(he);Xt<lt.length;Xt++)kt.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(he,lt[Xt])&&(nr[lt[Xt]]=he[lt[Xt]]);return nr},ge=function(kt){var nr=kt.children,lt=$e(kt,["children"]);return Object(q.a)(!!lt.name,"Form.List","Miss `name` prop."),d.createElement(t.List,lt,function(Xt,hr){return nr(Xt.map(function(Wr){return m()(m()({},Wr),{fieldKey:Wr.key})}),hr)})},ne=ge,wt=V;wt.Item=Vt,wt.List=ne,wt.useForm=L,wt.Provider=e,wt.create=function(){Object(q.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var qe=N.a=wt},VpOo:function(B,N){function i(y,m){var E=m.x,p=m.y,v=m.width,f=m.height,d=m.r,l,n,t,a;v<0&&(E=E+v,v=-v),f<0&&(p=p+f,f=-f),typeof d=="number"?l=n=t=a=d:d instanceof Array?d.length===1?l=n=t=a=d[0]:d.length===2?(l=t=d[0],n=a=d[1]):d.length===3?(l=d[0],n=a=d[1],t=d[2]):(l=d[0],n=d[1],t=d[2],a=d[3]):l=n=t=a=0;var o;l+n>v&&(o=l+n,l*=v/o,n*=v/o),t+a>v&&(o=t+a,t*=v/o,a*=v/o),n+t>f&&(o=n+t,n*=f/o,t*=f/o),l+a>f&&(o=l+a,l*=f/o,a*=f/o),y.moveTo(E+l,p),y.lineTo(E+v-n,p),n!==0&&y.arc(E+v-n,p+n,n,-Math.PI/2,0),y.lineTo(E+v,p+f-t),t!==0&&y.arc(E+v-t,p+f-t,t,0,Math.PI/2),y.lineTo(E+a,p+f),a!==0&&y.arc(E+a,p+f-a,a,Math.PI/2,Math.PI),y.lineTo(E,p+l),l!==0&&y.arc(E+l,p+l,l,Math.PI,Math.PI*1.5)}N.buildPath=i},"VrN/":function(B,N,i){(function(y,m){B.exports=m()})(this,function(){"use strict";var y=navigator.userAgent,m=navigator.platform,E=/gecko\/\d/i.test(y),p=/MSIE \d/.test(y),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),f=/Edge\/(\d+)/.exec(y),d=p||v||f,l=d&&(p?document.documentMode||6:+(f||v)[1]),n=!f&&/WebKit\//.test(y),t=n&&/Qt\/\d+\.\d+/.test(y),a=!f&&/Chrome\//.test(y),o=/Opera\//.test(y),r=/Apple Computer/.test(navigator.vendor),c=/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),g=s||/Mac/.test(m),A=/\bCrOS\b/.test(y),w=/win/i.test(m),b=o&&y.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(o=!1,n=!0);var S=g&&(t||o&&(b==null||b<12.11)),_=E||d&&l>=9;function T(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var x=function(F,$){var re=F.className,le=T($).exec(re);if(le){var De=re.slice(le.index+le[0].length);F.className=re.slice(0,le.index)+(De?le[1]+De:"")}};function C(O){for(var F=O.childNodes.length;F>0;--F)O.removeChild(O.firstChild);return O}function I(O,F){return C(O).appendChild(F)}function L(O,F,$,re){var le=document.createElement(O);if($&&(le.className=$),re&&(le.style.cssText=re),typeof F=="string")le.appendChild(document.createTextNode(F));else if(F)for(var De=0;De<F.length;++De)le.appendChild(F[De]);return le}function M(O,F,$,re){var le=L(O,F,$,re);return le.setAttribute("role","presentation"),le}var k;document.createRange?k=function(F,$,re,le){var De=document.createRange();return De.setEnd(le||F,re),De.setStart(F,$),De}:k=function(F,$,re){var le=document.body.createTextRange();try{le.moveToElementText(F.parentNode)}catch(De){return le}return le.collapse(!0),le.moveEnd("character",re),le.moveStart("character",$),le};function R(O,F){if(F.nodeType==3&&(F=F.parentNode),O.contains)return O.contains(F);do if(F.nodeType==11&&(F=F.host),F==O)return!0;while(F=F.parentNode)}function j(){var O;try{O=document.activeElement}catch(F){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function V(O,F){var $=O.className;T(F).test($)||(O.className+=($?" ":"")+F)}function D(O,F){for(var $=O.split(" "),re=0;re<$.length;re++)$[re]&&!T($[re]).test(F)&&(F+=" "+$[re]);return F}var H=function(F){F.select()};s?H=function(F){F.selectionStart=0,F.selectionEnd=F.value.length}:d&&(H=function(F){try{F.select()}catch($){}});function P(O){var F=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,F)}}function K(O,F,$){F||(F={});for(var re in O)O.hasOwnProperty(re)&&($!==!1||!F.hasOwnProperty(re))&&(F[re]=O[re]);return F}function U(O,F,$,re,le){F==null&&(F=O.search(/[^\s\u00a0]/),F==-1&&(F=O.length));for(var De=re||0,dt=le||0;;){var Lt=O.indexOf(" ",De);if(Lt<0||Lt>=F)return dt+(F-De);dt+=Lt-De,dt+=$-dt%$,De=Lt+1}}var G=function(){this.id=null,this.f=null,this.time=0,this.handler=P(this.onTimeout,this)};G.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},G.prototype.set=function(O,F){this.f=F;var $=+new Date+O;(!this.id||$<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=$)};function W(O,F){for(var $=0;$<O.length;++$)if(O[$]==F)return $;return-1}var Z=50,J={toString:function(){return"CodeMirror.Pass"}},ve={scroll:!1},q={origin:"*mouse"},ce={origin:"+move"};function be(O,F,$){for(var re=0,le=0;;){var De=O.indexOf(" ",re);De==-1&&(De=O.length);var dt=De-re;if(De==O.length||le+dt>=F)return re+Math.min(dt,F-le);if(le+=De-re,le+=$-le%$,re=De+1,le>=F)return re}}var Ce=[""];function Fe(O){for(;Ce.length<=O;)Ce.push(fe(Ce)+" ");return Ce[O]}function fe(O){return O[O.length-1]}function Ne(O,F){for(var $=[],re=0;re<O.length;re++)$[re]=F(O[re],re);return $}function Q(O,F,$){for(var re=0,le=$(F);re<O.length&&$(O[re])<=le;)re++;O.splice(re,0,F)}function ae(){}function Ue(O,F){var $;return Object.create?$=Object.create(O):(ae.prototype=O,$=new ae),F&&K(F,$),$}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function X(O){return/\w/.test(O)||O>"\x80"&&(O.toUpperCase()!=O.toLowerCase()||te.test(O))}function z(O,F){return F?F.source.indexOf("\\w")>-1&&X(O)?!0:F.test(O):X(O)}function Y(O){for(var F in O)if(O.hasOwnProperty(F)&&O[F])return!1;return!0}var pe=/[\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 se(O){return O.charCodeAt(0)>=768&&pe.test(O)}function Te(O,F,$){for(;($<0?F>0:F<O.length)&&se(O.charAt(F));)F+=$;return F}function Se(O,F,$){for(var re=F>$?-1:1;;){if(F==$)return F;var le=(F+$)/2,De=re<0?Math.ceil(le):Math.floor(le);if(De==F)return O(De)?F:$;O(De)?$=De:F=De+re}}function ie(O,F,$,re){if(!O)return re(F,$,"ltr",0);for(var le=!1,De=0;De<O.length;++De){var dt=O[De];(dt.from<$&&dt.to>F||F==$&&dt.to==F)&&(re(Math.max(dt.from,F),Math.min(dt.to,$),dt.level==1?"rtl":"ltr",De),le=!0)}le||re(F,$,"ltr")}var de=null;function _e(O,F,$){var re;de=null;for(var le=0;le<O.length;++le){var De=O[le];if(De.from<F&&De.to>F)return le;De.to==F&&(De.from!=De.to&&$=="before"?re=le:de=le),De.from==F&&(De.from!=De.to&&$!="before"?re=le:de=le)}return re!=null?re:de}var We=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",F="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function $(er){return er<=247?O.charAt(er):1424<=er&&er<=1524?"R":1536<=er&&er<=1785?F.charAt(er-1536):1774<=er&&er<=2220?"r":8192<=er&&er<=8203?"w":er==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,le=/[stwN]/,De=/[LRr]/,dt=/[Lb1n]/,Lt=/[1n]/;function Qt(er,en,fn){this.level=er,this.from=en,this.to=fn}return function(er,en){var fn=en=="ltr"?"L":"R";if(er.length==0||en=="ltr"&&!re.test(er))return!1;for(var Fn=er.length,kn=[],Ai=0;Ai<Fn;++Ai)kn.push($(er.charCodeAt(Ai)));for(var Ui=0,qi=fn;Ui<Fn;++Ui){var Zi=kn[Ui];Zi=="m"?kn[Ui]=qi:qi=Zi}for(var Xi=0,Aa=fn;Xi<Fn;++Xi){var Ca=kn[Xi];Ca=="1"&&Aa=="r"?kn[Xi]="n":De.test(Ca)&&(Aa=Ca,Ca=="r"&&(kn[Xi]="R"))}for(var no=1,Wa=kn[0];no<Fn-1;++no){var So=kn[no];So=="+"&&Wa=="1"&&kn[no+1]=="1"?kn[no]="1":So==","&&Wa==kn[no+1]&&(Wa=="1"||Wa=="n")&&(kn[no]=Wa),Wa=So}for(var ko=0;ko<Fn;++ko){var as=kn[ko];if(as==",")kn[ko]="N";else if(as=="%"){var es=void 0;for(es=ko+1;es<Fn&&kn[es]=="%";++es);for(var Us=ko&&kn[ko-1]=="!"||es<Fn&&kn[es]=="1"?"1":"N",ol=ko;ol<es;++ol)kn[ol]=Us;ko=es-1}}for(var Cs=0,sl=fn;Cs<Fn;++Cs){var js=kn[Cs];sl=="L"&&js=="1"?kn[Cs]="L":De.test(js)&&(sl=js)}for(var ks=0;ks<Fn;++ks)if(le.test(kn[ks])){var Is=void 0;for(Is=ks+1;Is<Fn&&le.test(kn[Is]);++Is);for(var gs=(ks?kn[ks-1]:fn)=="L",il=(Is<Fn?kn[Is]:fn)=="L",gc=gs==il?gs?"L":"R":fn,bl=ks;bl<Is;++bl)kn[bl]=gc;ks=Is-1}for(var Os=[],gl,Ws=0;Ws<Fn;)if(dt.test(kn[Ws])){var tu=Ws;for(++Ws;Ws<Fn&&dt.test(kn[Ws]);++Ws);Os.push(new Qt(0,tu,Ws))}else{var xa=Ws,hl=Os.length,Tl=en=="rtl"?1:0;for(++Ws;Ws<Fn&&kn[Ws]!="L";++Ws);for(var us=xa;us<Ws;)if(Lt.test(kn[us])){xa<us&&(Os.splice(hl,0,new Qt(1,xa,us)),hl+=Tl);var jl=us;for(++us;us<Ws&&Lt.test(kn[us]);++us);Os.splice(hl,0,new Qt(2,jl,us)),hl+=Tl,xa=us}else++us;xa<Ws&&Os.splice(hl,0,new Qt(1,xa,Ws))}return en=="ltr"&&(Os[0].level==1&&(gl=er.match(/^\s+/))&&(Os[0].from=gl[0].length,Os.unshift(new Qt(0,0,gl[0].length))),fe(Os).level==1&&(gl=er.match(/\s+$/))&&(fe(Os).to-=gl[0].length,Os.push(new Qt(0,Fn-gl[0].length,Fn)))),en=="rtl"?Os.reverse():Os}}();function at(O,F){var $=O.order;return $==null&&($=O.order=We(O.text,F)),$}var tt=[],Oe=function(F,$,re){if(F.addEventListener)F.addEventListener($,re,!1);else if(F.attachEvent)F.attachEvent("on"+$,re);else{var le=F._handlers||(F._handlers={});le[$]=(le[$]||tt).concat(re)}};function yt(O,F){return O._handlers&&O._handlers[F]||tt}function Ye(O,F,$){if(O.removeEventListener)O.removeEventListener(F,$,!1);else if(O.detachEvent)O.detachEvent("on"+F,$);else{var re=O._handlers,le=re&&re[F];if(le){var De=W(le,$);De>-1&&(re[F]=le.slice(0,De).concat(le.slice(De+1)))}}}function bt(O,F){var $=yt(O,F);if(!$.length)return;for(var re=Array.prototype.slice.call(arguments,2),le=0;le<$.length;++le)$[le].apply(null,re)}function Ct(O,F,$){return typeof F=="string"&&(F={type:F,preventDefault:function(){this.defaultPrevented=!0}}),bt(O,$||F.type,O,F),ne(F)||F.codemirrorIgnore}function It(O){var F=O._handlers&&O._handlers.cursorActivity;if(!F)return;for(var $=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),re=0;re<F.length;++re)W($,F[re])==-1&&$.push(F[re])}function Ft(O,F){return yt(O,F).length>0}function Vt(O){O.prototype.on=function(F,$){Oe(this,F,$)},O.prototype.off=function(F,$){Ye(this,F,$)}}function $e(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function ge(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function ne(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function wt(O){$e(O),ge(O)}function qe(O){return O.target||O.srcElement}function he(O){var F=O.which;return F==null&&(O.button&1?F=1:O.button&2?F=3:O.button&4&&(F=2)),g&&O.ctrlKey&&F==1&&(F=3),F}var kt=function(){if(d&&l<9)return!1;var O=L("div");return"draggable"in O||"dragDrop"in O}(),nr;function lt(O){if(nr==null){var F=L("span","\u200B");I(O,L("span",[F,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(nr=F.offsetWidth<=1&&F.offsetHeight>2&&!(d&&l<8))}var $=nr?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return $.setAttribute("cm-text",""),$}var Xt;function hr(O){if(Xt!=null)return Xt;var F=I(O,document.createTextNode("A\u062EA")),$=k(F,0,1).getBoundingClientRect(),re=k(F,1,2).getBoundingClientRect();return C(O),!$||$.left==$.right?!1:Xt=re.right-$.right<3}var Wr=`
b`.split(/\n/).length!=3?function(O){for(var F=0,$=[],re=O.length;F<=re;){var le=O.indexOf(`
`,F);le==-1&&(le=O.length);var De=O.slice(F,O.charAt(le-1)=="\r"?le-1:le),dt=De.indexOf("\r");dt!=-1?($.push(De.slice(0,dt)),F+=dt+1):($.push(De),F=le+1)}return $}:function(O){return O.split(/\r\n?|\n/)},mt=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(F){return!1}}:function(O){var F;try{F=O.ownerDocument.selection.createRange()}catch($){}return!F||F.parentElement()!=O?!1:F.compareEndPoints("StartToEnd",F)!=0},Et=function(){var O=L("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),rt=null;function He(O){if(rt!=null)return rt;var F=I(O,L("span","x")),$=F.getBoundingClientRect(),re=k(F,0,1).getBoundingClientRect();return rt=Math.abs($.left-re.left)>1}var ze={},Rt={};function sr(O,F){arguments.length>2&&(F.dependencies=Array.prototype.slice.call(arguments,2)),ze[O]=F}function Jt(O,F){Rt[O]=F}function qt(O){if(typeof O=="string"&&Rt.hasOwnProperty(O))O=Rt[O];else if(O&&typeof O.name=="string"&&Rt.hasOwnProperty(O.name)){var F=Rt[O.name];typeof F=="string"&&(F={name:F}),O=Ue(F,O),O.name=F.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return qt("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return qt("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function qr(O,F){F=qt(F);var $=ze[F.name];if(!$)return qr(O,"text/plain");var re=$(O,F);if(Fr.hasOwnProperty(F.name)){var le=Fr[F.name];for(var De in le){if(!le.hasOwnProperty(De))continue;re.hasOwnProperty(De)&&(re["_"+De]=re[De]),re[De]=le[De]}}if(re.name=F.name,F.helperType&&(re.helperType=F.helperType),F.modeProps)for(var dt in F.modeProps)re[dt]=F.modeProps[dt];return re}var Fr={};function mn(O,F){var $=Fr.hasOwnProperty(O)?Fr[O]:Fr[O]={};K(F,$)}function Tt(O,F){if(F===!0)return F;if(O.copyState)return O.copyState(F);var $={};for(var re in F){var le=F[re];le instanceof Array&&(le=le.concat([])),$[re]=le}return $}function St(O,F){for(var $;O.innerMode&&!($=O.innerMode(F),!$||$.mode==O);)F=$.state,O=$.mode;return $||{mode:O,state:F}}function Re(O,F,$){return O.startState?O.startState(F,$):!0}var Ve=function(F,$,re){this.pos=this.start=0,this.string=F,this.tabSize=$||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};Ve.prototype.eol=function(){return this.pos>=this.string.length},Ve.prototype.sol=function(){return this.pos==this.lineStart},Ve.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ve.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ve.prototype.eat=function(O){var F=this.string.charAt(this.pos),$;if(typeof O=="string"?$=F==O:$=F&&(O.test?O.test(F):O(F)),$)return++this.pos,F},Ve.prototype.eatWhile=function(O){for(var F=this.pos;this.eat(O););return this.pos>F},Ve.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},Ve.prototype.skipToEnd=function(){this.pos=this.string.length},Ve.prototype.skipTo=function(O){var F=this.string.indexOf(O,this.pos);if(F>-1)return this.pos=F,!0},Ve.prototype.backUp=function(O){this.pos-=O},Ve.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=U(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},Ve.prototype.indentation=function(){return U(this.string,null,this.tabSize)-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},Ve.prototype.match=function(O,F,$){if(typeof O=="string"){var re=function(Lt){return $?Lt.toLowerCase():Lt},le=this.string.substr(this.pos,O.length);if(re(le)==re(O))return F!==!1&&(this.pos+=O.length),!0}else{var De=this.string.slice(this.pos).match(O);return De&&De.index>0?null:(De&&F!==!1&&(this.pos+=De[0].length),De)}},Ve.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ve.prototype.hideFirstChars=function(O,F){this.lineStart+=O;try{return F()}finally{this.lineStart-=O}},Ve.prototype.lookAhead=function(O){var F=this.lineOracle;return F&&F.lookAhead(O)},Ve.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function Xe(O,F){if(F-=O.first,F<0||F>=O.size)throw new Error("There is no line "+(F+O.first)+" in the document.");for(var $=O;!$.lines;)for(var re=0;;++re){var le=$.children[re],De=le.chunkSize();if(F<De){$=le;break}F-=De}return $.lines[F]}function ct(O,F,$){var re=[],le=F.line;return O.iter(F.line,$.line+1,function(De){var dt=De.text;le==$.line&&(dt=dt.slice(0,$.ch)),le==F.line&&(dt=dt.slice(F.ch)),re.push(dt),++le}),re}function tr(O,F,$){var re=[];return O.iter(F,$,function(le){re.push(le.text)}),re}function ir(O,F){var $=F-O.height;if($)for(var re=O;re;re=re.parent)re.height+=$}function or(O){if(O.parent==null)return null;for(var F=O.parent,$=W(F.lines,O),re=F.parent;re;F=re,re=re.parent)for(var le=0;!(re.children[le]==F);++le)$+=re.children[le].chunkSize();return $+F.first}function Xr(O,F){var $=O.first;e:do{for(var re=0;re<O.children.length;++re){var le=O.children[re],De=le.height;if(F<De){O=le;continue e}F-=De,$+=le.chunkSize()}return $}while(!O.lines);for(var dt=0;dt<O.lines.length;++dt){var Lt=O.lines[dt],Qt=Lt.height;if(F<Qt)break;F-=Qt}return $+dt}function Yr(O,F){return F>=O.first&&F<O.first+O.size}function bn(O,F){return String(O.lineNumberFormatter(F+O.firstLineNumber))}function Yt(O,F,$){if($===void 0&&($=null),!(this instanceof Yt))return new Yt(O,F,$);this.line=O,this.ch=F,this.sticky=$}function pt(O,F){return O.line-F.line||O.ch-F.ch}function ht(O,F){return O.sticky==F.sticky&&pt(O,F)==0}function Zt(O){return Yt(O.line,O.ch)}function $t(O,F){return pt(O,F)<0?F:O}function At(O,F){return pt(O,F)<0?O:F}function Pt(O,F){return Math.max(O.first,Math.min(F,O.first+O.size-1))}function gt(O,F){if(F.line<O.first)return Yt(O.first,0);var $=O.first+O.size-1;return F.line>$?Yt($,Xe(O,$).text.length):Wt(F,Xe(O,F.line).text.length)}function Wt(O,F){var $=O.ch;return $==null||$>F?Yt(O.line,F):$<0?Yt(O.line,0):O}function yr(O,F){for(var $=[],re=0;re<F.length;re++)$[re]=gt(O,F[re]);return $}var cr=function(F,$){this.state=F,this.lookAhead=$},pr=function(F,$,re,le){this.state=$,this.doc=F,this.line=re,this.maxLookAhead=le||0,this.baseTokens=null,this.baseTokenPos=1};pr.prototype.lookAhead=function(O){var F=this.doc.getLine(this.line+O);return F!=null&&O>this.maxLookAhead&&(this.maxLookAhead=O),F},pr.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var F=this.baseTokens[this.baseTokenPos+1];return{type:F&&F.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},pr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},pr.fromSaved=function(O,F,$){return F instanceof cr?new pr(O,Tt(O.mode,F.state),$,F.lookAhead):new pr(O,Tt(O.mode,F),$)},pr.prototype.save=function(O){var F=O!==!1?Tt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new cr(F,this.maxLookAhead):F};function Qr(O,F,$,re){var le=[O.state.modeGen],De={};xe(O,F.text,O.doc.mode,$,function(er,en){return le.push(er,en)},De,re);for(var dt=$.state,Lt=function(en){$.baseTokens=le;var fn=O.state.overlays[en],Fn=1,kn=0;$.state=!0,xe(O,F.text,fn.mode,$,function(Ai,Ui){for(var qi=Fn;kn<Ai;){var Zi=le[Fn];Zi>Ai&&le.splice(Fn,1,Ai,le[Fn+1],Zi),Fn+=2,kn=Math.min(Ai,Zi)}if(!Ui)return;if(fn.opaque)le.splice(qi,Fn-qi,Ai,"overlay "+Ui),Fn=qi+2;else for(;qi<Fn;qi+=2){var Xi=le[qi+1];le[qi+1]=(Xi?Xi+" ":"")+"overlay "+Ui}},De),$.state=dt,$.baseTokens=null,$.baseTokenPos=1},Qt=0;Qt<O.state.overlays.length;++Qt)Lt(Qt);return{styles:le,classes:De.bgClass||De.textClass?De:null}}function $r(O,F,$){if(!F.styles||F.styles[0]!=O.state.modeGen){var re=Ln(O,or(F)),le=F.text.length>O.options.maxHighlightLength&&Tt(O.doc.mode,re.state),De=Qr(O,F,re);le&&(re.state=le),F.stateAfter=re.save(!le),F.styles=De.styles,De.classes?F.styleClasses=De.classes:F.styleClasses&&(F.styleClasses=null),$===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return F.styles}function Ln(O,F,$){var re=O.doc,le=O.display;if(!re.mode.startState)return new pr(re,!0,F);var De=Me(O,F,$),dt=De>re.first&&Xe(re,De-1).stateAfter,Lt=dt?pr.fromSaved(re,dt,De):new pr(re,Re(re.mode),De);return re.iter(De,F,function(Qt){Mn(O,Qt.text,Lt);var er=Lt.line;Qt.stateAfter=er==F-1||er%5==0||er>=le.viewFrom&&er<le.viewTo?Lt.save():null,Lt.nextLine()}),$&&(re.modeFrontier=Lt.line),Lt}function Mn(O,F,$,re){var le=O.doc.mode,De=new Ve(F,O.options.tabSize,$);for(De.start=De.pos=re||0,F==""&&Vn(le,$.state);!De.eol();)ii(le,De,$.state),De.start=De.pos}function Vn(O,F){if(O.blankLine)return O.blankLine(F);if(!O.innerMode)return;var $=St(O,F);if($.mode.blankLine)return $.mode.blankLine($.state)}function ii(O,F,$,re){for(var le=0;le<10;le++){re&&(re[0]=St(O,$).mode);var De=O.token(F,$);if(F.pos>F.start)return De}throw new Error("Mode "+O.name+" failed to advance stream.")}var Li=function(F,$,re){this.start=F.start,this.end=F.pos,this.string=F.current(),this.type=$||null,this.state=re};function Pi(O,F,$,re){var le=O.doc,De=le.mode,dt;F=gt(le,F);var Lt=Xe(le,F.line),Qt=Ln(O,F.line,$),er=new Ve(Lt.text,O.options.tabSize,Qt),en;for(re&&(en=[]);(re||er.pos<F.ch)&&!er.eol();)er.start=er.pos,dt=ii(De,er,Qt.state),re&&en.push(new Li(er,dt,Tt(le.mode,Qt.state)));return re?en:new Li(er,dt,Qt.state)}function Ze(O,F){if(O)for(;;){var $=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!$)break;O=O.slice(0,$.index)+O.slice($.index+$[0].length);var re=$[1]?"bgClass":"textClass";F[re]==null?F[re]=$[2]:new RegExp("(?:^|\\s)"+$[2]+"(?:$|\\s)").test(F[re])||(F[re]+=" "+$[2])}return O}function xe(O,F,$,re,le,De,dt){var Lt=$.flattenSpans;Lt==null&&(Lt=O.options.flattenSpans);var Qt=0,er=null,en=new Ve(F,O.options.tabSize,re),fn,Fn=O.options.addModeClass&&[null];for(F==""&&Ze(Vn($,re.state),De);!en.eol();){if(en.pos>O.options.maxHighlightLength?(Lt=!1,dt&&Mn(O,F,re,en.pos),en.pos=F.length,fn=null):fn=Ze(ii($,en,re.state,Fn),De),Fn){var kn=Fn[0].name;kn&&(fn="m-"+(fn?kn+" "+fn:kn))}if(!Lt||er!=fn){for(;Qt<en.start;)Qt=Math.min(en.start,Qt+5e3),le(Qt,er);er=fn}en.start=en.pos}for(;Qt<en.pos;){var Ai=Math.min(en.pos,Qt+5e3);le(Ai,er),Qt=Ai}}function Me(O,F,$){for(var re,le,De=O.doc,dt=$?-1:F-(O.doc.mode.innerMode?1e3:100),Lt=F;Lt>dt;--Lt){if(Lt<=De.first)return De.first;var Qt=Xe(De,Lt-1),er=Qt.stateAfter;if(er&&(!$||Lt+(er instanceof cr?er.lookAhead:0)<=De.modeFrontier))return Lt;var en=U(Qt.text,null,O.options.tabSize);(le==null||re>en)&&(le=Lt-1,re=en)}return le}function ke(O,F){if(O.modeFrontier=Math.min(O.modeFrontier,F),O.highlightFrontier<F-10)return;for(var $=O.first,re=F-1;re>$;re--){var le=Xe(O,re).stateAfter;if(le&&(!(le instanceof cr)||re+le.lookAhead<F)){$=re+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,$)}var Ge=!1,Ke=!1;function Je(){Ge=!0}function vt(){Ke=!0}function ot(O,F,$){this.marker=O,this.from=F,this.to=$}function Ut(O,F){if(O)for(var $=0;$<O.length;++$){var re=O[$];if(re.marker==F)return re}}function br(O,F){for(var $,re=0;re<O.length;++re)O[re]!=F&&($||($=[])).push(O[re]);return $}function Ar(O,F){O.markedSpans=O.markedSpans?O.markedSpans.concat([F]):[F],F.marker.attachLine(O)}function Or(O,F,$){var re;if(O)for(var le=0;le<O.length;++le){var De=O[le],dt=De.marker,Lt=De.from==null||(dt.inclusiveLeft?De.from<=F:De.from<F);if(Lt||De.from==F&&dt.type=="bookmark"&&(!$||!De.marker.insertLeft)){var Qt=De.to==null||(dt.inclusiveRight?De.to>=F:De.to>F);(re||(re=[])).push(new ot(dt,De.from,Qt?null:De.to))}}return re}function zt(O,F,$){var re;if(O)for(var le=0;le<O.length;++le){var De=O[le],dt=De.marker,Lt=De.to==null||(dt.inclusiveRight?De.to>=F:De.to>F);if(Lt||De.from==F&&dt.type=="bookmark"&&(!$||De.marker.insertLeft)){var Qt=De.from==null||(dt.inclusiveLeft?De.from<=F:De.from<F);(re||(re=[])).push(new ot(dt,Qt?null:De.from-F,De.to==null?null:De.to-F))}}return re}function un(O,F){if(F.full)return null;var $=Yr(O,F.from.line)&&Xe(O,F.from.line).markedSpans,re=Yr(O,F.to.line)&&Xe(O,F.to.line).markedSpans;if(!$&&!re)return null;var le=F.from.ch,De=F.to.ch,dt=pt(F.from,F.to)==0,Lt=Or($,le,dt),Qt=zt(re,De,dt),er=F.text.length==1,en=fe(F.text).length+(er?le:0);if(Lt)for(var fn=0;fn<Lt.length;++fn){var Fn=Lt[fn];if(Fn.to==null){var kn=Ut(Qt,Fn.marker);kn?er&&(Fn.to=kn.to==null?null:kn.to+en):Fn.to=le}}if(Qt)for(var Ai=0;Ai<Qt.length;++Ai){var Ui=Qt[Ai];if(Ui.to!=null&&(Ui.to+=en),Ui.from==null){var qi=Ut(Lt,Ui.marker);qi||(Ui.from=en,er&&(Lt||(Lt=[])).push(Ui))}else Ui.from+=en,er&&(Lt||(Lt=[])).push(Ui)}Lt&&(Lt=lr(Lt)),Qt&&Qt!=Lt&&(Qt=lr(Qt));var Zi=[Lt];if(!er){var Xi=F.text.length-2,Aa;if(Xi>0&&Lt)for(var Ca=0;Ca<Lt.length;++Ca)Lt[Ca].to==null&&(Aa||(Aa=[])).push(new ot(Lt[Ca].marker,null,null));for(var no=0;no<Xi;++no)Zi.push(Aa);Zi.push(Qt)}return Zi}function lr(O){for(var F=0;F<O.length;++F){var $=O[F];$.from!=null&&$.from==$.to&&$.marker.clearWhenEmpty!==!1&&O.splice(F--,1)}return O.length?O:null}function Vr(O,F,$){var re=null;if(O.iter(F.line,$.line+1,function(kn){if(kn.markedSpans)for(var Ai=0;Ai<kn.markedSpans.length;++Ai){var Ui=kn.markedSpans[Ai].marker;Ui.readOnly&&(!re||W(re,Ui)==-1)&&(re||(re=[])).push(Ui)}}),!re)return null;for(var le=[{from:F,to:$}],De=0;De<re.length;++De)for(var dt=re[De],Lt=dt.find(0),Qt=0;Qt<le.length;++Qt){var er=le[Qt];if(pt(er.to,Lt.from)<0||pt(er.from,Lt.to)>0)continue;var en=[Qt,1],fn=pt(er.from,Lt.from),Fn=pt(er.to,Lt.to);(fn<0||!dt.inclusiveLeft&&!fn)&&en.push({from:er.from,to:Lt.from}),(Fn>0||!dt.inclusiveRight&&!Fn)&&en.push({from:Lt.to,to:er.to}),le.splice.apply(le,en),Qt+=en.length-3}return le}function Br(O){var F=O.markedSpans;if(!F)return;for(var $=0;$<F.length;++$)F[$].marker.detachLine(O);O.markedSpans=null}function Sr(O,F){if(!F)return;for(var $=0;$<F.length;++$)F[$].marker.attachLine(O);O.markedSpans=F}function xn(O){return O.inclusiveLeft?-1:0}function Hn(O){return O.inclusiveRight?1:0}function ai(O,F){var $=O.lines.length-F.lines.length;if($!=0)return $;var re=O.find(),le=F.find(),De=pt(re.from,le.from)||xn(O)-xn(F);if(De)return-De;var dt=pt(re.to,le.to)||Hn(O)-Hn(F);return dt||F.id-O.id}function si(O,F){var $=Ke&&O.markedSpans,re;if($)for(var le=void 0,De=0;De<$.length;++De)le=$[De],le.marker.collapsed&&(F?le.from:le.to)==null&&(!re||ai(re,le.marker)<0)&&(re=le.marker);return re}function Yn(O){return si(O,!0)}function Wn(O){return si(O,!1)}function Dn(O,F){var $=Ke&&O.markedSpans,re;if($)for(var le=0;le<$.length;++le){var De=$[le];De.marker.collapsed&&(De.from==null||De.from<F)&&(De.to==null||De.to>F)&&(!re||ai(re,De.marker)<0)&&(re=De.marker)}return re}function vi(O,F,$,re,le){var De=Xe(O,F),dt=Ke&&De.markedSpans;if(dt)for(var Lt=0;Lt<dt.length;++Lt){var Qt=dt[Lt];if(!Qt.marker.collapsed)continue;var er=Qt.marker.find(0),en=pt(er.from,$)||xn(Qt.marker)-xn(le),fn=pt(er.to,re)||Hn(Qt.marker)-Hn(le);if(en>=0&&fn<=0||en<=0&&fn>=0)continue;if(en<=0&&(Qt.marker.inclusiveRight&&le.inclusiveLeft?pt(er.to,$)>=0:pt(er.to,$)>0)||en>=0&&(Qt.marker.inclusiveRight&&le.inclusiveLeft?pt(er.from,re)<=0:pt(er.from,re)<0))return!0}}function gn(O){for(var F;F=Yn(O);)O=F.find(-1,!0).line;return O}function Kr(O){for(var F;F=Wn(O);)O=F.find(1,!0).line;return O}function En(O){for(var F,$;F=Wn(O);)O=F.find(1,!0).line,($||($=[])).push(O);return $}function sn(O,F){var $=Xe(O,F),re=gn($);return $==re?F:or(re)}function li(O,F){if(F>O.lastLine())return F;var $=Xe(O,F),re;if(!ni(O,$))return F;for(;re=Wn($);)$=re.find(1,!0).line;return or($)+1}function ni(O,F){var $=Ke&&F.markedSpans;if($)for(var re=void 0,le=0;le<$.length;++le){if(re=$[le],!re.marker.collapsed)continue;if(re.from==null)return!0;if(re.marker.widgetNode)continue;if(re.from==0&&re.marker.inclusiveLeft&&yi(O,F,re))return!0}}function yi(O,F,$){if($.to==null){var re=$.marker.find(1,!0);return yi(O,re.line,Ut(re.line.markedSpans,$.marker))}if($.marker.inclusiveRight&&$.to==F.text.length)return!0;for(var le=void 0,De=0;De<F.markedSpans.length;++De)if(le=F.markedSpans[De],le.marker.collapsed&&!le.marker.widgetNode&&le.from==$.to&&(le.to==null||le.to!=$.from)&&(le.marker.inclusiveLeft||$.marker.inclusiveRight)&&yi(O,F,le))return!0}function Xn(O){O=gn(O);for(var F=0,$=O.parent,re=0;re<$.lines.length;++re){var le=$.lines[re];if(le==O)break;F+=le.height}for(var De=$.parent;De;$=De,De=$.parent)for(var dt=0;dt<De.children.length;++dt){var Lt=De.children[dt];if(Lt==$)break;F+=Lt.height}return F}function ki(O){if(O.height==0)return 0;for(var F=O.text.length,$,re=O;$=Yn(re);){var le=$.find(0,!0);re=le.from.line,F+=le.from.ch-le.to.ch}for(re=O;$=Wn(re);){var De=$.find(0,!0);F-=re.text.length-De.from.ch,re=De.to.line,F+=re.text.length-De.to.ch}return F}function wi(O){var F=O.display,$=O.doc;F.maxLine=Xe($,$.first),F.maxLineLength=ki(F.maxLine),F.maxLineChanged=!0,$.iter(function(re){var le=ki(re);le>F.maxLineLength&&(F.maxLineLength=le,F.maxLine=re)})}var Ji=function(F,$,re){this.text=F,Sr(this,$),this.height=re?re(this):1};Ji.prototype.lineNo=function(){return or(this)},Vt(Ji);function An(O,F,$,re){O.text=F,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),Br(O),Sr(O,$);var le=re?re(O):1;le!=O.height&&ir(O,le)}function Ur(O){O.parent=null,Br(O)}var Cn={},Un={};function Zn(O,F){if(!O||/^\s*$/.test(O))return null;var $=F.addModeClass?Un:Cn;return $[O]||($[O]=O.replace(/\S+/g,"cm-$&"))}function ti(O,F){var $=M("span",null,null,n?"padding-right: .1px":null),re={pre:M("pre",[$],"CodeMirror-line"),content:$,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};F.measure={};for(var le=0;le<=(F.rest?F.rest.length:0);le++){var De=le?F.rest[le-1]:F.line,dt=void 0;re.pos=0,re.addToken=pi,hr(O.display.measure)&&(dt=at(De,O.doc.direction))&&(re.addToken=Hi(re.addToken,dt)),re.map=[];var Lt=F!=O.display.externalMeasured&&or(De);$i(De,re,$r(O,De,Lt)),De.styleClasses&&(De.styleClasses.bgClass&&(re.bgClass=D(De.styleClasses.bgClass,re.bgClass||"")),De.styleClasses.textClass&&(re.textClass=D(De.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(lt(O.display.measure))),le==0?(F.measure.map=re.map,F.measure.cache={}):((F.measure.maps||(F.measure.maps=[])).push(re.map),(F.measure.caches||(F.measure.caches=[])).push({}))}if(n){var Qt=re.content.lastChild;(/\bcm-tab\b/.test(Qt.className)||Qt.querySelector&&Qt.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return bt(O,"renderLine",O,F.line,re.pre),re.pre.className&&(re.textClass=D(re.pre.className,re.textClass||"")),re}function hi(O){var F=L("span","\u2022","cm-invalidchar");return F.title="\\u"+O.charCodeAt(0).toString(16),F.setAttribute("aria-label",F.title),F}function pi(O,F,$,re,le,De,dt){if(!F)return;var Lt=O.splitSpaces?mi(F,O.trailingSpace):F,Qt=O.cm.state.specialChars,er=!1,en;if(!Qt.test(F))O.col+=F.length,en=document.createTextNode(Lt),O.map.push(O.pos,O.pos+F.length,en),d&&l<9&&(er=!0),O.pos+=F.length;else{en=document.createDocumentFragment();for(var fn=0;;){Qt.lastIndex=fn;var Fn=Qt.exec(F),kn=Fn?Fn.index-fn:F.length-fn;if(kn){var Ai=document.createTextNode(Lt.slice(fn,fn+kn));d&&l<9?en.appendChild(L("span",[Ai])):en.appendChild(Ai),O.map.push(O.pos,O.pos+kn,Ai),O.col+=kn,O.pos+=kn}if(!Fn)break;fn+=kn+1;var Ui=void 0;if(Fn[0]==" "){var qi=O.cm.options.tabSize,Zi=qi-O.col%qi;Ui=en.appendChild(L("span",Fe(Zi),"cm-tab")),Ui.setAttribute("role","presentation"),Ui.setAttribute("cm-text"," "),O.col+=Zi}else Fn[0]=="\r"||Fn[0]==`
`?(Ui=en.appendChild(L("span",Fn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ui.setAttribute("cm-text",Fn[0]),O.col+=1):(Ui=O.cm.options.specialCharPlaceholder(Fn[0]),Ui.setAttribute("cm-text",Fn[0]),d&&l<9?en.appendChild(L("span",[Ui])):en.appendChild(Ui),O.col+=1);O.map.push(O.pos,O.pos+1,Ui),O.pos++}}if(O.trailingSpace=Lt.charCodeAt(F.length-1)==32,$||re||le||er||De||dt){var Xi=$||"";re&&(Xi+=re),le&&(Xi+=le);var Aa=L("span",[en],Xi,De);if(dt)for(var Ca in dt)dt.hasOwnProperty(Ca)&&Ca!="style"&&Ca!="class"&&Aa.setAttribute(Ca,dt[Ca]);return O.content.appendChild(Aa)}O.content.appendChild(en)}function mi(O,F){if(O.length>1&&!/ /.test(O))return O;for(var $=F,re="",le=0;le<O.length;le++){var De=O.charAt(le);De==" "&&$&&(le==O.length-1||O.charCodeAt(le+1)==32)&&(De="\xA0"),re+=De,$=De==" "}return re}function Hi(O,F){return function($,re,le,De,dt,Lt,Qt){le=le?le+" cm-force-border":"cm-force-border";for(var er=$.pos,en=er+re.length;;){for(var fn=void 0,Fn=0;Fn<F.length&&!(fn=F[Fn],fn.to>er&&fn.from<=er);Fn++);if(fn.to>=en)return O($,re,le,De,dt,Lt,Qt);O($,re.slice(0,fn.to-er),le,De,null,Lt,Qt),De=null,re=re.slice(fn.to-er),er=fn.to}}}function ra(O,F,$,re){var le=!re&&$.widgetNode;le&&O.map.push(O.pos,O.pos+F,le),!re&&O.cm.display.input.needsContentAttribute&&(le||(le=O.content.appendChild(document.createElement("span"))),le.setAttribute("cm-marker",$.id)),le&&(O.cm.display.input.setUneditable(le),O.content.appendChild(le)),O.pos+=F,O.trailingSpace=!1}function $i(O,F,$){var re=O.markedSpans,le=O.text,De=0;if(!re){for(var dt=1;dt<$.length;dt+=2)F.addToken(F,le.slice(De,De=$[dt]),Zn($[dt+1],F.cm.options));return}for(var Lt=le.length,Qt=0,er=1,en="",fn,Fn,kn=0,Ai,Ui,qi,Zi,Xi;;){if(kn==Qt){Ai=Ui=qi=Fn="",Xi=null,Zi=null,kn=Infinity;for(var Aa=[],Ca=void 0,no=0;no<re.length;++no){var Wa=re[no],So=Wa.marker;if(So.type=="bookmark"&&Wa.from==Qt&&So.widgetNode)Aa.push(So);else if(Wa.from<=Qt&&(Wa.to==null||Wa.to>Qt||So.collapsed&&Wa.to==Qt&&Wa.from==Qt)){if(Wa.to!=null&&Wa.to!=Qt&&kn>Wa.to&&(kn=Wa.to,Ui=""),So.className&&(Ai+=" "+So.className),So.css&&(Fn=(Fn?Fn+";":"")+So.css),So.startStyle&&Wa.from==Qt&&(qi+=" "+So.startStyle),So.endStyle&&Wa.to==kn&&(Ca||(Ca=[])).push(So.endStyle,Wa.to),So.title&&((Xi||(Xi={})).title=So.title),So.attributes)for(var ko in So.attributes)(Xi||(Xi={}))[ko]=So.attributes[ko];So.collapsed&&(!Zi||ai(Zi.marker,So)<0)&&(Zi=Wa)}else Wa.from>Qt&&kn>Wa.from&&(kn=Wa.from)}if(Ca)for(var as=0;as<Ca.length;as+=2)Ca[as+1]==kn&&(Ui+=" "+Ca[as]);if(!Zi||Zi.from==Qt)for(var es=0;es<Aa.length;++es)ra(F,0,Aa[es]);if(Zi&&(Zi.from||0)==Qt){if(ra(F,(Zi.to==null?Lt+1:Zi.to)-Qt,Zi.marker,Zi.from==null),Zi.to==null)return;Zi.to==Qt&&(Zi=!1)}}if(Qt>=Lt)break;for(var Us=Math.min(Lt,kn);;){if(en){var ol=Qt+en.length;if(!Zi){var Cs=ol>Us?en.slice(0,Us-Qt):en;F.addToken(F,Cs,fn?fn+Ai:Ai,qi,Qt+Cs.length==kn?Ui:"",Fn,Xi)}if(ol>=Us){en=en.slice(Us-Qt),Qt=Us;break}Qt=ol,qi=""}en=le.slice(De,De=$[er++]),fn=Zn($[er++],F.cm.options)}}}function ro(O,F,$){this.line=F,this.rest=En(F),this.size=this.rest?or(fe(this.rest))-$+1:1,this.node=this.text=null,this.hidden=ni(O,F)}function di(O,F,$){for(var re=[],le,De=F;De<$;De=le){var dt=new ro(O.doc,Xe(O.doc,De),De);le=De+dt.size,re.push(dt)}return re}var cn=null;function Ni(O){cn?cn.ops.push(O):O.ownsGroup=cn={ops:[O],delayedCallbacks:[]}}function Gi(O){var F=O.delayedCallbacks,$=0;do{for(;$<F.length;$++)F[$].call(null);for(var re=0;re<O.ops.length;re++){var le=O.ops[re];if(le.cursorActivityHandlers)for(;le.cursorActivityCalled<le.cursorActivityHandlers.length;)le.cursorActivityHandlers[le.cursorActivityCalled++].call(null,le.cm)}}while($<F.length)}function Ki(O,F){var $=O.ownsGroup;if(!$)return;try{Gi($)}finally{cn=null,F($)}}var ia=null;function Kt(O,F){var $=yt(O,F);if(!$.length)return;var re=Array.prototype.slice.call(arguments,2),le;cn?le=cn.delayedCallbacks:ia?le=ia:(le=ia=[],setTimeout(Zr,0));for(var De=function(Qt){le.push(function(){return $[Qt].apply(null,re)})},dt=0;dt<$.length;++dt)De(dt)}function Zr(){var O=ia;ia=null;for(var F=0;F<O.length;++F)O[F]()}function rn(O,F,$,re){for(var le=0;le<F.changes.length;le++){var De=F.changes[le];De=="text"?ur(O,F):De=="gutter"?Lr(O,F,$,re):De=="class"?ar(O,F):De=="widget"&&Rr(O,F,re)}F.changes=null}function pn(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&&l<8&&(O.node.style.zIndex=2)),O.node}function Qe(O,F){var $=F.bgClass?F.bgClass+" "+(F.line.bgClass||""):F.line.bgClass;if($&&($+=" CodeMirror-linebackground"),F.background)$?F.background.className=$:(F.background.parentNode.removeChild(F.background),F.background=null);else if($){var re=pn(F);F.background=re.insertBefore(L("div",null,$),re.firstChild),O.display.input.setUneditable(F.background)}}function Dt(O,F){var $=O.display.externalMeasured;return $&&$.line==F.line?(O.display.externalMeasured=null,F.measure=$.measure,$.built):ti(O,F)}function ur(O,F){var $=F.text.className,re=Dt(O,F);F.text==F.node&&(F.node=re.pre),F.text.parentNode.replaceChild(re.pre,F.text),F.text=re.pre,re.bgClass!=F.bgClass||re.textClass!=F.textClass?(F.bgClass=re.bgClass,F.textClass=re.textClass,ar(O,F)):$&&(F.text.className=$)}function ar(O,F){Qe(O,F),F.line.wrapClass?pn(F).className=F.line.wrapClass:F.node!=F.text&&(F.node.className="");var $=F.textClass?F.textClass+" "+(F.line.textClass||""):F.line.textClass;F.text.className=$||""}function Lr(O,F,$,re){if(F.gutter&&(F.node.removeChild(F.gutter),F.gutter=null),F.gutterBackground&&(F.node.removeChild(F.gutterBackground),F.gutterBackground=null),F.line.gutterClass){var le=pn(F);F.gutterBackground=L("div",null,"CodeMirror-gutter-background "+F.line.gutterClass,"left: "+(O.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),O.display.input.setUneditable(F.gutterBackground),le.insertBefore(F.gutterBackground,F.text)}var De=F.line.gutterMarkers;if(O.options.lineNumbers||De){var dt=pn(F),Lt=F.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Lt),dt.insertBefore(Lt,F.text),F.line.gutterClass&&(Lt.className+=" "+F.line.gutterClass),O.options.lineNumbers&&(!De||!De["CodeMirror-linenumbers"])&&(F.lineNumber=Lt.appendChild(L("div",bn(O.options,$),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),De)for(var Qt=0;Qt<O.display.gutterSpecs.length;++Qt){var er=O.display.gutterSpecs[Qt].className,en=De.hasOwnProperty(er)&&De[er];en&&Lt.appendChild(L("div",[en],"CodeMirror-gutter-elt","left: "+re.gutterLeft[er]+"px; width: "+re.gutterWidth[er]+"px"))}}}function Rr(O,F,$){F.alignable&&(F.alignable=null);for(var re=T("CodeMirror-linewidget"),le=F.node.firstChild,De=void 0;le;le=De)De=le.nextSibling,re.test(le.className)&&F.node.removeChild(le);an(O,F,$)}function Hr(O,F,$,re){var le=Dt(O,F);return F.text=F.node=le.pre,le.bgClass&&(F.bgClass=le.bgClass),le.textClass&&(F.textClass=le.textClass),ar(O,F),Lr(O,F,$,re),an(O,F,re),F.node}function an(O,F,$){if(wn(O,F.line,F,$,!0),F.rest)for(var re=0;re<F.rest.length;re++)wn(O,F.rest[re],F,$,!1)}function wn(O,F,$,re,le){if(!F.widgets)return;for(var De=pn($),dt=0,Lt=F.widgets;dt<Lt.length;++dt){var Qt=Lt[dt],er=L("div",[Qt.node],"CodeMirror-linewidget"+(Qt.className?" "+Qt.className:""));Qt.handleMouseEvents||er.setAttribute("cm-ignore-events","true"),In(Qt,er,$,re),O.display.input.setUneditable(er),le&&Qt.above?De.insertBefore(er,$.gutter||$.text):De.appendChild(er),Kt(Qt,"redraw")}}function In(O,F,$,re){if(O.noHScroll){($.alignable||($.alignable=[])).push(F);var le=re.wrapperWidth;F.style.left=re.fixedPos+"px",O.coverGutter||(le-=re.gutterTotalWidth,F.style.paddingLeft=re.gutterTotalWidth+"px"),F.style.width=le+"px"}O.coverGutter&&(F.style.zIndex=5,F.style.position="relative",O.noHScroll||(F.style.marginLeft=-re.gutterTotalWidth+"px"))}function Rn(O){if(O.height!=null)return O.height;var F=O.doc.cm;if(!F)return 0;if(!R(document.body,O.node)){var $="position: relative;";O.coverGutter&&($+="margin-left: -"+F.display.gutters.offsetWidth+"px;"),O.noHScroll&&($+="width: "+F.display.wrapper.clientWidth+"px;"),I(F.display.measure,L("div",[O.node],null,$))}return O.height=O.node.parentNode.offsetHeight}function Nn(O,F){for(var $=qe(F);$!=O.wrapper;$=$.parentNode)if(!$||$.nodeType==1&&$.getAttribute("cm-ignore-events")=="true"||$.parentNode==O.sizer&&$!=O.mover)return!0}function vn(O){return O.lineSpace.offsetTop}function Sn(O){return O.mover.offsetHeight-O.lineSpace.offsetHeight}function Tn(O){if(O.cachedPaddingH)return O.cachedPaddingH;var F=I(O.measure,L("pre","x","CodeMirror-line-like")),$=window.getComputedStyle?window.getComputedStyle(F):F.currentStyle,re={left:parseInt($.paddingLeft),right:parseInt($.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(O.cachedPaddingH=re),re}function Kn(O){return Z-O.display.nativeBarWidth}function Qn(O){return O.display.scroller.clientWidth-Kn(O)-O.display.barWidth}function qn(O){return O.display.scroller.clientHeight-Kn(O)-O.display.barHeight}function bi(O,F,$){var re=O.options.lineWrapping,le=re&&Qn(O);if(!F.measure.heights||re&&F.measure.width!=le){var De=F.measure.heights=[];if(re){F.measure.width=le;for(var dt=F.text.firstChild.getClientRects(),Lt=0;Lt<dt.length-1;Lt++){var Qt=dt[Lt],er=dt[Lt+1];Math.abs(Qt.bottom-er.bottom)>2&&De.push((Qt.bottom+er.top)/2-$.top)}}De.push($.bottom-$.top)}}function gi(O,F,$){if(O.line==F)return{map:O.measure.map,cache:O.measure.cache};for(var re=0;re<O.rest.length;re++)if(O.rest[re]==F)return{map:O.measure.maps[re],cache:O.measure.caches[re]};for(var le=0;le<O.rest.length;le++)if(or(O.rest[le])>$)return{map:O.measure.maps[le],cache:O.measure.caches[le],before:!0}}function Ri(O,F){F=gn(F);var $=or(F),re=O.display.externalMeasured=new ro(O.doc,F,$);re.lineN=$;var le=re.built=ti(O,re);return re.text=le.pre,I(O.display.lineMeasure,le.pre),re}function Bi(O,F,$,re){return Di(O,Ti(O,F),$,re)}function xi(O,F){if(F>=O.display.viewFrom&&F<O.display.viewTo)return O.display.view[ka(O,F)];var $=O.display.externalMeasured;if($&&F>=$.lineN&&F<$.lineN+$.size)return $}function Ti(O,F){var $=or(F),re=xi(O,$);re&&!re.text?re=null:re&&re.changes&&(rn(O,re,$,ea(O)),O.curOp.forceUpdate=!0),re||(re=Ri(O,F));var le=gi(re,F,$);return{line:F,view:re,rect:null,map:le.map,cache:le.cache,before:le.before,hasHeights:!1}}function Di(O,F,$,re,le){F.before&&($=-1);var De=$+(re||""),dt;return F.cache.hasOwnProperty(De)?dt=F.cache[De]:(F.rect||(F.rect=F.view.text.getBoundingClientRect()),F.hasHeights||(bi(O,F.view,F.rect),F.hasHeights=!0),dt=mr(O,F,$,re),dt.bogus||(F.cache[De]=dt)),{left:dt.left,right:dt.right,top:le?dt.rtop:dt.top,bottom:le?dt.rbottom:dt.bottom}}var Pn={left:0,right:0,top:0,bottom:0};function _i(O,F,$){for(var re,le,De,dt,Lt,Qt,er=0;er<O.length;er+=3)if(Lt=O[er],Qt=O[er+1],F<Lt?(le=0,De=1,dt="left"):F<Qt?(le=F-Lt,De=le+1):(er==O.length-3||F==Qt&&O[er+3]>F)&&(De=Qt-Lt,le=De-1,F>=Qt&&(dt="right")),le!=null){if(re=O[er+2],Lt==Qt&&$==(re.insertLeft?"left":"right")&&(dt=$),$=="left"&&le==0)for(;er&&O[er-2]==O[er-3]&&O[er-1].insertLeft;)re=O[(er-=3)+2],dt="left";if($=="right"&&le==Qt-Lt)for(;er<O.length-3&&O[er+3]==O[er+4]&&!O[er+5].insertLeft;)re=O[(er+=3)+2],dt="right";break}return{node:re,start:le,end:De,collapse:dt,coverStart:Lt,coverEnd:Qt}}function ji(O,F){var $=Pn;if(F=="left")for(var re=0;re<O.length&&!(($=O[re]).left!=$.right);re++);else for(var le=O.length-1;le>=0&&!(($=O[le]).left!=$.right);le--);return $}function mr(O,F,$,re){var le=_i(F.map,$,re),De=le.node,dt=le.start,Lt=le.end,Qt=le.collapse,er;if(De.nodeType==3){for(var en=0;en<4;en++){for(;dt&&se(F.line.text.charAt(le.coverStart+dt));)--dt;for(;le.coverStart+Lt<le.coverEnd&&se(F.line.text.charAt(le.coverStart+Lt));)++Lt;if(d&&l<9&&dt==0&&Lt==le.coverEnd-le.coverStart?er=De.parentNode.getBoundingClientRect():er=ji(k(De,dt,Lt).getClientRects(),re),er.left||er.right||dt==0)break;Lt=dt,dt=dt-1,Qt="right"}d&&l<11&&(er=Dr(O.display.measure,er))}else{dt>0&&(Qt=re="right");var fn;O.options.lineWrapping&&(fn=De.getClientRects()).length>1?er=fn[re=="right"?fn.length-1:0]:er=De.getBoundingClientRect()}if(d&&l<9&&!dt&&(!er||!er.left&&!er.right)){var Fn=De.parentNode.getClientRects()[0];Fn?er={left:Fn.left,right:Fn.left+na(O.display),top:Fn.top,bottom:Fn.bottom}:er=Pn}for(var kn=er.top-F.rect.top,Ai=er.bottom-F.rect.top,Ui=(kn+Ai)/2,qi=F.view.measure.heights,Zi=0;Zi<qi.length-1&&!(Ui<qi[Zi]);Zi++);var Xi=Zi?qi[Zi-1]:0,Aa=qi[Zi],Ca={left:(Qt=="right"?er.right:er.left)-F.rect.left,right:(Qt=="left"?er.left:er.right)-F.rect.left,top:Xi,bottom:Aa};return!er.left&&!er.right&&(Ca.bogus=!0),O.options.singleCursorHeightPerLine||(Ca.rtop=kn,Ca.rbottom=Ai),Ca}function Dr(O,F){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!He(O))return F;var $=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:F.left*$,right:F.right*$,top:F.top*re,bottom:F.bottom*re}}function Gr(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var F=0;F<O.rest.length;F++)O.measure.caches[F]={}}function Nr(O){O.display.externalMeasure=null,C(O.display.lineMeasure);for(var F=0;F<O.display.view.length;F++)Gr(O.display.view[F])}function Gt(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 a&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function rr(){return a&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Pr(O){var F=0;if(O.widgets)for(var $=0;$<O.widgets.length;++$)O.widgets[$].above&&(F+=Rn(O.widgets[$]));return F}function kr(O,F,$,re,le){if(!le){var De=Pr(F);$.top+=De,$.bottom+=De}if(re=="line")return $;re||(re="local");var dt=Xn(F);if(re=="local"?dt+=vn(O.display):dt-=O.display.viewOffset,re=="page"||re=="window"){var Lt=O.display.lineSpace.getBoundingClientRect();dt+=Lt.top+(re=="window"?0:rr());var Qt=Lt.left+(re=="window"?0:xr());$.left+=Qt,$.right+=Qt}return $.top+=dt,$.bottom+=dt,$}function dn(O,F,$){if($=="div")return F;var re=F.left,le=F.top;if($=="page")re-=xr(),le-=rr();else if($=="local"||!$){var De=O.display.sizer.getBoundingClientRect();re+=De.left,le+=De.top}var dt=O.display.lineSpace.getBoundingClientRect();return{left:re-dt.left,top:le-dt.top}}function ln(O,F,$,re,le){return re||(re=Xe(O.doc,F.line)),kr(O,re,Bi(O,re,F.ch,le),$)}function yn(O,F,$,re,le,De){re=re||Xe(O.doc,F.line),le||(le=Ti(O,re));function dt(Ai,Ui){var qi=Di(O,le,Ai,Ui?"right":"left",De);return Ui?qi.left=qi.right:qi.right=qi.left,kr(O,re,qi,$)}var Lt=at(re,O.doc.direction),Qt=F.ch,er=F.sticky;if(Qt>=re.text.length?(Qt=re.text.length,er="before"):Qt<=0&&(Qt=0,er="after"),!Lt)return dt(er=="before"?Qt-1:Qt,er=="before");function en(Ai,Ui,qi){var Zi=Lt[Ui],Xi=Zi.level==1;return dt(qi?Ai-1:Ai,Xi!=qi)}var fn=_e(Lt,Qt,er),Fn=de,kn=en(Qt,fn,er=="before");return Fn!=null&&(kn.other=en(Qt,Fn,er!="before")),kn}function Bn(O,F){var $=0;F=gt(O.doc,F),O.options.lineWrapping||($=na(O.display)*F.ch);var re=Xe(O.doc,F.line),le=Xn(re)+vn(O.display);return{left:$,right:$,top:le,bottom:le+re.height}}function Gn(O,F,$,re,le){var De=Yt(O,F,$);return De.xRel=le,re&&(De.outside=re),De}function ei(O,F,$){var re=O.doc;if($+=O.display.viewOffset,$<0)return Gn(re.first,0,null,-1,-1);var le=Xr(re,$),De=re.first+re.size-1;if(le>De)return Gn(re.first+re.size-1,Xe(re,De).text.length,null,1,1);F<0&&(F=0);for(var dt=Xe(re,le);;){var Lt=ha(O,dt,le,F,$),Qt=Dn(dt,Lt.ch+(Lt.xRel>0||Lt.outside>0?1:0));if(!Qt)return Lt;var er=Qt.find(1);if(er.line==le)return er;dt=Xe(re,le=er.line)}}function Ci(O,F,$,re){re-=Pr(F);var le=F.text.length,De=Se(function(dt){return Di(O,$,dt-1).bottom<=re},le,0);return le=Se(function(dt){return Di(O,$,dt).top>re},De,le),{begin:De,end:le}}function Qi(O,F,$,re){$||($=Ti(O,F));var le=kr(O,F,Di(O,$,re),"line").top;return Ci(O,F,$,le)}function ua(O,F,$,re){return O.bottom<=$?!1:O.top>$?!0:(re?O.left:O.right)>F}function ha(O,F,$,re,le){le-=Xn(F);var De=Ti(O,F),dt=Pr(F),Lt=0,Qt=F.text.length,er=!0,en=at(F,O.doc.direction);if(en){var fn=(O.options.lineWrapping?da:la)(O,F,$,De,en,re,le);er=fn.level!=1,Lt=er?fn.from:fn.to-1,Qt=er?fn.to:fn.from-1}var Fn=null,kn=null,Ai=Se(function(no){var Wa=Di(O,De,no);return Wa.top+=dt,Wa.bottom+=dt,ua(Wa,re,le,!1)?(Wa.top<=le&&Wa.left<=re&&(Fn=no,kn=Wa),!0):!1},Lt,Qt),Ui,qi,Zi=!1;if(kn){var Xi=re-kn.left<kn.right-re,Aa=Xi==er;Ai=Fn+(Aa?0:1),qi=Aa?"after":"before",Ui=Xi?kn.left:kn.right}else{!er&&(Ai==Qt||Ai==Lt)&&Ai++,qi=Ai==0?"after":Ai==F.text.length?"before":Di(O,De,Ai-(er?1:0)).bottom+dt<=le==er?"after":"before";var Ca=yn(O,Yt($,Ai,qi),"line",F,De);Ui=Ca.left,Zi=le<Ca.top?-1:le>=Ca.bottom?1:0}return Ai=Te(F.text,Ai,1),Gn($,Ai,qi,Zi,re-Ui)}function la(O,F,$,re,le,De,dt){var Lt=Se(function(fn){var Fn=le[fn],kn=Fn.level!=1;return ua(yn(O,Yt($,kn?Fn.to:Fn.from,kn?"before":"after"),"line",F,re),De,dt,!0)},0,le.length-1),Qt=le[Lt];if(Lt>0){var er=Qt.level!=1,en=yn(O,Yt($,er?Qt.from:Qt.to,er?"after":"before"),"line",F,re);ua(en,De,dt,!0)&&en.top>dt&&(Qt=le[Lt-1])}return Qt}function da(O,F,$,re,le,De,dt){var Lt=Ci(O,F,re,dt),Qt=Lt.begin,er=Lt.end;/\s/.test(F.text.charAt(er-1))&&er--;for(var en=null,fn=null,Fn=0;Fn<le.length;Fn++){var kn=le[Fn];if(kn.from>=er||kn.to<=Qt)continue;var Ai=kn.level!=1,Ui=Di(O,re,Ai?Math.min(er,kn.to)-1:Math.max(Qt,kn.from)).right,qi=Ui<De?De-Ui+1e9:Ui-De;(!en||fn>qi)&&(en=kn,fn=qi)}return en||(en=le[le.length-1]),en.from<Qt&&(en={from:Qt,to:en.to,level:en.level}),en.to>er&&(en={from:en.from,to:er,level:en.level}),en}var Wi;function Mi(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if(Wi==null){Wi=L("pre",null,"CodeMirror-line-like");for(var F=0;F<49;++F)Wi.appendChild(document.createTextNode("x")),Wi.appendChild(L("br"));Wi.appendChild(document.createTextNode("x"))}I(O.measure,Wi);var $=Wi.offsetHeight/50;return $>3&&(O.cachedTextHeight=$),C(O.measure),$||1}function na(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var F=L("span","xxxxxxxxxx"),$=L("pre",[F],"CodeMirror-line-like");I(O.measure,$);var re=F.getBoundingClientRect(),le=(re.right-re.left)/10;return le>2&&(O.cachedCharWidth=le),le||10}function ea(O){for(var F=O.display,$={},re={},le=F.gutters.clientLeft,De=F.gutters.firstChild,dt=0;De;De=De.nextSibling,++dt){var Lt=O.display.gutterSpecs[dt].className;$[Lt]=De.offsetLeft+De.clientLeft+le,re[Lt]=De.clientWidth}return{fixedPos:_a(F),gutterTotalWidth:F.gutters.offsetWidth,gutterLeft:$,gutterWidth:re,wrapperWidth:F.wrapper.clientWidth}}function _a(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function Fa(O){var F=Mi(O.display),$=O.options.lineWrapping,re=$&&Math.max(5,O.display.scroller.clientWidth/na(O.display)-3);return function(le){if(ni(O.doc,le))return 0;var De=0;if(le.widgets)for(var dt=0;dt<le.widgets.length;dt++)le.widgets[dt].height&&(De+=le.widgets[dt].height);return $?De+(Math.ceil(le.text.length/re)||1)*F:De+F}}function ta(O){var F=O.doc,$=Fa(O);F.iter(function(re){var le=$(re);le!=re.height&&ir(re,le)})}function Yi(O,F,$,re){var le=O.display;if(!$&&qe(F).getAttribute("cm-not-content")=="true")return null;var De,dt,Lt=le.lineSpace.getBoundingClientRect();try{De=F.clientX-Lt.left,dt=F.clientY-Lt.top}catch(fn){return null}var Qt=ei(O,De,dt),er;if(re&&Qt.xRel>0&&(er=Xe(O.doc,Qt.line).text).length==Qt.ch){var en=U(er,er.length,O.options.tabSize)-er.length;Qt=Yt(Qt.line,Math.max(0,Math.round((De-Tn(O.display).left)/na(O.display))-en))}return Qt}function ka(O,F){if(F>=O.display.viewTo)return null;if(F-=O.display.viewFrom,F<0)return null;for(var $=O.display.view,re=0;re<$.length;re++)if(F-=$[re].size,F<0)return re}function ba(O,F,$,re){F==null&&(F=O.doc.first),$==null&&($=O.doc.first+O.doc.size),re||(re=0);var le=O.display;if(re&&$<le.viewTo&&(le.updateLineNumbers==null||le.updateLineNumbers>F)&&(le.updateLineNumbers=F),O.curOp.viewChanged=!0,F>=le.viewTo)Ke&&sn(O.doc,F)<le.viewTo&&ca(O);else if($<=le.viewFrom)Ke&&li(O.doc,$+re)>le.viewFrom?ca(O):(le.viewFrom+=re,le.viewTo+=re);else if(F<=le.viewFrom&&$>=le.viewTo)ca(O);else if(F<=le.viewFrom){var De=Ha(O,$,$+re,1);De?(le.view=le.view.slice(De.index),le.viewFrom=De.lineN,le.viewTo+=re):ca(O)}else if($>=le.viewTo){var dt=Ha(O,F,F,-1);dt?(le.view=le.view.slice(0,dt.index),le.viewTo=dt.lineN):ca(O)}else{var Lt=Ha(O,F,F,-1),Qt=Ha(O,$,$+re,1);Lt&&Qt?(le.view=le.view.slice(0,Lt.index).concat(di(O,Lt.lineN,Qt.lineN)).concat(le.view.slice(Qt.index)),le.viewTo+=re):ca(O)}var er=le.externalMeasured;er&&($<er.lineN?er.lineN+=re:F<er.lineN+er.size&&(le.externalMeasured=null))}function Ei(O,F,$){O.curOp.viewChanged=!0;var re=O.display,le=O.display.externalMeasured;if(le&&F>=le.lineN&&F<le.lineN+le.size&&(re.externalMeasured=null),F<re.viewFrom||F>=re.viewTo)return;var De=re.view[ka(O,F)];if(De.node==null)return;var dt=De.changes||(De.changes=[]);W(dt,$)==-1&&dt.push($)}function ca(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function Ha(O,F,$,re){var le=ka(O,F),De,dt=O.display.view;if(!Ke||$==O.doc.first+O.doc.size)return{index:le,lineN:$};for(var Lt=O.display.viewFrom,Qt=0;Qt<le;Qt++)Lt+=dt[Qt].size;if(Lt!=F){if(re>0){if(le==dt.length-1)return null;De=Lt+dt[le].size-F,le++}else De=Lt-F;F+=De,$+=De}for(;sn(O.doc,$)!=$;){if(le==(re<0?0:dt.length-1))return null;$+=re*dt[le-(re<0?1:0)].size,le+=re}return{index:le,lineN:$}}function Pa(O,F,$){var re=O.display,le=re.view;le.length==0||F>=re.viewTo||$<=re.viewFrom?(re.view=di(O,F,$),re.viewFrom=F):(re.viewFrom>F?re.view=di(O,F,re.viewFrom).concat(re.view):re.viewFrom<F&&(re.view=re.view.slice(ka(O,F))),re.viewFrom=F,re.viewTo<$?re.view=re.view.concat(di(O,re.viewTo,$)):re.viewTo>$&&(re.view=re.view.slice(0,ka(O,$)))),re.viewTo=$}function ya(O){for(var F=O.display.view,$=0,re=0;re<F.length;re++){var le=F[re];!le.hidden&&(!le.node||le.changes)&&++$}return $}function Ea(O){O.display.input.showSelection(O.display.input.prepareSelection())}function Ga(O,F){F===void 0&&(F=!0);for(var $=O.doc,re={},le=re.cursors=document.createDocumentFragment(),De=re.selection=document.createDocumentFragment(),dt=0;dt<$.sel.ranges.length;dt++){if(!F&&dt==$.sel.primIndex)continue;var Lt=$.sel.ranges[dt];if(Lt.from().line>=O.display.viewTo||Lt.to().line<O.display.viewFrom)continue;var Qt=Lt.empty();(Qt||O.options.showCursorWhenSelecting)&&Ta(O,Lt.head,le),Qt||uo(O,Lt,De)}return re}function Ta(O,F,$){var re=yn(O,F,"div",null,null,!O.options.singleCursorHeightPerLine),le=$.appendChild(L("div","\xA0","CodeMirror-cursor"));if(le.style.left=re.left+"px",le.style.top=re.top+"px",le.style.height=Math.max(0,re.bottom-re.top)*O.options.cursorHeight+"px",re.other){var De=$.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));De.style.display="",De.style.left=re.other.left+"px",De.style.top=re.other.top+"px",De.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Va(O,F){return O.top-F.top||O.left-F.left}function uo(O,F,$){var re=O.display,le=O.doc,De=document.createDocumentFragment(),dt=Tn(O.display),Lt=dt.left,Qt=Math.max(re.sizerWidth,Qn(O)-re.sizer.offsetLeft)-dt.right,er=le.direction=="ltr";function en(Aa,Ca,no,Wa){Ca<0&&(Ca=0),Ca=Math.round(Ca),Wa=Math.round(Wa),De.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+Aa+`px;
top: `+Ca+"px; width: "+(no==null?Qt-Aa:no)+`px;
height: `+(Wa-Ca)+"px"))}function fn(Aa,Ca,no){var Wa=Xe(le,Aa),So=Wa.text.length,ko,as;function es(Cs,sl){return ln(O,Yt(Aa,Cs),"div",Wa,sl)}function Us(Cs,sl,js){var ks=Qi(O,Wa,null,Cs),Is=sl=="ltr"==(js=="after")?"left":"right",gs=js=="after"?ks.begin:ks.end-(/\s/.test(Wa.text.charAt(ks.end-1))?2:1);return es(gs,Is)[Is]}var ol=at(Wa,le.direction);return ie(ol,Ca||0,no==null?So:no,function(Cs,sl,js,ks){var Is=js=="ltr",gs=es(Cs,Is?"left":"right"),il=es(sl-1,Is?"right":"left"),gc=Ca==null&&Cs==0,bl=no==null&&sl==So,Os=ks==0,gl=!ol||ks==ol.length-1;if(il.top-gs.top<=3){var Ws=(er?gc:bl)&&Os,tu=(er?bl:gc)&&gl,xa=Ws?Lt:(Is?gs:il).left,hl=tu?Qt:(Is?il:gs).right;en(xa,gs.top,hl-xa,gs.bottom)}else{var Tl,us,jl,$o;Is?(Tl=er&&gc&&Os?Lt:gs.left,us=er?Qt:Us(Cs,js,"before"),jl=er?Lt:Us(sl,js,"after"),$o=er&&bl&&gl?Qt:il.right):(Tl=er?Us(Cs,js,"before"):Lt,us=!er&&gc&&Os?Qt:gs.right,jl=!er&&bl&&gl?Lt:il.left,$o=er?Us(sl,js,"after"):Qt),en(Tl,gs.top,us-Tl,gs.bottom),gs.bottom<il.top&&en(Lt,gs.bottom,null,il.top),en(jl,il.top,$o-jl,il.bottom)}(!ko||Va(gs,ko)<0)&&(ko=gs),Va(il,ko)<0&&(ko=il),(!as||Va(gs,as)<0)&&(as=gs),Va(il,as)<0&&(as=il)}),{start:ko,end:as}}var Fn=F.from(),kn=F.to();if(Fn.line==kn.line)fn(Fn.line,Fn.ch,kn.ch);else{var Ai=Xe(le,Fn.line),Ui=Xe(le,kn.line),qi=gn(Ai)==gn(Ui),Zi=fn(Fn.line,Fn.ch,qi?Ai.text.length+1:null).end,Xi=fn(kn.line,qi?0:null,kn.ch).start;qi&&(Zi.top<Xi.top-2?(en(Zi.right,Zi.top,null,Zi.bottom),en(Lt,Xi.top,Xi.left,Xi.bottom)):en(Zi.right,Zi.top,Xi.left-Zi.right,Zi.bottom)),Zi.bottom<Xi.top&&en(Lt,Zi.bottom,null,Xi.top)}$.appendChild(De)}function aa(O){if(!O.state.focused)return;var F=O.display;clearInterval(F.blinker);var $=!0;F.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?F.blinker=setInterval(function(){O.hasFocus()||$a(O),F.cursorDiv.style.visibility=($=!$)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(F.cursorDiv.style.visibility="hidden")}function po(O){O.state.focused||(O.display.input.focus(),Da(O))}function Ua(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,$a(O))},100)}function Da(O,F){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(bt(O,"focus",O,F),O.state.focused=!0,V(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),n&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),aa(O)}function $a(O,F){if(O.state.delayingBlurEvent)return;O.state.focused&&(bt(O,"blur",O,F),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 F=O.display,$=F.lineDiv.offsetTop,re=0;re<F.view.length;re++){var le=F.view[re],De=O.options.lineWrapping,dt=void 0,Lt=0;if(le.hidden)continue;if(d&&l<8){var Qt=le.node.offsetTop+le.node.offsetHeight;dt=Qt-$,$=Qt}else{var er=le.node.getBoundingClientRect();dt=er.bottom-er.top,!De&&le.text.firstChild&&(Lt=le.text.firstChild.getBoundingClientRect().right-er.left-1)}var en=le.line.height-dt;if((en>.005||en<-.005)&&(ir(le.line,dt),Ka(le.line),le.rest))for(var fn=0;fn<le.rest.length;fn++)Ka(le.rest[fn]);if(Lt>O.display.sizerWidth){var Fn=Math.ceil(Lt/na(O.display));Fn>O.display.maxLineLength&&(O.display.maxLineLength=Fn,O.display.maxLine=le.line,O.display.maxLineChanged=!0)}}}function Ka(O){if(O.widgets)for(var F=0;F<O.widgets.length;++F){var $=O.widgets[F],re=$.node.parentNode;re&&($.height=re.offsetHeight)}}function yo(O,F,$){var re=$&&$.top!=null?Math.max(0,$.top):O.scroller.scrollTop;re=Math.floor(re-vn(O));var le=$&&$.bottom!=null?$.bottom:re+O.wrapper.clientHeight,De=Xr(F,re),dt=Xr(F,le);if($&&$.ensure){var Lt=$.ensure.from.line,Qt=$.ensure.to.line;Lt<De?(De=Lt,dt=Xr(F,Xn(Xe(F,Lt))+O.wrapper.clientHeight)):Math.min(Qt,F.lastLine())>=dt&&(De=Xr(F,Xn(Xe(F,Qt))-O.wrapper.clientHeight),dt=Qt)}return{from:De,to:Math.max(dt,De+1)}}function io(O,F){if(Ct(O,"scrollCursorIntoView"))return;var $=O.display,re=$.sizer.getBoundingClientRect(),le=null;if(F.top+re.top<0?le=!0:F.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(le=!1),le!=null&&!e){var De=L("div","\u200B",null,`position: absolute;
top: `+(F.top-$.viewOffset-vn(O.display))+`px;
height: `+(F.bottom-F.top+Kn(O)+$.barHeight)+`px;
left: `+F.left+"px; width: "+Math.max(2,F.right-F.left)+"px;");O.display.lineSpace.appendChild(De),De.scrollIntoView(le),O.display.lineSpace.removeChild(De)}}function xo(O,F,$,re){re==null&&(re=0);var le;!O.options.lineWrapping&&F==$&&(F=F.ch?Yt(F.line,F.sticky=="before"?F.ch-1:F.ch,"after"):F,$=F.sticky=="before"?Yt(F.line,F.ch+1,"before"):F);for(var De=0;De<5;De++){var dt=!1,Lt=yn(O,F),Qt=!$||$==F?Lt:yn(O,$);le={left:Math.min(Lt.left,Qt.left),top:Math.min(Lt.top,Qt.top)-re,right:Math.max(Lt.left,Qt.left),bottom:Math.max(Lt.bottom,Qt.bottom)+re};var er=go(O,le),en=O.doc.scrollTop,fn=O.doc.scrollLeft;if(er.scrollTop!=null&&(ma(O,er.scrollTop),Math.abs(O.doc.scrollTop-en)>1&&(dt=!0)),er.scrollLeft!=null&&(zo(O,er.scrollLeft),Math.abs(O.doc.scrollLeft-fn)>1&&(dt=!0)),!dt)break}return le}function mo(O,F){var $=go(O,F);$.scrollTop!=null&&ma(O,$.scrollTop),$.scrollLeft!=null&&zo(O,$.scrollLeft)}function go(O,F){var $=O.display,re=Mi(O.display);F.top<0&&(F.top=0);var le=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:$.scroller.scrollTop,De=qn(O),dt={};F.bottom-F.top>De&&(F.bottom=F.top+De);var Lt=O.doc.height+Sn($),Qt=F.top<re,er=F.bottom>Lt-re;if(F.top<le)dt.scrollTop=Qt?0:F.top;else if(F.bottom>le+De){var en=Math.min(F.top,(er?Lt:F.bottom)-De);en!=le&&(dt.scrollTop=en)}var fn=O.options.fixedGutter?0:$.gutters.offsetWidth,Fn=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:$.scroller.scrollLeft-fn,kn=Qn(O)-$.gutters.offsetWidth,Ai=F.right-F.left>kn;return Ai&&(F.right=F.left+kn),F.left<10?dt.scrollLeft=0:F.left<Fn?dt.scrollLeft=Math.max(0,F.left+fn-(Ai?0:10)):F.right>kn+Fn-3&&(dt.scrollLeft=F.right+(Ai?0:10)-kn),dt}function Ya(O,F){if(F==null)return;vo(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+F}function qa(O){vo(O);var F=O.getCursor();O.curOp.scrollToPos={from:F,to:F,margin:O.options.cursorScrollMargin}}function La(O,F,$){(F!=null||$!=null)&&vo(O),F!=null&&(O.curOp.scrollLeft=F),$!=null&&(O.curOp.scrollTop=$)}function oo(O,F){vo(O),O.curOp.scrollToPos=F}function vo(O){var F=O.curOp.scrollToPos;if(F){O.curOp.scrollToPos=null;var $=Bn(O,F.from),re=Bn(O,F.to);Fi(O,$,re,F.margin)}}function Fi(O,F,$,re){var le=go(O,{left:Math.min(F.left,$.left),top:Math.min(F.top,$.top)-re,right:Math.max(F.right,$.right),bottom:Math.max(F.bottom,$.bottom)+re});La(O,le.scrollLeft,le.scrollTop)}function ma(O,F){if(Math.abs(O.doc.scrollTop-F)<2)return;E||Vo(O,{top:F}),Mo(O,F,!0),E&&Vo(O),Ho(O,100)}function Mo(O,F,$){if(F=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,F)),O.display.scroller.scrollTop==F&&!$)return;O.doc.scrollTop=F,O.display.scrollbars.setScrollTop(F),O.display.scroller.scrollTop!=F&&(O.display.scroller.scrollTop=F)}function zo(O,F,$,re){if(F=Math.max(0,Math.min(F,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),($?F==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-F)<2)&&!re)return;O.doc.scrollLeft=F,Ss(O),O.display.scroller.scrollLeft!=F&&(O.display.scroller.scrollLeft=F),O.display.scrollbars.setScrollLeft(F)}function Qo(O){var F=O.display,$=F.gutters.offsetWidth,re=Math.round(O.doc.height+Sn(O.display));return{clientHeight:F.scroller.clientHeight,viewHeight:F.wrapper.clientHeight,scrollWidth:F.scroller.scrollWidth,clientWidth:F.scroller.clientWidth,viewWidth:F.wrapper.clientWidth,barLeft:O.options.fixedGutter?$:0,docHeight:re,scrollHeight:re+Kn(O)+F.barHeight,nativeBarWidth:F.nativeBarWidth,gutterWidth:$}}var Jo=function(F,$,re){this.cm=re;var le=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");le.tabIndex=De.tabIndex=-1,F(le),F(De),Oe(le,"scroll",function(){le.clientHeight&&$(le.scrollTop,"vertical")}),Oe(De,"scroll",function(){De.clientWidth&&$(De.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Jo.prototype.update=function(O){var F=O.scrollWidth>O.clientWidth+1,$=O.scrollHeight>O.clientHeight+1,re=O.nativeBarWidth;if($){this.vert.style.display="block",this.vert.style.bottom=F?re+"px":"0";var le=O.viewHeight-(F?re:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+le)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(F){this.horiz.style.display="block",this.horiz.style.right=$?re+"px":"0",this.horiz.style.left=O.barLeft+"px";var De=O.viewWidth-O.barLeft-($?re: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&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:$?re:0,bottom:F?re:0}},Jo.prototype.setScrollLeft=function(O){this.horiz.scrollLeft!=O&&(this.horiz.scrollLeft=O),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Jo.prototype.setScrollTop=function(O){this.vert.scrollTop!=O&&(this.vert.scrollTop=O),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Jo.prototype.zeroWidthHack=function(){var O=g&&!c?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new G,this.disableVert=new G},Jo.prototype.enableZeroWidthBar=function(O,F,$){O.style.pointerEvents="auto";function re(){var le=O.getBoundingClientRect(),De=$=="vert"?document.elementFromPoint(le.right-1,(le.top+le.bottom)/2):document.elementFromPoint((le.right+le.left)/2,le.bottom-1);De!=O?O.style.pointerEvents="none":F.set(1e3,re)}F.set(1e3,re)},Jo.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 Ra(O,F){F||(F=Qo(O));var $=O.display.barWidth,re=O.display.barHeight;jo(O,F);for(var le=0;le<4&&$!=O.display.barWidth||re!=O.display.barHeight;le++)$!=O.display.barWidth&&O.options.lineWrapping&&Ma(O),jo(O,Qo(O)),$=O.display.barWidth,re=O.display.barHeight}function jo(O,F){var $=O.display,re=$.scrollbars.update(F);$.sizer.style.paddingRight=($.barWidth=re.right)+"px",$.sizer.style.paddingBottom=($.barHeight=re.bottom)+"px",$.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?($.scrollbarFiller.style.display="block",$.scrollbarFiller.style.height=re.bottom+"px",$.scrollbarFiller.style.width=re.right+"px"):$.scrollbarFiller.style.display="",re.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?($.gutterFiller.style.display="block",$.gutterFiller.style.height=re.bottom+"px",$.gutterFiller.style.width=F.gutterWidth+"px"):$.gutterFiller.style.display=""}var hs={native:Jo,null:bo};function Ao(O){O.display.scrollbars&&(O.display.scrollbars.clear(),O.display.scrollbars.addClass&&x(O.display.wrapper,O.display.scrollbars.addClass)),O.display.scrollbars=new hs[O.options.scrollbarStyle](function(F){O.display.wrapper.insertBefore(F,O.display.scrollbarFiller),Oe(F,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),F.setAttribute("cm-not-content","true")},function(F,$){$=="horizontal"?zo(O,F):ma(O,F)},O),O.display.scrollbars.addClass&&V(O.display.wrapper,O.display.scrollbars.addClass)}var Io=0;function Xa(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:++Io},Ni(O.curOp)}function Yo(O){var F=O.curOp;F&&Ki(F,function($){for(var re=0;re<$.ops.length;re++)$.ops[re].cm.curOp=null;pl($)})}function pl(O){for(var F=O.ops,$=0;$<F.length;$++)Ls(F[$]);for(var re=0;re<F.length;re++)os(F[re]);for(var le=0;le<F.length;le++)_s(F[le]);for(var De=0;De<F.length;De++)Ns(F[De]);for(var dt=0;dt<F.length;dt++)is(F[dt])}function Ls(O){var F=O.cm,$=F.display;Ps(F),O.updateMaxLine&&wi(F),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<$.viewFrom||O.scrollToPos.to.line>=$.viewTo)||$.maxLineChanged&&F.options.lineWrapping,O.update=O.mustUpdate&&new Si(F,O.mustUpdate&&{top:O.scrollTop,ensure:O.scrollToPos},O.forceUpdate)}function os(O){O.updatedDisplay=O.mustUpdate&&so(O.cm,O.update)}function _s(O){var F=O.cm,$=F.display;O.updatedDisplay&&Ma(F),O.barMeasure=Qo(F),$.maxLineChanged&&!F.options.lineWrapping&&(O.adjustWidthTo=Bi(F,$.maxLine,$.maxLine.text.length).left+3,F.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max($.scroller.clientWidth,$.sizer.offsetLeft+O.adjustWidthTo+Kn(F)+F.display.barWidth),O.maxScrollLeft=Math.max(0,$.sizer.offsetLeft+O.adjustWidthTo-Qn(F))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=$.input.prepareSelection())}function Ns(O){var F=O.cm;O.adjustWidthTo!=null&&(F.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft<F.doc.scrollLeft&&zo(F,Math.min(F.display.scroller.scrollLeft,O.maxScrollLeft),!0),F.display.maxLineChanged=!1);var $=O.focus&&O.focus==j();O.preparedSelection&&F.display.input.showSelection(O.preparedSelection,$),(O.updatedDisplay||O.startHeight!=F.doc.height)&&Ra(F,O.barMeasure),O.updatedDisplay&&ws(F,O.barMeasure),O.selectionChanged&&aa(F),F.state.focused&&O.updateInput&&F.display.input.reset(O.typing),$&&po(O.cm)}function is(O){var F=O.cm,$=F.display,re=F.doc;if(O.updatedDisplay&&wo(F,O.update),$.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&($.wheelStartX=$.wheelStartY=null),O.scrollTop!=null&&Mo(F,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&zo(F,O.scrollLeft,!0,!0),O.scrollToPos){var le=xo(F,gt(re,O.scrollToPos.from),gt(re,O.scrollToPos.to),O.scrollToPos.margin);io(F,le)}var De=O.maybeHiddenMarkers,dt=O.maybeUnhiddenMarkers;if(De)for(var Lt=0;Lt<De.length;++Lt)De[Lt].lines.length||bt(De[Lt],"hide");if(dt)for(var Qt=0;Qt<dt.length;++Qt)dt[Qt].lines.length&&bt(dt[Qt],"unhide");$.wrapper.offsetHeight&&(re.scrollTop=F.display.scroller.scrollTop),O.changeObjs&&bt(F,"changes",F,O.changeObjs),O.update&&O.update.finish()}function Wo(O,F){if(O.curOp)return F();Xa(O);try{return F()}finally{Yo(O)}}function Co(O,F){return function(){if(O.curOp)return F.apply(O,arguments);Xa(O);try{return F.apply(O,arguments)}finally{Yo(O)}}}function ts(O){return function(){if(this.curOp)return O.apply(this,arguments);Xa(this);try{return O.apply(this,arguments)}finally{Yo(this)}}}function No(O){return function(){var F=this.cm;if(!F||F.curOp)return O.apply(this,arguments);Xa(F);try{return O.apply(this,arguments)}finally{Yo(F)}}}function Ho(O,F){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(F,P(zr,O))}function zr(O){var F=O.doc;if(F.highlightFrontier>=O.display.viewTo)return;var $=+new Date+O.options.workTime,re=Ln(O,F.highlightFrontier),le=[];F.iter(re.line,Math.min(F.first+F.size,O.display.viewTo+500),function(De){if(re.line>=O.display.viewFrom){var dt=De.styles,Lt=De.text.length>O.options.maxHighlightLength?Tt(F.mode,re.state):null,Qt=Qr(O,De,re,!0);Lt&&(re.state=Lt),De.styles=Qt.styles;var er=De.styleClasses,en=Qt.classes;en?De.styleClasses=en:er&&(De.styleClasses=null);for(var fn=!dt||dt.length!=De.styles.length||er!=en&&(!er||!en||er.bgClass!=en.bgClass||er.textClass!=en.textClass),Fn=0;!fn&&Fn<dt.length;++Fn)fn=dt[Fn]!=De.styles[Fn];fn&&le.push(re.line),De.stateAfter=re.save(),re.nextLine()}else De.text.length<=O.options.maxHighlightLength&&Mn(O,De.text,re),De.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>$)return Ho(O,O.options.workDelay),!0}),F.highlightFrontier=re.line,F.modeFrontier=Math.max(F.modeFrontier,re.line),le.length&&Wo(O,function(){for(var De=0;De<le.length;De++)Ei(O,le[De],"text")})}var Si=function(F,$,re){var le=F.display;this.viewport=$,this.visible=yo(le,F.doc,$),this.editorIsHidden=!le.wrapper.offsetWidth,this.wrapperHeight=le.wrapper.clientHeight,this.wrapperWidth=le.wrapper.clientWidth,this.oldDisplayWidth=Qn(F),this.force=re,this.dims=ea(F),this.events=[]};Si.prototype.signal=function(O,F){Ft(O,F)&&this.events.push(arguments)},Si.prototype.finish=function(){for(var O=0;O<this.events.length;O++)bt.apply(null,this.events[O])};function Ps(O){var F=O.display;!F.scrollbarsClipped&&F.scroller.offsetWidth&&(F.nativeBarWidth=F.scroller.offsetWidth-F.scroller.clientWidth,F.heightForcer.style.height=Kn(O)+"px",F.sizer.style.marginBottom=-F.nativeBarWidth+"px",F.sizer.style.borderRightWidth=Kn(O)+"px",F.scrollbarsClipped=!0)}function Vs(O){if(O.hasFocus())return null;var F=j();if(!F||!R(O.display.lineDiv,F))return null;var $={activeElt:F};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&R(O.display.lineDiv,re.anchorNode)&&($.anchorNode=re.anchorNode,$.anchorOffset=re.anchorOffset,$.focusNode=re.focusNode,$.focusOffset=re.focusOffset)}return $}function Ms(O){if(!O||!O.activeElt||O.activeElt==j())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&R(document.body,O.anchorNode)&&R(document.body,O.focusNode)){var F=window.getSelection(),$=document.createRange();$.setEnd(O.anchorNode,O.anchorOffset),$.collapse(!1),F.removeAllRanges(),F.addRange($),F.extend(O.focusNode,O.focusOffset)}}function so(O,F){var $=O.display,re=O.doc;if(F.editorIsHidden)return ca(O),!1;if(!F.force&&F.visible.from>=$.viewFrom&&F.visible.to<=$.viewTo&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo)&&$.renderedView==$.view&&ya(O)==0)return!1;Qs(O)&&(ca(O),F.dims=ea(O));var le=re.first+re.size,De=Math.max(F.visible.from-O.options.viewportMargin,re.first),dt=Math.min(le,F.visible.to+O.options.viewportMargin);$.viewFrom<De&&De-$.viewFrom<20&&(De=Math.max(re.first,$.viewFrom)),$.viewTo>dt&&$.viewTo-dt<20&&(dt=Math.min(le,$.viewTo)),Ke&&(De=sn(O.doc,De),dt=li(O.doc,dt));var Lt=De!=$.viewFrom||dt!=$.viewTo||$.lastWrapHeight!=F.wrapperHeight||$.lastWrapWidth!=F.wrapperWidth;Pa(O,De,dt),$.viewOffset=Xn(Xe(O.doc,$.viewFrom)),O.display.mover.style.top=$.viewOffset+"px";var Qt=ya(O);if(!Lt&&Qt==0&&!F.force&&$.renderedView==$.view&&($.updateLineNumbers==null||$.updateLineNumbers>=$.viewTo))return!1;var er=Vs(O);return Qt>4&&($.lineDiv.style.display="none"),Zo(O,$.updateLineNumbers,F.dims),Qt>4&&($.lineDiv.style.display=""),$.renderedView=$.view,Ms(er),C($.cursorDiv),C($.selectionDiv),$.gutters.style.height=$.sizer.style.minHeight=0,Lt&&($.lastWrapHeight=F.wrapperHeight,$.lastWrapWidth=F.wrapperWidth,Ho(O,400)),$.updateLineNumbers=null,!0}function wo(O,F){for(var $=F.viewport,re=!0;;re=!1){if(!re||!O.options.lineWrapping||F.oldDisplayWidth==Qn(O)){if($&&$.top!=null&&($={top:Math.min(O.doc.height+Sn(O.display)-qn(O),$.top)}),F.visible=yo(O.display,O.doc,$),F.visible.from>=O.display.viewFrom&&F.visible.to<=O.display.viewTo)break}else re&&(F.visible=yo(O.display,O.doc,$));if(!so(O,F))break;Ma(O);var le=Qo(O);Ea(O),Ra(O,le),ws(O,le),F.force=!1}F.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(F.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function Vo(O,F){var $=new Si(O,F);if(so(O,$)){Ma(O),wo(O,$);var re=Qo(O);Ea(O),Ra(O,re),ws(O,re),$.finish()}}function Zo(O,F,$){var re=O.display,le=O.options.lineNumbers,De=re.lineDiv,dt=De.firstChild;function Lt(Ai){var Ui=Ai.nextSibling;return n&&g&&O.display.currentWheelTarget==Ai?Ai.style.display="none":Ai.parentNode.removeChild(Ai),Ui}for(var Qt=re.view,er=re.viewFrom,en=0;en<Qt.length;en++){var fn=Qt[en];if(!fn.hidden)if(!fn.node||fn.node.parentNode!=De){var Fn=Hr(O,fn,er,$);De.insertBefore(Fn,dt)}else{for(;dt!=fn.node;)dt=Lt(dt);var kn=le&&F!=null&&F<=er&&fn.lineNumber;fn.changes&&(W(fn.changes,"gutter")>-1&&(kn=!1),rn(O,fn,er,$)),kn&&(C(fn.lineNumber),fn.lineNumber.appendChild(document.createTextNode(bn(O.options,er)))),dt=fn.node.nextSibling}er+=fn.size}for(;dt;)dt=Lt(dt)}function As(O){var F=O.gutters.offsetWidth;O.sizer.style.marginLeft=F+"px"}function ws(O,F){O.display.sizer.style.minHeight=F.docHeight+"px",O.display.heightForcer.style.top=F.docHeight+"px",O.display.gutters.style.height=F.docHeight+O.display.barHeight+Kn(O)+"px"}function Ss(O){var F=O.display,$=F.view;if(!F.alignWidgets&&(!F.gutters.firstChild||!O.options.fixedGutter))return;for(var re=_a(F)-F.scroller.scrollLeft+O.doc.scrollLeft,le=F.gutters.offsetWidth,De=re+"px",dt=0;dt<$.length;dt++)if(!$[dt].hidden){O.options.fixedGutter&&($[dt].gutter&&($[dt].gutter.style.left=De),$[dt].gutterBackground&&($[dt].gutterBackground.style.left=De));var Lt=$[dt].alignable;if(Lt)for(var Qt=0;Qt<Lt.length;Qt++)Lt[Qt].style.left=De}O.options.fixedGutter&&(F.gutters.style.left=re+le+"px")}function Qs(O){if(!O.options.lineNumbers)return!1;var F=O.doc,$=bn(O.options,F.first+F.size-1),re=O.display;if($.length!=re.lineNumChars){var le=re.measure.appendChild(L("div",[L("div",$)],"CodeMirror-linenumber CodeMirror-gutter-elt")),De=le.firstChild.offsetWidth,dt=le.offsetWidth-De;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(De,re.lineGutter.offsetWidth-dt)+1,re.lineNumWidth=re.lineNumInnerWidth+dt,re.lineNumChars=re.lineNumInnerWidth?$.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",As(O.display),!0}return!1}function Hs(O,F){for(var $=[],re=!1,le=0;le<O.length;le++){var De=O[le],dt=null;if(typeof De!="string"&&(dt=De.style,De=De.className),De=="CodeMirror-linenumbers")if(F)re=!0;else continue;$.push({className:De,style:dt})}return F&&!re&&$.push({className:"CodeMirror-linenumbers",style:null}),$}function Ys(O){var F=O.gutters,$=O.gutterSpecs;C(F),O.lineGutter=null;for(var re=0;re<$.length;++re){var le=$[re],De=le.className,dt=le.style,Lt=F.appendChild(L("div",null,"CodeMirror-gutter "+De));dt&&(Lt.style.cssText=dt),De=="CodeMirror-linenumbers"&&(O.lineGutter=Lt,Lt.style.width=(O.lineNumWidth||1)+"px")}F.style.display=$.length?"":"none",As(O)}function Ds(O){Ys(O.display),ba(O),Ss(O)}function rs(O,F,$,re){var le=this;this.input=$,le.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),le.scrollbarFiller.setAttribute("cm-not-content","true"),le.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),le.gutterFiller.setAttribute("cm-not-content","true"),le.lineDiv=M("div",null,"CodeMirror-code"),le.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),le.cursorDiv=L("div",null,"CodeMirror-cursors"),le.measure=L("div",null,"CodeMirror-measure"),le.lineMeasure=L("div",null,"CodeMirror-measure"),le.lineSpace=M("div",[le.measure,le.lineMeasure,le.selectionDiv,le.cursorDiv,le.lineDiv],null,"position: relative; outline: none");var De=M("div",[le.lineSpace],"CodeMirror-lines");le.mover=L("div",[De],null,"position: relative"),le.sizer=L("div",[le.mover],"CodeMirror-sizer"),le.sizerWidth=null,le.heightForcer=L("div",null,null,"position: absolute; height: "+Z+"px; width: 1px;"),le.gutters=L("div",null,"CodeMirror-gutters"),le.lineGutter=null,le.scroller=L("div",[le.sizer,le.heightForcer,le.gutters],"CodeMirror-scroll"),le.scroller.setAttribute("tabIndex","-1"),le.wrapper=L("div",[le.scrollbarFiller,le.gutterFiller,le.scroller],"CodeMirror"),d&&l<8&&(le.gutters.style.zIndex=-1,le.scroller.style.paddingRight=0),!n&&!(E&&h)&&(le.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(le.wrapper):O(le.wrapper)),le.viewFrom=le.viewTo=F.first,le.reportedViewFrom=le.reportedViewTo=F.first,le.view=[],le.renderedView=null,le.externalMeasured=null,le.viewOffset=0,le.lastWrapHeight=le.lastWrapWidth=0,le.updateLineNumbers=null,le.nativeBarWidth=le.barHeight=le.barWidth=0,le.scrollbarsClipped=!1,le.lineNumWidth=le.lineNumInnerWidth=le.lineNumChars=null,le.alignWidgets=!1,le.cachedCharWidth=le.cachedTextHeight=le.cachedPaddingH=null,le.maxLine=null,le.maxLineLength=0,le.maxLineChanged=!1,le.wheelDX=le.wheelDY=le.wheelStartX=le.wheelStartY=null,le.shift=!1,le.selForContextMenu=null,le.activeTouch=null,le.gutterSpecs=Hs(re.gutters,re.lineNumbers),Ys(le),$.init(le)}var xt=0,Ot=null;d?Ot=-.53:E?Ot=15:a?Ot=-.7:r&&(Ot=-1/3);function nn(O){var F=O.wheelDeltaX,$=O.wheelDeltaY;return F==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(F=O.detail),$==null&&O.detail&&O.axis==O.VERTICAL_AXIS?$=O.detail:$==null&&($=O.wheelDelta),{x:F,y:$}}function On(O){var F=nn(O);return F.x*=Ot,F.y*=Ot,F}function $n(O,F){var $=nn(F),re=$.x,le=$.y,De=O.display,dt=De.scroller,Lt=dt.scrollWidth>dt.clientWidth,Qt=dt.scrollHeight>dt.clientHeight;if(!(re&&Lt||le&&Qt))return;if(le&&g&&n){e:for(var er=F.target,en=De.view;er!=dt;er=er.parentNode)for(var fn=0;fn<en.length;fn++)if(en[fn].node==er){O.display.currentWheelTarget=er;break e}}if(re&&!E&&!o&&Ot!=null){le&&Qt&&ma(O,Math.max(0,dt.scrollTop+le*Ot)),zo(O,Math.max(0,dt.scrollLeft+re*Ot)),(!le||le&&Qt)&&$e(F),De.wheelStartX=null;return}if(le&&Ot!=null){var Fn=le*Ot,kn=O.doc.scrollTop,Ai=kn+De.wrapper.clientHeight;Fn<0?kn=Math.max(0,kn+Fn-50):Ai=Math.min(O.doc.height,Ai+Fn+50),Vo(O,{top:kn,bottom:Ai})}xt<20&&(De.wheelStartX==null?(De.wheelStartX=dt.scrollLeft,De.wheelStartY=dt.scrollTop,De.wheelDX=re,De.wheelDY=le,setTimeout(function(){if(De.wheelStartX==null)return;var Ui=dt.scrollLeft-De.wheelStartX,qi=dt.scrollTop-De.wheelStartY,Zi=qi&&De.wheelDY&&qi/De.wheelDY||Ui&&De.wheelDX&&Ui/De.wheelDX;if(De.wheelStartX=De.wheelStartY=null,!Zi)return;Ot=(Ot*xt+Zi)/(xt+1),++xt},200)):(De.wheelDX+=re,De.wheelDY+=le))}var ft=function(F,$){this.ranges=F,this.primIndex=$};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 F=0;F<this.ranges.length;F++){var $=this.ranges[F],re=O.ranges[F];if(!ht($.anchor,re.anchor)||!ht($.head,re.head))return!1}return!0},ft.prototype.deepCopy=function(){for(var O=[],F=0;F<this.ranges.length;F++)O[F]=new oe(Zt(this.ranges[F].anchor),Zt(this.ranges[F].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,F){F||(F=O);for(var $=0;$<this.ranges.length;$++){var re=this.ranges[$];if(pt(F,re.from())>=0&&pt(O,re.to())<=0)return $}return-1};var oe=function(F,$){this.anchor=F,this.head=$};oe.prototype.from=function(){return At(this.anchor,this.head)},oe.prototype.to=function(){return $t(this.anchor,this.head)},oe.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ae(O,F,$){var re=O&&O.options.selectionsMayTouch,le=F[$];F.sort(function(Fn,kn){return pt(Fn.from(),kn.from())}),$=W(F,le);for(var De=1;De<F.length;De++){var dt=F[De],Lt=F[De-1],Qt=pt(Lt.to(),dt.from());if(re&&!dt.empty()?Qt>0:Qt>=0){var er=At(Lt.from(),dt.from()),en=$t(Lt.to(),dt.to()),fn=Lt.empty()?dt.from()==dt.head:Lt.from()==Lt.head;De<=$&&--$,F.splice(--De,2,new oe(fn?en:er,fn?er:en))}}return new ft(F,$)}function we(O,F){return new ft([new oe(O,F||O)],0)}function Be(O){return O.text?Yt(O.from.line+O.text.length-1,fe(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function st(O,F){if(pt(O,F.from)<0)return O;if(pt(O,F.to)<=0)return Be(F);var $=O.line+F.text.length-(F.to.line-F.from.line)-1,re=O.ch;return O.line==F.to.line&&(re+=Be(F).ch-F.to.ch),Yt($,re)}function Bt(O,F){for(var $=[],re=0;re<O.sel.ranges.length;re++){var le=O.sel.ranges[re];$.push(new oe(st(le.anchor,F),st(le.head,F)))}return Ae(O.cm,$,O.sel.primIndex)}function wr(O,F,$){return O.line==F.line?Yt($.line,O.ch-F.ch+$.ch):Yt($.line+(O.line-F.line),O.ch)}function Tr(O,F,$){for(var re=[],le=Yt(O.first,0),De=le,dt=0;dt<F.length;dt++){var Lt=F[dt],Qt=wr(Lt.from,le,De),er=wr(Be(Lt),le,De);if(le=Lt.to,De=er,$=="around"){var en=O.sel.ranges[dt],fn=pt(en.head,en.anchor)<0;re[dt]=new oe(fn?er:Qt,fn?Qt:er)}else re[dt]=new oe(Qt,Qt)}return new ft(re,O.sel.primIndex)}function tn(O){O.doc.mode=qr(O.options,O.doc.modeOption),_n(O)}function _n(O){O.doc.iter(function(F){F.stateAfter&&(F.stateAfter=null),F.styles&&(F.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,Ho(O,100),O.state.modeGen++,O.curOp&&ba(O)}function jn(O,F){return F.from.ch==0&&F.to.ch==0&&fe(F.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function fi(O,F,$,re){function le(Xi){return $?$[Xi]:null}function De(Xi,Aa,Ca){An(Xi,Aa,Ca,re),Kt(Xi,"change",Xi,F)}function dt(Xi,Aa){for(var Ca=[],no=Xi;no<Aa;++no)Ca.push(new Ji(er[no],le(no),re));return Ca}var Lt=F.from,Qt=F.to,er=F.text,en=Xe(O,Lt.line),fn=Xe(O,Qt.line),Fn=fe(er),kn=le(er.length-1),Ai=Qt.line-Lt.line;if(F.full)O.insert(0,dt(0,er.length)),O.remove(er.length,O.size-er.length);else if(jn(O,F)){var Ui=dt(0,er.length-1);De(fn,fn.text,kn),Ai&&O.remove(Lt.line,Ai),Ui.length&&O.insert(Lt.line,Ui)}else if(en==fn)if(er.length==1)De(en,en.text.slice(0,Lt.ch)+Fn+en.text.slice(Qt.ch),kn);else{var qi=dt(1,er.length-1);qi.push(new Ji(Fn+en.text.slice(Qt.ch),kn,re)),De(en,en.text.slice(0,Lt.ch)+er[0],le(0)),O.insert(Lt.line+1,qi)}else if(er.length==1)De(en,en.text.slice(0,Lt.ch)+er[0]+fn.text.slice(Qt.ch),le(0)),O.remove(Lt.line+1,Ai);else{De(en,en.text.slice(0,Lt.ch)+er[0],le(0)),De(fn,Fn+fn.text.slice(Qt.ch),kn);var Zi=dt(1,er.length-1);Ai>1&&O.remove(Lt.line+1,Ai-1),O.insert(Lt.line+1,Zi)}Kt(O,"change",O,F)}function Ii(O,F,$){function re(le,De,dt){if(le.linked)for(var Lt=0;Lt<le.linked.length;++Lt){var Qt=le.linked[Lt];if(Qt.doc==De)continue;var er=dt&&Qt.sharedHist;if($&&!er)continue;F(Qt.doc,er),re(Qt.doc,le,er)}}re(O,null,!0)}function Vi(O,F){if(F.cm)throw new Error("This document is already in use.");O.doc=F,F.cm=O,ta(O),tn(O),sa(O),O.options.lineWrapping||wi(O),O.options.mode=F.modeOption,ba(O)}function sa(O){(O.doc.direction=="rtl"?V:x)(O.display.lineDiv,"CodeMirror-rtl")}function wa(O){Wo(O,function(){sa(O),ba(O)})}function Za(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 to(O,F){var $={from:Zt(F.from),to:Be(F),text:ct(O,F.from,F.to)};return fs(O,$,F.from.line,F.to.line+1),Ii(O,function(re){return fs(re,$,F.from.line,F.to.line+1)},!0),$}function lo(O){for(;O.length;){var F=fe(O);if(F.ranges)O.pop();else break}}function _o(O,F){if(F)return lo(O.done),fe(O.done);if(O.done.length&&!fe(O.done).ranges)return fe(O.done);if(O.done.length>1&&!O.done[O.done.length-2].ranges)return O.done.pop(),fe(O.done)}function ao(O,F,$,re){var le=O.history;le.undone.length=0;var De=+new Date,dt,Lt;if((le.lastOp==re||le.lastOrigin==F.origin&&F.origin&&(F.origin.charAt(0)=="+"&&le.lastModTime>De-(O.cm?O.cm.options.historyEventDelay:500)||F.origin.charAt(0)=="*"))&&(dt=_o(le,le.lastOp==re)))Lt=fe(dt.changes),pt(F.from,F.to)==0&&pt(F.from,Lt.to)==0?Lt.to=Be(F):dt.changes.push(to(O,F));else{var Qt=fe(le.done);for((!Qt||!Qt.ranges)&&Eo(O.sel,le.done),dt={changes:[to(O,F)],generation:le.generation},le.done.push(dt);le.done.length>le.undoDepth;)le.done.shift(),le.done[0].ranges||le.done.shift()}le.done.push($),le.generation=++le.maxGeneration,le.lastModTime=le.lastSelTime=De,le.lastOp=le.lastSelOp=re,le.lastOrigin=le.lastSelOrigin=F.origin,Lt||bt(O,"historyAdded")}function Do(O,F,$,re){var le=F.charAt(0);return le=="*"||le=="+"&&$.ranges.length==re.ranges.length&&$.somethingSelected()==re.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function Ja(O,F,$,re){var le=O.history,De=re&&re.origin;$==le.lastSelOp||De&&le.lastSelOrigin==De&&(le.lastModTime==le.lastSelTime&&le.lastOrigin==De||Do(O,De,fe(le.done),F))?le.done[le.done.length-1]=F:Eo(F,le.done),le.lastSelTime=+new Date,le.lastSelOrigin=De,le.lastSelOp=$,re&&re.clearRedo!==!1&&lo(le.undone)}function Eo(O,F){var $=fe(F);$&&$.ranges&&$.equals(O)||F.push(O)}function fs(O,F,$,re){var le=F["spans_"+O.id],De=0;O.iter(Math.max(O.first,$),Math.min(O.first+O.size,re),function(dt){dt.markedSpans&&((le||(le=F["spans_"+O.id]={}))[De]=dt.markedSpans),++De})}function Oo(O){if(!O)return null;for(var F,$=0;$<O.length;++$)O[$].marker.explicitlyCleared?F||(F=O.slice(0,$)):F&&F.push(O[$]);return F?F.length?F:null:O}function Lo(O,F){var $=F["spans_"+O.id];if(!$)return null;for(var re=[],le=0;le<F.text.length;++le)re.push(Oo($[le]));return re}function vs(O,F){var $=Lo(O,F),re=un(O,F);if(!$)return re;if(!re)return $;for(var le=0;le<$.length;++le){var De=$[le],dt=re[le];if(De&&dt){e:for(var Lt=0;Lt<dt.length;++Lt){for(var Qt=dt[Lt],er=0;er<De.length;++er)if(De[er].marker==Qt.marker)continue e;De.push(Qt)}}else dt&&($[le]=dt)}return $}function Fs(O,F,$){for(var re=[],le=0;le<O.length;++le){var De=O[le];if(De.ranges){re.push($?ft.prototype.deepCopy.call(De):De);continue}var dt=De.changes,Lt=[];re.push({changes:Lt});for(var Qt=0;Qt<dt.length;++Qt){var er=dt[Qt],en=void 0;if(Lt.push({from:er.from,to:er.to,text:er.text}),F)for(var fn in er)(en=fn.match(/^spans_(\d+)$/))&&(W(F,Number(en[1]))>-1&&(fe(Lt)[fn]=er[fn],delete er[fn]))}}return re}function ss(O,F,$,re){if(re){var le=O.anchor;if($){var De=pt(F,le)<0;De!=pt($,le)<0?(le=F,F=$):De!=pt(F,$)<0&&(F=$)}return new oe(le,F)}else return new oe($||F,F)}function Fo(O,F,$,re,le){le==null&&(le=O.cm&&(O.cm.display.shift||O.extend)),Xo(O,new ft([ss(O.sel.primary(),F,$,le)],0),re)}function Zs(O,F,$){for(var re=[],le=O.cm&&(O.cm.display.shift||O.extend),De=0;De<O.sel.ranges.length;De++)re[De]=ss(O.sel.ranges[De],F[De],null,le);var dt=Ae(O.cm,re,O.sel.primIndex);Xo(O,dt,$)}function xs(O,F,$,re){var le=O.sel.ranges.slice(0);le[F]=$,Xo(O,Ae(O.cm,le,O.sel.primIndex),re)}function ll(O,F,$,re){Xo(O,we(F,$),re)}function Js(O,F,$){var re={ranges:F.ranges,update:function(De){this.ranges=[];for(var dt=0;dt<De.length;dt++)this.ranges[dt]=new oe(gt(O,De[dt].anchor),gt(O,De[dt].head))},origin:$&&$.origin};return bt(O,"beforeSelectionChange",O,re),O.cm&&bt(O.cm,"beforeSelectionChange",O.cm,re),re.ranges!=F.ranges?Ae(O.cm,re.ranges,re.ranges.length-1):F}function ps(O,F,$){var re=O.history.done,le=fe(re);le&&le.ranges?(re[re.length-1]=F,oa(O,F,$)):Xo(O,F,$)}function Xo(O,F,$){oa(O,F,$),Ja(O,O.sel,O.cm?O.cm.curOp.id:NaN,$)}function oa(O,F,$){(Ft(O,"beforeSelectionChange")||O.cm&&Ft(O.cm,"beforeSelectionChange"))&&(F=Js(O,F,$));var re=$&&$.bias||(pt(F.primary().head,O.sel.primary().head)<0?-1:1);Xs(O,Bs(O,F,re,!0)),!($&&$.scroll===!1)&&O.cm&&qa(O.cm)}function Xs(O,F){if(F.equals(O.sel))return;O.sel=F,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,It(O.cm)),Kt(O,"cursorActivity",O)}function rl(O){Xs(O,Bs(O,O.sel,null,!1))}function Bs(O,F,$,re){for(var le,De=0;De<F.ranges.length;De++){var dt=F.ranges[De],Lt=F.ranges.length==O.sel.ranges.length&&O.sel.ranges[De],Qt=cl(O,dt.anchor,Lt&&Lt.anchor,$,re),er=cl(O,dt.head,Lt&&Lt.head,$,re);(le||Qt!=dt.anchor||er!=dt.head)&&(le||(le=F.ranges.slice(0,De)),le[De]=new oe(Qt,er))}return le?Ae(O.cm,le,F.primIndex):F}function Es(O,F,$,re,le){var De=Xe(O,F.line);if(De.markedSpans)for(var dt=0;dt<De.markedSpans.length;++dt){var Lt=De.markedSpans[dt],Qt=Lt.marker,er="selectLeft"in Qt?!Qt.selectLeft:Qt.inclusiveLeft,en="selectRight"in Qt?!Qt.selectRight:Qt.inclusiveRight;if((Lt.from==null||(er?Lt.from<=F.ch:Lt.from<F.ch))&&(Lt.to==null||(en?Lt.to>=F.ch:Lt.to>F.ch))){if(le&&(bt(Qt,"beforeCursorEnter"),Qt.explicitlyCleared))if(De.markedSpans){--dt;continue}else break;if(!Qt.atomic)continue;if($){var fn=Qt.find(re<0?1:-1),Fn=void 0;if((re<0?en:er)&&(fn=Gs(O,fn,-re,fn&&fn.line==F.line?De:null)),fn&&fn.line==F.line&&(Fn=pt(fn,$))&&(re<0?Fn<0:Fn>0))return Es(O,fn,F,re,le)}var kn=Qt.find(re<0?-1:1);return(re<0?er:en)&&(kn=Gs(O,kn,re,kn.line==F.line?De:null)),kn?Es(O,kn,F,re,le):null}}return F}function cl(O,F,$,re,le){var De=re||1,dt=Es(O,F,$,De,le)||!le&&Es(O,F,$,De,!0)||Es(O,F,$,-De,le)||!le&&Es(O,F,$,-De,!0);return dt||(O.cantEdit=!0,Yt(O.first,0))}function Gs(O,F,$,re){return $<0&&F.ch==0?F.line>O.first?gt(O,Yt(F.line-1)):null:$>0&&F.ch==(re||Xe(O,F.line)).text.length?F.line<O.first+O.size-1?Yt(F.line+1,0):null:new Yt(F.line,F.ch+$)}function Rs(O){O.setSelection(Yt(O.firstLine(),0),Yt(O.lastLine()),ve)}function Ks(O,F,$){var re={canceled:!1,from:F.from,to:F.to,text:F.text,origin:F.origin,cancel:function(){return re.canceled=!0}};return $&&(re.update=function(le,De,dt,Lt){le&&(re.from=gt(O,le)),De&&(re.to=gt(O,De)),dt&&(re.text=dt),Lt!==void 0&&(re.origin=Lt)}),bt(O,"beforeChange",O,re),O.cm&&bt(O.cm,"beforeChange",O.cm,re),re.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function zs(O,F,$){if(O.cm){if(!O.cm.curOp)return Co(O.cm,zs)(O,F,$);if(O.cm.state.suppressEdits)return}if((Ft(O,"beforeChange")||O.cm&&Ft(O.cm,"beforeChange"))&&(F=Ks(O,F,!0),!F))return;var re=Ge&&!$&&Vr(O,F.from,F.to);if(re)for(var le=re.length-1;le>=0;--le)eo(O,{from:re[le].from,to:re[le].to,text:le?[""]:F.text,origin:F.origin});else eo(O,F)}function eo(O,F){if(F.text.length==1&&F.text[0]==""&&pt(F.from,F.to)==0)return;var $=Bt(O,F);ao(O,F,$,O.cm?O.cm.curOp.id:NaN),ho(O,F,$,un(O,F));var re=[];Ii(O,function(le,De){!De&&W(re,le.history)==-1&&(qo(le.history,F),re.push(le.history)),ho(le,F,null,un(le,F))})}function ga(O,F,$){var re=O.cm&&O.cm.state.suppressEdits;if(re&&!$)return;for(var le=O.history,De,dt=O.sel,Lt=F=="undo"?le.done:le.undone,Qt=F=="undo"?le.undone:le.done,er=0;er<Lt.length&&!(De=Lt[er],$?De.ranges&&!De.equals(O.sel):!De.ranges);er++);if(er==Lt.length)return;for(le.lastOrigin=le.lastSelOrigin=null;;)if(De=Lt.pop(),De.ranges){if(Eo(De,Qt),$&&!De.equals(O.sel)){Xo(O,De,{clearRedo:!1});return}dt=De}else if(re){Lt.push(De);return}else break;var en=[];Eo(dt,Qt),Qt.push({changes:en,generation:le.generation}),le.generation=De.generation||++le.maxGeneration;for(var fn=Ft(O,"beforeChange")||O.cm&&Ft(O.cm,"beforeChange"),Fn=function(qi){var Zi=De.changes[qi];if(Zi.origin=F,fn&&!Ks(O,Zi,!1))return Lt.length=0,{};en.push(to(O,Zi));var Xi=qi?Bt(O,Zi):fe(Lt);ho(O,Zi,Xi,vs(O,Zi)),!qi&&O.cm&&O.cm.scrollIntoView({from:Zi.from,to:Be(Zi)});var Aa=[];Ii(O,function(Ca,no){!no&&W(Aa,Ca.history)==-1&&(qo(Ca.history,Zi),Aa.push(Ca.history)),ho(Ca,Zi,null,vs(Ca,Zi))})},kn=De.changes.length-1;kn>=0;--kn){var Ai=Fn(kn);if(Ai)return Ai.v}}function Ba(O,F){if(F==0)return;if(O.first+=F,O.sel=new ft(Ne(O.sel.ranges,function(le){return new oe(Yt(le.anchor.line+F,le.anchor.ch),Yt(le.head.line+F,le.head.ch))}),O.sel.primIndex),O.cm){ba(O.cm,O.first,O.first-F,F);for(var $=O.cm.display,re=$.viewFrom;re<$.viewTo;re++)Ei(O.cm,re,"gutter")}}function ho(O,F,$,re){if(O.cm&&!O.cm.curOp)return Co(O.cm,ho)(O,F,$,re);if(F.to.line<O.first){Ba(O,F.text.length-1-(F.to.line-F.from.line));return}if(F.from.line>O.lastLine())return;if(F.from.line<O.first){var le=F.text.length-1-(O.first-F.from.line);Ba(O,le),F={from:Yt(O.first,0),to:Yt(F.to.line+le,F.to.ch),text:[fe(F.text)],origin:F.origin}}var De=O.lastLine();F.to.line>De&&(F={from:F.from,to:Yt(De,Xe(O,De).text.length),text:[F.text[0]],origin:F.origin}),F.removed=ct(O,F.from,F.to),$||($=Bt(O,F)),O.cm?Bo(O.cm,F,re):fi(O,F,re),oa(O,$,ve),O.cantEdit&&cl(O,Yt(O.firstLine(),0))&&(O.cantEdit=!1)}function Bo(O,F,$){var re=O.doc,le=O.display,De=F.from,dt=F.to,Lt=!1,Qt=De.line;O.options.lineWrapping||(Qt=or(gn(Xe(re,De.line))),re.iter(Qt,dt.line+1,function(kn){if(kn==le.maxLine)return Lt=!0,!0})),re.sel.contains(F.from,F.to)>-1&&It(O),fi(re,F,$,Fa(O)),O.options.lineWrapping||(re.iter(Qt,De.line+F.text.length,function(kn){var Ai=ki(kn);Ai>le.maxLineLength&&(le.maxLine=kn,le.maxLineLength=Ai,le.maxLineChanged=!0,Lt=!1)}),Lt&&(O.curOp.updateMaxLine=!0)),ke(re,De.line),Ho(O,400);var er=F.text.length-(dt.line-De.line)-1;F.full?ba(O):De.line==dt.line&&F.text.length==1&&!jn(O.doc,F)?Ei(O,De.line,"text"):ba(O,De.line,dt.line+1,er);var en=Ft(O,"changes"),fn=Ft(O,"change");if(fn||en){var Fn={from:De,to:dt,text:F.text,removed:F.removed,origin:F.origin};fn&&Kt(O,"change",O,Fn),en&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(Fn)}O.display.selForContextMenu=null}function Ts(O,F,$,re,le){var De;re||(re=$),pt(re,$)<0&&(De=[re,$],$=De[0],re=De[1]),typeof F=="string"&&(F=O.splitLines(F)),zs(O,{from:$,to:re,text:F,origin:le})}function Ko(O,F,$,re){$<O.line?O.line+=re:F<O.line&&(O.line=F,O.ch=0)}function To(O,F,$,re){for(var le=0;le<O.length;++le){var De=O[le],dt=!0;if(De.ranges){De.copied||(De=O[le]=De.deepCopy(),De.copied=!0);for(var Lt=0;Lt<De.ranges.length;Lt++)Ko(De.ranges[Lt].anchor,F,$,re),Ko(De.ranges[Lt].head,F,$,re);continue}for(var Qt=0;Qt<De.changes.length;++Qt){var er=De.changes[Qt];if($<er.from.line)er.from=Yt(er.from.line+re,er.from.ch),er.to=Yt(er.to.line+re,er.to.ch);else if(F<=er.to.line){dt=!1;break}}dt||(O.splice(0,le+1),le=0)}}function qo(O,F){var $=F.from.line,re=F.to.line,le=F.text.length-(re-$)-1;To(O.done,$,re,le),To(O.undone,$,re,le)}function Ro(O,F,$,re){var le=F,De=F;return typeof F=="number"?De=Xe(O,Pt(O,F)):le=or(F),le==null?null:(re(De,le)&&O.cm&&Ei(O.cm,le,$),De)}function cs(O){this.lines=O,this.parent=null;for(var F=0,$=0;$<O.length;++$)O[$].parent=this,F+=O[$].height;this.height=F}cs.prototype={chunkSize:function(){return this.lines.length},removeInner:function(F,$){for(var re=F,le=F+$;re<le;++re){var De=this.lines[re];this.height-=De.height,Ur(De),Kt(De,"delete")}this.lines.splice(F,$)},collapse:function(F){F.push.apply(F,this.lines)},insertInner:function(F,$,re){this.height+=re,this.lines=this.lines.slice(0,F).concat($).concat(this.lines.slice(F));for(var le=0;le<$.length;++le)$[le].parent=this},iterN:function(F,$,re){for(var le=F+$;F<le;++F)if(re(this.lines[F]))return!0}};function ys(O){this.children=O;for(var F=0,$=0,re=0;re<O.length;++re){var le=O[re];F+=le.chunkSize(),$+=le.height,le.parent=this}this.size=F,this.height=$,this.parent=null}ys.prototype={chunkSize:function(){return this.size},removeInner:function(F,$){this.size-=$;for(var re=0;re<this.children.length;++re){var le=this.children[re],De=le.chunkSize();if(F<De){var dt=Math.min($,De-F),Lt=le.height;if(le.removeInner(F,dt),this.height-=Lt-le.height,De==dt&&(this.children.splice(re--,1),le.parent=null),($-=dt)==0)break;F=0}else F-=De}if(this.size-$<25&&(this.children.length>1||!(this.children[0]instanceof cs))){var Qt=[];this.collapse(Qt),this.children=[new cs(Qt)],this.children[0].parent=this}},collapse:function(F){for(var $=0;$<this.children.length;++$)this.children[$].collapse(F)},insertInner:function(F,$,re){this.size+=$.length,this.height+=re;for(var le=0;le<this.children.length;++le){var De=this.children[le],dt=De.chunkSize();if(F<=dt){if(De.insertInner(F,$,re),De.lines&&De.lines.length>50){for(var Lt=De.lines.length%25+25,Qt=Lt;Qt<De.lines.length;){var er=new cs(De.lines.slice(Qt,Qt+=25));De.height-=er.height,this.children.splice(++le,0,er),er.parent=this}De.lines=De.lines.slice(0,Lt),this.maybeSpill()}break}F-=dt}},maybeSpill:function(){if(this.children.length<=10)return;var F=this;do{var $=F.children.splice(F.children.length-5,5),re=new ys($);if(F.parent){F.size-=re.size,F.height-=re.height;var De=W(F.parent.children,F);F.parent.children.splice(De+1,0,re)}else{var le=new ys(F.children);le.parent=F,F.children=[le,re],F=le}re.parent=F.parent}while(F.children.length>10);F.parent.maybeSpill()},iterN:function(F,$,re){for(var le=0;le<this.children.length;++le){var De=this.children[le],dt=De.chunkSize();if(F<dt){var Lt=Math.min($,dt-F);if(De.iterN(F,Lt,re))return!0;if(($-=Lt)==0)break;F=0}else F-=dt}}};var yl=function(F,$,re){if(re)for(var le in re)re.hasOwnProperty(le)&&(this[le]=re[le]);this.doc=F,this.node=$};yl.prototype.clear=function(){var O=this.doc.cm,F=this.line.widgets,$=this.line,re=or($);if(re==null||!F)return;for(var le=0;le<F.length;++le)F[le]==this&&F.splice(le--,1);F.length||($.widgets=null);var De=Rn(this);ir($,Math.max(0,$.height-De)),O&&(Wo(O,function(){Yl(O,$,-De),Ei(O,re,"widget")}),Kt(O,"lineWidgetCleared",O,this,re))},yl.prototype.changed=function(){var O=this,F=this.height,$=this.doc.cm,re=this.line;this.height=null;var le=Rn(this)-F;if(!le)return;ni(this.doc,re)||ir(re,re.height+le),$&&Wo($,function(){$.curOp.forceUpdate=!0,Yl($,re,le),Kt($,"lineWidgetChanged",$,O,or(re))})},Vt(yl);function Yl(O,F,$){Xn(F)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Ya(O,$)}function Zl(O,F,$,re){var le=new yl(O,$,re),De=O.cm;return De&&le.noHScroll&&(De.display.alignWidgets=!0),Ro(O,F,"widget",function(dt){var Lt=dt.widgets||(dt.widgets=[]);if(le.insertAt==null?Lt.push(le):Lt.splice(Math.min(Lt.length-1,Math.max(0,le.insertAt)),0,le),le.line=dt,De&&!ni(O,dt)){var Qt=Xn(dt)<O.scrollTop;ir(dt,dt.height+Rn(le)),Qt&&Ya(De,le.height),De.curOp.forceUpdate=!0}return!0}),De&&Kt(De,"lineWidgetAdded",De,le,typeof F=="number"?F:or(F)),le}var bc=0,ul=function(F,$){this.lines=[],this.type=$,this.doc=F,this.id=++bc};ul.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,F=O&&!O.curOp;if(F&&Xa(O),Ft(this,"clear")){var $=this.find();$&&Kt(this,"clear",$.from,$.to)}for(var re=null,le=null,De=0;De<this.lines.length;++De){var dt=this.lines[De],Lt=Ut(dt.markedSpans,this);O&&!this.collapsed?Ei(O,or(dt),"text"):O&&(Lt.to!=null&&(le=or(dt)),Lt.from!=null&&(re=or(dt))),dt.markedSpans=br(dt.markedSpans,Lt),Lt.from==null&&this.collapsed&&!ni(this.doc,dt)&&O&&ir(dt,Mi(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var Qt=0;Qt<this.lines.length;++Qt){var er=gn(this.lines[Qt]),en=ki(er);en>O.display.maxLineLength&&(O.display.maxLine=er,O.display.maxLineLength=en,O.display.maxLineChanged=!0)}re!=null&&O&&this.collapsed&&ba(O,re,le+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,O&&rl(O.doc)),O&&Kt(O,"markerCleared",O,this,re,le),F&&Yo(O),this.parent&&this.parent.clear()},ul.prototype.find=function(O,F){O==null&&this.type=="bookmark"&&(O=1);for(var $,re,le=0;le<this.lines.length;++le){var De=this.lines[le],dt=Ut(De.markedSpans,this);if(dt.from!=null&&($=Yt(F?De:or(De),dt.from),O==-1))return $;if(dt.to!=null&&(re=Yt(F?De:or(De),dt.to),O==1))return re}return $&&{from:$,to:re}},ul.prototype.changed=function(){var O=this,F=this.find(-1,!0),$=this,re=this.doc.cm;if(!F||!re)return;Wo(re,function(){var le=F.line,De=or(F.line),dt=xi(re,De);if(dt&&(Gr(dt),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!ni($.doc,le)&&$.height!=null){var Lt=$.height;$.height=null;var Qt=Rn($)-Lt;Qt&&ir(le,le.height+Qt)}Kt(re,"markerChanged",re,O)})},ul.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(!F.maybeHiddenMarkers||W(F.maybeHiddenMarkers,this)==-1)&&(F.maybeUnhiddenMarkers||(F.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},ul.prototype.detachLine=function(O){if(this.lines.splice(W(this.lines,O),1),!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(F.maybeHiddenMarkers||(F.maybeHiddenMarkers=[])).push(this)}},Vt(ul);function Il(O,F,$,re,le){if(re&&re.shared)return Bc(O,F,$,re,le);if(O.cm&&!O.cm.curOp)return Co(O.cm,Il)(O,F,$,re,le);var De=new ul(O,le),dt=pt(F,$);if(re&&K(re,De,!1),dt>0||dt==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=M("span",[De.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(vi(O,F.line,F,$,De)||F.line!=$.line&&vi(O,$.line,F,$,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");vt()}De.addToHistory&&ao(O,{from:F,to:$,origin:"markText"},O.sel,NaN);var Lt=F.line,Qt=O.cm,er;if(O.iter(Lt,$.line+1,function(fn){Qt&&De.collapsed&&!Qt.options.lineWrapping&&gn(fn)==Qt.display.maxLine&&(er=!0),De.collapsed&&Lt!=F.line&&ir(fn,0),Ar(fn,new ot(De,Lt==F.line?F.ch:null,Lt==$.line?$.ch:null)),++Lt}),De.collapsed&&O.iter(F.line,$.line+1,function(fn){ni(O,fn)&&ir(fn,0)}),De.clearOnEnter&&Oe(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Je(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),De.collapsed&&(De.id=++bc,De.atomic=!0),Qt){if(er&&(Qt.curOp.updateMaxLine=!0),De.collapsed)ba(Qt,F.line,$.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var en=F.line;en<=$.line;en++)Ei(Qt,en,"text");De.atomic&&rl(Qt.doc),Kt(Qt,"markerAdded",Qt,De)}return De}var Bl=function(F,$){this.markers=F,this.primary=$;for(var re=0;re<F.length;++re)F[re].parent=this};Bl.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")},Bl.prototype.find=function(O,F){return this.primary.find(O,F)},Vt(Bl);function Bc(O,F,$,re,le){re=K(re),re.shared=!1;var De=[Il(O,F,$,re,le)],dt=De[0],Lt=re.widgetNode;return Ii(O,function(Qt){Lt&&(re.widgetNode=Lt.cloneNode(!0)),De.push(Il(Qt,gt(Qt,F),gt(Qt,$),re,le));for(var er=0;er<Qt.linked.length;++er)if(Qt.linked[er].isParent)return;dt=fe(De)}),new Bl(De,dt)}function wc(O){return O.findMarks(Yt(O.first,0),O.clipPos(Yt(O.lastLine())),function(F){return F.parent})}function kc(O,F){for(var $=0;$<F.length;$++){var re=F[$],le=re.find(),De=O.clipPos(le.from),dt=O.clipPos(le.to);if(pt(De,dt)){var Lt=Il(O,De,dt,re.primary,re.primary.type);re.markers.push(Lt),Lt.parent=re}}}function Pc(O){for(var F=function(le){var De=O[le],dt=[De.primary.doc];Ii(De.primary.doc,function(er){return dt.push(er)});for(var Lt=0;Lt<De.markers.length;Lt++){var Qt=De.markers[Lt];W(dt,Qt.doc)==-1&&(Qt.parent=null,De.markers.splice(Lt--,1))}},$=0;$<O.length;$++)F($)}var Ol=0,$s=function O(F,$,re,le,De){if(!(this instanceof O))return new O(F,$,re,le,De);re==null&&(re=0),ys.call(this,[new cs([new Ji("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var dt=Yt(re,0);this.sel=we(dt),this.history=new Za(null),this.id=++Ol,this.modeOption=$,this.lineSep=le,this.direction=De=="rtl"?"rtl":"ltr",this.extend=!1,typeof F=="string"&&(F=this.splitLines(F)),fi(this,{from:dt,to:dt,text:F}),Xo(this,we(dt),ve)};$s.prototype=Ue(ys.prototype,{constructor:$s,iter:function(F,$,re){re?this.iterN(F-this.first,$-F,re):this.iterN(this.first,this.first+this.size,F)},insert:function(F,$){for(var re=0,le=0;le<$.length;++le)re+=$[le].height;this.insertInner(F-this.first,$,re)},remove:function(F,$){this.removeInner(F-this.first,$)},getValue:function(F){var $=tr(this,this.first,this.first+this.size);return F===!1?$:$.join(F||this.lineSeparator())},setValue:No(function(O){var F=Yt(this.first,0),$=this.first+this.size-1;zs(this,{from:F,to:Yt($,Xe(this,$).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&La(this.cm,0,0),Xo(this,we(F),ve)}),replaceRange:function(F,$,re,le){$=gt(this,$),re=re?gt(this,re):$,Ts(this,F,$,re,le)},getRange:function(F,$,re){var le=ct(this,gt(this,F),gt(this,$));return re===!1?le:le.join(re||this.lineSeparator())},getLine:function(F){var $=this.getLineHandle(F);return $&&$.text},getLineHandle:function(F){if(Yr(this,F))return Xe(this,F)},getLineNumber:function(F){return or(F)},getLineHandleVisualStart:function(F){return typeof F=="number"&&(F=Xe(this,F)),gn(F)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(F){return gt(this,F)},getCursor:function(F){var $=this.sel.primary(),re;return F==null||F=="head"?re=$.head:F=="anchor"?re=$.anchor:F=="end"||F=="to"||F===!1?re=$.to():re=$.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:No(function(O,F,$){ll(this,gt(this,typeof O=="number"?Yt(O,F||0):O),null,$)}),setSelection:No(function(O,F,$){ll(this,gt(this,O),gt(this,F||O),$)}),extendSelection:No(function(O,F,$){Fo(this,gt(this,O),F&&gt(this,F),$)}),extendSelections:No(function(O,F){Zs(this,yr(this,O),F)}),extendSelectionsBy:No(function(O,F){var $=Ne(this.sel.ranges,O);Zs(this,yr(this,$),F)}),setSelections:No(function(O,F,$){if(!O.length)return;for(var re=[],le=0;le<O.length;le++)re[le]=new oe(gt(this,O[le].anchor),gt(this,O[le].head));F==null&&(F=Math.min(O.length-1,this.sel.primIndex)),Xo(this,Ae(this.cm,re,F),$)}),addSelection:No(function(O,F,$){var re=this.sel.ranges.slice(0);re.push(new oe(gt(this,O),gt(this,F||O))),Xo(this,Ae(this.cm,re,re.length-1),$)}),getSelection:function(F){for(var $=this.sel.ranges,re,le=0;le<$.length;le++){var De=ct(this,$[le].from(),$[le].to());re=re?re.concat(De):De}return F===!1?re:re.join(F||this.lineSeparator())},getSelections:function(F){for(var $=[],re=this.sel.ranges,le=0;le<re.length;le++){var De=ct(this,re[le].from(),re[le].to());F!==!1&&(De=De.join(F||this.lineSeparator())),$[le]=De}return $},replaceSelection:function(F,$,re){for(var le=[],De=0;De<this.sel.ranges.length;De++)le[De]=F;this.replaceSelections(le,$,re||"+input")},replaceSelections:No(function(O,F,$){for(var re=[],le=this.sel,De=0;De<le.ranges.length;De++){var dt=le.ranges[De];re[De]={from:dt.from(),to:dt.to(),text:this.splitLines(O[De]),origin:$}}for(var Lt=F&&F!="end"&&Tr(this,re,F),Qt=re.length-1;Qt>=0;Qt--)zs(this,re[Qt]);Lt?ps(this,Lt):this.cm&&qa(this.cm)}),undo:No(function(){ga(this,"undo")}),redo:No(function(){ga(this,"redo")}),undoSelection:No(function(){ga(this,"undo",!0)}),redoSelection:No(function(){ga(this,"redo",!0)}),setExtending:function(F){this.extend=F},getExtending:function(){return this.extend},historySize:function(){for(var F=this.history,$=0,re=0,le=0;le<F.done.length;le++)F.done[le].ranges||++$;for(var De=0;De<F.undone.length;De++)F.undone[De].ranges||++re;return{undo:$,redo:re}},clearHistory:function(){var F=this;this.history=new Za(this.history.maxGeneration),Ii(this,function($){return $.history=F.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(F){return F&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(F){return this.history.generation==(F||this.cleanGeneration)},getHistory:function(){return{done:Fs(this.history.done),undone:Fs(this.history.undone)}},setHistory:function(F){var $=this.history=new Za(this.history.maxGeneration);$.done=Fs(F.done.slice(0),null,!0),$.undone=Fs(F.undone.slice(0),null,!0)},setGutterMarker:No(function(O,F,$){return Ro(this,O,"gutter",function(re){var le=re.gutterMarkers||(re.gutterMarkers={});return le[F]=$,!$&&Y(le)&&(re.gutterMarkers=null),!0})}),clearGutter:No(function(O){var F=this;this.iter(function($){$.gutterMarkers&&$.gutterMarkers[O]&&Ro(F,$,"gutter",function(){return $.gutterMarkers[O]=null,Y($.gutterMarkers)&&($.gutterMarkers=null),!0})})}),lineInfo:function(F){var $;if(typeof F=="number"){if(!Yr(this,F))return null;if($=F,F=Xe(this,F),!F)return null}else if($=or(F),$==null)return null;return{line:$,handle:F,text:F.text,gutterMarkers:F.gutterMarkers,textClass:F.textClass,bgClass:F.bgClass,wrapClass:F.wrapClass,widgets:F.widgets}},addLineClass:No(function(O,F,$){return Ro(this,O,F=="gutter"?"gutter":"class",function(re){var le=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass";if(!re[le])re[le]=$;else{if(T($).test(re[le]))return!1;re[le]+=" "+$}return!0})}),removeLineClass:No(function(O,F,$){return Ro(this,O,F=="gutter"?"gutter":"class",function(re){var le=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass",De=re[le];if(De)if($==null)re[le]=null;else{var dt=De.match(T($));if(!dt)return!1;var Lt=dt.index+dt[0].length;re[le]=De.slice(0,dt.index)+(!dt.index||Lt==De.length?"":" ")+De.slice(Lt)||null}else return!1;return!0})}),addLineWidget:No(function(O,F,$){return Zl(this,O,F,$)}),removeLineWidget:function(F){F.clear()},markText:function(F,$,re){return Il(this,gt(this,F),gt(this,$),re,re&&re.type||"range")},setBookmark:function(F,$){var re={replacedWith:$&&($.nodeType==null?$.widget:$),insertLeft:$&&$.insertLeft,clearWhenEmpty:!1,shared:$&&$.shared,handleMouseEvents:$&&$.handleMouseEvents};return F=gt(this,F),Il(this,F,F,re,"bookmark")},findMarksAt:function(F){F=gt(this,F);var $=[],re=Xe(this,F.line).markedSpans;if(re)for(var le=0;le<re.length;++le){var De=re[le];(De.from==null||De.from<=F.ch)&&(De.to==null||De.to>=F.ch)&&$.push(De.marker.parent||De.marker)}return $},findMarks:function(F,$,re){F=gt(this,F),$=gt(this,$);var le=[],De=F.line;return this.iter(F.line,$.line+1,function(dt){var Lt=dt.markedSpans;if(Lt)for(var Qt=0;Qt<Lt.length;Qt++){var er=Lt[Qt];!(er.to!=null&&De==F.line&&F.ch>=er.to||er.from==null&&De!=F.line||er.from!=null&&De==$.line&&er.from>=$.ch)&&(!re||re(er.marker))&&le.push(er.marker.parent||er.marker)}++De}),le},getAllMarks:function(){var F=[];return this.iter(function($){var re=$.markedSpans;if(re)for(var le=0;le<re.length;++le)re[le].from!=null&&F.push(re[le].marker)}),F},posFromIndex:function(F){var $,re=this.first,le=this.lineSeparator().length;return this.iter(function(De){var dt=De.text.length+le;if(dt>F)return $=F,!0;F-=dt,++re}),gt(this,Yt(re,$))},indexFromPos:function(F){F=gt(this,F);var $=F.ch;if(F.line<this.first||F.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,F.line,function(le){$+=le.text.length+re}),$},copy:function(F){var $=new $s(tr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return $.scrollTop=this.scrollTop,$.scrollLeft=this.scrollLeft,$.sel=this.sel,$.extend=!1,F&&($.history.undoDepth=this.history.undoDepth,$.setHistory(this.getHistory())),$},linkedDoc:function(F){F||(F={});var $=this.first,re=this.first+this.size;F.from!=null&&F.from>$&&($=F.from),F.to!=null&&F.to<re&&(re=F.to);var le=new $s(tr(this,$,re),F.mode||this.modeOption,$,this.lineSep,this.direction);return F.sharedHist&&(le.history=this.history),(this.linked||(this.linked=[])).push({doc:le,sharedHist:F.sharedHist}),le.linked=[{doc:this,isParent:!0,sharedHist:F.sharedHist}],kc(le,wc(this)),le},unlinkDoc:function(F){if(F instanceof fr&&(F=F.doc),this.linked)for(var $=0;$<this.linked.length;++$){var re=this.linked[$];if(re.doc!=F)continue;this.linked.splice($,1),F.unlinkDoc(this),Pc(wc(this));break}if(F.history==this.history){var le=[F.id];Ii(F,function(De){return le.push(De.id)},!0),F.history=new Za(null),F.history.done=Fs(this.history.done,le),F.history.undone=Fs(this.history.undone,le)}},iterLinkedDocs:function(F){Ii(this,F)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(F){return this.lineSep?F.split(this.lineSep):Wr(F)},lineSeparator:function(){return this.lineSep||`
`},setDirection:No(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(F){return F.order=null}),this.cm&&wa(this.cm)})}),$s.prototype.eachLine=$s.prototype.iter;var el=0;function al(O){var F=this;if(sc(F),Ct(F,O)||Nn(F.display,O))return;$e(O),d&&(el=+new Date);var $=Yi(F,O,!0),re=O.dataTransfer.files;if(!$||F.isReadOnly())return;if(re&&re.length&&window.FileReader&&window.File)for(var le=re.length,De=Array(le),dt=0,Lt=function(){++dt==le&&Co(F,function(){$=gt(F.doc,$);var Ai={from:$,to:$,text:F.doc.splitLines(De.filter(function(Ui){return Ui!=null}).join(F.doc.lineSeparator())),origin:"paste"};zs(F.doc,Ai),ps(F.doc,we(gt(F.doc,$),gt(F.doc,Be(Ai))))})()},Qt=function(Ai,Ui){if(F.options.allowDropFileTypes&&W(F.options.allowDropFileTypes,Ai.type)==-1){Lt();return}var qi=new FileReader;qi.onerror=function(){return Lt()},qi.onload=function(){var Zi=qi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zi)){Lt();return}De[Ui]=Zi,Lt()},qi.readAsText(Ai)},er=0;er<re.length;er++)Qt(re[er],er);else{if(F.state.draggingText&&F.doc.sel.contains($)>-1){F.state.draggingText(O),setTimeout(function(){return F.display.input.focus()},20);return}try{var en=O.dataTransfer.getData("Text");if(en){var fn;if(F.state.draggingText&&!F.state.draggingText.copy&&(fn=F.listSelections()),oa(F.doc,we($,$)),fn)for(var Fn=0;Fn<fn.length;++Fn)Ts(F.doc,"",fn[Fn].anchor,fn[Fn].head,"drag");F.replaceSelection(en,"around","paste"),F.display.input.focus()}}catch(kn){}}}function Kl(O,F){if(d&&(!O.state.draggingText||+new Date-el<100)){wt(F);return}if(Ct(O,F)||Nn(O.display,F))return;if(F.dataTransfer.setData("Text",O.getSelection()),F.dataTransfer.effectAllowed="copyMove",F.dataTransfer.setDragImage&&!r){var $=L("img",null,null,"position: fixed; left: 0; top: 0;");$.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o&&($.width=$.height=1,O.display.wrapper.appendChild($),$._top=$.offsetTop),F.dataTransfer.setDragImage($,0,0),o&&$.parentNode.removeChild($)}}function Jl(O,F){var $=Yi(O,F);if(!$)return;var re=document.createDocumentFragment();Ta(O,$,re),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,re)}function sc(O){O.display.dragCursor&&(O.display.lineSpace.removeChild(O.display.dragCursor),O.display.dragCursor=null)}function zl(O){if(!document.getElementsByClassName)return;for(var F=document.getElementsByClassName("CodeMirror"),$=[],re=0;re<F.length;re++){var le=F[re].CodeMirror;le&&$.push(le)}$.length&&$[0].operation(function(){for(var De=0;De<$.length;De++)O($[De])})}var Ll=!1;function lc(){if(Ll)return;$l(),Ll=!0}function $l(){var O;Oe(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,zl(cc)},100))}),Oe(window,"blur",function(){return zl($a)})}function cc(O){var F=O.display;F.cachedCharWidth=F.cachedTextHeight=F.cachedPaddingH=null,F.scrollbarsClipped=!1,O.setSize()}for(var Al={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"},wl=0;wl<10;wl++)Al[wl+48]=Al[wl+96]=String(wl);for(var Nl=65;Nl<=90;Nl++)Al[Nl]=String.fromCharCode(Nl);for(var ql=1;ql<=12;ql++)Al[ql+111]=Al[ql+63235]="F"+ql;var Sl={};Sl.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"},Sl.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"},Sl.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"},Sl.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"]},Sl.default=g?Sl.macDefault:Sl.pcDefault;function Uc(O){var F=O.split(/-(?!$)/);O=F[F.length-1];for(var $,re,le,De,dt=0;dt<F.length-1;dt++){var Lt=F[dt];if(/^(cmd|meta|m)$/i.test(Lt))De=!0;else if(/^a(lt)?$/i.test(Lt))$=!0;else if(/^(c|ctrl|control)$/i.test(Lt))re=!0;else if(/^s(hift)?$/i.test(Lt))le=!0;else throw new Error("Unrecognized modifier name: "+Lt)}return $&&(O="Alt-"+O),re&&(O="Ctrl-"+O),De&&(O="Cmd-"+O),le&&(O="Shift-"+O),O}function dl(O){var F={};for(var $ in O)if(O.hasOwnProperty($)){var re=O[$];if(/^(name|fallthrough|(de|at)tach)$/.test($))continue;if(re=="..."){delete O[$];continue}for(var le=Ne($.split(" "),Uc),De=0;De<le.length;De++){var dt=void 0,Lt=void 0;De==le.length-1?(Lt=le.join(" "),dt=re):(Lt=le.slice(0,De+1).join(" "),dt="...");var Qt=F[Lt];if(!Qt)F[Lt]=dt;else if(Qt!=dt)throw new Error("Inconsistent bindings for "+Lt)}delete O[$]}for(var er in F)O[er]=F[er];return O}function vl(O,F,$,re){F=Dl(F);var le=F.call?F.call(O,re):F[O];if(le===!1)return"nothing";if(le==="...")return"multi";if(le!=null&&$(le))return"handled";if(F.fallthrough){if(Object.prototype.toString.call(F.fallthrough)!="[object Array]")return vl(O,F.fallthrough,$,re);for(var De=0;De<F.fallthrough.length;De++){var dt=vl(O,F.fallthrough[De],$,re);if(dt)return dt}}}function ec(O){var F=typeof O=="string"?O:Al[O.keyCode];return F=="Ctrl"||F=="Alt"||F=="Shift"||F=="Mod"}function jc(O,F,$){var re=O;return F.altKey&&re!="Alt"&&(O="Alt-"+O),(S?F.metaKey:F.ctrlKey)&&re!="Ctrl"&&(O="Ctrl-"+O),(S?F.ctrlKey:F.metaKey)&&re!="Mod"&&(O="Cmd-"+O),!$&&F.shiftKey&&re!="Shift"&&(O="Shift-"+O),O}function uc(O,F){if(o&&O.keyCode==34&&O.char)return!1;var $=Al[O.keyCode];return $==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&($=O.code),jc($,O,F))}function Dl(O){return typeof O=="string"?Sl[O]:O}function Rl(O,F){for(var $=O.doc.sel.ranges,re=[],le=0;le<$.length;le++){for(var De=F($[le]);re.length&&pt(De.from,fe(re).to)<=0;){var dt=re.pop();if(pt(dt.from,De.from)<0){De.from=dt.from;break}}re.push(De)}Wo(O,function(){for(var Lt=re.length-1;Lt>=0;Lt--)Ts(O.doc,"",re[Lt].from,re[Lt].to,"+delete");qa(O)})}function kl(O,F,$){var re=Te(O.text,F+$,$);return re<0||re>O.text.length?null:re}function Sc(O,F,$){var re=kl(O,F.ch,$);return re==null?null:new Yt(F.line,re,$<0?"after":"before")}function xc(O,F,$,re,le){if(O){F.doc.direction=="rtl"&&(le=-le);var De=at($,F.doc.direction);if(De){var dt=le<0?fe(De):De[0],Lt=le<0==(dt.level==1),Qt=Lt?"after":"before",er;if(dt.level>0||F.doc.direction=="rtl"){var en=Ti(F,$);er=le<0?$.text.length-1:0;var fn=Di(F,en,er).top;er=Se(function(Fn){return Di(F,en,Fn).top==fn},le<0==(dt.level==1)?dt.from:dt.to-1,er),Qt=="before"&&(er=kl($,er,1))}else er=le<0?dt.to:dt.from;return new Yt(re,er,Qt)}}return new Yt(re,le<0?$.text.length:0,le<0?"before":"after")}function dc(O,F,$,re){var le=at(F,O.doc.direction);if(!le)return Sc(F,$,re);$.ch>=F.text.length?($.ch=F.text.length,$.sticky="before"):$.ch<=0&&($.ch=0,$.sticky="after");var De=_e(le,$.ch,$.sticky),dt=le[De];if(O.doc.direction=="ltr"&&dt.level%2==0&&(re>0?dt.to>$.ch:dt.from<$.ch))return Sc(F,$,re);var Lt=function(Xi,Aa){return kl(F,Xi instanceof Yt?Xi.ch:Xi,Aa)},Qt,er=function(Xi){return O.options.lineWrapping?(Qt=Qt||Ti(O,F),Qi(O,F,Qt,Xi)):{begin:0,end:F.text.length}},en=er($.sticky=="before"?Lt($,-1):$.ch);if(O.doc.direction=="rtl"||dt.level==1){var fn=dt.level==1==re<0,Fn=Lt($,fn?1:-1);if(Fn!=null&&(fn?Fn<=dt.to&&Fn<=en.end:Fn>=dt.from&&Fn>=en.begin)){var kn=fn?"before":"after";return new Yt($.line,Fn,kn)}}var Ai=function(Xi,Aa,Ca){for(var no=function(es,Us){return Us?new Yt($.line,Lt(es,1),"before"):new Yt($.line,es,"after")};Xi>=0&&Xi<le.length;Xi+=Aa){var Wa=le[Xi],So=Aa>0==(Wa.level!=1),ko=So?Ca.begin:Lt(Ca.end,-1);if(Wa.from<=ko&&ko<Wa.to)return no(ko,So);if(ko=So?Wa.from:Lt(Wa.to,-1),Ca.begin<=ko&&ko<Ca.end)return no(ko,So)}},Ui=Ai(De+re,re,en);if(Ui)return Ui;var qi=re>0?en.end:Lt(en.begin,-1);return qi!=null&&!(re>0&&qi==F.text.length)&&(Ui=Ai(re>0?0:le.length-1,re,er(qi)),Ui)?Ui:null}var Pl={selectAll:Rs,singleSelection:function(F){return F.setSelection(F.getCursor("anchor"),F.getCursor("head"),ve)},killLine:function(F){return Rl(F,function($){if($.empty()){var re=Xe(F.doc,$.head.line).text.length;return $.head.ch==re&&$.head.line<F.lastLine()?{from:$.head,to:Yt($.head.line+1,0)}:{from:$.head,to:Yt($.head.line,re)}}else return{from:$.from(),to:$.to()}})},deleteLine:function(F){return Rl(F,function($){return{from:Yt($.from().line,0),to:gt(F.doc,Yt($.to().line+1,0))}})},delLineLeft:function(F){return Rl(F,function($){return{from:Yt($.from().line,0),to:$.from()}})},delWrappedLineLeft:function(F){return Rl(F,function($){var re=F.charCoords($.head,"div").top+5,le=F.coordsChar({left:0,top:re},"div");return{from:le,to:$.from()}})},delWrappedLineRight:function(F){return Rl(F,function($){var re=F.charCoords($.head,"div").top+5,le=F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:re},"div");return{from:$.from(),to:le}})},undo:function(F){return F.undo()},redo:function(F){return F.redo()},undoSelection:function(F){return F.undoSelection()},redoSelection:function(F){return F.redoSelection()},goDocStart:function(F){return F.extendSelection(Yt(F.firstLine(),0))},goDocEnd:function(F){return F.extendSelection(Yt(F.lastLine()))},goLineStart:function(F){return F.extendSelectionsBy(function($){return hc(F,$.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(F){return F.extendSelectionsBy(function($){return Ec(F,$.head)},{origin:"+move",bias:1})},goLineEnd:function(F){return F.extendSelectionsBy(function($){return tc(F,$.head.line)},{origin:"+move",bias:-1})},goLineRight:function(F){return F.extendSelectionsBy(function($){var re=F.cursorCoords($.head,"div").top+5;return F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:re},"div")},ce)},goLineLeft:function(F){return F.extendSelectionsBy(function($){var re=F.cursorCoords($.head,"div").top+5;return F.coordsChar({left:0,top:re},"div")},ce)},goLineLeftSmart:function(F){return F.extendSelectionsBy(function($){var re=F.cursorCoords($.head,"div").top+5,le=F.coordsChar({left:0,top:re},"div");return le.ch<F.getLine(le.line).search(/\S/)?Ec(F,$.head):le},ce)},goLineUp:function(F){return F.moveV(-1,"line")},goLineDown:function(F){return F.moveV(1,"line")},goPageUp:function(F){return F.moveV(-1,"page")},goPageDown:function(F){return F.moveV(1,"page")},goCharLeft:function(F){return F.moveH(-1,"char")},goCharRight:function(F){return F.moveH(1,"char")},goColumnLeft:function(F){return F.moveH(-1,"column")},goColumnRight:function(F){return F.moveH(1,"column")},goWordLeft:function(F){return F.moveH(-1,"word")},goGroupRight:function(F){return F.moveH(1,"group")},goGroupLeft:function(F){return F.moveH(-1,"group")},goWordRight:function(F){return F.moveH(1,"word")},delCharBefore:function(F){return F.deleteH(-1,"codepoint")},delCharAfter:function(F){return F.deleteH(1,"char")},delWordBefore:function(F){return F.deleteH(-1,"word")},delWordAfter:function(F){return F.deleteH(1,"word")},delGroupBefore:function(F){return F.deleteH(-1,"group")},delGroupAfter:function(F){return F.deleteH(1,"group")},indentAuto:function(F){return F.indentSelection("smart")},indentMore:function(F){return F.indentSelection("add")},indentLess:function(F){return F.indentSelection("subtract")},insertTab:function(F){return F.replaceSelection(" ")},insertSoftTab:function(F){for(var $=[],re=F.listSelections(),le=F.options.tabSize,De=0;De<re.length;De++){var dt=re[De].from(),Lt=U(F.getLine(dt.line),dt.ch,le);$.push(Fe(le-Lt%le))}F.replaceSelections($)},defaultTab:function(F){F.somethingSelected()?F.indentSelection("add"):F.execCommand("insertTab")},transposeChars:function(F){return Wo(F,function(){for(var $=F.listSelections(),re=[],le=0;le<$.length;le++){if(!$[le].empty())continue;var De=$[le].head,dt=Xe(F.doc,De.line).text;if(dt){if(De.ch==dt.length&&(De=new Yt(De.line,De.ch-1)),De.ch>0)De=new Yt(De.line,De.ch+1),F.replaceRange(dt.charAt(De.ch-1)+dt.charAt(De.ch-2),Yt(De.line,De.ch-2),De,"+transpose");else if(De.line>F.doc.first){var Lt=Xe(F.doc,De.line-1).text;Lt&&(De=new Yt(De.line,1),F.replaceRange(dt.charAt(0)+F.doc.lineSeparator()+Lt.charAt(Lt.length-1),Yt(De.line-1,Lt.length-1),De,"+transpose"))}}re.push(new oe(De,De))}F.setSelections(re)})},newlineAndIndent:function(F){return Wo(F,function(){for(var $=F.listSelections(),re=$.length-1;re>=0;re--)F.replaceRange(F.doc.lineSeparator(),$[re].anchor,$[re].head,"+input");$=F.listSelections();for(var le=0;le<$.length;le++)F.indentLine($[le].from().line,null,!0);qa(F)})},openLine:function(F){return F.replaceSelection(`
`,"start")},toggleOverwrite:function(F){return F.toggleOverwrite()}};function hc(O,F){var $=Xe(O.doc,F),re=gn($);return re!=$&&(F=or(re)),xc(!0,O,re,F,1)}function tc(O,F){var $=Xe(O.doc,F),re=Kr($);return re!=$&&(F=or(re)),xc(!0,O,$,F,-1)}function Ec(O,F){var $=hc(O,F.line),re=Xe(O.doc,$.line),le=at(re,O.doc.direction);if(!le||le[0].level==0){var De=Math.max($.ch,re.text.search(/\S/)),dt=F.line==$.line&&F.ch<=De&&F.ch;return Yt($.line,dt?0:De,$.sticky)}return $}function ms(O,F,$){if(typeof F=="string"&&(F=Pl[F],!F))return!1;O.display.input.ensurePolled();var re=O.display.shift,le=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),$&&(O.display.shift=!1),le=F(O)!=J}finally{O.display.shift=re,O.state.suppressEdits=!1}return le}function nl(O,F,$){for(var re=0;re<O.state.keyMaps.length;re++){var le=vl(F,O.state.keyMaps[re],$,O);if(le)return le}return O.options.extraKeys&&vl(F,O.options.extraKeys,$,O)||vl(F,O.options.keyMap,$,O)}var xl=new G;function rc(O,F,$,re){var le=O.state.keySeq;if(le){if(ec(F))return"handled";if(/\'$/.test(F)?O.state.keySeq=null:xl.set(50,function(){O.state.keySeq==le&&(O.state.keySeq=null,O.display.input.reset())}),nc(O,le+" "+F,$,re))return!0}return nc(O,F,$,re)}function nc(O,F,$,re){var le=nl(O,F,re);return le=="multi"&&(O.state.keySeq=F),le=="handled"&&Kt(O,"keyHandled",O,F,$),(le=="handled"||le=="multi")&&($e($),aa(O)),!!le}function El(O,F){var $=uc(F,!0);return $?F.shiftKey&&!O.state.keySeq?rc(O,"Shift-"+$,F,function(re){return ms(O,re,!0)})||rc(O,$,F,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return ms(O,re)}):rc(O,$,F,function(re){return ms(O,re)}):!1}function ml(O,F,$){return rc(O,"'"+$+"'",F,function(re){return ms(O,re,!0)})}var Cc=null;function Hc(O){var F=this;if(O.target&&O.target!=F.display.input.getField())return;if(F.curOp.focus=j(),Ct(F,O))return;d&&l<11&&O.keyCode==27&&(O.returnValue=!1);var $=O.keyCode;F.display.shift=$==16||O.shiftKey;var re=El(F,O);o&&(Cc=re?$:null,!re&&$==88&&!Et&&(g?O.metaKey:O.ctrlKey)&&F.replaceSelection("",null,"cut")),E&&!g&&!re&&$==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),$==18&&!/\bCodeMirror-crosshair\b/.test(F.display.lineDiv.className)&&Kc(F)}function Kc(O){var F=O.display.lineDiv;V(F,"CodeMirror-crosshair");function $(re){(re.keyCode==18||!re.altKey)&&(x(F,"CodeMirror-crosshair"),Ye(document,"keyup",$),Ye(document,"mouseover",$))}Oe(document,"keyup",$),Oe(document,"mouseover",$)}function _c(O){O.keyCode==16&&(this.doc.sel.shift=!1),Ct(this,O)}function Tc(O){var F=this;if(O.target&&O.target!=F.display.input.getField())return;if(Nn(F.display,O)||Ct(F,O)||O.ctrlKey&&!O.altKey||g&&O.metaKey)return;var $=O.keyCode,re=O.charCode;if(o&&$==Cc){Cc=null,$e(O);return}if(o&&(!O.which||O.which<10)&&El(F,O))return;var le=String.fromCharCode(re==null?$:re);if(le=="\b")return;if(ml(F,O,le))return;F.display.input.onKeyPress(O)}var zc=400,fc=function(F,$,re){this.time=F,this.pos=$,this.button=re};fc.prototype.compare=function(O,F,$){return this.time+zc>O&&pt(F,this.pos)==0&&$==this.button};var Cl,_l;function Wl(O,F){var $=+new Date;return _l&&_l.compare($,O,F)?(Cl=_l=null,"triple"):Cl&&Cl.compare($,O,F)?(_l=new fc($,O,F),Cl=null,"double"):(Cl=new fc($,O,F),_l=null,"single")}function Ul(O){var F=this,$=F.display;if(Ct(F,O)||$.activeTouch&&$.input.supportsTouch())return;if($.input.ensurePolled(),$.shift=O.shiftKey,Nn($,O)){n||($.scroller.draggable=!1,setTimeout(function(){return $.scroller.draggable=!0},100));return}if(ic(F,O))return;var re=Yi(F,O),le=he(O),De=re?Wl(re,le):"single";if(window.focus(),le==1&&F.state.selectingText&&F.state.selectingText(O),re&&Ic(F,le,re,De,O))return;le==1?re?Wc(F,re,De,O):qe(O)==$.scroller&&$e(O):le==2?(re&&Fo(F.doc,re),setTimeout(function(){return $.input.focus()},20)):le==3&&(_?F.display.input.onContextMenu(O):Ua(F))}function Ic(O,F,$,re,le){var De="Click";return re=="double"?De="Double"+De:re=="triple"&&(De="Triple"+De),De=(F==1?"Left":F==2?"Middle":"Right")+De,rc(O,jc(De,le),le,function(dt){if(typeof dt=="string"&&(dt=Pl[dt]),!dt)return!1;var Lt=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Lt=dt(O,$)!=J}finally{O.state.suppressEdits=!1}return Lt})}function $c(O,F,$){var re=O.getOption("configureMouse"),le=re?re(O,F,$):{};if(le.unit==null){var De=A?$.shiftKey&&$.metaKey:$.altKey;le.unit=De?"rectangle":F=="single"?"char":F=="double"?"word":"line"}return(le.extend==null||O.doc.extend)&&(le.extend=O.doc.extend||$.shiftKey),le.addNew==null&&(le.addNew=g?$.metaKey:$.ctrlKey),le.moveOnDrag==null&&(le.moveOnDrag=!(g?$.altKey:$.ctrlKey)),le}function Wc(O,F,$,re){d?setTimeout(P(po,O),0):O.curOp.focus=j();var le=$c(O,$,re),De=O.doc.sel,dt;O.options.dragDrop&&kt&&!O.isReadOnly()&&$=="single"&&(dt=De.contains(F))>-1&&(pt((dt=De.ranges[dt]).from(),F)<0||F.xRel>0)&&(pt(dt.to(),F)>0||F.xRel<0)?qc(O,re,F,le):pc(O,re,F,le)}function qc(O,F,$,re){var le=O.display,De=!1,dt=Co(O,function(er){n&&(le.scroller.draggable=!1),O.state.draggingText=!1,Ye(le.wrapper.ownerDocument,"mouseup",dt),Ye(le.wrapper.ownerDocument,"mousemove",Lt),Ye(le.scroller,"dragstart",Qt),Ye(le.scroller,"drop",dt),De||($e(er),re.addNew||Fo(O.doc,$,null,null,re.extend),n&&!r||d&&l==9?setTimeout(function(){le.wrapper.ownerDocument.body.focus({preventScroll:!0}),le.input.focus()},20):le.input.focus())}),Lt=function(en){De=De||Math.abs(F.clientX-en.clientX)+Math.abs(F.clientY-en.clientY)>=10},Qt=function(){return De=!0};n&&(le.scroller.draggable=!0),O.state.draggingText=dt,dt.copy=!re.moveOnDrag,le.scroller.dragDrop&&le.scroller.dragDrop(),Oe(le.wrapper.ownerDocument,"mouseup",dt),Oe(le.wrapper.ownerDocument,"mousemove",Lt),Oe(le.scroller,"dragstart",Qt),Oe(le.scroller,"drop",dt),Ua(O),setTimeout(function(){return le.input.focus()},20)}function Vl(O,F,$){if($=="char")return new oe(F,F);if($=="word")return O.findWordAt(F);if($=="line")return new oe(Yt(F.line,0),gt(O.doc,Yt(F.line+1,0)));var re=$(O,F);return new oe(re.from,re.to)}function pc(O,F,$,re){var le=O.display,De=O.doc;$e(F);var dt,Lt,Qt=De.sel,er=Qt.ranges;if(re.addNew&&!re.extend?(Lt=De.sel.contains($),Lt>-1?dt=er[Lt]:dt=new oe($,$)):(dt=De.sel.primary(),Lt=De.sel.primIndex),re.unit=="rectangle")re.addNew||(dt=new oe($,$)),$=Yi(O,F,!0,!0),Lt=-1;else{var en=Vl(O,$,re.unit);re.extend?dt=ss(dt,en.anchor,en.head,re.extend):dt=en}re.addNew?Lt==-1?(Lt=er.length,Xo(De,Ae(O,er.concat([dt]),Lt),{scroll:!1,origin:"*mouse"})):er.length>1&&er[Lt].empty()&&re.unit=="char"&&!re.extend?(Xo(De,Ae(O,er.slice(0,Lt).concat(er.slice(Lt+1)),0),{scroll:!1,origin:"*mouse"}),Qt=De.sel):xs(De,Lt,dt,q):(Lt=0,Xo(De,new ft([dt],0),q),Qt=De.sel);var fn=$;function Fn(Aa){if(pt(fn,Aa)==0)return;if(fn=Aa,re.unit=="rectangle"){for(var Ca=[],no=O.options.tabSize,Wa=U(Xe(De,$.line).text,$.ch,no),So=U(Xe(De,Aa.line).text,Aa.ch,no),ko=Math.min(Wa,So),as=Math.max(Wa,So),es=Math.min($.line,Aa.line),Us=Math.min(O.lastLine(),Math.max($.line,Aa.line));es<=Us;es++){var ol=Xe(De,es).text,Cs=be(ol,ko,no);ko==as?Ca.push(new oe(Yt(es,Cs),Yt(es,Cs))):ol.length>Cs&&Ca.push(new oe(Yt(es,Cs),Yt(es,be(ol,as,no))))}Ca.length||Ca.push(new oe($,$)),Xo(De,Ae(O,Qt.ranges.slice(0,Lt).concat(Ca),Lt),{origin:"*mouse",scroll:!1}),O.scrollIntoView(Aa)}else{var sl=dt,js=Vl(O,Aa,re.unit),ks=sl.anchor,Is;pt(js.anchor,ks)>0?(Is=js.head,ks=At(sl.from(),js.anchor)):(Is=js.anchor,ks=$t(sl.to(),js.head));var gs=Qt.ranges.slice(0);gs[Lt]=eu(O,new oe(gt(De,ks),Is)),Xo(De,Ae(O,gs,Lt),q)}}var kn=le.wrapper.getBoundingClientRect(),Ai=0;function Ui(Aa){var Ca=++Ai,no=Yi(O,Aa,!0,re.unit=="rectangle");if(!no)return;if(pt(no,fn)!=0){O.curOp.focus=j(),Fn(no);var Wa=yo(le,De);(no.line>=Wa.to||no.line<Wa.from)&&setTimeout(Co(O,function(){Ai==Ca&&Ui(Aa)}),150)}else{var So=Aa.clientY<kn.top?-20:Aa.clientY>kn.bottom?20:0;So&&setTimeout(Co(O,function(){if(Ai!=Ca)return;le.scroller.scrollTop+=So,Ui(Aa)}),50)}}function qi(Aa){O.state.selectingText=!1,Ai=Infinity,Aa&&($e(Aa),le.input.focus()),Ye(le.wrapper.ownerDocument,"mousemove",Zi),Ye(le.wrapper.ownerDocument,"mouseup",Xi),De.history.lastSelOrigin=null}var Zi=Co(O,function(Aa){Aa.buttons===0||!he(Aa)?qi(Aa):Ui(Aa)}),Xi=Co(O,qi);O.state.selectingText=Xi,Oe(le.wrapper.ownerDocument,"mousemove",Zi),Oe(le.wrapper.ownerDocument,"mouseup",Xi)}function eu(O,F){var $=F.anchor,re=F.head,le=Xe(O.doc,$.line);if(pt($,re)==0&&$.sticky==re.sticky)return F;var De=at(le);if(!De)return F;var dt=_e(De,$.ch,$.sticky),Lt=De[dt];if(Lt.from!=$.ch&&Lt.to!=$.ch)return F;var Qt=dt+(Lt.from==$.ch==(Lt.level!=1)?0:1);if(Qt==0||Qt==De.length)return F;var er;if(re.line!=$.line)er=(re.line-$.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var en=_e(De,re.ch,re.sticky),fn=en-dt||(re.ch-$.ch)*(Lt.level==1?-1:1);en==Qt-1||en==Qt?er=fn<0:er=fn>0}var Fn=De[Qt+(er?-1:0)],kn=er==(Fn.level==1),Ai=kn?Fn.from:Fn.to,Ui=kn?"after":"before";return $.ch==Ai&&$.sticky==Ui?F:new oe(new Yt($.line,Ai,Ui),re)}function Oc(O,F,$,re){var le,De;if(F.touches)le=F.touches[0].clientX,De=F.touches[0].clientY;else try{le=F.clientX,De=F.clientY}catch(Fn){return!1}if(le>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;re&&$e(F);var dt=O.display,Lt=dt.lineDiv.getBoundingClientRect();if(De>Lt.bottom||!Ft(O,$))return ne(F);De-=Lt.top-dt.viewOffset;for(var Qt=0;Qt<O.display.gutterSpecs.length;++Qt){var er=dt.gutters.childNodes[Qt];if(er&&er.getBoundingClientRect().right>=le){var en=Xr(O.doc,De),fn=O.display.gutterSpecs[Qt];return bt(O,$,O,en,fn.className,F),ne(F)}}}function ic(O,F){return Oc(O,F,"gutterClick",!0)}function mc(O,F){if(Nn(O.display,F)||Xl(O,F))return;if(Ct(O,F,"contextmenu"))return;_||O.display.input.onContextMenu(F)}function Xl(O,F){return Ft(O,"gutterContextMenu")?Oc(O,F,"gutterContextMenu",!1):!1}function Lc(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gt(O)}var Gl={toString:function(){return"CodeMirror.Init"}},ac={},me={};function Pe(O){var F=O.optionHandlers;function $(re,le,De,dt){O.defaults[re]=le,De&&(F[re]=dt?function(Lt,Qt,er){er!=Gl&&De(Lt,Qt,er)}:De)}O.defineOption=$,O.Init=Gl,$("value","",function(re,le){return re.setValue(le)},!0),$("mode",null,function(re,le){re.doc.modeOption=le,tn(re)},!0),$("indentUnit",2,tn,!0),$("indentWithTabs",!1),$("smartIndent",!0),$("tabSize",4,function(re){_n(re),Gt(re),ba(re)},!0),$("lineSeparator",null,function(re,le){if(re.doc.lineSep=le,!le)return;var De=[],dt=re.doc.first;re.doc.iter(function(Qt){for(var er=0;;){var en=Qt.text.indexOf(le,er);if(en==-1)break;er=en+le.length,De.push(Yt(dt,en))}dt++});for(var Lt=De.length-1;Lt>=0;Lt--)Ts(re.doc,le,De[Lt],Yt(De[Lt].line,De[Lt].ch+le.length))}),$("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,le,De){re.state.specialChars=new RegExp(le.source+(le.test(" ")?"":"| "),"g"),De!=Gl&&re.refresh()}),$("specialCharPlaceholder",hi,function(re){return re.refresh()},!0),$("electricChars",!0),$("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),$("spellcheck",!1,function(re,le){return re.getInputField().spellcheck=le},!0),$("autocorrect",!1,function(re,le){return re.getInputField().autocorrect=le},!0),$("autocapitalize",!1,function(re,le){return re.getInputField().autocapitalize=le},!0),$("rtlMoveVisually",!w),$("wholeLineUpdateBefore",!0),$("theme","default",function(re){Lc(re),Ds(re)},!0),$("keyMap","default",function(re,le,De){var dt=Dl(le),Lt=De!=Gl&&Dl(De);Lt&&Lt.detach&&Lt.detach(re,dt),dt.attach&&dt.attach(re,Lt||null)}),$("extraKeys",null),$("configureMouse",null),$("lineWrapping",!1,Ht,!0),$("gutters",[],function(re,le){re.display.gutterSpecs=Hs(le,re.options.lineNumbers),Ds(re)},!0),$("fixedGutter",!0,function(re,le){re.display.gutters.style.left=le?_a(re.display)+"px":"0",re.refresh()},!0),$("coverGutterNextToScrollbar",!1,function(re){return Ra(re)},!0),$("scrollbarStyle","native",function(re){Ao(re),Ra(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),$("lineNumbers",!1,function(re,le){re.display.gutterSpecs=Hs(re.options.gutters,le),Ds(re)},!0),$("firstLineNumber",1,Ds,!0),$("lineNumberFormatter",function(re){return re},Ds,!0),$("showCursorWhenSelecting",!1,Ea,!0),$("resetSelectionOnContextMenu",!0),$("lineWiseCopyCut",!0),$("pasteLinesPerSelection",!0),$("selectionsMayTouch",!1),$("readOnly",!1,function(re,le){le=="nocursor"&&($a(re),re.display.input.blur()),re.display.input.readOnlyChanged(le)}),$("screenReaderLabel",null,function(re,le){le=le===""?null:le,re.display.input.screenReaderLabelChanged(le)}),$("disableInput",!1,function(re,le){le||re.display.input.reset()},!0),$("dragDrop",!0,ut),$("allowDropFileTypes",null),$("cursorBlinkRate",530),$("cursorScrollMargin",0),$("cursorHeight",1,Ea,!0),$("singleCursorHeightPerLine",!0,Ea,!0),$("workTime",100),$("workDelay",100),$("flattenSpans",!0,_n,!0),$("addModeClass",!1,_n,!0),$("pollInterval",100),$("undoDepth",200,function(re,le){return re.doc.history.undoDepth=le}),$("historyEventDelay",1250),$("viewportMargin",10,function(re){return re.refresh()},!0),$("maxHighlightLength",1e4,_n,!0),$("moveInputWithCursor",!0,function(re,le){le||re.display.input.resetPosition()}),$("tabindex",null,function(re,le){return re.display.input.getField().tabIndex=le||""}),$("autofocus",null),$("direction","ltr",function(re,le){return re.doc.setDirection(le)},!0),$("phrases",null)}function ut(O,F,$){var re=$&&$!=Gl;if(!F!=!re){var le=O.display.dragFunctions,De=F?Oe:Ye;De(O.display.scroller,"dragstart",le.start),De(O.display.scroller,"dragenter",le.enter),De(O.display.scroller,"dragover",le.over),De(O.display.scroller,"dragleave",le.leave),De(O.display.scroller,"drop",le.drop)}}function Ht(O){O.options.lineWrapping?(V(O.display.wrapper,"CodeMirror-wrap"),O.display.sizer.style.minWidth="",O.display.sizerWidth=null):(x(O.display.wrapper,"CodeMirror-wrap"),wi(O)),ta(O),ba(O),Gt(O),setTimeout(function(){return Ra(O)},100)}function fr(O,F){var $=this;if(!(this instanceof fr))return new fr(O,F);this.options=F=F?K(F):{},K(ac,F,!1);var re=F.value;typeof re=="string"?re=new $s(re,F.mode,null,F.lineSeparator,F.direction):F.mode&&(re.modeOption=F.mode),this.doc=re;var le=new fr.inputStyles[F.inputStyle](this),De=this.display=new rs(O,re,le,F);De.wrapper.CodeMirror=this,Lc(this),F.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ao(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 G,keySeq:null,specialChars:null},F.autofocus&&!h&&De.input.focus(),d&&l<11&&setTimeout(function(){return $.display.input.reset(!0)},20),_r(this),lc(),Xa(this),this.curOp.forceUpdate=!0,Vi(this,re),F.autofocus&&!h||this.hasFocus()?setTimeout(function(){$.hasFocus()&&!$.state.focused&&Da($)},20):$a(this);for(var dt in me)me.hasOwnProperty(dt)&&me[dt](this,F[dt],Gl);Qs(this),F.finishInit&&F.finishInit(this);for(var Lt=0;Lt<Ie.length;++Lt)Ie[Lt](this);Yo(this),n&&F.lineWrapping&&getComputedStyle(De.lineDiv).textRendering=="optimizelegibility"&&(De.lineDiv.style.textRendering="auto")}fr.defaults=ac,fr.optionHandlers=me;function _r(O){var F=O.display;Oe(F.scroller,"mousedown",Co(O,Ul)),d&&l<11?Oe(F.scroller,"dblclick",Co(O,function(Qt){if(Ct(O,Qt))return;var er=Yi(O,Qt);if(!er||ic(O,Qt)||Nn(O.display,Qt))return;$e(Qt);var en=O.findWordAt(er);Fo(O.doc,en.anchor,en.head)})):Oe(F.scroller,"dblclick",function(Qt){return Ct(O,Qt)||$e(Qt)}),Oe(F.scroller,"contextmenu",function(Qt){return mc(O,Qt)}),Oe(F.input.getField(),"contextmenu",function(Qt){F.scroller.contains(Qt.target)||mc(O,Qt)});var $,re={end:0};function le(){F.activeTouch&&($=setTimeout(function(){return F.activeTouch=null},1e3),re=F.activeTouch,re.end=+new Date)}function De(Qt){if(Qt.touches.length!=1)return!1;var er=Qt.touches[0];return er.radiusX<=1&&er.radiusY<=1}function dt(Qt,er){if(er.left==null)return!0;var en=er.left-Qt.left,fn=er.top-Qt.top;return en*en+fn*fn>20*20}Oe(F.scroller,"touchstart",function(Qt){if(!Ct(O,Qt)&&!De(Qt)&&!ic(O,Qt)){F.input.ensurePolled(),clearTimeout($);var er=+new Date;F.activeTouch={start:er,moved:!1,prev:er-re.end<=300?re:null},Qt.touches.length==1&&(F.activeTouch.left=Qt.touches[0].pageX,F.activeTouch.top=Qt.touches[0].pageY)}}),Oe(F.scroller,"touchmove",function(){F.activeTouch&&(F.activeTouch.moved=!0)}),Oe(F.scroller,"touchend",function(Qt){var er=F.activeTouch;if(er&&!Nn(F,Qt)&&er.left!=null&&!er.moved&&new Date-er.start<300){var en=O.coordsChar(F.activeTouch,"page"),fn;!er.prev||dt(er,er.prev)?fn=new oe(en,en):!er.prev.prev||dt(er,er.prev.prev)?fn=O.findWordAt(en):fn=new oe(Yt(en.line,0),gt(O.doc,Yt(en.line+1,0))),O.setSelection(fn.anchor,fn.head),O.focus(),$e(Qt)}le()}),Oe(F.scroller,"touchcancel",le),Oe(F.scroller,"scroll",function(){F.scroller.clientHeight&&(ma(O,F.scroller.scrollTop),zo(O,F.scroller.scrollLeft,!0),bt(O,"scroll",O))}),Oe(F.scroller,"mousewheel",function(Qt){return $n(O,Qt)}),Oe(F.scroller,"DOMMouseScroll",function(Qt){return $n(O,Qt)}),Oe(F.wrapper,"scroll",function(){return F.wrapper.scrollTop=F.wrapper.scrollLeft=0}),F.dragFunctions={enter:function(er){Ct(O,er)||wt(er)},over:function(er){Ct(O,er)||(Jl(O,er),wt(er))},start:function(er){return Kl(O,er)},drop:Co(O,al),leave:function(er){Ct(O,er)||sc(O)}};var Lt=F.input.getField();Oe(Lt,"keyup",function(Qt){return _c.call(O,Qt)}),Oe(Lt,"keydown",Co(O,Hc)),Oe(Lt,"keypress",Co(O,Tc)),Oe(Lt,"focus",function(Qt){return Da(O,Qt)}),Oe(Lt,"blur",function(Qt){return $a(O,Qt)})}var Ie=[];fr.defineInitHook=function(O){return Ie.push(O)};function ee(O,F,$,re){var le=O.doc,De;$==null&&($="add"),$=="smart"&&(le.mode.indent?De=Ln(O,F).state:$="prev");var dt=O.options.tabSize,Lt=Xe(le,F),Qt=U(Lt.text,null,dt);Lt.stateAfter&&(Lt.stateAfter=null);var er=Lt.text.match(/^\s*/)[0],en;if(!re&&!/\S/.test(Lt.text))en=0,$="not";else if($=="smart"&&(en=le.mode.indent(De,Lt.text.slice(er.length),Lt.text),en==J||en>150)){if(!re)return;$="prev"}$=="prev"?F>le.first?en=U(Xe(le,F-1).text,null,dt):en=0:$=="add"?en=Qt+O.options.indentUnit:$=="subtract"?en=Qt-O.options.indentUnit:typeof $=="number"&&(en=Qt+$),en=Math.max(0,en);var fn="",Fn=0;if(O.options.indentWithTabs)for(var kn=Math.floor(en/dt);kn;--kn)Fn+=dt,fn+=" ";if(Fn<en&&(fn+=Fe(en-Fn)),fn!=er)return Ts(le,fn,Yt(F,0),Yt(F,er.length),"+input"),Lt.stateAfter=null,!0;for(var Ai=0;Ai<le.sel.ranges.length;Ai++){var Ui=le.sel.ranges[Ai];if(Ui.head.line==F&&Ui.head.ch<er.length){var qi=Yt(F,er.length);xs(le,Ai,new oe(qi,qi));break}}}var ye=null;function je(O){ye=O}function nt(O,F,$,re,le){var De=O.doc;O.display.shift=!1,re||(re=De.sel);var dt=+new Date-200,Lt=le=="paste"||O.state.pasteIncoming>dt,Qt=Wr(F),er=null;if(Lt&&re.ranges.length>1)if(ye&&ye.text.join(`
`)==F){if(re.ranges.length%ye.text.length==0){er=[];for(var en=0;en<ye.text.length;en++)er.push(De.splitLines(ye.text[en]))}}else Qt.length==re.ranges.length&&O.options.pasteLinesPerSelection&&(er=Ne(Qt,function(Zi){return[Zi]}));for(var fn=O.curOp.updateInput,Fn=re.ranges.length-1;Fn>=0;Fn--){var kn=re.ranges[Fn],Ai=kn.from(),Ui=kn.to();kn.empty()&&($&&$>0?Ai=Yt(Ai.line,Ai.ch-$):O.state.overwrite&&!Lt?Ui=Yt(Ui.line,Math.min(Xe(De,Ui.line).text.length,Ui.ch+fe(Qt).length)):Lt&&ye&&ye.lineWise&&ye.text.join(`
`)==Qt.join(`
`)&&(Ai=Ui=Yt(Ai.line,0)));var qi={from:Ai,to:Ui,text:er?er[Fn%er.length]:Qt,origin:le||(Lt?"paste":O.state.cutIncoming>dt?"cut":"+input")};zs(O.doc,qi),Kt(O,"inputRead",O,qi)}F&&!Lt&&Nt(O,F),qa(O),O.curOp.updateInput<2&&(O.curOp.updateInput=fn),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function _t(O,F){var $=O.clipboardData&&O.clipboardData.getData("Text");if($)return O.preventDefault(),!F.isReadOnly()&&!F.options.disableInput&&Wo(F,function(){return nt(F,$,0,null,"paste")}),!0}function Nt(O,F){if(!O.options.electricChars||!O.options.smartIndent)return;for(var $=O.doc.sel,re=$.ranges.length-1;re>=0;re--){var le=$.ranges[re];if(le.head.ch>100||re&&$.ranges[re-1].head.line==le.head.line)continue;var De=O.getModeAt(le.head),dt=!1;if(De.electricChars){for(var Lt=0;Lt<De.electricChars.length;Lt++)if(F.indexOf(De.electricChars.charAt(Lt))>-1){dt=ee(O,le.head.line,"smart");break}}else De.electricInput&&(De.electricInput.test(Xe(O.doc,le.head.line).text.slice(0,le.head.ch))&&(dt=ee(O,le.head.line,"smart")));dt&&Kt(O,"electricInput",O,le.head.line)}}function Mt(O){for(var F=[],$=[],re=0;re<O.doc.sel.ranges.length;re++){var le=O.doc.sel.ranges[re].head.line,De={anchor:Yt(le,0),head:Yt(le+1,0)};$.push(De),F.push(O.getRange(De.anchor,De.head))}return{text:F,ranges:$}}function vr(O,F,$,re){O.setAttribute("autocorrect",$?"":"off"),O.setAttribute("autocapitalize",re?"":"off"),O.setAttribute("spellcheck",!!F)}function Ir(){var O=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),F=L("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return n?O.style.width="1000px":O.setAttribute("wrap","off"),s&&(O.style.border="1px solid black"),vr(O),F}function gr(O){var F=O.optionHandlers,$=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(le,De){var dt=this.options,Lt=dt[le];if(dt[le]==De&&le!="mode")return;dt[le]=De,F.hasOwnProperty(le)&&Co(this,F[le])(this,De,Lt),bt(this,"optionChange",this,le)},getOption:function(le){return this.options[le]},getDoc:function(){return this.doc},addKeyMap:function(le,De){this.state.keyMaps[De?"push":"unshift"](Dl(le))},removeKeyMap:function(le){for(var De=this.state.keyMaps,dt=0;dt<De.length;++dt)if(De[dt]==le||De[dt].name==le)return De.splice(dt,1),!0},addOverlay:ts(function(re,le){var De=re.token?re:O.getMode(this.options,re);if(De.startState)throw new Error("Overlays may not be stateful.");Q(this.state.overlays,{mode:De,modeSpec:re,opaque:le&&le.opaque,priority:le&&le.priority||0},function(dt){return dt.priority}),this.state.modeGen++,ba(this)}),removeOverlay:ts(function(re){for(var le=this.state.overlays,De=0;De<le.length;++De){var dt=le[De].modeSpec;if(dt==re||typeof re=="string"&&dt.name==re){le.splice(De,1),this.state.modeGen++,ba(this);return}}}),indentLine:ts(function(re,le,De){typeof le!="string"&&typeof le!="number"&&(le==null?le=this.options.smartIndent?"smart":"prev":le=le?"add":"subtract"),Yr(this.doc,re)&&ee(this,re,le,De)}),indentSelection:ts(function(re){for(var le=this.doc.sel.ranges,De=-1,dt=0;dt<le.length;dt++){var Lt=le[dt];if(Lt.empty())Lt.head.line>De&&(ee(this,Lt.head.line,re,!0),De=Lt.head.line,dt==this.doc.sel.primIndex&&qa(this));else{var Qt=Lt.from(),er=Lt.to(),en=Math.max(De,Qt.line);De=Math.min(this.lastLine(),er.line-(er.ch?0:1))+1;for(var fn=en;fn<De;++fn)ee(this,fn,re);var Fn=this.doc.sel.ranges;Qt.ch==0&&le.length==Fn.length&&Fn[dt].from().ch>0&&xs(this.doc,dt,new oe(Qt,Fn[dt].to()),ve)}}}),getTokenAt:function(le,De){return Pi(this,le,De)},getLineTokens:function(le,De){return Pi(this,Yt(le),De,!0)},getTokenTypeAt:function(le){le=gt(this.doc,le);var De=$r(this,Xe(this.doc,le.line)),dt=0,Lt=(De.length-1)/2,Qt=le.ch,er;if(Qt==0)er=De[2];else for(;;){var en=dt+Lt>>1;if((en?De[en*2-1]:0)>=Qt)Lt=en;else if(De[en*2+1]<Qt)dt=en+1;else{er=De[en*2+2];break}}var fn=er?er.indexOf("overlay "):-1;return fn<0?er:fn==0?null:er.slice(0,fn-1)},getModeAt:function(le){var De=this.doc.mode;return De.innerMode?O.innerMode(De,this.getTokenAt(le).state).mode:De},getHelper:function(le,De){return this.getHelpers(le,De)[0]},getHelpers:function(le,De){var dt=[];if(!$.hasOwnProperty(De))return dt;var Lt=$[De],Qt=this.getModeAt(le);if(typeof Qt[De]=="string")Lt[Qt[De]]&&dt.push(Lt[Qt[De]]);else if(Qt[De])for(var er=0;er<Qt[De].length;er++){var en=Lt[Qt[De][er]];en&&dt.push(en)}else Qt.helperType&&Lt[Qt.helperType]?dt.push(Lt[Qt.helperType]):Lt[Qt.name]&&dt.push(Lt[Qt.name]);for(var fn=0;fn<Lt._global.length;fn++){var Fn=Lt._global[fn];Fn.pred(Qt,this)&&W(dt,Fn.val)==-1&&dt.push(Fn.val)}return dt},getStateAfter:function(le,De){var dt=this.doc;return le=Pt(dt,le==null?dt.first+dt.size-1:le),Ln(this,le+1,De).state},cursorCoords:function(le,De){var dt,Lt=this.doc.sel.primary();return le==null?dt=Lt.head:typeof le=="object"?dt=gt(this.doc,le):dt=le?Lt.from():Lt.to(),yn(this,dt,De||"page")},charCoords:function(le,De){return ln(this,gt(this.doc,le),De||"page")},coordsChar:function(le,De){return le=dn(this,le,De||"page"),ei(this,le.left,le.top)},lineAtHeight:function(le,De){return le=dn(this,{top:le,left:0},De||"page").top,Xr(this.doc,le+this.display.viewOffset)},heightAtLine:function(le,De,dt){var Lt=!1,Qt;if(typeof le=="number"){var er=this.doc.first+this.doc.size-1;le<this.doc.first?le=this.doc.first:le>er&&(le=er,Lt=!0),Qt=Xe(this.doc,le)}else Qt=le;return kr(this,Qt,{top:0,left:0},De||"page",dt||Lt).top+(Lt?this.doc.height-Xn(Qt):0)},defaultTextHeight:function(){return Mi(this.display)},defaultCharWidth:function(){return na(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,De,dt,Lt,Qt){var er=this.display;le=yn(this,gt(this.doc,le));var en=le.bottom,fn=le.left;if(De.style.position="absolute",De.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(De),er.sizer.appendChild(De),Lt=="over")en=le.top;else if(Lt=="above"||Lt=="near"){var Fn=Math.max(er.wrapper.clientHeight,this.doc.height),kn=Math.max(er.sizer.clientWidth,er.lineSpace.clientWidth);(Lt=="above"||le.bottom+De.offsetHeight>Fn)&&le.top>De.offsetHeight?en=le.top-De.offsetHeight:le.bottom+De.offsetHeight<=Fn&&(en=le.bottom),fn+De.offsetWidth>kn&&(fn=kn-De.offsetWidth)}De.style.top=en+"px",De.style.left=De.style.right="",Qt=="right"?(fn=er.sizer.clientWidth-De.offsetWidth,De.style.right="0px"):(Qt=="left"?fn=0:Qt=="middle"&&(fn=(er.sizer.clientWidth-De.offsetWidth)/2),De.style.left=fn+"px"),dt&&mo(this,{left:fn,top:en,right:fn+De.offsetWidth,bottom:en+De.offsetHeight})},triggerOnKeyDown:ts(Hc),triggerOnKeyPress:ts(Tc),triggerOnKeyUp:_c,triggerOnMouseDown:ts(Ul),execCommand:function(le){if(Pl.hasOwnProperty(le))return Pl[le].call(null,this)},triggerElectric:ts(function(re){Nt(this,re)}),findPosH:function(le,De,dt,Lt){var Qt=1;De<0&&(Qt=-1,De=-De);for(var er=gt(this.doc,le),en=0;en<De&&!(er=dr(this.doc,er,Qt,dt,Lt),er.hitSide);++en);return er},moveH:ts(function(re,le){var De=this;this.extendSelectionsBy(function(dt){return De.display.shift||De.doc.extend||dt.empty()?dr(De.doc,dt.head,re,le,De.options.rtlMoveVisually):re<0?dt.from():dt.to()},ce)}),deleteH:ts(function(re,le){var De=this.doc.sel,dt=this.doc;De.somethingSelected()?dt.replaceSelection("",null,"+delete"):Rl(this,function(Lt){var Qt=dr(dt,Lt.head,re,le,!1);return re<0?{from:Qt,to:Lt.head}:{from:Lt.head,to:Qt}})}),findPosV:function(le,De,dt,Lt){var Qt=1,er=Lt;De<0&&(Qt=-1,De=-De);for(var en=gt(this.doc,le),fn=0;fn<De;++fn){var Fn=yn(this,en,"div");if(er==null?er=Fn.left:Fn.left=er,en=Cr(this,Fn,Qt,dt),en.hitSide)break}return en},moveV:ts(function(re,le){var De=this,dt=this.doc,Lt=[],Qt=!this.display.shift&&!dt.extend&&dt.sel.somethingSelected();if(dt.extendSelectionsBy(function(en){if(Qt)return re<0?en.from():en.to();var fn=yn(De,en.head,"div");en.goalColumn!=null&&(fn.left=en.goalColumn),Lt.push(fn.left);var Fn=Cr(De,fn,re,le);return le=="page"&&en==dt.sel.primary()&&Ya(De,ln(De,Fn,"div").top-fn.top),Fn},ce),Lt.length)for(var er=0;er<dt.sel.ranges.length;er++)dt.sel.ranges[er].goalColumn=Lt[er]}),findWordAt:function(le){var De=this.doc,dt=Xe(De,le.line).text,Lt=le.ch,Qt=le.ch;if(dt){var er=this.getHelper(le,"wordChars");(le.sticky=="before"||Qt==dt.length)&&Lt?--Lt:++Qt;for(var en=dt.charAt(Lt),fn=z(en,er)?function(Fn){return z(Fn,er)}:/\s/.test(en)?function(Fn){return/\s/.test(Fn)}:function(Fn){return!/\s/.test(Fn)&&!z(Fn)};Lt>0&&fn(dt.charAt(Lt-1));)--Lt;for(;Qt<dt.length&&fn(dt.charAt(Qt));)++Qt}return new oe(Yt(le.line,Lt),Yt(le.line,Qt))},toggleOverwrite:function(le){if(le!=null&&le==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?V(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),bt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ts(function(re,le){La(this,re,le)}),getScrollInfo:function(){var le=this.display.scroller;return{left:le.scrollLeft,top:le.scrollTop,height:le.scrollHeight-Kn(this)-this.display.barHeight,width:le.scrollWidth-Kn(this)-this.display.barWidth,clientHeight:qn(this),clientWidth:Qn(this)}},scrollIntoView:ts(function(re,le){re==null?(re={from:this.doc.sel.primary().head,to:null},le==null&&(le=this.options.cursorScrollMargin)):typeof re=="number"?re={from:Yt(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=le||0,re.from.line!=null?oo(this,re):Fi(this,re.from,re.to,re.margin)}),setSize:ts(function(re,le){var De=this,dt=function(er){return typeof er=="number"||/^\d+$/.test(String(er))?er+"px":er};re!=null&&(this.display.wrapper.style.width=dt(re)),le!=null&&(this.display.wrapper.style.height=dt(le)),this.options.lineWrapping&&Nr(this);var Lt=this.display.viewFrom;this.doc.iter(Lt,this.display.viewTo,function(Qt){if(Qt.widgets){for(var er=0;er<Qt.widgets.length;er++)if(Qt.widgets[er].noHScroll){Ei(De,Lt,"widget");break}}++Lt}),this.curOp.forceUpdate=!0,bt(this,"refresh",this)}),operation:function(le){return Wo(this,le)},startOperation:function(){return Xa(this)},endOperation:function(){return Yo(this)},refresh:ts(function(){var re=this.display.cachedTextHeight;ba(this),this.curOp.forceUpdate=!0,Gt(this),La(this,this.doc.scrollLeft,this.doc.scrollTop),As(this.display),(re==null||Math.abs(re-Mi(this.display))>.5||this.options.lineWrapping)&&ta(this),bt(this,"refresh",this)}),swapDoc:ts(function(re){var le=this.doc;return le.cm=null,this.state.selectingText&&this.state.selectingText(),Vi(this,re),Gt(this),this.display.input.reset(),La(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,Kt(this,"swapDoc",this,le),le}),phrase:function(le){var De=this.options.phrases;return De&&Object.prototype.hasOwnProperty.call(De,le)?De[le]:le},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}},Vt(O),O.registerHelper=function(re,le,De){$.hasOwnProperty(re)||($[re]=O[re]={_global:[]}),$[re][le]=De},O.registerGlobalHelper=function(re,le,De,dt){O.registerHelper(re,le,dt),$[re]._global.push({pred:De,val:dt})}}function dr(O,F,$,re,le){var De=F,dt=$,Lt=Xe(O,F.line),Qt=le&&O.direction=="rtl"?-$:$;function er(){var Xi=F.line+Qt;return Xi<O.first||Xi>=O.first+O.size?!1:(F=new Yt(Xi,F.ch,F.sticky),Lt=Xe(O,Xi))}function en(Xi){var Aa;if(re=="codepoint"){var Ca=Lt.text.charCodeAt(F.ch+(re>0?0:-1));isNaN(Ca)?Aa=null:Aa=new Yt(F.line,Math.max(0,Math.min(Lt.text.length,F.ch+$*(Ca>=55296&&Ca<56320?2:1))),-$)}else le?Aa=dc(O.cm,Lt,F,$):Aa=Sc(Lt,F,$);if(Aa==null)if(!Xi&&er())F=xc(le,O.cm,Lt,F.line,Qt);else return!1;else F=Aa;return!0}if(re=="char"||re=="codepoint")en();else if(re=="column")en(!0);else if(re=="word"||re=="group")for(var fn=null,Fn=re=="group",kn=O.cm&&O.cm.getHelper(F,"wordChars"),Ai=!0;!($<0&&!en(!Ai));Ai=!1){var Ui=Lt.text.charAt(F.ch)||`
`,qi=z(Ui,kn)?"w":Fn&&Ui==`
`?"n":!Fn||/\s/.test(Ui)?null:"p";if(Fn&&!Ai&&!qi&&(qi="s"),fn&&fn!=qi){$<0&&($=1,en(),F.sticky="after");break}if(qi&&(fn=qi),$>0&&!en(!Ai))break}var Zi=cl(O,F,De,dt,!0);return ht(De,Zi)&&(Zi.hitSide=!0),Zi}function Cr(O,F,$,re){var le=O.doc,De=F.left,dt;if(re=="page"){var Lt=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Qt=Math.max(Lt-.5*Mi(O.display),3);dt=($>0?F.bottom:F.top)+$*Qt}else re=="line"&&(dt=$>0?F.bottom+3:F.top-3);for(var er;!(er=ei(O,De,dt),!er.outside);){if($<0?dt<=0:dt>=le.height){er.hitSide=!0;break}dt+=$*5}return er}var Mr=function(F){this.cm=F,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new G,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Mr.prototype.init=function(O){var F=this,$=this,re=$.cm,le=$.div=O.lineDiv;vr(le,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function De(Lt){for(var Qt=Lt.target;Qt;Qt=Qt.parentNode){if(Qt==le)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Qt.className))break}return!1}Oe(le,"paste",function(Lt){if(!De(Lt)||Ct(re,Lt)||_t(Lt,re))return;l<=11&&setTimeout(Co(re,function(){return F.updateFromDOM()}),20)}),Oe(le,"compositionstart",function(Lt){F.composing={data:Lt.data,done:!1}}),Oe(le,"compositionupdate",function(Lt){F.composing||(F.composing={data:Lt.data,done:!1})}),Oe(le,"compositionend",function(Lt){F.composing&&(Lt.data!=F.composing.data&&F.readFromDOMSoon(),F.composing.done=!0)}),Oe(le,"touchstart",function(){return $.forceCompositionEnd()}),Oe(le,"input",function(){F.composing||F.readFromDOMSoon()});function dt(Lt){if(!De(Lt)||Ct(re,Lt))return;if(re.somethingSelected())je({lineWise:!1,text:re.getSelections()}),Lt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var Qt=Mt(re);je({lineWise:!0,text:Qt.text}),Lt.type=="cut"&&re.operation(function(){re.setSelections(Qt.ranges,0,ve),re.replaceSelection("",null,"cut")})}else return;if(Lt.clipboardData){Lt.clipboardData.clearData();var er=ye.text.join(`
`);if(Lt.clipboardData.setData("Text",er),Lt.clipboardData.getData("Text")==er){Lt.preventDefault();return}}var en=Ir(),fn=en.firstChild;re.display.lineSpace.insertBefore(en,re.display.lineSpace.firstChild),fn.value=ye.text.join(`
`);var Fn=document.activeElement;H(fn),setTimeout(function(){re.display.lineSpace.removeChild(en),Fn.focus(),Fn==le&&$.showPrimarySelection()},50)}Oe(le,"copy",dt),Oe(le,"cut",dt)},Mr.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},Mr.prototype.prepareSelection=function(){var O=Ga(this.cm,!1);return O.focus=document.activeElement==this.div,O},Mr.prototype.showSelection=function(O,F){if(!O||!this.cm.display.view.length)return;(O.focus||F)&&this.showPrimarySelection(),this.showMultipleSelections(O)},Mr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Mr.prototype.showPrimarySelection=function(){var O=this.getSelection(),F=this.cm,$=F.doc.sel.primary(),re=$.from(),le=$.to();if(F.display.viewTo==F.display.viewFrom||re.line>=F.display.viewTo||le.line<F.display.viewFrom){O.removeAllRanges();return}var De=ui(F,O.anchorNode,O.anchorOffset),dt=ui(F,O.focusNode,O.focusOffset);if(De&&!De.bad&&dt&&!dt.bad&&pt(At(De,dt),re)==0&&pt($t(De,dt),le)==0)return;var Lt=F.display.view,Qt=re.line>=F.display.viewFrom&&on(F,re)||{node:Lt[0].measure.map[2],offset:0},er=le.line<F.display.viewTo&&on(F,le);if(!er){var en=Lt[Lt.length-1].measure,fn=en.maps?en.maps[en.maps.length-1]:en.map;er={node:fn[fn.length-1],offset:fn[fn.length-2]-fn[fn.length-3]}}if(!Qt||!er){O.removeAllRanges();return}var Fn=O.rangeCount&&O.getRangeAt(0),kn;try{kn=k(Qt.node,Qt.offset,er.offset,er.node)}catch(Ai){}kn&&(!E&&F.state.focused?(O.collapse(Qt.node,Qt.offset),kn.collapsed||(O.removeAllRanges(),O.addRange(kn))):(O.removeAllRanges(),O.addRange(kn)),Fn&&O.anchorNode==null?O.addRange(Fn):E&&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 F=O.getRangeAt(0).commonAncestorContainer;return R(this.div,F)},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():Wo(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function F(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,F))}this.polling.set(this.cm.options.pollInterval,F)},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(),F=this.cm;if(u&&a&&this.cm.display.gutterSpecs.length&&zn(O.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var $=ui(F,O.anchorNode,O.anchorOffset),re=ui(F,O.focusNode,O.focusOffset);$&&re&&Wo(F,function(){Xo(F.doc,we($,re),ve),($.bad||re.bad)&&(F.curOp.selectionChanged=!0)})},Mr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,F=O.display,$=O.doc.sel.primary(),re=$.from(),le=$.to();if(re.ch==0&&re.line>O.firstLine()&&(re=Yt(re.line-1,Xe(O.doc,re.line-1).length)),le.ch==Xe(O.doc,le.line).text.length&&le.line<O.lastLine()&&(le=Yt(le.line+1,0)),re.line<F.viewFrom||le.line>F.viewTo-1)return!1;var De,dt,Lt;re.line==F.viewFrom||(De=ka(O,re.line))==0?(dt=or(F.view[0].line),Lt=F.view[0].node):(dt=or(F.view[De].line),Lt=F.view[De-1].node.nextSibling);var Qt=ka(O,le.line),er,en;if(Qt==F.view.length-1?(er=F.viewTo-1,en=F.lineDiv.lastChild):(er=or(F.view[Qt+1].line)-1,en=F.view[Qt+1].node.previousSibling),!Lt)return!1;for(var fn=O.doc.splitLines(Oi(O,Lt,en,dt,er)),Fn=ct(O.doc,Yt(dt,0),Yt(er,Xe(O.doc,er).text.length));fn.length>1&&Fn.length>1;)if(fe(fn)==fe(Fn))fn.pop(),Fn.pop(),er--;else if(fn[0]==Fn[0])fn.shift(),Fn.shift(),dt++;else break;for(var kn=0,Ai=0,Ui=fn[0],qi=Fn[0],Zi=Math.min(Ui.length,qi.length);kn<Zi&&Ui.charCodeAt(kn)==qi.charCodeAt(kn);)++kn;for(var Xi=fe(fn),Aa=fe(Fn),Ca=Math.min(Xi.length-(fn.length==1?kn:0),Aa.length-(Fn.length==1?kn:0));Ai<Ca&&Xi.charCodeAt(Xi.length-Ai-1)==Aa.charCodeAt(Aa.length-Ai-1);)++Ai;if(fn.length==1&&Fn.length==1&&dt==re.line)for(;kn&&kn>re.ch&&Xi.charCodeAt(Xi.length-Ai-1)==Aa.charCodeAt(Aa.length-Ai-1);)kn--,Ai++;fn[fn.length-1]=Xi.slice(0,Xi.length-Ai).replace(/^\u200b+/,""),fn[0]=fn[0].slice(kn).replace(/\u200b+$/,"");var no=Yt(dt,kn),Wa=Yt(er,Fn.length?fe(Fn).length-Ai:0);if(fn.length>1||fn[0]||pt(no,Wa))return Ts(O.doc,fn,no,Wa,"+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())&&Wo(this.cm,function(){return ba(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()||Co(this.cm,nt)(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 on(O,F){var $=xi(O,F.line);if(!$||$.hidden)return null;var re=Xe(O.doc,F.line),le=gi($,re,F.line),De=at(re,O.doc.direction),dt="left";if(De){var Lt=_e(De,F.ch);dt=Lt%2?"right":"left"}var Qt=_i(le.map,F.ch,dt);return Qt.offset=Qt.collapse=="right"?Qt.end:Qt.start,Qt}function zn(O){for(var F=O;F;F=F.parentNode)if(/CodeMirror-gutter-wrapper/.test(F.className))return!0;return!1}function ri(O,F){return F&&(O.bad=!0),O}function Oi(O,F,$,re,le){var De="",dt=!1,Lt=O.doc.lineSeparator(),Qt=!1;function er(kn){return function(Ai){return Ai.id==kn}}function en(){dt&&(De+=Lt,Qt&&(De+=Lt),dt=Qt=!1)}function fn(kn){kn&&(en(),De+=kn)}function Fn(kn){if(kn.nodeType==1){var Ai=kn.getAttribute("cm-text");if(Ai){fn(Ai);return}var Ui=kn.getAttribute("cm-marker"),qi;if(Ui){var Zi=O.findMarks(Yt(re,0),Yt(le+1,0),er(+Ui));Zi.length&&(qi=Zi[0].find(0))&&fn(ct(O.doc,qi.from,qi.to).join(Lt));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&&en();for(var Aa=0;Aa<kn.childNodes.length;Aa++)Fn(kn.childNodes[Aa]);/^(pre|p)$/i.test(kn.nodeName)&&(Qt=!0),Xi&&(dt=!0)}else kn.nodeType==3&&fn(kn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Fn(F),F==$);)F=F.nextSibling,Qt=!1;return De}function ui(O,F,$){var re;if(F==O.display.lineDiv){if(re=O.display.lineDiv.childNodes[$],!re)return ri(O.clipPos(Yt(O.display.viewTo-1)),!0);F=null,$=0}else for(re=F;;re=re.parentNode){if(!re||re==O.display.lineDiv)return null;if(re.parentNode&&re.parentNode==O.display.lineDiv)break}for(var le=0;le<O.display.view.length;le++){var De=O.display.view[le];if(De.node==re)return va(De,F,$)}}function va(O,F,$){var re=O.text.firstChild,le=!1;if(!F||!R(re,F))return ri(Yt(or(O.line),0),!0);if(F==re&&(le=!0,F=re.childNodes[$],$=0,!F)){var De=O.rest?fe(O.rest):O.line;return ri(Yt(or(De),De.text.length),le)}var dt=F.nodeType==3?F:null,Lt=F;for(!dt&&F.childNodes.length==1&&F.firstChild.nodeType==3&&(dt=F.firstChild,$&&($=dt.nodeValue.length));Lt.parentNode!=re;)Lt=Lt.parentNode;var Qt=O.measure,er=Qt.maps;function en(qi,Zi,Xi){for(var Aa=-1;Aa<(er?er.length:0);Aa++)for(var Ca=Aa<0?Qt.map:er[Aa],no=0;no<Ca.length;no+=3){var Wa=Ca[no+2];if(Wa==qi||Wa==Zi){var So=or(Aa<0?O.line:O.rest[Aa]),ko=Ca[no]+Xi;return(Xi<0||Wa!=qi)&&(ko=Ca[no+(Xi?1:0)]),Yt(So,ko)}}}var fn=en(dt,Lt,$);if(fn)return ri(fn,le);for(var Fn=Lt.nextSibling,kn=dt?dt.nodeValue.length-$:0;Fn;Fn=Fn.nextSibling){if(fn=en(Fn,Fn.firstChild,0),fn)return ri(Yt(fn.line,fn.ch-kn),le);kn+=Fn.textContent.length}for(var Ai=Lt.previousSibling,Ui=$;Ai;Ai=Ai.previousSibling){if(fn=en(Ai,Ai.firstChild,-1),fn)return ri(Yt(fn.line,fn.ch+Ui),le);Ui+=Ai.textContent.length}}var zi=function(F){this.cm=F,this.prevInput="",this.pollingFast=!1,this.polling=new G,this.hasSelection=!1,this.composing=null};zi.prototype.init=function(O){var F=this,$=this,re=this.cm;this.createField(O);var le=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),s&&(le.style.width="0px"),Oe(le,"input",function(){d&&l>=9&&F.hasSelection&&(F.hasSelection=null),$.poll()}),Oe(le,"paste",function(dt){if(Ct(re,dt)||_t(dt,re))return;re.state.pasteIncoming=+new Date,$.fastPoll()});function De(dt){if(Ct(re,dt))return;if(re.somethingSelected())je({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var Lt=Mt(re);je({lineWise:!0,text:Lt.text}),dt.type=="cut"?re.setSelections(Lt.ranges,null,ve):($.prevInput="",le.value=Lt.text.join(`
`),H(le))}else return;dt.type=="cut"&&(re.state.cutIncoming=+new Date)}Oe(le,"cut",De),Oe(le,"copy",De),Oe(O.scroller,"paste",function(dt){if(Nn(O,dt)||Ct(re,dt))return;if(!le.dispatchEvent){re.state.pasteIncoming=+new Date,$.focus();return}var Lt=new Event("paste");Lt.clipboardData=dt.clipboardData,le.dispatchEvent(Lt)}),Oe(O.lineSpace,"selectstart",function(dt){Nn(O,dt)||$e(dt)}),Oe(le,"compositionstart",function(){var dt=re.getCursor("from");$.composing&&$.composing.range.clear(),$.composing={start:dt,range:re.markText(dt,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Oe(le,"compositionend",function(){$.composing&&($.poll(),$.composing.range.clear(),$.composing=null)})},zi.prototype.createField=function(O){this.wrapper=Ir(),this.textarea=this.wrapper.firstChild},zi.prototype.screenReaderLabelChanged=function(O){O?this.textarea.setAttribute("aria-label",O):this.textarea.removeAttribute("aria-label")},zi.prototype.prepareSelection=function(){var O=this.cm,F=O.display,$=O.doc,re=Ga(O);if(O.options.moveInputWithCursor){var le=yn(O,$.sel.primary().head,"div"),De=F.wrapper.getBoundingClientRect(),dt=F.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(F.wrapper.clientHeight-10,le.top+dt.top-De.top)),re.teLeft=Math.max(0,Math.min(F.wrapper.clientWidth-10,le.left+dt.left-De.left))}return re},zi.prototype.showSelection=function(O){var F=this.cm,$=F.display;I($.cursorDiv,O.cursors),I($.selectionDiv,O.selection),O.teTop!=null&&(this.wrapper.style.top=O.teTop+"px",this.wrapper.style.left=O.teLeft+"px")},zi.prototype.reset=function(O){if(this.contextMenuPending||this.composing)return;var F=this.cm;if(F.somethingSelected()){this.prevInput="";var $=F.getSelection();this.textarea.value=$,F.state.focused&&H(this.textarea),d&&l>=9&&(this.hasSelection=$)}else O||(this.prevInput=this.textarea.value="",d&&l>=9&&(this.hasSelection=null))},zi.prototype.getField=function(){return this.textarea},zi.prototype.supportsTouch=function(){return!1},zi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||j()!=this.textarea))try{this.textarea.focus()}catch(O){}},zi.prototype.blur=function(){this.textarea.blur()},zi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},zi.prototype.receivedFocus=function(){this.slowPoll()},zi.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()})},zi.prototype.fastPoll=function(){var O=!1,F=this;F.pollingFast=!0;function $(){var re=F.poll();!re&&!O?(O=!0,F.polling.set(60,$)):(F.pollingFast=!1,F.slowPoll())}F.polling.set(20,$)},zi.prototype.poll=function(){var O=this,F=this.cm,$=this.textarea,re=this.prevInput;if(this.contextMenuPending||!F.state.focused||mt($)&&!re&&!this.composing||F.isReadOnly()||F.options.disableInput||F.state.keySeq)return!1;var le=$.value;if(le==re&&!F.somethingSelected())return!1;if(d&&l>=9&&this.hasSelection===le||g&&/[\uf700-\uf7ff]/.test(le))return F.display.input.reset(),!1;if(F.doc.sel==F.display.selForContextMenu){var De=le.charCodeAt(0);if(De==8203&&!re&&(re="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var dt=0,Lt=Math.min(re.length,le.length);dt<Lt&&re.charCodeAt(dt)==le.charCodeAt(dt);)++dt;return Wo(F,function(){nt(F,le.slice(dt),re.length-dt,null,O.composing?"*compose":null),le.length>1e3||le.indexOf(`
`)>-1?$.value=O.prevInput="":O.prevInput=le,O.composing&&(O.composing.range.clear(),O.composing.range=F.markText(O.composing.start,F.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},zi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},zi.prototype.onKeyPress=function(){d&&l>=9&&(this.hasSelection=null),this.fastPoll()},zi.prototype.onContextMenu=function(O){var F=this,$=F.cm,re=$.display,le=F.textarea;F.contextMenuPending&&F.contextMenuPending();var De=Yi($,O),dt=re.scroller.scrollTop;if(!De||o)return;var Lt=$.options.resetSelectionOnContextMenu;Lt&&$.doc.sel.contains(De)==-1&&Co($,Xo)($.doc,we(De),ve);var Qt=le.style.cssText,er=F.wrapper.style.cssText,en=F.wrapper.offsetParent.getBoundingClientRect();F.wrapper.style.cssText="position: static",le.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(O.clientY-en.top-5)+"px; left: "+(O.clientX-en.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 fn;n&&(fn=window.scrollY),re.input.focus(),n&&window.scrollTo(null,fn),re.input.reset(),$.somethingSelected()||(le.value=F.prevInput=" "),F.contextMenuPending=kn,re.selForContextMenu=$.doc.sel,clearTimeout(re.detectingSelectAll);function Fn(){if(le.selectionStart!=null){var Ui=$.somethingSelected(),qi="\u200B"+(Ui?le.value:"");le.value="\u21DA",le.value=qi,F.prevInput=Ui?"":"\u200B",le.selectionStart=1,le.selectionEnd=qi.length,re.selForContextMenu=$.doc.sel}}function kn(){if(F.contextMenuPending!=kn)return;if(F.contextMenuPending=!1,F.wrapper.style.cssText=er,le.style.cssText=Qt,d&&l<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=dt),le.selectionStart!=null){(!d||d&&l<9)&&Fn();var Ui=0,qi=function Zi(){re.selForContextMenu==$.doc.sel&&le.selectionStart==0&&le.selectionEnd>0&&F.prevInput=="\u200B"?Co($,Rs)($):Ui++<10?re.detectingSelectAll=setTimeout(Zi,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(qi,200)}}if(d&&l>=9&&Fn(),_){wt(O);var Ai=function Ui(){Ye(window,"mouseup",Ui),setTimeout(kn,20)};Oe(window,"mouseup",Ai)}else setTimeout(kn,50)},zi.prototype.readOnlyChanged=function(O){O||this.reset(),this.textarea.disabled=O=="nocursor",this.textarea.readOnly=!!O},zi.prototype.setUneditable=function(){},zi.prototype.needsContentAttribute=!1;function Na(O,F){if(F=F?K(F):{},F.value=O.value,!F.tabindex&&O.tabIndex&&(F.tabindex=O.tabIndex),!F.placeholder&&O.placeholder&&(F.placeholder=O.placeholder),F.autofocus==null){var $=j();F.autofocus=$==O||O.getAttribute("autofocus")!=null&&$==document.body}function re(){O.value=Lt.getValue()}var le;if(O.form&&(Oe(O.form,"submit",re),!F.leaveSubmitMethodAlone)){var De=O.form;le=De.submit;try{var dt=De.submit=function(){re(),De.submit=le,De.submit(),De.submit=dt}}catch(Qt){}}F.finishInit=function(Qt){Qt.save=re,Qt.getTextArea=function(){return O},Qt.toTextArea=function(){Qt.toTextArea=isNaN,re(),O.parentNode.removeChild(Qt.getWrapperElement()),O.style.display="",O.form&&(Ye(O.form,"submit",re),!F.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=le))}},O.style.display="none";var Lt=fr(function(Qt){return O.parentNode.insertBefore(Qt,O.nextSibling)},F);return Lt}function Sa(O){O.off=Ye,O.on=Oe,O.wheelEventPixels=On,O.Doc=$s,O.splitLines=Wr,O.countColumn=U,O.findColumn=be,O.isWordChar=X,O.Pass=J,O.signal=bt,O.Line=Ji,O.changeEnd=Be,O.scrollbarModel=hs,O.Pos=Yt,O.cmpPos=pt,O.modes=ze,O.mimeModes=Rt,O.resolveMode=qt,O.getMode=qr,O.modeExtensions=Fr,O.extendMode=mn,O.copyState=Tt,O.startState=Re,O.innerMode=St,O.commands=Pl,O.keyMap=Sl,O.keyName=uc,O.isModifierKey=ec,O.lookupKey=vl,O.normalizeKeyMap=dl,O.StringStream=Ve,O.SharedTextMarker=Bl,O.TextMarker=ul,O.LineWidget=yl,O.e_preventDefault=$e,O.e_stopPropagation=ge,O.e_stop=wt,O.addClass=V,O.contains=R,O.rmClass=x,O.keyNames=Al}Pe(fr),gr(fr);var Ia="iter insert remove copy getEditor constructor".split(" ");for(var co in $s.prototype)$s.prototype.hasOwnProperty(co)&&W(Ia,co)<0&&(fr.prototype[co]=function(O){return function(){return O.apply(this.doc,arguments)}}($s.prototype[co]));return Vt($s),fr.inputStyles={textarea:zi,contenteditable:Mr},fr.defineMode=function(O){!fr.defaults.mode&&O!="null"&&(fr.defaults.mode=O),sr.apply(this,arguments)},fr.defineMIME=Jt,fr.defineMode("null",function(){return{token:function(F){return F.skipToEnd()}}}),fr.defineMIME("text/plain","null"),fr.defineExtension=function(O,F){fr.prototype[O]=F},fr.defineDocExtension=function(O,F){$s.prototype[O]=F},fr.fromTextArea=Na,Sa(fr),fr.version="5.58.2",fr})},Vy0f:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("iYpf"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},W2nI:function(B,N,i){var y=i("IwbS"),m=i("ProS"),E=i("bYtY"),p=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],f=["lineStyle","opacity"],d=["emphasis","lineStyle","opacity"];function l(c,e){return c.getVisual("opacity")||c.getModel().get(e)}function n(c,e,s){var u=c.getGraphicEl(),h=l(c,e);s!=null&&(h==null&&(h=1),h*=s),u.downplay&&u.downplay(),u.traverse(function(g){g.type!=="group"&&g.setStyle("opacity",h)})}function t(c,e){var s=l(c,e),u=c.getGraphicEl();u.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",s)}),u.highlight&&u.highlight()}var a=y.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,e){var s=e.extent;c.moveTo(e.x1,e.y1),c.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(c.lineTo(e.x2+s,e.y2),c.bezierCurveTo(e.cpx2+s,e.cpy2,e.cpx1+s,e.cpy1,e.x1+s,e.y1)):(c.lineTo(e.x2,e.y2+s),c.bezierCurveTo(e.cpx2,e.cpy2+s,e.cpx1,e.cpy1+s,e.x1,e.y1+s)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),o=m.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,e,s){var u=this,h=c.getGraph(),g=this.group,A=c.layoutInfo,w=A.width,b=A.height,S=c.getData(),_=c.getData("edge"),T=c.get("orient");this._model=c,g.removeAll(),g.attr("position",[A.x,A.y]),h.eachEdge(function(x){var C=new a;C.dataIndex=x.dataIndex,C.seriesIndex=c.seriesIndex,C.dataType="edge";var I=x.getModel("lineStyle"),L=I.get("curveness"),M=x.node1.getLayout(),k=x.node1.getModel(),R=k.get("localX"),j=k.get("localY"),V=x.node2.getLayout(),D=x.node2.getModel(),H=D.get("localX"),P=D.get("localY"),K=x.getLayout(),U,G,W,Z,J,ve,q,ce;C.shape.extent=Math.max(1,K.dy),C.shape.orient=T,T==="vertical"?(U=(R!=null?R*w:M.x)+K.sy,G=(j!=null?j*b:M.y)+M.dy,W=(H!=null?H*w:V.x)+K.ty,Z=P!=null?P*b:V.y,J=U,ve=G*(1-L)+Z*L,q=W,ce=G*L+Z*(1-L)):(U=(R!=null?R*w:M.x)+M.dx,G=(j!=null?j*b:M.y)+K.sy,W=H!=null?H*w:V.x,Z=(P!=null?P*b:V.y)+K.ty,J=U*(1-L)+W*L,ve=G,q=U*L+W*(1-L),ce=Z),C.setShape({x1:U,y1:G,x2:W,y2:Z,cpx1:J,cpy1:ve,cpx2:q,cpy2:ce}),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()),g.add(C),_.setItemGraphicEl(x.dataIndex,C)}),h.eachNode(function(x){var C=x.getLayout(),I=x.getModel(),L=I.get("localX"),M=I.get("localY"),k=I.getModel("label"),R=I.getModel("emphasis.label"),j=new y.Rect({shape:{x:L!=null?L*w:C.x,y:M!=null?M*b:C.y,width:C.dx,height:C.dy},style:I.getModel("itemStyle").getItemStyle()}),V=x.getModel("emphasis.itemStyle").getItemStyle();y.setLabelStyle(j.style,V,k,R,{labelFetcher:c,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),j.setStyle("fill",x.getVisual("color")),y.setHoverStyle(j,V),g.add(j),S.setItemGraphicEl(x.dataIndex,j),j.dataType="node"}),S.eachItemGraphicEl(function(x,C){var I=S.getItemModel(C);I.get("draggable")&&(x.drift=function(L,M){u._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=M,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:S.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:c.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),_.eachItemGraphicEl(function(x,C){var I=_.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:c.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&c.get("animation")&&g.setClipPath(r(g.getBoundingRect(),c,function(){g.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,e,s,u){var h=c.getData(),g=h.graph,A=u.dataIndex,w=h.getItemModel(A),b=u.edgeDataIndex;if(A==null&&b==null)return;var S=g.getNodeByIndex(A),_=g.getEdgeByIndex(b);if(g.eachNode(function(x){n(x,p,.1)}),g.eachEdge(function(x){n(x,f,.1)}),S){t(S,v);var T=w.get("focusNodeAdjacency");T==="outEdges"?E.each(S.outEdges,function(x){if(x.dataIndex<0)return;t(x,d),t(x.node2,v)}):T==="inEdges"?E.each(S.inEdges,function(x){if(x.dataIndex<0)return;t(x,d),t(x.node1,v)}):T==="allEdges"&&E.each(S.edges,function(x){if(x.dataIndex<0)return;t(x,d),x.node1!==S&&t(x.node1,v),x.node2!==S&&t(x.node2,v)})}_&&(t(_,d),t(_.node1,v),t(_.node2,v))},unfocusNodeAdjacency:function(c,e,s,u){var h=c.getGraph();h.eachNode(function(g){n(g,p)}),h.eachEdge(function(g){n(g,f)})}});function r(c,e,s){var u=new y.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return y.initProps(u,{shape:{width:c.width+20}},e,s),u}B.exports=o},W4dC:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.each,v=E.createHashMap,f=i("7DRL"),d=i("TIY9"),l=i("yS9w"),n=i("mFDi"),t={geoJSON:d,svg:l},a={load:function(e,s,u){var h=[],g=v(),A=v(),w,b=c(e);return p(b,function(S){var _=t[S.type].load(e,S,u);p(_.regions,function(x){var C=x.name;s&&s.hasOwnProperty(C)&&(x=x.cloneShallow(C=s[C])),h.push(x),g.set(C,x),A.set(C,x.center)});var T=_.boundingRect;T&&(w?w.union(T):w=T.clone())}),{regions:h,regionsMap:g,nameCoordMap:A,boundingRect:w||new n(0,0,0,0)}},makeGraphic:o("makeGraphic"),removeGraphic:o("removeGraphic")};function o(e){return function(s,u){var h=c(s),g=[];return p(h,function(A){var w=t[A.type][e];w&&g.push(w(s,A,u))}),g}}function r(e){}function c(e){var s=f.retrieveMap(e)||[];return s}B.exports=a},WGYa:function(B,N,i){var y=i("7yuC"),m=y.forceLayout,E=i("HF/U"),p=E.simpleLayout,v=i("lOQZ"),f=v.circularLayout,d=i("OELB"),l=d.linearMap,n=i("QBsz"),t=i("bYtY");function a(o){o.eachSeriesByType("graph",function(r){var c=r.coordinateSystem;if(c&&c.type!=="view")return;if(r.get("layout")==="force"){var e=r.preservedPoints||{},s=r.getGraph(),u=s.data,h=s.edgeData,g=r.getModel("force"),A=g.get("initLayout");r.preservedPoints?u.each(function(k){var R=u.getId(k);u.setItemLayout(k,e[R]||[NaN,NaN])}):!A||A==="none"?p(r):A==="circular"&&f(r,"value");var w=u.getDataExtent("value"),b=h.getDataExtent("value"),S=g.get("repulsion"),_=g.get("edgeLength");t.isArray(S)||(S=[S,S]),t.isArray(_)||(_=[_,_]),_=[_[1],_[0]];var T=u.mapArray("value",function(k,R){var j=u.getItemLayout(R),V=l(k,w,S);return isNaN(V)&&(V=(S[0]+S[1])/2),{w:V,rep:V,fixed:u.getItemModel(R).get("fixed"),p:!j||isNaN(j[0])||isNaN(j[1])?null:j}}),x=h.mapArray("value",function(k,R){var j=s.getEdgeByIndex(R),V=l(k,b,_);isNaN(V)&&(V=(_[0]+_[1])/2);var D=j.getModel();return{n1:T[j.node1.dataIndex],n2:T[j.node2.dataIndex],d:V,curveness:D.get("lineStyle.curveness")||0,ignoreForceLayout:D.get("ignoreForceLayout")}}),c=r.coordinateSystem,C=c.getBoundingRect(),I=m(T,x,{rect:C,gravity:g.get("gravity"),friction:g.get("friction")}),L=I.step;I.step=function(k){for(var R=0,j=T.length;R<j;R++)T[R].fixed&&n.copy(T[R].p,s.getNodeByIndex(R).getLayout());L(function(V,D,H){for(var P=0,K=V.length;P<K;P++)V[P].fixed||s.getNodeByIndex(P).setLayout(V[P].p),e[u.getId(P)]=V[P].p;for(var P=0,K=D.length;P<K;P++){var U=D[P],G=s.getEdgeByIndex(P),W=U.n1.p,Z=U.n2.p,J=G.getLayout();J=J?J.slice():[],J[0]=J[0]||[],J[1]=J[1]||[],n.copy(J[0],W),n.copy(J[1],Z),+U.curveness&&(J[2]=[(W[0]+Z[0])/2-(W[1]-Z[1])*U.curveness,(W[1]+Z[1])/2-(Z[0]-W[0])*U.curveness]),G.setLayout(J)}k&&k(H)})},r.forceLayout=I,r.preservedPoints=e,I.step()}else r.forceLayout=null})}B.exports=a},WKfj:function(B,N,i){"use strict";i.d(N,"d",function(){return m}),i.d(N,"e",function(){return E}),i.d(N,"f",function(){return p}),i.d(N,"c",function(){return v}),i.d(N,"b",function(){return d}),i.d(N,"a",function(){return n});var y=i("KQm4");function m(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}function E(t,a){var o=a.labelInValue,r=a.combobox;if(t===void 0||t===""&&r)return[];var c=Array.isArray(t)?t:[t];return o?c.map(function(e){var s=e.key,u=e.value;return u!==void 0?u:s}):c}function p(t,a){var o=a.optionLabelProp,r=a.labelInValue,c=a.prevValue,e=a.options,s=a.getLabeledValue,u=t;return r&&(u=u.map(function(h){return s(h,{options:e,prevValue:c,labelInValue:r,optionLabelProp:o})})),u}function v(t,a){var o=Object(y.a)(a),r;for(r=t.length-1;r>=0&&t[r].disabled;r-=1);var c=null;return r!==-1&&(c=o[r],o.splice(r,1)),{values:o,removedValue:c}}var f=typeof window!="undefined"&&window.document&&window.document.documentElement,d=f,l=0;function n(){var t;return d?(t=l,l+=1):t="TEST_OR_SSR",t}},"WN+l":function(B,N,i){var y=i("bYtY"),m=i("IwbS");function E(v,f,d,l){var n=d.axis;if(n.scale.isBlank())return;var t=d.getModel("splitArea"),a=t.getModel("areaStyle"),o=a.get("color"),r=l.coordinateSystem.getRect(),c=n.getTicksCoords({tickModel:t,clamp:!0});if(!c.length)return;var e=o.length,s=v.__splitAreaColors,u=y.createHashMap(),h=0;if(s)for(var g=0;g<c.length;g++){var A=s.get(c[g].tickValue);if(A!=null){h=(A+(e-1)*g)%e;break}}var w=n.toGlobalCoord(c[0].coord),b=a.getAreaStyle();o=y.isArray(o)?o:[o];for(var g=1;g<c.length;g++){var S=n.toGlobalCoord(c[g].coord),_,T,x,C;n.isHorizontal()?(_=w,T=r.y,x=S-_,C=r.height,w=_+x):(_=r.x,T=w,x=r.width,C=S-T,w=T+C);var I=c[g-1].tickValue;I!=null&&u.set(I,h),f.add(new m.Rect({anid:I!=null?"area_"+I:null,shape:{x:_,y:T,width:x,height:C},style:y.defaults({fill:o[h]},b),silent:!0})),h=(h+1)%e}v.__splitAreaColors=u}function p(v){v.__splitAreaColors=null}N.rectCoordAxisBuildSplitArea=E,N.rectCoordAxisHandleRemove=p},WXVj:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Bqw1")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="MinusSquareOutlined";var l=p.forwardRef(d);N.default=l},WaYH:function(B,N,i){"use strict";var y=i("rePB"),m=i("Ff2n"),E=i("VTBJ"),p=i("1OyB"),v=i("vuIU"),f=i("JX7q"),d=i("Ji7U"),l=i("LK+K"),n=i("q1tI"),t=i("TSYQ"),a=i.n(t),o=i("sboe"),r=i("OZM5"),c=function(_){var T=_.prefixCls,x=_.level,C=_.isStart,I=_.isEnd;if(!x)return null;for(var L="".concat(T,"-indent-unit"),M=[],k=0;k<x;k+=1){var R;M.push(n.createElement("span",{key:k,className:a()(L,(R={},Object(y.a)(R,"".concat(L,"-start"),C[k+1]),Object(y.a)(R,"".concat(L,"-end"),I[k+1]),Object(y.a)(R,"".concat(L,"-end-first-level"),!k&&I[0]),R))}))}return n.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},M)},e=c,s=i("815F"),u="open",h="close",g="---",A=function(S){Object(d.a)(T,S);var _=Object(l.a)(T);function T(){var x;return Object(p.a)(this,T),x=_.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,M=I.checked,k=x.props.context.onNodeCheck;if(!x.isCheckable()||L)return;C.preventDefault();var R=!M;k(C,Object(s.b)(x.props),R)},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]||{},M=L.children;return!!(M||[]).length},x.isLeaf=function(){var C=x.props,I=C.isLeaf,L=C.loaded,M=x.props.context.loadData,k=x.hasChildren();return I===!1?!1:I||!M&&!k||M&&L&&!k},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,M=C.loaded,k=x.props.context,R=k.loadData,j=k.onNodeLoad;if(L)return;R&&I&&!x.isLeaf()&&(!x.hasChildren()&&!M&&j(Object(s.b)(x.props)))},x.renderSwitcher=function(){var C=x.props,I=C.expanded,L=C.switcherIcon,M=x.props.context,k=M.prefixCls,R=M.switcherIcon,j=L||R;if(x.isLeaf())return n.createElement("span",{className:a()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof j=="function"?j(Object(E.a)(Object(E.a)({},x.props),{},{isLeaf:!0})):j);var V=a()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(I?u:h));return n.createElement("span",{onClick:x.onExpand,className:V},typeof j=="function"?j(Object(E.a)(Object(E.a)({},x.props),{},{isLeaf:!1})):j)},x.renderCheckbox=function(){var C=x.props,I=C.checked,L=C.halfChecked,M=C.disableCheckbox,k=x.props.context.prefixCls,R=x.isDisabled(),j=x.isCheckable();if(!j)return null;var V=typeof j!="boolean"?j:null;return n.createElement("span",{className:a()("".concat(k,"-checkbox"),I&&"".concat(k,"-checkbox-checked"),!I&&L&&"".concat(k,"-checkbox-indeterminate"),(R||M)&&"".concat(k,"-checkbox-disabled")),onClick:x.onCheck},V)},x.renderIcon=function(){var C=x.props.loading,I=x.props.context.prefixCls;return n.createElement("span",{className:a()("".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,M=I.selected,k=I.icon,R=I.loading,j=I.data,V=x.props.context,D=V.prefixCls,H=V.showIcon,P=V.icon,K=V.draggable,U=V.loadData,G=V.titleRender,W=x.isDisabled(),Z="".concat(D,"-node-content-wrapper"),J;if(H){var ve=k||P;J=ve?n.createElement("span",{className:a()("".concat(D,"-iconEle"),"".concat(D,"-icon__customize"))},typeof ve=="function"?ve(x.props):ve):x.renderIcon()}else U&&R&&(J=x.renderIcon());var q;typeof L=="function"?q=L(j):G?q=G(j):q=L;var ce=n.createElement("span",{className:"".concat(D,"-title")},q);return n.createElement("span",{ref:x.setSelectHandle,title:typeof L=="string"?L:"",className:a()("".concat(Z),"".concat(Z,"-").concat(x.getNodeState()||"normal"),!W&&(M||C)&&"".concat(D,"-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,ce)},x}return Object(v.a)(T,[{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,M=I.className,k=I.style,R=I.dragOver,j=I.dragOverGapTop,V=I.dragOverGapBottom,D=I.isLeaf,H=I.isStart,P=I.isEnd,K=I.expanded,U=I.selected,G=I.checked,W=I.halfChecked,Z=I.loading,J=I.domRef,ve=I.active,q=I.onMouseMove,ce=Object(m.a)(I,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),be=this.props.context,Ce=be.prefixCls,Fe=be.filterTreeNode,fe=be.draggable,Ne=be.keyEntities,Q=this.isDisabled(),ae=Object(r.f)(ce),Ue=Ne[L]||{},te=Ue.level,X=P[P.length-1];return n.createElement("div",Object.assign({ref:J,className:a()(M,"".concat(Ce,"-treenode"),(C={},Object(y.a)(C,"".concat(Ce,"-treenode-disabled"),Q),Object(y.a)(C,"".concat(Ce,"-treenode-switcher-").concat(K?"open":"close"),!D),Object(y.a)(C,"".concat(Ce,"-treenode-checkbox-checked"),G),Object(y.a)(C,"".concat(Ce,"-treenode-checkbox-indeterminate"),W),Object(y.a)(C,"".concat(Ce,"-treenode-selected"),U),Object(y.a)(C,"".concat(Ce,"-treenode-loading"),Z),Object(y.a)(C,"".concat(Ce,"-treenode-active"),ve),Object(y.a)(C,"".concat(Ce,"-treenode-leaf-last"),X),Object(y.a)(C,"drag-over",!Q&&R),Object(y.a)(C,"drag-over-gap-top",!Q&&j),Object(y.a)(C,"drag-over-gap-bottom",!Q&&V),Object(y.a)(C,"filter-node",Fe&&Fe(Object(s.b)(this.props))),C)),style:k,onDragEnter:fe?this.onDragEnter:void 0,onDragOver:fe?this.onDragOver:void 0,onDragLeave:fe?this.onDragLeave:void 0,onDrop:fe?this.onDrop:void 0,onDragEnd:fe?this.onDragEnd:void 0,onMouseMove:q},ae),n.createElement(e,{prefixCls:Ce,level:te,isStart:H,isEnd:P}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),T}(n.Component),w=function(_){return n.createElement(o.a.Consumer,null,function(T){return n.createElement(A,Object.assign({},_,{context:T}))})};w.displayName="TreeNode",w.defaultProps={title:g},w.isTreeNode=1;var b=N.a=w},Wqna:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.isObject,v=E.each,f=E.map,d=E.indexOf,l=E.retrieve,n=i("+TT/"),t=n.getLayoutRect,a=i("aX7z"),o=a.createScaleByModel,r=a.ifAxisCrossZero,c=a.niceScaleExtent,e=a.estimateLabelUnionRect,s=i("y+lR"),u=i("7AJT"),h=i("IDmD"),g=i("7hqr"),A=g.getStackedDimension;i("jtI2");function w(k,R,j){return k.getCoordSysModel()===R}function b(k,R,j){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,R,j),this.model=k}var S=b.prototype;S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(k,R){var j=this._axesMap;this._updateScale(k,this.model),v(j.x,function(D){c(D.scale,D.model)}),v(j.y,function(D){c(D.scale,D.model)});var V={};v(j.x,function(D){_(j,"y",D,V)}),v(j.y,function(D){_(j,"x",D,V)}),this.resize(this.model,R)};function _(k,R,j,V){j.getAxesOnZeroOf=function(){return H?[H]:[]};var D=k[R],H,P=j.model,K=P.get("axisLine.onZero"),U=P.get("axisLine.onZeroAxisIndex");if(!K)return;if(U!=null)T(D[U])&&(H=D[U]);else for(var G in D)if(D.hasOwnProperty(G)&&T(D[G])&&!V[W(D[G])]){H=D[G];break}H&&(V[W(H)]=!0);function W(Z){return Z.dim+"_"+Z.index}}function T(k){return k&&k.type!=="category"&&k.type!=="time"&&r(k)}S.resize=function(k,R,j){var V=t(k.getBoxLayoutParams(),{width:R.getWidth(),height:R.getHeight()});this._rect=V;var D=this._axesList;H(),!j&&k.get("containLabel")&&(v(D,function(P){if(!P.model.get("axisLabel.inside")){var K=e(P);if(K){var U=P.isHorizontal()?"height":"width",G=P.model.get("axisLabel.margin");V[U]-=K[U]+G,P.position==="top"?V.y+=K.height+G:P.position==="left"&&(V.x+=K.width+G)}}}),H());function H(){v(D,function(P){var K=P.isHorizontal(),U=K?[0,V.width]:[0,V.height],G=P.inverse?1:0;P.setExtent(U[G],U[1-G]),x(P,K?V.x:V.y)})}},S.getAxis=function(k,R){var j=this._axesMap[k];if(j!=null){if(R==null){for(var V in j)if(j.hasOwnProperty(V))return j[V]}return j[R]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(k,R){if(k!=null&&R!=null){var j="x"+k+"y"+R;return this._coordsMap[j]}p(k)&&(R=k.yAxisIndex,k=k.xAxisIndex);for(var V=0,D=this._coordsList;V<D.length;V++)if(D[V].getAxis("x").index===k||D[V].getAxis("y").index===R)return D[V]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(k,R,j){var V=this._findConvertTarget(k,R);return V.cartesian?V.cartesian.dataToPoint(j):V.axis?V.axis.toGlobalCoord(V.axis.dataToCoord(j)):null},S.convertFromPixel=function(k,R,j){var V=this._findConvertTarget(k,R);return V.cartesian?V.cartesian.pointToData(j):V.axis?V.axis.coordToData(V.axis.toLocalCoord(j)):null},S._findConvertTarget=function(k,R){var j=R.seriesModel,V=R.xAxisModel||j&&j.getReferringComponents("xAxis")[0],D=R.yAxisModel||j&&j.getReferringComponents("yAxis")[0],H=R.gridModel,P=this._coordsList,K,U;if(j)K=j.coordinateSystem,d(P,K)<0&&(K=null);else if(V&&D)K=this.getCartesian(V.componentIndex,D.componentIndex);else if(V)U=this.getAxis("x",V.componentIndex);else if(D)U=this.getAxis("y",D.componentIndex);else if(H){var G=H.coordinateSystem;G===this&&(K=this._coordsList[0])}return{cartesian:K,axis:U}},S.containPoint=function(k){var R=this._coordsList[0];if(R)return R.containPoint(k)},S._initCartesian=function(k,R,j){var V={left:!1,right:!1,top:!1,bottom:!1},D={x:{},y:{}},H={x:0,y:0};if(R.eachComponent("xAxis",P("x"),this),R.eachComponent("yAxis",P("y"),this),!H.x||!H.y){this._axesMap={},this._axesList=[];return}this._axesMap=D,v(D.x,function(K,U){v(D.y,function(G,W){var Z="x"+U+"y"+W,J=new s(Z);J.grid=this,J.model=k,this._coordsMap[Z]=J,this._coordsList.push(J),J.addAxis(K),J.addAxis(G)},this)},this);function P(K){return function(U,G){if(!w(U,k,R))return;var W=U.get("position");K==="x"?W!=="top"&&W!=="bottom"&&(W=V.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=V.left?"right":"left"),V[W]=!0;var Z=new u(K,o(U),[0,0],U.get("type"),W),J=Z.type==="category";Z.onBand=J&&U.get("boundaryGap"),Z.inverse=U.get("inverse"),U.axis=Z,Z.model=U,Z.grid=this,Z.index=G,this._axesList.push(Z),D[K][G]=Z,H[K]++}}},S._updateScale=function(k,R){v(this._axesList,function(V){V.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(V){if(L(V)){var D=I(V,k),H=D[0],P=D[1];if(!w(H,R,k)||!w(P,R,k))return;var K=this.getCartesian(H.componentIndex,P.componentIndex),U=V.getData(),G=K.getAxis("x"),W=K.getAxis("y");U.type==="list"&&(j(U,G,V),j(U,W,V))}},this);function j(V,D,H){v(V.mapDimension(D.dim,!0),function(P){D.scale.unionExtentFromData(V,A(V,P))})}},S.getTooltipAxes=function(k){var R=[],j=[];return v(this.getCartesians(),function(V){var D=k!=null&&k!=="auto"?V.getAxis(k):V.getBaseAxis(),H=V.getOtherAxis(D);d(R,D)<0&&R.push(D),d(j,H)<0&&j.push(H)}),{baseAxes:R,otherAxes:j}};function x(k,R){var j=k.getExtent(),V=j[0]+j[1];k.toGlobalCoord=k.dim==="x"?function(D){return D+R}:function(D){return V-D+R},k.toLocalCoord=k.dim==="x"?function(D){return D-R}:function(D){return V-D+R}}var C=["xAxis","yAxis"];function I(k,R){return f(C,function(j){var V=k.getReferringComponents(j)[0];return V})}function L(k){return k.get("coordinateSystem")==="cartesian2d"}b.create=function(k,R){var j=[];return k.eachComponent("grid",function(V,D){var H=new b(V,k,R);H.name="grid_"+D,H.resize(V,R,!0),V.coordinateSystem=H,j.push(H)}),k.eachSeries(function(V){if(!L(V))return;var D=I(V,k),H=D[0],P=D[1],K=H.getCoordSysModel(),U=K.coordinateSystem;V.coordinateSystem=U.getCartesian(H.componentIndex,P.componentIndex)}),j},b.dimensions=b.prototype.dimensions=s.prototype.dimensions,h.register("cartesian2d",b);var M=b;B.exports=M},"X+im":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("KQeH")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DownloadOutlined";var l=p.forwardRef(d);N.default=l},"X2/X":function(B,N,i){"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(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("hwYd"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},XOKv:function(B,N,i){i("OXB0"),i("SA4+")},Xmg4:function(B,N,i){var y=i("bYtY"),m=i("LPTA"),E=m.devicePixelRatio,p=i("K2GJ"),v=i("3C/r");function f(){return!1}function d(t,a,o){var r=y.createCanvas(),c=a.getWidth(),e=a.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=c+"px",s.height=e+"px",r.setAttribute("data-zr-dom-id",t)),r.width=c*o,r.height=e*o,r}var l=function(a,o,r){var c;r=r||E,typeof a=="string"?c=d(a,o,r):y.isObject(a)&&(c=a,a=c.id),this.id=a,this.dom=c;var e=c.style;e&&(c.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};l.prototype={constructor:l,__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 a=this.dpr;this.domBack=d("back-"+this.id,this.painter,a),this.ctxBack=this.domBack.getContext("2d"),a!==1&&this.ctxBack.scale(a,a)},resize:function(a,o){var r=this.dpr,c=this.dom,e=c.style,s=this.domBack;e&&(e.width=a+"px",e.height=o+"px"),c.width=a*r,c.height=o*r,s&&(s.width=a*r,s.height=o*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(a,o){var r=this.dom,c=this.ctx,e=r.width,s=r.height,o=o||this.clearColor,u=this.motionBlur&&!a,h=this.lastFrameAlpha,g=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,e/g,s/g)),c.clearRect(0,0,e,s),o&&o!=="transparent"){var A;o.colorStops?(A=o.__canvasGradient||p.getGradient(c,o,{x:0,y:0,width:e,height:s}),o.__canvasGradient=A):o.image&&(A=v.prototype.getCanvasPattern.call(o,c)),c.save(),c.fillStyle=A||o,c.fillRect(0,0,e,s),c.restore()}if(u){var w=this.domBack;c.save(),c.globalAlpha=h,c.drawImage(w,0,0,e,s),c.restore()}}};var n=l;B.exports=n},Xnb7:function(B,N,i){var y=i("1RvN"),m=new y(50);function E(d){if(typeof d=="string"){var l=m.get(d);return l&&l.image}else return d}function p(d,l,n,t,a){if(d)if(typeof d=="string"){if(l&&l.__zrImageSrc===d||!n)return l;var o=m.get(d),r={hostEl:n,cb:t,cbPayload:a};return o?(l=o.image,!f(l)&&o.pending.push(r)):(l=new Image,l.onload=l.onerror=v,m.put(d,l.__cachedImgObj={image:l,pending:[r]}),l.src=l.__zrImageSrc=d),l}else return d;else return l}function v(){var d=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var l=0;l<d.pending.length;l++){var n=d.pending[l],t=n.cb;t&&t(this,n.cbPayload),n.hostEl.dirty()}d.pending.length=0}function f(d){return d&&d.width&&d.height}N.findExistImage=E,N.createOrUpdateImage=p,N.isImageReady=f},XpcN:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("oVpE"),f=v.createSymbol,d=i("IwbS"),l=i("eRkO"),n=l.makeBackground,t=i("+TT/"),a=p.curry,o=p.each,r=d.Group,c=E.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(g,A,w){var b=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!g.get("show",!0))return;var S=g.get("align"),_=g.get("orient");(!S||S==="auto")&&(S=g.get("left")==="right"&&_==="vertical"?"right":"left");var T=g.get("selector",!0),x=g.get("selectorPosition",!0);T&&(!x||x==="auto")&&(x=_==="horizontal"?"end":"start"),this.renderInner(S,g,A,w,T,_,x);var C=g.getBoxLayoutParams(),I={width:w.getWidth(),height:w.getHeight()},L=g.get("padding"),M=t.getLayoutRect(C,I,L),k=this.layoutInner(g,S,M,b,T,x),R=t.getLayoutRect(p.defaults({width:k.width,height:k.height},C),I,L);this.group.attr("position",[R.x-k.x,R.y-k.y]),this.group.add(this._backgroundEl=n(k,g))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(g,A,w,b,S,_,T){var x=this.getContentGroup(),C=p.createHashMap(),I=A.get("selectedMode"),L=[];w.eachRawSeries(function(M){!M.get("legendHoverLink")&&L.push(M.id)}),o(A.getData(),function(M,k){var R=M.get("name");if(!this.newlineDisabled&&(R===""||R===`
`)){x.add(new r({newline:!0}));return}var j=w.getSeriesByName(R)[0];if(C.get(R))return;if(j){var V=j.getData(),D=V.getVisual("color"),H=V.getVisual("borderColor");typeof D=="function"&&(D=D(j.getDataParams(0))),typeof H=="function"&&(H=H(j.getDataParams(0)));var P=V.getVisual("legendSymbol")||"roundRect",K=V.getVisual("symbol"),U=this._createItem(R,k,M,A,P,K,g,D,H,I);U.on("click",a(s,R,null,b,L)).on("mouseover",a(u,j.name,null,b,L)).on("mouseout",a(h,j.name,null,b,L)),C.set(R,!0)}else w.eachRawSeries(function(G){if(C.get(R))return;if(G.legendVisualProvider){var W=G.legendVisualProvider;if(!W.containName(R))return;var Z=W.indexOfName(R),J=W.getItemVisual(Z,"color"),ve=W.getItemVisual(Z,"borderColor"),q="roundRect",ce=this._createItem(R,k,M,A,q,null,g,J,ve,I);ce.on("click",a(s,null,R,b,L)).on("mouseover",a(u,null,R,b,L)).on("mouseout",a(h,null,R,b,L)),C.set(R,!0)}},this)},this),S&&this._createSelector(S,A,b,_,T)},_createSelector:function(g,A,w,b,S){var _=this.getSelectorGroup();o(g,function(x){T(x)});function T(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"})}});_.add(I);var L=A.getModel("selectorLabel"),M=A.getModel("emphasis.selectorLabel");d.setLabelStyle(I.style,I.hoverStyle={},L,M,{defaultText:x.title,isRectText:!1}),d.setHoverStyle(I)}},_createItem:function(g,A,w,b,S,_,T,x,C,I){var L=b.get("itemWidth"),M=b.get("itemHeight"),k=b.get("inactiveColor"),R=b.get("inactiveBorderColor"),j=b.get("symbolKeepAspect"),V=b.getModel("itemStyle"),D=b.isSelected(g),H=new r,P=w.getModel("textStyle"),K=w.get("icon"),U=w.getModel("tooltip"),G=U.parentModel;S=K||S;var W=f(S,0,0,L,M,D?x:k,j==null?!0:j);if(H.add(e(W,S,V,C,R,D)),!K&&_&&(_!==S||_==="none")){var Z=M*.8;_==="none"&&(_="circle");var J=f(_,(L-Z)/2,(M-Z)/2,Z,Z,D?x:k,j==null?!0:j);H.add(e(J,_,V,C,R,D))}var ve=T==="left"?L+5:-5,q=T,ce=b.get("formatter"),be=g;typeof ce=="string"&&ce?be=ce.replace("{name}",g!=null?g:""):typeof ce=="function"&&(be=ce(g)),H.add(new d.Text({style:d.setTextStyle({},P,{text:be,x:ve,y:M/2,textFill:D?P.getTextColor():k,textAlign:q,textVerticalAlign:"middle"})}));var Ce=new d.Rect({shape:H.getBoundingRect(),invisible:!0,tooltip:U.get("show")?p.extend({content:g,formatter:G.get("formatter",!0)||function(){return g},formatterParams:{componentType:"legend",legendIndex:b.componentIndex,name:g,$vars:["name"]}},U.option):null});return H.add(Ce),H.eachChild(function(Fe){Fe.silent=!0}),Ce.silent=!I,this.getContentGroup().add(H),d.setHoverStyle(H),H.__legendDataIndex=A,H},layoutInner:function(g,A,w,b,S,_){var T=this.getContentGroup(),x=this.getSelectorGroup();t.box(g.get("orient"),T,g.get("itemGap"),w.width,w.height);var C=T.getBoundingRect(),I=[-C.x,-C.y];if(S){t.box("horizontal",x,g.get("selectorItemGap",!0));var L=x.getBoundingRect(),M=[-L.x,-L.y],k=g.get("selectorButtonGap",!0),R=g.getOrient().index,j=R===0?"width":"height",V=R===0?"height":"width",D=R===0?"y":"x";_==="end"?M[R]+=C[j]+k:I[R]+=L[j]+k,M[1-R]+=C[V]/2-L[V]/2,x.attr("position",M),T.attr("position",I);var H={x:0,y:0};return H[j]=C[j]+k+L[j],H[V]=Math.max(C[V],L[V]),H[D]=Math.min(0,L[D]+M[1-R]),H}else return T.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(g,A,w,b,S,_){var T;return A!=="line"&&A.indexOf("empty")<0?(T=w.getItemStyle(),g.style.stroke=b,_||(T.stroke=S)):T=w.getItemStyle(["borderWidth","borderColor"]),g.setStyle(T)}function s(g,A,w,b){h(g,A,w,b),w.dispatchAction({type:"legendToggleSelect",name:g!=null?g:A}),u(g,A,w,b)}function u(g,A,w,b){var S=w.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||w.dispatchAction({type:"highlight",seriesName:g,name:A,excludeSeriesId:b})}function h(g,A,w,b){var S=w.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||w.dispatchAction({type:"downplay",seriesName:g,name:A,excludeSeriesId:b})}B.exports=c},XuBP:function(B,N,i){"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(B,N,i){var y=i("bYtY"),m=i("Qe9p"),E=i("OELB"),p=E.linearMap,v=y.each,f=y.isObject,d=-1,l=function(_){var T=_.mappingMethod,x=_.type,C=this.option=y.clone(_);this.type=x,this.mappingMethod=T,this._normalizeData=w[T];var I=n[x];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[T],T==="piecewise"?(o(C),t(C)):T==="category"?C.categories?a(C):o(C,!0):(y.assert(T!=="linear"||C.dataExtent),o(C))};l.prototype={constructor:l,mapValueToVisual:function(_){var T=this._normalizeData(_);return this._doMap(T,_)},getNormalizer:function(){return y.bind(this._normalizeData,this)}};var n=l.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var _=this.option;return y.bind(_.mappingMethod==="category"?function(T,x){return!x&&(T=this._normalizeData(T)),s.call(this,T)}:function(T,x,C){var I=!!C;return!x&&(T=this._normalizeData(T)),C=m.fastLerp(T,_.parsedVisual,C),I?C:m.stringify(C,"rgba")},this)},_doMap:{linear:function(_){return m.stringify(m.fastLerp(_,this.option.parsedVisual),"rgba")},category:s,piecewise:function(_,T){var x=g.call(this,T);return x==null&&(x=m.stringify(m.fastLerp(_,this.option.parsedVisual),"rgba")),x},fixed:u}},colorHue:r(function(_,T){return m.modifyHSL(_,T)}),colorSaturation:r(function(_,T){return m.modifyHSL(_,null,T)}),colorLightness:r(function(_,T){return m.modifyHSL(_,null,null,T)}),colorAlpha:r(function(_,T){return m.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(_);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:c,category:s,piecewise:function(_,T){var x=g.call(this,T);return x==null&&(x=c.call(this,_)),x},fixed:u}},symbolSize:{applyVisual:e("symbolSize"),_doMap:h([0,1])}};function t(_){var T=_.pieceList;_.hasSpecialVisual=!1,y.each(T,function(x,C){x.originIndex=C,x.visual!=null&&(_.hasSpecialVisual=!0)})}function a(_){var T=_.categories,x=_.visual,C=_.categoryMap={};if(v(T,function(M,k){C[M]=k}),!y.isArray(x)){var I=[];y.isObject(x)?v(x,function(M,k){var R=C[k];I[R!=null?R:d]=M}):I[d]=x,x=A(_,I)}for(var L=T.length-1;L>=0;L--)x[L]==null&&(delete C[T[L]],T.pop())}function o(_,T){var x=_.visual,C=[];y.isObject(x)?v(x,function(L){C.push(L)}):x!=null&&C.push(x);var I={color:1,symbol:1};!T&&C.length===1&&!I.hasOwnProperty(_.type)&&(C[1]=C[0]),A(_,C)}function r(_){return{applyVisual:function(T,x,C){T=this.mapValueToVisual(T),C("color",_(x("color"),T))},_doMap:h([0,1])}}function c(_){var T=this.option.visual;return T[Math.round(p(_,[0,1],[0,T.length-1],!0))]||{}}function e(_){return function(T,x,C){C(_,this.mapValueToVisual(T))}}function s(_){var T=this.option.visual;return T[this.option.loop&&_!==d?_%T.length:_]}function u(){return this.option.visual[0]}function h(_){return{linear:function(T){return p(T,_,this.option.visual,!0)},category:s,piecewise:function(T,x){var C=g.call(this,x);return C==null&&(C=p(T,_,this.option.visual,!0)),C},fixed:u}}function g(_){var T=this.option,x=T.pieceList;if(T.hasSpecialVisual){var C=l.findPieceIndex(_,x),I=x[C];if(I&&I.visual)return I.visual[this.type]}}function A(_,T){return _.visual=T,_.type==="color"&&(_.parsedVisual=y.map(T,function(x){return m.parse(x)})),T}var w={linear:function(_){return p(_,this.option.dataExtent,[0,1],!0)},piecewise:function(_){var T=this.option.pieceList,x=l.findPieceIndex(_,T,!0);if(x!=null)return p(x,[0,T.length-1],[0,1],!0)},category:function(_){var T=this.option.categories?this.option.categoryMap[_]:_;return T==null?d:T},fixed:y.noop};l.listVisualTypes=function(){var _=[];return y.each(n,function(T,x){_.push(x)}),_},l.addVisualHandler=function(_,T){n[_]=T},l.isValidType=function(_){return n.hasOwnProperty(_)},l.eachVisual=function(_,T,x){y.isObject(_)?y.each(_,T,x):T.call(x,_)},l.mapVisual=function(_,T,x){var C,I=y.isArray(_)?[]:y.isObject(_)?{}:(C=!0,null);return l.eachVisual(_,function(L,M){var k=T.call(x,L,M);C?I=k:I[M]=k}),I},l.retrieveVisuals=function(_){var T={},x;return _&&v(n,function(C,I){_.hasOwnProperty(I)&&(T[I]=_[I],x=!0)}),x?T:null},l.prepareVisualTypes=function(_){if(f(_)){var T=[];v(_,function(x,C){T.push(C)}),_=T}else if(y.isArray(_))_=_.slice();else return[];return _.sort(function(x,C){return C==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),_},l.dependsOn=function(_,T){return T==="color"?!!(_&&_.indexOf(T)===0):_===T},l.findPieceIndex=function(_,T,x){for(var C,I=Infinity,L=0,M=T.length;L<M;L++){var k=T[L].value;if(k!=null){if(k===_||typeof k=="string"&&k===_+"")return L;x&&D(k,L)}}for(var L=0,M=T.length;L<M;L++){var R=T[L],j=R.interval,V=R.close;if(j){if(j[0]===-Infinity){if(b(V[1],_,j[1]))return L}else if(j[1]===Infinity){if(b(V[0],j[0],_))return L}else if(b(V[0],j[0],_)&&b(V[1],_,j[1]))return L;x&&D(j[0],L),x&&D(j[1],L)}}if(x)return _===Infinity?T.length-1:_===-Infinity?0:C;function D(H,P){var K=Math.abs(H-_);K<I&&(I=K,C=P)}};function b(_,T,x){return _?T<=x:T<x}var S=l;B.exports=S},XzQk:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("KpQ+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},Y1PL:function(B,N,i){"use strict";i.r(N),i.d(N,"ResizableTextArea",function(){return I});var y=i("wx14"),m=i("1OyB"),E=i("vuIU"),p=i("Ji7U"),v=i("LK+K"),f=i("q1tI"),d=i("VTBJ"),l=i("rePB"),n=i("m+aA"),t=i("Zm9Q"),a=i("Kwbf"),o=i("c+Xe"),r=i("bdgK"),c="rc-observer-key",e=function(k){Object(p.a)(j,k);var R=Object(v.a)(j);function j(){var V;Object(m.a)(this,j);for(var D=arguments.length,H=new Array(D),P=0;P<D;P++)H[P]=arguments[P];return V=R.call.apply(R,[this].concat(H)),V.resizeObserver=null,V.childNode=null,V.currentElement=null,V.state={width:0,height:0,offsetHeight:0,offsetWidth:0},V.onResize=function(K){var U=V.props.onResize,G=K[0].target,W=G.getBoundingClientRect(),Z=W.width,J=W.height,ve=G.offsetWidth,q=G.offsetHeight,ce=Math.floor(Z),be=Math.floor(J);if(V.state.width!==ce||V.state.height!==be||V.state.offsetWidth!==ve||V.state.offsetHeight!==q){var Ce={width:ce,height:be,offsetWidth:ve,offsetHeight:q};if(V.setState(Ce),U){var Fe=ve===Math.round(Z)?Z:ve,fe=q===Math.round(J)?J:q;Promise.resolve().then(function(){U(Object(d.a)(Object(d.a)({},Ce),{},{offsetWidth:Fe,offsetHeight:fe}),G)})}}},V.setChildNode=function(K){V.childNode=K},V}return Object(E.a)(j,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var D=this.props.disabled;if(D){this.destroyObserver();return}var H=Object(n.a)(this.childNode||this),P=H!==this.currentElement;P&&(this.destroyObserver(),this.currentElement=H),!this.resizeObserver&&H&&(this.resizeObserver=new r.default(this.onResize),this.resizeObserver.observe(H))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var D=this.props.children,H=Object(t.a)(D);if(H.length>1)Object(a.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(H.length===0)return Object(a.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var P=H[0];if(f.isValidElement(P)&&Object(o.c)(P)){var K=P.ref;H[0]=f.cloneElement(P,{ref:Object(o.a)(K,this.setChildNode)})}return H.length===1?H[0]:H.map(function(U,G){return!f.isValidElement(U)||"key"in U&&U.key!==null?U:f.cloneElement(U,{key:"".concat(c,"-").concat(G)})})}}]),j}(f.Component);e.displayName="ResizeObserver";var s=e,u=i("bT9E"),h=i("TSYQ"),g=i.n(h),A=`
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
`,w=["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"],b={},S;function _(k){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,j=k.getAttribute("id")||k.getAttribute("data-reactid")||k.getAttribute("name");if(R&&b[j])return b[j];var V=window.getComputedStyle(k),D=V.getPropertyValue("box-sizing")||V.getPropertyValue("-moz-box-sizing")||V.getPropertyValue("-webkit-box-sizing"),H=parseFloat(V.getPropertyValue("padding-bottom"))+parseFloat(V.getPropertyValue("padding-top")),P=parseFloat(V.getPropertyValue("border-bottom-width"))+parseFloat(V.getPropertyValue("border-top-width")),K=w.map(function(G){return"".concat(G,":").concat(V.getPropertyValue(G))}).join(";"),U={sizingStyle:K,paddingSize:H,borderSize:P,boxSizing:D};return R&&j&&(b[j]=U),U}function T(k){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;S||(S=document.createElement("textarea"),S.setAttribute("tab-index","-1"),S.setAttribute("aria-hidden","true"),document.body.appendChild(S)),k.getAttribute("wrap")?S.setAttribute("wrap",k.getAttribute("wrap")):S.removeAttribute("wrap");var D=_(k,R),H=D.paddingSize,P=D.borderSize,K=D.boxSizing,U=D.sizingStyle;S.setAttribute("style","".concat(U,";").concat(A)),S.value=k.value||k.placeholder||"";var G=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,Z=S.scrollHeight,J;if(K==="border-box"?Z+=P:K==="content-box"&&(Z-=H),j!==null||V!==null){S.value=" ";var ve=S.scrollHeight-H;j!==null&&(G=ve*j,K==="border-box"&&(G=G+H+P),Z=Math.max(G,Z)),V!==null&&(W=ve*V,K==="border-box"&&(W=W+H+P),J=Z>W?"":"hidden",Z=Math.min(W,Z))}return{height:Z,minHeight:G,maxHeight:W,overflowY:J,resize:"none"}}var x;(function(k){k[k.NONE=0]="NONE",k[k.RESIZING=1]="RESIZING",k[k.RESIZED=2]="RESIZED"})(x||(x={}));var C=function(k){Object(p.a)(j,k);var R=Object(v.a)(j);function j(V){var D;return Object(m.a)(this,j),D=R.call(this,V),D.nextFrameActionId=void 0,D.resizeFrameId=void 0,D.textArea=void 0,D.saveTextArea=function(H){D.textArea=H},D.handleResize=function(H){var P=D.state.resizeStatus,K=D.props,U=K.autoSize,G=K.onResize;if(P!==x.NONE)return;typeof G=="function"&&G(H),U&&D.resizeOnNextFrame()},D.resizeOnNextFrame=function(){cancelAnimationFrame(D.nextFrameActionId),D.nextFrameActionId=requestAnimationFrame(D.resizeTextarea)},D.resizeTextarea=function(){var H=D.props.autoSize;if(!H||!D.textArea)return;var P=H.minRows,K=H.maxRows,U=T(D.textArea,!1,P,K);D.setState({textareaStyles:U,resizeStatus:x.RESIZING},function(){cancelAnimationFrame(D.resizeFrameId),D.resizeFrameId=requestAnimationFrame(function(){D.setState({resizeStatus:x.RESIZED},function(){D.resizeFrameId=requestAnimationFrame(function(){D.setState({resizeStatus:x.NONE}),D.fixFirefoxAutoScroll()})})})})},D.renderTextArea=function(){var H=D.props,P=H.prefixCls,K=P===void 0?"rc-textarea":P,U=H.autoSize,G=H.onResize,W=H.className,Z=H.disabled,J=D.state,ve=J.textareaStyles,q=J.resizeStatus,ce=Object(u.a)(D.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),be=g()(K,W,Object(l.a)({},"".concat(K,"-disabled"),Z));"value"in ce&&(ce.value=ce.value||"");var Ce=Object(d.a)(Object(d.a)(Object(d.a)({},D.props.style),ve),q===x.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return f.createElement(s,{onResize:D.handleResize,disabled:!(U||G)},f.createElement("textarea",Object(y.a)({},ce,{className:be,style:Ce,ref:D.saveTextArea})))},D.state={textareaStyles:{},resizeStatus:x.NONE},D}return Object(E.a)(j,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(D){D.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var D=this.textArea.selectionStart,H=this.textArea.selectionEnd;this.textArea.setSelectionRange(D,H)}}catch(P){}}},{key:"render",value:function(){return this.renderTextArea()}}]),j}(f.Component),I=C,L=function(k){Object(p.a)(j,k);var R=Object(v.a)(j);function j(V){var D;Object(m.a)(this,j),D=R.call(this,V),D.resizableTextArea=void 0,D.focus=function(){D.resizableTextArea.textArea.focus()},D.saveTextArea=function(P){D.resizableTextArea=P},D.handleChange=function(P){var K=D.props.onChange;D.setValue(P.target.value,function(){D.resizableTextArea.resizeTextarea()}),K&&K(P)},D.handleKeyDown=function(P){var K=D.props,U=K.onPressEnter,G=K.onKeyDown;P.keyCode===13&&U&&U(P),G&&G(P)};var H=typeof V.value=="undefined"||V.value===null?V.defaultValue:V.value;return D.state={value:H},D}return Object(E.a)(j,[{key:"setValue",value:function(D,H){"value"in this.props||this.setState({value:D},H)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return f.createElement(I,Object(y.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(D){return"value"in D?{value:D.value}:null}}]),j}(f.Component),M=N.default=L},YH21:function(B,N,i){var y=i("H6uX");N.Dispatcher=y;var m=i("ItGF"),E=i("Ze12"),p=E.isCanvasEl,v=E.transformCoordWithViewport,f=typeof window!="undefined"&&!!window.addEventListener,d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,l=[];function n(h,g,A,w){return A=A||{},w||!m.canvasSupported?t(h,g,A):m.browser.firefox&&g.layerX!=null&&g.layerX!==g.offsetX?(A.zrX=g.layerX,A.zrY=g.layerY):g.offsetX!=null?(A.zrX=g.offsetX,A.zrY=g.offsetY):t(h,g,A),A}function t(h,g,A){if(m.domSupported&&h.getBoundingClientRect){var w=g.clientX,b=g.clientY;if(p(h)){var S=h.getBoundingClientRect();A.zrX=w-S.left,A.zrY=b-S.top;return}else if(v(l,h,w,b)){A.zrX=l[0],A.zrY=l[1];return}}A.zrX=A.zrY=0}function a(h){return h||window.event}function o(h,g,A){if(g=a(g),g.zrX!=null)return g;var w=g.type,b=w&&w.indexOf("touch")>=0;if(!b)n(h,g,g,A),g.zrDelta=g.wheelDelta?g.wheelDelta/120:-(g.detail||0)/3;else{var S=w!=="touchend"?g.targetTouches[0]:g.changedTouches[0];S&&n(h,S,g,A)}var _=g.button;return g.which==null&&_!==void 0&&d.test(g.type)&&(g.which=_&1?1:_&2?3:_&4?2:0),g}function r(h,g,A,w){f?h.addEventListener(g,A,w):h.attachEvent("on"+g,A)}function c(h,g,A,w){f?h.removeEventListener(g,A,w):h.detachEvent("on"+g,A)}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=n,N.getNativeEvent=a,N.normalizeEvent=o,N.addEventListener=r,N.removeEventListener=c,N.stop=e,N.isMiddleOrRightButtonOnMouseUpDown=s,N.notLeftMouse=u},YJ9k:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v),this._listeners=new Map}return E(v,[{key:"addEventListener",value:function(d,l){this._listeners.has(d)||this._listeners.set(d,new Set),this._listeners.get(d).add(l)}},{key:"removeEventListener",value:function(d,l){this._listeners.has(d)&&this._listeners.get(d).delete(l)}},{key:"dispatchEvent",value:function(d){var l=this;return this._listeners.has(d.type)?(this._listeners.get(d.type).forEach(function(n){return n.call(l,d)}),!d.defaultPrevented):!0}}]),v}();N.default=p},YJCA:function(B,N,i){"use strict";i.d(N,"a",function(){return Y}),i.d(N,"b",function(){return Te});var y=i("wx14"),m=i("ODXe"),E=i("vpQ4"),p=i("1OyB"),v=i("vuIU"),f=i("md7G"),d=i("foSv"),l=i("Ji7U"),n=i("JX7q"),t=i("rePB"),a=i("q1tI"),o=i.n(a),r=i("17x9"),c=i.n(r),e=i("i8i4"),s=i.n(e),u=i("QLaP"),h=i.n(u),g=i("KQm4"),A=function(){function Se(){Object(p.a)(this,Se),Object(t.a)(this,"refs",{})}return Object(v.a)(Se,[{key:"add",value:function(de,_e){this.refs[de]||(this.refs[de]=[]),this.refs[de].push(_e)}},{key:"remove",value:function(de,_e){var We=this.getIndex(de,_e);We!==-1&&this.refs[de].splice(We,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var de=this;return this.refs[this.active.collection].find(function(_e){var We=_e.node;return We.sortableInfo.index==de.active.index})}},{key:"getIndex",value:function(de,_e){return this.refs[de].indexOf(_e)}},{key:"getOrderedRefs",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[de].sort(w)}}]),Se}();function w(Se,ie){var de=Se.node.sortableInfo.index,_e=ie.node.sortableInfo.index;return de-_e}function b(Se,ie,de){return Se=Se.slice(),Se.splice(de<0?Se.length+de:de,0,Se.splice(ie,1)[0]),Se}function S(Se,ie){return Object.keys(Se).reduce(function(de,_e){return ie.indexOf(_e)===-1&&(de[_e]=Se[_e]),de},{})}var _={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},T=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Se=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ie=(Array.prototype.slice.call(Se).join("").match(/-(moz|webkit|ms)-/)||Se.OLink===""&&["","o"])[1];switch(ie){case"ms":return"ms";default:return ie&&ie.length?ie[0].toUpperCase()+ie.substr(1):""}}();function x(Se,ie){Object.keys(ie).forEach(function(de){Se.style[de]=ie[de]})}function C(Se,ie){Se.style["".concat(T,"Transform")]=ie==null?"":"translate3d(".concat(ie.x,"px,").concat(ie.y,"px,0)")}function I(Se,ie){Se.style["".concat(T,"TransitionDuration")]=ie==null?"":"".concat(ie,"ms")}function L(Se,ie){for(;Se;){if(ie(Se))return Se;Se=Se.parentNode}return null}function M(Se,ie,de){return Math.max(Se,Math.min(de,ie))}function k(Se){return Se.substr(-2)==="px"?parseFloat(Se):0}function R(Se){var ie=window.getComputedStyle(Se);return{bottom:k(ie.marginBottom),left:k(ie.marginLeft),right:k(ie.marginRight),top:k(ie.marginTop)}}function j(Se,ie){var de=ie.displayName||ie.name;return de?"".concat(Se,"(").concat(de,")"):Se}function V(Se,ie){var de=Se.getBoundingClientRect();return{top:de.top+ie.top,left:de.left+ie.left}}function D(Se){return Se.touches&&Se.touches.length?{x:Se.touches[0].pageX,y:Se.touches[0].pageY}:Se.changedTouches&&Se.changedTouches.length?{x:Se.changedTouches[0].pageX,y:Se.changedTouches[0].pageY}:{x:Se.pageX,y:Se.pageY}}function H(Se){return Se.touches&&Se.touches.length||Se.changedTouches&&Se.changedTouches.length}function P(Se,ie){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Se)return;var _e={left:de.left+Se.offsetLeft,top:de.top+Se.offsetTop};return Se.parentNode===ie?_e:P(Se.parentNode,ie,_e)}function K(Se,ie,de){return Se<de&&Se>ie?Se-1:Se>de&&Se<ie?Se+1:Se}function U(Se){var ie=Se.lockOffset,de=Se.width,_e=Se.height,We=ie,at=ie,tt="px";if(typeof ie=="string"){var Oe=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ie);h()(Oe!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ie),We=parseFloat(ie),at=parseFloat(ie),tt=Oe[1]}return h()(isFinite(We)&&isFinite(at),"lockOffset value should be a finite. Given %s",ie),tt==="%"&&(We=We*de/100,at=at*_e/100),{x:We,y:at}}function G(Se){var ie=Se.height,de=Se.width,_e=Se.lockOffset,We=Array.isArray(_e)?_e:[_e,_e];h()(We.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",_e);var at=Object(m.a)(We,2),tt=at[0],Oe=at[1];return[U({height:ie,lockOffset:tt,width:de}),U({height:ie,lockOffset:Oe,width:de})]}function W(Se){var ie=window.getComputedStyle(Se),de=/(auto|scroll)/,_e=["overflow","overflowX","overflowY"];return _e.find(function(We){return de.test(ie[We])})}function Z(Se){return Se instanceof HTMLElement?W(Se)?Se:Z(Se.parentNode):null}function J(Se){var ie=window.getComputedStyle(Se);return ie.display==="grid"?{x:k(ie.gridColumnGap),y:k(ie.gridRowGap)}:{x:0,y:0}}var ve={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},q={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ce(Se){var ie="input, textarea, select, canvas, [contenteditable]",de=Se.querySelectorAll(ie),_e=Se.cloneNode(!0),We=Object(g.a)(_e.querySelectorAll(ie));return We.forEach(function(at,tt){if(at.type!=="file"&&(at.value=de[tt].value),at.type==="radio"&&at.name&&(at.name="__sortableClone__".concat(at.name)),at.tagName===q.Canvas&&de[tt].width>0&&de[tt].height>0){var Oe=at.getContext("2d");Oe.drawImage(de[tt],0,0)}}),_e}function be(Se){var ie,de,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=ie=function(We){Object(l.a)(at,We);function at(){return Object(p.a)(this,at),Object(f.a)(this,Object(d.a)(at).apply(this,arguments))}return Object(v.a)(at,[{key:"componentDidMount",value:function(){var Oe=Object(e.findDOMNode)(this);Oe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(_e.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=_e.withRef?"wrappedInstance":null;return Object(a.createElement)(Se,Object(y.a)({ref:Oe},this.props))}}]),at}(a.Component),Object(t.a)(ie,"displayName",j("sortableHandle",Se)),de}function Ce(Se){return Se.sortableHandle!=null}var Fe=function(){function Se(ie,de){Object(p.a)(this,Se),this.container=ie,this.onScrollCallback=de}return Object(v.a)(Se,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(de){var _e=this,We=de.translate,at=de.minTranslate,tt=de.maxTranslate,Oe=de.width,yt=de.height,Ye={x:0,y:0},bt={x:1,y:1},Ct={x:10,y:10},It=this.container,Ft=It.scrollTop,Vt=It.scrollLeft,$e=It.scrollHeight,ge=It.scrollWidth,ne=It.clientHeight,wt=It.clientWidth,qe=Ft===0,he=$e-Ft-ne===0,kt=Vt===0,nr=ge-Vt-wt===0;We.y>=tt.y-yt/2&&!he?(Ye.y=1,bt.y=Ct.y*Math.abs((tt.y-yt/2-We.y)/yt)):We.x>=tt.x-Oe/2&&!nr?(Ye.x=1,bt.x=Ct.x*Math.abs((tt.x-Oe/2-We.x)/Oe)):We.y<=at.y+yt/2&&!qe?(Ye.y=-1,bt.y=Ct.y*Math.abs((We.y-yt/2-at.y)/yt)):We.x<=at.x+Oe/2&&!kt&&(Ye.x=-1,bt.x=Ct.x*Math.abs((We.x-Oe/2-at.x)/Oe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ye.x!==0||Ye.y!==0)&&(this.interval=setInterval(function(){_e.isAutoScrolling=!0;var lt={left:bt.x*Ye.x,top:bt.y*Ye.y};_e.container.scrollTop+=lt.top,_e.container.scrollLeft+=lt.left,_e.onScrollCallback(lt)},5))}}]),Se}();function fe(Se){var ie=Se.node;return{height:ie.offsetHeight,width:ie.offsetWidth}}function Ne(Se){var ie=[q.Input,q.Textarea,q.Select,q.Option,q.Button];return ie.indexOf(Se.target.tagName)!==-1?!0:!!L(Se.target,function(de){return de.contentEditable==="true"})}var Q={axis:c.a.oneOf(["x","y","xy"]),contentWindow:c.a.any,disableAutoscroll:c.a.bool,distance:c.a.number,getContainer:c.a.func,getHelperDimensions:c.a.func,helperClass:c.a.string,helperContainer:c.a.oneOfType([c.a.func,typeof HTMLElement=="undefined"?c.a.any:c.a.instanceOf(HTMLElement)]),hideSortableGhost:c.a.bool,keyboardSortingTransitionDuration:c.a.number,lockAxis:c.a.string,lockOffset:c.a.oneOfType([c.a.number,c.a.string,c.a.arrayOf(c.a.oneOfType([c.a.number,c.a.string]))]),lockToContainerEdges:c.a.bool,onSortEnd:c.a.func,onSortMove:c.a.func,onSortOver:c.a.func,onSortStart:c.a.func,pressDelay:c.a.number,pressThreshold:c.a.number,keyCodes:c.a.shape({lift:c.a.arrayOf(c.a.number),drop:c.a.arrayOf(c.a.number),cancel:c.a.arrayOf(c.a.number),up:c.a.arrayOf(c.a.number),down:c.a.arrayOf(c.a.number)}),shouldCancelStart:c.a.func,transitionDuration:c.a.number,updateBeforeSortStart:c.a.func,useDragHandle:c.a.bool,useWindowAsScrollContainer:c.a.bool},ae={lift:[ve.SPACE],drop:[ve.SPACE],cancel:[ve.ESC],up:[ve.UP,ve.LEFT],down:[ve.DOWN,ve.RIGHT]},Ue={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:fe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ae,shouldCancelStart:Ne,transitionDuration:300,useWindowAsScrollContainer:!1},te=Object.keys(Q);function X(Se){h()(!(Se.distance&&Se.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 z(Se,ie){try{var de=Se()}catch(_e){return ie(!0,_e)}return de&&de.then?de.then(ie.bind(null,!1),ie.bind(null,!0)):ie(!1,value)}function Y(Se){var ie,de,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=ie=function(We){Object(l.a)(at,We);function at(tt){var Oe;return Object(p.a)(this,at),Oe=Object(f.a)(this,Object(d.a)(at).call(this,tt)),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"state",{}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleStart",function(yt){var Ye=Oe.props,bt=Ye.distance,Ct=Ye.shouldCancelStart;if(yt.button===2||Ct(yt))return;Oe.touched=!0,Oe.position=D(yt);var It=L(yt.target,function(wt){return wt.sortableInfo!=null});if(It&&It.sortableInfo&&Oe.nodeIsChild(It)&&!Oe.state.sorting){var Ft=Oe.props.useDragHandle,Vt=It.sortableInfo,$e=Vt.index,ge=Vt.collection,ne=Vt.disabled;if(ne)return;if(Ft&&!L(yt.target,Ce))return;Oe.manager.active={collection:ge,index:$e},!H(yt)&&yt.target.tagName===q.Anchor&&yt.preventDefault(),bt||(Oe.props.pressDelay===0?Oe.handlePress(yt):Oe.pressTimer=setTimeout(function(){return Oe.handlePress(yt)},Oe.props.pressDelay))}}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"nodeIsChild",function(yt){return yt.sortableInfo.manager===Oe.manager}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleMove",function(yt){var Ye=Oe.props,bt=Ye.distance,Ct=Ye.pressThreshold;if(!Oe.state.sorting&&Oe.touched&&!Oe._awaitingUpdateBeforeSortStart){var It=D(yt),Ft={x:Oe.position.x-It.x,y:Oe.position.y-It.y},Vt=Math.abs(Ft.x)+Math.abs(Ft.y);Oe.delta=Ft,!bt&&(!Ct||Vt>=Ct)?(clearTimeout(Oe.cancelTimer),Oe.cancelTimer=setTimeout(Oe.cancel,0)):bt&&Vt>=bt&&Oe.manager.isActive()&&Oe.handlePress(yt)}}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleEnd",function(){Oe.touched=!1,Oe.cancel()}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"cancel",function(){var yt=Oe.props.distance,Ye=Oe.state.sorting;Ye||(yt||clearTimeout(Oe.pressTimer),Oe.manager.active=null)}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handlePress",function(yt){try{var Ye=Oe.manager.getActive(),bt=function(){if(Ye){var Ct=function(){var hr=he.sortableInfo.index,Wr=R(he),mt=J(Oe.container),Et=Oe.scrollContainer.getBoundingClientRect(),rt=Vt({index:hr,node:he,collection:kt});if(Oe.node=he,Oe.margin=Wr,Oe.gridGap=mt,Oe.width=rt.width,Oe.height=rt.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=he.getBoundingClientRect(),Oe.containerBoundingRect=Et,Oe.index=hr,Oe.newIndex=hr,Oe.axis={x:Ft.indexOf("x")>=0,y:Ft.indexOf("y")>=0},Oe.offsetEdge=P(he,Oe.container),nr?Oe.initialOffset=D(Object(E.a)({},yt,{pageX:Oe.boundingClientRect.left,pageY:Oe.boundingClientRect.top})):Oe.initialOffset=D(yt),Oe.initialScroll={left:Oe.scrollContainer.scrollLeft,top:Oe.scrollContainer.scrollTop},Oe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Oe.helper=Oe.helperContainer.appendChild(ce(he)),x(Oe.helper,{boxSizing:"border-box",height:"".concat(Oe.height,"px"),left:"".concat(Oe.boundingClientRect.left-Wr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Oe.boundingClientRect.top-Wr.top,"px"),width:"".concat(Oe.width,"px")}),nr&&Oe.helper.focus(),ge&&(Oe.sortableGhost=he,x(he,{opacity:0,visibility:"hidden"})),Oe.minTranslate={},Oe.maxTranslate={},nr){var He=qe?{top:0,left:0,width:Oe.contentWindow.innerWidth,height:Oe.contentWindow.innerHeight}:Oe.containerBoundingRect,ze=He.top,Rt=He.left,sr=He.width,Jt=He.height,qt=ze+Jt,qr=Rt+sr;Oe.axis.x&&(Oe.minTranslate.x=Rt-Oe.boundingClientRect.left,Oe.maxTranslate.x=qr-(Oe.boundingClientRect.left+Oe.width)),Oe.axis.y&&(Oe.minTranslate.y=ze-Oe.boundingClientRect.top,Oe.maxTranslate.y=qt-(Oe.boundingClientRect.top+Oe.height))}else Oe.axis.x&&(Oe.minTranslate.x=(qe?0:Et.left)-Oe.boundingClientRect.left-Oe.width/2,Oe.maxTranslate.x=(qe?Oe.contentWindow.innerWidth:Et.left+Et.width)-Oe.boundingClientRect.left-Oe.width/2),Oe.axis.y&&(Oe.minTranslate.y=(qe?0:Et.top)-Oe.boundingClientRect.top-Oe.height/2,Oe.maxTranslate.y=(qe?Oe.contentWindow.innerHeight:Et.top+Et.height)-Oe.boundingClientRect.top-Oe.height/2);$e&&$e.split(" ").forEach(function(Fr){return Oe.helper.classList.add(Fr)}),Oe.listenerNode=yt.touches?he:Oe.contentWindow,nr?(Oe.listenerNode.addEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("keydown",Oe.handleKeyDown)):(_.move.forEach(function(Fr){return Oe.listenerNode.addEventListener(Fr,Oe.handleSortMove,!1)}),_.end.forEach(function(Fr){return Oe.listenerNode.addEventListener(Fr,Oe.handleSortEnd,!1)})),Oe.setState({sorting:!0,sortingIndex:hr}),wt&&wt({node:he,index:hr,collection:kt,isKeySorting:nr,nodes:Oe.manager.getOrderedRefs(),helper:Oe.helper},yt),nr&&Oe.keyMove(0)},It=Oe.props,Ft=It.axis,Vt=It.getHelperDimensions,$e=It.helperClass,ge=It.hideSortableGhost,ne=It.updateBeforeSortStart,wt=It.onSortStart,qe=It.useWindowAsScrollContainer,he=Ye.node,kt=Ye.collection,nr=Oe.manager.isKeySorting,lt=function(){if(typeof ne=="function"){Oe._awaitingUpdateBeforeSortStart=!0;var Xt=z(function(){var hr=he.sortableInfo.index;return Promise.resolve(ne({collection:kt,index:hr,node:he,isKeySorting:nr},yt)).then(function(){})},function(hr,Wr){if(Oe._awaitingUpdateBeforeSortStart=!1,hr)throw Wr;return Wr});if(Xt&&Xt.then)return Xt.then(function(){})}}();return lt&&lt.then?lt.then(Ct):Ct(lt)}}();return Promise.resolve(bt&&bt.then?bt.then(function(){}):void 0)}catch(Ct){return Promise.reject(Ct)}}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleSortMove",function(yt){var Ye=Oe.props.onSortMove;typeof yt.preventDefault=="function"&&yt.preventDefault(),Oe.updateHelperPosition(yt),Oe.animateNodes(),Oe.autoscroll(),Ye&&Ye(yt)}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleSortEnd",function(yt){var Ye=Oe.props,bt=Ye.hideSortableGhost,Ct=Ye.onSortEnd,It=Oe.manager,Ft=It.active.collection,Vt=It.isKeySorting,$e=Oe.manager.getOrderedRefs();Oe.listenerNode&&(Vt?(Oe.listenerNode.removeEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("keydown",Oe.handleKeyDown)):(_.move.forEach(function(he){return Oe.listenerNode.removeEventListener(he,Oe.handleSortMove)}),_.end.forEach(function(he){return Oe.listenerNode.removeEventListener(he,Oe.handleSortEnd)}))),Oe.helper.parentNode.removeChild(Oe.helper),bt&&Oe.sortableGhost&&x(Oe.sortableGhost,{opacity:"",visibility:""});for(var ge=0,ne=$e.length;ge<ne;ge++){var wt=$e[ge],qe=wt.node;wt.edgeOffset=null,wt.boundingClientRect=null,C(qe,null),I(qe,null),wt.translate=null}Oe.autoScroller.clear(),Oe.manager.active=null,Oe.manager.isKeySorting=!1,Oe.setState({sorting:!1,sortingIndex:null}),typeof Ct=="function"&&Ct({collection:Ft,newIndex:Oe.newIndex,oldIndex:Oe.index,isKeySorting:Vt,nodes:$e},yt),Oe.touched=!1}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"autoscroll",function(){var yt=Oe.props.disableAutoscroll,Ye=Oe.manager.isKeySorting;if(yt){Oe.autoScroller.clear();return}if(Ye){var bt=Object(E.a)({},Oe.translate),Ct=0,It=0;Oe.axis.x&&(bt.x=Math.min(Oe.maxTranslate.x,Math.max(Oe.minTranslate.x,Oe.translate.x)),Ct=Oe.translate.x-bt.x),Oe.axis.y&&(bt.y=Math.min(Oe.maxTranslate.y,Math.max(Oe.minTranslate.y,Oe.translate.y)),It=Oe.translate.y-bt.y),Oe.translate=bt,C(Oe.helper,Oe.translate),Oe.scrollContainer.scrollLeft+=Ct,Oe.scrollContainer.scrollTop+=It;return}Oe.autoScroller.update({height:Oe.height,maxTranslate:Oe.maxTranslate,minTranslate:Oe.minTranslate,translate:Oe.translate,width:Oe.width})}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"onAutoScroll",function(yt){Oe.translate.x+=yt.left,Oe.translate.y+=yt.top,Oe.animateNodes()}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleKeyDown",function(yt){var Ye=yt.keyCode,bt=Oe.props,Ct=bt.shouldCancelStart,It=bt.keyCodes,Ft=It===void 0?{}:It,Vt=Object(E.a)({},ae,Ft);if(Oe.manager.active&&!Oe.manager.isKeySorting||!Oe.manager.active&&(!Vt.lift.includes(Ye)||Ct(yt)||!Oe.isValidSortingTarget(yt)))return;yt.stopPropagation(),yt.preventDefault(),Vt.lift.includes(Ye)&&!Oe.manager.active?Oe.keyLift(yt):Vt.drop.includes(Ye)&&Oe.manager.active?Oe.keyDrop(yt):Vt.cancel.includes(Ye)?(Oe.newIndex=Oe.manager.active.index,Oe.keyDrop(yt)):Vt.up.includes(Ye)?Oe.keyMove(-1):Vt.down.includes(Ye)&&Oe.keyMove(1)}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"keyLift",function(yt){var Ye=yt.target,bt=L(Ye,function(Vt){return Vt.sortableInfo!=null}),Ct=bt.sortableInfo,It=Ct.index,Ft=Ct.collection;Oe.initialFocusedNode=Ye,Oe.manager.isKeySorting=!0,Oe.manager.active={index:It,collection:Ft},Oe.handlePress(yt)}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"keyMove",function(yt){var Ye=Oe.manager.getOrderedRefs(),bt=Ye[Ye.length-1].node.sortableInfo.index,Ct=Oe.newIndex+yt,It=Oe.newIndex;if(Ct<0||Ct>bt)return;Oe.prevIndex=It,Oe.newIndex=Ct;var Ft=K(Oe.newIndex,Oe.prevIndex,Oe.index),Vt=Ye.find(function(nr){var lt=nr.node;return lt.sortableInfo.index===Ft}),$e=Vt.node,ge=Oe.containerScrollDelta,ne=Vt.boundingClientRect||V($e,ge),wt=Vt.translate||{x:0,y:0},qe={top:ne.top+wt.y-ge.top,left:ne.left+wt.x-ge.left},he=It<Ct,kt={x:he&&Oe.axis.x?$e.offsetWidth-Oe.width:0,y:he&&Oe.axis.y?$e.offsetHeight-Oe.height:0};Oe.handleSortMove({pageX:qe.left+kt.x,pageY:qe.top+kt.y,ignoreTransition:yt===0})}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"keyDrop",function(yt){Oe.handleSortEnd(yt),Oe.initialFocusedNode&&Oe.initialFocusedNode.focus()}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"handleKeyEnd",function(yt){Oe.manager.active&&Oe.keyDrop(yt)}),Object(t.a)(Object(n.a)(Object(n.a)(Oe)),"isValidSortingTarget",function(yt){var Ye=Oe.props.useDragHandle,bt=yt.target,Ct=L(bt,function(It){return It.sortableInfo!=null});return Ct&&Ct.sortableInfo&&!Ct.sortableInfo.disabled&&(Ye?Ce(bt):bt.sortableInfo)}),X(tt),Oe.manager=new A,Oe.events={end:Oe.handleEnd,move:Oe.handleMove,start:Oe.handleStart},Oe}return Object(v.a)(at,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Oe=this,yt=this.props.useWindowAsScrollContainer,Ye=this.getContainer();Promise.resolve(Ye).then(function(bt){Oe.container=bt,Oe.document=Oe.container.ownerDocument||document;var Ct=Oe.props.contentWindow||Oe.document.defaultView||window;Oe.contentWindow=typeof Ct=="function"?Ct():Ct,Oe.scrollContainer=yt?Oe.document.scrollingElement||Oe.document.documentElement:Z(Oe.container)||Oe.container,Oe.autoScroller=new Fe(Oe.scrollContainer,Oe.onAutoScroll),Object.keys(Oe.events).forEach(function(It){return _[It].forEach(function(Ft){return Oe.container.addEventListener(Ft,Oe.events[It],!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(yt){return _[yt].forEach(function(Ye){return Oe.container.removeEventListener(Ye,Oe.events[yt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Oe){var yt=this.props,Ye=yt.lockAxis,bt=yt.lockOffset,Ct=yt.lockToContainerEdges,It=yt.transitionDuration,Ft=yt.keyboardSortingTransitionDuration,Vt=Ft===void 0?It:Ft,$e=this.manager.isKeySorting,ge=Oe.ignoreTransition,ne=D(Oe),wt={x:ne.x-this.initialOffset.x,y:ne.y-this.initialOffset.y};if(wt.y-=window.pageYOffset-this.initialWindowScroll.top,wt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=wt,Ct){var qe=G({height:this.height,lockOffset:bt,width:this.width}),he=Object(m.a)(qe,2),kt=he[0],nr=he[1],lt={x:this.width/2-kt.x,y:this.height/2-kt.y},Xt={x:this.width/2-nr.x,y:this.height/2-nr.y};wt.x=M(this.minTranslate.x+lt.x,this.maxTranslate.x-Xt.x,wt.x),wt.y=M(this.minTranslate.y+lt.y,this.maxTranslate.y-Xt.y,wt.y)}Ye==="x"?wt.y=0:Ye==="y"&&(wt.x=0),$e&&Vt&&!ge&&I(this.helper,Vt),C(this.helper,wt)}},{key:"animateNodes",value:function(){var Oe=this.props,yt=Oe.transitionDuration,Ye=Oe.hideSortableGhost,bt=Oe.onSortOver,Ct=this.containerScrollDelta,It=this.windowScrollDelta,Ft=this.manager.getOrderedRefs(),Vt={left:this.offsetEdge.left+this.translate.x+Ct.left,top:this.offsetEdge.top+this.translate.y+Ct.top},$e=this.manager.isKeySorting,ge=this.newIndex;this.newIndex=null;for(var ne=0,wt=Ft.length;ne<wt;ne++){var qe=Ft[ne].node,he=qe.sortableInfo.index,kt=qe.offsetWidth,nr=qe.offsetHeight,lt={height:this.height>nr?nr/2:this.height/2,width:this.width>kt?kt/2:this.width/2},Xt=$e&&he>this.index&&he<=ge,hr=$e&&he<this.index&&he>=ge,Wr={x:0,y:0},mt=Ft[ne].edgeOffset;mt||(mt=P(qe,this.container),Ft[ne].edgeOffset=mt,$e&&(Ft[ne].boundingClientRect=V(qe,Ct)));var Et=ne<Ft.length-1&&Ft[ne+1],rt=ne>0&&Ft[ne-1];if(Et&&!Et.edgeOffset&&(Et.edgeOffset=P(Et.node,this.container),$e&&(Et.boundingClientRect=V(Et.node,Ct))),he===this.index){Ye&&(this.sortableGhost=qe,x(qe,{opacity:0,visibility:"hidden"}));continue}yt&&I(qe,yt),this.axis.x?this.axis.y?hr||he<this.index&&(Vt.left+It.left-lt.width<=mt.left&&Vt.top+It.top<=mt.top+lt.height||Vt.top+It.top+lt.height<=mt.top)?(Wr.x=this.width+this.marginOffset.x,mt.left+Wr.x>this.containerBoundingRect.width-lt.width&&(Et&&(Wr.x=Et.edgeOffset.left-mt.left,Wr.y=Et.edgeOffset.top-mt.top)),this.newIndex===null&&(this.newIndex=he)):(Xt||he>this.index&&(Vt.left+It.left+lt.width>=mt.left&&Vt.top+It.top+lt.height>=mt.top||Vt.top+It.top+lt.height>=mt.top+nr))&&(Wr.x=-(this.width+this.marginOffset.x),mt.left+Wr.x<this.containerBoundingRect.left+lt.width&&(rt&&(Wr.x=rt.edgeOffset.left-mt.left,Wr.y=rt.edgeOffset.top-mt.top)),this.newIndex=he):Xt||he>this.index&&Vt.left+It.left+lt.width>=mt.left?(Wr.x=-(this.width+this.marginOffset.x),this.newIndex=he):(hr||he<this.index&&Vt.left+It.left<=mt.left+lt.width)&&(Wr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=he)):this.axis.y&&(Xt||he>this.index&&Vt.top+It.top+lt.height>=mt.top?(Wr.y=-(this.height+this.marginOffset.y),this.newIndex=he):(hr||he<this.index&&Vt.top+It.top<=mt.top+lt.height)&&(Wr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=he))),C(qe,Wr),Ft[ne].translate=Wr}this.newIndex==null&&(this.newIndex=this.index),$e&&(this.newIndex=ge);var He=$e?this.prevIndex:ge;bt&&this.newIndex!==He&&bt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:He,isKeySorting:$e,nodes:Ft,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return h()(_e.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(_e.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Oe=_e.withRef?"wrappedInstance":null;return Object(a.createElement)(Se,Object(y.a)({ref:Oe},S(this.props,te)))}},{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}}}]),at}(a.Component),Object(t.a)(ie,"displayName",j("sortableList",Se)),Object(t.a)(ie,"defaultProps",Ue),Object(t.a)(ie,"propTypes",Q),Object(t.a)(ie,"childContextTypes",{manager:c.a.object.isRequired}),de}var pe={index:c.a.number.isRequired,collection:c.a.oneOfType([c.a.number,c.a.string]),disabled:c.a.bool},se=Object.keys(pe);function Te(Se){var ie,de,_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=ie=function(We){Object(l.a)(at,We);function at(){return Object(p.a)(this,at),Object(f.a)(this,Object(d.a)(at).apply(this,arguments))}return Object(v.a)(at,[{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,yt=Oe.collection,Ye=Oe.disabled,bt=Oe.index,Ct=Object(e.findDOMNode)(this);Ct.sortableInfo={collection:yt,disabled:Ye,index:bt,manager:this.context.manager},this.node=Ct,this.ref={node:Ct},this.context.manager.add(yt,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()(_e.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=_e.withRef?"wrappedInstance":null;return Object(a.createElement)(Se,Object(y.a)({ref:Oe},S(this.props,se)))}}]),at}(a.Component),Object(t.a)(ie,"displayName",j("sortableElement",Se)),Object(t.a)(ie,"contextTypes",{manager:c.a.object.isRequired}),Object(t.a)(ie,"propTypes",pe),Object(t.a)(ie,"defaultProps",{collection:0}),de}},YNAk:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("QyFq")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretDownFilled";var l=p.forwardRef(d);N.default=l},YNf1:function(B,N,i){var y=i("IwbS"),m=i("6Ic6"),E=.3,p=m.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(o,r,c,e){var s=this._dataGroup,u=o.getData(),h=this._data,g=o.coordinateSystem,A=g.dimensions,w=l(o);u.diff(h).add(b).update(S).remove(_).execute();function b(x){var C=d(u,s,x,A,g);n(C,u,x,w)}function S(x,C){var I=h.getItemGraphicEl(C),L=f(u,x,A,g);u.setItemGraphicEl(x,I);var M=e&&e.animation===!1?null:o;y.updateProps(I,{shape:{points:L}},M,x),n(I,u,x,w)}function _(x){var C=h.getItemGraphicEl(x);s.remove(C)}if(!this._initialized){this._initialized=!0;var T=v(g,o,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(T)}this._data=u},incrementalPrepareRender:function(o,r,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(o,r,c){for(var e=r.getData(),s=r.coordinateSystem,u=s.dimensions,h=l(r),g=o.start;g<o.end;g++){var A=d(e,this._dataGroup,g,u,s);A.incremental=!0,n(A,e,g,h)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(o,r,c){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,c),u}function f(o,r,c,e){for(var s=[],u=0;u<c.length;u++){var h=c[u],g=o.get(o.mapDimension(h),r);t(g,e.getAxis(h).type)||s.push(e.dataToPoint(g,h))}return s}function d(o,r,c,e,s){var u=f(o,c,e,s),h=new y.Polyline({shape:{points:u},silent:!0,z2:10});return r.add(h),o.setItemGraphicEl(c,h),h}function l(o){var r=o.get("smooth",!0);return r===!0&&(r=E),{lineStyle:o.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:E}}function n(o,r,c,e){var s=e.lineStyle;if(r.hasItemOption){var u=r.getItemModel(c).getModel("lineStyle");s=u.getLineStyle()}o.useStyle(s);var h=o.style;h.fill=null,h.stroke=r.getItemVisual(c,"color"),h.opacity=r.getItemVisual(c,"opacity"),e.smooth&&(o.shape.smooth=e.smooth)}function t(o,r){return r==="category"?o==null:o==null||isNaN(o)}var a=p;B.exports=a},YOMW:function(B,N,i){var y=i("bYtY"),m={get:function(v,f,d){var l=y.clone((E[v]||{})[f]);return d&&y.isArray(l)?l[l.length-1]:l}},E={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]}},p=m;B.exports=p},YXkt:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("Qxkt"),v=i("gPAo"),f=i("7G+c"),d=i("KxfA"),l=d.defaultDimValueGetters,n=d.DefaultDataProvider,t=i("L0Ub"),a=t.summarizeDimensions,o=i("Vi4m"),r=E.isObject,c="undefined",e=-1,s="e\0\0",u={float:typeof Float64Array===c?Array:Float64Array,int:typeof Int32Array===c?Array:Int32Array,ordinal:Array,number:Array,time:Array},h=typeof Uint32Array===c?Array:Uint32Array,g=typeof Int32Array===c?Array:Int32Array,A=typeof Uint16Array===c?Array:Uint16Array;function w(W){return W._rawCount>65535?h:A}function b(W){var Z=W.constructor;return Z===Array?W.slice():new Z(W)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function T(W,Z){E.each(S.concat(Z.__wrappedMethods||[]),function(J){Z.hasOwnProperty(J)&&(W[J]=Z[J])}),W.__wrappedMethods=Z.__wrappedMethods,E.each(_,function(J){W[J]=E.clone(Z[J])}),W._calculationInfo=E.extend(Z._calculationInfo)}var x=function(W,Z){W=W||["x","y"];for(var J={},ve=[],q={},ce=0;ce<W.length;ce++){var be=W[ce];E.isString(be)?be=new o({name:be}):be instanceof o||(be=new o(be));var Ce=be.name;be.type=be.type||"float",be.coordDim||(be.coordDim=Ce,be.coordDimIndex=0),be.otherDims=be.otherDims||{},ve.push(Ce),J[Ce]=be,be.index=ce,be.createInvertedIndices&&(q[Ce]=[])}this.dimensions=ve,this._dimensionInfos=J,this.hostModel=Z,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=a(this),this._invertedIndicesMap=q,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,Z){var J=this._dimensionsSummary;if(Z==null)return J.encodeFirstDimNotExtra[W];var ve=J.encode[W];return Z===!0?(ve||[]).slice():ve&&ve[Z]},C.initData=function(W,Z,J){var ve=f.isInstance(W)||E.isArrayLike(W);ve&&(W=new n(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=Z||[],this._idList=[],this._nameRepeatCount={},J||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=J=J||this.defaultDimValueGetter,this._dimValueGetterArrayRows=l.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(W){var Z=this._rawData,J=this.count();Z.appendData(W);var ve=Z.count();Z.persistent||(ve+=J),this._initDataFromProvider(J,ve)},C.appendValues=function(W,Z){for(var J=this._chunkSize,ve=this._storage,q=this.dimensions,ce=q.length,be=this._rawExtent,Ce=this.count(),Fe=Ce+Math.max(W.length,Z?Z.length:0),fe=this._chunkCount,Ne=0;Ne<ce;Ne++){var Q=q[Ne];be[Q]||(be[Q]=K()),ve[Q]||(ve[Q]=[]),I(ve,this._dimensionInfos[Q],J,fe,Fe),this._chunkCount=ve[Q].length}for(var ae=new Array(ce),Ue=Ce;Ue<Fe;Ue++){for(var te=Ue-Ce,X=Math.floor(Ue/J),z=Ue%J,Y=0;Y<ce;Y++){var Q=q[Y],pe=this._dimValueGetterArrayRows(W[te]||ae,Q,te,Y);ve[Q][X][z]=pe;var se=be[Q];pe<se[0]&&(se[0]=pe),pe>se[1]&&(se[1]=pe)}Z&&(this._nameList[Ue]=Z[te])}this._rawCount=this._count=Fe,this._extent={},L(this)},C._initDataFromProvider=function(W,Z){if(W>=Z)return;for(var J=this._chunkSize,ve=this._rawData,q=this._storage,ce=this.dimensions,be=ce.length,Ce=this._dimensionInfos,Fe=this._nameList,fe=this._idList,Ne=this._rawExtent,Q=this._nameRepeatCount={},ae,Ue=this._chunkCount,te=0;te<be;te++){var X=ce[te];Ne[X]||(Ne[X]=K());var z=Ce[X];z.otherDims.itemName===0&&(ae=this._nameDimIdx=te),z.otherDims.itemId===0&&(this._idDimIdx=te),q[X]||(q[X]=[]),I(q,z,J,Ue,Z),this._chunkCount=q[X].length}for(var Y=new Array(be),pe=W;pe<Z;pe++){Y=ve.getItem(pe,Y);for(var se=Math.floor(pe/J),Te=pe%J,Se=0;Se<be;Se++){var X=ce[Se],ie=q[X][se],de=this._dimValueGetter(Y,X,pe,Se);ie[Te]=de;var _e=Ne[X];de<_e[0]&&(_e[0]=de),de>_e[1]&&(_e[1]=de)}if(!ve.pure){var We=Fe[pe];if(Y&&We==null){if(Y.name!=null)Fe[pe]=We=Y.name;else if(ae!=null){var at=ce[ae],tt=q[at][se];if(tt){We=tt[Te];var Oe=Ce[at].ordinalMeta;Oe&&Oe.categories.length&&(We=Oe.categories[We])}}}var yt=Y==null?null:Y.id;yt==null&&We!=null&&(Q[We]=Q[We]||0,yt=We,Q[We]>0&&(yt+="__ec__"+Q[We]),Q[We]++),yt!=null&&(fe[pe]=yt)}}!ve.persistent&&ve.clean&&ve.clean(),this._rawCount=this._count=Z,this._extent={},L(this)};function I(W,Z,J,ve,q){var ce=u[Z.type],be=ve-1,Ce=Z.name,Fe=W[Ce][be];if(Fe&&Fe.length<J){for(var fe=new ce(Math.min(q-be*J,J)),Ne=0;Ne<Fe.length;Ne++)fe[Ne]=Fe[Ne];W[Ce][be]=fe}for(var Q=ve*J;Q<q;Q+=J)W[Ce].push(new ce(Math.min(q-Q,J)))}function L(W){var Z=W._invertedIndicesMap;E.each(Z,function(J,ve){var q=W._dimensionInfos[ve],ce=q.ordinalMeta;if(ce){J=Z[ve]=new g(ce.categories.length);for(var be=0;be<J.length;be++)J[be]=e;for(var be=0;be<W._count;be++)J[W.get(ve,be)]=be}})}function M(W,Z,J){var ve;if(Z!=null){var q=W._chunkSize,ce=Math.floor(J/q),be=J%q,Ce=W.dimensions[Z],Fe=W._storage[Ce][ce];if(Fe){ve=Fe[be];var fe=W._dimensionInfos[Ce].ordinalMeta;fe&&fe.categories.length&&(ve=fe.categories[ve])}}return ve}C.count=function(){return this._count},C.getIndices=function(){var W,Z=this._indices;if(Z){var J=Z.constructor,ve=this._count;if(J===Array){W=new J(ve);for(var q=0;q<ve;q++)W[q]=Z[q]}else W=new J(Z.buffer,0,ve)}else for(var J=w(this),W=new J(this.count()),q=0;q<W.length;q++)W[q]=q;return W},C.get=function(W,Z){if(!(Z>=0&&Z<this._count))return NaN;var J=this._storage;if(!J[W])return NaN;Z=this.getRawIndex(Z);var ve=Math.floor(Z/this._chunkSize),q=Z%this._chunkSize,ce=J[W][ve],be=ce[q];return be},C.getByRawIndex=function(W,Z){if(!(Z>=0&&Z<this._rawCount))return NaN;var J=this._storage[W];if(!J)return NaN;var ve=Math.floor(Z/this._chunkSize),q=Z%this._chunkSize,ce=J[ve];return ce[q]},C._getFast=function(W,Z){var J=Math.floor(Z/this._chunkSize),ve=Z%this._chunkSize,q=this._storage[W][J];return q[ve]},C.getValues=function(W,Z){var J=[];E.isArray(W)||(Z=W,W=this.dimensions);for(var ve=0,q=W.length;ve<q;ve++)J.push(this.get(W[ve],Z));return J},C.hasValue=function(W){for(var Z=this._dimensionsSummary.dataDimsOnCoord,J=0,ve=Z.length;J<ve;J++)if(isNaN(this.get(Z[J],W)))return!1;return!0},C.getDataExtent=function(W){W=this.getDimension(W);var Z=this._storage[W],J=K();if(!Z)return J;var ve=this.count(),q=!this._indices,ce;if(q)return this._rawExtent[W].slice();if(ce=this._extent[W],ce)return ce.slice();ce=J;for(var be=ce[0],Ce=ce[1],Fe=0;Fe<ve;Fe++){var fe=this._getFast(W,this.getRawIndex(Fe));fe<be&&(be=fe),fe>Ce&&(Ce=fe)}return ce=[be,Ce],this._extent[W]=ce,ce},C.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},C.setApproximateExtent=function(W,Z){Z=this.getDimension(Z),this._approximateExtent[Z]=W.slice()},C.getCalculationInfo=function(W){return this._calculationInfo[W]},C.setCalculationInfo=function(W,Z){r(W)?E.extend(this._calculationInfo,W):this._calculationInfo[W]=Z},C.getSum=function(W){var Z=this._storage[W],J=0;if(Z)for(var ve=0,q=this.count();ve<q;ve++){var ce=this.get(W,ve);isNaN(ce)||(J+=ce)}return J},C.getMedian=function(W){var Z=[];this.each(W,function(q,ce){isNaN(q)||Z.push(q)});var J=[].concat(Z).sort(function(q,ce){return q-ce}),ve=this.count();return ve===0?0:ve%2===1?J[(ve-1)/2]:(J[ve/2]+J[ve/2-1])/2},C.rawIndexOf=function(W,Z){var J=W&&this._invertedIndicesMap[W],ve=J[Z];return ve==null||isNaN(ve)?e:ve},C.indexOfName=function(W){for(var Z=0,J=this.count();Z<J;Z++)if(this.getName(Z)===W)return Z;return-1},C.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var Z=this._indices,J=Z[W];if(J!=null&&J<this._count&&J===W)return W;for(var ve=0,q=this._count-1;ve<=q;){var ce=(ve+q)/2|0;if(Z[ce]<W)ve=ce+1;else if(Z[ce]>W)q=ce-1;else return ce}return-1},C.indicesOfNearest=function(W,Z,J){var ve=this._storage,q=ve[W],ce=[];if(!q)return ce;J==null&&(J=Infinity);for(var be=Infinity,Ce=-1,Fe=0,fe=0,Ne=this.count();fe<Ne;fe++){var Q=Z-this.get(W,fe),ae=Math.abs(Q);ae<=J&&((ae<be||ae===be&&Q>=0&&Ce<0)&&(be=ae,Ce=Q,Fe=0),Q===Ce&&(ce[Fe++]=fe))}return ce.length=Fe,ce},C.getRawIndex=k;function k(W){return W}function R(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 Z=[],J=0;J<this.dimensions.length;J++){var ve=this.dimensions[J];Z.push(this.get(ve,W))}return Z},C.getName=function(W){var Z=this.getRawIndex(W);return this._nameList[Z]||M(this,this._nameDimIdx,Z)||""},C.getId=function(W){return j(this,this.getRawIndex(W))};function j(W,Z){var J=W._idList[Z];return J==null&&(J=M(W,W._idDimIdx,Z)),J==null&&(J=s+Z),J}function V(W){return E.isArray(W)||(W=[W]),W}function D(W,Z){for(var J=0;J<Z.length;J++)W._dimensionInfos[Z[J]]||console.error("Unkown dimension "+Z[J])}C.each=function(W,Z,J,ve){"use strict";if(!this._count)return;typeof W=="function"&&(ve=J,J=Z,Z=W,W=[]),J=J||ve||this,W=E.map(V(W),this.getDimension,this);for(var q=W.length,ce=0;ce<this.count();ce++)switch(q){case 0:Z.call(J,ce);break;case 1:Z.call(J,this.get(W[0],ce),ce);break;case 2:Z.call(J,this.get(W[0],ce),this.get(W[1],ce),ce);break;default:for(var be=0,Ce=[];be<q;be++)Ce[be]=this.get(W[be],ce);Ce[be]=ce,Z.apply(J,Ce)}},C.filterSelf=function(W,Z,J,ve){"use strict";if(!this._count)return;typeof W=="function"&&(ve=J,J=Z,Z=W,W=[]),J=J||ve||this,W=E.map(V(W),this.getDimension,this);for(var q=this.count(),ce=w(this),be=new ce(q),Ce=[],Fe=W.length,fe=0,Ne=W[0],Q=0;Q<q;Q++){var ae,Ue=this.getRawIndex(Q);if(Fe===0)ae=Z.call(J,Q);else if(Fe===1){var te=this._getFast(Ne,Ue);ae=Z.call(J,te,Q)}else{for(var X=0;X<Fe;X++)Ce[X]=this._getFast(Ne,Ue);Ce[X]=Q,ae=Z.apply(J,Ce)}ae&&(be[fe++]=Ue)}return fe<q&&(this._indices=be),this._count=fe,this._extent={},this.getRawIndex=this._indices?R:k,this},C.selectRange=function(W){"use strict";if(!this._count)return;var Z=[];for(var J in W)W.hasOwnProperty(J)&&Z.push(J);var ve=Z.length;if(!ve)return;var q=this.count(),ce=w(this),be=new ce(q),Ce=0,Fe=Z[0],fe=W[Fe][0],Ne=W[Fe][1],Q=!1;if(!this._indices){var ae=0;if(ve===1){for(var Ue=this._storage[Z[0]],te=0;te<this._chunkCount;te++)for(var X=Ue[te],z=Math.min(this._count-te*this._chunkSize,this._chunkSize),Y=0;Y<z;Y++){var pe=X[Y];(pe>=fe&&pe<=Ne||isNaN(pe))&&(be[Ce++]=ae),ae++}Q=!0}else if(ve===2){for(var Ue=this._storage[Fe],se=this._storage[Z[1]],Te=W[Z[1]][0],Se=W[Z[1]][1],te=0;te<this._chunkCount;te++)for(var X=Ue[te],ie=se[te],z=Math.min(this._count-te*this._chunkSize,this._chunkSize),Y=0;Y<z;Y++){var pe=X[Y],de=ie[Y];(pe>=fe&&pe<=Ne||isNaN(pe))&&(de>=Te&&de<=Se||isNaN(de))&&(be[Ce++]=ae),ae++}Q=!0}}if(!Q)if(ve===1)for(var Y=0;Y<q;Y++){var _e=this.getRawIndex(Y),pe=this._getFast(Fe,_e);(pe>=fe&&pe<=Ne||isNaN(pe))&&(be[Ce++]=_e)}else for(var Y=0;Y<q;Y++){for(var We=!0,_e=this.getRawIndex(Y),te=0;te<ve;te++){var at=Z[te],pe=this._getFast(J,_e);(pe<W[at][0]||pe>W[at][1])&&(We=!1)}We&&(be[Ce++]=this.getRawIndex(Y))}return Ce<q&&(this._indices=be),this._count=Ce,this._extent={},this.getRawIndex=this._indices?R:k,this},C.mapArray=function(W,Z,J,ve){"use strict";typeof W=="function"&&(ve=J,J=Z,Z=W,W=[]),J=J||ve||this;var q=[];return this.each(W,function(){q.push(Z&&Z.apply(this,arguments))},J),q};function H(W,Z){var J=W.dimensions,ve=new x(E.map(J,W.getDimensionInfo,W),W.hostModel);T(ve,W);for(var q=ve._storage={},ce=W._storage,be=0;be<J.length;be++){var Ce=J[be];ce[Ce]&&(E.indexOf(Z,Ce)>=0?(q[Ce]=P(ce[Ce]),ve._rawExtent[Ce]=K(),ve._extent[Ce]=null):q[Ce]=ce[Ce])}return ve}function P(W){for(var Z=new Array(W.length),J=0;J<W.length;J++)Z[J]=b(W[J]);return Z}function K(){return[Infinity,-Infinity]}C.map=function(W,Z,J,ve){"use strict";J=J||ve||this,W=E.map(V(W),this.getDimension,this);var q=H(this,W);q._indices=this._indices,q.getRawIndex=q._indices?R:k;for(var ce=q._storage,be=[],Ce=this._chunkSize,Fe=W.length,fe=this.count(),Ne=[],Q=q._rawExtent,ae=0;ae<fe;ae++){for(var Ue=0;Ue<Fe;Ue++)Ne[Ue]=this.get(W[Ue],ae);Ne[Fe]=ae;var te=Z&&Z.apply(J,Ne);if(te!=null){typeof te!="object"&&(be[0]=te,te=be);for(var X=this.getRawIndex(ae),z=Math.floor(X/Ce),Y=X%Ce,pe=0;pe<te.length;pe++){var se=W[pe],Te=te[pe],Se=Q[se],ie=ce[se];ie&&(ie[z][Y]=Te),Te<Se[0]&&(Se[0]=Te),Te>Se[1]&&(Se[1]=Te)}}}return q},C.downSample=function(W,Z,J,ve){for(var q=H(this,[W]),ce=q._storage,be=[],Ce=Math.floor(1/Z),Fe=ce[W],fe=this.count(),Ne=this._chunkSize,Q=q._rawExtent[W],ae=new(w(this))(fe),Ue=0,te=0;te<fe;te+=Ce){Ce>fe-te&&(Ce=fe-te,be.length=Ce);for(var X=0;X<Ce;X++){var z=this.getRawIndex(te+X),Y=Math.floor(z/Ne),pe=z%Ne;be[X]=Fe[Y][pe]}var se=J(be),Te=this.getRawIndex(Math.min(te+ve(be,se)||0,fe-1)),Se=Math.floor(Te/Ne),ie=Te%Ne;Fe[Se][ie]=se,se<Q[0]&&(Q[0]=se),se>Q[1]&&(Q[1]=se),ae[Ue++]=Te}return q._count=Ue,q._indices=ae,q.getRawIndex=R,q},C.getItemModel=function(W){var Z=this.hostModel;return new p(this.getRawDataItem(W),Z,Z&&Z.ecModel)},C.diff=function(W){var Z=this;return new v(W?W.getIndices():[],this.getIndices(),function(J){return j(W,J)},function(J){return j(Z,J)})},C.getVisual=function(W){var Z=this._visual;return Z&&Z[W]},C.setVisual=function(W,Z){if(r(W)){for(var J in W)W.hasOwnProperty(J)&&this.setVisual(J,W[J]);return}this._visual=this._visual||{},this._visual[W]=Z},C.setLayout=function(W,Z){if(r(W)){for(var J in W)W.hasOwnProperty(J)&&this.setLayout(J,W[J]);return}this._layout[W]=Z},C.getLayout=function(W){return this._layout[W]},C.getItemLayout=function(W){return this._itemLayouts[W]},C.setItemLayout=function(W,Z,J){this._itemLayouts[W]=J?E.extend(this._itemLayouts[W]||{},Z):Z},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(W,Z,J){var ve=this._itemVisuals[W],q=ve&&ve[Z];return q==null&&!J?this.getVisual(Z):q},C.setItemVisual=function(W,Z,J){var ve=this._itemVisuals[W]||{},q=this.hasItemVisual;if(this._itemVisuals[W]=ve,r(Z)){for(var ce in Z)Z.hasOwnProperty(ce)&&(ve[ce]=Z[ce],q[ce]=!0);return}ve[Z]=J,q[Z]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var U=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};C.setItemGraphicEl=function(W,Z){var J=this.hostModel;Z&&(Z.dataIndex=W,Z.dataType=this.dataType,Z.seriesIndex=J&&J.seriesIndex,Z.type==="group"&&Z.traverse(U,Z)),this._graphicEls[W]=Z},C.getItemGraphicEl=function(W){return this._graphicEls[W]},C.eachItemGraphicEl=function(W,Z){E.each(this._graphicEls,function(J,ve){J&&(W&&W.call(Z,J,ve))})},C.cloneShallow=function(W){if(!W){var Z=E.map(this.dimensions,this.getDimensionInfo,this);W=new x(Z,this.hostModel)}if(W._storage=this._storage,T(W,this),this._indices){var J=this._indices.constructor;W._indices=new J(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?R:k,W},C.wrapMethod=function(W,Z){var J=this[W];if(typeof J!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var ve=J.apply(this,arguments);return Z.apply(this,[ve].concat(E.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=x;B.exports=G},YgsL:function(B,N,i){var y=i("QBsz"),m=y.distance;function E(v,f,d,l,n,t,a){var o=(d-v)*.5,r=(l-f)*.5;return(2*(f-d)+o+r)*a+(-3*(f-d)-2*o-r)*t+o*n+f}function p(v,f){for(var d=v.length,l=[],n=0,t=1;t<d;t++)n+=m(v[t-1],v[t]);var a=n/2;a=a<d?d:a;for(var t=0;t<a;t++){var o=t/(a-1)*(f?d:d-1),r=Math.floor(o),c=o-r,e,s=v[r%d],u,h;f?(e=v[(r-1+d)%d],u=v[(r+1)%d],h=v[(r+2)%d]):(e=v[r===0?r:r-1],u=v[r>d-2?d-1:r+1],h=v[r>d-3?d-1:r+2]);var g=c*c,A=c*g;l.push([E(e[0],s[0],u[0],h[0],c,g,A),E(e[1],s[1],u[1],h[1],c,g,A)])}return l}B.exports=p},Yl7c:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=".",v="___EC__COMPONENT__CONTAINER___";function f(e){var s={main:"",sub:""};return e&&(e=e.split(p),s.main=e[0]||"",s.sub=e[1]||""),s}function d(e){E.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function l(e,s){e.$constructor=e,e.extend=function(u){var h=this,g=function(){u.$constructor?u.$constructor.apply(this,arguments):h.apply(this,arguments)};return E.extend(g.prototype,u),g.extend=this.extend,g.superCall=a,g.superApply=o,E.inherits(g,this),g.superClass=h,g}}var n=0;function t(e){var s=["__\0is_clz",n++,Math.random().toFixed(3)].join("_");e.prototype[s]=!0,e.isInstance=function(u){return!!(u&&u[s])}}function a(e,s){var u=E.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(A,w){if(w){if(d(w),w=f(w),!w.sub)u[w.main]=A;else if(w.sub!==v){var b=h(w);b[w.sub]=A}}return A},e.getClass=function(A,w,b){var S=u[A];if(S&&S[v]&&(S=w?S[w]:null),b&&!S)throw new Error(w?"Component "+A+"."+(w||"")+" not exists. Load it first.":A+".type should be specified.");return S},e.getClassesByMainType=function(A){A=f(A);var w=[],b=u[A.main];return b&&b[v]?E.each(b,function(S,_){_!==v&&w.push(S)}):w.push(b),w},e.hasClass=function(A){return A=f(A),!!u[A.main]},e.getAllClassMainTypes=function(){var A=[];return E.each(u,function(w,b){A.push(b)}),A},e.hasSubTypes=function(A){A=f(A);var w=u[A.main];return w&&w[v]},e.parseClassType=f;function h(A){var w=u[A.main];return(!w||!w[v])&&(w=u[A.main]={},w[v]=!0),w}if(s.registerWhenExtend){var g=e.extend;g&&(e.extend=function(A){var w=g.call(this,A);return e.registerClass(w,A.type)})}return e}function c(e,s){}N.parseClassType=f,N.enableClassExtend=l,N.enableClassCheck=t,N.enableClassManagement=r,N.setReadOnly=c},Ynxi:function(B,N,i){var y=i("bYtY"),m=i("ProS"),E=i("IwbS"),p=i("+TT/"),v=p.getLayoutRect,f=i("7aKB"),d=f.windowOpen;m.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"}}}),m.extendComponentView({type:"title",render:function(l,n,t){if(this.group.removeAll(),!l.get("show"))return;var a=this.group,o=l.getModel("textStyle"),r=l.getModel("subtextStyle"),c=l.get("textAlign"),e=y.retrieve2(l.get("textBaseline"),l.get("textVerticalAlign")),s=new E.Text({style:E.setTextStyle({},o,{text:l.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),h=l.get("subtext"),g=new E.Text({style:E.setTextStyle({},r,{text:h,textFill:r.getTextColor(),y:u.height+l.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),A=l.get("link"),w=l.get("sublink"),b=l.get("triggerEvent",!0);s.silent=!A&&!b,g.silent=!w&&!b,A&&s.on("click",function(){d(A,"_"+l.get("target"))}),w&&g.on("click",function(){d(A,"_"+l.get("subtarget"))}),s.eventData=g.eventData=b?{componentType:"title",componentIndex:l.componentIndex}:null,a.add(s),h&&a.add(g);var S=a.getBoundingRect(),_=l.getBoxLayoutParams();_.width=S.width,_.height=S.height;var T=v(_,{width:t.getWidth(),height:t.getHeight()},l.get("padding"));c||(c=l.get("left")||l.get("right"),c==="middle"&&(c="center"),c==="right"?T.x+=T.width:c==="center"&&(T.x+=T.width/2)),e||(e=l.get("top")||l.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?T.y+=T.height:e==="middle"&&(T.y+=T.height/2),e=e||"top"),a.attr("position",[T.x,T.y]);var x={textAlign:c,textVerticalAlign:e};s.setStyle(x),g.setStyle(x),S=a.getBoundingRect();var C=T.margin,I=l.getItemStyle(["color","opacity"]);I.fill=l.get("backgroundColor");var L=new E.Rect({shape:{x:S.x-C[3],y:S.y-C[0],width:S.width+C[1]+C[3],height:S.height+C[0]+C[2],r:l.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});a.add(L)}})},YrtM:function(B,N,i){"use strict";i.d(N,"a",function(){return E});var y=i("q1tI"),m=i.n(y);function E(p,v,f){var d=y.useRef({});return(!("value"in d.current)||f(d.current.condition,v))&&(d.current.value=p(),d.current.condition=v),d.current.value}},Ywus:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("DO2E")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DeleteOutlined";var l=p.forwardRef(d);N.default=l},Z0Lh:function(B,N,i){"use strict";var y=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var m=y(i("pVnL")),E=y(i("HjOm")),p=y(i("Z6rY")),v={lang:(0,m.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"]},E.default),timePickerLocale:(0,m.default)({},p.default)};v.lang.ok="\u786E \u5B9A";var f=v;N.default=f},Z1HP:function(B,N,i){var y=i("ycre"),m=i("quyA"),E=i("q4HE");function p(v){return m(v)?E(v):y(v)}B.exports=p},Z1r0:function(B,N){function i(y){var m=y.findComponents({mainType:"legend"});if(!m||!m.length)return;y.eachSeriesByType("graph",function(E){var p=E.getCategoriesData(),v=E.getGraph(),f=v.data,d=p.mapArray(p.getName);f.filterSelf(function(l){var n=f.getItemModel(l),t=n.getShallow("category");if(t!=null){typeof t=="number"&&(t=d[t]);for(var a=0;a<m.length;a++)if(!m[a].isSelected(t))return!1}return!0})},this)}B.exports=i},Z1wy:function(B,N,i){var y=i("ProS");i("ThAp"),i("pmaE"),i("SehX"),i("7uqq");var m=i("zuHt"),E=i("VPsl"),p=i("9u0u"),v=i("lELe"),f=i("d4KN");y.registerLayout(m),y.registerVisual(E),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,p),y.registerPreprocessor(v),f("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(B,N,i){var y=i("MwEJ"),m=i("T4UG"),E=m.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,v){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}});B.exports=E},Z6rY:function(B,N,i){"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"]},m=y;N.default=m},Z8zF:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("IwbS"),f=i("56rv"),d=f.setLabel,l=i("Qxkt"),n=i("tceW"),t=i("y+Vt"),a=i("4fz+"),o=i("iLNv"),r=o.throttle,c=i("sK/D"),e=c.createClipPath,s=i("wr5s"),u=["itemStyle","barBorderWidth"],h=[0,0];p.extend(l.prototype,n);function g(U,G){var W=U.getArea&&U.getArea();if(U.type==="cartesian2d"){var Z=U.getBaseAxis();if(Z.type!=="category"||!Z.onBand){var J=G.getLayout("bandWidth");Z.isHorizontal()?(W.x-=J,W.width+=J*2):(W.y-=J,W.height+=J*2)}}return W}var A=E.extendChartView({type:"bar",render:function(U,G,W){this._updateDrawMode(U);var Z=U.get("coordinateSystem");return(Z==="cartesian2d"||Z==="polar")&&(this._isLargeDraw?this._renderLarge(U,G,W):this._renderNormal(U,G,W)),this.group},incrementalPrepareRender:function(U,G,W){this._clear(),this._updateDrawMode(U)},incrementalRender:function(U,G,W,Z){this._incrementalRenderLarge(U,G)},_updateDrawMode:function(U){var G=U.pipelineContext.large;(this._isLargeDraw==null||G^this._isLargeDraw)&&(this._isLargeDraw=G,this._clear())},_renderNormal:function(U,G,W){var Z=this.group,J=U.getData(),ve=this._data,q=U.coordinateSystem,ce=q.getBaseAxis(),be;q.type==="cartesian2d"?be=ce.isHorizontal():q.type==="polar"&&(be=ce.dim==="angle");var Ce=U.isAnimationEnabled()?U:null,Fe=U.get("clip",!0),fe=g(q,J);Z.removeClipPath();var Ne=U.get("roundCap",!0),Q=U.get("showBackground",!0),ae=U.getModel("backgroundStyle"),Ue=ae.get("barBorderRadius")||0,te=[],X=this._backgroundEls||[];J.diff(ve).add(function(pe){var se=J.getItemModel(pe),Te=C[q.type](J,pe,se);if(Q){var Se=C[q.type](J,pe),ie=K(q,be,Se);ie.useStyle(ae.getBarItemStyle()),q.type==="cartesian2d"&&ie.setShape("r",Ue),te[pe]=ie}if(!J.hasValue(pe))return;if(Fe){var de=S[q.type](fe,Te);if(de){Z.remove(_e);return}}var _e=_[q.type](pe,Te,be,Ce,!1,Ne);J.setItemGraphicEl(pe,_e),Z.add(_e),L(_e,J,pe,se,Te,U,be,q.type==="polar")}).update(function(pe,se){var Te=J.getItemModel(pe),Se=C[q.type](J,pe,Te);if(Q){var ie=X[se];ie.useStyle(ae.getBarItemStyle()),q.type==="cartesian2d"&&ie.setShape("r",Ue),te[pe]=ie;var de=C[q.type](J,pe),_e=P(be,de,q);v.updateProps(ie,{shape:_e},Ce,pe)}var We=ve.getItemGraphicEl(se);if(!J.hasValue(pe)){Z.remove(We);return}if(Fe){var at=S[q.type](fe,Se);if(at){Z.remove(We);return}}We?v.updateProps(We,{shape:Se},Ce,pe):We=_[q.type](pe,Se,be,Ce,!0,Ne),J.setItemGraphicEl(pe,We),Z.add(We),L(We,J,pe,Te,Se,U,be,q.type==="polar")}).remove(function(pe){var se=ve.getItemGraphicEl(pe);q.type==="cartesian2d"?se&&T(pe,Ce,se):se&&x(pe,Ce,se)}).execute();var z=this._backgroundGroup||(this._backgroundGroup=new a);z.removeAll();for(var Y=0;Y<te.length;++Y)z.add(te[Y]);Z.add(z),this._backgroundEls=te,this._data=J},_renderLarge:function(U,G,W){this._clear(),R(U,this.group);var Z=U.get("clip",!0)?e(U.coordinateSystem,!1,U):null;Z?this.group.setClipPath(Z):this.group.removeClipPath()},_incrementalRenderLarge:function(U,G){this._removeBackground(),R(G,this.group,!0)},dispose:p.noop,remove:function(U){this._clear(U)},_clear:function(U){var G=this.group,W=this._data;U&&U.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(Z){Z.type==="sector"?x(Z.dataIndex,U,Z):T(Z.dataIndex,U,Z)})):G.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,b=Math.min,S={cartesian2d:function(U,G){var W=G.width<0?-1:1,Z=G.height<0?-1:1;W<0&&(G.x+=G.width,G.width=-G.width),Z<0&&(G.y+=G.height,G.height=-G.height);var J=w(G.x,U.x),ve=b(G.x+G.width,U.x+U.width),q=w(G.y,U.y),ce=b(G.y+G.height,U.y+U.height);G.x=J,G.y=q,G.width=ve-J,G.height=ce-q;var be=G.width<0||G.height<0;return W<0&&(G.x+=G.width,G.width=-G.width),Z<0&&(G.y+=G.height,G.height=-G.height),be},polar:function(U){return!1}},_={cartesian2d:function(U,G,W,Z,J){var ve=new v.Rect({shape:p.extend({},G),z2:1});if(ve.name="item",Z){var q=ve.shape,ce=W?"height":"width",be={};q[ce]=0,be[ce]=G[ce],v[J?"updateProps":"initProps"](ve,{shape:be},Z,U)}return ve},polar:function(U,G,W,Z,J,ve){var q=G.startAngle<G.endAngle,ce=!W&&ve?s:v.Sector,be=new ce({shape:p.defaults({clockwise:q},G),z2:1});if(be.name="item",Z){var Ce=be.shape,Fe=W?"r":"endAngle",fe={};Ce[Fe]=W?0:G.startAngle,fe[Fe]=G[Fe],v[J?"updateProps":"initProps"](be,{shape:fe},Z,U)}return be}};function T(U,G,W){W.style.text=null,v.updateProps(W,{shape:{width:0}},G,U,function(){W.parent&&W.parent.remove(W)})}function x(U,G,W){W.style.text=null,v.updateProps(W,{shape:{r:W.shape.r0}},G,U,function(){W.parent&&W.parent.remove(W)})}var C={cartesian2d:function(U,G,W){var Z=U.getItemLayout(G),J=W?M(W,Z):0,ve=Z.width>0?1:-1,q=Z.height>0?1:-1;return{x:Z.x+ve*J/2,y:Z.y+q*J/2,width:Z.width-ve*J,height:Z.height-q*J}},polar:function(U,G,W){var Z=U.getItemLayout(G);return{cx:Z.cx,cy:Z.cy,r0:Z.r0,r:Z.r,startAngle:Z.startAngle,endAngle:Z.endAngle}}};function I(U){return U.startAngle!=null&&U.endAngle!=null&&U.startAngle===U.endAngle}function L(U,G,W,Z,J,ve,q,ce){var be=G.getItemVisual(W,"color"),Ce=G.getItemVisual(W,"opacity"),Fe=G.getVisual("borderColor"),fe=Z.getModel("itemStyle"),Ne=Z.getModel("emphasis.itemStyle").getBarItemStyle();ce||U.setShape("r",fe.get("barBorderRadius")||0),U.useStyle(p.defaults({stroke:I(J)?"none":Fe,fill:I(J)?"none":be,opacity:Ce},fe.getBarItemStyle()));var Q=Z.getShallow("cursor");Q&&U.attr("cursor",Q);var ae=q?J.height>0?"bottom":"top":J.width>0?"left":"right";ce||d(U.style,Ne,Z,be,ve,W,ae),I(J)&&(Ne.fill=Ne.stroke="none"),v.setHoverStyle(U,Ne)}function M(U,G){var W=U.get(u)||0,Z=isNaN(G.width)?Number.MAX_VALUE:Math.abs(G.width),J=isNaN(G.height)?Number.MAX_VALUE:Math.abs(G.height);return Math.min(W,Z,J)}var k=t.extend({type:"largeBar",shape:{points:[]},buildPath:function(U,G){for(var W=G.points,Z=this.__startPoint,J=this.__baseDimIdx,ve=0;ve<W.length;ve+=2)Z[J]=W[ve+J],U.moveTo(Z[0],Z[1]),U.lineTo(W[ve],W[ve+1])}});function R(U,G,W){var Z=U.getData(),J=[],ve=Z.getLayout("valueAxisHorizontal")?1:0;J[1-ve]=Z.getLayout("valueAxisStart");var q=Z.getLayout("largeDataIndices"),ce=Z.getLayout("barWidth"),be=U.getModel("backgroundStyle"),Ce=U.get("showBackground",!0);if(Ce){var Fe=Z.getLayout("largeBackgroundPoints"),fe=[];fe[1-ve]=Z.getLayout("backgroundStart");var Ne=new k({shape:{points:Fe},incremental:!!W,__startPoint:fe,__baseDimIdx:ve,__largeDataIndices:q,__barWidth:ce,silent:!0,z2:0});H(Ne,be,Z),G.add(Ne)}var Q=new k({shape:{points:Z.getLayout("largePoints")},incremental:!!W,__startPoint:J,__baseDimIdx:ve,__largeDataIndices:q,__barWidth:ce});G.add(Q),D(Q,U,Z),Q.seriesIndex=U.seriesIndex,U.get("silent")||(Q.on("mousedown",j),Q.on("mousemove",j))}var j=r(function(U){var G=this,W=V(G,U.offsetX,U.offsetY);G.dataIndex=W>=0?W:null},30,!1);function V(U,G,W){var Z=U.__baseDimIdx,J=1-Z,ve=U.shape.points,q=U.__largeDataIndices,ce=Math.abs(U.__barWidth/2),be=U.__startPoint[J];h[0]=G,h[1]=W;for(var Ce=h[Z],Fe=h[1-Z],fe=Ce-ce,Ne=Ce+ce,Q=0,ae=ve.length/2;Q<ae;Q++){var Ue=Q*2,te=ve[Ue+Z],X=ve[Ue+J];if(te>=fe&&te<=Ne&&(be<=X?Fe>=be&&Fe<=X:Fe>=X&&Fe<=be))return q[Q]}return-1}function D(U,G,W){var Z=W.getVisual("borderColor")||W.getVisual("color"),J=G.getModel("itemStyle").getItemStyle(["color","borderColor"]);U.useStyle(J),U.style.fill=null,U.style.stroke=Z,U.style.lineWidth=W.getLayout("barWidth")}function H(U,G,W){var Z=G.get("borderColor")||G.get("color"),J=G.getItemStyle(["color","borderColor"]);U.useStyle(J),U.style.fill=null,U.style.stroke=Z,U.style.lineWidth=W.getLayout("barWidth")}function P(U,G,W){var Z,J=W.type==="polar";return J?Z=W.getArea():Z=W.grid.getRect(),J?{cx:Z.cx,cy:Z.cy,r0:U?Z.r0:G.r0,r:U?Z.r:G.r,startAngle:U?G.startAngle:0,endAngle:U?G.endAngle:Math.PI*2}:{x:U?G.x:Z.x,y:U?Z.y:G.y,width:U?G.width:Z.width,height:U?Z.height:G.height}}function K(U,G,W){var Z=U.type==="polar"?v.Sector:v.Rect;return new Z({shape:P(G,W,U),silent:!0,z2:0})}B.exports=A},ZCgT:function(B,N,i){var y=i("tLB3"),m=1/0,E=17976931348623157e292;function p(v){if(!v)return v===0?v:0;if(v=y(v),v===m||v===-m){var f=v<0?-1:1;return f*E}return v===v?v:0}B.exports=p},ZLWo:function(B,N,i){"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(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("2oIt")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="UpOutlined";var l=p.forwardRef(d);N.default=l},ZTPi:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i("rePB"),d=i("ODXe"),l=i("Ff2n"),n=i("VTBJ"),t=i("TSYQ"),a=i.n(t),o=i("Zm9Q"),r=i("6cGi"),c=i("KQm4"),e=i("xEkU"),s=i.n(e),u=i("t23M");function h(mr){var Dr=Object(v.useRef)(),Gr=Object(v.useRef)(!1);function Nr(){for(var Gt=arguments.length,xr=new Array(Gt),rr=0;rr<Gt;rr++)xr[rr]=arguments[rr];Gr.current||(s.a.cancel(Dr.current),Dr.current=s()(function(){mr.apply(void 0,xr)}))}return Object(v.useEffect)(function(){return function(){Gr.current=!0,s.a.cancel(Dr.current)}},[]),Nr}function g(mr){var Dr=Object(v.useRef)([]),Gr=Object(v.useState)({}),Nr=Object(d.a)(Gr,2),Gt=Nr[1],xr=Object(v.useRef)(typeof mr=="function"?mr():mr),rr=h(function(){var kr=xr.current;Dr.current.forEach(function(dn){kr=dn(kr)}),Dr.current=[],xr.current=kr,Gt({})});function Pr(kr){Dr.current.push(kr),rr()}return[xr.current,Pr]}var A=i("4IlW");function w(mr,Dr){var Gr,Nr=mr.prefixCls,Gt=mr.id,xr=mr.active,rr=mr.rtl,Pr=mr.tab,kr=Pr.key,dn=Pr.tab,ln=Pr.disabled,yn=Pr.closeIcon,Bn=mr.tabBarGutter,Gn=mr.tabPosition,ei=mr.closable,Ci=mr.renderWrapper,Qi=mr.removeAriaLabel,ua=mr.editable,ha=mr.onClick,la=mr.onRemove,da=mr.onFocus,Wi="".concat(Nr,"-tab");v.useEffect(function(){return la},[]);var Mi={};Gn==="top"||Gn==="bottom"?Mi[rr?"marginLeft":"marginRight"]=Bn:Mi.marginBottom=Bn;var na=ua&&ei!==!1&&!ln;function ea(ta){if(ln)return;ha(ta)}function _a(ta){ta.preventDefault(),ta.stopPropagation(),ua.onEdit("remove",{key:kr,event:ta})}var Fa=v.createElement("div",{key:kr,ref:Dr,className:a()(Wi,(Gr={},Object(f.a)(Gr,"".concat(Wi,"-with-remove"),na),Object(f.a)(Gr,"".concat(Wi,"-active"),xr),Object(f.a)(Gr,"".concat(Wi,"-disabled"),ln),Gr)),style:Mi,onClick:ea},v.createElement("div",{role:"tab","aria-selected":xr,id:Gt&&"".concat(Gt,"-tab-").concat(kr),className:"".concat(Wi,"-btn"),"aria-controls":Gt&&"".concat(Gt,"-panel-").concat(kr),"aria-disabled":ln,tabIndex:ln?null:0,onClick:function(Yi){Yi.stopPropagation(),ea(Yi)},onKeyDown:function(Yi){[A.a.SPACE,A.a.ENTER].includes(Yi.which)&&(Yi.preventDefault(),ea(Yi))},onFocus:da},dn),na&&v.createElement("button",{type:"button","aria-label":Qi||"remove",tabIndex:0,className:"".concat(Wi,"-remove"),onClick:function(Yi){Yi.stopPropagation(),_a(Yi)}},yn||ua.removeIcon||"\xD7"));return Ci&&(Fa=Ci(Fa)),Fa}var b=v.forwardRef(w),S={width:0,height:0,left:0,top:0};function _(mr,Dr,Gr){return Object(v.useMemo)(function(){for(var Nr,Gt=new Map,xr=Dr.get((Nr=mr[0])===null||Nr===void 0?void 0:Nr.key)||S,rr=xr.left+xr.width,Pr=0;Pr<mr.length;Pr+=1){var kr=mr[Pr].key,dn=Dr.get(kr);if(!dn){var ln;dn=Dr.get((ln=mr[Pr-1])===null||ln===void 0?void 0:ln.key)||S}var yn=Gt.get(kr)||Object(n.a)({},dn);yn.right=rr-yn.left-yn.width,Gt.set(kr,yn)}return Gt},[mr.map(function(Nr){return Nr.key}).join("_"),Dr,Gr])}var T={width:0,height:0,left:0,top:0,right:0};function x(mr,Dr,Gr,Nr,Gt){var xr=Gt.tabs,rr=Gt.tabPosition,Pr=Gt.rtl,kr,dn,ln;["top","bottom"].includes(rr)?(kr="width",dn=Pr?"right":"left",ln=Math.abs(Dr.left)):(kr="height",dn="top",ln=-Dr.top);var yn=Dr[kr],Bn=Gr[kr],Gn=Nr[kr],ei=yn;return Bn+Gn>yn&&(ei=yn-Gn),Object(v.useMemo)(function(){if(!xr.length)return[0,0];for(var Ci=xr.length,Qi=Ci,ua=0;ua<Ci;ua+=1){var ha=mr.get(xr[ua].key)||T;if(ha[dn]+ha[kr]>ln+ei){Qi=ua-1;break}}for(var la=0,da=Ci-1;da>=0;da-=1){var Wi=mr.get(xr[da].key)||T;if(Wi[dn]<ln){la=da+1;break}}return[la,Qi]},[mr,ln,ei,rr,xr.map(function(Ci){return Ci.key}).join("_"),Pr])}var C=i("wx14"),I=i("1OyB"),L=i("vuIU"),M=i("JX7q"),k=i("Ji7U"),R=i("LK+K"),j=i("I8Z2"),V=i("bT9E"),D=i("2GS6"),H=i("Gytx"),P=i.n(H),K=i("U8pU"),U=/iPhone/i,G=/iPod/i,W=/iPad/i,Z=/\bAndroid(?:.+)Mobile\b/i,J=/Android/i,ve=/\bAndroid(?:.+)SD4930UR\b/i,q=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,ce=/Windows Phone/i,be=/\bWindows(?:.+)ARM\b/i,Ce=/BlackBerry/i,Fe=/BB10/i,fe=/Opera Mini/i,Ne=/\b(CriOS|Chrome)(?:.+)Mobile/i,Q=/Mobile(?:.+)Firefox\b/i;function ae(mr,Dr){return mr.test(Dr)}function Ue(mr){var Dr=mr||(typeof navigator!="undefined"?navigator.userAgent:""),Gr=(Dr||"").split("[FBAN");if(typeof Gr[1]!="undefined"){var Nr=Gr,Gt=Object(d.a)(Nr,1);Dr=Gt[0]}if(Gr=Dr.split("Twitter"),typeof Gr[1]!="undefined"){var xr=Gr,rr=Object(d.a)(xr,1);Dr=rr[0]}var Pr={apple:{phone:ae(U,Dr)&&!ae(ce,Dr),ipod:ae(G,Dr),tablet:!ae(U,Dr)&&ae(W,Dr)&&!ae(ce,Dr),device:(ae(U,Dr)||ae(G,Dr)||ae(W,Dr))&&!ae(ce,Dr)},amazon:{phone:ae(ve,Dr),tablet:!ae(ve,Dr)&&ae(q,Dr),device:ae(ve,Dr)||ae(q,Dr)},android:{phone:!ae(ce,Dr)&&ae(ve,Dr)||!ae(ce,Dr)&&ae(Z,Dr),tablet:!ae(ce,Dr)&&!ae(ve,Dr)&&!ae(Z,Dr)&&(ae(q,Dr)||ae(J,Dr)),device:!ae(ce,Dr)&&(ae(ve,Dr)||ae(q,Dr)||ae(Z,Dr)||ae(J,Dr))||ae(/\bokhttp\b/i,Dr)},windows:{phone:ae(ce,Dr),tablet:ae(be,Dr),device:ae(ce,Dr)||ae(be,Dr)},other:{blackberry:ae(Ce,Dr),blackberry10:ae(Fe,Dr),opera:ae(fe,Dr),firefox:ae(Q,Dr),chrome:ae(Ne,Dr),device:ae(Ce,Dr)||ae(Fe,Dr)||ae(fe,Dr)||ae(Q,Dr)||ae(Ne,Dr)},any:null,phone:null,tablet:null};return Pr.any=Pr.apple.device||Pr.android.device||Pr.windows.device||Pr.other.device,Pr.phone=Pr.apple.phone||Pr.android.phone||Pr.windows.phone,Pr.tablet=Pr.apple.tablet||Pr.android.tablet||Pr.windows.tablet,Pr}var te=Object(n.a)(Object(n.a)({},Ue()),{},{isMobile:Ue}),X=te;function z(){}function Y(mr,Dr,Gr){var Nr=Dr||"";return mr.key||"".concat(Nr,"item_").concat(Gr)}function pe(mr){return"".concat(mr,"-menu-")}function se(mr,Dr){var Gr=-1;v.Children.forEach(mr,function(Nr){Gr+=1,Nr&&Nr.type&&Nr.type.isMenuItemGroup?v.Children.forEach(Nr.props.children,function(Gt){Gr+=1,Dr(Gt,Gr)}):Dr(Nr,Gr)})}function Te(mr,Dr,Gr){if(!mr||Gr.find)return;v.Children.forEach(mr,function(Nr){if(Nr){var Gt=Nr.type;if(!Gt||!(Gt.isSubMenu||Gt.isMenuItem||Gt.isMenuItemGroup))return;Dr.indexOf(Nr.key)!==-1?Gr.find=!0:Nr.props.children&&Te(Nr.props.children,Dr,Gr)}})}var Se=["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"],ie=function(Dr){var Gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nr=Dr&&typeof Dr.getBoundingClientRect=="function"&&Dr.getBoundingClientRect().width;if(Nr){if(Gr){var Gt=getComputedStyle(Dr),xr=Gt.marginLeft,rr=Gt.marginRight;Nr+=+xr.replace("px","")+ +rr.replace("px","")}Nr=+Nr.toFixed(6)}return Nr||0},de=function(Dr,Gr,Nr){Dr&&Object(K.a)(Dr.style)==="object"&&(Dr.style[Gr]=Nr)},_e=function(){return X.any},We=i("bdgK"),at=i("i8i4"),tt=i.n(at),Oe=i("wgJM"),yt=i("l4aY"),Ye=i("m+aA"),bt=i("c+Xe"),Ct=i("zT1h"),It=i("QC+M");function Ft(mr,Dr,Gr){return Gr?mr[0]===Dr[0]:mr[0]===Dr[0]&&mr[1]===Dr[1]}function Vt(mr,Dr,Gr){var Nr=mr[Dr]||{};return Object(n.a)(Object(n.a)({},Nr),Gr)}function $e(mr,Dr,Gr,Nr){for(var Gt=Gr.points,xr=Object.keys(mr),rr=0;rr<xr.length;rr+=1){var Pr=xr[rr];if(Ft(mr[Pr].points,Gt,Nr))return"".concat(Dr,"-placement-").concat(Pr)}return""}var ge=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var mr=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(mr)||/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(mr==null?void 0:mr.substr(0,4)))},ne=i("MNnm");function wt(mr,Dr){var Gr={};return Gr[mr.toLowerCase()]=Dr.toLowerCase(),Gr["Webkit".concat(mr)]="webkit".concat(Dr),Gr["Moz".concat(mr)]="moz".concat(Dr),Gr["ms".concat(mr)]="MS".concat(Dr),Gr["O".concat(mr)]="o".concat(Dr.toLowerCase()),Gr}function qe(mr,Dr){var Gr={animationend:wt("Animation","AnimationEnd"),transitionend:wt("Transition","TransitionEnd")};return mr&&("AnimationEvent"in Dr||delete Gr.animationend.animation,"TransitionEvent"in Dr||delete Gr.transitionend.transition),Gr}var he=qe(Object(ne.a)(),typeof window!="undefined"?window:{}),kt={};if(Object(ne.a)()){var nr=document.createElement("div");kt=nr.style}var lt={};function Xt(mr){if(lt[mr])return lt[mr];var Dr=he[mr];if(Dr)for(var Gr=Object.keys(Dr),Nr=Gr.length,Gt=0;Gt<Nr;Gt+=1){var xr=Gr[Gt];if(Object.prototype.hasOwnProperty.call(Dr,xr)&&xr in kt)return lt[mr]=Dr[xr],lt[mr]}return""}var hr=Xt("animationend"),Wr=Xt("transitionend"),mt=!!(hr&&Wr),Et=hr||"animationend",rt=Wr||"transitionend";function He(mr,Dr){if(!mr)return null;if(Object(K.a)(mr)==="object"){var Gr=Dr.replace(/-\w/g,function(Nr){return Nr[1].toUpperCase()});return mr[Gr]}return"".concat(mr,"-").concat(Dr)}var ze="none",Rt="appear",sr="enter",Jt="leave",qt="none",qr="prepare",Fr="start",mn="active",Tt="end";function St(mr){var Dr=Object(v.useRef)(!1),Gr=Object(v.useState)(mr),Nr=Object(d.a)(Gr,2),Gt=Nr[0],xr=Nr[1];function rr(Pr){Dr.current||xr(Pr)}return Object(v.useEffect)(function(){return function(){Dr.current=!0}},[]),[Gt,rr]}var Re=Object(ne.a)()?v.useLayoutEffect:v.useEffect,Ve=Re,Xe=function(){var mr=v.useRef(null);function Dr(){Oe.a.cancel(mr.current)}function Gr(Nr){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Dr();var xr=Object(Oe.a)(function(){Gt<=1?Nr({isCanceled:function(){return xr!==mr.current}}):Gr(Nr,Gt-1)});mr.current=xr}return v.useEffect(function(){return function(){Dr()}},[]),[Gr,Dr]},ct=[qr,Fr,mn,Tt],tr=!1,ir=!0;function or(mr){return mr===mn||mr===Tt}var Xr=function(mr,Dr){var Gr=v.useState(qt),Nr=Object(d.a)(Gr,2),Gt=Nr[0],xr=Nr[1],rr=Xe(),Pr=Object(d.a)(rr,2),kr=Pr[0],dn=Pr[1];function ln(){xr(qr)}return Ve(function(){if(Gt!==qt&&Gt!==Tt){var yn=ct.indexOf(Gt),Bn=ct[yn+1],Gn=Dr(Gt);Gn===tr?xr(Bn):kr(function(ei){function Ci(){if(ei.isCanceled())return;xr(Bn)}Gn===!0?Ci():Promise.resolve(Gn).then(Ci)})}},[mr,Gt]),v.useEffect(function(){return function(){dn()}},[]),[ln,Gt]},Yr=function(mr){var Dr=Object(v.useRef)(),Gr=Object(v.useRef)(mr);Gr.current=mr;var Nr=v.useCallback(function(rr){Gr.current(rr)},[]);function Gt(rr){rr&&(rr.removeEventListener(rt,Nr),rr.removeEventListener(Et,Nr))}function xr(rr){Dr.current&&Dr.current!==rr&&Gt(Dr.current),rr&&rr!==Dr.current&&(rr.addEventListener(rt,Nr),rr.addEventListener(Et,Nr),Dr.current=rr)}return v.useEffect(function(){return function(){Gt(Dr.current)}},[]),[xr,Gt]};function bn(mr,Dr,Gr,Nr){var Gt=Nr.motionEnter,xr=Gt===void 0?!0:Gt,rr=Nr.motionAppear,Pr=rr===void 0?!0:rr,kr=Nr.motionLeave,dn=kr===void 0?!0:kr,ln=Nr.motionDeadline,yn=Nr.motionLeaveImmediately,Bn=Nr.onAppearPrepare,Gn=Nr.onEnterPrepare,ei=Nr.onLeavePrepare,Ci=Nr.onAppearStart,Qi=Nr.onEnterStart,ua=Nr.onLeaveStart,ha=Nr.onAppearActive,la=Nr.onEnterActive,da=Nr.onLeaveActive,Wi=Nr.onAppearEnd,Mi=Nr.onEnterEnd,na=Nr.onLeaveEnd,ea=Nr.onVisibleChanged,_a=St(),Fa=Object(d.a)(_a,2),ta=Fa[0],Yi=Fa[1],ka=St(ze),ba=Object(d.a)(ka,2),Ei=ba[0],ca=ba[1],Ha=St(null),Pa=Object(d.a)(Ha,2),ya=Pa[0],Ea=Pa[1],Ga=Object(v.useRef)(!1),Ta=Object(v.useRef)(null),Va=Object(v.useRef)(!1),uo=Object(v.useRef)(null);function aa(){var qa=Gr();return qa||uo.current}var po=Object(v.useRef)(!1);function Ua(qa){var La=aa();if(qa&&!qa.deadline&&qa.target!==La)return;var oo;Ei===Rt&&po.current?oo=Wi==null?void 0:Wi(La,qa):Ei===sr&&po.current?oo=Mi==null?void 0:Mi(La,qa):Ei===Jt&&po.current&&(oo=na==null?void 0:na(La,qa)),oo!==!1&&!Va.current&&(ca(ze),Ea(null))}var Da=Yr(Ua),$a=Object(d.a)(Da,1),Ma=$a[0],Ka=v.useMemo(function(){var qa,La,oo;switch(Ei){case"appear":return qa={},Object(f.a)(qa,qr,Bn),Object(f.a)(qa,Fr,Ci),Object(f.a)(qa,mn,ha),qa;case"enter":return La={},Object(f.a)(La,qr,Gn),Object(f.a)(La,Fr,Qi),Object(f.a)(La,mn,la),La;case"leave":return oo={},Object(f.a)(oo,qr,ei),Object(f.a)(oo,Fr,ua),Object(f.a)(oo,mn,da),oo;default:return{}}},[Ei]),yo=Xr(Ei,function(qa){if(qa===qr){var La=Ka[qr];return La?La(aa()):tr}if(mo in Ka){var oo;Ea(((oo=Ka[mo])===null||oo===void 0?void 0:oo.call(Ka,aa(),null))||null)}return mo===mn&&(Ma(aa()),ln>0&&(clearTimeout(Ta.current),Ta.current=setTimeout(function(){Ua({deadline:!0})},ln))),ir}),io=Object(d.a)(yo,2),xo=io[0],mo=io[1],go=or(mo);po.current=go,Ve(function(){Yi(Dr);var qa=Ga.current;if(Ga.current=!0,!mr)return;var La;!qa&&Dr&&Pr&&(La=Rt),qa&&Dr&&xr&&(La=sr),(qa&&!Dr&&dn||!qa&&yn&&!Dr&&dn)&&(La=Jt),La&&(ca(La),xo())},[Dr]),Object(v.useEffect)(function(){(Ei===Rt&&!Pr||Ei===sr&&!xr||Ei===Jt&&!dn)&&ca(ze)},[Pr,xr,dn]),Object(v.useEffect)(function(){return function(){clearTimeout(Ta.current),Va.current=!0}},[]),Object(v.useEffect)(function(){ta!==void 0&&Ei===ze&&(ea==null||ea(ta))},[ta,Ei]);var Ya=ya;return Ka[qr]&&mo===Fr&&(Ya=Object(n.a)({transition:"none"},Ya)),[Ei,mo,Ya,ta!=null?ta:Dr]}var Yt=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(){return Object(I.a)(this,Gr),Dr.apply(this,arguments)}return Object(L.a)(Gr,[{key:"render",value:function(){return this.props.children}}]),Gr}(v.Component),pt=Yt;function ht(mr){var Dr=mr;Object(K.a)(mr)==="object"&&(Dr=mr.transitionSupport);function Gr(Gt){return!!(Gt.motionName&&Dr)}var Nr=v.forwardRef(function(Gt,xr){var rr=Gt.visible,Pr=rr===void 0?!0:rr,kr=Gt.removeOnLeave,dn=kr===void 0?!0:kr,ln=Gt.forceRender,yn=Gt.children,Bn=Gt.motionName,Gn=Gt.leavedClassName,ei=Gt.eventProps,Ci=Gr(Gt),Qi=Object(v.useRef)(),ua=Object(v.useRef)();function ha(){try{return Object(Ye.a)(Qi.current||ua.current)}catch(ca){return null}}var la=bn(Ci,Pr,ha,Gt),da=Object(d.a)(la,4),Wi=da[0],Mi=da[1],na=da[2],ea=da[3],_a=v.useRef(ea);ea&&(_a.current=!0);var Fa=Object(v.useRef)(xr);Fa.current=xr;var ta=v.useCallback(function(ca){Qi.current=ca,Object(bt.b)(Fa.current,ca)},[]),Yi,ka=Object(n.a)(Object(n.a)({},ei),{},{visible:Pr});if(!yn)Yi=null;else if(Wi===ze||!Gr(Gt))ea?Yi=yn(Object(n.a)({},ka),ta):!dn&&_a.current?Yi=yn(Object(n.a)(Object(n.a)({},ka),{},{className:Gn}),ta):ln?Yi=yn(Object(n.a)(Object(n.a)({},ka),{},{style:{display:"none"}}),ta):Yi=null;else{var ba,Ei;Mi===qr?Ei="prepare":or(Mi)?Ei="active":Mi===Fr&&(Ei="start"),Yi=yn(Object(n.a)(Object(n.a)({},ka),{},{className:a()(He(Bn,Wi),(ba={},Object(f.a)(ba,He(Bn,"".concat(Wi,"-").concat(Ei)),Ei),Object(f.a)(ba,Bn,typeof Bn=="string"),ba)),style:na}),ta)}return v.createElement(pt,{ref:ua},Yi)});return Nr.displayName="CSSMotion",Nr}var Zt=ht(mt),$t="add",At="keep",Pt="remove",gt="removed";function Wt(mr){var Dr;return mr&&Object(K.a)(mr)==="object"&&"key"in mr?Dr=mr:Dr={key:mr},Object(n.a)(Object(n.a)({},Dr),{},{key:String(Dr.key)})}function yr(){var mr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return mr.map(Wt)}function cr(){var mr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Gr=[],Nr=0,Gt=Dr.length,xr=yr(mr),rr=yr(Dr);xr.forEach(function(dn){for(var ln=!1,yn=Nr;yn<Gt;yn+=1){var Bn=rr[yn];if(Bn.key===dn.key){Nr<yn&&(Gr=Gr.concat(rr.slice(Nr,yn).map(function(Gn){return Object(n.a)(Object(n.a)({},Gn),{},{status:$t})})),Nr=yn),Gr.push(Object(n.a)(Object(n.a)({},Bn),{},{status:At})),Nr+=1,ln=!0;break}}ln||Gr.push(Object(n.a)(Object(n.a)({},dn),{},{status:Pt}))}),Nr<Gt&&(Gr=Gr.concat(rr.slice(Nr).map(function(dn){return Object(n.a)(Object(n.a)({},dn),{},{status:$t})})));var Pr={};Gr.forEach(function(dn){var ln=dn.key;Pr[ln]=(Pr[ln]||0)+1});var kr=Object.keys(Pr).filter(function(dn){return Pr[dn]>1});return kr.forEach(function(dn){Gr=Gr.filter(function(ln){var yn=ln.key,Bn=ln.status;return yn!==dn||Bn!==Pt}),Gr.forEach(function(ln){ln.key===dn&&(ln.status=At)})}),Gr}var pr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Qr(mr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zt,Gr=function(Nr){Object(k.a)(xr,Nr);var Gt=Object(R.a)(xr);function xr(){var rr;return Object(I.a)(this,xr),rr=Gt.apply(this,arguments),rr.state={keyEntities:[]},rr.removeKey=function(Pr){rr.setState(function(kr){var dn=kr.keyEntities;return{keyEntities:dn.map(function(ln){return ln.key!==Pr?ln:Object(n.a)(Object(n.a)({},ln),{},{status:gt})})}})},rr}return Object(L.a)(xr,[{key:"render",value:function(){var Pr=this,kr=this.state.keyEntities,dn=this.props,ln=dn.component,yn=dn.children,Bn=dn.onVisibleChanged,Gn=Object(l.a)(dn,["component","children","onVisibleChanged"]),ei=ln||v.Fragment,Ci={};return pr.forEach(function(Qi){Ci[Qi]=Gn[Qi],delete Gn[Qi]}),delete Gn.keys,v.createElement(ei,Gn,kr.map(function(Qi){var ua=Qi.status,ha=Object(l.a)(Qi,["status"]),la=ua===$t||ua===At;return v.createElement(Dr,Object(C.a)({},Ci,{key:ha.key,visible:la,eventProps:ha,onVisibleChanged:function(Wi){Bn==null||Bn(Wi,{key:ha.key}),Wi||Pr.removeKey(ha.key)}}),yn)}))}}],[{key:"getDerivedStateFromProps",value:function(Pr,kr){var dn=Pr.keys,ln=kr.keyEntities,yn=yr(dn),Bn=cr(ln,yn);return{keyEntities:Bn.filter(function(Gn){var ei=ln.find(function(Ci){var Qi=Ci.key;return Gn.key===Qi});return!(ei&&ei.status===gt&&Gn.status===Pt)})}}}]),xr}(v.Component);return Gr.defaultProps={component:"div"},Gr}var $r=Qr(mt),Ln=Zt;function Mn(mr){var Dr=mr.prefixCls,Gr=mr.motion,Nr=mr.animation,Gt=mr.transitionName;return Gr||(Nr?{motionName:"".concat(Dr,"-").concat(Nr)}:Gt?{motionName:Gt}:null)}function Vn(mr){var Dr=mr.prefixCls,Gr=mr.visible,Nr=mr.zIndex,Gt=mr.mask,xr=mr.maskMotion,rr=mr.maskAnimation,Pr=mr.maskTransitionName;if(!Gt)return null;var kr={};return(xr||Pr||rr)&&(kr=Object(n.a)({motionAppear:!0},Mn({motion:xr,prefixCls:Dr,transitionName:Pr,animation:rr}))),v.createElement(Ln,Object(C.a)({},kr,{visible:Gr,removeOnLeave:!0}),function(dn){var ln=dn.className;return v.createElement("div",{style:{zIndex:Nr},className:a()("".concat(Dr,"-mask"),ln)})})}var ii=i("9mu1"),Li=i("o0o1"),Pi=i.n(Li),Ze=i("HaE+"),xe=["measure","align",null,"motion"],Me=function(mr,Dr){var Gr=Object(v.useState)(null),Nr=Object(d.a)(Gr,2),Gt=Nr[0],xr=Nr[1],rr=Object(v.useRef)(),Pr=Object(v.useRef)(!1);function kr(yn){Pr.current||xr(yn)}function dn(){Oe.a.cancel(rr.current)}function ln(yn){dn(),rr.current=Object(Oe.a)(function(){kr(function(Bn){switch(Gt){case"align":return"motion";case"motion":return"stable";default:}return Bn}),yn==null||yn()})}return Object(v.useEffect)(function(){kr("measure")},[mr]),Object(v.useEffect)(function(){switch(Gt){case"measure":Dr();break;default:}Gt&&(rr.current=Object(Oe.a)(Object(Ze.a)(Pi.a.mark(function yn(){var Bn,Gn;return Pi.a.wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:Bn=xe.indexOf(Gt),Gn=xe[Bn+1],Gn&&Bn!==-1&&kr(Gn);case 3:case"end":return Ci.stop()}},yn)}))))},[Gt]),Object(v.useEffect)(function(){return function(){Pr.current=!0,dn()}},[]),[Gt,ln]},ke=function(mr){var Dr=v.useState({width:0,height:0}),Gr=Object(d.a)(Dr,2),Nr=Gr[0],Gt=Gr[1];function xr(Pr){Gt({width:Pr.offsetWidth,height:Pr.offsetHeight})}var rr=v.useMemo(function(){var Pr={};if(mr){var kr=Nr.width,dn=Nr.height;mr.indexOf("height")!==-1&&dn?Pr.height=dn:mr.indexOf("minHeight")!==-1&&dn&&(Pr.minHeight=dn),mr.indexOf("width")!==-1&&kr?Pr.width=kr:mr.indexOf("minWidth")!==-1&&kr&&(Pr.minWidth=kr)}return Pr},[mr,Nr]);return[rr,xr]},Ge=v.forwardRef(function(mr,Dr){var Gr=mr.visible,Nr=mr.prefixCls,Gt=mr.className,xr=mr.style,rr=mr.children,Pr=mr.zIndex,kr=mr.stretch,dn=mr.destroyPopupOnHide,ln=mr.forceRender,yn=mr.align,Bn=mr.point,Gn=mr.getRootDomNode,ei=mr.getClassNameFromAlign,Ci=mr.onAlign,Qi=mr.onMouseEnter,ua=mr.onMouseLeave,ha=mr.onMouseDown,la=mr.onTouchStart,da=Object(v.useRef)(),Wi=Object(v.useRef)(),Mi=Object(v.useState)(),na=Object(d.a)(Mi,2),ea=na[0],_a=na[1],Fa=ke(kr),ta=Object(d.a)(Fa,2),Yi=ta[0],ka=ta[1];function ba(){kr&&ka(Gn())}var Ei=Me(Gr,ba),ca=Object(d.a)(Ei,2),Ha=ca[0],Pa=ca[1],ya=Object(v.useRef)();function Ea(){return Bn||Gn}function Ga(){var Da;(Da=da.current)===null||Da===void 0||Da.forceAlign()}function Ta(Da,$a){var Ma=ei($a);ea!==Ma&&_a(Ma),Ha==="align"&&(ea!==Ma?Promise.resolve().then(function(){Ga()}):Pa(function(){var Ka;(Ka=ya.current)===null||Ka===void 0||Ka.call(ya)}),Ci==null||Ci(Da,$a))}var Va=Object(n.a)({},Mn(mr));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Da){var $a=Va[Da];Va[Da]=function(Ma,Ka){return Pa(),$a==null?void 0:$a(Ma,Ka)}});function uo(){return new Promise(function(Da){ya.current=Da})}v.useEffect(function(){!Va.motionName&&Ha==="motion"&&Pa()},[Va.motionName,Ha]),v.useImperativeHandle(Dr,function(){return{forceAlign:Ga,getElement:function(){return Wi.current}}});var aa=Object(n.a)(Object(n.a)({},Yi),{},{zIndex:Pr,opacity:Ha==="motion"||Ha==="stable"||!Gr?void 0:0,pointerEvents:Ha==="stable"?void 0:"none"},xr),po=!0;(yn==null?void 0:yn.points)&&(Ha==="align"||Ha==="stable")&&(po=!1);var Ua=rr;return v.Children.count(rr)>1&&(Ua=v.createElement("div",{className:"".concat(Nr,"-content")},rr)),v.createElement(Ln,Object(C.a)({visible:Gr,ref:Wi,leavedClassName:"".concat(Nr,"-hidden")},Va,{onAppearPrepare:uo,onEnterPrepare:uo,removeOnLeave:dn,forceRender:ln}),function(Da,$a){var Ma=Da.className,Ka=Da.style,yo=a()(Nr,Gt,ea,Ma);return v.createElement(ii.a,{target:Ea(),key:"popup",ref:da,monitorWindowResize:!0,disabled:po,align:yn,onAlign:Ta},v.createElement("div",{ref:$a,className:yo,onMouseEnter:Qi,onMouseLeave:ua,onMouseDownCapture:ha,onTouchStartCapture:la,style:Object(n.a)(Object(n.a)({},Ka),aa)},Ua))})});Ge.displayName="PopupInner";var Ke=Ge,Je=v.forwardRef(function(mr,Dr){var Gr=mr.prefixCls,Nr=mr.visible,Gt=mr.zIndex,xr=mr.children,rr=mr.mobile;rr=rr===void 0?{}:rr;var Pr=rr.popupClassName,kr=rr.popupStyle,dn=rr.popupMotion,ln=dn===void 0?{}:dn,yn=rr.popupRender,Bn=v.useRef();v.useImperativeHandle(Dr,function(){return{forceAlign:function(){},getElement:function(){return Bn.current}}});var Gn=Object(n.a)({zIndex:Gt},kr),ei=xr;return v.Children.count(xr)>1&&(ei=v.createElement("div",{className:"".concat(Gr,"-content")},xr)),yn&&(ei=yn(ei)),v.createElement(Ln,Object(C.a)({visible:Nr,ref:Bn,removeOnLeave:!0},ln),function(Ci,Qi){var ua=Ci.className,ha=Ci.style,la=a()(Gr,Pr,ua);return v.createElement("div",{ref:Qi,className:la,style:Object(n.a)(Object(n.a)({},ha),Gn)},ei)})});Je.displayName="MobilePopupInner";var vt=Je,ot=["visible","mobile"],Ut=v.forwardRef(function(mr,Dr){var Gr=mr.visible,Nr=mr.mobile,Gt=Object(l.a)(mr,ot),xr=Object(v.useState)(Gr),rr=Object(d.a)(xr,2),Pr=rr[0],kr=rr[1],dn=Object(v.useState)(!1),ln=Object(d.a)(dn,2),yn=ln[0],Bn=ln[1],Gn=Object(n.a)(Object(n.a)({},Gt),{},{visible:Pr});Object(v.useEffect)(function(){kr(Gr),Gr&&Nr&&Bn(ge())},[Gr,Nr]);var ei=yn?v.createElement(vt,Object(C.a)({},Gn,{mobile:Nr,ref:Dr})):v.createElement(Ke,Object(C.a)({},Gn,{ref:Dr}));return v.createElement("div",null,v.createElement(Vn,Gn),ei)});Ut.displayName="Popup";var br=Ut,Ar=v.createContext(null),Or=Ar;function zt(){}function un(){return""}function lr(mr){return mr?mr.ownerDocument:window.document}var Vr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Br(mr){var Dr=function(Gr){Object(k.a)(Gt,Gr);var Nr=Object(R.a)(Gt);function Gt(xr){var rr;Object(I.a)(this,Gt),rr=Nr.call(this,xr),rr.popupRef=v.createRef(),rr.triggerRef=v.createRef(),rr.attachId=void 0,rr.clickOutsideHandler=void 0,rr.touchOutsideHandler=void 0,rr.contextMenuOutsideHandler1=void 0,rr.contextMenuOutsideHandler2=void 0,rr.mouseDownTimeout=void 0,rr.focusTime=void 0,rr.preClickTime=void 0,rr.preTouchTime=void 0,rr.delayTimer=void 0,rr.hasPopupMouseDown=void 0,rr.onMouseEnter=function(kr){var dn=rr.props.mouseEnterDelay;rr.fireEvents("onMouseEnter",kr),rr.delaySetPopupVisible(!0,dn,dn?null:kr)},rr.onMouseMove=function(kr){rr.fireEvents("onMouseMove",kr),rr.setPoint(kr)},rr.onMouseLeave=function(kr){rr.fireEvents("onMouseLeave",kr),rr.delaySetPopupVisible(!1,rr.props.mouseLeaveDelay)},rr.onPopupMouseEnter=function(){rr.clearDelayTimer()},rr.onPopupMouseLeave=function(kr){var dn;if(kr.relatedTarget&&!kr.relatedTarget.setTimeout&&Object(yt.a)((dn=rr.popupRef.current)===null||dn===void 0?void 0:dn.getElement(),kr.relatedTarget))return;rr.delaySetPopupVisible(!1,rr.props.mouseLeaveDelay)},rr.onFocus=function(kr){rr.fireEvents("onFocus",kr),rr.clearDelayTimer(),rr.isFocusToShow()&&(rr.focusTime=Date.now(),rr.delaySetPopupVisible(!0,rr.props.focusDelay))},rr.onMouseDown=function(kr){rr.fireEvents("onMouseDown",kr),rr.preClickTime=Date.now()},rr.onTouchStart=function(kr){rr.fireEvents("onTouchStart",kr),rr.preTouchTime=Date.now()},rr.onBlur=function(kr){rr.fireEvents("onBlur",kr),rr.clearDelayTimer(),rr.isBlurToHide()&&rr.delaySetPopupVisible(!1,rr.props.blurDelay)},rr.onContextMenu=function(kr){kr.preventDefault(),rr.fireEvents("onContextMenu",kr),rr.setPopupVisible(!0,kr)},rr.onContextMenuClose=function(){rr.isContextMenuToShow()&&rr.close()},rr.onClick=function(kr){if(rr.fireEvents("onClick",kr),rr.focusTime){var dn;if(rr.preClickTime&&rr.preTouchTime?dn=Math.min(rr.preClickTime,rr.preTouchTime):rr.preClickTime?dn=rr.preClickTime:rr.preTouchTime&&(dn=rr.preTouchTime),Math.abs(dn-rr.focusTime)<20)return;rr.focusTime=0}rr.preClickTime=0,rr.preTouchTime=0,rr.isClickToShow()&&(rr.isClickToHide()||rr.isBlurToHide())&&kr&&kr.preventDefault&&kr.preventDefault();var ln=!rr.state.popupVisible;(rr.isClickToHide()&&!ln||ln&&rr.isClickToShow())&&rr.setPopupVisible(!rr.state.popupVisible,kr)},rr.onPopupMouseDown=function(){if(rr.hasPopupMouseDown=!0,clearTimeout(rr.mouseDownTimeout),rr.mouseDownTimeout=window.setTimeout(function(){rr.hasPopupMouseDown=!1},0),rr.context){var kr;(kr=rr.context).onPopupMouseDown.apply(kr,arguments)}},rr.onDocumentClick=function(kr){if(rr.props.mask&&!rr.props.maskClosable)return;var dn=kr.target,ln=rr.getRootDomNode(),yn=rr.getPopupDomNode();(!Object(yt.a)(ln,dn)||rr.isContextMenuOnly())&&!Object(yt.a)(yn,dn)&&!rr.hasPopupMouseDown&&rr.close()},rr.getRootDomNode=function(){var kr=rr.props.getTriggerDOMNode;if(kr)return kr(rr.triggerRef.current);try{var dn=Object(Ye.a)(rr.triggerRef.current);if(dn)return dn}catch(ln){}return tt.a.findDOMNode(Object(M.a)(rr))},rr.getPopupClassNameFromAlign=function(kr){var dn=[],ln=rr.props,yn=ln.popupPlacement,Bn=ln.builtinPlacements,Gn=ln.prefixCls,ei=ln.alignPoint,Ci=ln.getPopupClassNameFromAlign;return yn&&Bn&&dn.push($e(Bn,Gn,kr,ei)),Ci&&dn.push(Ci(kr)),dn.join(" ")},rr.getComponent=function(){var kr=rr.props,dn=kr.prefixCls,ln=kr.destroyPopupOnHide,yn=kr.popupClassName,Bn=kr.onPopupAlign,Gn=kr.popupMotion,ei=kr.popupAnimation,Ci=kr.popupTransitionName,Qi=kr.popupStyle,ua=kr.mask,ha=kr.maskAnimation,la=kr.maskTransitionName,da=kr.maskMotion,Wi=kr.zIndex,Mi=kr.popup,na=kr.stretch,ea=kr.alignPoint,_a=kr.mobile,Fa=kr.forceRender,ta=rr.state,Yi=ta.popupVisible,ka=ta.point,ba=rr.getPopupAlign(),Ei={};return rr.isMouseEnterToShow()&&(Ei.onMouseEnter=rr.onPopupMouseEnter),rr.isMouseLeaveToHide()&&(Ei.onMouseLeave=rr.onPopupMouseLeave),Ei.onMouseDown=rr.onPopupMouseDown,Ei.onTouchStart=rr.onPopupMouseDown,v.createElement(br,Object(C.a)({prefixCls:dn,destroyPopupOnHide:ln,visible:Yi,point:ea&&ka,className:yn,align:ba,onAlign:Bn,animation:ei,getClassNameFromAlign:rr.getPopupClassNameFromAlign},Ei,{stretch:na,getRootDomNode:rr.getRootDomNode,style:Qi,mask:ua,zIndex:Wi,transitionName:Ci,maskAnimation:ha,maskTransitionName:la,maskMotion:da,ref:rr.popupRef,motion:Gn,mobile:_a,forceRender:Fa}),typeof Mi=="function"?Mi():Mi)},rr.attachParent=function(kr){Oe.a.cancel(rr.attachId);var dn=rr.props,ln=dn.getPopupContainer,yn=dn.getDocument,Bn=rr.getRootDomNode(),Gn;ln?(Bn||ln.length===0)&&(Gn=ln(Bn)):Gn=yn(rr.getRootDomNode()).body,Gn?Gn.appendChild(kr):rr.attachId=Object(Oe.a)(function(){rr.attachParent(kr)})},rr.getContainer=function(){var kr=rr.props.getDocument,dn=kr(rr.getRootDomNode()).createElement("div");return dn.style.position="absolute",dn.style.top="0",dn.style.left="0",dn.style.width="100%",rr.attachParent(dn),dn},rr.setPoint=function(kr){var dn=rr.props.alignPoint;if(!dn||!kr)return;rr.setState({point:{pageX:kr.pageX,pageY:kr.pageY}})},rr.handlePortalUpdate=function(){rr.state.prevPopupVisible!==rr.state.popupVisible&&rr.props.afterPopupVisibleChange(rr.state.popupVisible)},rr.triggerContextValue={onPopupMouseDown:rr.onPopupMouseDown};var Pr;return"popupVisible"in xr?Pr=!!xr.popupVisible:Pr=!!xr.defaultPopupVisible,rr.state={prevPopupVisible:Pr,popupVisible:Pr},Vr.forEach(function(kr){rr["fire".concat(kr)]=function(dn){rr.fireEvents(kr,dn)}}),rr}return Object(L.a)(Gt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var rr=this.props,Pr=this.state;if(Pr.popupVisible){var kr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(kr=rr.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Ct.a)(kr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(kr=kr||rr.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Ct.a)(kr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(kr=kr||rr.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Ct.a)(kr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Ct.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 rr;return((rr=this.popupRef.current)===null||rr===void 0?void 0:rr.getElement())||null}},{key:"getPopupAlign",value:function(){var rr=this.props,Pr=rr.popupPlacement,kr=rr.popupAlign,dn=rr.builtinPlacements;return Pr&&dn?Vt(dn,Pr,kr):kr}},{key:"setPopupVisible",value:function(rr,Pr){var kr=this.props.alignPoint,dn=this.state.popupVisible;this.clearDelayTimer(),dn!==rr&&("popupVisible"in this.props||this.setState({popupVisible:rr,prevPopupVisible:dn}),this.props.onPopupVisibleChange(rr)),kr&&Pr&&rr&&this.setPoint(Pr)}},{key:"delaySetPopupVisible",value:function(rr,Pr,kr){var dn=this,ln=Pr*1e3;if(this.clearDelayTimer(),ln){var yn=kr?{pageX:kr.pageX,pageY:kr.pageY}:null;this.delayTimer=window.setTimeout(function(){dn.setPopupVisible(rr,yn),dn.clearDelayTimer()},ln)}else this.setPopupVisible(rr,kr)}},{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(rr){var Pr=this.props.children.props,kr=this.props;return Pr[rr]&&kr[rr]?this["fire".concat(rr)]:Pr[rr]||kr[rr]}},{key:"isClickToShow",value:function(){var rr=this.props,Pr=rr.action,kr=rr.showAction;return Pr.indexOf("click")!==-1||kr.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var rr=this.props.action;return rr==="contextMenu"||rr.length===1&&rr[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var rr=this.props,Pr=rr.action,kr=rr.showAction;return Pr.indexOf("contextMenu")!==-1||kr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var rr=this.props,Pr=rr.action,kr=rr.hideAction;return Pr.indexOf("click")!==-1||kr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var rr=this.props,Pr=rr.action,kr=rr.showAction;return Pr.indexOf("hover")!==-1||kr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var rr=this.props,Pr=rr.action,kr=rr.hideAction;return Pr.indexOf("hover")!==-1||kr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var rr=this.props,Pr=rr.action,kr=rr.showAction;return Pr.indexOf("focus")!==-1||kr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var rr=this.props,Pr=rr.action,kr=rr.hideAction;return Pr.indexOf("focus")!==-1||kr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var rr;(rr=this.popupRef.current)===null||rr===void 0||rr.forceAlign()}}},{key:"fireEvents",value:function(rr,Pr){var kr=this.props.children.props[rr];kr&&kr(Pr);var dn=this.props[rr];dn&&dn(Pr)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var rr=this.state.popupVisible,Pr=this.props,kr=Pr.children,dn=Pr.forceRender,ln=Pr.alignPoint,yn=Pr.className,Bn=Pr.autoDestroy,Gn=v.Children.only(kr),ei={key:"trigger"};this.isContextMenuToShow()?ei.onContextMenu=this.onContextMenu:ei.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(ei.onClick=this.onClick,ei.onMouseDown=this.onMouseDown,ei.onTouchStart=this.onTouchStart):(ei.onClick=this.createTwoChains("onClick"),ei.onMouseDown=this.createTwoChains("onMouseDown"),ei.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(ei.onMouseEnter=this.onMouseEnter,ln&&(ei.onMouseMove=this.onMouseMove)):ei.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?ei.onMouseLeave=this.onMouseLeave:ei.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(ei.onFocus=this.onFocus,ei.onBlur=this.onBlur):(ei.onFocus=this.createTwoChains("onFocus"),ei.onBlur=this.createTwoChains("onBlur"));var Ci=a()(Gn&&Gn.props&&Gn.props.className,yn);Ci&&(ei.className=Ci);var Qi=Object(n.a)({},ei);Object(bt.c)(Gn)&&(Qi.ref=Object(bt.a)(this.triggerRef,Gn.ref));var ua=v.cloneElement(Gn,Qi),ha;return(rr||this.popupRef.current||dn)&&(ha=v.createElement(mr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!rr&&Bn&&(ha=null),v.createElement(Or.Provider,{value:this.triggerContextValue},ua,ha)}}],[{key:"getDerivedStateFromProps",value:function(rr,Pr){var kr=rr.popupVisible,dn={};return kr!==void 0&&Pr.popupVisible!==kr&&(dn.popupVisible=kr,dn.prevPopupVisible=Pr.popupVisible),dn}}]),Gt}(v.Component);return Dr.contextType=Or,Dr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:un,getDocument:lr,onPopupVisibleChange:zt,afterPopupVisibleChange:zt,onPopupAlign:zt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Dr}var Sr=Br(It.a),xn={adjustX:1,adjustY:1},Hn={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]}},ai={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]}},si=Hn,Yn=0,Wn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Dn=function(Dr,Gr,Nr){var Gt=pe(Gr),xr=Dr.getState();Dr.setState({defaultActiveFirst:Object(n.a)(Object(n.a)({},xr.defaultActiveFirst),{},Object(f.a)({},Gt,Nr))})},vi=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(Nr){var Gt;Object(I.a)(this,Gr),Gt=Dr.call(this,Nr),Gt.onDestroy=function(ln){Gt.props.onDestroy(ln)},Gt.onKeyDown=function(ln){var yn=ln.keyCode,Bn=Gt.menuInstance,Gn=Gt.props.store,ei=Gt.getVisible();if(yn===A.a.ENTER)return Gt.onTitleClick(ln),Dn(Gn,Gt.props.eventKey,!0),!0;if(yn===A.a.RIGHT)return ei?Bn.onKeyDown(ln):(Gt.triggerOpenChange(!0),Dn(Gn,Gt.props.eventKey,!0)),!0;if(yn===A.a.LEFT){var Ci;if(ei)Ci=Bn.onKeyDown(ln);else return;return Ci||(Gt.triggerOpenChange(!1),Ci=!0),Ci}return ei&&(yn===A.a.UP||yn===A.a.DOWN)?Bn.onKeyDown(ln):void 0},Gt.onOpenChange=function(ln){Gt.props.onOpenChange(ln)},Gt.onPopupVisibleChange=function(ln){Gt.triggerOpenChange(ln,ln?"mouseenter":"mouseleave")},Gt.onMouseEnter=function(ln){var yn=Gt.props,Bn=yn.eventKey,Gn=yn.onMouseEnter,ei=yn.store;Dn(ei,Gt.props.eventKey,!1),Gn({key:Bn,domEvent:ln})},Gt.onMouseLeave=function(ln){var yn=Gt.props,Bn=yn.parentMenu,Gn=yn.eventKey,ei=yn.onMouseLeave;Bn.subMenuInstance=Object(M.a)(Gt),ei({key:Gn,domEvent:ln})},Gt.onTitleMouseEnter=function(ln){var yn=Gt.props,Bn=yn.eventKey,Gn=yn.onItemHover,ei=yn.onTitleMouseEnter;Gn({key:Bn,hover:!0}),ei({key:Bn,domEvent:ln})},Gt.onTitleMouseLeave=function(ln){var yn=Gt.props,Bn=yn.parentMenu,Gn=yn.eventKey,ei=yn.onItemHover,Ci=yn.onTitleMouseLeave;Bn.subMenuInstance=Object(M.a)(Gt),ei({key:Gn,hover:!1}),Ci({key:Gn,domEvent:ln})},Gt.onTitleClick=function(ln){var yn=Object(M.a)(Gt),Bn=yn.props;if(Bn.onTitleClick({key:Bn.eventKey,domEvent:ln}),Bn.triggerSubMenuAction==="hover")return;Gt.triggerOpenChange(!Gt.getVisible(),"click"),Dn(Bn.store,Gt.props.eventKey,!1)},Gt.onSubMenuClick=function(ln){typeof Gt.props.onClick=="function"&&Gt.props.onClick(Gt.addKeyPath(ln))},Gt.onSelect=function(ln){Gt.props.onSelect(ln)},Gt.onDeselect=function(ln){Gt.props.onDeselect(ln)},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.getVisible=function(){return Gt.state.isOpen},Gt.getMode=function(){return Gt.state.mode},Gt.saveMenuInstance=function(ln){Gt.menuInstance=ln},Gt.addKeyPath=function(ln){return Object(n.a)(Object(n.a)({},ln),{},{keyPath:(ln.keyPath||[]).concat(Gt.props.eventKey)})},Gt.triggerOpenChange=function(ln,yn){var Bn=Gt.props.eventKey,Gn=function(){Gt.onOpenChange({key:Bn,item:Object(M.a)(Gt),trigger:yn,open:ln})};yn==="mouseenter"?Gt.mouseenterTimeout=setTimeout(function(){Gn()},0):Gn()},Gt.isChildrenSelected=function(){var ln={find:!1};return Te(Gt.props.children,Gt.props.selectedKeys,ln),ln.find},Gt.isInlineMode=function(){return Gt.getMode()==="inline"},Gt.adjustWidth=function(){if(!Gt.subMenuTitle||!Gt.menuInstance)return;var ln=at.findDOMNode(Gt.menuInstance);if(ln.offsetWidth>=Gt.subMenuTitle.offsetWidth)return;ln.style.minWidth="".concat(Gt.subMenuTitle.offsetWidth,"px")},Gt.saveSubMenuTitle=function(ln){Gt.subMenuTitle=ln},Gt.getBaseProps=function(){var ln=Object(M.a)(Gt),yn=ln.props,Bn=Gt.getMode();return{mode:Bn==="horizontal"?"vertical":Bn,visible:Gt.getVisible(),level:yn.level+1,inlineIndent:yn.inlineIndent,focusable:!1,onClick:Gt.onSubMenuClick,onSelect:Gt.onSelect,onDeselect:Gt.onDeselect,onDestroy:Gt.onDestroy,selectedKeys:yn.selectedKeys,eventKey:"".concat(yn.eventKey,"-menu-"),openKeys:yn.openKeys,motion:yn.motion,onOpenChange:Gt.onOpenChange,subMenuOpenDelay:yn.subMenuOpenDelay,parentMenu:Object(M.a)(Gt),subMenuCloseDelay:yn.subMenuCloseDelay,forceSubMenuRender:yn.forceSubMenuRender,triggerSubMenuAction:yn.triggerSubMenuAction,builtinPlacements:yn.builtinPlacements,defaultActiveFirst:yn.store.getState().defaultActiveFirst[pe(yn.eventKey)],multiple:yn.multiple,prefixCls:yn.rootPrefixCls,id:Gt.internalMenuId,manualRef:Gt.saveMenuInstance,itemIcon:yn.itemIcon,expandIcon:yn.expandIcon,direction:yn.direction}},Gt.getMotion=function(ln,yn){var Bn=Object(M.a)(Gt),Gn=Bn.haveRendered,ei=Gt.props,Ci=ei.motion,Qi=ei.rootPrefixCls,ua=Object(n.a)(Object(n.a)({},Ci),{},{leavedClassName:"".concat(Qi,"-hidden"),removeOnLeave:!1,motionAppear:Gn||!yn||ln!=="inline"});return ua};var xr=Nr.store,rr=Nr.eventKey,Pr=xr.getState(),kr=Pr.defaultActiveFirst;Gt.isRootMenu=!1;var dn=!1;return kr&&(dn=kr[rr]),Dn(xr,rr,dn),Gt.state={mode:Nr.mode,isOpen:Nr.isOpen},Gt}return Object(L.a)(Gr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Gt=this,xr=this.props,rr=xr.mode,Pr=xr.parentMenu,kr=xr.manualRef,dn=xr.isOpen,ln=function(){Gt.setState({mode:rr,isOpen:dn})},yn=dn!==this.state.isOpen,Bn=rr!==this.state.mode;if((Bn||yn)&&(Oe.a.cancel(this.updateStateRaf),Bn?this.updateStateRaf=Object(Oe.a)(ln):ln()),kr&&kr(this),rr!=="horizontal"||!(Pr==null?void 0:Pr.isRootMenu)||!dn)return;this.minWidthTimeout=setTimeout(function(){return Gt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Gt=this.props,xr=Gt.onDestroy,rr=Gt.eventKey;xr&&xr(rr),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Oe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Gt,xr){var rr=this.getBaseProps();return v.createElement(Cn,Object(C.a)({},rr,{id:this.internalMenuId,className:Gt,style:xr}),this.props.children)}},{key:"renderChildren",value:function(){var Gt=this,xr=this.getBaseProps(),rr=xr.mode,Pr=xr.visible,kr=xr.forceSubMenuRender,dn=xr.direction,ln=this.getMotion(rr,Pr);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Pr||kr,!this.haveOpened)return v.createElement("div",null);var yn=a()("".concat(xr.prefixCls,"-sub"),Object(f.a)({},"".concat(xr.prefixCls,"-rtl"),dn==="rtl"));return this.isInlineMode()?v.createElement(Ln,Object(C.a)({visible:xr.visible,forceRender:kr},ln),function(Bn){var Gn=Bn.className,ei=Bn.style,Ci=a()(yn,Gn);return Gt.renderPopupMenu(Ci,ei)}):this.renderPopupMenu(yn)}},{key:"render",value:function(){var Gt,xr,rr,Pr=Object(n.a)({},this.props),kr=this.getVisible(),dn=this.getPrefixCls(),ln=this.isInlineMode(),yn=this.getMode(),Bn=a()(dn,"".concat(dn,"-").concat(yn),(Gt={},Object(f.a)(Gt,Pr.className,!!Pr.className),Object(f.a)(Gt,this.getOpenClassName(),kr),Object(f.a)(Gt,this.getActiveClassName(),Pr.active||kr&&!ln),Object(f.a)(Gt,this.getDisabledClassName(),Pr.disabled),Object(f.a)(Gt,this.getSelectedClassName(),this.isChildrenSelected()),Gt));this.internalMenuId||(Pr.eventKey?this.internalMenuId="".concat(Pr.eventKey,"$Menu"):(Yn+=1,this.internalMenuId="$__$".concat(Yn,"$Menu")));var Gn={},ei={},Ci={};Pr.disabled||(Gn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},ei={onClick:this.onTitleClick},Ci={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Qi={},ua=Pr.direction,ha=ua==="rtl";ln&&(ha?Qi.paddingRight=Pr.inlineIndent*Pr.level:Qi.paddingLeft=Pr.inlineIndent*Pr.level);var la={};this.getVisible()&&(la={"aria-owns":this.internalMenuId});var da=null;yn!=="horizontal"&&(da=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(da=v.createElement(this.props.expandIcon,Object(n.a)({},this.props))));var Wi=v.createElement("div",Object(C.a)({ref:this.saveSubMenuTitle,style:Qi,className:"".concat(dn,"-title"),role:"button"},Ci,ei,{"aria-expanded":kr},la,{"aria-haspopup":"true",title:typeof Pr.title=="string"?Pr.title:void 0}),Pr.title,da||v.createElement("i",{className:"".concat(dn,"-arrow")})),Mi=this.renderChildren(),na=((xr=Pr.parentMenu)===null||xr===void 0?void 0:xr.isRootMenu)?Pr.parentMenu.props.getPopupContainer:function(Ea){return Ea.parentNode},ea=Wn[yn],_a=Pr.popupOffset?{offset:Pr.popupOffset}:{},Fa=a()((rr={},Object(f.a)(rr,Pr.popupClassName,Pr.popupClassName&&!ln),Object(f.a)(rr,"".concat(dn,"-rtl"),ha),rr)),ta=Pr.disabled,Yi=Pr.triggerSubMenuAction,ka=Pr.subMenuOpenDelay,ba=Pr.forceSubMenuRender,Ei=Pr.subMenuCloseDelay,ca=Pr.builtinPlacements;Se.forEach(function(Ea){return delete Pr[Ea]}),delete Pr.onClick;var Ha=ha?Object(n.a)(Object(n.a)({},ai),ca):Object(n.a)(Object(n.a)({},Hn),ca);delete Pr.direction;var Pa=this.getBaseProps(),ya=ln?null:this.getMotion(Pa.mode,Pa.visible);return v.createElement("li",Object(C.a)({},Pr,Gn,{className:Bn,role:"menuitem"}),v.createElement(Sr,{prefixCls:dn,popupClassName:a()("".concat(dn,"-popup"),Fa),getPopupContainer:na,builtinPlacements:Ha,popupPlacement:ea,popupVisible:ln?!1:kr,popupAlign:_a,popup:ln?null:Mi,action:ta||ln?[]:[Yi],mouseEnterDelay:ka,mouseLeaveDelay:Ei,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:ba,popupMotion:ya},Wi),ln?Mi:null)}}]),Gr}(v.Component);vi.defaultProps={onMouseEnter:z,onMouseLeave:z,onTitleMouseEnter:z,onTitleMouseLeave:z,onTitleClick:z,manualRef:z,mode:"vertical",title:""};var gn=Object(j.b)(function(mr,Dr){var Gr=mr.openKeys,Nr=mr.activeKey,Gt=mr.selectedKeys,xr=Dr.eventKey,rr=Dr.subMenuKey;return{isOpen:Gr.indexOf(xr)>-1,active:Nr[rr]===xr,selectedKeys:Gt}})(vi);gn.isSubMenu=!0;var Kr=gn,En="menuitem-overflowed",sn=.5,li=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(){var Nr;return Object(I.a)(this,Gr),Nr=Dr.apply(this,arguments),Nr.resizeObserver=null,Nr.mutationObserver=null,Nr.originalTotalWidth=0,Nr.overflowedItems=[],Nr.menuItemSizes=[],Nr.cancelFrameId=null,Nr.state={lastVisibleIndex:void 0},Nr.childRef=v.createRef(),Nr.getMenuItemNodes=function(){var Gt=Nr.props.prefixCls,xr=Nr.childRef.current;return xr?[].slice.call(xr.children).filter(function(rr){return rr.className.split(" ").indexOf("".concat(Gt,"-overflowed-submenu"))<0}):[]},Nr.getOverflowedSubMenuItem=function(Gt,xr,rr){var Pr=Nr.props,kr=Pr.overflowedIndicator,dn=Pr.level,ln=Pr.mode,yn=Pr.prefixCls,Bn=Pr.theme;if(dn!==1||ln!=="horizontal")return null;var Gn=Nr.props.children[0],ei=Gn.props,Ci=ei.children,Qi=ei.title,ua=ei.style,ha=Object(l.a)(ei,["children","title","style"]),la=Object(n.a)({},ua),da="".concat(Gt,"-overflowed-indicator"),Wi="".concat(Gt,"-overflowed-indicator");xr.length===0&&rr!==!0?la=Object(n.a)(Object(n.a)({},la),{},{display:"none"}):rr&&(la=Object(n.a)(Object(n.a)({},la),{},{visibility:"hidden",position:"absolute"}),da="".concat(da,"-placeholder"),Wi="".concat(Wi,"-placeholder"));var Mi=Bn?"".concat(yn,"-").concat(Bn):"",na={};return Se.forEach(function(ea){ha[ea]!==void 0&&(na[ea]=ha[ea])}),v.createElement(Kr,Object(C.a)({title:kr,className:"".concat(yn,"-overflowed-submenu"),popupClassName:Mi},na,{key:da,eventKey:Wi,disabled:!1,style:la}),xr)},Nr.setChildrenWidthAndResize=function(){if(Nr.props.mode!=="horizontal")return;var Gt=Nr.childRef.current;if(!Gt)return;var xr=Gt.children;if(!xr||xr.length===0)return;var rr=Gt.children[xr.length-1];de(rr,"display","inline-block");var Pr=Nr.getMenuItemNodes(),kr=Pr.filter(function(dn){return dn.className.split(" ").indexOf(En)>=0});kr.forEach(function(dn){de(dn,"display","inline-block")}),Nr.menuItemSizes=Pr.map(function(dn){return ie(dn,!0)}),kr.forEach(function(dn){de(dn,"display","none")}),Nr.overflowedIndicatorWidth=ie(Gt.children[Gt.children.length-1],!0),Nr.originalTotalWidth=Nr.menuItemSizes.reduce(function(dn,ln){return dn+ln},0),Nr.handleResize(),de(rr,"display","none")},Nr.handleResize=function(){if(Nr.props.mode!=="horizontal")return;var Gt=Nr.childRef.current;if(!Gt)return;var xr=ie(Gt);Nr.overflowedItems=[];var rr=0,Pr;Nr.originalTotalWidth>xr+sn&&(Pr=-1,Nr.menuItemSizes.forEach(function(kr){rr+=kr,rr+Nr.overflowedIndicatorWidth<=xr&&(Pr+=1)})),Nr.setState({lastVisibleIndex:Pr})},Nr}return Object(L.a)(Gr,[{key:"componentDidMount",value:function(){var Gt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var xr=this.childRef.current;if(!xr)return;this.resizeObserver=new We.default(function(rr){rr.forEach(function(){var Pr=Gt.cancelFrameId;cancelAnimationFrame(Pr),Gt.cancelFrameId=requestAnimationFrame(Gt.setChildrenWidthAndResize)})}),[].slice.call(xr.children).concat(xr).forEach(function(rr){Gt.resizeObserver.observe(rr)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Gt.resizeObserver.disconnect(),[].slice.call(xr.children).concat(xr).forEach(function(rr){Gt.resizeObserver.observe(rr)}),Gt.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(Gt){var xr=this,rr=this.state.lastVisibleIndex;return(Gt||[]).reduce(function(Pr,kr,dn){var ln=kr;if(xr.props.mode==="horizontal"){var yn=xr.getOverflowedSubMenuItem(kr.props.eventKey,[]);rr!==void 0&&xr.props.className.indexOf("".concat(xr.props.prefixCls,"-root"))!==-1&&(dn>rr&&(ln=v.cloneElement(kr,{style:{display:"none"},eventKey:"".concat(kr.props.eventKey,"-hidden"),className:"".concat(En)})),dn===rr+1&&(xr.overflowedItems=Gt.slice(rr+1).map(function(Gn){return v.cloneElement(Gn,{key:Gn.props.eventKey,mode:"vertical-left"})}),yn=xr.getOverflowedSubMenuItem(kr.props.eventKey,xr.overflowedItems)));var Bn=[].concat(Object(c.a)(Pr),[yn,ln]);return dn===Gt.length-1&&Bn.push(xr.getOverflowedSubMenuItem(kr.props.eventKey,[],!0)),Bn}return[].concat(Object(c.a)(Pr),[ln])},[])}},{key:"render",value:function(){var Gt=this.props,xr=Gt.visible,rr=Gt.prefixCls,Pr=Gt.overflowedIndicator,kr=Gt.mode,dn=Gt.level,ln=Gt.tag,yn=Gt.children,Bn=Gt.theme,Gn=Object(l.a)(Gt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),ei=ln;return v.createElement(ei,Object(C.a)({ref:this.childRef},Gn),this.renderChildren(yn))}}]),Gr}(v.Component);li.defaultProps={tag:"div",className:""};var ni=li;function yi(mr){return mr.length?mr.every(function(Dr){return!!Dr.props.disabled}):!0}function Xn(mr,Dr,Gr){var Nr=mr.getState();mr.setState({activeKey:Object(n.a)(Object(n.a)({},Nr.activeKey),{},Object(f.a)({},Dr,Gr))})}function ki(mr){return mr.eventKey||"0-menu-"}function wi(mr,Dr){var Gr=Dr,Nr=mr.children,Gt=mr.eventKey;if(Gr){var xr;if(se(Nr,function(rr,Pr){rr&&rr.props&&!rr.props.disabled&&Gr===Y(rr,Gt,Pr)&&(xr=!0)}),xr)return Gr}return Gr=null,mr.defaultActiveFirst&&se(Nr,function(rr,Pr){!Gr&&rr&&!rr.props.disabled&&(Gr=Y(rr,Gt,Pr))}),Gr}function Ji(mr){if(!mr)return;var Dr=this.instanceArray.indexOf(mr);Dr!==-1?this.instanceArray[Dr]=mr:this.instanceArray.push(mr)}var An=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(Nr){var Gt;return Object(I.a)(this,Gr),Gt=Dr.call(this,Nr),Gt.onKeyDown=function(xr,rr){var Pr=xr.keyCode,kr;if(Gt.getFlatInstanceArray().forEach(function(ln){ln&&ln.props.active&&ln.onKeyDown&&(kr=ln.onKeyDown(xr))}),kr)return 1;var dn=null;return(Pr===A.a.UP||Pr===A.a.DOWN)&&(dn=Gt.step(Pr===A.a.UP?-1:1)),dn?(xr.preventDefault(),Xn(Gt.props.store,ki(Gt.props),dn.props.eventKey),typeof rr=="function"&&rr(dn),1):void 0},Gt.onItemHover=function(xr){var rr=xr.key,Pr=xr.hover;Xn(Gt.props.store,ki(Gt.props),Pr?rr:null)},Gt.onDeselect=function(xr){Gt.props.onDeselect(xr)},Gt.onSelect=function(xr){Gt.props.onSelect(xr)},Gt.onClick=function(xr){Gt.props.onClick(xr)},Gt.onOpenChange=function(xr){Gt.props.onOpenChange(xr)},Gt.onDestroy=function(xr){Gt.props.onDestroy(xr)},Gt.getFlatInstanceArray=function(){return Gt.instanceArray},Gt.step=function(xr){var rr=Gt.getFlatInstanceArray(),Pr=Gt.props.store.getState().activeKey[ki(Gt.props)],kr=rr.length;if(!kr)return null;xr<0&&(rr=rr.concat().reverse());var dn=-1;if(rr.every(function(Gn,ei){return Gn&&Gn.props.eventKey===Pr?(dn=ei,!1):!0}),!Gt.props.defaultActiveFirst&&dn!==-1&&yi(rr.slice(dn,kr-1)))return;var ln=(dn+1)%kr,yn=ln;do{var Bn=rr[yn];if(!Bn||Bn.props.disabled)yn=(yn+1)%kr;else return Bn}while(yn!==ln);return null},Gt.renderCommonMenuItem=function(xr,rr,Pr){var kr=Gt.props.store.getState(),dn=Object(M.a)(Gt),ln=dn.props,yn=Y(xr,ln.eventKey,rr),Bn=xr.props;if(!Bn||typeof xr.type=="string")return xr;var Gn=yn===kr.activeKey,ei=Object(n.a)(Object(n.a)({mode:Bn.mode||ln.mode,level:ln.level,inlineIndent:ln.inlineIndent,renderMenuItem:Gt.renderMenuItem,rootPrefixCls:ln.prefixCls,index:rr,parentMenu:ln.parentMenu,manualRef:Bn.disabled?void 0:Object(D.a)(xr.ref,Ji.bind(Object(M.a)(Gt))),eventKey:yn,active:!Bn.disabled&&Gn,multiple:ln.multiple,onClick:function(Qi){(Bn.onClick||z)(Qi),Gt.onClick(Qi)},onItemHover:Gt.onItemHover,motion:ln.motion,subMenuOpenDelay:ln.subMenuOpenDelay,subMenuCloseDelay:ln.subMenuCloseDelay,forceSubMenuRender:ln.forceSubMenuRender,onOpenChange:Gt.onOpenChange,onDeselect:Gt.onDeselect,onSelect:Gt.onSelect,builtinPlacements:ln.builtinPlacements,itemIcon:Bn.itemIcon||Gt.props.itemIcon,expandIcon:Bn.expandIcon||Gt.props.expandIcon},Pr),{},{direction:ln.direction});return(ln.mode==="inline"||_e())&&(ei.triggerSubMenuAction="click"),v.cloneElement(xr,Object(n.a)(Object(n.a)({},ei),{},{key:yn||rr}))},Gt.renderMenuItem=function(xr,rr,Pr){if(!xr)return null;var kr=Gt.props.store.getState(),dn={openKeys:kr.openKeys,selectedKeys:kr.selectedKeys,triggerSubMenuAction:Gt.props.triggerSubMenuAction,subMenuKey:Pr};return Gt.renderCommonMenuItem(xr,rr,dn)},Nr.store.setState({activeKey:Object(n.a)(Object(n.a)({},Nr.store.getState().activeKey),{},Object(f.a)({},Nr.eventKey,wi(Nr,Nr.activeKey)))}),Gt.instanceArray=[],Gt}return Object(L.a)(Gr,[{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||!P()(this.props.style,Gt.style)}},{key:"componentDidUpdate",value:function(Gt){var xr=this.props,rr="activeKey"in xr?xr.activeKey:xr.store.getState().activeKey[ki(xr)],Pr=wi(xr,rr);if(Pr!==rr)Xn(xr.store,ki(xr),Pr);else if("activeKey"in Gt){var kr=wi(Gt,Gt.activeKey);Pr!==kr&&Xn(xr.store,ki(xr),Pr)}}},{key:"render",value:function(){var Gt=this,xr=Object(C.a)({},this.props);this.instanceArray=[];var rr=a()(xr.prefixCls,xr.className,"".concat(xr.prefixCls,"-").concat(xr.mode)),Pr={className:rr,role:xr.role||"menu"};xr.id&&(Pr.id=xr.id),xr.focusable&&(Pr.tabIndex=0,Pr.onKeyDown=this.onKeyDown);var kr=xr.prefixCls,dn=xr.eventKey,ln=xr.visible,yn=xr.level,Bn=xr.mode,Gn=xr.overflowedIndicator,ei=xr.theme;return Se.forEach(function(Ci){return delete xr[Ci]}),delete xr.onClick,v.createElement(ni,Object(C.a)({},xr,{prefixCls:kr,mode:Bn,tag:"ul",level:yn,theme:ei,visible:ln,overflowedIndicator:Gn},Pr),Object(o.a)(xr.children).map(function(Ci,Qi){return Gt.renderMenuItem(Ci,Qi,dn||"0-menu-")}))}}]),Gr}(v.Component);An.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:z};var Ur=Object(j.b)()(An),Cn=Ur,Un=i("Kwbf");function Zn(mr,Dr,Gr){var Nr=mr.prefixCls,Gt=mr.motion,xr=mr.defaultMotions,rr=xr===void 0?{}:xr,Pr=mr.openAnimation,kr=mr.openTransitionName,dn=Dr.switchingModeFromInline;if(Gt)return Gt;if(Object(K.a)(Pr)==="object"&&Pr)Object(Un.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Pr=="string")return{motionName:"".concat(Nr,"-open-").concat(Pr)};if(kr)return{motionName:kr};var ln=rr[Gr];return ln||(dn?null:rr.other)}var ti=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(Nr){var Gt;Object(I.a)(this,Gr),Gt=Dr.call(this,Nr),Gt.onSelect=function(Pr){var kr=Object(M.a)(Gt),dn=kr.props;if(dn.selectable){var ln=Gt.store.getState(),yn=ln.selectedKeys,Bn=Pr.key;dn.multiple?yn=yn.concat([Bn]):yn=[Bn],"selectedKeys"in dn||Gt.store.setState({selectedKeys:yn}),dn.onSelect(Object(n.a)(Object(n.a)({},Pr),{},{selectedKeys:yn}))}},Gt.onClick=function(Pr){var kr=Gt.getRealMenuMode(),dn=Object(M.a)(Gt),ln=dn.store,yn=dn.props.onOpenChange;kr!=="inline"&&!("openKeys"in Gt.props)&&(ln.setState({openKeys:[]}),yn([])),Gt.props.onClick(Pr)},Gt.onKeyDown=function(Pr,kr){Gt.innerMenu.getWrappedInstance().onKeyDown(Pr,kr)},Gt.onOpenChange=function(Pr){var kr=Object(M.a)(Gt),dn=kr.props,ln=Gt.store.getState().openKeys.concat(),yn=!1,Bn=function(ei){var Ci=!1;if(ei.open)Ci=ln.indexOf(ei.key)===-1,Ci&&ln.push(ei.key);else{var Qi=ln.indexOf(ei.key);Ci=Qi!==-1,Ci&&ln.splice(Qi,1)}yn=yn||Ci};Array.isArray(Pr)?Pr.forEach(Bn):Bn(Pr),yn&&("openKeys"in Gt.props||Gt.store.setState({openKeys:ln}),dn.onOpenChange(ln))},Gt.onDeselect=function(Pr){var kr=Object(M.a)(Gt),dn=kr.props;if(dn.selectable){var ln=Gt.store.getState().selectedKeys.concat(),yn=Pr.key,Bn=ln.indexOf(yn);Bn!==-1&&ln.splice(Bn,1),"selectedKeys"in dn||Gt.store.setState({selectedKeys:ln}),dn.onDeselect(Object(n.a)(Object(n.a)({},Pr),{},{selectedKeys:ln}))}},Gt.onMouseEnter=function(Pr){Gt.restoreModeVerticalFromInline();var kr=Gt.props.onMouseEnter;kr&&kr(Pr)},Gt.onTransitionEnd=function(Pr){var kr=Pr.propertyName==="width"&&Pr.target===Pr.currentTarget,dn=Pr.target.className,ln=Object.prototype.toString.call(dn)==="[object SVGAnimatedString]"?dn.animVal:dn,yn=Pr.propertyName==="font-size"&&ln.indexOf("anticon")>=0;(kr||yn)&&Gt.restoreModeVerticalFromInline()},Gt.setInnerMenu=function(Pr){Gt.innerMenu=Pr},Gt.isRootMenu=!0;var xr=Nr.defaultSelectedKeys,rr=Nr.defaultOpenKeys;return"selectedKeys"in Nr&&(xr=Nr.selectedKeys||[]),"openKeys"in Nr&&(rr=Nr.openKeys||[]),Gt.store=Object(j.c)({selectedKeys:xr,openKeys:rr,activeKey:{"0-menu-":wi(Nr,Nr.activeKey)}}),Gt.state={switchingModeFromInline:!1,prevProps:Nr,inlineOpenKeys:[],store:Gt.store},Gt}return Object(L.a)(Gr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Gt){var xr=this.props,rr=xr.siderCollapsed,Pr=xr.inlineCollapsed,kr=xr.onOpenChange;(!Gt.inlineCollapsed&&Pr||!Gt.siderCollapsed&&rr)&&kr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Gt=this.props.collapsedWidth,xr=this.store,rr=this.prevOpenKeys,Pr=this.getInlineCollapsed()&&(Gt===0||Gt==="0"||Gt==="0px");Pr?(this.prevOpenKeys=xr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):rr&&(this.store.setState({openKeys:rr}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Gt=this.props.mode,xr=this.state.switchingModeFromInline,rr=this.getInlineCollapsed();return xr&&rr?"inline":rr?"vertical":Gt}},{key:"getInlineCollapsed",value:function(){var Gt=this.props,xr=Gt.inlineCollapsed,rr=Gt.siderCollapsed;return rr!==void 0?rr:xr}},{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(n.a)({},Object(V.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),xr=this.getRealMenuMode();return Gt.className+=" ".concat(Gt.prefixCls,"-root"),Gt.direction==="rtl"&&(Gt.className+=" ".concat(Gt.prefixCls,"-rtl")),Gt=Object(n.a)(Object(n.a)({},Gt),{},{mode:xr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Zn(this.props,this.state,xr)}),delete Gt.openAnimation,delete Gt.openTransitionName,v.createElement(j.a,{store:this.store},v.createElement(Cn,Object(C.a)({},Gt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Gt,xr){var rr=xr.prevProps,Pr=xr.store,kr=Pr.getState(),dn={},ln={prevProps:Gt};return rr.mode==="inline"&&Gt.mode!=="inline"&&(ln.switchingModeFromInline=!0),"openKeys"in Gt?dn.openKeys=Gt.openKeys||[]:((Gt.inlineCollapsed&&!rr.inlineCollapsed||Gt.siderCollapsed&&!rr.siderCollapsed)&&(ln.switchingModeFromInline=!0,ln.inlineOpenKeys=kr.openKeys,dn.openKeys=[]),(!Gt.inlineCollapsed&&rr.inlineCollapsed||!Gt.siderCollapsed&&rr.siderCollapsed)&&(dn.openKeys=xr.inlineOpenKeys,ln.inlineOpenKeys=[])),Object.keys(dn).length&&Pr.setState(dn),ln}}]),Gr}(v.Component);ti.defaultProps={selectable:!0,onClick:z,onSelect:z,onOpenChange:z,onDeselect:z,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:v.createElement("span",null,"\xB7\xB7\xB7")};var hi=ti,pi=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(){var Nr;return Object(I.a)(this,Gr),Nr=Dr.apply(this,arguments),Nr.onKeyDown=function(Gt){var xr=Gt.keyCode;return xr===A.a.ENTER?(Nr.onClick(Gt),!0):void 0},Nr.onMouseLeave=function(Gt){var xr=Nr.props,rr=xr.eventKey,Pr=xr.onItemHover,kr=xr.onMouseLeave;Pr({key:rr,hover:!1}),kr({key:rr,domEvent:Gt})},Nr.onMouseEnter=function(Gt){var xr=Nr.props,rr=xr.eventKey,Pr=xr.onItemHover,kr=xr.onMouseEnter;Pr({key:rr,hover:!0}),kr({key:rr,domEvent:Gt})},Nr.onClick=function(Gt){var xr=Nr.props,rr=xr.eventKey,Pr=xr.multiple,kr=xr.onClick,dn=xr.onSelect,ln=xr.onDeselect,yn=xr.isSelected,Bn={key:rr,keyPath:[rr],item:Object(M.a)(Nr),domEvent:Gt};kr(Bn),Pr?yn?ln(Bn):dn(Bn):yn||dn(Bn)},Nr.saveNode=function(Gt){Nr.node=Gt},Nr}return Object(L.a)(Gr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Gt=this.props;Gt.onDestroy&&Gt.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,xr=Object(n.a)({},this.props),rr=a()(this.getPrefixCls(),xr.className,(Gt={},Object(f.a)(Gt,this.getActiveClassName(),!xr.disabled&&xr.active),Object(f.a)(Gt,this.getSelectedClassName(),xr.isSelected),Object(f.a)(Gt,this.getDisabledClassName(),xr.disabled),Gt)),Pr=Object(n.a)(Object(n.a)({},xr.attribute),{},{title:typeof xr.title=="string"?xr.title:void 0,className:rr,role:xr.role||"menuitem","aria-disabled":xr.disabled});xr.role==="option"?Pr=Object(n.a)(Object(n.a)({},Pr),{},{role:"option","aria-selected":xr.isSelected}):(xr.role===null||xr.role==="none")&&(Pr.role="none");var kr={onClick:xr.disabled?null:this.onClick,onMouseLeave:xr.disabled?null:this.onMouseLeave,onMouseEnter:xr.disabled?null:this.onMouseEnter},dn=Object(n.a)({},xr.style);xr.mode==="inline"&&(xr.direction==="rtl"?dn.paddingRight=xr.inlineIndent*xr.level:dn.paddingLeft=xr.inlineIndent*xr.level),Se.forEach(function(yn){return delete xr[yn]}),delete xr.direction;var ln=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ln=v.createElement(this.props.itemIcon,this.props)),v.createElement("li",Object(C.a)({},Object(V.a)(xr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Pr,kr,{style:dn,ref:this.saveNode}),xr.children,ln)}}]),Gr}(v.Component);pi.isMenuItem=!0,pi.defaultProps={onSelect:z,onMouseEnter:z,onMouseLeave:z,manualRef:z};var mi=Object(j.b)(function(mr,Dr){var Gr=mr.activeKey,Nr=mr.selectedKeys,Gt=Dr.eventKey,xr=Dr.subMenuKey;return{active:Gr[xr]===Gt,isSelected:Array.isArray(Nr)?Nr.indexOf(Gt)!==-1:Nr===Gt}})(pi),Hi=mi,ra=function(mr){Object(k.a)(Gr,mr);var Dr=Object(R.a)(Gr);function Gr(){var Nr;return Object(I.a)(this,Gr),Nr=Dr.apply(this,arguments),Nr.renderInnerMenuItem=function(Gt){var xr=Nr.props,rr=xr.renderMenuItem,Pr=xr.index;return rr(Gt,Pr,Nr.props.subMenuKey)},Nr}return Object(L.a)(Gr,[{key:"render",value:function(){var Gt=Object(C.a)({},this.props),xr=Gt.className,rr=xr===void 0?"":xr,Pr=Gt.rootPrefixCls,kr="".concat(Pr,"-item-group-title"),dn="".concat(Pr,"-item-group-list"),ln=Gt.title,yn=Gt.children;return Se.forEach(function(Bn){return delete Gt[Bn]}),delete Gt.direction,v.createElement("li",Object(C.a)({},Gt,{onClick:function(Gn){return Gn.stopPropagation()},className:"".concat(rr," ").concat(Pr,"-item-group")}),v.createElement("div",{className:kr,title:typeof ln=="string"?ln:void 0},ln),v.createElement("ul",{className:dn},v.Children.map(yn,this.renderInnerMenuItem)))}}]),Gr}(v.Component);ra.isMenuItemGroup=!0,ra.defaultProps={disabled:!0};var $i=ra,ro=function(Dr){var Gr=Dr.className,Nr=Dr.rootPrefixCls,Gt=Dr.style;return v.createElement("li",{className:"".concat(Gr," ").concat(Nr,"-item-divider"),style:Gt})};ro.defaultProps={disabled:!0,className:"",style:{}};var di=ro,cn=hi,Ni=i("eDIo");function Gi(mr,Dr){var Gr=mr.prefixCls,Nr=mr.editable,Gt=mr.locale,xr=mr.style;return!Nr||Nr.showAdd===!1?null:v.createElement("button",{ref:Dr,type:"button",className:"".concat(Gr,"-nav-add"),style:xr,"aria-label":(Gt==null?void 0:Gt.addAriaLabel)||"Add tab",onClick:function(Pr){Nr.onEdit("add",{event:Pr})}},Nr.addIcon||"+")}var Ki=v.forwardRef(Gi);function ia(mr,Dr){var Gr=mr.prefixCls,Nr=mr.id,Gt=mr.tabs,xr=mr.locale,rr=mr.mobile,Pr=mr.moreIcon,kr=Pr===void 0?"More":Pr,dn=mr.moreTransitionName,ln=mr.style,yn=mr.className,Bn=mr.editable,Gn=mr.tabBarGutter,ei=mr.rtl,Ci=mr.onTabClick,Qi=Object(v.useState)(!1),ua=Object(d.a)(Qi,2),ha=ua[0],la=ua[1],da=Object(v.useState)(null),Wi=Object(d.a)(da,2),Mi=Wi[0],na=Wi[1],ea="".concat(Nr,"-more-popup"),_a="".concat(Gr,"-dropdown"),Fa=Mi!==null?"".concat(ea,"-").concat(Mi):null,ta=xr==null?void 0:xr.dropdownAriaLabel,Yi=v.createElement(cn,{onClick:function(ya){var Ea=ya.key,Ga=ya.domEvent;Ci(Ea,Ga),la(!1)},id:ea,tabIndex:-1,role:"listbox","aria-activedescendant":Fa,selectedKeys:[Mi],"aria-label":ta!==void 0?ta:"expanded dropdown"},Gt.map(function(Pa){return v.createElement(Hi,{key:Pa.key,id:"".concat(ea,"-").concat(Pa.key),role:"option","aria-controls":Nr&&"".concat(Nr,"-panel-").concat(Pa.key),disabled:Pa.disabled},Pa.tab)}));function ka(Pa){for(var ya=Gt.filter(function(uo){return!uo.disabled}),Ea=ya.findIndex(function(uo){return uo.key===Mi})||0,Ga=ya.length,Ta=0;Ta<Ga;Ta+=1){Ea=(Ea+Pa+Ga)%Ga;var Va=ya[Ea];if(!Va.disabled){na(Va.key);return}}}function ba(Pa){var ya=Pa.which;if(!ha){[A.a.DOWN,A.a.SPACE,A.a.ENTER].includes(ya)&&(la(!0),Pa.preventDefault());return}switch(ya){case A.a.UP:ka(-1),Pa.preventDefault();break;case A.a.DOWN:ka(1),Pa.preventDefault();break;case A.a.ESC:la(!1);break;case A.a.SPACE:case A.a.ENTER:Mi!==null&&Ci(Mi,Pa);break}}Object(v.useEffect)(function(){var Pa=document.getElementById(Fa);Pa&&Pa.scrollIntoView&&Pa.scrollIntoView(!1)},[Mi]),Object(v.useEffect)(function(){ha||na(null)},[ha]);var Ei=Object(f.a)({},ei?"marginLeft":"marginRight",Gn);Gt.length||(Ei.visibility="hidden",Ei.order=1);var ca=a()(Object(f.a)({},"".concat(_a,"-rtl"),ei)),Ha=rr?null:v.createElement(Ni.a,{prefixCls:_a,overlay:Yi,trigger:["hover"],visible:ha,transitionName:dn,onVisibleChange:la,overlayClassName:ca,mouseEnterDelay:.1,mouseLeaveDelay:.1},v.createElement("button",{type:"button",className:"".concat(Gr,"-nav-more"),style:Ei,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":ea,id:"".concat(Nr,"-more"),"aria-expanded":ha,onKeyDown:ba},kr));return v.createElement("div",{className:a()("".concat(Gr,"-nav-operations"),yn),style:ln,ref:Dr},Ha,v.createElement(Ki,{prefixCls:Gr,locale:xr,editable:Bn}))}var Kt=v.forwardRef(ia),Zr=Object(v.createContext)(null),rn=.1,pn=.01,Qe=20,Dt=Math.pow(.995,Qe);function ur(){var mr=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(mr)||/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(mr.substr(0,4)))}function ar(mr,Dr){var Gr=Object(v.useState)(),Nr=Object(d.a)(Gr,2),Gt=Nr[0],xr=Nr[1],rr=Object(v.useState)(0),Pr=Object(d.a)(rr,2),kr=Pr[0],dn=Pr[1],ln=Object(v.useState)(0),yn=Object(d.a)(ln,2),Bn=yn[0],Gn=yn[1],ei=Object(v.useState)(),Ci=Object(d.a)(ei,2),Qi=Ci[0],ua=Ci[1],ha=Object(v.useRef)();function la(ta){var Yi=ta.touches[0],ka=Yi.screenX,ba=Yi.screenY;xr({x:ka,y:ba}),window.clearInterval(ha.current)}function da(ta){if(!Gt)return;ta.preventDefault();var Yi=ta.touches[0],ka=Yi.screenX,ba=Yi.screenY;xr({x:ka,y:ba});var Ei=ka-Gt.x,ca=ba-Gt.y;Dr(Ei,ca);var Ha=Date.now();dn(Ha),Gn(Ha-kr),ua({x:Ei,y:ca})}function Wi(){if(!Gt)return;if(xr(null),ua(null),Qi){var ta=Qi.x/Bn,Yi=Qi.y/Bn,ka=Math.abs(ta),ba=Math.abs(Yi);if(Math.max(ka,ba)<rn)return;var Ei=ta,ca=Yi;ha.current=window.setInterval(function(){if(Math.abs(Ei)<pn&&Math.abs(ca)<pn){window.clearInterval(ha.current);return}Ei*=Dt,ca*=Dt,Dr(Ei*Qe,ca*Qe)},Qe)}}var Mi=Object(v.useRef)(0),na=Object(v.useRef)(!1),ea=Object(v.useRef)();function _a(ta){var Yi=ta.deltaX,ka=ta.deltaY,ba=0,Ei=Math.abs(Yi),ca=Math.abs(ka);Ei===ca?ba=ea.current==="x"?Yi:ka:Ei>ca?(ba=Yi,ea.current="x"):(ba=ka,ea.current="y");var Ha=Date.now();Ha-Mi.current>100&&(na.current=!1),(Dr(-ba,-ba)||na.current)&&(ta.preventDefault(),na.current=!0),Mi.current=Ha}var Fa=Object(v.useRef)(null);Fa.current={onTouchStart:la,onTouchMove:da,onTouchEnd:Wi,onWheel:_a},v.useEffect(function(){function ta(Ei){Fa.current.onTouchStart(Ei)}function Yi(Ei){Fa.current.onTouchMove(Ei)}function ka(Ei){Fa.current.onTouchEnd(Ei)}function ba(Ei){Fa.current.onWheel(Ei)}return document.addEventListener("touchmove",Yi,{passive:!1}),document.addEventListener("touchend",ka,{passive:!1}),mr.current.addEventListener("touchstart",ta,{passive:!1}),mr.current.addEventListener("wheel",ba),function(){document.removeEventListener("touchmove",Yi),document.removeEventListener("touchend",ka)}},[])}function Lr(){var mr=Object(v.useRef)(new Map);function Dr(Nr){return mr.current.has(Nr)||mr.current.set(Nr,v.createRef()),mr.current.get(Nr)}function Gr(Nr){mr.current.delete(Nr)}return[Dr,Gr]}function Rr(mr,Dr){var Gr=v.useRef(mr),Nr=v.useState({}),Gt=Object(d.a)(Nr,2),xr=Gt[1];function rr(Pr){var kr=typeof Pr=="function"?Pr(Gr.current):Pr;kr!==Gr.current&&Dr(kr,Gr.current),Gr.current=kr,xr({})}return[Gr.current,rr]}var Hr=function(Dr){var Gr=Dr.position,Nr=Dr.prefixCls,Gt=Dr.extra;if(!Gt)return null;var xr,rr=Gt;return Gr==="right"&&(xr=rr.right||!rr.left&&rr||null),Gr==="left"&&(xr=rr.left||null),xr?v.createElement("div",{className:"".concat(Nr,"-extra-content")},xr):null};function an(mr,Dr){var Gr,Nr=v.useContext(Zr),Gt=Nr.prefixCls,xr=Nr.tabs,rr=mr.className,Pr=mr.style,kr=mr.id,dn=mr.animated,ln=mr.activeKey,yn=mr.rtl,Bn=mr.extra,Gn=mr.editable,ei=mr.locale,Ci=mr.tabPosition,Qi=mr.tabBarGutter,ua=mr.children,ha=mr.onTabClick,la=mr.onTabScroll,da=Object(v.useRef)(),Wi=Object(v.useRef)(),Mi=Object(v.useRef)(),na=Object(v.useRef)(),ea=Lr(),_a=Object(d.a)(ea,2),Fa=_a[0],ta=_a[1],Yi=Ci==="top"||Ci==="bottom",ka=Rr(0,function(we,Be){Yi&&la&&la({direction:we>Be?"left":"right"})}),ba=Object(d.a)(ka,2),Ei=ba[0],ca=ba[1],Ha=Rr(0,function(we,Be){!Yi&&la&&la({direction:we>Be?"top":"bottom"})}),Pa=Object(d.a)(Ha,2),ya=Pa[0],Ea=Pa[1],Ga=Object(v.useState)(0),Ta=Object(d.a)(Ga,2),Va=Ta[0],uo=Ta[1],aa=Object(v.useState)(0),po=Object(d.a)(aa,2),Ua=po[0],Da=po[1],$a=Object(v.useState)(0),Ma=Object(d.a)($a,2),Ka=Ma[0],yo=Ma[1],io=Object(v.useState)(0),xo=Object(d.a)(io,2),mo=xo[0],go=xo[1],Ya=Object(v.useState)(null),qa=Object(d.a)(Ya,2),La=qa[0],oo=qa[1],vo=Object(v.useState)(null),Fi=Object(d.a)(vo,2),ma=Fi[0],Mo=Fi[1],zo=Object(v.useState)(0),Qo=Object(d.a)(zo,2),Jo=Qo[0],bo=Qo[1],Ra=Object(v.useState)(0),jo=Object(d.a)(Ra,2),hs=jo[0],Ao=jo[1],Io=g(new Map),Xa=Object(d.a)(Io,2),Yo=Xa[0],pl=Xa[1],Ls=_(xr,Yo,Va),os="".concat(Gt,"-nav-operations-hidden"),_s=0,Ns=0;Yi?yn?(_s=0,Ns=Math.max(0,Va-La)):(_s=Math.min(0,La-Va),Ns=0):(_s=Math.min(0,ma-Ua),Ns=0);function is(we){return we<_s?[_s,!1]:we>Ns?[Ns,!1]:[we,!0]}var Wo=Object(v.useRef)(),Co=Object(v.useState)(),ts=Object(d.a)(Co,2),No=ts[0],Ho=ts[1];function zr(){Ho(Date.now())}function Si(){window.clearTimeout(Wo.current)}ar(da,function(we,Be){var st=!1;function Bt(wr,Tr){wr(function(tn){var _n=is(tn+Tr),jn=Object(d.a)(_n,2),fi=jn[0],Ii=jn[1];return st=Ii,fi})}if(Yi){if(La>=Va)return st;Bt(ca,we)}else{if(ma>=Ua)return st;Bt(Ea,Be)}return Si(),zr(),st}),Object(v.useEffect)(function(){return Si(),No&&(Wo.current=window.setTimeout(function(){Ho(0)},100)),Si},[No]);function Ps(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ln,Be=Ls.get(we);if(!Be)return;if(Yi){var st=Ei;yn?Be.right<Ei?st=Be.right:Be.right+Be.width>Ei+La&&(st=Be.right+Be.width-La):Be.left<-Ei?st=-Be.left:Be.left+Be.width>-Ei+La&&(st=-(Be.left+Be.width-La)),Ea(0),ca(is(st)[0])}else{var Bt=ya;Be.top<-ya?Bt=-Be.top:Be.top+Be.height>-ya+ma&&(Bt=-(Be.top+Be.height-ma)),ca(0),Ea(is(Bt)[0])}}var Vs=x(Ls,{width:La,height:ma,left:Ei,top:ya},{width:Ka,height:mo},{width:Jo,height:hs},Object(n.a)(Object(n.a)({},mr),{},{tabs:xr})),Ms=Object(d.a)(Vs,2),so=Ms[0],wo=Ms[1],Vo=xr.map(function(we){var Be=we.key;return v.createElement(b,{id:kr,prefixCls:Gt,key:Be,rtl:yn,tab:we,closable:we.closable,editable:Gn,active:Be===ln,tabPosition:Ci,tabBarGutter:Qi,renderWrapper:ua,removeAriaLabel:ei==null?void 0:ei.removeAriaLabel,ref:Fa(Be),onClick:function(Bt){ha(Be,Bt)},onRemove:function(){ta(Be)},onFocus:function(){Ps(Be),zr(),yn||(da.current.scrollLeft=0),da.current.scrollTop=0}})}),Zo=h(function(){var we,Be,st,Bt,wr,Tr,tn,_n,jn,fi=((we=da.current)===null||we===void 0?void 0:we.offsetWidth)||0,Ii=((Be=da.current)===null||Be===void 0?void 0:Be.offsetHeight)||0,Vi=((st=na.current)===null||st===void 0?void 0:st.offsetWidth)||0,sa=((Bt=na.current)===null||Bt===void 0?void 0:Bt.offsetHeight)||0,wa=((wr=Mi.current)===null||wr===void 0?void 0:wr.offsetWidth)||0,Za=((Tr=Mi.current)===null||Tr===void 0?void 0:Tr.offsetHeight)||0;oo(fi),Mo(Ii),bo(Vi),Ao(sa);var to=(((tn=Wi.current)===null||tn===void 0?void 0:tn.offsetWidth)||0)-Vi,lo=(((_n=Wi.current)===null||_n===void 0?void 0:_n.offsetHeight)||0)-sa;uo(to),Da(lo);var _o=(jn=Mi.current)===null||jn===void 0?void 0:jn.className.includes(os);yo(to-(_o?0:wa)),go(lo-(_o?0:Za)),pl(function(){var ao=new Map;return xr.forEach(function(Do){var Ja=Do.key,Eo=Fa(Ja).current;Eo&&ao.set(Ja,{width:Eo.offsetWidth,height:Eo.offsetHeight,left:Eo.offsetLeft,top:Eo.offsetTop})}),ao})}),As=xr.slice(0,so),ws=xr.slice(wo+1),Ss=[].concat(Object(c.a)(As),Object(c.a)(ws)),Qs=Object(v.useState)(),Hs=Object(d.a)(Qs,2),Ys=Hs[0],Ds=Hs[1],rs=Ls.get(ln),xt=Object(v.useRef)();function Ot(){s.a.cancel(xt.current)}Object(v.useEffect)(function(){var we={};return rs&&(Yi?(yn?we.right=rs.right:we.left=rs.left,we.width=rs.width):(we.top=rs.top,we.height=rs.height)),Ot(),xt.current=s()(function(){Ds(we)}),Ot},[rs,Yi,yn]),Object(v.useEffect)(function(){Ps()},[ln,rs,Ls,Yi]),Object(v.useEffect)(function(){Zo()},[yn,Qi,ln,xr.map(function(we){return we.key}).join("_")]);var nn=!!Ss.length,On="".concat(Gt,"-nav-wrap"),$n,ft,oe,Ae;return Yi?yn?(ft=Ei>0,$n=Ei+La<Va):($n=Ei<0,ft=-Ei+La<Va):(oe=ya<0,Ae=-ya+ma<Ua),v.createElement("div",{ref:Dr,role:"tablist",className:a()("".concat(Gt,"-nav"),rr),style:Pr,onKeyDown:function(){zr()}},v.createElement(Hr,{position:"left",extra:Bn,prefixCls:Gt}),v.createElement(u.a,{onResize:Zo},v.createElement("div",{className:a()(On,(Gr={},Object(f.a)(Gr,"".concat(On,"-ping-left"),$n),Object(f.a)(Gr,"".concat(On,"-ping-right"),ft),Object(f.a)(Gr,"".concat(On,"-ping-top"),oe),Object(f.a)(Gr,"".concat(On,"-ping-bottom"),Ae),Gr)),ref:da},v.createElement(u.a,{onResize:Zo},v.createElement("div",{ref:Wi,className:"".concat(Gt,"-nav-list"),style:{transform:"translate(".concat(Ei,"px, ").concat(ya,"px)"),transition:No?"none":void 0}},Vo,v.createElement(Ki,{ref:na,prefixCls:Gt,locale:ei,editable:Gn,style:{visibility:nn?"hidden":null}}),v.createElement("div",{className:a()("".concat(Gt,"-ink-bar"),Object(f.a)({},"".concat(Gt,"-ink-bar-animated"),dn.inkBar)),style:Ys}))))),v.createElement(Kt,Object.assign({},mr,{ref:Mi,prefixCls:Gt,tabs:Ss,className:!nn&&os})),v.createElement(Hr,{position:"right",extra:Bn,prefixCls:Gt}))}var wn=v.forwardRef(an);function In(mr){var Dr=mr.id,Gr=mr.activeKey,Nr=mr.animated,Gt=mr.tabPosition,xr=mr.rtl,rr=mr.destroyInactiveTabPane,Pr=v.useContext(Zr),kr=Pr.prefixCls,dn=Pr.tabs,ln=Nr.tabPane,yn=dn.findIndex(function(Bn){return Bn.key===Gr});return v.createElement("div",{className:a()("".concat(kr,"-content-holder"))},v.createElement("div",{className:a()("".concat(kr,"-content"),"".concat(kr,"-content-").concat(Gt),Object(f.a)({},"".concat(kr,"-content-animated"),ln)),style:yn&&ln?Object(f.a)({},xr?"marginRight":"marginLeft","-".concat(yn,"00%")):null},dn.map(function(Bn){return v.cloneElement(Bn.node,{key:Bn.key,prefixCls:kr,tabKey:Bn.key,id:Dr,animated:ln,active:Bn.key===Gr,destroyInactiveTabPane:rr})})))}function Rn(mr){var Dr=mr.prefixCls,Gr=mr.forceRender,Nr=mr.className,Gt=mr.style,xr=mr.id,rr=mr.active,Pr=mr.animated,kr=mr.destroyInactiveTabPane,dn=mr.tabKey,ln=mr.children,yn=v.useState(Gr),Bn=Object(d.a)(yn,2),Gn=Bn[0],ei=Bn[1];v.useEffect(function(){rr?ei(!0):kr&&ei(!1)},[rr,kr]);var Ci={};return rr||(Pr?(Ci.visibility="hidden",Ci.height=0,Ci.overflowY="hidden"):Ci.display="none"),v.createElement("div",{id:xr&&"".concat(xr,"-panel-").concat(dn),role:"tabpanel",tabIndex:rr?0:-1,"aria-labelledby":xr&&"".concat(xr,"-tab-").concat(dn),"aria-hidden":!rr,style:Object(n.a)(Object(n.a)({},Ci),Gt),className:a()("".concat(Dr,"-tabpane"),rr&&"".concat(Dr,"-tabpane-active"),Nr)},(rr||Gn||Gr)&&ln)}var Nn=0;function vn(mr){return Object(o.a)(mr).map(function(Dr){if(v.isValidElement(Dr)){var Gr=Dr.key!==void 0?String(Dr.key):void 0;return Object(n.a)(Object(n.a)({key:Gr},Dr.props),{},{node:Dr})}return null}).filter(function(Dr){return Dr})}function Sn(mr,Dr){var Gr,Nr=mr.id,Gt=mr.prefixCls,xr=Gt===void 0?"rc-tabs":Gt,rr=mr.className,Pr=mr.children,kr=mr.direction,dn=mr.activeKey,ln=mr.defaultActiveKey,yn=mr.editable,Bn=mr.animated,Gn=mr.tabPosition,ei=Gn===void 0?"top":Gn,Ci=mr.tabBarGutter,Qi=mr.tabBarStyle,ua=mr.tabBarExtraContent,ha=mr.locale,la=mr.moreIcon,da=mr.moreTransitionName,Wi=mr.destroyInactiveTabPane,Mi=mr.renderTabBar,na=mr.onChange,ea=mr.onTabClick,_a=mr.onTabScroll,Fa=Object(l.a)(mr,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),ta=vn(Pr),Yi=kr==="rtl",ka;Bn===!1?ka={inkBar:!1,tabPane:!1}:ka=Object(n.a)({inkBar:!0,tabPane:!1},Bn!==!0?Bn:null);var ba=Object(v.useState)(!1),Ei=Object(d.a)(ba,2),ca=Ei[0],Ha=Ei[1];Object(v.useEffect)(function(){Ha(ur())},[]);var Pa=Object(r.a)(function(){var mo;return(mo=ta[0])===null||mo===void 0?void 0:mo.key},{value:dn,defaultValue:ln}),ya=Object(d.a)(Pa,2),Ea=ya[0],Ga=ya[1],Ta=Object(v.useState)(function(){return ta.findIndex(function(mo){return mo.key===Ea})}),Va=Object(d.a)(Ta,2),uo=Va[0],aa=Va[1];Object(v.useEffect)(function(){var mo=ta.findIndex(function(Ya){return Ya.key===Ea});if(mo===-1){var go;mo=Math.max(0,Math.min(uo,ta.length-1)),Ga((go=ta[mo])===null||go===void 0?void 0:go.key)}aa(mo)},[ta.map(function(mo){return mo.key}).join("_"),Ea,uo]);var po=Object(r.a)(null,{value:Nr}),Ua=Object(d.a)(po,2),Da=Ua[0],$a=Ua[1],Ma=ei;ca&&!["left","right"].includes(ei)&&(Ma="top"),Object(v.useEffect)(function(){Nr||($a("rc-tabs-".concat(Nn)),Nn+=1)},[]);function Ka(mo,go){ea==null||ea(mo,go),Ga(mo),na==null||na(mo)}var yo={id:Da,activeKey:Ea,animated:ka,tabPosition:Ma,rtl:Yi,mobile:ca},io,xo=Object(n.a)(Object(n.a)({},yo),{},{editable:yn,locale:ha,moreIcon:la,moreTransitionName:da,tabBarGutter:Ci,onTabClick:Ka,onTabScroll:_a,extra:ua,style:Qi,panes:Pr});return Mi?io=Mi(xo,wn):io=v.createElement(wn,Object.assign({},xo)),v.createElement(Zr.Provider,{value:{tabs:ta,prefixCls:xr}},v.createElement("div",Object.assign({ref:Dr,id:Nr,className:a()(xr,"".concat(xr,"-").concat(Ma),(Gr={},Object(f.a)(Gr,"".concat(xr,"-mobile"),ca),Object(f.a)(Gr,"".concat(xr,"-editable"),yn),Object(f.a)(Gr,"".concat(xr,"-rtl"),Yi),Gr),rr)},Fa),io,v.createElement(In,Object.assign({destroyInactiveTabPane:Wi},yo,{animated:ka}))))}var Tn=v.forwardRef(Sn);Tn.TabPane=Rn;var Kn=Tn,Qn=Kn,qn=i("cCPh"),bi=i.n(qn),gi=i("fNCr"),Ri=i.n(gi),Bi=i("V/uB"),xi=i.n(Bi),Ti=i("uaoM"),Di=i("H84U"),Pn=function(mr,Dr){var Gr={};for(var Nr in mr)Object.prototype.hasOwnProperty.call(mr,Nr)&&Dr.indexOf(Nr)<0&&(Gr[Nr]=mr[Nr]);if(mr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Nr=Object.getOwnPropertySymbols(mr);Gt<Nr.length;Gt++)Dr.indexOf(Nr[Gt])<0&&Object.prototype.propertyIsEnumerable.call(mr,Nr[Gt])&&(Gr[Nr[Gt]]=mr[Nr[Gt]]);return Gr};function _i(mr){var Dr,Gr=mr.type,Nr=mr.className,Gt=mr.size,xr=mr.onEdit,rr=mr.hideAdd,Pr=mr.centered,kr=mr.addIcon,dn=Pn(mr,["type","className","size","onEdit","hideAdd","centered","addIcon"]),ln=dn.prefixCls,yn=v.useContext(Di.b),Bn=yn.getPrefixCls,Gn=yn.direction,ei=Bn("tabs",ln),Ci;return Gr==="editable-card"&&(Ci={onEdit:function(ua,ha){var la=ha.key,da=ha.event;xr==null||xr(ua==="add"?da:la,ua)},removeIcon:v.createElement(xi.a,null),addIcon:kr||v.createElement(Ri.a,null),showAdd:rr!==!0}),Object(Ti.a)(!("onPrevClick"in dn)&&!("onNextClick"in dn),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(Qn,m()({direction:Gn},dn,{moreTransitionName:"slide-up",className:a()(Nr,(Dr={},p()(Dr,"".concat(ei,"-").concat(Gt),Gt),p()(Dr,"".concat(ei,"-card"),["card","editable-card"].includes(Gr)),p()(Dr,"".concat(ei,"-editable-card"),Gr==="editable-card"),p()(Dr,"".concat(ei,"-centered"),Pr),Dr)),editable:Ci,moreIcon:v.createElement(bi.a,null),prefixCls:ei}))}_i.TabPane=Rn;var ji=N.a=_i},ZTW2:function(B,N,i){},ZWlE:function(B,N,i){var y=i("bYtY"),m=i("4NO4");function E(f){p(f),v(f)}function p(f){if(f.parallel)return;var d=!1;y.each(f.series,function(l){l&&l.type==="parallel"&&(d=!0)}),d&&(f.parallel=[{}])}function v(f){var d=m.normalizeToArray(f.parallelAxis);y.each(d,function(l){if(!y.isObject(l))return;var n=l.parallelIndex||0,t=m.normalizeToArray(f.parallel)[n];t&&t.parallelAxisDefault&&y.merge(l,t.parallelAxisDefault,!1)})}B.exports=E},ZX9x:function(B,N,i){"use strict";i.d(N,"a",function(){return L}),i.d(N,"b",function(){return R});var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("lwsE"),f=i.n(v),d=i("W8MJ"),l=i.n(d),n=i("7W2i"),t=i.n(n),a=i("LQ03"),o=i.n(a),r=i("q1tI"),c=i("TSYQ"),e=i.n(c),s=i("BGR+"),u=i("T1rO"),h=i.n(u),g=i("fEPi"),A=i.n(g),w=i("DFhj"),b=i.n(w),S=i("PKem"),_=i("H84U"),T=function(V){return!isNaN(parseFloat(V))&&isFinite(V)},x=T,C=function(j,V){var D={};for(var H in j)Object.prototype.hasOwnProperty.call(j,H)&&V.indexOf(H)<0&&(D[H]=j[H]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,H=Object.getOwnPropertySymbols(j);P<H.length;P++)V.indexOf(H[P])<0&&Object.prototype.propertyIsEnumerable.call(j,H[P])&&(D[H[P]]=j[H[P]]);return D},I={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=r.createContext({}),M=function(){var j=0;return function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,"".concat(V).concat(j)}}(),k=function(j){t()(D,j);var V=o()(D);function D(H){var P;f()(this,D),P=V.call(this,H),P.responsiveHandler=function(G){P.setState({below:G.matches});var W=P.props.onBreakpoint,Z=P.state.collapsed;W&&W(G.matches),Z!==G.matches&&P.setCollapsed(G.matches,"responsive")},P.setCollapsed=function(G,W){"collapsed"in P.props||P.setState({collapsed:G});var Z=P.props.onCollapse;Z&&Z(G,W)},P.toggle=function(){var G=!P.state.collapsed;P.setCollapsed(G,"clickTrigger")},P.renderSider=function(G){var W,Z=G.getPrefixCls,J=P.props,ve=J.prefixCls,q=J.className,ce=J.theme,be=J.collapsible,Ce=J.reverseArrow,Fe=J.trigger,fe=J.style,Ne=J.width,Q=J.collapsedWidth,ae=J.zeroWidthTriggerStyle,Ue=J.children,te=C(J,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),X=P.state,z=X.collapsed,Y=X.below,pe=Z("layout-sider",ve),se=Object(s.default)(te,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Te=z?Q:Ne,Se=x(Te)?"".concat(Te,"px"):String(Te),ie=parseFloat(String(Q||0))===0?r.createElement("span",{onClick:P.toggle,className:e()("".concat(pe,"-zero-width-trigger"),"".concat(pe,"-zero-width-trigger-").concat(Ce?"right":"left")),style:ae},Fe||r.createElement(h.a,null)):null,de={expanded:Ce?r.createElement(A.a,null):r.createElement(b.a,null),collapsed:Ce?r.createElement(b.a,null):r.createElement(A.a,null)},_e=z?"collapsed":"expanded",We=de[_e],at=Fe!==null?ie||r.createElement("div",{className:"".concat(pe,"-trigger"),onClick:P.toggle,style:{width:Se}},Fe||We):null,tt=p()(p()({},fe),{flex:"0 0 ".concat(Se),maxWidth:Se,minWidth:Se,width:Se}),Oe=e()(q,pe,"".concat(pe,"-").concat(ce),(W={},m()(W,"".concat(pe,"-collapsed"),!!z),m()(W,"".concat(pe,"-has-trigger"),be&&Fe!==null&&!ie),m()(W,"".concat(pe,"-below"),!!Y),m()(W,"".concat(pe,"-zero-width"),parseFloat(Se)===0),W));return r.createElement("aside",p()({className:Oe},se,{style:tt}),r.createElement("div",{className:"".concat(pe,"-children")},Ue),be||Y&&ie?at:null)},P.uniqueId=M("ant-sider-");var K;typeof window!="undefined"&&(K=window.matchMedia),K&&H.breakpoint&&H.breakpoint in I&&(P.mql=K("(max-width: ".concat(I[H.breakpoint],")")));var U;return"collapsed"in H?U=H.collapsed:U=H.defaultCollapsed,P.state={collapsed:U,below:!1},P}return l()(D,[{key:"componentDidMount",value:function(){var P;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(P=this.props)===null||P===void 0||P.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var P,K;(P=this===null||this===void 0?void 0:this.mql)===null||P===void 0||P.removeListener(this.responsiveHandler),(K=this.props)===null||K===void 0||K.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var P=this.state.collapsed,K=this.props.collapsedWidth;return r.createElement(L.Provider,{value:{siderCollapsed:P,collapsedWidth:K}},r.createElement(_.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(P){return"collapsed"in P?{collapsed:P.collapsed}:null}}]),D}(r.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var R=function(j){t()(D,j);var V=o()(D);function D(){return f()(this,D),V.apply(this,arguments)}return l()(D,[{key:"render",value:function(){var P=this;return r.createElement(S.a.Consumer,null,function(K){return r.createElement(k,p()({},K,P.props))})}}]),D}(r.Component)},ZYIC:function(B,N,i){var y=i("zM3Q"),m={seriesType:"lines",plan:y(),reset:function(E){var p=E.coordinateSystem,v=E.get("polyline"),f=E.pipelineContext.large;function d(l,n){var t=[];if(f){var a,o=l.end-l.start;if(v){for(var r=0,c=l.start;c<l.end;c++)r+=E.getLineCoordsCount(c);a=new Float32Array(o+r*2)}else a=new Float32Array(o*4);for(var e=0,s=[],c=l.start;c<l.end;c++){var u=E.getLineCoords(c,t);v&&(a[e++]=u);for(var h=0;h<u;h++)s=p.dataToPoint(t[h],!1,s),a[e++]=s[0],a[e++]=s[1]}n.setLayout("linesPoints",a)}else for(var c=l.start;c<l.end;c++){var g=n.getItemModel(c),u=E.getLineCoords(c,t),A=[];if(v)for(var w=0;w<u;w++)A.push(p.dataToPoint(t[w]));else{A[0]=p.dataToPoint(t[0]),A[1]=p.dataToPoint(t[1]);var b=g.get("lineStyle.curveness");+b&&(A[2]=[(A[0][0]+A[1][0])/2-(A[0][1]-A[1][1])*b,(A[0][1]+A[1][1])/2-(A[1][0]-A[0][0])*b])}n.setItemLayout(c,A)}}return{progress:d}}};B.exports=m},Ze12:function(B,N,i){var y=i("ItGF"),m=i("hOwI"),E=m.buildTransformer,p="___zrEVENTSAVED",v=[];function f(a,o,r,c,e){return d(v,o,c,e,!0)&&d(a,r,v[0],v[1])}function d(a,o,r,c,e){if(o.getBoundingClientRect&&y.domSupported&&!t(o)){var s=o[p]||(o[p]={}),u=l(o,s),h=n(u,s,e);if(h)return h(a,r,c),!0}return!1}function l(a,o){var r=o.markers;if(r)return r;r=o.markers=[];for(var c=["left","right"],e=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),h=u.style,g=s%2,A=(s>>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[g]+":0",e[A]+":0",c[1-g]+":auto",e[1-A]+":auto",""].join("!important;"),a.appendChild(u),r.push(u)}return r}function n(a,o,r){for(var c=r?"invTrans":"trans",e=o[c],s=o.srcCoords,u=!0,h=[],g=[],A=0;A<4;A++){var w=a[A].getBoundingClientRect(),b=2*A,S=w.left,_=w.top;h.push(S,_),u=u&&s&&S===s[b]&&_===s[b+1],g.push(a[A].offsetLeft,a[A].offsetTop)}return u&&e?e:(o.srcCoords=h,o[c]=r?E(g,h):E(h,g))}function t(a){return a.nodeName.toUpperCase()==="CANVAS"}N.transformLocalCoord=f,N.transformCoordWithViewport=d,N.isCanvasEl=t},Znkb:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("zTMp"),v=E.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,a,o,r){this.axisPointerClass&&p.fixValue(t),v.superApply(this,"render",arguments),f(this,t,a,o,r,!0)},updateAxisPointer:function(t,a,o,r,c){f(this,t,a,o,r,!1)},remove:function(t,a){var o=this._axisPointer;o&&o.remove(a),v.superApply(this,"remove",arguments)},dispose:function(t,a){d(this,a),v.superApply(this,"dispose",arguments)}});function f(t,a,o,r,c,e){var s=v.getAxisPointerClass(t.axisPointerClass);if(!s)return;var u=p.getAxisPointerModel(a);u?(t._axisPointer||(t._axisPointer=new s)).render(a,u,r,e):d(t,r)}function d(t,a,o){var r=t._axisPointer;r&&r.dispose(a,o),t._axisPointer=null}var l=[];v.registerAxisPointerClass=function(t,a){l[t]=a},v.getAxisPointerClass=function(t){return t&&l[t]};var n=v;B.exports=n},"Znn+":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("9ama"),p=i.n(E)},ZqQs:function(B,N,i){var y=i("bYtY");function m(f){var d=f&&f.timeline;y.isArray(d)||(d=d?[d]:[]),y.each(d,function(l){if(!l)return;E(l)})}function E(f){var d=f.type,l={number:"value",time:"time"};if(l[d]&&(f.axisType=l[d],delete f.type),p(f),v(f,"controlPosition")){var n=f.controlStyle||(f.controlStyle={});v(n,"position")||(n.position=f.controlPosition),n.position==="none"&&!v(n,"show")&&(n.show=!1,delete n.position),delete f.controlPosition}y.each(f.data||[],function(t){y.isObject(t)&&!y.isArray(t)&&(!v(t,"value")&&v(t,"name")&&(t.value=t.name),p(t))})}function p(f){var d=f.itemStyle||(f.itemStyle={}),l=d.emphasis||(d.emphasis={}),n=f.label||f.label||{},t=n.normal||(n.normal={}),a={normal:1,emphasis:1};y.each(n,function(o,r){!a[r]&&!v(t,r)&&(t[r]=o)}),l.label&&!v(n,"emphasis")&&(n.emphasis=l.label,delete l.label)}function v(f,d){return f.hasOwnProperty(d)}B.exports=m},Zss7:function(B,N,i){var y;(function(m){var E=/^\s+/,p=/\s+$/,v=0,f=m.round,d=m.min,l=m.max,n=m.random;function t(fe,Ne){if(fe=fe||"",Ne=Ne||{},fe instanceof t)return fe;if(!(this instanceof t))return new t(fe,Ne);var Q=a(fe);this._originalInput=fe,this._r=Q.r,this._g=Q.g,this._b=Q.b,this._a=Q.a,this._roundA=f(100*this._a)/100,this._format=Ne.format||Q.format,this._gradientType=Ne.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=Q.ok,this._tc_id=v++}t.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 Ne=this.toRgb();return(Ne.r*299+Ne.g*587+Ne.b*114)/1e3},getLuminance:function(){var Ne=this.toRgb(),Q,ae,Ue,te,X,z;return Q=Ne.r/255,ae=Ne.g/255,Ue=Ne.b/255,Q<=.03928?te=Q/12.92:te=m.pow((Q+.055)/1.055,2.4),ae<=.03928?X=ae/12.92:X=m.pow((ae+.055)/1.055,2.4),Ue<=.03928?z=Ue/12.92:z=m.pow((Ue+.055)/1.055,2.4),.2126*te+.7152*X+.0722*z},setAlpha:function(Ne){return this._a=H(Ne),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Ne=e(this._r,this._g,this._b);return{h:Ne.h*360,s:Ne.s,v:Ne.v,a:this._a}},toHsvString:function(){var Ne=e(this._r,this._g,this._b),Q=f(Ne.h*360),ae=f(Ne.s*100),Ue=f(Ne.v*100);return this._a==1?"hsv("+Q+", "+ae+"%, "+Ue+"%)":"hsva("+Q+", "+ae+"%, "+Ue+"%, "+this._roundA+")"},toHsl:function(){var Ne=r(this._r,this._g,this._b);return{h:Ne.h*360,s:Ne.s,l:Ne.l,a:this._a}},toHslString:function(){var Ne=r(this._r,this._g,this._b),Q=f(Ne.h*360),ae=f(Ne.s*100),Ue=f(Ne.l*100);return this._a==1?"hsl("+Q+", "+ae+"%, "+Ue+"%)":"hsla("+Q+", "+ae+"%, "+Ue+"%, "+this._roundA+")"},toHex:function(Ne){return u(this._r,this._g,this._b,Ne)},toHexString:function(Ne){return"#"+this.toHex(Ne)},toHex8:function(Ne){return h(this._r,this._g,this._b,this._a,Ne)},toHex8String:function(Ne){return"#"+this.toHex8(Ne)},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(P(this._r,255)*100)+"%",g:f(P(this._g,255)*100)+"%",b:f(P(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(P(this._r,255)*100)+"%, "+f(P(this._g,255)*100)+"%, "+f(P(this._b,255)*100)+"%)":"rgba("+f(P(this._r,255)*100)+"%, "+f(P(this._g,255)*100)+"%, "+f(P(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:V[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(Ne){var Q="#"+g(this._r,this._g,this._b,this._a),ae=Q,Ue=this._gradientType?"GradientType = 1, ":"";if(Ne){var te=t(Ne);ae="#"+g(te._r,te._g,te._b,te._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ue+"startColorstr="+Q+",endColorstr="+ae+")"},toString:function(Ne){var Q=!!Ne;Ne=Ne||this._format;var ae=!1,Ue=this._a<1&&this._a>=0,te=!Q&&Ue&&(Ne==="hex"||Ne==="hex6"||Ne==="hex3"||Ne==="hex4"||Ne==="hex8"||Ne==="name");return te?Ne==="name"&&this._a===0?this.toName():this.toRgbString():(Ne==="rgb"&&(ae=this.toRgbString()),Ne==="prgb"&&(ae=this.toPercentageRgbString()),(Ne==="hex"||Ne==="hex6")&&(ae=this.toHexString()),Ne==="hex3"&&(ae=this.toHexString(!0)),Ne==="hex4"&&(ae=this.toHex8String(!0)),Ne==="hex8"&&(ae=this.toHex8String()),Ne==="name"&&(ae=this.toName()),Ne==="hsl"&&(ae=this.toHslString()),Ne==="hsv"&&(ae=this.toHsvString()),ae||this.toHexString())},clone:function(){return t(this.toString())},_applyModification:function(Ne,Q){var ae=Ne.apply(null,[this].concat([].slice.call(Q)));return this._r=ae._r,this._g=ae._g,this._b=ae._b,this.setAlpha(ae._a),this},lighten:function(){return this._applyModification(S,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(A,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Ne,Q){return Ne.apply(null,[this].concat([].slice.call(Q)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},t.fromRatio=function(fe,Ne){if(typeof fe=="object"){var Q={};for(var ae in fe)fe.hasOwnProperty(ae)&&(ae==="a"?Q[ae]=fe[ae]:Q[ae]=J(fe[ae]));fe=Q}return t(fe,Ne)};function a(fe){var Ne={r:0,g:0,b:0},Q=1,ae=null,Ue=null,te=null,X=!1,z=!1;return typeof fe=="string"&&(fe=Ce(fe)),typeof fe=="object"&&(be(fe.r)&&be(fe.g)&&be(fe.b)?(Ne=o(fe.r,fe.g,fe.b),X=!0,z=String(fe.r).substr(-1)==="%"?"prgb":"rgb"):be(fe.h)&&be(fe.s)&&be(fe.v)?(ae=J(fe.s),Ue=J(fe.v),Ne=s(fe.h,ae,Ue),X=!0,z="hsv"):be(fe.h)&&be(fe.s)&&be(fe.l)&&(ae=J(fe.s),te=J(fe.l),Ne=c(fe.h,ae,te),X=!0,z="hsl"),fe.hasOwnProperty("a")&&(Q=fe.a)),Q=H(Q),{ok:X,format:fe.format||z,r:d(255,l(Ne.r,0)),g:d(255,l(Ne.g,0)),b:d(255,l(Ne.b,0)),a:Q}}function o(fe,Ne,Q){return{r:P(fe,255)*255,g:P(Ne,255)*255,b:P(Q,255)*255}}function r(fe,Ne,Q){fe=P(fe,255),Ne=P(Ne,255),Q=P(Q,255);var ae=l(fe,Ne,Q),Ue=d(fe,Ne,Q),te,X,z=(ae+Ue)/2;if(ae==Ue)te=X=0;else{var Y=ae-Ue;X=z>.5?Y/(2-ae-Ue):Y/(ae+Ue);switch(ae){case fe:te=(Ne-Q)/Y+(Ne<Q?6:0);break;case Ne:te=(Q-fe)/Y+2;break;case Q:te=(fe-Ne)/Y+4;break}te/=6}return{h:te,s:X,l:z}}function c(fe,Ne,Q){var ae,Ue,te;fe=P(fe,360),Ne=P(Ne,100),Q=P(Q,100);function X(pe,se,Te){return Te<0&&(Te+=1),Te>1&&(Te-=1),Te<1/6?pe+(se-pe)*6*Te:Te<1/2?se:Te<2/3?pe+(se-pe)*(2/3-Te)*6:pe}if(Ne===0)ae=Ue=te=Q;else{var z=Q<.5?Q*(1+Ne):Q+Ne-Q*Ne,Y=2*Q-z;ae=X(Y,z,fe+1/3),Ue=X(Y,z,fe),te=X(Y,z,fe-1/3)}return{r:ae*255,g:Ue*255,b:te*255}}function e(fe,Ne,Q){fe=P(fe,255),Ne=P(Ne,255),Q=P(Q,255);var ae=l(fe,Ne,Q),Ue=d(fe,Ne,Q),te,X,z=ae,Y=ae-Ue;if(X=ae===0?0:Y/ae,ae==Ue)te=0;else{switch(ae){case fe:te=(Ne-Q)/Y+(Ne<Q?6:0);break;case Ne:te=(Q-fe)/Y+2;break;case Q:te=(fe-Ne)/Y+4;break}te/=6}return{h:te,s:X,v:z}}function s(fe,Ne,Q){fe=P(fe,360)*6,Ne=P(Ne,100),Q=P(Q,100);var ae=m.floor(fe),Ue=fe-ae,te=Q*(1-Ne),X=Q*(1-Ue*Ne),z=Q*(1-(1-Ue)*Ne),Y=ae%6,pe=[Q,X,te,te,z,Q][Y],se=[z,Q,Q,X,te,te][Y],Te=[te,te,z,Q,Q,X][Y];return{r:pe*255,g:se*255,b:Te*255}}function u(fe,Ne,Q,ae){var Ue=[Z(f(fe).toString(16)),Z(f(Ne).toString(16)),Z(f(Q).toString(16))];return ae&&Ue[0].charAt(0)==Ue[0].charAt(1)&&Ue[1].charAt(0)==Ue[1].charAt(1)&&Ue[2].charAt(0)==Ue[2].charAt(1)?Ue[0].charAt(0)+Ue[1].charAt(0)+Ue[2].charAt(0):Ue.join("")}function h(fe,Ne,Q,ae,Ue){var te=[Z(f(fe).toString(16)),Z(f(Ne).toString(16)),Z(f(Q).toString(16)),Z(ve(ae))];return Ue&&te[0].charAt(0)==te[0].charAt(1)&&te[1].charAt(0)==te[1].charAt(1)&&te[2].charAt(0)==te[2].charAt(1)&&te[3].charAt(0)==te[3].charAt(1)?te[0].charAt(0)+te[1].charAt(0)+te[2].charAt(0)+te[3].charAt(0):te.join("")}function g(fe,Ne,Q,ae){var Ue=[Z(ve(ae)),Z(f(fe).toString(16)),Z(f(Ne).toString(16)),Z(f(Q).toString(16))];return Ue.join("")}t.equals=function(fe,Ne){return!fe||!Ne?!1:t(fe).toRgbString()==t(Ne).toRgbString()},t.random=function(){return t.fromRatio({r:n(),g:n(),b:n()})};function A(fe,Ne){Ne=Ne===0?0:Ne||10;var Q=t(fe).toHsl();return Q.s-=Ne/100,Q.s=K(Q.s),t(Q)}function w(fe,Ne){Ne=Ne===0?0:Ne||10;var Q=t(fe).toHsl();return Q.s+=Ne/100,Q.s=K(Q.s),t(Q)}function b(fe){return t(fe).desaturate(100)}function S(fe,Ne){Ne=Ne===0?0:Ne||10;var Q=t(fe).toHsl();return Q.l+=Ne/100,Q.l=K(Q.l),t(Q)}function _(fe,Ne){Ne=Ne===0?0:Ne||10;var Q=t(fe).toRgb();return Q.r=l(0,d(255,Q.r-f(255*-(Ne/100)))),Q.g=l(0,d(255,Q.g-f(255*-(Ne/100)))),Q.b=l(0,d(255,Q.b-f(255*-(Ne/100)))),t(Q)}function T(fe,Ne){Ne=Ne===0?0:Ne||10;var Q=t(fe).toHsl();return Q.l-=Ne/100,Q.l=K(Q.l),t(Q)}function x(fe,Ne){var Q=t(fe).toHsl(),ae=(Q.h+Ne)%360;return Q.h=ae<0?360+ae:ae,t(Q)}function C(fe){var Ne=t(fe).toHsl();return Ne.h=(Ne.h+180)%360,t(Ne)}function I(fe){var Ne=t(fe).toHsl(),Q=Ne.h;return[t(fe),t({h:(Q+120)%360,s:Ne.s,l:Ne.l}),t({h:(Q+240)%360,s:Ne.s,l:Ne.l})]}function L(fe){var Ne=t(fe).toHsl(),Q=Ne.h;return[t(fe),t({h:(Q+90)%360,s:Ne.s,l:Ne.l}),t({h:(Q+180)%360,s:Ne.s,l:Ne.l}),t({h:(Q+270)%360,s:Ne.s,l:Ne.l})]}function M(fe){var Ne=t(fe).toHsl(),Q=Ne.h;return[t(fe),t({h:(Q+72)%360,s:Ne.s,l:Ne.l}),t({h:(Q+216)%360,s:Ne.s,l:Ne.l})]}function k(fe,Ne,Q){Ne=Ne||6,Q=Q||30;var ae=t(fe).toHsl(),Ue=360/Q,te=[t(fe)];for(ae.h=(ae.h-(Ue*Ne>>1)+720)%360;--Ne;)ae.h=(ae.h+Ue)%360,te.push(t(ae));return te}function R(fe,Ne){Ne=Ne||6;for(var Q=t(fe).toHsv(),ae=Q.h,Ue=Q.s,te=Q.v,X=[],z=1/Ne;Ne--;)X.push(t({h:ae,s:Ue,v:te})),te=(te+z)%1;return X}t.mix=function(fe,Ne,Q){Q=Q===0?0:Q||50;var ae=t(fe).toRgb(),Ue=t(Ne).toRgb(),te=Q/100,X={r:(Ue.r-ae.r)*te+ae.r,g:(Ue.g-ae.g)*te+ae.g,b:(Ue.b-ae.b)*te+ae.b,a:(Ue.a-ae.a)*te+ae.a};return t(X)},t.readability=function(fe,Ne){var Q=t(fe),ae=t(Ne);return(m.max(Q.getLuminance(),ae.getLuminance())+.05)/(m.min(Q.getLuminance(),ae.getLuminance())+.05)},t.isReadable=function(fe,Ne,Q){var ae=t.readability(fe,Ne),Ue,te;te=!1,Ue=Fe(Q);switch(Ue.level+Ue.size){case"AAsmall":case"AAAlarge":te=ae>=4.5;break;case"AAlarge":te=ae>=3;break;case"AAAsmall":te=ae>=7;break}return te},t.mostReadable=function(fe,Ne,Q){var ae=null,Ue=0,te,X,z,Y;Q=Q||{},X=Q.includeFallbackColors,z=Q.level,Y=Q.size;for(var pe=0;pe<Ne.length;pe++)te=t.readability(fe,Ne[pe]),te>Ue&&(Ue=te,ae=t(Ne[pe]));return t.isReadable(fe,ae,{level:z,size:Y})||!X?ae:(Q.includeFallbackColors=!1,t.mostReadable(fe,["#fff","#000"],Q))};var j=t.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"},V=t.hexNames=D(j);function D(fe){var Ne={};for(var Q in fe)fe.hasOwnProperty(Q)&&(Ne[fe[Q]]=Q);return Ne}function H(fe){return fe=parseFloat(fe),(isNaN(fe)||fe<0||fe>1)&&(fe=1),fe}function P(fe,Ne){G(fe)&&(fe="100%");var Q=W(fe);return fe=d(Ne,l(0,parseFloat(fe))),Q&&(fe=parseInt(fe*Ne,10)/100),m.abs(fe-Ne)<1e-6?1:fe%Ne/parseFloat(Ne)}function K(fe){return d(1,l(0,fe))}function U(fe){return parseInt(fe,16)}function G(fe){return typeof fe=="string"&&fe.indexOf(".")!=-1&&parseFloat(fe)===1}function W(fe){return typeof fe=="string"&&fe.indexOf("%")!=-1}function Z(fe){return fe.length==1?"0"+fe:""+fe}function J(fe){return fe<=1&&(fe=fe*100+"%"),fe}function ve(fe){return m.round(parseFloat(fe)*255).toString(16)}function q(fe){return U(fe)/255}var ce=function(){var fe="[-\\+]?\\d+%?",Ne="[-\\+]?\\d*\\.\\d+%?",Q="(?:"+Ne+")|(?:"+fe+")",ae="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?",Ue="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?";return{CSS_UNIT:new RegExp(Q),rgb:new RegExp("rgb"+ae),rgba:new RegExp("rgba"+Ue),hsl:new RegExp("hsl"+ae),hsla:new RegExp("hsla"+Ue),hsv:new RegExp("hsv"+ae),hsva:new RegExp("hsva"+Ue),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 be(fe){return!!ce.CSS_UNIT.exec(fe)}function Ce(fe){fe=fe.replace(E,"").replace(p,"").toLowerCase();var Ne=!1;if(j[fe])fe=j[fe],Ne=!0;else if(fe=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Q;return(Q=ce.rgb.exec(fe))?{r:Q[1],g:Q[2],b:Q[3]}:(Q=ce.rgba.exec(fe))?{r:Q[1],g:Q[2],b:Q[3],a:Q[4]}:(Q=ce.hsl.exec(fe))?{h:Q[1],s:Q[2],l:Q[3]}:(Q=ce.hsla.exec(fe))?{h:Q[1],s:Q[2],l:Q[3],a:Q[4]}:(Q=ce.hsv.exec(fe))?{h:Q[1],s:Q[2],v:Q[3]}:(Q=ce.hsva.exec(fe))?{h:Q[1],s:Q[2],v:Q[3],a:Q[4]}:(Q=ce.hex8.exec(fe))?{r:U(Q[1]),g:U(Q[2]),b:U(Q[3]),a:q(Q[4]),format:Ne?"name":"hex8"}:(Q=ce.hex6.exec(fe))?{r:U(Q[1]),g:U(Q[2]),b:U(Q[3]),format:Ne?"name":"hex"}:(Q=ce.hex4.exec(fe))?{r:U(Q[1]+""+Q[1]),g:U(Q[2]+""+Q[2]),b:U(Q[3]+""+Q[3]),a:q(Q[4]+""+Q[4]),format:Ne?"name":"hex8"}:(Q=ce.hex3.exec(fe))?{r:U(Q[1]+""+Q[1]),g:U(Q[2]+""+Q[2]),b:U(Q[3]+""+Q[3]),format:Ne?"name":"hex"}:!1}function Fe(fe){var Ne,Q;return fe=fe||{level:"AA",size:"small"},Ne=(fe.level||"AA").toUpperCase(),Q=(fe.size||"small").toLowerCase(),Ne!=="AA"&&Ne!=="AAA"&&(Ne="AA"),Q!=="small"&&Q!=="large"&&(Q="small"),{level:Ne,size:Q}}B.exports?B.exports=t:!(y=function(){return t}.call(N,i,N,B),y!==void 0&&(B.exports=y))})(Math)},Zvw2:function(B,N,i){var y=i("bYtY"),m=i("hM6l"),E=function(v,f,d,l,n){m.call(this,v,f,d),this.type=l||"value",this.position=n||"bottom",this.orient=null};E.prototype={constructor:E,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,f){return this.coordinateSystem.pointToData(v,f)[0]},toGlobalCoord:null,toLocalCoord:null},y.inherits(E,m);var p=E;B.exports=p},a7Wl:function(B,N,i){"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(B,N){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function y(m,E){if(m==="world"){var p=i[E.name];if(p){var v=E.center;v[0]=p[0],v[1]=p[1]}}}B.exports=y},aHsQ:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("6D9b"),p=i.n(E)},aKvl:function(B,N,i){var y=i("Sj9i"),m=y.quadraticProjectPoint;function E(p,v,f,d,l,n,t,a,o){if(t===0)return!1;var r=t;if(o>v+r&&o>d+r&&o>n+r||o<v-r&&o<d-r&&o<n-r||a>p+r&&a>f+r&&a>l+r||a<p-r&&a<f-r&&a<l-r)return!1;var c=m(p,v,f,d,l,n,a,o,null);return c<=r/2}N.containStroke=E},aTJb:function(B,N,i){var y=i("bLfw");y.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(B,N,i){var y=i("3gBT"),m=i("ItGF"),E=i("bYtY"),p=i("0s+r"),v=i("r6Bn"),f=i("7SHv"),d=i("MKOG"),l=i("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 n=!m.canvasSupported,t={canvas:f},a={},o="4.3.1";function r(g,A){var w=new h(y(),g,A);return a[w.id]=w,w}function c(g){if(g)g.dispose();else{for(var A in a)a.hasOwnProperty(A)&&a[A].dispose();a={}}return this}function e(g){return a[g]}function s(g,A){t[g]=A}function u(g){delete a[g]}var h=function(A,w,b){b=b||{},this.dom=w,this.id=A;var S=this,_=new v,T=b.renderer;if(n){if(!t.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");T="vml"}else(!T||!t[T])&&(T="canvas");var x=new t[T](w,_,b,A);this.storage=_,this.painter=x;var C=!m.node&&!m.worker?new l(x.getViewportRoot(),x.root):null;this.handler=new p(_,x,C,x.root),this.animation=new d({stage:{update:E.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=_.delFromStorage,L=_.addToStorage;_.delFromStorage=function(M){I.call(_,M),M&&M.removeSelfFromZr(S)},_.addToStorage=function(M){L.call(_,M),M.addSelfToZr(S)}};h.prototype={constructor:h,getId:function(){return this.id},add:function(A){this.storage.addRoot(A),this._needsRefresh=!0},remove:function(A){this.storage.delRoot(A),this._needsRefresh=!0},configLayer:function(A,w){this.painter.configLayer&&this.painter.configLayer(A,w),this._needsRefresh=!0},setBackgroundColor:function(A){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(A),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 A;this._needsRefresh&&(A=!0,this.refreshImmediately()),this._needsRefreshHover&&(A=!0,this.refreshHoverImmediately()),A&&this.trigger("rendered")},addHover:function(A,w){if(this.painter.addHover){var b=this.painter.addHover(A,w);return this.refreshHover(),b}},removeHover:function(A){this.painter.removeHover&&(this.painter.removeHover(A),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(A){A=A||{},this.painter.resize(A.width,A.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(A,w){return this.painter.pathToImage(A,w)},setCursorStyle:function(A){this.handler.setCursorStyle(A)},findHover:function(A,w){return this.handler.findHover(A,w)},on:function(A,w,b){this.handler.on(A,w,b)},off:function(A,w){this.handler.off(A,w)},trigger:function(A,w){this.handler.trigger(A,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=c,N.getInstance=e,N.registerPainter=s},aX7z:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("GMDS"),v=i("ieMj"),f=i("4NgU"),d=i("OELB"),l=i("nVfU"),n=l.prepareLayoutBarSeries,t=l.makeColumnLayout,a=l.retrieveColumnLayout,o=i("mFDi");i("IWp7"),i("jCoz");function r(_,T){var x=_.type,C=T.getMin(),I=T.getMax(),L=_.getExtent(),M,k,R;x==="ordinal"?M=T.getCategories().length:(k=T.get("boundaryGap"),E.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=d.parsePercent(k[0],1),k[1]=d.parsePercent(k[1],1),R=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 j=C!=null,V=I!=null;C==null&&(C=x==="ordinal"?M?0:NaN:L[0]-k[0]*R),I==null&&(I=x==="ordinal"?M?M-1:NaN:L[1]+k[1]*R),(C==null||!isFinite(C))&&(C=NaN),(I==null||!isFinite(I))&&(I=NaN),_.setBlank(E.eqNaN(C)||E.eqNaN(I)||x==="ordinal"&&!_.getOrdinalMeta().categories.length),T.getNeedCrossZero()&&(C>0&&I>0&&!j&&(C=0),C<0&&I<0&&!V&&(I=0));var D=T.ecModel;if(D&&x==="time"){var H=n("bar",D),P;if(E.each(H,function(G){P|=G.getBaseAxis()===T.axis}),P){var K=t(H),U=c(C,I,T,K);C=U.min,I=U.max}}return{extent:[C,I],fixMin:j,fixMax:V}}function c(_,T,x,C){var I=x.axis.getExtent(),L=I[1]-I[0],M=a(C,x.axis);if(M===void 0)return{min:_,max:T};var k=Infinity;E.each(M,function(P){k=Math.min(P.offset,k)});var R=-Infinity;E.each(M,function(P){R=Math.max(P.offset+P.width,R)}),k=Math.abs(k),R=Math.abs(R);var j=k+R,V=T-_,D=1-(k+R)/L,H=V/D-V;return T+=H*(R/j),_-=H*(k/j),{min:_,max:T}}function e(_,T){var x=r(_,T),C=x.extent,I=T.get("splitNumber");_.type==="log"&&(_.base=T.get("logBase"));var L=_.type;_.setExtent(C[0],C[1]),_.niceExtent({splitNumber:I,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:L==="interval"||L==="time"?T.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?T.get("maxInterval"):null});var M=T.get("interval");M!=null&&(_.setInterval&&_.setInterval(M))}function s(_,T){if(T=T||_.get("type"),T)switch(T){case"category":return new p(_.getOrdinalMeta?_.getOrdinalMeta():_.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(f.getClass(T)||v).create(_)}}function u(_){var T=_.scale.getExtent(),x=T[0],C=T[1];return!(x>0&&C>0||x<0&&C<0)}function h(_){var T=_.getLabelModel().get("formatter"),x=_.type==="category"?_.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(C){return function(I){return I=_.scale.getLabel(I),C.replace("{value}",I!=null?I:"")}}(T),T):typeof T=="function"?function(C,I){return x!=null&&(I=C-x),T(g(_,C),I)}:function(C){return _.scale.getLabel(C)}}function g(_,T){return _.type==="category"?_.scale.getLabel(T):T}function A(_){var T=_.model,x=_.scale;if(!T.get("axisLabel.show")||x.isBlank())return;var C=_.type==="category",I,L,M=x.getExtent();C?L=x.count():(I=x.getTicks(),L=I.length);var k=_.getLabelModel(),R=h(_),j,V=1;L>40&&(V=Math.ceil(L/40));for(var D=0;D<L;D+=V){var H=I?I[D]:M[0]+D,P=R(H),K=k.getTextRect(P),U=w(K,k.get("rotate")||0);j?j.union(U):j=U}return j}function w(_,T){var x=T*Math.PI/180,C=_.plain(),I=C.width,L=C.height,M=I*Math.cos(x)+L*Math.sin(x),k=I*Math.sin(x)+L*Math.cos(x),R=new o(C.x,C.y,M,k);return R}function b(_){var T=_.get("interval");return T==null?"auto":T}function S(_){return _.type==="category"&&b(_.getLabelModel())===0}N.getScaleExtent=r,N.niceScaleExtent=e,N.createScaleByModel=s,N.ifAxisCrossZero=u,N.makeLabelFormatter=h,N.getAxisRawValue=g,N.estimateLabelUnionRect=A,N.getOptionCategoryInterval=b,N.shouldShowAllLabels=S},"af/B":function(B,N,i){var y=i("bYtY"),m=y.each,E=y.map,p=y.isFunction,v=y.createHashMap,f=y.noop,d=i("9H2F"),l=d.createTask,n=i("iRjW"),t=n.getUID,a=i("fmMI"),o=i("hD7B"),r=i("4NO4"),c=r.normalizeToArray;function e(P,K,U,G){this.ecInstance=P,this.api=K,this.unfinished;var U=this._dataProcessorHandlers=U.slice(),G=this._visualHandlers=G.slice();this._allHandlers=U.concat(G),this._stageTaskMap=v()}var s=e.prototype;s.restoreData=function(P,K){P.restoreData(K),this._stageTaskMap.each(function(U){var G=U.overallTask;G&&G.dirty()})},s.getPerformArgs=function(P,K){if(!P.__pipeline)return;var U=this._pipelineMap.get(P.__pipeline.id),G=U.context,W=!K&&U.progressiveEnabled&&(!G||G.progressiveRender)&&P.__idxInPipeline>U.blockIndex,Z=W?U.step:null,J=G&&G.modDataCount,ve=J!=null?Math.ceil(J/Z):null;return{step:Z,modBy:ve,modDataCount:J}},s.getPipeline=function(P){return this._pipelineMap.get(P)},s.updateStreamModes=function(P,K){var U=this._pipelineMap.get(P.uid),G=P.getData(),W=G.count(),Z=U.progressiveEnabled&&K.incrementalPrepareRender&&W>=U.threshold,J=P.get("large")&&W>=P.get("largeThreshold"),ve=P.get("progressiveChunkMode")==="mod"?W:null;P.pipelineContext=U.context={progressiveRender:Z,modDataCount:ve,large:J}},s.restorePipelines=function(P){var K=this,U=K._pipelineMap=v();P.eachSeries(function(G){var W=G.getProgressive(),Z=G.uid;U.set(Z,{id:Z,head:null,tail:null,threshold:G.getProgressiveThreshold(),progressiveEnabled:W&&!(G.preventIncremental&&G.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),M(K,G,G.dataTask)})},s.prepareStageTasks=function(){var P=this._stageTaskMap,K=this.ecInstance.getModel(),U=this.api;m(this._allHandlers,function(G){var W=P.get(G.uid)||P.set(G.uid,[]);G.reset&&g(this,G,W,K,U),G.overallReset&&A(this,G,W,K,U)},this)},s.prepareView=function(P,K,U,G){var W=P.renderTask,Z=W.context;Z.model=K,Z.ecModel=U,Z.api=G,W.__block=!P.incrementalPrepareRender,M(this,K,W)},s.performDataProcessorTasks=function(P,K){u(this,this._dataProcessorHandlers,P,K,{block:!0})},s.performVisualTasks=function(P,K,U){u(this,this._visualHandlers,P,K,U)};function u(P,K,U,G,W){W=W||{};var Z;m(K,function(ve,q){if(W.visualType&&W.visualType!==ve.visualType)return;var ce=P._stageTaskMap.get(ve.uid),be=ce.seriesTaskMap,Ce=ce.overallTask;if(Ce){var Fe,fe=Ce.agentStubMap;fe.each(function(Q){J(W,Q)&&(Q.dirty(),Fe=!0)}),Fe&&Ce.dirty(),h(Ce,G);var Ne=P.getPerformArgs(Ce,W.block);fe.each(function(Q){Q.perform(Ne)}),Z|=Ce.perform(Ne)}else be&&be.each(function(Q,ae){J(W,Q)&&Q.dirty();var Ue=P.getPerformArgs(Q,W.block);Ue.skip=!ve.performRawSeries&&U.isSeriesFiltered(Q.context.model),h(Q,G),Z|=Q.perform(Ue)})});function J(ve,q){return ve.setDirty&&(!ve.dirtyMap||ve.dirtyMap.get(q.__pipeline.id))}P.unfinished|=Z}s.performSeriesTasks=function(P){var K;P.eachSeries(function(U){K|=U.dataTask.perform()}),this.unfinished|=K},s.plan=function(){this._pipelineMap.each(function(P){var K=P.tail;do{if(K.__block){P.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var h=s.updatePayload=function(P,K){K!=="remain"&&(P.context.payload=K)};function g(P,K,U,G,W){var Z=U.seriesTaskMap||(U.seriesTaskMap=v()),J=K.seriesType,ve=K.getTargetSeries;K.createOnAllSeries?G.eachRawSeries(q):J?G.eachRawSeriesByType(J,q):ve&&ve(G,W).each(q);function q(be){var Ce=be.uid,Fe=Z.get(Ce)||Z.set(Ce,l({plan:T,reset:x,count:L}));Fe.context={model:be,ecModel:G,api:W,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:P},M(P,be,Fe)}var ce=P._pipelineMap;Z.each(function(be,Ce){ce.get(Ce)||(be.dispose(),Z.removeKey(Ce))})}function A(P,K,U,G,W){var Z=U.overallTask=U.overallTask||l({reset:w});Z.context={ecModel:G,api:W,overallReset:K.overallReset,scheduler:P};var J=Z.agentStubMap=Z.agentStubMap||v(),ve=K.seriesType,q=K.getTargetSeries,ce=!0,be=K.modifyOutputEnd;ve?G.eachRawSeriesByType(ve,Ce):q?q(G,W).each(Ce):(ce=!1,m(G.getSeries(),Ce));function Ce(fe){var Ne=fe.uid,Q=J.get(Ne);Q||(Q=J.set(Ne,l({reset:b,onDirty:_})),Z.dirty()),Q.context={model:fe,overallProgress:ce,modifyOutputEnd:be},Q.agent=Z,Q.__block=ce,M(P,fe,Q)}var Fe=P._pipelineMap;J.each(function(fe,Ne){Fe.get(Ne)||(fe.dispose(),Z.dirty(),J.removeKey(Ne))})}function w(P){P.overallReset(P.ecModel,P.api,P.payload)}function b(P,K){return P.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function _(){this.agent&&this.agent.dirty()}function T(P){return P.plan&&P.plan(P.model,P.ecModel,P.api,P.payload)}function x(P){P.useClearVisual&&P.data.clearAllVisual();var K=P.resetDefines=c(P.reset(P.model,P.ecModel,P.api,P.payload));return K.length>1?E(K,function(U,G){return I(G)}):C}var C=I(0);function I(P){return function(K,U){var G=U.data,W=U.resetDefines[P];if(W&&W.dataEach)for(var Z=K.start;Z<K.end;Z++)W.dataEach(G,Z);else W&&W.progress&&W.progress(K,G)}}function L(P){return P.data.count()}function M(P,K,U){var G=K.uid,W=P._pipelineMap.get(G);!W.head&&(W.head=U),W.tail&&W.tail.pipe(U),W.tail=U,U.__idxInPipeline=W.count++,U.__pipeline=W}e.wrapStageHandler=function(P,K){return p(P)&&(P={overallReset:P,seriesType:k(P)}),P.uid=t("stageHandler"),K&&(P.visualType=K),P};function k(P){V=null;try{P(R,j)}catch(K){}return V}var R={},j={},V;D(R,a),D(j,o),R.eachSeriesByType=R.eachRawSeriesByType=function(P){V=P},R.eachComponent=function(P){P.mainType==="series"&&P.subType&&(V=P.subType)};function D(P,K){for(var U in K.prototype)P[U]=f}var H=e;B.exports=H},akwb:function(B,N,i){var y=i("RSch"),m=i("bYtY"),E=i("D9ME"),p=i("QBsz");function v(l,n,t){E.call(this,l,n,t),this._lastFrame=0,this._lastFramePercent=0}var f=v.prototype;f.createLine=function(l,n,t){return new y(l,n,t)},f.updateAnimationPoints=function(l,n){this._points=n;for(var t=[0],a=0,o=1;o<n.length;o++){var r=n[o-1],c=n[o];a+=p.dist(r,c),t.push(a)}if(a===0)return;for(var o=0;o<t.length;o++)t[o]/=a;this._offsets=t,this._length=a},f.getLineLength=function(l){return this._length},f.updateSymbolPosition=function(l){var n=l.__t,t=this._points,a=this._offsets,o=t.length;if(!a)return;var r=this._lastFrame,c;if(n<this._lastFramePercent){var e=Math.min(r+1,o-1);for(c=e;c>=0&&!(a[c]<=n);c--);c=Math.min(c,o-2)}else{for(var c=r;c<o&&!(a[c]>n);c++);c=Math.min(c-1,o-2)}p.lerp(l.position,t[c],t[c+1],(n-a[c])/(a[c+1]-a[c]));var s=t[c+1][0]-t[c][0],u=t[c+1][1]-t[c][1];l.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=n,l.ignore=!1},m.inherits(v,E);var d=v;B.exports=d},apAg:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("bsht")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="SearchOutlined";var l=p.forwardRef(d);N.default=l},as94:function(B,N,i){var y=i("7aKB"),m=i("3LNs"),E=i("IwbS"),p=i("/y7N"),v=i("Fofx"),f=i("+rIm"),d=i("Znkb"),l=m.extend({makeElOption:function(o,r,c,e,s){var u=c.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=u.polar,g=h.getOtherAxis(u),A=g.getExtent(),w;w=u["dataTo"+y.capitalFirst(u.dim)](r);var b=e.get("type");if(b&&b!=="none"){var S=p.buildElStyle(e),_=t[b](u,h,w,A,S);_.style=S,o.graphicKey=_.type,o.pointer=_}var T=e.get("label.margin"),x=n(r,c,e,h,T);p.buildLabelElOption(o,c,e,s,x)}});function n(o,r,c,e,s){var u=r.axis,h=u.dataToCoord(o),g=e.getAngleAxis().getExtent()[0];g=g/180*Math.PI;var A=e.getRadiusAxis().getExtent(),w,b,S;if(u.dim==="radius"){var _=v.create();v.rotate(_,_,g),v.translate(_,_,[e.cx,e.cy]),w=E.applyTransform([h,-s],_);var T=r.getModel("axisLabel").get("rotate")||0,x=f.innerTextLayout(g,T*Math.PI/180,-1);b=x.textAlign,S=x.textVerticalAlign}else{var C=A[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",S=Math.abs(w[1]-L)/C<.3?"middle":w[1]>L?"top":"bottom"}return{position:w,align:b,verticalAlign:S}}var t={line:function(o,r,c,e,s){return o.dim==="angle"?{type:"Line",shape:p.makeLineShape(r.coordToPoint([e[0],c]),r.coordToPoint([e[1],c]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:c}}},shadow:function(o,r,c,e,s){var u=Math.max(1,o.getBandWidth()),h=Math.PI/180;return o.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(r.cx,r.cy,e[0],e[1],(-c-u/2)*h,(-c+u/2)*h)}:{type:"Sector",shape:p.makeSectorShape(r.cx,r.cy,c-u/2,c+u/2,0,Math.PI*2)}}};d.registerAxisPointerClass("PolarAxisPointer",l);var a=l;B.exports=a},b56q:function(B,N,i){},b80e:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("gKaM")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="DoubleLeftOutlined";var l=p.forwardRef(d);N.default=l},b9oc:function(B,N,i){var y=i("bYtY"),m=y.each,E="\0_ec_hist_store";function p(n,t){var a=l(n);m(t,function(o,r){for(var c=a.length-1;c>=0;c--){var e=a[c];if(e[r])break}if(c<0){var s=n.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(s){var u=s.getPercentRange();a[0][r]={dataZoomId:r,start:u[0],end:u[1]}}}}),a.push(t)}function v(n){var t=l(n),a=t[t.length-1];t.length>1&&t.pop();var o={};return m(a,function(r,c){for(var e=t.length-1;e>=0;e--){var r=t[e][c];if(r){o[c]=r;break}}}),o}function f(n){n[E]=null}function d(n){return l(n).length}function l(n){var t=n[E];return t||(t=n[E]=[{}]),t}N.push=p,N.pop=v,N.clear=f,N.count=d},bBKM:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("+rIm"),f=i("IwbS"),d=["axisLine","axisTickLabel","axisName"],l=E.extendComponentView({type:"radar",render:function(n,t,a){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},_buildAxes:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes(),o=p.map(a,function(r){var c=new v(r.model,{position:[t.cx,t.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return c});p.each(o,function(r){p.each(d,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(n){var t=n.coordinateSystem,a=t.getIndicatorAxes();if(!a.length)return;var o=n.get("shape"),r=n.getModel("splitLine"),c=n.getModel("splitArea"),e=r.getModel("lineStyle"),s=c.getModel("areaStyle"),u=r.get("show"),h=c.get("show"),g=e.get("color"),A=s.get("color");g=p.isArray(g)?g:[g],A=p.isArray(A)?A:[A];var w=[],b=[];function S(H,P,K){var U=K%P.length;return H[U]=H[U]||[],U}if(o==="circle")for(var _=a[0].getTicksCoords(),T=t.cx,x=t.cy,C=0;C<_.length;C++){if(u){var I=S(w,g,C);w[I].push(new f.Circle({shape:{cx:T,cy:x,r:_[C].coord}}))}if(h&&C<_.length-1){var I=S(b,A,C);b[I].push(new f.Ring({shape:{cx:T,cy:x,r0:_[C].coord,r:_[C+1].coord}}))}}else for(var L,M=p.map(a,function(H,P){var K=H.getTicksCoords();return L=L==null?K.length-1:Math.min(K.length-1,L),p.map(K,function(U){return t.coordToPoint(U.coord,P)})}),k=[],C=0;C<=L;C++){for(var R=[],j=0;j<a.length;j++)R.push(M[j][C]);if(R[0]&&R.push(R[0].slice()),u){var I=S(w,g,C);w[I].push(new f.Polyline({shape:{points:R}}))}if(h&&k){var I=S(b,A,C-1);b[I].push(new f.Polygon({shape:{points:R.concat(k)}}))}k=R.slice().reverse()}var V=e.getLineStyle(),D=s.getAreaStyle();p.each(b,function(H,P){this.group.add(f.mergePath(H,{style:p.defaults({stroke:"none",fill:A[P%A.length]},D),silent:!0}))},this),p.each(w,function(H,P){this.group.add(f.mergePath(H,{style:p.defaults({fill:"none",stroke:g[P%g.length]},V),silent:!0}))},this)}});B.exports=l},bBL8:function(B,N,i){var y=i("ProS");i("LPzL"),i("rfSb"),i("JVwQ");var m=i("UnoB"),E=i("cbJ4"),p=i("0/Rx");y.registerLayout(m),y.registerVisual(E),y.registerProcessor(p("themeRiver"))},bE4E:function(B,N,i){},bE4q:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("RIqP"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("Zm9Q"),a=i("HQEm"),o=i.n(a),r=i("XBQK"),c=i("H84U"),e=function(k,R){var j={};for(var V in k)Object.prototype.hasOwnProperty.call(k,V)&&R.indexOf(V)<0&&(j[V]=k[V]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(k);D<V.length;D++)R.indexOf(V[D])<0&&Object.prototype.propertyIsEnumerable.call(k,V[D])&&(j[V[D]]=k[V[D]]);return j},s=function(R){var j=R.prefixCls,V=R.separator,D=V===void 0?"/":V,H=R.children,P=R.overlay,K=R.dropdownProps,U=e(R,["prefixCls","separator","children","overlay","dropdownProps"]),G=d.useContext(c.b),W=G.getPrefixCls,Z=W("breadcrumb",j),J=function(ce){return P?d.createElement(r.a,m()({overlay:P,placement:"bottomCenter"},K),d.createElement("span",{className:"".concat(Z,"-overlay-link")},ce,d.createElement(o.a,null))):ce},ve;return"href"in U?ve=d.createElement("a",m()({className:"".concat(Z,"-link")},U),H):ve=d.createElement("span",m()({className:"".concat(Z,"-link")},U),H),ve=J(ve),H?d.createElement("span",null,ve,D&&D!==""&&d.createElement("span",{className:"".concat(Z,"-separator")},D)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,h=function(R){var j=R.children,V=d.useContext(c.b),D=V.getPrefixCls,H=D("breadcrumb");return d.createElement("span",{className:"".concat(H,"-separator")},j||"/")};h.__ANT_BREADCRUMB_SEPARATOR=!0;var g=h,A=i("BvKs"),w=i("uaoM"),b=i("0n0R"),S=function(k,R){var j={};for(var V in k)Object.prototype.hasOwnProperty.call(k,V)&&R.indexOf(V)<0&&(j[V]=k[V]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(k);D<V.length;D++)R.indexOf(V[D])<0&&Object.prototype.propertyIsEnumerable.call(k,V[D])&&(j[V[D]]=k[V[D]]);return j};function _(k,R){if(!k.breadcrumbName)return null;var j=Object.keys(R).join("|"),V=k.breadcrumbName.replace(new RegExp(":(".concat(j,")"),"g"),function(D,H){return R[H]||D});return V}function T(k,R,j,V){var D=j.indexOf(k)===j.length-1,H=_(k,R);return D?d.createElement("span",null,H):d.createElement("a",{href:"#/".concat(V.join("/"))},H)}var x=function(R,j){return R=(R||"").replace(/^\//,""),Object.keys(j).forEach(function(V){R=R.replace(":".concat(V),j[V])}),R},C=function(R){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",V=arguments.length>2?arguments[2]:void 0,D=f()(R),H=x(j,V);return H&&D.push(H),D},I=function(R){var j=R.prefixCls,V=R.separator,D=V===void 0?"/":V,H=R.style,P=R.className,K=R.routes,U=R.children,G=R.itemRender,W=G===void 0?T:G,Z=R.params,J=Z===void 0?{}:Z,ve=S(R,["prefixCls","separator","style","className","routes","children","itemRender","params"]),q=d.useContext(c.b),ce=q.getPrefixCls,be=q.direction,Ce,Fe=ce("breadcrumb",j);if(K&&K.length>0){var fe=[];Ce=K.map(function(Q){var ae=x(Q.path,J);ae&&fe.push(ae);var Ue;return Q.children&&Q.children.length&&(Ue=d.createElement(A.a,null,Q.children.map(function(te){return d.createElement(A.a.Item,{key:te.path||te.breadcrumbName},W(te,J,K,C(fe,te.path,J)))}))),d.createElement(u,{overlay:Ue,separator:D,key:ae||Q.breadcrumbName},W(Q,J,K,fe))})}else U&&(Ce=Object(t.a)(U).map(function(Q,ae){return Q&&(Object(w.a)(Q.type&&(Q.type.__ANT_BREADCRUMB_ITEM===!0||Q.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(b.a)(Q,{separator:D,key:ae}))}));var Ne=n()(P,Fe,p()({},"".concat(Fe,"-rtl"),be==="rtl"));return d.createElement("div",m()({className:Ne,style:H},ve),Ce)};I.Item=u,I.Separator=g;var L=I,M=N.a=L},bKJz:function(B,N,i){},bLfw:function(B,N,i){var y=i("bYtY"),m=i("Qxkt"),E=i("iRjW"),p=i("Yl7c"),v=p.enableClassManagement,f=p.parseClassType,d=i("4NO4"),l=d.makeInner,n=i("+TT/"),t=i("3hzK"),a=l(),o=m.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,s,u,h){m.call(this,e,s,u,h),this.uid=E.getUID("ec_cpt_model")},init:function(e,s,u,h){this.mergeDefaultAndTheme(e,u)},mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,h=u?n.getLayoutParams(e):{},g=s.getTheme();y.merge(e,g.get(this.mainType)),y.merge(e,this.getDefaultOption()),u&&n.mergeLayoutParam(e,h,u)},mergeOption:function(e,s){y.merge(this.option,e,!0);var u=this.layoutMode;u&&n.mergeLayoutParam(this.option,e,u)},optionUpdated:function(e,s){},getDefaultOption:function(){var e=a(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 g={},A=s.length-1;A>=0;A--)g=y.merge(g,s[A],!0);e.defaultOption=g}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});v(o,{registerWhenExtend:!0}),E.enableSubTypeDefaulter(o),E.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,t);var c=o;B.exports=c},bMXI:function(B,N,i){var y=i("bYtY"),m=i("QBsz"),E=i("Fofx"),p=i("mFDi"),v=i("DN4a"),f=m.applyTransform;function d(){v.call(this)}y.mixin(d,v);function l(a){this.name=a,this.zoomLimit,v.call(this),this._roamTransformable=new d,this._rawTransformable=new d,this._center,this._zoom}l.prototype={constructor:l,type:"view",dimensions:["x","y"],setBoundingRect:function(a,o,r,c){return this._rect=new p(a,o,r,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,o,r,c){this.transformTo(a,o,r,c),this._viewRect=new p(a,o,r,c)},transformTo:function(a,o,r,c){var e=this.getBoundingRect(),s=this._rawTransformable;s.transform=e.calculateTransform(new p(a,o,r,c)),s.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var o=this.zoomLimit;o&&(o.max!=null&&(a=Math.min(o.max,a)),o.min!=null&&(a=Math.max(o.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),o=a.x+a.width/2,r=a.y+a.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 a=this._rawTransformable.getLocalTransform(),o=this._roamTransformable,r=this.getDefaultCenter(),c=this.getCenter(),e=this.getZoom();c=m.applyTransform([],c,a),r=m.applyTransform([],r,a),o.origin=c,o.position=[r[0]-c[0],r[1]-c[1]],o.scale=[e,e],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,o=this._rawTransformable;o.parent=a,a.updateTransform(),o.updateTransform(),E.copy(this.transform||(this.transform=[]),o.transform||E.create()),this._rawTransform=o.getLocalTransform(),this.invTransform=this.invTransform||[],E.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,o=this._rawTransformable;return{roamTransform:a?y.slice(a):E.create(),rawScale:y.slice(o.scale),rawPosition:y.slice(o.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,o,r){var c=o?this._rawTransform:this.transform;return r=r||[],c?f(r,a,c):m.copy(r,a)},pointToData:function(a){var o=this.invTransform;return o?f([],a,o):[a[0],a[1]]},convertToPixel:y.curry(n,"dataToPoint"),convertFromPixel:y.curry(n,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},y.mixin(l,v);function n(a,o,r,c){var e=r.seriesModel,s=e?e.coordinateSystem:null;return s===this?s[a](c):null}var t=l;B.exports=t},bNin:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("FBjb"),p=i("Itpr"),v=p.radialCoordinate,f=i("ProS"),d=i("4mN7"),l=i("bMXI"),n=i("Ae+d"),t=i("SgGq"),a=i("xSat"),o=a.onIrrelevantElement,r=i("Tghj"),c=r.__DEV__,e=i("OELB"),s=e.parsePercent,u=m.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,x){var C=x.childPoints,I=C.length,L=x.parentPoint,M=C[0],k=C[I-1];if(I===1){T.moveTo(L[0],L[1]),T.lineTo(M[0],M[1]);return}var R=x.orient,j=R==="TB"||R==="BT"?0:1,V=1-j,D=s(x.forkPosition,1),H=[];H[j]=L[j],H[V]=L[V]+(k[V]-L[V])*D,T.moveTo(L[0],L[1]),T.lineTo(H[0],H[1]),T.moveTo(M[0],M[1]),H[j]=M[j],T.lineTo(H[0],H[1]),H[j]=k[j],T.lineTo(H[0],H[1]),T.lineTo(k[0],k[1]);for(var P=1;P<I-1;P++){var K=C[P];T.moveTo(K[0],K[1]),H[j]=K[j],T.lineTo(H[0],H[1])}}}),h=f.extendChartView({type:"tree",init:function(T,x){this._oldTree,this._mainGroup=new m.Group,this._controller=new t(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(T,x,C,I){var L=T.getData(),M=T.layoutInfo,k=this._mainGroup,R=T.get("layout");R==="radial"?k.attr("position",[M.x+M.width/2,M.y+M.height/2]):k.attr("position",[M.x,M.y]),this._updateViewCoordSys(T,M,R),this._updateController(T,x,C);var j=this._data,V={expandAndCollapse:T.get("expandAndCollapse"),layout:R,edgeShape:T.get("edgeShape"),edgeForkPosition:T.get("edgeForkPosition"),orient:T.getOrient(),curvature:T.get("lineStyle.curveness"),symbolRotate:T.get("symbolRotate"),symbolOffset:T.get("symbolOffset"),hoverAnimation:T.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(j).add(function(D){g(L,D)&&w(L,D,null,k,T,V)}).update(function(D,H){var P=j.getItemGraphicEl(H);if(!g(L,D)){P&&S(j,H,P,k,T,V);return}w(L,D,P,k,T,V)}).remove(function(D){var H=j.getItemGraphicEl(D);H&&S(j,D,H,k,T,V)}).execute(),this._nodeScaleRatio=T.get("nodeScaleRatio"),this._updateNodeAndLinkScale(T),V.expandAndCollapse===!0&&L.eachItemGraphicEl(function(D,H){D.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:T.id,dataIndex:H})})}),this._data=L},_updateViewCoordSys:function(T){var x=T.getData(),C=[];x.each(function(j){var V=x.getItemLayout(j);V&&!isNaN(V.x)&&!isNaN(V.y)&&C.push([+V.x,+V.y])});var I=[],L=[];d.fromPoints(C,I,L);var M=this._min,k=this._max;L[0]-I[0]===0&&(I[0]=M?M[0]:I[0]-1,L[0]=k?k[0]:L[0]+1),L[1]-I[1]===0&&(I[1]=M?M[1]:I[1]-1,L[1]=k?k[1]:L[1]+1);var R=T.coordinateSystem=new l;R.zoomLimit=T.get("scaleLimit"),R.setBoundingRect(I[0],I[1],L[0]-I[0],L[1]-I[1]),R.setCenter(T.get("center")),R.setZoom(T.get("zoom")),this.group.attr({position:R.position,scale:R.scale}),this._viewCoordSys=R,this._min=I,this._max=L},_updateController:function(T,x,C){var I=this._controller,L=this._controllerHost,M=this.group;I.setPointerChecker(function(k,R,j){var V=M.getBoundingRect();return V.applyTransform(M.transform),V.contain(R,j)&&!o(k,C,T)}),I.enable(T.get("roam")),L.zoomLimit=T.get("scaleLimit"),L.zoom=T.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(k){n.updateViewOnPan(L,k.dx,k.dy),C.dispatchAction({seriesId:T.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){n.updateViewOnZoom(L,k.scale,k.originX,k.originY),C.dispatchAction({seriesId:T.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(T)},this)},_updateNodeAndLinkScale:function(T){var x=T.getData(),C=this._getNodeGlobalScale(T),I=[C,C];x.eachItemGraphicEl(function(L,M){L.attr("scale",I)})},_getNodeGlobalScale:function(T){var x=T.coordinateSystem;if(x.type!=="view")return 1;var C=this._nodeScaleRatio,I=x.scale,L=I&&I[0]||1,M=x.getZoom(),k=(M-1)*C+1;return k/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function g(T,x){var C=T.getItemLayout(x);return C&&!isNaN(C.x)&&!isNaN(C.y)&&T.getItemVisual(x,"symbol")!=="none"}function A(T,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"),T.isExpand===!1&&T.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function w(T,x,C,I,L,M){var k=!C,R=T.tree.getNodeByDataIndex(x),j=R.getModel(),M=A(R,j,M),V=T.tree.root,D=R.parentNode===V?R:R.parentNode||R,H=T.getItemGraphicEl(D.dataIndex),P=D.getLayout(),K=H?{x:H.position[0],y:H.position[1],rawX:H.__radialOldRawX,rawY:H.__radialOldRawY}:P,U=R.getLayout();k?(C=new E(T,x,M),C.attr("position",[K.x,K.y])):C.updateData(T,x,M),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=U.rawX,C.__radialRawY=U.rawY,I.add(C),T.setItemGraphicEl(x,C),m.updateProps(C,{position:[U.x,U.y]},L);var G=C.getSymbolPath();if(M.layout==="radial"){var W=V.children[0],Z=W.getLayout(),J=W.children.length,ve,q;if(U.x===Z.x&&R.isExpand===!0){var ce={};ce.x=(W.children[0].getLayout().x+W.children[J-1].getLayout().x)/2,ce.y=(W.children[0].getLayout().y+W.children[J-1].getLayout().y)/2,ve=Math.atan2(ce.y-Z.y,ce.x-Z.x),ve<0&&(ve=Math.PI*2+ve),q=ce.x<Z.x,q&&(ve=ve-Math.PI)}else ve=Math.atan2(U.y-Z.y,U.x-Z.x),ve<0&&(ve=Math.PI*2+ve),R.children.length===0||R.children.length!==0&&R.isExpand===!1?(q=U.x<Z.x,q&&(ve=ve-Math.PI)):(q=U.x>Z.x,q||(ve=ve-Math.PI));var be=q?"left":"right",Ce=M.labelModel.get("rotate"),Fe=Ce*(Math.PI/180);G.setStyle({textPosition:M.labelModel.get("position")||be,textRotation:Ce==null?-ve:Fe,textOrigin:"center",verticalAlign:"middle"})}b(L,R,V,C,K,P,U,I,M)}function b(T,x,C,I,L,M,k,R,j){var V=j.edgeShape,D=I.__edge;if(V==="curve")x.parentNode&&x.parentNode!==C&&(D||(D=I.__edge=new m.BezierCurve({shape:_(j,L,L),style:y.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),m.updateProps(D,{shape:_(j,M,k),style:{opacity:1}},T));else if(V==="polyline"&&(j.layout==="orthogonal"&&(x!==C&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var H=x.children,P=[],K=0;K<H.length;K++){var U=H[K].getLayout();P.push([U.x,U.y])}D||(D=I.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:j.orient,forkPosition:j.edgeForkPosition},style:y.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),m.updateProps(D,{shape:{parentPoint:[k.x,k.y],childPoints:P},style:{opacity:1}},T)}R.add(D)}function S(T,x,C,I,L,M){for(var k=T.tree.getNodeByDataIndex(x),R=T.tree.root,j=k.getModel(),M=A(k,j,M),V=k.parentNode===R?k:k.parentNode||k,D=M.edgeShape,H;H=V.getLayout(),H==null;)V=V.parentNode===R?V:V.parentNode||V;m.updateProps(C,{position:[H.x+1,H.y+1]},L,function(){I.remove(C),T.setItemGraphicEl(x,null)}),C.fadeOut(null,{keepLabel:!0});var P=T.getItemGraphicEl(V.dataIndex),K=P.__edge,U=C.__edge||(V.isExpand===!1||V.children.length===1?K:void 0),D=M.edgeShape;U&&(D==="curve"?m.updateProps(U,{shape:_(M,H,H),style:{opacity:0}},L,function(){I.remove(U)}):D==="polyline"&&M.layout==="orthogonal"&&m.updateProps(U,{shape:{parentPoint:[H.x,H.y],childPoints:[[H.x,H.y]]},style:{opacity:0}},L,function(){I.remove(U)}))}function _(T,x,C){var I,L,M,k,R=T.orient,j,V,D,H;if(T.layout==="radial"){j=x.rawX,D=x.rawY,V=C.rawX,H=C.rawY;var P=v(j,D),K=v(j,D+(H-D)*T.curvature),U=v(V,H+(D-H)*T.curvature),G=v(V,H);return{x1:P.x,y1:P.y,x2:G.x,y2:G.y,cpx1:K.x,cpy1:K.y,cpx2:U.x,cpy2:U.y}}else j=x.x,D=x.y,V=C.x,H=C.y,(R==="LR"||R==="RL")&&(I=j+(V-j)*T.curvature,L=D,M=V+(j-V)*T.curvature,k=H),(R==="TB"||R==="BT")&&(I=j,L=D+(H-D)*T.curvature,M=V,k=H+(D-H)*T.curvature);return{x1:j,y1:D,x2:V,y2:H,cpx1:I,cpy1:L,cpx2:M,cpy2:k}}B.exports=h},bRQS:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CheckOutlined";var d=N.a=m.forwardRef(f)},bT9E:function(B,N,i){"use strict";i.d(N,"a",function(){return m});var y=i("VTBJ");function m(E,p){var v=Object(y.a)({},E);return Array.isArray(p)&&p.forEach(function(f){delete v[f]}),v}},bX4T:function(B,N,i){"use strict";i.d(N,"a",function(){return l});var y=i("VTBJ"),m=`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`,E=`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`,p="".concat(m," ").concat(E).split(/[\s\n]+/),v="aria-",f="data-";function d(n,t){return n.indexOf(t)===0}function l(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a;t===!1?a={aria:!0,data:!0,attr:!0}:t===!0?a={aria:!0}:a=Object(y.a)({},t);var o={};return Object.keys(n).forEach(function(r){(a.aria&&(r==="role"||d(r,v))||a.data&&d(r,f)||a.attr&&p.includes(r))&&(o[r]=n[r])}),o}},bYtY:function(B,N){var i={"[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},m=Object.prototype.toString,E=Array.prototype,p=E.forEach,v=E.filter,f=E.slice,d=E.map,l=E.reduce,n={};function t(Q,ae){Q==="createCanvas"&&(u=null),n[Q]=ae}function a(Q){if(Q==null||typeof Q!="object")return Q;var ae=Q,Ue=m.call(Q);if(Ue==="[object Array]"){if(!be(Q)){ae=[];for(var te=0,X=Q.length;te<X;te++)ae[te]=a(Q[te])}}else if(y[Ue]){if(!be(Q)){var z=Q.constructor;if(Q.constructor.from)ae=z.from(Q);else{ae=new z(Q.length);for(var te=0,X=Q.length;te<X;te++)ae[te]=a(Q[te])}}}else if(!i[Ue]&&!be(Q)&&!H(Q)){ae={};for(var Y in Q)Q.hasOwnProperty(Y)&&(ae[Y]=a(Q[Y]))}return ae}function o(Q,ae,Ue){if(!j(ae)||!j(Q))return Ue?a(ae):Q;for(var te in ae)if(ae.hasOwnProperty(te)){var X=Q[te],z=ae[te];j(z)&&j(X)&&!M(z)&&!M(X)&&!H(z)&&!H(X)&&!V(z)&&!V(X)&&!be(z)&&!be(X)?o(X,z,Ue):(Ue||!(te in Q))&&(Q[te]=a(ae[te],!0))}return Q}function r(Q,ae){for(var Ue=Q[0],te=1,X=Q.length;te<X;te++)Ue=o(Ue,Q[te],ae);return Ue}function c(Q,ae){for(var Ue in ae)ae.hasOwnProperty(Ue)&&(Q[Ue]=ae[Ue]);return Q}function e(Q,ae,Ue){for(var te in ae)ae.hasOwnProperty(te)&&(Ue?ae[te]!=null:Q[te]==null)&&(Q[te]=ae[te]);return Q}var s=function(){return n.createCanvas()};n.createCanvas=function(){return document.createElement("canvas")};var u;function h(){return u||(u=s().getContext("2d")),u}function g(Q,ae){if(Q){if(Q.indexOf)return Q.indexOf(ae);for(var Ue=0,te=Q.length;Ue<te;Ue++)if(Q[Ue]===ae)return Ue}return-1}function A(Q,ae){var Ue=Q.prototype;function te(){}te.prototype=ae.prototype,Q.prototype=new te;for(var X in Ue)Ue.hasOwnProperty(X)&&(Q.prototype[X]=Ue[X]);Q.prototype.constructor=Q,Q.superClass=ae}function w(Q,ae,Ue){Q="prototype"in Q?Q.prototype:Q,ae="prototype"in ae?ae.prototype:ae,e(Q,ae,Ue)}function b(Q){return Q?typeof Q=="string"?!1:typeof Q.length=="number":void 0}function S(Q,ae,Ue){if(!(Q&&ae))return;if(Q.forEach&&Q.forEach===p)Q.forEach(ae,Ue);else if(Q.length===+Q.length)for(var te=0,X=Q.length;te<X;te++)ae.call(Ue,Q[te],te,Q);else for(var z in Q)Q.hasOwnProperty(z)&&ae.call(Ue,Q[z],z,Q)}function _(Q,ae,Ue){if(!(Q&&ae))return;if(Q.map&&Q.map===d)return Q.map(ae,Ue);for(var te=[],X=0,z=Q.length;X<z;X++)te.push(ae.call(Ue,Q[X],X,Q));return te}function T(Q,ae,Ue,te){if(!(Q&&ae))return;if(Q.reduce&&Q.reduce===l)return Q.reduce(ae,Ue,te);for(var X=0,z=Q.length;X<z;X++)Ue=ae.call(te,Ue,Q[X],X,Q);return Ue}function x(Q,ae,Ue){if(!(Q&&ae))return;if(Q.filter&&Q.filter===v)return Q.filter(ae,Ue);for(var te=[],X=0,z=Q.length;X<z;X++)ae.call(Ue,Q[X],X,Q)&&te.push(Q[X]);return te}function C(Q,ae,Ue){if(!(Q&&ae))return;for(var te=0,X=Q.length;te<X;te++)if(ae.call(Ue,Q[te],te,Q))return Q[te]}function I(Q,ae){var Ue=f.call(arguments,2);return function(){return Q.apply(ae,Ue.concat(f.call(arguments)))}}function L(Q){var ae=f.call(arguments,1);return function(){return Q.apply(this,ae.concat(f.call(arguments)))}}function M(Q){return m.call(Q)==="[object Array]"}function k(Q){return typeof Q=="function"}function R(Q){return m.call(Q)==="[object String]"}function j(Q){var ae=typeof Q;return ae==="function"||!!Q&&ae==="object"}function V(Q){return!!i[m.call(Q)]}function D(Q){return!!y[m.call(Q)]}function H(Q){return typeof Q=="object"&&typeof Q.nodeType=="number"&&typeof Q.ownerDocument=="object"}function P(Q){return Q!==Q}function K(Q){for(var ae=0,Ue=arguments.length;ae<Ue;ae++)if(arguments[ae]!=null)return arguments[ae]}function U(Q,ae){return Q!=null?Q:ae}function G(Q,ae,Ue){return Q!=null?Q:ae!=null?ae:Ue}function W(){return Function.call.apply(f,arguments)}function Z(Q){if(typeof Q=="number")return[Q,Q,Q,Q];var ae=Q.length;return ae===2?[Q[0],Q[1],Q[0],Q[1]]:ae===3?[Q[0],Q[1],Q[2],Q[1]]:Q}function J(Q,ae){if(!Q)throw new Error(ae)}function ve(Q){return Q==null?null:typeof Q.trim=="function"?Q.trim():Q.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var q="__ec_primitive__";function ce(Q){Q[q]=!0}function be(Q){return Q[q]}function Ce(Q){var ae=M(Q);this.data={};var Ue=this;Q instanceof Ce?Q.each(te):Q&&S(Q,te);function te(X,z){ae?Ue.set(X,z):Ue.set(z,X)}}Ce.prototype={constructor:Ce,get:function(ae){return this.data.hasOwnProperty(ae)?this.data[ae]:null},set:function(ae,Ue){return this.data[ae]=Ue},each:function(ae,Ue){Ue!==void 0&&(ae=I(ae,Ue));for(var te in this.data)this.data.hasOwnProperty(te)&&ae(this.data[te],te)},removeKey:function(ae){delete this.data[ae]}};function Fe(Q){return new Ce(Q)}function fe(Q,ae){for(var Ue=new Q.constructor(Q.length+ae.length),te=0;te<Q.length;te++)Ue[te]=Q[te];var X=Q.length;for(te=0;te<ae.length;te++)Ue[te+X]=ae[te];return Ue}function Ne(){}N.$override=t,N.clone=a,N.merge=o,N.mergeAll=r,N.extend=c,N.defaults=e,N.createCanvas=s,N.getContext=h,N.indexOf=g,N.inherits=A,N.mixin=w,N.isArrayLike=b,N.each=S,N.map=_,N.reduce=T,N.filter=x,N.find=C,N.bind=I,N.curry=L,N.isArray=M,N.isFunction=k,N.isString=R,N.isObject=j,N.isBuiltInObject=V,N.isTypedArray=D,N.isDom=H,N.eqNaN=P,N.retrieve=K,N.retrieve2=U,N.retrieve3=G,N.slice=W,N.normalizeCssArray=Z,N.assert=J,N.trim=ve,N.setAsPrimitive=ce,N.isPrimitive=be,N.createHashMap=Fe,N.concatArray=fe,N.noop=Ne},bZqE:function(B,N){function i(m,E,p){for(var v=[m],f=[],d;d=v.pop();)if(f.push(d),d.isExpand){var l=d.children;if(l.length)for(var n=0;n<l.length;n++)v.push(l[n])}for(;d=f.pop();)E(d,p)}function y(m,E){for(var p=[m],v;v=p.pop();)if(E(v),v.isExpand){var f=v.children;if(f.length)for(var d=f.length-1;d>=0;d--)p.push(f[d])}}N.eachAfter=i,N.eachBefore=y},bahg:function(B,N){function i(y){return y.split("")}B.exports=i},bbsP:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("CWI+"),p=i.n(E)},bogI:function(B,N,i){"use strict";i.d(N,"a",function(){return y});var y=function(E){if(!E)return null;var p=typeof E=="function";return p?E():E}},bsht:function(B,N,i){"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(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("BGR+"),n=i("H84U"),t=function(_,T){var x={};for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&T.indexOf(C)<0&&(x[C]=_[C]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(_);I<C.length;I++)T.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(_,C[I])&&(x[C[I]]=_[C[I]]);return x},a=function(T){return v.createElement(n.a,null,function(x){var C=x.getPrefixCls,I=T.prefixCls,L=T.className,M=T.hoverable,k=M===void 0?!0:M,R=t(T,["prefixCls","className","hoverable"]),j=C("card",I),V=d()("".concat(j,"-grid"),L,m()({},"".concat(j,"-grid-hoverable"),k));return v.createElement("div",p()({},R,{className:V}))})},o=a,r=function(_,T){var x={};for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&T.indexOf(C)<0&&(x[C]=_[C]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(_);I<C.length;I++)T.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(_,C[I])&&(x[C[I]]=_[C[I]]);return x},c=function(T){return v.createElement(n.a,null,function(x){var C=x.getPrefixCls,I=T.prefixCls,L=T.className,M=T.avatar,k=T.title,R=T.description,j=r(T,["prefixCls","className","avatar","title","description"]),V=C("card",I),D=d()("".concat(V,"-meta"),L),H=M?v.createElement("div",{className:"".concat(V,"-meta-avatar")},M):null,P=k?v.createElement("div",{className:"".concat(V,"-meta-title")},k):null,K=R?v.createElement("div",{className:"".concat(V,"-meta-description")},R):null,U=P||K?v.createElement("div",{className:"".concat(V,"-meta-detail")},P,K):null;return v.createElement("div",p()({},j,{className:D}),H,U)})},e=c,s=i("ZTPi"),u=i("BMrR"),h=i("kPKH"),g=i("3Nzz"),A=function(_,T){var x={};for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&T.indexOf(C)<0&&(x[C]=_[C]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(_);I<C.length;I++)T.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(_,C[I])&&(x[C[I]]=_[C[I]]);return x};function w(_){var T=_.map(function(x,C){return v.createElement("li",{style:{width:"".concat(100/_.length,"%")},key:"action-".concat(C)},v.createElement("span",null,x))});return T}var b=function(T){var x,C,I=v.useContext(n.b),L=I.getPrefixCls,M=I.direction,k=v.useContext(g.b),R=function(Ct){T.onTabChange&&T.onTabChange(Ct)},j=function(){var Ct;return v.Children.forEach(T.children,function(It){It&&It.type&&It.type===o&&(Ct=!0)}),Ct},V=T.prefixCls,D=T.className,H=T.extra,P=T.headStyle,K=P===void 0?{}:P,U=T.bodyStyle,G=U===void 0?{}:U,W=T.title,Z=T.loading,J=T.bordered,ve=J===void 0?!0:J,q=T.size,ce=T.type,be=T.cover,Ce=T.actions,Fe=T.tabList,fe=T.children,Ne=T.activeTabKey,Q=T.defaultActiveTabKey,ae=T.tabBarExtraContent,Ue=T.hoverable,te=T.tabProps,X=te===void 0?{}:te,z=A(T,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Y=L("card",V),pe=G.padding===0||G.padding==="0px"?{padding:24}:void 0,se=v.createElement("div",{className:"".concat(Y,"-loading-block")}),Te=v.createElement("div",{className:"".concat(Y,"-loading-content"),style:pe},v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:22},se)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:8},se),v.createElement(h.a,{span:15},se)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:6},se),v.createElement(h.a,{span:18},se)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:13},se),v.createElement(h.a,{span:9},se)),v.createElement(u.a,{gutter:8},v.createElement(h.a,{span:4},se),v.createElement(h.a,{span:3},se),v.createElement(h.a,{span:16},se))),Se=Ne!==void 0,ie=p()(p()({},X),(x={},m()(x,Se?"activeKey":"defaultActiveKey",Se?Ne:Q),m()(x,"tabBarExtraContent",ae),x)),de,_e=Fe&&Fe.length?v.createElement(s.a,p()({size:"large"},ie,{className:"".concat(Y,"-head-tabs"),onChange:R}),Fe.map(function(bt){return v.createElement(s.a.TabPane,{tab:bt.tab,disabled:bt.disabled,key:bt.key})})):null;(W||H||_e)&&(de=v.createElement("div",{className:"".concat(Y,"-head"),style:K},v.createElement("div",{className:"".concat(Y,"-head-wrapper")},W&&v.createElement("div",{className:"".concat(Y,"-head-title")},W),H&&v.createElement("div",{className:"".concat(Y,"-extra")},H)),_e));var We=be?v.createElement("div",{className:"".concat(Y,"-cover")},be):null,at=v.createElement("div",{className:"".concat(Y,"-body"),style:G},Z?Te:fe),tt=Ce&&Ce.length?v.createElement("ul",{className:"".concat(Y,"-actions")},w(Ce)):null,Oe=Object(l.default)(z,["onTabChange"]),yt=q||k,Ye=d()(Y,D,(C={},m()(C,"".concat(Y,"-loading"),Z),m()(C,"".concat(Y,"-bordered"),ve),m()(C,"".concat(Y,"-hoverable"),Ue),m()(C,"".concat(Y,"-contain-grid"),j()),m()(C,"".concat(Y,"-contain-tabs"),Fe&&Fe.length),m()(C,"".concat(Y,"-").concat(yt),yt),m()(C,"".concat(Y,"-type-").concat(ce),!!ce),m()(C,"".concat(Y,"-rtl"),M==="rtl"),C));return v.createElement("div",p()({},Oe,{className:Ye}),de,We,at,tt)};b.Grid=o,b.Meta=e;var S=N.a=b},c2i1:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("Yl7c"),v=p.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},l=d.prototype;l.type="graph",l.isDirected=function(){return this._directed},l.addNode=function(r,c){r=r==null?""+c:""+r;var e=this._nodesMap;if(e[f(r)])return;var s=new n(r,c);return s.hostGraph=this,this.nodes.push(s),e[f(r)]=s,s},l.getNodeByIndex=function(r){var c=this.data.getRawIndex(r);return this.nodes[c]},l.getNodeById=function(r){return this._nodesMap[f(r)]},l.addEdge=function(r,c,e){var s=this._nodesMap,u=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof c=="number"&&(c=this.nodes[c]),n.isInstance(r)||(r=s[f(r)]),n.isInstance(c)||(c=s[f(c)]),!r||!c)return;var h=r.id+"-"+c.id;if(u[h])return;var g=new t(r,c,e);return g.hostGraph=this,this._directed&&(r.outEdges.push(g),c.inEdges.push(g)),r.edges.push(g),r!==c&&c.edges.push(g),this.edges.push(g),u[h]=g,g},l.getEdgeByIndex=function(r){var c=this.edgeData.getRawIndex(r);return this.edges[c]},l.getEdge=function(r,c){n.isInstance(r)&&(r=r.id),n.isInstance(c)&&(c=c.id);var e=this._edgesMap;return this._directed?e[r+"-"+c]:e[r+"-"+c]||e[c+"-"+r]},l.eachNode=function(r,c){for(var e=this.nodes,s=e.length,u=0;u<s;u++)e[u].dataIndex>=0&&r.call(c,e[u],u)},l.eachEdge=function(r,c){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(c,e[u],u)},l.breadthFirstTraverse=function(r,c,e,s){if(n.isInstance(c)||(c=this._nodesMap[f(c)]),!c)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,c,null))return;for(var g=[c];g.length;)for(var A=g.shift(),w=A[u],h=0;h<w.length;h++){var b=w[h],S=b.node1===A?b.node2:b.node1;if(!S.__visited){if(r.call(s,S,A))return;g.push(S),S.__visited=!0}}},l.update=function(){for(var r=this.data,c=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;c.filterSelf(function(g){var A=s[c.getRawIndex(g)];return A.node1.dataIndex>=0&&A.node2.dataIndex>=0});for(var u=0,h=s.length;u<h;u++)s[u].dataIndex=-1;for(var u=0,h=c.count();u<h;u++)s[c.getRawIndex(u)].dataIndex=u},l.clone=function(){for(var r=new d(this._directed),c=this.nodes,e=this.edges,s=0;s<c.length;s++)r.addNode(c[s].id,c[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 n(r,c){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=c==null?-1:c}n.prototype={constructor:n,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 c=this.hostGraph,e=c.data.getItemModel(this.dataIndex);return e.getModel(r)}};function t(r,c,e){this.node1=r,this.node2=c,this.dataIndex=e==null?-1:e}t.prototype.getModel=function(r){if(this.dataIndex<0)return;var c=this.hostGraph,e=c.edgeData.getItemModel(this.dataIndex);return e.getModel(r)};var a=function(r,c){return{getValue:function(e){var s=this[r][c];return s.get(s.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,s){this.dataIndex>=0&&this[r][c].setItemVisual(this.dataIndex,e,s)},getVisual:function(e,s){return this[r][c].getItemVisual(this.dataIndex,e,s)},setLayout:function(e,s){this.dataIndex>=0&&this[r][c].setItemLayout(this.dataIndex,e,s)},getLayout:function(){return this[r][c].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][c].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][c].getRawIndex(this.dataIndex)}}};E.mixin(n,a("hostGraph","data")),E.mixin(t,a("hostGraph","edgeData")),d.Node=n,d.Edge=t,v(n),v(t);var o=d;B.exports=o},c5Ni:function(B,N,i){},c5fP:function(B,N,i){"use strict";function y(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(Ct){return typeof Ct}:y=function(Ct){return Ct&&typeof Symbol=="function"&&Ct.constructor===Symbol&&Ct!==Symbol.prototype?"symbol":typeof Ct},y(Ye)}Object.defineProperty(N,"__esModule",{value:!0}),N._tr_init=We,N._tr_stored_block=at,N._tr_flush_block=Oe,N._tr_tally=yt,N._tr_align=tt;var m=p(i("6BzB"));function E(){if(typeof WeakMap!="function")return null;var Ye=new WeakMap;return E=function(){return Ye},Ye}function p(Ye){if(Ye&&Ye.__esModule)return Ye;if(Ye===null||y(Ye)!=="object"&&typeof Ye!="function")return{default:Ye};var bt=E();if(bt&&bt.has(Ye))return bt.get(Ye);var Ct={},It=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ft in Ye)if(Object.prototype.hasOwnProperty.call(Ye,Ft)){var Vt=It?Object.getOwnPropertyDescriptor(Ye,Ft):null;Vt&&(Vt.get||Vt.set)?Object.defineProperty(Ct,Ft,Vt):Ct[Ft]=Ye[Ft]}return Ct.default=Ye,bt&&bt.set(Ye,Ct),Ct}var v=4,f=0,d=1,l=2;function n(Ye){for(var bt=Ye.length;--bt>=0;)Ye[bt]=0}var t=0,a=1,o=2,r=3,c=258,e=29,s=256,u=s+1+e,h=30,g=19,A=2*u+1,w=15,b=16,S=7,_=256,T=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],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=512,j=new Array((u+2)*2);n(j);var V=new Array(h*2);n(V);var D=new Array(R);n(D);var H=new Array(c-r+1);n(H);var P=new Array(e);n(P);var K=new Array(h);n(K);function U(Ye,bt,Ct,It,Ft){this.static_tree=Ye,this.extra_bits=bt,this.extra_base=Ct,this.elems=It,this.max_length=Ft,this.has_stree=Ye&&Ye.length}var G,W,Z;function J(Ye,bt){this.dyn_tree=Ye,this.max_code=0,this.stat_desc=bt}function ve(Ye){return Ye<256?D[Ye]:D[256+(Ye>>>7)]}function q(Ye,bt){Ye.pending_buf[Ye.pending++]=bt&255,Ye.pending_buf[Ye.pending++]=bt>>>8&255}function ce(Ye,bt,Ct){Ye.bi_valid>b-Ct?(Ye.bi_buf|=bt<<Ye.bi_valid&65535,q(Ye,Ye.bi_buf),Ye.bi_buf=bt>>b-Ye.bi_valid,Ye.bi_valid+=Ct-b):(Ye.bi_buf|=bt<<Ye.bi_valid&65535,Ye.bi_valid+=Ct)}function be(Ye,bt,Ct){ce(Ye,Ct[bt*2],Ct[bt*2+1])}function Ce(Ye,bt){var Ct=0;do Ct|=Ye&1,Ye>>>=1,Ct<<=1;while(--bt>0);return Ct>>>1}function Fe(Ye){Ye.bi_valid===16?(q(Ye,Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0):Ye.bi_valid>=8&&(Ye.pending_buf[Ye.pending++]=Ye.bi_buf&255,Ye.bi_buf>>=8,Ye.bi_valid-=8)}function fe(Ye,bt){var Ct=bt.dyn_tree,It=bt.max_code,Ft=bt.stat_desc.static_tree,Vt=bt.stat_desc.has_stree,$e=bt.stat_desc.extra_bits,ge=bt.stat_desc.extra_base,ne=bt.stat_desc.max_length,wt,qe,he,kt,nr,lt,Xt=0;for(kt=0;kt<=w;kt++)Ye.bl_count[kt]=0;for(Ct[Ye.heap[Ye.heap_max]*2+1]=0,wt=Ye.heap_max+1;wt<A;wt++){if(qe=Ye.heap[wt],kt=Ct[Ct[qe*2+1]*2+1]+1,kt>ne&&(kt=ne,Xt++),Ct[qe*2+1]=kt,qe>It)continue;Ye.bl_count[kt]++,nr=0,qe>=ge&&(nr=$e[qe-ge]),lt=Ct[qe*2],Ye.opt_len+=lt*(kt+nr),Vt&&(Ye.static_len+=lt*(Ft[qe*2+1]+nr))}if(Xt===0)return;do{for(kt=ne-1;Ye.bl_count[kt]===0;)kt--;Ye.bl_count[kt]--,Ye.bl_count[kt+1]+=2,Ye.bl_count[ne]--,Xt-=2}while(Xt>0);for(kt=ne;kt!==0;kt--)for(qe=Ye.bl_count[kt];qe!==0;){if(he=Ye.heap[--wt],he>It)continue;Ct[he*2+1]!==kt&&(Ye.opt_len+=(kt-Ct[he*2+1])*Ct[he*2],Ct[he*2+1]=kt),qe--}}function Ne(Ye,bt,Ct){var It=new Array(w+1),Ft=0,Vt,$e;for(Vt=1;Vt<=w;Vt++)It[Vt]=Ft=Ft+Ct[Vt-1]<<1;for($e=0;$e<=bt;$e++){var ge=Ye[$e*2+1];if(ge===0)continue;Ye[$e*2]=Ce(It[ge]++,ge)}}function Q(){var Ye,bt,Ct,It,Ft,Vt=new Array(w+1);for(Ct=0,It=0;It<e-1;It++)for(P[It]=Ct,Ye=0;Ye<1<<I[It];Ye++)H[Ct++]=It;for(H[Ct-1]=It,Ft=0,It=0;It<16;It++)for(K[It]=Ft,Ye=0;Ye<1<<L[It];Ye++)D[Ft++]=It;for(Ft>>=7;It<h;It++)for(K[It]=Ft<<7,Ye=0;Ye<1<<L[It]-7;Ye++)D[256+Ft++]=It;for(bt=0;bt<=w;bt++)Vt[bt]=0;for(Ye=0;Ye<=143;)j[Ye*2+1]=8,Ye++,Vt[8]++;for(;Ye<=255;)j[Ye*2+1]=9,Ye++,Vt[9]++;for(;Ye<=279;)j[Ye*2+1]=7,Ye++,Vt[7]++;for(;Ye<=287;)j[Ye*2+1]=8,Ye++,Vt[8]++;for(Ne(j,u+1,Vt),Ye=0;Ye<h;Ye++)V[Ye*2+1]=5,V[Ye*2]=Ce(Ye,5);G=new U(j,I,s+1,u,w),W=new U(V,L,0,h,w),Z=new U(new Array(0),M,0,g,S)}function ae(Ye){var bt;for(bt=0;bt<u;bt++)Ye.dyn_ltree[bt*2]=0;for(bt=0;bt<h;bt++)Ye.dyn_dtree[bt*2]=0;for(bt=0;bt<g;bt++)Ye.bl_tree[bt*2]=0;Ye.dyn_ltree[_*2]=1,Ye.opt_len=Ye.static_len=0,Ye.last_lit=Ye.matches=0}function Ue(Ye){Ye.bi_valid>8?q(Ye,Ye.bi_buf):Ye.bi_valid>0&&(Ye.pending_buf[Ye.pending++]=Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0}function te(Ye,bt,Ct,It){Ue(Ye),It&&(q(Ye,Ct),q(Ye,~Ct)),m.arraySet(Ye.pending_buf,Ye.window,bt,Ct,Ye.pending),Ye.pending+=Ct}function X(Ye,bt,Ct,It){var Ft=bt*2,Vt=Ct*2;return Ye[Ft]<Ye[Vt]||Ye[Ft]===Ye[Vt]&&It[bt]<=It[Ct]}function z(Ye,bt,Ct){for(var It=Ye.heap[Ct],Ft=Ct<<1;Ft<=Ye.heap_len&&!(Ft<Ye.heap_len&&X(bt,Ye.heap[Ft+1],Ye.heap[Ft],Ye.depth)&&Ft++,X(bt,It,Ye.heap[Ft],Ye.depth));)Ye.heap[Ct]=Ye.heap[Ft],Ct=Ft,Ft<<=1;Ye.heap[Ct]=It}function Y(Ye,bt,Ct){var It,Ft,Vt=0,$e,ge;if(Ye.last_lit!==0)do It=Ye.pending_buf[Ye.d_buf+Vt*2]<<8|Ye.pending_buf[Ye.d_buf+Vt*2+1],Ft=Ye.pending_buf[Ye.l_buf+Vt],Vt++,It===0?be(Ye,Ft,bt):($e=H[Ft],be(Ye,$e+s+1,bt),ge=I[$e],ge!==0&&(Ft-=P[$e],ce(Ye,Ft,ge)),It--,$e=ve(It),be(Ye,$e,Ct),ge=L[$e],ge!==0&&(It-=K[$e],ce(Ye,It,ge)));while(Vt<Ye.last_lit);be(Ye,_,bt)}function pe(Ye,bt){var Ct=bt.dyn_tree,It=bt.stat_desc.static_tree,Ft=bt.stat_desc.has_stree,Vt=bt.stat_desc.elems,$e,ge,ne=-1,wt;for(Ye.heap_len=0,Ye.heap_max=A,$e=0;$e<Vt;$e++)Ct[$e*2]!==0?(Ye.heap[++Ye.heap_len]=ne=$e,Ye.depth[$e]=0):Ct[$e*2+1]=0;for(;Ye.heap_len<2;)wt=Ye.heap[++Ye.heap_len]=ne<2?++ne:0,Ct[wt*2]=1,Ye.depth[wt]=0,Ye.opt_len--,Ft&&(Ye.static_len-=It[wt*2+1]);for(bt.max_code=ne,$e=Ye.heap_len>>1;$e>=1;$e--)z(Ye,Ct,$e);wt=Vt;do $e=Ye.heap[1],Ye.heap[1]=Ye.heap[Ye.heap_len--],z(Ye,Ct,1),ge=Ye.heap[1],Ye.heap[--Ye.heap_max]=$e,Ye.heap[--Ye.heap_max]=ge,Ct[wt*2]=Ct[$e*2]+Ct[ge*2],Ye.depth[wt]=(Ye.depth[$e]>=Ye.depth[ge]?Ye.depth[$e]:Ye.depth[ge])+1,Ct[$e*2+1]=Ct[ge*2+1]=wt,Ye.heap[1]=wt++,z(Ye,Ct,1);while(Ye.heap_len>=2);Ye.heap[--Ye.heap_max]=Ye.heap[1],fe(Ye,bt),Ne(Ct,ne,Ye.bl_count)}function se(Ye,bt,Ct){var It,Ft=-1,Vt,$e=bt[0*2+1],ge=0,ne=7,wt=4;for($e===0&&(ne=138,wt=3),bt[(Ct+1)*2+1]=65535,It=0;It<=Ct;It++){if(Vt=$e,$e=bt[(It+1)*2+1],++ge<ne&&Vt===$e)continue;ge<wt?Ye.bl_tree[Vt*2]+=ge:Vt!==0?(Vt!==Ft&&Ye.bl_tree[Vt*2]++,Ye.bl_tree[T*2]++):ge<=10?Ye.bl_tree[x*2]++:Ye.bl_tree[C*2]++,ge=0,Ft=Vt,$e===0?(ne=138,wt=3):Vt===$e?(ne=6,wt=3):(ne=7,wt=4)}}function Te(Ye,bt,Ct){var It,Ft=-1,Vt,$e=bt[0*2+1],ge=0,ne=7,wt=4;for($e===0&&(ne=138,wt=3),It=0;It<=Ct;It++){if(Vt=$e,$e=bt[(It+1)*2+1],++ge<ne&&Vt===$e)continue;if(ge<wt)do be(Ye,Vt,Ye.bl_tree);while(--ge!==0);else Vt!==0?(Vt!==Ft&&(be(Ye,Vt,Ye.bl_tree),ge--),be(Ye,T,Ye.bl_tree),ce(Ye,ge-3,2)):ge<=10?(be(Ye,x,Ye.bl_tree),ce(Ye,ge-3,3)):(be(Ye,C,Ye.bl_tree),ce(Ye,ge-11,7));ge=0,Ft=Vt,$e===0?(ne=138,wt=3):Vt===$e?(ne=6,wt=3):(ne=7,wt=4)}}function Se(Ye){var bt;for(se(Ye,Ye.dyn_ltree,Ye.l_desc.max_code),se(Ye,Ye.dyn_dtree,Ye.d_desc.max_code),pe(Ye,Ye.bl_desc),bt=g-1;bt>=3&&!(Ye.bl_tree[k[bt]*2+1]!==0);bt--);return Ye.opt_len+=3*(bt+1)+5+5+4,bt}function ie(Ye,bt,Ct,It){var Ft;for(ce(Ye,bt-257,5),ce(Ye,Ct-1,5),ce(Ye,It-4,4),Ft=0;Ft<It;Ft++)ce(Ye,Ye.bl_tree[k[Ft]*2+1],3);Te(Ye,Ye.dyn_ltree,bt-1),Te(Ye,Ye.dyn_dtree,Ct-1)}function de(Ye){var bt=4093624447,Ct;for(Ct=0;Ct<=31;Ct++,bt>>>=1)if(bt&1&&Ye.dyn_ltree[Ct*2]!==0)return f;if(Ye.dyn_ltree[9*2]!==0||Ye.dyn_ltree[10*2]!==0||Ye.dyn_ltree[13*2]!==0)return d;for(Ct=32;Ct<s;Ct++)if(Ye.dyn_ltree[Ct*2]!==0)return d;return f}var _e=!1;function We(Ye){_e||(Q(),_e=!0),Ye.l_desc=new J(Ye.dyn_ltree,G),Ye.d_desc=new J(Ye.dyn_dtree,W),Ye.bl_desc=new J(Ye.bl_tree,Z),Ye.bi_buf=0,Ye.bi_valid=0,ae(Ye)}function at(Ye,bt,Ct,It){ce(Ye,(t<<1)+(It?1:0),3),te(Ye,bt,Ct,!0)}function tt(Ye){ce(Ye,a<<1,3),be(Ye,_,j),Fe(Ye)}function Oe(Ye,bt,Ct,It){var Ft,Vt,$e=0;Ye.level>0?(Ye.strm.data_type===l&&(Ye.strm.data_type=de(Ye)),pe(Ye,Ye.l_desc),pe(Ye,Ye.d_desc),$e=Se(Ye),Ft=Ye.opt_len+3+7>>>3,Vt=Ye.static_len+3+7>>>3,Vt<=Ft&&(Ft=Vt)):Ft=Vt=Ct+5,Ct+4<=Ft&&bt!==-1?at(Ye,bt,Ct,It):Ye.strategy===v||Vt===Ft?(ce(Ye,(a<<1)+(It?1:0),3),Y(Ye,j,V)):(ce(Ye,(o<<1)+(It?1:0),3),ie(Ye,Ye.l_desc.max_code+1,Ye.d_desc.max_code+1,$e+1),Y(Ye,Ye.dyn_ltree,Ye.dyn_dtree)),ae(Ye),It&&Ue(Ye)}function yt(Ye,bt,Ct){return Ye.pending_buf[Ye.d_buf+Ye.last_lit*2]=bt>>>8&255,Ye.pending_buf[Ye.d_buf+Ye.last_lit*2+1]=bt&255,Ye.pending_buf[Ye.l_buf+Ye.last_lit]=Ct&255,Ye.last_lit++,bt===0?Ye.dyn_ltree[Ct*2]++:(Ye.matches++,bt--,Ye.dyn_ltree[(H[Ct]+s+1)*2]++,Ye.dyn_dtree[ve(bt)*2]++),Ye.last_lit===Ye.lit_bufsize-1}},c8qY:function(B,N,i){var y=i("IwbS"),m=i("fls0");function E(o){this._ctor=o||m,this.group=new y.Group}var p=E.prototype;p.isPersistent=function(){return!0},p.updateData=function(o){var r=this,c=r.group,e=r._lineData;r._lineData=o,e||c.removeAll();var s=l(o);o.diff(e).add(function(u){v(r,o,u,s)}).update(function(u,h){f(r,e,o,h,u,s)}).remove(function(u){c.remove(e.getItemGraphicEl(u))}).execute()};function v(o,r,c,e){var s=r.getItemLayout(c);if(!t(s))return;var u=new o._ctor(r,c,e);r.setItemGraphicEl(c,u),o.group.add(u)}function f(o,r,c,e,s,u){var h=r.getItemGraphicEl(e);if(!t(c.getItemLayout(s))){o.group.remove(h);return}h?h.updateData(c,s,u):h=new o._ctor(c,s,u),c.setItemGraphicEl(s,h),o.group.add(h)}p.updateLayout=function(){var o=this._lineData;if(!o)return;o.eachItemGraphicEl(function(r,c){r.updateLayout(o,c)},this)},p.incrementalPrepareUpdate=function(o){this._seriesScope=l(o),this._lineData=null,this.group.removeAll()};function d(o){return o.animators&&o.animators.length>0}p.incrementalUpdate=function(o,r){function c(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(t(s)){var u=new this._ctor(r,e,this._seriesScope);u.traverse(c),this.group.add(u),r.setItemGraphicEl(e,u)}}};function l(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")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};function n(o){return isNaN(o[0])||isNaN(o[1])}function t(o){return!n(o[0])&&!n(o[1])}var a=E;B.exports=a},cCMj:function(B,N,i){var y=i("bYtY"),m={updateSelectedMap:function(E){this._targetList=y.isArray(E)?E.slice():[],this._selectTargetMap=y.reduce(E||[],function(p,v){return p.set(v.name,v),p},y.createHashMap())},select:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E),f=this.get("selectedMode");f==="single"&&this._selectTargetMap.each(function(d){d.selected=!1}),v&&(v.selected=!0)},unSelect:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);v&&(v.selected=!1)},toggleSelected:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);if(v!=null)return this[v.selected?"unSelect":"select"](E,p),v.selected},isSelected:function(E,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(E);return v&&v.selected}};B.exports=m},cVA7:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=i("MT78"),m=v(y),E=i("t3Fx"),p=v(E);function v(t){return t&&t.__esModule?t:{default:t}}function f(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function d(t,a){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:t}function l(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a)}var n=function(t){l(a,t);function a(o){f(this,a);var r=d(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,o));return r.echartsLib=m.default,r}return a}(p.default);N.default=n},cWXX:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("oIFs"),p=i.n(E)},ca2m:function(B,N,i){var y=i("bYtY"),m={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)"]}}},E={};E.categoryAxis=y.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},m),E.valueAxis=y.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},m),E.timeAxis=y.defaults({scale:!0,min:"dataMin",max:"dataMax"},E.valueAxis),E.logAxis=y.defaults({scale:!0,logBase:10},E.valueAxis);var p=E;B.exports=p},cbJ4:function(B,N,i){var y=i("bYtY"),m=y.createHashMap;function E(p){p.eachSeriesByType("themeRiver",function(v){var f=v.getData(),d=v.getRawData(),l=v.get("color"),n=m();f.each(function(t){n.set(f.getRawIndex(t),t)}),d.each(function(t){var a=d.getName(t),o=l[(v.nameMap.get(a)-1)%l.length];d.setItemVisual(t,"color",o);var r=n.get(t);r!=null&&f.setItemVisual(r,"color",o)})})}B.exports=E},chpo:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=1,m=function(){return"".concat(y++)};N.default=m},cpOr:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("T4UG"),p=i("YXkt"),v=i("bYtY"),f=v.concatArray,d=v.mergeAll,l=v.map,n=i("7aKB"),t=n.encodeHTML,a=i("IDmD"),o=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function c(u){var h=u.data;h&&h[0]&&h[0][0]&&h[0][0].coord&&(u.data=l(h,function(g){var A=[g[0].coord,g[1].coord],w={coords:A};return g[0].name&&(w.fromName=g[0].name),g[1].name&&(w.toName=g[1].name),d([w,g[0],g[1]])}))}var e=E.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],c(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||[],c(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),g=h.option instanceof Array?h.option:h.getShallow("coords");return g},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,h){if(this._flatCoordsOffset){for(var g=this._flatCoordsOffset[u*2],A=this._flatCoordsOffset[u*2+1],w=0;w<A;w++)h[w]=h[w]||[],h[w][0]=this._flatCoords[g+w*2],h[w][1]=this._flatCoords[g+w*2+1];return A}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 g=u.length,A=new o(g),w=new r(g),b=0,S=0,_=0,T=0;T<g;){_++;var x=u[T++];A[S++]=b+h,A[S++]=x;for(var C=0;C<x;C++){var I=u[T++],L=u[T++];w[b++]=I,w[b++]=L,T>g}}return{flatCoordsOffset:new Uint32Array(A.buffer,0,S),flatCoords:w,count:_}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,h){var g=new p(["value"],this);return g.hasItemOption=!1,g.initData(u.data,[],function(A,w,b,S){if(A instanceof Array)return NaN;g.hasItemOption=!0;var _=A.value;if(_!=null)return _ instanceof Array?_[S]:_}),g},formatTooltip:function(u){var h=this.getData(),g=h.getItemModel(u),A=g.get("name");if(A)return A;var w=g.get("fromName"),b=g.get("toName"),S=[];return w!=null&&S.push(w),b!=null&&S.push(b),t(S.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;B.exports=s},crZl:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("7aKB"),v=i("+TT/"),f=i("XxSj"),d=y.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(l,n){this.ecModel=l,this.api=n,this.visualMapModel},render:function(l,n,t,a){if(this.visualMapModel=l,l.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(l){var n=this.visualMapModel,t=p.normalizeCssArray(n.get("padding")||0),a=l.getBoundingRect();l.add(new E.Rect({z2:-1,silent:!0,shape:{x:a.x-t[3],y:a.y-t[0],width:a.width+t[3]+t[1],height:a.height+t[0]+t[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},getControllerVisual:function(l,n,t){t=t||{};var a=t.forceState,o=this.visualMapModel,r={};if(n==="symbol"&&(r.symbol=o.get("itemSymbol")),n==="color"){var c=o.get("contentColor");r.color=c}function e(g){return r[g]}function s(g,A){r[g]=A}var u=o.controllerVisuals[a||o.getValueState(l)],h=f.prepareVisualTypes(u);return m.each(h,function(g){var A=u[g];t.convertOpacityToAlpha&&g==="opacity"&&(g="colorAlpha",A=u.__alphaForOpacity),f.dependsOn(g,n)&&(A&&A.applyVisual(l,e,s))}),r[n]},positionGroup:function(l){var n=this.visualMapModel,t=this.api;v.positionElement(l,n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})},doRender:m.noop});B.exports=d},crp1:function(B,N,i){"use strict";i.d(N,"b",function(){return He}),i.d(N,"a",function(){return Jt});var y={},m=function(pt,ht,Zt,$t,At){var Pt=y[ht]||(y[ht]=URL.createObjectURL(new Blob([pt],{type:"text/javascript"}))),gt=new Worker(Pt);return gt.onerror=function(Wt){return At(Wt.error,null)},gt.onmessage=function(Wt){return At(null,Wt.data)},gt.postMessage(Zt,$t),gt},E=Uint8Array,p=Uint16Array,v=Uint32Array,f=new E([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 E([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]),l=new E([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),n=function(pt,ht){for(var Zt=new p(31),$t=0;$t<31;++$t)Zt[$t]=ht+=1<<pt[$t-1];for(var At=new v(Zt[30]),$t=1;$t<30;++$t)for(var Pt=Zt[$t];Pt<Zt[$t+1];++Pt)At[Pt]=Pt-Zt[$t]<<5|$t;return[Zt,At]},t=n(f,2),a=t[0],o=t[1];a[28]=258,o[258]=28;for(var r=n(d,0),c=r[0],e=r[1],s=new p(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 g=function(pt,ht,Zt){for(var $t=pt.length,At=0,Pt=new p(ht);At<$t;++At)++Pt[pt[At]-1];var gt=new p(ht);for(At=0;At<ht;++At)gt[At]=gt[At-1]+Pt[At-1]<<1;var Wt;if(Zt){Wt=new p(1<<ht);var yr=15-ht;for(At=0;At<$t;++At)if(pt[At])for(var cr=At<<4|pt[At],pr=ht-pt[At],Qr=gt[pt[At]-1]++<<pr,$r=Qr|(1<<pr)-1;Qr<=$r;++Qr)Wt[s[Qr]>>>yr]=cr}else for(Wt=new p($t),At=0;At<$t;++At)Wt[At]=s[gt[pt[At]-1]++]>>>15-pt[At];return Wt},A=new E(288),u=0;u<144;++u)A[u]=8;for(var u=144;u<256;++u)A[u]=9;for(var u=256;u<280;++u)A[u]=7;for(var u=280;u<288;++u)A[u]=8;for(var w=new E(32),u=0;u<32;++u)w[u]=5;var b=g(A,9,0),S=g(A,9,1),_=g(w,5,0),T=g(w,5,1),x=function(pt){for(var ht=pt[0],Zt=1;Zt<pt.length;++Zt)pt[Zt]>ht&&(ht=pt[Zt]);return ht},C=function(pt,ht,Zt){var $t=ht/8>>0;return(pt[$t]|pt[$t+1]<<8)>>>(ht&7)&Zt},I=function(pt,ht){var Zt=ht/8>>0;return(pt[Zt]|pt[Zt+1]<<8|pt[Zt+2]<<16)>>>(ht&7)},L=function(pt){return(pt/8>>0)+(pt&7&&1)},M=function(pt,ht,Zt){(ht==null||ht<0)&&(ht=0),(Zt==null||Zt>pt.length)&&(Zt=pt.length);var $t=new(pt instanceof p?p:pt instanceof v?v:E)(Zt-ht);return $t.set(pt.subarray(ht,Zt)),$t},k=function(pt,ht,Zt){var $t=pt.length,At=!ht||Zt,Pt=!Zt||Zt.i;Zt||(Zt={}),ht||(ht=new E($t*3));var gt=function(Wn){var Dn=ht.length;if(Wn>Dn){var vi=new E(Math.max(Dn*2,Wn));vi.set(ht),ht=vi}},Wt=Zt.f||0,yr=Zt.p||0,cr=Zt.b||0,pr=Zt.l,Qr=Zt.d,$r=Zt.m,Ln=Zt.n,Mn=$t*8;do{if(!pr){Zt.f=Wt=C(pt,yr,1);var Vn=C(pt,yr+1,3);if(yr+=3,Vn)if(Vn==1)pr=S,Qr=T,$r=9,Ln=5;else if(Vn==2){var Ze=C(pt,yr,31)+257,xe=C(pt,yr+10,15)+4,Me=Ze+C(pt,yr+5,31)+1;yr+=14;for(var ke=new E(Me),Ge=new E(19),Ke=0;Ke<xe;++Ke)Ge[l[Ke]]=C(pt,yr+Ke*3,7);yr+=xe*3;var Je=x(Ge),vt=(1<<Je)-1;if(!Pt&&yr+Me*(Je+7)>Mn)break;for(var ot=g(Ge,Je,1),Ke=0;Ke<Me;){var Ut=ot[C(pt,yr,vt)];yr+=Ut&15;var ii=Ut>>>4;if(ii<16)ke[Ke++]=ii;else{var br=0,Ar=0;for(ii==16?(Ar=3+C(pt,yr,3),yr+=2,br=ke[Ke-1]):ii==17?(Ar=3+C(pt,yr,7),yr+=3):ii==18&&(Ar=11+C(pt,yr,127),yr+=7);Ar--;)ke[Ke++]=br}}var Or=ke.subarray(0,Ze),zt=ke.subarray(Ze);$r=x(Or),Ln=x(zt),pr=g(Or,$r,1),Qr=g(zt,Ln,1)}else throw"invalid block type";else{var ii=L(yr)+4,Li=pt[ii-4]|pt[ii-3]<<8,Pi=ii+Li;if(Pi>$t){if(Pt)throw"unexpected EOF";break}At&&gt(cr+Li),ht.set(pt.subarray(ii,Pi),cr),Zt.b=cr+=Li,Zt.p=yr=Pi*8;continue}if(yr>Mn)throw"unexpected EOF"}At&&gt(cr+131072);for(var un=(1<<$r)-1,lr=(1<<Ln)-1,Vr=$r+Ln+18;Pt||yr+Vr<Mn;){var br=pr[I(pt,yr)&un],Br=br>>>4;if(yr+=br&15,yr>Mn)throw"unexpected EOF";if(!br)throw"invalid length/literal";if(Br<256)ht[cr++]=Br;else if(Br==256){pr=null;break}else{var Sr=Br-254;if(Br>264){var Ke=Br-257,xn=f[Ke];Sr=C(pt,yr,(1<<xn)-1)+a[Ke],yr+=xn}var Hn=Qr[I(pt,yr)&lr],ai=Hn>>>4;if(!Hn)throw"invalid distance";yr+=Hn&15;var zt=c[ai];if(ai>3){var xn=d[ai];zt+=I(pt,yr)&(1<<xn)-1,yr+=xn}if(yr>Mn)throw"unexpected EOF";At&&gt(cr+131072);for(var si=cr+Sr;cr<si;cr+=4)ht[cr]=ht[cr-zt],ht[cr+1]=ht[cr+1-zt],ht[cr+2]=ht[cr+2-zt],ht[cr+3]=ht[cr+3-zt];cr=si}}Zt.l=pr,Zt.p=yr,Zt.b=cr,pr&&(Wt=1,Zt.m=$r,Zt.d=Qr,Zt.n=Ln)}while(!Wt);return cr==ht.length?ht:M(ht,0,cr)},R=function(pt,ht,Zt){Zt<<=ht&7;var $t=ht/8>>0;pt[$t]|=Zt,pt[$t+1]|=Zt>>>8},j=function(pt,ht,Zt){Zt<<=ht&7;var $t=ht/8>>0;pt[$t]|=Zt,pt[$t+1]|=Zt>>>8,pt[$t+2]|=Zt>>>16},V=function(pt,ht){for(var Zt=[],$t=0;$t<pt.length;++$t)pt[$t]&&Zt.push({s:$t,f:pt[$t]});var At=Zt.length,Pt=Zt.slice();if(!At)return[new E(0),0];if(At==1){var gt=new E(Zt[0].s+1);return gt[Zt[0].s]=1,[gt,1]}Zt.sort(function(Me,ke){return Me.f-ke.f}),Zt.push({s:-1,f:25001});var Wt=Zt[0],yr=Zt[1],cr=0,pr=1,Qr=2;for(Zt[0]={s:-1,f:Wt.f+yr.f,l:Wt,r:yr};pr!=At-1;)Wt=Zt[Zt[cr].f<Zt[Qr].f?cr++:Qr++],yr=Zt[cr!=pr&&Zt[cr].f<Zt[Qr].f?cr++:Qr++],Zt[pr++]={s:-1,f:Wt.f+yr.f,l:Wt,r:yr};for(var $r=Pt[0].s,$t=1;$t<At;++$t)Pt[$t].s>$r&&($r=Pt[$t].s);var Ln=new p($r+1),Mn=D(Zt[pr-1],Ln,0);if(Mn>ht){var $t=0,Vn=0,ii=Mn-ht,Li=1<<ii;for(Pt.sort(function(ke,Ge){return Ln[Ge.s]-Ln[ke.s]||ke.f-Ge.f});$t<At;++$t){var Pi=Pt[$t].s;if(Ln[Pi]>ht)Vn+=Li-(1<<Mn-Ln[Pi]),Ln[Pi]=ht;else break}for(Vn>>>=ii;Vn>0;){var Ze=Pt[$t].s;Ln[Ze]<ht?Vn-=1<<ht-Ln[Ze]++-1:++$t}for(;$t>=0&&Vn;--$t){var xe=Pt[$t].s;Ln[xe]==ht&&(--Ln[xe],++Vn)}Mn=ht}return[new E(Ln),Mn]},D=function Yt(pt,ht,Zt){return pt.s==-1?Math.max(Yt(pt.l,ht,Zt+1),Yt(pt.r,ht,Zt+1)):ht[pt.s]=Zt},H=function(pt){for(var ht=pt.length;ht&&!pt[--ht];);for(var Zt=new p(++ht),$t=0,At=pt[0],Pt=1,gt=function(cr){Zt[$t++]=cr},Wt=1;Wt<=ht;++Wt)if(pt[Wt]==At&&Wt!=ht)++Pt;else{if(!At&&Pt>2){for(;Pt>138;Pt-=138)gt(32754);Pt>2&&(gt(Pt>10?Pt-11<<5|28690:Pt-3<<5|12305),Pt=0)}else if(Pt>3){for(gt(At),--Pt;Pt>6;Pt-=6)gt(8304);Pt>2&&(gt(Pt-3<<5|8208),Pt=0)}for(;Pt--;)gt(At);Pt=1,At=pt[Wt]}return[Zt.subarray(0,$t),ht]},P=function(pt,ht){for(var Zt=0,$t=0;$t<ht.length;++$t)Zt+=pt[$t]*ht[$t];return Zt},K=function(pt,ht,Zt){var $t=Zt.length,At=L(ht+2);pt[At]=$t&255,pt[At+1]=$t>>>8,pt[At+2]=pt[At]^255,pt[At+3]=pt[At+1]^255;for(var Pt=0;Pt<$t;++Pt)pt[At+Pt+4]=Zt[Pt];return(At+4+$t)*8},U=function(pt,ht,Zt,$t,At,Pt,gt,Wt,yr,cr,pr){R(ht,pr++,Zt),++At[256];for(var Qr=V(At,15),$r=Qr[0],Ln=Qr[1],Mn=V(Pt,15),Vn=Mn[0],ii=Mn[1],Li=H($r),Pi=Li[0],Ze=Li[1],xe=H(Vn),Me=xe[0],ke=xe[1],Ge=new p(19),Ke=0;Ke<Pi.length;++Ke)Ge[Pi[Ke]&31]++;for(var Ke=0;Ke<Me.length;++Ke)Ge[Me[Ke]&31]++;for(var Je=V(Ge,7),vt=Je[0],ot=Je[1],Ut=19;Ut>4&&!vt[l[Ut-1]];--Ut);var br=cr+5<<3,Ar=P(At,A)+P(Pt,w)+gt,Or=P(At,$r)+P(Pt,Vn)+gt+14+3*Ut+P(Ge,vt)+(2*Ge[16]+3*Ge[17]+7*Ge[18]);if(br<=Ar&&br<=Or)return K(ht,pr,pt.subarray(yr,yr+cr));var zt,un,lr,Vr;if(R(ht,pr,1+(Or<Ar)),pr+=2,Or<Ar){zt=g($r,Ln,0),un=$r,lr=g(Vn,ii,0),Vr=Vn;var Br=g(vt,ot,0);R(ht,pr,Ze-257),R(ht,pr+5,ke-1),R(ht,pr+10,Ut-4),pr+=14;for(var Ke=0;Ke<Ut;++Ke)R(ht,pr+3*Ke,vt[l[Ke]]);pr+=3*Ut;for(var Sr=[Pi,Me],xn=0;xn<2;++xn)for(var Hn=Sr[xn],Ke=0;Ke<Hn.length;++Ke){var ai=Hn[Ke]&31;R(ht,pr,Br[ai]),pr+=vt[ai],ai>15&&(R(ht,pr,Hn[Ke]>>>5&127),pr+=Hn[Ke]>>>12)}}else zt=b,un=A,lr=_,Vr=w;for(var Ke=0;Ke<Wt;++Ke)if($t[Ke]>255){var ai=$t[Ke]>>>18&31;j(ht,pr,zt[ai+257]),pr+=un[ai+257],ai>7&&(R(ht,pr,$t[Ke]>>>23&31),pr+=f[ai]);var si=$t[Ke]&31;j(ht,pr,lr[si]),pr+=Vr[si],si>3&&(j(ht,pr,$t[Ke]>>>5&8191),pr+=d[si])}else j(ht,pr,zt[$t[Ke]]),pr+=un[$t[Ke]];return j(ht,pr,zt[256]),pr+un[256]},G=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),W=new E(0),Z=function(pt,ht,Zt,$t,At,Pt){var gt=pt.length,Wt=new E($t+gt+5*(1+Math.floor(gt/7e3))+At),yr=Wt.subarray($t,Wt.length-At),cr=0;if(!ht||gt<8)for(var pr=0;pr<=gt;pr+=65535){var Qr=pr+65535;Qr<gt?cr=K(yr,cr,pt.subarray(pr,Qr)):(yr[pr]=Pt,cr=K(yr,cr,pt.subarray(pr,gt)))}else{for(var $r=G[ht-1],Ln=$r>>>13,Mn=$r&8191,Vn=(1<<Zt)-1,ii=new p(32768),Li=new p(Vn+1),Pi=Math.ceil(Zt/3),Ze=2*Pi,xe=function(ni){return(pt[ni]^pt[ni+1]<<Pi^pt[ni+2]<<Ze)&Vn},Me=new v(25e3),ke=new p(288),Ge=new p(32),Ke=0,Je=0,pr=0,vt=0,ot=0,Ut=0;pr<gt;++pr){var br=xe(pr),Ar=pr&32767,Or=Li[br];if(ii[Ar]=Or,Li[br]=Ar,ot<=pr){var zt=gt-pr;if((Ke>7e3||vt>24576)&&zt>423){cr=U(pt,yr,0,Me,ke,Ge,Je,vt,Ut,pr-Ut,cr),vt=Ke=Je=0,Ut=pr;for(var un=0;un<286;++un)ke[un]=0;for(var un=0;un<30;++un)Ge[un]=0}var lr=2,Vr=0,Br=Mn,Sr=Ar-Or&32767;if(zt>2&&br==xe(pr-Sr))for(var xn=Math.min(Ln,zt)-1,Hn=Math.min(32767,pr),ai=Math.min(258,zt);Sr<=Hn&&--Br&&Ar!=Or;){if(pt[pr+lr]==pt[pr+lr-Sr]){for(var si=0;si<ai&&pt[pr+si]==pt[pr+si-Sr];++si);if(si>lr){if(lr=si,Vr=Sr,si>xn)break;for(var Yn=Math.min(Sr,si-2),Wn=0,un=0;un<Yn;++un){var Dn=pr-Sr+un+32768&32767,vi=ii[Dn],gn=Dn-vi+32768&32767;gn>Wn&&(Wn=gn,Or=Dn)}}}Ar=Or,Or=ii[Ar],Sr+=Ar-Or+32768&32767}if(Vr){Me[vt++]=268435456|o[lr]<<18|e[Vr];var Kr=o[lr]&31,En=e[Vr]&31;Je+=f[Kr]+d[En],++ke[257+Kr],++Ge[En],ot=pr+lr,++Ke}else Me[vt++]=pt[pr],++ke[pt[pr]]}}cr=U(pt,yr,Pt,Me,ke,Ge,Je,vt,Ut,pr-Ut,cr),Pt||(cr=K(yr,cr,W))}return M(Wt,0,$t+L(cr)+At)},J=function(){for(var Yt=new v(256),pt=0;pt<256;++pt){for(var ht=pt,Zt=9;--Zt;)ht=(ht&1&&3988292384)^ht>>>1;Yt[pt]=ht}return Yt}(),ve=function(){var pt=4294967295;return{p:function(Zt){for(var $t=pt,At=0;At<Zt.length;++At)$t=J[$t&255^Zt[At]]^$t>>>8;pt=$t},d:function(){return pt^4294967295}}},q=function(){var pt=1,ht=0;return{p:function($t){for(var At=pt,Pt=ht,gt=$t.length,Wt=0;Wt!=gt;){for(var yr=Math.min(Wt+5552,gt);Wt<yr;++Wt)At+=$t[Wt],Pt+=At;At%=65521,Pt%=65521}pt=At,ht=Pt},d:function(){return(pt>>>8<<16|(ht&255)<<8|ht>>>8)+((pt&255)<<23)*2}}},ce=function(pt,ht,Zt,$t,At){return Z(pt,ht.level==null?6:ht.level,ht.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(pt.length)))*1.5):12+ht.mem,Zt,$t,!At)},be=function(pt,ht){var Zt={};for(var $t in pt)Zt[$t]=pt[$t];for(var $t in ht)Zt[$t]=ht[$t];return Zt},Ce=function(pt,ht,Zt){for(var $t=pt(),At=pt.toString(),Pt=At.slice(At.indexOf("[")+1,At.lastIndexOf("]")).replace(/ /g,"").split(","),gt=0;gt<$t.length;++gt){var Wt=$t[gt],yr=Pt[gt];if(typeof Wt=="function"){ht+=";"+yr+"=";var cr=Wt.toString();if(Wt.prototype)if(cr.indexOf("[native code]")!=-1){var pr=cr.indexOf(" ",8)+1;ht+=cr.slice(pr,cr.indexOf("(",pr))}else{ht+=cr;for(var Qr in Wt.prototype)ht+=";"+yr+".prototype."+Qr+"="+Wt.prototype[Qr].toString()}else ht+=cr}else Zt[yr]=Wt}return[ht,Zt]},Fe=[],fe=function(pt){var ht=[];for(var Zt in pt)(pt[Zt]instanceof E||pt[Zt]instanceof p||pt[Zt]instanceof v)&&ht.push((pt[Zt]=new pt[Zt].constructor(pt[Zt])).buffer);return ht},Ne=function(pt,ht,Zt,$t){var At;if(!Fe[Zt]){for(var Pt="",gt={},Wt=pt.length-1,yr=0;yr<Wt;++yr)At=Ce(pt[yr],Pt,gt),Pt=At[0],gt=At[1];Fe[Zt]=Ce(pt[Wt],Pt,gt)}var cr=be({},Fe[Zt][1]);return m(Fe[Zt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ht.toString()+"}",Zt,cr,fe(cr),$t)},Q=function(){return[E,p,v,f,d,l,a,c,S,T,s,g,x,C,I,L,M,k,wt,Y,pe]},ae=function(){return[E,p,v,f,d,l,o,e,b,A,_,w,s,G,W,g,R,j,V,D,H,P,K,U,L,M,Z,ce,Vt,Y]},Ue=function(){return[We,Oe,_e,ve,J]},te=function(){return[at,tt]},X=function(){return[yt,_e,q]},z=function(){return[Ye]},Y=function(pt){return postMessage(pt,[pt.buffer])},pe=function(pt){return pt&&pt.size&&new E(pt.size)},se=function(pt,ht,Zt,$t,At,Pt){var gt=Ne(Zt,$t,At,function(Wt,yr){gt.terminate(),Pt(Wt,yr)});return ht.consume||(pt=new E(pt)),gt.postMessage([pt,ht],[pt.buffer]),function(){gt.terminate()}},Te=function(pt){return pt.ondata=function(ht,Zt){return postMessage([ht,Zt],[ht.buffer])},function(ht){return pt.push(ht.data[0],ht.data[1])}},Se=function(pt,ht,Zt,$t,At){var Pt,gt=Ne(pt,$t,At,function(Wt,yr){Wt?(gt.terminate(),ht.ondata.call(ht,Wt)):(yr[1]&&gt.terminate(),ht.ondata.call(ht,Wt,yr[0],yr[1]))});gt.postMessage(Zt),ht.push=function(Wt,yr){if(Pt)throw"stream finished";if(!ht.ondata)throw"no stream handler";gt.postMessage([Wt,Pt=yr],[Wt.buffer])},ht.terminate=function(){gt.terminate()}},ie=function(pt,ht){return pt[ht]|pt[ht+1]<<8},de=function(pt,ht){return(pt[ht]|pt[ht+1]<<8|pt[ht+2]<<16)+(pt[ht+3]<<23)*2},_e=function(pt,ht,Zt){for(;Zt;++ht)pt[ht]=Zt,Zt>>>=8},We=function(pt,ht){var Zt=ht.filename;if(pt[0]=31,pt[1]=139,pt[2]=8,pt[8]=ht.level<2?4:ht.level==9?2:0,pt[9]=3,ht.mtime!=0&&_e(pt,4,Math.floor(new Date(ht.mtime||Date.now())/1e3)),Zt){pt[3]=8;for(var $t=0;$t<=Zt.length;++$t)pt[$t+10]=Zt.charCodeAt($t)}},at=function(pt){if(pt[0]!=31||pt[1]!=139||pt[2]!=8)throw"invalid gzip data";var ht=pt[3],Zt=10;ht&4&&(Zt+=pt[10]|(pt[11]<<8)+2);for(var $t=(ht>>3&1)+(ht>>4&1);$t>0;$t-=!pt[Zt++]);return Zt+(ht&2)},tt=function(pt){var ht=pt.length;return(pt[ht-4]|pt[ht-3]<<8|pt[ht-2]<<16)+2*(pt[ht-1]<<23)},Oe=function(pt){return 10+(pt.filename&&pt.filename.length+1||0)},yt=function(pt,ht){var Zt=ht.level,$t=Zt==0?0:Zt<6?1:Zt==9?3:2;pt[0]=120,pt[1]=$t<<6|($t?32-2*$t:1)},Ye=function(pt){if((pt[0]&15)!=8||pt[0]>>>4>7||(pt[0]<<8|pt[1])%31)throw"invalid zlib data";if(pt[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function bt(Yt,pt){return!pt&&typeof Yt=="function"&&(pt=Yt,Yt={}),this.ondata=pt,Yt}var Ct=function(){function Yt(pt,ht){!ht&&typeof pt=="function"&&(ht=pt,pt={}),this.ondata=ht,this.o=pt||{}}return Yt.prototype.p=function(pt,ht){this.ondata(ce(pt,this.o,0,0,!ht),ht)},Yt.prototype.push=function(pt,ht){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=ht,this.p(pt,ht||!1)},Yt}(),It=function(){function Yt(pt,ht){Se([ae,function(){return[Te,Ct]}],this,bt.call(this,pt,ht),function(Zt){var $t=new Ct(Zt.data);onmessage=Te($t)},6)}return Yt}();function Ft(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[ae],function(Zt){return Y(Vt(Zt.data[0],Zt.data[1]))},0,ht)}function Vt(Yt,pt){return pt===void 0&&(pt={}),ce(Yt,pt,0,0)}var $e=function(){function Yt(pt){this.s={},this.p=new E(0),this.ondata=pt}return Yt.prototype.e=function(pt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var ht=this.p.length,Zt=new E(ht+pt.length);Zt.set(this.p),Zt.set(pt,ht),this.p=Zt},Yt.prototype.c=function(pt){this.d=this.s.i=pt||!1;var ht=this.s.b,Zt=k(this.p,this.o,this.s);this.ondata(M(Zt,ht,this.s.b),this.d),this.o=M(Zt,this.s.b-32768),this.s.b=this.o.length,this.p=M(this.p,this.s.p/8>>0),this.s.p&=7},Yt.prototype.push=function(pt,ht){this.e(pt),this.c(ht)},Yt}(),ge=function(){function Yt(pt){this.ondata=pt,Se([Q,function(){return[Te,$e]}],this,0,function(){var ht=new $e;onmessage=Te(ht)},7)}return Yt}();function ne(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[Q],function(Zt){return Y(wt(Zt.data[0],pe(Zt.data[1])))},1,ht)}function wt(Yt,pt){return k(Yt,pt)}var qe=function(){function Yt(pt,ht){this.c=ve(),this.l=0,this.v=1,Ct.call(this,pt,ht)}return Yt.prototype.push=function(pt,ht){Ct.prototype.push.call(this,pt,ht)},Yt.prototype.p=function(pt,ht){this.c.p(pt),this.l+=pt.length;var Zt=ce(pt,this.o,this.v&&Oe(this.o),ht&&8,!ht);this.v&&(We(Zt,this.o),this.v=0),ht&&(_e(Zt,Zt.length-8,this.c.d()),_e(Zt,Zt.length-4,this.l)),this.ondata(Zt,ht)},Yt}(),he=function(){function Yt(pt,ht){Se([ae,Ue,function(){return[Te,Ct,qe]}],this,bt.call(this,pt,ht),function(Zt){var $t=new qe(Zt.data);onmessage=Te($t)},8)}return Yt}();function kt(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[ae,Ue,function(){return[nr]}],function(Zt){return Y(nr(Zt.data[0],Zt.data[1]))},2,ht)}function nr(Yt,pt){pt===void 0&&(pt={});var ht=ve(),Zt=Yt.length;ht.p(Yt);var $t=ce(Yt,pt,Oe(pt),8),At=$t.length;return We($t,pt),_e($t,At-8,ht.d()),_e($t,At-4,Zt),$t}var lt=function(){function Yt(pt){this.v=1,$e.call(this,pt)}return Yt.prototype.push=function(pt,ht){if($e.prototype.e.call(this,pt),this.v){var Zt=at(this.p);if(Zt>=this.p.length&&!ht)return;this.p=this.p.subarray(Zt),this.v=0}if(ht){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}$e.prototype.c.call(this,ht)},Yt}(),Xt=function(){function Yt(pt){this.ondata=pt,Se([Q,te,function(){return[Te,$e,lt]}],this,0,function(){var ht=new lt;onmessage=Te(ht)},9)}return Yt}();function hr(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[Q,te,function(){return[Wr]}],function(Zt){return Y(Wr(Zt.data[0]))},3,ht)}function Wr(Yt,pt){return k(Yt.subarray(at(Yt),-8),pt||new E(tt(Yt)))}var mt=function(){function Yt(pt,ht){this.c=q(),this.v=1,Ct.call(this,pt,ht)}return Yt.prototype.push=function(pt,ht){Ct.prototype.push.call(this,pt,ht)},Yt.prototype.p=function(pt,ht){this.c.p(pt);var Zt=ce(pt,this.o,this.v&&2,ht&&4,!ht);this.v&&(yt(Zt,this.o),this.v=0),ht&&_e(Zt,Zt.length-4,this.c.d()),this.ondata(Zt,ht)},Yt}(),Et=function(){function Yt(pt,ht){Se([ae,X,function(){return[Te,Ct,mt]}],this,bt.call(this,pt,ht),function(Zt){var $t=new mt(Zt.data);onmessage=Te($t)},10)}return Yt}();function rt(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[ae,X,function(){return[He]}],function(Zt){return Y(He(Zt.data[0],Zt.data[1]))},4,ht)}function He(Yt,pt){pt===void 0&&(pt={});var ht=q();ht.p(Yt);var Zt=ce(Yt,pt,2,4);return yt(Zt,pt),_e(Zt,Zt.length-4,ht.d()),Zt}var ze=function(){function Yt(pt){this.v=1,$e.call(this,pt)}return Yt.prototype.push=function(pt,ht){if($e.prototype.e.call(this,pt),this.v){if(this.p.length<2&&!ht)return;this.p=this.p.subarray(2),this.v=0}if(ht){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}$e.prototype.c.call(this,ht)},Yt}(),Rt=function(){function Yt(pt){this.ondata=pt,Se([Q,z,function(){return[Te,$e,ze]}],this,0,function(){var ht=new ze;onmessage=Te(ht)},11)}return Yt}();function sr(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return se(Yt,pt,[Q,z,function(){return[Jt]}],function(Zt){return Y(Jt(Zt.data[0],pe(Zt.data[1])))},5,ht)}function Jt(Yt,pt){return k((Ye(Yt),Yt.subarray(2,-4)),pt)}var qt=function(){function Yt(pt){this.G=lt,this.I=$e,this.Z=ze,this.ondata=pt}return Yt.prototype.push=function(pt,ht){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(pt,ht);else{if(this.p&&this.p.length){var Zt=new E(this.p.length+pt.length);Zt.set(this.p),Zt.set(pt,this.p.length)}else this.p=pt;if(this.p.length>2){var $t=this,At=function(){$t.ondata.apply($t,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(At):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(At):new this.Z(At),this.s.push(this.p,ht),this.p=null}}},Yt}(),qr=function(){function Yt(pt){this.G=Xt,this.I=ge,this.Z=Rt,this.ondata=pt}return Yt.prototype.push=function(pt,ht){qt.prototype.push.call(this,pt,ht)},Yt}();function Fr(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";return Yt[0]==31&&Yt[1]==139&&Yt[2]==8?hr(Yt,pt,ht):(Yt[0]&15)!=8||Yt[0]>>4>7||(Yt[0]<<8|Yt[1])%31?ne(Yt,pt,ht):sr(Yt,pt,ht)}function mn(Yt,pt){return Yt[0]==31&&Yt[1]==139&&Yt[2]==8?Wr(Yt,pt):(Yt[0]&15)!=8||Yt[0]>>4>7||(Yt[0]<<8|Yt[1])%31?wt(Yt,pt):Jt(Yt,pt)}var Tt=function Yt(pt,ht,Zt,$t){for(var At in pt){var Pt=pt[At],gt=ht+At;Pt instanceof E?Zt[gt]=[Pt,$t]:Array.isArray(Pt)?Zt[gt]=[Pt[0],be($t,Pt[1])]:Yt(Pt,gt+"/",Zt,$t)}};function St(Yt,pt){var ht=Yt.length;if(!pt&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Yt);for(var Zt=new E(Yt.length+(Yt.length>>>1)),$t=0,At=function(cr){Zt[$t++]=cr},Pt=0;Pt<ht;++Pt){if($t+5>Zt.length){var gt=new E($t+8+(ht-Pt<<1));gt.set(Zt),Zt=gt}var Wt=Yt.charCodeAt(Pt);Wt<128||pt?At(Wt):Wt<2048?(At(192|Wt>>>6),At(128|Wt&63)):Wt>55295&&Wt<57344?(Wt=65536+(Wt&1023<<10)|Yt.charCodeAt(++Pt)&1023,At(240|Wt>>>18),At(128|Wt>>>12&63),At(128|Wt>>>6&63),At(128|Wt&63)):(At(224|Wt>>>12),At(128|Wt>>>6&63),At(128|Wt&63))}return M(Zt,0,$t)}function Re(Yt,pt){var ht="";if(!pt&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Yt);for(var Zt=0;Zt<Yt.length;){var $t=Yt[Zt++];$t<128||pt?ht+=String.fromCharCode($t):$t<224?ht+=String.fromCharCode(($t&31)<<6|Yt[Zt++]&63):$t<240?ht+=String.fromCharCode(($t&15)<<12|(Yt[Zt++]&63)<<6|Yt[Zt++]&63):($t=(($t&15)<<18|(Yt[Zt++]&63)<<12|(Yt[Zt++]&63)<<6|Yt[Zt++]&63)-65536,ht+=String.fromCharCode(55296|$t>>10,56320|$t&1023))}return ht}var Ve=function(pt,ht){return ht+30+ie(pt,ht+26)+ie(pt,ht+28)},Xe=function(pt,ht,Zt){var $t=ie(pt,ht+28),At=Re(pt.subarray(ht+46,ht+46+$t),!(ie(pt,ht+8)&2048)),Pt=ht+46+$t,gt=Zt?ct(pt,Pt):[de(pt,ht+20),de(pt,ht+24),de(pt,ht+42)],Wt=gt[0],yr=gt[1],cr=gt[2];return[ie(pt,ht+10),Wt,yr,At,Pt+ie(pt,ht+30)+ie(pt,ht+32),cr]},ct=function(pt,ht){for(;ie(pt,ht)!=1;ht+=4+ie(pt,ht+2));return[de(pt,ht+12),de(pt,ht+4),de(pt,ht+20)]},tr=function(pt,ht,Zt,$t,At,Pt,gt,Wt,yr,cr){var pr=Pt.length,Qr=$t.length;_e(pt,ht,yr!=null?33639248:67324752),ht+=4,yr!=null&&(pt[ht]=20,ht+=2),pt[ht]=20,ht+=2,pt[ht++]=cr==8&&(Wt.level==1?6:Wt.level<6?4:Wt.level==9?2:0),pt[ht++]=gt&&8,pt[ht]=cr,ht+=2;var $r=new Date(Wt.mtime||Date.now()),Ln=$r.getFullYear()-1980;if(Ln<0||Ln>119)throw"date not in range 1980-2099";_e(pt,ht,(Ln<<24)*2|$r.getMonth()+1<<21|$r.getDate()<<16|$r.getHours()<<11|$r.getMinutes()<<5|$r.getSeconds()>>>1),ht+=4,_e(pt,ht,Zt),_e(pt,ht+4,Qr),_e(pt,ht+8,At),_e(pt,ht+12,pr),ht+=16,yr!=null&&(_e(pt,ht+=10,yr),ht+=4),pt.set(Pt,ht),ht+=pr,yr==null&&pt.set($t,ht)},ir=function(pt,ht,Zt,$t,At){_e(pt,ht,101010256),_e(pt,ht+8,Zt),_e(pt,ht+10,Zt),_e(pt,ht+12,$t),_e(pt,ht+16,At)};function or(Yt,pt,ht){if(ht||(ht=pt,pt={}),typeof ht!="function")throw"no callback";var Zt={};Tt(Yt,"",Zt,pt);var $t=Object.keys(Zt),At=$t.length,Pt=0,gt=0,Wt=At,yr=new Array(At),cr=[],pr=function(){for(var Vn=0;Vn<cr.length;++Vn)cr[Vn]()},Qr=function(){var Vn=new E(gt+22),ii=Pt,Li=gt-Pt;gt=0;for(var Pi=0;Pi<Wt;++Pi){var Ze=yr[Pi];try{tr(Vn,gt,Ze.c,Ze.d,Ze.m,Ze.n,Ze.u,Ze.p,null,Ze.t),tr(Vn,Pt,Ze.c,Ze.d,Ze.m,Ze.n,Ze.u,Ze.p,gt,Ze.t),Pt+=46+Ze.n.length,gt+=30+Ze.n.length+Ze.d.length}catch(xe){return ht(xe,null)}}ir(Vn,Pt,yr.length,Li,ii),ht(null,Vn)};At||Qr();for(var $r=function(Vn){var ii=$t[Vn],Li=Zt[ii],Pi=Li[0],Ze=Li[1],xe=ve(),Me=Pi.length;xe.p(Pi);var ke=St(ii),Ge=ke.length,Ke=Ze.level==0?0:8,Je=function(ot,Ut){if(ot)pr(),ht(ot,null);else{var br=Ut.length;yr[Vn]={t:Ke,d:Ut,m:Me,c:xe.d(),u:ii.length!=br,n:ke,p:Ze},Pt+=30+Ge+br,gt+=76+2*Ge+br,--At||Qr()}};if(ke.length>65535&&Je("filename too long",null),!Ke)Je(null,Pi);else if(Me<16e4)try{Je(null,Vt(Pi,Ze))}catch(vt){Je(vt,null)}else cr.push(Ft(Pi,Ze,Je))},Ln=0;Ln<Wt;++Ln)$r(Ln);return pr}function Xr(Yt,pt){pt===void 0&&(pt={});var ht={},Zt=[];Tt(Yt,"",ht,pt);var $t=0,At=0;for(var Pt in ht){var gt=ht[Pt],Wt=gt[0],yr=gt[1],cr=yr.level==0?0:8,pr=St(Pt),Qr=pr.length;if(pr.length>65535)throw"filename too long";var $r=cr?Vt(Wt,yr):Wt,Ln=$r.length,Mn=ve();Mn.p(Wt),Zt.push({t:cr,d:$r,m:Wt.length,c:Mn.d(),u:Pt.length!=Qr,n:pr,o:$t,p:yr}),$t+=30+Qr+Ln,At+=76+2*Qr+Ln}for(var Vn=new E(At+22),ii=$t,Li=At-$t,Pi=0;Pi<Zt.length;++Pi){var Ze=Zt[Pi];tr(Vn,Ze.o,Ze.c,Ze.d,Ze.m,Ze.n,Ze.u,Ze.p,null,Ze.t),tr(Vn,$t,Ze.c,Ze.d,Ze.m,Ze.n,Ze.u,Ze.p,Ze.o,Ze.t),$t+=46+Ze.n.length}return ir(Vn,$t,Zt.length,Li,ii),Vn}function Yr(Yt,pt){if(typeof pt!="function")throw"no callback";for(var ht=[],Zt=function(){for(var $r=0;$r<ht.length;++$r)ht[$r]()},$t={},At=Yt.length-22;de(Yt,At)!=101010256;--At)if(!At||Yt.length-At>65558){pt("invalid zip file",null);return}var Pt=ie(Yt,At+8);Pt||pt(null,{});var gt=Pt,Wt=de(Yt,At+16),yr=Wt==4294967295;if(yr){if(At=de(Yt,At-12),de(Yt,At)!=101075792)throw"invalid zip file";gt=Pt=de(Yt,At+32),Wt=de(Yt,At+48)}for(var cr=function($r){var Ln=Xe(Yt,Wt,yr),Mn=Ln[0],Vn=Ln[1],ii=Ln[2],Li=Ln[3],Pi=Ln[4],Ze=Ln[5],xe=Ve(Yt,Ze);Wt=Pi;var Me=function(Ke,Je){Ke?(Zt(),pt(Ke,null)):($t[Li]=Je,--Pt||pt(null,$t))};if(!Mn)Me(null,M(Yt,xe,xe+Vn));else if(Mn==8){var ke=Yt.subarray(xe,xe+Vn);if(Vn<32e4)try{Me(null,wt(ke,new E(ii)))}catch(Ge){Me(Ge,null)}else ht.push(ne(ke,{size:ii},Me))}else Me("unknown compression type "+Mn,null)},pr=0;pr<gt;++pr)cr(pr);return Zt}function bn(Yt){for(var pt={},ht=Yt.length-22;de(Yt,ht)!=101010256;--ht)if(!ht||Yt.length-ht>65558)throw"invalid zip file";var Zt=ie(Yt,ht+8);if(!Zt)return{};var $t=de(Yt,ht+16),At=$t==4294967295;if(At){if(ht=de(Yt,ht-12),de(Yt,ht)!=101075792)throw"invalid zip file";Zt=de(Yt,ht+32),$t=de(Yt,ht+48)}for(var Pt=0;Pt<Zt;++Pt){var gt=Xe(Yt,$t,At),Wt=gt[0],yr=gt[1],cr=gt[2],pr=gt[3],Qr=gt[4],$r=gt[5],Ln=Ve(Yt,$r);if($t=Qr,!Wt)pt[pr]=M(Yt,Ln,Ln+yr);else if(Wt==8)pt[pr]=wt(Yt.subarray(Ln,Ln+yr),new E(cr));else throw"unknown compression type "+Wt}return pt}},czTT:function(B,N,i){},d4KN:function(B,N,i){var y=i("ProS"),m=i("bYtY");function E(p,v){m.each(v,function(f){f.update="updateView",y.registerAction(f,function(d,l){var n={};return l.eachComponent({mainType:"series",subType:p,query:d},function(t){t[f.method]&&t[f.method](d.name,d.dataIndex);var a=t.getData();a.each(function(o){var r=a.getName(o);n[r]=t.isSelected(r)||!1})}),{name:d.name,selected:n,seriesId:d.seriesId}})})}B.exports=E},dBmv:function(B,N,i){var y=i("ProS"),m=i("szbU");i("vF/C"),i("qwVE"),i("MHoB"),i("PNag"),i("1u/T"),y.registerPreprocessor(m)},"dF/Y":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DownloadOutlined";var d=N.a=m.forwardRef(f)},dMvE:function(B,N){var i={linear:function(E){return E},quadraticIn:function(E){return E*E},quadraticOut:function(E){return E*(2-E)},quadraticInOut:function(E){return(E*=2)<1?.5*E*E:-.5*(--E*(E-2)-1)},cubicIn:function(E){return E*E*E},cubicOut:function(E){return--E*E*E+1},cubicInOut:function(E){return(E*=2)<1?.5*E*E*E:.5*((E-=2)*E*E+2)},quarticIn:function(E){return E*E*E*E},quarticOut:function(E){return 1- --E*E*E*E},quarticInOut:function(E){return(E*=2)<1?.5*E*E*E*E:-.5*((E-=2)*E*E*E-2)},quinticIn:function(E){return E*E*E*E*E},quinticOut:function(E){return--E*E*E*E*E+1},quinticInOut:function(E){return(E*=2)<1?.5*E*E*E*E*E:.5*((E-=2)*E*E*E*E+2)},sinusoidalIn:function(E){return 1-Math.cos(E*Math.PI/2)},sinusoidalOut:function(E){return Math.sin(E*Math.PI/2)},sinusoidalInOut:function(E){return .5*(1-Math.cos(Math.PI*E))},exponentialIn:function(E){return E===0?0:Math.pow(1024,E-1)},exponentialOut:function(E){return E===1?1:1-Math.pow(2,-10*E)},exponentialInOut:function(E){return E===0?0:E===1?1:(E*=2)<1?.5*Math.pow(1024,E-1):.5*(-Math.pow(2,-10*(E-1))+2)},circularIn:function(E){return 1-Math.sqrt(1-E*E)},circularOut:function(E){return Math.sqrt(1- --E*E)},circularInOut:function(E){return(E*=2)<1?-.5*(Math.sqrt(1-E*E)-1):.5*(Math.sqrt(1-(E-=2)*E)+1)},elasticIn:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)))},elasticOut:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*E)*Math.sin((E-p)*(2*Math.PI)/f)+1)},elasticInOut:function(E){var p,v=.1,f=.4;return E===0?0:E===1?1:(!v||v<1?(v=1,p=f/4):p=f*Math.asin(1/v)/(2*Math.PI),(E*=2)<1?-.5*(v*Math.pow(2,10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)):v*Math.pow(2,-10*(E-=1))*Math.sin((E-p)*(2*Math.PI)/f)*.5+1)},backIn:function(E){var p=1.70158;return E*E*((p+1)*E-p)},backOut:function(E){var p=1.70158;return--E*E*((p+1)*E+p)+1},backInOut:function(E){var p=1.70158*1.525;return(E*=2)<1?.5*(E*E*((p+1)*E-p)):.5*((E-=2)*E*((p+1)*E+p)+2)},bounceIn:function(E){return 1-i.bounceOut(1-E)},bounceOut:function(E){return E<1/2.75?7.5625*E*E:E<2/2.75?7.5625*(E-=1.5/2.75)*E+.75:E<2.5/2.75?7.5625*(E-=2.25/2.75)*E+.9375:7.5625*(E-=2.625/2.75)*E+.984375},bounceInOut:function(E){return E<.5?i.bounceIn(E*2)*.5:i.bounceOut(E*2-1)*.5+.5}},y=i;B.exports=y},diRs:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("q1tI"),p=i.n(E),v=i("3S7+"),f=i("H84U"),d=i("bogI"),l=function(t,a){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(t);c<r.length;c++)a.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(t,r[c])&&(o[r[c]]=t[r[c]]);return o},n=E.forwardRef(function(t,a){var o=t.prefixCls,r=t.title,c=t.content,e=l(t,["prefixCls","title","content"]),s=E.useContext(f.b),u=s.getPrefixCls,h=function(w){return E.createElement(E.Fragment,null,r&&E.createElement("div",{className:"".concat(w,"-title")},Object(d.a)(r)),E.createElement("div",{className:"".concat(w,"-inner-content")},Object(d.a)(c)))},g=u("popover",o);return E.createElement(v.a,m()({},e,{prefixCls:g,ref:a,overlay:h(g)}))});n.displayName="Popover",n.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},N.a=n},digP:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:function(E,p){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:p}},{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:E}}]}},name:"file",theme:"twotone"};N.default=y},dmGj:function(B,N,i){var y=i("DEFe"),m=i("ProS"),E=m.extendComponentView({type:"geo",init:function(p,v){var f=new y(v,!0);this._mapDraw=f,this.group.add(f.group)},render:function(p,v,f,d){if(d&&d.type==="geoToggleSelect"&&d.from===this.uid)return;var l=this._mapDraw;p.get("show")?l.draw(p,v,f,this,d):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});B.exports=E},dnwI:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("YH21"),p=i("Kagy"),v=i("IUWy"),f=p.toolbox.dataView,d=new Array(60).join("-"),l=" ";function n(b){var S={},_=[],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;S[L]||(S[L]={categoryAxis:I,valueAxis:C.getOtherAxis(I),series:[]},T.push({axisDim:I.dim,axisIndex:I.index})),S[L].series.push(x)}else _.push(x)}else _.push(x)}),{seriesGroupByCategoryAxis:S,other:_,meta:T}}function t(b){var S=[];return m.each(b,function(_,T){var x=_.categoryAxis,C=_.valueAxis,I=C.dim,L=[" "].concat(m.map(_.series,function(D){return D.name})),M=[x.model.getCategories()];m.each(_.series,function(D){M.push(D.getRawData().mapArray(I,function(H){return H}))});for(var k=[L.join(l)],R=0;R<M[0].length;R++){for(var j=[],V=0;V<M.length;V++)j.push(M[V][R]);k.push(j.join(l))}S.push(k.join(`
`))}),S.join(`
`+d+`
`)}function a(b){return m.map(b,function(S){var _=S.getRawData(),T=[S.name],x=[];return _.each(_.dimensions,function(){for(var C=arguments.length,I=arguments[C-1],L=_.getName(I),M=0;M<C-1;M++)x[M]=arguments[M];T.push((L?L+l:"")+x.join(l))}),T.join(`
`)}).join(`
`+d+`
`)}function o(b){var S=n(b);return{value:m.filter([t(S.seriesGroupByCategoryAxis),a(S.other)],function(_){return _.replace(/[\n\t\s]/g,"")}).join(`
`+d+`
`),meta:S.meta}}function r(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function c(b){var S=b.slice(0,b.indexOf(`
`));if(S.indexOf(l)>=0)return!0}var e=new RegExp("["+l+"]+","g");function s(b){for(var S=b.split(/\n+/g),_=r(S.shift()).split(e),T=[],x=m.map(_,function(M){return{name:M,data:[]}}),C=0;C<S.length;C++){var I=r(S[C]).split(e);T.push(I.shift());for(var L=0;L<I.length;L++)x[L]&&(x[L].data[C]=I[L])}return{series:x,categories:T}}function u(b){for(var S=b.split(/\n+/g),_=r(S.shift()),T=[],x=0;x<S.length;x++){var C=r(S[x]).split(e),I="",L,M=!1;isNaN(C[0])?(M=!0,I=C[0],C=C.slice(1),T[x]={name:I,value:[]},L=T[x].value):L=T[x]=[];for(var k=0;k<C.length;k++)L.push(+C[k]);L.length===1&&(M?T[x].value=L[0]:T[x]=L[0])}return{name:_,data:T}}function h(b,S){var _=b.split(new RegExp(`
*`+d+`
*`,"g")),T={series:[]};return m.each(_,function(x,C){if(c(x)){var I=s(x),L=S[C],M=L.axisDim+"Axis";L&&(T[M]=T[M]||[],T[M][L.axisIndex]={data:I.categories},T.series=T.series.concat(I.series))}else{var I=u(x);T.series.push(I)}}),T}function g(b){this._dom=null,this.model=b}g.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:m.clone(f.title),lang:m.clone(f.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},g.prototype.onclick=function(b,S){var _=S.getDom(),T=this.model;this._dom&&_.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=T.get("backgroundColor")||"#fff";var C=document.createElement("h4"),I=T.get("lang")||[];C.innerHTML=I[0]||T.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=T.get("textColor");var L=document.createElement("div"),M=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var k=T.get("optionToContent"),R=T.get("contentToOption"),j=o(b);if(typeof k=="function"){var V=k(S.getOption());typeof V=="string"?L.innerHTML=V:m.isDom(V)&&L.appendChild(V)}else L.appendChild(M),M.readOnly=T.get("readOnly"),M.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",M.style.color=T.get("textColor"),M.style.borderColor=T.get("textareaBorderColor"),M.style.backgroundColor=T.get("textareaColor"),M.value=j.value;var D=j.meta,H=document.createElement("div");H.style.cssText="position:absolute;bottom:0;left:0;right:0;";var P="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",K=document.createElement("div"),U=document.createElement("div");P+=";background-color:"+T.get("buttonColor"),P+=";color:"+T.get("buttonTextColor");var G=this;function W(){_.removeChild(x),G._dom=null}E.addEventListener(K,"click",W),E.addEventListener(U,"click",function(){var Z;try{typeof R=="function"?Z=R(L,S.getOption()):Z=h(M.value,D)}catch(J){throw W(),new Error("Data view format error "+J)}Z&&S.dispatchAction({type:"changeDataView",newOption:Z}),W()}),K.innerHTML=I[1],U.innerHTML=I[2],U.style.cssText=P,K.style.cssText=P,!T.get("readOnly")&&H.appendChild(U),H.appendChild(K),x.appendChild(C),x.appendChild(L),x.appendChild(H),L.style.height=_.clientHeight-80+"px",_.appendChild(x),this._dom=x},g.prototype.remove=function(b,S){this._dom&&S.getDom().removeChild(this._dom)},g.prototype.dispose=function(b,S){this.remove(b,S)};function A(b,S){return m.map(b,function(_,T){var x=S&&S[T];return m.isObject(x)&&!m.isArray(x)?(m.isObject(_)&&!m.isArray(_)&&(_=_.value),m.defaults({value:_},x)):_})}v.register("dataView",g),y.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(b,S){var _=[];m.each(b.newOption.series,function(T){var x=S.getSeriesByName(T.name)[0];if(!x)_.push(m.extend({type:"scatter"},T));else{var C=x.get("data");_.push({name:T.name,data:A(T.data,C)})}}),S.mergeOption(m.defaults({series:_},b.newOption))});var w=g;B.exports=w},dqUG:function(B,N,i){var y=i("Gev7"),m=i("bYtY"),E=i("6GrX"),p=i("pzxd"),v=i("gut8"),f=v.ContextCachedBy,d=function(t){y.call(this,t)};d.prototype={constructor:d,type:"text",brush:function(t,a){var o=this.style;this.__dirty&&p.normalizeTextStyle(o,!0),o.fill=o.stroke=o.shadowBlur=o.shadowColor=o.shadowOffsetX=o.shadowOffsetY=null;var r=o.text;if(r!=null&&(r+=""),!p.needDrawText(r,o)){t.__attrCachedBy=f.NONE;return}this.setTransform(t),p.renderText(this,t,r,o,null,a),this.restoreTransform(t)},getBoundingRect:function(){var t=this.style;if(this.__dirty&&p.normalizeTextStyle(t,!0),!this._rect){var a=t.text;a!=null?a+="":a="";var o=E.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(o.x+=t.x||0,o.y+=t.y||0,p.getStroke(t.textStroke,t.textStrokeWidth)){var r=t.textStrokeWidth;o.x-=r/2,o.y-=r/2,o.width+=r,o.height+=r}this._rect=o}return this._rect}},m.inherits(d,y);var l=d;B.exports=l},dt0z:function(B,N,i){var y=i("zoYe");function m(E){return E==null?"":y(E)}B.exports=m},dtIV:function(B,N,i){"use strict";i.r(N),function(y){i.d(N,"AcroForm",function(){return qe}),i.d(N,"AcroFormAppearance",function(){return ne}),i.d(N,"AcroFormButton",function(){return bt}),i.d(N,"AcroFormCheckBox",function(){return Vt}),i.d(N,"AcroFormChoiceField",function(){return tt}),i.d(N,"AcroFormComboBox",function(){return yt}),i.d(N,"AcroFormEditBox",function(){return Ye}),i.d(N,"AcroFormListBox",function(){return Oe}),i.d(N,"AcroFormPasswordField",function(){return ge}),i.d(N,"AcroFormPushButton",function(){return Ct}),i.d(N,"AcroFormRadioButton",function(){return It}),i.d(N,"AcroFormTextField",function(){return $e}),i.d(N,"GState",function(){return V}),i.d(N,"ShadingPattern",function(){return H}),i.d(N,"TilingPattern",function(){return P}),i.d(N,"jsPDF",function(){return K});var m=i("cDf5"),E=i.n(m),p=i("crp1");/** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version 2.4.0 Built on 2021-09-14T10:30:30.230Z
* 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 v=function(){return typeof window!="undefined"?window:typeof y!="undefined"?y:typeof self!="undefined"?self:this}();function f(){v.console&&typeof v.console.log=="function"&&v.console.log.apply(v.console,arguments)}var d={log:f,warn:function(xe){v.console&&(typeof v.console.warn=="function"?v.console.warn.apply(v.console,arguments):f.call(null,arguments))},error:function(xe){v.console&&(typeof v.console.error=="function"?v.console.error.apply(v.console,arguments):f(xe))}};function l(Ze,xe,Me){var ke=new XMLHttpRequest;ke.open("GET",Ze),ke.responseType="blob",ke.onload=function(){r(ke.response,xe,Me)},ke.onerror=function(){d.error("could not download file")},ke.send()}function n(Ze){var xe=new XMLHttpRequest;xe.open("HEAD",Ze,!1);try{xe.send()}catch(Me){}return xe.status>=200&&xe.status<=299}function t(Ze){try{Ze.dispatchEvent(new MouseEvent("click"))}catch(Me){var xe=document.createEvent("MouseEvents");xe.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Ze.dispatchEvent(xe)}}var a,o,r=v.saveAs||((typeof window=="undefined"?"undefined":E()(window))!=="object"||window!==v?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Ze,xe,Me){var ke=v.URL||v.webkitURL,Ge=document.createElement("a");xe=xe||Ze.name||"download",Ge.download=xe,Ge.rel="noopener",typeof Ze=="string"?(Ge.href=Ze,Ge.origin!==location.origin?n(Ge.href)?l(Ze,xe,Me):t(Ge,Ge.target="_blank"):t(Ge)):(Ge.href=ke.createObjectURL(Ze),setTimeout(function(){ke.revokeObjectURL(Ge.href)},4e4),setTimeout(function(){t(Ge)},0))}:"msSaveOrOpenBlob"in navigator?function(Ze,xe,Me){if(xe=xe||Ze.name||"download",typeof Ze=="string")if(n(Ze))l(Ze,xe,Me);else{var ke=document.createElement("a");ke.href=Ze,ke.target="_blank",setTimeout(function(){t(ke)})}else navigator.msSaveOrOpenBlob(function(Ge,Ke){return Ke===void 0?Ke={autoBom:!1}:E()(Ke)!=="object"&&(d.warn("Deprecated: Expected third argument to be a object"),Ke={autoBom:!Ke}),Ke.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ge.type)?new Blob([String.fromCharCode(65279),Ge],{type:Ge.type}):Ge}(Ze,Me),xe)}:function(Ze,xe,Me,ke){if((ke=ke||open("","_blank"))&&(ke.document.title=ke.document.body.innerText="downloading..."),typeof Ze=="string")return l(Ze,xe,Me);var Ge=Ze.type==="application/octet-stream",Ke=/constructor/i.test(v.HTMLElement)||v.safari,Je=/CriOS\/[\d]+/.test(navigator.userAgent);if((Je||Ge&&Ke)&&(typeof FileReader=="undefined"?"undefined":E()(FileReader))==="object"){var vt=new FileReader;vt.onloadend=function(){var br=vt.result;br=Je?br:br.replace(/^data:[^;]*;/,"data:attachment/file;"),ke?ke.location.href=br:location=br,ke=null},vt.readAsDataURL(Ze)}else{var ot=v.URL||v.webkitURL,Ut=ot.createObjectURL(Ze);ke?ke.location=Ut:location.href=Ut,ke=null,setTimeout(function(){ot.revokeObjectURL(Ut)},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 c(Ze){var xe;Ze=Ze||"",this.ok=!1,Ze.charAt(0)=="#"&&(Ze=Ze.substr(1,6)),Ze={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"}[Ze=(Ze=Ze.replace(/ /g,"")).toLowerCase()]||Ze;for(var Me=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ot){return[parseInt(ot[1]),parseInt(ot[2]),parseInt(ot[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ot){return[parseInt(ot[1],16),parseInt(ot[2],16),parseInt(ot[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ot){return[parseInt(ot[1]+ot[1],16),parseInt(ot[2]+ot[2],16),parseInt(ot[3]+ot[3],16)]}}],ke=0;ke<Me.length;ke++){var Ge=Me[ke].re,Ke=Me[ke].process,Je=Ge.exec(Ze);Je&&(xe=Ke(Je),this.r=xe[0],this.g=xe[1],this.b=xe[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 vt=this.r.toString(16),ot=this.g.toString(16),Ut=this.b.toString(16);return vt.length==1&&(vt="0"+vt),ot.length==1&&(ot="0"+ot),Ut.length==1&&(Ut="0"+Ut),"#"+vt+ot+Ut}}/**
* @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(Ze,xe){var Me=Ze[0],ke=Ze[1],Ge=Ze[2],Ke=Ze[3];Me=u(Me,ke,Ge,Ke,xe[0],7,-680876936),Ke=u(Ke,Me,ke,Ge,xe[1],12,-389564586),Ge=u(Ge,Ke,Me,ke,xe[2],17,606105819),ke=u(ke,Ge,Ke,Me,xe[3],22,-1044525330),Me=u(Me,ke,Ge,Ke,xe[4],7,-176418897),Ke=u(Ke,Me,ke,Ge,xe[5],12,1200080426),Ge=u(Ge,Ke,Me,ke,xe[6],17,-1473231341),ke=u(ke,Ge,Ke,Me,xe[7],22,-45705983),Me=u(Me,ke,Ge,Ke,xe[8],7,1770035416),Ke=u(Ke,Me,ke,Ge,xe[9],12,-1958414417),Ge=u(Ge,Ke,Me,ke,xe[10],17,-42063),ke=u(ke,Ge,Ke,Me,xe[11],22,-1990404162),Me=u(Me,ke,Ge,Ke,xe[12],7,1804603682),Ke=u(Ke,Me,ke,Ge,xe[13],12,-40341101),Ge=u(Ge,Ke,Me,ke,xe[14],17,-1502002290),Me=h(Me,ke=u(ke,Ge,Ke,Me,xe[15],22,1236535329),Ge,Ke,xe[1],5,-165796510),Ke=h(Ke,Me,ke,Ge,xe[6],9,-1069501632),Ge=h(Ge,Ke,Me,ke,xe[11],14,643717713),ke=h(ke,Ge,Ke,Me,xe[0],20,-373897302),Me=h(Me,ke,Ge,Ke,xe[5],5,-701558691),Ke=h(Ke,Me,ke,Ge,xe[10],9,38016083),Ge=h(Ge,Ke,Me,ke,xe[15],14,-660478335),ke=h(ke,Ge,Ke,Me,xe[4],20,-405537848),Me=h(Me,ke,Ge,Ke,xe[9],5,568446438),Ke=h(Ke,Me,ke,Ge,xe[14],9,-1019803690),Ge=h(Ge,Ke,Me,ke,xe[3],14,-187363961),ke=h(ke,Ge,Ke,Me,xe[8],20,1163531501),Me=h(Me,ke,Ge,Ke,xe[13],5,-1444681467),Ke=h(Ke,Me,ke,Ge,xe[2],9,-51403784),Ge=h(Ge,Ke,Me,ke,xe[7],14,1735328473),Me=g(Me,ke=h(ke,Ge,Ke,Me,xe[12],20,-1926607734),Ge,Ke,xe[5],4,-378558),Ke=g(Ke,Me,ke,Ge,xe[8],11,-2022574463),Ge=g(Ge,Ke,Me,ke,xe[11],16,1839030562),ke=g(ke,Ge,Ke,Me,xe[14],23,-35309556),Me=g(Me,ke,Ge,Ke,xe[1],4,-1530992060),Ke=g(Ke,Me,ke,Ge,xe[4],11,1272893353),Ge=g(Ge,Ke,Me,ke,xe[7],16,-155497632),ke=g(ke,Ge,Ke,Me,xe[10],23,-1094730640),Me=g(Me,ke,Ge,Ke,xe[13],4,681279174),Ke=g(Ke,Me,ke,Ge,xe[0],11,-358537222),Ge=g(Ge,Ke,Me,ke,xe[3],16,-722521979),ke=g(ke,Ge,Ke,Me,xe[6],23,76029189),Me=g(Me,ke,Ge,Ke,xe[9],4,-640364487),Ke=g(Ke,Me,ke,Ge,xe[12],11,-421815835),Ge=g(Ge,Ke,Me,ke,xe[15],16,530742520),Me=A(Me,ke=g(ke,Ge,Ke,Me,xe[2],23,-995338651),Ge,Ke,xe[0],6,-198630844),Ke=A(Ke,Me,ke,Ge,xe[7],10,1126891415),Ge=A(Ge,Ke,Me,ke,xe[14],15,-1416354905),ke=A(ke,Ge,Ke,Me,xe[5],21,-57434055),Me=A(Me,ke,Ge,Ke,xe[12],6,1700485571),Ke=A(Ke,Me,ke,Ge,xe[3],10,-1894986606),Ge=A(Ge,Ke,Me,ke,xe[10],15,-1051523),ke=A(ke,Ge,Ke,Me,xe[1],21,-2054922799),Me=A(Me,ke,Ge,Ke,xe[8],6,1873313359),Ke=A(Ke,Me,ke,Ge,xe[15],10,-30611744),Ge=A(Ge,Ke,Me,ke,xe[6],15,-1560198380),ke=A(ke,Ge,Ke,Me,xe[13],21,1309151649),Me=A(Me,ke,Ge,Ke,xe[4],6,-145523070),Ke=A(Ke,Me,ke,Ge,xe[11],10,-1120210379),Ge=A(Ge,Ke,Me,ke,xe[2],15,718787259),ke=A(ke,Ge,Ke,Me,xe[9],21,-343485551),Ze[0]=I(Me,Ze[0]),Ze[1]=I(ke,Ze[1]),Ze[2]=I(Ge,Ze[2]),Ze[3]=I(Ke,Ze[3])}function s(Ze,xe,Me,ke,Ge,Ke){return xe=I(I(xe,Ze),I(ke,Ke)),I(xe<<Ge|xe>>>32-Ge,Me)}function u(Ze,xe,Me,ke,Ge,Ke,Je){return s(xe&Me|~xe&ke,Ze,xe,Ge,Ke,Je)}function h(Ze,xe,Me,ke,Ge,Ke,Je){return s(xe&ke|Me&~ke,Ze,xe,Ge,Ke,Je)}function g(Ze,xe,Me,ke,Ge,Ke,Je){return s(xe^Me^ke,Ze,xe,Ge,Ke,Je)}function A(Ze,xe,Me,ke,Ge,Ke,Je){return s(Me^(xe|~ke),Ze,xe,Ge,Ke,Je)}function w(Ze){var xe,Me=Ze.length,ke=[1732584193,-271733879,-1732584194,271733878];for(xe=64;xe<=Ze.length;xe+=64)e(ke,b(Ze.substring(xe-64,xe)));Ze=Ze.substring(xe-64);var Ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(xe=0;xe<Ze.length;xe++)Ge[xe>>2]|=Ze.charCodeAt(xe)<<(xe%4<<3);if(Ge[xe>>2]|=128<<(xe%4<<3),xe>55)for(e(ke,Ge),xe=0;xe<16;xe++)Ge[xe]=0;return Ge[14]=8*Me,e(ke,Ge),ke}function b(Ze){var xe,Me=[];for(xe=0;xe<64;xe+=4)Me[xe>>2]=Ze.charCodeAt(xe)+(Ze.charCodeAt(xe+1)<<8)+(Ze.charCodeAt(xe+2)<<16)+(Ze.charCodeAt(xe+3)<<24);return Me}a=v.atob.bind(v),o=v.btoa.bind(v);var S="0123456789abcdef".split("");function _(Ze){for(var xe="",Me=0;Me<4;Me++)xe+=S[Ze>>8*Me+4&15]+S[Ze>>8*Me&15];return xe}function T(Ze){return String.fromCharCode((255&Ze)>>0,(65280&Ze)>>8,(16711680&Ze)>>16,(4278190080&Ze)>>24)}function x(Ze){return w(Ze).map(T).join("")}var C=function(Ze){for(var xe=0;xe<Ze.length;xe++)Ze[xe]=_(Ze[xe]);return Ze.join("")}(w("hello"))!="5d41402abc4b2a76b9719d911017c592";function I(Ze,xe){if(C){var Me=(65535&Ze)+(65535&xe);return(Ze>>16)+(xe>>16)+(Me>>16)<<16|65535&Me}return Ze+xe&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(Ze,xe){var Me,ke,Ge,Ke;if(Ze!==Me){for(var Je=(Ge=Ze,Ke=1+(256/Ze.length>>0),new Array(Ke+1).join(Ge)),vt=[],ot=0;ot<256;ot++)vt[ot]=ot;var Ut=0;for(ot=0;ot<256;ot++){var br=vt[ot];Ut=(Ut+br+Je.charCodeAt(ot))%256,vt[ot]=vt[Ut],vt[Ut]=br}Me=Ze,ke=vt}else vt=ke;var Ar=xe.length,Or=0,zt=0,un="";for(ot=0;ot<Ar;ot++)zt=(zt+(br=vt[Or=(Or+1)%256]))%256,vt[Or]=vt[zt],vt[zt]=br,Je=vt[(vt[Or]+vt[zt])%256],un+=String.fromCharCode(xe.charCodeAt(ot)^Je);return un}/**
* @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 M={print:4,modify:8,copy:16,"annot-forms":32};function k(Ze,xe,Me,ke){this.v=1,this.r=2;var Ge=192;Ze.forEach(function(vt){if(M.perm!==void 0)throw new Error("Invalid permission: "+vt);Ge+=M[vt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Ke=(xe+this.padding).substr(0,32),Je=(Me+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ke,Je),this.P=-(1+(255^Ge)),this.encryptionKey=x(Ke+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(ke)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function R(Ze){if(/[^\u0000-\u00ff]/.test(Ze))throw new Error("Invalid PDF Name Object: "+Ze+", Only accept ASCII characters.");for(var xe="",Me=Ze.length,ke=0;ke<Me;ke++){var Ge=Ze.charCodeAt(ke);Ge<33||Ge===35||Ge===37||Ge===40||Ge===41||Ge===47||Ge===60||Ge===62||Ge===91||Ge===93||Ge===123||Ge===125||Ge>126?xe+="#"+("0"+Ge.toString(16)).slice(-2):xe+=Ze[ke]}return xe}function j(Ze){if(E()(Ze)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var xe={};this.subscribe=function(Me,ke,Ge){if(Ge=Ge||!1,typeof Me!="string"||typeof ke!="function"||typeof Ge!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");xe.hasOwnProperty(Me)||(xe[Me]={});var Ke=Math.random().toString(35);return xe[Me][Ke]=[ke,!!Ge],Ke},this.unsubscribe=function(Me){for(var ke in xe)if(xe[ke][Me])return delete xe[ke][Me],Object.keys(xe[ke]).length===0&&delete xe[ke],!0;return!1},this.publish=function(Me){if(xe.hasOwnProperty(Me)){var ke=Array.prototype.slice.call(arguments,1),Ge=[];for(var Ke in xe[Me]){var Je=xe[Me][Ke];try{Je[0].apply(Ze,ke)}catch(vt){v.console&&d.error("jsPDF PubSub Error",vt.message,vt)}Je[1]&&Ge.push(Ke)}Ge.length&&Ge.forEach(this.unsubscribe)}},this.getTopics=function(){return xe}}function V(Ze){if(!(this instanceof V))return new V(Ze);var xe="opacity,stroke-opacity".split(",");for(var Me in Ze)Ze.hasOwnProperty(Me)&&xe.indexOf(Me)>=0&&(this[Me]=Ze[Me]);this.id="",this.objectNumber=-1}function D(Ze,xe){this.gState=Ze,this.matrix=xe,this.id="",this.objectNumber=-1}function H(Ze,xe,Me,ke,Ge){if(!(this instanceof H))return new H(Ze,xe,Me,ke,Ge);this.type=Ze==="axial"?2:3,this.coords=xe,this.colors=Me,D.call(this,ke,Ge)}function P(Ze,xe,Me,ke,Ge){if(!(this instanceof P))return new P(Ze,xe,Me,ke,Ge);this.boundingBox=Ze,this.xStep=xe,this.yStep=Me,this.stream="",this.cloneIndex=0,D.call(this,ke,Ge)}function K(Ze){var xe,Me=typeof arguments[0]=="string"?arguments[0]:"p",ke=arguments[1],Ge=arguments[2],Ke=arguments[3],Je=[],vt=1,ot=16,Ut="S",br=null;E()(Ze=Ze||{})==="object"&&(Me=Ze.orientation,ke=Ze.unit||ke,Ge=Ze.format||Ge,Ke=Ze.compress||Ze.compressPdf||Ke,(br=Ze.encryption||null)!==null&&(br.userPassword=br.userPassword||"",br.ownerPassword=br.ownerPassword||"",br.userPermissions=br.userPermissions||[]),vt=typeof Ze.userUnit=="number"?Math.abs(Ze.userUnit):1,Ze.precision!==void 0&&(xe=Ze.precision),Ze.floatPrecision!==void 0&&(ot=Ze.floatPrecision),Ut=Ze.defaultPathOperation||"S"),Je=Ze.filters||(Ke===!0?["FlateEncode"]:Je),ke=ke||"mm",Me=(""+(Me||"P")).toLowerCase();var Ar=Ze.putOnlyUsedFonts||!1,Or={},zt={internal:{},__private__:{}};zt.__private__.PubSub=j;var un="1.3",lr=zt.__private__.getPdfVersion=function(){return un};zt.__private__.setPdfVersion=function(xt){un=xt};var Vr={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]};zt.__private__.getPageFormats=function(){return Vr};var Br=zt.__private__.getPageFormat=function(xt){return Vr[xt]};Ge=Ge||"a4";var Sr={COMPAT:"compat",ADVANCED:"advanced"},xn=Sr.COMPAT;function Hn(){this.saveGraphicsState(),cn(new Pn(Hr,0,0,-Hr,0,Ds()*Hr).toString()+" cm"),this.setFontSize(this.getFontSize()/Hr),Ut="n",xn=Sr.ADVANCED}function ai(){this.restoreGraphicsState(),Ut="S",xn=Sr.COMPAT}var si=zt.__private__.combineFontStyleAndFontWeight=function(xt,Ot){if(xt=="bold"&&Ot=="normal"||xt=="bold"&&Ot==400||xt=="normal"&&Ot=="italic"||xt=="bold"&&Ot=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Ot&&(xt=Ot==400||Ot==="normal"?xt==="italic"?"italic":"normal":Ot!=700&&Ot!=="bold"||xt!=="normal"?(Ot==700?"bold":Ot)+""+xt:"bold"),xt};zt.advancedAPI=function(xt){var Ot=xn===Sr.COMPAT;return Ot&&Hn.call(this),typeof xt!="function"||(xt(this),Ot&&ai.call(this)),this},zt.compatAPI=function(xt){var Ot=xn===Sr.ADVANCED;return Ot&&ai.call(this),typeof xt!="function"||(xt(this),Ot&&Hn.call(this)),this},zt.isAdvancedAPI=function(){return xn===Sr.ADVANCED};var Yn,Wn=function(Ot){if(xn!==Sr.ADVANCED)throw new Error(Ot+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Dn=zt.roundToPrecision=zt.__private__.roundToPrecision=function(xt,Ot){var nn=xe||Ot;if(isNaN(xt)||isNaN(nn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return xt.toFixed(nn).replace(/0+$/,"")};Yn=zt.hpf=zt.__private__.hpf=typeof ot=="number"?function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.hpf");return Dn(xt,ot)}:ot==="smart"?function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.hpf");return Dn(xt,xt>-1&&xt<1?16:5)}:function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.hpf");return Dn(xt,16)};var vi=zt.f2=zt.__private__.f2=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f2");return Dn(xt,2)},gn=zt.__private__.f3=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f3");return Dn(xt,3)},Kr=zt.scale=zt.__private__.scale=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.scale");return xn===Sr.COMPAT?xt*Hr:xn===Sr.ADVANCED?xt:void 0},En=function(Ot){return xn===Sr.COMPAT?Ds()-Ot:xn===Sr.ADVANCED?Ot:void 0},sn=function(Ot){return Kr(En(Ot))};zt.__private__.setPrecision=zt.setPrecision=function(xt){typeof parseInt(xt,10)=="number"&&(xe=parseInt(xt,10))};var li,ni="00000000000000000000000000000000",yi=zt.__private__.getFileId=function(){return ni},Xn=zt.__private__.setFileId=function(xt){return ni=xt!==void 0&&/^[a-fA-F0-9]{32}$/.test(xt)?xt.toUpperCase():ni.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),br!==null&&(Ya=new k(br.userPermissions,br.userPassword,br.ownerPassword,ni)),ni};zt.setFileId=function(xt){return Xn(xt),this},zt.getFileId=function(){return yi()};var ki=zt.__private__.convertDateToPDFDate=function(xt){var Ot=xt.getTimezoneOffset(),nn=Ot<0?"+":"-",On=Math.floor(Math.abs(Ot/60)),$n=Math.abs(Ot%60),ft=[nn,Cn(On),"'",Cn($n),"'"].join("");return["D:",xt.getFullYear(),Cn(xt.getMonth()+1),Cn(xt.getDate()),Cn(xt.getHours()),Cn(xt.getMinutes()),Cn(xt.getSeconds()),ft].join("")},wi=zt.__private__.convertPDFDateToDate=function(xt){var Ot=parseInt(xt.substr(2,4),10),nn=parseInt(xt.substr(6,2),10)-1,On=parseInt(xt.substr(8,2),10),$n=parseInt(xt.substr(10,2),10),ft=parseInt(xt.substr(12,2),10),oe=parseInt(xt.substr(14,2),10);return new Date(Ot,nn,On,$n,ft,oe,0)},Ji=zt.__private__.setCreationDate=function(xt){var Ot;if(xt===void 0&&(xt=new Date),xt instanceof Date)Ot=ki(xt);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(xt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ot=xt}return li=Ot},An=zt.__private__.getCreationDate=function(xt){var Ot=li;return xt==="jsDate"&&(Ot=wi(li)),Ot};zt.setCreationDate=function(xt){return Ji(xt),this},zt.getCreationDate=function(xt){return An(xt)};var Ur,Cn=zt.__private__.padd2=function(xt){return("0"+parseInt(xt)).slice(-2)},Un=zt.__private__.padd2Hex=function(xt){return("00"+(xt=xt.toString())).substr(xt.length)},Zn=0,ti=[],hi=[],pi=0,mi=[],Hi=[],ra=!1,$i=hi,ro=function(){Zn=0,pi=0,hi=[],ti=[],mi=[],xr=Gr(),rr=Gr()};zt.__private__.setCustomOutputDestination=function(xt){ra=!0,$i=xt};var di=function(Ot){ra||($i=Ot)};zt.__private__.resetCustomOutputDestination=function(){ra=!1,$i=hi};var cn=zt.__private__.out=function(xt){return xt=xt.toString(),pi+=xt.length+1,$i.push(xt),$i},Ni=zt.__private__.write=function(xt){return cn(arguments.length===1?xt.toString():Array.prototype.join.call(arguments," "))},Gi=zt.__private__.getArrayBuffer=function(xt){for(var Ot=xt.length,nn=new ArrayBuffer(Ot),On=new Uint8Array(nn);Ot--;)On[Ot]=xt.charCodeAt(Ot);return nn},Ki=[["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]];zt.__private__.getStandardFonts=function(){return Ki};var ia=Ze.fontSize||16;zt.__private__.setFontSize=zt.setFontSize=function(xt){return ia=xn===Sr.ADVANCED?xt/Hr:xt,this};var Kt,Zr=zt.__private__.getFontSize=zt.getFontSize=function(){return xn===Sr.COMPAT?ia:ia*Hr},rn=Ze.R2L||!1;zt.__private__.setR2L=zt.setR2L=function(xt){return rn=xt,this},zt.__private__.getR2L=zt.getR2L=function(){return rn};var pn,Qe=zt.__private__.setZoomMode=function(xt){var Ot=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(xt))Kt=xt;else if(isNaN(xt)){if(Ot.indexOf(xt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+xt+'" is not recognized.');Kt=xt}else Kt=parseInt(xt,10)};zt.__private__.getZoomMode=function(){return Kt};var Dt,ur=zt.__private__.setPageMode=function(xt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(xt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+xt+'" is not recognized.');pn=xt};zt.__private__.getPageMode=function(){return pn};var ar=zt.__private__.setLayoutMode=function(xt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(xt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+xt+'" is not recognized.');Dt=xt};zt.__private__.getLayoutMode=function(){return Dt},zt.__private__.setDisplayMode=zt.setDisplayMode=function(xt,Ot,nn){return Qe(xt),ar(Ot),ur(nn),this};var Lr={title:"",subject:"",author:"",keywords:"",creator:""};zt.__private__.getDocumentProperty=function(xt){if(Object.keys(Lr).indexOf(xt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Lr[xt]},zt.__private__.getDocumentProperties=function(){return Lr},zt.__private__.setDocumentProperties=zt.setProperties=zt.setDocumentProperties=function(xt){for(var Ot in Lr)Lr.hasOwnProperty(Ot)&&xt[Ot]&&(Lr[Ot]=xt[Ot]);return this},zt.__private__.setDocumentProperty=function(xt,Ot){if(Object.keys(Lr).indexOf(xt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Lr[xt]=Ot};var Rr,Hr,an,wn,In,Rn={},Nn={},vn=[],Sn={},Tn={},Kn={},Qn={},qn=null,bi=0,gi=[],Ri=new j(zt),Bi=Ze.hotfixes||[],xi={},Ti={},Di=[],Pn=function xt(Ot,nn,On,$n,ft,oe){if(!(this instanceof xt))return new xt(Ot,nn,On,$n,ft,oe);isNaN(Ot)&&(Ot=1),isNaN(nn)&&(nn=0),isNaN(On)&&(On=0),isNaN($n)&&($n=1),isNaN(ft)&&(ft=0),isNaN(oe)&&(oe=0),this._matrix=[Ot,nn,On,$n,ft,oe]};Object.defineProperty(Pn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ot){this._matrix[0]=Ot}}),Object.defineProperty(Pn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ot){this._matrix[1]=Ot}}),Object.defineProperty(Pn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ot){this._matrix[2]=Ot}}),Object.defineProperty(Pn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ot){this._matrix[3]=Ot}}),Object.defineProperty(Pn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ot){this._matrix[4]=Ot}}),Object.defineProperty(Pn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ot){this._matrix[5]=Ot}}),Object.defineProperty(Pn.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ot){this._matrix[0]=Ot}}),Object.defineProperty(Pn.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ot){this._matrix[1]=Ot}}),Object.defineProperty(Pn.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ot){this._matrix[2]=Ot}}),Object.defineProperty(Pn.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ot){this._matrix[3]=Ot}}),Object.defineProperty(Pn.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ot){this._matrix[4]=Ot}}),Object.defineProperty(Pn.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ot){this._matrix[5]=Ot}}),Object.defineProperty(Pn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Pn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Pn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Pn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Pn.prototype.join=function(xt){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Yn).join(xt)},Pn.prototype.multiply=function(xt){var Ot=xt.sx*this.sx+xt.shy*this.shx,nn=xt.sx*this.shy+xt.shy*this.sy,On=xt.shx*this.sx+xt.sy*this.shx,$n=xt.shx*this.shy+xt.sy*this.sy,ft=xt.tx*this.sx+xt.ty*this.shx+this.tx,oe=xt.tx*this.shy+xt.ty*this.sy+this.ty;return new Pn(Ot,nn,On,$n,ft,oe)},Pn.prototype.decompose=function(){var xt=this.sx,Ot=this.shy,nn=this.shx,On=this.sy,$n=this.tx,ft=this.ty,oe=Math.sqrt(xt*xt+Ot*Ot),Ae=(xt/=oe)*nn+(Ot/=oe)*On;nn-=xt*Ae,On-=Ot*Ae;var we=Math.sqrt(nn*nn+On*On);return Ae/=we,xt*(On/=we)<Ot*(nn/=we)&&(xt=-xt,Ot=-Ot,Ae=-Ae,oe=-oe),{scale:new Pn(oe,0,0,we,0,0),translate:new Pn(1,0,0,1,$n,ft),rotate:new Pn(xt,Ot,-Ot,xt,0,0),skew:new Pn(1,0,Ae,1,0,0)}},Pn.prototype.toString=function(xt){return this.join(" ")},Pn.prototype.inversed=function(){var xt=this.sx,Ot=this.shy,nn=this.shx,On=this.sy,$n=this.tx,ft=this.ty,oe=1/(xt*On-Ot*nn),Ae=On*oe,we=-Ot*oe,Be=-nn*oe,st=xt*oe;return new Pn(Ae,we,Be,st,-Ae*$n-Be*ft,-we*$n-st*ft)},Pn.prototype.applyToPoint=function(xt){var Ot=xt.x*this.sx+xt.y*this.shx+this.tx,nn=xt.x*this.shy+xt.y*this.sy+this.ty;return new Vo(Ot,nn)},Pn.prototype.applyToRectangle=function(xt){var Ot=this.applyToPoint(xt),nn=this.applyToPoint(new Vo(xt.x+xt.w,xt.y+xt.h));return new Zo(Ot.x,Ot.y,nn.x-Ot.x,nn.y-Ot.y)},Pn.prototype.clone=function(){var xt=this.sx,Ot=this.shy,nn=this.shx,On=this.sy,$n=this.tx,ft=this.ty;return new Pn(xt,Ot,nn,On,$n,ft)},zt.Matrix=Pn;var _i=zt.matrixMult=function(xt,Ot){return Ot.multiply(xt)},ji=new Pn(1,0,0,1,0,0);zt.unitMatrix=zt.identityMatrix=ji;var mr=function(Ot,nn){if(!Tn[Ot]){var On=(nn instanceof H?"Sh":"P")+(Object.keys(Sn).length+1).toString(10);nn.id=On,Tn[Ot]=On,Sn[On]=nn,Ri.publish("addPattern",nn)}};zt.ShadingPattern=H,zt.TilingPattern=P,zt.addShadingPattern=function(xt,Ot){return Wn("addShadingPattern()"),mr(xt,Ot),this},zt.beginTilingPattern=function(xt){Wn("beginTilingPattern()"),ws(xt.boundingBox[0],xt.boundingBox[1],xt.boundingBox[2]-xt.boundingBox[0],xt.boundingBox[3]-xt.boundingBox[1],xt.matrix)},zt.endTilingPattern=function(xt,Ot){Wn("endTilingPattern()"),Ot.stream=Hi[Ur].join(`
`),mr(xt,Ot),Ri.publish("endTilingPattern",Ot),Di.pop().restore()};var Dr=zt.__private__.newObject=function(){var xt=Gr();return Nr(xt,!0),xt},Gr=zt.__private__.newObjectDeferred=function(){return Zn++,ti[Zn]=function(){return pi},Zn},Nr=function(Ot,nn){return nn=typeof nn=="boolean"&&nn,ti[Ot]=pi,nn&&cn(Ot+" 0 obj"),Ot},Gt=zt.__private__.newAdditionalObject=function(){var xt={objId:Gr(),content:""};return mi.push(xt),xt},xr=Gr(),rr=Gr(),Pr=zt.__private__.decodeColorString=function(xt){var Ot=xt.split(" ");if(Ot.length!==2||Ot[1]!=="g"&&Ot[1]!=="G")Ot.length===5&&(Ot[4]==="k"||Ot[4]==="K")&&(Ot=[(1-Ot[0])*(1-Ot[3]),(1-Ot[1])*(1-Ot[3]),(1-Ot[2])*(1-Ot[3]),"r"]);else{var nn=parseFloat(Ot[0]);Ot=[nn,nn,nn,"r"]}for(var On="#",$n=0;$n<3;$n++)On+=("0"+Math.floor(255*parseFloat(Ot[$n])).toString(16)).slice(-2);return On},kr=zt.__private__.encodeColorString=function(xt){var Ot;typeof xt=="string"&&(xt={ch1:xt});var nn=xt.ch1,On=xt.ch2,$n=xt.ch3,ft=xt.ch4,oe=xt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof nn=="string"&&nn.charAt(0)!=="#"){var Ae=new c(nn);if(Ae.ok)nn=Ae.toHex();else if(!/^\d*\.?\d*$/.test(nn))throw new Error('Invalid color "'+nn+'" passed to jsPDF.encodeColorString.')}if(typeof nn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(nn)&&(nn="#"+nn[1]+nn[1]+nn[2]+nn[2]+nn[3]+nn[3]),typeof nn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(nn)){var we=parseInt(nn.substr(1),16);nn=we>>16&255,On=we>>8&255,$n=255&we}if(On===void 0||ft===void 0&&nn===On&&On===$n)if(typeof nn=="string")Ot=nn+" "+oe[0];else switch(xt.precision){case 2:Ot=vi(nn/255)+" "+oe[0];break;case 3:default:Ot=gn(nn/255)+" "+oe[0]}else if(ft===void 0||E()(ft)==="object"){if(ft&&!isNaN(ft.a)&&ft.a===0)return Ot=["1.","1.","1.",oe[1]].join(" ");if(typeof nn=="string")Ot=[nn,On,$n,oe[1]].join(" ");else switch(xt.precision){case 2:Ot=[vi(nn/255),vi(On/255),vi($n/255),oe[1]].join(" ");break;default:case 3:Ot=[gn(nn/255),gn(On/255),gn($n/255),oe[1]].join(" ")}}else if(typeof nn=="string")Ot=[nn,On,$n,ft,oe[2]].join(" ");else switch(xt.precision){case 2:Ot=[vi(nn),vi(On),vi($n),vi(ft),oe[2]].join(" ");break;case 3:default:Ot=[gn(nn),gn(On),gn($n),gn(ft),oe[2]].join(" ")}return Ot},dn=zt.__private__.getFilters=function(){return Je},ln=zt.__private__.putStream=function(xt){var Ot=(xt=xt||{}).data||"",nn=xt.filters||dn(),On=xt.alreadyAppliedFilters||[],$n=xt.addLength1||!1,ft=Ot.length,oe=xt.objectId,Ae=function(jn){return jn};if(br!==null&&oe===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");br!==null&&(Ae=Ya.encryptor(oe,0));var we={};nn===!0&&(nn=["FlateEncode"]);var Be=xt.additionalKeyValues||[],st=(we=K.API.processDataByFilters!==void 0?K.API.processDataByFilters(Ot,nn):{data:Ot,reverseChain:[]}).reverseChain+(Array.isArray(On)?On.join(" "):On.toString());if(we.data.length!==0&&(Be.push({key:"Length",value:we.data.length}),$n===!0&&Be.push({key:"Length1",value:ft})),st.length!=0)if(st.split("/").length-1==1)Be.push({key:"Filter",value:st});else{Be.push({key:"Filter",value:"["+st+"]"});for(var Bt=0;Bt<Be.length;Bt+=1)if(Be[Bt].key==="DecodeParms"){for(var wr=[],Tr=0;Tr<we.reverseChain.split("/").length-1;Tr+=1)wr.push("null");wr.push(Be[Bt].value),Be[Bt].value="["+wr.join(" ")+"]"}}cn("<<");for(var tn=0;tn<Be.length;tn++)cn("/"+Be[tn].key+" "+Be[tn].value);cn(">>"),we.data.length!==0&&(cn("stream"),cn(Ae(we.data)),cn("endstream"))},yn=zt.__private__.putPage=function(xt){var Ot=xt.number,nn=xt.data,On=xt.objId,$n=xt.contentsObjId;Nr(On,!0),cn("<</Type /Page"),cn("/Parent "+xt.rootDictionaryObjId+" 0 R"),cn("/Resources "+xt.resourceDictionaryObjId+" 0 R"),cn("/MediaBox ["+parseFloat(Yn(xt.mediaBox.bottomLeftX))+" "+parseFloat(Yn(xt.mediaBox.bottomLeftY))+" "+Yn(xt.mediaBox.topRightX)+" "+Yn(xt.mediaBox.topRightY)+"]"),xt.cropBox!==null&&cn("/CropBox ["+Yn(xt.cropBox.bottomLeftX)+" "+Yn(xt.cropBox.bottomLeftY)+" "+Yn(xt.cropBox.topRightX)+" "+Yn(xt.cropBox.topRightY)+"]"),xt.bleedBox!==null&&cn("/BleedBox ["+Yn(xt.bleedBox.bottomLeftX)+" "+Yn(xt.bleedBox.bottomLeftY)+" "+Yn(xt.bleedBox.topRightX)+" "+Yn(xt.bleedBox.topRightY)+"]"),xt.trimBox!==null&&cn("/TrimBox ["+Yn(xt.trimBox.bottomLeftX)+" "+Yn(xt.trimBox.bottomLeftY)+" "+Yn(xt.trimBox.topRightX)+" "+Yn(xt.trimBox.topRightY)+"]"),xt.artBox!==null&&cn("/ArtBox ["+Yn(xt.artBox.bottomLeftX)+" "+Yn(xt.artBox.bottomLeftY)+" "+Yn(xt.artBox.topRightX)+" "+Yn(xt.artBox.topRightY)+"]"),typeof xt.userUnit=="number"&&xt.userUnit!==1&&cn("/UserUnit "+xt.userUnit),Ri.publish("putPage",{objId:On,pageContext:gi[Ot],pageNumber:Ot,page:nn}),cn("/Contents "+$n+" 0 R"),cn(">>"),cn("endobj");var ft=nn.join(`
`);return xn===Sr.ADVANCED&&(ft+=`
Q`),Nr($n,!0),ln({data:ft,filters:dn(),objectId:$n}),cn("endobj"),On},Bn=zt.__private__.putPages=function(){var xt,Ot,nn=[];for(xt=1;xt<=bi;xt++)gi[xt].objId=Gr(),gi[xt].contentsObjId=Gr();for(xt=1;xt<=bi;xt++)nn.push(yn({number:xt,data:Hi[xt],objId:gi[xt].objId,contentsObjId:gi[xt].contentsObjId,mediaBox:gi[xt].mediaBox,cropBox:gi[xt].cropBox,bleedBox:gi[xt].bleedBox,trimBox:gi[xt].trimBox,artBox:gi[xt].artBox,userUnit:gi[xt].userUnit,rootDictionaryObjId:xr,resourceDictionaryObjId:rr}));Nr(xr,!0),cn("<</Type /Pages");var On="/Kids [";for(Ot=0;Ot<bi;Ot++)On+=nn[Ot]+" 0 R ";cn(On+"]"),cn("/Count "+bi),cn(">>"),cn("endobj"),Ri.publish("postPutPages")},Gn=function(Ot){Ri.publish("putFont",{font:Ot,out:cn,newObject:Dr,putStream:ln}),Ot.isAlreadyPutted!==!0&&(Ot.objectNumber=Dr(),cn("<<"),cn("/Type /Font"),cn("/BaseFont /"+R(Ot.postScriptName)),cn("/Subtype /Type1"),typeof Ot.encoding=="string"&&cn("/Encoding /"+Ot.encoding),cn("/FirstChar 32"),cn("/LastChar 255"),cn(">>"),cn("endobj"))},ei=function(){for(var Ot in Rn)Rn.hasOwnProperty(Ot)&&(Ar===!1||Ar===!0&&Or.hasOwnProperty(Ot))&&Gn(Rn[Ot])},Ci=function(Ot){Ot.objectNumber=Dr();var nn=[];nn.push({key:"Type",value:"/XObject"}),nn.push({key:"Subtype",value:"/Form"}),nn.push({key:"BBox",value:"["+[Yn(Ot.x),Yn(Ot.y),Yn(Ot.x+Ot.width),Yn(Ot.y+Ot.height)].join(" ")+"]"}),nn.push({key:"Matrix",value:"["+Ot.matrix.toString()+"]"});var On=Ot.pages[1].join(`
`);ln({data:On,additionalKeyValues:nn,objectId:Ot.objectNumber}),cn("endobj")},Qi=function(){for(var Ot in xi)xi.hasOwnProperty(Ot)&&Ci(xi[Ot])},ua=function(Ot,nn){var On,$n=[],ft=1/(nn-1);for(On=0;On<1;On+=ft)$n.push(On);if($n.push(1),Ot[0].offset!=0){var oe={offset:0,color:Ot[0].color};Ot.unshift(oe)}if(Ot[Ot.length-1].offset!=1){var Ae={offset:1,color:Ot[Ot.length-1].color};Ot.push(Ae)}for(var we="",Be=0,st=0;st<$n.length;st++){for(On=$n[st];On>Ot[Be+1].offset;)Be++;var Bt=Ot[Be].offset,wr=(On-Bt)/(Ot[Be+1].offset-Bt),Tr=Ot[Be].color,tn=Ot[Be+1].color;we+=Un(Math.round((1-wr)*Tr[0]+wr*tn[0]).toString(16))+Un(Math.round((1-wr)*Tr[1]+wr*tn[1]).toString(16))+Un(Math.round((1-wr)*Tr[2]+wr*tn[2]).toString(16))}return we.trim()},ha=function(Ot,nn){nn||(nn=21);var On=Dr(),$n=ua(Ot.colors,nn),ft=[];ft.push({key:"FunctionType",value:"0"}),ft.push({key:"Domain",value:"[0.0 1.0]"}),ft.push({key:"Size",value:"["+nn+"]"}),ft.push({key:"BitsPerSample",value:"8"}),ft.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ft.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ln({data:$n,additionalKeyValues:ft,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:On}),cn("endobj"),Ot.objectNumber=Dr(),cn("<< /ShadingType "+Ot.type),cn("/ColorSpace /DeviceRGB");var oe="/Coords ["+Yn(parseFloat(Ot.coords[0]))+" "+Yn(parseFloat(Ot.coords[1]))+" ";Ot.type===2?oe+=Yn(parseFloat(Ot.coords[2]))+" "+Yn(parseFloat(Ot.coords[3])):oe+=Yn(parseFloat(Ot.coords[2]))+" "+Yn(parseFloat(Ot.coords[3]))+" "+Yn(parseFloat(Ot.coords[4]))+" "+Yn(parseFloat(Ot.coords[5])),cn(oe+="]"),Ot.matrix&&cn("/Matrix ["+Ot.matrix.toString()+"]"),cn("/Function "+On+" 0 R"),cn("/Extend [true true]"),cn(">>"),cn("endobj")},la=function(Ot,nn){var On=Gr(),$n=Dr();nn.push({resourcesOid:On,objectOid:$n}),Ot.objectNumber=$n;var ft=[];ft.push({key:"Type",value:"/Pattern"}),ft.push({key:"PatternType",value:"1"}),ft.push({key:"PaintType",value:"1"}),ft.push({key:"TilingType",value:"1"}),ft.push({key:"BBox",value:"["+Ot.boundingBox.map(Yn).join(" ")+"]"}),ft.push({key:"XStep",value:Yn(Ot.xStep)}),ft.push({key:"YStep",value:Yn(Ot.yStep)}),ft.push({key:"Resources",value:On+" 0 R"}),Ot.matrix&&ft.push({key:"Matrix",value:"["+Ot.matrix.toString()+"]"}),ln({data:Ot.stream,additionalKeyValues:ft,objectId:Ot.objectNumber}),cn("endobj")},da=function(Ot){var nn;for(nn in Sn)Sn.hasOwnProperty(nn)&&(Sn[nn]instanceof H?ha(Sn[nn]):Sn[nn]instanceof P&&la(Sn[nn],Ot))},Wi=function(Ot){for(var nn in Ot.objectNumber=Dr(),cn("<<"),Ot)switch(nn){case"opacity":cn("/ca "+vi(Ot[nn]));break;case"stroke-opacity":cn("/CA "+vi(Ot[nn]))}cn(">>"),cn("endobj")},Mi=function(){var Ot;for(Ot in Kn)Kn.hasOwnProperty(Ot)&&Wi(Kn[Ot])},na=function(){for(var Ot in cn("/XObject <<"),xi)xi.hasOwnProperty(Ot)&&xi[Ot].objectNumber>=0&&cn("/"+Ot+" "+xi[Ot].objectNumber+" 0 R");Ri.publish("putXobjectDict"),cn(">>")},ea=function(){Ya.oid=Dr(),cn("<<"),cn("/Filter /Standard"),cn("/V "+Ya.v),cn("/R "+Ya.r),cn("/U <"+Ya.toHexString(Ya.U)+">"),cn("/O <"+Ya.toHexString(Ya.O)+">"),cn("/P "+Ya.P),cn(">>"),cn("endobj")},_a=function(){for(var Ot in cn("/Font <<"),Rn)Rn.hasOwnProperty(Ot)&&(Ar===!1||Ar===!0&&Or.hasOwnProperty(Ot))&&cn("/"+Ot+" "+Rn[Ot].objectNumber+" 0 R");cn(">>")},Fa=function(){if(Object.keys(Sn).length>0){for(var Ot in cn("/Shading <<"),Sn)Sn.hasOwnProperty(Ot)&&Sn[Ot]instanceof H&&Sn[Ot].objectNumber>=0&&cn("/"+Ot+" "+Sn[Ot].objectNumber+" 0 R");Ri.publish("putShadingPatternDict"),cn(">>")}},ta=function(Ot){if(Object.keys(Sn).length>0){for(var nn in cn("/Pattern <<"),Sn)Sn.hasOwnProperty(nn)&&Sn[nn]instanceof zt.TilingPattern&&Sn[nn].objectNumber>=0&&Sn[nn].objectNumber<Ot&&cn("/"+nn+" "+Sn[nn].objectNumber+" 0 R");Ri.publish("putTilingPatternDict"),cn(">>")}},Yi=function(){if(Object.keys(Kn).length>0){var Ot;for(Ot in cn("/ExtGState <<"),Kn)Kn.hasOwnProperty(Ot)&&Kn[Ot].objectNumber>=0&&cn("/"+Ot+" "+Kn[Ot].objectNumber+" 0 R");Ri.publish("putGStateDict"),cn(">>")}},ka=function(Ot){Nr(Ot.resourcesOid,!0),cn("<<"),cn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),_a(),Fa(),ta(Ot.objectOid),Yi(),na(),cn(">>"),cn("endobj")},ba=function(){var Ot=[];ei(),Mi(),Qi(),da(Ot),Ri.publish("putResources"),Ot.forEach(ka),ka({resourcesOid:rr,objectOid:Number.MAX_SAFE_INTEGER}),Ri.publish("postPutResources")},Ei=function(){Ri.publish("putAdditionalObjects");for(var Ot=0;Ot<mi.length;Ot++){var nn=mi[Ot];Nr(nn.objId,!0),cn(nn.content),cn("endobj")}Ri.publish("postPutAdditionalObjects")},ca=function(Ot){Nn[Ot.fontName]=Nn[Ot.fontName]||{},Nn[Ot.fontName][Ot.fontStyle]=Ot.id},Ha=function(Ot,nn,On,$n,ft){var oe={id:"F"+(Object.keys(Rn).length+1).toString(10),postScriptName:Ot,fontName:nn,fontStyle:On,encoding:$n,isStandardFont:ft||!1,metadata:{}};return Ri.publish("addFont",{font:oe,instance:this}),Rn[oe.id]=oe,ca(oe),oe.id},Pa=function(Ot){for(var nn=0,On=Ki.length;nn<On;nn++){var $n=Ha.call(this,Ot[nn][0],Ot[nn][1],Ot[nn][2],Ki[nn][3],!0);Ar===!1&&(Or[$n]=!0);var ft=Ot[nn][0].split("-");ca({id:$n,fontName:ft[0],fontStyle:ft[1]||""})}Ri.publish("addFonts",{fonts:Rn,dictionary:Nn})},ya=function(Ot){return Ot.foo=function(){try{return Ot.apply(this,arguments)}catch($n){var nn=$n.stack||"";~nn.indexOf(" at ")&&(nn=nn.split(" at ")[1]);var On="Error in function "+nn.split(`
`)[0].split("<")[0]+": "+$n.message;if(!v.console)throw new Error(On);v.console.error(On,$n),v.alert&&alert(On)}},Ot.foo.bar=Ot,Ot.foo},Ea=function(Ot,nn){var On,$n,ft,oe,Ae,we,Be,st,Bt;if(ft=(nn=nn||{}).sourceEncoding||"Unicode",Ae=nn.outputEncoding,(nn.autoencode||Ae)&&Rn[Rr].metadata&&Rn[Rr].metadata[ft]&&Rn[Rr].metadata[ft].encoding&&(oe=Rn[Rr].metadata[ft].encoding,!Ae&&Rn[Rr].encoding&&(Ae=Rn[Rr].encoding),!Ae&&oe.codePages&&(Ae=oe.codePages[0]),typeof Ae=="string"&&(Ae=oe[Ae]),Ae)){for(Be=!1,we=[],On=0,$n=Ot.length;On<$n;On++)(st=Ae[Ot.charCodeAt(On)])?we.push(String.fromCharCode(st)):we.push(Ot[On]),we[On].charCodeAt(0)>>8&&(Be=!0);Ot=we.join("")}for(On=Ot.length;Be===void 0&&On!==0;)Ot.charCodeAt(On-1)>>8&&(Be=!0),On--;if(!Be)return Ot;for(we=nn.noBOM?[]:[254,255],On=0,$n=Ot.length;On<$n;On++){if((Bt=(st=Ot.charCodeAt(On))>>8)>>8)throw new Error("Character at position "+On+" of string '"+Ot+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");we.push(Bt),we.push(st-(Bt<<8))}return String.fromCharCode.apply(void 0,we)},Ga=zt.__private__.pdfEscape=zt.pdfEscape=function(xt,Ot){return Ea(xt,Ot).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ta=zt.__private__.beginPage=function(xt){Hi[++bi]=[],gi[bi]={objId:0,contentsObjId:0,userUnit:Number(vt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(xt[0]),topRightY:Number(xt[1])}},aa(bi),di(Hi[Ur])},Va=function(Ot,nn){var On,$n,ft;switch(Me=nn||Me,typeof Ot=="string"&&(On=Br(Ot.toLowerCase()),Array.isArray(On)&&($n=On[0],ft=On[1])),Array.isArray(Ot)&&($n=Ot[0]*Hr,ft=Ot[1]*Hr),isNaN($n)&&($n=Ge[0],ft=Ge[1]),($n>14400||ft>14400)&&(d.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),$n=Math.min(14400,$n),ft=Math.min(14400,ft)),Ge=[$n,ft],Me.substr(0,1)){case"l":ft>$n&&(Ge=[ft,$n]);break;case"p":$n>ft&&(Ge=[ft,$n])}Ta(Ge),Ls(pl),cn(No),Ms!==0&&cn(Ms+" J"),so!==0&&cn(so+" j"),Ri.publish("addPage",{pageNumber:bi})},uo=function(Ot){Ot>0&&Ot<=bi&&(Hi.splice(Ot,1),gi.splice(Ot,1),bi--,Ur>bi&&(Ur=bi),this.setPage(Ur))},aa=function(Ot){Ot>0&&Ot<=bi&&(Ur=Ot)},po=zt.__private__.getNumberOfPages=zt.getNumberOfPages=function(){return Hi.length-1},Ua=function(Ot,nn,On){var $n,ft=void 0;return On=On||{},Ot=Ot!==void 0?Ot:Rn[Rr].fontName,nn=nn!==void 0?nn:Rn[Rr].fontStyle,$n=Ot.toLowerCase(),Nn[$n]!==void 0&&Nn[$n][nn]!==void 0?ft=Nn[$n][nn]:Nn[Ot]!==void 0&&Nn[Ot][nn]!==void 0?ft=Nn[Ot][nn]:On.disableWarning===!1&&d.warn("Unable to look up font label for font '"+Ot+"', '"+nn+"'. Refer to getFontList() for available fonts."),ft||On.noFallback||(ft=Nn.times[nn])==null&&(ft=Nn.times.normal),ft},Da=zt.__private__.putInfo=function(){var xt=Dr(),Ot=function($n){return $n};for(var nn in br!==null&&(Ot=Ya.encryptor(xt,0)),cn("<<"),cn("/Producer ("+Ga(Ot("jsPDF "+K.version))+")"),Lr)Lr.hasOwnProperty(nn)&&Lr[nn]&&cn("/"+nn.substr(0,1).toUpperCase()+nn.substr(1)+" ("+Ga(Ot(Lr[nn]))+")");cn("/CreationDate ("+Ga(Ot(li))+")"),cn(">>"),cn("endobj")},$a=zt.__private__.putCatalog=function(xt){var Ot=(xt=xt||{}).rootDictionaryObjId||xr;switch(Dr(),cn("<<"),cn("/Type /Catalog"),cn("/Pages "+Ot+" 0 R"),Kt||(Kt="fullwidth"),Kt){case"fullwidth":cn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":cn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":cn("/OpenAction [3 0 R /Fit]");break;case"original":cn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var nn=""+Kt;nn.substr(nn.length-1)==="%"&&(Kt=parseInt(Kt)/100),typeof Kt=="number"&&cn("/OpenAction [3 0 R /XYZ null null "+vi(Kt)+"]")}switch(Dt||(Dt="continuous"),Dt){case"continuous":cn("/PageLayout /OneColumn");break;case"single":cn("/PageLayout /SinglePage");break;case"two":case"twoleft":cn("/PageLayout /TwoColumnLeft");break;case"tworight":cn("/PageLayout /TwoColumnRight")}pn&&cn("/PageMode /"+pn),Ri.publish("putCatalog"),cn(">>"),cn("endobj")},Ma=zt.__private__.putTrailer=function(){cn("trailer"),cn("<<"),cn("/Size "+(Zn+1)),cn("/Root "+Zn+" 0 R"),cn("/Info "+(Zn-1)+" 0 R"),br!==null&&cn("/Encrypt "+Ya.oid+" 0 R"),cn("/ID [ <"+ni+"> <"+ni+"> ]"),cn(">>")},Ka=zt.__private__.putHeader=function(){cn("%PDF-"+un),cn("%\xBA\xDF\xAC\xE0")},yo=zt.__private__.putXRef=function(){var xt="0000000000";cn("xref"),cn("0 "+(Zn+1)),cn("0000000000 65535 f ");for(var Ot=1;Ot<=Zn;Ot++)typeof ti[Ot]=="function"?cn((xt+ti[Ot]()).slice(-10)+" 00000 n "):ti[Ot]!==void 0?cn((xt+ti[Ot]).slice(-10)+" 00000 n "):cn("0000000000 00000 n ")},io=zt.__private__.buildDocument=function(){ro(),di(hi),Ri.publish("buildDocument"),Ka(),Bn(),Ei(),ba(),br!==null&&ea(),Da(),$a();var xt=pi;return yo(),Ma(),cn("startxref"),cn(""+xt),cn("%%EOF"),di(Hi[Ur]),hi.join(`
`)},xo=zt.__private__.getBlob=function(xt){return new Blob([Gi(xt)],{type:"application/pdf"})},mo=zt.output=zt.__private__.output=ya(function(xt,Ot){switch(typeof(Ot=Ot||{})=="string"?Ot={filename:Ot}:Ot.filename=Ot.filename||"generated.pdf",xt){case void 0:return io();case"save":zt.save(Ot.filename);break;case"arraybuffer":return Gi(io());case"blob":return xo(io());case"bloburi":case"bloburl":if(v.URL!==void 0&&typeof v.URL.createObjectURL=="function")return v.URL&&v.URL.createObjectURL(xo(io()))||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 nn="",On=io();try{nn=o(On)}catch(Bt){nn=o(unescape(encodeURIComponent(On)))}return"data:application/pdf;filename="+Ot.filename+";base64,"+nn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var $n='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(Ot.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Ot)+");</script></body></html>",ft=v.open();return ft!==null&&ft.document.write($n),ft}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(v)==="[object Window]"){var oe='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Ot.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Ot.filename+'" width="500px" height="400px" /></body></html>',Ae=v.open();if(Ae!==null){Ae.document.write(oe);var we=this;Ae.document.documentElement.querySelector("#pdfViewer").onload=function(){Ae.document.title=Ot.filename,Ae.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(we.output("bloburl"))}}return Ae}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(v)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Be='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Ot)+'"></iframe></body></html>',st=v.open();if(st!==null&&(st.document.write(Be),st.document.title=Ot.filename),st||typeof safari=="undefined")return st;break;case"datauri":case"dataurl":return v.document.location.href=this.output("datauristring",Ot);default:return null}}),go=function(Ot){return Array.isArray(Bi)===!0&&Bi.indexOf(Ot)>-1};switch(ke){case"pt":Hr=1;break;case"mm":Hr=72/25.4;break;case"cm":Hr=72/2.54;break;case"in":Hr=72;break;case"px":Hr=go("px_scaling")==1?.75:96/72;break;case"pc":case"em":Hr=12;break;case"ex":Hr=6;break;default:throw new Error("Invalid unit: "+ke)}var Ya=null;Ji(),Xn();var qa=function(Ot){return br!==null?Ya.encryptor(Ot,0):function(nn){return nn}},La=zt.__private__.getPageInfo=zt.getPageInfo=function(xt){if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:gi[xt].objId,pageNumber:xt,pageContext:gi[xt]}},oo=zt.__private__.getPageInfoByObjId=function(xt){if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Ot in gi)if(gi[Ot].objId===xt)break;return La(Ot)},vo=zt.__private__.getCurrentPageInfo=zt.getCurrentPageInfo=function(){return{objId:gi[Ur].objId,pageNumber:Ur,pageContext:gi[Ur]}};zt.addPage=function(){return Va.apply(this,arguments),this},zt.setPage=function(){return aa.apply(this,arguments),di.call(this,Hi[Ur]),this},zt.insertPage=function(xt){return this.addPage(),this.movePage(Ur,xt),this},zt.movePage=function(xt,Ot){var nn,On;if(xt>Ot){nn=Hi[xt],On=gi[xt];for(var $n=xt;$n>Ot;$n--)Hi[$n]=Hi[$n-1],gi[$n]=gi[$n-1];Hi[Ot]=nn,gi[Ot]=On,this.setPage(Ot)}else if(xt<Ot){nn=Hi[xt],On=gi[xt];for(var ft=xt;ft<Ot;ft++)Hi[ft]=Hi[ft+1],gi[ft]=gi[ft+1];Hi[Ot]=nn,gi[Ot]=On,this.setPage(Ot)}return this},zt.deletePage=function(){return uo.apply(this,arguments),this},zt.__private__.text=zt.text=function(xt,Ot,nn,On,$n){var ft,oe,Ae,we,Be,st,Bt,wr,Tr=(On=On||{}).scope||this;if(typeof xt=="number"&&typeof Ot=="number"&&(typeof nn=="string"||Array.isArray(nn))){var tn=nn;nn=Ot,Ot=xt,xt=tn}if(arguments[3]instanceof Pn==!1?(Ae=arguments[4],we=arguments[5],E()(Bt=arguments[3])==="object"&&Bt!==null||(typeof Ae=="string"&&(we=Ae,Ae=null),typeof Bt=="string"&&(we=Bt,Bt=null),typeof Bt=="number"&&(Ae=Bt,Bt=null),On={flags:Bt,angle:Ae,align:we})):(Wn("The transform parameter of text() with a Matrix value"),wr=$n),isNaN(Ot)||isNaN(nn)||xt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(xt.length===0)return Tr;var _n="",jn=!1,fi=typeof On.lineHeightFactor=="number"?On.lineHeightFactor:Yo,Ii=Tr.internal.scaleFactor;function Vi(Ko){return Ko=Ko.split(" ").join(Array(On.TabLen||9).join(" ")),Ga(Ko,Bt)}function sa(Ko){for(var To,qo=Ko.concat(),Ro=[],cs=qo.length;cs--;)typeof(To=qo.shift())=="string"?Ro.push(To):Array.isArray(Ko)&&(To.length===1||To[1]===void 0&&To[2]===void 0)?Ro.push(To[0]):Ro.push([To[0],To[1],To[2]]);return Ro}function wa(Ko,To){var qo;if(typeof Ko=="string")qo=To(Ko)[0];else if(Array.isArray(Ko)){for(var Ro,cs,ys=Ko.concat(),yl=[],Yl=ys.length;Yl--;)typeof(Ro=ys.shift())=="string"?yl.push(To(Ro)[0]):Array.isArray(Ro)&&typeof Ro[0]=="string"&&(cs=To(Ro[0],Ro[1],Ro[2]),yl.push([cs[0],cs[1],cs[2]]));qo=yl}return qo}var Za=!1,to=!0;if(typeof xt=="string")Za=!0;else if(Array.isArray(xt)){var lo=xt.concat();oe=[];for(var _o,ao=lo.length;ao--;)(typeof(_o=lo.shift())!="string"||Array.isArray(_o)&&typeof _o[0]!="string")&&(to=!1);Za=to}if(Za===!1)throw new Error('Type of text must be string or Array. "'+xt+'" is not recognized.');typeof xt=="string"&&(xt=xt.match(/[\r?\n]/)?xt.split(/\r\n|\r|\n/g):[xt]);var Do=ia/Tr.internal.scaleFactor,Ja=Do*(Yo-1);switch(On.baseline){case"bottom":nn-=Ja;break;case"top":nn+=Do-Ja;break;case"hanging":nn+=Do-2*Ja;break;case"middle":nn+=Do/2-Ja}if((st=On.maxWidth||0)>0&&(typeof xt=="string"?xt=Tr.splitTextToSize(xt,st):Object.prototype.toString.call(xt)==="[object Array]"&&(xt=xt.reduce(function(Ko,To){return Ko.concat(Tr.splitTextToSize(To,st))},[]))),ft={text:xt,x:Ot,y:nn,options:On,mutex:{pdfEscape:Ga,activeFontKey:Rr,fonts:Rn,activeFontSize:ia}},Ri.publish("preProcessText",ft),xt=ft.text,Ae=(On=ft.options).angle,wr instanceof Pn==!1&&Ae&&typeof Ae=="number"){Ae*=Math.PI/180,On.rotationDirection===0&&(Ae=-Ae),xn===Sr.ADVANCED&&(Ae=-Ae);var Eo=Math.cos(Ae),fs=Math.sin(Ae);wr=new Pn(Eo,fs,-fs,Eo,0,0)}else Ae&&Ae instanceof Pn&&(wr=Ae);xn!==Sr.ADVANCED||wr||(wr=ji),(Be=On.charSpace||Ps)!==void 0&&(_n+=Yn(Kr(Be))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),On.lang;var Oo=-1,Lo=On.renderingMode!==void 0?On.renderingMode:On.stroke,vs=Tr.internal.getCurrentPageInfo().pageContext;switch(Lo){case 0:case!1:case"fill":Oo=0;break;case 1:case!0:case"stroke":Oo=1;break;case 2:case"fillThenStroke":Oo=2;break;case 3:case"invisible":Oo=3;break;case 4:case"fillAndAddForClipping":Oo=4;break;case 5:case"strokeAndAddPathForClipping":Oo=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Oo=6;break;case 7:case"addToPathForClipping":Oo=7}var Fs=vs.usedRenderingMode!==void 0?vs.usedRenderingMode:-1;Oo!==-1?_n+=Oo+` Tr
`:Fs!==-1&&(_n+=`0 Tr
`),Oo!==-1&&(vs.usedRenderingMode=Oo),we=On.align||"left";var ss,Fo=ia*fi,Zs=Tr.internal.pageSize.getWidth(),xs=Rn[Rr];Be=On.charSpace||Ps,st=On.maxWidth||0,Bt=Object.assign({autoencode:!0,noBOM:!0},On.flags);var ll=[];if(Object.prototype.toString.call(xt)==="[object Array]"){var Js;oe=sa(xt),we!=="left"&&(ss=oe.map(function(Ko){return Tr.getStringUnitWidth(Ko,{font:xs,charSpace:Be,fontSize:ia,doKerning:!1})*ia/Ii}));var ps,Xo=0;if(we==="right"){Ot-=ss[0],xt=[],ao=oe.length;for(var oa=0;oa<ao;oa++)oa===0?(ps=is(Ot),Js=Wo(nn)):(ps=Kr(Xo-ss[oa]),Js=-Fo),xt.push([oe[oa],ps,Js]),Xo=ss[oa]}else if(we==="center"){Ot-=ss[0]/2,xt=[],ao=oe.length;for(var Xs=0;Xs<ao;Xs++)Xs===0?(ps=is(Ot),Js=Wo(nn)):(ps=Kr((Xo-ss[Xs])/2),Js=-Fo),xt.push([oe[Xs],ps,Js]),Xo=ss[Xs]}else if(we==="left"){xt=[],ao=oe.length;for(var rl=0;rl<ao;rl++)xt.push(oe[rl])}else{if(we!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');xt=[],ao=oe.length,st=st!==0?st:Zs;for(var Bs=0;Bs<ao;Bs++)Js=Bs===0?Wo(nn):-Fo,ps=Bs===0?is(Ot):0,Bs<ao-1?ll.push(Yn(Kr((st-ss[Bs])/(oe[Bs].split(" ").length-1)))):ll.push(0),xt.push([oe[Bs],ps,Js])}}var Es=typeof On.R2L=="boolean"?On.R2L:rn;Es===!0&&(xt=wa(xt,function(Ko,To,qo){return[Ko.split("").reverse().join(""),To,qo]})),ft={text:xt,x:Ot,y:nn,options:On,mutex:{pdfEscape:Ga,activeFontKey:Rr,fonts:Rn,activeFontSize:ia}},Ri.publish("postProcessText",ft),xt=ft.text,jn=ft.mutex.isHex||!1;var cl=Rn[Rr].encoding;cl!=="WinAnsiEncoding"&&cl!=="StandardEncoding"||(xt=wa(xt,function(Ko,To,qo){return[Vi(Ko),To,qo]})),oe=sa(xt),xt=[];for(var Gs,Rs,Ks,zs=0,eo=1,ga=Array.isArray(oe[0])?eo:zs,Ba="",ho=function(To,qo,Ro){var cs="";return Ro instanceof Pn?(Ro=typeof On.angle=="number"?_i(Ro,new Pn(1,0,0,1,To,qo)):_i(new Pn(1,0,0,1,To,qo),Ro),xn===Sr.ADVANCED&&(Ro=_i(new Pn(1,0,0,-1,0,0),Ro)),cs=Ro.join(" ")+` Tm
`):cs=Yn(To)+" "+Yn(qo)+` Td
`,cs},Bo=0;Bo<oe.length;Bo++){switch(Ba="",ga){case eo:Ks=(jn?"<":"(")+oe[Bo][0]+(jn?">":")"),Gs=parseFloat(oe[Bo][1]),Rs=parseFloat(oe[Bo][2]);break;case zs:Ks=(jn?"<":"(")+oe[Bo]+(jn?">":")"),Gs=is(Ot),Rs=Wo(nn)}ll!==void 0&&ll[Bo]!==void 0&&(Ba=ll[Bo]+` Tw
`),Bo===0?xt.push(Ba+ho(Gs,Rs,wr)+Ks):ga===zs?xt.push(Ba+Ks):ga===eo&&xt.push(Ba+ho(Gs,Rs,wr)+Ks)}xt=ga===zs?xt.join(` Tj
T* `):xt.join(` Tj
`),xt+=` Tj
`;var Ts=`BT
/`;return Ts+=Rr+" "+ia+` Tf
`,Ts+=Yn(ia*fi)+` TL
`,Ts+=zr+`
`,Ts+=_n,Ts+=xt,cn(Ts+="ET"),Or[Rr]=!0,Tr};var Fi=zt.__private__.clip=zt.clip=function(xt){return cn(xt==="evenodd"?"W*":"W"),this};zt.clipEvenOdd=function(){return Fi("evenodd")},zt.__private__.discardPath=zt.discardPath=function(){return cn("n"),this};var ma=zt.__private__.isValidStyle=function(xt){var Ot=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(xt)!==-1&&(Ot=!0),Ot};zt.__private__.setDefaultPathOperation=zt.setDefaultPathOperation=function(xt){return ma(xt)&&(Ut=xt),this};var Mo=zt.__private__.getStyle=zt.getStyle=function(xt){var Ot=Ut;switch(xt){case"D":case"S":Ot="S";break;case"F":Ot="f";break;case"FD":case"DF":Ot="B";break;case"f":case"f*":case"B":case"B*":Ot=xt}return Ot},zo=zt.close=function(){return cn("h"),this};zt.stroke=function(){return cn("S"),this},zt.fill=function(xt){return Qo("f",xt),this},zt.fillEvenOdd=function(xt){return Qo("f*",xt),this},zt.fillStroke=function(xt){return Qo("B",xt),this},zt.fillStrokeEvenOdd=function(xt){return Qo("B*",xt),this};var Qo=function(Ot,nn){E()(nn)==="object"?Ra(nn,Ot):cn(Ot)},Jo=function(Ot){Ot===null||xn===Sr.ADVANCED&&Ot===void 0||(Ot=Mo(Ot),cn(Ot))};function bo(xt,Ot,nn,On,$n){var ft=new P(Ot||this.boundingBox,nn||this.xStep,On||this.yStep,this.gState,$n||this.matrix);ft.stream=this.stream;var oe=xt+"$$"+this.cloneIndex+++"$$";return mr(oe,ft),ft}var Ra=function(Ot,nn){var On=Tn[Ot.key],$n=Sn[On];if($n instanceof H)cn("q"),cn(jo(nn)),$n.gState&&zt.setGState($n.gState),cn(Ot.matrix.toString()+" cm"),cn("/"+On+" sh"),cn("Q");else if($n instanceof P){var ft=new Pn(1,0,0,-1,0,Ds());Ot.matrix&&(ft=ft.multiply(Ot.matrix||ji),On=bo.call($n,Ot.key,Ot.boundingBox,Ot.xStep,Ot.yStep,ft).id),cn("q"),cn("/Pattern cs"),cn("/"+On+" scn"),$n.gState&&zt.setGState($n.gState),cn(nn),cn("Q")}},jo=function(Ot){switch(Ot){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"}},hs=zt.moveTo=function(xt,Ot){return cn(Yn(Kr(xt))+" "+Yn(sn(Ot))+" m"),this},Ao=zt.lineTo=function(xt,Ot){return cn(Yn(Kr(xt))+" "+Yn(sn(Ot))+" l"),this},Io=zt.curveTo=function(xt,Ot,nn,On,$n,ft){return cn([Yn(Kr(xt)),Yn(sn(Ot)),Yn(Kr(nn)),Yn(sn(On)),Yn(Kr($n)),Yn(sn(ft)),"c"].join(" ")),this};zt.__private__.line=zt.line=function(xt,Ot,nn,On,$n){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||isNaN(On)||!ma($n))throw new Error("Invalid arguments passed to jsPDF.line");return xn===Sr.COMPAT?this.lines([[nn-xt,On-Ot]],xt,Ot,[1,1],$n||"S"):this.lines([[nn-xt,On-Ot]],xt,Ot,[1,1]).stroke()},zt.__private__.lines=zt.lines=function(xt,Ot,nn,On,$n,ft){var oe,Ae,we,Be,st,Bt,wr,Tr,tn,_n,jn,fi;if(typeof xt=="number"&&(fi=nn,nn=Ot,Ot=xt,xt=fi),On=On||[1,1],ft=ft||!1,isNaN(Ot)||isNaN(nn)||!Array.isArray(xt)||!Array.isArray(On)||!ma($n)||typeof ft!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(hs(Ot,nn),oe=On[0],Ae=On[1],Be=xt.length,_n=Ot,jn=nn,we=0;we<Be;we++)(st=xt[we]).length===2?(_n=st[0]*oe+_n,jn=st[1]*Ae+jn,Ao(_n,jn)):(Bt=st[0]*oe+_n,wr=st[1]*Ae+jn,Tr=st[2]*oe+_n,tn=st[3]*Ae+jn,_n=st[4]*oe+_n,jn=st[5]*Ae+jn,Io(Bt,wr,Tr,tn,_n,jn));return ft&&zo(),Jo($n),this},zt.path=function(xt){for(var Ot=0;Ot<xt.length;Ot++){var nn=xt[Ot],On=nn.c;switch(nn.op){case"m":hs(On[0],On[1]);break;case"l":Ao(On[0],On[1]);break;case"c":Io.apply(this,On);break;case"h":zo()}}return this},zt.__private__.rect=zt.rect=function(xt,Ot,nn,On,$n){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||isNaN(On)||!ma($n))throw new Error("Invalid arguments passed to jsPDF.rect");return xn===Sr.COMPAT&&(On=-On),cn([Yn(Kr(xt)),Yn(sn(Ot)),Yn(Kr(nn)),Yn(Kr(On)),"re"].join(" ")),Jo($n),this},zt.__private__.triangle=zt.triangle=function(xt,Ot,nn,On,$n,ft,oe){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||isNaN(On)||isNaN($n)||isNaN(ft)||!ma(oe))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[nn-xt,On-Ot],[$n-nn,ft-On],[xt-$n,Ot-ft]],xt,Ot,[1,1],oe,!0),this},zt.__private__.roundedRect=zt.roundedRect=function(xt,Ot,nn,On,$n,ft,oe){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||isNaN(On)||isNaN($n)||isNaN(ft)||!ma(oe))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ae=4/3*(Math.SQRT2-1);return $n=Math.min($n,.5*nn),ft=Math.min(ft,.5*On),this.lines([[nn-2*$n,0],[$n*Ae,0,$n,ft-ft*Ae,$n,ft],[0,On-2*ft],[0,ft*Ae,-$n*Ae,ft,-$n,ft],[2*$n-nn,0],[-$n*Ae,0,-$n,-ft*Ae,-$n,-ft],[0,2*ft-On],[0,-ft*Ae,$n*Ae,-ft,$n,-ft]],xt+$n,Ot,[1,1],oe,!0),this},zt.__private__.ellipse=zt.ellipse=function(xt,Ot,nn,On,$n){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||isNaN(On)||!ma($n))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ft=4/3*(Math.SQRT2-1)*nn,oe=4/3*(Math.SQRT2-1)*On;return hs(xt+nn,Ot),Io(xt+nn,Ot-oe,xt+ft,Ot-On,xt,Ot-On),Io(xt-ft,Ot-On,xt-nn,Ot-oe,xt-nn,Ot),Io(xt-nn,Ot+oe,xt-ft,Ot+On,xt,Ot+On),Io(xt+ft,Ot+On,xt+nn,Ot+oe,xt+nn,Ot),Jo($n),this},zt.__private__.circle=zt.circle=function(xt,Ot,nn,On){if(isNaN(xt)||isNaN(Ot)||isNaN(nn)||!ma(On))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(xt,Ot,nn,nn,On)},zt.setFont=function(xt,Ot,nn){return nn&&(Ot=si(Ot,nn)),Rr=Ua(xt,Ot,{disableWarning:!1}),this};var Xa=zt.__private__.getFont=zt.getFont=function(){return Rn[Ua.apply(zt,arguments)]};zt.__private__.getFontList=zt.getFontList=function(){var xt,Ot,nn={};for(xt in Nn)if(Nn.hasOwnProperty(xt))for(Ot in nn[xt]=[],Nn[xt])Nn[xt].hasOwnProperty(Ot)&&nn[xt].push(Ot);return nn},zt.addFont=function(xt,Ot,nn,On,$n){var ft=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ft.indexOf(arguments[3])!==-1?$n=arguments[3]:arguments[3]&&ft.indexOf(arguments[3])==-1&&(nn=si(nn,On)),$n=$n||"Identity-H",Ha.call(this,xt,Ot,nn,$n)};var Yo,pl=Ze.lineWidth||.200025,Ls=zt.__private__.setLineWidth=zt.setLineWidth=function(xt){return cn(Yn(Kr(xt))+" w"),this};zt.__private__.setLineDash=K.API.setLineDash=K.API.setLineDashPattern=function(xt,Ot){if(xt=xt||[],Ot=Ot||0,isNaN(Ot)||!Array.isArray(xt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return xt=xt.map(function(nn){return Yn(Kr(nn))}).join(" "),Ot=Yn(Kr(Ot)),cn("["+xt+"] "+Ot+" d"),this};var os=zt.__private__.getLineHeight=zt.getLineHeight=function(){return ia*Yo};zt.__private__.getLineHeight=zt.getLineHeight=function(){return ia*Yo};var _s=zt.__private__.setLineHeightFactor=zt.setLineHeightFactor=function(xt){return typeof(xt=xt||1.15)=="number"&&(Yo=xt),this},Ns=zt.__private__.getLineHeightFactor=zt.getLineHeightFactor=function(){return Yo};_s(Ze.lineHeight);var is=zt.__private__.getHorizontalCoordinate=function(xt){return Kr(xt)},Wo=zt.__private__.getVerticalCoordinate=function(xt){return xn===Sr.ADVANCED?xt:gi[Ur].mediaBox.topRightY-gi[Ur].mediaBox.bottomLeftY-Kr(xt)},Co=zt.__private__.getHorizontalCoordinateString=zt.getHorizontalCoordinateString=function(xt){return Yn(is(xt))},ts=zt.__private__.getVerticalCoordinateString=zt.getVerticalCoordinateString=function(xt){return Yn(Wo(xt))},No=Ze.strokeColor||"0 G";zt.__private__.getStrokeColor=zt.getDrawColor=function(){return Pr(No)},zt.__private__.setStrokeColor=zt.setDrawColor=function(xt,Ot,nn,On){return No=kr({ch1:xt,ch2:Ot,ch3:nn,ch4:On,pdfColorType:"draw",precision:2}),cn(No),this};var Ho=Ze.fillColor||"0 g";zt.__private__.getFillColor=zt.getFillColor=function(){return Pr(Ho)},zt.__private__.setFillColor=zt.setFillColor=function(xt,Ot,nn,On){return Ho=kr({ch1:xt,ch2:Ot,ch3:nn,ch4:On,pdfColorType:"fill",precision:2}),cn(Ho),this};var zr=Ze.textColor||"0 g",Si=zt.__private__.getTextColor=zt.getTextColor=function(){return Pr(zr)};zt.__private__.setTextColor=zt.setTextColor=function(xt,Ot,nn,On){return zr=kr({ch1:xt,ch2:Ot,ch3:nn,ch4:On,pdfColorType:"text",precision:3}),this};var Ps=Ze.charSpace,Vs=zt.__private__.getCharSpace=zt.getCharSpace=function(){return parseFloat(Ps||0)};zt.__private__.setCharSpace=zt.setCharSpace=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ps=xt,this};var Ms=0;zt.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},zt.__private__.setLineCap=zt.setLineCap=function(xt){var Ot=zt.CapJoinStyles[xt];if(Ot===void 0)throw new Error("Line cap style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ms=Ot,cn(Ot+" J"),this};var so=0;zt.__private__.setLineJoin=zt.setLineJoin=function(xt){var Ot=zt.CapJoinStyles[xt];if(Ot===void 0)throw new Error("Line join style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return so=Ot,cn(Ot+" j"),this},zt.__private__.setLineMiterLimit=zt.__private__.setMiterLimit=zt.setLineMiterLimit=zt.setMiterLimit=function(xt){if(xt=xt||0,isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return cn(Yn(Kr(xt))+" M"),this},zt.GState=V,zt.setGState=function(xt){(xt=typeof xt=="string"?Kn[Qn[xt]]:wo(null,xt)).equals(qn)||(cn("/"+xt.id+" gs"),qn=xt)};var wo=function(Ot,nn){if(!Ot||!Qn[Ot]){var On=!1;for(var $n in Kn)if(Kn.hasOwnProperty($n)&&Kn[$n].equals(nn)){On=!0;break}if(On)nn=Kn[$n];else{var ft="GS"+(Object.keys(Kn).length+1).toString(10);Kn[ft]=nn,nn.id=ft}return Ot&&(Qn[Ot]=nn.id),Ri.publish("addGState",nn),nn}};zt.addGState=function(xt,Ot){return wo(xt,Ot),this},zt.saveGraphicsState=function(){return cn("q"),vn.push({key:Rr,size:ia,color:zr}),this},zt.restoreGraphicsState=function(){cn("Q");var xt=vn.pop();return Rr=xt.key,ia=xt.size,zr=xt.color,qn=null,this},zt.setCurrentTransformationMatrix=function(xt){return cn(xt.toString()+" cm"),this},zt.comment=function(xt){return cn("#"+xt),this};var Vo=function(Ot,nn){var On=Ot||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return On},set:function(Ae){isNaN(Ae)||(On=parseFloat(Ae))}});var $n=nn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return $n},set:function(Ae){isNaN(Ae)||($n=parseFloat(Ae))}});var ft="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ft},set:function(Ae){ft=Ae.toString()}}),this},Zo=function(Ot,nn,On,$n){Vo.call(this,Ot,nn),this.type="rect";var ft=On||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ft},set:function(we){isNaN(we)||(ft=parseFloat(we))}});var oe=$n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return oe},set:function(we){isNaN(we)||(oe=parseFloat(we))}}),this},As=function(){this.page=bi,this.currentPage=Ur,this.pages=Hi.slice(0),this.pagesContext=gi.slice(0),this.x=an,this.y=wn,this.matrix=In,this.width=Hs(Ur),this.height=Ds(Ur),this.outputDestination=$i,this.id="",this.objectNumber=-1};As.prototype.restore=function(){bi=this.page,Ur=this.currentPage,gi=this.pagesContext,Hi=this.pages,an=this.x,wn=this.y,In=this.matrix,Ys(Ur,this.width),rs(Ur,this.height),$i=this.outputDestination};var ws=function(Ot,nn,On,$n,ft){Di.push(new As),bi=Ur=0,Hi=[],an=Ot,wn=nn,In=ft,Ta([On,$n])},Ss=function(Ot){if(Ti[Ot])Di.pop().restore();else{var nn=new As,On="Xo"+(Object.keys(xi).length+1).toString(10);nn.id=On,Ti[Ot]=On,xi[On]=nn,Ri.publish("addFormObject",nn),Di.pop().restore()}};for(var Qs in zt.beginFormObject=function(xt,Ot,nn,On,$n){return ws(xt,Ot,nn,On,$n),this},zt.endFormObject=function(xt){return Ss(xt),this},zt.doFormObject=function(xt,Ot){var nn=xi[Ti[xt]];return cn("q"),cn(Ot.toString()+" cm"),cn("/"+nn.id+" Do"),cn("Q"),this},zt.getFormObject=function(xt){var Ot=xi[Ti[xt]];return{x:Ot.x,y:Ot.y,width:Ot.width,height:Ot.height,matrix:Ot.matrix}},zt.save=function(xt,Ot){return xt=xt||"generated.pdf",(Ot=Ot||{}).returnPromise=Ot.returnPromise||!1,Ot.returnPromise===!1?(r(xo(io()),xt),typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),this):new Promise(function(nn,On){try{var $n=r(xo(io()),xt);typeof r.unload=="function"&&v.setTimeout&&setTimeout(r.unload,911),nn($n)}catch(ft){On(ft.message)}})},K.API)K.API.hasOwnProperty(Qs)&&(Qs==="events"&&K.API.events.length?function(xt,Ot){var nn,On,$n;for($n=Ot.length-1;$n!==-1;$n--)nn=Ot[$n][0],On=Ot[$n][1],xt.subscribe.apply(xt,[nn].concat(typeof On=="function"?[On]:On))}(Ri,K.API.events):zt[Qs]=K.API[Qs]);var Hs=zt.getPageWidth=function(xt){return(gi[xt=xt||Ur].mediaBox.topRightX-gi[xt].mediaBox.bottomLeftX)/Hr},Ys=zt.setPageWidth=function(xt,Ot){gi[xt].mediaBox.topRightX=Ot*Hr+gi[xt].mediaBox.bottomLeftX},Ds=zt.getPageHeight=function(xt){return(gi[xt=xt||Ur].mediaBox.topRightY-gi[xt].mediaBox.bottomLeftY)/Hr},rs=zt.setPageHeight=function(xt,Ot){gi[xt].mediaBox.topRightY=Ot*Hr+gi[xt].mediaBox.bottomLeftY};return zt.internal={pdfEscape:Ga,getStyle:Mo,getFont:Xa,getFontSize:Zr,getCharSpace:Vs,getTextColor:Si,getLineHeight:os,getLineHeightFactor:Ns,write:Ni,getHorizontalCoordinate:is,getVerticalCoordinate:Wo,getCoordinateString:Co,getVerticalCoordinateString:ts,collections:{},newObject:Dr,newAdditionalObject:Gt,newObjectDeferred:Gr,newObjectDeferredBegin:Nr,getFilters:dn,putStream:ln,events:Ri,scaleFactor:Hr,pageSize:{getWidth:function(){return Hs(Ur)},setWidth:function(Ot){Ys(Ur,Ot)},getHeight:function(){return Ds(Ur)},setHeight:function(Ot){rs(Ur,Ot)}},encryptionOptions:br,encryption:Ya,getEncryptor:qa,output:mo,getNumberOfPages:po,pages:Hi,out:cn,f2:vi,f3:gn,getPageInfo:La,getPageInfoByObjId:oo,getCurrentPageInfo:vo,getPDFVersion:lr,Point:Vo,Rectangle:Zo,Matrix:Pn,hasHotfix:go},Object.defineProperty(zt.internal.pageSize,"width",{get:function(){return Hs(Ur)},set:function(Ot){Ys(Ur,Ot)},enumerable:!0,configurable:!0}),Object.defineProperty(zt.internal.pageSize,"height",{get:function(){return Ds(Ur)},set:function(Ot){rs(Ur,Ot)},enumerable:!0,configurable:!0}),Pa.call(zt,Ki),Rr="F1",Va(Ge,Me),Ri.publish("initialized"),zt}k.prototype.lsbFirstWord=function(Ze){return String.fromCharCode(Ze>>0&255,Ze>>8&255,Ze>>16&255,Ze>>24&255)},k.prototype.toHexString=function(Ze){return Ze.split("").map(function(xe){return("0"+(255&xe.charCodeAt(0)).toString(16)).slice(-2)}).join("")},k.prototype.hexToBytes=function(Ze){for(var xe=[],Me=0;Me<Ze.length;Me+=2)xe.push(String.fromCharCode(parseInt(Ze.substr(Me,2),16)));return xe.join("")},k.prototype.processOwnerPassword=function(Ze,xe){return L(x(xe).substr(0,5),Ze)},k.prototype.encryptor=function(Ze,xe){var Me=x(this.encryptionKey+String.fromCharCode(255&Ze,Ze>>8&255,Ze>>16&255,255&xe,xe>>8&255)).substr(0,10);return function(ke){return L(Me,ke)}},V.prototype.equals=function(Ze){var xe,Me="id,objectNumber,equals";if(!Ze||E()(Ze)!==E()(this))return!1;var ke=0;for(xe in this)if(!(Me.indexOf(xe)>=0)){if(this.hasOwnProperty(xe)&&!Ze.hasOwnProperty(xe))return!1;if(this[xe]!==Ze[xe])return!1;ke++}for(xe in Ze)Ze.hasOwnProperty(xe)&&Me.indexOf(xe)<0&&ke--;return ke===0},K.API={events:[]},K.version="2.4.0";var U=K.API,G=1,W=function(xe){return xe.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Z=function(xe){return xe.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},J=function(xe){return xe.toFixed(2)},ve=function(xe){return xe.toFixed(5)};U.__acroform__={};var q=function(xe,Me){xe.prototype=Object.create(Me.prototype),xe.prototype.constructor=xe},ce=function(xe){return xe*G},be=function(xe){var Me=new _e,ke=ne.internal.getHeight(xe)||0,Ge=ne.internal.getWidth(xe)||0;return Me.BBox=[0,0,Number(J(Ge)),Number(J(ke))],Me},Ce=U.__acroform__.setBit=function(Ze,xe){if(Ze=Ze||0,xe=xe||0,isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ze|=1<<xe},Fe=U.__acroform__.clearBit=function(Ze,xe){if(Ze=Ze||0,xe=xe||0,isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ze&=~(1<<xe)},fe=U.__acroform__.getBit=function(Ze,xe){if(isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ze&1<<xe)==0?0:1},Ne=U.__acroform__.getBitForPdf=function(Ze,xe){if(isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return fe(Ze,xe-1)},Q=U.__acroform__.setBitForPdf=function(Ze,xe){if(isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ce(Ze,xe-1)},ae=U.__acroform__.clearBitForPdf=function(Ze,xe){if(isNaN(Ze)||isNaN(xe))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Fe(Ze,xe-1)},Ue=U.__acroform__.calculateCoordinates=function(Ze,xe){var Me=xe.internal.getHorizontalCoordinate,ke=xe.internal.getVerticalCoordinate,Ge=Ze[0],Ke=Ze[1],Je=Ze[2],vt=Ze[3],ot={};return ot.lowerLeft_X=Me(Ge)||0,ot.lowerLeft_Y=ke(Ke+vt)||0,ot.upperRight_X=Me(Ge+Je)||0,ot.upperRight_Y=ke(Ke)||0,[Number(J(ot.lowerLeft_X)),Number(J(ot.lowerLeft_Y)),Number(J(ot.upperRight_X)),Number(J(ot.upperRight_Y))]},te=function(xe){if(xe.appearanceStreamContent)return xe.appearanceStreamContent;if(xe.V||xe.DV){var Me=[],ke=xe._V||xe.DV,Ge=X(xe,ke),Ke=xe.scope.internal.getFont(xe.fontName,xe.fontStyle).id;Me.push("/Tx BMC"),Me.push("q"),Me.push("BT"),Me.push(xe.scope.__private__.encodeColorString(xe.color)),Me.push("/"+Ke+" "+J(Ge.fontSize)+" Tf"),Me.push("1 0 0 1 0 0 Tm"),Me.push(Ge.text),Me.push("ET"),Me.push("Q"),Me.push("EMC");var Je=be(xe);return Je.scope=xe.scope,Je.stream=Me.join(`
`),Je}},X=function(xe,Me){var ke=xe.fontSize===0?xe.maxFontSize:xe.fontSize,Ge={text:"",fontSize:""},Ke=(Me=(Me=Me.substr(0,1)=="("?Me.substr(1):Me).substr(Me.length-1)==")"?Me.substr(0,Me.length-1):Me).split(" "),Je=ke,vt=ne.internal.getHeight(xe)||0;vt=vt<0?-vt:vt;var ot=ne.internal.getWidth(xe)||0;ot=ot<0?-ot:ot;var Ut=function(vi,gn,Kr){if(vi+1<Ke.length){var En=gn+" "+Ke[vi+1];return z(En,xe,Kr).width<=ot-4}return!1};Je++;e:for(;Je>0;){Me="",Je--;var br,Ar,Or=z("3",xe,Je).height,zt=xe.multiline?vt-Je:(vt-Or)/2,un=zt+=2,lr=0,Vr=0;if(Je<=0){Me=`(...) Tj
`,Me+="% Width of Text: "+z(Me,xe,Je=12).width+", FieldWidth:"+ot+`
`;break}var Br="",Sr=0;for(var xn in Ke)if(Ke.hasOwnProperty(xn)){Br=(Br+=Ke[xn]+" ").substr(Br.length-1)==" "?Br.substr(0,Br.length-1):Br;var Hn=parseInt(xn),ai=Ut(Hn,Br,Je),si=xn>=Ke.length-1;if(ai&&!si){Br+=" ";continue}if(ai||si){if(si)Vr=Hn;else if(xe.multiline&&(Or+2)*(Sr+2)+2>vt)continue e}else{if(!xe.multiline)continue e;if((Or+2)*(Sr+2)+2>vt)continue e;Vr=Hn}for(var Yn="",Wn=lr;Wn<=Vr;Wn++)Yn+=Ke[Wn]+" ";switch(Yn=Yn.substr(Yn.length-1)==" "?Yn.substr(0,Yn.length-1):Yn,Ar=z(Yn,xe,Je).width,xe.textAlign){case"right":br=ot-Ar-2;break;case"center":br=(ot-Ar)/2;break;case"left":default:br=2}Me+=J(br)+" "+J(un)+` Td
`,Me+="("+W(Yn)+`) Tj
`,Me+=-J(br)+` 0 Td
`,un=-(Je+2),Ar=0,lr=Vr+1,Sr++,Br=""}break}return Ge.text=Me,Ge.fontSize=Je,Ge},z=function(xe,Me,ke){var Ge=Me.scope.internal.getFont(Me.fontName,Me.fontStyle),Ke=Me.scope.getStringUnitWidth(xe,{font:Ge,fontSize:parseFloat(ke),charSpace:0})*parseFloat(ke);return{height:Me.scope.getStringUnitWidth("3",{font:Ge,fontSize:parseFloat(ke),charSpace:0})*parseFloat(ke)*1.5,width:Ke}},Y={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},pe=function(xe,Me){var ke={type:"reference",object:xe};Me.internal.getPageInfo(xe.page).pageContext.annotations.find(function(Ge){return Ge.type===ke.type&&Ge.object===ke.object})===void 0&&Me.internal.getPageInfo(xe.page).pageContext.annotations.push(ke)},se=function(xe,Me){for(var ke in xe)if(xe.hasOwnProperty(ke)){var Ge=ke,Ke=xe[ke];Me.internal.newObjectDeferredBegin(Ke.objId,!0),E()(Ke)==="object"&&typeof Ke.putStream=="function"&&Ke.putStream(),delete xe[Ge]}},Te=function(xe,Me){if(Me.scope=xe,xe.internal!==void 0&&(xe.internal.acroformPlugin===void 0||xe.internal.acroformPlugin.isInitialized===!1)){if(at.FieldNum=0,xe.internal.acroformPlugin=JSON.parse(JSON.stringify(Y)),xe.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");G=xe.internal.scaleFactor,xe.internal.acroformPlugin.acroFormDictionaryRoot=new We,xe.internal.acroformPlugin.acroFormDictionaryRoot.scope=xe,xe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=xe.internal.events.subscribe("postPutResources",function(){!function(ke){ke.internal.events.unsubscribe(ke.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete ke.internal.acroformPlugin.acroFormDictionaryRoot._eventID,ke.internal.acroformPlugin.printedOut=!0}(xe)}),xe.internal.events.subscribe("buildDocument",function(){!function(ke){ke.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var Ge=ke.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Ke in Ge)if(Ge.hasOwnProperty(Ke)){var Je=Ge[Ke];Je.objId=void 0,Je.hasAnnotation&&pe(Je,ke)}}(xe)}),xe.internal.events.subscribe("putCatalog",function(){!function(ke){if(ke.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");ke.internal.write("/AcroForm "+ke.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(xe)}),xe.internal.events.subscribe("postPutPages",function(ke){!function(Ge,Ke){var Je=!Ge;for(var vt in Ge||(Ke.internal.newObjectDeferredBegin(Ke.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ke.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),Ge=Ge||Ke.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(Ge.hasOwnProperty(vt)){var ot=Ge[vt],Ut=[],br=ot.Rect;if(ot.Rect&&(ot.Rect=Ue(ot.Rect,Ke)),Ke.internal.newObjectDeferredBegin(ot.objId,!0),ot.DA=ne.createDefaultAppearanceStream(ot),E()(ot)==="object"&&typeof ot.getKeyValueListForStream=="function"&&(Ut=ot.getKeyValueListForStream()),ot.Rect=br,ot.hasAppearanceStream&&!ot.appearanceStreamContent){var Ar=te(ot);Ut.push({key:"AP",value:"<</N "+Ar+">>"}),Ke.internal.acroformPlugin.xForms.push(Ar)}if(ot.appearanceStreamContent){var Or="";for(var zt in ot.appearanceStreamContent)if(ot.appearanceStreamContent.hasOwnProperty(zt)){var un=ot.appearanceStreamContent[zt];if(Or+="/"+zt+" ",Or+="<<",Object.keys(un).length>=1||Array.isArray(un)){for(var vt in un)if(un.hasOwnProperty(vt)){var lr=un[vt];typeof lr=="function"&&(lr=lr.call(Ke,ot)),Or+="/"+vt+" "+lr+" ",Ke.internal.acroformPlugin.xForms.indexOf(lr)>=0||Ke.internal.acroformPlugin.xForms.push(lr)}}else typeof(lr=un)=="function"&&(lr=lr.call(Ke,ot)),Or+="/"+vt+" "+lr,Ke.internal.acroformPlugin.xForms.indexOf(lr)>=0||Ke.internal.acroformPlugin.xForms.push(lr);Or+=">>"}Ut.push({key:"AP",value:`<<
`+Or+">>"})}Ke.internal.putStream({additionalKeyValues:Ut,objectId:ot.objId}),Ke.internal.out("endobj")}Je&&se(Ke.internal.acroformPlugin.xForms,Ke)}(ke,xe)}),xe.internal.acroformPlugin.isInitialized=!0}},Se=U.__acroform__.arrayToPdfArray=function(Ze,xe,Me){var ke=function(vt){return vt};if(Array.isArray(Ze)){for(var Ge="[",Ke=0;Ke<Ze.length;Ke++)switch(Ke!==0&&(Ge+=" "),E()(Ze[Ke])){case"boolean":case"number":case"object":Ge+=Ze[Ke].toString();break;case"string":Ze[Ke].substr(0,1)!=="/"?(xe!==void 0&&Me&&(ke=Me.internal.getEncryptor(xe)),Ge+="("+W(ke(Ze[Ke].toString()))+")"):Ge+=Ze[Ke].toString()}return Ge+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ie=function(xe,Me,ke){var Ge=function(Je){return Je};return Me!==void 0&&ke&&(Ge=ke.internal.getEncryptor(Me)),(xe=xe||"").toString(),xe="("+W(Ge(xe))+")"},de=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(Me){this._objId=Me}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};de.prototype.toString=function(){return this.objId+" 0 R"},de.prototype.putStream=function(){var Ze=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Ze,objectId:this.objId}),this.scope.internal.out("endobj")},de.prototype.getKeyValueListForStream=function(){var Ze=[],xe=Object.getOwnPropertyNames(this).filter(function(Ke){return Ke!="content"&&Ke!="appearanceStreamContent"&&Ke!="scope"&&Ke!="objId"&&Ke.substring(0,1)!="_"});for(var Me in xe)if(Object.getOwnPropertyDescriptor(this,xe[Me]).configurable===!1){var ke=xe[Me],Ge=this[ke];Ge&&(Array.isArray(Ge)?Ze.push({key:ke,value:Se(Ge,this.objId,this.scope)}):Ge instanceof de?(Ge.scope=this.scope,Ze.push({key:ke,value:Ge.objId+" 0 R"})):typeof Ge!="function"&&Ze.push({key:ke,value:Ge}))}return Ze};var _e=function(){de.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 xe,Me=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Me},set:function(Ge){Me=Ge}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(Ge){xe=Ge.trim()},get:function(){return xe||null}})};q(_e,de);var We=function(){de.call(this);var xe,Me=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Me.length>0?Me:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Me}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(xe){var Ge=function(Je){return Je};return this.scope&&(Ge=this.scope.internal.getEncryptor(this.objId)),"("+W(Ge(xe))+")"}},set:function(Ge){xe=Ge}})};q(We,de);var at=function Ze(){de.call(this);var xe=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return xe},set:function(Sr){if(isNaN(Sr))throw new Error('Invalid value "'+Sr+'" for attribute F supplied.');xe=Sr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(xe,3))},set:function(Sr){Boolean(Sr)===!0?this.F=Q(xe,3):this.F=ae(xe,3)}});var Me=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Me},set:function(Sr){if(isNaN(Sr))throw new Error('Invalid value "'+Sr+'" for attribute Ff supplied.');Me=Sr}});var ke=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(ke.length!==0)return ke},set:function(Sr){ke=Sr!==void 0?Sr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!ke||isNaN(ke[0])?0:ke[0]},set:function(Sr){ke[0]=Sr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!ke||isNaN(ke[1])?0:ke[1]},set:function(Sr){ke[1]=Sr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!ke||isNaN(ke[2])?0:ke[2]},set:function(Sr){ke[2]=Sr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!ke||isNaN(ke[3])?0:ke[3]},set:function(Sr){ke[3]=Sr}});var Ge="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return Ge},set:function(Sr){switch(Sr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":Ge=Sr;break;default:throw new Error('Invalid value "'+Sr+'" for attribute FT supplied.')}}});var Ke=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Ke||Ke.length<1){if(this instanceof Ft)return;Ke="FieldObject"+Ze.FieldNum++}var Sr=function(Hn){return Hn};return this.scope&&(Sr=this.scope.internal.getEncryptor(this.objId)),"("+W(Sr(Ke))+")"},set:function(Sr){Ke=Sr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Ke},set:function(Sr){Ke=Sr}});var Je="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Je},set:function(Sr){Je=Sr}});var vt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return vt},set:function(Sr){vt=Sr}});var ot=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(Sr){ot=Sr}});var Ut=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ut===void 0?50/G:Ut},set:function(Sr){Ut=Sr}});var br="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return br},set:function(Sr){br=Sr}});var Ar="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Ar||this instanceof Ft||this instanceof $e))return ie(Ar,this.objId,this.scope)},set:function(Sr){Sr=Sr.toString(),Ar=Sr}});var Or=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Or)return this instanceof bt==!1?ie(Or,this.objId,this.scope):Or},set:function(Sr){Sr=Sr.toString(),Or=this instanceof bt==!1?Sr.substr(0,1)==="("?Z(Sr.substr(1,Sr.length-2)):Z(Sr):Sr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof bt==!0?Z(Or.substr(1,Or.length-1)):Or},set:function(Sr){Sr=Sr.toString(),Or=this instanceof bt==!0?"/"+Sr:Sr}});var zt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(zt)return zt},set:function(Sr){this.V=Sr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zt)return this instanceof bt==!1?ie(zt,this.objId,this.scope):zt},set:function(Sr){Sr=Sr.toString(),zt=this instanceof bt==!1?Sr.substr(0,1)==="("?Z(Sr.substr(1,Sr.length-2)):Z(Sr):Sr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof bt==!0?Z(zt.substr(1,zt.length-1)):zt},set:function(Sr){Sr=Sr.toString(),zt=this instanceof bt==!0?"/"+Sr:Sr}}),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 un,lr=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return lr},set:function(Sr){Sr=Boolean(Sr),lr=Sr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(un)return un},set:function(Sr){un=Sr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,1))},set:function(Sr){Boolean(Sr)===!0?this.Ff=Q(this.Ff,1):this.Ff=ae(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,2))},set:function(Sr){Boolean(Sr)===!0?this.Ff=Q(this.Ff,2):this.Ff=ae(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,3))},set:function(Sr){Boolean(Sr)===!0?this.Ff=Q(this.Ff,3):this.Ff=ae(this.Ff,3)}});var Vr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vr!==null)return Vr},set:function(Sr){if([0,1,2].indexOf(Sr)===-1)throw new Error('Invalid value "'+Sr+'" for attribute Q supplied.');Vr=Sr}}),Object.defineProperty(this,"textAlign",{get:function(){var Sr;switch(Vr){case 0:default:Sr="left";break;case 1:Sr="center";break;case 2:Sr="right"}return Sr},configurable:!0,enumerable:!0,set:function(Sr){switch(Sr){case"right":case 2:Vr=2;break;case"center":case 1:Vr=1;break;case"left":case 0:default:Vr=0}}})};q(at,de);var tt=function(){at.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var xe=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return xe},set:function(Ge){xe=Ge}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return xe},set:function(Ge){xe=Ge}});var Me=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Se(Me,this.objId,this.scope)},set:function(Ge){var Ke,Je;Je=[],typeof(Ke=Ge)=="string"&&(Je=function(vt,ot,Ut){Ut||(Ut=1);for(var br,Ar=[];br=ot.exec(vt);)Ar.push(br[Ut]);return Ar}(Ke,/\((.*?)\)/g)),Me=Je}}),this.getOptions=function(){return Me},this.setOptions=function(ke){Me=ke,this.sort&&Me.sort()},this.addOption=function(ke){ke=(ke=ke||"").toString(),Me.push(ke),this.sort&&Me.sort()},this.removeOption=function(ke,Ge){for(Ge=Ge||!1,ke=(ke=ke||"").toString();Me.indexOf(ke)!==-1&&(Me.splice(Me.indexOf(ke),1),Ge!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,18))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,18):this.Ff=ae(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,19))},set:function(Ge){this.combo===!0&&(Boolean(Ge)===!0?this.Ff=Q(this.Ff,19):this.Ff=ae(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,20))},set:function(Ge){Boolean(Ge)===!0?(this.Ff=Q(this.Ff,20),Me.sort()):this.Ff=ae(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,22))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,22):this.Ff=ae(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,23))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,23):this.Ff=ae(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,27))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,27):this.Ff=ae(this.Ff,27)}}),this.hasAppearanceStream=!1};q(tt,at);var Oe=function(){tt.call(this),this.fontName="helvetica",this.combo=!1};q(Oe,tt);var yt=function(){Oe.call(this),this.combo=!0};q(yt,Oe);var Ye=function(){yt.call(this),this.edit=!0};q(Ye,yt);var bt=function(){at.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,15))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,15):this.Ff=ae(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,16))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,16):this.Ff=ae(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,17))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,17):this.Ff=ae(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,26))},set:function(Ge){Boolean(Ge)===!0?this.Ff=Q(this.Ff,26):this.Ff=ae(this.Ff,26)}});var xe,Me={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Ge=function(ot){return ot};if(this.scope&&(Ge=this.scope.internal.getEncryptor(this.objId)),Object.keys(Me).length!==0){var Ke,Je=[];for(Ke in Je.push("<<"),Me)Je.push("/"+Ke+" ("+W(Ge(Me[Ke]))+")");return Je.push(">>"),Je.join(`
`)}},set:function(Ge){E()(Ge)==="object"&&(Me=Ge)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Me.CA||""},set:function(Ge){typeof Ge=="string"&&(Me.CA=Ge)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return xe},set:function(Ge){xe=Ge}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return xe.substr(1,xe.length-1)},set:function(Ge){xe="/"+Ge}})};q(bt,at);var Ct=function(){bt.call(this),this.pushButton=!0};q(Ct,bt);var It=function(){bt.call(this),this.radio=!0,this.pushButton=!1;var xe=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return xe},set:function(ke){xe=ke!==void 0?ke:[]}})};q(It,bt);var Ft=function(){var xe,Me;at.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return xe},set:function(Je){xe=Je}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Me},set:function(Je){Me=Je}});var ke,Ge={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Je=function(br){return br};this.scope&&(Je=this.scope.internal.getEncryptor(this.objId));var vt,ot=[];for(vt in ot.push("<<"),Ge)ot.push("/"+vt+" ("+W(Je(Ge[vt]))+")");return ot.push(">>"),ot.join(`
`)},set:function(Je){E()(Je)==="object"&&(Ge=Je)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Ge.CA||""},set:function(Je){typeof Je=="string"&&(Ge.CA=Je)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ke},set:function(Je){ke=Je}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ke.substr(1,ke.length-1)},set:function(Je){ke="/"+Je}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ne.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};q(Ft,at),It.prototype.setAppearance=function(Ze){if(!("createAppearanceStream"in Ze)||!("getCA"in Ze))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var xe in this.Kids)if(this.Kids.hasOwnProperty(xe)){var Me=this.Kids[xe];Me.appearanceStreamContent=Ze.createAppearanceStream(Me.optionName),Me.caption=Ze.getCA()}},It.prototype.createOption=function(Ze){var xe=new Ft;return xe.Parent=this,xe.optionName=Ze,this.Kids.push(xe),wt.call(this.scope,xe),xe};var Vt=function(){bt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ne.CheckBox.createAppearanceStream()};q(Vt,bt);var $e=function(){at.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,13))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,13):this.Ff=ae(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,21))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,21):this.Ff=ae(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,23))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,23):this.Ff=ae(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,24))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,24):this.Ff=ae(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,25))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,25):this.Ff=ae(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,26))},set:function(ke){Boolean(ke)===!0?this.Ff=Q(this.Ff,26):this.Ff=ae(this.Ff,26)}});var xe=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return xe},set:function(ke){xe=ke}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return xe},set:function(ke){Number.isInteger(ke)&&(xe=ke)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};q($e,at);var ge=function(){$e.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Ne(this.Ff,14))},set:function(Me){Boolean(Me)===!0?this.Ff=Q(this.Ff,14):this.Ff=ae(this.Ff,14)}}),this.password=!0};q(ge,$e);var ne={CheckBox:{createAppearanceStream:function(){return{N:{On:ne.CheckBox.YesNormal},D:{On:ne.CheckBox.YesPushDown,Off:ne.CheckBox.OffPushDown}}},YesPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[],Ge=xe.scope.internal.getFont(xe.fontName,xe.fontStyle).id,Ke=xe.scope.__private__.encodeColorString(xe.color),Je=X(xe,xe.caption);return ke.push("0.749023 g"),ke.push("0 0 "+J(ne.internal.getWidth(xe))+" "+J(ne.internal.getHeight(xe))+" re"),ke.push("f"),ke.push("BMC"),ke.push("q"),ke.push("0 0 1 rg"),ke.push("/"+Ge+" "+J(Je.fontSize)+" Tf "+Ke),ke.push("BT"),ke.push(Je.text),ke.push("ET"),ke.push("Q"),ke.push("EMC"),Me.stream=ke.join(`
`),Me},YesNormal:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=xe.scope.internal.getFont(xe.fontName,xe.fontStyle).id,Ge=xe.scope.__private__.encodeColorString(xe.color),Ke=[],Je=ne.internal.getHeight(xe),vt=ne.internal.getWidth(xe),ot=X(xe,xe.caption);return Ke.push("1 g"),Ke.push("0 0 "+J(vt)+" "+J(Je)+" re"),Ke.push("f"),Ke.push("q"),Ke.push("0 0 1 rg"),Ke.push("0 0 "+J(vt-1)+" "+J(Je-1)+" re"),Ke.push("W"),Ke.push("n"),Ke.push("0 g"),Ke.push("BT"),Ke.push("/"+ke+" "+J(ot.fontSize)+" Tf "+Ge),Ke.push(ot.text),Ke.push("ET"),Ke.push("Q"),Me.stream=Ke.join(`
`),Me},OffPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[];return ke.push("0.749023 g"),ke.push("0 0 "+J(ne.internal.getWidth(xe))+" "+J(ne.internal.getHeight(xe))+" re"),ke.push("f"),Me.stream=ke.join(`
`),Me}},RadioButton:{Circle:{createAppearanceStream:function(xe){var Me={D:{Off:ne.RadioButton.Circle.OffPushDown},N:{}};return Me.N[xe]=ne.RadioButton.Circle.YesNormal,Me.D[xe]=ne.RadioButton.Circle.YesPushDown,Me},getCA:function(){return"l"},YesNormal:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[],Ge=ne.internal.getWidth(xe)<=ne.internal.getHeight(xe)?ne.internal.getWidth(xe)/4:ne.internal.getHeight(xe)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=ne.internal.Bezier_C,Je=Number((Ge*Ke).toFixed(5));return ke.push("q"),ke.push("1 0 0 1 "+ve(ne.internal.getWidth(xe)/2)+" "+ve(ne.internal.getHeight(xe)/2)+" cm"),ke.push(Ge+" 0 m"),ke.push(Ge+" "+Je+" "+Je+" "+Ge+" 0 "+Ge+" c"),ke.push("-"+Je+" "+Ge+" -"+Ge+" "+Je+" -"+Ge+" 0 c"),ke.push("-"+Ge+" -"+Je+" -"+Je+" -"+Ge+" 0 -"+Ge+" c"),ke.push(Je+" -"+Ge+" "+Ge+" -"+Je+" "+Ge+" 0 c"),ke.push("f"),ke.push("Q"),Me.stream=ke.join(`
`),Me},YesPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[],Ge=ne.internal.getWidth(xe)<=ne.internal.getHeight(xe)?ne.internal.getWidth(xe)/4:ne.internal.getHeight(xe)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=Number((2*Ge).toFixed(5)),Je=Number((Ke*ne.internal.Bezier_C).toFixed(5)),vt=Number((Ge*ne.internal.Bezier_C).toFixed(5));return ke.push("0.749023 g"),ke.push("q"),ke.push("1 0 0 1 "+ve(ne.internal.getWidth(xe)/2)+" "+ve(ne.internal.getHeight(xe)/2)+" cm"),ke.push(Ke+" 0 m"),ke.push(Ke+" "+Je+" "+Je+" "+Ke+" 0 "+Ke+" c"),ke.push("-"+Je+" "+Ke+" -"+Ke+" "+Je+" -"+Ke+" 0 c"),ke.push("-"+Ke+" -"+Je+" -"+Je+" -"+Ke+" 0 -"+Ke+" c"),ke.push(Je+" -"+Ke+" "+Ke+" -"+Je+" "+Ke+" 0 c"),ke.push("f"),ke.push("Q"),ke.push("0 g"),ke.push("q"),ke.push("1 0 0 1 "+ve(ne.internal.getWidth(xe)/2)+" "+ve(ne.internal.getHeight(xe)/2)+" cm"),ke.push(Ge+" 0 m"),ke.push(Ge+" "+vt+" "+vt+" "+Ge+" 0 "+Ge+" c"),ke.push("-"+vt+" "+Ge+" -"+Ge+" "+vt+" -"+Ge+" 0 c"),ke.push("-"+Ge+" -"+vt+" -"+vt+" -"+Ge+" 0 -"+Ge+" c"),ke.push(vt+" -"+Ge+" "+Ge+" -"+vt+" "+Ge+" 0 c"),ke.push("f"),ke.push("Q"),Me.stream=ke.join(`
`),Me},OffPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[],Ge=ne.internal.getWidth(xe)<=ne.internal.getHeight(xe)?ne.internal.getWidth(xe)/4:ne.internal.getHeight(xe)/4;Ge=Number((.9*Ge).toFixed(5));var Ke=Number((2*Ge).toFixed(5)),Je=Number((Ke*ne.internal.Bezier_C).toFixed(5));return ke.push("0.749023 g"),ke.push("q"),ke.push("1 0 0 1 "+ve(ne.internal.getWidth(xe)/2)+" "+ve(ne.internal.getHeight(xe)/2)+" cm"),ke.push(Ke+" 0 m"),ke.push(Ke+" "+Je+" "+Je+" "+Ke+" 0 "+Ke+" c"),ke.push("-"+Je+" "+Ke+" -"+Ke+" "+Je+" -"+Ke+" 0 c"),ke.push("-"+Ke+" -"+Je+" -"+Je+" -"+Ke+" 0 -"+Ke+" c"),ke.push(Je+" -"+Ke+" "+Ke+" -"+Je+" "+Ke+" 0 c"),ke.push("f"),ke.push("Q"),Me.stream=ke.join(`
`),Me}},Cross:{createAppearanceStream:function(xe){var Me={D:{Off:ne.RadioButton.Cross.OffPushDown},N:{}};return Me.N[xe]=ne.RadioButton.Cross.YesNormal,Me.D[xe]=ne.RadioButton.Cross.YesPushDown,Me},getCA:function(){return"8"},YesNormal:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[],Ge=ne.internal.calculateCross(xe);return ke.push("q"),ke.push("1 1 "+J(ne.internal.getWidth(xe)-2)+" "+J(ne.internal.getHeight(xe)-2)+" re"),ke.push("W"),ke.push("n"),ke.push(J(Ge.x1.x)+" "+J(Ge.x1.y)+" m"),ke.push(J(Ge.x2.x)+" "+J(Ge.x2.y)+" l"),ke.push(J(Ge.x4.x)+" "+J(Ge.x4.y)+" m"),ke.push(J(Ge.x3.x)+" "+J(Ge.x3.y)+" l"),ke.push("s"),ke.push("Q"),Me.stream=ke.join(`
`),Me},YesPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=ne.internal.calculateCross(xe),Ge=[];return Ge.push("0.749023 g"),Ge.push("0 0 "+J(ne.internal.getWidth(xe))+" "+J(ne.internal.getHeight(xe))+" re"),Ge.push("f"),Ge.push("q"),Ge.push("1 1 "+J(ne.internal.getWidth(xe)-2)+" "+J(ne.internal.getHeight(xe)-2)+" re"),Ge.push("W"),Ge.push("n"),Ge.push(J(ke.x1.x)+" "+J(ke.x1.y)+" m"),Ge.push(J(ke.x2.x)+" "+J(ke.x2.y)+" l"),Ge.push(J(ke.x4.x)+" "+J(ke.x4.y)+" m"),Ge.push(J(ke.x3.x)+" "+J(ke.x3.y)+" l"),Ge.push("s"),Ge.push("Q"),Me.stream=Ge.join(`
`),Me},OffPushDown:function(xe){var Me=be(xe);Me.scope=xe.scope;var ke=[];return ke.push("0.749023 g"),ke.push("0 0 "+J(ne.internal.getWidth(xe))+" "+J(ne.internal.getHeight(xe))+" re"),ke.push("f"),Me.stream=ke.join(`
`),Me}}},createDefaultAppearanceStream:function(xe){var Me=xe.scope.internal.getFont(xe.fontName,xe.fontStyle).id,ke=xe.scope.__private__.encodeColorString(xe.color);return"/"+Me+" "+xe.fontSize+" Tf "+ke}};ne.internal={Bezier_C:.551915024494,calculateCross:function(xe){var Me=ne.internal.getWidth(xe),ke=ne.internal.getHeight(xe),Ge=Math.min(Me,ke);return{x1:{x:(Me-Ge)/2,y:(ke-Ge)/2+Ge},x2:{x:(Me-Ge)/2+Ge,y:(ke-Ge)/2},x3:{x:(Me-Ge)/2,y:(ke-Ge)/2},x4:{x:(Me-Ge)/2+Ge,y:(ke-Ge)/2+Ge}}}},ne.internal.getWidth=function(Ze){var xe=0;return E()(Ze)==="object"&&(xe=ce(Ze.Rect[2])),xe},ne.internal.getHeight=function(Ze){var xe=0;return E()(Ze)==="object"&&(xe=ce(Ze.Rect[3])),xe};var wt=U.addField=function(Ze){if(Te(this,Ze),!(Ze instanceof at))throw new Error("Invalid argument passed to jsPDF.addField.");var xe;return(xe=Ze).scope.internal.acroformPlugin.printedOut&&(xe.scope.internal.acroformPlugin.printedOut=!1,xe.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),xe.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(xe),Ze.page=Ze.scope.internal.getCurrentPageInfo().pageNumber,this};U.AcroFormChoiceField=tt,U.AcroFormListBox=Oe,U.AcroFormComboBox=yt,U.AcroFormEditBox=Ye,U.AcroFormButton=bt,U.AcroFormPushButton=Ct,U.AcroFormRadioButton=It,U.AcroFormCheckBox=Vt,U.AcroFormTextField=$e,U.AcroFormPasswordField=ge,U.AcroFormAppearance=ne,U.AcroForm={ChoiceField:tt,ListBox:Oe,ComboBox:yt,EditBox:Ye,Button:bt,PushButton:Ct,RadioButton:It,CheckBox:Vt,TextField:$e,PasswordField:ge,Appearance:ne},K.AcroForm={ChoiceField:tt,ListBox:Oe,ComboBox:yt,EditBox:Ye,Button:bt,PushButton:Ct,RadioButton:It,CheckBox:Vt,TextField:$e,PasswordField:ge,Appearance:ne};var qe=K.AcroForm;function he(Ze){return Ze.reduce(function(xe,Me,ke){return xe[Me]=ke,xe},{})}!function(Ze){Ze.__addimage__={};var xe="UNKNOWN",Me={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]]},ke=Ze.__addimage__.getImageFileTypeByImageData=function(gn,Kr){var En,sn,li,ni,yi,Xn=xe;if((Kr=Kr||xe)==="RGBA"||gn.data!==void 0&&gn.data instanceof Uint8ClampedArray&&"height"in gn&&"width"in gn)return"RGBA";if(si(gn))for(yi in Me)for(li=Me[yi],En=0;En<li.length;En+=1){for(ni=!0,sn=0;sn<li[En].length;sn+=1)if(li[En][sn]!==void 0&&li[En][sn]!==gn[sn]){ni=!1;break}if(ni===!0){Xn=yi;break}}else for(yi in Me)for(li=Me[yi],En=0;En<li.length;En+=1){for(ni=!0,sn=0;sn<li[En].length;sn+=1)if(li[En][sn]!==void 0&&li[En][sn]!==gn.charCodeAt(sn)){ni=!1;break}if(ni===!0){Xn=yi;break}}return Xn===xe&&Kr!==xe&&(Xn=Kr),Xn},Ge=function gn(Kr){for(var En=this.internal.write,sn=this.internal.putStream,li=(0,this.internal.getFilters)();li.indexOf("FlateEncode")!==-1;)li.splice(li.indexOf("FlateEncode"),1);Kr.objectId=this.internal.newObject();var ni=[];if(ni.push({key:"Type",value:"/XObject"}),ni.push({key:"Subtype",value:"/Image"}),ni.push({key:"Width",value:Kr.width}),ni.push({key:"Height",value:Kr.height}),Kr.colorSpace===Vr.INDEXED?ni.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Kr.palette.length/3-1)+" "+("sMask"in Kr&&Kr.sMask!==void 0?Kr.objectId+2:Kr.objectId+1)+" 0 R]"}):(ni.push({key:"ColorSpace",value:"/"+Kr.colorSpace}),Kr.colorSpace===Vr.DEVICE_CMYK&&ni.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ni.push({key:"BitsPerComponent",value:Kr.bitsPerComponent}),"decodeParameters"in Kr&&Kr.decodeParameters!==void 0&&ni.push({key:"DecodeParms",value:"<<"+Kr.decodeParameters+">>"}),"transparency"in Kr&&Array.isArray(Kr.transparency)){for(var yi="",Xn=0,ki=Kr.transparency.length;Xn<ki;Xn++)yi+=Kr.transparency[Xn]+" "+Kr.transparency[Xn]+" ";ni.push({key:"Mask",value:"["+yi+"]"})}Kr.sMask!==void 0&&ni.push({key:"SMask",value:Kr.objectId+1+" 0 R"});var wi=Kr.filter!==void 0?["/"+Kr.filter]:void 0;if(sn({data:Kr.data,additionalKeyValues:ni,alreadyAppliedFilters:wi,objectId:Kr.objectId}),En("endobj"),"sMask"in Kr&&Kr.sMask!==void 0){var Ji="/Predictor "+Kr.predictor+" /Colors 1 /BitsPerComponent "+Kr.bitsPerComponent+" /Columns "+Kr.width,An={width:Kr.width,height:Kr.height,colorSpace:"DeviceGray",bitsPerComponent:Kr.bitsPerComponent,decodeParameters:Ji,data:Kr.sMask};"filter"in Kr&&(An.filter=Kr.filter),gn.call(this,An)}if(Kr.colorSpace===Vr.INDEXED){var Ur=this.internal.newObject();sn({data:Wn(new Uint8Array(Kr.palette)),objectId:Ur}),En("endobj")}},Ke=function(){var Kr=this.internal.collections.addImage_images;for(var En in Kr)Ge.call(this,Kr[En])},Je=function(){var Kr,En=this.internal.collections.addImage_images,sn=this.internal.write;for(var li in En)sn("/I"+(Kr=En[li]).index,Kr.objectId,"0","R")},vt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Ke),this.internal.events.subscribe("putXobjectDict",Je))},ot=function(){var Kr=this.internal.collections.addImage_images;return vt.call(this),Kr},Ut=function(){return Object.keys(this.internal.collections.addImage_images).length},br=function(Kr){return typeof Ze["process"+Kr.toUpperCase()]=="function"},Ar=function(Kr){return E()(Kr)==="object"&&Kr.nodeType===1},Or=function(Kr,En){if(Kr.nodeName==="IMG"&&Kr.hasAttribute("src")){var sn=""+Kr.getAttribute("src");if(sn.indexOf("data:image/")===0)return a(unescape(sn).split("base64,").pop());var li=Ze.loadFile(sn,!0);if(li!==void 0)return li}if(Kr.nodeName==="CANVAS"){if(Kr.width===0||Kr.height===0)throw new Error("Given canvas must have data. Canvas width: "+Kr.width+", height: "+Kr.height);var ni;switch(En){case"PNG":ni="image/png";break;case"WEBP":ni="image/webp";break;case"JPEG":case"JPG":default:ni="image/jpeg"}return a(Kr.toDataURL(ni,1).split("base64,").pop())}},zt=function(Kr){var En=this.internal.collections.addImage_images;if(En){for(var sn in En)if(Kr===En[sn].alias)return En[sn]}},un=function(Kr,En,sn){return Kr||En||(Kr=-96,En=-96),Kr<0&&(Kr=-1*sn.width*72/Kr/this.internal.scaleFactor),En<0&&(En=-1*sn.height*72/En/this.internal.scaleFactor),Kr===0&&(Kr=En*sn.width/sn.height),En===0&&(En=Kr*sn.height/sn.width),[Kr,En]},lr=function(Kr,En,sn,li,ni,yi){var Xn=un.call(this,sn,li,ni),ki=this.internal.getCoordinateString,wi=this.internal.getVerticalCoordinateString,Ji=ot.call(this);if(sn=Xn[0],li=Xn[1],Ji[ni.index]=ni,yi){yi*=Math.PI/180;var An=Math.cos(yi),Ur=Math.sin(yi),Cn=function(ti){return ti.toFixed(4)},Un=[Cn(An),Cn(Ur),Cn(-1*Ur),Cn(An),0,0,"cm"]}this.internal.write("q"),yi?(this.internal.write([1,"0","0",1,ki(Kr),wi(En+li),"cm"].join(" ")),this.internal.write(Un.join(" ")),this.internal.write([ki(sn),"0","0",ki(li),"0","0","cm"].join(" "))):this.internal.write([ki(sn),"0","0",ki(li),ki(Kr),wi(En+li),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+ni.index+" Do"),this.internal.write("Q")},Vr=Ze.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"};Ze.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=Ze.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Sr=Ze.__addimage__.sHashCode=function(gn){var Kr,En,sn=0;if(typeof gn=="string")for(En=gn.length,Kr=0;Kr<En;Kr++)sn=(sn<<5)-sn+gn.charCodeAt(Kr),sn|=0;else if(si(gn))for(En=gn.byteLength/2,Kr=0;Kr<En;Kr++)sn=(sn<<5)-sn+gn[Kr],sn|=0;return sn},xn=Ze.__addimage__.validateStringAsBase64=function(gn){(gn=gn||"").toString().trim();var Kr=!0;return gn.length===0&&(Kr=!1),gn.length%4!=0&&(Kr=!1),/^[A-Za-z0-9+/]+$/.test(gn.substr(0,gn.length-2))===!1&&(Kr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(gn.substr(-2))===!1&&(Kr=!1),Kr},Hn=Ze.__addimage__.extractImageFromDataUrl=function(gn){var Kr=(gn=gn||"").split("base64,"),En=null;if(Kr.length===2){var sn=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Kr[0]);Array.isArray(sn)&&(En={mimeType:sn[1],charset:sn[2],data:Kr[1]})}return En},ai=Ze.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Ze.__addimage__.isArrayBuffer=function(gn){return ai()&&gn instanceof ArrayBuffer};var si=Ze.__addimage__.isArrayBufferView=function(gn){return ai()&&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)},Yn=Ze.__addimage__.binaryStringToUint8Array=function(gn){for(var Kr=gn.length,En=new Uint8Array(Kr),sn=0;sn<Kr;sn++)En[sn]=gn.charCodeAt(sn);return En},Wn=Ze.__addimage__.arrayBufferToBinaryString=function(gn){for(var Kr="",En=si(gn)?gn:new Uint8Array(gn),sn=0;sn<En.length;sn+=8192)Kr+=String.fromCharCode.apply(null,En.subarray(sn,sn+8192));return Kr};Ze.addImage=function(){var gn,Kr,En,sn,li,ni,yi,Xn,ki;if(typeof arguments[1]=="number"?(Kr=xe,En=arguments[1],sn=arguments[2],li=arguments[3],ni=arguments[4],yi=arguments[5],Xn=arguments[6],ki=arguments[7]):(Kr=arguments[1],En=arguments[2],sn=arguments[3],li=arguments[4],ni=arguments[5],yi=arguments[6],Xn=arguments[7],ki=arguments[8]),E()(gn=arguments[0])==="object"&&!Ar(gn)&&"imageData"in gn){var wi=gn;gn=wi.imageData,Kr=wi.format||Kr||xe,En=wi.x||En||0,sn=wi.y||sn||0,li=wi.w||wi.width||li,ni=wi.h||wi.height||ni,yi=wi.alias||yi,Xn=wi.compression||Xn,ki=wi.rotation||wi.angle||ki}var Ji=this.internal.getFilters();if(Xn===void 0&&Ji.indexOf("FlateEncode")!==-1&&(Xn="SLOW"),isNaN(En)||isNaN(sn))throw new Error("Invalid coordinates passed to jsPDF.addImage");vt.call(this);var An=Dn.call(this,gn,Kr,yi,Xn);return lr.call(this,En,sn,li,ni,An,ki),this};var Dn=function(Kr,En,sn,li){var ni,yi,Xn;if(typeof Kr=="string"&&ke(Kr)===xe){Kr=unescape(Kr);var ki=vi(Kr,!1);(ki!==""||(ki=Ze.loadFile(Kr,!0))!==void 0)&&(Kr=ki)}if(Ar(Kr)&&(Kr=Or(Kr,En)),En=ke(Kr,En),!br(En))throw new Error("addImage does not support files of type '"+En+"', please ensure that a plugin for '"+En+"' support is added.");if(((Xn=sn)==null||Xn.length===0)&&(sn=function(wi){return typeof wi=="string"||si(wi)?Sr(wi):si(wi.data)?Sr(wi.data):null}(Kr)),(ni=zt.call(this,sn))||(ai()&&(Kr instanceof Uint8Array||En==="RGBA"||(yi=Kr,Kr=Yn(Kr))),ni=this["process"+En.toUpperCase()](Kr,Ut.call(this),sn,function(wi){return wi&&typeof wi=="string"&&(wi=wi.toUpperCase()),wi in Ze.image_compression?wi:Br.NONE}(li),yi)),!ni)throw new Error("An unknown error occurred whilst processing the image.");return ni},vi=Ze.__addimage__.convertBase64ToBinaryString=function(gn,Kr){var En;Kr=typeof Kr!="boolean"||Kr;var sn,li="";if(typeof gn=="string"){sn=(En=Hn(gn))!==null?En.data:gn;try{li=a(sn)}catch(ni){if(Kr)throw xn(sn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ni.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return li};Ze.getImageProperties=function(gn){var Kr,En,sn="";if(Ar(gn)&&(gn=Or(gn)),typeof gn=="string"&&ke(gn)===xe&&((sn=vi(gn,!1))===""&&(sn=Ze.loadFile(gn)||""),gn=sn),En=ke(gn),!br(En))throw new Error("addImage does not support files of type '"+En+"', please ensure that a plugin for '"+En+"' support is added.");if(!ai()||gn instanceof Uint8Array||(gn=Yn(gn)),!(Kr=this["process"+En.toUpperCase()](gn)))throw new Error("An unknown error occurred whilst processing the image");return Kr.fileType=En,Kr}}(K.API),function(Ze){var xe=function(ke){if(ke!==void 0&&ke!="")return!0};K.API.events.push(["addPage",function(Me){this.internal.getPageInfo(Me.pageNumber).pageContext.annotations=[]}]),Ze.events.push(["putPage",function(Me){for(var ke,Ge,Ke,Je=this.internal.getCoordinateString,vt=this.internal.getVerticalCoordinateString,ot=this.internal.getPageInfoByObjId(Me.objId),Ut=Me.pageContext.annotations,br=!1,Ar=0;Ar<Ut.length&&!br;Ar++)switch((ke=Ut[Ar]).type){case"link":(xe(ke.options.url)||xe(ke.options.pageNumber))&&(br=!0);break;case"reference":case"text":case"freetext":br=!0}if(br!=0){this.internal.write("/Annots [");for(var Or=0;Or<Ut.length;Or++){ke=Ut[Or];var zt=this.internal.pdfEscape,un=this.internal.getEncryptor(Me.objId);switch(ke.type){case"reference":this.internal.write(" "+ke.object.objId+" 0 R ");break;case"text":var lr=this.internal.newAdditionalObject(),Vr=this.internal.newAdditionalObject(),Br=this.internal.getEncryptor(lr.objId),Sr=ke.title||"Note";Ke="<</Type /Annot /Subtype /Text "+(Ge="/Rect ["+Je(ke.bounds.x)+" "+vt(ke.bounds.y+ke.bounds.h)+" "+Je(ke.bounds.x+ke.bounds.w)+" "+vt(ke.bounds.y)+"] ")+"/Contents ("+zt(Br(ke.contents))+")",Ke+=" /Popup "+Vr.objId+" 0 R",Ke+=" /P "+ot.objId+" 0 R",Ke+=" /T ("+zt(Br(Sr))+") >>",lr.content=Ke;var xn=lr.objId+" 0 R";Ke="<</Type /Annot /Subtype /Popup "+(Ge="/Rect ["+Je(ke.bounds.x+30)+" "+vt(ke.bounds.y+ke.bounds.h)+" "+Je(ke.bounds.x+ke.bounds.w+30)+" "+vt(ke.bounds.y)+"] ")+" /Parent "+xn,ke.open&&(Ke+=" /Open true"),Ke+=" >>",Vr.content=Ke,this.internal.write(lr.objId,"0 R",Vr.objId,"0 R");break;case"freetext":Ge="/Rect ["+Je(ke.bounds.x)+" "+vt(ke.bounds.y)+" "+Je(ke.bounds.x+ke.bounds.w)+" "+vt(ke.bounds.y+ke.bounds.h)+"] ";var Hn=ke.color||"#000000";Ke="<</Type /Annot /Subtype /FreeText "+Ge+"/Contents ("+zt(un(ke.contents))+")",Ke+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Hn+")",Ke+=" /Border [0 0 0]",Ke+=" >>",this.internal.write(Ke);break;case"link":if(ke.options.name){var ai=this.annotations._nameMap[ke.options.name];ke.options.pageNumber=ai.page,ke.options.top=ai.y}else ke.options.top||(ke.options.top=0);if(Ge="/Rect ["+ke.finalBounds.x+" "+ke.finalBounds.y+" "+ke.finalBounds.w+" "+ke.finalBounds.h+"] ",Ke="",ke.options.url)Ke="<</Type /Annot /Subtype /Link "+Ge+"/Border [0 0 0] /A <</S /URI /URI ("+zt(un(ke.options.url))+") >>";else if(ke.options.pageNumber)switch(Ke="<</Type /Annot /Subtype /Link "+Ge+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(ke.options.pageNumber).objId+" 0 R",ke.options.magFactor=ke.options.magFactor||"XYZ",ke.options.magFactor){case"Fit":Ke+=" /Fit]";break;case"FitH":Ke+=" /FitH "+ke.options.top+"]";break;case"FitV":ke.options.left=ke.options.left||0,Ke+=" /FitV "+ke.options.left+"]";break;case"XYZ":default:var si=vt(ke.options.top);ke.options.left=ke.options.left||0,ke.options.zoom===void 0&&(ke.options.zoom=0),Ke+=" /XYZ "+ke.options.left+" "+si+" "+ke.options.zoom+"]"}Ke!=""&&(Ke+=" >>",this.internal.write(Ke))}}this.internal.write("]")}}]),Ze.createAnnotation=function(Me){var ke=this.internal.getCurrentPageInfo();switch(Me.type){case"link":this.link(Me.bounds.x,Me.bounds.y,Me.bounds.w,Me.bounds.h,Me);break;case"text":case"freetext":ke.pageContext.annotations.push(Me)}},Ze.link=function(Me,ke,Ge,Ke,Je){var vt=this.internal.getCurrentPageInfo(),ot=this.internal.getCoordinateString,Ut=this.internal.getVerticalCoordinateString;vt.pageContext.annotations.push({finalBounds:{x:ot(Me),y:Ut(ke),w:ot(Me+Ge),h:Ut(ke+Ke)},options:Je,type:"link"})},Ze.textWithLink=function(Me,ke,Ge,Ke){var Je=this.getTextWidth(Me),vt=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(Me,ke,Ge,Ke),Ge+=.2*vt,Ke.align==="center"&&(ke-=Je/2),Ke.align==="right"&&(ke-=Je),this.link(ke,Ge-vt,Je,vt,Ke),Je},Ze.getTextWidth=function(Me){var ke=this.internal.getFontSize();return this.getStringUnitWidth(Me)*ke/this.internal.scaleFactor}}(K.API),function(Ze){var xe={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]},Me={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}},ke={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ge=[1570,1571,1573,1575];Ze.__arabicParser__={};var Ke=Ze.__arabicParser__.isInArabicSubstitutionA=function(lr){return xe[lr.charCodeAt(0)]!==void 0},Je=Ze.__arabicParser__.isArabicLetter=function(lr){return typeof lr=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(lr)},vt=Ze.__arabicParser__.isArabicEndLetter=function(lr){return Je(lr)&&Ke(lr)&&xe[lr.charCodeAt(0)].length<=2},ot=Ze.__arabicParser__.isArabicAlfLetter=function(lr){return Je(lr)&&Ge.indexOf(lr.charCodeAt(0))>=0};Ze.__arabicParser__.arabicLetterHasIsolatedForm=function(lr){return Je(lr)&&Ke(lr)&&xe[lr.charCodeAt(0)].length>=1};var Ut=Ze.__arabicParser__.arabicLetterHasFinalForm=function(lr){return Je(lr)&&Ke(lr)&&xe[lr.charCodeAt(0)].length>=2};Ze.__arabicParser__.arabicLetterHasInitialForm=function(lr){return Je(lr)&&Ke(lr)&&xe[lr.charCodeAt(0)].length>=3};var br=Ze.__arabicParser__.arabicLetterHasMedialForm=function(lr){return Je(lr)&&Ke(lr)&&xe[lr.charCodeAt(0)].length==4},Ar=Ze.__arabicParser__.resolveLigatures=function(lr){var Vr=0,Br=Me,Sr="",xn=0;for(Vr=0;Vr<lr.length;Vr+=1)Br[lr.charCodeAt(Vr)]!==void 0?(xn++,typeof(Br=Br[lr.charCodeAt(Vr)])=="number"&&(Sr+=String.fromCharCode(Br),Br=Me,xn=0),Vr===lr.length-1&&(Br=Me,Sr+=lr.charAt(Vr-(xn-1)),Vr-=xn-1,xn=0)):(Br=Me,Sr+=lr.charAt(Vr-xn),Vr-=xn,xn=0);return Sr};Ze.__arabicParser__.isArabicDiacritic=function(lr){return lr!==void 0&&ke[lr.charCodeAt(0)]!==void 0};var Or=Ze.__arabicParser__.getCorrectForm=function(lr,Vr,Br){return Je(lr)?Ke(lr)===!1?-1:!Ut(lr)||!Je(Vr)&&!Je(Br)||!Je(Br)&&vt(Vr)||vt(lr)&&!Je(Vr)||vt(lr)&&ot(Vr)||vt(lr)&&vt(Vr)?0:br(lr)&&Je(Vr)&&!vt(Vr)&&Je(Br)&&Ut(Br)?3:vt(lr)||!Je(Br)?1:2:-1},zt=function(Vr){var Br=0,Sr=0,xn=0,Hn="",ai="",si="",Yn=(Vr=Vr||"").split("\\s+"),Wn=[];for(Br=0;Br<Yn.length;Br+=1){for(Wn.push(""),Sr=0;Sr<Yn[Br].length;Sr+=1)Hn=Yn[Br][Sr],ai=Yn[Br][Sr-1],si=Yn[Br][Sr+1],Je(Hn)?(xn=Or(Hn,ai,si),Wn[Br]+=xn!==-1?String.fromCharCode(xe[Hn.charCodeAt(0)][xn]):Hn):Wn[Br]+=Hn;Wn[Br]=Ar(Wn[Br])}return Wn.join(" ")},un=Ze.__arabicParser__.processArabic=Ze.processArabic=function(){var lr,Vr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,Br=[];if(Array.isArray(Vr)){var Sr=0;for(Br=[],Sr=0;Sr<Vr.length;Sr+=1)Array.isArray(Vr[Sr])?Br.push([zt(Vr[Sr][0]),Vr[Sr][1],Vr[Sr][2]]):Br.push([zt(Vr[Sr])]);lr=Br}else lr=zt(Vr);return typeof arguments[0]=="string"?lr:(arguments[0].text=lr,arguments[0])};Ze.events.push(["preProcessText",un])}(K.API),K.API.autoPrint=function(Ze){var xe;switch((Ze=Ze||{}).variant=Ze.variant||"non-conform",Ze.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){xe=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 "+xe+" 0 R")})}return this},function(Ze){var xe=function(){var ke=void 0;Object.defineProperty(this,"pdf",{get:function(){return ke},set:function(Ut){ke=Ut}});var Ge=150;Object.defineProperty(this,"width",{get:function(){return Ge},set:function(Ut){Ge=isNaN(Ut)||Number.isInteger(Ut)===!1||Ut<0?150:Ut,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ge+1)}});var Ke=300;Object.defineProperty(this,"height",{get:function(){return Ke},set:function(Ut){Ke=isNaN(Ut)||Number.isInteger(Ut)===!1||Ut<0?300:Ut,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Ke+1)}});var Je=[];Object.defineProperty(this,"childNodes",{get:function(){return Je},set:function(Ut){Je=Ut}});var vt={};Object.defineProperty(this,"style",{get:function(){return vt},set:function(Ut){vt=Ut}}),Object.defineProperty(this,"parentNode",{})};xe.prototype.getContext=function(Me,ke){var Ge;if((Me=Me||"2d")!=="2d")return null;for(Ge in ke)this.pdf.context2d.hasOwnProperty(Ge)&&(this.pdf.context2d[Ge]=ke[Ge]);return this.pdf.context2d._canvas=this,this.pdf.context2d},xe.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Ze.events.push(["initialized",function(){this.canvas=new xe,this.canvas.pdf=this}])}(K.API),function(Ze){var xe={left:0,top:0,bottom:0,right:0},Me=!1,ke=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({},xe),this.internal.__cell__.margins.width=this.getPageWidth(),Ge.call(this))},Ge=function(){this.internal.__cell__.lastCell=new Ke,this.internal.__cell__.pages=1},Ke=function(){var Ut=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ut},set:function(Br){Ut=Br}});var br=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return br},set:function(Br){br=Br}});var Ar=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ar},set:function(Br){Ar=Br}});var Or=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Or},set:function(Br){Or=Br}});var zt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return zt},set:function(Br){zt=Br}});var un=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return un},set:function(Br){un=Br}});var lr=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return lr},set:function(Br){lr=Br}}),this};Ke.prototype.clone=function(){return new Ke(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Ke.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Ze.setHeaderFunction=function(ot){return ke.call(this),this.internal.__cell__.headerFunction=typeof ot=="function"?ot:void 0,this},Ze.getTextDimensions=function(ot,Ut){ke.call(this);var br=(Ut=Ut||{}).fontSize||this.getFontSize(),Ar=Ut.font||this.getFont(),Or=Ut.scaleFactor||this.internal.scaleFactor,zt=0,un=0,lr=0,Vr=this;if(!Array.isArray(ot)&&typeof ot!="string"){if(typeof ot!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ot=String(ot)}var Br=Ut.maxWidth;Br>0?typeof ot=="string"?ot=this.splitTextToSize(ot,Br):Object.prototype.toString.call(ot)==="[object Array]"&&(ot=ot.reduce(function(xn,Hn){return xn.concat(Vr.splitTextToSize(Hn,Br))},[])):ot=Array.isArray(ot)?ot:[ot];for(var Sr=0;Sr<ot.length;Sr++)zt<(lr=this.getStringUnitWidth(ot[Sr],{font:Ar})*br)&&(zt=lr);return zt!==0&&(un=ot.length),{w:zt/=Or,h:Math.max((un*br*this.getLineHeightFactor()-br*(this.getLineHeightFactor()-1))/Or,0)}},Ze.cellAddPage=function(){ke.call(this),this.addPage();var ot=this.internal.__cell__.margins||xe;return this.internal.__cell__.lastCell=new Ke(ot.left,ot.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Je=Ze.cell=function(){var ot;ot=arguments[0]instanceof Ke?arguments[0]:new Ke(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),ke.call(this);var Ut=this.internal.__cell__.lastCell,br=this.internal.__cell__.padding,Ar=this.internal.__cell__.margins||xe,Or=this.internal.__cell__.tableHeaderRow,zt=this.internal.__cell__.printHeaders;return Ut.lineNumber!==void 0&&(Ut.lineNumber===ot.lineNumber?(ot.x=(Ut.x||0)+(Ut.width||0),ot.y=Ut.y||0):Ut.y+Ut.height+ot.height+Ar.bottom>this.getPageHeight()?(this.cellAddPage(),ot.y=Ar.top,zt&&Or&&(this.printHeaderRow(ot.lineNumber,!0),ot.y+=Or[0].height)):ot.y=Ut.y+Ut.height||ot.y),ot.text[0]!==void 0&&(this.rect(ot.x,ot.y,ot.width,ot.height,Me===!0?"FD":void 0),ot.align==="right"?this.text(ot.text,ot.x+ot.width-br,ot.y+br,{align:"right",baseline:"top"}):ot.align==="center"?this.text(ot.text,ot.x+ot.width/2,ot.y+br,{align:"center",baseline:"top",maxWidth:ot.width-br-br}):this.text(ot.text,ot.x+br,ot.y+br,{align:"left",baseline:"top",maxWidth:ot.width-br-br})),this.internal.__cell__.lastCell=ot,this};Ze.table=function(ot,Ut,br,Ar,Or){if(ke.call(this),!br)throw new Error("No data for PDF table.");var zt,un,lr,Vr,Br=[],Sr=[],xn=[],Hn={},ai={},si=[],Yn=[],Wn=(Or=Or||{}).autoSize||!1,Dn=Or.printHeaders!==!1,vi=Or.css&&Or.css["font-size"]!==void 0?16*Or.css["font-size"]:Or.fontSize||12,gn=Or.margins||Object.assign({width:this.getPageWidth()},xe),Kr=typeof Or.padding=="number"?Or.padding:3,En=Or.headerBackgroundColor||"#c8c8c8",sn=Or.headerTextColor||"#000";if(Ge.call(this),this.internal.__cell__.printHeaders=Dn,this.internal.__cell__.margins=gn,this.internal.__cell__.table_font_size=vi,this.internal.__cell__.padding=Kr,this.internal.__cell__.headerBackgroundColor=En,this.internal.__cell__.headerTextColor=sn,this.setFontSize(vi),Ar==null)Sr=Br=Object.keys(br[0]),xn=Br.map(function(){return"left"});else if(Array.isArray(Ar)&&E()(Ar[0])==="object")for(Br=Ar.map(function(wi){return wi.name}),Sr=Ar.map(function(wi){return wi.prompt||wi.name||""}),xn=Ar.map(function(wi){return wi.align||"left"}),zt=0;zt<Ar.length;zt+=1)ai[Ar[zt].name]=Ar[zt].width*(19.049976/25.4);else Array.isArray(Ar)&&typeof Ar[0]=="string"&&(Sr=Br=Ar,xn=Br.map(function(){return"left"}));if(Wn||Array.isArray(Ar)&&typeof Ar[0]=="string")for(zt=0;zt<Br.length;zt+=1){for(Hn[Vr=Br[zt]]=br.map(function(wi){return wi[Vr]}),this.setFont(void 0,"bold"),si.push(this.getTextDimensions(Sr[zt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),un=Hn[Vr],this.setFont(void 0,"normal"),lr=0;lr<un.length;lr+=1)si.push(this.getTextDimensions(un[lr],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ai[Vr]=Math.max.apply(null,si)+Kr+Kr,si=[]}if(Dn){var li={};for(zt=0;zt<Br.length;zt+=1)li[Br[zt]]={},li[Br[zt]].text=Sr[zt],li[Br[zt]].align=xn[zt];var ni=vt.call(this,li,ai);Yn=Br.map(function(wi){return new Ke(ot,Ut,ai[wi],ni,li[wi].text,void 0,li[wi].align)}),this.setTableHeaderRow(Yn),this.printHeaderRow(1,!1)}var yi=Ar.reduce(function(wi,Ji){return wi[Ji.name]=Ji.align,wi},{});for(zt=0;zt<br.length;zt+=1){"rowStart"in Or&&Or.rowStart instanceof Function&&Or.rowStart({row:zt,data:br[zt]},this);var Xn=vt.call(this,br[zt],ai);for(lr=0;lr<Br.length;lr+=1){var ki=br[zt][Br[lr]];"cellStart"in Or&&Or.cellStart instanceof Function&&Or.cellStart({row:zt,col:lr,data:ki},this),Je.call(this,new Ke(ot,Ut,ai[Br[lr]],Xn,ki,zt+2,yi[Br[lr]]))}}return this.internal.__cell__.table_x=ot,this.internal.__cell__.table_y=Ut,this};var vt=function(Ut,br){var Ar=this.internal.__cell__.padding,Or=this.internal.__cell__.table_font_size,zt=this.internal.scaleFactor;return Object.keys(Ut).map(function(un){var lr=Ut[un];return this.splitTextToSize(lr.hasOwnProperty("text")?lr.text:lr,br[un]-Ar-Ar)},this).map(function(un){return this.getLineHeightFactor()*un.length*Or/zt+Ar+Ar},this).reduce(function(un,lr){return Math.max(un,lr)},0)};Ze.setTableHeaderRow=function(ot){ke.call(this),this.internal.__cell__.tableHeaderRow=ot},Ze.printHeaderRow=function(ot,Ut){if(ke.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var br;if(Me=!0,typeof this.internal.__cell__.headerFunction=="function"){var Ar=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Ke(Ar[0],Ar[1],Ar[2],Ar[3],void 0,-1)}this.setFont(void 0,"bold");for(var Or=[],zt=0;zt<this.internal.__cell__.tableHeaderRow.length;zt+=1){br=this.internal.__cell__.tableHeaderRow[zt].clone(),Ut&&(br.y=this.internal.__cell__.margins.top||0,Or.push(br)),br.lineNumber=ot;var un=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Je.call(this,br),this.setTextColor(un)}Or.length>0&&this.setTableHeaderRow(Or),this.setFont(void 0,"normal"),Me=!1}}(K.API);var kt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},nr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],lt=he(nr),Xt=[100,200,300,400,500,600,700,800,900],hr=he(Xt);function Wr(Ze){var xe=Ze.family.replace(/"|'/g,"").toLowerCase(),Me=function(Ke){return kt[Ke=Ke||"normal"]?Ke:"normal"}(Ze.style),ke=function(Ke){if(!Ke)return 400;if(typeof Ke=="number")return Ke>=100&&Ke<=900&&Ke%100==0?Ke:400;if(/^\d00$/.test(Ke))return parseInt(Ke);switch(Ke){case"bold":return 700;case"normal":default:return 400}}(Ze.weight),Ge=function(Ke){return typeof lt[Ke=Ke||"normal"]=="number"?Ke:"normal"}(Ze.stretch);return{family:xe,style:Me,weight:ke,stretch:Ge,src:Ze.src||[],ref:Ze.ref||{name:xe,style:[Ge,Me,ke].join(" ")}}}function mt(Ze,xe,Me,ke){var Ge;for(Ge=Me;Ge>=0&&Ge<xe.length;Ge+=ke)if(Ze[xe[Ge]])return Ze[xe[Ge]];for(Ge=Me;Ge>=0&&Ge<xe.length;Ge-=ke)if(Ze[xe[Ge]])return Ze[xe[Ge]]}var Et={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},rt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function He(Ze){return[Ze.stretch,Ze.style,Ze.weight,Ze.family].join(" ")}function ze(Ze,xe,Me){for(var ke=(Me=Me||{}).defaultFontFamily||"times",Ge=Object.assign({},Et,Me.genericFontFamilies||{}),Ke=null,Je=null,vt=0;vt<xe.length;++vt)if(Ge[(Ke=Wr(xe[vt])).family]&&(Ke.family=Ge[Ke.family]),Ze.hasOwnProperty(Ke.family)){Je=Ze[Ke.family];break}if(!(Je=Je||Ze[ke]))throw new Error("Could not find a font-family for the rule '"+He(Ke)+"' and default family '"+ke+"'.");if(Je=function(ot,Ut){if(Ut[ot])return Ut[ot];var br=lt[ot],Ar=br<=lt.normal?-1:1,Or=mt(Ut,nr,br,Ar);if(!Or)throw new Error("Could not find a matching font-stretch value for "+ot);return Or}(Ke.stretch,Je),Je=function(ot,Ut){if(Ut[ot])return Ut[ot];for(var br=kt[ot],Ar=0;Ar<br.length;++Ar)if(Ut[br[Ar]])return Ut[br[Ar]];throw new Error("Could not find a matching font-style for "+ot)}(Ke.style,Je),!(Je=function(ot,Ut){if(Ut[ot])return Ut[ot];if(ot===400&&Ut[500])return Ut[500];if(ot===500&&Ut[400])return Ut[400];var br=hr[ot],Ar=mt(Ut,Xt,br,ot<400?-1:1);if(!Ar)throw new Error("Could not find a matching font-weight for value "+ot);return Ar}(Ke.weight,Je)))throw new Error("Failed to resolve a font for the rule '"+He(Ke)+"'.");return Je}function Rt(Ze){return Ze.trimLeft()}function sr(Ze,xe){for(var Me=0;Me<Ze.length;){if(Ze.charAt(Me)===xe)return[Ze.substring(0,Me),Ze.substring(Me+1)];Me+=1}return null}function Jt(Ze){var xe=Ze.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return xe===null?null:[xe[0],Ze.substring(xe[0].length)]}var qt,qr,Fr,mn=["times"];!function(Ze){var xe,Me,ke,Ge,Ke,Je,vt,ot,Ut,br=function(Ur){return Ur=Ur||{},this.isStrokeTransparent=Ur.isStrokeTransparent||!1,this.strokeOpacity=Ur.strokeOpacity||1,this.strokeStyle=Ur.strokeStyle||"#000000",this.fillStyle=Ur.fillStyle||"#000000",this.isFillTransparent=Ur.isFillTransparent||!1,this.fillOpacity=Ur.fillOpacity||1,this.font=Ur.font||"10px sans-serif",this.textBaseline=Ur.textBaseline||"alphabetic",this.textAlign=Ur.textAlign||"left",this.lineWidth=Ur.lineWidth||1,this.lineJoin=Ur.lineJoin||"miter",this.lineCap=Ur.lineCap||"butt",this.path=Ur.path||[],this.transform=Ur.transform!==void 0?Ur.transform.clone():new ot,this.globalCompositeOperation=Ur.globalCompositeOperation||"normal",this.globalAlpha=Ur.globalAlpha||1,this.clip_path=Ur.clip_path||[],this.currentPoint=Ur.currentPoint||new Je,this.miterLimit=Ur.miterLimit||10,this.lastPoint=Ur.lastPoint||new Je,this.lineDashOffset=Ur.lineDashOffset||0,this.lineDash=Ur.lineDash||[],this.margin=Ur.margin||[0,0,0,0],this.prevPageLastElemOffset=Ur.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Ur.ignoreClearRect!="boolean"||Ur.ignoreClearRect,this};Ze.events.push(["initialized",function(){this.context2d=new Ar(this),xe=this.internal.f2,Me=this.internal.getCoordinateString,ke=this.internal.getVerticalCoordinateString,Ge=this.internal.getHorizontalCoordinate,Ke=this.internal.getVerticalCoordinate,Je=this.internal.Point,vt=this.internal.Rectangle,ot=this.internal.Matrix,Ut=new br}]);var Ar=function(Ur){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Cn=Ur;Object.defineProperty(this,"pdf",{get:function(){return Cn}});var Un=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Un},set:function(Ni){Un=Boolean(Ni)}});var Zn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Zn},set:function(Ni){Zn=Boolean(Ni)}});var ti=0;Object.defineProperty(this,"posX",{get:function(){return ti},set:function(Ni){isNaN(Ni)||(ti=Ni)}});var hi=0;Object.defineProperty(this,"posY",{get:function(){return hi},set:function(Ni){isNaN(Ni)||(hi=Ni)}}),Object.defineProperty(this,"margin",{get:function(){return Ut.margin},set:function(Ni){var Gi;typeof Ni=="number"?Gi=[Ni,Ni,Ni,Ni]:((Gi=new Array(4))[0]=Ni[0],Gi[1]=Ni.length>=2?Ni[1]:Gi[0],Gi[2]=Ni.length>=3?Ni[2]:Gi[0],Gi[3]=Ni.length>=4?Ni[3]:Gi[1]),Ut.margin=Gi}});var pi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return pi},set:function(Ni){pi=Ni}});var mi=0;Object.defineProperty(this,"lastBreak",{get:function(){return mi},set:function(Ni){mi=Ni}});var Hi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Hi},set:function(Ni){Hi=Ni}}),Object.defineProperty(this,"ctx",{get:function(){return Ut},set:function(Ni){Ni instanceof br&&(Ut=Ni)}}),Object.defineProperty(this,"path",{get:function(){return Ut.path},set:function(Ni){Ut.path=Ni}});var ra=[];Object.defineProperty(this,"ctxStack",{get:function(){return ra},set:function(Ni){ra=Ni}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ni){var Gi;Gi=Or(Ni),this.ctx.fillStyle=Gi.style,this.ctx.isFillTransparent=Gi.a===0,this.ctx.fillOpacity=Gi.a,this.pdf.setFillColor(Gi.r,Gi.g,Gi.b,{a:Gi.a}),this.pdf.setTextColor(Gi.r,Gi.g,Gi.b,{a:Gi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ni){var Gi=Or(Ni);this.ctx.strokeStyle=Gi.style,this.ctx.isStrokeTransparent=Gi.a===0,this.ctx.strokeOpacity=Gi.a,Gi.a===0?this.pdf.setDrawColor(255,255,255):(Gi.a,this.pdf.setDrawColor(Gi.r,Gi.g,Gi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ni){["butt","round","square"].indexOf(Ni)!==-1&&(this.ctx.lineCap=Ni,this.pdf.setLineCap(Ni))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ni){isNaN(Ni)||(this.ctx.lineWidth=Ni,this.pdf.setLineWidth(Ni))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ni){["bevel","round","miter"].indexOf(Ni)!==-1&&(this.ctx.lineJoin=Ni,this.pdf.setLineJoin(Ni))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ni){isNaN(Ni)||(this.ctx.miterLimit=Ni,this.pdf.setMiterLimit(Ni))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ni){this.ctx.textBaseline=Ni}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ni){["right","end","center","left","start"].indexOf(Ni)!==-1&&(this.ctx.textAlign=Ni)}});var $i=null;function ro(cn,Ni){if($i===null){var Gi=function(Ki){var ia=[];return Object.keys(Ki).forEach(function(Kt){Ki[Kt].forEach(function(Zr){var rn=null;switch(Zr){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:Zr},ia.push(rn))})}),ia}(cn.getFontList());$i=function(Ki){for(var ia={},Kt=0;Kt<Ki.length;++Kt){var Zr=Wr(Ki[Kt]),rn=Zr.family,pn=Zr.stretch,Qe=Zr.style,Dt=Zr.weight;ia[rn]=ia[rn]||{},ia[rn][pn]=ia[rn][pn]||{},ia[rn][pn][Qe]=ia[rn][pn][Qe]||{},ia[rn][pn][Qe][Dt]=Zr}return ia}(Gi.concat(Ni))}return $i}var di=null;Object.defineProperty(this,"fontFaces",{get:function(){return di},set:function(Ni){$i=null,di=Ni}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ni){var Gi;if(this.ctx.font=Ni,(Gi=/^\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(Ni))!==null){var Ki=Gi[1],ia=(Gi[2],Gi[3]),Kt=Gi[4],Zr=(Gi[5],Gi[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 pn=function(Hr){var an,wn,In=[],Rn=Hr.trim();if(Rn==="")return mn;if(Rn in rt)return[rt[Rn]];for(;Rn!=="";){switch(wn=null,an=(Rn=Rt(Rn)).charAt(0)){case'"':case"'":wn=sr(Rn.substring(1),an);break;default:wn=Jt(Rn)}if(wn===null)return mn;if(In.push(wn[0]),(Rn=Rt(wn[1]))!==""&&Rn.charAt(0)!==",")return mn;Rn=Rn.replace(/^,/,"")}return In}(Zr);if(this.fontFaces){var Qe=ze(ro(this.pdf,this.fontFaces),pn.map(function(Hr){return{family:Hr,stretch:"normal",weight:ia,style:Ki}}));this.pdf.setFont(Qe.ref.name,Qe.ref.style)}else{var Dt="";(ia==="bold"||parseInt(ia,10)>=700||Ki==="bold")&&(Dt="bold"),Ki==="italic"&&(Dt+="italic"),Dt.length===0&&(Dt="normal");for(var ur="",ar={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<pn.length;Lr++){if(this.pdf.internal.getFont(pn[Lr],Dt,{noFallback:!0,disableWarning:!0})!==void 0){ur=pn[Lr];break}if(Dt==="bolditalic"&&this.pdf.internal.getFont(pn[Lr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)ur=pn[Lr],Dt="bold";else if(this.pdf.internal.getFont(pn[Lr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){ur=pn[Lr],Dt="normal";break}}if(ur===""){for(var Rr=0;Rr<pn.length;Rr++)if(ar[pn[Rr]]){ur=ar[pn[Rr]];break}}ur=ur===""?"Times":ur,this.pdf.setFont(ur,Dt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Ni){this.ctx.globalCompositeOperation=Ni}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Ni){this.ctx.globalAlpha=Ni}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Ni){this.ctx.lineDashOffset=Ni,Ji.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Ni){this.ctx.lineDash=Ni,Ji.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Ni){this.ctx.ignoreClearRect=Boolean(Ni)}})};Ar.prototype.setLineDash=function(An){this.lineDash=An},Ar.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Ar.prototype.fill=function(){Hn.call(this,"fill",!1)},Ar.prototype.stroke=function(){Hn.call(this,"stroke",!1)},Ar.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ar.prototype.moveTo=function(An,Ur){if(isNaN(An)||isNaN(Ur))throw d.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Cn=this.ctx.transform.applyToPoint(new Je(An,Ur));this.path.push({type:"mt",x:Cn.x,y:Cn.y}),this.ctx.lastPoint=new Je(An,Ur)},Ar.prototype.closePath=function(){var An=new Je(0,0),Ur=0;for(Ur=this.path.length-1;Ur!==-1;Ur--)if(this.path[Ur].type==="begin"&&E()(this.path[Ur+1])==="object"&&typeof this.path[Ur+1].x=="number"){An=new Je(this.path[Ur+1].x,this.path[Ur+1].y),this.path.push({type:"lt",x:An.x,y:An.y});break}E()(this.path[Ur+2])==="object"&&typeof this.path[Ur+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[Ur+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new Je(An.x,An.y)},Ar.prototype.lineTo=function(An,Ur){if(isNaN(An)||isNaN(Ur))throw d.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Cn=this.ctx.transform.applyToPoint(new Je(An,Ur));this.path.push({type:"lt",x:Cn.x,y:Cn.y}),this.ctx.lastPoint=new Je(Cn.x,Cn.y)},Ar.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Hn.call(this,null,!0)},Ar.prototype.quadraticCurveTo=function(An,Ur,Cn,Un){if(isNaN(Cn)||isNaN(Un)||isNaN(An)||isNaN(Ur))throw d.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Zn=this.ctx.transform.applyToPoint(new Je(Cn,Un)),ti=this.ctx.transform.applyToPoint(new Je(An,Ur));this.path.push({type:"qct",x1:ti.x,y1:ti.y,x:Zn.x,y:Zn.y}),this.ctx.lastPoint=new Je(Zn.x,Zn.y)},Ar.prototype.bezierCurveTo=function(An,Ur,Cn,Un,Zn,ti){if(isNaN(Zn)||isNaN(ti)||isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un))throw d.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var hi=this.ctx.transform.applyToPoint(new Je(Zn,ti)),pi=this.ctx.transform.applyToPoint(new Je(An,Ur)),mi=this.ctx.transform.applyToPoint(new Je(Cn,Un));this.path.push({type:"bct",x1:pi.x,y1:pi.y,x2:mi.x,y2:mi.y,x:hi.x,y:hi.y}),this.ctx.lastPoint=new Je(hi.x,hi.y)},Ar.prototype.arc=function(An,Ur,Cn,Un,Zn,ti){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un)||isNaN(Zn))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 hi=this.ctx.transform.applyToPoint(new Je(An,Ur));An=hi.x,Ur=hi.y;var pi=this.ctx.transform.applyToPoint(new Je(0,Cn)),mi=this.ctx.transform.applyToPoint(new Je(0,0));Cn=Math.sqrt(Math.pow(pi.x-mi.x,2)+Math.pow(pi.y-mi.y,2))}Math.abs(Zn-Un)>=2*Math.PI&&(Un=0,Zn=2*Math.PI),this.path.push({type:"arc",x:An,y:Ur,radius:Cn,startAngle:Un,endAngle:Zn,counterclockwise:ti})},Ar.prototype.arcTo=function(An,Ur,Cn,Un,Zn){throw new Error("arcTo not implemented.")},Ar.prototype.rect=function(An,Ur,Cn,Un){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un))throw d.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(An,Ur),this.lineTo(An+Cn,Ur),this.lineTo(An+Cn,Ur+Un),this.lineTo(An,Ur+Un),this.lineTo(An,Ur),this.lineTo(An+Cn,Ur),this.lineTo(An,Ur)},Ar.prototype.fillRect=function(An,Ur,Cn,Un){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un))throw d.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!zt.call(this)){var Zn={};this.lineCap!=="butt"&&(Zn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Zn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(An,Ur,Cn,Un),this.fill(),Zn.hasOwnProperty("lineCap")&&(this.lineCap=Zn.lineCap),Zn.hasOwnProperty("lineJoin")&&(this.lineJoin=Zn.lineJoin)}},Ar.prototype.strokeRect=function(An,Ur,Cn,Un){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un))throw d.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");un.call(this)||(this.beginPath(),this.rect(An,Ur,Cn,Un),this.stroke())},Ar.prototype.clearRect=function(An,Ur,Cn,Un){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un))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(An,Ur,Cn,Un))},Ar.prototype.save=function(An){An=typeof An!="boolean"||An;for(var Ur=this.pdf.internal.getCurrentPageInfo().pageNumber,Cn=0;Cn<this.pdf.internal.getNumberOfPages();Cn++)this.pdf.setPage(Cn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Ur),An){this.ctx.fontSize=this.pdf.internal.getFontSize();var Un=new br(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Un}},Ar.prototype.restore=function(An){An=typeof An!="boolean"||An;for(var Ur=this.pdf.internal.getCurrentPageInfo().pageNumber,Cn=0;Cn<this.pdf.internal.getNumberOfPages();Cn++)this.pdf.setPage(Cn+1),this.pdf.internal.out("Q");this.pdf.setPage(Ur),An&&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)},Ar.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Or=function(Ur){var Cn,Un,Zn,ti;if(Ur.isCanvasGradient===!0&&(Ur=Ur.getColor()),!Ur)return{r:0,g:0,b:0,a:0,style:Ur};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ur))Cn=0,Un=0,Zn=0,ti=0;else{var hi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ur);if(hi!==null)Cn=parseInt(hi[1]),Un=parseInt(hi[2]),Zn=parseInt(hi[3]),ti=1;else if((hi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ur))!==null)Cn=parseInt(hi[1]),Un=parseInt(hi[2]),Zn=parseInt(hi[3]),ti=parseFloat(hi[4]);else{if(ti=1,typeof Ur=="string"&&Ur.charAt(0)!=="#"){var pi=new c(Ur);Ur=pi.ok?pi.toHex():"#000000"}Ur.length===4?(Cn=Ur.substring(1,2),Cn+=Cn,Un=Ur.substring(2,3),Un+=Un,Zn=Ur.substring(3,4),Zn+=Zn):(Cn=Ur.substring(1,3),Un=Ur.substring(3,5),Zn=Ur.substring(5,7)),Cn=parseInt(Cn,16),Un=parseInt(Un,16),Zn=parseInt(Zn,16)}}return{r:Cn,g:Un,b:Zn,a:ti,style:Ur}},zt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},un=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ar.prototype.fillText=function(An,Ur,Cn,Un){if(isNaN(Ur)||isNaN(Cn)||typeof An!="string")throw d.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Un=isNaN(Un)?void 0:Un,!zt.call(this)){var Zn=Xn(this.ctx.transform.rotation),ti=this.ctx.transform.scaleX;Kr.call(this,{text:An,x:Ur,y:Cn,scale:ti,angle:Zn,align:this.textAlign,maxWidth:Un})}},Ar.prototype.strokeText=function(An,Ur,Cn,Un){if(isNaN(Ur)||isNaN(Cn)||typeof An!="string")throw d.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!un.call(this)){Un=isNaN(Un)?void 0:Un;var Zn=Xn(this.ctx.transform.rotation),ti=this.ctx.transform.scaleX;Kr.call(this,{text:An,x:Ur,y:Cn,scale:ti,renderingMode:"stroke",angle:Zn,align:this.textAlign,maxWidth:Un})}},Ar.prototype.measureText=function(An){if(typeof An!="string")throw d.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Ur=this.pdf,Cn=this.pdf.internal.scaleFactor,Un=Ur.internal.getFontSize(),Zn=Ur.getStringUnitWidth(An)*Un/Ur.internal.scaleFactor,ti=function(pi){var mi=(pi=pi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mi}}),this};return new ti({width:Zn*=Math.round(96*Cn/72*1e4)/1e4})},Ar.prototype.scale=function(An,Ur){if(isNaN(An)||isNaN(Ur))throw d.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Cn=new ot(An,0,0,Ur,0,0);this.ctx.transform=this.ctx.transform.multiply(Cn)},Ar.prototype.rotate=function(An){if(isNaN(An))throw d.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Ur=new ot(Math.cos(An),Math.sin(An),-Math.sin(An),Math.cos(An),0,0);this.ctx.transform=this.ctx.transform.multiply(Ur)},Ar.prototype.translate=function(An,Ur){if(isNaN(An)||isNaN(Ur))throw d.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Cn=new ot(1,0,0,1,An,Ur);this.ctx.transform=this.ctx.transform.multiply(Cn)},Ar.prototype.transform=function(An,Ur,Cn,Un,Zn,ti){if(isNaN(An)||isNaN(Ur)||isNaN(Cn)||isNaN(Un)||isNaN(Zn)||isNaN(ti))throw d.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var hi=new ot(An,Ur,Cn,Un,Zn,ti);this.ctx.transform=this.ctx.transform.multiply(hi)},Ar.prototype.setTransform=function(An,Ur,Cn,Un,Zn,ti){An=isNaN(An)?1:An,Ur=isNaN(Ur)?0:Ur,Cn=isNaN(Cn)?0:Cn,Un=isNaN(Un)?1:Un,Zn=isNaN(Zn)?0:Zn,ti=isNaN(ti)?0:ti,this.ctx.transform=new ot(An,Ur,Cn,Un,Zn,ti)};var lr=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ar.prototype.drawImage=function(An,Ur,Cn,Un,Zn,ti,hi,pi,mi){var Hi=this.pdf.getImageProperties(An),ra=1,$i=1,ro=1,di=1;Un!==void 0&&pi!==void 0&&(ro=pi/Un,di=mi/Zn,ra=Hi.width/Un*pi/Un,$i=Hi.height/Zn*mi/Zn),ti===void 0&&(ti=Ur,hi=Cn,Ur=0,Cn=0),Un!==void 0&&pi===void 0&&(pi=Un,mi=Zn),Un===void 0&&pi===void 0&&(pi=Hi.width,mi=Hi.height);for(var cn,Ni=this.ctx.transform.decompose(),Gi=Xn(Ni.rotate.shx),Ki=new ot,ia=(Ki=(Ki=(Ki=Ki.multiply(Ni.translate)).multiply(Ni.skew)).multiply(Ni.scale)).applyToRectangle(new vt(ti-Ur*ro,hi-Cn*di,Un*ra,Zn*$i)),Kt=Vr.call(this,ia),Zr=[],rn=0;rn<Kt.length;rn+=1)Zr.indexOf(Kt[rn])===-1&&Zr.push(Kt[rn]);if(xn(Zr),this.autoPaging)for(var pn=Zr[0],Qe=Zr[Zr.length-1],Dt=pn;Dt<Qe+1;Dt++){this.pdf.setPage(Dt);var ur=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ar=Dt===1?this.posY+this.margin[0]:this.margin[0],Lr=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Rr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Hr=Dt===1?0:Lr+(Dt-2)*Rr;if(this.ctx.clip_path.length!==0){var an=this.path;cn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sr(cn,this.posX+this.margin[3],-Hr+ar+this.ctx.prevPageLastElemOffset),ai.call(this,"fill",!0),this.path=an}var wn=JSON.parse(JSON.stringify(ia));wn=Sr([wn],this.posX+this.margin[3],-Hr+ar+this.ctx.prevPageLastElemOffset)[0];var In=(Dt>pn||Dt<Qe)&&lr.call(this);In&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ur,Rr,null).clip().discardPath()),this.pdf.addImage(An,"JPEG",wn.x,wn.y,wn.w,wn.h,null,null,Gi),In&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(An,"JPEG",ia.x,ia.y,ia.w,ia.h,null,null,Gi)};var Vr=function(Ur,Cn,Un){var Zn=[];Cn=Cn||this.pdf.internal.pageSize.width,Un=Un||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ti=this.posY+this.ctx.prevPageLastElemOffset;switch(Ur.type){default:case"mt":case"lt":Zn.push(Math.floor((Ur.y+ti)/Un)+1);break;case"arc":Zn.push(Math.floor((Ur.y+ti-Ur.radius)/Un)+1),Zn.push(Math.floor((Ur.y+ti+Ur.radius)/Un)+1);break;case"qct":var hi=ki(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ur.x1,Ur.y1,Ur.x,Ur.y);Zn.push(Math.floor((hi.y+ti)/Un)+1),Zn.push(Math.floor((hi.y+hi.h+ti)/Un)+1);break;case"bct":var pi=wi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ur.x1,Ur.y1,Ur.x2,Ur.y2,Ur.x,Ur.y);Zn.push(Math.floor((pi.y+ti)/Un)+1),Zn.push(Math.floor((pi.y+pi.h+ti)/Un)+1);break;case"rect":Zn.push(Math.floor((Ur.y+ti)/Un)+1),Zn.push(Math.floor((Ur.y+Ur.h+ti)/Un)+1)}for(var mi=0;mi<Zn.length;mi+=1)for(;this.pdf.internal.getNumberOfPages()<Zn[mi];)Br.call(this);return Zn},Br=function(){var Ur=this.fillStyle,Cn=this.strokeStyle,Un=this.font,Zn=this.lineCap,ti=this.lineWidth,hi=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ur,this.strokeStyle=Cn,this.font=Un,this.lineCap=Zn,this.lineWidth=ti,this.lineJoin=hi},Sr=function(Ur,Cn,Un){for(var Zn=0;Zn<Ur.length;Zn++)switch(Ur[Zn].type){case"bct":Ur[Zn].x2+=Cn,Ur[Zn].y2+=Un;case"qct":Ur[Zn].x1+=Cn,Ur[Zn].y1+=Un;case"mt":case"lt":case"arc":default:Ur[Zn].x+=Cn,Ur[Zn].y+=Un}return Ur},xn=function(Ur){return Ur.sort(function(Cn,Un){return Cn-Un})},Hn=function(Ur,Cn){for(var Un,Zn,ti=this.fillStyle,hi=this.strokeStyle,pi=this.lineCap,mi=this.lineWidth,Hi=Math.abs(mi*this.ctx.transform.scaleX),ra=this.lineJoin,$i=JSON.parse(JSON.stringify(this.path)),ro=JSON.parse(JSON.stringify(this.path)),di=[],cn=0;cn<ro.length;cn++)if(ro[cn].x!==void 0)for(var Ni=Vr.call(this,ro[cn]),Gi=0;Gi<Ni.length;Gi+=1)di.indexOf(Ni[Gi])===-1&&di.push(Ni[Gi]);for(var Ki=0;Ki<di.length;Ki++)for(;this.pdf.internal.getNumberOfPages()<di[Ki];)Br.call(this);if(xn(di),this.autoPaging)for(var ia=di[0],Kt=di[di.length-1],Zr=ia;Zr<Kt+1;Zr++){this.pdf.setPage(Zr),this.fillStyle=ti,this.strokeStyle=hi,this.lineCap=pi,this.lineWidth=Hi,this.lineJoin=ra;var rn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],pn=Zr===1?this.posY+this.margin[0]:this.margin[0],Qe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Dt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ur=Zr===1?0:Qe+(Zr-2)*Dt;if(this.ctx.clip_path.length!==0){var ar=this.path;Un=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sr(Un,this.posX+this.margin[3],-ur+pn+this.ctx.prevPageLastElemOffset),ai.call(this,Ur,!0),this.path=ar}if(Zn=JSON.parse(JSON.stringify($i)),this.path=Sr(Zn,this.posX+this.margin[3],-ur+pn+this.ctx.prevPageLastElemOffset),Cn===!1||Zr===0){var Lr=(Zr>ia||Zr<Kt)&&lr.call(this);Lr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],rn,Dt,null).clip().discardPath()),ai.call(this,Ur,Cn),Lr&&this.pdf.restoreGraphicsState()}this.lineWidth=mi}else this.lineWidth=Hi,ai.call(this,Ur,Cn),this.lineWidth=mi;this.path=$i},ai=function(Ur,Cn){if((Ur!=="stroke"||Cn||!un.call(this))&&(Ur==="stroke"||Cn||!zt.call(this))){for(var Un,Zn,ti=[],hi=this.path,pi=0;pi<hi.length;pi++){var mi=hi[pi];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 Hi=ti.length;if(!isNaN(hi[pi-1].x)&&(Un=[mi.x-hi[pi-1].x,mi.y-hi[pi-1].y],Hi>0)){for(;Hi>=0;Hi--)if(ti[Hi-1].close!==!0&&ti[Hi-1].begin!==!0){ti[Hi-1].deltas.push(Un),ti[Hi-1].abs.push(mi);break}}break;case"bct":Un=[mi.x1-hi[pi-1].x,mi.y1-hi[pi-1].y,mi.x2-hi[pi-1].x,mi.y2-hi[pi-1].y,mi.x-hi[pi-1].x,mi.y-hi[pi-1].y],ti[ti.length-1].deltas.push(Un);break;case"qct":var ra=hi[pi-1].x+2/3*(mi.x1-hi[pi-1].x),$i=hi[pi-1].y+2/3*(mi.y1-hi[pi-1].y),ro=mi.x+2/3*(mi.x1-mi.x),di=mi.y+2/3*(mi.y1-mi.y),cn=mi.x,Ni=mi.y;Un=[ra-hi[pi-1].x,$i-hi[pi-1].y,ro-hi[pi-1].x,di-hi[pi-1].y,cn-hi[pi-1].x,Ni-hi[pi-1].y],ti[ti.length-1].deltas.push(Un);break;case"arc":ti.push({deltas:[],abs:[],arc:!0}),Array.isArray(ti[ti.length-1].abs)&&ti[ti.length-1].abs.push(mi)}}Zn=Cn?null:Ur==="stroke"?"stroke":"fill";for(var Gi=0;Gi<ti.length;Gi++){if(ti[Gi].arc){for(var Ki=ti[Gi].abs,ia=0;ia<Ki.length;ia++){var Kt=Ki[ia];Kt.type==="arc"?Wn.call(this,Kt.x,Kt.y,Kt.radius,Kt.startAngle,Kt.endAngle,Kt.counterclockwise,void 0,Cn):En.call(this,Kt.x,Kt.y)}Dn.call(this,Zn),this.pdf.internal.out("h")}if(!ti[Gi].arc&&ti[Gi].close!==!0&&ti[Gi].begin!==!0){var Zr=ti[Gi].start.x,rn=ti[Gi].start.y;sn.call(this,ti[Gi].deltas,Zr,rn)}}Zn&&Dn.call(this,Zn),Cn&&vi.call(this)}},si=function(Ur){var Cn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Un=Cn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ur-Un;case"top":return Ur+Cn-Un;case"hanging":return Ur+Cn-2*Un;case"middle":return Ur+Cn/2-Un;case"ideographic":return Ur;case"alphabetic":default:return Ur}},Yn=function(Ur){return Ur+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Ar.prototype.createLinearGradient=function(){var An=function(){};return An.colorStops=[],An.addColorStop=function(Ur,Cn){this.colorStops.push([Ur,Cn])},An.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},An.isCanvasGradient=!0,An},Ar.prototype.createPattern=function(){return this.createLinearGradient()},Ar.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Wn=function(Ur,Cn,Un,Zn,ti,hi,pi,mi){for(var Hi=ni.call(this,Un,Zn,ti,hi),ra=0;ra<Hi.length;ra++){var $i=Hi[ra];ra===0&&gn.call(this,$i.x1+Ur,$i.y1+Cn),li.call(this,Ur,Cn,$i.x2,$i.y2,$i.x3,$i.y3,$i.x4,$i.y4)}mi?vi.call(this):Dn.call(this,pi)},Dn=function(Ur){switch(Ur){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},vi=function(){this.pdf.clip(),this.pdf.discardPath()},gn=function(Ur,Cn){this.pdf.internal.out(Me(Ur)+" "+ke(Cn)+" m")},Kr=function(Ur){var Cn;switch(Ur.align){case"right":case"end":Cn="right";break;case"center":Cn="center";break;case"left":case"start":default:Cn="left"}var Un=this.pdf.getTextDimensions(Ur.text),Zn=si.call(this,Ur.y),ti=Yn.call(this,Zn)-Un.h,hi=this.ctx.transform.applyToPoint(new Je(Ur.x,Zn)),pi=this.ctx.transform.decompose(),mi=new ot;mi=(mi=(mi=mi.multiply(pi.translate)).multiply(pi.skew)).multiply(pi.scale);for(var Hi,ra,$i,ro=this.ctx.transform.applyToRectangle(new vt(Ur.x,Zn,Un.w,Un.h)),di=mi.applyToRectangle(new vt(Ur.x,ti,Un.w,Un.h)),cn=Vr.call(this,di),Ni=[],Gi=0;Gi<cn.length;Gi+=1)Ni.indexOf(cn[Gi])===-1&&Ni.push(cn[Gi]);if(xn(Ni),this.autoPaging)for(var Ki=Ni[0],ia=Ni[Ni.length-1],Kt=Ki;Kt<ia+1;Kt++){this.pdf.setPage(Kt);var Zr=Kt===1?this.posY+this.margin[0]:this.margin[0],rn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],pn=this.pdf.internal.pageSize.height-this.margin[2],Qe=pn-this.margin[0],Dt=this.pdf.internal.pageSize.width-this.margin[1],ur=Dt-this.margin[3],ar=Kt===1?0:rn+(Kt-2)*Qe;if(this.ctx.clip_path.length!==0){var Lr=this.path;Hi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Sr(Hi,this.posX+this.margin[3],-1*ar+Zr),ai.call(this,"fill",!0),this.path=Lr}var Rr=Sr([JSON.parse(JSON.stringify(di))],this.posX+this.margin[3],-ar+Zr+this.ctx.prevPageLastElemOffset)[0];Ur.scale>=.01&&(ra=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ra*Ur.scale),$i=this.lineWidth,this.lineWidth=$i*Ur.scale);var Hr=this.autoPaging!=="text";if(Hr||Rr.y+Rr.h<=pn){if(Hr||Rr.y>=Zr&&Rr.x<=Dt){var an=Hr?Ur.text:this.pdf.splitTextToSize(Ur.text,Ur.maxWidth||Dt-Rr.x)[0],wn=Sr([JSON.parse(JSON.stringify(ro))],this.posX+this.margin[3],-ar+Zr+this.ctx.prevPageLastElemOffset)[0],In=Hr&&(Kt>Ki||Kt<ia)&&lr.call(this);In&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ur,Qe,null).clip().discardPath()),this.pdf.text(an,wn.x,wn.y,{angle:Ur.angle,align:Cn,renderingMode:Ur.renderingMode}),In&&this.pdf.restoreGraphicsState()}}else Rr.y<pn&&(this.ctx.prevPageLastElemOffset+=pn-Rr.y);Ur.scale>=.01&&(this.pdf.setFontSize(ra),this.lineWidth=$i)}else Ur.scale>=.01&&(ra=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ra*Ur.scale),$i=this.lineWidth,this.lineWidth=$i*Ur.scale),this.pdf.text(Ur.text,hi.x+this.posX,hi.y+this.posY,{angle:Ur.angle,align:Cn,renderingMode:Ur.renderingMode,maxWidth:Ur.maxWidth}),Ur.scale>=.01&&(this.pdf.setFontSize(ra),this.lineWidth=$i)},En=function(Ur,Cn,Un,Zn){Un=Un||0,Zn=Zn||0,this.pdf.internal.out(Me(Ur+Un)+" "+ke(Cn+Zn)+" l")},sn=function(Ur,Cn,Un){return this.pdf.lines(Ur,Cn,Un,null,null)},li=function(Ur,Cn,Un,Zn,ti,hi,pi,mi){this.pdf.internal.out([xe(Ge(Un+Ur)),xe(Ke(Zn+Cn)),xe(Ge(ti+Ur)),xe(Ke(hi+Cn)),xe(Ge(pi+Ur)),xe(Ke(mi+Cn)),"c"].join(" "))},ni=function(Ur,Cn,Un,Zn){for(var ti=2*Math.PI,hi=Math.PI/2;Cn>Un;)Cn-=ti;var pi=Math.abs(Un-Cn);pi<ti&&Zn&&(pi=ti-pi);for(var mi=[],Hi=Zn?-1:1,ra=Cn;pi>1e-5;){var $i=ra+Hi*Math.min(pi,hi);mi.push(yi.call(this,Ur,ra,$i)),pi-=Math.abs($i-ra),ra=$i}return mi},yi=function(Ur,Cn,Un){var Zn=(Un-Cn)/2,ti=Ur*Math.cos(Zn),hi=Ur*Math.sin(Zn),pi=ti,mi=-hi,Hi=pi*pi+mi*mi,ra=Hi+pi*ti+mi*hi,$i=4/3*(Math.sqrt(2*Hi*ra)-ra)/(pi*hi-mi*ti),ro=pi-$i*mi,di=mi+$i*pi,cn=ro,Ni=-di,Gi=Zn+Cn,Ki=Math.cos(Gi),ia=Math.sin(Gi);return{x1:Ur*Math.cos(Cn),y1:Ur*Math.sin(Cn),x2:ro*Ki-di*ia,y2:ro*ia+di*Ki,x3:cn*Ki-Ni*ia,y3:cn*ia+Ni*Ki,x4:Ur*Math.cos(Un),y4:Ur*Math.sin(Un)}},Xn=function(Ur){return 180*Ur/Math.PI},ki=function(Ur,Cn,Un,Zn,ti,hi){var pi=Ur+.5*(Un-Ur),mi=Cn+.5*(Zn-Cn),Hi=ti+.5*(Un-ti),ra=hi+.5*(Zn-hi),$i=Math.min(Ur,ti,pi,Hi),ro=Math.max(Ur,ti,pi,Hi),di=Math.min(Cn,hi,mi,ra),cn=Math.max(Cn,hi,mi,ra);return new vt($i,di,ro-$i,cn-di)},wi=function(Ur,Cn,Un,Zn,ti,hi,pi,mi){var Hi,ra,$i,ro,di,cn,Ni,Gi,Ki,ia,Kt,Zr,rn,pn,Qe=Un-Ur,Dt=Zn-Cn,ur=ti-Un,ar=hi-Zn,Lr=pi-ti,Rr=mi-hi;for(ra=0;ra<41;ra++)Ki=(Ni=($i=Ur+(Hi=ra/40)*Qe)+Hi*((di=Un+Hi*ur)-$i))+Hi*(di+Hi*(ti+Hi*Lr-di)-Ni),ia=(Gi=(ro=Cn+Hi*Dt)+Hi*((cn=Zn+Hi*ar)-ro))+Hi*(cn+Hi*(hi+Hi*Rr-cn)-Gi),ra==0?(Kt=Ki,Zr=ia,rn=Ki,pn=ia):(Kt=Math.min(Kt,Ki),Zr=Math.min(Zr,ia),rn=Math.max(rn,Ki),pn=Math.max(pn,ia));return new vt(Math.round(Kt),Math.round(Zr),Math.round(rn-Kt),Math.round(pn-Zr))},Ji=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ur,Cn,Un=(Ur=this.ctx.lineDash,Cn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ur,lineDashOffset:Cn}));this.prevLineDash!==Un&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Un)}}}(K.API),function(Ze){var xe=function(Je){var vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr;for(/[^\x00-\xFF]/.test(Je),ot=[],Ut=0,br=(Je+=vt="\0\0\0\0".slice(Je.length%4||4)).length;br>Ut;Ut+=4)(Ar=(Je.charCodeAt(Ut)<<24)+(Je.charCodeAt(Ut+1)<<16)+(Je.charCodeAt(Ut+2)<<8)+Je.charCodeAt(Ut+3))!==0?(Or=(Ar=((Ar=((Ar=((Ar=(Ar-(Vr=Ar%85))/85)-(lr=Ar%85))/85)-(un=Ar%85))/85)-(zt=Ar%85))/85)%85,ot.push(Or+33,zt+33,un+33,lr+33,Vr+33)):ot.push(122);return function(Br,Sr){for(var xn=Sr;xn>0;xn--)Br.pop()}(ot,vt.length),String.fromCharCode.apply(String,ot)+"~>"},Me=function(Je){var vt,ot,Ut,br,Ar,Or=String,zt="length",un=255,lr="charCodeAt",Vr="slice",Br="replace";for(Je[Vr](-2),Je=Je[Vr](0,-2)[Br](/\s/g,"")[Br]("z","!!!!!"),Ut=[],br=0,Ar=(Je+=vt="uuuuu"[Vr](Je[zt]%5||5))[zt];Ar>br;br+=5)ot=52200625*(Je[lr](br)-33)+614125*(Je[lr](br+1)-33)+7225*(Je[lr](br+2)-33)+85*(Je[lr](br+3)-33)+(Je[lr](br+4)-33),Ut.push(un&ot>>24,un&ot>>16,un&ot>>8,un&ot);return function(Sr,xn){for(var Hn=xn;Hn>0;Hn--)Sr.pop()}(Ut,vt[zt]),Or.fromCharCode.apply(Or,Ut)},ke=function(Je){var vt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Je=Je.replace(/\s/g,"")).indexOf(">")!==-1&&(Je=Je.substr(0,Je.indexOf(">"))),Je.length%2&&(Je+="0"),vt.test(Je)===!1)return"";for(var ot="",Ut=0;Ut<Je.length;Ut+=2)ot+=String.fromCharCode("0x"+(Je[Ut]+Je[Ut+1]));return ot},Ge=function(Je){for(var vt=new Uint8Array(Je.length),ot=Je.length;ot--;)vt[ot]=Je.charCodeAt(ot);return Je=(vt=Object(p.b)(vt)).reduce(function(Ut,br){return Ut+String.fromCharCode(br)},"")};Ze.processDataByFilters=function(Ke,Je){var vt=0,ot=Ke||"",Ut=[];for(typeof(Je=Je||[])=="string"&&(Je=[Je]),vt=0;vt<Je.length;vt+=1)switch(Je[vt]){case"ASCII85Decode":case"/ASCII85Decode":ot=Me(ot),Ut.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ot=xe(ot),Ut.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ot=ke(ot),Ut.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ot=ot.split("").map(function(br){return("0"+br.charCodeAt().toString(16)).slice(-2)}).join("")+">",Ut.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ot=Ge(ot),Ut.push("/FlateDecode");break;default:throw new Error('The filter: "'+Je[vt]+'" is not implemented')}return{data:ot,reverseChain:Ut.reverse().join(" ")}}}(K.API),function(Ze){Ze.loadFile=function(xe,Me,ke){return function(Ge,Ke,Je){Ke=Ke!==!1,Je=typeof Je=="function"?Je:function(){};var vt=void 0;try{vt=function(ot,Ut,br){var Ar=new XMLHttpRequest,Or=0,zt=function(lr){var Vr=lr.length,Br=[],Sr=String.fromCharCode;for(Or=0;Or<Vr;Or+=1)Br.push(Sr(255&lr.charCodeAt(Or)));return Br.join("")};if(Ar.open("GET",ot,!Ut),Ar.overrideMimeType("text/plain; charset=x-user-defined"),Ut===!1&&(Ar.onload=function(){Ar.status===200?br(zt(this.responseText)):br(void 0)}),Ar.send(null),Ut&&Ar.status===200)return zt(Ar.responseText)}(Ge,Ke,Je)}catch(ot){}return vt}(xe,Me,ke)},Ze.loadImageFile=Ze.loadFile}(K.API),function(Ze){function xe(){return(v.html2canvas?Promise.resolve(v.html2canvas):Promise.resolve().then(i.t.bind(null,"wOnQ",7))).catch(function(Je){return Promise.reject(new Error("Could not load html2canvas: "+Je))}).then(function(Je){return Je.default?Je.default:Je})}function Me(){return(v.DOMPurify?Promise.resolve(v.DOMPurify):i.e(266).then(i.t.bind(null,"qZ2Q",7))).catch(function(Je){return Promise.reject(new Error("Could not load dompurify: "+Je))}).then(function(Je){return Je.default?Je.default:Je})}var ke=function(vt){var ot=E()(vt);return ot==="undefined"?"undefined":ot==="string"||vt instanceof String?"string":ot==="number"||vt instanceof Number?"number":ot==="function"||vt instanceof Function?"function":vt&&vt.constructor===Array?"array":vt&&vt.nodeType===1?"element":ot==="object"?"object":"unknown"},Ge=function(vt,ot){var Ut=document.createElement(vt);for(var br in ot.className&&(Ut.className=ot.className),ot.innerHTML&&ot.dompurify&&(Ut.innerHTML=ot.dompurify.sanitize(ot.innerHTML)),ot.style)Ut.style[br]=ot.style[br];return Ut},Ke=function Je(vt){var ot=Object.assign(Je.convert(Promise.resolve()),JSON.parse(JSON.stringify(Je.template))),Ut=Je.convert(Promise.resolve(),ot);return Ut=(Ut=Ut.setProgress(1,Je,1,[Je])).set(vt)};(Ke.prototype=Object.create(Promise.prototype)).constructor=Ke,Ke.convert=function(Je,vt){return Je.__proto__=vt||Ke.prototype,Je},Ke.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"}},Ke.prototype.from=function(Je,vt){return this.then(function(){switch(vt=vt||function(ot){switch(ke(ot)){case"string":return"string";case"element":return ot.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Je)){case"string":return this.then(Me).then(function(ot){return this.set({src:Ge("div",{innerHTML:Je,dompurify:ot})})});case"element":return this.set({src:Je});case"canvas":return this.set({canvas:Je});case"img":return this.set({img:Je});default:return this.error("Unknown source type.")}})},Ke.prototype.to=function(Je){switch(Je){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.")}},Ke.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 Je={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},vt=function ot(Ut,br){for(var Ar=Ut.nodeType===3?document.createTextNode(Ut.nodeValue):Ut.cloneNode(!1),Or=Ut.firstChild;Or;Or=Or.nextSibling)br!==!0&&Or.nodeType===1&&Or.nodeName==="SCRIPT"||Ar.appendChild(ot(Or,br));return Ut.nodeType===1&&(Ut.nodeName==="CANVAS"?(Ar.width=Ut.width,Ar.height=Ut.height,Ar.getContext("2d").drawImage(Ut,0,0)):Ut.nodeName!=="TEXTAREA"&&Ut.nodeName!=="SELECT"||(Ar.value=Ut.value),Ar.addEventListener("load",function(){Ar.scrollTop=Ut.scrollTop,Ar.scrollLeft=Ut.scrollLeft},!0)),Ar}(this.prop.src,this.opt.html2canvas.javascriptEnabled);vt.tagName==="BODY"&&(Je.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=Ge("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=Ge("div",{className:"html2pdf__container",style:Je}),this.prop.container.appendChild(vt),this.prop.container.firstChild.appendChild(Ge("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"})},Ke.prototype.toCanvas=function(){var Je=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Je).then(xe).then(function(vt){var ot=Object.assign({},this.opt.html2canvas);return delete ot.onrendered,vt(this.prop.container,ot)}).then(function(vt){(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Ke.prototype.toContext2d=function(){var Je=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Je).then(xe).then(function(vt){var ot=this.opt.jsPDF,Ut=this.opt.fontFaces,br=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,Ar=Object.assign({async:!0,allowTaint:!0,scale:br,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 Ar.onrendered,ot.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,ot.context2d.posX=this.opt.x,ot.context2d.posY=this.opt.y,ot.context2d.margin=this.opt.margin,ot.context2d.fontFaces=Ut,Ut)for(var Or=0;Or<Ut.length;++Or){var zt=Ut[Or],un=zt.src.find(function(lr){return lr.format==="truetype"});un&&ot.addFont(un.url,zt.ref.name,zt.ref.style)}return Ar.windowHeight=Ar.windowHeight||0,Ar.windowHeight=Ar.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Ar.windowHeight,vt(this.prop.container,Ar)}).then(function(vt){(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Ke.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Je=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Je})},Ke.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ke.prototype.output=function(Je,vt,ot){return(ot=ot||"pdf").toLowerCase()==="img"||ot.toLowerCase()==="image"?this.outputImg(Je,vt):this.outputPdf(Je,vt)},Ke.prototype.outputPdf=function(Je,vt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Je,vt)})},Ke.prototype.outputImg=function(Je){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Je){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 "'+Je+'" is not supported.'}})},Ke.prototype.save=function(Je){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Je?{filename:Je}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ke.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ke.prototype.set=function(Je){if(ke(Je)!=="object")return this;var vt=Object.keys(Je||{}).map(function(ot){if(ot in Ke.template.prop)return function(){this.prop[ot]=Je[ot]};switch(ot){case"margin":return this.setMargin.bind(this,Je.margin);case"jsPDF":return function(){return this.opt.jsPDF=Je.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Je.pageSize);default:return function(){this.opt[ot]=Je[ot]}}},this);return this.then(function(){return this.thenList(vt)})},Ke.prototype.get=function(Je,vt){return this.then(function(){var ot=Je in Ke.template.prop?this.prop[Je]:this.opt[Je];return vt?vt(ot):ot})},Ke.prototype.setMargin=function(Je){return this.then(function(){switch(ke(Je)){case"number":Je=[Je,Je,Je,Je];case"array":if(Je.length===2&&(Je=[Je[0],Je[1],Je[0],Je[1]]),Je.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Je}).then(this.setPageSize)},Ke.prototype.setPageSize=function(Je){function vt(ot,Ut){return Math.floor(ot*Ut/72*96)}return this.then(function(){(Je=Je||K.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Je.inner={width:Je.width-this.opt.margin[1]-this.opt.margin[3],height:Je.height-this.opt.margin[0]-this.opt.margin[2]},Je.inner.px={width:vt(Je.inner.width,Je.k),height:vt(Je.inner.height,Je.k)},Je.inner.ratio=Je.inner.height/Je.inner.width),this.prop.pageSize=Je})},Ke.prototype.setProgress=function(Je,vt,ot,Ut){return Je!=null&&(this.progress.val=Je),vt!=null&&(this.progress.state=vt),ot!=null&&(this.progress.n=ot),Ut!=null&&(this.progress.stack=Ut),this.progress.ratio=this.progress.val/this.progress.state,this},Ke.prototype.updateProgress=function(Je,vt,ot,Ut){return this.setProgress(Je?this.progress.val+Je:null,vt||null,ot?this.progress.n+ot:null,Ut?this.progress.stack.concat(Ut):null)},Ke.prototype.then=function(Je,vt){var ot=this;return this.thenCore(Je,vt,function(Ut,br){return ot.updateProgress(null,null,1,[Ut]),Promise.prototype.then.call(this,function(Ar){return ot.updateProgress(null,Ut),Ar}).then(Ut,br).then(function(Ar){return ot.updateProgress(1),Ar})})},Ke.prototype.thenCore=function(Je,vt,ot){ot=ot||Promise.prototype.then,Je&&(Je=Je.bind(this)),vt&&(vt=vt.bind(this));var Ut=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Ke.convert(Object.assign({},this),Promise.prototype),br=ot.call(Ut,Je,vt);return Ke.convert(br,this.__proto__)},Ke.prototype.thenExternal=function(Je,vt){return Promise.prototype.then.call(this,Je,vt)},Ke.prototype.thenList=function(Je){var vt=this;return Je.forEach(function(ot){vt=vt.thenCore(ot)}),vt},Ke.prototype.catch=function(Je){Je&&(Je=Je.bind(this));var vt=Promise.prototype.catch.call(this,Je);return Ke.convert(vt,this)},Ke.prototype.catchExternal=function(Je){return Promise.prototype.catch.call(this,Je)},Ke.prototype.error=function(Je){return this.then(function(){throw new Error(Je)})},Ke.prototype.using=Ke.prototype.set,Ke.prototype.saveAs=Ke.prototype.save,Ke.prototype.export=Ke.prototype.output,Ke.prototype.run=Ke.prototype.then,K.getPageSize=function(Je,vt,ot){if(E()(Je)==="object"){var Ut=Je;Je=Ut.orientation,vt=Ut.unit||vt,ot=Ut.format||ot}vt=vt||"mm",ot=ot||"a4",Je=(""+(Je||"P")).toLowerCase();var br,Ar=(""+ot).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(vt){case"pt":br=1;break;case"mm":br=72/25.4;break;case"cm":br=72/2.54;break;case"in":br=72;break;case"px":br=.75;break;case"pc":case"em":br=12;break;case"ex":br=6;break;default:throw"Invalid unit: "+vt}var zt,un=0,lr=0;if(Or.hasOwnProperty(Ar))un=Or[Ar][1]/br,lr=Or[Ar][0]/br;else try{un=ot[1],lr=ot[0]}catch(Vr){throw new Error("Invalid format: "+ot)}if(Je==="p"||Je==="portrait")Je="p",lr>un&&(zt=lr,lr=un,un=zt);else{if(Je!=="l"&&Je!=="landscape")throw"Invalid orientation: "+Je;Je="l",un>lr&&(zt=lr,lr=un,un=zt)}return{width:lr,height:un,unit:vt,k:br,orientation:Je}},Ze.html=function(Je,vt){(vt=vt||{}).callback=vt.callback||function(){},vt.html2canvas=vt.html2canvas||{},vt.html2canvas.canvas=vt.html2canvas.canvas||this.canvas,vt.jsPDF=vt.jsPDF||this,vt.fontFaces=vt.fontFaces?vt.fontFaces.map(Wr):null;var ot=new Ke(vt);return vt.worker?ot:ot.from(Je).doCallback()}}(K.API),K.API.addJS=function(Ze){return Fr=Ze,this.internal.events.subscribe("postPutResources",function(){qt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),qr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Fr+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qt!==void 0&&qr!==void 0&&this.internal.out("/Names <</JavaScript "+qt+" 0 R>>")}),this},function(Ze){var xe;Ze.events.push(["postPutResources",function(){var Me=this,ke=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Ge=Me.outline.render().split(/\r\n/),Ke=0;Ke<Ge.length;Ke++){var Je=Ge[Ke],vt=ke.exec(Je);if(vt!=null){var ot=vt[1];Me.internal.newObjectDeferredBegin(ot,!1)}Me.internal.write(Je)}if(this.outline.createNamedDestinations){var Ut=this.internal.pages.length,br=[];for(Ke=0;Ke<Ut;Ke++){var Ar=Me.internal.newObject();br.push(Ar);var Or=Me.internal.getPageInfo(Ke+1);Me.internal.write("<< /D["+Or.objId+" 0 R /XYZ null null null]>> endobj")}var zt=Me.internal.newObject();for(Me.internal.write("<< /Names [ "),Ke=0;Ke<br.length;Ke++)Me.internal.write("(page_"+(Ke+1)+")"+br[Ke]+" 0 R");Me.internal.write(" ] >>","endobj"),xe=Me.internal.newObject(),Me.internal.write("<< /Dests "+zt+" 0 R"),Me.internal.write(">>","endobj")}}]),Ze.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 "+xe+" 0 R"))}]),Ze.events.push(["initialized",function(){var Me=this;Me.outline={createNamedDestinations:!1,root:{children:[]}},Me.outline.add=function(ke,Ge,Ke){var Je={title:Ge,options:Ke,children:[]};return ke==null&&(ke=this.root),ke.children.push(Je),Je},Me.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Me,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Me.outline.genIds_r=function(ke){ke.id=Me.internal.newObjectDeferred();for(var Ge=0;Ge<ke.children.length;Ge++)this.genIds_r(ke.children[Ge])},Me.outline.renderRoot=function(ke){this.objStart(ke),this.line("/Type /Outlines"),ke.children.length>0&&(this.line("/First "+this.makeRef(ke.children[0])),this.line("/Last "+this.makeRef(ke.children[ke.children.length-1]))),this.line("/Count "+this.count_r({count:0},ke)),this.objEnd()},Me.outline.renderItems=function(ke){for(var Ge=this.ctx.pdf.internal.getVerticalCoordinateString,Ke=0;Ke<ke.children.length;Ke++){var Je=ke.children[Ke];this.objStart(Je),this.line("/Title "+this.makeString(Je.title)),this.line("/Parent "+this.makeRef(ke)),Ke>0&&this.line("/Prev "+this.makeRef(ke.children[Ke-1])),Ke<ke.children.length-1&&this.line("/Next "+this.makeRef(ke.children[Ke+1])),Je.children.length>0&&(this.line("/First "+this.makeRef(Je.children[0])),this.line("/Last "+this.makeRef(Je.children[Je.children.length-1])));var vt=this.count=this.count_r({count:0},Je);if(vt>0&&this.line("/Count "+vt),Je.options&&Je.options.pageNumber){var ot=Me.internal.getPageInfo(Je.options.pageNumber);this.line("/Dest ["+ot.objId+" 0 R /XYZ 0 "+Ge(0)+" 0]")}this.objEnd()}for(var Ut=0;Ut<ke.children.length;Ut++)this.renderItems(ke.children[Ut])},Me.outline.line=function(ke){this.ctx.val+=ke+`\r
`},Me.outline.makeRef=function(ke){return ke.id+" 0 R"},Me.outline.makeString=function(ke){return"("+Me.internal.pdfEscape(ke)+")"},Me.outline.objStart=function(ke){this.ctx.val+=`\r
`+ke.id+` 0 obj\r
<<\r
`},Me.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},Me.outline.count_r=function(ke,Ge){for(var Ke=0;Ke<Ge.children.length;Ke++)ke.count++,this.count_r(ke,Ge.children[Ke]);return ke.count}}])}(K.API),function(Ze){var xe=[192,193,194,195,196,197,198,199];Ze.processJPEG=function(Me,ke,Ge,Ke,Je,vt){var ot,Ut=this.decode.DCT_DECODE,br=null;if(typeof Me=="string"||this.__addimage__.isArrayBuffer(Me)||this.__addimage__.isArrayBufferView(Me)){switch(Me=Je||Me,Me=this.__addimage__.isArrayBuffer(Me)?new Uint8Array(Me):Me,(ot=function(Ar){for(var Or,zt=256*Ar.charCodeAt(4)+Ar.charCodeAt(5),un=Ar.length,lr={width:0,height:0,numcomponents:1},Vr=4;Vr<un;Vr+=2){if(Vr+=zt,xe.indexOf(Ar.charCodeAt(Vr+1))!==-1){Or=256*Ar.charCodeAt(Vr+5)+Ar.charCodeAt(Vr+6),lr={width:256*Ar.charCodeAt(Vr+7)+Ar.charCodeAt(Vr+8),height:Or,numcomponents:Ar.charCodeAt(Vr+9)};break}zt=256*Ar.charCodeAt(Vr+2)+Ar.charCodeAt(Vr+3)}return lr}(Me=this.__addimage__.isArrayBufferView(Me)?this.__addimage__.arrayBufferToBinaryString(Me):Me)).numcomponents){case 1:vt=this.color_spaces.DEVICE_GRAY;break;case 4:vt=this.color_spaces.DEVICE_CMYK;break;case 3:vt=this.color_spaces.DEVICE_RGB}br={data:Me,width:ot.width,height:ot.height,colorSpace:vt,bitsPerComponent:8,filter:Ut,index:ke,alias:Ge}}return br}}(K.API);var Tt,St,Re,Ve,Xe,ct=function(){var Ze,xe,Me;function ke(Ke){var Je,vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr,Br,Sr,xn;for(this.data=Ke,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},Ar=null;;){switch(Je=this.readUInt32(),un=function(){var Hn,ai;for(ai=[],Hn=0;Hn<4;++Hn)ai.push(String.fromCharCode(this.data[this.pos++]));return ai}.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(Je);break;case"fcTL":Ar&&this.animation.frames.push(Ar),this.pos+=4,Ar={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},br=this.readUInt16(),Ut=this.readUInt16()||100,Ar.delay=1e3*br/Ut,Ar.disposeOp=this.data[this.pos++],Ar.blendOp=this.data[this.pos++],Ar.data=[];break;case"IDAT":case"fdAT":for(un==="fdAT"&&(this.pos+=4,Je-=4),Ke=(Ar!=null?Ar.data:void 0)||this.imgData,Br=0;0<=Je?Br<Je:Br>Je;0<=Je?++Br:--Br)Ke.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(ot=this.palette.length/3,this.transparency.indexed=this.read(Je),this.transparency.indexed.length>ot)throw new Error("More transparent colors than palette size");if((lr=ot-this.transparency.indexed.length)>0)for(Sr=0;0<=lr?Sr<lr:Sr>lr;0<=lr?++Sr:--Sr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Je)[0];break;case 2:this.transparency.rgb=this.read(Je)}break;case"tEXt":Or=(Vr=this.read(Je)).indexOf(0),zt=String.fromCharCode.apply(String,Vr.slice(0,Or)),this.text[zt]=String.fromCharCode.apply(String,Vr.slice(Or+1));break;case"IEND":return Ar&&this.animation.frames.push(Ar),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,vt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*vt,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+=Je}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}ke.prototype.read=function(Ke){var Je,vt;for(vt=[],Je=0;0<=Ke?Je<Ke:Je>Ke;0<=Ke?++Je:--Je)vt.push(this.data[this.pos++]);return vt},ke.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},ke.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},ke.prototype.decodePixels=function(Ke){var Je=this.pixelBitlength/8,vt=new Uint8Array(this.width*this.height*Je),ot=0,Ut=this;if(Ke==null&&(Ke=this.imgData),Ke.length===0)return new Uint8Array(0);function br(Ar,Or,zt,un){var lr,Vr,Br,Sr,xn,Hn,ai,si,Yn,Wn,Dn,vi,gn,Kr,En,sn,li,ni,yi,Xn,ki,wi=Math.ceil((Ut.width-Ar)/zt),Ji=Math.ceil((Ut.height-Or)/un),An=Ut.width==wi&&Ut.height==Ji;for(Kr=Je*wi,vi=An?vt:new Uint8Array(Kr*Ji),Hn=Ke.length,gn=0,Vr=0;gn<Ji&&ot<Hn;){switch(Ke[ot++]){case 0:for(Sr=li=0;li<Kr;Sr=li+=1)vi[Vr++]=Ke[ot++];break;case 1:for(Sr=ni=0;ni<Kr;Sr=ni+=1)lr=Ke[ot++],xn=Sr<Je?0:vi[Vr-Je],vi[Vr++]=(lr+xn)%256;break;case 2:for(Sr=yi=0;yi<Kr;Sr=yi+=1)lr=Ke[ot++],Br=(Sr-Sr%Je)/Je,En=gn&&vi[(gn-1)*Kr+Br*Je+Sr%Je],vi[Vr++]=(En+lr)%256;break;case 3:for(Sr=Xn=0;Xn<Kr;Sr=Xn+=1)lr=Ke[ot++],Br=(Sr-Sr%Je)/Je,xn=Sr<Je?0:vi[Vr-Je],En=gn&&vi[(gn-1)*Kr+Br*Je+Sr%Je],vi[Vr++]=(lr+Math.floor((xn+En)/2))%256;break;case 4:for(Sr=ki=0;ki<Kr;Sr=ki+=1)lr=Ke[ot++],Br=(Sr-Sr%Je)/Je,xn=Sr<Je?0:vi[Vr-Je],gn===0?En=sn=0:(En=vi[(gn-1)*Kr+Br*Je+Sr%Je],sn=Br&&vi[(gn-1)*Kr+(Br-1)*Je+Sr%Je]),ai=xn+En-sn,si=Math.abs(ai-xn),Wn=Math.abs(ai-En),Dn=Math.abs(ai-sn),Yn=si<=Wn&&si<=Dn?xn:Wn<=Dn?En:sn,vi[Vr++]=(lr+Yn)%256;break;default:throw new Error("Invalid filter algorithm: "+Ke[ot-1])}if(!An){var Ur=((Or+gn*un)*Ut.width+Ar)*Je,Cn=gn*Kr;for(Sr=0;Sr<wi;Sr+=1){for(var Un=0;Un<Je;Un+=1)vt[Ur++]=vi[Cn++];Ur+=(zt-1)*Je}}gn++}}return Ke=Object(p.a)(Ke),Ut.interlaceMethod==1?(br(0,0,8,8),br(4,0,8,8),br(0,4,4,8),br(2,0,4,4),br(0,2,2,4),br(1,0,2,2),br(0,1,1,2)):br(0,0,1,1),vt},ke.prototype.decodePalette=function(){var Ke,Je,vt,ot,Ut,br,Ar,Or,zt;for(vt=this.palette,br=this.transparency.indexed||[],Ut=new Uint8Array((br.length||0)+vt.length),ot=0,Ke=0,Je=Ar=0,Or=vt.length;Ar<Or;Je=Ar+=3)Ut[ot++]=vt[Je],Ut[ot++]=vt[Je+1],Ut[ot++]=vt[Je+2],Ut[ot++]=(zt=br[Ke++])!=null?zt:255;return Ut},ke.prototype.copyToImageData=function(Ke,Je){var vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr,Br;if(ot=this.colors,lr=null,vt=this.hasAlphaChannel,this.palette.length&&(lr=(Br=this._decodedPalette)!=null?Br:this._decodedPalette=this.decodePalette(),ot=4,vt=!0),un=(Ut=Ke.data||Ke).length,Ar=lr||Je,br=Or=0,ot===1)for(;br<un;)zt=lr?4*Je[br/4]:Or,Vr=Ar[zt++],Ut[br++]=Vr,Ut[br++]=Vr,Ut[br++]=Vr,Ut[br++]=vt?Ar[zt++]:255,Or=zt;else for(;br<un;)zt=lr?4*Je[br/4]:Or,Ut[br++]=Ar[zt++],Ut[br++]=Ar[zt++],Ut[br++]=Ar[zt++],Ut[br++]=vt?Ar[zt++]:255,Or=zt},ke.prototype.decode=function(){var Ke;return Ke=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ke,this.decodePixels()),Ke};var Ge=function(){if(Object.prototype.toString.call(v)==="[object Window]"){try{xe=v.document.createElement("canvas"),Me=xe.getContext("2d")}catch(Je){return!1}return!0}return!1};return Ge(),Ze=function(Je){var vt;if(Ge()===!0)return Me.width=Je.width,Me.height=Je.height,Me.clearRect(0,0,Je.width,Je.height),Me.putImageData(Je,0,0),(vt=new Image).src=xe.toDataURL(),vt;throw new Error("This method requires a Browser with Canvas-capability.")},ke.prototype.decodeFrames=function(Ke){var Je,vt,ot,Ut,br,Ar,Or,zt;if(this.animation){for(zt=[],vt=br=0,Ar=(Or=this.animation.frames).length;br<Ar;vt=++br)Je=Or[vt],ot=Ke.createImageData(Je.width,Je.height),Ut=this.decodePixels(new Uint8Array(Je.data)),this.copyToImageData(ot,Ut),Je.imageData=ot,zt.push(Je.image=Ze(ot));return zt}},ke.prototype.renderFrame=function(Ke,Je){var vt,ot,Ut;return vt=(ot=this.animation.frames)[Je],Ut=ot[Je-1],Je===0&&Ke.clearRect(0,0,this.width,this.height),(Ut!=null?Ut.disposeOp:void 0)===1?Ke.clearRect(Ut.xOffset,Ut.yOffset,Ut.width,Ut.height):(Ut!=null?Ut.disposeOp:void 0)===2&&Ke.putImageData(Ut.imageData,Ut.xOffset,Ut.yOffset),vt.blendOp===0&&Ke.clearRect(vt.xOffset,vt.yOffset,vt.width,vt.height),Ke.drawImage(vt.image,vt.xOffset,vt.yOffset)},ke.prototype.animate=function(Ke){var Je,vt,ot,Ut,br,Ar,Or=this;return vt=0,Ar=this.animation,Ut=Ar.numFrames,ot=Ar.frames,br=Ar.numPlays,(Je=function(){var un,lr;if(un=vt++%Ut,lr=ot[un],Or.renderFrame(Ke,un),Ut>1&&vt/Ut<br)return Or.animation._timeout=setTimeout(Je,lr.delay)})()},ke.prototype.stopAnimation=function(){var Ke;return clearTimeout((Ke=this.animation)!=null?Ke._timeout:void 0)},ke.prototype.render=function(Ke){var Je,vt;return Ke._png&&Ke._png.stopAnimation(),Ke._png=this,Ke.width=this.width,Ke.height=this.height,Je=Ke.getContext("2d"),this.animation?(this.decodeFrames(Je),this.animate(Je)):(vt=Je.createImageData(this.width,this.height),this.copyToImageData(vt,this.decodePixels()),Je.putImageData(vt,0,0))},ke}();/**
* @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 tr(Ze){var xe=0;if(Ze[xe++]!==71||Ze[xe++]!==73||Ze[xe++]!==70||Ze[xe++]!==56||(Ze[xe++]+1&253)!=56||Ze[xe++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Me=Ze[xe++]|Ze[xe++]<<8,ke=Ze[xe++]|Ze[xe++]<<8,Ge=Ze[xe++],Ke=Ge>>7,Je=1<<(7&Ge)+1;Ze[xe++],Ze[xe++];var vt=null,ot=null;Ke&&(vt=xe,ot=Je,xe+=3*Je);var Ut=!0,br=[],Ar=0,Or=null,zt=0,un=null;for(this.width=Me,this.height=ke;Ut&&xe<Ze.length;)switch(Ze[xe++]){case 33:switch(Ze[xe++]){case 255:if(Ze[xe]!==11||Ze[xe+1]==78&&Ze[xe+2]==69&&Ze[xe+3]==84&&Ze[xe+4]==83&&Ze[xe+5]==67&&Ze[xe+6]==65&&Ze[xe+7]==80&&Ze[xe+8]==69&&Ze[xe+9]==50&&Ze[xe+10]==46&&Ze[xe+11]==48&&Ze[xe+12]==3&&Ze[xe+13]==1&&Ze[xe+16]==0)xe+=14,un=Ze[xe++]|Ze[xe++]<<8,xe++;else for(xe+=12;;){if(!((gn=Ze[xe++])>=0))throw Error("Invalid block size");if(gn===0)break;xe+=gn}break;case 249:if(Ze[xe++]!==4||Ze[xe+4]!==0)throw new Error("Invalid graphics extension block.");var lr=Ze[xe++];Ar=Ze[xe++]|Ze[xe++]<<8,Or=Ze[xe++],(1&lr)==0&&(Or=null),zt=lr>>2&7,xe++;break;case 254:for(;;){if(!((gn=Ze[xe++])>=0))throw Error("Invalid block size");if(gn===0)break;xe+=gn}break;default:throw new Error("Unknown graphic control label: 0x"+Ze[xe-1].toString(16))}break;case 44:var Vr=Ze[xe++]|Ze[xe++]<<8,Br=Ze[xe++]|Ze[xe++]<<8,Sr=Ze[xe++]|Ze[xe++]<<8,xn=Ze[xe++]|Ze[xe++]<<8,Hn=Ze[xe++],ai=Hn>>6&1,si=1<<(7&Hn)+1,Yn=vt,Wn=ot,Dn=!1;Hn>>7&&(Dn=!0,Yn=xe,Wn=si,xe+=3*si);var vi=xe;for(xe++;;){var gn;if(!((gn=Ze[xe++])>=0))throw Error("Invalid block size");if(gn===0)break;xe+=gn}br.push({x:Vr,y:Br,width:Sr,height:xn,has_local_palette:Dn,palette_offset:Yn,palette_size:Wn,data_offset:vi,data_length:xe-vi,transparent_index:Or,interlaced:!!ai,delay:Ar,disposal:zt});break;case 59:Ut=!1;break;default:throw new Error("Unknown gif block: 0x"+Ze[xe-1].toString(16))}this.numFrames=function(){return br.length},this.loopCount=function(){return un},this.frameInfo=function(Kr){if(Kr<0||Kr>=br.length)throw new Error("Frame index out of range.");return br[Kr]},this.decodeAndBlitFrameBGRA=function(Kr,En){var sn=this.frameInfo(Kr),li=sn.width*sn.height,ni=new Uint8Array(li);ir(Ze,sn.data_offset,ni,li);var yi=sn.palette_offset,Xn=sn.transparent_index;Xn===null&&(Xn=256);var ki=sn.width,wi=Me-ki,Ji=ki,An=4*(sn.y*Me+sn.x),Ur=4*((sn.y+sn.height)*Me+sn.x),Cn=An,Un=4*wi;sn.interlaced===!0&&(Un+=4*Me*7);for(var Zn=8,ti=0,hi=ni.length;ti<hi;++ti){var pi=ni[ti];if(Ji===0&&(Ji=ki,(Cn+=Un)>=Ur&&(Un=4*wi+4*Me*(Zn-1),Cn=An+(ki+wi)*(Zn<<1),Zn>>=1)),pi===Xn)Cn+=4;else{var mi=Ze[yi+3*pi],Hi=Ze[yi+3*pi+1],ra=Ze[yi+3*pi+2];En[Cn++]=ra,En[Cn++]=Hi,En[Cn++]=mi,En[Cn++]=255}--Ji}},this.decodeAndBlitFrameRGBA=function(Kr,En){var sn=this.frameInfo(Kr),li=sn.width*sn.height,ni=new Uint8Array(li);ir(Ze,sn.data_offset,ni,li);var yi=sn.palette_offset,Xn=sn.transparent_index;Xn===null&&(Xn=256);var ki=sn.width,wi=Me-ki,Ji=ki,An=4*(sn.y*Me+sn.x),Ur=4*((sn.y+sn.height)*Me+sn.x),Cn=An,Un=4*wi;sn.interlaced===!0&&(Un+=4*Me*7);for(var Zn=8,ti=0,hi=ni.length;ti<hi;++ti){var pi=ni[ti];if(Ji===0&&(Ji=ki,(Cn+=Un)>=Ur&&(Un=4*wi+4*Me*(Zn-1),Cn=An+(ki+wi)*(Zn<<1),Zn>>=1)),pi===Xn)Cn+=4;else{var mi=Ze[yi+3*pi],Hi=Ze[yi+3*pi+1],ra=Ze[yi+3*pi+2];En[Cn++]=mi,En[Cn++]=Hi,En[Cn++]=ra,En[Cn++]=255}--Ji}}}function ir(Ze,xe,Me,ke){for(var Ge=Ze[xe++],Ke=1<<Ge,Je=Ke+1,vt=Je+1,ot=Ge+1,Ut=(1<<ot)-1,br=0,Ar=0,Or=0,zt=Ze[xe++],un=new Int32Array(4096),lr=null;;){for(;br<16&&zt!==0;)Ar|=Ze[xe++]<<br,br+=8,zt===1?zt=Ze[xe++]:--zt;if(br<ot)break;var Vr=Ar&Ut;if(Ar>>=ot,br-=ot,Vr!==Ke){if(Vr===Je)break;for(var Br=Vr<vt?Vr:lr,Sr=0,xn=Br;xn>Ke;)xn=un[xn]>>8,++Sr;var Hn=xn;if(Or+Sr+(Br!==Vr?1:0)>ke)return void d.log("Warning, gif stream longer than expected.");Me[Or++]=Hn;var ai=Or+=Sr;for(Br!==Vr&&(Me[Or++]=Hn),xn=Br;Sr--;)xn=un[xn],Me[--ai]=255&xn,xn>>=8;lr!==null&&vt<4096&&(un[vt++]=lr<<8|Hn,vt>=Ut+1&&ot<12&&(++ot,Ut=Ut<<1|1)),lr=Vr}else vt=Je+1,Ut=(1<<(ot=Ge+1))-1,lr=null}return Or!==ke&&d.log("Warning, gif stream shorter than expected."),Me}/**
* @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 or(Ze){var xe,Me,ke,Ge,Ke,Je=Math.floor,vt=new Array(64),ot=new Array(64),Ut=new Array(64),br=new Array(64),Ar=new Array(65535),Or=new Array(65535),zt=new Array(64),un=new Array(64),lr=[],Vr=0,Br=7,Sr=new Array(64),xn=new Array(64),Hn=new Array(64),ai=new Array(256),si=new Array(2048),Yn=[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],Wn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Dn=[0,1,2,3,4,5,6,7,8,9,10,11],vi=[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],Kr=[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],sn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],li=[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 ni(An,Ur){for(var Cn=0,Un=0,Zn=new Array,ti=1;ti<=16;ti++){for(var hi=1;hi<=An[ti];hi++)Zn[Ur[Un]]=[],Zn[Ur[Un]][0]=Cn,Zn[Ur[Un]][1]=ti,Un++,Cn++;Cn*=2}return Zn}function yi(An){for(var Ur=An[0],Cn=An[1]-1;Cn>=0;)Ur&1<<Cn&&(Vr|=1<<Br),Cn--,--Br<0&&(Vr==255?(Xn(255),Xn(0)):Xn(Vr),Br=7,Vr=0)}function Xn(An){lr.push(An)}function ki(An){Xn(An>>8&255),Xn(255&An)}function wi(An,Ur,Cn,Un,Zn){for(var ti,hi=Zn[0],pi=Zn[240],mi=function(Ki,ia){var Kt,Zr,rn,pn,Qe,Dt,ur,ar,Lr,Rr,Hr=0;for(Lr=0;Lr<8;++Lr){Kt=Ki[Hr],Zr=Ki[Hr+1],rn=Ki[Hr+2],pn=Ki[Hr+3],Qe=Ki[Hr+4],Dt=Ki[Hr+5],ur=Ki[Hr+6];var an=Kt+(ar=Ki[Hr+7]),wn=Kt-ar,In=Zr+ur,Rn=Zr-ur,Nn=rn+Dt,vn=rn-Dt,Sn=pn+Qe,Tn=pn-Qe,Kn=an+Sn,Qn=an-Sn,qn=In+Nn,bi=In-Nn;Ki[Hr]=Kn+qn,Ki[Hr+4]=Kn-qn;var gi=.707106781*(bi+Qn);Ki[Hr+2]=Qn+gi,Ki[Hr+6]=Qn-gi;var Ri=.382683433*((Kn=Tn+vn)-(bi=Rn+wn)),Bi=.5411961*Kn+Ri,xi=1.306562965*bi+Ri,Ti=.707106781*(qn=vn+Rn),Di=wn+Ti,Pn=wn-Ti;Ki[Hr+5]=Pn+Bi,Ki[Hr+3]=Pn-Bi,Ki[Hr+1]=Di+xi,Ki[Hr+7]=Di-xi,Hr+=8}for(Hr=0,Lr=0;Lr<8;++Lr){Kt=Ki[Hr],Zr=Ki[Hr+8],rn=Ki[Hr+16],pn=Ki[Hr+24],Qe=Ki[Hr+32],Dt=Ki[Hr+40],ur=Ki[Hr+48];var _i=Kt+(ar=Ki[Hr+56]),ji=Kt-ar,mr=Zr+ur,Dr=Zr-ur,Gr=rn+Dt,Nr=rn-Dt,Gt=pn+Qe,xr=pn-Qe,rr=_i+Gt,Pr=_i-Gt,kr=mr+Gr,dn=mr-Gr;Ki[Hr]=rr+kr,Ki[Hr+32]=rr-kr;var ln=.707106781*(dn+Pr);Ki[Hr+16]=Pr+ln,Ki[Hr+48]=Pr-ln;var yn=.382683433*((rr=xr+Nr)-(dn=Dr+ji)),Bn=.5411961*rr+yn,Gn=1.306562965*dn+yn,ei=.707106781*(kr=Nr+Dr),Ci=ji+ei,Qi=ji-ei;Ki[Hr+40]=Qi+Bn,Ki[Hr+24]=Qi-Bn,Ki[Hr+8]=Ci+Gn,Ki[Hr+56]=Ci-Gn,Hr++}for(Lr=0;Lr<64;++Lr)Rr=Ki[Lr]*ia[Lr],zt[Lr]=Rr>0?Rr+.5|0:Rr-.5|0;return zt}(An,Ur),Hi=0;Hi<64;++Hi)un[Yn[Hi]]=mi[Hi];var ra=un[0]-Cn;Cn=un[0],ra==0?yi(Un[0]):(yi(Un[Or[ti=32767+ra]]),yi(Ar[ti]));for(var $i=63;$i>0&&un[$i]==0;)$i--;if($i==0)return yi(hi),Cn;for(var ro,di=1;di<=$i;){for(var cn=di;un[di]==0&&di<=$i;)++di;var Ni=di-cn;if(Ni>=16){ro=Ni>>4;for(var Gi=1;Gi<=ro;++Gi)yi(pi);Ni&=15}ti=32767+un[di],yi(Zn[(Ni<<4)+Or[ti]]),yi(Ar[ti]),di++}return $i!=63&&yi(hi),Cn}function Ji(An){(An=Math.min(Math.max(An,1),100),Ke!=An)&&(!function(Ur){for(var Cn=[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],Un=0;Un<64;Un++){var Zn=Je((Cn[Un]*Ur+50)/100);Zn=Math.min(Math.max(Zn,1),255),vt[Yn[Un]]=Zn}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],hi=0;hi<64;hi++){var pi=Je((ti[hi]*Ur+50)/100);pi=Math.min(Math.max(pi,1),255),ot[Yn[hi]]=pi}for(var mi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Hi=0,ra=0;ra<8;ra++)for(var $i=0;$i<8;$i++)Ut[Hi]=1/(vt[Yn[Hi]]*mi[ra]*mi[$i]*8),br[Hi]=1/(ot[Yn[Hi]]*mi[ra]*mi[$i]*8),Hi++}(An<50?Math.floor(5e3/An):Math.floor(200-2*An)),Ke=An)}this.encode=function(An,Ur){Ur&&Ji(Ur),lr=new Array,Vr=0,Br=7,ki(65496),ki(65504),ki(16),Xn(74),Xn(70),Xn(73),Xn(70),Xn(0),Xn(1),Xn(1),Xn(0),ki(1),ki(1),Xn(0),Xn(0),function(){ki(65499),ki(132),Xn(0);for(var Zr=0;Zr<64;Zr++)Xn(vt[Zr]);Xn(1);for(var rn=0;rn<64;rn++)Xn(ot[rn])}(),function(Zr,rn){ki(65472),ki(17),Xn(8),ki(rn),ki(Zr),Xn(3),Xn(1),Xn(17),Xn(0),Xn(2),Xn(17),Xn(1),Xn(3),Xn(17),Xn(1)}(An.width,An.height),function(){ki(65476),ki(418),Xn(0);for(var Zr=0;Zr<16;Zr++)Xn(Wn[Zr+1]);for(var rn=0;rn<=11;rn++)Xn(Dn[rn]);Xn(16);for(var pn=0;pn<16;pn++)Xn(vi[pn+1]);for(var Qe=0;Qe<=161;Qe++)Xn(gn[Qe]);Xn(1);for(var Dt=0;Dt<16;Dt++)Xn(Kr[Dt+1]);for(var ur=0;ur<=11;ur++)Xn(En[ur]);Xn(17);for(var ar=0;ar<16;ar++)Xn(sn[ar+1]);for(var Lr=0;Lr<=161;Lr++)Xn(li[Lr])}(),ki(65498),ki(12),Xn(3),Xn(1),Xn(0),Xn(2),Xn(17),Xn(3),Xn(17),Xn(0),Xn(63),Xn(0);var Cn=0,Un=0,Zn=0;Vr=0,Br=7,this.encode.displayName="_encode_";for(var ti,hi,pi,mi,Hi,ra,$i,ro,di,cn=An.data,Ni=An.width,Gi=An.height,Ki=4*Ni,ia=0;ia<Gi;){for(ti=0;ti<Ki;){for(Hi=Ki*ia+ti,$i=-1,ro=0,di=0;di<64;di++)ra=Hi+(ro=di>>3)*Ki+($i=4*(7&di)),ia+ro>=Gi&&(ra-=Ki*(ia+1+ro-Gi)),ti+$i>=Ki&&(ra-=ti+$i-Ki+4),hi=cn[ra++],pi=cn[ra++],mi=cn[ra++],Sr[di]=(si[hi]+si[pi+256>>0]+si[mi+512>>0]>>16)-128,xn[di]=(si[hi+768>>0]+si[pi+1024>>0]+si[mi+1280>>0]>>16)-128,Hn[di]=(si[hi+1280>>0]+si[pi+1536>>0]+si[mi+1792>>0]>>16)-128;Cn=wi(Sr,Ut,Cn,xe,ke),Un=wi(xn,br,Un,Me,Ge),Zn=wi(Hn,br,Zn,Me,Ge),ti+=32}ia+=8}if(Br>=0){var Kt=[];Kt[1]=Br+1,Kt[0]=(1<<Br+1)-1,yi(Kt)}return ki(65497),new Uint8Array(lr)},Ze=Ze||50,function(){for(var An=String.fromCharCode,Ur=0;Ur<256;Ur++)ai[Ur]=An(Ur)}(),xe=ni(Wn,Dn),Me=ni(Kr,En),ke=ni(vi,gn),Ge=ni(sn,li),function(){for(var An=1,Ur=2,Cn=1;Cn<=15;Cn++){for(var Un=An;Un<Ur;Un++)Or[32767+Un]=Cn,Ar[32767+Un]=[],Ar[32767+Un][1]=Cn,Ar[32767+Un][0]=Un;for(var Zn=-(Ur-1);Zn<=-An;Zn++)Or[32767+Zn]=Cn,Ar[32767+Zn]=[],Ar[32767+Zn][1]=Cn,Ar[32767+Zn][0]=Ur-1+Zn;An<<=1,Ur<<=1}}(),function(){for(var An=0;An<256;An++)si[An]=19595*An,si[An+256>>0]=38470*An,si[An+512>>0]=7471*An+32768,si[An+768>>0]=-11059*An,si[An+1024>>0]=-21709*An,si[An+1280>>0]=32768*An+8421375,si[An+1536>>0]=-27439*An,si[An+1792>>0]=-5329*An}(),Ji(Ze)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function Xr(Ze,xe){if(this.pos=0,this.buffer=Ze,this.datav=new DataView(Ze.buffer),this.is_with_alpha=!!xe,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 Yr(Ze){function xe(Wn){if(!Wn)throw Error("assert :P")}function Me(Wn,Dn,vi){for(var gn=0;4>gn;gn++)if(Wn[Dn+gn]!=vi.charCodeAt(gn))return!0;return!1}function ke(Wn,Dn,vi,gn,Kr){for(var En=0;En<Kr;En++)Wn[Dn+En]=vi[gn+En]}function Ge(Wn,Dn,vi,gn){for(var Kr=0;Kr<gn;Kr++)Wn[Dn+Kr]=vi}function Ke(Wn){return new Int32Array(Wn)}function Je(Wn,Dn){for(var vi=[],gn=0;gn<Wn;gn++)vi.push(new Dn);return vi}function vt(Wn,Dn){var vi=[];return function gn(Kr,En,sn){for(var li=sn[En],ni=0;ni<li&&(Kr.push(sn.length>En+1?[]:new Dn),!(sn.length<En+1));ni++)gn(Kr[ni],En+1,sn)}(vi,0,Wn),vi}var ot=function(){var Dn=this;function vi(me,Pe){for(var ut=1<<Pe-1>>>0;me&ut;)ut>>>=1;return ut?(me&ut-1)+ut:me}function gn(me,Pe,ut,Ht,fr){xe(!(Ht%ut));do me[Pe+(Ht-=ut)]=fr;while(0<Ht)}function Kr(me,Pe,ut,Ht,fr){if(xe(2328>=fr),512>=fr)var _r=Ke(512);else if((_r=Ke(fr))==null)return 0;return function(Ie,ee,ye,je,nt,_t){var Nt,Mt,vr=ee,Ir=1<<ye,gr=Ke(16),dr=Ke(16);for(xe(nt!=0),xe(je!=null),xe(Ie!=null),xe(0<ye),Mt=0;Mt<nt;++Mt){if(15<je[Mt])return 0;++gr[je[Mt]]}if(gr[0]==nt)return 0;for(dr[1]=0,Nt=1;15>Nt;++Nt){if(gr[Nt]>1<<Nt)return 0;dr[Nt+1]=dr[Nt]+gr[Nt]}for(Mt=0;Mt<nt;++Mt)Nt=je[Mt],0<je[Mt]&&(_t[dr[Nt]++]=Mt);if(dr[15]==1)return(je=new En).g=0,je.value=_t[0],gn(Ie,vr,1,Ir,je),Ir;var Cr,Mr=-1,on=Ir-1,zn=0,ri=1,Oi=1,ui=1<<ye;for(Mt=0,Nt=1,nt=2;Nt<=ye;++Nt,nt<<=1){if(ri+=Oi<<=1,0>(Oi-=gr[Nt]))return 0;for(;0<gr[Nt];--gr[Nt])(je=new En).g=Nt,je.value=_t[Mt++],gn(Ie,vr+zn,nt,ui,je),zn=vi(zn,Nt)}for(Nt=ye+1,nt=2;15>=Nt;++Nt,nt<<=1){if(ri+=Oi<<=1,0>(Oi-=gr[Nt]))return 0;for(;0<gr[Nt];--gr[Nt]){if(je=new En,(zn&on)!=Mr){for(vr+=ui,Cr=1<<(Mr=Nt)-ye;15>Mr&&!(0>=(Cr-=gr[Mr]));)++Mr,Cr<<=1;Ir+=ui=1<<(Cr=Mr-ye),Ie[ee+(Mr=zn&on)].g=Cr+ye,Ie[ee+Mr].value=vr-ee-Mr}je.g=Nt-ye,je.value=_t[Mt++],gn(Ie,vr+(zn>>ye),nt,ui,je),zn=vi(zn,Nt)}}return ri!=2*dr[15]-1?0:Ir}(me,Pe,ut,Ht,fr,_r)}function En(){this.value=this.g=0}function sn(){this.value=this.g=0}function li(){this.G=Je(5,En),this.H=Ke(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Je(Eo,sn)}function ni(me,Pe,ut,Ht){xe(me!=null),xe(Pe!=null),xe(2147483648>Ht),me.Ca=254,me.I=0,me.b=-8,me.Ka=0,me.oa=Pe,me.pa=ut,me.Jd=Pe,me.Yc=ut+Ht,me.Zc=4<=Ht?ut+Ht-4+1:ut,hi(me)}function yi(me,Pe){for(var ut=0;0<Pe--;)ut|=mi(me,128)<<Pe;return ut}function Xn(me,Pe){var ut=yi(me,Pe);return pi(me)?-ut:ut}function ki(me,Pe,ut,Ht){var fr,_r=0;for(xe(me!=null),xe(Pe!=null),xe(4294967288>Ht),me.Sb=Ht,me.Ra=0,me.u=0,me.h=0,4<Ht&&(Ht=4),fr=0;fr<Ht;++fr)_r+=Pe[ut+fr]<<8*fr;me.Ra=_r,me.bb=Ht,me.oa=Pe,me.pa=ut}function wi(me){for(;8<=me.u&&me.bb<me.Sb;)me.Ra>>>=8,me.Ra+=me.oa[me.pa+me.bb]<<Lo-8>>>0,++me.bb,me.u-=8;Un(me)&&(me.h=1,me.u=0)}function Ji(me,Pe){if(xe(0<=Pe),!me.h&&Pe<=Oo){var ut=Cn(me)&fs[Pe];return me.u+=Pe,wi(me),ut}return me.h=1,me.u=0}function An(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ur(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Cn(me){return me.Ra>>>(me.u&Lo-1)>>>0}function Un(me){return xe(me.bb<=me.Sb),me.h||me.bb==me.Sb&&me.u>Lo}function Zn(me,Pe){me.u=Pe,me.h=Un(me)}function ti(me){me.u>=vs&&(xe(me.u>=vs),wi(me))}function hi(me){xe(me!=null&&me.oa!=null),me.pa<me.Zc?(me.I=(me.oa[me.pa++]|me.I<<8)>>>0,me.b+=8):(xe(me!=null&&me.oa!=null),me.pa<me.Yc?(me.b+=8,me.I=me.oa[me.pa++]|me.I<<8):me.Ka?me.b=0:(me.I<<=8,me.b+=8,me.Ka=1))}function pi(me){return yi(me,1)}function mi(me,Pe){var ut=me.Ca;0>me.b&&hi(me);var Ht=me.b,fr=ut*Pe>>>8,_r=(me.I>>>Ht>fr)+0;for(_r?(ut-=fr,me.I-=fr+1<<Ht>>>0):ut=fr+1,Ht=ut,fr=0;256<=Ht;)fr+=8,Ht>>=8;return Ht=7^fr+Fs[Ht],me.b-=Ht,me.Ca=(ut<<Ht)-1,_r}function Hi(me,Pe,ut){me[Pe+0]=ut>>24&255,me[Pe+1]=ut>>16&255,me[Pe+2]=ut>>8&255,me[Pe+3]=ut>>0&255}function ra(me,Pe){return me[Pe+0]<<0|me[Pe+1]<<8}function $i(me,Pe){return ra(me,Pe)|me[Pe+2]<<16}function ro(me,Pe){return ra(me,Pe)|ra(me,Pe+2)<<16}function di(me,Pe){var ut=1<<Pe;return xe(me!=null),xe(0<Pe),me.X=Ke(ut),me.X==null?0:(me.Mb=32-Pe,me.Xa=Pe,1)}function cn(me,Pe){xe(me!=null),xe(Pe!=null),xe(me.Xa==Pe.Xa),ke(Pe.X,0,me.X,0,1<<Pe.Xa)}function Ni(){this.X=[],this.Xa=this.Mb=0}function Gi(me,Pe,ut,Ht){xe(ut!=null),xe(Ht!=null);var fr=ut[0],_r=Ht[0];return fr==0&&(fr=(me*_r+Pe/2)/Pe),_r==0&&(_r=(Pe*fr+me/2)/me),0>=fr||0>=_r?0:(ut[0]=fr,Ht[0]=_r,1)}function Ki(me,Pe){return me+(1<<Pe)-1>>>Pe}function ia(me,Pe){return((4278255360&me)+(4278255360&Pe)>>>0&4278255360)+((16711935&me)+(16711935&Pe)>>>0&16711935)>>>0}function Kt(me,Pe){Dn[Pe]=function(ut,Ht,fr,_r,Ie,ee,ye){var je;for(je=0;je<Ie;++je){var nt=Dn[me](ee[ye+je-1],fr,_r+je);ee[ye+je]=ia(ut[Ht+je],nt)}}}function Zr(){this.ud=this.hd=this.jd=0}function rn(me,Pe){return((4278124286&(me^Pe))>>>1)+(me&Pe)>>>0}function pn(me){return 0<=me&&256>me?me:0>me?0:255<me?255:void 0}function Qe(me,Pe){return pn(me+(me-Pe+.5>>1))}function Dt(me,Pe,ut){return Math.abs(Pe-ut)-Math.abs(me-ut)}function ur(me,Pe,ut,Ht,fr,_r,Ie){for(Ht=_r[Ie-1],ut=0;ut<fr;++ut)_r[Ie+ut]=Ht=ia(me[Pe+ut],Ht)}function ar(me,Pe,ut,Ht,fr){var _r;for(_r=0;_r<ut;++_r){var Ie=me[Pe+_r],ee=Ie>>8&255,ye=16711935&(ye=(ye=16711935&Ie)+((ee<<16)+ee));Ht[fr+_r]=(4278255360&Ie)+ye>>>0}}function Lr(me,Pe){Pe.jd=me>>0&255,Pe.hd=me>>8&255,Pe.ud=me>>16&255}function Rr(me,Pe,ut,Ht,fr,_r){var Ie;for(Ie=0;Ie<Ht;++Ie){var ee=Pe[ut+Ie],ye=ee>>>8,je=ee,nt=255&(nt=(nt=ee>>>16)+((me.jd<<24>>24)*(ye<<24>>24)>>>5));je=255&(je=(je=je+((me.hd<<24>>24)*(ye<<24>>24)>>>5))+((me.ud<<24>>24)*(nt<<24>>24)>>>5)),fr[_r+Ie]=(4278255360&ee)+(nt<<16)+je}}function Hr(me,Pe,ut,Ht,fr){Dn[Pe]=function(_r,Ie,ee,ye,je,nt,_t,Nt,Mt){for(ye=_t;ye<Nt;++ye)for(_t=0;_t<Mt;++_t)je[nt++]=fr(ee[Ht(_r[Ie++])])},Dn[me]=function(_r,Ie,ee,ye,je,nt,_t){var Nt=8>>_r.b,Mt=_r.Ea,vr=_r.K[0],Ir=_r.w;if(8>Nt)for(_r=(1<<_r.b)-1,Ir=(1<<Nt)-1;Ie<ee;++Ie){var gr,dr=0;for(gr=0;gr<Mt;++gr)gr&_r||(dr=Ht(ye[je++])),nt[_t++]=fr(vr[dr&Ir]),dr>>=Nt}else Dn["VP8LMapColor"+ut](ye,je,vr,Ir,nt,_t,Ie,ee,Mt)}}function an(me,Pe,ut,Ht,fr){for(ut=Pe+ut;Pe<ut;){var _r=me[Pe++];Ht[fr++]=_r>>16&255,Ht[fr++]=_r>>8&255,Ht[fr++]=_r>>0&255}}function wn(me,Pe,ut,Ht,fr){for(ut=Pe+ut;Pe<ut;){var _r=me[Pe++];Ht[fr++]=_r>>16&255,Ht[fr++]=_r>>8&255,Ht[fr++]=_r>>0&255,Ht[fr++]=_r>>24&255}}function In(me,Pe,ut,Ht,fr){for(ut=Pe+ut;Pe<ut;){var _r=(Ie=me[Pe++])>>16&240|Ie>>12&15,Ie=Ie>>0&240|Ie>>28&15;Ht[fr++]=_r,Ht[fr++]=Ie}}function Rn(me,Pe,ut,Ht,fr){for(ut=Pe+ut;Pe<ut;){var _r=(Ie=me[Pe++])>>16&248|Ie>>13&7,Ie=Ie>>5&224|Ie>>3&31;Ht[fr++]=_r,Ht[fr++]=Ie}}function Nn(me,Pe,ut,Ht,fr){for(ut=Pe+ut;Pe<ut;){var _r=me[Pe++];Ht[fr++]=_r>>0&255,Ht[fr++]=_r>>8&255,Ht[fr++]=_r>>16&255}}function vn(me,Pe,ut,Ht,fr,_r){if(_r==0)for(ut=Pe+ut;Pe<ut;)Hi(Ht,((_r=me[Pe++])[0]>>24|_r[1]>>8&65280|_r[2]<<8&16711680|_r[3]<<24)>>>0),fr+=32;else ke(Ht,fr,me,Pe,ut)}function Sn(me,Pe){Dn[Pe][0]=Dn[me+"0"],Dn[Pe][1]=Dn[me+"1"],Dn[Pe][2]=Dn[me+"2"],Dn[Pe][3]=Dn[me+"3"],Dn[Pe][4]=Dn[me+"4"],Dn[Pe][5]=Dn[me+"5"],Dn[Pe][6]=Dn[me+"6"],Dn[Pe][7]=Dn[me+"7"],Dn[Pe][8]=Dn[me+"8"],Dn[Pe][9]=Dn[me+"9"],Dn[Pe][10]=Dn[me+"10"],Dn[Pe][11]=Dn[me+"11"],Dn[Pe][12]=Dn[me+"12"],Dn[Pe][13]=Dn[me+"13"],Dn[Pe][14]=Dn[me+"0"],Dn[Pe][15]=Dn[me+"0"]}function Tn(me){return me==cc||me==Al||me==wl||me==Nl}function Kn(){this.eb=[],this.size=this.A=this.fb=0}function Qn(){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 qn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Kn,this.f.kb=new Qn,this.sd=null}function bi(){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 Ri(me){return alert("todo:WebPSamplerProcessPlane"),me.T}function Bi(me,Pe){var ut=me.T,Ht=Pe.ba.f.RGBA,fr=Ht.eb,_r=Ht.fb+me.ka*Ht.A,Ie=ml[Pe.ba.S],ee=me.y,ye=me.O,je=me.f,nt=me.N,_t=me.ea,Nt=me.W,Mt=Pe.cc,vr=Pe.dc,Ir=Pe.Mc,gr=Pe.Nc,dr=me.ka,Cr=me.ka+me.T,Mr=me.U,on=Mr+1>>1;for(dr==0?Ie(ee,ye,null,null,je,nt,_t,Nt,je,nt,_t,Nt,fr,_r,null,null,Mr):(Ie(Pe.ec,Pe.fc,ee,ye,Mt,vr,Ir,gr,je,nt,_t,Nt,fr,_r-Ht.A,fr,_r,Mr),++ut);dr+2<Cr;dr+=2)Mt=je,vr=nt,Ir=_t,gr=Nt,nt+=me.Rc,Nt+=me.Rc,_r+=2*Ht.A,Ie(ee,(ye+=2*me.fa)-me.fa,ee,ye,Mt,vr,Ir,gr,je,nt,_t,Nt,fr,_r-Ht.A,fr,_r,Mr);return ye+=me.fa,me.j+Cr<me.o?(ke(Pe.ec,Pe.fc,ee,ye,Mr),ke(Pe.cc,Pe.dc,je,nt,on),ke(Pe.Mc,Pe.Nc,_t,Nt,on),ut--):1&Cr||Ie(ee,ye,null,null,je,nt,_t,Nt,je,nt,_t,Nt,fr,_r+Ht.A,null,null,Mr),ut}function xi(me,Pe,ut){var Ht=me.F,fr=[me.J];if(Ht!=null){var _r=me.U,Ie=Pe.ba.S,ee=Ie==Ll||Ie==wl;Pe=Pe.ba.f.RGBA;var ye=[0],je=me.ka;ye[0]=me.T,me.Kb&&(je==0?--ye[0]:(--je,fr[0]-=me.width),me.j+me.ka+me.T==me.o&&(ye[0]=me.o-me.j-je));var nt=Pe.eb;je=Pe.fb+je*Pe.A,me=ul(Ht,fr[0],me.width,_r,ye,nt,je+(ee?0:3),Pe.A),xe(ut==ye),me&&Tn(Ie)&&Zl(nt,je,ee,_r,ye,Pe.A)}return 0}function Ti(me){var Pe=me.ma,ut=Pe.ba.S,Ht=11>ut,fr=ut==Jl||ut==zl||ut==Ll||ut==lc||ut==12||Tn(ut);if(Pe.memory=null,Pe.Ib=null,Pe.Jb=null,Pe.Nd=null,!ao(Pe.Oa,me,fr?11:12))return 0;if(fr&&Tn(ut)&&Be(),me.da)alert("todo:use_scaling");else{if(Ht){if(Pe.Ib=Ri,me.Kb){if(ut=me.U+1>>1,Pe.memory=Ke(me.U+2*ut),Pe.memory==null)return 0;Pe.ec=Pe.memory,Pe.fc=0,Pe.cc=Pe.ec,Pe.dc=Pe.fc+me.U,Pe.Mc=Pe.cc,Pe.Nc=Pe.dc+ut,Pe.Ib=Bi,Be()}}else alert("todo:EmitYUV");fr&&(Pe.Jb=xi,Ht&&Ae())}if(Ht&&!Wc){for(me=0;256>me;++me)qc[me]=89858*(me-128)+_l>>Cl,eu[me]=-22014*(me-128)+_l,pc[me]=-45773*(me-128),Vl[me]=113618*(me-128)+_l>>Cl;for(me=Wl;me<Ul;++me)Pe=76283*(me-16)+_l>>Cl,Oc[me-Wl]=Yi(Pe,255),ic[me-Wl]=Yi(Pe+8>>4,15);Wc=1}return 1}function Di(me){var Pe=me.ma,ut=me.U,Ht=me.T;return xe(!(1&me.ka)),0>=ut||0>=Ht?0:(ut=Pe.Ib(me,Pe),Pe.Jb!=null&&Pe.Jb(me,Pe,ut),Pe.Dc+=ut,1)}function Pn(me){me.ma.memory=null}function _i(me,Pe,ut,Ht){return Ji(me,8)!=47?0:(Pe[0]=Ji(me,14)+1,ut[0]=Ji(me,14)+1,Ht[0]=Ji(me,1),Ji(me,3)!=0?0:!me.h)}function ji(me,Pe){if(4>me)return me+1;var ut=me-2>>1;return(2+(1&me)<<ut)+Ji(Pe,ut)+1}function mr(me,Pe){return 120<Pe?Pe-120:1<=(ut=((ut=ec[Pe-1])>>4)*me+(8-(15&ut)))?ut:1;var ut}function Dr(me,Pe,ut){var Ht=Cn(ut),fr=me[Pe+=255&Ht].g-8;return 0<fr&&(Zn(ut,ut.u+8),Ht=Cn(ut),Pe+=me[Pe].value,Pe+=Ht&(1<<fr)-1),Zn(ut,ut.u+me[Pe].g),me[Pe].value}function Gr(me,Pe,ut){return ut.g+=me.g,ut.value+=me.value<<Pe>>>0,xe(8>=ut.g),me.g}function Nr(me,Pe,ut){var Ht=me.xc;return xe((Pe=Ht==0?0:me.vc[me.md*(ut>>Ht)+(Pe>>Ht)])<me.Wb),me.Ya[Pe]}function Gt(me,Pe,ut,Ht){var fr=me.ab,_r=me.c*Pe,Ie=me.C;Pe=Ie+Pe;var ee=ut,ye=Ht;for(Ht=me.Ta,ut=me.Ua;0<fr--;){var je=me.gc[fr],nt=Ie,_t=Pe,Nt=ee,Mt=ye,vr=(ye=Ht,ee=ut,je.Ea);switch(xe(nt<_t),xe(_t<=je.nc),je.hc){case 2:Zs(Nt,Mt,(_t-nt)*vr,ye,ee);break;case 0:var Ir=nt,gr=_t,dr=ye,Cr=ee,Mr=(ui=je).Ea;Ir==0&&(ss(Nt,Mt,null,null,1,dr,Cr),ur(Nt,Mt+1,0,0,Mr-1,dr,Cr+1),Mt+=Mr,Cr+=Mr,++Ir);for(var on=1<<ui.b,zn=on-1,ri=Ki(Mr,ui.b),Oi=ui.K,ui=ui.w+(Ir>>ui.b)*ri;Ir<gr;){var va=Oi,zi=ui,Na=1;for(Fo(Nt,Mt,dr,Cr-Mr,1,dr,Cr);Na<Mr;){var Sa=(Na&~zn)+on;Sa>Mr&&(Sa=Mr),(0,Xo[va[zi++]>>8&15])(Nt,Mt+ +Na,dr,Cr+Na-Mr,Sa-Na,dr,Cr+Na),Na=Sa}Mt+=Mr,Cr+=Mr,++Ir&zn||(ui+=ri)}_t!=je.nc&&ke(ye,ee-vr,ye,ee+(_t-nt-1)*vr,vr);break;case 1:for(vr=Nt,gr=Mt,Mr=(Nt=je.Ea)-(Cr=Nt&~(dr=(Mt=1<<je.b)-1)),Ir=Ki(Nt,je.b),on=je.K,je=je.w+(nt>>je.b)*Ir;nt<_t;){for(zn=on,ri=je,Oi=new Zr,ui=gr+Cr,va=gr+Nt;gr<ui;)Lr(zn[ri++],Oi),oa(Oi,vr,gr,Mt,ye,ee),gr+=Mt,ee+=Mt;gr<va&&(Lr(zn[ri++],Oi),oa(Oi,vr,gr,Mr,ye,ee),gr+=Mr,ee+=Mr),++nt&dr||(je+=Ir)}break;case 3:if(Nt==ye&&Mt==ee&&0<je.b){for(gr=ye,Nt=vr=ee+(_t-nt)*vr-(Cr=(_t-nt)*Ki(je.Ea,je.b)),Mt=ye,dr=ee,Ir=[],Cr=(Mr=Cr)-1;0<=Cr;--Cr)Ir[Cr]=Mt[dr+Cr];for(Cr=Mr-1;0<=Cr;--Cr)gr[Nt+Cr]=Ir[Cr];xs(je,nt,_t,ye,vr,ye,ee)}else xs(je,nt,_t,Nt,Mt,ye,ee)}ee=Ht,ye=ut}ye!=ut&&ke(Ht,ut,ee,ye,_r)}function xr(me,Pe){var ut=me.V,Ht=me.Ba+me.c*me.C,fr=Pe-me.C;if(xe(Pe<=me.l.o),xe(16>=fr),0<fr){var _r=me.l,Ie=me.Ta,ee=me.Ua,ye=_r.width;if(Gt(me,fr,ut,Ht),fr=ee=[ee],xe((ut=me.C)<(Ht=Pe)),xe(_r.v<_r.va),Ht>_r.o&&(Ht=_r.o),ut<_r.j){var je=_r.j-ut;ut=_r.j,fr[0]+=je*ye}if(ut>=Ht?ut=0:(fr[0]+=4*_r.v,_r.ka=ut-_r.j,_r.U=_r.va-_r.v,_r.T=Ht-ut,ut=1),ut){if(ee=ee[0],11>(ut=me.ca).S){var nt=ut.f.RGBA,_t=(Ht=ut.S,fr=_r.U,_r=_r.T,je=nt.eb,nt.A),Nt=_r;for(nt=nt.fb+me.Ma*nt.A;0<Nt--;){var Mt=Ie,vr=ee,Ir=fr,gr=je,dr=nt;switch(Ht){case Kl:Xs(Mt,vr,Ir,gr,dr);break;case Jl:rl(Mt,vr,Ir,gr,dr);break;case cc:rl(Mt,vr,Ir,gr,dr),Zl(gr,dr,0,Ir,1,0);break;case sc:cl(Mt,vr,Ir,gr,dr);break;case zl:vn(Mt,vr,Ir,gr,dr,1);break;case Al:vn(Mt,vr,Ir,gr,dr,1),Zl(gr,dr,0,Ir,1,0);break;case Ll:vn(Mt,vr,Ir,gr,dr,0);break;case wl:vn(Mt,vr,Ir,gr,dr,0),Zl(gr,dr,1,Ir,1,0);break;case lc:Bs(Mt,vr,Ir,gr,dr);break;case Nl:Bs(Mt,vr,Ir,gr,dr),bc(gr,dr,Ir,1,0);break;case $l:Es(Mt,vr,Ir,gr,dr);break;default:xe(0)}ee+=ye,nt+=_t}me.Ma+=_r}else alert("todo:EmitRescaledRowsYUVA");xe(me.Ma<=ut.height)}}me.C=Pe,xe(me.C<=me.i)}function rr(me){var Pe;if(0<me.ua)return 0;for(Pe=0;Pe<me.Wb;++Pe){var ut=me.Ya[Pe].G,Ht=me.Ya[Pe].H;if(0<ut[1][Ht[1]+0].g||0<ut[2][Ht[2]+0].g||0<ut[3][Ht[3]+0].g)return 0}return 1}function Pr(me,Pe,ut,Ht,fr,_r){if(me.Z!=0){var Ie=me.qd,ee=me.rd;for(xe(El[me.Z]!=null);Pe<ut;++Pe)El[me.Z](Ie,ee,Ht,fr,Ht,fr,_r),Ie=Ht,ee=fr,fr+=_r;me.qd=Ie,me.rd=ee}}function kr(me,Pe){var ut=me.l.ma,Ht=ut.Z==0||ut.Z==1?me.l.j:me.C;if(Ht=me.C<Ht?Ht:me.C,xe(Pe<=me.l.o),Pe>Ht){var fr=me.l.width,_r=ut.ca,Ie=ut.tb+fr*Ht,ee=me.V,ye=me.Ba+me.c*Ht,je=me.gc;xe(me.ab==1),xe(je[0].hc==3),Js(je[0],Ht,Pe,ee,ye,_r,Ie),Pr(ut,Ht,Pe,_r,Ie,fr)}me.C=me.Ma=Pe}function dn(me,Pe,ut,Ht,fr,_r,Ie){var ee=me.$/Ht,ye=me.$%Ht,je=me.m,nt=me.s,_t=ut+me.$,Nt=_t;fr=ut+Ht*fr;var Mt=ut+Ht*_r,vr=280+nt.ua,Ir=me.Pb?ee:16777216,gr=0<nt.ua?nt.Wa:null,dr=nt.wc,Cr=_t<Mt?Nr(nt,ye,ee):null;xe(me.C<_r),xe(Mt<=fr);var Mr=!1;e:for(;;){for(;Mr||_t<Mt;){var on=0;if(ee>=Ir){var zn=_t-ut;xe((Ir=me).Pb),Ir.wd=Ir.m,Ir.xd=zn,0<Ir.s.ua&&cn(Ir.s.Wa,Ir.s.vb),Ir=ee+uc}if(ye&dr||(Cr=Nr(nt,ye,ee)),xe(Cr!=null),Cr.Qb&&(Pe[_t]=Cr.qb,Mr=!0),!Mr)if(ti(je),Cr.jc){on=je,zn=Pe;var ri=_t,Oi=Cr.pd[Cn(on)&Eo-1];xe(Cr.jc),256>Oi.g?(Zn(on,on.u+Oi.g),zn[ri]=Oi.value,on=0):(Zn(on,on.u+Oi.g-256),xe(256<=Oi.value),on=Oi.value),on==0&&(Mr=!0)}else on=Dr(Cr.G[0],Cr.H[0],je);if(je.h)break;if(Mr||256>on){if(!Mr)if(Cr.nd)Pe[_t]=(Cr.qb|on<<8)>>>0;else{if(ti(je),Mr=Dr(Cr.G[1],Cr.H[1],je),ti(je),zn=Dr(Cr.G[2],Cr.H[2],je),ri=Dr(Cr.G[3],Cr.H[3],je),je.h)break;Pe[_t]=(ri<<24|Mr<<16|on<<8|zn)>>>0}if(Mr=!1,++_t,++ye>=Ht&&(ye=0,++ee,Ie!=null&&ee<=_r&&!(ee%16)&&Ie(me,ee),gr!=null))for(;Nt<_t;)on=Pe[Nt++],gr.X[(506832829*on&4294967295)>>>gr.Mb]=on}else if(280>on){if(on=ji(on-256,je),zn=Dr(Cr.G[4],Cr.H[4],je),ti(je),zn=mr(Ht,zn=ji(zn,je)),je.h)break;if(_t-ut<zn||fr-_t<on)break e;for(ri=0;ri<on;++ri)Pe[_t+ri]=Pe[_t+ri-zn];for(_t+=on,ye+=on;ye>=Ht;)ye-=Ht,++ee,Ie!=null&&ee<=_r&&!(ee%16)&&Ie(me,ee);if(xe(_t<=fr),ye&dr&&(Cr=Nr(nt,ye,ee)),gr!=null)for(;Nt<_t;)on=Pe[Nt++],gr.X[(506832829*on&4294967295)>>>gr.Mb]=on}else{if(!(on<vr))break e;for(Mr=on-280,xe(gr!=null);Nt<_t;)on=Pe[Nt++],gr.X[(506832829*on&4294967295)>>>gr.Mb]=on;on=_t,xe(!(Mr>>>(zn=gr).Xa)),Pe[on]=zn.X[Mr],Mr=!0}Mr||xe(je.h==Un(je))}if(me.Pb&&je.h&&_t<fr)xe(me.m.h),me.a=5,me.m=me.wd,me.$=me.xd,0<me.s.ua&&cn(me.s.vb,me.s.Wa);else{if(je.h)break e;Ie!=null&&Ie(me,ee>_r?_r:ee),me.a=0,me.$=_t-ut}return 1}return me.a=3,0}function ln(me){xe(me!=null),me.vc=null,me.yc=null,me.Ya=null;var Pe=me.Wa;Pe!=null&&(Pe.X=null),me.vb=null,xe(me!=null)}function yn(){var me=new Ys;return me==null?null:(me.a=0,me.xb=nc,Sn("Predictor","VP8LPredictors"),Sn("Predictor","VP8LPredictors_C"),Sn("PredictorAdd","VP8LPredictorsAdd"),Sn("PredictorAdd","VP8LPredictorsAdd_C"),Zs=ar,oa=Rr,Xs=an,rl=wn,Bs=In,Es=Rn,cl=Nn,Dn.VP8LMapColor32b=ll,Dn.VP8LMapColor8b=ps,me)}function Bn(me,Pe,ut,Ht,fr){var _r=1,Ie=[me],ee=[Pe],ye=Ht.m,je=Ht.s,nt=null,_t=0;e:for(;;){if(ut)for(;_r&&Ji(ye,1);){var Nt=Ie,Mt=ee,vr=Ht,Ir=1,gr=vr.m,dr=vr.gc[vr.ab],Cr=Ji(gr,2);if(vr.Oc&1<<Cr)_r=0;else{switch(vr.Oc|=1<<Cr,dr.hc=Cr,dr.Ea=Nt[0],dr.nc=Mt[0],dr.K=[null],++vr.ab,xe(4>=vr.ab),Cr){case 0:case 1:dr.b=Ji(gr,3)+2,Ir=Bn(Ki(dr.Ea,dr.b),Ki(dr.nc,dr.b),0,vr,dr.K),dr.K=dr.K[0];break;case 3:var Mr,on=Ji(gr,8)+1,zn=16<on?0:4<on?1:2<on?2:3;if(Nt[0]=Ki(dr.Ea,zn),dr.b=zn,Mr=Ir=Bn(on,1,0,vr,dr.K)){var ri,Oi=on,ui=dr,va=1<<(8>>ui.b),zi=Ke(va);if(zi==null)Mr=0;else{var Na=ui.K[0],Sa=ui.w;for(zi[0]=ui.K[0][0],ri=1;ri<1*Oi;++ri)zi[ri]=ia(Na[Sa+ri],zi[ri-1]);for(;ri<4*va;++ri)zi[ri]=0;ui.K[0]=null,ui.K[0]=zi,Mr=1}}Ir=Mr;break;case 2:break;default:xe(0)}_r=Ir}}if(Ie=Ie[0],ee=ee[0],_r&&Ji(ye,1)&&!(_r=1<=(_t=Ji(ye,4))&&11>=_t)){Ht.a=3;break e}var Ia;if(Ia=_r)t:{var co,O,F,$=Ht,re=Ie,le=ee,De=_t,dt=ut,Lt=$.m,Qt=$.s,er=[null],en=1,fn=0,Fn=jc[De];r:for(;;){if(dt&&Ji(Lt,1)){var kn=Ji(Lt,3)+2,Ai=Ki(re,kn),Ui=Ki(le,kn),qi=Ai*Ui;if(!Bn(Ai,Ui,0,$,er))break r;for(er=er[0],Qt.xc=kn,co=0;co<qi;++co){var Zi=er[co]>>8&65535;er[co]=Zi,Zi>=en&&(en=Zi+1)}}if(Lt.h)break r;for(O=0;5>O;++O){var Xi=Uc[O];!O&&0<De&&(Xi+=1<<De),fn<Xi&&(fn=Xi)}var Aa=Je(en*Fn,En),Ca=en,no=Je(Ca,li);if(no==null)var Wa=null;else xe(65536>=Ca),Wa=no;var So=Ke(fn);if(Wa==null||So==null||Aa==null){$.a=1;break r}var ko=Aa;for(co=F=0;co<en;++co){var as=Wa[co],es=as.G,Us=as.H,ol=0,Cs=1,sl=0;for(O=0;5>O;++O){Xi=Uc[O],es[O]=ko,Us[O]=F,!O&&0<De&&(Xi+=1<<De);i:{var js,ks=Xi,Is=$,gs=So,il=ko,gc=F,bl=0,Os=Is.m,gl=Ji(Os,1);if(Ge(gs,0,0,ks),gl){var Ws=Ji(Os,1)+1,tu=Ji(Os,1),xa=Ji(Os,tu==0?1:8);gs[xa]=1,Ws==2&&(gs[xa=Ji(Os,8)]=1);var hl=1}else{var Tl=Ke(19),us=Ji(Os,4)+4;if(19<us){Is.a=3;var jl=0;break i}for(js=0;js<us;++js)Tl[vl[js]]=Ji(Os,3);var $o=void 0,bs=void 0,ru=Is,xu=Tl,Nc=ks,wu=gs,Vc=0,Ac=ru.m,Su=8,fu=Je(128,En);n:for(;Kr(fu,0,7,xu,19);){if(Ji(Ac,1)){var Eu=2+2*Ji(Ac,3);if(($o=2+Ji(Ac,Eu))>Nc)break n}else $o=Nc;for(bs=0;bs<Nc&&$o--;){ti(Ac);var pu=fu[0+(127&Cn(Ac))];Zn(Ac,Ac.u+pu.g);var Dc=pu.value;if(16>Dc)wu[bs++]=Dc,Dc!=0&&(Su=Dc);else{var Cu=Dc==16,mu=Dc-16,_u=Sl[mu],gu=Ji(Ac,ql[mu])+_u;if(bs+gu>Nc)break n;for(var Tu=Cu?Su:0;0<gu--;)wu[bs++]=Tu}}Vc=1;break n}Vc||(ru.a=3),hl=Vc}(hl=hl&&!Os.h)&&(bl=Kr(il,gc,8,gs,ks)),hl&&bl!=0?jl=bl:(Is.a=3,jl=0)}if(jl==0)break r;if(Cs&&dl[O]==1&&(Cs=ko[F].g==0),ol+=ko[F].g,F+=jl,3>=O){var nu,Au=So[0];for(nu=1;nu<Xi;++nu)So[nu]>Au&&(Au=So[nu]);sl+=Au}}if(as.nd=Cs,as.Qb=0,Cs&&(as.qb=(es[3][Us[3]+0].value<<24|es[1][Us[1]+0].value<<16|es[2][Us[2]+0].value)>>>0,ol==0&&256>es[0][Us[0]+0].value&&(as.Qb=1,as.qb+=es[0][Us[0]+0].value<<8)),as.jc=!as.Qb&&6>sl,as.jc){var Rc,tl=as;for(Rc=0;Rc<Eo;++Rc){var oc=Rc,Hl=tl.pd[oc],cu=tl.G[0][tl.H[0]+oc];256<=cu.value?(Hl.g=cu.g+256,Hl.value=cu.value):(Hl.g=0,Hl.value=0,oc>>=Gr(cu,8,Hl),oc>>=Gr(tl.G[1][tl.H[1]+oc],16,Hl),oc>>=Gr(tl.G[2][tl.H[2]+oc],0,Hl),Gr(tl.G[3][tl.H[3]+oc],24,Hl))}}}Qt.vc=er,Qt.Wb=en,Qt.Ya=Wa,Qt.yc=Aa,Ia=1;break t}Ia=0}if(!(_r=Ia)){Ht.a=3;break e}if(0<_t){if(je.ua=1<<_t,!di(je.Wa,_t)){Ht.a=1,_r=0;break e}}else je.ua=0;var vu=Ht,uu=Ie,Xc=ee,Gc=vu.s,yu=Gc.xc;if(vu.c=uu,vu.i=Xc,Gc.md=Ki(uu,yu),Gc.wc=yu==0?-1:(1<<yu)-1,ut){Ht.xb=rc;break e}if((nt=Ke(Ie*ee))==null){Ht.a=1,_r=0;break e}_r=(_r=dn(Ht,nt,0,Ie,ee,ee,null))&&!ye.h;break e}return _r?(fr!=null?fr[0]=nt:(xe(nt==null),xe(ut)),Ht.$=0,ut||ln(je)):ln(je),_r}function Gn(me,Pe){var ut=me.c*me.i,Ht=ut+Pe+16*Pe;return xe(me.c<=Pe),me.V=Ke(Ht),me.V==null?(me.Ta=null,me.Ua=0,me.a=1,0):(me.Ta=me.V,me.Ua=me.Ba+ut+Pe,1)}function ei(me,Pe){var ut=me.C,Ht=Pe-ut,fr=me.V,_r=me.Ba+me.c*ut;for(xe(Pe<=me.l.o);0<Ht;){var Ie=16<Ht?16:Ht,ee=me.l.ma,ye=me.l.width,je=ye*Ie,nt=ee.ca,_t=ee.tb+ye*ut,Nt=me.Ta,Mt=me.Ua;Gt(me,Ie,fr,_r),Il(Nt,Mt,nt,_t,je),Pr(ee,ut,ut+Ie,nt,_t,ye),Ht-=Ie,fr+=Ie*me.c,ut+=Ie}xe(ut==Pe),me.C=me.Ma=Pe}function Ci(){this.ub=this.yd=this.td=this.Rb=0}function Qi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ua(){this.Fb=this.Bb=this.Cb=0,this.Zb=Ke(4),this.Lb=Ke(4)}function ha(){this.Yb=function(){var me=[];return function Pe(ut,Ht,fr){for(var _r=fr[Ht],Ie=0;Ie<_r&&(ut.push(fr.length>Ht+1?[]:0),!(fr.length<Ht+1));Ie++)Pe(ut[Ie],Ht+1,fr)}(me,0,[3,11]),me}()}function la(){this.jb=Ke(3),this.Wc=vt([4,8],ha),this.Xc=vt([4,17],ha)}function da(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Ke(4),this.od=new Ke(4)}function Wi(){this.ld=this.La=this.dd=this.tc=0}function Mi(){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 ea(){this.ad=Ke(384),this.Za=0,this.Ob=Ke(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function _a(){this.uc=this.M=this.Nb=0,this.wa=Array(new Wi),this.Y=0,this.ya=Array(new ea),this.aa=0,this.l=new ka}function Fa(){this.y=Ke(16),this.f=Ke(8),this.ea=Ke(8)}function ta(){this.cb=this.a=0,this.sc="",this.m=new An,this.Od=new Ci,this.Kc=new Qi,this.ed=new da,this.Qa=new ua,this.Ic=this.$c=this.Aa=0,this.D=new _a,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Je(8,An),this.ia=0,this.pb=Je(4,na),this.Pa=new la,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Fa),this.Hd=0,this.rb=Array(new Mi),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 ea),this.L=this.aa=0,this.gd=vt([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 Yi(me,Pe){return 0>me?0:me>Pe?Pe:me}function ka(){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 ba(){var me=new ta;return me!=null&&(me.a=0,me.sc="OK",me.cb=0,me.Xb=0,kl||(kl=Pa)),me}function Ei(me,Pe,ut){return me.a==0&&(me.a=Pe,me.sc=ut,me.cb=0),0}function ca(me,Pe,ut){return 3<=ut&&me[Pe+0]==157&&me[Pe+1]==1&&me[Pe+2]==42}function Ha(me,Pe){if(me==null)return 0;if(me.a=0,me.sc="OK",Pe==null)return Ei(me,2,"null VP8Io passed to VP8GetHeaders()");var ut=Pe.data,Ht=Pe.w,fr=Pe.ha;if(4>fr)return Ei(me,7,"Truncated header.");var _r=ut[Ht+0]|ut[Ht+1]<<8|ut[Ht+2]<<16,Ie=me.Od;if(Ie.Rb=!(1&_r),Ie.td=_r>>1&7,Ie.yd=_r>>4&1,Ie.ub=_r>>5,3<Ie.td)return Ei(me,3,"Incorrect keyframe parameters.");if(!Ie.yd)return Ei(me,4,"Frame not displayable.");Ht+=3,fr-=3;var ee=me.Kc;if(Ie.Rb){if(7>fr)return Ei(me,7,"cannot parse picture header");if(!ca(ut,Ht,fr))return Ei(me,3,"Bad code word");ee.c=16383&(ut[Ht+4]<<8|ut[Ht+3]),ee.Td=ut[Ht+4]>>6,ee.i=16383&(ut[Ht+6]<<8|ut[Ht+5]),ee.Ud=ut[Ht+6]>>6,Ht+=7,fr-=7,me.za=ee.c+15>>4,me.Ub=ee.i+15>>4,Pe.width=ee.c,Pe.height=ee.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,Ge((_r=me.Pa).jb,0,255,_r.jb.length),xe((_r=me.Qa)!=null),_r.Cb=0,_r.Bb=0,_r.Fb=1,Ge(_r.Zb,0,0,_r.Zb.length),Ge(_r.Lb,0,0,_r.Lb)}if(Ie.ub>fr)return Ei(me,7,"bad partition length");ni(_r=me.m,ut,Ht,Ie.ub),Ht+=Ie.ub,fr-=Ie.ub,Ie.Rb&&(ee.Ld=pi(_r),ee.Kd=pi(_r)),ee=me.Qa;var ye,je=me.Pa;if(xe(_r!=null),xe(ee!=null),ee.Cb=pi(_r),ee.Cb){if(ee.Bb=pi(_r),pi(_r)){for(ee.Fb=pi(_r),ye=0;4>ye;++ye)ee.Zb[ye]=pi(_r)?Xn(_r,7):0;for(ye=0;4>ye;++ye)ee.Lb[ye]=pi(_r)?Xn(_r,6):0}if(ee.Bb)for(ye=0;3>ye;++ye)je.jb[ye]=pi(_r)?yi(_r,8):255}else ee.Bb=0;if(_r.Ka)return Ei(me,3,"cannot parse segment header");if((ee=me.ed).zd=pi(_r),ee.Tb=yi(_r,6),ee.wb=yi(_r,3),ee.Pc=pi(_r),ee.Pc&&pi(_r)){for(je=0;4>je;++je)pi(_r)&&(ee.vd[je]=Xn(_r,6));for(je=0;4>je;++je)pi(_r)&&(ee.od[je]=Xn(_r,6))}if(me.L=ee.Tb==0?0:ee.zd?1:2,_r.Ka)return Ei(me,3,"cannot parse filter header");var nt=fr;if(fr=ye=Ht,Ht=ye+nt,ee=nt,me.Xb=(1<<yi(me.m,2))-1,nt<3*(je=me.Xb))ut=7;else{for(ye+=3*je,ee-=3*je,nt=0;nt<je;++nt){var _t=ut[fr+0]|ut[fr+1]<<8|ut[fr+2]<<16;_t>ee&&(_t=ee),ni(me.Jc[+nt],ut,ye,_t),ye+=_t,ee-=_t,fr+=3}ni(me.Jc[+je],ut,ye,ee),ut=ye<Ht?0:5}if(ut!=0)return Ei(me,ut,"cannot parse partitions");for(ut=yi(ye=me.m,7),fr=pi(ye)?Xn(ye,4):0,Ht=pi(ye)?Xn(ye,4):0,ee=pi(ye)?Xn(ye,4):0,je=pi(ye)?Xn(ye,4):0,ye=pi(ye)?Xn(ye,4):0,nt=me.Qa,_t=0;4>_t;++_t){if(nt.Cb){var Nt=nt.Zb[_t];nt.Fb||(Nt+=ut)}else{if(0<_t){me.pb[_t]=me.pb[0];continue}Nt=ut}var Mt=me.pb[_t];Mt.Sc[0]=Dl[Yi(Nt+fr,127)],Mt.Sc[1]=Rl[Yi(Nt+0,127)],Mt.Eb[0]=2*Dl[Yi(Nt+Ht,127)],Mt.Eb[1]=101581*Rl[Yi(Nt+ee,127)]>>16,8>Mt.Eb[1]&&(Mt.Eb[1]=8),Mt.Qc[0]=Dl[Yi(Nt+je,117)],Mt.Qc[1]=Rl[Yi(Nt+ye,127)],Mt.lc=Nt+ye}if(!Ie.Rb)return Ei(me,4,"Not a key frame.");for(pi(_r),Ie=me.Pa,ut=0;4>ut;++ut){for(fr=0;8>fr;++fr)for(Ht=0;3>Ht;++Ht)for(ee=0;11>ee;++ee)je=mi(_r,tc[ut][fr][Ht][ee])?yi(_r,8):Pl[ut][fr][Ht][ee],Ie.Wc[ut][fr].Yb[Ht][ee]=je;for(fr=0;17>fr;++fr)Ie.Xc[ut][fr]=Ie.Wc[ut][Ec[fr]]}return me.kc=pi(_r),me.kc&&(me.Bd=yi(_r,8)),me.cb=1}function Pa(me,Pe,ut,Ht,fr,_r,Ie){var ee=Pe[fr].Yb[ut];for(ut=0;16>fr;++fr){if(!mi(me,ee[ut+0]))return fr;for(;!mi(me,ee[ut+1]);)if(ee=Pe[++fr].Yb[0],ut=0,fr==16)return 16;var ye=Pe[fr+1].Yb;if(mi(me,ee[ut+2])){var je=me,nt=0;if(mi(je,(Nt=ee)[(_t=ut)+3]))if(mi(je,Nt[_t+6])){for(ee=0,_t=2*(nt=mi(je,Nt[_t+8]))+(Nt=mi(je,Nt[_t+9+nt])),nt=0,Nt=Sc[_t];Nt[ee];++ee)nt+=nt+mi(je,Nt[ee]);nt+=3+(8<<_t)}else mi(je,Nt[_t+7])?(nt=7+2*mi(je,165),nt+=mi(je,145)):nt=5+mi(je,159);else nt=mi(je,Nt[_t+4])?3+mi(je,Nt[_t+5]):2;ee=ye[2]}else nt=1,ee=ye[1];ye=Ie+xc[fr],0>(je=me).b&&hi(je);var _t,Nt=je.b,Mt=(_t=je.Ca>>1)-(je.I>>Nt)>>31;--je.b,je.Ca+=Mt,je.Ca|=1,je.I-=(_t+1&Mt)<<Nt,_r[ye]=((nt^Mt)-Mt)*Ht[(0<fr)+0]}return 16}function ya(me){var Pe=me.rb[me.sb-1];Pe.la=0,Pe.Na=0,Ge(me.zc,0,0,me.zc.length),me.ja=0}function Ea(me,Pe){if(me==null)return 0;if(Pe==null)return Ei(me,2,"NULL VP8Io parameter in VP8Decode().");if(!me.cb&&!Ha(me,Pe))return 0;if(xe(me.cb),Pe.ac==null||Pe.ac(Pe)){Pe.ob&&(me.L=0);var ut=Xl[me.L];if(me.L==2?(me.yb=0,me.zb=0):(me.yb=Pe.v-ut>>4,me.zb=Pe.j-ut>>4,0>me.yb&&(me.yb=0),0>me.zb&&(me.zb=0)),me.Va=Pe.o+15+ut>>4,me.Hb=Pe.va+15+ut>>4,me.Hb>me.za&&(me.Hb=me.za),me.Va>me.Ub&&(me.Va=me.Ub),0<me.L){var Ht=me.ed;for(ut=0;4>ut;++ut){var fr;if(me.Qa.Cb){var _r=me.Qa.Lb[ut];me.Qa.Fb||(_r+=Ht.Tb)}else _r=Ht.Tb;for(fr=0;1>=fr;++fr){var Ie=me.gd[ut][fr],ee=_r;if(Ht.Pc&&(ee+=Ht.vd[0],fr&&(ee+=Ht.od[0])),0<(ee=0>ee?0:63<ee?63:ee)){var ye=ee;0<Ht.wb&&(ye=4<Ht.wb?ye>>2:ye>>1)>9-Ht.wb&&(ye=9-Ht.wb),1>ye&&(ye=1),Ie.dd=ye,Ie.tc=2*ee+ye,Ie.ld=40<=ee?2:15<=ee?1:0}else Ie.tc=0;Ie.La=fr}}}ut=0}else Ei(me,6,"Frame setup failed"),ut=me.a;if(ut=ut==0){if(ut){me.$c=0,0<me.Aa||(me.Ic=Gl);e:{ut=me.Ic,Ht=4*(ye=me.za);var je=32*ye,nt=ye+1,_t=0<me.L?ye*(0<me.Aa?2:1):0,Nt=(me.Aa==2?2:1)*ye;if((Ie=Ht+832+(fr=3*(16*ut+Xl[me.L])/2*je)+(_r=me.Fa!=null&&0<me.Fa.length?me.Kc.c*me.Kc.i:0))!=Ie)ut=0;else{if(Ie>me.Vb){if(me.Vb=0,me.Ec=Ke(Ie),me.Fc=0,me.Ec==null){ut=Ei(me,1,"no memory during frame initialization.");break e}me.Vb=Ie}Ie=me.Ec,ee=me.Fc,me.Ac=Ie,me.Bc=ee,ee+=Ht,me.Gd=Je(je,Fa),me.Hd=0,me.rb=Je(nt+1,Mi),me.sb=1,me.wa=_t?Je(_t,Wi):null,me.Y=0,me.D.Nb=0,me.D.wa=me.wa,me.D.Y=me.Y,0<me.Aa&&(me.D.Y+=ye),xe(!0),me.oc=Ie,me.pc=ee,ee+=832,me.ya=Je(Nt,ea),me.aa=0,me.D.ya=me.ya,me.D.aa=me.aa,me.Aa==2&&(me.D.aa+=ye),me.R=16*ye,me.B=8*ye,ye=(je=Xl[me.L])*me.R,je=je/2*me.B,me.sa=Ie,me.ta=ee+ye,me.qa=me.sa,me.ra=me.ta+16*ut*me.R+je,me.Ha=me.qa,me.Ia=me.ra+8*ut*me.B+je,me.$c=0,ee+=fr,me.mb=_r?Ie:null,me.nb=_r?ee:null,xe(ee+_r<=me.Fc+me.Vb),ya(me),Ge(me.Ac,me.Bc,0,Ht),ut=1}}if(ut){if(Pe.ka=0,Pe.y=me.sa,Pe.O=me.ta,Pe.f=me.qa,Pe.N=me.ra,Pe.ea=me.Ha,Pe.Vd=me.Ia,Pe.fa=me.R,Pe.Rc=me.B,Pe.F=null,Pe.J=0,!Pc){for(ut=-255;255>=ut;++ut)Bl[255+ut]=0>ut?-ut:ut;for(ut=-1020;1020>=ut;++ut)Bc[1020+ut]=-128>ut?-128:127<ut?127:ut;for(ut=-112;112>=ut;++ut)wc[112+ut]=-16>ut?-16:15<ut?15:ut;for(ut=-255;510>=ut;++ut)kc[255+ut]=0>ut?0:255<ut?255:ut;Pc=1}Gs=Ma,Rs=po,zs=Ua,eo=Da,ga=$a,Ks=aa,Ba=Ps,ho=Vs,Bo=wo,Ts=Vo,Ko=Ms,To=so,qo=Zo,Ro=As,cs=Co,ys=ts,yl=No,Yl=Ho,nl[0]=zo,nl[1]=yo,nl[2]=ma,nl[3]=Mo,nl[4]=Qo,nl[5]=bo,nl[6]=Jo,nl[7]=Ra,nl[8]=hs,nl[9]=jo,ms[0]=qa,ms[1]=xo,ms[2]=mo,ms[3]=go,ms[4]=La,ms[5]=oo,ms[6]=vo,xl[0]=Yo,xl[1]=io,xl[2]=Ao,xl[3]=Io,xl[4]=Ls,xl[5]=pl,xl[6]=os,ut=1}else ut=0}ut&&(ut=function(Mt,vr){for(Mt.M=0;Mt.M<Mt.Va;++Mt.M){var Ir,gr=Mt.Jc[Mt.M&Mt.Xb],dr=Mt.m,Cr=Mt;for(Ir=0;Ir<Cr.za;++Ir){var Mr=dr,on=Cr,zn=on.Ac,ri=on.Bc+4*Ir,Oi=on.zc,ui=on.ya[on.aa+Ir];if(on.Qa.Bb?ui.$b=mi(Mr,on.Pa.jb[0])?2+mi(Mr,on.Pa.jb[2]):mi(Mr,on.Pa.jb[1]):ui.$b=0,on.kc&&(ui.Ad=mi(Mr,on.Bd)),ui.Za=!mi(Mr,145)+0,ui.Za){var va=ui.Ob,zi=0;for(on=0;4>on;++on){var Na,Sa=Oi[0+on];for(Na=0;4>Na;++Na){Sa=hc[zn[ri+Na]][Sa];for(var Ia=dc[mi(Mr,Sa[0])];0<Ia;)Ia=dc[2*Ia+mi(Mr,Sa[Ia])];Sa=-Ia,zn[ri+Na]=Sa}ke(va,zi,zn,ri,4),zi+=4,Oi[0+on]=Sa}}else Sa=mi(Mr,156)?mi(Mr,128)?1:3:mi(Mr,163)?2:0,ui.Ob[0]=Sa,Ge(zn,ri,Sa,4),Ge(Oi,0,Sa,4);ui.Dd=mi(Mr,142)?mi(Mr,114)?mi(Mr,183)?1:3:2:0}if(Cr.m.Ka)return Ei(Mt,7,"Premature end-of-partition0 encountered.");for(;Mt.ja<Mt.za;++Mt.ja){if(Cr=gr,Mr=(dr=Mt).rb[dr.sb-1],zn=dr.rb[dr.sb+dr.ja],Ir=dr.ya[dr.aa+dr.ja],ri=dr.kc?Ir.Ad:0)Mr.la=zn.la=0,Ir.Za||(Mr.Na=zn.Na=0),Ir.Hc=0,Ir.Gc=0,Ir.ia=0;else{var co,O;if(Mr=zn,zn=Cr,ri=dr.Pa.Xc,Oi=dr.ya[dr.aa+dr.ja],ui=dr.pb[Oi.$b],on=Oi.ad,va=0,zi=dr.rb[dr.sb-1],Sa=Na=0,Ge(on,va,0,384),Oi.Za)var F=0,$=ri[3];else{Ia=Ke(16);var re=Mr.Na+zi.Na;if(re=kl(zn,ri[1],re,ui.Eb,0,Ia,0),Mr.Na=zi.Na=(0<re)+0,1<re)Gs(Ia,0,on,va);else{var le=Ia[0]+3>>3;for(Ia=0;256>Ia;Ia+=16)on[va+Ia]=le}F=1,$=ri[0]}var De=15&Mr.la,dt=15&zi.la;for(Ia=0;4>Ia;++Ia){var Lt=1&dt;for(le=O=0;4>le;++le)De=De>>1|(Lt=(re=kl(zn,$,re=Lt+(1&De),ui.Sc,F,on,va))>F)<<7,O=O<<2|(3<re?3:1<re?2:on[va+0]!=0),va+=16;De>>=4,dt=dt>>1|Lt<<7,Na=(Na<<8|O)>>>0}for($=De,F=dt>>4,co=0;4>co;co+=2){for(O=0,De=Mr.la>>4+co,dt=zi.la>>4+co,Ia=0;2>Ia;++Ia){for(Lt=1&dt,le=0;2>le;++le)re=Lt+(1&De),De=De>>1|(Lt=0<(re=kl(zn,ri[2],re,ui.Qc,0,on,va)))<<3,O=O<<2|(3<re?3:1<re?2:on[va+0]!=0),va+=16;De>>=2,dt=dt>>1|Lt<<5}Sa|=O<<4*co,$|=De<<4<<co,F|=(240&dt)<<co}Mr.la=$,zi.la=F,Oi.Hc=Na,Oi.Gc=Sa,Oi.ia=43690&Sa?0:ui.ia,ri=!(Na|Sa)}if(0<dr.L&&(dr.wa[dr.Y+dr.ja]=dr.gd[Ir.$b][Ir.Za],dr.wa[dr.Y+dr.ja].La|=!ri),Cr.Ka)return Ei(Mt,7,"Premature end-of-file encountered.")}if(ya(Mt),dr=vr,Cr=1,Ir=(gr=Mt).D,Mr=0<gr.L&&gr.M>=gr.zb&&gr.M<=gr.Va,gr.Aa==0)e:{if(Ir.M=gr.M,Ir.uc=Mr,lo(gr,Ir),Cr=1,Ir=(O=gr.D).Nb,Mr=(Sa=Xl[gr.L])*gr.R,zn=Sa/2*gr.B,Ia=16*Ir*gr.R,le=8*Ir*gr.B,ri=gr.sa,Oi=gr.ta-Mr+Ia,ui=gr.qa,on=gr.ra-zn+le,va=gr.Ha,zi=gr.Ia-zn+le,dt=(De=O.M)==0,Na=De>=gr.Va-1,gr.Aa==2&&lo(gr,O),O.uc)for(Lt=(re=gr).D.M,xe(re.D.uc),O=re.yb;O<re.Hb;++O){F=O,$=Lt;var Qt=(er=(Xi=re).D).Nb;co=Xi.R;var er=er.wa[er.Y+F],en=Xi.sa,fn=Xi.ta+16*Qt*co+16*F,Fn=er.dd,kn=er.tc;if(kn!=0)if(xe(3<=kn),Xi.L==1)0<F&&ys(en,fn,co,kn+4),er.La&&Yl(en,fn,co,kn),0<$&&cs(en,fn,co,kn+4),er.La&&yl(en,fn,co,kn);else{var Ai=Xi.B,Ui=Xi.qa,qi=Xi.ra+8*Qt*Ai+8*F,Zi=Xi.Ha,Xi=Xi.Ia+8*Qt*Ai+8*F;Qt=er.ld,0<F&&(ho(en,fn,co,kn+4,Fn,Qt),Ts(Ui,qi,Zi,Xi,Ai,kn+4,Fn,Qt)),er.La&&(To(en,fn,co,kn,Fn,Qt),Ro(Ui,qi,Zi,Xi,Ai,kn,Fn,Qt)),0<$&&(Ba(en,fn,co,kn+4,Fn,Qt),Bo(Ui,qi,Zi,Xi,Ai,kn+4,Fn,Qt)),er.La&&(Ko(en,fn,co,kn,Fn,Qt),qo(Ui,qi,Zi,Xi,Ai,kn,Fn,Qt))}}if(gr.ia&&alert("todo:DitherRow"),dr.put!=null){if(O=16*De,De=16*(De+1),dt?(dr.y=gr.sa,dr.O=gr.ta+Ia,dr.f=gr.qa,dr.N=gr.ra+le,dr.ea=gr.Ha,dr.W=gr.Ia+le):(O-=Sa,dr.y=ri,dr.O=Oi,dr.f=ui,dr.N=on,dr.ea=va,dr.W=zi),Na||(De-=Sa),De>dr.o&&(De=dr.o),dr.F=null,dr.J=null,gr.Fa!=null&&0<gr.Fa.length&&O<De&&(dr.J=nn(gr,dr,O,De-O),dr.F=gr.mb,dr.F==null&&dr.F.length==0)){Cr=Ei(gr,3,"Could not decode alpha data.");break e}O<dr.j&&(Sa=dr.j-O,O=dr.j,xe(!(1&Sa)),dr.O+=gr.R*Sa,dr.N+=gr.B*(Sa>>1),dr.W+=gr.B*(Sa>>1),dr.F!=null&&(dr.J+=dr.width*Sa)),O<De&&(dr.O+=dr.v,dr.N+=dr.v>>1,dr.W+=dr.v>>1,dr.F!=null&&(dr.J+=dr.v),dr.ka=O-dr.j,dr.U=dr.va-dr.v,dr.T=De-O,Cr=dr.put(dr))}Ir+1!=gr.Ic||Na||(ke(gr.sa,gr.ta-Mr,ri,Oi+16*gr.R,Mr),ke(gr.qa,gr.ra-zn,ui,on+8*gr.B,zn),ke(gr.Ha,gr.Ia-zn,va,zi+8*gr.B,zn))}if(!Cr)return Ei(Mt,6,"Output aborted.")}return 1}(me,Pe)),Pe.bc!=null&&Pe.bc(Pe),ut&=1}return ut?(me.cb=0,ut):0}function Ga(me,Pe,ut,Ht,fr){fr=me[Pe+ut+32*Ht]+(fr>>3),me[Pe+ut+32*Ht]=-256&fr?0>fr?0:255:fr}function Ta(me,Pe,ut,Ht,fr,_r){Ga(me,Pe,0,ut,Ht+fr),Ga(me,Pe,1,ut,Ht+_r),Ga(me,Pe,2,ut,Ht-_r),Ga(me,Pe,3,ut,Ht-fr)}function Va(me){return(20091*me>>16)+me}function uo(me,Pe,ut,Ht){var fr,_r=0,Ie=Ke(16);for(fr=0;4>fr;++fr){var ee=me[Pe+0]+me[Pe+8],ye=me[Pe+0]-me[Pe+8],je=(35468*me[Pe+4]>>16)-Va(me[Pe+12]),nt=Va(me[Pe+4])+(35468*me[Pe+12]>>16);Ie[_r+0]=ee+nt,Ie[_r+1]=ye+je,Ie[_r+2]=ye-je,Ie[_r+3]=ee-nt,_r+=4,Pe++}for(fr=_r=0;4>fr;++fr)ee=(me=Ie[_r+0]+4)+Ie[_r+8],ye=me-Ie[_r+8],je=(35468*Ie[_r+4]>>16)-Va(Ie[_r+12]),Ga(ut,Ht,0,0,ee+(nt=Va(Ie[_r+4])+(35468*Ie[_r+12]>>16))),Ga(ut,Ht,1,0,ye+je),Ga(ut,Ht,2,0,ye-je),Ga(ut,Ht,3,0,ee-nt),_r++,Ht+=32}function aa(me,Pe,ut,Ht){var fr=me[Pe+0]+4,_r=35468*me[Pe+4]>>16,Ie=Va(me[Pe+4]),ee=35468*me[Pe+1]>>16;Ta(ut,Ht,0,fr+Ie,me=Va(me[Pe+1]),ee),Ta(ut,Ht,1,fr+_r,me,ee),Ta(ut,Ht,2,fr-_r,me,ee),Ta(ut,Ht,3,fr-Ie,me,ee)}function po(me,Pe,ut,Ht,fr){uo(me,Pe,ut,Ht),fr&&uo(me,Pe+16,ut,Ht+4)}function Ua(me,Pe,ut,Ht){Rs(me,Pe+0,ut,Ht,1),Rs(me,Pe+32,ut,Ht+128,1)}function Da(me,Pe,ut,Ht){var fr;for(me=me[Pe+0]+4,fr=0;4>fr;++fr)for(Pe=0;4>Pe;++Pe)Ga(ut,Ht,Pe,fr,me)}function $a(me,Pe,ut,Ht){me[Pe+0]&&eo(me,Pe+0,ut,Ht),me[Pe+16]&&eo(me,Pe+16,ut,Ht+4),me[Pe+32]&&eo(me,Pe+32,ut,Ht+128),me[Pe+48]&&eo(me,Pe+48,ut,Ht+128+4)}function Ma(me,Pe,ut,Ht){var fr,_r=Ke(16);for(fr=0;4>fr;++fr){var Ie=me[Pe+0+fr]+me[Pe+12+fr],ee=me[Pe+4+fr]+me[Pe+8+fr],ye=me[Pe+4+fr]-me[Pe+8+fr],je=me[Pe+0+fr]-me[Pe+12+fr];_r[0+fr]=Ie+ee,_r[8+fr]=Ie-ee,_r[4+fr]=je+ye,_r[12+fr]=je-ye}for(fr=0;4>fr;++fr)Ie=(me=_r[0+4*fr]+3)+_r[3+4*fr],ee=_r[1+4*fr]+_r[2+4*fr],ye=_r[1+4*fr]-_r[2+4*fr],je=me-_r[3+4*fr],ut[Ht+0]=Ie+ee>>3,ut[Ht+16]=je+ye>>3,ut[Ht+32]=Ie-ee>>3,ut[Ht+48]=je-ye>>3,Ht+=64}function Ka(me,Pe,ut){var Ht,fr=Pe-32,_r=el,Ie=255-me[fr-1];for(Ht=0;Ht<ut;++Ht){var ee,ye=_r,je=Ie+me[Pe-1];for(ee=0;ee<ut;++ee)me[Pe+ee]=ye[je+me[fr+ee]];Pe+=32}}function yo(me,Pe){Ka(me,Pe,4)}function io(me,Pe){Ka(me,Pe,8)}function xo(me,Pe){Ka(me,Pe,16)}function mo(me,Pe){var ut;for(ut=0;16>ut;++ut)ke(me,Pe+32*ut,me,Pe-32,16)}function go(me,Pe){var ut;for(ut=16;0<ut;--ut)Ge(me,Pe,me[Pe-1],16),Pe+=32}function Ya(me,Pe,ut){var Ht;for(Ht=0;16>Ht;++Ht)Ge(Pe,ut+32*Ht,me,16)}function qa(me,Pe){var ut,Ht=16;for(ut=0;16>ut;++ut)Ht+=me[Pe-1+32*ut]+me[Pe+ut-32];Ya(Ht>>5,me,Pe)}function La(me,Pe){var ut,Ht=8;for(ut=0;16>ut;++ut)Ht+=me[Pe-1+32*ut];Ya(Ht>>4,me,Pe)}function oo(me,Pe){var ut,Ht=8;for(ut=0;16>ut;++ut)Ht+=me[Pe+ut-32];Ya(Ht>>4,me,Pe)}function vo(me,Pe){Ya(128,me,Pe)}function Fi(me,Pe,ut){return me+2*Pe+ut+2>>2}function ma(me,Pe){var ut,Ht=Pe-32;for(Ht=new Uint8Array([Fi(me[Ht-1],me[Ht+0],me[Ht+1]),Fi(me[Ht+0],me[Ht+1],me[Ht+2]),Fi(me[Ht+1],me[Ht+2],me[Ht+3]),Fi(me[Ht+2],me[Ht+3],me[Ht+4])]),ut=0;4>ut;++ut)ke(me,Pe+32*ut,Ht,0,Ht.length)}function Mo(me,Pe){var ut=me[Pe-1],Ht=me[Pe-1+32],fr=me[Pe-1+64],_r=me[Pe-1+96];Hi(me,Pe+0,16843009*Fi(me[Pe-1-32],ut,Ht)),Hi(me,Pe+32,16843009*Fi(ut,Ht,fr)),Hi(me,Pe+64,16843009*Fi(Ht,fr,_r)),Hi(me,Pe+96,16843009*Fi(fr,_r,_r))}function zo(me,Pe){var ut,Ht=4;for(ut=0;4>ut;++ut)Ht+=me[Pe+ut-32]+me[Pe-1+32*ut];for(Ht>>=3,ut=0;4>ut;++ut)Ge(me,Pe+32*ut,Ht,4)}function Qo(me,Pe){var ut=me[Pe-1+0],Ht=me[Pe-1+32],fr=me[Pe-1+64],_r=me[Pe-1-32],Ie=me[Pe+0-32],ee=me[Pe+1-32],ye=me[Pe+2-32],je=me[Pe+3-32];me[Pe+0+96]=Fi(Ht,fr,me[Pe-1+96]),me[Pe+1+96]=me[Pe+0+64]=Fi(ut,Ht,fr),me[Pe+2+96]=me[Pe+1+64]=me[Pe+0+32]=Fi(_r,ut,Ht),me[Pe+3+96]=me[Pe+2+64]=me[Pe+1+32]=me[Pe+0+0]=Fi(Ie,_r,ut),me[Pe+3+64]=me[Pe+2+32]=me[Pe+1+0]=Fi(ee,Ie,_r),me[Pe+3+32]=me[Pe+2+0]=Fi(ye,ee,Ie),me[Pe+3+0]=Fi(je,ye,ee)}function Jo(me,Pe){var ut=me[Pe+1-32],Ht=me[Pe+2-32],fr=me[Pe+3-32],_r=me[Pe+4-32],Ie=me[Pe+5-32],ee=me[Pe+6-32],ye=me[Pe+7-32];me[Pe+0+0]=Fi(me[Pe+0-32],ut,Ht),me[Pe+1+0]=me[Pe+0+32]=Fi(ut,Ht,fr),me[Pe+2+0]=me[Pe+1+32]=me[Pe+0+64]=Fi(Ht,fr,_r),me[Pe+3+0]=me[Pe+2+32]=me[Pe+1+64]=me[Pe+0+96]=Fi(fr,_r,Ie),me[Pe+3+32]=me[Pe+2+64]=me[Pe+1+96]=Fi(_r,Ie,ee),me[Pe+3+64]=me[Pe+2+96]=Fi(Ie,ee,ye),me[Pe+3+96]=Fi(ee,ye,ye)}function bo(me,Pe){var ut=me[Pe-1+0],Ht=me[Pe-1+32],fr=me[Pe-1+64],_r=me[Pe-1-32],Ie=me[Pe+0-32],ee=me[Pe+1-32],ye=me[Pe+2-32],je=me[Pe+3-32];me[Pe+0+0]=me[Pe+1+64]=_r+Ie+1>>1,me[Pe+1+0]=me[Pe+2+64]=Ie+ee+1>>1,me[Pe+2+0]=me[Pe+3+64]=ee+ye+1>>1,me[Pe+3+0]=ye+je+1>>1,me[Pe+0+96]=Fi(fr,Ht,ut),me[Pe+0+64]=Fi(Ht,ut,_r),me[Pe+0+32]=me[Pe+1+96]=Fi(ut,_r,Ie),me[Pe+1+32]=me[Pe+2+96]=Fi(_r,Ie,ee),me[Pe+2+32]=me[Pe+3+96]=Fi(Ie,ee,ye),me[Pe+3+32]=Fi(ee,ye,je)}function Ra(me,Pe){var ut=me[Pe+0-32],Ht=me[Pe+1-32],fr=me[Pe+2-32],_r=me[Pe+3-32],Ie=me[Pe+4-32],ee=me[Pe+5-32],ye=me[Pe+6-32],je=me[Pe+7-32];me[Pe+0+0]=ut+Ht+1>>1,me[Pe+1+0]=me[Pe+0+64]=Ht+fr+1>>1,me[Pe+2+0]=me[Pe+1+64]=fr+_r+1>>1,me[Pe+3+0]=me[Pe+2+64]=_r+Ie+1>>1,me[Pe+0+32]=Fi(ut,Ht,fr),me[Pe+1+32]=me[Pe+0+96]=Fi(Ht,fr,_r),me[Pe+2+32]=me[Pe+1+96]=Fi(fr,_r,Ie),me[Pe+3+32]=me[Pe+2+96]=Fi(_r,Ie,ee),me[Pe+3+64]=Fi(Ie,ee,ye),me[Pe+3+96]=Fi(ee,ye,je)}function jo(me,Pe){var ut=me[Pe-1+0],Ht=me[Pe-1+32],fr=me[Pe-1+64],_r=me[Pe-1+96];me[Pe+0+0]=ut+Ht+1>>1,me[Pe+2+0]=me[Pe+0+32]=Ht+fr+1>>1,me[Pe+2+32]=me[Pe+0+64]=fr+_r+1>>1,me[Pe+1+0]=Fi(ut,Ht,fr),me[Pe+3+0]=me[Pe+1+32]=Fi(Ht,fr,_r),me[Pe+3+32]=me[Pe+1+64]=Fi(fr,_r,_r),me[Pe+3+64]=me[Pe+2+64]=me[Pe+0+96]=me[Pe+1+96]=me[Pe+2+96]=me[Pe+3+96]=_r}function hs(me,Pe){var ut=me[Pe-1+0],Ht=me[Pe-1+32],fr=me[Pe-1+64],_r=me[Pe-1+96],Ie=me[Pe-1-32],ee=me[Pe+0-32],ye=me[Pe+1-32],je=me[Pe+2-32];me[Pe+0+0]=me[Pe+2+32]=ut+Ie+1>>1,me[Pe+0+32]=me[Pe+2+64]=Ht+ut+1>>1,me[Pe+0+64]=me[Pe+2+96]=fr+Ht+1>>1,me[Pe+0+96]=_r+fr+1>>1,me[Pe+3+0]=Fi(ee,ye,je),me[Pe+2+0]=Fi(Ie,ee,ye),me[Pe+1+0]=me[Pe+3+32]=Fi(ut,Ie,ee),me[Pe+1+32]=me[Pe+3+64]=Fi(Ht,ut,Ie),me[Pe+1+64]=me[Pe+3+96]=Fi(fr,Ht,ut),me[Pe+1+96]=Fi(_r,fr,Ht)}function Ao(me,Pe){var ut;for(ut=0;8>ut;++ut)ke(me,Pe+32*ut,me,Pe-32,8)}function Io(me,Pe){var ut;for(ut=0;8>ut;++ut)Ge(me,Pe,me[Pe-1],8),Pe+=32}function Xa(me,Pe,ut){var Ht;for(Ht=0;8>Ht;++Ht)Ge(Pe,ut+32*Ht,me,8)}function Yo(me,Pe){var ut,Ht=8;for(ut=0;8>ut;++ut)Ht+=me[Pe+ut-32]+me[Pe-1+32*ut];Xa(Ht>>4,me,Pe)}function pl(me,Pe){var ut,Ht=4;for(ut=0;8>ut;++ut)Ht+=me[Pe+ut-32];Xa(Ht>>3,me,Pe)}function Ls(me,Pe){var ut,Ht=4;for(ut=0;8>ut;++ut)Ht+=me[Pe-1+32*ut];Xa(Ht>>3,me,Pe)}function os(me,Pe){Xa(128,me,Pe)}function _s(me,Pe,ut){var Ht=me[Pe-ut],fr=me[Pe+0],_r=3*(fr-Ht)+Ol[1020+me[Pe-2*ut]-me[Pe+ut]],Ie=$s[112+(_r+4>>3)];me[Pe-ut]=el[255+Ht+$s[112+(_r+3>>3)]],me[Pe+0]=el[255+fr-Ie]}function Ns(me,Pe,ut,Ht){var fr=me[Pe+0],_r=me[Pe+ut];return al[255+me[Pe-2*ut]-me[Pe-ut]]>Ht||al[255+_r-fr]>Ht}function is(me,Pe,ut,Ht){return 4*al[255+me[Pe-ut]-me[Pe+0]]+al[255+me[Pe-2*ut]-me[Pe+ut]]<=Ht}function Wo(me,Pe,ut,Ht,fr){var _r=me[Pe-3*ut],Ie=me[Pe-2*ut],ee=me[Pe-ut],ye=me[Pe+0],je=me[Pe+ut],nt=me[Pe+2*ut],_t=me[Pe+3*ut];return 4*al[255+ee-ye]+al[255+Ie-je]>Ht?0:al[255+me[Pe-4*ut]-_r]<=fr&&al[255+_r-Ie]<=fr&&al[255+Ie-ee]<=fr&&al[255+_t-nt]<=fr&&al[255+nt-je]<=fr&&al[255+je-ye]<=fr}function Co(me,Pe,ut,Ht){var fr=2*Ht+1;for(Ht=0;16>Ht;++Ht)is(me,Pe+Ht,ut,fr)&&_s(me,Pe+Ht,ut)}function ts(me,Pe,ut,Ht){var fr=2*Ht+1;for(Ht=0;16>Ht;++Ht)is(me,Pe+Ht*ut,1,fr)&&_s(me,Pe+Ht*ut,1)}function No(me,Pe,ut,Ht){var fr;for(fr=3;0<fr;--fr)Co(me,Pe+=4*ut,ut,Ht)}function Ho(me,Pe,ut,Ht){var fr;for(fr=3;0<fr;--fr)ts(me,Pe+=4,ut,Ht)}function zr(me,Pe,ut,Ht,fr,_r,Ie,ee){for(_r=2*_r+1;0<fr--;){if(Wo(me,Pe,ut,_r,Ie))if(Ns(me,Pe,ut,ee))_s(me,Pe,ut);else{var ye=me,je=Pe,nt=ut,_t=ye[je-2*nt],Nt=ye[je-nt],Mt=ye[je+0],vr=ye[je+nt],Ir=ye[je+2*nt],gr=27*(Cr=Ol[1020+3*(Mt-Nt)+Ol[1020+_t-vr]])+63>>7,dr=18*Cr+63>>7,Cr=9*Cr+63>>7;ye[je-3*nt]=el[255+ye[je-3*nt]+Cr],ye[je-2*nt]=el[255+_t+dr],ye[je-nt]=el[255+Nt+gr],ye[je+0]=el[255+Mt-gr],ye[je+nt]=el[255+vr-dr],ye[je+2*nt]=el[255+Ir-Cr]}Pe+=Ht}}function Si(me,Pe,ut,Ht,fr,_r,Ie,ee){for(_r=2*_r+1;0<fr--;){if(Wo(me,Pe,ut,_r,Ie))if(Ns(me,Pe,ut,ee))_s(me,Pe,ut);else{var ye=me,je=Pe,nt=ut,_t=ye[je-nt],Nt=ye[je+0],Mt=ye[je+nt],vr=$s[112+((Ir=3*(Nt-_t))+4>>3)],Ir=$s[112+(Ir+3>>3)],gr=vr+1>>1;ye[je-2*nt]=el[255+ye[je-2*nt]+gr],ye[je-nt]=el[255+_t+Ir],ye[je+0]=el[255+Nt-vr],ye[je+nt]=el[255+Mt-gr]}Pe+=Ht}}function Ps(me,Pe,ut,Ht,fr,_r){zr(me,Pe,ut,1,16,Ht,fr,_r)}function Vs(me,Pe,ut,Ht,fr,_r){zr(me,Pe,1,ut,16,Ht,fr,_r)}function Ms(me,Pe,ut,Ht,fr,_r){var Ie;for(Ie=3;0<Ie;--Ie)Si(me,Pe+=4*ut,ut,1,16,Ht,fr,_r)}function so(me,Pe,ut,Ht,fr,_r){var Ie;for(Ie=3;0<Ie;--Ie)Si(me,Pe+=4,1,ut,16,Ht,fr,_r)}function wo(me,Pe,ut,Ht,fr,_r,Ie,ee){zr(me,Pe,fr,1,8,_r,Ie,ee),zr(ut,Ht,fr,1,8,_r,Ie,ee)}function Vo(me,Pe,ut,Ht,fr,_r,Ie,ee){zr(me,Pe,1,fr,8,_r,Ie,ee),zr(ut,Ht,1,fr,8,_r,Ie,ee)}function Zo(me,Pe,ut,Ht,fr,_r,Ie,ee){Si(me,Pe+4*fr,fr,1,8,_r,Ie,ee),Si(ut,Ht+4*fr,fr,1,8,_r,Ie,ee)}function As(me,Pe,ut,Ht,fr,_r,Ie,ee){Si(me,Pe+4,1,fr,8,_r,Ie,ee),Si(ut,Ht+4,1,fr,8,_r,Ie,ee)}function ws(){this.ba=new qn,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 Ss(){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 Qs(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Hs(){this.ua=0,this.Wa=new Ni,this.vb=new Ni,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new li,this.yc=new En}function Ys(){this.xb=this.a=0,this.l=new ka,this.ca=new qn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Ur,this.Pb=0,this.wd=new Ur,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Hs,this.ab=0,this.gc=Je(4,Qs),this.Oc=0}function Ds(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ka,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function rs(me,Pe,ut,Ht,fr,_r,Ie){for(me=me==null?0:me[Pe+0],Pe=0;Pe<Ie;++Pe)fr[_r+Pe]=me+ut[Ht+Pe]&255,me=fr[_r+Pe]}function xt(me,Pe,ut,Ht,fr,_r,Ie){var ee;if(me==null)rs(null,null,ut,Ht,fr,_r,Ie);else for(ee=0;ee<Ie;++ee)fr[_r+ee]=me[Pe+ee]+ut[Ht+ee]&255}function Ot(me,Pe,ut,Ht,fr,_r,Ie){if(me==null)rs(null,null,ut,Ht,fr,_r,Ie);else{var ee,ye=me[Pe+0],je=ye,nt=ye;for(ee=0;ee<Ie;++ee)je=nt+(ye=me[Pe+ee])-je,nt=ut[Ht+ee]+(-256&je?0>je?0:255:je)&255,je=ye,fr[_r+ee]=nt}}function nn(me,Pe,ut,Ht){var fr=Pe.width,_r=Pe.o;if(xe(me!=null&&Pe!=null),0>ut||0>=Ht||ut+Ht>_r)return null;if(!me.Cc){if(me.ga==null){var Ie;if(me.ga=new Ds,(Ie=me.ga==null)||(Ie=Pe.width*Pe.o,xe(me.Gb.length==0),me.Gb=Ke(Ie),me.Uc=0,me.Gb==null?Ie=0:(me.mb=me.Gb,me.nb=me.Uc,me.rc=null,Ie=1),Ie=!Ie),!Ie){Ie=me.ga;var ee=me.Fa,ye=me.P,je=me.qc,nt=me.mb,_t=me.nb,Nt=ye+1,Mt=je-1,vr=Ie.l;if(xe(ee!=null&&nt!=null&&Pe!=null),El[0]=null,El[1]=rs,El[2]=xt,El[3]=Ot,Ie.ca=nt,Ie.tb=_t,Ie.c=Pe.width,Ie.i=Pe.height,xe(0<Ie.c&&0<Ie.i),1>=je)Pe=0;else if(Ie.$a=ee[ye+0]>>0&3,Ie.Z=ee[ye+0]>>2&3,Ie.Lc=ee[ye+0]>>4&3,ye=ee[ye+0]>>6&3,0>Ie.$a||1<Ie.$a||4<=Ie.Z||1<Ie.Lc||ye)Pe=0;else if(vr.put=Di,vr.ac=Ti,vr.bc=Pn,vr.ma=Ie,vr.width=Pe.width,vr.height=Pe.height,vr.Da=Pe.Da,vr.v=Pe.v,vr.va=Pe.va,vr.j=Pe.j,vr.o=Pe.o,Ie.$a)e:{xe(Ie.$a==1),Pe=yn();t:for(;;){if(Pe==null){Pe=0;break e}if(xe(Ie!=null),Ie.mc=Pe,Pe.c=Ie.c,Pe.i=Ie.i,Pe.l=Ie.l,Pe.l.ma=Ie,Pe.l.width=Ie.c,Pe.l.height=Ie.i,Pe.a=0,ki(Pe.m,ee,Nt,Mt),!Bn(Ie.c,Ie.i,1,Pe,null))break t;if(Pe.ab==1&&Pe.gc[0].hc==3&&rr(Pe.s)?(Ie.ic=1,ee=Pe.c*Pe.i,Pe.Ta=null,Pe.Ua=0,Pe.V=Ke(ee),Pe.Ba=0,Pe.V==null?(Pe.a=1,Pe=0):Pe=1):(Ie.ic=0,Pe=Gn(Pe,Ie.c)),!Pe)break t;Pe=1;break e}Ie.mc=null,Pe=0}else Pe=Mt>=Ie.c*Ie.i;Ie=!Pe}if(Ie)return null;me.ga.Lc!=1?me.Ga=0:Ht=_r-ut}xe(me.ga!=null),xe(ut+Ht<=_r);e:{if(Pe=(ee=me.ga).c,_r=ee.l.o,ee.$a==0){if(Nt=me.rc,Mt=me.Vc,vr=me.Fa,ye=me.P+1+ut*Pe,je=me.mb,nt=me.nb+ut*Pe,xe(ye<=me.P+me.qc),ee.Z!=0)for(xe(El[ee.Z]!=null),Ie=0;Ie<Ht;++Ie)El[ee.Z](Nt,Mt,vr,ye,je,nt,Pe),Nt=je,Mt=nt,nt+=Pe,ye+=Pe;else for(Ie=0;Ie<Ht;++Ie)ke(je,nt,vr,ye,Pe),Nt=je,Mt=nt,nt+=Pe,ye+=Pe;me.rc=Nt,me.Vc=Mt}else{if(xe(ee.mc!=null),Pe=ut+Ht,xe((Ie=ee.mc)!=null),xe(Pe<=Ie.i),Ie.C>=Pe)Pe=1;else if(ee.ic||Ae(),ee.ic){ee=Ie.V,Nt=Ie.Ba,Mt=Ie.c;var Ir=Ie.i,gr=(vr=1,ye=Ie.$/Mt,je=Ie.$%Mt,nt=Ie.m,_t=Ie.s,Ie.$),dr=Mt*Ir,Cr=Mt*Pe,Mr=_t.wc,on=gr<Cr?Nr(_t,je,ye):null;xe(gr<=dr),xe(Pe<=Ir),xe(rr(_t));t:for(;;){for(;!nt.h&&gr<Cr;){if(je&Mr||(on=Nr(_t,je,ye)),xe(on!=null),ti(nt),256>(Ir=Dr(on.G[0],on.H[0],nt)))ee[Nt+gr]=Ir,++gr,++je>=Mt&&(je=0,++ye<=Pe&&!(ye%16)&&kr(Ie,ye));else{if(!(280>Ir)){vr=0;break t}Ir=ji(Ir-256,nt);var zn,ri=Dr(on.G[4],on.H[4],nt);if(ti(nt),!(gr>=(ri=mr(Mt,ri=ji(ri,nt)))&&dr-gr>=Ir)){vr=0;break t}for(zn=0;zn<Ir;++zn)ee[Nt+gr+zn]=ee[Nt+gr+zn-ri];for(gr+=Ir,je+=Ir;je>=Mt;)je-=Mt,++ye<=Pe&&!(ye%16)&&kr(Ie,ye);gr<Cr&&je&Mr&&(on=Nr(_t,je,ye))}xe(nt.h==Un(nt))}kr(Ie,ye>Pe?Pe:ye);break t}!vr||nt.h&&gr<dr?(vr=0,Ie.a=nt.h?5:3):Ie.$=gr,Pe=vr}else Pe=dn(Ie,Ie.V,Ie.Ba,Ie.c,Ie.i,Pe,ei);if(!Pe){Ht=0;break e}}ut+Ht>=_r&&(me.Cc=1),Ht=1}if(!Ht)return null;if(me.Cc&&((Ht=me.ga)!=null&&(Ht.mc=null),me.ga=null,0<me.Ga))return alert("todo:WebPDequantizeLevels"),null}return me.nb+ut*fr}function On(me,Pe,ut,Ht,fr,_r){for(;0<fr--;){var Ie,ee=me,ye=Pe+(ut?1:0),je=me,nt=Pe+(ut?0:3);for(Ie=0;Ie<Ht;++Ie){var _t=je[nt+4*Ie];_t!=255&&(_t*=32897,ee[ye+4*Ie+0]=ee[ye+4*Ie+0]*_t>>23,ee[ye+4*Ie+1]=ee[ye+4*Ie+1]*_t>>23,ee[ye+4*Ie+2]=ee[ye+4*Ie+2]*_t>>23)}Pe+=_r}}function $n(me,Pe,ut,Ht,fr){for(;0<Ht--;){var _r;for(_r=0;_r<ut;++_r){var Ie=me[Pe+2*_r+0],ee=15&(je=me[Pe+2*_r+1]),ye=4369*ee,je=(240&je|je>>4)*ye>>16;me[Pe+2*_r+0]=(240&Ie|Ie>>4)*ye>>16&240|(15&Ie|Ie<<4)*ye>>16>>4&15,me[Pe+2*_r+1]=240&je|ee}Pe+=fr}}function ft(me,Pe,ut,Ht,fr,_r,Ie,ee){var ye,je,nt=255;for(je=0;je<fr;++je){for(ye=0;ye<Ht;++ye){var _t=me[Pe+ye];_r[Ie+4*ye]=_t,nt&=_t}Pe+=ut,Ie+=ee}return nt!=255}function oe(me,Pe,ut,Ht,fr){var _r;for(_r=0;_r<fr;++_r)ut[Ht+_r]=me[Pe+_r]>>8}function Ae(){Zl=On,bc=$n,ul=ft,Il=oe}function we(me,Pe,ut){Dn[me]=function(Ht,fr,_r,Ie,ee,ye,je,nt,_t,Nt,Mt,vr,Ir,gr,dr,Cr,Mr){var on,zn=Mr-1>>1,ri=ee[ye+0]|je[nt+0]<<16,Oi=_t[Nt+0]|Mt[vr+0]<<16;xe(Ht!=null);var ui=3*ri+Oi+131074>>2;for(Pe(Ht[fr+0],255&ui,ui>>16,Ir,gr),_r!=null&&(ui=3*Oi+ri+131074>>2,Pe(_r[Ie+0],255&ui,ui>>16,dr,Cr)),on=1;on<=zn;++on){var va=ee[ye+on]|je[nt+on]<<16,zi=_t[Nt+on]|Mt[vr+on]<<16,Na=ri+va+Oi+zi+524296,Sa=Na+2*(va+Oi)>>3;ui=Sa+ri>>1,ri=(Na=Na+2*(ri+zi)>>3)+va>>1,Pe(Ht[fr+2*on-1],255&ui,ui>>16,Ir,gr+(2*on-1)*ut),Pe(Ht[fr+2*on-0],255&ri,ri>>16,Ir,gr+(2*on-0)*ut),_r!=null&&(ui=Na+Oi>>1,ri=Sa+zi>>1,Pe(_r[Ie+2*on-1],255&ui,ui>>16,dr,Cr+(2*on-1)*ut),Pe(_r[Ie+2*on+0],255&ri,ri>>16,dr,Cr+(2*on+0)*ut)),ri=va,Oi=zi}1&Mr||(ui=3*ri+Oi+131074>>2,Pe(Ht[fr+Mr-1],255&ui,ui>>16,Ir,gr+(Mr-1)*ut),_r!=null&&(ui=3*Oi+ri+131074>>2,Pe(_r[Ie+Mr-1],255&ui,ui>>16,dr,Cr+(Mr-1)*ut)))}}function Be(){ml[Kl]=Cc,ml[Jl]=Kc,ml[sc]=Hc,ml[zl]=_c,ml[Ll]=Tc,ml[lc]=zc,ml[$l]=fc,ml[cc]=Kc,ml[Al]=_c,ml[wl]=Tc,ml[Nl]=zc}function st(me){return me&~$c?0>me?0:255:me>>Ic}function Bt(me,Pe){return st((19077*me>>8)+(26149*Pe>>8)-14234)}function wr(me,Pe,ut){return st((19077*me>>8)-(6419*Pe>>8)-(13320*ut>>8)+8708)}function Tr(me,Pe){return st((19077*me>>8)+(33050*Pe>>8)-17685)}function tn(me,Pe,ut,Ht,fr){Ht[fr+0]=Bt(me,ut),Ht[fr+1]=wr(me,Pe,ut),Ht[fr+2]=Tr(me,Pe)}function _n(me,Pe,ut,Ht,fr){Ht[fr+0]=Tr(me,Pe),Ht[fr+1]=wr(me,Pe,ut),Ht[fr+2]=Bt(me,ut)}function jn(me,Pe,ut,Ht,fr){var _r=wr(me,Pe,ut);Pe=_r<<3&224|Tr(me,Pe)>>3,Ht[fr+0]=248&Bt(me,ut)|_r>>5,Ht[fr+1]=Pe}function fi(me,Pe,ut,Ht,fr){var _r=240&Tr(me,Pe)|15;Ht[fr+0]=240&Bt(me,ut)|wr(me,Pe,ut)>>4,Ht[fr+1]=_r}function Ii(me,Pe,ut,Ht,fr){Ht[fr+0]=255,tn(me,Pe,ut,Ht,fr+1)}function Vi(me,Pe,ut,Ht,fr){_n(me,Pe,ut,Ht,fr),Ht[fr+3]=255}function sa(me,Pe,ut,Ht,fr){tn(me,Pe,ut,Ht,fr),Ht[fr+3]=255}function Yi(me,Pe){return 0>me?0:me>Pe?Pe:me}function wa(me,Pe,ut){Dn[me]=function(Ht,fr,_r,Ie,ee,ye,je,nt,_t){for(var Nt=nt+(-2&_t)*ut;nt!=Nt;)Pe(Ht[fr+0],_r[Ie+0],ee[ye+0],je,nt),Pe(Ht[fr+1],_r[Ie+0],ee[ye+0],je,nt+ut),fr+=2,++Ie,++ye,nt+=2*ut;1&_t&&Pe(Ht[fr+0],_r[Ie+0],ee[ye+0],je,nt)}}function Za(me,Pe,ut){return ut==0?me==0?Pe==0?6:5:Pe==0?4:0:ut}function to(me,Pe,ut,Ht,fr){switch(me>>>30){case 3:Rs(Pe,ut,Ht,fr,0);break;case 2:Ks(Pe,ut,Ht,fr);break;case 1:eo(Pe,ut,Ht,fr)}}function lo(me,Pe){var ut,Ht,fr=Pe.M,_r=Pe.Nb,Ie=me.oc,ee=me.pc+40,ye=me.oc,je=me.pc+584,nt=me.oc,_t=me.pc+600;for(ut=0;16>ut;++ut)Ie[ee+32*ut-1]=129;for(ut=0;8>ut;++ut)ye[je+32*ut-1]=129,nt[_t+32*ut-1]=129;for(0<fr?Ie[ee-1-32]=ye[je-1-32]=nt[_t-1-32]=129:(Ge(Ie,ee-32-1,127,21),Ge(ye,je-32-1,127,9),Ge(nt,_t-32-1,127,9)),Ht=0;Ht<me.za;++Ht){var Nt=Pe.ya[Pe.aa+Ht];if(0<Ht){for(ut=-1;16>ut;++ut)ke(Ie,ee+32*ut-4,Ie,ee+32*ut+12,4);for(ut=-1;8>ut;++ut)ke(ye,je+32*ut-4,ye,je+32*ut+4,4),ke(nt,_t+32*ut-4,nt,_t+32*ut+4,4)}var Mt=me.Gd,vr=me.Hd+Ht,Ir=Nt.ad,gr=Nt.Hc;if(0<fr&&(ke(Ie,ee-32,Mt[vr].y,0,16),ke(ye,je-32,Mt[vr].f,0,8),ke(nt,_t-32,Mt[vr].ea,0,8)),Nt.Za){var dr=Ie,Cr=ee-32+16;for(0<fr&&(Ht>=me.za-1?Ge(dr,Cr,Mt[vr].y[15],4):ke(dr,Cr,Mt[vr+1].y,0,4)),ut=0;4>ut;ut++)dr[Cr+128+ut]=dr[Cr+256+ut]=dr[Cr+384+ut]=dr[Cr+0+ut];for(ut=0;16>ut;++ut,gr<<=2)dr=Ie,Cr=ee+mc[ut],nl[Nt.Ob[ut]](dr,Cr),to(gr,Ir,16*+ut,dr,Cr)}else if(dr=Za(Ht,fr,Nt.Ob[0]),ms[dr](Ie,ee),gr!=0)for(ut=0;16>ut;++ut,gr<<=2)to(gr,Ir,16*+ut,Ie,ee+mc[ut]);for(ut=Nt.Gc,dr=Za(Ht,fr,Nt.Dd),xl[dr](ye,je),xl[dr](nt,_t),gr=Ir,dr=ye,Cr=je,255&(Nt=ut>>0)&&(170&Nt?zs(gr,256,dr,Cr):ga(gr,256,dr,Cr)),Nt=nt,gr=_t,255&(ut>>=8)&&(170&ut?zs(Ir,320,Nt,gr):ga(Ir,320,Nt,gr)),fr<me.Ub-1&&(ke(Mt[vr].y,0,Ie,ee+480,16),ke(Mt[vr].f,0,ye,je+224,8),ke(Mt[vr].ea,0,nt,_t+224,8)),ut=8*_r*me.B,Mt=me.sa,vr=me.ta+16*Ht+16*_r*me.R,Ir=me.qa,Nt=me.ra+8*Ht+ut,gr=me.Ha,dr=me.Ia+8*Ht+ut,ut=0;16>ut;++ut)ke(Mt,vr+ut*me.R,Ie,ee+32*ut,16);for(ut=0;8>ut;++ut)ke(Ir,Nt+ut*me.B,ye,je+32*ut,8),ke(gr,dr+ut*me.B,nt,_t+32*ut,8)}}function _o(me,Pe,ut,Ht,fr,_r,Ie,ee,ye){var je=[0],nt=[0],_t=0,Nt=ye!=null?ye.kd:0,Mt=ye!=null?ye:new Ss;if(me==null||12>ut)return 7;Mt.data=me,Mt.w=Pe,Mt.ha=ut,Pe=[Pe],ut=[ut],Mt.gb=[Mt.gb];e:{var vr=Pe,Ir=ut,gr=Mt.gb;if(xe(me!=null),xe(Ir!=null),xe(gr!=null),gr[0]=0,12<=Ir[0]&&!Me(me,vr[0],"RIFF")){if(Me(me,vr[0]+8,"WEBP")){gr=3;break e}var dr=ro(me,vr[0]+4);if(12>dr||4294967286<dr){gr=3;break e}if(Nt&&dr>Ir[0]-8){gr=7;break e}gr[0]=dr,vr[0]+=12,Ir[0]-=12}gr=0}if(gr!=0)return gr;for(dr=0<Mt.gb[0],ut=ut[0];;){e:{var Cr=me;Ir=Pe,gr=ut;var Mr=je,on=nt,zn=vr=[0];if((ui=_t=[_t])[0]=0,8>gr[0])gr=7;else{if(!Me(Cr,Ir[0],"VP8X")){if(ro(Cr,Ir[0]+4)!=10){gr=3;break e}if(18>gr[0]){gr=7;break e}var ri=ro(Cr,Ir[0]+8),Oi=1+$i(Cr,Ir[0]+12);if(2147483648<=Oi*(Cr=1+$i(Cr,Ir[0]+15))){gr=3;break e}zn!=null&&(zn[0]=ri),Mr!=null&&(Mr[0]=Oi),on!=null&&(on[0]=Cr),Ir[0]+=18,gr[0]-=18,ui[0]=1}gr=0}}if(_t=_t[0],vr=vr[0],gr!=0)return gr;if(Ir=!!(2&vr),!dr&&_t)return 3;if(_r!=null&&(_r[0]=!!(16&vr)),Ie!=null&&(Ie[0]=Ir),ee!=null&&(ee[0]=0),Ie=je[0],vr=nt[0],_t&&Ir&&ye==null){gr=0;break}if(4>ut){gr=7;break}if(dr&&_t||!dr&&!_t&&!Me(me,Pe[0],"ALPH")){ut=[ut],Mt.na=[Mt.na],Mt.P=[Mt.P],Mt.Sa=[Mt.Sa];e:{ri=me,gr=Pe,dr=ut;var ui=Mt.gb;Mr=Mt.na,on=Mt.P,zn=Mt.Sa,Oi=22,xe(ri!=null),xe(dr!=null),Cr=gr[0];var va=dr[0];for(xe(Mr!=null),xe(zn!=null),Mr[0]=null,on[0]=null,zn[0]=0;;){if(gr[0]=Cr,dr[0]=va,8>va){gr=7;break e}var zi=ro(ri,Cr+4);if(4294967286<zi){gr=3;break e}var Na=8+zi+1&-2;if(Oi+=Na,0<ui&&Oi>ui){gr=3;break e}if(!Me(ri,Cr,"VP8 ")||!Me(ri,Cr,"VP8L")){gr=0;break e}if(va[0]<Na){gr=7;break e}Me(ri,Cr,"ALPH")||(Mr[0]=ri,on[0]=Cr+8,zn[0]=zi),Cr+=Na,va-=Na}}if(ut=ut[0],Mt.na=Mt.na[0],Mt.P=Mt.P[0],Mt.Sa=Mt.Sa[0],gr!=0)break}ut=[ut],Mt.Ja=[Mt.Ja],Mt.xa=[Mt.xa];e:if(ui=me,gr=Pe,dr=ut,Mr=Mt.gb[0],on=Mt.Ja,zn=Mt.xa,ri=gr[0],Cr=!Me(ui,ri,"VP8 "),Oi=!Me(ui,ri,"VP8L"),xe(ui!=null),xe(dr!=null),xe(on!=null),xe(zn!=null),8>dr[0])gr=7;else{if(Cr||Oi){if(ui=ro(ui,ri+4),12<=Mr&&ui>Mr-12){gr=3;break e}if(Nt&&ui>dr[0]-8){gr=7;break e}on[0]=ui,gr[0]+=8,dr[0]-=8,zn[0]=Oi}else zn[0]=5<=dr[0]&&ui[ri+0]==47&&!(ui[ri+4]>>5),on[0]=dr[0];gr=0}if(ut=ut[0],Mt.Ja=Mt.Ja[0],Mt.xa=Mt.xa[0],Pe=Pe[0],gr!=0)break;if(4294967286<Mt.Ja)return 3;if(ee==null||Ir||(ee[0]=Mt.xa?2:1),Ie=[Ie],vr=[vr],Mt.xa){if(5>ut){gr=7;break}ee=Ie,Nt=vr,Ir=_r,me==null||5>ut?me=0:5<=ut&&me[Pe+0]==47&&!(me[Pe+4]>>5)?(dr=[0],ui=[0],Mr=[0],ki(on=new Ur,me,Pe,ut),_i(on,dr,ui,Mr)?(ee!=null&&(ee[0]=dr[0]),Nt!=null&&(Nt[0]=ui[0]),Ir!=null&&(Ir[0]=Mr[0]),me=1):me=0):me=0}else{if(10>ut){gr=7;break}ee=vr,me==null||10>ut||!ca(me,Pe+3,ut-3)?me=0:(Nt=me[Pe+0]|me[Pe+1]<<8|me[Pe+2]<<16,Ir=16383&(me[Pe+7]<<8|me[Pe+6]),me=16383&(me[Pe+9]<<8|me[Pe+8]),1&Nt||3<(Nt>>1&7)||!(Nt>>4&1)||Nt>>5>=Mt.Ja||!Ir||!me?me=0:(Ie&&(Ie[0]=Ir),ee&&(ee[0]=me),me=1))}if(!me)return 3;if(Ie=Ie[0],vr=vr[0],_t&&(je[0]!=Ie||nt[0]!=vr))return 3;ye!=null&&(ye[0]=Mt,ye.offset=Pe-ye.w,xe(4294967286>Pe-ye.w),xe(ye.offset==ye.ha-ut));break}return gr==0||gr==7&&_t&&ye==null?(_r!=null&&(_r[0]|=Mt.na!=null&&0<Mt.na.length),Ht!=null&&(Ht[0]=Ie),fr!=null&&(fr[0]=vr),0):gr}function ao(me,Pe,ut){var Ht=Pe.width,fr=Pe.height,_r=0,Ie=0,ee=Ht,ye=fr;if(Pe.Da=me!=null&&0<me.Da,Pe.Da&&(ee=me.cd,ye=me.bd,_r=me.v,Ie=me.j,11>ut||(_r&=-2,Ie&=-2),0>_r||0>Ie||0>=ee||0>=ye||_r+ee>Ht||Ie+ye>fr))return 0;if(Pe.v=_r,Pe.j=Ie,Pe.va=_r+ee,Pe.o=Ie+ye,Pe.U=ee,Pe.T=ye,Pe.da=me!=null&&0<me.da,Pe.da){if(!Gi(ee,ye,ut=[me.ib],_r=[me.hb]))return 0;Pe.ib=ut[0],Pe.hb=_r[0]}return Pe.ob=me!=null&&me.ob,Pe.Kb=me==null||!me.Sd,Pe.da&&(Pe.ob=Pe.ib<3*Ht/4&&Pe.hb<3*fr/4,Pe.Kb=0),1}function Do(me){if(me==null)return 2;if(11>me.S){var Pe=me.f.RGBA;Pe.fb+=(me.height-1)*Pe.A,Pe.A=-Pe.A}else Pe=me.f.kb,me=me.height,Pe.O+=(me-1)*Pe.fa,Pe.fa=-Pe.fa,Pe.N+=(me-1>>1)*Pe.Ab,Pe.Ab=-Pe.Ab,Pe.W+=(me-1>>1)*Pe.Db,Pe.Db=-Pe.Db,Pe.F!=null&&(Pe.J+=(me-1)*Pe.lb,Pe.lb=-Pe.lb);return 0}function Ja(me,Pe,ut,Ht){if(Ht==null||0>=me||0>=Pe)return 2;if(ut!=null){if(ut.Da){var fr=ut.cd,_r=ut.bd,Ie=-2&ut.v,ee=-2&ut.j;if(0>Ie||0>ee||0>=fr||0>=_r||Ie+fr>me||ee+_r>Pe)return 2;me=fr,Pe=_r}if(ut.da){if(!Gi(me,Pe,fr=[ut.ib],_r=[ut.hb]))return 2;me=fr[0],Pe=_r[0]}}Ht.width=me,Ht.height=Pe;e:{var ye=Ht.width,je=Ht.height;if(me=Ht.S,0>=ye||0>=je||!(me>=Kl&&13>me))me=2;else{if(0>=Ht.Rd&&Ht.sd==null){Ie=_r=fr=Pe=0;var nt=(ee=ye*ac[me])*je;if(11>me||(_r=(je+1)/2*(Pe=(ye+1)/2),me==12&&(Ie=(fr=ye)*je)),(je=Ke(nt+2*_r+Ie))==null){me=1;break e}Ht.sd=je,11>me?((ye=Ht.f.RGBA).eb=je,ye.fb=0,ye.A=ee,ye.size=nt):((ye=Ht.f.kb).y=je,ye.O=0,ye.fa=ee,ye.Fd=nt,ye.f=je,ye.N=0+nt,ye.Ab=Pe,ye.Cd=_r,ye.ea=je,ye.W=0+nt+_r,ye.Db=Pe,ye.Ed=_r,me==12&&(ye.F=je,ye.J=0+nt+2*_r),ye.Tc=Ie,ye.lb=fr)}if(Pe=1,fr=Ht.S,_r=Ht.width,Ie=Ht.height,fr>=Kl&&13>fr)if(11>fr)me=Ht.f.RGBA,Pe&=(ee=Math.abs(me.A))*(Ie-1)+_r<=me.size,Pe&=ee>=_r*ac[fr],Pe&=me.eb!=null;else{me=Ht.f.kb,ee=(_r+1)/2,nt=(Ie+1)/2,ye=Math.abs(me.fa),je=Math.abs(me.Ab);var _t=Math.abs(me.Db),Nt=Math.abs(me.lb),Mt=Nt*(Ie-1)+_r;Pe&=ye*(Ie-1)+_r<=me.Fd,Pe&=je*(nt-1)+ee<=me.Cd,Pe=(Pe&=_t*(nt-1)+ee<=me.Ed)&ye>=_r&je>=ee&_t>=ee,Pe&=me.y!=null,Pe&=me.f!=null,Pe&=me.ea!=null,fr==12&&(Pe&=Nt>=_r,Pe&=Mt<=me.Tc,Pe&=me.F!=null)}else Pe=0;me=Pe?0:2}}return me!=0||ut!=null&&ut.fd&&(me=Do(Ht)),me}var Eo=64,fs=[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],Oo=24,Lo=32,vs=8,Fs=[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"),Dn.Predictor0=function(){return 4278190080},Dn.Predictor1=function(me){return me},Dn.Predictor2=function(me,Pe,ut){return Pe[ut+0]},Dn.Predictor3=function(me,Pe,ut){return Pe[ut+1]},Dn.Predictor4=function(me,Pe,ut){return Pe[ut-1]},Dn.Predictor5=function(me,Pe,ut){return rn(rn(me,Pe[ut+1]),Pe[ut+0])},Dn.Predictor6=function(me,Pe,ut){return rn(me,Pe[ut-1])},Dn.Predictor7=function(me,Pe,ut){return rn(me,Pe[ut+0])},Dn.Predictor8=function(me,Pe,ut){return rn(Pe[ut-1],Pe[ut+0])},Dn.Predictor9=function(me,Pe,ut){return rn(Pe[ut+0],Pe[ut+1])},Dn.Predictor10=function(me,Pe,ut){return rn(rn(me,Pe[ut-1]),rn(Pe[ut+0],Pe[ut+1]))},Dn.Predictor11=function(me,Pe,ut){var Ht=Pe[ut+0];return 0>=Dt(Ht>>24&255,me>>24&255,(Pe=Pe[ut-1])>>24&255)+Dt(Ht>>16&255,me>>16&255,Pe>>16&255)+Dt(Ht>>8&255,me>>8&255,Pe>>8&255)+Dt(255&Ht,255&me,255&Pe)?Ht:me},Dn.Predictor12=function(me,Pe,ut){var Ht=Pe[ut+0];return(pn((me>>24&255)+(Ht>>24&255)-((Pe=Pe[ut-1])>>24&255))<<24|pn((me>>16&255)+(Ht>>16&255)-(Pe>>16&255))<<16|pn((me>>8&255)+(Ht>>8&255)-(Pe>>8&255))<<8|pn((255&me)+(255&Ht)-(255&Pe)))>>>0},Dn.Predictor13=function(me,Pe,ut){var Ht=Pe[ut-1];return(Qe((me=rn(me,Pe[ut+0]))>>24&255,Ht>>24&255)<<24|Qe(me>>16&255,Ht>>16&255)<<16|Qe(me>>8&255,Ht>>8&255)<<8|Qe(me>>0&255,Ht>>0&255))>>>0};var ss=Dn.PredictorAdd0;Dn.PredictorAdd1=ur,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 Fo=Dn.PredictorAdd2;Hr("ColorIndexInverseTransform","MapARGB","32b",function(me){return me>>8&255},function(me){return me}),Hr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(me){return me},function(me){return me>>8&255});var Zs,xs=Dn.ColorIndexInverseTransform,ll=Dn.MapARGB,Js=Dn.VP8LColorIndexInverseTransformAlpha,ps=Dn.MapAlpha,Xo=Dn.VP8LPredictorsAdd=[];Xo.length=16,(Dn.VP8LPredictors=[]).length=16,(Dn.VP8LPredictorsAdd_C=[]).length=16,(Dn.VP8LPredictors_C=[]).length=16;var oa,Xs,rl,Bs,Es,cl,Gs,Rs,Ks,zs,eo,ga,Ba,ho,Bo,Ts,Ko,To,qo,Ro,cs,ys,yl,Yl,Zl,bc,ul,Il,Bl=Ke(511),Bc=Ke(2041),wc=Ke(225),kc=Ke(767),Pc=0,Ol=Bc,$s=wc,el=kc,al=Bl,Kl=0,Jl=1,sc=2,zl=3,Ll=4,lc=5,$l=6,cc=7,Al=8,wl=9,Nl=10,ql=[2,3,7],Sl=[3,3,11],Uc=[280,256,256,256,40],dl=[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],jc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],uc=8,Dl=[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],Rl=[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],kl=null,Sc=[[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]],xc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dc=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Pl=[[[[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]]]],hc=[[[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]]],tc=[[[[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]]]],Ec=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ms=[],nl=[],xl=[],rc=1,nc=2,El=[],ml=[];we("UpsampleRgbLinePair",tn,3),we("UpsampleBgrLinePair",_n,3),we("UpsampleRgbaLinePair",sa,4),we("UpsampleBgraLinePair",Vi,4),we("UpsampleArgbLinePair",Ii,4),we("UpsampleRgba4444LinePair",fi,2),we("UpsampleRgb565LinePair",jn,2);var Cc=Dn.UpsampleRgbLinePair,Hc=Dn.UpsampleBgrLinePair,Kc=Dn.UpsampleRgbaLinePair,_c=Dn.UpsampleBgraLinePair,Tc=Dn.UpsampleArgbLinePair,zc=Dn.UpsampleRgba4444LinePair,fc=Dn.UpsampleRgb565LinePair,Cl=16,_l=1<<Cl-1,Wl=-227,Ul=482,Ic=6,$c=(256<<Ic)-1,Wc=0,qc=Ke(256),Vl=Ke(256),pc=Ke(256),eu=Ke(256),Oc=Ke(Ul-Wl),ic=Ke(Ul-Wl);wa("YuvToRgbRow",tn,3),wa("YuvToBgrRow",_n,3),wa("YuvToRgbaRow",sa,4),wa("YuvToBgraRow",Vi,4),wa("YuvToArgbRow",Ii,4),wa("YuvToRgba4444Row",fi,2),wa("YuvToRgb565Row",jn,2);var mc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Xl=[0,2,8],Lc=[8,7,6,4,4,2,2,2,1,1,1,1],Gl=1;this.WebPDecodeRGBA=function(me,Pe,ut,Ht,fr){var _r=Jl,Ie=new ws,ee=new qn;Ie.ba=ee,ee.S=_r,ee.width=[ee.width],ee.height=[ee.height];var ye=ee.width,je=ee.height,nt=new bi;if(nt==null||me==null)var _t=2;else xe(nt!=null),_t=_o(me,Pe,ut,nt.width,nt.height,nt.Pd,nt.Qd,nt.format,null);if(_t!=0?ye=0:(ye!=null&&(ye[0]=nt.width[0]),je!=null&&(je[0]=nt.height[0]),ye=1),ye){ee.width=ee.width[0],ee.height=ee.height[0],Ht!=null&&(Ht[0]=ee.width),fr!=null&&(fr[0]=ee.height);e:{if(Ht=new ka,(fr=new Ss).data=me,fr.w=Pe,fr.ha=ut,fr.kd=1,Pe=[0],xe(fr!=null),((me=_o(fr.data,fr.w,fr.ha,null,null,null,Pe,null,fr))==0||me==7)&&Pe[0]&&(me=4),(Pe=me)==0){if(xe(Ie!=null),Ht.data=fr.data,Ht.w=fr.w+fr.offset,Ht.ha=fr.ha-fr.offset,Ht.put=Di,Ht.ac=Ti,Ht.bc=Pn,Ht.ma=Ie,fr.xa){if((me=yn())==null){Ie=1;break e}if(function(Nt,Mt){var vr=[0],Ir=[0],gr=[0];t:for(;;){if(Nt==null)return 0;if(Mt==null)return Nt.a=2,0;if(Nt.l=Mt,Nt.a=0,ki(Nt.m,Mt.data,Mt.w,Mt.ha),!_i(Nt.m,vr,Ir,gr)){Nt.a=3;break t}if(Nt.xb=nc,Mt.width=vr[0],Mt.height=Ir[0],!Bn(vr[0],Ir[0],1,Nt,null))break t;return 1}return xe(Nt.a!=0),0}(me,Ht)){if(Ht=(Pe=Ja(Ht.width,Ht.height,Ie.Oa,Ie.ba))==0){t:{Ht=me;r:for(;;){if(Ht==null){Ht=0;break t}if(xe(Ht.s.yc!=null),xe(Ht.s.Ya!=null),xe(0<Ht.s.Wb),xe((ut=Ht.l)!=null),xe((fr=ut.ma)!=null),Ht.xb!=0){if(Ht.ca=fr.ba,Ht.tb=fr.tb,xe(Ht.ca!=null),!ao(fr.Oa,ut,zl)){Ht.a=2;break r}if(!Gn(Ht,ut.width))break r;if(ut.da)break r;if((ut.da||Tn(Ht.ca.S))&&Ae(),11>Ht.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ht.ca.f.kb.F!=null&&Ae()),Ht.Pb&&0<Ht.s.ua&&Ht.s.vb.X==null&&!di(Ht.s.vb,Ht.s.Wa.Xa)){Ht.a=1;break r}Ht.xb=0}if(!dn(Ht,Ht.V,Ht.Ba,Ht.c,Ht.i,ut.o,xr))break r;fr.Dc=Ht.Ma,Ht=1;break t}xe(Ht.a!=0),Ht=0}Ht=!Ht}Ht&&(Pe=me.a)}else Pe=me.a}else{if((me=new ba)==null){Ie=1;break e}if(me.Fa=fr.na,me.P=fr.P,me.qc=fr.Sa,Ha(me,Ht)){if((Pe=Ja(Ht.width,Ht.height,Ie.Oa,Ie.ba))==0){if(me.Aa=0,ut=Ie.Oa,xe((fr=me)!=null),ut!=null){if(0<(ye=0>(ye=ut.Md)?0:100<ye?255:255*ye/100)){for(je=nt=0;4>je;++je)12>(_t=fr.pb[je]).lc&&(_t.ia=ye*Lc[0>_t.lc?0:_t.lc]>>3),nt|=_t.ia;nt&&(alert("todo:VP8InitRandom"),fr.ia=1)}fr.Ga=ut.Id,100<fr.Ga?fr.Ga=100:0>fr.Ga&&(fr.Ga=0)}Ea(me,Ht)||(Pe=me.a)}}else Pe=me.a}Pe==0&&Ie.Oa!=null&&Ie.Oa.fd&&(Pe=Do(Ie.ba))}Ie=Pe}_r=Ie!=0?null:11>_r?ee.f.RGBA.eb:ee.f.kb.y}else _r=null;return _r};var ac=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ut(Wn,Dn){for(var vi="",gn=0;gn<4;gn++)vi+=String.fromCharCode(Wn[Dn++]);return vi}function br(Wn,Dn){return(Wn[Dn+0]<<0|Wn[Dn+1]<<8|Wn[Dn+2]<<16)>>>0}function Ar(Wn,Dn){return(Wn[Dn+0]<<0|Wn[Dn+1]<<8|Wn[Dn+2]<<16|Wn[Dn+3]<<24)>>>0}new ot;var Or=[0],zt=[0],un=[],lr=new ot,Vr=Ze,Br=function(Wn,Dn){var vi={},gn=0,Kr=!1,En=0,sn=0;if(vi.frames=[],!function(Ur,Cn,Un,Zn){for(var ti=0;ti<Zn;ti++)if(Ur[Cn+ti]!=Un.charCodeAt(ti))return!0;return!1}(Wn,Dn,"RIFF",4)){var li,ni;for(Ar(Wn,Dn+=4),Dn+=8;Dn<Wn.length;){var yi=Ut(Wn,Dn),Xn=Ar(Wn,Dn+=4);Dn+=4;var ki=Xn+(1&Xn);switch(yi){case"VP8 ":case"VP8L":vi.frames[gn]===void 0&&(vi.frames[gn]={}),(An=vi.frames[gn]).src_off=Kr?sn:Dn-8,An.src_size=En+Xn+8,gn++,Kr&&(Kr=!1,En=0,sn=0);break;case"VP8X":(An=vi.header={}).feature_flags=Wn[Dn];var wi=Dn+4;An.canvas_width=1+br(Wn,wi),wi+=3,An.canvas_height=1+br(Wn,wi),wi+=3;break;case"ALPH":Kr=!0,En=ki+8,sn=Dn-8;break;case"ANIM":(An=vi.header).bgcolor=Ar(Wn,Dn),wi=Dn+4,An.loop_count=(li=Wn)[(ni=wi)+0]<<0|li[ni+1]<<8,wi+=2;break;case"ANMF":var Ji,An;(An=vi.frames[gn]={}).offset_x=2*br(Wn,Dn),Dn+=3,An.offset_y=2*br(Wn,Dn),Dn+=3,An.width=1+br(Wn,Dn),Dn+=3,An.height=1+br(Wn,Dn),Dn+=3,An.duration=br(Wn,Dn),Dn+=3,Ji=Wn[Dn++],An.dispose=1&Ji,An.blend=Ji>>1&1}yi!="ANMF"&&(Dn+=ki)}return vi}}(Vr,0);Br.response=Vr,Br.rgbaoutput=!0,Br.dataurl=!1;var Sr=Br.header?Br.header:null,xn=Br.frames?Br.frames:null;if(Sr){Sr.loop_counter=Sr.loop_count,Or=[Sr.canvas_height],zt=[Sr.canvas_width];for(var Hn=0;Hn<xn.length&&xn[Hn].blend!=0;Hn++);}var ai=xn[0],si=lr.WebPDecodeRGBA(Vr,ai.src_off,ai.src_size,zt,Or);ai.rgba=si,ai.imgwidth=zt[0],ai.imgheight=Or[0];for(var Yn=0;Yn<zt[0]*Or[0]*4;Yn++)un[Yn]=si[Yn];return this.width=zt,this.height=Or,this.data=un,this}!function(Ze){var xe=function(){return typeof p.b=="function"},Me=function(zt,un,lr,Vr){var Br=4,Sr=Je;switch(Vr){case Ze.image_compression.FAST:Br=1,Sr=Ke;break;case Ze.image_compression.MEDIUM:Br=6,Sr=vt;break;case Ze.image_compression.SLOW:Br=9,Sr=ot}zt=ke(zt,un,lr,Sr);var xn=Object(p.b)(zt,{level:Br});return Ze.__addimage__.arrayBufferToBinaryString(xn)},ke=function(zt,un,lr,Vr){for(var Br,Sr,xn,Hn=zt.length/un,ai=new Uint8Array(zt.length+Hn),si=br(),Yn=0;Yn<Hn;Yn+=1){if(xn=Yn*un,Br=zt.subarray(xn,xn+un),Vr)ai.set(Vr(Br,lr,Sr),xn+Yn);else{for(var Wn,Dn=si.length,vi=[];Wn<Dn;Wn+=1)vi[Wn]=si[Wn](Br,lr,Sr);var gn=Ar(vi.concat());ai.set(vi[gn],xn+Yn)}Sr=Br}return ai},Ge=function(zt){var un=Array.apply([],zt);return un.unshift(0),un},Ke=function(zt,un){var lr,Vr=[],Br=zt.length;Vr[0]=1;for(var Sr=0;Sr<Br;Sr+=1)lr=zt[Sr-un]||0,Vr[Sr+1]=zt[Sr]-lr+256&255;return Vr},Je=function(zt,un,lr){var Vr,Br=[],Sr=zt.length;Br[0]=2;for(var xn=0;xn<Sr;xn+=1)Vr=lr&&lr[xn]||0,Br[xn+1]=zt[xn]-Vr+256&255;return Br},vt=function(zt,un,lr){var Vr,Br,Sr=[],xn=zt.length;Sr[0]=3;for(var Hn=0;Hn<xn;Hn+=1)Vr=zt[Hn-un]||0,Br=lr&&lr[Hn]||0,Sr[Hn+1]=zt[Hn]+256-(Vr+Br>>>1)&255;return Sr},ot=function(zt,un,lr){var Vr,Br,Sr,xn,Hn=[],ai=zt.length;Hn[0]=4;for(var si=0;si<ai;si+=1)Vr=zt[si-un]||0,Br=lr&&lr[si]||0,Sr=lr&&lr[si-un]||0,xn=Ut(Vr,Br,Sr),Hn[si+1]=zt[si]-xn+256&255;return Hn},Ut=function(zt,un,lr){if(zt===un&&un===lr)return zt;var Vr=Math.abs(un-lr),Br=Math.abs(zt-lr),Sr=Math.abs(zt+un-lr-lr);return Vr<=Br&&Vr<=Sr?zt:Br<=Sr?un:lr},br=function(){return[Ge,Ke,Je,vt,ot]},Ar=function(zt){var un=zt.map(function(lr){return lr.reduce(function(Vr,Br){return Vr+Math.abs(Br)},0)});return un.indexOf(Math.min.apply(null,un))};Ze.processPNG=function(Or,zt,un,lr){var Vr,Br,Sr,xn,Hn,ai,si,Yn,Wn,Dn,vi,gn,Kr,En,sn,li=this.decode.FLATE_DECODE,ni="";if(this.__addimage__.isArrayBuffer(Or)&&(Or=new Uint8Array(Or)),this.__addimage__.isArrayBufferView(Or)){if(Or=(Sr=new ct(Or)).imgData,Br=Sr.bits,Vr=Sr.colorSpace,Hn=Sr.colors,[4,6].indexOf(Sr.colorType)!==-1){if(Sr.bits===8){Wn=(Yn=Sr.pixelBitlength==32?new Uint32Array(Sr.decodePixels().buffer):Sr.pixelBitlength==16?new Uint16Array(Sr.decodePixels().buffer):new Uint8Array(Sr.decodePixels().buffer)).length,vi=new Uint8Array(Wn*Sr.colors),Dn=new Uint8Array(Wn);var yi,Xn=Sr.pixelBitlength-Sr.bits;for(En=0,sn=0;En<Wn;En++){for(Kr=Yn[En],yi=0;yi<Xn;)vi[sn++]=Kr>>>yi&255,yi+=Sr.bits;Dn[En]=Kr>>>yi&255}}if(Sr.bits===16){Wn=(Yn=new Uint32Array(Sr.decodePixels().buffer)).length,vi=new Uint8Array(Wn*(32/Sr.pixelBitlength)*Sr.colors),Dn=new Uint8Array(Wn*(32/Sr.pixelBitlength)),gn=Sr.colors>1,En=0,sn=0;for(var ki=0;En<Wn;)Kr=Yn[En++],vi[sn++]=Kr>>>0&255,gn&&(vi[sn++]=Kr>>>16&255,Kr=Yn[En++],vi[sn++]=Kr>>>0&255),Dn[ki++]=Kr>>>16&255;Br=8}lr!==Ze.image_compression.NONE&&xe()?(Or=Me(vi,Sr.width*Sr.colors,Sr.colors,lr),si=Me(Dn,Sr.width,1,lr)):(Or=vi,si=Dn,li=void 0)}if(Sr.colorType===3&&(Vr=this.color_spaces.INDEXED,ai=Sr.palette,Sr.transparency.indexed)){var wi=Sr.transparency.indexed,Ji=0;for(En=0,Wn=wi.length;En<Wn;++En)Ji+=wi[En];if((Ji/=255)===Wn-1&&wi.indexOf(0)!==-1)xn=[wi.indexOf(0)];else if(Ji!==Wn){for(Yn=Sr.decodePixels(),Dn=new Uint8Array(Yn.length),En=0,Wn=Yn.length;En<Wn;En++)Dn[En]=wi[Yn[En]];si=Me(Dn,Sr.width,1)}}var An=function(Ur){var Cn;switch(Ur){case Ze.image_compression.FAST:Cn=11;break;case Ze.image_compression.MEDIUM:Cn=13;break;case Ze.image_compression.SLOW:Cn=14;break;default:Cn=12}return Cn}(lr);return li===this.decode.FLATE_DECODE&&(ni="/Predictor "+An+" "),ni+="/Colors "+Hn+" /BitsPerComponent "+Br+" /Columns "+Sr.width,(this.__addimage__.isArrayBuffer(Or)||this.__addimage__.isArrayBufferView(Or))&&(Or=this.__addimage__.arrayBufferToBinaryString(Or)),(si&&this.__addimage__.isArrayBuffer(si)||this.__addimage__.isArrayBufferView(si))&&(si=this.__addimage__.arrayBufferToBinaryString(si)),{alias:un,data:Or,index:zt,filter:li,decodeParameters:ni,transparency:xn,palette:ai,sMask:si,predictor:An,width:Sr.width,height:Sr.height,bitsPerComponent:Br,colorSpace:Vr}}}}(K.API),function(Ze){Ze.processGIF89A=function(xe,Me,ke,Ge){var Ke=new tr(xe),Je=Ke.width,vt=Ke.height,ot=[];Ke.decodeAndBlitFrameRGBA(0,ot);var Ut={data:ot,width:Je,height:vt},br=new or(100).encode(Ut,100);return Ze.processJPEG.call(this,br,Me,ke,Ge)},Ze.processGIF87A=Ze.processGIF89A}(K.API),Xr.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 Ze=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ze);for(var xe=0;xe<Ze;xe++){var Me=this.datav.getUint8(this.pos++,!0),ke=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0);this.palette[xe]={red:Ge,green:ke,blue:Me,quad:Ke}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Xr.prototype.parseBGR=function(){this.pos=this.offset;try{var Ze="bit"+this.bitPP,xe=this.width*this.height*4;this.data=new Uint8Array(xe),this[Ze]()}catch(Me){d.log("bit decode error:"+Me)}},Xr.prototype.bit1=function(){var Ze,xe=Math.ceil(this.width/8),Me=xe%4;for(Ze=this.height-1;Ze>=0;Ze--){for(var ke=this.bottom_up?Ze:this.height-1-Ze,Ge=0;Ge<xe;Ge++)for(var Ke=this.datav.getUint8(this.pos++,!0),Je=ke*this.width*4+8*Ge*4,vt=0;vt<8&&8*Ge+vt<this.width;vt++){var ot=this.palette[Ke>>7-vt&1];this.data[Je+4*vt]=ot.blue,this.data[Je+4*vt+1]=ot.green,this.data[Je+4*vt+2]=ot.red,this.data[Je+4*vt+3]=255}Me!==0&&(this.pos+=4-Me)}},Xr.prototype.bit4=function(){for(var Ze=Math.ceil(this.width/2),xe=Ze%4,Me=this.height-1;Me>=0;Me--){for(var ke=this.bottom_up?Me:this.height-1-Me,Ge=0;Ge<Ze;Ge++){var Ke=this.datav.getUint8(this.pos++,!0),Je=ke*this.width*4+2*Ge*4,vt=Ke>>4,ot=15&Ke,Ut=this.palette[vt];if(this.data[Je]=Ut.blue,this.data[Je+1]=Ut.green,this.data[Je+2]=Ut.red,this.data[Je+3]=255,2*Ge+1>=this.width)break;Ut=this.palette[ot],this.data[Je+4]=Ut.blue,this.data[Je+4+1]=Ut.green,this.data[Je+4+2]=Ut.red,this.data[Je+4+3]=255}xe!==0&&(this.pos+=4-xe)}},Xr.prototype.bit8=function(){for(var Ze=this.width%4,xe=this.height-1;xe>=0;xe--){for(var Me=this.bottom_up?xe:this.height-1-xe,ke=0;ke<this.width;ke++){var Ge=this.datav.getUint8(this.pos++,!0),Ke=Me*this.width*4+4*ke;if(Ge<this.palette.length){var Je=this.palette[Ge];this.data[Ke]=Je.red,this.data[Ke+1]=Je.green,this.data[Ke+2]=Je.blue,this.data[Ke+3]=255}else this.data[Ke]=255,this.data[Ke+1]=255,this.data[Ke+2]=255,this.data[Ke+3]=255}Ze!==0&&(this.pos+=4-Ze)}},Xr.prototype.bit15=function(){for(var Ze=this.width%3,xe=parseInt("11111",2),Me=this.height-1;Me>=0;Me--){for(var ke=this.bottom_up?Me:this.height-1-Me,Ge=0;Ge<this.width;Ge++){var Ke=this.datav.getUint16(this.pos,!0);this.pos+=2;var Je=(Ke&xe)/xe*255|0,vt=(Ke>>5&xe)/xe*255|0,ot=(Ke>>10&xe)/xe*255|0,Ut=Ke>>15?255:0,br=ke*this.width*4+4*Ge;this.data[br]=ot,this.data[br+1]=vt,this.data[br+2]=Je,this.data[br+3]=Ut}this.pos+=Ze}},Xr.prototype.bit16=function(){for(var Ze=this.width%3,xe=parseInt("11111",2),Me=parseInt("111111",2),ke=this.height-1;ke>=0;ke--){for(var Ge=this.bottom_up?ke:this.height-1-ke,Ke=0;Ke<this.width;Ke++){var Je=this.datav.getUint16(this.pos,!0);this.pos+=2;var vt=(Je&xe)/xe*255|0,ot=(Je>>5&Me)/Me*255|0,Ut=(Je>>11)/xe*255|0,br=Ge*this.width*4+4*Ke;this.data[br]=Ut,this.data[br+1]=ot,this.data[br+2]=vt,this.data[br+3]=255}this.pos+=Ze}},Xr.prototype.bit24=function(){for(var Ze=this.height-1;Ze>=0;Ze--){for(var xe=this.bottom_up?Ze:this.height-1-Ze,Me=0;Me<this.width;Me++){var ke=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Je=xe*this.width*4+4*Me;this.data[Je]=Ke,this.data[Je+1]=Ge,this.data[Je+2]=ke,this.data[Je+3]=255}this.pos+=this.width%4}},Xr.prototype.bit32=function(){for(var Ze=this.height-1;Ze>=0;Ze--)for(var xe=this.bottom_up?Ze:this.height-1-Ze,Me=0;Me<this.width;Me++){var ke=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),vt=xe*this.width*4+4*Me;this.data[vt]=Ke,this.data[vt+1]=Ge,this.data[vt+2]=ke,this.data[vt+3]=Je}},Xr.prototype.getData=function(){return this.data},function(Ze){Ze.processBMP=function(xe,Me,ke,Ge){var Ke=new Xr(xe,!1),Je=Ke.width,vt=Ke.height,ot={data:Ke.getData(),width:Je,height:vt},Ut=new or(100).encode(ot,100);return Ze.processJPEG.call(this,Ut,Me,ke,Ge)}}(K.API),Yr.prototype.getData=function(){return this.data},function(Ze){Ze.processWEBP=function(xe,Me,ke,Ge){var Ke=new Yr(xe,!1),Je=Ke.width,vt=Ke.height,ot={data:Ke.getData(),width:Je,height:vt},Ut=new or(100).encode(ot,100);return Ze.processJPEG.call(this,Ut,Me,ke,Ge)}}(K.API),K.API.processRGBA=function(Ze,xe,Me){for(var ke=Ze.data,Ge=ke.length,Ke=new Uint8Array(Ge/4*3),Je=new Uint8Array(Ge/4),vt=0,ot=0,Ut=0;Ut<Ge;Ut+=4){var br=ke[Ut],Ar=ke[Ut+1],Or=ke[Ut+2],zt=ke[Ut+3];Ke[vt++]=br,Ke[vt++]=Ar,Ke[vt++]=Or,Je[ot++]=zt}var un=this.__addimage__.arrayBufferToBinaryString(Ke);return{alpha:this.__addimage__.arrayBufferToBinaryString(Je),data:un,index:xe,alias:Me,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Ze.width,height:Ze.height}},K.API.setLanguage=function(Ze){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"}[Ze]!==void 0&&(this.internal.languageSettings.languageCode=Ze,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},Tt=K.API,St=Tt.getCharWidthsArray=function(Ze,xe){var Me,ke,Ge=(xe=xe||{}).font||this.internal.getFont(),Ke=xe.fontSize||this.internal.getFontSize(),Je=xe.charSpace||this.internal.getCharSpace(),vt=xe.widths?xe.widths:Ge.metadata.Unicode.widths,ot=vt.fof?vt.fof:1,Ut=xe.kerning?xe.kerning:Ge.metadata.Unicode.kerning,br=Ut.fof?Ut.fof:1,Ar=xe.doKerning!==!1,Or=0,zt=Ze.length,un=0,lr=vt[0]||ot,Vr=[];for(Me=0;Me<zt;Me++)ke=Ze.charCodeAt(Me),typeof Ge.metadata.widthOfString=="function"?Vr.push((Ge.metadata.widthOfGlyph(Ge.metadata.characterToGlyph(ke))+Je*(1e3/Ke)||0)/1e3):(Or=Ar&&E()(Ut[ke])==="object"&&!isNaN(parseInt(Ut[ke][un],10))?Ut[ke][un]/br:0,Vr.push((vt[ke]||lr)/ot+Or)),un=ke;return Vr},Re=Tt.getStringUnitWidth=function(Ze,xe){var Me=(xe=xe||{}).fontSize||this.internal.getFontSize(),ke=xe.font||this.internal.getFont(),Ge=xe.charSpace||this.internal.getCharSpace();return Tt.processArabic&&(Ze=Tt.processArabic(Ze)),typeof ke.metadata.widthOfString=="function"?ke.metadata.widthOfString(Ze,Me,Ge)/Me:St.apply(this,arguments).reduce(function(Ke,Je){return Ke+Je},0)},Ve=function(xe,Me,ke,Ge){for(var Ke=[],Je=0,vt=xe.length,ot=0;Je!==vt&&ot+Me[Je]<ke;)ot+=Me[Je],Je++;Ke.push(xe.slice(0,Je));var Ut=Je;for(ot=0;Je!==vt;)ot+Me[Je]>Ge&&(Ke.push(xe.slice(Ut,Je)),ot=0,Ut=Je),ot+=Me[Je],Je++;return Ut!==Je&&Ke.push(xe.slice(Ut,Je)),Ke},Xe=function(xe,Me,ke){ke||(ke={});var Ge,Ke,Je,vt,ot,Ut,br,Ar=[],Or=[Ar],zt=ke.textIndent||0,un=0,lr=0,Vr=xe.split(" "),Br=St.apply(this,[" ",ke])[0];if(Ut=ke.lineIndent===-1?Vr[0].length+2:ke.lineIndent||0){var Sr=Array(Ut).join(" "),xn=[];Vr.map(function(ai){(ai=ai.split(/\s*\n/)).length>1?xn=xn.concat(ai.map(function(si,Yn){return(Yn&&si.length?`
`:"")+si})):xn.push(ai[0])}),Vr=xn,Ut=Re.apply(this,[Sr,ke])}for(Je=0,vt=Vr.length;Je<vt;Je++){var Hn=0;if(Ge=Vr[Je],Ut&&Ge[0]==`
`&&(Ge=Ge.substr(1),Hn=1),zt+un+(lr=(Ke=St.apply(this,[Ge,ke])).reduce(function(ai,si){return ai+si},0))>Me||Hn){if(lr>Me){for(ot=Ve.apply(this,[Ge,Ke,Me-(zt+un),Me]),Ar.push(ot.shift()),Ar=[ot.pop()];ot.length;)Or.push([ot.shift()]);lr=Ke.slice(Ge.length-(Ar[0]?Ar[0].length:0)).reduce(function(ai,si){return ai+si},0)}else Ar=[Ge];Or.push(Ar),zt=lr+Ut,un=Br}else Ar.push(Ge),zt+=un+lr,un=Br}return br=Ut?function(ai,si){return(si?Sr:"")+ai.join(" ")}:function(ai){return ai.join(" ")},Or.map(br)},Tt.splitTextToSize=function(Ze,xe,Me){var ke,Ge=(Me=Me||{}).fontSize||this.internal.getFontSize(),Ke=function(br){if(br.widths&&br.kerning)return{widths:br.widths,kerning:br.kerning};var Ar=this.internal.getFont(br.fontName,br.fontStyle);return Ar.metadata.Unicode?{widths:Ar.metadata.Unicode.widths||{0:1},kerning:Ar.metadata.Unicode.kerning||{}}:{font:Ar.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Me);ke=Array.isArray(Ze)?Ze:String(Ze).split(/\r?\n/);var Je=1*this.internal.scaleFactor*xe/Ge;Ke.textIndent=Me.textIndent?1*Me.textIndent*this.internal.scaleFactor/Ge:0,Ke.lineIndent=Me.lineIndent;var vt,ot,Ut=[];for(vt=0,ot=ke.length;vt<ot;vt++)Ut=Ut.concat(Xe.apply(this,[ke[vt],Je,Ke]));return Ut},function(Ze){Ze.__fontmetrics__=Ze.__fontmetrics__||{};for(var xe="klmnopqrstuvwxyz",Me={},ke={},Ge=0;Ge<xe.length;Ge++)Me[xe[Ge]]="0123456789abcdef"[Ge],ke["0123456789abcdef"[Ge]]=xe[Ge];var Ke=function(Or){return"0x"+parseInt(Or,10).toString(16)},Je=Ze.__fontmetrics__.compress=function(Ar){var Or,zt,un,lr,Vr=["{"];for(var Br in Ar){if(Or=Ar[Br],isNaN(parseInt(Br,10))?zt="'"+Br+"'":(Br=parseInt(Br,10),zt=(zt=Ke(Br).slice(2)).slice(0,-1)+ke[zt.slice(-1)]),typeof Or=="number")Or<0?(un=Ke(Or).slice(3),lr="-"):(un=Ke(Or).slice(2),lr=""),un=lr+un.slice(0,-1)+ke[un.slice(-1)];else{if(E()(Or)!=="object")throw new Error("Don't know what to do with value type "+E()(Or)+".");un=Je(Or)}Vr.push(zt+un)}return Vr.push("}"),Vr.join("")},vt=Ze.__fontmetrics__.uncompress=function(Ar){if(typeof Ar!="string")throw new Error("Invalid argument passed to uncompress.");for(var Or,zt,un,lr,Vr={},Br=1,Sr=Vr,xn=[],Hn="",ai="",si=Ar.length-1,Yn=1;Yn<si;Yn+=1)(lr=Ar[Yn])=="'"?Or?(un=Or.join(""),Or=void 0):Or=[]:Or?Or.push(lr):lr=="{"?(xn.push([Sr,un]),Sr={},un=void 0):lr=="}"?((zt=xn.pop())[0][zt[1]]=Sr,un=void 0,Sr=zt[0]):lr=="-"?Br=-1:un===void 0?Me.hasOwnProperty(lr)?(Hn+=Me[lr],un=parseInt(Hn,16)*Br,Br=1,Hn=""):Hn+=lr:Me.hasOwnProperty(lr)?(ai+=Me[lr],Sr[un]=parseInt(ai,16)*Br,Br=1,un=void 0,ai=""):ai+=lr;return Vr},ot={codePages:["WinAnsiEncoding"],WinAnsiEncoding:vt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Ut={Unicode:{Courier:ot,"Courier-Bold":ot,"Courier-BoldOblique":ot,"Courier-Oblique":ot,Helvetica:ot,"Helvetica-Bold":ot,"Helvetica-BoldOblique":ot,"Helvetica-Oblique":ot,"Times-Roman":ot,"Times-Bold":ot,"Times-BoldItalic":ot,"Times-Italic":ot}},br={Unicode:{"Courier-Oblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":vt("{'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":vt("{'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:vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":vt("{'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:vt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:vt("{'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":vt("{'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:vt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":vt("{'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":vt("{'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":vt("{'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}}}")}};Ze.events.push(["addFont",function(Ar){var Or=Ar.font,zt=br.Unicode[Or.postScriptName];zt&&(Or.metadata.Unicode={},Or.metadata.Unicode.widths=zt.widths,Or.metadata.Unicode.kerning=zt.kerning);var un=Ut.Unicode[Or.postScriptName];un&&(Or.metadata.Unicode.encoding=un,Or.encoding=un.codePages[0])}])}(K.API),function(Ze){var xe=function(ke){for(var Ge=ke.length,Ke=new Uint8Array(Ge),Je=0;Je<Ge;Je++)Ke[Je]=ke.charCodeAt(Je);return Ke};Ze.API.events.push(["addFont",function(Me){var ke=void 0,Ge=Me.font,Ke=Me.instance;if(!Ge.isStandardFont){if(Ke===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ge.postScriptName+"').");if(typeof(ke=Ke.existsFileInVFS(Ge.postScriptName)===!1?Ke.loadFile(Ge.postScriptName):Ke.getFileFromVFS(Ge.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ge.postScriptName+"').");!function(Je,vt){vt=/^\x00\x01\x00\x00/.test(vt)?xe(vt):xe(a(vt)),Je.metadata=Ze.API.TTFFont.open(vt),Je.metadata.Unicode=Je.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Je.metadata.glyIdsUsed=[0]}(Ge,ke)}}])}(K),function(Ze){function xe(){return(v.canvg?Promise.resolve(v.canvg):Promise.all([i.e(0),i.e(261)]).then(i.bind(null,"DXPr"))).catch(function(Me){return Promise.reject(new Error("Could not load canvg: "+Me))}).then(function(Me){return Me.default?Me.default:Me})}K.API.addSvgAsImage=function(Me,ke,Ge,Ke,Je,vt,ot,Ut){if(isNaN(ke)||isNaN(Ge))throw d.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Ke)||isNaN(Je))throw d.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var br=document.createElement("canvas");br.width=Ke,br.height=Je;var Ar=br.getContext("2d");Ar.fillStyle="#fff",Ar.fillRect(0,0,br.width,br.height);var Or={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},zt=this;return xe().then(function(un){return un.fromString(Ar,Me,Or)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(un){return un.render(Or)}).then(function(){zt.addImage(br.toDataURL("image/jpeg",1),ke,Ge,Ke,Je,ot,Ut)})}}(),K.API.putTotalPages=function(Ze){var xe,Me=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(xe=new RegExp(Ze,"g"),Me=this.internal.getNumberOfPages()):(xe=new RegExp(this.pdfEscape16(Ze,this.internal.getFont()),"g"),Me=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var ke=1;ke<=this.internal.getNumberOfPages();ke++)for(var Ge=0;Ge<this.internal.pages[ke].length;Ge++)this.internal.pages[ke][Ge]=this.internal.pages[ke][Ge].replace(xe,Me);return this},K.API.viewerPreferences=function(Ze,xe){var Me;Ze=Ze||{},xe=xe||!1;var ke,Ge,Ke,Je={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}},vt=Object.keys(Je),ot=[],Ut=0,br=0,Ar=0;function Or(un,lr){var Vr,Br=!1;for(Vr=0;Vr<un.length;Vr+=1)un[Vr]===lr&&(Br=!0);return Br}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Je)),this.internal.viewerpreferences.isSubscribed=!1),Me=this.internal.viewerpreferences.configuration,Ze==="reset"||xe===!0){var zt=vt.length;for(Ar=0;Ar<zt;Ar+=1)Me[vt[Ar]].value=Me[vt[Ar]].defaultValue,Me[vt[Ar]].explicitSet=!1}if(E()(Ze)==="object"){for(Ge in Ze)if(Ke=Ze[Ge],Or(vt,Ge)&&Ke!==void 0){if(Me[Ge].type==="boolean"&&typeof Ke=="boolean")Me[Ge].value=Ke;else if(Me[Ge].type==="name"&&Or(Me[Ge].valueSet,Ke))Me[Ge].value=Ke;else if(Me[Ge].type==="integer"&&Number.isInteger(Ke))Me[Ge].value=Ke;else if(Me[Ge].type==="array"){for(Ut=0;Ut<Ke.length;Ut+=1)if(ke=!0,Ke[Ut].length===1&&typeof Ke[Ut][0]=="number")ot.push(String(Ke[Ut]-1));else if(Ke[Ut].length>1){for(br=0;br<Ke[Ut].length;br+=1)typeof Ke[Ut][br]!="number"&&(ke=!1);ke===!0&&ot.push([Ke[Ut][0]-1,Ke[Ut][1]-1].join(" "))}Me[Ge].value="["+ot.join(" ")+"]"}else Me[Ge].value=Me[Ge].defaultValue;Me[Ge].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var un,lr=[];for(un in Me)Me[un].explicitSet===!0&&(Me[un].type==="name"?lr.push("/"+un+" /"+Me[un].value):lr.push("/"+un+" "+Me[un].value));lr.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+lr.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Me,this},function(Ze){var xe=function(){var Ge='<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>',Ke=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Je=unescape(encodeURIComponent(Ge)),vt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),ot=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ut=unescape(encodeURIComponent("</x:xmpmeta>")),br=Je.length+vt.length+ot.length+Ke.length+Ut.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+br+" >>"),this.internal.write("stream"),this.internal.write(Ke+Je+vt+ot+Ut),this.internal.write("endstream"),this.internal.write("endobj")},Me=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Ze.addMetadata=function(ke,Ge){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:ke,namespaceuri:Ge||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Me),this.internal.events.subscribe("postPutResources",xe)),this}}(K.API),function(Ze){var xe=Ze.API,Me=xe.pdfEscape16=function(Ke,Je){for(var vt,ot=Je.metadata.Unicode.widths,Ut=["","0","00","000","0000"],br=[""],Ar=0,Or=Ke.length;Ar<Or;++Ar){if(vt=Je.metadata.characterToGlyph(Ke.charCodeAt(Ar)),Je.metadata.glyIdsUsed.push(vt),Je.metadata.toUnicode[vt]=Ke.charCodeAt(Ar),ot.indexOf(vt)==-1&&(ot.push(vt),ot.push([parseInt(Je.metadata.widthOfGlyph(vt),10)])),vt=="0")return br.join("");vt=vt.toString(16),br.push(Ut[4-vt.length],vt)}return br.join("")},ke=function(Je){var vt,ot,Ut,br,Ar,Or,zt;for(Ar=`/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`,Ut=[],Or=0,zt=(ot=Object.keys(Je).sort(function(un,lr){return un-lr})).length;Or<zt;Or++)vt=ot[Or],Ut.length>=100&&(Ar+=`
`+Ut.length+` beginbfchar
`+Ut.join(`
`)+`
endbfchar`,Ut=[]),Je[vt]!==void 0&&Je[vt]!==null&&typeof Je[vt].toString=="function"&&(br=("0000"+Je[vt].toString(16)).slice(-4),vt=("0000"+(+vt).toString(16)).slice(-4),Ut.push("<"+vt+"><"+br+">"));return Ut.length&&(Ar+=`
`+Ut.length+` beginbfchar
`+Ut.join(`
`)+`
endbfchar
`),Ar+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};xe.events.push(["putFont",function(Ke){!function(Je){var vt=Je.font,ot=Je.out,Ut=Je.newObject,br=Je.putStream;if(vt.metadata instanceof Ze.API.TTFFont&&vt.encoding==="Identity-H"){for(var Ar=vt.metadata.Unicode.widths,Or=vt.metadata.subset.encode(vt.metadata.glyIdsUsed,1),zt="",un=0;un<Or.length;un++)zt+=String.fromCharCode(Or[un]);var lr=Ut();br({data:zt,addLength1:!0,objectId:lr}),ot("endobj");var Vr=Ut();br({data:ke(vt.metadata.toUnicode),addLength1:!0,objectId:Vr}),ot("endobj");var Br=Ut();ot("<<"),ot("/Type /FontDescriptor"),ot("/FontName /"+R(vt.fontName)),ot("/FontFile2 "+lr+" 0 R"),ot("/FontBBox "+Ze.API.PDFObject.convert(vt.metadata.bbox)),ot("/Flags "+vt.metadata.flags),ot("/StemV "+vt.metadata.stemV),ot("/ItalicAngle "+vt.metadata.italicAngle),ot("/Ascent "+vt.metadata.ascender),ot("/Descent "+vt.metadata.decender),ot("/CapHeight "+vt.metadata.capHeight),ot(">>"),ot("endobj");var Sr=Ut();ot("<<"),ot("/Type /Font"),ot("/BaseFont /"+R(vt.fontName)),ot("/FontDescriptor "+Br+" 0 R"),ot("/W "+Ze.API.PDFObject.convert(Ar)),ot("/CIDToGIDMap /Identity"),ot("/DW 1000"),ot("/Subtype /CIDFontType2"),ot("/CIDSystemInfo"),ot("<<"),ot("/Supplement 0"),ot("/Registry (Adobe)"),ot("/Ordering ("+vt.encoding+")"),ot(">>"),ot(">>"),ot("endobj"),vt.objectNumber=Ut(),ot("<<"),ot("/Type /Font"),ot("/Subtype /Type0"),ot("/ToUnicode "+Vr+" 0 R"),ot("/BaseFont /"+R(vt.fontName)),ot("/Encoding /"+vt.encoding),ot("/DescendantFonts ["+Sr+" 0 R]"),ot(">>"),ot("endobj"),vt.isAlreadyPutted=!0}}(Ke)}]),xe.events.push(["putFont",function(Ke){!function(Je){var vt=Je.font,ot=Je.out,Ut=Je.newObject,br=Je.putStream;if(vt.metadata instanceof Ze.API.TTFFont&&vt.encoding==="WinAnsiEncoding"){for(var Ar=vt.metadata.rawData,Or="",zt=0;zt<Ar.length;zt++)Or+=String.fromCharCode(Ar[zt]);var un=Ut();br({data:Or,addLength1:!0,objectId:un}),ot("endobj");var lr=Ut();br({data:ke(vt.metadata.toUnicode),addLength1:!0,objectId:lr}),ot("endobj");var Vr=Ut();ot("<<"),ot("/Descent "+vt.metadata.decender),ot("/CapHeight "+vt.metadata.capHeight),ot("/StemV "+vt.metadata.stemV),ot("/Type /FontDescriptor"),ot("/FontFile2 "+un+" 0 R"),ot("/Flags 96"),ot("/FontBBox "+Ze.API.PDFObject.convert(vt.metadata.bbox)),ot("/FontName /"+R(vt.fontName)),ot("/ItalicAngle "+vt.metadata.italicAngle),ot("/Ascent "+vt.metadata.ascender),ot(">>"),ot("endobj"),vt.objectNumber=Ut();for(var Br=0;Br<vt.metadata.hmtx.widths.length;Br++)vt.metadata.hmtx.widths[Br]=parseInt(vt.metadata.hmtx.widths[Br]*(1e3/vt.metadata.head.unitsPerEm));ot("<</Subtype/TrueType/Type/Font/ToUnicode "+lr+" 0 R/BaseFont/"+R(vt.fontName)+"/FontDescriptor "+Vr+" 0 R/Encoding/"+vt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ze.API.PDFObject.convert(vt.metadata.hmtx.widths)+">>"),ot("endobj"),vt.isAlreadyPutted=!0}}(Ke)}]);var Ge=function(Je){var vt,ot=Je.text||"",Ut=Je.x,br=Je.y,Ar=Je.options||{},Or=Je.mutex||{},zt=Or.pdfEscape,un=Or.activeFontKey,lr=Or.fonts,Vr=un,Br="",Sr=0,xn="",Hn=lr[Vr].encoding;if(lr[Vr].encoding!=="Identity-H")return{text:ot,x:Ut,y:br,options:Ar,mutex:Or};for(xn=ot,Vr=un,Array.isArray(ot)&&(xn=ot[0]),Sr=0;Sr<xn.length;Sr+=1)lr[Vr].metadata.hasOwnProperty("cmap")&&(vt=lr[Vr].metadata.cmap.unicode.codeMap[xn[Sr].charCodeAt(0)]),vt||xn[Sr].charCodeAt(0)<256&&lr[Vr].metadata.hasOwnProperty("Unicode")?Br+=xn[Sr]:Br+="";var ai="";return parseInt(Vr.slice(1))<14||Hn==="WinAnsiEncoding"?ai=zt(Br,Vr).split("").map(function(si){return si.charCodeAt(0).toString(16)}).join(""):Hn==="Identity-H"&&(ai=Me(Br,lr[Vr])),Or.isHex=!0,{text:ai,x:Ut,y:br,options:Ar,mutex:Or}};xe.events.push(["postProcessText",function(Ke){var Je=Ke.text||"",vt=[],ot={text:Je,x:Ke.x,y:Ke.y,options:Ke.options,mutex:Ke.mutex};if(Array.isArray(Je)){var Ut=0;for(Ut=0;Ut<Je.length;Ut+=1)Array.isArray(Je[Ut])&&Je[Ut].length===3?vt.push([Ge(Object.assign({},ot,{text:Je[Ut][0]})).text,Je[Ut][1],Je[Ut][2]]):vt.push(Ge(Object.assign({},ot,{text:Je[Ut]})).text);Ke.text=vt}else Ke.text=Ge(Object.assign({},ot,{text:Je})).text}])}(K),function(Ze){var xe=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Ze.existsFileInVFS=function(Me){return xe.call(this),this.internal.vFS[Me]!==void 0},Ze.addFileToVFS=function(Me,ke){return xe.call(this),this.internal.vFS[Me]=ke,this},Ze.getFileFromVFS=function(Me){return xe.call(this),this.internal.vFS[Me]!==void 0?this.internal.vFS[Me]:null}}(K.API),function(Ze){Ze.__bidiEngine__=Ze.prototype.__bidiEngine__=function(ke){var Ge,Ke,Je,vt,ot,Ut,br,Ar=xe,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]],zt=[[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]],un={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},lr={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Vr=["(",")","(","<",">","<","[","]","[","{","}","{","\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)$/),Sr=!1,xn=0;this.__bidiEngine__={};var Hn=function(Kr){var En=Kr.charCodeAt(),sn=En>>8,li=lr[sn];return li!==void 0?Ar[256*li+(255&En)]:sn===252||sn===253?"AL":Br.test(sn)?"L":sn===8?"R":"N"},ai=function(Kr){for(var En,sn=0;sn<Kr.length;sn++){if((En=Hn(Kr.charAt(sn)))==="L")return!1;if(En==="R")return!0}return!1},si=function(Kr,En,sn,li){var ni,yi,Xn,ki,wi=En[li];switch(wi){case"L":case"R":Sr=!1;break;case"N":case"AN":break;case"EN":Sr&&(wi="AN");break;case"AL":Sr=!0,wi="R";break;case"WS":wi="N";break;case"CS":li<1||li+1>=En.length||(ni=sn[li-1])!=="EN"&&ni!=="AN"||(yi=En[li+1])!=="EN"&&yi!=="AN"?wi="N":Sr&&(yi="AN"),wi=yi===ni?yi:"N";break;case"ES":wi=(ni=li>0?sn[li-1]:"B")==="EN"&&li+1<En.length&&En[li+1]==="EN"?"EN":"N";break;case"ET":if(li>0&&sn[li-1]==="EN"){wi="EN";break}if(Sr){wi="N";break}for(Xn=li+1,ki=En.length;Xn<ki&&En[Xn]==="ET";)Xn++;wi=Xn<ki&&En[Xn]==="EN"?"EN":"N";break;case"NSM":if(Je&&!vt){for(ki=En.length,Xn=li+1;Xn<ki&&En[Xn]==="NSM";)Xn++;if(Xn<ki){var Ji=Kr[li],An=Ji>=1425&&Ji<=2303||Ji===64286;if(ni=En[Xn],An&&(ni==="R"||ni==="AL")){wi="R";break}}}wi=li<1||(ni=En[li-1])==="B"?"N":sn[li-1];break;case"B":Sr=!1,Ge=!0,wi=xn;break;case"S":Ke=!0,wi="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Sr=!1;break;case"BN":wi="N"}return wi},Yn=function(Kr,En,sn){var li=Kr.split("");return sn&&Wn(li,sn,{hiLevel:xn}),li.reverse(),En&&En.reverse(),li.join("")},Wn=function(Kr,En,sn){var li,ni,yi,Xn,ki,wi=-1,Ji=Kr.length,An=0,Ur=[],Cn=xn?zt:Or,Un=[];for(Sr=!1,Ge=!1,Ke=!1,ni=0;ni<Ji;ni++)Un[ni]=Hn(Kr[ni]);for(yi=0;yi<Ji;yi++){if(ki=An,Ur[yi]=si(Kr,Un,Ur,yi),li=240&(An=Cn[ki][un[Ur[yi]]]),An&=15,En[yi]=Xn=Cn[An][5],li>0)if(li===16){for(ni=wi;ni<yi;ni++)En[ni]=1;wi=-1}else wi=-1;if(Cn[An][6])wi===-1&&(wi=yi);else if(wi>-1){for(ni=wi;ni<yi;ni++)En[ni]=Xn;wi=-1}Un[yi]==="B"&&(En[yi]=0),sn.hiLevel|=Xn}Ke&&function(Zn,ti,hi){for(var pi=0;pi<hi;pi++)if(Zn[pi]==="S"){ti[pi]=xn;for(var mi=pi-1;mi>=0&&Zn[mi]==="WS";mi--)ti[mi]=xn}}(Un,En,Ji)},Dn=function(Kr,En,sn,li,ni){if(!(ni.hiLevel<Kr)){if(Kr===1&&xn===1&&!Ge)return En.reverse(),void(sn&&sn.reverse());for(var yi,Xn,ki,wi,Ji=En.length,An=0;An<Ji;){if(li[An]>=Kr){for(ki=An+1;ki<Ji&&li[ki]>=Kr;)ki++;for(wi=An,Xn=ki-1;wi<Xn;wi++,Xn--)yi=En[wi],En[wi]=En[Xn],En[Xn]=yi,sn&&(yi=sn[wi],sn[wi]=sn[Xn],sn[Xn]=yi);An=ki}An++}}},vi=function(Kr,En,sn){var li=Kr.split(""),ni={hiLevel:xn};return sn||(sn=[]),Wn(li,sn,ni),function(yi,Xn,ki){if(ki.hiLevel!==0&&br)for(var wi,Ji=0;Ji<yi.length;Ji++)Xn[Ji]===1&&(wi=Vr.indexOf(yi[Ji]))>=0&&(yi[Ji]=Vr[wi+1])}(li,sn,ni),Dn(2,li,En,sn,ni),Dn(1,li,En,sn,ni),li.join("")};return this.__bidiEngine__.doBidiReorder=function(gn,Kr,En){if(function(li,ni){if(ni)for(var yi=0;yi<li.length;yi++)ni[yi]=yi;vt===void 0&&(vt=ai(li)),Ut===void 0&&(Ut=ai(li))}(gn,Kr),Je||!ot||Ut)if(Je&&ot&&vt^Ut)xn=vt?1:0,gn=Yn(gn,Kr,En);else if(!Je&&ot&&Ut)xn=vt?1:0,gn=vi(gn,Kr,En),gn=Yn(gn,Kr);else if(!Je||vt||ot||Ut){if(Je&&!ot&&vt^Ut)gn=Yn(gn,Kr),vt?(xn=0,gn=vi(gn,Kr,En)):(xn=1,gn=vi(gn,Kr,En),gn=Yn(gn,Kr));else if(Je&&vt&&!ot&&Ut)xn=1,gn=vi(gn,Kr,En),gn=Yn(gn,Kr);else if(!Je&&!ot&&vt^Ut){var sn=br;vt?(xn=1,gn=vi(gn,Kr,En),xn=0,br=!1,gn=vi(gn,Kr,En),br=sn):(xn=0,gn=vi(gn,Kr,En),gn=Yn(gn,Kr),xn=1,br=!1,gn=vi(gn,Kr,En),br=sn,gn=Yn(gn,Kr))}}else xn=0,gn=vi(gn,Kr,En);else xn=vt?1:0,gn=vi(gn,Kr,En);return gn},this.__bidiEngine__.setOptions=function(gn){gn&&(Je=gn.isInputVisual,ot=gn.isOutputVisual,vt=gn.isInputRtl,Ut=gn.isOutputRtl,br=gn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ke),this.__bidiEngine__};var xe=["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"],Me=new Ze.__bidiEngine__({isInputVisual:!0});Ze.API.events.push(["postProcessText",function(ke){var Ge=ke.text,Ke=(ke.x,ke.y,ke.options||{}),Je=(ke.mutex,Ke.lang,[]);if(Ke.isInputVisual=typeof Ke.isInputVisual!="boolean"||Ke.isInputVisual,Me.setOptions(Ke),Object.prototype.toString.call(Ge)==="[object Array]"){var vt=0;for(Je=[],vt=0;vt<Ge.length;vt+=1)Object.prototype.toString.call(Ge[vt])==="[object Array]"?Je.push([Me.doBidiReorder(Ge[vt][0]),Ge[vt][1],Ge[vt][2]]):Je.push([Me.doBidiReorder(Ge[vt])]);ke.text=Je}else ke.text=Me.doBidiReorder(Ge);Me.setOptions({isInputVisual:!0})}])}(K),K.API.TTFFont=function(){function Ze(xe){var Me;if(this.rawData=xe,Me=this.contents=new Yt(xe),this.contents.pos=4,Me.readString(4)==="ttcf")throw new Error("TTCF not supported.");Me.pos=0,this.parse(),this.subset=new Pi(this),this.registerTTF()}return Ze.open=function(xe){return new Ze(xe)},Ze.prototype.parse=function(){return this.directory=new pt(this.contents),this.head=new $t(this),this.name=new pr(this),this.cmap=new Pt(this),this.toUnicode={},this.hhea=new gt(this),this.maxp=new Qr(this),this.hmtx=new $r(this),this.post=new yr(this),this.os2=new Wt(this),this.loca=new Li(this),this.glyf=new Mn(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]},Ze.prototype.registerTTF=function(){var xe,Me,ke,Ge,Ke;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Je,vt,ot,Ut;for(Ut=[],Je=0,vt=(ot=this.bbox).length;Je<vt;Je++)xe=ot[Je],Ut.push(Math.round(xe*this.scaleFactor));return Ut}.call(this),this.stemV=0,this.post.exists?(ke=255&(Ge=this.post.italic_angle),(32768&(Me=Ge>>16))!=0&&(Me=-(1+(65535^Me))),this.italicAngle=+(Me+"."+ke)):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=(Ke=this.familyClass)===1||Ke===2||Ke===3||Ke===4||Ke===5||Ke===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")},Ze.prototype.characterToGlyph=function(xe){var Me;return((Me=this.cmap.unicode)!=null?Me.codeMap[xe]:void 0)||0},Ze.prototype.widthOfGlyph=function(xe){var Me;return Me=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(xe).advance*Me},Ze.prototype.widthOfString=function(xe,Me,ke){var Ge,Ke,Je,vt;for(Je=0,Ke=0,vt=(xe=""+xe).length;0<=vt?Ke<vt:Ke>vt;Ke=0<=vt?++Ke:--Ke)Ge=xe.charCodeAt(Ke),Je+=this.widthOfGlyph(this.characterToGlyph(Ge))+ke*(1e3/Me)||0;return Je*(Me/1e3)},Ze.prototype.lineHeight=function(xe,Me){var ke;return Me==null&&(Me=!1),ke=Me?this.lineGap:0,(this.ascender+ke-this.decender)/1e3*xe},Ze}();var bn,Yt=function(){function Ze(xe){this.data=xe!=null?xe:[],this.pos=0,this.length=this.data.length}return Ze.prototype.readByte=function(){return this.data[this.pos++]},Ze.prototype.writeByte=function(xe){return this.data[this.pos++]=xe},Ze.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ze.prototype.writeUInt32=function(xe){return this.writeByte(xe>>>24&255),this.writeByte(xe>>16&255),this.writeByte(xe>>8&255),this.writeByte(255&xe)},Ze.prototype.readInt32=function(){var xe;return(xe=this.readUInt32())>=2147483648?xe-4294967296:xe},Ze.prototype.writeInt32=function(xe){return xe<0&&(xe+=4294967296),this.writeUInt32(xe)},Ze.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ze.prototype.writeUInt16=function(xe){return this.writeByte(xe>>8&255),this.writeByte(255&xe)},Ze.prototype.readInt16=function(){var xe;return(xe=this.readUInt16())>=32768?xe-65536:xe},Ze.prototype.writeInt16=function(xe){return xe<0&&(xe+=65536),this.writeUInt16(xe)},Ze.prototype.readString=function(xe){var Me,ke;for(ke=[],Me=0;0<=xe?Me<xe:Me>xe;Me=0<=xe?++Me:--Me)ke[Me]=String.fromCharCode(this.readByte());return ke.join("")},Ze.prototype.writeString=function(xe){var Me,ke,Ge;for(Ge=[],Me=0,ke=xe.length;0<=ke?Me<ke:Me>ke;Me=0<=ke?++Me:--Me)Ge.push(this.writeByte(xe.charCodeAt(Me)));return Ge},Ze.prototype.readShort=function(){return this.readInt16()},Ze.prototype.writeShort=function(xe){return this.writeInt16(xe)},Ze.prototype.readLongLong=function(){var xe,Me,ke,Ge,Ke,Je,vt,ot;return xe=this.readByte(),Me=this.readByte(),ke=this.readByte(),Ge=this.readByte(),Ke=this.readByte(),Je=this.readByte(),vt=this.readByte(),ot=this.readByte(),128&xe?-1*(72057594037927940*(255^xe)+281474976710656*(255^Me)+1099511627776*(255^ke)+4294967296*(255^Ge)+16777216*(255^Ke)+65536*(255^Je)+256*(255^vt)+(255^ot)+1):72057594037927940*xe+281474976710656*Me+1099511627776*ke+4294967296*Ge+16777216*Ke+65536*Je+256*vt+ot},Ze.prototype.writeLongLong=function(xe){var Me,ke;return Me=Math.floor(xe/4294967296),ke=4294967295&xe,this.writeByte(Me>>24&255),this.writeByte(Me>>16&255),this.writeByte(Me>>8&255),this.writeByte(255&Me),this.writeByte(ke>>24&255),this.writeByte(ke>>16&255),this.writeByte(ke>>8&255),this.writeByte(255&ke)},Ze.prototype.readInt=function(){return this.readInt32()},Ze.prototype.writeInt=function(xe){return this.writeInt32(xe)},Ze.prototype.read=function(xe){var Me,ke;for(Me=[],ke=0;0<=xe?ke<xe:ke>xe;ke=0<=xe?++ke:--ke)Me.push(this.readByte());return Me},Ze.prototype.write=function(xe){var Me,ke,Ge,Ke;for(Ke=[],ke=0,Ge=xe.length;ke<Ge;ke++)Me=xe[ke],Ke.push(this.writeByte(Me));return Ke},Ze}(),pt=function(){var Ze;function xe(Me){var ke,Ge,Ke;for(this.scalarType=Me.readInt(),this.tableCount=Me.readShort(),this.searchRange=Me.readShort(),this.entrySelector=Me.readShort(),this.rangeShift=Me.readShort(),this.tables={},Ge=0,Ke=this.tableCount;0<=Ke?Ge<Ke:Ge>Ke;Ge=0<=Ke?++Ge:--Ge)ke={tag:Me.readString(4),checksum:Me.readInt(),offset:Me.readInt(),length:Me.readInt()},this.tables[ke.tag]=ke}return xe.prototype.encode=function(Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or,zt,un,lr;for(lr in zt=Object.keys(Me).length,ot=Math.log(2),Ar=16*Math.floor(Math.log(zt)/ot),Je=Math.floor(Ar/ot),br=16*zt-Ar,(Ge=new Yt).writeInt(this.scalarType),Ge.writeShort(zt),Ge.writeShort(Ar),Ge.writeShort(Je),Ge.writeShort(br),Ke=16*zt,Ut=Ge.pos+Ke,vt=null,un=[],Me)for(Or=Me[lr],Ge.writeString(lr),Ge.writeInt(Ze(Or)),Ge.writeInt(Ut),Ge.writeInt(Or.length),un=un.concat(Or),lr==="head"&&(vt=Ut),Ut+=Or.length;Ut%4;)un.push(0),Ut++;return Ge.write(un),ke=2981146554-Ze(Ge.data),Ge.pos=vt+8,Ge.writeUInt32(ke),Ge.data},Ze=function(ke){var Ge,Ke,Je,vt;for(ke=Ln.call(ke);ke.length%4;)ke.push(0);for(Je=new Yt(ke),Ke=0,Ge=0,vt=ke.length;Ge<vt;Ge=Ge+=4)Ke+=Je.readUInt32();return 4294967295&Ke},xe}(),ht={}.hasOwnProperty,Zt=function(xe,Me){for(var ke in Me)ht.call(Me,ke)&&(xe[ke]=Me[ke]);function Ge(){this.constructor=xe}return Ge.prototype=Me.prototype,xe.prototype=new Ge,xe.__super__=Me.prototype,xe};bn=function(){function Ze(xe){var Me;this.file=xe,Me=this.file.directory.tables[this.tag],this.exists=!!Me,Me&&(this.offset=Me.offset,this.length=Me.length,this.parse(this.file.contents))}return Ze.prototype.parse=function(){},Ze.prototype.encode=function(){},Ze.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ze}();var $t=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="head",xe.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.revision=Me.readInt(),this.checkSumAdjustment=Me.readInt(),this.magicNumber=Me.readInt(),this.flags=Me.readShort(),this.unitsPerEm=Me.readShort(),this.created=Me.readLongLong(),this.modified=Me.readLongLong(),this.xMin=Me.readShort(),this.yMin=Me.readShort(),this.xMax=Me.readShort(),this.yMax=Me.readShort(),this.macStyle=Me.readShort(),this.lowestRecPPEM=Me.readShort(),this.fontDirectionHint=Me.readShort(),this.indexToLocFormat=Me.readShort(),this.glyphDataFormat=Me.readShort()},xe.prototype.encode=function(Me){var ke;return(ke=new Yt).writeInt(this.version),ke.writeInt(this.revision),ke.writeInt(this.checkSumAdjustment),ke.writeInt(this.magicNumber),ke.writeShort(this.flags),ke.writeShort(this.unitsPerEm),ke.writeLongLong(this.created),ke.writeLongLong(this.modified),ke.writeShort(this.xMin),ke.writeShort(this.yMin),ke.writeShort(this.xMax),ke.writeShort(this.yMax),ke.writeShort(this.macStyle),ke.writeShort(this.lowestRecPPEM),ke.writeShort(this.fontDirectionHint),ke.writeShort(Me),ke.writeShort(this.glyphDataFormat),ke.data},xe}(),At=function(){function Ze(xe,Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr,Br,Sr,xn;switch(this.platformID=xe.readUInt16(),this.encodingID=xe.readShort(),this.offset=Me+xe.readInt(),Ar=xe.pos,xe.pos=this.offset,this.format=xe.readUInt16(),this.length=xe.readUInt16(),this.language=xe.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(ot=0;ot<256;++ot)this.codeMap[ot]=xe.readByte();break;case 4:for(zt=xe.readUInt16(),Or=zt/2,xe.pos+=6,Ke=function(){var Hn,ai;for(ai=[],ot=Hn=0;0<=Or?Hn<Or:Hn>Or;ot=0<=Or?++Hn:--Hn)ai.push(xe.readUInt16());return ai}(),xe.pos+=2,lr=function(){var Hn,ai;for(ai=[],ot=Hn=0;0<=Or?Hn<Or:Hn>Or;ot=0<=Or?++Hn:--Hn)ai.push(xe.readUInt16());return ai}(),Ut=function(){var Hn,ai;for(ai=[],ot=Hn=0;0<=Or?Hn<Or:Hn>Or;ot=0<=Or?++Hn:--Hn)ai.push(xe.readUInt16());return ai}(),br=function(){var Hn,ai;for(ai=[],ot=Hn=0;0<=Or?Hn<Or:Hn>Or;ot=0<=Or?++Hn:--Hn)ai.push(xe.readUInt16());return ai}(),Ge=(this.length-xe.pos+this.offset)/2,vt=function(){var Hn,ai;for(ai=[],ot=Hn=0;0<=Ge?Hn<Ge:Hn>Ge;ot=0<=Ge?++Hn:--Hn)ai.push(xe.readUInt16());return ai}(),ot=Br=0,xn=Ke.length;Br<xn;ot=++Br)for(Vr=Ke[ot],ke=Sr=un=lr[ot];un<=Vr?Sr<=Vr:Sr>=Vr;ke=un<=Vr?++Sr:--Sr)br[ot]===0?Je=ke+Ut[ot]:(Je=vt[br[ot]/2+(ke-un)-(Or-ot)]||0)!==0&&(Je+=Ut[ot]),this.codeMap[ke]=65535&Je}xe.pos=Ar}return Ze.encode=function(xe,Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr,Br,Sr,xn,Hn,ai,si,Yn,Wn,Dn,vi,gn,Kr,En,sn,li,ni,yi,Xn,ki,wi,Ji,An,Ur,Cn,Un,Zn,ti,hi,pi,mi,Hi,ra;switch(sn=new Yt,Je=Object.keys(xe).sort(function($i,ro){return $i-ro}),Me){case"macroman":for(lr=0,Vr=function(){var $i=[];for(un=0;un<256;++un)$i.push(0);return $i}(),Sr={0:0},Ke={},li=0,ki=Je.length;li<ki;li++)Sr[pi=xe[Ge=Je[li]]]==null&&(Sr[pi]=++lr),Ke[Ge]={old:xe[Ge],new:Sr[xe[Ge]]},Vr[Ge]=Sr[xe[Ge]];return sn.writeUInt16(1),sn.writeUInt16(0),sn.writeUInt32(12),sn.writeUInt16(0),sn.writeUInt16(262),sn.writeUInt16(0),sn.write(Vr),{charMap:Ke,subtable:sn.data,maxGlyphID:lr+1};case"unicode":for(Kr=[],Ar=[],xn=0,Sr={},ke={},Br=Ut=null,ni=0,wi=Je.length;ni<wi;ni++)Sr[ai=xe[Ge=Je[ni]]]==null&&(Sr[ai]=++xn),ke[Ge]={old:ai,new:Sr[ai]},vt=Sr[ai]-Ge,Br!=null&&vt===Ut||(Br&&Ar.push(Br),Kr.push(Ge),Ut=vt),Br=Ge;for(Br&&Ar.push(Br),Ar.push(65535),Kr.push(65535),vi=2*(Dn=Kr.length),Wn=2*Math.pow(Math.log(Dn)/Math.LN2,2),Or=Math.log(Wn/2)/Math.LN2,Yn=2*Dn-Wn,ot=[],si=[],zt=[],un=yi=0,Ji=Kr.length;yi<Ji;un=++yi){if(gn=Kr[un],br=Ar[un],gn===65535){ot.push(0),si.push(0);break}if(gn-(En=ke[gn].new)>=32768)for(ot.push(0),si.push(2*(zt.length+Dn-un)),Ge=Xn=gn;gn<=br?Xn<=br:Xn>=br;Ge=gn<=br?++Xn:--Xn)zt.push(ke[Ge].new);else ot.push(En-gn),si.push(0)}for(sn.writeUInt16(3),sn.writeUInt16(1),sn.writeUInt32(12),sn.writeUInt16(4),sn.writeUInt16(16+8*Dn+2*zt.length),sn.writeUInt16(0),sn.writeUInt16(vi),sn.writeUInt16(Wn),sn.writeUInt16(Or),sn.writeUInt16(Yn),ti=0,An=Ar.length;ti<An;ti++)Ge=Ar[ti],sn.writeUInt16(Ge);for(sn.writeUInt16(0),hi=0,Ur=Kr.length;hi<Ur;hi++)Ge=Kr[hi],sn.writeUInt16(Ge);for(mi=0,Cn=ot.length;mi<Cn;mi++)vt=ot[mi],sn.writeUInt16(vt);for(Hi=0,Un=si.length;Hi<Un;Hi++)Hn=si[Hi],sn.writeUInt16(Hn);for(ra=0,Zn=zt.length;ra<Zn;ra++)lr=zt[ra],sn.writeUInt16(lr);return{charMap:ke,subtable:sn.data,maxGlyphID:xn+1}}},Ze}(),Pt=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="cmap",xe.prototype.parse=function(Me){var ke,Ge,Ke;for(Me.pos=this.offset,this.version=Me.readUInt16(),Ke=Me.readUInt16(),this.tables=[],this.unicode=null,Ge=0;0<=Ke?Ge<Ke:Ge>Ke;Ge=0<=Ke?++Ge:--Ge)ke=new At(Me,this.offset),this.tables.push(ke),ke.isUnicode&&this.unicode==null&&(this.unicode=ke);return!0},xe.encode=function(Me,ke){var Ge,Ke;return ke==null&&(ke="macroman"),Ge=At.encode(Me,ke),(Ke=new Yt).writeUInt16(0),Ke.writeUInt16(1),Ge.table=Ke.data.concat(Ge.subtable),Ge},xe}(),gt=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="hhea",xe.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.ascender=Me.readShort(),this.decender=Me.readShort(),this.lineGap=Me.readShort(),this.advanceWidthMax=Me.readShort(),this.minLeftSideBearing=Me.readShort(),this.minRightSideBearing=Me.readShort(),this.xMaxExtent=Me.readShort(),this.caretSlopeRise=Me.readShort(),this.caretSlopeRun=Me.readShort(),this.caretOffset=Me.readShort(),Me.pos+=8,this.metricDataFormat=Me.readShort(),this.numberOfMetrics=Me.readUInt16()},xe}(),Wt=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="OS/2",xe.prototype.parse=function(Me){if(Me.pos=this.offset,this.version=Me.readUInt16(),this.averageCharWidth=Me.readShort(),this.weightClass=Me.readUInt16(),this.widthClass=Me.readUInt16(),this.type=Me.readShort(),this.ySubscriptXSize=Me.readShort(),this.ySubscriptYSize=Me.readShort(),this.ySubscriptXOffset=Me.readShort(),this.ySubscriptYOffset=Me.readShort(),this.ySuperscriptXSize=Me.readShort(),this.ySuperscriptYSize=Me.readShort(),this.ySuperscriptXOffset=Me.readShort(),this.ySuperscriptYOffset=Me.readShort(),this.yStrikeoutSize=Me.readShort(),this.yStrikeoutPosition=Me.readShort(),this.familyClass=Me.readShort(),this.panose=function(){var ke,Ge;for(Ge=[],ke=0;ke<10;++ke)Ge.push(Me.readByte());return Ge}(),this.charRange=function(){var ke,Ge;for(Ge=[],ke=0;ke<4;++ke)Ge.push(Me.readInt());return Ge}(),this.vendorID=Me.readString(4),this.selection=Me.readShort(),this.firstCharIndex=Me.readShort(),this.lastCharIndex=Me.readShort(),this.version>0&&(this.ascent=Me.readShort(),this.descent=Me.readShort(),this.lineGap=Me.readShort(),this.winAscent=Me.readShort(),this.winDescent=Me.readShort(),this.codePageRange=function(){var ke,Ge;for(Ge=[],ke=0;ke<2;ke=++ke)Ge.push(Me.readInt());return Ge}(),this.version>1))return this.xHeight=Me.readShort(),this.capHeight=Me.readShort(),this.defaultChar=Me.readShort(),this.breakChar=Me.readShort(),this.maxContext=Me.readShort()},xe}(),yr=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="post",xe.prototype.parse=function(Me){var ke,Ge,Ke;switch(Me.pos=this.offset,this.format=Me.readInt(),this.italicAngle=Me.readInt(),this.underlinePosition=Me.readShort(),this.underlineThickness=Me.readShort(),this.isFixedPitch=Me.readInt(),this.minMemType42=Me.readInt(),this.maxMemType42=Me.readInt(),this.minMemType1=Me.readInt(),this.maxMemType1=Me.readInt(),this.format){case 65536:break;case 131072:var Je;for(Ge=Me.readUInt16(),this.glyphNameIndex=[],Je=0;0<=Ge?Je<Ge:Je>Ge;Je=0<=Ge?++Je:--Je)this.glyphNameIndex.push(Me.readUInt16());for(this.names=[],Ke=[];Me.pos<this.offset+this.length;)ke=Me.readByte(),Ke.push(this.names.push(Me.readString(ke)));return Ke;case 151552:return Ge=Me.readUInt16(),this.offsets=Me.read(Ge);case 196608:break;case 262144:return this.map=function(){var vt,ot,Ut;for(Ut=[],Je=vt=0,ot=this.file.maxp.numGlyphs;0<=ot?vt<ot:vt>ot;Je=0<=ot?++vt:--vt)Ut.push(Me.readUInt32());return Ut}.call(this)}},xe}(),cr=function(xe,Me){this.raw=xe,this.length=xe.length,this.platformID=Me.platformID,this.encodingID=Me.encodingID,this.languageID=Me.languageID},pr=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="name",xe.prototype.parse=function(Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or,zt;for(Me.pos=this.offset,Me.readShort(),ke=Me.readShort(),ot=Me.readShort(),Ge=[],Je=0;0<=ke?Je<ke:Je>ke;Je=0<=ke?++Je:--Je)Ge.push({platformID:Me.readShort(),encodingID:Me.readShort(),languageID:Me.readShort(),nameID:Me.readShort(),length:Me.readShort(),offset:this.offset+ot+Me.readShort()});for(Ut={},Je=Ar=0,Or=Ge.length;Ar<Or;Je=++Ar)Ke=Ge[Je],Me.pos=Ke.offset,br=Me.readString(Ke.length),vt=new cr(br,Ke),Ut[zt=Ke.nameID]==null&&(Ut[zt]=[]),Ut[Ke.nameID].push(vt);this.strings=Ut,this.copyright=Ut[0],this.fontFamily=Ut[1],this.fontSubfamily=Ut[2],this.uniqueSubfamily=Ut[3],this.fontName=Ut[4],this.version=Ut[5];try{this.postscriptName=Ut[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(un){this.postscriptName=Ut[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Ut[7],this.manufacturer=Ut[8],this.designer=Ut[9],this.description=Ut[10],this.vendorUrl=Ut[11],this.designerUrl=Ut[12],this.license=Ut[13],this.licenseUrl=Ut[14],this.preferredFamily=Ut[15],this.preferredSubfamily=Ut[17],this.compatibleFull=Ut[18],this.sampleText=Ut[19]},xe}(),Qr=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="maxp",xe.prototype.parse=function(Me){return Me.pos=this.offset,this.version=Me.readInt(),this.numGlyphs=Me.readUInt16(),this.maxPoints=Me.readUInt16(),this.maxContours=Me.readUInt16(),this.maxCompositePoints=Me.readUInt16(),this.maxComponentContours=Me.readUInt16(),this.maxZones=Me.readUInt16(),this.maxTwilightPoints=Me.readUInt16(),this.maxStorage=Me.readUInt16(),this.maxFunctionDefs=Me.readUInt16(),this.maxInstructionDefs=Me.readUInt16(),this.maxStackElements=Me.readUInt16(),this.maxSizeOfInstructions=Me.readUInt16(),this.maxComponentElements=Me.readUInt16(),this.maxComponentDepth=Me.readUInt16()},xe}(),$r=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="hmtx",xe.prototype.parse=function(Me){var ke,Ge,Ke,Je,vt,ot,Ut;for(Me.pos=this.offset,this.metrics=[],ke=0,ot=this.file.hhea.numberOfMetrics;0<=ot?ke<ot:ke>ot;ke=0<=ot?++ke:--ke)this.metrics.push({advance:Me.readUInt16(),lsb:Me.readInt16()});for(Ke=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var br,Ar;for(Ar=[],ke=br=0;0<=Ke?br<Ke:br>Ke;ke=0<=Ke?++br:--br)Ar.push(Me.readInt16());return Ar}(),this.widths=function(){var br,Ar,Or,zt;for(zt=[],br=0,Ar=(Or=this.metrics).length;br<Ar;br++)Je=Or[br],zt.push(Je.advance);return zt}.call(this),Ge=this.widths[this.widths.length-1],Ut=[],ke=vt=0;0<=Ke?vt<Ke:vt>Ke;ke=0<=Ke?++vt:--vt)Ut.push(this.widths.push(Ge));return Ut},xe.prototype.forGlyph=function(Me){return Me in this.metrics?this.metrics[Me]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Me-this.metrics.length]}},xe}(),Ln=[].slice,Mn=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="glyf",xe.prototype.parse=function(){return this.cache={}},xe.prototype.glyphFor=function(Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or;return Me in this.cache?this.cache[Me]:(Je=this.file.loca,ke=this.file.contents,Ge=Je.indexOf(Me),(Ke=Je.lengthOf(Me))===0?this.cache[Me]=null:(ke.pos=this.offset+Ge,vt=(ot=new Yt(ke.read(Ke))).readShort(),br=ot.readShort(),Or=ot.readShort(),Ut=ot.readShort(),Ar=ot.readShort(),this.cache[Me]=vt===-1?new ii(ot,br,Or,Ut,Ar):new Vn(ot,vt,br,Or,Ut,Ar),this.cache[Me]))},xe.prototype.encode=function(Me,ke,Ge){var Ke,Je,vt,ot,Ut;for(vt=[],Je=[],ot=0,Ut=ke.length;ot<Ut;ot++)Ke=Me[ke[ot]],Je.push(vt.length),Ke&&(vt=vt.concat(Ke.encode(Ge)));return Je.push(vt.length),{table:vt,offsets:Je}},xe}(),Vn=function(){function Ze(xe,Me,ke,Ge,Ke,Je){this.raw=xe,this.numberOfContours=Me,this.xMin=ke,this.yMin=Ge,this.xMax=Ke,this.yMax=Je,this.compound=!1}return Ze.prototype.encode=function(){return this.raw.data},Ze}(),ii=function(){function Ze(xe,Me,ke,Ge,Ke){var Je,vt;for(this.raw=xe,this.xMin=Me,this.yMin=ke,this.xMax=Ge,this.yMax=Ke,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Je=this.raw;vt=Je.readShort(),this.glyphOffsets.push(Je.pos),this.glyphIDs.push(Je.readUInt16()),32&vt;)Je.pos+=1&vt?4:2,128&vt?Je.pos+=8:64&vt?Je.pos+=4:8&vt&&(Je.pos+=2)}return Ze.prototype.encode=function(){var xe,Me,ke;for(Me=new Yt(Ln.call(this.raw.data)),xe=0,ke=this.glyphIDs.length;xe<ke;++xe)Me.pos=this.glyphOffsets[xe];return Me.data},Ze}(),Li=function(Ze){function xe(){return xe.__super__.constructor.apply(this,arguments)}return Zt(xe,bn),xe.prototype.tag="loca",xe.prototype.parse=function(Me){var ke,Ge;return Me.pos=this.offset,ke=this.file.head.indexToLocFormat,this.offsets=ke===0?function(){var Ke,Je;for(Je=[],Ge=0,Ke=this.length;Ge<Ke;Ge+=2)Je.push(2*Me.readUInt16());return Je}.call(this):function(){var Ke,Je;for(Je=[],Ge=0,Ke=this.length;Ge<Ke;Ge+=4)Je.push(Me.readUInt32());return Je}.call(this)},xe.prototype.indexOf=function(Me){return this.offsets[Me]},xe.prototype.lengthOf=function(Me){return this.offsets[Me+1]-this.offsets[Me]},xe.prototype.encode=function(Me,ke){for(var Ge=new Uint32Array(this.offsets.length),Ke=0,Je=0,vt=0;vt<Ge.length;++vt)if(Ge[vt]=Ke,Je<ke.length&&ke[Je]==vt){++Je,Ge[vt]=Ke;var ot=this.offsets[vt],Ut=this.offsets[vt+1]-ot;Ut>0&&(Ke+=Ut)}for(var br=new Array(4*Ge.length),Ar=0;Ar<Ge.length;++Ar)br[4*Ar+3]=255&Ge[Ar],br[4*Ar+2]=(65280&Ge[Ar])>>8,br[4*Ar+1]=(16711680&Ge[Ar])>>16,br[4*Ar]=(4278190080&Ge[Ar])>>24;return br},xe}(),Pi=function(){function Ze(xe){this.font=xe,this.subset={},this.unicodes={},this.next=33}return Ze.prototype.generateCmap=function(){var xe,Me,ke,Ge,Ke;for(Me in Ge=this.font.cmap.tables[0].codeMap,xe={},Ke=this.subset)ke=Ke[Me],xe[Me]=Ge[ke];return xe},Ze.prototype.glyphsFor=function(xe){var Me,ke,Ge,Ke,Je,vt,ot;for(Ge={},Je=0,vt=xe.length;Je<vt;Je++)Ge[Ke=xe[Je]]=this.font.glyf.glyphFor(Ke);for(Ke in Me=[],Ge)((ke=Ge[Ke])!=null?ke.compound:void 0)&&Me.push.apply(Me,ke.glyphIDs);if(Me.length>0)for(Ke in ot=this.glyphsFor(Me))ke=ot[Ke],Ge[Ke]=ke;return Ge},Ze.prototype.encode=function(xe,Me){var ke,Ge,Ke,Je,vt,ot,Ut,br,Ar,Or,zt,un,lr,Vr,Br;for(Ge in ke=Pt.encode(this.generateCmap(),"unicode"),Je=this.glyphsFor(xe),zt={0:0},Br=ke.charMap)zt[(ot=Br[Ge]).old]=ot.new;for(un in Or=ke.maxGlyphID,Je)un in zt||(zt[un]=Or++);return br=function(Sr){var xn,Hn;for(xn in Hn={},Sr)Hn[Sr[xn]]=xn;return Hn}(zt),Ar=Object.keys(br).sort(function(Sr,xn){return Sr-xn}),lr=function(){var Sr,xn,Hn;for(Hn=[],Sr=0,xn=Ar.length;Sr<xn;Sr++)vt=Ar[Sr],Hn.push(br[vt]);return Hn}(),Ke=this.font.glyf.encode(Je,lr,zt),Ut=this.font.loca.encode(Ke.offsets,lr),Vr={cmap:this.font.cmap.raw(),glyf:Ke.table,loca:Ut,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(Me)},this.font.os2.exists&&(Vr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Vr)},Ze}();K.API.PDFObject=function(){var Ze;function xe(){}return Ze=function(ke,Ge){return(Array(Ge+1).join("0")+ke).slice(-Ge)},xe.convert=function(Me){var ke,Ge,Ke,Je;if(Array.isArray(Me))return"["+function(){var vt,ot,Ut;for(Ut=[],vt=0,ot=Me.length;vt<ot;vt++)ke=Me[vt],Ut.push(xe.convert(ke));return Ut}().join(" ")+"]";if(typeof Me=="string")return"/"+Me;if(Me!=null?Me.isString:void 0)return"("+Me+")";if(Me instanceof Date)return"(D:"+Ze(Me.getUTCFullYear(),4)+Ze(Me.getUTCMonth(),2)+Ze(Me.getUTCDate(),2)+Ze(Me.getUTCHours(),2)+Ze(Me.getUTCMinutes(),2)+Ze(Me.getUTCSeconds(),2)+"Z)";if({}.toString.call(Me)==="[object Object]"){for(Ge in Ke=["<<"],Me)Je=Me[Ge],Ke.push("/"+Ge+" "+xe.convert(Je));return Ke.push(">>"),Ke.join(`
`)}return""+Me},xe}(),N.default=K}.call(this,i("yLpj"))},e5VY:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("YNAk"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},eIcI:function(B,N,i){var y=i("bYtY"),m=i("hM6l");function E(v,f,d){m.call(this,v,f,d),this.type="value",this.angle=0,this.name="",this.model}y.inherits(E,m);var p=E;B.exports=p},eJH7:function(B,N,i){var y=i("bYtY");function m(E){var p=E.polar;if(p){y.isArray(p)||(p=[p]);var v=[];y.each(p,function(f,d){f.indicator?(f.type&&!f.shape&&(f.shape=f.type),E.radar=E.radar||[],y.isArray(E.radar)||(E.radar=[E.radar]),E.radar.push(f)):v.push(f)}),E.polar=v}y.each(E.series,function(f){f&&f.type==="radar"&&f.polarIndex&&(f.radarIndex=f.polarIndex)})}B.exports=m},eP3c:function(B,N,i){"use strict";function y($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ne){return typeof ne}:y=function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},y($e)}Object.defineProperty(N,"__esModule",{value:!0}),N.inflateReset=ie,N.inflateReset2=de,N.inflateResetKeep=Se,N.inflateInit=We,N.inflateInit2=_e,N.inflate=bt,N.inflateEnd=Ct,N.inflateGetHeader=It,N.inflateSetDictionary=Ft,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 m=n(i("6BzB")),E=d(i("xlC8")),p=d(i("QV2g")),v=d(i("sjKO")),f=d(i("JSwD"));function d($e){return $e&&$e.__esModule?$e:{default:$e}}function l(){if(typeof WeakMap!="function")return null;var $e=new WeakMap;return l=function(){return $e},$e}function n($e){if($e&&$e.__esModule)return $e;if($e===null||y($e)!=="object"&&typeof $e!="function")return{default:$e};var ge=l();if(ge&&ge.has($e))return ge.get($e);var ne={},wt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var qe in $e)if(Object.prototype.hasOwnProperty.call($e,qe)){var he=wt?Object.getOwnPropertyDescriptor($e,qe):null;he&&(he.get||he.set)?Object.defineProperty(ne,qe,he):ne[qe]=$e[qe]}return ne.default=$e,ge&&ge.set($e,ne),ne}var t=0,a=1,o=2,r=4;N.Z_FINISH=r;var c=5;N.Z_BLOCK=c;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 g=-2;N.Z_STREAM_ERROR=g;var A=-3;N.Z_DATA_ERROR=A;var w=-4;N.Z_MEM_ERROR=w;var b=-5;N.Z_BUF_ERROR=b;var S=8;N.Z_DEFLATED=S;var _=1,T=2,x=3,C=4,I=5,L=6,M=7,k=8,R=9,j=10,V=11,D=12,H=13,P=14,K=15,U=16,G=17,W=18,Z=19,J=20,ve=21,q=22,ce=23,be=24,Ce=25,Fe=26,fe=27,Ne=28,Q=29,ae=30,Ue=31,te=32,X=852,z=592,Y=15,pe=Y;function se($e){return($e>>>24&255)+($e>>>8&65280)+(($e&65280)<<8)+(($e&255)<<24)}function Te(){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 m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Se($e){var ge;return!$e||!$e.state?g:(ge=$e.state,$e.total_in=$e.total_out=ge.total=0,$e.msg="",ge.wrap&&($e.adler=ge.wrap&1),ge.mode=_,ge.last=0,ge.havedict=0,ge.dmax=32768,ge.head=null,ge.hold=0,ge.bits=0,ge.lencode=ge.lendyn=new m.Buf32(X),ge.distcode=ge.distdyn=new m.Buf32(z),ge.sane=1,ge.back=-1,s)}function ie($e){var ge;return!$e||!$e.state?g:(ge=$e.state,ge.wsize=0,ge.whave=0,ge.wnext=0,Se($e))}function de($e,ge){var ne,wt;return!$e||!$e.state?g:(wt=$e.state,ge<0?(ne=0,ge=-ge):(ne=(ge>>4)+1,ge<48&&(ge&=15)),ge&&(ge<8||ge>15)?g:(wt.window!==null&&wt.wbits!==ge&&(wt.window=null),wt.wrap=ne,wt.wbits=ge,ie($e)))}function _e($e,ge){var ne,wt;return $e?(wt=new Te,$e.state=wt,wt.window=null,ne=de($e,ge),ne!==s&&($e.state=null),ne):g}function We($e){return _e($e,pe)}var at=!0,tt,Oe;function yt($e){if(at){var ge;for(tt=new m.Buf32(512),Oe=new m.Buf32(32),ge=0;ge<144;)$e.lens[ge++]=8;for(;ge<256;)$e.lens[ge++]=9;for(;ge<280;)$e.lens[ge++]=7;for(;ge<288;)$e.lens[ge++]=8;for((0,f.default)(a,$e.lens,0,288,tt,0,$e.work,{bits:9}),ge=0;ge<32;)$e.lens[ge++]=5;(0,f.default)(o,$e.lens,0,32,Oe,0,$e.work,{bits:5}),at=!1}$e.lencode=tt,$e.lenbits=9,$e.distcode=Oe,$e.distbits=5}function Ye($e,ge,ne,wt){var qe,he=$e.state;return he.window===null&&(he.wsize=1<<he.wbits,he.wnext=0,he.whave=0,he.window=new m.Buf8(he.wsize)),wt>=he.wsize?(m.arraySet(he.window,ge,ne-he.wsize,he.wsize,0),he.wnext=0,he.whave=he.wsize):(qe=he.wsize-he.wnext,qe>wt&&(qe=wt),m.arraySet(he.window,ge,ne-wt,qe,he.wnext),wt-=qe,wt?(m.arraySet(he.window,ge,ne-wt,wt,0),he.wnext=wt,he.whave=he.wsize):(he.wnext+=qe,he.wnext===he.wsize&&(he.wnext=0),he.whave<he.wsize&&(he.whave+=qe))),0}function bt($e,ge){var ne,wt,qe,he,kt,nr,lt,Xt,hr,Wr,mt,Et,rt,He,ze=0,Rt,sr,Jt,qt,qr,Fr,mn,Tt,St=new m.Buf8(4),Re,Ve,Xe=[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 g;ne=$e.state,ne.mode===D&&(ne.mode=H),kt=$e.next_out,qe=$e.output,lt=$e.avail_out,he=$e.next_in,wt=$e.input,nr=$e.avail_in,Xt=ne.hold,hr=ne.bits,Wr=nr,mt=lt,Tt=s;e:for(;;)switch(ne.mode){case _:if(ne.wrap===0){ne.mode=H;break}for(;hr<16;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(ne.wrap&2&&Xt===35615){ne.check=0,St[0]=Xt&255,St[1]=Xt>>>8&255,ne.check=(0,p.default)(ne.check,St,2,0),Xt=0,hr=0,ne.mode=T;break}if(ne.flags=0,ne.head&&(ne.head.done=!1),!(ne.wrap&1)||(((Xt&255)<<8)+(Xt>>8))%31){$e.msg="incorrect header check",ne.mode=ae;break}if((Xt&15)!==S){$e.msg="unknown compression method",ne.mode=ae;break}if(Xt>>>=4,hr-=4,mn=(Xt&15)+8,ne.wbits===0)ne.wbits=mn;else if(mn>ne.wbits){$e.msg="invalid window size",ne.mode=ae;break}ne.dmax=1<<mn,$e.adler=ne.check=1,ne.mode=Xt&512?j:D,Xt=0,hr=0;break;case T:for(;hr<16;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(ne.flags=Xt,(ne.flags&255)!==S){$e.msg="unknown compression method",ne.mode=ae;break}if(ne.flags&57344){$e.msg="unknown header flags set",ne.mode=ae;break}ne.head&&(ne.head.text=Xt>>8&1),ne.flags&512&&(St[0]=Xt&255,St[1]=Xt>>>8&255,ne.check=(0,p.default)(ne.check,St,2,0)),Xt=0,hr=0,ne.mode=x;case x:for(;hr<32;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.head&&(ne.head.time=Xt),ne.flags&512&&(St[0]=Xt&255,St[1]=Xt>>>8&255,St[2]=Xt>>>16&255,St[3]=Xt>>>24&255,ne.check=(0,p.default)(ne.check,St,4,0)),Xt=0,hr=0,ne.mode=C;case C:for(;hr<16;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.head&&(ne.head.xflags=Xt&255,ne.head.os=Xt>>8),ne.flags&512&&(St[0]=Xt&255,St[1]=Xt>>>8&255,ne.check=(0,p.default)(ne.check,St,2,0)),Xt=0,hr=0,ne.mode=I;case I:if(ne.flags&1024){for(;hr<16;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.length=Xt,ne.head&&(ne.head.extra_len=Xt),ne.flags&512&&(St[0]=Xt&255,St[1]=Xt>>>8&255,ne.check=(0,p.default)(ne.check,St,2,0)),Xt=0,hr=0}else ne.head&&(ne.head.extra=null);ne.mode=L;case L:if(ne.flags&1024&&(Et=ne.length,Et>nr&&(Et=nr),Et&&(ne.head&&(mn=ne.head.extra_len-ne.length,ne.head.extra||(ne.head.extra=new Array(ne.head.extra_len)),m.arraySet(ne.head.extra,wt,he,Et,mn)),ne.flags&512&&(ne.check=(0,p.default)(ne.check,wt,Et,he)),nr-=Et,he+=Et,ne.length-=Et),ne.length))break e;ne.length=0,ne.mode=M;case M:if(ne.flags&2048){if(nr===0)break e;Et=0;do mn=wt[he+Et++],ne.head&&mn&&ne.length<65536&&(ne.head.name+=String.fromCharCode(mn));while(mn&&Et<nr);if(ne.flags&512&&(ne.check=(0,p.default)(ne.check,wt,Et,he)),nr-=Et,he+=Et,mn)break e}else ne.head&&(ne.head.name=null);ne.length=0,ne.mode=k;case k:if(ne.flags&4096){if(nr===0)break e;Et=0;do mn=wt[he+Et++],ne.head&&mn&&ne.length<65536&&(ne.head.comment+=String.fromCharCode(mn));while(mn&&Et<nr);if(ne.flags&512&&(ne.check=(0,p.default)(ne.check,wt,Et,he)),nr-=Et,he+=Et,mn)break e}else ne.head&&(ne.head.comment=null);ne.mode=R;case R:if(ne.flags&512){for(;hr<16;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(Xt!==(ne.check&65535)){$e.msg="header crc mismatch",ne.mode=ae;break}Xt=0,hr=0}ne.head&&(ne.head.hcrc=ne.flags>>9&1,ne.head.done=!0),$e.adler=ne.check=0,ne.mode=D;break;case j:for(;hr<32;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}$e.adler=ne.check=se(Xt),Xt=0,hr=0,ne.mode=V;case V:if(ne.havedict===0)return $e.next_out=kt,$e.avail_out=lt,$e.next_in=he,$e.avail_in=nr,ne.hold=Xt,ne.bits=hr,h;$e.adler=ne.check=1,ne.mode=D;case D:if(ge===c||ge===e)break e;case H:if(ne.last){Xt>>>=hr&7,hr-=hr&7,ne.mode=fe;break}for(;hr<3;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.last=Xt&1,Xt>>>=1,hr-=1;switch(Xt&3){case 0:ne.mode=P;break;case 1:if(yt(ne),ne.mode=J,ge===e){Xt>>>=2,hr-=2;break e}break;case 2:ne.mode=G;break;case 3:$e.msg="invalid block type",ne.mode=ae}Xt>>>=2,hr-=2;break;case P:for(Xt>>>=hr&7,hr-=hr&7;hr<32;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if((Xt&65535)!==(Xt>>>16^65535)){$e.msg="invalid stored block lengths",ne.mode=ae;break}if(ne.length=Xt&65535,Xt=0,hr=0,ne.mode=K,ge===e)break e;case K:ne.mode=U;case U:if(Et=ne.length,Et){if(Et>nr&&(Et=nr),Et>lt&&(Et=lt),Et===0)break e;m.arraySet(qe,wt,he,Et,kt),nr-=Et,he+=Et,lt-=Et,kt+=Et,ne.length-=Et;break}ne.mode=D;break;case G:for(;hr<14;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(ne.nlen=(Xt&31)+257,Xt>>>=5,hr-=5,ne.ndist=(Xt&31)+1,Xt>>>=5,hr-=5,ne.ncode=(Xt&15)+4,Xt>>>=4,hr-=4,ne.nlen>286||ne.ndist>30){$e.msg="too many length or distance symbols",ne.mode=ae;break}ne.have=0,ne.mode=W;case W:for(;ne.have<ne.ncode;){for(;hr<3;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.lens[Xe[ne.have++]]=Xt&7,Xt>>>=3,hr-=3}for(;ne.have<19;)ne.lens[Xe[ne.have++]]=0;if(ne.lencode=ne.lendyn,ne.lenbits=7,Re={bits:ne.lenbits},Tt=(0,f.default)(t,ne.lens,0,19,ne.lencode,0,ne.work,Re),ne.lenbits=Re.bits,Tt){$e.msg="invalid code lengths set",ne.mode=ae;break}ne.have=0,ne.mode=Z;case Z:for(;ne.have<ne.nlen+ne.ndist;){for(;!(ze=ne.lencode[Xt&(1<<ne.lenbits)-1],Rt=ze>>>24,sr=ze>>>16&255,Jt=ze&65535,Rt<=hr);){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(Jt<16)Xt>>>=Rt,hr-=Rt,ne.lens[ne.have++]=Jt;else{if(Jt===16){for(Ve=Rt+2;hr<Ve;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(Xt>>>=Rt,hr-=Rt,ne.have===0){$e.msg="invalid bit length repeat",ne.mode=ae;break}mn=ne.lens[ne.have-1],Et=3+(Xt&3),Xt>>>=2,hr-=2}else if(Jt===17){for(Ve=Rt+3;hr<Ve;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}Xt>>>=Rt,hr-=Rt,mn=0,Et=3+(Xt&7),Xt>>>=3,hr-=3}else{for(Ve=Rt+7;hr<Ve;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}Xt>>>=Rt,hr-=Rt,mn=0,Et=11+(Xt&127),Xt>>>=7,hr-=7}if(ne.have+Et>ne.nlen+ne.ndist){$e.msg="invalid bit length repeat",ne.mode=ae;break}for(;Et--;)ne.lens[ne.have++]=mn}}if(ne.mode===ae)break;if(ne.lens[256]===0){$e.msg="invalid code -- missing end-of-block",ne.mode=ae;break}if(ne.lenbits=9,Re={bits:ne.lenbits},Tt=(0,f.default)(a,ne.lens,0,ne.nlen,ne.lencode,0,ne.work,Re),ne.lenbits=Re.bits,Tt){$e.msg="invalid literal/lengths set",ne.mode=ae;break}if(ne.distbits=6,ne.distcode=ne.distdyn,Re={bits:ne.distbits},Tt=(0,f.default)(o,ne.lens,ne.nlen,ne.ndist,ne.distcode,0,ne.work,Re),ne.distbits=Re.bits,Tt){$e.msg="invalid distances set",ne.mode=ae;break}if(ne.mode=J,ge===e)break e;case J:ne.mode=ve;case ve:if(nr>=6&&lt>=258){$e.next_out=kt,$e.avail_out=lt,$e.next_in=he,$e.avail_in=nr,ne.hold=Xt,ne.bits=hr,(0,v.default)($e,mt),kt=$e.next_out,qe=$e.output,lt=$e.avail_out,he=$e.next_in,wt=$e.input,nr=$e.avail_in,Xt=ne.hold,hr=ne.bits,ne.mode===D&&(ne.back=-1);break}for(ne.back=0;!(ze=ne.lencode[Xt&(1<<ne.lenbits)-1],Rt=ze>>>24,sr=ze>>>16&255,Jt=ze&65535,Rt<=hr);){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(sr&&(sr&240)===0){for(qt=Rt,qr=sr,Fr=Jt;!(ze=ne.lencode[Fr+((Xt&(1<<qt+qr)-1)>>qt)],Rt=ze>>>24,sr=ze>>>16&255,Jt=ze&65535,qt+Rt<=hr);){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}Xt>>>=qt,hr-=qt,ne.back+=qt}if(Xt>>>=Rt,hr-=Rt,ne.back+=Rt,ne.length=Jt,sr===0){ne.mode=Fe;break}if(sr&32){ne.back=-1,ne.mode=D;break}if(sr&64){$e.msg="invalid literal/length code",ne.mode=ae;break}ne.extra=sr&15,ne.mode=q;case q:if(ne.extra){for(Ve=ne.extra;hr<Ve;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.length+=Xt&(1<<ne.extra)-1,Xt>>>=ne.extra,hr-=ne.extra,ne.back+=ne.extra}ne.was=ne.length,ne.mode=ce;case ce:for(;!(ze=ne.distcode[Xt&(1<<ne.distbits)-1],Rt=ze>>>24,sr=ze>>>16&255,Jt=ze&65535,Rt<=hr);){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if((sr&240)===0){for(qt=Rt,qr=sr,Fr=Jt;!(ze=ne.distcode[Fr+((Xt&(1<<qt+qr)-1)>>qt)],Rt=ze>>>24,sr=ze>>>16&255,Jt=ze&65535,qt+Rt<=hr);){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}Xt>>>=qt,hr-=qt,ne.back+=qt}if(Xt>>>=Rt,hr-=Rt,ne.back+=Rt,sr&64){$e.msg="invalid distance code",ne.mode=ae;break}ne.offset=Jt,ne.extra=sr&15,ne.mode=be;case be:if(ne.extra){for(Ve=ne.extra;hr<Ve;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}ne.offset+=Xt&(1<<ne.extra)-1,Xt>>>=ne.extra,hr-=ne.extra,ne.back+=ne.extra}if(ne.offset>ne.dmax){$e.msg="invalid distance too far back",ne.mode=ae;break}ne.mode=Ce;case Ce:if(lt===0)break e;if(Et=mt-lt,ne.offset>Et){if(Et=ne.offset-Et,Et>ne.whave&&ne.sane){$e.msg="invalid distance too far back",ne.mode=ae;break}Et>ne.wnext?(Et-=ne.wnext,rt=ne.wsize-Et):rt=ne.wnext-Et,Et>ne.length&&(Et=ne.length),He=ne.window}else He=qe,rt=kt-ne.offset,Et=ne.length;Et>lt&&(Et=lt),lt-=Et,ne.length-=Et;do qe[kt++]=He[rt++];while(--Et);ne.length===0&&(ne.mode=ve);break;case Fe:if(lt===0)break e;qe[kt++]=ne.length,lt--,ne.mode=ve;break;case fe:if(ne.wrap){for(;hr<32;){if(nr===0)break e;nr--,Xt|=wt[he++]<<hr,hr+=8}if(mt-=lt,$e.total_out+=mt,ne.total+=mt,mt&&($e.adler=ne.check=ne.flags?(0,p.default)(ne.check,qe,mt,kt-mt):(0,E.default)(ne.check,qe,mt,kt-mt)),mt=lt,(ne.flags?Xt:se(Xt))!==ne.check){$e.msg="incorrect data check",ne.mode=ae;break}Xt=0,hr=0}ne.mode=Ne;case Ne:if(ne.wrap&&ne.flags){for(;hr<32;){if(nr===0)break e;nr--,Xt+=wt[he++]<<hr,hr+=8}if(Xt!==(ne.total&4294967295)){$e.msg="incorrect length check",ne.mode=ae;break}Xt=0,hr=0}ne.mode=Q;case Q:Tt=u;break e;case ae:Tt=A;break e;case Ue:return w;case te:default:return g}return $e.next_out=kt,$e.avail_out=lt,$e.next_in=he,$e.avail_in=nr,ne.hold=Xt,ne.bits=hr,(ne.wsize||mt!==$e.avail_out&&ne.mode<ae&&(ne.mode<fe||ge!==r))&&Ye($e,$e.output,$e.next_out,mt-$e.avail_out)?(ne.mode=Ue,w):(Wr-=$e.avail_in,mt-=$e.avail_out,$e.total_in+=Wr,$e.total_out+=mt,ne.total+=mt,ne.wrap&&mt&&($e.adler=ne.check=ne.flags?(0,p.default)(ne.check,qe,mt,$e.next_out-mt):(0,E.default)(ne.check,qe,mt,$e.next_out-mt)),$e.data_type=ne.bits+(ne.last?64:0)+(ne.mode===D?128:0)+(ne.mode===J||ne.mode===K?256:0),(Wr===0&&mt===0||ge===r)&&Tt===s&&(Tt=b),Tt)}function Ct($e){if(!$e||!$e.state)return g;var ge=$e.state;return ge.window&&(ge.window=null),$e.state=null,s}function It($e,ge){var ne;return!$e||!$e.state?g:(ne=$e.state,(ne.wrap&2)===0?g:(ne.head=ge,ge.done=!1,s))}function Ft($e,ge){var ne=ge.length,wt,qe,he;return!$e||!$e.state?g:(wt=$e.state,wt.wrap!==0&&wt.mode!==V?g:wt.mode===V&&(qe=1,qe=(0,E.default)(qe,ge,ne,0),qe!==wt.check)?A:(he=Ye($e,ge,ne,ne),he?(wt.mode=Ue,w):(wt.havedict=1,s)))}var Vt="pako inflate (from Nodeca project)";N.inflateInfo=Vt},ePAk:function(B,N,i){var y=i("ProS");i("2fGM");var m=y.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(E){var p,v=this.ecModel;return v.eachComponent(E,function(f){f.getCoordSysModel()===this&&(p=f)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});B.exports=m},eRkO:function(B,N,i){var y=i("+TT/"),m=y.getLayoutRect,E=y.box,p=y.positionElement,v=i("7aKB"),f=i("IwbS");function d(n,t,a){var o=t.getBoxLayoutParams(),r=t.get("padding"),c={width:a.getWidth(),height:a.getHeight()},e=m(o,c,r);E(t.get("orient"),n,t.get("itemGap"),e.width,e.height),p(n,o,c,r)}function l(n,t){var a=v.normalizeCssArray(t.get("padding")),o=t.getItemStyle(["color","opacity"]);o.fill=t.get("backgroundColor");var n=new f.Rect({shape:{x:n.x-a[3],y:n.y-a[0],width:n.width+a[1]+a[3],height:n.height+a[0]+a[2],r:t.get("borderRadius")},style:o,silent:!0,z2:-1});return n}N.layout=d,N.makeBackground=l},eS4l:function(B,N,i){i("HM/N"),i("FNN5")},eUgh:function(B,N){function i(y,m){for(var E=-1,p=y==null?0:y.length,v=Array(p);++E<p;)v[E]=m(y[E],E,y);return v}B.exports=i},ewwo:function(B,N,i){var y=i("bMXI"),m=i("+TT/"),E=m.getLayoutRect,p=i("4mN7");function v(d,l,n){var t=d.getBoxLayoutParams();return t.aspect=n,E(t,{width:l.getWidth(),height:l.getHeight()})}function f(d,l){var n=[];return d.eachSeriesByType("graph",function(t){var a=t.get("coordinateSystem");if(!a||a==="view"){var o=t.getData(),r=o.mapArray(function(S){var _=o.getItemModel(S);return[+_.get("x"),+_.get("y")]}),c=[],e=[];p.fromPoints(r,c,e),e[0]-c[0]===0&&(e[0]+=1,c[0]-=1),e[1]-c[1]===0&&(e[1]+=1,c[1]-=1);var s=(e[0]-c[0])/(e[1]-c[1]),u=v(t,l,s);isNaN(s)&&(c=[u.x,u.y],e=[u.x+u.width,u.y+u.height]);var h=e[0]-c[0],g=e[1]-c[1],A=u.width,w=u.height,b=t.coordinateSystem=new y;b.zoomLimit=t.get("scaleLimit"),b.setBoundingRect(c[0],c[1],h,g),b.setViewRect(u.x,u.y,A,w),b.setCenter(t.get("center")),b.setZoom(t.get("zoom")),n.push(b)}}),n}B.exports=f},f1nB:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("bYtY"),v=i("4NO4"),f=i("IwbS"),d=i("+TT/"),l=i("OELB"),n=l.parsePercent,t={path:null,compoundPath:null,group:f.Group,image:f.Image,text:f.Text};E.registerPreprocessor(function(A){var w=A.graphic;p.isArray(w)?!w[0]||!w[0].elements?A.graphic=[{elements:w}]:A.graphic=[A.graphic[0]]:w&&!w.elements&&(A.graphic=[{elements:[w]}])});var a=E.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(A){var w=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=w},optionUpdated:function(A,w){var b=this.option,S=(w?b:A).elements,_=b.elements=w?[]:b.elements,T=[];this._flatten(S,T);var x=v.mappingToExists(_,T);v.makeIdAndName(x);var C=this._elOptionsToUpdate=[];p.each(x,function(L,M){var k=L.option;if(!k)return;C.push(k),s(L,k),u(_,M,k),h(_[M],k)},this);for(var I=_.length-1;I>=0;I--)_[I]==null?_.splice(I,1):delete _[I].$action},_flatten:function(A,w,b){p.each(A,function(S){if(!S)return;b&&(S.parentOption=b),w.push(S);var _=S.children;S.type==="group"&&_&&this._flatten(_,w,S),delete S.children},this)},useElOptionsToUpdate:function(){var A=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,A}});E.extendComponentView({type:"graphic",init:function(A,w){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(A,w,b){A!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=A,this._updateElements(A),this._relocate(A,b)},_updateElements:function(A){var w=A.useElOptionsToUpdate();if(!w)return;var b=this._elMap,S=this.group;p.each(w,function(_){var T=_.$action,x=_.id,C=b.get(x),I=_.parentId,L=I!=null?b.get(I):S,M=_.style;_.type==="text"&&M&&(_.hv&&_.hv[1]&&(M.textVerticalAlign=M.textBaseline=null),!M.hasOwnProperty("textFill")&&M.fill&&(M.textFill=M.fill),!M.hasOwnProperty("textStroke")&&M.stroke&&(M.textStroke=M.stroke));var k=c(_);!T||T==="merge"?C?C.attr(k):o(x,L,k,b):T==="replace"?(r(C,b),o(x,L,k,b)):T==="remove"&&r(C,b);var R=b.get(x);R&&(R.__ecGraphicWidthOption=_.width,R.__ecGraphicHeightOption=_.height,g(R,A,_))})},_relocate:function(A,w){for(var b=A.option.elements,S=this.group,_=this._elMap,T=w.getWidth(),x=w.getHeight(),C=0;C<b.length;C++){var I=b[C],L=_.get(I.id);if(!L||!L.isGroup)continue;var M=L.parent,k=M===S;L.__ecGraphicWidth=n(L.__ecGraphicWidthOption,k?T:M.__ecGraphicWidth)||0,L.__ecGraphicHeight=n(L.__ecGraphicHeightOption,k?x:M.__ecGraphicHeight)||0}for(var C=b.length-1;C>=0;C--){var I=b[C],L=_.get(I.id);if(!L)continue;var M=L.parent,R=M===S?{width:T,height:x}:{width:M.__ecGraphicWidth,height:M.__ecGraphicHeight};d.positionElement(L,I,R,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var A=this._elMap;A.each(function(w){r(w,A)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function o(A,w,b,S){var _=b.type,T=t.hasOwnProperty(_)?t[_]:f.getShapeClass(_),x=new T(b);w.add(x),S.set(A,x),x.__ecGraphicId=A}function r(A,w){var b=A&&A.parent;b&&(A.type==="group"&&A.traverse(function(S){r(S,w)}),w.removeKey(A.__ecGraphicId),b.remove(A))}function c(A){return A=p.extend({},A),p.each(["id","parentId","$action","hv","bounding"].concat(d.LOCATION_PARAMS),function(w){delete A[w]}),A}function e(A,w){var b;return p.each(w,function(S){A[S]!=null&&A[S]!=="auto"&&(b=!0)}),b}function s(A,w){var b=A.exist;if(w.id=A.keyInfo.id,!w.type&&b&&(w.type=b.type),w.parentId==null){var S=w.parentOption;S?w.parentId=S.id:b&&(w.parentId=b.parentId)}w.parentOption=null}function u(A,w,b){var S=p.extend({},b),_=A[w],T=b.$action||"merge";T==="merge"?_?(p.merge(_,S,!0),d.mergeLayoutParam(_,S,{ignoreSize:!0}),d.copyLayoutParams(b,_)):A[w]=S:T==="replace"?A[w]=S:T==="remove"&&(_&&(A[w]=null))}function h(A,w){if(!A)return;A.hv=w.hv=[e(w,["left","right"]),e(w,["top","bottom"])],A.type==="group"&&(A.width==null&&(A.width=w.width=0),A.height==null&&(A.height=w.height=0))}function g(A,w,b){var S=A.eventData;!A.silent&&!A.ignore&&!S&&(S=A.eventData={componentType:"graphic",componentIndex:w.componentIndex,name:A.name}),S&&(S.info=A.info)}},f3JH:function(B,N,i){i("aTJb"),i("OlYY"),i("fc+c"),i("oY9F"),i("MqEG"),i("LBfv"),i("noeP")},f5HG:function(B,N,i){var y=i("IwbS"),m=i("QBsz"),E=y.Line.prototype,p=y.BezierCurve.prototype;function v(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,l){this[v(l)?"_buildPathLine":"_buildPathCurve"](d,l)},_buildPathLine:E.buildPath,_buildPathCurve:p.buildPath,pointAt:function(d){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](d)},_pointAtLine:E.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(d){var l=this.shape,n=v(l)?[l.x2-l.x1,l.y2-l.y1]:this._tangentAtCurve(d);return m.normalize(n,n)},_tangentAtCurve:p.tangentAt});B.exports=f},f5Yq:function(B,N,i){var y=i("bYtY"),m=y.isFunction;function E(p,v,f){return{seriesType:p,performRawSeries:!0,reset:function(d,l,n){var t=d.getData(),a=d.get("symbol"),o=d.get("symbolSize"),r=d.get("symbolKeepAspect"),c=d.get("symbolRotate"),e=m(a),s=m(o),u=m(c),h=e||s||u,g=!e&&a?a:v,A=s?null:o,w=u?null:w;if(t.setVisual({legendSymbol:f||g,symbol:g,symbolSize:A,symbolKeepAspect:r,symbolRotate:c}),l.isSeriesFiltered(d))return;function b(S,_){if(h){var T=d.getRawValue(_),x=d.getDataParams(_);e&&S.setItemVisual(_,"symbol",a(T,x)),s&&S.setItemVisual(_,"symbolSize",o(T,x)),u&&S.setItemVisual(_,"symbolRotate",c(T,x))}if(S.hasItemOption){var C=S.getItemModel(_),I=C.getShallow("symbol",!0),L=C.getShallow("symbolSize",!0),M=C.getShallow("symbolRotate",!0),k=C.getShallow("symbolKeepAspect",!0);I!=null&&S.setItemVisual(_,"symbol",I),L!=null&&S.setItemVisual(_,"symbolSize",L),M!=null&&S.setItemVisual(_,"symbolRotate",M),k!=null&&S.setItemVisual(_,"symbolKeepAspect",k)}}return{dataEach:t.hasItemOption||h?b:null}}}}B.exports=E},fAei:function(B,N,i){"use strict";i.d(N,"a",function(){return A.a});var y=i("rePB"),m=i("VTBJ"),E=i("KQm4"),p=i("1OyB"),v=i("vuIU"),f=i("Ji7U"),d=i("LK+K"),l=i("q1tI"),n=i("4IlW"),t=i("Kwbf"),a=i("TSYQ"),o=i.n(a),r=i("sboe"),c=i("OZM5"),e=i("815F"),s=i("ODXe"),u=i("Ff2n"),h=i("+nKL"),g=i("8XRh"),A=i("WaYH"),w=function(J,ve){var q=J.className,ce=J.style,be=J.motion,Ce=J.motionNodes,Fe=J.motionType,fe=J.onMotionStart,Ne=J.onMotionEnd,Q=J.active,ae=J.treeNodeRequiredProps,Ue=Object(u.a)(J,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),te=l.useState(!0),X=Object(s.a)(te,2),z=X[0],Y=X[1],pe=l.useContext(r.a),se=pe.prefixCls,Te=l.useRef(!1),Se=function(){Te.current||Ne(),Te.current=!0};return Object(l.useEffect)(function(){Ce&&Fe==="hide"&&z&&Y(!1)},[Ce]),Object(l.useEffect)(function(){return Ce&&fe(),function(){Ce&&Se()}},[]),Ce?l.createElement(g.default,Object.assign({ref:ve,visible:z},be,{motionAppear:Fe==="show",onAppearEnd:Se,onLeaveEnd:Se}),function(ie,de){var _e=ie.className,We=ie.style;return l.createElement("div",{ref:de,className:o()("".concat(se,"-treenode-motion"),_e),style:We},Ce.map(function(at){var tt=at.data,Oe=tt.key,yt=Object(u.a)(tt,["key"]),Ye=at.isStart,bt=at.isEnd;delete yt.children;var Ct=Object(e.f)(Oe,ae);return l.createElement(A.a,Object.assign({},yt,Ct,{active:Q,data:at.data,key:Oe,isStart:Ye,isEnd:bt}))}))}):l.createElement(A.a,Object.assign({domRef:ve,className:q,style:ce},Ue,{active:Q}))};w.displayName="MotionTreeNode";var b=l.forwardRef(w),S=b;function _(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=Z.length,q=J.length;if(Math.abs(ve-q)!==1)return{add:!1,key:null};function ce(be,Ce){var Fe=new Map;be.forEach(function(Ne){Fe.set(Ne,!0)});var fe=Ce.filter(function(Ne){return!Fe.has(Ne)});return fe.length===1?fe[0]:null}return ve<q?{add:!0,key:ce(Z,J)}:{add:!1,key:ce(J,Z)}}function T(Z,J,ve){var q=Z.findIndex(function(Fe){var fe=Fe.data;return fe.key===ve}),ce=Z[q+1],be=J.findIndex(function(Fe){var fe=Fe.data;return fe.key===ve});if(ce){var Ce=J.findIndex(function(Fe){var fe=Fe.data;return fe.key===ce.data.key});return J.slice(be+1,Ce)}return J.slice(be+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},M={key:I,level:0,index:0,pos:"0",node:L},k={parent:null,children:[],pos:M.pos,data:L,isStart:[],isEnd:[]};function R(Z,J,ve,q){return J===!1||!ve?Z:Z.slice(0,Math.ceil(ve/q)+1)}function j(Z){var J=Z.data.key,ve=Z.pos;return Object(e.e)(J,ve)}function V(Z){for(var J=String(Z.data.key),ve=Z;ve.parent;)ve=ve.parent,J="".concat(ve.data.key," > ").concat(J);return J}var D=function(J,ve){var q=J.prefixCls,ce=J.data,be=J.selectable,Ce=J.checkable,Fe=J.expandedKeys,fe=J.selectedKeys,Ne=J.checkedKeys,Q=J.loadedKeys,ae=J.loadingKeys,Ue=J.halfCheckedKeys,te=J.keyEntities,X=J.disabled,z=J.dragging,Y=J.dragOverNodeKey,pe=J.dropPosition,se=J.motion,Te=J.height,Se=J.itemHeight,ie=J.virtual,de=J.focusable,_e=J.activeItem,We=J.focused,at=J.tabIndex,tt=J.onKeyDown,Oe=J.onFocus,yt=J.onBlur,Ye=J.onActiveChange,bt=J.onListChangeStart,Ct=J.onListChangeEnd,It=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"]),Ft=l.useRef(null);l.useImperativeHandle(ve,function(){return{scrollTo:function(mn){Ft.current.scrollTo(mn)}}});var Vt=l.useState(Fe),$e=Object(s.a)(Vt,2),ge=$e[0],ne=$e[1],wt=l.useState(ce),qe=Object(s.a)(wt,2),he=qe[0],kt=qe[1],nr=l.useState(ce),lt=Object(s.a)(nr,2),Xt=lt[0],hr=lt[1],Wr=l.useState([]),mt=Object(s.a)(Wr,2),Et=mt[0],rt=mt[1],He=l.useState(null),ze=Object(s.a)(He,2),Rt=ze[0],sr=ze[1];function Jt(){kt(ce),hr(ce),rt([]),sr(null),Ct()}l.useEffect(function(){ne(Fe);var Fr=_(ge,Fe);if(Fr.key!==null)if(Fr.add){var mn=he.findIndex(function(ct){var tr=ct.data.key;return tr===Fr.key}),Tt=R(T(he,ce,Fr.key),ie,Te,Se),St=he.slice();St.splice(mn+1,0,k),hr(St),rt(Tt),sr("show")}else{var Re=ce.findIndex(function(ct){var tr=ct.data.key;return tr===Fr.key}),Ve=R(T(ce,he,Fr.key),ie,Te,Se),Xe=ce.slice();Xe.splice(Re+1,0,k),hr(Xe),rt(Ve),sr("hide")}else he!==ce&&(kt(ce),hr(ce))},[Fe,ce]),l.useEffect(function(){z||Jt()},[z]);var qt=se?Xt:ce,qr={expandedKeys:Fe,selectedKeys:fe,loadedKeys:Q,loadingKeys:ae,checkedKeys:Ne,halfCheckedKeys:Ue,dragOverNodeKey:Y,dropPosition:pe,keyEntities:te};return l.createElement(l.Fragment,null,We&&_e&&l.createElement("span",{style:x,"aria-live":"assertive"},V(_e)),l.createElement("div",{role:"tree"},l.createElement("input",{style:x,disabled:de===!1||X,tabIndex:de!==!1?at:null,onKeyDown:tt,onFocus:Oe,onBlur:yt,value:"",onChange:C})),l.createElement(h.a,Object.assign({},It,{data:qt,itemKey:j,height:Te,fullHeight:!1,virtual:ie,itemHeight:Se,prefixCls:"".concat(q,"-list"),ref:Ft}),function(Fr){var mn=Fr.pos,Tt=Fr.data,St=Tt.key,Re=Object(u.a)(Tt,["key"]),Ve=Fr.isStart,Xe=Fr.isEnd,ct=Object(e.e)(St,mn);delete Re.children;var tr=Object(e.f)(ct,qr);return l.createElement(S,Object.assign({},Re,tr,{active:_e&&St===_e.data.key,pos:mn,data:Fr.data,isStart:Ve,isEnd:Xe,motion:se,motionNodes:St===I?Et:null,motionType:Rt,onMotionStart:bt,onMotionEnd:Jt,treeNodeRequiredProps:qr,onMouseMove:function(){Ye(null)}}))}))},H=l.forwardRef(D);H.displayName="NodeList";var P=H,K=i("NvD2"),U=function(Z){Object(f.a)(ve,Z);var J=Object(d.a)(ve);function ve(){var q;return Object(p.a)(this,ve),q=J.apply(this,arguments),q.destroyed=!1,q.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},q.listRef=l.createRef(),q.onNodeDragStart=function(ce,be){var Ce=q.state,Fe=Ce.expandedKeys,fe=Ce.keyEntities,Ne=q.props.onDragStart,Q=be.props.eventKey;q.dragNode=be;var ae=Object(c.b)(Fe,Q);q.setState({dragging:!0,dragNodesKeys:Object(c.g)(Q,fe)}),q.setExpandedKeys(ae),Ne&&Ne({event:ce,node:Object(e.b)(be.props)})},q.onNodeDragEnter=function(ce,be){var Ce=q.state,Fe=Ce.expandedKeys,fe=Ce.keyEntities,Ne=Ce.dragNodesKeys,Q=q.props.onDragEnter,ae=be.props,Ue=ae.pos,te=ae.eventKey;if(!q.dragNode||Ne.indexOf(te)!==-1)return;var X=Object(c.c)(ce,be);if(q.dragNode.props.eventKey===te&&X===0){q.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){q.setState({dragOverNodeKey:te,dropPosition:X}),q.delayedDragEnterLogic||(q.delayedDragEnterLogic={}),Object.keys(q.delayedDragEnterLogic).forEach(function(z){clearTimeout(q.delayedDragEnterLogic[z])}),q.delayedDragEnterLogic[Ue]=window.setTimeout(function(){if(!q.state.dragging)return;var z=Object(E.a)(Fe),Y=fe[te];Y&&(Y.children||[]).length&&(z=Object(c.a)(Fe,te)),"expandedKeys"in q.props||q.setExpandedKeys(z),Q&&Q({event:ce,node:Object(e.b)(be.props),expandedKeys:z})},400)},0)},q.onNodeDragOver=function(ce,be){var Ce=q.state.dragNodesKeys,Fe=q.props.onDragOver,fe=be.props.eventKey;if(Ce.indexOf(fe)!==-1)return;if(q.dragNode&&fe===q.state.dragOverNodeKey){var Ne=Object(c.c)(ce,be);if(Ne===q.state.dropPosition)return;q.setState({dropPosition:Ne})}Fe&&Fe({event:ce,node:Object(e.b)(be.props)})},q.onNodeDragLeave=function(ce,be){var Ce=q.props.onDragLeave;q.setState({dragOverNodeKey:""}),Ce&&Ce({event:ce,node:Object(e.b)(be.props)})},q.onNodeDragEnd=function(ce,be){var Ce=q.props.onDragEnd;q.setState({dragOverNodeKey:""}),q.cleanDragState(),Ce&&Ce({event:ce,node:Object(e.b)(be.props)}),q.dragNode=null},q.onNodeDrop=function(ce,be){var Ce=q.state,Fe=Ce.dragNodesKeys,fe=Fe===void 0?[]:Fe,Ne=Ce.dropPosition,Q=q.props.onDrop,ae=be.props,Ue=ae.eventKey,te=ae.pos;if(q.setState({dragOverNodeKey:""}),q.cleanDragState(),fe.indexOf(Ue)!==-1){Object(t.a)(!1,"Can not drop to dragNode(include it's children node)");return}var X=Object(c.k)(te),z={event:ce,node:Object(e.b)(be.props),dragNode:q.dragNode?Object(e.b)(q.dragNode.props):null,dragNodesKeys:fe.slice(),dropPosition:Ne+Number(X[X.length-1]),dropToGap:!1};Ne!==0&&(z.dropToGap=!0),Q&&Q(z),q.dragNode=null},q.cleanDragState=function(){var ce=q.state.dragging;ce&&q.setState({dragging:!1})},q.onNodeClick=function(ce,be){var Ce=q.props.onClick;Ce&&Ce(ce,be)},q.onNodeDoubleClick=function(ce,be){var Ce=q.props.onDoubleClick;Ce&&Ce(ce,be)},q.onNodeSelect=function(ce,be){var Ce=q.state.selectedKeys,Fe=q.state.keyEntities,fe=q.props,Ne=fe.onSelect,Q=fe.multiple,ae=be.selected,Ue=be.key,te=!ae;te?Q?Ce=Object(c.a)(Ce,Ue):Ce=[Ue]:Ce=Object(c.b)(Ce,Ue);var X=Ce.map(function(z){var Y=Fe[z];return Y?Y.node:null}).filter(function(z){return z});q.setUncontrolledState({selectedKeys:Ce}),Ne&&Ne(Ce,{event:"select",selected:te,node:be,selectedNodes:X,nativeEvent:ce.nativeEvent})},q.onNodeCheck=function(ce,be,Ce){var Fe=q.state,fe=Fe.keyEntities,Ne=Fe.checkedKeys,Q=Fe.halfCheckedKeys,ae=q.props,Ue=ae.checkStrictly,te=ae.onCheck,X=be.key,z,Y={event:"check",node:be,checked:Ce,nativeEvent:ce.nativeEvent};if(Ue){var pe=Ce?Object(c.a)(Ne,X):Object(c.b)(Ne,X),se=Object(c.b)(Q,X);z={checked:pe,halfChecked:se},Y.checkedNodes=pe.map(function(We){return fe[We]}).filter(function(We){return We}).map(function(We){return We.node}),q.setUncontrolledState({checkedKeys:pe})}else{var Te=Object(K.a)([].concat(Object(E.a)(Ne),[X]),!0,fe),Se=Te.checkedKeys,ie=Te.halfCheckedKeys;if(!Ce){var de=new Set(Se);de.delete(X);var _e=Object(K.a)(Array.from(de),{checked:!1,halfCheckedKeys:ie},fe);Se=_e.checkedKeys,ie=_e.halfCheckedKeys}z=Se,Y.checkedNodes=[],Y.checkedNodesPositions=[],Y.halfCheckedKeys=ie,Se.forEach(function(We){var at=fe[We];if(!at)return;var tt=at.node,Oe=at.pos;Y.checkedNodes.push(tt),Y.checkedNodesPositions.push({node:tt,pos:Oe})}),q.setUncontrolledState({checkedKeys:Se},!1,{halfCheckedKeys:ie})}te&&te(z,Y)},q.onNodeLoad=function(ce){return new Promise(function(be){q.setState(function(Ce){var Fe=Ce.loadedKeys,fe=Fe===void 0?[]:Fe,Ne=Ce.loadingKeys,Q=Ne===void 0?[]:Ne,ae=q.props,Ue=ae.loadData,te=ae.onLoad,X=ce.key;if(!Ue||fe.indexOf(X)!==-1||Q.indexOf(X)!==-1)return{};var z=Ue(ce);return z.then(function(){var Y=q.state,pe=Y.loadedKeys,se=Y.loadingKeys,Te=Object(c.a)(pe,X),Se=Object(c.b)(se,X);te&&te(Te,{event:"load",node:ce}),q.setUncontrolledState({loadedKeys:Te}),q.setState({loadingKeys:Se}),be()}),{loadingKeys:Object(c.a)(Q,X)}})})},q.onNodeMouseEnter=function(ce,be){var Ce=q.props.onMouseEnter;Ce&&Ce({event:ce,node:be})},q.onNodeMouseLeave=function(ce,be){var Ce=q.props.onMouseLeave;Ce&&Ce({event:ce,node:be})},q.onNodeContextMenu=function(ce,be){var Ce=q.props.onRightClick;Ce&&(ce.preventDefault(),Ce({event:ce,node:be}))},q.onFocus=function(){var ce=q.props.onFocus;q.setState({focused:!0}),ce&&ce.apply(void 0,arguments)},q.onBlur=function(){var ce=q.props.onBlur;q.setState({focused:!1}),q.onActiveChange(null),ce&&ce.apply(void 0,arguments)},q.getTreeNodeRequiredProps=function(){var ce=q.state,be=ce.expandedKeys,Ce=ce.selectedKeys,Fe=ce.loadedKeys,fe=ce.loadingKeys,Ne=ce.checkedKeys,Q=ce.halfCheckedKeys,ae=ce.dragOverNodeKey,Ue=ce.dropPosition,te=ce.keyEntities;return{expandedKeys:be||[],selectedKeys:Ce||[],loadedKeys:Fe||[],loadingKeys:fe||[],checkedKeys:Ne||[],halfCheckedKeys:Q||[],dragOverNodeKey:ae,dropPosition:Ue,keyEntities:te}},q.setExpandedKeys=function(ce){var be=q.state.treeData,Ce=Object(e.d)(be,ce);q.setUncontrolledState({expandedKeys:ce,flattenNodes:Ce},!0)},q.onNodeExpand=function(ce,be){var Ce=q.state.expandedKeys,Fe=q.state.listChanging,fe=q.props,Ne=fe.onExpand,Q=fe.loadData,ae=be.key,Ue=be.expanded;if(Fe)return;var te=Ce.indexOf(ae),X=!Ue;if(Object(t.a)(Ue&&te!==-1||!Ue&&te===-1,"Expand state not sync with index check"),X?Ce=Object(c.a)(Ce,ae):Ce=Object(c.b)(Ce,ae),q.setExpandedKeys(Ce),Ne&&Ne(Ce,{node:be,expanded:X,nativeEvent:ce.nativeEvent}),X&&Q){var z=q.onNodeLoad(be);z&&z.then(function(){var Y=Object(e.d)(q.state.treeData,Ce);q.setUncontrolledState({flattenNodes:Y})})}},q.onListChangeStart=function(){q.setUncontrolledState({listChanging:!0})},q.onListChangeEnd=function(){setTimeout(function(){q.setUncontrolledState({listChanging:!1})})},q.onActiveChange=function(ce){var be=q.state.activeKey,Ce=q.props.onActiveChange;if(be===ce)return;q.setState({activeKey:ce}),ce!==null&&q.scrollTo({key:ce}),Ce&&Ce(ce)},q.getActiveItem=function(){var ce=q.state,be=ce.activeKey,Ce=ce.flattenNodes;return be===null?null:Ce.find(function(Fe){var fe=Fe.data.key;return fe===be})||null},q.offsetActiveKey=function(ce){var be=q.state,Ce=be.flattenNodes,Fe=be.activeKey,fe=Ce.findIndex(function(ae){var Ue=ae.data.key;return Ue===Fe});fe===-1&&ce<0&&(fe=Ce.length),fe=(fe+ce+Ce.length)%Ce.length;var Ne=Ce[fe];if(Ne){var Q=Ne.data.key;q.onActiveChange(Q)}else q.onActiveChange(null)},q.onKeyDown=function(ce){var be=q.state,Ce=be.activeKey,Fe=be.expandedKeys,fe=be.checkedKeys,Ne=q.props,Q=Ne.onKeyDown,ae=Ne.checkable,Ue=Ne.selectable;switch(ce.which){case n.a.UP:{q.offsetActiveKey(-1),ce.preventDefault();break}case n.a.DOWN:{q.offsetActiveKey(1),ce.preventDefault();break}}var te=q.getActiveItem();if(te&&te.data){var X=q.getTreeNodeRequiredProps(),z=te.data.isLeaf===!1||!!(te.data.children||[]).length,Y=Object(e.b)(Object(m.a)(Object(m.a)({},Object(e.f)(Ce,X)),{},{data:te.data,active:!0}));switch(ce.which){case n.a.LEFT:{z&&Fe.includes(Ce)?q.onNodeExpand({},Y):te.parent&&q.onActiveChange(te.parent.data.key),ce.preventDefault();break}case n.a.RIGHT:{z&&!Fe.includes(Ce)?q.onNodeExpand({},Y):te.children&&te.children.length&&q.onActiveChange(te.children[0].data.key),ce.preventDefault();break}case n.a.ENTER:case n.a.SPACE:{ae&&!Y.disabled&&Y.checkable!==!1&&!Y.disableCheckbox?q.onNodeCheck({},Y,!fe.includes(Ce)):!ae&&Ue&&!Y.disabled&&Y.selectable!==!1&&q.onNodeSelect({},Y);break}}}Q&&Q(ce)},q.setUncontrolledState=function(ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(q.destroyed)return;var Fe=!1,fe=!0,Ne={};Object.keys(ce).forEach(function(Q){if(Q in q.props){fe=!1;return}Fe=!0,Ne[Q]=ce[Q]}),Fe&&(!be||fe)&&q.setState(Object(m.a)(Object(m.a)({},Ne),Ce))},q.scrollTo=function(ce){q.listRef.current.scrollTo(ce)},q}return Object(v.a)(ve,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ce,be=this.state,Ce=be.focused,Fe=be.flattenNodes,fe=be.keyEntities,Ne=be.dragging,Q=be.activeKey,ae=this.props,Ue=ae.prefixCls,te=ae.className,X=ae.style,z=ae.showLine,Y=ae.focusable,pe=ae.tabIndex,se=pe===void 0?0:pe,Te=ae.selectable,Se=ae.showIcon,ie=ae.icon,de=ae.switcherIcon,_e=ae.draggable,We=ae.checkable,at=ae.checkStrictly,tt=ae.disabled,Oe=ae.motion,yt=ae.loadData,Ye=ae.filterTreeNode,bt=ae.height,Ct=ae.itemHeight,It=ae.virtual,Ft=ae.titleRender,Vt=ae.onContextMenu,$e=Object(c.f)(this.props);return l.createElement(r.a.Provider,{value:{prefixCls:Ue,selectable:Te,showIcon:Se,icon:ie,switcherIcon:de,draggable:_e,checkable:We,checkStrictly:at,disabled:tt,keyEntities:fe,loadData:yt,filterTreeNode:Ye,titleRender:Ft,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}},l.createElement("div",{className:o()(Ue,te,(ce={},Object(y.a)(ce,"".concat(Ue,"-show-line"),z),Object(y.a)(ce,"".concat(Ue,"-focused"),Ce),Object(y.a)(ce,"".concat(Ue,"-active-focused"),Q!==null),ce))},l.createElement(P,Object.assign({ref:this.listRef,prefixCls:Ue,style:X,data:Fe,disabled:tt,selectable:Te,checkable:!!We,motion:Oe,dragging:Ne,height:bt,itemHeight:Ct,virtual:It,focusable:Y,focused:Ce,tabIndex:se,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Vt},this.getTreeNodeRequiredProps(),$e))))}}],[{key:"getDerivedStateFromProps",value:function(ce,be){var Ce=be.prevProps,Fe={prevProps:ce};function fe(ie){return!Ce&&ie in ce||Ce&&Ce[ie]!==ce[ie]}var Ne;if(fe("treeData")?Ne=ce.treeData:fe("children")&&(Object(t.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ne=Object(e.c)(ce.children)),Ne){Fe.treeData=Ne;var Q=Object(e.a)(Ne);Fe.keyEntities=Object(m.a)(Object(y.a)({},I,M),Q.keyEntities)}var ae=Fe.keyEntities||be.keyEntities;if(fe("expandedKeys")||Ce&&fe("autoExpandParent"))Fe.expandedKeys=ce.autoExpandParent||!Ce&&ce.defaultExpandParent?Object(c.e)(ce.expandedKeys,ae):ce.expandedKeys;else if(!Ce&&ce.defaultExpandAll){var Ue=Object(m.a)({},ae);delete Ue[I],Fe.expandedKeys=Object.keys(Ue).map(function(ie){return Ue[ie].key})}else!Ce&&ce.defaultExpandedKeys&&(Fe.expandedKeys=ce.autoExpandParent||ce.defaultExpandParent?Object(c.e)(ce.defaultExpandedKeys,ae):ce.defaultExpandedKeys);if(Fe.expandedKeys||delete Fe.expandedKeys,Ne||Fe.expandedKeys){var te=Object(e.d)(Ne||be.treeData,Fe.expandedKeys||be.expandedKeys);Fe.flattenNodes=te}if(ce.selectable&&(fe("selectedKeys")?Fe.selectedKeys=Object(c.d)(ce.selectedKeys,ce):!Ce&&ce.defaultSelectedKeys&&(Fe.selectedKeys=Object(c.d)(ce.defaultSelectedKeys,ce))),ce.checkable){var X;if(fe("checkedKeys")?X=Object(c.j)(ce.checkedKeys)||{}:!Ce&&ce.defaultCheckedKeys?X=Object(c.j)(ce.defaultCheckedKeys)||{}:Ne&&(X=Object(c.j)(ce.checkedKeys)||{checkedKeys:be.checkedKeys,halfCheckedKeys:be.halfCheckedKeys}),X){var z=X,Y=z.checkedKeys,pe=Y===void 0?[]:Y,se=z.halfCheckedKeys,Te=se===void 0?[]:se;if(!ce.checkStrictly){var Se=Object(K.a)(pe,!0,ae);pe=Se.checkedKeys,Te=Se.halfCheckedKeys}Fe.checkedKeys=pe,Fe.halfCheckedKeys=Te}}return fe("loadedKeys")&&(Fe.loadedKeys=ce.loadedKeys),Fe}}]),ve}(l.Component);U.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:[]},U.TreeNode=A.a;var G=U,W=N.b=G},fE02:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("/IIm"),p=i("vZ6x"),v=i("b9oc"),f=i("72pK"),d=i("Kagy"),l=i("IUWy");i("3TkU");var n=d.toolbox.dataZoom,t=m.each,a="\0_ec_\0toolbox-dataZoom_";function o(g,A,w){(this._brushController=new E(w.getZr())).on("brush",m.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:m.clone(n.title)};var r=o.prototype;r.render=function(g,A,w,b){this.model=g,this.ecModel=A,this.api=w,u(g,A,this,b,w),s(g,A)},r.onclick=function(g,A,w){c[w].call(this)},r.remove=function(g,A){this._brushController.unmount()},r.dispose=function(g,A){this._brushController.dispose()};var c={zoom:function(){var g=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:g})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};r._onBrush=function(g,A){if(!A.isEnd||!g.length)return;var w={},b=this.ecModel;this._brushController.updateCovers([]);var S=new p(e(this.model.option),b,{include:["grid"]});S.matchOutputRanges(g,b,function(x,C,I){if(I.type!=="cartesian2d")return;var L=x.brushType;L==="rect"?(_("x",I,C[0]),_("y",I,C[1])):_({lineX:"x",lineY:"y"}[L],I,C)}),v.push(b,w),this._dispatchZoomAction(w);function _(x,C,I){var L=C.getAxis(x),M=L.model,k=T(x,M,b),R=k.findRepresentativeAxisProxy(M).getMinMaxSpan();(R.minValueSpan!=null||R.maxValueSpan!=null)&&(I=f(0,I.slice(),L.scale.getExtent(),0,R.minValueSpan,R.maxValueSpan)),k&&(w[k.id]={dataZoomId:k.id,startValue:I[0],endValue:I[1]})}function T(x,C,I){var L;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(M){var k=M.getAxisModel(x,C.componentIndex);k&&(L=M)}),L}},r._dispatchZoomAction=function(g){var A=[];t(g,function(w,b){A.push(m.clone(w))}),A.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:A})};function e(g){var A={};return m.each(["xAxisIndex","yAxisIndex"],function(w){A[w]=g[w],A[w]==null&&(A[w]="all"),(A[w]===!1||A[w]==="none")&&(A[w]=[])}),A}function s(g,A){g.setIconStatus("back",v.count(A)>1?"emphasis":"normal")}function u(g,A,w,b,S){var _=w._isZoomActive;b&&b.type==="takeGlobalCursor"&&(_=b.key==="dataZoomSelect"?b.dataZoomSelectActive:!1),w._isZoomActive=_,g.setIconStatus("zoom",_?"emphasis":"normal");var T=new p(e(g.option),A,{include:["grid"]});w._brushController.setPanels(T.makePanelOpts(S,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(_?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}l.register("dataZoom",o),y.registerPreprocessor(function(g){if(!g)return;var A=g.dataZoom||(g.dataZoom=[]);m.isArray(A)||(g.dataZoom=A=[A]);var w=g.toolbox;if(w&&(m.isArray(w)&&(w=w[0]),w&&w.feature)){var b=w.feature.dataZoom;S("xAxis",b),S("yAxis",b)}function S(T,x){if(!x)return;var C=T+"Index",I=x[C];I!=null&&I!=="all"&&!m.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),_(T,function(L,M){if(I!=null&&I!=="all"&&m.indexOf(I,M)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:a+T+M};k[C]=M,A.push(k)})}function _(T,x){var C=g[T];m.isArray(C)||(C=C?[C]:[]),t(C,x)}});var h=o;B.exports=h},fNCr:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("tSko"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},fUL4:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("r+aA"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},fW2E:function(B,N){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function y(m,E,p){return i.hasOwnProperty(E)?p*=m.dpr:p}B.exports=y},"fc+c":function(B,N,i){var y=i("sS/r"),m=y.extend({type:"dataZoom",render:function(E,p,v,f){this.dataZoomModel=E,this.ecModel=p,this.api=v},getTargetCoordInfo:function(){var E=this.dataZoomModel,p=this.ecModel,v={};E.eachTargetAxis(function(d,l){var n=p.getComponent(d.axis,l);if(n){var t=n.getCoordSysModel();t&&f(t,n,v[t.mainType]||(v[t.mainType]=[]),t.componentIndex)}},this);function f(d,l,n,t){for(var a,o=0;o<n.length;o++)if(n[o].model===d){a=n[o];break}a||n.push(a={model:d,axisModels:[],coordIndex:t}),a.axisModels.push(l)}return v}});B.exports=m},fjKi:function(B,N,i){var y=i("ProS");i("Q7if"),i("jndi"),y.registerPreprocessor(function(m){m.markArea=m.markArea||{}})},fls0:function(B,N,i){var y=i("bYtY"),m=i("QBsz"),E=i("oVpE"),p=i("f5HG"),v=i("IwbS"),f=i("OELB"),d=f.round,l=["fromSymbol","toSymbol"];function n(u){return"_"+u+"Type"}function t(u,h,g){var A=h.getItemVisual(g,"color"),w=h.getItemVisual(g,u),b=h.getItemVisual(g,u+"Size");if(!w||w==="none")return;y.isArray(b)||(b=[b,b]);var S=E.createSymbol(w,-b[0]/2,-b[1]/2,b[0],b[1],A);return S.name=u,S}function a(u){var h=new p({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 g=h[2];g?(u.cpx1=g[0],u.cpy1=g[1]):(u.cpx1=NaN,u.cpy1=NaN)}function r(){var u=this,h=u.childOfName("fromSymbol"),g=u.childOfName("toSymbol"),A=u.childOfName("label");if(!h&&!g&&A.ignore)return;for(var w=1,b=this.parent;b;)b.scale&&(w/=b.scale[0]),b=b.parent;var S=u.childOfName("line");if(!this.__dirty&&!S.__dirty)return;var _=S.shape.percent,T=S.pointAt(0),x=S.pointAt(_),C=m.sub([],x,T);if(m.normalize(C,C),h){h.attr("position",T);var I=S.tangentAt(0);h.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),h.attr("scale",[w*_,w*_])}if(g){g.attr("position",x);var I=S.tangentAt(1);g.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),g.attr("scale",[w*_,w*_])}if(!A.ignore){A.attr("position",x);var L,M,k,R,j=A.__labelDistance,V=j[0]*w,D=j[1]*w,H=_/2,I=S.tangentAt(H),P=[I[1],-I[0]],K=S.pointAt(H);P[1]>0&&(P[0]=-P[0],P[1]=-P[1]);var U=I[0]<0?-1:1;if(A.__position!=="start"&&A.__position!=="end"){var G=-Math.atan2(I[1],I[0]);x[0]<T[0]&&(G=Math.PI+G),A.attr("rotation",G)}var W;switch(A.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-D,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=D,k="top";break;default:W=0,k="middle"}switch(A.__position){case"end":L=[C[0]*V+x[0],C[1]*D+x[1]],M=C[0]>.8?"left":C[0]<-.8?"right":"center",k=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":L=[-C[0]*V+T[0],-C[1]*D+T[1]],M=C[0]>.8?"right":C[0]<-.8?"left":"center",k=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[V*U+T[0],T[1]+W],M=I[0]<0?"right":"left",R=[-V*U,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[K[0],K[1]+W],M="center",R=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-V*U+x[0],x[1]+W],M=I[0]>=0?"right":"left",R=[V*U,-W];break}A.attr({style:{textVerticalAlign:A.__verticalAlign||k,textAlign:A.__textAlign||M},position:L,scale:[w,w],origin:R})}}function c(u,h,g){v.Group.call(this),this._createLine(u,h,g)}var e=c.prototype;e.beforeUpdate=r,e._createLine=function(u,h,g){var A=u.hostModel,w=u.getItemLayout(h),b=a(w);b.shape.percent=0,v.initProps(b,{shape:{percent:1}},A,h),this.add(b);var S=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),y.each(l,function(_){var T=t(_,u,h);this.add(T),this[n(_)]=u.getItemVisual(h,_)},this),this._updateCommonStl(u,h,g)},e.updateData=function(u,h,g){var A=u.hostModel,w=this.childOfName("line"),b=u.getItemLayout(h),S={shape:{}};o(S.shape,b),v.updateProps(w,S,A,h),y.each(l,function(_){var T=u.getItemVisual(h,_),x=n(_);if(this[x]!==T){this.remove(this.childOfName(_));var C=t(_,u,h);this.add(C)}this[x]=T},this),this._updateCommonStl(u,h,g)},e._updateCommonStl=function(u,h,g){var A=u.hostModel,w=this.childOfName("line"),b=g&&g.lineStyle,S=g&&g.hoverLineStyle,_=g&&g.labelModel,T=g&&g.hoverLabelModel;if(!g||u.hasItemOption){var x=u.getItemModel(h);b=x.getModel("lineStyle").getLineStyle(),S=x.getModel("emphasis.lineStyle").getLineStyle(),_=x.getModel("label"),T=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=S,y.each(l,function(U){var G=this.childOfName(U);G&&(G.setColor(C),G.setStyle({opacity:I}))},this);var L=_.getShallow("show"),M=T.getShallow("show"),k=this.childOfName("label"),R,j;if((L||M)&&(R=C||"#000",j=A.getFormattedLabel(h,"normal",u.dataType),j==null)){var V=A.getRawValue(h);j=V==null?u.getName(h):isFinite(V)?d(V):V}var D=L?j:null,H=M?y.retrieve2(A.getFormattedLabel(h,"emphasis",u.dataType),j):null,P=k.style;if(D!=null||H!=null){v.setTextStyle(k.style,_,{text:D},{autoColor:R}),k.__textAlign=P.textAlign,k.__verticalAlign=P.textVerticalAlign,k.__position=_.get("position")||"middle";var K=_.get("distance");y.isArray(K)||(K=[K,K]),k.__labelDistance=K}H!=null?k.hoverStyle={text:H,textFill:T.getTextColor(!0),fontStyle:T.getShallow("fontStyle"),fontWeight:T.getShallow("fontWeight"),fontSize:T.getShallow("fontSize"),fontFamily:T.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!L&&!M,v.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(c,v.Group);var s=c;B.exports=s},fmMI:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.each,v=E.filter,f=E.map,d=E.isArray,l=E.indexOf,n=E.isObject,t=E.isString,a=E.createHashMap,o=E.assert,r=E.clone,c=E.merge,e=E.extend,s=E.mixin,u=i("4NO4"),h=i("Qxkt"),g=i("bLfw"),A=i("iXHM"),w=i("5Hur"),b=i("D5nY"),S=b.resetSourceDefaulter,_="\0_ec_inner",T=h.extend({init:function(D,H,P,K){P=P||{},this.option=null,this._theme=new h(P),this._optionManager=K},setOption:function(D,H){o(!(_ in D),"please use chart.getOption()"),this._optionManager.setOption(D,H),this.resetOption(null)},resetOption:function(D){var H=!1,P=this._optionManager;if(!D||D==="recreate"){var K=P.mountOption(D==="recreate");!this.option||D==="recreate"?I.call(this,K):(this.restoreData(),this.mergeOption(K)),H=!0}if((D==="timeline"||D==="media")&&this.restoreData(),!D||D==="recreate"||D==="timeline"){var U=P.getTimelineOption(this);U&&(this.mergeOption(U),H=!0)}if(!D||D==="recreate"||D==="media"){var G=P.getMediaOption(this,this._api);G.length&&p(G,function(W){this.mergeOption(W,H=!0)},this)}return H},mergeOption:function(D){var H=this.option,P=this._componentsMap,K=[];S(this),p(D,function(G,W){if(G==null)return;g.hasClass(W)?W&&K.push(W):H[W]=H[W]==null?r(G):c(H[W],G,!0)}),g.topologicalTravel(K,g.getAllClassMainTypes(),U,this);function U(G,W){var Z=u.normalizeToArray(D[G]),J=u.mappingToExists(P.get(G),Z);u.makeIdAndName(J),p(J,function(q,ce){var be=q.option;n(be)&&(q.keyInfo.mainType=G,q.keyInfo.subType=M(G,be,q.exist))});var ve=L(P,W);H[G]=[],P.set(G,[]),p(J,function(q,ce){var be=q.exist,Ce=q.option;if(o(n(Ce)||be,"Empty component definition"),!Ce)be.mergeOption({},this),be.optionUpdated({},!1);else{var Fe=g.getClass(G,q.keyInfo.subType,!0);if(be&&be.constructor===Fe)be.name=q.keyInfo.name,be.mergeOption(Ce,this),be.optionUpdated(Ce,!1);else{var fe=e({dependentModels:ve,componentIndex:ce},q.keyInfo);be=new Fe(Ce,this,this,fe),e(be,fe),be.init(Ce,this,this,fe),be.optionUpdated(null,!0)}}P.get(G)[ce]=be,H[G][ce]=be.option},this),G==="series"&&k(this,P.get("series"))}this._seriesIndicesMap=a(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var D=r(this.option);return p(D,function(H,P){if(g.hasClass(P)){for(var H=u.normalizeToArray(H),K=H.length-1;K>=0;K--)u.isIdInner(H[K])&&H.splice(K,1);D[P]=H}}),delete D[_],D},getTheme:function(){return this._theme},getComponent:function(D,H){var P=this._componentsMap.get(D);if(P)return P[H||0]},queryComponents:function(D){var H=D.mainType;if(!H)return[];var P=D.index,K=D.id,U=D.name,G=this._componentsMap.get(H);if(!G||!G.length)return[];var W;if(P!=null)d(P)||(P=[P]),W=v(f(P,function(ve){return G[ve]}),function(ve){return!!ve});else if(K!=null){var Z=d(K);W=v(G,function(ve){return Z&&l(K,ve.id)>=0||!Z&&ve.id===K})}else if(U!=null){var J=d(U);W=v(G,function(ve){return J&&l(U,ve.name)>=0||!J&&ve.name===U})}else W=G.slice();return R(W,D)},findComponents:function(D){var H=D.query,P=D.mainType,K=G(H),U=K?this.queryComponents(K):this._componentsMap.get(P);return W(R(U,D));function G(Z){var J=P+"Index",ve=P+"Id",q=P+"Name";return Z&&(Z[J]!=null||Z[ve]!=null||Z[q]!=null)?{mainType:P,index:Z[J],id:Z[ve],name:Z[q]}:null}function W(Z){return D.filter?v(Z,D.filter):Z}},eachComponent:function(D,H,P){var K=this._componentsMap;if(typeof D=="function")P=H,H=D,K.each(function(G,W){p(G,function(Z,J){H.call(P,W,Z,J)})});else if(t(D))p(K.get(D),H,P);else if(n(D)){var U=this.findComponents(D);p(U,H,P)}},getSeriesByName:function(D){var H=this._componentsMap.get("series");return v(H,function(P){return P.name===D})},getSeriesByIndex:function(D){return this._componentsMap.get("series")[D]},getSeriesByType:function(D){var H=this._componentsMap.get("series");return v(H,function(P){return P.subType===D})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(D,H){j(this),p(this._seriesIndices,function(P){var K=this._componentsMap.get("series")[P];D.call(H,K,P)},this)},eachRawSeries:function(D,H){p(this._componentsMap.get("series"),D,H)},eachSeriesByType:function(D,H,P){j(this),p(this._seriesIndices,function(K){var U=this._componentsMap.get("series")[K];U.subType===D&&H.call(P,U,K)},this)},eachRawSeriesByType:function(D,H,P){return p(this.getSeriesByType(D),H,P)},isSeriesFiltered:function(D){return j(this),this._seriesIndicesMap.get(D.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(D,H){j(this);var P=v(this._componentsMap.get("series"),D,H);k(this,P)},restoreData:function(D){var H=this._componentsMap;k(this,H.get("series"));var P=[];H.each(function(K,U){P.push(U)}),g.topologicalTravel(P,g.getAllClassMainTypes(),function(K,U){p(H.get(K),function(G){(K!=="series"||!x(G,D))&&G.restoreData()})})}});function x(D,H){if(H){var P=H.seiresIndex,K=H.seriesId,U=H.seriesName;return P!=null&&D.componentIndex!==P||K!=null&&D.id!==K||U!=null&&D.name!==U}}function C(D,H){var P=D.color&&!D.colorLayer;p(H,function(K,U){if(U==="colorLayer"&&P)return;g.hasClass(U)||(typeof K=="object"?D[U]=D[U]?c(D[U],K,!1):r(K):D[U]==null&&(D[U]=K))})}function I(D){D=D,this.option={},this.option[_]=1,this._componentsMap=a({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(D,this._theme.option),c(D,A,!1),this.mergeOption(D)}function L(D,H){d(H)||(H=H?[H]:[]);var P={};return p(H,function(K){P[K]=(D.get(K)||[]).slice()}),P}function M(D,H,P){var K=H.type?H.type:P?P.subType:g.determineSubType(D,H);return K}function k(D,H){D._seriesIndicesMap=a(D._seriesIndices=f(H,function(P){return P.componentIndex})||[])}function R(D,H){return H.hasOwnProperty("subType")?v(D,function(P){return P.subType===H.subType}):D}function j(D){}s(T,w);var V=T;B.exports=V},fu2T:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("3dVZ"),p=i.n(E)},fyUT:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("Ff2n"),t=i("rePB"),a=i("1OyB"),o=i("vuIU"),r=i("Ji7U"),c=i("md7G"),e=i("foSv"),s=i("4IlW");function u(W,Z){var J=Object.keys(W);if(Object.getOwnPropertySymbols){var ve=Object.getOwnPropertySymbols(W);Z&&(ve=ve.filter(function(q){return Object.getOwnPropertyDescriptor(W,q).enumerable})),J.push.apply(J,ve)}return J}function h(W){for(var Z=1;Z<arguments.length;Z++){var J=arguments[Z]!=null?arguments[Z]:{};Z%2?u(Object(J),!0).forEach(function(ve){Object(t.a)(W,ve,J[ve])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(J)):u(Object(J)).forEach(function(ve){Object.defineProperty(W,ve,Object.getOwnPropertyDescriptor(J,ve))})}return W}function g(W){var Z=A();return function(){var ve=Object(e.a)(W),q;if(Z){var ce=Object(e.a)(this).constructor;q=Reflect.construct(ve,arguments,ce)}else q=ve.apply(this,arguments);return Object(c.a)(this,q)}}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(W){return!1}}function w(){}function b(W){W.preventDefault()}var S=function(Z){return Z.replace(/[^\w.-]+/g,"")},_=200,T=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(Z){return Z!=null},I=function(Z,J){return J===Z||typeof J=="number"&&typeof Z=="number"&&isNaN(J)&&isNaN(Z)},L=function(W){Object(r.a)(J,W);var Z=g(J);function J(ve){var q;Object(a.a)(this,J),q=Z.call(this,ve),q.onKeyDown=function(Ce){var Fe=q.props,fe=Fe.onKeyDown,Ne=Fe.onPressEnter;if(Ce.keyCode===s.a.UP){var Q=q.getRatio(Ce);q.up(Ce,Q,null),q.stop()}else if(Ce.keyCode===s.a.DOWN){var ae=q.getRatio(Ce);q.down(Ce,ae,null),q.stop()}else Ce.keyCode===s.a.ENTER&&Ne&&Ne(Ce);if(q.recordCursorPosition(),q.lastKeyCode=Ce.keyCode,fe){for(var Ue=arguments.length,te=new Array(Ue>1?Ue-1:0),X=1;X<Ue;X++)te[X-1]=arguments[X];fe.apply(void 0,[Ce].concat(te))}},q.onKeyUp=function(Ce){var Fe=q.props.onKeyUp;if(q.stop(),q.recordCursorPosition(),Fe){for(var fe=arguments.length,Ne=new Array(fe>1?fe-1:0),Q=1;Q<fe;Q++)Ne[Q-1]=arguments[Q];Fe.apply(void 0,[Ce].concat(Ne))}},q.onChange=function(Ce){var Fe=q.props.onChange;q.state.focused&&(q.inputting=!0),q.rawInput=q.props.parser(q.getValueFromEvent(Ce)),q.setState({inputValue:q.rawInput}),Fe(q.toNumber(q.rawInput))},q.onMouseUp=function(){var Ce=q.props.onMouseUp;q.recordCursorPosition(),Ce&&Ce.apply(void 0,arguments)},q.onFocus=function(){var Ce;q.setState({focused:!0}),(Ce=q.props).onFocus.apply(Ce,arguments)},q.onBlur=function(){var Ce=q.props.onBlur;q.inputting=!1,q.setState({focused:!1});var Fe=q.getCurrentValidValue(q.state.inputValue),fe=q.setValue(Fe,w);if(Ce){var Ne=q.input.value,Q=q.getInputDisplayValue({focus:!1,value:fe});q.input.value=Q&&Number(Q),Ce.apply(void 0,arguments),q.input.value=Ne}},q.getRatio=function(Ce){var Fe=1;return Ce.metaKey||Ce.ctrlKey?Fe=.1:Ce.shiftKey&&(Fe=10),Fe},q.getFullNum=function(Ce){return isNaN(Ce)?Ce:/e/i.test(String(Ce))?Number(Ce).toFixed(18).replace(/\.?0+$/,""):Ce},q.getPrecision=function(Ce){if(C(q.props.precision))return q.props.precision;var Fe=String(Ce);if(Fe.indexOf("e-")>=0)return parseInt(Fe.slice(Fe.indexOf("e-")+2),10);var fe=0;return Fe.indexOf(".")>=0&&(fe=Fe.length-Fe.indexOf(".")-1),fe},q.getInputDisplayValue=function(Ce){var Fe=Ce||q.state,fe=Fe.focused,Ne=Fe.inputValue,Q=Fe.value,ae;fe?ae=Ne:ae=q.toPrecisionAsStep(Q),ae==null&&(ae="");var Ue=q.formatWrapper(ae);return C(q.props.decimalSeparator)&&(Ue=Ue.toString().replace(".",q.props.decimalSeparator)),Ue},q.recordCursorPosition=function(){try{q.cursorStart=q.input.selectionStart,q.cursorEnd=q.input.selectionEnd,q.currentValue=q.input.value,q.cursorBefore=q.input.value.substring(0,q.cursorStart),q.cursorAfter=q.input.value.substring(q.cursorEnd)}catch(Ce){}},q.restoreByAfter=function(Ce){if(Ce===void 0)return!1;var Fe=q.input.value,fe=Fe.lastIndexOf(Ce);if(fe===-1)return!1;var Ne=q.cursorBefore.length;return q.lastKeyCode===s.a.DELETE&&q.cursorBefore.charAt(Ne-1)===Ce[0]?(q.fixCaret(Ne,Ne),!0):fe+Ce.length===Fe.length?(q.fixCaret(fe,fe),!0):!1},q.partRestoreByAfter=function(Ce){return Ce===void 0?!1:Array.prototype.some.call(Ce,function(Fe,fe){var Ne=Ce.substring(fe);return q.restoreByAfter(Ne)})},q.isNotCompleteNumber=function(Ce){return isNaN(Ce)||Ce===""||Ce===null||Ce&&Ce.toString().indexOf(".")===Ce.toString().length-1},q.stop=function(){q.autoStepTimer&&clearTimeout(q.autoStepTimer)},q.down=function(Ce,Fe,fe){q.pressingUpOrDown=!0,q.step("down",Ce,Fe,fe)},q.up=function(Ce,Fe,fe){q.pressingUpOrDown=!0,q.step("up",Ce,Fe,fe)},q.saveInput=function(Ce){q.input=Ce};var ce=ve.value;ce===void 0&&(ce=ve.defaultValue),q.state={focused:ve.autoFocus};var be=q.getValidValue(q.toNumber(ce));return q.state=h(h({},q.state),{},{inputValue:q.toPrecisionAsStep(be),value:be}),q}return Object(o.a)(J,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(q){var ce=this.props,be=ce.value,Ce=ce.onChange,Fe=ce.max,fe=ce.min,Ne=this.state.focused;if(q){if(!I(q.value,be)||!I(q.max,Fe)||!I(q.min,fe)){var Q=Ne?be:this.getValidValue(be),ae;this.pressingUpOrDown?ae=Q:this.inputting?ae=this.rawInput:ae=this.toPrecisionAsStep(Q),this.setState({value:Q,inputValue:ae})}var Ue="value"in this.props?be:this.state.value;"max"in this.props&&q.max!==Fe&&typeof Ue=="number"&&Ue>Fe&&Ce&&Ce(Fe),"min"in this.props&&q.min!==fe&&typeof Ue=="number"&&Ue<fe&&Ce&&Ce(fe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var te=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?te=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(te=this.cursorStart):te=this.input.value.length,this.fixCaret(te,te)}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(X){}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(q){var ce=q;return ce===""?ce="":this.isNotCompleteNumber(parseFloat(ce))?ce=this.state.value:ce=this.getValidValue(ce),this.toNumber(ce)}},{key:"getValueFromEvent",value:function(q){var ce=q.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(ce=ce.replace(this.props.decimalSeparator,".")),ce}},{key:"getValidValue",value:function(q){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Ce=parseFloat(q);return isNaN(Ce)?q:(Ce<ce&&(Ce=ce),Ce>be&&(Ce=be),Ce)}},{key:"setValue",value:function(q,ce){var be=this.props.precision,Ce=this.isNotCompleteNumber(parseFloat(q))?null:parseFloat(q),Fe=this.state.value,fe=Fe===void 0?null:Fe,Ne=this.state.inputValue,Q=Ne===void 0?null:Ne,ae=typeof Ce=="number"?Ce.toFixed(be):"".concat(Ce),Ue=Ce!==fe||ae!=="".concat(Q);return"value"in this.props?(Q=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Q},ce)):this.setState({value:Ce,inputValue:this.toPrecisionAsStep(q)},ce),Ue&&this.props.onChange(Ce),Ce}},{key:"getMaxPrecision",value:function(q){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,be=this.props,Ce=be.precision,Fe=be.step;if(C(Ce))return Ce;var fe=this.getPrecision(ce),Ne=this.getPrecision(Fe),Q=this.getPrecision(q);return q?Math.max(Q,fe+Ne):fe+Ne}},{key:"getPrecisionFactor",value:function(q){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,be=this.getMaxPrecision(q,ce);return Math.pow(10,be)}},{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(q){return this.props.formatter?this.props.formatter(q):q}},{key:"toPrecisionAsStep",value:function(q){if(this.isNotCompleteNumber(q)||q==="")return q;var ce=Math.abs(this.getMaxPrecision(q));return isNaN(ce)?q.toString():Number(q).toFixed(ce)}},{key:"toNumber",value:function(q){var ce=this.props.precision,be=this.state.focused,Ce=q&&q.length>16&&be;return this.isNotCompleteNumber(q)||Ce?q:C(ce)?Math.round(q*Math.pow(10,ce))/Math.pow(10,ce):Number(q)}},{key:"upStep",value:function(q,ce){var be=this.props.step,Ce=this.getPrecisionFactor(q,ce),Fe=Math.abs(this.getMaxPrecision(q,ce)),fe=((Ce*q+Ce*be*ce)/Ce).toFixed(Fe);return this.toNumber(fe)}},{key:"downStep",value:function(q,ce){var be=this.props.step,Ce=this.getPrecisionFactor(q,ce),Fe=Math.abs(this.getMaxPrecision(q,ce)),fe=((Ce*q-Ce*be*ce)/Ce).toFixed(Fe);return this.toNumber(fe)}},{key:"step",value:function(q,ce){var be=this,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Fe=arguments.length>3?arguments[3]:void 0;this.stop(),ce&&(ce.persist(),ce.preventDefault());var fe=this.props;if(fe.disabled)return;var Ne=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(Ne))return;var Q=this["".concat(q,"Step")](Ne,Ce),ae=Q>fe.max||Q<fe.min;if(Q>fe.max?Q=fe.max:Q<fe.min&&(Q=fe.min),this.setValue(Q,null),this.setState({focused:!0},function(){be.pressingUpOrDown=!1}),ae)return;this.autoStepTimer=setTimeout(function(){be[q](ce,Ce,!0)},Fe?_:T)}},{key:"fixCaret",value:function(q,ce){if(q===void 0||ce===void 0||!this.input||!this.input.value)return;try{var be=this.input.selectionStart,Ce=this.input.selectionEnd;(q!==be||ce!==Ce)&&this.input.setSelectionRange(q,ce)}catch(Fe){}}},{key:"render",value:function(){var q,ce=this.props,be=ce.prefixCls,Ce=ce.disabled,Fe=ce.readOnly,fe=ce.useTouch,Ne=ce.autoComplete,Q=ce.upHandler,ae=ce.downHandler,Ue=ce.className,te=ce.max,X=ce.min,z=ce.style,Y=ce.title,pe=ce.onMouseEnter,se=ce.onMouseLeave,Te=ce.onMouseOver,Se=ce.onMouseOut,ie=ce.required,de=ce.onClick,_e=ce.tabIndex,We=ce.type,at=ce.placeholder,tt=ce.id,Oe=ce.inputMode,yt=ce.pattern,Ye=ce.step,bt=ce.maxLength,Ct=ce.autoFocus,It=ce.name,Ft=ce.onPaste,Vt=ce.onInput,$e=Object(n.a)(ce,["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"]),ge=this.state,ne=ge.value,wt=ge.focused,qe=l()(be,(q={},Object(t.a)(q,Ue,!!Ue),Object(t.a)(q,"".concat(be,"-disabled"),Ce),Object(t.a)(q,"".concat(be,"-focused"),wt),q)),he={};Object.keys($e).forEach(function(ze){(ze.substr(0,5)==="data-"||ze.substr(0,5)==="aria-"||ze==="role")&&(he[ze]=$e[ze])});var kt=!Fe&&!Ce,nr=this.getInputDisplayValue(null),lt=(ne||ne===0)&&(isNaN(ne)||Number(ne)>=te),Xt=(ne||ne===0)&&(isNaN(ne)||Number(ne)<=X),hr=lt||Ce||Fe,Wr=Xt||Ce||Fe,mt=l()("".concat(be,"-handler"),"".concat(be,"-handler-up"),Object(t.a)({},"".concat(be,"-handler-up-disabled"),hr)),Et=l()("".concat(be,"-handler"),"".concat(be,"-handler-down"),Object(t.a)({},"".concat(be,"-handler-down-disabled"),Wr)),rt=fe?{onTouchStart:hr?w:this.up,onTouchEnd:this.stop}:{onMouseDown:hr?w:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},He=fe?{onTouchStart:Wr?w:this.down,onTouchEnd:this.stop}:{onMouseDown:Wr?w:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return f.a.createElement("div",{className:qe,style:z,title:Y,onMouseEnter:pe,onMouseLeave:se,onMouseOver:Te,onMouseOut:Se,onFocus:function(){return null},onBlur:function(){return null}},f.a.createElement("div",{className:"".concat(be,"-handler-wrap")},f.a.createElement("span",Object.assign({unselectable:"on"},rt,{role:"button","aria-label":"Increase Value","aria-disabled":hr,className:mt}),Q||f.a.createElement("span",{unselectable:"on",className:"".concat(be,"-handler-up-inner"),onClick:b})),f.a.createElement("span",Object.assign({unselectable:"on"},He,{role:"button","aria-label":"Decrease Value","aria-disabled":Wr,className:Et}),ae||f.a.createElement("span",{unselectable:"on",className:"".concat(be,"-handler-down-inner"),onClick:b}))),f.a.createElement("div",{className:"".concat(be,"-input-wrap")},f.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":X,"aria-valuemax":te,"aria-valuenow":ne,required:ie,type:We,placeholder:at,onPaste:Ft,onClick:de,onMouseUp:this.onMouseUp,className:"".concat(be,"-input"),tabIndex:_e,autoComplete:Ne,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:kt?this.onKeyDown:w,onKeyUp:kt?this.onKeyUp:w,autoFocus:Ct,maxLength:bt,readOnly:Fe,disabled:Ce,max:te,min:X,step:Ye,name:It,title:Y,id:tt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(nr),pattern:yt,inputMode:Oe,onInput:Vt},he))))}}]),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:S,required:!1,autoComplete:"off"};var M=L,k=M,R=i("FH2Y"),j=i.n(R),V=i("HQEm"),D=i.n(V),H=i("H84U"),P=i("3Nzz"),K=function(W,Z){var J={};for(var ve in W)Object.prototype.hasOwnProperty.call(W,ve)&&Z.indexOf(ve)<0&&(J[ve]=W[ve]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,ve=Object.getOwnPropertySymbols(W);q<ve.length;q++)Z.indexOf(ve[q])<0&&Object.prototype.propertyIsEnumerable.call(W,ve[q])&&(J[ve[q]]=W[ve[q]]);return J},U=v.forwardRef(function(W,Z){var J=function(q){var ce=q.getPrefixCls,be=q.direction,Ce=W.className,Fe=W.size,fe=W.prefixCls,Ne=W.readOnly,Q=K(W,["className","size","prefixCls","readOnly"]),ae=ce("input-number",fe),Ue=v.createElement(j.a,{className:"".concat(ae,"-handler-up-inner")}),te=v.createElement(D.a,{className:"".concat(ae,"-handler-down-inner")});return v.createElement(P.b.Consumer,null,function(X){var z,Y=Fe||X,pe=l()((z={},p()(z,"".concat(ae,"-lg"),Y==="large"),p()(z,"".concat(ae,"-sm"),Y==="small"),p()(z,"".concat(ae,"-rtl"),be==="rtl"),p()(z,"".concat(ae,"-readonly"),Ne),z),Ce);return v.createElement(k,m()({ref:Z,className:pe,upHandler:Ue,downHandler:te,prefixCls:ae,readOnly:Ne},Q))})};return v.createElement(H.a,null,J)});U.defaultProps={step:1};var G=N.a=U},g0SD:function(B,N,i){var y=i("bYtY"),m=i("9wZj"),E=i("OELB"),p=i("YXkt"),v=i("kj2x"),f=i("iPDy");function d(t,a,o){var r=a.coordinateSystem;t.each(function(c){var e=t.getItemModel(c),s,u=E.parsePercent(e.get("x"),o.getWidth()),h=E.parsePercent(e.get("y"),o.getHeight());if(!isNaN(u)&&!isNaN(h))s=[u,h];else if(a.getMarkerPosition)s=a.getMarkerPosition(t.getValues(t.dimensions,c));else if(r){var g=t.get(r.dimensions[0],c),A=t.get(r.dimensions[1],c);s=r.dataToPoint([g,A])}isNaN(u)||(s[0]=u),isNaN(h)||(s[1]=h),t.setItemLayout(c,s)})}var l=f.extend({type:"markPoint",updateTransform:function(t,a,o){a.eachSeries(function(r){var c=r.markPointModel;c&&(d(c.getData(),r,o),this.markerGroupMap.get(r.id).updateLayout(c))},this)},renderSeries:function(t,a,o,r){var c=t.coordinateSystem,e=t.id,s=t.getData(),u=this.markerGroupMap,h=u.get(e)||u.set(e,new m),g=n(c,t,a);a.setData(g),d(a.getData(),t,r),g.each(function(A){var w=g.getItemModel(A),b=w.getShallow("symbol"),S=w.getShallow("symbolSize"),_=y.isFunction(b),T=y.isFunction(S);if(_||T){var x=a.getRawValue(A),C=a.getDataParams(A);_&&(b=b(x,C)),T&&(S=S(x,C))}g.setItemVisual(A,{symbol:b,symbolSize:S,color:w.get("itemStyle.color")||s.getVisual("color")})}),h.updateData(g),this.group.add(h.group),g.eachItemGraphicEl(function(A){A.traverse(function(w){w.dataModel=a})}),h.__keep=!0,h.group.silent=a.get("silent")||t.get("silent")}});function n(t,a,o){var r;t?r=y.map(t&&t.dimensions,function(s){var u=a.getData().getDimensionInfo(a.getData().mapDimension(s))||{};return y.defaults({name:s},u)}):r=[{name:"value",type:"float"}];var c=new p(r,o),e=y.map(o.get("data"),y.curry(v.dataTransform,a));return t&&(e=y.filter(e,y.curry(v.dataFilter,t))),c.initData(e,null,t?v.dimValueGetter:function(s){return s.value}),c}B.exports=l},g7p0:function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("+TT/"),p=E.getLayoutParams,v=E.sizeCalculable,f=E.mergeLayoutParam,d=m.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(t,a,o,r){var c=p(t);d.superApply(this,"init",arguments),l(t,c)},mergeOption:function(t,a){d.superApply(this,"mergeOption",arguments),l(this.option,t)}});function l(t,a){var o=t.cellSize;y.isArray(o)?o.length===1&&(o[1]=o[0]):o=t.cellSize=[o,o];var r=y.map([0,1],function(c){return v(a,c)&&(o[c]="auto"),o[c]!=null&&o[c]!=="auto"});f(t,a,{type:"box",ignoreSize:r})}var n=d;B.exports=n},g9YV:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("pED+"),p=i.n(E),v=i("+L6B"),f=i("R9oj"),d=i("7Kak"),l=i("sRBo"),n=i("qVdP"),t=i("T2oS"),a=i("DjyN"),o=i("5Dmo")},gIYZ:function(B,N,i){"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},gK9i:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("Gytx"),t=i.n(n),a=i("Zm9Q"),o=function(){function z(Y,pe){for(var se=0;se<pe.length;se++){var Te=pe[se];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Y,Te.key,Te)}}return function(Y,pe,se){return pe&&z(Y.prototype,pe),se&&z(Y,se),Y}}();function r(z,Y,pe){return Y in z?Object.defineProperty(z,Y,{value:pe,enumerable:!0,configurable:!0,writable:!0}):z[Y]=pe,z}function c(z,Y){if(!(z instanceof Y))throw new TypeError("Cannot call a class as a function")}function e(z,Y){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:z}function s(z,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);z.prototype=Object.create(Y&&Y.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(z,Y):z.__proto__=Y)}var u=function(z){s(Y,z);function Y(){return c(this,Y),e(this,(Y.__proto__||Object.getPrototypeOf(Y)).apply(this,arguments))}return o(Y,[{key:"shouldComponentUpdate",value:function(se){return this.props.forceRender||!t()(this.props,se)}},{key:"render",value:function(){var se;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Te=this.props,Se=Te.prefixCls,ie=Te.isActive,de=Te.children,_e=Te.destroyInactivePanel,We=Te.forceRender,at=Te.role,tt=l()(Se+"-content",(se={},r(se,Se+"-content-active",ie),r(se,Se+"-content-inactive",!ie),se)),Oe=!We&&!ie&&_e?null:f.a.createElement("div",{className:Se+"-content-box"},de);return f.a.createElement("div",{className:tt,role:at},Oe)}}]),Y}(v.Component),h=u,g=i("MFj2"),A=function(){function z(Y,pe){for(var se=0;se<pe.length;se++){var Te=pe[se];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Y,Te.key,Te)}}return function(Y,pe,se){return pe&&z(Y.prototype,pe),se&&z(Y,se),Y}}();function w(z,Y,pe){return Y in z?Object.defineProperty(z,Y,{value:pe,enumerable:!0,configurable:!0,writable:!0}):z[Y]=pe,z}function b(z,Y){if(!(z instanceof Y))throw new TypeError("Cannot call a class as a function")}function S(z,Y){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:z}function _(z,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);z.prototype=Object.create(Y&&Y.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(z,Y):z.__proto__=Y)}var T=function(z){_(Y,z);function Y(){var pe,se,Te,Se;b(this,Y);for(var ie=arguments.length,de=Array(ie),_e=0;_e<ie;_e++)de[_e]=arguments[_e];return Se=(se=(Te=S(this,(pe=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(pe,[this].concat(de))),Te),Te.handleItemClick=function(){var We=Te.props,at=We.onItemClick,tt=We.panelKey;typeof at=="function"&&at(tt)},Te.handleKeyPress=function(We){(We.key==="Enter"||We.keyCode===13||We.which===13)&&Te.handleItemClick()},se),S(Te,Se)}return A(Y,[{key:"shouldComponentUpdate",value:function(se){return!t()(this.props,se)}},{key:"render",value:function(){var se,Te=this.props,Se=Te.className,ie=Te.id,de=Te.style,_e=Te.prefixCls,We=Te.header,at=Te.headerClass,tt=Te.children,Oe=Te.isActive,yt=Te.showArrow,Ye=Te.destroyInactivePanel,bt=Te.disabled,Ct=Te.accordion,It=Te.forceRender,Ft=Te.expandIcon,Vt=Te.extra,$e=l()(_e+"-header",w({},at,at)),ge=l()((se={},w(se,_e+"-item",!0),w(se,_e+"-item-active",Oe),w(se,_e+"-item-disabled",bt),se),Se),ne=f.a.createElement("i",{className:"arrow"});return yt&&typeof Ft=="function"&&(ne=Ft(this.props)),f.a.createElement("div",{className:ge,style:de,id:ie},f.a.createElement("div",{className:$e,onClick:this.handleItemClick,role:Ct?"tab":"button",tabIndex:bt?-1:0,"aria-expanded":""+Oe,onKeyPress:this.handleKeyPress},yt&&ne,We,Vt&&f.a.createElement("div",{className:_e+"-extra"},Vt)),f.a.createElement(g.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},f.a.createElement(h,{prefixCls:_e,isActive:Oe,destroyInactivePanel:Ye,forceRender:It,role:Ct?"tabpanel":null},tt)))}}]),Y}(v.Component);T.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var x=T,C=i("UwPn");function I(z,Y,pe,se){var Te=void 0;return Object(C.a)(z,pe,{start:function(){Y?(Te=z.offsetHeight,z.style.height=0):z.style.height=z.offsetHeight+"px"},active:function(){z.style.height=(Y?Te:0)+"px"},end:function(){z.style.height="",se()}})}function L(z){return{enter:function(pe,se){return I(pe,!0,z+"-anim",se)},leave:function(pe,se){return I(pe,!1,z+"-anim",se)}}}var M=L,k=function(){function z(Y,pe){for(var se=0;se<pe.length;se++){var Te=pe[se];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Y,Te.key,Te)}}return function(Y,pe,se){return pe&&z(Y.prototype,pe),se&&z(Y,se),Y}}();function R(z){if(Array.isArray(z)){for(var Y=0,pe=Array(z.length);Y<z.length;Y++)pe[Y]=z[Y];return pe}else return Array.from(z)}function j(z,Y,pe){return Y in z?Object.defineProperty(z,Y,{value:pe,enumerable:!0,configurable:!0,writable:!0}):z[Y]=pe,z}function V(z,Y){if(!(z instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(z,Y){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:z}function H(z,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);z.prototype=Object.create(Y&&Y.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(z,Y):z.__proto__=Y)}function P(z){var Y=z;return Array.isArray(Y)||(Y=Y?[Y]:[]),Y.map(function(pe){return String(pe)})}var K=function(z){H(Y,z);function Y(pe){V(this,Y);var se=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,pe));U.call(se);var Te=pe.activeKey,Se=pe.defaultActiveKey,ie=Se;return"activeKey"in pe&&(ie=Te),se.state={openAnimation:pe.openAnimation||M(pe.prefixCls),activeKey:P(ie)},se}return k(Y,[{key:"shouldComponentUpdate",value:function(se,Te){return!t()(this.props,se)||!t()(this.state,Te)}},{key:"render",value:function(){var se,Te=this.props,Se=Te.prefixCls,ie=Te.className,de=Te.style,_e=Te.accordion,We=l()((se={},j(se,Se,!0),j(se,ie,!!ie),se));return f.a.createElement("div",{className:We,style:de,role:_e?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(se){var Te={};return"activeKey"in se&&(Te.activeKey=P(se.activeKey)),"openAnimation"in se&&(Te.openAnimation=se.openAnimation),Te.activeKey||Te.openAnimation?Te:null}}]),Y}(v.Component),U=function(){var Y=this;this.onClickItem=function(pe){var se=Y.state.activeKey;if(Y.props.accordion)se=se[0]===pe?[]:[pe];else{se=[].concat(R(se));var Te=se.indexOf(pe),Se=Te>-1;Se?se.splice(Te,1):se.push(pe)}Y.setActiveKey(se)},this.getNewChild=function(pe,se){if(!pe)return null;var Te=Y.state.activeKey,Se=Y.props,ie=Se.prefixCls,de=Se.accordion,_e=Se.destroyInactivePanel,We=Se.expandIcon,at=pe.key||String(se),tt=pe.props,Oe=tt.header,yt=tt.headerClass,Ye=tt.disabled,bt=!1;de?bt=Te[0]===at:bt=Te.indexOf(at)>-1;var Ct={key:at,panelKey:at,header:Oe,headerClass:yt,isActive:bt,prefixCls:ie,destroyInactivePanel:_e,openAnimation:Y.state.openAnimation,accordion:de,children:pe.props.children,onItemClick:Ye?null:Y.onClickItem,expandIcon:We};return typeof pe.type=="string"?pe:f.a.cloneElement(pe,Ct)},this.getItems=function(){var pe=Y.props.children;return Object(a.a)(pe).map(Y.getNewChild)},this.setActiveKey=function(pe){"activeKey"in Y.props||Y.setState({activeKey:pe}),Y.props.onChange(Y.props.accordion?pe[0]:pe)}};K.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},K.Panel=x;var G=K,W=G,Z=G.Panel,J=i("fEPi"),ve=i.n(J),q=i("H84U"),ce=function(Y){var pe=v.useContext(q.b),se=pe.getPrefixCls,Te=Y.prefixCls,Se=Y.className,ie=Se===void 0?"":Se,de=Y.showArrow,_e=de===void 0?!0:de,We=se("collapse",Te),at=l()(p()({},"".concat(We,"-no-arrow"),!_e),ie);return v.createElement(W.Panel,m()({},Y,{prefixCls:We,className:at}))},be=ce,Ce=i("xEkU"),Fe=i.n(Ce);function fe(z,Y,pe){var se,Te;return Object(C.a)(z,"ant-motion-collapse-legacy",{start:function(){Y?(se=z.offsetHeight,z.style.height="0px",z.style.opacity="0"):(z.style.height="".concat(z.offsetHeight,"px"),z.style.opacity="1")},active:function(){Te&&Fe.a.cancel(Te),Te=Fe()(function(){z.style.height="".concat(Y?se:0,"px"),z.style.opacity=Y?"1":"0"})},end:function(){Te&&Fe.a.cancel(Te),z.style.height="",z.style.opacity="",pe()}})}var Ne={enter:function(Y,pe){return fe(Y,!0,pe)},leave:function(Y,pe){return fe(Y,!1,pe)},appear:function(Y,pe){return fe(Y,!0,pe)}},Q=Ne,ae=i("0n0R"),Ue=function(Y){var pe,se=v.useContext(q.b),Te=se.getPrefixCls,Se=se.direction,ie=Y.prefixCls,de=Y.className,_e=de===void 0?"":de,We=Y.bordered,at=Y.ghost,tt=Te("collapse",ie),Oe=function(){var Ft=Y.expandIconPosition;return Ft!==void 0?Ft:Se==="rtl"?"right":"left"},yt=function(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Vt=Y.expandIcon,$e=Vt?Vt(Ft):v.createElement(ve.a,{rotate:Ft.isActive?90:void 0});return Object(ae.a)($e,function(){return{className:l()($e.props.className,"".concat(tt,"-arrow"))}})},Ye=Oe(),bt=l()((pe={},p()(pe,"".concat(tt,"-borderless"),!We),p()(pe,"".concat(tt,"-icon-position-").concat(Ye),!0),p()(pe,"".concat(tt,"-rtl"),Se==="rtl"),p()(pe,"".concat(tt,"-ghost"),!!at),pe),_e),Ct=m()(m()({},Q),{appear:function(){}});return v.createElement(W,m()({openAnimation:Ct},Y,{expandIcon:function(Ft){return yt(Ft)},prefixCls:tt,className:bt}))};Ue.Panel=be,Ue.defaultProps={bordered:!0};var te=Ue,X=N.a=te},gKaM:function(B,N,i){"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(B,N){function i(p){return p}function y(p,v,f,d,l){this._old=p,this._new=v,this._oldKeyGetter=f||i,this._newKeyGetter=d||i,this.context=l}y.prototype={constructor:y,add:function(p){return this._add=p,this},update:function(p){return this._update=p,this},remove:function(p){return this._remove=p,this},execute:function(){var p=this._old,v=this._new,f={},d={},l=[],n=[],t;for(m(p,f,l,"_oldKeyGetter",this),m(v,d,n,"_newKeyGetter",this),t=0;t<p.length;t++){var a=l[t],o=d[a];if(o!=null){var r=o.length;r?(r===1&&(d[a]=null),o=o.shift()):d[a]=null,this._update&&this._update(o,t)}else this._remove&&this._remove(t)}for(var t=0;t<n.length;t++){var a=n[t];if(d.hasOwnProperty(a)){var o=d[a];if(o==null)continue;if(!o.length)this._add&&this._add(o);else for(var c=0,r=o.length;c<r;c++)this._add&&this._add(o[c])}}}};function m(p,v,f,d,l){for(var n=0;n<p.length;n++){var t="_ec_"+l[d](p[n],n),a=v[t];a==null?(f.push(t),v[t]=n):(a.length||(v[t]=a=[a]),a.push(n))}}var E=y;B.exports=E},gRFJ:function(B,N,i){B.exports=[i("rdUC"),i("ynwM"),i("RELg"),i("DlR+"),i("CrYA"),i("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(B){return B<10?"0"+B:B}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(B){return rx_escapable.lastIndex=0,rx_escapable.test(B)?'"'+B.replace(rx_escapable,function(N){var i=meta[N];return typeof i=="string"?i:"\\u"+("0000"+N.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+B+'"'}function str(B,N){var i,y,m,E,p=gap,v,f=N[B];f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(B)),typeof rep=="function"&&(f=rep.call(N,B,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,v=[],Object.prototype.toString.apply(f)==="[object Array]"){for(E=f.length,i=0;i<E;i+=1)v[i]=str(i,f)||"null";return m=v.length===0?"[]":gap?`[
`+gap+v.join(`,
`+gap)+`
`+p+"]":"["+v.join(",")+"]",gap=p,m}if(rep&&typeof rep=="object")for(E=rep.length,i=0;i<E;i+=1)typeof rep[i]=="string"&&(y=rep[i],m=str(y,f),m&&v.push(quote(y)+(gap?": ":":")+m));else for(y in f)Object.prototype.hasOwnProperty.call(f,y)&&(m=str(y,f),m&&v.push(quote(y)+(gap?": ":":")+m));return m=v.length===0?"{}":gap?`{
`+gap+v.join(`,
`+gap)+`
`+p+"}":"{"+v.join(",")+"}",gap=p,m}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(B,N,i){var y;if(gap="",indent="",typeof i=="number")for(y=0;y<i;y+=1)indent+=" ";else typeof i=="string"&&(indent=i);if(rep=N,N&&typeof N!="function"&&(typeof N!="object"||typeof N.length!="number"))throw new Error("JSON.stringify");return str("",{"":B})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(B,N){var i,y,m=B[N];if(m&&typeof m=="object")for(i in m)Object.prototype.hasOwnProperty.call(m,i)&&(y=walk(m,i),y!==void 0?m[i]=y:delete m[i]);return reviver.call(B,N,m)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(B){return"\\u"+("0000"+B.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(B,N,i){var y=i("+TT/"),m=i("bYtY"),E=i("4NO4"),p=E.groupData;function v(I,L,M){I.eachSeriesByType("sankey",function(k){var R=k.get("nodeWidth"),j=k.get("nodeGap"),V=f(k,L);k.layoutInfo=V;var D=V.width,H=V.height,P=k.getGraph(),K=P.nodes,U=P.edges;l(K);var G=m.filter(K,function(ve){return ve.getLayout().value===0}),W=G.length!==0?0:k.get("layoutIterations"),Z=k.get("orient"),J=k.get("nodeAlign");d(K,U,R,j,D,H,W,Z,J)})}function f(I,L){return y.getLayoutRect(I.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function d(I,L,M,k,R,j,V,D,H){n(I,L,M,R,j,D,H),c(I,L,j,R,k,V,D),C(I,D)}function l(I){m.each(I,function(L){var M=T(L.outEdges,_),k=T(L.inEdges,_),R=L.getValue()||0,j=Math.max(M,k,R);L.setLayout({value:j},!0)})}function n(I,L,M,k,R,j,V){for(var D=[],H=[],P=[],K=[],U=0,G=0,W=0;W<L.length;W++)D[W]=1;for(W=0;W<I.length;W++)H[W]=I[W].inEdges.length,H[W]===0&&P.push(I[W]);for(var Z=-1;P.length;){for(var J=0;J<P.length;J++){var ve=P[J],q=ve.hostGraph.data.getRawDataItem(ve.dataIndex),ce=q.depth!=null&&q.depth>=0;ce&&q.depth>Z&&(Z=q.depth),ve.setLayout({depth:ce?q.depth:U},!0),j==="vertical"?ve.setLayout({dy:M},!0):ve.setLayout({dx:M},!0);for(var be=0;be<ve.outEdges.length;be++){var Ce=ve.outEdges[be],Fe=L.indexOf(Ce);D[Fe]=0;var fe=Ce.node2,Ne=I.indexOf(fe);--H[Ne]===0&&K.indexOf(fe)<0&&K.push(fe)}}++U,P=K,K=[]}for(W=0;W<D.length;W++)if(D[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Q=Z>U-1?Z:U-1;V&&V!=="left"&&a(I,V,j,Q);var G=j==="vertical"?(R-M)/Q:(k-M)/Q;r(I,G,j)}function t(I){var L=I.hostGraph.data.getRawDataItem(I.dataIndex);return L.depth!=null&&L.depth>=0}function a(I,L,M,k){if(L==="right"){for(var R=[],j=I,V=0;j.length;){for(var D=0;D<j.length;D++){var H=j[D];H.setLayout({skNodeHeight:V},!0);for(var P=0;P<H.inEdges.length;P++){var K=H.inEdges[P];R.indexOf(K.node1)<0&&R.push(K.node1)}}j=R,R=[],++V}m.each(I,function(U){t(U)||U.setLayout({depth:Math.max(0,k-U.getLayout().skNodeHeight)},!0)})}else L==="justify"&&o(I,k)}function o(I,L){m.each(I,function(M){!t(M)&&!M.outEdges.length&&M.setLayout({depth:L},!0)})}function r(I,L,M){m.each(I,function(k){var R=k.getLayout().depth*L;M==="vertical"?k.setLayout({y:R},!0):k.setLayout({x:R},!0)})}function c(I,L,M,k,R,j,V){var D=e(I,V);s(D,L,M,k,R,V),u(D,R,M,k,V);for(var H=1;j>0;j--)H*=.99,h(D,H,V),u(D,R,M,k,V),x(D,H,V),u(D,R,M,k,V)}function e(I,L){var M=[],k=L==="vertical"?"y":"x",R=p(I,function(j){return j.getLayout()[k]});return R.keys.sort(function(j,V){return j-V}),m.each(R.keys,function(j){M.push(R.buckets.get(j))}),M}function s(I,L,M,k,R,j){var V=Infinity;m.each(I,function(D){var H=D.length,P=0;m.each(D,function(U){P+=U.getLayout().value});var K=j==="vertical"?(k-(H-1)*R)/P:(M-(H-1)*R)/P;K<V&&(V=K)}),m.each(I,function(D){m.each(D,function(H,P){var K=H.getLayout().value*V;j==="vertical"?(H.setLayout({x:P},!0),H.setLayout({dx:K},!0)):(H.setLayout({y:P},!0),H.setLayout({dy:K},!0))})}),m.each(L,function(D){var H=+D.getValue()*V;D.setLayout({dy:H},!0)})}function u(I,L,M,k,R){var j=R==="vertical"?"x":"y";m.each(I,function(V){V.sort(function(J,ve){return J.getLayout()[j]-ve.getLayout()[j]});for(var D,H,P,K=0,U=V.length,G=R==="vertical"?"dx":"dy",W=0;W<U;W++)H=V[W],P=K-H.getLayout()[j],P>0&&(D=H.getLayout()[j]+P,R==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0)),K=H.getLayout()[j]+H.getLayout()[G]+L;var Z=R==="vertical"?k:M;if(P=K-L-Z,P>0)for(D=H.getLayout()[j]-P,R==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0),K=D,W=U-2;W>=0;--W)H=V[W],P=H.getLayout()[j]+H.getLayout()[G]+L-K,P>0&&(D=H.getLayout()[j]-P,R==="vertical"?H.setLayout({x:D},!0):H.setLayout({y:D},!0)),K=H.getLayout()[j]})}function h(I,L,M){m.each(I.slice().reverse(),function(k){m.each(k,function(R){if(R.outEdges.length){var j=T(R.outEdges,g,M)/T(R.outEdges,_,M);if(isNaN(j)){var V=R.outEdges.length;j=V?T(R.outEdges,A,M)/V:0}if(M==="vertical"){var D=R.getLayout().x+(j-S(R,M))*L;R.setLayout({x:D},!0)}else{var H=R.getLayout().y+(j-S(R,M))*L;R.setLayout({y:H},!0)}}})})}function g(I,L){return S(I.node2,L)*I.getValue()}function A(I,L){return S(I.node2,L)}function w(I,L){return S(I.node1,L)*I.getValue()}function b(I,L){return S(I.node1,L)}function S(I,L){return L==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function _(I){return I.getValue()}function T(I,L,M){for(var k=0,R=I.length,j=-1;++j<R;){var V=+L.call(I,I[j],M);isNaN(V)||(k+=V)}return k}function x(I,L,M){m.each(I,function(k){m.each(k,function(R){if(R.inEdges.length){var j=T(R.inEdges,w,M)/T(R.inEdges,_,M);if(isNaN(j)){var V=R.inEdges.length;j=V?T(R.inEdges,b,M)/V:0}if(M==="vertical"){var D=R.getLayout().x+(j-S(R,M))*L;R.setLayout({x:D},!0)}else{var H=R.getLayout().y+(j-S(R,M))*L;R.setLayout({y:H},!0)}}})})}function C(I,L){var M=L==="vertical"?"x":"y";m.each(I,function(k){k.outEdges.sort(function(R,j){return R.node2.getLayout()[M]-j.node2.getLayout()[M]}),k.inEdges.sort(function(R,j){return R.node1.getLayout()[M]-j.node1.getLayout()[M]})}),m.each(I,function(k){var R=0,j=0;m.each(k.outEdges,function(V){V.setLayout({sy:R},!0),R+=V.getLayout().dy}),m.each(k.inEdges,function(V){V.setLayout({ty:j},!0),j+=V.getLayout().dy})})}B.exports=v},"giR+":function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("QbM5"),p=i.n(E)},gut8:function(B,N){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},y=9;N.ContextCachedBy=i,N.WILL_BE_RESTORED=y},gvm7:function(B,N,i){var y=i("bYtY"),m=i("dqUG");function E(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}E.prototype={constructor:E,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,f,d){this.el&&this._zr.remove(this.el);for(var l={},n=v,t="{marker",a="|}",o=n.indexOf(t);o>=0;){var r=n.indexOf(a),c=n.substr(o+t.length,r-o-t.length);c.indexOf("sub")>-1?l["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[c],textOffset:[3,0]}:l["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[c]},n=n.substr(r+1),o=n.indexOf("{marker")}this.el=new m({style:{rich:l,text:v,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(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,f){this.el&&this.el.attr("position",[v,f])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(y.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var p=E;B.exports=p},gwTy:function(B,N,i){},h54F:function(B,N,i){var y=i("ProS"),m=i("YXkt"),E=i("bYtY"),p=i("4NO4"),v=p.defaultEmphasis,f=i("Qxkt"),d=i("7aKB"),l=d.encodeHTML,n=i("I3/A"),t=i("xKMd"),a=y.extendSeriesModel({type:"series.graph",init:function(r){a.superApply(this,"init",arguments);var c=this;function e(){return c._categoriesData}this.legendVisualProvider=new t(e,e),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeOption:function(r){a.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(r){a.superApply(this,"mergeDefaultAndTheme",arguments),v(r,["edgeLabel"],["show"])},getInitialData:function(r,c){var e=r.edges||r.links||[],s=r.data||r.nodes||[],u=this;if(s&&e)return n(s,e,this,!0,h).data;function h(g,A){g.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,c),S=u.getModel("emphasis.edgeLabel"),_=new f({emphasis:{label:S.option}},S.parentModel,c);A.wrapMethod("getItemModel",function(x){return x.customizeGetParent(T),x});function T(x){return x=this.parsePath(x),x&&x[0]==="label"?b:x&&x[0]==="emphasis"&&x[1]==="label"?_:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(r,c,e){if(e==="edge"){var s=this.getData(),u=this.getDataParams(r,e),h=s.graph.getEdgeByIndex(r),g=s.getName(h.node1.dataIndex),A=s.getName(h.node2.dataIndex),w=[];return g!=null&&w.push(g),A!=null&&w.push(A),w=l(w.join(" > ")),u.value&&(w+=" : "+l(u.value)),w}else return a.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var r=E.map(this.option.categories||[],function(e){return e.value!=null?e:E.extend({value:0},e)}),c=new m(["value"],this);c.initData(r),this._categoriesData=c,this._categoriesModels=c.mapArray(function(e){return c.getItemModel(e,!0)})},setZoom:function(r){this.option.zoom=r},setCenter:function(r){this.option.center=r},isAnimationEnabled:function(){return a.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=a;B.exports=o},h7HQ:function(B,N,i){var y=i("y+Vt"),m=i("T6xi"),E=y.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,f){m.buildPath(v,f,!0)}});B.exports=E},h8O9:function(B,N,i){var y=i("bYtY"),m=y.map,E=i("zM3Q"),p=i("7hqr"),v=p.isDimensionStacked;function f(d){return{seriesType:d,plan:E(),reset:function(l){var n=l.getData(),t=l.coordinateSystem,a=l.pipelineContext,o=a.large;if(!t)return;var r=m(t.dimensions,function(u){return n.mapDimension(u)}).slice(0,2),c=r.length,e=n.getCalculationInfo("stackResultDimension");v(n,r[0])&&(r[0]=e),v(n,r[1])&&(r[1]=e);function s(u,h){for(var g=u.end-u.start,A=o&&new Float32Array(g*c),w=u.start,b=0,S=[],_=[];w<u.end;w++){var T;if(c===1){var x=h.get(r[0],w);T=!isNaN(x)&&t.dataToPoint(x,null,_)}else{var x=S[0]=h.get(r[0],w),C=S[1]=h.get(r[1],w);T=!isNaN(x)&&!isNaN(C)&&t.dataToPoint(S,null,_)}o?(A[b++]=T?T[0]:NaN,A[b++]=T?T[1]:NaN):h.setItemLayout(w,T&&T.slice()||[NaN,NaN])}o&&h.setLayout("symbolPoints",A)}return c&&{progress:s}}}}B.exports=f},hD7B:function(B,N,i){var y=i("bYtY"),m=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function E(v){y.each(m,function(f){this[f]=y.bind(v[f],v)},this)}var p=E;B.exports=p},hFmY:function(B,N,i){var y=i("ProS"),m={type:"axisAreaSelect",event:"axisAreaSelected"};y.registerAction(m,function(E,p){p.eachComponent({mainType:"parallelAxis",query:E},function(v){v.axis.model.setActiveIntervals(E.intervals)})}),y.registerAction("parallelAxisExpand",function(E,p){p.eachComponent({mainType:"parallel",query:E},function(v){v.setAxisExpand(E)})})},hJvP:function(B,N,i){var y=i("2dDv"),m=i("IDmD");function E(p,v){var f=[];return p.eachComponent("parallel",function(d,l){var n=new y(d,p,v);n.name="parallel_"+l,n.resize(d,v),d.coordinateSystem=n,n.model=d,f.push(n)}),p.eachSeries(function(d){if(d.get("coordinateSystem")==="parallel"){var l=p.queryComponents({mainType:"parallel",index:d.get("parallelIndex"),id:d.get("parallelId")})[0];d.coordinateSystem=l.coordinateSystem}}),f}m.register("parallel",{create:E})},hM6l:function(B,N,i){var y=i("bYtY"),m=y.each,E=y.map,p=i("OELB"),v=p.linearMap,f=p.getPixelPrecision,d=p.round,l=i("4HMb"),n=l.createAxisTicks,t=l.createAxisLabels,a=l.calculateCategoryInterval,o=[0,1],r=function(u,h,g){this.dim=u,this.scale=h,this._extent=g||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(u){var h=this._extent,g=Math.min(h[0],h[1]),A=Math.max(h[0],h[1]);return u>=g&&u<=A},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 g=this._extent;g[0]=u,g[1]=h},dataToCoord:function(u,h){var g=this._extent,A=this.scale;return u=A.normalize(u),this.onBand&&A.type==="ordinal"&&(g=g.slice(),c(g,A.count())),v(u,o,g,h)},coordToData:function(u,h){var g=this._extent,A=this.scale;this.onBand&&A.type==="ordinal"&&(g=g.slice(),c(g,A.count()));var w=v(u,g,o,h);return this.scale.scale(w)},pointToData:function(u,h){},getTicksCoords:function(u){u=u||{};var h=u.tickModel||this.getTickModel(),g=n(this,h),A=g.ticks,w=E(A,function(S){return{coord:this.dataToCoord(S),tickValue:S}},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 g=this.scale.getMinorTicks(h),A=E(g,function(w){return E(w,function(b){return{coord:this.dataToCoord(b),tickValue:b}},this)},this);return A},getViewLabels:function(){return t(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(),g=h[1]-h[0]+(this.onBand?1:0);g===0&&(g=1);var A=Math.abs(u[1]-u[0]);return Math.abs(A)/g},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return a(this)}};function c(u,h){var g=u[1]-u[0],A=h,w=g/A/2;u[0]+=w,u[1]-=w}function e(u,h,g,A){var w=h.length;if(!u.onBand||g||!w)return;var b=u.getExtent(),S,_;if(w===1)h[0].coord=b[0],S=h[1]={coord:b[0]};else{var T=h[w-1].tickValue-h[0].tickValue,x=(h[w-1].coord-h[0].coord)/T;m(h,function(M){M.coord-=x/2});var C=u.scale.getExtent();_=1+C[1]-h[w-1].tickValue,S={coord:h[w-1].coord+x*_},h.push(S)}var I=b[0]>b[1];L(h[0].coord,b[0])&&(A?h[0].coord=b[0]:h.shift()),A&&L(b[0],h[0].coord)&&h.unshift({coord:b[0]}),L(b[1],S.coord)&&(A?S.coord=b[1]:h.pop()),A&&L(S.coord,b[1])&&h.push({coord:b[1]});function L(M,k){return M=d(M),k=d(k),I?M>k:M<k}}var s=r;B.exports=s},hNWo:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("Qxkt"),p=i("4NO4"),v=p.isNameSpecified,f=i("Kagy"),d=f.legend.selector,l={all:{type:"all",title:m.clone(d.all)},inverse:{type:"inverse",title:m.clone(d.inverse)}},n=y.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(a,o,r){this.mergeDefaultAndTheme(a,r),a.selected=a.selected||{},this._updateSelector(a)},mergeOption:function(a){n.superCall(this,"mergeOption",a),this._updateSelector(a)},_updateSelector:function(a){var o=a.selector;o===!0&&(o=a.selector=["all","inverse"]),m.isArray(o)&&m.each(o,function(r,c){m.isString(r)&&(r={type:r}),o[c]=m.merge(r,l[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var a=this._data;if(a[0]&&this.get("selectedMode")==="single"){for(var o=!1,r=0;r<a.length;r++){var c=a[r].get("name");if(this.isSelected(c)){this.select(c),o=!0;break}}!o&&this.select(a[0].get("name"))}},_updateData:function(a){var o=[],r=[];a.eachRawSeries(function(s){var u=s.name;r.push(u);var h;if(s.legendVisualProvider){var g=s.legendVisualProvider,A=g.getAllNames();a.isSeriesFiltered(s)||(r=r.concat(A)),A.length?o=o.concat(A):h=!0}else h=!0;h&&v(s)&&o.push(s.name)}),this._availableNames=r;var c=this.get("data")||o,e=m.map(c,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new E(s,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(a){var o=this.option.selected,r=this.get("selectedMode");if(r==="single"){var c=this._data;m.each(c,function(e){o[e.get("name")]=!1})}o[a]=!0},unSelect:function(a){this.get("selectedMode")!=="single"&&(this.option.selected[a]=!1)},toggleSelected:function(a){var o=this.option.selected;o.hasOwnProperty(a)||(o[a]=!0),this[o[a]?"unSelect":"select"](a)},allSelect:function(){var a=this._data,o=this.option.selected;m.each(a,function(r){o[r.get("name",!0)]=!0})},inverseSelect:function(){var a=this._data,o=this.option.selected;m.each(a,function(r){var c=r.get("name",!0);o.hasOwnProperty(c)||(o[c]=!0),o[c]=!o[c]})},isSelected:function(a){var o=this.option.selected;return!(o.hasOwnProperty(a)&&!o[a])&&m.indexOf(this._availableNames,a)>=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}}}),t=n;B.exports=t},hOwI:function(B,N){var i=Math.log(2);function y(E,p,v,f,d,l){var n=f+"-"+d,t=E.length;if(l.hasOwnProperty(n))return l[n];if(p===1){var a=Math.round(Math.log((1<<t)-1&~d)/i);return E[v][a]}for(var o=f|1<<v,r=v+1;f&1<<r;)r++;for(var c=0,e=0,s=0;e<t;e++){var u=1<<e;u&d||(c+=(s%2?-1:1)*E[v][e]*y(E,p-1,r,o,d|u,l),s++)}return l[n]=c,c}function m(E,p){var v=[[E[0],E[1],1,0,0,0,-p[0]*E[0],-p[0]*E[1]],[0,0,0,E[0],E[1],1,-p[1]*E[0],-p[1]*E[1]],[E[2],E[3],1,0,0,0,-p[2]*E[2],-p[2]*E[3]],[0,0,0,E[2],E[3],1,-p[3]*E[2],-p[3]*E[3]],[E[4],E[5],1,0,0,0,-p[4]*E[4],-p[4]*E[5]],[0,0,0,E[4],E[5],1,-p[5]*E[4],-p[5]*E[5]],[E[6],E[7],1,0,0,0,-p[6]*E[6],-p[6]*E[7]],[0,0,0,E[6],E[7],1,-p[7]*E[6],-p[7]*E[7]]],f={},d=y(v,8,0,0,0,f);if(d===0)return;for(var l=[],n=0;n<8;n++)for(var t=0;t<8;t++)l[t]==null&&(l[t]=0),l[t]+=((n+t)%2?-1:1)*y(v,7,n===0?1:0,1<<n,1<<t,f)/d*p[n];return function(a,o,r){var c=o*l[6]+r*l[7]+1;a[0]=(o*l[0]+r*l[1]+l[2])/c,a[1]=(o*l[3]+r*l[4]+l[5])/c}}N.buildTransformer=m},hX1E:function(B,N){var i=Math.PI*2;function y(m){return m%=i,m<0&&(m+=i),m}N.normalizeRadian=y},hXwI:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}function m(v,f){for(var d=0;d<f.length;d++){var l=f[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(v,l.key,l)}}function E(v,f,d){return f&&m(v.prototype,f),d&&m(v,d),v}var p=function(){function v(){y(this,v)}return E(v,[{key:"decodeRect",value:function(d,l,n,t,a,o,r){if(a.rQwait("COPYRECT",4))return!1;var c=a.rQshift16(),e=a.rQshift16();return o.copyImage(c,e,d,l,n,t),!0}}]),v}();N.default=p},hi0g:function(B,N,i){var y=i("bYtY"),m=y.createHashMap,E=y.each,p=y.isString,v=y.defaults,f=y.extend,d=y.isObject,l=y.clone,n=i("4NO4"),t=n.normalizeToArray,a=i("D5nY"),o=a.guessOrdinal,r=a.BE_ORDINAL,c=i("7G+c"),e=i("L0Ub"),s=e.OTHER_DIMENSIONS,u=i("Vi4m");function h(b,S,_){c.isInstance(S)||(S=c.seriesDataToSource(S)),_=_||{},b=(b||[]).slice();for(var T=(_.dimsDef||[]).slice(),x=m(),C=m(),I=[],L=g(S,b,T,_.dimCount),M=0;M<L;M++){var k=T[M]=f({},d(T[M])?T[M]:{name:T[M]}),R=k.name,j=I[M]=new u;R!=null&&x.get(R)==null&&(j.name=j.displayName=R,x.set(R,M)),k.type!=null&&(j.type=k.type),k.displayName!=null&&(j.displayName=k.displayName)}var V=_.encodeDef;!V&&_.encodeDefaulter&&(V=_.encodeDefaulter(S,L)),V=m(V),V.each(function(J,ve){if(J=t(J).slice(),J.length===1&&!p(J[0])&&J[0]<0){V.set(ve,!1);return}var q=V.set(ve,[]);E(J,function(ce,be){p(ce)&&(ce=x.get(ce)),ce!=null&&ce<L&&(q[be]=ce,H(I[ce],ve,be))})});var D=0;E(b,function(J,ve){var q,J,ce,be;if(p(J))q=J,J={};else{q=J.name;var Ce=J.ordinalMeta;J.ordinalMeta=null,J=l(J),J.ordinalMeta=Ce,ce=J.dimsDef,be=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var Fe=V.get(q);if(Fe===!1)return;var Fe=t(Fe);if(!Fe.length)for(var fe=0;fe<(ce&&ce.length||1);fe++){for(;D<I.length&&I[D].coordDim!=null;)D++;D<I.length&&Fe.push(D++)}E(Fe,function(Ne,Q){var ae=I[Ne];if(H(v(ae,J),q,Q),ae.name==null&&ce){var Ue=ce[Q];!d(Ue)&&(Ue={name:Ue}),ae.name=ae.displayName=Ue.name,ae.defaultTooltip=Ue.defaultTooltip}be&&v(ae.otherDims,be)})});function H(J,ve,q){s.get(ve)!=null?J.otherDims[ve]=q:(J.coordDim=ve,J.coordDimIndex=q,C.set(ve,!0))}var P=_.generateCoord,K=_.generateCoordCount,U=K!=null;K=P?K||1:0;for(var G=P||"value",W=0;W<L;W++){var j=I[W]=I[W]||new u,Z=j.coordDim;Z==null&&(j.coordDim=A(G,C,U),j.coordDimIndex=0,(!P||K<=0)&&(j.isExtraCoord=!0),K--),j.name==null&&(j.name=A(j.coordDim,x)),j.type==null&&(o(S,W,j.name)===r.Must||j.isExtraCoord&&(j.otherDims.itemName!=null||j.otherDims.seriesName!=null))&&(j.type="ordinal")}return I}function g(b,S,_,T){var x=Math.max(b.dimensionsDetectCount||1,S.length,_.length,T||0);return E(S,function(C){var I=C.dimsDef;I&&(x=Math.max(x,I.length))}),x}function A(b,S,_){if(_||S.get(b)!=null){for(var T=0;S.get(b+T)!=null;)T++;b+=T}return S.set(b,!0),b}var w=h;B.exports=w},hkKa:function(B,N,i){"use strict";i.d(N,"a",function(){return v});var y=i("J4zp"),m=i.n(y),E=i("q1tI"),p=i.n(E);function v(){var f=E.useReducer(function(n){return n+1},0),d=m()(f,2),l=d[1];return l}},hw6D:function(B,N,i){var y=i("bYtY");function m(v){v.eachSeriesByType("radar",function(f){var d=f.getData(),l=[],n=f.coordinateSystem;if(!n)return;var t=n.getIndicatorAxes();y.each(t,function(a,o){d.each(d.mapDimension(t[o].dim),function(r,c){l[c]=l[c]||[];var e=n.dataToPoint(r,o);l[c][o]=E(e)?e:p(n)})}),d.each(function(a){var o=y.find(l[a],function(r){return E(r)})||p(n);l[a].push(o.slice()),d.setItemLayout(a,l[a])})})}function E(v){return!isNaN(v[0])&&!isNaN(v[1])}function p(v){return[v.cx,v.cy]}B.exports=m},hwYd:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Nu4q")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PictureTwoTone";var l=p.forwardRef(d);N.default=l},hydK:function(B,N){var i="http://www.w3.org/2000/svg";function y(m){return document.createElementNS(i,m)}N.createElement=y},hyiK:function(B,N){function i(y,m,E,p,v,f){if(f>m&&f>p||f<m&&f<p)return 0;if(p===m)return 0;var d=p<m?1:-1,l=(f-m)/(p-m);(l===1||l===0)&&(d=p<m?.5:-.5);var n=l*(E-y)+y;return n===v?Infinity:n>v?d:0}B.exports=i},i38C:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=E.createHashMap,v=E.retrieve,f=E.each;function d(a){this.coordSysName=a,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function l(a){var o=a.get("coordinateSystem"),r=new d(o),c=n[o];if(c)return c(a,r,r.axisMap,r.categoryAxisMap),r}var n={cartesian2d:function(a,o,r,c){var e=a.getReferringComponents("xAxis")[0],s=a.getReferringComponents("yAxis")[0];o.coordSysDims=["x","y"],r.set("x",e),r.set("y",s),t(e)&&(c.set("x",e),o.firstCategoryDimIndex=0),t(s)&&(c.set("y",s),o.firstCategoryDimIndex==null&(o.firstCategoryDimIndex=1))},singleAxis:function(a,o,r,c){var e=a.getReferringComponents("singleAxis")[0];o.coordSysDims=["single"],r.set("single",e),t(e)&&(c.set("single",e),o.firstCategoryDimIndex=0)},polar:function(a,o,r,c){var e=a.getReferringComponents("polar")[0],s=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");o.coordSysDims=["radius","angle"],r.set("radius",s),r.set("angle",u),t(s)&&(c.set("radius",s),o.firstCategoryDimIndex=0),t(u)&&(c.set("angle",u),o.firstCategoryDimIndex==null&&(o.firstCategoryDimIndex=1))},geo:function(a,o,r,c){o.coordSysDims=["lng","lat"]},parallel:function(a,o,r,c){var e=a.ecModel,s=e.getComponent("parallel",a.get("parallelIndex")),u=o.coordSysDims=s.dimensions.slice();f(s.parallelAxisIndex,function(h,g){var A=e.getComponent("parallelAxis",h),w=u[g];r.set(w,A),t(A)&&o.firstCategoryDimIndex==null&&(c.set(w,A),o.firstCategoryDimIndex=g)})}};function t(a){return a.get("type")==="category"}N.getCoordSysInfoBySeries=l},i6bk:function(B,N,i){"use strict";i.d(N,"b",function(){return y}),i.d(N,"a",function(){return m});function y(E){return E!=null&&E===E.window}function m(E,p){if(typeof window=="undefined")return 0;var v=p?"scrollTop":"scrollLeft",f=0;return y(E)?f=E[p?"pageYOffset":"pageXOffset"]:E instanceof Document?f=E.documentElement[v]:E&&(f=E[v]),E&&!y(E)&&typeof f!="number"&&(f=(E.ownerDocument||E).documentElement[v]),f}},i8CU:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("Fm1+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},iLNv:function(B,N){var i="\0__throttleOriginMethod",y="\0__throttleRate",m="\0__throttleType";function E(f,d,l){var n,t=0,a=0,o=null,r,c,e,s;d=d||0;function u(){a=new Date().getTime(),o=null,f.apply(c,e||[])}var h=function(){n=new Date().getTime(),c=this,e=arguments;var g=s||d,A=s||l;s=null,r=n-(A?t:a)-g,clearTimeout(o),A?o=setTimeout(u,g):r>=0?u():o=setTimeout(u,-r),t=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(g){s=g},h}function p(f,d,l,n){var t=f[d];if(!t)return;var a=t[i]||t,o=t[m],r=t[y];if(r!==l||o!==n){if(l==null||!n)return f[d]=a;t=f[d]=E(a,l,n==="debounce"),t[i]=a,t[m]=n,t[y]=l}return t}function v(f,d){var l=f[d];l&&l[i]&&(f[d]=l[i])}N.throttle=E,N.createOrUpdate=p,N.clear=v},iPDy:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=y.extendComponentView({type:"marker",init:function(){this.markerGroupMap=m.createHashMap()},render:function(p,v,f){var d=this.markerGroupMap;d.each(function(n){n.__keep=!1});var l=this.type+"Model";v.eachSeries(function(n){var t=n[l];t&&this.renderSeries(n,t,v,f)},this),d.each(function(n){!n.__keep&&this.group.remove(n.group)},this)},renderSeries:function(){}});B.exports=E},iQDF:function(B,N,i){"use strict";var y=i("ZTW2"),m=i.n(y),E=i("+BJd"),p=i("+L6B")},iRjW:function(B,N,i){var y=i("bYtY"),m=i("Yl7c"),E=m.parseClassType,p=0;function v(l){return[l||"",p++,Math.random().toFixed(5)].join("_")}function f(l){var n={};return l.registerSubTypeDefaulter=function(t,a){t=E(t),n[t.main]=a},l.determineSubType=function(t,a){var o=a.type;if(!o){var r=E(t).main;l.hasSubTypes(t)&&n[r]&&(o=n[r](a))}return o},l}function d(l,n){l.topologicalTravel=function(r,c,e,s){if(!r.length)return;var u=t(c),h=u.graph,g=u.noEntryList,A={};for(y.each(r,function(x){A[x]=!0});g.length;){var w=g.pop(),b=h[w],S=!!A[w];S&&(e.call(s,w,b.originalDeps.slice()),delete A[w]),y.each(b.successor,S?T:_)}y.each(A,function(){throw new Error("Circle dependency may exists")});function _(x){h[x].entryCount--,h[x].entryCount===0&&g.push(x)}function T(x){A[x]=!0,_(x)}};function t(r){var c={},e=[];return y.each(r,function(s){var u=a(c,s),h=u.originalDeps=n(s),g=o(h,r);u.entryCount=g.length,u.entryCount===0&&e.push(s),y.each(g,function(A){y.indexOf(u.predecessor,A)<0&&u.predecessor.push(A);var w=a(c,A);y.indexOf(w.successor,A)<0&&w.successor.push(s)})}),{graph:c,noEntryList:e}}function a(r,c){return r[c]||(r[c]={predecessor:[],successor:[]}),r[c]}function o(r,c){var e=[];return y.each(r,function(s){y.indexOf(c,s)>=0&&e.push(s)}),e}}N.getUID=v,N.enableSubTypeDefaulter=f,N.enableTopologicalTravel=d},iUHT:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(b,S){if(!(b instanceof S))throw new TypeError("Cannot call a class as a function")}function m(b,S){for(var _=0;_<S.length;_++){var T=S[_];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(b,T.key,T)}}function E(b,S,_){return S&&m(b.prototype,S),_&&m(b,_),b}var p=[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],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=0,d,l,n,t,a,o;d=1<<16,l=1<<24,n=d|l,t=1<<2,a=1<<10,o=t|a;var r=[n|a,f|f,d|f,n|o,n|t,d|o,f|t,d|f,f|a,n|a,n|o,f|a,l|o,n|t,l|f,f|t,f|o,l|a,l|a,d|a,d|a,n|f,n|f,l|o,d|t,l|t,l|t,d|t,f|f,f|o,d|o,l|f,d|f,n|o,f|t,n|f,n|a,l|f,l|f,f|a,n|t,d|f,d|a,l|t,f|a,f|t,l|o,d|o,n|o,d|t,n|f,l|o,l|t,f|o,d|o,n|a,f|o,l|a,l|a,f|f,d|t,d|a,f|f,n|t];d=1<<20,l=1<<31,n=d|l,t=1<<5,a=1<<15,o=t|a;var c=[n|o,l|a,f|a,d|o,d|f,f|t,n|t,l|o,l|t,n|o,n|a,l|f,l|a,d|f,f|t,n|t,d|a,d|t,l|o,f|f,l|f,f|a,d|o,n|f,d|t,l|t,f|f,d|a,f|o,n|a,n|f,f|o,f|f,d|o,n|t,d|f,l|o,n|f,n|a,f|a,n|f,l|a,f|t,n|o,d|o,f|t,f|a,l|f,f|o,n|a,d|f,l|t,d|t,l|o,l|t,d|t,d|a,f|f,l|a,f|o,l|f,n|t,n|o,d|a];d=1<<17,l=1<<27,n=d|l,t=1<<3,a=1<<9,o=t|a;var e=[f|o,n|a,f|f,n|t,l|a,f|f,d|o,l|a,d|t,l|t,l|t,d|f,n|o,d|t,n|f,f|o,l|f,f|t,n|a,f|a,d|a,n|f,n|t,d|o,l|o,d|a,d|f,l|o,f|t,n|o,f|a,l|f,n|a,l|f,d|t,f|o,d|f,n|a,l|a,f|f,f|a,d|t,n|o,l|a,l|t,f|a,f|f,n|t,l|o,d|f,l|f,n|o,f|t,d|o,d|a,l|t,n|f,l|o,f|o,n|f,d|o,f|t,n|t,d|a];d=1<<13,l=1<<23,n=d|l,t=1<<0,a=1<<7,o=t|a;var s=[n|t,d|o,d|o,f|a,n|a,l|o,l|t,d|t,f|f,n|f,n|f,n|o,f|o,f|f,l|a,l|t,f|t,d|f,l|f,n|t,f|a,l|f,d|t,d|a,l|o,f|t,d|a,l|a,d|f,n|a,n|o,f|o,l|a,l|t,n|f,n|o,f|o,f|f,f|f,n|f,d|a,l|a,l|o,f|t,n|t,d|o,d|o,f|a,n|o,f|o,f|t,d|f,l|t,d|t,n|a,l|o,d|t,d|a,l|f,n|t,f|a,l|f,d|f,n|a];d=1<<25,l=1<<30,n=d|l,t=1<<8,a=1<<19,o=t|a;var u=[f|t,d|o,d|a,n|t,f|a,f|t,l|f,d|a,l|o,f|a,d|t,l|o,n|t,n|a,f|o,l|f,d|f,l|a,l|a,f|f,l|t,n|o,n|o,d|t,n|a,l|t,f|f,n|f,d|o,d|f,n|f,f|o,f|a,n|t,f|t,d|f,l|f,d|a,n|t,l|o,d|t,l|f,n|a,d|o,l|o,f|t,d|f,n|a,n|o,f|o,n|f,n|o,d|a,f|f,l|a,n|f,f|o,d|t,l|t,f|a,f|f,l|a,d|o,l|t];d=1<<22,l=1<<29,n=d|l,t=1<<4,a=1<<14,o=t|a;var h=[l|t,n|f,f|a,n|o,n|f,f|t,n|o,d|f,l|a,d|o,d|f,l|t,d|t,l|a,l|f,f|o,f|f,d|t,l|o,f|a,d|a,l|o,f|t,n|t,n|t,f|f,d|o,n|a,f|o,d|a,n|a,l|f,l|a,f|t,n|t,d|a,n|o,d|f,f|o,l|t,d|f,l|a,l|f,f|o,l|t,n|o,d|a,n|f,d|o,n|a,f|f,n|t,f|t,f|a,n|f,d|o,f|a,d|t,l|o,f|f,n|a,l|f,d|t,l|o];d=1<<21,l=1<<26,n=d|l,t=1<<1,a=1<<11,o=t|a;var g=[d|f,n|t,l|o,f|f,f|a,l|o,d|o,n|a,n|o,d|f,f|f,l|t,f|t,l|f,n|t,f|o,l|a,d|o,d|t,l|a,l|t,n|f,n|a,d|t,n|f,f|a,f|o,n|o,d|a,f|t,l|f,d|a,l|f,d|a,d|f,l|o,l|o,n|t,n|t,f|t,d|t,l|f,l|a,d|f,n|a,f|o,d|o,n|a,f|o,l|t,n|o,n|f,d|a,f|f,f|t,n|o,f|f,d|o,n|f,f|a,l|t,l|a,f|a,d|t];d=1<<18,l=1<<28,n=d|l,t=1<<6,a=1<<12,o=t|a;var A=[l|o,f|a,d|f,n|o,l|f,l|o,f|t,l|f,d|t,n|f,n|o,d|a,n|a,d|o,f|a,f|t,n|f,l|t,l|a,f|o,d|a,d|t,n|t,n|a,f|o,f|f,f|f,n|t,l|t,l|a,d|o,d|f,d|o,d|f,n|a,f|a,f|t,n|t,f|a,d|o,l|a,f|t,l|t,n|f,n|t,l|f,d|f,l|o,f|f,n|o,d|t,l|t,n|f,l|a,l|o,f|f,n|o,d|a,d|a,f|o,f|o,d|t,l|f,n|a],w=function(){function b(S){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;_[C]=(S[I>>>3]&1<<L)!==0?1:0}for(var M=0;M<16;++M){var k=M<<1,R=k+1;x[k]=x[R]=0;for(var j=28;j<59;j+=28)for(var V=j-28;V<j;++V){var D=V+v[M];T[V]=D<j?_[D]:_[D-28]}for(var H=0;H<24;++H)T[p[H]]!==0&&(x[k]|=1<<23-H),T[p[H+24]]!==0&&(x[R]|=1<<23-H)}for(var P=0,K=0,U=0;P<16;++P){var G=x[K++],W=x[K++];this.keys[U]=(G&16515072)<<6,this.keys[U]|=(G&4032)<<10,this.keys[U]|=(W&16515072)>>>10,this.keys[U]|=(W&4032)>>>6,++U,this.keys[U]=(G&258048)<<12,this.keys[U]|=(G&63)<<16,this.keys[U]|=(W&258048)>>>4,this.keys[U]|=W&63,++U}}return E(b,[{key:"enc8",value:function(_){var T=_.slice(),x=0,C,I,L;C=T[x++]<<24|T[x++]<<16|T[x++]<<8|T[x++],I=T[x++]<<24|T[x++]<<16|T[x++]<<8|T[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 M=0,k=0;M<8;++M){L=I<<28|I>>>4,L^=this.keys[k++];var R=g[L&63];R|=u[L>>>8&63],R|=e[L>>>16&63],R|=r[L>>>24&63],L=I^this.keys[k++],R|=A[L&63],R|=h[L>>>8&63],R|=s[L>>>16&63],R|=c[L>>>24&63],C^=R,L=C<<28|C>>>4,L^=this.keys[k++],R=g[L&63],R|=u[L>>>8&63],R|=e[L>>>16&63],R|=r[L>>>24&63],L=C^this.keys[k++],R|=A[L&63],R|=h[L>>>8&63],R|=s[L>>>16&63],R|=c[L>>>24&63],I^=R}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++)T[x]=(L[x>>>2]>>>8*(3-x%4))%256,T[x]<0&&(T[x]+=256);return T}},{key:"encrypt",value:function(_){return this.enc8(_.slice(0,8)).concat(this.enc8(_.slice(8,16)))}}]),b}();N.default=w},iXHM:function(B,N){var i="";typeof navigator!="undefined"&&(i=navigator.platform||"");var y={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.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};B.exports=y},iXp4:function(B,N,i){var y=i("ItGF"),m=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function E(p){return y.browser.ie&&y.browser.version>=11?function(){var v=this.__clipPaths,f=this.style,d;if(v)for(var l=0;l<v.length;l++){var n=v[l],t=n&&n.shape,a=n&&n.type;if(t&&(a==="sector"&&t.startAngle===t.endAngle||a==="rect"&&(!t.width||!t.height))){for(var o=0;o<m.length;o++)m[o][2]=f[m[o][0]],f[m[o][0]]=m[o][1];d=!0;break}}if(p.apply(this,arguments),d)for(var o=0;o<m.length;o++)f[m[o][0]]=m[o][2]}:p}B.exports=E},iYpf:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ZLWo")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="FolderOpenOutlined";var l=p.forwardRef(d);N.default=l},ieMj:function(B,N,i){var y=i("OELB"),m=i("7aKB"),E=i("4NgU"),p=i("lE7J"),v=y.round,f=E.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(l,n){var t=this._extent;isNaN(l)||(t[0]=parseFloat(l)),isNaN(n)||(t[1]=parseFloat(n))},unionExtent:function(l){var n=this._extent;l[0]<n[0]&&(n[0]=l[0]),l[1]>n[1]&&(n[1]=l[1]),f.prototype.setExtent.call(this,n[0],n[1])},getInterval:function(){return this._interval},setInterval:function(l){this._interval=l,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(l)},getTicks:function(l){var n=this._interval,t=this._extent,a=this._niceExtent,o=this._intervalPrecision,r=[];if(!n)return r;var c=1e4;t[0]<a[0]&&(l?r.push(v(a[0]-n,o)):r.push(t[0]));for(var e=a[0];e<=a[1]&&!(r.push(e),e=v(e+n,o),e===r[r.length-1]);)if(r.length>c)return[];var s=r.length?r[r.length-1]:a[1];return t[1]>s&&(l?r.push(v(s+n,o)):r.push(t[1])),r},getMinorTicks:function(l){for(var n=this.getTicks(!0),t=[],a=this.getExtent(),o=1;o<n.length;o++){for(var r=n[o],c=n[o-1],e=0,s=[],u=r-c,h=u/l;e<l-1;){var g=y.round(c+(e+1)*h);g>a[0]&&g<a[1]&&s.push(g),e++}t.push(s)}return t},getLabel:function(l,n){if(l==null)return"";var t=n&&n.precision;return t==null?t=y.getPrecisionSafe(l)||0:t==="auto"&&(t=this._intervalPrecision),l=v(l,t,!0),m.addCommas(l)},niceTicks:function(l,n,t){l=l||5;var a=this._extent,o=a[1]-a[0];if(!isFinite(o))return;o<0&&(o=-o,a.reverse());var r=p.intervalScaleNiceTicks(a,l,n,t);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent},niceExtent:function(l){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var t=n[0];l.fixMax||(n[1]+=t/2),n[0]-=t/2}else n[1]=1;var a=n[1]-n[0];isFinite(a)||(n[0]=0,n[1]=1),this.niceTicks(l.splitNumber,l.minInterval,l.maxInterval);var o=this._interval;l.fixMin||(n[0]=v(Math.floor(n[0]/o)*o)),l.fixMax||(n[1]=v(Math.ceil(n[1]/o)*o))}});f.create=function(){return new f};var d=f;B.exports=d},j5sG:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=m(i("NohK"));function m(p){return p&&p.__esModule?p:{default:p}}var E=function(v){var f=void 0,d=[],l=(0,y.default)(function(){d.forEach(function(r){r(v)})}),n=function(){var c=new ResizeObserver(l);return c.observe(v),l(),c},t=function(c){f||(f=n()),d.indexOf(c)===-1&&d.push(c)},a=function(){f.disconnect(),d=[],f=void 0},o=function(c){var e=d.indexOf(c);e!==-1&&d.splice(e,1),d.length===0&&f&&a()};return{element:v,bind:t,destroy:a,unbind:o}};N.createSensor=E},jCoz:function(B,N,i){var y=i("bYtY"),m=i("4NgU"),E=i("OELB"),p=i("ieMj"),v=m.prototype,f=p.prototype,d=E.getPrecisionSafe,l=E.round,n=Math.floor,t=Math.ceil,a=Math.pow,o=Math.log,r=m.extend({type:"log",base:10,$constructor:function(){m.apply(this,arguments),this._originalScale=new p},getTicks:function(s){var u=this._originalScale,h=this._extent,g=u.getExtent();return y.map(f.getTicks.call(this,s),function(A){var w=E.round(a(this.base,A));return w=A===h[0]&&u.__fixMin?c(w,g[0]):w,w=A===h[1]&&u.__fixMax?c(w,g[1]):w,w},this)},getMinorTicks:f.getMinorTicks,getLabel:f.getLabel,scale:function(s){return s=v.scale.call(this,s),a(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=v.getExtent.call(this);u[0]=a(s,u[0]),u[1]=a(s,u[1]);var h=this._originalScale,g=h.getExtent();return h.__fixMin&&(u[0]=c(u[0],g[0])),h.__fixMax&&(u[1]=c(u[1],g[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),v.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 g=E.quantity(h),A=s/h*g;for(A<=.5&&(g*=10);!isNaN(g)&&Math.abs(g)<1&&Math.abs(g)>0;)g*=10;var w=[E.round(t(u[0]/g)*g),E.round(n(u[1]/g)*g)];this._interval=g,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),v[s].call(this,u)}}),r.create=function(){return new r};function c(s,u){return l(s,d(u))}var e=r;B.exports=e},jN4g:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CloseCircleFilled";var d=N.a=m.forwardRef(f)},jO45:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="CheckCircleFilled";var d=N.a=m.forwardRef(f)},jTL6:function(B,N,i){var y=i("y+Vt"),m=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(p,v){var f=v.cx,d=v.cy,l=Math.max(v.r,0),n=v.startAngle,t=v.endAngle,a=v.clockwise,o=Math.cos(n),r=Math.sin(n);p.moveTo(o*l+f,r*l+d),p.arc(f,d,l,n,t,!a)}});B.exports=m},je13:function(B,N,i){var y=i("5nXd"),m=i("gRFJ"),E=[i("uQRt")];B.exports=y.createStore(m,E)},jett:function(B,N,i){var y=i("ProS");i("VSLf"),i("oBaM"),i("FGaS");var m=i("mOdp"),E=i("f5Yq"),p=i("hw6D"),v=i("0/Rx"),f=i("eJH7");y.registerVisual(m("radar")),y.registerVisual(E("radar","circle")),y.registerLayout(p),y.registerProcessor(v("radar")),y.registerPreprocessor(f)},jhfD:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ArrowLeftOutlined";var d=N.a=m.forwardRef(f)},jkPA:function(B,N,i){var y=i("bYtY"),m=y.createHashMap,E=y.isObject,p=y.map;function v(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}v.createByAxisModel=function(t){var a=t.option,o=a.data,r=o&&p(o,l);return new v({categories:r,needCollect:!r,deduplication:a.dedplication!==!1})};var f=v.prototype;f.getOrdinal=function(t){return d(this).get(t)},f.parseAndCollect=function(t){var a,o=this._needCollect;if(typeof t!="string"&&!o)return t;if(o&&!this._deduplication)return a=this.categories.length,this.categories[a]=t,a;var r=d(this);return a=r.get(t),a==null&&(o?(a=this.categories.length,this.categories[a]=t,r.set(t,a)):a=NaN),a};function d(t){return t._map||(t._map=m(t.categories))}function l(t){return E(t)&&t.value!=null?t.value:t+""}var n=v;B.exports=n},jndi:function(B,N,i){var y=i("bYtY"),m=i("Qe9p"),E=i("YXkt"),p=i("OELB"),v=i("IwbS"),f=i("kj2x"),d=i("iPDy"),l=function(e,s,u,h){var g=f.dataTransform(e,h[0]),A=f.dataTransform(e,h[1]),w=y.retrieve,b=g.coord,S=A.coord;b[0]=w(b[0],-Infinity),b[1]=w(b[1],-Infinity),S[0]=w(S[0],Infinity),S[1]=w(S[1],Infinity);var _=y.mergeAll([{},g,A]);return _.coord=[g.coord,A.coord],_.x0=g.x,_.y0=g.y,_.x1=A.x,_.y1=A.y,_};function n(e){return!isNaN(e)&&!isFinite(e)}function t(e,s,u,h){var g=1-e;return n(s[g])&&n(u[g])}function a(e,s){var u=s.coord[0],h=s.coord[1];return e.type==="cartesian2d"&&(u&&h&&(t(1,u,h,e)||t(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,g){var A=h.coordinateSystem,w=e.getItemModel(s),b,S=p.parsePercent(w.get(u[0]),g.getWidth()),_=p.parsePercent(w.get(u[1]),g.getHeight());if(!isNaN(S)&&!isNaN(_))b=[S,_];else{if(h.getMarkerPosition)b=h.getMarkerPosition(e.getValues(u,s));else{var T=e.get(u[0],s),x=e.get(u[1],s),C=[T,x];A.clampData&&A.clampData(C,C),b=A.dataToPoint(C,!0)}if(A.type==="cartesian2d"){var I=A.getAxis("x"),L=A.getAxis("y"),T=e.get(u[0],s),x=e.get(u[1],s);n(T)?b[0]=I.toGlobalCoord(I.getExtent()[u[0]==="x0"?0:1]):n(x)&&(b[1]=L.toGlobalCoord(L.getExtent()[u[1]==="y0"?0:1]))}isNaN(S)||(b[0]=S),isNaN(_)||(b[1]=_)}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 g=h.markAreaModel;if(g){var A=g.getData();A.each(function(w){var b=y.map(r,function(_){return o(A,w,_,h,u)});A.setItemLayout(w,b);var S=A.getItemGraphicEl(w);S.setShape("points",b)})}},this)},renderSeries:function(e,s,u,h){var g=e.coordinateSystem,A=e.id,w=e.getData(),b=this.markerGroupMap,S=b.get(A)||b.set(A,{group:new v.Group});this.group.add(S.group),S.__keep=!0;var _=c(g,e,s);s.setData(_),_.each(function(T){_.setItemLayout(T,y.map(r,function(x){return o(_,T,x,e,h)})),_.setItemVisual(T,{color:w.getVisual("color")})}),_.diff(S.__data).add(function(T){var x=new v.Polygon({shape:{points:_.getItemLayout(T)}});_.setItemGraphicEl(T,x),S.group.add(x)}).update(function(T,x){var C=S.__data.getItemGraphicEl(x);v.updateProps(C,{shape:{points:_.getItemLayout(T)}},s,T),S.group.add(C),_.setItemGraphicEl(T,C)}).remove(function(T){var x=S.__data.getItemGraphicEl(T);S.group.remove(x)}).execute(),_.eachItemGraphicEl(function(T,x){var C=_.getItemModel(x),I=C.getModel("label"),L=C.getModel("emphasis.label"),M=_.getItemVisual(x,"color");T.useStyle(y.defaults(C.getModel("itemStyle").getItemStyle(),{fill:m.modifyAlpha(M,.4),stroke:M})),T.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(T.style,T.hoverStyle,I,L,{labelFetcher:s,labelDataIndex:x,defaultText:_.getName(x)||"",isRectText:!0,autoColor:M}),v.setHoverStyle(T,{}),T.dataModel=s}),S.__data=_,S.group.silent=s.get("silent")||e.get("silent")}});function c(e,s,u){var h,g,A=["x0","y0","x1","y1"];e?(h=y.map(e&&e.dimensions,function(S){var _=s.getData(),T=_.getDimensionInfo(_.mapDimension(S))||{};return y.defaults({name:S},T)}),g=new E(y.map(A,function(S,_){return{name:S,type:h[_%2].type}}),u)):(h=[{name:"value",type:"float"}],g=new E(h,u));var w=y.map(u.get("data"),y.curry(l,s,e,u));e&&(w=y.filter(w,y.curry(a,e)));var b=e?function(S,_,T,x){return S.coord[Math.floor(x/2)][x%2]}:function(S){return S.value};return g.initData(w,null,b),g.hasItemOption=!0,g}},"jsU+":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IUWy"),p=y.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),m.each(this.option.feature,function(f,d){var l=E.get(d);l&&m.merge(f,l.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}}}),v=p;B.exports=v},jtI2:function(B,N,i){i("SMc4");var y=i("bLfw"),m=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"}});B.exports=m},juDX:function(B,N,i){i("P47w");var y=i("aX58"),m=y.registerPainter,E=i("3CBa");m("svg",E)},k5C7:function(B,N,i){i("0JAE"),i("g7p0"),i("7mYs")},k9D9:function(B,N){var i="original",y="arrayRows",m="objectRows",E="keyedColumns",p="unknown",v="typedArray",f="column",d="row";N.SOURCE_FORMAT_ORIGINAL=i,N.SOURCE_FORMAT_ARRAY_ROWS=y,N.SOURCE_FORMAT_OBJECT_ROWS=m,N.SOURCE_FORMAT_KEYED_COLUMNS=E,N.SOURCE_FORMAT_UNKNOWN=p,N.SOURCE_FORMAT_TYPED_ARRAY=v,N.SERIES_LAYOUT_BY_COLUMN=f,N.SERIES_LAYOUT_BY_ROW=d},kDyi:function(B,N){function i(y){var m=y.findComponents({mainType:"legend"});m&&m.length&&y.filterSeries(function(E){for(var p=0;p<m.length;p++)if(!m[p].isSelected(E.name))return!1;return!0})}B.exports=i},kGiB:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("ABKa"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},kMLO:function(B,N,i){var y=i("XxSj"),m=i("Qe9p"),E=i("bYtY"),p=E.isArray,v="itemStyle",f={seriesType:"treemap",reset:function(e,s,u,h){var g=e.getData().tree,A=g.root,w=e.getModel(v);if(A.isRemoved())return;var b=E.map(g.levelModels,function(S){return S?S.get(v):null});d(A,{},b,w,e.getViewRoot().getAncestors(),e)}};function d(e,s,u,h,g,A){var w=e.getModel(),b=e.getLayout();if(!b||b.invisible||!b.isInView)return;var S=e.getModel(v),_=u[e.depth],T=l(S,s,_,h),x=S.get("borderColor"),C=S.get("borderColorSaturation"),I;C!=null&&(I=n(T,e),x=t(C,I)),e.setVisual("borderColor",x);var L=e.viewChildren;if(!L||!L.length)I=n(T,e),e.setVisual("color",I);else{var M=o(e,w,b,S,T,L);E.each(L,function(k,R){if(k.depth>=g.length||k===g[k.depth]){var j=c(w,T,k,R,M,A);d(k,j,u,h,g,A)}})}}function l(e,s,u,h){var g=E.extend({},s);return E.each(["color","colorAlpha","colorSaturation"],function(A){var w=e.get(A,!0);w==null&&u&&(w=u[A]),w==null&&(w=s[A]),w==null&&(w=h.get(A)),w!=null&&(g[A]=w)}),g}function n(e){var s=a(e,"color");if(s){var u=a(e,"colorAlpha"),h=a(e,"colorSaturation");return h&&(s=m.modifyHSL(s,null,null,h)),u&&(s=m.modifyAlpha(s,u)),s}}function t(e,s){return s!=null?m.modifyHSL(s,null,null,e):null}function a(e,s){var u=e[s];if(u!=null&&u!=="none")return u}function o(e,s,u,h,g,A){if(!A||!A.length)return;var w=r(s,"color")||g.color!=null&&g.color!=="none"&&(r(s,"colorAlpha")||r(s,"colorSaturation"));if(!w)return;var b=s.get("visualMin"),S=s.get("visualMax"),_=u.dataExtent.slice();b!=null&&b<_[0]&&(_[0]=b),S!=null&&S>_[1]&&(_[1]=S);var T=s.get("colorMappingBy"),x={type:w.name,dataExtent:_,visual:w.range};x.type==="color"&&(T==="index"||T==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var C=new y(x);return C.__drColorMappingBy=T,C}function r(e,s){var u=e.get(s);return p(u)&&u.length?{name:s,range:u}:null}function c(e,s,u,h,g,A){var w=E.extend({},s);if(g){var b=g.type,S=b==="color"&&g.__drColorMappingBy,_=S==="index"?h:S==="id"?A.mapIdToIndex(u.getId()):u.getValue(e.get("visualDimension"));w[b]=g.mapValueToVisual(_)}return w}B.exports=f},"kVK+":function(B,N){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */N.read=function(i,y,m,E,p){var v,f,d=p*8-E-1,l=(1<<d)-1,n=l>>1,t=-7,a=m?p-1:0,o=m?-1:1,r=i[y+a];for(a+=o,v=r&(1<<-t)-1,r>>=-t,t+=d;t>0;v=v*256+i[y+a],a+=o,t-=8);for(f=v&(1<<-t)-1,v>>=-t,t+=E;t>0;f=f*256+i[y+a],a+=o,t-=8);if(v===0)v=1-n;else{if(v===l)return f?NaN:(r?-1:1)*Infinity;f=f+Math.pow(2,E),v=v-n}return(r?-1:1)*f*Math.pow(2,v-E)},N.write=function(i,y,m,E,p,v){var f,d,l,n=v*8-p-1,t=(1<<n)-1,a=t>>1,o=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,r=E?0:v-1,c=E?1:-1,e=y<0||y===0&&1/y<0?1:0;for(y=Math.abs(y),isNaN(y)||y===Infinity?(d=isNaN(y)?1:0,f=t):(f=Math.floor(Math.log(y)/Math.LN2),y*(l=Math.pow(2,-f))<1&&(f--,l*=2),f+a>=1?y+=o/l:y+=o*Math.pow(2,1-a),y*l>=2&&(f++,l/=2),f+a>=t?(d=0,f=t):f+a>=1?(d=(y*l-1)*Math.pow(2,p),f=f+a):(d=y*Math.pow(2,a-1)*Math.pow(2,p),f=0));p>=8;i[m+r]=d&255,r+=c,d/=256,p-=8);for(f=f<<p|d,n+=p;n>0;i[m+r]=f&255,r+=c,f/=256,n-=8);i[m+r-c]|=e*128}},kj2x:function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=i("7hqr"),p=E.isDimensionStacked,v=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 l(u,h,g,A,w,b){var S=[],_=p(h,A),T=_?h.getCalculationInfo("stackResultDimension"):A,x=s(h,T,u),C=h.indicesOfNearest(T,x)[0];S[w]=h.get(g,C),S[b]=h.get(T,C);var I=h.get(A,C),L=m.getPrecision(h.get(A,C));return L=Math.min(L,20),L>=0&&(S[b]=+S[b].toFixed(L)),[S,I]}var n=y.curry,t={min:n(l,"min"),max:n(l,"max"),average:n(l,"average")};function a(u,h){var g=u.getData(),A=u.coordinateSystem;if(h&&!d(h)&&!y.isArray(h.coord)&&A){var w=A.dimensions,b=o(h,g,A,u);if(h=y.clone(h),h.type&&t[h.type]&&b.baseAxis&&b.valueAxis){var S=v(w,b.baseAxis.dim),_=v(w,b.valueAxis.dim),T=t[h.type](g,b.baseDataDim,b.valueDataDim,S,_);h.coord=T[0],h.value=T[1]}else{for(var x=[h.xAxis!=null?h.xAxis:h.radiusAxis,h.yAxis!=null?h.yAxis:h.angleAxis],C=0;C<2;C++)t[x[C]]&&(x[C]=s(g,g.mapDimension(w[C]),x[C]));h.coord=x}}return h}function o(u,h,g,A){var w={};return u.valueIndex!=null||u.valueDim!=null?(w.valueDataDim=u.valueIndex!=null?h.getDimension(u.valueIndex):u.valueDim,w.valueAxis=g.getAxis(r(A,w.valueDataDim)),w.baseAxis=g.getOtherAxis(w.valueAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim)):(w.baseAxis=A.getBaseAxis(),w.valueAxis=g.getOtherAxis(w.baseAxis),w.baseDataDim=h.mapDimension(w.baseAxis.dim),w.valueDataDim=h.mapDimension(w.valueAxis.dim)),w}function r(u,h){var g=u.getData(),A=g.dimensions;h=g.getDimension(h);for(var w=0;w<A.length;w++){var b=g.getDimensionInfo(A[w]);if(b.name===h)return b.coordDim}}function c(u,h){return u&&u.containData&&h.coord&&!f(h)?u.containData(h.coord):!0}function e(u,h,g,A){return A<2?u.coord&&u.coord[A]:u.value}function s(u,h,g){if(g==="average"){var A=0,w=0;return u.each(h,function(b,S){isNaN(b)||(A+=b,w++)}),A/w}else return g==="median"?u.getMedian(h):u.getDataExtent(h,!0)[g==="max"?1:0]}N.dataTransform=a,N.getAxisInfo=o,N.dataFilter=c,N.dimValueGetter=e,N.numCalculate=s},knOB:function(B,N,i){var y=i("bYtY"),m=i("hM6l");function E(v,f){m.call(this,"radius",v,f),this.type="category"}E.prototype={constructor:E,pointToData:function(v,f){return this.polar.pointToData(v,f)[this.dim==="radius"?0:1]},dataToRadius:m.prototype.dataToCoord,radiusToData:m.prototype.coordToData},y.inherits(E,m);var p=E;B.exports=p},ko1b:function(B,N,i){var y=i("bYtY"),m=i("T4UG"),E=i("Bsck"),p=i("Qxkt"),v=i("7aKB"),f=v.encodeHTML,d=v.addCommas,l=i("VaxA"),n=l.wrapTreePathInfo,t=m.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,c){var e={name:r.name,children:r.data};a(e);var s=r.levels||[];s=r.levels=o(s,c);var u=y.map(s||[],function(A){return new p(A,this,c)},this),h=E.createTree(e,this,null,g);function g(A){A.wrapMethod("getItemModel",function(w,b){var S=h.getNodeByDataIndex(b),_=u[S.depth];return _&&(w.parentModel=_),w})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var c=this.getData(),e=this.getRawValue(r),s=y.isArray(e)?d(e[0]):d(e),u=c.getName(r);return f(u+": "+s)},getDataParams:function(r){var c=m.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(r);return c.treePathInfo=n(e,this),c},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},y.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var c=this._idIndexMap;c||(c=this._idIndexMap=y.createHashMap(),this._idIndexMapCount=0);var e=c.get(r);return e==null&&c.set(r,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var c=this.getRawData().tree.root;(!r||r!==c&&!c.contains(r))&&(this._viewRoot=c)}});function a(r){var c=0;y.each(r.children,function(s){a(s);var u=s.value;y.isArray(u)&&(u=u[0]),c+=u});var e=r.value;y.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=c),e<0&&(e=0),y.isArray(r.value)?r.value[0]=e:r.value=e}function o(r,c){var e=c.get("color");if(!e)return;r=r||[];var s;if(y.each(r,function(h){var g=new p(h),A=g.get("color");(g.get("itemStyle.color")||A&&A!=="none")&&(s=!0)}),!s){var u=r[0]||(r[0]={});u.color=e.slice()}return r}B.exports=t},kzFp:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y=N.pick=function(E,p){var v={};return p.forEach(function(f){v[f]=E[f]}),v}},kzvK:function(B,N,i){var y=i("sS/r"),m=y.extend({type:"timeline"});B.exports=m},"l+S1":function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="SearchOutlined";var d=N.a=m.forwardRef(f)},lE7J:function(B,N,i){var y=i("OELB"),m=y.round;function E(d,l,n,t){var a={},o=d[1]-d[0],r=a.interval=y.nice(o/l,!0);n!=null&&r<n&&(r=a.interval=n),t!=null&&r>t&&(r=a.interval=t);var c=a.intervalPrecision=p(r),e=a.niceTickExtent=[m(Math.ceil(d[0]/r)*r,c),m(Math.floor(d[1]/r)*r,c)];return f(e,d),a}function p(d){return y.getPrecisionSafe(d)+2}function v(d,l,n){d[l]=Math.max(Math.min(d[l],n[1]),n[0])}function f(d,l){!isFinite(d[0])&&(d[0]=l[0]),!isFinite(d[1])&&(d[1]=l[1]),v(d,0,l),v(d,1,l),d[0]>d[1]&&(d[0]=d[1])}N.intervalScaleNiceTicks=E,N.getIntervalPrecision=p,N.fixExtent=f},lELe:function(B,N,i){var y=i("bYtY");function m(E){var p=[];y.each(E.series,function(v){v&&v.type==="map"&&(p.push(v),v.map=v.map||v.mapType,y.defaults(v,v.mapLocation))})}B.exports=m},lLGD:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("nVfU"),p=E.layout,v=E.largeLayout;i("Wqna"),i("F7hV"),i("Z8zF"),i("Ae16"),y.registerLayout(y.PRIORITY.VISUAL.LAYOUT,m.curry(p,"bar")),y.registerLayout(y.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),y.registerVisual({seriesType:"bar",reset:function(f){f.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(B,N,i){"use strict";function y(he){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(nr){return typeof nr}:y=function(nr){return nr&&typeof Symbol=="function"&&nr.constructor===Symbol&&nr!==Symbol.prototype?"symbol":typeof nr},y(he)}Object.defineProperty(N,"__esModule",{value:!0}),N.deflateInit=$e,N.deflateInit2=Vt,N.deflateReset=It,N.deflateResetKeep=Ct,N.deflateSetHeader=Ft,N.deflate=ge,N.deflateEnd=ne,N.deflateSetDictionary=wt,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 m=n(i("6BzB")),E=n(i("c5fP")),p=d(i("xlC8")),v=d(i("QV2g")),f=d(i("xSIq"));function d(he){return he&&he.__esModule?he:{default:he}}function l(){if(typeof WeakMap!="function")return null;var he=new WeakMap;return l=function(){return he},he}function n(he){if(he&&he.__esModule)return he;if(he===null||y(he)!=="object"&&typeof he!="function")return{default:he};var kt=l();if(kt&&kt.has(he))return kt.get(he);var nr={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Xt in he)if(Object.prototype.hasOwnProperty.call(he,Xt)){var hr=lt?Object.getOwnPropertyDescriptor(he,Xt):null;hr&&(hr.get||hr.set)?Object.defineProperty(nr,Xt,hr):nr[Xt]=he[Xt]}return nr.default=he,kt&&kt.set(he,nr),nr}var t=0;N.Z_NO_FLUSH=t;var a=1;N.Z_PARTIAL_FLUSH=a;var o=3;N.Z_FULL_FLUSH=o;var r=4;N.Z_FINISH=r;var c=5;N.Z_BLOCK=c;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 g=-5;N.Z_BUF_ERROR=g;var A=-1;N.Z_DEFAULT_COMPRESSION=A;var w=1;N.Z_FILTERED=w;var b=2;N.Z_HUFFMAN_ONLY=b;var S=3;N.Z_RLE=S;var _=4;N.Z_FIXED=_;var T=0;N.Z_DEFAULT_STRATEGY=T;var x=2;N.Z_UNKNOWN=x;var C=8;N.Z_DEFLATED=C;var I=9,L=15,M=8,k=29,R=256,j=R+1+k,V=30,D=19,H=2*j+1,P=15,K=3,U=258,G=U+K+1,W=32,Z=42,J=69,ve=73,q=91,ce=103,be=113,Ce=666,Fe=1,fe=2,Ne=3,Q=4,ae=3;function Ue(he,kt){return he.msg=f.default[kt],kt}function te(he){return(he<<1)-(he>4?9:0)}function X(he){for(var kt=he.length;--kt>=0;)he[kt]=0}function z(he){var kt=he.state,nr=kt.pending;if(nr>he.avail_out&&(nr=he.avail_out),nr===0)return;m.arraySet(he.output,kt.pending_buf,kt.pending_out,nr,he.next_out),he.next_out+=nr,kt.pending_out+=nr,he.total_out+=nr,he.avail_out-=nr,kt.pending-=nr,kt.pending===0&&(kt.pending_out=0)}function Y(he,kt){E._tr_flush_block(he,he.block_start>=0?he.block_start:-1,he.strstart-he.block_start,kt),he.block_start=he.strstart,z(he.strm)}function pe(he,kt){he.pending_buf[he.pending++]=kt}function se(he,kt){he.pending_buf[he.pending++]=kt>>>8&255,he.pending_buf[he.pending++]=kt&255}function Te(he,kt,nr,lt){var Xt=he.avail_in;return Xt>lt&&(Xt=lt),Xt===0?0:(he.avail_in-=Xt,m.arraySet(kt,he.input,he.next_in,Xt,nr),he.state.wrap===1?he.adler=(0,p.default)(he.adler,kt,Xt,nr):he.state.wrap===2&&(he.adler=(0,v.default)(he.adler,kt,Xt,nr)),he.next_in+=Xt,he.total_in+=Xt,Xt)}function Se(he,kt){var nr=he.max_chain_length,lt=he.strstart,Xt,hr,Wr=he.prev_length,mt=he.nice_match,Et=he.strstart>he.w_size-G?he.strstart-(he.w_size-G):0,rt=he.window,He=he.w_mask,ze=he.prev,Rt=he.strstart+U,sr=rt[lt+Wr-1],Jt=rt[lt+Wr];he.prev_length>=he.good_match&&(nr>>=2),mt>he.lookahead&&(mt=he.lookahead);do{if(Xt=kt,rt[Xt+Wr]!==Jt||rt[Xt+Wr-1]!==sr||rt[Xt]!==rt[lt]||rt[++Xt]!==rt[lt+1])continue;lt+=2,Xt++;do;while(rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&rt[++lt]===rt[++Xt]&&lt<Rt);if(hr=U-(Rt-lt),lt=Rt-U,hr>Wr){if(he.match_start=kt,Wr=hr,hr>=mt)break;sr=rt[lt+Wr-1],Jt=rt[lt+Wr]}}while((kt=ze[kt&He])>Et&&--nr!==0);return Wr<=he.lookahead?Wr:he.lookahead}function ie(he){var kt=he.w_size,nr,lt,Xt,hr,Wr;do{if(hr=he.window_size-he.lookahead-he.strstart,he.strstart>=kt+(kt-G)){m.arraySet(he.window,he.window,kt,kt,0),he.match_start-=kt,he.strstart-=kt,he.block_start-=kt,lt=he.hash_size,nr=lt;do Xt=he.head[--nr],he.head[nr]=Xt>=kt?Xt-kt:0;while(--lt);lt=kt,nr=lt;do Xt=he.prev[--nr],he.prev[nr]=Xt>=kt?Xt-kt:0;while(--lt);hr+=kt}if(he.strm.avail_in===0)break;if(lt=Te(he.strm,he.window,he.strstart+he.lookahead,hr),he.lookahead+=lt,he.lookahead+he.insert>=K)for(Wr=he.strstart-he.insert,he.ins_h=he.window[Wr],he.ins_h=(he.ins_h<<he.hash_shift^he.window[Wr+1])&he.hash_mask;he.insert&&!(he.ins_h=(he.ins_h<<he.hash_shift^he.window[Wr+K-1])&he.hash_mask,he.prev[Wr&he.w_mask]=he.head[he.ins_h],he.head[he.ins_h]=Wr,Wr++,he.insert--,he.lookahead+he.insert<K););}while(he.lookahead<G&&he.strm.avail_in!==0)}function de(he,kt){var nr=65535;for(nr>he.pending_buf_size-5&&(nr=he.pending_buf_size-5);;){if(he.lookahead<=1){if(ie(he),he.lookahead===0&&kt===t)return Fe;if(he.lookahead===0)break}he.strstart+=he.lookahead,he.lookahead=0;var lt=he.block_start+nr;if((he.strstart===0||he.strstart>=lt)&&(he.lookahead=he.strstart-lt,he.strstart=lt,Y(he,!1),he.strm.avail_out===0))return Fe;if(he.strstart-he.block_start>=he.w_size-G&&(Y(he,!1),he.strm.avail_out===0))return Fe}return he.insert=0,kt===r?(Y(he,!0),he.strm.avail_out===0?Ne:Q):(he.strstart>he.block_start&&(Y(he,!1),he.strm.avail_out===0),Fe)}function _e(he,kt){for(var nr,lt;;){if(he.lookahead<G){if(ie(he),he.lookahead<G&&kt===t)return Fe;if(he.lookahead===0)break}if(nr=0,he.lookahead>=K&&(he.ins_h=(he.ins_h<<he.hash_shift^he.window[he.strstart+K-1])&he.hash_mask,nr=he.prev[he.strstart&he.w_mask]=he.head[he.ins_h],he.head[he.ins_h]=he.strstart),nr!==0&&he.strstart-nr<=he.w_size-G&&(he.match_length=Se(he,nr)),he.match_length>=K)if(lt=E._tr_tally(he,he.strstart-he.match_start,he.match_length-K),he.lookahead-=he.match_length,he.match_length<=he.max_lazy_match&&he.lookahead>=K){he.match_length--;do he.strstart++,he.ins_h=(he.ins_h<<he.hash_shift^he.window[he.strstart+K-1])&he.hash_mask,nr=he.prev[he.strstart&he.w_mask]=he.head[he.ins_h],he.head[he.ins_h]=he.strstart;while(--he.match_length!==0);he.strstart++}else he.strstart+=he.match_length,he.match_length=0,he.ins_h=he.window[he.strstart],he.ins_h=(he.ins_h<<he.hash_shift^he.window[he.strstart+1])&he.hash_mask;else lt=E._tr_tally(he,0,he.window[he.strstart]),he.lookahead--,he.strstart++;if(lt&&(Y(he,!1),he.strm.avail_out===0))return Fe}return he.insert=he.strstart<K-1?he.strstart:K-1,kt===r?(Y(he,!0),he.strm.avail_out===0?Ne:Q):he.last_lit&&(Y(he,!1),he.strm.avail_out===0)?Fe:fe}function We(he,kt){for(var nr,lt,Xt;;){if(he.lookahead<G){if(ie(he),he.lookahead<G&&kt===t)return Fe;if(he.lookahead===0)break}if(nr=0,he.lookahead>=K&&(he.ins_h=(he.ins_h<<he.hash_shift^he.window[he.strstart+K-1])&he.hash_mask,nr=he.prev[he.strstart&he.w_mask]=he.head[he.ins_h],he.head[he.ins_h]=he.strstart),he.prev_length=he.match_length,he.prev_match=he.match_start,he.match_length=K-1,nr!==0&&he.prev_length<he.max_lazy_match&&he.strstart-nr<=he.w_size-G&&(he.match_length=Se(he,nr),he.match_length<=5&&(he.strategy===w||he.match_length===K&&he.strstart-he.match_start>4096)&&(he.match_length=K-1)),he.prev_length>=K&&he.match_length<=he.prev_length){Xt=he.strstart+he.lookahead-K,lt=E._tr_tally(he,he.strstart-1-he.prev_match,he.prev_length-K),he.lookahead-=he.prev_length-1,he.prev_length-=2;do++he.strstart<=Xt&&(he.ins_h=(he.ins_h<<he.hash_shift^he.window[he.strstart+K-1])&he.hash_mask,nr=he.prev[he.strstart&he.w_mask]=he.head[he.ins_h],he.head[he.ins_h]=he.strstart);while(--he.prev_length!==0);if(he.match_available=0,he.match_length=K-1,he.strstart++,lt&&(Y(he,!1),he.strm.avail_out===0))return Fe}else if(he.match_available){if(lt=E._tr_tally(he,0,he.window[he.strstart-1]),lt&&Y(he,!1),he.strstart++,he.lookahead--,he.strm.avail_out===0)return Fe}else he.match_available=1,he.strstart++,he.lookahead--}return he.match_available&&(lt=E._tr_tally(he,0,he.window[he.strstart-1]),he.match_available=0),he.insert=he.strstart<K-1?he.strstart:K-1,kt===r?(Y(he,!0),he.strm.avail_out===0?Ne:Q):he.last_lit&&(Y(he,!1),he.strm.avail_out===0)?Fe:fe}function at(he,kt){for(var nr,lt,Xt,hr,Wr=he.window;;){if(he.lookahead<=U){if(ie(he),he.lookahead<=U&&kt===t)return Fe;if(he.lookahead===0)break}if(he.match_length=0,he.lookahead>=K&&he.strstart>0&&(Xt=he.strstart-1,lt=Wr[Xt],lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt])){hr=he.strstart+U;do;while(lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&lt===Wr[++Xt]&&Xt<hr);he.match_length=U-(hr-Xt),he.match_length>he.lookahead&&(he.match_length=he.lookahead)}if(he.match_length>=K?(nr=E._tr_tally(he,1,he.match_length-K),he.lookahead-=he.match_length,he.strstart+=he.match_length,he.match_length=0):(nr=E._tr_tally(he,0,he.window[he.strstart]),he.lookahead--,he.strstart++),nr&&(Y(he,!1),he.strm.avail_out===0))return Fe}return he.insert=0,kt===r?(Y(he,!0),he.strm.avail_out===0?Ne:Q):he.last_lit&&(Y(he,!1),he.strm.avail_out===0)?Fe:fe}function tt(he,kt){for(var nr;;){if(he.lookahead===0&&(ie(he),he.lookahead===0)){if(kt===t)return Fe;break}if(he.match_length=0,nr=E._tr_tally(he,0,he.window[he.strstart]),he.lookahead--,he.strstart++,nr&&(Y(he,!1),he.strm.avail_out===0))return Fe}return he.insert=0,kt===r?(Y(he,!0),he.strm.avail_out===0?Ne:Q):he.last_lit&&(Y(he,!1),he.strm.avail_out===0)?Fe:fe}function Oe(he,kt,nr,lt,Xt){this.good_length=he,this.max_lazy=kt,this.nice_length=nr,this.max_chain=lt,this.func=Xt}var yt;yt=[new Oe(0,0,0,0,de),new Oe(4,4,8,4,_e),new Oe(4,5,16,8,_e),new Oe(4,6,32,32,_e),new Oe(4,4,16,16,We),new Oe(8,16,32,32,We),new Oe(8,16,128,128,We),new Oe(8,32,128,256,We),new Oe(32,128,258,1024,We),new Oe(32,258,258,4096,We)];function Ye(he){he.window_size=2*he.w_size,X(he.head),he.max_lazy_match=yt[he.level].max_lazy,he.good_match=yt[he.level].good_length,he.nice_match=yt[he.level].nice_length,he.max_chain_length=yt[he.level].max_chain,he.strstart=0,he.block_start=0,he.lookahead=0,he.insert=0,he.match_length=he.prev_length=K-1,he.match_available=0,he.ins_h=0}function bt(){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 m.Buf16(H*2),this.dyn_dtree=new m.Buf16((2*V+1)*2),this.bl_tree=new m.Buf16((2*D+1)*2),X(this.dyn_ltree),X(this.dyn_dtree),X(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new m.Buf16(P+1),this.heap=new m.Buf16(2*j+1),X(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new m.Buf16(2*j+1),X(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 Ct(he){var kt;return!he||!he.state?Ue(he,u):(he.total_in=he.total_out=0,he.data_type=x,kt=he.state,kt.pending=0,kt.pending_out=0,kt.wrap<0&&(kt.wrap=-kt.wrap),kt.status=kt.wrap?Z:be,he.adler=kt.wrap===2?0:1,kt.last_flush=t,E._tr_init(kt),e)}function It(he){var kt=Ct(he);return kt===e&&Ye(he.state),kt}function Ft(he,kt){return!he||!he.state||he.state.wrap!==2?u:(he.state.gzhead=kt,e)}function Vt(he,kt,nr,lt,Xt,hr){if(!he)return u;var Wr=1;if(kt===A&&(kt=6),lt<0?(Wr=0,lt=-lt):lt>15&&(Wr=2,lt-=16),Xt<1||Xt>I||nr!==C||lt<8||lt>15||kt<0||kt>9||hr<0||hr>_)return Ue(he,u);lt===8&&(lt=9);var mt=new bt;return he.state=mt,mt.strm=he,mt.wrap=Wr,mt.gzhead=null,mt.w_bits=lt,mt.w_size=1<<mt.w_bits,mt.w_mask=mt.w_size-1,mt.hash_bits=Xt+7,mt.hash_size=1<<mt.hash_bits,mt.hash_mask=mt.hash_size-1,mt.hash_shift=~~((mt.hash_bits+K-1)/K),mt.window=new m.Buf8(mt.w_size*2),mt.head=new m.Buf16(mt.hash_size),mt.prev=new m.Buf16(mt.w_size),mt.lit_bufsize=1<<Xt+6,mt.pending_buf_size=mt.lit_bufsize*4,mt.pending_buf=new m.Buf8(mt.pending_buf_size),mt.d_buf=1*mt.lit_bufsize,mt.l_buf=(1+2)*mt.lit_bufsize,mt.level=kt,mt.strategy=hr,mt.method=nr,It(he)}function $e(he,kt){return Vt(he,kt,C,L,M,T)}function ge(he,kt){var nr,lt,Xt,hr;if(!he||!he.state||kt>c||kt<0)return he?Ue(he,u):u;if(lt=he.state,!he.output||!he.input&&he.avail_in!==0||lt.status===Ce&&kt!==r)return Ue(he,he.avail_out===0?g:u);if(lt.strm=he,nr=lt.last_flush,lt.last_flush=kt,lt.status===Z)if(lt.wrap===2)he.adler=0,pe(lt,31),pe(lt,139),pe(lt,8),lt.gzhead?(pe(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)),pe(lt,lt.gzhead.time&255),pe(lt,lt.gzhead.time>>8&255),pe(lt,lt.gzhead.time>>16&255),pe(lt,lt.gzhead.time>>24&255),pe(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),pe(lt,lt.gzhead.os&255),lt.gzhead.extra&&lt.gzhead.extra.length&&(pe(lt,lt.gzhead.extra.length&255),pe(lt,lt.gzhead.extra.length>>8&255)),lt.gzhead.hcrc&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending,0)),lt.gzindex=0,lt.status=J):(pe(lt,0),pe(lt,0),pe(lt,0),pe(lt,0),pe(lt,0),pe(lt,lt.level===9?2:lt.strategy>=b||lt.level<2?4:0),pe(lt,ae),lt.status=be);else{var Wr=C+(lt.w_bits-8<<4)<<8,mt=-1;lt.strategy>=b||lt.level<2?mt=0:lt.level<6?mt=1:lt.level===6?mt=2:mt=3,Wr|=mt<<6,lt.strstart!==0&&(Wr|=W),Wr+=31-Wr%31,lt.status=be,se(lt,Wr),lt.strstart!==0&&(se(lt,he.adler>>>16),se(lt,he.adler&65535)),he.adler=1}if(lt.status===J)if(lt.gzhead.extra){for(Xt=lt.pending;lt.gzindex<(lt.gzhead.extra.length&65535)&&!(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),z(he),Xt=lt.pending,lt.pending===lt.pending_buf_size));)pe(lt,lt.gzhead.extra[lt.gzindex]&255),lt.gzindex++;lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),lt.gzindex===lt.gzhead.extra.length&&(lt.gzindex=0,lt.status=ve)}else lt.status=ve;if(lt.status===ve)if(lt.gzhead.name){Xt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),z(he),Xt=lt.pending,lt.pending===lt.pending_buf_size)){hr=1;break}lt.gzindex<lt.gzhead.name.length?hr=lt.gzhead.name.charCodeAt(lt.gzindex++)&255:hr=0,pe(lt,hr)}while(hr!==0);lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),hr===0&&(lt.gzindex=0,lt.status=q)}else lt.status=q;if(lt.status===q)if(lt.gzhead.comment){Xt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),z(he),Xt=lt.pending,lt.pending===lt.pending_buf_size)){hr=1;break}lt.gzindex<lt.gzhead.comment.length?hr=lt.gzhead.comment.charCodeAt(lt.gzindex++)&255:hr=0,pe(lt,hr)}while(hr!==0);lt.gzhead.hcrc&&lt.pending>Xt&&(he.adler=(0,v.default)(he.adler,lt.pending_buf,lt.pending-Xt,Xt)),hr===0&&(lt.status=ce)}else lt.status=ce;if(lt.status===ce&&(lt.gzhead.hcrc?(lt.pending+2>lt.pending_buf_size&&z(he),lt.pending+2<=lt.pending_buf_size&&(pe(lt,he.adler&255),pe(lt,he.adler>>8&255),he.adler=0,lt.status=be)):lt.status=be),lt.pending!==0){if(z(he),he.avail_out===0)return lt.last_flush=-1,e}else if(he.avail_in===0&&te(kt)<=te(nr)&&kt!==r)return Ue(he,g);if(lt.status===Ce&&he.avail_in!==0)return Ue(he,g);if(he.avail_in!==0||lt.lookahead!==0||kt!==t&&lt.status!==Ce){var Et=lt.strategy===b?tt(lt,kt):lt.strategy===S?at(lt,kt):yt[lt.level].func(lt,kt);if((Et===Ne||Et===Q)&&(lt.status=Ce),Et===Fe||Et===Ne)return he.avail_out===0&&(lt.last_flush=-1),e;if(Et===fe&&(kt===a?E._tr_align(lt):kt!==c&&(E._tr_stored_block(lt,0,0,!1),kt===o&&(X(lt.head),lt.lookahead===0&&(lt.strstart=0,lt.block_start=0,lt.insert=0))),z(he),he.avail_out===0))return lt.last_flush=-1,e}return kt!==r?e:lt.wrap<=0?s:(lt.wrap===2?(pe(lt,he.adler&255),pe(lt,he.adler>>8&255),pe(lt,he.adler>>16&255),pe(lt,he.adler>>24&255),pe(lt,he.total_in&255),pe(lt,he.total_in>>8&255),pe(lt,he.total_in>>16&255),pe(lt,he.total_in>>24&255)):(se(lt,he.adler>>>16),se(lt,he.adler&65535)),z(he),lt.wrap>0&&(lt.wrap=-lt.wrap),lt.pending!==0?e:s)}function ne(he){var kt;return!he||!he.state?u:(kt=he.state.status,kt!==Z&&kt!==J&&kt!==ve&&kt!==q&&kt!==ce&&kt!==be&&kt!==Ce?Ue(he,u):(he.state=null,kt===be?Ue(he,h):e))}function wt(he,kt){var nr=kt.length,lt,Xt,hr,Wr,mt,Et,rt,He;if(!he||!he.state)return u;if(lt=he.state,Wr=lt.wrap,Wr===2||Wr===1&&lt.status!==Z||lt.lookahead)return u;for(Wr===1&&(he.adler=(0,p.default)(he.adler,kt,nr,0)),lt.wrap=0,nr>=lt.w_size&&(Wr===0&&(X(lt.head),lt.strstart=0,lt.block_start=0,lt.insert=0),He=new m.Buf8(lt.w_size),m.arraySet(He,kt,nr-lt.w_size,lt.w_size,0),kt=He,nr=lt.w_size),mt=he.avail_in,Et=he.next_in,rt=he.input,he.avail_in=nr,he.next_in=0,he.input=kt,ie(lt);lt.lookahead>=K;){Xt=lt.strstart,hr=lt.lookahead-(K-1);do lt.ins_h=(lt.ins_h<<lt.hash_shift^lt.window[Xt+K-1])&lt.hash_mask,lt.prev[Xt&lt.w_mask]=lt.head[lt.ins_h],lt.head[lt.ins_h]=Xt,Xt++;while(--hr);lt.strstart=Xt,lt.lookahead=K-1,ie(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,he.next_in=Et,he.input=rt,he.avail_in=mt,lt.wrap=Wr,e}var qe="pako deflate (from Nodeca project)";N.deflateInfo=qe},lOQZ:function(B,N,i){var y=i("QBsz"),m=i("U/Mo"),E=m.getSymbolSize,p=m.getNodeGlobalScale,v=Math.PI,f=[];function d(n,t){var a=n.coordinateSystem;if(a&&a.type!=="view")return;var o=a.getBoundingRect(),r=n.getData(),c=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;l[t](n,a,c,r,u,e,s,h),c.eachEdge(function(g){var A=g.getModel().get("lineStyle.curveness")||0,w=y.clone(g.node1.getLayout()),b=y.clone(g.node2.getLayout()),S,_=(w[0]+b[0])/2,T=(w[1]+b[1])/2;+A&&(A*=3,S=[e*A+_*(1-A),s*A+T*(1-A)]),g.setLayout([w,b,S])})}var l={value:function(n,t,a,o,r,c,e,s){var u=0,h=o.getSum("value"),g=Math.PI*2/(h||s);a.eachNode(function(A){var w=A.getValue("value"),b=g*(h?w:1)/2;u+=b,A.setLayout([r*Math.cos(u)+c,r*Math.sin(u)+e]),u+=b})},symbolSize:function(n,t,a,o,r,c,e,s){var u=0;f.length=s;var h=p(n);a.eachNode(function(w){var b=E(w);isNaN(b)&&(b=2),b<0&&(b=0),b*=h;var S=Math.asin(b/2/r);isNaN(S)&&(S=v/2),f[w.dataIndex]=S,u+=S*2});var g=(2*v-u)/s/2,A=0;a.eachNode(function(w){var b=g+f[w.dataIndex];A+=b,w.setLayout([r*Math.cos(A)+c,r*Math.sin(A)+e]),A+=b})}};N.circularLayout=d},lUTK:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("x54q"),p=i.n(E),v=i("5Dmo")},lZu9:function(B,N,i){(function(y){y(i("VrN/"),i("1eCo"),i("8EBN"))})(function(y){"use strict";y.defineMode("markdown",function(m,E){var p=y.getMode(m,"text/html"),v=p.name=="null";function f(P){if(y.findModeByName){var K=y.findModeByName(P);K&&(P=K.mime||K.mimes[0])}var U=y.getMode(m,P);return U.name=="null"?null:U}E.highlightFormatting===void 0&&(E.highlightFormatting=!1),E.maxBlockquoteDepth===void 0&&(E.maxBlockquoteDepth=0),E.taskLists===void 0&&(E.taskLists=!1),E.strikethrough===void 0&&(E.strikethrough=!1),E.emoji===void 0&&(E.emoji=!1),E.fencedCodeBlockHighlighting===void 0&&(E.fencedCodeBlockHighlighting=!0),E.fencedCodeBlockDefaultMode===void 0&&(E.fencedCodeBlockDefaultMode="text/plain"),E.xml===void 0&&(E.xml=!0),E.tokenTypeOverrides===void 0&&(E.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 l in d)d.hasOwnProperty(l)&&E.tokenTypeOverrides[l]&&(d[l]=E.tokenTypeOverrides[l]);var n=/^([*\-_])(?:\s*\1){2,}\s*$/,t=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,a=/^\[(x| )\](?=\s)/i,o=E.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,c=/^[^#!\[\]*_\\<>` "'(~:]+/,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 g(P,K,U){return K.f=K.inline=U,U(P,K)}function A(P,K,U){return K.f=K.block=U,U(P,K)}function w(P){return!P||!/\S/.test(P.string)}function b(P){if(P.linkTitle=!1,P.linkHref=!1,P.linkText=!1,P.em=!1,P.strong=!1,P.strikethrough=!1,P.quote=0,P.indentedCode=!1,P.f==_){var K=v;if(!K){var U=y.innerMode(p,P.htmlState);K=U.mode.name=="xml"&&U.state.tagStart===null&&!U.state.context&&U.state.tokenize.isInText}K&&(P.f=I,P.block=S,P.htmlState=null)}return P.trailingSpace=0,P.trailingSpaceNewLine=!1,P.prevLine=P.thisLine,P.thisLine={stream:null},null}function S(P,K){var U=P.column()===K.indentation,G=w(K.prevLine.stream),W=K.indentedCode,Z=K.prevLine.hr,J=K.list!==!1,ve=(K.listStack[K.listStack.length-1]||0)+3;K.indentedCode=!1;var q=K.indentation;if(K.indentationDiff===null&&(K.indentationDiff=K.indentation,J)){for(K.list=null;q<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=q-K.listStack[K.listStack.length-1])}var ce=!G&&!Z&&!K.prevLine.header&&(!J||!W)&&!K.prevLine.fencedCodeEnd,be=(K.list===!1||Z||G)&&K.indentation<=ve&&P.match(n),Ce=null;if(K.indentationDiff>=4&&(W||K.prevLine.fencedCodeEnd||K.prevLine.header||G))return P.skipToEnd(),K.indentedCode=!0,d.code;if(P.eatSpace())return null;if(U&&K.indentation<=ve&&(Ce=P.match(o))&&Ce[1].length<=6)return K.quote=0,K.header=Ce[1].length,K.thisLine.header=!0,E.highlightFormatting&&(K.formatting="header"),K.f=K.inline,x(K);if(K.indentation<=ve&&P.eat(">"))return K.quote=U?1:K.quote+1,E.highlightFormatting&&(K.formatting="quote"),P.eatSpace(),x(K);if(!be&&!K.setext&&U&&K.indentation<=ve&&(Ce=P.match(t))){var Fe=Ce[1]?"ol":"ul";return K.indentation=q+P.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,E.taskLists&&P.match(a,!1)&&(K.taskList=!0),K.f=K.inline,E.highlightFormatting&&(K.formatting=["list","list-"+Fe]),x(K)}else{if(U&&K.indentation<=ve&&(Ce=P.match(e,!0)))return K.quote=0,K.fencedEndRE=new RegExp(Ce[1]+"+ *$"),K.localMode=E.fencedCodeBlockHighlighting&&f(Ce[2]||E.fencedCodeBlockDefaultMode),K.localMode&&(K.localState=y.startState(K.localMode)),K.f=K.block=T,E.highlightFormatting&&(K.formatting="code-block"),K.code=-1,x(K);if(K.setext||(!ce||!J)&&!K.quote&&K.list===!1&&!K.code&&!be&&!s.test(P.string)&&(Ce=P.lookAhead(1))&&(Ce=Ce.match(r)))return K.setext?(K.header=K.setext,K.setext=0,P.skipToEnd(),E.highlightFormatting&&(K.formatting="header")):(K.header=Ce[0].charAt(0)=="="?1:2,K.setext=K.header),K.thisLine.header=!0,K.f=K.inline,x(K);if(be)return P.skipToEnd(),K.hr=!0,K.thisLine.hr=!0,d.hr;if(P.peek()==="[")return g(P,K,j)}return g(P,K,K.inline)}function _(P,K){var U=p.token(P,K.htmlState);if(!v){var G=y.innerMode(p,K.htmlState);(G.mode.name=="xml"&&G.state.tagStart===null&&!G.state.context&&G.state.tokenize.isInText||K.md_inside&&P.current().indexOf(">")>-1)&&(K.f=I,K.block=S,K.htmlState=null)}return U}function T(P,K){var U=K.listStack[K.listStack.length-1]||0,G=K.indentation<U,W=U+3;if(K.fencedEndRE&&K.indentation<=W&&(G||P.match(K.fencedEndRE))){E.highlightFormatting&&(K.formatting="code-block");var Z;return G||(Z=x(K)),K.localMode=K.localState=null,K.block=S,K.f=I,K.fencedEndRE=null,K.code=0,K.thisLine.fencedCodeEnd=!0,G?A(P,K,K.block):Z}else return K.localMode?K.localMode.token(P,K.localState):(P.skipToEnd(),d.code)}function x(P){var K=[];if(P.formatting){K.push(d.formatting),typeof P.formatting=="string"&&(P.formatting=[P.formatting]);for(var U=0;U<P.formatting.length;U++)K.push(d.formatting+"-"+P.formatting[U]),P.formatting[U]==="header"&&K.push(d.formatting+"-"+P.formatting[U]+"-"+P.header),P.formatting[U]==="quote"&&(!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=P.quote?K.push(d.formatting+"-"+P.formatting[U]+"-"+P.quote):K.push("error"))}if(P.taskOpen)return K.push("meta"),K.length?K.join(" "):null;if(P.taskClosed)return K.push("property"),K.length?K.join(" "):null;if(P.linkHref?K.push(d.linkHref,"url"):(P.strong&&K.push(d.strong),P.em&&K.push(d.em),P.strikethrough&&K.push(d.strikethrough),P.emoji&&K.push(d.emoji),P.linkText&&K.push(d.linkText),P.code&&K.push(d.code),P.image&&K.push(d.image),P.imageAltText&&K.push(d.imageAltText,"link"),P.imageMarker&&K.push(d.imageMarker)),P.header&&K.push(d.header,d.header+"-"+P.header),P.quote&&(K.push(d.quote),!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=P.quote?K.push(d.quote+"-"+P.quote):K.push(d.quote+"-"+E.maxBlockquoteDepth)),P.list!==!1){var G=(P.listStack.length-1)%3;G?G===1?K.push(d.list2):K.push(d.list3):K.push(d.list1)}return P.trailingSpaceNewLine?K.push("trailing-space-new-line"):P.trailingSpace&&K.push("trailing-space-"+(P.trailingSpace%2?"a":"b")),K.length?K.join(" "):null}function C(P,K){return P.match(c,!0)?x(K):void 0}function I(P,K){var U=K.text(P,K);if(typeof U!="undefined")return U;if(K.list)return K.list=null,x(K);if(K.taskList){var G=P.match(a,!0)[1]===" ";return G?K.taskOpen=!0:K.taskClosed=!0,E.highlightFormatting&&(K.formatting="task"),K.taskList=!1,x(K)}if(K.taskOpen=!1,K.taskClosed=!1,K.header&&P.match(/^#+$/,!0))return E.highlightFormatting&&(K.formatting="header"),x(K);var W=P.next();if(K.linkTitle){K.linkTitle=!1;var Z=W;W==="("&&(Z=")"),Z=(Z+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var J="^\\s*(?:[^"+Z+"\\\\]+|\\\\\\\\|\\\\.)"+Z;if(P.match(new RegExp(J),!0))return d.linkHref}if(W==="`"){var ve=K.formatting;E.highlightFormatting&&(K.formatting="code"),P.eatWhile("`");var q=P.current().length;if(K.code==0&&(!K.quote||q==1))return K.code=q,x(K);if(q==K.code){var ce=x(K);return K.code=0,ce}else return K.formatting=ve,x(K)}else if(K.code)return x(K);if(W==="\\"&&(P.next(),E.highlightFormatting)){var be=x(K),Ce=d.formatting+"-escape";return be?be+" "+Ce:Ce}if(W==="!"&&P.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return K.imageMarker=!0,K.image=!0,E.highlightFormatting&&(K.formatting="image"),x(K);if(W==="["&&K.imageMarker&&P.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return K.imageMarker=!1,K.imageAltText=!0,E.highlightFormatting&&(K.formatting="image"),x(K);if(W==="]"&&K.imageAltText){E.highlightFormatting&&(K.formatting="image");var be=x(K);return K.imageAltText=!1,K.image=!1,K.inline=K.f=M,be}if(W==="["&&!K.image)return K.linkText&&P.match(/^.*?\]/)||(K.linkText=!0,E.highlightFormatting&&(K.formatting="link")),x(K);if(W==="]"&&K.linkText){E.highlightFormatting&&(K.formatting="link");var be=x(K);return K.linkText=!1,K.inline=K.f=P.match(/\(.*?\)| ?\[.*?\]/,!1)?M:I,be}if(W==="<"&&P.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,E.highlightFormatting&&(K.formatting="link");var be=x(K);return be?be+=" ":be="",be+d.linkInline}if(W==="<"&&P.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){K.f=K.inline=L,E.highlightFormatting&&(K.formatting="link");var be=x(K);return be?be+=" ":be="",be+d.linkEmail}if(E.xml&&W==="<"&&P.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fe=P.string.indexOf(">",P.pos);if(Fe!=-1){var fe=P.string.substring(P.start,Fe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(fe)&&(K.md_inside=!0)}return P.backUp(1),K.htmlState=y.startState(p),A(P,K,_)}if(E.xml&&W==="<"&&P.match(/^\/\w*?>/))return K.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var Ne=1,Q=P.pos==1?" ":P.string.charAt(P.pos-2);Ne<3&&P.eat(W);)Ne++;var ae=P.peek()||" ",Ue=!/\s/.test(ae)&&(!u.test(ae)||/\s/.test(Q)||u.test(Q)),te=!/\s/.test(Q)&&(!u.test(Q)||/\s/.test(ae)||u.test(ae)),X=null,z=null;if(Ne%2&&(!K.em&&Ue&&(W==="*"||!te||u.test(Q))?X=!0:K.em==W&&te&&(W==="*"||!Ue||u.test(ae))&&(X=!1)),Ne>1&&(!K.strong&&Ue&&(W==="*"||!te||u.test(Q))?z=!0:K.strong==W&&te&&(W==="*"||!Ue||u.test(ae))&&(z=!1)),z!=null||X!=null){E.highlightFormatting&&(K.formatting=X==null?"strong":z==null?"em":"strong em"),X===!0&&(K.em=W),z===!0&&(K.strong=W);var ce=x(K);return X===!1&&(K.em=!1),z===!1&&(K.strong=!1),ce}}else if(W===" "&&(P.eat("*")||P.eat("_"))){if(P.peek()===" ")return x(K);P.backUp(1)}if(E.strikethrough){if(W==="~"&&P.eatWhile(W)){if(K.strikethrough){E.highlightFormatting&&(K.formatting="strikethrough");var ce=x(K);return K.strikethrough=!1,ce}else if(P.match(/^[^\s]/,!1))return K.strikethrough=!0,E.highlightFormatting&&(K.formatting="strikethrough"),x(K)}else if(W===" "&&P.match(/^~~/,!0)){if(P.peek()===" ")return x(K);P.backUp(2)}}if(E.emoji&&W===":"&&P.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){K.emoji=!0,E.highlightFormatting&&(K.formatting="emoji");var Y=x(K);return K.emoji=!1,Y}return W===" "&&(P.match(/^ +$/,!1)?K.trailingSpace++:K.trailingSpace&&(K.trailingSpaceNewLine=!0)),x(K)}function L(P,K){var U=P.next();if(U===">"){K.f=K.inline=I,E.highlightFormatting&&(K.formatting="link");var G=x(K);return G?G+=" ":G="",G+d.linkInline}return P.match(/^[^>]+/,!0),d.linkInline}function M(P,K){if(P.eatSpace())return null;var U=P.next();return U==="("||U==="["?(K.f=K.inline=R(U==="("?")":"]"),E.highlightFormatting&&(K.formatting="link-string"),K.linkHref=!0,x(K)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function R(P){return function(K,U){var G=K.next();if(G===P){U.f=U.inline=I,E.highlightFormatting&&(U.formatting="link-string");var W=x(U);return U.linkHref=!1,W}return K.match(k[P]),U.linkHref=!0,x(U)}}function j(P,K){return P.match(/^([^\]\\]|\\.)*\]:/,!1)?(K.f=V,P.next(),E.highlightFormatting&&(K.formatting="link"),K.linkText=!0,x(K)):g(P,K,I)}function V(P,K){if(P.match(/^\]:/,!0)){K.f=K.inline=D,E.highlightFormatting&&(K.formatting="link");var U=x(K);return K.linkText=!1,U}return P.match(/^([^\]\\]|\\.)+/,!0),d.linkText}function D(P,K){return P.eatSpace()?null:(P.match(/^[^\s]+/,!0),P.peek()===void 0?K.linkTitle=!0:P.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),K.f=K.inline=I,d.linkHref+" url")}var H={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,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(p,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,U){if(U.formatting=!1,K!=U.thisLine.stream){if(U.header=0,U.hr=!1,K.match(/^\s*$/,!0))return b(U),null;if(U.prevLine=U.thisLine,U.thisLine={stream:K},U.taskList=!1,U.trailingSpace=0,U.trailingSpaceNewLine=!1,!U.localState&&(U.f=U.block,U.f!=_)){var G=K.match(/^\s*/,!0)[0].replace(/\t/g,h).length;if(U.indentation=G,U.indentationDiff=null,G>0)return null}}return U.f(K,U)},innerMode:function(K){return K.block==_?{state:K.htmlState,mode:p}:K.localState?{state:K.localState,mode:K.localMode}:{state:K,mode:H}},indent:function(K,U,G){return K.block==_&&p.indent?p.indent(K.htmlState,U,G):K.localState&&K.localMode.indent?K.localMode.indent(K.localState,U,G):y.Pass},blankLine:b,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return H},"xml"),y.defineMIME("text/markdown","markdown"),y.defineMIME("text/x-markdown","markdown")})},laiN:function(B,N,i){var y=i("ProS");i("GVMX"),i("MH26"),y.registerPreprocessor(function(m){m.markLine=m.markLine||{}})},lnY3:function(B,N,i){},loD1:function(B,N){function i(y,m,E,p,v,f,d){if(v===0)return!1;var l=v,n=0,t=y;if(d>m+l&&d>p+l||d<m-l&&d<p-l||f>y+l&&f>E+l||f<y-l&&f<E-l)return!1;if(y!==E)n=(m-p)/(y-E),t=(y*p-E*m)/(y-E);else return Math.abs(f-y)<=l/2;var a=n*f-d+t,o=a*a/(n*n+1);return o<=l/2*l/2}N.containStroke=i},lrIw:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("cDf5"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("q1tI"),l=i.n(d),n=i("Zm9Q"),t=i("TSYQ"),a=i.n(t),o=i("BGR+"),r=i("2fM7"),c=i("H84U"),e=i("uaoM"),s=i("0n0R"),u=r.a.Option,h=r.a;function g(b){return b&&b.type&&(b.type.isSelectOption||b.type.isSelectOptGroup)}var A=function(S,_){var T=S.prefixCls,x=S.className,C=S.children,I=S.dataSource,L=Object(n.a)(C),M=d.useRef();d.useImperativeHandle(_,function(){return M.current});var k;if(L.length===1&&Object(s.b)(L[0])&&!g(L[0])){var R=f()(L,1);k=R[0]}var j=function(){return k},V;return L.length&&g(L[0])?V=C:V=I?I.map(function(D){if(Object(s.b)(D))return D;switch(p()(D)){case"string":return d.createElement(u,{key:D,value:D},D);case"object":{var H=D.value;return d.createElement(u,{key:H,value:H},D.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],d.useEffect(function(){Object(e.a)(!("dataSource"in S),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!k||!("size"in S),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),d.createElement(c.a,null,function(D){var H=D.getPrefixCls,P=H("select",T);return d.createElement(h,m()({ref:M},Object(o.default)(S,["dataSource"]),{prefixCls:P,className:a()(x,"".concat(P,"-auto-complete")),mode:r.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:j}),V)})},w=d.forwardRef(A);w.Option=u,N.a=w},lwQL:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("9wZj"),p=i("c8qY"),v=i("SgGq"),f=i("Ae+d"),d=i("xSat"),l=d.onIrrelevantElement,n=i("IwbS"),t=i("SA8n"),a=i("U/Mo"),o=a.getNodeGlobalScale,r="__focusNodeAdjacency",c="__unfocusNodeAdjacency",e=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(w,b){var S=w.getVisual("opacity");return S!=null?S:w.getModel().get(b)}function h(w,b,S){var _=w.getGraphicEl(),T=u(w,b);S!=null&&(T==null&&(T=1),T*=S),_.downplay&&_.downplay(),_.traverse(function(x){if(!x.isGroup){var C=x.lineLabelOriginalOpacity;(C==null||S!=null)&&(C=T),x.setStyle("opacity",C)}})}function g(w,b){var S=u(w,b),_=w.getGraphicEl();_.traverse(function(T){!T.isGroup&&T.setStyle("opacity",S)}),_.highlight&&_.highlight()}var A=y.extendChartView({type:"graph",init:function(w,b){var S=new E,_=new p,T=this.group;this._controller=new v(b.getZr()),this._controllerHost={target:T},T.add(S.group),T.add(_.group),this._symbolDraw=S,this._lineDraw=_,this._firstRender=!0},render:function(w,b,S){var _=this,T=w.coordinateSystem;this._model=w;var x=this._symbolDraw,C=this._lineDraw,I=this.group;if(T.type==="view"){var L={position:T.position,scale:T.scale};this._firstRender?I.attr(L):n.updateProps(I,L,w)}t(w.getGraph(),o(w));var M=w.getData();x.updateData(M);var k=w.getEdgeData();C.updateData(k),this._updateNodeAndLinkScale(),this._updateController(w,b,S),clearTimeout(this._layoutTimeout);var R=w.forceLayout,j=w.get("force.layoutAnimation");R&&this._startForceLayoutIteration(R,j),M.eachItemGraphicEl(function(P,K){var U=M.getItemModel(K);P.off("drag").off("dragend");var G=U.get("draggable");G&&P.on("drag",function(){R&&(R.warmUp(),!this._layouting&&this._startForceLayoutIteration(R,j),R.setFixed(K),M.setItemLayout(K,P.position))},this).on("dragend",function(){R&&R.setUnfixed(K)},this),P.setDraggable(G&&R),P[r]&&P.off("mouseover",P[r]),P[c]&&P.off("mouseout",P[c]),U.get("focusNodeAdjacency")&&(P.on("mouseover",P[r]=function(){_._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,dataIndex:P.dataIndex})}),P.on("mouseout",P[c]=function(){_._dispatchUnfocus(S)}))},this),M.graph.eachEdge(function(P){var K=P.getGraphicEl();K[r]&&K.off("mouseover",K[r]),K[c]&&K.off("mouseout",K[c]),P.getModel().get("focusNodeAdjacency")&&(K.on("mouseover",K[r]=function(){_._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:w.id,edgeDataIndex:P.dataIndex})}),K.on("mouseout",K[c]=function(){_._dispatchUnfocus(S)}))});var V=w.get("layout")==="circular"&&w.get("circular.rotateLabel"),D=M.getLayout("cx"),H=M.getLayout("cy");M.eachItemGraphicEl(function(P,K){var U=M.getItemModel(K),G=U.get("label.rotate")||0,W=P.getSymbolPath();if(V){var Z=M.getItemLayout(K),J=Math.atan2(Z[1]-H,Z[0]-D);J<0&&(J=Math.PI*2+J);var ve=Z[0]<D;ve&&(J=J-Math.PI);var q=ve?"left":"right";n.modifyLabelStyle(W,{textRotation:-J,textPosition:q,textOrigin:"center"},{textPosition:q})}else n.modifyLabelStyle(W,{textRotation:G*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(w,b){var S=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){S._unfocusDelayTimer=null,w.dispatchAction({type:"unfocusNodeAdjacency",seriesId:S._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(w,b,S,_){var T=w.getData(),x=T.graph,C=_.dataIndex,I=_.edgeDataIndex,L=x.getNodeByIndex(C),M=x.getEdgeByIndex(I);if(!L&&!M)return;x.eachNode(function(k){h(k,e,.1)}),x.eachEdge(function(k){h(k,s,.1)}),L&&(g(L,e),m.each(L.edges,function(k){if(k.dataIndex<0)return;g(k,s),g(k.node1,e),g(k.node2,e)})),M&&(g(M,s),g(M.node1,e),g(M.node2,e))},unfocusNodeAdjacency:function(w,b,S,_){var T=w.getData().graph;T.eachNode(function(x){h(x,e)}),T.eachEdge(function(x){h(x,s)})},_startForceLayoutIteration:function(w,b){var S=this;(function _(){w.step(function(T){S.updateLayout(S._model),(S._layouting=!T)&&(b?S._layoutTimeout=setTimeout(_,16):_())})})()},_updateController:function(w,b,S){var _=this._controller,T=this._controllerHost,x=this.group;if(_.setPointerChecker(function(C,I,L){var M=x.getBoundingRect();return M.applyTransform(x.transform),M.contain(I,L)&&!l(C,S,w)}),w.coordinateSystem.type!=="view"){_.disable();return}_.enable(w.get("roam")),T.zoomLimit=w.get("scaleLimit"),T.zoom=w.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(C){f.updateViewOnPan(T,C.dx,C.dy),S.dispatchAction({seriesId:w.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){f.updateViewOnZoom(T,C.scale,C.originX,C.originY),S.dispatchAction({seriesId:w.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),t(w.getGraph(),o(w)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var w=this._model,b=w.getData(),S=o(w),_=[S,S];b.eachItemGraphicEl(function(T,x){T.attr("scale",_)})},updateLayout:function(w){t(w.getGraph(),o(w)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(w,b){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});B.exports=A},m9t5:function(B,N,i){var y=i("KCsZ"),m=y([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),E={getAreaStyle:function(p,v){return m(this,p,v)}};B.exports=E},mFDi:function(B,N,i){var y=i("QBsz"),m=i("Fofx"),E=y.applyTransform,p=Math.min,v=Math.max;function f(l,n,t,a){t<0&&(l=l+t,t=-t),a<0&&(n=n+a,a=-a),this.x=l,this.y=n,this.width=t,this.height=a}f.prototype={constructor:f,union:function(n){var t=p(n.x,this.x),a=p(n.y,this.y);this.width=v(n.x+n.width,this.x+this.width)-t,this.height=v(n.y+n.height,this.y+this.height)-a,this.x=t,this.y=a},applyTransform:function(){var l=[],n=[],t=[],a=[];return function(o){if(!o)return;l[0]=t[0]=this.x,l[1]=a[1]=this.y,n[0]=a[0]=this.x+this.width,n[1]=t[1]=this.y+this.height,E(l,l,o),E(n,n,o),E(t,t,o),E(a,a,o),this.x=p(l[0],n[0],t[0],a[0]),this.y=p(l[1],n[1],t[1],a[1]);var r=v(l[0],n[0],t[0],a[0]),c=v(l[1],n[1],t[1],a[1]);this.width=r-this.x,this.height=c-this.y}}(),calculateTransform:function(n){var t=this,a=n.width/t.width,o=n.height/t.height,r=m.create();return m.translate(r,r,[-t.x,-t.y]),m.scale(r,r,[a,o]),m.translate(r,r,[n.x,n.y]),r},intersect:function(n){if(!n)return!1;n instanceof f||(n=f.create(n));var t=this,a=t.x,o=t.x+t.width,r=t.y,c=t.y+t.height,e=n.x,s=n.x+n.width,u=n.y,h=n.y+n.height;return!(o<e||s<a||c<u||h<r)},contain:function(n,t){var a=this;return n>=a.x&&n<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(n){this.x=n.x,this.y=n.y,this.width=n.width,this.height=n.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(l){return new f(l.x,l.y,l.width,l.height)};var d=f;B.exports=d},mHUz:function(B,N,i){"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(B,N){var i=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(y){setTimeout(y,16)};B.exports=i},"mO/d":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("I9Y+"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},mOdp:function(B,N,i){var y=i("bYtY"),m=y.createHashMap;function E(p){return{getTargetSeries:function(v){var f={},d=m();return v.eachSeriesByType(p,function(l){l.__paletteScope=f,d.set(l.uid,l)}),d},reset:function(v,f){var d=v.getRawData(),l={},n=v.getData();n.each(function(t){var a=n.getRawIndex(t);l[a]=t}),d.each(function(t){var a=l[t],o=a!=null&&n.getItemVisual(a,"color",!0),r=a!=null&&n.getItemVisual(a,"borderColor",!0),c;if((!o||!r)&&(c=d.getItemModel(t)),!o){var e=c.get("itemStyle.color")||v.getColorFromPalette(d.getName(t)||t+"",v.__paletteScope,d.count());a!=null&&n.setItemVisual(a,"color",e)}if(!r){var s=c.get("itemStyle.borderColor");a!=null&&n.setItemVisual(a,"borderColor",s)}})}}}B.exports=E},mTgk:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("mHUz"));function m(l){return l&&l.__esModule?l:{default:l}}var E={};function p(l,n){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,n,n]}function v(l,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,t,n]}function f(l,n,t){if(n===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(t===void 0)throw new Error('Undefined keysym for key "'+l+'"');if(l in E)throw new Error('Duplicate entry for key "'+l+'"');E[l]=[n,n,n,t]}v("Alt",y.default.XK_Alt_L,y.default.XK_Alt_R),p("AltGraph",y.default.XK_ISO_Level3_Shift),p("CapsLock",y.default.XK_Caps_Lock),v("Control",y.default.XK_Control_L,y.default.XK_Control_R),v("Meta",y.default.XK_Super_L,y.default.XK_Super_R),p("NumLock",y.default.XK_Num_Lock),p("ScrollLock",y.default.XK_Scroll_Lock),v("Shift",y.default.XK_Shift_L,y.default.XK_Shift_R),f("Enter",y.default.XK_Return,y.default.XK_KP_Enter),p("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),p("Backspace",y.default.XK_BackSpace),f("Clear",y.default.XK_Clear,y.default.XK_KP_Begin),p("Copy",y.default.XF86XK_Copy),p("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),p("Paste",y.default.XF86XK_Paste),p("Redo",y.default.XK_Redo),p("Undo",y.default.XK_Undo),p("Cancel",y.default.XK_Cancel),p("ContextMenu",y.default.XK_Menu),p("Escape",y.default.XK_Escape),p("Execute",y.default.XK_Execute),p("Find",y.default.XK_Find),p("Help",y.default.XK_Help),p("Pause",y.default.XK_Pause),p("Select",y.default.XK_Select),p("ZoomIn",y.default.XF86XK_ZoomIn),p("ZoomOut",y.default.XF86XK_ZoomOut),p("BrightnessDown",y.default.XF86XK_MonBrightnessDown),p("BrightnessUp",y.default.XF86XK_MonBrightnessUp),p("Eject",y.default.XF86XK_Eject),p("LogOff",y.default.XF86XK_LogOff),p("Power",y.default.XF86XK_PowerOff),p("PowerOff",y.default.XF86XK_PowerDown),p("PrintScreen",y.default.XK_Print),p("Hibernate",y.default.XF86XK_Hibernate),p("Standby",y.default.XF86XK_Standby),p("WakeUp",y.default.XF86XK_WakeUp),p("AllCandidates",y.default.XK_MultipleCandidate),p("Alphanumeric",y.default.XK_Eisu_Shift),p("CodeInput",y.default.XK_Codeinput),p("Compose",y.default.XK_Multi_key),p("Convert",y.default.XK_Henkan),p("GroupFirst",y.default.XK_ISO_First_Group),p("GroupLast",y.default.XK_ISO_Last_Group),p("GroupNext",y.default.XK_ISO_Next_Group),p("GroupPrevious",y.default.XK_ISO_Prev_Group),p("NonConvert",y.default.XK_Muhenkan),p("PreviousCandidate",y.default.XK_PreviousCandidate),p("SingleCandidate",y.default.XK_SingleCandidate),p("HangulMode",y.default.XK_Hangul),p("HanjaMode",y.default.XK_Hangul_Hanja),p("JunjuaMode",y.default.XK_Hangul_Jeonja),p("Eisu",y.default.XK_Eisu_toggle),p("Hankaku",y.default.XK_Hankaku),p("Hiragana",y.default.XK_Hiragana),p("HiraganaKatakana",y.default.XK_Hiragana_Katakana),p("KanaMode",y.default.XK_Kana_Shift),p("KanjiMode",y.default.XK_Kanji),p("Katakana",y.default.XK_Katakana),p("Romaji",y.default.XK_Romaji),p("Zenkaku",y.default.XK_Zenkaku),p("ZenkakuHanaku",y.default.XK_Zenkaku_Hankaku),p("F1",y.default.XK_F1),p("F2",y.default.XK_F2),p("F3",y.default.XK_F3),p("F4",y.default.XK_F4),p("F5",y.default.XK_F5),p("F6",y.default.XK_F6),p("F7",y.default.XK_F7),p("F8",y.default.XK_F8),p("F9",y.default.XK_F9),p("F10",y.default.XK_F10),p("F11",y.default.XK_F11),p("F12",y.default.XK_F12),p("F13",y.default.XK_F13),p("F14",y.default.XK_F14),p("F15",y.default.XK_F15),p("F16",y.default.XK_F16),p("F17",y.default.XK_F17),p("F18",y.default.XK_F18),p("F19",y.default.XK_F19),p("F20",y.default.XK_F20),p("F21",y.default.XK_F21),p("F22",y.default.XK_F22),p("F23",y.default.XK_F23),p("F24",y.default.XK_F24),p("F25",y.default.XK_F25),p("F26",y.default.XK_F26),p("F27",y.default.XK_F27),p("F28",y.default.XK_F28),p("F29",y.default.XK_F29),p("F30",y.default.XK_F30),p("F31",y.default.XK_F31),p("F32",y.default.XK_F32),p("F33",y.default.XK_F33),p("F34",y.default.XK_F34),p("F35",y.default.XK_F35),p("Close",y.default.XF86XK_Close),p("MailForward",y.default.XF86XK_MailForward),p("MailReply",y.default.XF86XK_Reply),p("MailSend",y.default.XF86XK_Send),p("MediaFastForward",y.default.XF86XK_AudioForward),p("MediaPause",y.default.XF86XK_AudioPause),p("MediaPlay",y.default.XF86XK_AudioPlay),p("MediaRecord",y.default.XF86XK_AudioRecord),p("MediaRewind",y.default.XF86XK_AudioRewind),p("MediaStop",y.default.XF86XK_AudioStop),p("MediaTrackNext",y.default.XF86XK_AudioNext),p("MediaTrackPrevious",y.default.XF86XK_AudioPrev),p("New",y.default.XF86XK_New),p("Open",y.default.XF86XK_Open),p("Print",y.default.XK_Print),p("Save",y.default.XF86XK_Save),p("SpellCheck",y.default.XF86XK_Spell),p("AudioVolumeDown",y.default.XF86XK_AudioLowerVolume),p("AudioVolumeUp",y.default.XF86XK_AudioRaiseVolume),p("AudioVolumeMute",y.default.XF86XK_AudioMute),p("MicrophoneVolumeMute",y.default.XF86XK_AudioMicMute),p("LaunchApplication1",y.default.XF86XK_MyComputer),p("LaunchApplication2",y.default.XF86XK_Calculator),p("LaunchCalendar",y.default.XF86XK_Calendar),p("LaunchMail",y.default.XF86XK_Mail),p("LaunchMediaPlayer",y.default.XF86XK_AudioMedia),p("LaunchMusicPlayer",y.default.XF86XK_Music),p("LaunchPhone",y.default.XF86XK_Phone),p("LaunchScreenSaver",y.default.XF86XK_ScreenSaver),p("LaunchSpreadsheet",y.default.XF86XK_Excel),p("LaunchWebBrowser",y.default.XF86XK_WWW),p("LaunchWebCam",y.default.XF86XK_WebCam),p("LaunchWordProcessor",y.default.XF86XK_Word),p("BrowserBack",y.default.XF86XK_Back),p("BrowserFavorites",y.default.XF86XK_Favorites),p("BrowserForward",y.default.XF86XK_Forward),p("BrowserHome",y.default.XF86XK_HomePage),p("BrowserRefresh",y.default.XF86XK_Refresh),p("BrowserSearch",y.default.XF86XK_Search),p("BrowserStop",y.default.XF86XK_Stop),p("Dimmer",y.default.XF86XK_BrightnessAdjust),p("MediaAudioTrack",y.default.XF86XK_AudioCycleTrack),p("RandomToggle",y.default.XF86XK_AudioRandomPlay),p("SplitScreenToggle",y.default.XF86XK_SplitScreen),p("Subtitle",y.default.XF86XK_Subtitle),p("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=E;N.default=d},mYwL:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("6GrX"),p=Math.PI;function v(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 l=new m.Group,n=new m.Rect({style:{fill:d.maskColor},zlevel:d.zlevel,z:1e4});l.add(n);var t=d.fontSize+" sans-serif",a=new m.Rect({style:{fill:"none",text:d.text,font:t,textPosition:"right",textDistance:10,textFill:d.textColor},zlevel:d.zlevel,z:10001});if(l.add(a),d.showSpinner){var o=new m.Arc({shape:{startAngle:-p/2,endAngle:-p/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:p*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),l.add(o)}return l.resize=function(){var r=E.getWidth(d.text,t),c=d.showSpinner?d.spinnerRadius:0,e=(f.getWidth()-c*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}),a.setShape({x:e-c,y:s-c,width:c*2,height:c*2}),n.setShape({x:0,y:0,width:f.getWidth(),height:f.getHeight()})},l.resize(),l}B.exports=v},mdZa:function(B,N,i){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(m,E){"use strict";if(m==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(m),v=1;v<arguments.length;v++){var f=arguments[v];if(f!=null)for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(p[d]=f[d])}return p},writable:!0,configurable:!0}),function(){function y(m,E){E=E||{bubbles:!1,cancelable:!1,detail:void 0};var p=document.createEvent("CustomEvent");return p.initCustomEvent(m,E.bubbles,E.cancelable,E.detail),p}y.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=y)}(),Number.isInteger=Number.isInteger||function(m){return typeof m=="number"&&isFinite(m)&&Math.floor(m)===m}},mr32:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("q1tI"),l=i("TSYQ"),n=i.n(l),t=i("BGR+"),a=i("V/uB"),o=i.n(a),r=i("H84U"),c=function(T,x){var C={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&x.indexOf(I)<0&&(C[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(T);L<I.length;L++)x.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(T,I[L])&&(C[I[L]]=T[I[L]]);return C},e=function(x){var C,I=d.useContext(r.b),L=I.getPrefixCls,M=function(K){var U=x.checked,G=x.onChange,W=x.onClick;G&&G(!U),W&&W(K)},k=x.prefixCls,R=x.className,j=x.checked,V=c(x,["prefixCls","className","checked"]),D=L("tag",k),H=n()(D,(C={},m()(C,"".concat(D,"-checkable"),!0),m()(C,"".concat(D,"-checkable-checked"),j),C),R);return delete V.onChange,d.createElement("span",p()({},V,{className:H,onClick:M}))},s=e,u=i("09Wf"),h=i("g0mS"),g=function(T,x){var C={};for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&x.indexOf(I)<0&&(C[I]=T[I]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(T);L<I.length;L++)x.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(T,I[L])&&(C[I[L]]=T[I[L]]);return C},A=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),w=new RegExp("^(".concat(u.b.join("|"),")$")),b=function(x,C){var I,L=x.prefixCls,M=x.className,k=x.style,R=x.children,j=x.icon,V=x.color,D=x.onClose,H=x.closeIcon,P=x.closable,K=P===void 0?!1:P,U=g(x,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),G=d.useContext(r.b),W=G.getPrefixCls,Z=G.direction,J=d.useState(!0),ve=f()(J,2),q=ve[0],ce=ve[1];d.useEffect(function(){"visible"in U&&ce(U.visible)},[U.visible]);var be=function(){return V?A.test(V)||w.test(V):!1},Ce=p()({backgroundColor:V&&!be()?V:void 0},k),Fe=be(),fe=W("tag",L),Ne=n()(fe,(I={},m()(I,"".concat(fe,"-").concat(V),Fe),m()(I,"".concat(fe,"-has-color"),V&&!Fe),m()(I,"".concat(fe,"-hidden"),!q),m()(I,"".concat(fe,"-rtl"),Z==="rtl"),I),M),Q=function(se){if(se.stopPropagation(),D&&D(se),se.defaultPrevented)return;"visible"in U||ce(!1)},ae=function(){return K?H?d.createElement("div",{className:"".concat(fe,"-close-icon"),onClick:Q},H):d.createElement(o.a,{className:"".concat(fe,"-close-icon"),onClick:Q}):null},Ue="onClick"in U||R&&R.type==="a",te=Object(t.default)(U,["visible"]),X=j||null,z=X?d.createElement(d.Fragment,null,X,d.createElement("span",null,R)):R,Y=d.createElement("span",p()({},te,{ref:C,className:Ne,style:Ce}),z,ae());return Ue?d.createElement(h.a,null,Y):Y},S=d.forwardRef(b);S.displayName="Tag",S.CheckableTag=s;var _=N.a=S},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(B){if(!0)module.exports=B();else var N})(function(){var define,module,exports;return function(){function B(N,i,y){function m(v,f){if(!i[v]){if(!N[v]){var d=typeof require=="function"&&require;if(!f&&d)return require(v,!0);if(E)return E(v,!0);var l=new Error("Cannot find module '"+v+"'");throw l.code="MODULE_NOT_FOUND",l}var n=i[v]={exports:{}};N[v][0].call(n.exports,function(t){var a=N[v][1][t];return m(a||t)},n,n.exports,B,N,i,y)}return i[v].exports}for(var E=typeof require=="function"&&require,p=0;p<y.length;p++)m(y[p]);return m}return B}()({1:[function(B,N,i){"use strict";var y=B("./browser/client");y.Buffer=B("buffer").Buffer,y.urllib=B("../shims/xhr"),y.version=B("./browser/version").version,N.exports=y},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(B,N,i){(function(y,m){"use strict";var E=B("babel-runtime/core-js/promise"),p=n(E),v=B("babel-runtime/regenerator"),f=n(v),d=B("babel-runtime/core-js/object/assign"),l=n(d);function n(j){return j&&j.__esModule?j:{default:j}}var t=B("debug")("ali-oss"),a=B("copy-to"),o=B("xml2js"),r=B("agentkeepalive"),c=B("merge-descriptors"),e=B("url"),s=B("is-type-of"),u=B("platform"),h=B("utility"),g=B("urllib"),A=B("./version"),w=B("bowser"),b=B("../common/signUtils"),S=B("../common/utils/isIP"),_=S.isIP,T=B("../common/client/initOptions"),x=B("../common/utils/createRequest"),C=x.createRequest,I=new r;function L(){var j=u.name,V=u.version;j&&j.toLowerCase&&j.toLowerCase()==="ie"&&V.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function M(){return location&&location.protocol==="https:"}function k(j,V){if(L(),!(this instanceof k))return new k(j,V);j&&j.inited?this.options=j:this.options=k.initOptions(j),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=g,this.agent=this.options.agent||I),this.ctx=V,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}N.exports=k,k.initOptions=function(V){V.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var D=(0,l.default)({secure:M(),useFetch:!1},V);return T(D)};var R=k.prototype;R.debug=t,c(R,B("./object")),c(R,B("../common/bucket/getBucketWebsite")),c(R,B("../common/bucket/putBucketWebsite")),c(R,B("../common/bucket/deleteBucketWebsite")),c(R,B("../common/bucket/getBucketLifecycle")),c(R,B("../common/bucket/putBucketLifecycle")),c(R,B("../common/bucket/deleteBucketLifecycle")),c(R,B("../common/bucket/putBucketVersioning")),c(R,B("../common/bucket/getBucketVersioning")),c(R,B("./managed-upload")),c(R,B("../common/multipart")),c(R,B("../common/parallel")),R.signature=function(V){return this.debug("authorization stringToSign: %s",V,"info"),b.computeSignature(this.options.accessKeySecret,V)},R.authorization=function(V,D,H,P){var K=b.buildCanonicalString(V.toUpperCase(),D,{headers:P,parameters:H});return b.authorization(this.options.accessKeyId,this.options.accessKeySecret,K)},R.request=function(V){var D,H,P,K,U,G;return f.default.async(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return D=C.call(this,V),this.options.useFetch||(D.params.mode="disable-fetch"),H=void 0,P=void 0,K=!!V.stream,Z.prev=5,Z.next=8,f.default.awrap(this.urllib.request(D.url,D.params));case 8:H=Z.sent,this.debug("response %s %s, got %s, headers: %j",V.method,D.url,H.status,H.headers,"info"),Z.next=15;break;case 12:Z.prev=12,Z.t0=Z.catch(5),P=Z.t0;case 15:if(U=void 0,!(H&&V.successStatuses&&V.successStatuses.indexOf(H.status)===-1)){Z.next=28;break}return Z.next=19,f.default.awrap(this.requestError(H));case 19:if(U=Z.sent,!(U.code==="RequestTimeTooSkewed"&&!K)){Z.next=25;break}return this.options.amendTimeSkewed=+new Date(U.serverTime)-new Date,Z.next=24,f.default.awrap(this.request(V));case 24:return Z.abrupt("return",Z.sent);case 25:U.params=V,Z.next=32;break;case 28:if(!P){Z.next=32;break}return Z.next=31,f.default.awrap(this.requestError(P));case 31:U=Z.sent;case 32:if(!U){Z.next=34;break}throw U;case 34:if(!V.xmlResponse){Z.next=39;break}return Z.next=37,f.default.awrap(this.parseXML(H.data));case 37:G=Z.sent,H.data=G;case 39:return Z.abrupt("return",H);case 40:case"end":return Z.stop()}},null,this,[[5,12]])},R._getResource=function(V){var D="/";return V.bucket&&(D+=V.bucket+"/"),V.object&&(D+=V.object),D},R._isIP=_,R._escape=function(V){return h.encodeURIComponent(V).replace(/%2F/g,"/")},R._getReqUrl=function(V){var D={};a(this.options.endpoint).to(D);var H=this._isIP(D.hostname),P=this.options.cname;V.bucket&&!P&&!H&&(D.host=V.bucket+"."+D.host);var K="/";V.bucket&&H&&(K+=V.bucket+"/"),V.object&&(K+=this._escape(V.object).replace(/\+/g,"%2B")),D.pathname=K;var U={};if(V.query&&c(U,V.query),V.subres){var G={};s.string(V.subres)?G[V.subres]="":s.array(V.subres)?V.subres.forEach(function(W){G[W]=""}):G=V.subres,c(U,G)}return D.query=U,e.format(D)},R._getUserAgent=function(){var V=m&&m.browser?"js":"nodejs",D="aliyun-sdk-"+V+"/"+A.version,H=u.description;return!H&&m&&(H="Node.js "+m.version.slice(1)+" on "+m.platform+" "+m.arch),this._checkUserAgent(D+" "+H)},R._checkUserAgent=function(V){var D=V.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return D},R.checkBrowserAndVersion=function(V,D){return w.name===V&&w.version.split(".")[0]===D},R.parseXML=function(V){return new p.default(function(D,H){y.isBuffer(V)&&(V=V.toString()),o.parseString(V,{explicitRoot:!1,explicitArray:!1},function(P,K){P?H(P):D(K)})})},R.requestError=function(V){var D,H,P,K;return f.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:if(D=null,!(!V.data||!V.data.length)){G.next=5;break}V.status===-1||V.status===-2?(D=new Error(V.message),D.name=V.name,D.status=V.status,D.code=V.name):(V.status===404?(D=new Error("Object not exists"),D.name="NoSuchKeyError",D.status=404,D.code="NoSuchKey"):V.status===412?(D=new Error("Pre condition failed"),D.name="PreconditionFailedError",D.status=412,D.code="PreconditionFailed"):(D=new Error("Unknow error, status: "+V.status),D.name="UnknowError",D.status=V.status),D.requestId=V.headers["x-oss-request-id"],D.host=""),G.next=33;break;case 5:return H=String(V.data),this.debug("request response error data: %s",H,"error"),P=void 0,G.prev=8,G.next=11,f.default.awrap(this.parseXML(H));case 11:if(G.t0=G.sent,G.t0){G.next=14;break}G.t0={};case 14:P=G.t0,G.next=24;break;case 17:return G.prev=17,G.t1=G.catch(8),this.debug(H,"error"),G.t1.message+=`
raw xml: `+H,G.t1.status=V.status,G.t1.requestId=V.headers["x-oss-request-id"],G.abrupt("return",G.t1);case 24:K=P.Message||"unknow request error, status: "+V.status,P.Condition&&(K+=" (condition: "+P.Condition+")"),D=new Error(K),D.name=P.Code?P.Code+"Error":"UnknowError",D.status=V.status,D.code=P.Code,D.requestId=P.RequestId,D.hostId=P.HostId,D.serverTime=P.ServerTime;case 33:return this.debug("generate error %j",D,"error"),G.abrupt("return",D);case 35:case"end":return G.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:B("../../node_modules/is-buffer/index.js")},B("_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(B,N,i){(function(y){"use strict";var m=B("babel-runtime/core-js/array/from"),E=l(m),p=B("babel-runtime/core-js/promise"),v=l(p),f=B("babel-runtime/regenerator"),d=l(f);function l(b){return b&&b.__esModule?b:{default:b}}var n=B("is-type-of"),t=B("util"),a=B("path"),o=B("mime"),r=B("copy-to"),c=B("../common/utils/isBlob"),e=c.isBlob,s=B("../common/utils/isFile"),u=s.isFile,h=i;h.multipartUpload=function(S,_,T){var x,C,I,L,M,k,R,j,V;return d.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(this.resetCancelFlag(),T=T||{},!(T.checkpoint&&T.checkpoint.uploadId)){H.next=6;break}return H.next=5,d.default.awrap(this._resumeMultipart(T.checkpoint,T));case 5:return H.abrupt("return",H.sent);case 6:return x=100*1024,T.mime||(u(_)?T.mime=o.getType(a.extname(_.name)):e(_)?T.mime=_.type:T.mime=o.getType(a.extname(_))),T.headers=T.headers||{},this._convertMetaToHeaders(T.meta,T.headers),H.next=12,d.default.awrap(this._getFileSize(_));case 12:if(C=H.sent,!(C<x)){H.next=25;break}return I=this._createStream(_,0,C),T.contentLength=C,H.next=18,d.default.awrap(this.putStream(S,I,T));case 18:if(L=H.sent,!(T&&T.progress)){H.next=22;break}return H.next=22,d.default.awrap(T.progress(1));case 22:return M={res:L.res,bucket:this.options.bucket,name:S,etag:L.res.headers.etag},(T.headers&&T.headers["x-oss-callback"]||T.callback)&&(M.data=L.data),H.abrupt("return",M);case 25:if(!(T.partSize&&!(parseInt(T.partSize,10)===T.partSize))){H.next=27;break}throw new Error("partSize must be int number");case 27:if(!(T.partSize&&T.partSize<x)){H.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return H.next=31,d.default.awrap(this.initMultipartUpload(S,T));case 31:if(k=H.sent,R=k.uploadId,j=this._getPartSize(C,T.partSize),V={file:_,name:S,fileSize:C,partSize:j,uploadId:R,doneParts:[]},!(T&&T.progress)){H.next=38;break}return H.next=38,d.default.awrap(T.progress(0,V,k.res));case 38:return H.next=40,d.default.awrap(this._resumeMultipart(V,T));case 40:return H.abrupt("return",H.sent);case 41:case"end":return H.stop()}},null,this)},h._resumeMultipart=function(S,_){var T,x,C,I,L,M,k,R,j,V,D,H,P,K,U,G,W,Z;return d.default.async(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(T=this,!this.isCancel()){ve.next=3;break}throw this._makeCancelEvent();case 3:return x=S.file,C=S.fileSize,I=S.partSize,L=S.uploadId,M=S.doneParts,k=S.name,R=[],M.length>0&&r(M).to(R),j=this._divideParts(C,I),V=j.length,D=!1,H=function(ce,be){var Ce=this;return new v.default(function(fe,Ne){var Q,ae,Ue,te;return d.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:if(z.prev=0,ce.isCancel()){z.next=18;break}return Q=j[be-1],ae={stream:ce._createStream(x,Q.start,Q.end),size:Q.end-Q.start},z.next=6,d.default.awrap(ce._uploadPart(k,L,be,ae));case 6:if(Ue=z.sent,!(!ce.isCancel()&&!D)){z.next=15;break}if(S.doneParts.push({number:be,etag:Ue.res.headers.etag}),!_.progress){z.next=12;break}return z.next=12,d.default.awrap(_.progress(M.length/V,S,Ue.res));case 12:fe({number:be,etag:Ue.res.headers.etag}),z.next=16;break;case 15:fe();case 16:z.next=19;break;case 18:fe();case 19:z.next=30;break;case 21:z.prev=21,z.t0=z.catch(0),te=new Error,te.name=z.t0.name,te.message=z.t0.message,te.stack=z.t0.stack,te.partNum=be,r(z.t0).to(te),Ne(te);case 30:case"end":return z.stop()}},null,Ce,[[0,21]])})},P=(0,E.default)(new Array(V),function(q,ce){return ce+1}),K=R.map(function(q){return q.number}),U=P.filter(function(q){return K.indexOf(q)<0}),G=5,W=_.parallel||G,ve.next=17,d.default.awrap(this._parallel(U,W,function(q){return new v.default(function(ce,be){H(T,q).then(function(Ce){Ce&&R.push(Ce),ce()}).catch(function(Ce){be(Ce)})})}));case 17:if(Z=ve.sent,D=!0,!this.isCancel()){ve.next=22;break}throw H=null,this._makeCancelEvent();case 22:if(!(Z&&Z.length>0)){ve.next=25;break}throw Z[0].message="Failed to upload some parts with error: "+Z[0].toString()+" part_num: "+Z[0].partNum,Z[0];case 25:return ve.next=27,d.default.awrap(this.completeMultipartUpload(k,L,R,_));case 27:return ve.abrupt("return",ve.sent);case 28:case"end":return ve.stop()}},null,this)},h._getFileSize=function(S){return d.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!n.buffer(S)){T.next=4;break}return T.abrupt("return",S.length);case 4:if(!(e(S)||u(S))){T.next=6;break}return T.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return T.stop()}},null,this)};var g=B("stream"),A=g.Readable;function w(b,S){if(!(this instanceof w))return new w(b,S);A.call(this,S),this.file=b,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}t.inherits(w,A),w.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var _=!0;_&&this.fileBuffer&&this.start<this.fileBuffer.length;){var T=this.start,x=T+S;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,_=this.push(this.fileBuffer.slice(T,x))}},w.prototype._read=function(S){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 _=16*1024;S=S||_;var T=this;this.reader.onload=function(C){T.fileBuffer=y.from(new Uint8Array(C.target.result)),T.file=null,T.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},h._createStream=function(S,_,T){if(e(S)||u(S))return new w(S.slice(_,T));throw new Error("_createStream requires File/Blob.")},h._getPartSize=function(S,_){var T=10*1e3,x=1024*1024;return _?Math.max(Math.ceil(S/T),_):x},h._divideParts=function(S,_){for(var T=Math.ceil(S/_),x=[],C=0;C<T;C++){var I=_*C,L=Math.min(I+_,S);x.push({start:I,end:L})}return x}}).call(this,B("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(B,N,i){"use strict";var y=B("babel-runtime/core-js/promise"),m=n(y),E=B("babel-runtime/core-js/object/keys"),p=n(E),v=B("babel-runtime/core-js/object/assign"),f=n(v),d=B("babel-runtime/regenerator"),l=n(d);function n(T){return T&&T.__esModule?T:{default:T}}var t=B("utility"),a=B("fs"),o=B("is-type-of"),r=B("url"),c=B("copy-to"),e=B("path"),s=B("mime"),u=B("../common/callback"),h=B("../common/signUtils"),g=B("merge-descriptors"),A=B("../common/utils/isBlob"),w=A.isBlob,b=B("../common/utils/isFile"),S=b.isFile,_=i;_.append=function(x,C,I){var L;return l.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",k.next=6,l.default.awrap(this.put(x,C,I));case 6:return L=k.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],k.abrupt("return",L);case 9:case"end":return k.stop()}},null,this)},_.put=function(x,C,I){var L,M,k,R,j,V,D;return l.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(L=void 0,I=I||{},x=this._objectName(x),!o.buffer(C)){P.next=7;break}L=C,P.next=33;break;case 7:if(!(w(C)||S(C))){P.next=32;break}return I.mime||(S(C)?I.mime=s.getType(e.extname(C.name)):I.mime=C.type),M=this._createStream(C,0,C.size),P.next=12,l.default.awrap(this._getFileSize(C));case 12:return I.contentLength=P.sent,P.prev=13,P.next=16,l.default.awrap(this.putStream(x,M,I));case 16:return k=P.sent,P.abrupt("return",k);case 20:if(P.prev=20,P.t0=P.catch(13),!(P.t0.code==="RequestTimeTooSkewed")){P.next=29;break}return this.options.amendTimeSkewed=+new Date(P.t0.serverTime)-new Date,P.next=26,l.default.awrap(this.put(x,C,I));case 26:return P.abrupt("return",P.sent);case 29:throw P.t0;case 30:P.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),R=I.method||"PUT",j=this._objectRequestParams(R,x,I),u.encodeCallback(j,I),j.mime=I.mime,j.content=L,j.successStatuses=[200],P.next=43,l.default.awrap(this.request(j));case 43:return V=P.sent,D={name:x,url:this._objectUrl(x),res:V.res},j.headers&&j.headers["x-oss-callback"]&&(D.data=JSON.parse(V.data.toString())),P.abrupt("return",D);case 47:case"end":return P.stop()}},null,this,[[13,20]])},_.putStream=function(x,C,I){var L,M,k,R;return l.default.async(function(V){for(;;)switch(V.prev=V.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",M=this._objectRequestParams(L,x,I),u.encodeCallback(M,I),M.mime=I.mime,M.stream=C,M.successStatuses=[200],V.next=13,l.default.awrap(this.request(M));case 13:return k=V.sent,R={name:x,url:this._objectUrl(x),res:k.res},M.headers&&M.headers["x-oss-callback"]&&(R.data=JSON.parse(k.data.toString())),V.abrupt("return",R);case 17:case"end":return V.stop()}},null,this)},g(_,B("../common/object/copyObject")),g(_,B("../common/object/getObjectTagging")),g(_,B("../common/object/putObjectTagging")),g(_,B("../common/object/deleteObjectTagging")),g(_,B("../common/image")),g(_,B("../common/object/getBucketVersions")),g(_,B("../common/object/getACL")),g(_,B("../common/object/putACL")),g(_,B("../common/object/head")),g(_,B("../common/object/delete")),g(_,B("../common/object/get")),g(_,B("../common/object/putSymlink")),g(_,B("../common/object/getSymlink")),g(_,B("../common/object/deleteMulti")),g(_,B("../common/object/getObjectMeta")),_.putMeta=function(x,C,I){var L;return l.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,l.default.awrap(this.copy(x,x,{meta:C||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return L=k.sent,k.abrupt("return",L);case 4:case"end":return k.stop()}},null,this)},_.list=function(x,C){var I,L,M,k,R;return l.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:return I=this._objectRequestParams("GET","",C),I.query=x,I.xmlResponse=!0,I.successStatuses=[200],V.next=6,l.default.awrap(this.request(I));case 6:return L=V.sent,M=L.data.Contents,k=this,M&&(Array.isArray(M)||(M=[M]),M=M.map(function(D){return{name:D.Key,url:k._objectUrl(D.Key),lastModified:D.LastModified,etag:D.ETag,type:D.Type,size:Number(D.Size),storageClass:D.StorageClass,owner:{id:D.Owner.ID,displayName:D.Owner.DisplayName}}})),R=L.data.CommonPrefixes||null,R&&(Array.isArray(R)||(R=[R]),R=R.map(function(D){return D.Prefix})),V.abrupt("return",{res:L.res,objects:M,prefixes:R,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return V.stop()}},null,this)},_.restore=function(x,C){var I,L;return l.default.async(function(k){for(;;)switch(k.prev=k.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],k.next=7,l.default.awrap(this.request(I));case 7:return L=k.sent,k.abrupt("return",{res:L.res});case 9:case"end":return k.stop()}},null,this)},_.signatureUrl=function(x,C){C=C||{},x=this._objectName(x),C.method=C.method||"GET";var I=t.timestamp()+(C.expires||1800),L={bucket:this.options.bucket,object:x},M=this._getResource(L);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var k=h._signatureForURL(this.options.accessKeySecret,C,M,I),R=r.parse(this._getReqUrl(L));return R.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:k.Signature},c(k.subResource).to(R.query),R.format()},_.getObjectUrl=function(x,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(x))},_._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},_.generateObjectUrl=function(T,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={},c(I.headers).to(L.headers)),L},_._objectName=function(x){return x.replace(/^\/+/,"")},_._convertMetaToHeaders=function(x,C){if(!x)return;(0,p.default)(x).forEach(function(I){C["x-oss-meta-"+I]=x[I]})},_._deleteFileSafe=function(x){var C=this;return new m.default(function(I){a.exists(x,function(L){L?a.unlink(x,function(M){M&&C.debug("unlink %j error: %s",x,M,"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(B,N,i){"use strict";i.version="6.10.0"},{}],6:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.deleteBucketLifecycle=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(l),t=this._bucketRequestParams("DELETE",l,"lifecycle",n),t.successStatuses=[204],r.next=5,m.default.awrap(this.request(t));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.deleteBucketWebsite=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return v(l),t=this._bucketRequestParams("DELETE",l,"website",n),t.successStatuses=[204],r.next=5,m.default.awrap(this.request(t));case 5:return a=r.sent,r.abrupt("return",{res:a.res});case 7:case"end":return r.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("../utils/isArray"),d=f.isArray,l=B("../utils/formatObjKey"),n=l.formatObjKey,t=i;t.getBucketLifecycle=function(o,r){var c,e,s;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return v(o),c=this._bucketRequestParams("GET",o,"lifecycle",r),c.successStatuses=[200],c.xmlResponse=!0,h.next=6,m.default.awrap(this.request(c));case 6:return e=h.sent,s=e.data.Rule||null,s&&(d(s)||(s=[s]),s=s.map(function(g){return g.ID&&(g.id=g.ID,delete g.ID),g.Tag&&!d(g.Tag)&&(g.Tag=[g.Tag]),n(g,"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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=i;f.getBucketVersioning=function(l,n){var t,a,o;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return v(l),t=this._bucketRequestParams("GET",l,"versioning",n),t.xmlResponse=!0,t.successStatuses=[200],c.next=6,m.default.awrap(this.request(t));case 6:return a=c.sent,o=a.data.Status,c.abrupt("return",{status:a.status,versionStatus:o,res:a.res});case 9:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("../utils/isObject"),d=f.isObject,l=i;l.getBucketWebsite=function(t,a){var o,r,c;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(t),o=this._bucketRequestParams("GET",t,"website",a),o.successStatuses=[200],o.xmlResponse=!0,s.next=6,m.default.awrap(this.request(o));case 6:return r=s.sent,c=[],r.data.RoutingRules&&r.data.RoutingRules.RoutingRule&&(d(r.data.RoutingRules.RoutingRule)?c=[r.data.RoutingRules.RoutingRule]:c=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:c,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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(S){return S&&S.__esModule?S:{default:S}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("../utils/isArray"),d=f.isArray,l=B("../utils/deepCopy"),n=l.deepCopy,t=B("../utils/isObject"),a=t.isObject,o=B("../utils/obj2xml"),r=o.obj2xml,c=B("../utils/checkObjectTag"),e=c.checkObjectTag,s=B("../utils/getStrBytesCount"),u=s.getStrBytesCount,h=i;h.putBucketLifecycle=function(_,T,x){var C,I,L,M,k;return m.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(v(_),d(T)){j.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",_,"lifecycle",x),I=[],L={LifecycleConfiguration:{Rule:I}},T.forEach(function(V){g(V),b(V),V.id&&(V.ID=V.id,delete V.id),I.push(V)}),M=r(L,{headers:!0,firstUpperCase:!0}),C.content=M,C.mime="xml",C.successStatuses=[200],j.next=13,m.default.awrap(this.request(C));case 13:return k=j.sent,j.abrupt("return",{res:k.res});case 15:case"end":return j.stop()}},null,this)};function g(S){S.days&&(S.expiration={days:S.days}),S.date&&(S.expiration={createdBeforeDate:S.date})}function A(S,_){var T=S.days,x=S.createdBeforeDate;if(!T&&!x)throw new Error(_+" must includes days or createdBeforeDate");if(T&&!/^[1-9][0-9]*$/.test(T))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(S){if(!d(S)&&!a(S))throw new Error("tag must be Object or Array");S=a(S)?[S]:S;var _={},T=n(S);T.forEach(function(x){_[x.key]=x.value}),e(_)}function b(S){if(S.id&&u(S.id)>255)throw new Error("ID is composed of 255 bytes at most");if(S.prefix===""||S.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(S.status))throw new Error("Status must be Enabled or Disabled");if(S.transition){if(!["IA","Archive"].includes(S.transition.storageClass))throw new Error("StorageClass must be IA or Archive");A(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)A(S.expiration,"Expiration");else if(S.expiration.days||S.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(S.abortMultipartUpload&&A(S.abortMultipartUpload,"AbortMultipartUpload"),!S.expiration&&!S.abortMultipartUpload&&!S.transition&&!S.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(S.tag){if(S.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");w(S.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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("../utils/obj2xml"),d=f.obj2xml,l=i;l.putBucketVersioning=function(t,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(v(t),["Enabled","Suspended"].includes(a)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return r=this._bucketRequestParams("PUT",t,"versioning",o),c={VersioningConfiguration:{Status:a}},r.mime="xml",r.content=d(c,{headers:!0}),u.next=9,m.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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("../utils/obj2xml"),d=f.obj2xml,l=B("../utils/isArray"),n=l.isArray,t=i;t.putBucketWebsite=function(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=arguments[2],e,s,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:if(v(o),e=this._bucketRequestParams("PUT",o,"website",c),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(n(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,m.default.awrap(this.request(e));case 18:return g=w.sent,w.abrupt("return",{res:g.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(B,N,i){(function(y){"use strict";var m=B("babel-runtime/core-js/object/keys"),E=f(m),p=B("babel-runtime/core-js/json/stringify"),v=f(p);function f(d){return d&&d.__esModule?d:{default:d}}i.encodeCallback=function(l,n){if(l.headers=l.headers||{},!Object.prototype.hasOwnProperty.call(l.headers,"x-oss-callback")&&n.callback){var t={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(t.callbackHost=n.callback.host),n.callback.contentType&&(t.callbackBodyType=n.callback.contentType);var a=y.from((0,v.default)(t)).toString("base64");if(l.headers["x-oss-callback"]=a,n.callback.customValue){var o={};(0,E.default)(n.callback.customValue).forEach(function(r){o["x:"+r]=n.callback.customValue[r]}),l.headers["x-oss-callback-var"]=y.from((0,v.default)(o)).toString("base64")}}}}).call(this,B("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/assign"),m=E(y);function E(t){return t&&t.__esModule?t:{default:t}}var p=B("humanize-ms"),v=B("url"),f=B("../utils/checkBucketName"),d=f.checkBucketName;function l(t,a){var o=v.parse(t);if(o.protocol||(o=v.parse("http"+(a?"s":"")+"://"+t)),o.protocol!=="http:"&&o.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return o}function n(t,a,o){var r=o?"https://":"http://",c=a?"-internal.aliyuncs.com":".aliyuncs.com",e="vpc100-oss-cn-";return t.substr(0,e.length)===e&&(c=".aliyuncs.com"),v.parse(r+t+c)}N.exports=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");t.bucket&&d(t.bucket);var a=(0,m.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},t);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=p(a.timeout)),a.endpoint)a.endpoint=l(a.endpoint,a.secure);else if(a.region)a.endpoint=n(a.region,a.internal,a.secure);else throw new Error("require options.endpoint or options.region");return a.inited=!0,a}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(B,N,i){"use strict";var y=B("merge-descriptors"),m=i;y(m,B("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}var p=B("../utils/checkBucketName"),v=p.checkBucketName,f=B("querystring"),d=B("js-base64"),l=d.Base64.encode,n=i;n.processObjectSave=function(o,r,c,e){var s,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return t(o,"sourceObject"),t(r,"targetObject"),t(c,"process"),r=this._objectName(r),e&&v(e),s=this._objectRequestParams("POST",o,{subres:"x-oss-process"}),u=e?",b_"+l(e):"",r=l(r),h={"x-oss-process":c+"|sys/saveas,o_"+r+u},s.content=f.stringify(h),w.next=12,m.default.awrap(this.request(s));case 12:return g=w.sent,w.abrupt("return",{res:g.res,status:g.res.status});case 14:case"end":return w.stop()}},null,this)};function t(a,o){if(!a)throw new Error(o+" is required");if(typeof a!="string")throw new Error(o+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=E(y);function E(n){return n&&n.__esModule?n:{default:n}}var p=B("copy-to"),v=B("./callback"),f=B("./utils/deepCopy"),d=f.deepCopy,l=i;l.listUploads=function(t,a){var o,r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return a=a||{},o={},p(a).to(o),o.subres="uploads",r=this._objectRequestParams("GET","",o),r.query=t,r.xmlResponse=!0,r.successStatuses=[200],u.next=10,m.default.awrap(this.request(r));case 10:return c=u.sent,e=c.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:c.res,uploads:e,bucket:c.data.Bucket,nextKeyMarker:c.data.NextKeyMarker,nextUploadIdMarker:c.data.NextUploadIdMarker,isTruncated:c.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},l.listParts=function(t,a,o,r){var c,e,s;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=r||{},c={},p(r).to(c),c.subres={uploadId:a},e=this._objectRequestParams("GET",t,c),e.query=o,e.xmlResponse=!0,e.successStatuses=[200],h.next=10,m.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)},l.abortMultipartUpload=function(t,a,o){var r,c,e;return m.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),o=o||{},r={},p(o).to(r),r.subres={uploadId:a},c=this._objectRequestParams("DELETE",t,r),c.successStatuses=[204],u.next=9,m.default.awrap(this.request(c));case 9:return e=u.sent,u.abrupt("return",{res:e.res});case 11:case"end":return u.stop()}},null,this)},l.initMultipartUpload=function(t,a){var o,r,c;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=a||{},o={},p(a).to(o),o.headers=o.headers||{},this._convertMetaToHeaders(a.meta,o.headers),o.subres="uploads",r=this._objectRequestParams("POST",t,o),r.mime=a.mime,r.xmlResponse=!0,r.successStatuses=[200],s.next=12,m.default.awrap(this.request(r));case 12:return c=s.sent,s.abrupt("return",{res:c.res,bucket:c.data.Bucket,name:c.data.Key,uploadId:c.data.UploadId});case 14:case"end":return s.stop()}},null,this)},l.uploadPart=function(t,a,o,r,c,e,s){var u;return m.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return u={stream:this._createStream(r,c,e),size:e-c},g.next=3,m.default.awrap(this._uploadPart(t,a,o,u,s));case 3:return g.abrupt("return",g.sent);case 4:case"end":return g.stop()}},null,this)},l.completeMultipartUpload=function(t,a,o,r){var c,e,s,u,h,g,A,w;return m.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(c=o.concat().sort(function(_,T){return _.number-T.number}).filter(function(_,T,x){return!T||_.number!==x[T-1].number}),e=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,s=0;s<c.length;s++)u=c[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:a},g=this._objectRequestParams("POST",t,h),v.encodeCallback(g,h),g.mime="xml",g.content=e,g.headers&&g.headers["x-oss-callback"]||(g.xmlResponse=!0),g.successStatuses=[200],S.next=17,m.default.awrap(this.request(g));case 17:return A=S.sent,w={res:A.res,bucket:g.bucket,name:t,etag:A.res.headers.etag},g.headers&&g.headers["x-oss-callback"]&&(w.data=JSON.parse(A.data.toString())),S.abrupt("return",w);case 21:case"end":return S.stop()}},null,this)},l._uploadPart=function(t,a,o,r,c){var e,s,u;return m.default.async(function(g){for(;;)switch(g.prev=g.next){case 0:return c=c||{},e={},p(c).to(e),e.headers={"Content-Length":r.size},e.subres={partNumber:o,uploadId:a},s=this._objectRequestParams("PUT",t,e),s.mime=e.mime,s.stream=r.stream,s.successStatuses=[200],g.next=11,m.default.awrap(this.request(s));case 11:if(u=g.sent,u.res.headers.etag){g.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,g.abrupt("return",{name:t,etag:u.res.headers.etag,res:u.res});case 17:case"end":return g.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=d(y),E=B("babel-runtime/core-js/object/keys"),p=d(E),v=B("babel-runtime/helpers/typeof"),f=d(v);function d(a){return a&&a.__esModule?a:{default:a}}var l=B("../utils/checkBucketName"),n=l.checkBucketName,t=i;t.copy=function(o,r,c,e){var s,u,h;return m.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return(typeof c=="undefined"?"undefined":(0,f.default)(c))==="object"&&(e=c),e=e||{},e.headers=e.headers||{},(0,p.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,c),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],A.next=14,m.default.awrap(this.request(s));case 14:return u=A.sent,h=u.data,h&&(h={etag:h.ETag,lastModified:h.LastModified}),A.abrupt("return",{data:h,res:u.res});case 18:case"end":return A.stop()}},null,this)},t._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")),n(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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.delete=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("DELETE",l,n),t.successStatuses=[204],r.next=6,m.default.awrap(this.request(t));case 6:return a=r.sent,r.abrupt("return",{res:a.res});case 8:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(t){return t&&t.__esModule?t:{default:t}}var f=B("utility"),d=B("../utils/obj2xml"),l=d.obj2xml,n=i;n.deleteMulti=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,c,e,s,u,h,g,A,w,b,S,_;return m.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(r=[],!(!a||!a.length)){x.next=3;break}throw new Error("names is required");case 3:for(c=0;c<a.length;c++)e={},typeof a[c]=="string"?e.Key=f.escape(this._objectName(a[c])):(s=a[c],u=s.key,h=s.versionId,e.Key=f.escape(this._objectName(u)),e.VersionId=h),r.push(e);return g={Delete:{Quiet:!!o.quiet,Object:r}},A=l(g,{headers:!0}),o.subres=(0,p.default)({delete:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),w=this._objectRequestParams("POST","",o),w.mime="xml",w.content=A,w.xmlResponse=!0,w.successStatuses=[200],x.next=15,m.default.awrap(this.request(w));case 15:return b=x.sent,S=b.data,_=S&&S.Deleted||null,_&&(Array.isArray(_)||(_=[_])),x.abrupt("return",{res:b.res,deleted:_||[]});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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.deleteObjectTagging=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({tagging:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("DELETE",l,n),t.successStatuses=[204],r.next=7,m.default.awrap(this.request(t));case 7:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(n){return n&&n.__esModule?n:{default:n}}var f=B("fs"),d=B("is-type-of"),l=i;l.get=function(t,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,c,e,s;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return r=null,c=!1,d.writableStream(a)?r=a:d.string(a)?(r=f.createWriteStream(a),c=!0):o=a,o=o||{},o.subres=(0,p.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",t,o),s.writeStream=r,s.successStatuses=[200,206,304],h.next=14,m.default.awrap(this.request(s));case 14:e=h.sent,c&&r.destroy(),h.next=25;break;case 18:if(h.prev=18,h.t0=h.catch(8),!c){h.next=24;break}return r.destroy(),h.next=24,m.default.awrap(this._deleteFileSafe(a));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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getACL=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n.subres=(0,p.default)({acl:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("GET",l,n),t.successStatuses=[200],t.xmlResponse=!0,r.next=8,m.default.awrap(this.request(t));case 8:return a=r.sent,r.abrupt("return",{acl:a.data.AccessControlList.Grant,owner:{id:a.data.Owner.ID,displayName:a.data.Owner.DisplayName},res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=d(y),E=B("babel-runtime/regenerator"),p=d(E),v=B("babel-runtime/core-js/object/assign"),f=d(v);function d(s){return s&&s.__esModule?s:{default:s}}var l=i,n=B("../utils/isObject"),t=n.isObject,a=B("../utils/isArray"),o=a.isArray;l.getBucketVersions=r,l.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,g,A,w,b,S;return p.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){T.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),T.next=10,p.default.awrap(this.request(h));case 10:return g=T.sent,A=g.data.Version||[],w=g.data.DeleteMarker||[],b=this,A&&(Array.isArray(A)||(A=[A]),A=A.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}}})),S=g.data.CommonPrefixes||null,S&&(o(S)||(S=[S]),S=S.map(function(x){return x.Prefix})),T.abrupt("return",{res:g.res,objects:A,deleteMarker:w,prefixes:S,nextMarker:g.data.NextMarker||null,NextVersionIdMarker:g.data.NextVersionIdMarker||null,isTruncated:g.data.IsTruncated==="true"});case 19:case"end":return T.stop()}},null,this)}function c(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function e(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return t(s)&&(0,m.default)(s).forEach(function(h){u[c(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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getObjectMeta=function(l,n){var t,a;return m.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return n=n||{},l=this._objectName(l),n.subres=(0,p.default)({objectMeta:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),t=this._objectRequestParams("HEAD",l,n),t.successStatuses=[200],r.next=8,m.default.awrap(this.request(t));case 8:return a=r.sent,r.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return r.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(n){return n&&n.__esModule?n:{default:n}}var f=i,d=B("../utils/isObject"),l=d.isObject;f.getObjectTagging=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,r,c,e,s;return m.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return a.subres=(0,p.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),t=this._objectName(t),o=this._objectRequestParams("GET",t,a),o.successStatuses=[200],h.next=7,m.default.awrap(this.request(o));case 7:return r=h.sent,h.next=10,m.default.awrap(this.parseXML(r.data));case 10:return c=h.sent,e=c.TagSet.Tag,e=e&&l(e)?[e]:e||[],s={},e.forEach(function(g){s[g.Key]=g.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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.getSymlink=function(l){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a,o;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return n.subres=(0,p.default)({symlink:""},n.subres),n.versionId&&(n.subres.versionId=n.versionId),l=this._objectName(l),t=this._objectRequestParams("GET",l,n),t.successStatuses=[200],c.next=7,m.default.awrap(this.request(t));case 7:return a=c.sent,o=a.res.headers["x-oss-symlink-target"],c.abrupt("return",{targetName:decodeURIComponent(o),res:a.res});case 10:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=d(y),E=B("babel-runtime/core-js/object/keys"),p=d(E),v=B("babel-runtime/core-js/object/assign"),f=d(v);function d(n){return n&&n.__esModule?n:{default:n}}var l=i;l.head=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,r,c;return m.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a.subres=(0,f.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),o=this._objectRequestParams("HEAD",t,a),o.successStatuses=[200,304],s.next=6,m.default.awrap(this.request(o));case 6:return r=s.sent,c={meta:null,res:r.res,status:r.status},r.status===200&&(0,p.default)(r.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(c.meta||(c.meta={}),c.meta[u.substring(11)]=r.headers[u])}),s.abrupt("return",c);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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.putACL=function(l,n,t){var a,o;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return t=t||{},t.subres=(0,p.default)({acl:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.headers=t.headers||{},t.headers["x-oss-object-acl"]=n,l=this._objectName(l),a=this._objectRequestParams("PUT",l,t),a.successStatuses=[200],c.next=10,m.default.awrap(this.request(a));case 10:return o=c.sent,c.abrupt("return",{res:o.res});case 12:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=d(y),E=B("babel-runtime/core-js/object/keys"),p=d(E),v=B("babel-runtime/core-js/object/assign"),f=d(v);function d(r){return r&&r.__esModule?r:{default:r}}var l=B("../utils/obj2xml"),n=l.obj2xml,t=B("../utils/checkObjectTag"),a=t.checkObjectTag,o=i;o.putObjectTagging=function(c,e){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return a(e),s.subres=(0,f.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),c=this._objectName(c),u=this._objectRequestParams("PUT",c,s),u.successStatuses=[200],e=(0,p.default)(e).map(function(b){return{Key:b,Value:e[b]}}),h={Tagging:{TagSet:{Tag:e}}},u.mime="xml",u.content=n(h),w.next=12,m.default.awrap(this.request(u));case 12:return g=w.sent,w.abrupt("return",{res:g.res,status:g.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(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/object/assign"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f.putSymlink=function(l,n,t){var a,o;return m.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return t=t||{},t.headers=t.headers||{},n=this._escape(this._objectName(n)),this._convertMetaToHeaders(t.meta,t.headers),t.headers["x-oss-symlink-target"]=n,t.subres=(0,p.default)({symlink:""},t.subres),t.versionId&&(t.subres.versionId=t.versionId),t.storageClass&&(t.headers["x-oss-storage-class"]=t.storageClass),l=this._objectName(l),a=this._objectRequestParams("PUT",l,t),a.successStatuses=[200],c.next=13,m.default.awrap(this.request(a));case 13:return o=c.sent,c.abrupt("return",{res:o.res});case 15:case"end":return c.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(B,N,i){"use strict";var y=B("babel-runtime/regenerator"),m=v(y),E=B("babel-runtime/core-js/promise"),p=v(E);function v(d){return d&&d.__esModule?d:{default:d}}var f=i;f._parallelNode=function(l,n,t,a){var o,r,c,e,s,u,h,g;return m.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:o=this,r=[],c=[],e=l.length/n,s=l.length%n,u=s===0?e:(l.length-s)/n+1,h=1,g=0;case 8:if(!(g<l.length)){w.next=26;break}if(!o.isCancel()){w.next=11;break}return w.abrupt("break",26);case 11:if(a?c.push(t(o,l[g],a)):c.push(t(o,l[g])),!(c.length===n||h===u&&g===l.length-1)){w.next=23;break}return w.prev=13,h+=1,w.next=17,m.default.awrap(p.default.all(c));case 17:w.next=22;break;case 19:w.prev=19,w.t0=w.catch(13),r.push(w.t0);case 22:c=[];case 23:g++,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(l,n,t){var a=this;return new p.default(function(o){var r=[];if(n<=0||!l){o(r);return}function c(S){return function(){if(S===null)throw new Error("Callback was already called.");var _=S;S=null;for(var T=arguments.length,x=Array(T),C=0;C<T;C++)x[C]=arguments[C];_.apply(this,x)}}function e(S){var _=-1,T=S.length;return function(){return++_<T&&!a.isCancel()?{value:S[_],key:_}:null}}var s=e(l),u=!1,h=0,g=!1;function A(S,_){h-=1,S?(u=!0,r.push(S),o(r)):_==={}||u&&h<=0?(u=!0,o(r)):g||(a.isCancel()?o(r):b())}function w(S,_){t(S).then(function(T){_(null,T)}).catch(function(T){_(T)})}function b(){for(g=!0;h<n&&!u&&!a.isCancel();){var S=s();if(S===null||r.length>0){u=!0,h<=0&&o(r);return}h+=1,w(S.value,c(A))}g=!1}b()})},f.cancel=function(l){this.options.cancelFlag=!0,l&&this.abortMultipartUpload(l.name,l.uploadId,l.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 l={status:0,name:"cancel"};return l}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(B,N,i){(function(y){"use strict";var m=B("babel-runtime/core-js/json/stringify"),E=f(m),p=B("babel-runtime/core-js/object/keys"),v=f(p);function f(n){return n&&n.__esModule?n:{default:n}}var d=B("./../../shims/crypto/crypto.js"),l=B("is-type-of");i.buildCanonicalizedResource=function(t,a){var o=""+t,r="?";if(l.string(a)&&a.trim()!=="")o+=r+a;else if(l.array(a))a.sort(),o+=r+a.join("&");else if(a){var c=function(u,h){return u[0]>h[0]?1:u[0]<h[0]?-1:0},e=function(u){o+=r+u,a[u]&&(o+="="+a[u]),r="&"};(0,v.default)(a).sort(c).forEach(e)}return o},i.buildCanonicalString=function(t,a,o,r){o=o||{};var c=o.headers||{},e="x-oss-",s=[],u={},h=[t.toUpperCase(),c["Content-Md5"]||"",c["Content-Type"]||c["Content-Type".toLowerCase()],r||c["x-oss-date"]];return(0,v.default)(c).forEach(function(g){var A=g.toLowerCase();A.indexOf(e)===0&&(u[A]=String(c[g]).trim())}),(0,v.default)(u).sort().forEach(function(g){s.push(g+":"+u[g])}),h=h.concat(s),h.push(this.buildCanonicalizedResource(a,o.parameters)),h.join(`
`)},i.computeSignature=function(t,a){var o=d.createHmac("sha1",t);return o.update(y.from(a,"utf8")).digest("base64")},i.authorization=function(t,a,o){return"OSS "+t+":"+this.computeSignature(a,o)},i._signatureForURL=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments[2],r=arguments[3],c={},e=a.subResource,s=e===void 0?{}:e;if(a.process){var u="x-oss-process";s[u]=a.process}if(a.trafficLimit){var h="x-oss-traffic-limit";s[h]=a.trafficLimit}if(a.response&&(0,v.default)(a.response).forEach(function(b){var S="response-"+b.toLowerCase();s[S]=a.response[b]}),(0,v.default)(a).forEach(function(b){var S=b.toLowerCase(),_=a[b];S.indexOf("x-oss-")===0?c[S]=_:(S.indexOf("content-md5")===0||S.indexOf("content-type")===0)&&(c[b]=_)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(s["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var g={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(g.callbackHost=a.callback.host),a.callback.contentType&&(g.callbackBodyType=a.callback.contentType),s.callback=y.from((0,E.default)(g)).toString("base64"),a.callback.customValue){var A={};(0,v.default)(a.callback.customValue).forEach(function(b){A["x:"+b]=a.callback.customValue[b]}),s["callback-var"]=y.from((0,E.default)(A)).toString("base64")}}var w=this.buildCanonicalString(a.method,o,{headers:c,parameters:s},r.toString());return{Signature:this.computeSignature(t,w),subResource:s}}}).call(this,B("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(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.checkBucketName=void 0,i.checkBucketName=function(y,m){var E=m?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!E.test(y))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/entries"),m=E(y);function E(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(i,"__esModule",{value:!0}),i.checkObjectTag=void 0;var p=B("./checkValid"),v=p.checkValid,f=B("./isObject"),d=f.isObject,l=[{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 (/)"}],n={key:[].concat(l,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(l,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function t(a){if(!d(a))throw new Error("tag must be Object");var o=(0,m.default)(a);if(o.length>10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];o.forEach(function(c){c.forEach(function(e,s){v(e,n[r[s]])})})}i.checkObjectTag=t},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.checkValid=void 0;function y(m,E){E.forEach(function(p){if(p.validator)p.validator(m);else if(p.pattern&&!p.pattern.test(m))throw new Error(p.msg)})}i.checkValid=y},{}],38:[function(B,N,i){(function(y){"use strict";var m=B("babel-runtime/core-js/object/assign"),E=p(m);function p(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(i,"__esModule",{value:!0}),i.createRequest=void 0;var v=B("./../../../shims/crypto/crypto.js"),f=B("debug")("ali-oss"),d=B("mime"),l=B("dateformat"),n=B("copy-to"),t=B("path");function a(c,e){return c[e]||c[e.toLowerCase()]}function o(c,e){delete c[e],delete c[e.toLowerCase()]}function r(c){var e=new Date;this.options.amendTimeSkewed&&(e=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":l(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,E.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),n(c.headers).to(s),a(s,"Content-Type")||(c.mime&&c.mime.indexOf("/")>0?s["Content-Type"]=c.mime:s["Content-Type"]=d.getType(c.mime||t.extname(c.object||""))),a(s,"Content-Type")||o(s,"Content-Type"),c.content&&(s["Content-Md5"]=v.createHash("md5").update(y.from(c.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=c.content.length));var u=this._getResource(c);s.authorization=this.authorization(c.method,u,c.subres,s);var h=this._getReqUrl(c);f("request %s %s, with headers %j, !!stream: %s",c.method,h,s,!!c.stream);var g=c.timeout||this.options.timeout,A={method:c.method,content:c.content,stream:c.stream,headers:s,timeout:g,writeStream:c.writeStream,customResponse:c.customResponse,ctx:c.ctx||this.ctx};return this.agent&&(A.agent=this.agent),this.httpsAgent&&(A.httpsAgent=this.httpsAgent),{url:h,params:A}}i.createRequest=r}).call(this,B("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(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=v(y),E=B("babel-runtime/helpers/typeof"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}Object.defineProperty(i,"__esModule",{value:!0}),i.deepCopy=void 0,i.deepCopy=function(f){if(f===null||(typeof f=="undefined"?"undefined":(0,p.default)(f))!=="object")return f;var d=Array.isArray(f)?[]:{};return(0,m.default)(f).forEach(function(l){d[l]=i.deepCopy(f[l])}),d}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=v(y),E=B("babel-runtime/helpers/typeof"),p=v(E);function v(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(i,"__esModule",{value:!0}),i.formatObjKey=void 0;function f(l,n){if(l===null||(typeof l=="undefined"?"undefined":(0,p.default)(l))!=="object")return l;var t=void 0;if(Array.isArray(l)){t=[];for(var a=0;a<l.length;a++)t.push(f(l[a],n))}else t={},(0,m.default)(l).forEach(function(o){t[d(o,n)]=f(l[o],n)});return t}i.formatObjKey=f;function d(l,n){return n==="firstUpperCase"?l=l.replace(/^./,function(t){return t.toUpperCase()}):n==="firstLowerCase"&&(l=l.replace(/^./,function(t){return t.toLowerCase()})),l}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getStrBytesCount=void 0;function y(m){for(var E=0,p=0;p<m.length;p++){var v=m.charAt(p);/^[\u00-\uff]$/.test(v)?E+=1:E+=2}return E}i.getStrBytesCount=y},{}],42:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isArray=void 0,i.isArray=function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],43:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isBlob=void 0;function y(m){return typeof Blob!="undefined"&&m instanceof Blob}i.isBlob=y},{}],44:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isFile=void 0,i.isFile=function(y){return typeof File!="undefined"&&y instanceof File}},{}],45:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isIP=void 0,i.isIP=function(y){var m=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,E=/^\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 m.test(y)||E.test(y)}},{}],46:[function(B,N,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isObject=void 0,i.isObject=function(y){return Object.prototype.toString.call(y)==="[object Object]"}},{}],47:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(i,"__esModule",{value:!0}),i.obj2xml=void 0;var p=B("./formatObjKey");function v(d){return Object.prototype.toString.call(d).replace(/(.*? |])/g,"").toLowerCase()}function f(d,l){var n="";return l&&l.headers&&(n=`<?xml version="1.0" encoding="UTF-8"?>
`),l&&l.firstUpperCase&&(d=p.formatObjKey(d,"firstUpperCase")),v(d)==="object"?(0,m.default)(d).forEach(function(t){v(d[t])==="string"||v(d[t])==="number"?n+="<"+t+">"+d[t]+"</"+t+">":v(d[t])==="object"?n+="<"+t+">"+f(d[t])+"</"+t+">":v(d[t])==="array"?n+=d[t].map(function(a){return"<"+t+">"+f(a)+"</"+t+">"}).join(""):n+="<"+t+">"+d[t].toString()+"</"+t+">"}):n+=d.toString(),n}i.obj2xml=f},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(B,N,i){N.exports=y,N.exports.HttpsAgent=y;function y(){}},{}],49:[function(B,N,i){N.exports=B("./register")().Promise},{"./register":51}],50:[function(B,N,i){"use strict";var y="@@any-promise/REGISTRATION",m=null;N.exports=function(E,p){return function(f,d){f=f||null,d=d||{};var l=d.global!==!1;if(m===null&&l&&(m=E[y]||null),m!==null&&f!==null&&m.implementation!==f)throw new Error('any-promise already defined as "'+m.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return m===null&&(f!==null&&typeof d.Promise!="undefined"?m={Promise:d.Promise,implementation:f}:m=p(f),l&&(E[y]=m)),m}}},{}],51:[function(B,N,i){"use strict";N.exports=B("./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(B,N,i){N.exports={default:B("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(B,N,i){N.exports={default:B("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(B,N,i){N.exports={default:B("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(B,N,i){N.exports={default:B("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(B,N,i){N.exports={default:B("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(B,N,i){N.exports={default:B("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(B,N,i){N.exports={default:B("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(B,N,i){N.exports={default:B("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(B,N,i){N.exports={default:B("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(B,N,i){"use strict";i.__esModule=!0;var y=B("../core-js/symbol/iterator"),m=f(y),E=B("../core-js/symbol"),p=f(E),v=typeof p.default=="function"&&typeof m.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof p.default=="function"&&d.constructor===p.default&&d!==p.default.prototype?"symbol":typeof d};function f(d){return d&&d.__esModule?d:{default:d}}i.default=typeof p.default=="function"&&v(m.default)==="symbol"?function(d){return typeof d=="undefined"?"undefined":v(d)}:function(d){return d&&typeof p.default=="function"&&d.constructor===p.default&&d!==p.default.prototype?"symbol":typeof d=="undefined"?"undefined":v(d)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(B,N,i){N.exports=B("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(B,N,i){"use strict";i.byteLength=l,i.toByteArray=t,i.fromByteArray=r;for(var y=[],m=[],E=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,f=p.length;v<f;++v)y[v]=p[v],m[p.charCodeAt(v)]=v;m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63;function d(c){var e=c.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=c.indexOf("=");s===-1&&(s=e);var u=s===e?0:4-s%4;return[s,u]}function l(c){var e=d(c),s=e[0],u=e[1];return(s+u)*3/4-u}function n(c,e,s){return(e+s)*3/4-s}function t(c){var e,s=d(c),u=s[0],h=s[1],g=new E(n(c,u,h)),A=0,w=h>0?u-4:u,b;for(b=0;b<w;b+=4)e=m[c.charCodeAt(b)]<<18|m[c.charCodeAt(b+1)]<<12|m[c.charCodeAt(b+2)]<<6|m[c.charCodeAt(b+3)],g[A++]=e>>16&255,g[A++]=e>>8&255,g[A++]=e&255;return h===2&&(e=m[c.charCodeAt(b)]<<2|m[c.charCodeAt(b+1)]>>4,g[A++]=e&255),h===1&&(e=m[c.charCodeAt(b)]<<10|m[c.charCodeAt(b+1)]<<4|m[c.charCodeAt(b+2)]>>2,g[A++]=e>>8&255,g[A++]=e&255),g}function a(c){return y[c>>18&63]+y[c>>12&63]+y[c>>6&63]+y[c&63]}function o(c,e,s){for(var u,h=[],g=e;g<s;g+=3)u=(c[g]<<16&16711680)+(c[g+1]<<8&65280)+(c[g+2]&255),h.push(a(u));return h.join("")}function r(c){for(var e,s=c.length,u=s%3,h=[],g=16383,A=0,w=s-u;A<w;A+=g)h.push(o(c,A,A+g>w?w:A+g));return u===1?(e=c[s-1],h.push(y[e>>2]+y[e<<4&63]+"==")):u===2&&(e=(c[s-2]<<8)+c[s-1],h.push(y[e>>10]+y[e>>4&63]+y[e<<2&63]+"=")),h.join("")}},{}],70:[function(B,N,i){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(y,m,E){typeof N!="undefined"&&N.exports?N.exports=E():typeof define=="function"&&define.amd?define(m,E):y[m]=E()}(this,"bowser",function(){var y=!0;function m(n){function t(H){var P=n.match(H);return P&&P.length>1&&P[1]||""}function a(H){var P=n.match(H);return P&&P.length>1&&P[2]||""}var o=t(/(ipod|iphone|ipad)/i).toLowerCase(),r=/like android/i.test(n),c=!r&&/android/i.test(n),e=/nexus\s*[0-6]\s*/i.test(n),s=!e&&/nexus\s*[0-9]+/i.test(n),u=/CrOS/.test(n),h=/silk/i.test(n),g=/sailfish/i.test(n),A=/tizen/i.test(n),w=/(web|hpw)(o|0)s/i.test(n),b=/windows phone/i.test(n),S=/SamsungBrowser/i.test(n),_=!b&&/windows/i.test(n),T=!o&&!h&&/macintosh/i.test(n),x=!c&&!g&&!A&&!w&&/linux/i.test(n),C=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=t(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(n)&&!/tablet pc/i.test(n),M=!L&&/[^-]mobi/i.test(n),k=/xbox/i.test(n),R;/opera/i.test(n)?R={name:"Opera",opera:y,version:I||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(n)?R={name:"Opera",opera:y,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(n)?R={name:"Samsung Internet for Android",samsungBrowser:y,version:I||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(n)?R={name:"NAVER Whale browser",whale:y,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(n)?R={name:"MZ Browser",mzbrowser:y,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(n)?R={name:"Opera Coast",coast:y,version:I||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(n)?R={name:"Focus",focus:y,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(n)?R={name:"Yandex Browser",yandexbrowser:y,version:I||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(n)?R={name:"UC Browser",ucbrowser:y,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(n)?R={name:"Maxthon",maxthon:y,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(n)?R={name:"Epiphany",epiphany:y,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(n)?R={name:"Puffin",puffin:y,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(n)?R={name:"Sleipnir",sleipnir:y,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(n)?R={name:"K-Meleon",kMeleon:y,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:b?(R={name:"Windows Phone",osname:"Windows Phone",windowsphone:y},C?(R.msedge=y,R.version=C):(R.msie=y,R.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(n)?R={name:"Internet Explorer",msie:y,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?R={name:"Chrome",osname:"Chrome OS",chromeos:y,chromeBook:y,chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(n)?R={name:"Microsoft Edge",msedge:y,version:C}:/vivaldi/i.test(n)?R={name:"Vivaldi",vivaldi:y,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||I}:g?R={name:"Sailfish",osname:"Sailfish OS",sailfish:y,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(n)?R={name:"SeaMonkey",seamonkey:y,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(n)?(R={name:"Firefox",firefox:y,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(n)&&(R.firefoxos=y,R.osname="Firefox OS")):h?R={name:"Amazon Silk",silk:y,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(n)?R={name:"PhantomJS",phantom:y,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(n)?R={name:"SlimerJS",slimer:y,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(n)||/rim\stablet/i.test(n)?R={name:"BlackBerry",osname:"BlackBerry OS",blackberry:y,version:I||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:w?(R={name:"WebOS",osname:"WebOS",webos:y,version:I||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(n)&&(R.touchpad=y)):/bada/i.test(n)?R={name:"Bada",osname:"Bada",bada:y,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:A?R={name:"Tizen",osname:"Tizen",tizen:y,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(n)?R={name:"QupZilla",qupzilla:y,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(n)?R={name:"Chromium",chromium:y,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(n)?R={name:"Chrome",chrome:y,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:c?R={name:"Android",version:I}:/safari|applewebkit/i.test(n)?(R={name:"Safari",safari:y},I&&(R.version=I)):o?(R={name:o=="iphone"?"iPhone":o=="ipad"?"iPad":"iPod"},I&&(R.version=I)):/googlebot/i.test(n)?R={name:"Googlebot",googlebot:y,version:t(/googlebot\/(\d+(\.\d+))/i)||I}:R={name:t(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!R.msedge&&/(apple)?webkit/i.test(n)?(/(apple)?webkit\/537\.36/i.test(n)?(R.name=R.name||"Blink",R.blink=y):(R.name=R.name||"Webkit",R.webkit=y),!R.version&&I&&(R.version=I)):!R.opera&&/gecko\//i.test(n)&&(R.name=R.name||"Gecko",R.gecko=y,R.version=R.version||t(/gecko\/(\d+(\.\d+)?)/i)),!R.windowsphone&&(c||R.silk)?(R.android=y,R.osname="Android"):!R.windowsphone&&o?(R[o]=y,R.ios=y,R.osname="iOS"):T?(R.mac=y,R.osname="macOS"):k?(R.xbox=y,R.osname="Xbox"):_?(R.windows=y,R.osname="Windows"):x&&(R.linux=y,R.osname="Linux");function j(H){switch(H){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 V="";R.windows?V=j(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):R.windowsphone?V=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):R.mac?(V=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),V=V.replace(/[_\s]/g,".")):o?(V=t(/os (\d+([_\s]\d+)*) like mac os x/i),V=V.replace(/[_\s]/g,".")):c?V=t(/android[ \/-](\d+(\.\d+)*)/i):R.webos?V=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):R.blackberry?V=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):R.bada?V=t(/bada\/(\d+(\.\d+)*)/i):R.tizen&&(V=t(/tizen[\/\s](\d+(\.\d+)*)/i)),V&&(R.osversion=V);var D=!R.windows&&V.split(".")[0];return L||s||o=="ipad"||c&&(D==3||D>=4&&!M)||R.silk?R.tablet=y:(M||o=="iphone"||o=="ipod"||c||e||R.blackberry||R.webos||R.bada)&&(R.mobile=y),R.msedge||R.msie&&R.version>=10||R.yandexbrowser&&R.version>=15||R.vivaldi&&R.version>=1||R.chrome&&R.version>=20||R.samsungBrowser&&R.version>=4||R.whale&&f([R.version,"1.0"])===1||R.mzbrowser&&f([R.version,"6.0"])===1||R.focus&&f([R.version,"1.0"])===1||R.firefox&&R.version>=20||R.safari&&R.version>=6||R.opera&&R.version>=10||R.ios&&R.osversion&&R.osversion.split(".")[0]>=6||R.blackberry&&R.version>=10.1||R.chromium&&R.version>=20?R.a=y:R.msie&&R.version<10||R.chrome&&R.version<20||R.firefox&&R.version<20||R.safari&&R.version<6||R.opera&&R.version<10||R.ios&&R.osversion&&R.osversion.split(".")[0]<6||R.chromium&&R.version<20?R.c=y:R.x=y,R}var E=m(typeof navigator!="undefined"&&navigator.userAgent||"");E.test=function(n){for(var t=0;t<n.length;++t){var a=n[t];if(typeof a=="string"&&a in E)return!0}return!1};function p(n){return n.split(".").length}function v(n,t){var a=[],o;if(Array.prototype.map)return Array.prototype.map.call(n,t);for(o=0;o<n.length;o++)a.push(t(n[o]));return a}function f(n){for(var t=Math.max(p(n[0]),p(n[1])),a=v(n,function(o){var r=t-p(o);return o=o+new Array(r+1).join(".0"),v(o.split("."),function(c){return new Array(20-c.length).join("0")+c}).reverse()});--t>=0;){if(a[0][t]>a[1][t])return 1;if(a[0][t]===a[1][t]){if(t===0)return 0}else return-1}}function d(n,t,a){var o=E;typeof t=="string"&&(a=t,t=void 0),t===void 0&&(t=!1),a&&(o=m(a));var r=""+o.version;for(var c in n)if(n.hasOwnProperty(c)&&o[c]){if(typeof n[c]!="string")throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(n));return f([r,n[c]])<0}return t}function l(n,t,a){return!d(n,t,a)}return E.isUnsupportedBrowser=d,E.compareVersions=f,E.check=l,E._detect=m,E.detect=m,E})},{}],71:[function(B,N,i){},{}],72:[function(B,N,i){var y=B("buffer").Buffer,m=y.isEncoding||function(l){switch(l&&l.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 E(l){if(l&&!m(l))throw new Error("Unknown encoding: "+l)}var p=i.StringDecoder=function(l){this.encoding=(l||"utf8").toLowerCase().replace(/[-_]/,""),E(l);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=v;return}this.charBuffer=new y(6),this.charReceived=0,this.charLength=0};p.prototype.write=function(l){for(var n="";this.charLength;){var t=l.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:l.length;if(l.copy(this.charBuffer,this.charReceived,0,t),this.charReceived+=t,this.charReceived<this.charLength)return"";l=l.slice(t,l.length),n=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var o=n.charCodeAt(n.length-1);if(o>=55296&&o<=56319){this.charLength+=this.surrogateSize,n="";continue}if(this.charReceived=this.charLength=0,l.length===0)return n;break}this.detectIncompleteChar(l);var a=l.length;this.charLength&&(l.copy(this.charBuffer,0,l.length-this.charReceived,a),a-=this.charReceived),n+=l.toString(this.encoding,0,a);var a=n.length-1,o=n.charCodeAt(a);if(o>=55296&&o<=56319){var r=this.surrogateSize;return this.charLength+=r,this.charReceived+=r,this.charBuffer.copy(this.charBuffer,r,0,r),l.copy(this.charBuffer,0,0,r),n.substring(0,a)}return n},p.prototype.detectIncompleteChar=function(l){for(var n=l.length>=3?3:l.length;n>0;n--){var t=l[l.length-n];if(n==1&&t>>5==6){this.charLength=2;break}if(n<=2&&t>>4==14){this.charLength=3;break}if(n<=3&&t>>3==30){this.charLength=4;break}}this.charReceived=n},p.prototype.end=function(l){var n="";if(l&&l.length&&(n=this.write(l)),this.charReceived){var t=this.charReceived,a=this.charBuffer,o=this.encoding;n+=a.slice(0,t).toString(o)}return n};function v(l){return l.toString(this.encoding)}function f(l){this.charReceived=l.length%2,this.charLength=this.charReceived?2:0}function d(l){this.charReceived=l.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(B,N,i){(function(y,m){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var E=B("base64-js"),p=B("ieee754"),v=B("isarray");i.Buffer=m,i.SlowBuffer=h,i.INSPECT_MAX_BYTES=50,m.TYPED_ARRAY_SUPPORT=y.TYPED_ARRAY_SUPPORT!==void 0?y.TYPED_ARRAY_SUPPORT:f(),i.kMaxLength=d();function f(){try{var te=new Uint8Array(1);return te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},te.foo()===42&&typeof te.subarray=="function"&&te.subarray(1,1).byteLength===0}catch(X){return!1}}function d(){return m.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(te,X){if(d()<X)throw new RangeError("Invalid typed array length");return m.TYPED_ARRAY_SUPPORT?(te=new Uint8Array(X),te.__proto__=m.prototype):(te===null&&(te=new m(X)),te.length=X),te}function m(te,X,z){if(!m.TYPED_ARRAY_SUPPORT&&!(this instanceof m))return new m(te,X,z);if(typeof te=="number"){if(typeof X=="string")throw new Error("If encoding is specified then the first argument must be a string");return o(this,te)}return n(this,te,X,z)}m.poolSize=8192,m._augment=function(te){return te.__proto__=m.prototype,te};function n(te,X,z,Y){if(typeof X=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&X instanceof ArrayBuffer?e(te,X,z,Y):typeof X=="string"?r(te,X,z):s(te,X)}m.from=function(te,X,z){return n(null,te,X,z)},m.TYPED_ARRAY_SUPPORT&&(m.prototype.__proto__=Uint8Array.prototype,m.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&m[Symbol.species]===m&&Object.defineProperty(m,Symbol.species,{value:null,configurable:!0}));function t(te){if(typeof te!="number")throw new TypeError('"size" argument must be a number');if(te<0)throw new RangeError('"size" argument must not be negative')}function a(te,X,z,Y){return t(X),X<=0?l(te,X):z!==void 0?typeof Y=="string"?l(te,X).fill(z,Y):l(te,X).fill(z):l(te,X)}m.alloc=function(te,X,z){return a(null,te,X,z)};function o(te,X){if(t(X),te=l(te,X<0?0:u(X)|0),!m.TYPED_ARRAY_SUPPORT)for(var z=0;z<X;++z)te[z]=0;return te}m.allocUnsafe=function(te){return o(null,te)},m.allocUnsafeSlow=function(te){return o(null,te)};function r(te,X,z){if((typeof z!="string"||z==="")&&(z="utf8"),!m.isEncoding(z))throw new TypeError('"encoding" must be a valid string encoding');var Y=g(X,z)|0;te=l(te,Y);var pe=te.write(X,z);return pe!==Y&&(te=te.slice(0,pe)),te}function c(te,X){var z=X.length<0?0:u(X.length)|0;te=l(te,z);for(var Y=0;Y<z;Y+=1)te[Y]=X[Y]&255;return te}function e(te,X,z,Y){if(X.byteLength,z<0||X.byteLength<z)throw new RangeError("'offset' is out of bounds");if(X.byteLength<z+(Y||0))throw new RangeError("'length' is out of bounds");return z===void 0&&Y===void 0?X=new Uint8Array(X):Y===void 0?X=new Uint8Array(X,z):X=new Uint8Array(X,z,Y),m.TYPED_ARRAY_SUPPORT?(te=X,te.__proto__=m.prototype):te=c(te,X),te}function s(te,X){if(m.isBuffer(X)){var z=u(X.length)|0;return te=l(te,z),te.length===0||X.copy(te,0,0,z),te}if(X){if(typeof ArrayBuffer!="undefined"&&X.buffer instanceof ArrayBuffer||"length"in X)return typeof X.length!="number"||Ue(X.length)?l(te,0):c(te,X);if(X.type==="Buffer"&&v(X.data))return c(te,X.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(te){if(te>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return te|0}function h(te){return+te!=te&&(te=0),m.alloc(+te)}m.isBuffer=function(X){return!!(X!=null&&X._isBuffer)},m.compare=function(X,z){if(!m.isBuffer(X)||!m.isBuffer(z))throw new TypeError("Arguments must be Buffers");if(X===z)return 0;for(var Y=X.length,pe=z.length,se=0,Te=Math.min(Y,pe);se<Te;++se)if(X[se]!==z[se]){Y=X[se],pe=z[se];break}return Y<pe?-1:pe<Y?1:0},m.isEncoding=function(X){switch(String(X).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}},m.concat=function(X,z){if(!v(X))throw new TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return m.alloc(0);var Y;if(z===void 0)for(z=0,Y=0;Y<X.length;++Y)z+=X[Y].length;var pe=m.allocUnsafe(z),se=0;for(Y=0;Y<X.length;++Y){var Te=X[Y];if(!m.isBuffer(Te))throw new TypeError('"list" argument must be an Array of Buffers');Te.copy(pe,se),se+=Te.length}return pe};function g(te,X){if(m.isBuffer(te))return te.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(te)||te instanceof ArrayBuffer))return te.byteLength;typeof te!="string"&&(te=""+te);var z=te.length;if(z===0)return 0;for(var Y=!1;;)switch(X){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":case void 0:return Fe(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Q(te).length;default:if(Y)return Fe(te).length;X=(""+X).toLowerCase(),Y=!0}}m.byteLength=g;function A(te,X,z){var Y=!1;if((X===void 0||X<0)&&(X=0),X>this.length)return"";if((z===void 0||z>this.length)&&(z=this.length),z<=0)return"";if(z>>>=0,X>>>=0,z<=X)return"";for(te||(te="utf8");;)switch(te){case"hex":return H(this,X,z);case"utf8":case"utf-8":return k(this,X,z);case"ascii":return V(this,X,z);case"latin1":case"binary":return D(this,X,z);case"base64":return M(this,X,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,X,z);default:if(Y)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),Y=!0}}m.prototype._isBuffer=!0;function w(te,X,z){var Y=te[X];te[X]=te[z],te[z]=Y}m.prototype.swap16=function(){var X=this.length;if(X%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var z=0;z<X;z+=2)w(this,z,z+1);return this},m.prototype.swap32=function(){var X=this.length;if(X%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var z=0;z<X;z+=4)w(this,z,z+3),w(this,z+1,z+2);return this},m.prototype.swap64=function(){var X=this.length;if(X%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var z=0;z<X;z+=8)w(this,z,z+7),w(this,z+1,z+6),w(this,z+2,z+5),w(this,z+3,z+4);return this},m.prototype.toString=function(){var X=this.length|0;return X===0?"":arguments.length===0?k(this,0,X):A.apply(this,arguments)},m.prototype.equals=function(X){if(!m.isBuffer(X))throw new TypeError("Argument must be a Buffer");return this===X?!0:m.compare(this,X)===0},m.prototype.inspect=function(){var X="",z=i.INSPECT_MAX_BYTES;return this.length>0&&(X=this.toString("hex",0,z).match(/.{2}/g).join(" "),this.length>z&&(X+=" ... ")),"<Buffer "+X+">"},m.prototype.compare=function(X,z,Y,pe,se){if(!m.isBuffer(X))throw new TypeError("Argument must be a Buffer");if(z===void 0&&(z=0),Y===void 0&&(Y=X?X.length:0),pe===void 0&&(pe=0),se===void 0&&(se=this.length),z<0||Y>X.length||pe<0||se>this.length)throw new RangeError("out of range index");if(pe>=se&&z>=Y)return 0;if(pe>=se)return-1;if(z>=Y)return 1;if(z>>>=0,Y>>>=0,pe>>>=0,se>>>=0,this===X)return 0;for(var Te=se-pe,Se=Y-z,ie=Math.min(Te,Se),de=this.slice(pe,se),_e=X.slice(z,Y),We=0;We<ie;++We)if(de[We]!==_e[We]){Te=de[We],Se=_e[We];break}return Te<Se?-1:Se<Te?1:0};function b(te,X,z,Y,pe){if(te.length===0)return-1;if(typeof z=="string"?(Y=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,isNaN(z)&&(z=pe?0:te.length-1),z<0&&(z=te.length+z),z>=te.length){if(pe)return-1;z=te.length-1}else if(z<0)if(pe)z=0;else return-1;if(typeof X=="string"&&(X=m.from(X,Y)),m.isBuffer(X))return X.length===0?-1:S(te,X,z,Y,pe);if(typeof X=="number")return X=X&255,m.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(te,X,z):Uint8Array.prototype.lastIndexOf.call(te,X,z):S(te,[X],z,Y,pe);throw new TypeError("val must be string, number or Buffer")}function S(te,X,z,Y,pe){var se=1,Te=te.length,Se=X.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(te.length<2||X.length<2)return-1;se=2,Te/=2,Se/=2,z/=2}function ie(tt,Oe){return se===1?tt[Oe]:tt.readUInt16BE(Oe*se)}var de;if(pe){var _e=-1;for(de=z;de<Te;de++)if(ie(te,de)===ie(X,_e===-1?0:de-_e)){if(_e===-1&&(_e=de),de-_e+1===Se)return _e*se}else _e!==-1&&(de-=de-_e),_e=-1}else for(z+Se>Te&&(z=Te-Se),de=z;de>=0;de--){for(var We=!0,at=0;at<Se;at++)if(ie(te,de+at)!==ie(X,at)){We=!1;break}if(We)return de}return-1}m.prototype.includes=function(X,z,Y){return this.indexOf(X,z,Y)!==-1},m.prototype.indexOf=function(X,z,Y){return b(this,X,z,Y,!0)},m.prototype.lastIndexOf=function(X,z,Y){return b(this,X,z,Y,!1)};function _(te,X,z,Y){z=Number(z)||0;var pe=te.length-z;Y?(Y=Number(Y),Y>pe&&(Y=pe)):Y=pe;var se=X.length;if(se%2!==0)throw new TypeError("Invalid hex string");Y>se/2&&(Y=se/2);for(var Te=0;Te<Y;++Te){var Se=parseInt(X.substr(Te*2,2),16);if(isNaN(Se))return Te;te[z+Te]=Se}return Te}function T(te,X,z,Y){return ae(Fe(X,te.length-z),te,z,Y)}function x(te,X,z,Y){return ae(fe(X),te,z,Y)}function C(te,X,z,Y){return x(te,X,z,Y)}function I(te,X,z,Y){return ae(Q(X),te,z,Y)}function L(te,X,z,Y){return ae(Ne(X,te.length-z),te,z,Y)}m.prototype.write=function(X,z,Y,pe){if(z===void 0)pe="utf8",Y=this.length,z=0;else if(Y===void 0&&typeof z=="string")pe=z,Y=this.length,z=0;else if(isFinite(z))z=z|0,isFinite(Y)?(Y=Y|0,pe===void 0&&(pe="utf8")):(pe=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var se=this.length-z;if((Y===void 0||Y>se)&&(Y=se),X.length>0&&(Y<0||z<0)||z>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");for(var Te=!1;;)switch(pe){case"hex":return _(this,X,z,Y);case"utf8":case"utf-8":return T(this,X,z,Y);case"ascii":return x(this,X,z,Y);case"latin1":case"binary":return C(this,X,z,Y);case"base64":return I(this,X,z,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,X,z,Y);default:if(Te)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),Te=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(te,X,z){return X===0&&z===te.length?E.fromByteArray(te):E.fromByteArray(te.slice(X,z))}function k(te,X,z){z=Math.min(te.length,z);for(var Y=[],pe=X;pe<z;){var se=te[pe],Te=null,Se=se>239?4:se>223?3:se>191?2:1;if(pe+Se<=z){var ie,de,_e,We;switch(Se){case 1:se<128&&(Te=se);break;case 2:ie=te[pe+1],(ie&192)===128&&(We=(se&31)<<6|ie&63,We>127&&(Te=We));break;case 3:ie=te[pe+1],de=te[pe+2],(ie&192)===128&&(de&192)===128&&(We=(se&15)<<12|(ie&63)<<6|de&63,We>2047&&(We<55296||We>57343)&&(Te=We));break;case 4:ie=te[pe+1],de=te[pe+2],_e=te[pe+3],(ie&192)===128&&(de&192)===128&&(_e&192)===128&&(We=(se&15)<<18|(ie&63)<<12|(de&63)<<6|_e&63,We>65535&&We<1114112&&(Te=We))}}Te===null?(Te=65533,Se=1):Te>65535&&(Te-=65536,Y.push(Te>>>10&1023|55296),Te=56320|Te&1023),Y.push(Te),pe+=Se}return j(Y)}var R=4096;function j(te){var X=te.length;if(X<=R)return String.fromCharCode.apply(String,te);for(var z="",Y=0;Y<X;)z+=String.fromCharCode.apply(String,te.slice(Y,Y+=R));return z}function V(te,X,z){var Y="";z=Math.min(te.length,z);for(var pe=X;pe<z;++pe)Y+=String.fromCharCode(te[pe]&127);return Y}function D(te,X,z){var Y="";z=Math.min(te.length,z);for(var pe=X;pe<z;++pe)Y+=String.fromCharCode(te[pe]);return Y}function H(te,X,z){var Y=te.length;(!X||X<0)&&(X=0),(!z||z<0||z>Y)&&(z=Y);for(var pe="",se=X;se<z;++se)pe+=Ce(te[se]);return pe}function P(te,X,z){for(var Y=te.slice(X,z),pe="",se=0;se<Y.length;se+=2)pe+=String.fromCharCode(Y[se]+Y[se+1]*256);return pe}m.prototype.slice=function(X,z){var Y=this.length;X=~~X,z=z===void 0?Y:~~z,X<0?(X+=Y,X<0&&(X=0)):X>Y&&(X=Y),z<0?(z+=Y,z<0&&(z=0)):z>Y&&(z=Y),z<X&&(z=X);var pe;if(m.TYPED_ARRAY_SUPPORT)pe=this.subarray(X,z),pe.__proto__=m.prototype;else{var se=z-X;pe=new m(se,void 0);for(var Te=0;Te<se;++Te)pe[Te]=this[Te+X]}return pe};function K(te,X,z){if(te%1!==0||te<0)throw new RangeError("offset is not uint");if(te+X>z)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUIntLE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X],se=1,Te=0;++Te<z&&(se*=256);)pe+=this[X+Te]*se;return pe},m.prototype.readUIntBE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X+--z],se=1;z>0&&(se*=256);)pe+=this[X+--z]*se;return pe},m.prototype.readUInt8=function(X,z){return z||K(X,1,this.length),this[X]},m.prototype.readUInt16LE=function(X,z){return z||K(X,2,this.length),this[X]|this[X+1]<<8},m.prototype.readUInt16BE=function(X,z){return z||K(X,2,this.length),this[X]<<8|this[X+1]},m.prototype.readUInt32LE=function(X,z){return z||K(X,4,this.length),(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216},m.prototype.readUInt32BE=function(X,z){return z||K(X,4,this.length),this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])},m.prototype.readIntLE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=this[X],se=1,Te=0;++Te<z&&(se*=256);)pe+=this[X+Te]*se;return se*=128,pe>=se&&(pe-=Math.pow(2,8*z)),pe},m.prototype.readIntBE=function(X,z,Y){X=X|0,z=z|0,Y||K(X,z,this.length);for(var pe=z,se=1,Te=this[X+--pe];pe>0&&(se*=256);)Te+=this[X+--pe]*se;return se*=128,Te>=se&&(Te-=Math.pow(2,8*z)),Te},m.prototype.readInt8=function(X,z){return z||K(X,1,this.length),this[X]&128?(255-this[X]+1)*-1:this[X]},m.prototype.readInt16LE=function(X,z){z||K(X,2,this.length);var Y=this[X]|this[X+1]<<8;return Y&32768?Y|4294901760:Y},m.prototype.readInt16BE=function(X,z){z||K(X,2,this.length);var Y=this[X+1]|this[X]<<8;return Y&32768?Y|4294901760:Y},m.prototype.readInt32LE=function(X,z){return z||K(X,4,this.length),this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24},m.prototype.readInt32BE=function(X,z){return z||K(X,4,this.length),this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]},m.prototype.readFloatLE=function(X,z){return z||K(X,4,this.length),p.read(this,X,!0,23,4)},m.prototype.readFloatBE=function(X,z){return z||K(X,4,this.length),p.read(this,X,!1,23,4)},m.prototype.readDoubleLE=function(X,z){return z||K(X,8,this.length),p.read(this,X,!0,52,8)},m.prototype.readDoubleBE=function(X,z){return z||K(X,8,this.length),p.read(this,X,!1,52,8)};function U(te,X,z,Y,pe,se){if(!m.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(X>pe||X<se)throw new RangeError('"value" argument is out of bounds');if(z+Y>te.length)throw new RangeError("Index out of range")}m.prototype.writeUIntLE=function(X,z,Y,pe){if(X=+X,z=z|0,Y=Y|0,!pe){var se=Math.pow(2,8*Y)-1;U(this,X,z,Y,se,0)}var Te=1,Se=0;for(this[z]=X&255;++Se<Y&&(Te*=256);)this[z+Se]=X/Te&255;return z+Y},m.prototype.writeUIntBE=function(X,z,Y,pe){if(X=+X,z=z|0,Y=Y|0,!pe){var se=Math.pow(2,8*Y)-1;U(this,X,z,Y,se,0)}var Te=Y-1,Se=1;for(this[z+Te]=X&255;--Te>=0&&(Se*=256);)this[z+Te]=X/Se&255;return z+Y},m.prototype.writeUInt8=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,1,255,0),m.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),this[z]=X&255,z+1};function G(te,X,z,Y){X<0&&(X=65535+X+1);for(var pe=0,se=Math.min(te.length-z,2);pe<se;++pe)te[z+pe]=(X&255<<8*(Y?pe:1-pe))>>>(Y?pe:1-pe)*8}m.prototype.writeUInt16LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):G(this,X,z,!0),z+2},m.prototype.writeUInt16BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,65535,0),m.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):G(this,X,z,!1),z+2};function W(te,X,z,Y){X<0&&(X=4294967295+X+1);for(var pe=0,se=Math.min(te.length-z,4);pe<se;++pe)te[z+pe]=X>>>(Y?pe:3-pe)*8&255}m.prototype.writeUInt32LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[z+3]=X>>>24,this[z+2]=X>>>16,this[z+1]=X>>>8,this[z]=X&255):W(this,X,z,!0),z+4},m.prototype.writeUInt32BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,4294967295,0),m.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):W(this,X,z,!1),z+4},m.prototype.writeIntLE=function(X,z,Y,pe){if(X=+X,z=z|0,!pe){var se=Math.pow(2,8*Y-1);U(this,X,z,Y,se-1,-se)}var Te=0,Se=1,ie=0;for(this[z]=X&255;++Te<Y&&(Se*=256);)X<0&&ie===0&&this[z+Te-1]!==0&&(ie=1),this[z+Te]=(X/Se>>0)-ie&255;return z+Y},m.prototype.writeIntBE=function(X,z,Y,pe){if(X=+X,z=z|0,!pe){var se=Math.pow(2,8*Y-1);U(this,X,z,Y,se-1,-se)}var Te=Y-1,Se=1,ie=0;for(this[z+Te]=X&255;--Te>=0&&(Se*=256);)X<0&&ie===0&&this[z+Te+1]!==0&&(ie=1),this[z+Te]=(X/Se>>0)-ie&255;return z+Y},m.prototype.writeInt8=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,1,127,-128),m.TYPED_ARRAY_SUPPORT||(X=Math.floor(X)),X<0&&(X=255+X+1),this[z]=X&255,z+1},m.prototype.writeInt16LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8):G(this,X,z,!0),z+2},m.prototype.writeInt16BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,2,32767,-32768),m.TYPED_ARRAY_SUPPORT?(this[z]=X>>>8,this[z+1]=X&255):G(this,X,z,!1),z+2},m.prototype.writeInt32LE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,2147483647,-2147483648),m.TYPED_ARRAY_SUPPORT?(this[z]=X&255,this[z+1]=X>>>8,this[z+2]=X>>>16,this[z+3]=X>>>24):W(this,X,z,!0),z+4},m.prototype.writeInt32BE=function(X,z,Y){return X=+X,z=z|0,Y||U(this,X,z,4,2147483647,-2147483648),X<0&&(X=4294967295+X+1),m.TYPED_ARRAY_SUPPORT?(this[z]=X>>>24,this[z+1]=X>>>16,this[z+2]=X>>>8,this[z+3]=X&255):W(this,X,z,!1),z+4};function Z(te,X,z,Y,pe,se){if(z+Y>te.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function J(te,X,z,Y,pe){return pe||Z(te,X,z,4,34028234663852886e22,-34028234663852886e22),p.write(te,X,z,Y,23,4),z+4}m.prototype.writeFloatLE=function(X,z,Y){return J(this,X,z,!0,Y)},m.prototype.writeFloatBE=function(X,z,Y){return J(this,X,z,!1,Y)};function ve(te,X,z,Y,pe){return pe||Z(te,X,z,8,17976931348623157e292,-17976931348623157e292),p.write(te,X,z,Y,52,8),z+8}m.prototype.writeDoubleLE=function(X,z,Y){return ve(this,X,z,!0,Y)},m.prototype.writeDoubleBE=function(X,z,Y){return ve(this,X,z,!1,Y)},m.prototype.copy=function(X,z,Y,pe){if(Y||(Y=0),!pe&&pe!==0&&(pe=this.length),z>=X.length&&(z=X.length),z||(z=0),pe>0&&pe<Y&&(pe=Y),pe===Y)return 0;if(X.length===0||this.length===0)return 0;if(z<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("sourceStart out of bounds");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),X.length-z<pe-Y&&(pe=X.length-z+Y);var se=pe-Y,Te;if(this===X&&Y<z&&z<pe)for(Te=se-1;Te>=0;--Te)X[Te+z]=this[Te+Y];else if(se<1e3||!m.TYPED_ARRAY_SUPPORT)for(Te=0;Te<se;++Te)X[Te+z]=this[Te+Y];else Uint8Array.prototype.set.call(X,this.subarray(Y,Y+se),z);return se},m.prototype.fill=function(X,z,Y,pe){if(typeof X=="string"){if(typeof z=="string"?(pe=z,z=0,Y=this.length):typeof Y=="string"&&(pe=Y,Y=this.length),X.length===1){var se=X.charCodeAt(0);se<256&&(X=se)}if(pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!m.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe)}else typeof X=="number"&&(X=X&255);if(z<0||this.length<z||this.length<Y)throw new RangeError("Out of range index");if(Y<=z)return this;z=z>>>0,Y=Y===void 0?this.length:Y>>>0,X||(X=0);var Te;if(typeof X=="number")for(Te=z;Te<Y;++Te)this[Te]=X;else{var Se=m.isBuffer(X)?X:Fe(new m(X,pe).toString()),ie=Se.length;for(Te=0;Te<Y-z;++Te)this[Te+z]=Se[Te%ie]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function ce(te){if(te=be(te).replace(q,""),te.length<2)return"";for(;te.length%4!==0;)te=te+"=";return te}function be(te){return te.trim?te.trim():te.replace(/^\s+|\s+$/g,"")}function Ce(te){return te<16?"0"+te.toString(16):te.toString(16)}function Fe(te,X){X=X||Infinity;for(var z,Y=te.length,pe=null,se=[],Te=0;Te<Y;++Te){if(z=te.charCodeAt(Te),z>55295&&z<57344){if(!pe){if(z>56319){(X-=3)>-1&&se.push(239,191,189);continue}else if(Te+1===Y){(X-=3)>-1&&se.push(239,191,189);continue}pe=z;continue}if(z<56320){(X-=3)>-1&&se.push(239,191,189),pe=z;continue}z=(pe-55296<<10|z-56320)+65536}else pe&&((X-=3)>-1&&se.push(239,191,189));if(pe=null,z<128){if((X-=1)<0)break;se.push(z)}else if(z<2048){if((X-=2)<0)break;se.push(z>>6|192,z&63|128)}else if(z<65536){if((X-=3)<0)break;se.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((X-=4)<0)break;se.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return se}function fe(te){for(var X=[],z=0;z<te.length;++z)X.push(te.charCodeAt(z)&255);return X}function Ne(te,X){for(var z,Y,pe,se=[],Te=0;Te<te.length&&!((X-=2)<0);++Te)z=te.charCodeAt(Te),Y=z>>8,pe=z%256,se.push(pe),se.push(Y);return se}function Q(te){return E.toByteArray(ce(te))}function ae(te,X,z,Y){for(var pe=0;pe<Y&&!(pe+z>=X.length||pe>=te.length);++pe)X[pe+z]=te[pe];return pe}function Ue(te){return te!==te}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(B,N,i){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(B,N,i){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(B,N,i){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var y=Array.prototype.slice;N.exports=m;function m(p,v){if(!(this instanceof m))return new m(p,v);this.src=p,this._withAccess=v}m.prototype.withAccess=function(p){return this._withAccess=p!==!1,this},m.prototype.pick=function(p){return Array.isArray(p)||(p=y.call(arguments)),p.length&&(this.keys=p),this},m.prototype.to=function(p){if(p=p||{},!this.src)return p;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var f=0;f<v.length;f++){if(d=v[f],p[d]!==void 0)continue;p[d]=this.src[d]}return p}for(var f=0;f<v.length;f++){var d=v[f];if(!E(p,d))continue;var l=this.src.__lookupGetter__(d),n=this.src.__lookupSetter__(d);l&&p.__defineGetter__(d,l),n&&p.__defineSetter__(d,n),!l&&!n&&(p[d]=this.src[d])}return p},m.prototype.toCover=function(p){for(var v=this.keys||Object.keys(this.src),f=0;f<v.length;f++){var d=v[f];delete p[d];var l=this.src.__lookupGetter__(d),n=this.src.__lookupSetter__(d);l&&p.__defineGetter__(d,l),n&&p.__defineSetter__(d,n),!l&&!n&&(p[d]=this.src[d])}},m.prototype.override=m.prototype.toCover,m.prototype.and=function(p){var v={};return this.to(v),this.src=p,this.to(v),this.src=v,this};function E(p,v){return p[v]===void 0&&p.__lookupGetter__(v)===void 0&&p.__lookupSetter__(v)===void 0}},{}],77:[function(B,N,i){B("../../modules/es6.string.iterator"),B("../../modules/es6.array.from"),N.exports=B("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(B,N,i){var y=B("../../modules/_core"),m=y.JSON||(y.JSON={stringify:JSON.stringify});N.exports=function(p){return m.stringify.apply(m,arguments)}},{"../../modules/_core":99}],79:[function(B,N,i){B("../../modules/es6.object.assign"),N.exports=B("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(B,N,i){B("../../modules/es6.object.create");var y=B("../../modules/_core").Object;N.exports=function(E,p){return y.create(E,p)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(B,N,i){B("../../modules/es6.object.define-property");var y=B("../../modules/_core").Object;N.exports=function(E,p,v){return y.defineProperty(E,p,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(B,N,i){B("../../modules/es7.object.entries"),N.exports=B("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(B,N,i){B("../../modules/es6.object.get-own-property-names");var y=B("../../modules/_core").Object;N.exports=function(E){return y.getOwnPropertyNames(E)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(B,N,i){B("../../modules/es6.object.get-prototype-of"),N.exports=B("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(B,N,i){B("../../modules/es6.object.keys"),N.exports=B("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(B,N,i){B("../modules/es6.object.to-string"),B("../modules/es6.string.iterator"),B("../modules/web.dom.iterable"),B("../modules/es6.promise"),B("../modules/es7.promise.finally"),B("../modules/es7.promise.try"),N.exports=B("../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(B,N,i){B("../modules/web.immediate"),N.exports=B("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(B,N,i){B("../../modules/es6.string.from-code-point"),N.exports=B("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(B,N,i){B("../../modules/es6.function.has-instance"),N.exports=B("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(B,N,i){B("../../modules/es6.symbol"),B("../../modules/es6.object.to-string"),B("../../modules/es7.symbol.async-iterator"),B("../../modules/es7.symbol.observable"),N.exports=B("../../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(B,N,i){B("../../modules/es6.string.iterator"),B("../../modules/web.dom.iterable"),N.exports=B("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(B,N,i){N.exports=function(y){if(typeof y!="function")throw TypeError(y+" is not a function!");return y}},{}],93:[function(B,N,i){N.exports=function(){}},{}],94:[function(B,N,i){N.exports=function(y,m,E,p){if(!(y instanceof m)||p!==void 0&&p in y)throw TypeError(E+": incorrect invocation!");return y}},{}],95:[function(B,N,i){var y=B("./_is-object");N.exports=function(m){if(!y(m))throw TypeError(m+" is not an object!");return m}},{"./_is-object":119}],96:[function(B,N,i){var y=B("./_to-iobject"),m=B("./_to-length"),E=B("./_to-absolute-index");N.exports=function(p){return function(v,f,d){var l=y(v),n=m(l.length),t=E(d,n),a;if(p&&f!=f){for(;n>t;)if(a=l[t++],a!=a)return!0}else for(;n>t;t++)if((p||t in l)&&l[t]===f)return p||t||0;return!p&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(B,N,i){var y=B("./_cof"),m=B("./_wks")("toStringTag"),E=y(function(){return arguments}())=="Arguments",p=function(f,d){try{return f[d]}catch(l){}};N.exports=function(v){var f,d,l;return v===void 0?"Undefined":v===null?"Null":typeof(d=p(f=Object(v),m))=="string"?d:E?y(f):(l=y(f))=="Object"&&typeof f.callee=="function"?"Arguments":l}},{"./_cof":98,"./_wks":166}],98:[function(B,N,i){var y={}.toString;N.exports=function(m){return y.call(m).slice(8,-1)}},{}],99:[function(B,N,i){var y=N.exports={version:"2.6.11"};typeof __e=="number"&&(__e=y)},{}],100:[function(B,N,i){"use strict";var y=B("./_object-dp"),m=B("./_property-desc");N.exports=function(E,p,v){p in E?y.f(E,p,m(0,v)):E[p]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(B,N,i){var y=B("./_a-function");N.exports=function(m,E,p){if(y(m),E===void 0)return m;switch(p){case 1:return function(v){return m.call(E,v)};case 2:return function(v,f){return m.call(E,v,f)};case 3:return function(v,f,d){return m.call(E,v,f,d)}}return function(){return m.apply(E,arguments)}}},{"./_a-function":92}],102:[function(B,N,i){N.exports=function(y){if(y==null)throw TypeError("Can't call method on "+y);return y}},{}],103:[function(B,N,i){N.exports=!B("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(B,N,i){var y=B("./_is-object"),m=B("./_global").document,E=y(m)&&y(m.createElement);N.exports=function(p){return E?m.createElement(p):{}}},{"./_global":110,"./_is-object":119}],105:[function(B,N,i){N.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(B,N,i){var y=B("./_object-keys"),m=B("./_object-gops"),E=B("./_object-pie");N.exports=function(p){var v=y(p),f=m.f;if(f)for(var d=f(p),l=E.f,n=0,t;d.length>n;)l.call(p,t=d[n++])&&v.push(t);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(B,N,i){var y=B("./_global"),m=B("./_core"),E=B("./_ctx"),p=B("./_hide"),v=B("./_has"),f="prototype",d=function l(n,t,a){var o=n&l.F,r=n&l.G,c=n&l.S,e=n&l.P,s=n&l.B,u=n&l.W,h=r?m:m[t]||(m[t]={}),g=h[f],A=r?y:c?y[t]:(y[t]||{})[f],w,b,S;r&&(a=t);for(w in a){if(b=!o&&A&&A[w]!==void 0,b&&v(h,w))continue;S=b?A[w]:a[w],h[w]=r&&typeof A[w]!="function"?a[w]:s&&b?E(S,y):u&&A[w]==S?function(_){var T=function(C,I,L){if(this instanceof _){switch(arguments.length){case 0:return new _;case 1:return new _(C);case 2:return new _(C,I)}return new _(C,I,L)}return _.apply(this,arguments)};return T[f]=_[f],T}(S):e&&typeof S=="function"?E(Function.call,S):S,e&&((h.virtual||(h.virtual={}))[w]=S,n&l.R&&g&&!g[w]&&p(g,w,S))}};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(B,N,i){N.exports=function(y){try{return!!y()}catch(m){return!0}}},{}],109:[function(B,N,i){var y=B("./_ctx"),m=B("./_iter-call"),E=B("./_is-array-iter"),p=B("./_an-object"),v=B("./_to-length"),f=B("./core.get-iterator-method"),d={},l={},i=N.exports=function(n,t,a,o,r){var c=r?function(){return n}:f(n),e=y(a,o,t?2:1),s=0,u,h,g,A;if(typeof c!="function")throw TypeError(n+" is not iterable!");if(E(c)){for(u=v(n.length);u>s;s++)if(A=t?e(p(h=n[s])[0],h[1]):e(n[s]),A===d||A===l)return A}else for(g=c.call(n);!(h=g.next()).done;)if(A=m(g,e,h.value,t),A===d||A===l)return A};i.BREAK=d,i.RETURN=l},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(B,N,i){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(B,N,i){var y={}.hasOwnProperty;N.exports=function(m,E){return y.call(m,E)}},{}],112:[function(B,N,i){var y=B("./_object-dp"),m=B("./_property-desc");N.exports=B("./_descriptors")?function(E,p,v){return y.f(E,p,m(1,v))}:function(E,p,v){return E[p]=v,E}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(B,N,i){var y=B("./_global").document;N.exports=y&&y.documentElement},{"./_global":110}],114:[function(B,N,i){N.exports=!B("./_descriptors")&&!B("./_fails")(function(){return Object.defineProperty(B("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(B,N,i){N.exports=function(y,m,E){var p=E===void 0;switch(m.length){case 0:return p?y():y.call(E);case 1:return p?y(m[0]):y.call(E,m[0]);case 2:return p?y(m[0],m[1]):y.call(E,m[0],m[1]);case 3:return p?y(m[0],m[1],m[2]):y.call(E,m[0],m[1],m[2]);case 4:return p?y(m[0],m[1],m[2],m[3]):y.call(E,m[0],m[1],m[2],m[3])}return y.apply(E,m)}},{}],116:[function(B,N,i){var y=B("./_cof");N.exports=Object("z").propertyIsEnumerable(0)?Object:function(m){return y(m)=="String"?m.split(""):Object(m)}},{"./_cof":98}],117:[function(B,N,i){var y=B("./_iterators"),m=B("./_wks")("iterator"),E=Array.prototype;N.exports=function(p){return p!==void 0&&(y.Array===p||E[m]===p)}},{"./_iterators":125,"./_wks":166}],118:[function(B,N,i){var y=B("./_cof");N.exports=Array.isArray||function(E){return y(E)=="Array"}},{"./_cof":98}],119:[function(B,N,i){N.exports=function(y){return typeof y=="object"?y!==null:typeof y=="function"}},{}],120:[function(B,N,i){var y=B("./_an-object");N.exports=function(m,E,p,v){try{return v?E(y(p)[0],p[1]):E(p)}catch(d){var f=m.return;throw f!==void 0&&y(f.call(m)),d}}},{"./_an-object":95}],121:[function(B,N,i){"use strict";var y=B("./_object-create"),m=B("./_property-desc"),E=B("./_set-to-string-tag"),p={};B("./_hide")(p,B("./_wks")("iterator"),function(){return this}),N.exports=function(v,f,d){v.prototype=y(p,{next:m(1,d)}),E(v,f+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(B,N,i){"use strict";var y=B("./_library"),m=B("./_export"),E=B("./_redefine"),p=B("./_hide"),v=B("./_iterators"),f=B("./_iter-create"),d=B("./_set-to-string-tag"),l=B("./_object-gpo"),n=B("./_wks")("iterator"),t=!([].keys&&"next"in[].keys()),a="@@iterator",o="keys",r="values",c=function(){return this};N.exports=function(e,s,u,h,g,A,w){f(u,s,h);var b=function(D){if(!t&&D in x)return x[D];switch(D){case o:return function(){return new u(this,D)};case r:return function(){return new u(this,D)}}return function(){return new u(this,D)}},S=s+" Iterator",_=g==r,T=!1,x=e.prototype,C=x[n]||x[a]||g&&x[g],I=C||b(g),L=g?_?b("entries"):I:void 0,M=s=="Array"&&x.entries||C,k,R,j;if(M&&(j=l(M.call(new e)),j!==Object.prototype&&j.next&&(d(j,S,!0),!y&&typeof j[n]!="function"&&p(j,n,c))),_&&C&&C.name!==r&&(T=!0,I=function(){return C.call(this)}),(!y||w)&&(t||T||!x[n])&&p(x,n,I),v[s]=I,v[S]=c,g)if(k={values:_?I:b(r),keys:A?I:b(o),entries:L},w)for(R in k)R in x||E(x,R,k[R]);else m(m.P+m.F*(t||T),s,k);return k}},{"./_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(B,N,i){var y=B("./_wks")("iterator"),m=!1;try{var E=[7][y]();E.return=function(){m=!0},Array.from(E,function(){throw 2})}catch(p){}N.exports=function(p,v){if(!v&&!m)return!1;var f=!1;try{var d=[7],l=d[y]();l.next=function(){return{done:f=!0}},d[y]=function(){return l},p(d)}catch(n){}return f}},{"./_wks":166}],124:[function(B,N,i){N.exports=function(y,m){return{value:m,done:!!y}}},{}],125:[function(B,N,i){N.exports={}},{}],126:[function(B,N,i){N.exports=!0},{}],127:[function(B,N,i){var y=B("./_uid")("meta"),m=B("./_is-object"),E=B("./_has"),p=B("./_object-dp").f,v=0,f=Object.isExtensible||function(){return!0},d=!B("./_fails")(function(){return f(Object.preventExtensions({}))}),l=function(c){p(c,y,{value:{i:"O"+ ++v,w:{}}})},n=function(c,e){if(!m(c))return typeof c=="symbol"?c:(typeof c=="string"?"S":"P")+c;if(!E(c,y)){if(!f(c))return"F";if(!e)return"E";l(c)}return c[y].i},t=function(c,e){if(!E(c,y)){if(!f(c))return!0;if(!e)return!1;l(c)}return c[y].w},a=function(c){return d&&o.NEED&&f(c)&&!E(c,y)&&l(c),c},o=N.exports={KEY:y,NEED:!1,fastKey:n,getWeak:t,onFreeze:a}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(B,N,i){var y=B("./_global"),m=B("./_task").set,E=y.MutationObserver||y.WebKitMutationObserver,p=y.process,v=y.Promise,f=B("./_cof")(p)=="process";N.exports=function(){var d,l,n,t=function(){var e,s;for(f&&(e=p.domain)&&e.exit();d;){s=d.fn,d=d.next;try{s()}catch(u){throw d?n():l=void 0,u}}l=void 0,e&&e.enter()};if(f)n=function(){p.nextTick(t)};else if(E&&!(y.navigator&&y.navigator.standalone)){var a=!0,o=document.createTextNode("");new E(t).observe(o,{characterData:!0}),n=function(){o.data=a=!a}}else if(v&&v.resolve){var r=v.resolve(void 0);n=function(){r.then(t)}}else n=function(){m.call(y,t)};return function(c){var e={fn:c,next:void 0};l&&(l.next=e),d||(d=e,n()),l=e}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(B,N,i){"use strict";var y=B("./_a-function");function m(E){var p,v;this.promise=new E(function(f,d){if(p!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");p=f,v=d}),this.resolve=y(p),this.reject=y(v)}N.exports.f=function(E){return new m(E)}},{"./_a-function":92}],130:[function(B,N,i){"use strict";var y=B("./_descriptors"),m=B("./_object-keys"),E=B("./_object-gops"),p=B("./_object-pie"),v=B("./_to-object"),f=B("./_iobject"),d=Object.assign;N.exports=!d||B("./_fails")(function(){var l={},n={},t=Symbol(),a="abcdefghijklmnopqrst";return l[t]=7,a.split("").forEach(function(o){n[o]=o}),d({},l)[t]!=7||Object.keys(d({},n)).join("")!=a})?function(n,t){for(var a=v(n),o=arguments.length,r=1,c=E.f,e=p.f;o>r;)for(var s=f(arguments[r++]),u=c?m(s).concat(c(s)):m(s),h=u.length,g=0,A;h>g;)A=u[g++],(!y||e.call(s,A))&&(a[A]=s[A]);return a}:d},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(B,N,i){var y=B("./_an-object"),m=B("./_object-dps"),E=B("./_enum-bug-keys"),p=B("./_shared-key")("IE_PROTO"),v=function(){},f="prototype",d=function(){var n=B("./_dom-create")("iframe"),t=E.length,a="<",o=">",r;for(n.style.display="none",B("./_html").appendChild(n),n.src="javascript:",r=n.contentWindow.document,r.open(),r.write(a+"script"+o+"document.F=Object"+a+"/script"+o),r.close(),d=r.F;t--;)delete d[f][E[t]];return d()};N.exports=Object.create||function(n,t){var a;return n!==null?(v[f]=y(n),a=new v,v[f]=null,a[p]=n):a=d(),t===void 0?a:m(a,t)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(B,N,i){var y=B("./_an-object"),m=B("./_ie8-dom-define"),E=B("./_to-primitive"),p=Object.defineProperty;i.f=B("./_descriptors")?Object.defineProperty:function(f,d,l){if(y(f),d=E(d,!0),y(l),m)try{return p(f,d,l)}catch(n){}if("get"in l||"set"in l)throw TypeError("Accessors not supported!");return"value"in l&&(f[d]=l.value),f}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(B,N,i){var y=B("./_object-dp"),m=B("./_an-object"),E=B("./_object-keys");N.exports=B("./_descriptors")?Object.defineProperties:function(v,f){m(v);for(var d=E(f),l=d.length,n=0,t;l>n;)y.f(v,t=d[n++],f[t]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(B,N,i){var y=B("./_object-pie"),m=B("./_property-desc"),E=B("./_to-iobject"),p=B("./_to-primitive"),v=B("./_has"),f=B("./_ie8-dom-define"),d=Object.getOwnPropertyDescriptor;i.f=B("./_descriptors")?d:function(n,t){if(n=E(n),t=p(t,!0),f)try{return d(n,t)}catch(a){}if(v(n,t))return m(!y.f.call(n,t),n[t])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(B,N,i){var y=B("./_to-iobject"),m=B("./_object-gopn").f,E={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(d){try{return m(d)}catch(l){return p.slice()}};N.exports.f=function(d){return p&&E.call(d)=="[object Window]"?v(d):m(y(d))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(B,N,i){var y=B("./_object-keys-internal"),m=B("./_enum-bug-keys").concat("length","prototype");i.f=Object.getOwnPropertyNames||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(B,N,i){i.f=Object.getOwnPropertySymbols},{}],138:[function(B,N,i){var y=B("./_has"),m=B("./_to-object"),E=B("./_shared-key")("IE_PROTO"),p=Object.prototype;N.exports=Object.getPrototypeOf||function(v){return v=m(v),y(v,E)?v[E]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?p:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(B,N,i){var y=B("./_has"),m=B("./_to-iobject"),E=B("./_array-includes")(!1),p=B("./_shared-key")("IE_PROTO");N.exports=function(v,f){var d=m(v),l=0,n=[],t;for(t in d)t!=p&&(y(d,t)&&n.push(t));for(;f.length>l;)y(d,t=f[l++])&&(~E(n,t)||n.push(t));return n}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(B,N,i){var y=B("./_object-keys-internal"),m=B("./_enum-bug-keys");N.exports=Object.keys||function(p){return y(p,m)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(B,N,i){i.f={}.propertyIsEnumerable},{}],142:[function(B,N,i){var y=B("./_export"),m=B("./_core"),E=B("./_fails");N.exports=function(p,v){var f=(m.Object||{})[p]||Object[p],d={};d[p]=v(f),y(y.S+y.F*E(function(){f(1)}),"Object",d)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(B,N,i){var y=B("./_descriptors"),m=B("./_object-keys"),E=B("./_to-iobject"),p=B("./_object-pie").f;N.exports=function(v){return function(f){for(var d=E(f),l=m(d),n=l.length,t=0,a=[],o;n>t;)o=l[t++],(!y||p.call(d,o))&&a.push(v?[o,d[o]]:d[o]);return a}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(B,N,i){N.exports=function(y){try{return{e:!1,v:y()}}catch(m){return{e:!0,v:m}}}},{}],145:[function(B,N,i){var y=B("./_an-object"),m=B("./_is-object"),E=B("./_new-promise-capability");N.exports=function(p,v){if(y(p),m(v)&&v.constructor===p)return v;var f=E.f(p),d=f.resolve;return d(v),f.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(B,N,i){N.exports=function(y,m){return{enumerable:!(y&1),configurable:!(y&2),writable:!(y&4),value:m}}},{}],147:[function(B,N,i){var y=B("./_hide");N.exports=function(m,E,p){for(var v in E)p&&m[v]?m[v]=E[v]:y(m,v,E[v]);return m}},{"./_hide":112}],148:[function(B,N,i){N.exports=B("./_hide")},{"./_hide":112}],149:[function(B,N,i){"use strict";var y=B("./_global"),m=B("./_core"),E=B("./_object-dp"),p=B("./_descriptors"),v=B("./_wks")("species");N.exports=function(f){var d=typeof m[f]=="function"?m[f]:y[f];p&&d&&!d[v]&&E.f(d,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(B,N,i){var y=B("./_object-dp").f,m=B("./_has"),E=B("./_wks")("toStringTag");N.exports=function(p,v,f){p&&!m(p=f?p:p.prototype,E)&&y(p,E,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(B,N,i){var y=B("./_shared")("keys"),m=B("./_uid");N.exports=function(E){return y[E]||(y[E]=m(E))}},{"./_shared":152,"./_uid":162}],152:[function(B,N,i){var y=B("./_core"),m=B("./_global"),E="__core-js_shared__",p=m[E]||(m[E]={});(N.exports=function(v,f){return p[v]||(p[v]=f!==void 0?f:{})})("versions",[]).push({version:y.version,mode:B("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(B,N,i){var y=B("./_an-object"),m=B("./_a-function"),E=B("./_wks")("species");N.exports=function(p,v){var f=y(p).constructor,d;return f===void 0||(d=y(f)[E])==null?v:m(d)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(B,N,i){var y=B("./_to-integer"),m=B("./_defined");N.exports=function(E){return function(p,v){var f=String(m(p)),d=y(v),l=f.length,n,t;return d<0||d>=l?E?"":void 0:(n=f.charCodeAt(d),n<55296||n>56319||d+1===l||(t=f.charCodeAt(d+1))<56320||t>57343?E?f.charAt(d):n:E?f.slice(d,d+2):(n-55296<<10)+(t-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(B,N,i){var y=B("./_ctx"),m=B("./_invoke"),E=B("./_html"),p=B("./_dom-create"),v=B("./_global"),f=v.process,d=v.setImmediate,l=v.clearImmediate,n=v.MessageChannel,t=v.Dispatch,a=0,o={},r="onreadystatechange",c,e,s,u=function(){var A=+this;if(o.hasOwnProperty(A)){var w=o[A];delete o[A],w()}},h=function(A){u.call(A.data)};(!d||!l)&&(d=function(A){for(var w=[],b=1;arguments.length>b;)w.push(arguments[b++]);return o[++a]=function(){m(typeof A=="function"?A:Function(A),w)},c(a),a},l=function(A){delete o[A]},B("./_cof")(f)=="process"?c=function(A){f.nextTick(y(u,A,1))}:t&&t.now?c=function(A){t.now(y(u,A,1))}:n?(e=new n,s=e.port2,e.port1.onmessage=h,c=y(s.postMessage,s,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(c=function(A){v.postMessage(A+"","*")},v.addEventListener("message",h,!1)):r in p("script")?c=function(A){E.appendChild(p("script"))[r]=function(){E.removeChild(this),u.call(A)}}:c=function(A){setTimeout(y(u,A,1),0)}),N.exports={set:d,clear:l}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(B,N,i){var y=B("./_to-integer"),m=Math.max,E=Math.min;N.exports=function(p,v){return p=y(p),p<0?m(p+v,0):E(p,v)}},{"./_to-integer":157}],157:[function(B,N,i){var y=Math.ceil,m=Math.floor;N.exports=function(E){return isNaN(E=+E)?0:(E>0?m:y)(E)}},{}],158:[function(B,N,i){var y=B("./_iobject"),m=B("./_defined");N.exports=function(E){return y(m(E))}},{"./_defined":102,"./_iobject":116}],159:[function(B,N,i){var y=B("./_to-integer"),m=Math.min;N.exports=function(E){return E>0?m(y(E),9007199254740991):0}},{"./_to-integer":157}],160:[function(B,N,i){var y=B("./_defined");N.exports=function(m){return Object(y(m))}},{"./_defined":102}],161:[function(B,N,i){var y=B("./_is-object");N.exports=function(m,E){if(!y(m))return m;var p,v;if(E&&typeof(p=m.toString)=="function"&&!y(v=p.call(m)))return v;if(typeof(p=m.valueOf)=="function"&&!y(v=p.call(m)))return v;if(!E&&typeof(p=m.toString)=="function"&&!y(v=p.call(m)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(B,N,i){var y=0,m=Math.random();N.exports=function(E){return"Symbol(".concat(E===void 0?"":E,")_",(++y+m).toString(36))}},{}],163:[function(B,N,i){var y=B("./_global"),m=y.navigator;N.exports=m&&m.userAgent||""},{"./_global":110}],164:[function(B,N,i){var y=B("./_global"),m=B("./_core"),E=B("./_library"),p=B("./_wks-ext"),v=B("./_object-dp").f;N.exports=function(f){var d=m.Symbol||(m.Symbol=E?{}:y.Symbol||{});f.charAt(0)!="_"&&!(f in d)&&v(d,f,{value:p.f(f)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(B,N,i){i.f=B("./_wks")},{"./_wks":166}],166:[function(B,N,i){var y=B("./_shared")("wks"),m=B("./_uid"),E=B("./_global").Symbol,p=typeof E=="function",v=N.exports=function(f){return y[f]||(y[f]=p&&E[f]||(p?E:m)("Symbol."+f))};v.store=y},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(B,N,i){var y=B("./_classof"),m=B("./_wks")("iterator"),E=B("./_iterators");N.exports=B("./_core").getIteratorMethod=function(p){if(p!=null)return p[m]||p["@@iterator"]||E[y(p)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(B,N,i){"use strict";var y=B("./_ctx"),m=B("./_export"),E=B("./_to-object"),p=B("./_iter-call"),v=B("./_is-array-iter"),f=B("./_to-length"),d=B("./_create-property"),l=B("./core.get-iterator-method");m(m.S+m.F*!B("./_iter-detect")(function(n){Array.from(n)}),"Array",{from:function(t){var a=E(t),o=typeof this=="function"?this:Array,r=arguments.length,c=r>1?arguments[1]:void 0,e=c!==void 0,s=0,u=l(a),h,g,A,w;if(e&&(c=y(c,r>2?arguments[2]:void 0,2)),u!=null&&!(o==Array&&v(u)))for(w=u.call(a),g=new o;!(A=w.next()).done;s++)d(g,s,e?p(w,c,[A.value,s],!0):A.value);else for(h=f(a.length),g=new o(h);h>s;s++)d(g,s,e?c(a[s],s):a[s]);return g.length=s,g}})},{"./_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(B,N,i){"use strict";var y=B("./_add-to-unscopables"),m=B("./_iter-step"),E=B("./_iterators"),p=B("./_to-iobject");N.exports=B("./_iter-define")(Array,"Array",function(v,f){this._t=p(v),this._i=0,this._k=f},function(){var v=this._t,f=this._k,d=this._i++;return!v||d>=v.length?(this._t=void 0,m(1)):f=="keys"?m(0,d):f=="values"?m(0,v[d]):m(0,[d,v[d]])},"values"),E.Arguments=E.Array,y("keys"),y("values"),y("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(B,N,i){"use strict";var y=B("./_is-object"),m=B("./_object-gpo"),E=B("./_wks")("hasInstance"),p=Function.prototype;E in p||B("./_object-dp").f(p,E,{value:function(f){if(typeof this!="function"||!y(f))return!1;if(!y(this.prototype))return f instanceof this;for(;f=m(f);)if(this.prototype===f)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(B,N,i){var y=B("./_export");y(y.S+y.F,"Object",{assign:B("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(B,N,i){var y=B("./_export");y(y.S,"Object",{create:B("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(B,N,i){var y=B("./_export");y(y.S+y.F*!B("./_descriptors"),"Object",{defineProperty:B("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(B,N,i){B("./_object-sap")("getOwnPropertyNames",function(){return B("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(B,N,i){var y=B("./_to-object"),m=B("./_object-gpo");B("./_object-sap")("getPrototypeOf",function(){return function(p){return m(y(p))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(B,N,i){var y=B("./_to-object"),m=B("./_object-keys");B("./_object-sap")("keys",function(){return function(p){return m(y(p))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(B,N,i){arguments[4][71][0].apply(i,arguments)},{dup:71}],178:[function(B,N,i){"use strict";var y=B("./_library"),m=B("./_global"),E=B("./_ctx"),p=B("./_classof"),v=B("./_export"),f=B("./_is-object"),d=B("./_a-function"),l=B("./_an-instance"),n=B("./_for-of"),t=B("./_species-constructor"),a=B("./_task").set,o=B("./_microtask")(),r=B("./_new-promise-capability"),c=B("./_perform"),e=B("./_user-agent"),s=B("./_promise-resolve"),u="Promise",h=m.TypeError,g=m.process,A=g&&g.versions,w=A&&A.v8||"",b=m[u],S=p(g)=="process",_=function(){},T,x,C,I,L=x=r.f,M=!!function(){try{var K=b.resolve(1),U=(K.constructor={})[B("./_wks")("species")]=function(G){G(_,_)};return(S||typeof PromiseRejectionEvent=="function")&&K.then(_)instanceof U&&w.indexOf("6.6")!==0&&e.indexOf("Chrome/66")===-1}catch(G){}}(),k=function(U){var G;return f(U)&&typeof(G=U.then)=="function"?G:!1},R=function(U,G){if(U._n)return;U._n=!0;var W=U._c;o(function(){for(var Z=U._v,J=U._s==1,ve=0,q=function(be){var Ce=J?be.ok:be.fail,Fe=be.resolve,fe=be.reject,Ne=be.domain,Q,ae,Ue;try{Ce?(J||(U._h==2&&D(U),U._h=1),Ce===!0?Q=Z:(Ne&&Ne.enter(),Q=Ce(Z),Ne&&(Ne.exit(),Ue=!0)),Q===be.promise?fe(h("Promise-chain cycle")):(ae=k(Q))?ae.call(Q,Fe,fe):Fe(Q)):fe(Z)}catch(te){Ne&&!Ue&&Ne.exit(),fe(te)}};W.length>ve;)q(W[ve++]);U._c=[],U._n=!1,G&&!U._h&&j(U)})},j=function(U){a.call(m,function(){var G=U._v,W=V(U),Z,J,ve;if(W&&(Z=c(function(){S?g.emit("unhandledRejection",G,U):(J=m.onunhandledrejection)?J({promise:U,reason:G}):(ve=m.console)&&ve.error&&ve.error("Unhandled promise rejection",G)}),U._h=S||V(U)?2:1),U._a=void 0,W&&Z.e)throw Z.v})},V=function(U){return U._h!==1&&(U._a||U._c).length===0},D=function(U){a.call(m,function(){var G;S?g.emit("rejectionHandled",U):(G=m.onrejectionhandled)&&G({promise:U,reason:U._v})})},H=function(U){var G=this;if(G._d)return;G._d=!0,G=G._w||G,G._v=U,G._s=2,G._a||(G._a=G._c.slice()),R(G,!0)},P=function K(U){var G=this,W;if(G._d)return;G._d=!0,G=G._w||G;try{if(G===U)throw h("Promise can't be resolved itself");(W=k(U))?o(function(){var Z={_w:G,_d:!1};try{W.call(U,E(K,Z,1),E(H,Z,1))}catch(J){H.call(Z,J)}}):(G._v=U,G._s=1,R(G,!1))}catch(Z){H.call({_w:G,_d:!1},Z)}};M||(b=function(U){l(this,b,u,"_h"),d(U),T.call(this);try{U(E(P,this,1),E(H,this,1))}catch(G){H.call(this,G)}},T=function(U){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},T.prototype=B("./_redefine-all")(b.prototype,{then:function(U,G){var W=L(t(this,b));return W.ok=typeof U=="function"?U:!0,W.fail=typeof G=="function"&&G,W.domain=S?g.domain:void 0,this._c.push(W),this._a&&this._a.push(W),this._s&&R(this,!1),W.promise},catch:function(U){return this.then(void 0,U)}}),C=function(){var U=new T;this.promise=U,this.resolve=E(P,U,1),this.reject=E(H,U,1)},r.f=L=function(U){return U===b||U===I?new C(U):x(U)}),v(v.G+v.W+v.F*!M,{Promise:b}),B("./_set-to-string-tag")(b,u),B("./_set-species")(u),I=B("./_core")[u],v(v.S+v.F*!M,u,{reject:function(U){var G=L(this),W=G.reject;return W(U),G.promise}}),v(v.S+v.F*(y||!M),u,{resolve:function(U){return s(y&&this===I?b:this,U)}}),v(v.S+v.F*!(M&&B("./_iter-detect")(function(K){b.all(K).catch(_)})),u,{all:function(U){var G=this,W=L(G),Z=W.resolve,J=W.reject,ve=c(function(){var q=[],ce=0,be=1;n(U,!1,function(Ce){var Fe=ce++,fe=!1;q.push(void 0),be++,G.resolve(Ce).then(function(Ne){if(fe)return;fe=!0,q[Fe]=Ne,--be||Z(q)},J)}),--be||Z(q)});return ve.e&&J(ve.v),W.promise},race:function(U){var G=this,W=L(G),Z=W.reject,J=c(function(){n(U,!1,function(ve){G.resolve(ve).then(W.resolve,Z)})});return J.e&&Z(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(B,N,i){var y=B("./_export"),m=B("./_to-absolute-index"),E=String.fromCharCode,p=String.fromCodePoint;y(y.S+y.F*(!!p&&p.length!=1),"String",{fromCodePoint:function(f){for(var d=[],l=arguments.length,n=0,t;l>n;){if(t=+arguments[n++],m(t,1114111)!==t)throw RangeError(t+" is not a valid code point");d.push(t<65536?E(t):E(((t-=65536)>>10)+55296,t%1024+56320))}return d.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(B,N,i){"use strict";var y=B("./_string-at")(!0);B("./_iter-define")(String,"String",function(m){this._t=String(m),this._i=0},function(){var m=this._t,E=this._i,p;return E>=m.length?{value:void 0,done:!0}:(p=y(m,E),this._i+=p.length,{value:p,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(B,N,i){"use strict";var y=B("./_global"),m=B("./_has"),E=B("./_descriptors"),p=B("./_export"),v=B("./_redefine"),f=B("./_meta").KEY,d=B("./_fails"),l=B("./_shared"),n=B("./_set-to-string-tag"),t=B("./_uid"),a=B("./_wks"),o=B("./_wks-ext"),r=B("./_wks-define"),c=B("./_enum-keys"),e=B("./_is-array"),s=B("./_an-object"),u=B("./_is-object"),h=B("./_to-object"),g=B("./_to-iobject"),A=B("./_to-primitive"),w=B("./_property-desc"),b=B("./_object-create"),S=B("./_object-gopn-ext"),_=B("./_object-gopd"),T=B("./_object-gops"),x=B("./_object-dp"),C=B("./_object-keys"),I=_.f,L=x.f,M=S.f,k=y.Symbol,R=y.JSON,j=R&&R.stringify,V="prototype",D=a("_hidden"),H=a("toPrimitive"),P={}.propertyIsEnumerable,K=l("symbol-registry"),U=l("symbols"),G=l("op-symbols"),W=Object[V],Z=typeof k=="function"&&!!T.f,J=y.QObject,ve=!J||!J[V]||!J[V].findChild,q=E&&d(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(se,Te,Se){var ie=I(W,Te);ie&&delete W[Te],L(se,Te,Se),ie&&se!==W&&L(W,Te,ie)}:L,ce=function(Te){var Se=U[Te]=b(k[V]);return Se._k=Te,Se},be=Z&&typeof k.iterator=="symbol"?function(se){return typeof se=="symbol"}:function(se){return se instanceof k},Ce=function(Te,Se,ie){return Te===W&&Ce(G,Se,ie),s(Te),Se=A(Se,!0),s(ie),m(U,Se)?(ie.enumerable?(m(Te,D)&&Te[D][Se]&&(Te[D][Se]=!1),ie=b(ie,{enumerable:w(0,!1)})):(m(Te,D)||L(Te,D,w(1,{})),Te[D][Se]=!0),q(Te,Se,ie)):L(Te,Se,ie)},Fe=function(Te,Se){s(Te);for(var ie=c(Se=g(Se)),de=0,_e=ie.length,We;_e>de;)Ce(Te,We=ie[de++],Se[We]);return Te},fe=function(Te,Se){return Se===void 0?b(Te):Fe(b(Te),Se)},Ne=function(Te){var Se=P.call(this,Te=A(Te,!0));return this===W&&m(U,Te)&&!m(G,Te)?!1:Se||!m(this,Te)||!m(U,Te)||m(this,D)&&this[D][Te]?Se:!0},Q=function(Te,Se){if(Te=g(Te),Se=A(Se,!0),Te===W&&m(U,Se)&&!m(G,Se))return;var ie=I(Te,Se);return ie&&m(U,Se)&&!(m(Te,D)&&Te[D][Se])&&(ie.enumerable=!0),ie},ae=function(Te){for(var Se=M(g(Te)),ie=[],de=0,_e;Se.length>de;)!m(U,_e=Se[de++])&&_e!=D&&_e!=f&&ie.push(_e);return ie},Ue=function(Te){for(var Se=Te===W,ie=M(Se?G:g(Te)),de=[],_e=0,We;ie.length>_e;)m(U,We=ie[_e++])&&(Se?m(W,We):!0)&&de.push(U[We]);return de};Z||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Te=t(arguments.length>0?arguments[0]:void 0),Se=function ie(de){this===W&&ie.call(G,de),m(this,D)&&m(this[D],Te)&&(this[D][Te]=!1),q(this,Te,w(1,de))};return E&&ve&&q(W,Te,{configurable:!0,set:Se}),ce(Te)},v(k[V],"toString",function(){return this._k}),_.f=Q,x.f=Ce,B("./_object-gopn").f=S.f=ae,B("./_object-pie").f=Ne,T.f=Ue,E&&!B("./_library")&&v(W,"propertyIsEnumerable",Ne,!0),o.f=function(se){return ce(a(se))}),p(p.G+p.W+p.F*!Z,{Symbol:k});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),X=0;te.length>X;)a(te[X++]);for(var z=C(a.store),Y=0;z.length>Y;)r(z[Y++]);p(p.S+p.F*!Z,"Symbol",{for:function(Te){return m(K,Te+="")?K[Te]:K[Te]=k(Te)},keyFor:function(Te){if(!be(Te))throw TypeError(Te+" is not a symbol!");for(var Se in K)if(K[Se]===Te)return Se},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),p(p.S+p.F*!Z,"Object",{create:fe,defineProperty:Ce,defineProperties:Fe,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ae,getOwnPropertySymbols:Ue});var pe=d(function(){T.f(1)});p(p.S+p.F*pe,"Object",{getOwnPropertySymbols:function(Te){return T.f(h(Te))}}),R&&p(p.S+p.F*(!Z||d(function(){var se=k();return j([se])!="[null]"||j({a:se})!="{}"||j(Object(se))!="{}"})),"JSON",{stringify:function(Te){for(var Se=[Te],ie=1,de,_e;arguments.length>ie;)Se.push(arguments[ie++]);return _e=de=Se[1],!u(de)&&Te===void 0||be(Te)?void 0:(e(de)||(de=function(at,tt){if(typeof _e=="function"&&(tt=_e.call(this,at,tt)),!be(tt))return tt}),Se[1]=de,j.apply(R,Se))}}),k[V][H]||B("./_hide")(k[V],H,k[V].valueOf),n(k,"Symbol"),n(Math,"Math",!0),n(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(B,N,i){var y=B("./_export"),m=B("./_object-to-array")(!0);y(y.S,"Object",{entries:function(p){return m(p)}})},{"./_export":107,"./_object-to-array":143}],183:[function(B,N,i){"use strict";var y=B("./_export"),m=B("./_core"),E=B("./_global"),p=B("./_species-constructor"),v=B("./_promise-resolve");y(y.P+y.R,"Promise",{finally:function(d){var l=p(this,m.Promise||E.Promise),n=typeof d=="function";return this.then(n?function(t){return v(l,d()).then(function(){return t})}:d,n?function(t){return v(l,d()).then(function(){throw t})}:d)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(B,N,i){"use strict";var y=B("./_export"),m=B("./_new-promise-capability"),E=B("./_perform");y(y.S,"Promise",{try:function(v){var f=m.f(this),d=E(v);return(d.e?f.reject:f.resolve)(d.v),f.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(B,N,i){B("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(B,N,i){B("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(B,N,i){B("./es6.array.iterator");for(var y=B("./_global"),m=B("./_hide"),E=B("./_iterators"),p=B("./_wks")("toStringTag"),v="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<v.length;f++){var d=v[f],l=y[d],n=l&&l.prototype;n&&!n[p]&&m(n,p,d),E[d]=E.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(B,N,i){var y=B("./_export"),m=B("./_task");y(y.G+y.B,{setImmediate:m.set,clearImmediate:m.clear})},{"./_export":107,"./_task":155}],189:[function(B,N,i){(function(y){"use strict";var m=B("babel-runtime/helpers/typeof"),E=p(m);function p(A){return A&&A.__esModule?A:{default:A}}function v(A){return Array.isArray?Array.isArray(A):g(A)==="[object Array]"}i.isArray=v;function f(A){return typeof A=="boolean"}i.isBoolean=f;function d(A){return A===null}i.isNull=d;function l(A){return A==null}i.isNullOrUndefined=l;function n(A){return typeof A=="number"}i.isNumber=n;function t(A){return typeof A=="string"}i.isString=t;function a(A){return(typeof A=="undefined"?"undefined":(0,E.default)(A))==="symbol"}i.isSymbol=a;function o(A){return A===void 0}i.isUndefined=o;function r(A){return g(A)==="[object RegExp]"}i.isRegExp=r;function c(A){return(typeof A=="undefined"?"undefined":(0,E.default)(A))==="object"&&A!==null}i.isObject=c;function e(A){return g(A)==="[object Date]"}i.isDate=e;function s(A){return g(A)==="[object Error]"||A instanceof Error}i.isError=s;function u(A){return typeof A=="function"}i.isFunction=u;function h(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||(typeof A=="undefined"?"undefined":(0,E.default)(A))==="symbol"||typeof A=="undefined"}i.isPrimitive=h,i.isBuffer=y.isBuffer;function g(A){return Object.prototype.toString.call(A)}}).call(this,{isBuffer:B("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(B,N,i){"use strict";var y=B("babel-runtime/helpers/typeof"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(p){"use strict";var v=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,a=/\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,c,e,s){if(arguments.length===1&&n(r)==="string"&&!/\d/.test(r)&&(c=r,r=void 0),r=r||new Date,r instanceof Date||(r=new Date(r)),isNaN(r))throw TypeError("Invalid date");c=String(v.masks[c]||c||v.masks.default);var u=c.slice(0,4);(u==="UTC:"||u==="GMT:")&&(c=c.slice(4),e=!0,u==="GMT:"&&(s=!0));var h=e?"getUTC":"get",g=r[h+"Date"](),A=r[h+"Day"](),w=r[h+"Month"](),b=r[h+"FullYear"](),S=r[h+"Hours"](),_=r[h+"Minutes"](),T=r[h+"Seconds"](),x=r[h+"Milliseconds"](),C=e?0:r.getTimezoneOffset(),I=d(r),L=l(r),M={d:g,dd:f(g),ddd:v.i18n.dayNames[A],dddd:v.i18n.dayNames[A+7],m:w+1,mm:f(w+1),mmm:v.i18n.monthNames[w],mmmm:v.i18n.monthNames[w+12],yy:String(b).slice(2),yyyy:b,h:S%12||12,hh:f(S%12||12),H:S,HH:f(S),M:_,MM:f(_),s:T,ss:f(T),l:f(x,3),L:f(Math.round(x/10)),t:S<12?"a":"p",tt:S<12?"am":"pm",T:S<12?"A":"P",TT:S<12?"AM":"PM",Z:s?"GMT":e?"UTC":(String(r).match(a)||[""]).pop().replace(o,""),o:(C>0?"-":"+")+f(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][g%10>3?0:(g%100-g%10!=10)*g%10],W:I,N:L};return c.replace(t,function(k){return k in M?M[k]:k.slice(1,k.length-1)})}}();v.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"},v.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(t,a){for(t=String(t),a=a||2;t.length<a;)t="0"+t;return t}function d(t){var a=new Date(t.getFullYear(),t.getMonth(),t.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var o=new Date(a.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);var r=a.getTimezoneOffset()-o.getTimezoneOffset();a.setHours(a.getHours()-r);var c=(a-o)/(864e5*7);return 1+Math.floor(c)}function l(t){var a=t.getDay();return a===0&&(a=7),a}function n(t){return t===null?"null":t===void 0?"undefined":(typeof t=="undefined"?"undefined":(0,m.default)(t))!=="object"?typeof t=="undefined"?"undefined":(0,m.default)(t):Array.isArray(t)?"array":{}.toString.call(t).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof i=="undefined"?"undefined":(0,m.default)(i))==="object"?N.exports=v:p.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(B,N,i){/*!
* 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=m;function m(E){var p=""+E,v=y.exec(p);if(!v)return p;var f,d="",l=0,n=0;for(l=v.index;l<p.length;l++){switch(p.charCodeAt(l)){case 34:f="&quot;";break;case 38:f="&amp;";break;case 39:f="&#39;";break;case 60:f="&lt;";break;case 62:f="&gt;";break;default:continue}n!==l&&(d+=p.substring(n,l)),n=l+1,d+=f}return n!==l?d+p.substring(n,l):d}},{}],192:[function(B,N,i){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(!E(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,l,n,t,a,o;if(this._events||(this._events={}),f==="error"&&(!this._events.error||p(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(l=this._events[f],v(l))return!1;if(m(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:t=Array.prototype.slice.call(arguments,1),l.apply(this,t)}else if(p(l))for(t=Array.prototype.slice.call(arguments,1),o=l.slice(),n=o.length,a=0;a<n;a++)o[a].apply(this,t);return!0},y.prototype.addListener=function(f,d){var l;if(!m(d))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",f,m(d.listener)?d.listener:d),this._events[f]?p(this._events[f])?this._events[f].push(d):this._events[f]=[this._events[f],d]:this._events[f]=d,p(this._events[f])&&!this._events[f].warned&&(v(this._maxListeners)?l=y.defaultMaxListeners:l=this._maxListeners,l&&l>0&&this._events[f].length>l&&(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(!m(d))throw TypeError("listener must be a function");var l=!1;function n(){this.removeListener(f,n),l||(l=!0,d.apply(this,arguments))}return n.listener=d,this.on(f,n),this},y.prototype.removeListener=function(f,d){var l,n,t,a;if(!m(d))throw TypeError("listener must be a function");if(!this._events||!this._events[f])return this;if(l=this._events[f],t=l.length,n=-1,l===d||m(l.listener)&&l.listener===d)delete this._events[f],this._events.removeListener&&this.emit("removeListener",f,d);else if(p(l)){for(a=t;a-- >0;)if(l[a]===d||l[a].listener&&l[a].listener===d){n=a;break}if(n<0)return this;l.length===1?(l.length=0,delete this._events[f]):l.splice(n,1),this._events.removeListener&&this.emit("removeListener",f,d)}return this},y.prototype.removeAllListeners=function(f){var d,l;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(l=this._events[f],m(l))this.removeListener(f,l);else if(l)for(;l.length;)this.removeListener(f,l[l.length-1]);return delete this._events[f],this},y.prototype.listeners=function(f){var d;return!this._events||!this._events[f]?d=[]:m(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(m(d))return 1;if(d)return d.length}return 0},y.listenerCount=function(f,d){return f.listenerCount(d)};function m(f){return typeof f=="function"}function E(f){return typeof f=="number"}function p(f){return typeof f=="object"&&f!==null}function v(f){return f===void 0}},{}],193:[function(B,N,i){var y=B("http"),m=N.exports;for(var E in y)y.hasOwnProperty(E)&&(m[E]=y[E]);m.request=function(p,v){return p||(p={}),p.scheme="https",p.protocol="https:",y.request.call(this,p,v)}},{http:231}],194:[function(B,N,i){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var y=B("util"),m=B("ms");N.exports=function(E){if(typeof E=="number")return E;var p=m(E);if(p===void 0){var v=new Error(y.format("humanize-ms(%j) result undefined",E));console.warn(v.stack)}return p}},{ms:204,util:243}],195:[function(B,N,i){i.read=function(y,m,E,p,v){var f,d,l=v*8-p-1,n=(1<<l)-1,t=n>>1,a=-7,o=E?v-1:0,r=E?-1:1,c=y[m+o];for(o+=r,f=c&(1<<-a)-1,c>>=-a,a+=l;a>0;f=f*256+y[m+o],o+=r,a-=8);for(d=f&(1<<-a)-1,f>>=-a,a+=p;a>0;d=d*256+y[m+o],o+=r,a-=8);if(f===0)f=1-t;else{if(f===n)return d?NaN:(c?-1:1)*Infinity;d=d+Math.pow(2,p),f=f-t}return(c?-1:1)*d*Math.pow(2,f-p)},i.write=function(y,m,E,p,v,f){var d,l,n,t=f*8-v-1,a=(1<<t)-1,o=a>>1,r=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=p?0:f-1,e=p?1:-1,s=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===Infinity?(l=isNaN(m)?1:0,d=a):(d=Math.floor(Math.log(m)/Math.LN2),m*(n=Math.pow(2,-d))<1&&(d--,n*=2),d+o>=1?m+=r/n:m+=r*Math.pow(2,1-o),m*n>=2&&(d++,n/=2),d+o>=a?(l=0,d=a):d+o>=1?(l=(m*n-1)*Math.pow(2,v),d=d+o):(l=m*Math.pow(2,o-1)*Math.pow(2,v),d=0));v>=8;y[E+c]=l&255,c+=e,l/=256,v-=8);for(d=d<<v|l,t+=v;t>0;y[E+c]=d&255,c+=e,d/=256,t-=8);y[E+c-e]|=s*128}},{}],196:[function(B,N,i){typeof Object.create=="function"?N.exports=function(m,E){E&&(m.super_=E,m.prototype=Object.create(E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:N.exports=function(m,E){if(E){m.super_=E;var p=function(){};p.prototype=E.prototype,m.prototype=new p,m.prototype.constructor=m}}},{}],197:[function(B,N,i){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/N.exports=function(E){return E!=null&&(y(E)||m(E)||!!E._isBuffer)};function y(E){return!!E.constructor&&typeof E.constructor.isBuffer=="function"&&E.constructor.isBuffer(E)}function m(E){return typeof E.readFloatLE=="function"&&typeof E.slice=="function"&&y(E.slice(0,0))}},{}],198:[function(B,N,i){var y={}.toString;N.exports=Array.isArray||function(m){return y.call(m)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(B,N){typeof exports=="object"&&typeof module!="undefined"?module.exports=N(B):typeof define=="function"&&define.amd?define(N):N(B)})(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(B){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(B){for(var N={},i=0,y=B.length;i<y;i++)N[B.charAt(i)]=i;return N}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(N){if(N.length<2){var i=N.charCodeAt(0);return i<128?N:i<2048?fromCharCode(192|i>>>6)+fromCharCode(128|i&63):fromCharCode(224|i>>>12&15)+fromCharCode(128|i>>>6&63)+fromCharCode(128|i&63)}else{var i=65536+(N.charCodeAt(0)-55296)*1024+(N.charCodeAt(1)-56320);return fromCharCode(240|i>>>18&7)+fromCharCode(128|i>>>12&63)+fromCharCode(128|i>>>6&63)+fromCharCode(128|i&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 i=[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),m=[b64chars.charAt(y>>>18),b64chars.charAt(y>>>12&63),i>=2?"=":b64chars.charAt(y>>>6&63),i>=1?"=":b64chars.charAt(y&63)];return m.join("")},btoa=global.btoa?function(B){return global.btoa(B)}:function(B){return B.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(N){var i=Object.prototype.toString.call(N)==="[object Uint8Array]";return i?N.toString("base64"):btoa(utob(String(N)))},encode=function(N,i){return i?_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 i=(7&N.charCodeAt(0))<<18|(63&N.charCodeAt(1))<<12|(63&N.charCodeAt(2))<<6|63&N.charCodeAt(3),y=i-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 i=N.length,y=i%4,m=(i>0?b64tab[N.charAt(0)]<<18:0)|(i>1?b64tab[N.charAt(1)]<<12:0)|(i>2?b64tab[N.charAt(2)]<<6:0)|(i>3?b64tab[N.charAt(3)]:0),E=[fromCharCode(m>>>16),fromCharCode(m>>>8&255),fromCharCode(m&255)];return E.length-=[0,0,2,1][y],E.join("")},_atob=global.atob?function(B){return global.atob(B)}:function(B){return B.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(B){return(B.constructor===buffer.constructor?B:buffer.from(B,"base64")).toString()}:function(B){return(B.constructor===buffer.constructor?B:new buffer(B,"base64")).toString()}:function(B){return btou(_atob(B))},decode=function(N){return _decode(String(N).replace(/[-_]/g,function(i){return i=="-"?"+":"/"}).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(B){return encode(this,B)})),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(B,N,i){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";N.exports=m;var y=Object.prototype.hasOwnProperty;function m(E,p,v){if(!E)throw new TypeError("argument dest is required");if(!p)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(p).forEach(function(d){if(!v&&y.call(E,d))return;var l=Object.getOwnPropertyDescriptor(p,d);Object.defineProperty(E,d,l)}),E}},{}],201:[function(B,N,i){"use strict";function y(){this._types=Object.create(null),this._extensions=Object.create(null);for(var m=0;m<arguments.length;m++)this.define(arguments[m]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}y.prototype.define=function(m,E){for(var p in m){var v=m[p].map(function(l){return l.toLowerCase()});p=p.toLowerCase();for(var f=0;f<v.length;f++){var d=v[f];if(d[0]=="*")continue;if(!E&&d in this._types)throw new Error('Attempt to change mapping for "'+d+'" extension from "'+this._types[d]+'" to "'+p+'". Pass `force=true` to allow this, otherwise remove "'+d+'" from the list of extensions for "'+p+'".');this._types[d]=p}if(E||!this._extensions[p]){var d=v[0];this._extensions[p]=d[0]!="*"?d:d.substr(1)}}},y.prototype.getType=function(m){m=String(m);var E=m.replace(/^.*[/\\]/,"").toLowerCase(),p=E.replace(/^.*\./,"").toLowerCase(),v=E.length<m.length,f=p.length<E.length-1;return(f||!v)&&this._types[p]||null},y.prototype.getExtension=function(m){return m=/^\s*([^;\s]*)/.test(m)&&RegExp.$1,m&&this._extensions[m.toLowerCase()]||null},N.exports=y},{}],202:[function(B,N,i){"use strict";var y=B("./Mime");N.exports=new y(B("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(B,N,i){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(B,N,i){var y=1e3,m=y*60,E=m*60,p=E*24,v=p*7,f=p*365.25;N.exports=function(a,o){o=o||{};var r=typeof a;if(r==="string"&&a.length>0)return d(a);if(r==="number"&&isFinite(a))return o.long?n(a):l(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function d(a){if(a=String(a),a.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(a);if(!o)return;var r=parseFloat(o[1]),c=(o[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"weeks":case"week":case"w":return r*v;case"days":case"day":case"d":return r*p;case"hours":case"hour":case"hrs":case"hr":case"h":return r*E;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;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 l(a){var o=Math.abs(a);return o>=p?Math.round(a/p)+"d":o>=E?Math.round(a/E)+"h":o>=m?Math.round(a/m)+"m":o>=y?Math.round(a/y)+"s":a+"ms"}function n(a){var o=Math.abs(a);return o>=p?t(a,o,p,"day"):o>=E?t(a,o,E,"hour"):o>=m?t(a,o,m,"minute"):o>=y?t(a,o,y,"second"):a+" ms"}function t(a,o,r,c){var e=o>=r*1.5;return Math.round(a/r)+" "+c+(e?"s":"")}},{}],205:[function(B,N,i){(function(y){function m(f,d){for(var l=0,n=f.length-1;n>=0;n--){var t=f[n];t==="."?f.splice(n,1):t===".."?(f.splice(n,1),l++):l&&(f.splice(n,1),l--)}if(d)for(;l--;l)f.unshift("..");return f}i.resolve=function(){for(var f="",d=!1,l=arguments.length-1;l>=-1&&!d;l--){var n=l>=0?arguments[l]:y.cwd();if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!n)continue;f=n+"/"+f,d=n.charAt(0)==="/"}return f=m(p(f.split("/"),function(t){return!!t}),!d).join("/"),(d?"/":"")+f||"."},i.normalize=function(f){var d=i.isAbsolute(f),l=v(f,-1)==="/";return f=m(p(f.split("/"),function(n){return!!n}),!d).join("/"),!f&&!d&&(f="."),f&&l&&(f+="/"),(d?"/":"")+f},i.isAbsolute=function(f){return f.charAt(0)==="/"},i.join=function(){var f=Array.prototype.slice.call(arguments,0);return i.normalize(p(f,function(d,l){if(typeof d!="string")throw new TypeError("Arguments to path.join must be strings");return d}).join("/"))},i.relative=function(f,d){f=i.resolve(f).substr(1),d=i.resolve(d).substr(1);function l(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 n=l(f.split("/")),t=l(d.split("/")),a=Math.min(n.length,t.length),o=a,r=0;r<a;r++)if(n[r]!==t[r]){o=r;break}for(var c=[],r=o;r<n.length;r++)c.push("..");return c=c.concat(t.slice(o)),c.join("/")},i.sep="/",i.delimiter=":",i.dirname=function(f){if(typeof f!="string"&&(f=f+""),f.length===0)return".";for(var d=f.charCodeAt(0),l=d===47,n=-1,t=!0,a=f.length-1;a>=1;--a)if(d=f.charCodeAt(a),d===47){if(!t){n=a;break}}else t=!1;return n===-1?l?"/":".":l&&n===1?"/":f.slice(0,n)};function E(f){typeof f!="string"&&(f=f+"");var d=0,l=-1,n=!0,t;for(t=f.length-1;t>=0;--t)if(f.charCodeAt(t)===47){if(!n){d=t+1;break}}else l===-1&&(n=!1,l=t+1);return l===-1?"":f.slice(d,l)}i.basename=function(f,d){var l=E(f);return d&&l.substr(-1*d.length)===d&&(l=l.substr(0,l.length-d.length)),l},i.extname=function(f){typeof f!="string"&&(f=f+"");for(var d=-1,l=0,n=-1,t=!0,a=0,o=f.length-1;o>=0;--o){var r=f.charCodeAt(o);if(r===47){if(!t){l=o+1;break}continue}n===-1&&(t=!1,n=o+1),r===46?d===-1?d=o:a!==1&&(a=1):d!==-1&&(a=-1)}return d===-1||n===-1||a===0||a===1&&d===n-1&&d===l+1?"":f.slice(d,n)};function p(f,d){if(f.filter)return f.filter(d);for(var l=[],n=0;n<f.length;n++)d(f[n],n,f)&&l.push(f[n]);return l}var v="ab".substr(-1)==="b"?function(f,d,l){return f.substr(d,l)}:function(f,d,l){return d<0&&(d=f.length+d),f.substr(d,l)}}).call(this,B("_process"))},{_process:208}],206:[function(B,N,i){(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 m={function:!0,object:!0},E=m[typeof window]&&window||this,p=E,v=m[typeof i]&&i,f=m[typeof N]&&N&&!N.nodeType&&N,d=v&&f&&typeof y=="object"&&y;d&&(d.global===d||d.window===d||d.self===d)&&(E=d);var l=Math.pow(2,53)-1,n=/\bOpera/,t=this,a=Object.prototype,o=a.hasOwnProperty,r=a.toString;function c(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<=l)for(;++I<L;)C(x[I],I,x);else h(x,C)}function u(x){return x=S(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:c(x)}function h(x,C){for(var I in x)o.call(x,I)&&C(x[I],I,x)}function g(x){return x==null?c(x):r.call(x).slice(8,-1)}function A(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,M){I=C(I,L,M,x)}),I}function S(x){return String(x).replace(/^ +| +$/g,"")}function _(x){var C=E,I=x&&typeof x=="object"&&g(x)!="String";I&&(C=x,x=null);var L=C.navigator||{},M=L.userAgent||"";x||(x=M);var k=I||t==p,R=I?!!L.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(r.toString()),j="Object",V=I?j:"ScriptBridgingProxyObject",D=I?j:"Environment",H=I&&C.java?"JavaPackage":g(C.java),P=I?j:"RuntimeObject",K=/\bJava/.test(H)&&C.java,U=K&&g(C.environment)==D,G=K?"a":"\u03B1",W=K?"b":"\u03B2",Z=C.document||{},J=C.operamini||C.opera,ve=n.test(ve=I&&J?J["[[Class]]"]:g(J))?ve:J=null,q,ce=x,be=[],Ce=null,Fe=x==M,fe=Fe&&J&&typeof J.version=="function"&&J.version(),Ne,Q=z([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),ae=pe(["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"]),Ue=Te([{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"]),te=Y({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}}),X=se(["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 z(_e){return b(_e,function(We,at){return We||RegExp("\\b"+(at.pattern||w(at))+"\\b","i").exec(x)&&(at.label||at)})}function Y(_e){return b(_e,function(We,at,tt){return We||(at[Ue]||at[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ue)]||RegExp("\\b"+w(tt)+"(?:\\b|\\w*\\d)","i").exec(x))&&tt})}function pe(_e){return b(_e,function(We,at){return We||RegExp("\\b"+(at.pattern||w(at))+"\\b","i").exec(x)&&(at.label||at)})}function se(_e){return b(_e,function(We,at){var tt=at.pattern||w(at);return!We&&(We=RegExp("\\b"+tt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(We=e(We,tt,at.label||at)),We})}function Te(_e){return b(_e,function(We,at){var tt=at.pattern||w(at);return!We&&(We=RegExp("\\b"+tt+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+tt+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+tt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((We=String(at.label&&!RegExp(tt,"i").test(at.label)?at.label:We).split("/"))[1]&&!/[\d.]+/.test(We[0])&&(We[0]+=" "+We[1]),at=at.label||at,We=u(We[0].replace(RegExp(tt,"i"),at).replace(RegExp("; *(?:"+at+"[_-])?","i")," ").replace(RegExp("("+at+")[-_.]?(\\w)","i"),"$1 $2"))),We})}function Se(_e){return b(_e,function(We,at){return We||(RegExp(at+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function ie(){return this.description||""}if(Q&&(Q=[Q]),te&&!Ue&&(Ue=Te([te])),(q=/\bGoogle TV\b/.exec(Ue))&&(Ue=q[0]),/\bSimulator\b/i.test(x)&&(Ue=(Ue?Ue+" ":"")+"Simulator"),ae=="Opera Mini"&&/\bOPiOS\b/.test(x)&&be.push("running in Turbo/Uncompressed mode"),ae=="IE"&&/\blike iPhone OS\b/.test(x)?(q=_(x.replace(/like iPhone OS/,"")),te=q.manufacturer,Ue=q.product):/^iP/.test(Ue)?(ae||(ae="Safari"),X="iOS"+((q=/ OS ([\d_]+)/i.exec(x))?" "+q[1].replace(/_/g,"."):"")):ae=="Konqueror"&&!/buntu/i.test(X)?X="Kubuntu":te&&te!="Google"&&(/Chrome/.test(ae)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(Ue))||/\bAndroid\b/.test(X)&&/^Chrome/.test(ae)&&/\bVersion\//i.test(x)?(ae="Android Browser",X=/\bAndroid\b/.test(X)?X:"Android"):ae=="Silk"?(/\bMobi/i.test(x)||(X="Android",be.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&be.unshift("accelerated")):ae=="PaleMoon"&&(q=/\bFirefox\/([\d.]+)\b/.exec(x))?be.push("identifying as Firefox "+q[1]):ae=="Firefox"&&(q=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(X||(X="Firefox OS"),Ue||(Ue=q[1])):!ae||(q=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(ae))?(ae&&!Ue&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(q+"/")+8))&&(ae=null),(q=Ue||te||X)&&(Ue||te||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(X))&&(ae=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(X)?X:q)+" Browser")):ae=="Electron"&&(q=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&be.push("Chromium "+q),fe||(fe=Se(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",w(ae),"(?:Firefox|Minefield|NetFront)"])),(q=Q=="iCab"&&parseFloat(fe)>3&&"WebKit"||/\bOpera\b/.test(ae)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(Q)&&"WebKit"||!Q&&/\bMSIE\b/i.test(x)&&(X=="Mac OS"?"Tasman":"Trident")||Q=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ae)&&"NetFront")&&(Q=[q]),ae=="IE"&&(q=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(ae+=" Mobile",X="Windows Phone "+(/\+$/.test(q)?q:q+".x"),be.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(ae="IE Mobile",X="Windows Phone 8.x",be.unshift("desktop mode"),fe||(fe=(/\brv:([\d.]+)/.exec(x)||0)[1])):ae!="IE"&&Q=="Trident"&&(q=/\brv:([\d.]+)/.exec(x))&&(ae&&be.push("identifying as "+ae+(fe?" "+fe:"")),ae="IE",fe=q[1]),Fe){if(A(C,"global"))if(K&&(q=K.lang.System,ce=q.getProperty("os.arch"),X=X||q.getProperty("os.name")+" "+q.getProperty("os.version")),U){try{fe=C.require("ringo/engine").version.join("."),ae="RingoJS"}catch(_e){(q=C.system)&&q.global.system==C.system&&(ae="Narwhal",X||(X=q[0].os||null))}ae||(ae="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(q=C.process)&&(typeof q.versions=="object"&&(typeof q.versions.electron=="string"?(be.push("Node "+q.versions.node),ae="Electron",fe=q.versions.electron):typeof q.versions.nw=="string"&&(be.push("Chromium "+fe,"Node "+q.versions.node),ae="NW.js",fe=q.versions.nw)),ae||(ae="Node.js",ce=q.arch,X=q.platform,fe=/[\d.]+/.exec(q.version),fe=fe?fe[0]:null));else g(q=C.runtime)==V?(ae="Adobe AIR",X=q.flash.system.Capabilities.os):g(q=C.phantom)==P?(ae="PhantomJS",fe=(q=q.version||null)&&q.major+"."+q.minor+"."+q.patch):typeof Z.documentMode=="number"&&(q=/\bTrident\/(\d+)/i.exec(x))?(fe=[fe,Z.documentMode],(q=+q[1]+4)!=fe[1]&&(be.push("IE "+fe[1]+" mode"),Q&&(Q[1]=""),fe[1]=q),fe=ae=="IE"?String(fe[1].toFixed(1)):fe[0]):typeof Z.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ae)&&(be.push("masking as "+ae+" "+fe),ae="IE",fe="11.0",Q=["Trident"],X="Windows");X=X&&u(X)}if(fe&&(q=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(fe)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Fe&&L.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(Ce=/b/i.test(q)?"beta":"alpha",fe=fe.replace(RegExp(q+"\\+?$"),"")+(Ce=="beta"?W:G)+(/\d+\+?/.exec(q)||"")),ae=="Fennec"||ae=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(X))ae="Firefox Mobile";else if(ae=="Maxthon"&&fe)fe=fe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ue))Ue=="Xbox 360"&&(X=null),Ue=="Xbox 360"&&/\bIEMobile\b/.test(x)&&be.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ae)||ae&&!Ue&&!/Browser|Mobi/.test(ae))&&(X=="Windows CE"||/Mobi/i.test(x)))ae+=" Mobile";else if(ae=="IE"&&Fe)try{C.external===null&&be.unshift("platform preview")}catch(_e){be.unshift("embedded")}else(/\bBlackBerry\b/.test(Ue)||/\bBB10\b/.test(x))&&(q=(RegExp(Ue.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||fe)?(q=[q,/BB10/.test(x)],X=(q[1]?(Ue=null,te="BlackBerry"):"Device Software")+" "+q[0],fe=null):this!=h&&Ue!="Wii"&&(Fe&&J||/Opera/.test(ae)&&/\b(?:MSIE|Firefox)\b/i.test(x)||ae=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(X)||ae=="IE"&&(X&&!/^Win/.test(X)&&fe>5.5||/\bWindows XP\b/.test(X)&&fe>8||fe==8&&!/\bTrident\b/.test(x)))&&!n.test(q=_.call(h,x.replace(n,"")+";"))&&q.name&&(q="ing as "+q.name+((q=q.version)?" "+q:""),n.test(ae)?(/\bIE\b/.test(q)&&X=="Mac OS"&&(X=null),q="identify"+q):(q="mask"+q,ve?ae=u(ve.replace(/([a-z])([A-Z])/g,"$1 $2")):ae="Opera",/\bIE\b/.test(q)&&(X=null),Fe||(fe=null)),Q=["Presto"],be.push(q));(q=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(q=[parseFloat(q.replace(/\.(\d)$/,".0$1")),q],ae=="Safari"&&q[1].slice(-1)=="+"?(ae="WebKit Nightly",Ce="alpha",fe=q[1].slice(0,-1)):(fe==q[1]||fe==(q[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(fe=null),q[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],q[0]==537.36&&q[2]==537.36&&parseFloat(q[1])>=28&&Q=="WebKit"&&(Q=["Blink"]),!Fe||!R&&!q[1]?(Q&&(Q[1]="like Safari"),q=(q=q[0],q<400?1:q<500?2:q<526?3:q<533?4:q<534?"4+":q<535?5:q<537?6:q<538?7:q<601?8:"8")):(Q&&(Q[1]="like Chrome"),q=q[1]||(q=q[0],q<530?1:q<532?2:q<532.05?3:q<533?4:q<534.03?5:q<534.07?6:q<534.1?7:q<534.13?8:q<534.16?9:q<534.24?10:q<534.3?11:q<535.01?12:q<535.02?"13+":q<535.07?15:q<535.11?16:q<535.19?17:q<536.05?18:q<536.1?19:q<537.01?20:q<537.11?"21+":q<537.13?23:q<537.18?24:q<537.24?25:q<537.36?26:Q!="Blink"?"27":"28")),Q&&(Q[1]+=" "+(q+=typeof q=="number"?".x":/[.+]/.test(q)?"":"+")),ae=="Safari"&&(!fe||parseInt(fe)>45)&&(fe=q)),ae=="Opera"&&(q=/\bzbov|zvav$/.exec(X))?(ae+=" ",be.unshift("desktop mode"),q=="zvav"?(ae+="Mini",fe=null):ae+="Mobile",X=X.replace(RegExp(" *"+q+"$"),"")):ae=="Safari"&&/\bChrome\b/.exec(Q&&Q[1])&&(be.unshift("desktop mode"),ae="Chrome Mobile",fe=null,/\bOS X\b/.test(X)?(te="Apple",X="iOS 4.3+"):X=null),fe&&fe.indexOf(q=/[\d.]+$/.exec(X))==0&&x.indexOf("/"+q+"-")>-1&&(X=S(X.replace(q,""))),Q&&!/\b(?:Avant|Nook)\b/.test(ae)&&(/Browser|Lunascape|Maxthon/.test(ae)||ae!="Safari"&&/^iOS/.test(X)&&/\bSafari\b/.test(Q[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(ae)&&Q[1])&&((q=Q[Q.length-1])&&be.push(q)),be.length&&(be=["("+be.join("; ")+")"]),te&&Ue&&Ue.indexOf(te)<0&&be.push("on "+te),Ue&&be.push((/^on /.test(be[be.length-1])?"":"on ")+Ue),X&&(q=/ ([\d.+]+)$/.exec(X),Ne=q&&X.charAt(X.length-q[0].length-1)=="/",X={architecture:32,family:q&&!Ne?X.replace(q[0],""):X,version:q?q[1]:null,toString:function(){var We=this.version;return this.family+(We&&!Ne?" "+We:"")+(this.architecture==64?" 64-bit":"")}}),(q=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ce))&&!/\bi686\b/i.test(ce)?(X&&(X.architecture=64,X.family=X.family.replace(RegExp(" *"+q),"")),ae&&(/\bWOW64\b/i.test(x)||Fe&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(x))&&be.unshift("32-bit")):X&&/^OS X/.test(X.family)&&ae=="Chrome"&&parseFloat(fe)>=39&&(X.architecture=64),x||(x=null);var de={};return de.description=x,de.layout=Q&&Q[0],de.manufacturer=te,de.name=ae,de.prerelease=Ce,de.product=Ue,de.ua=x,de.version=ae&&fe,de.os=X||{architecture:null,family:null,version:null,toString:function(){return"null"}},de.parse=_,de.toString=ie,de.version&&be.unshift(fe),de.name&&be.unshift(ae),X&&ae&&!(X==String(X).split(" ")[0]&&(X==ae.split(" ")[0]||Ue))&&be.push(Ue?"("+X+")":"on "+X),be.length&&(de.description=be.join(" ")),de}var T=_();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(E.platform=T,define(function(){return T})):v&&f?h(T,function(x,C){v[C]=x}):E.platform=T}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(B,N,i){(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:m}:N.exports=y;function m(E,p,v,f){if(typeof E!="function")throw new TypeError('"callback" argument must be a function');var d=arguments.length,l,n;switch(d){case 0:case 1:return y.nextTick(E);case 2:return y.nextTick(function(){E.call(null,p)});case 3:return y.nextTick(function(){E.call(null,p,v)});case 4:return y.nextTick(function(){E.call(null,p,v,f)});default:for(l=new Array(d-1),n=0;n<l.length;)l[n++]=arguments[n];return y.nextTick(function(){E.apply(null,l)})}}}).call(this,B("_process"))},{_process:208}],208:[function(B,N,i){var y=N.exports={},m,E;function p(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?m=setTimeout:m=p}catch(s){m=p}try{typeof clearTimeout=="function"?E=clearTimeout:E=v}catch(s){E=v}})();function f(s){if(m===setTimeout)return setTimeout(s,0);if((m===p||!m)&&setTimeout)return m=setTimeout,setTimeout(s,0);try{return m(s,0)}catch(u){try{return m.call(null,s,0)}catch(h){return m.call(this,s,0)}}}function d(s){if(E===clearTimeout)return clearTimeout(s);if((E===v||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(s);try{return E(s)}catch(u){try{return E.call(null,s)}catch(h){return E.call(this,s)}}}var l=[],n=!1,t,a=-1;function o(){if(!n||!t)return;n=!1,t.length?l=t.concat(l):a=-1,l.length&&r()}function r(){if(n)return;var s=f(o);n=!0;for(var u=l.length;u;){for(t=l,l=[];++a<u;)t&&t[a].run();a=-1,u=l.length}t=null,n=!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];l.push(new c(s,u)),l.length===1&&!n&&f(r)};function c(s,u){this.fun=s,this.array=u}c.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(B,N,i){(function(y){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(m){var E=typeof i=="object"&&i&&!i.nodeType&&i,p=typeof N=="object"&&N&&!N.nodeType&&N,v=typeof y=="object"&&y;(v.global===v||v.window===v||v.self===v)&&(m=v);var f,d=2147483647,l=36,n=1,t=26,a=38,o=700,r=72,c=128,e="-",s=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-n,w=Math.floor,b=String.fromCharCode,S;function _(H){throw new RangeError(g[H])}function T(H,P){for(var K=H.length,U=[];K--;)U[K]=P(H[K]);return U}function x(H,P){var K=H.split("@"),U="";K.length>1&&(U=K[0]+"@",H=K[1]),H=H.replace(h,".");var G=H.split("."),W=T(G,P).join(".");return U+W}function C(H){for(var P=[],K=0,U=H.length,G,W;K<U;)G=H.charCodeAt(K++),G>=55296&&G<=56319&&K<U?(W=H.charCodeAt(K++),(W&64512)==56320?P.push(((G&1023)<<10)+(W&1023)+65536):(P.push(G),K--)):P.push(G);return P}function I(H){return T(H,function(P){var K="";return P>65535&&(P-=65536,K+=b(P>>>10&1023|55296),P=56320|P&1023),K+=b(P),K}).join("")}function L(H){return H-48<10?H-22:H-65<26?H-65:H-97<26?H-97:l}function M(H,P){return H+22+75*(H<26)-((P!=0)<<5)}function k(H,P,K){var U=0;for(H=K?w(H/o):H>>1,H+=w(H/P);H>A*t>>1;U+=l)H=w(H/A);return w(U+(A+1)*H/(H+a))}function R(H){var P=[],K=H.length,U,G=0,W=c,Z=r,J,ve,q,ce,be,Ce,Fe,fe,Ne;for(J=H.lastIndexOf(e),J<0&&(J=0),ve=0;ve<J;++ve)H.charCodeAt(ve)>=128&&_("not-basic"),P.push(H.charCodeAt(ve));for(q=J>0?J+1:0;q<K;){for(ce=G,be=1,Ce=l;!(q>=K&&_("invalid-input"),Fe=L(H.charCodeAt(q++)),(Fe>=l||Fe>w((d-G)/be))&&_("overflow"),G+=Fe*be,fe=Ce<=Z?n:Ce>=Z+t?t:Ce-Z,Fe<fe);Ce+=l)Ne=l-fe,be>w(d/Ne)&&_("overflow"),be*=Ne;U=P.length+1,Z=k(G-ce,U,ce==0),w(G/U)>d-W&&_("overflow"),W+=w(G/U),G%=U,P.splice(G++,0,W)}return I(P)}function j(H){var P,K,U,G,W,Z,J,ve,q,ce,be,Ce=[],Fe,fe,Ne,Q;for(H=C(H),Fe=H.length,P=c,K=0,W=r,Z=0;Z<Fe;++Z)be=H[Z],be<128&&Ce.push(b(be));for(U=G=Ce.length,G&&Ce.push(e);U<Fe;){for(J=d,Z=0;Z<Fe;++Z)be=H[Z],be>=P&&be<J&&(J=be);for(fe=U+1,J-P>w((d-K)/fe)&&_("overflow"),K+=(J-P)*fe,P=J,Z=0;Z<Fe;++Z)if(be=H[Z],be<P&&++K>d&&_("overflow"),be==P){for(ve=K,q=l;!(ce=q<=W?n:q>=W+t?t:q-W,ve<ce);q+=l)Q=ve-ce,Ne=l-ce,Ce.push(b(M(ce+Q%Ne,0))),ve=w(Q/Ne);Ce.push(b(M(ve,0))),W=k(K,fe,U==G),K=0,++U}++K,++P}return Ce.join("")}function V(H){return x(H,function(P){return s.test(P)?R(P.slice(4).toLowerCase()):P})}function D(H){return x(H,function(P){return u.test(P)?"xn--"+j(P):P})}if(f={version:"1.4.1",ucs2:{decode:C,encode:I},decode:R,encode:j,toASCII:D,toUnicode:V},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return f});else if(E&&p)if(N.exports==E)p.exports=f;else for(S in f)f.hasOwnProperty(S)&&(E[S]=f[S]);else m.punycode=f})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(B,N,i){"use strict";function y(E,p){return Object.prototype.hasOwnProperty.call(E,p)}N.exports=function(E,p,v,f){p=p||"&",v=v||"=";var d={};if(typeof E!="string"||E.length===0)return d;var l=/\+/g;E=E.split(p);var n=1e3;f&&typeof f.maxKeys=="number"&&(n=f.maxKeys);var t=E.length;n>0&&t>n&&(t=n);for(var a=0;a<t;++a){var o=E[a].replace(l,"%20"),r=o.indexOf(v),c,e,s,u;r>=0?(c=o.substr(0,r),e=o.substr(r+1)):(c=o,e=""),s=decodeURIComponent(c),u=decodeURIComponent(e),y(d,s)?m(d[s])?d[s].push(u):d[s]=[d[s],u]:d[s]=u}return d};var m=Array.isArray||function(E){return Object.prototype.toString.call(E)==="[object Array]"}},{}],211:[function(B,N,i){"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(v,f,d,l){return f=f||"&",d=d||"=",v===null&&(v=void 0),typeof v=="object"?E(p(v),function(n){var t=encodeURIComponent(y(n))+d;return m(v[n])?E(v[n],function(a){return t+encodeURIComponent(y(a))}).join(f):t+encodeURIComponent(y(v[n]))}).join(f):l?encodeURIComponent(y(l))+d+encodeURIComponent(y(v)):""};var m=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function E(v,f){if(v.map)return v.map(f);for(var d=[],l=0;l<v.length;l++)d.push(f(v[l],l));return d}var p=Object.keys||function(v){var f=[];for(var d in v)Object.prototype.hasOwnProperty.call(v,d)&&f.push(d);return f}},{}],212:[function(B,N,i){"use strict";i.decode=i.parse=B("./decode"),i.encode=i.stringify=B("./encode")},{"./decode":210,"./encode":211}],213:[function(B,N,i){N.exports=B("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=v(y),E=B("babel-runtime/core-js/object/keys"),p=v(E);function v(u){return u&&u.__esModule?u:{default:u}}var f=B("process-nextick-args"),d=p.default||function(u){var h=[];for(var g in u)h.push(g);return h};N.exports=c;var l=(0,m.default)(B("core-util-is"));l.inherits=B("inherits");var n=B("./_stream_readable"),t=B("./_stream_writable");l.inherits(c,n);for(var a=d(t.prototype),o=0;o<a.length;o++){var r=a[o];c.prototype[r]||(c.prototype[r]=t.prototype[r])}function c(u){if(!(this instanceof c))return new c(u);n.call(this,u),t.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(c.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(c.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}}),c.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(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(d){return d&&d.__esModule?d:{default:d}}N.exports=f;var p=B("./_stream_transform"),v=(0,m.default)(B("core-util-is"));v.inherits=B("inherits"),v.inherits(f,p);function f(d){if(!(this instanceof f))return new f(d);p.call(this,d)}f.prototype._transform=function(d,l,n){n(null,d)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(B,N,i){(function(y,m){"use strict";var E=B("babel-runtime/core-js/object/get-prototype-of"),p=d(E),v=B("babel-runtime/core-js/object/create"),f=d(v);function d(Q){return Q&&Q.__esModule?Q:{default:Q}}var l=B("process-nextick-args");N.exports=C;var n=B("isarray"),t;C.ReadableState=x;var a=B("events").EventEmitter,o=function(ae,Ue){return ae.listeners(Ue).length},r=B("./internal/streams/stream"),c=B("safe-buffer").Buffer,e=m.Uint8Array||function(){};function s(Q){return c.from(Q)}function u(Q){return c.isBuffer(Q)||Q instanceof e}var h=(0,f.default)(B("core-util-is"));h.inherits=B("inherits");var g=B("util"),A=void 0;g&&g.debuglog?A=g.debuglog("stream"):A=function(){};var w=B("./internal/streams/BufferList"),b=B("./internal/streams/destroy"),S;h.inherits(C,r);var _=["error","close","destroy","pause","resume"];function T(Q,ae,Ue){if(typeof Q.prependListener=="function")return Q.prependListener(ae,Ue);!Q._events||!Q._events[ae]?Q.on(ae,Ue):n(Q._events[ae])?Q._events[ae].unshift(Ue):Q._events[ae]=[Ue,Q._events[ae]]}function x(Q,ae){t=t||B("./_stream_duplex"),Q=Q||{};var Ue=ae instanceof t;this.objectMode=!!Q.objectMode,Ue&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var te=Q.highWaterMark,X=Q.readableHighWaterMark,z=this.objectMode?16:16*1024;te||te===0?this.highWaterMark=te:Ue&&(X||X===0)?this.highWaterMark=X:this.highWaterMark=z,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=Q.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Q.encoding&&(S||(S=B("string_decoder/").StringDecoder),this.decoder=new S(Q.encoding),this.encoding=Q.encoding)}function C(Q){if(t=t||B("./_stream_duplex"),!(this instanceof C))return new C(Q);this._readableState=new x(Q,this),this.readable=!0,Q&&(typeof Q.read=="function"&&(this._read=Q.read),typeof Q.destroy=="function"&&(this._destroy=Q.destroy)),r.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ae){if(!this._readableState)return;this._readableState.destroyed=ae}}),C.prototype.destroy=b.destroy,C.prototype._undestroy=b.undestroy,C.prototype._destroy=function(Q,ae){this.push(null),ae(Q)},C.prototype.push=function(Q,ae){var Ue=this._readableState,te;return Ue.objectMode?te=!0:typeof Q=="string"&&(ae=ae||Ue.defaultEncoding,ae!==Ue.encoding&&(Q=c.from(Q,ae),ae=""),te=!0),I(this,Q,ae,!1,te)},C.prototype.unshift=function(Q){return I(this,Q,null,!0,!1)};function I(Q,ae,Ue,te,X){var z=Q._readableState;if(ae===null)z.reading=!1,D(Q,z);else{var Y;X||(Y=M(z,ae)),Y?Q.emit("error",Y):z.objectMode||ae&&ae.length>0?(typeof ae!="string"&&!z.objectMode&&(0,p.default)(ae)!==c.prototype&&(ae=s(ae)),te?z.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):L(Q,z,ae,!0):z.ended?Q.emit("error",new Error("stream.push() after EOF")):(z.reading=!1,z.decoder&&!Ue?(ae=z.decoder.write(ae),z.objectMode||ae.length!==0?L(Q,z,ae,!1):K(Q,z)):L(Q,z,ae,!1))):te||(z.reading=!1)}return k(z)}function L(Q,ae,Ue,te){ae.flowing&&ae.length===0&&!ae.sync?(Q.emit("data",Ue),Q.read(0)):(ae.length+=ae.objectMode?1:Ue.length,te?ae.buffer.unshift(Ue):ae.buffer.push(Ue),ae.needReadable&&H(Q)),K(Q,ae)}function M(Q,ae){var Ue;return!u(ae)&&typeof ae!="string"&&ae!==void 0&&!Q.objectMode&&(Ue=new TypeError("Invalid non-string/buffer chunk")),Ue}function k(Q){return!Q.ended&&(Q.needReadable||Q.length<Q.highWaterMark||Q.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(Q){return S||(S=B("string_decoder/").StringDecoder),this._readableState.decoder=new S(Q),this._readableState.encoding=Q,this};var R=8388608;function j(Q){return Q>=R?Q=R:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}function V(Q,ae){return Q<=0||ae.length===0&&ae.ended?0:ae.objectMode?1:Q!==Q?ae.flowing&&ae.length?ae.buffer.head.data.length:ae.length:(Q>ae.highWaterMark&&(ae.highWaterMark=j(Q)),Q<=ae.length?Q:ae.ended?ae.length:(ae.needReadable=!0,0))}C.prototype.read=function(Q){A("read",Q),Q=parseInt(Q,10);var ae=this._readableState,Ue=Q;if(Q!==0&&(ae.emittedReadable=!1),Q===0&&ae.needReadable&&(ae.length>=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),ae.length===0&&ae.ended?Fe(this):H(this),null;if(Q=V(Q,ae),Q===0&&ae.ended)return ae.length===0&&Fe(this),null;var te=ae.needReadable;A("need readable",te),(ae.length===0||ae.length-Q<ae.highWaterMark)&&(te=!0,A("length less than watermark",te)),ae.ended||ae.reading?(te=!1,A("reading or ended",te)):te&&(A("do read"),ae.reading=!0,ae.sync=!0,ae.length===0&&(ae.needReadable=!0),this._read(ae.highWaterMark),ae.sync=!1,ae.reading||(Q=V(Ue,ae)));var X;return Q>0?X=q(Q,ae):X=null,X===null?(ae.needReadable=!0,Q=0):ae.length-=Q,ae.length===0&&(ae.ended||(ae.needReadable=!0),Ue!==Q&&ae.ended&&Fe(this)),X!==null&&this.emit("data",X),X};function D(Q,ae){if(ae.ended)return;if(ae.decoder){var Ue=ae.decoder.end();Ue&&Ue.length&&(ae.buffer.push(Ue),ae.length+=ae.objectMode?1:Ue.length)}ae.ended=!0,H(Q)}function H(Q){var ae=Q._readableState;ae.needReadable=!1,ae.emittedReadable||(A("emitReadable",ae.flowing),ae.emittedReadable=!0,ae.sync?l.nextTick(P,Q):P(Q))}function P(Q){A("emit readable"),Q.emit("readable"),ve(Q)}function K(Q,ae){ae.readingMore||(ae.readingMore=!0,l.nextTick(U,Q,ae))}function U(Q,ae){for(var Ue=ae.length;!ae.reading&&!ae.flowing&&!ae.ended&&ae.length<ae.highWaterMark&&!(A("maybeReadMore read 0"),Q.read(0),Ue===ae.length);)Ue=ae.length;ae.readingMore=!1}C.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(Q,ae){var Ue=this,te=this._readableState;switch(te.pipesCount){case 0:te.pipes=Q;break;case 1:te.pipes=[te.pipes,Q];break;default:te.pipes.push(Q);break}te.pipesCount+=1,A("pipe count=%d opts=%j",te.pipesCount,ae);var X=(!ae||ae.end!==!1)&&Q!==y.stdout&&Q!==y.stderr,z=X?pe:tt;te.endEmitted?l.nextTick(z):Ue.once("end",z),Q.on("unpipe",Y);function Y(Oe,yt){A("onunpipe"),Oe===Ue&&(yt&&yt.hasUnpiped===!1&&(yt.hasUnpiped=!0,Se()))}function pe(){A("onend"),Q.end()}var se=G(Ue);Q.on("drain",se);var Te=!1;function Se(){A("cleanup"),Q.removeListener("close",We),Q.removeListener("finish",at),Q.removeListener("drain",se),Q.removeListener("error",_e),Q.removeListener("unpipe",Y),Ue.removeListener("end",pe),Ue.removeListener("end",tt),Ue.removeListener("data",de),Te=!0,te.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&se()}var ie=!1;Ue.on("data",de);function de(Oe){A("ondata"),ie=!1;var yt=Q.write(Oe);yt===!1&&!ie&&((te.pipesCount===1&&te.pipes===Q||te.pipesCount>1&&Ne(te.pipes,Q)!==-1)&&!Te&&(A("false write response, pause",Ue._readableState.awaitDrain),Ue._readableState.awaitDrain++,ie=!0),Ue.pause())}function _e(Oe){A("onerror",Oe),tt(),Q.removeListener("error",_e),o(Q,"error")===0&&Q.emit("error",Oe)}T(Q,"error",_e);function We(){Q.removeListener("finish",at),tt()}Q.once("close",We);function at(){A("onfinish"),Q.removeListener("close",We),tt()}Q.once("finish",at);function tt(){A("unpipe"),Ue.unpipe(Q)}return Q.emit("pipe",Ue),te.flowing||(A("pipe resume"),Ue.resume()),Q};function G(Q){return function(){var ae=Q._readableState;A("pipeOnDrain",ae.awaitDrain),ae.awaitDrain&&ae.awaitDrain--,ae.awaitDrain===0&&o(Q,"data")&&(ae.flowing=!0,ve(Q))}}C.prototype.unpipe=function(Q){var ae=this._readableState,Ue={hasUnpiped:!1};if(ae.pipesCount===0)return this;if(ae.pipesCount===1)return Q&&Q!==ae.pipes?this:(Q||(Q=ae.pipes),ae.pipes=null,ae.pipesCount=0,ae.flowing=!1,Q&&Q.emit("unpipe",this,Ue),this);if(!Q){var te=ae.pipes,X=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var z=0;z<X;z++)te[z].emit("unpipe",this,Ue);return this}var Y=Ne(ae.pipes,Q);return Y===-1?this:(ae.pipes.splice(Y,1),ae.pipesCount-=1,ae.pipesCount===1&&(ae.pipes=ae.pipes[0]),Q.emit("unpipe",this,Ue),this)},C.prototype.on=function(Q,ae){var Ue=r.prototype.on.call(this,Q,ae);if(Q==="data")this._readableState.flowing!==!1&&this.resume();else if(Q==="readable"){var te=this._readableState;!te.endEmitted&&!te.readableListening&&(te.readableListening=te.needReadable=!0,te.emittedReadable=!1,te.reading?te.length&&H(this):l.nextTick(W,this))}return Ue},C.prototype.addListener=C.prototype.on;function W(Q){A("readable nexttick read 0"),Q.read(0)}C.prototype.resume=function(){var Q=this._readableState;return Q.flowing||(A("resume"),Q.flowing=!0,Z(this,Q)),this};function Z(Q,ae){ae.resumeScheduled||(ae.resumeScheduled=!0,l.nextTick(J,Q,ae))}function J(Q,ae){ae.reading||(A("resume read 0"),Q.read(0)),ae.resumeScheduled=!1,ae.awaitDrain=0,Q.emit("resume"),ve(Q),ae.flowing&&!ae.reading&&Q.read(0)}C.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ve(Q){var ae=Q._readableState;for(A("flow",ae.flowing);ae.flowing&&Q.read()!==null;);}C.prototype.wrap=function(Q){var ae=this,Ue=this._readableState,te=!1;Q.on("end",function(){if(A("wrapped end"),Ue.decoder&&!Ue.ended){var Y=Ue.decoder.end();Y&&Y.length&&ae.push(Y)}ae.push(null)}),Q.on("data",function(Y){if(A("wrapped data"),Ue.decoder&&(Y=Ue.decoder.write(Y)),Ue.objectMode&&Y==null)return;if(!Ue.objectMode&&(!Y||!Y.length))return;var pe=ae.push(Y);pe||(te=!0,Q.pause())});for(var X in Q)this[X]===void 0&&typeof Q[X]=="function"&&(this[X]=function(Y){return function(){return Q[Y].apply(Q,arguments)}}(X));for(var z=0;z<_.length;z++)Q.on(_[z],this.emit.bind(this,_[z]));return this._read=function(Y){A("wrapped _read",Y),te&&(te=!1,Q.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=q;function q(Q,ae){if(ae.length===0)return null;var Ue;return ae.objectMode?Ue=ae.buffer.shift():!Q||Q>=ae.length?(ae.decoder?Ue=ae.buffer.join(""):ae.buffer.length===1?Ue=ae.buffer.head.data:Ue=ae.buffer.concat(ae.length),ae.buffer.clear()):Ue=ce(Q,ae.buffer,ae.decoder),Ue}function ce(Q,ae,Ue){var te;return Q<ae.head.data.length?(te=ae.head.data.slice(0,Q),ae.head.data=ae.head.data.slice(Q)):Q===ae.head.data.length?te=ae.shift():te=Ue?be(Q,ae):Ce(Q,ae),te}function be(Q,ae){var Ue=ae.head,te=1,X=Ue.data;for(Q-=X.length;Ue=Ue.next;){var z=Ue.data,Y=Q>z.length?z.length:Q;if(Y===z.length?X+=z:X+=z.slice(0,Q),Q-=Y,Q===0){Y===z.length?(++te,Ue.next?ae.head=Ue.next:ae.head=ae.tail=null):(ae.head=Ue,Ue.data=z.slice(Y));break}++te}return ae.length-=te,X}function Ce(Q,ae){var Ue=c.allocUnsafe(Q),te=ae.head,X=1;for(te.data.copy(Ue),Q-=te.data.length;te=te.next;){var z=te.data,Y=Q>z.length?z.length:Q;if(z.copy(Ue,Ue.length-Q,0,Y),Q-=Y,Q===0){Y===z.length?(++X,te.next?ae.head=te.next:ae.head=ae.tail=null):(ae.head=te,te.data=z.slice(Y));break}++X}return ae.length-=X,Ue}function Fe(Q){var ae=Q._readableState;if(ae.length>0)throw new Error('"endReadable()" called on non-empty stream');ae.endEmitted||(ae.ended=!0,l.nextTick(fe,ae,Q))}function fe(Q,ae){!Q.endEmitted&&Q.length===0&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function Ne(Q,ae){for(var Ue=0,te=Q.length;Ue<te;Ue++)if(Q[Ue]===ae)return Ue;return-1}}).call(this,B("_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(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(t){return t&&t.__esModule?t:{default:t}}N.exports=d;var p=B("./_stream_duplex"),v=(0,m.default)(B("core-util-is"));v.inherits=B("inherits"),v.inherits(d,p);function f(t,a){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,a!=null&&this.push(a),r(t);var c=this._readableState;c.reading=!1,(c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}function d(t){if(!(this instanceof d))return new d(t);p.call(this,t),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",l)}function l(){var t=this;typeof this._flush=="function"?this._flush(function(a,o){n(t,a,o)}):n(this,null,null)}d.prototype.push=function(t,a){return this._transformState.needTransform=!1,p.prototype.push.call(this,t,a)},d.prototype._transform=function(t,a,o){throw new Error("_transform() is not implemented")},d.prototype._write=function(t,a,o){var r=this._transformState;if(r.writecb=o,r.writechunk=t,r.writeencoding=a,!r.transforming){var c=this._readableState;(r.needTransform||c.needReadable||c.length<c.highWaterMark)&&this._read(c.highWaterMark)}},d.prototype._read=function(t){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},d.prototype._destroy=function(t,a){var o=this;p.prototype._destroy.call(this,t,function(r){a(r),o.emit("close")})};function n(t,a,o){if(a)return t.emit("error",a);if(o!=null&&t.push(o),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(B,N,i){(function(y,m){"use strict";var E=B("babel-runtime/core-js/object/define-property"),p=r(E),v=B("babel-runtime/core-js/symbol/has-instance"),f=r(v),d=B("babel-runtime/core-js/symbol"),l=r(d),n=B("babel-runtime/core-js/object/create"),t=r(n),a=B("babel-runtime/core-js/set-immediate"),o=r(a);function r(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}var c=B("process-nextick-args");N.exports=M;function e(Ce,Fe,fe){this.chunk=Ce,this.encoding=Fe,this.callback=fe,this.next=null}function s(Ce){var Fe=this;this.next=null,this.entry=null,this.finish=function(){be(Fe,Ce)}}var u=!y.browser&&["v0.10","v0.9."].indexOf(y.version.slice(0,5))>-1?o.default:c.nextTick,h;M.WritableState=I;var g=(0,t.default)(B("core-util-is"));g.inherits=B("inherits");var A={deprecate:B("util-deprecate")},w=B("./internal/streams/stream"),b=B("safe-buffer").Buffer,S=m.Uint8Array||function(){};function _(Ce){return b.from(Ce)}function T(Ce){return b.isBuffer(Ce)||Ce instanceof S}var x=B("./internal/streams/destroy");g.inherits(M,w);function C(){}function I(Ce,Fe){h=h||B("./_stream_duplex"),Ce=Ce||{};var fe=Fe instanceof h;this.objectMode=!!Ce.objectMode,fe&&(this.objectMode=this.objectMode||!!Ce.writableObjectMode);var Ne=Ce.highWaterMark,Q=Ce.writableHighWaterMark,ae=this.objectMode?16:16*1024;Ne||Ne===0?this.highWaterMark=Ne:fe&&(Q||Q===0)?this.highWaterMark=Q:this.highWaterMark=ae,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 Ue=Ce.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=Ce.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(te){K(Fe,te)},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 Fe=this.bufferedRequest,fe=[];Fe;)fe.push(Fe),Fe=Fe.next;return fe},function(){try{Object.defineProperty(I.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ce){}}();var L;typeof l.default=="function"&&f.default&&typeof Function.prototype[f.default]=="function"?(L=Function.prototype[f.default],(0,p.default)(M,f.default,{value:function(Fe){return L.call(this,Fe)?!0:this!==M?!1:Fe&&Fe._writableState instanceof I}})):L=function(Fe){return Fe instanceof this};function M(Ce){if(h=h||B("./_stream_duplex"),!L.call(M,this)&&!(this instanceof h))return new M(Ce);this._writableState=new I(Ce,this),this.writable=!0,Ce&&(typeof Ce.write=="function"&&(this._write=Ce.write),typeof Ce.writev=="function"&&(this._writev=Ce.writev),typeof Ce.destroy=="function"&&(this._destroy=Ce.destroy),typeof Ce.final=="function"&&(this._final=Ce.final)),w.call(this)}M.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(Ce,Fe){var fe=new Error("write after end");Ce.emit("error",fe),c.nextTick(Fe,fe)}function R(Ce,Fe,fe,Ne){var Q=!0,ae=!1;return fe===null?ae=new TypeError("May not write null values to stream"):typeof fe!="string"&&fe!==void 0&&!Fe.objectMode&&(ae=new TypeError("Invalid non-string/buffer chunk")),ae&&(Ce.emit("error",ae),c.nextTick(Ne,ae),Q=!1),Q}M.prototype.write=function(Ce,Fe,fe){var Ne=this._writableState,Q=!1,ae=!Ne.objectMode&&T(Ce);return ae&&!b.isBuffer(Ce)&&(Ce=_(Ce)),typeof Fe=="function"&&(fe=Fe,Fe=null),ae?Fe="buffer":Fe||(Fe=Ne.defaultEncoding),typeof fe!="function"&&(fe=C),Ne.ended?k(this,fe):(ae||R(this,Ne,Ce,fe))&&(Ne.pendingcb++,Q=V(this,Ne,ae,Ce,Fe,fe)),Q},M.prototype.cork=function(){var Ce=this._writableState;Ce.corked++},M.prototype.uncork=function(){var Ce=this._writableState;Ce.corked&&(Ce.corked--,!Ce.writing&&!Ce.corked&&!Ce.finished&&!Ce.bufferProcessing&&Ce.bufferedRequest&&W(this,Ce))},M.prototype.setDefaultEncoding=function(Fe){if(typeof Fe=="string"&&(Fe=Fe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Fe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Fe);return this._writableState.defaultEncoding=Fe,this};function j(Ce,Fe,fe){return!Ce.objectMode&&Ce.decodeStrings!==!1&&typeof Fe=="string"&&(Fe=b.from(Fe,fe)),Fe}Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function V(Ce,Fe,fe,Ne,Q,ae){if(!fe){var Ue=j(Fe,Ne,Q);Ne!==Ue&&(fe=!0,Q="buffer",Ne=Ue)}var te=Fe.objectMode?1:Ne.length;Fe.length+=te;var X=Fe.length<Fe.highWaterMark;if(X||(Fe.needDrain=!0),Fe.writing||Fe.corked){var z=Fe.lastBufferedRequest;Fe.lastBufferedRequest={chunk:Ne,encoding:Q,isBuf:fe,callback:ae,next:null},z?z.next=Fe.lastBufferedRequest:Fe.bufferedRequest=Fe.lastBufferedRequest,Fe.bufferedRequestCount+=1}else D(Ce,Fe,!1,te,Ne,Q,ae);return X}function D(Ce,Fe,fe,Ne,Q,ae,Ue){Fe.writelen=Ne,Fe.writecb=Ue,Fe.writing=!0,Fe.sync=!0,fe?Ce._writev(Q,Fe.onwrite):Ce._write(Q,ae,Fe.onwrite),Fe.sync=!1}function H(Ce,Fe,fe,Ne,Q){--Fe.pendingcb,fe?(c.nextTick(Q,Ne),c.nextTick(q,Ce,Fe),Ce._writableState.errorEmitted=!0,Ce.emit("error",Ne)):(Q(Ne),Ce._writableState.errorEmitted=!0,Ce.emit("error",Ne),q(Ce,Fe))}function P(Ce){Ce.writing=!1,Ce.writecb=null,Ce.length-=Ce.writelen,Ce.writelen=0}function K(Ce,Fe){var fe=Ce._writableState,Ne=fe.sync,Q=fe.writecb;if(P(fe),Fe)H(Ce,fe,Ne,Fe,Q);else{var ae=Z(fe);!ae&&!fe.corked&&!fe.bufferProcessing&&fe.bufferedRequest&&W(Ce,fe),Ne?u(U,Ce,fe,ae,Q):U(Ce,fe,ae,Q)}}function U(Ce,Fe,fe,Ne){fe||G(Ce,Fe),Fe.pendingcb--,Ne(),q(Ce,Fe)}function G(Ce,Fe){Fe.length===0&&Fe.needDrain&&(Fe.needDrain=!1,Ce.emit("drain"))}function W(Ce,Fe){Fe.bufferProcessing=!0;var fe=Fe.bufferedRequest;if(Ce._writev&&fe&&fe.next){var Ne=Fe.bufferedRequestCount,Q=new Array(Ne),ae=Fe.corkedRequestsFree;ae.entry=fe;for(var Ue=0,te=!0;fe;)Q[Ue]=fe,fe.isBuf||(te=!1),fe=fe.next,Ue+=1;Q.allBuffers=te,D(Ce,Fe,!0,Fe.length,Q,"",ae.finish),Fe.pendingcb++,Fe.lastBufferedRequest=null,ae.next?(Fe.corkedRequestsFree=ae.next,ae.next=null):Fe.corkedRequestsFree=new s(Fe),Fe.bufferedRequestCount=0}else{for(;fe;){var X=fe.chunk,z=fe.encoding,Y=fe.callback,pe=Fe.objectMode?1:X.length;if(D(Ce,Fe,!1,pe,X,z,Y),fe=fe.next,Fe.bufferedRequestCount--,Fe.writing)break}fe===null&&(Fe.lastBufferedRequest=null)}Fe.bufferedRequest=fe,Fe.bufferProcessing=!1}M.prototype._write=function(Ce,Fe,fe){fe(new Error("_write() is not implemented"))},M.prototype._writev=null,M.prototype.end=function(Ce,Fe,fe){var Ne=this._writableState;typeof Ce=="function"?(fe=Ce,Ce=null,Fe=null):typeof Fe=="function"&&(fe=Fe,Fe=null),Ce!=null&&this.write(Ce,Fe),Ne.corked&&(Ne.corked=1,this.uncork()),!Ne.ending&&!Ne.finished&&ce(this,Ne,fe)};function Z(Ce){return Ce.ending&&Ce.length===0&&Ce.bufferedRequest===null&&!Ce.finished&&!Ce.writing}function J(Ce,Fe){Ce._final(function(fe){Fe.pendingcb--,fe&&Ce.emit("error",fe),Fe.prefinished=!0,Ce.emit("prefinish"),q(Ce,Fe)})}function ve(Ce,Fe){!Fe.prefinished&&!Fe.finalCalled&&(typeof Ce._final=="function"?(Fe.pendingcb++,Fe.finalCalled=!0,c.nextTick(J,Ce,Fe)):(Fe.prefinished=!0,Ce.emit("prefinish")))}function q(Ce,Fe){var fe=Z(Fe);return fe&&(ve(Ce,Fe),Fe.pendingcb===0&&(Fe.finished=!0,Ce.emit("finish"))),fe}function ce(Ce,Fe,fe){Fe.ending=!0,q(Ce,Fe),fe&&(Fe.finished?c.nextTick(fe):Ce.once("finish",fe)),Fe.ended=!0,Ce.writable=!1}function be(Ce,Fe,fe){var Ne=Ce.entry;for(Ce.entry=null;Ne;){var Q=Ne.callback;Fe.pendingcb--,Q(fe),Ne=Ne.next}Fe.corkedRequestsFree?Fe.corkedRequestsFree.next=Ce:Fe.corkedRequestsFree=Ce}Object.defineProperty(M.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Fe){if(!this._writableState)return;this._writableState.destroyed=Fe}}),M.prototype.destroy=x.destroy,M.prototype._undestroy=x.undestroy,M.prototype._destroy=function(Ce,Fe){this.end(),Fe(Ce)}}).call(this,B("_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(B,N,i){"use strict";function y(v,f){if(!(v instanceof f))throw new TypeError("Cannot call a class as a function")}var m=B("safe-buffer").Buffer,E=B("util");function p(v,f,d){v.copy(f,d)}N.exports=function(){function v(){y(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(d){var l={data:d,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},v.prototype.unshift=function(d){var l={data:d,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},v.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},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(d){if(this.length===0)return"";for(var l=this.head,n=""+l.data;l=l.next;)n+=d+l.data;return n},v.prototype.concat=function(d){if(this.length===0)return m.alloc(0);if(this.length===1)return this.head.data;for(var l=m.allocUnsafe(d>>>0),n=this.head,t=0;n;)p(n.data,l,t),t+=n.data.length,n=n.next;return l},v}(),E&&E.inspect&&E.inspect.custom&&(N.exports.prototype[E.inspect.custom]=function(){var v=E.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(B,N,i){"use strict";var y=B("process-nextick-args");function m(v,f){var d=this,l=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return l||n?(f?f(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&y.nextTick(p,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(t){!f&&t?(y.nextTick(p,d,t),d._writableState&&(d._writableState.errorEmitted=!0)):f&&f(t)}),this)}function E(){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 p(v,f){v.emit("error",f)}N.exports={destroy:m,undestroy:E}},{"process-nextick-args":207}],221:[function(B,N,i){"use strict";N.exports=B("events").EventEmitter},{events:192}],222:[function(B,N,i){N.exports=B("./readable").PassThrough},{"./readable":223}],223:[function(B,N,i){i=N.exports=B("./lib/_stream_readable.js"),i.Stream=i,i.Readable=i,i.Writable=B("./lib/_stream_writable.js"),i.Duplex=B("./lib/_stream_duplex.js"),i.Transform=B("./lib/_stream_transform.js"),i.PassThrough=B("./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(B,N,i){N.exports=B("./readable").Transform},{"./readable":223}],225:[function(B,N,i){N.exports=B("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(B,N,i){var y=function(){return this}()||Function("return this")(),m=y.regeneratorRuntime&&Object.getOwnPropertyNames(y).indexOf("regeneratorRuntime")>=0,E=m&&y.regeneratorRuntime;if(y.regeneratorRuntime=void 0,N.exports=B("./runtime"),m)y.regeneratorRuntime=E;else try{delete y.regeneratorRuntime}catch(p){y.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(B,N,i){!function(y){"use strict";var m=Object.prototype,E=m.hasOwnProperty,p,v=typeof Symbol=="function"?Symbol:{},f=v.iterator||"@@iterator",d=v.asyncIterator||"@@asyncIterator",l=v.toStringTag||"@@toStringTag",n=typeof N=="object",t=y.regeneratorRuntime;if(t){n&&(N.exports=t);return}t=y.regeneratorRuntime=n?N.exports:{};function a(V,D,H,P){var K=D&&D.prototype instanceof h?D:h,U=Object.create(K.prototype),G=new k(P||[]);return U._invoke=C(V,H,G),U}t.wrap=a;function o(V,D,H){try{return{type:"normal",arg:V.call(D,H)}}catch(P){return{type:"throw",arg:P}}}var r="suspendedStart",c="suspendedYield",e="executing",s="completed",u={};function h(){}function g(){}function A(){}var w={};w[f]=function(){return this};var b=Object.getPrototypeOf,S=b&&b(b(R([])));S&&S!==m&&E.call(S,f)&&(w=S);var _=A.prototype=h.prototype=Object.create(w);g.prototype=_.constructor=A,A.constructor=g,A[l]=g.displayName="GeneratorFunction";function T(V){["next","throw","return"].forEach(function(D){V[D]=function(H){return this._invoke(D,H)}})}t.isGeneratorFunction=function(V){var D=typeof V=="function"&&V.constructor;return D?D===g||(D.displayName||D.name)==="GeneratorFunction":!1},t.mark=function(V){return Object.setPrototypeOf?Object.setPrototypeOf(V,A):(V.__proto__=A,l in V||(V[l]="GeneratorFunction")),V.prototype=Object.create(_),V},t.awrap=function(V){return{__await:V}};function x(V){function D(K,U,G,W){var Z=o(V[K],V,U);if(Z.type==="throw")W(Z.arg);else{var J=Z.arg,ve=J.value;return ve&&typeof ve=="object"&&E.call(ve,"__await")?Promise.resolve(ve.__await).then(function(q){D("next",q,G,W)},function(q){D("throw",q,G,W)}):Promise.resolve(ve).then(function(q){J.value=q,G(J)},W)}}var H;function P(K,U){function G(){return new Promise(function(W,Z){D(K,U,W,Z)})}return H=H?H.then(G,G):G()}this._invoke=P}T(x.prototype),x.prototype[d]=function(){return this},t.AsyncIterator=x,t.async=function(V,D,H,P){var K=new x(a(V,D,H,P));return t.isGeneratorFunction(D)?K:K.next().then(function(U){return U.done?U.value:K.next()})};function C(V,D,H){var P=r;return function(U,G){if(P===e)throw new Error("Generator is already running");if(P===s){if(U==="throw")throw G;return j()}for(H.method=U,H.arg=G;;){var W=H.delegate;if(W){var Z=I(W,H);if(Z){if(Z===u)continue;return Z}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(P===r)throw P=s,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);P=e;var J=o(V,D,H);if(J.type==="normal"){if(P=H.done?s:c,J.arg===u)continue;return{value:J.arg,done:H.done}}else J.type==="throw"&&(P=s,H.method="throw",H.arg=J.arg)}}}function I(V,D){var H=V.iterator[D.method];if(H===p){if(D.delegate=null,D.method==="throw"){if(V.iterator.return&&(D.method="return",D.arg=p,I(V,D),D.method==="throw"))return u;D.method="throw",D.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var P=o(H,V.iterator,D.arg);if(P.type==="throw")return D.method="throw",D.arg=P.arg,D.delegate=null,u;var K=P.arg;if(!K)return D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,u;if(K.done)D[V.resultName]=K.value,D.next=V.nextLoc,D.method!=="return"&&(D.method="next",D.arg=p);else return K;return D.delegate=null,u}T(_),_[l]="Generator",_[f]=function(){return this},_.toString=function(){return"[object Generator]"};function L(V){var D={tryLoc:V[0]};1 in V&&(D.catchLoc=V[1]),2 in V&&(D.finallyLoc=V[2],D.afterLoc=V[3]),this.tryEntries.push(D)}function M(V){var D=V.completion||{};D.type="normal",delete D.arg,V.completion=D}function k(V){this.tryEntries=[{tryLoc:"root"}],V.forEach(L,this),this.reset(!0)}t.keys=function(V){var D=[];for(var H in V)D.push(H);return D.reverse(),function P(){for(;D.length;){var K=D.pop();if(K in V)return P.value=K,P.done=!1,P}return P.done=!0,P}};function R(V){if(V){var D=V[f];if(D)return D.call(V);if(typeof V.next=="function")return V;if(!isNaN(V.length)){var H=-1,P=function K(){for(;++H<V.length;)if(E.call(V,H))return K.value=V[H],K.done=!1,K;return K.value=p,K.done=!0,K};return P.next=P}}return{next:j}}t.values=R;function j(){return{value:p,done:!0}}k.prototype={constructor:k,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(M),!D)for(var H in this)H.charAt(0)==="t"&&E.call(this,H)&&!isNaN(+H.slice(1))&&(this[H]=p)},stop:function(){this.done=!0;var D=this.tryEntries[0],H=D.completion;if(H.type==="throw")throw H.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var H=this;function P(J,ve){return G.type="throw",G.arg=D,H.next=J,ve&&(H.method="next",H.arg=p),!!ve}for(var K=this.tryEntries.length-1;K>=0;--K){var U=this.tryEntries[K],G=U.completion;if(U.tryLoc==="root")return P("end");if(U.tryLoc<=this.prev){var W=E.call(U,"catchLoc"),Z=E.call(U,"finallyLoc");if(W&&Z){if(this.prev<U.catchLoc)return P(U.catchLoc,!0);if(this.prev<U.finallyLoc)return P(U.finallyLoc)}else if(W){if(this.prev<U.catchLoc)return P(U.catchLoc,!0)}else if(Z){if(this.prev<U.finallyLoc)return P(U.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,H){for(var P=this.tryEntries.length-1;P>=0;--P){var K=this.tryEntries[P];if(K.tryLoc<=this.prev&&E.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var U=K;break}}U&&(D==="break"||D==="continue")&&U.tryLoc<=H&&H<=U.finallyLoc&&(U=null);var G=U?U.completion:{};return G.type=D,G.arg=H,U?(this.method="next",this.next=U.finallyLoc,u):this.complete(G)},complete:function(D,H){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&H&&(this.next=H),u},finish:function(D){for(var H=this.tryEntries.length-1;H>=0;--H){var P=this.tryEntries[H];if(P.finallyLoc===D)return this.complete(P.completion,P.afterLoc),M(P),u}},catch:function(D){for(var H=this.tryEntries.length-1;H>=0;--H){var P=this.tryEntries[H];if(P.tryLoc===D){var K=P.completion;if(K.type==="throw"){var U=K.arg;M(P)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(D,H,P){return this.delegate={iterator:R(D),resultName:H,nextLoc:P},this.method==="next"&&(this.arg=p),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(B,N,i){var y=B("buffer"),m=y.Buffer;function E(v,f){for(var d in v)f[d]=v[d]}m.from&&m.alloc&&m.allocUnsafe&&m.allocUnsafeSlow?N.exports=y:(E(y,i),i.Buffer=p);function p(v,f,d){return m(v,f,d)}E(m,p),p.from=function(v,f,d){if(typeof v=="number")throw new TypeError("Argument must not be a number");return m(v,f,d)},p.alloc=function(v,f,d){if(typeof v!="number")throw new TypeError("Argument must be a number");var l=m(v);return f!==void 0?typeof d=="string"?l.fill(f,d):l.fill(f):l.fill(0),l},p.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return m(v)},p.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return y.SlowBuffer(v)}},{buffer:73}],229:[function(B,N,i){(function(y){"use strict";var m=B("babel-runtime/core-js/string/from-code-point"),E=c(m),p=B("babel-runtime/core-js/json/stringify"),v=c(p),f=B("babel-runtime/helpers/typeof"),d=c(f),l=B("babel-runtime/core-js/object/define-property"),n=c(l),t=B("babel-runtime/core-js/object/keys"),a=c(t),o=B("babel-runtime/core-js/object/create"),r=c(o);function c(e){return e&&e.__esModule?e:{default:e}}(function(e){e.parser=function(z,Y){return new u(z,Y)},e.SAXParser=u,e.SAXStream=_,e.createStream=S,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(z,Y){if(!(this instanceof u))return new u(z,Y);var pe=this;g(pe),pe.q=pe.c="",pe.bufferCheckPosition=e.MAX_BUFFER_LENGTH,pe.opt=Y||{},pe.opt.lowercase=pe.opt.lowercase||pe.opt.lowercasetags,pe.looseCase=pe.opt.lowercase?"toLowerCase":"toUpperCase",pe.tags=[],pe.closed=pe.closedRoot=pe.sawRoot=!1,pe.tag=pe.error=null,pe.strict=!!z,pe.noscript=!!(z||pe.opt.noscript),pe.state=U.BEGIN,pe.strictEntities=pe.opt.strictEntities,pe.ENTITIES=pe.strictEntities?(0,r.default)(e.XML_ENTITIES):(0,r.default)(e.ENTITIES),pe.attribList=[],pe.opt.xmlns&&(pe.ns=(0,r.default)(L)),pe.trackPosition=pe.opt.position!==!1,pe.trackPosition&&(pe.position=pe.line=pe.column=0),W(pe,"onready")}r.default||(Object.create=function(z){function Y(){}Y.prototype=z;var pe=new Y;return pe}),a.default||(Object.keys=function(z){var Y=[];for(var pe in z)z.hasOwnProperty(pe)&&Y.push(pe);return Y});function h(z){for(var Y=Math.max(e.MAX_BUFFER_LENGTH,10),pe=0,se=0,Te=s.length;se<Te;se++){var Se=z[s[se]].length;if(Se>Y)switch(s[se]){case"textNode":J(z);break;case"cdata":Z(z,"oncdata",z.cdata),z.cdata="";break;case"script":Z(z,"onscript",z.script),z.script="";break;default:q(z,"Max buffer length exceeded: "+s[se])}pe=Math.max(pe,Se)}var ie=e.MAX_BUFFER_LENGTH-pe;z.bufferCheckPosition=ie+z.position}function g(z){for(var Y=0,pe=s.length;Y<pe;Y++)z[s[Y]]=""}function A(z){J(z),z.cdata!==""&&(Z(z,"oncdata",z.cdata),z.cdata=""),z.script!==""&&(Z(z,"onscript",z.script),z.script="")}u.prototype={end:function(){ce(this)},write:X,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){A(this)}};var w;try{w=B("stream").Stream}catch(z){w=function(){}}var b=e.EVENTS.filter(function(z){return z!=="error"&&z!=="end"});function S(z,Y){return new _(z,Y)}function _(z,Y){if(!(this instanceof _))return new _(z,Y);w.apply(this),this._parser=new u(z,Y),this.writable=!0,this.readable=!0;var pe=this;this._parser.onend=function(){pe.emit("end")},this._parser.onerror=function(se){pe.emit("error",se),pe._parser.error=null},this._decoder=null,b.forEach(function(se){(0,n.default)(pe,"on"+se,{get:function(){return pe._parser["on"+se]},set:function(Se){if(!Se)return pe.removeAllListeners(se),pe._parser["on"+se]=Se,Se;pe.on(se,Se)},enumerable:!0,configurable:!1})})}_.prototype=(0,r.default)(w.prototype,{constructor:{value:_}}),_.prototype.write=function(z){if(typeof y=="function"&&typeof y.isBuffer=="function"&&y.isBuffer(z)){if(!this._decoder){var Y=B("string_decoder").StringDecoder;this._decoder=new Y("utf8")}z=this._decoder.write(z)}return this._parser.write(z.toString()),this.emit("data",z),!0},_.prototype.end=function(z){return z&&z.length&&this.write(z),this._parser.end(),!0},_.prototype.on=function(z,Y){var pe=this;return!pe._parser["on"+z]&&b.indexOf(z)!==-1&&(pe._parser["on"+z]=function(){var se=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);se.splice(0,0,z),pe.emit.apply(pe,se)}),w.prototype.on.call(pe,z,Y)};var T="[CDATA[",x="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",L={xml:C,xmlns:I},M=/[:_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]/,k=/[:_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-]/,R=/[#:_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]/,j=/[#:_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 V(z){return z===" "||z===`
`||z==="\r"||z===" "}function D(z){return z==='"'||z==="'"}function H(z){return z===">"||V(z)}function P(z,Y){return z.test(Y)}function K(z,Y){return!P(z,Y)}var U=0;e.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},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,a.default)(e.ENTITIES).forEach(function(z){var Y=e.ENTITIES[z],pe=typeof Y=="number"?String.fromCharCode(Y):Y;e.ENTITIES[z]=pe});for(var G in e.STATE)e.STATE[e.STATE[G]]=G;U=e.STATE;function W(z,Y,pe){z[Y]&&z[Y](pe)}function Z(z,Y,pe){z.textNode&&J(z),W(z,Y,pe)}function J(z){z.textNode=ve(z.opt,z.textNode),z.textNode&&W(z,"ontext",z.textNode),z.textNode=""}function ve(z,Y){return z.trim&&(Y=Y.trim()),z.normalize&&(Y=Y.replace(/\s+/g," ")),Y}function q(z,Y){return J(z),z.trackPosition&&(Y+=`
Line: `+z.line+`
Column: `+z.column+`
Char: `+z.c),Y=new Error(Y),z.error=Y,W(z,"onerror",Y),z}function ce(z){return z.sawRoot&&!z.closedRoot&&be(z,"Unclosed root tag"),z.state!==U.BEGIN&&z.state!==U.BEGIN_WHITESPACE&&z.state!==U.TEXT&&q(z,"Unexpected end"),J(z),z.c="",z.closed=!0,W(z,"onend"),u.call(z,z.strict,z.opt),z}function be(z,Y){if((typeof z=="undefined"?"undefined":(0,d.default)(z))!=="object"||!(z instanceof u))throw new Error("bad call to strictFail");z.strict&&q(z,Y)}function Ce(z){z.strict||(z.tagName=z.tagName[z.looseCase]());var Y=z.tags[z.tags.length-1]||z,pe=z.tag={name:z.tagName,attributes:{}};z.opt.xmlns&&(pe.ns=Y.ns),z.attribList.length=0,Z(z,"onopentagstart",pe)}function Fe(z,Y){var pe=z.indexOf(":"),se=pe<0?["",z]:z.split(":"),Te=se[0],Se=se[1];return Y&&z==="xmlns"&&(Te="xmlns",Se=""),{prefix:Te,local:Se}}function fe(z){if(z.strict||(z.attribName=z.attribName[z.looseCase]()),z.attribList.indexOf(z.attribName)!==-1||z.tag.attributes.hasOwnProperty(z.attribName)){z.attribName=z.attribValue="";return}if(z.opt.xmlns){var Y=Fe(z.attribName,!0),pe=Y.prefix,se=Y.local;if(pe==="xmlns")if(se==="xml"&&z.attribValue!==C)be(z,"xml: prefix must be bound to "+C+`
Actual: `+z.attribValue);else if(se==="xmlns"&&z.attribValue!==I)be(z,"xmlns: prefix must be bound to "+I+`
Actual: `+z.attribValue);else{var Te=z.tag,Se=z.tags[z.tags.length-1]||z;Te.ns===Se.ns&&(Te.ns=(0,r.default)(Se.ns)),Te.ns[se]=z.attribValue}z.attribList.push([z.attribName,z.attribValue])}else z.tag.attributes[z.attribName]=z.attribValue,Z(z,"onattribute",{name:z.attribName,value:z.attribValue});z.attribName=z.attribValue=""}function Ne(z,Y){if(z.opt.xmlns){var pe=z.tag,se=Fe(z.tagName);pe.prefix=se.prefix,pe.local=se.local,pe.uri=pe.ns[se.prefix]||"",pe.prefix&&!pe.uri&&(be(z,"Unbound namespace prefix: "+(0,v.default)(z.tagName)),pe.uri=se.prefix);var Te=z.tags[z.tags.length-1]||z;pe.ns&&Te.ns!==pe.ns&&(0,a.default)(pe.ns).forEach(function(bt){Z(z,"onopennamespace",{prefix:bt,uri:pe.ns[bt]})});for(var Se=0,ie=z.attribList.length;Se<ie;Se++){var de=z.attribList[Se],_e=de[0],We=de[1],at=Fe(_e,!0),tt=at.prefix,Oe=at.local,yt=tt===""?"":pe.ns[tt]||"",Ye={name:_e,value:We,prefix:tt,local:Oe,uri:yt};tt&&tt!=="xmlns"&&!yt&&(be(z,"Unbound namespace prefix: "+(0,v.default)(tt)),Ye.uri=tt),z.tag.attributes[_e]=Ye,Z(z,"onattribute",Ye)}z.attribList.length=0}z.tag.isSelfClosing=!!Y,z.sawRoot=!0,z.tags.push(z.tag),Z(z,"onopentag",z.tag),Y||(!z.noscript&&z.tagName.toLowerCase()==="script"?z.state=U.SCRIPT:z.state=U.TEXT,z.tag=null,z.tagName=""),z.attribName=z.attribValue="",z.attribList.length=0}function Q(z){if(!z.tagName){be(z,"Weird empty close tag."),z.textNode+="</>",z.state=U.TEXT;return}if(z.script){if(z.tagName!=="script"){z.script+="</"+z.tagName+">",z.tagName="",z.state=U.SCRIPT;return}Z(z,"onscript",z.script),z.script=""}var Y=z.tags.length,pe=z.tagName;z.strict||(pe=pe[z.looseCase]());for(var se=pe;Y--;){var Te=z.tags[Y];if(Te.name!==se)be(z,"Unexpected close tag");else break}if(Y<0){be(z,"Unmatched closing tag: "+z.tagName),z.textNode+="</"+z.tagName+">",z.state=U.TEXT;return}z.tagName=pe;for(var Se=z.tags.length;Se-- >Y;){var ie=z.tag=z.tags.pop();z.tagName=z.tag.name,Z(z,"onclosetag",z.tagName);var de={};for(var _e in ie.ns)de[_e]=ie.ns[_e];var We=z.tags[z.tags.length-1]||z;z.opt.xmlns&&ie.ns!==We.ns&&(0,a.default)(ie.ns).forEach(function(at){var tt=ie.ns[at];Z(z,"onclosenamespace",{prefix:at,uri:tt})})}Y===0&&(z.closedRoot=!0),z.tagName=z.attribValue=z.attribName="",z.attribList.length=0,z.state=U.TEXT}function ae(z){var Y=z.entity,pe=Y.toLowerCase(),se,Te="";return z.ENTITIES[Y]?z.ENTITIES[Y]:z.ENTITIES[pe]?z.ENTITIES[pe]:(Y=pe,Y.charAt(0)==="#"&&(Y.charAt(1)==="x"?(Y=Y.slice(2),se=parseInt(Y,16),Te=se.toString(16)):(Y=Y.slice(1),se=parseInt(Y,10),Te=se.toString(10))),Y=Y.replace(/^0+/,""),isNaN(se)||Te.toLowerCase()!==Y?(be(z,"Invalid character entity"),"&"+z.entity+";"):(0,E.default)(se))}function Ue(z,Y){Y==="<"?(z.state=U.OPEN_WAKA,z.startTagPosition=z.position):V(Y)||(be(z,"Non-whitespace before first tag."),z.textNode=Y,z.state=U.TEXT)}function te(z,Y){var pe="";return Y<z.length&&(pe=z.charAt(Y)),pe}function X(z){var Y=this;if(this.error)throw this.error;if(Y.closed)return q(Y,"Cannot write after close. Assign an onready handler.");if(z===null)return ce(Y);(typeof z=="undefined"?"undefined":(0,d.default)(z))==="object"&&(z=z.toString());for(var pe=0,se="";!(se=te(z,pe++),Y.c=se,!se);){Y.trackPosition&&(Y.position++,se===`
`?(Y.line++,Y.column=0):Y.column++);switch(Y.state){case U.BEGIN:if(Y.state=U.BEGIN_WHITESPACE,se==="\uFEFF")continue;Ue(Y,se);continue;case U.BEGIN_WHITESPACE:Ue(Y,se);continue;case U.TEXT:if(Y.sawRoot&&!Y.closedRoot){for(var Te=pe-1;se&&se!=="<"&&se!=="&";)se=te(z,pe++),se&&Y.trackPosition&&(Y.position++,se===`
`?(Y.line++,Y.column=0):Y.column++);Y.textNode+=z.substring(Te,pe-1)}se==="<"&&!(Y.sawRoot&&Y.closedRoot&&!Y.strict)?(Y.state=U.OPEN_WAKA,Y.startTagPosition=Y.position):(!V(se)&&(!Y.sawRoot||Y.closedRoot)&&be(Y,"Text data outside of root node."),se==="&"?Y.state=U.TEXT_ENTITY:Y.textNode+=se);continue;case U.SCRIPT:se==="<"?Y.state=U.SCRIPT_ENDING:Y.script+=se;continue;case U.SCRIPT_ENDING:se==="/"?Y.state=U.CLOSE_TAG:(Y.script+="<"+se,Y.state=U.SCRIPT);continue;case U.OPEN_WAKA:if(se==="!")Y.state=U.SGML_DECL,Y.sgmlDecl="";else if(!V(se))if(P(M,se))Y.state=U.OPEN_TAG,Y.tagName=se;else if(se==="/")Y.state=U.CLOSE_TAG,Y.tagName="";else if(se==="?")Y.state=U.PROC_INST,Y.procInstName=Y.procInstBody="";else{if(be(Y,"Unencoded <"),Y.startTagPosition+1<Y.position){var Se=Y.position-Y.startTagPosition;se=new Array(Se).join(" ")+se}Y.textNode+="<"+se,Y.state=U.TEXT}continue;case U.SGML_DECL:(Y.sgmlDecl+se).toUpperCase()===T?(Z(Y,"onopencdata"),Y.state=U.CDATA,Y.sgmlDecl="",Y.cdata=""):Y.sgmlDecl+se==="--"?(Y.state=U.COMMENT,Y.comment="",Y.sgmlDecl=""):(Y.sgmlDecl+se).toUpperCase()===x?(Y.state=U.DOCTYPE,(Y.doctype||Y.sawRoot)&&be(Y,"Inappropriately located doctype declaration"),Y.doctype="",Y.sgmlDecl=""):se===">"?(Z(Y,"onsgmldeclaration",Y.sgmlDecl),Y.sgmlDecl="",Y.state=U.TEXT):(D(se)&&(Y.state=U.SGML_DECL_QUOTED),Y.sgmlDecl+=se);continue;case U.SGML_DECL_QUOTED:se===Y.q&&(Y.state=U.SGML_DECL,Y.q=""),Y.sgmlDecl+=se;continue;case U.DOCTYPE:se===">"?(Y.state=U.TEXT,Z(Y,"ondoctype",Y.doctype),Y.doctype=!0):(Y.doctype+=se,se==="["?Y.state=U.DOCTYPE_DTD:D(se)&&(Y.state=U.DOCTYPE_QUOTED,Y.q=se));continue;case U.DOCTYPE_QUOTED:Y.doctype+=se,se===Y.q&&(Y.q="",Y.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:Y.doctype+=se,se==="]"?Y.state=U.DOCTYPE:D(se)&&(Y.state=U.DOCTYPE_DTD_QUOTED,Y.q=se);continue;case U.DOCTYPE_DTD_QUOTED:Y.doctype+=se,se===Y.q&&(Y.state=U.DOCTYPE_DTD,Y.q="");continue;case U.COMMENT:se==="-"?Y.state=U.COMMENT_ENDING:Y.comment+=se;continue;case U.COMMENT_ENDING:se==="-"?(Y.state=U.COMMENT_ENDED,Y.comment=ve(Y.opt,Y.comment),Y.comment&&Z(Y,"oncomment",Y.comment),Y.comment=""):(Y.comment+="-"+se,Y.state=U.COMMENT);continue;case U.COMMENT_ENDED:se!==">"?(be(Y,"Malformed comment"),Y.comment+="--"+se,Y.state=U.COMMENT):Y.state=U.TEXT;continue;case U.CDATA:se==="]"?Y.state=U.CDATA_ENDING:Y.cdata+=se;continue;case U.CDATA_ENDING:se==="]"?Y.state=U.CDATA_ENDING_2:(Y.cdata+="]"+se,Y.state=U.CDATA);continue;case U.CDATA_ENDING_2:se===">"?(Y.cdata&&Z(Y,"oncdata",Y.cdata),Z(Y,"onclosecdata"),Y.cdata="",Y.state=U.TEXT):se==="]"?Y.cdata+="]":(Y.cdata+="]]"+se,Y.state=U.CDATA);continue;case U.PROC_INST:se==="?"?Y.state=U.PROC_INST_ENDING:V(se)?Y.state=U.PROC_INST_BODY:Y.procInstName+=se;continue;case U.PROC_INST_BODY:if(!Y.procInstBody&&V(se))continue;se==="?"?Y.state=U.PROC_INST_ENDING:Y.procInstBody+=se;continue;case U.PROC_INST_ENDING:se===">"?(Z(Y,"onprocessinginstruction",{name:Y.procInstName,body:Y.procInstBody}),Y.procInstName=Y.procInstBody="",Y.state=U.TEXT):(Y.procInstBody+="?"+se,Y.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:P(k,se)?Y.tagName+=se:(Ce(Y),se===">"?Ne(Y):se==="/"?Y.state=U.OPEN_TAG_SLASH:(V(se)||be(Y,"Invalid character in tag name"),Y.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:se===">"?(Ne(Y,!0),Q(Y)):(be(Y,"Forward-slash in opening tag not followed by >"),Y.state=U.ATTRIB);continue;case U.ATTRIB:if(V(se))continue;se===">"?Ne(Y):se==="/"?Y.state=U.OPEN_TAG_SLASH:P(M,se)?(Y.attribName=se,Y.attribValue="",Y.state=U.ATTRIB_NAME):be(Y,"Invalid attribute name");continue;case U.ATTRIB_NAME:se==="="?Y.state=U.ATTRIB_VALUE:se===">"?(be(Y,"Attribute without value"),Y.attribValue=Y.attribName,fe(Y),Ne(Y)):V(se)?Y.state=U.ATTRIB_NAME_SAW_WHITE:P(k,se)?Y.attribName+=se:be(Y,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if(se==="=")Y.state=U.ATTRIB_VALUE;else{if(V(se))continue;be(Y,"Attribute without value"),Y.tag.attributes[Y.attribName]="",Y.attribValue="",Z(Y,"onattribute",{name:Y.attribName,value:""}),Y.attribName="",se===">"?Ne(Y):P(M,se)?(Y.attribName=se,Y.state=U.ATTRIB_NAME):(be(Y,"Invalid attribute name"),Y.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(V(se))continue;D(se)?(Y.q=se,Y.state=U.ATTRIB_VALUE_QUOTED):(be(Y,"Unquoted attribute value"),Y.state=U.ATTRIB_VALUE_UNQUOTED,Y.attribValue=se);continue;case U.ATTRIB_VALUE_QUOTED:if(se!==Y.q){se==="&"?Y.state=U.ATTRIB_VALUE_ENTITY_Q:Y.attribValue+=se;continue}fe(Y),Y.q="",Y.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:V(se)?Y.state=U.ATTRIB:se===">"?Ne(Y):se==="/"?Y.state=U.OPEN_TAG_SLASH:P(M,se)?(be(Y,"No whitespace between attributes"),Y.attribName=se,Y.attribValue="",Y.state=U.ATTRIB_NAME):be(Y,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(!H(se)){se==="&"?Y.state=U.ATTRIB_VALUE_ENTITY_U:Y.attribValue+=se;continue}fe(Y),se===">"?Ne(Y):Y.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(Y.tagName)se===">"?Q(Y):P(k,se)?Y.tagName+=se:Y.script?(Y.script+="</"+Y.tagName,Y.tagName="",Y.state=U.SCRIPT):(V(se)||be(Y,"Invalid tagname in closing tag"),Y.state=U.CLOSE_TAG_SAW_WHITE);else{if(V(se))continue;K(M,se)?Y.script?(Y.script+="</"+se,Y.state=U.SCRIPT):be(Y,"Invalid tagname in closing tag."):Y.tagName=se}continue;case U.CLOSE_TAG_SAW_WHITE:if(V(se))continue;se===">"?Q(Y):be(Y,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var ie,de;switch(Y.state){case U.TEXT_ENTITY:ie=U.TEXT,de="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:ie=U.ATTRIB_VALUE_QUOTED,de="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:ie=U.ATTRIB_VALUE_UNQUOTED,de="attribValue";break}se===";"?(Y[de]+=ae(Y),Y.entity="",Y.state=ie):P(Y.entity.length?j:R,se)?Y.entity+=se:(be(Y,"Invalid character in entity name"),Y[de]+="&"+Y.entity+se,Y.entity="",Y.state=ie);continue;default:throw new Error(Y,"Unknown state: "+Y.state)}}return Y.position>=Y.bufferCheckPosition&&h(Y),Y}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */E.default||function(){var z=String.fromCharCode,Y=Math.floor,pe=function(){var Te=16384,Se=[],ie,de,_e=-1,We=arguments.length;if(!We)return"";for(var at="";++_e<We;){var tt=Number(arguments[_e]);if(!isFinite(tt)||tt<0||tt>1114111||Y(tt)!==tt)throw RangeError("Invalid code point: "+tt);tt<=65535?Se.push(tt):(tt-=65536,ie=(tt>>10)+55296,de=tt%1024+56320,Se.push(ie,de)),(_e+1===We||Se.length>Te)&&(at+=z.apply(null,Se),Se.length=0)}return at};n.default?Object.defineProperty(String,"fromCodePoint",{value:pe,configurable:!0,writable:!0}):String.fromCodePoint=pe}()})(typeof i=="undefined"?(void 0).sax={}:i)}).call(this,B("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(B,N,i){N.exports=E;var y=B("events").EventEmitter,m=B("inherits");m(E,y),E.Readable=B("readable-stream/readable.js"),E.Writable=B("readable-stream/writable.js"),E.Duplex=B("readable-stream/duplex.js"),E.Transform=B("readable-stream/transform.js"),E.PassThrough=B("readable-stream/passthrough.js"),E.Stream=E;function E(){y.call(this)}E.prototype.pipe=function(p,v){var f=this;function d(c){p.writable&&(p.write(c)===!1&&f.pause&&f.pause())}f.on("data",d);function l(){f.readable&&f.resume&&f.resume()}p.on("drain",l),!p._isStdio&&(!v||v.end!==!1)&&(f.on("end",t),f.on("close",a));var n=!1;function t(){if(n)return;n=!0,p.end()}function a(){if(n)return;n=!0,typeof p.destroy=="function"&&p.destroy()}function o(c){if(r(),y.listenerCount(this,"error")===0)throw c}f.on("error",o),p.on("error",o);function r(){f.removeListener("data",d),p.removeListener("drain",l),f.removeListener("end",t),f.removeListener("close",a),f.removeListener("error",o),p.removeListener("error",o),f.removeListener("end",r),f.removeListener("close",r),p.removeListener("close",r)}return f.on("end",r),f.on("close",r),p.on("close",r),p.emit("pipe",f),p}},{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(B,N,i){(function(y){var m=B("./lib/request"),E=B("./lib/response"),p=B("xtend"),v=B("builtin-status-codes"),f=B("url"),d=i;d.request=function(l,n){typeof l=="string"?l=f.parse(l):l=p(l);var t=y.location.protocol.search(/^https?:$/)===-1?"http:":"",a=l.protocol||t,o=l.hostname||l.host,r=l.port,c=l.path||"/";o&&o.indexOf(":")!==-1&&(o="["+o+"]"),l.url=(o?a+"//"+o:"")+(r?":"+r:"")+c,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var e=new m(l);return n&&e.on("response",n),e},d.get=function(n,t){var a=d.request(n,t);return a.end(),a},d.ClientRequest=m,d.IncomingMessage=E.IncomingMessage,d.Agent=function(){},d.Agent.defaultMaxSockets=4,d.globalAgent=new d.Agent,d.STATUS_CODES=v,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(B,N,i){(function(y){"use strict";i.fetch=d(y.fetch)&&d(y.ReadableStream),i.writableStream=d(y.WritableStream),i.abortController=d(y.AbortController),i.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),i.blobConstructor=!0}catch(l){}var m;function E(){if(m!==void 0)return m;if(y.XMLHttpRequest){m=new y.XMLHttpRequest;try{m.open("GET",y.XDomainRequest?"/":"https://example.com")}catch(l){m=null}}else m=null;return m}function p(l){var n=E();if(!n)return!1;try{return n.responseType=l,n.responseType===l}catch(t){}return!1}var v=typeof y.ArrayBuffer!="undefined",f=v&&d(y.ArrayBuffer.prototype.slice);i.arraybuffer=i.fetch||v&&p("arraybuffer"),i.msstream=!i.fetch&&f&&p("ms-stream"),i.mozchunkedarraybuffer=!i.fetch&&v&&p("moz-chunked-arraybuffer"),i.overrideMimeType=i.fetch||(E()?d(E().overrideMimeType):!1),i.vbArray=d(y.VBArray);function d(l){return typeof l=="function"}m=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(B,N,i){(function(y,m,E){"use strict";var p=B("babel-runtime/core-js/object/keys"),v=f(p);function f(h){return h&&h.__esModule?h:{default:h}}var d=B("./capability"),l=B("inherits"),n=B("./response"),t=B("readable-stream"),a=B("to-arraybuffer"),o=n.IncomingMessage,r=n.readyStates;function c(h,g){return d.fetch&&g?"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 g=this;t.Writable.call(g),g._opts=h,g._body=[],g._headers={},h.auth&&g.setHeader("Authorization","Basic "+new E(h.auth).toString("base64")),(0,v.default)(h.headers).forEach(function(b){g.setHeader(b,h.headers[b])});var A,w=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!d.abortController)w=!1,A=!0;else if(h.mode==="prefer-streaming")A=!1;else if(h.mode==="allow-wrong-content-type")A=!d.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")A=!0;else throw new Error("Invalid value for opts.mode");g._mode=c(A,w),g._fetchTimer=null,g.on("finish",function(){g._onFinish()})};l(e,t.Writable),e.prototype.setHeader=function(h,g){var A=this,w=h.toLowerCase();if(u.indexOf(w)!==-1)return;A._headers[w]={name:h,value:g}},e.prototype.getHeader=function(h){var g=this._headers[h.toLowerCase()];return g?g.value:null},e.prototype.removeHeader=function(h){var g=this;delete g._headers[h.toLowerCase()]},e.prototype._onFinish=function(){var h=this;if(h._destroyed)return;var g=h._opts,A=h._headers,w=null;g.method!=="GET"&&g.method!=="HEAD"&&(d.arraybuffer?w=a(E.concat(h._body)):d.blobConstructor?w=new m.Blob(h._body.map(function(C){return a(C)}),{type:(A["content-type"]||{}).value||""}):w=E.concat(h._body).toString());var b=[];if((0,v.default)(A).forEach(function(C){var I=A[C].name,L=A[C].value;Array.isArray(L)?L.forEach(function(M){b.push([I,M])}):b.push([I,L])}),h._mode==="fetch"){var S=null,_=null;if(d.abortController){var T=new AbortController;S=T.signal,h._fetchAbortController=T,"requestTimeout"in g&&g.requestTimeout!==0&&(h._fetchTimer=m.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},g.requestTimeout))}m.fetch(h._opts.url,{method:h._opts.method,headers:b,body:w||void 0,mode:"cors",credentials:g.withCredentials?"include":"same-origin",signal:S}).then(function(C){h._fetchResponse=C,h._connect()},function(C){m.clearTimeout(h._fetchTimer),h._destroyed||h.emit("error",C)})}else{var x=h._xhr=new m.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=!!g.withCredentials),h._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in g&&(x.timeout=g.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 g=h.status;return g!==null&&g!==0}catch(A){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(g){h.emit("error",g)}),h.emit("response",h._response)},e.prototype._write=function(h,g,A){var w=this;w._body.push(h),A()},e.prototype.abort=e.prototype.destroy=function(){var h=this;h._destroyed=!0,m.clearTimeout(h._fetchTimer),h._response&&(h._response._destroyed=!0),h._xhr?h._xhr.abort():h._fetchAbortController&&h._fetchAbortController.abort()},e.prototype.end=function(h,g,A){var w=this;typeof h=="function"&&(A=h,h=void 0),t.Writable.prototype.end.call(w,h,g,A)},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,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("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(B,N,i){(function(y,m,E){"use strict";var p=B("babel-runtime/core-js/promise"),v=f(p);function f(o){return o&&o.__esModule?o:{default:o}}var d=B("./capability"),l=B("inherits"),n=B("readable-stream"),t=i.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=i.IncomingMessage=function(o,r,c,e){var s=this;if(n.Readable.call(s),s._mode=c,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){y.nextTick(function(){s.emit("close")})}),c==="fetch"){var u=function S(){g.read().then(function(_){if(s._destroyed)return;if(_.done){m.clearTimeout(e),s.push(null);return}s.push(new E(_.value)),S()}).catch(function(_){m.clearTimeout(e),s._destroyed||s.emit("error",_)})};if(s._fetchResponse=r,s.url=r.url,s.statusCode=r.status,s.statusMessage=r.statusText,r.headers.forEach(function(S,_){s.headers[_.toLowerCase()]=S,s.rawHeaders.push(_,S)}),d.writableStream){var h=new WritableStream({write:function(_){return new v.default(function(T,x){s._destroyed?x():s.push(new E(_))?T():s._resumeFetch=T})},close:function(){m.clearTimeout(e),s._destroyed||s.push(null)},abort:function(_){s._destroyed||s.emit("error",_)}});try{r.body.pipeTo(h).catch(function(S){m.clearTimeout(e),s._destroyed||s.emit("error",S)});return}catch(S){}}var g=r.body.getReader();u()}else{s._xhr=o,s._pos=0,s.url=o.responseURL,s.statusCode=o.status,s.statusMessage=o.statusText;var A=o.getAllResponseHeaders().split(/\r?\n/);if(A.forEach(function(S){var _=S.match(/^([^:]+):\s*(.*)/);if(_){var T=_[1].toLowerCase();T==="set-cookie"?(s.headers[T]===void 0&&(s.headers[T]=[]),s.headers[T].push(_[2])):s.headers[T]!==void 0?s.headers[T]+=", "+_[2]:s.headers[T]=_[2],s.rawHeaders.push(_[1],_[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")}}};l(a,n.Readable),a.prototype._read=function(){var o=this,r=o._resumeFetch;r&&(o._resumeFetch=null,r())},a.prototype._onXHRProgress=function(){var o=this,r=o._xhr,c=null;switch(o._mode){case"text:vbarray":if(r.readyState!==t.DONE)break;try{c=new m.VBArray(r.responseBody).toArray()}catch(g){}if(c!==null){o.push(new E(c));break}case"text":try{c=r.responseText}catch(g){o._mode="text:vbarray";break}if(c.length>o._pos){var e=c.substr(o._pos);if(o._charset==="x-user-defined"){for(var s=new E(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=c.length}break;case"arraybuffer":if(r.readyState!==t.DONE||!r.response)break;c=r.response,o.push(new E(new Uint8Array(c)));break;case"moz-chunked-arraybuffer":if(c=r.response,r.readyState!==t.LOADING||!c)break;o.push(new E(new Uint8Array(c)));break;case"ms-stream":if(c=r.response,r.readyState!==t.LOADING)break;var h=new m.MSStreamReader;h.onprogress=function(){h.result.byteLength>o._pos&&(o.push(new E(new Uint8Array(h.result.slice(o._pos)))),o._pos=h.result.byteLength)},h.onload=function(){o.push(null)},h.readAsArrayBuffer(c);break}o._xhr.readyState===t.DONE&&o._mode!=="ms-stream"&&o.push(null)}}).call(this,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},B("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(B,N,i){"use strict";var y=B("safe-buffer").Buffer,m=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 E(h){if(!h)return"utf8";for(var g;;)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(g)return;h=(""+h).toLowerCase(),g=!0}}function p(h){var g=E(h);if(typeof g!="string"&&(y.isEncoding===m||!m(h)))throw new Error("Unknown encoding: "+h);return g||h}i.StringDecoder=v;function v(h){this.encoding=p(h);var g;switch(this.encoding){case"utf16le":this.text=o,this.end=r,g=4;break;case"utf8":this.fillLast=n,g=4;break;case"base64":this.text=c,this.end=e,g=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(g)}v.prototype.write=function(h){if(h.length===0)return"";var g,A;if(this.lastNeed){if(g=this.fillLast(h),g===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<h.length?g?g+this.text(h,A):this.text(h,A):g||""},v.prototype.end=a,v.prototype.text=t,v.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,g,A){var w=g.length-1;if(w<A)return 0;var b=f(g[w]);return b>=0?(b>0&&(h.lastNeed=b-1),b):--w<A||b===-2?0:(b=f(g[w]),b>=0?(b>0&&(h.lastNeed=b-2),b):--w<A||b===-2?0:(b=f(g[w]),b>=0?(b>0&&(b===2?b=0:h.lastNeed=b-3),b):0))}function l(h,g,A){if((g[0]&192)!==128)return h.lastNeed=0,"\uFFFD";if(h.lastNeed>1&&g.length>1){if((g[1]&192)!==128)return h.lastNeed=1,"\uFFFD";if(h.lastNeed>2&&g.length>2&&(g[2]&192)!==128)return h.lastNeed=2,"\uFFFD"}}function n(h){var g=this.lastTotal-this.lastNeed,A=l(this,h,g);if(A!==void 0)return A;if(this.lastNeed<=h.length)return h.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,g,0,h.length),this.lastNeed-=h.length}function t(h,g){var A=d(this,h,g);if(!this.lastNeed)return h.toString("utf8",g);this.lastTotal=A;var w=h.length-(A-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",g,w)}function a(h){var g=h&&h.length?this.write(h):"";return this.lastNeed?g+"\uFFFD":g}function o(h,g){if((h.length-g)%2===0){var A=h.toString("utf16le",g);if(A){var w=A.charCodeAt(A.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],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",g,h.length-1)}function r(h){var g=h&&h.length?this.write(h):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,A)}return g}function c(h,g){var A=(h.length-g)%3;return A===0?h.toString("base64",g):(this.lastNeed=3-A,this.lastTotal=3,A===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",g,h.length-A))}function e(h){var g=h&&h.length?this.write(h):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function s(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}},{"safe-buffer":228}],236:[function(B,N,i){(function(y,m){var E=B("process/browser.js").nextTick,p=Function.prototype.apply,v=Array.prototype.slice,f={},d=0;i.setTimeout=function(){return new l(p.call(setTimeout,window,arguments),clearTimeout)},i.setInterval=function(){return new l(p.call(setInterval,window,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(n){n.close()};function l(n,t){this._id=n,this._clearFn=t}l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},i.enroll=function(n,t){clearTimeout(n._idleTimeoutId),n._idleTimeout=t},i.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},i._unrefActive=i.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))},i.setImmediate=typeof y=="function"?y:function(n){var t=d++,a=arguments.length<2?!1:v.call(arguments,1);return f[t]=!0,E(function(){f[t]&&(a?n.apply(null,a):n.call(null),i.clearImmediate(t))}),t},i.clearImmediate=typeof m=="function"?m:function(n){delete f[n]}}).call(this,B("timers").setImmediate,B("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(B,N,i){var y=B("buffer").Buffer;N.exports=function(m){if(m instanceof Uint8Array){if(m.byteOffset===0&&m.byteLength===m.buffer.byteLength)return m.buffer;if(typeof m.buffer.slice=="function")return m.buffer.slice(m.byteOffset,m.byteOffset+m.byteLength)}if(y.isBuffer(m)){for(var E=new Uint8Array(m.length),p=m.length,v=0;v<p;v++)E[v]=m[v];return E.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(B,N,i){"use strict";var y=B("punycode"),m=B("./util");i.parse=g,i.resolve=w,i.resolveObject=b,i.format=A,i.Url=E;function E(){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 p=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
`," "],l=["{","}","|","\\","^","`"].concat(d),n=["'"].concat(l),t=["%","/","?",";","#"].concat(n),a=["/","?","#"],o=255,r=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+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=B("querystring");function g(S,_,T){if(S&&m.isObject(S)&&S instanceof E)return S;var x=new E;return x.parse(S,_,T),x}E.prototype.parse=function(S,_,T){if(!m.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var x=S.indexOf("?"),C=x!==-1&&x<S.indexOf("#")?"?":"#",I=S.split(C),L=/\\/g;I[0]=I[0].replace(L,"/"),S=I.join(C);var M=S;if(M=M.trim(),!T&&S.split("#").length===1){var k=f.exec(M);if(k)return this.path=M,this.href=M,this.pathname=k[1],k[2]?(this.search=k[2],_?this.query=h.parse(this.search.substr(1)):this.query=this.search.substr(1)):_&&(this.search="",this.query={}),this}var R=p.exec(M);if(R){R=R[0];var j=R.toLowerCase();this.protocol=j,M=M.substr(R.length)}if(T||R||M.match(/^\/\/[^@\/]+@[^@\/]+/)){var V=M.substr(0,2)==="//";V&&!(R&&s[R])&&(M=M.substr(2),this.slashes=!0)}if(!s[R]&&(V||R&&!u[R])){for(var D=-1,H=0;H<a.length;H++){var P=M.indexOf(a[H]);P!==-1&&(D===-1||P<D)&&(D=P)}var K,U;D===-1?U=M.lastIndexOf("@"):U=M.lastIndexOf("@",D),U!==-1&&(K=M.slice(0,U),M=M.slice(U+1),this.auth=decodeURIComponent(K)),D=-1;for(var H=0;H<t.length;H++){var P=M.indexOf(t[H]);P!==-1&&(D===-1||P<D)&&(D=P)}D===-1&&(D=M.length),this.host=M.slice(0,D),M=M.slice(D),this.parseHost(),this.hostname=this.hostname||"";var G=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!G)for(var W=this.hostname.split(/\./),H=0,Z=W.length;H<Z;H++){var J=W[H];if(!J)continue;if(!J.match(r)){for(var ve="",q=0,ce=J.length;q<ce;q++)J.charCodeAt(q)>127?ve+="x":ve+=J[q];if(!ve.match(r)){var be=W.slice(0,H),Ce=W.slice(H+1),Fe=J.match(c);Fe&&(be.push(Fe[1]),Ce.unshift(Fe[2])),Ce.length&&(M="/"+Ce.join(".")+M),this.hostname=be.join(".");break}}}this.hostname.length>o?this.hostname="":this.hostname=this.hostname.toLowerCase(),G||(this.hostname=y.toASCII(this.hostname));var fe=this.port?":"+this.port:"",Ne=this.hostname||"";this.host=Ne+fe,this.href+=this.host,G&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),M[0]!=="/"&&(M="/"+M))}if(!e[j])for(var H=0,Z=n.length;H<Z;H++){var Q=n[H];if(M.indexOf(Q)===-1)continue;var ae=encodeURIComponent(Q);ae===Q&&(ae=escape(Q)),M=M.split(Q).join(ae)}var Ue=M.indexOf("#");Ue!==-1&&(this.hash=M.substr(Ue),M=M.slice(0,Ue));var te=M.indexOf("?");if(te!==-1?(this.search=M.substr(te),this.query=M.substr(te+1),_&&(this.query=h.parse(this.query)),M=M.slice(0,te)):_&&(this.search="",this.query={}),M&&(this.pathname=M),u[j]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var fe=this.pathname||"",X=this.search||"";this.path=fe+X}return this.href=this.format(),this};function A(S){return m.isString(S)&&(S=g(S)),S instanceof E?S.format():E.prototype.format.call(S)}E.prototype.format=function(){var S=this.auth||"";S&&(S=encodeURIComponent(S),S=S.replace(/%3A/i,":"),S+="@");var _=this.protocol||"",T=this.pathname||"",x=this.hash||"",C=!1,I="";this.host?C=S+this.host:this.hostname&&(C=S+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&m.isObject(this.query)&&Object.keys(this.query).length&&(I=h.stringify(this.query));var L=this.search||I&&"?"+I||"";return _&&_.substr(-1)!==":"&&(_+=":"),this.slashes||(!_||u[_])&&C!==!1?(C="//"+(C||""),T&&T.charAt(0)!=="/"&&(T="/"+T)):C||(C=""),x&&x.charAt(0)!=="#"&&(x="#"+x),L&&L.charAt(0)!=="?"&&(L="?"+L),T=T.replace(/[?#]/g,function(M){return encodeURIComponent(M)}),L=L.replace("#","%23"),_+C+T+L+x};function w(S,_){return g(S,!1,!0).resolve(_)}E.prototype.resolve=function(S){return this.resolveObject(g(S,!1,!0)).format()};function b(S,_){return S?g(S,!1,!0).resolveObject(_):_}E.prototype.resolveObject=function(S){if(m.isString(S)){var _=new E;_.parse(S,!1,!0),S=_}for(var T=new E,x=Object.keys(this),C=0;C<x.length;C++){var I=x[C];T[I]=this[I]}if(T.hash=S.hash,S.href==="")return T.href=T.format(),T;if(S.slashes&&!S.protocol){for(var L=Object.keys(S),M=0;M<L.length;M++){var k=L[M];k!=="protocol"&&(T[k]=S[k])}return u[T.protocol]&&T.hostname&&!T.pathname&&(T.path=T.pathname="/"),T.href=T.format(),T}if(S.protocol&&S.protocol!==T.protocol){if(!u[S.protocol]){for(var R=Object.keys(S),j=0;j<R.length;j++){var V=R[j];T[V]=S[V]}return T.href=T.format(),T}if(T.protocol=S.protocol,!S.host&&!s[S.protocol]){for(var Z=(S.pathname||"").split("/");Z.length&&!(S.host=Z.shift()););S.host||(S.host=""),S.hostname||(S.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),T.pathname=Z.join("/")}else T.pathname=S.pathname;if(T.search=S.search,T.query=S.query,T.host=S.host||"",T.auth=S.auth,T.hostname=S.hostname||S.host,T.port=S.port,T.pathname||T.search){var D=T.pathname||"",H=T.search||"";T.path=D+H}return T.slashes=T.slashes||S.slashes,T.href=T.format(),T}var P=T.pathname&&T.pathname.charAt(0)==="/",K=S.host||S.pathname&&S.pathname.charAt(0)==="/",U=K||P||T.host&&S.pathname,G=U,W=T.pathname&&T.pathname.split("/")||[],Z=S.pathname&&S.pathname.split("/")||[],J=T.protocol&&!u[T.protocol];if(J&&(T.hostname="",T.port=null,T.host&&(W[0]===""?W[0]=T.host:W.unshift(T.host)),T.host="",S.protocol&&(S.hostname=null,S.port=null,S.host&&(Z[0]===""?Z[0]=S.host:Z.unshift(S.host)),S.host=null),U=U&&(Z[0]===""||W[0]==="")),K)T.host=S.host||S.host===""?S.host:T.host,T.hostname=S.hostname||S.hostname===""?S.hostname:T.hostname,T.search=S.search,T.query=S.query,W=Z;else if(Z.length)W||(W=[]),W.pop(),W=W.concat(Z),T.search=S.search,T.query=S.query;else if(!m.isNullOrUndefined(S.search)){if(J){T.hostname=T.host=W.shift();var ve=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ve&&(T.auth=ve.shift(),T.host=T.hostname=ve.shift())}return T.search=S.search,T.query=S.query,(!m.isNull(T.pathname)||!m.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.href=T.format(),T}if(!W.length)return T.pathname=null,T.search?T.path="/"+T.search:T.path=null,T.href=T.format(),T;for(var q=W.slice(-1)[0],ce=(T.host||S.host||W.length>1)&&(q==="."||q==="..")||q==="",be=0,Ce=W.length;Ce>=0;Ce--)q=W[Ce],q==="."?W.splice(Ce,1):q===".."?(W.splice(Ce,1),be++):be&&(W.splice(Ce,1),be--);if(!U&&!G)for(;be--;be)W.unshift("..");U&&W[0]!==""&&(!W[0]||W[0].charAt(0)!=="/")&&W.unshift(""),ce&&W.join("/").substr(-1)!=="/"&&W.push("");var Fe=W[0]===""||W[0]&&W[0].charAt(0)==="/";if(J){T.hostname=T.host=Fe?"":W.length?W.shift():"";var ve=T.host&&T.host.indexOf("@")>0?T.host.split("@"):!1;ve&&(T.auth=ve.shift(),T.host=T.hostname=ve.shift())}return U=U||T.host&&W.length,U&&!Fe&&W.unshift(""),W.length?T.pathname=W.join("/"):(T.pathname=null,T.path=null),(!m.isNull(T.pathname)||!m.isNull(T.search))&&(T.path=(T.pathname?T.pathname:"")+(T.search?T.search:"")),T.auth=S.auth||T.auth,T.slashes=T.slashes||S.slashes,T.href=T.format(),T},E.prototype.parseHost=function(){var S=this.host,_=v.exec(S);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),S=S.substr(0,S.length-_.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(B,N,i){"use strict";N.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},{}],240:[function(B,N,i){(function(y){N.exports=m;function m(p,v){if(E("noDeprecation"))return p;var f=!1;function d(){if(!f){if(E("throwDeprecation"))throw new Error(v);E("traceDeprecation")?console.trace(v):console.warn(v),f=!0}return p.apply(this,arguments)}return d}function E(p){try{if(!y.localStorage)return!1}catch(f){return!1}var v=y.localStorage[p];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(B,N,i){typeof Object.create=="function"?N.exports=function(m,E){m.super_=E,m.prototype=Object.create(E.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})}:N.exports=function(m,E){m.super_=E;var p=function(){};p.prototype=E.prototype,m.prototype=new p,m.prototype.constructor=m}},{}],242:[function(B,N,i){N.exports=function(m){return m&&typeof m=="object"&&typeof m.copy=="function"&&typeof m.fill=="function"&&typeof m.readUInt8=="function"}},{}],243:[function(B,N,i){(function(y,m){var E=/%[sdj%]/g;i.format=function(D){if(!w(D)){for(var H=[],P=0;P<arguments.length;P++)H.push(f(arguments[P]));return H.join(" ")}for(var P=1,K=arguments,U=K.length,G=String(D).replace(E,function(Z){if(Z==="%%")return"%";if(P>=U)return Z;switch(Z){case"%s":return String(K[P++]);case"%d":return Number(K[P++]);case"%j":try{return JSON.stringify(K[P++])}catch(J){return"[Circular]"}default:return Z}}),W=K[P];P<U;W=K[++P])h(W)||!T(W)?G+=" "+W:G+=" "+f(W);return G},i.deprecate=function(D,H){if(S(m.process))return function(){return i.deprecate(D,H).apply(this,arguments)};if(y.noDeprecation===!0)return D;var P=!1;function K(){if(!P){if(y.throwDeprecation)throw new Error(H);y.traceDeprecation?console.trace(H):console.error(H),P=!0}return D.apply(this,arguments)}return K};var p={},v;i.debuglog=function(D){if(S(v)&&(v=y.env.NODE_DEBUG||""),D=D.toUpperCase(),!p[D])if(new RegExp("\\b"+D+"\\b","i").test(v)){var H=y.pid;p[D]=function(){var P=i.format.apply(i,arguments);console.error("%s %d: %s",D,H,P)}}else p[D]=function(){};return p[D]};function f(D,H){var P={seen:[],stylize:l};return arguments.length>=3&&(P.depth=arguments[2]),arguments.length>=4&&(P.colors=arguments[3]),u(H)?P.showHidden=H:H&&i._extend(P,H),S(P.showHidden)&&(P.showHidden=!1),S(P.depth)&&(P.depth=2),S(P.colors)&&(P.colors=!1),S(P.customInspect)&&(P.customInspect=!0),P.colors&&(P.stylize=d),t(P,D,P.depth)}i.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(D,H){var P=f.styles[H];return P?"["+f.colors[P][0]+"m"+D+"["+f.colors[P][1]+"m":D}function l(D,H){return D}function n(D){var H={};return D.forEach(function(P,K){H[P]=!0}),H}function t(D,H,P){if(D.customInspect&&H&&I(H.inspect)&&H.inspect!==i.inspect&&!(H.constructor&&H.constructor.prototype===H)){var K=H.inspect(P,D);return w(K)||(K=t(D,K,P)),K}var U=a(D,H);if(U)return U;var G=Object.keys(H),W=n(G);if(D.showHidden&&(G=Object.getOwnPropertyNames(H)),C(H)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return o(H);if(G.length===0){if(I(H)){var Z=H.name?": "+H.name:"";return D.stylize("[Function"+Z+"]","special")}if(_(H))return D.stylize(RegExp.prototype.toString.call(H),"regexp");if(x(H))return D.stylize(Date.prototype.toString.call(H),"date");if(C(H))return o(H)}var J="",ve=!1,q=["{","}"];if(s(H)&&(ve=!0,q=["[","]"]),I(H)){var ce=H.name?": "+H.name:"";J=" [Function"+ce+"]"}if(_(H)&&(J=" "+RegExp.prototype.toString.call(H)),x(H)&&(J=" "+Date.prototype.toUTCString.call(H)),C(H)&&(J=" "+o(H)),G.length===0&&(!ve||H.length==0))return q[0]+J+q[1];if(P<0)return _(H)?D.stylize(RegExp.prototype.toString.call(H),"regexp"):D.stylize("[Object]","special");D.seen.push(H);var be;return ve?be=r(D,H,P,W,G):be=G.map(function(Ce){return c(D,H,P,W,Ce,ve)}),D.seen.pop(),e(be,J,q)}function a(D,H){if(S(H))return D.stylize("undefined","undefined");if(w(H)){var P="'"+JSON.stringify(H).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(P,"string")}if(A(H))return D.stylize(""+H,"number");if(u(H))return D.stylize(""+H,"boolean");if(h(H))return D.stylize("null","null")}function o(D){return"["+Error.prototype.toString.call(D)+"]"}function r(D,H,P,K,U){for(var G=[],W=0,Z=H.length;W<Z;++W)V(H,String(W))?G.push(c(D,H,P,K,String(W),!0)):G.push("");return U.forEach(function(J){J.match(/^\d+$/)||G.push(c(D,H,P,K,J,!0))}),G}function c(D,H,P,K,U,G){var W,Z,J;if(J=Object.getOwnPropertyDescriptor(H,U)||{value:H[U]},J.get?J.set?Z=D.stylize("[Getter/Setter]","special"):Z=D.stylize("[Getter]","special"):J.set&&(Z=D.stylize("[Setter]","special")),V(K,U)||(W="["+U+"]"),Z||(D.seen.indexOf(J.value)<0?(h(P)?Z=t(D,J.value,null):Z=t(D,J.value,P-1),Z.indexOf(`
`)>-1&&(G?Z=Z.split(`
`).map(function(ve){return" "+ve}).join(`
`).substr(2):Z=`
`+Z.split(`
`).map(function(ve){return" "+ve}).join(`
`))):Z=D.stylize("[Circular]","special")),S(W)){if(G&&U.match(/^\d+$/))return Z;W=JSON.stringify(""+U),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.substr(1,W.length-2),W=D.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=D.stylize(W,"string"))}return W+": "+Z}function e(D,H,P){var K=0,U=D.reduce(function(G,W){return K++,W.indexOf(`
`)>=0&&K++,G+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return U>60?P[0]+(H===""?"":H+`
`)+" "+D.join(`,
`)+" "+P[1]:P[0]+H+" "+D.join(", ")+" "+P[1]}function s(D){return Array.isArray(D)}i.isArray=s;function u(D){return typeof D=="boolean"}i.isBoolean=u;function h(D){return D===null}i.isNull=h;function g(D){return D==null}i.isNullOrUndefined=g;function A(D){return typeof D=="number"}i.isNumber=A;function w(D){return typeof D=="string"}i.isString=w;function b(D){return typeof D=="symbol"}i.isSymbol=b;function S(D){return D===void 0}i.isUndefined=S;function _(D){return T(D)&&M(D)==="[object RegExp]"}i.isRegExp=_;function T(D){return typeof D=="object"&&D!==null}i.isObject=T;function x(D){return T(D)&&M(D)==="[object Date]"}i.isDate=x;function C(D){return T(D)&&(M(D)==="[object Error]"||D instanceof Error)}i.isError=C;function I(D){return typeof D=="function"}i.isFunction=I;function L(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D=="undefined"}i.isPrimitive=L,i.isBuffer=B("./support/isBuffer");function M(D){return Object.prototype.toString.call(D)}function k(D){return D<10?"0"+D.toString(10):D.toString(10)}var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var D=new Date,H=[k(D.getHours()),k(D.getMinutes()),k(D.getSeconds())].join(":");return[D.getDate(),R[D.getMonth()],H].join(" ")}i.log=function(){console.log("%s - %s",j(),i.format.apply(i,arguments))},i.inherits=B("inherits"),i._extend=function(D,H){if(!H||!T(H))return D;for(var P=Object.keys(H),K=P.length;K--;)D[P[K]]=H[P[K]];return D};function V(D,H){return Object.prototype.hasOwnProperty.call(D,H)}}).call(this,B("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(B,N,i){"use strict";(function(){"use strict";i.stripBOM=function(y){return y[0]==="\uFEFF"?y.substring(1):y}}).call(void 0)},{}],245:[function(B,N,i){"use strict";var y=B("babel-runtime/helpers/typeof"),m=v(y),E=B("babel-runtime/core-js/object/keys"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}(function(){"use strict";var f,d,l,n,t,a={}.hasOwnProperty;f=B("xmlbuilder"),d=B("./defaults").defaults,n=function(r){return typeof r=="string"&&(r.indexOf("&")>=0||r.indexOf(">")>=0||r.indexOf("<")>=0)},t=function(r){return"<![CDATA["+l(r)+"]]>"},l=function(r){return r.replace("]]>","]]]]><![CDATA[>")},i.Builder=function(){function o(r){var c,e,s;this.options={},e=d["0.2"];for(c in e){if(!a.call(e,c))continue;s=e[c],this.options[c]=s}for(c in r){if(!a.call(r,c))continue;s=r[c],this.options[c]=s}}return o.prototype.buildObject=function(r){var c,e,s,u,h;return c=this.options.attrkey,e=this.options.charkey,(0,p.default)(r).length===1&&this.options.rootName===d["0.2"].rootName?(h=(0,p.default)(r)[0],r=r[h]):h=this.options.rootName,s=function(g){return function(A,w){var b,S,_,T,x,C;if((typeof w=="undefined"?"undefined":(0,m.default)(w))!=="object")g.options.cdata&&n(w)?A.raw(t(w)):A.txt(w);else if(Array.isArray(w))for(T in w){if(!a.call(w,T))continue;S=w[T];for(x in S)_=S[x],A=s(A.ele(x),_).up()}else for(x in w){if(!a.call(w,x))continue;if(S=w[x],x===c){if((typeof S=="undefined"?"undefined":(0,m.default)(S))==="object")for(b in S)C=S[b],A=A.att(b,C)}else if(x===e)g.options.cdata&&n(S)?A=A.raw(t(S)):A=A.txt(S);else if(Array.isArray(S))for(T in S){if(!a.call(S,T))continue;_=S[T],typeof _=="string"?g.options.cdata&&n(_)?A=A.ele(x).raw(t(_)).up():A=A.ele(x,_).up():A=s(A.ele(x),_).up()}else(typeof S=="undefined"?"undefined":(0,m.default)(S))==="object"?A=s(A.ele(x),S).up():typeof S=="string"&&g.options.cdata&&n(S)?A=A.ele(x).raw(t(S)).up():(S==null&&(S=""),A=A.ele(x,S.toString()).up())}return A}}(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(B,N,i){"use strict";(function(){i.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(B,N,i){"use strict";var y=B("babel-runtime/core-js/promise"),m=n(y),E=B("babel-runtime/core-js/object/get-own-property-names"),p=n(E),v=B("babel-runtime/core-js/object/keys"),f=n(v),d=B("babel-runtime/helpers/typeof"),l=n(d);function n(t){return t&&t.__esModule?t:{default:t}}(function(){"use strict";var t,a,o,r,c,e,s,u,h=function(b,S){return function(){return b.apply(S,arguments)}},g=function(b,S){for(var _ in S)A.call(S,_)&&(b[_]=S[_]);function T(){this.constructor=b}return T.prototype=S.prototype,b.prototype=new T,b.__super__=S.prototype,b},A={}.hasOwnProperty;s=B("sax"),o=B("events"),t=B("./bom"),e=B("./processors"),u=B("timers").setImmediate,a=B("./defaults").defaults,r=function(b){return(typeof b=="undefined"?"undefined":(0,l.default)(b))==="object"&&b!=null&&(0,f.default)(b).length===0},c=function(b,S,_){var T,x,C;for(T=0,x=b.length;T<x;T++)C=b[T],S=C(S,_);return S},i.Parser=function(w){g(b,w);function b(S){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 i.Parser))return new i.Parser(S);this.options={},T=a["0.2"];for(_ in T){if(!A.call(T,_))continue;x=T[_],this.options[_]=x}for(_ in S){if(!A.call(S,_))continue;x=S[_],this.options[_]=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 S,_;try{return this.remaining.length<=this.options.chunkSize?(S=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(S),this.saxParser.close()):(S=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(S),u(this.processAsync))}catch(T){if(_=T,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(_)}},b.prototype.assignOrPush=function(S,_,T){return _ in S?(S[_]instanceof Array||(S[_]=[S[_]]),S[_].push(T)):this.options.explicitArray?S[_]=[T]:S[_]=T},b.prototype.reset=function(){var S,_,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=[],S=this.options.attrkey,_=this.options.charkey,this.saxParser.onopentag=function(C){return function(I){var L,M,k,R,j;if(k={},k[_]="",!C.options.ignoreAttrs){j=I.attributes;for(L in j){if(!A.call(j,L))continue;!(S in k)&&!C.options.mergeAttrs&&(k[S]={}),M=C.options.attrValueProcessors?c(C.options.attrValueProcessors,I.attributes[L],L):I.attributes[L],R=C.options.attrNameProcessors?c(C.options.attrNameProcessors,L):L,C.options.mergeAttrs?C.assignOrPush(k,R,M):k[S][R]=M}}return k["#name"]=C.options.tagNameProcessors?c(C.options.tagNameProcessors,I.name):I.name,C.options.xmlns&&(k[C.options.xmlnskey]={uri:I.uri,local:I.local}),x.push(k)}}(this),this.saxParser.onclosetag=function(C){return function(){var I,L,M,k,R,j,V,D,H,P;if(j=x.pop(),R=j["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete j["#name"],j.cdata===!0&&(I=j.cdata,delete j.cdata),H=x[x.length-1],j[_].match(/^\s*$/)&&!I?(L=j[_],delete j[_]):(C.options.trim&&(j[_]=j[_].trim()),C.options.normalize&&(j[_]=j[_].replace(/\s{2,}/g," ").trim()),j[_]=C.options.valueProcessors?c(C.options.valueProcessors,j[_],R):j[_],(0,f.default)(j).length===1&&_ in j&&!C.EXPLICIT_CHARKEY&&(j=j[_])),r(j)&&(j=C.options.emptyTag!==""?C.options.emptyTag:L),C.options.validator!=null&&(P="/"+function(){var K,U,G;for(G=[],K=0,U=x.length;K<U;K++)k=x[K],G.push(k["#name"]);return G}().concat(R).join("/"),function(){var K;try{return j=C.options.validator(P,H&&H[R],j)}catch(U){return K=U,C.emit("error",K)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof j=="undefined"?"undefined":(0,l.default)(j))==="object"){if(!C.options.preserveChildrenOrder)k={},C.options.attrkey in j&&(k[C.options.attrkey]=j[C.options.attrkey],delete j[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in j&&(k[C.options.charkey]=j[C.options.charkey],delete j[C.options.charkey]),(0,p.default)(j).length>0&&(k[C.options.childkey]=j),j=k;else if(H){H[C.options.childkey]=H[C.options.childkey]||[],V={};for(M in j){if(!A.call(j,M))continue;V[M]=j[M]}H[C.options.childkey].push(V),delete j["#name"],(0,f.default)(j).length===1&&_ in j&&!C.EXPLICIT_CHARKEY&&(j=j[_])}}return x.length>0?C.assignOrPush(H,R,j):(C.options.explicitRoot&&(D=j,j={},j[R]=D),C.resultObject=j,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),T=function(C){return function(I){var L,M;if(M=x[x.length-1],M)return M[_]+=I,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(M[C.options.childkey]=M[C.options.childkey]||[],L={"#name":"__text__"},L[_]=I,C.options.normalize&&(L[_]=L[_].replace(/\s{2,}/g," ").trim()),M[C.options.childkey].push(L)),M}}(this),this.saxParser.ontext=T,this.saxParser.oncdata=function(C){return function(I){var L;if(L=T(I),L)return L.cdata=!0}}(this)},b.prototype.parseString=function(S,_){var T;_!=null&&typeof _=="function"&&(this.on("end",function(x){return this.reset(),_(null,x)}),this.on("error",function(x){return this.reset(),_(x)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=t.stripBOM(S),this.options.async?(this.remaining=S,u(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(x){if(T=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw T}else return this.emit("error",T),this.saxParser.errThrown=!0}},b.prototype.parseStringPromise=function(S){return new m.default(function(_){return function(T,x){return _.parseString(S,function(C,I){return C?x(C):T(I)})}}(this))},b}(o),i.parseString=function(w,b,S){var _,T,x;return S!=null?(typeof S=="function"&&(_=S),(typeof b=="undefined"?"undefined":(0,l.default)(b))==="object"&&(T=b)):(typeof b=="function"&&(_=b),T={}),x=new i.Parser(T),x.parseString(w,_)},i.parseStringPromise=function(w,b){var S,_;return(typeof b=="undefined"?"undefined":(0,l.default)(b))==="object"&&(S=b),_=new i.Parser(S),_.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(B,N,i){"use strict";(function(){"use strict";var y;y=new RegExp(/(?!xmlns)^.*:/),i.normalize=function(m){return m.toLowerCase()},i.firstCharLowerCase=function(m){return m.charAt(0).toLowerCase()+m.slice(1)},i.stripPrefix=function(m){return m.replace(y,"")},i.parseNumbers=function(m){return isNaN(m)||(m=m%1===0?parseInt(m,10):parseFloat(m)),m},i.parseBooleans=function(m){return/^(?:true|false)$/i.test(m)&&(m=m.toLowerCase()==="true"),m}}).call(void 0)},{}],249:[function(B,N,i){"use strict";(function(){"use strict";var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;m=B("./defaults"),y=B("./builder"),E=B("./parser"),p=B("./processors"),i.defaults=m.defaults,i.processors=p,i.ValidationError=function(d){v(l,d);function l(n){this.message=n}return l}(Error),i.Builder=y.Builder,i.Parser=E.Parser,i.parseString=E.parseString,i.parseStringPromise=E.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(B,N,i){"use strict";(function(){N.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(B,N,i){"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(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/get-prototype-of"),m=d(y),E=B("babel-runtime/helpers/typeof"),p=d(E),v=B("babel-runtime/core-js/object/assign"),f=d(v);function d(l){return l&&l.__esModule?l:{default:l}}(function(){var l,n,t,a,o,r,c,e=[].slice,s={}.hasOwnProperty;l=function(){var h,g,A,w,b,S;if(S=arguments[0],b=2<=arguments.length?e.call(arguments,1):[],o(f.default))f.default.apply(null,arguments);else for(h=0,A=b.length;h<A;h++)if(w=b[h],w!=null)for(g in w){if(!s.call(w,g))continue;S[g]=w[g]}return S},o=function(h){return!!h&&Object.prototype.toString.call(h)==="[object Function]"},r=function(h){var g;return!!h&&((g=typeof h=="undefined"?"undefined":(0,p.default)(h))==="function"||g==="object")},t=function(h){return o(Array.isArray)?Array.isArray(h):Object.prototype.toString.call(h)==="[object Array]"},a=function(h){var g;if(t(h))return!h.length;for(g in h){if(!s.call(h,g))continue;return!1}return!0},c=function(h){var g,A;return r(h)&&(A=(0,m.default)(h))&&(g=A.constructor)&&typeof g=="function"&&g instanceof g&&Function.prototype.toString.call(g)===Function.prototype.toString.call(Object)},n=function(h){return o(h.valueOf)?h.valueOf():h},N.exports.assign=l,N.exports.isFunction=o,N.exports.isObject=r,N.exports.isArray=t,N.exports.isEmpty=a,N.exports.isPlainObject=c,N.exports.getValue=n}).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(B,N,i){"use strict";(function(){N.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f;p=B("./NodeType"),f=B("./XMLNode"),N.exports=v=function(){function d(l,n,t){if(this.parent=l,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(t),this.type=p.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(n){return this.value=n||""}}),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,m.default)(this)},d.prototype.toString=function(l){return this.options.writer.attribute(this,this.options.writer.filterOptions(l))},d.prototype.debugInfo=function(l){return l=l||this.name,l==null?"parent: <"+this.parent.name+">":"attribute: {"+l+"}, parent: <"+this.parent.name+">"},d.prototype.isEqualNode=function(l){return l.namespaceURI!==this.namespaceURI||(l.prefix!==this.prefix||l.localName!==this.localName)?!1:!(l.value!==this.value)},d}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=B("./NodeType"),f=B("./XMLCharacterData"),N.exports=v=function(n){d(t,n);function t(a,o){if(t.__super__.constructor.call(this,a),o==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=p.CData,this.value=this.stringify.cdata(o)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},t}(f)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f=function(n,t){for(var a in t)d.call(t,a)&&(n[a]=t[a]);function o(){this.constructor=n}return o.prototype=t.prototype,n.prototype=new o,n.__super__=t.prototype,n},d={}.hasOwnProperty;v=B("./XMLNode"),N.exports=p=function(l){f(n,l);function n(t){n.__super__.constructor.call(this,t),this.value=""}return Object.defineProperty(n.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(n.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(n.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),n.prototype.clone=function(){return(0,m.default)(this)},n.prototype.substringData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.appendData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.insertData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.deleteData=function(t,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceData=function(t,a,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(t){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)?!(t.data!==this.data):!1},n}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=B("./NodeType"),v=B("./XMLCharacterData"),N.exports=f=function(n){d(t,n);function t(a,o){if(t.__super__.constructor.call(this,a),o==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=p.Comment,this.value=this.stringify.comment(o)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=v(y),E=B("babel-runtime/core-js/object/create"),p=v(E);function v(f){return f&&f.__esModule?f:{default:f}}(function(){var f,d,l;d=B("./XMLDOMErrorHandler"),l=B("./XMLDOMStringList"),N.exports=f=function(){function n(){var t;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=t=(0,p.default)(this.defaultParams)}return Object.defineProperty(n.prototype,"parameterNames",{get:function(){return new l((0,m.default)(this.defaultParams))}}),n.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},n.prototype.canSetParameter=function(t,a){return!0},n.prototype.setParameter=function(t,a){return a!=null?this.params[t]=a:delete this.params[t]},n}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(B,N,i){"use strict";(function(){var y;N.exports=y=function(){function m(){}return m.prototype.handleError=function(E){throw new Error(E)},m}()}).call(void 0)},{}],260:[function(B,N,i){"use strict";(function(){var y;N.exports=y=function(){function m(){}return m.prototype.hasFeature=function(E,p){return!0},m.prototype.createDocumentType=function(E,p,v){throw new Error("This DOM method is not implemented.")},m.prototype.createDocument=function(E,p,v){throw new Error("This DOM method is not implemented.")},m.prototype.createHTMLDocument=function(E){throw new Error("This DOM method is not implemented.")},m.prototype.getFeature=function(E,p){throw new Error("This DOM method is not implemented.")},m}()}).call(void 0)},{}],261:[function(B,N,i){"use strict";(function(){var y;N.exports=y=function(){function m(E){this.arr=E||[]}return Object.defineProperty(m.prototype,"length",{get:function(){return this.arr.length}}),m.prototype.item=function(E){return this.arr[E]||null},m.prototype.contains=function(E){return this.arr.indexOf(E)!==-1},m}()}).call(void 0)},{}],262:[function(B,N,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(f){p(d,f);function d(l,n,t,a,o,r){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(t==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!o)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));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(n));if(r&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=y.AttributeDeclaration,this.attributeName=this.stringify.name(t),this.attributeType=this.stringify.dtdAttType(a),r&&(this.defaultValue=this.stringify.dtdAttDefault(r)),this.defaultValueType=o}return d.prototype.toString=function(l){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(B,N,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(f){p(d,f);function d(l,n,t){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD element name. "+this.debugInfo());t||(t="(#PCDATA)"),Array.isArray(t)&&(t="("+t.join(",")+")"),this.name=this.stringify.name(n),this.type=y.ElementDeclaration,this.value=this.stringify.dtdElementValue(t)}return d.prototype.toString=function(l){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(B,N,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;p=B("./Utility").isObject,E=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(d){v(l,d);function l(n,t,a,o){if(l.__super__.constructor.call(this,n),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(o==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!t,this.name=this.stringify.name(a),this.type=y.EntityDeclaration,!p(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(a));if(o.pubID&&!o.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));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(a))}}return Object.defineProperty(l.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(l.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(l.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(l.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(l.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(l.prototype,"xmlVersion",{get:function(){return null}}),l.prototype.toString=function(n){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(n))},l}(E)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(B,N,i){"use strict";(function(){var y,m,E,p=function(d,l){for(var n in l)v.call(l,n)&&(d[n]=l[n]);function t(){this.constructor=d}return t.prototype=l.prototype,d.prototype=new t,d.__super__=l.prototype,d},v={}.hasOwnProperty;E=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(f){p(d,f);function d(l,n,t){if(d.__super__.constructor.call(this,l),n==null)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!t.pubID&&!t.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=y.NotationDeclaration,t.pubID!=null&&(this.pubID=this.stringify.dtdPubID(t.pubID)),t.sysID!=null&&(this.sysID=this.stringify.dtdSysID(t.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(l){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(l))},d}(E)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(B,N,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;p=B("./Utility").isObject,E=B("./XMLNode"),y=B("./NodeType"),N.exports=m=function(d){v(l,d);function l(n,t,a,o){var r;l.__super__.constructor.call(this,n),p(t)&&(r=t,t=r.version,a=r.encoding,o=r.standalone),t||(t="1.0"),this.type=y.Declaration,this.version=this.stringify.xmlVersion(t),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),o!=null&&(this.standalone=this.stringify.xmlStandalone(o))}return l.prototype.toString=function(n){return this.options.writer.declaration(this,this.options.writer.filterOptions(n))},l}(E)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t=function(r,c){for(var e in c)a.call(c,e)&&(r[e]=c[e]);function s(){this.constructor=r}return s.prototype=c.prototype,r.prototype=new s,r.__super__=c.prototype,r},a={}.hasOwnProperty;n=B("./Utility").isObject,l=B("./XMLNode"),y=B("./NodeType"),m=B("./XMLDTDAttList"),p=B("./XMLDTDEntity"),E=B("./XMLDTDElement"),v=B("./XMLDTDNotation"),d=B("./XMLNamedNodeMap"),N.exports=f=function(o){t(r,o);function r(c,e,s){var u,h,g,A,w,b;if(r.__super__.constructor.call(this,c),this.type=y.DocType,c.children){for(A=c.children,h=0,g=A.length;h<g;h++)if(u=A[h],u.type===y.Element){this.name=u.name;break}}this.documentObject=c,n(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,g;for(h={},g=this.children,s=0,u=g.length;s<u;s++)e=g[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,g;for(h={},g=this.children,s=0,u=g.length;s<u;s++)e=g[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(c,e){var s;return s=new E(this,c,e),this.children.push(s),this},r.prototype.attList=function(c,e,s,u,h){var g;return g=new m(this,c,e,s,u,h),this.children.push(g),this},r.prototype.entity=function(c,e){var s;return s=new p(this,!1,c,e),this.children.push(s),this},r.prototype.pEntity=function(c,e){var s;return s=new p(this,!0,c,e),this.children.push(s),this},r.prototype.notation=function(c,e){var s;return s=new v(this,c,e),this.children.push(s),this},r.prototype.toString=function(c){return this.options.writer.docType(this,this.options.writer.filterOptions(c))},r.prototype.ele=function(c,e){return this.element(c,e)},r.prototype.att=function(c,e,s,u,h){return this.attList(c,e,s,u,h)},r.prototype.ent=function(c,e){return this.entity(c,e)},r.prototype.pent=function(c,e){return this.pEntity(c,e)},r.prototype.not=function(c,e){return this.notation(c,e)},r.prototype.up=function(){return this.root()||this.documentObject},r.prototype.isEqualNode=function(c){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(c)?c.name!==this.name||c.publicId!==this.publicId?!1:!(c.systemId!==this.systemId):!1},r}(l)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n=function(o,r){for(var c in r)t.call(r,c)&&(o[c]=r[c]);function e(){this.constructor=o}return e.prototype=r.prototype,o.prototype=new e,o.__super__=r.prototype,o},t={}.hasOwnProperty;l=B("./Utility").isPlainObject,E=B("./XMLDOMImplementation"),m=B("./XMLDOMConfiguration"),v=B("./XMLNode"),y=B("./NodeType"),d=B("./XMLStringifier"),f=B("./XMLStringWriter"),N.exports=p=function(a){n(o,a);function o(r){o.__super__.constructor.call(this,null),this.name="#document",this.type=y.Document,this.documentURI=null,this.domConfig=new m,r||(r={}),r.writer||(r.writer=new f),this.options=r,this.stringify=new d(r)}return Object.defineProperty(o.prototype,"implementation",{value:new E}),Object.defineProperty(o.prototype,"doctype",{get:function(){var c,e,s,u;for(u=this.children,e=0,s=u.length;e<s;e++)if(c=u[e],c.type===y.DocType)return c;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 c;return c={},r?l(r)&&(c=r,r=this.options.writer):r=this.options.writer,r.document(this,r.filterOptions(c))},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,c){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,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createElementNS=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createAttributeNS=function(r,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.getElementsByTagNameNS=function(r,c){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,c,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,c,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.createTreeWalker=function(r,c,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},o}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,o,r,c,e,s,u,h,g,A,w,b,S,_,T={}.hasOwnProperty;_=B("./Utility"),b=_.isObject,w=_.isFunction,S=_.isPlainObject,A=_.getValue,y=B("./NodeType"),o=B("./XMLDocument"),c=B("./XMLElement"),p=B("./XMLCData"),v=B("./XMLComment"),s=B("./XMLRaw"),g=B("./XMLText"),e=B("./XMLProcessingInstruction"),t=B("./XMLDeclaration"),a=B("./XMLDocType"),f=B("./XMLDTDAttList"),l=B("./XMLDTDEntity"),d=B("./XMLDTDElement"),n=B("./XMLDTDNotation"),E=B("./XMLAttribute"),h=B("./XMLStringifier"),u=B("./XMLStringWriter"),m=B("./WriterState"),N.exports=r=function(){function x(C,I,L){var M;this.name="?xml",this.type=y.Document,C||(C={}),M={},C.writer?S(C.writer)&&(M=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(M),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,M,k,R,j,V,D;switch(C.type){case y.CData:this.cdata(C.value);break;case y.Comment:this.comment(C.value);break;case y.Element:M={},V=C.attribs;for(L in V){if(!T.call(V,L))continue;I=V[L],M[L]=I.value}this.node(C.name,M);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(D=C.children,R=0,j=D.length;R<j;R++)k=D[R],this.createChildNode(k),k.type===y.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(C,I,L){var M;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=A(C),I==null&&(I={}),I=A(I),b(I)||(M=[I,L],L=M[0],I=M[1]),this.currentNode=new c(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 M,k,R,j,V,D;if(this.currentNode&&this.currentNode.type===y.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||b(C)||w(C))for(j=this.options.noValidation,this.options.noValidation=!0,D=new o(this.options).element("TEMP_ROOT"),D.element(C),this.options.noValidation=j,V=D.children,k=0,R=V.length;k<R;k++)M=V[k],this.createChildNode(M),M.type===y.Element&&this.up();else this.node(C,I,L);return this},x.prototype.attribute=function(C,I){var L,M;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=A(C)),b(C))for(L in C){if(!T.call(C,L))continue;M=C[L],this.attribute(L,M)}else w(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[C]=new E(this,C,""):I!=null&&(this.currentNode.attribs[C]=new E(this,C,I));return this},x.prototype.text=function(C){var I;return this.openCurrent(),I=new g(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 p(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 v(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,M,k,R,j;if(this.openCurrent(),C!=null&&(C=A(C)),I!=null&&(I=A(I)),Array.isArray(C))for(L=0,R=C.length;L<R;L++)M=C[L],this.instruction(M);else if(b(C))for(M in C){if(!T.call(C,M))continue;k=C[M],this.instruction(M,k)}else w(I)&&(I=I.apply()),j=new e(this,C,I),this.onData(this.writer.processingInstruction(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(C,I,L){var M;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return M=new t(this,C,I,L),this.onData(this.writer.declaration(M,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 a(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,M,k){var R;return this.openCurrent(),R=new f(this,C,I,L,M,k),this.onData(this.writer.dtdAttList(R,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(C,I){var L;return this.openCurrent(),L=new l(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 l(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 n(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,M,k;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===y.Element&&(this.root=C),L="",C.type===y.Element){this.writerOptions.state=m.OpenTag,L=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,k=C.attribs;for(M in k){if(!T.call(k,M))continue;I=k[M],L+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}L+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=m.InsideTag}else this.writerOptions.state=m.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=m.InsideTag):(this.writerOptions.state=m.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=m.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=m.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(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;f=B("./XMLNode"),p=B("./NodeType"),N.exports=v=function(n){d(t,n);function t(a){t.__super__.constructor.call(this,a),this.type=p.Dummy}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return""},t}(f)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d,l,n,t,a,o,r=function(s,u){for(var h in u)c.call(u,h)&&(s[h]=u[h]);function g(){this.constructor=s}return g.prototype=u.prototype,s.prototype=new g,s.__super__=u.prototype,s},c={}.hasOwnProperty;o=B("./Utility"),a=o.isObject,t=o.isFunction,n=o.getValue,l=B("./XMLNode"),p=B("./NodeType"),v=B("./XMLAttribute"),d=B("./XMLNamedNodeMap"),N.exports=f=function(e){r(s,e);function s(u,h,g){var A,w,b,S;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=p.Element,this.attribs={},this.schemaTypeInfo=null,g!=null&&this.attribute(g),u.type===p.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(S=u.children,w=0,b=S.length;w<b;w++)if(A=S[w],A.type===p.DocType){A.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,g,A;g=(0,m.default)(this),g.isRoot&&(g.documentObject=null),g.attribs={},A=this.attribs;for(h in A){if(!c.call(A,h))continue;u=A[h],g.attribs[h]=u.clone()}return g.children=[],this.children.forEach(function(w){var b;return b=w.clone(),b.parent=g,g.children.push(b)}),g},s.prototype.attribute=function(u,h){var g,A;if(u!=null&&(u=n(u)),a(u))for(g in u){if(!c.call(u,g))continue;A=u[g],this.attribute(g,A)}else t(h)&&(h=h.apply()),this.options.keepNullAttributes&&h==null?this.attribs[u]=new v(this,u,""):h!=null&&(this.attribs[u]=new v(this,u,h));return this},s.prototype.removeAttribute=function(u){var h,g,A;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(g=0,A=u.length;g<A;g++)h=u[g],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,g){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,g){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,g,A;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=g=0,A=this.attribs.length-1;0<=A?g<=A:g>=A;h=0<=A?++g:--g)if(!this.attribs[h].isEqualNode(u.attribs[h]))return!1;return!0},s}(l)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/keys"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p;N.exports=p=function(){function v(f){this.nodes=f}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,m.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(f){return this.nodes[f]},v.prototype.setNamedItem=function(f){var d;return d=this.nodes[f.nodeName],this.nodes[f.nodeName]=f,d||null},v.prototype.removeNamedItem=function(f){var d;return d=this.nodes[f],delete this.nodes[f],d||null},v.prototype.item=function(f){return this.nodes[(0,m.default)(this.nodes)[f]]||null},v.prototype.getNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(f){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(f,d){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,o,r,c,e,s,u,h,g,A={}.hasOwnProperty;g=B("./Utility"),h=g.isObject,u=g.isFunction,s=g.isEmpty,e=g.getValue,l=null,E=null,p=null,v=null,f=null,r=null,c=null,o=null,d=null,m=null,a=null,n=null,y=null,N.exports=t=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,l||(l=B("./XMLElement"),E=B("./XMLCData"),p=B("./XMLComment"),v=B("./XMLDeclaration"),f=B("./XMLDocType"),r=B("./XMLRaw"),c=B("./XMLText"),o=B("./XMLProcessingInstruction"),d=B("./XMLDummy"),m=B("./NodeType"),a=B("./XMLNodeList"),n=B("./XMLNamedNodeMap"),y=B("./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 a(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 S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(w.prototype,"textContent",{get:function(){var S,_,T,x,C;if(this.nodeType===m.Element||this.nodeType===m.DocumentFragment){for(C="",x=this.children,_=0,T=x.length;_<T;_++)S=x[_],S.textContent&&(C+=S.textContent);return C}else return null},set:function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),w.prototype.setParent=function(b){var S,_,T,x,C;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),x=this.children,C=[],_=0,T=x.length;_<T;_++)S=x[_],C.push(S.setParent(this));return C},w.prototype.element=function(b,S,_){var T,x,C,I,L,M,k,R,j,V,D;if(M=null,S===null&&_==null&&(j=[{},null],S=j[0],_=j[1]),S==null&&(S={}),S=e(S),h(S)||(V=[S,_],_=V[0],S=V[1]),b!=null&&(b=e(b)),Array.isArray(b))for(C=0,k=b.length;C<k;C++)x=b[C],M=this.element(x);else if(u(b))M=this.element(b.apply());else if(h(b))for(L in b){if(!A.call(b,L))continue;if(D=b[L],u(D)&&(D=D.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)M=this.attribute(L.substr(this.stringify.convertAttKey.length),D);else if(!this.options.separateArrayItems&&Array.isArray(D)&&s(D))M=this.dummy();else if(h(D)&&s(D))M=this.element(L);else if(!this.options.keepNullNodes&&D==null)M=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(D))for(I=0,R=D.length;I<R;I++)x=D[I],T={},T[L]=x,M=this.element(T);else h(D)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?M=this.element(D):(M=this.element(L),M.element(D)):M=this.element(L,D)}else!this.options.keepNullNodes&&_===null?M=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?M=this.text(_):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?M=this.cdata(_):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?M=this.comment(_):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?M=this.raw(_):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?M=this.instruction(b.substr(this.stringify.convertPIKey.length),_):M=this.node(b,S,_);if(M==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return M},w.prototype.insertBefore=function(b,S,_){var T,x,C,I,L;if(b!=null?b.type:void 0)return C=b,I=S,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),T=this.parent.element(b,S,_),Array.prototype.push.apply(this.parent.children,L),T},w.prototype.insertAfter=function(b,S,_){var T,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),T=this.parent.element(b,S,_),Array.prototype.push.apply(this.parent.children,C),T},w.prototype.remove=function(){var b,S;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(S=[])),this.parent},w.prototype.node=function(b,S,_){var T,x;return b!=null&&(b=e(b)),S||(S={}),S=e(S),h(S)||(x=[S,_],_=x[0],S=x[1]),T=new l(this,b,S),_!=null&&T.text(_),this.children.push(T),T},w.prototype.text=function(b){var S;return h(b)&&this.element(b),S=new c(this,b),this.children.push(S),this},w.prototype.cdata=function(b){var S;return S=new E(this,b),this.children.push(S),this},w.prototype.comment=function(b){var S;return S=new p(this,b),this.children.push(S),this},w.prototype.commentBefore=function(b){var S,_,T;return _=this.parent.children.indexOf(this),T=this.parent.children.splice(_),S=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},w.prototype.commentAfter=function(b){var S,_,T;return _=this.parent.children.indexOf(this),T=this.parent.children.splice(_+1),S=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,T),this},w.prototype.raw=function(b){var S;return S=new r(this,b),this.children.push(S),this},w.prototype.dummy=function(){var b;return b=new d(this),b},w.prototype.instruction=function(b,S){var _,T,x,C,I;if(b!=null&&(b=e(b)),S!=null&&(S=e(S)),Array.isArray(b))for(C=0,I=b.length;C<I;C++)_=b[C],this.instruction(_);else if(h(b))for(_ in b){if(!A.call(b,_))continue;T=b[_],this.instruction(_,T)}else u(S)&&(S=S.apply()),x=new o(this,b,S),this.children.push(x);return this},w.prototype.instructionBefore=function(b,S){var _,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T),_=this.parent.instruction(b,S),Array.prototype.push.apply(this.parent.children,x),this},w.prototype.instructionAfter=function(b,S){var _,T,x;return T=this.parent.children.indexOf(this),x=this.parent.children.splice(T+1),_=this.parent.instruction(b,S),Array.prototype.push.apply(this.parent.children,x),this},w.prototype.declaration=function(b,S,_){var T,x;return T=this.document(),x=new v(T,b,S,_),T.children.length===0?T.children.unshift(x):T.children[0].type===m.Declaration?T.children[0]=x:T.children.unshift(x),T.root()||T},w.prototype.dtd=function(b,S){var _,T,x,C,I,L,M,k,R,j;for(T=this.document(),x=new f(T,b,S),R=T.children,C=I=0,M=R.length;I<M;C=++I)if(_=R[C],_.type===m.DocType)return T.children[C]=x,x;for(j=T.children,C=L=0,k=j.length;L<k;C=++L)if(_=j[C],_.isRoot)return T.children.splice(C,0,x),x;return T.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===m.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===m.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 S;return S=b.root().clone(),S.parent=this,S.isRoot=!1,this.children.push(S),this},w.prototype.debugInfo=function(b){var S,_;return b=b||this.name,b==null&&!((S=this.parent)!=null?S.name:void 0)?"":b==null?"parent: <"+this.parent.name+">":((_=this.parent)!=null?_.name:void 0)?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},w.prototype.ele=function(b,S,_){return this.element(b,S,_)},w.prototype.nod=function(b,S,_){return this.node(b,S,_)},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,S){return this.instruction(b,S)},w.prototype.doc=function(){return this.document()},w.prototype.dec=function(b,S,_){return this.declaration(b,S,_)},w.prototype.e=function(b,S,_){return this.element(b,S,_)},w.prototype.n=function(b,S,_){return this.node(b,S,_)},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,S){return this.instruction(b,S)},w.prototype.u=function(){return this.up()},w.prototype.importXMLBuilder=function(b){return this.importDocument(b)},w.prototype.replaceChild=function(b,S){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,S){return!0},w.prototype.hasAttributes=function(){return this.attribs.length!==0},w.prototype.compareDocumentPosition=function(b){var S,_;return S=this,S===b?0:this.document()!==b.document()?(_=y.Disconnected|y.ImplementationSpecific,Math.random()<.5?_|=y.Preceding:_|=y.Following,_):S.isAncestor(b)?y.Contains|y.Preceding:S.isDescendant(b)?y.Contains|y.Following:S.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 S,_,T;if(b.nodeType!==this.nodeType)return!1;if(b.children.length!==this.children.length)return!1;for(S=_=0,T=this.children.length-1;0<=T?_<=T:_>=T;S=0<=T?++_:--_)if(!this.children[S].isEqualNode(b.children[S]))return!1;return!0},w.prototype.getFeature=function(b,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.setUserData=function(b,S,_){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 S,_,T,x,C;for(C=this.children,T=0,x=C.length;T<x;T++){if(S=C[T],b===S)return!0;if(_=S.isDescendant(b),_)return!0}return!1},w.prototype.isAncestor=function(b){return b.isDescendant(this)},w.prototype.isPreceding=function(b){var S,_;return S=this.treePosition(b),_=this.treePosition(this),S===-1||_===-1?!1:S<_},w.prototype.isFollowing=function(b){var S,_;return S=this.treePosition(b),_=this.treePosition(this),S===-1||_===-1?!1:S>_},w.prototype.treePosition=function(b){var S,_;return _=0,S=!1,this.foreachTreeNode(this.document(),function(T){if(_++,!S&&T===b)return S=!0}),S?_:-1},w.prototype.foreachTreeNode=function(b,S){var _,T,x,C,I;for(b||(b=this.document()),C=b.children,T=0,x=C.length;T<x;T++){if(_=C[T],I=S(_))return I;if(I=this.foreachTreeNode(_,S),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(B,N,i){"use strict";(function(){var y;N.exports=y=function(){function m(E){this.nodes=E}return Object.defineProperty(m.prototype,"length",{get:function(){return this.nodes.length||0}}),m.prototype.clone=function(){return this.nodes=null},m.prototype.item=function(E){return this.nodes[E]||null},m}()}).call(void 0)},{}],275:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=B("./NodeType"),v=B("./XMLCharacterData"),N.exports=f=function(n){d(t,n);function t(a,o,r){if(t.__super__.constructor.call(this,a),o==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=p.ProcessingInstruction,this.target=this.stringify.insTarget(o),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},t.prototype.isEqualNode=function(a){return t.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=B("./NodeType"),v=B("./XMLNode"),N.exports=f=function(n){d(t,n);function t(a,o){if(t.__super__.constructor.call(this,a),o==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=p.Raw,this.value=this.stringify.raw(o)}return t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(B,N,i){"use strict";(function(){var y,m,E,p,v=function(l,n){for(var t in n)f.call(n,t)&&(l[t]=n[t]);function a(){this.constructor=l}return a.prototype=n.prototype,l.prototype=new a,l.__super__=n.prototype,l},f={}.hasOwnProperty;y=B("./NodeType"),p=B("./XMLWriterBase"),m=B("./WriterState"),N.exports=E=function(d){v(l,d);function l(n,t){this.stream=n,l.__super__.constructor.call(this,t)}return l.prototype.endline=function(n,t,a){return n.isLastRootNode&&t.state===m.CloseTag?"":l.__super__.endline.call(this,n,t,a)},l.prototype.document=function(n,t){var a,o,r,c,e,s,u,h,g;for(u=n.children,o=r=0,e=u.length;r<e;o=++r)a=u[o],a.isLastRootNode=o===n.children.length-1;for(t=this.filterOptions(t),h=n.children,g=[],c=0,s=h.length;c<s;c++)a=h[c],g.push(this.writeChildNode(a,t,0));return g},l.prototype.attribute=function(n,t,a){return this.stream.write(l.__super__.attribute.call(this,n,t,a))},l.prototype.cdata=function(n,t,a){return this.stream.write(l.__super__.cdata.call(this,n,t,a))},l.prototype.comment=function(n,t,a){return this.stream.write(l.__super__.comment.call(this,n,t,a))},l.prototype.declaration=function(n,t,a){return this.stream.write(l.__super__.declaration.call(this,n,t,a))},l.prototype.docType=function(n,t,a){var o,r,c,e;if(a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)),this.stream.write("<!DOCTYPE "+n.root().name),n.pubID&&n.sysID?this.stream.write(' PUBLIC "'+n.pubID+'" "'+n.sysID+'"'):n.sysID&&this.stream.write(' SYSTEM "'+n.sysID+'"'),n.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(n,t,a)),t.state=m.InsideTag,e=n.children,r=0,c=e.length;r<c;r++)o=e[r],this.writeChildNode(o,t,a+1);t.state=m.CloseTag,this.stream.write("]")}return t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},l.prototype.element=function(n,t,a){var o,r,c,e,s,u,h,g,A,w;a||(a=0),this.openNode(n,t,a),t.state=m.OpenTag,this.stream.write(this.indent(n,t,a)+"<"+n.name),A=n.attribs;for(h in A){if(!f.call(A,h))continue;o=A[h],this.attribute(o,t,a)}if(c=n.children.length,e=c===0?null:n.children[0],c===0||n.children.every(function(b){return(b.type===y.Text||b.type===y.Raw)&&b.value===""}))t.allowEmpty?(this.stream.write(">"),t.state=m.CloseTag,this.stream.write("</"+n.name+">")):(t.state=m.CloseTag,this.stream.write(t.spaceBeforeSlash+"/>"));else if(t.pretty&&c===1&&(e.type===y.Text||e.type===y.Raw)&&e.value!=null)this.stream.write(">"),t.state=m.InsideTag,t.suppressPrettyCount++,g=!0,this.writeChildNode(e,t,a+1),t.suppressPrettyCount--,g=!1,t.state=m.CloseTag,this.stream.write("</"+n.name+">");else{for(this.stream.write(">"+this.endline(n,t,a)),t.state=m.InsideTag,w=n.children,s=0,u=w.length;s<u;s++)r=w[s],this.writeChildNode(r,t,a+1);t.state=m.CloseTag,this.stream.write(this.indent(n,t,a)+"</"+n.name+">")}return this.stream.write(this.endline(n,t,a)),t.state=m.None,this.closeNode(n,t,a)},l.prototype.processingInstruction=function(n,t,a){return this.stream.write(l.__super__.processingInstruction.call(this,n,t,a))},l.prototype.raw=function(n,t,a){return this.stream.write(l.__super__.raw.call(this,n,t,a))},l.prototype.text=function(n,t,a){return this.stream.write(l.__super__.text.call(this,n,t,a))},l.prototype.dtdAttList=function(n,t,a){return this.stream.write(l.__super__.dtdAttList.call(this,n,t,a))},l.prototype.dtdElement=function(n,t,a){return this.stream.write(l.__super__.dtdElement.call(this,n,t,a))},l.prototype.dtdEntity=function(n,t,a){return this.stream.write(l.__super__.dtdEntity.call(this,n,t,a))},l.prototype.dtdNotation=function(n,t,a){return this.stream.write(l.__super__.dtdNotation.call(this,n,t,a))},l}(p)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(B,N,i){"use strict";(function(){var y,m,E=function(f,d){for(var l in d)p.call(d,l)&&(f[l]=d[l]);function n(){this.constructor=f}return n.prototype=d.prototype,f.prototype=new n,f.__super__=d.prototype,f},p={}.hasOwnProperty;m=B("./XMLWriterBase"),N.exports=y=function(v){E(f,v);function f(d){f.__super__.constructor.call(this,d)}return f.prototype.document=function(d,l){var n,t,a,o,r;for(l=this.filterOptions(l),o="",r=d.children,t=0,a=r.length;t<a;t++)n=r[t],o+=this.writeChildNode(n,l,0);return l.pretty&&o.slice(-l.newline.length)===l.newline&&(o=o.slice(0,-l.newline.length)),o},f}(m)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(B,N,i){"use strict";(function(){var y,m=function(v,f){return function(){return v.apply(f,arguments)}},E={}.hasOwnProperty;N.exports=y=function(){function p(v){this.assertLegalName=m(this.assertLegalName,this),this.assertLegalChar=m(this.assertLegalChar,this);var f,d,l;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),d=v.stringify||{};for(f in d){if(!E.call(d,f))continue;l=d[f],this[f]=l}}return p.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},p.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},p.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},p.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},p.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},p.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},p.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},p.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},p.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},p.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},p.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},p.prototype.convertAttKey="@",p.prototype.convertPIKey="?",p.prototype.convertTextKey="#text",p.prototype.convertCDataKey="#cdata",p.prototype.convertCommentKey="#comment",p.prototype.convertRawKey="#raw",p.prototype.assertLegalChar=function(v){var f,d;if(this.options.noValidation)return v;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=v.match(f))throw new Error("Invalid character in string: "+v+" at index "+d.index)}else if(this.options.version==="1.1"&&(f=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=v.match(f)))throw new Error("Invalid character in string: "+v+" at index "+d.index);return v},p.prototype.assertLegalName=function(v){var f;if(this.options.noValidation)return v;if(this.assertLegalChar(v),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])*$/,!v.match(f))throw new Error("Invalid character in name");return v},p.prototype.textEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},p.prototype.attEscape=function(v){var f;return this.options.noValidation?v:(f=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(f,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},p}()}).call(void 0)},{}],280:[function(B,N,i){"use strict";var y=B("babel-runtime/core-js/object/create"),m=E(y);function E(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,f,d=function(t,a){for(var o in a)l.call(a,o)&&(t[o]=a[o]);function r(){this.constructor=t}return r.prototype=a.prototype,t.prototype=new r,t.__super__=a.prototype,t},l={}.hasOwnProperty;p=B("./NodeType"),v=B("./XMLCharacterData"),N.exports=f=function(n){d(t,n);function t(a,o){if(t.__super__.constructor.call(this,a),o==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=p.Text,this.value=this.stringify.text(o)}return Object.defineProperty(t.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(t.prototype,"wholeText",{get:function(){var o,r,c;for(c="",r=this.previousSibling;r;)c=r.data+c,r=r.previousSibling;for(c+=this.data,o=this.nextSibling;o;)c=c+o.data,o=o.nextSibling;return c}}),t.prototype.clone=function(){return(0,m.default)(this)},t.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},t.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},t}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t,a,o,r,c,e,s,u,h={}.hasOwnProperty;u=B("./Utility").assign,y=B("./NodeType"),n=B("./XMLDeclaration"),t=B("./XMLDocType"),E=B("./XMLCData"),p=B("./XMLComment"),o=B("./XMLElement"),c=B("./XMLRaw"),e=B("./XMLText"),r=B("./XMLProcessingInstruction"),a=B("./XMLDummy"),v=B("./XMLDTDAttList"),f=B("./XMLDTDElement"),d=B("./XMLDTDEntity"),l=B("./XMLDTDNotation"),m=B("./WriterState"),N.exports=s=function(){function g(A){var w,b,S;A||(A={}),this.options=A,b=A.writer||{};for(w in b){if(!h.call(b,w))continue;S=b[w],this["_"+w]=this[w],this[w]=S}}return g.prototype.filterOptions=function(A){var w,b,S,_,T,x,C,I;return A||(A={}),A=u({},this.options,A),w={writer:this},w.pretty=A.pretty||!1,w.allowEmpty=A.allowEmpty||!1,w.indent=(b=A.indent)!=null?b:" ",w.newline=(S=A.newline)!=null?S:`
`,w.offset=(_=A.offset)!=null?_:0,w.dontPrettyTextNodes=(T=(x=A.dontPrettyTextNodes)!=null?x:A.dontprettytextnodes)!=null?T:0,w.spaceBeforeSlash=(C=(I=A.spaceBeforeSlash)!=null?I:A.spacebeforeslash)!=null?C:"",w.spaceBeforeSlash===!0&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=m.None,w},g.prototype.indent=function(A,w,b){var S;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(S=(b||0)+w.offset+1,S>0)?new Array(S).join(w.indent):""},g.prototype.endline=function(A,w,b){return!w.pretty||w.suppressPrettyCount?"":w.newline},g.prototype.attribute=function(A,w,b){var S;return this.openAttribute(A,w,b),S=" "+A.name+'="'+A.value+'"',this.closeAttribute(A,w,b),S},g.prototype.cdata=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<![CDATA[",w.state=m.InsideTag,S+=A.value,w.state=m.CloseTag,S+="]]>"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.comment=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<!-- ",w.state=m.InsideTag,S+=A.value,w.state=m.CloseTag,S+=" -->"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.declaration=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<?xml",w.state=m.InsideTag,S+=' version="'+A.version+'"',A.encoding!=null&&(S+=' encoding="'+A.encoding+'"'),A.standalone!=null&&(S+=' standalone="'+A.standalone+'"'),w.state=m.CloseTag,S+=w.spaceBeforeSlash+"?>",S+=this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.docType=function(A,w,b){var S,_,T,x,C;if(b||(b=0),this.openNode(A,w,b),w.state=m.OpenTag,x=this.indent(A,w,b),x+="<!DOCTYPE "+A.root().name,A.pubID&&A.sysID?x+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.sysID&&(x+=' SYSTEM "'+A.sysID+'"'),A.children.length>0){for(x+=" [",x+=this.endline(A,w,b),w.state=m.InsideTag,C=A.children,_=0,T=C.length;_<T;_++)S=C[_],x+=this.writeChildNode(S,w,b+1);w.state=m.CloseTag,x+="]"}return w.state=m.CloseTag,x+=w.spaceBeforeSlash+">",x+=this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),x},g.prototype.element=function(A,w,b){var S,_,T,x,C,I,L,M,k,R,j,V,D,H;b||(b=0),R=!1,j="",this.openNode(A,w,b),w.state=m.OpenTag,j+=this.indent(A,w,b)+"<"+A.name,V=A.attribs;for(k in V){if(!h.call(V,k))continue;S=V[k],j+=this.attribute(S,w,b)}if(T=A.children.length,x=T===0?null:A.children[0],T===0||A.children.every(function(P){return(P.type===y.Text||P.type===y.Raw)&&P.value===""}))w.allowEmpty?(j+=">",w.state=m.CloseTag,j+="</"+A.name+">"+this.endline(A,w,b)):(w.state=m.CloseTag,j+=w.spaceBeforeSlash+"/>"+this.endline(A,w,b));else if(w.pretty&&T===1&&(x.type===y.Text||x.type===y.Raw)&&x.value!=null)j+=">",w.state=m.InsideTag,w.suppressPrettyCount++,R=!0,j+=this.writeChildNode(x,w,b+1),w.suppressPrettyCount--,R=!1,w.state=m.CloseTag,j+="</"+A.name+">"+this.endline(A,w,b);else{if(w.dontPrettyTextNodes){for(D=A.children,C=0,L=D.length;C<L;C++)if(_=D[C],(_.type===y.Text||_.type===y.Raw)&&_.value!=null){w.suppressPrettyCount++,R=!0;break}}for(j+=">"+this.endline(A,w,b),w.state=m.InsideTag,H=A.children,I=0,M=H.length;I<M;I++)_=H[I],j+=this.writeChildNode(_,w,b+1);w.state=m.CloseTag,j+=this.indent(A,w,b)+"</"+A.name+">",R&&w.suppressPrettyCount--,j+=this.endline(A,w,b),w.state=m.None}return this.closeNode(A,w,b),j},g.prototype.writeChildNode=function(A,w,b){switch(A.type){case y.CData:return this.cdata(A,w,b);case y.Comment:return this.comment(A,w,b);case y.Element:return this.element(A,w,b);case y.Raw:return this.raw(A,w,b);case y.Text:return this.text(A,w,b);case y.ProcessingInstruction:return this.processingInstruction(A,w,b);case y.Dummy:return"";case y.Declaration:return this.declaration(A,w,b);case y.DocType:return this.docType(A,w,b);case y.AttributeDeclaration:return this.dtdAttList(A,w,b);case y.ElementDeclaration:return this.dtdElement(A,w,b);case y.EntityDeclaration:return this.dtdEntity(A,w,b);case y.NotationDeclaration:return this.dtdNotation(A,w,b);default:throw new Error("Unknown XML node type: "+A.constructor.name)}},g.prototype.processingInstruction=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<?",w.state=m.InsideTag,S+=A.target,A.value&&(S+=" "+A.value),w.state=m.CloseTag,S+=w.spaceBeforeSlash+"?>",S+=this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.raw=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b),w.state=m.InsideTag,S+=A.value,w.state=m.CloseTag,S+=this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.text=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b),w.state=m.InsideTag,S+=A.value,w.state=m.CloseTag,S+=this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.dtdAttList=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<!ATTLIST",w.state=m.InsideTag,S+=" "+A.elementName+" "+A.attributeName+" "+A.attributeType,A.defaultValueType!=="#DEFAULT"&&(S+=" "+A.defaultValueType),A.defaultValue&&(S+=' "'+A.defaultValue+'"'),w.state=m.CloseTag,S+=w.spaceBeforeSlash+">"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.dtdElement=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<!ELEMENT",w.state=m.InsideTag,S+=" "+A.name+" "+A.value,w.state=m.CloseTag,S+=w.spaceBeforeSlash+">"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.dtdEntity=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<!ENTITY",w.state=m.InsideTag,A.pe&&(S+=" %"),S+=" "+A.name,A.value?S+=' "'+A.value+'"':(A.pubID&&A.sysID?S+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.sysID&&(S+=' SYSTEM "'+A.sysID+'"'),A.nData&&(S+=" NDATA "+A.nData)),w.state=m.CloseTag,S+=w.spaceBeforeSlash+">"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.dtdNotation=function(A,w,b){var S;return this.openNode(A,w,b),w.state=m.OpenTag,S=this.indent(A,w,b)+"<!NOTATION",w.state=m.InsideTag,S+=" "+A.name,A.pubID&&A.sysID?S+=' PUBLIC "'+A.pubID+'" "'+A.sysID+'"':A.pubID?S+=' PUBLIC "'+A.pubID+'"':A.sysID&&(S+=' SYSTEM "'+A.sysID+'"'),w.state=m.CloseTag,S+=w.spaceBeforeSlash+">"+this.endline(A,w,b),w.state=m.None,this.closeNode(A,w,b),S},g.prototype.openNode=function(A,w,b){},g.prototype.closeNode=function(A,w,b){},g.prototype.openAttribute=function(A,w,b){},g.prototype.closeAttribute=function(A,w,b){},g}()}).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(B,N,i){"use strict";(function(){var y,m,E,p,v,f,d,l,n,t;t=B("./Utility"),l=t.assign,n=t.isFunction,E=B("./XMLDOMImplementation"),p=B("./XMLDocument"),v=B("./XMLDocumentCB"),d=B("./XMLStringWriter"),f=B("./XMLStreamWriter"),y=B("./NodeType"),m=B("./WriterState"),N.exports.create=function(a,o,r,c){var e,s;if(a==null)throw new Error("Root element needs a name.");return c=l({},o,r,c),e=new p(c),s=e.element(a),c.headless||(e.declaration(c),(c.pubID!=null||c.sysID!=null)&&e.dtd(c)),s},N.exports.begin=function(a,o,r){var c;return n(a)&&(c=[a,o],o=c[0],r=c[1],a={}),o?new v(a,o,r):new p(a)},N.exports.stringWriter=function(a){return new d(a)},N.exports.streamWriter=function(a,o){return new f(a,o)},N.exports.implementation=new E,N.exports.nodeType=y,N.exports.writerState=m}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(B,N,i){N.exports=m;var y=Object.prototype.hasOwnProperty;function m(){for(var E={},p=0;p<arguments.length;p++){var v=arguments[p];for(var f in v)y.call(v,f)&&(E[f]=v[f])}return E}},{}],284:[function(B,N,i){"use strict";var y=B("buffer").Buffer,m=B("./sha"),E=B("./md5"),p={sha1:m,md5:E},v=64,f=y.alloc(v);f.fill(0);function d(t,a,o){y.isBuffer(a)||(a=y.from(a)),y.isBuffer(o)||(o=y.from(o)),a.length>v?a=t(a):a.length<v&&(a=y.concat([a,f],v));for(var r=y.alloc(v),c=y.alloc(v),e=0;e<v;e++)r[e]=a[e]^54,c[e]=a[e]^92;var s=t(y.concat([r,o]));return t(y.concat([c,s]))}function l(t,a){t=t||"sha1";var o=p[t],r=[],c=0;return o||n("algorithm:",t,"is not yet supported"),{update:function(s){return y.isBuffer(s)||(s=y.from(s)),r.push(s),c+=s.length,this},digest:function(s){var u=y.concat(r),h=a?d(o,a,u):o(u);return r=null,s?h.toString(s):h}}}function n(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}i.createHash=function(t){return l(t)},i.createHmac=function(t,a){return l(t,a)},i.createCredentials=function(){n("sorry,createCredentials is not implemented yet")},i.createCipher=function(){n("sorry,createCipher is not implemented yet")},i.createCipheriv=function(){n("sorry,createCipheriv is not implemented yet")},i.createDecipher=function(){n("sorry,createDecipher is not implemented yet")},i.createDecipheriv=function(){n("sorry,createDecipheriv is not implemented yet")},i.createSign=function(){n("sorry,createSign is not implemented yet")},i.createVerify=function(){n("sorry,createVerify is not implemented yet")},i.createDiffieHellman=function(){n("sorry,createDiffieHellman is not implemented yet")},i.pbkdf2=function(){n("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(B,N,i){"use strict";var y=B("buffer").Buffer,m=4,E=y.alloc(m);E.fill(0);var p=8;function v(l,n){if(l.length%m!==0){var t=l.length+(m-l.length%m);l=y.concat([l,E],t)}for(var a=[],o=n?l.readInt32BE:l.readInt32LE,r=0;r<l.length;r+=m)a.push(o.call(l,r));return a}function f(l,n,t){for(var a=y.alloc(n),o=t?a.writeInt32BE:a.writeInt32LE,r=0;r<l.length;r++)o.call(a,l[r],r*4,!0);return a}function d(l,n,t,a){y.isBuffer(l)||(l=y.from(l));var o=n(v(l,a),l.length*p);return f(o,t,a)}N.exports={hash:d}},{buffer:73}],286:[function(B,N,i){"use strict";var y=B("./helpers");function m(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function E(a,o){a[o>>5]|=128<<o%32,a[(o+64>>>9<<4)+14]=o;for(var r=1732584193,c=-271733879,e=-1732584194,s=271733878,u=0;u<a.length;u+=16){var h=r,g=c,A=e,w=s;r=v(r,c,e,s,a[u+0],7,-680876936),s=v(s,r,c,e,a[u+1],12,-389564586),e=v(e,s,r,c,a[u+2],17,606105819),c=v(c,e,s,r,a[u+3],22,-1044525330),r=v(r,c,e,s,a[u+4],7,-176418897),s=v(s,r,c,e,a[u+5],12,1200080426),e=v(e,s,r,c,a[u+6],17,-1473231341),c=v(c,e,s,r,a[u+7],22,-45705983),r=v(r,c,e,s,a[u+8],7,1770035416),s=v(s,r,c,e,a[u+9],12,-1958414417),e=v(e,s,r,c,a[u+10],17,-42063),c=v(c,e,s,r,a[u+11],22,-1990404162),r=v(r,c,e,s,a[u+12],7,1804603682),s=v(s,r,c,e,a[u+13],12,-40341101),e=v(e,s,r,c,a[u+14],17,-1502002290),c=v(c,e,s,r,a[u+15],22,1236535329),r=f(r,c,e,s,a[u+1],5,-165796510),s=f(s,r,c,e,a[u+6],9,-1069501632),e=f(e,s,r,c,a[u+11],14,643717713),c=f(c,e,s,r,a[u+0],20,-373897302),r=f(r,c,e,s,a[u+5],5,-701558691),s=f(s,r,c,e,a[u+10],9,38016083),e=f(e,s,r,c,a[u+15],14,-660478335),c=f(c,e,s,r,a[u+4],20,-405537848),r=f(r,c,e,s,a[u+9],5,568446438),s=f(s,r,c,e,a[u+14],9,-1019803690),e=f(e,s,r,c,a[u+3],14,-187363961),c=f(c,e,s,r,a[u+8],20,1163531501),r=f(r,c,e,s,a[u+13],5,-1444681467),s=f(s,r,c,e,a[u+2],9,-51403784),e=f(e,s,r,c,a[u+7],14,1735328473),c=f(c,e,s,r,a[u+12],20,-1926607734),r=d(r,c,e,s,a[u+5],4,-378558),s=d(s,r,c,e,a[u+8],11,-2022574463),e=d(e,s,r,c,a[u+11],16,1839030562),c=d(c,e,s,r,a[u+14],23,-35309556),r=d(r,c,e,s,a[u+1],4,-1530992060),s=d(s,r,c,e,a[u+4],11,1272893353),e=d(e,s,r,c,a[u+7],16,-155497632),c=d(c,e,s,r,a[u+10],23,-1094730640),r=d(r,c,e,s,a[u+13],4,681279174),s=d(s,r,c,e,a[u+0],11,-358537222),e=d(e,s,r,c,a[u+3],16,-722521979),c=d(c,e,s,r,a[u+6],23,76029189),r=d(r,c,e,s,a[u+9],4,-640364487),s=d(s,r,c,e,a[u+12],11,-421815835),e=d(e,s,r,c,a[u+15],16,530742520),c=d(c,e,s,r,a[u+2],23,-995338651),r=l(r,c,e,s,a[u+0],6,-198630844),s=l(s,r,c,e,a[u+7],10,1126891415),e=l(e,s,r,c,a[u+14],15,-1416354905),c=l(c,e,s,r,a[u+5],21,-57434055),r=l(r,c,e,s,a[u+12],6,1700485571),s=l(s,r,c,e,a[u+3],10,-1894986606),e=l(e,s,r,c,a[u+10],15,-1051523),c=l(c,e,s,r,a[u+1],21,-2054922799),r=l(r,c,e,s,a[u+8],6,1873313359),s=l(s,r,c,e,a[u+15],10,-30611744),e=l(e,s,r,c,a[u+6],15,-1560198380),c=l(c,e,s,r,a[u+13],21,1309151649),r=l(r,c,e,s,a[u+4],6,-145523070),s=l(s,r,c,e,a[u+11],10,-1120210379),e=l(e,s,r,c,a[u+2],15,718787259),c=l(c,e,s,r,a[u+9],21,-343485551),r=n(r,h),c=n(c,g),e=n(e,A),s=n(s,w)}return Array(r,c,e,s)}function p(a,o,r,c,e,s){return n(t(n(n(o,a),n(c,s)),e),r)}function v(a,o,r,c,e,s,u){return p(o&r|~o&c,a,o,e,s,u)}function f(a,o,r,c,e,s,u){return p(o&c|r&~c,a,o,e,s,u)}function d(a,o,r,c,e,s,u){return p(o^r^c,a,o,e,s,u)}function l(a,o,r,c,e,s,u){return p(r^(o|~c),a,o,e,s,u)}function n(a,o){var r=(a&65535)+(o&65535),c=(a>>16)+(o>>16)+(r>>16);return c<<16|r&65535}function t(a,o){return a<<o|a>>>32-o}N.exports=function(o){return y.hash(o,E,16)}},{"./helpers":285}],287:[function(B,N,i){"use strict";var y=B("./helpers");function m(d,l){d[l>>5]|=128<<24-l%32,d[(l+64>>9<<4)+15]=l;for(var n=Array(80),t=1732584193,a=-271733879,o=-1732584194,r=271733878,c=-1009589776,e=0;e<d.length;e+=16){for(var s=t,u=a,h=o,g=r,A=c,w=0;w<80;w++){w<16?n[w]=d[e+w]:n[w]=f(n[w-3]^n[w-8]^n[w-14]^n[w-16],1);var b=v(v(f(t,5),E(w,a,o,r)),v(v(c,n[w]),p(w)));c=r,r=o,o=f(a,30),a=t,t=b}t=v(t,s),a=v(a,u),o=v(o,h),r=v(r,g),c=v(c,A)}return Array(t,a,o,r,c)}function E(d,l,n,t){return d<20?l&n|~l&t:d<40?l^n^t:d<60?l&n|l&t|n&t:l^n^t}function p(d){return d<20?1518500249:d<40?1859775393:d<60?-1894007588:-899497514}function v(d,l){var n=(d&65535)+(l&65535),t=(d>>16)+(l>>16)+(n>>16);return t<<16|n&65535}function f(d,l){return d<<l|d>>>32-l}N.exports=function(l){return y.hash(l,m,20,!0)}},{"./helpers":285}],288:[function(B,N,i){"use strict";N.exports=function(){return function(){}}},{}],289:[function(B,N,i){(function(y){"use strict";var m=B("babel-runtime/helpers/typeof"),E=p(m);function p(t){return t&&t.__esModule?t:{default:t}}var v=B("stream"),f=v.Stream,d=B("../lib/common/utils/isArray"),l=d.isArray;N.exports.string=function(a){return typeof a=="string"},N.exports.array=l,N.exports.buffer=y.isBuffer;function n(t){return t instanceof f}N.exports.writableStream=function(a){return n(a)&&typeof a._write=="function"&&(0,E.default)(a._writableState)==="object"}}).call(this,{isBuffer:B("../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(B,N,i){"use strict";i.encodeURIComponent=function(y){try{return encodeURIComponent(y)}catch(m){return y}},i.escape=B("escape-html"),i.timestamp=function(m){if(m){var E=m;return typeof E=="string"&&(E=Number(E)),String(m).length===10&&(E*=1e3),new Date(E)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(B,N,i){(function(y,m){"use strict";var E=B("babel-runtime/core-js/json/stringify"),p=d(E),v=B("babel-runtime/helpers/typeof"),f=d(v);function d(w){return w&&w.__esModule?w:{default:w}}var l=B("util"),n=B("url"),t=B("http"),a=B("https"),o=B("debug")("urllib"),r=B("humanize-ms"),c,e=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function h(w,b){return w===void 0?b:w}function g(w,b){return function(S,_,T){if(S)return b(S);w({data:_,status:T.statusCode,headers:T.headers,res:T})}}i.TIMEOUTS=[r("300s"),r("300s")];var A=["json","text"];i.request=function(b,S,_){return arguments.length===2&&typeof S=="function"&&(_=S,S=null),typeof _=="function"?i.requestWithCallback(b,S,_):(c||(c=B("any-promise")),new c(function(T,x){i.requestWithCallback(b,S,g(T,x))}))},i.requestWithCallback=function(b,S,_){if(!b||typeof b!="string"&&(typeof b=="undefined"?"undefined":(0,f.default)(b))!=="object"){var T=l.format("expect request url to be a string or a http request options, but got %j",b);throw new Error(T)}arguments.length===2&&typeof S=="function"&&(_=S,S=null),S=S||{},e>=s&&(e=0);var x=++e;S.requestUrls=S.requestUrls||[];var C={requestId:x,url:b,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",C),S.timeout=S.timeout||i.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var I=Date.now(),L;typeof b=="string"?(u.test(b)||(b="http://"+b),L=n.parse(b)):L=b;var M=(S.type||S.method||L.method||"GET").toUpperCase(),k=L.port||80,R=t,j=h(S.agent,i.agent),V=S.fixJSONCtlChars;L.protocol==="https:"&&(R=a,j=h(S.httpsAgent,i.httpsAgent),L.port||(k=443));var D={host:L.hostname||L.host||"localhost",path:L.path||"/",method:M,port:k,agent:j,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?D.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(D.requestTimeout=S.timeout);for(var H=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],P=0;P<H.length;P++){var K=H[P];S.hasOwnProperty(K)&&(D[K]=S[K])}D.rejectUnauthorized===!1&&!D.hasOwnProperty("secureOptions")&&(D.secureOptions=B("constants").SSL_OP_NO_TLSv1_2);var U=S.auth||L.auth;U&&(D.auth=U);var G=S.content||S.data,W=M==="GET"||M==="HEAD"||S.dataAsQueryString;if(!S.content&&(G&&!(typeof G=="string"||m.isBuffer(G))))if(W)G=S.nestedQuerystring?qs.stringify(G):querystring.stringify(G);else{var Z=D.headers["Content-Type"]||D.headers["content-type"];Z||(S.contentType==="json"?Z="application/json":Z="application/x-www-form-urlencoded",D.headers["Content-Type"]=Z),parseContentType(Z).type==="application/json"?G=(0,p.default)(G):G=S.nestedQuerystring?qs.stringify(G):querystring.stringify(G)}W&&G&&(D.path+=(L.query?"&":"?")+G,G=null);var J=0;if(G){var ve=G.length;m.isBuffer(G)||(ve=m.byteLength(G)),J=D.headers["Content-Length"]=ve}S.dataType==="json"&&(D.headers.Accept="application/json"),typeof S.beforeRequest=="function"&&S.beforeRequest(D);var q=null,ce=null,be=null,Ce=!1,Fe=!1,fe=0,Ne=-1,Q=!1,ae="",Ue="",te=null;S.timing&&(te={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function X(){q&&(clearTimeout(q),q=null)}function z(){ce&&(clearTimeout(ce),ce=null)}function Y(Oe,yt,Ye){if(z(),!_){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,y.pid,D.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 bt=_;_=null;var Ct={};if(Ye&&(Ne=Ye.statusCode,Ct=Ye.headers),Ne===401&&Ct["www-authenticate"]&&(!S.headers||!S.headers.Authorization)&&S.digestAuth){var It=Ct["www-authenticate"];if(It.indexOf("Digest ")>=0)return o("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,b,It),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(D.method,D.path,It,S.digestAuth),o("Request#%d %s: auth with digest header: %s",x,b,S.headers.Authorization),Ye.headers["set-cookie"]&&(S.headers.Cookie=Ye.headers["set-cookie"].join(";")),i.requestWithCallback(b,S,bt)}var Ft=Date.now()-I;te&&(te.contentDownload=Ft),o("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ft,fe,Ne,D.method,D.host,D.path,Fe,te);var Vt={status:Ne,statusCode:Ne,headers:Ct,size:fe,aborted:Q,rt:Ft,keepAliveSocket:Fe,data:yt,requestUrls:S.requestUrls,timing:te,remoteAddress:ae,remotePort:Ue};if(Oe){var $e="";j&&typeof j.getCurrentStatus=="function"&&($e=", agent status: "+(0,p.default)(j.getCurrentStatus())),Oe.message+=", "+D.method+" "+b+" "+Ne+" (connected: "+Ce+", keepalive socket: "+Fe+$e+`)
headers: `+(0,p.default)(Ct),Oe.data=yt,Oe.path=D.path,Oe.status=Ne,Oe.headers=Ct,Oe.res=Vt}bt(Oe,yt,S.streaming?Ye:Vt),S.emitter&&(C.url=b,C.socket=at&&at.connection,C.options=D,C.size=J,S.emitter.emit("response",{requestId:x,error:Oe,ctx:S.ctx,req:C,res:Vt}))}function pe(Oe){var yt=null;if(S.followRedirect&&statuses.redirect[Oe.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var Ye=Oe.headers.location;if(!Ye)yt=new Error("Got statusCode "+Oe.statusCode+" but cannot resolve next location from headers"),yt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)yt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+b),yt.name="MaxRedirectError";else{var bt=S.formatRedirectUrl?S.formatRedirectUrl(b,Ye):n.resolve(b,Ye);o("Request#%d %s: `redirected` from %s to %s",x,D.path,b,bt),z(),S.headers&&S.headers.Host&&u.test(Ye)&&(S.headers.Host=null);var Ct=_;return _=null,i.requestWithCallback(bt,S,Ct),{redirect:!0,error:null}}}return{redirect:!1,error:yt}}!D.headers["User-Agent"]&&!D.headers["user-agent"]&&(D.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!D.headers["Accept-Encoding"]&&!D.headers["accept-encoding"]&&(D.headers["Accept-Encoding"]="gzip"));function se(Oe,yt,Ye){var bt=Oe.headers["content-encoding"];return Ye(null,yt,bt)}var Te=S.writeStream;o("Request#%d %s %s with headers %j, options.path: %s",x,M,b,D.headers,D.path),S.requestUrls.push(b);function Se(Oe){if(te&&(te.waiting=Date.now()-I),o("Request#%d %s `req response` event emit: status %d, headers: %j",x,b,Oe.statusCode,Oe.headers),S.streaming){var yt=pe(Oe);if(yt.redirect){Oe.resume();return}return yt.error?(Oe.resume(),Y(yt.error,null,Oe)):Y(null,null,Oe)}if(Oe.on("close",function(){o("Request#%d %s: `res close` event emit, total size %d",x,b,fe)}),Oe.on("error",function(){o("Request#%d %s: `res error` event emit, total size %d",x,b,fe)}),Oe.on("aborted",function(){Q=!0,o("Request#%d %s: `res aborted` event emit, total size %d",x,b,fe)}),Te){var yt=pe(Oe);if(yt.redirect){Oe.resume();return}return yt.error?(Oe.resume(),Te.end(),Y(yt.error,null,Oe)):(S.consumeWriteStream===!1?Oe.on("end",Y.bind(null,null,null,Oe)):isNode010||isNode012?first([[Te,"close"],[Oe,"aborted"]],function(Ct,It,Ft){o("Request#%d %s: writeStream or res %s event emitted",x,b,Ft),Y(be||null,null,Oe)}):Te.on("close",function(){o("Request#%d %s: writeStream close event emitted",x,b),Y(be||null,null,Oe)}),Oe.pipe(Te))}var Ye=[];Oe.on("data",function(bt){o("Request#%d %s: `res data` event emit, size %d",x,b,bt.length),fe+=bt.length,Ye.push(bt)}),Oe.on("end",function(){var bt=m.concat(Ye,fe);if(o("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,b,fe,Oe._dumped),be)return Y(be,bt,Oe);var Ct=pe(Oe);if(Ct.error)return Y(Ct.error,bt,Oe);if(Ct.redirect)return;se(Oe,bt,function(It,Ft,Vt){if(It)return Y(It,bt,Oe);if(!Vt&&A.indexOf(S.dataType)>=0){try{Ft=decodeBodyByCharset(Ft,Oe)}catch(ge){return o("decodeBodyByCharset error: %s",ge),Y(null,Ft,Oe)}if(S.dataType==="json")if(fe===0)Ft=null;else{var $e=parseJSON(Ft,V);$e.error?It=$e.error:Ft=$e.data}}Q&&o("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,b),Y(It,Ft,Oe)})})}var ie,de;Array.isArray(S.timeout)?(ie=r(S.timeout[0]),de=r(S.timeout[1])):ie=de=r(S.timeout),o("ConnectTimeout: %d, ResponseTimeout: %d",ie,de);function _e(){o("Connect timer ticking, timeout: %d",ie),q=setTimeout(function(){q=null,Ne===-1&&(Ne=-2);var Oe="Connect timeout for "+ie+"ms",yt="ConnectionTimeoutError";at.socket||(yt="SocketAssignTimeoutError",Oe+=", working sockets is full"),be=new Error(Oe),be.name=yt,be.requestId=x,o("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,b,be.name,Oe,Ce),tt()},ie)}function We(){o("Response timer ticking, timeout: %d",de),ce=setTimeout(function(){ce=null;var Oe="Response timeout for "+de+"ms",yt="ResponseTimeoutError";be=new Error(Oe),be.name=yt,be.requestId=x,o("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,b,be.name,Oe,Ce),tt()},de)}var at;D.mode=S.mode?S.mode:"";try{at=R.request(D,Se)}catch(Oe){return Y(Oe)}typeof window=="undefined"?_e():at.on("requestTimeout",function(){Ne===-1&&(Ne=-2);var Oe="Connect timeout for "+ie+"ms",yt="ConnectionTimeoutError";be=new Error(Oe),be.name=yt,be.requestId=x,tt()});function tt(){o("Request#%d %s abort, connected: %s",x,b,Ce),at.socket||(be.noSocket=!0,Y(be)),at.abort()}return te&&at.on("finish",function(){te.requestSent=Date.now()-I}),at.once("socket",function(Oe){te&&(te.queuing=Date.now()-I),isNode010&&Oe.socket&&(Oe=Oe.socket);var yt=Oe.readyState;if(yt==="opening"){Oe.once("lookup",function(Ye,bt,Ct){o("Request#%d %s lookup: %s, %s, %s",x,b,Ye,bt,Ct),te&&(te.dnslookup=Date.now()-I),bt&&(ae=bt)}),Oe.once("connect",function(){te&&(te.connected=Date.now()-I),X(),We(),o("Request#%d %s new socket connected",x,b),Ce=!0,ae||(ae=Oe.remoteAddress),Ue=Oe.remotePort});return}o("Request#%d %s reuse socket connected, readyState: %s",x,b,yt),Ce=!0,Fe=!0,ae||(ae=Oe.remoteAddress),Ue=Oe.remotePort,X(),We()}),at.on("error",function(Oe){(Oe.name==="Error"||Oe.name==="TypeError")&&(Oe.name=Ce?"ResponseError":"RequestError"),Oe.message+=' (req "error")',o("Request#%d %s `req error` event emit, %s: %s",x,b,Oe.name,Oe.message),Y(be||Oe)}),Te&&Te.once("error",function(Oe){Oe.message+=' (writeStream "error")',be=Oe,o("Request#%d %s `writeStream error` event emit, %s: %s",x,b,Oe.name,Oe.message),tt()}),S.stream?(S.stream.pipe(at),S.stream.once("error",function(Oe){Oe.message+=' (stream "error")',be=Oe,o("Request#%d %s `readStream error` event emit, %s: %s",x,b,Oe.name,Oe.message),tt()})):at.end(G),at.requestId=x,at}}).call(this,B("_process"),B("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(B,N,i){var y=i("hX1E"),m=y.normalizeRadian,E=Math.PI*2;function p(v,f,d,l,n,t,a,o,r){if(a===0)return!1;var c=a;o-=v,r-=f;var e=Math.sqrt(o*o+r*r);if(e-c>d||e+c<d)return!1;if(Math.abs(l-n)%E<1e-4)return!0;if(t){var s=l;l=m(n),n=m(s)}else l=m(l),n=m(n);l>n&&(n+=E);var u=Math.atan2(r,o);return u<0&&(u+=E),u>=l&&u<=n||u+E>=l&&u+E<=n}N.containStroke=p},n4Lv:function(B,N,i){var y=i("7hqr"),m=y.isDimensionStacked,E=i("bYtY"),p=E.map;function v(l,n,t){var a=l.getBaseAxis(),o=l.getOtherAxis(a),r=f(o,t),c=a.dim,e=o.dim,s=n.mapDimension(e),u=n.mapDimension(c),h=e==="x"||e==="radius"?1:0,g=p(l.dimensions,function(b){return n.mapDimension(b)}),A,w=n.getCalculationInfo("stackResultDimension");return(A|=m(n,g[0]))&&(g[0]=w),(A|=m(n,g[1]))&&(g[1]=w),{dataDimsForPoint:g,valueStart:r,valueAxisDim:e,baseAxisDim:c,stacked:!!A,valueDim:s,baseDim:u,baseDataOffset:h,stackedOverDimension:n.getCalculationInfo("stackedOverDimension")}}function f(l,n){var t=0,a=l.scale.getExtent();return n==="start"?t=a[0]:n==="end"?t=a[1]:a[0]>0?t=a[0]:a[1]<0&&(t=a[1]),t}function d(l,n,t,a){var o=NaN;l.stacked&&(o=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(o)&&(o=l.valueStart);var r=l.baseDataOffset,c=[];return c[r]=t.get(l.baseDim,a),c[1-r]=o,n.dataToPoint(c)}N.prepareDataCoordInfo=v,N.getStackedOnPoint=d},n6Mw:function(B,N,i){var y=i("SrGk"),m=i("bYtY"),E=i("Fofx");function p(f,d){y.call(this,f,d,"clipPath","__clippath_in_use__")}m.inherits(p,y),p.prototype.update=function(f){var d=this.getSvgElement(f);d&&this.updateDom(d,f.__clipPaths,!1);var l=this.getTextSvgElement(f);l&&this.updateDom(l,f.__clipPaths,!0),this.markUsed(f)},p.prototype.updateDom=function(f,d,l){if(d&&d.length>0){var n=this.getDefs(!0),t=d[0],a,o,r=l?"_textDom":"_dom";t[r]?(o=t[r].getAttribute("id"),a=t[r],n.contains(a)||n.appendChild(a)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,a=this.createElement("clipPath"),a.setAttribute("id",o),n.appendChild(a),t[r]=a);var c=this.getSvgProxy(t);if(t.transform&&t.parent.invTransform&&!l){var e=Array.prototype.slice.call(t.transform);E.mul(t.transform,t.parent.invTransform,t.transform),c.brush(t),t.transform=e}else c.brush(t);var s=this.getSvgElement(t);a.innerHTML="",a.appendChild(s.cloneNode()),f.setAttribute("clip-path","url(#"+o+")"),d.length>1&&this.updateDom(a,d.slice(1),l)}else f&&f.setAttribute("clip-path","none")},p.prototype.markUsed=function(f){var d=this;f.__clipPaths&&m.each(f.__clipPaths,function(l){l._dom&&y.prototype.markUsed.call(d,l._dom),l._textDom&&y.prototype.markUsed.call(d,l._textDom)})};var v=p;B.exports=v},nCxF:function(B,N,i){var y=i("QBsz"),m=y.min,E=y.max,p=y.scale,v=y.distance,f=y.add,d=y.clone,l=y.sub;function n(t,a,o,r){var c=[],e=[],s=[],u=[],h,g,A,w;if(r){A=[Infinity,Infinity],w=[-Infinity,-Infinity];for(var b=0,S=t.length;b<S;b++)m(A,A,t[b]),E(w,w,t[b]);m(A,A,r[0]),E(w,w,r[1])}for(var b=0,S=t.length;b<S;b++){var _=t[b];if(o)h=t[b?b-1:S-1],g=t[(b+1)%S];else if(b===0||b===S-1){c.push(d(t[b]));continue}else h=t[b-1],g=t[b+1];l(e,g,h),p(e,e,a);var T=v(_,h),x=v(_,g),C=T+x;C!==0&&(T/=C,x/=C),p(s,e,-T),p(u,e,x);var I=f([],_,s),L=f([],_,u);r&&(E(I,I,A),m(I,I,w),E(L,L,A),m(L,L,w)),c.push(I),c.push(L)}return o&&c.push(c.shift()),c}B.exports=n},nKiI:function(B,N,i){var y=i("bYtY"),m=i("mFDi"),E=i("OELB"),p=E.parsePercent,v=E.MAX_SAFE_INTEGER,f=i("+TT/"),d=i("VaxA"),l=Math.max,n=Math.min,t=y.retrieve,a=y.each,o=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],c=["upperLabel","show"],e=["upperLabel","height"],s={seriesType:"treemap",reset:function(I,L,M,k){var R=M.getWidth(),j=M.getHeight(),V=I.option,D=f.getLayoutRect(I.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()}),H=V.size||[],P=p(t(D.width,H[0]),R),K=p(t(D.height,H[1]),j),U=k&&k.type,G=["treemapZoomToNode","treemapRootToNode"],W=d.retrieveTargetInfo(k,G,I),Z=U==="treemapRender"||U==="treemapMove"?k.rootRect:null,J=I.getViewRoot(),ve=d.getPathToRoot(J);if(U!=="treemapMove"){var q=U==="treemapZoomToNode"?_(I,W,J,P,K):Z?[Z.width,Z.height]:[P,K],ce=V.sort;ce&&ce!=="asc"&&ce!=="desc"&&(ce="desc");var be={squareRatio:V.squareRatio,sort:ce,leafDepth:V.leafDepth};J.hostTree.clearLayouts();var Ce={x:0,y:0,width:q[0],height:q[1],area:q[0]*q[1]};J.setLayout(Ce),u(J,be,!1,0);var Ce=J.getLayout();a(ve,function(fe,Ne){var Q=(ve[Ne+1]||J).getValue();fe.setLayout(y.extend({dataExtent:[Q,Q],borderWidth:0,upperHeight:0},Ce))})}var Fe=I.getData().tree.root;Fe.setLayout(T(D,Z,W),!0),I.setLayoutInfo(D),x(Fe,new m(-D.x,-D.y,R,j),ve,J,0)}};function u(I,L,M,k){var R,j;if(I.isRemoved())return;var V=I.getLayout();R=V.width,j=V.height;var D=I.getModel(),H=D.get(o),P=D.get(r)/2,K=C(D),U=Math.max(H,K),G=H-P,W=U-P,D=I.getModel();I.setLayout({borderWidth:H,upperHeight:U,upperLabelHeight:K},!0),R=l(R-2*G,0),j=l(j-G-W,0);var Z=R*j,J=h(I,D,Z,L,M,k);if(!J.length)return;var ve={x:G,y:W,width:R,height:j},q=n(R,j),ce=Infinity,be=[];be.area=0;for(var Ce=0,Fe=J.length;Ce<Fe;){var fe=J[Ce];be.push(fe),be.area+=fe.getLayout().area;var Ne=b(be,q,L.squareRatio);Ne<=ce?(Ce++,ce=Ne):(be.area-=be.pop().getLayout().area,S(be,q,ve,P,!1),q=n(ve.width,ve.height),be.length=be.area=0,ce=Infinity)}if(be.length&&S(be,q,ve,P,!0),!M){var Q=D.get("childrenVisibleMin");Q!=null&&Z<Q&&(M=!0)}for(var Ce=0,Fe=J.length;Ce<Fe;Ce++)u(J[Ce],L,M,k+1)}function h(I,L,M,k,R,j){var V=I.children||[],D=k.sort;D!=="asc"&&D!=="desc"&&(D=null);var H=k.leafDepth!=null&&k.leafDepth<=j;if(R&&!H)return I.viewChildren=[];V=y.filter(V,function(W){return!W.isRemoved()}),A(V,D);var P=w(L,V,D);if(P.sum===0)return I.viewChildren=[];if(P.sum=g(L,M,P.sum,D,V),P.sum===0)return I.viewChildren=[];for(var K=0,U=V.length;K<U;K++){var G=V[K].getValue()/P.sum*M;V[K].setLayout({area:G})}return H&&(V.length&&I.setLayout({isLeafRoot:!0},!0),V.length=0),I.viewChildren=V,I.setLayout({dataExtent:P.dataExtent},!0),V}function g(I,L,M,k,R){if(!k)return M;for(var j=I.get("visibleMin"),V=R.length,D=V,H=V-1;H>=0;H--){var P=R[k==="asc"?V-H-1:H].getValue();P/M*L<j&&(D=H,M-=P)}return k==="asc"?R.splice(0,V-D):R.splice(D,V-D),M}function A(I,L){return L&&I.sort(function(M,k){var R=L==="asc"?M.getValue()-k.getValue():k.getValue()-M.getValue();return R===0?L==="asc"?M.dataIndex-k.dataIndex:k.dataIndex-M.dataIndex:R}),I}function w(I,L,M){for(var k=0,R=0,j=L.length;R<j;R++)k+=L[R].getValue();var V=I.get("visualDimension"),D;if(!L||!L.length)D=[NaN,NaN];else if(V==="value"&&M)D=[L[L.length-1].getValue(),L[0].getValue()],M==="asc"&&D.reverse();else{var D=[Infinity,-Infinity];a(L,function(P){var K=P.getValue(V);K<D[0]&&(D[0]=K),K>D[1]&&(D[1]=K)})}return{sum:k,dataExtent:D}}function b(I,L,M){for(var k=0,R=Infinity,j=0,V,D=I.length;j<D;j++)V=I[j].getLayout().area,V&&(V<R&&(R=V),V>k&&(k=V));var H=I.area*I.area,P=L*L*M;return H?l(P*k/H,H/(P*R)):Infinity}function S(I,L,M,k,R){var j=L===M.width?0:1,V=1-j,D=["x","y"],H=["width","height"],P=M[D[j]],K=L?I.area/L:0;(R||K>M[H[V]])&&(K=M[H[V]]);for(var U=0,G=I.length;U<G;U++){var W=I[U],Z={},J=K?W.getLayout().area/K:0,ve=Z[H[V]]=l(K-2*k,0),q=M[D[j]]+M[H[j]]-P,ce=U===G-1||q<J?q:J,be=Z[H[j]]=l(ce-2*k,0);Z[D[V]]=M[D[V]]+n(k,ve/2),Z[D[j]]=P+n(k,be/2),P+=ce,W.setLayout(Z,!0)}M[D[V]]+=K,M[H[V]]-=K}function _(I,L,M,k,R){var j=(L||{}).node,V=[k,R];if(!j||j===M)return V;for(var D,H=k*R,P=H*I.option.zoomToNodeRatio;D=j.parentNode;){for(var K=0,U=D.children,G=0,W=U.length;G<W;G++)K+=U[G].getValue();var Z=j.getValue();if(Z===0)return V;P*=K/Z;var J=D.getModel(),ve=J.get(o),q=Math.max(ve,C(J,ve));P+=4*ve*ve+(3*ve+q)*Math.pow(P,.5),P>v&&(P=v),j=D}P<H&&(P=H);var ce=Math.pow(P/H,.5);return[k*ce,R*ce]}function T(I,L,M){if(L)return{x:L.x,y:L.y};var k={x:0,y:0};if(!M)return k;var R=M.node,j=R.getLayout();if(!j)return k;for(var V=[j.width/2,j.height/2],D=R;D;){var H=D.getLayout();V[0]+=H.x,V[1]+=H.y,D=D.parentNode}return{x:I.width/2-V[0],y:I.height/2-V[1]}}function x(I,L,M,k,R){var j=I.getLayout(),V=M[R],D=V&&V===I;if(V&&!D||R===M.length&&I!==k)return;I.setLayout({isInView:!0,invisible:!D&&!L.intersect(j),isAboveViewRoot:D},!0);var H=new m(L.x-j.x,L.y-j.y,L.width,L.height);a(I.viewChildren||[],function(P){x(P,H,M,k,R+1)})}function C(I){return I.get(c)?I.get(e):0}B.exports=s},nPnh:function(B,N){var i=Math.round;function y(p,v,f){if(!v)return;var d=v.x1,l=v.x2,n=v.y1,t=v.y2;p.x1=d,p.x2=l,p.y1=n,p.y2=t;var a=f&&f.lineWidth;if(!a)return;i(d*2)===i(l*2)&&(p.x1=p.x2=E(d,a,!0)),i(n*2)===i(t*2)&&(p.y1=p.y2=E(n,a,!0))}function m(p,v,f){if(!v)return;var d=v.x,l=v.y,n=v.width,t=v.height;p.x=d,p.y=l,p.width=n,p.height=t;var a=f&&f.lineWidth;if(!a)return;p.x=E(d,a,!0),p.y=E(l,a,!0),p.width=Math.max(E(d+n,a,!1)-p.x,n===0?0:1),p.height=Math.max(E(l+t,a,!1)-p.y,t===0?0:1)}function E(p,v,f){if(!v)return p;var d=i(p*2);return(d+i(v))%2===0?d/2:(d+(f?1:-1))/2}N.subPixelOptimizeLine=y,N.subPixelOptimizeRect=m,N.subPixelOptimize=E},nRaC:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("0fbx"),p=i.n(E),v=i("OaEy"),f=i("R9oj")},nVfU:function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=m.parsePercent,p=i("7hqr"),v=p.isDimensionStacked,f=i("zM3Q"),d="__ec_stack_",l=.5,n=typeof Float32Array!="undefined"?Float32Array:Array;function t(S){return S.get("stack")||d+S.seriesIndex}function a(S){return S.dim+S.index}function o(S){var _=[],T=S.axis,x="axis0";if(T.type!=="category")return;for(var C=T.getBandWidth(),I=0;I<S.count||0;I++)_.push(y.defaults({bandWidth:C,axisKey:x,stackId:d+I},S));for(var L=s(_),M=[],I=0;I<S.count;I++){var k=L[x][d+I];k.offsetCenter=k.offset+k.width/2,M.push(k)}return M}function r(S,_){var T=[];return _.eachSeriesByType(S,function(x){A(x)&&!w(x)&&T.push(x)}),T}function c(S){var _={};y.each(S,function(k){var R=k.coordinateSystem,j=R.getBaseAxis();if(j.type!=="time"&&j.type!=="value")return;for(var V=k.getData(),D=j.dim+"_"+j.index,H=V.mapDimension(j.dim),P=0,K=V.count();P<K;++P){var U=V.get(H,P);_[D]?_[D].push(U):_[D]=[U]}});var T=[];for(var x in _)if(_.hasOwnProperty(x)){var C=_[x];if(C){C.sort(function(k,R){return k-R});for(var I=null,L=1;L<C.length;++L){var M=C[L]-C[L-1];M>0&&(I=I===null?M:Math.min(I,M))}T[x]=I}}return T}function e(S){var _=c(S),T=[];return y.each(S,function(x){var C=x.coordinateSystem,I=C.getBaseAxis(),L=I.getExtent(),M;if(I.type==="category")M=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var k=I.dim+"_"+I.index,R=_[k],j=Math.abs(L[1]-L[0]),V=I.scale.getExtent(),D=Math.abs(V[1]-V[0]);M=R?j/D*R:j}else{var H=x.getData();M=Math.abs(L[1]-L[0])/H.count()}var P=E(x.get("barWidth"),M),K=E(x.get("barMaxWidth"),M),U=E(x.get("barMinWidth")||1,M),G=x.get("barGap"),W=x.get("barCategoryGap");T.push({bandWidth:M,barWidth:P,barMaxWidth:K,barMinWidth:U,barGap:G,barCategoryGap:W,axisKey:a(I),stackId:t(x)})}),s(T)}function s(S){var _={};y.each(S,function(x,C){var I=x.axisKey,L=x.bandWidth,M=_[I]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=M.stacks;_[I]=M;var R=x.stackId;k[R]||M.autoWidthCount++,k[R]=k[R]||{width:0,maxWidth:0};var j=x.barWidth;j&&!k[R].width&&(k[R].width=j,j=Math.min(M.remainedWidth,j),M.remainedWidth-=j);var V=x.barMaxWidth;V&&(k[R].maxWidth=V);var D=x.barMinWidth;D&&(k[R].minWidth=D);var H=x.barGap;H!=null&&(M.gap=H);var P=x.barCategoryGap;P!=null&&(M.categoryGap=P)});var T={};return y.each(_,function(x,C){T[C]={};var I=x.stacks,L=x.bandWidth,M=E(x.categoryGap,L),k=E(x.gap,1),R=x.remainedWidth,j=x.autoWidthCount,V=(R-M)/(j+(j-1)*k);V=Math.max(V,0),y.each(I,function(K){var U=K.maxWidth,G=K.minWidth;if(K.width){var W=K.width;U&&(W=Math.min(W,U)),G&&(W=Math.max(W,G)),K.width=W,R-=W+k*W,j--}else{var W=V;U&&U<W&&(W=Math.min(U,R)),G&&G>W&&(W=G),W!==V&&(K.width=W,R-=W+k*W,j--)}}),V=(R-M)/(j+(j-1)*k),V=Math.max(V,0);var D=0,H;y.each(I,function(K,U){K.width||(K.width=V),H=K,D+=K.width*(1+k)}),H&&(D-=H.width*k);var P=-D/2;y.each(I,function(K,U){T[C][U]=T[C][U]||{bandWidth:L,offset:P,width:K.width},P+=K.width*(1+k)})}),T}function u(S,_,T){if(S&&_){var x=S[a(_)];return x!=null&&T!=null&&(x=x[t(T)]),x}}function h(S,_){var T=r(S,_),x=e(T),C={},I={};y.each(T,function(L){var M=L.getData(),k=L.coordinateSystem,R=k.getBaseAxis(),j=t(L),V=x[a(R)][j],D=V.offset,H=V.width,P=k.getOtherAxis(R),K=L.get("barMinHeight")||0;C[j]=C[j]||[],I[j]=I[j]||[],M.setLayout({bandWidth:V.bandWidth,offset:D,size:H});for(var U=M.mapDimension(P.dim),G=M.mapDimension(R.dim),W=v(M,U),Z=P.isHorizontal(),J=b(R,P,W),ve=0,q=M.count();ve<q;ve++){var ce=M.get(U,ve),be=M.get(G,ve),Ce=ce>=0?"p":"n",Fe=J;W&&(C[j][be]||(C[j][be]={p:J,n:J}),Fe=C[j][be][Ce]);var fe,Ne,Q,ae;if(Z){var Ue=k.dataToPoint([ce,be]);fe=Fe,Ne=Ue[1]+D,Q=Ue[0]-J,ae=H,Math.abs(Q)<K&&(Q=(Q<0?-1:1)*K),isNaN(Q)||W&&(C[j][be][Ce]+=Q)}else{var Ue=k.dataToPoint([be,ce]);fe=Ue[0]+D,Ne=Fe,Q=H,ae=Ue[1]-J,Math.abs(ae)<K&&(ae=(ae<=0?-1:1)*K),isNaN(ae)||W&&(C[j][be][Ce]+=ae)}M.setItemLayout(ve,{x:fe,y:Ne,width:Q,height:ae})}},this)}var g={seriesType:"bar",plan:f(),reset:function(S){if(!A(S)||!w(S))return;var _=S.getData(),T=S.coordinateSystem,x=T.grid.getRect(),C=T.getBaseAxis(),I=T.getOtherAxis(C),L=_.mapDimension(I.dim),M=_.mapDimension(C.dim),k=I.isHorizontal(),R=k?0:1,j=u(e([S]),C,S).width;return j>l||(j=l),{progress:V};function V(D,H){for(var P=D.count,K=new n(P*2),U=new n(P*2),G=new n(P),W,Z=[],J=[],ve=0,q=0;(W=D.next())!=null;)J[R]=H.get(L,W),J[1-R]=H.get(M,W),Z=T.dataToPoint(J,null,Z),U[ve]=k?x.x+x.width:Z[0],K[ve++]=Z[0],U[ve]=k?Z[1]:x.y+x.height,K[ve++]=Z[1],G[q++]=W;H.setLayout({largePoints:K,largeDataIndices:G,largeBackgroundPoints:U,barWidth:j,valueAxisStart:b(C,I,!1),backgroundStart:k?x.x:x.y,valueAxisHorizontal:k})}}};function A(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function w(S){return S.pipelineContext&&S.pipelineContext.large}function b(S,_,T){return _.toGlobalCoord(_.dataToCoord(_.type==="log"?1:0))}N.getLayoutOnAxis=o,N.prepareLayoutBarSeries=r,N.makeColumnLayout=e,N.retrieveColumnLayout=u,N.layout=h,N.largeLayout=g},ngQI:function(B,N,i){"use strict";i.d(N,"a",function(){return Pc}),i.d(N,"b",function(){return Lc}),i.d(N,"c",function(){return _r});var y=i("q1tI"),m=i.n(y),E=i("dI71"),p=i("wx14"),v=i("ANjH"),f=i("/MKj");function d(Ie,ee){if(Ie.length!==ee.length)return!1;for(var ye=0;ye<Ie.length;ye++)if(Ie[ye]!==ee[ye])return!1;return!0}function l(Ie,ee){var ye=Object(y.useState)(function(){return{inputs:ee,result:Ie()}})[0],je=Object(y.useRef)(!0),nt=Object(y.useRef)(ye),_t=je.current||Boolean(ee&&nt.current.inputs&&d(ee,nt.current.inputs)),Nt=_t?nt.current:{inputs:ee,result:Ie()};return Object(y.useEffect)(function(){je.current=!1,nt.current=Nt},[Nt]),Nt.result}function n(Ie,ee){return l(function(){return Ie},ee)}var t=l,a=n,o=i("9R94"),r=function(ee){var ye=ee.top,je=ee.right,nt=ee.bottom,_t=ee.left,Nt=je-_t,Mt=nt-ye,vr={top:ye,right:je,bottom:nt,left:_t,width:Nt,height:Mt,x:_t,y:ye,center:{x:(je+_t)/2,y:(nt+ye)/2}};return vr},c=function(ee,ye){return{top:ee.top-ye.top,left:ee.left-ye.left,bottom:ee.bottom+ye.bottom,right:ee.right+ye.right}},e=function(ee,ye){return{top:ee.top+ye.top,left:ee.left+ye.left,bottom:ee.bottom-ye.bottom,right:ee.right-ye.right}},s=function(ee,ye){return{top:ee.top+ye.y,left:ee.left+ye.x,bottom:ee.bottom+ye.y,right:ee.right+ye.x}},u={top:0,right:0,bottom:0,left:0},h=function(ee){var ye=ee.borderBox,je=ee.margin,nt=je===void 0?u:je,_t=ee.border,Nt=_t===void 0?u:_t,Mt=ee.padding,vr=Mt===void 0?u:Mt,Ir=r(c(ye,nt)),gr=r(e(ye,Nt)),dr=r(e(gr,vr));return{marginBox:Ir,borderBox:r(ye),paddingBox:gr,contentBox:dr,margin:nt,border:Nt,padding:vr}},g=function(ee){var ye=ee.slice(0,-2),je=ee.slice(-2);if(je!=="px")return 0;var nt=Number(ye);return isNaN(nt)&&Object(o.a)(!1),nt},A=function(){return{x:window.pageXOffset,y:window.pageYOffset}},w=function(ee,ye){var je=ee.borderBox,nt=ee.border,_t=ee.margin,Nt=ee.padding,Mt=s(je,ye);return h({borderBox:Mt,border:nt,margin:_t,padding:Nt})},b=function(ee,ye){return ye===void 0&&(ye=A()),w(ee,ye)},S=function(ee,ye){var je={top:g(ye.marginTop),right:g(ye.marginRight),bottom:g(ye.marginBottom),left:g(ye.marginLeft)},nt={top:g(ye.paddingTop),right:g(ye.paddingRight),bottom:g(ye.paddingBottom),left:g(ye.paddingLeft)},_t={top:g(ye.borderTopWidth),right:g(ye.borderRightWidth),bottom:g(ye.borderBottomWidth),left:g(ye.borderLeftWidth)};return h({borderBox:ee,margin:je,padding:nt,border:_t})},_=function(ee){var ye=ee.getBoundingClientRect(),je=window.getComputedStyle(ee);return S(ye,je)},T=Number.isNaN||function(ee){return typeof ee=="number"&&ee!==ee};function x(Ie,ee){return Ie===ee?!0:!!(T(Ie)&&T(ee))}function C(Ie,ee){if(Ie.length!==ee.length)return!1;for(var ye=0;ye<Ie.length;ye++)if(!x(Ie[ye],ee[ye]))return!1;return!0}function I(Ie,ee){ee===void 0&&(ee=C);var ye,je=[],nt,_t=!1;function Nt(){for(var Mt=[],vr=0;vr<arguments.length;vr++)Mt[vr]=arguments[vr];return _t&&ye===this&&ee(Mt,je)||(nt=Ie.apply(this,Mt),_t=!0,ye=this,je=Mt),nt}return Nt}var L=I,M=function(ee){var ye=[],je=null,nt=function(){for(var Nt=arguments.length,Mt=new Array(Nt),vr=0;vr<Nt;vr++)Mt[vr]=arguments[vr];if(ye=Mt,je)return;je=requestAnimationFrame(function(){je=null,ee.apply(void 0,ye)})};return nt.cancel=function(){if(!je)return;cancelAnimationFrame(je),je=null},nt},k=M,R=i("i8i4"),j=i.n(R),V=!0,D=/[ \t]{2,}/g,H=/^[ \t]*/gm,P=function(ee){return ee.replace(D," ").replace(H,"").trim()},K=function(ee){return P(`
%creact-beautiful-dnd
%c`+P(ee)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},U=function(ee){return[K(ee),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},G="__react-beautiful-dnd-disable-dev-warnings";function W(Ie,ee){var ye;if(V)return;if(typeof window!="undefined"&&window[G])return;(ye=console)[Ie].apply(ye,U(ee))}var Z=W.bind(null,"warn"),J=W.bind(null,"error");function ve(){}function q(Ie,ee){return Object(p.a)({},Ie,{},ee)}function ce(Ie,ee,ye){var je=ee.map(function(nt){var _t=q(ye,nt.options);return Ie.addEventListener(nt.eventName,nt.fn,_t),function(){Ie.removeEventListener(nt.eventName,nt.fn,_t)}});return function(){je.forEach(function(_t){_t()})}}var be=!0,Ce="Invariant failed";function Fe(Ie){this.message=Ie}Fe.prototype.toString=function(){return this.message};function fe(Ie,ee){if(Ie)return;throw be?new Fe(Ce):new Fe(Ce+": "+(ee||""))}var Ne=function(Ie){Object(E.a)(ee,Ie);function ee(){for(var je,nt=arguments.length,_t=new Array(nt),Nt=0;Nt<nt;Nt++)_t[Nt]=arguments[Nt];return je=Ie.call.apply(Ie,[this].concat(_t))||this,je.callbacks=null,je.unbind=ve,je.onWindowError=function(Mt){var vr=je.getCallbacks();vr.isDragging()&&vr.tryAbort();var Ir=Mt.error;Ir instanceof Fe&&Mt.preventDefault()},je.getCallbacks=function(){if(!je.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return je.callbacks},je.setCallbacks=function(Mt){je.callbacks=Mt},je}var ye=ee.prototype;return ye.componentDidMount=function(){this.unbind=ce(window,[{eventName:"error",fn:this.onWindowError}])},ye.componentWillUnmount=function(){this.unbind()},ye.componentDidCatch=function(nt){if(nt instanceof Fe){this.setState({});return}throw nt},ye.render=function(){return this.props.children(this.setCallbacks)},ee}(m.a.Component),Q=`
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
`,ae=function(ee){return ee+1},Ue=function(ee){return`
You have lifted an item in position `+ae(ee.source.index)+`
`},te=function(ee,ye){var je=ee.droppableId===ye.droppableId,nt=ae(ee.index),_t=ae(ye.index);return je?`
You have moved the item from position `+nt+`
to position `+_t+`
`:`
You have moved the item from position `+nt+`
in list `+ee.droppableId+`
to list `+ye.droppableId+`
in position `+_t+`
`},X=function(ee,ye,je){var nt=ye.droppableId===je.droppableId;return nt?`
The item `+ee+`
has been combined with `+je.draggableId:`
The item `+ee+`
in list `+ye.droppableId+`
has been combined with `+je.draggableId+`
in list `+je.droppableId+`
`},z=function(ee){var ye=ee.destination;if(ye)return te(ee.source,ye);var je=ee.combine;return je?X(ee.draggableId,ee.source,je):"You are over an area that cannot be dropped on"},Y=function(ee){return`
The item has returned to its starting position
of `+ae(ee.index)+`
`},pe=function(ee){if(ee.reason==="CANCEL")return`
Movement cancelled.
`+Y(ee.source)+`
`;var ye=ee.destination,je=ee.combine;return ye?`
You have dropped the item.
`+te(ee.source,ye)+`
`:je?`
You have dropped the item.
`+X(ee.draggableId,ee.source,je)+`
`:`
The item has been dropped while not over a drop area.
`+Y(ee.source)+`
`},se={dragHandleUsageInstructions:Q,onDragStart:Ue,onDragUpdate:z,onDragEnd:pe},Te={x:0,y:0},Se=function(ee,ye){return{x:ee.x+ye.x,y:ee.y+ye.y}},ie=function(ee,ye){return{x:ee.x-ye.x,y:ee.y-ye.y}},de=function(ee,ye){return ee.x===ye.x&&ee.y===ye.y},_e=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},We=function(ee,ye,je){var nt;return je===void 0&&(je=0),nt={},nt[ee]=ye,nt[ee==="x"?"y":"x"]=je,nt},at=function(ee,ye){return Math.sqrt(Math.pow(ye.x-ee.x,2)+Math.pow(ye.y-ee.y,2))},tt=function(ee,ye){return Math.min.apply(Math,ye.map(function(je){return at(ee,je)}))},Oe=function(ee){return function(ye){return{x:ee(ye.x),y:ee(ye.y)}}},yt=function(ee,ye){var je=r({top:Math.max(ye.top,ee.top),right:Math.min(ye.right,ee.right),bottom:Math.min(ye.bottom,ee.bottom),left:Math.max(ye.left,ee.left)});return je.width<=0||je.height<=0?null:je},Ye=function(ee,ye){return{top:ee.top+ye.y,left:ee.left+ye.x,bottom:ee.bottom+ye.y,right:ee.right+ye.x}},bt=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},Ct={top:0,right:0,bottom:0,left:0},It=function(ee,ye){return ye?Ye(ee,ye.scroll.diff.displacement):ee},Ft=function(ee,ye,je){if(je&&je.increasedBy){var nt;return Object(p.a)({},ee,(nt={},nt[ye.end]=ee[ye.end]+je.increasedBy[ye.line],nt))}return ee},Vt=function(ee,ye){return ye&&ye.shouldClipSubject?yt(ye.pageMarginBox,ee):r(ee)},$e=function(ee){var ye=ee.page,je=ee.withPlaceholder,nt=ee.axis,_t=ee.frame,Nt=It(ye.marginBox,_t),Mt=Ft(Nt,nt,je),vr=Vt(Mt,_t);return{page:ye,withPlaceholder:je,active:vr}},ge=function(ee,ye){ee.frame||fe(!1);var je=ee.frame,nt=ie(ye,je.scroll.initial),_t=_e(nt),Nt=Object(p.a)({},je,{scroll:{initial:je.scroll.initial,current:ye,diff:{value:nt,displacement:_t},max:je.scroll.max}}),Mt=$e({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Nt}),vr=Object(p.a)({},ee,{frame:Nt,subject:Mt});return vr};function ne(Ie){return Number.isInteger?Number.isInteger(Ie):typeof Ie=="number"&&isFinite(Ie)&&Math.floor(Ie)===Ie}function wt(Ie){return Object.values?Object.values(Ie):Object.keys(Ie).map(function(ee){return Ie[ee]})}function qe(Ie,ee){if(Ie.findIndex)return Ie.findIndex(ee);for(var ye=0;ye<Ie.length;ye++)if(ee(Ie[ye]))return ye;return-1}function he(Ie,ee){if(Ie.find)return Ie.find(ee);var ye=qe(Ie,ee);return ye!==-1?Ie[ye]:void 0}function kt(Ie){return Array.prototype.slice.call(Ie)}var nr=L(function(Ie){return Ie.reduce(function(ee,ye){return ee[ye.descriptor.id]=ye,ee},{})}),lt=L(function(Ie){return Ie.reduce(function(ee,ye){return ee[ye.descriptor.id]=ye,ee},{})}),Xt=L(function(Ie){return wt(Ie)}),hr=L(function(Ie){return wt(Ie)}),Wr=L(function(Ie,ee){var ye=hr(ee).filter(function(je){return Ie===je.descriptor.droppableId}).sort(function(je,nt){return je.descriptor.index-nt.descriptor.index});return ye});function mt(Ie){return Ie.at&&Ie.at.type==="REORDER"?Ie.at.destination:null}function Et(Ie){return Ie.at&&Ie.at.type==="COMBINE"?Ie.at.combine:null}var rt=L(function(Ie,ee){return ee.filter(function(ye){return ye.descriptor.id!==Ie.descriptor.id})}),He=function(ee){var ye=ee.isMovingForward,je=ee.draggable,nt=ee.destination,_t=ee.insideDestination,Nt=ee.previousImpact;if(!nt.isCombineEnabled)return null;var Mt=mt(Nt);if(!Mt)return null;function vr(ri){var Oi={type:"COMBINE",combine:{draggableId:ri,droppableId:nt.descriptor.id}};return Object(p.a)({},Nt,{at:Oi})}var Ir=Nt.displaced.all,gr=Ir.length?Ir[0]:null;if(ye)return gr?vr(gr):null;var dr=rt(je,_t);if(!gr){if(!dr.length)return null;var Cr=dr[dr.length-1];return vr(Cr.descriptor.id)}var Mr=qe(dr,function(ri){return ri.descriptor.id===gr});Mr!==-1||fe(!1);var on=Mr-1;if(on<0)return null;var zn=dr[on];return vr(zn.descriptor.id)},ze=function(ee,ye){return ee.descriptor.droppableId===ye.descriptor.id},Rt={point:Te,value:0},sr={invisible:{},visible:{},all:[]},Jt={displaced:sr,displacedBy:Rt,at:null},qt=function(ee,ye){return function(je){return ee<=je&&je<=ye}},qr=function(ee){var ye=qt(ee.top,ee.bottom),je=qt(ee.left,ee.right);return function(nt){var _t=ye(nt.top)&&ye(nt.bottom)&&je(nt.left)&&je(nt.right);if(_t)return!0;var Nt=ye(nt.top)||ye(nt.bottom),Mt=je(nt.left)||je(nt.right),vr=Nt&&Mt;if(vr)return!0;var Ir=nt.top<ee.top&&nt.bottom>ee.bottom,gr=nt.left<ee.left&&nt.right>ee.right,dr=Ir&&gr;if(dr)return!0;var Cr=Ir&&Mt||gr&&Nt;return Cr}},Fr=function(ee){var ye=qt(ee.top,ee.bottom),je=qt(ee.left,ee.right);return function(nt){var _t=ye(nt.top)&&ye(nt.bottom)&&je(nt.left)&&je(nt.right);return _t}},mn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Tt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},St=function(ee){return function(ye){var je=qt(ye.top,ye.bottom),nt=qt(ye.left,ye.right);return function(_t){return ee===mn?je(_t.top)&&je(_t.bottom):nt(_t.left)&&nt(_t.right)}}},Re=function(ee,ye){var je=ye.frame?ye.frame.scroll.diff.displacement:Te;return Ye(ee,je)},Ve=function(ee,ye,je){return ye.subject.active?je(ye.subject.active)(ee):!1},Xe=function(ee,ye,je){return je(ye)(ee)},ct=function(ee){var ye=ee.target,je=ee.destination,nt=ee.viewport,_t=ee.withDroppableDisplacement,Nt=ee.isVisibleThroughFrameFn,Mt=_t?Re(ye,je):ye;return Ve(Mt,je,Nt)&&Xe(Mt,nt,Nt)},tr=function(ee){return ct(Object(p.a)({},ee,{isVisibleThroughFrameFn:qr}))},ir=function(ee){return ct(Object(p.a)({},ee,{isVisibleThroughFrameFn:Fr}))},or=function(ee){return ct(Object(p.a)({},ee,{isVisibleThroughFrameFn:St(ee.destination.axis)}))},Xr=function(ee,ye,je){if(typeof je=="boolean")return je;if(!ye)return!0;var nt=ye.invisible,_t=ye.visible;if(nt[ee])return!1;var Nt=_t[ee];return Nt?Nt.shouldAnimate:!0};function Yr(Ie,ee){var ye=Ie.page.marginBox,je={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return r(c(ye,je))}function bn(Ie){var ee=Ie.afterDragging,ye=Ie.destination,je=Ie.displacedBy,nt=Ie.viewport,_t=Ie.forceShouldAnimate,Nt=Ie.last;return ee.reduce(function(vr,Ir){var gr=Yr(Ir,je),dr=Ir.descriptor.id;vr.all.push(dr);var Cr=tr({target:gr,destination:ye,viewport:nt,withDroppableDisplacement:!0});if(!Cr)return vr.invisible[Ir.descriptor.id]=!0,vr;var Mr=Xr(dr,Nt,_t),on={draggableId:dr,shouldAnimate:Mr};return vr.visible[dr]=on,vr},{all:[],visible:{},invisible:{}})}function Yt(Ie,ee){if(!Ie.length)return 0;var ye=Ie[Ie.length-1].descriptor.index;return ee.inHomeList?ye:ye+1}function pt(Ie){var ee=Ie.insideDestination,ye=Ie.inHomeList,je=Ie.displacedBy,nt=Ie.destination,_t=Yt(ee,{inHomeList:ye});return{displaced:sr,displacedBy:je,at:{type:"REORDER",destination:{droppableId:nt.descriptor.id,index:_t}}}}function ht(Ie){var ee=Ie.draggable,ye=Ie.insideDestination,je=Ie.destination,nt=Ie.viewport,_t=Ie.displacedBy,Nt=Ie.last,Mt=Ie.index,vr=Ie.forceShouldAnimate,Ir=ze(ee,je);if(Mt==null)return pt({insideDestination:ye,inHomeList:Ir,displacedBy:_t,destination:je});var gr=he(ye,function(zn){return zn.descriptor.index===Mt});if(!gr)return pt({insideDestination:ye,inHomeList:Ir,displacedBy:_t,destination:je});var dr=rt(ee,ye),Cr=ye.indexOf(gr),Mr=dr.slice(Cr),on=bn({afterDragging:Mr,destination:je,displacedBy:_t,last:Nt,viewport:nt.frame,forceShouldAnimate:vr});return{displaced:on,displacedBy:_t,at:{type:"REORDER",destination:{droppableId:je.descriptor.id,index:Mt}}}}function Zt(Ie,ee){return Boolean(ee.effected[Ie])}var $t=function(ee){var ye=ee.isMovingForward,je=ee.destination,nt=ee.draggables,_t=ee.combine,Nt=ee.afterCritical;if(!je.isCombineEnabled)return null;var Mt=_t.draggableId,vr=nt[Mt],Ir=vr.descriptor.index,gr=Zt(Mt,Nt);return gr?ye?Ir:Ir-1:ye?Ir+1:Ir},At=function(ee){var ye=ee.isMovingForward,je=ee.isInHomeList,nt=ee.insideDestination,_t=ee.location;if(!nt.length)return null;var Nt=_t.index,Mt=ye?Nt+1:Nt-1,vr=nt[0].descriptor.index,Ir=nt[nt.length-1].descriptor.index,gr=je?Ir:Ir+1;return Mt<vr||Mt>gr?null:Mt},Pt=function(ee){var ye=ee.isMovingForward,je=ee.isInHomeList,nt=ee.draggable,_t=ee.draggables,Nt=ee.destination,Mt=ee.insideDestination,vr=ee.previousImpact,Ir=ee.viewport,gr=ee.afterCritical,dr=vr.at;if(dr||fe(!1),dr.type==="REORDER"){var Cr=At({isMovingForward:ye,isInHomeList:je,location:dr.destination,insideDestination:Mt});return Cr==null?null:ht({draggable:nt,insideDestination:Mt,destination:Nt,viewport:Ir,last:vr.displaced,displacedBy:vr.displacedBy,index:Cr})}var Mr=$t({isMovingForward:ye,destination:Nt,displaced:vr.displaced,draggables:_t,combine:dr.combine,afterCritical:gr});return Mr==null?null:ht({draggable:nt,insideDestination:Mt,destination:Nt,viewport:Ir,last:vr.displaced,displacedBy:vr.displacedBy,index:Mr})},gt=function(ee){var ye=ee.displaced,je=ee.afterCritical,nt=ee.combineWith,_t=ee.displacedBy,Nt=Boolean(ye.visible[nt]||ye.invisible[nt]);return Zt(nt,je)?Nt?Te:_e(_t.point):Nt?_t.point:Te},Wt=function(ee){var ye=ee.afterCritical,je=ee.impact,nt=ee.draggables,_t=Et(je);_t||fe(!1);var Nt=_t.draggableId,Mt=nt[Nt].page.borderBox.center,vr=gt({displaced:je.displaced,afterCritical:ye,combineWith:Nt,displacedBy:je.displacedBy});return Se(Mt,vr)},yr=function(ee,ye){return ye.margin[ee.start]+ye.borderBox[ee.size]/2},cr=function(ee,ye){return ye.margin[ee.end]+ye.borderBox[ee.size]/2},pr=function(ee,ye,je){return ye[ee.crossAxisStart]+je.margin[ee.crossAxisStart]+je.borderBox[ee.crossAxisSize]/2},Qr=function(ee){var ye=ee.axis,je=ee.moveRelativeTo,nt=ee.isMoving;return We(ye.line,je.marginBox[ye.end]+yr(ye,nt),pr(ye,je.marginBox,nt))},$r=function(ee){var ye=ee.axis,je=ee.moveRelativeTo,nt=ee.isMoving;return We(ye.line,je.marginBox[ye.start]-cr(ye,nt),pr(ye,je.marginBox,nt))},Ln=function(ee){var ye=ee.axis,je=ee.moveInto,nt=ee.isMoving;return We(ye.line,je.contentBox[ye.start]+yr(ye,nt),pr(ye,je.contentBox,nt))},Mn=function(ee){var ye=ee.impact,je=ee.draggable,nt=ee.draggables,_t=ee.droppable,Nt=ee.afterCritical,Mt=Wr(_t.descriptor.id,nt),vr=je.page,Ir=_t.axis;if(!Mt.length)return Ln({axis:Ir,moveInto:_t.page,isMoving:vr});var gr=ye.displaced,dr=ye.displacedBy,Cr=gr.all[0];if(Cr){var Mr=nt[Cr];if(Zt(Cr,Nt))return $r({axis:Ir,moveRelativeTo:Mr.page,isMoving:vr});var on=w(Mr.page,dr.point);return $r({axis:Ir,moveRelativeTo:on,isMoving:vr})}var zn=Mt[Mt.length-1];if(zn.descriptor.id===je.descriptor.id)return vr.borderBox.center;if(Zt(zn.descriptor.id,Nt)){var ri=w(zn.page,_e(Nt.displacedBy.point));return Qr({axis:Ir,moveRelativeTo:ri,isMoving:vr})}return Qr({axis:Ir,moveRelativeTo:zn.page,isMoving:vr})},Vn=function(ee,ye){var je=ee.frame;return je?Se(ye,je.scroll.diff.displacement):ye},ii=function(ee){var ye=ee.impact,je=ee.draggable,nt=ee.droppable,_t=ee.draggables,Nt=ee.afterCritical,Mt=je.page.borderBox.center,vr=ye.at;return nt&&vr?vr.type==="REORDER"?Mn({impact:ye,draggable:je,draggables:_t,droppable:nt,afterCritical:Nt}):Wt({impact:ye,draggables:_t,afterCritical:Nt}):Mt},Li=function(ee){var ye=ii(ee),je=ee.droppable,nt=je?Vn(je,ye):ye;return nt},Pi=function(ee,ye){var je=ie(ye,ee.scroll.initial),nt=_e(je),_t=r({top:ye.y,bottom:ye.y+ee.frame.height,left:ye.x,right:ye.x+ee.frame.width}),Nt={frame:_t,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ye,diff:{value:je,displacement:nt}}};return Nt};function Ze(Ie,ee){return Ie.map(function(ye){return ee[ye]})}function xe(Ie,ee){for(var ye=0;ye<ee.length;ye++){var je=ee[ye].visible[Ie];if(je)return je}return null}var Me=function(ee){var ye=ee.impact,je=ee.viewport,nt=ee.destination,_t=ee.draggables,Nt=ee.maxScrollChange,Mt=Pi(je,Se(je.scroll.current,Nt)),vr=nt.frame?ge(nt,Se(nt.frame.scroll.current,Nt)):nt,Ir=ye.displaced,gr=bn({afterDragging:Ze(Ir.all,_t),destination:nt,displacedBy:ye.displacedBy,viewport:Mt.frame,last:Ir,forceShouldAnimate:!1}),dr=bn({afterDragging:Ze(Ir.all,_t),destination:vr,displacedBy:ye.displacedBy,viewport:je.frame,last:Ir,forceShouldAnimate:!1}),Cr={},Mr={},on=[Ir,gr,dr];Ir.all.forEach(function(ri){var Oi=xe(ri,on);if(Oi){Mr[ri]=Oi;return}Cr[ri]=!0});var zn=Object(p.a)({},ye,{displaced:{all:Ir.all,invisible:Cr,visible:Mr}});return zn},ke=function(ee,ye){return Se(ee.scroll.diff.displacement,ye)},Ge=function(ee){var ye=ee.pageBorderBoxCenter,je=ee.draggable,nt=ee.viewport,_t=ke(nt,ye),Nt=ie(_t,je.page.borderBox.center);return Se(je.client.borderBox.center,Nt)},Ke=function(ee){var ye=ee.draggable,je=ee.destination,nt=ee.newPageBorderBoxCenter,_t=ee.viewport,Nt=ee.withDroppableDisplacement,Mt=ee.onlyOnMainAxis,vr=Mt===void 0?!1:Mt,Ir=ie(nt,ye.page.borderBox.center),gr=Ye(ye.page.borderBox,Ir),dr={target:gr,destination:je,withDroppableDisplacement:Nt,viewport:_t};return vr?or(dr):ir(dr)},Je=function(ee){var ye=ee.isMovingForward,je=ee.draggable,nt=ee.destination,_t=ee.draggables,Nt=ee.previousImpact,Mt=ee.viewport,vr=ee.previousPageBorderBoxCenter,Ir=ee.previousClientSelection,gr=ee.afterCritical;if(!nt.isEnabled)return null;var dr=Wr(nt.descriptor.id,_t),Cr=ze(je,nt),Mr=He({isMovingForward:ye,draggable:je,destination:nt,insideDestination:dr,previousImpact:Nt})||Pt({isMovingForward:ye,isInHomeList:Cr,draggable:je,draggables:_t,destination:nt,insideDestination:dr,previousImpact:Nt,viewport:Mt,afterCritical:gr});if(!Mr)return null;var on=Li({impact:Mr,draggable:je,droppable:nt,draggables:_t,afterCritical:gr}),zn=Ke({draggable:je,destination:nt,newPageBorderBoxCenter:on,viewport:Mt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(zn){var ri=Ge({pageBorderBoxCenter:on,draggable:je,viewport:Mt});return{clientSelection:ri,impact:Mr,scrollJumpRequest:null}}var Oi=ie(on,vr),ui=Me({impact:Mr,viewport:Mt,destination:nt,draggables:_t,maxScrollChange:Oi});return{clientSelection:Ir,impact:ui,scrollJumpRequest:Oi}},vt=function(ee){var ye=ee.subject.active;return ye||fe(!1),ye},ot=function(ee){var ye=ee.isMovingForward,je=ee.pageBorderBoxCenter,nt=ee.source,_t=ee.droppables,Nt=ee.viewport,Mt=nt.subject.active;if(!Mt)return null;var vr=nt.axis,Ir=qt(Mt[vr.start],Mt[vr.end]),gr=Xt(_t).filter(function(Cr){return Cr!==nt}).filter(function(Cr){return Cr.isEnabled}).filter(function(Cr){return Boolean(Cr.subject.active)}).filter(function(Cr){return qr(Nt.frame)(vt(Cr))}).filter(function(Cr){var Mr=vt(Cr);return ye?Mt[vr.crossAxisEnd]<Mr[vr.crossAxisEnd]:Mr[vr.crossAxisStart]<Mt[vr.crossAxisStart]}).filter(function(Cr){var Mr=vt(Cr),on=qt(Mr[vr.start],Mr[vr.end]);return Ir(Mr[vr.start])||Ir(Mr[vr.end])||on(Mt[vr.start])||on(Mt[vr.end])}).sort(function(Cr,Mr){var on=vt(Cr)[vr.crossAxisStart],zn=vt(Mr)[vr.crossAxisStart];return ye?on-zn:zn-on}).filter(function(Cr,Mr,on){return vt(Cr)[vr.crossAxisStart]===vt(on[0])[vr.crossAxisStart]});if(!gr.length)return null;if(gr.length===1)return gr[0];var dr=gr.filter(function(Cr){var Mr=qt(vt(Cr)[vr.start],vt(Cr)[vr.end]);return Mr(je[vr.line])});return dr.length===1?dr[0]:dr.length>1?dr.sort(function(Cr,Mr){return vt(Cr)[vr.start]-vt(Mr)[vr.start]})[0]:gr.sort(function(Cr,Mr){var on=tt(je,bt(vt(Cr))),zn=tt(je,bt(vt(Mr)));return on!==zn?on-zn:vt(Cr)[vr.start]-vt(Mr)[vr.start]})[0]},Ut=function(ee,ye){var je=ee.page.borderBox.center;return Zt(ee.descriptor.id,ye)?ie(je,ye.displacedBy.point):je},br=function(ee,ye){var je=ee.page.borderBox;return Zt(ee.descriptor.id,ye)?Ye(je,_e(ye.displacedBy.point)):je},Ar=function(ee){var ye=ee.pageBorderBoxCenter,je=ee.viewport,nt=ee.destination,_t=ee.insideDestination,Nt=ee.afterCritical,Mt=_t.filter(function(vr){return ir({target:br(vr,Nt),destination:nt,viewport:je.frame,withDroppableDisplacement:!0})}).sort(function(vr,Ir){var gr=at(ye,Vn(nt,Ut(vr,Nt))),dr=at(ye,Vn(nt,Ut(Ir,Nt)));return gr<dr?-1:dr<gr?1:vr.descriptor.index-Ir.descriptor.index});return Mt[0]||null},Or=L(function(ee,ye){var je=ye[ee.line];return{value:je,point:We(ee.line,je)}}),zt=function(ee,ye,je){var nt=ee.axis;if(ee.descriptor.mode==="virtual")return We(nt.line,ye[nt.line]);var _t=ee.subject.page.contentBox[nt.size],Nt=Wr(ee.descriptor.id,je),Mt=Nt.reduce(function(gr,dr){return gr+dr.client.marginBox[nt.size]},0),vr=Mt+ye[nt.line],Ir=vr-_t;return Ir<=0?null:We(nt.line,Ir)},un=function(ee,ye){return Object(p.a)({},ee,{scroll:Object(p.a)({},ee.scroll,{max:ye})})},lr=function(ee,ye,je){var nt=ee.frame;ze(ye,ee)&&fe(!1),ee.subject.withPlaceholder&&fe(!1);var _t=Or(ee.axis,ye.displaceBy).point,Nt=zt(ee,_t,je),Mt={placeholderSize:_t,increasedBy:Nt,oldFrameMaxScroll:ee.frame?ee.frame.scroll.max:null};if(!nt){var vr=$e({page:ee.subject.page,withPlaceholder:Mt,axis:ee.axis,frame:ee.frame});return Object(p.a)({},ee,{subject:vr})}var Ir=Nt?Se(nt.scroll.max,Nt):nt.scroll.max,gr=un(nt,Ir),dr=$e({page:ee.subject.page,withPlaceholder:Mt,axis:ee.axis,frame:gr});return Object(p.a)({},ee,{subject:dr,frame:gr})},Vr=function(ee){var ye=ee.subject.withPlaceholder;ye||fe(!1);var je=ee.frame;if(!je){var nt=$e({page:ee.subject.page,axis:ee.axis,frame:null,withPlaceholder:null});return Object(p.a)({},ee,{subject:nt})}var _t=ye.oldFrameMaxScroll;_t||fe(!1);var Nt=un(je,_t),Mt=$e({page:ee.subject.page,axis:ee.axis,frame:Nt,withPlaceholder:null});return Object(p.a)({},ee,{subject:Mt,frame:Nt})},Br=function(ee){var ye=ee.previousPageBorderBoxCenter,je=ee.moveRelativeTo,nt=ee.insideDestination,_t=ee.draggable,Nt=ee.draggables,Mt=ee.destination,vr=ee.viewport,Ir=ee.afterCritical;if(!je){if(nt.length)return null;var gr={displaced:sr,displacedBy:Rt,at:{type:"REORDER",destination:{droppableId:Mt.descriptor.id,index:0}}},dr=Li({impact:gr,draggable:_t,droppable:Mt,draggables:Nt,afterCritical:Ir}),Cr=ze(_t,Mt)?Mt:lr(Mt,_t,Nt),Mr=Ke({draggable:_t,destination:Cr,newPageBorderBoxCenter:dr,viewport:vr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Mr?gr:null}var on=Boolean(ye[Mt.axis.line]<=je.page.borderBox.center[Mt.axis.line]),zn=function(){var Oi=je.descriptor.index;return je.descriptor.id===_t.descriptor.id||on?Oi:Oi+1}(),ri=Or(Mt.axis,_t.displaceBy);return ht({draggable:_t,insideDestination:nt,destination:Mt,viewport:vr,displacedBy:ri,last:sr,index:zn})},Sr=function(ee){var ye=ee.isMovingForward,je=ee.previousPageBorderBoxCenter,nt=ee.draggable,_t=ee.isOver,Nt=ee.draggables,Mt=ee.droppables,vr=ee.viewport,Ir=ee.afterCritical,gr=ot({isMovingForward:ye,pageBorderBoxCenter:je,source:_t,droppables:Mt,viewport:vr});if(!gr)return null;var dr=Wr(gr.descriptor.id,Nt),Cr=Ar({pageBorderBoxCenter:je,viewport:vr,destination:gr,insideDestination:dr,afterCritical:Ir}),Mr=Br({previousPageBorderBoxCenter:je,destination:gr,draggable:nt,draggables:Nt,moveRelativeTo:Cr,insideDestination:dr,viewport:vr,afterCritical:Ir});if(!Mr)return null;var on=Li({impact:Mr,draggable:nt,droppable:gr,draggables:Nt,afterCritical:Ir}),zn=Ge({pageBorderBoxCenter:on,draggable:nt,viewport:vr});return{clientSelection:zn,impact:Mr,scrollJumpRequest:null}},xn=function(ee){var ye=ee.at;return ye?ye.type==="REORDER"?ye.destination.droppableId:ye.combine.droppableId:null},Hn=function(ee,ye){var je=xn(ee);return je?ye[je]:null},ai=function(ee){var ye=ee.state,je=ee.type,nt=Hn(ye.impact,ye.dimensions.droppables),_t=Boolean(nt),Nt=ye.dimensions.droppables[ye.critical.droppable.id],Mt=nt||Nt,vr=Mt.axis.direction,Ir=vr==="vertical"&&(je==="MOVE_UP"||je==="MOVE_DOWN")||vr==="horizontal"&&(je==="MOVE_LEFT"||je==="MOVE_RIGHT");if(Ir&&!_t)return null;var gr=je==="MOVE_DOWN"||je==="MOVE_RIGHT",dr=ye.dimensions.draggables[ye.critical.draggable.id],Cr=ye.current.page.borderBoxCenter,Mr=ye.dimensions,on=Mr.draggables,zn=Mr.droppables;return Ir?Je({isMovingForward:gr,previousPageBorderBoxCenter:Cr,draggable:dr,destination:Mt,draggables:on,viewport:ye.viewport,previousClientSelection:ye.current.client.selection,previousImpact:ye.impact,afterCritical:ye.afterCritical}):Sr({isMovingForward:gr,previousPageBorderBoxCenter:Cr,draggable:dr,isOver:Mt,draggables:on,droppables:zn,viewport:ye.viewport,afterCritical:ye.afterCritical})};function si(Ie){return Ie.phase==="DRAGGING"||Ie.phase==="COLLECTING"}function Yn(Ie){var ee=qt(Ie.top,Ie.bottom),ye=qt(Ie.left,Ie.right);return function(nt){return ee(nt.y)&&ye(nt.x)}}function Wn(Ie,ee){return Ie.left<ee.right&&Ie.right>ee.left&&Ie.top<ee.bottom&&Ie.bottom>ee.top}function Dn(Ie){var ee=Ie.pageBorderBox,ye=Ie.draggable,je=Ie.candidates,nt=ye.page.borderBox.center,_t=je.map(function(Nt){var Mt=Nt.axis,vr=We(Nt.axis.line,ee.center[Mt.line],Nt.page.borderBox.center[Mt.crossAxisLine]);return{id:Nt.descriptor.id,distance:at(nt,vr)}}).sort(function(Nt,Mt){return Mt.distance-Nt.distance});return _t[0]?_t[0].id:null}function vi(Ie){var ee=Ie.pageBorderBox,ye=Ie.draggable,je=Ie.droppables,nt=Xt(je).filter(function(_t){if(!_t.isEnabled)return!1;var Nt=_t.subject.active;if(!Nt)return!1;if(!Wn(ee,Nt))return!1;if(Yn(Nt)(ee.center))return!0;var Mt=_t.axis,vr=Nt.center[Mt.crossAxisLine],Ir=ee[Mt.crossAxisStart],gr=ee[Mt.crossAxisEnd],dr=qt(Nt[Mt.crossAxisStart],Nt[Mt.crossAxisEnd]),Cr=dr(Ir),Mr=dr(gr);return!Cr&&!Mr?!0:Cr?Ir<vr:gr>vr});return nt.length?nt.length===1?nt[0].descriptor.id:Dn({pageBorderBox:ee,draggable:ye,candidates:nt}):null}var gn=function(ee,ye){return r(Ye(ee,ye))},Kr=function(ee,ye){var je=ee.frame;return je?gn(ye,je.scroll.diff.value):ye};function En(Ie){var ee=Ie.displaced,ye=Ie.id;return Boolean(ee.visible[ye]||ee.invisible[ye])}function sn(Ie){var ee=Ie.draggable,ye=Ie.closest,je=Ie.inHomeList;return ye?je&&ye.descriptor.index>ee.descriptor.index?ye.descriptor.index-1:ye.descriptor.index:null}var li=function(ee){var ye=ee.pageBorderBoxWithDroppableScroll,je=ee.draggable,nt=ee.destination,_t=ee.insideDestination,Nt=ee.last,Mt=ee.viewport,vr=ee.afterCritical,Ir=nt.axis,gr=Or(nt.axis,je.displaceBy),dr=gr.value,Cr=ye[Ir.start],Mr=ye[Ir.end],on=rt(je,_t),zn=he(on,function(Oi){var ui=Oi.descriptor.id,va=Oi.page.borderBox.center[Ir.line],zi=Zt(ui,vr),Na=En({displaced:Nt,id:ui});return zi?Na?Mr<=va:Cr<va-dr:Na?Mr<=va+dr:Cr<va}),ri=sn({draggable:je,closest:zn,inHomeList:ze(je,nt)});return ht({draggable:je,insideDestination:_t,destination:nt,viewport:Mt,last:Nt,displacedBy:gr,index:ri})},ni=4,yi=function(ee){var ye=ee.draggable,je=ee.pageBorderBoxWithDroppableScroll,nt=ee.previousImpact,_t=ee.destination,Nt=ee.insideDestination,Mt=ee.afterCritical;if(!_t.isCombineEnabled)return null;var vr=_t.axis,Ir=Or(_t.axis,ye.displaceBy),gr=Ir.value,dr=je[vr.start],Cr=je[vr.end],Mr=rt(ye,Nt),on=he(Mr,function(ri){var Oi=ri.descriptor.id,ui=ri.page.borderBox,va=ui[vr.size],zi=va/ni,Na=Zt(Oi,Mt),Sa=En({displaced:nt.displaced,id:Oi});return Na?Sa?Cr>ui[vr.start]+zi&&Cr<ui[vr.end]-zi:dr>ui[vr.start]-gr+zi&&dr<ui[vr.end]-gr-zi:Sa?Cr>ui[vr.start]+gr+zi&&Cr<ui[vr.end]+gr-zi:dr>ui[vr.start]+zi&&dr<ui[vr.end]-zi});if(!on)return null;var zn={displacedBy:Ir,displaced:nt.displaced,at:{type:"COMBINE",combine:{draggableId:on.descriptor.id,droppableId:_t.descriptor.id}}};return zn},Xn=function(ee){var ye=ee.pageOffset,je=ee.draggable,nt=ee.draggables,_t=ee.droppables,Nt=ee.previousImpact,Mt=ee.viewport,vr=ee.afterCritical,Ir=gn(je.page.borderBox,ye),gr=vi({pageBorderBox:Ir,draggable:je,droppables:_t});if(!gr)return Jt;var dr=_t[gr],Cr=Wr(dr.descriptor.id,nt),Mr=Kr(dr,Ir);return yi({pageBorderBoxWithDroppableScroll:Mr,draggable:je,previousImpact:Nt,destination:dr,insideDestination:Cr,afterCritical:vr})||li({pageBorderBoxWithDroppableScroll:Mr,draggable:je,destination:dr,insideDestination:Cr,last:Nt.displaced,viewport:Mt,afterCritical:vr})},ki=function(ee,ye){var je;return Object(p.a)({},ee,(je={},je[ye.descriptor.id]=ye,je))},wi=function(ee){var ye=ee.previousImpact,je=ee.impact,nt=ee.droppables,_t=xn(ye),Nt=xn(je);if(!_t)return nt;if(_t===Nt)return nt;var Mt=nt[_t];if(!Mt.subject.withPlaceholder)return nt;var vr=Vr(Mt);return ki(nt,vr)},Ji=function(ee){var ye=ee.draggable,je=ee.draggables,nt=ee.droppables,_t=ee.previousImpact,Nt=ee.impact,Mt=wi({previousImpact:_t,impact:Nt,droppables:nt}),vr=xn(Nt);if(!vr)return Mt;var Ir=nt[vr];if(ze(ye,Ir))return Mt;if(Ir.subject.withPlaceholder)return Mt;var gr=lr(Ir,ye,je);return ki(Mt,gr)},An=function(ee){var ye=ee.state,je=ee.clientSelection,nt=ee.dimensions,_t=ee.viewport,Nt=ee.impact,Mt=ee.scrollJumpRequest,vr=_t||ye.viewport,Ir=nt||ye.dimensions,gr=je||ye.current.client.selection,dr=ie(gr,ye.initial.client.selection),Cr={offset:dr,selection:gr,borderBoxCenter:Se(ye.initial.client.borderBoxCenter,dr)},Mr={selection:Se(Cr.selection,vr.scroll.current),borderBoxCenter:Se(Cr.borderBoxCenter,vr.scroll.current),offset:Se(Cr.offset,vr.scroll.diff.value)},on={client:Cr,page:Mr};if(ye.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},ye,{dimensions:Ir,viewport:vr,current:on});var zn=Ir.draggables[ye.critical.draggable.id],ri=Nt||Xn({pageOffset:Mr.offset,draggable:zn,draggables:Ir.draggables,droppables:Ir.droppables,previousImpact:ye.impact,viewport:vr,afterCritical:ye.afterCritical}),Oi=Ji({draggable:zn,impact:ri,previousImpact:ye.impact,draggables:Ir.draggables,droppables:Ir.droppables}),ui=Object(p.a)({},ye,{current:on,dimensions:{draggables:Ir.draggables,droppables:Oi},impact:ri,viewport:vr,scrollJumpRequest:Mt||null,forceShouldAnimate:Mt?!1:null});return ui};function Ur(Ie,ee){return Ie.map(function(ye){return ee[ye]})}var Cn=function(ee){var ye=ee.impact,je=ee.viewport,nt=ee.draggables,_t=ee.destination,Nt=ee.forceShouldAnimate,Mt=ye.displaced,vr=Ur(Mt.all,nt),Ir=bn({afterDragging:vr,destination:_t,displacedBy:ye.displacedBy,viewport:je.frame,forceShouldAnimate:Nt,last:Mt});return Object(p.a)({},ye,{displaced:Ir})},Un=function(ee){var ye=ee.impact,je=ee.draggable,nt=ee.droppable,_t=ee.draggables,Nt=ee.viewport,Mt=ee.afterCritical,vr=Li({impact:ye,draggable:je,draggables:_t,droppable:nt,afterCritical:Mt});return Ge({pageBorderBoxCenter:vr,draggable:je,viewport:Nt})},Zn=function(ee){var ye=ee.state,je=ee.dimensions,nt=ee.viewport;ye.movementMode==="SNAP"||fe(!1);var _t=ye.impact,Nt=nt||ye.viewport,Mt=je||ye.dimensions,vr=Mt.draggables,Ir=Mt.droppables,gr=vr[ye.critical.draggable.id],dr=xn(_t);dr||fe(!1);var Cr=Ir[dr],Mr=Cn({impact:_t,viewport:Nt,destination:Cr,draggables:vr}),on=Un({impact:Mr,draggable:gr,droppable:Cr,draggables:vr,viewport:Nt,afterCritical:ye.afterCritical});return An({impact:Mr,clientSelection:on,state:ye,dimensions:Mt,viewport:Nt})},ti=function(ee){return{index:ee.index,droppableId:ee.droppableId}},hi=function(ee){var ye=ee.draggable,je=ee.home,nt=ee.draggables,_t=ee.viewport,Nt=Or(je.axis,ye.displaceBy),Mt=Wr(je.descriptor.id,nt),vr=Mt.indexOf(ye);vr!==-1||fe(!1);var Ir=Mt.slice(vr+1),gr=Ir.reduce(function(on,zn){return on[zn.descriptor.id]=!0,on},{}),dr={inVirtualList:je.descriptor.mode==="virtual",displacedBy:Nt,effected:gr},Cr=bn({afterDragging:Ir,destination:je,displacedBy:Nt,last:null,viewport:_t.frame,forceShouldAnimate:!1}),Mr={displaced:Cr,displacedBy:Nt,at:{type:"REORDER",destination:ti(ye.descriptor)}};return{impact:Mr,afterCritical:dr}},pi=function(ee,ye){return{draggables:ee.draggables,droppables:ki(ee.droppables,ye)}},mi=function(ee){},Hi=function(ee){},ra=function(ee){var ye=ee.draggable,je=ee.offset,nt=ee.initialWindowScroll,_t=w(ye.client,je),Nt=b(_t,nt),Mt=Object(p.a)({},ye,{placeholder:Object(p.a)({},ye.placeholder,{client:_t}),client:_t,page:Nt});return Mt},$i=function(ee){var ye=ee.frame;return ye||fe(!1),ye},ro=function(ee){var ye=ee.additions,je=ee.updatedDroppables,nt=ee.viewport,_t=nt.scroll.diff.value;return ye.map(function(Nt){var Mt=Nt.descriptor.droppableId,vr=je[Mt],Ir=$i(vr),gr=Ir.scroll.diff.value,dr=Se(_t,gr),Cr=ra({draggable:Nt,offset:dr,initialWindowScroll:nt.scroll.initial});return Cr})},di=function(ee){var ye=ee.state,je=ee.published;mi();var nt=je.modified.map(function(zi){var Na=ye.dimensions.droppables[zi.droppableId],Sa=ge(Na,zi.scroll);return Sa}),_t=Object(p.a)({},ye.dimensions.droppables,{},nr(nt)),Nt=lt(ro({additions:je.additions,updatedDroppables:_t,viewport:ye.viewport})),Mt=Object(p.a)({},ye.dimensions.draggables,{},Nt);je.removals.forEach(function(zi){delete Mt[zi]});var vr={droppables:_t,draggables:Mt},Ir=xn(ye.impact),gr=Ir?vr.droppables[Ir]:null,dr=vr.draggables[ye.critical.draggable.id],Cr=vr.droppables[ye.critical.droppable.id],Mr=hi({draggable:dr,home:Cr,draggables:Mt,viewport:ye.viewport}),on=Mr.impact,zn=Mr.afterCritical,ri=gr&&gr.isCombineEnabled?ye.impact:on,Oi=Xn({pageOffset:ye.current.page.offset,draggable:vr.draggables[ye.critical.draggable.id],draggables:vr.draggables,droppables:vr.droppables,previousImpact:ri,viewport:ye.viewport,afterCritical:zn});Hi();var ui=Object(p.a)({phase:"DRAGGING"},ye,{phase:"DRAGGING",impact:Oi,onLiftImpact:on,dimensions:vr,afterCritical:zn,forceShouldAnimate:!1});if(ye.phase==="COLLECTING")return ui;var va=Object(p.a)({phase:"DROP_PENDING"},ui,{phase:"DROP_PENDING",reason:ye.reason,isWaiting:!1});return va},cn=function(ee){return ee.movementMode==="SNAP"},Ni=function(ee,ye,je){var nt=pi(ee.dimensions,ye);return!cn(ee)||je?An({state:ee,dimensions:nt}):Zn({state:ee,dimensions:nt})};function Gi(Ie){return Ie.isDragging&&Ie.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},Ie,{scrollJumpRequest:null}):Ie}var Ki={phase:"IDLE",completed:null,shouldFlush:!1},ia=function(ee,ye){if(ee===void 0&&(ee=Ki),ye.type==="FLUSH")return Object(p.a)({},Ki,{shouldFlush:!0});if(ye.type==="INITIAL_PUBLISH"){ee.phase==="IDLE"||fe(!1);var je=ye.payload,nt=je.critical,_t=je.clientSelection,Nt=je.viewport,Mt=je.dimensions,vr=je.movementMode,Ir=Mt.draggables[nt.draggable.id],gr=Mt.droppables[nt.droppable.id],dr={selection:_t,borderBoxCenter:Ir.client.borderBox.center,offset:Te},Cr={client:dr,page:{selection:Se(dr.selection,Nt.scroll.initial),borderBoxCenter:Se(dr.selection,Nt.scroll.initial),offset:Se(dr.selection,Nt.scroll.diff.value)}},Mr=Xt(Mt.droppables).every(function(So){return!So.isFixedOnPage}),on=hi({draggable:Ir,home:gr,draggables:Mt.draggables,viewport:Nt}),zn=on.impact,ri=on.afterCritical,Oi={phase:"DRAGGING",isDragging:!0,critical:nt,movementMode:vr,dimensions:Mt,initial:Cr,current:Cr,isWindowScrollAllowed:Mr,impact:zn,afterCritical:ri,onLiftImpact:zn,viewport:Nt,scrollJumpRequest:null,forceShouldAnimate:null};return Oi}if(ye.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||fe(!1);var ui=Object(p.a)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return ui}if(ye.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||fe(!1),di({state:ee,published:ye.payload});if(ye.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;si(ee)||fe(!1);var va=ye.payload.client;return de(va,ee.current.client.selection)?ee:An({state:ee,clientSelection:va,impact:cn(ee)?ee.impact:null})}if(ye.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING")return Gi(ee);if(ee.phase==="COLLECTING")return Gi(ee);si(ee)||fe(!1);var zi=ye.payload,Na=zi.id,Sa=zi.newScroll,Ia=ee.dimensions.droppables[Na];if(!Ia)return ee;var co=ge(Ia,Sa);return Ni(ee,co,!1)}if(ye.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;si(ee)||fe(!1);var O=ye.payload,F=O.id,$=O.isEnabled,re=ee.dimensions.droppables[F];re||fe(!1),re.isEnabled!==$||fe(!1);var le=Object(p.a)({},re,{isEnabled:$});return Ni(ee,le,!0)}if(ye.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;si(ee)||fe(!1);var De=ye.payload,dt=De.id,Lt=De.isCombineEnabled,Qt=ee.dimensions.droppables[dt];Qt||fe(!1),Qt.isCombineEnabled!==Lt||fe(!1);var er=Object(p.a)({},Qt,{isCombineEnabled:Lt});return Ni(ee,er,!0)}if(ye.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;si(ee)||fe(!1),ee.isWindowScrollAllowed||fe(!1);var en=ye.payload.newScroll;if(de(ee.viewport.scroll.current,en))return Gi(ee);var fn=Pi(ee.viewport,en);return cn(ee)?Zn({state:ee,viewport:fn}):An({state:ee,viewport:fn})}if(ye.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!si(ee))return ee;var Fn=ye.payload.maxScroll;if(de(Fn,ee.viewport.scroll.max))return ee;var kn=Object(p.a)({},ee.viewport,{scroll:Object(p.a)({},ee.viewport.scroll,{max:Fn})});return Object(p.a)({phase:"DRAGGING"},ee,{viewport:kn})}if(ye.type==="MOVE_UP"||ye.type==="MOVE_DOWN"||ye.type==="MOVE_LEFT"||ye.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase==="DRAGGING"||fe(!1);var Ai=ai({state:ee,type:ye.type});return Ai?An({state:ee,impact:Ai.impact,clientSelection:Ai.clientSelection,scrollJumpRequest:Ai.scrollJumpRequest}):ee}if(ye.type==="DROP_PENDING"){var Ui=ye.payload.reason;ee.phase==="COLLECTING"||fe(!1);var qi=Object(p.a)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Ui});return qi}if(ye.type==="DROP_ANIMATE"){var Zi=ye.payload,Xi=Zi.completed,Aa=Zi.dropDuration,Ca=Zi.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||fe(!1);var no={phase:"DROP_ANIMATING",completed:Xi,dropDuration:Aa,newHomeClientOffset:Ca,dimensions:ee.dimensions};return no}if(ye.type==="DROP_COMPLETE"){var Wa=ye.payload.completed;return{phase:"IDLE",completed:Wa,shouldFlush:!1}}return ee},Kt=function(ee){return{type:"BEFORE_INITIAL_CAPTURE",payload:ee}},Zr=function(ee){return{type:"LIFT",payload:ee}},rn=function(ee){return{type:"INITIAL_PUBLISH",payload:ee}},pn=function(ee){return{type:"PUBLISH_WHILE_DRAGGING",payload:ee}},Qe=function(){return{type:"COLLECTION_STARTING",payload:null}},Dt=function(ee){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ee}},ur=function(ee){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ee}},ar=function(ee){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ee}},Lr=function(ee){return{type:"MOVE",payload:ee}},Rr=function(ee){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ee}},Hr=function(ee){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ee}},an=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}},Nn=function(){return{type:"FLUSH",payload:null}},vn=function(ee){return{type:"DROP_ANIMATE",payload:ee}},Sn=function(ee){return{type:"DROP_COMPLETE",payload:ee}},Tn=function(ee){return{type:"DROP",payload:ee}},Kn=function(ee){return{type:"DROP_PENDING",payload:ee}},Qn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function qn(Ie){if(Ie.length<=1)return;for(var ee=Ie.map(function(Mt){return Mt.descriptor.index}),ye={},je=1;je<ee.length;je++){var nt=ee[je],_t=ee[je-1];nt!==_t+1&&(ye[nt]=!0)}if(!Object.keys(ye).length)return;var Nt=ee.map(function(Mt){var vr=Boolean(ye[Mt]);return vr?"[\u{1F525}"+Mt+"]":""+Mt}).join(", ")}function bi(Ie,ee){if(!1)var ye}var gi=function(ee){return function(ye){var je=ye.getState,nt=ye.dispatch;return function(_t){return function(Nt){if(Nt.type!=="LIFT"){_t(Nt);return}var Mt=Nt.payload,vr=Mt.id,Ir=Mt.clientSelection,gr=Mt.movementMode,dr=je();dr.phase==="DROP_ANIMATING"&&nt(Sn({completed:dr.completed})),je().phase==="IDLE"||fe(!1),nt(Nn()),nt(Kt({draggableId:vr,movementMode:gr}));var Cr={shouldPublishImmediately:gr==="SNAP"},Mr={draggableId:vr,scrollOptions:Cr},on=ee.startPublishing(Mr),zn=on.critical,ri=on.dimensions,Oi=on.viewport;bi(zn,ri),nt(rn({critical:zn,dimensions:ri,clientSelection:Ir,movementMode:gr,viewport:Oi}))}}}},Ri=function(ee){return function(){return function(ye){return function(je){je.type==="INITIAL_PUBLISH"&&ee.dragging(),je.type==="DROP_ANIMATE"&&ee.dropping(je.payload.completed.result.reason),(je.type==="FLUSH"||je.type==="DROP_COMPLETE")&&ee.resting(),ye(je)}}}},Bi={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},xi={opacity:{drop:0,combining:.7},scale:{drop:.75}},Ti={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Di=Ti.outOfTheWay+"s "+Bi.outOfTheWay,Pn={fluid:"opacity "+Di,snap:"transform "+Di+", opacity "+Di,drop:function(ee){var ye=ee+"s "+Bi.drop;return"transform "+ye+", opacity "+ye},outOfTheWay:"transform "+Di,placeholder:"height "+Di+", width "+Di+", margin "+Di},_i=function(ee){return de(ee,Te)?null:"translate("+ee.x+"px, "+ee.y+"px)"},ji={moveTo:_i,drop:function(ee,ye){var je=_i(ee);return je?ye?je+" scale("+xi.scale.drop+")":je:null}},mr=Ti.minDropTime,Dr=Ti.maxDropTime,Gr=Dr-mr,Nr=1500,Gt=.6,xr=function(ee){var ye=ee.current,je=ee.destination,nt=ee.reason,_t=at(ye,je);if(_t<=0)return mr;if(_t>=Nr)return Dr;var Nt=_t/Nr,Mt=mr+Gr*Nt,vr=nt==="CANCEL"?Mt*Gt:Mt;return Number(vr.toFixed(2))},rr=function(ee){var ye=ee.impact,je=ee.draggable,nt=ee.dimensions,_t=ee.viewport,Nt=ee.afterCritical,Mt=nt.draggables,vr=nt.droppables,Ir=xn(ye),gr=Ir?vr[Ir]:null,dr=vr[je.descriptor.droppableId],Cr=Un({impact:ye,draggable:je,draggables:Mt,afterCritical:Nt,droppable:gr||dr,viewport:_t}),Mr=ie(Cr,je.client.borderBox.center);return Mr},Pr=function(ee){var ye=ee.draggables,je=ee.reason,nt=ee.lastImpact,_t=ee.home,Nt=ee.viewport,Mt=ee.onLiftImpact;if(!nt.at||je!=="DROP"){var vr=Cn({draggables:ye,impact:Mt,destination:_t,viewport:Nt,forceShouldAnimate:!0});return{impact:vr,didDropInsideDroppable:!1}}if(nt.at.type==="REORDER")return{impact:nt,didDropInsideDroppable:!0};var Ir=Object(p.a)({},nt,{displaced:sr});return{impact:Ir,didDropInsideDroppable:!0}},kr=function(ee){var ye=ee.getState,je=ee.dispatch;return function(nt){return function(_t){if(_t.type!=="DROP"){nt(_t);return}var Nt=ye(),Mt=_t.payload.reason;if(Nt.phase==="COLLECTING"){je(Kn({reason:Mt}));return}if(Nt.phase==="IDLE")return;var vr=Nt.phase==="DROP_PENDING"&&Nt.isWaiting;vr&&fe(!1),Nt.phase==="DRAGGING"||Nt.phase==="DROP_PENDING"||fe(!1);var Ir=Nt.critical,gr=Nt.dimensions,dr=gr.draggables[Nt.critical.draggable.id],Cr=Pr({reason:Mt,lastImpact:Nt.impact,afterCritical:Nt.afterCritical,onLiftImpact:Nt.onLiftImpact,home:Nt.dimensions.droppables[Nt.critical.droppable.id],viewport:Nt.viewport,draggables:Nt.dimensions.draggables}),Mr=Cr.impact,on=Cr.didDropInsideDroppable,zn=on?mt(Mr):null,ri=on?Et(Mr):null,Oi={index:Ir.draggable.index,droppableId:Ir.droppable.id},ui={draggableId:dr.descriptor.id,type:dr.descriptor.type,source:Oi,reason:Mt,mode:Nt.movementMode,destination:zn,combine:ri},va=rr({impact:Mr,draggable:dr,dimensions:gr,viewport:Nt.viewport,afterCritical:Nt.afterCritical}),zi={critical:Nt.critical,afterCritical:Nt.afterCritical,result:ui,impact:Mr},Na=!de(Nt.current.client.offset,va)||Boolean(ui.combine);if(!Na){je(Sn({completed:zi}));return}var Sa=xr({current:Nt.current.client.offset,destination:va,reason:Mt}),Ia={newHomeClientOffset:va,dropDuration:Sa,completed:zi};je(vn(Ia))}}},dn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ln(Ie){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ye){if(ye.target!==window&&ye.target!==window.document)return;Ie()}}}function yn(Ie){var ee=Ie.onWindowScroll;function ye(){ee(dn())}var je=k(ye),nt=ln(je),_t=ve;function Nt(){return _t!==ve}function Mt(){Nt()&&fe(!1),_t=ce(window,[nt])}function vr(){Nt()||fe(!1),je.cancel(),_t(),_t=ve}return{start:Mt,stop:vr,isActive:Nt}}var Bn=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},Gn=function(ee){var ye=yn({onWindowScroll:function(nt){ee.dispatch(Rr({newScroll:nt}))}});return function(je){return function(nt){!ye.isActive()&&nt.type==="INITIAL_PUBLISH"&&ye.start(),ye.isActive()&&Bn(nt)&&ye.stop(),je(nt)}}},ei=function(ee){var ye=!1,je=!1,nt=setTimeout(function(){je=!0}),_t=function(Mt){if(ye)return;if(je)return;ye=!0,ee(Mt),clearTimeout(nt)};return _t.wasCalled=function(){return ye},_t},Ci=function(){var ee=[],ye=function(Nt){var Mt=qe(ee,function(gr){return gr.timerId===Nt});Mt!==-1||fe(!1);var vr=ee.splice(Mt,1),Ir=vr[0];Ir.callback()},je=function(Nt){var Mt=setTimeout(function(){return ye(Mt)}),vr={timerId:Mt,callback:Nt};ee.push(vr)},nt=function(){if(!ee.length)return;var Nt=[].concat(ee);ee.length=0,Nt.forEach(function(Mt){clearTimeout(Mt.timerId),Mt.callback()})};return{add:je,flush:nt}},Qi=function(ee,ye){return ee==null&&ye==null?!0:ee==null||ye==null?!1:ee.droppableId===ye.droppableId&&ee.index===ye.index},ua=function(ee,ye){return ee==null&&ye==null?!0:ee==null||ye==null?!1:ee.draggableId===ye.draggableId&&ee.droppableId===ye.droppableId},ha=function(ee,ye){if(ee===ye)return!0;var je=ee.draggable.id===ye.draggable.id&&ee.draggable.droppableId===ye.draggable.droppableId&&ee.draggable.type===ye.draggable.type&&ee.draggable.index===ye.draggable.index,nt=ee.droppable.id===ye.droppable.id&&ee.droppable.type===ye.droppable.type;return je&&nt},la=function(ee,ye){mi(),ye(),Hi()},da=function(ee,ye){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:ye}},Wi=function(ee,ye,je,nt){if(!ee){je(nt(ye));return}var _t=ei(je),Nt={announce:_t};ee(ye,Nt),_t.wasCalled()||je(nt(ye))},Mi=function(ee,ye){var je=Ci(),nt=null,_t=function(Mr,on){nt&&fe(!1),la("onBeforeCapture",function(){var zn=ee().onBeforeCapture;if(zn){var ri={draggableId:Mr,mode:on};zn(ri)}})},Nt=function(Mr,on){nt&&fe(!1),la("onBeforeDragStart",function(){var zn=ee().onBeforeDragStart;zn&&zn(da(Mr,on))})},Mt=function(Mr,on){nt&&fe(!1);var zn=da(Mr,on);nt={mode:on,lastCritical:Mr,lastLocation:zn.source,lastCombine:null},je.add(function(){la("onDragStart",function(){return Wi(ee().onDragStart,zn,ye,se.onDragStart)})})},vr=function(Mr,on){var zn=mt(on),ri=Et(on);nt||fe(!1);var Oi=!ha(Mr,nt.lastCritical);Oi&&(nt.lastCritical=Mr);var ui=!Qi(nt.lastLocation,zn);ui&&(nt.lastLocation=zn);var va=!ua(nt.lastCombine,ri);if(va&&(nt.lastCombine=ri),!Oi&&!ui&&!va)return;var zi=Object(p.a)({},da(Mr,nt.mode),{combine:ri,destination:zn});je.add(function(){la("onDragUpdate",function(){return Wi(ee().onDragUpdate,zi,ye,se.onDragUpdate)})})},Ir=function(){nt||fe(!1),je.flush()},gr=function(Mr){nt||fe(!1),nt=null,la("onDragEnd",function(){return Wi(ee().onDragEnd,Mr,ye,se.onDragEnd)})},dr=function(){if(!nt)return;var Mr=Object(p.a)({},da(nt.lastCritical,nt.mode),{combine:null,destination:null,reason:"CANCEL"});gr(Mr)};return{beforeCapture:_t,beforeStart:Nt,start:Mt,update:vr,flush:Ir,drop:gr,abort:dr}},na=function(ee,ye){var je=Mi(ee,ye);return function(nt){return function(_t){return function(Nt){if(Nt.type==="BEFORE_INITIAL_CAPTURE"){je.beforeCapture(Nt.payload.draggableId,Nt.payload.movementMode);return}if(Nt.type==="INITIAL_PUBLISH"){var Mt=Nt.payload.critical;je.beforeStart(Mt,Nt.payload.movementMode),_t(Nt),je.start(Mt,Nt.payload.movementMode);return}if(Nt.type==="DROP_COMPLETE"){var vr=Nt.payload.completed.result;je.flush(),_t(Nt),je.drop(vr);return}if(_t(Nt),Nt.type==="FLUSH"){je.abort();return}var Ir=nt.getState();Ir.phase==="DRAGGING"&&je.update(Ir.critical,Ir.impact)}}}},ea=function(ee){return function(ye){return function(je){if(je.type!=="DROP_ANIMATION_FINISHED"){ye(je);return}var nt=ee.getState();nt.phase==="DROP_ANIMATING"||fe(!1),ee.dispatch(Sn({completed:nt.completed}))}}},_a=function(ee){var ye=null,je=null;function nt(){je&&(cancelAnimationFrame(je),je=null),ye&&(ye(),ye=null)}return function(_t){return function(Nt){if((Nt.type==="FLUSH"||Nt.type==="DROP_COMPLETE"||Nt.type==="DROP_ANIMATION_FINISHED")&&nt(),_t(Nt),Nt.type!=="DROP_ANIMATE")return;var Mt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ir=ee.getState();Ir.phase==="DROP_ANIMATING"&&ee.dispatch(Qn())}};je=requestAnimationFrame(function(){je=null,ye=ce(window,[Mt])})}}},Fa=function(ee){return function(){return function(ye){return function(je){(je.type==="DROP_COMPLETE"||je.type==="FLUSH"||je.type==="DROP_ANIMATE")&&ee.stopPublishing(),ye(je)}}}},ta=function(ee){var ye=!1;return function(){return function(je){return function(nt){if(nt.type==="INITIAL_PUBLISH"){ye=!0,ee.tryRecordFocus(nt.payload.critical.draggable.id),je(nt),ee.tryRestoreFocusRecorded();return}if(je(nt),!ye)return;if(nt.type==="FLUSH"){ye=!1,ee.tryRestoreFocusRecorded();return}if(nt.type==="DROP_COMPLETE"){ye=!1;var _t=nt.payload.completed.result;_t.combine&&ee.tryShiftRecord(_t.draggableId,_t.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}},Yi=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},ka=function(ee){return function(ye){return function(je){return function(nt){if(Yi(nt)){ee.stop(),je(nt);return}if(nt.type==="INITIAL_PUBLISH"){je(nt);var _t=ye.getState();_t.phase==="DRAGGING"||fe(!1),ee.start(_t);return}je(nt),ee.scroll(ye.getState())}}}},ba=function(ee){return function(ye){return function(je){if(ye(je),je.type!=="PUBLISH_WHILE_DRAGGING")return;var nt=ee.getState();if(nt.phase!=="DROP_PENDING")return;if(nt.isWaiting)return;ee.dispatch(Tn({reason:nt.reason}))}}},Ei=v.d,ca=function(ee){var ye=ee.dimensionMarshal,je=ee.focusMarshal,nt=ee.styleMarshal,_t=ee.getResponders,Nt=ee.announce,Mt=ee.autoScroller;return Object(v.e)(ia,Ei(Object(v.a)(Ri(nt),Fa(ye),gi(ye),kr,ea,_a,ba,ka(Mt),Gn,ta(je),na(_t,Nt))))},Ha=function(){return{additions:{},removals:{},modified:{}}};function Pa(Ie){var ee=Ie.registry,ye=Ie.callbacks,je=Ha(),nt=null,_t=function(){if(nt)return;ye.collectionStarting(),nt=requestAnimationFrame(function(){nt=null,mi();var gr=je,dr=gr.additions,Cr=gr.removals,Mr=gr.modified,on=Object.keys(dr).map(function(Oi){return ee.draggable.getById(Oi).getDimension(Te)}).sort(function(Oi,ui){return Oi.descriptor.index-ui.descriptor.index}),zn=Object.keys(Mr).map(function(Oi){var ui=ee.droppable.getById(Oi),va=ui.callbacks.getScrollWhileDragging();return{droppableId:Oi,scroll:va}}),ri={additions:on,removals:Object.keys(Cr),modified:zn};je=Ha(),Hi(),ye.publish(ri)})},Nt=function(gr){var dr=gr.descriptor.id;je.additions[dr]=gr,je.modified[gr.descriptor.droppableId]=!0,je.removals[dr]&&delete je.removals[dr],_t()},Mt=function(gr){var dr=gr.descriptor;je.removals[dr.id]=!0,je.modified[dr.droppableId]=!0,je.additions[dr.id]&&delete je.additions[dr.id],_t()},vr=function(){if(!nt)return;cancelAnimationFrame(nt),nt=null,je=Ha()};return{add:Nt,remove:Mt,stop:vr}}var ya=function(ee){var ye=ee.scrollHeight,je=ee.scrollWidth,nt=ee.height,_t=ee.width,Nt=ie({x:je,y:ye},{x:_t,y:nt}),Mt={x:Math.max(0,Nt.x),y:Math.max(0,Nt.y)};return Mt},Ea=function(){var ee=document.documentElement;return ee||fe(!1),ee},Ga=function(){var ee=Ea(),ye=ya({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ye},Ta=function(){var ee=dn(),ye=Ga(),je=ee.y,nt=ee.x,_t=Ea(),Nt=_t.clientWidth,Mt=_t.clientHeight,vr=nt+Nt,Ir=je+Mt,gr=r({top:je,left:nt,right:vr,bottom:Ir}),dr={frame:gr,scroll:{initial:ee,current:ee,max:ye,diff:{value:Te,displacement:Te}}};return dr},Va=function(ee){var ye=ee.critical,je=ee.scrollOptions,nt=ee.registry;mi();var _t=Ta(),Nt=_t.scroll.current,Mt=ye.droppable,vr=nt.droppable.getAllByType(Mt.type).map(function(Cr){return Cr.callbacks.getDimensionAndWatchScroll(Nt,je)}),Ir=nt.draggable.getAllByType(ye.draggable.type).map(function(Cr){return Cr.getDimension(Nt)}),gr={draggables:lt(Ir),droppables:nr(vr)};Hi();var dr={dimensions:gr,critical:ye,viewport:_t};return dr};function uo(Ie,ee,ye){if(ye.descriptor.id===ee.id)return!1;if(ye.descriptor.type!==ee.type)return!1;var je=Ie.droppable.getById(ye.descriptor.droppableId);return!(je.descriptor.mode!=="virtual")}var aa=function(ee,ye){var je=null,nt=Pa({callbacks:{publish:ye.publishWhileDragging,collectionStarting:ye.collectionStarting},registry:ee}),_t=function(on,zn){if(ee.droppable.exists(on)||fe(!1),!je)return;ye.updateDroppableIsEnabled({id:on,isEnabled:zn})},Nt=function(on,zn){if(!je)return;ee.droppable.exists(on)||fe(!1),ye.updateDroppableIsCombineEnabled({id:on,isCombineEnabled:zn})},Mt=function(on,zn){if(!je)return;ee.droppable.exists(on)||fe(!1),ye.updateDroppableScroll({id:on,newScroll:zn})},vr=function(on,zn){if(!je)return;ee.droppable.getById(on).callbacks.scroll(zn)},Ir=function(){if(!je)return;nt.stop();var on=je.critical.droppable;ee.droppable.getAllByType(on.type).forEach(function(zn){return zn.callbacks.dragStopped()}),je.unsubscribe(),je=null},gr=function(on){je||fe(!1);var zn=je.critical.draggable;on.type==="ADDITION"&&(uo(ee,zn,on.value)&&nt.add(on.value)),on.type==="REMOVAL"&&(uo(ee,zn,on.value)&&nt.remove(on.value))},dr=function(on){je&&fe(!1);var zn=ee.draggable.getById(on.draggableId),ri=ee.droppable.getById(zn.descriptor.droppableId),Oi={draggable:zn.descriptor,droppable:ri.descriptor},ui=ee.subscribe(gr);return je={critical:Oi,unsubscribe:ui},Va({critical:Oi,registry:ee,scrollOptions:on.scrollOptions})},Cr={updateDroppableIsEnabled:_t,updateDroppableIsCombineEnabled:Nt,scrollDroppable:vr,updateDroppableScroll:Mt,startPublishing:dr,stopPublishing:Ir};return Cr},po=function(ee,ye){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ye?!1:ee.completed.result.reason==="DROP"},Ua=function(ee){window.scrollBy(ee.x,ee.y)},Da=L(function(Ie){return Xt(Ie).filter(function(ee){return ee.isEnabled?!!ee.frame:!1})}),$a=function(ee,ye){var je=he(Da(ye),function(nt){return nt.frame||fe(!1),Yn(nt.frame.pageMarginBox)(ee)});return je},Ma=function(ee){var ye=ee.center,je=ee.destination,nt=ee.droppables;if(je){var _t=nt[je];return _t.frame?_t:null}var Nt=$a(ye,nt);return Nt},Ka={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},yo=function(ee,ye){var je=ee[ye.size]*Ka.startFromPercentage,nt=ee[ye.size]*Ka.maxScrollAtPercentage,_t={startScrollingFrom:je,maxScrollValueAt:nt};return _t},io=function(ee){var ye=ee.startOfRange,je=ee.endOfRange,nt=ee.current,_t=je-ye;if(_t===0)return 0;var Nt=nt-ye,Mt=Nt/_t;return Mt},xo=1,mo=function(ee,ye){if(ee>ye.startScrollingFrom)return 0;if(ee<=ye.maxScrollValueAt)return Ka.maxPixelScroll;if(ee===ye.startScrollingFrom)return xo;var je=io({startOfRange:ye.maxScrollValueAt,endOfRange:ye.startScrollingFrom,current:ee}),nt=1-je,_t=Ka.maxPixelScroll*Ka.ease(nt);return Math.ceil(_t)},go=Ka.durationDampening.accelerateAt,Ya=Ka.durationDampening.stopDampeningAt,qa=function(ee,ye){var je=ye,nt=Ya,_t=Date.now(),Nt=_t-je;if(Nt>=Ya)return ee;if(Nt<go)return xo;var Mt=io({startOfRange:go,endOfRange:nt,current:Nt}),vr=ee*Ka.ease(Mt);return Math.ceil(vr)},La=function(ee){var ye=ee.distanceToEdge,je=ee.thresholds,nt=ee.dragStartTime,_t=ee.shouldUseTimeDampening,Nt=mo(ye,je);return Nt===0?0:_t?Math.max(qa(Nt,nt),xo):Nt},oo=function(ee){var ye=ee.container,je=ee.distanceToEdges,nt=ee.dragStartTime,_t=ee.axis,Nt=ee.shouldUseTimeDampening,Mt=yo(ye,_t),vr=je[_t.end]<je[_t.start];return vr?La({distanceToEdge:je[_t.end],thresholds:Mt,dragStartTime:nt,shouldUseTimeDampening:Nt}):-1*La({distanceToEdge:je[_t.start],thresholds:Mt,dragStartTime:nt,shouldUseTimeDampening:Nt})},vo=function(ee){var ye=ee.container,je=ee.subject,nt=ee.proposedScroll,_t=je.height>ye.height,Nt=je.width>ye.width;return!Nt&&!_t?nt:Nt&&_t?null:{x:Nt?0:nt.x,y:_t?0:nt.y}},Fi=Oe(function(Ie){return Ie===0?0:Ie}),ma=function(ee){var ye=ee.dragStartTime,je=ee.container,nt=ee.subject,_t=ee.center,Nt=ee.shouldUseTimeDampening,Mt={top:_t.y-je.top,right:je.right-_t.x,bottom:je.bottom-_t.y,left:_t.x-je.left},vr=oo({container:je,distanceToEdges:Mt,dragStartTime:ye,axis:mn,shouldUseTimeDampening:Nt}),Ir=oo({container:je,distanceToEdges:Mt,dragStartTime:ye,axis:Tt,shouldUseTimeDampening:Nt}),gr=Fi({x:Ir,y:vr});if(de(gr,Te))return null;var dr=vo({container:je,subject:nt,proposedScroll:gr});return dr?de(dr,Te)?null:dr:null},Mo=Oe(function(Ie){return Ie===0?0:Ie>0?1:-1}),zo=function(){var Ie=function(ye,je){return ye<0?ye:ye>je?ye-je:0};return function(ee){var ye=ee.current,je=ee.max,nt=ee.change,_t=Se(ye,nt),Nt={x:Ie(_t.x,je.x),y:Ie(_t.y,je.y)};return de(Nt,Te)?null:Nt}}(),Qo=function(ee){var ye=ee.max,je=ee.current,nt=ee.change,_t={x:Math.max(je.x,ye.x),y:Math.max(je.y,ye.y)},Nt=Mo(nt),Mt=zo({max:_t,current:je,change:Nt});return Mt?Nt.x!==0&&Mt.x===0?!0:Nt.y!==0&&Mt.y===0:!0},Jo=function(ee,ye){return Qo({current:ee.scroll.current,max:ee.scroll.max,change:ye})},bo=function(ee,ye){if(!Jo(ee,ye))return null;var je=ee.scroll.max,nt=ee.scroll.current;return zo({current:nt,max:je,change:ye})},Ra=function(ee,ye){var je=ee.frame;return je?Qo({current:je.scroll.current,max:je.scroll.max,change:ye}):!1},jo=function(ee,ye){var je=ee.frame;return je&&Ra(ee,ye)?zo({current:je.scroll.current,max:je.scroll.max,change:ye}):null},hs=function(ee){var ye=ee.viewport,je=ee.subject,nt=ee.center,_t=ee.dragStartTime,Nt=ee.shouldUseTimeDampening,Mt=ma({dragStartTime:_t,container:ye.frame,subject:je,center:nt,shouldUseTimeDampening:Nt});return Mt&&Jo(ye,Mt)?Mt:null},Ao=function(ee){var ye=ee.droppable,je=ee.subject,nt=ee.center,_t=ee.dragStartTime,Nt=ee.shouldUseTimeDampening,Mt=ye.frame;if(!Mt)return null;var vr=ma({dragStartTime:_t,container:Mt.pageMarginBox,subject:je,center:nt,shouldUseTimeDampening:Nt});return vr&&Ra(ye,vr)?vr:null},Io=function(ee){var ye=ee.state,je=ee.dragStartTime,nt=ee.shouldUseTimeDampening,_t=ee.scrollWindow,Nt=ee.scrollDroppable,Mt=ye.current.page.borderBoxCenter,vr=ye.dimensions.draggables[ye.critical.draggable.id],Ir=vr.page.marginBox;if(ye.isWindowScrollAllowed){var gr=ye.viewport,dr=hs({dragStartTime:je,viewport:gr,subject:Ir,center:Mt,shouldUseTimeDampening:nt});if(dr){_t(dr);return}}var Cr=Ma({center:Mt,destination:xn(ye.impact),droppables:ye.dimensions.droppables});if(!Cr)return;var Mr=Ao({dragStartTime:je,droppable:Cr,subject:Ir,center:Mt,shouldUseTimeDampening:nt});Mr&&Nt(Cr.descriptor.id,Mr)},Xa=function(ee){var ye=ee.scrollWindow,je=ee.scrollDroppable,nt=k(ye),_t=k(je),Nt=null,Mt=function(dr){Nt||fe(!1);var Cr=Nt,Mr=Cr.shouldUseTimeDampening,on=Cr.dragStartTime;Io({state:dr,scrollWindow:nt,scrollDroppable:_t,dragStartTime:on,shouldUseTimeDampening:Mr})},vr=function(dr){mi(),Nt&&fe(!1);var Cr=Date.now(),Mr=!1,on=function(){Mr=!0};Io({state:dr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:on,scrollDroppable:on}),Nt={dragStartTime:Cr,shouldUseTimeDampening:Mr},Hi(),Mr&&Mt(dr)},Ir=function(){if(!Nt)return;nt.cancel(),_t.cancel(),Nt=null};return{start:vr,stop:Ir,scroll:Mt}},Yo=function(ee){var ye=ee.move,je=ee.scrollDroppable,nt=ee.scrollWindow,_t=function(gr,dr){var Cr=Se(gr.current.client.selection,dr);ye({client:Cr})},Nt=function(gr,dr){if(!Ra(gr,dr))return dr;var Cr=jo(gr,dr);if(!Cr)return je(gr.descriptor.id,dr),null;var Mr=ie(dr,Cr);je(gr.descriptor.id,Mr);var on=ie(dr,Mr);return on},Mt=function(gr,dr,Cr){if(!gr)return Cr;if(!Jo(dr,Cr))return Cr;var Mr=bo(dr,Cr);if(!Mr)return nt(Cr),null;var on=ie(Cr,Mr);nt(on);var zn=ie(Cr,on);return zn},vr=function(gr){var dr=gr.scrollJumpRequest;if(!dr)return;var Cr=xn(gr.impact);Cr||fe(!1);var Mr=Nt(gr.dimensions.droppables[Cr],dr);if(!Mr)return;var on=gr.viewport,zn=Mt(gr.isWindowScrollAllowed,on,Mr);if(!zn)return;_t(gr,zn)};return vr},pl=function(ee){var ye=ee.scrollDroppable,je=ee.scrollWindow,nt=ee.move,_t=Xa({scrollWindow:je,scrollDroppable:ye}),Nt=Yo({move:nt,scrollWindow:je,scrollDroppable:ye}),Mt=function(gr){if(gr.phase!=="DRAGGING")return;if(gr.movementMode==="FLUID"){_t.scroll(gr);return}if(!gr.scrollJumpRequest)return;Nt(gr)},vr={scroll:Mt,start:_t.start,stop:_t.stop};return vr},Ls="data-rbd",os=function(){var Ie=Ls+"-drag-handle";return{base:Ie,draggableId:Ie+"-draggable-id",contextId:Ie+"-context-id"}}(),_s=function(){var Ie=Ls+"-draggable";return{base:Ie,contextId:Ie+"-context-id",id:Ie+"-id"}}(),Ns=function(){var Ie=Ls+"-droppable";return{base:Ie,contextId:Ie+"-context-id",id:Ie+"-id"}}(),is={contextId:Ls+"-scroll-container-context-id"},Wo=function(ee){return function(ye){return"["+ye+'="'+ee+'"]'}},Co=function(ee,ye){return ee.map(function(je){var nt=je.styles[ye];return nt?je.selector+" { "+nt+" }":""}).join(" ")},ts="pointer-events: none;",No=function(ee){var ye=Wo(ee),je=function(){var vr=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ye(os.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:vr,dragging:ts,dropAnimating:vr}}}(),nt=function(){var vr=`
transition: `+Pn.outOfTheWay+`;
`;return{selector:ye(_s.contextId),styles:{dragging:vr,dropAnimating:vr,userCancel:vr}}}(),_t={selector:ye(Ns.contextId),styles:{always:"overflow-anchor: none;"}},Nt={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;
`}},Mt=[nt,je,_t,Nt];return{always:Co(Mt,"always"),resting:Co(Mt,"resting"),dragging:Co(Mt,"dragging"),dropAnimating:Co(Mt,"dropAnimating"),userCancel:Co(Mt,"userCancel")}},Ho=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,zr=function(){var ee=document.querySelector("head");return ee||fe(!1),ee},Si=function(ee){var ye=document.createElement("style");return ee&&ye.setAttribute("nonce",ee),ye.type="text/css",ye};function Ps(Ie,ee){var ye=t(function(){return No(Ie)},[Ie]),je=Object(y.useRef)(null),nt=Object(y.useRef)(null),_t=a(L(function(dr){var Cr=nt.current;Cr||fe(!1),Cr.textContent=dr}),[]),Nt=a(function(dr){var Cr=je.current;Cr||fe(!1),Cr.textContent=dr},[]);Ho(function(){!je.current&&!nt.current||fe(!1);var dr=Si(ee),Cr=Si(ee);return je.current=dr,nt.current=Cr,dr.setAttribute(Ls+"-always",Ie),Cr.setAttribute(Ls+"-dynamic",Ie),zr().appendChild(dr),zr().appendChild(Cr),Nt(ye.always),_t(ye.resting),function(){var Mr=function(zn){var ri=zn.current;ri||fe(!1),zr().removeChild(ri),zn.current=null};Mr(je),Mr(nt)}},[ee,Nt,_t,ye.always,ye.resting,Ie]);var Mt=a(function(){return _t(ye.dragging)},[_t,ye.dragging]),vr=a(function(dr){if(dr==="DROP"){_t(ye.dropAnimating);return}_t(ye.userCancel)},[_t,ye.dropAnimating,ye.userCancel]),Ir=a(function(){if(!nt.current)return;_t(ye.resting)},[_t,ye.resting]),gr=t(function(){return{dragging:Mt,dropping:vr,resting:Ir}},[Mt,vr,Ir]);return gr}var Vs=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Ms(Ie){return Ie instanceof Vs(Ie).HTMLElement}function so(Ie,ee){var ye="["+os.contextId+'="'+Ie+'"]',je=kt(document.querySelectorAll(ye));if(!je.length)return null;var nt=he(je,function(_t){return _t.getAttribute(os.draggableId)===ee});return nt&&Ms(nt)?nt:null}function wo(Ie){var ee=Object(y.useRef)({}),ye=Object(y.useRef)(null),je=Object(y.useRef)(null),nt=Object(y.useRef)(!1),_t=a(function(Cr,Mr){var on={id:Cr,focus:Mr};return ee.current[Cr]=on,function(){var ri=ee.current,Oi=ri[Cr];Oi!==on&&delete ri[Cr]}},[]),Nt=a(function(Cr){var Mr=so(Ie,Cr);Mr&&Mr!==document.activeElement&&Mr.focus()},[Ie]),Mt=a(function(Cr,Mr){ye.current===Cr&&(ye.current=Mr)},[]),vr=a(function(){if(je.current)return;if(!nt.current)return;je.current=requestAnimationFrame(function(){je.current=null;var Cr=ye.current;Cr&&Nt(Cr)})},[Nt]),Ir=a(function(Cr){ye.current=null;var Mr=document.activeElement;if(!Mr)return;if(Mr.getAttribute(os.draggableId)!==Cr)return;ye.current=Cr},[]);Ho(function(){return nt.current=!0,function(){nt.current=!1;var Cr=je.current;Cr&&cancelAnimationFrame(Cr)}},[]);var gr=t(function(){return{register:_t,tryRecordFocus:Ir,tryRestoreFocusRecorded:vr,tryShiftRecord:Mt}},[_t,Ir,vr,Mt]);return gr}function Vo(){var Ie={draggables:{},droppables:{}},ee=[];function ye(dr){return ee.push(dr),function(){var Mr=ee.indexOf(dr);if(Mr===-1)return;ee.splice(Mr,1)}}function je(dr){ee.length&&ee.forEach(function(Cr){return Cr(dr)})}function nt(dr){return Ie.draggables[dr]||null}function _t(dr){var Cr=nt(dr);return Cr||fe(!1),Cr}var Nt={register:function(Cr){Ie.draggables[Cr.descriptor.id]=Cr,je({type:"ADDITION",value:Cr})},update:function(Cr,Mr){var on=Ie.draggables[Mr.descriptor.id];if(!on)return;if(on.uniqueId!==Cr.uniqueId)return;delete Ie.draggables[Mr.descriptor.id],Ie.draggables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Mr=Cr.descriptor.id,on=nt(Mr);if(!on)return;if(Cr.uniqueId!==on.uniqueId)return;delete Ie.draggables[Mr],je({type:"REMOVAL",value:Cr})},getById:_t,findById:nt,exists:function(Cr){return Boolean(nt(Cr))},getAllByType:function(Cr){return wt(Ie.draggables).filter(function(Mr){return Mr.descriptor.type===Cr})}};function Mt(dr){return Ie.droppables[dr]||null}function vr(dr){var Cr=Mt(dr);return Cr||fe(!1),Cr}var Ir={register:function(Cr){Ie.droppables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Mr=Mt(Cr.descriptor.id);if(!Mr)return;if(Cr.uniqueId!==Mr.uniqueId)return;delete Ie.droppables[Cr.descriptor.id]},getById:vr,findById:Mt,exists:function(Cr){return Boolean(Mt(Cr))},getAllByType:function(Cr){return wt(Ie.droppables).filter(function(Mr){return Mr.descriptor.type===Cr})}};function gr(){Ie.draggables={},Ie.droppables={},ee.length=0}return{draggable:Nt,droppable:Ir,subscribe:ye,clean:gr}}function Zo(){var Ie=t(Vo,[]);return Object(y.useEffect)(function(){return function(){requestAnimationFrame(Ie.clean)}},[Ie]),Ie}var As=m.a.createContext(null),ws=function(){var ee=document.body;return ee||fe(!1),ee},Ss={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Qs=function(ee){return"rbd-announcement-"+ee};function Hs(Ie){var ee=t(function(){return Qs(Ie)},[Ie]),ye=Object(y.useRef)(null);Object(y.useEffect)(function(){var _t=document.createElement("div");return ye.current=_t,_t.id=ee,_t.setAttribute("aria-live","assertive"),_t.setAttribute("aria-atomic","true"),Object(p.a)(_t.style,Ss),ws().appendChild(_t),function(){setTimeout(function(){var vr=ws();vr.contains(_t)&&vr.removeChild(_t),_t===ye.current&&(ye.current=null)})}},[ee]);var je=a(function(nt){var _t=ye.current;if(_t){_t.textContent=nt;return}},[]);return je}var Ys=0,Ds={separator:"::"};function rs(){Ys=0}function xt(Ie,ee){return ee===void 0&&(ee=Ds),t(function(){return""+Ie+ee.separator+Ys++},[ee.separator,Ie])}function Ot(Ie){var ee=Ie.contextId,ye=Ie.uniqueId;return"rbd-hidden-text-"+ee+"-"+ye}function nn(Ie){var ee=Ie.contextId,ye=Ie.text,je=xt("hidden-text",{separator:"-"}),nt=t(function(){return Ot({contextId:ee,uniqueId:je})},[je,ee]);return Object(y.useEffect)(function(){var Nt=document.createElement("div");return Nt.id=nt,Nt.textContent=ye,Nt.style.display="none",ws().appendChild(Nt),function(){var vr=ws();vr.contains(Nt)&&vr.removeChild(Nt)}},[nt,ye]),nt}var On=m.a.createContext(null),$n={react:"^16.8.5","react-dom":"^16.8.5"},ft=/(\d+)\.(\d+)\.(\d+)/,oe=function(ee){var ye=ft.exec(ee);ye!=null||fe(!1);var je=Number(ye[1]),nt=Number(ye[2]),_t=Number(ye[3]);return{major:je,minor:nt,patch:_t,raw:ee}},Ae=function(ee,ye){return ye.major>ee.major?!0:ye.major<ee.major?!1:ye.minor>ee.minor?!0:ye.minor<ee.minor?!1:ye.patch>=ee.patch},we=function(ee,ye){var je=oe(ee),nt=oe(ye);if(Ae(je,nt))return},Be=`
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
`,st=function(ee){var ye=ee.doctype;if(!ye)return;ye.name.toLowerCase()!=="html",ye.publicId!==""};function Bt(Ie){}function wr(Ie,ee){Bt(function(){Object(y.useEffect)(function(){try{Ie()}catch(ye){J(`
A setup problem was encountered.
> `+ye.message+`
`)}},ee)})}function Tr(){wr(function(){we($n.react,m.a.version),st(document)},[])}function tn(Ie){var ee=Object(y.useRef)(Ie);return Object(y.useEffect)(function(){ee.current=Ie}),ee}function _n(){var Ie=null;function ee(){return Boolean(Ie)}function ye(Nt){return Nt===Ie}function je(Nt){Ie&&fe(!1);var Mt={abandon:Nt};return Ie=Mt,Mt}function nt(){Ie||fe(!1),Ie=null}function _t(){Ie&&(Ie.abandon(),nt())}return{isClaimed:ee,isActive:ye,claim:je,release:nt,tryAbandon:_t}}var jn=9,fi=13,Ii=27,Vi=32,sa=33,wa=34,Za=35,to=36,lo=37,_o=38,ao=39,Do=40,Ja,Eo=(Ja={},Ja[fi]=!0,Ja[jn]=!0,Ja),fs=function(ee){Eo[ee.keyCode]&&ee.preventDefault()},Oo=function(){var Ie="visibilitychange";if(typeof document=="undefined")return Ie;var ee=[Ie,"ms"+Ie,"webkit"+Ie,"moz"+Ie,"o"+Ie],ye=he(ee,function(je){return"on"+je in document});return ye||Ie}(),Lo=0,vs=5;function Fs(Ie,ee){return Math.abs(ee.x-Ie.x)>=vs||Math.abs(ee.y-Ie.y)>=vs}var ss={type:"IDLE"};function Fo(Ie){var ee=Ie.cancel,ye=Ie.completed,je=Ie.getPhase,nt=Ie.setPhase;return[{eventName:"mousemove",fn:function(Nt){var Mt=Nt.button,vr=Nt.clientX,Ir=Nt.clientY;if(Mt!==Lo)return;var gr={x:vr,y:Ir},dr=je();if(dr.type==="DRAGGING"){Nt.preventDefault(),dr.actions.move(gr);return}dr.type==="PENDING"||fe(!1);var Cr=dr.point;if(!Fs(Cr,gr))return;Nt.preventDefault();var Mr=dr.actions.fluidLift(gr);nt({type:"DRAGGING",actions:Mr})}},{eventName:"mouseup",fn:function(Nt){var Mt=je();if(Mt.type!=="DRAGGING"){ee();return}Nt.preventDefault(),Mt.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"mousedown",fn:function(Nt){je().type==="DRAGGING"&&Nt.preventDefault(),ee()}},{eventName:"keydown",fn:function(Nt){var Mt=je();if(Mt.type==="PENDING"){ee();return}if(Nt.keyCode===Ii){Nt.preventDefault(),ee();return}fs(Nt)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){je().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(Nt){var Mt=je();if(Mt.type!=="IDLE"||fe(!1),Mt.actions.shouldRespectForcePress()){ee();return}Nt.preventDefault()}},{eventName:Oo,fn:ee}]}function Zs(Ie){var ee=Object(y.useRef)(ss),ye=Object(y.useRef)(ve),je=t(function(){return{eventName:"mousedown",fn:function(dr){if(dr.defaultPrevented)return;if(dr.button!==Lo)return;if(dr.ctrlKey||dr.metaKey||dr.shiftKey||dr.altKey)return;var Cr=Ie.findClosestDraggableId(dr);if(!Cr)return;var Mr=Ie.tryGetLock(Cr,Nt,{sourceEvent:dr});if(!Mr)return;dr.preventDefault();var on={x:dr.clientX,y:dr.clientY};ye.current(),Ir(Mr,on)}}},[Ie]),nt=t(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(dr){if(dr.defaultPrevented)return;var Cr=Ie.findClosestDraggableId(dr);if(!Cr)return;var Mr=Ie.findOptionsForDraggable(Cr);if(!Mr)return;if(Mr.shouldRespectForcePress)return;if(!Ie.canGetLock(Cr))return;dr.preventDefault()}}},[Ie]),_t=a(function(){var dr={passive:!1,capture:!0};ye.current=ce(window,[nt,je],dr)},[nt,je]),Nt=a(function(){var gr=ee.current;if(gr.type==="IDLE")return;ee.current=ss,ye.current(),_t()},[_t]),Mt=a(function(){var gr=ee.current;Nt(),gr.type==="DRAGGING"&&gr.actions.cancel({shouldBlockNextClick:!0}),gr.type==="PENDING"&&gr.actions.abort()},[Nt]),vr=a(function(){var dr={capture:!0,passive:!1},Cr=Fo({cancel:Mt,completed:Nt,getPhase:function(){return ee.current},setPhase:function(on){ee.current=on}});ye.current=ce(window,Cr,dr)},[Mt,Nt]),Ir=a(function(dr,Cr){ee.current.type==="IDLE"||fe(!1),ee.current={type:"PENDING",point:Cr,actions:dr},vr()},[vr]);Ho(function(){return _t(),function(){ye.current()}},[_t])}var xs;function ll(){}var Js=(xs={},xs[wa]=!0,xs[sa]=!0,xs[to]=!0,xs[Za]=!0,xs);function ps(Ie,ee){function ye(){ee(),Ie.cancel()}function je(){ee(),Ie.drop()}return[{eventName:"keydown",fn:function(_t){if(_t.keyCode===Ii){_t.preventDefault(),ye();return}if(_t.keyCode===Vi){_t.preventDefault(),je();return}if(_t.keyCode===Do){_t.preventDefault(),Ie.moveDown();return}if(_t.keyCode===_o){_t.preventDefault(),Ie.moveUp();return}if(_t.keyCode===ao){_t.preventDefault(),Ie.moveRight();return}if(_t.keyCode===lo){_t.preventDefault(),Ie.moveLeft();return}if(Js[_t.keyCode]){_t.preventDefault();return}fs(_t)}},{eventName:"mousedown",fn:ye},{eventName:"mouseup",fn:ye},{eventName:"click",fn:ye},{eventName:"touchstart",fn:ye},{eventName:"resize",fn:ye},{eventName:"wheel",fn:ye,options:{passive:!0}},{eventName:Oo,fn:ye}]}function Xo(Ie){var ee=Object(y.useRef)(ll),ye=t(function(){return{eventName:"keydown",fn:function(_t){if(_t.defaultPrevented)return;if(_t.keyCode!==Vi)return;var Nt=Ie.findClosestDraggableId(_t);if(!Nt)return;var Mt=Ie.tryGetLock(Nt,gr,{sourceEvent:_t});if(!Mt)return;_t.preventDefault();var vr=!0,Ir=Mt.snapLift();ee.current();function gr(){vr||fe(!1),vr=!1,ee.current(),je()}ee.current=ce(window,ps(Ir,gr),{capture:!0,passive:!1})}}},[Ie]),je=a(function(){var _t={passive:!1,capture:!0};ee.current=ce(window,[ye],_t)},[ye]);Ho(function(){return je(),function(){ee.current()}},[je])}var oa={type:"IDLE"},Xs=120,rl=.15;function Bs(Ie){var ee=Ie.cancel,ye=Ie.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(nt){nt.preventDefault()}},{eventName:"keydown",fn:function(nt){if(ye().type!=="DRAGGING"){ee();return}nt.keyCode===Ii&&nt.preventDefault(),ee()}},{eventName:Oo,fn:ee}]}function Es(Ie){var ee=Ie.cancel,ye=Ie.completed,je=Ie.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(_t){var Nt=je();if(Nt.type!=="DRAGGING"){ee();return}Nt.hasMoved=!0;var Mt=_t.touches[0],vr=Mt.clientX,Ir=Mt.clientY,gr={x:vr,y:Ir};_t.preventDefault(),Nt.actions.move(gr)}},{eventName:"touchend",fn:function(_t){var Nt=je();if(Nt.type!=="DRAGGING"){ee();return}_t.preventDefault(),Nt.actions.drop({shouldBlockNextClick:!0}),ye()}},{eventName:"touchcancel",fn:function(_t){if(je().type!=="DRAGGING"){ee();return}_t.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(_t){var Nt=je();Nt.type!=="IDLE"||fe(!1);var Mt=_t.touches[0];if(!Mt)return;var vr=Mt.force>=rl;if(!vr)return;var Ir=Nt.actions.shouldRespectForcePress();if(Nt.type==="PENDING"){Ir&&ee();return}if(Ir){if(Nt.hasMoved){_t.preventDefault();return}ee();return}_t.preventDefault()}},{eventName:Oo,fn:ee}]}function cl(Ie){var ee=Object(y.useRef)(oa),ye=Object(y.useRef)(ve),je=a(function(){return ee.current},[]),nt=a(function(Mr){ee.current=Mr},[]),_t=t(function(){return{eventName:"touchstart",fn:function(Mr){if(Mr.defaultPrevented)return;var on=Ie.findClosestDraggableId(Mr);if(!on)return;var zn=Ie.tryGetLock(on,Mt,{sourceEvent:Mr});if(!zn)return;var ri=Mr.touches[0],Oi=ri.clientX,ui=ri.clientY,va={x:Oi,y:ui};ye.current(),dr(zn,va)}}},[Ie]),Nt=a(function(){var Mr={capture:!0,passive:!1};ye.current=ce(window,[_t],Mr)},[_t]),Mt=a(function(){var Cr=ee.current;if(Cr.type==="IDLE")return;Cr.type==="PENDING"&&clearTimeout(Cr.longPressTimerId),nt(oa),ye.current(),Nt()},[Nt,nt]),vr=a(function(){var Cr=ee.current;Mt(),Cr.type==="DRAGGING"&&Cr.actions.cancel({shouldBlockNextClick:!0}),Cr.type==="PENDING"&&Cr.actions.abort()},[Mt]),Ir=a(function(){var Mr={capture:!0,passive:!1},on={cancel:vr,completed:Mt,getPhase:je},zn=ce(window,Es(on),Mr),ri=ce(window,Bs(on),Mr);ye.current=function(){zn(),ri()}},[vr,je,Mt]),gr=a(function(){var Mr=je();Mr.type==="PENDING"||fe(!1);var on=Mr.actions.fluidLift(Mr.point);nt({type:"DRAGGING",actions:on,hasMoved:!1})},[je,nt]),dr=a(function(Mr,on){je().type==="IDLE"||fe(!1);var zn=setTimeout(gr,Xs);nt({type:"PENDING",point:on,actions:Mr,longPressTimerId:zn}),Ir()},[Ir,je,nt,gr]);Ho(function(){return Nt(),function(){ye.current();var on=je();on.type==="PENDING"&&(clearTimeout(on.longPressTimerId),nt(oa))}},[je,Nt,nt]),Ho(function(){var Mr=ce(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Mr},[])}function Gs(Ie){Bt(function(){var ee=tn(Ie);wr(function(){ee.current.length===Ie.length||fe(!1)})})}var Rs={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ks(Ie,ee){if(ee==null)return!1;var ye=Boolean(Rs[ee.tagName.toLowerCase()]);if(ye)return!0;var je=ee.getAttribute("contenteditable");return je==="true"||je===""?!0:ee===Ie?!1:Ks(Ie,ee.parentElement)}function zs(Ie,ee){var ye=ee.target;return Ms(ye)?Ks(Ie,ye):!1}var eo=function(ee){return r(ee.getBoundingClientRect()).center};function ga(Ie){return Ie instanceof Vs(Ie).Element}var Ba=function(){var Ie="matches";if(typeof document=="undefined")return Ie;var ee=[Ie,"msMatchesSelector","webkitMatchesSelector"],ye=he(ee,function(je){return je in Element.prototype});return ye||Ie}();function ho(Ie,ee){return Ie==null?null:Ie[Ba](ee)?Ie:ho(Ie.parentElement,ee)}function Bo(Ie,ee){return Ie.closest?Ie.closest(ee):ho(Ie,ee)}function Ts(Ie){return"["+os.contextId+'="'+Ie+'"]'}function Ko(Ie,ee){var ye=ee.target;if(!ga(ye))return null;var je=Ts(Ie),nt=Bo(ye,je);return nt&&Ms(nt)?nt:null}function To(Ie,ee){var ye=Ko(Ie,ee);return ye?ye.getAttribute(os.draggableId):null}function qo(Ie,ee){var ye="["+_s.contextId+'="'+Ie+'"]',je=kt(document.querySelectorAll(ye)),nt=he(je,function(_t){return _t.getAttribute(_s.id)===ee});return nt&&Ms(nt)?nt:null}function Ro(Ie){Ie.preventDefault()}function cs(Ie){var ee=Ie.expected,ye=Ie.phase,je=Ie.isLockActive,nt=Ie.shouldWarn;return je()?!(ee!==ye):!1}function ys(Ie){var ee=Ie.lockAPI,ye=Ie.store,je=Ie.registry,nt=Ie.draggableId;if(ee.isClaimed())return!1;var _t=je.draggable.findById(nt);return _t&&_t.options.isEnabled?!!po(ye.getState(),nt):!1}function yl(Ie){var ee=Ie.lockAPI,ye=Ie.contextId,je=Ie.store,nt=Ie.registry,_t=Ie.draggableId,Nt=Ie.forceSensorStop,Mt=Ie.sourceEvent,vr=ys({lockAPI:ee,store:je,registry:nt,draggableId:_t});if(!vr)return null;var Ir=nt.draggable.getById(_t),gr=qo(ye,Ir.descriptor.id);if(!gr)return null;if(Mt&&!Ir.options.canDragInteractiveElements&&zs(gr,Mt))return null;var dr=ee.claim(Nt||ve),Cr="PRE_DRAG";function Mr(){return Ir.options.shouldRespectForcePress}function on(){return ee.isActive(dr)}function zn(Sa,Ia){cs({expected:Sa,phase:Cr,isLockActive:on,shouldWarn:!0})&&je.dispatch(Ia())}var ri=zn.bind(null,"DRAGGING");function Oi(Sa){function Ia(){ee.release(),Cr="COMPLETED"}Cr!=="PRE_DRAG"&&(Ia(),Cr==="PRE_DRAG"||fe(!1)),je.dispatch(Zr(Sa.liftActionArgs)),Cr="DRAGGING";function co(O,F){if(F===void 0&&(F={shouldBlockNextClick:!1}),Sa.cleanup(),F.shouldBlockNextClick){var $=ce(window,[{eventName:"click",fn:Ro,options:{once:!0,passive:!1,capture:!0}}]);setTimeout($)}Ia(),je.dispatch(Tn({reason:O}))}return Object(p.a)({isActive:function(){return cs({expected:"DRAGGING",phase:Cr,isLockActive:on,shouldWarn:!1})},shouldRespectForcePress:Mr,drop:function(F){return co("DROP",F)},cancel:function(F){return co("CANCEL",F)}},Sa.actions)}function ui(Sa){var Ia=k(function(O){ri(function(){return Lr({client:O})})}),co=Oi({liftActionArgs:{id:_t,clientSelection:Sa,movementMode:"FLUID"},cleanup:function(){return Ia.cancel()},actions:{move:Ia}});return Object(p.a)({},co,{move:Ia})}function va(){var Sa={moveUp:function(){return ri(an)},moveRight:function(){return ri(In)},moveDown:function(){return ri(wn)},moveLeft:function(){return ri(Rn)}};return Oi({liftActionArgs:{id:_t,clientSelection:eo(gr),movementMode:"SNAP"},cleanup:ve,actions:Sa})}function zi(){var Sa=cs({expected:"PRE_DRAG",phase:Cr,isLockActive:on,shouldWarn:!0});Sa&&ee.release()}var Na={isActive:function(){return cs({expected:"PRE_DRAG",phase:Cr,isLockActive:on,shouldWarn:!1})},shouldRespectForcePress:Mr,fluidLift:ui,snapLift:va,abort:zi};return Na}var Yl=[Zs,Xo,cl];function Zl(Ie){var ee=Ie.contextId,ye=Ie.store,je=Ie.registry,nt=Ie.customSensors,_t=Ie.enableDefaultSensors,Nt=[].concat(_t?Yl:[],nt||[]),Mt=Object(y.useState)(function(){return _n()})[0],vr=a(function(ui,va){ui.isDragging&&!va.isDragging&&Mt.tryAbandon()},[Mt]);Ho(function(){var ui=ye.getState(),va=ye.subscribe(function(){var zi=ye.getState();vr(ui,zi),ui=zi});return va},[Mt,ye,vr]),Ho(function(){return Mt.tryAbandon},[Mt.tryAbandon]);var Ir=a(function(Oi){return ys({lockAPI:Mt,registry:je,store:ye,draggableId:Oi})},[Mt,je,ye]),gr=a(function(Oi,ui,va){return yl({lockAPI:Mt,registry:je,contextId:ee,store:ye,draggableId:Oi,forceSensorStop:ui,sourceEvent:va&&va.sourceEvent?va.sourceEvent:null})},[ee,Mt,je,ye]),dr=a(function(Oi){return To(ee,Oi)},[ee]),Cr=a(function(Oi){var ui=je.draggable.findById(Oi);return ui?ui.options:null},[je.draggable]),Mr=a(function(){if(!Mt.isClaimed())return;Mt.tryAbandon(),ye.getState().phase!=="IDLE"&&ye.dispatch(Nn())},[Mt,ye]),on=a(Mt.isClaimed,[Mt]),zn=t(function(){return{canGetLock:Ir,tryGetLock:gr,findClosestDraggableId:dr,findOptionsForDraggable:Cr,tryReleaseLock:Mr,isLockClaimed:on}},[Ir,gr,dr,Cr,Mr,on]);Gs(Nt);for(var ri=0;ri<Nt.length;ri++)Nt[ri](zn)}var bc=function(ee){return{onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragEnd:ee.onDragEnd,onDragUpdate:ee.onDragUpdate}};function ul(Ie){return Ie.current||fe(!1),Ie.current}function Il(Ie){var ee=Ie.contextId,ye=Ie.setCallbacks,je=Ie.sensors,nt=Ie.nonce,_t=Ie.dragHandleUsageInstructions,Nt=Object(y.useRef)(null);Tr();var Mt=tn(Ie),vr=a(function(){return bc(Mt.current)},[Mt]),Ir=Hs(ee),gr=nn({contextId:ee,text:_t}),dr=Ps(ee,nt),Cr=a(function(O){ul(Nt).dispatch(O)},[]),Mr=t(function(){return Object(v.b)({publishWhileDragging:pn,updateDroppableScroll:Dt,updateDroppableIsEnabled:ur,updateDroppableIsCombineEnabled:ar,collectionStarting:Qe},Cr)},[Cr]),on=Zo(),zn=t(function(){return aa(on,Mr)},[on,Mr]),ri=t(function(){return pl(Object(p.a)({scrollWindow:Ua,scrollDroppable:zn.scrollDroppable},Object(v.b)({move:Lr},Cr)))},[zn.scrollDroppable,Cr]),Oi=wo(ee),ui=t(function(){return ca({announce:Ir,autoScroller:ri,dimensionMarshal:zn,focusMarshal:Oi,getResponders:vr,styleMarshal:dr})},[Ir,ri,zn,Oi,vr,dr]);Nt.current=ui;var va=a(function(){var O=ul(Nt),F=O.getState();F.phase!=="IDLE"&&O.dispatch(Nn())},[]),zi=a(function(){var O=ul(Nt).getState();return O.isDragging||O.phase==="DROP_ANIMATING"},[]),Na=t(function(){return{isDragging:zi,tryAbort:va}},[zi,va]);ye(Na);var Sa=a(function(O){return po(ul(Nt).getState(),O)},[]),Ia=a(function(){return si(ul(Nt).getState())},[]),co=t(function(){return{marshal:zn,focus:Oi,contextId:ee,canLift:Sa,isMovementAllowed:Ia,dragHandleUsageInstructionsId:gr,registry:on}},[ee,zn,gr,Oi,Sa,Ia,on]);return Zl({contextId:ee,store:ui,registry:on,customSensors:je,enableDefaultSensors:Ie.enableDefaultSensors!==!1}),Object(y.useEffect)(function(){return va},[va]),m.a.createElement(On.Provider,{value:co},m.a.createElement(f.a,{context:As,store:ui},Ie.children))}var Bl=0;function Bc(){Bl=0}function wc(){return t(function(){return""+Bl++},[])}function kc(){Bc(),rs()}function Pc(Ie){var ee=wc(),ye=Ie.dragHandleUsageInstructions||se.dragHandleUsageInstructions;return m.a.createElement(Ne,null,function(je){return m.a.createElement(Il,{nonce:Ie.nonce,contextId:ee,setCallbacks:je,dragHandleUsageInstructions:ye,enableDefaultSensors:Ie.enableDefaultSensors,sensors:Ie.sensors,onBeforeCapture:Ie.onBeforeCapture,onBeforeDragStart:Ie.onBeforeDragStart,onDragStart:Ie.onDragStart,onDragUpdate:Ie.onDragUpdate,onDragEnd:Ie.onDragEnd},Ie.children)})}var Ol=function(ee){return function(ye){return ee===ye}},$s=Ol("scroll"),el=Ol("auto"),al=Ol("visible"),Kl=function(ee,ye){return ye(ee.overflowX)||ye(ee.overflowY)},Jl=function(ee,ye){return ye(ee.overflowX)&&ye(ee.overflowY)},sc=function(ee){var ye=window.getComputedStyle(ee),je={overflowX:ye.overflowX,overflowY:ye.overflowY};return Kl(je,$s)||Kl(je,el)},zl=function(){return!1;var ee,ye;if(!sc(ee))return!1;var je,nt;if(Jl(nt,al))return!1},Ll=function Ie(ee){return ee==null?null:ee===document.body?zl()?ee:null:ee===document.documentElement?null:sc(ee)?ee:Ie(ee.parentElement)},lc=function(ee){if(!ee)return;var ye=Ll(ee.parentElement);if(!ye)return},$l=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},cc=function Ie(ee){if(!ee)return!1;var ye=window.getComputedStyle(ee);return ye.position==="fixed"?!0:Ie(ee.parentElement)},Al=function(ee){var ye=Ll(ee),je=cc(ee);return{closestScrollable:ye,isFixedOnPage:je}},wl=function(ee){var ye=ee.descriptor,je=ee.isEnabled,nt=ee.isCombineEnabled,_t=ee.isFixedOnPage,Nt=ee.direction,Mt=ee.client,vr=ee.page,Ir=ee.closest,gr=function(){if(!Ir)return null;var on=Ir.scrollSize,zn=Ir.client,ri=ya({scrollHeight:on.scrollHeight,scrollWidth:on.scrollWidth,height:zn.paddingBox.height,width:zn.paddingBox.width});return{pageMarginBox:Ir.page.marginBox,frameClient:zn,scrollSize:on,shouldClipSubject:Ir.shouldClipSubject,scroll:{initial:Ir.scroll,current:Ir.scroll,max:ri,diff:{value:Te,displacement:Te}}}}(),dr=Nt==="vertical"?mn:Tt,Cr=$e({page:vr,withPlaceholder:null,axis:dr,frame:gr}),Mr={descriptor:ye,isCombineEnabled:nt,isFixedOnPage:_t,axis:dr,isEnabled:je,client:Mt,page:vr,frame:gr,subject:Cr};return Mr},Nl=function(ee,ye){var je=_(ee);if(!ye)return je;if(ee!==ye)return je;var nt=je.paddingBox.top-ye.scrollTop,_t=je.paddingBox.left-ye.scrollLeft,Nt=nt+ye.scrollHeight,Mt=_t+ye.scrollWidth,vr={top:nt,right:Mt,bottom:Nt,left:_t},Ir=c(vr,je.border),gr=h({borderBox:Ir,margin:je.margin,border:je.border,padding:je.padding});return gr},ql=function(ee){var ye=ee.ref,je=ee.descriptor,nt=ee.env,_t=ee.windowScroll,Nt=ee.direction,Mt=ee.isDropDisabled,vr=ee.isCombineEnabled,Ir=ee.shouldClipSubject,gr=nt.closestScrollable,dr=Nl(ye,gr),Cr=b(dr,_t),Mr=function(){if(!gr)return null;var zn=_(gr),ri={scrollHeight:gr.scrollHeight,scrollWidth:gr.scrollWidth};return{client:zn,page:b(zn,_t),scroll:$l(gr),scrollSize:ri,shouldClipSubject:Ir}}(),on=wl({descriptor:je,isEnabled:!Mt,isCombineEnabled:vr,isFixedOnPage:nt.isFixedOnPage,direction:Nt,client:dr,page:Cr,closest:Mr});return on},Sl={passive:!1},Uc={passive:!0},dl=function(ee){return ee.shouldPublishImmediately?Sl:Uc};function vl(Ie){var ee=Object(y.useContext)(Ie);return ee||fe(!1),ee}var ec=function(ee){return ee&&ee.env.closestScrollable||null};function jc(Ie){var ee=Object(y.useRef)(null),ye=vl(On),je=xt("droppable"),nt=ye.registry,_t=ye.marshal,Nt=tn(Ie),Mt=t(function(){return{id:Ie.droppableId,type:Ie.type,mode:Ie.mode}},[Ie.droppableId,Ie.mode,Ie.type]),vr=Object(y.useRef)(Mt),Ir=t(function(){return L(function(zi,Na){ee.current||fe(!1);var Sa={x:zi,y:Na};_t.updateDroppableScroll(Mt.id,Sa)})},[Mt.id,_t]),gr=a(function(){var zi=ee.current;return!zi||!zi.env.closestScrollable?Te:$l(zi.env.closestScrollable)},[]),dr=a(function(){var zi=gr();Ir(zi.x,zi.y)},[gr,Ir]),Cr=t(function(){return k(dr)},[dr]),Mr=a(function(){var zi=ee.current,Na=ec(zi);zi&&Na||fe(!1);var Sa=zi.scrollOptions;if(Sa.shouldPublishImmediately){dr();return}Cr()},[Cr,dr]),on=a(function(zi,Na){ee.current&&fe(!1);var Sa=Nt.current,Ia=Sa.getDroppableRef();Ia||fe(!1);var co=Al(Ia),O={ref:Ia,descriptor:Mt,env:co,scrollOptions:Na};ee.current=O;var F=ql({ref:Ia,descriptor:Mt,env:co,windowScroll:zi,direction:Sa.direction,isDropDisabled:Sa.isDropDisabled,isCombineEnabled:Sa.isCombineEnabled,shouldClipSubject:!Sa.ignoreContainerClipping}),$=co.closestScrollable;return $&&($.setAttribute(is.contextId,ye.contextId),$.addEventListener("scroll",Mr,dl(O.scrollOptions))),F},[ye.contextId,Mt,Mr,Nt]),zn=a(function(){var zi=ee.current,Na=ec(zi);return zi&&Na||fe(!1),$l(Na)},[]),ri=a(function(){var zi=ee.current;zi||fe(!1);var Na=ec(zi);if(ee.current=null,!Na)return;Cr.cancel(),Na.removeAttribute(is.contextId),Na.removeEventListener("scroll",Mr,dl(zi.scrollOptions))},[Mr,Cr]),Oi=a(function(zi){var Na=ee.current;Na||fe(!1);var Sa=ec(Na);Sa||fe(!1),Sa.scrollTop+=zi.y,Sa.scrollLeft+=zi.x},[]),ui=t(function(){return{getDimensionAndWatchScroll:on,getScrollWhileDragging:zn,dragStopped:ri,scroll:Oi}},[ri,on,zn,Oi]),va=t(function(){return{uniqueId:je,descriptor:Mt,callbacks:ui}},[ui,Mt,je]);Ho(function(){return vr.current=va.descriptor,nt.droppable.register(va),function(){ee.current&&ri(),nt.droppable.unregister(va)}},[ui,Mt,ri,va,_t,nt.droppable]),Ho(function(){if(!ee.current)return;_t.updateDroppableIsEnabled(vr.current.id,!Ie.isDropDisabled)},[Ie.isDropDisabled,_t]),Ho(function(){if(!ee.current)return;_t.updateDroppableIsCombineEnabled(vr.current.id,Ie.isCombineEnabled)},[Ie.isCombineEnabled,_t])}function uc(){}var Dl={width:0,height:0,margin:Ct},Rl=function(ee){var ye=ee.isAnimatingOpenOnMount,je=ee.placeholder,nt=ee.animate;return ye||nt==="close"?Dl:{height:je.client.borderBox.height,width:je.client.borderBox.width,margin:je.client.margin}},kl=function(ee){var ye=ee.isAnimatingOpenOnMount,je=ee.placeholder,nt=ee.animate,_t=Rl({isAnimatingOpenOnMount:ye,placeholder:je,animate:nt});return{display:je.display,boxSizing:"border-box",width:_t.width,height:_t.height,marginTop:_t.margin.top,marginRight:_t.margin.right,marginBottom:_t.margin.bottom,marginLeft:_t.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:nt!=="none"?Pn.placeholder:null}};function Sc(Ie){var ee=Object(y.useRef)(null),ye=a(function(){if(!ee.current)return;clearTimeout(ee.current),ee.current=null},[]),je=Ie.animate,nt=Ie.onTransitionEnd,_t=Ie.onClose,Nt=Ie.contextId,Mt=Object(y.useState)(Ie.animate==="open"),vr=Mt[0],Ir=Mt[1];Object(y.useEffect)(function(){return vr?je!=="open"?(ye(),Ir(!1),uc):ee.current?uc:(ee.current=setTimeout(function(){ee.current=null,Ir(!1)}),ye):uc},[je,vr,ye]);var gr=a(function(Cr){if(Cr.propertyName!=="height")return;nt(),je==="close"&&_t()},[je,_t,nt]),dr=kl({isAnimatingOpenOnMount:vr,animate:Ie.animate,placeholder:Ie.placeholder});return m.a.createElement(Ie.placeholder.tagName,{style:dr,"data-rbd-placeholder-context-id":Nt,onTransitionEnd:gr,ref:Ie.innerRef})}var xc=m.a.memo(Sc),dc=m.a.createContext(null);function Pl(Ie){Ie&&Ms(Ie)||fe(!1)}function hc(Ie){return typeof Ie=="boolean"}function tc(Ie,ee){ee.forEach(function(ye){return ye(Ie)})}var Ec=[function(ee){var ye=ee.props;ye.droppableId||fe(!1),typeof ye.droppableId=="string"||fe(!1)},function(ee){var ye=ee.props;hc(ye.isDropDisabled)||fe(!1),hc(ye.isCombineEnabled)||fe(!1),hc(ye.ignoreContainerClipping)||fe(!1)},function(ee){var ye=ee.getDroppableRef;Pl(ye())}],ms=[function(ee){var ye=ee.props,je=ee.getPlaceholderRef;if(!ye.placeholder)return;var nt=je();if(nt)return}],nl=[function(ee){var ye=ee.props;ye.renderClone||fe(!1)},function(ee){var ye=ee.getPlaceholderRef;ye()&&fe(!1)}];function xl(Ie){wr(function(){tc(Ie,Ec),Ie.props.mode==="standard"&&tc(Ie,ms),Ie.props.mode==="virtual"&&tc(Ie,nl)})}var rc=function(Ie){Object(E.a)(ee,Ie);function ee(){for(var je,nt=arguments.length,_t=new Array(nt),Nt=0;Nt<nt;Nt++)_t[Nt]=arguments[Nt];return je=Ie.call.apply(Ie,[this].concat(_t))||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}ee.getDerivedStateFromProps=function(nt,_t){return nt.shouldAnimate?nt.on?{isVisible:!0,data:nt.on,animate:"open"}:_t.isVisible?{isVisible:!0,data:_t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(nt.on),data:nt.on,animate:"none"}};var ye=ee.prototype;return ye.render=function(){if(!this.state.isVisible)return null;var nt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(nt)},ee}(m.a.PureComponent),nc={dragging:5e3,dropAnimating:4500},El=function(ee,ye){return ye?Pn.drop(ye.duration):ee?Pn.snap:Pn.fluid},ml=function(ee,ye){return ee?ye?xi.opacity.drop:xi.opacity.combining:null},Cc=function(ee){return ee.forceShouldAnimate!=null?ee.forceShouldAnimate:ee.mode==="SNAP"};function Hc(Ie){var ee=Ie.dimension,ye=ee.client,je=Ie.offset,nt=Ie.combineWith,_t=Ie.dropping,Nt=Boolean(nt),Mt=Cc(Ie),vr=Boolean(_t),Ir=vr?ji.drop(je,Nt):ji.moveTo(je),gr={position:"fixed",top:ye.marginBox.top,left:ye.marginBox.left,boxSizing:"border-box",width:ye.borderBox.width,height:ye.borderBox.height,transition:El(Mt,_t),transform:Ir,opacity:ml(Nt,vr),zIndex:vr?nc.dropAnimating:nc.dragging,pointerEvents:"none"};return gr}function Kc(Ie){return{transform:ji.moveTo(Ie.offset),transition:Ie.shouldAnimateDisplacement?null:"none"}}function _c(Ie){return Ie.type==="DRAGGING"?Hc(Ie):Kc(Ie)}function Tc(Ie,ee,ye){ye===void 0&&(ye=Te);var je=window.getComputedStyle(ee),nt=ee.getBoundingClientRect(),_t=S(nt,je),Nt=b(_t,ye),Mt={client:_t,tagName:ee.tagName.toLowerCase(),display:je.display},vr={x:_t.marginBox.width,y:_t.marginBox.height},Ir={descriptor:Ie,placeholder:Mt,displaceBy:vr,client:_t,page:Nt};return Ir}function zc(Ie){var ee=xt("draggable"),ye=Ie.descriptor,je=Ie.registry,nt=Ie.getDraggableRef,_t=Ie.canDragInteractiveElements,Nt=Ie.shouldRespectForcePress,Mt=Ie.isEnabled,vr=t(function(){return{canDragInteractiveElements:_t,shouldRespectForcePress:Nt,isEnabled:Mt}},[_t,Mt,Nt]),Ir=a(function(Mr){var on=nt();return on||fe(!1),Tc(ye,on,Mr)},[ye,nt]),gr=t(function(){return{uniqueId:ee,descriptor:ye,options:vr,getDimension:Ir}},[ye,Ir,vr,ee]),dr=Object(y.useRef)(gr),Cr=Object(y.useRef)(!0);Ho(function(){return je.draggable.register(dr.current),function(){return je.draggable.unregister(dr.current)}},[je.draggable]),Ho(function(){if(Cr.current){Cr.current=!1;return}var Mr=dr.current;dr.current=gr,je.draggable.update(gr,Mr)},[gr,je.draggable])}function fc(Ie,ee,ye){wr(function(){function je(_t){return"Draggable[id: "+_t+"]: "}var nt=Ie.draggableId;if(nt||fe(!1),typeof nt=="string"||fe(!1),ne(Ie.index)||fe(!1),Ie.mapped.type==="DRAGGING")return;Pl(ye()),Ie.isEnabled&&(so(ee,nt)||fe(!1))})}function Cl(Ie){Bt(function(){var ee=Object(y.useRef)(Ie);wr(function(){Ie===ee.current||fe(!1)},[Ie])})}function _l(Ie){Ie.preventDefault()}function Wl(Ie){var ee=Object(y.useRef)(null),ye=a(function(O){ee.current=O},[]),je=a(function(){return ee.current},[]),nt=vl(On),_t=nt.contextId,Nt=nt.dragHandleUsageInstructionsId,Mt=nt.registry,vr=vl(dc),Ir=vr.type,gr=vr.droppableId,dr=t(function(){return{id:Ie.draggableId,index:Ie.index,type:Ir,droppableId:gr}},[Ie.draggableId,Ie.index,Ir,gr]),Cr=Ie.children,Mr=Ie.draggableId,on=Ie.isEnabled,zn=Ie.shouldRespectForcePress,ri=Ie.canDragInteractiveElements,Oi=Ie.isClone,ui=Ie.mapped,va=Ie.dropAnimationFinished;if(fc(Ie,_t,je),Cl(Oi),!Oi){var zi=t(function(){return{descriptor:dr,registry:Mt,getDraggableRef:je,canDragInteractiveElements:ri,shouldRespectForcePress:zn,isEnabled:on}},[dr,Mt,je,ri,zn,on]);zc(zi)}var Na=t(function(){return on?{tabIndex:0,role:"button","aria-describedby":Nt,"data-rbd-drag-handle-draggable-id":Mr,"data-rbd-drag-handle-context-id":_t,draggable:!1,onDragStart:_l}:null},[_t,Nt,Mr,on]),Sa=a(function(O){if(ui.type!=="DRAGGING")return;if(!ui.dropping)return;if(O.propertyName!=="transform")return;va()},[va,ui]),Ia=t(function(){var O=_c(ui),F=ui.type==="DRAGGING"&&ui.dropping?Sa:null,$={innerRef:ye,draggableProps:{"data-rbd-draggable-context-id":_t,"data-rbd-draggable-id":Mr,style:O,onTransitionEnd:F},dragHandleProps:Na};return $},[_t,Na,Mr,ui,Sa,ye]),co=t(function(){return{draggableId:dr.id,type:dr.type,source:{index:dr.index,droppableId:dr.droppableId}}},[dr.droppableId,dr.id,dr.index,dr.type]);return Cr(Ia,ui.snapshot,co)}var Ul=function(ee,ye){return ee===ye},Ic=function(ee){var ye=ee.combine,je=ee.destination;return je?je.droppableId:ye?ye.droppableId:null},$c=function(ee){return ee.combine?ee.combine.draggableId:null},Wc=function(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine.draggableId:null};function qc(){var Ie=L(function(nt,_t){return{x:nt,y:_t}}),ee=L(function(nt,_t,Nt,Mt,vr){return{isDragging:!0,isClone:_t,isDropAnimating:Boolean(vr),dropAnimation:vr,mode:nt,draggingOver:Nt,combineWith:Mt,combineTargetFor:null}}),ye=L(function(nt,_t,Nt,Mt,vr,Ir,gr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:vr,combineWith:Ir,mode:_t,offset:nt,dimension:Nt,forceShouldAnimate:gr,snapshot:ee(_t,Mt,vr,Ir,null)}}}),je=function(_t,Nt){if(_t.isDragging){if(_t.critical.draggable.id!==Nt.draggableId)return null;var Mt=_t.current.client.offset,vr=_t.dimensions.draggables[Nt.draggableId],Ir=xn(_t.impact),gr=Wc(_t.impact),dr=_t.forceShouldAnimate;return ye(Ie(Mt.x,Mt.y),_t.movementMode,vr,Nt.isClone,Ir,gr,dr)}if(_t.phase==="DROP_ANIMATING"){var Cr=_t.completed;if(Cr.result.draggableId!==Nt.draggableId)return null;var Mr=Nt.isClone,on=_t.dimensions.draggables[Nt.draggableId],zn=Cr.result,ri=zn.mode,Oi=Ic(zn),ui=$c(zn),va=_t.dropDuration,zi={duration:va,curve:Bi.drop,moveTo:_t.newHomeClientOffset,opacity:ui?xi.opacity.drop:null,scale:ui?xi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:_t.newHomeClientOffset,dimension:on,dropping:zi,draggingOver:Oi,combineWith:ui,mode:ri,forceShouldAnimate:null,snapshot:ee(ri,Mr,Oi,ui,zi)}}}return null};return je}function Vl(Ie){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Ie,combineWith:null}}var pc={mapped:{type:"SECONDARY",offset:Te,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Vl(null)}};function eu(){var Ie=L(function(Nt,Mt){return{x:Nt,y:Mt}}),ee=L(Vl),ye=L(function(Nt,Mt,vr){return Mt===void 0&&(Mt=null),{mapped:{type:"SECONDARY",offset:Nt,combineTargetFor:Mt,shouldAnimateDisplacement:vr,snapshot:ee(Mt)}}}),je=function(Mt){return Mt?ye(Te,Mt,!0):null},nt=function(Mt,vr,Ir,gr){var dr=Ir.displaced.visible[Mt],Cr=Boolean(gr.inVirtualList&&gr.effected[Mt]),Mr=Et(Ir),on=Mr&&Mr.draggableId===Mt?vr:null;if(!dr){if(!Cr)return je(on);if(Ir.displaced.invisible[Mt])return null;var zn=_e(gr.displacedBy.point),ri=Ie(zn.x,zn.y);return ye(ri,on,!0)}if(Cr)return je(on);var Oi=Ir.displacedBy.point,ui=Ie(Oi.x,Oi.y);return ye(ui,on,dr.shouldAnimate)},_t=function(Mt,vr){if(Mt.isDragging)return Mt.critical.draggable.id===vr.draggableId?null:nt(vr.draggableId,Mt.critical.draggable.id,Mt.impact,Mt.afterCritical);if(Mt.phase==="DROP_ANIMATING"){var Ir=Mt.completed;return Ir.result.draggableId===vr.draggableId?null:nt(vr.draggableId,Ir.result.draggableId,Ir.impact,Ir.afterCritical)}return null};return _t}var Oc=function(){var ee=qc(),ye=eu(),je=function(_t,Nt){return ee(_t,Nt)||ye(_t,Nt)||pc};return je},ic={dropAnimationFinished:Qn},mc=Object(f.c)(Oc,ic,null,{context:As,pure:!0,areStatePropsEqual:Ul})(Wl);function Xl(Ie){var ee=vl(dc),ye=ee.isUsingCloneFor;return ye===Ie.draggableId&&!Ie.isClone?null:m.a.createElement(mc,Ie)}function Lc(Ie){var ee=typeof Ie.isDragDisabled=="boolean"?!Ie.isDragDisabled:!0,ye=Boolean(Ie.disableInteractiveElementBlocking),je=Boolean(Ie.shouldRespectForcePress);return m.a.createElement(Xl,Object(p.a)({},Ie,{isClone:!1,isEnabled:ee,canDragInteractiveElements:ye,shouldRespectForcePress:je}))}function Gl(Ie){var ee=Object(y.useContext)(On);ee||fe(!1);var ye=ee.contextId,je=ee.isMovementAllowed,nt=Object(y.useRef)(null),_t=Object(y.useRef)(null),Nt=Ie.children,Mt=Ie.droppableId,vr=Ie.type,Ir=Ie.mode,gr=Ie.direction,dr=Ie.ignoreContainerClipping,Cr=Ie.isDropDisabled,Mr=Ie.isCombineEnabled,on=Ie.snapshot,zn=Ie.useClone,ri=Ie.updateViewportMaxScroll,Oi=Ie.getContainerForClone,ui=a(function(){return nt.current},[]),va=a(function(re){nt.current=re},[]),zi=a(function(){return _t.current},[]),Na=a(function(re){_t.current=re},[]);xl({props:Ie,getDroppableRef:ui,getPlaceholderRef:zi});var Sa=a(function(){je()&&ri({maxScroll:Ga()})},[je,ri]);jc({droppableId:Mt,type:vr,mode:Ir,direction:gr,isDropDisabled:Cr,isCombineEnabled:Mr,ignoreContainerClipping:dr,getDroppableRef:ui});var Ia=m.a.createElement(rc,{on:Ie.placeholder,shouldAnimate:Ie.shouldAnimatePlaceholder},function(re){var le=re.onClose,De=re.data,dt=re.animate;return m.a.createElement(xc,{placeholder:De,onClose:le,innerRef:Na,animate:dt,contextId:ye,onTransitionEnd:Sa})}),co=t(function(){return{innerRef:va,placeholder:Ia,droppableProps:{"data-rbd-droppable-id":Mt,"data-rbd-droppable-context-id":ye}}},[ye,Mt,Ia,va]),O=zn?zn.dragging.draggableId:null,F=t(function(){return{droppableId:Mt,type:vr,isUsingCloneFor:O}},[Mt,O,vr]);function $(){if(!zn)return null;var re=zn.dragging,le=zn.render,De=m.a.createElement(Xl,{draggableId:re.draggableId,index:re.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(dt,Lt){return le(dt,Lt,re)});return j.a.createPortal(De,Oi())}return m.a.createElement(dc.Provider,{value:F},Nt(co,on),$())}var ac=function(ee,ye){return ee===ye.droppable.type},me=function(ee,ye){return ye.draggables[ee.draggable.id]},Pe=function(){var ee={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ye=Object(p.a)({},ee,{shouldAnimatePlaceholder:!1}),je=L(function(Nt){return{draggableId:Nt.id,type:Nt.type,source:{index:Nt.index,droppableId:Nt.droppableId}}}),nt=L(function(Nt,Mt,vr,Ir,gr,dr){var Cr=gr.descriptor.id,Mr=gr.descriptor.droppableId===Nt;if(Mr){var on=dr?{render:dr,dragging:je(gr.descriptor)}:null,zn={isDraggingOver:vr,draggingOverWith:vr?Cr:null,draggingFromThisWith:Cr,isUsingPlaceholder:!0};return{placeholder:gr.placeholder,shouldAnimatePlaceholder:!1,snapshot:zn,useClone:on}}if(!Mt)return ye;if(!Ir)return ee;var ri={isDraggingOver:vr,draggingOverWith:Cr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:gr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ri,useClone:null}}),_t=function(Mt,vr){var Ir=vr.droppableId,gr=vr.type,dr=!vr.isDropDisabled,Cr=vr.renderClone;if(Mt.isDragging){var Mr=Mt.critical;if(!ac(gr,Mr))return ye;var on=me(Mr,Mt.dimensions),zn=xn(Mt.impact)===Ir;return nt(Ir,dr,zn,zn,on,Cr)}if(Mt.phase==="DROP_ANIMATING"){var ri=Mt.completed;if(!ac(gr,ri.critical))return ye;var Oi=me(ri.critical,Mt.dimensions);return nt(Ir,dr,Ic(ri.result)===Ir,xn(ri.impact)===Ir,Oi,Cr)}if(Mt.phase==="IDLE"&&Mt.completed&&!Mt.shouldFlush){var ui=Mt.completed;if(!ac(gr,ui.critical))return ye;var va=xn(ui.impact)===Ir,zi=Boolean(ui.impact.at&&ui.impact.at.type==="COMBINE"),Na=ui.critical.droppable.id===Ir;return va?zi?ee:ye:Na?ee:ye}return ye};return _t},ut={updateViewportMaxScroll:Hr};function Ht(){return document.body||fe(!1),document.body}var fr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ht},_r=Object(f.c)(Pe,ut,null,{context:As,pure:!0,areStatePropsEqual:Ul})(Gl);_r.defaultProps=fr},ni6a:function(B,N,i){var y=i("pzxd"),m=i("mFDi"),E=i("gut8"),p=E.WILL_BE_RESTORED,v=new m,f=function(){};f.prototype={constructor:f,drawRectText:function(n,t){var a=this.style;t=a.textRect||t,this.__dirty&&y.normalizeTextStyle(a,!0);var o=a.text;if(o!=null&&(o+=""),!y.needDrawText(o,a))return;n.save();var r=this.transform;a.transformText?this.setTransform(n):r&&(v.copy(t),v.applyTransform(r),t=v),y.renderText(this,n,o,a,t,p),n.restore()}};var d=f;B.exports=d},nkfE:function(B,N,i){var y=i("bYtY"),m=i("ca2m"),E=i("bLfw"),p=i("+TT/"),v=p.getLayoutParams,f=p.mergeLayoutParam,d=i("jkPA"),l=["value","category","time","log"];function n(t,a,o,r){y.each(l,function(c){a.extend({type:t+"Axis."+c,mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,h=u?v(e):{},g=s.getTheme();y.merge(e,g.get(c+"Axis")),y.merge(e,this.getDefaultOption()),e.type=o(t,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([{},m[c+"Axis"],r],!0)})}),E.registerSubTypeDefaulter(t+"Axis",y.curry(o,t))}B.exports=n},noeP:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("UOVi");y.registerAction("dataZoom",function(p,v){var f=E.createLinkedNodesFinder(m.bind(v.eachComponent,v,"dataZoom"),E.eachAxisDim,function(l,n){return l.get(n.axisIndex)}),d=[];v.eachComponent({mainType:"dataZoom",query:p},function(l,n){d.push.apply(d,f(l).nodes)}),m.each(d,function(l,n){l.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},o40c:function(B,N,i){var y=i("IwbS"),m=i("OS9S"),E=i("loD1"),p=i("aKvl"),v=y.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(n,t){var a=t.segs,o=t.curveness;if(t.polyline)for(var r=0;r<a.length;){var c=a[r++];if(c>0){n.moveTo(a[r++],a[r++]);for(var e=1;e<c;e++)n.lineTo(a[r++],a[r++])}}else for(var r=0;r<a.length;){var s=a[r++],u=a[r++],h=a[r++],g=a[r++];if(n.moveTo(s,u),o>0){var A=(s+h)/2-(u-g)*o,w=(u+g)/2-(h-s)*o;n.quadraticCurveTo(A,w,h,g)}else n.lineTo(h,g)}},findDataIndex:function(n,t){var a=this.shape,o=a.segs,r=a.curveness;if(a.polyline)for(var c=0,e=0;e<o.length;){var s=o[e++];if(s>0)for(var u=o[e++],h=o[e++],g=1;g<s;g++){var A=o[e++],w=o[e++];if(E.containStroke(u,h,A,w))return c}c++}else for(var c=0,e=0;e<o.length;){var u=o[e++],h=o[e++],A=o[e++],w=o[e++];if(r>0){var b=(u+A)/2-(h-w)*r,S=(h+w)/2-(A-u)*r;if(p.containStroke(u,h,b,S,A,w))return c}else if(E.containStroke(u,h,A,w))return c;c++}return-1}});function f(){this.group=new y.Group}var d=f.prototype;d.isPersistent=function(){return!this._incremental},d.updateData=function(n){this.group.removeAll();var t=new v({rectHover:!0,cursor:"default"});t.setShape({segs:n.getLayout("linesPoints")}),this._setCommon(t,n),this.group.add(t),this._incremental=null},d.incrementalPrepareUpdate=function(n){this.group.removeAll(),this._clearIncremental(),n.count()>5e5?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},d.incrementalUpdate=function(n,t){var a=new v;a.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(a,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=n.start,this.group.add(a))},d.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},d._setCommon=function(n,t,a){var o=t.hostModel;n.setShape({polyline:o.get("polyline"),curveness:o.get("lineStyle.curveness")}),n.useStyle(o.getModel("lineStyle").getLineStyle()),n.style.strokeNoScale=!0;var r=t.getVisual("color");r&&n.setStyle("stroke",r),n.setStyle("fill"),a||(n.seriesIndex=o.seriesIndex,n.on("mousemove",function(c){n.dataIndex=null;var e=n.findDataIndex(c.offsetX,c.offsetY);e>0&&(n.dataIndex=e+n.__startIndex)}))},d._clearIncremental=function(){var n=this._incremental;n&&n.clearDisplaybles()};var l=f;B.exports=l},oBaM:function(B,N,i){var y=i("T4UG"),m=i("5GtS"),E=i("bYtY"),p=i("7aKB"),v=p.encodeHTML,f=i("xKMd"),d=y.extend({type:"series.radar",dependencies:["radar"],init:function(n){d.superApply(this,"init",arguments),this.legendVisualProvider=new f(E.bind(this.getData,this),E.bind(this.getRawData,this))},getInitialData:function(n,t){return m(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(n){var t=this.getData(),a=this.coordinateSystem,o=a.getIndicatorAxes(),r=this.getData().getName(n);return v(r===""?this.name:r)+"<br/>"+E.map(o,function(c,e){var s=t.get(t.mapDimension(c.dim),n);return v(c.name+" : "+s)}).join("<br />")},getTooltipPosition:function(n){if(n!=null){for(var t=this.getData(),a=this.coordinateSystem,o=t.getValues(E.map(a.dimensions,function(s){return t.mapDimension(s)}),n,!0),r=0,c=o.length;r<c;r++)if(!isNaN(o[r])){var e=a.getIndicatorAxes();return a.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}}),l=d;B.exports=l},oE7X:function(B,N,i){var y=i("bLfw");y.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(B,N,i){},oVpE:function(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("mFDi"),p=i("6GrX"),v=p.calculateTextPosition,f=m.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,g=u.cy,A=u.width/2,w=u.height/2;s.moveTo(h,g-w),s.lineTo(h+A,g+w),s.lineTo(h-A,g+w),s.closePath()}}),d=m.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var h=u.cx,g=u.cy,A=u.width/2,w=u.height/2;s.moveTo(h,g-w),s.lineTo(h+A,g),s.lineTo(h,g+w),s.lineTo(h-A,g),s.closePath()}}),l=m.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.x,g=u.y,A=u.width/5*3,w=Math.max(A,u.height),b=A/2,S=b*b/(w-b),_=g-w+b+S,T=Math.asin(S/b),x=Math.cos(T)*b,C=Math.sin(T),I=Math.cos(T),L=b*.6,M=b*.7;s.moveTo(h-x,_+S),s.arc(h,_,b,Math.PI-T,Math.PI*2+T),s.bezierCurveTo(h+x-C*L,_+S+I*L,h,g-M,h,g),s.bezierCurveTo(h,g-M,h-x+C*L,_+S+I*L,h-x,_+S),s.closePath()}}),n=m.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var h=u.height,g=u.width,A=u.x,w=u.y,b=g/3*2;s.moveTo(A,w),s.lineTo(A+b,w+h),s.lineTo(A,w+h/4*3),s.lineTo(A-b,w+h),s.lineTo(A,w),s.closePath()}}),t={line:m.Line,rect:m.Rect,roundRect:m.Rect,square:m.Rect,circle:m.Circle,diamond:d,pin:l,arrow:n,triangle:f},a={line:function(s,u,h,g,A){A.x1=s,A.y1=u+g/2,A.x2=s+h,A.y2=u+g/2},rect:function(s,u,h,g,A){A.x=s,A.y=u,A.width=h,A.height=g},roundRect:function(s,u,h,g,A){A.x=s,A.y=u,A.width=h,A.height=g,A.r=Math.min(h,g)/4},square:function(s,u,h,g,A){var w=Math.min(h,g);A.x=s,A.y=u,A.width=w,A.height=w},circle:function(s,u,h,g,A){A.cx=s+h/2,A.cy=u+g/2,A.r=Math.min(h,g)/2},diamond:function(s,u,h,g,A){A.cx=s+h/2,A.cy=u+g/2,A.width=h,A.height=g},pin:function(s,u,h,g,A){A.x=s+h/2,A.y=u+g/2,A.width=h,A.height=g},arrow:function(s,u,h,g,A){A.x=s+h/2,A.y=u+g/2,A.width=h,A.height=g},triangle:function(s,u,h,g,A){A.cx=s+h/2,A.cy=u+g/2,A.width=h,A.height=g}},o={};y.each(t,function(s,u){o[u]=new s});var r=m.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,h){var g=v(s,u,h),A=this.shape;return A&&A.symbolType==="pin"&&u.textPosition==="inside"&&(g.y=h.y+h.height*.4),g},buildPath:function(s,u,h){var g=u.symbolType;if(g!=="none"){var A=o[g];A||(g="rect",A=o[g]),a[g](u.x,u.y,u.width,u.height,A.shape),A.buildPath(s,A.shape,h)}}});function c(s,u){if(this.type!=="image"){var h=this.style,g=this.shape;g&&g.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,g,A,w,b){var S=s.indexOf("empty")===0;S&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var _;return s.indexOf("image://")===0?_=m.makeImage(s.slice(8),new E(u,h,g,A),b?"center":"cover"):s.indexOf("path://")===0?_=m.makePath(s.slice(7),{},new E(u,h,g,A),b?"center":"cover"):_=new r({shape:{symbolType:s,x:u,y:h,width:g,height:A}}),_.__isEmptyBrush=S,_.setColor=c,_.setColor(w),_}N.createSymbol=e},oY9F:function(B,N,i){var y=i("OlYY"),m=y.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});B.exports=m},osHv:function(B,N,i){(function(y){y(i("VrN/"))})(function(y){"use strict";var m=y.Pos;function E(u,h){return u.line-h.line||u.ch-h.ch}var p="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",v=p+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=new RegExp("<(/?)(["+p+"]["+v+"]*)","g");function d(u,h,g,A){this.line=h,this.ch=g,this.cm=u,this.text=u.getLine(h),this.min=A?Math.max(A.from,u.firstLine()):u.firstLine(),this.max=A?Math.min(A.to-1,u.lastLine()):u.lastLine()}function l(u,h){var g=u.cm.getTokenTypeAt(m(u.line,h));return g&&/\btag\b/.test(g)}function n(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function t(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function a(u){for(;;){var h=u.text.indexOf(">",u.ch);if(h==-1){if(n(u))continue;return}if(!l(u,h+1)){u.ch=h+1;continue}var g=u.text.lastIndexOf("/",h),A=g>-1&&!/\S/.test(u.text.slice(g+1,h));return u.ch=h+1,A?"selfClose":"regular"}}function o(u){for(;;){var h=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(h==-1){if(t(u))continue;return}if(!l(u,h+1)){u.ch=h;continue}f.lastIndex=h,u.ch=h;var g=f.exec(u.text);if(g&&g.index==h)return g}}function r(u){for(;;){f.lastIndex=u.ch;var h=f.exec(u.text);if(!h){if(n(u))continue;return}if(!l(u,h.index+1)){u.ch=h.index+1;continue}return u.ch=h.index+h[0].length,h}}function c(u){for(;;){var h=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(h==-1){if(t(u))continue;return}if(!l(u,h+1)){u.ch=h;continue}var g=u.text.lastIndexOf("/",h),A=g>-1&&!/\S/.test(u.text.slice(g+1,h));return u.ch=h+1,A?"selfClose":"regular"}}function e(u,h){for(var g=[];;){var A=r(u),w,b=u.line,S=u.ch-(A?A[0].length:0);if(!A||!(w=a(u)))return;if(w=="selfClose")continue;if(A[1]){for(var _=g.length-1;_>=0;--_)if(g[_]==A[2]){g.length=_;break}if(_<0&&(!h||h==A[2]))return{tag:A[2],from:m(b,S),to:m(u.line,u.ch)}}else g.push(A[2])}}function s(u,h){for(var g=[];;){var A=c(u);if(!A)return;if(A=="selfClose"){o(u);continue}var w=u.line,b=u.ch,S=o(u);if(!S)return;if(S[1])g.push(S[2]);else{for(var _=g.length-1;_>=0;--_)if(g[_]==S[2]){g.length=_;break}if(_<0&&(!h||h==S[2]))return{tag:S[2],from:m(u.line,u.ch),to:m(w,b)}}}}y.registerHelper("fold","xml",function(u,h){for(var g=new d(u,h.line,0);;){var A=r(g);if(!A||g.line!=h.line)return;var w=a(g);if(!w)return;if(!A[1]&&w!="selfClose"){var b=m(g.line,g.ch),S=e(g,A[2]);return S&&E(S.from,b)>0?{from:b,to:S.from}:null}}}),y.findMatchingTag=function(u,h,g){var A=new d(u,h.line,h.ch,g);if(A.text.indexOf(">")==-1&&A.text.indexOf("<")==-1)return;var w=a(A),b=w&&m(A.line,A.ch),S=w&&o(A);if(!w||!S||E(A,h)>0)return;var _={from:m(A.line,A.ch),to:b,tag:S[2]};return w=="selfClose"?{open:_,close:null,at:"open"}:S[1]?{open:s(A,S[2]),close:_,at:"close"}:(A=new d(u,b.line,b.ch,g),{open:_,close:e(A,S[2]),at:"open"})},y.findEnclosingTag=function(u,h,g,A){for(var w=new d(u,h.line,h.ch,g);;){var b=s(w,A);if(!b)break;var S=new d(u,h.line,h.ch,g),_=e(S,b.tag);if(_)return{open:b,close:_}}},y.scanForClosingTag=function(u,h,g,A){var w=new d(u,h.line,h.ch,A?{from:0,to:A}:null);return e(w,g)}})},ozfa:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("KxFI"),p=i.n(E)},"p+If":function(B,N,i){var y=i("ProS");i("cpOr"),i("rkZ5");var m=i("ZYIC"),E=i("7ph2");y.registerLayout(m),y.registerVisual(E)},"p/La":function(B,N){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function y(m,E){m==="china"&&E.name==="\u53F0\u6E7E"&&E.geometries.push({type:"polygon",exterior:i[0]})}B.exports=y},p1MT:function(B,N,i){var y=i("Hw7h"),m=i("IwbS"),E=i("6Ic6"),p=i("OELB"),v=p.parsePercent,f=p.round,d=p.linearMap;function l(r,c){var e=r.get("center"),s=c.getWidth(),u=c.getHeight(),h=Math.min(s,u),g=v(e[0],c.getWidth()),A=v(e[1],c.getHeight()),w=v(r.get("radius"),h/2);return{cx:g,cy:A,r:w}}function n(r,c){return c&&(typeof c=="string"?r=c.replace("{value}",r!=null?r:""):typeof c=="function"&&(r=c(r))),r}var t=Math.PI*2,a=E.extend({type:"gauge",render:function(r,c,e){this.group.removeAll();var s=r.get("axisLine.lineStyle.color"),u=l(r,e);this._renderMain(r,c,e,s,u)},dispose:function(){},_renderMain:function(r,c,e,s,u){for(var h=this.group,g=r.getModel("axisLine"),A=g.getModel("lineStyle"),w=r.get("clockwise"),b=-r.get("startAngle")/180*Math.PI,S=-r.get("endAngle")/180*Math.PI,_=(S-b)%t,T=b,x=A.get("width"),C=g.get("show"),I=0;C&&I<s.length;I++){var L=Math.min(Math.max(s[I][0],0),1),S=b+_*L,M=new m.Sector({shape:{startAngle:T,endAngle:S,cx:u.cx,cy:u.cy,clockwise:w,r0:u.r-x,r:u.r},silent:!0});M.setStyle({fill:s[I][1]}),M.setStyle(A.getLineStyle(["color","borderWidth","borderColor"])),h.add(M),T=S}var k=function(j){if(j<=0)return s[0][1];for(var V=0;V<s.length;V++)if(s[V][0]>=j&&(V===0?0:s[V-1][0])<j)return s[V][1];return s[V-1][1]};if(!w){var R=b;b=S,S=R}this._renderTicks(r,c,e,k,u,b,S,w),this._renderPointer(r,c,e,k,u,b,S,w),this._renderTitle(r,c,e,k,u),this._renderDetail(r,c,e,k,u)},_renderTicks:function(r,c,e,s,u,h,g,A){for(var w=this.group,b=u.cx,S=u.cy,_=u.r,T=+r.get("min"),x=+r.get("max"),C=r.getModel("splitLine"),I=r.getModel("axisTick"),L=r.getModel("axisLabel"),M=r.get("splitNumber"),k=I.get("splitNumber"),R=v(C.get("length"),_),j=v(I.get("length"),_),V=h,D=(g-h)/M,H=D/k,P=C.getModel("lineStyle").getLineStyle(),K=I.getModel("lineStyle").getLineStyle(),U=0;U<=M;U++){var G=Math.cos(V),W=Math.sin(V);if(C.get("show")){var Z=new m.Line({shape:{x1:G*_+b,y1:W*_+S,x2:G*(_-R)+b,y2:W*(_-R)+S},style:P,silent:!0});P.stroke==="auto"&&Z.setStyle({stroke:s(U/M)}),w.add(Z)}if(L.get("show")){var J=n(f(U/M*(x-T)+T),L.get("formatter")),ve=L.get("distance"),q=s(U/M);w.add(new m.Text({style:m.setTextStyle({},L,{text:J,x:G*(_-R-ve)+b,y:W*(_-R-ve)+S,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:G<-.4?"left":G>.4?"right":"center"},{autoColor:q}),silent:!0}))}if(I.get("show")&&U!==M){for(var ce=0;ce<=k;ce++){var G=Math.cos(V),W=Math.sin(V),be=new m.Line({shape:{x1:G*_+b,y1:W*_+S,x2:G*(_-j)+b,y2:W*(_-j)+S},silent:!0,style:K});K.stroke==="auto"&&be.setStyle({stroke:s((U+ce/k)/M)}),w.add(be),V+=H}V-=H}else V+=D}},_renderPointer:function(r,c,e,s,u,h,g,A){var w=this.group,b=this._data;if(!r.get("pointer.show")){b&&b.eachItemGraphicEl(function(C){w.remove(C)});return}var S=[+r.get("min"),+r.get("max")],_=[h,g],T=r.getData(),x=T.mapDimension("value");T.diff(b).add(function(C){var I=new y({shape:{angle:h}});m.initProps(I,{shape:{angle:d(T.get(x,C),S,_,!0)}},r),w.add(I),T.setItemGraphicEl(C,I)}).update(function(C,I){var L=b.getItemGraphicEl(I);m.updateProps(L,{shape:{angle:d(T.get(x,C),S,_,!0)}},r),w.add(L),T.setItemGraphicEl(C,L)}).remove(function(C){var I=b.getItemGraphicEl(C);w.remove(I)}).execute(),T.eachItemGraphicEl(function(C,I){var L=T.getItemModel(I),M=L.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:v(M.get("width"),u.r),r:v(M.get("length"),u.r)}),C.useStyle(L.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(d(T.get(x,I),S,[0,1],!0))),m.setHoverStyle(C,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=T},_renderTitle:function(r,c,e,s,u){var h=r.getData(),g=h.mapDimension("value"),A=r.getModel("title");if(A.get("show")){var w=A.get("offsetCenter"),b=u.cx+v(w[0],u.r),S=u.cy+v(w[1],u.r),_=+r.get("min"),T=+r.get("max"),x=r.getData().get(g,0),C=s(d(x,[_,T],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},A,{x:b,y:S,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(r,c,e,s,u){var h=r.getModel("detail"),g=+r.get("min"),A=+r.get("max");if(h.get("show")){var w=h.get("offsetCenter"),b=u.cx+v(w[0],u.r),S=u.cy+v(w[1],u.r),_=v(h.get("width"),u.r),T=v(h.get("height"),u.r),x=r.getData(),C=x.get(x.mapDimension("value"),0),I=s(d(C,[g,A],[0,1],!0));this.group.add(new m.Text({silent:!0,style:m.setTextStyle({},h,{x:b,y:S,text:n(C,h.get("formatter")),textWidth:isNaN(_)?null:_,textHeight:isNaN(T)?null:T,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),o=a;B.exports=o},"p77/":function(B,N,i){},pC0b:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("xzDV"),p=i.n(E),v=i("5Dmo")},"pED+":function(B,N,i){},pG52:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("WXVj"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},pLH3:function(B,N,i){var y=i("ProS");i("ALo7"),i("TWL2");var m=i("mOdp"),E=i("JLnu"),p=i("0/Rx");y.registerVisual(m("funnel")),y.registerLayout(E),y.registerProcessor(p("funnel"))},pP6R:function(B,N,i){var y=i("ProS"),m="\0_ec_interaction_mutex";function E(d,l,n){var t=f(d);t[l]=n}function p(d,l,n){var t=f(d),a=t[l];a===n&&(t[l]=null)}function v(d,l){return!!f(d)[l]}function f(d){return d[m]||(d[m]={})}y.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),N.take=E,N.release=p,N.isTaken=v},pmaE:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("DEFe"),v="__seriesMapHighDown",f="__seriesMapCallKey",d=y.extendChartView({type:"map",render:function(t,a,o,r){if(r&&r.type==="mapToggleSelect"&&r.from===this.uid)return;var c=this.group;if(c.removeAll(),t.getHostGeoModel())return;if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===t.id){var e=this._mapDraw;e&&c.add(e.group)}else if(t.needsDrawMap){var e=this._mapDraw||new p(o,!0);c.add(e.group),e.draw(t,a,o,this,r),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(t,a,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(t,a,o){var r=t.originalData,c=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,g=u.offset,A=new E.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:h[0]+g*9,cy:h[1],r:3},silent:!0,z2:8+(g?0:E.Z2_EMPHASIS_LIFT+1)});if(!g){var w=t.mainSeries.getData(),b=r.getName(s),S=w.indexOfName(b),_=r.getItemModel(s),T=_.getModel("label"),x=_.getModel("emphasis.label"),C=w.getItemGraphicEl(S),I=m.retrieve2(t.getFormattedLabel(S,"normal"),b),L=m.retrieve2(t.getFormattedLabel(S,"emphasis"),I),M=C[v],k=Math.random();if(!M){M=C[v]={};var R=m.curry(l,!0),j=m.curry(l,!1);C.on("mouseover",R).on("mouseout",j).on("emphasis",R).on("normal",j)}C[f]=k,m.extend(M,{recordVersion:k,circle:A,labelModel:T,hoverLabelModel:x,emphasisText:L,normalText:I}),n(M,!1)}c.add(A)})}});function l(t){var a=this[v];a&&a.recordVersion===this[f]&&n(a,t)}function n(t,a){var o=t.circle,r=t.labelModel,c=t.hoverLabelModel,e=t.emphasisText,s=t.normalText;a?(o.style.extendFrom(E.setTextStyle({},c,{text:c.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),o.__mapOriginalZ2=o.z2,o.z2+=E.Z2_EMPHASIS_LIFT):(E.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))}B.exports=d},pwpV:function(B,N,i){},pzxd:function(B,N,i){var y=i("bYtY"),m=y.retrieve2,E=y.retrieve3,p=y.each,v=y.normalizeCssArray,f=y.isString,d=y.isObject,l=i("6GrX"),n=i("VpOo"),t=i("Xnb7"),a=i("fW2E"),o=i("gut8"),r=o.ContextCachedBy,c=o.WILL_BE_RESTORED,e=l.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"]],g={},A={};function w(U){return b(U),p(U.rich,b),U}function b(U){if(U){U.font=l.makeFont(U);var G=U.textAlign;G==="middle"&&(G="center"),U.textAlign=G==null||s[G]?G:"left";var W=U.textVerticalAlign||U.textBaseline;W==="center"&&(W="middle"),U.textVerticalAlign=W==null||u[W]?W:"top";var Z=U.textPadding;Z&&(U.textPadding=v(U.textPadding))}}function S(U,G,W,Z,J,ve){Z.rich?T(U,G,W,Z,J,ve):_(U,G,W,Z,J,ve)}function _(U,G,W,Z,J,ve){"use strict";var q=L(Z),ce,be=!1,Ce=G.__attrCachedBy===r.PLAIN_TEXT;ve!==c?(ve&&(ce=ve.style,be=!q&&Ce&&ce),G.__attrCachedBy=q?r.NONE:r.PLAIN_TEXT):Ce&&(G.__attrCachedBy=r.NONE);var Fe=Z.font||e;(!be||Fe!==(ce.font||e))&&(G.font=Fe);var fe=U.__computedFont;U.__styleFont!==Fe&&(U.__styleFont=Fe,fe=U.__computedFont=G.font);var Ne=Z.textPadding,Q=Z.textLineHeight,ae=U.__textCotentBlock;(!ae||U.__dirtyText)&&(ae=U.__textCotentBlock=l.parsePlainText(W,fe,Ne,Q,Z.truncate));var Ue=ae.outerHeight,te=ae.lines,X=ae.lineHeight,z=R(A,U,Z,J),Y=z.baseX,pe=z.baseY,se=z.textAlign||"left",Te=z.textVerticalAlign;C(G,Z,J,Y,pe);var Se=l.adjustTextY(pe,Ue,Te),ie=Y,de=Se;if(q||Ne){var _e=l.getWidth(W,fe),We=_e;Ne&&(We+=Ne[1]+Ne[3]);var at=l.adjustTextX(Y,We,se);q&&M(U,G,Z,at,Se,We,Ue),Ne&&(ie=P(Y,se,Ne),de+=Ne[0])}G.textAlign=se,G.textBaseline="middle",G.globalAlpha=Z.opacity||1;for(var tt=0;tt<h.length;tt++){var Oe=h[tt],yt=Oe[0],Ye=Oe[1],bt=Z[yt];(!be||bt!==ce[yt])&&(G[Ye]=a(G,Ye,bt||Oe[2]))}de+=X/2;var Ct=Z.textStrokeWidth,It=be?ce.textStrokeWidth:null,Ft=!be||Ct!==It,Vt=!be||Ft||Z.textStroke!==ce.textStroke,$e=V(Z.textStroke,Ct),ge=D(Z.textFill);if($e&&(Ft&&(G.lineWidth=Ct),Vt&&(G.strokeStyle=$e)),ge&&((!be||Z.textFill!==ce.textFill)&&(G.fillStyle=ge)),te.length===1)$e&&G.strokeText(te[0],ie,de),ge&&G.fillText(te[0],ie,de);else for(var tt=0;tt<te.length;tt++)$e&&G.strokeText(te[tt],ie,de),ge&&G.fillText(te[tt],ie,de),de+=X}function T(U,G,W,Z,J,ve){ve!==c&&(G.__attrCachedBy=r.NONE);var q=U.__textCotentBlock;(!q||U.__dirtyText)&&(q=U.__textCotentBlock=l.parseRichText(W,Z)),x(U,G,q,Z,J)}function x(U,G,W,Z,J){var ve=W.width,q=W.outerWidth,ce=W.outerHeight,be=Z.textPadding,Ce=R(A,U,Z,J),Fe=Ce.baseX,fe=Ce.baseY,Ne=Ce.textAlign,Q=Ce.textVerticalAlign;C(G,Z,J,Fe,fe);var ae=l.adjustTextX(Fe,q,Ne),Ue=l.adjustTextY(fe,ce,Q),te=ae,X=Ue;be&&(te+=be[3],X+=be[0]);var z=te+ve;L(Z)&&M(U,G,Z,ae,Ue,q,ce);for(var Y=0;Y<W.lines.length;Y++){for(var pe=W.lines[Y],se=pe.tokens,Te=se.length,Se=pe.lineHeight,ie=pe.width,de=0,_e=te,We=z,at=Te-1,tt;de<Te&&(tt=se[de],!tt.textAlign||tt.textAlign==="left");)I(U,G,tt,Z,Se,X,_e,"left"),ie-=tt.width,_e+=tt.width,de++;for(;at>=0&&(tt=se[at],tt.textAlign==="right");)I(U,G,tt,Z,Se,X,We,"right"),ie-=tt.width,We-=tt.width,at--;for(_e+=(ve-(_e-te)-(z-We)-ie)/2;de<=at;)tt=se[de],I(U,G,tt,Z,Se,X,_e+tt.width/2,"center"),_e+=tt.width,de++;X+=Se}}function C(U,G,W,Z,J){if(W&&G.textRotation){var ve=G.textOrigin;ve==="center"?(Z=W.width/2+W.x,J=W.height/2+W.y):ve&&(Z=ve[0]+W.x,J=ve[1]+W.y),U.translate(Z,J),U.rotate(-G.textRotation),U.translate(-Z,-J)}}function I(U,G,W,Z,J,ve,q,ce){var be=Z.rich[W.styleName]||{};be.text=W.text;var Ce=W.textVerticalAlign,Fe=ve+J/2;Ce==="top"?Fe=ve+W.height/2:Ce==="bottom"&&(Fe=ve+J-W.height/2),!W.isLineHolder&&L(be)&&M(U,G,be,ce==="right"?q-W.width:ce==="center"?q-W.width/2:q,Fe-W.height/2,W.width,W.height);var fe=W.textPadding;fe&&(q=P(q,ce,fe),Fe-=W.height/2-fe[2]-W.textHeight/2),j(G,"shadowBlur",E(be.textShadowBlur,Z.textShadowBlur,0)),j(G,"shadowColor",be.textShadowColor||Z.textShadowColor||"transparent"),j(G,"shadowOffsetX",E(be.textShadowOffsetX,Z.textShadowOffsetX,0)),j(G,"shadowOffsetY",E(be.textShadowOffsetY,Z.textShadowOffsetY,0)),j(G,"textAlign",ce),j(G,"textBaseline","middle"),j(G,"font",W.font||e);var Ne=V(be.textStroke||Z.textStroke,ae),Q=D(be.textFill||Z.textFill),ae=m(be.textStrokeWidth,Z.textStrokeWidth);Ne&&(j(G,"lineWidth",ae),j(G,"strokeStyle",Ne),G.strokeText(W.text,q,Fe)),Q&&(j(G,"fillStyle",Q),G.fillText(W.text,q,Fe))}function L(U){return!!(U.textBackgroundColor||U.textBorderWidth&&U.textBorderColor)}function M(U,G,W,Z,J,ve,q){var ce=W.textBackgroundColor,be=W.textBorderWidth,Ce=W.textBorderColor,Fe=f(ce);if(j(G,"shadowBlur",W.textBoxShadowBlur||0),j(G,"shadowColor",W.textBoxShadowColor||"transparent"),j(G,"shadowOffsetX",W.textBoxShadowOffsetX||0),j(G,"shadowOffsetY",W.textBoxShadowOffsetY||0),Fe||be&&Ce){G.beginPath();var fe=W.textBorderRadius;fe?n.buildPath(G,{x:Z,y:J,width:ve,height:q,r:fe}):G.rect(Z,J,ve,q),G.closePath()}if(Fe)if(j(G,"fillStyle",ce),W.fillOpacity!=null){var Ne=G.globalAlpha;G.globalAlpha=W.fillOpacity*W.opacity,G.fill(),G.globalAlpha=Ne}else G.fill();else if(d(ce)){var Q=ce.image;Q=t.createOrUpdateImage(Q,null,U,k,ce),Q&&t.isImageReady(Q)&&G.drawImage(Q,Z,J,ve,q)}if(be&&Ce)if(j(G,"lineWidth",be),j(G,"strokeStyle",Ce),W.strokeOpacity!=null){var Ne=G.globalAlpha;G.globalAlpha=W.strokeOpacity*W.opacity,G.stroke(),G.globalAlpha=Ne}else G.stroke()}function k(U,G){G.image=U}function R(U,G,W,Z){var J=W.x||0,ve=W.y||0,q=W.textAlign,ce=W.textVerticalAlign;if(Z){var be=W.textPosition;if(be instanceof Array)J=Z.x+H(be[0],Z.width),ve=Z.y+H(be[1],Z.height);else{var Ce=G&&G.calculateTextPosition?G.calculateTextPosition(g,W,Z):l.calculateTextPosition(g,W,Z);J=Ce.x,ve=Ce.y,q=q||Ce.textAlign,ce=ce||Ce.textVerticalAlign}var Fe=W.textOffset;Fe&&(J+=Fe[0],ve+=Fe[1])}return U=U||{},U.baseX=J,U.baseY=ve,U.textAlign=q,U.textVerticalAlign=ce,U}function j(U,G,W){return U[G]=a(U,G,W),U[G]}function V(U,G){return U==null||G<=0||U==="transparent"||U==="none"?null:U.image||U.colorStops?"#000":U}function D(U){return U==null||U==="none"?null:U.image||U.colorStops?"#000":U}function H(U,G){return typeof U=="string"?U.lastIndexOf("%")>=0?parseFloat(U)/100*G:parseFloat(U):U}function P(U,G,W){return G==="right"?U-W[1]:G==="center"?U+W[3]/2-W[1]/2:U+W[3]}function K(U,G){return U!=null&&(U||G.textBackgroundColor||G.textBorderWidth&&G.textBorderColor||G.textPadding)}N.normalizeTextStyle=w,N.renderText=S,N.getBoxPosition=R,N.getStroke=V,N.getFill=D,N.parsePercent=H,N.needDrawText=K},"q/+u":function(B,N,i){var y=i("ProS"),m=i("9wZj"),E=i("yWXo"),p=i("h8O9");y.extendChartView({type:"scatter",render:function(v,f,d){var l=v.getData(),n=this._updateSymbolDraw(l,v);n.updateData(l,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,f,d){var l=v.getData(),n=this._updateSymbolDraw(l,v);n.incrementalPrepareUpdate(l),this._finished=!1},incrementalRender:function(v,f,d){this._symbolDraw.incrementalUpdate(v,f.getData(),{clipShape:this._getClipShape(f)}),this._finished=v.end===f.getData().count()},updateTransform:function(v,f,d){var l=v.getData();if(this.group.dirty(),!this._finished||l.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var n=p().reset(v);n.progress&&n.progress({start:0,end:l.count()},l),this._symbolDraw.updateLayout(l)},_getClipShape:function(v){var f=v.coordinateSystem,d=f&&f.getArea&&f.getArea();return v.get("clip",!0)?d:null},_updateSymbolDraw:function(v,f){var d=this._symbolDraw,l=f.pipelineContext,n=l.large;return(!d||n!==this._isLargeDraw)&&(d&&d.remove(),d=this._symbolDraw=n?new E:new m,this._isLargeDraw=n,this.group.removeAll()),this.group.add(d.group),d},remove:function(v,f){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(B,N){var i=["lineStyle","normal","opacity"],y={seriesType:"parallel",reset:function(m,E,p){var v=m.getModel("itemStyle"),f=m.getModel("lineStyle"),d=E.get("color"),l=f.get("color")||v.get("color")||d[m.seriesIndex%d.length],n=m.get("inactiveOpacity"),t=m.get("activeOpacity"),a=m.getModel("lineStyle").getLineStyle(),o=m.coordinateSystem,r=m.getData(),c={normal:a.opacity,active:t,inactive:n};r.setVisual("color",l);function e(s,u){o.eachActiveState(u,function(h,g){var A=c[h];if(h==="normal"&&u.hasItemOption){var w=u.getItemModel(g).get(i,!0);w!=null&&(A=w)}u.setItemVisual(g,"opacity",A)},s.start,s.end)}return{progress:e}}};B.exports=y},q4HE:function(B,N){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="["+i+"]",d="["+p+"]",l="\\ud83c[\\udffb-\\udfff]",n="(?:"+d+"|"+l+")",t="[^"+i+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",c=n+"?",e="["+v+"]?",s="(?:"+r+"(?:"+[t,a,o].join("|")+")"+e+c+")*",u=e+c+s,h="(?:"+[t+d+"?",d,a,o,f].join("|")+")",g=RegExp(l+"(?="+l+")|"+h+u,"g");function A(w){for(var b=g.lastIndex=0;g.test(w);)++b;return b}B.exports=A},q7KB:function(B,N,i){},qH13:function(B,N,i){var y=i("ItGF"),m=i("QBsz"),E=m.applyTransform,p=i("mFDi"),v=i("Qe9p"),f=i("6GrX"),d=i("pzxd"),l=i("ni6a"),n=i("Gev7"),t=i("Dagg"),a=i("dqUG"),o=i("y+Vt"),r=i("IMiH"),c=i("QuXc"),e=i("06Qe"),s=r.CMD,u=Math.round,h=Math.sqrt,g=Math.abs,A=Math.cos,w=Math.sin,b=Math.max;if(!y.canvasSupported){var S=",",_="progid:DXImageTransform.Microsoft",T=21600,x=T/2,C=1e5,I=1e3,L=function(pe){pe.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",pe.coordsize=T+","+T,pe.coordorigin="0,0"},M=function(pe){return String(pe).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},k=function(pe,se,Te){return"rgb("+[pe,se,Te].join(",")+")"},R=function(pe,se){se&&pe&&se.parentNode!==pe&&pe.appendChild(se)},j=function(pe,se){se&&pe&&se.parentNode===pe&&pe.removeChild(se)},V=function(pe,se,Te){return(parseFloat(pe)||0)*C+(parseFloat(se)||0)*I+Te},D=d.parsePercent,H=function(pe,se,Te){var Se=v.parse(se);Te=+Te,isNaN(Te)&&(Te=1),Se&&(pe.color=k(Se[0],Se[1],Se[2]),pe.opacity=Te*Se[3])},P=function(pe){var se=v.parse(pe);return[k(se[0],se[1],se[2]),se[3]]},K=function(pe,se,Te){var Se=se.fill;if(Se!=null)if(Se instanceof c){var ie,de=0,_e=[0,0],We=0,at=1,tt=Te.getBoundingRect(),Oe=tt.width,yt=tt.height;if(Se.type==="linear"){ie="gradient";var Ye=Te.transform,bt=[Se.x*Oe,Se.y*yt],Ct=[Se.x2*Oe,Se.y2*yt];Ye&&(E(bt,bt,Ye),E(Ct,Ct,Ye));var It=Ct[0]-bt[0],Ft=Ct[1]-bt[1];de=Math.atan2(It,Ft)*180/Math.PI,de<0&&(de+=360),de<1e-6&&(de=0)}else{ie="gradientradial";var bt=[Se.x*Oe,Se.y*yt],Ye=Te.transform,Vt=Te.scale,$e=Oe,ge=yt;_e=[(bt[0]-tt.x)/$e,(bt[1]-tt.y)/ge],Ye&&E(bt,bt,Ye),$e/=Vt[0]*T,ge/=Vt[1]*T;var ne=b($e,ge);We=2*0/ne,at=2*Se.r/ne-We}var wt=Se.colorStops.slice();wt.sort(function(rt,He){return rt.offset-He.offset});for(var qe=wt.length,he=[],kt=[],nr=0;nr<qe;nr++){var lt=wt[nr],Xt=P(lt.color);kt.push(lt.offset*at+We+" "+Xt[0]),(nr===0||nr===qe-1)&&he.push(Xt)}if(qe>=2){var hr=he[0][0],Wr=he[1][0],mt=he[0][1]*se.opacity,Et=he[1][1]*se.opacity;pe.type=ie,pe.method="none",pe.focus="100%",pe.angle=de,pe.color=hr,pe.color2=Wr,pe.colors=kt.join(","),pe.opacity=Et,pe.opacity2=mt}ie==="radial"&&(pe.focusposition=_e.join(","))}else H(pe,Se,se.opacity)},U=function(pe,se){se.lineDash&&(pe.dashstyle=se.lineDash.join(" ")),se.stroke!=null&&!(se.stroke instanceof c)&&H(pe,se.stroke,se.opacity)},G=function(pe,se,Te,Se){var ie=se==="fill",de=pe.getElementsByTagName(se)[0];Te[se]!=null&&Te[se]!=="none"&&(ie||!ie&&Te.lineWidth)?(pe[ie?"filled":"stroked"]="true",Te[se]instanceof c&&j(pe,de),de||(de=e.createNode(se)),ie?K(de,Te,Se):U(de,Te),R(pe,de)):(pe[ie?"filled":"stroked"]="false",j(pe,de))},W=[[],[],[]],Z=function(pe,se){var Te=s.M,Se=s.C,ie=s.L,de=s.A,_e=s.Q,We=[],at,tt,Oe,yt,Ye,bt,Ct=pe.data,It=pe.len();for(yt=0;yt<It;){Oe=Ct[yt++],tt="",at=0;switch(Oe){case Te:tt=" m ",at=1,Ye=Ct[yt++],bt=Ct[yt++],W[0][0]=Ye,W[0][1]=bt;break;case ie:tt=" l ",at=1,Ye=Ct[yt++],bt=Ct[yt++],W[0][0]=Ye,W[0][1]=bt;break;case _e:case Se:tt=" c ",at=3;var Ft=Ct[yt++],Vt=Ct[yt++],$e=Ct[yt++],ge=Ct[yt++],ne,wt;Oe===_e?(ne=$e,wt=ge,$e=($e+2*Ft)/3,ge=(ge+2*Vt)/3,Ft=(Ye+2*Ft)/3,Vt=(bt+2*Vt)/3):(ne=Ct[yt++],wt=Ct[yt++]),W[0][0]=Ft,W[0][1]=Vt,W[1][0]=$e,W[1][1]=ge,W[2][0]=ne,W[2][1]=wt,Ye=ne,bt=wt;break;case de:var qe=0,he=0,kt=1,nr=1,lt=0;se&&(qe=se[4],he=se[5],kt=h(se[0]*se[0]+se[1]*se[1]),nr=h(se[2]*se[2]+se[3]*se[3]),lt=Math.atan2(-se[1]/nr,se[0]/kt));var Xt=Ct[yt++],hr=Ct[yt++],Wr=Ct[yt++],mt=Ct[yt++],Et=Ct[yt++]+lt,rt=Ct[yt++]+Et+lt;yt++;var He=Ct[yt++],ze=Xt+A(Et)*Wr,Rt=hr+w(Et)*mt,Ft=Xt+A(rt)*Wr,Vt=hr+w(rt)*mt,sr=He?" wa ":" at ";Math.abs(ze-Ft)<1e-4&&(Math.abs(rt-Et)>.01?He&&(ze+=270/T):Math.abs(Rt-hr)<1e-4?He&&ze<Xt||!He&&ze>Xt?Vt-=270/T:Vt+=270/T:He&&Rt<hr||!He&&Rt>hr?Ft+=270/T:Ft-=270/T),We.push(sr,u(((Xt-Wr)*kt+qe)*T-x),S,u(((hr-mt)*nr+he)*T-x),S,u(((Xt+Wr)*kt+qe)*T-x),S,u(((hr+mt)*nr+he)*T-x),S,u((ze*kt+qe)*T-x),S,u((Rt*nr+he)*T-x),S,u((Ft*kt+qe)*T-x),S,u((Vt*nr+he)*T-x)),Ye=Ft,bt=Vt;break;case s.R:var Jt=W[0],qt=W[1];Jt[0]=Ct[yt++],Jt[1]=Ct[yt++],qt[0]=Jt[0]+Ct[yt++],qt[1]=Jt[1]+Ct[yt++],se&&(E(Jt,Jt,se),E(qt,qt,se)),Jt[0]=u(Jt[0]*T-x),qt[0]=u(qt[0]*T-x),Jt[1]=u(Jt[1]*T-x),qt[1]=u(qt[1]*T-x),We.push(" m ",Jt[0],S,Jt[1]," l ",qt[0],S,Jt[1]," l ",qt[0],S,qt[1]," l ",Jt[0],S,qt[1]);break;case s.Z:We.push(" x ")}if(at>0){We.push(tt);for(var qr=0;qr<at;qr++){var Fr=W[qr];se&&E(Fr,Fr,se),We.push(u(Fr[0]*T-x),S,u(Fr[1]*T-x),qr<at-1?S:"")}}}return We.join("")};o.prototype.brushVML=function(Y){var pe=this.style,se=this._vmlEl;se||(se=e.createNode("shape"),L(se),this._vmlEl=se),G(se,"fill",pe,this),G(se,"stroke",pe,this);var Te=this.transform,Se=Te!=null,ie=se.getElementsByTagName("stroke")[0];if(ie){var de=pe.lineWidth;if(Se&&!pe.strokeNoScale){var _e=Te[0]*Te[3]-Te[1]*Te[2];de*=h(g(_e))}ie.weight=de+"px"}var We=this.path||(this.path=new r);this.__dirtyPath&&(We.beginPath(),We.subPixelOptimize=!1,this.buildPath(We,this.shape),We.toStatic(),this.__dirtyPath=!1),se.path=Z(We,this.transform),se.style.zIndex=V(this.zlevel,this.z,this.z2),R(Y,se),pe.text!=null?this.drawRectText(Y,this.getBoundingRect()):this.removeRectText(Y)},o.prototype.onRemove=function(Y){j(Y,this._vmlEl),this.removeRectText(Y)},o.prototype.onAdd=function(Y){R(Y,this._vmlEl),this.appendRectText(Y)};var J=function(pe){return typeof pe=="object"&&pe.tagName&&pe.tagName.toUpperCase()==="IMG"};t.prototype.brushVML=function(Y){var pe=this.style,se=pe.image,Te,Se;if(J(se)){var ie=se.src;if(ie===this._imageSrc)Te=this._imageWidth,Se=this._imageHeight;else{var de=se.runtimeStyle,_e=de.width,We=de.height;de.width="auto",de.height="auto",Te=se.width,Se=se.height,de.width=_e,de.height=We,this._imageSrc=ie,this._imageWidth=Te,this._imageHeight=Se}se=ie}else se===this._imageSrc&&(Te=this._imageWidth,Se=this._imageHeight);if(!se)return;var at=pe.x||0,tt=pe.y||0,Oe=pe.width,yt=pe.height,Ye=pe.sWidth,bt=pe.sHeight,Ct=pe.sx||0,It=pe.sy||0,Ft=Ye&&bt,Vt=this._vmlEl;Vt||(Vt=e.doc.createElement("div"),L(Vt),this._vmlEl=Vt);var $e=Vt.style,ge=!1,ne,wt=1,qe=1;if(this.transform&&(ne=this.transform,wt=h(ne[0]*ne[0]+ne[1]*ne[1]),qe=h(ne[2]*ne[2]+ne[3]*ne[3]),ge=ne[1]||ne[2]),ge){var he=[at,tt],kt=[at+Oe,tt],nr=[at,tt+yt],lt=[at+Oe,tt+yt];E(he,he,ne),E(kt,kt,ne),E(nr,nr,ne),E(lt,lt,ne);var Xt=b(he[0],kt[0],nr[0],lt[0]),hr=b(he[1],kt[1],nr[1],lt[1]),Wr=[];Wr.push("M11=",ne[0]/wt,S,"M12=",ne[2]/qe,S,"M21=",ne[1]/wt,S,"M22=",ne[3]/qe,S,"Dx=",u(at*wt+ne[4]),S,"Dy=",u(tt*qe+ne[5])),$e.padding="0 "+u(Xt)+"px "+u(hr)+"px 0",$e.filter=_+".Matrix("+Wr.join("")+", SizingMethod=clip)"}else ne&&(at=at*wt+ne[4],tt=tt*qe+ne[5]),$e.filter="",$e.left=u(at)+"px",$e.top=u(tt)+"px";var mt=this._imageEl,Et=this._cropEl;mt||(mt=e.doc.createElement("div"),this._imageEl=mt);var rt=mt.style;if(Ft){if(Te&&Se)rt.width=u(wt*Te*Oe/Ye)+"px",rt.height=u(qe*Se*yt/bt)+"px";else{var He=new Image,ze=this;He.onload=function(){He.onload=null,Te=He.width,Se=He.height,rt.width=u(wt*Te*Oe/Ye)+"px",rt.height=u(qe*Se*yt/bt)+"px",ze._imageWidth=Te,ze._imageHeight=Se,ze._imageSrc=se},He.src=se}Et||(Et=e.doc.createElement("div"),Et.style.overflow="hidden",this._cropEl=Et);var Rt=Et.style;Rt.width=u((Oe+Ct*Oe/Ye)*wt),Rt.height=u((yt+It*yt/bt)*qe),Rt.filter=_+".Matrix(Dx="+-Ct*Oe/Ye*wt+",Dy="+-It*yt/bt*qe+")",Et.parentNode||Vt.appendChild(Et),mt.parentNode!==Et&&Et.appendChild(mt)}else rt.width=u(wt*Oe)+"px",rt.height=u(qe*yt)+"px",Vt.appendChild(mt),Et&&Et.parentNode&&(Vt.removeChild(Et),this._cropEl=null);var sr="",Jt=pe.opacity;Jt<1&&(sr+=".Alpha(opacity="+u(Jt*100)+") "),sr+=_+".AlphaImageLoader(src="+se+", SizingMethod=scale)",rt.filter=sr,Vt.style.zIndex=V(this.zlevel,this.z,this.z2),R(Y,Vt),pe.text!=null&&this.drawRectText(Y,this.getBoundingRect())},t.prototype.onRemove=function(Y){j(Y,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Y)},t.prototype.onAdd=function(Y){R(Y,this._vmlEl),this.appendRectText(Y)};var ve="normal",q={},ce=0,be=100,Ce=document.createElement("div"),Fe=function(pe){var se=q[pe];if(!se){ce>be&&(ce=0,q={});var Te=Ce.style,Se;try{Te.font=pe,Se=Te.fontFamily.split(",")[0]}catch(ie){}se={style:Te.fontStyle||ve,variant:Te.fontVariant||ve,weight:Te.fontWeight||ve,size:parseFloat(Te.fontSize||12)|0,family:Se||"Microsoft YaHei"},q[pe]=se,ce++}return se},fe;f.$override("measureText",function(Y,pe){var se=e.doc;fe||(fe=se.createElement("div"),fe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(fe));try{fe.style.font=pe}catch(Te){}return fe.innerHTML="",fe.appendChild(se.createTextNode(Y)),{width:fe.offsetWidth}});for(var Ne=new p,Q=function(pe,se,Te,Se){var ie=this.style;this.__dirty&&d.normalizeTextStyle(ie,!0);var de=ie.text;if(de!=null&&(de+=""),!de)return;if(ie.rich){var _e=f.parseRichText(de,ie);de=[];for(var We=0;We<_e.lines.length;We++){for(var at=_e.lines[We].tokens,tt=[],Oe=0;Oe<at.length;Oe++)tt.push(at[Oe].text);de.push(tt.join(""))}de=de.join(`
`)}var yt,Ye,bt=ie.textAlign,Ct=ie.textVerticalAlign,It=Fe(ie.font),Ft=It.style+" "+It.variant+" "+It.weight+" "+It.size+'px "'+It.family+'"';Te=Te||f.getBoundingRect(de,Ft,bt,Ct,ie.textPadding,ie.textLineHeight);var Vt=this.transform;if(Vt&&!Se&&(Ne.copy(se),Ne.applyTransform(Vt),se=Ne),Se)yt=se.x,Ye=se.y;else{var $e=ie.textPosition;if($e instanceof Array)yt=se.x+D($e[0],se.width),Ye=se.y+D($e[1],se.height),bt=bt||"left";else{var ge=this.calculateTextPosition?this.calculateTextPosition({},ie,se):f.calculateTextPosition({},ie,se);yt=ge.x,Ye=ge.y,bt=bt||ge.textAlign,Ct=Ct||ge.textVerticalAlign}}yt=f.adjustTextX(yt,Te.width,bt),Ye=f.adjustTextY(Ye,Te.height,Ct),Ye+=Te.height/2;var ne=e.createNode,wt=this._textVmlEl,qe,he,kt;wt?(kt=wt.firstChild,qe=kt.nextSibling,he=qe.nextSibling):(wt=ne("line"),qe=ne("path"),he=ne("textpath"),kt=ne("skew"),he.style["v-text-align"]="left",L(wt),qe.textpathok=!0,he.on=!0,wt.from="0 0",wt.to="1000 0.05",R(wt,kt),R(wt,qe),R(wt,he),this._textVmlEl=wt);var nr=[yt,Ye],lt=wt.style;Vt&&Se?(E(nr,nr,Vt),kt.on=!0,kt.matrix=Vt[0].toFixed(3)+S+Vt[2].toFixed(3)+S+Vt[1].toFixed(3)+S+Vt[3].toFixed(3)+",0,0",kt.offset=(u(nr[0])||0)+","+(u(nr[1])||0),kt.origin="0 0",lt.left="0px",lt.top="0px"):(kt.on=!1,lt.left=u(yt)+"px",lt.top=u(Ye)+"px"),he.string=M(de);try{he.style.font=Ft}catch(Xt){}G(wt,"fill",{fill:ie.textFill,opacity:ie.opacity},this),G(wt,"stroke",{stroke:ie.textStroke,opacity:ie.opacity,lineDash:ie.lineDash||null},this),wt.style.zIndex=V(this.zlevel,this.z,this.z2),R(pe,wt)},ae=function(pe){j(pe,this._textVmlEl),this._textVmlEl=null},Ue=function(pe){R(pe,this._textVmlEl)},te=[l,n,t,o,a],X=0;X<te.length;X++){var z=te[X].prototype;z.drawRectText=Q,z.removeRectText=ae,z.appendRectText=Ue}a.prototype.brushVML=function(Y){var pe=this.style;pe.text!=null?this.drawRectText(Y,{x:pe.x||0,y:pe.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Y)},a.prototype.onRemove=function(Y){this.removeRectText(Y)},a.prototype.onAdd=function(Y){this.appendRectText(Y)}}},qJCg:function(B,N,i){var y=i("BlVb"),m=i("mFDi"),E=i("IwbS"),p=E.linePolygonIntersect,v={lineX:f(0),lineY:f(1),rect:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])},rect:function(n,t,a){return n&&a.boundingRect.intersect(n)}},polygon:{point:function(n,t,a){return n&&a.boundingRect.contain(n[0],n[1])&&y.contain(a.range,n[0],n[1])},rect:function(n,t,a){var o=a.range;if(!n||o.length<=1)return!1;var r=n.x,c=n.y,e=n.width,s=n.height,u=o[0];if(y.contain(o,r,c)||y.contain(o,r+e,c)||y.contain(o,r,c+s)||y.contain(o,r+e,c+s)||m.create(n).contain(u[0],u[1])||p(r,c,r+e,c,o)||p(r,c,r,c+s,o)||p(r+e,c,r+e,c+s,o)||p(r,c+s,r+e,c+s,o))return!0}}};function f(n){var t=["x","y"],a=["width","height"];return{point:function(o,r,c){if(o){var e=c.range,s=o[n];return d(s,e)}},rect:function(o,r,c){if(o){var e=c.range,s=[o[t[n]],o[t[n]]+o[a[n]]];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(n,t){return t[0]<=n&&n<=t[1]}var l=v;B.exports=l},qMZE:function(B,N,i){var y=i("JEkh"),m=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}}}});B.exports=m},qNPg:function(B,N,i){"use strict";i.d(N,"a",function(){return W});var y=i("rePB"),m=i("VTBJ"),E=i("KQm4"),p=i("ODXe"),v=i("Ff2n"),f=i("q1tI"),d=i("4IlW"),l=i("TSYQ"),n=i.n(l),t=i("6cGi"),a=i("bX4T"),o=i("8XRh"),r=i("8OUc"),c=i("c+Xe"),e=function(J,ve){var q=J.prefixCls,ce=J.id,be=J.inputElement,Ce=J.disabled,Fe=J.tabIndex,fe=J.autoFocus,Ne=J.autoComplete,Q=J.editable,ae=J.accessibilityIndex,Ue=J.value,te=J.onKeyDown,X=J.onMouseDown,z=J.onChange,Y=J.onPaste,pe=J.onCompositionStart,se=J.onCompositionEnd,Te=J.open,Se=J.attrs,ie=be||f.createElement("input",null),de=ie,_e=de.ref,We=de.props,at=We.onKeyDown,tt=We.onChange,Oe=We.onMouseDown,yt=We.onCompositionStart,Ye=We.onCompositionEnd,bt=We.style;return ie=f.cloneElement(ie,Object(m.a)(Object(m.a)({id:ce,ref:Object(c.a)(ve,_e),disabled:Ce,tabIndex:Fe,autoComplete:Ne||"off",autoFocus:fe,className:"".concat(q,"-selection-search-input"),style:Object(m.a)(Object(m.a)({},bt),{},{opacity:Q?null:0}),role:"combobox","aria-expanded":Te,"aria-haspopup":"listbox","aria-owns":"".concat(ce,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ce,"_list"),"aria-activedescendant":"".concat(ce,"_list_").concat(ae)},Se),{},{value:Q?Ue:"",readOnly:!Q,unselectable:Q?null:"on",onKeyDown:function(It){te(It),at&&at(It)},onMouseDown:function(It){X(It),Oe&&Oe(It)},onChange:function(It){z(It),tt&&tt(It)},onCompositionStart:function(It){pe(It),yt&&yt(It)},onCompositionEnd:function(It){se(It),Ye&&Ye(It)},onPaste:Y})),ie},s=f.forwardRef(e);s.displayName="Input";var u=s,h=i("WKfj");function g(Z,J){h.b?f.useLayoutEffect(Z,J):f.useEffect(Z,J)}var A="__RC_SELECT_MAX_REST_COUNT__",w=function(J){var ve=J.id,q=J.prefixCls,ce=J.values,be=J.open,Ce=J.searchValue,Fe=J.inputRef,fe=J.placeholder,Ne=J.disabled,Q=J.mode,ae=J.showSearch,Ue=J.autoFocus,te=J.autoComplete,X=J.accessibilityIndex,z=J.tabIndex,Y=J.removeIcon,pe=J.choiceTransitionName,se=J.maxTagCount,Te=J.maxTagTextLength,Se=J.maxTagPlaceholder,ie=Se===void 0?function(Xt){return"+ ".concat(Xt.length," ...")}:Se,de=J.tagRender,_e=J.onSelect,We=J.onInputChange,at=J.onInputPaste,tt=J.onInputKeyDown,Oe=J.onInputMouseDown,yt=J.onInputCompositionStart,Ye=J.onInputCompositionEnd,bt=f.useState(!1),Ct=Object(p.a)(bt,2),It=Ct[0],Ft=Ct[1],Vt=f.useRef(null),$e=f.useState(0),ge=Object(p.a)($e,2),ne=ge[0],wt=ge[1];f.useEffect(function(){Ft(!0)},[]);var qe=be||Q==="tags"?Ce:"",he=Q==="tags"||be&&ae;g(function(){wt(Vt.current.scrollWidth)},[qe]);var kt=ce,nr;typeof se=="number"&&(nr=ce.length-se,kt=ce.slice(0,se)),typeof Te=="number"&&(kt=kt.map(function(Xt){var hr=Xt.label,Wr=Object(v.a)(Xt,["label"]),mt=hr;if(typeof hr=="string"||typeof hr=="number"){var Et=String(mt);Et.length>Te&&(mt="".concat(Et.slice(0,Te),"..."))}return Object(m.a)(Object(m.a)({},Wr),{},{label:mt})})),nr>0&&kt.push({key:A,label:typeof ie=="function"?ie(ce.slice(se)):ie});var lt=f.createElement(o.CSSMotionList,{component:!1,keys:kt,motionName:pe,motionAppear:It},function(Xt){var hr=Xt.key,Wr=Xt.label,mt=Xt.value,Et=Xt.disabled,rt=Xt.className,He=Xt.style,ze=hr||mt,Rt=hr!==A&&!Et,sr=function(qr){qr.preventDefault(),qr.stopPropagation()},Jt=function(qr){qr&&qr.stopPropagation(),_e(mt,{selected:!1})};return typeof de=="function"?f.createElement("span",{key:ze,onMouseDown:sr,className:rt,style:He},de({label:Wr,value:mt,disabled:Et,closable:Rt,onClose:Jt})):f.createElement("span",{key:ze,className:n()(rt,"".concat(q,"-selection-item"),Object(y.a)({},"".concat(q,"-selection-item-disabled"),Et)),style:He},f.createElement("span",{className:"".concat(q,"-selection-item-content")},Wr),Rt&&f.createElement(r.a,{className:"".concat(q,"-selection-item-remove"),onMouseDown:sr,onClick:Jt,customizeIcon:Y},"\xD7"))});return f.createElement(f.Fragment,null,lt,f.createElement("span",{className:"".concat(q,"-selection-search"),style:{width:ne}},f.createElement(u,{ref:Fe,open:be,prefixCls:q,id:ve,inputElement:null,disabled:Ne,autoFocus:Ue,autoComplete:te,editable:he,accessibilityIndex:X,value:qe,onKeyDown:tt,onMouseDown:Oe,onChange:We,onPaste:at,onCompositionStart:yt,onCompositionEnd:Ye,tabIndex:z,attrs:Object(a.a)(J,!0)}),f.createElement("span",{ref:Vt,className:"".concat(q,"-selection-search-mirror"),"aria-hidden":!0},qe,"\xA0")),!ce.length&&!qe&&f.createElement("span",{className:"".concat(q,"-selection-placeholder")},fe))},b=w,S=function(J){var ve=J.inputElement,q=J.prefixCls,ce=J.id,be=J.inputRef,Ce=J.disabled,Fe=J.autoFocus,fe=J.autoComplete,Ne=J.accessibilityIndex,Q=J.mode,ae=J.open,Ue=J.values,te=J.placeholder,X=J.tabIndex,z=J.showSearch,Y=J.searchValue,pe=J.activeValue,se=J.onInputKeyDown,Te=J.onInputMouseDown,Se=J.onInputChange,ie=J.onInputPaste,de=J.onInputCompositionStart,_e=J.onInputCompositionEnd,We=f.useState(!1),at=Object(p.a)(We,2),tt=at[0],Oe=at[1],yt=Q==="combobox",Ye=yt||z&&ae,bt=Ue[0],Ct=Y||"";yt&&pe&&!tt&&(Ct=pe),f.useEffect(function(){yt&&Oe(!1)},[yt,pe]);var It=Q!=="combobox"&&!ae?!1:!!Ct,Ft=bt&&(typeof bt.label=="string"||typeof bt.label=="number")?bt.label.toString():void 0;return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(q,"-selection-search")},f.createElement(u,{ref:be,prefixCls:q,id:ce,open:ae,inputElement:ve,disabled:Ce,autoFocus:Fe,autoComplete:fe,editable:Ye,accessibilityIndex:Ne,value:Ct,onKeyDown:se,onMouseDown:Te,onChange:function($e){Oe(!0),Se($e)},onPaste:ie,onCompositionStart:de,onCompositionEnd:_e,tabIndex:X,attrs:Object(a.a)(J,!0)})),!yt&&bt&&!It&&f.createElement("span",{className:"".concat(q,"-selection-item"),title:Ft},bt.label),!bt&&!It&&f.createElement("span",{className:"".concat(q,"-selection-placeholder")},te))},_=S;function T(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=f.useRef(null),ve=f.useRef(null);f.useEffect(function(){return function(){window.clearTimeout(ve.current)}},[]);function q(ce){(ce||J.current===null)&&(J.current=ce),window.clearTimeout(ve.current),ve.current=window.setTimeout(function(){J.current=null},Z)}return[function(){return J.current},q]}var x=function(J,ve){var q=Object(f.useRef)(null),ce=Object(f.useRef)(!1),be=J.prefixCls,Ce=J.multiple,Fe=J.open,fe=J.mode,Ne=J.showSearch,Q=J.tokenWithEnter,ae=J.onSearch,Ue=J.onSearchSubmit,te=J.onToggleOpen,X=J.onInputKeyDown,z=J.domRef;f.useImperativeHandle(ve,function(){return{focus:function(){q.current.focus()},blur:function(){q.current.blur()}}});var Y=T(0),pe=Object(p.a)(Y,2),se=pe[0],Te=pe[1],Se=function(It){var Ft=It.which;(Ft===d.a.UP||Ft===d.a.DOWN)&&It.preventDefault(),X&&X(It),Ft===d.a.ENTER&&fe==="tags"&&!ce.current&&!Fe&&Ue(It.target.value),[d.a.SHIFT,d.a.TAB,d.a.BACKSPACE,d.a.ESC].includes(Ft)||te(!0)},ie=function(){Te(!0)},de=Object(f.useRef)(null),_e=function(It){ae(It,!0,ce.current)!==!1&&te(!0)},We=function(){ce.current=!0},at=function(){ce.current=!1},tt=function(It){var Ft=It.target.value;if(Q&&de.current&&/[\r\n]/.test(de.current)){var Vt=de.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ft=Ft.replace(Vt,de.current)}de.current=null,_e(Ft)},Oe=function(It){var Ft=It.clipboardData,Vt=Ft.getData("text");de.current=Vt},yt=function(It){var Ft=se();if(It.target!==q.current){Ft||It.preventDefault();var Vt=document.body.style.msTouchAction!==void 0;Vt?setTimeout(function(){q.current.focus()}):q.current.focus()}(fe!=="combobox"&&(!Ne||!Ft)||!Fe)&&(Fe&&ae("",!0,!1),te())},Ye={inputRef:q,onInputKeyDown:Se,onInputMouseDown:ie,onInputChange:tt,onInputPaste:Oe,onInputCompositionStart:We,onInputCompositionEnd:at},bt=Ce?f.createElement(b,Object.assign({},J,Ye)):f.createElement(_,Object.assign({},J,Ye));return f.createElement("div",{ref:z,className:"".concat(be,"-selector"),onMouseDown:yt},bt)},C=f.forwardRef(x);C.displayName="Selector";var I=C,L=i("uciX"),M=function(J){var ve=typeof J!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ve,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ve,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ve,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ve,adjustY:1}}}},k=function(J,ve){var q=J.prefixCls,ce=J.disabled,be=J.visible,Ce=J.children,Fe=J.popupElement,fe=J.containerWidth,Ne=J.animation,Q=J.transitionName,ae=J.dropdownStyle,Ue=J.dropdownClassName,te=J.direction,X=te===void 0?"ltr":te,z=J.dropdownMatchSelectWidth,Y=z===void 0?!0:z,pe=J.dropdownRender,se=J.dropdownAlign,Te=J.getPopupContainer,Se=J.empty,ie=J.getTriggerDOMNode,de=Object(v.a)(J,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),_e="".concat(q,"-dropdown"),We=Fe;pe&&(We=pe(Fe));var at=f.useMemo(function(){return M(Y)},[Y]),tt=Ne?"".concat(_e,"-").concat(Ne):Q,Oe=f.useRef(null);f.useImperativeHandle(ve,function(){return{getPopupElement:function(){return Oe.current}}});var yt=Object(m.a)({minWidth:fe},ae);return typeof Y=="number"?yt.width=Y:Y&&(yt.width=fe),f.createElement(L.a,Object.assign({},de,{showAction:[],hideAction:[],popupPlacement:X==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:at,prefixCls:_e,popupTransitionName:tt,popup:f.createElement("div",{ref:Oe},We),popupAlign:se,popupVisible:be,getPopupContainer:Te,popupClassName:n()(Ue,Object(y.a)({},"".concat(_e,"-empty"),Se)),popupStyle:yt,getTriggerDOMNode:ie}),Ce)},R=f.forwardRef(k);R.displayName="SelectTrigger";var j=R,V=i("wPlo");function D(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=f.useState(!1),ve=Object(p.a)(J,2),q=ve[0],ce=ve[1],be=f.useRef(null),Ce=function(){window.clearTimeout(be.current)};f.useEffect(function(){return Ce},[]);var Fe=function(Ne,Q){Ce(),be.current=window.setTimeout(function(){ce(Ne),Q&&Q()},Z)};return[q,Fe,Ce]}var H=i("2Qr1");function P(Z,J,ve){var q=f.useRef(null);q.current={elements:Z.filter(function(ce){return ce}),open:J,triggerOpen:ve},f.useEffect(function(){function ce(be){var Ce=be.target;q.current.open&&q.current.elements.every(function(Fe){return!Fe.contains(Ce)&&Fe!==Ce})&&q.current.triggerOpen(!1)}return window.addEventListener("mousedown",ce),function(){return window.removeEventListener("mousedown",ce)}},[])}function K(Z){var J=f.useRef(Z),ve=f.useMemo(function(){var q=new Map;J.current.forEach(function(be){var Ce=be.value,Fe=be.label;Ce!==Fe&&q.set(Ce,Fe)});var ce=Z.map(function(be){var Ce=q.get(be.value);return be.value===be.label&&Ce?Object(m.a)(Object(m.a)({},be),{},{label:Ce}):be});return J.current=ce,ce},[Z]);return ve}function U(Z,J){var ve=f.useRef(null),q=f.useMemo(function(){var be=new Map;return J.forEach(function(Ce){var Fe=Ce.data.value;be.set(Fe,Ce)}),be},[Z,J]);ve.current=q;var ce=function(Ce){return Ce.map(function(Fe){return ve.current.get(Fe)}).filter(Boolean)};return ce}var G=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function W(Z){var J=Z.prefixCls,ve=Z.components.optionList,q=Z.convertChildrenToData,ce=Z.flattenOptions,be=Z.getLabeledValue,Ce=Z.filterOptions,Fe=Z.isValueDisabled,fe=Z.findValueOption,Ne=Z.warningProps,Q=Z.fillOptionsWithMissingValue,ae=Z.omitDOMProps;function Ue(X,z){var Y,pe=X.prefixCls,se=pe===void 0?J:pe,Te=X.className,Se=X.id,ie=X.open,de=X.defaultOpen,_e=X.options,We=X.children,at=X.mode,tt=X.value,Oe=X.defaultValue,yt=X.labelInValue,Ye=X.showSearch,bt=X.inputValue,Ct=X.searchValue,It=X.filterOption,Ft=X.optionFilterProp,Vt=Ft===void 0?"value":Ft,$e=X.autoClearSearchValue,ge=$e===void 0?!0:$e,ne=X.onSearch,wt=X.allowClear,qe=X.clearIcon,he=X.showArrow,kt=X.inputIcon,nr=X.menuItemSelectedIcon,lt=X.disabled,Xt=X.loading,hr=X.defaultActiveFirstOption,Wr=X.notFoundContent,mt=Wr===void 0?"Not Found":Wr,Et=X.optionLabelProp,rt=X.backfill,He=X.getInputElement,ze=X.getPopupContainer,Rt=X.listHeight,sr=Rt===void 0?200:Rt,Jt=X.listItemHeight,qt=Jt===void 0?20:Jt,qr=X.animation,Fr=X.transitionName,mn=X.virtual,Tt=X.dropdownStyle,St=X.dropdownClassName,Re=X.dropdownMatchSelectWidth,Ve=X.dropdownRender,Xe=X.dropdownAlign,ct=X.showAction,tr=ct===void 0?[]:ct,ir=X.direction,or=X.tokenSeparators,Xr=X.tagRender,Yr=X.onPopupScroll,bn=X.onDropdownVisibleChange,Yt=X.onFocus,pt=X.onBlur,ht=X.onKeyUp,Zt=X.onKeyDown,$t=X.onMouseDown,At=X.onChange,Pt=X.onSelect,gt=X.onDeselect,Wt=X.onClear,yr=X.internalProps,cr=yr===void 0?{}:yr,pr=Object(v.a)(X,["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"]),Qr=cr.mark===V.a,$r=ae?ae(pr):pr;G.forEach(function(Pn){delete $r[Pn]});var Ln=Object(f.useRef)(null),Mn=Object(f.useRef)(null),Vn=Object(f.useRef)(null),ii=Object(f.useRef)(null),Li=Object(f.useMemo)(function(){return(or||[]).some(function(Pn){return[`
`,`\r
`].includes(Pn)})},[or]),Pi=D(),Ze=Object(p.a)(Pi,3),xe=Ze[0],Me=Ze[1],ke=Ze[2],Ge=Object(f.useState)(),Ke=Object(p.a)(Ge,2),Je=Ke[0],vt=Ke[1];Object(f.useEffect)(function(){vt("rc_select_".concat(Object(h.a)()))},[]);var ot=Se||Je,Ut=Et;Ut===void 0&&(Ut=_e?"label":"children");var br=at==="combobox"?!1:yt,Ar=at==="tags"||at==="multiple",Or=Ye!==void 0?Ye:Ar||at==="combobox",zt=Object(f.useRef)(null);f.useImperativeHandle(z,function(){return{focus:Vn.current.focus,blur:Vn.current.blur}});var un=Object(t.a)(Oe,{value:tt}),lr=Object(p.a)(un,2),Vr=lr[0],Br=lr[1],Sr=Object(f.useMemo)(function(){return Object(h.e)(Vr,{labelInValue:br,combobox:at==="combobox"})},[Vr,br]),xn=Object(f.useMemo)(function(){return new Set(Sr)},[Sr]),Hn=Object(f.useState)(null),ai=Object(p.a)(Hn,2),si=ai[0],Yn=ai[1],Wn=Object(f.useState)(""),Dn=Object(p.a)(Wn,2),vi=Dn[0],gn=Dn[1],Kr=vi;at==="combobox"&&Vr!==void 0?Kr=Vr:Ct!==void 0?Kr=Ct:bt&&(Kr=bt);var En=Object(f.useMemo)(function(){var Pn=_e;return Pn===void 0&&(Pn=q(We)),at==="tags"&&Q&&(Pn=Q(Pn,Vr,Ut,yt)),Pn||[]},[_e,We,at,Vr]),sn=Object(f.useMemo)(function(){return ce(En,X)},[En]),li=U(Sr,sn),ni=Object(f.useMemo)(function(){if(!Kr||!Or)return Object(E.a)(En);var Pn=Ce(Kr,En,{optionFilterProp:Vt,filterOption:at==="combobox"&&It===void 0?function(){return!0}:It});return at==="tags"&&Pn.every(function(_i){return _i[Vt]!==Kr})&&Pn.unshift({value:Kr,label:Kr,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Pn},[En,Kr,at,Or]),yi=Object(f.useMemo)(function(){return ce(ni,X)},[ni]);Object(f.useEffect)(function(){ii.current&&ii.current.scrollTo&&ii.current.scrollTo(0)},[Kr]);var Xn=Object(f.useMemo)(function(){var Pn=Sr.map(function(_i){var ji=li([_i]),mr=be(_i,{options:ji,prevValue:Vr,labelInValue:br,optionLabelProp:Ut});return Object(m.a)(Object(m.a)({},mr),{},{disabled:Fe(_i,ji)})});return!at&&Pn.length===1&&Pn[0].value===null&&Pn[0].label===null?[]:Pn},[Vr,En,at]);Xn=K(Xn);var ki=function(_i,ji,mr){var Dr=li([_i]),Gr=fe([_i],Dr)[0];if(!cr.skipTriggerSelect){var Nr=br?be(_i,{options:Dr,prevValue:Vr,labelInValue:br,optionLabelProp:Ut}):_i;ji&&Pt?Pt(Nr,Gr):!ji&&gt&&gt(Nr,Gr)}Qr&&(ji&&cr.onRawSelect?cr.onRawSelect(_i,Gr,mr):!ji&&cr.onRawDeselect&&cr.onRawDeselect(_i,Gr,mr))},wi=Object(f.useState)([]),Ji=Object(p.a)(wi,2),An=Ji[0],Ur=Ji[1],Cn=function(_i){if(Qr&&cr.skipTriggerChange)return;var ji=li(_i),mr=Object(h.f)(Array.from(_i),{labelInValue:br,options:ji,getLabeledValue:be,prevValue:Vr,optionLabelProp:Ut}),Dr=Ar?mr:mr[0];if(At&&(Sr.length!==0||mr.length!==0)){var Gr=fe(_i,ji,{prevValueOptions:An});Ur(Gr.map(function(Nr,Gt){var xr=Object(m.a)({},Nr);return Object.defineProperty(xr,"_INTERNAL_OPTION_VALUE_",{get:function(){return _i[Gt]}}),xr})),At(Dr,Ar?Gr:Gr[0])}Br(Dr)},Un=function(_i,ji){var mr=ji.selected,Dr=ji.source;if(lt)return;var Gr;Ar?(Gr=new Set(Sr),mr?Gr.add(_i):Gr.delete(_i)):(Gr=new Set,Gr.add(_i)),(Ar||!Ar&&Array.from(Sr)[0]!==_i)&&Cn(Array.from(Gr)),ki(_i,!Ar||mr,Dr),at==="combobox"?(gn(String(_i)),Yn("")):(!Ar||ge)&&(gn(""),Yn(""))},Zn=function(_i,ji){Un(_i,Object(m.a)(Object(m.a)({},ji),{},{source:"option"}))},ti=function(_i,ji){Un(_i,Object(m.a)(Object(m.a)({},ji),{},{source:"selection"}))},hi=at==="combobox"&&He&&He()||null,pi=Object(t.a)(void 0,{defaultValue:de,value:ie}),mi=Object(p.a)(pi,2),Hi=mi[0],ra=mi[1],$i=Hi,ro=!mt&&!ni.length;(lt||ro&&$i&&at==="combobox")&&($i=!1);var di=ro?!1:$i,cn=function(_i){var ji=_i!==void 0?_i:!$i;Hi!==ji&&!lt&&(ra(ji),bn&&bn(ji))};P([Ln.current,Mn.current&&Mn.current.getPopupElement()],di,cn);var Ni=function(_i,ji,mr){var Dr=!0,Gr=_i;Yn(null);var Nr=mr?null:Object(H.f)(_i,or),Gt=Nr;if(at==="combobox")ji&&Cn([Gr]);else if(Nr){Gr="",at!=="tags"&&(Gt=Nr.map(function(rr){var Pr=sn.find(function(kr){var dn=kr.data;return dn[Ut]===rr});return Pr?Pr.data.value:null}).filter(function(rr){return rr!==null}));var xr=Array.from(new Set([].concat(Object(E.a)(Sr),Object(E.a)(Gt))));Cn(xr),xr.forEach(function(rr){ki(rr,!0,"input")}),cn(!1),Dr=!1}return gn(Gr),ne&&Kr!==Gr&&ne(Gr),Dr},Gi=function(_i){var ji=Array.from(new Set([].concat(Object(E.a)(Sr),[_i])));Cn(ji),ji.forEach(function(mr){ki(mr,!0,"input")}),gn("")};Object(f.useEffect)(function(){Hi&&!!lt&&ra(!1)},[lt]),Object(f.useEffect)(function(){!$i&&!Ar&&at!=="combobox"&&Ni("",!1,!1)},[$i]);var Ki=T(),ia=Object(p.a)(Ki,2),Kt=ia[0],Zr=ia[1],rn=function(_i){var ji=Kt(),mr=_i.which;if(!$i&&mr===d.a.ENTER&&cn(!0),Zr(!!Kr),mr===d.a.BACKSPACE&&!ji&&Ar&&!Kr&&Sr.length){var Dr=Object(h.c)(Xn,Sr);Dr.removedValue!==null&&(Cn(Dr.values),ki(Dr.removedValue,!1,"input"))}for(var Gr=arguments.length,Nr=new Array(Gr>1?Gr-1:0),Gt=1;Gt<Gr;Gt++)Nr[Gt-1]=arguments[Gt];if($i&&ii.current){var xr;(xr=ii.current).onKeyDown.apply(xr,[_i].concat(Nr))}Zt&&Zt.apply(void 0,[_i].concat(Nr))},pn=function(_i){for(var ji=arguments.length,mr=new Array(ji>1?ji-1:0),Dr=1;Dr<ji;Dr++)mr[Dr-1]=arguments[Dr];if($i&&ii.current){var Gr;(Gr=ii.current).onKeyUp.apply(Gr,[_i].concat(mr))}ht&&ht.apply(void 0,[_i].concat(mr))},Qe=Object(f.useRef)(!1),Dt=function(){Me(!0),lt||(Yt&&!Qe.current&&Yt.apply(void 0,arguments),tr.includes("focus")&&cn(!0)),Qe.current=!0},ur=function(){if(Me(!1,function(){Qe.current=!1,cn(!1)}),lt)return;Kr&&(at==="tags"?(Ni("",!1,!1),Cn(Array.from(new Set([].concat(Object(E.a)(Sr),[Kr]))))):at==="multiple"&&gn("")),pt&&pt.apply(void 0,arguments)},ar=[];Object(f.useEffect)(function(){return function(){ar.forEach(function(Pn){return clearTimeout(Pn)}),ar.splice(0,ar.length)}},[]);var Lr=function(_i){var ji=_i.target,mr=Mn.current&&Mn.current.getPopupElement();if(mr&&mr.contains(ji)){var Dr=setTimeout(function(){var xr=ar.indexOf(Dr);xr!==-1&&ar.splice(xr,1),ke(),mr.contains(document.activeElement)||Vn.current.focus()});ar.push(Dr)}if($t){for(var Gr=arguments.length,Nr=new Array(Gr>1?Gr-1:0),Gt=1;Gt<Gr;Gt++)Nr[Gt-1]=arguments[Gt];$t.apply(void 0,[_i].concat(Nr))}},Rr=Object(f.useState)(0),Hr=Object(p.a)(Rr,2),an=Hr[0],wn=Hr[1],In=hr!==void 0?hr:at!=="combobox",Rn=function(_i,ji){wn(ji),rt&&at==="combobox"&&_i!==null&&Yn(String(_i))},Nn=Object(f.useState)(null),vn=Object(p.a)(Nn,2),Sn=vn[0],Tn=vn[1],Kn=Object(f.useState)({}),Qn=Object(p.a)(Kn,2),qn=Qn[1];function bi(){qn({})}g(function(){if(di){var Pn=Math.ceil(Ln.current.offsetWidth);Sn!==Pn&&Tn(Pn)}},[di]);var gi=f.createElement(ve,{ref:ii,prefixCls:se,id:ot,open:$i,childrenAsData:!_e,options:ni,flattenOptions:yi,multiple:Ar,values:xn,height:sr,itemHeight:qt,onSelect:Zn,onToggleOpen:cn,onActiveValue:Rn,defaultActiveFirstOption:In,notFoundContent:mt,onScroll:Yr,searchValue:Kr,menuItemSelectedIcon:nr,virtual:mn!==!1&&Re!==!1,onMouseEnter:bi}),Ri,Bi=function(){Qr&&cr.onClear&&cr.onClear(),Wt&&Wt(),Cn([]),Ni("",!1,!1)};!lt&&wt&&(Sr.length||Kr)&&(Ri=f.createElement(r.a,{className:"".concat(se,"-clear"),onMouseDown:Bi,customizeIcon:qe},"\xD7"));var xi=he!==void 0?he:Xt||!Ar&&at!=="combobox",Ti;xi&&(Ti=f.createElement(r.a,{className:n()("".concat(se,"-arrow"),Object(y.a)({},"".concat(se,"-arrow-loading"),Xt)),customizeIcon:kt,customizeIconProps:{loading:Xt,searchValue:Kr,open:$i,focused:xe,showSearch:Or}}));var Di=n()(se,Te,(Y={},Object(y.a)(Y,"".concat(se,"-focused"),xe),Object(y.a)(Y,"".concat(se,"-multiple"),Ar),Object(y.a)(Y,"".concat(se,"-single"),!Ar),Object(y.a)(Y,"".concat(se,"-allow-clear"),wt),Object(y.a)(Y,"".concat(se,"-show-arrow"),xi),Object(y.a)(Y,"".concat(se,"-disabled"),lt),Object(y.a)(Y,"".concat(se,"-loading"),Xt),Object(y.a)(Y,"".concat(se,"-open"),$i),Object(y.a)(Y,"".concat(se,"-customize-input"),hi),Object(y.a)(Y,"".concat(se,"-show-search"),Or),Y));return f.createElement("div",Object.assign({className:Di},$r,{ref:Ln,onMouseDown:Lr,onKeyDown:rn,onKeyUp:pn,onFocus:Dt,onBlur:ur}),xe&&!$i&&f.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Sr.join(", "))),f.createElement(j,{ref:Mn,disabled:lt,prefixCls:se,visible:di,popupElement:gi,containerWidth:Sn,animation:qr,transitionName:Fr,dropdownStyle:Tt,dropdownClassName:St,direction:ir,dropdownMatchSelectWidth:Re,dropdownRender:Ve,dropdownAlign:Xe,getPopupContainer:ze,empty:!En.length,getTriggerDOMNode:function(){return zt.current}},f.createElement(I,Object.assign({},X,{domRef:zt,prefixCls:se,inputElement:hi,ref:Vn,id:ot,showSearch:Or,mode:at,accessibilityIndex:an,multiple:Ar,tagRender:Xr,values:Xn,open:$i,onToggleOpen:cn,searchValue:Kr,activeValue:si,onSearch:Ni,onSearchSubmit:Gi,onSelect:ti,tokenWithEnter:Li}))),Ti,Ri)}var te=f.forwardRef(Ue);return te}},qPY4:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("u4NN"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},qWUW:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("DL4k")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CaretDownOutlined";var l=p.forwardRef(d);N.default=l},qWt2:function(B,N,i){var y=i("ProS"),m=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}}});B.exports=m},qZFw:function(B,N,i){var y=i("bYtY"),m=i("6GrX"),E=i("hM6l"),p=i("4NO4"),v=p.makeInner,f=v();function d(n,t){t=t||[0,360],E.call(this,"angle",n,t),this.type="category"}d.prototype={constructor:d,pointToData:function(n,t){return this.polar.pointToData(n,t)[this.dim==="radius"?0:1]},dataToAngle:E.prototype.dataToCoord,angleToData:E.prototype.coordToData,calculateCategoryInterval:function(){var n=this,t=n.getLabelModel(),a=n.scale,o=a.getExtent(),r=a.count();if(o[1]-o[0]<1)return 0;var c=o[0],e=n.dataToCoord(c+1)-n.dataToCoord(c),s=Math.abs(e),u=m.getBoundingRect(c,t.getFont(),"center","top"),h=Math.max(u.height,7),g=h/s;isNaN(g)&&(g=Infinity);var A=Math.max(0,Math.floor(g)),w=f(n.model),b=w.lastAutoInterval,S=w.lastTickCount;return b!=null&&S!=null&&Math.abs(b-A)<=1&&Math.abs(S-r)<=1&&b>A?A=b:(w.lastTickCount=r,w.lastAutoInterval=A),A}},y.inherits(d,E);var l=d;B.exports=l},qgGe:function(B,N,i){var y=i("bYtY"),m=i("T4UG"),E=i("Bsck"),p=i("VaxA"),v=p.wrapTreePathInfo,f=m.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(l,n){var t={name:l.name,children:l.data};d(t);var a=l.levels||[],o={};return o.levels=a,E.createTree(t,this,o).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(l){var n=m.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(l);return n.treePathInfo=v(t,this),n},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(l){l?this._viewRoot=l:l=this._viewRoot;var n=this.getRawData().tree.root;(!l||l!==n&&!n.contains(l))&&(this._viewRoot=n)}});function d(l){var n=0;y.each(l.children,function(a){d(a);var o=a.value;y.isArray(o)&&(o=o[0]),n+=o});var t=l.value;y.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=n),t<0&&(t=0),y.isArray(l.value)?l.value[0]=t:l.value=t}B.exports=f},qj72:function(B,N,i){var y=i("bYtY");function m(p,v){return v=v||[0,0],y.map(["x","y"],function(f,d){var l=this.getAxis(f),n=v[d],t=p[d]/2;return l.type==="category"?l.getBandWidth():Math.abs(l.dataToCoord(n-t)-l.dataToCoord(n+t))},this)}function E(p){var v=p.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(f){return p.dataToPoint(f)},size:y.bind(m,p)}}}B.exports=E},"qt/9":function(B,N,i){var y=i("ProS"),m=i("bYtY");i("Wqna"),i("1tlw"),i("Mylv");var E=i("nVfU"),p=E.layout,v=i("f5Yq");i("Ae16"),y.registerLayout(m.curry(p,"pictorialBar")),y.registerVisual(v("pictorialBar","roundRect"))},quyA:function(B,N){var i="\\ud800-\\udfff",y="\\u0300-\\u036f",m="\\ufe20-\\ufe2f",E="\\u20d0-\\u20ff",p=y+m+E,v="\\ufe0e\\ufe0f",f="\\u200d",d=RegExp("["+f+i+p+v+"]");function l(n){return d.test(n)}B.exports=l},qwVE:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("K4ya"),p=i("XxSj"),v=y.PRIORITY.VISUAL.COMPONENT;y.registerVisual(v,{createOnAllSeries:!0,reset:function(d,l){var n=[];return l.eachComponent("visualMap",function(t){var a=d.pipelineContext;if(!t.isTargetSeries(d)||a&&a.large)return;n.push(E.incrementalApplyVisual(t.stateList,t.targetVisuals,m.bind(t.getValueState,t),t.getDataDimension(d.getData())))}),n}}),y.registerVisual(v,{createOnAllSeries:!0,reset:function(d,l){var n=d.getData(),t=[];l.eachComponent("visualMap",function(a){if(a.isTargetSeries(d)){var o=a.getVisualMeta(m.bind(f,null,d,a))||{stops:[],outerColors:[]},r=a.getDataDimension(n),c=n.getDimensionInfo(r);c!=null&&(o.dimension=c.index,t.push(o))}}),d.getData().setVisual("visualMeta",t)}});function f(d,l,n,t){for(var a=l.targetVisuals[t],o=p.prepareVisualTypes(a),r={color:d.getData().getVisual("color")},c=0,e=o.length;c<e;c++){var s=o[c],u=a[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(n,h,g)}return r.color;function h(A){return r[A]}function g(A,w){r[A]=w}}},"r+aA":function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("s2MQ")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="EyeInvisibleOutlined";var l=p.forwardRef(d);N.default=l},"r/2G":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("+Zaj"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},r6Bn:function(B,N,i){var y=i("bYtY"),m=i("ItGF"),E=i("4fz+"),p=i("BPZU");function v(l,n){return l.zlevel===n.zlevel?l.z===n.z?l.z2-n.z2:l.z-n.z:l.zlevel-n.zlevel}var f=function(){this._roots=[],this._displayList=[],this._displayListLen=0};f.prototype={constructor:f,traverse:function(n,t){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(n,t)},getDisplayList:function(n,t){return t=t||!1,n&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(n){this._displayListLen=0;for(var t=this._roots,a=this._displayList,o=0,r=t.length;o<r;o++)this._updateAndAddDisplayable(t[o],null,n);a.length=this._displayListLen,m.canvasSupported&&p(a,v)},_updateAndAddDisplayable:function(n,t,a){if(n.ignore&&!a)return;n.beforeUpdate(),n.__dirty&&n.update(),n.afterUpdate();var o=n.clipPath;if(o){t?t=t.slice():t=[];for(var r=o,c=n;r;)r.parent=c,r.updateTransform(),t.push(r),c=r,r=r.clipPath}if(n.isGroup){for(var e=n._children,s=0;s<e.length;s++){var u=e[s];n.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,t,a)}n.__dirty=!1}else n.__clipPaths=t,this._displayList[this._displayListLen++]=n},addRoot:function(n){if(n.__storage===this)return;n instanceof E&&n.addChildrenToStorage(this),this.addToStorage(n),this._roots.push(n)},delRoot:function(n){if(n==null){for(var t=0;t<this._roots.length;t++){var a=this._roots[t];a instanceof E&&a.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(n instanceof Array){for(var t=0,o=n.length;t<o;t++)this.delRoot(n[t]);return}var r=y.indexOf(this._roots,n);r>=0&&(this.delFromStorage(n),this._roots.splice(r,1),n instanceof E&&n.delChildrenFromStorage(this))},addToStorage:function(n){return n&&(n.__storage=this,n.dirty(!1)),this},delFromStorage:function(n){return n&&(n.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var d=f;B.exports=d},rA99:function(B,N,i){var y=i("y+Vt"),m=i("QBsz"),E=i("Sj9i"),p=E.quadraticSubdivide,v=E.cubicSubdivide,f=E.quadraticAt,d=E.cubicAt,l=E.quadraticDerivativeAt,n=E.cubicDerivativeAt,t=[];function a(r,c,e){var s=r.cpx2,u=r.cpy2;return s===null||u===null?[(e?n:d)(r.x1,r.cpx1,r.cpx2,r.x2,c),(e?n:d)(r.y1,r.cpy1,r.cpy2,r.y2,c)]:[(e?l:f)(r.x1,r.cpx1,r.x2,c),(e?l:f)(r.y1,r.cpy1,r.y2,c)]}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(c,e){var s=e.x1,u=e.y1,h=e.x2,g=e.y2,A=e.cpx1,w=e.cpy1,b=e.cpx2,S=e.cpy2,_=e.percent;if(_===0)return;c.moveTo(s,u),b==null||S==null?(_<1&&(p(s,A,h,_,t),A=t[1],h=t[2],p(u,w,g,_,t),w=t[1],g=t[2]),c.quadraticCurveTo(A,w,h,g)):(_<1&&(v(s,A,b,h,_,t),A=t[1],b=t[2],h=t[3],v(u,w,S,g,_,t),w=t[1],S=t[2],g=t[3]),c.bezierCurveTo(A,w,b,S,h,g))},pointAt:function(c){return a(this.shape,c,!1)},tangentAt:function(c){var e=a(this.shape,c,!0);return m.normalize(e,e)}});B.exports=o},rHrb:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.CopyToClipboard=void 0;var y=E(i("q1tI")),m=E(i("+QRC"));function E(g){return g&&g.__esModule?g:{default:g}}function p(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(w){return typeof w}:p=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},p(g)}function v(g,A){var w=Object.keys(g);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(g);A&&(b=b.filter(function(S){return Object.getOwnPropertyDescriptor(g,S).enumerable})),w.push.apply(w,b)}return w}function f(g){for(var A=1;A<arguments.length;A++){var w=arguments[A]!=null?arguments[A]:{};A%2?v(w,!0).forEach(function(b){u(g,b,w[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(w)):v(w).forEach(function(b){Object.defineProperty(g,b,Object.getOwnPropertyDescriptor(w,b))})}return g}function d(g,A){if(g==null)return{};var w=l(g,A),b,S;if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(g);for(S=0;S<_.length;S++){if(b=_[S],A.indexOf(b)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(g,b))continue;w[b]=g[b]}}return w}function l(g,A){if(g==null)return{};var w={},b=Object.keys(g),S,_;for(_=0;_<b.length;_++){if(S=b[_],A.indexOf(S)>=0)continue;w[S]=g[S]}return w}function n(g,A){if(!(g instanceof A))throw new TypeError("Cannot call a class as a function")}function t(g,A){for(var w=0;w<A.length;w++){var b=A[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(g,b.key,b)}}function a(g,A,w){return A&&t(g.prototype,A),w&&t(g,w),g}function o(g,A){return A&&(p(A)==="object"||typeof A=="function")?A:c(g)}function r(g){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},r(g)}function c(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function e(g,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(A&&A.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),A&&s(g,A)}function s(g,A){return s=Object.setPrototypeOf||function(b,S){return b.__proto__=S,b},s(g,A)}function u(g,A,w){return A in g?Object.defineProperty(g,A,{value:w,enumerable:!0,configurable:!0,writable:!0}):g[A]=w,g}var h=function(g){e(A,g);function A(){var w,b;n(this,A);for(var S=arguments.length,_=new Array(S),T=0;T<S;T++)_[T]=arguments[T];return b=o(this,(w=r(A)).call.apply(w,[this].concat(_))),u(c(b),"onClick",function(x){var C=b.props,I=C.text,L=C.onCopy,M=C.children,k=C.options,R=y.default.Children.only(M),j=(0,m.default)(I,k);L&&L(I,j),R&&R.props&&typeof R.props.onClick=="function"&&R.props.onClick(x)}),b}return a(A,[{key:"render",value:function(){var b=this.props,S=b.text,_=b.onCopy,T=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}))}}]),A}(y.default.PureComponent);N.CopyToClipboard=h,u(h,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ReloadOutlined";var d=N.a=m.forwardRef(f)},rUJ1:function(B,N){var i=/[&<>"']/,y=/[&<>"']/g,m=/[<>"']|&(?!#?\w+;)/,E=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v=function(x){return p[x]};function f(T,x){if(x){if(i.test(T))return T.replace(y,v)}else if(m.test(T))return T.replace(E,v);return T}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function l(T){return T.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 n=/(^|[^\[])\^/g;function t(T,x){T=T.source||T,x=x||"";var C={replace:function(L,M){return M=M.source||M,M=M.replace(n,"$1"),T=T.replace(L,M),C},getRegex:function(){return new RegExp(T,x)}};return C}var a=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(T,x,C){if(T){var I;try{I=decodeURIComponent(l(C)).replace(a,"").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 c={},e=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function h(T,x){c[" "+T]||(e.test(T)?c[" "+T]=T+"/":c[" "+T]=b(T,"/",!0)),T=c[" "+T];var C=T.indexOf(":")===-1;return x.substring(0,2)==="//"?C?x:T.replace(s,"$1")+x:x.charAt(0)==="/"?C?x:T.replace(u,"$1")+x:T+x}var g={exec:function(){}};function A(T){for(var x=1,C,I;x<arguments.length;x++){C=arguments[x];for(I in C)Object.prototype.hasOwnProperty.call(C,I)&&(T[I]=C[I])}return T}function w(T,x){var C=T.replace(/\|/g,function(M,k,R){for(var j=!1,V=k;--V>=0&&R[V]==="\\";)j=!j;return j?"|":" |"}),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(T,x,C){var I=T.length;if(I===0)return"";for(var L=0;L<I;){var M=T.charAt(I-L-1);if(M===x&&!C)L++;else if(M!==x&&C)L++;else break}return T.substr(0,I-L)}function S(T,x){if(T.indexOf(x[1])===-1)return-1;for(var C=T.length,I=0,L=0;L<C;L++)if(T[L]==="\\")L++;else if(T[L]===x[0])I++;else if(T[L]===x[1]&&(I--,I<0))return L;return-1}function _(T){T&&T.sanitize&&!T.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")}B.exports={escape:f,unescape:l,edit:t,cleanUrl:r,resolveUrl:h,noopTest:g,merge:A,splitCells:w,rtrim:b,findClosingBracket:S,checkSanitizeDeprecation:_}},rdUC:function(B,N,i){var y=i("MFOe"),m=y.Global;B.exports={name:"localStorage",read:p,write:v,each:f,remove:d,clearAll:l};function E(){return m.localStorage}function p(n){return E().getItem(n)}function v(n,t){return E().setItem(n,t)}function f(n){for(var t=E().length-1;t>=0;t--){var a=E().key(t);n(p(a),a)}}function d(n){return E().removeItem(n)}function l(){return E().clear()}},rdor:function(B,N,i){var y=i("lOQZ"),m=y.circularLayout;function E(p){p.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&m(v,"symbolSize")})}B.exports=E},rfSb:function(B,N,i){var y=i("T4UG"),m=i("sdST"),E=i("L0Ub"),p=E.getDimensionTypeByAxis,v=i("YXkt"),f=i("bYtY"),d=i("4NO4"),l=d.groupData,n=i("7aKB"),t=n.encodeHTML,a=i("xKMd"),o=2,r=y.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){r.superApply(this,"init",arguments),this.legendVisualProvider=new a(f.bind(this.getData,this),f.bind(this.getRawData,this))},fixData:function(e){var s=e.length,u=l(e,function(R){return R[2]}),h=[];u.buckets.each(function(R,j){h.push({name:j,dataList:R})});for(var g=h.length,A=-1,w=-1,b=0;b<g;++b){var S=h[b].dataList.length;S>A&&(A=S,w=b)}for(var _=0;_<g;++_){if(_===w)continue;for(var T=h[_].name,x=0;x<A;++x){for(var C=h[w].dataList[x][0],I=h[_].dataList.length,L=-1,M=0;M<I;++M){var k=h[_].dataList[M][0];if(k===C){L=M;break}}L===-1&&(e[s]=[],e[s][0]=C,e[s][1]=0,e[s][2]=T,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"),g=f.filter(e.data,function(C){return C[2]!==void 0}),A=this.fixData(g||[]),w=[],b=this.nameMap=f.createHashMap(),S=0,_=0;_<A.length;++_)w.push(A[_][o]),b.get(A[_][o])||(b.set(A[_][o],S),S++);var T=m(A,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(h)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new v(T,this);return x.initData(A),x},getLayerSeries:function(){for(var e=this.getData(),s=e.count(),u=[],h=0;h<s;++h)u[h]=h;var g=e.mapDimension("single"),A=l(u,function(b){return e.get("name",b)}),w=[];return A.buckets.each(function(b,S){b.sort(function(_,T){return e.get(g,_)-e.get(g,T)}),w.push({name:S,indices:b})}),w},getAxisTooltipData:function(e,s,u){f.isArray(e)||(e=e?[e]:[]);for(var h=this.getData(),g=this.getLayerSeries(),A=[],w=g.length,b,S=0;S<w;++S){for(var _=Number.MAX_VALUE,T=-1,x=g[S].indices.length,C=0;C<x;++C){var I=h.get(e[0],g[S].indices[C]),L=Math.abs(I-s);L<=_&&(b=I,_=L,T=g[S].indices[C])}A.push(T)}return{dataIndices:A,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="-"),t(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}}}}),c=r;B.exports=c},rkZ5:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("ProS"),p=i("c8qY"),v=i("D9ME"),f=i("fls0"),d=i("RSch"),l=i("akwb"),n=i("o40c"),t=i("ZYIC"),a=i("sK/D"),o=a.createClipPath,r=E.extendChartView({type:"lines",init:function(){},render:function(c,e,s){var u=c.getData(),h=this._updateLineDraw(u,c),g=c.get("zlevel"),A=c.get("effect.trailLength"),w=s.getZr(),b=w.painter.getType()==="svg";b||w.painter.getLayer(g).clear(!0),this._lastZlevel!=null&&!b&&w.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(c)&&A&&(b||w.configLayer(g,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(A/10+.9,1),0)})),h.updateData(u);var S=c.get("clip",!0)&&o(c.coordinateSystem,!1,c);S?this.group.setClipPath(S):this.group.removeClipPath(),this._lastZlevel=g,this._finished=!0},incrementalPrepareRender:function(c,e,s){var u=c.getData(),h=this._updateLineDraw(u,c);h.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(c,e,s){this._lineDraw.incrementalUpdate(c,e.getData()),this._finished=c.end===e.getData().count()},updateTransform:function(c,e,s){var u=c.getData(),h=c.pipelineContext;if(!this._finished||h.large||h.progressiveRender)return{update:!0};var g=t.reset(c);g.progress&&g.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(c,e){var s=this._lineDraw,u=this._showEffect(e),h=!!e.get("polyline"),g=e.pipelineContext,A=g.large;return(!s||u!==this._hasEffet||h!==this._isPolyline||A!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=A?new n:new p(h?u?l:d:u?v:f),this._hasEffet=u,this._isPolyline=h,this._isLargeDraw=A,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(c){return!!c.get("effect.show")},_clearLayer:function(c){var e=c.getZr(),s=e.painter.getType()==="svg";!s&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(c,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});B.exports=r},rmlV:function(B,N,i){var y=i("y+Vt"),m=y.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,v){var f=.5522848,d=v.cx,l=v.cy,n=v.rx,t=v.ry,a=n*f,o=t*f;p.moveTo(d-n,l),p.bezierCurveTo(d-n,l-o,d-a,l-t,d,l-t),p.bezierCurveTo(d+a,l-t,d+n,l-o,d+n,l),p.bezierCurveTo(d+n,l+o,d+a,l+t,d,l+t),p.bezierCurveTo(d-a,l+t,d-n,l+o,d-n,l),p.closePath()}});B.exports=m},rnVJ:function(B,N,i){var y=i("bYtY"),m=["rect","polygon","keep","clear"];function E(v,f){var d=v&&v.brush;if(y.isArray(d)||(d=d?[d]:[]),!d.length)return;var l=[];y.each(d,function(r){var c=r.hasOwnProperty("toolbox")?r.toolbox:[];c instanceof Array&&(l=l.concat(c))});var n=v&&v.toolbox;y.isArray(n)&&(n=n[0]),n||(n={feature:{}},v.toolbox=[n]);var t=n.feature||(n.feature={}),a=t.brush||(t.brush={}),o=a.type||(a.type=[]);o.push.apply(o,l),p(o),f&&!o.length&&o.push.apply(o,m)}function p(v){var f={};y.each(v,function(d){f[d]=1}),v.length=0,y.each(f,function(d,l){v.push(l)})}B.exports=E},rwxt:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=i("GdRQ");function m(d,l){if(!(d instanceof l))throw new TypeError("Cannot call a class as a function")}function E(d,l){for(var n=0;n<l.length;n++){var t=l[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}function p(d,l,n){return l&&E(d.prototype,l),n&&E(d,n),d}var v=!y.supportsCursorURIs||y.isTouchDevice,f=function(){function d(){m(this,d),this._target=null,this._canvas=document.createElement("canvas"),v&&(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 p(d,[{key:"attach",value:function(n){if(this._target&&this.detach(),this._target=n,v){document.body.appendChild(this._canvas);var t={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,t),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,t),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,t),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,t)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var n={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,n),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,n),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,n),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,n),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(n,t,a,o,r){if(o===0||r===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-t,this._position.y=this._position.y+this._hotSpot.y-a,this._hotSpot.x=t,this._hotSpot.y=a;var c=this._canvas.getContext("2d");this._canvas.width=o,this._canvas.height=r;var e;try{e=new ImageData(new Uint8ClampedArray(n),o,r)}catch(u){e=c.createImageData(o,r),e.data.set(new Uint8ClampedArray(n))}if(c.clearRect(0,0,o,r),c.putImageData(e,0,0),v)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+t+" "+a+", 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(n,t){if(!v)return;window.visualViewport?(this._position.x=n+window.visualViewport.offsetLeft,this._position.y=t+window.visualViewport.offsetTop):(this._position.x=n,this._position.y=t),this._updatePosition();var a=document.elementFromPoint(n,t);this._updateVisibility(a)}},{key:"_handleMouseOver",value:function(n){this._handleMouseMove(n)}},{key:"_handleMouseLeave",value:function(n){this._updateVisibility(n.relatedTarget)}},{key:"_handleMouseMove",value:function(n){this._updateVisibility(n.target),this._position.x=n.clientX-this._hotSpot.x,this._position.y=n.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(n){var t=this,a=document.elementFromPoint(n.clientX,n.clientY);this._updateVisibility(a),this._captureIsActive()&&window.setTimeout(function(){if(!t._target)return;a=document.elementFromPoint(n.clientX,n.clientY),t._updateVisibility(a)},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(n){return n?n===this._target?!0:this._target.contains(n)?!(window.getComputedStyle(n).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(n){this._captureIsActive()&&(n=document.captureElement),this._shouldShowCursor(n)?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(B,N,i){i("SMc4"),i("8nMs")},s2MQ:function(B,N,i){"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(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("IwbS"),p=i("gPAo"),v=i("VaxA"),f=i("9hCq"),d=i("SgGq"),l=i("mFDi"),n=i("Fofx"),t=i("5s0K"),a=i("KCsZ"),o=i("7aKB"),r=o.windowOpen,c=m.bind,e=E.Group,s=E.Rect,u=m.each,h=3,g=["label"],A=["emphasis","label"],w=["upperLabel"],b=["emphasis","upperLabel"],S=10,_=1,T=2,x=a([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(R){var j=x(R);return j.stroke=j.fill=j.lineWidth=null,j},I=y.extendChartView({type:"treemap",init:function(R,j){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(R,j,V,D){var H=j.findComponents({mainType:"series",subType:"treemap",query:D});if(m.indexOf(H,R)<0)return;this.seriesModel=R,this.api=V,this.ecModel=j;var P=["treemapZoomToNode","treemapRootToNode"],K=v.retrieveTargetInfo(D,P,R),U=D&&D.type,G=R.layoutInfo,W=!this._oldTree,Z=this._storage,J=U==="treemapRootToNode"&&K&&Z?{rootNodeGroup:Z.nodeGroup[K.node.getRawIndex()],direction:D.direction}:null,ve=this._giveContainerGroup(G),q=this._doRender(ve,R,J);!W&&(!U||U==="treemapZoomToNode"||U==="treemapRootToNode")?this._doAnimation(ve,q,R,J):q.renderFinally(),this._resetController(V),this._renderBreadcrumb(R,V,K)},_giveContainerGroup:function(R){var j=this._containerGroup;return j||(j=this._containerGroup=new e,this._initEvents(j),this.group.add(j)),j.attr("position",[R.x,R.y]),j},_doRender:function(R,j,V){var D=j.getData().tree,H=this._oldTree,P=L(),K=L(),U=this._storage,G=[],W=m.curry(M,j,K,U,V,P,G);J(D.root?[D.root]:[],H&&H.root?[H.root]:[],R,D===H||!H,0);var Z=ve(U);return this._oldTree=D,this._storage=K,{lastsForAnimation:P,willDeleteEls:Z,renderFinally:q};function J(ce,be,Ce,Fe,fe){Fe?(be=ce,u(ce,function(ae,Ue){!ae.isRemoved()&&Q(Ue,Ue)})):new p(be,ce,Ne,Ne).add(Q).update(Q).remove(m.curry(Q,null)).execute();function Ne(ae){return ae.getId()}function Q(ae,Ue){var te=ae!=null?ce[ae]:null,X=Ue!=null?be[Ue]:null,z=W(te,X,Ce,fe);z&&J(te&&te.viewChildren||[],X&&X.viewChildren||[],z,Fe,fe+1)}}function ve(ce){var be=L();return ce&&u(ce,function(Ce,Fe){var fe=be[Fe];u(Ce,function(Ne){Ne&&(fe.push(Ne),Ne.__tmWillDelete=1)})}),be}function q(){u(Z,function(ce){u(ce,function(be){be.parent&&be.parent.remove(be)})}),u(G,function(ce){ce.invisible=!0,ce.dirty()})}},_doAnimation:function(R,j,V,D){if(!V.get("animation"))return;var H=V.get("animationDurationUpdate"),P=V.get("animationEasing"),K=t.createWrap();u(j.willDeleteEls,function(U,G){u(U,function(W,Z){if(W.invisible)return;var J=W.parent,ve;if(D&&D.direction==="drillDown")ve=J===D.rootNodeGroup?{shape:{x:0,y:0,width:J.__tmNodeWidth,height:J.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var q=0,ce=0;J.__tmWillDelete||(q=J.__tmNodeWidth/2,ce=J.__tmNodeHeight/2),ve=G==="nodeGroup"?{position:[q,ce],style:{opacity:0}}:{shape:{x:q,y:ce,width:0,height:0},style:{opacity:0}}}ve&&K.add(W,ve,H,P)})}),u(this._storage,function(U,G){u(U,function(W,Z){var J=j.lastsForAnimation[G][Z],ve={};if(!J)return;G==="nodeGroup"?J.old&&(ve.position=W.position.slice(),W.attr("position",J.old)):(J.old&&(ve.shape=m.extend({},W.shape),W.setShape(J.old)),J.fadein?(W.setStyle("opacity",0),ve.style={opacity:1}):W.style.opacity!==1&&(ve.style={opacity:1})),K.add(W,ve,H,P)})},this),this._state="animating",K.done(c(function(){this._state="ready",j.renderFinally()},this)).start()},_resetController:function(R){var j=this._controller;j||(j=this._controller=new d(R.getZr()),j.enable(this.seriesModel.get("roam")),j.on("pan",c(this._onPan,this)),j.on("zoom",c(this._onZoom,this)));var V=new l(0,0,R.getWidth(),R.getHeight());j.setPointerChecker(function(D,H,P){return V.contain(H,P)})},_clearController:function(){var R=this._controller;R&&(R.dispose(),R=null)},_onPan:function(R){if(this._state!=="animating"&&(Math.abs(R.dx)>h||Math.abs(R.dy)>h)){var j=this.seriesModel.getData().tree.root;if(!j)return;var V=j.getLayout();if(!V)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:V.x+R.dx,y:V.y+R.dy,width:V.width,height:V.height}})}},_onZoom:function(R){var j=R.originX,V=R.originY;if(this._state!=="animating"){var D=this.seriesModel.getData().tree.root;if(!D)return;var H=D.getLayout();if(!H)return;var P=new l(H.x,H.y,H.width,H.height),K=this.seriesModel.layoutInfo;j-=K.x,V-=K.y;var U=n.create();n.translate(U,U,[-j,-V]),n.scale(U,U,[R.scale,R.scale]),n.translate(U,U,[j,V]),P.applyTransform(U),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:P.x,y:P.y,width:P.width,height:P.height}})}},_initEvents:function(R){R.on("click",function(j){if(this._state!=="ready")return;var V=this.seriesModel.get("nodeClick",!0);if(!V)return;var D=this.findTarget(j.offsetX,j.offsetY);if(!D)return;var H=D.node;if(H.getLayout().isLeafRoot)this._rootToNode(D);else if(V==="zoomToNode")this._zoomToNode(D);else if(V==="link"){var P=H.hostTree.data.getItemModel(H.dataIndex),K=P.get("link",!0),U=P.get("target",!0)||"blank";K&&r(K,U)}},this)},_renderBreadcrumb:function(R,j,V){V||(V=R.get("leafDepth",!0)!=null?{node:R.getViewRoot()}:this.findTarget(j.getWidth()/2,j.getHeight()/2),V||(V={node:R.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f(this.group))).render(R,j,V.node,c(D,this));function D(H){this._state!=="animating"&&(v.aboveViewRoot(R.getViewRoot(),H)?this._rootToNode({node:H}):this._zoomToNode({node:H}))}},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(R){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:R.node})},_rootToNode:function(R){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:R.node})},findTarget:function(R,j){var V,D=this.seriesModel.getViewRoot();return D.eachNode({attr:"viewChildren",order:"preorder"},function(H){var P=this._storage.background[H.getRawIndex()];if(P){var K=P.transformCoordToLocal(R,j),U=P.shape;if(U.x<=K[0]&&K[0]<=U.x+U.width&&U.y<=K[1]&&K[1]<=U.y+U.height)V={node:H,offsetX:K[0],offsetY:K[1]};else return!1}},this),V}});function L(){return{nodeGroup:[],background:[],content:[]}}function M(R,j,V,D,H,P,K,U,G,W){if(!K)return;var Z=K.getLayout(),J=R.getData();if(J.setItemGraphicEl(K.dataIndex,null),!Z||!Z.isInView)return;var ve=Z.width,q=Z.height,ce=Z.borderWidth,be=Z.invisible,Ce=K.getRawIndex(),Fe=U&&U.getRawIndex(),fe=K.viewChildren,Ne=Z.upperHeight,Q=fe&&fe.length,ae=K.getModel("itemStyle"),Ue=K.getModel("emphasis.itemStyle"),te=de("nodeGroup",e);if(!te)return;if(G.add(te),te.attr("position",[Z.x||0,Z.y||0]),te.__tmNodeWidth=ve,te.__tmNodeHeight=q,Z.isAboveViewRoot)return te;var X=K.getModel(),z=de("background",s,W,_);if(z&&pe(te,z,Q&&Z.upperLabelHeight),Q)E.isHighDownDispatcher(te)&&E.setAsHighDownDispatcher(te,!1),z&&(E.setAsHighDownDispatcher(z,!0),J.setItemGraphicEl(K.dataIndex,z));else{var Y=de("content",s,W,T);Y&&se(te,Y),z&&E.isHighDownDispatcher(z)&&E.setAsHighDownDispatcher(z,!1),E.setAsHighDownDispatcher(te,!0),J.setItemGraphicEl(K.dataIndex,te)}return te;function pe(at,tt,Oe){if(tt.dataIndex=K.dataIndex,tt.seriesIndex=R.seriesIndex,tt.setShape({x:0,y:0,width:ve,height:q}),be)Te(tt);else{tt.invisible=!1;var yt=K.getVisual("borderColor",!0),Ye=Ue.get("borderColor"),bt=C(ae);bt.fill=yt;var Ct=x(Ue);if(Ct.fill=Ye,Oe){var It=ve-2*ce;Se(bt,Ct,yt,It,Ne,{x:ce,y:0,width:It,height:Ne})}else bt.text=Ct.text=null;tt.setStyle(bt),E.setElementHoverStyle(tt,Ct)}at.add(tt)}function se(at,tt){tt.dataIndex=K.dataIndex,tt.seriesIndex=R.seriesIndex;var Oe=Math.max(ve-2*ce,0),yt=Math.max(q-2*ce,0);if(tt.culling=!0,tt.setShape({x:ce,y:ce,width:Oe,height:yt}),be)Te(tt);else{tt.invisible=!1;var Ye=K.getVisual("color",!0),bt=C(ae);bt.fill=Ye;var Ct=x(Ue);Se(bt,Ct,Ye,Oe,yt),tt.setStyle(bt),E.setElementHoverStyle(tt,Ct)}at.add(tt)}function Te(at){!at.invisible&&P.push(at)}function Se(at,tt,Oe,yt,Ye,bt){var Ct=X.get("name"),It=X.getModel(bt?w:g),Ft=X.getModel(bt?b:A),Vt=It.getShallow("show");E.setLabelStyle(at,tt,It,Ft,{defaultText:Vt?Ct:null,autoColor:Oe,isRectText:!0,labelFetcher:R,labelDataIndex:K.dataIndex,labelProp:bt?"upperLabel":"label"}),ie(at,bt,Z),ie(tt,bt,Z),bt&&(at.textRect=m.clone(bt)),at.truncate=Vt&&It.get("ellipsis")?{outerWidth:yt,outerHeight:Ye,minChar:2}:null}function ie(at,tt,Oe){var yt=at.text;if(!tt&&Oe.isLeafRoot&&yt!=null){var Ye=R.get("drillDownIcon",!0);at.text=Ye?Ye+" "+yt:yt}}function de(at,tt,Oe,yt){var Ye=Fe!=null&&V[at][Fe],bt=H[at];return Ye?(V[at][Fe]=null,_e(bt,Ye,at)):be||(Ye=new tt({z:k(Oe,yt)}),Ye.__tmDepth=Oe,Ye.__tmStorageName=at,We(bt,Ye,at)),j[at][Ce]=Ye}function _e(at,tt,Oe){var yt=at[Ce]={};yt.old=Oe==="nodeGroup"?tt.position.slice():m.extend({},tt.shape)}function We(at,tt,Oe){var yt=at[Ce]={},Ye=K.parentNode;if(Ye&&(!D||D.direction==="drillDown")){var bt=0,Ct=0,It=H.background[Ye.getRawIndex()];!D&&It&&It.old&&(bt=It.old.width,Ct=It.old.height),yt.old=Oe==="nodeGroup"?[0,Ct]:{x:bt,y:Ct,width:0,height:0}}yt.fadein=Oe!=="nodeGroup"}}function k(R,j){var V=R*S+j;return(V-1)/V}B.exports=I},sAZ8:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("+rIm"),p=i("/IIm"),v=i("9KIM"),f=i("IwbS"),d=["axisLine","axisTickLabel","axisName"],l=y.extendComponentView({type:"parallelAxis",init:function(r,c){l.superApply(this,"init",arguments),(this._brushController=new p(c.getZr())).on("brush",m.bind(this._onBrush,this))},render:function(r,c,e,s){if(n(r,c,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=a(r,c),g=h.coordinateSystem,A=r.getAreaSelectStyle(),w=A.width,b=r.axis.dim,S=g.getAxisLayout(b),_=m.extend({strokeContainThreshold:w},S),T=new E(r,_);m.each(d,T.add,T),this._axisGroup.add(T.getGroup()),this._refreshBrushController(_,A,r,h,w,e);var x=s&&s.animation===!1?null:r;f.groupTransition(u,this._axisGroup,x)},_refreshBrushController:function(r,c,e,s,u,h){var g=e.axis.getExtent(),A=g[1]-g[0],w=Math.min(30,Math.abs(A)*.1),b=f.BoundingRect.create({x:g[0],y:-u/2,width:A,height:u});b.x-=w,b.width+=2*w,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(b),isTargetByCursor:v.makeRectIsTargetByCursor(b,h,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(b,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(t(e))},_onBrush:function(r,c){var e=this.axisModel,s=e.axis,u=m.map(r,function(h){return[s.coordToData(h.range[0],!0),s.coordToData(h.range[1],!0)]});(!e.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function n(r,c,e){return e&&e.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:e})[0]===r}function t(r){var c=r.axis;return m.map(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(e[0],!0),c.dataToCoord(e[1],!0)]}})}function a(r,c){return c.getComponent("parallel",r.get("parallelIndex"))}var o=l;B.exports=o},sE09:function(B,N,i){},sGsY:function(B,N,i){"use strict";var y=i("lSNA"),m=i.n(y),E=i("pVnL"),p=i.n(E),v=i("q1tI"),f=i("TSYQ"),d=i.n(f),l=i("H84U"),n=i("B6l+"),t=i.n(n),a=function(K){var U=K.value,G=K.formatter,W=K.precision,Z=K.decimalSeparator,J=K.groupSeparator,ve=J===void 0?"":J,q=K.prefixCls,ce;if(typeof G=="function")ce=G(U);else{var be=String(U),Ce=be.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ce||be==="-")ce=be;else{var Fe=Ce[1],fe=Ce[2]||"0",Ne=Ce[4]||"";fe=fe.replace(/\B(?=(\d{3})+(?!\d))/g,ve),typeof W=="number"&&(Ne=t()(Ne,W,"0").slice(0,W)),Ne&&(Ne="".concat(Z).concat(Ne)),ce=[v.createElement("span",{key:"int",className:"".concat(q,"-content-value-int")},Fe,fe),Ne&&v.createElement("span",{key:"decimal",className:"".concat(q,"-content-value-decimal")},Ne)]}}return v.createElement("span",{className:"".concat(q,"-content-value")},ce)},o=a,r=function(K){var U=K.prefixCls,G=K.className,W=K.style,Z=K.valueStyle,J=K.value,ve=J===void 0?0:J,q=K.title,ce=K.valueRender,be=K.prefix,Ce=K.suffix,Fe=K.direction,fe=K.onMouseEnter,Ne=K.onMouseLeave,Q=v.createElement(o,p()({},K,{value:ve})),ae=d()(U,G,m()({},"".concat(U,"-rtl"),Fe==="rtl"));return v.createElement("div",{className:ae,style:W,onMouseEnter:fe,onMouseLeave:Ne},q&&v.createElement("div",{className:"".concat(U,"-title")},q),v.createElement("div",{style:Z,className:"".concat(U,"-content")},be&&v.createElement("span",{className:"".concat(U,"-content-prefix")},be),ce?ce(Q):Q,Ce&&v.createElement("span",{className:"".concat(U,"-content-suffix")},Ce)))};r.defaultProps={decimalSeparator:".",groupSeparator:","};var c=Object(l.c)({prefixCls:"statistic"})(r),e=c,s=i("lwsE"),u=i.n(s),h=i("W8MJ"),g=i.n(h),A=i("7W2i"),w=i.n(A),b=i("LQ03"),S=i.n(b),_=i("J4zp"),T=i.n(_),x=i("QQZ/"),C=i.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(P,K){var U=P,G=/\[[^\]]*]/g,W=(K.match(G)||[]).map(function(q){return q.slice(1,-1)}),Z=K.replace(G,"[]"),J=I.reduce(function(q,ce){var be=T()(ce,2),Ce=be[0],Fe=be[1];if(q.indexOf(Ce)!==-1){var fe=Math.floor(U/Fe);return U-=fe*Fe,q.replace(new RegExp("".concat(Ce,"+"),"g"),function(Ne){var Q=Ne.length;return C()(fe.toString(),Q,"0")})}return q},Z),ve=0;return J.replace(G,function(){var q=W[ve];return ve+=1,q})}function M(P,K){var U=K.format,G=U===void 0?"":U,W=new Date(P).getTime(),Z=Date.now(),J=Math.max(W-Z,0);return L(J,G)}var k=i("0n0R"),R=1e3/30;function j(P){return new Date(P).getTime()}var V=function(P){w()(U,P);var K=S()(U);function U(){var G;return u()(this,U),G=K.apply(this,arguments),G.syncTimer=function(){var W=G.props.value,Z=j(W);Z>=Date.now()?G.startTimer():G.stopTimer()},G.startTimer=function(){if(G.countdownId)return;G.countdownId=window.setInterval(function(){G.forceUpdate()},R)},G.stopTimer=function(){var W=G.props,Z=W.onFinish,J=W.value;if(G.countdownId){clearInterval(G.countdownId),G.countdownId=void 0;var ve=j(J);Z&&ve<Date.now()&&Z()}},G.formatCountdown=function(W,Z){var J=G.props.format;return M(W,p()(p()({},Z),{format:J}))},G.valueRender=function(W){return Object(k.a)(W,{title:void 0})},G}return g()(U,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(e,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),U}(v.Component);V.defaultProps={format:"HH:mm:ss"};var D=V;e.Countdown=D;var H=N.a=e},"sK/D":function(B,N,i){var y=i("IwbS"),m=i("OELB"),E=m.round;function p(d,l,n){var t=d.getArea(),a=d.getBaseAxis().isHorizontal(),o=t.x,r=t.y,c=t.width,e=t.height,s=n.get("lineStyle.width")||2;o-=s/2,r-=s/2,c+=s,e+=s,o=Math.floor(o),c=Math.round(c);var u=new y.Rect({shape:{x:o,y:r,width:c,height:e}});return l&&(u.shape[a?"width":"height"]=0,y.initProps(u,{shape:{width:c,height:e}},n)),u}function v(d,l,n){var t=d.getArea(),a=new y.Sector({shape:{cx:E(d.cx,1),cy:E(d.cy,1),r0:E(t.r0,1),r:E(t.r,1),startAngle:t.startAngle,endAngle:t.endAngle,clockwise:t.clockwise}});return l&&(a.shape.endAngle=t.startAngle,y.initProps(a,{shape:{endAngle:t.endAngle}},n)),a}function f(d,l,n){if(d){if(d.type==="polar")return v(d,l,n);if(d.type==="cartesian2d")return p(d,l,n)}else return null;return null}N.createGridClipPath=p,N.createPolarClipPath=v,N.createClipPath=f},sKgW:function(B,N){var i=9007199254740991,y=Math.floor;function m(E,p){var v="";if(!E||p<1||p>i)return v;do p%2&&(v+=E),p=y(p/2),p&&(E+=E);while(p);return v}B.exports=m},sPJy:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("AOa7"),p=i.n(E),v=i("lUTK"),f=i("qVdP")},sPtV:function(B,N,i){"use strict";i.d(N,"a",function(){return p});var y=i("q1tI"),m=i.n(y),E=i("hkKa");function p(v){var f=y.useRef(v),d=Object(E.a)();return[function(){return f.current},function(l){f.current=l,d()}]}},sRwP:function(B,N,i){i("jsU+"),i("2548"),i("Tp9H"),i("06DH"),i("dnwI"),i("fE02"),i("33Ds")},"sS/r":function(B,N,i){var y=i("4fz+"),m=i("iRjW"),E=i("Yl7c"),p=function(){this.group=new y,this.uid=m.getUID("viewComponent")};p.prototype={constructor:p,init:function(d,l){},render:function(d,l,n,t){},dispose:function(){},filterForExposedEvent:null};var v=p.prototype;v.updateView=v.updateLayout=v.updateVisual=function(d,l,n,t){},E.enableClassExtend(p),E.enableClassManagement(p,{registerWhenExtend:!0});var f=p;B.exports=f},"sW+o":function(B,N,i){var y=i("SrGk"),m=i("bYtY"),E=i("SUKs"),p=i("Qe9p");function v(d,l){y.call(this,d,l,["linearGradient","radialGradient"],"__gradient_in_use__")}m.inherits(v,y),v.prototype.addWithoutUpdate=function(d,l){if(l&&l.style){var n=this;m.each(["fill","stroke"],function(t){if(l.style[t]&&(l.style[t].type==="linear"||l.style[t].type==="radial")){var a=l.style[t],o=n.getDefs(!0),r;a._dom?(r=a._dom,o.contains(a._dom)||n.addDom(r)):r=n.add(a),n.markUsed(l);var c=r.getAttribute("id");d.setAttribute(t,"url(#"+c+")")}})}},v.prototype.add=function(d){var l;if(d.type==="linear")l=this.createElement("linearGradient");else if(d.type==="radial")l=this.createElement("radialGradient");else return E("Illegal gradient type."),null;return d.id=d.id||this.nextId++,l.setAttribute("id","zr"+this._zrId+"-gradient-"+d.id),this.updateDom(d,l),this.addDom(l),l},v.prototype.update=function(d){var l=this;y.prototype.update.call(this,d,function(){var n=d.type,t=d._dom.tagName;n==="linear"&&t==="linearGradient"||n==="radial"&&t==="radialGradient"?l.updateDom(d,d._dom):(l.removeDom(d),l.add(d))})},v.prototype.updateDom=function(d,l){if(d.type==="linear")l.setAttribute("x1",d.x),l.setAttribute("y1",d.y),l.setAttribute("x2",d.x2),l.setAttribute("y2",d.y2);else if(d.type==="radial")l.setAttribute("cx",d.x),l.setAttribute("cy",d.y),l.setAttribute("r",d.r);else{E("Illegal gradient type.");return}d.global?l.setAttribute("gradientUnits","userSpaceOnUse"):l.setAttribute("gradientUnits","objectBoundingBox"),l.innerHTML="";for(var n=d.colorStops,t=0,a=n.length;t<a;++t){var o=this.createElement("stop");o.setAttribute("offset",n[t].offset*100+"%");var r=n[t].color;if(r.indexOf("rgba">-1)){var c=p.parse(r)[3],e=p.toHex(r);o.setAttribute("stop-color","#"+e),o.setAttribute("stop-opacity",c)}else o.setAttribute("stop-color",n[t].color);l.appendChild(o)}d._dom=l},v.prototype.markUsed=function(d){if(d.style){var l=d.style.fill;l&&l._dom&&y.prototype.markUsed.call(this,l._dom),l=d.style.stroke,l&&l._dom&&y.prototype.markUsed.call(this,l._dom)}};var f=v;B.exports=f},sboe:function(B,N,i){"use strict";i.d(N,"a",function(){return E});var y=i("q1tI"),m=i.n(y),E=y.createContext(null)},sdST:function(B,N,i){var y=i("hi0g");function m(E,p){return p=p||{},y(p.coordDimensions||[],E,{dimsDef:p.dimensionsDefine||E.dimensionsDefine,encodeDef:p.encodeDefine||E.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}B.exports=m},sjKO:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=E;var y=30,m=12;function E(p,v){var f,d,l,n,t,a,o,r,c,e,s,u,h,g,A,w,b,S,_,T,x,C,I,L,M;f=p.state,d=p.next_in,L=p.input,l=d+(p.avail_in-5),n=p.next_out,M=p.output,t=n-(v-p.avail_out),a=n+(p.avail_out-257),o=f.dmax,r=f.wsize,c=f.whave,e=f.wnext,s=f.window,u=f.hold,h=f.bits,g=f.lencode,A=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),S=g[u&w];t:for(;;){if(_=S>>>24,u>>>=_,h-=_,_=S>>>16&255,_===0)M[n++]=S&65535;else if(_&16){T=S&65535,_&=15,_&&(h<_&&(u+=L[d++]<<h,h+=8),T+=u&(1<<_)-1,u>>>=_,h-=_),h<15&&(u+=L[d++]<<h,h+=8,u+=L[d++]<<h,h+=8),S=A[u&b];r:for(;;){if(_=S>>>24,u>>>=_,h-=_,_=S>>>16&255,_&16){if(x=S&65535,_&=15,h<_&&(u+=L[d++]<<h,h+=8,h<_&&(u+=L[d++]<<h,h+=8)),x+=u&(1<<_)-1,x>o){p.msg="invalid distance too far back",f.mode=y;break e}if(u>>>=_,h-=_,_=n-t,x>_){if(_=x-_,_>c&&f.sane){p.msg="invalid distance too far back",f.mode=y;break e}if(C=0,I=s,e===0){if(C+=r-_,_<T){T-=_;do M[n++]=s[C++];while(--_);C=n-x,I=M}}else if(e<_){if(C+=r+e-_,_-=e,_<T){T-=_;do M[n++]=s[C++];while(--_);if(C=0,e<T){_=e,T-=_;do M[n++]=s[C++];while(--_);C=n-x,I=M}}}else if(C+=e-_,_<T){T-=_;do M[n++]=s[C++];while(--_);C=n-x,I=M}for(;T>2;)M[n++]=I[C++],M[n++]=I[C++],M[n++]=I[C++],T-=3;T&&(M[n++]=I[C++],T>1&&(M[n++]=I[C++]))}else{C=n-x;do M[n++]=M[C++],M[n++]=M[C++],M[n++]=M[C++],T-=3;while(T>2);T&&(M[n++]=M[C++],T>1&&(M[n++]=M[C++]))}}else if((_&64)===0){S=A[(S&65535)+(u&(1<<_)-1)];continue r}else{p.msg="invalid distance code",f.mode=y;break e}break}}else if((_&64)===0){S=g[(S&65535)+(u&(1<<_)-1)];continue t}else if(_&32){f.mode=m;break e}else{p.msg="invalid literal/length code",f.mode=y;break e}break}}while(d<l&&n<a);T=h>>3,d-=T,h-=T<<3,u&=(1<<h)-1,p.next_in=d,p.next_out=n,p.avail_in=d<l?5+(l-d):5-(d-l),p.avail_out=n<a?257+(a-n):257-(n-a),f.hold=u,f.bits=h;return}},szbU:function(B,N,i){var y=i("bYtY"),m=y.each;function E(v){var f=v&&v.visualMap;y.isArray(f)||(f=f?[f]:[]),m(f,function(d){if(!d)return;p(d,"splitList")&&!p(d,"pieces")&&(d.pieces=d.splitList,delete d.splitList);var l=d.pieces;l&&y.isArray(l)&&m(l,function(n){y.isObject(n)&&(p(n,"start")&&!p(n,"min")&&(n.min=n.start),p(n,"end")&&!p(n,"max")&&(n.max=n.end))})})}function p(v,f){return v&&v.hasOwnProperty&&v.hasOwnProperty(f)}B.exports=E},t23M:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("1OyB"),E=i("vuIU"),p=i("Ji7U"),v=i("LK+K"),f=i("q1tI"),d=i.n(f),l=i("m+aA"),n=i("Zm9Q"),t=i("Kwbf"),a=i("c+Xe"),o=i("bdgK"),r="rc-observer-key",c=function(e){Object(p.a)(u,e);var s=Object(v.a)(u);function u(){var h;return Object(m.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(g){var A=h.props.onResize,w=g[0].target,b=w.getBoundingClientRect(),S=b.width,_=b.height,T=w.offsetWidth,x=w.offsetHeight,C=Math.floor(S),I=Math.floor(_);if(h.state.width!==C||h.state.height!==I||h.state.offsetWidth!==T||h.state.offsetHeight!==x){var L={width:C,height:I,offsetWidth:T,offsetHeight:x};h.setState(L),A&&Promise.resolve().then(function(){A(Object(y.a)(Object(y.a)({},L),{},{offsetWidth:T,offsetHeight:x}))})}},h.setChildNode=function(g){h.childNode=g},h}return Object(E.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 g=this.props.disabled;if(g){this.destroyObserver();return}var A=Object(l.a)(this.childNode||this),w=A!==this.currentElement;w&&(this.destroyObserver(),this.currentElement=A),!this.resizeObserver&&A&&(this.resizeObserver=new o.default(this.onResize),this.resizeObserver.observe(A))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var g=this.props.children,A=Object(n.a)(g);if(A.length>1)Object(t.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(A.length===0)return Object(t.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var w=A[0];if(f.isValidElement(w)&&Object(a.c)(w)){var b=w.ref;A[0]=f.cloneElement(w,{ref:Object(a.a)(b,this.setChildNode)})}return A.length===1?A[0]:A.map(function(S,_){return!f.isValidElement(S)||"key"in S&&S.key!==null?S:f.cloneElement(S,{key:"".concat(r,"-").concat(_)})})}}]),u}(f.Component);c.displayName="ResizeObserver",N.a=c},t3Fx:function(B,N,i){"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 g in h)Object.prototype.hasOwnProperty.call(h,g)&&(s[g]=h[g])}return s},m=function(){function s(u,h){for(var g=0;g<h.length;g++){var A=h[g];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(u,A.key,A)}}return function(u,h,g){return h&&s(u.prototype,h),g&&s(u,g),u}}(),E=i("q1tI"),p=a(E),v=i("17x9"),f=a(v),d=i("tkwv"),l=a(d),n=i("u3os"),t=i("kzFp");function a(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 c(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){c(u,s);function u(h){o(this,u);var g=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,h));return g.getEchartsInstance=function(){return g.echartsLib.getInstanceByDom(g.echartsElement)||g.echartsLib.init(g.echartsElement,g.props.theme,g.props.opts)},g.dispose=function(){if(g.echartsElement){try{(0,n.clear)(g.echartsElement)}catch(A){console.warn(A)}g.echartsLib.dispose(g.echartsElement)}},g.rerender=function(){var A=g.props,w=A.onEvents,b=A.onChartReady,S=g.renderEchartDom();g.bindEvents(S,w||{}),typeof b=="function"&&g.props.onChartReady(S),g.echartsElement&&(0,n.bind)(g.echartsElement,function(){try{S.resize()}catch(_){console.warn(_)}})},g.bindEvents=function(A,w){var b=function(T,x){typeof T=="string"&&typeof x=="function"&&A.on(T,function(C){x(C,A)})};for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&b(S,w[S])},g.renderEchartDom=function(){var A=g.getEchartsInstance();return A.setOption(g.props.option,g.props.notMerge||!1,g.props.lazyUpdate||!1),g.props.showLoading?A.showLoading(g.props.loadingOption||null):A.hideLoading(),A},g.echartsLib=h.echarts,g.echartsElement=null,g}return m(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(g){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(g,this.props))return;if(!(0,l.default)(g.theme,this.props.theme)||!(0,l.default)(g.opts,this.props.opts)||!(0,l.default)(g.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var A=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,l.default)((0,t.pick)(this.props,A),(0,t.pick)(g,A)))return;var w=this.renderEchartDom();if(!(0,l.default)(g.style,this.props.style)||!(0,l.default)(g.className,this.props.className))try{w.resize()}catch(b){console.warn(b)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var g=this,A=this.props,w=A.style,b=A.className,S=y({height:300},w);return p.default.createElement("div",{ref:function(T){g.echartsElement=T},style:S,className:"echarts-for-react "+b})}}]),u}(E.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(B,N,i){var y=i("bYtY"),m=i("IwbS"),E=i("Qxkt"),p=i("Znkb"),v=i("+rIm"),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function d(a,o,r){o[1]>o[0]&&(o=o.slice().reverse());var c=a.coordToPoint([o[0],r]),e=a.coordToPoint([o[1],r]);return{x1:c[0],y1:c[1],x2:e[0],y2:e[1]}}function l(a){var o=a.getRadiusAxis();return o.inverse?0:1}function n(a){var o=a[0],r=a[a.length-1];o&&r&&Math.abs(Math.abs(o.coord-r.coord)-360)<1e-4&&a.pop()}var t=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(a,o){if(this.group.removeAll(),!a.get("show"))return;var r=a.axis,c=r.polar,e=c.getRadiusAxis().getExtent(),s=r.getTicksCoords(),u=r.getMinorTicksCoords(),h=y.map(r.getViewLabels(),function(g){var g=y.clone(g);return g.coord=r.dataToCoord(g.tickValue),g});n(h),n(s),y.each(f,function(g){a.get(g+".show")&&(!r.scale.isBlank()||g==="axisLine")&&this["_"+g](a,c,s,u,e,h)},this)},_axisLine:function(a,o,r,c,e){var s=a.getModel("axisLine.lineStyle"),u=l(o),h=u?0:1,g;e[h]===0?g=new m.Circle({shape:{cx:o.cx,cy:o.cy,r:e[u]},style:s.getLineStyle(),z2:1,silent:!0}):g=new m.Ring({shape:{cx:o.cx,cy:o.cy,r:e[u],r0:e[h]},style:s.getLineStyle(),z2:1,silent:!0}),g.style.fill=null,this.group.add(g)},_axisTick:function(a,o,r,c,e){var s=a.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),h=e[l(o)],g=y.map(r,function(A){return new m.Line({shape:d(o,[h,h+u],A.coord)})});this.group.add(m.mergePath(g,{style:y.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")})}))},_minorTick:function(a,o,r,c,e){if(!c.length)return;for(var s=a.getModel("axisTick"),u=a.getModel("minorTick"),h=(s.get("inside")?-1:1)*u.get("length"),g=e[l(o)],A=[],w=0;w<c.length;w++)for(var b=0;b<c[w].length;b++)A.push(new m.Line({shape:d(o,[g,g+h],c[w][b].coord)}));this.group.add(m.mergePath(A,{style:y.defaults(u.getModel("lineStyle").getLineStyle(),y.defaults(s.getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(a,o,r,c,e,s){var u=a.getCategories(!0),h=a.getModel("axisLabel"),g=h.get("margin"),A=a.get("triggerEvent");y.each(s,function(w,b){var S=h,_=w.tickValue,T=e[l(o)],x=o.coordToPoint([T+g,w.coord]),C=o.cx,I=o.cy,L=Math.abs(x[0]-C)/T<.3?"center":x[0]>C?"left":"right",M=Math.abs(x[1]-I)/T<.3?"middle":x[1]>I?"top":"bottom";u&&u[_]&&u[_].textStyle&&(S=new E(u[_].textStyle,h,h.ecModel));var k=new m.Text({silent:v.isLabelSilent(a)});this.group.add(k),m.setTextStyle(k.style,S,{x:x[0],y:x[1],textFill:S.getTextColor()||a.get("axisLine.lineStyle.color"),text:w.formattedLabel,textAlign:L,textVerticalAlign:M}),A&&(k.eventData=v.makeAxisEventDataBase(a),k.eventData.targetType="axisLabel",k.eventData.value=w.rawLabel)},this)},_splitLine:function(a,o,r,c,e){var s=a.getModel("splitLine"),u=s.getModel("lineStyle"),h=u.get("color"),g=0;h=h instanceof Array?h:[h];for(var A=[],w=0;w<r.length;w++){var b=g++%h.length;A[b]=A[b]||[],A[b].push(new m.Line({shape:d(o,e,r[w].coord)}))}for(var w=0;w<A.length;w++)this.group.add(m.mergePath(A[w],{style:y.defaults({stroke:h[w%h.length]},u.getLineStyle()),silent:!0,z:a.get("z")}))},_minorSplitLine:function(a,o,r,c,e){if(!c.length)return;for(var s=a.getModel("minorSplitLine"),u=s.getModel("lineStyle"),h=[],g=0;g<c.length;g++)for(var A=0;A<c[g].length;A++)h.push(new m.Line({shape:d(o,e,c[g][A].coord)}));this.group.add(m.mergePath(h,{style:u.getLineStyle(),silent:!0,z:a.get("z")}))},_splitArea:function(a,o,r,c,e){if(!r.length)return;var s=a.getModel("splitArea"),u=s.getModel("areaStyle"),h=u.get("color"),g=0;h=h instanceof Array?h:[h];for(var A=[],w=Math.PI/180,b=-r[0].coord*w,S=Math.min(e[0],e[1]),_=Math.max(e[0],e[1]),T=a.get("clockwise"),x=1;x<r.length;x++){var C=g++%h.length;A[C]=A[C]||[],A[C].push(new m.Sector({shape:{cx:o.cx,cy:o.cy,r0:S,r:_,startAngle:b,endAngle:-r[x].coord*w,clockwise:T},silent:!0})),b=-r[x].coord*w}for(var x=0;x<A.length;x++)this.group.add(m.mergePath(A[x],{style:y.defaults({fill:h[x%h.length]},u.getAreaStyle()),silent:!0}))}});B.exports=t},tSko:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("SRve")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PlusOutlined";var l=p.forwardRef(d);N.default=l},tceW:function(B,N,i){var y=i("KCsZ"),m=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),E={getBarItemStyle:function(p){var v=m(this,p);if(this.getBorderLineDash){var f=this.getBorderLineDash();f&&(v.lineDash=f)}return v}};B.exports=E},tkwv:function(B,N,i){"use strict";var y=Array.isArray,m=Object.keys,E=Object.prototype.hasOwnProperty;B.exports=function p(v,f){if(v===f)return!0;if(v&&f&&typeof v=="object"&&typeof f=="object"){var d=y(v),l=y(f),n,t,a;if(d&&l){if(t=v.length,t!=f.length)return!1;for(n=t;n--!==0;)if(!p(v[n],f[n]))return!1;return!0}if(d!=l)return!1;var o=v instanceof Date,r=f instanceof Date;if(o!=r)return!1;if(o&&r)return v.getTime()==f.getTime();var c=v instanceof RegExp,e=f instanceof RegExp;if(c!=e)return!1;if(c&&e)return v.toString()==f.toString();var s=m(v);if(t=s.length,t!==m(f).length)return!1;for(n=t;n--!==0;)if(!E.call(f,s[n]))return!1;for(n=t;n--!==0;)if(a=s[n],!p(v[a],f[a]))return!1;return!0}return v!==v&&f!==f}},txkQ:function(B,N,i){var y=i("aX58");N.zrender=y;var m=i("Fofx");N.matrix=m;var E=i("QBsz");N.vector=E;var p=i("bYtY"),v=i("Qe9p");N.color=v;var f=i("IwbS"),d=i("OELB");N.number=d;var l=i("7aKB");N.format=l;var n=i("iLNv"),t=n.throttle;N.throttle=n.throttle;var a=i("FUi9");N.helper=a;var o=i("vafp");N.parseGeoJSON=o;var r=i("YXkt");N.List=r;var c=i("Qxkt");N.Model=c;var e=i("hM6l");N.Axis=e;var s=i("ItGF");N.env=s;var u=o,h={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(A){h[A]=p[A]});var g={};p.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(A){g[A]=f[A]}),N.parseGeoJson=u,N.util=h,N.graphic=g},u3DP:function(B,N,i){var y=i("6GrX"),m=i("OELB"),E=m.parsePercent,p=Math.PI/180;function v(n,t,a,o,r,c,e,s,u,h){n.sort(function(L,M){return L.y-M.y});function g(L,M,k,R){for(var j=L;j<M&&!(n[j].y+k>u+e);j++)if(n[j].y+=k,j>L&&j+1<M&&n[j+1].y>n[j].y+n[j].height){A(j,k/2);return}A(M-1,k/2)}function A(L,M){for(var k=L;k>=0&&!(n[k].y-M<u);k--)if(n[k].y-=M,k>0&&n[k].y>n[k-1].y+n[k-1].height)break}function w(L,M,k,R,j,V){for(var D=(V>0,M?Number.MAX_VALUE:0),H=0,P=L.length;H<P;H++){if(L[H].labelAlignTo!=="none")continue;var K=Math.abs(L[H].y-R),U=L[H].len,G=L[H].len2,W=K<j+U?Math.sqrt((j+U+G)*(j+U+G)-K*K):Math.abs(L[H].x-k);M&&W>=D&&(W=D-10),!M&&W<=D&&(W=D+10),L[H].x=k+W*V,D=W}}for(var b=0,S,_=n.length,T=[],x=[],C=0;C<_;C++){if(n[C].position==="outer"&&n[C].labelAlignTo==="labelLine"){var I=n[C].x-h;n[C].linePoints[1][0]+=I,n[C].x=h}S=n[C].y-b,S<0&&g(C,_,-S,r),b=n[C].y+n[C].height}e-b<0&&A(_-1,b-e);for(var C=0;C<_;C++)n[C].y>=a?x.push(n[C]):T.push(n[C]);w(T,!1,t,a,o,r),w(x,!0,t,a,o,r)}function f(n,t,a,o,r,c,e,s){for(var u=[],h=[],g=Number.MAX_VALUE,A=-Number.MAX_VALUE,w=0;w<n.length;w++){if(d(n[w]))continue;n[w].x<t?(g=Math.min(g,n[w].x),u.push(n[w])):(A=Math.max(A,n[w].x),h.push(n[w]))}v(h,t,a,o,1,r,c,e,s,A),v(u,t,a,o,-1,r,c,e,s,g);for(var w=0;w<n.length;w++){var b=n[w];if(d(b))continue;var S=b.linePoints;if(S){var _=b.labelAlignTo==="edge",T=b.textRect.width,x;_?b.x<t?x=S[2][0]-b.labelDistance-e-b.labelMargin:x=e+r-b.labelMargin-S[2][0]-b.labelDistance:b.x<t?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"&&(T=y.getWidth(b.text,b.font)));var C=S[1][0]-S[2][0];_?b.x<t?S[2][0]=e+b.labelMargin+T+b.labelDistance:S[2][0]=e+r-b.labelMargin-T-b.labelDistance:(b.x<t?S[2][0]=b.x+b.labelDistance:S[2][0]=b.x-b.labelDistance,S[1][0]=S[2][0]+C),S[1][1]=S[2][1]=b.y}}}function d(n){return n.position==="center"}function l(n,t,a,o,r,c){var e=n.getData(),s=[],u,h,g=!1,A=(n.get("minShowLabelAngle")||0)*p;e.each(function(w){var b=e.getItemLayout(w),S=e.getItemModel(w),_=S.getModel("label"),T=_.get("position")||S.get("emphasis.label.position"),x=_.get("distanceToLabelLine"),C=_.get("alignTo"),I=E(_.get("margin"),a),L=_.get("bleedMargin"),M=_.getFont(),k=S.getModel("labelLine"),R=k.get("length");R=E(R,a);var j=k.get("length2");if(j=E(j,a),b.angle<A)return;var V=(b.startAngle+b.endAngle)/2,D=Math.cos(V),H=Math.sin(V),P,K,U,G;u=b.cx,h=b.cy;var W=n.getFormattedLabel(w,"normal")||e.getName(w),Z=y.getBoundingRect(W,M,G,"top"),J=T==="inside"||T==="inner";if(T==="center")P=b.cx,K=b.cy,G="center";else{var ve=(J?(b.r+b.r0)/2*D:b.r*D)+u,q=(J?(b.r+b.r0)/2*H:b.r*H)+h;if(P=ve+D*3,K=q+H*3,!J){var ce=ve+D*(R+t-b.r),be=q+H*(R+t-b.r),Ce=ce+(D<0?-1:1)*j,Fe=be;C==="edge"?P=D<0?r+I:r+a-I:P=Ce+(D<0?-x:x),K=Fe,U=[[ve,q],[ce,be],[Ce,Fe]]}G=J?"center":C==="edge"?D>0?"right":"left":D>0?"left":"right"}var fe,Ne=_.get("rotate");typeof Ne=="number"?fe=Ne*(Math.PI/180):fe=Ne?D<0?-V+Math.PI:-V:0,g=!!fe,b.label={x:P,y:K,position:T,height:Z.height,len:R,len2:j,linePoints:U,textAlign:G,verticalAlign:"middle",rotation:fe,inside:J,labelDistance:x,labelAlignTo:C,labelMargin:I,bleedMargin:L,textRect:Z,text:W,font:M},J||s.push(b.label)}),!g&&n.get("avoidLabelOverlap")&&f(s,u,h,t,a,o,r,c)}B.exports=l},u3os:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.ver=N.clear=N.bind=void 0;var y=i("P4Qj"),m=function(f,d){var l=(0,y.getSensor)(f);return l.bind(d),function(){l.unbind(d)}};N.bind=m;var E=function(f){var d=(0,y.getSensor)(f);(0,y.removeSensor)(d)};N.clear=E;var p="1.0.1";N.ver=p},u4NN:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("Uc92")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="EyeOutlined";var l=p.forwardRef(d);N.default=l},u9fO:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("b80e"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},uAnK:function(B,N,i){var y=i("bYtY"),m=i("Kagy"),E=i("KxfA"),p=E.retrieveRawValue;function v(f,d){var l=d.getModel("aria");if(l.get("show")){if(l.get("description")){f.setAttribute("aria-label",l.get("description"));return}}else return;var n=0;d.eachSeries(function(w,b){++n},this);var t=l.get("data.maxCount")||10,a=l.get("series.maxCount")||10,o=Math.min(n,a),r;if(n<1)return;var c=g();c?r=u(h("general.withTitle"),{title:c}):r=h("general.withoutTitle");var e=[],s=n>1?"series.multiple.prefix":"series.single.prefix";r+=u(h(s),{seriesCount:n}),d.eachSeries(function(w,b){if(b<o){var S,_=w.get("name"),T="series."+(n>1?"multiple":"single")+".";S=h(_?T+"withName":T+"withoutName"),S=u(S,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:A(w.subType)});var x=w.getData();window.data=x,x.count()>t?S+=u(h("data.partialData"),{displayCnt:t}):S+=h("data.allData");for(var C=[],I=0;I<x.count();I++)if(I<t){var L=x.getName(I),M=p(x,I);C.push(u(h(L?"data.withName":"data.withoutName"),{name:L,value:M}))}S+=C.join(h("data.separator.middle"))+h("data.separator.end"),e.push(S)}}),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 S=w;return y.each(b,function(_,T){S=S.replace(new RegExp("\\{\\s*"+T+"\\s*\\}","g"),_)}),S}function h(w){var b=l.get(w);if(b==null){for(var S=w.split("."),_=m.aria,T=0;T<S.length;++T)_=_[S[T]];return _}else return b}function g(){var w=d.getModel("title").option;return w&&w.length&&(w=w[0]),w&&w.text}function A(w){return m.series.typeNames[w]||"\u81EA\u5B9A\u4E49\u56FE"}}B.exports=v},uK0f:function(B,N,i){(function(y,m){B.exports=m()})(this,function(){"use strict";function y(m,E,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var v=m||[],f=[],d=0;do{var l=v.filter(function(n){return E(n,d)})[0];if(!l)break;f.push(l),v=l[p.childrenKeyName]||[],d+=1}while(v.length>0);return f}return y})},uOyE:function(B,N,i){var y=i("ProS");y.registerAction({type:"brush",event:"brush"},function(m,E){E.eachComponent({mainType:"brush",query:m},function(p){p.setAreas(m.areas)})}),y.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),y.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(B,N,i){B.exports=y;function y(){return i("gaXo"),{}}},ugBc:function(B,N,i){"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},v3Qx:function(B,N){var i={}.toString;B.exports=Array.isArray||function(y){return i.call(y)=="[object Array]"}},v56E:function(B,N,i){},v5uJ:function(B,N,i){var y=i("ProS"),m=i("2B6p"),E=m.updateCenterAndZoom;y.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(f){var d=p.dataIndex,l=f.getData().tree,n=l.getNodeByDataIndex(d);n.isExpand=!n.isExpand})}),y.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(f){var d=f.coordinateSystem,l=E(d,p);f.setCenter&&f.setCenter(l.center),f.setZoom&&f.setZoom(l.zoom)})})},"vF/C":function(B,N,i){var y=i("bLfw");y.registerSubTypeDefaulter("visualMap",function(m){return!m.categories&&(!(m.pieces?m.pieces.length>0:m.splitNumber>0)||m.calculable)?"continuous":"piecewise"})},vKoX:function(B,N,i){var y=i("SrGk"),m=i("bYtY");function E(f,d){y.call(this,f,d,["filter"],"__filter_in_use__","_shadowDom")}m.inherits(E,y),E.prototype.addWithoutUpdate=function(f,d){if(d&&p(d.style)){var l;if(d._shadowDom){l=d._shadowDom;var n=this.getDefs(!0);n.contains(d._shadowDom)||this.addDom(l)}else l=this.add(d);this.markUsed(d);var t=l.getAttribute("id");f.style.filter="url(#"+t+")"}},E.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},E.prototype.update=function(f,d){var l=d.style;if(p(l)){var n=this;y.prototype.update.call(this,d,function(){n.updateDom(d,d._shadowDom)})}else this.remove(f,d)},E.prototype.remove=function(f,d){d._shadowDomId!=null&&(this.removeDom(f),f.style.filter="")},E.prototype.updateDom=function(f,d){var l=d.getElementsByTagName("feDropShadow");l.length===0?l=this.createElement("feDropShadow"):l=l[0];var n=f.style,t=f.scale&&f.scale[0]||1,a=f.scale&&f.scale[1]||1,o,r,c,e;if(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY)o=n.shadowOffsetX||0,r=n.shadowOffsetY||0,c=n.shadowBlur,e=n.shadowColor;else if(n.textShadowBlur)o=n.textShadowOffsetX||0,r=n.textShadowOffsetY||0,c=n.textShadowBlur,e=n.textShadowColor;else{this.removeDom(d,n);return}l.setAttribute("dx",o/t),l.setAttribute("dy",r/a),l.setAttribute("flood-color",e);var s=c/2/t,u=c/2/a,h=s+" "+u;l.setAttribute("stdDeviation",h),d.setAttribute("x","-100%"),d.setAttribute("y","-100%"),d.setAttribute("width",Math.ceil(c/2*200)+"%"),d.setAttribute("height",Math.ceil(c/2*200)+"%"),d.appendChild(l),f._shadowDom=d},E.prototype.markUsed=function(f){f._shadowDom&&y.prototype.markUsed.call(this,f._shadowDom)};function p(f){return f&&(f.shadowBlur||f.shadowOffsetX||f.shadowOffsetY||f.textShadowBlur||f.textShadowOffsetX||f.textShadowOffsetY)}var v=E;B.exports=v},vL6D:function(B,N,i){var y=i("bYtY"),m=i("+rIm"),E=i("IwbS"),p=i("7bkD"),v=i("Znkb"),f=i("WN+l"),d=f.rectCoordAxisBuildSplitArea,l=f.rectCoordAxisHandleRemove,n=["axisLine","axisTickLabel","axisName"],t=["splitArea","splitLine"],a=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,c,e,s){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new E.Group;var g=p.layout(r),A=new m(r,g);y.each(n,A.add,A),u.add(this._axisGroup),u.add(A.getGroup()),y.each(t,function(w){r.get(w+".show")&&this["_"+w](r)},this),E.groupTransition(h,this._axisGroup,r),a.superCall(this,"render",r,c,e,s)},remove:function(){l(this)},_splitLine:function(r){var c=r.axis;if(c.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 g=r.coordinateSystem.getRect(),A=c.isHorizontal(),w=[],b=0,S=c.getTicksCoords({tickModel:e}),_=[],T=[],x=0;x<S.length;++x){var C=c.toGlobalCoord(S[x].coord);A?(_[0]=C,_[1]=g.y,T[0]=C,T[1]=g.y+g.height):(_[0]=g.x,_[1]=C,T[0]=g.x+g.width,T[1]=C);var I=b++%h.length;w[I]=w[I]||[],w[I].push(new E.Line({subPixelOptimize:!0,shape:{x1:_[0],y1:_[1],x2:T[0],y2:T[1]},style:{lineWidth:u},silent:!0}))}for(var x=0;x<w.length;++x)this.group.add(E.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=a;B.exports=o},vWvF:function(B,N,i){var y=i("Bq2U"),m=i("SUKs"),E=i("bYtY"),p=E.isString,v=E.isFunction,f=E.isObject,d=E.isArrayLike,l=E.indexOf,n=function(){this.animators=[]};n.prototype={constructor:n,animate:function(e,s){var u,h=!1,g=this,A=this.__zr;if(e){var w=e.split("."),b=g;h=w[0]==="shape";for(var S=0,_=w.length;S<_;S++){if(!b)continue;b=b[w[S]]}b&&(u=b)}else u=g;if(!u){m('Property "'+e+'" is not existed in element '+g.id);return}var T=g.animators,x=new y(u,s);return x.during(function(C){g.dirty(h)}).done(function(){T.splice(l(T,x),1)}),T.push(x),A&&A.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,g,A){t(this,e,s,u,h,g,A)},animateFrom:function(e,s,u,h,g,A){t(this,e,s,u,h,g,A,!0)}};function t(c,e,s,u,h,g,A,w){p(u)?(g=h,h=u,u=0):v(h)?(g=h,h="linear",u=0):v(u)?(g=u,u=0):v(s)?(g=s,s=500):s||(s=500),c.stopAnimation(),a(c,"",c,e,s,u,w);var b=c.animators.slice(),S=b.length;function _(){S--,S||g&&g()}S||g&&g();for(var T=0;T<b.length;T++)b[T].done(_).start(h,A)}function a(c,e,s,u,h,g,A){var w={},b=0;for(var S in u){if(!u.hasOwnProperty(S))continue;s[S]!=null?f(u[S])&&!d(u[S])?a(c,e?e+"."+S:S,s[S],u[S],h,g,A):(A?(w[S]=s[S],o(c,e,S,u[S])):w[S]=u[S],b++):u[S]!=null&&!A&&o(c,e,S,u[S])}b>0&&c.animate(e,!1).when(h==null?500:h,w).delay(g||0)}function o(c,e,s,u){if(!e)c.attr(s,u);else{var h={};h[e]={},h[e][s]=u,c.attr(h)}}var r=n;B.exports=r},vZ6x:function(B,N,i){var y=i("Tghj"),m=y.__DEV__,E=i("bYtY"),p=i("IwbS"),v=i("4NO4"),f=i("9KIM"),d=E.each,l=E.indexOf,n=E.curry,t=["dataToPoint","pointToData"],a=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function o(x,C,I){var L=this._targetInfoList=[],M={},k=e(C,x);d(s,function(R,j){(!I||!I.include||l(I.include,j)>=0)&&R(k,L,M)})}var r=o.prototype;r.setOutputRanges=function(x,C){this.matchOutputRanges(x,C,function(I,L,M){if((I.coordRanges||(I.coordRanges=[])).push(L),!I.coordRange){I.coordRange=L;var k=g[I.brushType](0,M,L);I.__rangeOffset={offset:w[I.brushType](k.values,I.range,[1,1]),xyMinMax:k.xyMinMax}}})},r.matchOutputRanges=function(x,C,I){d(x,function(L){var M=this.findTargetInfo(L,C);M&&M!==!0&&E.each(M.coordSyses,function(k){var R=g[L.brushType](1,k,L.range);I(L,R.values,k,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 M=g[I.brushType](0,L.coordSys,I.coordRange),k=I.__rangeOffset;I.range=k?w[I.brushType](M.values,k.offset,S(M.xyMinMax,k.xyMinMax)):M.values}},this)},r.makePanelOpts=function(x,C){return E.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&&l(L.coordSyses,C.coordinateSystem)>=0},r.findTargetInfo=function(x,C){for(var I=this._targetInfoList,L=e(C,x),M=0;M<I.length;M++){var k=I[M],R=x.panelId;if(R){if(k.panelId===R)return k}else for(var M=0;M<u.length;M++)if(u[M](L,k))return k}return!0};function c(x){return x[0]>x[1]&&x.reverse(),x}function e(x,C){return v.parseFinder(x,C,{includeMainTypes:a})}var s={grid:function(x,C){var I=x.xAxisModels,L=x.yAxisModels,M=x.gridModels,k=E.createHashMap(),R={},j={};if(!I&&!L&&!M)return;d(I,function(V){var D=V.axis.grid.model;k.set(D.id,D),R[D.id]=!0}),d(L,function(V){var D=V.axis.grid.model;k.set(D.id,D),j[D.id]=!0}),d(M,function(V){k.set(V.id,V),R[V.id]=!0,j[V.id]=!0}),k.each(function(V){var D=V.coordinateSystem,H=[];d(D.getCartesians(),function(P,K){(l(I,P.getAxis("x").model)>=0||l(L,P.getAxis("y").model)>=0)&&H.push(P)}),C.push({panelId:"grid--"+V.id,gridModel:V,coordSysModel:V,coordSys:H[0],coordSyses:H,getPanelRect:h.grid,xAxisDeclared:R[V.id],yAxisDeclared:j[V.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,M=x.gridModel;return!M&&I&&(M=I.axis.grid.model),!M&&L&&(M=L.axis.grid.model),M&&M===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(p.getTransform(x)),C}},g={lineX:n(A,0),lineY:n(A,1),rect:function(x,C,I){var L=C[t[x]]([I[0][0],I[1][0]]),M=C[t[x]]([I[0][1],I[1][1]]),k=[c([L[0],M[0]]),c([L[1],M[1]])];return{values:k,xyMinMax:k}},polygon:function(x,C,I){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],M=E.map(I,function(k){var R=C[t[x]](k);return L[0][0]=Math.min(L[0][0],R[0]),L[1][0]=Math.min(L[1][0],R[1]),L[0][1]=Math.max(L[0][1],R[0]),L[1][1]=Math.max(L[1][1],R[1]),R});return{values:M,xyMinMax:L}}};function A(x,C,I,L){var M=I.getAxis(["x","y"][x]),k=c(E.map([0,1],function(j){return C?M.coordToData(M.toLocalCoord(L[j])):M.toGlobalCoord(M.dataToCoord(L[j]))})),R=[];return R[x]=k,R[1-x]=[NaN,NaN],{values:k,xyMinMax:R}}var w={lineX:n(b,0),lineY:n(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 E.map(x,function(L,M){return[L[0]-I[0]*C[M][0],L[1]-I[1]*C[M][1]]})}};function b(x,C,I,L){return[C[0]-L[x]*I[0],C[1]-L[x]*I[1]]}function S(x,C){var I=_(x),L=_(C),M=[I[0]/L[0],I[1]/L[1]];return isNaN(M[0])&&(M[0]=1),isNaN(M[1])&&(M[1]=1),M}function _(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var T=o;B.exports=T},vZI5:function(B,N,i){var y=i("bYtY"),m=i("T4UG"),E=i("5GhG"),p=E.seriesModelMixin,v=m.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,l,n){var t=l.getItemLayout(d);return t&&n.rect(t.brushRect)}});y.mixin(v,p,!0);var f=v;B.exports=f},vafp:function(B,N,i){var y=i("bYtY"),m=i("8nly");function E(f){if(!f.UTF8Encoding)return f;var d=f.UTF8Scale;d==null&&(d=1024);for(var l=f.features,n=0;n<l.length;n++)for(var t=l[n],a=t.geometry,o=a.coordinates,r=a.encodeOffsets,c=0;c<o.length;c++){var e=o[c];if(a.type==="Polygon")o[c]=p(e,r[c],d);else if(a.type==="MultiPolygon")for(var s=0;s<e.length;s++){var u=e[s];e[s]=p(u,r[c][s],d)}}return f.UTF8Encoding=!1,f}function p(f,d,l){for(var n=[],t=d[0],a=d[1],o=0;o<f.length;o+=2){var r=f.charCodeAt(o)-64,c=f.charCodeAt(o+1)-64;r=r>>1^-(r&1),c=c>>1^-(c&1),r+=t,c+=a,t=r,a=c,n.push([r/l,c/l])}return n}function v(f,d){return E(f),y.map(y.filter(f.features,function(l){return l.geometry&&l.properties&&l.geometry.coordinates.length>0}),function(l){var n=l.properties,t=l.geometry,a=t.coordinates,o=[];t.type==="Polygon"&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),t.type==="MultiPolygon"&&y.each(a,function(c){c[0]&&o.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var r=new m(n[d||"name"],o,n.cp);return r.properties=n,r})}B.exports=v},vcCh:function(B,N,i){var y=i("ProS");i("0qV/"),y.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(m,E){E.eachComponent({mainType:"series",subType:"sankey",query:m},function(p){p.setNodePosition(m.dataIndex,[m.localX,m.localY])})})},vewr:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.getPointerEvent=y,N.stopEvent=m,N.setCapture=l,N.releaseCapture=n;function y(t){return t.changedTouches?t.changedTouches[0]:t.touches?t.touches[0]:t}function m(t){t.stopPropagation(),t.preventDefault()}var E=!1,p=null;document.captureElement=null;function v(t){if(E)return;var a=new t.constructor(t.type,t);E=!0,document.captureElement?document.captureElement.dispatchEvent(a):p.dispatchEvent(a),E=!1,t.stopPropagation(),a.defaultPrevented&&t.preventDefault(),t.type==="mouseup"&&n()}function f(){var t=document.getElementById("noVNC_mouse_capture_elem");t.style.cursor=window.getComputedStyle(document.captureElement).cursor}var d=new MutationObserver(f);function l(t){if(t.setCapture)t.setCapture(),document.captureElement=t,t.addEventListener("mouseup",n);else{n();var a=document.getElementById("noVNC_mouse_capture_elem");a===null&&(a=document.createElement("div"),a.id="noVNC_mouse_capture_elem",a.style.position="fixed",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",a.style.zIndex=1e4,a.style.display="none",document.body.appendChild(a),a.addEventListener("contextmenu",v),a.addEventListener("mousemove",v),a.addEventListener("mouseup",v)),document.captureElement=t,d.observe(t,{attributes:!0}),f(),a.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function n(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;p=document.captureElement,document.captureElement=null,d.disconnect();var t=document.getElementById("noVNC_mouse_capture_elem");t.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(B,N,i){},"vk+C":function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("RZPm"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},w5pM:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusCircleOutlined";var d=N.a=m.forwardRef(f)},w6Tc:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("apAg"));function m(p){return p&&p.__esModule?p:{default:p}}var E=y;N.default=E,B.exports=E},wCAj:function(B,N,i){"use strict";var y=i("cDf5"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("J4zp"),f=i.n(v),d=i("pVnL"),l=i.n(d),n=i("q1tI"),t=i("TSYQ"),a=i.n(t),o=i("BGR+"),r=i("rePB"),c=i("VTBJ"),e=i("KQm4"),s=i("U8pU"),u=i("ODXe"),h=i("Gytx"),g=i.n(h),A=i("Kwbf"),w=i("t23M"),b=i("qx4F");function S(Kt){return null}var _=S;function T(Kt){return null}var x=T,C=i("Ff2n"),I=i("c+Xe"),L="RC_TABLE_KEY";function M(Kt){return Kt==null?[]:Array.isArray(Kt)?Kt:[Kt]}function k(Kt,Zr){if(!Zr&&typeof Zr!="number")return Kt;for(var rn=M(Zr),pn=Kt,Qe=0;Qe<rn.length;Qe+=1){if(!pn)return null;var Dt=rn[Qe];pn=pn[Dt]}return pn}function R(Kt){var Zr=[],rn={};return Kt.forEach(function(pn){for(var Qe=pn||{},Dt=Qe.key,ur=Qe.dataIndex,ar=Dt||M(ur).join("-")||L;rn[ar];)ar="".concat(ar,"_next");rn[ar]=!0,Zr.push(ar)}),Zr}function j(){var Kt={};function Zr(Dt,ur){ur&&Object.keys(ur).forEach(function(ar){var Lr=ur[ar];Lr&&Object(s.a)(Lr)==="object"?(Dt[ar]=Dt[ar]||{},Zr(Dt[ar],Lr)):Dt[ar]=Lr})}for(var rn=arguments.length,pn=new Array(rn),Qe=0;Qe<rn;Qe++)pn[Qe]=arguments[Qe];return pn.forEach(function(Dt){Zr(Kt,Dt)}),Kt}function V(Kt){return Kt!=null}function D(Kt){return Kt&&Object(s.a)(Kt)==="object"&&!Array.isArray(Kt)&&!n.isValidElement(Kt)}function H(Kt){return typeof Kt=="string"?!0:Object(I.c)(Kt)}function P(Kt,Zr){var rn,pn=Kt.prefixCls,Qe=Kt.className,Dt=Kt.record,ur=Kt.index,ar=Kt.dataIndex,Lr=Kt.render,Rr=Kt.children,Hr=Kt.component,an=Hr===void 0?"td":Hr,wn=Kt.colSpan,In=Kt.rowSpan,Rn=Kt.fixLeft,Nn=Kt.fixRight,vn=Kt.firstFixLeft,Sn=Kt.lastFixLeft,Tn=Kt.firstFixRight,Kn=Kt.lastFixRight,Qn=Kt.appendNode,qn=Kt.additionalProps,bi=qn===void 0?{}:qn,gi=Kt.ellipsis,Ri=Kt.align,Bi=Kt.rowType,xi=Kt.isSticky,Ti="".concat(pn,"-cell"),Di,Pn;if(Rr)Pn=Rr;else{var _i=k(Dt,ar);if(Pn=_i,Lr){var ji=Lr(_i,Dt,ur);D(ji)?(Pn=ji.children,Di=ji.props):Pn=ji}}Object(s.a)(Pn)==="object"&&!Array.isArray(Pn)&&!n.isValidElement(Pn)&&(Pn=null),gi&&(Sn||Tn)&&(Pn=n.createElement("span",{className:"".concat(Ti,"-content")},Pn));var mr=Di||{},Dr=mr.colSpan,Gr=mr.rowSpan,Nr=mr.style,Gt=mr.className,xr=Object(C.a)(mr,["colSpan","rowSpan","style","className"]),rr=Dr!==void 0?Dr:wn,Pr=Gr!==void 0?Gr:In;if(rr===0||Pr===0)return null;var kr={},dn=typeof Rn=="number",ln=typeof Nn=="number";dn&&(kr.position="sticky",kr.left=Rn),ln&&(kr.position="sticky",kr.right=Nn);var yn={};Ri&&(yn.textAlign=Ri);var Bn,Gn=gi===!0?{showTitle:!0}:gi;Gn&&(Gn.showTitle||Bi==="header")&&(typeof Pn=="string"||typeof Pn=="number"?Bn=Pn.toString():n.isValidElement(Pn)&&typeof Pn.props.children=="string"&&(Bn=Pn.props.children));var ei=Object(c.a)(Object(c.a)(Object(c.a)({title:Bn},xr),bi),{},{colSpan:rr&&rr!==1?rr:null,rowSpan:Pr&&Pr!==1?Pr:null,className:a()(Ti,Qe,(rn={},Object(r.a)(rn,"".concat(Ti,"-fix-left"),dn),Object(r.a)(rn,"".concat(Ti,"-fix-left-first"),vn),Object(r.a)(rn,"".concat(Ti,"-fix-left-last"),Sn),Object(r.a)(rn,"".concat(Ti,"-fix-right"),ln),Object(r.a)(rn,"".concat(Ti,"-fix-right-first"),Tn),Object(r.a)(rn,"".concat(Ti,"-fix-right-last"),Kn),Object(r.a)(rn,"".concat(Ti,"-ellipsis"),gi),Object(r.a)(rn,"".concat(Ti,"-with-append"),Qn),Object(r.a)(rn,"".concat(Ti,"-fix-sticky"),(dn||ln)&&xi),rn),bi.className,Gt),style:Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},bi.style),yn),kr),Nr),ref:H(an)?Zr:null});return n.createElement(an,Object.assign({},ei),Qn,Pn)}var K=n.forwardRef(P);K.displayName="Cell";var U=n.memo(K,function(Kt,Zr){return Zr.shouldCellUpdate?!Zr.shouldCellUpdate(Zr.record,Kt.record):!1}),G=U,W=n.createContext(null),Z=W;function J(Kt,Zr,rn,pn,Qe){var Dt=rn[Kt]||{},ur=rn[Zr]||{},ar,Lr;Dt.fixed==="left"?ar=pn.left[Kt]:ur.fixed==="right"&&(Lr=pn.right[Zr]);var Rr=!1,Hr=!1,an=!1,wn=!1,In=rn[Zr+1],Rn=rn[Kt-1];if(Qe==="rtl"){if(ar!==void 0){var Nn=Rn&&Rn.fixed==="left";wn=!Nn}else if(Lr!==void 0){var vn=In&&In.fixed==="right";an=!vn}}else if(ar!==void 0){var Sn=In&&In.fixed==="left";Rr=!Sn}else if(Lr!==void 0){var Tn=Rn&&Rn.fixed==="right";Hr=!Tn}return{fixLeft:ar,fixRight:Lr,lastFixLeft:Rr,firstFixRight:Hr,lastFixRight:an,firstFixLeft:wn,isSticky:pn.isSticky}}function ve(Kt){var Zr=Kt.cells,rn=Kt.stickyOffsets,pn=Kt.flattenColumns,Qe=Kt.rowComponent,Dt=Kt.cellComponent,ur=Kt.onHeaderRow,ar=Kt.index,Lr=n.useContext(Z),Rr=Lr.prefixCls,Hr=Lr.direction,an;ur&&(an=ur(Zr.map(function(In){return In.column}),ar));var wn=R(Zr.map(function(In){return In.column}));return n.createElement(Qe,Object.assign({},an),Zr.map(function(In,Rn){var Nn=In.column,vn=J(In.colStart,In.colEnd,pn,rn,Hr),Sn;return Nn&&Nn.onHeaderCell&&(Sn=In.column.onHeaderCell(Nn)),n.createElement(G,Object.assign({},In,{ellipsis:Nn.ellipsis,align:Nn.align,component:Dt,prefixCls:Rr,key:wn[Rn]},vn,{additionalProps:Sn,rowType:"header"}))}))}ve.displayName="HeaderRow";var q=ve;function ce(Kt){var Zr=[];function rn(ur,ar){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Zr[Lr]=Zr[Lr]||[];var Rr=ar,Hr=ur.filter(Boolean).map(function(an){var wn={key:an.key,className:an.className||"",children:an.title,column:an,colStart:Rr},In=1,Rn=an.children;return Rn&&Rn.length>0&&(In=rn(Rn,Rr,Lr+1).reduce(function(Nn,vn){return Nn+vn},0),wn.hasSubColumns=!0),"colSpan"in an&&(In=an.colSpan),"rowSpan"in an&&(wn.rowSpan=an.rowSpan),wn.colSpan=In,wn.colEnd=wn.colStart+In-1,Zr[Lr].push(wn),Rr+=In,In});return Hr}rn(Kt,0);for(var pn=Zr.length,Qe=function(ar){Zr[ar].forEach(function(Lr){!("rowSpan"in Lr)&&!Lr.hasSubColumns&&(Lr.rowSpan=pn-ar)})},Dt=0;Dt<pn;Dt+=1)Qe(Dt);return Zr}function be(Kt){var Zr=Kt.stickyOffsets,rn=Kt.columns,pn=Kt.flattenColumns,Qe=Kt.onHeaderRow,Dt=n.useContext(Z),ur=Dt.prefixCls,ar=Dt.getComponent,Lr=n.useMemo(function(){return ce(rn)},[rn]),Rr=ar(["header","wrapper"],"thead"),Hr=ar(["header","row"],"tr"),an=ar(["header","cell"],"th");return n.createElement(Rr,{className:"".concat(ur,"-thead")},Lr.map(function(wn,In){var Rn=n.createElement(q,{key:In,flattenColumns:pn,cells:wn,stickyOffsets:Zr,rowComponent:Hr,cellComponent:an,onHeaderRow:Qe,index:In});return Rn}))}var Ce=be,Fe="RC_TABLE_INTERNAL_COL_DEFINE";function fe(Kt){var Zr=Kt.expandable,rn=Object(C.a)(Kt,["expandable"]);return"expandable"in Kt?Object(c.a)(Object(c.a)({},rn),Zr):rn}function Ne(Kt){return Object.keys(Kt).reduce(function(Zr,rn){return(rn.substr(0,5)==="data-"||rn.substr(0,5)==="aria-")&&(Zr[rn]=Kt[rn]),Zr},{})}function Q(Kt){for(var Zr=Kt.colWidths,rn=Kt.columns,pn=Kt.columCount,Qe=[],Dt=pn||rn.length,ur=!1,ar=Dt-1;ar>=0;ar-=1){var Lr=Zr[ar],Rr=rn&&rn[ar],Hr=Rr&&Rr[Fe];(Lr||Hr||ur)&&(Qe.unshift(n.createElement("col",Object.assign({key:ar,style:{width:Lr,minWidth:Lr}},Hr))),ur=!0)}return n.createElement("colgroup",null,Qe)}var ae=Q;function Ue(Kt,Zr){return Object(n.useMemo)(function(){for(var rn=[],pn=0;pn<Zr;pn+=1){var Qe=Kt[pn];if(Qe!==void 0)rn[pn]=Qe;else return null}return rn},[Kt.join("_"),Zr])}var te=n.forwardRef(function(Kt,Zr){var rn=Kt.noData,pn=Kt.columns,Qe=Kt.flattenColumns,Dt=Kt.colWidths,ur=Kt.columCount,ar=Kt.stickyOffsets,Lr=Kt.direction,Rr=Kt.fixHeader,Hr=Kt.offsetHeader,an=Kt.stickyClassName,wn=Kt.onScroll,In=Object(C.a)(Kt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Rn=n.useContext(Z),Nn=Rn.prefixCls,vn=Rn.scrollbarSize,Sn=Rn.isSticky,Tn=Sn&&!Rr?0:vn,Kn=n.useRef(null),Qn=n.useCallback(function(Ti){Object(I.b)(Zr,Ti),Object(I.b)(Kn,Ti)},[]);n.useEffect(function(){var Ti;function Di(Pn){var _i=Pn.currentTarget,ji=Pn.deltaX;ji&&(wn({currentTarget:_i,scrollLeft:_i.scrollLeft+ji}),Pn.preventDefault())}return(Ti=Kn.current)===null||Ti===void 0||Ti.addEventListener("wheel",Di),function(){var Pn;(Pn=Kn.current)===null||Pn===void 0||Pn.removeEventListener("wheel",Di)}},[]);var qn=Qe[Qe.length-1],bi={fixed:qn?qn.fixed:null,onHeaderCell:function(){return{className:"".concat(Nn,"-cell-scrollbar")}}},gi=Object(n.useMemo)(function(){return Tn?[].concat(Object(e.a)(pn),[bi]):pn},[Tn,pn]),Ri=Object(n.useMemo)(function(){return Tn?[].concat(Object(e.a)(Qe),[bi]):Qe},[Tn,Qe]),Bi=Object(n.useMemo)(function(){var Ti=ar.right,Di=ar.left;return Object(c.a)(Object(c.a)({},ar),{},{left:Lr==="rtl"?[].concat(Object(e.a)(Di.map(function(Pn){return Pn+Tn})),[0]):Di,right:Lr==="rtl"?Ti:[].concat(Object(e.a)(Ti.map(function(Pn){return Pn+Tn})),[0]),isSticky:Sn})},[Tn,ar,Sn]),xi=Ue(Dt,ur);return n.createElement("div",{style:Object(c.a)({overflow:"hidden"},Sn?{top:Hr}:{}),ref:Qn,className:a()("".concat(Nn,"-header"),Object(r.a)({},an,!!an))},n.createElement("table",{style:{tableLayout:"fixed",visibility:rn||xi?null:"hidden"}},n.createElement(ae,{colWidths:xi?[].concat(Object(e.a)(xi),[Tn]):[],columCount:ur+1,columns:Ri}),n.createElement(Ce,Object.assign({},In,{stickyOffsets:Bi,columns:gi,flattenColumns:Ri}))))});te.displayName="FixedHeader";var X=te,z=n.createContext(null),Y=z;function pe(Kt){var Zr=Kt.prefixCls,rn=Kt.children,pn=Kt.component,Qe=Kt.cellComponent,Dt=Kt.fixHeader,ur=Kt.fixColumn,ar=Kt.horizonScroll,Lr=Kt.className,Rr=Kt.expanded,Hr=Kt.componentWidth,an=Kt.colSpan,wn=n.useContext(Z),In=wn.scrollbarSize;return n.useMemo(function(){var Rn=rn;return ur&&(Rn=n.createElement("div",{style:{width:Hr-(Dt?In:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Zr,"-expanded-row-fixed")},Rn)),n.createElement(pn,{className:Lr,style:{display:Rr?null:"none"}},n.createElement(G,{component:Qe,prefixCls:Zr,colSpan:an},Rn))},[rn,pn,Dt,ar,Lr,Rr,Hr,an,In])}var se=pe;function Te(Kt){var Zr=Kt.className,rn=Kt.style,pn=Kt.record,Qe=Kt.index,Dt=Kt.rowKey,ur=Kt.getRowKey,ar=Kt.rowExpandable,Lr=Kt.expandedKeys,Rr=Kt.onRow,Hr=Kt.indent,an=Hr===void 0?0:Hr,wn=Kt.rowComponent,In=Kt.cellComponent,Rn=Kt.childrenColumnName,Nn=n.useContext(Z),vn=Nn.prefixCls,Sn=Nn.fixedInfoList,Tn=n.useContext(Y),Kn=Tn.fixHeader,Qn=Tn.fixColumn,qn=Tn.horizonScroll,bi=Tn.componentWidth,gi=Tn.flattenColumns,Ri=Tn.expandableType,Bi=Tn.expandRowByClick,xi=Tn.onTriggerExpand,Ti=Tn.rowClassName,Di=Tn.expandedRowClassName,Pn=Tn.indentSize,_i=Tn.expandIcon,ji=Tn.expandedRowRender,mr=Tn.expandIconColumnIndex,Dr=n.useState(!1),Gr=Object(u.a)(Dr,2),Nr=Gr[0],Gt=Gr[1],xr=Lr&&Lr.has(Kt.recordKey);n.useEffect(function(){xr&&Gt(!0)},[xr]);var rr=Ri==="row"&&(!ar||ar(pn)),Pr=Ri==="nest",kr=Rn&&pn&&pn[Rn],dn=rr||Pr,ln;Rr&&(ln=Rr(pn,Qe));var yn=function(da){if(Bi&&dn&&xi(pn,da),ln&&ln.onClick){for(var Wi,Mi=arguments.length,na=new Array(Mi>1?Mi-1:0),ea=1;ea<Mi;ea++)na[ea-1]=arguments[ea];(Wi=ln).onClick.apply(Wi,[da].concat(na))}},Bn;typeof Ti=="string"?Bn=Ti:typeof Ti=="function"&&(Bn=Ti(pn,Qe,an));var Gn=R(gi),ei=n.createElement(wn,Object.assign({},ln,{"data-row-key":Dt,className:a()(Zr,"".concat(vn,"-row"),"".concat(vn,"-row-level-").concat(an),Bn,ln&&ln.className),style:Object(c.a)(Object(c.a)({},rn),ln?ln.style:null),onClick:yn}),gi.map(function(la,da){var Wi=la.render,Mi=la.dataIndex,na=la.className,ea=Gn[da],_a=Sn[da],Fa;da===(mr||0)&&Pr&&(Fa=n.createElement(n.Fragment,null,n.createElement("span",{style:{paddingLeft:"".concat(Pn*an,"px")},className:"".concat(vn,"-row-indent indent-level-").concat(an)}),_i({prefixCls:vn,expanded:xr,expandable:kr,record:pn,onExpand:xi})));var ta;return la.onCell&&(ta=la.onCell(pn,Qe)),n.createElement(G,Object.assign({className:na,ellipsis:la.ellipsis,align:la.align,component:In,prefixCls:vn,key:ea,record:pn,index:Qe,dataIndex:Mi,render:Wi,shouldCellUpdate:la.shouldCellUpdate},_a,{appendNode:Fa,additionalProps:ta}))})),Ci;if(rr&&(Nr||xr)){var Qi=ji(pn,Qe,an+1,xr),ua=Di&&Di(pn,Qe,an);Ci=n.createElement(se,{expanded:xr,className:a()("".concat(vn,"-expanded-row"),"".concat(vn,"-expanded-row-level-").concat(an+1),ua),prefixCls:vn,fixHeader:Kn,fixColumn:Qn,horizonScroll:qn,component:wn,componentWidth:bi,cellComponent:In,colSpan:gi.length},Qi)}var ha;return kr&&xr&&(ha=(pn[Rn]||[]).map(function(la,da){var Wi=ur(la,da);return n.createElement(Te,Object.assign({},Kt,{key:Wi,rowKey:Wi,record:la,recordKey:Wi,index:da,indent:an+1}))})),n.createElement(n.Fragment,null,ei,Ci,ha)}Te.displayName="BodyRow";var Se=Te,ie=n.createContext(null),de=ie;function _e(Kt){var Zr=Kt.columnKey,rn=Kt.onColumnResize,pn=n.useRef();return n.useEffect(function(){pn.current&&rn(Zr,pn.current.offsetWidth)},[]),n.createElement(w.a,{onResize:function(Dt){var ur=Dt.offsetWidth;rn(Zr,ur)}},n.createElement("td",{ref:pn,style:{padding:0,border:0,height:0}},n.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function We(Kt){var Zr=Kt.data,rn=Kt.getRowKey,pn=Kt.measureColumnWidth,Qe=Kt.expandedKeys,Dt=Kt.onRow,ur=Kt.rowExpandable,ar=Kt.emptyNode,Lr=Kt.childrenColumnName,Rr=n.useContext(de),Hr=Rr.onColumnResize,an=n.useContext(Z),wn=an.prefixCls,In=an.getComponent,Rn=n.useContext(Y),Nn=Rn.fixHeader,vn=Rn.horizonScroll,Sn=Rn.flattenColumns,Tn=Rn.componentWidth;return n.useMemo(function(){var Kn=In(["body","wrapper"],"tbody"),Qn=In(["body","row"],"tr"),qn=In(["body","cell"],"td"),bi;Zr.length?bi=Zr.map(function(Ri,Bi){var xi=rn(Ri,Bi);return n.createElement(Se,{key:xi,rowKey:xi,record:Ri,recordKey:xi,index:Bi,rowComponent:Qn,cellComponent:qn,expandedKeys:Qe,onRow:Dt,getRowKey:rn,rowExpandable:ur,childrenColumnName:Lr})}):bi=n.createElement(se,{expanded:!0,className:"".concat(wn,"-placeholder"),prefixCls:wn,fixHeader:Nn,fixColumn:vn,horizonScroll:vn,component:Qn,componentWidth:Tn,cellComponent:qn,colSpan:Sn.length},ar);var gi=R(Sn);return n.createElement(Kn,{className:"".concat(wn,"-tbody")},pn&&n.createElement("tr",{"aria-hidden":"true",className:"".concat(wn,"-measure-row"),style:{height:0}},gi.map(function(Ri){return n.createElement(_e,{key:Ri,columnKey:Ri,onColumnResize:Hr})})),bi)},[Zr,wn,Dt,pn,Qe,rn,In,Tn,ar,Sn])}var at=n.memo(We);at.displayName="Body";var tt=at,Oe=i("Zm9Q");function yt(Kt){return Object(Oe.a)(Kt).filter(function(Zr){return n.isValidElement(Zr)}).map(function(Zr){var rn=Zr.key,pn=Zr.props,Qe=pn.children,Dt=Object(C.a)(pn,["children"]),ur=Object(c.a)({key:rn},Dt);return Qe&&(ur.children=yt(Qe)),ur})}function Ye(Kt){return Kt.reduce(function(Zr,rn){var pn=rn.fixed,Qe=pn===!0?"left":pn,Dt=rn.children;return Dt&&Dt.length>0?[].concat(Object(e.a)(Zr),Object(e.a)(Ye(Dt).map(function(ur){return Object(c.a)({fixed:Qe},ur)}))):[].concat(Object(e.a)(Zr),[Object(c.a)(Object(c.a)({},rn),{},{fixed:Qe})])},[])}function bt(Kt){for(var Zr=!0,rn=0;rn<Kt.length;rn+=1){var pn=Kt[rn];if(Zr&&pn.fixed!=="left")Zr=!1;else if(!Zr&&pn.fixed==="left"){Object(A.a)(!1,"Index ".concat(rn-1," of `columns` missing `fixed='left'` prop."));break}}for(var Qe=!0,Dt=Kt.length-1;Dt>=0;Dt-=1){var ur=Kt[Dt];if(Qe&&ur.fixed!=="right")Qe=!1;else if(!Qe&&ur.fixed==="right"){Object(A.a)(!1,"Index ".concat(Dt+1," of `columns` missing `fixed='right'` prop."));break}}}function Ct(Kt){return Kt.map(function(Zr){var rn=Zr.fixed,pn=Object(C.a)(Zr,["fixed"]),Qe=rn;return rn==="left"?Qe="right":rn==="right"&&(Qe="left"),Object(c.a)({fixed:Qe},pn)})}function It(Kt,Zr){var rn=Kt.prefixCls,pn=Kt.columns,Qe=Kt.children,Dt=Kt.expandable,ur=Kt.expandedKeys,ar=Kt.getRowKey,Lr=Kt.onTriggerExpand,Rr=Kt.expandIcon,Hr=Kt.rowExpandable,an=Kt.expandIconColumnIndex,wn=Kt.direction,In=Kt.expandRowByClick,Rn=n.useMemo(function(){return pn||yt(Qe)},[pn,Qe]),Nn=n.useMemo(function(){if(Dt){var Tn,Kn=an||0,Qn=Rn[Kn],qn=(Tn={},Object(r.a)(Tn,Fe,{className:"".concat(rn,"-expand-icon-col")}),Object(r.a)(Tn,"title",""),Object(r.a)(Tn,"fixed",Qn?Qn.fixed:null),Object(r.a)(Tn,"className","".concat(rn,"-row-expand-icon-cell")),Object(r.a)(Tn,"render",function(Ri,Bi,xi){var Ti=ar(Bi,xi),Di=ur.has(Ti),Pn=Hr?Hr(Bi):!0,_i=Rr({prefixCls:rn,expanded:Di,expandable:Pn,record:Bi,onExpand:Lr});return In?n.createElement("span",{onClick:function(mr){return mr.stopPropagation()}},_i):_i}),Tn),bi=Rn.slice();return Kn>=0&&bi.splice(Kn,0,qn),bi}return Rn},[Dt,Rn,ar,ur,Rr,wn]),vn=n.useMemo(function(){var Tn=Nn;return Zr&&(Tn=Zr(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[Zr,Nn,wn]),Sn=n.useMemo(function(){return wn==="rtl"?Ct(Ye(vn)):Ye(vn)},[vn,wn]);return[vn,Sn]}var Ft=It,Vt=i("xEkU"),$e=i.n(Vt);function ge(Kt){var Zr=Object(n.useRef)(Kt),rn=Object(n.useState)({}),pn=Object(u.a)(rn,2),Qe=pn[1],Dt=Object(n.useRef)(null),ur=Object(n.useRef)([]);function ar(Lr){Dt.current===null&&(ur.current=[],Dt.current=$e()(function(){ur.current.forEach(function(Rr){Zr.current=Rr(Zr.current)}),Dt.current=null,Qe({})})),ur.current.push(Lr)}return Object(n.useEffect)(function(){return function(){$e.a.cancel(Dt.current)}},[]),[Zr.current,ar]}function ne(Kt){var Zr=Object(n.useRef)(Kt),rn=Object(n.useRef)(null);function pn(){window.clearTimeout(rn.current)}function Qe(ur){Zr.current=ur,pn(),rn.current=window.setTimeout(function(){Zr.current=null,rn.current=null},100)}function Dt(){return Zr.current}return Object(n.useEffect)(function(){return pn},[]),[Qe,Dt]}function wt(Kt,Zr,rn){var pn=Object(n.useMemo)(function(){for(var Qe=[],Dt=[],ur=0,ar=0,Lr=0;Lr<Zr;Lr+=1)if(rn==="rtl"){Dt[Lr]=ar,ar+=Kt[Lr]||0;var Rr=Zr-Lr-1;Qe[Rr]=ur,ur+=Kt[Rr]||0}else{Qe[Lr]=ur,ur+=Kt[Lr]||0;var Hr=Zr-Lr-1;Dt[Hr]=ar,ar+=Kt[Hr]||0}return{left:Qe,right:Dt}},[Kt,Zr,rn]);return pn}var qe=wt;function he(Kt){var Zr=Kt.className,rn=Kt.children;return n.createElement("div",{className:Zr},rn)}var kt=he;function nr(Kt){var Zr=Kt.className,rn=Kt.index,pn=Kt.children,Qe=Kt.colSpan,Dt=Kt.rowSpan,ur=n.useContext(Z),ar=ur.prefixCls,Lr=ur.fixedInfoList,Rr=Lr[rn];return n.createElement(G,Object.assign({className:Zr,index:rn,component:"td",prefixCls:ar,record:null,dataIndex:null,render:function(){return{children:pn,props:{colSpan:Qe,rowSpan:Dt}}}},Rr))}function lt(Kt){return n.createElement("tr",Object.assign({},Kt))}function Xt(Kt){var Zr=Kt.children,rn=n.useContext(Z),pn=rn.prefixCls;return n.createElement("tfoot",{className:"".concat(pn,"-summary")},Zr)}var hr=Xt,Wr={Cell:nr,Row:lt};function mt(Kt){var Zr,rn=Kt.prefixCls,pn=Kt.record,Qe=Kt.onExpand,Dt=Kt.expanded,ur=Kt.expandable,ar="".concat(rn,"-row-expand-icon");if(!ur)return n.createElement("span",{className:a()(ar,"".concat(rn,"-row-spaced"))});var Lr=function(Hr){Qe(pn,Hr),Hr.stopPropagation()};return n.createElement("span",{className:a()(ar,(Zr={},Object(r.a)(Zr,"".concat(rn,"-row-expanded"),Dt),Object(r.a)(Zr,"".concat(rn,"-row-collapsed"),!Dt),Zr)),onClick:Lr})}function Et(Kt,Zr,rn){var pn=[];function Qe(Dt){(Dt||[]).forEach(function(ur,ar){pn.push(Zr(ur,ar)),Qe(ur[rn])})}return Qe(Kt),pn}var rt=i("zT1h"),He=i("y0+3"),ze=function(Zr,rn){var pn,Qe,Dt=Zr.scrollBodyRef,ur=Zr.onScroll,ar=Zr.offsetScroll,Lr=n.useContext(Z),Rr=Lr.prefixCls,Hr=((pn=Dt.current)===null||pn===void 0?void 0:pn.scrollWidth)||0,an=((Qe=Dt.current)===null||Qe===void 0?void 0:Qe.clientWidth)||0,wn=Hr&&an*(an/Hr),In=n.useRef(),Rn=ge({scrollLeft:0,isHiddenScrollBar:!1}),Nn=Object(u.a)(Rn,2),vn=Nn[0],Sn=Nn[1],Tn=n.useRef({delta:0,x:0}),Kn=n.useState(!1),Qn=Object(u.a)(Kn,2),qn=Qn[0],bi=Qn[1],gi=function(){bi(!1)},Ri=function(Pn){Pn.persist(),Tn.current.delta=Pn.pageX-vn.scrollLeft,Tn.current.x=0,bi(!0),Pn.preventDefault()},Bi=function(Pn){var _i,ji=Pn||((_i=window)===null||_i===void 0?void 0:_i.event),mr=ji.buttons;if(!qn||mr===0){qn&&bi(!1);return}var Dr=Tn.current.x+Pn.pageX-Tn.current.x-Tn.current.delta;Dr<=0&&(Dr=0),Dr+wn>=an&&(Dr=an-wn),ur({scrollLeft:Dr/an*(Hr+2)}),Tn.current.x=Pn.pageX},xi=function(){var Pn=Object(He.b)(Dt.current).top,_i=Pn+Dt.current.offsetHeight,ji=document.documentElement.scrollTop+window.innerHeight;_i-Object(b.a)()<=ji||Pn>=ji-ar?Sn(function(mr){return Object(c.a)(Object(c.a)({},mr),{},{isHiddenScrollBar:!0})}):Sn(function(mr){return Object(c.a)(Object(c.a)({},mr),{},{isHiddenScrollBar:!1})})},Ti=function(Pn){Sn(function(_i){return Object(c.a)(Object(c.a)({},_i),{},{scrollLeft:Pn/Hr*an||0})})};return n.useImperativeHandle(rn,function(){return{setScrollLeft:Ti}}),n.useEffect(function(){var Di=Object(rt.a)(document.body,"mouseup",gi,!1),Pn=Object(rt.a)(document.body,"mousemove",Bi,!1);return xi(),function(){Di.remove(),Pn.remove()}},[wn,qn]),n.useEffect(function(){var Di=Object(rt.a)(window,"scroll",xi,!1),Pn=Object(rt.a)(window,"resize",xi,!1);return function(){Di.remove(),Pn.remove()}},[]),n.useEffect(function(){vn.isHiddenScrollBar||Sn(function(Di){var Pn,_i;return Object(c.a)(Object(c.a)({},Di),{},{scrollLeft:Dt.current.scrollLeft/((Pn=Dt.current)===null||Pn===void 0?void 0:Pn.scrollWidth)*((_i=Dt.current)===null||_i===void 0?void 0:_i.clientWidth)})})},[vn.isHiddenScrollBar]),Hr<=an||!wn||vn.isHiddenScrollBar?null:n.createElement("div",{style:{height:Object(b.a)(),width:an,bottom:ar},className:"".concat(Rr,"-sticky-scroll")},n.createElement("div",{onMouseDown:Ri,ref:In,className:a()("".concat(Rr,"-sticky-scroll-bar"),Object(r.a)({},"".concat(Rr,"-sticky-scroll-bar-active"),qn)),style:{width:"".concat(wn,"px"),transform:"translate3d(".concat(vn.scrollLeft,"px, 0, 0)")}}))},Rt=n.forwardRef(ze);function sr(Kt,Zr){return n.useMemo(function(){var rn=!!Kt;return{isSticky:rn,stickyClassName:rn?"".concat(Zr,"-sticky-header"):"",offsetHeader:Object(s.a)(Kt)==="object"&&Kt.offsetHeader||0,offsetScroll:Object(s.a)(Kt)==="object"&&Kt.offsetScroll||0}},[Kt,Zr])}var Jt=[],qt={},qr="rc-table-internal-hook",Fr=n.memo(function(Kt){var Zr=Kt.children;return Zr},function(Kt,Zr){return g()(Kt.props,Zr.props)?Kt.pingLeft!==Zr.pingLeft||Kt.pingRight!==Zr.pingRight:!1});function mn(Kt){var Zr,rn=Kt.prefixCls,pn=Kt.className,Qe=Kt.rowClassName,Dt=Kt.style,ur=Kt.data,ar=Kt.rowKey,Lr=Kt.scroll,Rr=Kt.tableLayout,Hr=Kt.direction,an=Kt.title,wn=Kt.footer,In=Kt.summary,Rn=Kt.id,Nn=Kt.showHeader,vn=Kt.components,Sn=Kt.emptyText,Tn=Kt.onRow,Kn=Kt.onHeaderRow,Qn=Kt.internalHooks,qn=Kt.transformColumns,bi=Kt.internalRefs,gi=Kt.sticky,Ri=ur||Jt,Bi=!!Ri.length,xi=n.useState(0),Ti=Object(u.a)(xi,2),Di=Ti[0],Pn=Ti[1];n.useEffect(function(){Pn(Object(b.a)())});var _i=n.useMemo(function(){return j(vn,{})},[vn]),ji=n.useCallback(function(so,wo){return k(_i,so)||wo},[_i]),mr=n.useMemo(function(){return typeof ar=="function"?ar:function(so){var wo=so&&so[ar];return wo}},[ar]),Dr=fe(Kt),Gr=Dr.expandIcon,Nr=Dr.expandedRowKeys,Gt=Dr.defaultExpandedRowKeys,xr=Dr.defaultExpandAllRows,rr=Dr.expandedRowRender,Pr=Dr.onExpand,kr=Dr.onExpandedRowsChange,dn=Dr.expandRowByClick,ln=Dr.rowExpandable,yn=Dr.expandIconColumnIndex,Bn=Dr.expandedRowClassName,Gn=Dr.childrenColumnName,ei=Dr.indentSize,Ci=Gr||mt,Qi=Gn||"children",ua=n.useMemo(function(){return rr?"row":Kt.expandable&&Qn===qr&&Kt.expandable.__PARENT_RENDER_ICON__||Ri.some(function(so){return so&&Object(s.a)(so)==="object"&&so[Qi]})?"nest":!1},[!!rr,Ri]),ha=n.useState(function(){return Gt||(xr?Et(Ri,mr,Qi):[])}),la=Object(u.a)(ha,2),da=la[0],Wi=la[1],Mi=n.useMemo(function(){return new Set(Nr||da||[])},[Nr,da]),na=n.useCallback(function(so){var wo=mr(so,Ri.indexOf(so)),Vo,Zo=Mi.has(wo);Zo?(Mi.delete(wo),Vo=Object(e.a)(Mi)):Vo=[].concat(Object(e.a)(Mi),[wo]),Wi(Vo),Pr&&Pr(!Zo,so),kr&&kr(Vo)},[mr,Mi,Ri,Pr,kr]),ea=n.useState(0),_a=Object(u.a)(ea,2),Fa=_a[0],ta=_a[1],Yi=Ft(Object(c.a)(Object(c.a)(Object(c.a)({},Kt),Dr),{},{expandable:!!rr,expandedKeys:Mi,getRowKey:mr,onTriggerExpand:na,expandIcon:Ci,expandIconColumnIndex:yn,direction:Hr}),Qn===qr?qn:null),ka=Object(u.a)(Yi,2),ba=ka[0],Ei=ka[1],ca=n.useMemo(function(){return{columns:ba,flattenColumns:Ei}},[ba,Ei]),Ha=n.useRef(),Pa=n.useRef(),ya=n.useRef(),Ea=n.useState(!1),Ga=Object(u.a)(Ea,2),Ta=Ga[0],Va=Ga[1],uo=n.useState(!1),aa=Object(u.a)(uo,2),po=aa[0],Ua=aa[1],Da=ge(new Map),$a=Object(u.a)(Da,2),Ma=$a[0],Ka=$a[1],yo=R(Ei),io=yo.map(function(so){return Ma.get(so)}),xo=n.useMemo(function(){return io},[io.join("_")]),mo=qe(xo,Ei.length,Hr),go=Lr&&V(Lr.y),Ya=Lr&&V(Lr.x),qa=Ya&&Ei.some(function(so){var wo=so.fixed;return wo}),La=n.useRef(),oo=sr(gi,rn),vo=oo.isSticky,Fi=oo.offsetHeader,ma=oo.offsetScroll,Mo=oo.stickyClassName,zo,Qo,Jo;go&&(Qo={overflowY:"scroll",maxHeight:Lr.y}),Ya&&(zo={overflowX:"auto"},go||(Qo={overflowY:"hidden"}),Jo={width:Lr.x===!0?"auto":Lr.x,minWidth:"100%"});var bo=n.useCallback(function(so,wo){Ka(function(Vo){var Zo=new Map(Vo);return Zo.set(so,wo),Zo})},[]),Ra=ne(null),jo=Object(u.a)(Ra,2),hs=jo[0],Ao=jo[1];function Io(so,wo){if(!wo)return;typeof wo=="function"?wo(so):wo.scrollLeft!==so&&(wo.scrollLeft=so)}var Xa=function(wo){var Vo=wo.currentTarget,Zo=wo.scrollLeft,As=typeof Zo=="number"?Zo:Vo.scrollLeft,ws=Vo||qt;if(!Ao()||Ao()===ws){var Ss;hs(ws),Io(As,Pa.current),Io(As,ya.current),Io(As,(Ss=La.current)===null||Ss===void 0?void 0:Ss.setScrollLeft)}if(Vo){var Qs=Vo.scrollWidth,Hs=Vo.clientWidth;Va(As>0),Ua(As<Qs-Hs)}},Yo=function(){ya.current&&Xa({currentTarget:ya.current})},pl=function(wo){var Vo=wo.width;Yo(),ta(Ha.current?Ha.current.offsetWidth:Vo)};n.useEffect(function(){return Yo},[]),n.useEffect(function(){Ya&&Yo()},[Ya]),n.useEffect(function(){Qn===qr&&bi&&(bi.body.current=ya.current)});var Ls=ji(["table"],"table"),os=n.useMemo(function(){return Rr||(qa?Lr.x==="max-content"?"auto":"fixed":go||Ei.some(function(so){var wo=so.ellipsis;return wo})?"fixed":"auto")},[go,qa,Ei,Rr]),_s,Ns={colWidths:xo,columCount:Ei.length,stickyOffsets:mo,onHeaderRow:Kn,fixHeader:go},is=n.useMemo(function(){return Bi?null:typeof Sn=="function"?Sn():Sn},[Bi,Sn]),Wo=n.createElement(tt,{data:Ri,measureColumnWidth:go||Ya||vo,expandedKeys:Mi,rowExpandable:ln,getRowKey:mr,onRow:Tn,emptyNode:is,childrenColumnName:Qi}),Co=n.createElement(ae,{colWidths:Ei.map(function(so){var wo=so.width;return wo}),columns:Ei}),ts=In&&n.createElement(hr,null,In(Ri)),No=ji(["body"]);if(go||vo){var Ho;typeof No=="function"?(Ho=No(Ri,{scrollbarSize:Di,ref:ya,onScroll:Xa}),Ns.colWidths=Ei.map(function(so,wo){var Vo=so.width,Zo=wo===ba.length-1?Vo-Di:Vo;return typeof Zo=="number"&&!Number.isNaN(Zo)?Zo:(Object(A.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):Ho=n.createElement("div",{style:Object(c.a)(Object(c.a)({},zo),Qo),onScroll:Xa,ref:ya,className:a()("".concat(rn,"-body"))},n.createElement(Ls,{style:Object(c.a)(Object(c.a)({},Jo),{},{tableLayout:os})},Co,Wo,ts),vo&&n.createElement(Rt,{ref:La,offsetScroll:ma,scrollBodyRef:ya,onScroll:Xa})),_s=n.createElement(n.Fragment,null,Nn!==!1&&n.createElement(X,Object.assign({noData:!Ri.length},Ns,ca,{direction:Hr,offsetHeader:Fi,stickyClassName:Mo,ref:Pa,onScroll:Xa})),Ho)}else _s=n.createElement("div",{style:Object(c.a)(Object(c.a)({},zo),Qo),className:a()("".concat(rn,"-content")),onScroll:Xa,ref:ya},n.createElement(Ls,{style:Object(c.a)(Object(c.a)({},Jo),{},{tableLayout:os})},Co,Nn!==!1&&n.createElement(Ce,Object.assign({},Ns,ca)),Wo,ts));var zr=Ne(Kt),Si=n.createElement("div",Object.assign({className:a()(rn,pn,(Zr={},Object(r.a)(Zr,"".concat(rn,"-rtl"),Hr==="rtl"),Object(r.a)(Zr,"".concat(rn,"-ping-left"),Ta),Object(r.a)(Zr,"".concat(rn,"-ping-right"),po),Object(r.a)(Zr,"".concat(rn,"-layout-fixed"),Rr==="fixed"),Object(r.a)(Zr,"".concat(rn,"-fixed-header"),go),Object(r.a)(Zr,"".concat(rn,"-fixed-column"),qa),Object(r.a)(Zr,"".concat(rn,"-scroll-horizontal"),Ya),Object(r.a)(Zr,"".concat(rn,"-has-fix-left"),Ei[0]&&Ei[0].fixed),Object(r.a)(Zr,"".concat(rn,"-has-fix-right"),Ei[Ei.length-1]&&Ei[Ei.length-1].fixed==="right"),Zr)),style:Dt,id:Rn,ref:Ha},zr),n.createElement(Fr,{pingLeft:Ta,pingRight:po,props:Object(c.a)(Object(c.a)({},Kt),{},{stickyOffsets:mo,mergedExpandedKeys:Mi})},an&&n.createElement(kt,{className:"".concat(rn,"-title")},an(Ri)),n.createElement("div",{className:"".concat(rn,"-container")},_s),wn&&n.createElement(kt,{className:"".concat(rn,"-footer")},wn(Ri))));Ya&&(Si=n.createElement(w.a,{onResize:pl},Si));var Ps=n.useMemo(function(){return{prefixCls:rn,getComponent:ji,scrollbarSize:Di,direction:Hr,fixedInfoList:Ei.map(function(so,wo){return J(wo,wo,Ei,mo,Hr)}),isSticky:vo}},[rn,ji,Di,Hr,Ei,mo,Hr,vo]),Vs=n.useMemo(function(){return Object(c.a)(Object(c.a)({},ca),{},{tableLayout:os,rowClassName:Qe,expandedRowClassName:Bn,componentWidth:Fa,fixHeader:go,fixColumn:qa,horizonScroll:Ya,expandIcon:Ci,expandableType:ua,expandRowByClick:dn,expandedRowRender:rr,onTriggerExpand:na,expandIconColumnIndex:yn,indentSize:ei})},[ca,os,Qe,Bn,Fa,go,qa,Ya,Ci,ua,dn,rr,na,yn,ei]),Ms=n.useMemo(function(){return{onColumnResize:bo}},[bo]);return n.createElement(Z.Provider,{value:Ps},n.createElement(Y.Provider,{value:Vs},n.createElement(de.Provider,{value:Ms},Si)))}mn.Column=x,mn.ColumnGroup=_,mn.Summary=Wr,mn.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Tt=mn,St=Tt,Re=i("W9HT"),Ve=i("NUBc"),Xe=i("H84U"),ct=function(Kt,Zr){var rn={};for(var pn in Kt)Object.prototype.hasOwnProperty.call(Kt,pn)&&Zr.indexOf(pn)<0&&(rn[pn]=Kt[pn]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,pn=Object.getOwnPropertySymbols(Kt);Qe<pn.length;Qe++)Zr.indexOf(pn[Qe])<0&&Object.prototype.propertyIsEnumerable.call(Kt,pn[Qe])&&(rn[pn[Qe]]=Kt[pn[Qe]]);return rn},tr=10;function ir(Kt,Zr){var rn={current:Zr.current,pageSize:Zr.pageSize},pn=Kt&&m()(Kt)==="object"?Kt:{};return Object.keys(pn).forEach(function(Qe){var Dt=Zr[Qe];typeof Dt!="function"&&(rn[Qe]=Dt)}),rn}function or(){for(var Kt={},Zr=arguments.length,rn=new Array(Zr),pn=0;pn<Zr;pn++)rn[pn]=arguments[pn];return rn.forEach(function(Qe){Qe&&Object.keys(Qe).forEach(function(Dt){var ur=Qe[Dt];ur!==void 0&&(Kt[Dt]=ur)})}),Kt}function Xr(Kt,Zr,rn){var pn=Zr&&m()(Zr)==="object"?Zr:{},Qe=pn.total,Dt=Qe===void 0?0:Qe,ur=ct(pn,["total"]),ar=Object(n.useState)(function(){return{current:"defaultCurrent"in ur?ur.defaultCurrent:1,pageSize:"defaultPageSize"in ur?ur.defaultPageSize:tr}}),Lr=f()(ar,2),Rr=Lr[0],Hr=Lr[1],an=or(Rr,ur,{total:Dt>0?Dt:Kt});if(!Dt){var wn=Math.ceil(Kt/an.pageSize);wn<an.current&&(an.current=1)}var In=function(){var vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Sn=arguments.length>1?arguments[1]:void 0;Hr(l()(l()({},an),{current:vn,pageSize:Sn||an.pageSize}))},Rn=function(vn,Sn){var Tn=an==null?void 0:an.pageSize;Sn&&Sn!==Tn&&(vn=1,Zr&&Zr.onShowSizeChange&&Zr.onShowSizeChange(vn,Sn)),Zr&&Zr.onChange&&Zr.onChange(vn,Sn),In(vn,Sn),rn(vn,Sn||Tn)};return Zr===!1?[{},function(){}]:[l()(l()({},an),{onChange:Rn}),In]}function Yr(Kt,Zr,rn){var pn=n.useRef({});function Qe(Dt){if(!pn.current||pn.current.data!==Kt||pn.current.childrenColumnName!==Zr||pn.current.getRowKey!==rn){var ur=function Lr(Rr){Rr.forEach(function(Hr,an){var wn=rn(Hr,an);ar.set(wn,Hr),Hr&&m()(Hr)==="object"&&Zr in Hr&&Lr(Hr[Zr]||[])})},ar=new Map;ur(Kt),pn.current={data:Kt,childrenColumnName:Zr,kvMap:ar,getRowKey:rn}}return pn.current.kvMap.get(Dt)}return[Qe]}var bn=i("SA+Z"),Yt=i.n(bn),pt=i("RIqP"),ht=i.n(pt),Zt=i("HQEm"),$t=i.n(Zt),At=i("815F"),Pt=i("NvD2"),gt=i("OZM5"),Wt=i("6cGi"),yr=i("kaz8"),cr=i("jsC+"),pr=i("BvKs"),Qr=i("9yH6"),$r=i("uaoM"),Ln="SELECT_ALL",Mn="SELECT_INVERT";function Vn(Kt){return Kt&&Kt.fixed}function ii(Kt,Zr){var rn=[];return(Kt||[]).forEach(function(pn){rn.push(pn),pn&&m()(pn)==="object"&&Zr in pn&&(rn=[].concat(ht()(rn),ht()(ii(pn[Zr],Zr))))}),rn}function Li(Kt,Zr){var rn=Kt||{},pn=rn.preserveSelectedRowKeys,Qe=rn.selectedRowKeys,Dt=rn.getCheckboxProps,ur=rn.onChange,ar=rn.onSelect,Lr=rn.onSelectAll,Rr=rn.onSelectInvert,Hr=rn.onSelectMultiple,an=rn.columnWidth,wn=rn.type,In=rn.selections,Rn=rn.fixed,Nn=rn.renderCell,vn=rn.hideSelectAll,Sn=rn.checkStrictly,Tn=Sn===void 0?!0:Sn,Kn=Zr.prefixCls,Qn=Zr.data,qn=Zr.pageData,bi=Zr.getRecordByKey,gi=Zr.getRowKey,Ri=Zr.expandType,Bi=Zr.childrenColumnName,xi=Zr.locale,Ti=Zr.expandIconColumnIndex,Di=Zr.getPopupContainer,Pn=n.useRef(new Map),_i=Object(Wt.a)(Qe||[],{value:Qe}),ji=f()(_i,2),mr=ji[0],Dr=ji[1],Gr=Object(n.useMemo)(function(){return Tn?{keyEntities:null}:Object(At.a)(Qn,void 0,gi)},[Qn,gi,Tn]),Nr=Gr.keyEntities,Gt=Object(n.useMemo)(function(){return ii(qn,Bi)},[qn,Bi]),xr=Object(n.useMemo)(function(){var Wi=new Map;return Gt.forEach(function(Mi,na){var ea=gi(Mi,na),_a=(Dt?Dt(Mi):null)||{};Wi.set(ea,_a)}),Wi},[Gt,gi,Dt]),rr=Object(n.useCallback)(function(Wi){var Mi;return!!((Mi=xr.get(gi(Wi)))===null||Mi===void 0?void 0:Mi.disabled)},[xr,gi]),Pr=Object(n.useMemo)(function(){if(Tn)return[mr,[]];var Wi=Object(Pt.a)(mr,!0,Nr,rr),Mi=Wi.checkedKeys,na=Wi.halfCheckedKeys;return[Mi,na]},[mr,Tn,Nr,rr]),kr=f()(Pr,2),dn=kr[0],ln=kr[1],yn=Object(n.useMemo)(function(){var Wi=wn==="radio"?dn.slice(0,1):dn;return new Set(Wi)},[dn,wn]),Bn=Object(n.useMemo)(function(){return wn==="radio"?new Set:new Set(ln)},[ln,wn]),Gn=Object(n.useState)(null),ei=f()(Gn,2),Ci=ei[0],Qi=ei[1];n.useEffect(function(){Kt||Dr([])},[!!Kt]);var ua=Object(n.useCallback)(function(Wi){var Mi,na;if(pn){var ea=new Map;Mi=Wi,na=Wi.map(function(_a){var Fa=bi(_a);return!Fa&&Pn.current.has(_a)&&(Fa=Pn.current.get(_a)),ea.set(_a,Fa),Fa}),Pn.current=ea}else Mi=[],na=[],Wi.forEach(function(_a){var Fa=bi(_a);Fa!==void 0&&(Mi.push(_a),na.push(Fa))});Dr(Mi),ur&&ur(Mi,na)},[Dr,bi,ur,pn]),ha=Object(n.useCallback)(function(Wi,Mi,na,ea){if(ar){var _a=na.map(function(Fa){return bi(Fa)});ar(bi(Wi),Mi,_a,ea)}ua(na)},[ar,bi,ua]),la=Object(n.useMemo)(function(){if(!In||vn)return null;var Wi=In===!0?[Ln,Mn]:In;return Wi.map(function(Mi){return Mi===Ln?{key:"all",text:xi.selectionAll,onSelect:function(){ua(Qn.map(function(ea,_a){return gi(ea,_a)}))}}:Mi===Mn?{key:"invert",text:xi.selectInvert,onSelect:function(){var ea=new Set(yn);qn.forEach(function(Fa,ta){var Yi=gi(Fa,ta);ea.has(Yi)?ea.delete(Yi):ea.add(Yi)});var _a=Array.from(ea);ua(_a),Rr&&(Object($r.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Rr(_a))}}:Mi})},[In,yn,qn,gi,Rr,ua]),da=Object(n.useCallback)(function(Wi){if(!Kt)return Wi;var Mi=new Set(yn),na=Gt.map(gi).filter(function(Ta){return!xr.get(Ta).disabled}),ea=na.every(function(Ta){return Mi.has(Ta)}),_a=na.some(function(Ta){return Mi.has(Ta)}),Fa=function(){var Va=[];ea?na.forEach(function(aa){Mi.delete(aa),Va.push(aa)}):na.forEach(function(aa){Mi.has(aa)||(Mi.add(aa),Va.push(aa))});var uo=Array.from(Mi);ua(uo),Lr&&Lr(!ea,uo.map(function(aa){return bi(aa)}),Va.map(function(aa){return bi(aa)}))},ta;if(wn!=="radio"){var Yi;if(la){var ka=n.createElement(pr.a,{getPopupContainer:Di},la.map(function(Ta,Va){var uo=Ta.key,aa=Ta.text,po=Ta.onSelect;return n.createElement(pr.a.Item,{key:uo||Va,onClick:function(){po&&po(na)}},aa)}));Yi=n.createElement("div",{className:"".concat(Kn,"-selection-extra")},n.createElement(cr.a,{overlay:ka,getPopupContainer:Di},n.createElement("span",null,n.createElement($t.a,null))))}var ba=Gt.every(function(Ta,Va){var uo=gi(Ta,Va),aa=xr.get(uo)||{};return aa.disabled});ta=!vn&&n.createElement("div",{className:"".concat(Kn,"-selection")},n.createElement(yr.a,{checked:!ba&&!!Gt.length&&ea,indeterminate:!ea&&_a,onChange:Fa,disabled:Gt.length===0||ba}),Yi)}var Ei;wn==="radio"?Ei=function(Va,uo,aa){var po=gi(uo,aa),Ua=Mi.has(po);return{node:n.createElement(Qr.a,l()({},xr.get(po),{checked:Ua,onClick:function($a){return $a.stopPropagation()},onChange:function($a){Mi.has(po)||ha(po,!0,[po],$a.nativeEvent)}})),checked:Ua}}:Ei=function(Va,uo,aa){var po,Ua=gi(uo,aa),Da=Mi.has(Ua),$a=Bn.has(Ua),Ma=xr.get(Ua),Ka;return Ri==="nest"?(Ka=$a,Object($r.a)(!(typeof(Ma==null?void 0:Ma.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Ka=(po=Ma==null?void 0:Ma.indeterminate)!==null&&po!==void 0?po:$a,{node:n.createElement(yr.a,l()({},Ma,{indeterminate:Ka,checked:Da,onClick:function(io){return io.stopPropagation()},onChange:function(io){var xo=io.nativeEvent,mo=xo.shiftKey,go=-1,Ya=-1;if(mo&&Tn){var qa=new Set([Ci,Ua]);na.some(function(Ra,jo){if(qa.has(Ra))if(go===-1)go=jo;else return Ya=jo,!0;return!1})}if(Ya!==-1&&go!==Ya&&Tn){var La=na.slice(go,Ya+1),oo=[];Da?La.forEach(function(Ra){Mi.has(Ra)&&(oo.push(Ra),Mi.delete(Ra))}):La.forEach(function(Ra){Mi.has(Ra)||(oo.push(Ra),Mi.add(Ra))});var vo=Array.from(Mi);ua(vo),Hr&&Hr(!Da,vo.map(function(Ra){return bi(Ra)}),oo.map(function(Ra){return bi(Ra)}))}else{var Fi=dn;if(Tn){var ma=Da?Object(gt.b)(Fi,Ua):Object(gt.a)(Fi,Ua);ha(Ua,!Da,ma,xo)}else{var Mo=Object(Pt.a)([].concat(ht()(Fi),[Ua]),!0,Nr,rr),zo=Mo.checkedKeys,Qo=Mo.halfCheckedKeys,Jo=zo;if(Da){var bo=new Set(zo);bo.delete(Ua),Jo=Object(Pt.a)(Array.from(bo),{checked:!1,halfCheckedKeys:Qo},Nr,rr).checkedKeys}ha(Ua,!Da,Jo,xo)}}Qi(Ua)}})),checked:Da}};var ca=function(Va,uo,aa){var po=Ei(Va,uo,aa),Ua=po.node,Da=po.checked;return Nn?Nn(Da,uo,aa,Ua):Ua},Ha=p()({width:an,className:"".concat(Kn,"-selection-column"),title:Kt.columnTitle||ta,render:ca},Fe,{className:"".concat(Kn,"-selection-col")});if(Ri==="row"&&Wi.length&&!Ti){var Pa=Yt()(Wi),ya=Pa[0],Ea=Pa.slice(1),Ga=Rn||Vn(Ea[0]);return Ga&&(ya.fixed=Ga),[ya,l()(l()({},Ha),{fixed:Ga})].concat(ht()(Ea))}return[l()(l()({},Ha),{fixed:Rn||Vn(Wi[0])})].concat(ht()(Wi))},[gi,Gt,Kt,dn,yn,Bn,an,la,Ri,Ci,xr,Hr,ha,rr]);return[da,yn]}var Pi=i("6SEX"),Ze=i.n(Pi),xe=i("i8CU"),Me=i.n(xe),ke=i("3S7+");function Ge(Kt,Zr){return"key"in Kt&&Kt.key!==void 0&&Kt.key!==null?Kt.key:Kt.dataIndex?Array.isArray(Kt.dataIndex)?Kt.dataIndex.join("."):Kt.dataIndex:Zr}function Ke(Kt,Zr){return Zr?"".concat(Zr,"-").concat(Kt):"".concat(Kt)}function Je(Kt,Zr){return typeof Kt=="function"?Kt(Zr):Kt}var vt="ascend",ot="descend";function Ut(Kt){return m()(Kt.sorter)==="object"&&typeof Kt.sorter.multiple=="number"?Kt.sorter.multiple:!1}function br(Kt){return typeof Kt=="function"?Kt:Kt&&m()(Kt)==="object"&&Kt.compare?Kt.compare:!1}function Ar(Kt,Zr){return Zr?Kt[Kt.indexOf(Zr)+1]:Kt[0]}function Or(Kt,Zr,rn){var pn=[];function Qe(Dt,ur){pn.push({column:Dt,key:Ge(Dt,ur),multiplePriority:Ut(Dt),sortOrder:Dt.sortOrder})}return(Kt||[]).forEach(function(Dt,ur){var ar=Ke(ur,rn);Dt.children?("sortOrder"in Dt&&Qe(Dt,ar),pn=[].concat(ht()(pn),ht()(Or(Dt.children,Zr,ar)))):Dt.sorter&&("sortOrder"in Dt?Qe(Dt,ar):Zr&&Dt.defaultSortOrder&&pn.push({column:Dt,key:Ge(Dt,ar),multiplePriority:Ut(Dt),sortOrder:Dt.defaultSortOrder}))}),pn}function zt(Kt,Zr,rn,pn,Qe,Dt,ur,ar){return(Zr||[]).map(function(Lr,Rr){var Hr=Ke(Rr,ar),an=Lr;if(an.sorter){var wn=an.sortDirections||Qe,In=an.showSorterTooltip===void 0?ur:an.showSorterTooltip,Rn=Ge(an,Hr),Nn=rn.find(function(Bi){var xi=Bi.key;return xi===Rn}),vn=Nn?Nn.sortOrder:null,Sn=Ar(wn,vn),Tn=wn.includes(vt)&&n.createElement(Me.a,{className:a()("".concat(Kt,"-column-sorter-up"),{active:vn===vt})}),Kn=wn.includes(ot)&&n.createElement(Ze.a,{className:a()("".concat(Kt,"-column-sorter-down"),{active:vn===ot})}),Qn=Dt||{},qn=Qn.cancelSort,bi=Qn.triggerAsc,gi=Qn.triggerDesc,Ri=qn;Sn===ot?Ri=gi:Sn===vt&&(Ri=bi),an=l()(l()({},an),{className:a()(an.className,p()({},"".concat(Kt,"-column-sort"),vn)),title:function(xi){var Ti=n.createElement("div",{className:"".concat(Kt,"-column-sorters")},n.createElement("span",null,Je(Lr.title,xi)),n.createElement("span",{className:a()("".concat(Kt,"-column-sorter"),p()({},"".concat(Kt,"-column-sorter-full"),Tn&&Kn))},n.createElement("span",{className:"".concat(Kt,"-column-sorter-inner")},Tn,Kn)));return In?n.createElement(ke.a,{title:Ri},n.createElement("div",{className:"".concat(Kt,"-column-sorters-with-tooltip")},Ti)):Ti},onHeaderCell:function(xi){var Ti=Lr.onHeaderCell&&Lr.onHeaderCell(xi)||{},Di=Ti.onClick;return Ti.onClick=function(Pn){pn({column:Lr,key:Rn,sortOrder:Sn,multiplePriority:Ut(Lr)}),Di&&Di(Pn)},Ti.className=a()(Ti.className,"".concat(Kt,"-column-has-sorters")),Ti}})}return"children"in an&&(an=l()(l()({},an),{children:zt(Kt,an.children,rn,pn,Qe,Dt,ur,Hr)})),an})}function un(Kt){var Zr=Kt.column,rn=Kt.sortOrder;return{column:Zr,order:rn,field:Zr.dataIndex,columnKey:Zr.key}}function lr(Kt){var Zr=Kt.filter(function(rn){var pn=rn.sortOrder;return pn}).map(un);return Zr.length===0&&Kt.length?l()(l()({},un(Kt[Kt.length-1])),{column:void 0}):Zr.length<=1?Zr[0]||{}:Zr}function Vr(Kt,Zr,rn){var pn=Zr.slice().sort(function(ur,ar){return ar.multiplePriority-ur.multiplePriority}),Qe=Kt.slice(),Dt=pn.filter(function(ur){var ar=ur.column.sorter,Lr=ur.sortOrder;return br(ar)&&Lr});return Dt.length?Qe.sort(function(ur,ar){for(var Lr=0;Lr<Dt.length;Lr+=1){var Rr=Dt[Lr],Hr=Rr.column.sorter,an=Rr.sortOrder,wn=br(Hr);if(wn&&an){var In=wn(ur,ar,an);if(In!==0)return an===vt?In:-In}}return 0}).map(function(ur){var ar=ur[rn];return ar?l()(l()({},ur),p()({},rn,Vr(ar,Zr,rn))):ur}):Qe}function Br(Kt){var Zr=Kt.prefixCls,rn=Kt.mergedColumns,pn=Kt.onSorterChange,Qe=Kt.sortDirections,Dt=Kt.tableLocale,ur=Kt.showSorterTooltip,ar=n.useState(Or(rn,!0)),Lr=f()(ar,2),Rr=Lr[0],Hr=Lr[1],an=n.useMemo(function(){var vn=!0,Sn=Or(rn,!1);if(!Sn.length)return Rr;var Tn=[];function Kn(qn){vn?Tn.push(qn):Tn.push(l()(l()({},qn),{sortOrder:null}))}var Qn=null;return Sn.forEach(function(qn){Qn===null?(Kn(qn),qn.sortOrder&&(qn.multiplePriority===!1?vn=!1:Qn=!0)):(Qn&&qn.multiplePriority!==!1||(vn=!1),Kn(qn))}),Tn},[rn,Rr]),wn=n.useMemo(function(){var vn=an.map(function(Sn){var Tn=Sn.column,Kn=Sn.sortOrder;return{column:Tn,order:Kn}});return{sortColumns:vn,sortColumn:vn[0]&&vn[0].column,sortOrder:vn[0]&&vn[0].order}},[an]);function In(vn){var Sn;vn.multiplePriority===!1||!an.length||an[0].multiplePriority===!1?Sn=[vn]:Sn=[].concat(ht()(an.filter(function(Tn){var Kn=Tn.key;return Kn!==vn.key})),[vn]),Hr(Sn),pn(lr(Sn),Sn)}var Rn=function(Sn){return zt(Zr,Sn,an,In,Qe,Dt,ur)},Nn=function(){return lr(an)};return[Rn,an,wn,Nn]}var Sr=i("Y+p1"),xn=i.n(Sr),Hn=i("5Uyt"),ai=i.n(Hn),si=i("2/Rp"),Yn=i("ECub"),Wn=function(Zr){return n.createElement("div",{className:Zr.className,onClick:function(pn){return pn.stopPropagation()}},Zr.children)},Dn=Wn,vi=i("sPtV"),gn=pr.a.SubMenu,Kr=pr.a.Item;function En(Kt){return Kt.some(function(Zr){var rn=Zr.children;return rn})}function sn(Kt){var Zr=Kt.filters,rn=Kt.prefixCls,pn=Kt.filteredKeys,Qe=Kt.filterMultiple,Dt=Kt.locale;return Zr.length===0?n.createElement(n.Fragment,null,n.createElement(Yn.a,{image:Yn.a.PRESENTED_IMAGE_SIMPLE,description:Dt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Zr.map(function(ur,ar){var Lr=String(ur.value);if(ur.children)return n.createElement(gn,{key:Lr||ar,title:ur.text,popupClassName:"".concat(rn,"-dropdown-submenu")},sn({filters:ur.children,prefixCls:rn,filteredKeys:pn,filterMultiple:Qe,locale:Dt}));var Rr=Qe?yr.a:Qr.a;return n.createElement(Kr,{key:ur.value!==void 0?Lr:ar},n.createElement(Rr,{checked:pn.includes(Lr)}),n.createElement("span",null,ur.text))})}function li(Kt){var Zr,rn=Kt.prefixCls,pn=Kt.column,Qe=Kt.dropdownPrefixCls,Dt=Kt.columnKey,ur=Kt.filterMultiple,ar=Kt.filterState,Lr=Kt.triggerFilter,Rr=Kt.locale,Hr=Kt.children,an=Kt.getPopupContainer,wn=pn.filterDropdownVisible,In=pn.onFilterDropdownVisibleChange,Rn=n.useState(!1),Nn=f()(Rn,2),vn=Nn[0],Sn=Nn[1],Tn=!!(ar&&(((Zr=ar.filteredKeys)===null||Zr===void 0?void 0:Zr.length)||ar.forceFiltered)),Kn=function(ei){Sn(ei),In&&In(ei)},Qn=typeof wn=="boolean"?wn:vn,qn=ar&&ar.filteredKeys,bi=Object(vi.a)(qn||[]),gi=f()(bi,2),Ri=gi[0],Bi=gi[1],xi=function(ei){var Ci=ei.selectedKeys;Bi(Ci)};n.useEffect(function(){xi({selectedKeys:qn||[]})},[qn]);var Ti=n.useState([]),Di=f()(Ti,2),Pn=Di[0],_i=Di[1],ji=n.useRef(),mr=function(ei){ji.current=window.setTimeout(function(){_i(ei)})},Dr=function(){window.clearTimeout(ji.current)};n.useEffect(function(){return function(){window.clearTimeout(ji.current)}},[]);var Gr=function(ei){Kn(!1);var Ci=ei&&ei.length?ei:null;if(Ci===null&&(!ar||!ar.filteredKeys))return null;if(xn()(Ci,ar==null?void 0:ar.filteredKeys))return null;Lr({column:pn,key:Dt,filteredKeys:Ci})},Nr=function(){Gr(Ri())},Gt=function(){Bi([]),Gr([])},xr=function(ei){ei&&qn!==void 0&&Bi(qn||[]),Kn(ei),!ei&&!pn.filterDropdown&&Nr()},rr=a()(p()({},"".concat(Qe,"-menu-without-submenu"),!En(pn.filters||[]))),Pr;if(typeof pn.filterDropdown=="function")Pr=pn.filterDropdown({prefixCls:"".concat(Qe,"-custom"),setSelectedKeys:function(ei){return xi({selectedKeys:ei})},selectedKeys:Ri(),confirm:Nr,clearFilters:Gt,filters:pn.filters,visible:Qn});else if(pn.filterDropdown)Pr=pn.filterDropdown;else{var kr=Ri()||[];Pr=n.createElement(n.Fragment,null,n.createElement(pr.a,{multiple:ur,prefixCls:"".concat(Qe,"-menu"),className:rr,onClick:Dr,onSelect:xi,onDeselect:xi,selectedKeys:kr,getPopupContainer:an,openKeys:Pn,onOpenChange:mr},sn({filters:pn.filters||[],prefixCls:rn,filteredKeys:Ri(),filterMultiple:ur,locale:Rr})),n.createElement("div",{className:"".concat(rn,"-dropdown-btns")},n.createElement(si.a,{type:"link",size:"small",disabled:kr.length===0,onClick:Gt},Rr.filterReset),n.createElement(si.a,{type:"primary",size:"small",onClick:Nr},Rr.filterConfirm)))}var dn=n.createElement(Dn,{className:"".concat(rn,"-dropdown")},Pr),ln;typeof pn.filterIcon=="function"?ln=pn.filterIcon(Tn):pn.filterIcon?ln=pn.filterIcon:ln=n.createElement(ai.a,null);var yn=n.useContext(Xe.b),Bn=yn.direction;return n.createElement("div",{className:a()("".concat(rn,"-column"))},n.createElement("span",{className:"".concat(rn,"-column-title")},Hr),n.createElement("span",{className:a()("".concat(rn,"-trigger-container"),p()({},"".concat(rn,"-trigger-container-open"),Qn)),onClick:function(ei){ei.stopPropagation()}},n.createElement(cr.a,{overlay:dn,trigger:["click"],visible:Qn,onVisibleChange:xr,getPopupContainer:an,placement:Bn==="rtl"?"bottomLeft":"bottomRight"},n.createElement("span",{role:"button",tabIndex:-1,className:a()("".concat(rn,"-trigger"),{active:Tn})},ln))))}var ni=li;function yi(Kt,Zr,rn){var pn=[];return(Kt||[]).forEach(function(Qe,Dt){var ur=Ke(Dt,rn);"children"in Qe?pn=[].concat(ht()(pn),ht()(yi(Qe.children,Zr,ur))):(Qe.filters||"filterDropdown"in Qe||"onFilter"in Qe)&&("filteredValue"in Qe?pn.push({column:Qe,key:Ge(Qe,ur),filteredKeys:Qe.filteredValue,forceFiltered:Qe.filtered}):pn.push({column:Qe,key:Ge(Qe,ur),filteredKeys:Zr&&Qe.defaultFilteredValue?Qe.defaultFilteredValue:void 0,forceFiltered:Qe.filtered}))}),pn}function Xn(Kt,Zr,rn,pn,Qe,Dt,ur,ar){return rn.map(function(Lr,Rr){var Hr=Ke(Rr,ar),an=Lr.filterMultiple,wn=an===void 0?!0:an;if(Lr.filters||"filterDropdown"in Lr){var In=Ge(Lr,Hr),Rn=pn.find(function(Nn){var vn=Nn.key;return In===vn});return l()(l()({},Lr),{title:function(vn){return n.createElement(ni,{prefixCls:"".concat(Kt,"-filter"),dropdownPrefixCls:Zr,column:Lr,columnKey:In,filterState:Rn,filterMultiple:wn,triggerFilter:Qe,locale:ur,getPopupContainer:Dt},Je(Lr.title,vn))}})}return"children"in Lr?l()(l()({},Lr),{children:Xn(Kt,Zr,Lr.children,pn,Qe,Dt,ur,Hr)}):Lr})}function ki(Kt){var Zr={};return Kt.forEach(function(rn){var pn=rn.key,Qe=rn.filteredKeys;Zr[pn]=Qe||null}),Zr}function wi(Kt){var Zr=[];return(Kt||[]).forEach(function(rn){var pn=rn.value,Qe=rn.children;Zr.push(pn),Qe&&(Zr=[].concat(ht()(Zr),ht()(wi(Qe))))}),Zr}function Ji(Kt,Zr){return Zr.reduce(function(rn,pn){var Qe=pn.column,Dt=Qe.onFilter,ur=Qe.filters,ar=pn.filteredKeys;return Dt&&ar&&ar.length?rn.filter(function(Lr){return ar.some(function(Rr){var Hr=wi(ur),an=Hr.findIndex(function(In){return String(In)===String(Rr)}),wn=an!==-1?Hr[an]:Rr;return Dt(wn,Lr)})}):rn},Kt)}function An(Kt){var Zr=Kt.prefixCls,rn=Kt.dropdownPrefixCls,pn=Kt.mergedColumns,Qe=Kt.onFilterChange,Dt=Kt.getPopupContainer,ur=Kt.locale,ar=n.useState(yi(pn,!0)),Lr=f()(ar,2),Rr=Lr[0],Hr=Lr[1],an=n.useMemo(function(){var Nn=yi(pn,!1);return Nn.every(function(vn){var Sn=vn.filteredKeys;return Sn===void 0})?Rr:Nn},[pn,Rr]),wn=n.useCallback(function(){return ki(an)},[an]),In=function(vn){var Sn=an.filter(function(Tn){var Kn=Tn.key;return Kn!==vn.key});Sn.push(vn),Hr(Sn),Qe(ki(Sn),Sn)},Rn=function(vn){return Xn(Zr,rn,vn,an,In,Dt,ur)};return[Rn,an,wn]}var Ur=An;function Cn(Kt,Zr){return Kt.map(function(rn){var pn=l()({},rn);return pn.title=Je(rn.title,Zr),"children"in pn&&(pn.children=Cn(pn.children,Zr)),pn})}function Un(Kt){var Zr=n.useCallback(function(rn){return Cn(rn,Kt)},[Kt]);return[Zr]}function Zn(Kt){return function(rn){var pn,Qe=rn.prefixCls,Dt=rn.onExpand,ur=rn.record,ar=rn.expanded,Lr=rn.expandable,Rr="".concat(Qe,"-row-expand-icon");return n.createElement("button",{type:"button",onClick:function(an){Dt(ur,an),an.stopPropagation()},className:a()(Rr,(pn={},p()(pn,"".concat(Rr,"-spaced"),!Lr),p()(pn,"".concat(Rr,"-expanded"),Lr&&ar),p()(pn,"".concat(Rr,"-collapsed"),Lr&&!ar),pn)),"aria-label":ar?Kt.collapse:Kt.expand})}}var ti=Zn,hi=i("zAh6"),pi=i("ZvpZ"),mi=pi.a,Hi=i("3Nzz");function ra(Kt){return null}var $i=ra;function ro(Kt){return null}var di=ro,cn=i("5OYt"),Ni=[];function Gi(Kt){var Zr,rn=Kt.prefixCls,pn=Kt.className,Qe=Kt.style,Dt=Kt.size,ur=Kt.bordered,ar=Kt.dropdownPrefixCls,Lr=Kt.dataSource,Rr=Kt.pagination,Hr=Kt.rowSelection,an=Kt.rowKey,wn=Kt.rowClassName,In=Kt.columns,Rn=Kt.children,Nn=Kt.childrenColumnName,vn=Kt.onChange,Sn=Kt.getPopupContainer,Tn=Kt.loading,Kn=Kt.expandIcon,Qn=Kt.expandable,qn=Kt.expandedRowRender,bi=Kt.expandIconColumnIndex,gi=Kt.indentSize,Ri=Kt.scroll,Bi=Kt.sortDirections,xi=Kt.locale,Ti=Kt.showSorterTooltip,Di=Ti===void 0?!0:Ti;Object($r.a)(!(typeof an=="function"&&an.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Pn=Object(cn.a)(),_i=n.useMemo(function(){var bo=new Set(Object.keys(Pn).filter(function(Ra){return Pn[Ra]}));return(In||yt(Rn)).filter(function(Ra){return!Ra.responsive||Ra.responsive.some(function(jo){return bo.has(jo)})})},[Rn,In,Pn]),ji=Object(o.default)(Kt,["className","style","columns"]),mr=n.useContext(Hi.b),Dr=n.useContext(Xe.b),Gr=Dr.locale,Nr=Gr===void 0?mi:Gr,Gt=Dr.renderEmpty,xr=Dr.direction,rr=Dt||mr,Pr=l()(l()({},Nr.Table),xi),kr=Lr||Ni,dn=n.useContext(Xe.b),ln=dn.getPrefixCls,yn=ln("table",rn),Bn=ln("dropdown",ar),Gn=l()({childrenColumnName:Nn,expandIconColumnIndex:bi},Qn),ei=Gn.childrenColumnName,Ci=ei===void 0?"children":ei,Qi=n.useMemo(function(){return kr.some(function(bo){var Ra;return(Ra=bo)===null||Ra===void 0?void 0:Ra[Ci]})?"nest":qn||Qn&&Qn.expandedRowRender?"row":null},[kr]),ua={body:n.useRef()},ha=n.useMemo(function(){return typeof an=="function"?an:function(bo){var Ra;return(Ra=bo)===null||Ra===void 0?void 0:Ra[an]}},[an]),la=Yr(kr,Ci,ha),da=f()(la,1),Wi=da[0],Mi={},na=function(Ra,jo){var hs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ao=l()(l()({},Mi),Ra);hs&&(Mi.resetPagination(),Ao.pagination.current&&(Ao.pagination.current=1),Rr&&Rr.onChange&&Rr.onChange(1,Ao.pagination.pageSize)),Ri&&Ri.scrollToFirstRowOnChange!==!1&&ua.body.current&&Object(hi.a)(0,{getContainer:function(){return ua.body.current}}),vn&&vn(Ao.pagination,Ao.filters,Ao.sorter,{currentDataSource:Ji(Vr(kr,Ao.sorterStates,Ci),Ao.filterStates),action:jo})},ea=function(Ra,jo){na({sorter:Ra,sorterStates:jo},"sort",!1)},_a=Br({prefixCls:yn,mergedColumns:_i,onSorterChange:ea,sortDirections:Bi||["ascend","descend"],tableLocale:Pr,showSorterTooltip:Di}),Fa=f()(_a,4),ta=Fa[0],Yi=Fa[1],ka=Fa[2],ba=Fa[3],Ei=n.useMemo(function(){return Vr(kr,Yi,Ci)},[kr,Yi]);Mi.sorter=ba(),Mi.sorterStates=Yi;var ca=function(Ra,jo){na({filters:Ra,filterStates:jo},"filter",!0)},Ha=Ur({prefixCls:yn,locale:Pr,dropdownPrefixCls:Bn,mergedColumns:_i,onFilterChange:ca,getPopupContainer:Sn}),Pa=f()(Ha,3),ya=Pa[0],Ea=Pa[1],Ga=Pa[2],Ta=Ji(Ei,Ea);Mi.filters=Ga(),Mi.filterStates=Ea;var Va=n.useMemo(function(){return l()({},ka)},[ka]),uo=Un(Va),aa=f()(uo,1),po=aa[0],Ua=function(Ra,jo){na({pagination:l()(l()({},Mi.pagination),{current:Ra,pageSize:jo})},"paginate")},Da=Xr(Ta.length,Rr,Ua),$a=f()(Da,2),Ma=$a[0],Ka=$a[1];Mi.pagination=Rr===!1?{}:ir(Rr,Ma),Mi.resetPagination=Ka;var yo=n.useMemo(function(){if(Rr===!1||!Ma.pageSize)return Ta;var bo=Ma.current,Ra=bo===void 0?1:bo,jo=Ma.total,hs=Ma.pageSize,Ao=hs===void 0?tr:hs;return Ta.length<jo?Ta.length>Ao?(Object($r.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."),Ta.slice((Ra-1)*Ao,Ra*Ao)):Ta:Ta.slice((Ra-1)*Ao,Ra*Ao)},[!!Rr,Ta,Ma&&Ma.current,Ma&&Ma.pageSize,Ma&&Ma.total]),io=Li(Hr,{prefixCls:yn,data:Ta,pageData:yo,getRowKey:ha,getRecordByKey:Wi,expandType:Qi,childrenColumnName:Ci,locale:Pr,expandIconColumnIndex:Gn.expandIconColumnIndex,getPopupContainer:Sn}),xo=f()(io,2),mo=xo[0],go=xo[1],Ya=function(Ra,jo,hs){var Ao;return typeof wn=="function"?Ao=a()(wn(Ra,jo,hs)):Ao=a()(wn),a()(p()({},"".concat(yn,"-row-selected"),go.has(ha(Ra,jo))),Ao)};Gn.__PARENT_RENDER_ICON__=Gn.expandIcon,Gn.expandIcon=Gn.expandIcon||Kn||ti(Pr),Qi==="nest"&&Gn.expandIconColumnIndex===void 0?Gn.expandIconColumnIndex=Hr?1:0:Gn.expandIconColumnIndex>0&&Hr&&(Gn.expandIconColumnIndex-=1),typeof Gn.indentSize!="number"&&(Gn.indentSize=typeof gi=="number"?gi:15);var qa=n.useCallback(function(bo){return po(mo(ya(ta(bo))))},[ta,ya,mo]),La,oo;if(Rr!==!1){var vo;Ma.size?vo=Ma.size:vo=rr==="small"||rr==="middle"?"small":void 0;var Fi=function(Ra){return n.createElement(Ve.a,l()({className:"".concat(yn,"-pagination ").concat(yn,"-pagination-").concat(Ra)},Ma,{size:vo}))},ma=xr==="rtl"?"left":"right";if(Ma.position!==null&&Array.isArray(Ma.position)){var Mo=Ma.position.find(function(bo){return bo.indexOf("top")!==-1}),zo=Ma.position.find(function(bo){return bo.indexOf("bottom")!==-1});!Mo&&!zo?oo=Fi(ma):(Mo&&(La=Fi(Mo.toLowerCase().replace("top",""))),zo&&(oo=Fi(zo.toLowerCase().replace("bottom",""))))}else oo=Fi(ma)}var Qo;typeof Tn=="boolean"?Qo={spinning:Tn}:m()(Tn)==="object"&&(Qo=l()({spinning:!0},Tn));var Jo=a()("".concat(yn,"-wrapper"),pn,p()({},"".concat(yn,"-wrapper-rtl"),xr==="rtl"));return n.createElement("div",{className:Jo,style:Qe},n.createElement(Re.a,l()({spinning:!1},Qo),La,n.createElement(St,l()({},ji,{columns:_i,direction:xr,expandable:Gn,prefixCls:yn,className:a()((Zr={},p()(Zr,"".concat(yn,"-middle"),rr==="middle"),p()(Zr,"".concat(yn,"-small"),rr==="small"),p()(Zr,"".concat(yn,"-bordered"),ur),p()(Zr,"".concat(yn,"-empty"),kr.length===0),Zr)),data:yo,rowKey:ha,rowClassName:Ya,emptyText:xi&&xi.emptyText||Gt("Table"),internalHooks:qr,internalRefs:ua,transformColumns:qa})),Ta&&Ta.length>0&&oo))}Gi.defaultProps={rowKey:"key"},Gi.SELECTION_ALL=Ln,Gi.SELECTION_INVERT=Mn,Gi.Column=$i,Gi.ColumnGroup=di,Gi.Summary=Wr;var Ki=Gi,ia=N.a=Ki},wDdD:function(B,N,i){var y=i("ProS"),m=i("bYtY");i("98bh"),i("GrNh");var E=i("d4KN"),p=i("mOdp"),v=i("KS52"),f=i("0/Rx");E("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),y.registerVisual(p("pie")),y.registerLayout(m.curry(v,"pie")),y.registerProcessor(f("pie"))},wOnQ:function(B,N,i){/*!
* html2canvas 1.3.2 <https://html2canvas.hertzen.com>
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(y,m){B.exports=m()})(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(ue,Ee){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Le,et){Le.__proto__=et}||function(Le,et){for(var jt in et)Object.prototype.hasOwnProperty.call(et,jt)&&(Le[jt]=et[jt])},y(ue,Ee)};function m(it,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");y(it,ue);function Ee(){this.constructor=it}it.prototype=ue===null?Object.create(ue):(Ee.prototype=ue.prototype,new Ee)}var E=function(){return E=Object.assign||function(Ee){for(var Le,et=1,jt=arguments.length;et<jt;et++){Le=arguments[et];for(var Er in Le)Object.prototype.hasOwnProperty.call(Le,Er)&&(Ee[Er]=Le[Er])}return Ee},E.apply(this,arguments)};function p(it,ue,Ee,Le){function et(jt){return jt instanceof Ee?jt:new Ee(function(Er){Er(jt)})}return new(Ee||(Ee=Promise))(function(jt,Er){function jr(oi){try{hn(Le.next(oi))}catch(Jn){Er(Jn)}}function Jr(oi){try{hn(Le.throw(oi))}catch(Jn){Er(Jn)}}function hn(oi){oi.done?jt(oi.value):et(oi.value).then(jr,Jr)}hn((Le=Le.apply(it,ue||[])).next())})}function v(it,ue){var Ee={label:0,sent:function(){if(jt[0]&1)throw jt[1];return jt[1]},trys:[],ops:[]},Le,et,jt,Er;return Er={next:jr(0),throw:jr(1),return:jr(2)},typeof Symbol=="function"&&(Er[Symbol.iterator]=function(){return this}),Er;function jr(hn){return function(oi){return Jr([hn,oi])}}function Jr(hn){if(Le)throw new TypeError("Generator is already executing.");for(;Ee;)try{if(Le=1,et&&(jt=hn[0]&2?et.return:hn[0]?et.throw||((jt=et.return)&&jt.call(et),0):et.next)&&!(jt=jt.call(et,hn[1])).done)return jt;(et=0,jt)&&(hn=[hn[0]&2,jt.value]);switch(hn[0]){case 0:case 1:jt=hn;break;case 4:return Ee.label++,{value:hn[1],done:!1};case 5:Ee.label++,et=hn[1],hn=[0];continue;case 7:hn=Ee.ops.pop(),Ee.trys.pop();continue;default:if(!(jt=Ee.trys,jt=jt.length>0&&jt[jt.length-1])&&(hn[0]===6||hn[0]===2)){Ee=0;continue}if(hn[0]===3&&(!jt||hn[1]>jt[0]&&hn[1]<jt[3])){Ee.label=hn[1];break}if(hn[0]===6&&Ee.label<jt[1]){Ee.label=jt[1],jt=hn;break}if(jt&&Ee.label<jt[2]){Ee.label=jt[2],Ee.ops.push(hn);break}jt[2]&&Ee.ops.pop(),Ee.trys.pop();continue}hn=ue.call(it,Ee)}catch(oi){hn=[6,oi],et=0}finally{Le=jt=0}if(hn[0]&5)throw hn[1];return{value:hn[0]?hn[1]:void 0,done:!0}}}function f(it,ue,Ee){if(Ee||arguments.length===2)for(var Le=0,et=ue.length,jt;Le<et;Le++)(jt||!(Le in ue))&&(jt||(jt=Array.prototype.slice.call(ue,0,Le)),jt[Le]=ue[Le]);return it.concat(jt||ue)}for(var d=function(){function it(ue,Ee,Le,et){this.left=ue,this.top=Ee,this.width=Le,this.height=et}return it.prototype.add=function(ue,Ee,Le,et){return new it(this.left+ue,this.top+Ee,this.width+Le,this.height+et)},it.fromClientRect=function(ue,Ee){return new it(Ee.left+ue.windowBounds.left,Ee.top+ue.windowBounds.top,Ee.width,Ee.height)},it.fromDOMRectList=function(ue,Ee){var Le=Ee[0];return Le?new it(Le.x+ue.windowBounds.left,Le.y+ue.windowBounds.top,Le.width,Le.height):it.EMPTY},it.EMPTY=new it(0,0,0,0),it}(),l=function(ue,Ee){return d.fromClientRect(ue,Ee.getBoundingClientRect())},n=function(ue){var Ee=ue.body,Le=ue.documentElement;if(!Ee||!Le)throw new Error("Unable to get document size");var et=Math.max(Math.max(Ee.scrollWidth,Le.scrollWidth),Math.max(Ee.offsetWidth,Le.offsetWidth),Math.max(Ee.clientWidth,Le.clientWidth)),jt=Math.max(Math.max(Ee.scrollHeight,Le.scrollHeight),Math.max(Ee.offsetHeight,Le.offsetHeight),Math.max(Ee.clientHeight,Le.clientHeight));return new d(0,0,et,jt)},t=function(ue){for(var Ee=[],Le=0,et=ue.length;Le<et;){var jt=ue.charCodeAt(Le++);if(jt>=55296&&jt<=56319&&Le<et){var Er=ue.charCodeAt(Le++);(Er&64512)===56320?Ee.push(((jt&1023)<<10)+(Er&1023)+65536):(Ee.push(jt),Le--)}else Ee.push(jt)}return Ee},a=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var Le=ue.length;if(!Le)return"";for(var et=[],jt=-1,Er="";++jt<Le;){var jr=ue[jt];jr<=65535?et.push(jr):(jr-=65536,et.push((jr>>10)+55296,jr%1024+56320)),(jt+1===Le||et.length>16384)&&(Er+=String.fromCharCode.apply(String,et),et.length=0)}return Er},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),c=0;c<o.length;c++)r[o.charCodeAt(c)]=c;var e=function(ue){var Ee=ue.length*.75,Le=ue.length,et,jt=0,Er,jr,Jr,hn;ue[ue.length-1]==="="&&(Ee--,ue[ue.length-2]==="="&&Ee--);var oi=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Jn=Array.isArray(oi)?oi:new Uint8Array(oi);for(et=0;et<Le;et+=4)Er=r[ue.charCodeAt(et)],jr=r[ue.charCodeAt(et+1)],Jr=r[ue.charCodeAt(et+2)],hn=r[ue.charCodeAt(et+3)],Jn[jt++]=Er<<2|jr>>4,Jn[jt++]=(jr&15)<<4|Jr>>2,Jn[jt++]=(Jr&3)<<6|hn&63;return oi},s=function(ue){for(var Ee=ue.length,Le=[],et=0;et<Ee;et+=2)Le.push(ue[et+1]<<8|ue[et]);return Le},u=function(ue){for(var Ee=ue.length,Le=[],et=0;et<Ee;et+=4)Le.push(ue[et+3]<<24|ue[et+2]<<16|ue[et+1]<<8|ue[et]);return Le},h=5,g=6+5,A=2,w=g-h,b=65536>>h,S=1<<h,_=S-1,T=1024>>h,x=b+T,C=x,I=2048>>6,L=C+I,M=65536>>g,k=1<<w,R=k-1,j=function(ue,Ee,Le){return ue.slice?ue.slice(Ee,Le):new Uint16Array(Array.prototype.slice.call(ue,Ee,Le))},V=function(ue,Ee,Le){return ue.slice?ue.slice(Ee,Le):new Uint32Array(Array.prototype.slice.call(ue,Ee,Le))},D=function(ue){var Ee=e(ue),Le=Array.isArray(Ee)?u(Ee):new Uint32Array(Ee),et=Array.isArray(Ee)?s(Ee):new Uint16Array(Ee),jt=24,Er=j(et,jt/2,Le[4]/2),jr=Le[5]===2?j(et,(jt+Le[4])/2):V(Le,Math.ceil((jt+Le[4])/4));return new H(Le[0],Le[1],Le[2],Le[3],Er,jr)},H=function(){function it(ue,Ee,Le,et,jt,Er){this.initialValue=ue,this.errorValue=Ee,this.highStart=Le,this.highValueIndex=et,this.index=jt,this.data=Er}return it.prototype.get=function(ue){var Ee;if(ue>=0){if(ue<55296||ue>56319&&ue<=65535)return Ee=this.index[ue>>h],Ee=(Ee<<A)+(ue&_),this.data[Ee];if(ue<=65535)return Ee=this.index[b+(ue-55296>>h)],Ee=(Ee<<A)+(ue&_),this.data[Ee];if(ue<this.highStart)return Ee=L-M+(ue>>g),Ee=this.index[Ee],Ee+=ue>>h&R,Ee=this.index[Ee],Ee=(Ee<<A)+(ue&_),this.data[Ee];if(ue<=1114111)return this.data[this.highValueIndex]}return this.errorValue},it}(),P="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,U=1,G=2,W=3,Z=4,J=5,ve=7,q=8,ce=9,be=10,Ce=11,Fe=12,fe=13,Ne=14,Q=15,ae=16,Ue=17,te=18,X=19,z=20,Y=21,pe=22,se=23,Te=24,Se=25,ie=26,de=27,_e=28,We=29,at=30,tt=31,Oe=32,yt=33,Ye=34,bt=35,Ct=36,It=37,Ft=38,Vt=39,$e=40,ge=41,ne=42,wt=43,qe=[9001,65288],he="!",kt="\xD7",nr="\xF7",lt=D(P),Xt=[at,Ct],hr=[U,G,W,J],Wr=[be,q],mt=[de,ie],Et=hr.concat(Wr),rt=[Ft,Vt,$e,Ye,bt],He=[Q,fe],ze=function(ue,Ee){Ee===void 0&&(Ee="strict");var Le=[],et=[],jt=[];return ue.forEach(function(Er,jr){var Jr=lt.get(Er);if(Jr>K?(jt.push(!0),Jr-=K):jt.push(!1),["normal","auto","loose"].indexOf(Ee)!==-1&&[8208,8211,12316,12448].indexOf(Er)!==-1)return et.push(jr),Le.push(ae);if(Jr===Z||Jr===Ce){if(jr===0)return et.push(jr),Le.push(at);var hn=Le[jr-1];return Et.indexOf(hn)===-1?(et.push(et[jr-1]),Le.push(hn)):(et.push(jr),Le.push(at))}if(et.push(jr),Jr===tt)return Le.push(Ee==="strict"?Y:It);if(Jr===ne)return Le.push(at);if(Jr===We)return Le.push(at);if(Jr===wt)return Er>=131072&&Er<=196605||Er>=196608&&Er<=262141?Le.push(It):Le.push(at);Le.push(Jr)}),[et,Le,jt]},Rt=function(ue,Ee,Le,et){var jt=et[Le];if(Array.isArray(ue)?ue.indexOf(jt)!==-1:ue===jt)for(var Er=Le;Er<=et.length;){Er++;var jr=et[Er];if(jr===Ee)return!0;if(jr!==be)break}if(jt===be)for(var Er=Le;Er>0;){Er--;var Jr=et[Er];if(Array.isArray(ue)?ue.indexOf(Jr)!==-1:ue===Jr)for(var hn=Le;hn<=et.length;){hn++;var jr=et[hn];if(jr===Ee)return!0;if(jr!==be)break}if(Jr!==be)break}return!1},sr=function(ue,Ee){for(var Le=ue;Le>=0;){var et=Ee[Le];if(et===be)Le--;else return et}return 0},Jt=function(ue,Ee,Le,et,jt){if(Le[et]===0)return kt;var Er=et-1;if(Array.isArray(jt)&&jt[Er]===!0)return kt;var jr=Er-1,Jr=Er+1,hn=Ee[Er],oi=jr>=0?Ee[jr]:0,Jn=Ee[Jr];if(hn===G&&Jn===W)return kt;if(hr.indexOf(hn)!==-1)return he;if(hr.indexOf(Jn)!==-1)return kt;if(Wr.indexOf(Jn)!==-1)return kt;if(sr(Er,Ee)===q)return nr;if(lt.get(ue[Er])===Ce)return kt;if((hn===Oe||hn===yt)&&lt.get(ue[Jr])===Ce)return kt;if(hn===ve||Jn===ve)return kt;if(hn===ce)return kt;if([be,fe,Q].indexOf(hn)===-1&&Jn===ce)return kt;if([Ue,te,X,Te,_e].indexOf(Jn)!==-1)return kt;if(sr(Er,Ee)===pe)return kt;if(Rt(se,pe,Er,Ee))return kt;if(Rt([Ue,te],Y,Er,Ee))return kt;if(Rt(Fe,Fe,Er,Ee))return kt;if(hn===be)return nr;if(hn===se||Jn===se)return kt;if(Jn===ae||hn===ae)return nr;if([fe,Q,Y].indexOf(Jn)!==-1||hn===Ne)return kt;if(oi===Ct&&He.indexOf(hn)!==-1)return kt;if(hn===_e&&Jn===Ct)return kt;if(Jn===z)return kt;if(Xt.indexOf(Jn)!==-1&&hn===Se||Xt.indexOf(hn)!==-1&&Jn===Se)return kt;if(hn===de&&[It,Oe,yt].indexOf(Jn)!==-1||[It,Oe,yt].indexOf(hn)!==-1&&Jn===ie)return kt;if(Xt.indexOf(hn)!==-1&&mt.indexOf(Jn)!==-1||mt.indexOf(hn)!==-1&&Xt.indexOf(Jn)!==-1)return kt;if([de,ie].indexOf(hn)!==-1&&(Jn===Se||[pe,Q].indexOf(Jn)!==-1&&Ee[Jr+1]===Se)||[pe,Q].indexOf(hn)!==-1&&Jn===Se||hn===Se&&[Se,_e,Te].indexOf(Jn)!==-1)return kt;if([Se,_e,Te,Ue,te].indexOf(Jn)!==-1)for(var ci=Er;ci>=0;){var fa=Ee[ci];if(fa===Se)return kt;if([_e,Te].indexOf(fa)!==-1)ci--;else break}if([de,ie].indexOf(Jn)!==-1)for(var ci=[Ue,te].indexOf(hn)!==-1?jr:Er;ci>=0;){var fa=Ee[ci];if(fa===Se)return kt;if([_e,Te].indexOf(fa)!==-1)ci--;else break}if(Ft===hn&&[Ft,Vt,Ye,bt].indexOf(Jn)!==-1||[Vt,Ye].indexOf(hn)!==-1&&[Vt,$e].indexOf(Jn)!==-1||[$e,bt].indexOf(hn)!==-1&&Jn===$e)return kt;if(rt.indexOf(hn)!==-1&&[z,ie].indexOf(Jn)!==-1||rt.indexOf(Jn)!==-1&&hn===de)return kt;if(Xt.indexOf(hn)!==-1&&Xt.indexOf(Jn)!==-1)return kt;if(hn===Te&&Xt.indexOf(Jn)!==-1)return kt;if(Xt.concat(Se).indexOf(hn)!==-1&&Jn===pe&&qe.indexOf(ue[Jr])===-1||Xt.concat(Se).indexOf(Jn)!==-1&&hn===te)return kt;if(hn===ge&&Jn===ge){for(var pa=Le[Er],Oa=1;pa>0&&(pa--,Ee[pa]===ge);)Oa++;if(Oa%2!==0)return kt}return hn===Oe&&Jn===yt?kt:nr},qt=function(ue,Ee){Ee||(Ee={lineBreak:"normal",wordBreak:"normal"});var Le=ze(ue,Ee.lineBreak),et=Le[0],jt=Le[1],Er=Le[2];(Ee.wordBreak==="break-all"||Ee.wordBreak==="break-word")&&(jt=jt.map(function(Jr){return[Se,at,ne].indexOf(Jr)!==-1?It:Jr}));var jr=Ee.wordBreak==="keep-all"?Er.map(function(Jr,hn){return Jr&&ue[hn]>=19968&&ue[hn]<=40959}):void 0;return[et,jt,jr]},qr=function(){function it(ue,Ee,Le,et){this.codePoints=ue,this.required=Ee===he,this.start=Le,this.end=et}return it.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},it}(),Fr=function(ue,Ee){var Le=t(ue),et=qt(Le,Ee),jt=et[0],Er=et[1],jr=et[2],Jr=Le.length,hn=0,oi=0;return{next:function(){if(oi>=Jr)return{done:!0,value:null};for(var ci=kt;oi<Jr&&(ci=Jt(Le,Er,jt,++oi,jr))===kt;);if(ci!==kt||oi===Jr){var fa=new qr(Le,ci,hn,oi);return hn=oi,{value:fa,done:!1}}return{done:!0,value:null}}}},mn=1<<0,Tt=1<<1,St=1<<2,Re=1<<3,Ve=10,Xe=47,ct=92,tr=9,ir=32,or=34,Xr=61,Yr=35,bn=36,Yt=37,pt=39,ht=40,Zt=41,$t=95,At=45,Pt=33,gt=60,Wt=62,yr=64,cr=91,pr=93,Qr=61,$r=123,Ln=63,Mn=125,Vn=124,ii=126,Li=128,Pi=65533,Ze=42,xe=43,Me=44,ke=58,Ge=59,Ke=46,Je=0,vt=8,ot=11,Ut=14,br=31,Ar=127,Or=-1,zt=48,un=97,lr=101,Vr=102,Br=117,Sr=122,xn=65,Hn=69,ai=70,si=85,Yn=90,Wn=function(ue){return ue>=zt&&ue<=57},Dn=function(ue){return ue>=55296&&ue<=57343},vi=function(ue){return Wn(ue)||ue>=xn&&ue<=ai||ue>=un&&ue<=Vr},gn=function(ue){return ue>=un&&ue<=Sr},Kr=function(ue){return ue>=xn&&ue<=Yn},En=function(ue){return gn(ue)||Kr(ue)},sn=function(ue){return ue>=Li},li=function(ue){return ue===Ve||ue===tr||ue===ir},ni=function(ue){return En(ue)||sn(ue)||ue===$t},yi=function(ue){return ni(ue)||Wn(ue)||ue===At},Xn=function(ue){return ue>=Je&&ue<=vt||ue===ot||ue>=Ut&&ue<=br||ue===Ar},ki=function(ue,Ee){return ue!==ct?!1:Ee!==Ve},wi=function(ue,Ee,Le){return ue===At?ni(Ee)||ki(Ee,Le):ni(ue)?!0:!!(ue===ct&&ki(ue,Ee))},Ji=function(ue,Ee,Le){return ue===xe||ue===At?Wn(Ee)?!0:Ee===Ke&&Wn(Le):ue===Ke?Wn(Ee):Wn(ue)},An=function(ue){var Ee=0,Le=1;(ue[Ee]===xe||ue[Ee]===At)&&(ue[Ee]===At&&(Le=-1),Ee++);for(var et=[];Wn(ue[Ee]);)et.push(ue[Ee++]);var jt=et.length?parseInt(a.apply(void 0,et),10):0;ue[Ee]===Ke&&Ee++;for(var Er=[];Wn(ue[Ee]);)Er.push(ue[Ee++]);var jr=Er.length,Jr=jr?parseInt(a.apply(void 0,Er),10):0;(ue[Ee]===Hn||ue[Ee]===lr)&&Ee++;var hn=1;(ue[Ee]===xe||ue[Ee]===At)&&(ue[Ee]===At&&(hn=-1),Ee++);for(var oi=[];Wn(ue[Ee]);)oi.push(ue[Ee++]);var Jn=oi.length?parseInt(a.apply(void 0,oi),10):0;return Le*(jt+Jr*Math.pow(10,-jr))*Math.pow(10,hn*Jn)},Ur={type:2},Cn={type:3},Un={type:4},Zn={type:13},ti={type:8},hi={type:21},pi={type:9},mi={type:10},Hi={type:11},ra={type:12},$i={type:14},ro={type:23},di={type:1},cn={type:25},Ni={type:24},Gi={type:26},Ki={type:27},ia={type:28},Kt={type:29},Zr={type:31},rn={type:32},pn=function(){function it(){this._value=[]}return it.prototype.write=function(ue){this._value=this._value.concat(t(ue))},it.prototype.read=function(){for(var ue=[],Ee=this.consumeToken();Ee!==rn;)ue.push(Ee),Ee=this.consumeToken();return ue},it.prototype.consumeToken=function(){var ue=this.consumeCodePoint();switch(ue){case or:return this.consumeStringToken(or);case Yr:var Ee=this.peekCodePoint(0),Le=this.peekCodePoint(1),et=this.peekCodePoint(2);if(yi(Ee)||ki(Le,et)){var jt=wi(Ee,Le,et)?Tt:mn,Er=this.consumeName();return{type:5,value:Er,flags:jt}}break;case bn:if(this.peekCodePoint(0)===Xr)return this.consumeCodePoint(),Zn;break;case pt:return this.consumeStringToken(pt);case ht:return Ur;case Zt:return Cn;case Ze:if(this.peekCodePoint(0)===Xr)return this.consumeCodePoint(),$i;break;case xe:if(Ji(ue,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ue),this.consumeNumericToken();break;case Me:return Un;case At:var jr=ue,Jr=this.peekCodePoint(0),hn=this.peekCodePoint(1);if(Ji(jr,Jr,hn))return this.reconsumeCodePoint(ue),this.consumeNumericToken();if(wi(jr,Jr,hn))return this.reconsumeCodePoint(ue),this.consumeIdentLikeToken();if(Jr===At&&hn===Wt)return this.consumeCodePoint(),this.consumeCodePoint(),Ni;break;case Ke:if(Ji(ue,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ue),this.consumeNumericToken();break;case Xe:if(this.peekCodePoint(0)===Ze)for(this.consumeCodePoint();;){var oi=this.consumeCodePoint();if(oi===Ze&&(oi=this.consumeCodePoint(),oi===Xe))return this.consumeToken();if(oi===Or)return this.consumeToken()}break;case ke:return Gi;case Ge:return Ki;case gt:if(this.peekCodePoint(0)===Pt&&this.peekCodePoint(1)===At&&this.peekCodePoint(2)===At)return this.consumeCodePoint(),this.consumeCodePoint(),cn;break;case yr:var Jn=this.peekCodePoint(0),ci=this.peekCodePoint(1),fa=this.peekCodePoint(2);if(wi(Jn,ci,fa)){var Er=this.consumeName();return{type:7,value:Er}}break;case cr:return ia;case ct:if(ki(ue,this.peekCodePoint(0)))return this.reconsumeCodePoint(ue),this.consumeIdentLikeToken();break;case pr:return Kt;case Qr:if(this.peekCodePoint(0)===Xr)return this.consumeCodePoint(),ti;break;case $r:return Hi;case Mn:return ra;case Br:case si:var pa=this.peekCodePoint(0),Oa=this.peekCodePoint(1);return pa===xe&&(vi(Oa)||Oa===Ln)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ue),this.consumeIdentLikeToken();case Vn:if(this.peekCodePoint(0)===Xr)return this.consumeCodePoint(),pi;if(this.peekCodePoint(0)===Vn)return this.consumeCodePoint(),hi;break;case ii:if(this.peekCodePoint(0)===Xr)return this.consumeCodePoint(),mi;break;case Or:return rn}return li(ue)?(this.consumeWhiteSpace(),Zr):Wn(ue)?(this.reconsumeCodePoint(ue),this.consumeNumericToken()):ni(ue)?(this.reconsumeCodePoint(ue),this.consumeIdentLikeToken()):{type:6,value:a(ue)}},it.prototype.consumeCodePoint=function(){var ue=this._value.shift();return typeof ue=="undefined"?-1:ue},it.prototype.reconsumeCodePoint=function(ue){this._value.unshift(ue)},it.prototype.peekCodePoint=function(ue){return ue>=this._value.length?-1:this._value[ue]},it.prototype.consumeUnicodeRangeToken=function(){for(var ue=[],Ee=this.consumeCodePoint();vi(Ee)&&ue.length<6;)ue.push(Ee),Ee=this.consumeCodePoint();for(var Le=!1;Ee===Ln&&ue.length<6;)ue.push(Ee),Ee=this.consumeCodePoint(),Le=!0;if(Le){var et=parseInt(a.apply(void 0,ue.map(function(Jr){return Jr===Ln?zt:Jr})),16),jt=parseInt(a.apply(void 0,ue.map(function(Jr){return Jr===Ln?ai:Jr})),16);return{type:30,start:et,end:jt}}var Er=parseInt(a.apply(void 0,ue),16);if(this.peekCodePoint(0)===At&&vi(this.peekCodePoint(1))){this.consumeCodePoint(),Ee=this.consumeCodePoint();for(var jr=[];vi(Ee)&&jr.length<6;)jr.push(Ee),Ee=this.consumeCodePoint();var jt=parseInt(a.apply(void 0,jr),16);return{type:30,start:Er,end:jt}}else return{type:30,start:Er,end:Er}},it.prototype.consumeIdentLikeToken=function(){var ue=this.consumeName();return ue.toLowerCase()==="url"&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:ue}):{type:20,value:ue}},it.prototype.consumeUrlToken=function(){var ue=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Or)return{type:22,value:""};var Ee=this.peekCodePoint(0);if(Ee===pt||Ee===or){var Le=this.consumeStringToken(this.consumeCodePoint());return Le.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Or||this.peekCodePoint(0)===Zt)?(this.consumeCodePoint(),{type:22,value:Le.value}):(this.consumeBadUrlRemnants(),ro)}for(;;){var et=this.consumeCodePoint();if(et===Or||et===Zt)return{type:22,value:a.apply(void 0,ue)};if(li(et))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Or||this.peekCodePoint(0)===Zt?(this.consumeCodePoint(),{type:22,value:a.apply(void 0,ue)}):(this.consumeBadUrlRemnants(),ro);if(et===or||et===pt||et===ht||Xn(et))return this.consumeBadUrlRemnants(),ro;if(et===ct)if(ki(et,this.peekCodePoint(0)))ue.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ro;else ue.push(et)}},it.prototype.consumeWhiteSpace=function(){for(;li(this.peekCodePoint(0));)this.consumeCodePoint()},it.prototype.consumeBadUrlRemnants=function(){for(;;){var ue=this.consumeCodePoint();if(ue===Zt||ue===Or)return;ki(ue,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},it.prototype.consumeStringSlice=function(ue){for(var Ee=6e4,Le="";ue>0;){var et=Math.min(Ee,ue);Le+=a.apply(void 0,this._value.splice(0,et)),ue-=et}return this._value.shift(),Le},it.prototype.consumeStringToken=function(ue){var Ee="",Le=0;do{var et=this._value[Le];if(et===Or||et===void 0||et===ue)return Ee+=this.consumeStringSlice(Le),{type:0,value:Ee};if(et===Ve)return this._value.splice(0,Le),di;if(et===ct){var jt=this._value[Le+1];jt!==Or&&jt!==void 0&&(jt===Ve?(Ee+=this.consumeStringSlice(Le),Le=-1,this._value.shift()):ki(et,jt)&&(Ee+=this.consumeStringSlice(Le),Ee+=a(this.consumeEscapedCodePoint()),Le=-1))}Le++}while(!0)},it.prototype.consumeNumber=function(){var ue=[],Ee=St,Le=this.peekCodePoint(0);for((Le===xe||Le===At)&&ue.push(this.consumeCodePoint());Wn(this.peekCodePoint(0));)ue.push(this.consumeCodePoint());Le=this.peekCodePoint(0);var et=this.peekCodePoint(1);if(Le===Ke&&Wn(et))for(ue.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=Re;Wn(this.peekCodePoint(0));)ue.push(this.consumeCodePoint());Le=this.peekCodePoint(0),et=this.peekCodePoint(1);var jt=this.peekCodePoint(2);if((Le===Hn||Le===lr)&&((et===xe||et===At)&&Wn(jt)||Wn(et)))for(ue.push(this.consumeCodePoint(),this.consumeCodePoint()),Ee=Re;Wn(this.peekCodePoint(0));)ue.push(this.consumeCodePoint());return[An(ue),Ee]},it.prototype.consumeNumericToken=function(){var ue=this.consumeNumber(),Ee=ue[0],Le=ue[1],et=this.peekCodePoint(0),jt=this.peekCodePoint(1),Er=this.peekCodePoint(2);if(wi(et,jt,Er)){var jr=this.consumeName();return{type:15,number:Ee,flags:Le,unit:jr}}return et===Yt?(this.consumeCodePoint(),{type:16,number:Ee,flags:Le}):{type:17,number:Ee,flags:Le}},it.prototype.consumeEscapedCodePoint=function(){var ue=this.consumeCodePoint();if(vi(ue)){for(var Ee=a(ue);vi(this.peekCodePoint(0))&&Ee.length<6;)Ee+=a(this.consumeCodePoint());li(this.peekCodePoint(0))&&this.consumeCodePoint();var Le=parseInt(Ee,16);return Le===0||Dn(Le)||Le>1114111?Pi:Le}return ue===Or?Pi:ue},it.prototype.consumeName=function(){for(var ue="";;){var Ee=this.consumeCodePoint();if(yi(Ee))ue+=a(Ee);else if(ki(Ee,this.peekCodePoint(0)))ue+=a(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ee),ue}},it}(),Qe=function(){function it(ue){this._tokens=ue}return it.create=function(ue){var Ee=new pn;return Ee.write(ue),new it(Ee.read())},it.parseValue=function(ue){return it.create(ue).parseComponentValue()},it.parseValues=function(ue){return it.create(ue).parseComponentValues()},it.prototype.parseComponentValue=function(){for(var ue=this.consumeToken();ue.type===31;)ue=this.consumeToken();if(ue.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ue);var Ee=this.consumeComponentValue();do ue=this.consumeToken();while(ue.type===31);if(ue.type===32)return Ee;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},it.prototype.parseComponentValues=function(){for(var ue=[];;){var Ee=this.consumeComponentValue();if(Ee.type===32)return ue;ue.push(Ee),ue.push()}},it.prototype.consumeComponentValue=function(){var ue=this.consumeToken();switch(ue.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ue.type);case 19:return this.consumeFunction(ue)}return ue},it.prototype.consumeSimpleBlock=function(ue){for(var Ee={type:ue,values:[]},Le=this.consumeToken();;){if(Le.type===32||In(Le,ue))return Ee;this.reconsumeToken(Le),Ee.values.push(this.consumeComponentValue()),Le=this.consumeToken()}},it.prototype.consumeFunction=function(ue){for(var Ee={name:ue.value,values:[],type:18};;){var Le=this.consumeToken();if(Le.type===32||Le.type===3)return Ee;this.reconsumeToken(Le),Ee.values.push(this.consumeComponentValue())}},it.prototype.consumeToken=function(){var ue=this._tokens.shift();return typeof ue=="undefined"?rn:ue},it.prototype.reconsumeToken=function(ue){this._tokens.unshift(ue)},it}(),Dt=function(ue){return ue.type===15},ur=function(ue){return ue.type===17},ar=function(ue){return ue.type===20},Lr=function(ue){return ue.type===0},Rr=function(ue,Ee){return ar(ue)&&ue.value===Ee},Hr=function(ue){return ue.type!==31},an=function(ue){return ue.type!==31&&ue.type!==4},wn=function(ue){var Ee=[],Le=[];return ue.forEach(function(et){if(et.type===4){if(Le.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ee.push(Le),Le=[];return}et.type!==31&&Le.push(et)}),Le.length&&Ee.push(Le),Ee},In=function(ue,Ee){return Ee===11&&ue.type===12||Ee===28&&ue.type===29?!0:Ee===2&&ue.type===3},Rn=function(ue){return ue.type===17||ue.type===15},Nn=function(ue){return ue.type===16||Rn(ue)},vn=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},Sn={type:17,number:0,flags:St},Tn={type:16,number:50,flags:St},Kn={type:16,number:100,flags:St},Qn=function(ue,Ee,Le){var et=ue[0],jt=ue[1];return[qn(et,Ee),qn(typeof jt!="undefined"?jt:et,Le)]},qn=function(ue,Ee){if(ue.type===16)return ue.number/100*Ee;if(Dt(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},bi="deg",gi="grad",Ri="rad",Bi="turn",xi={name:"angle",parse:function(ue,Ee){if(Ee.type===15)switch(Ee.unit){case bi:return Math.PI*Ee.number/180;case gi:return Math.PI/200*Ee.number;case Ri:return Ee.number;case Bi:return Math.PI*2*Ee.number}throw new Error("Unsupported angle type")}},Ti=function(ue){return ue.type===15&&(ue.unit===bi||ue.unit===gi||ue.unit===Ri||ue.unit===Bi)},Di=function(ue){var Ee=ue.filter(ar).map(function(Le){return Le.value}).join(" ");switch(Ee){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Sn,Sn];case"to top":case"bottom":return Pn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Sn,Kn];case"to right":case"left":return Pn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Kn,Kn];case"to bottom":case"top":return Pn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Kn,Sn];case"to left":case"right":return Pn(270)}return 0},Pn=function(ue){return Math.PI*ue/180},_i={name:"color",parse:function(ue,Ee){if(Ee.type===18){var Le=rr[Ee.name];if(typeof Le=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ee.name+'"');return Le(ue,Ee.values)}if(Ee.type===5){if(Ee.value.length===3){var et=Ee.value.substring(0,1),jt=Ee.value.substring(1,2),Er=Ee.value.substring(2,3);return Dr(parseInt(et+et,16),parseInt(jt+jt,16),parseInt(Er+Er,16),1)}if(Ee.value.length===4){var et=Ee.value.substring(0,1),jt=Ee.value.substring(1,2),Er=Ee.value.substring(2,3),jr=Ee.value.substring(3,4);return Dr(parseInt(et+et,16),parseInt(jt+jt,16),parseInt(Er+Er,16),parseInt(jr+jr,16)/255)}if(Ee.value.length===6){var et=Ee.value.substring(0,2),jt=Ee.value.substring(2,4),Er=Ee.value.substring(4,6);return Dr(parseInt(et,16),parseInt(jt,16),parseInt(Er,16),1)}if(Ee.value.length===8){var et=Ee.value.substring(0,2),jt=Ee.value.substring(2,4),Er=Ee.value.substring(4,6),jr=Ee.value.substring(6,8);return Dr(parseInt(et,16),parseInt(jt,16),parseInt(Er,16),parseInt(jr,16)/255)}}if(Ee.type===20){var Jr=kr[Ee.value.toUpperCase()];if(typeof Jr!="undefined")return Jr}return kr.TRANSPARENT}},ji=function(ue){return(255&ue)===0},mr=function(ue){var Ee=255&ue,Le=255&ue>>8,et=255&ue>>16,jt=255&ue>>24;return Ee<255?"rgba("+jt+","+et+","+Le+","+Ee/255+")":"rgb("+jt+","+et+","+Le+")"},Dr=function(ue,Ee,Le,et){return(ue<<24|Ee<<16|Le<<8|Math.round(et*255)<<0)>>>0},Gr=function(ue,Ee){if(ue.type===17)return ue.number;if(ue.type===16){var Le=Ee===3?1:255;return Ee===3?ue.number/100*Le:Math.round(ue.number/100*Le)}return 0},Nr=function(ue,Ee){var Le=Ee.filter(an);if(Le.length===3){var et=Le.map(Gr),jt=et[0],Er=et[1],jr=et[2];return Dr(jt,Er,jr,1)}if(Le.length===4){var Jr=Le.map(Gr),jt=Jr[0],Er=Jr[1],jr=Jr[2],hn=Jr[3];return Dr(jt,Er,jr,hn)}return 0};function Gt(it,ue,Ee){return Ee<0&&(Ee+=1),Ee>=1&&(Ee-=1),Ee<1/6?(ue-it)*Ee*6+it:Ee<1/2?ue:Ee<2/3?(ue-it)*6*(2/3-Ee)+it:it}var xr=function(ue,Ee){var Le=Ee.filter(an),et=Le[0],jt=Le[1],Er=Le[2],jr=Le[3],Jr=(et.type===17?Pn(et.number):xi.parse(ue,et))/(Math.PI*2),hn=Nn(jt)?jt.number/100:0,oi=Nn(Er)?Er.number/100:0,Jn=typeof jr!="undefined"&&Nn(jr)?qn(jr,1):1;if(hn===0)return Dr(oi*255,oi*255,oi*255,1);var ci=oi<=.5?oi*(hn+1):oi+hn-oi*hn,fa=oi*2-ci,pa=Gt(fa,ci,Jr+1/3),Oa=Gt(fa,ci,Jr),fo=Gt(fa,ci,Jr-1/3);return Dr(pa*255,Oa*255,fo*255,Jn)},rr={hsl:xr,hsla:xr,rgb:Nr,rgba:Nr},Pr=function(ue,Ee){return _i.parse(ue,Qe.create(Ee).parseComponentValue())},kr={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},dn;(function(it){it[it.BORDER_BOX=0]="BORDER_BOX",it[it.PADDING_BOX=1]="PADDING_BOX",it[it.CONTENT_BOX=2]="CONTENT_BOX"})(dn||(dn={}));var ln={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ee){return Ee.map(function(Le){if(ar(Le))switch(Le.value){case"padding-box":return dn.PADDING_BOX;case"content-box":return dn.CONTENT_BOX}return dn.BORDER_BOX})}},yn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bn=function(ue,Ee){var Le=_i.parse(ue,Ee[0]),et=Ee[1];return et&&Nn(et)?{color:Le,stop:et}:{color:Le,stop:null}},Gn=function(ue,Ee){var Le=ue[0],et=ue[ue.length-1];Le.stop===null&&(Le.stop=Sn),et.stop===null&&(et.stop=Kn);for(var jt=[],Er=0,jr=0;jr<ue.length;jr++){var Jr=ue[jr].stop;if(Jr!==null){var hn=qn(Jr,Ee);hn>Er?jt.push(hn):jt.push(Er),Er=hn}else jt.push(null)}for(var oi=null,jr=0;jr<jt.length;jr++){var Jn=jt[jr];if(Jn===null)oi===null&&(oi=jr);else if(oi!==null){for(var ci=jr-oi,fa=jt[oi-1],pa=(Jn-fa)/(ci+1),Oa=1;Oa<=ci;Oa++)jt[oi+Oa-1]=pa*Oa;oi=null}}return ue.map(function(fo,Qa){var za=fo.color;return{color:za,stop:Math.max(Math.min(1,jt[Qa]/Ee),0)}})},ei=function(ue,Ee,Le){var et=Ee/2,jt=Le/2,Er=qn(ue[0],Ee)-et,jr=jt-qn(ue[1],Le);return(Math.atan2(jr,Er)+Math.PI*2)%(Math.PI*2)},Ci=function(ue,Ee,Le){var et=typeof ue=="number"?ue:ei(ue,Ee,Le),jt=Math.abs(Ee*Math.sin(et))+Math.abs(Le*Math.cos(et)),Er=Ee/2,jr=Le/2,Jr=jt/2,hn=Math.sin(et-Math.PI/2)*Jr,oi=Math.cos(et-Math.PI/2)*Jr;return[jt,Er-oi,Er+oi,jr-hn,jr+hn]},Qi=function(ue,Ee){return Math.sqrt(ue*ue+Ee*Ee)},ua=function(ue,Ee,Le,et,jt){var Er=[[0,0],[0,Ee],[ue,0],[ue,Ee]];return Er.reduce(function(jr,Jr){var hn=Jr[0],oi=Jr[1],Jn=Qi(Le-hn,et-oi);return(jt?Jn<jr.optimumDistance:Jn>jr.optimumDistance)?{optimumCorner:Jr,optimumDistance:Jn}:jr},{optimumDistance:jt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ha=function(ue,Ee,Le,et,jt){var Er=0,jr=0;switch(ue.size){case Ea.CLOSEST_SIDE:ue.shape===ya.CIRCLE?Er=jr=Math.min(Math.abs(Ee),Math.abs(Ee-et),Math.abs(Le),Math.abs(Le-jt)):ue.shape===ya.ELLIPSE&&(Er=Math.min(Math.abs(Ee),Math.abs(Ee-et)),jr=Math.min(Math.abs(Le),Math.abs(Le-jt)));break;case Ea.CLOSEST_CORNER:if(ue.shape===ya.CIRCLE)Er=jr=Math.min(Qi(Ee,Le),Qi(Ee,Le-jt),Qi(Ee-et,Le),Qi(Ee-et,Le-jt));else if(ue.shape===ya.ELLIPSE){var Jr=Math.min(Math.abs(Le),Math.abs(Le-jt))/Math.min(Math.abs(Ee),Math.abs(Ee-et)),hn=ua(et,jt,Ee,Le,!0),oi=hn[0],Jn=hn[1];Er=Qi(oi-Ee,(Jn-Le)/Jr),jr=Jr*Er}break;case Ea.FARTHEST_SIDE:ue.shape===ya.CIRCLE?Er=jr=Math.max(Math.abs(Ee),Math.abs(Ee-et),Math.abs(Le),Math.abs(Le-jt)):ue.shape===ya.ELLIPSE&&(Er=Math.max(Math.abs(Ee),Math.abs(Ee-et)),jr=Math.max(Math.abs(Le),Math.abs(Le-jt)));break;case Ea.FARTHEST_CORNER:if(ue.shape===ya.CIRCLE)Er=jr=Math.max(Qi(Ee,Le),Qi(Ee,Le-jt),Qi(Ee-et,Le),Qi(Ee-et,Le-jt));else if(ue.shape===ya.ELLIPSE){var Jr=Math.max(Math.abs(Le),Math.abs(Le-jt))/Math.max(Math.abs(Ee),Math.abs(Ee-et)),ci=ua(et,jt,Ee,Le,!1),oi=ci[0],Jn=ci[1];Er=Qi(oi-Ee,(Jn-Le)/Jr),jr=Jr*Er}break}return Array.isArray(ue.size)&&(Er=qn(ue.size[0],et),jr=ue.size.length===2?qn(ue.size[1],jt):Er),[Er,jr]},la=function(ue,Ee){var Le=Pn(180),et=[];return wn(Ee).forEach(function(jt,Er){if(Er===0){var jr=jt[0];if(jr.type===20&&jr.value==="to"){Le=Di(jt);return}else if(Ti(jr)){Le=xi.parse(ue,jr);return}}var Jr=Bn(ue,jt);et.push(Jr)}),{angle:Le,stops:et,type:ca.LINEAR_GRADIENT}},da=function(ue,Ee){var Le=Pn(180),et=[];return wn(Ee).forEach(function(jt,Er){if(Er===0){var jr=jt[0];if(jr.type===20&&["top","left","right","bottom"].indexOf(jr.value)!==-1){Le=Di(jt);return}else if(Ti(jr)){Le=(xi.parse(ue,jr)+Pn(270))%Pn(360);return}}var Jr=Bn(ue,jt);et.push(Jr)}),{angle:Le,stops:et,type:ca.LINEAR_GRADIENT}},Wi=function(ue,Ee){var Le=Pn(180),et=[],jt=ca.LINEAR_GRADIENT,Er=ya.CIRCLE,jr=Ea.FARTHEST_CORNER,Jr=[];return wn(Ee).forEach(function(hn,oi){var Jn=hn[0];if(oi===0){if(ar(Jn)&&Jn.value==="linear"){jt=ca.LINEAR_GRADIENT;return}else if(ar(Jn)&&Jn.value==="radial"){jt=ca.RADIAL_GRADIENT;return}}if(Jn.type===18){if(Jn.name==="from"){var ci=_i.parse(ue,Jn.values[0]);et.push({stop:Sn,color:ci})}else if(Jn.name==="to"){var ci=_i.parse(ue,Jn.values[0]);et.push({stop:Kn,color:ci})}else if(Jn.name==="color-stop"){var fa=Jn.values.filter(an);if(fa.length===2){var ci=_i.parse(ue,fa[1]),pa=fa[0];ur(pa)&&et.push({stop:{type:16,number:pa.number*100,flags:pa.flags},color:ci})}}}}),jt===ca.LINEAR_GRADIENT?{angle:(Le+Pn(180))%Pn(360),stops:et,type:jt}:{size:jr,shape:Er,stops:et,position:Jr,type:jt}},Mi="closest-side",na="farthest-side",ea="closest-corner",_a="farthest-corner",Fa="circle",ta="ellipse",Yi="cover",ka="contain",ba=function(ue,Ee){var Le=ya.CIRCLE,et=Ea.FARTHEST_CORNER,jt=[],Er=[];return wn(Ee).forEach(function(jr,Jr){var hn=!0;if(Jr===0){var oi=!1;hn=jr.reduce(function(ci,fa){if(oi)if(ar(fa))switch(fa.value){case"center":return Er.push(Tn),ci;case"top":case"left":return Er.push(Sn),ci;case"right":case"bottom":return Er.push(Kn),ci}else(Nn(fa)||Rn(fa))&&Er.push(fa);else if(ar(fa))switch(fa.value){case Fa:return Le=ya.CIRCLE,!1;case ta:return Le=ya.ELLIPSE,!1;case"at":return oi=!0,!1;case Mi:return et=Ea.CLOSEST_SIDE,!1;case Yi:case na:return et=Ea.FARTHEST_SIDE,!1;case ka:case ea:return et=Ea.CLOSEST_CORNER,!1;case _a:return et=Ea.FARTHEST_CORNER,!1}else if(Rn(fa)||Nn(fa))return Array.isArray(et)||(et=[]),et.push(fa),!1;return ci},hn)}if(hn){var Jn=Bn(ue,jr);jt.push(Jn)}}),{size:et,shape:Le,stops:jt,position:Er,type:ca.RADIAL_GRADIENT}},Ei=function(ue,Ee){var Le=ya.CIRCLE,et=Ea.FARTHEST_CORNER,jt=[],Er=[];return wn(Ee).forEach(function(jr,Jr){var hn=!0;if(Jr===0?hn=jr.reduce(function(Jn,ci){if(ar(ci))switch(ci.value){case"center":return Er.push(Tn),!1;case"top":case"left":return Er.push(Sn),!1;case"right":case"bottom":return Er.push(Kn),!1}else if(Nn(ci)||Rn(ci))return Er.push(ci),!1;return Jn},hn):Jr===1&&(hn=jr.reduce(function(Jn,ci){if(ar(ci))switch(ci.value){case Fa:return Le=ya.CIRCLE,!1;case ta:return Le=ya.ELLIPSE,!1;case ka:case Mi:return et=Ea.CLOSEST_SIDE,!1;case na:return et=Ea.FARTHEST_SIDE,!1;case ea:return et=Ea.CLOSEST_CORNER,!1;case Yi:case _a:return et=Ea.FARTHEST_CORNER,!1}else if(Rn(ci)||Nn(ci))return Array.isArray(et)||(et=[]),et.push(ci),!1;return Jn},hn)),hn){var oi=Bn(ue,jr);jt.push(oi)}}),{size:et,shape:Le,stops:jt,position:Er,type:ca.RADIAL_GRADIENT}},ca;(function(it){it[it.URL=0]="URL",it[it.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",it[it.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(ca||(ca={}));var Ha=function(ue){return ue.type===ca.LINEAR_GRADIENT},Pa=function(ue){return ue.type===ca.RADIAL_GRADIENT},ya;(function(it){it[it.CIRCLE=0]="CIRCLE",it[it.ELLIPSE=1]="ELLIPSE"})(ya||(ya={}));var Ea;(function(it){it[it.CLOSEST_SIDE=0]="CLOSEST_SIDE",it[it.FARTHEST_SIDE=1]="FARTHEST_SIDE",it[it.CLOSEST_CORNER=2]="CLOSEST_CORNER",it[it.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Ea||(Ea={}));var Ga={name:"image",parse:function(ue,Ee){if(Ee.type===22){var Le={url:Ee.value,type:ca.URL};return ue.cache.addImage(Ee.value),Le}if(Ee.type===18){var et=Va[Ee.name];if(typeof et=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ee.name+'"');return et(ue,Ee.values)}throw new Error("Unsupported image type "+Ee.type)}};function Ta(it){return!(it.type===20&&it.value==="none")&&(it.type!==18||!!Va[it.name])}var Va={"linear-gradient":la,"-moz-linear-gradient":da,"-ms-linear-gradient":da,"-o-linear-gradient":da,"-webkit-linear-gradient":da,"radial-gradient":ba,"-moz-radial-gradient":Ei,"-ms-radial-gradient":Ei,"-o-radial-gradient":Ei,"-webkit-radial-gradient":Ei,"-webkit-gradient":Wi},uo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ee){if(Ee.length===0)return[];var Le=Ee[0];return Le.type===20&&Le.value==="none"?[]:Ee.filter(function(et){return an(et)&&Ta(et)}).map(function(et){return Ga.parse(ue,et)})}},aa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ee){return Ee.map(function(Le){if(ar(Le))switch(Le.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},po={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,Ee){return wn(Ee).map(function(Le){return Le.filter(Nn)}).map(vn)}},Ua;(function(it){it[it.REPEAT=0]="REPEAT",it[it.NO_REPEAT=1]="NO_REPEAT",it[it.REPEAT_X=2]="REPEAT_X",it[it.REPEAT_Y=3]="REPEAT_Y"})(Ua||(Ua={}));var Da={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,Ee){return wn(Ee).map(function(Le){return Le.filter(ar).map(function(et){return et.value}).join(" ")}).map($a)}},$a=function(ue){switch(ue){case"no-repeat":return Ua.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Ua.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Ua.REPEAT_Y;case"repeat":default:return Ua.REPEAT}},Ma;(function(it){it.AUTO="auto",it.CONTAIN="contain",it.COVER="cover"})(Ma||(Ma={}));var Ka={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,Ee){return wn(Ee).map(function(Le){return Le.filter(yo)})}},yo=function(ue){return ar(ue)||Nn(ue)},io=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},xo=io("top"),mo=io("right"),go=io("bottom"),Ya=io("left"),qa=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(Le,et){return vn(et.filter(Nn))}}},La=qa("top-left"),oo=qa("top-right"),vo=qa("bottom-right"),Fi=qa("bottom-left"),ma;(function(it){it[it.NONE=0]="NONE",it[it.SOLID=1]="SOLID",it[it.DASHED=2]="DASHED",it[it.DOTTED=3]="DOTTED",it[it.DOUBLE=4]="DOUBLE"})(ma||(ma={}));var Mo=function(ue){return{name:"border-"+ue+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Le,et){switch(et){case"none":return ma.NONE;case"dashed":return ma.DASHED;case"dotted":return ma.DOTTED;case"double":return ma.DOUBLE}return ma.SOLID}}},zo=Mo("top"),Qo=Mo("right"),Jo=Mo("bottom"),bo=Mo("left"),Ra=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Le,et){return Dt(et)?et.number:0}}},jo=Ra("top"),hs=Ra("right"),Ao=Ra("bottom"),Io=Ra("left"),Xa={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Yo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"rtl":return 1;case"ltr":default:return 0}}},pl={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,Ee){return Ee.filter(ar).reduce(function(Le,et){return Le|Ls(et.value)},0)}},Ls=function(ue){switch(ue){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},os;(function(it){it[it.NONE=0]="NONE",it[it.LEFT=1]="LEFT",it[it.RIGHT=2]="RIGHT",it[it.INLINE_START=3]="INLINE_START",it[it.INLINE_END=4]="INLINE_END"})(os||(os={}));var _s={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"left":return os.LEFT;case"right":return os.RIGHT;case"inline-start":return os.INLINE_START;case"inline-end":return os.INLINE_END}return os.NONE}},Ns={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,Ee){return Ee.type===20&&Ee.value==="normal"?0:Ee.type===17||Ee.type===15?Ee.number:0}},is;(function(it){it.NORMAL="normal",it.STRICT="strict"})(is||(is={}));var Wo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"strict":return is.STRICT;case"normal":default:return is.NORMAL}}},Co={name:"line-height",initialValue:"normal",prefix:!1,type:4},ts=function(ue,Ee){return ar(ue)&&ue.value==="normal"?1.2*Ee:ue.type===17?Ee*ue.number:Nn(ue)?qn(ue,Ee):Ee},No={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,Ee){return Ee.type===20&&Ee.value==="none"?null:Ga.parse(ue,Ee)}},Ho;(function(it){it[it.INSIDE=0]="INSIDE",it[it.OUTSIDE=1]="OUTSIDE"})(Ho||(Ho={}));var zr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"inside":return Ho.INSIDE;case"outside":default:return Ho.OUTSIDE}}},Si;(function(it){it[it.NONE=-1]="NONE",it[it.DISC=0]="DISC",it[it.CIRCLE=1]="CIRCLE",it[it.SQUARE=2]="SQUARE",it[it.DECIMAL=3]="DECIMAL",it[it.CJK_DECIMAL=4]="CJK_DECIMAL",it[it.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",it[it.LOWER_ROMAN=6]="LOWER_ROMAN",it[it.UPPER_ROMAN=7]="UPPER_ROMAN",it[it.LOWER_GREEK=8]="LOWER_GREEK",it[it.LOWER_ALPHA=9]="LOWER_ALPHA",it[it.UPPER_ALPHA=10]="UPPER_ALPHA",it[it.ARABIC_INDIC=11]="ARABIC_INDIC",it[it.ARMENIAN=12]="ARMENIAN",it[it.BENGALI=13]="BENGALI",it[it.CAMBODIAN=14]="CAMBODIAN",it[it.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",it[it.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",it[it.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",it[it.DEVANAGARI=18]="DEVANAGARI",it[it.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",it[it.GEORGIAN=20]="GEORGIAN",it[it.GUJARATI=21]="GUJARATI",it[it.GURMUKHI=22]="GURMUKHI",it[it.HEBREW=22]="HEBREW",it[it.HIRAGANA=23]="HIRAGANA",it[it.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",it[it.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",it[it.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",it[it.KANNADA=27]="KANNADA",it[it.KATAKANA=28]="KATAKANA",it[it.KATAKANA_IROHA=29]="KATAKANA_IROHA",it[it.KHMER=30]="KHMER",it[it.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",it[it.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",it[it.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",it[it.LAO=34]="LAO",it[it.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",it[it.MALAYALAM=36]="MALAYALAM",it[it.MONGOLIAN=37]="MONGOLIAN",it[it.MYANMAR=38]="MYANMAR",it[it.ORIYA=39]="ORIYA",it[it.PERSIAN=40]="PERSIAN",it[it.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",it[it.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",it[it.TAMIL=43]="TAMIL",it[it.TELUGU=44]="TELUGU",it[it.THAI=45]="THAI",it[it.TIBETAN=46]="TIBETAN",it[it.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",it[it.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",it[it.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",it[it.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",it[it.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Si||(Si={}));var Ps={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"disc":return Si.DISC;case"circle":return Si.CIRCLE;case"square":return Si.SQUARE;case"decimal":return Si.DECIMAL;case"cjk-decimal":return Si.CJK_DECIMAL;case"decimal-leading-zero":return Si.DECIMAL_LEADING_ZERO;case"lower-roman":return Si.LOWER_ROMAN;case"upper-roman":return Si.UPPER_ROMAN;case"lower-greek":return Si.LOWER_GREEK;case"lower-alpha":return Si.LOWER_ALPHA;case"upper-alpha":return Si.UPPER_ALPHA;case"arabic-indic":return Si.ARABIC_INDIC;case"armenian":return Si.ARMENIAN;case"bengali":return Si.BENGALI;case"cambodian":return Si.CAMBODIAN;case"cjk-earthly-branch":return Si.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Si.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Si.CJK_IDEOGRAPHIC;case"devanagari":return Si.DEVANAGARI;case"ethiopic-numeric":return Si.ETHIOPIC_NUMERIC;case"georgian":return Si.GEORGIAN;case"gujarati":return Si.GUJARATI;case"gurmukhi":return Si.GURMUKHI;case"hebrew":return Si.HEBREW;case"hiragana":return Si.HIRAGANA;case"hiragana-iroha":return Si.HIRAGANA_IROHA;case"japanese-formal":return Si.JAPANESE_FORMAL;case"japanese-informal":return Si.JAPANESE_INFORMAL;case"kannada":return Si.KANNADA;case"katakana":return Si.KATAKANA;case"katakana-iroha":return Si.KATAKANA_IROHA;case"khmer":return Si.KHMER;case"korean-hangul-formal":return Si.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Si.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Si.KOREAN_HANJA_INFORMAL;case"lao":return Si.LAO;case"lower-armenian":return Si.LOWER_ARMENIAN;case"malayalam":return Si.MALAYALAM;case"mongolian":return Si.MONGOLIAN;case"myanmar":return Si.MYANMAR;case"oriya":return Si.ORIYA;case"persian":return Si.PERSIAN;case"simp-chinese-formal":return Si.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Si.SIMP_CHINESE_INFORMAL;case"tamil":return Si.TAMIL;case"telugu":return Si.TELUGU;case"thai":return Si.THAI;case"tibetan":return Si.TIBETAN;case"trad-chinese-formal":return Si.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Si.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Si.UPPER_ARMENIAN;case"disclosure-open":return Si.DISCLOSURE_OPEN;case"disclosure-closed":return Si.DISCLOSURE_CLOSED;case"none":default:return Si.NONE}}},Vs=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},Ms=Vs("top"),so=Vs("right"),wo=Vs("bottom"),Vo=Vs("left"),Zo;(function(it){it[it.VISIBLE=0]="VISIBLE",it[it.HIDDEN=1]="HIDDEN",it[it.SCROLL=2]="SCROLL",it[it.CLIP=3]="CLIP",it[it.AUTO=4]="AUTO"})(Zo||(Zo={}));var As={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,Ee){return Ee.filter(ar).map(function(Le){switch(Le.value){case"hidden":return Zo.HIDDEN;case"scroll":return Zo.SCROLL;case"clip":return Zo.CLIP;case"auto":return Zo.AUTO;case"visible":default:return Zo.VISIBLE}})}},ws={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ss=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Qs=Ss("top"),Hs=Ss("right"),Ys=Ss("bottom"),Ds=Ss("left"),rs;(function(it){it[it.LEFT=0]="LEFT",it[it.CENTER=1]="CENTER",it[it.RIGHT=2]="RIGHT"})(rs||(rs={}));var xt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"right":return rs.RIGHT;case"center":case"justify":return rs.CENTER;case"left":default:return rs.LEFT}}},Ot;(function(it){it[it.STATIC=0]="STATIC",it[it.RELATIVE=1]="RELATIVE",it[it.ABSOLUTE=2]="ABSOLUTE",it[it.FIXED=3]="FIXED",it[it.STICKY=4]="STICKY"})(Ot||(Ot={}));var nn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"relative":return Ot.RELATIVE;case"absolute":return Ot.ABSOLUTE;case"fixed":return Ot.FIXED;case"sticky":return Ot.STICKY}return Ot.STATIC}},On={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ee){return Ee.length===1&&Rr(Ee[0],"none")?[]:wn(Ee).map(function(Le){for(var et={color:kr.TRANSPARENT,offsetX:Sn,offsetY:Sn,blur:Sn},jt=0,Er=0;Er<Le.length;Er++){var jr=Le[Er];Rn(jr)?(jt===0?et.offsetX=jr:jt===1?et.offsetY=jr:et.blur=jr,jt++):et.color=_i.parse(ue,jr)}return et})}},$n;(function(it){it[it.NONE=0]="NONE",it[it.LOWERCASE=1]="LOWERCASE",it[it.UPPERCASE=2]="UPPERCASE",it[it.CAPITALIZE=3]="CAPITALIZE"})($n||($n={}));var ft={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"uppercase":return $n.UPPERCASE;case"lowercase":return $n.LOWERCASE;case"capitalize":return $n.CAPITALIZE}return $n.NONE}},oe={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ue,Ee){if(Ee.type===20&&Ee.value==="none")return null;if(Ee.type===18){var Le=Be[Ee.name];if(typeof Le=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ee.name+'"');return Le(Ee.values)}return null}},Ae=function(ue){var Ee=ue.filter(function(Le){return Le.type===17}).map(function(Le){return Le.number});return Ee.length===6?Ee:null},we=function(ue){var Ee=ue.filter(function(hn){return hn.type===17}).map(function(hn){return hn.number}),Le=Ee[0],et=Ee[1];Ee[2],Ee[3];var jt=Ee[4],Er=Ee[5];Ee[6],Ee[7],Ee[8],Ee[9],Ee[10],Ee[11];var jr=Ee[12],Jr=Ee[13];return Ee[14],Ee[15],Ee.length===16?[Le,et,jt,Er,jr,Jr]:null},Be={matrix:Ae,matrix3d:we},st={type:16,number:50,flags:St},Bt=[st,st],wr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ue,Ee){var Le=Ee.filter(Nn);return Le.length!==2?Bt:[Le[0],Le[1]]}},Tr;(function(it){it[it.VISIBLE=0]="VISIBLE",it[it.HIDDEN=1]="HIDDEN",it[it.COLLAPSE=2]="COLLAPSE"})(Tr||(Tr={}));var tn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"hidden":return Tr.HIDDEN;case"collapse":return Tr.COLLAPSE;case"visible":default:return Tr.VISIBLE}}},_n;(function(it){it.NORMAL="normal",it.BREAK_ALL="break-all",it.KEEP_ALL="keep-all"})(_n||(_n={}));var jn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"break-all":return _n.BREAK_ALL;case"keep-all":return _n.KEEP_ALL;case"normal":default:return _n.NORMAL}}},fi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ue,Ee){if(Ee.type===20)return{auto:!0,order:0};if(ur(Ee))return{auto:!1,order:Ee.number};throw new Error("Invalid z-index number parsed")}},Ii={name:"time",parse:function(ue,Ee){if(Ee.type===15)switch(Ee.unit.toLowerCase()){case"s":return 1e3*Ee.number;case"ms":return Ee.number}throw new Error("Unsupported time type")}},Vi={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ue,Ee){return ur(Ee)?Ee.number:1}},sa={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wa={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ue,Ee){return Ee.filter(ar).map(function(Le){switch(Le.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Le){return Le!==0})}},Za={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ue,Ee){var Le=[],et=[];return Ee.forEach(function(jt){switch(jt.type){case 20:case 0:Le.push(jt.value);break;case 17:Le.push(jt.number.toString());break;case 4:et.push(Le.join(" ")),Le.length=0;break}}),Le.length&&et.push(Le.join(" ")),et.map(function(jt){return jt.indexOf(" ")===-1?jt:"'"+jt+"'"})}},to={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},lo={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ue,Ee){if(ur(Ee))return Ee.number;if(ar(Ee))switch(Ee.value){case"bold":return 700;case"normal":default:return 400}return 400}},_o={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ee){return Ee.filter(ar).map(function(Le){return Le.value})}},ao;(function(it){it.NORMAL="normal",it.ITALIC="italic",it.OBLIQUE="oblique"})(ao||(ao={}));var Do={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ee){switch(Ee){case"oblique":return ao.OBLIQUE;case"italic":return ao.ITALIC;case"normal":default:return ao.NORMAL}}},Ja=function(ue,Ee){return(ue&Ee)!==0},Eo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ee){if(Ee.length===0)return[];var Le=Ee[0];return Le.type===20&&Le.value==="none"?[]:Ee}},fs={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ee){if(Ee.length===0)return null;var Le=Ee[0];if(Le.type===20&&Le.value==="none")return null;for(var et=[],jt=Ee.filter(Hr),Er=0;Er<jt.length;Er++){var jr=jt[Er],Jr=jt[Er+1];if(jr.type===20){var hn=Jr&&ur(Jr)?Jr.number:1;et.push({counter:jr.value,increment:hn})}}return et}},Oo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ee){if(Ee.length===0)return[];for(var Le=[],et=Ee.filter(Hr),jt=0;jt<et.length;jt++){var Er=et[jt],jr=et[jt+1];if(ar(Er)&&Er.value!=="none"){var Jr=jr&&ur(jr)?jr.number:0;Le.push({counter:Er.value,reset:Jr})}}return Le}},Lo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ue,Ee){return Ee.filter(Dt).map(function(Le){return Ii.parse(ue,Le)})}},vs={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ue,Ee){if(Ee.length===0)return null;var Le=Ee[0];if(Le.type===20&&Le.value==="none")return null;var et=[],jt=Ee.filter(Lr);if(jt.length%2!==0)return null;for(var Er=0;Er<jt.length;Er+=2){var jr=jt[Er].value,Jr=jt[Er+1].value;et.push({open:jr,close:Jr})}return et}},Fs=function(ue,Ee,Le){if(!ue)return"";var et=ue[Math.min(Ee,ue.length-1)];return et?Le?et.open:et.close:""},ss={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ee){return Ee.length===1&&Rr(Ee[0],"none")?[]:wn(Ee).map(function(Le){for(var et={color:255,offsetX:Sn,offsetY:Sn,blur:Sn,spread:Sn,inset:!1},jt=0,Er=0;Er<Le.length;Er++){var jr=Le[Er];Rr(jr,"inset")?et.inset=!0:Rn(jr)?(jt===0?et.offsetX=jr:jt===1?et.offsetY=jr:jt===2?et.blur=jr:et.spread=jr,jt++):et.color=_i.parse(ue,jr)}return et})}},Fo;(function(it){it[it.FILL=0]="FILL",it[it.STROKE=1]="STROKE",it[it.MARKERS=2]="MARKERS"})(Fo||(Fo={}));for(var Zs={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ue,Ee){var Le=[Fo.FILL,Fo.STROKE,Fo.MARKERS],et=[];return Ee.filter(ar).forEach(function(jt){switch(jt.value){case"stroke":et.push(Fo.STROKE);break;case"fill":et.push(Fo.FILL);break;case"markers":et.push(Fo.MARKERS);break}}),Le.forEach(function(jt){et.indexOf(jt)===-1&&et.push(jt)}),et}},xs={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ll={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ue,Ee){return Dt(Ee)?Ee.number:0}},Js=function(){function it(ue,Ee){var Le,et;this.animationDuration=oa(ue,Lo,Ee.animationDuration),this.backgroundClip=oa(ue,ln,Ee.backgroundClip),this.backgroundColor=oa(ue,yn,Ee.backgroundColor),this.backgroundImage=oa(ue,uo,Ee.backgroundImage),this.backgroundOrigin=oa(ue,aa,Ee.backgroundOrigin),this.backgroundPosition=oa(ue,po,Ee.backgroundPosition),this.backgroundRepeat=oa(ue,Da,Ee.backgroundRepeat),this.backgroundSize=oa(ue,Ka,Ee.backgroundSize),this.borderTopColor=oa(ue,xo,Ee.borderTopColor),this.borderRightColor=oa(ue,mo,Ee.borderRightColor),this.borderBottomColor=oa(ue,go,Ee.borderBottomColor),this.borderLeftColor=oa(ue,Ya,Ee.borderLeftColor),this.borderTopLeftRadius=oa(ue,La,Ee.borderTopLeftRadius),this.borderTopRightRadius=oa(ue,oo,Ee.borderTopRightRadius),this.borderBottomRightRadius=oa(ue,vo,Ee.borderBottomRightRadius),this.borderBottomLeftRadius=oa(ue,Fi,Ee.borderBottomLeftRadius),this.borderTopStyle=oa(ue,zo,Ee.borderTopStyle),this.borderRightStyle=oa(ue,Qo,Ee.borderRightStyle),this.borderBottomStyle=oa(ue,Jo,Ee.borderBottomStyle),this.borderLeftStyle=oa(ue,bo,Ee.borderLeftStyle),this.borderTopWidth=oa(ue,jo,Ee.borderTopWidth),this.borderRightWidth=oa(ue,hs,Ee.borderRightWidth),this.borderBottomWidth=oa(ue,Ao,Ee.borderBottomWidth),this.borderLeftWidth=oa(ue,Io,Ee.borderLeftWidth),this.boxShadow=oa(ue,ss,Ee.boxShadow),this.color=oa(ue,Xa,Ee.color),this.direction=oa(ue,Yo,Ee.direction),this.display=oa(ue,pl,Ee.display),this.float=oa(ue,_s,Ee.cssFloat),this.fontFamily=oa(ue,Za,Ee.fontFamily),this.fontSize=oa(ue,to,Ee.fontSize),this.fontStyle=oa(ue,Do,Ee.fontStyle),this.fontVariant=oa(ue,_o,Ee.fontVariant),this.fontWeight=oa(ue,lo,Ee.fontWeight),this.letterSpacing=oa(ue,Ns,Ee.letterSpacing),this.lineBreak=oa(ue,Wo,Ee.lineBreak),this.lineHeight=oa(ue,Co,Ee.lineHeight),this.listStyleImage=oa(ue,No,Ee.listStyleImage),this.listStylePosition=oa(ue,zr,Ee.listStylePosition),this.listStyleType=oa(ue,Ps,Ee.listStyleType),this.marginTop=oa(ue,Ms,Ee.marginTop),this.marginRight=oa(ue,so,Ee.marginRight),this.marginBottom=oa(ue,wo,Ee.marginBottom),this.marginLeft=oa(ue,Vo,Ee.marginLeft),this.opacity=oa(ue,Vi,Ee.opacity);var jt=oa(ue,As,Ee.overflow);this.overflowX=jt[0],this.overflowY=jt[jt.length>1?1:0],this.overflowWrap=oa(ue,ws,Ee.overflowWrap),this.paddingTop=oa(ue,Qs,Ee.paddingTop),this.paddingRight=oa(ue,Hs,Ee.paddingRight),this.paddingBottom=oa(ue,Ys,Ee.paddingBottom),this.paddingLeft=oa(ue,Ds,Ee.paddingLeft),this.paintOrder=oa(ue,Zs,Ee.paintOrder),this.position=oa(ue,nn,Ee.position),this.textAlign=oa(ue,xt,Ee.textAlign),this.textDecorationColor=oa(ue,sa,(Le=Ee.textDecorationColor)!==null&&Le!==void 0?Le:Ee.color),this.textDecorationLine=oa(ue,wa,(et=Ee.textDecorationLine)!==null&&et!==void 0?et:Ee.textDecoration),this.textShadow=oa(ue,On,Ee.textShadow),this.textTransform=oa(ue,ft,Ee.textTransform),this.transform=oa(ue,oe,Ee.transform),this.transformOrigin=oa(ue,wr,Ee.transformOrigin),this.visibility=oa(ue,tn,Ee.visibility),this.webkitTextStrokeColor=oa(ue,xs,Ee.webkitTextStrokeColor),this.webkitTextStrokeWidth=oa(ue,ll,Ee.webkitTextStrokeWidth),this.wordBreak=oa(ue,jn,Ee.wordBreak),this.zIndex=oa(ue,fi,Ee.zIndex)}return it.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Tr.VISIBLE},it.prototype.isTransparent=function(){return ji(this.backgroundColor)},it.prototype.isTransformed=function(){return this.transform!==null},it.prototype.isPositioned=function(){return this.position!==Ot.STATIC},it.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},it.prototype.isFloating=function(){return this.float!==os.NONE},it.prototype.isInlineLevel=function(){return Ja(this.display,4)||Ja(this.display,33554432)||Ja(this.display,268435456)||Ja(this.display,536870912)||Ja(this.display,67108864)||Ja(this.display,134217728)},it}(),ps=function(){function it(ue,Ee){this.content=oa(ue,Eo,Ee.content),this.quotes=oa(ue,vs,Ee.quotes)}return it}(),Xo=function(){function it(ue,Ee){this.counterIncrement=oa(ue,fs,Ee.counterIncrement),this.counterReset=oa(ue,Oo,Ee.counterReset)}return it}(),oa=function(ue,Ee,Le){var et=new pn,jt=Le!==null&&typeof Le!="undefined"?Le.toString():Ee.initialValue;et.write(jt);var Er=new Qe(et.read());switch(Ee.type){case 2:var jr=Er.parseComponentValue();return Ee.parse(ue,ar(jr)?jr.value:Ee.initialValue);case 0:return Ee.parse(ue,Er.parseComponentValue());case 1:return Ee.parse(ue,Er.parseComponentValues());case 4:return Er.parseComponentValue();case 3:switch(Ee.format){case"angle":return xi.parse(ue,Er.parseComponentValue());case"color":return _i.parse(ue,Er.parseComponentValue());case"image":return Ga.parse(ue,Er.parseComponentValue());case"length":var Jr=Er.parseComponentValue();return Rn(Jr)?Jr:Sn;case"length-percentage":var hn=Er.parseComponentValue();return Nn(hn)?hn:Sn;case"time":return Ii.parse(ue,Er.parseComponentValue())}break}},Xs="data-html2canvas-debug",rl=function(ue){var Ee=ue.getAttribute(Xs);switch(Ee){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Bs=function(ue,Ee){var Le=rl(ue);return Le===1||Ee===Le},Es=function(){function it(ue,Ee){if(this.context=ue,this.textNodes=[],this.elements=[],this.flags=0,Bs(Ee,3))debugger;this.styles=new Js(ue,window.getComputedStyle(Ee,null)),Ie(Ee)&&(this.styles.animationDuration.some(function(Le){return Le>0})&&(Ee.style.animationDuration="0s"),this.styles.transform!==null&&(Ee.style.transform="none")),this.bounds=l(this.context,Ee),Bs(Ee,4)&&(this.flags|=16)}return it}(),cl="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Gs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rs=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ks=0;Ks<Gs.length;Ks++)Rs[Gs.charCodeAt(Ks)]=Ks;for(var zs=function(ue){var Ee=ue.length*.75,Le=ue.length,et,jt=0,Er,jr,Jr,hn;ue[ue.length-1]==="="&&(Ee--,ue[ue.length-2]==="="&&Ee--);var oi=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ee):new Array(Ee),Jn=Array.isArray(oi)?oi:new Uint8Array(oi);for(et=0;et<Le;et+=4)Er=Rs[ue.charCodeAt(et)],jr=Rs[ue.charCodeAt(et+1)],Jr=Rs[ue.charCodeAt(et+2)],hn=Rs[ue.charCodeAt(et+3)],Jn[jt++]=Er<<2|jr>>4,Jn[jt++]=(jr&15)<<4|Jr>>2,Jn[jt++]=(Jr&3)<<6|hn&63;return oi},eo=function(ue){for(var Ee=ue.length,Le=[],et=0;et<Ee;et+=2)Le.push(ue[et+1]<<8|ue[et]);return Le},ga=function(ue){for(var Ee=ue.length,Le=[],et=0;et<Ee;et+=4)Le.push(ue[et+3]<<24|ue[et+2]<<16|ue[et+1]<<8|ue[et]);return Le},Ba=5,ho=6+5,Bo=2,Ts=ho-Ba,Ko=65536>>Ba,To=1<<Ba,qo=To-1,Ro=1024>>Ba,cs=Ko+Ro,ys=cs,yl=2048>>6,Yl=ys+yl,Zl=65536>>ho,bc=1<<Ts,ul=bc-1,Il=function(ue,Ee,Le){return ue.slice?ue.slice(Ee,Le):new Uint16Array(Array.prototype.slice.call(ue,Ee,Le))},Bl=function(ue,Ee,Le){return ue.slice?ue.slice(Ee,Le):new Uint32Array(Array.prototype.slice.call(ue,Ee,Le))},Bc=function(ue,Ee){var Le=zs(ue),et=Array.isArray(Le)?ga(Le):new Uint32Array(Le),jt=Array.isArray(Le)?eo(Le):new Uint16Array(Le),Er=24,jr=Il(jt,Er/2,et[4]/2),Jr=et[5]===2?Il(jt,(Er+et[4])/2):Bl(et,Math.ceil((Er+et[4])/4));return new wc(et[0],et[1],et[2],et[3],jr,Jr)},wc=function(){function it(ue,Ee,Le,et,jt,Er){this.initialValue=ue,this.errorValue=Ee,this.highStart=Le,this.highValueIndex=et,this.index=jt,this.data=Er}return it.prototype.get=function(ue){var Ee;if(ue>=0){if(ue<55296||ue>56319&&ue<=65535)return Ee=this.index[ue>>Ba],Ee=(Ee<<Bo)+(ue&qo),this.data[Ee];if(ue<=65535)return Ee=this.index[Ko+(ue-55296>>Ba)],Ee=(Ee<<Bo)+(ue&qo),this.data[Ee];if(ue<this.highStart)return Ee=Yl-Zl+(ue>>ho),Ee=this.index[Ee],Ee+=ue>>Ba&ul,Ee=this.index[Ee],Ee=(Ee<<Bo)+(ue&qo),this.data[Ee];if(ue<=1114111)return this.data[this.highValueIndex]}return this.errorValue},it}(),kc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pc=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ol=0;Ol<kc.length;Ol++)Pc[kc.charCodeAt(Ol)]=Ol;var $s=1,el=2,al=3,Kl=4,Jl=5,sc=7,zl=8,Ll=9,lc=10,$l=11,cc=12,Al=13,wl=14,Nl=15,ql=function(ue){for(var Ee=[],Le=0,et=ue.length;Le<et;){var jt=ue.charCodeAt(Le++);if(jt>=55296&&jt<=56319&&Le<et){var Er=ue.charCodeAt(Le++);(Er&64512)===56320?Ee.push(((jt&1023)<<10)+(Er&1023)+65536):(Ee.push(jt),Le--)}else Ee.push(jt)}return Ee},Sl=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ue);var Le=ue.length;if(!Le)return"";for(var et=[],jt=-1,Er="";++jt<Le;){var jr=ue[jt];jr<=65535?et.push(jr):(jr-=65536,et.push((jr>>10)+55296,jr%1024+56320)),(jt+1===Le||et.length>16384)&&(Er+=String.fromCharCode.apply(String,et),et.length=0)}return Er},Uc=Bc(cl),dl="\xD7",vl="\xF7",ec=function(ue){return Uc.get(ue)},jc=function(ue,Ee,Le){var et=Le-2,jt=Ee[et],Er=Ee[Le-1],jr=Ee[Le];if(Er===el&&jr===al)return dl;if(Er===el||Er===al||Er===Kl)return vl;if(jr===el||jr===al||jr===Kl)return vl;if(Er===zl&&[zl,Ll,$l,cc].indexOf(jr)!==-1)return dl;if((Er===$l||Er===Ll)&&(jr===Ll||jr===lc))return dl;if((Er===cc||Er===lc)&&jr===lc)return dl;if(jr===Al||jr===Jl)return dl;if(jr===sc)return dl;if(Er===$s)return dl;if(Er===Al&&jr===wl){for(;jt===Jl;)jt=Ee[--et];if(jt===wl)return dl}if(Er===Nl&&jr===Nl){for(var Jr=0;jt===Nl;)Jr++,jt=Ee[--et];if(Jr%2===0)return dl}return vl},uc=function(ue){var Ee=ql(ue),Le=Ee.length,et=0,jt=0,Er=Ee.map(ec);return{next:function(){if(et>=Le)return{done:!0,value:null};for(var Jr=dl;et<Le&&(Jr=jc(Ee,Er,++et))===dl;);if(Jr!==dl||et===Le){var hn=Sl.apply(null,Ee.slice(jt,et));return jt=et,{value:hn,done:!1}}return{done:!0,value:null}}}},Dl=function(ue){for(var Ee=uc(ue),Le=[],et;!(et=Ee.next()).done;)et.value&&Le.push(et.value.slice());return Le},Rl=function(ue){var Ee=123;if(ue.createRange){var Le=ue.createRange();if(Le.getBoundingClientRect){var et=ue.createElement("boundtest");et.style.height=Ee+"px",et.style.display="block",ue.body.appendChild(et),Le.selectNode(et);var jt=Le.getBoundingClientRect(),Er=Math.round(jt.height);if(ue.body.removeChild(et),Er===Ee)return!0}}return!1},kl=function(ue){var Ee=ue.createElement("boundtest");Ee.style.width="50px",Ee.style.display="block",Ee.style.fontSize="12px",Ee.style.letterSpacing="0px",Ee.style.wordSpacing="0px",ue.body.appendChild(Ee);var Le=ue.createRange();Ee.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var et=Ee.firstChild,jt=t(et.data).map(function(hn){return a(hn)}),Er=0,jr={},Jr=jt.every(function(hn,oi){Le.setStart(et,Er),Le.setEnd(et,Er+hn.length);var Jn=Le.getBoundingClientRect();Er+=hn.length;var ci=Jn.x>jr.x||Jn.y>jr.y;return jr=Jn,oi===0?!0:ci});return ue.body.removeChild(Ee),Jr},Sc=function(){return typeof new Image().crossOrigin!="undefined"},xc=function(){return typeof new XMLHttpRequest().responseType=="string"},dc=function(ue){var Ee=new Image,Le=ue.createElement("canvas"),et=Le.getContext("2d");if(!et)return!1;Ee.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{et.drawImage(Ee,0,0),Le.toDataURL()}catch(jt){return!1}return!0},Pl=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},hc=function(ue){var Ee=ue.createElement("canvas"),Le=100;Ee.width=Le,Ee.height=Le;var et=Ee.getContext("2d");if(!et)return Promise.reject(!1);et.fillStyle="rgb(0, 255, 0)",et.fillRect(0,0,Le,Le);var jt=new Image,Er=Ee.toDataURL();jt.src=Er;var jr=tc(Le,Le,0,0,jt);return et.fillStyle="red",et.fillRect(0,0,Le,Le),Ec(jr).then(function(Jr){et.drawImage(Jr,0,0);var hn=et.getImageData(0,0,Le,Le).data;et.fillStyle="red",et.fillRect(0,0,Le,Le);var oi=ue.createElement("div");return oi.style.backgroundImage="url("+Er+")",oi.style.height=Le+"px",Pl(hn)?Ec(tc(Le,Le,0,0,oi)):Promise.reject(!1)}).then(function(Jr){return et.drawImage(Jr,0,0),Pl(et.getImageData(0,0,Le,Le).data)}).catch(function(){return!1})},tc=function(ue,Ee,Le,et,jt){var Er="http://www.w3.org/2000/svg",jr=document.createElementNS(Er,"svg"),Jr=document.createElementNS(Er,"foreignObject");return jr.setAttributeNS(null,"width",ue.toString()),jr.setAttributeNS(null,"height",Ee.toString()),Jr.setAttributeNS(null,"width","100%"),Jr.setAttributeNS(null,"height","100%"),Jr.setAttributeNS(null,"x",Le.toString()),Jr.setAttributeNS(null,"y",et.toString()),Jr.setAttributeNS(null,"externalResourcesRequired","true"),jr.appendChild(Jr),Jr.appendChild(jt),jr},Ec=function(ue){return new Promise(function(Ee,Le){var et=new Image;et.onload=function(){return Ee(et)},et.onerror=Le,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},ms={get SUPPORT_RANGE_BOUNDS(){var it=Rl(document);return Object.defineProperty(ms,"SUPPORT_RANGE_BOUNDS",{value:it}),it},get SUPPORT_WORD_BREAKING(){var it=ms.SUPPORT_RANGE_BOUNDS&&kl(document);return Object.defineProperty(ms,"SUPPORT_WORD_BREAKING",{value:it}),it},get SUPPORT_SVG_DRAWING(){var it=dc(document);return Object.defineProperty(ms,"SUPPORT_SVG_DRAWING",{value:it}),it},get SUPPORT_FOREIGNOBJECT_DRAWING(){var it=typeof Array.from=="function"&&typeof window.fetch=="function"?hc(document):Promise.resolve(!1);return Object.defineProperty(ms,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:it}),it},get SUPPORT_CORS_IMAGES(){var it=Sc();return Object.defineProperty(ms,"SUPPORT_CORS_IMAGES",{value:it}),it},get SUPPORT_RESPONSE_TYPE(){var it=xc();return Object.defineProperty(ms,"SUPPORT_RESPONSE_TYPE",{value:it}),it},get SUPPORT_CORS_XHR(){var it="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ms,"SUPPORT_CORS_XHR",{value:it}),it}},nl=function(){function it(ue,Ee){this.text=ue,this.bounds=Ee}return it}(),xl=function(ue,Ee,Le,et){var jt=ml(Ee,Le),Er=[],jr=0;return jt.forEach(function(Jr){if(Le.textDecorationLine.length||Jr.trim().length>0)if(ms.SUPPORT_RANGE_BOUNDS)ms.SUPPORT_WORD_BREAKING?Er.push(new nl(Jr,El(ue,et,jr,Jr.length))):Er.push(new nl(Jr,d.fromDOMRectList(ue,nc(et,jr,Jr.length).getClientRects())));else{var hn=et.splitText(Jr.length);Er.push(new nl(Jr,rc(ue,et))),et=hn}else ms.SUPPORT_RANGE_BOUNDS||(et=et.splitText(Jr.length));jr+=Jr.length}),Er},rc=function(ue,Ee){var Le=Ee.ownerDocument;if(Le){var et=Le.createElement("html2canvaswrapper");et.appendChild(Ee.cloneNode(!0));var jt=Ee.parentNode;if(jt){jt.replaceChild(et,Ee);var Er=l(ue,et);return et.firstChild&&jt.replaceChild(et.firstChild,et),Er}}return d.EMPTY},nc=function(ue,Ee,Le){var et=ue.ownerDocument;if(!et)throw new Error("Node has no owner document");var jt=et.createRange();return jt.setStart(ue,Ee),jt.setEnd(ue,Ee+Le),jt},El=function(ue,Ee,Le,et){return d.fromClientRect(ue,nc(Ee,Le,et).getBoundingClientRect())},ml=function(ue,Ee){return Ee.letterSpacing!==0?Dl(ue):Hc(ue,Ee)},Cc=[32,160,4961,65792,65793,4153,4241],Hc=function(ue,Ee){for(var Le=Fr(ue,{lineBreak:Ee.lineBreak,wordBreak:Ee.overflowWrap==="break-word"?"break-word":Ee.wordBreak}),et=[],jt,Er=function(){if(jt.value){var Jr=jt.value.slice(),hn=t(Jr),oi="";hn.forEach(function(Jn){Cc.indexOf(Jn)===-1?oi+=a(Jn):(oi.length&&et.push(oi),et.push(a(Jn)),oi="")}),oi.length&&et.push(oi)}};!(jt=Le.next()).done;)Er();return et},Kc=function(){function it(ue,Ee,Le){this.text=_c(Ee.data,Le.textTransform),this.textBounds=xl(ue,this.text,Le,Ee)}return it}(),_c=function(ue,Ee){switch(Ee){case $n.LOWERCASE:return ue.toLowerCase();case $n.CAPITALIZE:return ue.replace(Tc,zc);case $n.UPPERCASE:return ue.toUpperCase();default:return ue}},Tc=/(^|\s|:|-|\(|\))([a-z])/g,zc=function(ue,Ee,Le){return ue.length>0?Ee+Le.toUpperCase():ue},fc=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.src=Le.currentSrc||Le.src,et.intrinsicWidth=Le.naturalWidth,et.intrinsicHeight=Le.naturalHeight,et.context.cache.addImage(et.src),et}return ue}(Es),Cl=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.canvas=Le,et.intrinsicWidth=Le.width,et.intrinsicHeight=Le.height,et}return ue}(Es),_l=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this,jt=new XMLSerializer,Er=l(Ee,Le);return Le.setAttribute("width",Er.width+"px"),Le.setAttribute("height",Er.height+"px"),et.svg="data:image/svg+xml,"+encodeURIComponent(jt.serializeToString(Le)),et.intrinsicWidth=Le.width.baseVal.value,et.intrinsicHeight=Le.height.baseVal.value,et.context.cache.addImage(et.svg),et}return ue}(Es),Wl=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.value=Le.value,et}return ue}(Es),Ul=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.start=Le.start,et.reversed=typeof Le.reversed=="boolean"&&Le.reversed===!0,et}return ue}(Es),Ic=[{type:15,flags:0,unit:"px",number:3}],$c=[{type:16,flags:0,number:50}],Wc=function(ue){return ue.width>ue.height?new d(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width<ue.height?new d(ue.left,ue.top+(ue.height-ue.width)/2,ue.width,ue.width):ue},qc=function(ue){var Ee=ue.type===eu?new Array(ue.value.length+1).join("\u2022"):ue.value;return Ee.length===0?ue.placeholder||"":Ee},Vl="checkbox",pc="radio",eu="password",Oc=707406591,ic=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;et.type=Le.type.toLowerCase(),et.checked=Le.checked,et.value=qc(Le),(et.type===Vl||et.type===pc)&&(et.styles.backgroundColor=3739148031,et.styles.borderTopColor=et.styles.borderRightColor=et.styles.borderBottomColor=et.styles.borderLeftColor=2779096575,et.styles.borderTopWidth=et.styles.borderRightWidth=et.styles.borderBottomWidth=et.styles.borderLeftWidth=1,et.styles.borderTopStyle=et.styles.borderRightStyle=et.styles.borderBottomStyle=et.styles.borderLeftStyle=ma.SOLID,et.styles.backgroundClip=[dn.BORDER_BOX],et.styles.backgroundOrigin=[0],et.bounds=Wc(et.bounds));switch(et.type){case Vl:et.styles.borderTopRightRadius=et.styles.borderTopLeftRadius=et.styles.borderBottomRightRadius=et.styles.borderBottomLeftRadius=Ic;break;case pc:et.styles.borderTopRightRadius=et.styles.borderTopLeftRadius=et.styles.borderBottomRightRadius=et.styles.borderBottomLeftRadius=$c;break}return et}return ue}(Es),mc=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this,jt=Le.options[Le.selectedIndex||0];return et.value=jt&&jt.text||"",et}return ue}(Es),Xl=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.value=Le.value,et}return ue}(Es),Lc=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;et.src=Le.src,et.width=parseInt(Le.width,10)||0,et.height=parseInt(Le.height,10)||0,et.backgroundColor=et.styles.backgroundColor;try{if(Le.contentWindow&&Le.contentWindow.document&&Le.contentWindow.document.documentElement){et.tree=Pe(Ee,Le.contentWindow.document.documentElement);var jt=Le.contentWindow.document.documentElement?Pr(Ee,getComputedStyle(Le.contentWindow.document.documentElement).backgroundColor):kr.TRANSPARENT,Er=Le.contentWindow.document.body?Pr(Ee,getComputedStyle(Le.contentWindow.document.body).backgroundColor):kr.TRANSPARENT;et.backgroundColor=ji(jt)?ji(Er)?et.styles.backgroundColor:Er:jt}}catch(jr){}return et}return ue}(Es),Gl=["OL","UL","MENU"],ac=function it(ue,Ee,Le,et){for(var jt=Ee.firstChild,Er=void 0;jt;jt=Er)if(Er=jt.nextSibling,fr(jt)&&jt.data.trim().length>0)Le.textNodes.push(new Kc(ue,jt,Le.styles));else if(_r(jt))if(zn(jt)&&jt.assignedNodes)jt.assignedNodes().forEach(function(Jr){return it(ue,Jr,Le,et)});else{var jr=me(ue,jt);jr.styles.isVisible()&&(ut(jt,jr,et)?jr.flags|=4:Ht(jr.styles)&&(jr.flags|=2),Gl.indexOf(jt.tagName)!==-1&&(jr.flags|=8),Le.elements.push(jr),jt.slot,jt.shadowRoot?it(ue,jt.shadowRoot,jr,et):!Mr(jt)&&!Nt(jt)&&!on(jt)&&it(ue,jt,jr,et))}},me=function(ue,Ee){return Ir(Ee)?new fc(ue,Ee):vr(Ee)?new Cl(ue,Ee):Nt(Ee)?new _l(ue,Ee):ye(Ee)?new Wl(ue,Ee):je(Ee)?new Ul(ue,Ee):nt(Ee)?new ic(ue,Ee):on(Ee)?new mc(ue,Ee):Mr(Ee)?new Xl(ue,Ee):gr(Ee)?new Lc(ue,Ee):new Es(ue,Ee)},Pe=function(ue,Ee){var Le=me(ue,Ee);return Le.flags|=4,ac(ue,Ee,Le,Le),Le},ut=function(ue,Ee,Le){return Ee.styles.isPositionedWithZIndex()||Ee.styles.opacity<1||Ee.styles.isTransformed()||Mt(ue)&&Le.styles.isTransparent()},Ht=function(ue){return ue.isPositioned()||ue.isFloating()},fr=function(ue){return ue.nodeType===Node.TEXT_NODE},_r=function(ue){return ue.nodeType===Node.ELEMENT_NODE},Ie=function(ue){return _r(ue)&&typeof ue.style!="undefined"&&!ee(ue)},ee=function(ue){return typeof ue.className=="object"},ye=function(ue){return ue.tagName==="LI"},je=function(ue){return ue.tagName==="OL"},nt=function(ue){return ue.tagName==="INPUT"},_t=function(ue){return ue.tagName==="HTML"},Nt=function(ue){return ue.tagName==="svg"},Mt=function(ue){return ue.tagName==="BODY"},vr=function(ue){return ue.tagName==="CANVAS"},Ir=function(ue){return ue.tagName==="IMG"},gr=function(ue){return ue.tagName==="IFRAME"},dr=function(ue){return ue.tagName==="STYLE"},Cr=function(ue){return ue.tagName==="SCRIPT"},Mr=function(ue){return ue.tagName==="TEXTAREA"},on=function(ue){return ue.tagName==="SELECT"},zn=function(ue){return ue.tagName==="SLOT"},ri=function(){function it(){this.counters={}}return it.prototype.getCounterValue=function(ue){var Ee=this.counters[ue];return Ee&&Ee.length?Ee[Ee.length-1]:1},it.prototype.getCounterValues=function(ue){var Ee=this.counters[ue];return Ee||[]},it.prototype.pop=function(ue){var Ee=this;ue.forEach(function(Le){return Ee.counters[Le].pop()})},it.prototype.parse=function(ue){var Ee=this,Le=ue.counterIncrement,et=ue.counterReset,jt=!0;Le!==null&&Le.forEach(function(jr){var Jr=Ee.counters[jr.counter];Jr&&jr.increment!==0&&(jt=!1,Jr.length||Jr.push(1),Jr[Math.max(0,Jr.length-1)]+=jr.increment)});var Er=[];return jt&&et.forEach(function(jr){var Jr=Ee.counters[jr.counter];Er.push(jr.counter),Jr||(Jr=Ee.counters[jr.counter]=[]),Jr.push(jr.reset)}),Er},it}(),Oi={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"]},ui={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"]},va={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"]},zi={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"]},Na=function(ue,Ee,Le,et,jt,Er){return ue<Ee||ue>Le?er(ue,jt,Er.length>0):et.integers.reduce(function(jr,Jr,hn){for(;ue>=Jr;)ue-=Jr,jr+=et.values[hn];return jr},"")+Er},Sa=function(ue,Ee,Le,et){var jt="";do Le||ue--,jt=et(ue)+jt,ue/=Ee;while(ue*Ee>=Ee);return jt},Ia=function(ue,Ee,Le,et,jt){var Er=Le-Ee+1;return(ue<0?"-":"")+(Sa(Math.abs(ue),Er,et,function(jr){return a(Math.floor(jr%Er)+Ee)})+jt)},co=function(ue,Ee,Le){Le===void 0&&(Le=". ");var et=Ee.length;return Sa(Math.abs(ue),et,!1,function(jt){return Ee[Math.floor(jt%et)]})+Le},O=1<<0,F=1<<1,$=1<<2,re=1<<3,le=function(ue,Ee,Le,et,jt,Er){if(ue<-9999||ue>9999)return er(ue,Si.CJK_DECIMAL,jt.length>0);var jr=Math.abs(ue),Jr=jt;if(jr===0)return Ee[0]+Jr;for(var hn=0;jr>0&&hn<=4;hn++){var oi=jr%10;oi===0&&Ja(Er,O)&&Jr!==""?Jr=Ee[oi]+Jr:oi>1||oi===1&&hn===0||oi===1&&hn===1&&Ja(Er,F)||oi===1&&hn===1&&Ja(Er,$)&&ue>100||oi===1&&hn>1&&Ja(Er,re)?Jr=Ee[oi]+(hn>0?Le[hn-1]:"")+Jr:oi===1&&hn>0&&(Jr=Le[hn-1]+Jr),jr=Math.floor(jr/10)}return(ue<0?et:"")+Jr},De="\u5341\u767E\u5343\u842C",dt="\u62FE\u4F70\u4EDF\u842C",Lt="\u30DE\u30A4\u30CA\u30B9",Qt="\uB9C8\uC774\uB108\uC2A4",er=function(ue,Ee,Le){var et=Le?". ":"",jt=Le?"\u3001":"",Er=Le?", ":"",jr=Le?" ":"";switch(Ee){case Si.DISC:return"\u2022"+jr;case Si.CIRCLE:return"\u25E6"+jr;case Si.SQUARE:return"\u25FE"+jr;case Si.DECIMAL_LEADING_ZERO:var Jr=Ia(ue,48,57,!0,et);return Jr.length<4?"0"+Jr:Jr;case Si.CJK_DECIMAL:return co(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",jt);case Si.LOWER_ROMAN:return Na(ue,1,3999,Oi,Si.DECIMAL,et).toLowerCase();case Si.UPPER_ROMAN:return Na(ue,1,3999,Oi,Si.DECIMAL,et);case Si.LOWER_GREEK:return Ia(ue,945,969,!1,et);case Si.LOWER_ALPHA:return Ia(ue,97,122,!1,et);case Si.UPPER_ALPHA:return Ia(ue,65,90,!1,et);case Si.ARABIC_INDIC:return Ia(ue,1632,1641,!0,et);case Si.ARMENIAN:case Si.UPPER_ARMENIAN:return Na(ue,1,9999,ui,Si.DECIMAL,et);case Si.LOWER_ARMENIAN:return Na(ue,1,9999,ui,Si.DECIMAL,et).toLowerCase();case Si.BENGALI:return Ia(ue,2534,2543,!0,et);case Si.CAMBODIAN:case Si.KHMER:return Ia(ue,6112,6121,!0,et);case Si.CJK_EARTHLY_BRANCH:return co(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",jt);case Si.CJK_HEAVENLY_STEM:return co(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",jt);case Si.CJK_IDEOGRAPHIC:case Si.TRAD_CHINESE_INFORMAL:return le(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",De,"\u8CA0",jt,F|$|re);case Si.TRAD_CHINESE_FORMAL:return le(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",dt,"\u8CA0",jt,O|F|$|re);case Si.SIMP_CHINESE_INFORMAL:return le(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",De,"\u8D1F",jt,F|$|re);case Si.SIMP_CHINESE_FORMAL:return le(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",dt,"\u8D1F",jt,O|F|$|re);case Si.JAPANESE_INFORMAL:return le(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Lt,jt,0);case Si.JAPANESE_FORMAL:return le(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Lt,jt,O|F|$);case Si.KOREAN_HANGUL_FORMAL:return le(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Qt,Er,O|F|$);case Si.KOREAN_HANJA_INFORMAL:return le(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Qt,Er,0);case Si.KOREAN_HANJA_FORMAL:return le(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Qt,Er,O|F|$);case Si.DEVANAGARI:return Ia(ue,2406,2415,!0,et);case Si.GEORGIAN:return Na(ue,1,19999,zi,Si.DECIMAL,et);case Si.GUJARATI:return Ia(ue,2790,2799,!0,et);case Si.GURMUKHI:return Ia(ue,2662,2671,!0,et);case Si.HEBREW:return Na(ue,1,10999,va,Si.DECIMAL,et);case Si.HIRAGANA:return co(ue,"\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 Si.HIRAGANA_IROHA:return co(ue,"\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 Si.KANNADA:return Ia(ue,3302,3311,!0,et);case Si.KATAKANA:return co(ue,"\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",jt);case Si.KATAKANA_IROHA:return co(ue,"\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",jt);case Si.LAO:return Ia(ue,3792,3801,!0,et);case Si.MONGOLIAN:return Ia(ue,6160,6169,!0,et);case Si.MYANMAR:return Ia(ue,4160,4169,!0,et);case Si.ORIYA:return Ia(ue,2918,2927,!0,et);case Si.PERSIAN:return Ia(ue,1776,1785,!0,et);case Si.TAMIL:return Ia(ue,3046,3055,!0,et);case Si.TELUGU:return Ia(ue,3174,3183,!0,et);case Si.THAI:return Ia(ue,3664,3673,!0,et);case Si.TIBETAN:return Ia(ue,3872,3881,!0,et);case Si.DECIMAL:default:return Ia(ue,48,57,!0,et)}},en="data-html2canvas-ignore",fn=function(){function it(ue,Ee,Le){if(this.context=ue,this.options=Le,this.scrolledElements=[],this.referenceElement=Ee,this.counters=new ri,this.quoteDepth=0,!Ee.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ee.ownerDocument.documentElement)}return it.prototype.toIFrame=function(ue,Ee){var Le=this,et=kn(ue,Ee);if(!et.contentWindow)return Promise.reject("Unable to find iframe window");var jt=ue.defaultView.pageXOffset,Er=ue.defaultView.pageYOffset,jr=et.contentWindow,Jr=jr.document,hn=qi(et).then(function(){return p(Le,void 0,void 0,function(){var oi,Jn;return v(this,function(ci){switch(ci.label){case 0:return this.scrolledElements.forEach(no),jr&&(jr.scrollTo(Ee.left,Ee.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jr.scrollY!==Ee.top||jr.scrollX!==Ee.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jr.scrollX-Ee.left,jr.scrollY-Ee.top,0,0))),oi=this.options.onclone,Jn=this.clonedReferenceElement,typeof Jn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Jr.fonts&&Jr.fonts.ready?[4,Jr.fonts.ready]:[3,2];case 1:ci.sent(),ci.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ui(Jr)]:[3,4];case 3:ci.sent(),ci.label=4;case 4:return typeof oi=="function"?[2,Promise.resolve().then(function(){return oi(Jr,Jn)}).then(function(){return et})]:[2,et]}})})});return Jr.open(),Jr.write(Aa(document.doctype)+"<html></html>"),Ca(this.referenceElement.ownerDocument,jt,Er),Jr.replaceChild(Jr.adoptNode(this.documentElement),Jr.documentElement),Jr.close(),hn},it.prototype.createElementClone=function(ue){if(Bs(ue,2))debugger;if(vr(ue))return this.createCanvasClone(ue);if(dr(ue))return this.createStyleClone(ue);var Ee=ue.cloneNode(!1);return Ir(Ee)&&(Ir(ue)&&ue.currentSrc&&ue.currentSrc!==ue.src&&(Ee.src=ue.currentSrc,Ee.srcset=""),Ee.loading==="lazy"&&(Ee.loading="eager")),Ee},it.prototype.createStyleClone=function(ue){try{var Ee=ue.sheet;if(Ee&&Ee.cssRules){var Le=[].slice.call(Ee.cssRules,0).reduce(function(jt,Er){return Er&&typeof Er.cssText=="string"?jt+Er.cssText:jt},""),et=ue.cloneNode(!1);return et.textContent=Le,et}}catch(jt){if(this.context.logger.error("Unable to access cssRules property",jt),jt.name!=="SecurityError")throw jt}return ue.cloneNode(!1)},it.prototype.createCanvasClone=function(ue){var Ee;if(this.options.inlineImages&&ue.ownerDocument){var Le=ue.ownerDocument.createElement("img");try{return Le.src=ue.toDataURL(),Le}catch(hn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ue)}}var et=ue.cloneNode(!1);try{et.width=ue.width,et.height=ue.height;var jt=ue.getContext("2d"),Er=et.getContext("2d");if(Er)if(!this.options.allowTaint&&jt)Er.putImageData(jt.getImageData(0,0,ue.width,ue.height),0,0);else{var jr=(Ee=ue.getContext("webgl2"))!==null&&Ee!==void 0?Ee:ue.getContext("webgl");if(jr){var Jr=jr.getContextAttributes();(Jr==null?void 0:Jr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ue)}Er.drawImage(ue,0,0)}return et}catch(hn){this.context.logger.info("Unable to clone canvas as it is tainted",ue)}return et},it.prototype.cloneNode=function(ue){if(fr(ue))return document.createTextNode(ue.data);if(!ue.ownerDocument)return ue.cloneNode(!1);var Ee=ue.ownerDocument.defaultView;if(Ee&&_r(ue)&&(Ie(ue)||ee(ue))){var Le=this.createElementClone(ue);Le.style.transitionProperty="none";var et=Ee.getComputedStyle(ue),jt=Ee.getComputedStyle(ue,":before"),Er=Ee.getComputedStyle(ue,":after");this.referenceElement===ue&&Ie(Le)&&(this.clonedReferenceElement=Le),Mt(Le)&&Us(Le);for(var jr=this.counters.parse(new Xo(this.context,et)),Jr=this.resolvePseudoContent(ue,Le,jt,Fn.BEFORE),hn=ue.firstChild;hn;hn=hn.nextSibling)(!_r(hn)||!Cr(hn)&&!hn.hasAttribute(en)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(hn)))&&((!this.options.copyStyles||!_r(hn)||!dr(hn))&&Le.appendChild(this.cloneNode(hn)));Jr&&Le.insertBefore(Jr,Le.firstChild);var oi=this.resolvePseudoContent(ue,Le,Er,Fn.AFTER);return oi&&Le.appendChild(oi),this.counters.pop(jr),et&&(this.options.copyStyles||ee(ue))&&!gr(ue)&&Xi(et,Le),(ue.scrollTop!==0||ue.scrollLeft!==0)&&this.scrolledElements.push([Le,ue.scrollLeft,ue.scrollTop]),(Mr(ue)||on(ue))&&(Mr(Le)||on(Le))&&(Le.value=ue.value),Le}return ue.cloneNode(!1)},it.prototype.resolvePseudoContent=function(ue,Ee,Le,et){var jt=this;if(!Le)return;var Er=Le.content,jr=Ee.ownerDocument;if(!jr||!Er||Er==="none"||Er==="-moz-alt-content"||Le.display==="none")return;this.counters.parse(new Xo(this.context,Le));var Jr=new ps(this.context,Le),hn=jr.createElement("html2canvaspseudoelement");Xi(Le,hn),Jr.content.forEach(function(Jn){if(Jn.type===0)hn.appendChild(jr.createTextNode(Jn.value));else if(Jn.type===22){var ci=jr.createElement("img");ci.src=Jn.value,ci.style.opacity="1",hn.appendChild(ci)}else if(Jn.type===18){if(Jn.name==="attr"){var fa=Jn.values.filter(ar);fa.length&&hn.appendChild(jr.createTextNode(ue.getAttribute(fa[0].value)||""))}else if(Jn.name==="counter"){var pa=Jn.values.filter(an),Oa=pa[0],fo=pa[1];if(Oa&&ar(Oa)){var Qa=jt.counters.getCounterValue(Oa.value),za=fo&&ar(fo)?Ps.parse(jt.context,fo.value):Si.DECIMAL;hn.appendChild(jr.createTextNode(er(Qa,za,!1)))}}else if(Jn.name==="counters"){var Go=Jn.values.filter(an),Oa=Go[0],ns=Go[1],fo=Go[2];if(Oa&&ar(Oa)){var Po=jt.counters.getCounterValues(Oa.value),ja=fo&&ar(fo)?Ps.parse(jt.context,fo.value):Si.DECIMAL,ls=ns&&ns.type===0?ns.value:"",ds=Po.map(function(Ql){return er(Ql,ja,!1)}).join(ls);hn.appendChild(jr.createTextNode(ds))}}}else if(Jn.type===20)switch(Jn.value){case"open-quote":hn.appendChild(jr.createTextNode(Fs(Jr.quotes,jt.quoteDepth++,!0)));break;case"close-quote":hn.appendChild(jr.createTextNode(Fs(Jr.quotes,--jt.quoteDepth,!1)));break;default:hn.appendChild(jr.createTextNode(Jn.value))}}),hn.className=ko+" "+as;var oi=et===Fn.BEFORE?" "+ko:" "+as;return ee(Ee)?Ee.className.baseValue+=oi:Ee.className+=oi,hn},it.destroy=function(ue){return ue.parentNode?(ue.parentNode.removeChild(ue),!0):!1},it}(),Fn;(function(it){it[it.BEFORE=0]="BEFORE",it[it.AFTER=1]="AFTER"})(Fn||(Fn={}));var kn=function(ue,Ee){var Le=ue.createElement("iframe");return Le.className="html2canvas-container",Le.style.visibility="hidden",Le.style.position="fixed",Le.style.left="-10000px",Le.style.top="0px",Le.style.border="0",Le.width=Ee.width.toString(),Le.height=Ee.height.toString(),Le.scrolling="no",Le.setAttribute(en,"true"),ue.body.appendChild(Le),Le},Ai=function(ue){return new Promise(function(Ee){if(ue.complete){Ee();return}if(!ue.src){Ee();return}ue.onload=Ee,ue.onerror=Ee})},Ui=function(ue){return Promise.all([].slice.call(ue.images,0).map(Ai))},qi=function(ue){return new Promise(function(Ee,Le){var et=ue.contentWindow;if(!et)return Le("No window assigned for iframe");var jt=et.document;et.onload=ue.onload=function(){et.onload=ue.onload=null;var Er=setInterval(function(){jt.body.childNodes.length>0&&jt.readyState==="complete"&&(clearInterval(Er),Ee(ue))},50)}})},Zi=["all","d","content"],Xi=function(ue,Ee){for(var Le=ue.length-1;Le>=0;Le--){var et=ue.item(Le);Zi.indexOf(et)===-1&&Ee.style.setProperty(et,ue.getPropertyValue(et))}return Ee},Aa=function(ue){var Ee="";return ue&&(Ee+="<!DOCTYPE ",ue.name&&(Ee+=ue.name),ue.internalSubset&&(Ee+=ue.internalSubset),ue.publicId&&(Ee+='"'+ue.publicId+'"'),ue.systemId&&(Ee+='"'+ue.systemId+'"'),Ee+=">"),Ee},Ca=function(ue,Ee,Le){ue&&ue.defaultView&&(Ee!==ue.defaultView.pageXOffset||Le!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(Ee,Le)},no=function(ue){var Ee=ue[0],Le=ue[1],et=ue[2];Ee.scrollLeft=Le,Ee.scrollTop=et},Wa=":before",So=":after",ko="___html2canvas___pseudoelement_before",as="___html2canvas___pseudoelement_after",es=`{
content: "" !important;
display: none !important;
}`,Us=function(ue){ol(ue,"."+ko+Wa+es+`
.`+as+So+es)},ol=function(ue,Ee){var Le=ue.ownerDocument;if(Le){var et=Le.createElement("style");et.textContent=Ee,ue.appendChild(et)}},Cs=function(){function it(){}return it.getOrigin=function(ue){var Ee=it._link;return Ee?(Ee.href=ue,Ee.href=Ee.href,Ee.protocol+Ee.hostname+Ee.port):"about:blank"},it.isSameOrigin=function(ue){return it.getOrigin(ue)===it._origin},it.setContext=function(ue){it._link=ue.document.createElement("a"),it._origin=it.getOrigin(ue.location.href)},it._origin="about:blank",it}(),sl=function(){function it(ue,Ee){this.context=ue,this._options=Ee,this._cache={}}return it.prototype.addImage=function(ue){var Ee=Promise.resolve();return this.has(ue)||(bl(ue)||gs(ue))&&(this._cache[ue]=this.loadImage(ue)).catch(function(){}),Ee},it.prototype.match=function(ue){return this._cache[ue]},it.prototype.loadImage=function(ue){return p(this,void 0,void 0,function(){var Ee,Le,et,jt,Er=this;return v(this,function(jr){switch(jr.label){case 0:return Ee=Cs.isSameOrigin(ue),Le=!il(ue)&&this._options.useCORS===!0&&ms.SUPPORT_CORS_IMAGES&&!Ee,et=!il(ue)&&!Ee&&!bl(ue)&&typeof this._options.proxy=="string"&&ms.SUPPORT_CORS_XHR&&!Le,!Ee&&this._options.allowTaint===!1&&!il(ue)&&!bl(ue)&&!et&&!Le?[2]:(jt=ue,et?[4,this.proxy(jt)]:[3,2]);case 1:jt=jr.sent(),jr.label=2;case 2:return this.context.logger.debug("Added image "+ue.substring(0,256)),[4,new Promise(function(Jr,hn){var oi=new Image;oi.onload=function(){return Jr(oi)},oi.onerror=hn,(gc(jt)||Le)&&(oi.crossOrigin="anonymous"),oi.src=jt,oi.complete===!0&&setTimeout(function(){return Jr(oi)},500),Er._options.imageTimeout>0&&setTimeout(function(){return hn("Timed out ("+Er._options.imageTimeout+"ms) loading image")},Er._options.imageTimeout)})];case 3:return[2,jr.sent()]}})})},it.prototype.has=function(ue){return typeof this._cache[ue]!="undefined"},it.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},it.prototype.proxy=function(ue){var Ee=this,Le=this._options.proxy;if(!Le)throw new Error("No proxy defined");var et=ue.substring(0,256);return new Promise(function(jt,Er){var jr=ms.SUPPORT_RESPONSE_TYPE?"blob":"text",Jr=new XMLHttpRequest;Jr.onload=function(){if(Jr.status===200)if(jr==="text")jt(Jr.response);else{var Jn=new FileReader;Jn.addEventListener("load",function(){return jt(Jn.result)},!1),Jn.addEventListener("error",function(ci){return Er(ci)},!1),Jn.readAsDataURL(Jr.response)}else Er("Failed to proxy resource "+et+" with status code "+Jr.status)},Jr.onerror=Er;var hn=Le.indexOf("?")>-1?"&":"?";if(Jr.open("GET",""+Le+hn+"url="+encodeURIComponent(ue)+"&responseType="+jr),jr!=="text"&&Jr instanceof XMLHttpRequest&&(Jr.responseType=jr),Ee._options.imageTimeout){var oi=Ee._options.imageTimeout;Jr.timeout=oi,Jr.ontimeout=function(){return Er("Timed out ("+oi+"ms) proxying "+et)}}Jr.send()})},it}(),js=/^data:image\/svg\+xml/i,ks=/^data:image\/.*;base64,/i,Is=/^data:image\/.*/i,gs=function(ue){return ms.SUPPORT_SVG_DRAWING||!Os(ue)},il=function(ue){return Is.test(ue)},gc=function(ue){return ks.test(ue)},bl=function(ue){return ue.substr(0,4)==="blob"},Os=function(ue){return ue.substr(-3).toLowerCase()==="svg"||js.test(ue)},gl;(function(it){it[it.VECTOR=0]="VECTOR",it[it.BEZIER_CURVE=1]="BEZIER_CURVE"})(gl||(gl={}));var Ws=function(ue,Ee){return ue.length===Ee.length?ue.some(function(Le,et){return Le===Ee[et]}):!1},tu=function(ue,Ee,Le,et,jt){return ue.map(function(Er,jr){switch(jr){case 0:return Er.add(Ee,Le);case 1:return Er.add(Ee+et,Le);case 2:return Er.add(Ee+et,Le+jt);case 3:return Er.add(Ee,Le+jt)}return Er})},xa=function(){function it(ue,Ee){this.type=gl.VECTOR,this.x=ue,this.y=Ee}return it.prototype.add=function(ue,Ee){return new it(this.x+ue,this.y+Ee)},it}(),hl=function(ue,Ee,Le){return new xa(ue.x+(Ee.x-ue.x)*Le,ue.y+(Ee.y-ue.y)*Le)},Tl=function(){function it(ue,Ee,Le,et){this.type=gl.BEZIER_CURVE,this.start=ue,this.startControl=Ee,this.endControl=Le,this.end=et}return it.prototype.subdivide=function(ue,Ee){var Le=hl(this.start,this.startControl,ue),et=hl(this.startControl,this.endControl,ue),jt=hl(this.endControl,this.end,ue),Er=hl(Le,et,ue),jr=hl(et,jt,ue),Jr=hl(Er,jr,ue);return Ee?new it(this.start,Le,Er,Jr):new it(Jr,jr,jt,this.end)},it.prototype.add=function(ue,Ee){return new it(this.start.add(ue,Ee),this.startControl.add(ue,Ee),this.endControl.add(ue,Ee),this.end.add(ue,Ee))},it.prototype.reverse=function(){return new it(this.end,this.endControl,this.startControl,this.start)},it}(),us=function(ue){return ue.type===gl.BEZIER_CURVE},jl=function(){function it(ue){var Ee=ue.styles,Le=ue.bounds,et=Qn(Ee.borderTopLeftRadius,Le.width,Le.height),jt=et[0],Er=et[1],jr=Qn(Ee.borderTopRightRadius,Le.width,Le.height),Jr=jr[0],hn=jr[1],oi=Qn(Ee.borderBottomRightRadius,Le.width,Le.height),Jn=oi[0],ci=oi[1],fa=Qn(Ee.borderBottomLeftRadius,Le.width,Le.height),pa=fa[0],Oa=fa[1],fo=[];fo.push((jt+Jr)/Le.width),fo.push((pa+Jn)/Le.width),fo.push((Er+Oa)/Le.height),fo.push((hn+ci)/Le.height);var Qa=Math.max.apply(Math,fo);Qa>1&&(jt/=Qa,Er/=Qa,Jr/=Qa,hn/=Qa,Jn/=Qa,ci/=Qa,pa/=Qa,Oa/=Qa);var za=Le.width-Jr,Go=Le.height-ci,ns=Le.width-Jn,Po=Le.height-Oa,ja=Ee.borderTopWidth,ls=Ee.borderRightWidth,ds=Ee.borderBottomWidth,Uo=Ee.borderLeftWidth,Ml=qn(Ee.paddingTop,ue.bounds.width),Ql=qn(Ee.paddingRight,ue.bounds.width),Fl=qn(Ee.paddingBottom,ue.bounds.width),fl=qn(Ee.paddingLeft,ue.bounds.width);this.topLeftBorderDoubleOuterBox=jt>0||Er>0?bs(Le.left+Uo/3,Le.top+ja/3,jt-Uo/3,Er-ja/3,$o.TOP_LEFT):new xa(Le.left+Uo/3,Le.top+ja/3),this.topRightBorderDoubleOuterBox=jt>0||Er>0?bs(Le.left+za,Le.top+ja/3,Jr-ls/3,hn-ja/3,$o.TOP_RIGHT):new xa(Le.left+Le.width-ls/3,Le.top+ja/3),this.bottomRightBorderDoubleOuterBox=Jn>0||ci>0?bs(Le.left+ns,Le.top+Go,Jn-ls/3,ci-ds/3,$o.BOTTOM_RIGHT):new xa(Le.left+Le.width-ls/3,Le.top+Le.height-ds/3),this.bottomLeftBorderDoubleOuterBox=pa>0||Oa>0?bs(Le.left+Uo/3,Le.top+Po,pa-Uo/3,Oa-ds/3,$o.BOTTOM_LEFT):new xa(Le.left+Uo/3,Le.top+Le.height-ds/3),this.topLeftBorderDoubleInnerBox=jt>0||Er>0?bs(Le.left+Uo*2/3,Le.top+ja*2/3,jt-Uo*2/3,Er-ja*2/3,$o.TOP_LEFT):new xa(Le.left+Uo*2/3,Le.top+ja*2/3),this.topRightBorderDoubleInnerBox=jt>0||Er>0?bs(Le.left+za,Le.top+ja*2/3,Jr-ls*2/3,hn-ja*2/3,$o.TOP_RIGHT):new xa(Le.left+Le.width-ls*2/3,Le.top+ja*2/3),this.bottomRightBorderDoubleInnerBox=Jn>0||ci>0?bs(Le.left+ns,Le.top+Go,Jn-ls*2/3,ci-ds*2/3,$o.BOTTOM_RIGHT):new xa(Le.left+Le.width-ls*2/3,Le.top+Le.height-ds*2/3),this.bottomLeftBorderDoubleInnerBox=pa>0||Oa>0?bs(Le.left+Uo*2/3,Le.top+Po,pa-Uo*2/3,Oa-ds*2/3,$o.BOTTOM_LEFT):new xa(Le.left+Uo*2/3,Le.top+Le.height-ds*2/3),this.topLeftBorderStroke=jt>0||Er>0?bs(Le.left+Uo/2,Le.top+ja/2,jt-Uo/2,Er-ja/2,$o.TOP_LEFT):new xa(Le.left+Uo/2,Le.top+ja/2),this.topRightBorderStroke=jt>0||Er>0?bs(Le.left+za,Le.top+ja/2,Jr-ls/2,hn-ja/2,$o.TOP_RIGHT):new xa(Le.left+Le.width-ls/2,Le.top+ja/2),this.bottomRightBorderStroke=Jn>0||ci>0?bs(Le.left+ns,Le.top+Go,Jn-ls/2,ci-ds/2,$o.BOTTOM_RIGHT):new xa(Le.left+Le.width-ls/2,Le.top+Le.height-ds/2),this.bottomLeftBorderStroke=pa>0||Oa>0?bs(Le.left+Uo/2,Le.top+Po,pa-Uo/2,Oa-ds/2,$o.BOTTOM_LEFT):new xa(Le.left+Uo/2,Le.top+Le.height-ds/2),this.topLeftBorderBox=jt>0||Er>0?bs(Le.left,Le.top,jt,Er,$o.TOP_LEFT):new xa(Le.left,Le.top),this.topRightBorderBox=Jr>0||hn>0?bs(Le.left+za,Le.top,Jr,hn,$o.TOP_RIGHT):new xa(Le.left+Le.width,Le.top),this.bottomRightBorderBox=Jn>0||ci>0?bs(Le.left+ns,Le.top+Go,Jn,ci,$o.BOTTOM_RIGHT):new xa(Le.left+Le.width,Le.top+Le.height),this.bottomLeftBorderBox=pa>0||Oa>0?bs(Le.left,Le.top+Po,pa,Oa,$o.BOTTOM_LEFT):new xa(Le.left,Le.top+Le.height),this.topLeftPaddingBox=jt>0||Er>0?bs(Le.left+Uo,Le.top+ja,Math.max(0,jt-Uo),Math.max(0,Er-ja),$o.TOP_LEFT):new xa(Le.left+Uo,Le.top+ja),this.topRightPaddingBox=Jr>0||hn>0?bs(Le.left+Math.min(za,Le.width-ls),Le.top+ja,za>Le.width+ls?0:Math.max(0,Jr-ls),Math.max(0,hn-ja),$o.TOP_RIGHT):new xa(Le.left+Le.width-ls,Le.top+ja),this.bottomRightPaddingBox=Jn>0||ci>0?bs(Le.left+Math.min(ns,Le.width-Uo),Le.top+Math.min(Go,Le.height-ds),Math.max(0,Jn-ls),Math.max(0,ci-ds),$o.BOTTOM_RIGHT):new xa(Le.left+Le.width-ls,Le.top+Le.height-ds),this.bottomLeftPaddingBox=pa>0||Oa>0?bs(Le.left+Uo,Le.top+Math.min(Po,Le.height-ds),Math.max(0,pa-Uo),Math.max(0,Oa-ds),$o.BOTTOM_LEFT):new xa(Le.left+Uo,Le.top+Le.height-ds),this.topLeftContentBox=jt>0||Er>0?bs(Le.left+Uo+fl,Le.top+ja+Ml,Math.max(0,jt-(Uo+fl)),Math.max(0,Er-(ja+Ml)),$o.TOP_LEFT):new xa(Le.left+Uo+fl,Le.top+ja+Ml),this.topRightContentBox=Jr>0||hn>0?bs(Le.left+Math.min(za,Le.width+Uo+fl),Le.top+ja+Ml,za>Le.width+Uo+fl?0:Jr-Uo+fl,hn-(ja+Ml),$o.TOP_RIGHT):new xa(Le.left+Le.width-(ls+Ql),Le.top+ja+Ml),this.bottomRightContentBox=Jn>0||ci>0?bs(Le.left+Math.min(ns,Le.width-(Uo+fl)),Le.top+Math.min(Go,Le.height+ja+Ml),Math.max(0,Jn-(ls+Ql)),ci-(ds+Fl),$o.BOTTOM_RIGHT):new xa(Le.left+Le.width-(ls+Ql),Le.top+Le.height-(ds+Fl)),this.bottomLeftContentBox=pa>0||Oa>0?bs(Le.left+Uo+fl,Le.top+Po,Math.max(0,pa-(Uo+fl)),Oa-(ds+Fl),$o.BOTTOM_LEFT):new xa(Le.left+Uo+fl,Le.top+Le.height-(ds+Fl))}return it}(),$o;(function(it){it[it.TOP_LEFT=0]="TOP_LEFT",it[it.TOP_RIGHT=1]="TOP_RIGHT",it[it.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",it[it.BOTTOM_LEFT=3]="BOTTOM_LEFT"})($o||($o={}));var bs=function(ue,Ee,Le,et,jt){var Er=4*((Math.sqrt(2)-1)/3),jr=Le*Er,Jr=et*Er,hn=ue+Le,oi=Ee+et;switch(jt){case $o.TOP_LEFT:return new Tl(new xa(ue,oi),new xa(ue,oi-Jr),new xa(hn-jr,Ee),new xa(hn,Ee));case $o.TOP_RIGHT:return new Tl(new xa(ue,Ee),new xa(ue+jr,Ee),new xa(hn,oi-Jr),new xa(hn,oi));case $o.BOTTOM_RIGHT:return new Tl(new xa(hn,Ee),new xa(hn,Ee+Jr),new xa(ue+jr,oi),new xa(ue,oi));case $o.BOTTOM_LEFT:default:return new Tl(new xa(hn,oi),new xa(hn-jr,oi),new xa(ue,Ee+Jr),new xa(ue,Ee))}},ru=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},xu=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},Nc=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},wu=function(){function it(ue,Ee,Le){this.offsetX=ue,this.offsetY=Ee,this.matrix=Le,this.type=0,this.target=2|4}return it}(),Vc=function(){function it(ue,Ee){this.path=ue,this.target=Ee,this.type=1}return it}(),Ac=function(){function it(ue){this.opacity=ue,this.type=2,this.target=2|4}return it}(),Su=function(ue){return ue.type===0},fu=function(ue){return ue.type===1},Eu=function(ue){return ue.type===2},pu=function(){function it(ue){this.element=ue,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return it}(),Dc=function(){function it(ue,Ee){if(this.container=ue,this.parent=Ee,this.effects=[],this.curves=new jl(this.container),this.container.styles.opacity<1&&this.effects.push(new Ac(this.container.styles.opacity)),this.container.styles.transform!==null){var Le=this.container.bounds.left+this.container.styles.transformOrigin[0].number,et=this.container.bounds.top+this.container.styles.transformOrigin[1].number,jt=this.container.styles.transform;this.effects.push(new wu(Le,et,jt))}if(this.container.styles.overflowX!==Zo.VISIBLE){var Er=ru(this.curves),jr=Nc(this.curves);Ws(Er,jr)?this.effects.push(new Vc(Er,2|4)):(this.effects.push(new Vc(Er,2)),this.effects.push(new Vc(jr,4)))}}return it.prototype.getEffects=function(ue){for(var Ee=[Ot.ABSOLUTE,Ot.FIXED].indexOf(this.container.styles.position)===-1,Le=this.parent,et=this.effects.slice(0);Le;){var jt=Le.effects.filter(function(Jr){return!fu(Jr)});if(Ee||Le.container.styles.position!==Ot.STATIC||!Le.parent){if(et.unshift.apply(et,jt),Ee=[Ot.ABSOLUTE,Ot.FIXED].indexOf(Le.container.styles.position)===-1,Le.container.styles.overflowX!==Zo.VISIBLE){var Er=ru(Le.curves),jr=Nc(Le.curves);Ws(Er,jr)||et.unshift(new Vc(jr,2|4))}}else et.unshift.apply(et,jt);Le=Le.parent}return et.filter(function(Jr){return Ja(Jr.target,ue)})},it}(),Cu=function it(ue,Ee,Le,et){ue.container.elements.forEach(function(jt){var Er=Ja(jt.flags,4),jr=Ja(jt.flags,2),Jr=new Dc(jt,ue);Ja(jt.styles.display,2048)&&et.push(Jr);var hn=Ja(jt.flags,8)?[]:et;if(Er||jr){var oi=Er||jt.styles.isPositioned()?Le:Ee,Jn=new pu(Jr);if(jt.styles.isPositioned()||jt.styles.opacity<1||jt.styles.isTransformed()){var ci=jt.styles.zIndex.order;if(ci<0){var fa=0;oi.negativeZIndex.some(function(Oa,fo){return ci>Oa.element.container.styles.zIndex.order?(fa=fo,!1):fa>0}),oi.negativeZIndex.splice(fa,0,Jn)}else if(ci>0){var pa=0;oi.positiveZIndex.some(function(Oa,fo){return ci>=Oa.element.container.styles.zIndex.order?(pa=fo+1,!1):pa>0}),oi.positiveZIndex.splice(pa,0,Jn)}else oi.zeroOrAutoZIndexOrTransformedOrOpacity.push(Jn)}else jt.styles.isFloating()?oi.nonPositionedFloats.push(Jn):oi.nonPositionedInlineLevel.push(Jn);it(Jr,Jn,Er?Jn:Le,hn)}else jt.styles.isInlineLevel()?Ee.inlineLevel.push(Jr):Ee.nonInlineLevel.push(Jr),it(Jr,Ee,Le,hn);Ja(jt.flags,8)&&mu(jt,hn)})},mu=function(ue,Ee){for(var Le=ue instanceof Ul?ue.start:1,et=ue instanceof Ul?ue.reversed:!1,jt=0;jt<Ee.length;jt++){var Er=Ee[jt];Er.container instanceof Wl&&typeof Er.container.value=="number"&&Er.container.value!==0&&(Le=Er.container.value),Er.listValue=er(Le,Er.container.styles.listStyleType,!0),Le+=et?-1:1}},_u=function(ue){var Ee=new Dc(ue,null),Le=new pu(Ee),et=[];return Cu(Ee,Le,Le,et),mu(Ee.container,et),Le},gu=function(ue,Ee){switch(Ee){case 0:return tl(ue.topLeftBorderBox,ue.topLeftPaddingBox,ue.topRightBorderBox,ue.topRightPaddingBox);case 1:return tl(ue.topRightBorderBox,ue.topRightPaddingBox,ue.bottomRightBorderBox,ue.bottomRightPaddingBox);case 2:return tl(ue.bottomRightBorderBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox);case 3:default:return tl(ue.bottomLeftBorderBox,ue.bottomLeftPaddingBox,ue.topLeftBorderBox,ue.topLeftPaddingBox)}},Tu=function(ue,Ee){switch(Ee){case 0:return tl(ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox,ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox);case 1:return tl(ue.topRightBorderBox,ue.topRightBorderDoubleOuterBox,ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox);case 2:return tl(ue.bottomRightBorderBox,ue.bottomRightBorderDoubleOuterBox,ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox);case 3:default:return tl(ue.bottomLeftBorderBox,ue.bottomLeftBorderDoubleOuterBox,ue.topLeftBorderBox,ue.topLeftBorderDoubleOuterBox)}},nu=function(ue,Ee){switch(Ee){case 0:return tl(ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox,ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox);case 1:return tl(ue.topRightBorderDoubleInnerBox,ue.topRightPaddingBox,ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox);case 2:return tl(ue.bottomRightBorderDoubleInnerBox,ue.bottomRightPaddingBox,ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox);case 3:default:return tl(ue.bottomLeftBorderDoubleInnerBox,ue.bottomLeftPaddingBox,ue.topLeftBorderDoubleInnerBox,ue.topLeftPaddingBox)}},Au=function(ue,Ee){switch(Ee){case 0:return Rc(ue.topLeftBorderStroke,ue.topRightBorderStroke);case 1:return Rc(ue.topRightBorderStroke,ue.bottomRightBorderStroke);case 2:return Rc(ue.bottomRightBorderStroke,ue.bottomLeftBorderStroke);case 3:default:return Rc(ue.bottomLeftBorderStroke,ue.topLeftBorderStroke)}},Rc=function(ue,Ee){var Le=[];return us(ue)?Le.push(ue.subdivide(.5,!1)):Le.push(ue),us(Ee)?Le.push(Ee.subdivide(.5,!0)):Le.push(Ee),Le},tl=function(ue,Ee,Le,et){var jt=[];return us(ue)?jt.push(ue.subdivide(.5,!1)):jt.push(ue),us(Le)?jt.push(Le.subdivide(.5,!0)):jt.push(Le),us(et)?jt.push(et.subdivide(.5,!0).reverse()):jt.push(et),us(Ee)?jt.push(Ee.subdivide(.5,!1).reverse()):jt.push(Ee),jt},oc=function(ue){var Ee=ue.bounds,Le=ue.styles;return Ee.add(Le.borderLeftWidth,Le.borderTopWidth,-(Le.borderRightWidth+Le.borderLeftWidth),-(Le.borderTopWidth+Le.borderBottomWidth))},Hl=function(ue){var Ee=ue.styles,Le=ue.bounds,et=qn(Ee.paddingLeft,Le.width),jt=qn(Ee.paddingRight,Le.width),Er=qn(Ee.paddingTop,Le.width),jr=qn(Ee.paddingBottom,Le.width);return Le.add(et+Ee.borderLeftWidth,Er+Ee.borderTopWidth,-(Ee.borderRightWidth+Ee.borderLeftWidth+et+jt),-(Ee.borderTopWidth+Ee.borderBottomWidth+Er+jr))},cu=function(ue,Ee){return ue===0?Ee.bounds:ue===2?Hl(Ee):oc(Ee)},vu=function(ue,Ee){return ue===dn.BORDER_BOX?Ee.bounds:ue===dn.CONTENT_BOX?Hl(Ee):oc(Ee)},uu=function(ue,Ee,Le){var et=cu(du(ue.styles.backgroundOrigin,Ee),ue),jt=vu(du(ue.styles.backgroundClip,Ee),ue),Er=yu(du(ue.styles.backgroundSize,Ee),Le,et),jr=Er[0],Jr=Er[1],hn=Qn(du(ue.styles.backgroundPosition,Ee),et.width-jr,et.height-Jr),oi=Lu(du(ue.styles.backgroundRepeat,Ee),hn,Er,et,jt),Jn=Math.round(et.left+hn[0]),ci=Math.round(et.top+hn[1]);return[oi,Jn,ci,jr,Jr]},Xc=function(ue){return ar(ue)&&ue.value===Ma.AUTO},Gc=function(ue){return typeof ue=="number"},yu=function(ue,Ee,Le){var et=Ee[0],jt=Ee[1],Er=Ee[2],jr=ue[0],Jr=ue[1];if(!jr)return[0,0];if(Nn(jr)&&Jr&&Nn(Jr))return[qn(jr,Le.width),qn(Jr,Le.height)];var hn=Gc(Er);if(ar(jr)&&(jr.value===Ma.CONTAIN||jr.value===Ma.COVER)){if(Gc(Er)){var oi=Le.width/Le.height;return oi<Er!==(jr.value===Ma.COVER)?[Le.width,Le.width/Er]:[Le.height*Er,Le.height]}return[Le.width,Le.height]}var Jn=Gc(et),ci=Gc(jt),fa=Jn||ci;if(Xc(jr)&&(!Jr||Xc(Jr))){if(Jn&&ci)return[et,jt];if(!hn&&!fa)return[Le.width,Le.height];if(fa&&hn){var pa=Jn?et:jt*Er,Oa=ci?jt:et/Er;return[pa,Oa]}var fo=Jn?et:Le.width,Qa=ci?jt:Le.height;return[fo,Qa]}if(hn){var za=0,Go=0;return Nn(jr)?za=qn(jr,Le.width):Nn(Jr)&&(Go=qn(Jr,Le.height)),Xc(jr)?za=Go*Er:(!Jr||Xc(Jr))&&(Go=za/Er),[za,Go]}var ns=null,Po=null;if(Nn(jr)?ns=qn(jr,Le.width):Jr&&Nn(Jr)&&(Po=qn(Jr,Le.height)),ns!==null&&(!Jr||Xc(Jr))&&(Po=Jn&&ci?ns/et*jt:Le.height),Po!==null&&Xc(jr)&&(ns=Jn&&ci?Po/jt*et:Le.width),ns!==null&&Po!==null)return[ns,Po];throw new Error("Unable to calculate background-size for element")},du=function(ue,Ee){var Le=ue[Ee];return typeof Le=="undefined"?ue[0]:Le},Lu=function(ue,Ee,Le,et,jt){var Er=Ee[0],jr=Ee[1],Jr=Le[0],hn=Le[1];switch(ue){case Ua.REPEAT_X:return[new xa(Math.round(et.left),Math.round(et.top+jr)),new xa(Math.round(et.left+et.width),Math.round(et.top+jr)),new xa(Math.round(et.left+et.width),Math.round(hn+et.top+jr)),new xa(Math.round(et.left),Math.round(hn+et.top+jr))];case Ua.REPEAT_Y:return[new xa(Math.round(et.left+Er),Math.round(et.top)),new xa(Math.round(et.left+Er+Jr),Math.round(et.top)),new xa(Math.round(et.left+Er+Jr),Math.round(et.height+et.top)),new xa(Math.round(et.left+Er),Math.round(et.height+et.top))];case Ua.NO_REPEAT:return[new xa(Math.round(et.left+Er),Math.round(et.top+jr)),new xa(Math.round(et.left+Er+Jr),Math.round(et.top+jr)),new xa(Math.round(et.left+Er+Jr),Math.round(et.top+jr+hn)),new xa(Math.round(et.left+Er),Math.round(et.top+jr+hn))];default:return[new xa(Math.round(jt.left),Math.round(jt.top)),new xa(Math.round(jt.left+jt.width),Math.round(jt.top)),new xa(Math.round(jt.left+jt.width),Math.round(jt.height+jt.top)),new xa(Math.round(jt.left),Math.round(jt.height+jt.top))]}},Nu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Iu="Hidden Text",Du=function(){function it(ue){this._data={},this._document=ue}return it.prototype.parseMetrics=function(ue,Ee){var Le=this._document.createElement("div"),et=this._document.createElement("img"),jt=this._document.createElement("span"),Er=this._document.body;Le.style.visibility="hidden",Le.style.fontFamily=ue,Le.style.fontSize=Ee,Le.style.margin="0",Le.style.padding="0",Er.appendChild(Le),et.src=Nu,et.width=1,et.height=1,et.style.margin="0",et.style.padding="0",et.style.verticalAlign="baseline",jt.style.fontFamily=ue,jt.style.fontSize=Ee,jt.style.margin="0",jt.style.padding="0",jt.appendChild(this._document.createTextNode(Iu)),Le.appendChild(jt),Le.appendChild(et);var jr=et.offsetTop-jt.offsetTop+2;Le.removeChild(jt),Le.appendChild(this._document.createTextNode(Iu)),Le.style.lineHeight="normal",et.style.verticalAlign="super";var Jr=et.offsetTop-Le.offsetTop+2;return Er.removeChild(Le),{baseline:jr,middle:Jr}},it.prototype.getMetrics=function(ue,Ee){var Le=ue+" "+Ee;return typeof this._data[Le]=="undefined"&&(this._data[Le]=this.parseMetrics(ue,Ee)),this._data[Le]},it}(),Ou=function(){function it(ue,Ee){this.context=ue,this.options=Ee}return it}(),Ru=1e4,Mu=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et._activeEffects=[],et.canvas=Le.canvas?Le.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),Le.canvas||(et.canvas.width=Math.floor(Le.width*Le.scale),et.canvas.height=Math.floor(Le.height*Le.scale),et.canvas.style.width=Le.width+"px",et.canvas.style.height=Le.height+"px"),et.fontMetrics=new Du(document),et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-Le.x,-Le.y),et.ctx.textBaseline="bottom",et._activeEffects=[],et.context.logger.debug("Canvas renderer initialized ("+Le.width+"x"+Le.height+") with scale "+Le.scale),et}return ue.prototype.applyEffects=function(Ee){for(var Le=this;this._activeEffects.length;)this.popEffect();Ee.forEach(function(et){return Le.applyEffect(et)})},ue.prototype.applyEffect=function(Ee){this.ctx.save(),Eu(Ee)&&(this.ctx.globalAlpha=Ee.opacity),Su(Ee)&&(this.ctx.translate(Ee.offsetX,Ee.offsetY),this.ctx.transform(Ee.matrix[0],Ee.matrix[1],Ee.matrix[2],Ee.matrix[3],Ee.matrix[4],Ee.matrix[5]),this.ctx.translate(-Ee.offsetX,-Ee.offsetY)),fu(Ee)&&(this.path(Ee.path),this.ctx.clip()),this._activeEffects.push(Ee)},ue.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},ue.prototype.renderStack=function(Ee){return p(this,void 0,void 0,function(){var Le;return v(this,function(et){switch(et.label){case 0:return Le=Ee.element.container.styles,Le.isVisible()?[4,this.renderStackContent(Ee)]:[3,2];case 1:et.sent(),et.label=2;case 2:return[2]}})})},ue.prototype.renderNode=function(Ee){return p(this,void 0,void 0,function(){return v(this,function(Le){switch(Le.label){case 0:if(Ja(Ee.container.flags,16))debugger;return Ee.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ee)]:[3,3];case 1:return Le.sent(),[4,this.renderNodeContent(Ee)];case 2:Le.sent(),Le.label=3;case 3:return[2]}})})},ue.prototype.renderTextWithLetterSpacing=function(Ee,Le,et){var jt=this;if(Le===0)this.ctx.fillText(Ee.text,Ee.bounds.left,Ee.bounds.top+et);else{var Er=Dl(Ee.text);Er.reduce(function(jr,Jr){return jt.ctx.fillText(Jr,jr,Ee.bounds.top+et),jr+jt.ctx.measureText(Jr).width},Ee.bounds.left)}},ue.prototype.createFontStyle=function(Ee){var Le=Ee.fontVariant.filter(function(Er){return Er==="normal"||Er==="small-caps"}).join(""),et=Ee.fontFamily.join(", "),jt=Dt(Ee.fontSize)?""+Ee.fontSize.number+Ee.fontSize.unit:Ee.fontSize.number+"px";return[[Ee.fontStyle,Le,Ee.fontWeight,jt,et].join(" "),et,jt]},ue.prototype.renderTextNode=function(Ee,Le){return p(this,void 0,void 0,function(){var et,jt,Er,jr,Jr,hn,oi,Jn,ci=this;return v(this,function(fa){return et=this.createFontStyle(Le),jt=et[0],Er=et[1],jr=et[2],this.ctx.font=jt,this.ctx.direction=Le.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Jr=this.fontMetrics.getMetrics(Er,jr),hn=Jr.baseline,oi=Jr.middle,Jn=Le.paintOrder,Ee.textBounds.forEach(function(pa){Jn.forEach(function(Oa){switch(Oa){case Fo.FILL:ci.ctx.fillStyle=mr(Le.color),ci.renderTextWithLetterSpacing(pa,Le.letterSpacing,hn);var fo=Le.textShadow;fo.length&&pa.text.trim().length&&(fo.slice(0).reverse().forEach(function(Qa){ci.ctx.shadowColor=mr(Qa.color),ci.ctx.shadowOffsetX=Qa.offsetX.number*ci.options.scale,ci.ctx.shadowOffsetY=Qa.offsetY.number*ci.options.scale,ci.ctx.shadowBlur=Qa.blur.number,ci.renderTextWithLetterSpacing(pa,Le.letterSpacing,hn)}),ci.ctx.shadowColor="",ci.ctx.shadowOffsetX=0,ci.ctx.shadowOffsetY=0,ci.ctx.shadowBlur=0),Le.textDecorationLine.length&&(ci.ctx.fillStyle=mr(Le.textDecorationColor||Le.color),Le.textDecorationLine.forEach(function(Qa){switch(Qa){case 1:ci.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top+hn),pa.bounds.width,1);break;case 2:ci.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top),pa.bounds.width,1);break;case 3:ci.ctx.fillRect(pa.bounds.left,Math.ceil(pa.bounds.top+oi),pa.bounds.width,1);break}}));break;case Fo.STROKE:Le.webkitTextStrokeWidth&&pa.text.trim().length&&(ci.ctx.strokeStyle=mr(Le.webkitTextStrokeColor),ci.ctx.lineWidth=Le.webkitTextStrokeWidth,ci.ctx.lineJoin=window.chrome?"miter":"round",ci.ctx.strokeText(pa.text,pa.bounds.left,pa.bounds.top+hn)),ci.ctx.strokeStyle="",ci.ctx.lineWidth=0,ci.ctx.lineJoin="miter";break}})}),[2]})})},ue.prototype.renderReplacedElement=function(Ee,Le,et){if(et&&Ee.intrinsicWidth>0&&Ee.intrinsicHeight>0){var jt=Hl(Ee),Er=Nc(Le);this.path(Er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(et,0,0,Ee.intrinsicWidth,Ee.intrinsicHeight,jt.left,jt.top,jt.width,jt.height),this.ctx.restore()}},ue.prototype.renderNodeContent=function(Ee){return p(this,void 0,void 0,function(){var Le,et,jt,Er,jr,Jr,hn,hn,oi,Jn,ci,fa,pa,Oa,fo,Qa,za,Go,ns,hn,Po,pa,Qa;return v(this,function(ja){switch(ja.label){case 0:this.applyEffects(Ee.getEffects(4)),Le=Ee.container,et=Ee.curves,jt=Le.styles,Er=0,jr=Le.textNodes,ja.label=1;case 1:return Er<jr.length?(Jr=jr[Er],[4,this.renderTextNode(Jr,jt)]):[3,4];case 2:ja.sent(),ja.label=3;case 3:return Er++,[3,1];case 4:if(!(Le instanceof fc))return[3,8];ja.label=5;case 5:return ja.trys.push([5,7,,8]),[4,this.context.cache.match(Le.src)];case 6:return hn=ja.sent(),this.renderReplacedElement(Le,et,hn),[3,8];case 7:return ja.sent(),this.context.logger.error("Error loading image "+Le.src),[3,8];case 8:if(Le instanceof Cl&&this.renderReplacedElement(Le,et,Le.canvas),!(Le instanceof _l))return[3,12];ja.label=9;case 9:return ja.trys.push([9,11,,12]),[4,this.context.cache.match(Le.svg)];case 10:return hn=ja.sent(),this.renderReplacedElement(Le,et,hn),[3,12];case 11:return ja.sent(),this.context.logger.error("Error loading svg "+Le.svg.substring(0,255)),[3,12];case 12:return Le instanceof Lc&&Le.tree?(oi=new ue(this.context,{scale:this.options.scale,backgroundColor:Le.backgroundColor,x:0,y:0,width:Le.width,height:Le.height}),[4,oi.render(Le.tree)]):[3,14];case 13:Jn=ja.sent(),Le.width&&Le.height&&this.ctx.drawImage(Jn,0,0,Le.width,Le.height,Le.bounds.left,Le.bounds.top,Le.bounds.width,Le.bounds.height),ja.label=14;case 14:if(Le instanceof ic&&(ci=Math.min(Le.bounds.width,Le.bounds.height),Le.type===Vl?Le.checked&&(this.ctx.save(),this.path([new xa(Le.bounds.left+ci*.39363,Le.bounds.top+ci*.79),new xa(Le.bounds.left+ci*.16,Le.bounds.top+ci*.5549),new xa(Le.bounds.left+ci*.27347,Le.bounds.top+ci*.44071),new xa(Le.bounds.left+ci*.39694,Le.bounds.top+ci*.5649),new xa(Le.bounds.left+ci*.72983,Le.bounds.top+ci*.23),new xa(Le.bounds.left+ci*.84,Le.bounds.top+ci*.34085),new xa(Le.bounds.left+ci*.39363,Le.bounds.top+ci*.79)]),this.ctx.fillStyle=mr(Oc),this.ctx.fill(),this.ctx.restore()):Le.type===pc&&(Le.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Le.bounds.left+ci/2,Le.bounds.top+ci/2,ci/4,0,Math.PI*2,!0),this.ctx.fillStyle=mr(Oc),this.ctx.fill(),this.ctx.restore()))),Fu(Le)&&Le.value.length){fa=this.createFontStyle(jt),pa=fa[0],Oa=fa[1],fo=this.fontMetrics.getMetrics(pa,Oa).baseline,this.ctx.font=pa,this.ctx.fillStyle=mr(jt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ku(Le.styles.textAlign),Qa=Hl(Le),za=0;switch(Le.styles.textAlign){case rs.CENTER:za+=Qa.width/2;break;case rs.RIGHT:za+=Qa.width;break}Go=Qa.add(za,0,0,-Qa.height/2+1),this.ctx.save(),this.path([new xa(Qa.left,Qa.top),new xa(Qa.left+Qa.width,Qa.top),new xa(Qa.left+Qa.width,Qa.top+Qa.height),new xa(Qa.left,Qa.top+Qa.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new nl(Le.value,Go),jt.letterSpacing,fo),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ja(Le.styles.display,2048))return[3,20];if(!(Le.styles.listStyleImage!==null))return[3,19];if(ns=Le.styles.listStyleImage,!(ns.type===ca.URL))return[3,18];hn=void 0,Po=ns.url,ja.label=15;case 15:return ja.trys.push([15,17,,18]),[4,this.context.cache.match(Po)];case 16:return hn=ja.sent(),this.ctx.drawImage(hn,Le.bounds.left-(hn.width+10),Le.bounds.top),[3,18];case 17:return ja.sent(),this.context.logger.error("Error loading list-style-image "+Po),[3,18];case 18:return[3,20];case 19:Ee.listValue&&Le.styles.listStyleType!==Si.NONE&&(pa=this.createFontStyle(jt)[0],this.ctx.font=pa,this.ctx.fillStyle=mr(jt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Qa=new d(Le.bounds.left,Le.bounds.top+qn(Le.styles.paddingTop,Le.bounds.width),Le.bounds.width,ts(jt.lineHeight,jt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new nl(Ee.listValue,Qa),jt.letterSpacing,ts(jt.lineHeight,jt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ja.label=20;case 20:return[2]}})})},ue.prototype.renderStackContent=function(Ee){return p(this,void 0,void 0,function(){var Le,et,jt,Er,jr,jt,Jr,hn,jt,oi,Jn,jt,ci,fa,jt,pa,Oa,jt,fo,Qa,jt;return v(this,function(za){switch(za.label){case 0:if(Ja(Ee.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ee.element)];case 1:za.sent(),Le=0,et=Ee.negativeZIndex,za.label=2;case 2:return Le<et.length?(jt=et[Le],[4,this.renderStack(jt)]):[3,5];case 3:za.sent(),za.label=4;case 4:return Le++,[3,2];case 5:return[4,this.renderNodeContent(Ee.element)];case 6:za.sent(),Er=0,jr=Ee.nonInlineLevel,za.label=7;case 7:return Er<jr.length?(jt=jr[Er],[4,this.renderNode(jt)]):[3,10];case 8:za.sent(),za.label=9;case 9:return Er++,[3,7];case 10:Jr=0,hn=Ee.nonPositionedFloats,za.label=11;case 11:return Jr<hn.length?(jt=hn[Jr],[4,this.renderStack(jt)]):[3,14];case 12:za.sent(),za.label=13;case 13:return Jr++,[3,11];case 14:oi=0,Jn=Ee.nonPositionedInlineLevel,za.label=15;case 15:return oi<Jn.length?(jt=Jn[oi],[4,this.renderStack(jt)]):[3,18];case 16:za.sent(),za.label=17;case 17:return oi++,[3,15];case 18:ci=0,fa=Ee.inlineLevel,za.label=19;case 19:return ci<fa.length?(jt=fa[ci],[4,this.renderNode(jt)]):[3,22];case 20:za.sent(),za.label=21;case 21:return ci++,[3,19];case 22:pa=0,Oa=Ee.zeroOrAutoZIndexOrTransformedOrOpacity,za.label=23;case 23:return pa<Oa.length?(jt=Oa[pa],[4,this.renderStack(jt)]):[3,26];case 24:za.sent(),za.label=25;case 25:return pa++,[3,23];case 26:fo=0,Qa=Ee.positiveZIndex,za.label=27;case 27:return fo<Qa.length?(jt=Qa[fo],[4,this.renderStack(jt)]):[3,30];case 28:za.sent(),za.label=29;case 29:return fo++,[3,27];case 30:return[2]}})})},ue.prototype.mask=function(Ee){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(Ee.slice(0).reverse()),this.ctx.closePath()},ue.prototype.path=function(Ee){this.ctx.beginPath(),this.formatPath(Ee),this.ctx.closePath()},ue.prototype.formatPath=function(Ee){var Le=this;Ee.forEach(function(et,jt){var Er=us(et)?et.start:et;jt===0?Le.ctx.moveTo(Er.x,Er.y):Le.ctx.lineTo(Er.x,Er.y),us(et)&&Le.ctx.bezierCurveTo(et.startControl.x,et.startControl.y,et.endControl.x,et.endControl.y,et.end.x,et.end.y)})},ue.prototype.renderRepeat=function(Ee,Le,et,jt){this.path(Ee),this.ctx.fillStyle=Le,this.ctx.translate(et,jt),this.ctx.fill(),this.ctx.translate(-et,-jt)},ue.prototype.resizeImage=function(Ee,Le,et){var jt;if(Ee.width===Le&&Ee.height===et)return Ee;var Er=(jt=this.canvas.ownerDocument)!==null&&jt!==void 0?jt:document,jr=Er.createElement("canvas");jr.width=Math.max(1,Le),jr.height=Math.max(1,et);var Jr=jr.getContext("2d");return Jr.drawImage(Ee,0,0,Ee.width,Ee.height,0,0,Le,et),jr},ue.prototype.renderBackgroundImage=function(Ee){return p(this,void 0,void 0,function(){var Le,et,jt,Er,jr,Jr;return v(this,function(hn){switch(hn.label){case 0:Le=Ee.styles.backgroundImage.length-1,et=function(Jn){var ci,fa,pa,Oa,fo,Qa,za,Go,ns,Po,Oa,fo,Qa,za,Go,ja,ls,ds,Uo,Ml,Ql,Fl,fl,iu,ns,vc,Oa,Qc,Yc,za,Go,Zc,fo,Qa,au,yc,Jc,ou,su,Mc,lu,Fc;return v(this,function(hu){switch(hu.label){case 0:if(!(Jn.type===ca.URL))return[3,5];ci=void 0,fa=Jn.url,hu.label=1;case 1:return hu.trys.push([1,3,,4]),[4,jt.context.cache.match(fa)];case 2:return ci=hu.sent(),[3,4];case 3:return hu.sent(),jt.context.logger.error("Error loading background-image "+fa),[3,4];case 4:return ci&&(pa=uu(Ee,Le,[ci.width,ci.height,ci.width/ci.height]),Oa=pa[0],fo=pa[1],Qa=pa[2],za=pa[3],Go=pa[4],ns=jt.ctx.createPattern(jt.resizeImage(ci,za,Go),"repeat"),jt.renderRepeat(Oa,ns,fo,Qa)),[3,6];case 5:Ha(Jn)?(Po=uu(Ee,Le,[null,null,null]),Oa=Po[0],fo=Po[1],Qa=Po[2],za=Po[3],Go=Po[4],ja=Ci(Jn.angle,za,Go),ls=ja[0],ds=ja[1],Uo=ja[2],Ml=ja[3],Ql=ja[4],Fl=document.createElement("canvas"),Fl.width=za,Fl.height=Go,fl=Fl.getContext("2d"),iu=fl.createLinearGradient(ds,Ml,Uo,Ql),Gn(Jn.stops,ls).forEach(function(bu){return iu.addColorStop(bu.stop,mr(bu.color))}),fl.fillStyle=iu,fl.fillRect(0,0,za,Go),za>0&&Go>0&&(ns=jt.ctx.createPattern(Fl,"repeat"),jt.renderRepeat(Oa,ns,fo,Qa))):Pa(Jn)&&(vc=uu(Ee,Le,[null,null,null]),Oa=vc[0],Qc=vc[1],Yc=vc[2],za=vc[3],Go=vc[4],Zc=Jn.position.length===0?[Tn]:Jn.position,fo=qn(Zc[0],za),Qa=qn(Zc[Zc.length-1],Go),au=ha(Jn,fo,Qa,za,Go),yc=au[0],Jc=au[1],yc>0&&Jc>0&&(ou=jt.ctx.createRadialGradient(Qc+fo,Yc+Qa,0,Qc+fo,Yc+Qa,yc),Gn(Jn.stops,yc*2).forEach(function(bu){return ou.addColorStop(bu.stop,mr(bu.color))}),jt.path(Oa),jt.ctx.fillStyle=ou,yc!==Jc?(su=Ee.bounds.left+.5*Ee.bounds.width,Mc=Ee.bounds.top+.5*Ee.bounds.height,lu=Jc/yc,Fc=1/lu,jt.ctx.save(),jt.ctx.translate(su,Mc),jt.ctx.transform(1,0,0,lu,0,0),jt.ctx.translate(-su,-Mc),jt.ctx.fillRect(Qc,Fc*(Yc-Mc)+Mc,za,Go*Fc),jt.ctx.restore()):jt.ctx.fill())),hu.label=6;case 6:return Le--,[2]}})},jt=this,Er=0,jr=Ee.styles.backgroundImage.slice(0).reverse(),hn.label=1;case 1:return Er<jr.length?(Jr=jr[Er],[5,et(Jr)]):[3,4];case 2:hn.sent(),hn.label=3;case 3:return Er++,[3,1];case 4:return[2]}})})},ue.prototype.renderSolidBorder=function(Ee,Le,et){return p(this,void 0,void 0,function(){return v(this,function(jt){return this.path(gu(et,Le)),this.ctx.fillStyle=mr(Ee),this.ctx.fill(),[2]})})},ue.prototype.renderDoubleBorder=function(Ee,Le,et,jt){return p(this,void 0,void 0,function(){var Er,jr;return v(this,function(Jr){switch(Jr.label){case 0:return Le<3?[4,this.renderSolidBorder(Ee,et,jt)]:[3,2];case 1:return Jr.sent(),[2];case 2:return Er=Tu(jt,et),this.path(Er),this.ctx.fillStyle=mr(Ee),this.ctx.fill(),jr=nu(jt,et),this.path(jr),this.ctx.fill(),[2]}})})},ue.prototype.renderNodeBackgroundAndBorders=function(Ee){return p(this,void 0,void 0,function(){var Le,et,jt,Er,jr,Jr,hn,oi,Jn=this;return v(this,function(ci){switch(ci.label){case 0:return this.applyEffects(Ee.getEffects(2)),Le=Ee.container.styles,et=!ji(Le.backgroundColor)||Le.backgroundImage.length,jt=[{style:Le.borderTopStyle,color:Le.borderTopColor,width:Le.borderTopWidth},{style:Le.borderRightStyle,color:Le.borderRightColor,width:Le.borderRightWidth},{style:Le.borderBottomStyle,color:Le.borderBottomColor,width:Le.borderBottomWidth},{style:Le.borderLeftStyle,color:Le.borderLeftColor,width:Le.borderLeftWidth}],Er=Bu(du(Le.backgroundClip,0),Ee.curves),et||Le.boxShadow.length?(this.ctx.save(),this.path(Er),this.ctx.clip(),ji(Le.backgroundColor)||(this.ctx.fillStyle=mr(Le.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ee.container)]):[3,2];case 1:ci.sent(),this.ctx.restore(),Le.boxShadow.slice(0).reverse().forEach(function(fa){Jn.ctx.save();var pa=ru(Ee.curves),Oa=fa.inset?0:Ru,fo=tu(pa,-Oa+(fa.inset?1:-1)*fa.spread.number,(fa.inset?1:-1)*fa.spread.number,fa.spread.number*(fa.inset?-2:2),fa.spread.number*(fa.inset?-2:2));fa.inset?(Jn.path(pa),Jn.ctx.clip(),Jn.mask(fo)):(Jn.mask(pa),Jn.ctx.clip(),Jn.path(fo)),Jn.ctx.shadowOffsetX=fa.offsetX.number+Oa,Jn.ctx.shadowOffsetY=fa.offsetY.number,Jn.ctx.shadowColor=mr(fa.color),Jn.ctx.shadowBlur=fa.blur.number,Jn.ctx.fillStyle=fa.inset?mr(fa.color):"rgba(0,0,0,1)",Jn.ctx.fill(),Jn.ctx.restore()}),ci.label=2;case 2:jr=0,Jr=0,hn=jt,ci.label=3;case 3:return Jr<hn.length?(oi=hn[Jr],oi.style!==ma.NONE&&!ji(oi.color)&&oi.width>0?oi.style===ma.DASHED?[4,this.renderDashedDottedBorder(oi.color,oi.width,jr,Ee.curves,ma.DASHED)]:[3,5]:[3,11]):[3,13];case 4:return ci.sent(),[3,11];case 5:return oi.style===ma.DOTTED?[4,this.renderDashedDottedBorder(oi.color,oi.width,jr,Ee.curves,ma.DOTTED)]:[3,7];case 6:return ci.sent(),[3,11];case 7:return oi.style===ma.DOUBLE?[4,this.renderDoubleBorder(oi.color,oi.width,jr,Ee.curves)]:[3,9];case 8:return ci.sent(),[3,11];case 9:return[4,this.renderSolidBorder(oi.color,jr,Ee.curves)];case 10:ci.sent(),ci.label=11;case 11:jr++,ci.label=12;case 12:return Jr++,[3,3];case 13:return[2]}})})},ue.prototype.renderDashedDottedBorder=function(Ee,Le,et,jt,Er){return p(this,void 0,void 0,function(){var jr,Jr,hn,oi,Jn,ci,fa,pa,Oa,fo,Qa,za,Go,ns,Po,ja,Po,ja;return v(this,function(ls){return this.ctx.save(),jr=Au(jt,et),Jr=gu(jt,et),Er===ma.DASHED&&(this.path(Jr),this.ctx.clip()),us(Jr[0])?(hn=Jr[0].start.x,oi=Jr[0].start.y):(hn=Jr[0].x,oi=Jr[0].y),us(Jr[1])?(Jn=Jr[1].end.x,ci=Jr[1].end.y):(Jn=Jr[1].x,ci=Jr[1].y),et===0||et===2?fa=Math.abs(hn-Jn):fa=Math.abs(oi-ci),this.ctx.beginPath(),Er===ma.DOTTED?this.formatPath(jr):this.formatPath(Jr.slice(0,2)),pa=Le<3?Le*3:Le*2,Oa=Le<3?Le*2:Le,Er===ma.DOTTED&&(pa=Le,Oa=Le),fo=!0,fa<=pa*2?fo=!1:fa<=pa*2+Oa?(Qa=fa/(2*pa+Oa),pa*=Qa,Oa*=Qa):(za=Math.floor((fa+Oa)/(pa+Oa)),Go=(fa-za*pa)/(za-1),ns=(fa-(za+1)*pa)/za,Oa=ns<=0||Math.abs(Oa-Go)<Math.abs(Oa-ns)?Go:ns),fo&&(Er===ma.DOTTED?this.ctx.setLineDash([0,pa+Oa]):this.ctx.setLineDash([pa,Oa])),Er===ma.DOTTED?(this.ctx.lineCap="round",this.ctx.lineWidth=Le):this.ctx.lineWidth=Le*2+1.1,this.ctx.strokeStyle=mr(Ee),this.ctx.stroke(),this.ctx.setLineDash([]),Er===ma.DASHED&&(us(Jr[0])&&(Po=Jr[3],ja=Jr[0],this.ctx.beginPath(),this.formatPath([new xa(Po.end.x,Po.end.y),new xa(ja.start.x,ja.start.y)]),this.ctx.stroke()),us(Jr[1])&&(Po=Jr[1],ja=Jr[2],this.ctx.beginPath(),this.formatPath([new xa(Po.end.x,Po.end.y),new xa(ja.start.x,ja.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},ue.prototype.render=function(Ee){return p(this,void 0,void 0,function(){var Le;return v(this,function(et){switch(et.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=mr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Le=_u(Ee),[4,this.renderStack(Le)];case 1:return et.sent(),this.applyEffects([]),[2,this.canvas]}})})},ue}(Ou),Fu=function(ue){return ue instanceof Xl||ue instanceof mc?!0:ue instanceof ic&&ue.type!==pc&&ue.type!==Vl},Bu=function(ue,Ee){switch(ue){case dn.BORDER_BOX:return ru(Ee);case dn.CONTENT_BOX:return xu(Ee);case dn.PADDING_BOX:default:return Nc(Ee)}},ku=function(ue){switch(ue){case rs.CENTER:return"center";case rs.RIGHT:return"right";case rs.LEFT:default:return"left"}},Pu=function(it){m(ue,it);function ue(Ee,Le){var et=it.call(this,Ee,Le)||this;return et.canvas=Le.canvas?Le.canvas:document.createElement("canvas"),et.ctx=et.canvas.getContext("2d"),et.options=Le,et.canvas.width=Math.floor(Le.width*Le.scale),et.canvas.height=Math.floor(Le.height*Le.scale),et.canvas.style.width=Le.width+"px",et.canvas.style.height=Le.height+"px",et.ctx.scale(et.options.scale,et.options.scale),et.ctx.translate(-Le.x,-Le.y),et.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Le.width+"x"+Le.height+" at "+Le.x+","+Le.y+") with scale "+Le.scale),et}return ue.prototype.render=function(Ee){return p(this,void 0,void 0,function(){var Le,et;return v(this,function(jt){switch(jt.label){case 0:return Le=tc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ee),[4,Uu(Le)];case 1:return et=jt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=mr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(et,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},ue}(Ou),Uu=function(ue){return new Promise(function(Ee,Le){var et=new Image;et.onload=function(){Ee(et)},et.onerror=Le,et.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},ju=function(){function it(ue){var Ee=ue.id,Le=ue.enabled;this.id=Ee,this.enabled=Le,this.start=Date.now()}return it.prototype.debug=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,f([this.id,this.getTime()+"ms"],ue)):this.info.apply(this,ue))},it.prototype.getTime=function(){return Date.now()-this.start},it.prototype.info=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,f([this.id,this.getTime()+"ms"],ue)))},it.prototype.warn=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,f([this.id,this.getTime()+"ms"],ue)):this.info.apply(this,ue))},it.prototype.error=function(){for(var ue=[],Ee=0;Ee<arguments.length;Ee++)ue[Ee]=arguments[Ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,f([this.id,this.getTime()+"ms"],ue)):this.info.apply(this,ue))},it.instances={},it}(),Hu=function(){function it(ue,Ee){var Le;this.windowBounds=Ee,this.instanceName="#"+it.instanceCount++,this.logger=new ju({id:this.instanceName,enabled:ue.logging}),this.cache=(Le=ue.cache)!==null&&Le!==void 0?Le:new sl(this,ue)}return it.instanceCount=1,it}(),Ku=function(ue,Ee){return Ee===void 0&&(Ee={}),zu(ue,Ee)};typeof window!="undefined"&&Cs.setContext(window);var zu=function(ue,Ee){return p(void 0,void 0,void 0,function(){var Le,et,jt,Er,jr,Jr,hn,oi,Jn,ci,fa,pa,Oa,fo,Qa,za,Go,ns,Po,ja,ls,ds,ls,Uo,Ml,Ql,Fl,fl,iu,vc,Qc,Yc,Zc,au,yc,Jc,ou,su,Mc,lu;return v(this,function(Fc){switch(Fc.label){case 0:if(!ue||typeof ue!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Le=ue.ownerDocument,!Le)throw new Error("Element is not attached to a Document");if(et=Le.defaultView,!et)throw new Error("Document is not attached to a Window");return jt={allowTaint:(Uo=Ee.allowTaint)!==null&&Uo!==void 0?Uo:!1,imageTimeout:(Ml=Ee.imageTimeout)!==null&&Ml!==void 0?Ml:15e3,proxy:Ee.proxy,useCORS:(Ql=Ee.useCORS)!==null&&Ql!==void 0?Ql:!1},Er=E({logging:(Fl=Ee.logging)!==null&&Fl!==void 0?Fl:!0,cache:Ee.cache},jt),jr={windowWidth:(fl=Ee.windowWidth)!==null&&fl!==void 0?fl:et.innerWidth,windowHeight:(iu=Ee.windowHeight)!==null&&iu!==void 0?iu:et.innerHeight,scrollX:(vc=Ee.scrollX)!==null&&vc!==void 0?vc:et.pageXOffset,scrollY:(Qc=Ee.scrollY)!==null&&Qc!==void 0?Qc:et.pageYOffset},Jr=new d(jr.scrollX,jr.scrollY,jr.windowWidth,jr.windowHeight),hn=new Hu(Er,Jr),oi=(Yc=Ee.foreignObjectRendering)!==null&&Yc!==void 0?Yc:!1,Jn={allowTaint:(Zc=Ee.allowTaint)!==null&&Zc!==void 0?Zc:!1,onclone:Ee.onclone,ignoreElements:Ee.ignoreElements,inlineImages:oi,copyStyles:oi},hn.logger.debug("Starting document clone with size "+Jr.width+"x"+Jr.height+" scrolled to "+-Jr.left+","+-Jr.top),ci=new fn(hn,ue,Jn),fa=ci.clonedReferenceElement,fa?[4,ci.toIFrame(Le,Jr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return pa=Fc.sent(),Oa=Mt(fa)||_t(fa)?n(fa.ownerDocument):l(hn,fa),fo=Oa.width,Qa=Oa.height,za=Oa.left,Go=Oa.top,ns=Wu(hn,fa,Ee.backgroundColor),Po={canvas:Ee.canvas,backgroundColor:ns,scale:(yc=(au=Ee.scale)!==null&&au!==void 0?au:et.devicePixelRatio)!==null&&yc!==void 0?yc:1,x:((Jc=Ee.x)!==null&&Jc!==void 0?Jc:0)+za,y:((ou=Ee.y)!==null&&ou!==void 0?ou:0)+Go,width:(su=Ee.width)!==null&&su!==void 0?su:Math.ceil(fo),height:(Mc=Ee.height)!==null&&Mc!==void 0?Mc:Math.ceil(Qa)},oi?(hn.logger.debug("Document cloned, using foreign object rendering"),ls=new Pu(hn,Po),[4,ls.render(fa)]):[3,3];case 2:return ja=Fc.sent(),[3,5];case 3:return hn.logger.debug("Document cloned, element located at "+za+","+Go+" with size "+fo+"x"+Qa+" using computed rendering"),hn.logger.debug("Starting DOM parsing"),ds=Pe(hn,fa),ns===ds.styles.backgroundColor&&(ds.styles.backgroundColor=kr.TRANSPARENT),hn.logger.debug("Starting renderer for element at "+Po.x+","+Po.y+" with size "+Po.width+"x"+Po.height),ls=new Mu(hn,Po),[4,ls.render(ds)];case 4:ja=Fc.sent(),Fc.label=5;case 5:return((lu=Ee.removeContainer)!==null&&lu!==void 0?lu:!0)&&(fn.destroy(pa)||hn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),hn.logger.debug("Finished rendering"),[2,ja]}})})},Wu=function(ue,Ee,Le){var et=Ee.ownerDocument,jt=et.documentElement?Pr(ue,getComputedStyle(et.documentElement).backgroundColor):kr.TRANSPARENT,Er=et.body?Pr(ue,getComputedStyle(et.body).backgroundColor):kr.TRANSPARENT,jr=typeof Le=="string"?Pr(ue,Le):Le===null?kr.TRANSPARENT:4294967295;return Ee===et.documentElement?ji(jt)?ji(Er)?jr:Er:jt:jr};return Ku})},wPlo:function(B,N,i){"use strict";i.d(N,"a",function(){return y});var y="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("ygfH")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="CheckOutlined";var l=p.forwardRef(d);N.default=l},wYyv:function(B,N,i){"use strict";var y=i("GmyR"),m=i("47nA"),E=function(f,d,l){var n=d<0?f.length+d:d;if(n>=0&&n<f.length){var t=l<0?f.length+l:l,a=f.splice(d,1),o=m(a,1),r=o[0];f.splice(t,0,r)}},p=function(f,d,l){return f=y(f),E(f,d,l),f};B.exports=p,B.exports.mutate=E},wgjA:function(B,N,i){"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(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=i("lNSK"),m=E(i("1q3G"));function E(l){return l&&l.__esModule?l:{default:l}}function p(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function v(l,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,a.key,a)}}function f(l,n,t){return n&&v(l.prototype,n),t&&v(l,t),l}var d=function(){function l(){p(this,l),this.strm=new m.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,y.deflateInit)(this.strm,this.windowBits)}return f(l,[{key:"deflate",value:function(t){this.strm.input=t,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 a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),o=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(a<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var r=[o],c=o.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,a=(0,y.deflate)(this.strm,y.Z_FULL_FLUSH),a<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);c+=e.length,r.push(e)}while(this.strm.avail_in>0);for(var s=new Uint8Array(c),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}}]),l}();N.default=d},wlus:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="MinusCircleOutlined";var d=N.a=m.forwardRef(f)},wr5s:function(B,N,i){var y=i("IwbS"),m=y.extendShape,E=m({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,v){var f=v.cx,d=v.cy,l=Math.max(v.r0||0,0),n=Math.max(v.r,0),t=(n-l)*.5,a=l+t,o=v.startAngle,r=v.endAngle,c=v.clockwise,e=Math.cos(o),s=Math.sin(o),u=Math.cos(r),h=Math.sin(r),g=c?r-o<Math.PI*2:o-r<Math.PI*2;g&&(p.moveTo(e*l+f,s*l+d),p.arc(e*a+f,s*a+d,t,-Math.PI+o,o,!c)),p.arc(f,d,n,o,r,!c),p.moveTo(u*n+f,h*n+d),p.arc(u*a+f,h*a+d,t,r-Math.PI*2,r-Math.PI,!c),l!==0&&(p.arc(f,d,l,r,o,c),p.moveTo(e*l+f,h*l+d)),p.closePath()}});B.exports=E},wt3j:function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("/IIm"),p=i("EMyp"),v=p.layoutCovers,f=y.extendComponentView({type:"brush",init:function(l,n){this.ecModel=l,this.api=n,this.model,(this._brushController=new E(n.getZr())).on("brush",m.bind(this._onBrush,this)).mount()},render:function(l){return this.model=l,d.apply(this,arguments)},updateTransform:function(l,n){return v(n),d.apply(this,arguments)},updateView:d,dispose:function(){this._brushController.dispose()},_onBrush:function(l,n){var t=this.model.id;this.model.brushTargetManager.setOutputRanges(l,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:m.clone(l),$from:t}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:m.clone(l),$from:t})}});function d(l,n,t,a){(!a||a.$from!==l.id)&&this._brushController.setPanels(l.brushTargetManager.makePanelOpts(t)).enableBrush(l.brushOption).updateCovers(l.areas.slice())}B.exports=f},wy8a:function(B,N,i){var y=i("KxBF");function m(E,p,v){var f=E.length;return v=v===void 0?f:v,!p&&v>=f?E:y(E,p,v)}B.exports=m},x3X8:function(B,N,i){var y=i("KxfA"),m=y.retrieveRawValue;function E(p,v){var f=p.mapDimension("defaultedLabel",!0),d=f.length;if(d===1)return m(p,v,f[0]);if(d){for(var l=[],n=0;n<f.length;n++){var t=m(p,v,f[n]);l.push(t)}return l.join(" ")}}N.getDefaultLabel=E},x54q:function(B,N,i){},x6Kt:function(B,N,i){var y=i("y+Vt"),m=i("VpOo"),E=i("nPnh"),p=E.subPixelOptimizeRect,v={},f=y.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(l,n){var t,a,o,r;this.subPixelOptimize?(p(v,n,this.style),t=v.x,a=v.y,o=v.width,r=v.height,v.r=n.r,n=v):(t=n.x,a=n.y,o=n.width,r=n.height),n.r?m.buildPath(l,n):l.rect(t,a,o,r),l.closePath();return}});B.exports=f},xGfz:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusSquareOutlined";var d=N.a=m.forwardRef(f)},xKMd:function(B,N){function i(m,E){this.getAllNames=function(){var p=E();return p.mapArray(p.getName)},this.containName=function(p){var v=E();return v.indexOfName(p)>=0},this.indexOfName=function(p){var v=m();return v.indexOfName(p)},this.getItemVisual=function(p,v){var f=m();return f.getItemVisual(p,v)}}var y=i;B.exports=y},xO64:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=m(i("8K/p"));function m(e){return e&&e.__esModule?e:{default:e}}function E(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(u){return typeof u}:E=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},E(e)}function p(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function v(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&&v(e.prototype,s),u&&v(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&&l(e,s)}function l(e,s){return l=Object.setPrototypeOf||function(h,g){return h.__proto__=g,h},l(e,s)}function n(e){var s=o();return function(){var h=r(e),g;if(s){var A=r(this).constructor;g=Reflect.construct(h,arguments,A)}else g=h.apply(this,arguments);return t(this,g)}}function t(e,s){return s&&(E(s)==="object"||typeof s=="function")?s:a(e)}function a(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 c=function(e){d(u,e);var s=n(u);function u(){return p(this,u),s.apply(this,arguments)}return f(u,[{key:"_pngRect",value:function(g,A,w,b,S,_,T){var x=this._readData(S);return x===null?!1:(_.imageRect(g,A,w,b,"image/png",x),!0)}},{key:"_basicRect",value:function(g,A,w,b,S,_,T,x){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(y.default);N.default=c},xOOu:function(B,N,i){(function(y,m){var E,E;/*!
JSZip v3.7.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/master/LICENSE
*/!function(p){B.exports=p()}(function(){return function p(v,f,d){function l(a,o){if(!f[a]){if(!v[a]){var r=typeof E=="function"&&E;if(!o&&r)return E(a,!0);if(n)return n(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var e=f[a]={exports:{}};v[a][0].call(e.exports,function(s){var u=v[a][1][s];return l(u||s)},e,e.exports,p,v,f,d)}return f[a].exports}for(var n=typeof E=="function"&&E,t=0;t<d.length;t++)l(d[t]);return l}({1:[function(p,v,f){"use strict";var d=p("./utils"),l=p("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(t){for(var a,o,r,c,e,s,u,h=[],g=0,A=t.length,w=A,b=d.getTypeOf(t)!=="string";g<t.length;)w=A-g,r=b?(a=t[g++],o=g<A?t[g++]:0,g<A?t[g++]:0):(a=t.charCodeAt(g++),o=g<A?t.charCodeAt(g++):0,g<A?t.charCodeAt(g++):0),c=a>>2,e=(3&a)<<4|o>>4,s=1<w?(15&o)<<2|r>>6:64,u=2<w?63&r:64,h.push(n.charAt(c)+n.charAt(e)+n.charAt(s)+n.charAt(u));return h.join("")},f.decode=function(t){var a,o,r,c,e,s,u=0,h=0,g="data:";if(t.substr(0,g.length)===g)throw new Error("Invalid base64 input, it looks like a data url.");var A,w=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===n.charAt(64)&&w--,t.charAt(t.length-2)===n.charAt(64)&&w--,w%1!=0)throw new Error("Invalid base64 input, bad content length.");for(A=l.uint8array?new Uint8Array(0|w):new Array(0|w);u<t.length;)a=n.indexOf(t.charAt(u++))<<2|(c=n.indexOf(t.charAt(u++)))>>4,o=(15&c)<<4|(e=n.indexOf(t.charAt(u++)))>>2,r=(3&e)<<6|(s=n.indexOf(t.charAt(u++))),A[h++]=a,e!==64&&(A[h++]=o),s!==64&&(A[h++]=r);return A}},{"./support":30,"./utils":32}],2:[function(p,v,f){"use strict";var d=p("./external"),l=p("./stream/DataWorker"),n=p("./stream/Crc32Probe"),t=p("./stream/DataLengthProbe");function a(o,r,c,e,s){this.compressedSize=o,this.uncompressedSize=r,this.crc32=c,this.compression=e,this.compressedContent=s}a.prototype={getContentWorker:function(){var r=new l(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new t("data_length")),c=this;return r.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),r},getCompressedWorker:function(){return new l(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(o,r,c){return o.pipe(new n).pipe(new t("uncompressedSize")).pipe(r.compressWorker(c)).pipe(new t("compressedSize")).withStreamInfo("compression",r)},v.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(p,v,f){"use strict";var d=p("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(n){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},f.DEFLATE=p("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(p,v,f){"use strict";var d=p("./utils"),l=function(){for(var n,t=[],a=0;a<256;a++){n=a;for(var o=0;o<8;o++)n=1&n?3988292384^n>>>1:n>>>1;t[a]=n}return t}();v.exports=function(n,t){return n!==void 0&&n.length?d.getTypeOf(n)!=="string"?function(a,o,r,c){var e=l,s=c+r;a^=-1;for(var u=c;u<s;u++)a=a>>>8^e[255&(a^o[u])];return-1^a}(0|t,n,n.length,0):function(a,o,r,c){var e=l,s=c+r;a^=-1;for(var u=c;u<s;u++)a=a>>>8^e[255&(a^o.charCodeAt(u))];return-1^a}(0|t,n,n.length,0):0}},{"./utils":32}],5:[function(p,v,f){"use strict";f.base64=!1,f.binary=!1,f.dir=!1,f.createFolders=!0,f.date=null,f.compression=null,f.compressionOptions=null,f.comment=null,f.unixPermissions=null,f.dosPermissions=null},{}],6:[function(p,v,f){"use strict";var d=null;d=typeof Promise!="undefined"?Promise:p("lie"),v.exports={Promise:d}},{lie:37}],7:[function(p,v,f){"use strict";var d=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",l=p("pako"),n=p("./utils"),t=p("./stream/GenericWorker"),a=d?"uint8array":"array";function o(r,c){t.call(this,"FlateWorker/"+r),this._pako=null,this._pakoAction=r,this._pakoOptions=c,this.meta={}}f.magic="\b\0",n.inherits(o,t),o.prototype.processChunk=function(r){this.meta=r.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(a,r.data),!1)},o.prototype.flush=function(){t.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},o.prototype.cleanUp=function(){t.prototype.cleanUp.call(this),this._pako=null},o.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var r=this;this._pako.onData=function(c){r.push({data:c,meta:r.meta})}},f.compressWorker=function(r){return new o("Deflate",r)},f.uncompressWorker=function(){return new o("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(p,v,f){"use strict";function d(e,s){var u,h="";for(u=0;u<s;u++)h+=String.fromCharCode(255&e),e>>>=8;return h}function l(e,s,u,h,g,A){var w,b,S=e.file,_=e.compression,T=A!==a.utf8encode,x=n.transformTo("string",A(S.name)),C=n.transformTo("string",a.utf8encode(S.name)),I=S.comment,L=n.transformTo("string",A(I)),M=n.transformTo("string",a.utf8encode(I)),k=C.length!==S.name.length,R=M.length!==I.length,j="",V="",D="",H=S.dir,P=S.date,K={crc32:0,compressedSize:0,uncompressedSize:0};s&&!u||(K.crc32=e.crc32,K.compressedSize=e.compressedSize,K.uncompressedSize=e.uncompressedSize);var U=0;s&&(U|=8),T||!k&&!R||(U|=2048);var G=0,W=0;H&&(G|=16),g==="UNIX"?(W=798,G|=function(J,ve){var q=J;return J||(q=ve?16893:33204),(65535&q)<<16}(S.unixPermissions,H)):(W=20,G|=function(J){return 63&(J||0)}(S.dosPermissions)),w=P.getUTCHours(),w<<=6,w|=P.getUTCMinutes(),w<<=5,w|=P.getUTCSeconds()/2,b=P.getUTCFullYear()-1980,b<<=4,b|=P.getUTCMonth()+1,b<<=5,b|=P.getUTCDate(),k&&(V=d(1,1)+d(o(x),4)+C,j+="up"+d(V.length,2)+V),R&&(D=d(1,1)+d(o(L),4)+M,j+="uc"+d(D.length,2)+D);var Z="";return Z+=`
\0`,Z+=d(U,2),Z+=_.magic,Z+=d(w,2),Z+=d(b,2),Z+=d(K.crc32,4),Z+=d(K.compressedSize,4),Z+=d(K.uncompressedSize,4),Z+=d(x.length,2),Z+=d(j.length,2),{fileRecord:r.LOCAL_FILE_HEADER+Z+x+j,dirRecord:r.CENTRAL_FILE_HEADER+d(W,2)+Z+d(L.length,2)+"\0\0\0\0"+d(G,4)+d(h,4)+x+j+L}}var n=p("../utils"),t=p("../stream/GenericWorker"),a=p("../utf8"),o=p("../crc32"),r=p("../signature");function c(e,s,u,h){t.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=s,this.zipPlatform=u,this.encodeFileName=h,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,t),c.prototype.push=function(e){var s=e.meta.percent||0,u=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,t.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:u?(s+100*(u-h-1))/u:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var s=this.streamFiles&&!e.file.dir;if(s){var u=l(e,s,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var s=this.streamFiles&&!e.file.dir,u=l(e,s,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),s)this.push({data:function(h){return r.DATA_DESCRIPTOR+d(h.crc32,4)+d(h.compressedSize,4)+d(h.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,s=0;s<this.dirRecords.length;s++)this.push({data:this.dirRecords[s],meta:{percent:100}});var u=this.bytesWritten-e,h=function(g,A,w,b,S){var _=n.transformTo("string",S(b));return r.CENTRAL_DIRECTORY_END+"\0\0\0\0"+d(g,2)+d(g,2)+d(A,4)+d(w,4)+d(_.length,2)+_}(this.dirRecords.length,u,e,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var s=this;return e.on("data",function(u){s.processChunk(u)}),e.on("end",function(){s.closedSource(s.previous.streamInfo),s._sources.length?s.prepareNextSource():s.end()}),e.on("error",function(u){s.error(u)}),this},c.prototype.resume=function(){return!!t.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var s=this._sources;if(!t.prototype.error.call(this,e))return!1;for(var u=0;u<s.length;u++)try{s[u].error(e)}catch(h){}return!0},c.prototype.lock=function(){t.prototype.lock.call(this);for(var e=this._sources,s=0;s<e.length;s++)e[s].lock()},v.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(p,v,f){"use strict";var d=p("../compressions"),l=p("./ZipFileWorker");f.generateWorker=function(n,t,a){var o=new l(t.streamFiles,a,t.platform,t.encodeFileName),r=0;try{n.forEach(function(c,e){r++;var s=function(A,w){var b=A||w,S=d[b];if(!S)throw new Error(b+" is not a valid compression method !");return S}(e.options.compression,t.compression),u=e.options.compressionOptions||t.compressionOptions||{},h=e.dir,g=e.date;e._compressWorker(s,u).withStreamInfo("file",{name:c,dir:h,date:g,comment:e.comment||"",unixPermissions:e.unixPermissions,dosPermissions:e.dosPermissions}).pipe(o)}),o.entriesCount=r}catch(c){o.error(c)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(p,v,f){"use strict";function d(){if(!(this instanceof d))return new d;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new d;for(var n in this)typeof this[n]!="function"&&(l[n]=this[n]);return l}}(d.prototype=p("./object")).loadAsync=p("./load"),d.support=p("./support"),d.defaults=p("./defaults"),d.version="3.7.1",d.loadAsync=function(l,n){return new d().loadAsync(l,n)},d.external=p("./external"),v.exports=d},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(p,v,f){"use strict";var d=p("./utils"),l=p("./external"),n=p("./utf8"),t=p("./zipEntries"),a=p("./stream/Crc32Probe"),o=p("./nodejsUtils");function r(c){return new l.Promise(function(e,s){var u=c.decompressed.getContentWorker().pipe(new a);u.on("error",function(h){s(h)}).on("end",function(){u.streamInfo.crc32!==c.decompressed.crc32?s(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}v.exports=function(c,e){var s=this;return e=d.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),o.isNode&&o.isStream(c)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",c,!0,e.optimizedBinaryString,e.base64).then(function(u){var h=new t(e);return h.load(u),h}).then(function(u){var h=[l.Promise.resolve(u)],g=u.files;if(e.checkCRC32)for(var A=0;A<g.length;A++)h.push(r(g[A]));return l.Promise.all(h)}).then(function(u){for(var h=u.shift(),g=h.files,A=0;A<g.length;A++){var w=g[A];s.file(w.fileNameStr,w.decompressed,{binary:!0,optimizedBinaryString:!0,date:w.date,dir:w.dir,comment:w.fileCommentStr.length?w.fileCommentStr:null,unixPermissions:w.unixPermissions,dosPermissions:w.dosPermissions,createFolders:e.createFolders})}return h.zipComment.length&&(s.comment=h.zipComment),s})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(p,v,f){"use strict";var d=p("../utils"),l=p("../stream/GenericWorker");function n(t,a){l.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(a)}d.inherits(n,l),n.prototype._bindStream=function(t){var a=this;(this._stream=t).pause(),t.on("data",function(o){a.push({data:o,meta:{percent:0}})}).on("error",function(o){a.isPaused?this.generatedError=o:a.error(o)}).on("end",function(){a.isPaused?a._upstreamEnded=!0:a.end()})},n.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},v.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(p,v,f){"use strict";var d=p("readable-stream").Readable;function l(n,t,a){d.call(this,t),this._helper=n;var o=this;n.on("data",function(r,c){o.push(r)||o._helper.pause(),a&&a(c)}).on("error",function(r){o.emit("error",r)}).on("end",function(){o.push(null)})}p("../utils").inherits(l,d),l.prototype._read=function(){this._helper.resume()},v.exports=l},{"../utils":32,"readable-stream":16}],14:[function(p,v,f){"use strict";v.exports={isNode:typeof y!="undefined",newBufferFrom:function(l,n){if(y.from&&y.from!==Uint8Array.from)return y.from(l,n);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new y(l,n)},allocBuffer:function(l){if(y.alloc)return y.alloc(l);var n=new y(l);return n.fill(0),n},isBuffer:function(l){return y.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(p,v,f){"use strict";function d(S,_,T){var x,C=n.getTypeOf(_),I=n.extend(T||{},o);I.date=I.date||new Date,I.compression!==null&&(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions=="string"&&(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&&16384&I.unixPermissions&&(I.dir=!0),I.dosPermissions&&16&I.dosPermissions&&(I.dir=!0),I.dir&&(S=g(S)),I.createFolders&&(x=h(S))&&A.call(this,x,!0);var L=C==="string"&&I.binary===!1&&I.base64===!1;T&&T.binary!==void 0||(I.binary=!L),(_ instanceof r&&_.uncompressedSize===0||I.dir||!_||_.length===0)&&(I.base64=!1,I.binary=!0,_="",I.compression="STORE",C="string");var M=null;M=_ instanceof r||_ instanceof t?_:s.isNode&&s.isStream(_)?new u(S,_):n.prepareContent(S,_,I.binary,I.optimizedBinaryString,I.base64);var k=new c(S,M,I);this.files[S]=k}var l=p("./utf8"),n=p("./utils"),t=p("./stream/GenericWorker"),a=p("./stream/StreamHelper"),o=p("./defaults"),r=p("./compressedObject"),c=p("./zipObject"),e=p("./generate"),s=p("./nodejsUtils"),u=p("./nodejs/NodejsStreamInputAdapter"),h=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var T=_.lastIndexOf("/");return 0<T?_.substring(0,T):""},g=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},A=function(_,T){return T=T!==void 0?T:o.createFolders,_=g(_),this.files[_]||d.call(this,_,null,{dir:!0,createFolders:T}),this.files[_]};function w(S){return Object.prototype.toString.call(S)==="[object RegExp]"}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var T,x,C;for(T in this.files)C=this.files[T],(x=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&_(x,C)},filter:function(_){var T=[];return this.forEach(function(x,C){_(x,C)&&T.push(C)}),T},file:function(_,T,x){if(arguments.length!==1)return _=this.root+_,d.call(this,_,T,x),this;if(w(_)){var C=_;return this.filter(function(L,M){return!M.dir&&C.test(L)})}var I=this.files[this.root+_];return I&&!I.dir?I:null},folder:function(_){if(!_)return this;if(w(_))return this.filter(function(I,L){return L.dir&&_.test(I)});var T=this.root+_,x=A.call(this,T),C=this.clone();return C.root=x.name,C},remove:function(_){_=this.root+_;var T=this.files[_];if(T||(_.slice(-1)!=="/"&&(_+="/"),T=this.files[_]),T&&!T.dir)delete this.files[_];else for(var x=this.filter(function(I,L){return L.name.slice(0,_.length)===_}),C=0;C<x.length;C++)delete this.files[x[C].name];return this},generate:function(_){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var T,x={};try{if((x=n.extend(_||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=x.type.toLowerCase(),x.compression=x.compression.toUpperCase(),x.type==="binarystring"&&(x.type="string"),!x.type)throw new Error("No output type specified.");n.checkSupport(x.type),x.platform!=="darwin"&&x.platform!=="freebsd"&&x.platform!=="linux"&&x.platform!=="sunos"||(x.platform="UNIX"),x.platform==="win32"&&(x.platform="DOS");var C=x.comment||this.comment||"";T=e.generateWorker(this,x,C)}catch(I){(T=new t("error")).error(I)}return new a(T,x.type||"string",x.mimeType)},generateAsync:function(_,T){return this.generateInternalStream(_).accumulate(T)},generateNodeStream:function(_,T){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(T)}};v.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(p,v,f){v.exports=p("stream")},{stream:void 0}],17:[function(p,v,f){"use strict";var d=p("./DataReader");function l(n){d.call(this,n);for(var t=0;t<this.data.length;t++)n[t]=255&n[t]}p("../utils").inherits(l,d),l.prototype.byteAt=function(n){return this.data[this.zero+n]},l.prototype.lastIndexOfSignature=function(n){for(var t=n.charCodeAt(0),a=n.charCodeAt(1),o=n.charCodeAt(2),r=n.charCodeAt(3),c=this.length-4;0<=c;--c)if(this.data[c]===t&&this.data[c+1]===a&&this.data[c+2]===o&&this.data[c+3]===r)return c-this.zero;return-1},l.prototype.readAndCheckSignature=function(n){var t=n.charCodeAt(0),a=n.charCodeAt(1),o=n.charCodeAt(2),r=n.charCodeAt(3),c=this.readData(4);return t===c[0]&&a===c[1]&&o===c[2]&&r===c[3]},l.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./DataReader":18}],18:[function(p,v,f){"use strict";var d=p("../utils");function l(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var a,o=0;for(this.checkOffset(t),a=this.index+t-1;a>=this.index;a--)o=(o<<8)+this.byteAt(a);return this.index+=t,o},readString:function(t){return d.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},v.exports=l},{"../utils":32}],19:[function(p,v,f){"use strict";var d=p("./Uint8ArrayReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(p,v,f){"use strict";var d=p("./DataReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},l.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},l.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},l.prototype.readData=function(n){this.checkOffset(n);var t=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./DataReader":18}],21:[function(p,v,f){"use strict";var d=p("./ArrayReader");function l(n){d.call(this,n)}p("../utils").inherits(l,d),l.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,t},v.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(p,v,f){"use strict";var d=p("../utils"),l=p("../support"),n=p("./ArrayReader"),t=p("./StringReader"),a=p("./NodeBufferReader"),o=p("./Uint8ArrayReader");v.exports=function(r){var c=d.getTypeOf(r);return d.checkSupport(c),c!=="string"||l.uint8array?c==="nodebuffer"?new a(r):l.uint8array?new o(d.transformTo("uint8array",r)):new n(d.transformTo("array",r)):new t(r)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(p,v,f){"use strict";f.LOCAL_FILE_HEADER="PK",f.CENTRAL_FILE_HEADER="PK",f.CENTRAL_DIRECTORY_END="PK",f.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",f.ZIP64_CENTRAL_DIRECTORY_END="PK",f.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(p,v,f){"use strict";var d=p("./GenericWorker"),l=p("../utils");function n(t){d.call(this,"ConvertWorker to "+t),this.destType=t}l.inherits(n,d),n.prototype.processChunk=function(t){this.push({data:l.transformTo(this.destType,t.data),meta:t.meta})},v.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(p,v,f){"use strict";var d=p("./GenericWorker"),l=p("../crc32");function n(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}p("../utils").inherits(n,d),n.prototype.processChunk=function(t){this.streamInfo.crc32=l(t.data,this.streamInfo.crc32||0),this.push(t)},v.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./GenericWorker");function n(t){l.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}d.inherits(n,l),n.prototype.processChunk=function(t){if(t){var a=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=a+t.data.length}l.prototype.processChunk.call(this,t)},v.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./GenericWorker");function n(t){l.call(this,"DataWorker");var a=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(o){a.dataIsReady=!0,a.data=o,a.max=o&&o.length||0,a.type=d.getTypeOf(o),a.isPaused||a._tickAndRepeat()},function(o){a.error(o)})}d.inherits(n,l),n.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,a=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,a);break;case"uint8array":t=this.data.subarray(this.index,a);break;case"array":case"nodebuffer":t=this.data.slice(this.index,a)}return this.index=a,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},v.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(p,v,f){"use strict";function d(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}d.prototype={push:function(n){this.emit("data",n)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(n){this.emit("error",n)}return!0},error:function(n){return!this.isFinished&&(this.isPaused?this.generatedError=n:(this.isFinished=!0,this.emit("error",n),this.previous&&this.previous.error(n),this.cleanUp()),!0)},on:function(n,t){return this._listeners[n].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(n,t){if(this._listeners[n])for(var a=0;a<this._listeners[n].length;a++)this._listeners[n][a].call(this,t)},pipe:function(n){return n.registerPrevious(this)},registerPrevious:function(n){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=n.streamInfo,this.mergeStreamInfo(),this.previous=n;var t=this;return n.on("data",function(a){t.processChunk(a)}),n.on("end",function(){t.end()}),n.on("error",function(a){t.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var n=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),n=!0),this.previous&&this.previous.resume(),!n},flush:function(){},processChunk:function(n){this.push(n)},withStreamInfo:function(n,t){return this.extraStreamInfo[n]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var n in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(n)&&(this.streamInfo[n]=this.extraStreamInfo[n])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var n="Worker "+this.name;return this.previous?this.previous+" -> "+n:n}},v.exports=d},{}],29:[function(p,v,f){"use strict";var d=p("../utils"),l=p("./ConvertWorker"),n=p("./GenericWorker"),t=p("../base64"),a=p("../support"),o=p("../external"),r=null;if(a.nodestream)try{r=p("../nodejs/NodejsStreamOutputAdapter")}catch(s){}function c(s,u){return new o.Promise(function(h,g){var A=[],w=s._internalType,b=s._outputType,S=s._mimeType;s.on("data",function(_,T){A.push(_),u&&u(T)}).on("error",function(_){A=[],g(_)}).on("end",function(){try{var _=function(T,x,C){switch(T){case"blob":return d.newBlob(d.transformTo("arraybuffer",x),C);case"base64":return t.encode(x);default:return d.transformTo(T,x)}}(b,function(T,x){var C,I=0,L=null,M=0;for(C=0;C<x.length;C++)M+=x[C].length;switch(T){case"string":return x.join("");case"array":return Array.prototype.concat.apply([],x);case"uint8array":for(L=new Uint8Array(M),C=0;C<x.length;C++)L.set(x[C],I),I+=x[C].length;return L;case"nodebuffer":return y.concat(x);default:throw new Error("concat : unsupported type '"+T+"'")}}(w,A),S);h(_)}catch(T){g(T)}A=[]}).resume()})}function e(s,u,h){var g=u;switch(u){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=u,this._mimeType=h,d.checkSupport(g),this._worker=s.pipe(new l(g)),s.lock()}catch(A){this._worker=new n("error"),this._worker.error(A)}}e.prototype={accumulate:function(u){return c(this,u)},on:function(u,h){var g=this;return u==="data"?this._worker.on(u,function(A){h.call(g,A.data,A.meta)}):this._worker.on(u,function(){d.delay(h,arguments,g)}),this},resume:function(){return d.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(u){if(d.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new r(this,{objectMode:this._outputType!=="nodebuffer"},u)}},v.exports=e},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(p,v,f){"use strict";if(f.base64=!0,f.array=!0,f.string=!0,f.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",f.nodebuffer=typeof y!="undefined",f.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")f.blob=!1;else{var d=new ArrayBuffer(0);try{f.blob=new Blob([d],{type:"application/zip"}).size===0}catch(n){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(d),f.blob=l.getBlob("application/zip").size===0}catch(t){f.blob=!1}}}try{f.nodestream=!!p("readable-stream").Readable}catch(n){f.nodestream=!1}},{"readable-stream":16}],31:[function(p,v,f){"use strict";for(var d=p("./utils"),l=p("./support"),n=p("./nodejsUtils"),t=p("./stream/GenericWorker"),a=new Array(256),o=0;o<256;o++)a[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;a[254]=a[254]=1;function r(){t.call(this,"utf-8 decode"),this.leftOver=null}function c(){t.call(this,"utf-8 encode")}f.utf8encode=function(e){return l.nodebuffer?n.newBufferFrom(e,"utf-8"):function(s){var u,h,g,A,w,b=s.length,S=0;for(A=0;A<b;A++)(64512&(h=s.charCodeAt(A)))==55296&&A+1<b&&(64512&(g=s.charCodeAt(A+1)))==56320&&(h=65536+(h-55296<<10)+(g-56320),A++),S+=h<128?1:h<2048?2:h<65536?3:4;for(u=l.uint8array?new Uint8Array(S):new Array(S),A=w=0;w<S;A++)(64512&(h=s.charCodeAt(A)))==55296&&A+1<b&&(64512&(g=s.charCodeAt(A+1)))==56320&&(h=65536+(h-55296<<10)+(g-56320),A++),h<128?u[w++]=h:(h<2048?u[w++]=192|h>>>6:(h<65536?u[w++]=224|h>>>12:(u[w++]=240|h>>>18,u[w++]=128|h>>>12&63),u[w++]=128|h>>>6&63),u[w++]=128|63&h);return u}(e)},f.utf8decode=function(e){return l.nodebuffer?d.transformTo("nodebuffer",e).toString("utf-8"):function(s){var u,h,g,A,w=s.length,b=new Array(2*w);for(u=h=0;u<w;)if((g=s[u++])<128)b[h++]=g;else if(4<(A=a[g]))b[h++]=65533,u+=A-1;else{for(g&=A===2?31:A===3?15:7;1<A&&u<w;)g=g<<6|63&s[u++],A--;1<A?b[h++]=65533:g<65536?b[h++]=g:(g-=65536,b[h++]=55296|g>>10&1023,b[h++]=56320|1023&g)}return b.length!==h&&(b.subarray?b=b.subarray(0,h):b.length=h),d.applyFromCharCode(b)}(e=d.transformTo(l.uint8array?"uint8array":"array",e))},d.inherits(r,t),r.prototype.processChunk=function(e){var s=d.transformTo(l.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var u=s;(s=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),s.set(u,this.leftOver.length)}else s=this.leftOver.concat(s);this.leftOver=null}var h=function(A,w){var b;for((w=w||A.length)>A.length&&(w=A.length),b=w-1;0<=b&&(192&A[b])==128;)b--;return b<0||b===0?w:b+a[A[b]]>w?b:w}(s),g=s;h!==s.length&&(l.uint8array?(g=s.subarray(0,h),this.leftOver=s.subarray(h,s.length)):(g=s.slice(0,h),this.leftOver=s.slice(h,s.length))),this.push({data:f.utf8decode(g),meta:e.meta})},r.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:f.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},f.Utf8DecodeWorker=r,d.inherits(c,t),c.prototype.processChunk=function(e){this.push({data:f.utf8encode(e.data),meta:e.meta})},f.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(p,v,f){"use strict";var d=p("./support"),l=p("./base64"),n=p("./nodejsUtils"),t=p("set-immediate-shim"),a=p("./external");function o(h){return h}function r(h,g){for(var A=0;A<h.length;++A)g[A]=255&h.charCodeAt(A);return g}f.newBlob=function(h,g){f.checkSupport("blob");try{return new Blob([h],{type:g})}catch(w){try{var A=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return A.append(h),A.getBlob(g)}catch(b){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(g,A,w){var b=[],S=0,_=g.length;if(_<=w)return String.fromCharCode.apply(null,g);for(;S<_;)A==="array"||A==="nodebuffer"?b.push(String.fromCharCode.apply(null,g.slice(S,Math.min(S+w,_)))):b.push(String.fromCharCode.apply(null,g.subarray(S,Math.min(S+w,_)))),S+=w;return b.join("")},stringifyByChar:function(g){for(var A="",w=0;w<g.length;w++)A+=String.fromCharCode(g[w]);return A},applyCanBeUsed:{uint8array:function(){try{return d.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(h){return!1}}(),nodebuffer:function(){try{return d.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch(h){return!1}}()}};function e(h){var g=65536,A=f.getTypeOf(h),w=!0;if(A==="uint8array"?w=c.applyCanBeUsed.uint8array:A==="nodebuffer"&&(w=c.applyCanBeUsed.nodebuffer),w)for(;1<g;)try{return c.stringifyByChunk(h,A,g)}catch(b){g=Math.floor(g/2)}return c.stringifyByChar(h)}function s(h,g){for(var A=0;A<h.length;A++)g[A]=h[A];return g}f.applyFromCharCode=e;var u={};u.string={string:o,array:function(g){return r(g,new Array(g.length))},arraybuffer:function(g){return u.string.uint8array(g).buffer},uint8array:function(g){return r(g,new Uint8Array(g.length))},nodebuffer:function(g){return r(g,n.allocBuffer(g.length))}},u.array={string:e,array:o,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return n.newBufferFrom(g)}},u.arraybuffer={string:function(g){return e(new Uint8Array(g))},array:function(g){return s(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:o,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return n.newBufferFrom(new Uint8Array(g))}},u.uint8array={string:e,array:function(g){return s(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:o,nodebuffer:function(g){return n.newBufferFrom(g)}},u.nodebuffer={string:e,array:function(g){return s(g,new Array(g.length))},arraybuffer:function(g){return u.nodebuffer.uint8array(g).buffer},uint8array:function(g){return s(g,new Uint8Array(g.length))},nodebuffer:o},f.transformTo=function(h,g){if(g=g||"",!h)return g;f.checkSupport(h);var A=f.getTypeOf(g);return u[A][h](g)},f.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":d.nodebuffer&&n.isBuffer(h)?"nodebuffer":d.uint8array&&h instanceof Uint8Array?"uint8array":d.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},f.checkSupport=function(h){if(!d[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},f.MAX_VALUE_16BITS=65535,f.MAX_VALUE_32BITS=-1,f.pretty=function(h){var g,A,w="";for(A=0;A<(h||"").length;A++)w+="\\x"+((g=h.charCodeAt(A))<16?"0":"")+g.toString(16).toUpperCase();return w},f.delay=function(h,g,A){t(function(){h.apply(A||null,g||[])})},f.inherits=function(h,g){function A(){}A.prototype=g.prototype,h.prototype=new A},f.extend=function(){var h,g,A={};for(h=0;h<arguments.length;h++)for(g in arguments[h])arguments[h].hasOwnProperty(g)&&A[g]===void 0&&(A[g]=arguments[h][g]);return A},f.prepareContent=function(h,g,A,w,b){return a.Promise.resolve(g).then(function(S){return d.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader!="undefined"?new a.Promise(function(_,T){var x=new FileReader;x.onload=function(C){_(C.target.result)},x.onerror=function(C){T(C.target.error)},x.readAsArrayBuffer(S)}):S}).then(function(S){var _=f.getTypeOf(S);return _?(_==="arraybuffer"?S=f.transformTo("uint8array",S):_==="string"&&(b?S=l.decode(S):A&&w!==!0&&(S=function(T){return r(T,d.uint8array?new Uint8Array(T.length):new Array(T.length))}(S))),S):a.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(p,v,f){"use strict";var d=p("./reader/readerFor"),l=p("./utils"),n=p("./signature"),t=p("./zipEntry"),a=(p("./utf8"),p("./support"));function o(r){this.files=[],this.loadOptions=r}o.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(e)+", expected "+l.pretty(c)+")")}},isSignature:function(c,e){var s=this.reader.index;this.reader.setIndex(c);var u=this.reader.readString(4)===e;return this.reader.setIndex(s),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),e=a.uint8array?"uint8array":"array",s=l.transformTo(e,c);this.zipComment=this.loadOptions.decodeFileName(s)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,e,s,u=this.zip64EndOfCentralSize-44;0<u;)c=this.reader.readInt(2),e=this.reader.readInt(4),s=this.reader.readData(e),this.zip64ExtensibleData[c]={id:c,length:e,value:s}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,e;for(c=0;c<this.files.length;c++)e=this.files[c],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(c=new t({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var e=c;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var s=this.centralDirOffset+this.centralDirSize;this.zip64&&(s+=20,s+=12+this.zip64EndOfCentralSize);var u=e-s;if(0<u)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(c){this.reader=d(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},v.exports=o},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(p,v,f){"use strict";var d=p("./reader/readerFor"),l=p("./utils"),n=p("./compressedObject"),t=p("./crc32"),a=p("./utf8"),o=p("./compressions"),r=p("./support");function c(e,s){this.options=e,this.loadOptions=s}c.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(s){var u,h;if(s.skip(22),this.fileNameLength=s.readInt(2),h=s.readInt(2),this.fileName=s.readData(this.fileNameLength),s.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((u=function(g){for(var A in o)if(o.hasOwnProperty(A)&&o[A].magic===g)return o[A];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,u,s.readData(this.compressedSize))},readCentralPart:function(s){this.versionMadeBy=s.readInt(2),s.skip(2),this.bitFlag=s.readInt(2),this.compressionMethod=s.readString(2),this.date=s.readDate(),this.crc32=s.readInt(4),this.compressedSize=s.readInt(4),this.uncompressedSize=s.readInt(4);var u=s.readInt(2);if(this.extraFieldsLength=s.readInt(2),this.fileCommentLength=s.readInt(2),this.diskNumberStart=s.readInt(2),this.internalFileAttributes=s.readInt(2),this.externalFileAttributes=s.readInt(4),this.localHeaderOffset=s.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");s.skip(u),this.readExtraFields(s),this.parseZIP64ExtraField(s),this.fileComment=s.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var s=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),s==0&&(this.dosPermissions=63&this.externalFileAttributes),s==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(s){if(this.extraFields[1]){var u=d(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=u.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=u.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=u.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=u.readInt(4))}},readExtraFields:function(s){var u,h,g,A=s.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});s.index+4<A;)u=s.readInt(2),h=s.readInt(2),g=s.readData(h),this.extraFields[u]={id:u,length:h,value:g};s.setIndex(A)},handleUTF8:function(){var s=r.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var u=this.findExtraFieldUnicodePath();if(u!==null)this.fileNameStr=u;else{var h=l.transformTo(s,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var A=l.transformTo(s,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(A)}}},findExtraFieldUnicodePath:function(){var s=this.extraFields[28789];if(s){var u=d(s.value);return u.readInt(1)!==1||t(this.fileName)!==u.readInt(4)?null:a.utf8decode(u.readData(s.length-5))}return null},findExtraFieldUnicodeComment:function(){var s=this.extraFields[25461];if(s){var u=d(s.value);return u.readInt(1)!==1||t(this.fileComment)!==u.readInt(4)?null:a.utf8decode(u.readData(s.length-5))}return null}},v.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(p,v,f){"use strict";function d(s,u,h){this.name=s,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=u,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var l=p("./stream/StreamHelper"),n=p("./stream/DataWorker"),t=p("./utf8"),a=p("./compressedObject"),o=p("./stream/GenericWorker");d.prototype={internalStream:function(u){var h=null,g="string";try{if(!u)throw new Error("No output type specified.");var A=(g=u.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),h=this._decompressWorker();var w=!this._dataBinary;w&&!A&&(h=h.pipe(new t.Utf8EncodeWorker)),!w&&A&&(h=h.pipe(new t.Utf8DecodeWorker))}catch(b){(h=new o("error")).error(b)}return new l(h,g,"")},async:function(u,h){return this.internalStream(u).accumulate(h)},nodeStream:function(u,h){return this.internalStream(u||"nodebuffer").toNodejsStream(h)},_compressWorker:function(u,h){if(this._data instanceof a&&this._data.compression.magic===u.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new t.Utf8EncodeWorker)),a.createWorkerFrom(g,u,h)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof o?this._data:new n(this._data)}};for(var r=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},e=0;e<r.length;e++)d.prototype[r[e]]=c;v.exports=d},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(p,v,f){(function(d){"use strict";var l,n,t=d.MutationObserver||d.WebKitMutationObserver;if(t){var a=0,o=new t(s),r=d.document.createTextNode("");o.observe(r,{characterData:!0}),l=function(){r.data=a=++a%2}}else if(d.setImmediate||d.MessageChannel===void 0)l="document"in d&&"onreadystatechange"in d.document.createElement("script")?function(){var u=d.document.createElement("script");u.onreadystatechange=function(){s(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},d.document.documentElement.appendChild(u)}:function(){setTimeout(s,0)};else{var c=new d.MessageChannel;c.port1.onmessage=s,l=function(){c.port2.postMessage(0)}}var e=[];function s(){var u,h;n=!0;for(var g=e.length;g;){for(h=e,e=[],u=-1;++u<g;)h[u]();g=e.length}n=!1}v.exports=function(u){e.push(u)!==1||n||l()}}).call(this,typeof m!="undefined"?m:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(p,v,f){"use strict";var d=p("immediate");function l(){}var n={},t=["REJECTED"],a=["FULFILLED"],o=["PENDING"];function r(g){if(typeof g!="function")throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,g!==l&&u(this,g)}function c(g,A,w){this.promise=g,typeof A=="function"&&(this.onFulfilled=A,this.callFulfilled=this.otherCallFulfilled),typeof w=="function"&&(this.onRejected=w,this.callRejected=this.otherCallRejected)}function e(g,A,w){d(function(){var b;try{b=A(w)}catch(S){return n.reject(g,S)}b===g?n.reject(g,new TypeError("Cannot resolve promise with itself")):n.resolve(g,b)})}function s(g){var A=g&&g.then;if(g&&(typeof g=="object"||typeof g=="function")&&typeof A=="function")return function(){A.apply(g,arguments)}}function u(g,A){var w=!1;function b(T){w||(w=!0,n.reject(g,T))}function S(T){w||(w=!0,n.resolve(g,T))}var _=h(function(){A(S,b)});_.status==="error"&&b(_.value)}function h(g,A){var w={};try{w.value=g(A),w.status="success"}catch(b){w.status="error",w.value=b}return w}(v.exports=r).prototype.finally=function(g){if(typeof g!="function")return this;var A=this.constructor;return this.then(function(w){return A.resolve(g()).then(function(){return w})},function(w){return A.resolve(g()).then(function(){throw w})})},r.prototype.catch=function(g){return this.then(null,g)},r.prototype.then=function(g,A){if(typeof g!="function"&&this.state===a||typeof A!="function"&&this.state===t)return this;var w=new this.constructor(l);return this.state!==o?e(w,this.state===a?g:A,this.outcome):this.queue.push(new c(w,g,A)),w},c.prototype.callFulfilled=function(g){n.resolve(this.promise,g)},c.prototype.otherCallFulfilled=function(g){e(this.promise,this.onFulfilled,g)},c.prototype.callRejected=function(g){n.reject(this.promise,g)},c.prototype.otherCallRejected=function(g){e(this.promise,this.onRejected,g)},n.resolve=function(g,A){var w=h(s,A);if(w.status==="error")return n.reject(g,w.value);var b=w.value;if(b)u(g,b);else{g.state=a,g.outcome=A;for(var S=-1,_=g.queue.length;++S<_;)g.queue[S].callFulfilled(A)}return g},n.reject=function(g,A){g.state=t,g.outcome=A;for(var w=-1,b=g.queue.length;++w<b;)g.queue[w].callRejected(A);return g},r.resolve=function(g){return g instanceof this?g:n.resolve(new this(l),g)},r.reject=function(g){var A=new this(l);return n.reject(A,g)},r.all=function(g){var A=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=g.length,b=!1;if(!w)return this.resolve([]);for(var S=new Array(w),_=0,T=-1,x=new this(l);++T<w;)C(g[T],T);return x;function C(I,L){A.resolve(I).then(function(M){S[L]=M,++_!==w||b||(b=!0,n.resolve(x,S))},function(M){b||(b=!0,n.reject(x,M))})}},r.race=function(g){var A=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=g.length,b=!1;if(!w)return this.resolve([]);for(var S=-1,_=new this(l);++S<w;)T=g[S],A.resolve(T).then(function(x){b||(b=!0,n.resolve(_,x))},function(x){b||(b=!0,n.reject(_,x))});var T;return _}},{immediate:36}],38:[function(p,v,f){"use strict";var d={};(0,p("./lib/utils/common").assign)(d,p("./lib/deflate"),p("./lib/inflate"),p("./lib/zlib/constants")),v.exports=d},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(p,v,f){"use strict";var d=p("./zlib/deflate"),l=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/messages"),a=p("./zlib/zstream"),o=Object.prototype.toString,r=0,c=-1,e=0,s=8;function u(g){if(!(this instanceof u))return new u(g);this.options=l.assign({level:c,method:s,chunkSize:16384,windowBits:15,memLevel:8,strategy:e,to:""},g||{});var A=this.options;A.raw&&0<A.windowBits?A.windowBits=-A.windowBits:A.gzip&&0<A.windowBits&&A.windowBits<16&&(A.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var w=d.deflateInit2(this.strm,A.level,A.method,A.windowBits,A.memLevel,A.strategy);if(w!==r)throw new Error(t[w]);if(A.header&&d.deflateSetHeader(this.strm,A.header),A.dictionary){var b;if(b=typeof A.dictionary=="string"?n.string2buf(A.dictionary):o.call(A.dictionary)==="[object ArrayBuffer]"?new Uint8Array(A.dictionary):A.dictionary,(w=d.deflateSetDictionary(this.strm,b))!==r)throw new Error(t[w]);this._dict_set=!0}}function h(g,A){var w=new u(A);if(w.push(g,!0),w.err)throw w.msg||t[w.err];return w.result}u.prototype.push=function(g,A){var w,b,S=this.strm,_=this.options.chunkSize;if(this.ended)return!1;b=A===~~A?A:A===!0?4:0,typeof g=="string"?S.input=n.string2buf(g):o.call(g)==="[object ArrayBuffer]"?S.input=new Uint8Array(g):S.input=g,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new l.Buf8(_),S.next_out=0,S.avail_out=_),(w=d.deflate(S,b))!==1&&w!==r)return this.onEnd(w),!(this.ended=!0);S.avail_out!==0&&(S.avail_in!==0||b!==4&&b!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(l.shrinkBuf(S.output,S.next_out))):this.onData(l.shrinkBuf(S.output,S.next_out)))}while((0<S.avail_in||S.avail_out===0)&&w!==1);return b===4?(w=d.deflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===r):b!==2||(this.onEnd(r),!(S.avail_out=0))},u.prototype.onData=function(g){this.chunks.push(g)},u.prototype.onEnd=function(g){g===r&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},f.Deflate=u,f.deflate=h,f.deflateRaw=function(g,A){return(A=A||{}).raw=!0,h(g,A)},f.gzip=function(g,A){return(A=A||{}).gzip=!0,h(g,A)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(p,v,f){"use strict";var d=p("./zlib/inflate"),l=p("./utils/common"),n=p("./utils/strings"),t=p("./zlib/constants"),a=p("./zlib/messages"),o=p("./zlib/zstream"),r=p("./zlib/gzheader"),c=Object.prototype.toString;function e(u){if(!(this instanceof e))return new e(u);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},u||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||u&&u.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var g=d.inflateInit2(this.strm,h.windowBits);if(g!==t.Z_OK)throw new Error(a[g]);this.header=new r,d.inflateGetHeader(this.strm,this.header)}function s(u,h){var g=new e(h);if(g.push(u,!0),g.err)throw g.msg||a[g.err];return g.result}e.prototype.push=function(u,h){var g,A,w,b,S,_,T=this.strm,x=this.options.chunkSize,C=this.options.dictionary,I=!1;if(this.ended)return!1;A=h===~~h?h:h===!0?t.Z_FINISH:t.Z_NO_FLUSH,typeof u=="string"?T.input=n.binstring2buf(u):c.call(u)==="[object ArrayBuffer]"?T.input=new Uint8Array(u):T.input=u,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new l.Buf8(x),T.next_out=0,T.avail_out=x),(g=d.inflate(T,t.Z_NO_FLUSH))===t.Z_NEED_DICT&&C&&(_=typeof C=="string"?n.string2buf(C):c.call(C)==="[object ArrayBuffer]"?new Uint8Array(C):C,g=d.inflateSetDictionary(this.strm,_)),g===t.Z_BUF_ERROR&&I===!0&&(g=t.Z_OK,I=!1),g!==t.Z_STREAM_END&&g!==t.Z_OK)return this.onEnd(g),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&g!==t.Z_STREAM_END&&(T.avail_in!==0||A!==t.Z_FINISH&&A!==t.Z_SYNC_FLUSH)||(this.options.to==="string"?(w=n.utf8border(T.output,T.next_out),b=T.next_out-w,S=n.buf2string(T.output,w),T.next_out=b,T.avail_out=x-b,b&&l.arraySet(T.output,T.output,w,b,0),this.onData(S)):this.onData(l.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(I=!0)}while((0<T.avail_in||T.avail_out===0)&&g!==t.Z_STREAM_END);return g===t.Z_STREAM_END&&(A=t.Z_FINISH),A===t.Z_FINISH?(g=d.inflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===t.Z_OK):A!==t.Z_SYNC_FLUSH||(this.onEnd(t.Z_OK),!(T.avail_out=0))},e.prototype.onData=function(u){this.chunks.push(u)},e.prototype.onEnd=function(u){u===t.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},f.Inflate=e,f.inflate=s,f.inflateRaw=function(u,h){return(h=h||{}).raw=!0,s(u,h)},f.ungzip=s},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(p,v,f){"use strict";var d=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";f.assign=function(t){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var o=a.shift();if(o){if(typeof o!="object")throw new TypeError(o+"must be non-object");for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])}}return t},f.shrinkBuf=function(t,a){return t.length===a?t:t.subarray?t.subarray(0,a):(t.length=a,t)};var l={arraySet:function(a,o,r,c,e){if(o.subarray&&a.subarray)a.set(o.subarray(r,r+c),e);else for(var s=0;s<c;s++)a[e+s]=o[r+s]},flattenChunks:function(a){var o,r,c,e,s,u;for(o=c=0,r=a.length;o<r;o++)c+=a[o].length;for(u=new Uint8Array(c),o=e=0,r=a.length;o<r;o++)s=a[o],u.set(s,e),e+=s.length;return u}},n={arraySet:function(a,o,r,c,e){for(var s=0;s<c;s++)a[e+s]=o[r+s]},flattenChunks:function(a){return[].concat.apply([],a)}};f.setTyped=function(t){t?(f.Buf8=Uint8Array,f.Buf16=Uint16Array,f.Buf32=Int32Array,f.assign(f,l)):(f.Buf8=Array,f.Buf16=Array,f.Buf32=Array,f.assign(f,n))},f.setTyped(d)},{}],42:[function(p,v,f){"use strict";var d=p("./common"),l=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(r){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(r){n=!1}for(var t=new d.Buf8(256),a=0;a<256;a++)t[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function o(r,c){if(c<65537&&(r.subarray&&n||!r.subarray&&l))return String.fromCharCode.apply(null,d.shrinkBuf(r,c));for(var e="",s=0;s<c;s++)e+=String.fromCharCode(r[s]);return e}t[254]=t[254]=1,f.string2buf=function(r){var c,e,s,u,h,g=r.length,A=0;for(u=0;u<g;u++)(64512&(e=r.charCodeAt(u)))==55296&&u+1<g&&(64512&(s=r.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(s-56320),u++),A+=e<128?1:e<2048?2:e<65536?3:4;for(c=new d.Buf8(A),u=h=0;h<A;u++)(64512&(e=r.charCodeAt(u)))==55296&&u+1<g&&(64512&(s=r.charCodeAt(u+1)))==56320&&(e=65536+(e-55296<<10)+(s-56320),u++),e<128?c[h++]=e:(e<2048?c[h++]=192|e>>>6:(e<65536?c[h++]=224|e>>>12:(c[h++]=240|e>>>18,c[h++]=128|e>>>12&63),c[h++]=128|e>>>6&63),c[h++]=128|63&e);return c},f.buf2binstring=function(r){return o(r,r.length)},f.binstring2buf=function(r){for(var c=new d.Buf8(r.length),e=0,s=c.length;e<s;e++)c[e]=r.charCodeAt(e);return c},f.buf2string=function(r,c){var e,s,u,h,g=c||r.length,A=new Array(2*g);for(e=s=0;e<g;)if((u=r[e++])<128)A[s++]=u;else if(4<(h=t[u]))A[s++]=65533,e+=h-1;else{for(u&=h===2?31:h===3?15:7;1<h&&e<g;)u=u<<6|63&r[e++],h--;1<h?A[s++]=65533:u<65536?A[s++]=u:(u-=65536,A[s++]=55296|u>>10&1023,A[s++]=56320|1023&u)}return o(A,s)},f.utf8border=function(r,c){var e;for((c=c||r.length)>r.length&&(c=r.length),e=c-1;0<=e&&(192&r[e])==128;)e--;return e<0||e===0?c:e+t[r[e]]>c?e:c}},{"./common":41}],43:[function(p,v,f){"use strict";v.exports=function(d,l,n,t){for(var a=65535&d|0,o=d>>>16&65535|0,r=0;n!==0;){for(n-=r=2e3<n?2e3:n;o=o+(a=a+l[t++]|0)|0,--r;);a%=65521,o%=65521}return a|o<<16|0}},{}],44:[function(p,v,f){"use strict";v.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(p,v,f){"use strict";var d=function(){for(var l,n=[],t=0;t<256;t++){l=t;for(var a=0;a<8;a++)l=1&l?3988292384^l>>>1:l>>>1;n[t]=l}return n}();v.exports=function(l,n,t,a){var o=d,r=a+t;l^=-1;for(var c=a;c<r;c++)l=l>>>8^o[255&(l^n[c])];return-1^l}},{}],46:[function(p,v,f){"use strict";var d,l=p("../utils/common"),n=p("./trees"),t=p("./adler32"),a=p("./crc32"),o=p("./messages"),r=0,c=4,e=0,s=-2,u=-1,h=4,g=2,A=8,w=9,b=286,S=30,_=19,T=2*b+1,x=15,C=3,I=258,L=I+C+1,M=42,k=113,R=1,j=2,V=3,D=4;function H(Q,ae){return Q.msg=o[ae],ae}function P(Q){return(Q<<1)-(4<Q?9:0)}function K(Q){for(var ae=Q.length;0<=--ae;)Q[ae]=0}function U(Q){var ae=Q.state,Ue=ae.pending;Ue>Q.avail_out&&(Ue=Q.avail_out),Ue!==0&&(l.arraySet(Q.output,ae.pending_buf,ae.pending_out,Ue,Q.next_out),Q.next_out+=Ue,ae.pending_out+=Ue,Q.total_out+=Ue,Q.avail_out-=Ue,ae.pending-=Ue,ae.pending===0&&(ae.pending_out=0))}function G(Q,ae){n._tr_flush_block(Q,0<=Q.block_start?Q.block_start:-1,Q.strstart-Q.block_start,ae),Q.block_start=Q.strstart,U(Q.strm)}function W(Q,ae){Q.pending_buf[Q.pending++]=ae}function Z(Q,ae){Q.pending_buf[Q.pending++]=ae>>>8&255,Q.pending_buf[Q.pending++]=255&ae}function J(Q,ae){var Ue,te,X=Q.max_chain_length,z=Q.strstart,Y=Q.prev_length,pe=Q.nice_match,se=Q.strstart>Q.w_size-L?Q.strstart-(Q.w_size-L):0,Te=Q.window,Se=Q.w_mask,ie=Q.prev,de=Q.strstart+I,_e=Te[z+Y-1],We=Te[z+Y];Q.prev_length>=Q.good_match&&(X>>=2),pe>Q.lookahead&&(pe=Q.lookahead);do if(Te[(Ue=ae)+Y]===We&&Te[Ue+Y-1]===_e&&Te[Ue]===Te[z]&&Te[++Ue]===Te[z+1]){z+=2,Ue++;do;while(Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&Te[++z]===Te[++Ue]&&z<de);if(te=I-(de-z),z=de-I,Y<te){if(Q.match_start=ae,pe<=(Y=te))break;_e=Te[z+Y-1],We=Te[z+Y]}}while((ae=ie[ae&Se])>se&&--X!=0);return Y<=Q.lookahead?Y:Q.lookahead}function ve(Q){var ae,Ue,te,X,z,Y,pe,se,Te,Se,ie=Q.w_size;do{if(X=Q.window_size-Q.lookahead-Q.strstart,Q.strstart>=ie+(ie-L)){for(l.arraySet(Q.window,Q.window,ie,ie,0),Q.match_start-=ie,Q.strstart-=ie,Q.block_start-=ie,ae=Ue=Q.hash_size;te=Q.head[--ae],Q.head[ae]=ie<=te?te-ie:0,--Ue;);for(ae=Ue=ie;te=Q.prev[--ae],Q.prev[ae]=ie<=te?te-ie:0,--Ue;);X+=ie}if(Q.strm.avail_in===0)break;if(Y=Q.strm,pe=Q.window,se=Q.strstart+Q.lookahead,Te=X,Se=void 0,Se=Y.avail_in,Te<Se&&(Se=Te),Ue=Se===0?0:(Y.avail_in-=Se,l.arraySet(pe,Y.input,Y.next_in,Se,se),Y.state.wrap===1?Y.adler=t(Y.adler,pe,Se,se):Y.state.wrap===2&&(Y.adler=a(Y.adler,pe,Se,se)),Y.next_in+=Se,Y.total_in+=Se,Se),Q.lookahead+=Ue,Q.lookahead+Q.insert>=C)for(z=Q.strstart-Q.insert,Q.ins_h=Q.window[z],Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[z+1])&Q.hash_mask;Q.insert&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[z+C-1])&Q.hash_mask,Q.prev[z&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=z,z++,Q.insert--,!(Q.lookahead+Q.insert<C)););}while(Q.lookahead<L&&Q.strm.avail_in!==0)}function q(Q,ae){for(var Ue,te;;){if(Q.lookahead<L){if(ve(Q),Q.lookahead<L&&ae===r)return R;if(Q.lookahead===0)break}if(Ue=0,Q.lookahead>=C&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+C-1])&Q.hash_mask,Ue=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),Ue!==0&&Q.strstart-Ue<=Q.w_size-L&&(Q.match_length=J(Q,Ue)),Q.match_length>=C)if(te=n._tr_tally(Q,Q.strstart-Q.match_start,Q.match_length-C),Q.lookahead-=Q.match_length,Q.match_length<=Q.max_lazy_match&&Q.lookahead>=C){for(Q.match_length--;Q.strstart++,Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+C-1])&Q.hash_mask,Ue=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart,--Q.match_length!=0;);Q.strstart++}else Q.strstart+=Q.match_length,Q.match_length=0,Q.ins_h=Q.window[Q.strstart],Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+1])&Q.hash_mask;else te=n._tr_tally(Q,0,Q.window[Q.strstart]),Q.lookahead--,Q.strstart++;if(te&&(G(Q,!1),Q.strm.avail_out===0))return R}return Q.insert=Q.strstart<C-1?Q.strstart:C-1,ae===c?(G(Q,!0),Q.strm.avail_out===0?V:D):Q.last_lit&&(G(Q,!1),Q.strm.avail_out===0)?R:j}function ce(Q,ae){for(var Ue,te,X;;){if(Q.lookahead<L){if(ve(Q),Q.lookahead<L&&ae===r)return R;if(Q.lookahead===0)break}if(Ue=0,Q.lookahead>=C&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+C-1])&Q.hash_mask,Ue=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),Q.prev_length=Q.match_length,Q.prev_match=Q.match_start,Q.match_length=C-1,Ue!==0&&Q.prev_length<Q.max_lazy_match&&Q.strstart-Ue<=Q.w_size-L&&(Q.match_length=J(Q,Ue),Q.match_length<=5&&(Q.strategy===1||Q.match_length===C&&4096<Q.strstart-Q.match_start)&&(Q.match_length=C-1)),Q.prev_length>=C&&Q.match_length<=Q.prev_length){for(X=Q.strstart+Q.lookahead-C,te=n._tr_tally(Q,Q.strstart-1-Q.prev_match,Q.prev_length-C),Q.lookahead-=Q.prev_length-1,Q.prev_length-=2;++Q.strstart<=X&&(Q.ins_h=(Q.ins_h<<Q.hash_shift^Q.window[Q.strstart+C-1])&Q.hash_mask,Ue=Q.prev[Q.strstart&Q.w_mask]=Q.head[Q.ins_h],Q.head[Q.ins_h]=Q.strstart),--Q.prev_length!=0;);if(Q.match_available=0,Q.match_length=C-1,Q.strstart++,te&&(G(Q,!1),Q.strm.avail_out===0))return R}else if(Q.match_available){if((te=n._tr_tally(Q,0,Q.window[Q.strstart-1]))&&G(Q,!1),Q.strstart++,Q.lookahead--,Q.strm.avail_out===0)return R}else Q.match_available=1,Q.strstart++,Q.lookahead--}return Q.match_available&&(te=n._tr_tally(Q,0,Q.window[Q.strstart-1]),Q.match_available=0),Q.insert=Q.strstart<C-1?Q.strstart:C-1,ae===c?(G(Q,!0),Q.strm.avail_out===0?V:D):Q.last_lit&&(G(Q,!1),Q.strm.avail_out===0)?R:j}function be(Q,ae,Ue,te,X){this.good_length=Q,this.max_lazy=ae,this.nice_length=Ue,this.max_chain=te,this.func=X}function Ce(){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=A,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 l.Buf16(2*T),this.dyn_dtree=new l.Buf16(2*(2*S+1)),this.bl_tree=new l.Buf16(2*(2*_+1)),K(this.dyn_ltree),K(this.dyn_dtree),K(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(x+1),this.heap=new l.Buf16(2*b+1),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*b+1),K(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 Fe(Q){var ae;return Q&&Q.state?(Q.total_in=Q.total_out=0,Q.data_type=g,(ae=Q.state).pending=0,ae.pending_out=0,ae.wrap<0&&(ae.wrap=-ae.wrap),ae.status=ae.wrap?M:k,Q.adler=ae.wrap===2?0:1,ae.last_flush=r,n._tr_init(ae),e):H(Q,s)}function fe(Q){var ae=Fe(Q);return ae===e&&function(Ue){Ue.window_size=2*Ue.w_size,K(Ue.head),Ue.max_lazy_match=d[Ue.level].max_lazy,Ue.good_match=d[Ue.level].good_length,Ue.nice_match=d[Ue.level].nice_length,Ue.max_chain_length=d[Ue.level].max_chain,Ue.strstart=0,Ue.block_start=0,Ue.lookahead=0,Ue.insert=0,Ue.match_length=Ue.prev_length=C-1,Ue.match_available=0,Ue.ins_h=0}(Q.state),ae}function Ne(Q,ae,Ue,te,X,z){if(!Q)return s;var Y=1;if(ae===u&&(ae=6),te<0?(Y=0,te=-te):15<te&&(Y=2,te-=16),X<1||w<X||Ue!==A||te<8||15<te||ae<0||9<ae||z<0||h<z)return H(Q,s);te===8&&(te=9);var pe=new Ce;return(Q.state=pe).strm=Q,pe.wrap=Y,pe.gzhead=null,pe.w_bits=te,pe.w_size=1<<pe.w_bits,pe.w_mask=pe.w_size-1,pe.hash_bits=X+7,pe.hash_size=1<<pe.hash_bits,pe.hash_mask=pe.hash_size-1,pe.hash_shift=~~((pe.hash_bits+C-1)/C),pe.window=new l.Buf8(2*pe.w_size),pe.head=new l.Buf16(pe.hash_size),pe.prev=new l.Buf16(pe.w_size),pe.lit_bufsize=1<<X+6,pe.pending_buf_size=4*pe.lit_bufsize,pe.pending_buf=new l.Buf8(pe.pending_buf_size),pe.d_buf=1*pe.lit_bufsize,pe.l_buf=3*pe.lit_bufsize,pe.level=ae,pe.strategy=z,pe.method=Ue,fe(Q)}d=[new be(0,0,0,0,function(Q,ae){var Ue=65535;for(Ue>Q.pending_buf_size-5&&(Ue=Q.pending_buf_size-5);;){if(Q.lookahead<=1){if(ve(Q),Q.lookahead===0&&ae===r)return R;if(Q.lookahead===0)break}Q.strstart+=Q.lookahead,Q.lookahead=0;var te=Q.block_start+Ue;if((Q.strstart===0||Q.strstart>=te)&&(Q.lookahead=Q.strstart-te,Q.strstart=te,G(Q,!1),Q.strm.avail_out===0))return R;if(Q.strstart-Q.block_start>=Q.w_size-L&&(G(Q,!1),Q.strm.avail_out===0))return R}return Q.insert=0,ae===c?(G(Q,!0),Q.strm.avail_out===0?V:D):(Q.strstart>Q.block_start&&(G(Q,!1),Q.strm.avail_out),R)}),new be(4,4,8,4,q),new be(4,5,16,8,q),new be(4,6,32,32,q),new be(4,4,16,16,ce),new be(8,16,32,32,ce),new be(8,16,128,128,ce),new be(8,32,128,256,ce),new be(32,128,258,1024,ce),new be(32,258,258,4096,ce)],f.deflateInit=function(Q,ae){return Ne(Q,ae,A,15,8,0)},f.deflateInit2=Ne,f.deflateReset=fe,f.deflateResetKeep=Fe,f.deflateSetHeader=function(Q,ae){return Q&&Q.state?Q.state.wrap!==2?s:(Q.state.gzhead=ae,e):s},f.deflate=function(Q,ae){var Ue,te,X,z;if(!Q||!Q.state||5<ae||ae<0)return Q?H(Q,s):s;if(te=Q.state,!Q.output||!Q.input&&Q.avail_in!==0||te.status===666&&ae!==c)return H(Q,Q.avail_out===0?-5:s);if(te.strm=Q,Ue=te.last_flush,te.last_flush=ae,te.status===M)if(te.wrap===2)Q.adler=0,W(te,31),W(te,139),W(te,8),te.gzhead?(W(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),W(te,255&te.gzhead.time),W(te,te.gzhead.time>>8&255),W(te,te.gzhead.time>>16&255),W(te,te.gzhead.time>>24&255),W(te,te.level===9?2:2<=te.strategy||te.level<2?4:0),W(te,255&te.gzhead.os),te.gzhead.extra&&te.gzhead.extra.length&&(W(te,255&te.gzhead.extra.length),W(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(Q.adler=a(Q.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=69):(W(te,0),W(te,0),W(te,0),W(te,0),W(te,0),W(te,te.level===9?2:2<=te.strategy||te.level<2?4:0),W(te,3),te.status=k);else{var Y=A+(te.w_bits-8<<4)<<8;Y|=(2<=te.strategy||te.level<2?0:te.level<6?1:te.level===6?2:3)<<6,te.strstart!==0&&(Y|=32),Y+=31-Y%31,te.status=k,Z(te,Y),te.strstart!==0&&(Z(te,Q.adler>>>16),Z(te,65535&Q.adler)),Q.adler=1}if(te.status===69)if(te.gzhead.extra){for(X=te.pending;te.gzindex<(65535&te.gzhead.extra.length)&&(te.pending!==te.pending_buf_size||(te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),U(Q),X=te.pending,te.pending!==te.pending_buf_size));)W(te,255&te.gzhead.extra[te.gzindex]),te.gzindex++;te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),te.gzindex===te.gzhead.extra.length&&(te.gzindex=0,te.status=73)}else te.status=73;if(te.status===73)if(te.gzhead.name){X=te.pending;do{if(te.pending===te.pending_buf_size&&(te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),U(Q),X=te.pending,te.pending===te.pending_buf_size)){z=1;break}z=te.gzindex<te.gzhead.name.length?255&te.gzhead.name.charCodeAt(te.gzindex++):0,W(te,z)}while(z!==0);te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),z===0&&(te.gzindex=0,te.status=91)}else te.status=91;if(te.status===91)if(te.gzhead.comment){X=te.pending;do{if(te.pending===te.pending_buf_size&&(te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),U(Q),X=te.pending,te.pending===te.pending_buf_size)){z=1;break}z=te.gzindex<te.gzhead.comment.length?255&te.gzhead.comment.charCodeAt(te.gzindex++):0,W(te,z)}while(z!==0);te.gzhead.hcrc&&te.pending>X&&(Q.adler=a(Q.adler,te.pending_buf,te.pending-X,X)),z===0&&(te.status=103)}else te.status=103;if(te.status===103&&(te.gzhead.hcrc?(te.pending+2>te.pending_buf_size&&U(Q),te.pending+2<=te.pending_buf_size&&(W(te,255&Q.adler),W(te,Q.adler>>8&255),Q.adler=0,te.status=k)):te.status=k),te.pending!==0){if(U(Q),Q.avail_out===0)return te.last_flush=-1,e}else if(Q.avail_in===0&&P(ae)<=P(Ue)&&ae!==c)return H(Q,-5);if(te.status===666&&Q.avail_in!==0)return H(Q,-5);if(Q.avail_in!==0||te.lookahead!==0||ae!==r&&te.status!==666){var pe=te.strategy===2?function(se,Te){for(var Se;;){if(se.lookahead===0&&(ve(se),se.lookahead===0)){if(Te===r)return R;break}if(se.match_length=0,Se=n._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++,Se&&(G(se,!1),se.strm.avail_out===0))return R}return se.insert=0,Te===c?(G(se,!0),se.strm.avail_out===0?V:D):se.last_lit&&(G(se,!1),se.strm.avail_out===0)?R:j}(te,ae):te.strategy===3?function(se,Te){for(var Se,ie,de,_e,We=se.window;;){if(se.lookahead<=I){if(ve(se),se.lookahead<=I&&Te===r)return R;if(se.lookahead===0)break}if(se.match_length=0,se.lookahead>=C&&0<se.strstart&&(ie=We[de=se.strstart-1])===We[++de]&&ie===We[++de]&&ie===We[++de]){_e=se.strstart+I;do;while(ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&ie===We[++de]&&de<_e);se.match_length=I-(_e-de),se.match_length>se.lookahead&&(se.match_length=se.lookahead)}if(se.match_length>=C?(Se=n._tr_tally(se,1,se.match_length-C),se.lookahead-=se.match_length,se.strstart+=se.match_length,se.match_length=0):(Se=n._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++),Se&&(G(se,!1),se.strm.avail_out===0))return R}return se.insert=0,Te===c?(G(se,!0),se.strm.avail_out===0?V:D):se.last_lit&&(G(se,!1),se.strm.avail_out===0)?R:j}(te,ae):d[te.level].func(te,ae);if(pe!==V&&pe!==D||(te.status=666),pe===R||pe===V)return Q.avail_out===0&&(te.last_flush=-1),e;if(pe===j&&(ae===1?n._tr_align(te):ae!==5&&(n._tr_stored_block(te,0,0,!1),ae===3&&(K(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),U(Q),Q.avail_out===0))return te.last_flush=-1,e}return ae!==c?e:te.wrap<=0?1:(te.wrap===2?(W(te,255&Q.adler),W(te,Q.adler>>8&255),W(te,Q.adler>>16&255),W(te,Q.adler>>24&255),W(te,255&Q.total_in),W(te,Q.total_in>>8&255),W(te,Q.total_in>>16&255),W(te,Q.total_in>>24&255)):(Z(te,Q.adler>>>16),Z(te,65535&Q.adler)),U(Q),0<te.wrap&&(te.wrap=-te.wrap),te.pending!==0?e:1)},f.deflateEnd=function(Q){var ae;return Q&&Q.state?(ae=Q.state.status)!==M&&ae!==69&&ae!==73&&ae!==91&&ae!==103&&ae!==k&&ae!==666?H(Q,s):(Q.state=null,ae===k?H(Q,-3):e):s},f.deflateSetDictionary=function(Q,ae){var Ue,te,X,z,Y,pe,se,Te,Se=ae.length;if(!Q||!Q.state)return s;if((z=(Ue=Q.state).wrap)===2||z===1&&Ue.status!==M||Ue.lookahead)return s;for(z===1&&(Q.adler=t(Q.adler,ae,Se,0)),Ue.wrap=0,Se>=Ue.w_size&&(z===0&&(K(Ue.head),Ue.strstart=0,Ue.block_start=0,Ue.insert=0),Te=new l.Buf8(Ue.w_size),l.arraySet(Te,ae,Se-Ue.w_size,Ue.w_size,0),ae=Te,Se=Ue.w_size),Y=Q.avail_in,pe=Q.next_in,se=Q.input,Q.avail_in=Se,Q.next_in=0,Q.input=ae,ve(Ue);Ue.lookahead>=C;){for(te=Ue.strstart,X=Ue.lookahead-(C-1);Ue.ins_h=(Ue.ins_h<<Ue.hash_shift^Ue.window[te+C-1])&Ue.hash_mask,Ue.prev[te&Ue.w_mask]=Ue.head[Ue.ins_h],Ue.head[Ue.ins_h]=te,te++,--X;);Ue.strstart=te,Ue.lookahead=C-1,ve(Ue)}return Ue.strstart+=Ue.lookahead,Ue.block_start=Ue.strstart,Ue.insert=Ue.lookahead,Ue.lookahead=0,Ue.match_length=Ue.prev_length=C-1,Ue.match_available=0,Q.next_in=pe,Q.input=se,Q.avail_in=Y,Ue.wrap=z,e},f.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(p,v,f){"use strict";v.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(p,v,f){"use strict";v.exports=function(d,l){var n,t,a,o,r,c,e,s,u,h,g,A,w,b,S,_,T,x,C,I,L,M,k,R,j;n=d.state,t=d.next_in,R=d.input,a=t+(d.avail_in-5),o=d.next_out,j=d.output,r=o-(l-d.avail_out),c=o+(d.avail_out-257),e=n.dmax,s=n.wsize,u=n.whave,h=n.wnext,g=n.window,A=n.hold,w=n.bits,b=n.lencode,S=n.distcode,_=(1<<n.lenbits)-1,T=(1<<n.distbits)-1;e:do{w<15&&(A+=R[t++]<<w,w+=8,A+=R[t++]<<w,w+=8),x=b[A&_];t:for(;;){if(A>>>=C=x>>>24,w-=C,(C=x>>>16&255)===0)j[o++]=65535&x;else{if(!(16&C)){if((64&C)==0){x=b[(65535&x)+(A&(1<<C)-1)];continue t}if(32&C){n.mode=12;break e}d.msg="invalid literal/length code",n.mode=30;break e}I=65535&x,(C&=15)&&(w<C&&(A+=R[t++]<<w,w+=8),I+=A&(1<<C)-1,A>>>=C,w-=C),w<15&&(A+=R[t++]<<w,w+=8,A+=R[t++]<<w,w+=8),x=S[A&T];r:for(;;){if(A>>>=C=x>>>24,w-=C,!(16&(C=x>>>16&255))){if((64&C)==0){x=S[(65535&x)+(A&(1<<C)-1)];continue r}d.msg="invalid distance code",n.mode=30;break e}if(L=65535&x,w<(C&=15)&&(A+=R[t++]<<w,(w+=8)<C&&(A+=R[t++]<<w,w+=8)),e<(L+=A&(1<<C)-1)){d.msg="invalid distance too far back",n.mode=30;break e}if(A>>>=C,w-=C,(C=o-r)<L){if(u<(C=L-C)&&n.sane){d.msg="invalid distance too far back",n.mode=30;break e}if(k=g,(M=0)===h){if(M+=s-C,C<I){for(I-=C;j[o++]=g[M++],--C;);M=o-L,k=j}}else if(h<C){if(M+=s+h-C,(C-=h)<I){for(I-=C;j[o++]=g[M++],--C;);if(M=0,h<I){for(I-=C=h;j[o++]=g[M++],--C;);M=o-L,k=j}}}else if(M+=h-C,C<I){for(I-=C;j[o++]=g[M++],--C;);M=o-L,k=j}for(;2<I;)j[o++]=k[M++],j[o++]=k[M++],j[o++]=k[M++],I-=3;I&&(j[o++]=k[M++],1<I&&(j[o++]=k[M++]))}else{for(M=o-L;j[o++]=j[M++],j[o++]=j[M++],j[o++]=j[M++],2<(I-=3););I&&(j[o++]=j[M++],1<I&&(j[o++]=j[M++]))}break}}break}}while(t<a&&o<c);t-=I=w>>3,A&=(1<<(w-=I<<3))-1,d.next_in=t,d.next_out=o,d.avail_in=t<a?a-t+5:5-(t-a),d.avail_out=o<c?c-o+257:257-(o-c),n.hold=A,n.bits=w}},{}],49:[function(p,v,f){"use strict";var d=p("../utils/common"),l=p("./adler32"),n=p("./crc32"),t=p("./inffast"),a=p("./inftrees"),o=1,r=2,c=0,e=-2,s=1,u=852,h=592;function g(M){return(M>>>24&255)+(M>>>8&65280)+((65280&M)<<8)+((255&M)<<24)}function A(){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 d.Buf16(320),this.work=new d.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(M){var k;return M&&M.state?(k=M.state,M.total_in=M.total_out=k.total=0,M.msg="",k.wrap&&(M.adler=1&k.wrap),k.mode=s,k.last=0,k.havedict=0,k.dmax=32768,k.head=null,k.hold=0,k.bits=0,k.lencode=k.lendyn=new d.Buf32(u),k.distcode=k.distdyn=new d.Buf32(h),k.sane=1,k.back=-1,c):e}function b(M){var k;return M&&M.state?((k=M.state).wsize=0,k.whave=0,k.wnext=0,w(M)):e}function S(M,k){var R,j;return M&&M.state?(j=M.state,k<0?(R=0,k=-k):(R=1+(k>>4),k<48&&(k&=15)),k&&(k<8||15<k)?e:(j.window!==null&&j.wbits!==k&&(j.window=null),j.wrap=R,j.wbits=k,b(M))):e}function _(M,k){var R,j;return M?(j=new A,(M.state=j).window=null,(R=S(M,k))!==c&&(M.state=null),R):e}var T,x,C=!0;function I(M){if(C){var k;for(T=new d.Buf32(512),x=new d.Buf32(32),k=0;k<144;)M.lens[k++]=8;for(;k<256;)M.lens[k++]=9;for(;k<280;)M.lens[k++]=7;for(;k<288;)M.lens[k++]=8;for(a(o,M.lens,0,288,T,0,M.work,{bits:9}),k=0;k<32;)M.lens[k++]=5;a(r,M.lens,0,32,x,0,M.work,{bits:5}),C=!1}M.lencode=T,M.lenbits=9,M.distcode=x,M.distbits=5}function L(M,k,R,j){var V,D=M.state;return D.window===null&&(D.wsize=1<<D.wbits,D.wnext=0,D.whave=0,D.window=new d.Buf8(D.wsize)),j>=D.wsize?(d.arraySet(D.window,k,R-D.wsize,D.wsize,0),D.wnext=0,D.whave=D.wsize):(j<(V=D.wsize-D.wnext)&&(V=j),d.arraySet(D.window,k,R-j,V,D.wnext),(j-=V)?(d.arraySet(D.window,k,R-j,j,0),D.wnext=j,D.whave=D.wsize):(D.wnext+=V,D.wnext===D.wsize&&(D.wnext=0),D.whave<D.wsize&&(D.whave+=V))),0}f.inflateReset=b,f.inflateReset2=S,f.inflateResetKeep=w,f.inflateInit=function(M){return _(M,15)},f.inflateInit2=_,f.inflate=function(M,k){var R,j,V,D,H,P,K,U,G,W,Z,J,ve,q,ce,be,Ce,Fe,fe,Ne,Q,ae,Ue,te,X=0,z=new d.Buf8(4),Y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!M||!M.state||!M.output||!M.input&&M.avail_in!==0)return e;(R=M.state).mode===12&&(R.mode=13),H=M.next_out,V=M.output,K=M.avail_out,D=M.next_in,j=M.input,P=M.avail_in,U=R.hold,G=R.bits,W=P,Z=K,ae=c;e:for(;;)switch(R.mode){case s:if(R.wrap===0){R.mode=13;break}for(;G<16;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(2&R.wrap&&U===35615){z[R.check=0]=255&U,z[1]=U>>>8&255,R.check=n(R.check,z,2,0),G=U=0,R.mode=2;break}if(R.flags=0,R.head&&(R.head.done=!1),!(1&R.wrap)||(((255&U)<<8)+(U>>8))%31){M.msg="incorrect header check",R.mode=30;break}if((15&U)!=8){M.msg="unknown compression method",R.mode=30;break}if(G-=4,Q=8+(15&(U>>>=4)),R.wbits===0)R.wbits=Q;else if(Q>R.wbits){M.msg="invalid window size",R.mode=30;break}R.dmax=1<<Q,M.adler=R.check=1,R.mode=512&U?10:12,G=U=0;break;case 2:for(;G<16;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(R.flags=U,(255&R.flags)!=8){M.msg="unknown compression method",R.mode=30;break}if(57344&R.flags){M.msg="unknown header flags set",R.mode=30;break}R.head&&(R.head.text=U>>8&1),512&R.flags&&(z[0]=255&U,z[1]=U>>>8&255,R.check=n(R.check,z,2,0)),G=U=0,R.mode=3;case 3:for(;G<32;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.head&&(R.head.time=U),512&R.flags&&(z[0]=255&U,z[1]=U>>>8&255,z[2]=U>>>16&255,z[3]=U>>>24&255,R.check=n(R.check,z,4,0)),G=U=0,R.mode=4;case 4:for(;G<16;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.head&&(R.head.xflags=255&U,R.head.os=U>>8),512&R.flags&&(z[0]=255&U,z[1]=U>>>8&255,R.check=n(R.check,z,2,0)),G=U=0,R.mode=5;case 5:if(1024&R.flags){for(;G<16;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.length=U,R.head&&(R.head.extra_len=U),512&R.flags&&(z[0]=255&U,z[1]=U>>>8&255,R.check=n(R.check,z,2,0)),G=U=0}else R.head&&(R.head.extra=null);R.mode=6;case 6:if(1024&R.flags&&(P<(J=R.length)&&(J=P),J&&(R.head&&(Q=R.head.extra_len-R.length,R.head.extra||(R.head.extra=new Array(R.head.extra_len)),d.arraySet(R.head.extra,j,D,J,Q)),512&R.flags&&(R.check=n(R.check,j,J,D)),P-=J,D+=J,R.length-=J),R.length))break e;R.length=0,R.mode=7;case 7:if(2048&R.flags){if(P===0)break e;for(J=0;Q=j[D+J++],R.head&&Q&&R.length<65536&&(R.head.name+=String.fromCharCode(Q)),Q&&J<P;);if(512&R.flags&&(R.check=n(R.check,j,J,D)),P-=J,D+=J,Q)break e}else R.head&&(R.head.name=null);R.length=0,R.mode=8;case 8:if(4096&R.flags){if(P===0)break e;for(J=0;Q=j[D+J++],R.head&&Q&&R.length<65536&&(R.head.comment+=String.fromCharCode(Q)),Q&&J<P;);if(512&R.flags&&(R.check=n(R.check,j,J,D)),P-=J,D+=J,Q)break e}else R.head&&(R.head.comment=null);R.mode=9;case 9:if(512&R.flags){for(;G<16;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(U!==(65535&R.check)){M.msg="header crc mismatch",R.mode=30;break}G=U=0}R.head&&(R.head.hcrc=R.flags>>9&1,R.head.done=!0),M.adler=R.check=0,R.mode=12;break;case 10:for(;G<32;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}M.adler=R.check=g(U),G=U=0,R.mode=11;case 11:if(R.havedict===0)return M.next_out=H,M.avail_out=K,M.next_in=D,M.avail_in=P,R.hold=U,R.bits=G,2;M.adler=R.check=1,R.mode=12;case 12:if(k===5||k===6)break e;case 13:if(R.last){U>>>=7&G,G-=7&G,R.mode=27;break}for(;G<3;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}switch(R.last=1&U,G-=1,3&(U>>>=1)){case 0:R.mode=14;break;case 1:if(I(R),R.mode=20,k!==6)break;U>>>=2,G-=2;break e;case 2:R.mode=17;break;case 3:M.msg="invalid block type",R.mode=30}U>>>=2,G-=2;break;case 14:for(U>>>=7&G,G-=7&G;G<32;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if((65535&U)!=(U>>>16^65535)){M.msg="invalid stored block lengths",R.mode=30;break}if(R.length=65535&U,G=U=0,R.mode=15,k===6)break e;case 15:R.mode=16;case 16:if(J=R.length){if(P<J&&(J=P),K<J&&(J=K),J===0)break e;d.arraySet(V,j,D,J,H),P-=J,D+=J,K-=J,H+=J,R.length-=J;break}R.mode=12;break;case 17:for(;G<14;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(R.nlen=257+(31&U),U>>>=5,G-=5,R.ndist=1+(31&U),U>>>=5,G-=5,R.ncode=4+(15&U),U>>>=4,G-=4,286<R.nlen||30<R.ndist){M.msg="too many length or distance symbols",R.mode=30;break}R.have=0,R.mode=18;case 18:for(;R.have<R.ncode;){for(;G<3;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.lens[Y[R.have++]]=7&U,U>>>=3,G-=3}for(;R.have<19;)R.lens[Y[R.have++]]=0;if(R.lencode=R.lendyn,R.lenbits=7,Ue={bits:R.lenbits},ae=a(0,R.lens,0,19,R.lencode,0,R.work,Ue),R.lenbits=Ue.bits,ae){M.msg="invalid code lengths set",R.mode=30;break}R.have=0,R.mode=19;case 19:for(;R.have<R.nlen+R.ndist;){for(;be=(X=R.lencode[U&(1<<R.lenbits)-1])>>>16&255,Ce=65535&X,!((ce=X>>>24)<=G);){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(Ce<16)U>>>=ce,G-=ce,R.lens[R.have++]=Ce;else{if(Ce===16){for(te=ce+2;G<te;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(U>>>=ce,G-=ce,R.have===0){M.msg="invalid bit length repeat",R.mode=30;break}Q=R.lens[R.have-1],J=3+(3&U),U>>>=2,G-=2}else if(Ce===17){for(te=ce+3;G<te;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}G-=ce,Q=0,J=3+(7&(U>>>=ce)),U>>>=3,G-=3}else{for(te=ce+7;G<te;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}G-=ce,Q=0,J=11+(127&(U>>>=ce)),U>>>=7,G-=7}if(R.have+J>R.nlen+R.ndist){M.msg="invalid bit length repeat",R.mode=30;break}for(;J--;)R.lens[R.have++]=Q}}if(R.mode===30)break;if(R.lens[256]===0){M.msg="invalid code -- missing end-of-block",R.mode=30;break}if(R.lenbits=9,Ue={bits:R.lenbits},ae=a(o,R.lens,0,R.nlen,R.lencode,0,R.work,Ue),R.lenbits=Ue.bits,ae){M.msg="invalid literal/lengths set",R.mode=30;break}if(R.distbits=6,R.distcode=R.distdyn,Ue={bits:R.distbits},ae=a(r,R.lens,R.nlen,R.ndist,R.distcode,0,R.work,Ue),R.distbits=Ue.bits,ae){M.msg="invalid distances set",R.mode=30;break}if(R.mode=20,k===6)break e;case 20:R.mode=21;case 21:if(6<=P&&258<=K){M.next_out=H,M.avail_out=K,M.next_in=D,M.avail_in=P,R.hold=U,R.bits=G,t(M,Z),H=M.next_out,V=M.output,K=M.avail_out,D=M.next_in,j=M.input,P=M.avail_in,U=R.hold,G=R.bits,R.mode===12&&(R.back=-1);break}for(R.back=0;be=(X=R.lencode[U&(1<<R.lenbits)-1])>>>16&255,Ce=65535&X,!((ce=X>>>24)<=G);){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(be&&(240&be)==0){for(Fe=ce,fe=be,Ne=Ce;be=(X=R.lencode[Ne+((U&(1<<Fe+fe)-1)>>Fe)])>>>16&255,Ce=65535&X,!(Fe+(ce=X>>>24)<=G);){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}U>>>=Fe,G-=Fe,R.back+=Fe}if(U>>>=ce,G-=ce,R.back+=ce,R.length=Ce,be===0){R.mode=26;break}if(32&be){R.back=-1,R.mode=12;break}if(64&be){M.msg="invalid literal/length code",R.mode=30;break}R.extra=15&be,R.mode=22;case 22:if(R.extra){for(te=R.extra;G<te;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.length+=U&(1<<R.extra)-1,U>>>=R.extra,G-=R.extra,R.back+=R.extra}R.was=R.length,R.mode=23;case 23:for(;be=(X=R.distcode[U&(1<<R.distbits)-1])>>>16&255,Ce=65535&X,!((ce=X>>>24)<=G);){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if((240&be)==0){for(Fe=ce,fe=be,Ne=Ce;be=(X=R.distcode[Ne+((U&(1<<Fe+fe)-1)>>Fe)])>>>16&255,Ce=65535&X,!(Fe+(ce=X>>>24)<=G);){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}U>>>=Fe,G-=Fe,R.back+=Fe}if(U>>>=ce,G-=ce,R.back+=ce,64&be){M.msg="invalid distance code",R.mode=30;break}R.offset=Ce,R.extra=15&be,R.mode=24;case 24:if(R.extra){for(te=R.extra;G<te;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}R.offset+=U&(1<<R.extra)-1,U>>>=R.extra,G-=R.extra,R.back+=R.extra}if(R.offset>R.dmax){M.msg="invalid distance too far back",R.mode=30;break}R.mode=25;case 25:if(K===0)break e;if(J=Z-K,R.offset>J){if((J=R.offset-J)>R.whave&&R.sane){M.msg="invalid distance too far back",R.mode=30;break}ve=J>R.wnext?(J-=R.wnext,R.wsize-J):R.wnext-J,J>R.length&&(J=R.length),q=R.window}else q=V,ve=H-R.offset,J=R.length;for(K<J&&(J=K),K-=J,R.length-=J;V[H++]=q[ve++],--J;);R.length===0&&(R.mode=21);break;case 26:if(K===0)break e;V[H++]=R.length,K--,R.mode=21;break;case 27:if(R.wrap){for(;G<32;){if(P===0)break e;P--,U|=j[D++]<<G,G+=8}if(Z-=K,M.total_out+=Z,R.total+=Z,Z&&(M.adler=R.check=R.flags?n(R.check,V,Z,H-Z):l(R.check,V,Z,H-Z)),Z=K,(R.flags?U:g(U))!==R.check){M.msg="incorrect data check",R.mode=30;break}G=U=0}R.mode=28;case 28:if(R.wrap&&R.flags){for(;G<32;){if(P===0)break e;P--,U+=j[D++]<<G,G+=8}if(U!==(4294967295&R.total)){M.msg="incorrect length check",R.mode=30;break}G=U=0}R.mode=29;case 29:ae=1;break e;case 30:ae=-3;break e;case 31:return-4;case 32:default:return e}return M.next_out=H,M.avail_out=K,M.next_in=D,M.avail_in=P,R.hold=U,R.bits=G,(R.wsize||Z!==M.avail_out&&R.mode<30&&(R.mode<27||k!==4))&&L(M,M.output,M.next_out,Z-M.avail_out)?(R.mode=31,-4):(W-=M.avail_in,Z-=M.avail_out,M.total_in+=W,M.total_out+=Z,R.total+=Z,R.wrap&&Z&&(M.adler=R.check=R.flags?n(R.check,V,Z,M.next_out-Z):l(R.check,V,Z,M.next_out-Z)),M.data_type=R.bits+(R.last?64:0)+(R.mode===12?128:0)+(R.mode===20||R.mode===15?256:0),(W==0&&Z===0||k===4)&&ae===c&&(ae=-5),ae)},f.inflateEnd=function(M){if(!M||!M.state)return e;var k=M.state;return k.window&&(k.window=null),M.state=null,c},f.inflateGetHeader=function(M,k){var R;return M&&M.state?(2&(R=M.state).wrap)==0?e:((R.head=k).done=!1,c):e},f.inflateSetDictionary=function(M,k){var R,j=k.length;return M&&M.state?(R=M.state).wrap!==0&&R.mode!==11?e:R.mode===11&&l(1,k,j,0)!==R.check?-3:L(M,k,j,j)?(R.mode=31,-4):(R.havedict=1,c):e},f.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(p,v,f){"use strict";var d=p("../utils/common"),l=[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],n=[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],t=[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],a=[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];v.exports=function(o,r,c,e,s,u,h,g){var A,w,b,S,_,T,x,C,I,L=g.bits,M=0,k=0,R=0,j=0,V=0,D=0,H=0,P=0,K=0,U=0,G=null,W=0,Z=new d.Buf16(16),J=new d.Buf16(16),ve=null,q=0;for(M=0;M<=15;M++)Z[M]=0;for(k=0;k<e;k++)Z[r[c+k]]++;for(V=L,j=15;1<=j&&Z[j]===0;j--);if(j<V&&(V=j),j===0)return s[u++]=20971520,s[u++]=20971520,g.bits=1,0;for(R=1;R<j&&Z[R]===0;R++);for(V<R&&(V=R),M=P=1;M<=15;M++)if(P<<=1,(P-=Z[M])<0)return-1;if(0<P&&(o===0||j!==1))return-1;for(J[1]=0,M=1;M<15;M++)J[M+1]=J[M]+Z[M];for(k=0;k<e;k++)r[c+k]!==0&&(h[J[r[c+k]]++]=k);if(T=o===0?(G=ve=h,19):o===1?(G=l,W-=257,ve=n,q-=257,256):(G=t,ve=a,-1),M=R,_=u,H=k=U=0,b=-1,S=(K=1<<(D=V))-1,o===1&&852<K||o===2&&592<K)return 1;for(;;){for(x=M-H,I=h[k]<T?(C=0,h[k]):h[k]>T?(C=ve[q+h[k]],G[W+h[k]]):(C=96,0),A=1<<M-H,R=w=1<<D;s[_+(U>>H)+(w-=A)]=x<<24|C<<16|I|0,w!==0;);for(A=1<<M-1;U&A;)A>>=1;if(A!==0?(U&=A-1,U+=A):U=0,k++,--Z[M]==0){if(M===j)break;M=r[c+h[k]]}if(V<M&&(U&S)!==b){for(H===0&&(H=V),_+=R,P=1<<(D=M-H);D+H<j&&!((P-=Z[D+H])<=0);)D++,P<<=1;if(K+=1<<D,o===1&&852<K||o===2&&592<K)return 1;s[b=U&S]=V<<24|D<<16|_-u|0}}return U!==0&&(s[_+U]=M-H<<24|64<<16|0),g.bits=V,0}},{"../utils/common":41}],51:[function(p,v,f){"use strict";v.exports={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"}},{}],52:[function(p,v,f){"use strict";var d=p("../utils/common"),l=0,n=1;function t(X){for(var z=X.length;0<=--z;)X[z]=0}var a=0,o=29,r=256,c=r+1+o,e=30,s=19,u=2*c+1,h=15,g=16,A=7,w=256,b=16,S=17,_=18,T=[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],x=[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],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Array(2*(c+2));t(L);var M=new Array(2*e);t(M);var k=new Array(512);t(k);var R=new Array(256);t(R);var j=new Array(o);t(j);var V,D,H,P=new Array(e);function K(X,z,Y,pe,se){this.static_tree=X,this.extra_bits=z,this.extra_base=Y,this.elems=pe,this.max_length=se,this.has_stree=X&&X.length}function U(X,z){this.dyn_tree=X,this.max_code=0,this.stat_desc=z}function G(X){return X<256?k[X]:k[256+(X>>>7)]}function W(X,z){X.pending_buf[X.pending++]=255&z,X.pending_buf[X.pending++]=z>>>8&255}function Z(X,z,Y){X.bi_valid>g-Y?(X.bi_buf|=z<<X.bi_valid&65535,W(X,X.bi_buf),X.bi_buf=z>>g-X.bi_valid,X.bi_valid+=Y-g):(X.bi_buf|=z<<X.bi_valid&65535,X.bi_valid+=Y)}function J(X,z,Y){Z(X,Y[2*z],Y[2*z+1])}function ve(X,z){for(var Y=0;Y|=1&X,X>>>=1,Y<<=1,0<--z;);return Y>>>1}function q(X,z,Y){var pe,se,Te=new Array(h+1),Se=0;for(pe=1;pe<=h;pe++)Te[pe]=Se=Se+Y[pe-1]<<1;for(se=0;se<=z;se++){var ie=X[2*se+1];ie!==0&&(X[2*se]=ve(Te[ie]++,ie))}}function ce(X){var z;for(z=0;z<c;z++)X.dyn_ltree[2*z]=0;for(z=0;z<e;z++)X.dyn_dtree[2*z]=0;for(z=0;z<s;z++)X.bl_tree[2*z]=0;X.dyn_ltree[2*w]=1,X.opt_len=X.static_len=0,X.last_lit=X.matches=0}function be(X){8<X.bi_valid?W(X,X.bi_buf):0<X.bi_valid&&(X.pending_buf[X.pending++]=X.bi_buf),X.bi_buf=0,X.bi_valid=0}function Ce(X,z,Y,pe){var se=2*z,Te=2*Y;return X[se]<X[Te]||X[se]===X[Te]&&pe[z]<=pe[Y]}function Fe(X,z,Y){for(var pe=X.heap[Y],se=Y<<1;se<=X.heap_len&&(se<X.heap_len&&Ce(z,X.heap[se+1],X.heap[se],X.depth)&&se++,!Ce(z,pe,X.heap[se],X.depth));)X.heap[Y]=X.heap[se],Y=se,se<<=1;X.heap[Y]=pe}function fe(X,z,Y){var pe,se,Te,Se,ie=0;if(X.last_lit!==0)for(;pe=X.pending_buf[X.d_buf+2*ie]<<8|X.pending_buf[X.d_buf+2*ie+1],se=X.pending_buf[X.l_buf+ie],ie++,pe===0?J(X,se,z):(J(X,(Te=R[se])+r+1,z),(Se=T[Te])!==0&&Z(X,se-=j[Te],Se),J(X,Te=G(--pe),Y),(Se=x[Te])!==0&&Z(X,pe-=P[Te],Se)),ie<X.last_lit;);J(X,w,z)}function Ne(X,z){var Y,pe,se,Te=z.dyn_tree,Se=z.stat_desc.static_tree,ie=z.stat_desc.has_stree,de=z.stat_desc.elems,_e=-1;for(X.heap_len=0,X.heap_max=u,Y=0;Y<de;Y++)Te[2*Y]!==0?(X.heap[++X.heap_len]=_e=Y,X.depth[Y]=0):Te[2*Y+1]=0;for(;X.heap_len<2;)Te[2*(se=X.heap[++X.heap_len]=_e<2?++_e:0)]=1,X.depth[se]=0,X.opt_len--,ie&&(X.static_len-=Se[2*se+1]);for(z.max_code=_e,Y=X.heap_len>>1;1<=Y;Y--)Fe(X,Te,Y);for(se=de;Y=X.heap[1],X.heap[1]=X.heap[X.heap_len--],Fe(X,Te,1),pe=X.heap[1],X.heap[--X.heap_max]=Y,X.heap[--X.heap_max]=pe,Te[2*se]=Te[2*Y]+Te[2*pe],X.depth[se]=(X.depth[Y]>=X.depth[pe]?X.depth[Y]:X.depth[pe])+1,Te[2*Y+1]=Te[2*pe+1]=se,X.heap[1]=se++,Fe(X,Te,1),2<=X.heap_len;);X.heap[--X.heap_max]=X.heap[1],function(We,at){var tt,Oe,yt,Ye,bt,Ct,It=at.dyn_tree,Ft=at.max_code,Vt=at.stat_desc.static_tree,$e=at.stat_desc.has_stree,ge=at.stat_desc.extra_bits,ne=at.stat_desc.extra_base,wt=at.stat_desc.max_length,qe=0;for(Ye=0;Ye<=h;Ye++)We.bl_count[Ye]=0;for(It[2*We.heap[We.heap_max]+1]=0,tt=We.heap_max+1;tt<u;tt++)wt<(Ye=It[2*It[2*(Oe=We.heap[tt])+1]+1]+1)&&(Ye=wt,qe++),It[2*Oe+1]=Ye,Ft<Oe||(We.bl_count[Ye]++,bt=0,ne<=Oe&&(bt=ge[Oe-ne]),Ct=It[2*Oe],We.opt_len+=Ct*(Ye+bt),$e&&(We.static_len+=Ct*(Vt[2*Oe+1]+bt)));if(qe!==0){do{for(Ye=wt-1;We.bl_count[Ye]===0;)Ye--;We.bl_count[Ye]--,We.bl_count[Ye+1]+=2,We.bl_count[wt]--,qe-=2}while(0<qe);for(Ye=wt;Ye!==0;Ye--)for(Oe=We.bl_count[Ye];Oe!==0;)Ft<(yt=We.heap[--tt])||(It[2*yt+1]!==Ye&&(We.opt_len+=(Ye-It[2*yt+1])*It[2*yt],It[2*yt+1]=Ye),Oe--)}}(X,z),q(Te,_e,X.bl_count)}function Q(X,z,Y){var pe,se,Te=-1,Se=z[1],ie=0,de=7,_e=4;for(Se===0&&(de=138,_e=3),z[2*(Y+1)+1]=65535,pe=0;pe<=Y;pe++)se=Se,Se=z[2*(pe+1)+1],++ie<de&&se===Se||(ie<_e?X.bl_tree[2*se]+=ie:se!==0?(se!==Te&&X.bl_tree[2*se]++,X.bl_tree[2*b]++):ie<=10?X.bl_tree[2*S]++:X.bl_tree[2*_]++,Te=se,_e=(ie=0)===Se?(de=138,3):se===Se?(de=6,3):(de=7,4))}function ae(X,z,Y){var pe,se,Te=-1,Se=z[1],ie=0,de=7,_e=4;for(Se===0&&(de=138,_e=3),pe=0;pe<=Y;pe++)if(se=Se,Se=z[2*(pe+1)+1],!(++ie<de&&se===Se)){if(ie<_e)for(;J(X,se,X.bl_tree),--ie!=0;);else se!==0?(se!==Te&&(J(X,se,X.bl_tree),ie--),J(X,b,X.bl_tree),Z(X,ie-3,2)):ie<=10?(J(X,S,X.bl_tree),Z(X,ie-3,3)):(J(X,_,X.bl_tree),Z(X,ie-11,7));Te=se,_e=(ie=0)===Se?(de=138,3):se===Se?(de=6,3):(de=7,4)}}t(P);var Ue=!1;function te(X,z,Y,pe){Z(X,(a<<1)+(pe?1:0),3),function(se,Te,Se,ie){be(se),ie&&(W(se,Se),W(se,~Se)),d.arraySet(se.pending_buf,se.window,Te,Se,se.pending),se.pending+=Se}(X,z,Y,!0)}f._tr_init=function(X){Ue||(function(){var z,Y,pe,se,Te,Se=new Array(h+1);for(se=pe=0;se<o-1;se++)for(j[se]=pe,z=0;z<1<<T[se];z++)R[pe++]=se;for(R[pe-1]=se,se=Te=0;se<16;se++)for(P[se]=Te,z=0;z<1<<x[se];z++)k[Te++]=se;for(Te>>=7;se<e;se++)for(P[se]=Te<<7,z=0;z<1<<x[se]-7;z++)k[256+Te++]=se;for(Y=0;Y<=h;Y++)Se[Y]=0;for(z=0;z<=143;)L[2*z+1]=8,z++,Se[8]++;for(;z<=255;)L[2*z+1]=9,z++,Se[9]++;for(;z<=279;)L[2*z+1]=7,z++,Se[7]++;for(;z<=287;)L[2*z+1]=8,z++,Se[8]++;for(q(L,c+1,Se),z=0;z<e;z++)M[2*z+1]=5,M[2*z]=ve(z,5);V=new K(L,T,r+1,c,h),D=new K(M,x,0,e,h),H=new K(new Array(0),C,0,s,A)}(),Ue=!0),X.l_desc=new U(X.dyn_ltree,V),X.d_desc=new U(X.dyn_dtree,D),X.bl_desc=new U(X.bl_tree,H),X.bi_buf=0,X.bi_valid=0,ce(X)},f._tr_stored_block=te,f._tr_flush_block=function(X,z,Y,pe){var se,Te,Se=0;0<X.level?(X.strm.data_type===2&&(X.strm.data_type=function(ie){var de,_e=4093624447;for(de=0;de<=31;de++,_e>>>=1)if(1&_e&&ie.dyn_ltree[2*de]!==0)return l;if(ie.dyn_ltree[18]!==0||ie.dyn_ltree[20]!==0||ie.dyn_ltree[26]!==0)return n;for(de=32;de<r;de++)if(ie.dyn_ltree[2*de]!==0)return n;return l}(X)),Ne(X,X.l_desc),Ne(X,X.d_desc),Se=function(ie){var de;for(Q(ie,ie.dyn_ltree,ie.l_desc.max_code),Q(ie,ie.dyn_dtree,ie.d_desc.max_code),Ne(ie,ie.bl_desc),de=s-1;3<=de&&ie.bl_tree[2*I[de]+1]===0;de--);return ie.opt_len+=3*(de+1)+5+5+4,de}(X),se=X.opt_len+3+7>>>3,(Te=X.static_len+3+7>>>3)<=se&&(se=Te)):se=Te=Y+5,Y+4<=se&&z!==-1?te(X,z,Y,pe):X.strategy===4||Te===se?(Z(X,2+(pe?1:0),3),fe(X,L,M)):(Z(X,4+(pe?1:0),3),function(ie,de,_e,We){var at;for(Z(ie,de-257,5),Z(ie,_e-1,5),Z(ie,We-4,4),at=0;at<We;at++)Z(ie,ie.bl_tree[2*I[at]+1],3);ae(ie,ie.dyn_ltree,de-1),ae(ie,ie.dyn_dtree,_e-1)}(X,X.l_desc.max_code+1,X.d_desc.max_code+1,Se+1),fe(X,X.dyn_ltree,X.dyn_dtree)),ce(X),pe&&be(X)},f._tr_tally=function(X,z,Y){return X.pending_buf[X.d_buf+2*X.last_lit]=z>>>8&255,X.pending_buf[X.d_buf+2*X.last_lit+1]=255&z,X.pending_buf[X.l_buf+X.last_lit]=255&Y,X.last_lit++,z===0?X.dyn_ltree[2*Y]++:(X.matches++,z--,X.dyn_ltree[2*(R[Y]+r+1)]++,X.dyn_dtree[2*G(z)]++),X.last_lit===X.lit_bufsize-1},f._tr_align=function(X){Z(X,2,3),J(X,w,L),function(z){z.bi_valid===16?(W(z,z.bi_buf),z.bi_buf=0,z.bi_valid=0):8<=z.bi_valid&&(z.pending_buf[z.pending++]=255&z.bi_buf,z.bi_buf>>=8,z.bi_valid-=8)}(X)}},{"../utils/common":41}],53:[function(p,v,f){"use strict";v.exports=function(){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}},{}],54:[function(p,v,f){"use strict";v.exports=typeof setImmediate=="function"?setImmediate:function(){var d=[].slice.apply(arguments);d.splice(1,0,0),setTimeout.apply(null,d)}},{}]},{},[10])(10)})}).call(this,i("HDXh").Buffer,i("yLpj"))},xRUu:function(B,N,i){i("hJvP"),i("hFmY"),i("sAZ8")},xSIq:function(B,N,i){"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(B,N){var i={axisPointer:1,tooltip:1,brush:1};function y(m,E,p){var v=E.getComponentByElement(m.topTarget),f=v&&v.coordinateSystem;return v&&v!==p&&!i[v.mainType]&&f&&f.model!==p}N.onIrrelevantElement=y},xTNl:function(B,N){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],y={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};B.exports=y},xb2K:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("5yev")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="RedoOutlined";var l=p.forwardRef(d);N.default=l},xiyX:function(B,N,i){var y=i("bYtY"),m=i("bLfw"),E=i("nkfE"),p=i("ICMv"),v=m.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(n,t){return t.type||(t.data?"category":"value")}y.merge(v.prototype,p),E("single",v,d,f);var l=v;B.exports=l},xlC8:function(B,N,i){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=y;function y(m,E,p,v){for(var f=m&65535|0,d=m>>>16&65535|0,l=0;p!==0;){l=p>2e3?2e3:p,p-=l;do f=f+E[v++]|0,d=d+f|0;while(--l);f%=65521,d%=65521}return f|d<<16|0}},xvlK:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="PlusOutlined";var d=N.a=m.forwardRef(f)},xzDV:function(B,N,i){},"y+Vt":function(B,N,i){var y=i("Gev7"),m=i("bYtY"),E=i("IMiH"),p=i("2DNl"),v=i("3C/r"),f=v.prototype.getCanvasPattern,d=Math.abs,l=new E(!0);function n(a){y.call(this,a),this.path=null}n.prototype={constructor:n,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(o,r){var c=this.style,e=this.path||l,s=c.hasStroke(),u=c.hasFill(),h=c.fill,g=c.stroke,A=u&&!!h.colorStops,w=s&&!!g.colorStops,b=u&&!!h.image,S=s&&!!g.image;if(c.bind(o,this,r),this.setTransform(o),this.__dirty){var _;A&&(_=_||this.getBoundingRect(),this._fillGradient=c.getGradient(o,h,_)),w&&(_=_||this.getBoundingRect(),this._strokeGradient=c.getGradient(o,g,_))}A?o.fillStyle=this._fillGradient:b&&(o.fillStyle=f.call(h,o)),w?o.strokeStyle=this._strokeGradient:S&&(o.strokeStyle=f.call(g,o));var T=c.lineDash,x=c.lineDashOffset,C=!!o.setLineDash,I=this.getGlobalScale();if(e.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||T&&!C&&s?(e.beginPath(o),T&&!C&&(e.setLineDash(T),e.setLineDashOffset(x)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(o.beginPath(),this.path.rebuildPath(o)),u)if(c.fillOpacity!=null){var L=o.globalAlpha;o.globalAlpha=c.fillOpacity*c.opacity,e.fill(o),o.globalAlpha=L}else e.fill(o);if(T&&C&&(o.setLineDash(T),o.lineDashOffset=x),s)if(c.strokeOpacity!=null){var L=o.globalAlpha;o.globalAlpha=c.strokeOpacity*c.opacity,e.stroke(o),o.globalAlpha=L}else e.stroke(o);T&&C&&o.setLineDash([]),c.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},buildPath:function(o,r,c){},createPathProxy:function(){this.path=new E},getBoundingRect:function(){var o=this._rect,r=this.style,c=!o;if(c){var e=this.path;e||(e=this.path=new E),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||c){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 c=this.transformCoordToLocal(o,r),e=this.getBoundingRect(),s=this.style;if(o=c[0],r=c[1],e.contain(o,r)){var u=this.path.data;if(s.hasStroke()){var h=s.lineWidth,g=s.strokeNoScale?this.getLineScale():1;if(g>1e-10&&(s.hasFill()||(h=Math.max(h,this.strokeContainThreshold)),p.containStroke(u,h/g,o,r)))return!0}if(s.hasFill())return p.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 c=this.shape;if(c){if(m.isObject(o))for(var e in o)o.hasOwnProperty(e)&&(c[e]=o[e]);else c[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}},n.extend=function(a){var o=function(e){n.call(this,e),a.style&&this.style.extendFrom(a.style,!1);var s=a.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])}a.init&&a.init.call(this,e)};m.inherits(o,n);for(var r in a)r!=="style"&&r!=="shape"&&(o.prototype[r]=a[r]);return o},m.inherits(n,y);var t=n;B.exports=t},"y+lR":function(B,N,i){var y=i("bYtY"),m=i("mFDi"),E=i("z35g");function p(f){E.call(this,f)}p.prototype={constructor:p,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"),l=this.getAxis("y");return d.contain(d.toLocalCoord(f[0]))&&l.contain(l.toLocalCoord(f[1]))},containData:function(f){return this.getAxis("x").containData(f[0])&&this.getAxis("y").containData(f[1])},dataToPoint:function(f,d,l){var n=this.getAxis("x"),t=this.getAxis("y");return l=l||[],l[0]=n.toGlobalCoord(n.dataToCoord(f[0])),l[1]=t.toGlobalCoord(t.dataToCoord(f[1])),l},clampData:function(f,d){var l=this.getAxis("x").scale,n=this.getAxis("y").scale,t=l.getExtent(),a=n.getExtent(),o=l.parse(f[0]),r=n.parse(f[1]);return d=d||[],d[0]=Math.min(Math.max(Math.min(t[0],t[1]),o),Math.max(t[0],t[1])),d[1]=Math.min(Math.max(Math.min(a[0],a[1]),r),Math.max(a[0],a[1])),d},pointToData:function(f,d){var l=this.getAxis("x"),n=this.getAxis("y");return d=d||[],d[0]=l.coordToData(l.toLocalCoord(f[0])),d[1]=n.coordToData(n.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(),l=Math.min(f[0],f[1]),n=Math.min(d[0],d[1]),t=Math.max(f[0],f[1])-l,a=Math.max(d[0],d[1])-n,o=new m(l,n,t,a);return o}},y.inherits(p,E);var v=p;B.exports=v},"y0+3":function(B,N,i){"use strict";i.d(N,"a",function(){return a}),i.d(N,"b",function(){return r});var y=/margin|padding|width|height|max|min|offset/,m={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function p(c){return c.nodeType===1?c.ownerDocument.defaultView.getComputedStyle(c,null):{}}function v(c,e,s){if(e=e.toLowerCase(),s==="auto"){if(e==="height")return c.offsetHeight;if(e==="width")return c.offsetWidth}return e in m||(m[e]=y.test(e)),m[e]?parseFloat(s)||0:s}function f(c,e){var s=arguments.length,u=p(c);return e=E[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,s===1?u:v(c,e,u[e]||c.style[e])}function d(c,e,s){var u=arguments.length;if(e=E[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,u===3)return typeof s=="number"&&y.test(e)&&(s="".concat(s,"px")),c.style[e]=s,s;for(var h in e)e.hasOwnProperty(h)&&d(c,h,e[h]);return p(c)}function l(c){return c===document.body?document.documentElement.clientWidth:c.offsetWidth}function n(c){return c===document.body?window.innerHeight||document.documentElement.clientHeight:c.offsetHeight}function t(){var c=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:c,height:e}}function a(){var c=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:c,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(c){var e=c.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(B,N,i){"use strict";i.d(N,"a",function(){return y});function y(m){if(m==null)throw new TypeError("Cannot destructure undefined")}},y23F:function(B,N){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}i.prototype={constructor:i,_dragStart:function(p){for(var v=p.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=p.offsetX,this._y=p.offsetY,this.dispatchToElement(y(v,p),"dragstart",p.event))},_drag:function(p){var v=this._draggingTarget;if(v){var f=p.offsetX,d=p.offsetY,l=f-this._x,n=d-this._y;this._x=f,this._y=d,v.drift(l,n,p),this.dispatchToElement(y(v,p),"drag",p.event);var t=this.findHover(f,d,v).target,a=this._dropTarget;this._dropTarget=t,v!==t&&(a&&t!==a&&this.dispatchToElement(y(a,p),"dragleave",p.event),t&&t!==a&&this.dispatchToElement(y(t,p),"dragenter",p.event))}},_dragEnd:function(p){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(y(v,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(y(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function y(E,p){return{target:E,topTarget:p&&p.topTarget}}var m=i;B.exports=m},y2l5:function(B,N,i){var y=i("MwEJ"),m=i("T4UG"),E=m.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,v){return y(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var p=this.option.progressive;return p==null?this.option.large?5e3:this.get("progressive"):p},getProgressiveThreshold:function(){var p=this.option.progressiveThreshold;return p==null?this.option.large?1e4:this.get("progressiveThreshold"):p},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});B.exports=E},y3Kf:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="UpOutlined";var d=N.a=m.forwardRef(f)},y3NT:function(B,N,i){var y=i("OELB"),m=y.parsePercent,E=i("bYtY"),p=Math.PI/180;function v(l,n,t,a){n.eachSeriesByType(l,function(o){var r=o.get("center"),c=o.get("radius");E.isArray(c)||(c=[0,c]),E.isArray(r)||(r=[r,r]);var e=t.getWidth(),s=t.getHeight(),u=Math.min(e,s),h=m(r[0],e),g=m(r[1],s),A=m(c[0],u/2),w=m(c[1],u/2),b=-o.get("startAngle")*p,S=o.get("minAngle")*p,_=o.getData().tree.root,T=o.getViewRoot(),x=T.depth,C=o.get("sort");C!=null&&f(T,C);var I=0;E.each(T.children,function(W){!isNaN(W.getValue())&&I++});var L=T.getValue(),M=Math.PI/(L||I)*2,k=T.depth>0,R=T.height-(k?-1:1),j=(w-A)/(R||1),V=o.get("clockwise"),D=o.get("stillShowZeroSum"),H=V?1:-1,P=function(W,Z){if(!W)return;var J=Z;if(W!==_){var ve=W.getValue(),q=L===0&&D?M:ve*M;q<S&&(q=S),J=Z+H*q;var ce=W.depth-x-(k?-1:1),be=A+j*ce,Ce=A+j*(ce+1),Fe=W.getModel();Fe.get("r0")!=null&&(be=m(Fe.get("r0"),u/2)),Fe.get("r")!=null&&(Ce=m(Fe.get("r"),u/2)),W.setLayout({angle:q,startAngle:Z,endAngle:J,clockwise:V,cx:h,cy:g,r0:be,r:Ce})}if(W.children&&W.children.length){var fe=0;E.each(W.children,function(Ne){fe+=P(Ne,Z+fe)})}return J-Z};if(k){var K=A,U=A+j,G=Math.PI*2;_.setLayout({angle:G,startAngle:b,endAngle:b+G,clockwise:V,cx:h,cy:g,r0:K,r:U})}P(T,b)})}function f(l,n){var t=l.children||[];l.children=d(t,n),t.length&&E.each(l.children,function(a){f(a,n)})}function d(l,n){if(typeof n=="function")return l.sort(n);var t=n==="asc";return l.sort(function(a,o){var r=(a.getValue()-o.getValue())*(t?1:-1);return r===0?(a.dataIndex-o.dataIndex)*(t?-1:1):r})}B.exports=v},y3Yb:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("HBhm")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="PaperClipOutlined";var l=p.forwardRef(d);N.default=l},"y4/Y":function(B,N,i){var y=i("ProS"),m=i("bYtY"),E=i("zTMp"),p=i("62sa");i("SKx+"),i("1LEl"),i("Sp2Z"),y.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var f=v.axisPointer.link;f&&!m.isArray(f)&&(v.axisPointer.link=[f])}}),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,function(v,f){v.getComponent("axisPointer").coordSysAxesInfo=E.collect(v,f)}),y.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(B,N,i){var y=i("bYtY"),m=i("+TT/"),E=m.getLayoutRect;function p(f,d,l){var n=f.option,t=n.align;if(t!=null&&t!=="auto")return t;for(var a={width:d.getWidth(),height:d.getHeight()},o=n.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],c=r[o],e=[0,null,10],s={},u=0;u<3;u++)s[r[1-o][u]]=e[u],s[c[u]]=u===2?l[0]:n[c[u]];var h=[["x","width",3],["y","height",0]][o],g=E(s,a,n.padding);return c[(g.margin[h[2]]||0)+g[h[0]]+g[h[1]]*.5<a[h[1]]*.5?0:1]}function v(f,d){return y.each(f||[],function(l){l.dataIndex!=null&&(l.dataIndexInside=l.dataIndex,l.dataIndex=null),l.highlightKey="visualMap"+(d?d.componentIndex:"")}),f}N.getItemAlign=p,N.makeHighDownBatch=v},y8nQ:function(B,N,i){"use strict";var y=i("cIOH"),m=i.n(y),E=i("gwTy"),p=i.n(E),v=i("1GLa")},yEEn:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="ArrowDownOutlined";var d=N.a=m.forwardRef(f)},yO87:function(B,N,i){var y=i("bYtY"),m=i("oVpE"),E=m.createSymbol,p=i("IwbS"),v=p.Group,f=i("OELB"),d=f.parsePercent,l=i("FBjb"),n=3;function t(e){return y.isArray(e)||(e=[+e,+e]),e}function a(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){v.call(this);var u=new l(e,s),h=new v;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),g=0;g<n;g++){var A=E(s,-1,-1,2,2,u);A.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var w=-g/n*e.period+e.effectOffset;A.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(w).start(),A.animateStyle(!0).when(e.period,{opacity:0}).delay(w).start(),h.add(A)}a(h,e)},r.updateEffectAnimation=function(e){for(var s=this._effectCfg,u=this.childAt(1),h=["symbolType","period","rippleScale"],g=0;g<h.length;g++){var A=h[g];if(s[A]!==e[A]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}a(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),g=e.getItemModel(s),A=e.getItemVisual(s,"symbol"),w=t(e.getItemVisual(s,"symbolSize")),b=e.getItemVisual(s,"color");h.attr("scale",w),h.traverse(function(M){M.attr({fill:b})});var S=g.getShallow("symbolOffset");if(S){var _=h.position;_[0]=d(S[0],w[0]),_[1]=d(S[1],w[1])}var T=e.getItemVisual(s,"symbolRotate");h.rotation=(T||0)*Math.PI/180||0;var x={};if(x.showEffectOn=u.get("showEffectOn"),x.rippleScale=g.get("rippleEffect.scale"),x.brushType=g.get("rippleEffect.brushType"),x.period=g.get("rippleEffect.period")*1e3,x.effectOffset=s/e.count(),x.z=g.getShallow("z")||0,x.zlevel=g.getShallow("zlevel")||0,x.symbolType=A,x.color=b,x.rippleEffectColor=g.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,v);var c=o;B.exports=c},yS9w:function(B,N,i){var y=i("MEGo"),m=y.parseSVG,E=y.makeViewBoxTransform,p=i("4fz+"),v=i("x6Kt"),f=i("bYtY"),d=f.assert,l=f.createHashMap,n=i("mFDi"),t=i("4NO4"),a=t.makeInner,o=a(),r={load:function(e,s){var u=o(s).originRoot;if(u)return{root:u,boundingRect:o(s).boundingRect};var h=c(s);return o(s).originRoot=h.root,o(s).boundingRect=h.boundingRect,h},makeGraphic:function(e,s,u){var h=o(s),g=h.rootMap||(h.rootMap=l()),A=g.get(u);if(A)return A;var w=h.originRoot,b=h.boundingRect;return h.originRootHostKey?A=c(s,b).root:(h.originRootHostKey=u,A=w),g.set(u,A)},removeGraphic:function(e,s,u){var h=o(s),g=h.rootMap;g&&g.removeKey(u),u===h.originRootHostKey&&(h.originRootHostKey=null)}};function c(e,s){var u=e.svgXML,h,g;try{h=u&&m(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},g=h.root,d(g!=null)}catch(T){throw new Error(`Invalid svg format
`+T.message)}var A=h.width,w=h.height,b=h.viewBoxRect;if(s||(s=A==null||w==null?g.getBoundingRect():new n(0,0,0,0),A!=null&&(s.width=A),w!=null&&(s.height=w)),b){var S=E(b,s.width,s.height),_=g;g=new p,g.add(_),_.scale=S.scale,_.position=S.position}return g.setClipPath(new v({shape:s.plain()})),{root:g,boundingRect:s}}B.exports=r},yWXo:function(B,N,i){var y=i("IwbS"),m=i("oVpE"),E=m.createSymbol,p=i("OS9S"),v=4,f=y.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,a){var o=a.points,r=a.size,c=this.symbolProxy,e=c.shape,s=t.getContext?t.getContext():t,u=s&&r[0]<v;if(u)return;for(var h=0;h<o.length;){var g=o[h++],A=o[h++];if(isNaN(g)||isNaN(A))continue;if(this.softClipShape&&!this.softClipShape.contain(g,A))continue;e.x=g-r[0]/2,e.y=A-r[1]/2,e.width=r[0],e.height=r[1],c.buildPath(t,e,!0)}},afterBrush:function(t){var a=this.shape,o=a.points,r=a.size,c=r[0]<v;if(!c)return;this.setTransform(t);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;t.fillRect(s-r[0]/2,u-r[1]/2,r[0],r[1])}this.restoreTransform(t)},findDataIndex:function(t,a){for(var o=this.shape,r=o.points,c=o.size,e=Math.max(c[0],4),s=Math.max(c[1],4),u=r.length/2-1;u>=0;u--){var h=u*2,g=r[h]-e/2,A=r[h+1]-s/2;if(t>=g&&a>=A&&t<=g+e&&a<=A+s)return u}return-1}});function d(){this.group=new y.Group}var l=d.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t,a){this.group.removeAll();var o=new f({rectHover:!0,cursor:"default"});o.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(o,t,!1,a),this.group.add(o),this._incremental=null},l.updateLayout=function(t){if(this._incremental)return;var a=t.getLayout("symbolPoints");this.group.eachChild(function(o){if(o.startIndex!=null){var r=(o.endIndex-o.startIndex)*2,c=o.startIndex*4*2;a=new Float32Array(a.buffer,c,r)}o.setShape("points",a)})},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,a,o){var r;this._incremental?(r=new f,this._incremental.addDisplayable(r,!0)):(r=new f({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(r,a,!!this._incremental,o)},l._setCommon=function(t,a,o,r){var c=a.hostModel;r=r||{};var e=a.getVisual("symbolSize");t.setShape("size",e instanceof Array?e:[e,e]),t.softClipShape=r.clipShape||null,t.symbolProxy=E(a.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<v;t.useStyle(c.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=a.getVisual("color");u&&t.setColor(u),o||(t.seriesIndex=c.seriesIndex,t.on("mousemove",function(h){t.dataIndex=null;var g=t.findDataIndex(h.offsetX,h.offsetY);g>=0&&(t.dataIndex=g+(t.startIndex||0))}))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var n=d;B.exports=n},ycre:function(B,N,i){var y=i("711d"),m=y("length");B.exports=m},ye1Q:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="LoadingOutlined";var d=N.a=m.forwardRef(f)},ygfH:function(B,N,i){"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(B,N,i){var y=i("bZqE"),m=y.eachAfter,E=y.eachBefore,p=i("Itpr"),v=p.init,f=p.firstWalk,d=p.secondWalk,l=p.separation,n=p.radialCoordinate,t=p.getViewRect;function a(r,c){r.eachSeriesByType("tree",function(e){o(e,c)})}function o(r,c){var e=t(r,c);r.layoutInfo=e;var s=r.get("layout"),u=0,h=0,g=null;s==="radial"?(u=2*Math.PI,h=Math.min(e.height,e.width)/2,g=l(function(R,j){return(R.parentNode===j.parentNode?1:2)/R.depth})):(u=e.width,h=e.height,g=l());var A=r.getData().tree.root,w=A.children[0];if(w){v(A),m(w,f,g),A.hierNode.modifier=-w.hierNode.prelim,E(w,d);var b=w,S=w,_=w;E(w,function(R){var j=R.getLayout().x;j<b.getLayout().x&&(b=R),j>S.getLayout().x&&(S=R),R.depth>_.depth&&(_=R)});var T=b===S?1:g(b,S)/2,x=T-b.getLayout().x,C=0,I=0,L=0,M=0;if(s==="radial")C=u/(S.getLayout().x+T+x),I=h/(_.depth-1||1),E(w,function(R){L=(R.getLayout().x+x)*C,M=(R.depth-1)*I;var j=n(L,M);R.setLayout({x:j.x,y:j.y,rawX:L,rawY:M},!0)});else{var k=r.getOrient();k==="RL"||k==="LR"?(I=h/(S.getLayout().x+T+x),C=u/(_.depth-1||1),E(w,function(R){M=(R.getLayout().x+x)*I,L=k==="LR"?(R.depth-1)*C:u-(R.depth-1)*C,R.setLayout({x:L,y:M},!0)})):(k==="TB"||k==="BT")&&(C=u/(S.getLayout().x+T+x),I=h/(_.depth-1||1),E(w,function(R){L=(R.getLayout().x+x)*C,M=k==="TB"?(R.depth-1)*I:h-(R.depth-1)*I,R.setLayout({x:L,y:M},!0)}))}}}B.exports=a},ynwM:function(B,N,i){var y=i("MFOe"),m=y.Global;B.exports={name:"oldFF-globalStorage",read:p,write:v,each:f,remove:d,clearAll:l};var E=m.globalStorage;function p(n){return E[n]}function v(n,t){E[n]=t}function f(n){for(var t=E.length-1;t>=0;t--){var a=E.key(t);n(E[a],a)}}function d(n){return E.removeItem(n)}function l(){f(function(n,t){delete E[n]})}},ypgQ:function(B,N,i){var y=i("bYtY"),m=i("4NO4"),E=i("bLfw"),p=y.each,v=y.clone,f=y.map,d=y.merge,l=/^(min|max)?(.+)$/;function n(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}n.prototype={constructor:n,setOption:function(s,u){s&&y.each(m.normalizeToArray(s.series),function(A){A&&A.data&&y.isTypedArray(A.data)&&y.setAsPrimitive(A.data)}),s=v(s);var h=this._optionBackup,g=t.call(this,s,u,!h);this._newBaseOption=g.baseOption,h?(c(h.baseOption,g.baseOption),g.timelineOptions.length&&(h.timelineOptions=g.timelineOptions),g.mediaList.length&&(h.mediaList=g.mediaList),g.mediaDefault&&(h.mediaDefault=g.mediaDefault)):this._optionBackup=g},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=f(u.timelineOptions,v),this._mediaList=f(u.mediaList,v),this._mediaDefault=v(u.mediaDefault),this._currentMediaIndices=[],v(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,h=this._timelineOptions;if(h.length){var g=s.getComponent("timeline");g&&(u=v(h[g.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),h=this._api.getHeight(),g=this._mediaList,A=this._mediaDefault,w=[],b=[];if(!g.length&&!A)return b;for(var S=0,_=g.length;S<_;S++)a(g[S].query,u,h)&&w.push(S);return!w.length&&A&&(w=[-1]),w.length&&!r(w,this._currentMediaIndices)&&(b=f(w,function(T){return v(T===-1?A.option:g[T].option)})),this._currentMediaIndices=w,b}};function t(s,u,h){var g=[],A=[],w,b,S=s.timeline;if(s.baseOption&&(b=s.baseOption),(S||s.options)&&(b=b||{},g=(s.options||[]).slice()),s.media){b=b||{};var _=s.media;p(_,function(T){T&&T.option&&(T.query?A.push(T):w||(w=T))})}return b||(b=s),b.timeline||(b.timeline=S),p([b].concat(g).concat(y.map(A,function(T){return T.option})),function(T){p(u,function(x){x(T,h)})}),{baseOption:b,timelineOptions:g,mediaDefault:w,mediaList:A}}function a(s,u,h){var g={width:u,height:h,aspectratio:u/h},A=!0;return y.each(s,function(w,b){var S=b.match(l);if(!S||!S[1]||!S[2])return;var _=S[1],T=S[2].toLowerCase();o(g[T],w,_)||(A=!1)}),A}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 c(s,u){u=u||{},p(u,function(h,g){if(h==null)return;var A=s[g];if(!E.hasClass(g))s[g]=d(A,h,!0);else{h=m.normalizeToArray(h),A=m.normalizeToArray(A);var w=m.mappingToExists(A,h);s[g]=f(w,function(b){return b.option&&b.exist?d(b.exist,b.option,!0):b.exist||b.option})}})}var e=n;B.exports=e},yxFR:function(B,N,i){var y=i("y+Vt"),m=i("nPnh"),E=m.subPixelOptimizeLine,p={},v=y.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(d,l){var n,t,a,o;this.subPixelOptimize?(E(p,l,this.style),n=p.x1,t=p.y1,a=p.x2,o=p.y2):(n=l.x1,t=l.y1,a=l.x2,o=l.y2);var r=l.percent;if(r===0)return;d.moveTo(n,t),r<1&&(a=n*(1-r)+a*r,o=t*(1-r)+o*r),d.lineTo(a,o)},pointAt:function(d){var l=this.shape;return[l.x1*(1-d)+l.x2*d,l.y1*(1-d)+l.y2*d]}});B.exports=v},z35g:function(B,N,i){var y=i("bYtY");function m(v){return this._axes[v]}var E=function(v){this._axes={},this._dimList=[],this.name=v||""};E.prototype={constructor:E,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return y.map(this._dimList,m,this)},getAxesByScale:function(v){return v=v.toLowerCase(),y.filter(this.getAxes(),function(f){return f.scale.type===v})},addAxis:function(v){var f=v.dim;this._axes[f]=v,this._dimList.push(f)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,f){for(var d=this._dimList,l=v instanceof Array?[]:{},n=0;n<d.length;n++){var t=d[n],a=this._axes[t];l[t]=a[f](v[t])}return l}};var p=E;B.exports=p},z7Xi:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="UploadOutlined";var d=N.a=m.forwardRef(f)},zAh6:function(B,N,i){"use strict";i.d(N,"a",function(){return v});var y=i("xEkU"),m=i.n(y),E=i("i6bk");function p(f,d,l,n){var t=l-d;return f/=n/2,f<1?t/2*f*f*f+d:t/2*((f-=2)*f*f+2)+d}function v(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=d.getContainer,n=l===void 0?function(){return window}:l,t=d.callback,a=d.duration,o=a===void 0?450:a,r=n(),c=Object(E.a)(r,!0),e=Date.now(),s=function u(){var h=Date.now(),g=h-e,A=p(g>o?o:g,c,f,o);Object(E.b)(r)?r.scrollTo(window.pageXOffset,A):r instanceof HTMLDocument||r.constructor.name==="HTMLDocument"?r.documentElement.scrollTop=A:r.scrollTop=A,g<o?m()(u):typeof t=="function"&&t()};m()(s)}},zDms:function(B,N,i){var y=i("bYtY"),m=i("OELB"),E=i("UOVi"),p=i("72pK"),v=y.each,f=m.asc,d=function(r,c,e,s){this._dimName=r,this._axisIndex=c,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=[],c=this.ecModel;return c.eachSeries(function(e){if(E.isCoordSupported(e.get("coordinateSystem"))){var s=this._dimName,u=c.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,c=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 g;return c.eachComponent(u+"Axis",function(A){(A.get(h)||0)===(e.get(h)||0)&&(g=A)}),g},getMinMaxSpan:function(){return y.clone(this._minMaxSpan)},calculateDataWindow:function(r){var c=this._dataExtent,e=this.getAxisModel(),s=e.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],g=[],A=[],w;v(["start","end"],function(_,T){var x=r[_],C=r[_+"Value"];u[T]==="percent"?(x==null&&(x=h[T]),C=s.parse(m.linearMap(x,h,c))):(w=!0,C=C==null?c[T]:s.parse(C),x=m.linearMap(C,c,h)),A[T]=C,g[T]=x}),f(A),f(g);var b=this._minMaxSpan;w?S(A,g,c,h,!1):S(g,A,h,c,!0);function S(_,T,x,C,I){var L=I?"Span":"ValueSpan";p(0,_,x,"all",b["min"+L],b["max"+L]);for(var M=0;M<2;M++)T[M]=m.linearMap(_[M],x,C,!0),I&&(T[M]=s.parse(T[M]))}return{valueWindow:A,percentWindow:g}},reset:function(r){if(r!==this._dataZoomModel)return;var c=this.getTargetSeriesModels();this._dataExtent=l(this,this._dimName,c),a(this);var e=this.calculateDataWindow(r.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,t(this)},restore:function(r){if(r!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,t(this,!0)},filterData:function(r,c){if(r!==this._dataZoomModel)return;var e=this._dimName,s=this.getTargetSeriesModels(),u=r.get("filterMode"),h=this._valueWindow;if(u==="none")return;v(s,function(A){var w=A.getData(),b=w.mapDimension(e,!0);if(!b.length)return;u==="weakFilter"?w.filterSelf(function(S){for(var _,T,x,C=0;C<b.length;C++){var I=w.get(b[C],S),L=!isNaN(I),M=I<h[0],k=I>h[1];if(L&&!M&&!k)return!0;L&&(x=!0),M&&(_=!0),k&&(T=!0)}return x&&_&&T}):v(b,function(S){if(u==="empty")A.setData(w=w.map(S,function(T){return g(T)?T:NaN}));else{var _={};_[S]=h,w.selectRange(_)}}),v(b,function(S){w.setApproximateExtent(h,S)})});function g(A){return A>=h[0]&&A<=h[1]}}};function l(r,c,e){var s=[Infinity,-Infinity];return v(e,function(u){var h=u.getData();h&&v(h.mapDimension(c,!0),function(g){var A=h.getApproximateExtent(g);A[0]<s[0]&&(s[0]=A[0]),A[1]>s[1]&&(s[1]=A[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),n(r,s),s}function n(r,c){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"?c[0]=s:u&&(c[0]=h>0?0:NaN);var g=e.getMax(!0);return g!=null&&g!=="dataMax"&&typeof g!="function"?c[1]=g:u&&(c[1]=h>0?h-1:NaN),e.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function t(r,c){var e=r.getAxisModel(),s=r._percentWindow,u=r._valueWindow;if(!s)return;var h=m.getPixelPrecision(u,[0,500]);h=Math.min(h,20);var g=c||s[0]===0&&s[1]===100;e.setRange(g?null:+u[0].toFixed(h),g?null:+u[1].toFixed(h))}function a(r){var c=r._minMaxSpan={},e=r._dataZoomModel,s=r._dataExtent;v(["min","max"],function(u){var h=e.get(u+"Span"),g=e.get(u+"ValueSpan");g!=null&&(g=r.getAxisModel().axis.scale.parse(g)),g!=null?h=m.linearMap(s[0]+g,s,[0,100],!0):h!=null&&(g=m.linearMap(h,[0,100],s,!0)-s[0]),c[u+"Span"]=h,c[u+"ValueSpan"]=g})}var o=d;B.exports=o},zM3Q:function(B,N,i){var y=i("4NO4"),m=y.makeInner;function E(){var p=m();return function(v){var f=p(v),d=v.pipelineContext,l=f.large,n=f.progressiveRender,t=f.large=d&&d.large,a=f.progressiveRender=d&&d.progressiveRender;return!!(l^t||n^a)&&"reset"}}B.exports=E},zRKj:function(B,N,i){i("Ae16"),i("Sp2Z"),i("y4/Y")},zTMp:function(B,N,i){var y=i("bYtY"),m=i("Qxkt"),E=y.each,p=y.curry;function v(s,u){var h={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return f(h,s,u),h.seriesInvolved&&l(h,s),h}function f(s,u,h){var g=u.getComponent("tooltip"),A=u.getComponent("axisPointer"),w=A.get("link",!0)||[],b=[];E(h.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var _=e(S.model),T=s.coordSysAxesInfo[_]={};s.coordSysMap[_]=S;var x=S.model,C=x.getModel("tooltip",g);if(E(S.getAxes(),p(k,!1,null)),S.getTooltipAxes&&g&&C.get("show")){var I=C.get("trigger")==="axis",L=C.get("axisPointer.type")==="cross",M=S.getTooltipAxes(C.get("axisPointer.axis"));(I||L)&&E(M.baseAxes,p(k,L?"cross":!0,I)),L&&E(M.otherAxes,p(k,"cross",!1))}function k(R,j,V){var D=V.model.getModel("axisPointer",A),H=D.get("show");if(!H||H==="auto"&&!R&&!c(D))return;j==null&&(j=D.get("triggerTooltip")),D=R?d(V,C,A,u,R,j):D;var P=D.get("snap"),K=e(V.model),U=j||P||V.type==="category",G=s.axesInfo[K]={key:K,axis:V,coordSys:S,axisPointerModel:D,triggerTooltip:j,involveSeries:U,snap:P,useHandle:c(D),seriesModels:[]};T[K]=G,s.seriesInvolved|=U;var W=n(w,V);if(W!=null){var Z=b[W]||(b[W]={axesInfo:{}});Z.axesInfo[K]=G,Z.mapper=w[W].mapper,G.linkGroup=Z}}})}function d(s,u,h,g,A,w){var b=u.getModel("axisPointer"),S={};E(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){S[C]=y.clone(b.get(C))}),S.snap=s.type!=="category"&&!!w,b.get("type")==="cross"&&(S.type="line");var _=S.label||(S.label={});if(_.show==null&&(_.show=!1),A==="cross"){var T=b.get("label.show");if(_.show=T!=null?T:!0,!w){var x=S.lineStyle=b.get("crossStyle");x&&y.defaults(_,x.textStyle)}}return s.model.getModel("axisPointer",new m(S,h,g))}function l(s,u){u.eachSeries(function(h){var g=h.coordinateSystem,A=h.get("tooltip.trigger",!0),w=h.get("tooltip.show",!0);if(!g||A==="none"||A===!1||A==="item"||w===!1||h.get("axisPointer.show",!0)===!1)return;E(s.coordSysAxesInfo[e(g.model)],function(b){var S=b.axis;g.getAxis(S.dim)===S&&(b.seriesModels.push(h),b.seriesDataCount==null&&(b.seriesDataCount=0),b.seriesDataCount+=h.getData().count())})},this)}function n(s,u){for(var h=u.model,g=u.dim,A=0;A<s.length;A++){var w=s[A]||{};if(t(w[g+"AxisId"],h.id)||t(w[g+"AxisIndex"],h.componentIndex)||t(w[g+"AxisName"],h.name))return A}}function t(s,u){return s==="all"||y.isArray(s)&&y.indexOf(s,u)>=0||s===u}function a(s){var u=o(s);if(!u)return;var h=u.axisPointerModel,g=u.axis.scale,A=h.option,w=h.get("status"),b=h.get("value");b!=null&&(b=g.parse(b));var S=c(h);w==null&&(A.status=S?"show":"hide");var _=g.getExtent().slice();_[0]>_[1]&&_.reverse(),(b==null||b>_[1])&&(b=_[1]),b<_[0]&&(b=_[0]),A.value=b,S&&(A.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 c(s){return!!s.get("handle.show")}function e(s){return s.type+"||"+s.id}N.collect=v,N.fixValue=a,N.getAxisInfo=o,N.getAxisPointerModel=r,N.makeKey=e},zYTA:function(B,N,i){var y=i("bYtY"),m=256;function E(){var v=y.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}E.prototype={update:function(v,f,d,l,n,t){var a=this._getBrush(),o=this._getGradient(v,n,"inRange"),r=this._getGradient(v,n,"outOfRange"),c=this.pointSize+this.blurSize,e=this.canvas,s=e.getContext("2d"),u=v.length;e.width=f,e.height=d;for(var h=0;h<u;++h){var g=v[h],A=g[0],w=g[1],b=g[2],S=l(b);s.globalAlpha=S,s.drawImage(a,A-c,w-c)}if(!e.width||!e.height)return e;for(var _=s.getImageData(0,0,e.width,e.height),T=_.data,x=0,C=T.length,I=this.minOpacity,L=this.maxOpacity,M=L-I;x<C;){var S=T[x+3]/256,k=Math.floor(S*(m-1))*4;if(S>0){var R=t(S)?o:r;S>0&&(S=S*M+I),T[x++]=R[k],T[x++]=R[k+1],T[x++]=R[k+2],T[x++]=R[k+3]*S*256}else x+=4}return s.putImageData(_,0,0),e},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=y.createCanvas()),f=this.pointSize+this.blurSize,d=f*2;v.width=d,v.height=d;var l=v.getContext("2d");return l.clearRect(0,0,d,d),l.shadowOffsetX=d,l.shadowBlur=this.blurSize,l.shadowColor="#000",l.beginPath(),l.arc(-f,f,this.pointSize,0,Math.PI*2,!0),l.closePath(),l.fill(),v},_getGradient:function(v,f,d){for(var l=this._gradientPixels,n=l[d]||(l[d]=new Uint8ClampedArray(256*4)),t=[0,0,0,0],a=0,o=0;o<256;o++)f[d](o/255,!0,t),n[a++]=t[0],n[a++]=t[1],n[a++]=t[2],n[a++]=t[3];return n}};var p=E;B.exports=p},zarK:function(B,N,i){var y=i("YH21"),m=y.addEventListener,E=y.removeEventListener,p=y.normalizeEvent,v=y.getNativeEvent,f=i("bYtY"),d=i("H6uX"),l=i("ItGF"),n=300,t=l.domSupported,a=function(){var R=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],j=["touchstart","touchend","touchmove"],V={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},D=f.map(R,function(H){var P=H.replace("mouse","pointer");return V.hasOwnProperty(P)?P:H});return{mouse:R,touch:j,pointer:D}}(),o={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(R){return R==="mousewheel"&&l.browser.firefox?"DOMMouseScroll":R}function c(R){var j=R.pointerType;return j==="pen"||j==="touch"}function e(R){R.touching=!0,R.touchTimer!=null&&(clearTimeout(R.touchTimer),R.touchTimer=null),R.touchTimer=setTimeout(function(){R.touching=!1,R.touchTimer=null},700)}function s(R){R&&(R.zrByTouch=!0)}function u(R,j){return p(R.dom,new g(R,j),!0)}function h(R,j){for(var V=j,D=!1;V&&V.nodeType!==9&&!(D=V.domBelongToZr||V!==j&&V===R.painterRoot);)V=V.parentNode;return D}function g(R,j){this.type=j.type,this.target=this.currentTarget=R.dom,this.pointerType=j.pointerType,this.clientX=j.clientX,this.clientY=j.clientY}var A=g.prototype;A.stopPropagation=A.stopImmediatePropagation=A.preventDefault=f.noop;var w={mousedown:function(j){j=p(this.dom,j),this._mayPointerCapture=[j.zrX,j.zrY],this.trigger("mousedown",j)},mousemove:function(j){j=p(this.dom,j);var V=this._mayPointerCapture;V&&(j.zrX!==V[0]||j.zrY!==V[1])&&C(this,!0),this.trigger("mousemove",j)},mouseup:function(j){j=p(this.dom,j),C(this,!1),this.trigger("mouseup",j)},mouseout:function(j){j=p(this.dom,j),this._pointerCapturing&&(j.zrEventControl="no_globalout");var V=j.toElement||j.relatedTarget;j.zrIsToLocalDOM=h(this,V),this.trigger("mouseout",j)},touchstart:function(j){j=p(this.dom,j),s(j),this._lastTouchMoment=new Date,this.handler.processGesture(j,"start"),w.mousemove.call(this,j),w.mousedown.call(this,j)},touchmove:function(j){j=p(this.dom,j),s(j),this.handler.processGesture(j,"change"),w.mousemove.call(this,j)},touchend:function(j){j=p(this.dom,j),s(j),this.handler.processGesture(j,"end"),w.mouseup.call(this,j),+new Date-this._lastTouchMoment<n&&w.click.call(this,j)},pointerdown:function(j){w.mousedown.call(this,j)},pointermove:function(j){c(j)||w.mousemove.call(this,j)},pointerup:function(j){w.mouseup.call(this,j)},pointerout:function(j){c(j)||w.mouseout.call(this,j)}};f.each(["click","mousewheel","dblclick","contextmenu"],function(R){w[R]=function(j){j=p(this.dom,j),this.trigger(R,j)}});var b={pointermove:function(j){c(j)||b.mousemove.call(this,j)},pointerup:function(j){b.mouseup.call(this,j)},mousemove:function(j){this.trigger("mousemove",j)},mouseup:function(j){var V=this._pointerCapturing;C(this,!1),this.trigger("mouseup",j),V&&(j.zrEventControl="only_globalout",this.trigger("mouseout",j))}};function S(R,j){var V=j.domHandlers;l.pointerEventsSupported?f.each(a.pointer,function(D){T(j,D,function(H){V[D].call(R,H)})}):(l.touchEventsSupported&&f.each(a.touch,function(D){T(j,D,function(H){V[D].call(R,H),e(j)})}),f.each(a.mouse,function(D){T(j,D,function(H){H=v(H),j.touching||V[D].call(R,H)})}))}function _(R,j){l.pointerEventsSupported?f.each(o.pointer,V):l.touchEventsSupported||f.each(o.mouse,V);function V(D){function H(P){P=v(P),h(R,P.target)||(P=u(R,P),j.domHandlers[D].call(R,P))}T(j,D,H,{capture:!0})}}function T(R,j,V,D){R.mounted[j]=V,R.listenerOpts[j]=D,m(R.domTarget,r(j),V,D)}function x(R){var j=R.mounted;for(var V in j)j.hasOwnProperty(V)&&E(R.domTarget,r(V),j[V],R.listenerOpts[V]);R.mounted={}}function C(R,j){if(R._mayPointerCapture=null,t&&R._pointerCapturing^j){R._pointerCapturing=j;var V=R._globalHandlerScope;j?_(R,V):x(V)}}function I(R,j){this.domTarget=R,this.domHandlers=j,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(R,j){d.call(this),this.dom=R,this.painterRoot=j,this._localHandlerScope=new I(R,w),t&&(this._globalHandlerScope=new I(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var M=L.prototype;M.dispose=function(){x(this._localHandlerScope),t&&x(this._globalHandlerScope)},M.setCursor=function(R){this.dom.style&&(this.dom.style.cursor=R||"default")},f.mixin(L,d);var k=L;B.exports=k},zdCA:function(B,N,i){"use strict";var y=i("284h"),m=i("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var E=m(i("3tO9")),p=y(i("q1tI")),v=m(i("PSzr")),f=m(i("KQxl")),d=function(t,a){return p.createElement(f.default,(0,E.default)((0,E.default)({},t),{},{ref:a,icon:v.default}))};d.displayName="BarsOutlined";var l=p.forwardRef(d);N.default=l},zeV3:function(B,N,i){"use strict";var y=i("pVnL"),m=i.n(y),E=i("lSNA"),p=i.n(E),v=i("q1tI"),f=i.n(v),d=i("TSYQ"),l=i.n(d),n=i("H84U"),t=function(r,c){var e={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&c.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++)c.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(r,s[u])&&(e[s[u]]=r[s[u]]);return e},a={small:8,middle:16,large:24},o=function(c){var e,s=v.useContext(n.b),u=s.getPrefixCls,h=s.space,g=s.direction,A=c.size,w=A===void 0?(h==null?void 0:h.size)||"small":A,b=c.align,S=c.className,_=c.children,T=c.direction,x=T===void 0?"horizontal":T,C=c.prefixCls,I=t(c,["size","align","className","children","direction","prefixCls"]),L=v.Children.count(_);if(L===0)return null;var M=b===void 0&&x==="horizontal"?"center":b,k=u("space",C),R=l()(k,"".concat(k,"-").concat(x),(e={},p()(e,"".concat(k,"-rtl"),g==="rtl"),p()(e,"".concat(k,"-align-").concat(M),M),e),S),j="".concat(k,"-item"),V=g==="rtl"?"marginLeft":"marginRight";return v.createElement("div",m()({className:R},I),v.Children.map(_,function(D,H){return v.createElement("div",{className:j,key:"".concat(j,"-").concat(H),style:H===L-1||D===null||D===void 0?{}:p()({},x==="vertical"?"marginBottom":V,typeof w=="string"?a[w]:w)},D)}))};N.a=o},zoYe:function(B,N,i){var y=i("nmnc"),m=i("eUgh"),E=i("Z0cm"),p=i("/9aa"),v=1/0,f=y?y.prototype:void 0,d=f?f.toString:void 0;function l(n){if(typeof n=="string")return n;if(E(n))return m(n,l)+"";if(p(n))return d?d.call(n):"";var t=n+"";return t=="0"&&1/n==-v?"-0":t}B.exports=l},zs7G:function(B,N,i){"use strict";var y=i("VTBJ"),m=i("q1tI"),E={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"},p=E,v=i("6VBw"),f=function(n,t){return m.createElement(v.a,Object(y.a)(Object(y.a)({},n),{},{ref:t,icon:p}))};f.displayName="DoubleRightOutlined";var d=N.a=m.forwardRef(f)},zuHt:function(B,N,i){var y=i("bYtY");function m(E){var p={};E.eachSeriesByType("map",function(v){var f=v.getMapType();if(v.getHostGeoModel()||p[f])return;var d={};y.each(v.seriesGroup,function(n){var t=n.coordinateSystem,a=n.originalData;n.get("showLegendSymbol")&&E.getComponent("legend")&&a.each(a.mapDimension("value"),function(o,r){var c=a.getName(r),e=t.getRegion(c);if(!e||isNaN(o))return;var s=d[c]||0,u=t.dataToPoint(e.center);d[c]=s+1,a.setItemLayout(r,{point:u,offset:s})})});var l=v.getData();l.each(function(n){var t=l.getName(n),a=l.getItemLayout(n)||{};a.showLabel=!d[t],l.setItemLayout(n,a)}),p[f]=!0})}B.exports=m}}]);