|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(D,I,e){"use strict";var g=e("wx14"),f=e("Ff2n"),y=e("rePB"),p=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),u=e("md7G"),o=e("foSv"),i=e("q1tI"),r=e.n(i),a=e("TSYQ"),c=e.n(a);function n(m,w){var b=Object.keys(m);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(m);w&&(E=E.filter(function(A){return Object.getOwnPropertyDescriptor(m,A).enumerable})),b.push.apply(b,E)}return b}function l(m){for(var w=1;w<arguments.length;w++){var b=arguments[w]!=null?arguments[w]:{};w%2?n(Object(b),!0).forEach(function(E){Object(y.a)(m,E,b[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(b)):n(Object(b)).forEach(function(E){Object.defineProperty(m,E,Object.getOwnPropertyDescriptor(b,E))})}return m}function t(m){var w=s();return function(){var E=Object(o.a)(m),A;if(w){var S=Object(o.a)(this).constructor;A=Reflect.construct(E,arguments,S)}else A=E.apply(this,arguments);return Object(u.a)(this,A)}}function s(){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(m){return!1}}var d=function(m){Object(h.a)(b,m);var w=t(b);function b(E){var A;Object(p.a)(this,b),A=w.call(this,E),A.handleChange=function(T){var O=A.props,x=O.disabled,C=O.onChange;if(x)return;"checked"in A.props||A.setState({checked:T.target.checked}),C&&C({target:l(l({},A.props),{},{checked:T.target.checked}),stopPropagation:function(){T.stopPropagation()},preventDefault:function(){T.preventDefault()},nativeEvent:T.nativeEvent})},A.saveInput=function(T){A.input=T};var S="checked"in E?E.checked:E.defaultChecked;return A.state={checked:S},A}return Object(v.a)(b,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var A,S=this.props,T=S.prefixCls,O=S.className,x=S.style,C=S.name,_=S.id,N=S.type,F=S.disabled,k=S.readOnly,P=S.tabIndex,j=S.onClick,K=S.onFocus,R=S.onBlur,B=S.autoFocus,U=S.value,H=S.required,W=Object(f.a)(S,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),V=Object.keys(W).reduce(function(q,fe){return(fe.substr(0,5)==="aria-"||fe.substr(0,5)==="data-"||fe==="role")&&(q[fe]=W[fe]),q},{}),z=this.state.checked,X=c()(T,O,(A={},Object(y.a)(A,"".concat(T,"-checked"),z),Object(y.a)(A,"".concat(T,"-disabled"),F),A));return r.a.createElement("span",{className:X,style:x},r.a.createElement("input",Object(g.a)({name:C,id:_,type:N,required:H,readOnly:k,disabled:F,tabIndex:P,className:"".concat(T,"-input"),checked:!!z,onClick:j,onFocus:K,onBlur:R,onChange:this.handleChange,autoFocus:B,ref:this.saveInput,value:U},V)),r.a.createElement("span",{className:"".concat(T,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(A,S){return"checked"in A?l(l({},S),{},{checked:A.checked}):null}}]),b}(i.Component);d.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},I.a=d},"+6XX":function(D,I,e){var g=e("y1pI");function f(y){return g(this.__data__,y)>-1}D.exports=f},"+BJd":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6MrE"),p=e.n(y)},"+QRC":function(D,I,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},y="Copy to clipboard: #{key}, Enter";function p(h){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,u)}function v(h,u){var o,i,r,a,c,n,l=!1;u||(u={}),o=u.debug||!1;try{r=g(),a=document.createRange(),c=document.getSelection(),n=document.createElement("span"),n.textContent=h,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(s){if(s.stopPropagation(),u.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=f[u.format]||f.default;window.clipboardData.setData(d,h)}else s.clipboardData.clearData(),s.clipboardData.setData(u.format,h);u.onCopy&&(s.preventDefault(),u.onCopy(s.clipboardData))}),document.body.appendChild(n),a.selectNodeContents(n),c.addRange(a);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(s){o&&console.error("unable to copy using execCommand: ",s),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",h),u.onCopy&&u.onCopy(window.clipboardData),l=!0}catch(d){o&&console.error("unable to copy using clipboardData: ",d),o&&console.error("falling back to prompt"),i=p("message"in u?u.message:y),window.prompt(i,h)}}finally{c&&(typeof c.removeRange=="function"?c.removeRange(a):c.removeAllRanges()),n&&document.body.removeChild(n),r()}return l}D.exports=v},"+TT/":function(D,I,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),p=y.parsePercent,v=e("7aKB"),h=g.each,u=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function i(b,E,A,S,T){var O=0,x=0;S==null&&(S=Infinity),T==null&&(T=Infinity);var C=0;E.eachChild(function(_,N){var F=_.position,k=_.getBoundingRect(),P=E.childAt(N+1),j=P&&P.getBoundingRect(),K,R;if(b==="horizontal"){var B=k.width+(j?-j.x+k.x:0);K=O+B,K>S||_.newline?(O=0,K=B,x+=C+A,C=k.height):C=Math.max(C,k.height)}else{var U=k.height+(j?-j.y+k.y:0);R=x+U,R>T||_.newline?(O+=C+A,x=0,R=U,C=k.width):C=Math.max(C,k.width)}if(_.newline)return;F[0]=O,F[1]=x,b==="horizontal"?O=K+A:x=R+A})}var r=i,a=g.curry(i,"vertical"),c=g.curry(i,"horizontal");function n(b,E,A){var S=E.width,T=E.height,O=p(b.x,S),x=p(b.y,T),C=p(b.x2,S),_=p(b.y2,T);return(isNaN(O)||isNaN(parseFloat(b.x)))&&(O=0),(isNaN(C)||isNaN(parseFloat(b.x2)))&&(C=S),(isNaN(x)||isNaN(parseFloat(b.y)))&&(x=0),(isNaN(_)||isNaN(parseFloat(b.y2)))&&(_=T),A=v.normalizeCssArray(A||0),{width:Math.max(C-O-A[1]-A[3],0),height:Math.max(_-x-A[0]-A[2],0)}}function l(b,E,A){A=v.normalizeCssArray(A||0);var S=E.width,T=E.height,O=p(b.left,S),x=p(b.top,T),C=p(b.right,S),_=p(b.bottom,T),N=p(b.width,S),F=p(b.height,T),k=A[2]+A[0],P=A[1]+A[3],j=b.aspect;isNaN(N)&&(N=S-C-P-O),isNaN(F)&&(F=T-_-k-x),j!=null&&(isNaN(N)&&isNaN(F)&&(j>S/T?N=S*.8:F=T*.8),isNaN(N)&&(N=j*F),isNaN(F)&&(F=N/j)),isNaN(O)&&(O=S-C-N-P),isNaN(x)&&(x=T-_-F-k);switch(b.left||b.right){case"center":O=S/2-N/2-A[3];break;case"right":O=S-N-P;break}switch(b.top||b.bottom){case"middle":case"center":x=T/2-F/2-A[0];break;case"bottom":x=T-F-k;break}O=O||0,x=x||0,isNaN(N)&&(N=S-P-O-(C||0)),isNaN(F)&&(F=T-k-x-(_||0));var K=new f(O+A[3],x+A[0],N,F);return K.margin=A,K}function t(b,E,A,S,T){var O=!T||!T.hv||T.hv[0],x=!T||!T.hv||T.hv[1],C=T&&T.boundingMode||"all";if(!O&&!x)return;var _;if(C==="raw")_=b.type==="group"?new f(0,0,+E.width||0,+E.height||0):b.getBoundingRect();else if(_=b.getBoundingRect(),b.needLocalTransform()){var N=b.getLocalTransform();_=_.clone(),_.applyTransform(N)}E=l(g.defaults({width:_.width,height:_.height},E),A,S);var F=b.position,k=O?E.x-_.x:0,P=x?E.y-_.y:0;b.attr("position",C==="raw"?[k,P]:[F[0]+k,F[1]+P])}function s(b,E){return b[o[E][0]]!=null||b[o[E][1]]!=null&&b[o[E][2]]!=null}function d(b,E,A){!g.isObject(A)&&(A={});var S=A.ignoreSize;!g.isArray(S)&&(S=[S,S]);var T=x(o[0],0),O=x(o[1],1);N(o[0],b,T),N(o[1],b,O);function x(F,k){var P={},j=0,K={},R=0,B=2;if(h(F,function(W){K[W]=b[W]}),h(F,function(W){C(E,W)&&(P[W]=K[W]=E[W]),_(P,W)&&j++,_(K,W)&&R++}),S[k])return _(E,F[1])?K[F[2]]=null:_(E,F[2])&&(K[F[1]]=null),K;if(R===B||!j)return K;if(j>=B)return P;for(var U=0;U<F.length;U++){var H=F[U];if(!C(P,H)&&C(b,H)){P[H]=b[H];break}}return P}function C(F,k){return F.hasOwnProperty(k)}function _(F,k){return F[k]!=null&&F[k]!=="auto"}function N(F,k,P){h(F,function(j){k[j]=P[j]})}}function m(b){return w({},b)}function w(b,E){return E&&b&&h(u,function(A){E.hasOwnProperty(A)&&(b[A]=E[A])}),b}I.LOCATION_PARAMS=u,I.HV_NAMES=o,I.box=r,I.vbox=a,I.hbox=c,I.getAvailableSize=n,I.getLayoutRect=l,I.positionElement=t,I.sizeCalculable=s,I.mergeLayoutParam=d,I.getLayoutParams=m,I.copyLayoutParams=w},"+Zaj":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("ugBc")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="CalendarOutlined";var u=y.forwardRef(h);I.default=u},"+d4F":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("y3Yb"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"+eQT":function(D,I,e){"use strict";var g=e("wd/R"),f=e.n(g),y=e("Kwbf"),p={getNow:function(){return f()()},getWeekDay:function(jt){var Jt=jt.clone().locale("en_US");return Jt.weekday()+Jt.localeData().firstDayOfWeek()},getYear:function(jt){return jt.year()},getMonth:function(jt){return jt.month()},getDate:function(jt){return jt.date()},getHour:function(jt){return jt.hour()},getMinute:function(jt){return jt.minute()},getSecond:function(jt){return jt.second()},addYear:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"year")},addMonth:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"month")},addDate:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"day")},setYear:function(jt,Jt){var nr=jt.clone();return nr.year(Jt)},setMonth:function(jt,Jt){var nr=jt.clone();return nr.month(Jt)},setDate:function(jt,Jt){var nr=jt.clone();return nr.date(Jt)},setHour:function(jt,Jt){var nr=jt.clone();return nr.hour(Jt)},setMinute:function(jt,Jt){var nr=jt.clone();return nr.minute(Jt)},setSecond:function(jt,Jt){var nr=jt.clone();return nr.second(Jt)},isAfter:function(jt,Jt){return jt.isAfter(Jt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Jt=f()().locale(jt);return Jt.localeData().firstDayOfWeek()},getWeek:function(jt,Jt){var nr=Jt.clone(),_r=nr.locale(jt);return _r.week()},getShortWeekDays:function(jt){var Jt=f()().locale(jt);return Jt.localeData().weekdaysMin()},getShortMonths:function(jt){var Jt=f()().locale(jt);return Jt.localeData().monthsShort()},format:function(jt,Jt,nr){var _r=Jt.clone(),wr=_r.locale(jt);return wr.format(nr)},parse:function(jt,Jt,nr){for(var _r=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],zr=Jt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Jr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Zr=zr.match(/[-\d]+/g);Jr&&Zr?(Er=Jr.join(""),zr=Zr.join("")):_r.push(Er.replace(/o/g,""))}var an=f()(zr,Er,jt,!0);if(an.isValid())return an}for(var St=0;St<_r.length;St+=1){var Vt=f()(Jt,_r[St],jt,!1);if(Vt.isValid())return Object(y.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Vt}return null}}},v=p,h=e("pVnL"),u=e.n(h),o=e("q1tI"),i=e("2/Rp");function r(tt){return o.createElement(i.a,u()({size:"small",type:"primary"},tt))}var a=e("mr32");function c(tt){return o.createElement(a.a,u()({color:"blue"},tt))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),s=e.n(t),d=e("W8MJ"),m=e.n(d),w=e("7W2i"),b=e.n(w),E=e("LQ03"),A=e.n(E),S=e("TSYQ"),T=e.n(S),O=e("r/2G"),x=e.n(O),C=e("XzQk"),_=e.n(C),N=e("kbBi"),F=e.n(N),k=e("1OyB"),P=e("vuIU"),j=e("Ji7U"),K=e("LK+K"),R=e("rePB"),B=e("VTBJ"),U=e("ODXe"),H=e("6cGi"),W=e("U8pU"),V=e("4IlW"),z=o.createContext({}),X=z,q={visibility:"hidden"};function fe(tt){var jt=tt.prefixCls,Jt=tt.prevIcon,nr=Jt===void 0?"\u2039":Jt,_r=tt.nextIcon,wr=_r===void 0?"\u203A":_r,Er=tt.superPrevIcon,zr=Er===void 0?"\xAB":Er,Jr=tt.superNextIcon,Zr=Jr===void 0?"\xBB":Jr,an=tt.onSuperPrev,St=tt.onSuperNext,Vt=tt.onPrev,sr=tt.onNext,br=tt.children,Mr=o.useContext(X),Dr=Mr.hideNextBtn,rn=Mr.hidePrevBtn;return o.createElement("div",{className:jt},an&&o.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(jt,"-super-prev-btn"),style:rn?q:{}},zr),Vt&&o.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?q:{}},nr),o.createElement("div",{className:"".concat(jt,"-view")},br),sr&&o.createElement("button",{type:"button",onClick:sr,tabIndex:-1,className:"".concat(jt,"-next-btn"),style:Dr?q:{}},wr),St&&o.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?q:{}},Zr))}var G=fe;function ve(tt){var jt=o.useContext(X),Jt=jt.hideHeader;if(Jt)return null;var nr=tt.prefixCls,_r=tt.generateConfig,wr=tt.locale,Er=tt.value,zr=tt.format,Jr="".concat(nr,"-header");return o.createElement(G,{prefixCls:Jr},Er?_r.locale.format(wr.locale,Er,zr):"\xA0")}var Se=ve,ge=e("YrtM"),Pe=e("KQm4"),Ge=new Map;function pt(tt,jt,Jt){if(Ge.get(tt)&&cancelAnimationFrame(Ge.get(tt)),Jt<=0){Ge.set(tt,requestAnimationFrame(function(){tt.scrollTop=jt}));return}var nr=jt-tt.scrollTop,_r=nr/Jt*10;Ge.set(tt,requestAnimationFrame(function(){tt.scrollTop+=_r,tt.scrollTop!==jt&&pt(tt,jt,Jt-10)}))}function Te(tt,jt){var Jt=jt.onLeftRight,nr=jt.onCtrlLeftRight,_r=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,zr=tt.which,Jr=tt.ctrlKey,Zr=tt.metaKey;switch(zr){case V.a.LEFT:if(Jr||Zr){if(nr)return nr(-1),!0}else if(Jt)return Jt(-1),!0;break;case V.a.RIGHT:if(Jr||Zr){if(nr)return nr(1),!0}else if(Jt)return Jt(1),!0;break;case V.a.UP:if(_r)return _r(-1),!0;break;case V.a.DOWN:if(_r)return _r(1),!0;break;case V.a.PAGE_UP:if(wr)return wr(-1),!0;break;case V.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case V.a.ENTER:if(Er)return Er(),!0;break}return!1}function xe(tt,jt,Jt,nr){var _r=tt;if(!_r)switch(jt){case"time":_r=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":_r="gggg-wo";break;case"month":_r="YYYY-MM";break;case"quarter":_r="YYYY-[Q]Q";break;case"year":_r="YYYY";break;default:_r=Jt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return _r}function lt(tt,jt){var Jt=tt==="time"?8:10;return Math.max(Jt,jt.length)+2}var Ie=null,de=new Set;function ee(tt){return!Ie&&typeof window!="undefined"&&window.addEventListener&&(Ie=function(Jt){Object(Pe.a)(de).forEach(function(nr){nr(Jt)})},window.addEventListener("mousedown",Ie)),de.add(tt),function(){de.delete(tt),de.size===0&&(window.removeEventListener("mousedown",Ie),Ie=null)}}var se=function(jt){return jt==="month"||jt==="date"?"year":jt},ke=function(jt){return jt==="date"?"month":jt},Ce=function(jt){return jt==="month"||jt==="date"?"quarter":jt},ze=function(jt){return jt==="date"?"week":jt},_e={year:se,month:ke,quarter:Ce,week:ze,time:null,date:null};function ae(tt,jt){return tt.some(function(Jt){return Jt&&Jt.contains(jt)})}function me(tt){var jt=tt.prefixCls,Jt=tt.units,nr=tt.onSelect,_r=tt.value,wr=tt.active,Er=tt.hideDisabledOptions,zr="".concat(jt,"-cell"),Jr=o.useContext(X),Zr=Jr.open,an=o.useRef(null),St=o.useRef(new Map);return o.useLayoutEffect(function(){var Vt=St.current.get(_r);Vt&&Zr!==!1&&pt(an.current,Vt.offsetTop,120)},[_r]),o.useLayoutEffect(function(){if(Zr){var Vt=St.current.get(_r);Vt&&pt(an.current,Vt.offsetTop,0)}},[Zr]),o.createElement("ul",{className:T()("".concat(jt,"-column"),Object(R.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Jt.map(function(Vt){var sr;return Er&&Vt.disabled?null:o.createElement("li",{key:Vt.value,ref:function(Mr){St.current.set(Vt.value,Mr)},className:T()(zr,(sr={},Object(R.a)(sr,"".concat(zr,"-disabled"),Vt.disabled),Object(R.a)(sr,"".concat(zr,"-selected"),_r===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},o.createElement("div",{className:"".concat(zr,"-inner")},Vt.label))}))}var Oe=me;function Ze(tt,jt){for(var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(tt);nr.length<jt;)nr="".concat(Jt).concat(tt);return nr}var vt=function(){for(var jt=arguments.length,Jt=new Array(jt),nr=0;nr<jt;nr++)Jt[nr]=arguments[nr];return Jt};function Ct(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function Be(tt){var jt={};return Object.keys(tt).forEach(function(Jt){(Jt.substr(0,5)==="data-"||Jt.substr(0,5)==="aria-"||Jt==="role"||Jt==="name")&&Jt.substr(0,7)!=="data-__"&&(jt[Jt]=tt[Jt])}),jt}function Rt(tt,jt){return tt?tt[jt]:null}function He(tt,jt,Jt){var nr=[Rt(tt,0),Rt(tt,1)];return nr[Jt]=typeof jt=="function"?jt(nr[Jt]):jt,!nr[0]&&!nr[1]?null:nr}function wt(tt,jt,Jt,nr,_r){var wr=tt.setHour(jt,Jt);return wr=tt.setMinute(wr,nr),wr=tt.setSecond(wr,_r),wr}function Ye(tt,jt,Jt,nr,_r,wr){var Er=Math.floor(tt/nr)*nr;if(Er<tt)return[Er,60-_r,60-wr];var zr=Math.floor(jt/_r)*_r;if(zr<jt)return[Er,zr,60-wr];var Jr=Math.floor(Jt/wr)*wr;return[Er,zr,Jr]}function et(tt,jt){if(tt.length!==jt.length)return!0;for(var Jt=0;Jt<tt.length;Jt+=1)if(tt[Jt].disabled!==jt[Jt].disabled)return!0;return!1}function rt(tt,jt,Jt,nr){for(var _r=[],wr=tt;wr<=jt;wr+=Jt)_r.push({label:Ze(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return _r}function st(tt){var jt=tt.generateConfig,Jt=tt.prefixCls,nr=tt.operationRef,_r=tt.activeColumnIndex,wr=tt.value,Er=tt.showHour,zr=tt.showMinute,Jr=tt.showSecond,Zr=tt.use12Hours,an=tt.hourStep,St=an===void 0?1:an,Vt=tt.minuteStep,sr=Vt===void 0?1:Vt,br=tt.secondStep,Mr=br===void 0?1:br,Dr=tt.disabledHours,rn=tt.disabledMinutes,fn=tt.disabledSeconds,wn=tt.hideDisabledOptions,Hn=tt.onSelect,Sn=[],bn="".concat(Jt,"-content"),Mn="".concat(Jt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,Ln=wr?jt.getSecond(wr):-1,Xn=function(hi,qi,va,Ea){var ya=wr||jt.getNow(),oa=Math.max(0,qi),sa=Math.max(0,va),Ni=Math.max(0,Ea);return ya=wt(jt,ya,!Zr||!hi?oa:oa+12,sa,Ni),ya},ai=rt(0,23,St,Dr&&Dr()),ri=Object(ge.a)(function(){return ai},ai,et);Zr&&(vn=Rn>=12,Rn%=12);var Di=o.useMemo(function(){if(!Zr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var qi=hi.disabled,va=hi.value;if(qi)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Zr,ri]),yi=Object(U.a)(Di,2),xi=yi[0],Oi=yi[1],Un=o.useMemo(function(){return Zr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,qi=hi===0?"12":Ze(hi,2);return Object(B.a)(Object(B.a)({},mi),{},{label:qi,value:hi})}):ri},[Zr,ri]),Ri=rt(0,59,sr,rn&&rn(Rn)),fa=rt(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[_r];if(qi)for(var va=qi.units.findIndex(function(sa){return sa.value===qi.value}),Ea=qi.units.length,ya=1;ya<Ea;ya+=1){var oa=qi.units[(va+hi*ya+Ea)%Ea];if(oa.disabled!==!0){qi.onSelect(oa.value);break}}}};function Ui(mi,hi,qi,va,Ea){mi!==!1&&Sn.push({node:o.cloneElement(hi,{prefixCls:Mn,value:qi,active:_r===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,o.createElement(Oe,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,Ln),"mouse")}),Ui(zr,o.createElement(Oe,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,Ln),"mouse")}),Ui(Jr,o.createElement(Oe,{key:"second"}),Ln,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Zr===!0,o.createElement(Oe,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Oi}],function(mi){Hn(Xn(!!mi,Rn,En,Ln),"mouse")}),o.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=st,ie=function(jt){return jt.filter(function(Jt){return Jt!==!1}).length};function $(tt){var jt=tt.generateConfig,Jt=tt.format,nr=Jt===void 0?"HH:mm:ss":Jt,_r=tt.prefixCls,wr=tt.active,Er=tt.operationRef,zr=tt.showHour,Jr=tt.showMinute,Zr=tt.showSecond,an=tt.use12Hours,St=an===void 0?!1:an,Vt=tt.onSelect,sr=tt.value,br="".concat(_r,"-time-panel"),Mr=o.useRef(),Dr=o.useState(-1),rn=Object(U.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=ie([zr,Jr,Zr,St]);return Er.current={onKeyDown:function(bn){return Te(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Mr.current&&Mr.current.onUpDown(vn)},onEnter:function(){Vt(sr||jt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},o.createElement("div",{className:T()(br,Object(R.a)({},"".concat(br,"-active"),wr))},o.createElement(Se,Object.assign({},tt,{format:nr,prefixCls:_r})),o.createElement(Ve,Object.assign({},tt,{prefixCls:_r,activeColumnIndex:fn,operationRef:Mr})))}var it=$,Qe=7;function ye(tt,jt){return!tt&&!jt?!0:!tt||!jt?!1:void 0}function Zt(tt,jt,Jt){var nr=ye(jt,Jt);if(typeof nr=="boolean")return nr;var _r=Math.floor(tt.getYear(jt)/10),wr=Math.floor(tt.getYear(Jt)/10);return _r===wr}function dt(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)}function ct(tt,jt){var Jt=Math.floor(tt.getMonth(jt)/3);return Jt+1}function yt(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:dt(tt,jt,Jt)&&ct(tt,jt)===ct(tt,Jt)}function It(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:dt(tt,jt,Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)}function or(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)&&tt.getDate(jt)===tt.getDate(Jt)}function Bt(tt,jt,Jt){var nr=ye(jt,Jt);return typeof nr=="boolean"?nr:tt.getHour(jt)===tt.getHour(Jt)&&tt.getMinute(jt)===tt.getMinute(Jt)&&tt.getSecond(jt)===tt.getSecond(Jt)}function Ae(tt,jt,Jt,nr){var _r=ye(Jt,nr);return typeof _r=="boolean"?_r:tt.locale.getWeek(jt,Jt)===tt.locale.getWeek(jt,nr)}function pe(tt,jt,Jt){return or(tt,jt,Jt)&&Bt(tt,jt,Jt)}function he(tt,jt,Jt,nr){return!jt||!Jt||!nr?!1:!or(tt,jt,nr)&&!or(tt,Jt,nr)&&tt.isAfter(nr,jt)&&tt.isAfter(Jt,nr)}function le(tt,jt,Jt){var nr=jt.locale.getWeekFirstDay(tt),_r=jt.setDate(Jt,1),wr=jt.getWeekDay(_r),Er=jt.addDate(_r,nr-wr);return jt.getMonth(Er)===jt.getMonth(Jt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function Ne(tt,jt,Jt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Jt.addYear(tt,nr*10);case"quarter":case"month":return Jt.addYear(tt,nr);default:return Jt.addMonth(tt,nr)}}var je=o.createContext({}),Ke=je;function Xe(tt){var jt=tt.cellPrefixCls,Jt=tt.generateConfig,nr=tt.rangedValue,_r=tt.hoverRangedValue,wr=tt.isInView,Er=tt.isSameCell,zr=tt.offsetCell,Jr=tt.today,Zr=tt.value;function an(St){var Vt,sr=zr(St,-1),br=zr(St,1),Mr=Rt(nr,0),Dr=Rt(nr,1),rn=Rt(_r,0),fn=Rt(_r,1),wn=he(Jt,rn,fn,St);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,St),Mn=Er(fn,St),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(R.a)(Vt,"".concat(jt,"-in-view"),wr(St)),Object(R.a)(Vt,"".concat(jt,"-in-range"),he(Jt,Mr,Dr,St)),Object(R.a)(Vt,"".concat(jt,"-range-start"),Hn(St)),Object(R.a)(Vt,"".concat(jt,"-range-end"),Sn(St)),Object(R.a)(Vt,"".concat(jt,"-range-start-single"),Hn(St)&&!Dr),Object(R.a)(Vt,"".concat(jt,"-range-end-single"),Sn(St)&&!Mr),Object(R.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(St)&&(Er(sr,rn)||he(Jt,rn,fn,sr))),Object(R.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(St)&&(Er(br,fn)||he(Jt,rn,fn,br))),Object(R.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(R.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(R.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(R.a)(Vt,"".concat(jt,"-today"),Er(Jr,St)),Object(R.a)(Vt,"".concat(jt,"-selected"),Er(Zr,St)),Vt}return an}function Fe(tt){for(var jt=tt.prefixCls,Jt=tt.disabledDate,nr=tt.onSelect,_r=tt.rowNum,wr=tt.colNum,Er=tt.prefixColumn,zr=tt.rowClassName,Jr=tt.baseDate,Zr=tt.getCellClassName,an=tt.getCellText,St=tt.getCellNode,Vt=tt.getCellDate,sr=tt.titleCell,br=tt.headerCells,Mr=o.useContext(X),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<_r;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var Ln=Hn*wr+En,Xn=Vt(Jr,Ln),ai=Jt&&Jt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(o.createElement("td",{key:En,title:sr&&sr(Xn),className:T()(fn,Object(B.a)(Object(R.a)({},"".concat(fn,"-disabled"),ai),Zr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},St?St(Xn):o.createElement("div",{className:"".concat(fn,"-inner")},an(Xn))))},vn=0;vn<wr;vn+=1)Mn(vn);wn.push(o.createElement("tr",{key:Hn,className:zr&&zr(bn)},Sn))}return o.createElement("div",{className:"".concat(jt,"-body")},o.createElement("table",{className:"".concat(jt,"-content")},br&&o.createElement("thead",null,o.createElement("tr",null,br)),o.createElement("tbody",null,wn)))}function nt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.prefixColumn,_r=tt.locale,wr=tt.rowCount,Er=tt.viewDate,zr=tt.value,Jr=tt.dateRender,Zr=o.useContext(Ke),an=Zr.rangedValue,St=Zr.hoverRangedValue,Vt=le(_r.locale,Jt,Er),sr="".concat(jt,"-cell"),br=Jt.locale.getWeekFirstDay(_r.locale),Mr=Jt.getNow(),Dr=[],rn=_r.shortWeekDays||(Jt.locale.getShortWeekDays?Jt.locale.getShortWeekDays(_r.locale):[]);nr&&Dr.push(o.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Qe;fn+=1)Dr.push(o.createElement("th",{key:fn},rn[(fn+br)%Qe]));var wn=Xe({cellPrefixCls:sr,today:Mr,value:zr,generateConfig:Jt,rangedValue:nr?null:an,hoverRangedValue:nr?null:St,isSameCell:function(bn,Mn){return or(Jt,bn,Mn)},isInView:function(bn){return It(Jt,bn,Er)},offsetCell:function(bn,Mn){return Jt.addDate(bn,Mn)}}),Hn=Jr?function(Sn){return Jr(Sn,Mr)}:void 0;return o.createElement(Fe,Object.assign({},tt,{rowNum:wr,colNum:Qe,baseDate:Vt,getCellNode:Hn,getCellText:Jt.getDate,getCellClassName:wn,getCellDate:Jt.addDate,titleCell:function(bn){return Jt.locale.format(_r.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var At=nt;function _t(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,_r=tt.viewDate,wr=tt.onNextMonth,Er=tt.onPrevMonth,zr=tt.onNextYear,Jr=tt.onPrevYear,Zr=tt.onYearClick,an=tt.onMonthClick,St=o.useContext(X),Vt=St.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Jt.locale.getShortMonths?Jt.locale.getShortMonths(nr.locale):[]),Mr=Jt.getMonth(_r),Dr=o.createElement("button",{type:"button",key:"year",onClick:Zr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,_r,nr.yearFormat)),rn=o.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Jt.locale.format(nr.locale,_r,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return o.createElement(G,Object.assign({},tt,{prefixCls:sr,onSuperPrev:Jr,onPrev:Er,onNext:wr,onSuperNext:zr}),fn)}var ne=_t,ue=6;function Y(tt){var jt=tt.prefixCls,Jt=tt.panelName,nr=Jt===void 0?"date":Jt,_r=tt.keyboardConfig,wr=tt.active,Er=tt.operationRef,zr=tt.generateConfig,Jr=tt.value,Zr=tt.viewDate,an=tt.onViewDateChange,St=tt.onPanelChange,Vt=tt.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return Te(rn,Object(B.a)({onLeftRight:function(wn){Vt(zr.addDate(Jr||Zr,wn),"key")},onCtrlLeftRight:function(wn){Vt(zr.addYear(Jr||Zr,wn),"key")},onUpDown:function(wn){Vt(zr.addDate(Jr||Zr,wn*Qe),"key")},onPageUpDown:function(wn){Vt(zr.addMonth(Jr||Zr,wn),"key")}},_r))}};var br=function(rn){var fn=zr.addYear(Zr,rn);an(fn),St(null,fn)},Mr=function(rn){var fn=zr.addMonth(Zr,rn);an(fn),St(null,fn)};return o.createElement("div",{className:T()(sr,Object(R.a)({},"".concat(sr,"-active"),wr))},o.createElement(ne,Object.assign({},tt,{prefixCls:jt,value:Jr,viewDate:Zr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){St("month",Zr)},onYearClick:function(){St("year",Zr)}})),o.createElement(At,Object.assign({},tt,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Jr,viewDate:Zr,rowCount:ue})))}var te=Y;function be(tt,jt,Jt){if(!Jt)return jt;var nr=jt;return nr=tt.setHour(nr,tt.getHour(Jt)),nr=tt.setMinute(nr,tt.getMinute(Jt)),nr=tt.setSecond(nr,tt.getSecond(Jt)),nr}var Le=vt("date","time");function Re(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.generateConfig,_r=tt.value,wr=tt.defaultValue,Er=tt.disabledTime,zr=tt.showTime,Jr=tt.onSelect,Zr="".concat(jt,"-datetime-panel"),an=o.useState(null),St=Object(U.a)(an,2),Vt=St[0],sr=St[1],br=o.useRef({}),Mr=o.useRef({}),Dr=Object(W.a)(zr)==="object"?Object(B.a)({},zr):{};function rn(Sn){var bn=Le.indexOf(Vt)+Sn,Mn=Le[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Jt.current={onKeyDown:function(bn){if(bn.which===V.a.TAB){var Mn=rn(bn.shiftKey?-1:1);return sr(Mn),Mn&&bn.preventDefault(),!0}if(Vt){var vn=Vt==="date"?br:Mr;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN].includes(bn.which)?(sr("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Mn){var vn=bn;Mn==="date"&&!_r&&Dr.defaultValue?(vn=nr.setHour(vn,nr.getHour(Dr.defaultValue)),vn=nr.setMinute(vn,nr.getMinute(Dr.defaultValue)),vn=nr.setSecond(vn,nr.getSecond(Dr.defaultValue))):Mn==="time"&&!_r&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Jr&&Jr(vn,"mouse")},Hn=Er?Er(_r||null):{};return o.createElement("div",{className:T()(Zr,Object(R.a)({},"".concat(Zr,"-active"),Vt))},o.createElement(te,Object.assign({},tt,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(be(nr,bn,zr&&Object(W.a)(zr)==="object"?zr.defaultValue:null),"date")}})),o.createElement(it,Object.assign({},tt,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var $e=Re;function gt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,_r=tt.value,wr="".concat(jt,"-cell"),Er=function(an){return o.createElement("td",{key:"week",className:T()(wr,"".concat(wr,"-week"))},Jt.locale.getWeek(nr.locale,an))},zr="".concat(jt,"-week-panel-row"),Jr=function(an){return T()(zr,Object(R.a)({},"".concat(zr,"-selected"),Ae(Jt,nr.locale,_r,an)))};return o.createElement(te,Object.assign({},tt,{panelName:"week",prefixColumn:Er,rowClassName:Jr,keyboardConfig:{onLeftRight:null}}))}var Wt=gt;function $t(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,_r=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=o.useContext(X),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return o.createElement(G,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,_r,nr.yearFormat)))}var Dt=$t,Kt=3,Yt=4;function Qt(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,_r=tt.viewDate,wr=tt.generateConfig,Er=tt.monthCellRender,zr=o.useContext(Ke),Jr=zr.rangedValue,Zr=zr.hoverRangedValue,an="".concat(jt,"-cell"),St=Xe({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Jr,hoverRangedValue:Zr,isSameCell:function(Dr,rn){return It(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Jt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Jt.locale):[]),sr=wr.setMonth(_r,0),br=Er?function(Mr){return Er(Mr,Jt)}:void 0;return o.createElement(Fe,Object.assign({},tt,{rowNum:Yt,colNum:Kt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Jt.monthFormat?wr.locale.format(Jt.locale,Dr,Jt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:St,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Jt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,_r=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-month-panel");Jt.current={onKeyDown:function(Vt){return Te(Vt,{onLeftRight:function(br){Jr(_r.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Jr(_r.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(_r.addMonth(wr||Er,br*Kt),"key")},onEnter:function(){zr("date",wr||Er)}})}};var an=function(Vt){var sr=_r.addYear(Er,Vt);nr(sr),zr(null,sr)};return o.createElement("div",{className:Zr},o.createElement(Dt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),o.createElement(Mt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse"),zr("date",Vt)}})))}var er=dr;function ot(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,_r=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=o.useContext(X),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return o.createElement(G,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,_r,nr.yearFormat)))}var xt=ot,ut=4,ft=1;function Lt(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,_r=tt.viewDate,wr=tt.generateConfig,Er=o.useContext(Ke),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=Xe({cellPrefixCls:Zr,value:nr,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(sr,br){return yt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),St=wr.setDate(wr.setMonth(_r,0),1);return o.createElement(Fe,Object.assign({},tt,{rowNum:ft,colNum:ut,baseDate:St,getCellText:function(sr){return wr.locale.format(Jt.locale,sr,Jt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Jt.locale,sr,"YYYY-[Q]Q")}}))}var Tt=Lt;function ht(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,_r=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-quarter-panel");Jt.current={onKeyDown:function(Vt){return Te(Vt,{onLeftRight:function(br){Jr(_r.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Jr(_r.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(_r.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=_r.addYear(Er,Vt);nr(sr),zr(null,sr)};return o.createElement("div",{className:Zr},o.createElement(xt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),o.createElement(Tt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse")}})))}var Ht=ht;function Ft(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,_r=tt.onPrevDecade,wr=tt.onNextDecade,Er=tt.onDecadeClick,zr=o.useContext(X),Jr=zr.hideHeader;if(Jr)return null;var Zr="".concat(jt,"-header"),an=Jt.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1;return o.createElement(G,Object.assign({},tt,{prefixCls:Zr,onSuperPrev:_r,onSuperNext:wr}),o.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},St,"-",Vt))}var ir=Ft,Xt=3,mr=4;function Ar(tt){var jt=tt.prefixCls,Jt=tt.value,nr=tt.viewDate,_r=tt.locale,wr=tt.generateConfig,Er=o.useContext(Ke),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=wr.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1,sr=wr.setYear(nr,St-Math.ceil((Xt*mr-Fr)/2)),br=function(rn){var fn=wr.getYear(rn);return St<=fn&&fn<=Vt},Mr=Xe({cellPrefixCls:Zr,value:Jt,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(rn,fn){return dt(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return o.createElement(Fe,Object.assign({},tt,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(_r.locale,rn,"YYYY")}}))}var Nr=Ar,Fr=10;function tn(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,_r=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.sourceMode,Jr=tt.onSelect,Zr=tt.onPanelChange,an="".concat(jt,"-year-panel");Jt.current={onKeyDown:function(sr){return Te(sr,{onLeftRight:function(Mr){Jr(_r.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Jr(_r.addYear(wr||Er,Mr*Fr),"key")},onUpDown:function(Mr){Jr(_r.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Zr(zr==="date"?"date":"month",wr||Er)}})}};var St=function(sr){var br=_r.addYear(Er,sr*10);nr(br),Zr(null,br)};return o.createElement("div",{className:an},o.createElement(ir,Object.assign({},tt,{prefixCls:jt,onPrevDecade:function(){St(-1)},onNextDecade:function(){St(1)},onDecadeClick:function(){Zr("decade",Er)}})),o.createElement(Nr,Object.assign({},tt,{prefixCls:jt,onSelect:function(sr){Zr(zr==="date"?"date":"month",sr),Jr(sr,"mouse")}})))}var qr=tn;function Or(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,_r=tt.onPrevDecades,wr=tt.onNextDecades,Er=o.useContext(X),zr=Er.hideHeader;if(zr)return null;var Jr="".concat(jt,"-header"),Zr=Jt.getYear(nr),an=Math.floor(Zr/xr)*xr,St=an+xr-1;return o.createElement(G,Object.assign({},tt,{prefixCls:Jr,onSuperPrev:_r,onSuperNext:wr}),an,"-",St)}var Qr=Or,Ir=3,ur=4;function pr(tt){var jt=fr-1,Jt=tt.prefixCls,nr=tt.viewDate,_r=tt.generateConfig,wr=tt.disabledDate,Er="".concat(Jt,"-cell"),zr=_r.getYear(nr),Jr=Math.floor(zr/fr)*fr,Zr=Math.floor(zr/xr)*xr,an=Zr+xr-1,St=_r.setYear(nr,Zr-Math.ceil((Ir*ur*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=_r.getYear(br),fn=rn+jt;return Mr={},Object(R.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(R.a)(Mr,"".concat(Er,"-in-view"),Zr<=rn&&fn<=an),Object(R.a)(Mr,"".concat(Er,"-selected"),rn===Jr),Mr};return o.createElement(Fe,Object.assign({},tt,{rowNum:ur,colNum:Ir,baseDate:St,getCellText:function(br){var Mr=_r.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return _r.addYear(br,Mr*fr)}}))}var cr=pr,fr=10,xr=fr*10;function Gr(tt){var jt=tt.prefixCls,Jt=tt.onViewDateChange,nr=tt.generateConfig,_r=tt.viewDate,wr=tt.operationRef,Er=tt.onSelect,zr=tt.onPanelChange,Jr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return Te(Vt,{onLeftRight:function(br){Er(nr.addYear(_r,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(_r,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(_r,br*fr*Ir),"key")},onEnter:function(){zr("year",_r)}})}};var Zr=function(Vt){var sr=nr.addYear(_r,Vt*xr);Jt(sr),zr(null,sr)},an=function(Vt){Er(Vt,"mouse"),zr("year",Vt)};return o.createElement("div",{className:Jr},o.createElement(Qr,Object.assign({},tt,{prefixCls:jt,onPrevDecades:function(){Zr(-1)},onNextDecades:function(){Zr(1)}})),o.createElement(cr,Object.assign({},tt,{prefixCls:jt,onSelect:an})))}var un=Gr;function Nn(tt,jt,Jt){return Jt?o.createElement("div",{className:"".concat(tt,"-footer-extra")},Jt(jt)):null}function jr(tt){var jt=tt.prefixCls,Jt=tt.rangeList,nr=Jt===void 0?[]:Jt,_r=tt.components,wr=_r===void 0?{}:_r,Er=tt.needConfirmButton,zr=tt.onNow,Jr=tt.onOk,Zr=tt.okDisabled,an=tt.showNow,St=tt.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=o.createElement(o.Fragment,null,nr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return o.createElement("li",{key:rn,className:"".concat(jt,"-preset")},o.createElement(br,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(Er){var Mr=wr.button||"button";zr&&!Vt&&an!==!1&&(Vt=o.createElement("li",{className:"".concat(jt,"-now")},o.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:zr},St.now))),sr=Er&&o.createElement("li",{className:"".concat(jt,"-ok")},o.createElement(Mr,{disabled:Zr,onClick:Jr},St.ok))}return!Vt&&!sr?null:o.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,_r=tt.className,wr=tt.style,Er=tt.locale,zr=tt.generateConfig,Jr=tt.value,Zr=tt.defaultValue,an=tt.pickerValue,St=tt.defaultPickerValue,Vt=tt.disabledDate,sr=tt.mode,br=tt.picker,Mr=br===void 0?"date":br,Dr=tt.tabIndex,rn=Dr===void 0?0:Dr,fn=tt.showNow,wn=tt.showTime,Hn=tt.showToday,Sn=tt.renderExtraFooter,bn=tt.hideHeader,Mn=tt.onSelect,vn=tt.onChange,Rn=tt.onPanelChange,En=tt.onMouseDown,Ln=tt.onPickerValueChange,Xn=tt.onOk,ai=tt.components,ri=tt.direction,Di=tt.hourStep,yi=Di===void 0?1:Di,xi=tt.minuteStep,Oi=xi===void 0?1:xi,Un=tt.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%Oi===0,mi=60%Ri===0,hi=o.useContext(X),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=o.useContext(Ke),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,Li=sa.hoverRangedValue,Vi=o.useRef({}),Xi=o.useRef(!0),bi=Object(H.a)(null,{value:Jr,defaultValue:Zr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(U.a)(bi,2),ca=Aa[0],la=Aa[1],gi=Object(H.a)(null,{value:an,defaultValue:St||ca,postState:function(pi){return pi||zr.getNow()}}),Pa=Object(U.a)(gi,2),Ma=Pa[0],ra=Pa[1],Gi=function(pi){ra(pi),Ln&&Ln(pi)},Xa=function(pi){var Yi=_e[Mr];return Yi?Yi(pi):pi},Ki=Object(H.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),zi=Object(U.a)(Ki,2),ba=zi[0],Ua=zi[1];o.useEffect(function(){Ua(Mr)},[Mr]);var wa=o.useState(function(){return ba}),vi=Object(U.a)(wa,2),Ga=vi[0],Ka=vi[1],pa=function(pi,Yi){var oo=Xa(pi||ba);Ka(ba),Ua(oo),Rn&&(ba!==oo||pe(zr,Ma,Ma))&&Rn(Yi,oo)},_i=function(pi,Yi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Mr||oo)&&(la(pi),Mn&&Mn(pi),Ea&&Ea(pi,Yi),vn&&!pe(zr,pi,ca)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN,V.a.PAGE_UP,V.a.PAGE_DOWN,V.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(y.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},za=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};qi&&$n!=="right"&&(qi.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),o.useEffect(function(){Jr&&!Xi.current&&ra(Jr)},[Jr]),o.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(B.a)(Object(B.a)({},tt),{},{operationRef:Vi,prefixCls:nr,viewDate:Ma,value:ca,onViewDateChange:Gi,sourceMode:Ga,onPanelChange:pa,disabledDate:ba!=="decade"?Vt:void 0});delete qa.onChange,delete qa.onSelect;switch(ba){case"decade":ja=o.createElement(un,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;case"year":ja=o.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;case"month":ja=o.createElement(er,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;case"quarter":ja=o.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;case"week":ja=o.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;case"time":delete qa.showTime,ja=o.createElement(it,Object.assign({},qa,Object(W.a)(wn)==="object"?wn:null,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}));break;default:wn?ja=o.createElement($e,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}})):ja=o.createElement(te,Object.assign({},qa,{onSelect:function(pi,Yi){Gi(pi),_i(pi,Yi)}}))}var ho,Ca,to=function(){var pi=zr.getNow(),Yi=Ye(zr.getHour(pi),zr.getMinute(pi),zr.getSecond(pi),Ui?yi:1,Mi?Oi:1,mi?Ri:1),oo=wt(zr,pi,Yi[0],Yi[1],Yi[2]);_i(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ca||Vt&&Vt(ca),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ca&&(_i(ca,"submit",!0),Xn&&Xn(ca))}}));var Oo;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var La=zr.getNow(),Fi="".concat(nr,"-today-btn"),Ja=Vt&&Vt(La);Oo=o.createElement("a",{className:T()(Fi,Ja&&"".concat(Fi,"-disabled")),"aria-disabled":Ja,onClick:function(){Ja||_i(La,"mouse",!0)}},Er.today)}return o.createElement(X.Provider,{value:Object(B.a)(Object(B.a)({},hi),{},{hideHeader:"hideHeader"in tt?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},o.createElement("div",{tabIndex:rn,className:T()("".concat(nr,"-panel"),_r,(jt={},Object(R.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(R.a)(jt,"".concat(nr,"-panel-has-range-hover"),Li&&Li[0]&&Li[1]),Object(R.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:za,onMouseDown:En,ref:va},ja,ho||Ca||Oo?o.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,Oo):null))}var gn=Tn,Pn=e("uciX"),zn={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 qn(tt){var jt,Jt=tt.prefixCls,nr=tt.popupElement,_r=tt.popupStyle,wr=tt.visible,Er=tt.dropdownClassName,zr=tt.dropdownAlign,Jr=tt.transitionName,Zr=tt.getPopupContainer,an=tt.children,St=tt.range,Vt=tt.popupPlacement,sr=tt.direction,br="".concat(Jt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return o.createElement(Pn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:zn,prefixCls:br,popupTransitionName:Jr,popup:nr,popupAlign:zr,popupVisible:wr,popupClassName:T()(Er,(jt={},Object(R.a)(jt,"".concat(br,"-range"),St),Object(R.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:_r,getPopupContainer:Zr},an)}var Gn=qn;function Vn(tt){var jt=tt.open,Jt=tt.value,nr=tt.isClickOutside,_r=tt.triggerOpen,wr=tt.forwardKeyDown,Er=tt.blurToCancel,zr=tt.onSubmit,Jr=tt.onCancel,Zr=tt.onFocus,an=tt.onBlur,St=Object(o.useState)(!1),Vt=Object(U.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(o.useState)(!1),Dr=Object(U.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(o.useRef)(!1),Hn=Object(o.useRef)(!1),Sn={onMouseDown:function(){br(!0),_r(!0)},onKeyDown:function(Mn){switch(Mn.which){case V.a.ENTER:{jt?zr()!==!1&&br(!0):_r(!0),Mn.preventDefault();return}case V.a.TAB:{sr&&jt&&!Mn.shiftKey?(br(!1),Mn.preventDefault()):!sr&&jt&&(!wr(Mn)&&Mn.shiftKey&&(br(!0),Mn.preventDefault()));return}case V.a.ESC:{br(!0),Jr();return}}!jt&&![V.a.SHIFT].includes(Mn.which)?_r(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Zr&&Zr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Jr()},0):jt&&(_r(!1),Hn.current&&zr()),fn(!1),an&&an(Mn)}};return Object(o.useEffect)(function(){Hn.current=!1},[jt]),Object(o.useEffect)(function(){Hn.current=!0},[Jt]),Object(o.useEffect)(function(){return ee(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||_r(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(tt){var jt=tt.valueTexts,Jt=tt.onTextChange,nr=o.useState(""),_r=Object(U.a)(nr,2),wr=_r[0],Er=_r[1],zr=o.useRef([]);zr.current=jt;function Jr(an){Er(an),Jt(an)}function Zr(){Er(zr.current[0])}return o.useEffect(function(){jt.every(function(an){return an!==wr})&&Zr()},[jt.join("||")]),[wr,Jr,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,_r=jt.locale;return Object(ge.a)(function(){if(!tt)return[[""],""];for(var wr="",Er=[],zr=0;zr<Jt.length;zr+=1){var Jr=Jt[zr],Zr=nr.locale.format(_r.locale,tt,Jr);Er.push(Zr),zr===0&&(wr=Zr)}return[Er,wr]},[tt,Jt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,_r=jt.locale,wr=Object(o.useState)(null),Er=Object(U.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=xa(zr,{formatList:Jt,generateConfig:nr,locale:_r}),an=Object(U.a)(Zr,2),St=an[1];function Vt(br){Jr(br)}function sr(){Jr(null)}return Object(o.useEffect)(function(){sr()},[tt]),[St,Vt,sr]}function Ii(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,_r=tt.id,wr=tt.tabIndex,Er=tt.style,zr=tt.className,Jr=tt.dropdownClassName,Zr=tt.dropdownAlign,an=tt.popupStyle,St=tt.transitionName,Vt=tt.generateConfig,sr=tt.locale,br=tt.inputReadOnly,Mr=tt.allowClear,Dr=tt.autoFocus,rn=tt.showTime,fn=tt.picker,wn=fn===void 0?"date":fn,Hn=tt.format,Sn=tt.use12Hours,bn=tt.value,Mn=tt.defaultValue,vn=tt.open,Rn=tt.defaultOpen,En=tt.defaultOpenValue,Ln=tt.suffixIcon,Xn=tt.clearIcon,ai=tt.disabled,ri=tt.disabledDate,Di=tt.placeholder,yi=tt.getPopupContainer,xi=tt.pickerRef,Oi=tt.panelRender,Un=tt.onChange,Ri=tt.onOpenChange,fa=tt.onFocus,Ui=tt.onBlur,Mi=tt.onMouseDown,mi=tt.onMouseUp,hi=tt.onMouseEnter,qi=tt.onMouseLeave,va=tt.onContextMenu,Ea=tt.onClick,ya=tt.direction,oa=tt.autoComplete,sa=oa===void 0?"off":oa,Ni=o.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=Ct(xe(Hn,wn,rn,Sn)),Li=o.useRef(null),Vi=o.useRef(null),Xi=Object(H.a)(null,{value:bn,defaultValue:Mn}),bi=Object(U.a)(Xi,2),Aa=bi[0],ca=bi[1],la=o.useState(Aa),gi=Object(U.a)(la,2),Pa=gi[0],Ma=gi[1],ra=o.useRef(null),Gi=Object(H.a)(!1,{value:vn,defaultValue:Rn,postState:function(Zi){return ai?!1:Zi},onChange:function(Zi){Ri&&Ri(Zi),!Zi&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(U.a)(Gi,2),Ki=Xa[0],zi=Xa[1],ba=xa(Pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(U.a)(ba,2),wa=Ua[0],vi=Ua[1],Ga=An({valueTexts:wa,onTextChange:function(Zi){var xo=Vt.locale.parse(sr.locale,Zi,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),Ka=Object(U.a)(Ga,3),pa=Ka[0],_i=Ka[1],So=Ka[2],za=function(Zi){Ma(Zi),ca(Zi),Un&&!pe(Vt,Aa,Zi)&&Un(Zi,Zi?Vt.locale.format(sr.locale,Zi,Ai[0]):"")},ja=function(Zi){if(ai&&Zi)return;zi(Zi)},qa=function(Zi){return Ki&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Zi):(Object(y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Ni.current&&(Ni.current.focus(),ja(!0))},Ca=Vn({blurToCancel:$n,open:Ki,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Zi){return!ae([Li.current,Vi.current],Zi)},onSubmit:function(){return ri&&ri(Pa)?!1:(za(Pa),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(U.a)(Ca,2),Oo=to[0],La=to[1],Fi=La.focused,Ja=La.typing;o.useEffect(function(){Ki||(Ma(Aa),!wa.length||wa[0]===""?_i(""):vi!==pa&&So())},[Ki,wa]),o.useEffect(function(){Ki||So()},[wn]),o.useEffect(function(){Ma(Aa)},[Aa]),xi&&(xi.current={focus:function(){Ni.current&&Ni.current.focus()},blur:function(){Ni.current&&Ni.current.blur()}});var Da=Object(B.a)(Object(B.a)({},tt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=o.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:T()(Object(R.a)({},"".concat(nr,"-panel-focused"),!Ja)),value:Pa,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));Oi&&(pi=Oi(pi));var Yi=o.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Zi){Zi.preventDefault()}},pi),oo;Ln&&(oo=o.createElement("span",{className:"".concat(nr,"-suffix")},Ln));var go;Mr&&Aa&&!ai&&(go=o.createElement("span",{onMouseDown:function(Zi){Zi.preventDefault(),Zi.stopPropagation()},onMouseUp:function(Zi){Zi.preventDefault(),Zi.stopPropagation(),za(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||o.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Zi,xo){(xo==="submit"||xo!=="key"&&!$n)&&(za(Zi),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",ki=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(U.a)(ki,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return o.createElement(X.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Li,onSelect:fo,open:Ki,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},o.createElement(Gn,{visible:Ki,popupElement:Yi,popupStyle:an,prefixCls:nr,dropdownClassName:Jr,dropdownAlign:Zr,getPopupContainer:yi,transitionName:St,popupPlacement:Ta,direction:ya},o.createElement("div",{className:T()(nr,zr,(jt={},Object(R.a)(jt,"".concat(nr,"-disabled"),ai),Object(R.a)(jt,"".concat(nr,"-focused"),Fi),Object(R.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},o.createElement("div",{className:T()("".concat(nr,"-input"),Object(R.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},o.createElement("input",Object.assign({id:_r,tabIndex:wr,disabled:ai,readOnly:br||!Ja,value:Vo||pa,onChange:function(Zi){_i(Zi.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},Oo,{size:lt(wn,Ai[0])},Be(tt),{autoComplete:sa})),oo,go))))}var Ci=function(tt){Object(j.a)(Jt,tt);var jt=Object(K.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=o.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(P.a)(Jt,[{key:"render",value:function(){return o.createElement(Ii,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(o.Component),Yn=Ci;function _a(tt,jt,Jt){var nr=tt.picker,_r=tt.locale,wr=tt.selectedValue,Er=tt.disabledDate,zr=tt.disabled,Jr=tt.generateConfig,Zr=Rt(wr,0),an=Rt(wr,1);function St(Dr){var rn=Jr.getYear(Dr),fn=Jr.locale.getWeek(_r.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Jr.getYear(Dr),fn=Jr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Jr.getYear(Dr),fn=ct(Jr,Dr);return rn*10+fn}var br=o.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[1]&&an)return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an);if(jt&&an)switch(nr){case"quarter":return sr(Dr)>sr(an);case"month":return Vt(Dr)>Vt(an);case"week":return St(Dr)>St(an);default:return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an)}return!1},[Er,zr[1],an,jt]),Mr=o.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[0]&&Zr)return!or(Jr,Dr,an)&&Jr.isAfter(Zr,Dr);if(Jt&&Zr)switch(nr){case"quarter":return sr(Dr)<sr(Zr);case"month":return Vt(Dr)<Vt(Zr);case"week":return St(Dr)<St(Zr);default:return!or(Jr,Dr,Zr)&&Jr.isAfter(Zr,Dr)}return!1},[Er,zr[0],Zr,Jt]);return[br,Mr]}function mn(tt,jt,Jt,nr){var _r=Ne(tt,Jt,nr,1);function wr(Er){return Er(tt,jt)?"same":Er(_r,jt)?"closing":"far"}switch(Jt){case"year":return wr(function(Er,zr){return Zt(nr,Er,zr)});case"quarter":case"month":return wr(function(Er,zr){return dt(nr,Er,zr)});default:return wr(function(Er,zr){return It(nr,Er,zr)})}}function _n(tt,jt,Jt,nr){var _r=Rt(tt,0),wr=Rt(tt,1);if(jt===0)return _r;if(_r&&wr){var Er=mn(_r,wr,Jt,nr);switch(Er){case"same":return _r;case"closing":return _r;default:return Ne(wr,Jt,nr,-1)}}return _r}function On(tt){var jt=tt.values,Jt=tt.picker,nr=tt.defaultDates,_r=tt.generateConfig,wr=o.useState(function(){return[Rt(nr,0),Rt(nr,1)]}),Er=Object(U.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=o.useState(null),an=Object(U.a)(Zr,2),St=an[0],Vt=an[1],sr=Rt(jt,0),br=Rt(jt,1);function Mr(rn){return zr[rn]?zr[rn]:Rt(St,rn)||_n(jt,rn,Jt,_r)||sr||br||_r.getNow()}function Dr(rn,fn){if(rn){var wn=He(St,rn,fn);Jr(He(zr,null,fn)||[null,null]);var Hn=(fn+1)%2;Rt(jt,Hn)||(wn=He(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function In(tt,jt){return tt&&tt[0]&&tt[1]&&jt.isAfter(tt[0],tt[1])?[tt[1],tt[0]]:tt}function jn(tt,jt,Jt,nr){return tt||nr&&nr[jt]?!0:!!Jt[(jt+1)%2]}function ni(tt){var jt,Jt,nr,_r=tt.prefixCls,wr=_r===void 0?"rc-picker":_r,Er=tt.id,zr=tt.style,Jr=tt.className,Zr=tt.popupStyle,an=tt.dropdownClassName,St=tt.transitionName,Vt=tt.dropdownAlign,sr=tt.getPopupContainer,br=tt.generateConfig,Mr=tt.locale,Dr=tt.placeholder,rn=tt.autoFocus,fn=tt.disabled,wn=tt.format,Hn=tt.picker,Sn=Hn===void 0?"date":Hn,bn=tt.showTime,Mn=tt.use12Hours,vn=tt.separator,Rn=vn===void 0?"~":vn,En=tt.value,Ln=tt.defaultValue,Xn=tt.defaultPickerValue,ai=tt.open,ri=tt.defaultOpen,Di=tt.disabledDate,yi=tt.disabledTime,xi=tt.dateRender,Oi=tt.panelRender,Un=tt.ranges,Ri=tt.allowEmpty,fa=tt.allowClear,Ui=tt.suffixIcon,Mi=tt.clearIcon,mi=tt.pickerRef,hi=tt.inputReadOnly,qi=tt.mode,va=tt.renderExtraFooter,Ea=tt.onChange,ya=tt.onOpenChange,oa=tt.onPanelChange,sa=tt.onCalendarChange,Ni=tt.onFocus,$n=tt.onBlur,Ai=tt.onOk,Li=tt.components,Vi=tt.order,Xi=tt.direction,bi=tt.activePickerIndex,Aa=tt.autoComplete,ca=Aa===void 0?"off":Aa,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(o.useRef)({}),Pa=Object(o.useRef)(null),Ma=Object(o.useRef)(null),ra=Object(o.useRef)(null),Gi=Object(o.useRef)(null),Xa=Object(o.useRef)(null),Ki=Object(o.useRef)(null),zi=Object(o.useRef)(null),ba=Ct(xe(wn,Sn,bn,Mn)),Ua=Object(H.a)(0,{value:bi}),wa=Object(U.a)(Ua,2),vi=wa[0],Ga=wa[1],Ka=Object(o.useRef)(null),pa=o.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),_i=Object(H.a)(null,{value:En,defaultValue:Ln,postState:function(ui){return Sn==="time"&&!Vi?ui:In(ui,br)}}),So=Object(U.a)(_i,2),za=So[0],ja=So[1],qa=On({values:za,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(U.a)(qa,2),Ca=ho[0],to=ho[1],Oo=Object(H.a)(za,{postState:function(ui){var Bi=ui;if(pa[0]&&pa[1])return Bi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Rt(Bi,Wn)&&!Rt(Ri,Wn)&&(Bi=He(Bi,br.getNow(),Wn));return Bi}}),La=Object(U.a)(Oo,2),Fi=La[0],Ja=La[1],Da=Object(H.a)([Sn,Sn],{value:qi}),pi=Object(U.a)(Da,2),Yi=pi[0],oo=pi[1];Object(o.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ui,Bi){oo(ui),oa&&oa(Bi,ui)},fo=_a({picker:Sn,selectedValue:Fi,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(U.a)(fo,2),ki=Ta[0],Ra=Ta[1],Vo=Object(H.a)(!1,{value:ai,defaultValue:ri,postState:function(ui){return pa[vi]?!1:ui},onChange:function(ui){ya&&ya(ui),!ui&&Ka.current&&Ka.current.onClose&&Ka.current.onClose()}}),ro=Object(U.a)(Vo,2),vo=ro[0],po=ro[1],Zi=vo&&vi===0,xo=vo&&vi===1,is=Object(o.useState)(0),Jo=Object(U.a)(is,2),Is=Jo[0],Cs=Jo[1];Object(o.useEffect)(function(){!vo&&Pa.current&&Cs(Pa.current.offsetWidth)},[vo]);var Ts=o.useRef();function Yo(ua,ui){if(ua)clearTimeout(Ts.current),gi.current[ui]=!0,Ga(ui),po(ua),vo||to(null,ui);else if(vi===ui){po(ua);var Bi=gi.current;Ts.current=setTimeout(function(){Bi===gi.current&&(gi.current={})})}}function bo(ua){Yo(!0,ua),setTimeout(function(){var ui=[Ki,zi][ua];ui.current&&ui.current.focus()},0)}function Za(ua,ui){var Bi=ua,Wn=Rt(Bi,0),io=Rt(Bi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!Ae(br,Mr.locale,Wn,io)||Sn==="quarter"&&!yt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ui===0?(Bi=[Wn,null],io=null):(Wn=null,Bi=[null,io]),gi.current=Object(R.a)({},ui,!0)):(Sn!=="time"||Vi!==!1)&&(Bi=In(Bi,br))),Ja(Bi);var qo=Bi&&Bi[0]?br.locale.format(Mr.locale,Bi[0],ba[0]):"",gs=Bi&&Bi[1]?br.locale.format(Mr.locale,Bi[1],ba[0]):"";if(sa){var os={range:ui===0?"start":"end"};sa(Bi,[qo,gs],os)}var Zo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Bi===null||Zo&&$o;ws&&(ja(Bi),Ea&&(!pe(br,Rt(za,0),Wn)||!pe(br,Rt(za,1),io))&&Ea(Bi,[qo,gs]));var Ho=null;ui===0&&!pa[1]?Ho=1:ui===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!Rt(Bi,Ho))&&Rt(Bi,ui)?bo(Ho):Yo(!1,ui)}var Ya=function(ui){return vo&&Ka.current&&Ka.current.onKeyDown?Ka.current.onKeyDown(ui):(Object(y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:br,locale:Mr},ps=xa(Rt(Fi,0),so),Sr=Object(U.a)(ps,2),Xo=Sr[0],ss=Sr[1],Os=xa(Rt(Fi,1),so),Fa=Object(U.a)(Os,2),Oa=Fa[0],_o=Fa[1],Lo=function(ui,Bi){var Wn=br.locale.parse(Mr.locale,ui,ba),io=Bi===0?ki:Ra;Wn&&!io(Wn)&&(Ja(He(Fi,Wn,Bi)),to(Wn,Bi))},ts=An({valueTexts:Xo,onTextChange:function(ui){return Lo(ui,0)}}),Bo=Object(U.a)(ts,3),rs=Bo[0],ms=Bo[1],ls=Bo[2],Ns=An({valueTexts:Oa,onTextChange:function(ui){return Lo(ui,1)}}),Ds=Object(U.a)(Ns,3),as=Ds[0],$s=Ds[1],cs=Ds[2],Mo=Object(o.useState)(null),Dn=Object(U.a)(Mo,2),Vs=Dn[0],_s=Dn[1],Pt=Object(o.useState)(null),oe=Object(U.a)(Pt,2),we=oe[0],Ee=oe[1],We=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Et=Object(U.a)(We,3),Ut=Et[0],hr=Et[1],gr=Et[2],Rr=ta(as,{formatList:ba,generateConfig:br,locale:Mr}),$r=Object(U.a)(Rr,3),ln=$r[0],yn=$r[1],Cn=$r[2],Qn=function(ui){Ee(He(Fi,ui,vi)),vi===0?hr(ui):yn(ui)},ti=function(){Ee(He(Fi,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ui,Bi){return{blurToCancel:la,forwardKeyDown:Ya,onBlur:$n,isClickOutside:function(io){return!ae([Ma.current,ra.current,Gi.current],io)},onFocus:function(io){Ga(ui),Ni&&Ni(io)},triggerOpen:function(io){Yo(io,ui)},onSubmit:function(){Za(Fi,ui),Bi()},onCancel:function(){Yo(!1,ui),Ja(za),Bi()}}},ea=Vn(Object(B.a)(Object(B.a)({},wi(0,ls)),{},{open:Zi,value:rs})),ji=Object(U.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(B.a)(Object(B.a)({},wi(1,cs)),{},{open:xo,value:as})),$a=Object(U.a)(Ao,2),Fo=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,ko=function(ui){!vo&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ui){vo&&(Wa||Ha)&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&ui.preventDefault()},wo=za&&za[0]?br.locale.format(Mr.locale,za[0],"YYYYMMDDHHmmss"):"",us=za&&za[1]?br.locale.format(Mr.locale,za[1],"YYYYMMDDHHmmss"):"";Object(o.useEffect)(function(){vo||(Ja(za),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!Oa.length||Oa[0]===""?$s(""):_o!==as&&cs())},[vo,Xo,Oa]),Object(o.useEffect)(function(){Ja(za)},[wo,us]),mi&&(mi.current={focus:function(){Ki.current&&Ki.current.focus()},blur:function(){Ki.current&&Ki.current.blur(),zi.current&&zi.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ua){var ui=Un[ua],Bi=typeof ui=="function"?ui():ui;return{label:ua,onClick:function(){Za(Bi,null),Yo(!1,vi)},onMouseEnter:function(){_s(Bi)},onMouseLeave:function(){_s(null)}}});function Gs(){var ua=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=null;vo&&we&&we[0]&&we[1]&&br.isAfter(we[1],we[0])&&(Bi=we);var Wn=bn;if(bn&&Object(W.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(B.a)(Object(B.a)({},bn),{},{defaultValue:Rt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),o.createElement(Ke.Provider,{value:{inRange:!0,panelPosition:ua,rangedValue:Vs||Fi,hoverRangedValue:Bi}},o.createElement(gn,Object.assign({},tt,ui,{dateRender:qo,showTime:Wn,mode:Yi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?ki:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:T()(Object(R.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Rt(Fi,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Zo){go(He(Yi,Zo,vi),He(Fi,os,vi));var $o=os;ua==="right"&&Yi[vi]===Zo&&($o=Ne($o,Zo,br,-1)),to($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Go=0,Eo=0;vi&&ra.current&&Xa.current&&Ma.current&&(Go=ra.current.offsetWidth+Xa.current.offsetWidth,Ma.current.offsetWidth&&Go>Ma.current.offsetWidth&&(Eo=Go));var ds=Xi==="rtl"?{right:Go}:{left:Go};function hs(){var ua,ui=Nn(wr,Yi[vi],va),Bi=jr({prefixCls:wr,components:Li,needConfirmButton:la,okDisabled:!Rt(Fi,vi)||Di&&Di(Fi[vi]),locale:Mr,rangeList:Xs,onOk:function(){Rt(Fi,vi)&&(Za(Fi,vi),Ai&&Ai(Fi))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=Ne(Wn,Sn,br),qo=Yi[vi],gs=qo===Sn,os=Gs(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Gs("right",{pickerValue:io,onPickerValueChange:function(Ho){to(Ne(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ua=o.createElement(o.Fragment,null,Zo,gs&&os):ua=o.createElement(o.Fragment,null,os,gs&&Zo)}else ua=Gs();var $o=o.createElement(o.Fragment,null,o.createElement("div",{className:"".concat(wr,"-panels")},ua),(ui||Bi)&&o.createElement("div",{className:"".concat(wr,"-footer")},ui,Bi));return Oi&&($o=Oi($o)),o.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:Eo},ref:Ma,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=o.createElement("div",{className:T()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Is}},o.createElement("div",{className:"".concat(wr,"-range-arrow"),style:ds}),hs()),Do;Ui&&(Do=o.createElement("span",{className:"".concat(wr,"-suffix")},Ui));var ys;fa&&(Rt(za,0)&&!pa[0]||Rt(za,1)&&!pa[1])&&(ys=o.createElement("span",{onMouseDown:function(ui){ui.preventDefault(),ui.stopPropagation()},onMouseUp:function(ui){ui.preventDefault(),ui.stopPropagation();var Bi=za;pa[0]||(Bi=He(Bi,null,0)),pa[1]||(Bi=He(Bi,null,1)),Za(Bi,null),Yo(!1,vi)},className:"".concat(wr,"-clear")},Mi||o.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:lt(Sn,ba[0])},As=0,Fs=0;ra.current&&Gi.current&&Xa.current&&(vi===0?Fs=ra.current.offsetWidth:(As=Go,Fs=Gi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ui,Bi){var Wn=He(Fi,ui,vi);Bi==="submit"||Bi!=="key"&&!la?Za(Wn,vi):Ja(Wn)};return o.createElement(X.Provider,{value:{operationRef:Ka,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},o.createElement(Gn,{visible:vo,popupElement:Rs,popupStyle:Zr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:St,range:!0,direction:Xi},o.createElement("div",Object.assign({ref:Pa,className:T()(wr,"".concat(wr,"-range"),Jr,(jt={},Object(R.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(R.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(R.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:zr,onClick:ko,onMouseDown:Qo},Be(tt)),o.createElement("div",{className:T()("".concat(wr,"-input"),(Jt={},Object(R.a)(Jt,"".concat(wr,"-input-active"),vi===0),Object(R.a)(Jt,"".concat(wr,"-input-placeholder"),!!Ut),Jt)),ref:ra},o.createElement("input",Object.assign({id:Er,disabled:pa[0],readOnly:hi||!yo,value:Ut||rs,onChange:function(ui){ms(ui.target.value)},autoFocus:rn,placeholder:Rt(Dr,0)||"",ref:Ki},Sa,Ms,{autoComplete:ca}))),o.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),o.createElement("div",{className:T()("".concat(wr,"-input"),(nr={},Object(R.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(R.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Gi},o.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ui){$s(ui.target.value)},placeholder:Rt(Dr,1)||"",ref:zi},Fo,Ms,{autoComplete:ca}))),o.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(B.a)(Object(B.a)({},Hs),{},{width:Fs,position:"absolute"})}),Do,ys)))}var di=function(tt){Object(j.a)(Jt,tt);var jt=Object(K.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=o.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(P.a)(Jt,[{key:"render",value:function(){return o.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(o.Component),Na=di,Qi=Yn,ma=e("61s2");function Ba(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:tt==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:tt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:tt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.rangePlaceholder:jt.lang.rangePlaceholder}var Wi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _r=0,nr=Object.getOwnPropertySymbols(tt);_r<nr.length;_r++)jt.indexOf(nr[_r])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[_r])&&(Jt[nr[_r]]=tt[nr[_r]]);return Jt};function ha(tt){function jt(Jr,Zr){var an=function(St){b()(sr,St);var Vt=A()(sr);function sr(br){var Mr;return s()(this,sr),Mr=Vt.call(this,br),Mr.pickerRef=o.createRef(),Mr.focus=function(){Mr.pickerRef.current&&Mr.pickerRef.current.focus()},Mr.blur=function(){Mr.pickerRef.current&&Mr.pickerRef.current.blur()},Mr.getDefaultLocale=function(){var Dr=Mr.props.locale,rn=u()(u()({},ma.a),Dr);return rn.lang=u()(u()({},rn.lang),(Dr||{}).lang),rn},Mr.renderPicker=function(Dr){var rn=Mr.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Mr.props,bn=Sn.prefixCls,Mn=Sn.getPopupContainer,vn=Sn.className,Rn=Sn.size,En=Sn.bordered,Ln=En===void 0?!0:En,Xn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Mr.props,Di=ri.format,yi=ri.showTime,xi=fn("picker",bn),Oi={showToday:!0},Un={};Jr&&(Un.picker=Jr);var Ri=Jr||Mr.props.picker;return Un=u()(u()(u()({},Un),yi?rr(u()({format:Di,picker:Ri},yi)):{}),Ri==="time"?rr(u()(u()({format:Di},Mr.props),{picker:Ri})):{}),o.createElement(Hi.b.Consumer,null,function(fa){var Ui,Mi=Rn||fa;return o.createElement(Qi,u()({ref:Mr.pickerRef,placeholder:Ba(Ri,Dr,Xn),suffixIcon:Ri==="time"?o.createElement(_.a,null):o.createElement(x.a,null),clearIcon:o.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Oi,ai,Un,{locale:Dr.lang,className:T()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!Ln),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:tt,prevIcon:o.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:To,direction:wn}))})},Object(Wi.a)(Jr!=="quarter",Zr,"DatePicker.".concat(Zr," is legacy usage. Please use DatePicker[picker='").concat(Jr,"'] directly.")),Mr}return m()(sr,[{key:"render",value:function(){return o.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(o.Component);return an.contextType=Co.b,Zr&&(an.displayName=Zr),an}var Jt=jt(),nr=jt("week","WeekPicker"),_r=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),zr=jt("quarter","QuarterPicker");return{DatePicker:Jt,WeekPicker:nr,MonthPicker:_r,YearPicker:wr,TimePicker:Er,QuarterPicker:zr}}var mo=e("8ISB"),kn=e.n(mo),$i=function(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _r=0,nr=Object.getOwnPropertySymbols(tt);_r<nr.length;_r++)jt.indexOf(nr[_r])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[_r])&&(Jt[nr[_r]]=tt[nr[_r]]);return Jt};function eo(tt){var jt=function(Jt){b()(_r,Jt);var nr=A()(_r);function _r(){var wr;return s()(this,_r),wr=nr.apply(this,arguments),wr.pickerRef=o.createRef(),wr.focus=function(){wr.pickerRef.current&&wr.pickerRef.current.focus()},wr.blur=function(){wr.pickerRef.current&&wr.pickerRef.current.blur()},wr.getDefaultLocale=function(){var Er=wr.props.locale,zr=u()(u()({},ma.a),Er);return zr.lang=u()(u()({},zr.lang),(Er||{}).lang),zr},wr.renderPicker=function(Er){var zr=wr.context,Jr=zr.getPrefixCls,Zr=zr.direction,an=zr.getPopupContainer,St=wr.props,Vt=St.prefixCls,sr=St.getPopupContainer,br=St.className,Mr=St.size,Dr=St.bordered,rn=Dr===void 0?!0:Dr,fn=St.placeholder,wn=$i(St,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Jr("picker",Vt),Rn={};return Rn=u()(u()(u()({},Rn),bn?rr(u()({format:Sn,picker:Mn},bn)):{}),Mn==="time"?rr(u()(u()({format:Sn},wr.props),{picker:Mn})):{}),o.createElement(Hi.b.Consumer,null,function(En){var Ln,Xn=Mr||En;return o.createElement(Na,u()({separator:o.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},o.createElement(kn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?o.createElement(_.a,null):o.createElement(x.a,null),clearIcon:o.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:T()(br,(Ln={},l()(Ln,"".concat(vn,"-").concat(Xn),Xn),l()(Ln,"".concat(vn,"-borderless"),!rn),Ln)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:tt,prevIcon:o.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:o.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:o.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:o.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:To,direction:Zr}))})},wr}return m()(_r,[{key:"render",value:function(){return o.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),_r}(o.Component);return jt.contextType=Co.b,jt}var To={button:r,rangeItem:c};function uo(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function rr(tt){var jt=tt.format,Jt=tt.picker,nr=tt.showHour,_r=tt.showMinute,wr=tt.showSecond,Er=tt.use12Hours,zr=uo(jt)[0],Jr=u()({},tt);return zr&&(!zr.includes("s")&&wr===void 0&&(Jr.showSecond=!1),!zr.includes("m")&&_r===void 0&&(Jr.showMinute=!1),!zr.includes("H")&&!zr.includes("h")&&nr===void 0&&(Jr.showHour=!1),(zr.includes("a")||zr.includes("A"))&&Er===void 0&&(Jr.use12Hours=!0)),Jt==="time"?Jr:{showTime:Jr}}function Tr(tt){var jt=ha(tt),Jt=jt.DatePicker,nr=jt.WeekPicker,_r=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,zr=jt.QuarterPicker,Jr=eo(tt),Zr=Jt;return Zr.WeekPicker=nr,Zr.MonthPicker=_r,Zr.YearPicker=wr,Zr.RangePicker=Jr,Zr.TimePicker=Er,Zr.QuarterPicker=zr,Zr}var Pr=Tr,Wr=Pr(v),hn=I.a=Wr},"+lIL":function(D,I,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),y=e("7Phj");g.registerVisual(f),g.registerLayout(y)},"+nKL":function(D,I,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),y=e.n(f),p=e("t23M");function v(Ye,et){var rt=Object.keys(Ye);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Ye);et&&(st=st.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ye,Ve).enumerable})),rt.push.apply(rt,st)}return rt}function h(Ye){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?v(Object(rt),!0).forEach(function(st){u(Ye,st,rt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ye,Object.getOwnPropertyDescriptors(rt)):v(Object(rt)).forEach(function(st){Object.defineProperty(Ye,st,Object.getOwnPropertyDescriptor(rt,st))})}return Ye}function u(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}var o=function(et){var rt=et.height,st=et.offset,Ve=et.children,ie=et.prefixCls,$=et.onInnerResize,it={},Qe={display:"flex",flexDirection:"column"};return st!==void 0&&(it={height:rt,position:"relative",overflow:"hidden"},Qe=h(h({},Qe),{},{transform:"translateY(".concat(st,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:it},g.createElement(p.a,{onResize:function(Zt){var dt=Zt.offsetHeight;dt&&$()}},g.createElement("div",{style:Qe,className:y()(u({},"".concat(ie,"-holder-inner"),ie))},Ve)))},i=o,r=e("wgJM");function a(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(rt){return typeof rt}:a=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},a(Ye)}function c(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}function n(Ye,et){if(!(Ye instanceof et))throw new TypeError("Cannot call a class as a function")}function l(Ye,et){for(var rt=0;rt<et.length;rt++){var st=et[rt];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(Ye,st.key,st)}}function t(Ye,et,rt){return et&&l(Ye.prototype,et),rt&&l(Ye,rt),Ye}function s(Ye,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Ye.prototype=Object.create(et&&et.prototype,{constructor:{value:Ye,writable:!0,configurable:!0}}),et&&d(Ye,et)}function d(Ye,et){return d=Object.setPrototypeOf||function(st,Ve){return st.__proto__=Ve,st},d(Ye,et)}function m(Ye){var et=E();return function(){var st=A(Ye),Ve;if(et){var ie=A(this).constructor;Ve=Reflect.construct(st,arguments,ie)}else Ve=st.apply(this,arguments);return w(this,Ve)}}function w(Ye,et){return et&&(a(et)==="object"||typeof et=="function")?et:b(Ye)}function b(Ye){if(Ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ye}function E(){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(Ye){return!1}}function A(Ye){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},A(Ye)}var S=20,T=function(Ye){s(rt,Ye);var et=m(rt);function rt(){var st;return n(this,rt),st=et.apply(this,arguments),st.moveRaf=null,st.visibleTimeout=null,st.state={dragging:!1,pageY:null,startTop:null,visible:!1},st.delayHidden=function(){clearTimeout(st.visibleTimeout),st.setState({visible:!0}),st.visibleTimeout=setTimeout(function(){st.setState({visible:!1})},2e3)},st.patchEvents=function(){window.addEventListener("mousemove",st.onMouseMove),window.addEventListener("mouseup",st.onMouseUp)},st.removeEvents=function(){window.removeEventListener("mousemove",st.onMouseMove),window.removeEventListener("mouseup",st.onMouseUp),r.a.cancel(st.moveRaf)},st.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},st.onMouseDown=function(Ve){var ie=st.props.onStartMove;st.setState({dragging:!0,pageY:Ve.pageY,startTop:st.getTop()}),ie(),st.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},st.onMouseMove=function(Ve){var ie=st.state,$=ie.dragging,it=ie.pageY,Qe=ie.startTop,ye=st.props.onScroll;if(r.a.cancel(st.moveRaf),$){var Zt=Ve.pageY-it,dt=Qe+Zt,ct=st.getEnableScrollRange(),yt=st.getEnableHeightRange(),It=dt/yt,or=Math.ceil(It*ct);st.moveRaf=Object(r.a)(function(){ye(or)})}},st.onMouseUp=function(){var Ve=st.props.onStopMove;st.setState({dragging:!1}),Ve(),st.removeEvents()},st.getSpinHeight=function(){var Ve=st.props,ie=Ve.height,$=Ve.count,it=ie/$*10;return it=Math.max(it,S),it=Math.min(it,ie/2),Math.floor(it)},st.getEnableScrollRange=function(){var Ve=st.props,ie=Ve.scrollHeight,$=Ve.height;return ie-$},st.getEnableHeightRange=function(){var Ve=st.props.height,ie=st.getSpinHeight();return Ve-ie},st.getTop=function(){var Ve=st.props.scrollTop,ie=st.getEnableScrollRange(),$=st.getEnableHeightRange(),it=Ve/ie;return it*$},st}return t(rt,[{key:"componentDidUpdate",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ve=this.state,ie=Ve.visible,$=Ve.dragging,it=this.props.prefixCls,Qe=this.getSpinHeight(),ye=this.getTop();return g.createElement("div",{className:"".concat(it,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:ie?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:y()("".concat(it,"-scrollbar-thumb"),c({},"".concat(it,"-scrollbar-thumb-moving"),$)),style:{width:"100%",height:Qe,top:ye,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),rt}(g.Component);function O(Ye){var et=Ye.children,rt=Ye.setRef,st=g.useCallback(function(Ve){rt(Ve)},[]);return g.cloneElement(et,{ref:st})}function x(Ye,et,rt,st,Ve,ie){var $=ie.getKey;return Ye.slice(et,rt+1).map(function(it,Qe){var ye=et+Qe,Zt=Ve(it,ye,{}),dt=$(it);return g.createElement(O,{key:dt,setRef:function(yt){return st(it,yt)}},Zt)})}var C=e("m+aA");function _(Ye,et){if(!(Ye instanceof et))throw new TypeError("Cannot call a class as a function")}function N(Ye,et){for(var rt=0;rt<et.length;rt++){var st=et[rt];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(Ye,st.key,st)}}function F(Ye,et,rt){return et&&N(Ye.prototype,et),rt&&N(Ye,rt),Ye}var k=function(){function Ye(){_(this,Ye),this.maps={},this.maps.prototype=null}return F(Ye,[{key:"set",value:function(rt,st){this.maps[rt]=st}},{key:"get",value:function(rt){return this.maps[rt]}}]),Ye}(),P=k;function j(Ye,et){return H(Ye)||U(Ye,et)||R(Ye,et)||K()}function K(){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 R(Ye,et){if(!Ye)return;if(typeof Ye=="string")return B(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return B(Ye,et)}function B(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function U(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,ie=void 0;try{for(var $=Ye[Symbol.iterator](),it;!(st=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!st&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function H(Ye){if(Array.isArray(Ye))return Ye}function W(Ye,et,rt){var st=g.useState(0),Ve=j(st,2),ie=Ve[0],$=Ve[1],it=Object(g.useRef)(new Map),Qe=Object(g.useRef)(new P);function ye(dt,ct){var yt=Ye(dt),It=it.current.get(yt);ct?it.current.set(yt,ct):it.current.delete(yt),!It!==!ct&&(ct?et==null||et(dt):rt==null||rt(dt))}function Zt(){var dt=!1;it.current.forEach(function(ct,yt){if(ct&&ct.offsetParent){var It=Object(C.a)(ct),or=It.offsetHeight;Qe.current.get(yt)!==or&&(dt=!0,Qe.current.set(yt,It.offsetHeight))}}),dt&&$(function(ct){return ct+1})}return[ye,Zt,Qe.current,ie]}function V(Ye,et){var rt=Object(g.useRef)(),st=Object(g.useRef)();return rt.current=Ye,st.current=et,function(Ve){var ie=Math.max(Ve,0),$=rt.current-st.current;return Number.isNaN($)||(ie=Math.min(ie,$)),ie}}function z(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(rt){return typeof rt}:z=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},z(Ye)}function X(Ye,et,rt,st,Ve,ie,$){var it=g.useRef();return function(Qe){if(r.a.cancel(it.current),typeof Qe=="number")$(Qe);else if(Qe&&z(Qe)==="object"){var ye,Zt=Qe.align;"index"in Qe?ye=Qe.index:ye=et.findIndex(function(ct){return Ve(ct)===Qe.key});var dt=function ct(yt,It){if(yt<0||!Ye.current)return;var or=Ye.current.clientHeight,Bt=!1,Ae=It;if(or){for(var pe=It||Zt,he=0,le=0,Ne=0,je=0;je<=ye;je+=1){var Ke=Ve(et[je]);le=he;var Xe=rt.get(Ke);Ne=le+(Xe===void 0?st:Xe),he=Ne,je===ye&&Xe===void 0&&(Bt=!0)}var Fe=null;switch(pe){case"top":Fe=le;break;case"bottom":Fe=Ne-or;break;default:{var nt=Ye.current.scrollTop,At=nt+or;le<nt?Ae="top":Ne>At&&(Ae="bottom")}}Fe!==null&&Fe!==Ye.current.scrollTop&&$(Fe)}it.current=Object(r.a)(function(){Bt&&ie(),ct(yt-1,Ae)})};dt(3)}}}function q(Ye,et,rt,st){var Ve=rt-Ye,ie=et-rt,$=Math.min(Ve,ie)*2;if(st<=$){var it=Math.floor(st/2);return st%2?rt+it+1:rt-it}return Ve>ie?rt-(st-ie):rt+(st-Ve)}function fe(Ye,et,rt){var st=Ye.length,Ve=et.length,ie,$;if(st===0&&Ve===0)return null;st<Ve?(ie=Ye,$=et):(ie=et,$=Ye);var it={__EMPTY_ITEM__:!0};function Qe(It){return It!==void 0?rt(It):it}for(var ye=null,Zt=Math.abs(st-Ve)!==1,dt=0;dt<$.length;dt+=1){var ct=Qe(ie[dt]),yt=Qe($[dt]);if(ct!==yt){ye=dt,Zt=Zt||ct!==Qe($[dt+1]);break}}return ye===null?null:{index:ye,multiple:Zt}}function G(Ye,et){return Ge(Ye)||Pe(Ye,et)||Se(Ye,et)||ve()}function ve(){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 Se(Ye,et){if(!Ye)return;if(typeof Ye=="string")return ge(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return ge(Ye,et)}function ge(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function Pe(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,ie=void 0;try{for(var $=Ye[Symbol.iterator](),it;!(st=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!st&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function Ge(Ye){if(Array.isArray(Ye))return Ye}function pt(Ye,et,rt){var st=g.useState(Ye),Ve=G(st,2),ie=Ve[0],$=Ve[1],it=g.useState(null),Qe=G(it,2),ye=Qe[0],Zt=Qe[1];return g.useEffect(function(){var dt=fe(ie||[],Ye||[],et);(dt==null?void 0:dt.index)!==void 0&&(rt==null||rt(dt.index),Zt(Ye[dt.index])),$(Ye)},[Ye]),[ye]}function Te(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Te=function(rt){return typeof rt}:Te=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},Te(Ye)}var xe=(typeof navigator=="undefined"?"undefined":Te(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),lt=xe;function Ie(Ye,et){var rt=Object(g.useRef)(0),st=Object(g.useRef)(null),Ve=Object(g.useRef)(null),ie=Object(g.useRef)(!1);function $(Qe){if(!Ye)return;lt||Qe.preventDefault(),r.a.cancel(st.current),rt.current+=Qe.deltaY,Ve.current=Qe.deltaY,st.current=Object(r.a)(function(){var ye=ie.current?10:1;et(rt.current*ye),rt.current=0})}function it(Qe){if(!Ye)return;Qe.preventDefault(),ie.current=Qe.detail===Ve.current}return[$,it]}function de(Ye,et){var rt=Object.keys(Ye);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Ye);et&&(st=st.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ye,Ve).enumerable})),rt.push.apply(rt,st)}return rt}function ee(Ye){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?de(Object(rt),!0).forEach(function(st){se(Ye,st,rt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ye,Object.getOwnPropertyDescriptors(rt)):de(Object(rt)).forEach(function(st){Object.defineProperty(Ye,st,Object.getOwnPropertyDescriptor(rt,st))})}return Ye}function se(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}function ke(Ye,et){return me(Ye)||ae(Ye,et)||ze(Ye,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 ze(Ye,et){if(!Ye)return;if(typeof Ye=="string")return _e(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return _e(Ye,et)}function _e(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function ae(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,ie=void 0;try{for(var $=Ye[Symbol.iterator](),it;!(st=(it=$.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,ie=Qe}finally{try{!st&&$.return!=null&&$.return()}finally{if(Ve)throw ie}}return rt}function me(Ye){if(Array.isArray(Ye))return Ye}function Oe(Ye,et){if(Ye==null)return{};var rt=Ze(Ye,et),st,Ve;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(Ye);for(Ve=0;Ve<ie.length;Ve++){if(st=ie[Ve],et.indexOf(st)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ye,st))continue;rt[st]=Ye[st]}}return rt}function Ze(Ye,et){if(Ye==null)return{};var rt={},st=Object.keys(Ye),Ve,ie;for(ie=0;ie<st.length;ie++){if(Ve=st[ie],et.indexOf(Ve)>=0)continue;rt[Ve]=Ye[Ve]}return rt}var vt=[],Ct={overflowY:"auto",overflowAnchor:"none"};function Be(Ye,et){var rt=Ye.prefixCls,st=rt===void 0?"rc-virtual-list":rt,Ve=Ye.className,ie=Ye.height,$=Ye.itemHeight,it=Ye.fullHeight,Qe=it===void 0?!0:it,ye=Ye.style,Zt=Ye.data,dt=Ye.children,ct=Ye.itemKey,yt=Ye.virtual,It=Ye.component,or=It===void 0?"div":It,Bt=Ye.onScroll,Ae=Oe(Ye,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),pe=yt!==!1&&ie&&$&&Zt&&$*Zt.length>ie,he=g.useState(0),le=ke(he,2),Ne=le[0],je=le[1],Ke=g.useState(!1),Xe=ke(Ke,2),Fe=Xe[0],nt=Xe[1],At=y()(st,Ve),_t=Zt||vt,ne=Object(g.useRef)(),ue=g.useCallback(function(Ar){return typeof ct=="function"?ct(Ar):Ar[ct]},[ct]),Y={getKey:ue};function te(Ar){je(function(Nr){var Fr;return typeof Ar=="function"?Fr=Ar(Nr):Fr=Ar,ne.current.scrollTop=Fr,Fr})}var be=Object(g.useRef)({start:0,end:_t.length}),Le=Object(g.useRef)(),Re=pt(_t,ue),$e=ke(Re,1),gt=$e[0];Le.current=gt;var Wt=W(ue,null,null),$t=ke(Wt,4),Dt=$t[0],Kt=$t[1],Yt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!pe)return{scrollHeight:void 0,start:0,end:_t.length-1,offset:void 0};for(var Ar=0,Nr,Fr,tn,qr=_t.length,Or=0;Or<qr;Or+=1){var Qr=_t[Or],Ir=ue(Qr),ur=Yt.get(Ir),pr=Ar+(ur===void 0?$:ur);pr>=Ne&&Nr===void 0&&(Nr=Or,Fr=Ar),pr>Ne+ie&&tn===void 0&&(tn=Or),Ar=pr}return Nr===void 0&&(Nr=0,Fr=0),tn===void 0&&(tn=_t.length-1),tn=Math.min(tn+1,_t.length),{scrollHeight:Ar,start:Nr,end:tn,offset:Fr}},[pe,Ne,_t,Qt,ie]),dr=Mt.scrollHeight,er=Mt.start,ot=Mt.end,xt=Mt.offset;be.current.start=er,be.current.end=ot;var ut=V(dr,ie);function ft(Ar){var Nr=ut(Ar);Nr!==Ne&&te(Nr)}function Lt(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==Ne&&te(Nr),Bt==null||Bt(Ar)}var Tt=Ie(pe,function(Ar){te(function(Nr){var Fr=ut(Nr+Ar);return Fr})}),ht=ke(Tt,2),Ht=ht[0],Ft=ht[1];g.useEffect(function(){return ne.current.addEventListener("wheel",Ht),ne.current.addEventListener("DOMMouseScroll",Ft),function(){ne.current.removeEventListener("wheel",Ht),ne.current.removeEventListener("DOMMouseScroll",Ft)}},[pe]);var ir=X(ne,_t,Yt,$,ue,Kt,te);g.useImperativeHandle(et,function(){return{scrollTo:ir}});var Xt=x(_t,er,ot,Dt,dt,Y),mr=null;return ie&&(mr=ee(se({},Qe?"height":"maxHeight",ie),Ct),pe&&(mr.overflowY="hidden",Fe&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:ee(ee({},ye),{},{position:"relative"}),className:At},Ae),g.createElement(or,{className:"".concat(st,"-holder"),style:mr,ref:ne,onScroll:Lt},g.createElement(i,{prefixCls:st,height:dr,offset:xt,onInnerResize:Kt},Xt)),pe&&g.createElement(T,{prefixCls:st,scrollTop:Ne,height:ie,scrollHeight:dr,count:_t.length,onScroll:ft,onStartMove:function(){nt(!0)},onStopMove:function(){nt(!1)}}))}var Rt=g.forwardRef(Be);Rt.displayName="List";var He=Rt,wt=I.a=He},"+rIm":function(D,I,e){var g=e("bYtY"),f=g.retrieve,y=g.defaults,p=g.extend,v=g.each,h=e("7aKB"),u=e("IwbS"),o=e("Qxkt"),i=e("OELB"),r=i.isRadianAroundZero,a=i.remRadian,c=e("oVpE"),n=c.createSymbol,l=e("Fofx"),t=e("QBsz"),s=t.applyTransform,d=e("aX7z"),m=d.shouldShowAllLabels,w=Math.PI,b=function(R,B){this.opt=B,this.axisModel=R,y(B,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var U=new u.Group({position:B.position.slice(),rotation:B.rotation});U.updateTransform(),this._transform=U.transform,this._dumbGroup=U};b.prototype={constructor:b,hasBuilder:function(R){return!!E[R]},add:function(R){E[R].call(this)},getGroup:function(){return this.group}};var E={axisLine:function(){var R=this.opt,B=this.axisModel;if(!B.get("axisLine.show"))return;var U=this.axisModel.axis.getExtent(),H=this._transform,W=[U[0],0],V=[U[1],0];H&&(s(W,W,H),s(V,V,H));var z=p({lineCap:"round"},B.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:V[0],y2:V[1]},style:z,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var X=B.get("axisLine.symbol"),q=B.get("axisLine.symbolSize"),fe=B.get("axisLine.symbolOffset")||0;if(typeof fe=="number"&&(fe=[fe,fe]),X!=null){typeof X=="string"&&(X=[X,X]),(typeof q=="string"||typeof q=="number")&&(q=[q,q]);var G=q[0],ve=q[1];v([{rotate:R.rotation+Math.PI/2,offset:fe[0],r:0},{rotate:R.rotation-Math.PI/2,offset:fe[1],r:Math.sqrt((W[0]-V[0])*(W[0]-V[0])+(W[1]-V[1])*(W[1]-V[1]))}],function(Se,ge){if(X[ge]!=="none"&&X[ge]!=null){var Pe=n(X[ge],-G/2,-ve/2,G,ve,z.stroke,!0),Ge=Se.r+Se.offset,pt=[W[0]+Ge*Math.cos(R.rotation),W[1]-Ge*Math.sin(R.rotation)];Pe.attr({rotation:Se.rotate,position:pt,silent:!0,z2:11}),this.group.add(Pe)}},this)}},axisTickLabel:function(){var R=this.axisModel,B=this.opt,U=k(this,R,B),H=j(this,R,B);x(R,H,U),P(this,R,B)},axisName:function(){var R=this.opt,B=this.axisModel,U=f(R.axisName,B.get("name"));if(!U)return;var H=B.get("nameLocation"),W=R.nameDirection,V=B.getModel("nameTextStyle"),z=B.get("nameGap")||0,X=this.axisModel.axis.getExtent(),q=X[0]>X[1]?-1:1,fe=[H==="start"?X[0]-q*z:H==="end"?X[1]+q*z:(X[0]+X[1])/2,N(H)?R.labelOffset+W*z:0],G,ve=B.get("nameRotate");ve!=null&&(ve=ve*w/180);var Se;N(H)?G=S(R.rotation,ve!=null?ve:R.rotation,W):(G=T(R,H,ve||0,X),Se=R.axisNameAvailableWidth,Se!=null&&(Se=Math.abs(Se/Math.sin(G.rotation)),!isFinite(Se)&&(Se=null)));var ge=V.getFont(),Pe=B.get("nameTruncate",!0)||{},Ge=Pe.ellipsis,pt=f(R.nameTruncateMaxWidth,Pe.maxWidth,Se),Te=Ge!=null&&pt!=null?h.truncateText(U,pt,ge,Ge,{minChar:2,placeholder:Pe.placeholder}):U,xe=B.get("tooltip",!0),lt=B.mainType,Ie={componentType:lt,name:U,$vars:["name"]};Ie[lt+"Index"]=B.componentIndex;var de=new u.Text({anid:"name",__fullText:U,__truncatedText:Te,position:fe,rotation:G.rotation,silent:O(B),z2:1,tooltip:xe&&xe.show?p({content:U,formatter:function(){return U},formatterParams:Ie},xe):null});u.setTextStyle(de.style,V,{text:Te,textFont:ge,textFill:V.getTextColor()||B.get("axisLine.lineStyle.color"),textAlign:V.get("align")||G.textAlign,textVerticalAlign:V.get("verticalAlign")||G.textVerticalAlign}),B.get("triggerEvent")&&(de.eventData=A(B),de.eventData.targetType="axisName",de.eventData.name=U),this._dumbGroup.add(de),de.updateTransform(),this.group.add(de),de.decomposeTransform()}},A=b.makeAxisEventDataBase=function(R){var B={componentType:R.mainType,componentIndex:R.componentIndex};return B[R.mainType+"Index"]=R.componentIndex,B},S=b.innerTextLayout=function(R,B,U){var H=a(B-R),W,V;return r(H)?(V=U>0?"top":"bottom",W="center"):r(H-w)?(V=U>0?"bottom":"top",W="center"):(V="middle",H>0&&H<w?W=U>0?"right":"left":W=U>0?"left":"right"),{rotation:H,textAlign:W,textVerticalAlign:V}};function T(R,B,U,H){var W=a(U-R.rotation),V,z,X=H[0]>H[1],q=B==="start"&&!X||B!=="start"&&X;return r(W-w/2)?(z=q?"bottom":"top",V="center"):r(W-w*1.5)?(z=q?"top":"bottom",V="center"):(z="middle",W<w*1.5&&W>w/2?V=q?"left":"right":V=q?"right":"left"),{rotation:W,textAlign:V,textVerticalAlign:z}}var O=b.isLabelSilent=function(R){var B=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||B&&B.show)};function x(R,B,U){if(m(R.axis))return;var H=R.get("axisLabel.showMinLabel"),W=R.get("axisLabel.showMaxLabel");B=B||[],U=U||[];var V=B[0],z=B[1],X=B[B.length-1],q=B[B.length-2],fe=U[0],G=U[1],ve=U[U.length-1],Se=U[U.length-2];H===!1?(C(V),C(fe)):_(V,z)&&(H?(C(z),C(G)):(C(V),C(fe))),W===!1?(C(X),C(ve)):_(q,X)&&(W?(C(q),C(Se)):(C(X),C(ve)))}function C(R){R&&(R.ignore=!0)}function _(R,B,U){var H=R&&R.getBoundingRect().clone(),W=B&&B.getBoundingRect().clone();if(!H||!W)return;var V=l.identity([]);return l.rotate(V,V,-R.rotation),H.applyTransform(l.mul([],V,R.getLocalTransform())),W.applyTransform(l.mul([],V,B.getLocalTransform())),H.intersect(W)}function N(R){return R==="middle"||R==="center"}function F(R,B,U,H,W){for(var V=[],z=[],X=[],q=0;q<R.length;q++){var fe=R[q].coord;z[0]=fe,z[1]=0,X[0]=fe,X[1]=U,B&&(s(z,z,B),s(X,X,B));var G=new u.Line({anid:W+"_"+R[q].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:X[0],y2:X[1]},style:H,z2:2,silent:!0});V.push(G)}return V}function k(R,B,U){var H=B.axis,W=B.getModel("axisTick");if(!W.get("show")||H.scale.isBlank())return;for(var V=W.getModel("lineStyle"),z=U.tickDirection*W.get("length"),X=H.getTicksCoords(),q=F(X,R._transform,z,y(V.getLineStyle(),{stroke:B.get("axisLine.lineStyle.color")}),"ticks"),fe=0;fe<q.length;fe++)R.group.add(q[fe]);return q}function P(R,B,U){var H=B.axis,W=B.getModel("minorTick");if(!W.get("show")||H.scale.isBlank())return;var V=H.getMinorTicksCoords();if(!V.length)return;for(var z=W.getModel("lineStyle"),X=U.tickDirection*W.get("length"),q=y(z.getLineStyle(),y(B.getModel("axisTick").getLineStyle(),{stroke:B.get("axisLine.lineStyle.color")})),fe=0;fe<V.length;fe++)for(var G=F(V[fe],R._transform,X,q,"minorticks_"+fe),ve=0;ve<G.length;ve++)R.group.add(G[ve])}function j(R,B,U){var H=B.axis,W=f(U.axisLabelShow,B.get("axisLabel.show"));if(!W||H.scale.isBlank())return;var V=B.getModel("axisLabel"),z=V.get("margin"),X=H.getViewLabels(),q=(f(U.labelRotate,V.get("rotate"))||0)*w/180,fe=S(U.rotation,q,U.labelDirection),G=B.getCategories&&B.getCategories(!0),ve=[],Se=O(B),ge=B.get("triggerEvent");return v(X,function(Pe,Ge){var pt=Pe.tickValue,Te=Pe.formattedLabel,xe=Pe.rawLabel,lt=V;G&&G[pt]&&G[pt].textStyle&&(lt=new o(G[pt].textStyle,V,B.ecModel));var Ie=lt.getTextColor()||B.get("axisLine.lineStyle.color"),de=H.dataToCoord(pt),ee=[de,U.labelOffset+U.labelDirection*z],se=new u.Text({anid:"label_"+pt,position:ee,rotation:fe.rotation,silent:Se,z2:10});u.setTextStyle(se.style,lt,{text:Te,textAlign:lt.getShallow("align",!0)||fe.textAlign,textVerticalAlign:lt.getShallow("verticalAlign",!0)||lt.getShallow("baseline",!0)||fe.textVerticalAlign,textFill:typeof Ie=="function"?Ie(H.type==="category"?xe:H.type==="value"?pt+"":pt,Ge):Ie}),ge&&(se.eventData=A(B),se.eventData.targetType="axisLabel",se.eventData.value=xe),R._dumbGroup.add(se),se.updateTransform(),ve.push(se),R.group.add(se),se.decomposeTransform()}),ve}var K=b;D.exports=K},"+wW9":function(D,I,e){var g=e("bYtY"),f=g.each,y=g.isArray,p=g.isObject,v=e("JuEJ"),h=e("4NO4"),u=h.normalizeToArray;function o(l,t){t=t.split(",");for(var s=l,d=0;d<t.length&&!(s=s&&s[t[d]],s==null);d++);return s}function i(l,t,s,d){t=t.split(",");for(var m=l,w,b=0;b<t.length-1;b++)w=t[b],m[w]==null&&(m[w]={}),m=m[w];(d||m[t[b]]==null)&&(m[t[b]]=s)}function r(l){f(a,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var a=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],c=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(l,t){v(l,t),l.series=u(l.series),f(l.series,function(s){if(!p(s))return;var d=s.type;if(d==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(d==="pie"||d==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(d==="gauge"){var m=o(s,"pointer.color");m!=null&&i(s,"itemStyle.color",m)}r(s)}),l.dataRange&&(l.visualMap=l.dataRange),f(c,function(s){var d=l[s];d&&(y(d)||(d=[d]),f(d,function(m){r(m)}))})}D.exports=n},"/IIm":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("H6uX"),v=e("IwbS"),h=e("pP6R"),u=e("gPAo"),o=y.curry,i=y.each,r=y.map,a=Math.min,c=Math.max,n=Math.pow,l=1e4,t=6,s=6,d="globalPan",m={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},w={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},E=0;function A(ae){p.call(this),this._zr=ae,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_"+E++,this._handlers={},i(ee,function(me,Oe){this._handlers[Oe]=y.bind(me,this)},this)}A.prototype={constructor:A,enableBrush:function(ae){return this._brushType&&T(this),ae.brushType&&S(this,ae),this},setPanels:function(ae){if(ae&&ae.length){var me=this._panels={};y.each(ae,function(Oe){me[Oe.panelId]=y.clone(Oe)})}else this._panels=null;return this},mount:function(ae){ae=ae||{},this._enableGlobalPan=ae.enableGlobalPan;var me=this.group;return this._zr.add(me),me.attr({position:ae.position||[0,0],rotation:ae.rotation||0,scale:ae.scale||[1,1]}),this._transform=me.getLocalTransform(),this},eachCover:function(ae,me){i(this._covers,ae,me)},updateCovers:function(ae){ae=y.map(ae,function(Ye){return y.merge(y.clone(b),Ye,!0)});var me="\0-brush-index-",Oe=this._covers,Ze=this._covers=[],vt=this,Ct=this._creatingCover;return new u(Oe,ae,Rt,Be).add(He).update(He).remove(wt).execute(),this;function Be(Ye,et){return(Ye.id!=null?Ye.id:me+et)+"-"+Ye.brushType}function Rt(Ye,et){return Be(Ye.__brushOption,et)}function He(Ye,et){var rt=ae[Ye];if(et!=null&&Oe[et]===Ct)Ze[Ye]=Oe[et];else{var st=Ze[Ye]=et!=null?(Oe[et].__brushOption=rt,Oe[et]):_(vt,C(vt,rt));k(vt,st)}}function wt(Ye){Oe[Ye]!==Ct&&vt.group.remove(Oe[Ye])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},y.mixin(A,p);function S(ae,me){var Oe=ae._zr;ae._enableGlobalPan||h.take(Oe,d,ae._uid),O(Oe,ae._handlers),ae._brushType=me.brushType,ae._brushOption=y.merge(y.clone(b),me,!0)}function T(ae){var me=ae._zr;h.release(me,d,ae._uid),x(me,ae._handlers),ae._brushType=ae._brushOption=null}function O(ae,me){i(me,function(Oe,Ze){ae.on(Ze,Oe)})}function x(ae,me){i(me,function(Oe,Ze){ae.off(Ze,Oe)})}function C(ae,me){var Oe=Ce[me.brushType].createCover(ae,me);return Oe.__brushOption=me,F(Oe,me),ae.group.add(Oe),Oe}function _(ae,me){var Oe=P(me);return Oe.endCreating&&(Oe.endCreating(ae,me),F(me,me.__brushOption)),me}function N(ae,me){var Oe=me.__brushOption;P(me).updateCoverShape(ae,me,Oe.range,Oe)}function F(ae,me){var Oe=me.z;Oe==null&&(Oe=l),ae.traverse(function(Ze){Ze.z=Oe,Ze.z2=Oe})}function k(ae,me){P(me).updateCommon(ae,me),N(ae,me)}function P(ae){return Ce[ae.__brushOption.brushType]}function j(ae,me,Oe){var Ze=ae._panels;if(!Ze)return!0;var vt,Ct=ae._transform;return i(Ze,function(Be){Be.isTargetByCursor(me,Oe,Ct)&&(vt=Be)}),vt}function K(ae,me){var Oe=ae._panels;if(!Oe)return!0;var Ze=me.__brushOption.panelId;return Ze!=null?Oe[Ze]:!0}function R(ae){var me=ae._covers,Oe=me.length;return i(me,function(Ze){ae.group.remove(Ze)},ae),me.length=0,!!Oe}function B(ae,me){var Oe=r(ae._covers,function(Ze){var vt=Ze.__brushOption,Ct=y.clone(vt.range);return{brushType:vt.brushType,panelId:vt.panelId,range:Ct}});ae.trigger("brush",Oe,{isEnd:!!me.isEnd,removeOnClick:!!me.removeOnClick})}function U(ae){var me=ae._track;if(!me.length)return!1;var Oe=me[me.length-1],Ze=me[0],vt=Oe[0]-Ze[0],Ct=Oe[1]-Ze[1],Be=n(vt*vt+Ct*Ct,.5);return Be>t}function H(ae){var me=ae.length-1;return me<0&&(me=0),[ae[0],ae[me]]}function W(ae,me,Oe,Ze){var vt=new v.Group;return vt.add(new v.Rect({name:"main",style:q(Oe),silent:!0,draggable:!0,cursor:"move",drift:o(ae,me,vt,"nswe"),ondragend:o(B,me,{isEnd:!0})})),i(Ze,function(Ct){vt.add(new v.Rect({name:Ct,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(ae,me,vt,Ct),ondragend:o(B,me,{isEnd:!0})}))}),vt}function V(ae,me,Oe,Ze){var vt=Ze.brushStyle.lineWidth||0,Ct=c(vt,s),Be=Oe[0][0],Rt=Oe[1][0],He=Be-vt/2,wt=Rt-vt/2,Ye=Oe[0][1],et=Oe[1][1],rt=Ye-Ct+vt/2,st=et-Ct+vt/2,Ve=Ye-Be,ie=et-Rt,$=Ve+vt,it=ie+vt;X(ae,me,"main",Be,Rt,Ve,ie),Ze.transformable&&(X(ae,me,"w",He,wt,Ct,it),X(ae,me,"e",rt,wt,Ct,it),X(ae,me,"n",He,wt,$,Ct),X(ae,me,"s",He,st,$,Ct),X(ae,me,"nw",He,wt,Ct,Ct),X(ae,me,"ne",rt,wt,Ct,Ct),X(ae,me,"sw",He,st,Ct,Ct),X(ae,me,"se",rt,st,Ct,Ct))}function z(ae,me){var Oe=me.__brushOption,Ze=Oe.transformable,vt=me.childAt(0);vt.useStyle(q(Oe)),vt.attr({silent:!Ze,cursor:Ze?"move":"default"}),i(["w","e","n","s","se","sw","ne","nw"],function(Ct){var Be=me.childOfName(Ct),Rt=ve(ae,Ct);Be&&Be.attr({silent:!Ze,invisible:!Ze,cursor:Ze?w[Rt]+"-resize":null})})}function X(ae,me,Oe,Ze,vt,Ct,Be){var Rt=me.childOfName(Oe);Rt&&Rt.setShape(pt(Ge(ae,me,[[Ze,vt],[Ze+Ct,vt+Be]])))}function q(ae){return y.defaults({strokeNoScale:!0},ae.brushStyle)}function fe(ae,me,Oe,Ze){var vt=[a(ae,Oe),a(me,Ze)],Ct=[c(ae,Oe),c(me,Ze)];return[[vt[0],Ct[0]],[vt[1],Ct[1]]]}function G(ae){return v.getTransform(ae.group)}function ve(ae,me){if(me.length>1){me=me.split("");var Oe=[ve(ae,me[0]),ve(ae,me[1])];return(Oe[0]==="e"||Oe[0]==="w")&&Oe.reverse(),Oe.join("")}else{var Ze={w:"left",e:"right",n:"top",s:"bottom"},vt={left:"w",right:"e",top:"n",bottom:"s"},Oe=v.transformDirection(Ze[me],G(ae));return vt[Oe]}}function Se(ae,me,Oe,Ze,vt,Ct,Be,Rt){var He=Ze.__brushOption,wt=ae(He.range),Ye=Pe(Oe,Ct,Be);i(vt.split(""),function(et){var rt=m[et];wt[rt[0]][rt[1]]+=Ye[rt[0]]}),He.range=me(fe(wt[0][0],wt[1][0],wt[0][1],wt[1][1])),k(Oe,Ze),B(Oe,{isEnd:!1})}function ge(ae,me,Oe,Ze,vt){var Ct=me.__brushOption.range,Be=Pe(ae,Oe,Ze);i(Ct,function(Rt){Rt[0]+=Be[0],Rt[1]+=Be[1]}),k(ae,me),B(ae,{isEnd:!1})}function Pe(ae,me,Oe){var Ze=ae.group,vt=Ze.transformCoordToLocal(me,Oe),Ct=Ze.transformCoordToLocal(0,0);return[vt[0]-Ct[0],vt[1]-Ct[1]]}function Ge(ae,me,Oe){var Ze=K(ae,me);return Ze&&Ze!==!0?Ze.clipPath(Oe,ae._transform):y.clone(Oe)}function pt(ae){var me=a(ae[0][0],ae[1][0]),Oe=a(ae[0][1],ae[1][1]),Ze=c(ae[0][0],ae[1][0]),vt=c(ae[0][1],ae[1][1]);return{x:me,y:Oe,width:Ze-me,height:vt-Oe}}function Te(ae,me,Oe){if(!ae._brushType||ke(ae,me))return;var Ze=ae._zr,vt=ae._covers,Ct=j(ae,me,Oe);if(!ae._dragging)for(var Be=0;Be<vt.length;Be++){var Rt=vt[Be].__brushOption;if(Ct&&(Ct===!0||Rt.panelId===Ct.panelId)&&Ce[Rt.brushType].contain(vt[Be],Oe[0],Oe[1]))return}Ct&&Ze.setCursorStyle("crosshair")}function xe(ae){var me=ae.event;me.preventDefault&&me.preventDefault()}function lt(ae,me,Oe){return ae.childOfName("main").contain(me,Oe)}function Ie(ae,me,Oe,Ze){var vt=ae._creatingCover,Ct=ae._creatingPanel,Be=ae._brushOption,Rt;if(ae._track.push(Oe.slice()),U(ae)||vt){if(Ct&&!vt){Be.brushMode==="single"&&R(ae);var He=y.clone(Be);He.brushType=de(He.brushType,Ct),He.panelId=Ct===!0?null:Ct.panelId,vt=ae._creatingCover=C(ae,He),ae._covers.push(vt)}if(vt){var wt=Ce[de(ae._brushType,Ct)],Ye=vt.__brushOption;Ye.range=wt.getCreatingRange(Ge(ae,vt,ae._track)),Ze&&(_(ae,vt),wt.updateCommon(ae,vt)),N(ae,vt),Rt={isEnd:Ze}}}else Ze&&Be.brushMode==="single"&&Be.removeOnClick&&(j(ae,me,Oe)&&R(ae)&&(Rt={isEnd:Ze,removeOnClick:!0}));return Rt}function de(ae,me){return ae==="auto"?me.defaultBrushType:ae}var ee={mousedown:function(ae){if(this._dragging)se(this,ae);else if(!ae.target||!ae.target.draggable){xe(ae);var me=this.group.transformCoordToLocal(ae.offsetX,ae.offsetY);this._creatingCover=null;var Oe=this._creatingPanel=j(this,ae,me);Oe&&(this._dragging=!0,this._track=[me.slice()])}},mousemove:function(ae){var me=ae.offsetX,Oe=ae.offsetY,Ze=this.group.transformCoordToLocal(me,Oe);if(Te(this,ae,Ze),this._dragging){xe(ae);var vt=Ie(this,ae,Ze,!1);vt&&B(this,vt)}},mouseup:function(ae){se(this,ae)}};function se(ae,me){if(ae._dragging){xe(me);var Oe=me.offsetX,Ze=me.offsetY,vt=ae.group.transformCoordToLocal(Oe,Ze),Ct=Ie(ae,me,vt,!0);ae._dragging=!1,ae._track=[],ae._creatingCover=null,Ct&&B(ae,Ct)}}function ke(ae,me,Oe){var Ze=ae._zr;return me<0||me>Ze.getWidth()||Oe<0||Oe>Ze.getHeight()}var Ce={lineX:ze(0),lineY:ze(1),rect:{createCover:function(ae,me){return W(o(Se,function(Oe){return Oe},function(Oe){return Oe}),ae,me,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(ae){var me=H(ae);return fe(me[1][0],me[1][1],me[0][0],me[0][1])},updateCoverShape:function(ae,me,Oe,Ze){V(ae,me,Oe,Ze)},updateCommon:z,contain:lt},polygon:{createCover:function(ae,me){var Oe=new v.Group;return Oe.add(new v.Polyline({name:"main",style:q(me),silent:!0})),Oe},getCreatingRange:function(ae){return ae},endCreating:function(ae,me){me.remove(me.childAt(0)),me.add(new v.Polygon({name:"main",draggable:!0,drift:o(ge,ae,me),ondragend:o(B,ae,{isEnd:!0})}))},updateCoverShape:function(ae,me,Oe,Ze){me.childAt(0).setShape({points:Ge(ae,me,Oe)})},updateCommon:z,contain:lt}};function ze(ae){return{createCover:function(me,Oe){return W(o(Se,function(Ze){var vt=[Ze,[0,100]];return ae&&vt.reverse(),vt},function(Ze){return Ze[ae]}),me,Oe,[["w","e"],["n","s"]][ae])},getCreatingRange:function(me){var Oe=H(me),Ze=a(Oe[0][ae],Oe[1][ae]),vt=c(Oe[0][ae],Oe[1][ae]);return[Ze,vt]},updateCoverShape:function(me,Oe,Ze,vt){var Ct,Be=K(me,Oe);if(Be!==!0&&Be.getLinearBrushOtherExtent)Ct=Be.getLinearBrushOtherExtent(ae,me._transform);else{var Rt=me._zr;Ct=[0,[Rt.getWidth(),Rt.getHeight()][1-ae]]}var He=[Ze,Ct];ae&&He.reverse(),V(me,Oe,He,vt)},updateCommon:z,contain:lt}}var _e=A;D.exports=_e},"/MfK":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="DeleteOutlined";var h=I.a=g.forwardRef(v)},"/POA":function(D,I,e){!function(g,f){if(!0)D.exports=f();else var y,p}(window,function(){return function(g){var f={};function y(p){if(f[p])return f[p].exports;var v=f[p]={i:p,l:!1,exports:{}};return g[p].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(p,v,h){y.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:h})},y.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},y.t=function(p,v){if(1&v&&(p=y(p)),8&v)return p;if(4&v&&typeof p=="object"&&p&&p.__esModule)return p;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:p}),2&v&&typeof p!="string")for(var u in p)y.d(h,u,function(o){return p[o]}.bind(null,u));return h},y.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return y.d(v,"a",v),v},y.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},y.p="",y(y.s=34)}([function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var p=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var u=this;return this._event||(this._event=function(o){return u._listeners.push(o),{dispose:function(){if(!u._disposed){for(var r=0;r<u._listeners.length;r++)if(u._listeners[r]===o)return void u._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(h,u){for(var o=[],i=0;i<this._listeners.length;i++)o.push(this._listeners[i]);for(i=0;i<o.length;i++)o[i].call(void 0,h,u)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();f.EventEmitter=p,f.forwardEvent=function(v,h){return v(function(u){return h.fire(u)})}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.IUnicodeService=f.IOptionsService=f.ILogService=f.IInstantiationService=f.IDirtyRowService=f.ICharsetService=f.ICoreService=f.ICoreMouseService=f.IBufferService=void 0;var p=y(14);f.IBufferService=p.createDecorator("BufferService"),f.ICoreMouseService=p.createDecorator("CoreMouseService"),f.ICoreService=p.createDecorator("CoreService"),f.ICharsetService=p.createDecorator("CharsetService"),f.IDirtyRowService=p.createDecorator("DirtyRowService"),f.IInstantiationService=p.createDecorator("InstantiationService"),f.ILogService=p.createDecorator("LogService"),f.IOptionsService=p.createDecorator("OptionsService"),f.IUnicodeService=p.createDecorator("UnicodeService")},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var p=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var u=0,o=this._disposables;u<o.length;u++)o[u].dispose();this._disposables.length=0},h.prototype.register=function(u){return this._disposables.push(u),u},h.prototype.unregister=function(u){var o=this._disposables.indexOf(u);o!==-1&&this._disposables.splice(o,1)},h}();function v(h){for(var u=0,o=h;u<o.length;u++)o[u].dispose();h.length=0}f.Disposable=p,f.disposeArray=v,f.getDisposeArrayDisposable=function(h){return{dispose:function(){return v(h)}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WHITESPACE_CELL_CODE=f.WHITESPACE_CELL_WIDTH=f.WHITESPACE_CELL_CHAR=f.NULL_CELL_CODE=f.NULL_CELL_WIDTH=f.NULL_CELL_CHAR=f.CHAR_DATA_CODE_INDEX=f.CHAR_DATA_WIDTH_INDEX=f.CHAR_DATA_CHAR_INDEX=f.CHAR_DATA_ATTR_INDEX=f.DEFAULT_ATTR=f.DEFAULT_COLOR=void 0,f.DEFAULT_COLOR=256,f.DEFAULT_ATTR=256|f.DEFAULT_COLOR<<9,f.CHAR_DATA_ATTR_INDEX=0,f.CHAR_DATA_CHAR_INDEX=1,f.CHAR_DATA_WIDTH_INDEX=2,f.CHAR_DATA_CODE_INDEX=3,f.NULL_CELL_CHAR="",f.NULL_CELL_WIDTH=1,f.NULL_CELL_CODE=0,f.WHITESPACE_CELL_CHAR=" ",f.WHITESPACE_CELL_WIDTH=1,f.WHITESPACE_CELL_CODE=32},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(a,c){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(a,c)},function(r,a){function c(){this.constructor=r}p(r,a),r.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var h=y(8),u=y(3),o=y(6),i=function(r){function a(){var c=r!==null&&r.apply(this,arguments)||this;return c.content=0,c.fg=0,c.bg=0,c.extended=new o.ExtendedAttrs,c.combinedData="",c}return v(a,r),a.fromCharData=function(c){var n=new a;return n.setFromCharData(c),n},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?h.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(c){this.fg=c[u.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(c[u.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(c[u.CHAR_DATA_CHAR_INDEX].length===2){var l=c[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=c[u.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|c[u.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=c[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|c[u.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=c[u.CHAR_DATA_CHAR_INDEX],this.content=2097152|c[u.CHAR_DATA_WIDTH_INDEX]<<22)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(o.AttributeData);f.CellData=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var p=y(14);f.ICharSizeService=p.createDecorator("CharSizeService"),f.ICoreBrowserService=p.createDecorator("CoreBrowserService"),f.IMouseService=p.createDecorator("MouseService"),f.IRenderService=p.createDecorator("RenderService"),f.ISelectionService=p.createDecorator("SelectionService"),f.ISoundService=p.createDecorator("SoundService")},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var p=function(){function h(){this.fg=0,this.bg=0,this.extended=new v}return h.toColorRGB=function(u){return[u>>>16&255,u>>>8&255,255&u]},h.fromColorRGB=function(u){return(255&u[0])<<16|(255&u[1])<<8|255&u[2]},h.prototype.clone=function(){var u=new h;return u.fg=this.fg,u.bg=this.bg,u.extended=this.extended.clone(),u},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.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()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();f.AttributeData=p;var v=function(){function h(u,o){u===void 0&&(u=0),o===void 0&&(o=-1),this.underlineStyle=u,this.underlineColor=o}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();f.ExtendedAttrs=v},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(p,v,h,u){p.addEventListener(v,h,u);var o=!1;return{dispose:function(){o||(o=!0,p.removeEventListener(v,h,u))}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},f.utf32ToString=function(h,u,o){u===void 0&&(u=0),o===void 0&&(o=h.length);for(var i="",r=u;r<o;++r){var a=h[r];a>65535?(a-=65536,i+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):i+=String.fromCharCode(a)}return i};var p=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(u,o){var i=u.length;if(!i)return 0;var r=0,a=0;this._interim&&(56320<=(l=u.charCodeAt(a++))&&l<=57343?o[r++]=1024*(this._interim-55296)+l-56320+65536:(o[r++]=this._interim,o[r++]=l),this._interim=0);for(var c=a;c<i;++c){var n=u.charCodeAt(c);if(55296<=n&&n<=56319){if(++c>=i)return this._interim=n,r;var l;56320<=(l=u.charCodeAt(c))&&l<=57343?o[r++]=1024*(n-55296)+l-56320+65536:(o[r++]=n,o[r++]=l)}else o[r++]=n}return r},h}();f.StringToUtf32=p;var v=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(u,o){var i=u.length;if(!i)return 0;var r,a,c,n,l=0,t=0,s=0;if(this.interim[0]){var d=!1,m=this.interim[0];m&=(224&m)==192?31:(240&m)==224?15:7;for(var w=0,b=void 0;(b=63&this.interim[++w])&&w<4;)m<<=6,m|=b;for(var E=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,A=E-w;s<A;){if(s>=i)return 0;if((192&(b=u[s++]))!=128){s--,d=!0;break}this.interim[w++]=b,m<<=6,m|=63&b}d||(E===2?m<128?s--:o[l++]=m:E===3?m<2048||m>=55296&&m<=57343||(o[l++]=m):m<65536||m>1114111||(o[l++]=m)),this.interim.fill(0)}for(var S=i-4,T=s;T<i;){for(;!(!(T<S)||128&(r=u[T])||128&(a=u[T+1])||128&(c=u[T+2])||128&(n=u[T+3]));)o[l++]=r,o[l++]=a,o[l++]=c,o[l++]=n,T+=4;if((r=u[T++])<128)o[l++]=r;else if((224&r)==192){if(T>=i)return this.interim[0]=r,l;if((192&(a=u[T++]))!=128){T--;continue}if((t=(31&r)<<6|63&a)<128){T--;continue}o[l++]=t}else if((240&r)==224){if(T>=i)return this.interim[0]=r,l;if((192&(a=u[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=a,l;if((192&(c=u[T++]))!=128){T--;continue}if((t=(15&r)<<12|(63&a)<<6|63&c)<2048||t>=55296&&t<=57343)continue;o[l++]=t}else if((248&r)==240){if(T>=i)return this.interim[0]=r,l;if((192&(a=u[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=a,l;if((192&(c=u[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=a,this.interim[2]=c,l;if((192&(n=u[T++]))!=128){T--;continue}if((t=(7&r)<<18|(63&a)<<12|(63&c)<<6|63&n)<65536||t>1114111)continue;o[l++]=t}}return l},h}();f.Utf8ToUtf32=v},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CHAR_ATLAS_CELL_SPACING=f.DIM_OPACITY=f.INVERTED_DEFAULT_COLOR=void 0,f.INVERTED_DEFAULT_COLOR=257,f.DIM_OPACITY=.5,f.CHAR_ATLAS_CELL_SPACING=1},function(g,f,y){"use strict";var p,v,h,u;function o(r){var a=r.toString(16);return a.length<2?"0"+a:a}function i(r,a){return r<a?(a+.05)/(r+.05):(r+.05)/(a+.05)}Object.defineProperty(f,"__esModule",{value:!0}),f.contrastRatio=f.toPaddedHex=f.rgba=f.rgb=f.css=f.color=f.channels=void 0,function(r){r.toCss=function(a,c,n,l){return l!==void 0?"#"+o(a)+o(c)+o(n)+o(l):"#"+o(a)+o(c)+o(n)},r.toRgba=function(a,c,n,l){return l===void 0&&(l=255),(a<<24|c<<16|n<<8|l)>>>0}}(p=f.channels||(f.channels={})),(v=f.color||(f.color={})).blend=function(r,a){var c=(255&a.rgba)/255;if(c===1)return{css:a.css,rgba:a.rgba};var n=a.rgba>>24&255,l=a.rgba>>16&255,t=a.rgba>>8&255,s=r.rgba>>24&255,d=r.rgba>>16&255,m=r.rgba>>8&255,w=s+Math.round((n-s)*c),b=d+Math.round((l-d)*c),E=m+Math.round((t-m)*c);return{css:p.toCss(w,b,E),rgba:p.toRgba(w,b,E)}},v.isOpaque=function(r){return(255&r.rgba)==255},v.ensureContrastRatio=function(r,a,c){var n=u.ensureContrastRatio(r.rgba,a.rgba,c);if(n)return u.toColor(n>>24&255,n>>16&255,n>>8&255)},v.opaque=function(r){var a=(255|r.rgba)>>>0,c=u.toChannels(a),n=c[0],l=c[1],t=c[2];return{css:p.toCss(n,l,t),rgba:a}},v.opacity=function(r,a){var c=Math.round(255*a),n=u.toChannels(r.rgba),l=n[0],t=n[1],s=n[2];return{css:p.toCss(l,t,s,c),rgba:p.toRgba(l,t,s,c)}},(f.css||(f.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function a(c,n,l){var t=c/255,s=n/255,d=l/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4))}r.relativeLuminance=function(c){return a(c>>16&255,c>>8&255,255&c)},r.relativeLuminance2=a}(h=f.rgb||(f.rgb={})),function(r){function a(n,l,t){for(var s=n>>24&255,d=n>>16&255,m=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,d,m));A<t&&(w>0||b>0||E>0);)w-=Math.max(0,Math.ceil(.1*w)),b-=Math.max(0,Math.ceil(.1*b)),E-=Math.max(0,Math.ceil(.1*E)),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,d,m));return(w<<24|b<<16|E<<8|255)>>>0}function c(n,l,t){for(var s=n>>24&255,d=n>>16&255,m=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,d,m));A<t&&(w<255||b<255||E<255);)w=Math.min(255,w+Math.ceil(.1*(255-w))),b=Math.min(255,b+Math.ceil(.1*(255-b))),E=Math.min(255,E+Math.ceil(.1*(255-E))),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,d,m));return(w<<24|b<<16|E<<8|255)>>>0}r.ensureContrastRatio=function(n,l,t){var s=h.relativeLuminance(n>>8),d=h.relativeLuminance(l>>8);if(i(s,d)<t)return d<s?a(n,l,t):c(n,l,t)},r.reduceLuminance=a,r.increaseLuminance=c,r.toChannels=function(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]},r.toColor=function(n,l,t){return{css:p.toCss(n,l,t),rgba:p.toRgba(n,l,t)}}}(u=f.rgba||(f.rgba={})),f.toPaddedHex=o,f.contrastRatio=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isLinux=f.isWindows=f.isIphone=f.isIpad=f.isMac=f.isSafari=f.isFirefox=void 0;var p=typeof navigator=="undefined",v=p?"node":navigator.userAgent,h=p?"node":navigator.platform;function u(o,i){return o.indexOf(i)>=0}f.isFirefox=!!~v.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(v),f.isMac=u(["Macintosh","MacIntel","MacPPC","Mac68K"],h),f.isIpad=h==="iPad",f.isIphone=h==="iPhone",f.isWindows=u(["Windows","Win16","Win32","WinCE"],h),f.isLinux=h.indexOf("Linux")>=0},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.C1=f.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"}(f.C0||(f.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"}(f.C1||(f.C1={}))},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var p=y(3),v=y(9),h=y(25),u=y(6),o=y(28),i=y(10),r=y(17),a=function(){function c(n,l,t,s,d,m,w,b){this._container=n,this._alpha=s,this._colors=d,this._rendererId=m,this._bufferService=w,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return c.prototype.dispose=function(){var n;r.removeElementFromParent(this._canvas),(n=this._charAtlas)===null||n===void 0||n.dispose()},c.prototype._initCanvas=function(){this._ctx=o.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},c.prototype.onOptionsChanged=function(){},c.prototype.onBlur=function(){},c.prototype.onFocus=function(){},c.prototype.onCursorMove=function(){},c.prototype.onGridChanged=function(n,l){},c.prototype.onSelectionChanged=function(n,l,t){t===void 0&&(t=!1)},c.prototype.setColors=function(n){this._refreshCharAtlas(n)},c.prototype._setTransparency=function(n){if(n!==this._alpha){var l=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},c.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},c.prototype.resize=function(n){this._scaledCellWidth=n.scaledCellWidth,this._scaledCellHeight=n.scaledCellHeight,this._scaledCharWidth=n.scaledCharWidth,this._scaledCharHeight=n.scaledCharHeight,this._scaledCharLeft=n.scaledCharLeft,this._scaledCharTop=n.scaledCharTop,this._canvas.width=n.scaledCanvasWidth,this._canvas.height=n.scaledCanvasHeight,this._canvas.style.width=n.canvasWidth+"px",this._canvas.style.height=n.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},c.prototype._fillCells=function(n,l,t,s){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight)},c.prototype._fillBottomLineAtCells=function(n,l,t){t===void 0&&(t=1),this._ctx.fillRect(n*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},c.prototype._fillLeftLineAtCell=function(n,l,t){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},c.prototype._strokeRectAtCell=function(n,l,t,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},c.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))},c.prototype._clearCells=function(n,l,t,s){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight))},c.prototype._fillCharTrueColor=function(n,l,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},c.prototype._drawChars=function(n,l,t){var s,d,m=this._getContrastColor(n);m||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,l,t,m):(n.isInverse()?(s=n.isBgDefault()?v.INVERTED_DEFAULT_COLOR:n.getBgColor(),d=n.isFgDefault()?v.INVERTED_DEFAULT_COLOR:n.getFgColor()):(d=n.isBgDefault()?p.DEFAULT_COLOR:n.getBgColor(),s=n.isFgDefault()?p.DEFAULT_COLOR:n.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||p.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||p.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=d,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,l,t))},c.prototype._drawUncachedChars=function(n,l,t,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(s)this._ctx.fillStyle=s.css;else if(n.isBgDefault())this._ctx.fillStyle=i.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var d=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&d<8&&(d+=8),this._ctx.fillStyle=this._colors.ansi[d].css}else if(s)this._ctx.fillStyle=s.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var m=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&m<8&&(m+=8),this._ctx.fillStyle=this._colors.ansi[m].css}this._clipRow(t),n.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},c.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},c.prototype._getFont=function(n,l){return(l?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},c.prototype._getContrastColor=function(n){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(n.bg,n.fg);if(l!==void 0)return l||void 0;var t=n.getFgColor(),s=n.getFgColorMode(),d=n.getBgColor(),m=n.getBgColorMode(),w=!!n.isInverse(),b=!!n.isInverse();if(w){var E=t;t=d,d=E;var A=s;s=m,m=A}var S=this._resolveBackgroundRgba(m,d,w),T=this._resolveForegroundRgba(s,t,w,b),O=i.rgba.ensureContrastRatio(S,T,this._optionsService.options.minimumContrastRatio);if(O){var x={css:i.channels.toCss(O>>24&255,O>>16&255,O>>8&255),rgba:O};return this._colors.contrastCache.setColor(n.bg,n.fg,x),x}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},c.prototype._resolveBackgroundRgba=function(n,l,t){switch(n){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},c.prototype._resolveForegroundRgba=function(n,l,t,s){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},c}();f.BaseRenderLayer=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function p(v,h,u){h.di$target===h?h.di$dependencies.push({id:v,index:u}):(h.di$dependencies=[{id:v,index:u}],h.di$target=h)}f.serviceRegistry=new Map,f.getServiceDependencies=function(v){return v.di$dependencies||[]},f.createDecorator=function(v){if(f.serviceRegistry.has(v))return f.serviceRegistry.get(v);var h=function u(o,i,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");p(u,o,r)};return h.toString=function(){return v},f.serviceRegistry.set(v,h),h}},function(g,f,y){"use strict";function p(v,h,u,o){if(u===void 0&&(u=0),o===void 0&&(o=v.length),u>=v.length)return v;u=(v.length+u)%v.length,o=o>=v.length?v.length:(v.length+o)%v.length;for(var i=u;i<o;++i)v[i]=h;return v}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(v,h,u,o){return v.fill?v.fill(h,u,o):p(v,h,u,o)},f.fillFallback=p,f.concat=function(v,h){var u=new v.constructor(v.length+h.length);return u.set(v),u.set(h,v.length),u}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var p=y(8),v=y(3),h=y(4),u=y(6);f.DEFAULT_ATTR_DATA=Object.freeze(new u.AttributeData);var o=function(){function i(r,a,c){c===void 0&&(c=!1),this.isWrapped=c,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*r);for(var n=a||h.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),l=0;l<r;++l)this.setCell(l,n);this.length=r}return i.prototype.get=function(r){var a=this._data[3*r+0],c=2097151&a;return[this._data[3*r+1],2097152&a?this._combined[r]:c?p.stringFromCodePoint(c):"",a>>22,2097152&a?this._combined[r].charCodeAt(this._combined[r].length-1):c]},i.prototype.set=function(r,a){this._data[3*r+1]=a[v.CHAR_DATA_ATTR_INDEX],a[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=a[1],this._data[3*r+0]=2097152|r|a[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=a[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[v.CHAR_DATA_WIDTH_INDEX]<<22},i.prototype.getWidth=function(r){return this._data[3*r+0]>>22},i.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},i.prototype.getFg=function(r){return this._data[3*r+1]},i.prototype.getBg=function(r){return this._data[3*r+2]},i.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},i.prototype.getCodePoint=function(r){var a=this._data[3*r+0];return 2097152&a?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&a},i.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},i.prototype.getString=function(r){var a=this._data[3*r+0];return 2097152&a?this._combined[r]:2097151&a?p.stringFromCodePoint(2097151&a):""},i.prototype.loadCell=function(r,a){var c=3*r;return a.content=this._data[c+0],a.fg=this._data[c+1],a.bg=this._data[c+2],2097152&a.content&&(a.combinedData=this._combined[r]),268435456&a.bg&&(a.extended=this._extendedAttrs[r]),a},i.prototype.setCell=function(r,a){2097152&a.content&&(this._combined[r]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[r]=a.extended),this._data[3*r+0]=a.content,this._data[3*r+1]=a.fg,this._data[3*r+2]=a.bg},i.prototype.setCellFromCodePoint=function(r,a,c,n,l,t){268435456&l&&(this._extendedAttrs[r]=t),this._data[3*r+0]=a|c<<22,this._data[3*r+1]=n,this._data[3*r+2]=l},i.prototype.addCodepointToCell=function(r,a){var c=this._data[3*r+0];2097152&c?this._combined[r]+=p.stringFromCodePoint(a):(2097151&c?(this._combined[r]=p.stringFromCodePoint(2097151&c)+p.stringFromCodePoint(a),c&=-2097152,c|=2097152):c=a|1<<22,this._data[3*r+0]=c)},i.prototype.insertCells=function(r,a,c,n){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),a<this.length-r){for(var l=new h.CellData,t=this.length-r-a-1;t>=0;--t)this.setCell(r+a+t,this.loadCell(r+t,l));for(t=0;t<a;++t)this.setCell(r+t,c)}else for(t=r;t<this.length;++t)this.setCell(t,c);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs)},i.prototype.deleteCells=function(r,a,c,n){if(r%=this.length,a<this.length-r){for(var l=new h.CellData,t=0;t<this.length-r-a;++t)this.setCell(r+t,this.loadCell(r+a+t,l));for(t=this.length-a;t<this.length;++t)this.setCell(t,c)}else for(t=r;t<this.length;++t)this.setCell(t,c);r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),this.getWidth(r)!==0||this.hasContent(r)||this.setCellFromCodePoint(r,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs)},i.prototype.replaceCells=function(r,a,c,n){for(r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),a<this.length&&this.getWidth(a-1)===2&&this.setCellFromCodePoint(a,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs);r<a&&r<this.length;)this.setCell(r++,c)},i.prototype.resize=function(r,a){if(r!==this.length){if(r>this.length){var c=new Uint32Array(3*r);this.length&&(3*r<this._data.length?c.set(this._data.subarray(0,3*r)):c.set(this._data)),this._data=c;for(var n=this.length;n<r;++n)this.setCell(n,a)}else if(r){(c=new Uint32Array(3*r)).set(this._data.subarray(0,3*r)),this._data=c;var l=Object.keys(this._combined);for(n=0;n<l.length;n++){var t=parseInt(l[n],10);t>=r&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},i.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var a=0;a<this.length;++a)this.setCell(a,r)},i.prototype.copyFrom=function(r){for(var a in this.length!==r.length?this._data=new Uint32Array(r._data):this._data.set(r._data),this.length=r.length,this._combined={},r._combined)this._combined[a]=r._combined[a];for(var a in this._extendedAttrs={},r._extendedAttrs)this._extendedAttrs[a]=r._extendedAttrs[a];this.isWrapped=r.isWrapped},i.prototype.clone=function(){var r=new i(0);for(var a in r._data=new Uint32Array(this._data),r.length=this.length,this._combined)r._combined[a]=this._combined[a];for(var a in this._extendedAttrs)r._extendedAttrs[a]=this._extendedAttrs[a];return r.isWrapped=this.isWrapped,r},i.prototype.getTrimmedLength=function(){for(var r=this.length-1;r>=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},i.prototype.copyCellsFrom=function(r,a,c,n,l){var t=r._data;if(l)for(var s=n-1;s>=0;s--)for(var d=0;d<3;d++)this._data[3*(c+s)+d]=t[3*(a+s)+d];else for(s=0;s<n;s++)for(d=0;d<3;d++)this._data[3*(c+s)+d]=t[3*(a+s)+d];var m=Object.keys(r._combined);for(d=0;d<m.length;d++){var w=parseInt(m[d],10);w>=a&&(this._combined[w-a+c]=r._combined[w])}},i.prototype.translateToString=function(r,a,c){r===void 0&&(r=!1),a===void 0&&(a=0),c===void 0&&(c=this.length),r&&(c=Math.min(c,this.getTrimmedLength()));for(var n="";a<c;){var l=this._data[3*a+0],t=2097151&l;n+=2097152&l?this._combined[a]:t?p.stringFromCodePoint(t):v.WHITESPACE_CELL_CHAR,a+=l>>22||1}return n},i}();f.BufferLine=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var p,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];for(var u=0,o=v;u<o.length;u++){var i=o[u];(p=i==null?void 0:i.parentElement)===null||p===void 0||p.removeChild(i)}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tooMuchOutput=f.promptLabel=void 0,f.promptLabel="Terminal input",f.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(O,x){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var N in _)_.hasOwnProperty(N)&&(C[N]=_[N])})(O,x)},function(T,O){function x(){this.constructor=T}p(T,O),T.prototype=O===null?Object.create(O):(x.prototype=O.prototype,new x)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,u=y(12),o=y(20),i=y(39),r=y(2),a=y(15),c=y(8),n=y(16),l=y(0),t=y(3),s=y(4),d=y(6),m=y(22),w=y(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function E(T,O){if(T>24)return O.setWinLines||!1;switch(T){case 1:return!!O.restoreWin;case 2:return!!O.minimizeWin;case 3:return!!O.setWinPosition;case 4:return!!O.setWinSizePixels;case 5:return!!O.raiseWin;case 6:return!!O.lowerWin;case 7:return!!O.refreshWin;case 8:return!!O.setWinSizeChars;case 9:return!!O.maximizeWin;case 10:return!!O.fullscreenWin;case 11:return!!O.getWinState;case 13:return!!O.getWinPosition;case 14:return!!O.getWinSizePixels;case 15:return!!O.getScreenSizePixels;case 16:return!!O.getCellSizePixels;case 18:return!!O.getWinSizeChars;case 19:return!!O.getScreenSizeChars;case 20:return!!O.getIconTitle;case 21:return!!O.getWinTitle;case 22:return!!O.pushTitle;case 23:return!!O.popTitle;case 24:return!!O.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var A=function(){function T(O,x,C,_){this._bufferService=O,this._coreService=x,this._logService=C,this._optionsService=_,this._data=new Uint32Array(0)}return T.prototype.hook=function(O){this._data=new Uint32Array(0)},T.prototype.put=function(O,x,C){this._data=a.concat(this._data,O.subarray(x,C))},T.prototype.unhook=function(O){if(O){var x=c.utf32ToString(this._data);switch(this._data=new Uint32Array(0),x){case'"q':return this._coreService.triggerDataEvent(u.C0.ESC+'P1$r0"q'+u.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(u.C0.ESC+'P1$r61;1"p'+u.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+C+u.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(u.C0.ESC+"P1$r0m"+u.C0.ESC+"\\");case" q":var _={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return _-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+_+" q"+u.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(u.C0.ESC+"P0$r"+u.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),S=function(T){function O(x,C,_,N,F,k,P,j,K){K===void 0&&(K=new i.EscapeSequenceParser);var R=T.call(this)||this;R._bufferService=x,R._charsetService=C,R._coreService=_,R._dirtyRowService=N,R._logService=F,R._optionsService=k,R._coreMouseService=P,R._unicodeService=j,R._parser=K,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new c.StringToUtf32,R._utf8Decoder=new c.Utf8ToUtf32,R._workCell=new s.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=n.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(W,V){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(W),params:V.toArray()})}),R._parser.setEscHandlerFallback(function(W){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(W)})}),R._parser.setExecuteHandlerFallback(function(W){R._logService.debug("Unknown EXECUTE code: ",{code:W})}),R._parser.setOscHandlerFallback(function(W,V,z){R._logService.debug("Unknown OSC code: ",{identifier:W,action:V,data:z})}),R._parser.setDcsHandlerFallback(function(W,V,z){V==="HOOK"&&(z=z.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(W),action:V,payload:z})}),R._parser.setPrintHandler(function(W,V,z){return R.print(W,V,z)}),R._parser.setCsiHandler({final:"@"},function(W){return R.insertChars(W)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return R.scrollLeft(W)}),R._parser.setCsiHandler({final:"A"},function(W){return R.cursorUp(W)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return R.scrollRight(W)}),R._parser.setCsiHandler({final:"B"},function(W){return R.cursorDown(W)}),R._parser.setCsiHandler({final:"C"},function(W){return R.cursorForward(W)}),R._parser.setCsiHandler({final:"D"},function(W){return R.cursorBackward(W)}),R._parser.setCsiHandler({final:"E"},function(W){return R.cursorNextLine(W)}),R._parser.setCsiHandler({final:"F"},function(W){return R.cursorPrecedingLine(W)}),R._parser.setCsiHandler({final:"G"},function(W){return R.cursorCharAbsolute(W)}),R._parser.setCsiHandler({final:"H"},function(W){return R.cursorPosition(W)}),R._parser.setCsiHandler({final:"I"},function(W){return R.cursorForwardTab(W)}),R._parser.setCsiHandler({final:"J"},function(W){return R.eraseInDisplay(W)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return R.eraseInDisplay(W)}),R._parser.setCsiHandler({final:"K"},function(W){return R.eraseInLine(W)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return R.eraseInLine(W)}),R._parser.setCsiHandler({final:"L"},function(W){return R.insertLines(W)}),R._parser.setCsiHandler({final:"M"},function(W){return R.deleteLines(W)}),R._parser.setCsiHandler({final:"P"},function(W){return R.deleteChars(W)}),R._parser.setCsiHandler({final:"S"},function(W){return R.scrollUp(W)}),R._parser.setCsiHandler({final:"T"},function(W){return R.scrollDown(W)}),R._parser.setCsiHandler({final:"X"},function(W){return R.eraseChars(W)}),R._parser.setCsiHandler({final:"Z"},function(W){return R.cursorBackwardTab(W)}),R._parser.setCsiHandler({final:"`"},function(W){return R.charPosAbsolute(W)}),R._parser.setCsiHandler({final:"a"},function(W){return R.hPositionRelative(W)}),R._parser.setCsiHandler({final:"b"},function(W){return R.repeatPrecedingCharacter(W)}),R._parser.setCsiHandler({final:"c"},function(W){return R.sendDeviceAttributesPrimary(W)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(W){return R.sendDeviceAttributesSecondary(W)}),R._parser.setCsiHandler({final:"d"},function(W){return R.linePosAbsolute(W)}),R._parser.setCsiHandler({final:"e"},function(W){return R.vPositionRelative(W)}),R._parser.setCsiHandler({final:"f"},function(W){return R.hVPosition(W)}),R._parser.setCsiHandler({final:"g"},function(W){return R.tabClear(W)}),R._parser.setCsiHandler({final:"h"},function(W){return R.setMode(W)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return R.setModePrivate(W)}),R._parser.setCsiHandler({final:"l"},function(W){return R.resetMode(W)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return R.resetModePrivate(W)}),R._parser.setCsiHandler({final:"m"},function(W){return R.charAttributes(W)}),R._parser.setCsiHandler({final:"n"},function(W){return R.deviceStatus(W)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return R.deviceStatusPrivate(W)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return R.softReset(W)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return R.setCursorStyle(W)}),R._parser.setCsiHandler({final:"r"},function(W){return R.setScrollRegion(W)}),R._parser.setCsiHandler({final:"s"},function(W){return R.saveCursor(W)}),R._parser.setCsiHandler({final:"t"},function(W){return R.windowOptions(W)}),R._parser.setCsiHandler({final:"u"},function(W){return R.restoreCursor(W)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return R.insertColumns(W)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return R.deleteColumns(W)}),R._parser.setExecuteHandler(u.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(u.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(u.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(u.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(u.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(u.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(u.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(u.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(u.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(u.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(u.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(u.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new m.OscHandler(function(W){R.setTitle(W),R.setIconName(W)})),R._parser.setOscHandler(1,new m.OscHandler(function(W){return R.setIconName(W)})),R._parser.setOscHandler(2,new m.OscHandler(function(W){return R.setTitle(W)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var B=function(V){U._parser.setEscHandler({intermediates:"(",final:V},function(){return R.selectCharset("("+V)}),U._parser.setEscHandler({intermediates:")",final:V},function(){return R.selectCharset(")"+V)}),U._parser.setEscHandler({intermediates:"*",final:V},function(){return R.selectCharset("*"+V)}),U._parser.setEscHandler({intermediates:"+",final:V},function(){return R.selectCharset("+"+V)}),U._parser.setEscHandler({intermediates:"-",final:V},function(){return R.selectCharset("-"+V)}),U._parser.setEscHandler({intermediates:".",final:V},function(){return R.selectCharset("."+V)}),U._parser.setEscHandler({intermediates:"/",final:V},function(){return R.selectCharset("/"+V)})},U=this;for(var H in o.CHARSETS)B(H);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(W){return R._logService.error("Parsing error: ",W),W}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new A(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(O,T),Object.defineProperty(O.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),O.prototype.dispose=function(){T.prototype.dispose.call(this)},O.prototype.parse=function(x){var C=this._bufferService.buffer,_=C.x,N=C.y;if(this._logService.debug("parsing data",x),this._parseBuffer.length<x.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(x.length,131072))),this._dirtyRowService.clearRange(),x.length>131072)for(var F=0;F<x.length;F+=131072){var k=F+131072<x.length?F+131072:x.length,P=typeof x=="string"?this._stringDecoder.decode(x.substring(F,k),this._parseBuffer):this._utf8Decoder.decode(x.subarray(F,k),this._parseBuffer);this._parser.parse(this._parseBuffer,P)}else P=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,P);(C=this._bufferService.buffer).x===_&&C.y===N||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},O.prototype.print=function(x,C,_){var N,F,k=this._bufferService.buffer,P=this._charsetService.charset,j=this._optionsService.options.screenReaderMode,K=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,B=this._coreService.modes.insertMode,U=this._curAttrData,H=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&_-C>0&&H.getWidth(k.x-1)===2&&H.setCellFromCodePoint(k.x-1,0,1,U.fg,U.bg,U.extended);for(var W=C;W<_;++W){if(N=x[W],F=this._unicodeService.wcwidth(N),N<127&&P){var V=P[String.fromCharCode(N)];V&&(N=V.charCodeAt(0))}if(j&&this._onA11yChar.fire(c.stringFromCodePoint(N)),F||!k.x){if(k.x+F-1>=K){if(R){for(;k.x<K;)H.setCellFromCodePoint(k.x++,0,1,U.fg,U.bg,U.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),H=k.lines.get(k.ybase+k.y)}else if(k.x=K-1,F===2)continue}if(B&&(H.insertCells(k.x,F,k.getNullCell(U),U),H.getWidth(K-1)===2&&H.setCellFromCodePoint(K-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,U.fg,U.bg,U.extended)),H.setCellFromCodePoint(k.x++,N,F,U.fg,U.bg,U.extended),F>0)for(;--F;)H.setCellFromCodePoint(k.x++,0,0,U.fg,U.bg,U.extended)}else H.getWidth(k.x-1)?H.addCodepointToCell(k.x-1,N):H.addCodepointToCell(k.x-2,N)}_-C>0&&(H.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<K&&_-C>0&&H.getWidth(k.x)===0&&!H.hasContent(k.x)&&H.setCellFromCodePoint(k.x,0,1,U.fg,U.bg,U.extended),this._dirtyRowService.markDirty(k.y)},O.prototype.addCsiHandler=function(x,C){var _=this;return x.final!=="t"||x.prefix||x.intermediates?this._parser.addCsiHandler(x,C):this._parser.addCsiHandler(x,function(N){return!E(N.params[0],_._optionsService.options.windowOptions)||C(N)})},O.prototype.addDcsHandler=function(x,C){return this._parser.addDcsHandler(x,new w.DcsHandler(C))},O.prototype.addEscHandler=function(x,C){return this._parser.addEscHandler(x,C)},O.prototype.addOscHandler=function(x,C){return this._parser.addOscHandler(x,new m.OscHandler(C))},O.prototype.bell=function(){this._onRequestBell.fire()},O.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()},O.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},O.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 _=C.lines.get(C.ybase+C.y);_.hasWidth(C.x)&&!_.hasContent(C.x)&&C.x--}this._restrictCursor()},O.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)}},O.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},O.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},O.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)},O.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)},O.prototype._moveCursor=function(x,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+C)},O.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))},O.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)},O.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},O.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},O.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},O.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},O.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},O.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},O.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},O.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},O.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},O.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},O.prototype.hVPosition=function(x){this.cursorPosition(x)},O.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={})},O.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()},O.prototype.cursorBackwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1,_=this._bufferService.buffer;C--;)_.x=_.prevStop()},O.prototype._eraseInBufferLine=function(x,C,_,N){N===void 0&&(N=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);F.replaceCells(C,_,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),N&&(F.isWrapped=!1)},O.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},O.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 _=this._bufferService.buffer.lines.length-this._bufferService.rows;_>0&&(this._bufferService.buffer.lines.trimStart(_),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-_,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-_,0),this._onScroll.fire(0))}},O.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)},O.prototype.insertLines=function(x){this._restrictCursor();var C=x.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){for(var N=_.ybase+_.y,F=this._bufferService.rows-1-_.scrollBottom,k=this._bufferService.rows-1+_.ybase-F+1;C--;)_.lines.splice(k-1,1),_.lines.splice(N,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},O.prototype.deleteLines=function(x){this._restrictCursor();var C=x.params[0]||1,_=this._bufferService.buffer;if(!(_.y>_.scrollBottom||_.y<_.scrollTop)){var N,F=_.ybase+_.y;for(N=this._bufferService.rows-1-_.scrollBottom,N=this._bufferService.rows-1+_.ybase-N;C--;)_.lines.splice(F,1),_.lines.splice(N,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.y,_.scrollBottom),_.x=0}},O.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))},O.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))},O.prototype.scrollUp=function(x){for(var C=x.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollTop,1),_.lines.splice(_.ybase+_.scrollBottom,0,_.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},O.prototype.scrollDown=function(x){for(var C=x.params[0]||1,_=this._bufferService.buffer;C--;)_.lines.splice(_.ybase+_.scrollBottom,1),_.lines.splice(_.ybase+_.scrollTop,0,_.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(_.scrollTop,_.scrollBottom)},O.prototype.scrollLeft=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},O.prototype.scrollRight=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.insertCells(0,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},O.prototype.insertColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=this._bufferService.buffer.lines.get(C.ybase+N);F.insertCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},O.prototype.deleteColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var _=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(C.x,_,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},O.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))},O.prototype.repeatPrecedingCharacter=function(x){if(this._parser.precedingCodepoint){for(var C=x.params[0]||1,_=new Uint32Array(C),N=0;N<C;++N)_[N]=this._parser.precedingCodepoint;this.print(_,0,_.length)}},O.prototype.sendDeviceAttributesPrimary=function(x){x.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(u.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(u.C0.ESC+"[?6c"))},O.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(u.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(u.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(u.C0.ESC+"[>83;40003;0c"))},O.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},O.prototype.setMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!0}},O.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,o.DEFAULT_CHARSET),this._charsetService.setgCharset(1,o.DEFAULT_CHARSET),this._charsetService.setgCharset(2,o.DEFAULT_CHARSET),this._charsetService.setgCharset(3,o.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}},O.prototype.resetMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!1}},O.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}},O.prototype._updateAttrColor=function(x,C,_,N,F){return C===2?(x|=50331648,x&=-16777216,x|=d.AttributeData.fromColorRGB([_,N,F])):C===5&&(x&=-50331904,x|=33554432|255&_),x},O.prototype._extractColor=function(x,C,_){var N=[0,0,-1,0,0,0],F=0,k=0;do{if(N[k+F]=x.params[C+k],x.hasSubParams(C+k)){var P=x.getSubParams(C+k),j=0;do N[1]===5&&(F=1),N[k+j+1+F]=P[j];while(++j<P.length&&j+k+1+F<N.length);break}if(N[1]===5&&k+F>=2||N[1]===2&&k+F>=5)break;N[1]&&(F=1)}while(++k+C<x.length&&k+F<N.length);for(j=2;j<N.length;++j)N[j]===-1&&(N[j]=0);switch(N[0]){case 38:_.fg=this._updateAttrColor(_.fg,N[1],N[3],N[4],N[5]);break;case 48:_.bg=this._updateAttrColor(_.bg,N[1],N[3],N[4],N[5]);break;case 58:_.extended=_.extended.clone(),_.extended.underlineColor=this._updateAttrColor(_.extended.underlineColor,N[1],N[3],N[4],N[5])}return k},O.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()},O.prototype.charAttributes=function(x){if(x.length===1&&x.params[0]===0)return this._curAttrData.fg=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var C,_=x.length,N=this._curAttrData,F=0;F<_;F++)(C=x.params[F])>=30&&C<=37?(N.fg&=-50331904,N.fg|=16777216|C-30):C>=40&&C<=47?(N.bg&=-50331904,N.bg|=16777216|C-40):C>=90&&C<=97?(N.fg&=-50331904,N.fg|=16777224|C-90):C>=100&&C<=107?(N.bg&=-50331904,N.bg|=16777224|C-100):C===0?(N.fg=n.DEFAULT_ATTR_DATA.fg,N.bg=n.DEFAULT_ATTR_DATA.bg):C===1?N.fg|=134217728:C===3?N.bg|=67108864:C===4?(N.fg|=268435456,this._processUnderline(x.hasSubParams(F)?x.getSubParams(F)[0]:1,N)):C===5?N.fg|=536870912:C===7?N.fg|=67108864:C===8?N.fg|=1073741824:C===2?N.bg|=134217728:C===21?this._processUnderline(2,N):C===22?(N.fg&=-134217729,N.bg&=-134217729):C===23?N.bg&=-67108865:C===24?N.fg&=-268435457:C===25?N.fg&=-536870913:C===27?N.fg&=-67108865:C===28?N.fg&=-1073741825:C===39?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):C===49?(N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?F+=this._extractColor(x,F,N):C===59?(N.extended=N.extended.clone(),N.extended.underlineColor=-1,N.updateExtended()):C===100?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},O.prototype.deviceStatus=function(x){switch(x.params[0]){case 5:this._coreService.triggerDataEvent(u.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"["+C+";"+_+"R")}},O.prototype.deviceStatusPrivate=function(x){switch(x.params[0]){case 6:var C=this._bufferService.buffer.y+1,_=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"[?"+C+";"+_+"R")}},O.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=n.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},O.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 _=C%2==1;this._optionsService.options.cursorBlink=_},O.prototype.setScrollRegion=function(x){var C,_=x.params[0]||1;(x.length<2||(C=x.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>_&&(this._bufferService.buffer.scrollTop=_-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},O.prototype.windowOptions=function(x){if(E(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(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(u.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())}}},O.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},O.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()},O.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},O.prototype.setIconName=function(x){this._iconName=x},O.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},O.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},O.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},O.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,o.DEFAULT_CHARSET)},O.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(b[x[0]],o.CHARSETS[x[1]]||o.DEFAULT_CHARSET):this.selectDefaultCharset()},O.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()},O.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},O.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()},O.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},O.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},O.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},O.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},O.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 _=0;_<this._bufferService.rows;++_){var N=C.ybase+C.y+_,F=C.lines.get(N);F&&(F.fill(x),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},O}(r.Disposable);f.InputHandler=S},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DEFAULT_CHARSET=f.CHARSETS=void 0,f.CHARSETS={},f.DEFAULT_CHARSET=f.CHARSETS.B,f.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"},f.CHARSETS.A={"#":"\xA3"},f.CHARSETS.B=void 0,f.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},f.CHARSETS.C=f.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},f.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},f.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},f.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},f.CHARSETS.E=f.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},f.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},f.CHARSETS.H=f.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var p=function(){function v(h,u){if(h===void 0&&(h=32),u===void 0&&(u=32),this.maxLength=h,this.maxSubParamsLength=u,u>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(u),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(h){var u=new v;if(!h.length)return u;for(var o=h[0]instanceof Array?1:0;o<h.length;++o){var i=h[o];if(i instanceof Array)for(var r=0;r<i.length;++r)u.addSubParam(i[r]);else u.addParam(i)}return u},v.prototype.clone=function(){var h=new v(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},v.prototype.toArray=function(){for(var h=[],u=0;u<this.length;++u){h.push(this.params[u]);var o=this._subParamsIdx[u]>>8,i=255&this._subParamsIdx[u];i-o>0&&h.push(Array.prototype.slice.call(this._subParams,o,i))}return h},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},v.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},v.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},v.prototype.getSubParams=function(h){var u=this._subParamsIdx[h]>>8,o=255&this._subParamsIdx[h];return o-u>0?this._subParams.subarray(u,o):null},v.prototype.getSubParamsAll=function(){for(var h={},u=0;u<this.length;++u){var o=this._subParamsIdx[u]>>8,i=255&this._subParamsIdx[u];i-o>0&&(h[u]=this._subParams.slice(o,i))}return h},v.prototype.addDigit=function(h){var u;if(!(this._rejectDigits||!(u=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var o=this._digitIsSub?this._subParams:this.params,i=o[u-1];o[u-1]=~i?Math.min(10*i+h,2147483647):h}},v}();f.Params=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var p=y(23),v=y(8),h=function(){function o(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return o.prototype.addHandler=function(i,r){this._handlers[i]===void 0&&(this._handlers[i]=[]);var a=this._handlers[i];return a.push(r),{dispose:function(){var n=a.indexOf(r);n!==-1&&a.splice(n,1)}}},o.prototype.setHandler=function(i,r){this._handlers[i]=[r]},o.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},o.prototype.setHandlerFallback=function(i){this._handlerFb=i},o.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},o.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},o.prototype._start=function(){var i=this._handlers[this._id];if(i)for(var r=i.length-1;r>=0;r--)i[r].start();else this._handlerFb(this._id,"START")},o.prototype._put=function(i,r,a){var c=this._handlers[this._id];if(c)for(var n=c.length-1;n>=0;n--)c[n].put(i,r,a);else this._handlerFb(this._id,"PUT",v.utf32ToString(i,r,a))},o.prototype._end=function(i){var r=this._handlers[this._id];if(r){for(var a=r.length-1;a>=0&&r[a].end(i)===!1;a--);for(a--;a>=0;a--)r[a].end(!1)}else this._handlerFb(this._id,"END",i)},o.prototype.start=function(){this.reset(),this._id=-1,this._state=1},o.prototype.put=function(i,r,a){if(this._state!==3){if(this._state===1)for(;r<a;){var c=i[r++];if(c===59){this._state=2,this._start();break}if(c<48||57<c)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+c-48}this._state===2&&a-r>0&&this._put(i,r,a)}},o.prototype.end=function(i){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(i)),this._id=-1,this._state=0)},o}();f.OscParser=h;var u=function(){function o(i){this._handler=i,this._data="",this._hitLimit=!1}return o.prototype.start=function(){this._data="",this._hitLimit=!1},o.prototype.put=function(i,r,a){this._hitLimit||(this._data+=v.utf32ToString(i,r,a),this._data.length>p.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},o.prototype.end=function(i){var r;return this._hitLimit?r=!1:i&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},o}();f.OscHandler=u},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var p=y(8),v=y(21),h=y(23),u=[],o=function(){function r(){this._handlers=Object.create(null),this._active=u,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(a,c){this._handlers[a]===void 0&&(this._handlers[a]=[]);var n=this._handlers[a];return n.push(c),{dispose:function(){var t=n.indexOf(c);t!==-1&&n.splice(t,1)}}},r.prototype.setHandler=function(a,c){this._handlers[a]=[c]},r.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},r.prototype.setHandlerFallback=function(a){this._handlerFb=a},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=u,this._ident=0},r.prototype.hook=function(a,c){if(this.reset(),this._ident=a,this._active=this._handlers[a]||u,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(c);else this._handlerFb(this._ident,"HOOK",c)},r.prototype.put=function(a,c,n){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(a,c,n);else this._handlerFb(this._ident,"PUT",p.utf32ToString(a,c,n))},r.prototype.unhook=function(a){if(this._active.length){for(var c=this._active.length-1;c>=0&&this._active[c].unhook(a)===!1;c--);for(c--;c>=0;c--)this._active[c].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=u,this._ident=0},r}();f.DcsParser=o;var i=function(){function r(a){this._handler=a,this._data="",this._hitLimit=!1}return r.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(a,c,n){this._hitLimit||(this._data+=p.utf32ToString(a,c,n),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(a){var c;return this._hitLimit?c=!1:a&&(c=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,c},r}();f.DcsHandler=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var p=y(26),v=y(43),h=[];f.acquireCharAtlas=function(u,o,i,r,a){for(var c=p.generateConfig(r,a,u,i),n=0;n<h.length;n++){var l=(t=h[n]).ownedBy.indexOf(o);if(l>=0){if(p.configEquals(t.config,c))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),h.splice(n,1)):t.ownedBy.splice(l,1);break}}for(n=0;n<h.length;n++){var t=h[n];if(p.configEquals(t.config,c))return t.ownedBy.push(o),t.atlas}var s={atlas:new v.DynamicCharAtlas(document,c),config:c,ownedBy:[o]};return h.push(s),s.atlas},f.removeTerminalFromCache=function(u){for(var o=0;o<h.length;o++){var i=h[o].ownedBy.indexOf(u);if(i!==-1){h[o].ownedBy.length===1?(h[o].atlas.dispose(),h.splice(o,1)):h[o].ownedBy.splice(i,1);break}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var p=y(3);f.generateConfig=function(v,h,u,o){var i={foreground:o.foreground,background:o.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:o.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:h,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,fontWeightBold:u.fontWeightBold,allowTransparency:u.allowTransparency,colors:i}},f.configEquals=function(v,h){for(var u=0;u<v.colors.ansi.length;u++)if(v.colors.ansi[u].rgba!==h.colors.ansi[u].rgba)return!1;return v.devicePixelRatio===h.devicePixelRatio&&v.fontFamily===h.fontFamily&&v.fontSize===h.fontSize&&v.fontWeight===h.fontWeight&&v.fontWeightBold===h.fontWeightBold&&v.allowTransparency===h.allowTransparency&&v.scaledCharWidth===h.scaledCharWidth&&v.scaledCharHeight===h.scaledCharHeight&&v.colors.foreground===h.colors.foreground&&v.colors.background===h.colors.background},f.is256Color=function(v){return v<p.DEFAULT_COLOR}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var p=y(10),v=y(45),h=p.css.toColor("#ffffff"),u=p.css.toColor("#000000"),o=p.css.toColor("#ffffff"),i=p.css.toColor("#000000"),r={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var c=[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")],n=[0,95,135,175,215,255],l=0;l<216;l++){var t=n[l/36%6|0],s=n[l/6%6|0],d=n[l%6];c.push({css:p.channels.toCss(t,s,d),rgba:p.channels.toRgba(t,s,d)})}for(l=0;l<24;l++){var m=8+10*l;c.push({css:p.channels.toCss(m,m,m),rgba:p.channels.toRgba(m,m,m)})}return c}();var a=function(){function c(n,l){this.allowTransparency=l;var t=n.createElement("canvas");t.width=1,t.height=1;var s=t.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:h,background:u,cursor:o,cursorAccent:i,selectionTransparent:r,selectionOpaque:p.color.blend(u,r),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return c.prototype.onOptionsChange=function(n){n==="minimumContrastRatio"&&this._contrastCache.clear()},c.prototype.setTheme=function(n){(n===void 0&&(n={}),this.colors.foreground=this._parseColor(n.foreground,h),this.colors.background=this._parseColor(n.background,u),this.colors.cursor=this._parseColor(n.cursor,o,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,i,!0),this.colors.selectionTransparent=this._parseColor(n.selection,r,!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(n.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},c.prototype._parseColor=function(n,l,t){if(t===void 0&&(t=this.allowTransparency),n===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+n+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!t)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var d=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(S){return Number(S)}),m=d[0],w=d[1],b=d[2],E=d[3],A=Math.round(255*E);return{rgba:p.channels.toRgba(m,w,b,A),css:n}}return{css:this._ctx.fillStyle,rgba:p.channels.toRgba(s[0],s[1],s[2],s[3])}},c}();f.ColorManager=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfFalsy=void 0,f.throwIfFalsy=function(p){if(!p)throw new Error("value must not be falsy");return p}},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(c,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,t){l.__proto__=t}||function(l,t){for(var s in t)t.hasOwnProperty(s)&&(l[s]=t[s])})(c,n)},function(a,c){function n(){this.constructor=a}p(a,c),a.prototype=c===null?Object.create(c):(n.prototype=c.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var h=y(6),u=y(3),o=y(4),i=function(a){function c(n,l,t){var s=a.call(this)||this;return s.content=0,s.combinedData="",s.fg=n.fg,s.bg=n.bg,s.combinedData=l,s._width=t,s}return v(c,a),c.prototype.isCombined=function(){return 2097152},c.prototype.getWidth=function(){return this._width},c.prototype.getChars=function(){return this.combinedData},c.prototype.getCode=function(){return 2097151},c.prototype.setFromCharData=function(n){throw new Error("not implemented")},c.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},c}(h.AttributeData);f.JoinedCellData=i;var r=function(){function a(c){this._bufferService=c,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new o.CellData}return a.prototype.registerCharacterJoiner=function(c){var n={id:this._nextCharacterJoinerId++,handler:c};return this._characterJoiners.push(n),n.id},a.prototype.deregisterCharacterJoiner=function(c){for(var n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===c)return this._characterJoiners.splice(n,1),!0;return!1},a.prototype.getJoinedCharacters=function(c){if(this._characterJoiners.length===0)return[];var n=this._bufferService.buffer.lines.get(c);if(!n||n.length===0)return[];for(var l=[],t=n.translateToString(!0),s=0,d=0,m=0,w=n.getFg(0),b=n.getBg(0),E=0;E<n.getTrimmedLength();E++)if(n.loadCell(E,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==w||this._workCell.bg!==b){if(E-s>1)for(var A=this._getJoinedRanges(t,m,d,n,s),S=0;S<A.length;S++)l.push(A[S]);s=E,m=d,w=this._workCell.fg,b=this._workCell.bg}d+=this._workCell.getChars().length||u.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(A=this._getJoinedRanges(t,m,d,n,s),S=0;S<A.length;S++)l.push(A[S]);return l},a.prototype._getJoinedRanges=function(c,n,l,t,s){for(var d=c.substring(n,l),m=this._characterJoiners[0].handler(d),w=1;w<this._characterJoiners.length;w++)for(var b=this._characterJoiners[w].handler(d),E=0;E<b.length;E++)a._mergeRanges(m,b[E]);return this._stringRangesToCellRanges(m,t,s),m},a.prototype._stringRangesToCellRanges=function(c,n,l){var t=0,s=!1,d=0,m=c[t];if(m){for(var w=l;w<this._bufferService.cols;w++){var b=n.getWidth(w),E=n.getString(w).length||u.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!s&&m[0]<=d&&(m[0]=w,s=!0),m[1]<=d){if(m[1]=w,!(m=c[++t]))break;m[0]<=d?(m[0]=w,s=!0):s=!1}d+=E}}m&&(m[1]=this._bufferService.cols)}},a._mergeRanges=function(c,n){for(var l=!1,t=0;t<c.length;t++){var s=c[t];if(l){if(n[1]<=s[0])return c[t-1][1]=n[1],c;if(n[1]<=s[1])return c[t-1][1]=Math.max(n[1],s[1]),c.splice(t,1),c;c.splice(t,1),t--}else{if(n[1]<=s[0])return c.splice(t,0,n),c;if(n[1]<=s[1])return s[0]=Math.min(n[0],s[0]),c;n[0]<s[1]&&(s[0]=Math.min(n[0],s[0]),l=!0)}}return l?c[c.length-1][1]=n[1]:c.push(n),c},a}();f.CharacterJoinerRegistry=r},function(g,f,y){"use strict";function p(v,h){var u=h.getBoundingClientRect();return[v.clientX-u.left,v.clientY-u.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=p,f.getCoords=function(v,h,u,o,i,r,a,c){if(i){var n=p(v,h);if(n)return n[0]=Math.ceil((n[0]+(c?r/2:0))/r),n[1]=Math.ceil(n[1]/a),n[0]=Math.min(Math.max(n[0],1),u+(c?1:0)),n[1]=Math.min(Math.max(n[1],1),o),n}},f.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var p=function(){function v(h){this._renderCallback=h}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(h,u,o){var i=this;this._rowCount=o,h=h!==void 0?h:0,u=u!==void 0?u:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,u):u,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),u=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,u)}},v}();f.RenderDebouncer=p},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(o,i){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var c in a)a.hasOwnProperty(c)&&(r[c]=a[c])})(o,i)},function(u,o){function i(){this.constructor=u}p(u,o),u.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var h=function(u){function o(){var i=u!==null&&u.apply(this,arguments)||this;return i._currentDevicePixelRatio=window.devicePixelRatio,i}return v(o,u),o.prototype.setListener=function(i){var r=this;this._listener&&this.clearListener(),this._listener=i,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},o.prototype.dispose=function(){u.prototype.dispose.call(this),this.clearListener()},o.prototype._updateDpr=function(){var i;this._outerListener&&((i=this._resolutionMediaMatchList)===null||i===void 0||i.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},o.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)},o}(y(2).Disposable);f.ScreenDprMonitor=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function p(v,h){if(h===void 0&&(h=5),typeof v!="object")return v;var u=Array.isArray(v)?[]:{};for(var o in v)u[o]=h<=1?v[o]:v[o]?p(v[o],h-1):v[o];return u}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var p=y(4),v=y(35),h=y(18),u=y(0),o=y(83),i=function(){function t(s){this._core=new v.Terminal(s),this._addonManager=new o.AddonManager}return t.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(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new n(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new a(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(s,d){this._verifyIntegers(s,d),this._core.resize(s,d)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,d,m){return this._checkProposedApi(),this._core.registerLinkMatcher(s,d,m)},t.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},t.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},t.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},t.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},t.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},t.prototype.addMarker=function(s){return this.registerMarker(s)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(s,d,m){this._verifyIntegers(s,d,m),this._core.select(s,d,m)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(s,d){this._verifyIntegers(s,d),this._core.selectLines(s,d)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},t.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(s,d){this._core.write(s,d)},t.prototype.writeUtf8=function(s,d){this._core.write(s,d)},t.prototype.writeln=function(s,d){this._core.write(s),this._core.write(`\r
|
|
|
`,d)},t.prototype.paste=function(s){this._core.paste(s)},t.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},t.prototype.setOption=function(s,d){this._core.optionsService.setOption(s,d)},t.prototype.refresh=function(s,d){this._verifyIntegers(s,d),this._core.refresh(s,d)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var s=[],d=0;d<arguments.length;d++)s[d]=arguments[d];for(var m=0,w=s;m<w.length;m++){var b=w[m];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=i;var r=function(){function t(s,d){this._buffer=s,this.type=d}return t.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(s){var d=this._buffer.lines.get(s);if(d)return new c(d)},t.prototype.getNullCell=function(){return new p.CellData},t}(),a=function(){function t(s){var d=this;this._buffers=s,this._onBufferChange=new u.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return d._onBufferChange.fire(d.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.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(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),c=function(){function t(s){this._line=s}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(s,d){if(!(s<0||s>=this._line.length))return d?(this._line.loadCell(s,d),d):this._line.loadCell(s,new p.CellData)},t.prototype.translateToString=function(s,d,m){return this._line.translateToString(s,d,m)},t}(),n=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,d){return this._core.addCsiHandler(s,function(m){return d(m.toArray())})},t.prototype.addCsiHandler=function(s,d){return this.registerCsiHandler(s,d)},t.prototype.registerDcsHandler=function(s,d){return this._core.addDcsHandler(s,function(m,w){return d(m,w.toArray())})},t.prototype.addDcsHandler=function(s,d){return this.registerDcsHandler(s,d)},t.prototype.registerEscHandler=function(s,d){return this._core.addEscHandler(s,d)},t.prototype.addEscHandler=function(s,d){return this.registerEscHandler(s,d)},t.prototype.registerOscHandler=function(s,d){return this._core.addOscHandler(s,d)},t.prototype.addOscHandler=function(s,d){return this.registerOscHandler(s,d)},t}(),l=function(){function t(s){this._core=s}return t.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(d){this._core.unicodeService.activeVersion=d},enumerable:!1,configurable:!0}),t}()},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(R,B){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,H){U.__proto__=H}||function(U,H){for(var W in H)H.hasOwnProperty(W)&&(U[W]=H[W])})(R,B)},function(K,R){function B(){this.constructor=K}p(K,R),K.prototype=R===null?Object.create(R):(B.prototype=R.prototype,new B)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=y(36),u=y(37),o=y(38),i=y(12),r=y(19),a=y(40),c=y(50),n=y(51),l=y(11),t=y(7),s=y(18),d=y(54),m=y(55),w=y(56),b=y(57),E=y(59),A=y(0),S=y(16),T=y(27),O=y(60),x=y(5),C=y(61),_=y(62),N=y(63),F=y(64),k=y(65),P=typeof window!="undefined"?window.document:null,j=function(K){function R(B){B===void 0&&(B={});var U=K.call(this,B)||this;return U.browser=l,U._keyDownHandled=!1,U._onCursorMove=new A.EventEmitter,U._onKey=new A.EventEmitter,U._onRender=new A.EventEmitter,U._onSelectionChange=new A.EventEmitter,U._onTitleChange=new A.EventEmitter,U._onFocus=new A.EventEmitter,U._onBlur=new A.EventEmitter,U._onA11yCharEmitter=new A.EventEmitter,U._onA11yTabEmitter=new A.EventEmitter,U._setup(),U.linkifier=U._instantiationService.createInstance(c.Linkifier),U.linkifier2=U.register(U._instantiationService.createInstance(N.Linkifier2)),U.register(U._inputHandler.onRequestBell(function(){return U.bell()})),U.register(U._inputHandler.onRequestRefreshRows(function(H,W){return U.refresh(H,W)})),U.register(U._inputHandler.onRequestReset(function(){return U.reset()})),U.register(U._inputHandler.onRequestScroll(function(H,W){return U.scroll(H,W||void 0)})),U.register(U._inputHandler.onRequestWindowsOptionsReport(function(H){return U._reportWindowsOptions(H)})),U.register(A.forwardEvent(U._inputHandler.onCursorMove,U._onCursorMove)),U.register(A.forwardEvent(U._inputHandler.onTitleChange,U._onTitleChange)),U.register(A.forwardEvent(U._inputHandler.onA11yChar,U._onA11yCharEmitter)),U.register(A.forwardEvent(U._inputHandler.onA11yTab,U._onA11yTabEmitter)),U.register(U._bufferService.onResize(function(H){return U._afterResize(H.cols,H.rows)})),U}return v(R,K),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var B,U,H;this._isDisposed||(K.prototype.dispose.call(this),(B=this._renderService)===null||B===void 0||B.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(U=this.element)===null||U===void 0?void 0:U.parentNode)===null||H===void 0||H.removeChild(this.element))},R.prototype._setup=function(){K.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(B){var U,H,W,V;switch(K.prototype._updateOptions.call(this,B),B){case"fontFamily":case"fontSize":(U=this._renderService)===null||U===void 0||U.clear(),(H=this._charSizeService)===null||H===void 0||H.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":(W=this.viewport)===null||W===void 0||W.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(B){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[I"),this.updateCursorStyle(B),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var B;return(B=this.textarea)===null||B===void 0?void 0:B.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var B=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),U=this._bufferService.buffer.y*B,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=U+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=B+"px",this.textarea.style.lineHeight=B+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var B=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(H){B.hasSelection()&&o.copyHandler(H,B._selectionService)}));var U=function(W){return o.handlePasteEvent(W,B.textarea,B._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",U)),this.register(t.addDisposableDomListener(this.element,"paste",U)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(H){H.button===2&&o.rightClickHandler(H,B.textarea,B.screenElement,B._selectionService,B.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(H){o.rightClickHandler(H,B.textarea,B.screenElement,B._selectionService,B.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&o.moveTextAreaUnderMouseCursor(H,B.textarea,B.screenElement)}))},R.prototype._bindKeys=function(){var B=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(U){return B._keyUp(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(U){return B._keyDown(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(U){return B._keyPress(U)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return B._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(U){return B._compositionHelper.compositionupdate(U)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return B._compositionHelper.compositionend()})),this.register(this.onRender(function(){return B._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(U){return B._queueLinkification(U.start,U.end)}))},R.prototype.open=function(B){var U=this;if(!B)throw new Error("Terminal requires a parent element.");P.body.contains(B)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=B.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"),B.appendChild(this.element);var H=P.createDocumentFragment();this._viewportElement=P.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=P.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=P.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=P.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=P.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(z){return U._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return U._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=P.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(H),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(P,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return U._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(O.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return U._onRender.fire(z)})),this.onResize(function(z){return U._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(d.SoundService),this._instantiationService.setService(x.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(_.MouseService),this._instantiationService.setService(x.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(u.Viewport,function(z,X){return U.scrollLines(z,X)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return U.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){U._renderService.onCursorMove(),U._syncTextArea()})),this.register(this.onResize(function(){return U._renderService.onResize(U.cols,U.rows)})),this.register(this.onBlur(function(){return U._renderService.onBlur()})),this.register(this.onFocus(function(){return U._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return U.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(n.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return U.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return U._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return U._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){U.textarea.value=z,U.textarea.focus(),U.textarea.select()})),this.register(this.onScroll(function(){U.viewport.syncScrollArea(),U._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return U._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(m.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return U._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(z){return U._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.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(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(B){var U,H,W;this._theme=B,(U=this._colorManager)===null||U===void 0||U.setTheme(B),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var B=this,U=this,H=this.element;function W(G){var ve,Se,ge=U._mouseService.getRawByteCoords(G,U.screenElement,U.cols,U.rows);if(!ge)return!1;switch(G.overrideType||G.type){case"mousemove":Se=32,G.buttons===void 0?(ve=3,G.button!==void 0&&(ve=G.button<3?G.button:3)):ve=1&G.buttons?0:4&G.buttons?1:2&G.buttons?2:3;break;case"mouseup":Se=0,ve=G.button<3?G.button:3;break;case"mousedown":Se=1,ve=G.button<3?G.button:3;break;case"wheel":G.deltaY!==0&&(Se=G.deltaY<0?0:1),ve=4;break;default:return!1}return!(Se===void 0||ve===void 0||ve>4)&&U._coreMouseService.triggerMouseEvent({col:ge.x-33,row:ge.y-33,button:ve,action:Se,ctrl:G.ctrlKey,alt:G.altKey,shift:G.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(ve){return W(ve),ve.buttons||(B._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&B._document.removeEventListener("mousemove",V.mousedrag)),B.cancel(ve)},X=function(ve){return W(ve),ve.preventDefault(),B.cancel(ve)},q=function(ve){ve.buttons&&W(ve)},fe=function(ve){ve.buttons||W(ve)};this.register(this._coreMouseService.onProtocolChange(function(G){G?(B.optionsService.options.logLevel==="debug"&&B._logService.debug("Binding to mouse events:",B._coreMouseService.explainEvents(G)),B.element.classList.add("enable-mouse-events"),B._selectionService.disable()):(B._logService.debug("Unbinding from mouse events."),B.element.classList.remove("enable-mouse-events"),B._selectionService.enable()),8&G?V.mousemove||(H.addEventListener("mousemove",fe),V.mousemove=fe):(H.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&G?V.wheel||(H.addEventListener("wheel",X,{passive:!1}),V.wheel=X):(H.removeEventListener("wheel",V.wheel),V.wheel=null),2&G?V.mouseup||(V.mouseup=z):(B._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&G?V.mousedrag||(V.mousedrag=q):(B._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(H,"mousedown",function(G){if(G.preventDefault(),B.focus(),B._coreMouseService.areMouseEventsActive&&!B._selectionService.shouldForceSelection(G))return W(G),V.mouseup&&B._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&B._document.addEventListener("mousemove",V.mousedrag),B.cancel(G)})),this.register(t.addDisposableDomListener(H,"wheel",function(G){if(!V.wheel){if(!B.buffer.hasScrollback){var ve=B.viewport.getLinesScrolled(G);if(ve===0)return;for(var Se=i.C0.ESC+(B._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(G.deltaY<0?"A":"B"),ge="",Pe=0;Pe<Math.abs(ve);Pe++)ge+=Se;B._coreService.triggerDataEvent(ge,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(H,"wheel",function(G){if(!V.wheel)return B.viewport.onWheel(G)?void 0:B.cancel(G)},{passive:!1})),this.register(t.addDisposableDomListener(H,"touchstart",function(G){if(!B._coreMouseService.areMouseEventsActive)return B.viewport.onTouchStart(G),B.cancel(G)},{passive:!0})),this.register(t.addDisposableDomListener(H,"touchmove",function(G){if(!B._coreMouseService.areMouseEventsActive)return B.viewport.onTouchMove(G)?void 0:B.cancel(G)},{passive:!1}))},R.prototype.refresh=function(B,U){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(B,U)},R.prototype._queueLinkification=function(B,U){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(B,U)},R.prototype.updateCursorStyle=function(B){this._selectionService&&this._selectionService.shouldColumnSelect(B)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(B,U){K.prototype.scrollLines.call(this,B,U),this.refresh(0,this.rows-1)},R.prototype.paste=function(B){o.paste(B,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(B){this._customKeyEventHandler=B},R.prototype.registerLinkMatcher=function(B,U,H){var W=this.linkifier.registerLinkMatcher(B,U,H);return this.refresh(0,this.rows-1),W},R.prototype.deregisterLinkMatcher=function(B){this.linkifier.deregisterLinkMatcher(B)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(B){return this.linkifier2.registerLinkProvider(B)},R.prototype.registerCharacterJoiner=function(B){var U=this._renderService.registerCharacterJoiner(B);return this.refresh(0,this.rows-1),U},R.prototype.deregisterCharacterJoiner=function(B){this._renderService.deregisterCharacterJoiner(B)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(B){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+B)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(B,U,H){this._selectionService.setSelection(B,U,H)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.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]}},R.prototype.clearSelection=function(){var B;(B=this._selectionService)===null||B===void 0||B.clearSelection()},R.prototype.selectAll=function(){var B;(B=this._selectionService)===null||B===void 0||B.selectAll()},R.prototype.selectLines=function(B,U){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(B,U)},R.prototype._keyDown=function(B){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1)return!1;if(!this._compositionHelper.keydown(B))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var U=E.evaluateKeyboardEvent(B,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(B),U.type===3||U.type===2){var H=this.rows-1;return this.scrollLines(U.type===2?-H:H),this.cancel(B,!0)}return U.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,B)||(U.cancel&&this.cancel(B,!0),!U.key||(U.key!==i.C0.ETX&&U.key!==i.C0.CR||(this.textarea.value=""),this._onKey.fire({key:U.key,domEvent:B}),this._showCursor(),this._coreService.triggerDataEvent(U.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(B,!0)))},R.prototype._isThirdLevelShift=function(B,U){var H=B.isMac&&!this.options.macOptionIsMeta&&U.altKey&&!U.ctrlKey&&!U.metaKey||B.isWindows&&U.altKey&&U.ctrlKey&&!U.metaKey;return U.type==="keypress"?H:H&&(!U.keyCode||U.keyCode>47)},R.prototype._keyUp=function(B){this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1||(function(U){return U.keyCode===16||U.keyCode===17||U.keyCode===18}(B)||this.focus(),this.updateCursorStyle(B))},R.prototype._keyPress=function(B){var U;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(B)===!1)return!1;if(this.cancel(B),B.charCode)U=B.charCode;else if(B.which===null||B.which===void 0)U=B.keyCode;else{if(B.which===0||B.charCode===0)return!1;U=B.which}return!(!U||(B.altKey||B.ctrlKey||B.metaKey)&&!this._isThirdLevelShift(this.browser,B))&&(U=String.fromCharCode(U),this._onKey.fire({key:U,domEvent:B}),this._showCursor(),this._coreService.triggerDataEvent(U,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(B,U){B!==this.cols||U!==this.rows?K.prototype.resize.call(this,B,U):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(B,U){var H,W;(H=this._charSizeService)===null||H===void 0||H.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},R.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 B=1;B<this.rows;B++)this.buffer.lines.push(this.buffer.getBlankLine(S.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var B,U;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),K.prototype.reset.call(this),(B=this._selectionService)===null||B===void 0||B.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(U=this.viewport)===null||U===void 0||U.syncScrollArea()},R.prototype._reportWindowsOptions=function(B){if(this._renderService)switch(B){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var U=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[4;"+H+";"+U+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var W=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[6;"+V+";"+W+"t")}},R.prototype.cancel=function(B,U){if(this.options.cancelEvents||U)return B.preventDefault(),B.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(k.CoreTerminal);f.Terminal=j},function(g,f,y){"use strict";var p=this&&this.__decorate||function(i,r,a,c){var n,l=arguments.length,t=l<3?r:c===null?c=Object.getOwnPropertyDescriptor(r,a):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,r,a,c);else for(var s=i.length-1;s>=0;s--)(n=i[s])&&(t=(l<3?n(t):l>3?n(r,a,t):n(r,a))||t);return l>3&&t&&Object.defineProperty(r,a,t),t},v=this&&this.__param||function(i,r){return function(a,c){r(a,c,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var h=y(5),u=y(1),o=function(){function i(r,a,c,n,l,t){this._textarea=r,this._compositionView=a,this._bufferService=c,this._optionsService=n,this._charSizeService=l,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(i.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),i.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},i.prototype.compositionupdate=function(r){var a=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},i.prototype.compositionend=function(){this._finalizeComposition(!0)},i.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},i.prototype._finalizeComposition=function(r){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var c={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var l=void 0;l=a._isComposing?a._textarea.value.substring(c.start,c.end):a._textarea.value.substring(c.start),a._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},i.prototype._handleAnyTextareaChanges=function(){var r=this,a=this._textarea.value;setTimeout(function(){if(!r._isComposing){var c=r._textarea.value.replace(a,"");c.length>0&&r._coreService.triggerDataEvent(c,!0)}},0)},i.prototype.updateCompositionElements=function(r){var a=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var c=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*c,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=c+"px",this._compositionView.style.lineHeight=c+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=n+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}r||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},i=p([v(2,u.IBufferService),v(3,u.IOptionsService),v(4,h.ICharSizeService),v(5,u.ICoreService)],i)}();f.CompositionHelper=o},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var d,m=arguments.length,w=m<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(d=n[b])&&(w=(m<3?d(w):m>3?d(l,t,w):d(l,t))||w);return m>3&&w&&Object.defineProperty(l,t,w),w},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var o=y(2),i=y(7),r=y(5),a=y(1),c=function(n){function l(t,s,d,m,w,b,E){var A=n.call(this)||this;return A._scrollLines=t,A._viewportElement=s,A._scrollArea=d,A._bufferService=m,A._optionsService=w,A._charSizeService=b,A._renderService=E,A.scrollBarWidth=0,A._currentRowHeight=0,A._lastRecordedBufferLength=0,A._lastRecordedViewportHeight=0,A._lastRecordedBufferHeight=0,A._lastTouchY=0,A._lastScrollTop=0,A._wheelPartialScroll=0,A._refreshAnimationFrame=null,A._ignoreNextScrollEvent=!1,A.scrollBarWidth=A._viewportElement.offsetWidth-A._scrollArea.offsetWidth||15,A.register(i.addDisposableDomListener(A._viewportElement,"scroll",A._onScroll.bind(A))),setTimeout(function(){return A.syncScrollArea()},0),A}return v(l,n),l.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},l.prototype._refresh=function(t){var s=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);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(t)}else this._refresh(t)},l.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(t,s){var d=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&d<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},l.prototype.onWheel=function(t){var s=this._getPixelsScrolled(t);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.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):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(t,s){var d=this._optionsService.options.fastScrollModifier;return d==="alt"&&s.altKey||d==="ctrl"&&s.ctrlKey||d==="shift"&&s.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},l.prototype.onTouchMove=function(t){var s=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l=h([u(3,a.IBufferService),u(4,a.IOptionsService),u(5,r.ICharSizeService),u(6,r.IRenderService)],l)}(o.Disposable);f.Viewport=c},function(g,f,y){"use strict";function p(o){return o.replace(/\r?\n/g,"\r")}function v(o,i){return i?"[200~"+o+"[201~":o}function h(o,i,r){o=v(o=p(o),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(o,!0),i.value=""}function u(o,i,r){var a=r.getBoundingClientRect(),c=o.clientX-a.left-10,n=o.clientY-a.top-10;i.style.width="20px",i.style.height="20px",i.style.left=c+"px",i.style.top=n+"px",i.style.zIndex="1000",i.focus()}Object.defineProperty(f,"__esModule",{value:!0}),f.rightClickHandler=f.moveTextAreaUnderMouseCursor=f.paste=f.handlePasteEvent=f.copyHandler=f.bracketTextForPaste=f.prepareTextForTerminal=void 0,f.prepareTextForTerminal=p,f.bracketTextForPaste=v,f.copyHandler=function(o,i){o.clipboardData&&o.clipboardData.setData("text/plain",i.selectionText),o.preventDefault()},f.handlePasteEvent=function(o,i,r){o.stopPropagation(),o.clipboardData&&h(o.clipboardData.getData("text/plain"),i,r)},f.paste=h,f.moveTextAreaUnderMouseCursor=u,f.rightClickHandler=function(o,i,r,a,c){u(o,i,r),c&&!a.isClickInSelection(o)&&a.selectWordAtCursor(o),i.value=a.selectionText,i.select()}},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var h=y(2),u=y(15),o=y(21),i=y(22),r=y(24),a=function(){function n(l){this.table=new Uint8Array(l)}return n.prototype.setDefault=function(l,t){u.fill(this.table,l<<4|t)},n.prototype.add=function(l,t,s,d){this.table[t<<8|l]=s<<4|d},n.prototype.addMany=function(l,t,s,d){for(var m=0;m<l.length;m++)this.table[t<<8|l[m]]=s<<4|d},n}();f.TransitionTable=a,f.VT500_TRANSITION_TABLE=function(){var n=new a(4095),l=Array.apply(null,Array(256)).map(function(b,E){return E}),t=function(E,A){return l.slice(E,A)},s=t(32,127),d=t(0,24);d.push(25),d.push.apply(d,t(28,32));var m,w=t(0,14);for(m in n.setDefault(1,0),n.addMany(s,0,2,0),w)n.addMany([24,26,153,154],m,3,0),n.addMany(t(128,144),m,3,0),n.addMany(t(144,152),m,3,0),n.add(156,m,0,0),n.add(27,m,11,1),n.add(157,m,4,8),n.addMany([152,158,159],m,0,7),n.add(155,m,11,3),n.add(144,m,11,9);return n.addMany(d,0,3,0),n.addMany(d,1,3,1),n.add(127,1,0,1),n.addMany(d,8,0,8),n.addMany(d,3,3,3),n.add(127,3,0,3),n.addMany(d,4,3,4),n.add(127,4,0,4),n.addMany(d,6,3,6),n.addMany(d,5,3,5),n.add(127,5,0,5),n.addMany(d,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(s,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(t(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(s,7,0,7),n.addMany(d,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(t(64,127),3,7,0),n.addMany(t(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(t(48,60),4,8,4),n.addMany(t(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(t(32,64),6,0,6),n.add(127,6,0,6),n.addMany(t(64,127),6,0,0),n.addMany(t(32,48),3,9,5),n.addMany(t(32,48),5,9,5),n.addMany(t(48,64),5,0,6),n.addMany(t(64,127),5,7,0),n.addMany(t(32,48),4,9,5),n.addMany(t(32,48),1,9,2),n.addMany(t(32,48),2,9,2),n.addMany(t(48,127),2,10,0),n.addMany(t(48,80),1,10,0),n.addMany(t(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(t(96,127),1,10,0),n.add(80,1,11,9),n.addMany(d,9,0,9),n.add(127,9,0,9),n.addMany(t(28,32),9,0,9),n.addMany(t(32,48),9,9,12),n.addMany(t(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(d,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(d,10,0,10),n.add(127,10,0,10),n.addMany(t(28,32),10,0,10),n.addMany(t(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(t(32,48),10,9,12),n.addMany(d,12,0,12),n.add(127,12,0,12),n.addMany(t(28,32),12,0,12),n.addMany(t(32,48),12,9,12),n.addMany(t(48,64),12,0,11),n.addMany(t(64,127),12,12,13),n.addMany(t(64,127),10,12,13),n.addMany(t(64,127),9,12,13),n.addMany(d,13,13,13),n.addMany(s,13,13,13),n.add(127,13,0,13),n.addMany([27,156,24,26],13,14,0),n.add(160,0,2,0),n.add(160,8,5,8),n.add(160,6,0,6),n.add(160,11,0,11),n.add(160,13,13,13),n}();var c=function(n){function l(t){t===void 0&&(t=f.VT500_TRANSITION_TABLE);var s=n.call(this)||this;return s._transitions=t,s.initialState=0,s.currentState=s.initialState,s._params=new o.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(d,m,w){},s._executeHandlerFb=function(d){},s._csiHandlerFb=function(d,m){},s._escHandlerFb=function(d){},s._errorHandlerFb=function(d){return d},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new i.OscParser,s._dcsParser=new r.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return v(l,n),l.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var d=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((d=t.prefix.charCodeAt(0))&&60>d||d>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var m=0;m<t.intermediates.length;++m){var w=t.intermediates.charCodeAt(m);if(32>w||w>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");d<<=8,d|=w}}if(t.final.length!==1)throw new Error("final must be a single byte");var b=t.final.charCodeAt(0);if(s[0]>b||b>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return d<<=8,d|=b},l.prototype.identToString=function(t){for(var s=[];t;)s.push(String.fromCharCode(255&t)),t>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(t){this._printHandler=t},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(t,s){var d=this._identifier(t,[48,126]);this._escHandlers[d]===void 0&&(this._escHandlers[d]=[]);var m=this._escHandlers[d];return m.push(s),{dispose:function(){var b=m.indexOf(s);b!==-1&&m.splice(b,1)}}},l.prototype.setEscHandler=function(t,s){this._escHandlers[this._identifier(t,[48,126])]=[s]},l.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},l.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},l.prototype.setExecuteHandler=function(t,s){this._executeHandlers[t.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},l.prototype.addCsiHandler=function(t,s){var d=this._identifier(t);this._csiHandlers[d]===void 0&&(this._csiHandlers[d]=[]);var m=this._csiHandlers[d];return m.push(s),{dispose:function(){var b=m.indexOf(s);b!==-1&&m.splice(b,1)}}},l.prototype.setCsiHandler=function(t,s){this._csiHandlers[this._identifier(t)]=[s]},l.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},l.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},l.prototype.addDcsHandler=function(t,s){return this._dcsParser.addHandler(this._identifier(t),s)},l.prototype.setDcsHandler=function(t,s){this._dcsParser.setHandler(this._identifier(t),s)},l.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},l.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},l.prototype.addOscHandler=function(t,s){return this._oscParser.addHandler(t,s)},l.prototype.setOscHandler=function(t,s){this._oscParser.setHandler(t,s)},l.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},l.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},l.prototype.setErrorHandler=function(t){this._errorHandler=t},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(t,s){for(var d=0,m=0,w=this.currentState,b=this._oscParser,E=this._dcsParser,A=this._collect,S=this._params,T=this._transitions.table,O=0;O<s;++O){switch((m=T[w<<8|((d=t[O])<160?d:160)])>>4){case 2:for(var x=O+1;;++x){if(x>=s||(d=t[x])<32||d>126&&d<160){this._printHandler(t,O,x),O=x-1;break}if(++x>=s||(d=t[x])<32||d>126&&d<160){this._printHandler(t,O,x),O=x-1;break}if(++x>=s||(d=t[x])<32||d>126&&d<160){this._printHandler(t,O,x),O=x-1;break}if(++x>=s||(d=t[x])<32||d>126&&d<160){this._printHandler(t,O,x),O=x-1;break}}break;case 3:this._executeHandlers[d]?this._executeHandlers[d]():this._executeHandlerFb(d),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:O,code:d,currentState:w,collect:A,params:S,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[A<<8|d],_=C?C.length-1:-1;_>=0&&C[_](S)===!1;_--);_<0&&this._csiHandlerFb(A<<8|d,S),this.precedingCodepoint=0;break;case 8:do switch(d){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(d-48)}while(++O<s&&(d=t[O])>47&&d<60);O--;break;case 9:A<<=8,A|=d;break;case 10:for(var N=this._escHandlers[A<<8|d],F=N?N.length-1:-1;F>=0&&N[F]()===!1;F--);F<0&&this._escHandlerFb(A<<8|d),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),A=0;break;case 12:E.hook(A<<8|d,S);break;case 13:for(var k=O+1;;++k)if(k>=s||(d=t[k])===24||d===26||d===27||d>127&&d<160){E.put(t,O,k),O=k-1;break}break;case 14:E.unhook(d!==24&&d!==26),d===27&&(m|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var P=O+1;;P++)if(P>=s||(d=t[P])<32||d>127&&d<=159){b.put(t,O,P),O=P-1;break}break;case 6:b.end(d!==24&&d!==26),d===27&&(m|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0}w=15&m}this._collect=A,this.currentState=w},l}(h.Disposable);f.EscapeSequenceParser=c},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(E,A){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var O in T)T.hasOwnProperty(O)&&(S[O]=T[O])})(E,A)},function(b,E){function A(){this.constructor=b}p(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,O=arguments.length,x=O<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(O<3?T(x):O>3?T(E,A,x):T(E,A))||x);return O>3&&x&&Object.defineProperty(E,A,x),x},u=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var o=y(41),i=y(47),r=y(48),a=y(49),c=y(29),n=y(2),l=y(5),t=y(1),s=y(25),d=y(0),m=1,w=function(b){function E(A,S,T,O,x,C,_,N,F){var k=b.call(this)||this;k._colors=A,k._screenElement=S,k._bufferService=x,k._charSizeService=C,k._optionsService=_,k._id=m++,k._onRequestRedraw=new d.EventEmitter;var P=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new c.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new o.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,P,k._id,k._bufferService,_),new i.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,_),new a.LinkRenderLayer(k._screenElement,2,k._colors,k._id,T,O,k._bufferService,_),new r.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,_,N,F)],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(E,b),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){for(var A=0,S=this._renderLayers;A<S.length;A++)S[A].dispose();b.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},E.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},E.prototype.setColors=function(A){this._colors=A;for(var S=0,T=this._renderLayers;S<T.length;S++){var O=T[S];O.setColors(this._colors),O.reset()}},E.prototype.onResize=function(A,S){this._updateDimensions();for(var T=0,O=this._renderLayers;T<O.length;T++)O[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},E.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},E.prototype.onBlur=function(){this._runOperation(function(A){return A.onBlur()})},E.prototype.onFocus=function(){this._runOperation(function(A){return A.onFocus()})},E.prototype.onSelectionChanged=function(A,S,T){T===void 0&&(T=!1),this._runOperation(function(O){return O.onSelectionChanged(A,S,T)})},E.prototype.onCursorMove=function(){this._runOperation(function(A){return A.onCursorMove()})},E.prototype.onOptionsChanged=function(){this._runOperation(function(A){return A.onOptionsChanged()})},E.prototype.clear=function(){this._runOperation(function(A){return A.reset()})},E.prototype._runOperation=function(A){for(var S=0,T=this._renderLayers;S<T.length;S++)A(T[S])},E.prototype.renderRows=function(A,S){for(var T=0,O=this._renderLayers;T<O.length;T++)O[T].onGridChanged(A,S)},E.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)},E.prototype.registerCharacterJoiner=function(A){return this._characterJoinerRegistry.registerCharacterJoiner(A)},E.prototype.deregisterCharacterJoiner=function(A){return this._characterJoinerRegistry.deregisterCharacterJoiner(A)},E=h([u(4,t.IBufferService),u(5,l.ICharSizeService),u(6,t.IOptionsService),u(7,t.ICoreService),u(8,l.ICoreBrowserService)],E)}(n.Disposable);f.Renderer=w},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var h=y(42),u=y(13),o=y(6),i=y(3),r=y(29),a=y(4),c=function(n){function l(t,s,d,m,w,b,E,A){var S=n.call(this,t,"text",s,w,d,b,E,A)||this;return S._characterWidth=0,S._characterFont="",S._characterOverlapCache={},S._workCell=new a.CellData,S._state=new h.GridCache,S._characterJoinerRegistry=m,S}return v(l,n),l.prototype.resize=function(t){n.prototype.resize.call(this,t);var s=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===s||(this._characterWidth=t.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(t,s,d,m){for(var w=t;w<=s;w++)for(var b=w+this._bufferService.buffer.ydisp,E=this._bufferService.buffer.lines.get(b),A=d?d.getJoinedCharacters(b):[],S=0;S<this._bufferService.cols;S++){E.loadCell(S,this._workCell);var T=this._workCell,O=!1,x=S;if(T.getWidth()!==0){if(A.length>0&&S===A[0][0]){O=!0;var C=A.shift();T=new r.JoinedCellData(this._workCell,E.translateToString(!0,C[0],C[1]),C[1]-C[0]),x=C[1]-1}!O&&this._isOverlapping(T)&&x<E.length-1&&E.getCodePoint(x+1)===i.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),m(T,S,w),S=x}}},l.prototype._drawBackground=function(t,s){var d=this,m=this._ctx,w=this._bufferService.cols,b=0,E=0,A=null;m.save(),this._forEachCell(t,s,null,function(S,T,O){var x=null;S.isInverse()?x=S.isFgDefault()?d._colors.foreground.css:S.isFgRGB()?"rgb("+o.AttributeData.toColorRGB(S.getFgColor()).join(",")+")":d._colors.ansi[S.getFgColor()].css:S.isBgRGB()?x="rgb("+o.AttributeData.toColorRGB(S.getBgColor()).join(",")+")":S.isBgPalette()&&(x=d._colors.ansi[S.getBgColor()].css),A===null&&(b=T,E=O),O!==E?(m.fillStyle=A||"",d._fillCells(b,E,w-b,1),b=T,E=O):A!==x&&(m.fillStyle=A||"",d._fillCells(b,E,T-b,1),b=T,E=O),A=x}),A!==null&&(m.fillStyle=A,this._fillCells(b,E,w-b,1)),m.restore()},l.prototype._drawForeground=function(t,s){var d=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(m,w,b){if(!m.isInvisible()&&(d._drawChars(m,w,b),m.isUnderline())){if(d._ctx.save(),m.isInverse())if(m.isBgDefault())d._ctx.fillStyle=d._colors.background.css;else if(m.isBgRGB())d._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(m.getBgColor()).join(",")+")";else{var E=m.getBgColor();d._optionsService.options.drawBoldTextInBrightColors&&m.isBold()&&E<8&&(E+=8),d._ctx.fillStyle=d._colors.ansi[E].css}else if(m.isFgDefault())d._ctx.fillStyle=d._colors.foreground.css;else if(m.isFgRGB())d._ctx.fillStyle="rgb("+o.AttributeData.toColorRGB(m.getFgColor()).join(",")+")";else{var A=m.getFgColor();d._optionsService.options.drawBoldTextInBrightColors&&m.isBold()&&A<8&&(A+=8),d._ctx.fillStyle=d._colors.ansi[A].css}d._fillBottomLineAtCells(w,b,m.getWidth()),d._ctx.restore()}})},l.prototype.onGridChanged=function(t,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,s-t+1),this._drawBackground(t,s),this._drawForeground(t,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var s=t.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var d=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=d,d},l}(u.BaseRenderLayer);f.TextRenderLayer=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var p=function(){function v(){this.cache=[]}return v.prototype.resize=function(h,u){for(var o=0;o<h;o++){this.cache.length<=o&&this.cache.push([]);for(var i=this.cache[o].length;i<u;i++)this.cache[o].push(void 0);this.cache[o].length=u}this.cache.length=h},v.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var u=0;u<this.cache[h].length;u++)this.cache[h][u]=void 0},v}();f.GridCache=p},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(m,w){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var A in E)E.hasOwnProperty(A)&&(b[A]=E[A])})(m,w)},function(d,m){function w(){this.constructor=d}p(d,m),d.prototype=m===null?Object.create(m):(w.prototype=m.prototype,new w)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=y(9),u=y(44),o=y(27),i=y(46),r=y(11),a=y(28),c=y(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function l(d){return d.code<<21|d.bg<<12|d.fg<<3|(d.bold?0:4)+(d.dim?0:2)+(d.italic?0:1)}f.getGlyphCacheKey=l;var t=function(d){function m(w,b){var E=d.call(this)||this;E._config=b,E._drawToCacheCount=0,E._glyphsWaitingOnBitmap=[],E._bitmapCommitTimeout=null,E._bitmap=null,E._cacheCanvas=w.createElement("canvas"),E._cacheCanvas.width=1024,E._cacheCanvas.height=1024,E._cacheCtx=a.throwIfFalsy(E._cacheCanvas.getContext("2d",{alpha:!0}));var A=w.createElement("canvas");A.width=E._config.scaledCharWidth,A.height=E._config.scaledCharHeight,E._tmpCtx=a.throwIfFalsy(A.getContext("2d",{alpha:E._config.allowTransparency})),E._width=Math.floor(1024/E._config.scaledCharWidth),E._height=Math.floor(1024/E._config.scaledCharHeight);var S=E._width*E._height;return E._cacheMap=new i.LRUMap(S),E._cacheMap.prealloc(S),E}return v(m,d),m.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},m.prototype.beginFrame=function(){this._drawToCacheCount=0},m.prototype.draw=function(w,b,E,A){if(b.code===32)return!0;if(!this._canCache(b))return!1;var S=l(b),T=this._cacheMap.get(S);if(T!=null)return this._drawFromCache(w,T,E,A),!0;if(this._drawToCacheCount<100){var O=void 0;O=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(b,O);return this._cacheMap.set(S,x),this._drawFromCache(w,x,E,A),!0}return!1},m.prototype._canCache=function(w){return w.code<256},m.prototype._toCoordinateX=function(w){return w%this._width*this._config.scaledCharWidth},m.prototype._toCoordinateY=function(w){return Math.floor(w/this._width)*this._config.scaledCharHeight},m.prototype._drawFromCache=function(w,b,E,A){if(!b.isEmpty){var S=this._toCoordinateX(b.index),T=this._toCoordinateY(b.index);w.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,S,T,this._config.scaledCharWidth,this._config.scaledCharHeight,E,A,this._config.scaledCharWidth,this._config.scaledCharHeight)}},m.prototype._getColorFromAnsiIndex=function(w){return w<this._config.colors.ansi.length?this._config.colors.ansi[w]:o.DEFAULT_ANSI_COLORS[w]},m.prototype._getBackgroundColor=function(w){return this._config.allowTransparency?n:w.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:w.bg<256?this._getColorFromAnsiIndex(w.bg):this._config.colors.background},m.prototype._getForegroundColor=function(w){return w.fg===h.INVERTED_DEFAULT_COLOR?c.color.opaque(this._config.colors.background):w.fg<256?this._getColorFromAnsiIndex(w.fg):this._config.colors.foreground},m.prototype._drawToCache=function(w,b){this._drawToCacheCount++,this._tmpCtx.save();var E=this._getBackgroundColor(w);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=E.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var A=w.bold?this._config.fontWeightBold:this._config.fontWeight,S=w.italic?"italic":"";this._tmpCtx.font=S+" "+A+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(w).css,w.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(w.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),O=!1;this._config.allowTransparency||(O=function(N,F){for(var k=!0,P=F.rgba>>>24,j=F.rgba>>>16&255,K=F.rgba>>>8&255,R=0;R<N.data.length;R+=4)N.data[R]===P&&N.data[R+1]===j&&N.data[R+2]===K?N.data[R+3]=0:k=!1;return k}(T,E));var x=this._toCoordinateX(b),C=this._toCoordinateY(b);this._cacheCtx.putImageData(T,x,C);var _={index:b,isEmpty:O,inBitmap:!1};return this._addGlyphToBitmap(_),_},m.prototype._addGlyphToBitmap=function(w){var b=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(w),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},m.prototype._generateBitmap=function(){var w=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(E){w._bitmap=E;for(var A=0;A<b.length;A++)b[A].inBitmap=!0}),this._bitmapCommitTimeout=null},m}(u.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(d){function m(w,b){return d.call(this)||this}return v(m,d),m.prototype.draw=function(w,b,E,A){return!1},m}(u.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.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}();f.BaseCharAtlas=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.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(h,u,o){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][u]=o},v.prototype.getCss=function(h,u){return this._rgba[h]?this._rgba[h][u]:void 0},v.prototype.setColor=function(h,u,o){this._color[h]||(this._color[h]={}),this._color[h][u]=o},v.prototype.getColor=function(h,u){return this._color[h]?this._color[h][u]:void 0},v}();f.ColorContrastCache=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var p=function(){function v(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(h){var u=h.prev,o=h.next;h===this._head&&(this._head=o),h===this._tail&&(this._tail=u),u!==null&&(u.next=o),o!==null&&(o.prev=u)},v.prototype._appendNode=function(h){var u=this._tail;u!==null&&(u.next=h),h.prev=u,h.next=null,this._tail=h,this._head===null&&(this._head=h)},v.prototype.prealloc=function(h){for(var u=this._nodePool,o=0;o<h;o++)u.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(h){var u=this._map[h];return u!==void 0?(this._unlinkNode(u),this._appendNode(u),u.value):null},v.prototype.peekValue=function(h){var u=this._map[h];return u!==void 0?u.value:null},v.prototype.peek=function(){var h=this._head;return h===null?null:h.value},v.prototype.set=function(h,u){var o=this._map[h];if(o!==void 0)o=this._map[h],this._unlinkNode(o),o.value=u;else if(this.size>=this.capacity)o=this._head,this._unlinkNode(o),delete this._map[o.key],o.key=h,o.value=u,this._map[h]=o;else{var i=this._nodePool;i.length>0?((o=i.pop()).key=h,o.value=u):o={prev:null,next:null,key:h,value:u},this._map[h]=o,this.size++}this._appendNode(o)},v}();f.LRUMap=p},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(o,i){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var c in a)a.hasOwnProperty(c)&&(r[c]=a[c])})(o,i)},function(u,o){function i(){this.constructor=u}p(u,o),u.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var h=function(u){function o(i,r,a,c,n,l){var t=u.call(this,i,"selection",r,!0,a,c,n,l)||this;return t._clearState(),t}return v(o,u),o.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},o.prototype.resize=function(i){u.prototype.resize.call(this,i),this._clearState()},o.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},o.prototype.onSelectionChanged=function(i,r,a){if(this._didStateChange(i,r,a,this._bufferService.buffer.ydisp))if(this._clearAll(),i&&r){var c=i[1]-this._bufferService.buffer.ydisp,n=r[1]-this._bufferService.buffer.ydisp,l=Math.max(c,0),t=Math.min(n,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var s=i[0],d=r[0]-s,m=t-l+1;this._fillCells(s,l,d,m)}else{s=c===l?i[0]:0;var w=l===t?r[0]:this._bufferService.cols;this._fillCells(s,l,w-s,1);var b=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,b),l!==t){var E=n===t?r[0]:this._bufferService.cols;this._fillCells(0,t,E,1)}}this._state.start=[i[0],i[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},o.prototype._didStateChange=function(i,r,a,c){return!this._areCoordinatesEqual(i,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||a!==this._state.columnSelectMode||c!==this._state.ydisp},o.prototype._areCoordinatesEqual=function(i,r){return!(!i||!r)&&i[0]===r[0]&&i[1]===r[1]},o}(y(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(a,c){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(a,c)},function(r,a){function c(){this.constructor=r}p(r,a),r.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var h=y(13),u=y(4),o=function(r){function a(c,n,l,t,s,d,m,w,b){var E=r.call(this,c,"cursor",n,!0,l,t,d,m)||this;return E._onRequestRedraw=s,E._coreService=w,E._coreBrowserService=b,E._cell=new u.CellData,E._state={x:0,y:0,isFocused:!1,style:"",width:0},E._cursorRenderers={bar:E._renderBarCursor.bind(E),block:E._renderBlockCursor.bind(E),underline:E._renderUnderlineCursor.bind(E)},E}return v(a,r),a.prototype.resize=function(c){r.prototype.resize.call(this,c),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 c,n=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new i(this._coreBrowserService.isFocused,function(){n._render(!0)})):((c=this._cursorBlinkStateManager)===null||c===void 0||c.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(c,n){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(c){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=n-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(n).loadCell(t,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](t,l,this._cell):this._renderBlurCursor(t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},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(c,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(c,n,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(c,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(c,n,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,c,n),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(c,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(c,n),this._ctx.restore()},a.prototype._renderBlurCursor=function(c,n,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(c,n,l.getWidth(),1),this._ctx.restore()},a}(h.BaseRenderLayer);f.CursorRenderLayer=o;var i=function(){function r(a,c){this._renderCallback=c,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.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)},r.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})))},r.prototype._restartInterval=function(a){var c=this;a===void 0&&(a=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(c._animationTimeRestarted){var n=600-(Date.now()-c._animationTimeRestarted);if(c._animationTimeRestarted=void 0,n>0)return void c._restartInterval(n)}c.isCursorVisible=!1,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0}),c._blinkInterval=window.setInterval(function(){if(c._animationTimeRestarted){var l=600-(Date.now()-c._animationTimeRestarted);return c._animationTimeRestarted=void 0,void c._restartInterval(l)}c.isCursorVisible=!c.isCursorVisible,c._animationFrame=window.requestAnimationFrame(function(){c._renderCallback(),c._animationFrame=void 0})},600)},a)},r.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)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(a,c){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(a,c)},function(r,a){function c(){this.constructor=r}p(r,a),r.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var h=y(13),u=y(9),o=y(26),i=function(r){function a(c,n,l,t,s,d,m,w){var b=r.call(this,c,"link",n,!0,l,t,m,w)||this;return s.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),s.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),d.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),d.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),b}return v(a,r),a.prototype.resize=function(c){r.prototype.resize.call(this,c),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 c=this._state.y2-this._state.y1-1;c>0&&this._clearCells(0,this._state.y1+1,this._state.cols,c),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},a.prototype._onShowLinkUnderline=function(c){if(c.fg===u.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:c.fg&&o.is256Color(c.fg)?this._ctx.fillStyle=this._colors.ansi[c.fg].css:this._ctx.fillStyle=this._colors.foreground.css,c.y1===c.y2)this._fillBottomLineAtCells(c.x1,c.y1,c.x2-c.x1);else{this._fillBottomLineAtCells(c.x1,c.y1,c.cols-c.x1);for(var n=c.y1+1;n<c.y2;n++)this._fillBottomLineAtCells(0,n,c.cols);this._fillBottomLineAtCells(0,c.y2,c.x2)}this._state=c},a.prototype._onHideLinkUnderline=function(c){this._clearCurrentLink()},a}(h.BaseRenderLayer);f.LinkRenderLayer=i},function(g,f,y){"use strict";var p=this&&this.__decorate||function(r,a,c,n){var l,t=arguments.length,s=t<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,c):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,a,c,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(t<3?l(s):t>3?l(a,c,s):l(a,c))||s);return t>3&&s&&Object.defineProperty(a,c,s),s},v=this&&this.__param||function(r,a){return function(c,n){a(c,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var h=y(0),u=y(1),o=function(){function r(a,c,n){this._bufferService=a,this._logService=c,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(a,c){this._element=a,this._mouseZoneManager=c},r.prototype.linkifyRows=function(a,c){var n=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=c):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,c)),this._mouseZoneManager.clearAll(a,c),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return n._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var c=a.ydisp+this._rowsToLinkify.start;if(!(c>=a.lines.length)){for(var n=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,c,n,l,l);t.hasNext();)for(var s=t.next(),d=0;d<this._linkMatchers.length;d++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[d]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},r.prototype.registerLinkMatcher=function(a,c,n){if(n===void 0&&(n={}),!c)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:a,handler:c,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(l),l.id},r.prototype._addLinkMatcherToList=function(a){if(this._linkMatchers.length!==0){for(var c=this._linkMatchers.length-1;c>=0;c--)if(a.priority<=this._linkMatchers[c].priority)return void this._linkMatchers.splice(c+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},r.prototype.deregisterLinkMatcher=function(a){for(var c=0;c<this._linkMatchers.length;c++)if(this._linkMatchers[c].id===a)return this._linkMatchers.splice(c,1),!0;return!1},r.prototype._doLinkifyRow=function(a,c,n){for(var l,t=this,s=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),d=-1,m=function(){var E=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!E)return w._logService.debug("match found without corresponding matchIndex",l,n),"break";if(d=c.indexOf(E,d+1),s.lastIndex=d+E.length,d<0)return"break";var A=w._bufferService.buffer.stringIndexToBufferIndex(a,d);if(A[0]<0)return"break";var S=w._bufferService.buffer.lines.get(A[0]);if(!S)return"break";var T=S.getFg(A[1]),O=T?T>>9&511:void 0;n.validationCallback?n.validationCallback(E,function(x){t._rowsTimeoutId||x&&t._addLink(A[1],A[0]-t._bufferService.buffer.ydisp,E,n,O)}):w._addLink(A[1],A[0]-w._bufferService.buffer.ydisp,E,n,O)},w=this;(l=s.exec(c))!==null&&!(m()==="break"););},r.prototype._addLink=function(a,c,n,l,t){var s=this;if(this._mouseZoneManager&&this._element){var d=this._unicodeService.getStringCellWidth(n),m=a%this._bufferService.cols,w=c+Math.floor(a/this._bufferService.cols),b=(m+d)%this._bufferService.cols,E=w+Math.floor((m+d)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,E--),this._mouseZoneManager.add(new i(m+1,w+1,b+1,E+1,function(A){if(l.handler)return l.handler(A,n);var S=window.open();S?(S.opener=null,S.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(m,w,b,E,t)),s._element.classList.add("xterm-cursor-pointer")},function(A){s._onLinkTooltip.fire(s._createLinkHoverEvent(m,w,b,E,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(A,n,{start:{x:m,y:w},end:{x:b,y:E}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(m,w,b,E,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(A){return!l.willLinkActivate||l.willLinkActivate(A,n)}))}},r.prototype._createLinkHoverEvent=function(a,c,n,l,t){return{x1:a,y1:c,x2:n,y2:l,cols:this._bufferService.cols,fg:t}},r._timeBeforeLatency=200,r=p([v(0,u.IBufferService),v(1,u.ILogService),v(2,u.IUnicodeService)],r)}();f.Linkifier=o;var i=function(a,c,n,l,t,s,d,m,w){this.x1=a,this.y1=c,this.x2=n,this.y2=l,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=d,this.leaveCallback=m,this.willLinkActivate=w};f.MouseZone=i},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(E,A){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var O in T)T.hasOwnProperty(O)&&(S[O]=T[O])})(E,A)},function(b,E){function A(){this.constructor=b}p(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,O=arguments.length,x=O<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(O<3?T(x):O>3?T(E,A,x):T(E,A))||x);return O>3&&x&&Object.defineProperty(E,A,x),x},u=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var o=y(11),i=y(52),r=y(4),a=y(0),c=y(5),n=y(1),l=y(30),t=y(53),s=y(2),d=String.fromCharCode(160),m=new RegExp(d,"g"),w=function(b){function E(A,S,T,O,x,C,_){var N=b.call(this)||this;return N._element=A,N._screenElement=S,N._bufferService=T,N._coreService=O,N._mouseService=x,N._optionsService=C,N._renderService=_,N._dragScrollAmount=0,N._enabled=!0,N._workCell=new r.CellData,N._mouseDownTimeStamp=0,N._onLinuxMouseSelection=N.register(new a.EventEmitter),N._onRedrawRequest=N.register(new a.EventEmitter),N._onSelectionChange=N.register(new a.EventEmitter),N._onRequestScrollLines=N.register(new a.EventEmitter),N._mouseMoveListener=function(F){return N._onMouseMove(F)},N._mouseUpListener=function(F){return N._onMouseUp(F)},N._coreService.onUserInput(function(){N.hasSelection&&N.clearSelection()}),N._trimListener=N._bufferService.buffer.lines.onTrim(function(F){return N._onTrim(F)}),N.register(N._bufferService.buffers.onBufferActivate(function(F){return N._onBufferActivate(F)})),N.enable(),N._model=new i.SelectionModel(N._bufferService),N._activeSelectionMode=0,N}return v(E,b),Object.defineProperty(E.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._removeMouseDownListeners()},E.prototype.reset=function(){this.clearSelection()},E.prototype.disable=function(){this.clearSelection(),this._enabled=!1},E.prototype.enable=function(){this._enabled=!0},Object.defineProperty(E.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"hasSelection",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!S||!T)&&(S[0]!==T[0]||S[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!S||!T)return"";var O=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(S[0]===T[0])return"";for(var C=S[1];C<=T[1];C++){var _=O.translateBufferLineToString(C,!0,S[0],T[0]);x.push(_)}}else{var N=S[1]===T[1]?T[0]:void 0;for(x.push(O.translateBufferLineToString(S[1],!0,S[0],N)),C=S[1]+1;C<=T[1]-1;C++){var F=O.lines.get(C);_=O.translateBufferLineToString(C,!0),F&&F.isWrapped?x[x.length-1]+=_:x.push(_)}S[1]!==T[1]&&(F=O.lines.get(T[1]),_=O.translateBufferLineToString(T[1],!0,0,T[0]),F&&F.isWrapped?x[x.length-1]+=_:x.push(_))}return x.map(function(k){return k.replace(m," ")}).join(o.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),E.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},E.prototype.refresh=function(A){var S=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return S._refresh()})),o.isLinux&&A)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},E.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},E.prototype.isClickInSelection=function(A){var S=this._getMouseBufferCoords(A),T=this._model.finalSelectionStart,O=this._model.finalSelectionEnd;return!!(T&&O&&S)&&this._areCoordsInSelection(S,T,O)},E.prototype._areCoordsInSelection=function(A,S,T){return A[1]>S[1]&&A[1]<T[1]||S[1]===T[1]&&A[1]===S[1]&&A[0]>=S[0]&&A[0]<T[0]||S[1]<T[1]&&A[1]===T[1]&&A[0]<T[0]||S[1]<T[1]&&A[1]===S[1]&&A[0]>=S[0]},E.prototype.selectWordAtCursor=function(A){var S=this._getMouseBufferCoords(A);S&&(this._selectWordAt(S,!1),this._model.selectionEnd=void 0,this.refresh(!0))},E.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},E.prototype.selectLines=function(A,S){this._model.clearSelection(),A=Math.max(A,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,A],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},E.prototype._onTrim=function(A){this._model.onTrim(A)&&this.refresh()},E.prototype._getMouseBufferCoords=function(A){var S=this._mouseService.getCoords(A,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},E.prototype._getMouseEventScrollAmount=function(A){var S=l.getCoordsRelativeToElement(A,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return S>=0&&S<=T?0:(S>T&&(S-=T),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},E.prototype.shouldForceSelection=function(A){return o.isMac?A.altKey&&this._optionsService.options.macOptionClickForcesSelection:A.shiftKey},E.prototype.onMouseDown=function(A){if(this._mouseDownTimeStamp=A.timeStamp,(A.button!==2||!this.hasSelection)&&A.button===0){if(!this._enabled){if(!this.shouldForceSelection(A))return;A.stopPropagation()}A.preventDefault(),this._dragScrollAmount=0,this._enabled&&A.shiftKey?this._onIncrementalClick(A):A.detail===1?this._onSingleClick(A):A.detail===2?this._onDoubleClick(A):A.detail===3&&this._onTripleClick(A),this._addMouseDownListeners(),this.refresh(!0)}},E.prototype._addMouseDownListeners=function(){var A=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return A._dragScroll()},50)},E.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},E.prototype._onIncrementalClick=function(A){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(A))},E.prototype._onSingleClick=function(A){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(A)?3:0,this._model.selectionStart=this._getMouseBufferCoords(A),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]++}},E.prototype._onDoubleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},E.prototype._onTripleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},E.prototype.shouldColumnSelect=function(A){return A.altKey&&!(o.isMac&&this._optionsService.options.macOptionClickForcesSelection)},E.prototype._onMouseMove=function(A){if(A.stopImmediatePropagation(),this._model.selectionStart){var S=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(A),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(A),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]<T.lines.length){var O=T.lines.get(this._model.selectionEnd[1]);O&&O.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)}},E.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var A=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(A.ydisp+this._bufferService.rows,A.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=A.ydisp),this.refresh()}},E.prototype._onMouseUp=function(A){var S=A.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&A.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(A,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var O=t.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(O,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},E.prototype._onBufferActivate=function(A){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=A.activeBuffer.lines.onTrim(function(T){return S._onTrim(T)})},E.prototype._convertViewportColToCharacterIndex=function(A,S){for(var T=S[0],O=0;S[0]>=O;O++){var x=A.loadCell(O,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:x>1&&S[0]!==O&&(T+=x-1)}return T},E.prototype.setSelection=function(A,S,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[A,S],this._model.selectionStartLength=T,this.refresh()},E.prototype._getWordAt=function(A,S,T,O){if(T===void 0&&(T=!0),O===void 0&&(O=!0),!(A[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,C=x.lines.get(A[1]);if(C){var _=x.translateBufferLineToString(A[1],!1),N=this._convertViewportColToCharacterIndex(C,A),F=N,k=A[0]-N,P=0,j=0,K=0,R=0;if(_.charAt(N)===" "){for(;N>0&&_.charAt(N-1)===" ";)N--;for(;F<_.length&&_.charAt(F+1)===" ";)F++}else{var B=A[0],U=A[0];C.getWidth(B)===0&&(P++,B--),C.getWidth(U)===2&&(j++,U++);var H=C.getString(U).length;for(H>1&&(R+=H-1,F+=H-1);B>0&&N>0&&!this._isCharWordSeparator(C.loadCell(B-1,this._workCell));){C.loadCell(B-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(P++,B--):W>1&&(K+=W-1,N-=W-1),N--,B--}for(;U<C.length&&F+1<_.length&&!this._isCharWordSeparator(C.loadCell(U+1,this._workCell));){C.loadCell(U+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(j++,U++):V>1&&(R+=V-1,F+=V-1),F++,U++}}F++;var z=N+k-P+K,X=Math.min(this._bufferService.cols,F-N+P+j-K-R);if(S||_.slice(N,F).trim()!==""){if(T&&z===0&&C.getCodePoint(0)!==32){var q=x.lines.get(A[1]-1);if(q&&C.isWrapped&&q.getCodePoint(this._bufferService.cols-1)!==32){var fe=this._getWordAt([this._bufferService.cols-1,A[1]-1],!1,!0,!1);if(fe){var G=this._bufferService.cols-fe.start;z-=G,X+=G}}}if(O&&z+X===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var ve=x.lines.get(A[1]+1);if(ve&&ve.isWrapped&&ve.getCodePoint(0)!==32){var Se=this._getWordAt([0,A[1]+1],!1,!1,!0);Se&&(X+=Se.length)}}return{start:z,length:X}}}}},E.prototype._selectWordAt=function(A,S){var T=this._getWordAt(A,S);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,A[1]--;this._model.selectionStart=[T.start,A[1]],this._model.selectionStartLength=T.length}},E.prototype._selectToWordAt=function(A){var S=this._getWordAt(A,!0);if(S){for(var T=A[1];S.start<0;)S.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,T]}},E.prototype._isCharWordSeparator=function(A){return A.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(A.getChars())>=0},E.prototype._selectLineAt=function(A){var S=this._bufferService.buffer.getWrappedRangeForLine(A);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.last],this._model.selectionStartLength=0},E=h([u(2,n.IBufferService),u(3,n.ICoreService),u(4,c.IMouseService),u(5,n.IOptionsService),u(6,c.IRenderService)],E)}(s.Disposable);f.SelectionService=w},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var p=function(){function v(h){this._bufferService=h,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 u=this.selectionStart[0]+this.selectionStartLength;return u>this._bufferService.cols?[u%this._bufferService.cols,this.selectionStart[1]+Math.floor(u/this._bufferService.cols)]:[u,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 h=this.selectionStart,u=this.selectionEnd;return!(!h||!u)&&(h[1]>u[1]||h[1]===u[1]&&h[0]>u[0])},v.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},v}();f.SelectionModel=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var p=y(12);function v(a,c,n,l){var t=a-h(n,a),s=c-h(n,c);return r(Math.abs(t-s)-function(d,m,w){for(var b=0,E=d-h(w,d),A=m-h(w,m),S=0;S<Math.abs(E-A);S++){var T=u(d,m)==="A"?-1:1,O=w.buffer.lines.get(E+T*S);O&&O.isWrapped&&b++}return b}(a,c,n),i(u(a,c),l))}function h(a,c){for(var n=0,l=a.buffer.lines.get(c),t=l&&l.isWrapped;t&&c>=0&&c<a.rows;)n++,t=(l=a.buffer.lines.get(--c))&&l.isWrapped;return n}function u(a,c){return a>c?"A":"B"}function o(a,c,n,l,t,s){for(var d=a,m=c,w="";d!==n||m!==l;)d+=t?1:-1,t&&d>s.cols-1?(w+=s.buffer.translateBufferLineToString(m,!1,a,d),d=0,a=0,m++):!t&&d<0&&(w+=s.buffer.translateBufferLineToString(m,!1,0,a+1),a=d=s.cols-1,m--);return w+s.buffer.translateBufferLineToString(m,!1,a,d)}function i(a,c){var n=c?"O":"[";return p.C0.ESC+n+a}function r(a,c){a=Math.floor(a);for(var n="",l=0;l<a;l++)n+=c;return n}f.moveToCellSequence=function(a,c,n,l){var t,s=n.buffer.x,d=n.buffer.y;if(!n.buffer.hasScrollback)return function(w,b,E,A,S,T){return v(b,A,S,T).length===0?"":r(o(w,b,w,b-h(S,b),!1,S).length,i("D",T))}(s,d,0,c,n,l)+v(d,c,n,l)+function(w,b,E,A,S,T){var O;O=v(b,A,S,T).length>0?A-h(S,A):b;var x=A,C=function(_,N,F,k,P,j){var K;return K=v(F,k,P,j).length>0?k-h(P,k):N,_<F&&K<=k||_>=F&&K<k?"C":"D"}(w,b,E,A,S,T);return r(o(w,O,E,x,C==="C",S).length,i(C,T))}(s,d,a,c,n,l);if(d===c)return t=s>a?"D":"C",r(Math.abs(s-a),i(t,l));t=d>c?"D":"C";var m=Math.abs(d-c);return r(function(w,b){return b.cols-w}(d>c?a:s,n)+(m-1)*n.cols+1+((d>c?s:a)-1),i(t,l))}},function(g,f,y){"use strict";var p=this&&this.__decorate||function(o,i,r,a){var c,n=arguments.length,l=n<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,r):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,i,r,a);else for(var t=o.length-1;t>=0;t--)(c=o[t])&&(l=(n<3?c(l):n>3?c(i,r,l):c(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(o,i){return function(r,a){i(r,a,o)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var h=y(1),u=function(){function o(i){this._optionsService=i}return Object.defineProperty(o,"audioContext",{get:function(){if(!o._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;o._audioContext=new r}return o._audioContext},enumerable:!1,configurable:!0}),o.prototype.playBellSound=function(){var i=o.audioContext;if(i){var r=i.createBufferSource();i.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){r.buffer=a,r.connect(i.destination),r.start(0)})}},o.prototype._base64ToArrayBuffer=function(i){for(var r=window.atob(i),a=r.length,c=new Uint8Array(a),n=0;n<a;n++)c[n]=r.charCodeAt(n);return c.buffer},o.prototype._removeMimeType=function(i){return i.split(",")[1]},o=p([v(0,h.IOptionsService)],o)}();f.SoundService=u},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var d,m=arguments.length,w=m<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(d=n[b])&&(w=(m<3?d(w):m>3?d(l,t,w):d(l,t))||w);return m>3&&w&&Object.defineProperty(l,t,w),w},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var o=y(2),i=y(7),r=y(5),a=y(1),c=function(n){function l(t,s,d,m,w,b){var E=n.call(this)||this;return E._element=t,E._screenElement=s,E._bufferService=d,E._mouseService=m,E._selectionService=w,E._optionsService=b,E._zones=[],E._areZonesActive=!1,E._lastHoverCoords=[void 0,void 0],E._initialSelectionLength=0,E.register(i.addDisposableDomListener(E._element,"mousedown",function(A){return E._onMouseDown(A)})),E._mouseMoveListener=function(A){return E._onMouseMove(A)},E._mouseLeaveListener=function(A){return E._onMouseLeave(A)},E._clickListener=function(A){return E._onClick(A)},E}return v(l,n),l.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(t,s){if(this._zones.length!==0){t&&s||(t=0,s=this._bufferService.rows-1);for(var d=0;d<this._zones.length;d++){var m=this._zones[d];(m.y1>t&&m.y1<=s+1||m.y2>t&&m.y2<=s+1||m.y1<t&&m.y2>s+1)&&(this._currentZone&&this._currentZone===m&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(d--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},l.prototype._onHover=function(t){var s=this,d=this._findZoneEventAt(t);d!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),d&&(this._currentZone=d,d.hoverCallback&&d.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(t);s&&s.tooltipCallback&&s.tooltipCallback(t)},l.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(t);(s==null?void 0:s.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(t){var s=this._findZoneEventAt(t),d=this._getSelectionLength();s&&d===this._initialSelectionLength&&(s.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},l.prototype._findZoneEventAt=function(t){var s=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var d=s[0],m=s[1],w=0;w<this._zones.length;w++){var b=this._zones[w];if(b.y1===b.y2){if(m===b.y1&&d>=b.x1&&d<b.x2)return b}else if(m===b.y1&&d>=b.x1||m===b.y2&&d<b.x2||m>b.y1&&m<b.y2)return b}},l=h([u(2,a.IBufferService),u(3,r.IMouseService),u(4,r.ISelectionService),u(5,a.IOptionsService)],l)}(o.Disposable);f.MouseZoneManager=c},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(t,s){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var w in m)m.hasOwnProperty(w)&&(d[w]=m[w])})(t,s)},function(l,t){function s(){this.constructor=l}p(l,t),l.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var h=y(18),u=y(11),o=y(31),i=y(7),r=y(2),a=y(32),c=y(17),n=function(l){function t(s,d){var m=l.call(this)||this;m._terminal=s,m._renderService=d,m._liveRegionLineCount=0,m._charsToConsume=[],m._charsToAnnounce="",m._accessibilityTreeRoot=document.createElement("div"),m._accessibilityTreeRoot.classList.add("xterm-accessibility"),m._rowContainer=document.createElement("div"),m._rowContainer.classList.add("xterm-accessibility-tree"),m._rowContainer.setAttribute("role","list"),m._rowElements=[];for(var w=0;w<m._terminal.rows;w++)m._rowElements[w]=m._createAccessibilityTreeNode(),m._rowContainer.appendChild(m._rowElements[w]);if(m._topBoundaryFocusListener=function(b){return m._onBoundaryFocus(b,0)},m._bottomBoundaryFocusListener=function(b){return m._onBoundaryFocus(b,1)},m._rowElements[0].addEventListener("focus",m._topBoundaryFocusListener),m._rowElements[m._rowElements.length-1].addEventListener("focus",m._bottomBoundaryFocusListener),m._refreshRowsDimensions(),m._accessibilityTreeRoot.appendChild(m._rowContainer),m._renderRowsDebouncer=new o.RenderDebouncer(m._renderRows.bind(m)),m._refreshRows(),m._liveRegion=document.createElement("div"),m._liveRegion.classList.add("live-region"),m._liveRegion.setAttribute("aria-live","assertive"),m._accessibilityTreeRoot.appendChild(m._liveRegion),!m._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return m._terminal.element.insertAdjacentElement("afterbegin",m._accessibilityTreeRoot),m.register(m._renderRowsDebouncer),m.register(m._terminal.onResize(function(b){return m._onResize(b.rows)})),m.register(m._terminal.onRender(function(b){return m._refreshRows(b.start,b.end)})),m.register(m._terminal.onScroll(function(){return m._refreshRows()})),m.register(m._terminal.onA11yChar(function(b){return m._onChar(b)})),m.register(m._terminal.onLineFeed(function(){return m._onChar(`
|
|
|
`)})),m.register(m._terminal.onA11yTab(function(b){return m._onTab(b)})),m.register(m._terminal.onKey(function(b){return m._onKey(b.key)})),m.register(m._terminal.onBlur(function(){return m._clearLiveRegion()})),m.register(m._renderService.onDimensionsChange(function(){return m._refreshRowsDimensions()})),m._screenDprMonitor=new a.ScreenDprMonitor,m.register(m._screenDprMonitor),m._screenDprMonitor.setListener(function(){return m._refreshRowsDimensions()}),m.register(i.addDisposableDomListener(window,"resize",function(){return m._refreshRowsDimensions()})),m}return v(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),c.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,d){var m=s.target,w=this._rowElements[d===0?1:this._rowElements.length-2];if(m.getAttribute("aria-posinset")!==(d===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===w){var b,E;if(d===0?(b=m,E=this._rowElements.pop(),this._rowContainer.removeChild(E)):(b=this._rowElements.shift(),E=m,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),E.removeEventListener("focus",this._bottomBoundaryFocusListener),d===0){var A=this._createAccessibilityTreeNode();this._rowElements.unshift(A),this._rowContainer.insertAdjacentElement("afterbegin",A)}else A=this._createAccessibilityTreeNode(),this._rowElements.push(A),this._rowContainer.appendChild(A);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(d===0?-1:1),this._rowElements[d===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},t.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var d=this._rowContainer.children.length;d<this._terminal.rows;d++)this._rowElements[d]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[d]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},t.prototype._onTab=function(s){for(var d=0;d<s;d++)this._onChar(" ")},t.prototype._onChar=function(s){var d=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+=h.tooMuchOutput)),u.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){d._accessibilityTreeRoot.appendChild(d._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,u.isMac&&c.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,d){this._renderRowsDebouncer.refresh(s,d,this._terminal.rows)},t.prototype._renderRows=function(s,d){for(var m=this._terminal.buffer,w=m.lines.length.toString(),b=s;b<=d;b++){var E=m.translateBufferLineToString(m.ydisp+b,!0),A=(m.ydisp+b+1).toString(),S=this._rowElements[b];S&&(E.length===0?S.innerHTML=" ":S.textContent=E,S.setAttribute("aria-posinset",A),S.setAttribute("aria-setsize",w))}this._announceCharacters()},t.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])}},t.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(r.Disposable);f.AccessibilityManager=n},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(w,b){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,A){E.__proto__=A}||function(E,A){for(var S in A)A.hasOwnProperty(S)&&(E[S]=A[S])})(w,b)},function(m,w){function b(){this.constructor=m}p(m,w),m.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),h=this&&this.__decorate||function(m,w,b,E){var A,S=arguments.length,T=S<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(m,w,b,E);else for(var O=m.length-1;O>=0;O--)(A=m[O])&&(T=(S<3?A(T):S>3?A(w,b,T):A(w,b))||T);return S>3&&T&&Object.defineProperty(w,b,T),T},u=this&&this.__param||function(m,w){return function(b,E){w(b,E,m)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var o=y(58),i=y(9),r=y(2),a=y(5),c=y(1),n=y(0),l=y(10),t=y(17),s=1,d=function(m){function w(b,E,A,S,T,O,x,C,_){var N=m.call(this)||this;return N._colors=b,N._element=E,N._screenElement=A,N._viewportElement=S,N._linkifier=T,N._linkifier2=O,N._charSizeService=x,N._optionsService=C,N._bufferService=_,N._terminalClass=s++,N._rowElements=[],N._rowContainer=document.createElement("div"),N._rowContainer.classList.add("xterm-rows"),N._rowContainer.style.lineHeight="normal",N._rowContainer.setAttribute("aria-hidden","true"),N._refreshRowElements(N._bufferService.cols,N._bufferService.rows),N._selectionContainer=document.createElement("div"),N._selectionContainer.classList.add("xterm-selection"),N._selectionContainer.setAttribute("aria-hidden","true"),N.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},N._updateDimensions(),N._injectCss(),N._rowFactory=new o.DomRendererRowFactory(document,N._optionsService,N._colors),N._element.classList.add("xterm-dom-renderer-owner-"+N._terminalClass),N._screenElement.appendChild(N._rowContainer),N._screenElement.appendChild(N._selectionContainer),N._linkifier.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N._linkifier2.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier2.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N}return v(w,m),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),m.prototype.dispose.call(this)},w.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 b=0,E=this._rowElements;b<E.length;b++){var A=E[b];A.style.width=this.dimensions.canvasWidth+"px",A.style.height=this.dimensions.actualCellHeight+"px",A.style.lineHeight=this.dimensions.actualCellHeight+"px",A.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"},w.prototype.setColors=function(b){this._colors=b,this._injectCss()},w.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var E=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";E+=this._terminalSelector+" span:not(."+o.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+o.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+o.ITALIC_CLASS+" { font-style: italic;}",E+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",E+="@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+"; }}",E+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+":not(."+o.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_BLINK_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+o.CURSOR_CLASS+"."+o.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",E+=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(A,S){E+=b._terminalSelector+" .xterm-fg-"+S+" { color: "+A.css+"; }"+b._terminalSelector+" .xterm-bg-"+S+" { background-color: "+A.css+"; }"}),E+=this._terminalSelector+" .xterm-fg-"+i.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+i.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=E},w.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},w.prototype._refreshRowElements=function(b,E){for(var A=this._rowElements.length;A<=E;A++){var S=document.createElement("div");this._rowContainer.appendChild(S),this._rowElements.push(S)}for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop())},w.prototype.onResize=function(b,E){this._refreshRowElements(b,E),this._updateDimensions()},w.prototype.onCharSizeChanged=function(){this._updateDimensions()},w.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},w.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},w.prototype.onSelectionChanged=function(b,E,A){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&E){var S=b[1]-this._bufferService.buffer.ydisp,T=E[1]-this._bufferService.buffer.ydisp,O=Math.max(S,0),x=Math.min(T,this._bufferService.rows-1);if(!(O>=this._bufferService.rows||x<0)){var C=document.createDocumentFragment();if(A)C.appendChild(this._createSelectionElement(O,b[0],E[0],x-O+1));else{var _=S===O?b[0]:0,N=O===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(O,_,N));var F=x-O-1;if(C.appendChild(this._createSelectionElement(O+1,0,this._bufferService.cols,F)),O!==x){var k=T===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(x,0,k))}}this._selectionContainer.appendChild(C)}}},w.prototype._createSelectionElement=function(b,E,A,S){S===void 0&&(S=1);var T=document.createElement("div");return T.style.height=S*this.dimensions.actualCellHeight+"px",T.style.top=b*this.dimensions.actualCellHeight+"px",T.style.left=E*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(A-E)+"px",T},w.prototype.onCursorMove=function(){},w.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},w.prototype.clear=function(){for(var b=0,E=this._rowElements;b<E.length;b++)E[b].innerHTML=""},w.prototype.renderRows=function(b,E){for(var A=this._bufferService.buffer.ybase+this._bufferService.buffer.y,S=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,O=b;O<=E;O++){var x=this._rowElements[O];x.innerHTML="";var C=O+this._bufferService.buffer.ydisp,_=this._bufferService.buffer.lines.get(C),N=this._optionsService.options.cursorStyle;x.appendChild(this._rowFactory.createRow(_,C===A,N,S,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(w.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),w.prototype.registerCharacterJoiner=function(b){return-1},w.prototype.deregisterCharacterJoiner=function(b){return!1},w.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},w.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},w.prototype._setCellUnderline=function(b,E,A,S,T,O){for(;b!==E||A!==S;){var x=this._rowElements[A];if(!x)return;var C=x.children[b];C&&(C.style.textDecoration=O?"underline":"none"),++b>=T&&(b=0,A++)}},w=h([u(6,a.ICharSizeService),u(7,c.IOptionsService),u(8,c.IBufferService)],w)}(r.Disposable);f.DomRenderer=d},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DomRendererRowFactory=f.CURSOR_STYLE_UNDERLINE_CLASS=f.CURSOR_STYLE_BAR_CLASS=f.CURSOR_STYLE_BLOCK_CLASS=f.CURSOR_BLINK_CLASS=f.CURSOR_CLASS=f.UNDERLINE_CLASS=f.ITALIC_CLASS=f.DIM_CLASS=f.BOLD_CLASS=void 0;var p=y(9),v=y(3),h=y(4),u=y(10);f.BOLD_CLASS="xterm-bold",f.DIM_CLASS="xterm-dim",f.ITALIC_CLASS="xterm-italic",f.UNDERLINE_CLASS="xterm-underline",f.CURSOR_CLASS="xterm-cursor",f.CURSOR_BLINK_CLASS="xterm-cursor-blink",f.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",f.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",f.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var o=function(){function r(a,c,n){this._document=a,this._optionsService=c,this._colors=n,this._workCell=new h.CellData}return r.prototype.setColors=function(a){this._colors=a},r.prototype.createRow=function(a,c,n,l,t,s,d){for(var m=this._document.createDocumentFragment(),w=0,b=Math.min(a.length,d)-1;b>=0;b--)if(a.loadCell(b,this._workCell).getCode()!==v.NULL_CELL_CODE||c&&b===l){w=b+1;break}for(b=0;b<w;b++){a.loadCell(b,this._workCell);var E=this._workCell.getWidth();if(E!==0){var A=this._document.createElement("span");if(E>1&&(A.style.width=s*E+"px"),c&&b===l)switch(A.classList.add(f.CURSOR_CLASS),t&&A.classList.add(f.CURSOR_BLINK_CLASS),n){case"bar":A.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":A.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:A.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&A.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&A.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&A.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&A.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?A.textContent=v.WHITESPACE_CELL_CHAR:A.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),O=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var _=S;S=O,O=_;var N=T;T=x,x=N}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(A,this._colors.background,this._colors.ansi[S])||A.classList.add("xterm-fg-"+S);break;case 50331648:var F=u.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(A,this._colors.background,F)||this._addStyle(A,"color:#"+i(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(A,this._colors.background,this._colors.foreground)||C&&A.classList.add("xterm-fg-"+p.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:A.classList.add("xterm-bg-"+O);break;case 50331648:this._addStyle(A,"background-color:#"+i(O.toString(16),"0",6));break;case 0:default:C&&A.classList.add("xterm-bg-"+p.INVERTED_DEFAULT_COLOR)}m.appendChild(A)}}return m},r.prototype._applyMinimumContrast=function(a,c,n){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=u.color.ensureContrastRatio(c,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(a,"color:"+l.css),!0)},r.prototype._addStyle=function(a,c){a.setAttribute("style",""+(a.getAttribute("style")||"")+c+";")},r}();function i(r,a,c){for(;r.length<c;)r=a+r;return r}f.DomRendererRowFactory=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var p=y(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:["'",'"']};f.evaluateKeyboardEvent=function(h,u,o,i){var r={type:0,cancel:!1,key:void 0},a=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?r.key=u?p.C0.ESC+"OA":p.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?r.key=u?p.C0.ESC+"OD":p.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?r.key=u?p.C0.ESC+"OC":p.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(r.key=u?p.C0.ESC+"OB":p.C0.ESC+"[B");break;case 8:if(h.shiftKey){r.key=p.C0.BS;break}if(h.altKey){r.key=p.C0.ESC+p.C0.DEL;break}r.key=p.C0.DEL;break;case 9:if(h.shiftKey){r.key=p.C0.ESC+"[Z";break}r.key=p.C0.HT,r.cancel=!0;break;case 13:r.key=h.altKey?p.C0.ESC+p.C0.CR:p.C0.CR,r.cancel=!0;break;case 27:r.key=p.C0.ESC,h.altKey&&(r.key=p.C0.ESC+p.C0.ESC),r.cancel=!0;break;case 37:if(h.metaKey)break;a?(r.key=p.C0.ESC+"[1;"+(a+1)+"D",r.key===p.C0.ESC+"[1;3D"&&(r.key=p.C0.ESC+(o?"b":"[1;5D"))):r.key=u?p.C0.ESC+"OD":p.C0.ESC+"[D";break;case 39:if(h.metaKey)break;a?(r.key=p.C0.ESC+"[1;"+(a+1)+"C",r.key===p.C0.ESC+"[1;3C"&&(r.key=p.C0.ESC+(o?"f":"[1;5C"))):r.key=u?p.C0.ESC+"OC":p.C0.ESC+"[C";break;case 38:if(h.metaKey)break;a?(r.key=p.C0.ESC+"[1;"+(a+1)+"A",o||r.key!==p.C0.ESC+"[1;3A"||(r.key=p.C0.ESC+"[1;5A")):r.key=u?p.C0.ESC+"OA":p.C0.ESC+"[A";break;case 40:if(h.metaKey)break;a?(r.key=p.C0.ESC+"[1;"+(a+1)+"B",o||r.key!==p.C0.ESC+"[1;3B"||(r.key=p.C0.ESC+"[1;5B")):r.key=u?p.C0.ESC+"OB":p.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(r.key=p.C0.ESC+"[2~");break;case 46:r.key=a?p.C0.ESC+"[3;"+(a+1)+"~":p.C0.ESC+"[3~";break;case 36:r.key=a?p.C0.ESC+"[1;"+(a+1)+"H":u?p.C0.ESC+"OH":p.C0.ESC+"[H";break;case 35:r.key=a?p.C0.ESC+"[1;"+(a+1)+"F":u?p.C0.ESC+"OF":p.C0.ESC+"[F";break;case 33:h.shiftKey?r.type=2:r.key=p.C0.ESC+"[5~";break;case 34:h.shiftKey?r.type=3:r.key=p.C0.ESC+"[6~";break;case 112:r.key=a?p.C0.ESC+"[1;"+(a+1)+"P":p.C0.ESC+"OP";break;case 113:r.key=a?p.C0.ESC+"[1;"+(a+1)+"Q":p.C0.ESC+"OQ";break;case 114:r.key=a?p.C0.ESC+"[1;"+(a+1)+"R":p.C0.ESC+"OR";break;case 115:r.key=a?p.C0.ESC+"[1;"+(a+1)+"S":p.C0.ESC+"OS";break;case 116:r.key=a?p.C0.ESC+"[15;"+(a+1)+"~":p.C0.ESC+"[15~";break;case 117:r.key=a?p.C0.ESC+"[17;"+(a+1)+"~":p.C0.ESC+"[17~";break;case 118:r.key=a?p.C0.ESC+"[18;"+(a+1)+"~":p.C0.ESC+"[18~";break;case 119:r.key=a?p.C0.ESC+"[19;"+(a+1)+"~":p.C0.ESC+"[19~";break;case 120:r.key=a?p.C0.ESC+"[20;"+(a+1)+"~":p.C0.ESC+"[20~";break;case 121:r.key=a?p.C0.ESC+"[21;"+(a+1)+"~":p.C0.ESC+"[21~";break;case 122:r.key=a?p.C0.ESC+"[23;"+(a+1)+"~":p.C0.ESC+"[23~";break;case 123:r.key=a?p.C0.ESC+"[24;"+(a+1)+"~":p.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(o&&!i||!h.altKey||h.metaKey)o&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(r.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?r.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(r.key=p.C0.US);else{var c=v[h.keyCode],n=c&&c[h.shiftKey?1:0];if(n)r.key=p.C0.ESC+n;else if(h.keyCode>=65&&h.keyCode<=90){var l=h.ctrlKey?h.keyCode-64:h.keyCode+32;r.key=p.C0.ESC+String.fromCharCode(l)}}else h.keyCode>=65&&h.keyCode<=90?r.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?r.key=p.C0.NUL:h.keyCode>=51&&h.keyCode<=55?r.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?r.key=p.C0.DEL:h.keyCode===219?r.key=p.C0.ESC:h.keyCode===220?r.key=p.C0.FS:h.keyCode===221&&(r.key=p.C0.GS)}return r}},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(d,m){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var E in b)b.hasOwnProperty(E)&&(w[E]=b[E])})(d,m)},function(s,d){function m(){this.constructor=s}p(s,d),s.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)}),h=this&&this.__decorate||function(s,d,m,w){var b,E=arguments.length,A=E<3?d:w===null?w=Object.getOwnPropertyDescriptor(d,m):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(s,d,m,w);else for(var S=s.length-1;S>=0;S--)(b=s[S])&&(A=(E<3?b(A):E>3?b(d,m,A):b(d,m))||A);return E>3&&A&&Object.defineProperty(d,m,A),A},u=this&&this.__param||function(s,d){return function(m,w){d(m,w,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var o=y(31),i=y(0),r=y(2),a=y(32),c=y(7),n=y(1),l=y(5),t=function(s){function d(m,w,b,E,A,S){var T=s.call(this)||this;if(T._renderer=m,T._rowCount=w,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new i.EventEmitter,T._onRender=new i.EventEmitter,T._onRefreshRequest=new i.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new o.RenderDebouncer(function(x,C){return T._renderRows(x,C)}),T.register(T._renderDebouncer),T._screenDprMonitor=new a.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(S.onResize(function(x){return T._fullRefresh()})),T.register(E.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(A.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(x){return T.refreshRows(x.start,x.end,!0)}),T.register(c.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var O=new IntersectionObserver(function(x){return T._onIntersectionChange(x[x.length-1])},{threshold:0});O.observe(b),T.register({dispose:function(){return O.disconnect()}})}return T}return v(d,s),Object.defineProperty(d.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),d.prototype._onIntersectionChange=function(m){this._isPaused=m.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},d.prototype.refreshRows=function(m,w,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(m,w,this._rowCount))},d.prototype._renderRows=function(m,w){this._renderer.renderRows(m,w),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:m,end:w}),this._isNextRenderRedrawOnly=!0},d.prototype.resize=function(m,w){this._rowCount=w,this._fireOnCanvasResize()},d.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},d.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},d.prototype.dispose=function(){s.prototype.dispose.call(this)},d.prototype.setRenderer=function(m){var w=this;this._renderer.dispose(),this._renderer=m,this._renderer.onRequestRedraw(function(b){return w.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},d.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},d.prototype.setColors=function(m){this._renderer.setColors(m),this._fullRefresh()},d.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},d.prototype.onResize=function(m,w){this._renderer.onResize(m,w),this._fullRefresh()},d.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},d.prototype.onBlur=function(){this._renderer.onBlur()},d.prototype.onFocus=function(){this._renderer.onFocus()},d.prototype.onSelectionChanged=function(m,w,b){this._selectionState.start=m,this._selectionState.end=w,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(m,w,b)},d.prototype.onCursorMove=function(){this._renderer.onCursorMove()},d.prototype.clear=function(){this._renderer.clear()},d.prototype.registerCharacterJoiner=function(m){return this._renderer.registerCharacterJoiner(m)},d.prototype.deregisterCharacterJoiner=function(m){return this._renderer.deregisterCharacterJoiner(m)},d=h([u(3,n.IOptionsService),u(4,l.ICharSizeService),u(5,n.IBufferService)],d)}(r.Disposable);f.RenderService=t},function(g,f,y){"use strict";var p=this&&this.__decorate||function(r,a,c,n){var l,t=arguments.length,s=t<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,c):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,a,c,n);else for(var d=r.length-1;d>=0;d--)(l=r[d])&&(s=(t<3?l(s):t>3?l(a,c,s):l(a,c))||s);return t>3&&s&&Object.defineProperty(a,c,s),s},v=this&&this.__param||function(r,a){return function(c,n){a(c,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var h=y(1),u=y(0),o=function(){function r(a,c,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new u.EventEmitter,this._measureStrategy=new i(a,c,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.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())},r=p([v(2,h.IOptionsService)],r)}();f.CharSizeService=o;var i=function(){function r(a,c,n){this._document=a,this._parentElement=c,this._optionsService=n,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 r.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},r}()},function(g,f,y){"use strict";var p=this&&this.__decorate||function(i,r,a,c){var n,l=arguments.length,t=l<3?r:c===null?c=Object.getOwnPropertyDescriptor(r,a):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,r,a,c);else for(var s=i.length-1;s>=0;s--)(n=i[s])&&(t=(l<3?n(t):l>3?n(r,a,t):n(r,a))||t);return l>3&&t&&Object.defineProperty(r,a,t),t},v=this&&this.__param||function(i,r){return function(a,c){r(a,c,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var h=y(5),u=y(30),o=function(){function i(r,a){this._renderService=r,this._charSizeService=a}return i.prototype.getCoords=function(r,a,c,n,l){return u.getCoords(r,a,c,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},i.prototype.getRawByteCoords=function(r,a,c,n){var l=this.getCoords(r,a,c,n);return u.getRawByteCoords(l)},i=p([v(0,h.IRenderService),v(1,h.ICharSizeService)],i)}();f.MouseService=o},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var d,m=arguments.length,w=m<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(d=n[b])&&(w=(m<3?d(w):m>3?d(l,t,w):d(l,t))||w);return m>3&&w&&Object.defineProperty(l,t,w),w},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var o=y(1),i=y(0),r=y(2),a=y(7),c=function(n){function l(t){var s=n.call(this)||this;return s._bufferService=t,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new i.EventEmitter),s._onHideLinkUnderline=s.register(new i.EventEmitter),s.register(r.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return v(l,n),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(t){var s=this;return this._linkProviders.push(t),{dispose:function(){var m=s._linkProviders.indexOf(t);m!==-1&&s._linkProviders.splice(m,1)}}},l.prototype.attachToDom=function(t,s,d){var m=this;this._element=t,this._mouseService=s,this._renderService=d,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){m._isMouseOut=!0,m._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var d=t.composedPath(),m=0;m<d.length;m++){var w=d[m];if(w.classList.contains("xterm"))break;if(w.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},l.prototype._askForLink=function(t,s){var d=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var m=!1;this._linkProviders.forEach(function(w,b){var E;s?((E=d._activeProviderReplies)===null||E===void 0?void 0:E.get(b))&&(m=d._checkLinkProviderResult(b,t,m)):w.provideLinks(t.y,function(A){var S,T;if(!d._isMouseOut){var O=A==null?void 0:A.map(function(x){return{link:x}});(S=d._activeProviderReplies)===null||S===void 0||S.set(b,O),m=d._checkLinkProviderResult(b,t,m),((T=d._activeProviderReplies)===null||T===void 0?void 0:T.size)===d._linkProviders.length&&d._removeIntersectingLinks(t.y,d._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,s){for(var d=new Set,m=0;m<s.size;m++){var w=s.get(m);if(w)for(var b=0;b<w.length;b++)for(var E=w[b],A=E.link.range.start.y<t?0:E.link.range.start.x,S=E.link.range.end.y>t?this._bufferService.cols:E.link.range.end.x,T=A;T<=S;T++){if(d.has(T)){w.splice(b--,1);break}d.add(T)}}},l.prototype._checkLinkProviderResult=function(t,s,d){var m,w=this;if(!this._activeProviderReplies)return d;for(var b=this._activeProviderReplies.get(t),E=!1,A=0;A<t;A++)this._activeProviderReplies.has(A)&&!this._activeProviderReplies.get(A)||(E=!0);if(!E&&b){var S=b.find(function(O){return w._linkAtPosition(O.link,s)});S&&(d=!0,this._handleNewLink(S))}if(this._activeProviderReplies.size===this._linkProviders.length&&!d)for(A=0;A<this._activeProviderReplies.size;A++){var T=(m=this._activeProviderReplies.get(A))===null||m===void 0?void 0:m.find(function(O){return w._linkAtPosition(O.link,s)});if(T){d=!0,this._handleNewLink(T);break}}return d},l.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(t,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!s||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(t){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var d=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);d&&this._linkAtPosition(t.link,d)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.pointerCursor},set:function(w){var b,E;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&s._currentLink.state.decorations.pointerCursor!==w&&(s._currentLink.state.decorations.pointerCursor=w,s._currentLink.state.isHovered&&((E=s._element)===null||E===void 0||E.classList.toggle("xterm-cursor-pointer",w)))}},underline:{get:function(){var w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline},set:function(w){var b,E,A;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&((A=(E=s._currentLink)===null||E===void 0?void 0:E.state)===null||A===void 0?void 0:A.decorations.underline)!==w&&(s._currentLink.state.decorations.underline=w,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,w))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(m){var w=m.start===0?0:m.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(w,m.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,s,d){var m;((m=this._currentLink)===null||m===void 0?void 0:m.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(d,s.text)},l.prototype._fireUnderlineEvent=function(t,s){var d=t.range,m=this._bufferService.buffer.ydisp,w=this._createLinkUnderlineEvent(d.start.x-1,d.start.y-m-1,d.end.x,d.end.y-m-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(w)},l.prototype._linkLeave=function(t,s,d){var m;((m=this._currentLink)===null||m===void 0?void 0:m.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(d,s.text)},l.prototype._linkAtPosition=function(t,s){var d=t.range.start.y===t.range.end.y,m=t.range.start.y<s.y,w=t.range.end.y>s.y;return(d&&t.range.start.x<=s.x&&t.range.end.x>=s.x||m&&t.range.end.x>=s.x||w&&t.range.start.x<=s.x||m&&w)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(t,s,d){var m=d.getCoords(t,s,this._bufferService.cols,this._bufferService.rows);if(m)return{x:m[0],y:m[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(t,s,d,m,w){return{x1:t,y1:s,x2:d,y2:m,cols:this._bufferService.cols,fg:w}},l=h([u(0,o.IBufferService)],l)}(r.Disposable);f.Linkifier2=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var p=function(){function v(h){this._textarea=h}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();f.CoreBrowserService=p},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(S,T){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,x){O.__proto__=x}||function(O,x){for(var C in x)x.hasOwnProperty(C)&&(O[C]=x[C])})(S,T)},function(A,S){function T(){this.constructor=A}p(A,S),A.prototype=S===null?Object.create(S):(T.prototype=S.prototype,new T)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=y(2),u=y(1),o=y(66),i=y(67),r=y(68),a=y(74),c=y(75),n=y(0),l=y(76),t=y(77),s=y(78),d=y(80),m=y(81),w=y(19),b=y(82),E=function(A){function S(T){var O=A.call(this)||this;return O._onBinary=new n.EventEmitter,O._onData=new n.EventEmitter,O._onLineFeed=new n.EventEmitter,O._onResize=new n.EventEmitter,O._onScroll=new n.EventEmitter,O._instantiationService=new o.InstantiationService,O.optionsService=new a.OptionsService(T),O._instantiationService.setService(u.IOptionsService,O.optionsService),O._bufferService=O.register(O._instantiationService.createInstance(r.BufferService)),O._instantiationService.setService(u.IBufferService,O._bufferService),O._logService=O._instantiationService.createInstance(i.LogService),O._instantiationService.setService(u.ILogService,O._logService),O._coreService=O.register(O._instantiationService.createInstance(c.CoreService,function(){return O.scrollToBottom()})),O._instantiationService.setService(u.ICoreService,O._coreService),O._coreMouseService=O._instantiationService.createInstance(l.CoreMouseService),O._instantiationService.setService(u.ICoreMouseService,O._coreMouseService),O._dirtyRowService=O._instantiationService.createInstance(t.DirtyRowService),O._instantiationService.setService(u.IDirtyRowService,O._dirtyRowService),O.unicodeService=O._instantiationService.createInstance(s.UnicodeService),O._instantiationService.setService(u.IUnicodeService,O.unicodeService),O._charsetService=O._instantiationService.createInstance(d.CharsetService),O._instantiationService.setService(u.ICharsetService,O._charsetService),O._inputHandler=new w.InputHandler(O._bufferService,O._charsetService,O._coreService,O._dirtyRowService,O._logService,O.optionsService,O._coreMouseService,O.unicodeService),O.register(n.forwardEvent(O._inputHandler.onLineFeed,O._onLineFeed)),O.register(O._inputHandler),O.register(n.forwardEvent(O._bufferService.onResize,O._onResize)),O.register(n.forwardEvent(O._coreService.onData,O._onData)),O.register(n.forwardEvent(O._coreService.onBinary,O._onBinary)),O.register(O.optionsService.onOptionChange(function(x){return O._updateOptions(x)})),O._writeBuffer=new b.WriteBuffer(function(x){return O._inputHandler.parse(x)}),O}return v(S,A),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 T;this._isDisposed||(A.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},S.prototype.write=function(T,O){this._writeBuffer.write(T,O)},S.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},S.prototype.resize=function(T,O){isNaN(T)||isNaN(O)||(T=Math.max(T,r.MINIMUM_COLS),O=Math.max(O,r.MINIMUM_ROWS),this._bufferService.resize(T,O))},S.prototype.scroll=function(T,O){O===void 0&&(O=!1);var x,C=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===T.fg&&x.getBg(0)===T.bg||(x=C.getBlankLine(T,O),this._cachedBlankLine=x),x.isWrapped=O;var _=C.ybase+C.scrollTop,N=C.ybase+C.scrollBottom;if(C.scrollTop===0){var F=C.lines.isFull;N===C.lines.length-1?F?C.lines.recycle().copyFrom(x):C.lines.push(x.clone()):C.lines.splice(N+1,0,x.clone()),F?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var k=N-_+1;C.lines.shiftElements(_+1,k-1,-1),C.lines.set(N,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,O){var x=this._bufferService.buffer;if(T<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var C=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+T,x.ybase),0),C!==x.ydisp&&(O||this._onScroll.fire(x.ydisp))},S.prototype.scrollPages=function(T){this.scrollLines(T*(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(T){var O=T-this._bufferService.buffer.ydisp;O!==0&&this.scrollLines(O)},S.prototype.addEscHandler=function(T,O){return this._inputHandler.addEscHandler(T,O)},S.prototype.addDcsHandler=function(T,O){return this._inputHandler.addDcsHandler(T,O)},S.prototype.addCsiHandler=function(T,O){return this._inputHandler.addCsiHandler(T,O)},S.prototype.addOscHandler=function(T,O){return this._inputHandler.addOscHandler(T,O)},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(T){var O;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((O=this._windowsMode)===null||O===void 0||O.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var O=[];O.push(this.onLineFeed(m.updateWindowsModeWrappedState.bind(null,this._bufferService))),O.push(this.addCsiHandler({final:"H"},function(){return m.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,_=O;C<_.length;C++)_[C].dispose()}}}},S}(h.Disposable);f.CoreTerminal=E},function(g,f,y){"use strict";var p=this&&this.__spreadArrays||function(){for(var i=0,r=0,a=arguments.length;r<a;r++)i+=arguments[r].length;var c=Array(i),n=0;for(r=0;r<a;r++)for(var l=arguments[r],t=0,s=l.length;t<s;t++,n++)c[n]=l[t];return c};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var v=y(1),h=y(14),u=function(){function i(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];this._entries=new Map;for(var c=0,n=r;c<n.length;c++){var l=n[c],t=l[0],s=l[1];this.set(t,s)}}return i.prototype.set=function(r,a){var c=this._entries.get(r);return this._entries.set(r,a),c},i.prototype.forEach=function(r){this._entries.forEach(function(a,c){return r(c,a)})},i.prototype.has=function(r){return this._entries.has(r)},i.prototype.get=function(r){return this._entries.get(r)},i}();f.ServiceCollection=u;var o=function(){function i(){this._services=new u,this._services.set(v.IInstantiationService,this)}return i.prototype.setService=function(r,a){this._services.set(r,a)},i.prototype.getService=function(r){return this._services.get(r)},i.prototype.createInstance=function(r){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];for(var n=h.getServiceDependencies(r).sort(function(b,E){return b.index-E.index}),l=[],t=0,s=n;t<s.length;t++){var d=s[t],m=this._services.get(d.id);if(!m)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+d.id+".");l.push(m)}var w=n.length>0?n[0].index:a.length;if(a.length!==w)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(w+1)+" conflicts with "+a.length+" static arguments");return new(r.bind.apply(r,p([void 0],p(a,l))))},i}();f.InstantiationService=o},function(g,f,y){"use strict";var p=this&&this.__decorate||function(a,c,n,l){var t,s=arguments.length,d=s<3?c:l===null?l=Object.getOwnPropertyDescriptor(c,n):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(a,c,n,l);else for(var m=a.length-1;m>=0;m--)(t=a[m])&&(d=(s<3?t(d):s>3?t(c,n,d):t(c,n))||d);return s>3&&d&&Object.defineProperty(c,n,d),d},v=this&&this.__param||function(a,c){return function(n,l){c(n,l,a)}},h=this&&this.__spreadArrays||function(){for(var a=0,c=0,n=arguments.length;c<n;c++)a+=arguments[c].length;var l=Array(a),t=0;for(c=0;c<n;c++)for(var s=arguments[c],d=0,m=s.length;d<m;d++,t++)l[t]=s[d];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var u,o=y(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"}(u=f.LogLevel||(f.LogLevel={}));var i={debug:u.DEBUG,info:u.INFO,warn:u.WARN,error:u.ERROR,off:u.OFF},r=function(){function a(c){var n=this;this._optionsService=c,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&n._updateLogLevel()})}return a.prototype._updateLogLevel=function(){this._logLevel=i[this._optionsService.options.logLevel]},a.prototype._evalLazyOptionalParams=function(c){for(var n=0;n<c.length;n++)typeof c[n]=="function"&&(c[n]=c[n]())},a.prototype._log=function(c,n,l){this._evalLazyOptionalParams(l),c.call.apply(c,h([console,"xterm.js: "+n],l))},a.prototype.debug=function(c){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.DEBUG&&this._log(console.log,c,n)},a.prototype.info=function(c){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.INFO&&this._log(console.info,c,n)},a.prototype.warn=function(c){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.WARN&&this._log(console.warn,c,n)},a.prototype.error=function(c){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.ERROR&&this._log(console.error,c,n)},a=p([v(0,o.IOptionsService)],a)}();f.LogService=r},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(l,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var m in d)d.hasOwnProperty(m)&&(s[m]=d[m])})(l,t)},function(n,l){function t(){this.constructor=n}p(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var d,m=arguments.length,w=m<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(d=n[b])&&(w=(m<3?d(w):m>3?d(l,t,w):d(l,t))||w);return m>3&&w&&Object.defineProperty(l,t,w),w},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var o=y(1),i=y(69),r=y(0),a=y(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var c=function(n){function l(t){var s=n.call(this)||this;return s._optionsService=t,s.isUserScrolling=!1,s._onResize=new r.EventEmitter,s.cols=Math.max(t.options.cols,f.MINIMUM_COLS),s.rows=Math.max(t.options.rows,f.MINIMUM_ROWS),s.buffers=new i.BufferSet(t,s),s}return v(l,n),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){n.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(t,s){this.cols=t,this.rows=s,this.buffers.resize(t,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new i.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([u(0,o.IOptionsService)],l)}(a.Disposable);f.BufferService=c},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(r,a){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,n){c.__proto__=n}||function(c,n){for(var l in n)n.hasOwnProperty(l)&&(c[l]=n[l])})(r,a)},function(i,r){function a(){this.constructor=i}p(i,r),i.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var h=y(70),u=y(0),o=function(i){function r(a,c){var n=i.call(this)||this;return n._onBufferActivate=n.register(new u.EventEmitter),n._normal=new h.Buffer(!0,a,c),n._normal.fillViewportRows(),n._alt=new h.Buffer(!1,a,c),n._activeBuffer=n._normal,n.setupTabStops(),n}return v(r,i),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.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}))},r.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}))},r.prototype.resize=function(a,c){this._normal.resize(a,c),this._alt.resize(a,c)},r.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},r}(y(2).Disposable);f.BufferSet=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var p=y(71),v=y(16),h=y(4),u=y(3),o=y(72),i=y(73),r=y(20),a=y(6);f.MAX_BUFFER_SIZE=4294967295;var c=function(){function l(t,s,d){this._hasScrollback=t,this._optionsService=s,this._bufferService=d,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=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,u.NULL_CELL_CHAR,u.NULL_CELL_WIDTH,u.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,u.WHITESPACE_CELL_CHAR,u.WHITESPACE_CELL_WIDTH,u.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 l.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new a.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new a.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(t,s){return new v.BufferLine(this._bufferService.cols,this.getNullCell(t),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var s=t+this._optionsService.options.scrollback;return s>f.MAX_BUFFER_SIZE?f.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=v.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(t))}},l.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()},l.prototype.resize=function(t,s){var d=this.getNullCell(v.DEFAULT_ATTR_DATA),m=this._getCorrectBufferLength(s);if(m>this.lines.maxLength&&(this.lines.maxLength=m),this.lines.length>0){if(this._cols<t)for(var w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,d);var b=0;if(this._rows<s)for(var E=this._rows;E<s;E++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,d)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,d)));else for(E=this._rows;E>s;E--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(m<this.lines.maxLength){var A=this.lines.length-m;A>0&&(this.lines.trimStart(A),this.ybase=Math.max(this.ybase-A,0),this.ydisp=Math.max(this.ydisp-A,0),this.savedY=Math.max(this.savedY-A,0)),this.lines.maxLength=m}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(t,s),this._cols>t))for(w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,d);this._cols=t,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(t,s){this._cols!==t&&(t>this._cols?this._reflowLarger(t,s):this._reflowSmaller(t,s))},l.prototype._reflowLarger=function(t,s){var d=o.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(d.length>0){var m=o.reflowLargerCreateNewLayout(this.lines,d);o.reflowLargerApplyNewLayout(this.lines,m.layout),this._reflowLargerAdjustViewport(t,s,m.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,s,d){for(var m=this.getNullCell(v.DEFAULT_ATTR_DATA),w=d;w-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new v.BufferLine(t,m))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-d,0)},l.prototype._reflowSmaller=function(t,s){for(var d=this.getNullCell(v.DEFAULT_ATTR_DATA),m=[],w=0,b=this.lines.length-1;b>=0;b--){var E=this.lines.get(b);if(!(!E||!E.isWrapped&&E.getTrimmedLength()<=t)){for(var A=[E];E.isWrapped&&b>0;)E=this.lines.get(--b),A.unshift(E);var S=this.ybase+this.y;if(!(S>=b&&S<b+A.length)){var T=A[A.length-1].getTrimmedLength(),O=o.reflowSmallerGetNewLineLengths(A,this._cols,t),x=O.length-A.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 _=[],N=0;N<x;N++){var F=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);_.push(F)}_.length>0&&(m.push({start:b+A.length+w,newLines:_}),w+=_.length),A.push.apply(A,_);var k=O.length-1,P=O[k];P===0&&(P=O[--k]);for(var j=A.length-x-1,K=T;j>=0;){var R=Math.min(K,P);if(A[k].copyCellsFrom(A[j],K-R,P-R,R,!0),(P-=R)===0&&(P=O[--k]),(K-=R)===0){j--;var B=Math.max(j,0);K=o.getWrappedLineTrimmedLength(A,B,this._cols)}}for(N=0;N<A.length;N++)O[N]<t&&A[N].setCell(O[N],d);for(var U=x-C;U-- >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+w)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+s-1)}}}if(m.length>0){var H=[],W=[];for(N=0;N<this.lines.length;N++)W.push(this.lines.get(N));var V=this.lines.length,z=V-1,X=0,q=m[X];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+w);var fe=0;for(N=Math.min(this.lines.maxLength-1,V+w-1);N>=0;N--)if(q&&q.start>z+fe){for(var G=q.newLines.length-1;G>=0;G--)this.lines.set(N--,q.newLines[G]);N++,H.push({index:z+1,amount:q.newLines.length}),fe+=q.newLines.length,q=m[++X]}else this.lines.set(N,W[z--]);var ve=0;for(N=H.length-1;N>=0;N--)H[N].index+=ve,this.lines.onInsertEmitter.fire(H[N]),ve+=H[N].amount;var Se=Math.max(0,V+w-this.lines.maxLength);Se>0&&this.lines.onTrimEmitter.fire(Se)}},l.prototype.stringIndexToBufferIndex=function(t,s,d){for(d===void 0&&(d=!1);s;){var m=this.lines.get(t);if(!m)return[-1,-1];for(var w=d?m.getTrimmedLength():m.length,b=0;b<w;++b)if(m.get(b)[u.CHAR_DATA_WIDTH_INDEX]&&(s-=m.get(b)[u.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,b];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,d,m){d===void 0&&(d=0);var w=this.lines.get(t);return w?w.translateToString(s,d,m):""},l.prototype.getWrappedRangeForLine=function(t){for(var s=t,d=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;d+1<this.lines.length&&this.lines.get(d+1).isWrapped;)d++;return{first:s,last:d}},l.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},l.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.addMarker=function(t){var s=this,d=new i.Marker(t);return this.markers.push(d),d.register(this.lines.onTrim(function(m){d.line-=m,d.line<0&&d.dispose()})),d.register(this.lines.onInsert(function(m){d.line>=m.index&&(d.line+=m.amount)})),d.register(this.lines.onDelete(function(m){d.line>=m.index&&d.line<m.index+m.amount&&d.dispose(),d.line>m.index&&(d.line-=m.amount)})),d.register(d.onDispose(function(){return s._removeMarker(d)})),d},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,s,d,m,w){return new n(this,t,s,d,m,w)},l}();f.Buffer=c;var n=function(){function l(t,s,d,m,w,b){d===void 0&&(d=0),m===void 0&&(m=t.lines.length),w===void 0&&(w=0),b===void 0&&(b=0),this._buffer=t,this._trimRight=s,this._startIndex=d,this._endIndex=m,this._startOverscan=w,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var s="",d=t.first;d<=t.last;++d)s+=this._buffer.translateBufferLineToString(d,this._trimRight);return this._current=t.last+1,{range:t,content:s}},l}();f.BufferStringIterator=n},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var p=y(0),v=function(){function h(u){this._maxLength=u,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(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(o){if(this._maxLength!==o){for(var i=new Array(o),r=0;r<Math.min(o,this.length);r++)i[r]=this._array[this._getCyclicIndex(r)];this._array=i,this._maxLength=o,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(o){if(o>this._length)for(var i=this._length;i<o;i++)this._array[i]=void 0;this._length=o},enumerable:!1,configurable:!0}),h.prototype.get=function(u){return this._array[this._getCyclicIndex(u)]},h.prototype.set=function(u,o){this._array[this._getCyclicIndex(u)]=o},h.prototype.push=function(u){this._array[this._getCyclicIndex(this._length)]=u,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.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(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(u,o){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(o){for(var a=u;a<this._length-o;a++)this._array[this._getCyclicIndex(a)]=this._array[this._getCyclicIndex(a+o)];this._length-=o}for(a=this._length-1;a>=u;a--)this._array[this._getCyclicIndex(a+i.length)]=this._array[this._getCyclicIndex(a)];for(a=0;a<i.length;a++)this._array[this._getCyclicIndex(u+a)]=i[a];if(this._length+i.length>this._maxLength){var c=this._length+i.length-this._maxLength;this._startIndex+=c,this._length=this._maxLength,this.onTrimEmitter.fire(c)}else this._length+=i.length},h.prototype.trimStart=function(u){u>this._length&&(u=this._length),this._startIndex+=u,this._length-=u,this.onTrimEmitter.fire(u)},h.prototype.shiftElements=function(u,o,i){if(!(o<=0)){if(u<0||u>=this._length)throw new Error("start argument out of range");if(u+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var r=o-1;r>=0;r--)this.set(u+r+i,this.get(u+r));var a=u+o+i-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<o;r++)this.set(u+r+i,this.get(u+r))}},h.prototype._getCyclicIndex=function(u){return(this._startIndex+u)%this._maxLength},h}();f.CircularList=v},function(g,f,y){"use strict";function p(v,h,u){if(h===v.length-1)return v[h].getTrimmedLength();var o=!v[h].hasContent(u-1)&&v[h].getWidth(u-1)===1,i=v[h+1].getWidth(0)===2;return o&&i?u-1:u}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(v,h,u,o,i){for(var r=[],a=0;a<v.length-1;a++){var c=a,n=v.get(++c);if(n.isWrapped){for(var l=[v.get(a)];c<v.length&&n.isWrapped;)l.push(n),n=v.get(++c);if(o>=a&&o<c)a+=l.length-1;else{for(var t=0,s=p(l,t,h),d=1,m=0;d<l.length;){var w=p(l,d,h),b=w-m,E=u-s,A=Math.min(b,E);l[t].copyCellsFrom(l[d],m,s,A,!1),(s+=A)===u&&(t++,s=0),(m+=A)===w&&(d++,m=0),s===0&&t!==0&&l[t-1].getWidth(u-1)===2&&(l[t].copyCellsFrom(l[t-1],u-1,s++,1,!1),l[t-1].setCell(u-1,i))}l[t].replaceCells(s,u,i);for(var S=0,T=l.length-1;T>0&&(T>t||l[T].getTrimmedLength()===0);T--)S++;S>0&&(r.push(a+l.length-S),r.push(S)),a+=l.length-1}}}return r},f.reflowLargerCreateNewLayout=function(v,h){for(var u=[],o=0,i=h[o],r=0,a=0;a<v.length;a++)if(i===a){var c=h[++o];v.onDeleteEmitter.fire({index:a-r,amount:c}),a+=c-1,r+=c,i=h[++o]}else u.push(a);return{layout:u,countRemoved:r}},f.reflowLargerApplyNewLayout=function(v,h){for(var u=[],o=0;o<h.length;o++)u.push(v.get(h[o]));for(o=0;o<u.length;o++)v.set(o,u[o]);v.length=h.length},f.reflowSmallerGetNewLineLengths=function(v,h,u){for(var o=[],i=v.map(function(s,d){return p(v,d,h)}).reduce(function(s,d){return s+d}),r=0,a=0,c=0;c<i;){if(i-c<u){o.push(i-c);break}r+=u;var n=p(v,a,h);r>n&&(r-=n,a++);var l=v[a].getWidth(r-1)===2;l&&r--;var t=l?u-1:u;o.push(t),c+=t}return o},f.getWrappedLineTrimmedLength=p},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(i,r){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var n in c)c.hasOwnProperty(n)&&(a[n]=c[n])})(i,r)},function(o,i){function r(){this.constructor=o}p(o,i),o.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var h=y(0),u=function(o){function i(r){var a=o.call(this)||this;return a.line=r,a._id=i._nextId++,a.isDisposed=!1,a._onDispose=new h.EventEmitter,a}return v(i,o),Object.defineProperty(i.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},i._nextId=1,i}(y(2).Disposable);f.Marker=u},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var p=y(0),v=y(11),h=y(33);f.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",f.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:f.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 u=["cols","rows"],o=function(){function i(r){this._onOptionChange=new p.EventEmitter,this.options=h.clone(f.DEFAULT_OPTIONS);for(var a=0,c=Object.keys(r);a<c.length;a++){var n=c[a];if(n in this.options){var l=r[n];this.options[n]=l}}}return Object.defineProperty(i.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),i.prototype.setOption=function(r,a){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(u.indexOf(r)!==-1)throw new Error('Option "'+r+'" can only be set in the constructor');this.options[r]!==a&&(a=this._sanitizeAndValidateOption(r,a),this.options[r]!==a&&(this.options[r]=a,this._onOptionChange.fire(r)))},i.prototype._sanitizeAndValidateOption=function(r,a){switch(r){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":a||(a=f.DEFAULT_OPTIONS[r]);break;case"cursorWidth":a=Math.floor(a);case"lineHeight":case"tabStopWidth":if(a<1)throw new Error(r+" 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(r+" cannot be less than 0, value: "+a);break;case"fastScrollSensitivity":case"scrollSensitivity":if(a<=0)throw new Error(r+" cannot be less than or equal to 0, value: "+a)}return a},i.prototype.getOption=function(r){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},i}();f.OptionsService=o},function(g,f,y){"use strict";var p,v=this&&this.__extends||(p=function(s,d){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,w){m.__proto__=w}||function(m,w){for(var b in w)w.hasOwnProperty(b)&&(m[b]=w[b])})(s,d)},function(t,s){function d(){this.constructor=t}p(t,s),t.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}),h=this&&this.__decorate||function(t,s,d,m){var w,b=arguments.length,E=b<3?s:m===null?m=Object.getOwnPropertyDescriptor(s,d):m;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(t,s,d,m);else for(var A=t.length-1;A>=0;A--)(w=t[A])&&(E=(b<3?w(E):b>3?w(s,d,E):w(s,d))||E);return b>3&&E&&Object.defineProperty(s,d,E),E},u=this&&this.__param||function(t,s){return function(d,m){s(d,m,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var o=y(1),i=y(0),r=y(33),a=y(2),c=Object.freeze({insertMode:!1}),n=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(t){function s(d,m,w,b){var E=t.call(this)||this;return E._bufferService=m,E._logService=w,E._optionsService=b,E.isCursorInitialized=!1,E.isCursorHidden=!1,E._onData=E.register(new i.EventEmitter),E._onUserInput=E.register(new i.EventEmitter),E._onBinary=E.register(new i.EventEmitter),E._scrollToBottom=d,E.register({dispose:function(){return E._scrollToBottom=void 0}}),E.modes=r.clone(c),E.decPrivateModes=r.clone(n),E}return v(s,t),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=r.clone(c),this.decPrivateModes=r.clone(n)},s.prototype.triggerDataEvent=function(d,m){if(m===void 0&&(m=!1),!this._optionsService.options.disableStdin){var w=this._bufferService.buffer;w.ybase!==w.ydisp&&this._scrollToBottom(),m&&this._onUserInput.fire(),this._logService.debug('sending data "'+d+'"',function(){return d.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(d)}},s.prototype.triggerBinaryEvent=function(d){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+d+'"',function(){return d.split("").map(function(m){return m.charCodeAt(0)})}),this._onBinary.fire(d))},s=h([u(1,o.IBufferService),u(2,o.ILogService),u(3,o.IOptionsService)],s)}(a.Disposable);f.CoreService=l},function(g,f,y){"use strict";var p=this&&this.__decorate||function(n,l,t,s){var d,m=arguments.length,w=m<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(d=n[b])&&(w=(m<3?d(w):m>3?d(l,t,w):d(l,t))||w);return m>3&&w&&Object.defineProperty(l,t,w),w},v=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var h=y(1),u=y(0),o={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function i(n,l){var t=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return n.button===4?(t|=64,t|=n.action):(t|=3&n.button,4&n.button&&(t|=64),8&n.button&&(t|=128),n.action===32?t|=32:n.action!==0||l||(t|=3)),t}var r=String.fromCharCode,a={DEFAULT:function(l){var t=[i(l,!1)+32,l.col+32,l.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+r(t[0])+r(t[1])+r(t[2])},SGR:function(l){var t=l.action===0&&l.button!==4?"m":"M";return"[<"+i(l,!0)+";"+l.col+";"+l.row+t}},c=function(){function n(l,t){this._bufferService=l,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new u.EventEmitter,this._lastEvent=null;for(var s=0,d=Object.keys(o);s<d.length;s++){var m=d[s];this.addProtocol(m,o[m])}for(var w=0,b=Object.keys(a);w<b.length;w++){var E=b[w];this.addEncoding(E,a[E])}this.reset()}return n.prototype.addProtocol=function(l,t){this._protocols[l]=t},n.prototype.addEncoding=function(l,t){this._encodings[l]=t},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(n.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),n.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var t=this._encodings[this._activeEncoding](l);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=l,!0},n.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},n.prototype._compareEvents=function(l,t){return l.col===t.col&&l.row===t.row&&l.button===t.button&&l.action===t.action&&l.ctrl===t.ctrl&&l.alt===t.alt&&l.shift===t.shift},n=p([v(0,h.IBufferService),v(1,h.ICoreService)],n)}();f.CoreMouseService=c},function(g,f,y){"use strict";var p=this&&this.__decorate||function(o,i,r,a){var c,n=arguments.length,l=n<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,r):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(o,i,r,a);else for(var t=o.length-1;t>=0;t--)(c=o[t])&&(l=(n<3?c(l):n>3?c(i,r,l):c(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(o,i){return function(r,a){i(r,a,o)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var h=y(1),u=function(){function o(i){this._bufferService=i,this.clearRange()}return Object.defineProperty(o.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),o.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},o.prototype.markDirty=function(i){i<this._start?this._start=i:i>this._end&&(this._end=i)},o.prototype.markRangeDirty=function(i,r){if(i>r){var a=i;i=r,r=a}i<this._start&&(this._start=i),r>this._end&&(this._end=r)},o.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},o=p([v(0,h.IBufferService)],o)}();f.DirtyRowService=u},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var p=y(0),v=y(79),h=function(){function u(){this._providers=Object.create(null),this._active="",this._onChange=new p.EventEmitter;var o=new v.UnicodeV6;this.register(o),this._active=o.version,this._activeProvider=o}return Object.defineProperty(u.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"activeVersion",{get:function(){return this._active},set:function(i){if(!this._providers[i])throw new Error('unknown Unicode version "'+i+'"');this._active=i,this._activeProvider=this._providers[i],this._onChange.fire(i)},enumerable:!1,configurable:!0}),u.prototype.register=function(o){this._providers[o.version]=o},u.prototype.wcwidth=function(o){return this._activeProvider.wcwidth(o)},u.prototype.getStringCellWidth=function(o){for(var i=0,r=o.length,a=0;a<r;++a){var c=o.charCodeAt(a);if(55296<=c&&c<=56319){if(++a>=r)return i+this.wcwidth(c);var n=o.charCodeAt(a);56320<=n&&n<=57343?c=1024*(c-55296)+n-56320+65536:i+=this.wcwidth(n)}i+=this.wcwidth(c)}return i},u}();f.UnicodeService=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var p,v=y(15),h=[[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]],u=[[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]],o=function(){function i(){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 r=0;r<h.length;++r)v.fill(p,0,h[r][0],h[r][1]+1)}}return i.prototype.wcwidth=function(r){return r<32?0:r<127?1:r<65536?p[r]:function(a,c){var n,l=0,t=c.length-1;if(a<c[0][0]||a>c[t][1])return!1;for(;t>=l;)if(a>c[n=l+t>>1][1])l=n+1;else{if(!(a<c[n][0]))return!0;t=n-1}return!1}(r,u)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},i}();f.UnicodeV6=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.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(h){this.glevel=h,this.charset=this._charsets[h]},v.prototype.setgCharset=function(h,u){this._charsets[h]=u,this.glevel===h&&(this.charset=u)},v}();f.CharsetService=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var p=y(3);f.updateWindowsModeWrappedState=function(v){var h=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),u=h==null?void 0:h.get(v.cols-1),o=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);o&&u&&(o.isWrapped=u[p.CHAR_DATA_CODE_INDEX]!==p.NULL_CELL_CODE&&u[p.CHAR_DATA_CODE_INDEX]!==p.WHITESPACE_CELL_CODE)}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var p=function(){function v(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var u=this._bufferOffset;u<this._writeBuffer.length;++u){var o=this._writeBuffer[u],i=this._callbacks[u];this._action(o),i&&i()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},v.prototype.write=function(h,u){var o=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 o._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(u)},v.prototype._innerWrite=function(){for(var h=this,u=Date.now();this._writeBuffer.length>this._bufferOffset;){var o=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(o),this._pendingData-=o.length,i&&i(),Date.now()-u>=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 h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},v}();f.WriteBuffer=p},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var p=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},v.prototype.loadAddon=function(h,u){var o=this,i={instance:u,dispose:u.dispose,isDisposed:!1};this._addons.push(i),u.dispose=function(){return o._wrappedAddonDispose(i)},u.activate(h)},v.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var u=-1,o=0;o<this._addons.length;o++)if(this._addons[o]===h){u=o;break}if(u===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(u,1)}},v}();f.AddonManager=p}])})},"/SeX":function(D,I,e){var g=e("knOB"),f=e("qZFw"),y=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new g,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};y.prototype={type:"polar",axisPointerEnabled:!0,constructor:y,dimensions:["radius","angle"],model:null,containPoint:function(v){var h=this.pointToCoord(v);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[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 h=[],u=this._angleAxis,o=this._radiusAxis;return u.scale.type===v&&h.push(u),o.scale.type===v&&h.push(o),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var h=this._angleAxis;return v===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var h=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(v,h){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],h),this._angleAxis.dataToAngle(v[1],h)])},pointToData:function(v,h){var u=this.pointToCoord(v);return[this._radiusAxis.radiusToData(u[0],h),this._angleAxis.angleToData(u[1],h)]},pointToCoord:function(v){var h=v[0]-this.cx,u=v[1]-this.cy,o=this.getAngleAxis(),i=o.getExtent(),r=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);o.inverse?r=a-360:a=r+360;var c=Math.sqrt(h*h+u*u);h/=c,u/=c;for(var n=Math.atan2(-u,h)/Math.PI*180,l=n<r?1:-1;n<r||n>a;)n+=l*360;return[c,n]},coordToPoint:function(v){var h=v[0],u=v[1]/180*Math.PI,o=Math.cos(u)*h+this.cx,i=-Math.sin(u)*h+this.cy;return[o,i]},getArea:function(){var v=this.getAngleAxis(),h=this.getRadiusAxis(),u=h.getExtent().slice();u[0]>u[1]&&u.reverse();var o=v.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:u[0],r:u[1],startAngle:-o[0]*i,endAngle:-o[1]*i,clockwise:v.inverse,contain:function(r,a){var c=r-this.cx,n=a-this.cy,l=c*c+n*n,t=this.r,s=this.r0;return l<=t*t&&l>=s*s}}}};var p=y;D.exports=p},"/WM3":function(D,I,e){var g=e("QuXc"),f=e("bYtY"),y=f.isFunction,p={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,h){var u=v.getData(),o=(v.visualColorAccessPath||"itemStyle.color").split("."),i=v.get(o),r=y(i)&&!(i instanceof g)?i:null;(!i||r)&&(i=v.getColorFromPalette(v.name,null,h.getSeriesCount())),u.setVisual("color",i);var a=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=v.get(a);if(u.setVisual("borderColor",c),!h.isSeriesFiltered(v)){r&&u.each(function(l){u.setItemVisual(l,"color",r(v.getDataParams(l)))});var n=function(l,t){var s=l.getItemModel(t),d=s.get(o,!0),m=s.get(a,!0);d!=null&&l.setItemVisual(t,"color",d),m!=null&&l.setItemVisual(t,"borderColor",m)};return{dataEach:u.hasItemOption?n:null}}}};D.exports=p},"/d5a":function(D,I){var e={average:function(y){for(var p=0,v=0,h=0;h<y.length;h++)isNaN(y[h])||(p+=y[h],v++);return v===0?NaN:p/v},sum:function(y){for(var p=0,v=0;v<y.length;v++)p+=y[v]||0;return p},max:function(y){for(var p=-Infinity,v=0;v<y.length;v++)y[v]>p&&(p=y[v]);return isFinite(p)?p:NaN},min:function(y){for(var p=Infinity,v=0;v<y.length;v++)y[v]<p&&(p=y[v]);return isFinite(p)?p:NaN},nearest:function(y){return y[0]}},g=function(y,p){return Math.round(y.length/2)};function f(y){return{seriesType:y,modifyOutputEnd:!0,reset:function(p,v,h){var u=p.getData(),o=p.get("sampling"),i=p.coordinateSystem;if(i.type==="cartesian2d"&&o){var r=i.getBaseAxis(),a=i.getOtherAxis(r),c=r.getExtent(),n=c[1]-c[0],l=Math.round(u.count()/n);if(l>1){var t;typeof o=="string"?t=e[o]:typeof o=="function"&&(t=o),t&&p.setData(u.downSample(u.mapDimension(a.dim),1/l,t,g))}}}}}D.exports=f},"/ezw":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("cDf5"),h=e.n(v),u=e("q1tI"),o=e("TSYQ"),i=e.n(o),r=function(U){var H=U.prefixCls,W=U.className,V=U.width,z=U.style;return u.createElement("h3",{className:i()(H,W),style:p()({width:V},z)})},a=r,c=e("RIqP"),n=e.n(c),l=function(U){var H=function(G){var ve=U.width,Se=U.rows,ge=Se===void 0?2:Se;return Array.isArray(ve)?ve[G]:ge-1===G?ve:void 0},W=U.prefixCls,V=U.className,z=U.style,X=U.rows,q=n()(Array(X)).map(function(fe,G){return u.createElement("li",{key:G,style:{width:H(G)}})});return u.createElement("ul",{className:i()(W,V),style:z},q)},t=l,s=e("H84U"),d=function(U){var H,W,V=U.prefixCls,z=U.className,X=U.style,q=U.size,fe=U.shape,G=i()((H={},f()(H,"".concat(V,"-lg"),q==="large"),f()(H,"".concat(V,"-sm"),q==="small"),H)),ve=i()((W={},f()(W,"".concat(V,"-circle"),fe==="circle"),f()(W,"".concat(V,"-square"),fe==="square"),f()(W,"".concat(V,"-round"),fe==="round"),W)),Se=typeof q=="number"?{width:q,height:q,lineHeight:"".concat(q,"px")}:{};return u.createElement("span",{className:i()(V,z,G,ve),style:p()(p()({},Se),X)})},m=d,w=e("BGR+"),b=function(U){var H=function(V){var z=V.getPrefixCls,X=U.prefixCls,q=U.className,fe=U.active,G=z("skeleton",X),ve=Object(w.default)(U,["prefixCls"]),Se=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),fe));return u.createElement("div",{className:Se},u.createElement(m,p()({prefixCls:"".concat(G,"-avatar")},ve)))};return u.createElement(s.a,null,H)};b.defaultProps={size:"default",shape:"circle"};var E=b,A=function(U){var H=function(V){var z=V.getPrefixCls,X=U.prefixCls,q=U.className,fe=U.active,G=z("skeleton",X),ve=Object(w.default)(U,["prefixCls"]),Se=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),fe));return u.createElement("div",{className:Se},u.createElement(m,p()({prefixCls:"".concat(G,"-button")},ve)))};return u.createElement(s.a,null,H)};A.defaultProps={size:"default"};var S=A,T=function(U){var H=function(V){var z=V.getPrefixCls,X=U.prefixCls,q=U.className,fe=U.active,G=z("skeleton",X),ve=Object(w.default)(U,["prefixCls"]),Se=i()(G,q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),fe));return u.createElement("div",{className:Se},u.createElement(m,p()({prefixCls:"".concat(G,"-input")},ve)))};return u.createElement(s.a,null,H)};T.defaultProps={size:"default"};var O=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(U){var H=function(V){var z=V.getPrefixCls,X=U.prefixCls,q=U.className,fe=U.style,G=z("skeleton",X),ve=i()(G,q,"".concat(G,"-element"));return u.createElement("div",{className:ve},u.createElement("div",{className:i()("".concat(G,"-image"),q),style:fe},u.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(G,"-image-svg")},u.createElement("path",{d:x,className:"".concat(G,"-image-path")}))))};return u.createElement(s.a,null,H)},_=C;function N(B){return B&&h()(B)==="object"?B:{}}function F(B,U){return B&&!U?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(B,U){return!B&&U?{width:"38%"}:B&&U?{width:"50%"}:{}}function P(B,U){var H={};return(!B||!U)&&(H.width="61%"),!B&&U?H.rows=3:H.rows=2,H}var j=function(U){var H=function(V){var z=V.getPrefixCls,X=V.direction,q=U.prefixCls,fe=U.loading,G=U.className,ve=U.children,Se=U.avatar,ge=U.title,Pe=U.paragraph,Ge=U.active,pt=U.round,Te=z("skeleton",q);if(fe||!("loading"in U)){var xe,lt=!!Se,Ie=!!ge,de=!!Pe,ee;if(lt){var se=p()(p()({prefixCls:"".concat(Te,"-avatar")},F(Ie,de)),N(Se));ee=u.createElement("div",{className:"".concat(Te,"-header")},u.createElement(m,se))}var ke;if(Ie||de){var Ce;if(Ie){var ze=p()(p()({prefixCls:"".concat(Te,"-title")},k(lt,de)),N(ge));Ce=u.createElement(a,ze)}var _e;if(de){var ae=p()(p()({prefixCls:"".concat(Te,"-paragraph")},P(lt,Ie)),N(Pe));_e=u.createElement(t,ae)}ke=u.createElement("div",{className:"".concat(Te,"-content")},Ce,_e)}var me=i()(Te,G,(xe={},f()(xe,"".concat(Te,"-with-avatar"),lt),f()(xe,"".concat(Te,"-active"),Ge),f()(xe,"".concat(Te,"-rtl"),X==="rtl"),f()(xe,"".concat(Te,"-round"),pt),xe));return u.createElement("div",{className:me},ee,ke)}return ve};return u.createElement(s.a,null,H)};j.defaultProps={avatar:!1,title:!0,paragraph:!0},j.Button=S,j.Avatar=E,j.Input=O,j.Image=_;var K=j,R=I.a=K},"/iHx":function(D,I,e){var g=e("6GrX"),f=e("IwbS"),y=["textStyle","color"],p={getTextColor:function(v){var h=this.ecModel;return this.getShallow("color")||(!v&&h?h.get(y):null)},getFont:function(){return f.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return g.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"))}};D.exports=p},"/kpp":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("cDf5"),h=e.n(v),u=e("q1tI"),o=e.n(u),i=e("TSYQ"),r=e.n(i),a=e("o/2+"),c=e("H84U"),n=function(s,d){var m={};for(var w in s)Object.prototype.hasOwnProperty.call(s,w)&&d.indexOf(w)<0&&(m[w]=s[w]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,w=Object.getOwnPropertySymbols(s);b<w.length;b++)d.indexOf(w[b])<0&&Object.prototype.propertyIsEnumerable.call(s,w[b])&&(m[w[b]]=s[w[b]]);return m};function l(s){return typeof s=="number"?"".concat(s," ").concat(s," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(s)?"0 0 ".concat(s):s}var t=u.forwardRef(function(s,d){var m=function(b){var E,A=b.getPrefixCls,S=b.direction,T=s.prefixCls,O=s.span,x=s.order,C=s.offset,_=s.push,N=s.pull,F=s.className,k=s.children,P=s.flex,j=s.style,K=n(s,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),R=A("col",T),B={};["xs","sm","md","lg","xl","xxl"].forEach(function(H){var W,V={},z=s[H];typeof z=="number"?V.span=z:h()(z)==="object"&&(V=z||{}),delete K[H],B=p()(p()({},B),(W={},f()(W,"".concat(R,"-").concat(H,"-").concat(V.span),V.span!==void 0),f()(W,"".concat(R,"-").concat(H,"-order-").concat(V.order),V.order||V.order===0),f()(W,"".concat(R,"-").concat(H,"-offset-").concat(V.offset),V.offset||V.offset===0),f()(W,"".concat(R,"-").concat(H,"-push-").concat(V.push),V.push||V.push===0),f()(W,"".concat(R,"-").concat(H,"-pull-").concat(V.pull),V.pull||V.pull===0),f()(W,"".concat(R,"-rtl"),S==="rtl"),W))});var U=r()(R,(E={},f()(E,"".concat(R,"-").concat(O),O!==void 0),f()(E,"".concat(R,"-order-").concat(x),x),f()(E,"".concat(R,"-offset-").concat(C),C),f()(E,"".concat(R,"-push-").concat(_),_),f()(E,"".concat(R,"-pull-").concat(N),N),E),F,B);return u.createElement(a.a.Consumer,null,function(H){var W=H.gutter,V=p()({},j);return W&&(V=p()(p()(p()({},W[0]>0?{paddingLeft:W[0]/2,paddingRight:W[0]/2}:{}),W[1]>0?{paddingTop:W[1]/2,paddingBottom:W[1]/2}:{}),V)),P&&(V.flex=l(P)),u.createElement("div",p()({},K,{style:V,className:U,ref:d}),k)})};return u.createElement(c.a,null,m)});t.displayName="Col",I.a=t},"/ry/":function(D,I,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),p=y.seriesModelMixin,v=f.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}});g.mixin(v,p,!0);var h=v;D.exports=h},"/stD":function(D,I,e){var g=e("bYtY"),f=e("IUWy"),y=e("Kagy"),p=y.toolbox.brush;function v(o,i,r){this.model=o,this.ecModel=i,this.api=r,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:g.clone(p.title)};var h=v.prototype;h.render=h.updateView=function(o,i,r){var a,c,n;i.eachComponent({mainType:"brush"},function(l){a=l.brushType,c=l.brushOption.brushMode||"single",n|=l.areas.length}),this._brushType=a,this._brushMode=c,g.each(o.get("type",!0),function(l){o.setIconStatus(l,(l==="keep"?c==="multiple":l==="clear"?n:l===a)?"emphasis":"normal")})},h.getIcons=function(){var o=this.model,i=o.get("icon",!0),r={};return g.each(o.get("type",!0),function(a){i[a]&&(r[a]=i[a])}),r},h.onclick=function(o,i,r){var a=this._brushType,c=this._brushMode;r==="clear"?(i.dispatchAction({type:"axisAreaSelect",intervals:[]}),i.dispatchAction({type:"brush",command:"clear",areas:[]})):i.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?a:a===r?!1:r,brushMode:r==="keep"?c==="multiple"?"single":"multiple":c}})},f.register("brush",v);var u=v;D.exports=u},"/wGt":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("PJYZ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("Ff2n"),d=e("1OyB"),m=e("vuIU"),w=e("Ji7U"),b=e("md7G"),E=e("foSv"),A=e("1W/9"),S=e("rePB"),T=e("JX7q"),O=e("TSYQ"),x=e.n(O),C=e("qx4F"),_=e("4IlW");function N(Ce){return Array.isArray(Ce)?Ce:[Ce]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(F).filter(function(Ce){if(typeof document=="undefined")return!1;var ze=document.getElementsByTagName("html")[0];return Ce in(ze?ze.style:{})})[0],P=F[k];function j(Ce,ze,_e,ae){Ce.addEventListener?Ce.addEventListener(ze,_e,ae):Ce.attachEvent&&Ce.attachEvent("on".concat(ze),_e)}function K(Ce,ze,_e,ae){Ce.removeEventListener?Ce.removeEventListener(ze,_e,ae):Ce.attachEvent&&Ce.detachEvent("on".concat(ze),_e)}function R(Ce,ze){var _e=typeof Ce=="function"?Ce(ze):Ce;return Array.isArray(_e)?_e.length===2?_e:[_e[0],_e[1]]:[_e]}var B=function(ze){return!isNaN(parseFloat(ze))&&isFinite(ze)},U=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function Ce(ze,_e,ae,me){if(!_e||_e===document||_e instanceof Document)return!1;if(_e===ze.parentNode)return!0;var Oe=Math.max(Math.abs(ae),Math.abs(me))===Math.abs(me),Ze=Math.max(Math.abs(ae),Math.abs(me))===Math.abs(ae),vt=_e.scrollHeight-_e.clientHeight,Ct=_e.scrollWidth-_e.clientWidth,Be=document.defaultView.getComputedStyle(_e),Rt=Be.overflowY==="auto"||Be.overflowY==="scroll",He=Be.overflowX==="auto"||Be.overflowX==="scroll",wt=vt&&Rt,Ye=Ct&&He;return Oe&&(!wt||wt&&(_e.scrollTop>=vt&&me<0||_e.scrollTop<=0&&me>0))||Ze&&(!Ye||Ye&&(_e.scrollLeft>=Ct&&ae<0||_e.scrollLeft<=0&&ae>0))?Ce(ze,_e.parentNode,ae,me):!1};function W(Ce){var ze=V();return function(){var ae=Object(E.a)(Ce),me;if(ze){var Oe=Object(E.a)(this).constructor;me=Reflect.construct(ae,arguments,Oe)}else me=ae.apply(this,arguments);return Object(b.a)(this,me)}}function V(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ce){return!1}}var z={},X=function(Ce){Object(w.a)(_e,Ce);var ze=W(_e);function _e(ae){var me;return Object(d.a)(this,_e),me=ze.call(this,ae),me.domFocus=function(){me.dom&&me.dom.focus()},me.removeStartHandler=function(Oe){if(Oe.touches.length>1)return;me.startPos={x:Oe.touches[0].clientX,y:Oe.touches[0].clientY}},me.removeMoveHandler=function(Oe){if(Oe.changedTouches.length>1)return;var Ze=Oe.currentTarget,vt=Oe.changedTouches[0].clientX-me.startPos.x,Ct=Oe.changedTouches[0].clientY-me.startPos.y;(Ze===me.maskDom||Ze===me.handlerDom||Ze===me.contentDom&&H(Ze,Oe.target,vt,Ct))&&Oe.cancelable&&Oe.preventDefault()},me.transitionEnd=function(Oe){var Ze=Oe.target;K(Ze,P,me.transitionEnd),Ze.style.transition=""},me.onKeyDown=function(Oe){if(Oe.keyCode===_.a.ESC){var Ze=me.props.onClose;Oe.stopPropagation(),Ze&&Ze(Oe)}},me.onWrapperTransitionEnd=function(Oe){var Ze=me.props,vt=Ze.open,Ct=Ze.afterVisibleChange;Oe.target===me.contentWrapper&&Oe.propertyName.match(/transform$/)&&(me.dom.style.transition="",!vt&&me.getCurrentDrawerSome()&&(document.body.style.overflowX="",me.maskDom&&(me.maskDom.style.left="",me.maskDom.style.width="")),Ct&&Ct(!!vt))},me.openLevelTransition=function(){var Oe=me.props,Ze=Oe.open,vt=Oe.width,Ct=Oe.height,Be=me.getHorizontalBoolAndPlacementName(),Rt=Be.isHorizontal,He=Be.placementName,wt=me.contentDom?me.contentDom.getBoundingClientRect()[Rt?"width":"height"]:0,Ye=(Rt?vt:Ct)||wt;me.setLevelAndScrolling(Ze,He,Ye)},me.setLevelTransform=function(Oe,Ze,vt,Ct){var Be=me.props,Rt=Be.placement,He=Be.levelMove,wt=Be.duration,Ye=Be.ease,et=Be.showMask;me.levelDom.forEach(function(rt){rt.style.transition="transform ".concat(wt," ").concat(Ye),j(rt,P,me.transitionEnd);var st=Oe?vt:0;if(He){var Ve=R(He,{target:rt,open:Oe});st=Oe?Ve[0]:Ve[1]||0}var ie=typeof st=="number"?"".concat(st,"px"):st,$=Rt==="left"||Rt==="top"?ie:"-".concat(ie);$=et&&Rt==="right"&&Ct?"calc(".concat($," + ").concat(Ct,"px)"):$,rt.style.transform=st?"".concat(Ze,"(").concat($,")"):""})},me.setLevelAndScrolling=function(Oe,Ze,vt){var Ct=me.props.onChange;if(!U){var Be=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;me.setLevelTransform(Oe,Ze,vt,Be),me.toggleScrollingToDrawerAndBody(Be)}Ct&&Ct(Oe)},me.toggleScrollingToDrawerAndBody=function(Oe){var Ze=me.props,vt=Ze.getOpenCount,Ct=Ze.getContainer,Be=Ze.showMask,Rt=Ze.open,He=Ct&&Ct(),wt=vt&&vt();if(He&&He.parentNode===document.body&&Be){var Ye=["touchstart"],et=[document.body,me.maskDom,me.handlerDom,me.contentDom];Rt&&document.body.style.overflow!=="hidden"?(Oe&&me.addScrollingEffect(Oe),wt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",et.forEach(function(rt,st){if(!rt)return;j(rt,Ye[st]||"touchmove",st?me.removeMoveHandler:me.removeStartHandler,me.passive)})):me.getCurrentDrawerSome()&&(wt||(document.body.style.overflow=""),document.body.style.touchAction="",Oe&&me.remScrollingEffect(Oe),et.forEach(function(rt,st){if(!rt)return;K(rt,Ye[st]||"touchmove",st?me.removeMoveHandler:me.removeStartHandler,me.passive)}))}},me.addScrollingEffect=function(Oe){var Ze=me.props,vt=Ze.placement,Ct=Ze.duration,Be=Ze.ease,Rt=Ze.getOpenCount,He=Ze.switchScrollingEffect,wt=Rt&&Rt();wt===1&&He();var Ye="width ".concat(Ct," ").concat(Be),et="transform ".concat(Ct," ").concat(Be);me.dom.style.transition="none";switch(vt){case"right":me.dom.style.transform="translateX(-".concat(Oe,"px)");break;case"top":case"bottom":me.dom.style.width="calc(100% - ".concat(Oe,"px)"),me.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(me.timeout),me.timeout=setTimeout(function(){me.dom&&(me.dom.style.transition="".concat(et,",").concat(Ye),me.dom.style.width="",me.dom.style.transform="")})},me.remScrollingEffect=function(Oe){var Ze=me.props,vt=Ze.placement,Ct=Ze.duration,Be=Ze.ease,Rt=Ze.getOpenCount,He=Ze.switchScrollingEffect,wt=Rt&&Rt();wt||He(!0),k&&(document.body.style.overflowX="hidden"),me.dom.style.transition="none";var Ye,et="width ".concat(Ct," ").concat(Be),rt="transform ".concat(Ct," ").concat(Be);switch(vt){case"left":{me.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Ct);break}case"right":{me.dom.style.transform="translateX(".concat(Oe,"px)"),me.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Ct),me.maskDom&&(me.maskDom.style.left="-".concat(Oe,"px"),me.maskDom.style.width="calc(100% + ".concat(Oe,"px)"));break}case"top":case"bottom":{me.dom.style.width="calc(100% + ".concat(Oe,"px)"),me.dom.style.height="100%",me.dom.style.transform="translateZ(0)",Ye="height 0s ".concat(Be," ").concat(Ct);break}default:break}clearTimeout(me.timeout),me.timeout=setTimeout(function(){me.dom&&(me.dom.style.transition="".concat(rt,",").concat(Ye?"".concat(Ye,","):"").concat(et),me.dom.style.transform="",me.dom.style.width="",me.dom.style.height="")})},me.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(Oe){return z[Oe]})},me.getLevelDom=function(Oe){var Ze=Oe.level,vt=Oe.getContainer;if(U)return;var Ct=vt&&vt(),Be=Ct?Ct.parentNode:null;if(me.levelDom=[],Ze==="all"){var Rt=Be?Array.prototype.slice.call(Be.children):[];Rt.forEach(function(He){He.nodeName!=="SCRIPT"&&He.nodeName!=="STYLE"&&He.nodeName!=="LINK"&&He!==Ct&&me.levelDom.push(He)})}else Ze&&N(Ze).forEach(function(He){document.querySelectorAll(He).forEach(function(wt){me.levelDom.push(wt)})})},me.getHorizontalBoolAndPlacementName=function(){var Oe=me.props.placement,Ze=Oe==="left"||Oe==="right",vt="translate".concat(Ze?"X":"Y");return{isHorizontal:Ze,placementName:vt}},me.state={_self:Object(T.a)(me)},me}return Object(m.a)(_e,[{key:"componentDidMount",value:function(){var me=this;if(!U){var Oe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Oe=!0,null}}))}catch(Rt){}this.passive=Oe?{passive:!1}:!1}var Ze=this.props,vt=Ze.open,Ct=Ze.getContainer,Be=Ct&&Ct();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),vt&&(Be&&Be.parentNode===document.body&&(z[this.drawerId]=vt),this.openLevelTransition(),this.forceUpdate(function(){me.domFocus()}))}},{key:"componentDidUpdate",value:function(me){var Oe=this.props,Ze=Oe.open,vt=Oe.getContainer,Ct=vt&&vt();Ze!==me.open&&(Ze&&this.domFocus(),Ct&&Ct.parentNode===document.body&&(z[this.drawerId]=!!Ze),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var me=this.props,Oe=me.getOpenCount,Ze=me.open,vt=me.switchScrollingEffect,Ct=typeof Oe=="function"&&Oe();delete z[this.drawerId],Ze&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ct||(document.body.style.overflow="",vt(!0))}},{key:"render",value:function(){var me,Oe=this,Ze=this.props,vt=Ze.className,Ct=Ze.children,Be=Ze.style,Rt=Ze.width,He=Ze.height,wt=Ze.defaultOpen,Ye=Ze.open,et=Ze.prefixCls,rt=Ze.placement,st=Ze.level,Ve=Ze.levelMove,ie=Ze.ease,$=Ze.duration,it=Ze.getContainer,Qe=Ze.handler,ye=Ze.onChange,Zt=Ze.afterVisibleChange,dt=Ze.showMask,ct=Ze.maskClosable,yt=Ze.maskStyle,It=Ze.onClose,or=Ze.onHandleClick,Bt=Ze.keyboard,Ae=Ze.getOpenCount,pe=Ze.switchScrollingEffect,he=Object(s.a)(Ze,["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"]),le=this.dom?Ye:!1,Ne=x()(et,(me={},Object(S.a)(me,"".concat(et,"-").concat(rt),!0),Object(S.a)(me,"".concat(et,"-open"),le),Object(S.a)(me,vt||"",!!vt),Object(S.a)(me,"no-mask",!dt),me)),je=this.getHorizontalBoolAndPlacementName(),Ke=je.placementName,Xe=rt==="left"||rt==="top"?"-100%":"100%",Fe=le?"":"".concat(Ke,"(").concat(Xe,")"),nt=Qe&&t.cloneElement(Qe,{onClick:function(_t){Qe.props.onClick&&Qe.props.onClick(),or&&or(_t)},ref:function(_t){Oe.handlerDom=_t}});return t.createElement("div",Object.assign({},he,{tabIndex:-1,className:Ne,style:Be,ref:function(_t){Oe.dom=_t},onKeyDown:le&&Bt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),dt&&t.createElement("div",{className:"".concat(et,"-mask"),onClick:ct?It:void 0,style:yt,ref:function(_t){Oe.maskDom=_t}}),t.createElement("div",{className:"".concat(et,"-content-wrapper"),style:{transform:Fe,msTransform:Fe,width:B(Rt)?"".concat(Rt,"px"):Rt,height:B(He)?"".concat(He,"px"):He},ref:function(_t){Oe.contentWrapper=_t}},t.createElement("div",{className:"".concat(et,"-content"),ref:function(_t){Oe.contentDom=_t},onTouchStart:le&&dt?this.removeStartHandler:void 0,onTouchMove:le&&dt?this.removeMoveHandler:void 0},Ct),nt))}}],[{key:"getDerivedStateFromProps",value:function(me,Oe){var Ze=Oe.prevProps,vt=Oe._self,Ct={prevProps:me};if(Ze!==void 0){var Be=me.placement,Rt=me.level;Be!==Ze.placement&&(vt.contentDom=null),Rt!==Ze.level&&vt.getLevelDom(me)}return Ct}}]),_e}(t.Component);X.defaultProps={switchScrollingEffect:function(){}};var q=X;function fe(Ce){var ze=G();return function(){var ae=Object(E.a)(Ce),me;if(ze){var Oe=Object(E.a)(this).constructor;me=Reflect.construct(ae,arguments,Oe)}else me=ae.apply(this,arguments);return Object(b.a)(this,me)}}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(Ce){return!1}}var ve=function(Ce){Object(w.a)(_e,Ce);var ze=fe(_e);function _e(ae){var me;Object(d.a)(this,_e),me=ze.call(this,ae),me.onHandleClick=function(Ze){var vt=me.props,Ct=vt.onHandleClick,Be=vt.open;if(Ct&&Ct(Ze),typeof Be=="undefined"){var Rt=me.state.open;me.setState({open:!Rt})}},me.onClose=function(Ze){var vt=me.props,Ct=vt.onClose,Be=vt.open;Ct&&Ct(Ze),typeof Be=="undefined"&&me.setState({open:!1})};var Oe=typeof ae.open!="undefined"?ae.open:!!ae.defaultOpen;return me.state={open:Oe},"onMaskClick"in ae&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),me}return Object(m.a)(_e,[{key:"render",value:function(){var me=this,Oe=this.props,Ze=Oe.defaultOpen,vt=Oe.getContainer,Ct=Oe.wrapperClassName,Be=Oe.forceRender,Rt=Oe.handler,He=Object(s.a)(Oe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),wt=this.state.open;if(!vt)return t.createElement("div",{className:Ct,ref:function(rt){me.dom=rt}},t.createElement(q,Object.assign({},He,{open:wt,handler:Rt,getContainer:function(){return me.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ye=!!Rt||Be;return t.createElement(A.a,{visible:wt,forceRender:Ye,getContainer:vt,wrapperClassName:Ct},function(et){var rt=et.visible,st=et.afterClose,Ve=Object(s.a)(et,["visible","afterClose"]);return t.createElement(q,Object.assign({},He,Ve,{open:rt!==void 0?rt:wt,afterVisibleChange:st!==void 0?st:He.afterVisibleChange,handler:Rt,onClose:me.onClose,onHandleClick:me.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(me,Oe){var Ze=Oe.prevProps,vt={prevProps:me};return typeof Ze!="undefined"&&me.open!==Ze.open&&(vt.open=me.open),vt}}]),_e}(t.Component);ve.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:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Se=ve,ge=Se,Pe=e("V/uB"),Ge=e.n(Pe),pt=e("BGR+"),Te=e("H84U"),xe=e("CWQg"),lt=function(Ce,ze){var _e={};for(var ae in Ce)Object.prototype.hasOwnProperty.call(Ce,ae)&&ze.indexOf(ae)<0&&(_e[ae]=Ce[ae]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ae=Object.getOwnPropertySymbols(Ce);me<ae.length;me++)ze.indexOf(ae[me])<0&&Object.prototype.propertyIsEnumerable.call(Ce,ae[me])&&(_e[ae[me]]=Ce[ae[me]]);return _e},Ie=t.createContext(null),de=Object(xe.a)("top","right","bottom","left"),ee={distance:180},se=function(Ce){c()(_e,Ce);var ze=l()(_e);function _e(){var ae;return h()(this,_e),ae=ze.apply(this,arguments),ae.state={push:!1},ae.push=function(){ae.props.push&&ae.setState({push:!0})},ae.pull=function(){ae.props.push&&ae.setState({push:!1})},ae.onDestroyTransitionEnd=function(){var me=ae.getDestroyOnClose();if(!me)return;ae.props.visible||(ae.destroyClose=!0,ae.forceUpdate())},ae.getDestroyOnClose=function(){return ae.props.destroyOnClose&&!ae.props.visible},ae.getPushDistance=function(){var me=ae.props.push,Oe;return typeof me=="boolean"?Oe=me?ee.distance:0:Oe=me.distance,parseFloat(String(Oe||0))},ae.getPushTransform=function(me){var Oe=ae.getPushDistance();if(me==="left"||me==="right")return"translateX(".concat(me==="left"?Oe:-Oe,"px)");if(me==="top"||me==="bottom")return"translateY(".concat(me==="top"?Oe:-Oe,"px)")},ae.getRcDrawerStyle=function(){var me=ae.props,Oe=me.zIndex,Ze=me.placement,vt=me.mask,Ct=me.style,Be=ae.state.push,Rt=vt?{}:ae.getOffsetStyle();return p()(p()({zIndex:Oe,transform:Be?ae.getPushTransform(Ze):void 0},Rt),Ct)},ae.renderBody=function(){var me=ae.props,Oe=me.bodyStyle,Ze=me.drawerStyle,vt=me.prefixCls,Ct=me.visible;if(ae.destroyClose&&!Ct)return null;ae.destroyClose=!1;var Be={},Rt=ae.getDestroyOnClose();return Rt&&(Be.opacity=0,Be.transition="opacity .3s"),t.createElement("div",{className:"".concat(vt,"-wrapper-body"),style:p()(p()({},Be),Ze),onTransitionEnd:ae.onDestroyTransitionEnd},ae.renderHeader(),t.createElement("div",{className:"".concat(vt,"-body"),style:Oe},ae.props.children),ae.renderFooter())},ae.renderProvider=function(me){return ae.parentDrawer=me,t.createElement(Te.a,null,function(Oe){var Ze=Oe.getPopupContainer,vt=Oe.getPrefixCls,Ct=ae.props,Be=Ct.prefixCls,Rt=Ct.placement,He=Ct.className,wt=Ct.mask,Ye=Ct.direction,et=Ct.visible,rt=lt(Ct,["prefixCls","placement","className","mask","direction","visible"]),st=vt("select",Be),Ve=x()(He,f()({"no-mask":!wt},"".concat(st,"-rtl"),Ye==="rtl")),ie=wt?ae.getOffsetStyle():{};return t.createElement(Ie.Provider,{value:r()(ae)},t.createElement(ge,p()({handler:!1},Object(pt.default)(rt,["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:rt.getContainer===void 0&&Ze?function(){return Ze(document.body)}:rt.getContainer},ie,{prefixCls:st,open:et,showMask:wt,placement:Rt,style:ae.getRcDrawerStyle(),className:Ve}),ae.renderBody()))})},ae}return o()(_e,[{key:"componentDidMount",value:function(){var me=this.props.visible;me&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(me){var Oe=this.props.visible;me.visible!==Oe&&this.parentDrawer&&(Oe?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var me=this.props,Oe=me.placement,Ze=me.width,vt=me.height,Ct=me.visible,Be=me.mask;if(!Ct&&!Be)return{};var Rt={};return Oe==="left"||Oe==="right"?Rt.width=Ze:Rt.height=vt,Rt}},{key:"renderHeader",value:function(){var me=this.props,Oe=me.title,Ze=me.prefixCls,vt=me.closable,Ct=me.headerStyle;if(!Oe&&!vt)return null;var Be=Oe?"".concat(Ze,"-header"):"".concat(Ze,"-header-no-title");return t.createElement("div",{className:Be,style:Ct},Oe&&t.createElement("div",{className:"".concat(Ze,"-title")},Oe),vt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var me=this.props,Oe=me.footer,Ze=me.footerStyle,vt=me.prefixCls;if(!Oe)return null;var Ct="".concat(vt,"-footer");return t.createElement("div",{className:Ct,style:Ze},Oe)}},{key:"renderCloseIcon",value:function(){var me=this.props,Oe=me.closable,Ze=me.closeIcon,vt=Ze===void 0?t.createElement(Ge.a,null):Ze,Ct=me.prefixCls,Be=me.onClose;return Oe&&t.createElement("button",{onClick:Be,"aria-label":"Close",className:"".concat(Ct,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},vt)}},{key:"render",value:function(){return t.createElement(Ie.Consumer,null,this.renderProvider)}}]),_e}(t.Component);se.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ee};var ke=I.a=Object(Te.c)({prefixCls:"drawer"})(se)},"/y7N":function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),p=e("7aKB"),v=e("Fofx"),h=e("aX7z"),u=e("+rIm");function o(d){var m=d.get("type"),w=d.getModel(m+"Style"),b;return m==="line"?(b=w.getLineStyle(),b.fill=null):m==="shadow"&&(b=w.getAreaStyle(),b.stroke=null),b}function i(d,m,w,b,E){var A=w.get("value"),S=a(A,m.axis,m.ecModel,w.get("seriesDataIndices"),{precision:w.get("label.precision"),formatter:w.get("label.formatter")}),T=w.getModel("label"),O=p.normalizeCssArray(T.get("padding")||0),x=T.getFont(),C=y.getBoundingRect(S,x),_=E.position,N=C.width+O[1]+O[3],F=C.height+O[0]+O[2],k=E.align;k==="right"&&(_[0]-=N),k==="center"&&(_[0]-=N/2);var P=E.verticalAlign;P==="bottom"&&(_[1]-=F),P==="middle"&&(_[1]-=F/2),r(_,N,F,b);var j=T.get("backgroundColor");(!j||j==="auto")&&(j=m.get("axisLine.lineStyle.color")),d.label={shape:{x:0,y:0,width:N,height:F,r:T.get("borderRadius")},position:_.slice(),style:{text:S,textFont:x,textFill:T.getTextColor(),textPosition:"inside",textPadding:O,fill:j,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function r(d,m,w,b){var E=b.getWidth(),A=b.getHeight();d[0]=Math.min(d[0]+m,E)-m,d[1]=Math.min(d[1]+w,A)-w,d[0]=Math.max(d[0],0),d[1]=Math.max(d[1],0)}function a(d,m,w,b,E){d=m.scale.parse(d);var A=m.scale.getLabel(d,{precision:E.precision}),S=E.formatter;if(S){var T={value:h.getAxisRawValue(m,d),axisDimension:m.dim,axisIndex:m.index,seriesData:[]};g.each(b,function(O){var x=w.getSeriesByIndex(O.seriesIndex),C=O.dataIndexInside,_=x&&x.getDataParams(C);_&&T.seriesData.push(_)}),g.isString(S)?A=S.replace("{value}",A):g.isFunction(S)&&(A=S(T))}return A}function c(d,m,w){var b=v.create();return v.rotate(b,b,w.rotation),v.translate(b,b,w.position),f.applyTransform([d.dataToCoord(m),(w.labelOffset||0)+(w.labelDirection||1)*(w.labelMargin||0)],b)}function n(d,m,w,b,E,A){var S=u.innerTextLayout(w.rotation,0,w.labelDirection);w.labelMargin=E.get("label.margin"),i(m,b,E,A,{position:c(b.axis,d,w),align:S.textAlign,verticalAlign:S.textVerticalAlign})}function l(d,m,w){return w=w||0,{x1:d[w],y1:d[1-w],x2:m[w],y2:m[1-w]}}function t(d,m,w){return w=w||0,{x:d[w],y:d[1-w],width:m[w],height:m[1-w]}}function s(d,m,w,b,E,A){return{cx:d,cy:m,r0:w,r:b,startAngle:E,endAngle:A,clockwise:!0}}I.buildElStyle=o,I.buildLabelElOption=i,I.getValueLabel=a,I.getTransformedPosition=c,I.buildCartesianSingleLabelElOption=n,I.makeLineShape=l,I.makeRectShape=t,I.makeSectorShape=s},"/zsF":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bE4E"),p=e.n(y)},"0/Rx":function(D,I){function e(g){return{seriesType:g,reset:function(f,y){var p=y.findComponents({mainType:"legend"});if(!p||!p.length)return;var v=f.getData();v.filterSelf(function(h){for(var u=v.getName(h),o=0;o<p.length;o++)if(!p[o].isSelected(u))return!1;return!0})}}}D.exports=e},"01d+":function(D,I,e){var g=e("bYtY"),f=g.each,y=e("HF/U"),p=y.simpleLayout,v=y.simpleLayoutEdge;function h(u,o){u.eachSeriesByType("graph",function(i){var r=i.get("layout"),a=i.coordinateSystem;if(a&&a.type!=="view"){var c=i.getData(),n=[];f(a.dimensions,function(w){n=n.concat(c.mapDimension(w,!0))});for(var l=0;l<c.count();l++){for(var t=[],s=!1,d=0;d<n.length;d++){var m=c.get(n[d],l);isNaN(m)||(s=!0),t.push(m)}s?c.setItemLayout(l,a.dataToPoint(t)):c.setItemLayout(l,[NaN,NaN])}v(c.graph)}else(!r||r==="none")&&p(i)})}D.exports=h},"03A+":function(D,I,e){var g=e("JTzB"),f=e("ExA7"),y=Object.prototype,p=y.hasOwnProperty,v=y.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(u){return f(u)&&p.call(u,"callee")&&!v.call(u,"callee")};D.exports=h},"06DH":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("Kagy"),p=e("IUWy"),v=y.toolbox.magicType,h="__ec_magicType_stack__";function u(c){this.model=c}u.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:f.clone(v.title),option:{},seriesIndex:{}};var o=u.prototype;o.getIcons=function(){var c=this.model,n=c.get("icon"),l={};return f.each(c.get("type"),function(t){n[t]&&(l[t]=n[t])}),l};var i={line:function(c,n,l,t){if(c==="bar")return f.merge({id:n,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(c,n,l,t){if(c==="line")return f.merge({id:n,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(c,n,l,t){var s=l.get("stack")===h;if(c==="line"||c==="bar")return t.setIconStatus("stack",s?"normal":"emphasis"),f.merge({id:n,stack:s?"":h},t.get("option.stack")||{},!0)}},r=[["line","bar"],["stack"]];o.onclick=function(c,n,l){var t=this.model,s=t.get("seriesIndex."+l);if(!i[l])return;var d={series:[]},m=function(E){var A=E.subType,S=E.id,T=i[l](A,S,E,t);T&&(f.defaults(T,E.option),d.series.push(T));var O=E.coordinateSystem;if(O&&O.type==="cartesian2d"&&(l==="line"||l==="bar")){var x=O.getAxesByScale("ordinal")[0];if(x){var C=x.dim,_=C+"Axis",N=c.queryComponents({mainType:_,index:E.get(name+"Index"),id:E.get(name+"Id")})[0],F=N.componentIndex;d[_]=d[_]||[];for(var k=0;k<=F;k++)d[_][F]=d[_][F]||{};d[_][F].boundaryGap=l==="bar"}}};f.each(r,function(E){f.indexOf(E,l)>=0&&f.each(E,function(A){t.setIconStatus(A,"normal")})}),t.setIconStatus(l,"emphasis"),c.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},m);var w;if(l==="stack"){var b=d.series&&d.series[0]&&d.series[0].stack===h;w=b?f.merge({stack:v.title.tiled},v.title):f.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:d,newTitle:w,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(c,n){n.mergeOption(c.newOption)}),p.register("magicType",u);var a=u;D.exports=a},"06Qe":function(D,I,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",y=typeof window=="undefined"?null:window,p=!1,v=y&&y.document;function h(i){return u(i)}var u;if(v&&!g.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",f),u=function(r){return v.createElement("<zrvml:"+r+' class="zrvml">')}}catch(i){u=function(a){return v.createElement("<"+a+' xmlns="'+f+'" class="zrvml">')}}function o(){if(p||!v)return;p=!0;var i=v.styleSheets;i.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):i[0].addRule(".zrvml","behavior:url(#default#VML)")}I.doc=v,I.createNode=h,I.initVML=o},"09Wf":function(D,I,e){"use strict";e.d(I,"b",function(){return f}),e.d(I,"a",function(){return y});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),y=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(D,I,e){var g=e("T4UG"),f=e("I3/A"),y=e("7aKB"),p=y.encodeHTML,v=e("Qxkt"),h=e("Tghj"),u=h.__DEV__,o=g.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,a){for(var c=r.edges||r.links,n=r.data||r.nodes,l=r.levels,t=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(t[l[s].depth]=new v(l[s],this,a));if(n&&c){var d=f(n,c,this,!0,m);return d.data}function m(w,b){w.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,O=T.getData().getItemLayout(A).depth,x=T.levelModels[O];return x||this.parentModel}),E}),b.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,O=T.getGraph().getEdgeByIndex(A),x=O.node1.getLayout().depth,C=T.levelModels[x];return C||this.parentModel}),E})}},setNodePosition:function(r,a){var c=this.option.data[r];c.localX=a[0],c.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,a,c){if(c==="edge"){var n=this.getDataParams(r,c),l=n.data,t=l.source+" -- "+l.target;return n.value&&(t+=" : "+n.value),p(t)}else if(c==="node"){var s=this.getGraph().getNodeByIndex(r),d=s.getLayout().value,m=this.getDataParams(r,c).data.name;if(d)var t=m+" : "+d;return p(t)}return o.superCall(this,"formatTooltip",r,a)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,a){var c=o.superCall(this,"getDataParams",r,a);if(c.value==null&&a==="node"){var n=this.getGraph().getNodeByIndex(r),l=n.getLayout().value;c.value=l}return c},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}}),i=o;D.exports=i},"0Cz8":function(D,I,e){var g=e("Xi7e"),f=e("ebwN"),y=e("e4Nc"),p=200;function v(h,u){var o=this.__data__;if(o instanceof g){var i=o.__data__;if(!f||i.length<p-1)return i.push([h,u]),this.size=++o.size,this;o=this.__data__=new y(i)}return o.set(h,u),this.size=o.size,this}D.exports=v},"0HBW":function(D,I,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function y(p,v){v.update="updateView",g.registerAction(v,function(h,u){var o={};return u.eachComponent({mainType:"geo",query:h},function(i){i[p](h.name);var r=i.coordinateSystem;f.each(r.regions,function(a){o[a.name]=i.isSelected(a.name)||!1})}),{selected:o,name:h.name}})}y("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),y("select",{type:"geoSelect",event:"geoselected"}),y("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(D,I,e){var g=e("bYtY"),f=e("+TT/"),y=e("OELB"),p=e("IDmD"),v=864e5;function h(i,r,a){this._model=i}h.prototype={constructor:h,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(i){i=y.parseDate(i);var r=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var c=i.getDate();c=c<10?"0"+c:c;var n=i.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:r,m:a,d:c,day:n,time:i.getTime(),formatedDate:r+"-"+a+"-"+c,date:i}},getNextNDay:function(i,r){return r=r||0,r===0?this.getDateInfo(i):(i=new Date(this.getDateInfo(i).time),i.setDate(i.getDate()+r),this.getDateInfo(i))},update:function(i,r){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,c=["width","height"],n=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[a,7]:[7,a];g.each([0,1],function(w){m(n,w)&&(l[c[w]]=n[w]*t[w])});var s={width:r.getWidth(),height:r.getHeight()},d=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(w){m(n,w)||(n[w]=d[c[w]]/t[w])});function m(w,b){return w[b]!=null&&w[b]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(i,r){g.isArray(i)&&(i=i[0]),r==null&&(r=!0);var a=this.getDateInfo(i),c=this._rangeInfo,n=a.formatedDate;if(r&&!(a.time>=c.start.time&&a.time<c.end.time+v))return[NaN,NaN];var l=a.day,t=this._getRangeInfo([c.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(i){var r=this.pointToDate(i);return r&&r.time},dataToRect:function(i,r){var a=this.dataToPoint(i,r);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(i){var r=Math.floor((i[0]-this._rect.x)/this._sw)+1,a=Math.floor((i[1]-this._rect.y)/this._sh)+1,c=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(a,r-1,c):this._getDateByWeeksAndDay(r,a-1,c)},convertToPixel:g.curry(u,"dataToPoint"),convertFromPixel:g.curry(u,"pointToData"),_initRangeOption:function(){var i=this._model.get("range"),r=i;if(g.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(i=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var a=this.getDateInfo(r),c=a.date;c.setMonth(c.getMonth()+1);var n=this.getNextNDay(c,-1);i=[a.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(i=[r,r]);var l=this._getRangeInfo(i);return l.start.time>l.end.time&&i.reverse(),i},_getRangeInfo:function(i){i=[this.getDateInfo(i[0]),this.getDateInfo(i[1])];var r;i[0].time>i[1].time&&(r=!0,i.reverse());var a=Math.floor(i[1].time/v)-Math.floor(i[0].time/v)+1,c=new Date(i[0].time),n=c.getDate(),l=i[1].date.getDate();c.setDate(n+a-1);var t=c.getDate();if(t!==l)for(var s=c.getTime()-i[1].time>0?1:-1;(t=c.getDate())!==l&&(c.getTime()-i[1].time)*s>0;)a-=s,c.setDate(t-s);var d=Math.floor((a+i[0].day+6)/7),m=r?-d+1:d-1;return r&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:a,weeks:d,nthWeek:m,fweek:i[0].day,lweek:i[1].day}},_getDateByWeeksAndDay:function(i,r,a){var c=this._getRangeInfo(a);if(i>c.weeks||i===0&&r<c.fweek||i===c.weeks&&r>c.lweek)return!1;var n=(i-1)*7-c.fweek+r,l=new Date(c.start.time);return l.setDate(c.start.d+n),this.getDateInfo(l)}},h.dimensions=h.prototype.dimensions,h.getDimensionsInfo=h.prototype.getDimensionsInfo,h.create=function(i,r){var a=[];return i.eachComponent("calendar",function(c){var n=new h(c,i,r);a.push(n),c.coordinateSystem=n}),i.eachSeries(function(c){c.get("coordinateSystem")==="calendar"&&(c.coordinateSystem=a[c.get("calendarIndex")||0])}),a};function u(i,r,a,c){var n=a.calendarModel,l=a.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[i](c):null}p.register("calendar",h);var o=h;D.exports=o},"0JQy":function(D,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",p=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",u="["+p+"]",o="\\ud83c[\\udffb-\\udfff]",i="(?:"+u+"|"+o+")",r="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,a,c].join("|")+")"+t+l+")*",d=t+l+s,m="(?:"+[r+u+"?",u,a,c,h].join("|")+")",w=RegExp(o+"(?="+o+")|"+m+d,"g");function b(E){return E.match(w)||[]}D.exports=b},"0NbB":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CaretDownOutlined";var h=I.a=g.forwardRef(v)},"0V0F":function(D,I,e){var g=e("bYtY"),f=g.createHashMap,y=g.each;function p(h){var u=f();h.eachSeries(function(o){var i=o.get("stack");if(i){var r=u.get(i)||u.set(i,[]),a=o.getData(),c={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:o};if(!c.stackedDimension||!(c.isStackedByIndex||c.stackedByDimension))return;r.length&&a.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(c)}}),u.each(v)}function v(h){y(h,function(u,o){var i=[],r=[NaN,NaN],a=[u.stackResultDimension,u.stackedOverDimension],c=u.data,n=u.isStackedByIndex,l=c.map(a,function(t,s,d){var m=c.get(u.stackedDimension,d);if(isNaN(m))return r;var w,b;n?b=c.getRawIndex(d):w=c.get(u.stackedByDimension,d);for(var E=NaN,A=o-1;A>=0;A--){var S=h[A];if(n||(b=S.data.rawIndexOf(S.stackedByDimension,w)),b>=0){var T=S.data.getByRawIndex(S.stackResultDimension,b);if(m>=0&&T>0||m<=0&&T<0){m+=T,E=T;break}}}return i[0]=m,i[1]=E,i});c.hostModel.setData(l),u.data=l})}D.exports=p},"0XgM":function(D,I,e){},"0fbx":function(D,I,e){},"0o9m":function(D,I,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),y=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),y.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(D,I,e){var g=e("ProS");g.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),g.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(D,I){var e=arguments[3],g=arguments[4],f=arguments[5],y=JSON.stringify;D.exports=function(p,v){for(var h,u=Object.keys(f),o=0,i=u.length;o<i;o++){var r=u[o],a=f[r].exports;if(a===p||a&&a.default===p){h=r;break}}if(!h){h=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var c={},o=0,i=u.length;o<i;o++){var r=u[o];c[r]=r}g[h]=["function(require,module,exports){"+p+"(self); }",c]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[h]=h,g[n]=["function(require,module,exports){var f = require("+y(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(n);function s(A){t[A]=!0;for(var S in g[A][1]){var T=g[A][1][S];t[T]||s(T)}}var d="("+e+")({"+Object.keys(t).map(function(A){return y(A)+":["+g[A][0]+","+y(g[A][1])+"]"}).join(",")+"},{},["+y(n)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,w=new Blob([d],{type:"text/javascript"});if(v&&v.bare)return w;var b=m.createObjectURL(w),E=new Worker(b);return E.objectURL=b,E}},"0s+r":function(D,I,e){var g=e("bYtY"),f=e("QBsz"),y=e("y23F"),p=e("H6uX"),v=e("YH21"),h=e("C0SR"),u="silent";function o(s,d,m){return{type:s,event:m,target:d.target,topTarget:d.topTarget,cancelBubble:!1,offsetX:m.zrX,offsetY:m.zrY,gestureEvent:m.gestureEvent,pinchX:m.pinchX,pinchY:m.pinchY,pinchScale:m.pinchScale,wheelDelta:m.zrDelta,zrByTouch:m.zrByTouch,which:m.which,stop:i}}function i(){v.stop(this.event)}function r(){}r.prototype.dispose=function(){};var a=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],c=function(d,m,w,b){p.call(this),this.storage=d,this.painter=m,this.painterRoot=b,w=w||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,y.call(this),this.setHandlerProxy(w)};c.prototype={constructor:c,setHandlerProxy:function(d){this.proxy&&this.proxy.dispose(),d&&(g.each(a,function(m){d.on&&d.on(m,this[m],this)},this),d.handler=this),this.proxy=d},mousemove:function(d){var m=d.zrX,w=d.zrY,b=l(this,m,w),E=this._hovered,A=E.target;A&&!A.__zr&&(E=this.findHover(E.x,E.y),A=E.target);var S=this._hovered=b?{x:m,y:w}:this.findHover(m,w),T=S.target,O=this.proxy;O.setCursor&&O.setCursor(T?T.cursor:"default"),A&&T!==A&&this.dispatchToElement(E,"mouseout",d),this.dispatchToElement(S,"mousemove",d),T&&T!==A&&this.dispatchToElement(S,"mouseover",d)},mouseout:function(d){var m=d.zrEventControl,w=d.zrIsToLocalDOM;m!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",d),m!=="no_globalout"&&(!w&&this.trigger("globalout",{type:"globalout",event:d}))},resize:function(d){this._hovered={}},dispatch:function(d,m){var w=this[d];w&&w.call(this,m)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(d){var m=this.proxy;m.setCursor&&m.setCursor(d)},dispatchToElement:function(d,m,w){d=d||{};var b=d.target;if(b&&b.silent)return;for(var E="on"+m,A=o(m,d,w);b&&!(b[E]&&(A.cancelBubble=b[E].call(b,A)),b.trigger(m,A),b=b.parent,A.cancelBubble););A.cancelBubble||(this.trigger(m,A),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[E]=="function"&&S[E].call(S,A),S.trigger&&S.trigger(m,A)}))},findHover:function(d,m,w){for(var b=this.storage.getDisplayList(),E={x:d,y:m},A=b.length-1;A>=0;A--){var S;if(b[A]!==w&&!b[A].ignore&&(S=n(b[A],d,m))&&(!E.topTarget&&(E.topTarget=b[A]),S!==u)){E.target=b[A];break}}return E},processGesture:function(d,m){this._gestureMgr||(this._gestureMgr=new h);var w=this._gestureMgr;m==="start"&&w.clear();var b=w.recognize(d,this.findHover(d.zrX,d.zrY,null).target,this.proxy.dom);if(m==="end"&&w.clear(),b){var E=b.type;d.gestureEvent=E,this.dispatchToElement({target:b.target},E,b.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){c.prototype[s]=function(d){var m=d.zrX,w=d.zrY,b=l(this,m,w),E,A;if((s!=="mouseup"||!b)&&(E=this.findHover(m,w),A=E.target),s==="mousedown")this._downEl=A,this._downPoint=[d.zrX,d.zrY],this._upEl=A;else if(s==="mouseup")this._upEl=A;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[d.zrX,d.zrY])>4)return;this._downPoint=null}this.dispatchToElement(E,s,d)}});function n(s,d,m){if(s[s.rectHover?"rectContain":"contain"](d,m)){for(var w=s,b;w;){if(w.clipPath&&!w.clipPath.contain(d,m))return!1;w.silent&&(b=!0),w=w.parent}return b?u:!0}return!1}function l(s,d,m){var w=s.painter;return d<0||d>w.getWidth()||m<0||m>w.getHeight()}g.mixin(c,p),g.mixin(c,y);var t=c;D.exports=t},"0ycA":function(D,I){function e(){return[]}D.exports=e},"10cm":function(D,I,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;e("0qV/");var p={type:"graphRoam",event:"graphRoam",update:"none"};g.registerAction(p,function(v,h){h.eachComponent({mainType:"series",query:v},function(u){var o=u.coordinateSystem,i=y(o,v);u.setCenter&&u.setCenter(i.center),u.setZoom&&u.setZoom(i.zoom)})})},"14J3":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("1GLa")},"15/o":function(D,I,e){},"19Vz":function(D,I,e){(function(g){g(e("VrN/"))})(function(g){g.defineOption("placeholder","",function(o,i,r){var a=r&&r!=g.Init;if(i&&!a)o.on("blur",v),o.on("change",h),o.on("swapDoc",h),g.on(o.getInputField(),"compositionupdate",o.state.placeholderCompose=function(){p(o)}),h(o);else if(!i&&a){o.off("blur",v),o.off("change",h),o.off("swapDoc",h),g.off(o.getInputField(),"compositionupdate",o.state.placeholderCompose),f(o);var c=o.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}i&&!o.hasFocus()&&v(o)});function f(o){o.state.placeholder&&(o.state.placeholder.parentNode.removeChild(o.state.placeholder),o.state.placeholder=null)}function y(o){f(o);var i=o.state.placeholder=document.createElement("pre");i.style.cssText="height: 0; overflow: visible",i.style.direction=o.getOption("direction"),i.className="CodeMirror-placeholder CodeMirror-line-like";var r=o.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),i.appendChild(r),o.display.lineSpace.insertBefore(i,o.display.lineSpace.firstChild)}function p(o){setTimeout(function(){var i=!1,r=o.getInputField();r.nodeName=="TEXTAREA"?i=!r.value:o.lineCount()==1&&(i=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),i?y(o):f(o)},20)}function v(o){u(o)&&y(o)}function h(o){var i=o.getWrapperElement(),r=u(o);i.className=i.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?y(o):f(o)}function u(o){return o.lineCount()===1&&o.getLine(0)===""}})},"1GLa":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("FIfw"),p=e.n(y)},"1Jh7":function(D,I,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,h){f.buildPath(v,h,!1)}});D.exports=y},"1LEl":function(D,I,e){var g=e("ProS"),f=e("F9bG"),y=g.extendComponentView({type:"axisPointer",render:function(v,h,u){var o=h.getComponent("tooltip"),i=v.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";f.register("axisPointer",u,function(r,a,c){i!=="none"&&(r==="leave"||i.indexOf(r)>=0)&&c({type:"updateAxisPointer",currTrigger:r,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(v,h){f.unregister(h.getZr(),"axisPointer"),y.superApply(this._model,"remove",arguments)},dispose:function(v,h){f.unregister("axisPointer",h),y.superApply(this._model,"dispose",arguments)}}),p=y;D.exports=p},"1MYJ":function(D,I,e){var g=e("y+Vt"),f=g.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var p=this.__dirtyPath,v=this.shape.paths,h=0;h<v.length;h++)p=p||v[h].__dirtyPath;this.__dirtyPath=p,this.__dirty=this.__dirty||p},beforeBrush:function(){this._updatePathDirty();for(var p=this.shape.paths||[],v=this.getGlobalScale(),h=0;h<p.length;h++)p[h].path||p[h].createPathProxy(),p[h].path.setScale(v[0],v[1],p[h].segmentIgnoreThreshold)},buildPath:function(p,v){for(var h=v.paths||[],u=0;u<h.length;u++)h[u].buildPath(p,h[u].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(),g.prototype.getBoundingRect.call(this)}});D.exports=f},"1NG9":function(D,I,e){var g=e("y+Vt"),f=e("QBsz"),y=e("iXp4"),p=f.min,v=f.max,h=f.scaleAndAdd,u=f.copy,o=[],i=[],r=[];function a(m){return isNaN(m[0])||isNaN(m[1])}function c(m,w,b,E,A,S,T,O,x,C,_){return C==="none"||!C?l.apply(this,arguments):n.apply(this,arguments)}function n(m,w,b,E,A,S,T,O,x,C,_){for(var N=0,F=b,k=0;k<E;k++){var P=w[F];if(F>=A||F<0)break;if(a(P)){if(_){F+=S;continue}break}if(F===b)m[S>0?"moveTo":"lineTo"](P[0],P[1]);else if(x>0){var j=w[N],K=C==="y"?1:0,R=(P[K]-j[K])*x;u(i,j),i[K]=j[K]+R,u(r,P),r[K]=P[K]-R,m.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1])}else m.lineTo(P[0],P[1]);N=F,F+=S}return k}function l(m,w,b,E,A,S,T,O,x,C,_){for(var N=0,F=b,k=0;k<E;k++){var P=w[F];if(F>=A||F<0)break;if(a(P)){if(_){F+=S;continue}break}if(F===b)m[S>0?"moveTo":"lineTo"](P[0],P[1]),u(i,P);else if(x>0){var j=F+S,K=w[j];if(_)for(;K&&a(w[j]);)j+=S,K=w[j];var R=.5,B=w[N],K=w[j];if(!K||a(K))u(r,P);else{a(K)&&!_&&(K=P),f.sub(o,K,B);var U,H;if(C==="x"||C==="y"){var W=C==="x"?0:1;U=Math.abs(P[W]-B[W]),H=Math.abs(P[W]-K[W])}else U=f.dist(P,B),H=f.dist(P,K);R=H/(H+U),h(r,P,o,-x*(1-R))}p(i,i,O),v(i,i,T),p(r,r,O),v(r,r,T),m.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1]),h(i,P,o,x*R)}else m.lineTo(P[0],P[1]);N=F,F+=S}return k}function t(m,w){var b=[Infinity,Infinity],E=[-Infinity,-Infinity];if(w)for(var A=0;A<m.length;A++){var S=m[A];S[0]<b[0]&&(b[0]=S[0]),S[1]<b[1]&&(b[1]=S[1]),S[0]>E[0]&&(E[0]=S[0]),S[1]>E[1]&&(E[1]=S[1])}return{min:w?b:E,max:w?E:b}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:y(g.prototype.brush),buildPath:function(m,w){var b=w.points,E=0,A=b.length,S=t(b,w.smoothConstraint);if(w.connectNulls){for(;A>0&&a(b[A-1]);A--);for(;E<A&&a(b[E]);E++);}for(;E<A;)E+=c(m,b,E,A,A,1,S.min,S.max,w.smooth,w.smoothMonotone,w.connectNulls)+1}}),d=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:y(g.prototype.brush),buildPath:function(m,w){var b=w.points,E=w.stackedOnPoints,A=0,S=b.length,T=w.smoothMonotone,O=t(b,w.smoothConstraint),x=t(E,w.smoothConstraint);if(w.connectNulls){for(;S>0&&a(b[S-1]);S--);for(;A<S&&a(b[A]);A++);}for(;A<S;){var C=c(m,b,A,S,S,1,O.min,O.max,w.smooth,T,w.connectNulls);c(m,E,A+C-1,C,S,-1,x.min,x.max,w.stackedOnSmooth,T,w.connectNulls),A+=C+1,m.closePath()}}});I.Polyline=s,I.Polygon=d},"1RvN":function(D,I){var e=function(){this.head=null,this.tail=null,this._len=0},g=e.prototype;g.insert=function(h){var u=new f(h);return this.insertEntry(u),u},g.insertEntry=function(h){this.head?(this.tail.next=h,h.prev=this.tail,h.next=null,this.tail=h):this.head=this.tail=h,this._len++},g.remove=function(h){var u=h.prev,o=h.next;u?u.next=o:this.head=o,o?o.prev=u:this.tail=u,h.next=h.prev=null,this._len--},g.len=function(){return this._len},g.clear=function(){this.head=this.tail=null,this._len=0};var f=function(u){this.value=u,this.next,this.prev},y=function(u){this._list=new e,this._map={},this._maxSize=u||10,this._lastRemovedEntry=null},p=y.prototype;p.put=function(h,u){var o=this._list,i=this._map,r=null;if(i[h]==null){var a=o.len(),c=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var n=o.head;o.remove(n),delete i[n.key],r=n.value,this._lastRemovedEntry=n}c?c.value=u:c=new f(u),c.key=h,o.insertEntry(c),i[h]=c}return r},p.get=function(h){var u=this._map[h],o=this._list;if(u!=null)return u!==o.tail&&(o.remove(u),o.insertEntry(u)),u.value},p.clear=function(){this._list.clear(),this._map={}};var v=y;D.exports=v},"1bdT":function(D,I,e){var g=e("3gBT"),f=e("H6uX"),y=e("DN4a"),p=e("vWvF"),v=e("bYtY"),h=function(i){y.call(this,i),f.call(this,i),p.call(this,i),this.id=i.id||g()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(i,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":i=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=i,a[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(i,r){},attrKV:function(i,r){if(i==="position"||i==="scale"||i==="origin"){if(r){var a=this[i];a||(a=this[i]=[]),a[0]=r[0],a[1]=r[1]}}else this[i]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(i,r){if(typeof i=="string")this.attrKV(i,r);else if(v.isObject(i))for(var a in i)i.hasOwnProperty(a)&&this.attrKV(a,i[a]);return this.dirty(!1),this},setClipPath:function(i){var r=this.__zr;r&&i.addSelfToZr(r),this.clipPath&&this.clipPath!==i&&this.removeClipPath(),this.clipPath=i,i.__zr=r,i.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var i=this.clipPath;i&&(i.__zr&&i.removeSelfFromZr(i.__zr),i.__zr=null,i.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(i){this.__zr=i;var r=this.animators;if(r)for(var a=0;a<r.length;a++)i.animation.addAnimator(r[a]);this.clipPath&&this.clipPath.addSelfToZr(i)},removeSelfFromZr:function(i){this.__zr=null;var r=this.animators;if(r)for(var a=0;a<r.length;a++)i.animation.removeAnimator(r[a]);this.clipPath&&this.clipPath.removeSelfFromZr(i)}},v.mixin(h,p),v.mixin(h,y),v.mixin(h,f);var u=h;D.exports=u},"1dTM":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("GQ8N"),f=C(e("Lo0S")),y=e("VSMT"),p=e("GdRQ"),v=e("SZEN"),h=e("vewr"),u=O(e("YJ9k")),o=O(e("MZdM")),i=O(e("ItS6")),r=O(e("whVF")),a=O(e("Fv0C")),c=O(e("LCi9")),n=O(e("rwxt")),l=O(e("Mmt2")),t=O(e("iUHT")),s=O(e("mHUz")),d=O(e("P2ho")),m=e("NBmB");e("mdZa");var w=O(e("34/K")),b=O(e("hXwI")),E=O(e("SgaC")),A=O(e("3690")),S=O(e("8K/p")),T=O(e("xO64"));function O(ke){return ke&&ke.__esModule?ke:{default:ke}}function x(){if(typeof WeakMap!="function")return null;var ke=new WeakMap;return x=function(){return ke},ke}function C(ke){if(ke&&ke.__esModule)return ke;if(ke===null||_(ke)!=="object"&&typeof ke!="function")return{default:ke};var Ce=x();if(Ce&&Ce.has(ke))return Ce.get(ke);var ze={},_e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in ke)if(Object.prototype.hasOwnProperty.call(ke,ae)){var me=_e?Object.getOwnPropertyDescriptor(ke,ae):null;me&&(me.get||me.set)?Object.defineProperty(ze,ae,me):ze[ae]=ke[ae]}return ze.default=ke,Ce&&Ce.set(ke,ze),ze}function _(ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(ze){return typeof ze}:_=function(ze){return ze&&typeof Symbol=="function"&&ze.constructor===Symbol&&ze!==Symbol.prototype?"symbol":typeof ze},_(ke)}function N(ke,Ce){if(!(ke instanceof Ce))throw new TypeError("Cannot call a class as a function")}function F(ke,Ce){for(var ze=0;ze<Ce.length;ze++){var _e=Ce[ze];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(ke,_e.key,_e)}}function k(ke,Ce,ze){return Ce&&F(ke.prototype,Ce),ze&&F(ke,ze),ke}function P(ke,Ce){if(typeof Ce!="function"&&Ce!==null)throw new TypeError("Super expression must either be null or a function");ke.prototype=Object.create(Ce&&Ce.prototype,{constructor:{value:ke,writable:!0,configurable:!0}}),Ce&&j(ke,Ce)}function j(ke,Ce){return j=Object.setPrototypeOf||function(_e,ae){return _e.__proto__=ae,_e},j(ke,Ce)}function K(ke){var Ce=U();return function(){var _e=H(ke),ae;if(Ce){var me=H(this).constructor;ae=Reflect.construct(_e,arguments,me)}else ae=_e.apply(this,arguments);return R(this,ae)}}function R(ke,Ce){return Ce&&(_(Ce)==="object"||typeof Ce=="function")?Ce:B(ke)}function B(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ke){return!1}}function H(ke){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(ze){return ze.__proto__||Object.getPrototypeOf(ze)},H(ke)}var W=3,V="rgb(40, 40, 40)",z=17,X=50,q=19,fe=75,G=50,ve=1e3,Se=50,ge=1,Pe=1<<1,Ge=1<<2,pt=1<<3,Te=1<<4,xe=1<<24,lt=1<<25,Ie=1<<26,de=1<<27,ee=1<<28,se=function(ke){P(ze,ke);var Ce=K(ze);function ze(_e,ae,me){var Oe;if(N(this,ze),!_e)throw new Error("Must specify target");if(!ae)throw new Error("Must specify URL");Oe=Ce.call(this),Oe._target=_e,Oe._url=ae,me=me||{},Oe._rfbCredentials=me.credentials||{},Oe._shared="shared"in me?!!me.shared:!0,Oe._repeaterID=me.repeaterID||"",Oe._wsProtocols=me.wsProtocols||[],Oe._rfbConnectionState="",Oe._rfbInitState="",Oe._rfbAuthScheme=-1,Oe._rfbCleanDisconnect=!0,Oe._rfbVersion=0,Oe._rfbMaxVersion=3.8,Oe._rfbTightVNC=!1,Oe._rfbVeNCryptState=0,Oe._rfbXvpVer=0,Oe._fbWidth=0,Oe._fbHeight=0,Oe._fbName="",Oe._capabilities={power:!1},Oe._supportsFence=!1,Oe._supportsContinuousUpdates=!1,Oe._enabledContinuousUpdates=!1,Oe._supportsSetDesktopSize=!1,Oe._screenID=0,Oe._screenFlags=0,Oe._qemuExtKeyEventSupported=!1,Oe._clipboardText=null,Oe._clipboardServerCapabilitiesActions={},Oe._clipboardServerCapabilitiesFormats={},Oe._sock=null,Oe._display=null,Oe._flushing=!1,Oe._keyboard=null,Oe._gestures=null,Oe._disconnTimer=null,Oe._resizeTimeout=null,Oe._mouseMoveTimer=null,Oe._decoders={},Oe._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Oe._mousePos={},Oe._mouseButtonMask=0,Oe._mouseLastMoveTime=0,Oe._viewportDragging=!1,Oe._viewportDragPos={},Oe._viewportHasMoved=!1,Oe._accumulatedWheelDeltaX=0,Oe._accumulatedWheelDeltaY=0,Oe._gestureLastTapTime=null,Oe._gestureFirstDoubleTapEv=null,Oe._gestureLastMagnitudeX=0,Oe._gestureLastMagnitudeY=0,Oe._eventHandlers={focusCanvas:Oe._focusCanvas.bind(B(Oe)),windowResize:Oe._windowResize.bind(B(Oe)),handleMouse:Oe._handleMouse.bind(B(Oe)),handleWheel:Oe._handleWheel.bind(B(Oe)),handleGesture:Oe._handleGesture.bind(B(Oe))},f.Debug(">> RFB.constructor"),Oe._screen=document.createElement("div"),Oe._screen.style.display="flex",Oe._screen.style.width="100%",Oe._screen.style.height="100%",Oe._screen.style.overflow="auto",Oe._screen.style.background=V,Oe._canvas=document.createElement("canvas"),Oe._canvas.style.margin="auto",Oe._canvas.style.outline="none",Oe._canvas.style.flexShrink="0",Oe._canvas.width=0,Oe._canvas.height=0,Oe._canvas.tabIndex=-1,Oe._screen.appendChild(Oe._canvas),Oe._cursor=new n.default,Oe._cursorImage=ze.cursors.none,Oe._decoders[m.encodings.encodingRaw]=new w.default,Oe._decoders[m.encodings.encodingCopyRect]=new b.default,Oe._decoders[m.encodings.encodingRRE]=new E.default,Oe._decoders[m.encodings.encodingHextile]=new A.default,Oe._decoders[m.encodings.encodingTight]=new S.default,Oe._decoders[m.encodings.encodingTightPNG]=new T.default;try{Oe._display=new o.default(Oe._canvas)}catch(Ze){throw f.Error("Display exception: "+Ze),Ze}return Oe._display.onflush=Oe._onFlush.bind(B(Oe)),Oe._keyboard=new a.default(Oe._canvas),Oe._keyboard.onkeyevent=Oe._handleKeyEvent.bind(B(Oe)),Oe._gestures=new c.default,Oe._sock=new l.default,Oe._sock.on("message",function(){Oe._handleMessage()}),Oe._sock.on("open",function(){Oe._rfbConnectionState==="connecting"&&Oe._rfbInitState===""?(Oe._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):Oe._fail("Unexpected server connection while "+Oe._rfbConnectionState)}),Oe._sock.on("close",function(Ze){f.Debug("WebSocket on-close event");var vt="";Ze.code&&(vt="(code: "+Ze.code,Ze.reason&&(vt+=", reason: "+Ze.reason),vt+=")");switch(Oe._rfbConnectionState){case"connecting":Oe._fail("Connection closed "+vt);break;case"connected":Oe._updateConnectionState("disconnecting"),Oe._updateConnectionState("disconnected");break;case"disconnecting":Oe._updateConnectionState("disconnected");break;case"disconnected":Oe._fail("Unexpected server disconnect when already disconnected "+vt);break;default:Oe._fail("Unexpected server disconnect before connecting "+vt);break}Oe._sock.off("close")}),Oe._sock.on("error",function(Ze){return f.Warn("WebSocket on-error event")}),setTimeout(Oe._updateConnectionState.bind(B(Oe),"connecting")),f.Debug("<< RFB.constructor"),Oe.dragViewport=!1,Oe.focusOnClick=!0,Oe._viewOnly=!1,Oe._clipViewport=!1,Oe._scaleViewport=!1,Oe._resizeSession=!1,Oe._showDotCursor=!1,me.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Oe._showDotCursor=me.showDotCursor),Oe._qualityLevel=6,Oe._compressionLevel=2,Oe}return k(ze,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(ae){this._rfbCredentials=ae,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;f.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(ae,me,Oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Oe===void 0){this.sendKey(ae,me,!0),this.sendKey(ae,me,!1);return}var Ze=d.default[me];if(this._qemuExtKeyEventSupported&&Ze)ae=ae||0,f.Info("Sending key ("+(Oe?"down":"up")+"): keysym "+ae+", scancode "+Ze),ze.messages.QEMUExtendedKeyEvent(this._sock,ae,Oe,Ze);else{if(!ae)return;f.Info("Sending keysym ("+(Oe?"down":"up")+"): "+ae),ze.messages.keyEvent(this._sock,ae,Oe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(ae){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[ge]&&this._clipboardServerCapabilitiesActions[de])this._clipboardText=ae,ze.messages.extendedClipboardNotify(this._sock,[ge]);else{for(var me=new Uint8Array(ae.length),Oe=0;Oe<ae.length;Oe++)me[Oe]=ae.charCodeAt(Oe);ze.messages.clientCutText(this._sock,me)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(ae){ae.name==="SyntaxError"?this._fail("Invalid host or port ("+ae+")"):this._fail("Error when opening socket ("+ae+")")}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),f.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){f.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(ae){if(!(ae.name==="NotFoundError"))throw ae}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(ae){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(ae){this._fbName=ae,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(ae){var me=this;window.requestAnimationFrame(function(){me._updateClip(),me._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var ae=this._display.clipViewport,me=this._clipViewport;if(this._scaleViewport&&(me=!1),ae!==me&&(this._display.clipViewport=me),me){var Oe=this._screenSize();this._display.viewportChangeSize(Oe.w,Oe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var ae=this._screenSize();this._display.autoscale(ae.w,ae.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var ae=this._screenSize();ze.messages.setDesktopSize(this._sock,Math.floor(ae.w),Math.floor(ae.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+ae.w+"x"+ae.h)}},{key:"_screenSize",value:function(){var ae=this._screen.getBoundingClientRect();return{w:ae.width,h:ae.height}}},{key:"_fixScrollbars",value:function(){var ae=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=ae}},{key:"_updateConnectionState",value:function(ae){var me=this,Oe=this._rfbConnectionState;if(ae===Oe){f.Debug("Already in state '"+ae+"', ignoring");return}if(Oe==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(ae){case"connected":if(Oe!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+Oe);return}break;case"disconnected":if(Oe!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+Oe);return}break;case"connecting":if(Oe!==""){f.Error("Bad transition to connecting state, previous connection state: "+Oe);return}break;case"disconnecting":if(Oe!=="connected"&&Oe!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+Oe);return}break;default:f.Error("Unknown connection state: "+ae);return}this._rfbConnectionState=ae,f.Debug("New state '"+ae+"', was '"+Oe+"'."),this._disconnTimer&&ae!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(ae){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){f.Error("Disconnection timed out."),me._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(ae){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+ae);break;case"connected":f.Error("Failed while connected: "+ae);break;case"connecting":f.Error("Failed when connecting: "+ae);break;default:f.Error("RFB failure: "+ae);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(ae,me){this._capabilities[ae]=me,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){f.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":f.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(ae,me,Oe){this.sendKey(ae,me,Oe)}},{key:"_handleMouse",value:function(ae){if(ae.type==="click"&&ae.target!==this._canvas)return;if(ae.stopPropagation(),ae.preventDefault(),ae.type==="click"||ae.type==="contextmenu")return;var me=(0,v.clientToElement)(ae.clientX,ae.clientY,this._canvas);switch(ae.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(me.x,me.y,!0,1<<ae.button);break;case"mouseup":this._handleMouseButton(me.x,me.y,!1,1<<ae.button);break;case"mousemove":this._handleMouseMove(me.x,me.y);break}}},{key:"_handleMouseButton",value:function(ae,me,Oe,Ze){if(this.dragViewport)if(Oe&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:ae,y:me},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(ae,me,Ze)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(ae,me,this._mouseButtonMask)),Oe?this._mouseButtonMask|=Ze:this._mouseButtonMask&=~Ze,this._sendMouse(ae,me,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(ae,me){var Oe=this;if(this._viewportDragging){var Ze=this._viewportDragPos.x-ae,vt=this._viewportDragPos.y-me;(this._viewportHasMoved||Math.abs(Ze)>p.dragThreshold||Math.abs(vt)>p.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:ae,y:me},this._display.viewportChangePos(Ze,vt));return}if(this._mousePos={x:ae,y:me},this._mouseMoveTimer==null){var Ct=Date.now()-this._mouseLastMoveTime;Ct>z?(this._sendMouse(ae,me,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Oe._handleDelayedMouseMove()},z-Ct)}}},{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(ae,me,Oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ze.messages.pointerEvent(this._sock,this._display.absX(ae),this._display.absY(me),Oe)}},{key:"_handleWheel",value:function(ae){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;ae.stopPropagation(),ae.preventDefault();var me=(0,v.clientToElement)(ae.clientX,ae.clientY,this._canvas),Oe=ae.deltaX,Ze=ae.deltaY;ae.deltaMode!==0&&(Oe*=q,Ze*=q),this._accumulatedWheelDeltaX+=Oe,this._accumulatedWheelDeltaY+=Ze,Math.abs(this._accumulatedWheelDeltaX)>=X&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(me.x,me.y,!0,1<<5),this._handleMouseButton(me.x,me.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(me.x,me.y,!0,1<<6),this._handleMouseButton(me.x,me.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=X&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(me.x,me.y,!0,1<<3),this._handleMouseButton(me.x,me.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(me.x,me.y,!0,1<<4),this._handleMouseButton(me.x,me.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(ae,me,Oe){this._handleMouseMove(me,Oe),this._cursor.move(ae.detail.clientX,ae.detail.clientY)}},{key:"_handleTapEvent",value:function(ae,me){var Oe=(0,v.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ve&&this._gestureFirstDoubleTapEv.detail.type===ae.detail.type){var Ze=this._gestureFirstDoubleTapEv.detail.clientX-ae.detail.clientX,vt=this._gestureFirstDoubleTapEv.detail.clientY-ae.detail.clientY,Ct=Math.hypot(Ze,vt);Ct<Se?Oe=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=ae}else this._gestureFirstDoubleTapEv=ae;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,me),this._handleMouseButton(Oe.x,Oe.y,!1,me)}},{key:"_handleGesture",value:function(ae){var me,Oe=(0,v.clientToElement)(ae.detail.clientX,ae.detail.clientY,this._canvas);switch(ae.type){case"gesturestart":switch(ae.detail.type){case"onetap":this._handleTapEvent(ae,1);break;case"twotap":this._handleTapEvent(ae,4);break;case"threetap":this._handleTapEvent(ae,2);break;case"drag":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,1);break;case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=ae.detail.magnitudeX,this._gestureLastMagnitudeY=ae.detail.magnitudeY,this._fakeMouseMove(ae,Oe.x,Oe.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),this._fakeMouseMove(ae,Oe.x,Oe.y);break}break;case"gesturemove":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y);break;case"twodrag":for(this._fakeMouseMove(ae,Oe.x,Oe.y);ae.detail.magnitudeY-this._gestureLastMagnitudeY>G;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeY+=G;for(;ae.detail.magnitudeY-this._gestureLastMagnitudeY<-G;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeY-=G;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX>G;)this._handleMouseButton(Oe.x,Oe.y,!0,32),this._handleMouseButton(Oe.x,Oe.y,!1,32),this._gestureLastMagnitudeX+=G;for(;ae.detail.magnitudeX-this._gestureLastMagnitudeX<-G;)this._handleMouseButton(Oe.x,Oe.y,!0,64),this._handleMouseButton(Oe.x,Oe.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(ae,Oe.x,Oe.y),me=Math.hypot(ae.detail.magnitudeX,ae.detail.magnitudeY),Math.abs(me-this._gestureLastMagnitudeX)>fe){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);me-this._gestureLastMagnitudeX>fe;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeX+=fe;for(;me-this._gestureLastMagnitudeX<-fe;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeX-=fe}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(ae.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,1);break;case"longpress":this._fakeMouseMove(ae,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var ae=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+ae);var me=0;switch(ae){case"000.000":me=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 "+ae)}if(me){for(var Oe="ID:"+this._repeaterID;Oe.length<250;)Oe+="\0";return this._sock.sendString(Oe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ze="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ze+`
|
|
|
`),f.Debug("Sent ProtocolVersion: "+Ze),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function ae(Ze,vt){for(var Ct=0;Ct<vt.length;Ct++)if(vt[Ct]===Ze)return!0;return!1}if(this._rfbVersion>=3.7){var me=this._sock.rQshift8();if(this._sock.rQwait("security type",me,1))return!1;if(me===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Oe=this._sock.rQshiftBytes(me);if(f.Debug("Server security types: "+Oe),ae(1,Oe))this._rfbAuthScheme=1;else if(ae(22,Oe))this._rfbAuthScheme=22;else if(ae(16,Oe))this._rfbAuthScheme=16;else if(ae(2,Oe))this._rfbAuthScheme=2;else if(ae(19,Oe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Oe+")");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",f.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var ae=this._sock.rQshift32(),me="";if(ae>0){if(this._sock.rQwait("reason",ae,4))return!1;me=this._sock.rQshiftStr(ae)}return me!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:me}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+me+")")):(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 ae=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(ae),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var ae=this._sock.rQshift8(),me=this._sock.rQshift8();if(!(ae==0&&me==2))return this._fail("Unsupported VeNCrypt version "+ae+"."+me);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Oe=this._sock.rQshift8();if(Oe!=0)return this._fail("VeNCrypt failure "+Oe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ze=this._sock.rQshift8();if(Ze<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ze,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var vt=[],Ct=0;Ct<this._rfbVeNCryptSubtypesLength;Ct++)vt.push(this._sock.rQshift32());if(vt.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 Be=(0,y.encodeUTF8)(this._rfbCredentials.username),Rt=(0,y.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Be.length]),this._sock.send([0,0,0,Rt.length]),this._sock.sendString(Be),this._sock.sendString(Rt),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 ae=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),me=ze.genDES(this._rfbCredentials.password,ae);return this._sock.send(me),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(ae){for(var me={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Oe={},Ze=0;Ze<ae;Ze++){var vt=this._sock.rQshift32(),Ct=this._sock.rQshiftStr(4),Be=this._sock.rQshiftStr(8);Oe[vt]={vendor:Ct,signature:Be}}return f.Debug("Server Tight tunnel types: "+Oe),Oe[1]&&Oe[1].vendor==="SICR"&&Oe[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Oe[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Oe[0]?Oe[0].vendor!=me[0].vendor||Oe[0].signature!=me[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+me[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 ae=this._sock.rQshift32();if(ae>0&&this._sock.rQwait("tunnel capabilities",16*ae,4))return!1;if(this._rfbTightVNC=!0,ae>0)return this._negotiateTightTunnels(ae),!1}if(this._sock.rQwait("sub auth count",4))return!1;var me=this._sock.rQshift32();if(me===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*me,4))return!1;for(var Oe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ze=[],vt=0;vt<me;vt++){this._sock.rQshift32();var Ct=this._sock.rQshiftStr(12);Ze.push(Ct)}f.Debug("Server Tight authentication types: "+Ze);for(var Be in Oe)if(Ze.indexOf(Be)!=-1){this._sock.send([0,0,0,Oe[Be]]),f.Debug("Selected authentication type: "+Be);switch(Be){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: "+Be+")")}}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 ae=this._sock.rQshift32();return ae===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=ae,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:ae}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var ae=this._sock.rQshift16(),me=this._sock.rQshift16(),Oe=this._sock.rQshift8(),Ze=this._sock.rQshift8(),vt=this._sock.rQshift8(),Ct=this._sock.rQshift8(),Be=this._sock.rQshift16(),Rt=this._sock.rQshift16(),He=this._sock.rQshift16(),wt=this._sock.rQshift8(),Ye=this._sock.rQshift8(),et=this._sock.rQshift8();this._sock.rQskipBytes(3);var rt=this._sock.rQshift32();if(this._sock.rQwait("server init name",rt,24))return!1;var st=this._sock.rQshiftStr(rt);if(st=(0,y.decodeUTF8)(st,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+rt))return!1;var Ve=this._sock.rQshift16(),ie=this._sock.rQshift16(),$=this._sock.rQshift16();this._sock.rQskipBytes(2);var it=(Ve+ie+$)*16;if(this._sock.rQwait("TightVNC extended server init header",it,32+rt))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*ie),this._sock.rQskipBytes(16*$)}return f.Info("Screen: "+ae+"x"+me+", bpp: "+Oe+", depth: "+Ze+", bigEndian: "+vt+", trueColor: "+Ct+", redMax: "+Be+", greenMax: "+Rt+", blueMax: "+He+", redShift: "+wt+", greenShift: "+Ye+", blueShift: "+et),this._setDesktopName(st),this._resize(ae,me),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(f.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),ze.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),ze.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var ae=[];ae.push(m.encodings.encodingCopyRect),this._fbDepth==24&&(ae.push(m.encodings.encodingTight),ae.push(m.encodings.encodingTightPNG),ae.push(m.encodings.encodingHextile),ae.push(m.encodings.encodingRRE)),ae.push(m.encodings.encodingRaw),ae.push(m.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),ae.push(m.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),ae.push(m.encodings.pseudoEncodingDesktopSize),ae.push(m.encodings.pseudoEncodingLastRect),ae.push(m.encodings.pseudoEncodingQEMUExtendedKeyEvent),ae.push(m.encodings.pseudoEncodingExtendedDesktopSize),ae.push(m.encodings.pseudoEncodingXvp),ae.push(m.encodings.pseudoEncodingFence),ae.push(m.encodings.pseudoEncodingContinuousUpdates),ae.push(m.encodings.pseudoEncodingDesktopName),ae.push(m.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(ae.push(m.encodings.pseudoEncodingVMwareCursor),ae.push(m.encodings.pseudoEncodingCursor)),ze.messages.clientEncodings(this._sock,ae)}},{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 f.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(f.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32();if(ae=(0,g.toSigned32bit)(ae),this._sock.rQwait("ServerCutText content",Math.abs(ae),8))return!1;if(ae>=0){var me=this._sock.rQshiftStr(ae);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:me}}))}else{ae=Math.abs(ae);var Oe=this._sock.rQshift32(),Ze=Oe&65535,vt=Oe&4278190080,Ct=!!(vt&xe);if(Ct){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Be=0;Be<=15;Be++){var Rt=1<<Be;Ze&Rt&&(this._clipboardServerCapabilitiesFormats[Rt]=!0,this._sock.rQshift32())}for(var He=24;He<=31;He++){var wt=1<<He;this._clipboardServerCapabilitiesActions[wt]=!!(vt&wt)}var Ye=[xe,lt,Ie,de,ee];ze.messages.extendedClipboardCaps(this._sock,Ye,{extendedClipboardFormatText:0})}else if(vt===lt){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[ee]&&(Ze&ge&&ze.messages.extendedClipboardProvide(this._sock,[ge],[this._clipboardText]))}else if(vt===Ie){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[de]&&(this._clipboardText!=null?ze.messages.extendedClipboardNotify(this._sock,[ge]):ze.messages.extendedClipboardNotify(this._sock,[]))}else if(vt===de){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[lt]&&(Ze&ge&&ze.messages.extendedClipboardRequest(this._sock,[ge]))}else if(vt===ee){if(this._viewOnly)return!0;if(!(Ze&ge))return!0;this._clipboardText=null;var et=this._sock.rQshiftBytes(ae-4),rt=new i.default,st=null;rt.setInput(et);for(var Ve=0;Ve<=15;Ve++){var ie=1<<Ve;if(Ze&ie){var $=0,it=rt.inflate(4);$|=it[0]<<24,$|=it[1]<<16,$|=it[2]<<8,$|=it[3];var Qe=rt.inflate($);ie===ge&&(st=Qe)}}if(rt.setInput(null),st!==null){for(var ye="",Zt=0;Zt<st.length;Zt++)ye+=String.fromCharCode(st[Zt]);st=ye,st=(0,y.decodeUTF8)(st),st.length>0&&st.charAt(st.length-1)==="\0"&&(st=st.slice(0,-1)),st=st.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:st}}))}}else return this._fail("Unexpected action in extended clipboard message: "+vt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var ae=this._sock.rQshift32(),me=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",me,9))return!1;me>64&&(f.Warn("Bad payload length ("+me+") in fence response"),me=64);var Oe=this._sock.rQshiftStr(me);return this._supportsFence=!0,ae&1<<31?(ae&=1<<0|1<<1,ze.messages.clientFence(this._sock,ae,Oe),!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 ae=this._sock.rQshift8(),me=this._sock.rQshift8();switch(me){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=ae,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+me+")");break}return!0}},{key:"_normalMsg",value:function(){var ae;this._FBU.rects>0?ae=0:ae=this._sock.rQshift8();var me,Oe;switch(ae){case 0:return Oe=this._framebufferUpdate(),Oe&&!this._enabledContinuousUpdates&&ze.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Oe;case 1:return this._handleSetColourMapMsg();case 2:return f.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return me=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,me&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),f.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+ae+")"),f.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 ae=this._sock.rQshiftBytes(12);this._FBU.x=(ae[0]<<8)+ae[1],this._FBU.y=(ae[2]<<8)+ae[3],this._FBU.width=(ae[4]<<8)+ae[5],this._FBU.height=(ae[6]<<8)+ae[7],this._FBU.encoding=parseInt((ae[8]<<24)+(ae[9]<<16)+(ae[10]<<8)+ae[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 m.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case m.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case m.encodings.pseudoEncodingCursor:return this._handleCursor();case m.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var ae=document.createEvent("keyboardEvent");ae.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(me){}return!0;case m.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case m.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case m.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var ae=this._FBU.x,me=this._FBU.y,Oe=this._FBU.width,Ze=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var vt=this._sock.rQshift8();this._sock.rQshift8();var Ct,Be=4;if(vt==0){var Rt=4294967040|0;if(Ct=new Array(Oe*Ze*Be),this._sock.rQwait("VMware cursor classic encoding",Oe*Ze*Be*2,2))return!1;for(var He=new Array(Oe*Ze),wt=0;wt<Oe*Ze;wt++)He[wt]=this._sock.rQshift32();for(var Ye=new Array(Oe*Ze),et=0;et<Oe*Ze;et++)Ye[et]=this._sock.rQshift32();for(var rt=0;rt<Oe*Ze;rt++)if(He[rt]==0){var st=Ye[rt],Ve=st>>8&255,ie=st>>16&255,$=st>>24&255;Ct[rt*Be]=Ve,Ct[rt*Be+1]=ie,Ct[rt*Be+2]=$,Ct[rt*Be+3]=255}else(He[rt]&Rt)==Rt?Ye[rt]==0?(Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=0):((Ye[rt]&Rt)==Rt,Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=255):(Ct[rt*Be]=0,Ct[rt*Be+1]=0,Ct[rt*Be+2]=0,Ct[rt*Be+3]=255)}else if(vt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Oe*Ze*4,2))return!1;Ct=new Array(Oe*Ze*Be);for(var it=0;it<Oe*Ze;it++){var Qe=this._sock.rQshift32();Ct[it*4]=Qe>>24&255,Ct[it*4+1]=Qe>>16&255,Ct[it*4+2]=Qe>>8&255,Ct[it*4+3]=Qe&255}}else return f.Warn("The given cursor type is not supported: "+vt+" given."),!1;return this._updateCursor(Ct,ae,me,Oe,Ze),!0}},{key:"_handleCursor",value:function(){var ae=this._FBU.x,me=this._FBU.y,Oe=this._FBU.width,Ze=this._FBU.height,vt=Oe*Ze*4,Ct=Math.ceil(Oe/8)*Ze,Be=vt+Ct;if(this._sock.rQwait("cursor encoding",Be))return!1;for(var Rt=this._sock.rQshiftBytes(vt),He=this._sock.rQshiftBytes(Ct),wt=new Uint8Array(Oe*Ze*4),Ye=0,et=0;et<Ze;et++)for(var rt=0;rt<Oe;rt++){var st=et*Math.ceil(Oe/8)+Math.floor(rt/8),Ve=He[st]<<rt%8&128?255:0;wt[Ye]=Rt[Ye+2],wt[Ye+1]=Rt[Ye+1],wt[Ye+2]=Rt[Ye],wt[Ye+3]=Ve,Ye+=4}return this._updateCursor(wt,ae,me,Oe,Ze),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var ae=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",ae,4))return!1;var me=this._sock.rQshiftStr(ae);return me=(0,y.decodeUTF8)(me,!0),this._setDesktopName(me),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var ae=this._sock.rQpeek8(),me=4+ae*16;if(this._sock.rQwait("ExtendedDesktopSize",me))return!1;var Oe=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Oe&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Ze=0;Ze<ae;Ze+=1)Ze===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 vt="";switch(this._FBU.y){case 1:vt="Resize is administratively prohibited";break;case 2:vt="Out of resources";break;case 3:vt="Invalid screen layout";break;default:vt="Unknown reason";break}f.Warn("Server did not accept the resize request: "+vt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var ae=this._decoders[this._FBU.encoding];if(!ae)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return ae.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(me){return this._fail("Error decoding rect: "+me),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;ze.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(ae,me){this._fbWidth=ae,this._fbHeight=me,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(ae,me){if(this._rfbXvpVer<ae)return;f.Info("Sending XVP operation "+me+" (version "+ae+")"),ze.messages.xvpOp(this._sock,ae,me)}},{key:"_updateCursor",value:function(ae,me,Oe,Ze,vt){this._cursorImage={rgbaPixels:ae,hotx:me,hoty:Oe,w:Ze,h:vt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var ae=3;ae<this._cursorImage.rgbaPixels.length;ae+=4)if(this._cursorImage.rgbaPixels[ae])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var ae=this._shouldShowDotCursor()?ze.cursors.dot:this._cursorImage;this._cursor.change(ae.rgbaPixels,ae.hotx,ae.hoty,ae.w,ae.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(ae){this._viewOnly=ae,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(ae?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(ae){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(ae){this._clipViewport=ae,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(ae){this._scaleViewport=ae,ae&&this._clipViewport&&this._updateClip(),this._updateScale(),!ae&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(ae){this._resizeSession=ae,ae&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(ae){this._showDotCursor=ae,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(ae){this._screen.style.background=ae}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===ae)return;this._qualityLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(ae){if(!Number.isInteger(ae)||ae<0||ae>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===ae)return;this._compressionLevel=ae,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(ae,me){var Oe=ae.split("").map(function(Ze){return Ze.charCodeAt(0)});return new t.default(Oe).encrypt(me)}}]),ze}(u.default);I.default=se,se.messages={keyEvent:function(Ce,ze,_e){var ae=Ce._sQ,me=Ce._sQlen;ae[me]=4,ae[me+1]=_e,ae[me+2]=0,ae[me+3]=0,ae[me+4]=ze>>24,ae[me+5]=ze>>16,ae[me+6]=ze>>8,ae[me+7]=ze,Ce._sQlen+=8,Ce.flush()},QEMUExtendedKeyEvent:function(Ce,ze,_e,ae){function me(Ct){var Be=ae>>8,Rt=ae&255;return Be===224&&Rt<127?Rt|128:Ct}var Oe=Ce._sQ,Ze=Ce._sQlen;Oe[Ze]=255,Oe[Ze+1]=0,Oe[Ze+2]=_e>>8,Oe[Ze+3]=_e,Oe[Ze+4]=ze>>24,Oe[Ze+5]=ze>>16,Oe[Ze+6]=ze>>8,Oe[Ze+7]=ze;var vt=me(ae);Oe[Ze+8]=vt>>24,Oe[Ze+9]=vt>>16,Oe[Ze+10]=vt>>8,Oe[Ze+11]=vt,Ce._sQlen+=12,Ce.flush()},pointerEvent:function(Ce,ze,_e,ae){var me=Ce._sQ,Oe=Ce._sQlen;me[Oe]=5,me[Oe+1]=ae,me[Oe+2]=ze>>8,me[Oe+3]=ze,me[Oe+4]=_e>>8,me[Oe+5]=_e,Ce._sQlen+=6,Ce.flush()},_buildExtendedClipboardFlags:function(Ce,ze){for(var _e=new Uint8Array(4),ae=0,me=0,Oe=0;Oe<Ce.length;Oe++)me|=Ce[Oe];for(var Ze=0;Ze<ze.length;Ze++)ae|=ze[Ze];return _e[0]=me>>24,_e[1]=0,_e[2]=0,_e[3]=ae,_e},extendedClipboardProvide:function(Ce,ze,_e){for(var ae=new r.default,me=[],Oe=0;Oe<ze.length;Oe++){if(ze[Oe]!=ge)throw new Error("Unsupported extended clipboard format for Provide message.");_e[Oe]=_e[Oe].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Ze=(0,y.encodeUTF8)(_e[Oe]+"\0");me.push(Ze.length>>24&255,Ze.length>>16&255,Ze.length>>8&255,Ze.length&255);for(var vt=0;vt<Ze.length;vt++)me.push(Ze.charCodeAt(vt))}var Ct=ae.deflate(new Uint8Array(me)),Be=new Uint8Array(4+Ct.length);Be.set(se.messages._buildExtendedClipboardFlags([ee],ze)),Be.set(Ct,4),se.messages.clientCutText(Ce,Be,!0)},extendedClipboardNotify:function(Ce,ze){var _e=se.messages._buildExtendedClipboardFlags([de],ze);se.messages.clientCutText(Ce,_e,!0)},extendedClipboardRequest:function(Ce,ze){var _e=se.messages._buildExtendedClipboardFlags([lt],ze);se.messages.clientCutText(Ce,_e,!0)},extendedClipboardCaps:function(Ce,ze,_e){var ae=Object.keys(_e),me=new Uint8Array(4+4*ae.length);ae.map(function(vt){return parseInt(vt)}),ae.sort(function(vt,Ct){return vt-Ct}),me.set(se.messages._buildExtendedClipboardFlags(ze,[]));for(var Oe=4,Ze=0;Ze<ae.length;Ze++)me[Oe]=_e[ae[Ze]]>>24,me[Oe+1]=_e[ae[Ze]]>>16,me[Oe+2]=_e[ae[Ze]]>>8,me[Oe+3]=_e[ae[Ze]]>>0,Oe+=4,me[3]|=1<<ae[Ze];se.messages.clientCutText(Ce,me,!0)},clientCutText:function(Ce,ze){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ae=Ce._sQ,me=Ce._sQlen;ae[me]=6,ae[me+1]=0,ae[me+2]=0,ae[me+3]=0;var Oe;_e?Oe=(0,g.toUnsigned32bit)(-ze.length):Oe=ze.length,ae[me+4]=Oe>>24,ae[me+5]=Oe>>16,ae[me+6]=Oe>>8,ae[me+7]=Oe,Ce._sQlen+=8;for(var Ze=0,vt=ze.length;vt>0;){for(var Ct=Math.min(vt,Ce._sQbufferSize-Ce._sQlen),Be=0;Be<Ct;Be++)ae[Ce._sQlen+Be]=ze[Ze+Be];Ce._sQlen+=Ct,Ce.flush(),vt-=Ct,Ze+=Ct}},setDesktopSize:function(Ce,ze,_e,ae,me){var Oe=Ce._sQ,Ze=Ce._sQlen;Oe[Ze]=251,Oe[Ze+1]=0,Oe[Ze+2]=ze>>8,Oe[Ze+3]=ze,Oe[Ze+4]=_e>>8,Oe[Ze+5]=_e,Oe[Ze+6]=1,Oe[Ze+7]=0,Oe[Ze+8]=ae>>24,Oe[Ze+9]=ae>>16,Oe[Ze+10]=ae>>8,Oe[Ze+11]=ae,Oe[Ze+12]=0,Oe[Ze+13]=0,Oe[Ze+14]=0,Oe[Ze+15]=0,Oe[Ze+16]=ze>>8,Oe[Ze+17]=ze,Oe[Ze+18]=_e>>8,Oe[Ze+19]=_e,Oe[Ze+20]=me>>24,Oe[Ze+21]=me>>16,Oe[Ze+22]=me>>8,Oe[Ze+23]=me,Ce._sQlen+=24,Ce.flush()},clientFence:function(Ce,ze,_e){var ae=Ce._sQ,me=Ce._sQlen;ae[me]=248,ae[me+1]=0,ae[me+2]=0,ae[me+3]=0,ae[me+4]=ze>>24,ae[me+5]=ze>>16,ae[me+6]=ze>>8,ae[me+7]=ze;var Oe=_e.length;ae[me+8]=Oe;for(var Ze=0;Ze<Oe;Ze++)ae[me+9+Ze]=_e.charCodeAt(Ze);Ce._sQlen+=9+Oe,Ce.flush()},enableContinuousUpdates:function(Ce,ze,_e,ae,me,Oe){var Ze=Ce._sQ,vt=Ce._sQlen;Ze[vt]=150,Ze[vt+1]=ze,Ze[vt+2]=_e>>8,Ze[vt+3]=_e,Ze[vt+4]=ae>>8,Ze[vt+5]=ae,Ze[vt+6]=me>>8,Ze[vt+7]=me,Ze[vt+8]=Oe>>8,Ze[vt+9]=Oe,Ce._sQlen+=10,Ce.flush()},pixelFormat:function(Ce,ze,_e){var ae=Ce._sQ,me=Ce._sQlen,Oe;ze>16?Oe=32:ze>8?Oe=16:Oe=8;var Ze=Math.floor(ze/3);ae[me]=0,ae[me+1]=0,ae[me+2]=0,ae[me+3]=0,ae[me+4]=Oe,ae[me+5]=ze,ae[me+6]=0,ae[me+7]=_e?1:0,ae[me+8]=0,ae[me+9]=(1<<Ze)-1,ae[me+10]=0,ae[me+11]=(1<<Ze)-1,ae[me+12]=0,ae[me+13]=(1<<Ze)-1,ae[me+14]=Ze*2,ae[me+15]=Ze*1,ae[me+16]=Ze*0,ae[me+17]=0,ae[me+18]=0,ae[me+19]=0,Ce._sQlen+=20,Ce.flush()},clientEncodings:function(Ce,ze){var _e=Ce._sQ,ae=Ce._sQlen;_e[ae]=2,_e[ae+1]=0,_e[ae+2]=ze.length>>8,_e[ae+3]=ze.length;for(var me=ae+4,Oe=0;Oe<ze.length;Oe++){var Ze=ze[Oe];_e[me]=Ze>>24,_e[me+1]=Ze>>16,_e[me+2]=Ze>>8,_e[me+3]=Ze,me+=4}Ce._sQlen+=me-ae,Ce.flush()},fbUpdateRequest:function(Ce,ze,_e,ae,me,Oe){var Ze=Ce._sQ,vt=Ce._sQlen;typeof _e=="undefined"&&(_e=0),typeof ae=="undefined"&&(ae=0),Ze[vt]=3,Ze[vt+1]=ze?1:0,Ze[vt+2]=_e>>8&255,Ze[vt+3]=_e&255,Ze[vt+4]=ae>>8&255,Ze[vt+5]=ae&255,Ze[vt+6]=me>>8&255,Ze[vt+7]=me&255,Ze[vt+8]=Oe>>8&255,Ze[vt+9]=Oe&255,Ce._sQlen+=10,Ce.flush()},xvpOp:function(Ce,ze,_e){var ae=Ce._sQ,me=Ce._sQlen;ae[me]=250,ae[me+1]=0,ae[me+2]=ze,ae[me+3]=_e,Ce._sQlen+=4,Ce.flush()}},se.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(D,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f={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},y={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};g.defineMode("xml",function(p,v){var h=p.indentUnit,u={},o=v.htmlMode?f:y;for(var i in o)u[i]=o[i];for(var i in v)u[i]=v[i];var r,a;function c(N,F){function k(K){return F.tokenize=K,K(N,F)}var P=N.next();if(P=="<")return N.eat("!")?N.eat("[")?N.match("CDATA[")?k(t("atom","]]>")):null:N.match("--")?k(t("comment","-->")):N.match("DOCTYPE",!0,!0)?(N.eatWhile(/[\w\._\-]/),k(s(1))):null:N.eat("?")?(N.eatWhile(/[\w\._\-]/),F.tokenize=t("meta","?>"),"meta"):(r=N.eat("/")?"closeTag":"openTag",F.tokenize=n,"tag bracket");if(P=="&"){var j;return N.eat("#")?N.eat("x")?j=N.eatWhile(/[a-fA-F\d]/)&&N.eat(";"):j=N.eatWhile(/[\d]/)&&N.eat(";"):j=N.eatWhile(/[\w\.\-:]/)&&N.eat(";"),j?"atom":"error"}else return N.eatWhile(/[^&<]/),null}c.isInText=!0;function n(N,F){var k=N.next();if(k==">"||k=="/"&&N.eat(">"))return F.tokenize=c,r=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return r="equals",null;if(k=="<"){F.tokenize=c,F.state=b,F.tagName=F.tagStart=null;var P=F.tokenize(N,F);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(k)?(F.tokenize=l(k),F.stringStartCol=N.column(),F.tokenize(N,F)):(N.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(N){var F=function(P,j){for(;!P.eol();)if(P.next()==N){j.tokenize=n;break}return"string"};return F.isInAttribute=!0,F}function t(N,F){return function(k,P){for(;!k.eol();){if(k.match(F)){P.tokenize=c;break}k.next()}return N}}function s(N){return function(F,k){for(var P;(P=F.next())!=null;){if(P=="<")return k.tokenize=s(N+1),k.tokenize(F,k);if(P==">")if(N==1){k.tokenize=c;break}else return k.tokenize=s(N-1),k.tokenize(F,k)}return"meta"}}function d(N,F,k){this.prev=N.context,this.tagName=F,this.indent=N.indented,this.startOfLine=k,(u.doNotIndent.hasOwnProperty(F)||N.context&&N.context.noIndent)&&(this.noIndent=!0)}function m(N){N.context&&(N.context=N.context.prev)}function w(N,F){for(var k;;){if(!N.context)return;if(k=N.context.tagName,!u.contextGrabbers.hasOwnProperty(k)||!u.contextGrabbers[k].hasOwnProperty(F))return;m(N)}}function b(N,F,k){return N=="openTag"?(k.tagStart=F.column(),E):N=="closeTag"?A:b}function E(N,F,k){return N=="word"?(k.tagName=F.current(),a="tag",O):u.allowMissingTagName&&N=="endTag"?(a="tag bracket",O(N,F,k)):(a="error",E)}function A(N,F,k){if(N=="word"){var P=F.current();return k.context&&k.context.tagName!=P&&u.implicitlyClosed.hasOwnProperty(k.context.tagName)&&m(k),k.context&&k.context.tagName==P||u.matchClosing===!1?(a="tag",S):(a="tag error",T)}else return u.allowMissingTagName&&N=="endTag"?(a="tag bracket",S(N,F,k)):(a="error",T)}function S(N,F,k){return N!="endTag"?(a="error",S):(m(k),b)}function T(N,F,k){return a="error",S(N,F,k)}function O(N,F,k){if(N=="word")return a="attribute",x;if(N=="endTag"||N=="selfcloseTag"){var P=k.tagName,j=k.tagStart;return k.tagName=k.tagStart=null,N=="selfcloseTag"||u.autoSelfClosers.hasOwnProperty(P)?w(k,P):(w(k,P),k.context=new d(k,P,j==k.indented)),b}return a="error",O}function x(N,F,k){return N=="equals"?C:(u.allowMissing||(a="error"),O(N,F,k))}function C(N,F,k){return N=="string"?_:N=="word"&&u.allowUnquoted?(a="string",O):(a="error",O(N,F,k))}function _(N,F,k){return N=="string"?_:O(N,F,k)}return{startState:function(F){var k={tokenize:c,state:b,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(k.baseIndent=F),k},token:function(F,k){if(!k.tagName&&F.sol()&&(k.indented=F.indentation()),F.eatSpace())return null;r=null;var P=k.tokenize(F,k);return(P||r)&&P!="comment"&&(a=null,k.state=k.state(r||P,F,k),a&&(P=a=="error"?P+" error":a)),P},indent:function(F,k,P){var j=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+h;if(j&&j.noIndent)return g.Pass;if(F.tokenize!=n&&F.tokenize!=c)return P?P.match(/^(\s*)/)[0].length:0;if(F.tagName)return u.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+h*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var K=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(K&&K[1])for(;j;)if(j.tagName==K[2]){j=j.prev;break}else if(u.implicitlyClosed.hasOwnProperty(j.tagName))j=j.prev;else break;else if(K)for(;j;){var R=u.contextGrabbers[j.tagName];if(R&&R.hasOwnProperty(K[2]))j=j.prev;else break}for(;j&&j.prev&&!j.startOfLine;)j=j.prev;return j?j.indent+h:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(F){F.state==C&&(F.state=O)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var k=[],P=F.context;P;P=P.prev)P.tagName&&k.push(P.tagName);return k.reverse()}}}),g.defineMIME("text/xml","xml"),g.defineMIME("application/xml","xml"),g.mimeModes.hasOwnProperty("text/html")||g.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(D,I,e){var g=e("e4Nc"),f=e("ftKO"),y=e("3A9y");function p(v){var h=-1,u=v==null?0:v.length;for(this.__data__=new g;++h<u;)this.add(v[h])}p.prototype.add=p.prototype.push=f,p.prototype.has=y,D.exports=p},"1j5w":function(D,I,e){"use strict";e.d(I,"e",function(){return Ye}),e.d(I,"b",function(){return he}),e.d(I,"d",function(){return he}),e.d(I,"c",function(){return Ne}),e.d(I,"a",function(){return Ke});var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),p=e("JX7q"),v=e("Ji7U"),h=e("LK+K"),u=e("q1tI"),o=function(){var Fe=function(At,_t){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ue){ne.__proto__=ue}||function(ne,ue){for(var Y in ue)ue.hasOwnProperty(Y)&&(ne[Y]=ue[Y])},Fe(At,_t)};return function(nt,At){Fe(nt,At);function _t(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(_t.prototype=At.prototype,new _t)}}(),i=u.createContext(null),r=function(Fe){o(nt,Fe);function nt(){return Fe!==null&&Fe.apply(this,arguments)||this}return nt.prototype.render=function(){return u.createElement(i.Provider,{value:this.props.store},this.props.children)},nt}(u.Component),a=e("Gytx"),c=e.n(a),n=e("2mql"),l=e.n(n),t=function(){var Fe=function(At,_t){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ue){ne.__proto__=ue}||function(ne,ue){for(var Y in ue)ue.hasOwnProperty(Y)&&(ne[Y]=ue[Y])},Fe(At,_t)};return function(nt,At){Fe(nt,At);function _t(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(_t.prototype=At.prototype,new _t)}}(),s=function(){return s=Object.assign||function(Fe){for(var nt,At=1,_t=arguments.length;At<_t;At++){nt=arguments[At];for(var ne in nt)Object.prototype.hasOwnProperty.call(nt,ne)&&(Fe[ne]=nt[ne])}return Fe},s.apply(this,arguments)};function d(Fe){return Fe.displayName||Fe.name||"Component"}var m=function(){return{}};function w(Fe,nt){nt===void 0&&(nt={});var At=!!Fe,_t=Fe||m;return function(ue){var Y=function(be){t(Le,be);function Le(Re,$e){var gt=be.call(this,Re,$e)||this;return gt.unsubscribe=null,gt.handleChange=function(){if(!gt.unsubscribe)return;var Wt=_t(gt.store.getState(),gt.props);gt.setState({subscribed:Wt})},gt.store=gt.context,gt.state={subscribed:_t(gt.store.getState(),Re),store:gt.store,props:Re},gt}return Le.getDerivedStateFromProps=function(Re,$e){return Fe&&Fe.length===2&&Re!==$e.props?{subscribed:_t($e.store.getState(),Re),props:Re}:{props:Re}},Le.prototype.componentDidMount=function(){this.trySubscribe()},Le.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},Le.prototype.shouldComponentUpdate=function(Re,$e){return!c()(this.props,Re)||!c()(this.state.subscribed,$e.subscribed)},Le.prototype.trySubscribe=function(){At&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},Le.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},Le.prototype.render=function(){var Re=s(s(s({},this.props),this.state.subscribed),{store:this.store});return u.createElement(ue,s({},Re,{ref:this.props.miniStoreForwardedRef}))},Le.displayName="Connect("+d(ue)+")",Le.contextType=i,Le}(u.Component);if(nt.forwardRef){var te=u.forwardRef(function(be,Le){return u.createElement(Y,s({},be,{miniStoreForwardedRef:Le}))});return l()(te,ue)}return l()(Y,ue)}}var b=function(){return b=Object.assign||function(Fe){for(var nt,At=1,_t=arguments.length;At<_t;At++){nt=arguments[At];for(var ne in nt)Object.prototype.hasOwnProperty.call(nt,ne)&&(Fe[ne]=nt[ne])}return Fe},b.apply(this,arguments)};function E(Fe){var nt=Fe,At=[];function _t(Y){nt=b(b({},nt),Y);for(var te=0;te<At.length;te++)At[te]()}function ne(){return nt}function ue(Y){return At.push(Y),function(){var be=At.indexOf(Y);At.splice(be,1)}}return{setState:_t,getState:ne,subscribe:ue}}var A=e("BGR+"),S=e("wx14"),T=e("rePB"),O=e("4IlW"),x=e("2GS6"),C=e("TSYQ"),_=e.n(C),N=e("U8pU"),F=e("ODXe"),k=/iPhone/i,P=/iPod/i,j=/iPad/i,K=/\bAndroid(?:.+)Mobile\b/i,R=/Android/i,B=/\bAndroid(?:.+)SD4930UR\b/i,U=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,W=/\bWindows(?:.+)ARM\b/i,V=/BlackBerry/i,z=/BB10/i,X=/Opera Mini/i,q=/\b(CriOS|Chrome)(?:.+)Mobile/i,fe=/Mobile(?:.+)Firefox\b/i;function G(Fe,nt){return Fe.test(nt)}function ve(Fe){var nt=Fe||(typeof navigator!="undefined"?navigator.userAgent:""),At=nt.split("[FBAN");if(typeof At[1]!="undefined"){var _t=At,ne=Object(F.a)(_t,1);nt=ne[0]}if(At=nt.split("Twitter"),typeof At[1]!="undefined"){var ue=At,Y=Object(F.a)(ue,1);nt=Y[0]}var te={apple:{phone:G(k,nt)&&!G(H,nt),ipod:G(P,nt),tablet:!G(k,nt)&&G(j,nt)&&!G(H,nt),device:(G(k,nt)||G(P,nt)||G(j,nt))&&!G(H,nt)},amazon:{phone:G(B,nt),tablet:!G(B,nt)&&G(U,nt),device:G(B,nt)||G(U,nt)},android:{phone:!G(H,nt)&&G(B,nt)||!G(H,nt)&&G(K,nt),tablet:!G(H,nt)&&!G(B,nt)&&!G(K,nt)&&(G(U,nt)||G(R,nt)),device:!G(H,nt)&&(G(B,nt)||G(U,nt)||G(K,nt)||G(R,nt))||G(/\bokhttp\b/i,nt)},windows:{phone:G(H,nt),tablet:G(W,nt),device:G(H,nt)||G(W,nt)},other:{blackberry:G(V,nt),blackberry10:G(z,nt),opera:G(X,nt),firefox:G(fe,nt),chrome:G(q,nt),device:G(V,nt)||G(z,nt)||G(X,nt)||G(fe,nt)||G(q,nt)},any:null,phone:null,tablet:null};return te.any=te.apple.device||te.android.device||te.windows.device||te.other.device,te.phone=te.apple.phone||te.android.phone||te.windows.phone,te.tablet=te.apple.tablet||te.android.tablet||te.windows.tablet,te}var Se=Object(g.a)(Object(g.a)({},ve()),{},{isMobile:ve}),ge=Se;function Pe(){}function Ge(Fe,nt,At){var _t=nt||"";return Fe.key||"".concat(_t,"item_").concat(At)}function pt(Fe){return"".concat(Fe,"-menu-")}function Te(Fe,nt){var At=-1;u.Children.forEach(Fe,function(_t){At+=1,_t&&_t.type&&_t.type.isMenuItemGroup?u.Children.forEach(_t.props.children,function(ne){At+=1,nt(ne,At)}):nt(_t,At)})}function xe(Fe,nt,At){if(!Fe||At.find)return;u.Children.forEach(Fe,function(_t){if(_t){var ne=_t.type;if(!ne||!(ne.isSubMenu||ne.isMenuItem||ne.isMenuItemGroup))return;nt.indexOf(_t.key)!==-1?At.find=!0:_t.props.children&&xe(_t.props.children,nt,At)}})}var lt=["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(nt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=nt&&typeof nt.getBoundingClientRect=="function"&&nt.getBoundingClientRect().width;if(_t){if(At){var ne=getComputedStyle(nt),ue=ne.marginLeft,Y=ne.marginRight;_t+=+ue.replace("px","")+ +Y.replace("px","")}_t=+_t.toFixed(6)}return _t||0},de=function(nt,At,_t){nt&&Object(N.a)(nt.style)==="object"&&(nt.style[At]=_t)},ee=function(){return ge.any},se=e("KQm4"),ke=e("Ff2n"),Ce=e("i8i4"),ze=e("bdgK"),_e=e("uciX"),ae=e("8XRh"),me={adjustX:1,adjustY:1},Oe={topLeft:{points:["bl","tl"],overflow:me,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:me,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:me,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:me,offset:[4,0]}},Ze={topLeft:{points:["bl","tl"],overflow:me,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:me,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:me,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:me,offset:[4,0]}},vt=Oe,Ct=0,Be={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Rt=function(nt,At,_t){var ne=pt(At),ue=nt.getState();nt.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},ue.defaultActiveFirst),{},Object(T.a)({},ne,_t))})},He=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(_t){var ne;Object(f.a)(this,At),ne=nt.call(this,_t),ne.onDestroy=function(Re){ne.props.onDestroy(Re)},ne.onKeyDown=function(Re){var $e=Re.keyCode,gt=ne.menuInstance,Wt=ne.props,$t=Wt.isOpen,Dt=Wt.store;if($e===O.a.ENTER)return ne.onTitleClick(Re),Rt(Dt,ne.props.eventKey,!0),!0;if($e===O.a.RIGHT)return $t?gt.onKeyDown(Re):(ne.triggerOpenChange(!0),Rt(Dt,ne.props.eventKey,!0)),!0;if($e===O.a.LEFT){var Kt;if($t)Kt=gt.onKeyDown(Re);else return;return Kt||(ne.triggerOpenChange(!1),Kt=!0),Kt}return $t&&($e===O.a.UP||$e===O.a.DOWN)?gt.onKeyDown(Re):void 0},ne.onOpenChange=function(Re){ne.props.onOpenChange(Re)},ne.onPopupVisibleChange=function(Re){ne.triggerOpenChange(Re,Re?"mouseenter":"mouseleave")},ne.onMouseEnter=function(Re){var $e=ne.props,gt=$e.eventKey,Wt=$e.onMouseEnter,$t=$e.store;Rt($t,ne.props.eventKey,!1),Wt({key:gt,domEvent:Re})},ne.onMouseLeave=function(Re){var $e=ne.props,gt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onMouseLeave;gt.subMenuInstance=Object(p.a)(ne),$t({key:Wt,domEvent:Re})},ne.onTitleMouseEnter=function(Re){var $e=ne.props,gt=$e.eventKey,Wt=$e.onItemHover,$t=$e.onTitleMouseEnter;Wt({key:gt,hover:!0}),$t({key:gt,domEvent:Re})},ne.onTitleMouseLeave=function(Re){var $e=ne.props,gt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onItemHover,Dt=$e.onTitleMouseLeave;gt.subMenuInstance=Object(p.a)(ne),$t({key:Wt,hover:!1}),Dt({key:Wt,domEvent:Re})},ne.onTitleClick=function(Re){var $e=Object(p.a)(ne),gt=$e.props;if(gt.onTitleClick({key:gt.eventKey,domEvent:Re}),gt.triggerSubMenuAction==="hover")return;ne.triggerOpenChange(!gt.isOpen,"click"),Rt(gt.store,ne.props.eventKey,!1)},ne.onSubMenuClick=function(Re){typeof ne.props.onClick=="function"&&ne.props.onClick(ne.addKeyPath(Re))},ne.onSelect=function(Re){ne.props.onSelect(Re)},ne.onDeselect=function(Re){ne.props.onDeselect(Re)},ne.getPrefixCls=function(){return"".concat(ne.props.rootPrefixCls,"-submenu")},ne.getActiveClassName=function(){return"".concat(ne.getPrefixCls(),"-active")},ne.getDisabledClassName=function(){return"".concat(ne.getPrefixCls(),"-disabled")},ne.getSelectedClassName=function(){return"".concat(ne.getPrefixCls(),"-selected")},ne.getOpenClassName=function(){return"".concat(ne.props.rootPrefixCls,"-submenu-open")},ne.saveMenuInstance=function(Re){ne.menuInstance=Re},ne.addKeyPath=function(Re){return Object(g.a)(Object(g.a)({},Re),{},{keyPath:(Re.keyPath||[]).concat(ne.props.eventKey)})},ne.triggerOpenChange=function(Re,$e){var gt=ne.props.eventKey,Wt=function(){ne.onOpenChange({key:gt,item:Object(p.a)(ne),trigger:$e,open:Re})};$e==="mouseenter"?ne.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},ne.isChildrenSelected=function(){var Re={find:!1};return xe(ne.props.children,ne.props.selectedKeys,Re),Re.find},ne.isOpen=function(){return ne.props.openKeys.indexOf(ne.props.eventKey)!==-1},ne.adjustWidth=function(){if(!ne.subMenuTitle||!ne.menuInstance)return;var Re=Ce.findDOMNode(ne.menuInstance);if(Re.offsetWidth>=ne.subMenuTitle.offsetWidth)return;Re.style.minWidth="".concat(ne.subMenuTitle.offsetWidth,"px")},ne.saveSubMenuTitle=function(Re){ne.subMenuTitle=Re},ne.getBaseProps=function(){var Re=Object(p.a)(ne),$e=Re.props;return{mode:$e.mode==="horizontal"?"vertical":$e.mode,visible:ne.props.isOpen,level:$e.level+1,inlineIndent:$e.inlineIndent,focusable:!1,onClick:ne.onSubMenuClick,onSelect:ne.onSelect,onDeselect:ne.onDeselect,onDestroy:ne.onDestroy,selectedKeys:$e.selectedKeys,eventKey:"".concat($e.eventKey,"-menu-"),openKeys:$e.openKeys,motion:$e.motion,onOpenChange:ne.onOpenChange,subMenuOpenDelay:$e.subMenuOpenDelay,parentMenu:Object(p.a)(ne),subMenuCloseDelay:$e.subMenuCloseDelay,forceSubMenuRender:$e.forceSubMenuRender,triggerSubMenuAction:$e.triggerSubMenuAction,builtinPlacements:$e.builtinPlacements,defaultActiveFirst:$e.store.getState().defaultActiveFirst[pt($e.eventKey)],multiple:$e.multiple,prefixCls:$e.rootPrefixCls,id:ne.internalMenuId,manualRef:ne.saveMenuInstance,itemIcon:$e.itemIcon,expandIcon:$e.expandIcon,direction:$e.direction}},ne.getMotion=function(Re,$e){var gt=Object(p.a)(ne),Wt=gt.haveRendered,$t=ne.props,Dt=$t.motion,Kt=$t.rootPrefixCls,Yt=Object(g.a)(Object(g.a)({},Dt),{},{leavedClassName:"".concat(Kt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!$e||Re!=="inline"});return Yt};var ue=_t.store,Y=_t.eventKey,te=ue.getState(),be=te.defaultActiveFirst;ne.isRootMenu=!1;var Le=!1;return be&&(Le=be[Y]),Rt(ue,Y,Le),ne}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ne=this,ue=this.props,Y=ue.mode,te=ue.parentMenu,be=ue.manualRef;if(be&&be(this),Y!=="horizontal"||!te.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ne.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ne=this.props,ue=ne.onDestroy,Y=ne.eventKey;ue&&ue(Y),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ne){var ue=this,Y=this.getBaseProps(),te=this.getMotion(Y.mode,Y.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Y.visible||Y.forceSubMenuRender,!this.haveOpened)return u.createElement("div",null);var be=Y.direction;return u.createElement(ae.default,Object.assign({visible:Y.visible},te),function(Le){var Re=Le.className,$e=Le.style,gt=_()("".concat(Y.prefixCls,"-sub"),Re,Object(T.a)({},"".concat(Y.prefixCls,"-rtl"),be==="rtl"));return u.createElement(ct,Object.assign({},Y,{id:ue.internalMenuId,className:gt,style:$e}),ne)})}},{key:"render",value:function(){var ne,ue=Object(g.a)({},this.props),Y=ue.isOpen,te=this.getPrefixCls(),be=ue.mode==="inline",Le=_()(te,"".concat(te,"-").concat(ue.mode),(ne={},Object(T.a)(ne,ue.className,!!ue.className),Object(T.a)(ne,this.getOpenClassName(),Y),Object(T.a)(ne,this.getActiveClassName(),ue.active||Y&&!be),Object(T.a)(ne,this.getDisabledClassName(),ue.disabled),Object(T.a)(ne,this.getSelectedClassName(),this.isChildrenSelected()),ne));this.internalMenuId||(ue.eventKey?this.internalMenuId="".concat(ue.eventKey,"$Menu"):(Ct+=1,this.internalMenuId="$__$".concat(Ct,"$Menu")));var Re={},$e={},gt={};ue.disabled||(Re={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},$e={onClick:this.onTitleClick},gt={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=ue.direction;be&&($t==="rtl"?Wt.paddingRight=ue.inlineIndent*ue.level:Wt.paddingLeft=ue.inlineIndent*ue.level);var Dt={};this.props.isOpen&&(Dt={"aria-owns":this.internalMenuId});var Kt=null;ue.mode!=="horizontal"&&(Kt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Kt=u.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Yt=u.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(te,"-title"),role:"button"},gt,$e,{"aria-expanded":Y},Dt,{"aria-haspopup":"true",title:typeof ue.title=="string"?ue.title:void 0}),ue.title,Kt||u.createElement("i",{className:"".concat(te,"-arrow")})),Qt=this.renderChildren(ue.children),Mt=ue.parentMenu.isRootMenu?ue.parentMenu.props.getPopupContainer:function(Ft){return Ft.parentNode},dr=Be[ue.mode],er=ue.popupOffset?{offset:ue.popupOffset}:{},ot=ue.mode==="inline"?"":ue.popupClassName;ot+=$t==="rtl"?" ".concat(te,"-rtl"):"";var xt=ue.disabled,ut=ue.triggerSubMenuAction,ft=ue.subMenuOpenDelay,Lt=ue.forceSubMenuRender,Tt=ue.subMenuCloseDelay,ht=ue.builtinPlacements;lt.forEach(function(Ft){return delete ue[Ft]}),delete ue.onClick;var Ht=$t==="rtl"?Object.assign({},Ze,ht):Object.assign({},Oe,ht);return delete ue.direction,u.createElement("li",Object.assign({},ue,Re,{className:Le,role:"menuitem"}),be&&Yt,be&&Qt,!be&&u.createElement(_e.a,{prefixCls:te,popupClassName:_()("".concat(te,"-popup"),ot),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:Y,popupAlign:er,popup:Qt,action:xt?[]:[ut],mouseEnterDelay:ft,mouseLeaveDelay:Tt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Lt},Yt))}}]),At}(u.Component);He.defaultProps={onMouseEnter:Pe,onMouseLeave:Pe,onTitleMouseEnter:Pe,onTitleMouseLeave:Pe,onTitleClick:Pe,manualRef:Pe,mode:"vertical",title:""};var wt=w(function(Fe,nt){var At=Fe.openKeys,_t=Fe.activeKey,ne=Fe.selectedKeys,ue=nt.eventKey,Y=nt.subMenuKey;return{isOpen:At.indexOf(ue)>-1,active:_t[Y]===ue,selectedKeys:ne}})(He);wt.isSubMenu=!0;var Ye=wt,et="menuitem-overflowed",rt=.5,st=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(){var _t;return Object(f.a)(this,At),_t=nt.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 ne=_t.props.prefixCls,ue=Ce.findDOMNode(Object(p.a)(_t));return ue?[].slice.call(ue.children).filter(function(Y){return Y.className.split(" ").indexOf("".concat(ne,"-overflowed-submenu"))<0}):[]},_t.getOverflowedSubMenuItem=function(ne,ue,Y){var te=_t.props,be=te.overflowedIndicator,Le=te.level,Re=te.mode,$e=te.prefixCls,gt=te.theme;if(Le!==1||Re!=="horizontal")return null;var Wt=_t.props.children[0],$t=Wt.props,Dt=$t.children,Kt=$t.title,Yt=$t.style,Qt=Object(ke.a)($t,["children","title","style"]),Mt=Object(g.a)({},Yt),dr="".concat(ne,"-overflowed-indicator"),er="".concat(ne,"-overflowed-indicator");ue.length===0&&Y!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):Y&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var ot=gt?"".concat($e,"-").concat(gt):"",xt={};return lt.forEach(function(ut){Qt[ut]!==void 0&&(xt[ut]=Qt[ut])}),u.createElement(Ye,Object.assign({title:be,className:"".concat($e,"-overflowed-submenu"),popupClassName:ot},xt,{key:dr,eventKey:er,disabled:!1,style:Mt}),ue)},_t.setChildrenWidthAndResize=function(){if(_t.props.mode!=="horizontal")return;var ne=Ce.findDOMNode(Object(p.a)(_t));if(!ne)return;var ue=ne.children;if(!ue||ue.length===0)return;var Y=ne.children[ue.length-1];de(Y,"display","inline-block");var te=_t.getMenuItemNodes(),be=te.filter(function(Le){return Le.className.split(" ").indexOf(et)>=0});be.forEach(function(Le){de(Le,"display","inline-block")}),_t.menuItemSizes=te.map(function(Le){return Ie(Le,!0)}),be.forEach(function(Le){de(Le,"display","none")}),_t.overflowedIndicatorWidth=Ie(ne.children[ne.children.length-1],!0),_t.originalTotalWidth=_t.menuItemSizes.reduce(function(Le,Re){return Le+Re},0),_t.handleResize(),de(Y,"display","none")},_t.handleResize=function(){if(_t.props.mode!=="horizontal")return;var ne=Ce.findDOMNode(Object(p.a)(_t));if(!ne)return;var ue=Ie(ne);_t.overflowedItems=[];var Y=0,te;_t.originalTotalWidth>ue+rt&&(te=-1,_t.menuItemSizes.forEach(function(be){Y+=be,Y+_t.overflowedIndicatorWidth<=ue&&(te+=1)})),_t.setState({lastVisibleIndex:te})},_t}return Object(y.a)(At,[{key:"componentDidMount",value:function(){var ne=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var ue=Ce.findDOMNode(this);if(!ue)return;this.resizeObserver=new ze.default(function(Y){Y.forEach(function(){var te=ne.cancelFrameId;cancelAnimationFrame(te),ne.cancelFrameId=requestAnimationFrame(ne.setChildrenWidthAndResize)})}),[].slice.call(ue.children).concat(ue).forEach(function(Y){ne.resizeObserver.observe(Y)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ne.resizeObserver.disconnect(),[].slice.call(ue.children).concat(ue).forEach(function(Y){ne.resizeObserver.observe(Y)}),ne.setChildrenWidthAndResize()}),this.mutationObserver.observe(ue,{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(ne){var ue=this,Y=this.state.lastVisibleIndex;return(ne||[]).reduce(function(te,be,Le){var Re=be;if(ue.props.mode==="horizontal"){var $e=ue.getOverflowedSubMenuItem(be.props.eventKey,[]);Y!==void 0&&ue.props.className.indexOf("".concat(ue.props.prefixCls,"-root"))!==-1&&(Le>Y&&(Re=u.cloneElement(be,{style:{display:"none"},eventKey:"".concat(be.props.eventKey,"-hidden"),className:"".concat(et)})),Le===Y+1&&(ue.overflowedItems=ne.slice(Y+1).map(function(Wt){return u.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),$e=ue.getOverflowedSubMenuItem(be.props.eventKey,ue.overflowedItems)));var gt=[].concat(Object(se.a)(te),[$e,Re]);return Le===ne.length-1&>.push(ue.getOverflowedSubMenuItem(be.props.eventKey,[],!0)),gt}return[].concat(Object(se.a)(te),[Re])},[])}},{key:"render",value:function(){var ne=this.props,ue=ne.visible,Y=ne.prefixCls,te=ne.overflowedIndicator,be=ne.mode,Le=ne.level,Re=ne.tag,$e=ne.children,gt=ne.theme,Wt=Object(ke.a)(ne,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Re;return u.createElement($t,Object.assign({},Wt),this.renderChildren($e))}}]),At}(u.Component);st.defaultProps={tag:"div",className:""};var Ve=st;function ie(Fe){return Fe.length?Fe.every(function(nt){return!!nt.props.disabled}):!0}function $(Fe,nt,At){var _t=Fe.getState();Fe.setState({activeKey:Object(g.a)(Object(g.a)({},_t.activeKey),{},Object(T.a)({},nt,At))})}function it(Fe){return Fe.eventKey||"0-menu-"}function Qe(Fe,nt){var At=nt,_t=Fe.children,ne=Fe.eventKey;if(At){var ue;if(Te(_t,function(Y,te){Y&&Y.props&&!Y.props.disabled&&At===Ge(Y,ne,te)&&(ue=!0)}),ue)return At}return At=null,Fe.defaultActiveFirst&&Te(_t,function(Y,te){!At&&Y&&!Y.props.disabled&&(At=Ge(Y,ne,te))}),At}function ye(Fe){if(Fe){var nt=this.instanceArray.indexOf(Fe);nt!==-1?this.instanceArray[nt]=Fe:this.instanceArray.push(Fe)}}var Zt=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(_t){var ne;return Object(f.a)(this,At),ne=nt.call(this,_t),ne.onKeyDown=function(ue,Y){var te=ue.keyCode,be;if(ne.getFlatInstanceArray().forEach(function(Re){Re&&Re.props.active&&Re.onKeyDown&&(be=Re.onKeyDown(ue))}),be)return 1;var Le=null;return(te===O.a.UP||te===O.a.DOWN)&&(Le=ne.step(te===O.a.UP?-1:1)),Le?(ue.preventDefault(),$(ne.props.store,it(ne.props),Le.props.eventKey),typeof Y=="function"&&Y(Le),1):void 0},ne.onItemHover=function(ue){var Y=ue.key,te=ue.hover;$(ne.props.store,it(ne.props),te?Y:null)},ne.onDeselect=function(ue){ne.props.onDeselect(ue)},ne.onSelect=function(ue){ne.props.onSelect(ue)},ne.onClick=function(ue){ne.props.onClick(ue)},ne.onOpenChange=function(ue){ne.props.onOpenChange(ue)},ne.onDestroy=function(ue){ne.props.onDestroy(ue)},ne.getFlatInstanceArray=function(){return ne.instanceArray},ne.step=function(ue){var Y=ne.getFlatInstanceArray(),te=ne.props.store.getState().activeKey[it(ne.props)],be=Y.length;if(!be)return null;ue<0&&(Y=Y.concat().reverse());var Le=-1;if(Y.every(function(Wt,$t){return Wt&&Wt.props.eventKey===te?(Le=$t,!1):!0}),!ne.props.defaultActiveFirst&&Le!==-1&&ie(Y.slice(Le,be-1)))return;var Re=(Le+1)%be,$e=Re;do{var gt=Y[$e];if(!gt||gt.props.disabled)$e=($e+1)%be;else return gt}while($e!==Re);return null},ne.renderCommonMenuItem=function(ue,Y,te){var be=ne.props.store.getState(),Le=Object(p.a)(ne),Re=Le.props,$e=Ge(ue,Re.eventKey,Y),gt=ue.props;if(!gt||typeof ue.type=="string")return ue;var Wt=$e===be.activeKey,$t=Object(g.a)(Object(g.a)({mode:gt.mode||Re.mode,level:Re.level,inlineIndent:Re.inlineIndent,renderMenuItem:ne.renderMenuItem,rootPrefixCls:Re.prefixCls,index:Y,parentMenu:Re.parentMenu,manualRef:gt.disabled?void 0:Object(x.a)(ue.ref,ye.bind(Object(p.a)(ne))),eventKey:$e,active:!gt.disabled&&Wt,multiple:Re.multiple,onClick:function(Kt){(gt.onClick||Pe)(Kt),ne.onClick(Kt)},onItemHover:ne.onItemHover,motion:Re.motion,subMenuOpenDelay:Re.subMenuOpenDelay,subMenuCloseDelay:Re.subMenuCloseDelay,forceSubMenuRender:Re.forceSubMenuRender,onOpenChange:ne.onOpenChange,onDeselect:ne.onDeselect,onSelect:ne.onSelect,builtinPlacements:Re.builtinPlacements,itemIcon:gt.itemIcon||ne.props.itemIcon,expandIcon:gt.expandIcon||ne.props.expandIcon},te),{},{direction:Re.direction});return(Re.mode==="inline"||ee())&&($t.triggerSubMenuAction="click"),u.cloneElement(ue,$t)},ne.renderMenuItem=function(ue,Y,te){if(!ue)return null;var be=ne.props.store.getState(),Le={openKeys:be.openKeys,selectedKeys:be.selectedKeys,triggerSubMenuAction:ne.props.triggerSubMenuAction,subMenuKey:te};return ne.renderCommonMenuItem(ue,Y,Le)},_t.store.setState({activeKey:Object(g.a)(Object(g.a)({},_t.store.getState().activeKey),{},Object(T.a)({},_t.eventKey,Qe(_t,_t.activeKey)))}),ne.instanceArray=[],ne}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ne){return this.props.visible||ne.visible||this.props.className!==ne.className||!c()(this.props.style,ne.style)}},{key:"componentDidUpdate",value:function(ne){var ue=this.props,Y="activeKey"in ue?ue.activeKey:ue.store.getState().activeKey[it(ue)],te=Qe(ue,Y);if(te!==Y)$(ue.store,it(ue),te);else if("activeKey"in ne){var be=Qe(ne,ne.activeKey);te!==be&&$(ue.store,it(ue),te)}}},{key:"render",value:function(){var ne=this,ue=Object(S.a)({},this.props);this.instanceArray=[];var Y=_()(ue.prefixCls,ue.className,"".concat(ue.prefixCls,"-").concat(ue.mode)),te={className:Y,role:ue.role||"menu"};ue.id&&(te.id=ue.id),ue.focusable&&(te.tabIndex=0,te.onKeyDown=this.onKeyDown);var be=ue.prefixCls,Le=ue.eventKey,Re=ue.visible,$e=ue.level,gt=ue.mode,Wt=ue.overflowedIndicator,$t=ue.theme;return lt.forEach(function(Dt){return delete ue[Dt]}),delete ue.onClick,u.createElement(Ve,Object.assign({},ue,{prefixCls:be,mode:gt,tag:"ul",level:$e,theme:$t,visible:Re,overflowedIndicator:Wt},te),u.Children.map(ue.children,function(Dt,Kt){return ne.renderMenuItem(Dt,Kt,Le||"0-menu-")}))}}]),At}(u.Component);Zt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Pe};var dt=w()(Zt),ct=dt,yt=e("Kwbf");function It(Fe,nt,At){var _t=Fe.prefixCls,ne=Fe.motion,ue=Fe.defaultMotions,Y=ue===void 0?{}:ue,te=Fe.openAnimation,be=Fe.openTransitionName,Le=nt.switchingModeFromInline;if(ne)return ne;if(Object(N.a)(te)==="object"&&te)Object(yt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof te=="string")return{motionName:"".concat(_t,"-open-").concat(te)};if(be)return{motionName:be};var Re=Y[At];return Re||(Le?null:Y.other)}var or=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(_t){var ne;Object(f.a)(this,At),ne=nt.call(this,_t),ne.inlineOpenKeys=[],ne.onSelect=function(te){var be=Object(p.a)(ne),Le=be.props;if(Le.selectable){var Re=ne.store.getState(),$e=Re.selectedKeys,gt=te.key;Le.multiple?$e=$e.concat([gt]):$e=[gt],"selectedKeys"in Le||ne.store.setState({selectedKeys:$e}),Le.onSelect(Object(g.a)(Object(g.a)({},te),{},{selectedKeys:$e}))}},ne.onClick=function(te){var be=ne.getRealMenuMode(),Le=Object(p.a)(ne),Re=Le.store,$e=Le.props.onOpenChange;be!=="inline"&&!("openKeys"in ne.props)&&(Re.setState({openKeys:[]}),$e([])),ne.props.onClick(te)},ne.onKeyDown=function(te,be){ne.innerMenu.getWrappedInstance().onKeyDown(te,be)},ne.onOpenChange=function(te){var be=Object(p.a)(ne),Le=be.props,Re=ne.store.getState().openKeys.concat(),$e=!1,gt=function($t){var Dt=!1;if($t.open)Dt=Re.indexOf($t.key)===-1,Dt&&Re.push($t.key);else{var Kt=Re.indexOf($t.key);Dt=Kt!==-1,Dt&&Re.splice(Kt,1)}$e=$e||Dt};Array.isArray(te)?te.forEach(gt):gt(te),$e&&("openKeys"in ne.props||ne.store.setState({openKeys:Re}),Le.onOpenChange(Re))},ne.onDeselect=function(te){var be=Object(p.a)(ne),Le=be.props;if(Le.selectable){var Re=ne.store.getState().selectedKeys.concat(),$e=te.key,gt=Re.indexOf($e);gt!==-1&&Re.splice(gt,1),"selectedKeys"in Le||ne.store.setState({selectedKeys:Re}),Le.onDeselect(Object(g.a)(Object(g.a)({},te),{},{selectedKeys:Re}))}},ne.onMouseEnter=function(te){ne.restoreModeVerticalFromInline();var be=ne.props.onMouseEnter;be&&be(te)},ne.onTransitionEnd=function(te){var be=te.propertyName==="width"&&te.target===te.currentTarget,Le=te.target.className,Re=Object.prototype.toString.call(Le)==="[object SVGAnimatedString]"?Le.animVal:Le,$e=te.propertyName==="font-size"&&Re.indexOf("anticon")>=0;(be||$e)&&ne.restoreModeVerticalFromInline()},ne.setInnerMenu=function(te){ne.innerMenu=te},ne.isRootMenu=!0;var ue=_t.defaultSelectedKeys,Y=_t.defaultOpenKeys;return"selectedKeys"in _t&&(ue=_t.selectedKeys||[]),"openKeys"in _t&&(Y=_t.openKeys||[]),ne.store=E({selectedKeys:ue,openKeys:Y,activeKey:{"0-menu-":Qe(_t,_t.activeKey)}}),ne.state={switchingModeFromInline:!1},ne}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ne){this.updateOpentKeysWhenSwitchMode(ne),this.updateMiniStore();var ue=this.props,Y=ue.siderCollapsed,te=ue.inlineCollapsed,be=ue.onOpenChange;(!ne.inlineCollapsed&&te||!ne.siderCollapsed&&Y)&&be([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ne){var ue=this.props,Y=this.store,te=this.inlineOpenKeys,be=Y.getState(),Le={};ne.mode==="inline"&&ue.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in ue||((ue.inlineCollapsed&&!ne.inlineCollapsed||ue.siderCollapsed&&!ne.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=be.openKeys.concat(),Le.openKeys=[]),(!ue.inlineCollapsed&&ne.inlineCollapsed||!ue.siderCollapsed&&ne.siderCollapsed)&&(Le.openKeys=te,this.inlineOpenKeys=[])),Object.keys(Le).length&&Y.setState(Le)}},{key:"updateMenuDisplay",value:function(){var ne=this.props.collapsedWidth,ue=this.store,Y=this.prevOpenKeys,te=this.getInlineCollapsed()&&(ne===0||ne==="0"||ne==="0px");te?(this.prevOpenKeys=ue.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Y&&(this.store.setState({openKeys:Y}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ne=this.props.mode,ue=this.state.switchingModeFromInline,Y=this.getInlineCollapsed();return ue&&Y?"inline":Y?"vertical":ne}},{key:"getInlineCollapsed",value:function(){var ne=this.props,ue=ne.inlineCollapsed,Y=ne.siderCollapsed;return Y!==void 0?Y:ue}},{key:"restoreModeVerticalFromInline",value:function(){var ne=this.state.switchingModeFromInline;ne&&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 ne=Object(g.a)({},Object(A.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),ue=this.getRealMenuMode();return ne.className+=" ".concat(ne.prefixCls,"-root"),ne.direction==="rtl"&&(ne.className+=" ".concat(ne.prefixCls,"-rtl")),ne=Object(g.a)(Object(g.a)({},ne),{},{mode:ue,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:It(this.props,this.state,ue)}),delete ne.openAnimation,delete ne.openTransitionName,u.createElement(r,{store:this.store},u.createElement(ct,Object.assign({},ne,{ref:this.setInnerMenu}),this.props.children))}}]),At}(u.Component);or.defaultProps={selectable:!0,onClick:Pe,onSelect:Pe,onOpenChange:Pe,onDeselect:Pe,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:u.createElement("span",null,"\xB7\xB7\xB7")};var Bt=or,Ae=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(){var _t;return Object(f.a)(this,At),_t=nt.apply(this,arguments),_t.onKeyDown=function(ne){var ue=ne.keyCode;return ue===O.a.ENTER?(_t.onClick(ne),!0):void 0},_t.onMouseLeave=function(ne){var ue=_t.props,Y=ue.eventKey,te=ue.onItemHover,be=ue.onMouseLeave;te({key:Y,hover:!1}),be({key:Y,domEvent:ne})},_t.onMouseEnter=function(ne){var ue=_t.props,Y=ue.eventKey,te=ue.onItemHover,be=ue.onMouseEnter;te({key:Y,hover:!0}),be({key:Y,domEvent:ne})},_t.onClick=function(ne){var ue=_t.props,Y=ue.eventKey,te=ue.multiple,be=ue.onClick,Le=ue.onSelect,Re=ue.onDeselect,$e=ue.isSelected,gt={key:Y,keyPath:[Y],item:Object(p.a)(_t),domEvent:ne};be(gt),te?$e?Re(gt):Le(gt):$e||Le(gt)},_t.saveNode=function(ne){_t.node=ne},_t}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ne=this.props;ne.onDestroy&&ne.onDestroy(ne.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 ne,ue=Object(g.a)({},this.props),Y=_()(this.getPrefixCls(),ue.className,(ne={},Object(T.a)(ne,this.getActiveClassName(),!ue.disabled&&ue.active),Object(T.a)(ne,this.getSelectedClassName(),ue.isSelected),Object(T.a)(ne,this.getDisabledClassName(),ue.disabled),ne)),te=Object(g.a)(Object(g.a)({},ue.attribute),{},{title:typeof ue.title=="string"?ue.title:void 0,className:Y,role:ue.role||"menuitem","aria-disabled":ue.disabled});ue.role==="option"?te=Object(g.a)(Object(g.a)({},te),{},{role:"option","aria-selected":ue.isSelected}):(ue.role===null||ue.role==="none")&&(te.role="none");var be={onClick:ue.disabled?null:this.onClick,onMouseLeave:ue.disabled?null:this.onMouseLeave,onMouseEnter:ue.disabled?null:this.onMouseEnter},Le=Object(g.a)({},ue.style);ue.mode==="inline"&&(ue.direction==="rtl"?Le.paddingRight=ue.inlineIndent*ue.level:Le.paddingLeft=ue.inlineIndent*ue.level),lt.forEach(function($e){return delete ue[$e]}),delete ue.direction;var Re=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Re=u.createElement(this.props.itemIcon,this.props)),u.createElement("li",Object.assign({},Object(A.default)(ue,["onClick","onMouseEnter","onMouseLeave","onSelect"]),te,be,{style:Le,ref:this.saveNode}),ue.children,Re)}}]),At}(u.Component);Ae.isMenuItem=!0,Ae.defaultProps={onSelect:Pe,onMouseEnter:Pe,onMouseLeave:Pe,manualRef:Pe};var pe=w(function(Fe,nt){var At=Fe.activeKey,_t=Fe.selectedKeys,ne=nt.eventKey,ue=nt.subMenuKey;return{active:At[ue]===ne,isSelected:_t.indexOf(ne)!==-1}})(Ae),he=pe,le=function(Fe){Object(v.a)(At,Fe);var nt=Object(h.a)(At);function At(){var _t;return Object(f.a)(this,At),_t=nt.apply(this,arguments),_t.renderInnerMenuItem=function(ne){var ue=_t.props,Y=ue.renderMenuItem,te=ue.index;return Y(ne,te,_t.props.subMenuKey)},_t}return Object(y.a)(At,[{key:"render",value:function(){var ne=Object(S.a)({},this.props),ue=ne.className,Y=ue===void 0?"":ue,te=ne.rootPrefixCls,be="".concat(te,"-item-group-title"),Le="".concat(te,"-item-group-list"),Re=ne.title,$e=ne.children;return lt.forEach(function(gt){return delete ne[gt]}),delete ne.onClick,delete ne.direction,u.createElement("li",Object.assign({},ne,{className:"".concat(Y," ").concat(te,"-item-group")}),u.createElement("div",{className:be,title:typeof Re=="string"?Re:void 0},Re),u.createElement("ul",{className:Le},u.Children.map($e,this.renderInnerMenuItem)))}}]),At}(u.Component);le.isMenuItemGroup=!0,le.defaultProps={disabled:!0};var Ne=le,je=function(nt){var At=nt.className,_t=nt.rootPrefixCls,ne=nt.style;return u.createElement("li",{className:"".concat(At," ").concat(_t,"-item-divider"),style:ne})};je.defaultProps={disabled:!0,className:"",style:{}};var Ke=je,Xe=I.f=Bt},"1n7x":function(D,I,e){(function(g,f){(function(y,p){D.exports=p(e("5RHE"),e("wOnQ"))})(this,function(y,p){"use strict";y=y&&y.hasOwnProperty("default")?y.default:y,p=p&&p.hasOwnProperty("default")?p.default:p;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},h=Object.assign||function(A){for(var S=1;S<arguments.length;S++){var T=arguments[S];for(var O in T)Object.prototype.hasOwnProperty.call(T,O)&&(A[O]=T[O])}return A},u=function(S){var T=typeof S=="undefined"?"undefined":v(S);return T==="undefined"?"undefined":T==="string"||S instanceof String?"string":T==="number"||S instanceof Number?"number":T==="function"||S instanceof Function?"function":!!S&&S.constructor===Array?"array":S&&S.nodeType===1?"element":T==="object"?"object":"unknown"},o=function(S,T){var O=document.createElement(S);if(T.className&&(O.className=T.className),T.innerHTML){O.innerHTML=T.innerHTML;for(var x=O.getElementsByTagName("script"),C=x.length;C-- >0;null)x[C].parentNode.removeChild(x[C])}for(var _ in T.style)O.style[_]=T.style[_];return O},i=function A(S,T){for(var O=S.nodeType===3?document.createTextNode(S.nodeValue):S.cloneNode(!1),x=S.firstChild;x;x=x.nextSibling)(T===!0||x.nodeType!==1||x.nodeName!=="SCRIPT")&&O.appendChild(A(x,T));return S.nodeType===1&&(S.nodeName==="CANVAS"?(O.width=S.width,O.height=S.height,O.getContext("2d").drawImage(S,0,0)):(S.nodeName==="TEXTAREA"||S.nodeName==="SELECT")&&(O.value=S.value),O.addEventListener("load",function(){O.scrollTop=S.scrollTop,O.scrollLeft=S.scrollLeft},!0)),O},r=function(S,T){if(u(S)==="number")return S*72/96/T;var O={};for(var x in S)O[x]=S[x]*72/96/T;return O},a=function(S,T){return Math.floor(S*T/72*96)},c=typeof window!="undefined"?window:typeof g!="undefined"?g:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(A,S){return S={exports:{}},A(S,S.exports),S.exports}var t=l(function(A,S){/*!
|
|
|
* @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.5+7f2b526d
|
|
|
*/(function(T,O){A.exports=O()})(c,function(){function T(dt){var ct=typeof dt;return dt!==null&&(ct==="object"||ct==="function")}function O(dt){return typeof dt=="function"}var x=void 0;Array.isArray?x=Array.isArray:x=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var C=x,_=0,N=void 0,F=void 0,k=function(ct,yt){fe[_]=ct,fe[_+1]=yt,_+=2,_===2&&(F?F(G):Se())};function P(dt){F=dt}function j(dt){k=dt}var K=typeof window!="undefined"?window:void 0,R=K||{},B=R.MutationObserver||R.WebKitMutationObserver,U=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function W(){return function(){return f.nextTick(G)}}function V(){return typeof N!="undefined"?function(){N(G)}:q()}function z(){var dt=0,ct=new B(G),yt=document.createTextNode("");return ct.observe(yt,{characterData:!0}),function(){yt.data=dt=++dt%2}}function X(){var dt=new MessageChannel;return dt.port1.onmessage=G,function(){return dt.port2.postMessage(0)}}function q(){var dt=setTimeout;return function(){return dt(G,1)}}var fe=new Array(1e3);function G(){for(var dt=0;dt<_;dt+=2){var ct=fe[dt],yt=fe[dt+1];ct(yt),fe[dt]=void 0,fe[dt+1]=void 0}_=0}function ve(){try{var dt=Function("return this")().require("vertx");return N=dt.runOnLoop||dt.runOnContext,V()}catch(ct){return q()}}var Se=void 0;U?Se=W():B?Se=z():H?Se=X():K===void 0&&typeof n=="function"?Se=ve():Se=q();function ge(dt,ct){var yt=this,It=new this.constructor(pt);It[Ge]===void 0&&et(It);var or=yt._state;if(or){var Bt=arguments[or-1];k(function(){return Rt(or,It,Bt,yt._result)})}else vt(yt,It,dt,ct);return It}function Pe(dt){var ct=this;if(dt&&typeof dt=="object"&&dt.constructor===ct)return dt;var yt=new ct(pt);return ae(yt,dt),yt}var Ge=Math.random().toString(36).substring(2);function pt(){}var Te=void 0,xe=1,lt=2,Ie={error:null};function de(){return new TypeError("You cannot resolve a promise with itself")}function ee(){return new TypeError("A promises callback cannot return that same promise.")}function se(dt){try{return dt.then}catch(ct){return Ie.error=ct,Ie}}function ke(dt,ct,yt,It){try{dt.call(ct,yt,It)}catch(or){return or}}function Ce(dt,ct,yt){k(function(It){var or=!1,Bt=ke(yt,ct,function(Ae){if(or)return;or=!0,ct!==Ae?ae(It,Ae):Oe(It,Ae)},function(Ae){if(or)return;or=!0,Ze(It,Ae)},"Settle: "+(It._label||" unknown promise"));!or&&Bt&&(or=!0,Ze(It,Bt))},dt)}function ze(dt,ct){ct._state===xe?Oe(dt,ct._result):ct._state===lt?Ze(dt,ct._result):vt(ct,void 0,function(yt){return ae(dt,yt)},function(yt){return Ze(dt,yt)})}function _e(dt,ct,yt){ct.constructor===dt.constructor&&yt===ge&&ct.constructor.resolve===Pe?ze(dt,ct):yt===Ie?(Ze(dt,Ie.error),Ie.error=null):yt===void 0?Oe(dt,ct):O(yt)?Ce(dt,ct,yt):Oe(dt,ct)}function ae(dt,ct){dt===ct?Ze(dt,de()):T(ct)?_e(dt,ct,se(ct)):Oe(dt,ct)}function me(dt){dt._onerror&&dt._onerror(dt._result),Ct(dt)}function Oe(dt,ct){if(dt._state!==Te)return;dt._result=ct,dt._state=xe,dt._subscribers.length!==0&&k(Ct,dt)}function Ze(dt,ct){if(dt._state!==Te)return;dt._state=lt,dt._result=ct,k(me,dt)}function vt(dt,ct,yt,It){var or=dt._subscribers,Bt=or.length;dt._onerror=null,or[Bt]=ct,or[Bt+xe]=yt,or[Bt+lt]=It,Bt===0&&dt._state&&k(Ct,dt)}function Ct(dt){var ct=dt._subscribers,yt=dt._state;if(ct.length===0)return;for(var It=void 0,or=void 0,Bt=dt._result,Ae=0;Ae<ct.length;Ae+=3)It=ct[Ae],or=ct[Ae+yt],It?Rt(yt,It,or,Bt):or(Bt);dt._subscribers.length=0}function Be(dt,ct){try{return dt(ct)}catch(yt){return Ie.error=yt,Ie}}function Rt(dt,ct,yt,It){var or=O(yt),Bt=void 0,Ae=void 0,pe=void 0,he=void 0;if(or){if(Bt=Be(yt,It),Bt===Ie?(he=!0,Ae=Bt.error,Bt.error=null):pe=!0,ct===Bt){Ze(ct,ee());return}}else Bt=It,pe=!0;ct._state!==Te||(or&&pe?ae(ct,Bt):he?Ze(ct,Ae):dt===xe?Oe(ct,Bt):dt===lt&&Ze(ct,Bt))}function He(dt,ct){try{ct(function(It){ae(dt,It)},function(It){Ze(dt,It)})}catch(yt){Ze(dt,yt)}}var wt=0;function Ye(){return wt++}function et(dt){dt[Ge]=wt++,dt._state=void 0,dt._result=void 0,dt._subscribers=[]}function rt(){return new Error("Array Methods must be provided an Array")}var st=function(){function dt(ct,yt){this._instanceConstructor=ct,this.promise=new ct(pt),this.promise[Ge]||et(this.promise),C(yt)?(this.length=yt.length,this._remaining=yt.length,this._result=new Array(this.length),this.length===0?Oe(this.promise,this._result):(this.length=this.length||0,this._enumerate(yt),this._remaining===0&&Oe(this.promise,this._result))):Ze(this.promise,rt())}return dt.prototype._enumerate=function(yt){for(var It=0;this._state===Te&&It<yt.length;It++)this._eachEntry(yt[It],It)},dt.prototype._eachEntry=function(yt,It){var or=this._instanceConstructor,Bt=or.resolve;if(Bt===Pe){var Ae=se(yt);if(Ae===ge&&yt._state!==Te)this._settledAt(yt._state,It,yt._result);else if(typeof Ae!="function")this._remaining--,this._result[It]=yt;else if(or===ye){var pe=new or(pt);_e(pe,yt,Ae),this._willSettleAt(pe,It)}else this._willSettleAt(new or(function(he){return he(yt)}),It)}else this._willSettleAt(Bt(yt),It)},dt.prototype._settledAt=function(yt,It,or){var Bt=this.promise;Bt._state===Te&&(this._remaining--,yt===lt?Ze(Bt,or):this._result[It]=or),this._remaining===0&&Oe(Bt,this._result)},dt.prototype._willSettleAt=function(yt,It){var or=this;vt(yt,void 0,function(Bt){return or._settledAt(xe,It,Bt)},function(Bt){return or._settledAt(lt,It,Bt)})},dt}();function Ve(dt){return new st(this,dt).promise}function ie(dt){var ct=this;return C(dt)?new ct(function(yt,It){for(var or=dt.length,Bt=0;Bt<or;Bt++)ct.resolve(dt[Bt]).then(yt,It)}):new ct(function(yt,It){return It(new TypeError("You must pass an array to race."))})}function $(dt){var ct=this,yt=new ct(pt);return Ze(yt,dt),yt}function it(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Qe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ye=function(){function dt(ct){this[Ge]=Ye(),this._result=this._state=void 0,this._subscribers=[],pt!==ct&&(typeof ct!="function"&&it(),this instanceof dt?He(this,ct):Qe())}return dt.prototype.catch=function(yt){return this.then(null,yt)},dt.prototype.finally=function(yt){var It=this,or=It.constructor;return O(yt)?It.then(function(Bt){return or.resolve(yt()).then(function(){return Bt})},function(Bt){return or.resolve(yt()).then(function(){throw Bt})}):It.then(yt,yt)},dt}();ye.prototype.then=ge,ye.all=Ve,ye.race=ie,ye.resolve=Pe,ye.reject=$,ye._setScheduler=P,ye._setAsap=j,ye._asap=k;function Zt(){var dt=void 0;if(typeof c!="undefined")dt=c;else if(typeof self!="undefined")dt=self;else try{dt=Function("return this")()}catch(It){throw new Error("polyfill failed because global object is unavailable in this environment")}var ct=dt.Promise;if(ct){var yt=null;try{yt=Object.prototype.toString.call(ct.resolve())}catch(It){}if(yt==="[object Promise]"&&!ct.cast)return}dt.Promise=ye}return ye.polyfill=Zt,ye.Promise=ye,ye})}),s=t.Promise,d=function A(S){var T=h(A.convert(s.resolve()),JSON.parse(JSON.stringify(A.template))),O=A.convert(s.resolve(),T);return O=O.setProgress(1,A,1,[A]),O=O.set(S),O};d.prototype=Object.create(s.prototype),d.prototype.constructor=d,d.convert=function(S,T){return S.__proto__=T||d.prototype,S},d.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:{}}},d.prototype.from=function(S,T){function O(x){switch(u(x)){case"string":return"string";case"element":return x.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){T=T||O(S);switch(T){case"string":return this.set({src:o("div",{innerHTML:S})});case"element":return this.set({src:S});case"canvas":return this.set({canvas:S});case"img":return this.set({img:S});default:return this.error("Unknown source type.")}})},d.prototype.to=function(S){switch(S){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.")}},d.prototype.toContainer=function(){var S=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(S).then(function(){var O={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},x={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};O.opacity=0;var C=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=o("div",{className:"html2pdf__overlay",style:O}),this.prop.container=o("div",{className:"html2pdf__container",style:x}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},d.prototype.toCanvas=function(){var S=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(S).then(function(){var O=h({},this.opt.html2canvas);return delete O.onrendered,p(this.prop.container,O)}).then(function(O){var x=this.opt.html2canvas.onrendered||function(){};x(O),this.prop.canvas=O,document.body.removeChild(this.prop.overlay)})},d.prototype.toImg=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var O=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=O})},d.prototype.toPdf=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var O=this.prop.canvas,x=this.opt,C=O.height,_=Math.floor(O.width*this.prop.pageSize.inner.ratio),N=Math.ceil(C/_),F=this.prop.pageSize.inner.height,k=document.createElement("canvas"),P=k.getContext("2d");k.width=O.width,k.height=_,this.prop.pdf=this.prop.pdf||new y(x.jsPDF);for(var j=0;j<N;j++){j===N-1&&C%_!==0&&(k.height=C%_,F=k.height*this.prop.pageSize.inner.width/k.width);var K=k.width,R=k.height;P.fillStyle="white",P.fillRect(0,0,K,R),P.drawImage(O,0,j*_,K,R,0,0,K,R),j&&this.prop.pdf.addPage();var B=k.toDataURL("image/"+x.image.type,x.image.quality);this.prop.pdf.addImage(B,x.image.type,x.margin[1],x.margin[0],this.prop.pageSize.inner.width,F)}})},d.prototype.output=function(S,T,O){return O=O||"pdf",O.toLowerCase()==="img"||O.toLowerCase()==="image"?this.outputImg(S,T):this.outputPdf(S,T)},d.prototype.outputPdf=function(S,T){var O=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(O).then(function(){return this.prop.pdf.output(S,T)})},d.prototype.outputImg=function(S,T){var O=[function(){return this.prop.img||this.toImg()}];return this.thenList(O).then(function(){switch(S){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 "'+S+'" is not supported.'}})},d.prototype.save=function(S){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).set(S?{filename:S}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},d.prototype.set=function(S){if(u(S)!=="object")return this;var T=Object.keys(S||{}).map(function(O){if(O in d.template.prop)return function(){this.prop[O]=S[O]};switch(O){case"margin":return this.setMargin.bind(this,S.margin);case"jsPDF":return function(){return this.opt.jsPDF=S.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,S.pageSize);default:return function(){this.opt[O]=S[O]}}},this);return this.then(function(){return this.thenList(T)})},d.prototype.get=function(S,T){return this.then(function(){var x=S in d.template.prop?this.prop[S]:this.opt[S];return T?T(x):x})},d.prototype.setMargin=function(S){return this.then(function(){switch(u(S)){case"number":S=[S,S,S,S];case"array":if(S.length===2&&(S=[S[0],S[1],S[0],S[1]]),S.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=S}).then(this.setPageSize)},d.prototype.setPageSize=function(S){return this.then(function(){S=S||y.getPageSize(this.opt.jsPDF),S.hasOwnProperty("inner")||(S.inner={width:S.width-this.opt.margin[1]-this.opt.margin[3],height:S.height-this.opt.margin[0]-this.opt.margin[2]},S.inner.px={width:a(S.inner.width,S.k),height:a(S.inner.height,S.k)},S.inner.ratio=S.inner.height/S.inner.width),this.prop.pageSize=S})},d.prototype.setProgress=function(S,T,O,x){return S!=null&&(this.progress.val=S),T!=null&&(this.progress.state=T),O!=null&&(this.progress.n=O),x!=null&&(this.progress.stack=x),this.progress.ratio=this.progress.val/this.progress.state,this},d.prototype.updateProgress=function(S,T,O,x){return this.setProgress(S?this.progress.val+S:null,T||null,O?this.progress.n+O:null,x?this.progress.stack.concat(x):null)},d.prototype.then=function(S,T){var O=this;return this.thenCore(S,T,function(C,_){return O.updateProgress(null,null,1,[C]),s.prototype.then.call(this,function(F){return O.updateProgress(null,C),F}).then(C,_).then(function(F){return O.updateProgress(1),F})})},d.prototype.thenCore=function(S,T,O){O=O||s.prototype.then;var x=this;S&&(S=S.bind(x)),T&&(T=T.bind(x));var C=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",_=C?x:d.convert(h({},x),s.prototype),N=O.call(_,S,T);return d.convert(N,x.__proto__)},d.prototype.thenExternal=function(S,T){return s.prototype.then.call(this,S,T)},d.prototype.thenList=function(S){var T=this;return S.forEach(function(x){T=T.thenCore(x)}),T},d.prototype.catch=function(A){A&&(A=A.bind(this));var S=s.prototype.catch.call(this,A);return d.convert(S,this)},d.prototype.catchExternal=function(S){return s.prototype.catch.call(this,S)},d.prototype.error=function(S){return this.then(function(){throw new Error(S)})},d.prototype.using=d.prototype.set,d.prototype.saveAs=d.prototype.save,d.prototype.export=d.prototype.output,d.prototype.run=d.prototype.then,y.getPageSize=function(A,S,T){if((typeof A=="undefined"?"undefined":v(A))==="object"){var O=A;A=O.orientation,S=O.unit||S,T=O.format||T}S=S||"mm",T=T||"a4",A=(""+(A||"P")).toLowerCase();var x=(""+T).toLowerCase(),C={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(S){case"pt":var _=1;break;case"mm":var _=72/25.4;break;case"cm":var _=72/2.54;break;case"in":var _=72;break;case"px":var _=72/96;break;case"pc":var _=12;break;case"em":var _=12;break;case"ex":var _=6;break;default:throw"Invalid unit: "+S}if(C.hasOwnProperty(x))var N=C[x][1]/_,F=C[x][0]/_;else try{var N=T[1],F=T[0]}catch(j){throw new Error("Invalid format: "+T)}if(A==="p"||A==="portrait"){if(A="p",F>N){var k=F;F=N,N=k}}else if(A==="l"||A==="landscape"){if(A="l",N>F){var k=F;F=N,N=k}}else throw"Invalid orientation: "+A;var P={width:F,height:N,unit:S,k:_};return P};var m={toContainer:d.prototype.toContainer};d.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},d.prototype.toContainer=function(){return m.toContainer.call(this).then(function(){var T=this.prop.container,O=this.prop.pageSize.inner.px.height,x=[].concat(this.opt.pagebreak.mode),C={avoidAll:x.indexOf("avoid-all")!==-1,css:x.indexOf("css")!==-1,legacy:x.indexOf("legacy")!==-1},_={},N=this;["before","after","avoid"].forEach(function(P){var j=C.avoidAll&&P==="avoid";_[P]=j?[]:[].concat(N.opt.pagebreak[P]||[]),_[P].length>0&&(_[P]=Array.prototype.slice.call(T.querySelectorAll(_[P].join(", "))))});var F=T.querySelectorAll(".html2pdf__page-break");F=Array.prototype.slice.call(F);var k=T.querySelectorAll("*");Array.prototype.forEach.call(k,function(j){var K={before:!1,after:C.legacy&&F.indexOf(j)!==-1,avoid:C.avoidAll};if(C.css){var R=window.getComputedStyle(j),B=["always","page","left","right"],U=["avoid","avoid-page"];K={before:K.before||B.indexOf(R.breakBefore||R.pageBreakBefore)!==-1,after:K.after||B.indexOf(R.breakAfter||R.pageBreakAfter)!==-1,avoid:K.avoid||U.indexOf(R.breakInside||R.pageBreakInside)!==-1}}Object.keys(K).forEach(function(q){K[q]=K[q]||_[q].indexOf(j)!==-1});var H=j.getBoundingClientRect();if(K.avoid&&!K.before){var W=Math.floor(H.top/O),V=Math.floor(H.bottom/O),z=Math.abs(H.bottom-H.top)/O;V!==W&&z<=1&&(K.before=!0)}if(K.before){var X=o("div",{style:{display:"block",height:O-H.top%O+"px"}});j.parentNode.insertBefore(X,j)}if(K.after){var X=o("div",{style:{display:"block",height:O-H.bottom%O+"px"}});j.parentNode.insertBefore(X,j.nextSibling)}})})};var w=[],b={toContainer:d.prototype.toContainer,toPdf:d.prototype.toPdf};d.prototype.toContainer=function(){return b.toContainer.call(this).then(function(){if(this.opt.enableLinks){var T=this.prop.container,O=T.querySelectorAll("a"),x=r(T.getBoundingClientRect(),this.prop.pageSize.k);w=[],Array.prototype.forEach.call(O,function(C){for(var _=C.getClientRects(),N=0;N<_.length;N++){var F=r(_[N],this.prop.pageSize.k);F.left-=x.left,F.top-=x.top;var k=Math.floor(F.top/this.prop.pageSize.inner.height)+1,P=this.opt.margin[0]+F.top%this.prop.pageSize.inner.height,j=this.opt.margin[1]+F.left;w.push({page:k,top:P,left:j,clientRect:F,link:C})}},this)}})},d.prototype.toPdf=function(){return b.toPdf.call(this).then(function(){if(this.opt.enableLinks){w.forEach(function(O){this.prop.pdf.setPage(O.page),this.prop.pdf.link(O.left,O.top,O.clientRect.width,O.clientRect.height,{url:O.link.href})},this);var T=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(T)}})};var E=function A(S,T){var O=new A.Worker(T);return S?O.from(S).save():O};return E.Worker=d,E})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(){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(D,I,e){var g=e("MBQ8"),f=g.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,f.superApply(this,"getInitialData",arguments)}}),y=f;D.exports=y},"1u/T":function(D,I,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(y,p){p.eachComponent({mainType:"visualMap",query:y},function(v){v.setSelected(y.selected)})})},"1vzs":function(D,I,e){"use strict";e.d(I,"a",function(){return t});var g=e("q1tI"),f=e.n(g),y=e("HQEm"),p=e.n(y),v=e("gZBC"),h=e.n(v),u=e("NAnI"),o=e.n(u),i=e("V/uB"),r=e.n(i),a=e("kbBi"),c=e.n(a),n=e("w6Tc"),l=e.n(n);function t(s){var d=s.suffixIcon,m=s.clearIcon,w=s.menuItemSelectedIcon,b=s.removeIcon,E=s.loading,A=s.multiple,S=s.prefixCls,T=m;m||(T=g.createElement(c.a,null));var O=null;if(d!==void 0)O=d;else if(E)O=g.createElement(h.a,{spin:!0});else{var x="".concat(S,"-suffix");O=function(F){var k=F.open,P=F.showSearch;return k&&P?g.createElement(l.a,{className:x}):g.createElement(p.a,{className:x})}}var C=null;w!==void 0?C=w:A?C=g.createElement(o.a,null):C=null;var _=null;return b!==void 0?_=b:_=g.createElement(r.a,null),{clearIcon:T,suffixIcon:O,itemIcon:C,removeIcon:_}}},"1xaR":function(D,I,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var y=e("mOdp"),p=e("y3NT"),v=e("0/Rx");g.registerVisual(f.curry(y,"sunburst")),g.registerLayout(f.curry(p,"sunburst")),g.registerProcessor(f.curry(v,"sunburst"))},"24YM":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.SensorTabIndex=I.SensorClassName=I.SizeSensorId=void 0;var g="size-sensor-id";I.SizeSensorId=g;var f="size-sensor-object";I.SensorClassName=f;var y="-1";I.SensorTabIndex=y},"2548":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("6GrX"),p=e("IUWy"),v=e("IwbS"),h=e("Qxkt"),u=e("gPAo"),o=e("eRkO"),i=g.extendComponentView({type:"toolbox",render:function(a,c,n,l){var t=this.group;if(t.removeAll(),!a.get("show"))return;var s=+a.get("itemSize"),d=a.get("feature")||{},m=this._features||(this._features={}),w=[];f.each(d,function(A,S){w.push(S)}),new u(this._featureNames||[],w).add(b).update(b).remove(f.curry(b,null)).execute(),this._featureNames=w;function b(A,S){var T=w[A],O=w[S],x=d[T],C=new h(x,a,a.ecModel),_;if(l&&l.newTitle!=null&&l.featureName===T&&(x.title=l.newTitle),T&&!O){if(r(T))_={model:C,onclick:C.option.onclick,featureName:T};else{var N=p.get(T);if(!N)return;_=new N(C,c,n)}m[T]=_}else{if(_=m[O],!_)return;_.model=C,_.ecModel=c,_.api=n}if(!T&&O){_.dispose&&_.dispose(c,n);return}if(!C.get("show")||_.unusable){_.remove&&_.remove(c,n);return}E(C,_,T),C.setIconStatus=function(F,k){var P=this.option,j=this.iconPaths;P.iconStatus=P.iconStatus||{},P.iconStatus[F]=k,j[F]&&j[F].trigger(k)},_.render&&_.render(C,c,n,l)}function E(A,S,T){var O=A.getModel("iconStyle"),x=A.getModel("emphasis.iconStyle"),C=S.getIcons?S.getIcons():A.get("icon"),_=A.get("title")||{};if(typeof C=="string"){var N=C,F=_;C={},_={},C[T]=N,_[T]=F}var k=A.iconPaths={};f.each(C,function(P,j){var K=v.createIcon(P,{},{x:-s/2,y:-s/2,width:s,height:s});K.setStyle(O.getItemStyle()),K.hoverStyle=x.getItemStyle(),K.setStyle({text:_[j],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var R=a.getModel("tooltip");R&&R.get("show")&&K.attr("tooltip",f.extend({content:_[j],formatter:R.get("formatter",!0)||function(){return _[j]},formatterParams:{componentType:"toolbox",name:j,title:_[j],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(K),a.get("showTitle")&&(K.__title=_[j],K.on("mouseover",function(){var B=x.getItemStyle(),U=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";K.setStyle({textFill:x.get("textFill")||B.fill||B.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||U})}).on("mouseout",function(){K.setStyle({textFill:null,textBackgroundColor:null})})),K.trigger(A.get("iconStatus."+j)||"normal"),t.add(K),K.on("click",f.bind(S.onclick,S,c,n,j)),k[j]=K})}o.layout(t,a,n),t.add(o.makeBackground(t.getBoundingRect(),a)),t.eachChild(function(A){var S=A.__title,T=A.hoverStyle;if(T&&S){var O=y.getBoundingRect(S,y.makeFont(T)),x=A.position[0]+t.position[0],C=A.position[1]+t.position[1]+s,_=!1;C+O.height>n.getHeight()&&(T.textPosition="top",_=!0);var N=_?-5-O.height:s+8;x+O.width/2>n.getWidth()?(T.textPosition=["100%",N],T.textAlign="right"):x-O.width/2<0&&(T.textPosition=[0,N],T.textAlign="left")}})},updateView:function(a,c,n,l){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,c,n,l)})},remove:function(a,c){f.each(this._features,function(n){n.remove&&n.remove(a,c)}),this.group.removeAll()},dispose:function(a,c){f.each(this._features,function(n){n.dispose&&n.dispose(a,c)})}});function r(a){return a.indexOf("my")===0}D.exports=i},"2B6p":function(D,I){function e(g,f,y){var p=g.getZoom(),v=g.getCenter(),h=f.zoom,u=g.dataToPoint(v);if(f.dx!=null&&f.dy!=null){u[0]-=f.dx,u[1]-=f.dy;var v=g.pointToData(u);g.setCenter(v)}if(h!=null){if(y){var o=y.min||0,i=y.max||Infinity;h=Math.max(Math.min(p*h,i),o)/p}g.scale[0]*=h,g.scale[1]*=h;var r=g.position,a=(f.originX-r[0])*(h-1),c=(f.originY-r[1])*(h-1);r[0]-=a,r[1]-=c,g.updateTransform();var v=g.pointToData(u);g.setCenter(v),g.setZoom(h*p)}return{center:g.getCenter(),zoom:g.getZoom()}}I.updateCenterAndZoom=e},"2BaD":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CloseCircleOutlined";var h=I.a=g.forwardRef(v)},"2DNl":function(D,I,e){var g=e("IMiH"),f=e("loD1"),y=e("59Ip"),p=e("aKvl"),v=e("n1HI"),h=e("hX1E"),u=h.normalizeRadian,o=e("Sj9i"),i=e("hyiK"),r=g.CMD,a=Math.PI*2,c=1e-4;function n(S,T){return Math.abs(S-T)<c}var l=[-1,-1,-1],t=[-1,-1];function s(){var S=t[0];t[0]=t[1],t[1]=S}function d(S,T,O,x,C,_,N,F,k,P){if(P>T&&P>x&&P>_&&P>F||P<T&&P<x&&P<_&&P<F)return 0;var j=o.cubicRootAt(T,x,_,F,P,l);if(j===0)return 0;for(var K=0,R=-1,B,U,H=0;H<j;H++){var W=l[H],V=W===0||W===1?.5:1,z=o.cubicAt(S,O,C,N,W);if(z<k)continue;R<0&&(R=o.cubicExtrema(T,x,_,F,t),t[1]<t[0]&&R>1&&s(),B=o.cubicAt(T,x,_,F,t[0]),R>1&&(U=o.cubicAt(T,x,_,F,t[1]))),R===2?W<t[0]?K+=B<T?V:-V:W<t[1]?K+=U<B?V:-V:K+=F<U?V:-V:W<t[0]?K+=B<T?V:-V:K+=F<B?V:-V}return K}function m(S,T,O,x,C,_,N,F){if(F>T&&F>x&&F>_||F<T&&F<x&&F<_)return 0;var k=o.quadraticRootAt(T,x,_,F,l);if(k===0)return 0;var P=o.quadraticExtremum(T,x,_);if(P>=0&&P<=1){for(var j=0,K=o.quadraticAt(T,x,_,P),R=0;R<k;R++){var B=l[R]===0||l[R]===1?.5:1,U=o.quadraticAt(S,O,C,l[R]);if(U<N)continue;l[R]<P?j+=K<T?B:-B:j+=_<K?B:-B}return j}else{var B=l[0]===0||l[0]===1?.5:1,U=o.quadraticAt(S,O,C,l[0]);return U<N?0:_<T?B:-B}}function w(S,T,O,x,C,_,N,F){if(F-=T,F>O||F<-O)return 0;var k=Math.sqrt(O*O-F*F);l[0]=-k,l[1]=k;var P=Math.abs(x-C);if(P<1e-4)return 0;if(P%a<1e-4){x=0,C=a;var j=_?1:-1;return N>=l[0]+S&&N<=l[1]+S?j:0}if(_){var k=x;x=u(C),C=u(k)}else x=u(x),C=u(C);x>C&&(C+=a);for(var K=0,R=0;R<2;R++){var B=l[R];if(B+S>N){var U=Math.atan2(F,B),j=_?1:-1;U<0&&(U=a+U),(U>=x&&U<=C||U+a>=x&&U+a<=C)&&(U>Math.PI/2&&U<Math.PI*1.5&&(j=-j),K+=j)}}return K}function b(S,T,O,x,C){for(var _=0,N=0,F=0,k=0,P=0,j=0;j<S.length;){var K=S[j++];K===r.M&&j>1&&(O||(_+=i(N,F,k,P,x,C))),j===1&&(N=S[j],F=S[j+1],k=N,P=F);switch(K){case r.M:k=S[j++],P=S[j++],N=k,F=P;break;case r.L:if(O){if(f.containStroke(N,F,S[j],S[j+1],T,x,C))return!0}else _+=i(N,F,S[j],S[j+1],x,C)||0;N=S[j++],F=S[j++];break;case r.C:if(O){if(y.containStroke(N,F,S[j++],S[j++],S[j++],S[j++],S[j],S[j+1],T,x,C))return!0}else _+=d(N,F,S[j++],S[j++],S[j++],S[j++],S[j],S[j+1],x,C)||0;N=S[j++],F=S[j++];break;case r.Q:if(O){if(p.containStroke(N,F,S[j++],S[j++],S[j],S[j+1],T,x,C))return!0}else _+=m(N,F,S[j++],S[j++],S[j],S[j+1],x,C)||0;N=S[j++],F=S[j++];break;case r.A:var R=S[j++],B=S[j++],U=S[j++],H=S[j++],W=S[j++],V=S[j++];j+=1;var z=1-S[j++],X=Math.cos(W)*U+R,q=Math.sin(W)*H+B;j>1?_+=i(N,F,X,q,x,C):(k=X,P=q);var fe=(x-R)*H/U+R;if(O){if(v.containStroke(R,B,H,W,W+V,z,T,fe,C))return!0}else _+=w(R,B,H,W,W+V,z,fe,C);N=Math.cos(W+V)*U+R,F=Math.sin(W+V)*H+B;break;case r.R:k=N=S[j++],P=F=S[j++];var G=S[j++],ve=S[j++],X=k+G,q=P+ve;if(O){if(f.containStroke(k,P,X,P,T,x,C)||f.containStroke(X,P,X,q,T,x,C)||f.containStroke(X,q,k,q,T,x,C)||f.containStroke(k,q,k,P,T,x,C))return!0}else _+=i(X,P,X,q,x,C),_+=i(k,q,k,P,x,C);break;case r.Z:if(O){if(f.containStroke(N,F,k,P,T,x,C))return!0}else _+=i(N,F,k,P,x,C);N=k,F=P;break}}return!O&&!n(F,P)&&(_+=i(N,F,k,P,x,C)||0),_!==0}function E(S,T,O){return b(S,0,!1,T,O)}function A(S,T,O,x){return b(S,T,!0,O,x)}I.contain=E,I.containStroke=A},"2Qr1":function(D,I,e){"use strict";e.d(I,"d",function(){return n}),e.d(I,"c",function(){return t}),e.d(I,"e",function(){return s}),e.d(I,"b",function(){return w}),e.d(I,"f",function(){return b}),e.d(I,"g",function(){return E}),e.d(I,"a",function(){return A});var g=e("rePB"),f=e("KQm4"),y=e("DSFK"),p=e("25BE"),v=e("BsWD"),h=e("PYwp");function u(S){return Object(y.a)(S)||Object(p.a)(S)||Object(v.a)(S)||Object(h.a)()}var o=e("U8pU"),i=e("VTBJ"),r=e("Kwbf"),a=e("WKfj");function c(S,T){var O=S.key,x;return"value"in S&&(x=S.value),O!=null?O:x!==void 0?x:"rc-index-key-".concat(T)}function n(S){var T=[];function O(x,C){x.forEach(function(_){C||!("options"in _)?T.push({key:c(_,T.length),groupOption:C,data:_}):(T.push({key:c(_,T.length),group:!0,data:_}),O(_.options,!0))})}return O(S,!1),T}function l(S){var T=Object(i.a)({},S);return"props"in T||Object.defineProperty(T,"props",{get:function(){return Object(r.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),T}}),T}function t(S,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=O.prevValueOptions,C=x===void 0?[]:x,_=new Map;return T.forEach(function(N){if(!N.group){var F=N.data;_.set(F.value,F)}}),S.map(function(N){var F=_.get(N);return F||(F=Object(i.a)({},C.find(function(k){return k._INTERNAL_OPTION_VALUE_===N}))),l(F)})}var s=function(T,O){var x=O.options,C=O.prevValue,_=O.labelInValue,N=O.optionLabelProp,F=t([T],x)[0],k={value:T},P,j=Object(a.d)(C);return _&&(P=j.find(function(K){return Object(o.a)(K)==="object"&&"value"in K?K.value===T:K.key===T})),P&&Object(o.a)(P)==="object"&&"label"in P?(k.label=P.label,F&&typeof P.label=="string"&&typeof F[N]=="string"&&P.label.trim()!==F[N].trim()&&Object(r.a)(!1,"`label` of `value` is not same as `label` in Select options.")):F&&N in F?k.label=F[N]:k.label=T,k.key=k.value,k};function d(S){return Object(a.d)(S).join("")}function m(S){return function(T,O){var x=T.toLowerCase();if("options"in O)return d(O.label).toLowerCase().includes(x);var C=O[S],_=d(C).toLowerCase();return _.includes(x)&&!O.disabled}}function w(S,T,O){var x=O.optionFilterProp,C=O.filterOption,_=[],N;return C===!1?T:(typeof C=="function"?N=C:N=m(x),T.forEach(function(F){if("options"in F){var k=N(S,F);if(k)_.push(F);else{var P=F.options.filter(function(j){return N(S,j)});P.length&&_.push(Object(i.a)(Object(i.a)({},F),{},{options:P}))}return}N(S,l(F))&&_.push(F)}),_)}function b(S,T){if(!T||!T.length)return null;var O=!1;function x(_,N){var F=u(N),k=F[0],P=F.slice(1);if(!k)return[_];var j=_.split(k);return O=O||j.length>1,j.reduce(function(K,R){return[].concat(Object(f.a)(K),Object(f.a)(x(R,P)))},[]).filter(function(K){return K})}var C=x(S,T);return O?C:null}function E(S,T){var O=t([S],T)[0];return O.disabled}function A(S,T,O,x){var C=Object(a.d)(T).slice().sort(),_=Object(f.a)(S),N=new Set;return S.forEach(function(F){F.options?F.options.forEach(function(k){N.add(k.value)}):N.add(F.value)}),C.forEach(function(F){var k=x?F.value:F;if(!N.has(k)){var P;_.push(x?(P={},Object(g.a)(P,O,F.label),Object(g.a)(P,"value",k),P):{value:k})}}),_}},"2dDv":function(D,I,e){var g=e("bYtY"),f=e("Fofx"),y=e("+TT/"),p=e("aX7z"),v=e("D1WM"),h=e("IwbS"),u=e("OELB"),o=e("72pK"),i=g.each,r=Math.min,a=Math.max,c=Math.floor,n=Math.ceil,l=u.round,t=Math.PI;function s(E,A,S){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=E.dimensions,this._rect,this._model=E,this._init(E,A,S)}s.prototype={type:"parallel",constructor:s,_init:function(E,A,S){var T=E.dimensions,O=E.parallelAxisIndex;i(T,function(x,C){var _=O[C],N=A.getComponent("parallelAxis",_),F=this._axesMap.set(x,new v(x,p.createScaleByModel(N),[0,0],N.get("type"),_)),k=F.type==="category";F.onBand=k&&N.get("boundaryGap"),F.inverse=N.get("inverse"),N.axis=F,F.model=N,F.coordinateSystem=N.coordinateSystem=this},this)},update:function(E,A){this._updateAxesFromSeries(this._model,E)},containPoint:function(E){var A=this._makeLayoutInfo(),S=A.axisBase,T=A.layoutBase,O=A.pixelDimIndex,x=E[1-O],C=E[O];return x>=S&&x<=S+A.axisLength&&C>=T&&C<=T+A.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(E,A){A.eachSeries(function(S){if(!E.contains(S,A))return;var T=S.getData();i(this.dimensions,function(O){var x=this._axesMap.get(O);x.scale.unionExtentFromData(T,T.mapDimension(O)),p.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(E,A){this._rect=y.getLayoutRect(E.getBoxLayoutParams(),{width:A.getWidth(),height:A.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var E=this._model,A=this._rect,S=["x","y"],T=["width","height"],O=E.get("layout"),x=O==="horizontal"?0:1,C=A[T[x]],_=[0,C],N=this.dimensions.length,F=d(E.get("axisExpandWidth"),_),k=d(E.get("axisExpandCount")||0,[0,N]),P=E.get("axisExpandable")&&N>3&&N>k&&k>1&&F>0&&C>0,j=E.get("axisExpandWindow"),K;if(j)K=d(j[1]-j[0],_),j[1]=j[0]+K;else{K=d(F*(k-1),_);var R=E.get("axisExpandCenter")||c(N/2);j=[F*R-K/2],j[1]=j[0]+K}var B=(C-K)/(N-k);B<3&&(B=0);var U=[c(l(j[0]/F,1))+1,n(l(j[1]/F,1))-1],H=B/F*j[0];return{layout:O,pixelDimIndex:x,layoutBase:A[S[x]],layoutLength:C,axisBase:A[S[1-x]],axisLength:A[T[1-x]],axisExpandable:P,axisExpandWidth:F,axisCollapseWidth:B,axisExpandWindow:j,axisCount:N,winInnerIndices:U,axisExpandWindow0Pos:H}},_layoutAxes:function(){var E=this._rect,A=this._axesMap,S=this.dimensions,T=this._makeLayoutInfo(),O=T.layout;A.each(function(x){var C=[0,T.axisLength],_=x.inverse?1:0;x.setExtent(C[_],C[1-_])}),i(S,function(x,C){var _=(T.axisExpandable?w:m)(C,T),N={horizontal:{x:_.position,y:T.axisLength},vertical:{x:0,y:_.position}},F={horizontal:t/2,vertical:0},k=[N[O].x+E.x,N[O].y+E.y],P=F[O],j=f.create();f.rotate(j,j,P),f.translate(j,j,k),this._axesLayout[x]={position:k,rotation:P,transform:j,axisNameAvailableWidth:_.axisNameAvailableWidth,axisLabelShow:_.axisLabelShow,nameTruncateMaxWidth:_.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(E){return this._axesMap.get(E)},dataToPoint:function(E,A){return this.axisCoordToPoint(this._axesMap.get(A).dataToCoord(E),A)},eachActiveState:function(E,A,S,T){S==null&&(S=0),T==null&&(T=E.count());var O=this._axesMap,x=this.dimensions,C=[],_=[];g.each(x,function(B){C.push(E.mapDimension(B)),_.push(O.get(B).model)});for(var N=this.hasAxisBrushed(),F=S;F<T;F++){var k;if(!N)k="normal";else{k="active";for(var P=E.getValues(C,F),j=0,K=x.length;j<K;j++){var R=_[j].getActiveState(P[j]);if(R==="inactive"){k="inactive";break}}}A(k,F)}},hasAxisBrushed:function(){for(var E=this.dimensions,A=this._axesMap,S=!1,T=0,O=E.length;T<O;T++)A.get(E[T]).model.getActiveState()!=="normal"&&(S=!0);return S},axisCoordToPoint:function(E,A){var S=this._axesLayout[A];return h.applyTransform([E,0],S.transform)},getAxisLayout:function(E){return g.clone(this._axesLayout[E])},getSlidedAxisExpandWindow:function(E){var A=this._makeLayoutInfo(),S=A.pixelDimIndex,T=A.axisExpandWindow.slice(),O=T[1]-T[0],x=[0,A.axisExpandWidth*(A.axisCount-1)];if(!this.containPoint(E))return{behavior:"none",axisExpandWindow:T};var C=E[S]-A.layoutBase-A.axisExpandWindow0Pos,_,N="slide",F=A.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),P=k[0]!=null;if(F)P&&F&&C<O*k[0]?(N="jump",_=C-O*k[2]):P&&F&&C>O*(1-k[0])?(N="jump",_=C-O*(1-k[2])):(_=C-O*k[1])>=0&&(_=C-O*(1-k[1]))<=0&&(_=0),_*=A.axisExpandWidth/F,_?o(_,T,x,"all"):N="none";else{var O=T[1]-T[0],j=x[1]*C/O;T=[a(0,j-O/2)],T[1]=r(x[1],T[0]+O),T[0]=T[1]-O}return{axisExpandWindow:T,behavior:N}}};function d(E,A){return r(a(E,A[0]),A[1])}function m(E,A){var S=A.layoutLength/(A.axisCount-1);return{position:S*E,axisNameAvailableWidth:S,axisLabelShow:!0}}function w(E,A){var S=A.layoutLength,T=A.axisExpandWidth,O=A.axisCount,x=A.axisCollapseWidth,C=A.winInnerIndices,_,N=x,F=!1,k;return E<C[0]?(_=E*x,k=x):E<=C[1]?(_=A.axisExpandWindow0Pos+E*T-A.axisExpandWindow[0],N=T,F=!0):(_=S-(O-1-E)*x,k=x),{position:_,axisNameAvailableWidth:N,axisLabelShow:F,nameTruncateMaxWidth:k}}var b=s;D.exports=b},"2fGM":function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),p=e("ICMv"),v=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});g.merge(v.prototype,p);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(o,i){return i.type||(i.data?"category":"value")}y("angle",v,u,h.angle),y("radius",v,u,h.radius)},"2fM7":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("7W2i"),r=e.n(i),a=e("LQ03"),c=e.n(a),n=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),s=e.n(t),d=e("1OyB"),m=e("vuIU"),w=e("Ji7U"),b=e("LK+K"),E=e("rePB"),A=e("Ff2n"),S=e("ODXe"),T=e("4IlW"),O=e("bX4T"),x=e("YrtM"),C=e("+nKL"),_=e("8OUc"),N=function(ee,se){var ke=ee.prefixCls,Ce=ee.id,ze=ee.flattenOptions,_e=ee.childrenAsData,ae=ee.values,me=ee.searchValue,Oe=ee.multiple,Ze=ee.defaultActiveFirstOption,vt=ee.height,Ct=ee.itemHeight,Be=ee.notFoundContent,Rt=ee.open,He=ee.menuItemSelectedIcon,wt=ee.virtual,Ye=ee.onSelect,et=ee.onToggleOpen,rt=ee.onActiveValue,st=ee.onScroll,Ve=ee.onMouseEnter,ie="".concat(ke,"-item"),$=Object(x.a)(function(){return ze},[Rt,ze],function(pe,he){return he[0]&&pe[1]!==he[1]}),it=n.useRef(null),Qe=function(he){he.preventDefault()},ye=function(he){it.current&&it.current.scrollTo({index:he})},Zt=function(he){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ne=$.length,je=0;je<Ne;je+=1){var Ke=(he+je*le+Ne)%Ne,Xe=$[Ke],Fe=Xe.group,nt=Xe.data;if(!Fe&&!nt.disabled)return Ke}return-1},dt=n.useState(function(){return Zt(0)}),ct=Object(S.a)(dt,2),yt=ct[0],It=ct[1],or=function(he){It(he);var le=$[he];if(!le){rt(null,-1);return}rt(le.data.value,he)};n.useEffect(function(){or(Ze!==!1?Zt(0):-1)},[$.length,me]),n.useEffect(function(){var pe=setTimeout(function(){if(!Oe&&Rt&&ae.size===1){var he=Array.from(ae)[0],le=$.findIndex(function(Ne){var je=Ne.data;return je.value===he});or(le),ye(le)}});return function(){return clearTimeout(pe)}},[Rt]);var Bt=function(he){he!==void 0&&Ye(he,{selected:!ae.has(he)}),Oe||et(!1)};if(n.useImperativeHandle(se,function(){return{onKeyDown:function(he){var le=he.which;switch(le){case T.a.UP:case T.a.DOWN:{var Ne=0;if(le===T.a.UP?Ne=-1:le===T.a.DOWN&&(Ne=1),Ne!==0){var je=Zt(yt+Ne,Ne);ye(je),or(je)}break}case T.a.ENTER:{var Ke=$[yt];Ke&&!Ke.data.disabled?Bt(Ke.data.value):Bt(void 0),Rt&&he.preventDefault();break}case T.a.ESC:et(!1)}},onKeyUp:function(){},scrollTo:function(he){ye(he)}}}),$.length===0)return n.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),className:"".concat(ie,"-empty"),onMouseDown:Qe},Be);function Ae(pe){var he=$[pe];if(!he)return null;var le=he.data||{},Ne=le.value,je=le.label,Ke=le.children,Xe=Object(O.a)(le,!0),Fe=_e?Ke:je;return he?n.createElement("div",Object.assign({"aria-label":typeof Fe=="string"?Fe:null},Xe,{key:pe,role:"option",id:"".concat(Ce,"_list_").concat(pe),"aria-selected":ae.has(Ne)}),Ne):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(Ce,"_list"),style:{height:0,width:0,overflow:"hidden"}},Ae(yt-1),Ae(yt),Ae(yt+1)),n.createElement(C.a,{itemKey:"key",ref:it,data:$,height:vt,itemHeight:Ct,fullHeight:!1,onMouseDown:Qe,onScroll:st,virtual:wt,onMouseEnter:Ve},function(pe,he){var le,Ne=pe.group,je=pe.groupOption,Ke=pe.data,Xe=Ke.label,Fe=Ke.key;if(Ne)return n.createElement("div",{className:s()(ie,"".concat(ie,"-group"))},Xe!==void 0?Xe:Fe);var nt=Ke.disabled,At=Ke.value,_t=Ke.title,ne=Ke.children,ue=Ke.style,Y=Ke.className,te=Object(A.a)(Ke,["disabled","value","title","children","style","className"]),be=ae.has(At),Le="".concat(ie,"-option"),Re=s()(ie,Le,Y,(le={},Object(E.a)(le,"".concat(Le,"-grouped"),je),Object(E.a)(le,"".concat(Le,"-active"),yt===he&&!nt),Object(E.a)(le,"".concat(Le,"-disabled"),nt),Object(E.a)(le,"".concat(Le,"-selected"),be),le)),$e=_e?ne:Xe,gt=!He||typeof He=="function"||be;return n.createElement("div",Object.assign({},te,{"aria-selected":be,className:Re,title:_t,onMouseMove:function(){if(yt===he||nt)return;or(he)},onClick:function(){nt||Bt(At)},style:ue}),n.createElement("div",{className:"".concat(Le,"-content")},$e||At),n.isValidElement(He)||be,gt&&n.createElement(_.a,{className:"".concat(ie,"-option-state"),customizeIcon:He,customizeIconProps:{isSelected:be}},be?"\u2713":null))}))},F=n.forwardRef(N);F.displayName="OptionList";var k=F,P=function(){return null};P.isSelectOption=!0;var j=P,K=function(){return null};K.isSelectOptGroup=!0;var R=K,B=e("VTBJ"),U=e("Zm9Q");function H(de){var ee=de.key,se=de.props,ke=se.children,Ce=se.value,ze=Object(A.a)(se,["children","value"]);return Object(B.a)({key:ee,value:Ce!==void 0?Ce:ee,children:ke},ze)}function W(de){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(U.a)(de).map(function(se,ke){if(!n.isValidElement(se)||!se.type)return null;var Ce=se.type.isSelectOptGroup,ze=se.key,_e=se.props,ae=_e.children,me=Object(A.a)(_e,["children"]);return ee||!Ce?H(se):Object(B.a)(Object(B.a)({key:"__RC_SELECT_GRP__".concat(ze===null?ke:ze,"__"),label:ze},me),{},{options:W(ae)})}).filter(function(se){return se})}var V=e("2Qr1"),z=e("qNPg"),X=e("U8pU"),q=e("Kwbf"),fe=e("WKfj");function G(de){var ee=de.mode,se=de.options,ke=de.children,Ce=de.backfill,ze=de.allowClear,_e=de.placeholder,ae=de.getInputElement,me=de.showSearch,Oe=de.onSearch,Ze=de.defaultOpen,vt=de.autoFocus,Ct=de.labelInValue,Be=de.value,Rt=de.inputValue,He=de.optionLabelProp,wt=ee==="multiple"||ee==="tags",Ye=me!==void 0?me:wt||ee==="combobox",et=se||W(ke);if(Object(q.a)(ee!=="tags"||et.every(function(ie){return!ie.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ee==="tags"||ee==="combobox"){var rt=et.some(function(ie){return ie.options?ie.options.some(function($){return typeof("value"in $?$.value:$.key)=="number"}):typeof("value"in ie?ie.value:ie.key)=="number"});Object(q.a)(!rt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(q.a)(ee!=="combobox"||!He,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(q.a)(ee==="combobox"||!Ce,"`backfill` only works with `combobox` mode."),Object(q.a)(ee==="combobox"||!ae,"`getInputElement` only work with `combobox` mode."),Object(q.b)(ee!=="combobox"||!ae||!ze||!_e,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Oe&&!Ye&&ee!=="combobox"&&ee!=="tags"&&Object(q.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(q.b)(!Ze||vt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Be!=null){var st=Object(fe.d)(Be);Object(q.a)(!Ct||st.every(function(ie){return Object(X.a)(ie)==="object"&&("key"in ie||"value"in ie)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(q.a)(!wt||Array.isArray(Be),"`value` should be array when `mode` is `multiple` or `tags`")}if(ke){var Ve=null;Object(U.a)(ke).some(function(ie){if(!n.isValidElement(ie)||!ie.type)return!1;var $=ie.type;if($.isSelectOption)return!1;if($.isSelectOptGroup){var it=Object(U.a)(ie.props.children).every(function(Qe){return!n.isValidElement(Qe)||!ie.type||Qe.type.isSelectOption?!0:(Ve=Qe.type,!1)});return!it}return Ve=$,!0}),Ve&&Object(q.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object(q.a)(Rt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ve=G,Se=Object(z.a)({prefixCls:"rc-select",components:{optionList:k},convertChildrenToData:W,flattenOptions:V.d,getLabeledValue:V.e,filterOptions:V.b,isValueDisabled:V.g,findValueOption:V.c,warningProps:ve,fillOptionsWithMissingValue:V.a}),ge=function(de){Object(w.a)(se,de);var ee=Object(b.a)(se);function se(){var ke;return Object(d.a)(this,se),ke=ee.apply(this,arguments),ke.selectRef=n.createRef(),ke.focus=function(){ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current.blur()},ke}return Object(m.a)(se,[{key:"render",value:function(){return n.createElement(Se,Object.assign({ref:this.selectRef},this.props))}}]),se}(n.Component);ge.Option=j,ge.OptGroup=R;var Pe=ge,Ge=Pe,pt=e("H84U"),Te=e("1vzs"),xe=e("3Nzz"),lt=function(de){r()(se,de);var ee=c()(se);function se(){var ke;return h()(this,se),ke=ee.apply(this,arguments),ke.selectRef=n.createRef(),ke.focus=function(){ke.selectRef.current&&ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current&&ke.selectRef.current.blur()},ke.getMode=function(){var Ce=ke.props.mode;return Ce==="combobox"?void 0:Ce===se.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ce},ke.renderSelect=function(Ce){var ze=Ce.getPopupContainer,_e=Ce.getPrefixCls,ae=Ce.renderEmpty,me=Ce.direction,Oe=Ce.virtual,Ze=Ce.dropdownMatchSelectWidth,vt=ke.props,Ct=vt.prefixCls,Be=vt.notFoundContent,Rt=vt.className,He=vt.size,wt=vt.listHeight,Ye=wt===void 0?256:wt,et=vt.listItemHeight,rt=et===void 0?24:et,st=vt.getPopupContainer,Ve=vt.dropdownClassName,ie=vt.bordered,$=_e("select",Ct),it=ke.getMode(),Qe=it==="multiple"||it==="tags",ye;Be!==void 0?ye=Be:it==="combobox"?ye=null:ye=ae("Select");var Zt=Object(Te.a)(p()(p()({},ke.props),{multiple:Qe,prefixCls:$})),dt=Zt.suffixIcon,ct=Zt.itemIcon,yt=Zt.removeIcon,It=Zt.clearIcon,or=Object(l.default)(ke.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Bt=s()(Ve,f()({},"".concat($,"-dropdown-").concat(me),me==="rtl"));return n.createElement(xe.b.Consumer,null,function(Ae){var pe,he=He||Ae,le=s()(Rt,(pe={},f()(pe,"".concat($,"-lg"),he==="large"),f()(pe,"".concat($,"-sm"),he==="small"),f()(pe,"".concat($,"-rtl"),me==="rtl"),f()(pe,"".concat($,"-borderless"),!ie),pe));return n.createElement(Ge,p()({ref:ke.selectRef,virtual:Oe,dropdownMatchSelectWidth:Ze},or,{listHeight:Ye,listItemHeight:rt,mode:it,prefixCls:$,direction:me,inputIcon:dt,menuItemSelectedIcon:ct,removeIcon:yt,clearIcon:It,notFoundContent:ye,className:le,getPopupContainer:st||ze,dropdownClassName:Bt}))})},ke}return o()(se,[{key:"render",value:function(){return n.createElement(pt.a,null,this.renderSelect)}}]),se}(n.Component);lt.Option=j,lt.OptGroup=R,lt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",lt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Ie=I.a=lt},"2fw6":function(D,I,e){var g=e("y+Vt"),f=g.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(p,v,h){h&&p.moveTo(v.cx+v.r,v.cy),p.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});D.exports=f},"2gN3":function(D,I,e){var g=e("Kz5y"),f=g["__core-js_shared__"];D.exports=f},"2jpz":function(D,I,e){"use strict";e.d(I,"a",function(){return m});var g=e("cDf5"),f=e.n(g),y=e("q1tI"),p=e.n(y),v=e("TSYQ"),h=e.n(v),u=e("gZBC"),o=e.n(u),i=e("vk+C"),r=e.n(i),a=e("pG52"),c=e.n(a),n=e("Csr3"),l=e.n(n),t=e("e5VY"),s=e.n(t),d=e("0n0R");function m(w,b,E,A){var S=A.isLeaf,T=A.expanded,O=A.loading;if(O)return y.createElement(o.a,{className:"".concat(w,"-switcher-loading-icon")});var x;if(E&&f()(E)==="object"&&(x=E.showLeafIcon),S)return E?f()(E)==="object"&&!x?y.createElement("span",{className:"".concat(w,"-switcher-leaf-line")}):y.createElement(r.a,{className:"".concat(w,"-switcher-line-icon")}):null;var C="".concat(w,"-switcher-icon");return Object(d.b)(b)?Object(d.a)(b,{className:h()(b.props.className||"",C)}):b||(E?T?y.createElement(c.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(l.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(s.a,{className:C}))}},"2oIt":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"2uGb":function(D,I,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),y=e("nKiI");g.registerVisual(f),g.registerLayout(y)},"2w7y":function(D,I,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(D,I,e){var g=e("ProS"),f=e("b9oc"),y=e("Kagy"),p=e("IUWy"),v=y.toolbox.restore;function h(i){this.model=i}h.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 u=h.prototype;u.onclick=function(i,r,a){f.clear(i),r.dispatchAction({type:"restore",from:this.uid})},p.register("restore",h),g.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(i,r){r.resetOption("recreate")});var o=h;D.exports=o},"34/K":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var u=0;u<h.length;u++){var o=h[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function y(v,h,u){return h&&f(v.prototype,h),u&&f(v,u),v}var p=function(){function v(){g(this,v),this._lines=0}return y(v,[{key:"decodeRect",value:function(u,o,i,r,a,c,n){this._lines===0&&(this._lines=r);var l=n==8?1:4,t=i*l;if(a.rQwait("RAW",t))return!1;var s=o+(r-this._lines),d=Math.min(this._lines,Math.floor(a.rQlen/t)),m=a.rQ,w=a.rQi;if(n==8){for(var b=i*d,E=new Uint8Array(b*4),A=0;A<b;A++)E[A*4+0]=(m[w+A]>>0&3)*255/3,E[A*4+1]=(m[w+A]>>2&3)*255/3,E[A*4+2]=(m[w+A]>>4&3)*255/3,E[A*4+4]=0;m=E,w=0}return c.blitImage(u,s,i,d,m,w),a.rQskipBytes(d*t),this._lines-=d,!(this._lines>0)}}]),v}();I.default=p},"3690":function(D,I,e){"use strict";function g(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(a){return typeof a}:g=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(i)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=p(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return y=function(){return i},i}function p(i){if(i&&i.__esModule)return i;if(i===null||g(i)!=="object"&&typeof i!="function")return{default:i};var r=y();if(r&&r.has(i))return r.get(i);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var l=c?Object.getOwnPropertyDescriptor(i,n):null;l&&(l.get||l.set)?Object.defineProperty(a,n,l):a[n]=i[n]}return a.default=i,r&&r.set(i,a),a}function v(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function h(i,r){for(var a=0;a<r.length;a++){var c=r[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}function u(i,r,a){return r&&h(i.prototype,r),a&&h(i,a),i}var o=function(){function i(){v(this,i),this._tiles=0,this._lastsubencoding=0}return u(i,[{key:"decodeRect",value:function(a,c,n,l,t,s,d){for(this._tiles===0&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var m=1;if(t.rQwait("HEXTILE",m))return!1;var w=t.rQ,b=t.rQi,E=w[b];if(E>30)throw new Error("Illegal hextile subencoding (subencoding: "+E+")");var A=this._totalTiles-this._tiles,S=A%this._tilesX,T=Math.floor(A/this._tilesX),O=a+S*16,x=c+T*16,C=Math.min(16,a+n-O),_=Math.min(16,c+l-x);if(E&1)m+=C*_*4;else if(E&2&&(m+=4),E&4&&(m+=4),E&8){if(m++,t.rQwait("HEXTILE",m))return!1;var N=w[b+m-1];E&16?m+=N*(4+2):m+=N*2}if(t.rQwait("HEXTILE",m))return!1;if(b++,E===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(O,x,C,_,this._background);else if(E&1)s.blitImage(O,x,C,_,w,b),b+=m-1;else{if(E&2&&(this._background=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),E&4&&(this._foreground=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),s.startTile(O,x,C,_,this._background),E&8){var F=w[b];b++;for(var k=0;k<F;k++){var P=void 0;E&16?(P=[w[b],w[b+1],w[b+2],w[b+3]],b+=4):P=this._foreground;var j=w[b];b++;var K=j>>4,R=j&15,B=w[b];b++;var U=(B>>4)+1,H=(B&15)+1;s.subTile(K,R,U,H,P)}}s.finishTile()}t.rQi=b,this._lastsubencoding=E,this._tiles--}return!0}}]),i}();I.default=o},"3A9y":function(D,I){function e(g){return this.__data__.has(g)}D.exports=e},"3C/r":function(D,I){var e=function(y,p){this.image=y,this.repeat=p,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;D.exports=g},"3CBa":function(D,I,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),p=e("SUKs"),v=e("y+Vt"),h=e("Dagg"),u=e("dqUG"),o=e("DBLp"),i=e("sW+o"),r=e("n6Mw"),a=e("vKoX"),c=e("P47w"),n=c.path,l=c.image,t=c.text;function s(C){return parseInt(C,10)}function d(C){return C instanceof v?n:C instanceof h?l:C instanceof u?t:n}function m(C,_){return _&&C&&_.parentNode!==C}function w(C,_,N){if(m(C,_)&&N){var F=N.nextSibling;F?C.insertBefore(_,F):C.appendChild(_)}}function b(C,_){if(m(C,_)){var N=C.firstChild;N?C.insertBefore(_,N):C.appendChild(_)}}function E(C,_){_&&C&&_.parentNode===C&&C.removeChild(_)}function A(C){return C.__textSvgEl}function S(C){return C.__svgEl}var T=function(_,N,F,k){this.root=_,this.storage=N,this._opts=F=y.extend({},F||{});var P=f("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var j=f("g");P.appendChild(j);var K=f("g");P.appendChild(K),this.gradientManager=new i(k,K),this.clipPathManager=new r(k,K),this.shadowManager=new a(k,K);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=K,this._backgroundRoot=j,this._viewport=R,_.appendChild(R),R.appendChild(P),this.resize(F.width,F.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var _=this.getViewportRoot();if(_)return{offsetLeft:_.offsetLeft||0,offsetTop:_.offsetTop||0}},refresh:function(){var _=this.storage.getDisplayList(!0);this._paintList(_)},setBackgroundColor:function(_){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var N=f("rect");N.setAttribute("width",this.getWidth()),N.setAttribute("height",this.getHeight()),N.setAttribute("x",0),N.setAttribute("y",0),N.setAttribute("id",0),N.style.fill=_,this._backgroundRoot.appendChild(N),this._backgroundNode=N},_paintList:function(_){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var N=this._svgRoot,F=this._visibleList,k=_.length,P=[],j;for(j=0;j<k;j++){var K=_[j],R=d(K),B=S(K)||A(K);K.invisible||(K.__dirty&&(R&&R.brush(K),this.clipPathManager.update(K),K.style&&(this.gradientManager.update(K.style.fill),this.gradientManager.update(K.style.stroke),this.shadowManager.update(B,K)),K.__dirty=!1),P.push(K))}var U=o(F,P),H;for(j=0;j<U.length;j++){var W=U[j];if(W.removed)for(var V=0;V<W.count;V++){var K=F[W.indices[V]],B=S(K),z=A(K);E(N,B),E(N,z)}}for(j=0;j<U.length;j++){var W=U[j];if(W.added)for(var V=0;V<W.count;V++){var K=P[W.indices[V]],B=S(K),z=A(K);H?w(N,B,H):b(N,B),B?w(N,z,B):H?w(N,z,H):b(N,z),w(N,z,B),H=z||B||H,this.gradientManager.addWithoutUpdate(B||z,K),this.shadowManager.addWithoutUpdate(B||z,K),this.clipPathManager.markUsed(K)}else if(!W.removed)for(var V=0;V<W.count;V++){var K=P[W.indices[V]],B=S(K),z=A(K),B=S(K),z=A(K);this.gradientManager.markUsed(K),this.gradientManager.addWithoutUpdate(B||z,K),this.shadowManager.markUsed(K),this.shadowManager.addWithoutUpdate(B||z,K),this.clipPathManager.markUsed(K),z&&w(N,z,B),H=B||z||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=P},_getDefs:function(_){var N=this._svgDom,F=N.getElementsByTagName("defs");if(F.length===0)if(_){var F=N.insertBefore(f("defs"),N.firstChild);return F.contains||(F.contains=function(P){var j=F.children;if(!j)return!1;for(var K=j.length-1;K>=0;--K)if(j[K]===P)return!0;return!1}),F}else return null;else return F[0]},resize:function(_,N){var F=this._viewport;F.style.display="none";var k=this._opts;if(_!=null&&(k.width=_),N!=null&&(k.height=N),_=this._getSize(0),N=this._getSize(1),F.style.display="",this._width!==_||this._height!==N){this._width=_,this._height=N;var P=F.style;P.width=_+"px",P.height=N+"px";var j=this._svgDom;j.setAttribute("width",_),j.setAttribute("height",N)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",_),this._backgroundNode.setAttribute("height",N))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(_){var N=this._opts,F=["width","height"][_],k=["clientWidth","clientHeight"][_],P=["paddingLeft","paddingTop"][_],j=["paddingRight","paddingBottom"][_];if(N[F]!=null&&N[F]!=="auto")return parseFloat(N[F]);var K=this.root,R=document.defaultView.getComputedStyle(K);return(K[k]||s(R[F])||s(K.style[F]))-(s(R[P])||0)-(s(R[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 _=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+_}};function O(C){return function(){p('In SVG mode painter not support method "'+C+'"')}}y.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){T.prototype[C]=O(C)});var x=T;D.exports=x},"3Fdi":function(D,I){var e=Function.prototype,g=e.toString;function f(y){if(y!=null){try{return g.call(y)}catch(p){}try{return y+""}catch(p){}}return""}D.exports=f},"3LNs":function(D,I,e){var g=e("bYtY"),f=e("Yl7c"),y=e("IwbS"),p=e("zTMp"),v=e("YH21"),h=e("iLNv"),u=e("4NO4"),o=u.makeInner,i=o(),r=g.clone,a=g.bind;function c(){}c.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(w,b,E,A){var S=b.get("value"),T=b.get("status");if(this._axisModel=w,this._axisPointerModel=b,this._api=E,!A&&this._lastValue===S&&this._lastStatus===T)return;this._lastValue=S,this._lastStatus=T;var O=this._group,x=this._handle;if(!T||T==="hide"){O&&O.hide(),x&&x.hide();return}O&&O.show(),x&&x.show();var C={};this.makeElOption(C,S,w,b,E);var _=C.graphicKey;_!==this._lastGraphicKey&&this.clear(E),this._lastGraphicKey=_;var N=this._moveAnimation=this.determineAnimation(w,b);if(!O)O=this._group=new y.Group,this.createPointerEl(O,C,w,b),this.createLabelEl(O,C,w,b),E.getZr().add(O);else{var F=g.curry(n,b,N);this.updatePointerEl(O,C,F,b),this.updateLabelEl(O,C,F,b)}d(O,b,!0),this._renderHandle(S)},remove:function(w){this.clear(w)},dispose:function(w){this.clear(w)},determineAnimation:function(w,b){var E=b.get("animation"),A=w.axis,S=A.type==="category",T=b.get("snap");if(!T&&!S)return!1;if(E==="auto"||E==null){var O=this.animationThreshold;if(S&&A.getBandWidth()>O)return!0;if(T){var x=p.getAxisInfo(w).seriesDataCount,C=A.getExtent();return Math.abs(C[0]-C[1])/x>O}return!1}return E===!0},makeElOption:function(w,b,E,A,S){},createPointerEl:function(w,b,E,A){var S=b.pointer;if(S){var T=i(w).pointerEl=new y[S.type](r(b.pointer));w.add(T)}},createLabelEl:function(w,b,E,A){if(b.label){var S=i(w).labelEl=new y.Rect(r(b.label));w.add(S),t(S,A)}},updatePointerEl:function(w,b,E){var A=i(w).pointerEl;A&&b.pointer&&(A.setStyle(b.pointer.style),E(A,{shape:b.pointer.shape}))},updateLabelEl:function(w,b,E,A){var S=i(w).labelEl;S&&(S.setStyle(b.label.style),E(S,{shape:b.label.shape,position:b.label.position}),t(S,A))},_renderHandle:function(w){if(this._dragging||!this.updateHandleTransform)return;var b=this._axisPointerModel,E=this._api.getZr(),A=this._handle,S=b.getModel("handle"),T=b.get("status");if(!S.get("show")||!T||T==="hide"){A&&E.remove(A),this._handle=null;return}var O;this._handle||(O=!0,A=this._handle=y.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(_){v.stop(_.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),E.add(A)),d(A,b,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];A.setStyle(S.getItemStyle(null,x));var C=S.get("size");g.isArray(C)||(C=[C,C]),A.attr("scale",[C[0]/2,C[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(w,O)},_moveHandleToValue:function(w,b){n(this._axisPointerModel,!b&&this._moveAnimation,this._handle,s(this.getHandleTransform(w,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(w,b){var E=this._handle;if(!E)return;this._dragging=!0;var A=this.updateHandleTransform(s(E),[w,b],this._axisModel,this._axisPointerModel);this._payloadInfo=A,E.stopAnimation(),E.attr(s(A)),i(E).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var w=this._handle;if(!w)return;var b=this._payloadInfo,E=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:b.cursorPoint[0],y:b.cursorPoint[1],tooltipOption:b.tooltipOption,axesInfo:[{axisDim:E.axis.dim,axisIndex:E.componentIndex}]})},_onHandleDragEnd:function(w){this._dragging=!1;var b=this._handle;if(!b)return;var E=this._axisPointerModel.get("value");this._moveHandleToValue(E),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(w){this._lastValue=null,this._lastStatus=null;var b=w.getZr(),E=this._group,A=this._handle;b&&E&&(this._lastGraphicKey=null,E&&b.remove(E),A&&b.remove(A),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(w,b,E){return E=E||0,{x:w[E],y:w[1-E],width:b[E],height:b[1-E]}}},c.prototype.constructor=c;function n(w,b,E,A){l(i(E).lastProp,A)||(i(E).lastProp=A,b?y.updateProps(E,A,w):(E.stopAnimation(),E.attr(A)))}function l(w,b){if(g.isObject(w)&&g.isObject(b)){var E=!0;return g.each(b,function(A,S){E=E&&l(w[S],A)}),!!E}else return w===b}function t(w,b){w[b.get("label.show")?"show":"hide"]()}function s(w){return{position:w.position.slice(),rotation:w.rotation||0}}function d(w,b,E){var A=b.get("z"),S=b.get("zlevel");w&&w.traverse(function(T){T.type!=="group"&&(A!=null&&(T.z=A),S!=null&&(T.zlevel=S),T.silent=E)})}f.enableClassExtend(c);var m=c;D.exports=m},"3OrL":function(D,I,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),p=e("y+Vt"),v=["itemStyle"],h=["emphasis","itemStyle"],u=f.extend({type:"boxplot",render:function(n,l,t){var s=n.getData(),d=this.group,m=this._data;this._data||d.removeAll();var w=n.get("layout")==="horizontal"?1:0;s.diff(m).add(function(b){if(s.hasValue(b)){var E=s.getItemLayout(b),A=i(E,s,b,w,!0);s.setItemGraphicEl(b,A),d.add(A)}}).update(function(b,E){var A=m.getItemGraphicEl(E);if(!s.hasValue(b)){d.remove(A);return}var S=s.getItemLayout(b);A?r(S,A,s,b):A=i(S,s,b,w),d.add(A),s.setItemGraphicEl(b,A)}).remove(function(b){var E=m.getItemGraphicEl(b);E&&d.remove(E)}).execute(),this._data=s},remove:function(n){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:g.noop}),o=p.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,l){var t=l.points,s=0;for(n.moveTo(t[s][0],t[s][1]),s++;s<4;s++)n.lineTo(t[s][0],t[s][1]);for(n.closePath();s<t.length;s++)n.moveTo(t[s][0],t[s][1]),s++,n.lineTo(t[s][0],t[s][1])}});function i(n,l,t,s,d){var m=n.ends,w=new o({shape:{points:d?a(m,s,n):m}});return r(n,w,l,t,d),w}function r(n,l,t,s,d){var m=t.hostModel,w=y[d?"initProps":"updateProps"];w(l,{shape:{points:n.ends}},m,s);var b=t.getItemModel(s),E=b.getModel(v),A=t.getItemVisual(s,"color"),S=E.getItemStyle(["borderColor"]);S.stroke=A,S.strokeNoScale=!0,l.useStyle(S),l.z2=100;var T=b.getModel(h).getItemStyle();y.setHoverStyle(l,T)}function a(n,l,t){return g.map(n,function(s){return s=s.slice(),s[l]=t.initBaseline,s})}var c=u;D.exports=c},"3S7+":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("J4zp"),p=e.n(y),v=e("pVnL"),h=e.n(v),u=e("q1tI"),o=e.n(u),i=e("uciX"),r={adjustX:1,adjustY:1},a=[0,0],c={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:a},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:a},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:a},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:a},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:a},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:a},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:a},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:a},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:a},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:a},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:a},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:a}},n=c,l=function(z){var X=z.overlay,q=z.prefixCls,fe=z.id,G=z.overlayInnerStyle;return o.a.createElement("div",{className:"".concat(q,"-inner"),id:fe,role:"tooltip",style:G},typeof X=="function"?X():X)},t=l;function s(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(X){return typeof X}:s=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},s(V)}function d(V,z){var X=Object.keys(V);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(V);z&&(q=q.filter(function(fe){return Object.getOwnPropertyDescriptor(V,fe).enumerable})),X.push.apply(X,q)}return X}function m(V){for(var z=1;z<arguments.length;z++){var X=arguments[z]!=null?arguments[z]:{};z%2?d(Object(X),!0).forEach(function(q){w(V,q,X[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(X)):d(Object(X)).forEach(function(q){Object.defineProperty(V,q,Object.getOwnPropertyDescriptor(X,q))})}return V}function w(V,z,X){return z in V?Object.defineProperty(V,z,{value:X,enumerable:!0,configurable:!0,writable:!0}):V[z]=X,V}function b(V,z){if(V==null)return{};var X=E(V,z),q,fe;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(V);for(fe=0;fe<G.length;fe++){if(q=G[fe],z.indexOf(q)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(V,q))continue;X[q]=V[q]}}return X}function E(V,z){if(V==null)return{};var X={},q=Object.keys(V),fe,G;for(G=0;G<q.length;G++){if(fe=q[G],z.indexOf(fe)>=0)continue;X[fe]=V[fe]}return X}var A=function(z,X){var q=z.overlayClassName,fe=z.trigger,G=fe===void 0?["hover"]:fe,ve=z.mouseEnterDelay,Se=ve===void 0?0:ve,ge=z.mouseLeaveDelay,Pe=ge===void 0?.1:ge,Ge=z.overlayStyle,pt=z.prefixCls,Te=pt===void 0?"rc-tooltip":pt,xe=z.children,lt=z.onVisibleChange,Ie=z.afterVisibleChange,de=z.transitionName,ee=z.animation,se=z.placement,ke=se===void 0?"right":se,Ce=z.align,ze=Ce===void 0?{}:Ce,_e=z.destroyTooltipOnHide,ae=_e===void 0?!1:_e,me=z.defaultVisible,Oe=z.getTooltipContainer,Ze=z.overlayInnerStyle,vt=b(z,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ct=Object(u.useRef)(null);Object(u.useImperativeHandle)(X,function(){return Ct.current});var Be=m({},vt);"visible"in z&&(Be.popupVisible=z.visible);var Rt=function(){var rt=z.arrowContent,st=rt===void 0?null:rt,Ve=z.overlay,ie=z.id;return[o.a.createElement("div",{className:"".concat(Te,"-arrow"),key:"arrow"},st),o.a.createElement(t,{key:"content",prefixCls:Te,id:ie,overlay:Ve,overlayInnerStyle:Ze})]},He=!1,wt=!1;if(typeof ae=="boolean")He=ae;else if(ae&&s(ae)==="object"){var Ye=ae.keepParent;He=Ye===!0,wt=Ye===!1}return o.a.createElement(i.a,Object.assign({popupClassName:q,prefixCls:Te,popup:Rt,action:G,builtinPlacements:c,popupPlacement:ke,ref:Ct,popupAlign:ze,getPopupContainer:Oe,onPopupVisibleChange:lt,afterPopupVisibleChange:Ie,popupTransitionName:de,popupAnimation:ee,defaultPopupVisible:me,destroyPopupOnHide:He,autoDestroy:wt,mouseLeaveDelay:Pe,popupStyle:Ge,mouseEnterDelay:Se},Be),xe)},S=Object(u.forwardRef)(A),T=S,O=e("TSYQ"),x=e.n(O),C={adjustX:1,adjustY:1},_={adjustX:0,adjustY:0},N=[0,0];function F(V){return typeof V=="boolean"?V?C:_:h()(h()({},_),V)}function k(V){var z=V.arrowWidth,X=z===void 0?5:z,q=V.horizontalArrowShift,fe=q===void 0?16:q,G=V.verticalArrowShift,ve=G===void 0?8:G,Se=V.autoAdjustOverflow,ge={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:[-(fe+X),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(ve+X)]},topRight:{points:["br","tc"],offset:[fe+X,-4]},rightTop:{points:["tl","cr"],offset:[4,-(ve+X)]},bottomRight:{points:["tr","bc"],offset:[fe+X,4]},rightBottom:{points:["bl","cr"],offset:[4,ve+X]},bottomLeft:{points:["tl","bc"],offset:[-(fe+X),4]},leftBottom:{points:["br","cl"],offset:[-4,ve+X]}};return Object.keys(ge).forEach(function(Pe){ge[Pe]=V.arrowPointAtCenter?h()(h()({},ge[Pe]),{overflow:F(Se),targetOffset:N}):h()(h()({},c[Pe]),{overflow:F(Se)}),ge[Pe].ignoreShake=!0}),ge}var P=e("0n0R"),j=e("H84U"),K=e("09Wf"),R=function(z,X){var q={},fe=h()({},z);return X.forEach(function(G){z&&G in z&&(q[G]=z[G],delete fe[G])}),{picked:q,omitted:fe}},B=new RegExp("^(".concat(K.a.join("|"),")(-inverse)?$"));function U(V,z){var X=V.type;if((X.__ANT_BUTTON===!0||X.__ANT_SWITCH===!0||X.__ANT_CHECKBOX===!0||V.type==="button")&&V.props.disabled){var q=R(V.props.style,["position","left","right","top","bottom","float","display","zIndex"]),fe=q.picked,G=q.omitted,ve=h()(h()({display:"inline-block"},fe),{cursor:"not-allowed",width:V.props.block?"100%":null}),Se=h()(h()({},G),{pointerEvents:"none"}),ge=Object(P.a)(V,{style:Se,className:null});return u.createElement("span",{style:ve,className:x()(V.props.className,"".concat(z,"-disabled-compatible-wrapper"))},ge)}return V}var H=u.forwardRef(function(V,z){var X,q=u.useContext(j.b),fe=q.getPopupContainer,G=q.getPrefixCls,ve=q.direction,Se=u.useState(!!V.visible||!!V.defaultVisible),ge=p()(Se,2),Pe=ge[0],Ge=ge[1];u.useEffect(function(){"visible"in V&&Ge(V.visible)},[V.visible]);var pt=function(){var Ye=V.title,et=V.overlay;return!Ye&&!et&&Ye!==0},Te=function(Ye){"visible"in V||Ge(pt()?!1:Ye),V.onVisibleChange&&!pt()&&V.onVisibleChange(Ye)},xe=function(){var Ye=V.builtinPlacements,et=V.arrowPointAtCenter,rt=V.autoAdjustOverflow;return Ye||k({arrowPointAtCenter:et,autoAdjustOverflow:rt})},lt=function(Ye,et){var rt=xe(),st=Object.keys(rt).filter(function($){return rt[$].points[0]===et.points[0]&&rt[$].points[1]===et.points[1]})[0];if(!st)return;var Ve=Ye.getBoundingClientRect(),ie={top:"50%",left:"50%"};st.indexOf("top")>=0||st.indexOf("Bottom")>=0?ie.top="".concat(Ve.height-et.offset[1],"px"):(st.indexOf("Top")>=0||st.indexOf("bottom")>=0)&&(ie.top="".concat(-et.offset[1],"px")),st.indexOf("left")>=0||st.indexOf("Right")>=0?ie.left="".concat(Ve.width-et.offset[0],"px"):(st.indexOf("right")>=0||st.indexOf("Left")>=0)&&(ie.left="".concat(-et.offset[0],"px")),Ye.style.transformOrigin="".concat(ie.left," ").concat(ie.top)},Ie=function(){var Ye=V.title,et=V.overlay;return Ye===0?Ye:et||Ye||""},de=V.prefixCls,ee=V.openClassName,se=V.getPopupContainer,ke=V.getTooltipContainer,Ce=V.overlayClassName,ze=V.color,_e=V.overlayInnerStyle,ae=V.children,me=G("tooltip",de),Oe=Pe;!("visible"in V)&&pt()&&(Oe=!1);var Ze=U(Object(P.b)(ae)?ae:u.createElement("span",null,ae),me),vt=Ze.props,Ct=x()(vt.className,f()({},ee||"".concat(me,"-open"),!0)),Be=x()(Ce,(X={},f()(X,"".concat(me,"-rtl"),ve==="rtl"),f()(X,"".concat(me,"-").concat(ze),ze&&B.test(ze)),X)),Rt,He;return ze&&!B.test(ze)&&(Rt=h()(h()({},_e),{background:ze}),He={background:ze}),u.createElement(T,h()({},V,{prefixCls:me,overlayClassName:Be,getTooltipContainer:se||ke||fe,ref:z,builtinPlacements:xe(),overlay:Ie(),visible:Oe,onVisibleChange:Te,onPopupAlign:lt,overlayInnerStyle:Rt,arrowContent:u.createElement("span",{className:"".concat(me,"-arrow-content"),style:He})}),Oe?Object(P.a)(Ze,{className:Ct}):Ze)});H.displayName="Tooltip",H.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var W=I.a=H},"3TkU":function(D,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(D,I,e){var g=e("bYtY"),f=e("7a+S"),y=e("OKJ2"),p=f.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:[]}});g.mixin(p,y);var v=p;D.exports=v},"3e3G":function(D,I,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,u,o,i,r){this.x=h==null?.5:h,this.y=u==null?.5:u,this.r=o==null?.5:o,this.type="radial",this.global=r||!1,f.call(this,i)};y.prototype={constructor:y},g.inherits(y,f);var p=y;D.exports=p},"3gBT":function(D,I){var e=2311;function g(){return e++}D.exports=g},"3hzK":function(D,I){var e={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")}}};D.exports=e},"3m61":function(D,I){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(y){var p=y.getGraph(),v=y.getEdgeData(),h=e(y.get("edgeSymbol")),u=e(y.get("edgeSymbolSize")),o="lineStyle.color".split("."),i="lineStyle.opacity".split(".");v.setVisual("fromSymbol",h&&h[0]),v.setVisual("toSymbol",h&&h[1]),v.setVisual("fromSymbolSize",u&&u[0]),v.setVisual("toSymbolSize",u&&u[1]),v.setVisual("color",y.get(o)),v.setVisual("opacity",y.get(i)),v.each(function(r){var a=v.getItemModel(r),c=p.getEdgeByIndex(r),n=e(a.getShallow("symbol",!0)),l=e(a.getShallow("symbolSize",!0)),t=a.get(o),s=a.get(i);switch(t){case"source":t=c.node1.getVisual("color");break;case"target":t=c.node2.getVisual("color");break}n[0]&&c.setVisual("fromSymbol",n[0]),n[1]&&c.setVisual("toSymbol",n[1]),l[0]&&c.setVisual("fromSymbolSize",l[0]),l[1]&&c.setVisual("toSymbolSize",l[1]),c.setVisual("color",t),c.setVisual("opacity",s)})})}D.exports=g},"3ouR":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CloseSquareOutlined";var h=I.a=g.forwardRef(v)},"3zoK":function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("KCsZ"),p=e("nkfE"),v=e("OELB"),h=e("ICMv"),u=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return y([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(a){var c=this.activeIntervals=g.clone(a);if(c)for(var n=c.length-1;n>=0;n--)v.asc(c[n])},getActiveState:function(a){var c=this.activeIntervals;if(!c.length)return"normal";if(a==null||isNaN(a))return"inactive";if(c.length===1){var n=c[0];if(n[0]<=a&&a<=n[1])return"active"}else for(var l=0,t=c.length;l<t;l++)if(c[l][0]<=a&&a<=c[l][1])return"active";return"inactive"}}),o={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};g.merge(u.prototype,h);function i(a,c){return c.type||(c.data?"category":"value")}p("parallel",u,i,o);var r=u;D.exports=r},"4Feb":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("IwbS"),v=e("x3X8"),h=v.getDefaultLabel,u=e("MwEJ"),o=e("nVfU"),i=o.getLayoutOnAxis,r=e("gPAo"),a=e("T4UG"),c=e("Qxkt"),n=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,s=e("qj72"),d=e("ANjR"),m=e("MHtr"),w=e("6usn"),b=e("Rx6q"),E=p.CACHED_LABEL_STYLE_PROPERTIES,A=["itemStyle"],S=["emphasis","itemStyle"],T=["label"],O=["emphasis","label"],x="e\0\0",C={cartesian2d:s,geo:d,singleAxis:m,polar:w,calendar:b};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(G,ve){return u(this.getSource(),this)},getDataParams:function(G,ve,Se){var ge=a.prototype.getDataParams.apply(this,arguments);return Se&&(ge.info=Se.info),ge}}),n.extend({type:"custom",_data:null,render:function(G,ve,Se,ge){var Pe=this._data,Ge=G.getData(),pt=this.group,Te=k(G,Ge,ve,Se);Ge.diff(Pe).add(function(lt){j(null,lt,Te(lt,ge),G,pt,Ge)}).update(function(lt,Ie){var de=Pe.getItemGraphicEl(Ie);j(de,lt,Te(lt,ge),G,pt,Ge)}).remove(function(lt){var Ie=Pe.getItemGraphicEl(lt);Ie&&pt.remove(Ie)}).execute();var xe=G.get("clip",!0)?t(G.coordinateSystem,!1,G):null;xe?pt.setClipPath(xe):pt.removeClipPath(),this._data=Ge},incrementalPrepareRender:function(G,ve,Se){this.group.removeAll(),this._data=null},incrementalRender:function(G,ve,Se,ge,Pe){var Ge=ve.getData(),pt=k(ve,Ge,Se,ge);function Te(Ie){Ie.isGroup||(Ie.incremental=!0,Ie.useHoverLayer=!0)}for(var xe=G.start;xe<G.end;xe++){var lt=j(null,xe,pt(xe,Pe),ve,this.group,Ge);lt.traverse(Te)}},dispose:y.noop,filterForExposedEvent:function(G,ve,Se,ge){var Pe=ve.element;if(Pe==null||Se.name===Pe)return!0;for(;(Se=Se.parent)&&Se!==this.group;)if(Se.name===Pe)return!0;return!1}});function _(G){var ve=G.type,Se;if(ve==="path"){var ge=G.shape,Pe=ge.width!=null&&ge.height!=null?{x:ge.x||0,y:ge.y||0,width:ge.width,height:ge.height}:null,Ge=X(ge);Se=p.makePath(Ge,null,Pe,ge.layout||"center"),Se.__customPathData=Ge}else if(ve==="image")Se=new p.Image({}),Se.__customImagePath=G.style.image;else if(ve==="text")Se=new p.Text({}),Se.__customText=G.style.text;else if(ve==="group")Se=new p.Group;else{if(ve==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var pt=p.getShapeClass(ve);Se=new pt}return Se.__customGraphicType=ve,Se.name=G.name,Se}function N(G,ve,Se,ge,Pe,Ge,pt){var Te={},xe=Se.style||{};if(Se.shape&&(Te.shape=y.clone(Se.shape)),Se.position&&(Te.position=Se.position.slice()),Se.scale&&(Te.scale=Se.scale.slice()),Se.origin&&(Te.origin=Se.origin.slice()),Se.rotation&&(Te.rotation=Se.rotation),G.type==="image"&&Se.style){var lt=Te.style={};y.each(["x","y","width","height"],function(ee){F(ee,lt,xe,G.style,Ge)})}if(G.type==="text"&&Se.style){var lt=Te.style={};y.each(["x","y"],function(se){F(se,lt,xe,G.style,Ge)}),!xe.hasOwnProperty("textFill")&&xe.fill&&(xe.textFill=xe.fill),!xe.hasOwnProperty("textStroke")&&xe.stroke&&(xe.textStroke=xe.stroke)}if(G.type!=="group"&&(G.useStyle(xe),Ge)){G.style.opacity=0;var Ie=xe.opacity;Ie==null&&(Ie=1),p.initProps(G,{style:{opacity:Ie}},ge,ve)}Ge?G.attr(Te):p.updateProps(G,Te,ge,ve),Se.hasOwnProperty("z2")&&G.attr("z2",Se.z2||0),Se.hasOwnProperty("silent")&&G.attr("silent",Se.silent),Se.hasOwnProperty("invisible")&&G.attr("invisible",Se.invisible),Se.hasOwnProperty("ignore")&&G.attr("ignore",Se.ignore),Se.hasOwnProperty("info")&&G.attr("info",Se.info);var de=Se.styleEmphasis;p.setElementHoverStyle(G,de),pt&&p.setAsHighDownDispatcher(G,de!==!1)}function F(G,ve,Se,ge,Pe){Se[G]!=null&&!Pe&&(ve[G]=Se[G],Se[G]=ge[G])}function k(G,ve,Se,ge){var Pe=G.get("renderItem"),Ge=G.coordinateSystem,pt={};Ge&&(pt=Ge.prepareCustoms?Ge.prepareCustoms():C[Ge.type](Ge));var Te=y.defaults({getWidth:ge.getWidth,getHeight:ge.getHeight,getZr:ge.getZr,getDevicePixelRatio:ge.getDevicePixelRatio,value:ze,style:_e,styleEmphasis:ae,visual:me,barLayout:Oe,currentSeriesIndices:Ze,font:vt},pt.api||{}),xe={context:{},seriesId:G.id,seriesName:G.name,seriesIndex:G.seriesIndex,coordSys:pt.coordSys,dataInsideLength:ve.count(),encode:P(G.getData())},lt,Ie=!0,de,ee,se,ke;return function(Ct,Be){return lt=Ct,Ie=!0,Pe&&Pe(y.defaults({dataIndexInside:Ct,dataIndex:ve.getRawIndex(Ct),actionType:Be?Be.type:null},xe),Te)};function Ce(Ct){Ct==null&&(Ct=lt),Ie&&(de=ve.getItemModel(Ct),ee=de.getModel(T),se=de.getModel(O),ke=ve.getItemVisual(Ct,"color"),Ie=!1)}function ze(Ct,Be){return Be==null&&(Be=lt),ve.get(ve.getDimension(Ct||0),Be)}function _e(Ct,Be){Be==null&&(Be=lt),Ce(Be);var Rt=de.getModel(A).getItemStyle();ke!=null&&(Rt.fill=ke);var He=ve.getItemVisual(Be,"opacity");He!=null&&(Rt.opacity=He);var wt=Ct?W(Ct,ee):ee;return p.setTextStyle(Rt,wt,null,{autoColor:ke,isRectText:!0}),Rt.text=wt.getShallow("show")?y.retrieve2(G.getFormattedLabel(Be,"normal"),h(ve,Be)):null,Ct&&V(Rt,Ct),Rt}function ae(Ct,Be){Be==null&&(Be=lt),Ce(Be);var Rt=de.getModel(S).getItemStyle(),He=Ct?W(Ct,se):se;return p.setTextStyle(Rt,He,null,{isRectText:!0},!0),Rt.text=He.getShallow("show")?y.retrieve3(G.getFormattedLabel(Be,"emphasis"),G.getFormattedLabel(Be,"normal"),h(ve,Be)):null,Ct&&V(Rt,Ct),Rt}function me(Ct,Be){return Be==null&&(Be=lt),ve.getItemVisual(Be,Ct)}function Oe(Ct){if(Ge.getBaseAxis){var Be=Ge.getBaseAxis();return i(y.defaults({axis:Be},Ct),ge)}}function Ze(){return Se.getCurrentSeriesIndices()}function vt(Ct){return p.getFont(Ct,Se)}}function P(G){var ve={};return y.each(G.dimensions,function(Se,ge){var Pe=G.getDimensionInfo(Se);if(!Pe.isExtraCoord){var Ge=Pe.coordDim,pt=ve[Ge]=ve[Ge]||[];pt[Pe.coordDimIndex]=ge}}),ve}function j(G,ve,Se,ge,Pe,Ge){return G=K(G,ve,Se,ge,Pe,Ge,!0),G&&Ge.setItemGraphicEl(ve,G),G}function K(G,ve,Se,ge,Pe,Ge,pt){var Te=!Se;Se=Se||{};var xe=Se.type,lt=Se.shape,Ie=Se.style;if(G&&(Te||xe!=null&&xe!==G.__customGraphicType||xe==="path"&&q(lt)&&X(lt)!==G.__customPathData||xe==="image"&&fe(Ie,"image")&&Ie.image!==G.__customImagePath||xe==="text"&&fe(lt,"text")&&Ie.text!==G.__customText)&&(Pe.remove(G),G=null),Te)return;var de=!G;return!G&&(G=_(Se)),N(G,ve,Se,ge,Ge,de,pt),xe==="group"&&R(G,ve,Se,ge,Ge),Pe.add(G),G}function R(G,ve,Se,ge,Pe){var Ge=Se.children,pt=Ge?Ge.length:0,Te=Se.$mergeChildren,xe=Te==="byName"||Se.diffChildrenByName,lt=Te===!1;if(!pt&&!xe&&!lt)return;if(xe){B({oldChildren:G.children()||[],newChildren:Ge||[],dataIndex:ve,animatableModel:ge,group:G,data:Pe});return}lt&&G.removeAll();for(var Ie=0;Ie<pt;Ie++)Ge[Ie]&&K(G.childAt(Ie),ve,Ge[Ie],ge,G,Pe)}function B(G){new r(G.oldChildren,G.newChildren,U,U,G).add(H).update(H).remove(z).execute()}function U(G,ve){var Se=G&&G.name;return Se!=null?Se:x+ve}function H(G,ve){var Se=this.context,ge=G!=null?Se.newChildren[G]:null,Pe=ve!=null?Se.oldChildren[ve]:null;K(Pe,Se.dataIndex,ge,Se.animatableModel,Se.group,Se.data)}function W(G,ve){var Se=new c({},ve);return y.each(E,function(ge,Pe){G.hasOwnProperty(ge)&&(Se.option[Pe]=G[ge])}),Se}function V(G,ve){for(var Se in ve)(ve.hasOwnProperty(Se)||!E.hasOwnProperty(Se))&&(G[Se]=ve[Se])}function z(G){var ve=this.context,Se=ve.oldChildren[G];Se&&ve.group.remove(Se)}function X(G){return G&&(G.pathData||G.d)}function q(G){return G&&(G.hasOwnProperty("pathData")||G.hasOwnProperty("d"))}function fe(G,ve){return G&&G.hasOwnProperty(ve)}},"4HMb":function(D,I,e){var g=e("bYtY"),f=e("6GrX"),y=e("4NO4"),p=y.makeInner,v=e("aX7z"),h=v.makeLabelFormatter,u=v.getOptionCategoryInterval,o=v.shouldShowAllLabels,i=p();function r(T){return T.type==="category"?c(T):t(T)}function a(T,O){return T.type==="category"?l(T,O):{ticks:T.scale.getTicks()}}function c(T){var O=T.getLabelModel(),x=n(T,O);return!O.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function n(T,O){var x=s(T,"labels"),C=u(O),_=d(x,C);if(_)return _;var N,F;return g.isFunction(C)?N=S(T,C):(F=C==="auto"?w(T):C,N=A(T,F)),m(x,C,{labels:N,labelCategoryInterval:F})}function l(T,O){var x=s(T,"ticks"),C=u(O),_=d(x,C);if(_)return _;var N,F;if((!O.get("show")||T.scale.isBlank())&&(N=[]),g.isFunction(C))N=S(T,C,!0);else if(C==="auto"){var k=n(T,T.getLabelModel());F=k.labelCategoryInterval,N=g.map(k.labels,function(P){return P.tickValue})}else F=C,N=A(T,F,!0);return m(x,C,{ticks:N,tickCategoryInterval:F})}function t(T){var O=T.scale.getTicks(),x=h(T);return{labels:g.map(O,function(C,_){return{formattedLabel:x(C,_),rawLabel:T.scale.getLabel(C),tickValue:C}})}}function s(T,O){return i(T)[O]||(i(T)[O]=[])}function d(T,O){for(var x=0;x<T.length;x++)if(T[x].key===O)return T[x].value}function m(T,O,x){return T.push({key:O,value:x}),x}function w(T){var O=i(T).autoInterval;return O!=null?O:i(T).autoInterval=T.calculateCategoryInterval()}function b(T){var O=E(T),x=h(T),C=(O.axisRotate-O.labelRotate)/180*Math.PI,_=T.scale,N=_.getExtent(),F=_.count();if(N[1]-N[0]<1)return 0;var k=1;F>40&&(k=Math.max(1,Math.floor(F/40)));for(var P=N[0],j=T.dataToCoord(P+1)-T.dataToCoord(P),K=Math.abs(j*Math.cos(C)),R=Math.abs(j*Math.sin(C)),B=0,U=0;P<=N[1];P+=k){var H=0,W=0,V=f.getBoundingRect(x(P),O.font,"center","top");H=V.width*1.3,W=V.height*1.3,B=Math.max(B,H,7),U=Math.max(U,W,7)}var z=B/K,X=U/R;isNaN(z)&&(z=Infinity),isNaN(X)&&(X=Infinity);var q=Math.max(0,Math.floor(Math.min(z,X))),fe=i(T.model),G=T.getExtent(),ve=fe.lastAutoInterval,Se=fe.lastTickCount;return ve!=null&&Se!=null&&Math.abs(ve-q)<=1&&Math.abs(Se-F)<=1&&ve>q&&fe.axisExtend0===G[0]&&fe.axisExtend1===G[1]?q=ve:(fe.lastTickCount=F,fe.lastAutoInterval=q,fe.axisExtend0=G[0],fe.axisExtend1=G[1]),q}function E(T){var O=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:O.get("rotate")||0,font:O.getFont()}}function A(T,O,x){var C=h(T),_=T.scale,N=_.getExtent(),F=T.getLabelModel(),k=[],P=Math.max((O||0)+1,1),j=N[0],K=_.count();j!==0&&P>1&&K/P>2&&(j=Math.round(Math.ceil(j/P)*P));var R=o(T),B=F.get("showMinLabel")||R,U=F.get("showMaxLabel")||R;B&&j!==N[0]&&W(N[0]);for(var H=j;H<=N[1];H+=P)W(H);U&&H-P!==N[1]&&W(N[1]);function W(V){k.push(x?V:{formattedLabel:C(V),rawLabel:_.getLabel(V),tickValue:V})}return k}function S(T,O,x){var C=T.scale,_=h(T),N=[];return g.each(C.getTicks(),function(F){var k=C.getLabel(F);O(F,k)&&N.push(x?F:{formattedLabel:_(F),rawLabel:k,tickValue:F})}),N}I.createAxisLabels=r,I.createAxisTicks=a,I.calculateCategoryInterval=b},"4NO4":function(D,I,e){var g=e("bYtY"),f=e("ItGF"),y=g.each,p=g.isObject,v=g.isArray,h="series\0";function u(x){return x instanceof Array?x:x==null?[]:[x]}function o(x,C,_){if(x){x[C]=x[C]||{},x.emphasis=x.emphasis||{},x.emphasis[C]=x.emphasis[C]||{};for(var N=0,F=_.length;N<F;N++){var k=_[N];!x.emphasis[C].hasOwnProperty(k)&&x[C].hasOwnProperty(k)&&(x.emphasis[C][k]=x[C][k])}}}var i=["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 r(x){return p(x)&&!v(x)&&!(x instanceof Date)?x.value:x}function a(x){return p(x)&&!(x instanceof Array)}function c(x,C){C=(C||[]).slice();var _=g.map(x||[],function(N,F){return{exist:N}});return y(C,function(N,F){if(!p(N))return;for(var k=0;k<_.length;k++)if(!_[k].option&&N.id!=null&&_[k].exist.id===N.id+""){_[k].option=N,C[F]=null;return}for(var k=0;k<_.length;k++){var P=_[k].exist;if(!_[k].option&&(P.id==null||N.id==null)&&N.name!=null&&!t(N)&&!t(P)&&P.name===N.name+""){_[k].option=N,C[F]=null;return}}}),y(C,function(N,F){if(!p(N))return;for(var k=0;k<_.length;k++){var P=_[k].exist;if(!_[k].option&&!t(P)&&N.id==null){_[k].option=N;break}}k>=_.length&&_.push({option:N})}),_}function n(x){var C=g.createHashMap();y(x,function(_,N){var F=_.exist;F&&C.set(F.id,_)}),y(x,function(_,N){var F=_.option;g.assert(!F||F.id==null||!C.get(F.id)||C.get(F.id)===_,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&C.set(F.id,_),!_.keyInfo&&(_.keyInfo={})}),y(x,function(_,N){var F=_.exist,k=_.option,P=_.keyInfo;if(!p(k))return;if(P.name=k.name!=null?k.name+"":F?F.name:h+N,F)P.id=F.id;else if(k.id!=null)P.id=k.id+"";else{var j=0;do P.id="\0"+P.name+"\0"+j++;while(C.get(P.id))}C.set(P.id,_)})}function l(x){var C=x.name;return!!(C&&C.indexOf(h))}function t(x){return p(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,C){var _={},N={};return F(x||[],_),F(C||[],N,_),[k(_),k(N)];function F(P,j,K){for(var R=0,B=P.length;R<B;R++)for(var U=P[R].seriesId,H=u(P[R].dataIndex),W=K&&K[U],V=0,z=H.length;V<z;V++){var X=H[V];W&&W[X]?W[X]=null:(j[U]||(j[U]={}))[X]=1}}function k(P,j){var K=[];for(var R in P)if(P.hasOwnProperty(R)&&P[R]!=null)if(j)K.push(+R);else{var B=k(P[R],!0);B.length&&K.push({seriesId:R,dataIndex:B})}return K}}function d(x,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return g.isArray(C.dataIndex)?g.map(C.dataIndex,function(_){return x.indexOfRawIndex(_)}):x.indexOfRawIndex(C.dataIndex);if(C.name!=null)return g.isArray(C.name)?g.map(C.name,function(_){return x.indexOfName(_)}):x.indexOfName(C.name)}function m(){var x="__\0ec_inner_"+w+++"_"+Math.random().toFixed(5);return function(C){return C[x]||(C[x]={})}}var w=0;function b(x,C,_){if(g.isString(C)){var N={};N[C+"Index"]=0,C=N}var F=_&&_.defaultMainType;F&&!E(C,F+"Index")&&!E(C,F+"Id")&&!E(C,F+"Name")&&(C[F+"Index"]=0);var k={};return y(C,function(P,j){var P=C[j];if(j==="dataIndex"||j==="dataIndexInside"){k[j]=P;return}var K=j.match(/^(\w+)(Index|Id|Name)$/)||[],R=K[1],B=(K[2]||"").toLowerCase();if(!R||!B||P==null||B==="index"&&P==="none"||_&&_.includeMainTypes&&g.indexOf(_.includeMainTypes,R)<0)return;var U={mainType:R};(B!=="index"||P!=="all")&&(U[B]=P);var H=x.queryComponents(U);k[R+"Models"]=H,k[R+"Model"]=H[0]}),k}function E(x,C){return x&&x.hasOwnProperty(C)}function A(x,C,_){x.setAttribute?x.setAttribute(C,_):x[C]=_}function S(x,C){return x.getAttribute?x.getAttribute(C):x[C]}function T(x){return x==="auto"?f.domSupported?"html":"richText":x||"html"}function O(x,C){var _=g.createHashMap(),N=[];return g.each(x,function(F){var k=C(F);(_.get(k)||(N.push(k),_.set(k,[]))).push(F)}),{keys:N,buckets:_}}I.normalizeToArray=u,I.defaultEmphasis=o,I.TEXT_STYLE_OPTIONS=i,I.getDataItemValue=r,I.isDataItemOption=a,I.mappingToExists=c,I.makeIdAndName=n,I.isNameSpecified=l,I.isIdInner=t,I.compressBatches=s,I.queryDataIndex=d,I.makeInner=m,I.parseFinder=b,I.setAttribute=A,I.getAttribute=S,I.getTooltipRenderMode=T,I.groupData=O},"4NgU":function(D,I,e){var g=e("Yl7c");function f(p){this._setting=p||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}f.prototype.parse=function(p){return p},f.prototype.getSetting=function(p){return this._setting[p]},f.prototype.contain=function(p){var v=this._extent;return p>=v[0]&&p<=v[1]},f.prototype.normalize=function(p){var v=this._extent;return v[1]===v[0]?.5:(p-v[0])/(v[1]-v[0])},f.prototype.scale=function(p){var v=this._extent;return p*(v[1]-v[0])+v[0]},f.prototype.unionExtent=function(p){var v=this._extent;p[0]<v[0]&&(v[0]=p[0]),p[1]>v[1]&&(v[1]=p[1])},f.prototype.unionExtentFromData=function(p,v){this.unionExtent(p.getApproximateExtent(v))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(p,v){var h=this._extent;isNaN(p)||(h[0]=p),isNaN(v)||(h[1]=v)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(p){this._isBlank=p},f.prototype.getLabel=null,g.enableClassExtend(f),g.enableClassManagement(f,{registerWhenExtend:!0});var y=f;D.exports=y},"4fz+":function(D,I,e){var g=e("bYtY"),f=e("1bdT"),y=e("mFDi"),p=function(u){u=u||{},f.call(this,u);for(var o in u)u.hasOwnProperty(o)&&(this[o]=u[o]);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(u){return this._children[u]},childOfName:function(u){for(var o=this._children,i=0;i<o.length;i++)if(o[i].name===u)return o[i]},childCount:function(){return this._children.length},add:function(u){return u&&u!==this&&u.parent!==this&&(this._children.push(u),this._doAdd(u)),this},addBefore:function(u,o){if(u&&u!==this&&u.parent!==this&&o&&o.parent===this){var i=this._children,r=i.indexOf(o);r>=0&&(i.splice(r,0,u),this._doAdd(u))}return this},_doAdd:function(u){u.parent&&u.parent.remove(u),u.parent=this;var o=this.__storage,i=this.__zr;o&&o!==u.__storage&&(o.addToStorage(u),u instanceof p&&u.addChildrenToStorage(o)),i&&i.refresh()},remove:function(u){var o=this.__zr,i=this.__storage,r=this._children,a=g.indexOf(r,u);return a<0?this:(r.splice(a,1),u.parent=null,i&&(i.delFromStorage(u),u instanceof p&&u.delChildrenFromStorage(i)),o&&o.refresh(),this)},removeAll:function(){var u=this._children,o=this.__storage,i,r;for(r=0;r<u.length;r++)i=u[r],o&&(o.delFromStorage(i),i instanceof p&&i.delChildrenFromStorage(o)),i.parent=null;return u.length=0,this},eachChild:function(u,o){for(var i=this._children,r=0;r<i.length;r++){var a=i[r];u.call(o,a,r)}return this},traverse:function(u,o){for(var i=0;i<this._children.length;i++){var r=this._children[i];u.call(o,r),r.type==="group"&&r.traverse(u,o)}return this},addChildrenToStorage:function(u){for(var o=0;o<this._children.length;o++){var i=this._children[o];u.addToStorage(i),i instanceof p&&i.addChildrenToStorage(u)}},delChildrenFromStorage:function(u){for(var o=0;o<this._children.length;o++){var i=this._children[o];u.delFromStorage(i),i instanceof p&&i.delChildrenFromStorage(u)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(u){for(var o=null,i=new y(0,0,0,0),r=u||this._children,a=[],c=0;c<r.length;c++){var n=r[c];if(n.ignore||n.invisible)continue;var l=n.getBoundingRect(),t=n.getLocalTransform(a);t?(i.copy(l),i.applyTransform(t),o=o||i.clone(),o.union(i)):(o=o||l.clone(),o.union(l))}return o||i}},g.inherits(p,f);var v=p;D.exports=v},"4i/N":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CloseOutlined";var h=I.a=g.forwardRef(v)},"4kuk":function(D,I,e){var g=e("SfRM"),f=e("Hvzi"),y=e("u8Dt"),p=e("ekgI"),v=e("JSQU");function h(u){var o=-1,i=u==null?0:u.length;for(this.clear();++o<i;){var r=u[o];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=p,h.prototype.set=v,D.exports=h},"4mN7":function(D,I,e){var g=e("QBsz"),f=e("Sj9i"),y=Math.min,p=Math.max,v=Math.sin,h=Math.cos,u=Math.PI*2,o=g.create(),i=g.create(),r=g.create();function a(m,w,b){if(m.length===0)return;var E=m[0],A=E[0],S=E[0],T=E[1],O=E[1],x;for(x=1;x<m.length;x++)E=m[x],A=y(A,E[0]),S=p(S,E[0]),T=y(T,E[1]),O=p(O,E[1]);w[0]=A,w[1]=T,b[0]=S,b[1]=O}function c(m,w,b,E,A,S){A[0]=y(m,b),A[1]=y(w,E),S[0]=p(m,b),S[1]=p(w,E)}var n=[],l=[];function t(m,w,b,E,A,S,T,O,x,C){var _=f.cubicExtrema,N=f.cubicAt,F,k=_(m,b,A,T,n);for(x[0]=Infinity,x[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,F=0;F<k;F++){var P=N(m,b,A,T,n[F]);x[0]=y(P,x[0]),C[0]=p(P,C[0])}for(k=_(w,E,S,O,l),F=0;F<k;F++){var j=N(w,E,S,O,l[F]);x[1]=y(j,x[1]),C[1]=p(j,C[1])}x[0]=y(m,x[0]),C[0]=p(m,C[0]),x[0]=y(T,x[0]),C[0]=p(T,C[0]),x[1]=y(w,x[1]),C[1]=p(w,C[1]),x[1]=y(O,x[1]),C[1]=p(O,C[1])}function s(m,w,b,E,A,S,T,O){var x=f.quadraticExtremum,C=f.quadraticAt,_=p(y(x(m,b,A),1),0),N=p(y(x(w,E,S),1),0),F=C(m,b,A,_),k=C(w,E,S,N);T[0]=y(m,A,F),T[1]=y(w,S,k),O[0]=p(m,A,F),O[1]=p(w,S,k)}function d(m,w,b,E,A,S,T,O,x){var C=g.min,_=g.max,N=Math.abs(A-S);if(N%u<1e-4&&N>1e-4){O[0]=m-b,O[1]=w-E,x[0]=m+b,x[1]=w+E;return}if(o[0]=h(A)*b+m,o[1]=v(A)*E+w,i[0]=h(S)*b+m,i[1]=v(S)*E+w,C(O,o,i),_(x,o,i),A=A%u,A<0&&(A=A+u),S=S%u,S<0&&(S=S+u),A>S&&!T?S+=u:A<S&&T&&(A+=u),T){var F=S;S=A,A=F}for(var k=0;k<S;k+=Math.PI/2)k>A&&(r[0]=h(k)*b+m,r[1]=v(k)*E+w,C(O,r,O),_(x,r,x))}I.fromPoints=a,I.fromLine=c,I.fromCubic=t,I.fromQuadratic=s,I.fromArc=d},"4vCz":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("X2/X")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="PlusSquareOutlined";var u=y.forwardRef(h);I.default=u},"4xFK":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"56rv":function(D,I,e){var g=e("IwbS"),f=e("x3X8"),y=f.getDefaultLabel;function p(h,u,o,i,r,a,c){var n=o.getModel("label"),l=o.getModel("emphasis.label");g.setLabelStyle(h,u,n,l,{labelFetcher:r,labelDataIndex:a,defaultText:y(r.getData(),a),isRectText:!0,autoColor:i}),v(h),v(u)}function v(h,u){h.textPosition==="outside"&&(h.textPosition=u)}I.setLabel=p},"59Ip":function(D,I,e){var g=e("Sj9i");function f(y,p,v,h,u,o,i,r,a,c,n){if(a===0)return!1;var l=a;if(n>p+l&&n>h+l&&n>o+l&&n>r+l||n<p-l&&n<h-l&&n<o-l&&n<r-l||c>y+l&&c>v+l&&c>u+l&&c>i+l||c<y-l&&c<v-l&&c<u-l&&c<i-l)return!1;var t=g.cubicProjectPoint(y,p,v,h,u,o,i,r,c,n,null);return t<=l/2}I.containStroke=f},"5Dmo":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("5YgA"),p=e.n(y)},"5GOC":function(D,I,e){"use strict";var g=e("cIOH"),f=e("b56q"),y=e("15/o")},"5GhG":function(D,I,e){var g=e("5GtS"),f=e("bYtY"),y=e("L0Ub"),p=y.getDimensionTypeByAxis,v=e("D5nY"),h=v.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(o,i){var r,a=i.getComponent("xAxis",this.get("xAxisIndex")),c=i.getComponent("yAxis",this.get("yAxisIndex")),n=a.get("type"),l=c.get("type"),t;n==="category"?(o.layout="horizontal",r=a.getOrdinalMeta(),t=!0):l==="category"?(o.layout="vertical",r=c.getOrdinalMeta(),t=!0):o.layout=o.layout||"horizontal";var s=["x","y"],d=o.layout==="horizontal"?0:1,m=this._baseAxisDim=s[d],w=s[1-d],b=[a,c],E=b[d].get("type"),A=b[1-d].get("type"),S=o.data;if(S&&t){var T=[];f.each(S,function(C,_){var N;C.value&&f.isArray(C.value)?(N=C.value.slice(),C.value.unshift(_)):f.isArray(C)?(N=C.slice(),C.unshift(_)):N=C,T.push(N)}),o.data=T}var O=this.defaultValueDimensions,x=[{name:m,type:p(E),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:w,type:p(A),dimsDef:O.slice()}];return g(this,{coordDimensions:x,dimensionsCount:O.length+1,encodeDefaulter:f.curry(h,x,this)})},getBaseAxis:function(){var o=this._baseAxisDim;return this.ecModel.getComponent(o+"Axis",this.get(o+"AxisIndex")).axis}};I.seriesModelMixin=u},"5GtS":function(D,I,e){var g=e("sdST"),f=e("YXkt"),y=e("bYtY"),p=y.extend,v=y.isArray;function h(u,o,i){o=v(o)&&{coordDimensions:o}||p({},o);var r=u.getSource(),a=g(r,o),c=new f(a,u);return c.initData(r,i),c}D.exports=h},"5Hur":function(D,I,e){var g=e("4NO4"),f=g.makeInner,y=g.normalizeToArray,p=f();function v(u,o){for(var i=u.length,r=0;r<i;r++)if(u[r].length>o)return u[r];return u[i-1]}var h={clearColorPalette:function(){p(this).colorIdx=0,p(this).colorNameMap={}},getColorFromPalette:function(u,o,i){o=o||this;var r=p(o),a=r.colorIdx||0,c=r.colorNameMap=r.colorNameMap||{};if(c.hasOwnProperty(u))return c[u];var n=y(this.get("color",!0)),l=this.get("colorLayer",!0),t=i==null||!l?n:v(l,i);if(t=t||n,!t||!t.length)return;var s=t[a];return u&&(c[u]=s),r.colorIdx=(a+1)%t.length,s}};D.exports=h},"5NDa":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OnYD"),p=e.n(y),v=e("+L6B")},"5NHt":function(D,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(D,I,e){"use strict";var g=e("J4zp"),f=e.n(g),y=e("q1tI"),p=e.n(y),v=e("ACnJ");function h(){var u=Object(y.useState)({}),o=f()(u,2),i=o[0],r=o[1];return Object(y.useEffect)(function(){var a=v.a.subscribe(function(c){r(c)});return function(){return v.a.unsubscribe(a)}},[]),i}I.a=h},"5RHE":function(D,I,e){(function(g){var f,y,y;!function(p){!(f=p,y=typeof f=="function"?f.call(I,e,I,D):f,y!==void 0&&(D.exports=y))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 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
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function p(Ae){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe})(Ae)}!function(Ae){if(p(Ae.console)!=="object"){Ae.console={};for(var pe,he,le=Ae.console,Ne=function(){},je=["memory"],Ke="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");pe=je.pop();)le[pe]||(le[pe]={});for(;he=Ke.pop();)le[he]||(le[he]=Ne)}var Xe,Fe,nt,At,_t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ae.btoa===void 0&&(Ae.btoa=function(ne){var ue,Y,te,be,Le,Re=0,$e=0,gt="",Wt=[];if(!ne)return ne;for(;ue=(Le=ne.charCodeAt(Re++)<<16|ne.charCodeAt(Re++)<<8|ne.charCodeAt(Re++))>>18&63,Y=Le>>12&63,te=Le>>6&63,be=63&Le,Wt[$e++]=_t.charAt(ue)+_t.charAt(Y)+_t.charAt(te)+_t.charAt(be),Re<ne.length;);gt=Wt.join("");var $t=ne.length%3;return($t?gt.slice(0,$t-3):gt)+"===".slice($t||3)}),Ae.atob===void 0&&(Ae.atob=function(ne){var ue,Y,te,be,Le,Re,$e=0,gt=0,Wt=[];if(!ne)return ne;for(ne+="";ue=(Re=_t.indexOf(ne.charAt($e++))<<18|_t.indexOf(ne.charAt($e++))<<12|(be=_t.indexOf(ne.charAt($e++)))<<6|(Le=_t.indexOf(ne.charAt($e++))))>>16&255,Y=Re>>8&255,te=255&Re,Wt[gt++]=be==64?String.fromCharCode(ue):Le==64?String.fromCharCode(ue,Y):String.fromCharCode(ue,Y,te),$e<ne.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(ne){if(this==null||typeof ne!="function")throw new TypeError;for(var ue=Object(this),Y=ue.length>>>0,te=new Array(Y),be=1<arguments.length?arguments[1]:void 0,Le=0;Le<Y;Le++)Le in ue&&(te[Le]=ne.call(be,ue[Le],Le,ue));return te}),Array.isArray||(Array.isArray=function(ne){return Object.prototype.toString.call(ne)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ne,ue){if(this==null||typeof ne!="function")throw new TypeError;for(var Y=Object(this),te=Y.length>>>0,be=0;be<te;be++)be in Y&&ne.call(ue,Y[be],be,Y)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(ue){if(this==null)throw new TypeError('"this" is null or not defined');var Y=Object(this),te=Y.length>>>0;if(typeof ue!="function")throw new TypeError("predicate must be a function");for(var be=arguments[1],Le=0;Le<te;){var Re=Y[Le];if(ue.call(be,Re,Le,Y))return Re;Le++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Xe=Object.prototype.hasOwnProperty,Fe=!{toString:null}.propertyIsEnumerable("toString"),At=(nt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ne){if(p(ne)!=="object"&&(typeof ne!="function"||ne===null))throw new TypeError;var ue,Y,te=[];for(ue in ne)Xe.call(ne,ue)&&te.push(ue);if(Fe)for(Y=0;Y<At;Y++)Xe.call(ne,nt[Y])&&te.push(nt[Y]);return te})),typeof Object.assign!="function"&&(Object.assign=function(ne){if(ne==null)throw new TypeError("Cannot convert undefined or null to object");ne=Object(ne);for(var ue=1;ue<arguments.length;ue++){var Y=arguments[ue];if(Y!=null)for(var te in Y)Object.prototype.hasOwnProperty.call(Y,te)&&(ne[te]=Y[te])}return ne}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ne){return typeof ne=="number"&&isFinite(ne)&&Math.floor(ne)===ne}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,h,u,o,i,r,a,c,n,l,t,s,d,m,w,b,E,A,S,T,O,x,C,_,N,F,k,P,j,K,R,B,U,H,W,V,z,X,q,fe,G,ve,Se,ge,Pe,Ge,pt,Te,xe,lt,Ie,de,ee,se,ke,Ce,ze,_e,ae,me,Oe,Ze,vt=function(Ae){function pe(le){if(p(le)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Ne={};this.subscribe=function(je,Ke,Xe){if(Xe=Xe||!1,typeof je!="string"||typeof Ke!="function"||typeof Xe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Ne.hasOwnProperty(je)||(Ne[je]={});var Fe=Math.random().toString(35);return Ne[je][Fe]=[Ke,!!Xe],Fe},this.unsubscribe=function(je){for(var Ke in Ne)if(Ne[Ke][je])return delete Ne[Ke][je],Object.keys(Ne[Ke]).length===0&&delete Ne[Ke],!0;return!1},this.publish=function(je){if(Ne.hasOwnProperty(je)){var Ke=Array.prototype.slice.call(arguments,1),Xe=[];for(var Fe in Ne[je]){var nt=Ne[je][Fe];try{nt[0].apply(le,Ke)}catch(At){Ae.console&&console.error("jsPDF PubSub Error",At.message,At)}nt[1]&&Xe.push(Fe)}Xe.length&&Xe.forEach(this.unsubscribe)}},this.getTopics=function(){return Ne}}function he(le,Ne,je,Ke){var Xe={},Fe=[],nt=1;p(le)==="object"&&(le=(Xe=le).orientation,Ne=Xe.unit||Ne,je=Xe.format||je,Ke=Xe.compress||Xe.compressPdf||Ke,Fe=Xe.filters||(Ke===!0?["FlateEncode"]:Fe),nt=typeof Xe.userUnit=="number"?Math.abs(Xe.userUnit):1),Ne=Ne||"mm",le=(""+(le||"P")).toLowerCase();var At=Xe.putOnlyUsedFonts||!0,_t={},ne={internal:{},__private__:{}};ne.__private__.PubSub=pe;var ue="1.3",Y=ne.__private__.getPdfVersion=function(){return ue},te=(ne.__private__.setPdfVersion=function(St){ue=St},{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]}),be=(ne.__private__.getPageFormats=function(){return te},ne.__private__.getPageFormat=function(St){return te[St]});typeof je=="string"&&(je=be(je)),je=je||be("a4");var Le,Re=ne.f2=ne.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return St.toFixed(2)},$e=ne.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return St.toFixed(3)},gt="00000000000000000000000000000000",Wt=ne.__private__.getFileId=function(){return gt},$t=ne.__private__.setFileId=function(St){return St=St||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),gt=St};ne.setFileId=function(St){return $t(St),this},ne.getFileId=function(){return Wt()};var Dt=ne.__private__.convertDateToPDFDate=function(St){var Vt=St.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,Tt(br),"'",Tt(Mr),"'"].join("");return["D:",St.getFullYear(),Tt(St.getMonth()+1),Tt(St.getDate()),Tt(St.getHours()),Tt(St.getMinutes()),Tt(St.getSeconds()),Dr].join("")},Kt=ne.__private__.convertPDFDateToDate=function(St){var Vt=parseInt(St.substr(2,4),10),sr=parseInt(St.substr(6,2),10)-1,br=parseInt(St.substr(8,2),10),Mr=parseInt(St.substr(10,2),10),Dr=parseInt(St.substr(12,2),10),rn=parseInt(St.substr(14,2),10);return parseInt(St.substr(16,2),10),parseInt(St.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Yt=ne.__private__.setCreationDate=function(St){var Vt;if(St===void 0&&(St=new Date),p(St)==="object"&&Object.prototype.toString.call(St)==="[object Date]")Vt=Dt(St);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(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=St}return Le=Vt},Qt=ne.__private__.getCreationDate=function(St){var Vt=Le;return St==="jsDate"&&(Vt=Kt(Le)),Vt};ne.setCreationDate=function(St){return Yt(St),this},ne.getCreationDate=function(St){return Qt(St)};var Mt,dr,er,ot,xt,ut,ft,Lt,Tt=ne.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},ht=!1,Ht=[],Ft=[],ir=0,Xt=(ne.__private__.setCustomOutputDestination=function(St){dr=St},ne.__private__.resetCustomOutputDestination=function(St){dr=void 0},ne.__private__.out=function(St){var Vt;return St=typeof St=="string"?St:St.toString(),(Vt=dr===void 0?ht?Ht[Mt]:Ft:dr).push(St),ht||(ir+=St.length+1),Vt}),mr=ne.__private__.write=function(St){return Xt(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ar=ne.__private__.getArrayBuffer=function(St){for(var Vt=St.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=St.charCodeAt(Vt);return sr},Nr=[["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]],Fr=(ne.__private__.getStandardFonts=function(St){return Nr},Xe.fontSize||16),tn=(ne.__private__.setFontSize=ne.setFontSize=function(St){return Fr=St,this},ne.__private__.getFontSize=ne.getFontSize=function(){return Fr}),qr=Xe.R2L||!1,Or=(ne.__private__.setR2L=ne.setR2L=function(St){return qr=St,this},ne.__private__.getR2L=ne.getR2L=function(St){return qr},ne.__private__.setZoomMode=function(St){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(St))er=St;else if(isNaN(St)){if(Vt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');er=St}else er=parseInt(St,10)}),Qr=(ne.__private__.getZoomMode=function(){return er},ne.__private__.setPageMode=function(St){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(St)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+St+'" is not recognized.');ot=St}),Ir=(ne.__private__.getPageMode=function(){return ot},ne.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');xt=St}),ur=(ne.__private__.getLayoutMode=function(){return xt},ne.__private__.setDisplayMode=ne.setDisplayMode=function(St,Vt,sr){return Or(St),Ir(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ne.__private__.getDocumentProperty=function(St){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ur[St]},ne.__private__.getDocumentProperties=function(St){return ur},ne.__private__.setDocumentProperties=ne.setProperties=ne.setDocumentProperties=function(St){for(var Vt in ur)ur.hasOwnProperty(Vt)&&St[Vt]&&(ur[Vt]=St[Vt]);return this},ne.__private__.setDocumentProperty=function(St,Vt){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ur[St]=Vt},0),cr=[],fr={},xr={},Gr=0,un=[],Nn=[],jr=new pe(ne),Tn=Xe.hotfixes||[],gn=ne.__private__.newObject=function(){var St=Pn();return zn(St,!0),St},Pn=ne.__private__.newObjectDeferred=function(){return cr[++pr]=function(){return ir},pr},zn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,cr[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=ne.__private__.newAdditionalObject=function(){var St={objId:Pn(),content:""};return Nn.push(St),St},Gn=Pn(),Vn=Pn(),An=ne.__private__.decodeColorString=function(St){var Vt=St.split(" ");if(Vt.length===2&&(Vt[1]==="g"||Vt[1]==="G")){var sr=parseFloat(Vt[0]);Vt=[sr,sr,sr,"r"]}for(var br="#",Mr=0;Mr<3;Mr++)br+=("0"+Math.floor(255*parseFloat(Vt[Mr])).toString(16)).slice(-2);return br},on=ne.__private__.encodeColorString=function(St){var Vt;typeof St=="string"&&(St={ch1:St});var sr=St.ch1,br=St.ch2,Mr=St.ch3,Dr=St.ch4,rn=(St.precision,St.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof sr=="string"&&sr.charAt(0)!=="#"){var fn=new RGBColor(sr);if(fn.ok)sr=fn.toHex();else if(!/^\d*\.?\d*$/.test(sr))throw new Error('Invalid color "'+sr+'" passed to jsPDF.encodeColorString.')}if(typeof sr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(sr)&&(sr="#"+sr[1]+sr[1]+sr[2]+sr[2]+sr[3]+sr[3]),typeof sr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(sr)){var wn=parseInt(sr.substr(1),16);sr=wn>>16&255,br=wn>>8&255,Mr=255&wn}if(br===void 0||Dr===void 0&&sr===br&&br===Mr)if(typeof sr=="string")Vt=sr+" "+rn[0];else switch(St.precision){case 2:Vt=Re(sr/255)+" "+rn[0];break;case 3:default:Vt=$e(sr/255)+" "+rn[0]}else if(Dr===void 0||p(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return Vt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof sr=="string")Vt=[sr,br,Mr,rn[1]].join(" ");else switch(St.precision){case 2:Vt=[Re(sr/255),Re(br/255),Re(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(St.precision){case 2:Vt=[Re(sr/255),Re(br/255),Re(Mr/255),Re(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),$e(Dr/255),rn[2]].join(" ")}return Vt},ia=ne.__private__.getFilters=function(){return Fe},xa=ne.__private__.putStream=function(St){var Vt=(St=St||{}).data||"",sr=St.filters||ia(),br=St.alreadyAppliedFilters||[],Mr=St.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=St.additionalKeyValues||[],wn=(rn=he.API.processDataByFilters!==void 0?he.API.processDataByFilters(Vt,sr):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(br)?br.join(" "):br.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Mr===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Xt("<<");for(var Hn=0;Hn<fn.length;Hn++)Xt("/"+fn[Hn].key+" "+fn[Hn].value);Xt(">>"),rn.data.length!==0&&(Xt("stream"),Xt(rn.data),Xt("endstream"))},ta=ne.__private__.putPage=function(St){St.mediaBox;var Vt=St.number,sr=St.data,br=St.objId,Mr=St.contentsObjId;zn(br,!0),un[Mt].mediaBox.topRightX,un[Mt].mediaBox.bottomLeftX,un[Mt].mediaBox.topRightY,un[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+St.rootDictionaryObjId+" 0 R"),Xt("/Resources "+St.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Re(St.mediaBox.bottomLeftX))+" "+parseFloat(Re(St.mediaBox.bottomLeftY))+" "+Re(St.mediaBox.topRightX)+" "+Re(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&Xt("/CropBox ["+Re(St.cropBox.bottomLeftX)+" "+Re(St.cropBox.bottomLeftY)+" "+Re(St.cropBox.topRightX)+" "+Re(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&Xt("/BleedBox ["+Re(St.bleedBox.bottomLeftX)+" "+Re(St.bleedBox.bottomLeftY)+" "+Re(St.bleedBox.topRightX)+" "+Re(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&Xt("/TrimBox ["+Re(St.trimBox.bottomLeftX)+" "+Re(St.trimBox.bottomLeftY)+" "+Re(St.trimBox.topRightX)+" "+Re(St.trimBox.topRightY)+"]"),St.artBox!==null&&Xt("/ArtBox ["+Re(St.artBox.bottomLeftX)+" "+Re(St.artBox.bottomLeftY)+" "+Re(St.artBox.topRightX)+" "+Re(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&Xt("/UserUnit "+St.userUnit),jr.publish("putPage",{objId:br,pageContext:un[Vt],pageNumber:Vt,page:sr}),Xt("/Contents "+Mr+" 0 R"),Xt(">>"),Xt("endobj");var Dr=sr.join(`
|
|
|
`);return zn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},Ii=ne.__private__.putPages=function(){var St,Vt,sr=[];for(St=1;St<=Gr;St++)un[St].objId=Pn(),un[St].contentsObjId=Pn();for(St=1;St<=Gr;St++)sr.push(ta({number:St,data:Ht[St],objId:un[St].objId,contentsObjId:un[St].contentsObjId,mediaBox:un[St].mediaBox,cropBox:un[St].cropBox,bleedBox:un[St].bleedBox,trimBox:un[St].trimBox,artBox:un[St].artBox,userUnit:un[St].userUnit,rootDictionaryObjId:Gn,resourceDictionaryObjId:Vn}));zn(Gn,!0),Xt("<</Type /Pages");var br="/Kids [";for(Vt=0;Vt<Gr;Vt++)br+=sr[Vt]+" 0 R ";Xt(br+"]"),Xt("/Count "+Gr),Xt(">>"),Xt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Vt in fr)fr.hasOwnProperty(Vt)&&(At===!1||At===!0&&_t.hasOwnProperty(Vt))&&(sr=fr[Vt],jr.publish("putFont",{font:sr,out:Xt,newObject:gn,putStream:xa}),sr.isAlreadyPutted!==!0&&(sr.objectNumber=gn(),Xt("<<"),Xt("/Type /Font"),Xt("/BaseFont /"+sr.postScriptName),Xt("/Subtype /Type1"),typeof sr.encoding=="string"&&Xt("/Encoding /"+sr.encoding),Xt("/FirstChar 32"),Xt("/LastChar 255"),Xt(">>"),Xt("endobj")));var sr}(),jr.publish("putResources"),zn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(At===!1||At===!0&&_t.hasOwnProperty(Vt))&&Xt("/"+Vt+" "+fr[Vt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),jr.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),jr.publish("postPutResources")},Yn=function(Vt,sr,br){xr.hasOwnProperty(sr)||(xr[sr]={}),xr[sr][br]=Vt},_a=function(Vt,sr,br,Mr,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),fn={id:rn,postScriptName:Vt,fontName:sr,fontStyle:br,encoding:Mr,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(fr[rn]=fn,Yn(rn,sr,br)),rn},mn=ne.__private__.pdfEscape=ne.pdfEscape=function(St,Vt){return function(sr,br){var Mr,Dr,rn,fn,wn,Hn,Sn,bn,Mn;if(rn=(br=br||{}).sourceEncoding||"Unicode",wn=br.outputEncoding,(br.autoencode||wn)&&fr[ut].metadata&&fr[ut].metadata[rn]&&fr[ut].metadata[rn].encoding&&(fn=fr[ut].metadata[rn].encoding,!wn&&fr[ut].encoding&&(wn=fr[ut].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Mr=0,Dr=sr.length;Mr<Dr;Mr++)(bn=wn[sr.charCodeAt(Mr)])?Hn.push(String.fromCharCode(bn)):Hn.push(sr[Mr]),Hn[Mr].charCodeAt(0)>>8&&(Sn=!0);sr=Hn.join("")}for(Mr=sr.length;Sn===void 0&&Mr!==0;)sr.charCodeAt(Mr-1)>>8&&(Sn=!0),Mr--;if(!Sn)return sr;for(Hn=br.noBOM?[]:[254,255],Mr=0,Dr=sr.length;Mr<Dr;Mr++){if((Mn=(bn=sr.charCodeAt(Mr))>>8)>>8)throw new Error("Character at position "+Mr+" of string '"+sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Mn),Hn.push(bn-(Mn<<8))}return String.fromCharCode.apply(void 0,Hn)}(St,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},_n=ne.__private__.beginPage=function(St,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof St=="string"&&(sr=be(St.toLowerCase()))&&(St=sr[0],Vt=sr[1]),Array.isArray(St)&&(Vt=St[1],St=St[0]),(isNaN(St)||isNaN(Vt))&&(St=je[0],Vt=je[1]),br){switch(br.substr(0,1)){case"l":St<Vt&&(br="s");break;case"p":Vt<St&&(br="s")}br==="s"&&(sr=St,St=Vt,Vt=sr)}(14400<St||14400<Vt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),St=Math.min(14400,St),Vt=Math.min(14400,Vt)),je=[St,Vt],ht=!0,Ht[++Gr]=[],un[Gr]={objId:0,contentsObjId:0,userUnit:Number(nt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St),topRightY:Number(Vt)}},In(Gr)},On=function(){_n.apply(this,arguments),To(eo),Xt(jt),zr!==0&&Xt(zr+" J"),Zr!==0&&Xt(Zr+" j"),jr.publish("addPage",{pageNumber:Gr})},In=function(Vt){0<Vt&&Vt<=Gr&&(Mt=Vt)},jn=ne.__private__.getNumberOfPages=ne.getNumberOfPages=function(){return Ht.length-1},ni=function(Vt,sr,br){var Mr,Dr=void 0;return br=br||{},Vt=Vt!==void 0?Vt:fr[ut].fontName,sr=sr!==void 0?sr:fr[ut].fontStyle,Mr=Vt.toLowerCase(),xr[Mr]!==void 0&&xr[Mr][sr]!==void 0?Dr=xr[Mr][sr]:xr[Vt]!==void 0&&xr[Vt][sr]!==void 0?Dr=xr[Vt][sr]:br.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Vt+"', '"+sr+"'. Refer to getFontList() for available fonts."),Dr||br.noFallback||(Dr=xr.times[sr])==null&&(Dr=xr.times.normal),Dr},di=ne.__private__.putInfo=function(){for(var St in gn(),Xt("<<"),Xt("/Producer (jsPDF "+he.version+")"),ur)ur.hasOwnProperty(St)&&ur[St]&&Xt("/"+St.substr(0,1).toUpperCase()+St.substr(1)+" ("+mn(ur[St])+")");Xt("/CreationDate ("+Le+")"),Xt(">>"),Xt("endobj")},Na=ne.__private__.putCatalog=function(St){var Vt=(St=St||{}).rootDictionaryObjId||Gn;switch(gn(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Vt+" 0 R"),er||(er="fullwidth"),er){case"fullwidth":Xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xt("/OpenAction [3 0 R /Fit]");break;case"original":Xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var sr=""+er;sr.substr(sr.length-1)==="%"&&(er=parseInt(er)/100),typeof er=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Re(er)+"]")}switch(xt||(xt="continuous"),xt){case"continuous":Xt("/PageLayout /OneColumn");break;case"single":Xt("/PageLayout /SinglePage");break;case"two":case"twoleft":Xt("/PageLayout /TwoColumnLeft");break;case"tworight":Xt("/PageLayout /TwoColumnRight")}ot&&Xt("/PageMode /"+ot),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=ne.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+gt+"> <"+gt+"> ]"),Xt(">>")},ma=ne.__private__.putHeader=function(){Xt("%PDF-"+ue),Xt("%\xBA\xDF\xAC\xE0")},Ba=ne.__private__.putXRef=function(){var St=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),St=1;St<=pr;St++)typeof cr[St]=="function"?Xt((Vt+cr[St]()).slice(-10)+" 00000 n "):cr[St]!==void 0?Xt((Vt+cr[St]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=ne.__private__.buildDocument=function(){ht=!1,ir=pr=0,Ft=[],cr=[],Nn=[],Gn=Pn(),Vn=Pn(),jr.publish("buildDocument"),ma(),Ii(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];zn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var St=ir;return Ba(),Qi(),Xt("startxref"),Xt(""+St),Xt("%%EOF"),ht=!0,Ft.join(`
|
|
|
`)},Wi=ne.__private__.getBlob=function(St){return new Blob([Ar(St)],{type:"application/pdf"})},Co=ne.output=ne.__private__.output=((Lt=function(Vt,sr){sr=sr||{};var br=Qa();switch(typeof sr=="string"?sr={filename:sr}:sr.filename=sr.filename||"generated.pdf",Vt){case void 0:return br;case"save":ne.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(Ae.URL!==void 0&&typeof Ae.URL.createObjectURL=="function")return Ae.URL&&Ae.URL.createObjectURL(Wi(br))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);case"dataurlnewwindow":var Mr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=Ae.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return Ae.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return Lt.apply(this,arguments)}catch(sr){var St=sr.stack||"";~St.indexOf(" at ")&&(St=St.split(" at ")[1]);var Vt="Error in function "+St.split(`
|
|
|
`)[0].split("<")[0]+": "+sr.message;if(!Ae.console)throw new Error(Vt);Ae.console.error(Vt,sr),Ae.alert&&alert(Vt)}},(Lt.foo.bar=Lt).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(Ne){case"pt":ft=1;break;case"mm":ft=72/25.4;break;case"cm":ft=72/2.54;break;case"in":ft=72;break;case"px":ft=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":ft=12;break;case"ex":ft=6;break;default:throw new Error("Invalid unit: "+Ne)}Yt(),$t();var Hi=ne.__private__.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:un[St].objId,pageNumber:St,pageContext:un[St]}},ga=ne.__private__.getPageInfoByObjId=function(St){for(var Vt in un)if(un[Vt].objId===St)break;if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=ne.__private__.getCurrentPageInfo=function(){return{objId:un[Mt].objId,pageNumber:Mt,pageContext:un[Mt]}};ne.addPage=function(){return On.apply(this,arguments),this},ne.setPage=function(){return In.apply(this,arguments),this},ne.insertPage=function(St){return this.addPage(),this.movePage(Mt,St),this},ne.movePage=function(St,Vt){if(Vt<St){for(var sr=Ht[St],br=un[St],Mr=St;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],un[Mr]=un[Mr-1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}else if(St<Vt){for(sr=Ht[St],br=un[St],Mr=St;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],un[Mr]=un[Mr+1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}return this},ne.deletePage=function(){return function(St){0<St&&St<=Gr&&(Ht.splice(St,1),--Gr<Mt&&(Mt=Gr),this.setPage(Mt))}.apply(this,arguments),this},ne.__private__.text=ne.text=function(St,Vt,sr,br){var Mr;typeof St!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=St,St=Mr);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(p(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),br={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(Vt)||isNaN(sr)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.length===0)return bn;var wn,Hn="",Sn=typeof br.lineHeightFactor=="number"?br.lineHeightFactor:$i,bn=br.scope||this;function Mn(ra){for(var Gi,Xa=ra.concat(),Ki=[],zi=Xa.length;zi--;)typeof(Gi=Xa.shift())=="string"?Ki.push(Gi):Array.isArray(ra)&&Gi.length===1?Ki.push(Gi[0]):Ki.push([Gi[0],Gi[1],Gi[2]]);return Ki}function vn(ra,Gi){var Xa;if(typeof ra=="string")Xa=Gi(ra)[0];else if(Array.isArray(ra)){for(var Ki,zi,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(Ki=ba.shift())=="string"?Ua.push(Gi(Ki)[0]):Array.isArray(Ki)&&Ki[0]==="string"&&(zi=Gi(Ki[0],Ki[1],Ki[2]),Ua.push([zi[0],zi[1],zi[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof St=="string")Rn=!0;else if(Array.isArray(St)){for(var Ln,Xn=St.concat(),ai=[],ri=Xn.length;ri--;)(typeof(Ln=Xn.shift())!="string"||Array.isArray(Ln)&&typeof Ln[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');var Di=fr[ut].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(St=vn(St,function(ra,Gi,Xa){return[(Ki=ra,Ki=Ki.split(" ").join(Array(br.TabLen||9).join(" ")),mn(Ki,Dr)),Gi,Xa];var Ki})),typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var yi=Fr/bn.internal.scaleFactor,xi=yi*($i-1);switch(br.baseline){case"bottom":sr-=xi;break;case"top":sr+=yi-xi;break;case"hanging":sr+=yi-2*xi;break;case"middle":sr+=yi/2-xi}0<(sa=br.maxWidth||0)&&(typeof St=="string"?St=bn.splitTextToSize(St,sa):Object.prototype.toString.call(St)==="[object Array]"&&(St=bn.splitTextToSize(St.join(" "),sa)));var Oi={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}};jr.publish("preProcessText",Oi),St=Oi.text,rn=(br=Oi.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Re(fa),Re(Ui),Re(-1*Ui),Re(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=$e(oa*Un)+` Tc
|
|
|
`),br.lang;var Mi=-1,mi=br.renderingMode!==void 0?br.renderingMode:br.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Mi=0;break;case 1:case!0:case"stroke":Mi=1;break;case 2:case"fillThenStroke":Mi=2;break;case 3:case"invisible":Mi=3;break;case 4:case"fillAndAddForClipping":Mi=4;break;case 5:case"strokeAndAddPathForClipping":Mi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mi=6;break;case 7:case"addToPathForClipping":Mi=7}var qi=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Mi!==-1?Hn+=Mi+` Tr
|
|
|
`:qi!==-1&&(Hn+=`0 Tr
|
|
|
`),Mi!==-1&&(hi.usedRenderingMode=Mi),fn=br.align||"left";var va=Fr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[ut]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(St)==="[object Array]"){var $n,Ai;ai=Mn(St),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:Fr})*Fr/Un}));var Li,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],St=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(Li=Pr(Vt),Wr(sr)):(Li=(Xi-Ai[bi])*Un,-va),St.push([ai[bi],Li,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,St=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(Li=Pr(Vt),Wr(sr)):(Li=(Xi-Ai[bi])/2*Un,-va),St.push([ai[bi],Li,$n]),Xi=Ai[bi];else if(fn==="left")for(St=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Li=bi===0?Pr(Vt):0,St.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(St=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Li=bi===0?Pr(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),St.push([ai[bi],Li,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(St=vn(St,function(ra,Gi,Xa){return[ra.split("").reverse().join(""),Gi,Xa]})),Oi={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}},jr.publish("postProcessText",Oi),St=Oi.text,wn=Oi.mutex.isHex,ai=Mn(St),St=[];var Aa,ca,la,gi=0,Pa=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Pa="",Array.isArray(ai[bi])?(Aa=parseFloat(ai[bi][1]),ca=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(Aa=Pr(Vt),ca=Wr(sr),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Ni!==void 0&&Ni[bi]!==void 0&&(Pa=Ni[bi]+` Tw
|
|
|
`),Ri.length!==0&&bi===0?St.push(Pa+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ca.toFixed(2)+` Tm
|
|
|
`+la):gi===1||gi===0&&bi===0?St.push(Pa+Aa.toFixed(2)+" "+ca.toFixed(2)+` Td
|
|
|
`+la):St.push(Pa+la);St=gi===0?St.join(` Tj
|
|
|
T* `):St.join(` Tj
|
|
|
`),St+=` Tj
|
|
|
`;var Ma=`BT
|
|
|
/`+ut+" "+Fr+` Tf
|
|
|
`+(Fr*Sn).toFixed(2)+` TL
|
|
|
`+nr+`
|
|
|
`;return Ma+=Hn,Ma+=St,Xt(Ma+="ET"),_t[ut]=!0,bn},ne.__private__.lstext=ne.lstext=function(St,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(St,Vt,sr,{charSpace:br})},ne.__private__.clip=ne.clip=function(St){Xt(St==="evenodd"?"W*":"W"),Xt("n")},ne.__private__.clip_fixed=ne.clip_fixed=function(St){console.log("clip_fixed is deprecated"),ne.clip(St)};var mo=ne.__private__.isValidStyle=function(St){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(St)!==-1&&(Vt=!0),Vt},kn=ne.__private__.getStyle=function(St){var Vt="S";return St==="F"?Vt="f":St==="FD"||St==="DF"?Vt="B":St!=="f"&&St!=="f*"&&St!=="B"&&St!=="B*"||(Vt=St),Vt};ne.__private__.line=ne.line=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-St,br-Vt]],St,Vt)},ne.__private__.lines=ne.lines=function(St,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,Ln,Xn;if(typeof St=="number"&&(Xn=sr,sr=Vt,Vt=St,St=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(St)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt($e(Pr(Vt))+" "+$e(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=St.length,En=Vt,Ln=sr,wn=0;wn<Hn;wn++)(Sn=St[wn]).length===2?(En=Sn[0]*rn+En,Ln=Sn[1]*fn+Ln,Xt($e(Pr(En))+" "+$e(Wr(Ln))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+Ln,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+Ln,En=Sn[4]*rn+En,Ln=Sn[5]*fn+Ln,Xt($e(Pr(bn))+" "+$e(Wr(Mn))+" "+$e(Pr(vn))+" "+$e(Wr(Rn))+" "+$e(Pr(En))+" "+$e(Wr(Ln))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(kn(Mr)),this},ne.__private__.rect=ne.rect=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Re(Pr(St)),Re(Wr(Vt)),Re(sr*ft),Re(-br*ft),"re"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ne.__private__.triangle=ne.triangle=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[sr-St,br-Vt],[Mr-sr,Dr-br],[St-Mr,Vt-Dr]],St,Vt,[1,1],rn,!0),this},ne.__private__.roundedRect=ne.roundedRect=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[sr-2*Mr,0],[Mr*fn,0,Mr,Dr-Dr*fn,Mr,Dr],[0,br-2*Dr],[0,Dr*fn,-Mr*fn,Dr,-Mr,Dr],[2*Mr-sr,0],[-Mr*fn,0,-Mr,-Dr*fn,-Mr,-Dr],[0,2*Dr-br],[0,-Dr*fn,Mr*fn,-Dr,Mr,-Dr]],St+Mr,Vt,[1,1],rn),this},ne.__private__.ellipse=ne.ellipse=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*sr,rn=4/3*(Math.SQRT2-1)*br;return Xt([Re(Pr(St+sr)),Re(Wr(Vt)),"m",Re(Pr(St+sr)),Re(Wr(Vt-rn)),Re(Pr(St+Dr)),Re(Wr(Vt-br)),Re(Pr(St)),Re(Wr(Vt-br)),"c"].join(" ")),Xt([Re(Pr(St-Dr)),Re(Wr(Vt-br)),Re(Pr(St-sr)),Re(Wr(Vt-rn)),Re(Pr(St-sr)),Re(Wr(Vt)),"c"].join(" ")),Xt([Re(Pr(St-sr)),Re(Wr(Vt+rn)),Re(Pr(St-Dr)),Re(Wr(Vt+br)),Re(Pr(St)),Re(Wr(Vt+br)),"c"].join(" ")),Xt([Re(Pr(St+Dr)),Re(Wr(Vt+br)),Re(Pr(St+sr)),Re(Wr(Vt+rn)),Re(Pr(St+sr)),Re(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ne.__private__.circle=ne.circle=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,Vt,sr,sr,br)},ne.setFont=function(St,Vt){return ut=ni(St,Vt,{disableWarning:!1}),this},ne.setFontStyle=ne.setFontType=function(St){return ut=ni(void 0,St),this},ne.__private__.getFontList=ne.getFontList=function(){var St,Vt,sr,br={};for(St in xr)if(xr.hasOwnProperty(St))for(Vt in br[St]=sr=[],xr[St])xr[St].hasOwnProperty(Vt)&&sr.push(Vt);return br},ne.addFont=function(St,Vt,sr,br){_a.call(this,St,Vt,sr,br=br||"Identity-H")};var $i,eo=Xe.lineWidth||.200025,To=ne.__private__.setLineWidth=ne.setLineWidth=function(St){return Xt((St*ft).toFixed(2)+" w"),this},uo=(ne.__private__.setLineDash=he.API.setLineDash=function(St,Vt){if(St=St||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(sr){return(sr*ft).toFixed(3)}).join(" "),Vt=parseFloat((Vt*ft).toFixed(3)),Xt("["+St+"] "+Vt+" d"),this},ne.__private__.getLineHeight=ne.getLineHeight=function(){return Fr*$i}),rr=(uo=ne.__private__.getLineHeight=ne.getLineHeight=function(){return Fr*$i},ne.__private__.setLineHeightFactor=ne.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&($i=St),this}),Tr=ne.__private__.getLineHeightFactor=ne.getLineHeightFactor=function(){return $i};rr(Xe.lineHeight);var Pr=ne.__private__.getHorizontalCoordinate=function(St){return St*ft},Wr=ne.__private__.getVerticalCoordinate=function(St){return un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*ft},hn=ne.__private__.getHorizontalCoordinateString=function(St){return Re(St*ft)},tt=ne.__private__.getVerticalCoordinateString=function(St){return Re(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*ft)},jt=Xe.strokeColor||"0 G",Jt=(ne.__private__.getStrokeColor=ne.getDrawColor=function(){return An(jt)},ne.__private__.setStrokeColor=ne.setDrawColor=function(St,Vt,sr,br){return jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},Xe.fillColor||"0 g"),nr=(ne.__private__.getFillColor=ne.getFillColor=function(){return An(Jt)},ne.__private__.setFillColor=ne.setFillColor=function(St,Vt,sr,br){return Jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Jt),this},Xe.textColor||"0 g"),_r=ne.__private__.getTextColor=ne.getTextColor=function(){return An(nr)},wr=(ne.__private__.setTextColor=ne.setTextColor=function(St,Vt,sr,br){return nr=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},Xe.charSpace||0),Er=ne.__private__.getCharSpace=ne.getCharSpace=function(){return wr},zr=(ne.__private__.setCharSpace=ne.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=St,this},0);ne.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},ne.__private__.setLineCap=ne.setLineCap=function(St){var Vt=ne.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((zr=Vt)+" J"),this};var Jr,Zr=0;ne.__private__.setLineJoin=ne.setLineJoin=function(St){var Vt=ne.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Zr=Vt)+" j"),this},ne.__private__.setMiterLimit=ne.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Jr=parseFloat(Re(St*ft)),Xt(Jr+" M"),this};for(var an in ne.save=function(St,Vt){if(St=St||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Zt(Wi(Qa()),St);typeof Zt.unload=="function"&&Ae.setTimeout&&setTimeout(Zt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Zt(Wi(Qa()),St),typeof Zt.unload=="function"&&Ae.setTimeout&&setTimeout(Zt.unload,911)},he.API)he.API.hasOwnProperty(an)&&(an==="events"&&he.API.events.length?function(St,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],St.subscribe.apply(St,[sr].concat(typeof br=="function"?[br]:br))}(jr,he.API.events):ne[an]=he.API[an]);return ne.internal={pdfEscape:mn,getStyle:kn,getFont:function(){return fr[ni.apply(ne,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:_r,getLineHeight:uo,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Pr,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:tt,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Pn,newObjectDeferredBegin:zn,getFilters:ia,putStream:xa,events:jr,scaleFactor:ft,pageSize:{getWidth:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/ft},setWidth:function(Vt){un[Mt].mediaBox.topRightX=Vt*ft+un[Mt].mediaBox.bottomLeftX},getHeight:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/ft},setHeight:function(Vt){un[Mt].mediaBox.topRightY=Vt*ft+un[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Re,f3:$e,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:Y,hasHotfix:aa},Object.defineProperty(ne.internal.pageSize,"width",{get:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/ft},set:function(Vt){un[Mt].mediaBox.topRightX=Vt*ft+un[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ne.internal.pageSize,"height",{get:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/ft},set:function(Vt){un[Mt].mediaBox.topRightY=Vt*ft+un[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(St){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=_a(St[Vt][0],St[Vt][1],St[Vt][2],Nr[Vt][3],!0);_t[br]=!0;var Mr=St[Vt][0].split("-");Yn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),ut="F1",On(je,le),jr.publish("initialized"),ne}return he.API={events:[]},he.version="1.5.3",!(y=function(){return he}.call(I,e,I,D),y!==void 0&&(D.exports=y)),he}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(Ae,pe){var he,le=1,Ne=function(ur){return ur.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},je=function(ur){return ur.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ke=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(2)},Xe=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(5)};Ae.__acroform__={};var Fe=function(ur,pr){ur.prototype=Object.create(pr.prototype),ur.prototype.constructor=ur},nt=function(ur){return ur*le},At=function(ur){return ur/le},_t=function(ur){var pr=new ft,cr=Or.internal.getHeight(ur)||0,fr=Or.internal.getWidth(ur)||0;return pr.BBox=[0,0,Number(Ke(fr)),Number(Ke(cr))],pr},ne=Ae.__acroform__.setBit=function(Ir,ur){if(Ir=Ir||0,ur=ur||0,isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ir|=1<<ur},ue=Ae.__acroform__.clearBit=function(Ir,ur){if(Ir=Ir||0,ur=ur||0,isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ir&=~(1<<ur)},Y=Ae.__acroform__.getBit=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ir&1<<ur)==0?0:1},te=Ae.__acroform__.getBitForPdf=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Y(Ir,ur-1)},be=Ae.__acroform__.setBitForPdf=function(Ir,ur){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ne(Ir,ur-1)},Le=Ae.__acroform__.clearBitForPdf=function(Ir,ur,pr){if(isNaN(Ir)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ue(Ir,ur-1)},Re=Ae.__acroform__.calculateCoordinates=function(Ir){var ur=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,cr=Ir[0],fr=Ir[1],xr=Ir[2],Gr=Ir[3],un={};return un.lowerLeft_X=ur(cr)||0,un.lowerLeft_Y=pr(fr+Gr)||0,un.upperRight_X=ur(cr+xr)||0,un.upperRight_Y=pr(fr)||0,[Number(Ke(un.lowerLeft_X)),Number(Ke(un.lowerLeft_Y)),Number(Ke(un.upperRight_X)),Number(Ke(un.upperRight_Y))]},$e=function(ur){if(ur.appearanceStreamContent)return ur.appearanceStreamContent;if(ur.V||ur.DV){var pr=[],cr=ur.V||ur.DV,fr=gt(ur,cr),xr=he.internal.getFont(ur.fontName,ur.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(he.__private__.encodeColorString(ur.color)),pr.push("/"+xr+" "+Ke(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Gr=new _t(ur);return Gr.stream=pr.join(`
|
|
|
`),Gr}},gt=function(ur,pr){var cr=ur.maxFontSize||12,fr=(ur.fontName,{text:"",fontSize:""}),xr=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Gr=(he.__private__.encodeColorString(ur.color),cr),un=Or.internal.getHeight(ur)||0;un=un<0?-un:un;var Nn=Or.internal.getWidth(ur)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,_n,On){if(mn+1<xr.length){var In=_n+" "+xr[mn+1];return Wt(In,ur,On).width<=Nn-4}return!1};Gr++;e:for(;;){pr="";var Tn=Wt("3",ur,--Gr).height,gn=ur.multiline?un-Gr:(un-Tn)/2,Pn=-2,zn=gn+=2,qn=0,Gn=0,Vn=0;if(Gr<=0){pr=`(...) Tj
|
|
|
`,pr+="% Width of Text: "+Wt(pr,ur,Gr=12).width+", FieldWidth:"+Nn+`
|
|
|
`;break}Vn=Wt(xr[0]+" ",ur,Gr).width;var An="",on=0;for(var ia in xr)if(xr.hasOwnProperty(ia)){An=(An+=xr[ia]+" ").substr(An.length-1)==" "?An.substr(0,An.length-1):An;var xa=parseInt(ia);Vn=Wt(An+" ",ur,Gr).width;var ta=jr(xa,An,Gr),Ii=ia>=xr.length-1;if(ta&&!Ii){An+=" ";continue}if(ta||Ii){if(Ii)Gn=xa;else if(ur.multiline&&un<(Tn+2)*(on+2)+2)continue e}else{if(!ur.multiline)continue e;if(un<(Tn+2)*(on+2)+2)continue e;Gn=xa}for(var Ci="",Yn=qn;Yn<=Gn;Yn++)Ci+=xr[Yn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=Wt(Ci,ur,Gr).width,ur.textAlign){case"right":Pn=Nn-Vn-2;break;case"center":Pn=(Nn-Vn)/2;break;case"left":default:Pn=2}pr+=Ke(Pn)+" "+Ke(zn)+` Td
|
|
|
`,pr+="("+Ne(Ci)+`) Tj
|
|
|
`,pr+=-Ke(Pn)+` 0 Td
|
|
|
`,zn=-(Gr+2),Vn=0,qn=Gn+1,on++,An=""}break}return fr.text=pr,fr.fontSize=Gr,fr},Wt=function(ur,pr,cr){var fr=he.internal.getFont(pr.fontName,pr.fontStyle),xr=he.getStringUnitWidth(ur,{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr);return{height:he.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr)*1.5,width:xr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Dt=function(){he.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ur=he.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=ur[pr];cr.objId=void 0,cr.hasAnnotation&&Kt.call(he,cr)}},Kt=function(ur){var pr={type:"reference",object:ur};he.internal.getPageInfo(ur.page).pageContext.annotations.find(function(cr){return cr.type===pr.type&&cr.object===pr.object})===void 0&&he.internal.getPageInfo(ur.page).pageContext.annotations.push(pr)},Yt=function(){if(he.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");he.internal.write("/AcroForm "+he.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){he.internal.events.unsubscribe(he.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete he.internal.acroformPlugin.acroFormDictionaryRoot._eventID,he.internal.acroformPlugin.printedOut=!0},Mt=function(ur){var pr=!ur;ur||(he.internal.newObjectDeferredBegin(he.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),he.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ur=ur||he.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var cr in ur)if(ur.hasOwnProperty(cr)){var fr=ur[cr],xr=[],Gr=fr.Rect;if(fr.Rect&&(fr.Rect=Re.call(this,fr.Rect)),he.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=Or.createDefaultAppearanceStream(fr),p(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Gr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var un=$e.call(this,fr);xr.push({key:"AP",value:"<</N "+un+">>"}),he.internal.acroformPlugin.xForms.push(un)}if(fr.appearanceStreamContent){var Nn="";for(var jr in fr.appearanceStreamContent)if(fr.appearanceStreamContent.hasOwnProperty(jr)){var Tn=fr.appearanceStreamContent[jr];if(Nn+="/"+jr+" ",Nn+="<<",1<=Object.keys(Tn).length||Array.isArray(Tn))for(var cr in Tn){var gn;Tn.hasOwnProperty(cr)&&(typeof(gn=Tn[cr])=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn+" ",0<=he.internal.acroformPlugin.xForms.indexOf(gn)||he.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn,0<=he.internal.acroformPlugin.xForms.indexOf(gn)||he.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
|
|
|
`+Nn+">>"})}he.internal.putStream({additionalKeyValues:xr}),he.internal.out("endobj")}pr&&dr.call(this,he.internal.acroformPlugin.xForms)},dr=function(ur){for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=pr,fr=ur[pr];he.internal.newObjectDeferredBegin(fr&&fr.objId,!0),p(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete ur[cr]}},er=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(he=this,Tt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");le=he.internal.scaleFactor,he.internal.acroformPlugin.acroFormDictionaryRoot=new Lt,he.internal.acroformPlugin.acroFormDictionaryRoot._eventID=he.internal.events.subscribe("postPutResources",Qt),he.internal.events.subscribe("buildDocument",Dt),he.internal.events.subscribe("putCatalog",Yt),he.internal.events.subscribe("postPutPages",Mt),he.internal.acroformPlugin.isInitialized=!0}},ot=Ae.__acroform__.arrayToPdfArray=function(Ir){if(Array.isArray(Ir)){for(var ur="[",pr=0;pr<Ir.length;pr++)switch(pr!==0&&(ur+=" "),p(Ir[pr])){case"boolean":case"number":case"object":ur+=Ir[pr].toString();break;case"string":Ir[pr].substr(0,1)!=="/"?ur+="("+Ne(Ir[pr].toString())+")":ur+=Ir[pr].toString()}return ur+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},xt=function(ur){return(ur=ur||"").toString(),ur="("+Ne(ur)+")"},ut=function(){var ur;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(ur||(ur=he.internal.newObjectDeferred()),!ur)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return ur},set:function(cr){ur=cr}})};ut.prototype.toString=function(){return this.objId+" 0 R"},ut.prototype.putStream=function(){var Ir=this.getKeyValueListForStream();he.internal.putStream({data:this.stream,additionalKeyValues:Ir}),he.internal.out("endobj")},ut.prototype.getKeyValueListForStream=function(){return function(Ir){var ur=[],pr=Object.getOwnPropertyNames(Ir).filter(function(Gr){return Gr!="content"&&Gr!="appearanceStreamContent"&&Gr.substring(0,1)!="_"});for(var cr in pr)if(Object.getOwnPropertyDescriptor(Ir,pr[cr]).configurable===!1){var fr=pr[cr],xr=Ir[fr];xr&&(Array.isArray(xr)?ur.push({key:fr,value:ot(xr)}):xr instanceof ut?ur.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&ur.push({key:fr,value:xr}))}return ur}(this)};var ft=function(){ut.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var ur,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(fr){pr=fr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(fr){ur=fr.trim()},get:function(){return ur||null}})};Fe(ft,ut);var Lt=function(){ut.call(this);var ur,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(ur)return"("+ur+")"},set:function(fr){ur=fr}})};Fe(Lt,ut);var Tt=function Ir(){ut.call(this);var ur=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');ur=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(ur,3))},set:function(on){Boolean(on)===!0?this.F=be(ur,3):this.F=Le(ur,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');pr=on}});var cr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(cr.length!==0)return cr},set:function(on){cr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[0])?0:At(cr[0])},set:function(on){cr[0]=nt(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[1])?0:At(cr[1])},set:function(on){cr[1]=nt(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[2])?0:At(cr[2])},set:function(on){cr[2]=nt(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[3])?0:At(cr[3])},set:function(on){cr[3]=nt(on)}});var fr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return fr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":fr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var xr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!xr||xr.length<1){if(this instanceof Nr)return;xr="FieldObject"+Ir.FieldNum++}return"("+Ne(xr)+")"},set:function(on){xr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return xr},set:function(on){xr=on}});var Gr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Gr},set:function(on){Gr=on}});var un="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return un},set:function(on){un=on}});var Nn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return At(Nn)},set:function(on){Nn=nt(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return At(jr)},set:function(on){jr=nt(on)}});var Tn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Tn},set:function(on){Tn=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return xt(gn)},set:function(on){on=on.toString(),gn=on}});var Pn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Pn)return this instanceof Xt==!1?xt(Pn):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!1?on.substr(0,1)==="("?je(on.substr(1,on.length-2)):je(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?je(Pn.substr(1,Pn.length-1)):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!0?"/"+on:on}});var zn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zn)return this instanceof Xt==!1?xt(zn):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!1?on.substr(0,1)==="("?je(on.substr(1,on.length-2)):je(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?je(zn.substr(1,zn.length-1)):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!0?"/"+on:on}}),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 qn,Gn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Gn},set:function(on){on=Boolean(on),Gn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(qn)return qn},set:function(on){qn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,1):this.Ff=Le(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,2):this.Ff=Le(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=be(this.Ff,3):this.Ff=Le(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};Fe(Tt,ut);var ht=function(){Tt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var ur=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(fr){ur=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ot(pr)},set:function(fr){var xr,Gr;Gr=[],typeof(xr=fr)=="string"&&(Gr=function(un,Nn,jr){jr||(jr=1);for(var Tn,gn=[];Tn=Nn.exec(un);)gn.push(Tn[jr]);return gn}(xr,/\((.*?)\)/g)),pr=Gr}}),this.getOptions=function(){return pr},this.setOptions=function(cr){pr=cr,this.sort&&pr.sort()},this.addOption=function(cr){cr=(cr=cr||"").toString(),pr.push(cr),this.sort&&pr.sort()},this.removeOption=function(cr,fr){for(fr=fr||!1,cr=(cr=cr||"").toString();pr.indexOf(cr)!==-1&&(pr.splice(pr.indexOf(cr),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,18):this.Ff=Le(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=be(this.Ff,19):this.Ff=Le(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=be(this.Ff,20),pr.sort()):this.Ff=Le(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,22):this.Ff=Le(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,23):this.Ff=Le(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,27):this.Ff=Le(this.Ff,27)}}),this.hasAppearanceStream=!1};Fe(ht,Tt);var Ht=function(){ht.call(this),this.fontName="helvetica",this.combo=!1};Fe(Ht,ht);var Ft=function(){Ht.call(this),this.combo=!0};Fe(Ft,Ht);var ir=function(){Ft.call(this),this.edit=!0};Fe(ir,Ft);var Xt=function(){Tt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,15):this.Ff=Le(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,16):this.Ff=Le(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,17):this.Ff=Le(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=be(this.Ff,26):this.Ff=Le(this.Ff,26)}});var ur,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var fr,xr=[];for(fr in xr.push("<<"),pr)xr.push("/"+fr+" ("+pr[fr]+")");return xr.push(">>"),xr.join(`
|
|
|
`)}},set:function(fr){p(fr)==="object"&&(pr=fr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(fr){typeof fr=="string"&&(pr.CA=fr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ur.substr(1,ur.length-1)},set:function(fr){ur="/"+fr}})};Fe(Xt,Tt);var mr=function(){Xt.call(this),this.pushButton=!0};Fe(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var ur=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr!==void 0?cr:[]}})};Fe(Ar,Xt);var Nr=function(){var ur,pr;Tt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(Gr){ur=Gr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Gr){pr=Gr}});var cr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Gr,un=[];for(Gr in un.push("<<"),fr)un.push("/"+Gr+" ("+fr[Gr]+")");return un.push(">>"),un.join(`
|
|
|
`)},set:function(Gr){p(Gr)==="object"&&(fr=Gr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(Gr){typeof Gr=="string"&&(fr.CA=Gr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Gr){cr=Gr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Gr){cr="/"+Gr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Or.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Fe(Nr,Tt),Ar.prototype.setAppearance=function(Ir){if(!("createAppearanceStream"in Ir&&"getCA"in Ir))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ur in this.Kids)if(this.Kids.hasOwnProperty(ur)){var pr=this.Kids[ur];pr.appearanceStreamContent=Ir.createAppearanceStream(pr.optionName),pr.caption=Ir.getCA()}},Ar.prototype.createOption=function(Ir){this.Kids.length;var ur=new Nr;return ur.Parent=this,ur.optionName=Ir,this.Kids.push(ur),Qr.call(this,ur),ur};var Fr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Or.CheckBox.createAppearanceStream()};Fe(Fr,Xt);var tn=function(){Tt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,13))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,13):this.Ff=Le(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,21))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,21):this.Ff=Le(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,23))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,23):this.Ff=Le(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,24))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,24):this.Ff=Le(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,25))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,25):this.Ff=Le(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,26))},set:function(cr){Boolean(cr)===!0?this.Ff=be(this.Ff,26):this.Ff=Le(this.Ff,26)}});var ur=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(cr){Number.isInteger(cr)&&(ur=cr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Fe(tn,Tt);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(te(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=be(this.Ff,14):this.Ff=Le(this.Ff,14)}}),this.password=!0};Fe(qr,tn);var Or={CheckBox:{createAppearanceStream:function(){return{N:{On:Or.CheckBox.YesNormal},D:{On:Or.CheckBox.YesPushDown,Off:Or.CheckBox.OffPushDown}}},YesPushDown:function(ur){var pr=_t(ur),cr=[],fr=he.internal.getFont(ur.fontName,ur.fontStyle).id,xr=he.__private__.encodeColorString(ur.color),Gr=gt(ur,ur.caption);return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Or.internal.getWidth(ur))+" "+Ke(Or.internal.getHeight(ur))+" re"),cr.push("f"),cr.push("BMC"),cr.push("q"),cr.push("0 0 1 rg"),cr.push("/"+fr+" "+Ke(Gr.fontSize)+" Tf "+xr),cr.push("BT"),cr.push(Gr.text),cr.push("ET"),cr.push("Q"),cr.push("EMC"),pr.stream=cr.join(`
|
|
|
`),pr},YesNormal:function(ur){var pr=_t(ur),cr=he.internal.getFont(ur.fontName,ur.fontStyle).id,fr=he.__private__.encodeColorString(ur.color),xr=[],Gr=Or.internal.getHeight(ur),un=Or.internal.getWidth(ur),Nn=gt(ur,ur.caption);return xr.push("1 g"),xr.push("0 0 "+Ke(un)+" "+Ke(Gr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+Ke(un-1)+" "+Ke(Gr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+cr+" "+Ke(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=_t(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Or.internal.getWidth(ur))+" "+Ke(Or.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(ur){var pr={D:{Off:Or.RadioButton.Circle.OffPushDown},N:{}};return pr.N[ur]=Or.RadioButton.Circle.YesNormal,pr.D[ur]=Or.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(ur){var pr=_t(ur),cr=[],fr=Or.internal.getWidth(ur)<=Or.internal.getHeight(ur)?Or.internal.getWidth(ur)/4:Or.internal.getHeight(ur)/4;fr=Number((.9*fr).toFixed(5));var xr=Or.internal.Bezier_C,Gr=Number((fr*xr).toFixed(5));return cr.push("q"),cr.push("1 0 0 1 "+Xe(Or.internal.getWidth(ur)/2)+" "+Xe(Or.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+Gr+" "+Gr+" "+fr+" 0 "+fr+" c"),cr.push("-"+Gr+" "+fr+" -"+fr+" "+Gr+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+Gr+" -"+Gr+" -"+fr+" 0 -"+fr+" c"),cr.push(Gr+" -"+fr+" "+fr+" -"+Gr+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},YesPushDown:function(ur){var pr=_t(ur),cr=[],fr=Or.internal.getWidth(ur)<=Or.internal.getHeight(ur)?Or.internal.getWidth(ur)/4:Or.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Gr=Number((xr*Or.internal.Bezier_C).toFixed(5)),un=Number((fr*Or.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Or.internal.getWidth(ur)/2)+" "+Xe(Or.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Gr+" "+Gr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Gr+" "+xr+" -"+xr+" "+Gr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Gr+" -"+Gr+" -"+xr+" 0 -"+xr+" c"),cr.push(Gr+" -"+xr+" "+xr+" -"+Gr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),cr.push("0 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Or.internal.getWidth(ur)/2)+" "+Xe(Or.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+un+" "+un+" "+fr+" 0 "+fr+" c"),cr.push("-"+un+" "+fr+" -"+fr+" "+un+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+un+" -"+un+" -"+fr+" 0 -"+fr+" c"),cr.push(un+" -"+fr+" "+fr+" -"+un+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=_t(ur),cr=[],fr=Or.internal.getWidth(ur)<=Or.internal.getHeight(ur)?Or.internal.getWidth(ur)/4:Or.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Gr=Number((xr*Or.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Or.internal.getWidth(ur)/2)+" "+Xe(Or.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Gr+" "+Gr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Gr+" "+xr+" -"+xr+" "+Gr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Gr+" -"+Gr+" -"+xr+" 0 -"+xr+" c"),cr.push(Gr+" -"+xr+" "+xr+" -"+Gr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr}},Cross:{createAppearanceStream:function(ur){var pr={D:{Off:Or.RadioButton.Cross.OffPushDown},N:{}};return pr.N[ur]=Or.RadioButton.Cross.YesNormal,pr.D[ur]=Or.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(ur){var pr=_t(ur),cr=[],fr=Or.internal.calculateCross(ur);return cr.push("q"),cr.push("1 1 "+Ke(Or.internal.getWidth(ur)-2)+" "+Ke(Or.internal.getHeight(ur)-2)+" re"),cr.push("W"),cr.push("n"),cr.push(Ke(fr.x1.x)+" "+Ke(fr.x1.y)+" m"),cr.push(Ke(fr.x2.x)+" "+Ke(fr.x2.y)+" l"),cr.push(Ke(fr.x4.x)+" "+Ke(fr.x4.y)+" m"),cr.push(Ke(fr.x3.x)+" "+Ke(fr.x3.y)+" l"),cr.push("s"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},YesPushDown:function(ur){var pr=_t(ur),cr=Or.internal.calculateCross(ur),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+Ke(Or.internal.getWidth(ur))+" "+Ke(Or.internal.getHeight(ur))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+Ke(Or.internal.getWidth(ur)-2)+" "+Ke(Or.internal.getHeight(ur)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(Ke(cr.x1.x)+" "+Ke(cr.x1.y)+" m"),fr.push(Ke(cr.x2.x)+" "+Ke(cr.x2.y)+" l"),fr.push(Ke(cr.x4.x)+" "+Ke(cr.x4.y)+" m"),fr.push(Ke(cr.x3.x)+" "+Ke(cr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=_t(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+Ke(Or.internal.getWidth(ur))+" "+Ke(Or.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}}},createDefaultAppearanceStream:function(ur){var pr=he.internal.getFont(ur.fontName,ur.fontStyle).id,cr=he.__private__.encodeColorString(ur.color);return"/"+pr+" "+ur.fontSize+" Tf "+cr}};Or.internal={Bezier_C:.551915024494,calculateCross:function(ur){var pr=Or.internal.getWidth(ur),cr=Or.internal.getHeight(ur),fr=Math.min(pr,cr);return{x1:{x:(pr-fr)/2,y:(cr-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(cr-fr)/2},x3:{x:(pr-fr)/2,y:(cr-fr)/2},x4:{x:(pr-fr)/2+fr,y:(cr-fr)/2+fr}}}},Or.internal.getWidth=function(Ir){var ur=0;return p(Ir)==="object"&&(ur=nt(Ir.Rect[2])),ur},Or.internal.getHeight=function(Ir){var ur=0;return p(Ir)==="object"&&(ur=nt(Ir.Rect[3])),ur};var Qr=Ae.addField=function(Ir){if(er.call(this),!(Ir instanceof Tt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(ur){he.internal.acroformPlugin.printedOut&&(he.internal.acroformPlugin.printedOut=!1,he.internal.acroformPlugin.acroFormDictionaryRoot=null),he.internal.acroformPlugin.acroFormDictionaryRoot||er.call(he),he.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ur)}.call(this,Ir),Ir.page=he.internal.getCurrentPageInfo().pageNumber,this};Ae.addButton=function(Ir){if(Ir instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,Ir)},Ae.addTextField=function(Ir){if(Ir instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,Ir)},Ae.addChoiceField=function(Ir){if(Ir instanceof ht==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,Ir)},p(pe)=="object"&&pe.ChoiceField===void 0&&pe.ListBox===void 0&&pe.ComboBox===void 0&&pe.EditBox===void 0&&pe.Button===void 0&&pe.PushButton===void 0&&pe.RadioButton===void 0&&pe.CheckBox===void 0&&pe.TextField===void 0&&pe.PasswordField===void 0?(pe.ChoiceField=ht,pe.ListBox=Ht,pe.ComboBox=Ft,pe.EditBox=ir,pe.Button=Xt,pe.PushButton=mr,pe.RadioButton=Ar,pe.CheckBox=Fr,pe.TextField=tn,pe.PasswordField=qr,pe.AcroForm={Appearance:Or}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),Ae.AcroFormChoiceField=ht,Ae.AcroFormListBox=Ht,Ae.AcroFormComboBox=Ft,Ae.AcroFormEditBox=ir,Ae.AcroFormButton=Xt,Ae.AcroFormPushButton=mr,Ae.AcroFormRadioButton=Ar,Ae.AcroFormCheckBox=Fr,Ae.AcroFormTextField=tn,Ae.AcroFormPasswordField=qr,Ae.AcroFormAppearance=Or,Ae.AcroForm={ChoiceField:ht,ListBox:Ht,ComboBox:Ft,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:Fr,TextField:tn,PasswordField:qr,Appearance:Or}})((window.tmp=vt).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(Ae){var pe="addImage_",he={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]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},le=Ae.getImageFileTypeByImageData=function(ne,ue){var Y,te;ue=ue||"UNKNOWN";var be,Le,Re,$e="UNKNOWN";for(Re in Ae.isArrayBufferView(ne)&&(ne=Ae.arrayBufferToBinaryString(ne)),he)for(be=he[Re],Y=0;Y<be.length;Y+=1){for(Le=!0,te=0;te<be[Y].length;te+=1)if(be[Y][te]!==void 0&&be[Y][te]!==ne.charCodeAt(te)){Le=!1;break}if(Le===!0){$e=Re;break}}return $e==="UNKNOWN"&&ue!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+ue+'".'),$e=ue),$e},Ne=function ne(ue){for(var Y=this.internal.newObject(),te=this.internal.write,be=this.internal.putStream,Le=(0,this.internal.getFilters)();Le.indexOf("FlateEncode")!==-1;)Le.splice(Le.indexOf("FlateEncode"),1);ue.n=Y;var Re=[];if(Re.push({key:"Type",value:"/XObject"}),Re.push({key:"Subtype",value:"/Image"}),Re.push({key:"Width",value:ue.w}),Re.push({key:"Height",value:ue.h}),ue.cs===this.color_spaces.INDEXED?Re.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(ue.pal.length/3-1)+" "+("smask"in ue?Y+2:Y+1)+" 0 R]"}):(Re.push({key:"ColorSpace",value:"/"+ue.cs}),ue.cs===this.color_spaces.DEVICE_CMYK&&Re.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Re.push({key:"BitsPerComponent",value:ue.bpc}),"dp"in ue&&Re.push({key:"DecodeParms",value:"<<"+ue.dp+">>"}),"trns"in ue&&ue.trns.constructor==Array){for(var $e="",gt=0,Wt=ue.trns.length;gt<Wt;gt++)$e+=ue.trns[gt]+" "+ue.trns[gt]+" ";Re.push({key:"Mask",value:"["+$e+"]"})}"smask"in ue&&Re.push({key:"SMask",value:Y+1+" 0 R"});var $t=ue.f!==void 0?["/"+ue.f]:void 0;if(be({data:ue.data,additionalKeyValues:Re,alreadyAppliedFilters:$t}),te("endobj"),"smask"in ue){var Dt="/Predictor "+ue.p+" /Colors 1 /BitsPerComponent "+ue.bpc+" /Columns "+ue.w,Kt={w:ue.w,h:ue.h,cs:"DeviceGray",bpc:ue.bpc,dp:Dt,data:ue.smask};"f"in ue&&(Kt.f=ue.f),ne.call(this,Kt)}ue.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),be({data:this.arrayBufferToBinaryString(new Uint8Array(ue.pal))}),te("endobj"))},je=function(){var ue=this.internal.collections[pe+"images"];for(var Y in ue)Ne.call(this,ue[Y])},Ke=function(){var ue,Y=this.internal.collections[pe+"images"],te=this.internal.write;for(var be in Y)te("/I"+(ue=Y[be]).i,ue.n,"0","R")},Xe=function(ue){return typeof Ae["process"+ue.toUpperCase()]=="function"},Fe=function(ue){return p(ue)==="object"&&ue.nodeType===1},nt=function(ue,Y){if(ue.nodeName==="IMG"&&ue.hasAttribute("src")){var te=""+ue.getAttribute("src");if(te.indexOf("data:image/")===0)return unescape(te);var be=Ae.loadFile(te);if(be!==void 0)return btoa(be)}if(ue.nodeName==="CANVAS"){var Le=ue;return ue.toDataURL("image/jpeg",1)}(Le=document.createElement("canvas")).width=ue.clientWidth||ue.width,Le.height=ue.clientHeight||ue.height;var Re=Le.getContext("2d");if(!Re)throw"addImage requires canvas to be supported by browser.";return Re.drawImage(ue,0,0,Le.width,Le.height),Le.toDataURL((""+Y).toLowerCase()=="png"?"image/png":"image/jpeg")},At=function(ue,Y){var te;if(Y){for(var be in Y)if(ue===Y[be].alias){te=Y[be];break}}return te};Ae.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"},Ae.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"},Ae.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Ae.sHashCode=function(ne){var ue,Y=0;if((ne=ne||"").length===0)return Y;for(ue=0;ue<ne.length;ue++)Y=(Y<<5)-Y+ne.charCodeAt(ue),Y|=0;return Y},Ae.isString=function(ne){return typeof ne=="string"},Ae.validateStringAsBase64=function(ne){(ne=ne||"").toString().trim();var ue=!0;return ne.length===0&&(ue=!1),ne.length%4!=0&&(ue=!1),/^[A-Za-z0-9+\/]+$/.test(ne.substr(0,ne.length-2))===!1&&(ue=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ne.substr(-2))===!1&&(ue=!1),ue},Ae.extractInfoFromBase64DataURI=function(ne){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ne)},Ae.extractImageFromDataUrl=function(ne){var ue=(ne=ne||"").split("base64,"),Y=null;if(ue.length===2){var te=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(ue[0]);Array.isArray(te)&&(Y={mimeType:te[1],charset:te[2],data:ue[1]})}return Y},Ae.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},Ae.isArrayBuffer=function(ne){return!!this.supportsArrayBuffer()&&ne instanceof ArrayBuffer},Ae.isArrayBufferView=function(ne){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ne instanceof Int8Array||ne instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ne instanceof Uint8ClampedArray||ne instanceof Int16Array||ne instanceof Uint16Array||ne instanceof Int32Array||ne instanceof Uint32Array||ne instanceof Float32Array||ne instanceof Float64Array)},Ae.binaryStringToUint8Array=function(ne){for(var ue=ne.length,Y=new Uint8Array(ue),te=0;te<ue;te++)Y[te]=ne.charCodeAt(te);return Y},Ae.arrayBufferToBinaryString=function(ne){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ne))},Ae.arrayBufferToBase64=function(ne){for(var ue,Y="",te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",be=new Uint8Array(ne),Le=be.byteLength,Re=Le%3,$e=Le-Re,gt=0;gt<$e;gt+=3)Y+=te[(16515072&(ue=be[gt]<<16|be[gt+1]<<8|be[gt+2]))>>18]+te[(258048&ue)>>12]+te[(4032&ue)>>6]+te[63&ue];return Re==1?Y+=te[(252&(ue=be[$e]))>>2]+te[(3&ue)<<4]+"==":Re==2&&(Y+=te[(64512&(ue=be[$e]<<8|be[$e+1]))>>10]+te[(1008&ue)>>4]+te[(15&ue)<<2]+"="),Y},Ae.createImageInfo=function(ne,ue,Y,te,be,Le,Re,$e,gt,Wt,$t,Dt,Kt){var Yt={alias:$e,w:ue,h:Y,cs:te,bpc:be,i:Re,data:ne};return Le&&(Yt.f=Le),gt&&(Yt.dp=gt),Wt&&(Yt.trns=Wt),$t&&(Yt.pal=$t),Dt&&(Yt.smask=Dt),Kt&&(Yt.p=Kt),Yt},Ae.addImage=function(ne,ue,Y,te,be,Le,Re,$e,gt){var Wt="";if(typeof ue!="string"){var $t=Le;Le=be,be=te,te=Y,Y=ue,ue=$t}if(p(ne)==="object"&&!Fe(ne)&&"imageData"in ne){var Dt=ne;ne=Dt.imageData,ue=Dt.format||ue||"UNKNOWN",Y=Dt.x||Y||0,te=Dt.y||te||0,be=Dt.w||be,Le=Dt.h||Le,Re=Dt.alias||Re,$e=Dt.compression||$e,gt=Dt.rotation||Dt.angle||gt}var Kt=this.internal.getFilters();if($e===void 0&&Kt.indexOf("FlateEncode")!==-1&&($e="SLOW"),typeof ne=="string"&&(ne=unescape(ne)),isNaN(Y)||isNaN(te))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Yt,Qt,Mt,dr,er,ot,xt,ut=function(){var ft=this.internal.collections[pe+"images"];return ft||(this.internal.collections[pe+"images"]=ft={},this.internal.events.subscribe("putResources",je),this.internal.events.subscribe("putXobjectDict",Ke)),ft}.call(this);if(!((Yt=At(ne,ut))||(Fe(ne)&&(ne=nt(ne,ue)),((xt=Re)==null||xt.length===0)&&(Re=typeof(ot=ne)=="string"?Ae.sHashCode(ot):Ae.isArrayBufferView(ot)?Ae.sHashCode(Ae.arrayBufferToBinaryString(ot)):null),Yt=At(Re,ut)))){if(this.isString(ne)&&((Wt=this.convertStringToImageData(ne))!==""||(Wt=Ae.loadFile(ne))!==void 0)&&(ne=Wt),ue=this.getImageFileTypeByImageData(ne,ue),!Xe(ue))throw new Error("addImage does not support files of type '"+ue+"', please ensure that a plugin for '"+ue+"' support is added.");if(this.supportsArrayBuffer()&&(ne instanceof Uint8Array||(Qt=ne,ne=this.binaryStringToUint8Array(ne))),!(Yt=this["process"+ue.toUpperCase()](ne,(er=0,(dr=ut)&&(er=Object.keys?Object.keys(dr).length:function(ft){var Lt=0;for(var Tt in ft)ft.hasOwnProperty(Tt)&&Lt++;return Lt}(dr)),er),Re,((Mt=$e)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in Ae.image_compression?Mt:Ae.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(ft,Lt,Tt,ht,Ht,Ft,ir,Xt){var mr=function(Qr,Ir,ur){return Qr||Ir||(Ir=Qr=-96),Qr<0&&(Qr=-1*ur.w*72/Qr/this.internal.scaleFactor),Ir<0&&(Ir=-1*ur.h*72/Ir/this.internal.scaleFactor),Qr===0&&(Qr=Ir*ur.w/ur.h),Ir===0&&(Ir=Qr*ur.h/ur.w),[Qr,Ir]}.call(this,Tt,ht,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(Tt=mr[0],ht=mr[1],ir[Ft]=Ht,Xt){Xt*=Math.PI/180;var Fr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(Ir){return Ir.toFixed(4)},Or=[qr(Fr),qr(tn),qr(-1*tn),qr(Fr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(ft),Nr(Lt+ht),"cm"].join(" ")),this.internal.write(Or.join(" ")),this.internal.write([Ar(Tt),"0","0",Ar(ht),"0","0","cm"].join(" "))):this.internal.write([Ar(Tt),"0","0",Ar(ht),Ar(ft),Nr(Lt+ht),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,Y,te,be,Le,Yt,Yt.i,ut,gt),this},Ae.convertStringToImageData=function(ne){var ue,Y="";if(this.isString(ne)){var te;ue=(te=this.extractImageFromDataUrl(ne))!==null?te.data:ne;try{Y=atob(ue)}catch(be){throw Ae.validateStringAsBase64(ue)?new Error("atob-Error in jsPDF.convertStringToImageData "+be.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return Y};var _t=function(ue,Y){return ue.subarray(Y,Y+5)};Ae.processJPEG=function(ne,ue,Y,te,be,Le){var Re,$e=this.decode.DCT_DECODE;if(!this.isString(ne)&&!this.isArrayBuffer(ne)&&!this.isArrayBufferView(ne))return null;if(this.isString(ne)&&(Re=function(gt){var Wt;if(le(gt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*gt.charCodeAt(4)+gt.charCodeAt(5),Dt=4,Kt=gt.length;Dt<Kt;){if(Dt+=$t,gt.charCodeAt(Dt)!==255)throw new Error("getJpegSize could not find the size of the image");if(gt.charCodeAt(Dt+1)===192||gt.charCodeAt(Dt+1)===193||gt.charCodeAt(Dt+1)===194||gt.charCodeAt(Dt+1)===195||gt.charCodeAt(Dt+1)===196||gt.charCodeAt(Dt+1)===197||gt.charCodeAt(Dt+1)===198||gt.charCodeAt(Dt+1)===199)return Wt=256*gt.charCodeAt(Dt+5)+gt.charCodeAt(Dt+6),[256*gt.charCodeAt(Dt+7)+gt.charCodeAt(Dt+8),Wt,gt.charCodeAt(Dt+9)];Dt+=2,$t=256*gt.charCodeAt(Dt)+gt.charCodeAt(Dt+1)}}(ne)),this.isArrayBuffer(ne)&&(ne=new Uint8Array(ne)),this.isArrayBufferView(ne)&&(Re=function(gt){if((gt[0]<<8|gt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=gt.length,Dt=(gt[4]<<8)+gt[5],Kt=4;Kt<$t;){if(Dt=((Wt=_t(gt,Kt+=Dt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Dt)return{width:((Wt=_t(gt,Kt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};Kt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ne),ne=be||this.arrayBufferToBinaryString(ne)),Le===void 0)switch(Re.numcomponents){case 1:Le=this.color_spaces.DEVICE_GRAY;break;case 4:Le=this.color_spaces.DEVICE_CMYK;break;default:case 3:Le=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ne,Re.width,Re.height,Le,8,$e,ue,Y)},Ae.processJPG=function(){return this.processJPEG.apply(this,arguments)},Ae.getImageProperties=function(ne){var ue,Y,te="";if(Fe(ne)&&(ne=nt(ne)),this.isString(ne)&&((te=this.convertStringToImageData(ne))!==""||(te=Ae.loadFile(ne))!==void 0)&&(ne=te),Y=this.getImageFileTypeByImageData(ne),!Xe(Y))throw new Error("addImage does not support files of type '"+Y+"', please ensure that a plugin for '"+Y+"' support is added.");if(this.supportsArrayBuffer()&&(ne instanceof Uint8Array||(ne=this.binaryStringToUint8Array(ne))),!(ue=this["process"+Y.toUpperCase()](ne)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:Y,width:ue.w,height:ue.h,colorSpace:ue.cs,compressionMode:ue.f,bitsPerComponent:ue.bpc}}}(vt.API),v=vt.API,vt.API.events.push(["addPage",function(Ae){this.internal.getPageInfo(Ae.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(Ae){for(var pe=this.internal.getPageInfoByObjId(Ae.objId),he=Ae.pageContext.annotations,le=function($e){if($e!==void 0&&$e!="")return!0},Ne=!1,je=0;je<he.length&&!Ne;je++)switch((Fe=he[je]).type){case"link":if(le(Fe.options.url)||le(Fe.options.pageNumber)){Ne=!0;break}case"reference":case"text":case"freetext":Ne=!0}if(Ne!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Ke=this.internal.getCoordinateString,Xe=this.internal.getVerticalCoordinateString;for(je=0;je<he.length;je++){var Fe;switch((Fe=he[je]).type){case"reference":this.internal.write(" "+Fe.object.objId+" 0 R ");break;case"text":var nt=this.internal.newAdditionalObject(),At=this.internal.newAdditionalObject(),_t=Fe.title||"Note";be="<</Type /Annot /Subtype /Text "+(ue="/Rect ["+Ke(Fe.bounds.x)+" "+Xe(Fe.bounds.y+Fe.bounds.h)+" "+Ke(Fe.bounds.x+Fe.bounds.w)+" "+Xe(Fe.bounds.y)+"] ")+"/Contents ("+Fe.contents+")",be+=" /Popup "+At.objId+" 0 R",be+=" /P "+pe.objId+" 0 R",be+=" /T ("+_t+") >>",nt.content=be;var ne=nt.objId+" 0 R";be="<</Type /Annot /Subtype /Popup "+(ue="/Rect ["+Ke(Fe.bounds.x+30)+" "+Xe(Fe.bounds.y+Fe.bounds.h)+" "+Ke(Fe.bounds.x+Fe.bounds.w+30)+" "+Xe(Fe.bounds.y)+"] ")+" /Parent "+ne,Fe.open&&(be+=" /Open true"),be+=" >>",At.content=be,this.internal.write(nt.objId,"0 R",At.objId,"0 R");break;case"freetext":var ue="/Rect ["+Ke(Fe.bounds.x)+" "+Xe(Fe.bounds.y)+" "+Ke(Fe.bounds.x+Fe.bounds.w)+" "+Xe(Fe.bounds.y+Fe.bounds.h)+"] ",Y=Fe.color||"#000000";be="<</Type /Annot /Subtype /FreeText "+ue+"/Contents ("+Fe.contents+")",be+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Y+")",be+=" /Border [0 0 0]",be+=" >>",this.internal.write(be);break;case"link":if(Fe.options.name){var te=this.annotations._nameMap[Fe.options.name];Fe.options.pageNumber=te.page,Fe.options.top=te.y}else Fe.options.top||(Fe.options.top=0);ue="/Rect ["+Ke(Fe.x)+" "+Xe(Fe.y)+" "+Ke(Fe.x+Fe.w)+" "+Xe(Fe.y+Fe.h)+"] ";var be="";if(Fe.options.url)be="<</Type /Annot /Subtype /Link "+ue+"/Border [0 0 0] /A <</S /URI /URI ("+Fe.options.url+") >>";else if(Fe.options.pageNumber)switch(be="<</Type /Annot /Subtype /Link "+ue+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Fe.options.pageNumber).objId+" 0 R",Fe.options.magFactor=Fe.options.magFactor||"XYZ",Fe.options.magFactor){case"Fit":be+=" /Fit]";break;case"FitH":be+=" /FitH "+Fe.options.top+"]";break;case"FitV":Fe.options.left=Fe.options.left||0,be+=" /FitV "+Fe.options.left+"]";break;case"XYZ":default:var Le=Xe(Fe.options.top);Fe.options.left=Fe.options.left||0,Fe.options.zoom===void 0&&(Fe.options.zoom=0),be+=" /XYZ "+Fe.options.left+" "+Le+" "+Fe.options.zoom+"]"}be!=""&&(be+=" >>",this.internal.write(be))}}this.internal.write("]")}}]),v.createAnnotation=function(Ae){var pe=this.internal.getCurrentPageInfo();switch(Ae.type){case"link":this.link(Ae.bounds.x,Ae.bounds.y,Ae.bounds.w,Ae.bounds.h,Ae);break;case"text":case"freetext":pe.pageContext.annotations.push(Ae)}},v.link=function(Ae,pe,he,le,Ne){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:Ae,y:pe,w:he,h:le,options:Ne,type:"link"})},v.textWithLink=function(Ae,pe,he,le){var Ne=this.getTextWidth(Ae),je=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(Ae,pe,he),he+=.2*je,this.link(pe,he-je,Ne,je,le),Ne},v.getTextWidth=function(Ae){var pe=this.internal.getFontSize();return this.getStringUnitWidth(Ae)*pe/this.internal.scaleFactor},function(Ae){var pe={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]},he={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}},le={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Ne=[1570,1571,1573,1575];Ae.__arabicParser__={};var je=Ae.__arabicParser__.isInArabicSubstitutionA=function(Y){return pe[Y.charCodeAt(0)]!==void 0},Ke=Ae.__arabicParser__.isArabicLetter=function(Y){return typeof Y=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Y)},Xe=Ae.__arabicParser__.isArabicEndLetter=function(Y){return Ke(Y)&&je(Y)&&pe[Y.charCodeAt(0)].length<=2},Fe=Ae.__arabicParser__.isArabicAlfLetter=function(Y){return Ke(Y)&&0<=Ne.indexOf(Y.charCodeAt(0))},nt=(Ae.__arabicParser__.arabicLetterHasIsolatedForm=function(Y){return Ke(Y)&&je(Y)&&1<=pe[Y.charCodeAt(0)].length},Ae.__arabicParser__.arabicLetterHasFinalForm=function(Y){return Ke(Y)&&je(Y)&&2<=pe[Y.charCodeAt(0)].length}),At=(Ae.__arabicParser__.arabicLetterHasInitialForm=function(Y){return Ke(Y)&&je(Y)&&3<=pe[Y.charCodeAt(0)].length},Ae.__arabicParser__.arabicLetterHasMedialForm=function(Y){return Ke(Y)&&je(Y)&&pe[Y.charCodeAt(0)].length==4}),_t=Ae.__arabicParser__.resolveLigatures=function(Y){var te=0,be=he,Le=0,Re="",$e=0;for(te=0;te<Y.length;te+=1)be[Y.charCodeAt(te)]!==void 0?($e++,typeof(be=be[Y.charCodeAt(te)])=="number"&&(Le=(Le=ne(Y.charAt(te),Y.charAt(te-$e),Y.charAt(te+1)))!==-1?Le:0,Re+=String.fromCharCode(be),be=he,$e=0),te===Y.length-1&&(be=he,Re+=Y.charAt(te-($e-1)),te-=$e-1,$e=0)):(be=he,Re+=Y.charAt(te-$e),te-=$e,$e=0);return Re},ne=(Ae.__arabicParser__.isArabicDiacritic=function(Y){return Y!==void 0&&le[Y.charCodeAt(0)]!==void 0},Ae.__arabicParser__.getCorrectForm=function(Y,te,be){return Ke(Y)?je(Y)===!1?-1:!nt(Y)||!Ke(te)&&!Ke(be)||!Ke(be)&&Xe(te)||Xe(Y)&&!Ke(te)||Xe(Y)&&Fe(te)||Xe(Y)&&Xe(te)?0:At(Y)&&Ke(te)&&!Xe(te)&&Ke(be)&&nt(be)?3:Xe(Y)||!Ke(be)?1:2:-1}),ue=Ae.__arabicParser__.processArabic=Ae.processArabic=function(Y){var te=0,be=0,Le=0,Re="",$e="",gt="",Wt=(Y=Y||"").split("\\s+"),$t=[];for(te=0;te<Wt.length;te+=1){for($t.push(""),be=0;be<Wt[te].length;be+=1)Re=Wt[te][be],$e=Wt[te][be-1],gt=Wt[te][be+1],Ke(Re)?(Le=ne(Re,$e,gt),$t[te]+=Le!==-1?String.fromCharCode(pe[Re.charCodeAt(0)][Le]):Re):$t[te]+=Re;$t[te]=_t($t[te])}return $t.join(" ")};Ae.events.push(["preProcessText",function(Y){var te=Y.text,be=(Y.x,Y.y,Y.options||{}),Le=(Y.mutex,be.lang,[]);if(Object.prototype.toString.call(te)==="[object Array]"){var Re=0;for(Le=[],Re=0;Re<te.length;Re+=1)Object.prototype.toString.call(te[Re])==="[object Array]"?Le.push([ue(te[Re][0]),te[Re][1],te[Re][2]]):Le.push([ue(te[Re])]);Y.text=Le}else Y.text=ue(te)}])}(vt.API),vt.API.autoPrint=function(Ae){var pe;switch((Ae=Ae||{}).variant=Ae.variant||"non-conform",Ae.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){pe=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 "+pe+" 0 R")})}return this},h=vt.API,(u=function(){var pe=void 0;Object.defineProperty(this,"pdf",{get:function(){return pe},set:function(Xe){pe=Xe}});var he=150;Object.defineProperty(this,"width",{get:function(){return he},set:function(Xe){he=isNaN(Xe)||Number.isInteger(Xe)===!1||Xe<0?150:Xe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=he+1)}});var le=300;Object.defineProperty(this,"height",{get:function(){return le},set:function(Xe){le=isNaN(Xe)||Number.isInteger(Xe)===!1||Xe<0?300:Xe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=le+1)}});var Ne=[];Object.defineProperty(this,"childNodes",{get:function(){return Ne},set:function(Xe){Ne=Xe}});var je={};Object.defineProperty(this,"style",{get:function(){return je},set:function(Xe){je=Xe}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(Ae,pe){var he;if((Ae=Ae||"2d")!=="2d")return null;for(he in pe)this.pdf.context2d.hasOwnProperty(he)&&(this.pdf.context2d[he]=pe[he]);return(this.pdf.context2d._canvas=this).pdf.context2d},u.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new u,this.canvas.pdf=this}]),o=vt.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,c=function(pe,he,le,Ne,je){r={x:pe,y:he,w:le,h:Ne,ln:je}},n=function(){return r},l={left:0,top:0,bottom:0},o.setHeaderFunction=function(Ae){i=Ae},o.getTextDimensions=function(Ae,pe){var he=this.table_font_size||this.internal.getFontSize(),le=(this.internal.getFont().fontStyle,(pe=pe||{}).scaleFactor||this.internal.scaleFactor),Ne=0,je=0,Ke=0;if(typeof Ae=="string")(Ne=this.getStringUnitWidth(Ae)*he)!=0&&(je=1);else{if(Object.prototype.toString.call(Ae)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Xe=0;Xe<Ae.length;Xe++)Ne<(Ke=this.getStringUnitWidth(Ae[Xe])*he)&&(Ne=Ke);Ne!==0&&(je=Ae.length)}return{w:Ne/=le,h:Math.max((je*he*this.getLineHeightFactor()-he*(this.getLineHeightFactor()-1))/le,0)}},o.cellAddPage=function(){var Ae=this.margins||l;this.addPage(),c(Ae.left,Ae.top,void 0,void 0),a+=1},o.cellInitialize=function(){r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1},o.cell=function(Ae,pe,he,le,Ne,je,Ke){var Xe=n(),Fe=!1;if(Xe.ln!==void 0)if(Xe.ln===je)Ae=Xe.x+Xe.w,pe=Xe.y;else{var nt=this.margins||l;Xe.y+Xe.h+le+13>=this.internal.pageSize.getHeight()-nt.bottom&&(this.cellAddPage(),Fe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(je,!0)),pe=n().y+n().h,Fe&&(pe=23)}if(Ne[0]!==void 0)if(this.printingHeaderRow?this.rect(Ae,pe,he,le,"FD"):this.rect(Ae,pe,he,le),Ke==="right"){Ne instanceof Array||(Ne=[Ne]);for(var At=0;At<Ne.length;At++){var _t=Ne[At],ne=this.getStringUnitWidth(_t)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(_t,Ae+he-ne-3,pe+this.internal.getLineHeight()*(At+1))}}else this.text(Ne,Ae+3,pe+this.internal.getLineHeight());return c(Ae,pe,he,le,je),this},o.arrayMax=function(Ae,pe){var he,le,Ne,je=Ae[0];for(he=0,le=Ae.length;he<le;he+=1)Ne=Ae[he],pe?pe(je,Ne)===-1&&(je=Ne):je<Ne&&(je=Ne);return je},o.table=function(Ae,pe,he,le,Ne){if(!he)throw"No data for PDF table";var je,Ke,Xe,Fe,nt,At,_t,ne,ue,Y,te=[],be=[],Le={},Re={},$e=[],gt=[],Wt=!1,$t=!0,Dt=12,Kt=l;if(Kt.width=this.internal.pageSize.getWidth(),Ne&&(Ne.autoSize===!0&&(Wt=!0),Ne.printHeaders===!1&&($t=!1),Ne.fontSize&&(Dt=Ne.fontSize),Ne.css&&Ne.css["font-size"]!==void 0&&(Dt=16*Ne.css["font-size"]),Ne.margins&&(Kt=Ne.margins)),this.lnMod=0,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,this.printHeaders=$t,this.margins=Kt,this.setFontSize(Dt),this.table_font_size=Dt,le==null)te=Object.keys(he[0]);else if(le[0]&&typeof le[0]!="string")for(Ke=0,Xe=le.length;Ke<Xe;Ke+=1)je=le[Ke],te.push(je.name),be.push(je.prompt),Re[je.name]=je.width*(19.049976/25.4);else te=le;if(Wt)for(Y=function(Mt){return Mt[je]},Ke=0,Xe=te.length;Ke<Xe;Ke+=1){for(Le[je=te[Ke]]=he.map(Y),$e.push(this.getTextDimensions(be[Ke]||je,{scaleFactor:1}).w),_t=0,Fe=(At=Le[je]).length;_t<Fe;_t+=1)nt=At[_t],$e.push(this.getTextDimensions(nt,{scaleFactor:1}).w);Re[je]=o.arrayMax($e),$e=[]}if($t){var Yt=this.calculateLineHeight(te,Re,be.length?be:te);for(Ke=0,Xe=te.length;Ke<Xe;Ke+=1)je=te[Ke],gt.push([Ae,pe,Re[je],Yt,String(be.length?be[Ke]:je)]);this.setTableHeaderRow(gt),this.printHeaderRow(1,!1)}for(Ke=0,Xe=he.length;Ke<Xe;Ke+=1)for(ne=he[Ke],Yt=this.calculateLineHeight(te,Re,ne),_t=0,ue=te.length;_t<ue;_t+=1)je=te[_t],this.cell(Ae,pe,Re[je],Yt,ne[je],Ke+2,je.align);return this.lastCellPos=r,this.table_x=Ae,this.table_y=pe,this},o.calculateLineHeight=function(Ae,pe,he){for(var le,Ne=0,je=0;je<Ae.length;je++){he[le=Ae[je]]=this.splitTextToSize(String(he[le]),pe[le]-3);var Ke=this.internal.getLineHeight()*he[le].length+3;Ne<Ke&&(Ne=Ke)}return Ne},o.setTableHeaderRow=function(Ae){this.tableHeaderRow=Ae},o.printHeaderRow=function(Ae,pe){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var he,le,Ne,je;if(this.printingHeaderRow=!0,i!==void 0){var Ke=i(this,a);c(Ke[0],Ke[1],Ke[2],Ke[3],-1)}this.setFontStyle("bold");var Xe=[];for(Ne=0,je=this.tableHeaderRow.length;Ne<je;Ne+=1)this.setFillColor(200,200,200),he=this.tableHeaderRow[Ne],pe&&(this.margins.top=13,he[1]=this.margins&&this.margins.top||0,Xe.push(he)),le=[].concat(he),this.cell.apply(this,le.concat(Ae));0<Xe.length&&this.setTableHeaderRow(Xe),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(Ae,pe){var he,le,Ne,je,Ke,Xe=function(ht){return ht=ht||{},this.isStrokeTransparent=ht.isStrokeTransparent||!1,this.strokeOpacity=ht.strokeOpacity||1,this.strokeStyle=ht.strokeStyle||"#000000",this.fillStyle=ht.fillStyle||"#000000",this.isFillTransparent=ht.isFillTransparent||!1,this.fillOpacity=ht.fillOpacity||1,this.font=ht.font||"10px sans-serif",this.textBaseline=ht.textBaseline||"alphabetic",this.textAlign=ht.textAlign||"left",this.lineWidth=ht.lineWidth||1,this.lineJoin=ht.lineJoin||"miter",this.lineCap=ht.lineCap||"butt",this.path=ht.path||[],this.transform=ht.transform!==void 0?ht.transform.clone():new Lt,this.globalCompositeOperation=ht.globalCompositeOperation||"normal",this.globalAlpha=ht.globalAlpha||1,this.clip_path=ht.clip_path||[],this.currentPoint=ht.currentPoint||new ut,this.miterLimit=ht.miterLimit||10,this.lastPoint=ht.lastPoint||new ut,this.ignoreClearRect=typeof ht.ignoreClearRect!="boolean"||ht.ignoreClearRect,this};Ae.events.push(["initialized",function(){this.context2d=new Fe(this),he=this.internal.f2,this.internal.f3,le=this.internal.getCoordinateString,Ne=this.internal.getVerticalCoordinateString,je=this.internal.getHorizontalCoordinate,Ke=this.internal.getVerticalCoordinate}]);var Fe=function(ht){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return ht}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(Or){Ht=Boolean(Or)}});var Ft=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Ft},set:function(Or){Ft=Boolean(Or)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(Or){isNaN(Or)||(ir=Or)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(Or){isNaN(Or)||(Xt=Or)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Or){mr=Boolean(Or)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Or){Ar=Or}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(Or){Nr=Or}});var Fr=new Xe;Object.defineProperty(this,"ctx",{get:function(){return Fr},set:function(Or){Or instanceof Xe&&(Fr=Or)}}),Object.defineProperty(this,"path",{get:function(){return Fr.path},set:function(Or){Fr.path=Or}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(Or){tn=Or}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Or){var Qr;Qr=nt(Or),this.ctx.fillStyle=Qr.style,this.ctx.isFillTransparent=Qr.a===0,this.ctx.fillOpacity=Qr.a,this.pdf.setFillColor(Qr.r,Qr.g,Qr.b,{a:Qr.a}),this.pdf.setTextColor(Qr.r,Qr.g,Qr.b,{a:Qr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Or){var Qr=nt(Or);this.ctx.strokeStyle=Qr.style,this.ctx.isStrokeTransparent=Qr.a===0,this.ctx.strokeOpacity=Qr.a,Qr.a===0?this.pdf.setDrawColor(255,255,255):(Qr.a,this.pdf.setDrawColor(Qr.r,Qr.g,Qr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Or){["butt","round","square"].indexOf(Or)!==-1&&(this.ctx.lineCap=Or,this.pdf.setLineCap(Or))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Or){isNaN(Or)||(this.ctx.lineWidth=Or,this.pdf.setLineWidth(Or))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Or){["bevel","round","miter"].indexOf(Or)!==-1&&(this.ctx.lineJoin=Or,this.pdf.setLineJoin(Or))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Or){isNaN(Or)||(this.ctx.miterLimit=Or,this.pdf.setMiterLimit(Or))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Or){this.ctx.textBaseline=Or}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Or){["right","end","center","left","start"].indexOf(Or)!==-1&&(this.ctx.textAlign=Or)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Or){var Qr;if(this.ctx.font=Or,(Qr=/^\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(Or))!==null){var Ir=Qr[1],ur=(Qr[2],Qr[3]),pr=Qr[4],cr=Qr[5],fr=Qr[6];pr=cr==="px"?Math.floor(parseFloat(pr)):cr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var xr="";(ur==="bold"||700<=parseInt(ur,10)||Ir==="bold")&&(xr="bold"),Ir==="italic"&&(xr+="italic"),xr.length===0&&(xr="normal");for(var Gr="",un=fr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Nn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<un.length;jr++){if(this.pdf.internal.getFont(un[jr],xr,{noFallback:!0,disableWarning:!0})!==void 0){Gr=un[jr];break}if(xr==="bolditalic"&&this.pdf.internal.getFont(un[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Gr=un[jr],xr="bold";else if(this.pdf.internal.getFont(un[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Gr=un[jr],xr="normal";break}}if(Gr===""){for(jr=0;jr<un.length;jr++)if(Nn[un[jr]]){Gr=Nn[un[jr]];break}}Gr=Gr===""?"Times":Gr,this.pdf.setFont(Gr,xr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Or){this.ctx.globalCompositeOperation=Or}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Or){this.ctx.globalAlpha=Or}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Or){this.ctx.ignoreClearRect=Boolean(Or)}})};Fe.prototype.fill=function(){te.call(this,"fill",!1)},Fe.prototype.stroke=function(){te.call(this,"stroke",!1)},Fe.prototype.beginPath=function(){this.path=[{type:"begin"}]},Fe.prototype.moveTo=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ht));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Tt,ht)},Fe.prototype.closePath=function(){var Tt=new ut(0,0),ht=0;for(ht=this.path.length-1;ht!==-1;ht--)if(this.path[ht].type==="begin"&&p(this.path[ht+1])==="object"&&typeof this.path[ht+1].x=="number"){Tt=new ut(this.path[ht+1].x,this.path[ht+1].y),this.path.push({type:"lt",x:Tt.x,y:Tt.y});break}p(this.path[ht+2])==="object"&&typeof this.path[ht+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[ht+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new ut(Tt.x,Tt.y)},Fe.prototype.lineTo=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ht));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Ht.x,Ht.y)},Fe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),te.call(this,null,!0)},Fe.prototype.quadraticCurveTo=function(Tt,ht,Ht,Ft){if(isNaN(Ht)||isNaN(Ft)||isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ir=this.ctx.transform.applyToPoint(new ut(Ht,Ft)),Xt=this.ctx.transform.applyToPoint(new ut(Tt,ht));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new ut(ir.x,ir.y)},Fe.prototype.bezierCurveTo=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new ut(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new ut(Tt,ht)),Nr=this.ctx.transform.applyToPoint(new ut(Ht,Ft));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new ut(mr.x,mr.y)},Fe.prototype.arc=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft)||isNaN(ir))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Xt=Boolean(Xt),!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new ut(Tt,ht));Tt=mr.x,ht=mr.y;var Ar=this.ctx.transform.applyToPoint(new ut(0,Ht)),Nr=this.ctx.transform.applyToPoint(new ut(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-Ft)>=2*Math.PI&&(Ft=0,ir=2*Math.PI),this.path.push({type:"arc",x:Tt,y:ht,radius:Ht,startAngle:Ft,endAngle:ir,counterclockwise:Xt})},Fe.prototype.arcTo=function(Tt,ht,Ht,Ft,ir){throw new Error("arcTo not implemented.")},Fe.prototype.rect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Tt,ht),this.lineTo(Tt+Ht,ht),this.lineTo(Tt+Ht,ht+Ft),this.lineTo(Tt,ht+Ft),this.lineTo(Tt,ht),this.lineTo(Tt+Ht,ht),this.lineTo(Tt,ht)},Fe.prototype.fillRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!At.call(this)){var ir={};this.lineCap!=="butt"&&(ir.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ir.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Tt,ht,Ht,Ft),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Fe.prototype.strokeRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");_t.call(this)||(this.beginPath(),this.rect(Tt,ht,Ht,Ft),this.stroke())},Fe.prototype.clearRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Tt,ht,Ht,Ft))},Fe.prototype.save=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ht=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("q");if(this.pdf.setPage(ht),Tt){this.ctx.fontSize=this.pdf.internal.getFontSize();var Ft=new Xe(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Ft}},Fe.prototype.restore=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ht=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("Q");this.pdf.setPage(ht),Tt&&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)},Fe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var nt=function(ht){var Ht,Ft,ir,Xt;if(ht.isCanvasGradient===!0&&(ht=ht.getColor()),!ht)return{r:0,g:0,b:0,a:0,style:ht};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(ht))Xt=ir=Ft=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(ht);if(mr!==null)Ht=parseInt(mr[1]),Ft=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=1;else if((mr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(ht))!==null)Ht=parseInt(mr[1]),Ft=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof ht=="string"&&ht.charAt(0)!=="#"){var Ar=new RGBColor(ht);ht=Ar.ok?Ar.toHex():"#000000"}ht.length===4?(Ht=ht.substring(1,2),Ht+=Ht,Ft=ht.substring(2,3),Ft+=Ft,ir=ht.substring(3,4),ir+=ir):(Ht=ht.substring(1,3),Ft=ht.substring(3,5),ir=ht.substring(5,7)),Ht=parseInt(Ht,16),Ft=parseInt(Ft,16),ir=parseInt(ir,16)}}return{r:Ht,g:Ft,b:ir,a:Xt,style:ht}},At=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},_t=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Fe.prototype.fillText=function(Tt,ht,Ht,Ft){if(isNaN(ht)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Ft=isNaN(Ft)?void 0:Ft,!At.call(this)){Ht=Le.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ht,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:Ft})}},Fe.prototype.strokeText=function(Tt,ht,Ht,Ft){if(isNaN(ht)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!_t.call(this)){Ft=isNaN(Ft)?void 0:Ft,Ht=Le.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ht,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:Ft})}},Fe.prototype.measureText=function(Tt){if(typeof Tt!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var ht=this.pdf,Ht=this.pdf.internal.scaleFactor,Ft=ht.internal.getFontSize(),ir=ht.getStringUnitWidth(Tt)*Ft/ht.internal.scaleFactor;return new function(Xt){var mr=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:ir*=Math.round(96*Ht/72*1e4)/1e4})},Fe.prototype.scale=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new Lt(Tt,0,0,ht,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Fe.prototype.rotate=function(Tt){if(isNaN(Tt))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var ht=new Lt(Math.cos(Tt),Math.sin(Tt),-Math.sin(Tt),Math.cos(Tt),0,0);this.ctx.transform=this.ctx.transform.multiply(ht)},Fe.prototype.translate=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new Lt(1,0,0,1,Tt,ht);this.ctx.transform=this.ctx.transform.multiply(Ht)},Fe.prototype.transform=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new Lt(Tt,ht,Ht,Ft,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Fe.prototype.setTransform=function(Tt,ht,Ht,Ft,ir,Xt){Tt=isNaN(Tt)?1:Tt,ht=isNaN(ht)?0:ht,Ht=isNaN(Ht)?0:Ht,Ft=isNaN(Ft)?1:Ft,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new Lt(Tt,ht,Ht,Ft,ir,Xt)},Fe.prototype.drawImage=function(Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr){var Fr=this.pdf.getImageProperties(Tt),tn=1,qr=1,Or=1,Qr=1;Ft!==void 0&&Ar!==void 0&&(Or=Ar/Ft,Qr=Nr/ir,tn=Fr.width/Ft*Ar/Ft,qr=Fr.height/ir*Nr/ir),Xt===void 0&&(Xt=ht,mr=Ht,Ht=ht=0),Ft!==void 0&&Ar===void 0&&(Ar=Ft,Nr=ir),Ft===void 0&&Ar===void 0&&(Ar=Fr.width,Nr=Fr.height);var Ir=this.ctx.transform.decompose(),ur=dr(Ir.rotate.shx);Ir.scale.sx,Ir.scale.sy;for(var pr,cr=new Lt,fr=((cr=(cr=(cr=cr.multiply(Ir.translate)).multiply(Ir.skew)).multiply(Ir.scale)).applyToPoint(new ut(Ar,Nr)),cr.applyToRectangle(new ft(Xt-ht*Or,mr-Ht*Qr,Ft*tn,ir*qr))),xr=ne.call(this,fr),Gr=[],un=0;un<xr.length;un+=1)Gr.indexOf(xr[un])===-1&&Gr.push(xr[un]);if(Gr.sort(),this.autoPaging)for(var Nn=Gr[0],jr=Gr[Gr.length-1],Tn=Nn;Tn<jr+1;Tn++){if(this.pdf.setPage(Tn),this.ctx.clip_path.length!==0){var gn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Y(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),be.call(this,"fill",!0),this.path=gn}var Pn=JSON.parse(JSON.stringify(fr));Pn=Y([Pn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(Tt,"jpg",Pn.x,Pn.y,Pn.w,Pn.h,null,null,ur)}else this.pdf.addImage(Tt,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,ur)};var ne=function(ht,Ht,Ft){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,Ft=Ft||this.pdf.internal.pageSize.height,ht.type){default:case"mt":case"lt":ir.push(Math.floor((ht.y+this.posY)/Ft)+1);break;case"arc":ir.push(Math.floor((ht.y+this.posY-ht.radius)/Ft)+1),ir.push(Math.floor((ht.y+this.posY+ht.radius)/Ft)+1);break;case"qct":var Xt=ot(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ht.x1,ht.y1,ht.x,ht.y);ir.push(Math.floor(Xt.y/Ft)+1),ir.push(Math.floor((Xt.y+Xt.h)/Ft)+1);break;case"bct":var mr=xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ht.x1,ht.y1,ht.x2,ht.y2,ht.x,ht.y);ir.push(Math.floor(mr.y/Ft)+1),ir.push(Math.floor((mr.y+mr.h)/Ft)+1);break;case"rect":ir.push(Math.floor((ht.y+this.posY)/Ft)+1),ir.push(Math.floor((ht.y+ht.h+this.posY)/Ft)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)ue.call(this);return ir},ue=function(){var ht=this.fillStyle,Ht=this.strokeStyle,Ft=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=ht,this.strokeStyle=Ht,this.font=Ft,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},Y=function(ht,Ht,Ft){for(var ir=0;ir<ht.length;ir++)switch(ht[ir].type){case"bct":ht[ir].x2+=Ht,ht[ir].y2+=Ft;case"qct":ht[ir].x1+=Ht,ht[ir].y1+=Ft;case"mt":case"lt":case"arc":default:ht[ir].x+=Ht,ht[ir].y+=Ft}return ht},te=function(ht,Ht){for(var Ft,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,Fr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),Or=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var Ir=ne.call(this,qr[Qr]),ur=0;ur<Ir.length;ur+=1)Or.indexOf(Ir[ur])===-1&&Or.push(Ir[ur]);for(Qr=0;Qr<Or.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<Or[Qr];)ue.call(this);if(Or.sort(),this.autoPaging){var pr=Or[0],cr=Or[Or.length-1];for(Qr=pr;Qr<cr+1;Qr++){if(this.pdf.setPage(Qr),this.fillStyle=Xt,this.strokeStyle=mr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=Fr,this.ctx.clip_path.length!==0){var fr=this.path;Ft=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Y(Ft,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),be.call(this,ht,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=Y(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||be.call(this,ht,Ht)}}else be.call(this,ht,Ht);this.path=tn},be=function(ht,Ht){if((ht!=="stroke"||Ht||!_t.call(this))&&(ht==="stroke"||Ht||!At.call(this))){var Ft=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,mr=0;mr<Xt.length;mr++){var Ar=Xt[mr];switch(Ar.type){case"begin":Ft.push({begin:!0});break;case"close":Ft.push({close:!0});break;case"mt":Ft.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=Ft.length;if(!isNaN(Xt[mr-1].x)){var Fr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(Ft[Nr-1].close!==!0&&Ft[Nr-1].begin!==!0){Ft[Nr-1].deltas.push(Fr),Ft[Nr-1].abs.push(Ar);break}}}break;case"bct":Fr=[Ar.x1-Xt[mr-1].x,Ar.y1-Xt[mr-1].y,Ar.x2-Xt[mr-1].x,Ar.y2-Xt[mr-1].y,Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y],Ft[Ft.length-1].deltas.push(Fr);break;case"qct":var tn=Xt[mr-1].x+2/3*(Ar.x1-Xt[mr-1].x),qr=Xt[mr-1].y+2/3*(Ar.y1-Xt[mr-1].y),Or=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),Ir=Ar.x,ur=Ar.y;Fr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,Or-Xt[mr-1].x,Qr-Xt[mr-1].y,Ir-Xt[mr-1].x,ur-Xt[mr-1].y],Ft[Ft.length-1].deltas.push(Fr);break;case"arc":Ft.push({deltas:[],abs:[],arc:!0}),Array.isArray(Ft[Ft.length-1].abs)&&Ft[Ft.length-1].abs.push(Ar)}}for(ir=Ht?null:ht==="stroke"?"stroke":"fill",mr=0;mr<Ft.length;mr++){if(Ft[mr].arc)for(var pr=Ft[mr].abs,cr=0;cr<pr.length;cr++){var fr=pr[cr];if(fr.startAngle!==void 0){var xr=dr(fr.startAngle),Gr=dr(fr.endAngle),un=fr.x,Nn=fr.y;Re.call(this,un,Nn,fr.radius,xr,Gr,fr.counterclockwise,ir,Ht)}else Dt.call(this,fr.x,fr.y)}!Ft[mr].arc&&Ft[mr].close!==!0&&Ft[mr].begin!==!0&&(un=Ft[mr].start.x,Nn=Ft[mr].start.y,Kt.call(this,Ft[mr].deltas,un,Nn,null,null))}ir&&$e.call(this,ir),Ht&>.call(this)}},Le=function(ht){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Ft=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return ht-Ft;case"top":return ht+Ht-Ft;case"hanging":return ht+Ht-2*Ft;case"middle":return ht+Ht/2-Ft;case"ideographic":return ht;case"alphabetic":default:return ht}};Fe.prototype.createLinearGradient=function(){var Tt=function(){};return Tt.colorStops=[],Tt.addColorStop=function(ht,Ht){this.colorStops.push([ht,Ht])},Tt.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Tt.isCanvasGradient=!0,Tt},Fe.prototype.createPattern=function(){return this.createLinearGradient()},Fe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Re=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var Fr=er(ir),tn=er(Xt),qr=Qt.call(this,Ft,Fr,tn,mr),Or=0;Or<qr.length;Or++){var Qr=qr[Or];Or===0&&Wt.call(this,Qr.x1+ht,Qr.y1+Ht),Yt.call(this,ht,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?gt.call(this):$e.call(this,Ar)},$e=function(ht){switch(ht){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},gt=function(){this.pdf.clip()},Wt=function(ht,Ht){this.pdf.internal.out(le(ht)+" "+Ne(Ht)+" m")},$t=function(ht){var Ht;switch(ht.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var Ft=this.ctx.transform.applyToPoint(new ut(ht.x,ht.y)),ir=this.ctx.transform.decompose(),Xt=new Lt;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(ht.text),Nr=this.ctx.transform.applyToRectangle(new ft(ht.x,ht.y,Ar.w,Ar.h)),Fr=Xt.applyToRectangle(new ft(ht.x,ht.y-Ar.h,Ar.w,Ar.h)),tn=ne.call(this,Fr),qr=[],Or=0;Or<tn.length;Or+=1)qr.indexOf(tn[Or])===-1&&qr.push(tn[Or]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],Ir=qr[qr.length-1],ur=Qr;ur<Ir+1;ur++){if(this.pdf.setPage(ur),this.ctx.clip_path.length!==0){var pr=this.path;mr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Y(mr,this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY),be.call(this,"fill",!0),this.path=pr}var cr=JSON.parse(JSON.stringify(Nr));if(cr=Y([cr],this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY)[0],.01<=ht.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*ht.scale)}this.pdf.text(ht.text,cr.x,cr.y,{angle:ht.angle,align:Ht,renderingMode:ht.renderingMode,maxWidth:ht.maxWidth}),.01<=ht.scale&&this.pdf.setFontSize(fr)}else .01<=ht.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*ht.scale)),this.pdf.text(ht.text,Ft.x+this.posX,Ft.y+this.posY,{angle:ht.angle,align:Ht,renderingMode:ht.renderingMode,maxWidth:ht.maxWidth}),.01<=ht.scale&&this.pdf.setFontSize(fr)},Dt=function(ht,Ht,Ft,ir){Ft=Ft||0,ir=ir||0,this.pdf.internal.out(le(ht+Ft)+" "+Ne(Ht+ir)+" l")},Kt=function(ht,Ht,Ft){return this.pdf.lines(ht,Ht,Ft,null,null)},Yt=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([he(je(Ft+ht)),he(Ke(ir+Ht)),he(je(Xt+ht)),he(Ke(mr+Ht)),he(je(Ar+ht)),he(Ke(Nr+Ht)),"c"].join(" "))},Qt=function(ht,Ht,Ft,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=Ft;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],Fr=Math.PI/2,tn=ir?-1:1,qr=Ht,Or=Math.min(Xt,Math.abs(Ar-mr));1e-5<Or;){var Qr=qr+tn*Math.min(Or,Fr);Nr.push(Mt.call(this,ht,qr,Qr)),Or-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(ht,Ht,Ft){var ir=(Ft-Ht)/2,Xt=ht*Math.cos(ir),mr=ht*Math.sin(ir),Ar=Xt,Nr=-mr,Fr=Ar*Ar+Nr*Nr,tn=Fr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*Fr*tn)-tn)/(Ar*mr-Nr*Xt),Or=Ar-qr*Nr,Qr=Nr+qr*Ar,Ir=Or,ur=-Qr,pr=ir+Ht,cr=Math.cos(pr),fr=Math.sin(pr);return{x1:ht*Math.cos(Ht),y1:ht*Math.sin(Ht),x2:Or*cr-Qr*fr,y2:Or*fr+Qr*cr,x3:Ir*cr-ur*fr,y3:Ir*fr+ur*cr,x4:ht*Math.cos(Ft),y4:ht*Math.sin(Ft)}},dr=function(ht){return 180*ht/Math.PI},er=function(ht){return ht*Math.PI/180},ot=function(ht,Ht,Ft,ir,Xt,mr){var Ar=ht+.5*(Ft-ht),Nr=Ht+.5*(ir-Ht),Fr=Xt+.5*(Ft-Xt),tn=mr+.5*(ir-mr),qr=Math.min(ht,Xt,Ar,Fr),Or=Math.max(ht,Xt,Ar,Fr),Qr=Math.min(Ht,mr,Nr,tn),Ir=Math.max(Ht,mr,Nr,tn);return new ft(qr,Qr,Or-qr,Ir-Qr)},xt=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){for(var Fr,tn,qr,Or,Qr,Ir,ur,pr,cr,fr,xr,Gr,un,Nn=Ft-ht,jr=ir-Ht,Tn=Xt-Ft,gn=mr-ir,Pn=Ar-Xt,zn=Nr-mr,qn=0;qn<41;qn++)pr=(Ir=(tn=ht+(Fr=qn/40)*Nn)+Fr*((Or=Ft+Fr*Tn)-tn))+Fr*(Or+Fr*(Xt+Fr*Pn-Or)-Ir),cr=(ur=(qr=Ht+Fr*jr)+Fr*((Qr=ir+Fr*gn)-qr))+Fr*(Qr+Fr*(mr+Fr*zn-Qr)-ur),un=qn==0?(Gr=fr=pr,xr=cr):(fr=Math.min(fr,pr),xr=Math.min(xr,cr),Gr=Math.max(Gr,pr),Math.max(un,cr));return new ft(Math.round(fr),Math.round(xr),Math.round(Gr-fr),Math.round(un-xr))},ut=function(ht,Ht){var Ft=ht||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ft},set:function(Ar){isNaN(Ar)||(Ft=parseFloat(Ar))}});var ir=Ht||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Ar){isNaN(Ar)||(ir=parseFloat(Ar))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Ar){Xt=Ar.toString()}}),this},ft=function(ht,Ht,Ft,ir){ut.call(this,ht,Ht),this.type="rect";var Xt=Ft||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Nr){isNaN(Nr)||(Xt=parseFloat(Nr))}});var mr=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return mr},set:function(Nr){isNaN(Nr)||(mr=parseFloat(Nr))}}),this},Lt=function(ht,Ht,Ft,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(Fr){Ar[0]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(Fr){Ar[1]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(Fr){Ar[2]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(Fr){Ar[3]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(Fr){Ar[4]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(Fr){Ar[5]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(ht)?1:ht,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(Ft)?0:Ft,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};Lt.prototype.multiply=function(Tt){var ht=Tt.sx*this.sx+Tt.shy*this.shx,Ht=Tt.sx*this.shy+Tt.shy*this.sy,Ft=Tt.shx*this.sx+Tt.sy*this.shx,ir=Tt.shx*this.shy+Tt.sy*this.sy,Xt=Tt.tx*this.sx+Tt.ty*this.shx+this.tx,mr=Tt.tx*this.shy+Tt.ty*this.sy+this.ty;return new Lt(ht,Ht,Ft,ir,Xt,mr)},Lt.prototype.decompose=function(){var Tt=this.sx,ht=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(Tt*Tt+ht*ht),Ar=(Tt/=mr)*Ht+(ht/=mr)*Ft;Ht-=Tt*Ar,Ft-=ht*Ar;var Nr=Math.sqrt(Ht*Ht+Ft*Ft);return Ar/=Nr,Tt*(Ft/=Nr)<ht*(Ht/=Nr)&&(Tt=-Tt,ht=-ht,Ar=-Ar,mr=-mr),{scale:new Lt(mr,0,0,Nr,0,0),translate:new Lt(1,0,0,1,ir,Xt),rotate:new Lt(Tt,ht,-ht,Tt,0,0),skew:new Lt(1,0,Ar,1,0,0)}},Lt.prototype.applyToPoint=function(Tt){var ht=Tt.x*this.sx+Tt.y*this.shx+this.tx,Ht=Tt.x*this.shy+Tt.y*this.sy+this.ty;return new ut(ht,Ht)},Lt.prototype.applyToRectangle=function(Tt){var ht=this.applyToPoint(Tt),Ht=this.applyToPoint(new ut(Tt.x+Tt.w,Tt.y+Tt.h));return new ft(ht.x,ht.y,Ht.x-ht.x,Ht.y-ht.y)},Lt.prototype.clone=function(){var Tt=this.sx,ht=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty;return new Lt(Tt,ht,Ht,Ft,ir,Xt)}}(vt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=vt.API,s=function(pe){var he,le,Ne,je,Ke,Xe,Fe,nt,At,_t;for(/[^\x00-\xFF]/.test(pe),le=[],Ne=0,je=(pe+=he="\0\0\0\0".slice(pe.length%4||4)).length;Ne<je;Ne+=4)(Ke=(pe.charCodeAt(Ne)<<24)+(pe.charCodeAt(Ne+1)<<16)+(pe.charCodeAt(Ne+2)<<8)+pe.charCodeAt(Ne+3))!==0?(Xe=(Ke=((Ke=((Ke=((Ke=(Ke-(_t=Ke%85))/85)-(At=Ke%85))/85)-(nt=Ke%85))/85)-(Fe=Ke%85))/85)%85,le.push(Xe+33,Fe+33,nt+33,At+33,_t+33)):le.push(122);return function(ne,ue){for(var Y=he.length;0<Y;Y--)ne.pop()}(le),String.fromCharCode.apply(String,le)+"~>"},d=function(pe){var he,le,Ne,je,Ke,Xe=String,Fe="length",nt="charCodeAt",At="slice",_t="replace";for(pe[At](-2),pe=pe[At](0,-2)[_t](/\s/g,"")[_t]("z","!!!!!"),Ne=[],je=0,Ke=(pe+=he="uuuuu"[At](pe[Fe]%5||5))[Fe];je<Ke;je+=5)le=52200625*(pe[nt](je)-33)+614125*(pe[nt](je+1)-33)+7225*(pe[nt](je+2)-33)+85*(pe[nt](je+3)-33)+(pe[nt](je+4)-33),Ne.push(255&le>>24,255&le>>16,255&le>>8,255&le);return function(ne,ue){for(var Y=he[Fe];0<Y;Y--)ne.pop()}(Ne),Xe.fromCharCode.apply(Xe,Ne)},m=function(pe){for(var he="",le=0;le<pe.length;le+=1)he+=("0"+pe.charCodeAt(le).toString(16)).slice(-2);return he+=">"},w=function(pe){var he=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((pe=pe.replace(/\s/g,"")).indexOf(">")!==-1&&(pe=pe.substr(0,pe.indexOf(">"))),pe.length%2&&(pe+="0"),he.test(pe)===!1)return"";for(var le="",Ne=0;Ne<pe.length;Ne+=2)le+=String.fromCharCode("0x"+(pe[Ne]+pe[Ne+1]));return le},b=function(pe,he){he=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},he);for(var le,Ne,je=[],Ke=pe.length;Ke--;)je[Ke]=pe.charCodeAt(Ke);return le=t.adler32cs.from(pe),(Ne=new Deflater(6)).append(new Uint8Array(je)),pe=Ne.flush(),(je=new Uint8Array(pe.length+6)).set(new Uint8Array([120,156])),je.set(pe,2),je.set(new Uint8Array([255&le,le>>8&255,le>>16&255,le>>24&255]),pe.length+2),pe=String.fromCharCode.apply(null,je)},t.processDataByFilters=function(Ae,pe){var he=0,le=Ae||"",Ne=[];for(typeof(pe=pe||[])=="string"&&(pe=[pe]),he=0;he<pe.length;he+=1)switch(pe[he]){case"ASCII85Decode":case"/ASCII85Decode":le=d(le),Ne.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":le=s(le),Ne.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":le=w(le),Ne.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":le=m(le),Ne.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":le=b(le),Ne.push("/FlateDecode");break;default:throw'The filter: "'+pe[he]+'" is not implemented'}return{data:le,reverseChain:Ne.reverse().join(" ")}},(E=vt.API).loadFile=function(Ae,pe,he){var le;pe=pe||!0,he=he||function(){};try{le=function(Ne,je,Ke){var Xe=new XMLHttpRequest,Fe=[],nt=0,At=function(ne){var ue=ne.length,Y=String.fromCharCode;for(nt=0;nt<ue;nt+=1)Fe.push(Y(255&ne.charCodeAt(nt)));return Fe.join("")};if(Xe.open("GET",Ne,!je),Xe.overrideMimeType("text/plain; charset=x-user-defined"),je===!1&&(Xe.onload=function(){return At(this.responseText)}),Xe.send(null),Xe.status===200)return je?At(Xe.responseText):void 0;console.warn('Unable to load file "'+Ne+'"')}(Ae,pe)}catch(Ne){le=void 0}return le},E.loadImageFile=E.loadFile,A=vt.API,S=typeof window!="undefined"&&window||typeof g!="undefined"&&g,T=function(pe){var he=p(pe);return he==="undefined"?"undefined":he==="string"||pe instanceof String?"string":he==="number"||pe instanceof Number?"number":he==="function"||pe instanceof Function?"function":pe&&pe.constructor===Array?"array":pe&&pe.nodeType===1?"element":he==="object"?"object":"unknown"},O=function(pe,he){var le=document.createElement(pe);if(he.className&&(le.className=he.className),he.innerHTML){le.innerHTML=he.innerHTML;for(var Ne=le.getElementsByTagName("script"),je=Ne.length;0<je--;null)Ne[je].parentNode.removeChild(Ne[je])}for(var Ke in he.style)le.style[Ke]=he.style[Ke];return le},(((x=function Ae(pe){var he=Object.assign(Ae.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ae.template))),le=Ae.convert(Promise.resolve(),he);return le=(le=le.setProgress(1,Ae,1,[Ae])).set(pe)}).prototype=Object.create(Promise.prototype)).constructor=x).convert=function(Ae,pe){return Ae.__proto__=pe||x.prototype,Ae},x.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:{}}},x.prototype.from=function(Ae,pe){return this.then(function(){switch(pe=pe||function(he){switch(T(he)){case"string":return"string";case"element":return he.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(Ae)){case"string":return this.set({src:O("div",{innerHTML:Ae})});case"element":return this.set({src:Ae});case"canvas":return this.set({canvas:Ae});case"img":return this.set({img:Ae});default:return this.error("Unknown source type.")}})},x.prototype.to=function(Ae){switch(Ae){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.")}},x.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 Ae={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},pe=function he(le,Ne){for(var je=le.nodeType===3?document.createTextNode(le.nodeValue):le.cloneNode(!1),Ke=le.firstChild;Ke;Ke=Ke.nextSibling)Ne!==!0&&Ke.nodeType===1&&Ke.nodeName==="SCRIPT"||je.appendChild(he(Ke,Ne));return le.nodeType===1&&(le.nodeName==="CANVAS"?(je.width=le.width,je.height=le.height,je.getContext("2d").drawImage(le,0,0)):le.nodeName!=="TEXTAREA"&&le.nodeName!=="SELECT"||(je.value=le.value),je.addEventListener("load",function(){je.scrollTop=le.scrollTop,je.scrollLeft=le.scrollLeft},!0)),je}(this.prop.src,this.opt.html2canvas.javascriptEnabled);pe.tagName==="BODY"&&(Ae.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=O("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=O("div",{className:"html2pdf__container",style:Ae}),this.prop.container.appendChild(pe),this.prop.container.firstChild.appendChild(O("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"})},x.prototype.toCanvas=function(){var Ae=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ae).then(function(){var pe=Object.assign({},this.opt.html2canvas);if(delete pe.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,pe)}).then(function(pe){(this.opt.html2canvas.onrendered||function(){})(pe),this.prop.canvas=pe,document.body.removeChild(this.prop.overlay)})},x.prototype.toContext2d=function(){var Ae=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ae).then(function(){var pe=this.opt.jsPDF,he=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete he.onrendered,pe.context2d.autoPaging=!0,pe.context2d.posX=this.opt.x,pe.context2d.posY=this.opt.y,he.windowHeight=he.windowHeight||0,he.windowHeight=he.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):he.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,he)}).then(function(pe){(this.opt.html2canvas.onrendered||function(){})(pe),this.prop.canvas=pe,document.body.removeChild(this.prop.overlay)})},x.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ae=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ae})},x.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},x.prototype.output=function(Ae,pe,he){return(he=he||"pdf").toLowerCase()==="img"||he.toLowerCase()==="image"?this.outputImg(Ae,pe):this.outputPdf(Ae,pe)},x.prototype.outputPdf=function(Ae,pe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ae,pe)})},x.prototype.outputImg=function(Ae,pe){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ae){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 "'+Ae+'" is not supported.'}})},x.prototype.isHtml2CanvasLoaded=function(){var Ae=S.html2canvas!==void 0;return Ae||console.error("html2canvas not loaded."),Ae},x.prototype.save=function(Ae){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ae?{filename:Ae}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},x.prototype.doCallback=function(Ae){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},x.prototype.set=function(Ae){if(T(Ae)!=="object")return this;var pe=Object.keys(Ae||{}).map(function(he){if(he in x.template.prop)return function(){this.prop[he]=Ae[he]};switch(he){case"margin":return this.setMargin.bind(this,Ae.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ae.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ae.pageSize);default:return function(){this.opt[he]=Ae[he]}}},this);return this.then(function(){return this.thenList(pe)})},x.prototype.get=function(Ae,pe){return this.then(function(){var he=Ae in x.template.prop?this.prop[Ae]:this.opt[Ae];return pe?pe(he):he})},x.prototype.setMargin=function(Ae){return this.then(function(){switch(T(Ae)){case"number":Ae=[Ae,Ae,Ae,Ae];case"array":if(Ae.length===2&&(Ae=[Ae[0],Ae[1],Ae[0],Ae[1]]),Ae.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ae}).then(this.setPageSize)},x.prototype.setPageSize=function(Ae){function pe(he,le){return Math.floor(he*le/72*96)}return this.then(function(){(Ae=Ae||vt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ae.inner={width:Ae.width-this.opt.margin[1]-this.opt.margin[3],height:Ae.height-this.opt.margin[0]-this.opt.margin[2]},Ae.inner.px={width:pe(Ae.inner.width,Ae.k),height:pe(Ae.inner.height,Ae.k)},Ae.inner.ratio=Ae.inner.height/Ae.inner.width),this.prop.pageSize=Ae})},x.prototype.setProgress=function(Ae,pe,he,le){return Ae!=null&&(this.progress.val=Ae),pe!=null&&(this.progress.state=pe),he!=null&&(this.progress.n=he),le!=null&&(this.progress.stack=le),this.progress.ratio=this.progress.val/this.progress.state,this},x.prototype.updateProgress=function(Ae,pe,he,le){return this.setProgress(Ae?this.progress.val+Ae:null,pe||null,he?this.progress.n+he:null,le?this.progress.stack.concat(le):null)},x.prototype.then=function(Ae,pe){var he=this;return this.thenCore(Ae,pe,function(le,Ne){return he.updateProgress(null,null,1,[le]),Promise.prototype.then.call(this,function(je){return he.updateProgress(null,le),je}).then(le,Ne).then(function(je){return he.updateProgress(1),je})})},x.prototype.thenCore=function(Ae,pe,he){he=he||Promise.prototype.then;var le=this;Ae&&(Ae=Ae.bind(le)),pe&&(pe=pe.bind(le));var Ne=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?le:x.convert(Object.assign({},le),Promise.prototype),je=he.call(Ne,Ae,pe);return x.convert(je,le.__proto__)},x.prototype.thenExternal=function(Ae,pe){return Promise.prototype.then.call(this,Ae,pe)},x.prototype.thenList=function(Ae){var pe=this;return Ae.forEach(function(he){pe=pe.thenCore(he)}),pe},x.prototype.catch=function(Ae){Ae&&(Ae=Ae.bind(this));var pe=Promise.prototype.catch.call(this,Ae);return x.convert(pe,this)},x.prototype.catchExternal=function(Ae){return Promise.prototype.catch.call(this,Ae)},x.prototype.error=function(Ae){return this.then(function(){throw new Error(Ae)})},x.prototype.using=x.prototype.set,x.prototype.saveAs=x.prototype.save,x.prototype.export=x.prototype.output,x.prototype.run=x.prototype.then,vt.getPageSize=function(Ae,pe,he){if(p(Ae)==="object"){var le=Ae;Ae=le.orientation,pe=le.unit||pe,he=le.format||he}pe=pe||"mm",he=he||"a4",Ae=(""+(Ae||"P")).toLowerCase();var Ne=(""+he).toLowerCase(),je={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(pe){case"pt":var Ke=1;break;case"mm":Ke=72/25.4;break;case"cm":Ke=72/2.54;break;case"in":Ke=72;break;case"px":Ke=.75;break;case"pc":case"em":Ke=12;break;case"ex":Ke=6;break;default:throw"Invalid unit: "+pe}if(je.hasOwnProperty(Ne))var Xe=je[Ne][1]/Ke,Fe=je[Ne][0]/Ke;else try{Xe=he[1],Fe=he[0]}catch(At){throw new Error("Invalid format: "+he)}if(Ae==="p"||Ae==="portrait"){if(Ae="p",Xe<Fe){var nt=Fe;Fe=Xe,Xe=nt}}else{if(Ae!=="l"&&Ae!=="landscape")throw"Invalid orientation: "+Ae;Ae="l",Fe<Xe&&(nt=Fe,Fe=Xe,Xe=nt)}return{width:Fe,height:Xe,unit:pe,k:Ke}},A.html=function(Ae,pe){(pe=pe||{}).callback=pe.callback||function(){},pe.html2canvas=pe.html2canvas||{},pe.html2canvas.canvas=pe.html2canvas.canvas||this.canvas,pe.jsPDF=pe.jsPDF||this,pe.jsPDF;var he=new x(pe);return pe.worker?he:he.from(Ae).doCallback()},vt.API.addJS=function(Ae){return N=Ae,this.internal.events.subscribe("postPutResources",function(pe){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),_=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+N+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&_!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(F=vt.API).events.push(["postPutResources",function(){var Ae=this,pe=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var he=Ae.outline.render().split(/\r\n/),le=0;le<he.length;le++){var Ne=he[le],je=pe.exec(Ne);if(je!=null){var Ke=je[1];Ae.internal.newObjectDeferredBegin(Ke,!1)}Ae.internal.write(Ne)}if(this.outline.createNamedDestinations){var Xe=this.internal.pages.length,Fe=[];for(le=0;le<Xe;le++){var nt=Ae.internal.newObject();Fe.push(nt);var At=Ae.internal.getPageInfo(le+1);Ae.internal.write("<< /D["+At.objId+" 0 R /XYZ null null null]>> endobj")}var _t=Ae.internal.newObject();for(Ae.internal.write("<< /Names [ "),le=0;le<Fe.length;le++)Ae.internal.write("(page_"+(le+1)+")"+Fe[le]+" 0 R");Ae.internal.write(" ] >>","endobj"),Ae.internal.newObject(),Ae.internal.write("<< /Dests "+_t+" 0 R"),Ae.internal.write(">>","endobj")}}]),F.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),F.events.push(["initialized",function(){var Ae=this;Ae.outline={createNamedDestinations:!1,root:{children:[]}},Ae.outline.add=function(pe,he,le){var Ne={title:he,options:le,children:[]};return pe==null&&(pe=this.root),pe.children.push(Ne),Ne},Ae.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Ae,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Ae.outline.genIds_r=function(pe){pe.id=Ae.internal.newObjectDeferred();for(var he=0;he<pe.children.length;he++)this.genIds_r(pe.children[he])},Ae.outline.renderRoot=function(pe){this.objStart(pe),this.line("/Type /Outlines"),0<pe.children.length&&(this.line("/First "+this.makeRef(pe.children[0])),this.line("/Last "+this.makeRef(pe.children[pe.children.length-1]))),this.line("/Count "+this.count_r({count:0},pe)),this.objEnd()},Ae.outline.renderItems=function(pe){this.ctx.pdf.internal.getCoordinateString;for(var he=this.ctx.pdf.internal.getVerticalCoordinateString,le=0;le<pe.children.length;le++){var Ne=pe.children[le];this.objStart(Ne),this.line("/Title "+this.makeString(Ne.title)),this.line("/Parent "+this.makeRef(pe)),0<le&&this.line("/Prev "+this.makeRef(pe.children[le-1])),le<pe.children.length-1&&this.line("/Next "+this.makeRef(pe.children[le+1])),0<Ne.children.length&&(this.line("/First "+this.makeRef(Ne.children[0])),this.line("/Last "+this.makeRef(Ne.children[Ne.children.length-1])));var je=this.count=this.count_r({count:0},Ne);if(0<je&&this.line("/Count "+je),Ne.options&&Ne.options.pageNumber){var Ke=Ae.internal.getPageInfo(Ne.options.pageNumber);this.line("/Dest ["+Ke.objId+" 0 R /XYZ 0 "+he(0)+" 0]")}this.objEnd()}for(le=0;le<pe.children.length;le++)Ne=pe.children[le],this.renderItems(Ne)},Ae.outline.line=function(pe){this.ctx.val+=pe+`\r
|
|
|
`},Ae.outline.makeRef=function(pe){return pe.id+" 0 R"},Ae.outline.makeString=function(pe){return"("+Ae.internal.pdfEscape(pe)+")"},Ae.outline.objStart=function(pe){this.ctx.val+=`\r
|
|
|
`+pe.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},Ae.outline.objEnd=function(pe){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},Ae.outline.count_r=function(pe,he){for(var le=0;le<he.children.length;le++)pe.count++,this.count_r(pe,he.children[le]);return pe.count}}]),k=vt.API,P=function(){var pe=typeof Deflater=="function";if(!pe)throw new Error("requires deflate.js for compression");return pe},j=function(pe,he,le,Ne){var je=5,Ke=W;switch(Ne){case k.image_compression.FAST:je=3,Ke=H;break;case k.image_compression.MEDIUM:je=6,Ke=V;break;case k.image_compression.SLOW:je=9,Ke=z}pe=B(pe,he,le,Ke);var Xe=new Uint8Array(K(je)),Fe=R(pe),nt=new Deflater(je),At=nt.append(pe),_t=nt.flush(),ne=Xe.length+At.length+_t.length,ue=new Uint8Array(ne+4);return ue.set(Xe),ue.set(At,Xe.length),ue.set(_t,Xe.length+At.length),ue[ne++]=Fe>>>24&255,ue[ne++]=Fe>>>16&255,ue[ne++]=Fe>>>8&255,ue[ne++]=255&Fe,k.arrayBufferToBinaryString(ue)},K=function(pe,he){var le=Math.LOG2E*Math.log(32768)-8<<4|8,Ne=le<<8;return Ne|=Math.min(3,(he-1&255)>>1)<<6,Ne|=0,[le,255&(Ne+=31-Ne%31)]},R=function(pe,he){for(var le,Ne=1,je=0,Ke=pe.length,Xe=0;0<Ke;){for(Ke-=le=he<Ke?he:Ke;je+=Ne+=pe[Xe++],--le;);Ne%=65521,je%=65521}return(je<<16|Ne)>>>0},B=function(pe,he,le,Ne){for(var je,Ke,Xe,Fe=pe.length/he,nt=new Uint8Array(pe.length+Fe),At=q(),_t=0;_t<Fe;_t++){if(Xe=_t*he,je=pe.subarray(Xe,Xe+he),Ne)nt.set(Ne(je,le,Ke),Xe+_t);else{for(var ne=0,ue=At.length,Y=[];ne<ue;ne++)Y[ne]=At[ne](je,le,Ke);var te=fe(Y.concat());nt.set(Y[te],Xe+_t)}Ke=je}return nt},U=function(pe,he,le){var Ne=Array.apply([],pe);return Ne.unshift(0),Ne},H=function(pe,he,le){var Ne,je=[],Ke=0,Xe=pe.length;for(je[0]=1;Ke<Xe;Ke++)Ne=pe[Ke-he]||0,je[Ke+1]=pe[Ke]-Ne+256&255;return je},W=function(pe,he,le){var Ne,je=[],Ke=0,Xe=pe.length;for(je[0]=2;Ke<Xe;Ke++)Ne=le&&le[Ke]||0,je[Ke+1]=pe[Ke]-Ne+256&255;return je},V=function(pe,he,le){var Ne,je,Ke=[],Xe=0,Fe=pe.length;for(Ke[0]=3;Xe<Fe;Xe++)Ne=pe[Xe-he]||0,je=le&&le[Xe]||0,Ke[Xe+1]=pe[Xe]+256-(Ne+je>>>1)&255;return Ke},z=function(pe,he,le){var Ne,je,Ke,Xe,Fe=[],nt=0,At=pe.length;for(Fe[0]=4;nt<At;nt++)Ne=pe[nt-he]||0,je=le&&le[nt]||0,Ke=le&&le[nt-he]||0,Xe=X(Ne,je,Ke),Fe[nt+1]=pe[nt]-Xe+256&255;return Fe},X=function(pe,he,le){var Ne=pe+he-le,je=Math.abs(Ne-pe),Ke=Math.abs(Ne-he),Xe=Math.abs(Ne-le);return je<=Ke&&je<=Xe?pe:Ke<=Xe?he:le},q=function(){return[U,H,W,V,z]},fe=function(pe){for(var he,le,Ne,je=0,Ke=pe.length;je<Ke;)((he=G(pe[je].slice(1)))<le||!le)&&(le=he,Ne=je),je++;return Ne},G=function(pe){for(var he=0,le=pe.length,Ne=0;he<le;)Ne+=Math.abs(pe[he++]);return Ne},k.processPNG=function(Ae,pe,he,le,Ne){var je,Ke,Xe,Fe,nt,At,_t=this.color_spaces.DEVICE_RGB,ne=this.decode.FLATE_DECODE,ue=8;if(this.isArrayBuffer(Ae)&&(Ae=new Uint8Array(Ae)),this.isArrayBufferView(Ae)){if(typeof PNG!="function"||typeof Bt!="function")throw new Error("PNG support requires png.js and zlib.js");if(Ae=(je=new PNG(Ae)).imgData,ue=je.bits,_t=je.colorSpace,Fe=je.colors,[4,6].indexOf(je.colorType)!==-1){if(je.bits===8)for(var Y,te=(Qt=je.pixelBitlength==32?new Uint32Array(je.decodePixels().buffer):je.pixelBitlength==16?new Uint16Array(je.decodePixels().buffer):new Uint8Array(je.decodePixels().buffer)).length,be=new Uint8Array(te*je.colors),Le=new Uint8Array(te),Re=je.pixelBitlength-je.bits,$e=0,gt=0;$e<te;$e++){for(Wt=Qt[$e],Y=0;Y<Re;)be[gt++]=Wt>>>Y&255,Y+=je.bits;Le[$e]=Wt>>>Y&255}if(je.bits===16){te=(Qt=new Uint32Array(je.decodePixels().buffer)).length,be=new Uint8Array(te*(32/je.pixelBitlength)*je.colors),Le=new Uint8Array(te*(32/je.pixelBitlength));for(var Wt,$t=1<je.colors,Dt=gt=$e=0;$e<te;)Wt=Qt[$e++],be[gt++]=Wt>>>0&255,$t&&(be[gt++]=Wt>>>16&255,Wt=Qt[$e++],be[gt++]=Wt>>>0&255),Le[Dt++]=Wt>>>16&255;ue=8}le!==k.image_compression.NONE&&P()?(Ae=j(be,je.width*je.colors,je.colors,le),At=j(Le,je.width,1,le)):(Ae=be,At=Le,ne=null)}if(je.colorType===3&&(_t=this.color_spaces.INDEXED,nt=je.palette,je.transparency.indexed)){var Kt=je.transparency.indexed,Yt=0;for($e=0,te=Kt.length;$e<te;++$e)Yt+=Kt[$e];if((Yt/=255)==te-1&&Kt.indexOf(0)!==-1)Xe=[Kt.indexOf(0)];else if(Yt!==te){var Qt=je.decodePixels();for(Le=new Uint8Array(Qt.length),$e=0,te=Qt.length;$e<te;$e++)Le[$e]=Kt[Qt[$e]];At=j(Le,je.width,1)}}var Mt=function(dr){var er;switch(dr){case k.image_compression.FAST:er=11;break;case k.image_compression.MEDIUM:er=13;break;case k.image_compression.SLOW:er=14;break;default:er=12}return er}(le);return Ke=ne===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Fe+" /BitsPerComponent "+ue+" /Columns "+je.width:"/Colors "+Fe+" /BitsPerComponent "+ue+" /Columns "+je.width,(this.isArrayBuffer(Ae)||this.isArrayBufferView(Ae))&&(Ae=this.arrayBufferToBinaryString(Ae)),(At&&this.isArrayBuffer(At)||this.isArrayBufferView(At))&&(At=this.arrayBufferToBinaryString(At)),this.createImageInfo(Ae,je.width,je.height,_t,ue,ne,pe,he,Ke,Xe,nt,At,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(ve=vt.API).processGIF89A=function(Ae,pe,he,le,Ne){var je=new dt(Ae),Ke=je.width,Xe=je.height,Fe=[];je.decodeAndBlitFrameRGBA(0,Fe);var nt={data:Fe,width:Ke,height:Xe},At=new yt(100).encode(nt,100);return ve.processJPEG.call(this,At,pe,he,le)},ve.processGIF87A=ve.processGIF89A,(Se=vt.API).processBMP=function(Ae,pe,he,le,Ne){var je=new It(Ae,!1),Ke=je.width,Xe=je.height,Fe={data:je.getData(),width:Ke,height:Xe},nt=new yt(100).encode(Fe,100);return Se.processJPEG.call(this,nt,pe,he,le)},vt.API.setLanguage=function(Ae){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:"FYRO Macedonian",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"}[Ae]!==void 0&&(this.internal.languageSettings.languageCode=Ae,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},ge=vt.API,Pe=ge.getCharWidthsArray=function(Ae,pe){var he,le,Ne,je=(pe=pe||{}).font||this.internal.getFont(),Ke=pe.fontSize||this.internal.getFontSize(),Xe=pe.charSpace||this.internal.getCharSpace(),Fe=pe.widths?pe.widths:je.metadata.Unicode.widths,nt=Fe.fof?Fe.fof:1,At=pe.kerning?pe.kerning:je.metadata.Unicode.kerning,_t=At.fof?At.fof:1,ne=0,ue=Fe[0]||nt,Y=[];for(he=0,le=Ae.length;he<le;he++)Ne=Ae.charCodeAt(he),typeof je.metadata.widthOfString=="function"?Y.push((je.metadata.widthOfGlyph(je.metadata.characterToGlyph(Ne))+Xe*(1e3/Ke)||0)/1e3):Y.push((Fe[Ne]||ue)/nt+(At[Ne]&&At[Ne][ne]||0)/_t),ne=Ne;return Y},Ge=ge.getArraySum=function(Ae){for(var pe=Ae.length,he=0;pe;)he+=Ae[--pe];return he},pt=ge.getStringUnitWidth=function(Ae,pe){var he=(pe=pe||{}).fontSize||this.internal.getFontSize(),le=pe.font||this.internal.getFont(),Ne=pe.charSpace||this.internal.getCharSpace();return typeof le.metadata.widthOfString=="function"?le.metadata.widthOfString(Ae,he,Ne)/he:Ge(Pe.apply(this,arguments))},Te=function(pe,he,le,Ne){for(var je=[],Ke=0,Xe=pe.length,Fe=0;Ke!==Xe&&Fe+he[Ke]<le;)Fe+=he[Ke],Ke++;je.push(pe.slice(0,Ke));var nt=Ke;for(Fe=0;Ke!==Xe;)Fe+he[Ke]>Ne&&(je.push(pe.slice(nt,Ke)),Fe=0,nt=Ke),Fe+=he[Ke],Ke++;return nt!==Ke&&je.push(pe.slice(nt,Ke)),je},xe=function(pe,he,le){le||(le={});var Ne,je,Ke,Xe,Fe,nt,At=[],_t=[At],ne=le.textIndent||0,ue=0,Y=0,te=pe.split(" "),be=Pe.apply(this,[" ",le])[0];if(nt=le.lineIndent===-1?te[0].length+2:le.lineIndent||0){var Le=Array(nt).join(" "),Re=[];te.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Re=Re.concat(Wt.map(function($t,Dt){return(Dt&&$t.length?`
|
|
|
`:"")+$t})):Re.push(Wt[0])}),te=Re,nt=pt.apply(this,[Le,le])}for(Ke=0,Xe=te.length;Ke<Xe;Ke++){var $e=0;if(Ne=te[Ke],nt&&Ne[0]==`
|
|
|
`&&(Ne=Ne.substr(1),$e=1),je=Pe.apply(this,[Ne,le]),he<ne+ue+(Y=Ge(je))||$e){if(he<Y){for(Fe=Te.apply(this,[Ne,je,he-(ne+ue),he]),At.push(Fe.shift()),At=[Fe.pop()];Fe.length;)_t.push([Fe.shift()]);Y=Ge(je.slice(Ne.length-(At[0]?At[0].length:0)))}else At=[Ne];_t.push(At),ne=Y+nt,ue=be}else At.push(Ne),ne+=ue+Y,ue=be}if(nt)var gt=function($t,Dt){return(Dt?Le:"")+$t.join(" ")};else gt=function($t){return $t.join(" ")};return _t.map(gt)},ge.splitTextToSize=function(Ae,pe,he){var le,Ne=(he=he||{}).fontSize||this.internal.getFontSize(),je=function(At){var _t={0:1},ne={};if(At.widths&&At.kerning)return{widths:At.widths,kerning:At.kerning};var ue=this.internal.getFont(At.fontName,At.fontStyle),Y="Unicode";return ue.metadata[Y]?{widths:ue.metadata[Y].widths||_t,kerning:ue.metadata[Y].kerning||ne}:{font:ue.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,he);le=Array.isArray(Ae)?Ae:Ae.split(/\r?\n/);var Ke=1*this.internal.scaleFactor*pe/Ne;je.textIndent=he.textIndent?1*he.textIndent*this.internal.scaleFactor/Ne:0,je.lineIndent=he.lineIndent;var Xe,Fe,nt=[];for(Xe=0,Fe=le.length;Xe<Fe;Xe++)nt=nt.concat(xe.apply(this,[le[Xe],Ke,je]));return nt},lt=vt.API,de={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(Ie=function(pe){for(var he="klmnopqrstuvwxyz",le={},Ne=0;Ne<he.length;Ne++)le[he[Ne]]="0123456789abcdef"[Ne];var je,Ke,Xe,Fe,nt,At={},_t=1,ne=At,ue=[],Y="",te="",be=pe.length-1;for(Ne=1;Ne!=be;)nt=pe[Ne],Ne+=1,nt=="'"?Ke=Ke?(Fe=Ke.join(""),je):[]:Ke?Ke.push(nt):nt=="{"?(ue.push([ne,Fe]),ne={},Fe=je):nt=="}"?((Xe=ue.pop())[0][Xe[1]]=ne,Fe=je,ne=Xe[0]):nt=="-"?_t=-1:Fe===je?le.hasOwnProperty(nt)?(Y+=le[nt],Fe=parseInt(Y,16)*_t,_t=1,Y=""):Y+=nt:le.hasOwnProperty(nt)?(te+=le[nt],ne[Fe]=parseInt(te,16)*_t,_t=1,Fe=je,te=""):te+=nt;return At})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},ee={Unicode:{Courier:de,"Courier-Bold":de,"Courier-BoldOblique":de,"Courier-Oblique":de,Helvetica:de,"Helvetica-Bold":de,"Helvetica-BoldOblique":de,"Helvetica-Oblique":de,"Times-Roman":de,"Times-Bold":de,"Times-BoldItalic":de,"Times-Italic":de}},se={Unicode:{"Courier-Oblique":Ie("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Ie("{'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":Ie("{'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:Ie("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Ie("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Ie("{'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:Ie("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Ie("{'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":Ie("{'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:Ie("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Ie("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Ie("{'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":Ie("{'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":Ie("{'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}}}")}},lt.events.push(["addFont",function(Ae){var pe,he,le,Ne=Ae.font,je="Unicode";(pe=se[je][Ne.postScriptName])&&((he=Ne.metadata[je]?Ne.metadata[je]:Ne.metadata[je]={}).widths=pe.widths,he.kerning=pe.kerning),(le=ee[je][Ne.postScriptName])&&((he=Ne.metadata[je]?Ne.metadata[je]:Ne.metadata[je]={}).encoding=le).codePages&&le.codePages.length&&(Ne.encoding=le.codePages[0])}]),ke=vt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),ke.API.events.push(["addFont",function(Ae){var pe=Ae.font,he=Ae.instance;if(he!==void 0&&he.existsFileInVFS(pe.postScriptName)){var le=he.getFileFromVFS(pe.postScriptName);if(typeof le!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+pe.postScriptName+"').");pe.metadata=ke.API.TTFFont.open(pe.postScriptName,pe.fontName,le,pe.encoding),pe.metadata.Unicode=pe.metadata.Unicode||{encoding:{},kerning:{},widths:[]},pe.metadata.glyIdsUsed=[0]}else if(pe.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+pe.postScriptName+"').")}]),(Ce=vt.API).addSvg=function(Ae,pe,he,le,Ne){if(pe===void 0||he===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function je(Kt){for(var Yt=parseFloat(Kt[1]),Qt=parseFloat(Kt[2]),Mt=[],dr=3,er=Kt.length;dr<er;)Kt[dr]==="c"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2]),parseFloat(Kt[dr+3]),parseFloat(Kt[dr+4]),parseFloat(Kt[dr+5]),parseFloat(Kt[dr+6])]),dr+=7):Kt[dr]==="l"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2])]),dr+=3):dr+=1;return[Yt,Qt,Mt]}var Ke,Xe,Fe,nt,At,_t,ne,ue,Y=(nt=document,ue=nt.createElement("iframe"),At=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ne=(_t=nt).createElement("style")).type="text/css",ne.styleSheet?ne.styleSheet.cssText=At:ne.appendChild(_t.createTextNode(At)),_t.getElementsByTagName("head")[0].appendChild(ne),ue.name="childframe",ue.setAttribute("width",0),ue.setAttribute("height",0),ue.setAttribute("frameborder","0"),ue.setAttribute("scrolling","no"),ue.setAttribute("seamless","seamless"),ue.setAttribute("class","jsPDF_sillysvg_iframe"),nt.body.appendChild(ue),ue),te=(Ke=Ae,(Fe=((Xe=Y).contentWindow||Xe.contentDocument).document).write(Ke),Fe.close(),Fe.getElementsByTagName("svg")[0]),be=[1,1],Le=parseFloat(te.getAttribute("width")),Re=parseFloat(te.getAttribute("height"));Le&&Re&&(le&&Ne?be=[le/Le,Ne/Re]:le?be=[le/Le,le/Le]:Ne&&(be=[Ne/Re,Ne/Re]));var $e,gt,Wt,$t,Dt=te.childNodes;for($e=0,gt=Dt.length;$e<gt;$e++)(Wt=Dt[$e]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=je(Wt.getAttribute("d").split(" ")))[0]=$t[0]*be[0]+pe,$t[1]=$t[1]*be[1]+he,this.lines.call(this,$t[2],$t[0],$t[1],be));return this},Ce.addSVG=Ce.addSvg,Ce.addSvgAsImage=function(Ae,pe,he,le,Ne,je,Ke,Xe){if(isNaN(pe)||isNaN(he))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(le)||isNaN(Ne))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Fe=document.createElement("canvas");Fe.width=le,Fe.height=Ne;var nt=Fe.getContext("2d");return nt.fillStyle="#fff",nt.fillRect(0,0,Fe.width,Fe.height),canvg(Fe,Ae,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Fe.toDataURL("image/jpeg",1),pe,he,le,Ne,Ke,Xe),this},vt.API.putTotalPages=function(Ae){var pe,he=0;he=parseInt(this.internal.getFont().id.substr(1),10)<15?(pe=new RegExp(Ae,"g"),this.internal.getNumberOfPages()):(pe=new RegExp(this.pdfEscape16(Ae,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var le=1;le<=this.internal.getNumberOfPages();le++)for(var Ne=0;Ne<this.internal.pages[le].length;Ne++)this.internal.pages[le][Ne]=this.internal.pages[le][Ne].replace(pe,he);return this},vt.API.viewerPreferences=function(Ae,pe){var he;Ae=Ae||{},pe=pe||!1;var le,Ne,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}},Ke=Object.keys(je),Xe=[],Fe=0,nt=0,At=0,_t=!0;function ne(Y,te){var be,Le=!1;for(be=0;be<Y.length;be+=1)Y[be]===te&&(Le=!0);return Le}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(je)),this.internal.viewerpreferences.isSubscribed=!1),he=this.internal.viewerpreferences.configuration,Ae==="reset"||pe===!0){var ue=Ke.length;for(At=0;At<ue;At+=1)he[Ke[At]].value=he[Ke[At]].defaultValue,he[Ke[At]].explicitSet=!1}if(p(Ae)==="object"){for(le in Ae)if(Ne=Ae[le],ne(Ke,le)&&Ne!==void 0){if(he[le].type==="boolean"&&typeof Ne=="boolean")he[le].value=Ne;else if(he[le].type==="name"&&ne(he[le].valueSet,Ne))he[le].value=Ne;else if(he[le].type==="integer"&&Number.isInteger(Ne))he[le].value=Ne;else if(he[le].type==="array"){for(Fe=0;Fe<Ne.length;Fe+=1)if(_t=!0,Ne[Fe].length===1&&typeof Ne[Fe][0]=="number")Xe.push(String(Ne[Fe]-1));else if(1<Ne[Fe].length){for(nt=0;nt<Ne[Fe].length;nt+=1)typeof Ne[Fe][nt]!="number"&&(_t=!1);_t===!0&&Xe.push([Ne[Fe][0]-1,Ne[Fe][1]-1].join(" "))}he[le].value="["+Xe.join(" ")+"]"}else he[le].value=he[le].defaultValue;he[le].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Y,te=[];for(Y in he)he[Y].explicitSet===!0&&(he[Y].type==="name"?te.push("/"+Y+" /"+he[Y].value):te.push("/"+Y+" "+he[Y].value));te.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+te.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=he,this},ze=vt.API,me=ae=_e="",ze.addMetadata=function(Ae,pe){return ae=pe||"http://jspdf.default.namespaceuri/",_e=Ae,this.internal.events.subscribe("postPutResources",function(){if(_e){var he='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ae+'"><jspdf:metadata>',le=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Ne=unescape(encodeURIComponent(he)),je=unescape(encodeURIComponent(_e)),Ke=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Xe=unescape(encodeURIComponent("</x:xmpmeta>")),Fe=Ne.length+je.length+Ke.length+le.length+Xe.length;me=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Fe+" >>"),this.internal.write("stream"),this.internal.write(le+Ne+je+Ke+Xe),this.internal.write("endstream"),this.internal.write("endobj")}else me=""}),this.internal.events.subscribe("putCatalog",function(){me&&this.internal.write("/Metadata "+me+" 0 R")}),this},function(Ae,pe){var he=Ae.API,le=he.pdfEscape16=function(Ke,Xe){for(var Fe,nt=Xe.metadata.Unicode.widths,At=["","0","00","000","0000"],_t=[""],ne=0,ue=Ke.length;ne<ue;++ne){if(Fe=Xe.metadata.characterToGlyph(Ke.charCodeAt(ne)),Xe.metadata.glyIdsUsed.push(Fe),Xe.metadata.toUnicode[Fe]=Ke.charCodeAt(ne),nt.indexOf(Fe)==-1&&(nt.push(Fe),nt.push([parseInt(Xe.metadata.widthOfGlyph(Fe),10)])),Fe=="0")return _t.join("");Fe=Fe.toString(16),_t.push(At[4-Fe.length],Fe)}return _t.join("")},Ne=function(Xe){var Fe,nt,At,_t,ne,ue,Y;for(ne=`/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`,At=[],ue=0,Y=(nt=Object.keys(Xe).sort(function(te,be){return te-be})).length;ue<Y;ue++)Fe=nt[ue],100<=At.length&&(ne+=`
|
|
|
`+At.length+` beginbfchar
|
|
|
`+At.join(`
|
|
|
`)+`
|
|
|
endbfchar`,At=[]),_t=("0000"+Xe[Fe].toString(16)).slice(-4),Fe=("0000"+(+Fe).toString(16)).slice(-4),At.push("<"+Fe+"><"+_t+">");return At.length&&(ne+=`
|
|
|
`+At.length+` beginbfchar
|
|
|
`+At.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),ne+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};he.events.push(["putFont",function(Ke){!function(Xe,Fe,nt,At){if(Xe.metadata instanceof Ae.API.TTFFont&&Xe.encoding==="Identity-H"){for(var _t=Xe.metadata.Unicode.widths,ne=Xe.metadata.subset.encode(Xe.metadata.glyIdsUsed,1),ue="",Y=0;Y<ne.length;Y++)ue+=String.fromCharCode(ne[Y]);var te=nt();At({data:ue,addLength1:!0}),Fe("endobj");var be=nt();At({data:Ne(Xe.metadata.toUnicode),addLength1:!0}),Fe("endobj");var Le=nt();Fe("<<"),Fe("/Type /FontDescriptor"),Fe("/FontName /"+Xe.fontName),Fe("/FontFile2 "+te+" 0 R"),Fe("/FontBBox "+Ae.API.PDFObject.convert(Xe.metadata.bbox)),Fe("/Flags "+Xe.metadata.flags),Fe("/StemV "+Xe.metadata.stemV),Fe("/ItalicAngle "+Xe.metadata.italicAngle),Fe("/Ascent "+Xe.metadata.ascender),Fe("/Descent "+Xe.metadata.decender),Fe("/CapHeight "+Xe.metadata.capHeight),Fe(">>"),Fe("endobj");var Re=nt();Fe("<<"),Fe("/Type /Font"),Fe("/BaseFont /"+Xe.fontName),Fe("/FontDescriptor "+Le+" 0 R"),Fe("/W "+Ae.API.PDFObject.convert(_t)),Fe("/CIDToGIDMap /Identity"),Fe("/DW 1000"),Fe("/Subtype /CIDFontType2"),Fe("/CIDSystemInfo"),Fe("<<"),Fe("/Supplement 0"),Fe("/Registry (Adobe)"),Fe("/Ordering ("+Xe.encoding+")"),Fe(">>"),Fe(">>"),Fe("endobj"),Xe.objectNumber=nt(),Fe("<<"),Fe("/Type /Font"),Fe("/Subtype /Type0"),Fe("/ToUnicode "+be+" 0 R"),Fe("/BaseFont /"+Xe.fontName),Fe("/Encoding /"+Xe.encoding),Fe("/DescendantFonts ["+Re+" 0 R]"),Fe(">>"),Fe("endobj"),Xe.isAlreadyPutted=!0}}(Ke.font,Ke.out,Ke.newObject,Ke.putStream)}]),he.events.push(["putFont",function(Ke){!function(Xe,Fe,nt,At){if(Xe.metadata instanceof Ae.API.TTFFont&&Xe.encoding==="WinAnsiEncoding"){Xe.metadata.Unicode.widths;for(var _t=Xe.metadata.rawData,ne="",ue=0;ue<_t.length;ue++)ne+=String.fromCharCode(_t[ue]);var Y=nt();At({data:ne,addLength1:!0}),Fe("endobj");var te=nt();At({data:Ne(Xe.metadata.toUnicode),addLength1:!0}),Fe("endobj");var be=nt();for(Fe("<<"),Fe("/Descent "+Xe.metadata.decender),Fe("/CapHeight "+Xe.metadata.capHeight),Fe("/StemV "+Xe.metadata.stemV),Fe("/Type /FontDescriptor"),Fe("/FontFile2 "+Y+" 0 R"),Fe("/Flags 96"),Fe("/FontBBox "+Ae.API.PDFObject.convert(Xe.metadata.bbox)),Fe("/FontName /"+Xe.fontName),Fe("/ItalicAngle "+Xe.metadata.italicAngle),Fe("/Ascent "+Xe.metadata.ascender),Fe(">>"),Fe("endobj"),Xe.objectNumber=nt(),ue=0;ue<Xe.metadata.hmtx.widths.length;ue++)Xe.metadata.hmtx.widths[ue]=parseInt(Xe.metadata.hmtx.widths[ue]*(1e3/Xe.metadata.head.unitsPerEm));Fe("<</Subtype/TrueType/Type/Font/ToUnicode "+te+" 0 R/BaseFont/"+Xe.fontName+"/FontDescriptor "+be+" 0 R/Encoding/"+Xe.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ae.API.PDFObject.convert(Xe.metadata.hmtx.widths)+">>"),Fe("endobj"),Xe.isAlreadyPutted=!0}}(Ke.font,Ke.out,Ke.newObject,Ke.putStream)}]);var je=function(Xe){var Fe,nt,At=Xe.text||"",_t=Xe.x,ne=Xe.y,ue=Xe.options||{},Y=Xe.mutex||{},te=Y.pdfEscape,be=Y.activeFontKey,Le=Y.fonts,Re=(Y.activeFontSize,""),$e=0,gt="",Wt=Le[nt=be].encoding;if(Le[nt].encoding!=="Identity-H")return{text:At,x:_t,y:ne,options:ue,mutex:Y};for(gt=At,nt=be,Object.prototype.toString.call(At)==="[object Array]"&&(gt=At[0]),$e=0;$e<gt.length;$e+=1)Le[nt].metadata.hasOwnProperty("cmap")&&(Fe=Le[nt].metadata.cmap.unicode.codeMap[gt[$e].charCodeAt(0)]),Fe||gt[$e].charCodeAt(0)<256&&Le[nt].metadata.hasOwnProperty("Unicode")?Re+=gt[$e]:Re+="";var $t="";return parseInt(nt.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Dt){for(var Kt="",Yt=0;Yt<Dt.length;Yt++)Kt+=""+Dt.charCodeAt(Yt).toString(16);return Kt}(te(Re,nt)):Wt==="Identity-H"&&($t=le(Re,Le[nt])),Y.isHex=!0,{text:$t,x:_t,y:ne,options:ue,mutex:Y}};he.events.push(["postProcessText",function(Ke){var Xe=Ke.text||"",Fe=Ke.x,nt=Ke.y,At=Ke.options,_t=Ke.mutex,ne=(At.lang,[]),ue={text:Xe,x:Fe,y:nt,options:At,mutex:_t};if(Object.prototype.toString.call(Xe)==="[object Array]"){var Y=0;for(Y=0;Y<Xe.length;Y+=1)Object.prototype.toString.call(Xe[Y])==="[object Array]"&&Xe[Y].length===3?ne.push([je(Object.assign({},ue,{text:Xe[Y][0]})).text,Xe[Y][1],Xe[Y][2]]):ne.push(je(Object.assign({},ue,{text:Xe[Y]})).text);Ke.text=ne}else Ke.text=je(Object.assign({},ue,{text:Xe})).text}])}(vt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),Oe=vt.API,Ze=function(pe){return pe!==void 0&&(pe.vFS===void 0&&(pe.vFS={}),!0)},Oe.existsFileInVFS=function(Ae){return!!Ze(this.internal)&&this.internal.vFS[Ae]!==void 0},Oe.addFileToVFS=function(Ae,pe){return Ze(this.internal),this.internal.vFS[Ae]=pe,this},Oe.getFileFromVFS=function(Ae){return Ze(this.internal),this.internal.vFS[Ae]!==void 0?this.internal.vFS[Ae]:null},vt.API.addHTML=function(Ae,pe,he,le,Ne){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof pe!="number"&&(le=pe,Ne=he),typeof le=="function"&&(Ne=le,le=null),typeof Ne!="function"&&(Ne=function(){});var je=this.internal,Ke=je.scaleFactor,Xe=je.pageSize.getWidth(),Fe=je.pageSize.getHeight();if((le=le||{}).onrendered=function(At){pe=parseInt(pe)||0,he=parseInt(he)||0;var _t=le.dim||{},ne=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},le.margin),ue=_t.h||Math.min(Fe,At.height/Ke),Y=_t.w||Math.min(Xe,At.width/Ke)-pe,te=le.format||"JPEG",be=le.imageCompression||"SLOW";if(At.height>Fe-ne.top-ne.bottom&&le.pagesplit){var Le=function(Dt,Kt,Yt,Qt,Mt){var dr=document.createElement("canvas");dr.height=Mt,dr.width=Qt;var er=dr.getContext("2d");return er.mozImageSmoothingEnabled=!1,er.webkitImageSmoothingEnabled=!1,er.msImageSmoothingEnabled=!1,er.imageSmoothingEnabled=!1,er.fillStyle=le.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Dt,Kt,Yt,Qt,Mt,0,0,Qt,Mt),dr},Re=function(){for(var $t,Dt,Kt=0,Yt=0,Qt={},Mt=!1;;){var dr;if(Yt=0,Qt.top=Kt!==0?ne.top:he,Qt.left=Kt!==0?ne.left:pe,Mt=(Xe-ne.left-ne.right)*Ke<At.width,ne.useFor==="content"?Kt===0?($t=Math.min((Xe-ne.left)*Ke,At.width),Dt=Math.min((Fe-ne.top)*Ke,At.height-Kt)):($t=Math.min(Xe*Ke,At.width),Dt=Math.min(Fe*Ke,At.height-Kt),Qt.top=0):($t=Math.min((Xe-ne.left-ne.right)*Ke,At.width),Dt=Math.min((Fe-ne.bottom-ne.top)*Ke,At.height-Kt)),Mt)for(;;){ne.useFor==="content"&&(Yt===0?$t=Math.min((Xe-ne.left)*Ke,At.width):($t=Math.min(Xe*Ke,At.width-Yt),Qt.left=0));var er=[dr=Le(At,Yt,Kt,$t,Dt),Qt.left,Qt.top,dr.width/Ke,dr.height/Ke,te,null,be];if(this.addImage.apply(this,er),(Yt+=$t)>=At.width)break;this.addPage()}else er=[dr=Le(At,0,Kt,$t,Dt),Qt.left,Qt.top,dr.width/Ke,dr.height/Ke,te,null,be],this.addImage.apply(this,er);if((Kt+=Dt)>=At.height)break;this.addPage()}Ne(Y,Kt,null,er)}.bind(this);if(At.nodeName==="CANVAS"){var $e=new Image;$e.onload=Re,$e.src=At.toDataURL("image/png"),At=$e}else Re()}else{var gt=Math.random().toString(35),Wt=[At,pe,he,Y,ue,te,gt,be];this.addImage.apply(this,Wt),Ne(Y,ue,gt,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!le.rstz)return html2canvas(Ae,le);if(typeof rasterizeHTML=="undefined")return null;var nt="drawDocument";return typeof Ae=="string"&&(nt=/^http/.test(Ae)?"drawURL":"drawHTML"),le.width=le.width||Xe*Ke,rasterizeHTML[nt](Ae,void 0,le).then(function(At){le.onrendered(At.image)},function(At){Ne(null,At)})},function(Ae){var pe,he,le,Ne,je,Ke,Xe,Fe,nt,At,_t,ne,ue,Y,te,be,Le,Re,$e,gt;pe=function(){return function(Kt){return Dt.prototype=Kt,new Dt};function Dt(){}}(),At=function(Kt){var Yt,Qt,Mt,dr,er,ot,xt;for(Qt=0,Mt=Kt.length,Yt=void 0,ot=dr=!1;!dr&&Qt!==Mt;)(Yt=Kt[Qt]=Kt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!ot&&Qt!==-1;)(Yt=Kt[Qt]=Kt[Qt].trimRight())&&(ot=!0),Qt--;for(er=/\s+$/g,xt=!0,Qt=0;Qt!==Mt;)Kt[Qt]!="\u2028"&&(Yt=Kt[Qt].replace(/\s+/g," "),xt&&(Yt=Yt.trimLeft()),Yt&&(xt=er.test(Yt)),Kt[Qt]=Yt),Qt++;return Kt},ne=function(Kt){var Yt,Qt,Mt;for(Yt=void 0,Qt=(Mt=Kt.split(",")).shift();!Yt&&Qt;)Yt=le[Qt.trim().toLowerCase()],Qt=Mt.shift();return Yt},ue=function(Kt){var Yt;return-1<(Kt=Kt==="auto"?"0px":Kt).indexOf("em")&&!isNaN(Number(Kt.replace("em","")))&&(Kt=18.719*Number(Kt.replace("em",""))+"px"),-1<Kt.indexOf("pt")&&!isNaN(Number(Kt.replace("pt","")))&&(Kt=1.333*Number(Kt.replace("pt",""))+"px"),(Yt=Y[Kt])?Yt:(Yt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Kt])!==void 0||(Yt=parseFloat(Kt))?Y[Kt]=Yt/16:(Yt=Kt.match(/([\d\.]+)(px)/),Array.isArray(Yt)&&Yt.length===3?Y[Kt]=parseFloat(Yt[1])/16:Y[Kt]=1)},nt=function(Kt){var Yt,Qt,Mt,dr,er;return er=Kt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Yt={})["font-family"]=ne((Mt=function(xt){return xt=xt.replace(/-\D/g,function(ut){return ut.charAt(1).toUpperCase()}),dr[xt]})("font-family"))||"times",Yt["font-style"]=Ne[Mt("font-style")]||"normal",Yt["text-align"]=je[Mt("text-align")]||"left",(Qt=Ke[Mt("font-weight")]||"normal")==="bold"&&(Yt["font-style"]==="normal"?Yt["font-style"]=Qt:Yt["font-style"]=Qt+Yt["font-style"]),Yt["font-size"]=ue(Mt("font-size"))||1,Yt["line-height"]=ue(Mt("line-height"))||1,Yt.display=Mt("display")==="inline"?"inline":"block",Qt=Yt.display==="block",Yt["margin-top"]=Qt&&ue(Mt("margin-top"))||0,Yt["margin-bottom"]=Qt&&ue(Mt("margin-bottom"))||0,Yt["padding-top"]=Qt&&ue(Mt("padding-top"))||0,Yt["padding-bottom"]=Qt&&ue(Mt("padding-bottom"))||0,Yt["margin-left"]=Qt&&ue(Mt("margin-left"))||0,Yt["margin-right"]=Qt&&ue(Mt("margin-right"))||0,Yt["padding-left"]=Qt&&ue(Mt("padding-left"))||0,Yt["padding-right"]=Qt&&ue(Mt("padding-right"))||0,Yt["page-break-before"]=Mt("page-break-before")||"auto",Yt.float=Xe[Mt("cssFloat")]||"none",Yt.clear=Fe[Mt("clear")]||"none",Yt.color=Mt("color"),Yt},te=function(Kt,Yt,Qt){var Mt,dr,er,ot,xt;if(er=!1,ot=dr=void 0,Mt=Qt["#"+Kt.id])if(typeof Mt=="function")er=Mt(Kt,Yt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Yt),dr++;if(Mt=Qt[Kt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Yt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Yt),dr++;for(xt=typeof Kt.className=="string"?Kt.className.split(" "):[],dr=0;dr<xt.length;dr++)if(Mt=Qt["."+xt[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Yt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Yt),dr++;return er},gt=function(Kt,Yt){var Qt,Mt,dr,er,ot,xt,ut,ft,Lt;for(Qt=[],Mt=[],dr=0,Lt=Kt.rows[0].cells.length,ut=Kt.clientWidth;dr<Lt;)ft=Kt.rows[0].cells[dr],Mt[dr]={name:ft.textContent.toLowerCase().replace(/\s+/g,""),prompt:ft.textContent.replace(/\r?\n/g,""),width:ft.clientWidth/ut*Yt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<Kt.rows.length;){for(xt=Kt.rows[dr],ot={},er=0;er<xt.cells.length;)ot[Mt[er].name]=xt.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(ot),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;he=function(Kt,Yt,Qt){var Mt,dr,er,ot,xt,ut,ft,Lt;for(dr=Kt.childNodes,Mt=void 0,(xt=(er=nt(Kt)).display==="block")&&(Yt.setBlockBoundary(),Yt.setBlockStyle(er)),ot=0,ut=dr.length;ot<ut;){if(p(Mt=dr[ot])==="object"){if(Yt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var Tt=Mt,ht=Yt.pdf.margins_doc.top;Yt.pdf.internal.events.subscribe("addPage",function(cr){Yt.y=ht,he(Tt,Yt,Qt),Yt.pdf.margins_doc.top=Yt.y+10,Yt.y+=10},!1)}if(Mt.nodeType===8&&Mt.nodeName==="#comment")~Mt.textContent.indexOf("ADD_PAGE")&&(Yt.pdf.addPage(),Yt.y=Yt.pdf.margins_doc.top);else if(Mt.nodeType!==1||Wt[Mt.nodeName])if(Mt.nodeType===3){var Ht=Mt.nodeValue;if(Mt.nodeValue&&Mt.parentNode.nodeName==="LI")if(Mt.parentNode.parentNode.nodeName==="OL")Ht=$t+++". "+Ht;else{var Ft=er["font-size"],ir=(3-.75*Ft)*Yt.pdf.internal.scaleFactor,Xt=.75*Ft*Yt.pdf.internal.scaleFactor,mr=1.74*Ft/Yt.pdf.internal.scaleFactor;Lt=function(fr,xr){this.pdf.circle(fr+ir,xr+Xt,mr,"FD")}}16&Mt.ownerDocument.body.compareDocumentPosition(Mt)&&Yt.addText(Ht,er)}else typeof Mt=="string"&&Yt.addText(Mt,er);else{var Ar;if(Mt.nodeName==="IMG"){var Nr=Mt.getAttribute("src");Ar=be[Yt.pdf.sHashCode(Nr)||Nr]}if(Ar){Yt.pdf.internal.pageSize.getHeight()-Yt.pdf.margins_doc.bottom<Yt.y+Mt.height&&Yt.y>Yt.pdf.margins_doc.top&&(Yt.pdf.addPage(),Yt.y=Yt.pdf.margins_doc.top,Yt.executeWatchFunctions(Mt));var Fr=nt(Mt),tn=Yt.x,qr=12/Yt.pdf.internal.scaleFactor,Or=(Fr["margin-left"]+Fr["padding-left"])*qr,Qr=(Fr["margin-right"]+Fr["padding-right"])*qr,Ir=(Fr["margin-top"]+Fr["padding-top"])*qr,ur=(Fr["margin-bottom"]+Fr["padding-bottom"])*qr;Fr.float!==void 0&&Fr.float==="right"?tn+=Yt.settings.width-Mt.width-Qr:tn+=Or,Yt.pdf.addImage(Ar,tn,Yt.y+Ir,Mt.width,Mt.height),Ar=void 0,Fr.float==="right"||Fr.float==="left"?(Yt.watchFunctions.push(function(cr,fr,xr,Gr){return Yt.y>=fr?(Yt.x+=cr,Yt.settings.width+=xr,!0):!!(Gr&&Gr.nodeType===1&&!Wt[Gr.nodeName]&&Yt.x+Gr.width>Yt.pdf.margins_doc.left+Yt.pdf.margins_doc.width)&&(Yt.x+=cr,Yt.y=fr,Yt.settings.width+=xr,!0)}.bind(this,Fr.float==="left"?-Mt.width-Or-Qr:0,Yt.y+Mt.height+Ir+ur,Mt.width)),Yt.watchFunctions.push(function(cr,fr,xr){return!(Yt.y<cr&&fr===Yt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&nt(xr).clear==="both"&&(Yt.y=cr,!0)}.bind(this,Yt.y+Mt.height,Yt.pdf.internal.getNumberOfPages())),Yt.settings.width-=Mt.width+Or+Qr,Fr.float==="left"&&(Yt.x+=Mt.width+Or+Qr)):Yt.y+=Mt.height+Ir+ur}else if(Mt.nodeName==="TABLE")ft=gt(Mt,Yt),Yt.y+=10,Yt.pdf.table(Yt.x,Yt.y,ft.rows,ft.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Yt.pdf.margins_doc,css:nt(Mt)}),Yt.y=Yt.pdf.lastCellPos.y+Yt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,te(Mt,Yt,Qt)||he(Mt,Yt,Qt),Yt.y+=10;else if(Mt.nodeName==="LI"){var pr=Yt.x;Yt.x+=20/Yt.pdf.internal.scaleFactor,Yt.y+=3,te(Mt,Yt,Qt)||he(Mt,Yt,Qt),Yt.x=pr}else Mt.nodeName==="BR"?(Yt.y+=er["font-size"]*Yt.pdf.internal.scaleFactor,Yt.addText("\u2028",pe(er))):te(Mt,Yt,Qt)||he(Mt,Yt,Qt)}}ot++}if(Qt.outY=Yt.y,xt)return Yt.setBlockBoundary(Lt)},be={},Le=function(Kt,Yt,Qt,Mt){var dr,er=Kt.getElementsByTagName("img"),ot=er.length,xt=0;function ut(){Yt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function ft(Lt,Tt,ht){if(Lt){var Ht=new Image;dr=++xt,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=Tt||Ht.width||0,Ht.height=ht||Ht.height||0),Ht.width+Ht.height)){var Ft=Yt.pdf.sHashCode(Lt)||Lt;be[Ft]=be[Ft]||Ht}--xt||ut()},Ht.src=Lt}}for(;ot--;)ft(er[ot].getAttribute("src"),er[ot].width,er[ot].height);return xt||ut()},Re=function(Kt,Yt,Qt){var Mt=Kt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Yt.pdf.internal.write,er=Yt.y;Yt.pdf.internal.write=function(){},he(Mt,Yt,Qt);var ot=Math.ceil(Yt.y-er)+5;Yt.y=er,Yt.pdf.internal.write=dr,Yt.pdf.margins_doc.bottom+=ot;for(var xt=function(Tt){var ht=Tt!==void 0?Tt.pageNumber:1,Ht=Yt.y;Yt.y=Yt.pdf.internal.pageSize.getHeight()-Yt.pdf.margins_doc.bottom,Yt.pdf.margins_doc.bottom-=ot;for(var Ft=Mt.getElementsByTagName("span"),ir=0;ir<Ft.length;++ir)-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(Ft[ir].innerHTML=ht),-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(Ft[ir].innerHTML="###jsPDFVarTotalPages###");he(Mt,Yt,Qt),Yt.pdf.margins_doc.bottom+=ot,Yt.y=Ht},ut=Mt.getElementsByTagName("span"),ft=0;ft<ut.length;++ft)-1<(" "+ut[ft].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Yt.pdf.internal.events.subscribe("htmlRenderingFinished",Yt.pdf.putTotalPages.bind(Yt.pdf,"###jsPDFVarTotalPages###"),!0);Yt.pdf.internal.events.subscribe("addPage",xt,!1),xt(),Wt.FOOTER=1}},$e=function(Kt,Yt,Qt,Mt,dr,er){if(!Yt)return!1;var ot,xt,ut,ft;typeof Yt=="string"||Yt.parentNode||(Yt=""+Yt.innerHTML),typeof Yt=="string"&&(ot=Yt.replace(/<\/?script[^>]*?>/gi,""),ft="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(ut=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",ut.innerHTML='<iframe style="height:1px;width:1px" name="'+ft+'" />',document.body.appendChild(ut),(xt=window.frames[ft]).document.open(),xt.document.writeln(ot),xt.document.close(),Yt=xt.document.body);var Lt,Tt=new _t(Kt,Qt,Mt,dr);return Le.call(this,Yt,Tt,dr.elementHandlers,function(ht){Re(Yt,Tt,dr.elementHandlers),he(Yt,Tt,dr.elementHandlers),Tt.pdf.internal.events.publish("htmlRenderingFinished"),Lt=Tt.dispose(),typeof er=="function"?er(Lt):ht&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),Lt||{x:Tt.x,y:Tt.y}},(_t=function(Kt,Yt,Qt,Mt){return this.pdf=Kt,this.x=Yt,this.y=Qt,this.settings=Mt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},_t.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},_t.prototype.executeWatchFunctions=function(Dt){var Kt=!1,Yt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Dt)===!0?Kt=!0:Yt.push(this.watchFunctions[Qt]);this.watchFunctions=Yt}return Kt},_t.prototype.splitFragmentsIntoLines=function(Dt,Kt){var Yt,Qt,Mt,dr,er,ot,xt,ut,ft,Lt,Tt,ht,Ht,Ft;for(Lt=this.pdf.internal.scaleFactor,dr={},ot=xt=ut=Ft=er=Mt=ft=Qt=void 0,ht=[Tt=[]],Yt=0,Ht=this.settings.width;Dt.length;)if(er=Dt.shift(),Ft=Kt.shift(),er)if((Mt=dr[(Qt=Ft["font-family"])+(ft=Ft["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,ft).metadata.Unicode,dr[Qt+ft]=Mt),ut={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*Ft["font-size"],textIndent:Yt},xt=this.pdf.getStringUnitWidth(er,ut)*ut.fontSize/Lt,er=="\u2028")Tt=[],ht.push(Tt);else if(Ht<Yt+xt){for(ot=this.pdf.splitTextToSize(er,Ht,ut),Tt.push([ot.shift(),Ft]);ot.length;)Tt=[[ot.shift(),Ft]],ht.push(Tt);Yt=this.pdf.getStringUnitWidth(Tt[0][0],ut)*ut.fontSize/Lt}else Tt.push([er,Ft]),Yt+=xt;if(Ft["text-align"]!==void 0&&(Ft["text-align"]==="center"||Ft["text-align"]==="right"||Ft["text-align"]==="justify"))for(var ir=0;ir<ht.length;++ir){var Xt=this.pdf.getStringUnitWidth(ht[ir][0][0],ut)*ut.fontSize/Lt;0<ir&&(ht[ir][0][1]=pe(ht[ir][0][1]));var mr=Ht-Xt;if(Ft["text-align"]==="right")ht[ir][0][1]["margin-left"]=mr;else if(Ft["text-align"]==="center")ht[ir][0][1]["margin-left"]=mr/2;else if(Ft["text-align"]==="justify"){var Ar=ht[ir][0][0].split(" ").length-1;ht[ir][0][1]["word-spacing"]=mr/Ar,ir===ht.length-1&&(ht[ir][0][1]["word-spacing"]=0)}}return ht},_t.prototype.RenderTextFragment=function(Dt,Kt){var Yt,Qt;Qt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Kt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,Kt["line-height"],Kt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Yt=this.pdf.internal.getFont(Kt["font-family"],Kt["font-style"]);var Mt=this.getPdfColor(Kt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),Kt["word-spacing"]!==void 0&&0<Kt["word-spacing"]&&this.pdf.internal.write(Kt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Yt.id,(12*Kt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Dt)+") Tj"),Kt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},_t.prototype.getPdfColor=function(Dt){var Kt,Yt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Dt);if(Mt!=null)Kt=parseInt(Mt[1]),Yt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Dt=="string"&&Dt.charAt(0)!="#"){var dr=new RGBColor(Dt);Dt=dr.ok?dr.toHex():"#000000"}Kt=Dt.substring(1,3),Kt=parseInt(Kt,16),Yt=Dt.substring(3,5),Yt=parseInt(Yt,16),Qt=Dt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof Kt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Kt)){var er=parseInt(Kt.substr(1),16);Kt=er>>16&255,Yt=er>>8&255,Qt=255&er}var ot=this.f3;return Kt===0&&Yt===0&&Qt===0||Yt===void 0?ot(Kt/255)+" g":[ot(Kt/255),ot(Yt/255),ot(Qt/255),"rg"].join(" ")},_t.prototype.f3=function(Dt){return Dt.toFixed(3)},_t.prototype.renderParagraph=function(Dt){var Kt,Yt,Qt,Mt,dr,er,ot,xt,ut,ft,Lt,Tt,ht;if(Qt=At(this.paragraph.text),Tt=this.paragraph.style,Kt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Kt},Qt.join("").trim()){ot=this.splitFragmentsIntoLines(Qt,Tt),xt=er=void 0,Yt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,Lt=(Math.max((Kt["margin-top"]||0)-this.priorMarginBottom,0)+(Kt["padding-top"]||0))*Yt,ft=((Kt["margin-bottom"]||0)+(Kt["padding-bottom"]||0))*Yt,this.priorMarginBottom=Kt["margin-bottom"]||0,Kt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,Lt=((Kt["margin-top"]||0)+(Kt["padding-top"]||0))*Yt),ut=this.pdf.internal.write,dr=Mt=void 0,this.y+=Lt,ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;ot.length;){for(Mt=xt=0,dr=(er=ot.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(xt=Math.max(xt,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),ht=7*er[Mt][1]["font-size"]),Mt++;var Ft=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(Ft=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),ut(Ft+Math.max(Kt["margin-left"]||0,0)*Yt,(-12*xt).toFixed(2),"Td"),Mt=0,dr=er.length;Mt!==dr;)er[Mt][0]&&this.RenderTextFragment(er[Mt][0],er[Mt][1]),Mt++;if(this.y+=xt*Yt,this.executeWatchFunctions(er[0][1])&&0<ot.length){var Xt=[],mr=[];ot.forEach(function(Ar){for(var Nr=0,Fr=Ar.length;Nr!==Fr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),ot=this.splitFragmentsIntoLines(At(Xt),mr),ut("ET","Q"),ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Dt&&typeof Dt=="function"&&Dt.call(this,this.x-9,this.y-ht/2),ut("ET","Q"),this.y+=ft}},_t.prototype.setBlockBoundary=function(Dt){return this.renderParagraph(Dt)},_t.prototype.setBlockStyle=function(Dt){return this.paragraph.blockstyle=Dt},_t.prototype.addText=function(Dt,Kt){return this.paragraph.text.push(Dt),this.paragraph.style.push(Kt)},le={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Ke={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Ne={normal:"normal",italic:"italic",oblique:"italic"},je={left:"left",right:"right",center:"center",justify:"justify"},Xe={none:"none",right:"right",left:"left"},Fe={none:"none",both:"both"},Y={normal:1},Ae.fromHTML=function(Dt,Kt,Yt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),$e(this,Dt,isNaN(Kt)?4:Kt,isNaN(Yt)?4:Yt,Qt,Mt)}}(vt.API),vt.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(Ae,pe,he){var le=pe.canvas;if(le){var Ne,je;if((le.pdf=pe).annotations={_nameMap:[],createAnnotation:function(_t,ne){var ue,Y=pe.context2d._wrapX(ne.left),te=pe.context2d._wrapY(ne.top),be=(pe.context2d._page(ne.top),_t.indexOf("#"));ue=0<=be?{name:_t.substring(be+1)}:{url:_t},pe.link(Y,te,ne.right-ne.left,ne.bottom-ne.top,ue)},setName:function(_t,ne){var ue=pe.context2d._wrapX(ne.left),Y=pe.context2d._wrapY(ne.top),te=pe.context2d._page(ne.top);this._nameMap[_t]={page:te,x:ue,y:Y}}},le.annotations=pe.annotations,pe.context2d._pageBreakAt=function(At){this.pageBreaks.push(At)},pe.context2d._gotoPage=function(At){for(;pe.internal.getNumberOfPages()<At;)pe.addPage();pe.setPage(At)},typeof Ae=="string"){Ae=Ae.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Ke,Xe,Fe=document.createElement("iframe");document.body.appendChild(Fe),(Ke=Fe.contentDocument)!=null&&Ke!=null||(Ke=Fe.contentWindow.document),Ke.open(),Ke.write(Ae),Ke.close(),Ne=Ke.body,Xe=Ke.body||{},Ae=Ke.documentElement||{},je=Math.max(Xe.scrollHeight,Xe.offsetHeight,Ae.clientHeight,Ae.scrollHeight,Ae.offsetHeight)}else Xe=(Ne=Ae).body||{},je=Math.max(Xe.scrollHeight,Xe.offsetHeight,Ae.clientHeight,Ae.scrollHeight,Ae.offsetHeight);var nt={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:le,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:je=pe.internal.pageSize.getHeight(),scrollY:je};pe.context2d.pageWrapYEnabled=!0,pe.context2d.pageWrapY=pe.internal.pageSize.getHeight(),html2canvas(Ne,nt).then(function(At){he&&(Fe&&Fe.parentElement.removeChild(Fe),he(pe))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(Ae){var pe=Ae.BlobBuilder||Ae.WebKitBlobBuilder||Ae.MSBlobBuilder||Ae.MozBlobBuilder;Ae.URL=Ae.URL||Ae.webkitURL||function(Y,te){return(te=document.createElement("a")).href=Y,te};var he=Ae.Blob,le=URL.createObjectURL,Ne=URL.revokeObjectURL,je=Ae.Symbol&&Ae.Symbol.toStringTag,Ke=!1,Xe=!1,Fe=!!Ae.ArrayBuffer,nt=pe&&pe.prototype.append&&pe.prototype.getBlob;try{Ke=new Blob(["\xE4"]).size===2,Xe=new Blob([new Uint8Array([1,2])]).size===2}catch(Y){}function At(Y){return Y.map(function(te){if(te.buffer instanceof ArrayBuffer){var be=te.buffer;if(te.byteLength!==be.byteLength){var Le=new Uint8Array(te.byteLength);Le.set(new Uint8Array(be,te.byteOffset,te.byteLength)),be=Le.buffer}return be}return te})}function _t(Y,te){te=te||{};var be=new pe;return At(Y).forEach(function(Le){be.append(Le)}),te.type?be.getBlob(te.type):be.getBlob()}function ne(Y,te){return new he(At(Y),te||{})}if(Ae.Blob&&(_t.prototype=Blob.prototype,ne.prototype=Blob.prototype),je)try{File.prototype[je]="File",Blob.prototype[je]="Blob",FileReader.prototype[je]="FileReader"}catch(Y){}function ue(){var Y=!!Ae.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,te=Ae.XMLHttpRequest&&Ae.XMLHttpRequest.prototype.send;Y&&te&&(XMLHttpRequest.prototype.send=function(Le){Le instanceof Blob&&this.setRequestHeader("Content-Type",Le.type),te.call(this,Le)});try{new File([],"")}catch(Le){try{var be=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();Ae.File=be}catch(Re){be=function(gt,Wt,$t){var Dt=new Blob(gt,$t),Kt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Dt.name=Wt,Dt.lastModifiedDate=Kt,Dt.lastModified=+Kt,Dt.toString=function(){return"[object File]"},je&&(Dt[je]="File"),Dt},Ae.File=be}}}Ke?(ue(),Ae.Blob=Xe?Ae.Blob:ne):nt?(ue(),Ae.Blob=_t):function(){function Y(Qt){for(var Mt=[],dr=0;dr<Qt.length;dr++){var er=Qt.charCodeAt(dr);er<128?Mt.push(er):er<2048?Mt.push(192|er>>6,128|63&er):er<55296||57344<=er?Mt.push(224|er>>12,128|er>>6&63,128|63&er):(dr++,er=65536+((1023&er)<<10|1023&Qt.charCodeAt(dr)),Mt.push(240|er>>18,128|er>>12&63,128|er>>6&63,128|63&er))}return Mt}function te(Qt){var Mt,dr,er,ot,xt,ut;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((ot=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(ot);break;case 12:case 13:xt=Qt[dr++],Mt+=String.fromCharCode((31&ot)<<6|63&xt);break;case 14:xt=Qt[dr++],ut=Qt[dr++],Mt+=String.fromCharCode((15&ot)<<12|(63&xt)<<6|(63&ut)<<0)}return Mt}function be(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function Le(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var ot=Qt[er],xt=er+1<Qt.length,ut=xt?Qt[er+1]:0,ft=er+2<Qt.length,Lt=ft?Qt[er+2]:0,Tt=ot>>2,ht=(3&ot)<<4|ut>>4,Ht=(15&ut)<<2|Lt>>6,Ft=63≪ft||(Ft=64,xt||(Ht=64)),dr.push(Mt[Tt],Mt[ht],Mt[Ht],Mt[Ft])}return dr.join("")}var Re=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Fe)var $e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],gt=ArrayBuffer.isView||function(Qt){return Qt&&-1<$e.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var ot=Qt[dr];ot instanceof Wt?Qt[dr]=ot._buffer:typeof ot=="string"?Qt[dr]=Y(ot):Fe&&(ArrayBuffer.prototype.isPrototypeOf(ot)||gt(ot))?Qt[dr]=be(ot):Fe&&(xt=ot)&&DataView.prototype.isPrototypeOf(xt)?Qt[dr]=be(ot.buffer):Qt[dr]=Y(String(ot))}var xt;this._buffer=[].concat.apply([],Qt),this.size=this._buffer.length,this.type=Mt&&Mt.type||""}function $t(Qt,Mt,dr){var er=Wt.call(this,Qt,dr=dr||{})||this;return er.name=Mt,er.lastModifiedDate=dr.lastModified?new Date(dr.lastModified):new Date,er.lastModified=+er.lastModifiedDate,er}if(Wt.prototype.slice=function(Qt,Mt,dr){return new Wt([this._buffer.slice(Qt||0,Mt||this._buffer.length)],{type:dr})},Wt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Re(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Dt(){if(!(this instanceof Dt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Qt=document.createDocumentFragment();this.addEventListener=Qt.addEventListener,this.dispatchEvent=function(Mt){var dr=this["on"+Mt.type];typeof dr=="function"&&dr(Mt),Qt.dispatchEvent(Mt)},this.removeEventListener=Qt.removeEventListener}function Kt(Qt,Mt,dr){if(!(Mt instanceof Wt))throw new TypeError("Failed to execute '"+dr+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Qt.result="",setTimeout(function(){this.readyState=Dt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Dt.EMPTY=0,Dt.LOADING=1,Dt.DONE=2,Dt.prototype.error=null,Dt.prototype.onabort=null,Dt.prototype.onerror=null,Dt.prototype.onload=null,Dt.prototype.onloadend=null,Dt.prototype.onloadstart=null,Dt.prototype.onprogress=null,Dt.prototype.readAsDataURL=function(Qt){Kt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+Le(Qt._buffer)},Dt.prototype.readAsText=function(Qt){Kt(this,Qt,"readAsText"),this.result=te(Qt._buffer)},Dt.prototype.readAsArrayBuffer=function(Qt){Kt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Dt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+Le(Qt._buffer):le.call(URL,Qt)},URL.revokeObjectURL=function(Qt){Ne&&Ne.call(URL,Qt)};var Yt=Ae.XMLHttpRequest&&Ae.XMLHttpRequest.prototype.send;Yt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Yt.call(this,te(Qt._buffer))):Yt.call(this,Qt)}),Ae.FileReader=Dt,Ae.File=$t,Ae.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var Ct,Be,Rt,He,wt,Ye,et,rt,st,Ve,ie,$,it,Qe,ye,Zt=Zt||function(Ae){if(!(Ae===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var pe=Ae.document,he=function(){return Ae.URL||Ae.webkitURL||Ae},le=pe.createElementNS("http://www.w3.org/1999/xhtml","a"),Ne="download"in le,je=/constructor/i.test(Ae.HTMLElement)||Ae.safari,Ke=/CriOS\/[\d]+/.test(navigator.userAgent),Xe=Ae.setImmediate||Ae.setTimeout,Fe=function(Y){Xe(function(){throw Y},0)},nt=function(Y){setTimeout(function(){typeof Y=="string"?he().revokeObjectURL(Y):Y.remove()},4e4)},At=function(Y){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Y.type)?new Blob([String.fromCharCode(65279),Y],{type:Y.type}):Y},_t=function(Y,te,be){be||(Y=At(Y));var Le,Re=this,$e=Y.type==="application/octet-stream",gt=function(){!function($t,Dt,Kt){for(var Yt=(Dt=[].concat(Dt)).length;Yt--;){var Qt=$t["on"+Dt[Yt]];if(typeof Qt=="function")try{Qt.call($t,Kt||$t)}catch(Mt){Fe(Mt)}}}(Re,"writestart progress write writeend".split(" "))};if(Re.readyState=Re.INIT,Ne)return Le=he().createObjectURL(Y),void Xe(function(){var Wt,$t;le.href=Le,le.download=te,Wt=le,$t=new MouseEvent("click"),Wt.dispatchEvent($t),gt(),nt(Le),Re.readyState=Re.DONE},0);!function(){if((Ke||$e&&je)&&Ae.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=Ke?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");Ae.open($t,"_blank")||(Ae.location.href=$t),$t=void 0,Re.readyState=Re.DONE,gt()},Wt.readAsDataURL(Y),Re.readyState=Re.INIT}Le||(Le=he().createObjectURL(Y)),$e?Ae.location.href=Le:Ae.open(Le,"_blank")||(Ae.location.href=Le),Re.readyState=Re.DONE,gt(),nt(Le)}()},ne=_t.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(ue,Y,te){return Y=Y||ue.name||"download",te||(ue=At(ue)),navigator.msSaveOrOpenBlob(ue,Y)}:(ne.abort=function(){},ne.readyState=ne.INIT=0,ne.WRITING=1,ne.DONE=2,ne.error=ne.onwritestart=ne.onprogress=ne.onwrite=ne.onabort=ne.onerror=ne.onwriteend=null,function(ue,Y,te){return new _t(ue,Y||ue.name||"download",te)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function dt(Ae){var pe=0;if(Ae[pe++]!==71||Ae[pe++]!==73||Ae[pe++]!==70||Ae[pe++]!==56||(Ae[pe++]+1&253)!=56||Ae[pe++]!==97)throw"Invalid GIF 87a/89a header.";var he=Ae[pe++]|Ae[pe++]<<8,le=Ae[pe++]|Ae[pe++]<<8,Ne=Ae[pe++],je=Ne>>7,Ke=1<<(7&Ne)+1;Ae[pe++],Ae[pe++];var Xe=null;je&&(Xe=pe,pe+=3*Ke);var Fe=!0,nt=[],At=0,_t=null,ne=0,ue=null;for(this.width=he,this.height=le;Fe&&pe<Ae.length;)switch(Ae[pe++]){case 33:switch(Ae[pe++]){case 255:if(Ae[pe]!==11||Ae[pe+1]==78&&Ae[pe+2]==69&&Ae[pe+3]==84&&Ae[pe+4]==83&&Ae[pe+5]==67&&Ae[pe+6]==65&&Ae[pe+7]==80&&Ae[pe+8]==69&&Ae[pe+9]==50&&Ae[pe+10]==46&&Ae[pe+11]==48&&Ae[pe+12]==3&&Ae[pe+13]==1&&Ae[pe+16]==0)pe+=14,ue=Ae[pe++]|Ae[pe++]<<8,pe++;else for(pe+=12;!((Kt=Ae[pe++])===0);)pe+=Kt;break;case 249:if(Ae[pe++]!==4||Ae[pe+4]!==0)throw"Invalid graphics extension block.";var Y=Ae[pe++];At=Ae[pe++]|Ae[pe++]<<8,_t=Ae[pe++],(1&Y)==0&&(_t=null),ne=Y>>2&7,pe++;break;case 254:for(;!((Kt=Ae[pe++])===0);)pe+=Kt;break;default:throw"Unknown graphic control label: 0x"+Ae[pe-1].toString(16)}break;case 44:var te=Ae[pe++]|Ae[pe++]<<8,be=Ae[pe++]|Ae[pe++]<<8,Le=Ae[pe++]|Ae[pe++]<<8,Re=Ae[pe++]|Ae[pe++]<<8,$e=Ae[pe++],gt=$e>>6&1,Wt=Xe,$t=!1;$e>>7&&($t=!0,Wt=pe,pe+=3*(1<<(7&$e)+1));var Dt=pe;for(pe++;;){var Kt;if((Kt=Ae[pe++])===0)break;pe+=Kt}nt.push({x:te,y:be,width:Le,height:Re,has_local_palette:$t,palette_offset:Wt,data_offset:Dt,data_length:pe-Dt,transparent_index:_t,interlaced:!!gt,delay:At,disposal:ne});break;case 59:Fe=!1;break;default:throw"Unknown gif block: 0x"+Ae[pe-1].toString(16)}this.numFrames=function(){return nt.length},this.loopCount=function(){return ue},this.frameInfo=function(Yt){if(Yt<0||Yt>=nt.length)throw"Frame index out of range.";return nt[Yt]},this.decodeAndBlitFrameBGRA=function(Yt,Qt){var Mt=this.frameInfo(Yt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(Ae,Mt.data_offset,er,dr);var ot=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,ft=he-ut,Lt=ut,Tt=4*(Mt.y*he+Mt.x),ht=4*((Mt.y+Mt.height)*he+Mt.x),Ht=Tt,Ft=4*ft;Mt.interlaced===!0&&(Ft+=4*(ut+ft)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Lt===0&&(Lt=ut,ht<=(Ht+=Ft)&&(Ft=ft+4*(ut+ft)*(ir-1),Ht=Tt+(ut+ft)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=Ae[ot+3*Ar],Fr=Ae[ot+3*Ar+1],tn=Ae[ot+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=Fr,Qt[Ht++]=Nr,Qt[Ht++]=255}--Lt}},this.decodeAndBlitFrameRGBA=function(Yt,Qt){var Mt=this.frameInfo(Yt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(Ae,Mt.data_offset,er,dr);var ot=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,ft=he-ut,Lt=ut,Tt=4*(Mt.y*he+Mt.x),ht=4*((Mt.y+Mt.height)*he+Mt.x),Ht=Tt,Ft=4*ft;Mt.interlaced===!0&&(Ft+=4*(ut+ft)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Lt===0&&(Lt=ut,ht<=(Ht+=Ft)&&(Ft=ft+4*(ut+ft)*(ir-1),Ht=Tt+(ut+ft)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=Ae[ot+3*Ar],Fr=Ae[ot+3*Ar+1],tn=Ae[ot+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=Fr,Qt[Ht++]=tn,Qt[Ht++]=255}--Lt}}}function ct(Ae,pe,he,le){for(var Ne=Ae[pe++],je=1<<Ne,Ke=je+1,Xe=Ke+1,Fe=Ne+1,nt=(1<<Fe)-1,At=0,_t=0,ne=0,ue=Ae[pe++],Y=new Int32Array(4096),te=null;;){for(;At<16&&ue!==0;)_t|=Ae[pe++]<<At,At+=8,ue===1?ue=Ae[pe++]:--ue;if(At<Fe)break;var be=_t&nt;if(_t>>=Fe,At-=Fe,be!==je){if(be===Ke)break;for(var Le=be<Xe?be:te,Re=0,$e=Le;je<$e;)$e=Y[$e]>>8,++Re;var gt=$e;if(le<ne+Re+(Le!==be?1:0))return void console.log("Warning, gif stream longer than expected.");he[ne++]=gt;var Wt=ne+=Re;for(Le!==be&&(he[ne++]=gt),$e=Le;Re--;)$e=Y[$e],he[--Wt]=255&$e,$e>>=8;te!==null&&Xe<4096&&(Y[Xe++]=te<<8|gt,nt+1<=Xe&&Fe<12&&(++Fe,nt=nt<<1|1)),te=be}else Xe=Ke+1,nt=(1<<(Fe=Ne+1))-1,te=null}return ne!==le&&console.log("Warning, gif stream shorter than expected."),he}try{I.GifWriter=function(Ae,pe,he,le){var Ne=0,je=(le=le===void 0?{}:le).loop===void 0?null:le.loop,Ke=le.palette===void 0?null:le.palette;if(pe<=0||he<=0||65535<pe||65535<he)throw"Width/Height invalid.";function Xe(te){var be=te.length;if(be<2||256<be||be&be-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return be}Ae[Ne++]=71,Ae[Ne++]=73,Ae[Ne++]=70,Ae[Ne++]=56,Ae[Ne++]=57,Ae[Ne++]=97;var Fe=0,nt=0;if(Ke!==null){for(var At=Xe(Ke);At>>=1;)++Fe;if(At=1<<Fe,--Fe,le.background!==void 0){if(At<=(nt=le.background))throw"Background index out of range.";if(nt===0)throw"Background index explicitly passed as 0."}}if(Ae[Ne++]=255&pe,Ae[Ne++]=pe>>8&255,Ae[Ne++]=255&he,Ae[Ne++]=he>>8&255,Ae[Ne++]=(Ke!==null?128:0)|Fe,Ae[Ne++]=nt,Ae[Ne++]=0,Ke!==null)for(var _t=0,ne=Ke.length;_t<ne;++_t){var ue=Ke[_t];Ae[Ne++]=ue>>16&255,Ae[Ne++]=ue>>8&255,Ae[Ne++]=255&ue}if(je!==null){if(je<0||65535<je)throw"Loop count invalid.";Ae[Ne++]=33,Ae[Ne++]=255,Ae[Ne++]=11,Ae[Ne++]=78,Ae[Ne++]=69,Ae[Ne++]=84,Ae[Ne++]=83,Ae[Ne++]=67,Ae[Ne++]=65,Ae[Ne++]=80,Ae[Ne++]=69,Ae[Ne++]=50,Ae[Ne++]=46,Ae[Ne++]=48,Ae[Ne++]=3,Ae[Ne++]=1,Ae[Ne++]=255&je,Ae[Ne++]=je>>8&255,Ae[Ne++]=0}var Y=!1;this.addFrame=function(te,be,Le,Re,$e,gt){if(Y===!0&&(--Ne,Y=!1),gt=gt===void 0?{}:gt,te<0||be<0||65535<te||65535<be)throw"x/y invalid.";if(Le<=0||Re<=0||65535<Le||65535<Re)throw"Width/Height invalid.";if($e.length<Le*Re)throw"Not enough pixels for the frame size.";var Wt=!0,$t=gt.palette;if($t==null&&(Wt=!1,$t=Ke),$t==null)throw"Must supply either a local or global palette.";for(var Dt=Xe($t),Kt=0;Dt>>=1;)++Kt;Dt=1<<Kt;var Yt=gt.delay===void 0?0:gt.delay,Qt=gt.disposal===void 0?0:gt.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(gt.transparent!==void 0&>.transparent!==null&&(Mt=!0,(dr=gt.transparent)<0||Dt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Yt!==0)&&(Ae[Ne++]=33,Ae[Ne++]=249,Ae[Ne++]=4,Ae[Ne++]=Qt<<2|(Mt===!0?1:0),Ae[Ne++]=255&Yt,Ae[Ne++]=Yt>>8&255,Ae[Ne++]=dr,Ae[Ne++]=0),Ae[Ne++]=44,Ae[Ne++]=255&te,Ae[Ne++]=te>>8&255,Ae[Ne++]=255&be,Ae[Ne++]=be>>8&255,Ae[Ne++]=255&Le,Ae[Ne++]=Le>>8&255,Ae[Ne++]=255&Re,Ae[Ne++]=Re>>8&255,Ae[Ne++]=Wt===!0?128|Kt-1:0,Wt===!0)for(var er=0,ot=$t.length;er<ot;++er){var xt=$t[er];Ae[Ne++]=xt>>16&255,Ae[Ne++]=xt>>8&255,Ae[Ne++]=255&xt}Ne=function(ut,ft,Lt,Tt){ut[ft++]=Lt;var ht=ft++,Ht=1<<Lt,Ft=Ht-1,ir=Ht+1,Xt=ir+1,mr=Lt+1,Ar=0,Nr=0;function Fr(fr){for(;fr<=Ar;)ut[ft++]=255&Nr,Nr>>=8,Ar-=8,ft===ht+256&&(ut[ht]=255,ht=ft++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,Fr(8)}var qr=Tt[0]&Ft,Or={};tn(Ht);for(var Qr=1,Ir=Tt.length;Qr<Ir;++Qr){var ur=Tt[Qr]&Ft,pr=qr<<8|ur,cr=Or[pr];if(cr===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)ut[ft++]=255&Nr,Nr>>=8,Ar-=8,ft===ht+256&&(ut[ht]=255,ht=ft++);Xt===4096?(tn(Ht),Xt=ir+1,mr=Lt+1,Or={}):(1<<mr<=Xt&&++mr,Or[pr]=Xt++),qr=ur}else qr=cr}return tn(qr),tn(ir),Fr(1),ht+1===ft?ut[ht]=0:(ut[ht]=ft-ht-1,ut[ft++]=0),ft}(Ae,Ne,Kt<2?2:Kt,$e)},this.end=function(){return Y===!1&&(Ae[Ne++]=59,Y=!0),Ne}},I.GifReader=dt}catch(Ae){}function yt(Ae){var pe,he,le,Ne,je,Ke=Math.floor,Xe=new Array(64),Fe=new Array(64),nt=new Array(64),At=new Array(64),_t=new Array(65535),ne=new Array(65535),ue=new Array(64),Y=new Array(64),te=[],be=0,Le=7,Re=new Array(64),$e=new Array(64),gt=new Array(64),Wt=new Array(256),$t=new Array(2048),Dt=[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],Kt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Yt=[0,1,2,3,4,5,6,7,8,9,10,11],Qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Mt=[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],dr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],ot=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],xt=[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 ut(Ft,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var Fr=1;Fr<=Ft[Nr];Fr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function ft(Ft){for(var ir=Ft[0],Xt=Ft[1]-1;0<=Xt;)ir&1<<Xt&&(be|=1<<Le),Xt--,--Le<0&&(be==255?(Lt(255),Lt(0)):Lt(be),Le=7,be=0)}function Lt(Ft){te.push(Ft)}function Tt(Ft){Lt(Ft>>8&255),Lt(255&Ft)}function ht(Ft,ir,Xt,mr,Ar){for(var Nr,Fr=Ar[0],tn=Ar[240],qr=function(Gr,un){var Nn,jr,Tn,gn,Pn,zn,qn,Gn,Vn,An,on=0;for(Vn=0;Vn<8;++Vn){Nn=Gr[on],jr=Gr[on+1],Tn=Gr[on+2],gn=Gr[on+3],Pn=Gr[on+4],zn=Gr[on+5],qn=Gr[on+6];var ia=Nn+(Gn=Gr[on+7]),xa=Nn-Gn,ta=jr+qn,Ii=jr-qn,Ci=Tn+zn,Yn=Tn-zn,_a=gn+Pn,mn=gn-Pn,_n=ia+_a,On=ia-_a,In=ta+Ci,jn=ta-Ci;Gr[on]=_n+In,Gr[on+4]=_n-In;var ni=.707106781*(jn+On);Gr[on+2]=On+ni,Gr[on+6]=On-ni;var di=.382683433*((_n=mn+Yn)-(jn=Ii+xa)),Na=.5411961*_n+di,Qi=1.306562965*jn+di,ma=.707106781*(In=Yn+Ii),Ba=xa+ma,Qa=xa-ma;Gr[on+5]=Qa+Na,Gr[on+3]=Qa-Na,Gr[on+1]=Ba+Qi,Gr[on+7]=Ba-Qi,on+=8}for(Vn=on=0;Vn<8;++Vn){Nn=Gr[on],jr=Gr[on+8],Tn=Gr[on+16],gn=Gr[on+24],Pn=Gr[on+32],zn=Gr[on+40],qn=Gr[on+48];var Wi=Nn+(Gn=Gr[on+56]),Co=Nn-Gn,aa=jr+qn,Hi=jr-qn,ga=Tn+zn,ha=Tn-zn,mo=gn+Pn,kn=gn-Pn,$i=Wi+mo,eo=Wi-mo,To=aa+ga,uo=aa-ga;Gr[on]=$i+To,Gr[on+32]=$i-To;var rr=.707106781*(uo+eo);Gr[on+16]=eo+rr,Gr[on+48]=eo-rr;var Tr=.382683433*(($i=kn+ha)-(uo=Hi+Co)),Pr=.5411961*$i+Tr,Wr=1.306562965*uo+Tr,hn=.707106781*(To=ha+Hi),tt=Co+hn,jt=Co-hn;Gr[on+40]=jt+Pr,Gr[on+24]=jt-Pr,Gr[on+8]=tt+Wr,Gr[on+56]=tt-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Gr[Vn]*un[Vn],ue[Vn]=0<An?An+.5|0:An-.5|0;return ue}(Ft,ir),Or=0;Or<64;++Or)Y[Dt[Or]]=qr[Or];var Qr=Y[0]-Xt;Xt=Y[0],Qr==0?ft(mr[0]):(ft(mr[ne[Nr=32767+Qr]]),ft(_t[Nr]));for(var Ir=63;0<Ir&&Y[Ir]==0;Ir--);if(Ir==0)return ft(Fr),Xt;for(var ur,pr=1;pr<=Ir;){for(var cr=pr;Y[pr]==0&&pr<=Ir;++pr);var fr=pr-cr;if(16<=fr){ur=fr>>4;for(var xr=1;xr<=ur;++xr)ft(tn);fr&=15}Nr=32767+Y[pr],ft(Ar[(fr<<4)+ne[Nr]]),ft(_t[Nr]),pr++}return Ir!=63&&ft(Fr),Xt}function Ht(Ft){(Ft<=0&&(Ft=1),100<Ft&&(Ft=100),je!=Ft)&&(function(ir){for(var Xt=[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],mr=0;mr<64;mr++){var Ar=Ke((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),Xe[Dt[mr]]=Ar}for(var Nr=[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],Fr=0;Fr<64;Fr++){var tn=Ke((Nr[Fr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Fe[Dt[Fr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Or=0,Qr=0;Qr<8;Qr++)for(var Ir=0;Ir<8;Ir++)nt[Or]=1/(Xe[Dt[Or]]*qr[Qr]*qr[Ir]*8),At[Or]=1/(Fe[Dt[Or]]*qr[Qr]*qr[Ir]*8),Or++}(Ft<50?Math.floor(5e3/Ft):Math.floor(200-2*Ft)),je=Ft)}this.encode=function(Ft,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),te=new Array,be=0,Le=7,Tt(65496),Tt(65504),Tt(16),Lt(74),Lt(70),Lt(73),Lt(70),Lt(0),Lt(1),Lt(1),Lt(0),Tt(1),Tt(1),Lt(0),Lt(0),function(){Tt(65499),Tt(132),Lt(0);for(var gn=0;gn<64;gn++)Lt(Xe[gn]);Lt(1);for(var Pn=0;Pn<64;Pn++)Lt(Fe[Pn])}(),Xt=Ft.width,mr=Ft.height,Tt(65472),Tt(17),Lt(8),Tt(mr),Tt(Xt),Lt(3),Lt(1),Lt(17),Lt(0),Lt(2),Lt(17),Lt(1),Lt(3),Lt(17),Lt(1),function(){Tt(65476),Tt(418),Lt(0);for(var gn=0;gn<16;gn++)Lt(Kt[gn+1]);for(var Pn=0;Pn<=11;Pn++)Lt(Yt[Pn]);Lt(16);for(var zn=0;zn<16;zn++)Lt(Qt[zn+1]);for(var qn=0;qn<=161;qn++)Lt(Mt[qn]);Lt(1);for(var Gn=0;Gn<16;Gn++)Lt(dr[Gn+1]);for(var Vn=0;Vn<=11;Vn++)Lt(er[Vn]);Lt(17);for(var An=0;An<16;An++)Lt(ot[An+1]);for(var on=0;on<=161;on++)Lt(xt[on])}(),Tt(65498),Tt(12),Lt(3),Lt(1),Lt(0),Lt(2),Lt(17),Lt(3),Lt(17),Lt(0),Lt(63),Lt(0);var Ar=0,Nr=0,Fr=0;be=0,Le=7,this.encode.displayName="_encode_";for(var tn,qr,Or,Qr,Ir,ur,pr,cr,fr,xr=Ft.data,Gr=Ft.width,un=Ft.height,Nn=4*Gr,jr=0;jr<un;){for(tn=0;tn<Nn;){for(ur=Ir=Nn*jr+tn,pr=-1,fr=cr=0;fr<64;fr++)ur=Ir+(cr=fr>>3)*Nn+(pr=4*(7&fr)),un<=jr+cr&&(ur-=Nn*(jr+1+cr-un)),Nn<=tn+pr&&(ur-=tn+pr-Nn+4),qr=xr[ur++],Or=xr[ur++],Qr=xr[ur++],Re[fr]=($t[qr]+$t[Or+256>>0]+$t[Qr+512>>0]>>16)-128,$e[fr]=($t[qr+768>>0]+$t[Or+1024>>0]+$t[Qr+1280>>0]>>16)-128,gt[fr]=($t[qr+1280>>0]+$t[Or+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=ht(Re,nt,Ar,pe,le),Nr=ht($e,At,Nr,he,Ne),Fr=ht(gt,At,Fr,he,Ne),tn+=32}jr+=8}if(0<=Le){var Tn=[];Tn[1]=Le+1,Tn[0]=(1<<Le+1)-1,ft(Tn)}return Tt(65497),new Uint8Array(te)},function(){new Date().getTime(),Ae||(Ae=50),function(){for(var Ft=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=Ft(ir)}(),pe=ut(Kt,Yt),he=ut(dr,er),le=ut(Qt,Mt),Ne=ut(ot,xt),function(){for(var Ft=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=Ft;mr<ir;mr++)ne[32767+mr]=Xt,_t[32767+mr]=[],_t[32767+mr][1]=Xt,_t[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-Ft;Ar++)ne[32767+Ar]=Xt,_t[32767+Ar]=[],_t[32767+Ar][1]=Xt,_t[32767+Ar][0]=ir-1+Ar;Ft<<=1,ir<<=1}}(),function(){for(var Ft=0;Ft<256;Ft++)$t[Ft]=19595*Ft,$t[Ft+256>>0]=38470*Ft,$t[Ft+512>>0]=7471*Ft+32768,$t[Ft+768>>0]=-11059*Ft,$t[Ft+1024>>0]=-21709*Ft,$t[Ft+1280>>0]=32768*Ft+8421375,$t[Ft+1536>>0]=-27439*Ft,$t[Ft+1792>>0]=-5329*Ft}(),Ht(Ae),new Date().getTime()}()}function It(Ae,pe){if(this.pos=0,this.buffer=Ae,this.datav=new DataView(Ae.buffer),this.is_with_alpha=!!pe,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()}window.tmp=dt,vt.API.adler32cs=(Ye=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",et=null,rt=function(){if(!Ye)return function(){return!1};try{var Ae={};typeof Ae.Buffer=="function"&&(et=Ae.Buffer)}catch(pe){}return function(pe){return pe instanceof ArrayBuffer||et!==null&&pe instanceof et}}(),st=et!==null?function(Ae){return new et(Ae,"utf8").toString("binary")}:function(Ae){return unescape(encodeURIComponent(Ae))},Ve=function(pe,he){for(var le=65535&pe,Ne=pe>>>16,je=0,Ke=he.length;je<Ke;je++)le=(le+(255&he.charCodeAt(je)))%65521,Ne=(Ne+le)%65521;return(Ne<<16|le)>>>0},ie=function(pe,he){for(var le=65535&pe,Ne=pe>>>16,je=0,Ke=he.length;je<Ke;je++)le=(le+he[je])%65521,Ne=(Ne+le)%65521;return(Ne<<16|le)>>>0},it=($={}).Adler32=(((wt=(He=function(pe){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(pe=pe==null?1:+pe))throw new Error("First arguments needs to be a finite number.");this.checksum=pe>>>0}).prototype={}).constructor=He).from=((Ct=function(pe){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(pe==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,pe.toString())}).prototype=wt,Ct),He.fromUtf8=((Be=function(pe){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(pe==null)throw new Error("First argument needs to be a string.");var he=st(pe.toString());this.checksum=Ve(1,he)}).prototype=wt,Be),Ye&&(He.fromBuffer=((Rt=function(pe){if(!(this instanceof He))throw new TypeError("Constructor cannot called be as a function.");if(!rt(pe))throw new Error("First argument needs to be ArrayBuffer.");var he=new Uint8Array(pe);return this.checksum=ie(1,he)}).prototype=wt,Rt)),wt.update=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");return Ae=Ae.toString(),this.checksum=Ve(this.checksum,Ae)},wt.updateUtf8=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");var pe=st(Ae.toString());return this.checksum=Ve(this.checksum,pe)},Ye&&(wt.updateBuffer=function(Ae){if(!rt(Ae))throw new Error("First argument needs to be ArrayBuffer.");var pe=new Uint8Array(Ae);return this.checksum=ie(this.checksum,pe)}),wt.clone=function(){return new it(this.checksum)},He),$.from=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");return Ve(1,Ae.toString())},$.fromUtf8=function(Ae){if(Ae==null)throw new Error("First argument needs to be a string.");var pe=st(Ae.toString());return Ve(1,pe)},Ye&&($.fromBuffer=function(Ae){if(!rt(Ae))throw new Error("First argument need to be ArrayBuffer.");var pe=new Uint8Array(Ae);return ie(1,pe)}),$),function(Ae){Ae.__bidiEngine__=Ae.prototype.__bidiEngine__=function(le){var Ne,je,Ke,Xe,Fe,nt,At,_t=pe,ne=[[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]],ue=[[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]],Y={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},te={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},be=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Le=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)$/),Re=!1,$e=0;this.__bidiEngine__={};var gt=function(dr){var er=dr.charCodeAt(),ot=er>>8,xt=te[ot];return xt!==void 0?_t[256*xt+(255&er)]:ot===252||ot===253?"AL":Le.test(ot)?"L":ot===8?"R":"N"},Wt=function(dr){for(var er,ot=0;ot<dr.length;ot++){if((er=gt(dr.charAt(ot)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,ot,xt){var ut,ft,Lt,Tt,ht=er[xt];switch(ht){case"L":case"R":Re=!1;break;case"N":case"AN":break;case"EN":Re&&(ht="AN");break;case"AL":Re=!0,ht="R";break;case"WS":ht="N";break;case"CS":xt<1||xt+1>=er.length||(ut=ot[xt-1])!=="EN"&&ut!=="AN"||(ft=er[xt+1])!=="EN"&&ft!=="AN"?ht="N":Re&&(ft="AN"),ht=ft===ut?ft:"N";break;case"ES":ht=(ut=0<xt?ot[xt-1]:"B")==="EN"&&xt+1<er.length&&er[xt+1]==="EN"?"EN":"N";break;case"ET":if(0<xt&&ot[xt-1]==="EN"){ht="EN";break}if(Re){ht="N";break}for(Lt=xt+1,Tt=er.length;Lt<Tt&&er[Lt]==="ET";)Lt++;ht=Lt<Tt&&er[Lt]==="EN"?"EN":"N";break;case"NSM":if(Ke&&!Xe){for(Tt=er.length,Lt=xt+1;Lt<Tt&&er[Lt]==="NSM";)Lt++;if(Lt<Tt){var Ht=dr[xt],Ft=1425<=Ht&&Ht<=2303||Ht===64286;if(ut=er[Lt],Ft&&(ut==="R"||ut==="AL")){ht="R";break}}}ht=xt<1||(ut=er[xt-1])==="B"?"N":ot[xt-1];break;case"B":Ne=!(Re=!1),ht=$e;break;case"S":je=!0,ht="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Re=!1;break;case"BN":ht="N"}return ht},Dt=function(dr,er,ot){var xt=dr.split("");return ot&&Kt(xt,ot,{hiLevel:$e}),xt.reverse(),er&&er.reverse(),xt.join("")},Kt=function(dr,er,ot){var xt,ut,ft,Lt,Tt,ht=-1,Ht=dr.length,Ft=0,ir=[],Xt=$e?ue:ne,mr=[];for(je=Ne=Re=!1,ut=0;ut<Ht;ut++)mr[ut]=gt(dr[ut]);for(ft=0;ft<Ht;ft++){if(Tt=Ft,ir[ft]=$t(dr,mr,ir,ft),xt=240&(Ft=Xt[Tt][Y[ir[ft]]]),Ft&=15,er[ft]=Lt=Xt[Ft][5],0<xt)if(xt===16){for(ut=ht;ut<ft;ut++)er[ut]=1;ht=-1}else ht=-1;if(Xt[Ft][6])ht===-1&&(ht=ft);else if(-1<ht){for(ut=ht;ut<ft;ut++)er[ut]=Lt;ht=-1}mr[ft]==="B"&&(er[ft]=0),ot.hiLevel|=Lt}je&&function(Ar,Nr,Fr){for(var tn=0;tn<Fr;tn++)if(Ar[tn]==="S"){Nr[tn]=$e;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=$e}}(mr,er,Ht)},Yt=function(dr,er,ot,xt,ut){if(!(ut.hiLevel<dr)){if(dr===1&&$e===1&&!Ne)return er.reverse(),void(ot&&ot.reverse());for(var ft,Lt,Tt,ht,Ht=er.length,Ft=0;Ft<Ht;){if(xt[Ft]>=dr){for(Tt=Ft+1;Tt<Ht&&xt[Tt]>=dr;)Tt++;for(ht=Ft,Lt=Tt-1;ht<Lt;ht++,Lt--)ft=er[ht],er[ht]=er[Lt],er[Lt]=ft,ot&&(ft=ot[ht],ot[ht]=ot[Lt],ot[Lt]=ft);Ft=Tt}Ft++}}},Qt=function(dr,er,ot){var xt=dr.split(""),ut={hiLevel:$e};return ot||(ot=[]),Kt(xt,ot,ut),function(ft,Lt,Tt){if(Tt.hiLevel!==0&&At)for(var ht,Ht=0;Ht<ft.length;Ht++)Lt[Ht]===1&&0<=(ht=be.indexOf(ft[Ht]))&&(ft[Ht]=be[ht+1])}(xt,ot,ut),Yt(2,xt,er,ot,ut),Yt(1,xt,er,ot,ut),xt.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(xt,ut){if(ut)for(var ft=0;ft<xt.length;ft++)ut[ft]=ft;Xe===void 0&&(Xe=Wt(xt)),nt===void 0&&(nt=Wt(xt))}(Mt,dr),Ke||!Fe||nt)if(Ke&&Fe&&Xe^nt)$e=Xe?1:0,Mt=Dt(Mt,dr,er);else if(!Ke&&Fe&&nt)$e=Xe?1:0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!Ke||Xe||Fe||nt){if(Ke&&!Fe&&Xe^nt)Mt=Dt(Mt,dr),Mt=Xe?($e=0,Qt(Mt,dr,er)):($e=1,Mt=Qt(Mt,dr,er),Dt(Mt,dr));else if(Ke&&Xe&&!Fe&&nt)$e=1,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!Ke&&!Fe&&Xe^nt){var ot=At;Xe?($e=1,Mt=Qt(Mt,dr,er),$e=0,At=!1,Mt=Qt(Mt,dr,er),At=ot):($e=0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr),At=!($e=1),Mt=Qt(Mt,dr,er),At=ot,Mt=Dt(Mt,dr))}}else $e=0,Mt=Qt(Mt,dr,er);else $e=Xe?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(Ke=Mt.isInputVisual,Fe=Mt.isOutputVisual,Xe=Mt.isInputRtl,nt=Mt.isOutputRtl,At=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(le),this.__bidiEngine__};var pe=["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"],he=new Ae.__bidiEngine__({isInputVisual:!0});Ae.API.events.push(["postProcessText",function(le){var Ne=le.text,je=(le.x,le.y,le.options||{}),Ke=(le.mutex,je.lang,[]);if(Object.prototype.toString.call(Ne)==="[object Array]"){var Xe=0;for(Ke=[],Xe=0;Xe<Ne.length;Xe+=1)Object.prototype.toString.call(Ne[Xe])==="[object Array]"?Ke.push([he.doBidiReorder(Ne[Xe][0]),Ne[Xe][1],Ne[Xe][2]]):Ke.push([he.doBidiReorder(Ne[Xe])]);le.text=Ke}else le.text=he.doBidiReorder(Ne)}])}(vt),window.tmp=yt,It.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 Ae=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ae);for(var pe=0;pe<Ae;pe++){var he=this.datav.getUint8(this.pos++,!0),le=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0);this.palette[pe]={red:Ne,green:le,blue:he,quad:je}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},It.prototype.parseBGR=function(){this.pos=this.offset;try{var Ae="bit"+this.bitPP,pe=this.width*this.height*4;this.data=new Uint8Array(pe),this[Ae]()}catch(he){console.log("bit decode error:"+he)}},It.prototype.bit1=function(){var Ae=Math.ceil(this.width/8),pe=Ae%4,he=0<=this.height?this.height-1:-this.height;for(he=this.height-1;0<=he;he--){for(var le=this.bottom_up?he:this.height-1-he,Ne=0;Ne<Ae;Ne++)for(var je=this.datav.getUint8(this.pos++,!0),Ke=le*this.width*4+8*Ne*4,Xe=0;Xe<8&&8*Ne+Xe<this.width;Xe++){var Fe=this.palette[je>>7-Xe&1];this.data[Ke+4*Xe]=Fe.blue,this.data[Ke+4*Xe+1]=Fe.green,this.data[Ke+4*Xe+2]=Fe.red,this.data[Ke+4*Xe+3]=255}pe!=0&&(this.pos+=4-pe)}},It.prototype.bit4=function(){for(var Ae=Math.ceil(this.width/2),pe=Ae%4,he=this.height-1;0<=he;he--){for(var le=this.bottom_up?he:this.height-1-he,Ne=0;Ne<Ae;Ne++){var je=this.datav.getUint8(this.pos++,!0),Ke=le*this.width*4+2*Ne*4,Xe=je>>4,Fe=15&je,nt=this.palette[Xe];if(this.data[Ke]=nt.blue,this.data[Ke+1]=nt.green,this.data[Ke+2]=nt.red,this.data[Ke+3]=255,2*Ne+1>=this.width)break;nt=this.palette[Fe],this.data[Ke+4]=nt.blue,this.data[Ke+4+1]=nt.green,this.data[Ke+4+2]=nt.red,this.data[Ke+4+3]=255}pe!=0&&(this.pos+=4-pe)}},It.prototype.bit8=function(){for(var Ae=this.width%4,pe=this.height-1;0<=pe;pe--){for(var he=this.bottom_up?pe:this.height-1-pe,le=0;le<this.width;le++){var Ne=this.datav.getUint8(this.pos++,!0),je=he*this.width*4+4*le;if(Ne<this.palette.length){var Ke=this.palette[Ne];this.data[je]=Ke.red,this.data[je+1]=Ke.green,this.data[je+2]=Ke.blue,this.data[je+3]=255}else this.data[je]=255,this.data[je+1]=255,this.data[je+2]=255,this.data[je+3]=255}Ae!=0&&(this.pos+=4-Ae)}},It.prototype.bit15=function(){for(var Ae=this.width%3,pe=parseInt("11111",2),he=this.height-1;0<=he;he--){for(var le=this.bottom_up?he:this.height-1-he,Ne=0;Ne<this.width;Ne++){var je=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ke=(je&pe)/pe*255|0,Xe=(je>>5&pe)/pe*255|0,Fe=(je>>10&pe)/pe*255|0,nt=je>>15?255:0,At=le*this.width*4+4*Ne;this.data[At]=Fe,this.data[At+1]=Xe,this.data[At+2]=Ke,this.data[At+3]=nt}this.pos+=Ae}},It.prototype.bit16=function(){for(var Ae=this.width%3,pe=parseInt("11111",2),he=parseInt("111111",2),le=this.height-1;0<=le;le--){for(var Ne=this.bottom_up?le:this.height-1-le,je=0;je<this.width;je++){var Ke=this.datav.getUint16(this.pos,!0);this.pos+=2;var Xe=(Ke&pe)/pe*255|0,Fe=(Ke>>5&he)/he*255|0,nt=(Ke>>11)/pe*255|0,At=Ne*this.width*4+4*je;this.data[At]=nt,this.data[At+1]=Fe,this.data[At+2]=Xe,this.data[At+3]=255}this.pos+=Ae}},It.prototype.bit24=function(){for(var Ae=this.height-1;0<=Ae;Ae--){for(var pe=this.bottom_up?Ae:this.height-1-Ae,he=0;he<this.width;he++){var le=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),Ke=pe*this.width*4+4*he;this.data[Ke]=je,this.data[Ke+1]=Ne,this.data[Ke+2]=le,this.data[Ke+3]=255}this.pos+=this.width%4}},It.prototype.bit32=function(){for(var Ae=this.height-1;0<=Ae;Ae--)for(var pe=this.bottom_up?Ae:this.height-1-Ae,he=0;he<this.width;he++){var le=this.datav.getUint8(this.pos++,!0),Ne=this.datav.getUint8(this.pos++,!0),je=this.datav.getUint8(this.pos++,!0),Ke=this.datav.getUint8(this.pos++,!0),Xe=pe*this.width*4+4*he;this.data[Xe]=je,this.data[Xe+1]=Ne,this.data[Xe+2]=le,this.data[Xe+3]=Ke}},It.prototype.getData=function(){return this.data},window.tmp=It,function(Ae){var pe=15,he=573,le=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Ne(){var ue=this;function Y(te,be){for(var Le=0;Le|=1&te,te>>>=1,Le<<=1,0<--be;);return Le>>>1}ue.build_tree=function(te){var be,Le,Re,$e=ue.dyn_tree,gt=ue.stat_desc.static_tree,Wt=ue.stat_desc.elems,$t=-1;for(te.heap_len=0,te.heap_max=he,be=0;be<Wt;be++)$e[2*be]!==0?(te.heap[++te.heap_len]=$t=be,te.depth[be]=0):$e[2*be+1]=0;for(;te.heap_len<2;)$e[2*(Re=te.heap[++te.heap_len]=$t<2?++$t:0)]=1,te.depth[Re]=0,te.opt_len--,gt&&(te.static_len-=gt[2*Re+1]);for(ue.max_code=$t,be=Math.floor(te.heap_len/2);1<=be;be--)te.pqdownheap($e,be);for(Re=Wt;be=te.heap[1],te.heap[1]=te.heap[te.heap_len--],te.pqdownheap($e,1),Le=te.heap[1],te.heap[--te.heap_max]=be,te.heap[--te.heap_max]=Le,$e[2*Re]=$e[2*be]+$e[2*Le],te.depth[Re]=Math.max(te.depth[be],te.depth[Le])+1,$e[2*be+1]=$e[2*Le+1]=Re,te.heap[1]=Re++,te.pqdownheap($e,1),2<=te.heap_len;);te.heap[--te.heap_max]=te.heap[1],function(Dt){var Kt,Yt,Qt,Mt,dr,er,ot=ue.dyn_tree,xt=ue.stat_desc.static_tree,ut=ue.stat_desc.extra_bits,ft=ue.stat_desc.extra_base,Lt=ue.stat_desc.max_length,Tt=0;for(Mt=0;Mt<=pe;Mt++)Dt.bl_count[Mt]=0;for(ot[2*Dt.heap[Dt.heap_max]+1]=0,Kt=Dt.heap_max+1;Kt<he;Kt++)Lt<(Mt=ot[2*ot[2*(Yt=Dt.heap[Kt])+1]+1]+1)&&(Mt=Lt,Tt++),ot[2*Yt+1]=Mt,Yt>ue.max_code||(Dt.bl_count[Mt]++,dr=0,ft<=Yt&&(dr=ut[Yt-ft]),er=ot[2*Yt],Dt.opt_len+=er*(Mt+dr),xt&&(Dt.static_len+=er*(xt[2*Yt+1]+dr)));if(Tt!==0){do{for(Mt=Lt-1;Dt.bl_count[Mt]===0;)Mt--;Dt.bl_count[Mt]--,Dt.bl_count[Mt+1]+=2,Dt.bl_count[Lt]--,Tt-=2}while(0<Tt);for(Mt=Lt;Mt!==0;Mt--)for(Yt=Dt.bl_count[Mt];Yt!==0;)(Qt=Dt.heap[--Kt])>ue.max_code||(ot[2*Qt+1]!=Mt&&(Dt.opt_len+=(Mt-ot[2*Qt+1])*ot[2*Qt],ot[2*Qt+1]=Mt),Yt--)}}(te),function(Dt,Kt,Yt){var Qt,Mt,dr,er=[],ot=0;for(Qt=1;Qt<=pe;Qt++)er[Qt]=ot=ot+Yt[Qt-1]<<1;for(Mt=0;Mt<=Kt;Mt++)(dr=Dt[2*Mt+1])!==0&&(Dt[2*Mt]=Y(er[dr]++,dr))}($e,ue.max_code,te.bl_count)}}function je(ue,Y,te,be,Le){this.static_tree=ue,this.extra_bits=Y,this.extra_base=te,this.elems=be,this.max_length=Le}Ne._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Ne.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Ne.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Ne.d_code=function(ue){return ue<256?le[ue]:le[256+(ue>>>7)]},Ne.extra_lbits=[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],Ne.extra_dbits=[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],Ne.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ne.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],je.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],je.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],je.static_l_desc=new je(je.static_ltree,Ne.extra_lbits,257,286,pe),je.static_d_desc=new je(je.static_dtree,Ne.extra_dbits,0,30,pe),je.static_bl_desc=new je(null,Ne.extra_blbits,0,19,7);function Ke(ue,Y,te,be,Le){this.good_length=ue,this.max_lazy=Y,this.nice_length=te,this.max_chain=be,this.func=Le}var Xe=[new Ke(0,0,0,0,0),new Ke(4,4,8,4,1),new Ke(4,5,16,8,1),new Ke(4,6,32,32,1),new Ke(4,4,16,16,2),new Ke(8,16,32,32,2),new Ke(8,16,128,128,2),new Ke(8,32,128,256,2),new Ke(32,128,258,1024,2),new Ke(32,258,258,4096,2)],Fe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function nt(ue,Y,te,be){var Le=ue[2*Y],Re=ue[2*te];return Le<Re||Le==Re&&be[Y]<=be[te]}function At(){var ue,Y,te,be,Le,Re,$e,gt,Wt,$t,Dt,Kt,Yt,Qt,Mt,dr,er,ot,xt,ut,ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Or,Qr,Ir,ur,pr,cr,fr,xr=this,Gr=new Ne,un=new Ne,Nn=new Ne;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)Fr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=ur=0}function Tn(mn,_n){var On,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(_n+1)+1]=65535,On=0;On<=_n;On++)In=ni,ni=mn[2*(On+1)+1],++di<Na&&In==ni||(di<Qi?tn[2*In]+=di:In!==0?(In!=jn&&tn[2*In]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4))}function gn(mn){xr.pending_buf[xr.pending++]=mn}function Pn(mn){gn(255&mn),gn(mn>>>8&255)}function zn(mn,_n){var On,In=_n;16-In<fr?(Pn(cr|=(On=mn)<<fr&65535),cr=On>>>16-fr,fr+=In-16):(cr|=mn<<fr&65535,fr+=In)}function qn(mn,_n){var On=2*mn;zn(65535&_n[On],65535&_n[On+1])}function Gn(mn,_n){var On,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),On=0;On<=_n;On++)if(In=ni,ni=mn[2*(On+1)+1],!(++di<Na&&In==ni)){if(di<Qi)for(;qn(In,tn),--di!=0;);else In!==0?(In!=jn&&(qn(In,tn),di--),qn(16,tn),zn(di-3,2)):di<=10?(qn(17,tn),zn(di-3,3)):(qn(18,tn),zn(di-11,7));jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4)}}function Vn(){fr==16?(Pn(cr),fr=cr=0):8<=fr&&(gn(255&cr),cr>>>=8,fr-=8)}function An(mn,_n){var On,In,jn;if(xr.pending_buf[Ir+2*Qr]=mn>>>8&255,xr.pending_buf[Ir+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&_n,Qr++,mn===0?Nr[2*_n]++:(ur++,mn--,Nr[2*(Ne._length_code[_n]+256+1)]++,Fr[2*Ne.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(On=8*Qr,In=ft-er,jn=0;jn<30;jn++)On+=Fr[2*jn]*(5+Ne.extra_dbits[jn]);if(On>>>=3,ur<Math.floor(Qr/2)&&On<Math.floor(In/2))return!0}return Qr==Or-1}function on(mn,_n){var On,In,jn,ni,di=0;if(Qr!==0)for(;On=xr.pending_buf[Ir+2*di]<<8&65280|255&xr.pending_buf[Ir+2*di+1],In=255&xr.pending_buf[qr+di],di++,On===0?qn(In,mn):(qn((jn=Ne._length_code[In])+256+1,mn),(ni=Ne.extra_lbits[jn])!==0&&zn(In-=Ne.base_length[jn],ni),qn(jn=Ne.d_code(--On),_n),(ni=Ne.extra_dbits[jn])!==0&&zn(On-=Ne.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Pn(cr):0<fr&&gn(255&cr),fr=cr=0}function xa(mn,_n,On){var In,jn,ni;zn(0+(On?1:0),3),In=mn,jn=_n,ni=!0,ia(),pr=8,ni&&(Pn(jn),Pn(~jn)),xr.pending_buf.set(gt.subarray(In,In+jn),xr.pending),xr.pending+=jn}function ta(mn,_n,On){var In,jn,ni=0;0<ir?(Gr.build_tree(xr),un.build_tree(xr),ni=function(){var di;for(Tn(Nr,Gr.max_code),Tn(Fr,un.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*Ne.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),In=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=In&&(In=jn)):In=jn=_n+5,_n+4<=In&&mn!=-1?xa(mn,_n,On):jn==In?(zn(2+(On?1:0),3),on(je.static_ltree,je.static_dtree)):(zn(4+(On?1:0),3),function(di,Na,Qi){var ma;for(zn(di-257,5),zn(Na-1,5),zn(Qi-4,4),ma=0;ma<Qi;ma++)zn(tn[2*Ne.bl_order[ma]+1],3);Gn(Nr,di-1),Gn(Fr,Na-1)}(Gr.max_code+1,un.max_code+1,ni+1),on(Nr,Fr)),jr(),On&&ia()}function Ii(mn){ta(0<=er?er:-1,ft-er,mn),er=ft,ue.flush_pending()}function Ci(){var mn,_n,On,In;do{if((In=Wt-Tt-ft)===0&&ft===0&&Tt===0)In=Le;else if(In==-1)In--;else if(Le+Le-262<=ft){for(gt.set(gt.subarray(Le,Le+Le),0),Lt-=Le,ft-=Le,er-=Le,On=mn=Yt;_n=65535&Dt[--On],Dt[On]=Le<=_n?_n-Le:0,--mn!=0;);for(On=mn=Le;_n=65535&$t[--On],$t[On]=Le<=_n?_n-Le:0,--mn!=0;);In+=Le}if(ue.avail_in===0)return;mn=ue.read_buf(gt,ft+Tt,In),3<=(Tt+=mn)&&(Kt=((Kt=255>[ft])<<dr^255>[ft+1])&Mt)}while(Tt<262&&ue.avail_in!==0)}function Yn(mn){var _n,On,In=Ht,jn=ft,ni=ht,di=Le-262<ft?ft-(Le-262):0,Na=Ar,Qi=$e,ma=ft+258,Ba=gt[jn+ni-1],Qa=gt[jn+ni];mr<=ht&&(In>>=2),Tt<Na&&(Na=Tt);do if(gt[(_n=mn)+ni]==Qa&>[_n+ni-1]==Ba&>[_n]==gt[jn]&>[++_n]==gt[jn+1]){jn+=2,_n++;do;while(gt[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&>[++jn]==gt[++_n]&&jn<ma);if(On=258-(ma-jn),jn=ma-258,ni<On){if(Lt=mn,Na<=(ni=On))break;Ba=gt[jn+ni-1],Qa=gt[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--In!=0);return ni<=Tt?ni:Tt}function _a(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,Y=113,be=0,Gr.dyn_tree=Nr,Gr.stat_desc=je.static_l_desc,un.dyn_tree=Fr,un.stat_desc=je.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=je.static_bl_desc,fr=cr=0,pr=8,jr(),function(){var _n;for(Wt=2*Le,_n=Dt[Yt-1]=0;_n<Yt-1;_n++)Dt[_n]=0;Ft=Xe[ir].max_lazy,mr=Xe[ir].good_length,Ar=Xe[ir].nice_length,Ht=Xe[ir].max_chain,ot=ht=2,Kt=ut=Tt=er=ft=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],Fr=[],tn=[],xr.pqdownheap=function(mn,_n){for(var On=xr.heap,In=On[_n],jn=_n<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&nt(mn,On[jn+1],On[jn],xr.depth)&&jn++,!nt(mn,In,On[jn],xr.depth));)On[_n]=On[jn],_n=jn,jn<<=1;On[_n]=In},xr.deflateInit=function(mn,_n,On,In,jn,ni){return In||(In=8),jn||(jn=8),ni||(ni=0),mn.msg=null,_n==-1&&(_n=6),jn<1||9<jn||In!=8||On<9||15<On||_n<0||9<_n||ni<0||2<ni?-2:(mn.dstate=xr,$e=(Le=1<<(Re=On))-1,Mt=(Yt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),gt=new Uint8Array(2*Le),$t=[],Dt=[],Or=1<<jn+6,xr.pending_buf=new Uint8Array(4*Or),te=4*Or,Ir=Math.floor(Or/2),qr=3*Or,ir=_n,Xt=ni,_a(mn))},xr.deflateEnd=function(){return Y!=42&&Y!=113&&Y!=666?-2:(xr.pending_buf=null,gt=$t=Dt=null,xr.dstate=null,Y==113?-3:0)},xr.deflateParams=function(mn,_n,On){var In=0;return _n==-1&&(_n=6),_n<0||9<_n||On<0||2<On?-2:(Xe[ir].func!=Xe[_n].func&&mn.total_in!==0&&(In=mn.deflate(1)),ir!=_n&&(Ft=Xe[ir=_n].max_lazy,mr=Xe[ir].good_length,Ar=Xe[ir].nice_length,Ht=Xe[ir].max_chain),Xt=On,In)},xr.deflateSetDictionary=function(mn,_n,On){var In,jn=On,ni=0;if(!_n||Y!=42)return-2;if(jn<3)return 0;for(Le-262<jn&&(ni=On-(jn=Le-262)),gt.set(_n.subarray(ni,ni+jn),0),er=ft=jn,Kt=((Kt=255>[0])<<dr^255>[1])&Mt,In=0;In<=jn-3;In++)Kt=(Kt<<dr^255>[In+2])&Mt,$t[In&$e]=Dt[Kt],Dt[Kt]=In;return 0},xr.deflate=function(mn,_n){var On,In,jn,ni,di,Na;if(4<_n||_n<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||Y==666&&_n!=4)return mn.msg=Fe[4],-2;if(mn.avail_out===0)return mn.msg=Fe[7],-5;if(ue=mn,ni=be,be=_n,Y==42&&(In=8+(Re-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),In|=jn<<6,ft!==0&&(In|=32),Y=113,gn((Na=In+=31-In%31)>>8&255),gn(255&Na)),xr.pending!==0){if(ue.flush_pending(),ue.avail_out===0)return be=-1,0}else if(ue.avail_in===0&&_n<=ni&&_n!=4)return ue.msg=Fe[7],-5;if(Y==666&&ue.avail_in!==0)return mn.msg=Fe[7],-5;if(ue.avail_in!==0||Tt!==0||_n!=0&&Y!=666){switch(di=-1,Xe[ir].func){case 0:di=function(Qi){var ma,Ba=65535;for(te-5<Ba&&(Ba=te-5);;){if(Tt<=1){if(Ci(),Tt===0&&Qi==0)return 0;if(Tt===0)break}if(ft+=Tt,ma=er+Ba,((Tt=0)===ft||ma<=ft)&&(Tt=ft-ma,ft=ma,Ii(!1),ue.avail_out===0))return 0;if(Le-262<=ft-er&&(Ii(!1),ue.avail_out===0))return 0}return Ii(Qi==4),ue.avail_out===0?Qi==4?2:0:Qi==4?3:1}(_n);break;case 1:di=function(Qi){for(var ma,Ba=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255>[ft+2])&Mt,Ba=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),Ba!==0&&(ft-Ba&65535)<=Le-262&&Xt!=2&&(ot=Yn(Ba)),3<=ot)if(ma=An(ft-Lt,ot-3),Tt-=ot,ot<=Ft&&3<=Tt){for(ot--;Kt=(Kt<<dr^255>[++ft+2])&Mt,Ba=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft,--ot!=0;);ft++}else ft+=ot,ot=0,Kt=((Kt=255>[ft])<<dr^255>[ft+1])&Mt;else ma=An(0,255>[ft]),Tt--,ft++;if(ma&&(Ii(!1),ue.avail_out===0))return 0}return Ii(Qi==4),ue.avail_out===0?Qi==4?2:0:Qi==4?3:1}(_n);break;case 2:di=function(Qi){for(var ma,Ba,Qa=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255>[ft+2])&Mt,Qa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),ht=ot,xt=Lt,ot=2,Qa!==0&&ht<Ft&&(ft-Qa&65535)<=Le-262&&(Xt!=2&&(ot=Yn(Qa)),ot<=5&&(Xt==1||ot==3&&4096<ft-Lt)&&(ot=2)),3<=ht&&ot<=ht){for(Ba=ft+Tt-3,ma=An(ft-1-xt,ht-3),Tt-=ht-1,ht-=2;++ft<=Ba&&(Kt=(Kt<<dr^255>[ft+2])&Mt,Qa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),--ht!=0;);if(ut=0,ot=2,ft++,ma&&(Ii(!1),ue.avail_out===0))return 0}else if(ut!==0){if((ma=An(0,255>[ft-1]))&&Ii(!1),ft++,Tt--,ue.avail_out===0)return 0}else ut=1,ft++,Tt--}return ut!==0&&(ma=An(0,255>[ft-1]),ut=0),Ii(Qi==4),ue.avail_out===0?Qi==4?2:0:Qi==4?3:1}(_n)}if(di!=2&&di!=3||(Y=666),di==0||di==2)return ue.avail_out===0&&(be=-1),0;if(di==1){if(_n==1)zn(2,3),qn(256,je.static_ltree),Vn(),1+pr+10-fr<9&&(zn(2,3),qn(256,je.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),_n==3)for(On=0;On<Yt;On++)Dt[On]=0;if(ue.flush_pending(),ue.avail_out===0)return be=-1,0}}return _n!=4?0:1}}function _t(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}_t.prototype={deflateInit:function(Y,te){return this.dstate=new At,te||(te=pe),this.dstate.deflateInit(this,Y,te)},deflate:function(Y){return this.dstate?this.dstate.deflate(this,Y):-2},deflateEnd:function(){if(!this.dstate)return-2;var Y=this.dstate.deflateEnd();return this.dstate=null,Y},deflateParams:function(Y,te){return this.dstate?this.dstate.deflateParams(this,Y,te):-2},deflateSetDictionary:function(Y,te){return this.dstate?this.dstate.deflateSetDictionary(this,Y,te):-2},read_buf:function(Y,te,be){var Le=this.avail_in;return be<Le&&(Le=be),Le===0?0:(this.avail_in-=Le,Y.set(this.next_in.subarray(this.next_in_index,this.next_in_index+Le),te),this.next_in_index+=Le,this.total_in+=Le,Le)},flush_pending:function(){var Y=this,te=Y.dstate.pending;te>Y.avail_out&&(te=Y.avail_out),te!==0&&(Y.next_out.set(Y.dstate.pending_buf.subarray(Y.dstate.pending_out,Y.dstate.pending_out+te),Y.next_out_index),Y.next_out_index+=te,Y.dstate.pending_out+=te,Y.total_out+=te,Y.avail_out-=te,Y.dstate.pending-=te,Y.dstate.pending===0&&(Y.dstate.pending_out=0))}};var ne=Ae.zip||Ae;ne.Deflater=ne._jzlib_Deflater=function(ue){var Y=new _t,te=new Uint8Array(512),be=ue?ue.level:-1;be===void 0&&(be=-1),Y.deflateInit(be),Y.next_out=te,this.append=function(Le,Re){var $e,gt=[],Wt=0,$t=0,Dt=0;if(Le.length){Y.next_in_index=0,Y.next_in=Le,Y.avail_in=Le.length;do{if(Y.next_out_index=0,Y.avail_out=512,Y.deflate(0)!=0)throw new Error("deflating: "+Y.msg);Y.next_out_index&&(Y.next_out_index==512?gt.push(new Uint8Array(te)):gt.push(new Uint8Array(te.subarray(0,Y.next_out_index)))),Dt+=Y.next_out_index,Re&&0<Y.next_in_index&&Y.next_in_index!=Wt&&(Re(Y.next_in_index),Wt=Y.next_in_index)}while(0<Y.avail_in||Y.avail_out===0);return $e=new Uint8Array(Dt),gt.forEach(function(Kt){$e.set(Kt,$t),$t+=Kt.length}),$e}},this.flush=function(){var Le,Re,$e=[],gt=0,Wt=0;do{if(Y.next_out_index=0,Y.avail_out=512,(Le=Y.deflate(4))!=1&&Le!=0)throw new Error("deflating: "+Y.msg);0<512-Y.avail_out&&$e.push(new Uint8Array(te.subarray(0,Y.next_out_index))),Wt+=Y.next_out_index}while(0<Y.avail_in||Y.avail_out===0);return Y.deflateEnd(),Re=new Uint8Array(Wt),$e.forEach(function($t){Re.set($t,gt),gt+=$t.length}),Re}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(Ae){var pe;Ae=Ae||"",this.ok=!1,Ae.charAt(0)=="#"&&(Ae=Ae.substr(1,6)),Ae=(Ae=Ae.replace(/ /g,"")).toLowerCase();var he={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"};for(var le in he)Ae==le&&(Ae=he[le]);for(var Ne=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(At){return[parseInt(At[1]),parseInt(At[2]),parseInt(At[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(At){return[parseInt(At[1],16),parseInt(At[2],16),parseInt(At[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(At){return[parseInt(At[1]+At[1],16),parseInt(At[2]+At[2],16),parseInt(At[3]+At[3],16)]}}],je=0;je<Ne.length;je++){var Ke=Ne[je].re,Xe=Ne[je].process,Fe=Ke.exec(Ae);Fe&&(pe=Xe(Fe),this.r=pe[0],this.g=pe[1],this.b=pe[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var nt=this.r.toString(16),At=this.g.toString(16),_t=this.b.toString(16);return nt.length==1&&(nt="0"+nt),At.length==1&&(At="0"+At),_t.length==1&&(_t="0"+_t),"#"+nt+At+_t}},function(Ae){var pe="+".charCodeAt(0),he="/".charCodeAt(0),le="0".charCodeAt(0),Ne="a".charCodeAt(0),je="A".charCodeAt(0),Ke="-".charCodeAt(0),Xe="_".charCodeAt(0),Fe=function(xt){var ut=xt.charCodeAt(0);return ut===pe||ut===Ke?62:ut===he||ut===Xe?63:ut<le?-1:ut<le+10?ut-le+26+26:ut<je+26?ut-je:ut<Ne+26?ut-Ne+26:void 0};Ae.API.TTFFont=function(){function ot(xt,ut,ft){var Lt;if(this.rawData=xt,Lt=this.contents=new At(xt),this.contents.pos=4,Lt.readString(4)==="ttcf")throw ut?new Error("Font "+ut+" not found in TTC file."):new Error("Must specify a font name for TTC files.");Lt.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return ot.open=function(xt,ut,ft,Lt){if(typeof ft!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ot(function(Tt){var ht,Ht,Ft,ir,Xt,mr;if(0<Tt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=Tt.length;Xt=Tt.charAt(Ar-2)==="="?2:Tt.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*Tt.length/4-Xt),Ft=0<Xt?Tt.length-4:Tt.length;var Nr=0;function Fr(tn){mr[Nr++]=tn}for(Ht=ht=0;ht<Ft;ht+=4,Ht+=3)Fr((16711680&(ir=Fe(Tt.charAt(ht))<<18|Fe(Tt.charAt(ht+1))<<12|Fe(Tt.charAt(ht+2))<<6|Fe(Tt.charAt(ht+3))))>>16),Fr((65280&ir)>>8),Fr(255&ir);return Xt===2?Fr(255&(ir=Fe(Tt.charAt(ht))<<2|Fe(Tt.charAt(ht+1))>>4)):Xt===1&&(Fr((ir=Fe(Tt.charAt(ht))<<10|Fe(Tt.charAt(ht+1))<<4|Fe(Tt.charAt(ht+2))>>2)>>8&255),Fr(255&ir)),mr}(ft),ut,Lt)},ot.prototype.parse=function(){return this.directory=new _t(this.contents),this.head=new Y(this),this.name=new Wt(this),this.cmap=new be(this),this.toUnicode=new Map,this.hhea=new Le(this),this.maxp=new $t(this),this.hmtx=new Dt(this),this.post=new $e(this),this.os2=new Re(this),this.loca=new dr(this),this.glyf=new Yt(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]},ot.prototype.registerTTF=function(){var xt,ut,ft,Lt,Tt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ht,Ht,Ft,ir;for(ir=[],ht=0,Ht=(Ft=this.bbox).length;ht<Ht;ht++)xt=Ft[ht],ir.push(Math.round(xt*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(ft=255&(Lt=this.post.italic_angle),!0&(ut=Lt>>16)&&(ut=-(1+(65535^ut))),this.italicAngle=+(ut+"."+ft)):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=(Tt=this.familyClass)===1||Tt===2||Tt===3||Tt===4||Tt===5||Tt===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")},ot.prototype.characterToGlyph=function(xt){var ut;return((ut=this.cmap.unicode)!=null?ut.codeMap[xt]:void 0)||0},ot.prototype.widthOfGlyph=function(xt){var ut;return ut=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(xt).advance*ut},ot.prototype.widthOfString=function(xt,ut,ft){var Lt,Tt,ht,Ht,Ft;for(Tt=Ht=ht=0,Ft=(xt=""+xt).length;0<=Ft?Ht<Ft:Ft<Ht;Tt=0<=Ft?++Ht:--Ht)Lt=xt.charCodeAt(Tt),ht+=this.widthOfGlyph(this.characterToGlyph(Lt))+ft*(1e3/ut)||0;return ht*(ut/1e3)},ot.prototype.lineHeight=function(xt,ut){var ft;return ut==null&&(ut=!1),ft=ut?this.lineGap:0,(this.ascender+ft-this.decender)/1e3*xt},ot}();var nt,At=function(){function ot(xt){this.data=xt!=null?xt:[],this.pos=0,this.length=this.data.length}return ot.prototype.readByte=function(){return this.data[this.pos++]},ot.prototype.writeByte=function(xt){return this.data[this.pos++]=xt},ot.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ot.prototype.writeUInt32=function(xt){return this.writeByte(xt>>>24&255),this.writeByte(xt>>16&255),this.writeByte(xt>>8&255),this.writeByte(255&xt)},ot.prototype.readInt32=function(){var xt;return 2147483648<=(xt=this.readUInt32())?xt-4294967296:xt},ot.prototype.writeInt32=function(xt){return xt<0&&(xt+=4294967296),this.writeUInt32(xt)},ot.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ot.prototype.writeUInt16=function(xt){return this.writeByte(xt>>8&255),this.writeByte(255&xt)},ot.prototype.readInt16=function(){var xt;return 32768<=(xt=this.readUInt16())?xt-65536:xt},ot.prototype.writeInt16=function(xt){return xt<0&&(xt+=65536),this.writeUInt16(xt)},ot.prototype.readString=function(xt){var ut,ft,Lt;for(ft=[],ut=Lt=0;0<=xt?Lt<xt:xt<Lt;ut=0<=xt?++Lt:--Lt)ft[ut]=String.fromCharCode(this.readByte());return ft.join("")},ot.prototype.writeString=function(xt){var ut,ft,Lt,Tt;for(Tt=[],ut=ft=0,Lt=xt.length;0<=Lt?ft<Lt:Lt<ft;ut=0<=Lt?++ft:--ft)Tt.push(this.writeByte(xt.charCodeAt(ut)));return Tt},ot.prototype.readShort=function(){return this.readInt16()},ot.prototype.writeShort=function(xt){return this.writeInt16(xt)},ot.prototype.readLongLong=function(){var xt,ut,ft,Lt,Tt,ht,Ht,Ft;return xt=this.readByte(),ut=this.readByte(),ft=this.readByte(),Lt=this.readByte(),Tt=this.readByte(),ht=this.readByte(),Ht=this.readByte(),Ft=this.readByte(),128&xt?-1*(72057594037927940*(255^xt)+281474976710656*(255^ut)+1099511627776*(255^ft)+4294967296*(255^Lt)+16777216*(255^Tt)+65536*(255^ht)+256*(255^Ht)+(255^Ft)+1):72057594037927940*xt+281474976710656*ut+1099511627776*ft+4294967296*Lt+16777216*Tt+65536*ht+256*Ht+Ft},ot.prototype.writeLongLong=function(xt){var ut,ft;return ut=Math.floor(xt/4294967296),ft=4294967295&xt,this.writeByte(ut>>24&255),this.writeByte(ut>>16&255),this.writeByte(ut>>8&255),this.writeByte(255&ut),this.writeByte(ft>>24&255),this.writeByte(ft>>16&255),this.writeByte(ft>>8&255),this.writeByte(255&ft)},ot.prototype.readInt=function(){return this.readInt32()},ot.prototype.writeInt=function(xt){return this.writeInt32(xt)},ot.prototype.read=function(xt){var ut,ft;for(ut=[],ft=0;0<=xt?ft<xt:xt<ft;0<=xt?++ft:--ft)ut.push(this.readByte());return ut},ot.prototype.write=function(xt){var ut,ft,Lt,Tt;for(Tt=[],ft=0,Lt=xt.length;ft<Lt;ft++)ut=xt[ft],Tt.push(this.writeByte(ut));return Tt},ot}(),_t=function(){var ot;function xt(ut){var ft,Lt,Tt;for(this.scalarType=ut.readInt(),this.tableCount=ut.readShort(),this.searchRange=ut.readShort(),this.entrySelector=ut.readShort(),this.rangeShift=ut.readShort(),this.tables={},Lt=0,Tt=this.tableCount;0<=Tt?Lt<Tt:Tt<Lt;0<=Tt?++Lt:--Lt)ft={tag:ut.readString(4),checksum:ut.readInt(),offset:ut.readInt(),length:ut.readInt()},this.tables[ft.tag]=ft}return xt.prototype.encode=function(ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn;for(tn in Nr=Object.keys(ut).length,Ft=Math.log(2),mr=16*Math.floor(Math.log(Nr)/Ft),ht=Math.floor(mr/Ft),Xt=16*Nr-mr,(Lt=new At).writeInt(this.scalarType),Lt.writeShort(Nr),Lt.writeShort(mr),Lt.writeShort(ht),Lt.writeShort(Xt),Tt=16*Nr,ir=Lt.pos+Tt,Ht=null,Fr=[],ut)for(Ar=ut[tn],Lt.writeString(tn),Lt.writeInt(ot(Ar)),Lt.writeInt(ir),Lt.writeInt(Ar.length),Fr=Fr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)Fr.push(0),ir++;return Lt.write(Fr),ft=2981146554-ot(Lt.data),Lt.pos=Ht+8,Lt.writeUInt32(ft),Lt.data},ot=function(ft){var Lt,Tt,ht,Ht;for(ft=Kt.call(ft);ft.length%4;)ft.push(0);for(Tt=new At(ft),ht=Lt=0,Ht=ft.length;ht<Ht;ht+=4)Lt+=Tt.readUInt32();return 4294967295&Lt},xt}(),ne={}.hasOwnProperty,ue=function(xt,ut){for(var ft in ut)ne.call(ut,ft)&&(xt[ft]=ut[ft]);function Lt(){this.constructor=xt}return Lt.prototype=ut.prototype,xt.prototype=new Lt,xt.__super__=ut.prototype,xt};nt=function(){function ot(xt){var ut;this.file=xt,ut=this.file.directory.tables[this.tag],this.exists=!!ut,ut&&(this.offset=ut.offset,this.length=ut.length,this.parse(this.file.contents))}return ot.prototype.parse=function(){},ot.prototype.encode=function(){},ot.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ot}();var Y=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="head",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.revision=ut.readInt(),this.checkSumAdjustment=ut.readInt(),this.magicNumber=ut.readInt(),this.flags=ut.readShort(),this.unitsPerEm=ut.readShort(),this.created=ut.readLongLong(),this.modified=ut.readLongLong(),this.xMin=ut.readShort(),this.yMin=ut.readShort(),this.xMax=ut.readShort(),this.yMax=ut.readShort(),this.macStyle=ut.readShort(),this.lowestRecPPEM=ut.readShort(),this.fontDirectionHint=ut.readShort(),this.indexToLocFormat=ut.readShort(),this.glyphDataFormat=ut.readShort()},xt.prototype.encode=function(ut){var ft;return(ft=new At).writeInt(this.version),ft.writeInt(this.revision),ft.writeInt(this.checkSumAdjustment),ft.writeInt(this.magicNumber),ft.writeShort(this.flags),ft.writeShort(this.unitsPerEm),ft.writeLongLong(this.created),ft.writeLongLong(this.modified),ft.writeShort(this.xMin),ft.writeShort(this.yMin),ft.writeShort(this.xMax),ft.writeShort(this.yMax),ft.writeShort(this.macStyle),ft.writeShort(this.lowestRecPPEM),ft.writeShort(this.fontDirectionHint),ft.writeShort(ut),ft.writeShort(this.glyphDataFormat),ft.data},xt}(),te=function(){function ot(xt,ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Or,Qr,Ir,ur;switch(this.platformID=xt.readUInt16(),this.encodingID=xt.readShort(),this.offset=ut+xt.readInt(),mr=xt.pos,xt.pos=this.offset,this.format=xt.readUInt16(),this.length=xt.readUInt16(),this.language=xt.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(Ft=Or=0;Or<256;Ft=++Or)this.codeMap[Ft]=xt.readByte();break;case 4:for(Nr=xt.readUInt16(),Ar=Nr/2,xt.pos+=6,Tt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),xt.pos+=2,tn=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),ir=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Xt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Lt=(this.length-xt.pos+this.offset)/2,Ht=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Lt?pr<Lt:Lt<pr;Ft=0<=Lt?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Ft=Qr=0,ur=Tt.length;Qr<ur;Ft=++Qr)for(qr=Tt[Ft],ft=Ir=Fr=tn[Ft];Fr<=qr?Ir<=qr:qr<=Ir;ft=Fr<=qr?++Ir:--Ir)Xt[Ft]===0?ht=ft+ir[Ft]:(ht=Ht[Xt[Ft]/2+(ft-Fr)-(Ar-Ft)]||0)!==0&&(ht+=ir[Ft]),this.codeMap[ft]=65535&ht}xt.pos=mr}return ot.encode=function(xt,ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Or,Qr,Ir,ur,pr,cr,fr,xr,Gr,un,Nn,jr,Tn,gn,Pn,zn,qn,Gn,Vn,An,on,ia,xa,ta,Ii,Ci,Yn,_a,mn,_n,On,In;switch(gn=new At,ht=Object.keys(xt).sort(function(jn,ni){return jn-ni}),ut){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],Fr=jn=0;jn<256;Fr=++jn)ni.push(0);return ni}(),Qr={0:0},Tt={},Pn=0,Vn=ht.length;Pn<Vn;Pn++)Qr[mn=xt[Lt=ht[Pn]]]==null&&(Qr[mn]=++tn),Tt[Lt]={old:xt[Lt],new:Qr[xt[Lt]]},qr[Lt]=Qr[xt[Lt]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:Tt,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},ft={},Or=ir=null,zn=Ir=0,An=ht.length;zn<An;zn++)Qr[pr=xt[Lt=ht[zn]]]==null&&(Qr[pr]=++Ir),ft[Lt]={old:pr,new:Qr[pr]},Ht=Qr[pr]-Lt,Or!=null&&Ht===ir||(Or&&mr.push(Or),jr.push(Lt),ir=Ht),Or=Lt;for(Or&&mr.push(Or),mr.push(65535),jr.push(65535),un=2*(Gr=jr.length),xr=2*Math.pow(Math.log(Gr)/Math.LN2,2),Ar=Math.log(xr/2)/Math.LN2,fr=2*Gr-xr,Ft=[],cr=[],Nr=[],Fr=qn=0,on=jr.length;qn<on;Fr=++qn){if(Nn=jr[Fr],Xt=mr[Fr],Nn===65535){Ft.push(0),cr.push(0);break}if(32768<=Nn-(Tn=ft[Nn].new))for(Ft.push(0),cr.push(2*(Nr.length+Gr-Fr)),Lt=Gn=Nn;Nn<=Xt?Gn<=Xt:Xt<=Gn;Lt=Nn<=Xt?++Gn:--Gn)Nr.push(ft[Lt].new);else Ft.push(Tn-Nn),cr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Gr+2*Nr.length),gn.writeUInt16(0),gn.writeUInt16(un),gn.writeUInt16(xr),gn.writeUInt16(Ar),gn.writeUInt16(fr),Yn=0,ia=mr.length;Yn<ia;Yn++)Lt=mr[Yn],gn.writeUInt16(Lt);for(gn.writeUInt16(0),_a=0,xa=jr.length;_a<xa;_a++)Lt=jr[_a],gn.writeUInt16(Lt);for(_n=0,ta=Ft.length;_n<ta;_n++)Ht=Ft[_n],gn.writeUInt16(Ht);for(On=0,Ii=cr.length;On<Ii;On++)ur=cr[On],gn.writeUInt16(ur);for(In=0,Ci=Nr.length;In<Ci;In++)tn=Nr[In],gn.writeUInt16(tn);return{charMap:ft,subtable:gn.data,maxGlyphID:Ir+1}}},ot}(),be=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="cmap",xt.prototype.parse=function(ut){var ft,Lt,Tt;for(ut.pos=this.offset,this.version=ut.readUInt16(),Lt=ut.readUInt16(),this.tables=[],this.unicode=null,Tt=0;0<=Lt?Tt<Lt:Lt<Tt;0<=Lt?++Tt:--Tt)ft=new te(ut,this.offset),this.tables.push(ft),ft.isUnicode&&this.unicode==null&&(this.unicode=ft);return!0},xt.encode=function(ut,ft){var Lt,Tt;return ft==null&&(ft="macroman"),Lt=te.encode(ut,ft),(Tt=new At).writeUInt16(0),Tt.writeUInt16(1),Lt.table=Tt.data.concat(Lt.subtable),Lt},xt}(),Le=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="hhea",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.ascender=ut.readShort(),this.decender=ut.readShort(),this.lineGap=ut.readShort(),this.advanceWidthMax=ut.readShort(),this.minLeftSideBearing=ut.readShort(),this.minRightSideBearing=ut.readShort(),this.xMaxExtent=ut.readShort(),this.caretSlopeRise=ut.readShort(),this.caretSlopeRun=ut.readShort(),this.caretOffset=ut.readShort(),ut.pos+=8,this.metricDataFormat=ut.readShort(),this.numberOfMetrics=ut.readUInt16()},xt}(),Re=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="OS/2",xt.prototype.parse=function(ut){if(ut.pos=this.offset,this.version=ut.readUInt16(),this.averageCharWidth=ut.readShort(),this.weightClass=ut.readUInt16(),this.widthClass=ut.readUInt16(),this.type=ut.readShort(),this.ySubscriptXSize=ut.readShort(),this.ySubscriptYSize=ut.readShort(),this.ySubscriptXOffset=ut.readShort(),this.ySubscriptYOffset=ut.readShort(),this.ySuperscriptXSize=ut.readShort(),this.ySuperscriptYSize=ut.readShort(),this.ySuperscriptXOffset=ut.readShort(),this.ySuperscriptYOffset=ut.readShort(),this.yStrikeoutSize=ut.readShort(),this.yStrikeoutPosition=ut.readShort(),this.familyClass=ut.readShort(),this.panose=function(){var ft,Lt;for(Lt=[],ft=0;ft<10;++ft)Lt.push(ut.readByte());return Lt}(),this.charRange=function(){var ft,Lt;for(Lt=[],ft=0;ft<4;++ft)Lt.push(ut.readInt());return Lt}(),this.vendorID=ut.readString(4),this.selection=ut.readShort(),this.firstCharIndex=ut.readShort(),this.lastCharIndex=ut.readShort(),0<this.version&&(this.ascent=ut.readShort(),this.descent=ut.readShort(),this.lineGap=ut.readShort(),this.winAscent=ut.readShort(),this.winDescent=ut.readShort(),this.codePageRange=function(){var ft,Lt;for(Lt=[],ft=0;ft<2;++ft)Lt.push(ut.readInt());return Lt}(),1<this.version))return this.xHeight=ut.readShort(),this.capHeight=ut.readShort(),this.defaultChar=ut.readShort(),this.breakChar=ut.readShort(),this.maxContext=ut.readShort()},xt}(),$e=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="post",xt.prototype.parse=function(ut){var ft,Lt,Tt,ht;switch(ut.pos=this.offset,this.format=ut.readInt(),this.italicAngle=ut.readInt(),this.underlinePosition=ut.readShort(),this.underlineThickness=ut.readShort(),this.isFixedPitch=ut.readInt(),this.minMemType42=ut.readInt(),this.maxMemType42=ut.readInt(),this.minMemType1=ut.readInt(),this.maxMemType1=ut.readInt(),this.format){case 65536:break;case 131072:for(Lt=ut.readUInt16(),this.glyphNameIndex=[],Tt=0;0<=Lt?Tt<Lt:Lt<Tt;0<=Lt?++Tt:--Tt)this.glyphNameIndex.push(ut.readUInt16());for(this.names=[],ht=[];ut.pos<this.offset+this.length;)ft=ut.readByte(),ht.push(this.names.push(ut.readString(ft)));return ht;case 151552:return Lt=ut.readUInt16(),this.offsets=ut.read(Lt);case 196608:break;case 262144:return this.map=function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=this.file.maxp.numGlyphs;0<=Ft?Ht<Ft:Ft<Ht;0<=Ft?++Ht:--Ht)ir.push(ut.readUInt32());return ir}.call(this)}},xt}(),gt=function(xt,ut){this.raw=xt,this.length=xt.length,this.platformID=ut.platformID,this.encodingID=ut.encodingID,this.languageID=ut.languageID},Wt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="name",xt.prototype.parse=function(ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr;for(ut.pos=this.offset,ut.readShort(),ft=ut.readShort(),Ft=ut.readShort(),Lt=[],ht=mr=0;0<=ft?mr<ft:ft<mr;ht=0<=ft?++mr:--mr)Lt.push({platformID:ut.readShort(),encodingID:ut.readShort(),languageID:ut.readShort(),nameID:ut.readShort(),length:ut.readShort(),offset:this.offset+Ft+ut.readShort()});for(ir={},ht=Ar=0,Nr=Lt.length;Ar<Nr;ht=++Ar)Tt=Lt[ht],ut.pos=Tt.offset,Xt=ut.readString(Tt.length),Ht=new gt(Xt,Tt),ir[Fr=Tt.nameID]==null&&(ir[Fr]=[]),ir[Tt.nameID].push(Ht);this.strings=ir,this.copyright=ir[0],this.fontFamily=ir[1],this.fontSubfamily=ir[2],this.uniqueSubfamily=ir[3],this.fontName=ir[4],this.version=ir[5];try{this.postscriptName=ir[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=ir[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ir[7],this.manufacturer=ir[8],this.designer=ir[9],this.description=ir[10],this.vendorUrl=ir[11],this.designerUrl=ir[12],this.license=ir[13],this.licenseUrl=ir[14],this.preferredFamily=ir[15],this.preferredSubfamily=ir[17],this.compatibleFull=ir[18],this.sampleText=ir[19]},xt}(),$t=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="maxp",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.numGlyphs=ut.readUInt16(),this.maxPoints=ut.readUInt16(),this.maxContours=ut.readUInt16(),this.maxCompositePoints=ut.readUInt16(),this.maxComponentContours=ut.readUInt16(),this.maxZones=ut.readUInt16(),this.maxTwilightPoints=ut.readUInt16(),this.maxStorage=ut.readUInt16(),this.maxFunctionDefs=ut.readUInt16(),this.maxInstructionDefs=ut.readUInt16(),this.maxStackElements=ut.readUInt16(),this.maxSizeOfInstructions=ut.readUInt16(),this.maxComponentElements=ut.readUInt16(),this.maxComponentDepth=ut.readUInt16()},xt}(),Dt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="hmtx",xt.prototype.parse=function(ut){var ft,Lt,Tt,ht,Ht,Ft,ir;for(ut.pos=this.offset,this.metrics=[],ht=0,Ft=this.file.hhea.numberOfMetrics;0<=Ft?ht<Ft:Ft<ht;0<=Ft?++ht:--ht)this.metrics.push({advance:ut.readUInt16(),lsb:ut.readInt16()});for(Lt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=Lt?Xt<Lt:Lt<Xt;0<=Lt?++Xt:--Xt)mr.push(ut.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)Tt=Ar[Xt],Nr.push(Tt.advance);return Nr}.call(this),ft=this.widths[this.widths.length-1],ir=[],Ht=0;0<=Lt?Ht<Lt:Lt<Ht;0<=Lt?++Ht:--Ht)ir.push(this.widths.push(ft));return ir},xt.prototype.forGlyph=function(ut){return ut in this.metrics?this.metrics[ut]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ut-this.metrics.length]}},xt}(),Kt=[].slice,Yt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="glyf",xt.prototype.parse=function(ut){return this.cache={}},xt.prototype.glyphFor=function(ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar;return(ut=ut)in this.cache?this.cache[ut]:(ht=this.file.loca,ft=this.file.contents,Lt=ht.indexOf(ut),(Tt=ht.lengthOf(ut))===0?this.cache[ut]=null:(ft.pos=this.offset+Lt,Ht=(Ft=new At(ft.read(Tt))).readShort(),Xt=Ft.readShort(),Ar=Ft.readShort(),ir=Ft.readShort(),mr=Ft.readShort(),this.cache[ut]=Ht===-1?new Mt(Ft,Xt,Ar,ir,mr):new Qt(Ft,Ht,Xt,Ar,ir,mr),this.cache[ut]))},xt.prototype.encode=function(ut,ft,Lt){var Tt,ht,Ht,Ft,ir;for(Ht=[],ht=[],Ft=0,ir=ft.length;Ft<ir;Ft++)Tt=ut[ft[Ft]],ht.push(Ht.length),Tt&&(Ht=Ht.concat(Tt.encode(Lt)));return ht.push(Ht.length),{table:Ht,offsets:ht}},xt}(),Qt=function(){function ot(xt,ut,ft,Lt,Tt,ht){this.raw=xt,this.numberOfContours=ut,this.xMin=ft,this.yMin=Lt,this.xMax=Tt,this.yMax=ht,this.compound=!1}return ot.prototype.encode=function(){return this.raw.data},ot}(),Mt=function(){function ot(xt,ut,ft,Lt,Tt){var ht,Ht;for(this.raw=xt,this.xMin=ut,this.yMin=ft,this.xMax=Lt,this.yMax=Tt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ht=this.raw;Ht=ht.readShort(),this.glyphOffsets.push(ht.pos),this.glyphIDs.push(ht.readShort()),32&Ht;)ht.pos+=1&Ht?4:2,128&Ht?ht.pos+=8:64&Ht?ht.pos+=4:8&Ht&&(ht.pos+=2)}return ot.prototype.encode=function(xt){var ut,ft,Lt,Tt,ht;for(ft=new At(Kt.call(this.raw.data)),ut=Lt=0,Tt=(ht=this.glyphIDs).length;Lt<Tt;ut=++Lt)ht[ut],ft.pos=this.glyphOffsets[ut];return ft.data},ot}(),dr=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return ue(xt,nt),xt.prototype.tag="loca",xt.prototype.parse=function(ut){var ft;return ut.pos=this.offset,ft=this.file.head.indexToLocFormat,this.offsets=ft===0?function(){var Lt,Tt,ht;for(ht=[],Lt=0,Tt=this.length;Lt<Tt;Lt+=2)ht.push(2*ut.readUInt16());return ht}.call(this):function(){var Lt,Tt,ht;for(ht=[],Lt=0,Tt=this.length;Lt<Tt;Lt+=4)ht.push(ut.readUInt32());return ht}.call(this)},xt.prototype.indexOf=function(ut){return this.offsets[ut]},xt.prototype.lengthOf=function(ut){return this.offsets[ut+1]-this.offsets[ut]},xt.prototype.encode=function(ut,ft){for(var Lt=new Uint32Array(this.offsets.length),Tt=0,ht=0,Ht=0;Ht<Lt.length;++Ht)if(Lt[Ht]=Tt,ht<ft.length&&ft[ht]==Ht){++ht,Lt[Ht]=Tt;var Ft=this.offsets[Ht],ir=this.offsets[Ht+1]-Ft;0<ir&&(Tt+=ir)}for(var Xt=new Array(4*Lt.length),mr=0;mr<Lt.length;++mr)Xt[4*mr+3]=255&Lt[mr],Xt[4*mr+2]=(65280&Lt[mr])>>8,Xt[4*mr+1]=(16711680&Lt[mr])>>16,Xt[4*mr]=(4278190080&Lt[mr])>>24;return Xt},xt}(),er=function(){function ot(xt){this.font=xt,this.subset={},this.unicodes={},this.next=33}return ot.prototype.generateCmap=function(){var xt,ut,ft,Lt,Tt;for(ut in Lt=this.font.cmap.tables[0].codeMap,xt={},Tt=this.subset)ft=Tt[ut],xt[ut]=Lt[ft];return xt},ot.prototype.glyphsFor=function(xt){var ut,ft,Lt,Tt,ht,Ht,Ft;for(Lt={},ht=0,Ht=xt.length;ht<Ht;ht++)Lt[Tt=xt[ht]]=this.font.glyf.glyphFor(Tt);for(Tt in ut=[],Lt)((ft=Lt[Tt])!=null?ft.compound:void 0)&&ut.push.apply(ut,ft.glyphIDs);if(0<ut.length)for(Tt in Ft=this.glyphsFor(ut))ft=Ft[Tt],Lt[Tt]=ft;return Lt},ot.prototype.encode=function(xt,ut){var ft,Lt,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Or;for(Lt in ft=be.encode(this.generateCmap(),"unicode"),ht=this.glyphsFor(xt),Nr={0:0},Or=ft.charMap)Nr[(Ft=Or[Lt]).old]=Ft.new;for(Fr in Ar=ft.maxGlyphID,ht)Fr in Nr||(Nr[Fr]=Ar++);return Xt=function(Qr){var Ir,ur;for(Ir in ur={},Qr)ur[Qr[Ir]]=Ir;return ur}(Nr),mr=Object.keys(Xt).sort(function(Qr,Ir){return Qr-Ir}),tn=function(){var Qr,Ir,ur;for(ur=[],Qr=0,Ir=mr.length;Qr<Ir;Qr++)Ht=mr[Qr],ur.push(Xt[Ht]);return ur}(),Tt=this.font.glyf.encode(ht,tn,Nr),ir=this.font.loca.encode(Tt.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:Tt.table,loca:ir,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(ut)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},ot}();Ae.API.PDFObject=function(){var ot;function xt(){}return ot=function(ft,Lt){return(Array(Lt+1).join("0")+ft).slice(-Lt)},xt.convert=function(ut){var ft,Lt,Tt,ht;if(Array.isArray(ut))return"["+function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=ut.length;Ht<Ft;Ht++)ft=ut[Ht],ir.push(xt.convert(ft));return ir}().join(" ")+"]";if(typeof ut=="string")return"/"+ut;if(ut!=null?ut.isString:void 0)return"("+ut+")";if(ut instanceof Date)return"(D:"+ot(ut.getUTCFullYear(),4)+ot(ut.getUTCMonth(),2)+ot(ut.getUTCDate(),2)+ot(ut.getUTCHours(),2)+ot(ut.getUTCMinutes(),2)+ot(ut.getUTCSeconds(),2)+"Z)";if({}.toString.call(ut)!=="[object Object]")return""+ut;for(Lt in Tt=["<<"],ut)ht=ut[Lt],Tt.push("/"+Lt+" "+xt.convert(ht));return Tt.push(">>"),Tt.join(`
|
|
|
`)},xt}()}(vt),Qe=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),ye=function(){var Ae,pe,he;function le(Ne){var je,Ke,Xe,Fe,nt,At,_t,ne,ue,Y,te,be,Le,Re;for(this.data=Ne,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},At=null;;){switch(je=this.readUInt32(),ue=function(){var $e,gt;for(gt=[],$e=0;$e<4;++$e)gt.push(String.fromCharCode(this.data[this.pos++]));return gt}.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":At&&this.animation.frames.push(At),this.pos+=4,At={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},nt=this.readUInt16(),Fe=this.readUInt16()||100,At.delay=1e3*nt/Fe,At.disposeOp=this.data[this.pos++],At.blendOp=this.data[this.pos++],At.data=[];break;case"IDAT":case"fdAT":for(ue==="fdAT"&&(this.pos+=4,je-=4),Ne=(At!=null?At.data:void 0)||this.imgData,be=0;0<=je?be<je:je<be;0<=je?++be:--be)Ne.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Xe=this.palette.length/3,this.transparency.indexed=this.read(je),this.transparency.indexed.length>Xe)throw new Error("More transparent colors than palette size");if(0<(Y=Xe-this.transparency.indexed.length))for(Le=0;0<=Y?Le<Y:Y<Le;0<=Y?++Le:--Le)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":_t=(te=this.read(je)).indexOf(0),ne=String.fromCharCode.apply(String,te.slice(0,_t)),this.text[ne]=String.fromCharCode.apply(String,te.slice(_t+1));break;case"IEND":return At&&this.animation.frames.push(At),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Re=this.colorType)===4||Re===6,Ke=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ke,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")}}le.load=function(Ne,je,Ke){var Xe;return typeof je=="function"&&(Ke=je),(Xe=new XMLHttpRequest).open("GET",Ne,!0),Xe.responseType="arraybuffer",Xe.onload=function(){var Fe;return Fe=new le(new Uint8Array(Xe.response||Xe.mozResponseArrayBuffer)),typeof(je!=null?je.getContext:void 0)=="function"&&Fe.render(je),typeof Ke=="function"?Ke(Fe):void 0},Xe.send(null)},le.prototype.read=function(Ne){var je,Ke;for(Ke=[],je=0;0<=Ne?je<Ne:Ne<je;0<=Ne?++je:--je)Ke.push(this.data[this.pos++]);return Ke},le.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},le.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},le.prototype.decodePixels=function(Ne){var je=this.pixelBitlength/8,Ke=new Uint8Array(this.width*this.height*je),Xe=0,Fe=this;if(Ne==null&&(Ne=this.imgData),Ne.length===0)return new Uint8Array(0);function nt(At,_t,ne,ue){var Y,te,be,Le,Re,$e,gt,Wt,$t,Dt,Kt,Yt,Qt,Mt,dr,er,ot,xt,ut,ft,Lt,Tt=Math.ceil((Fe.width-At)/ne),ht=Math.ceil((Fe.height-_t)/ue),Ht=Fe.width==Tt&&Fe.height==ht;for(Mt=je*Tt,Yt=Ht?Ke:new Uint8Array(Mt*ht),$e=Ne.length,te=Qt=0;Qt<ht&&Xe<$e;){switch(Ne[Xe++]){case 0:for(Le=ot=0;ot<Mt;Le=ot+=1)Yt[te++]=Ne[Xe++];break;case 1:for(Le=xt=0;xt<Mt;Le=xt+=1)Y=Ne[Xe++],Re=Le<je?0:Yt[te-je],Yt[te++]=(Y+Re)%256;break;case 2:for(Le=ut=0;ut<Mt;Le=ut+=1)Y=Ne[Xe++],be=(Le-Le%je)/je,dr=Qt&&Yt[(Qt-1)*Mt+be*je+Le%je],Yt[te++]=(dr+Y)%256;break;case 3:for(Le=ft=0;ft<Mt;Le=ft+=1)Y=Ne[Xe++],be=(Le-Le%je)/je,Re=Le<je?0:Yt[te-je],dr=Qt&&Yt[(Qt-1)*Mt+be*je+Le%je],Yt[te++]=(Y+Math.floor((Re+dr)/2))%256;break;case 4:for(Le=Lt=0;Lt<Mt;Le=Lt+=1)Y=Ne[Xe++],be=(Le-Le%je)/je,Re=Le<je?0:Yt[te-je],Qt===0?dr=er=0:(dr=Yt[(Qt-1)*Mt+be*je+Le%je],er=be&&Yt[(Qt-1)*Mt+(be-1)*je+Le%je]),gt=Re+dr-er,Wt=Math.abs(gt-Re),Dt=Math.abs(gt-dr),Kt=Math.abs(gt-er),$t=Wt<=Dt&&Wt<=Kt?Re:Dt<=Kt?dr:er,Yt[te++]=(Y+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+Ne[Xe-1])}if(!Ht){var Ft=((_t+Qt*ue)*Fe.width+At)*je,ir=Qt*Mt;for(Le=0;Le<Tt;Le+=1){for(var Xt=0;Xt<je;Xt+=1)Ke[Ft++]=Yt[ir++];Ft+=(ne-1)*je}}Qt++}}return Ne=(Ne=new Bt(Ne)).getBytes(),Fe.interlaceMethod==1?(nt(0,0,8,8),nt(4,0,8,8),nt(0,4,4,8),nt(2,0,4,4),nt(0,2,2,4),nt(1,0,2,2),nt(0,1,1,2)):nt(0,0,1,1),Ke},le.prototype.decodePalette=function(){var Ne,je,Ke,Xe,Fe,nt,At,_t,ne;for(Ke=this.palette,nt=this.transparency.indexed||[],Fe=new Uint8Array((nt.length||0)+Ke.length),Xe=0,Ke.length,je=At=Ne=0,_t=Ke.length;At<_t;je=At+=3)Fe[Xe++]=Ke[je],Fe[Xe++]=Ke[je+1],Fe[Xe++]=Ke[je+2],Fe[Xe++]=(ne=nt[Ne++])!=null?ne:255;return Fe},le.prototype.copyToImageData=function(Ne,je){var Ke,Xe,Fe,nt,At,_t,ne,ue,Y,te,be;if(Xe=this.colors,Y=null,Ke=this.hasAlphaChannel,this.palette.length&&(Y=(be=this._decodedPalette)!=null?be:this._decodedPalette=this.decodePalette(),Xe=4,Ke=!0),ue=(Fe=Ne.data||Ne).length,At=Y||je,nt=_t=0,Xe===1)for(;nt<ue;)ne=Y?4*je[nt/4]:_t,te=At[ne++],Fe[nt++]=te,Fe[nt++]=te,Fe[nt++]=te,Fe[nt++]=Ke?At[ne++]:255,_t=ne;else for(;nt<ue;)ne=Y?4*je[nt/4]:_t,Fe[nt++]=At[ne++],Fe[nt++]=At[ne++],Fe[nt++]=At[ne++],Fe[nt++]=Ke?At[ne++]:255,_t=ne},le.prototype.decode=function(){var Ne;return Ne=new Uint8Array(this.width*this.height*4),this.copyToImageData(Ne,this.decodePixels()),Ne};try{pe=Qe.document.createElement("canvas"),he=pe.getContext("2d")}catch(Ne){return-1}return Ae=function(je){var Ke;return he.width=je.width,he.height=je.height,he.clearRect(0,0,je.width,je.height),he.putImageData(je,0,0),(Ke=new Image).src=pe.toDataURL(),Ke},le.prototype.decodeFrames=function(Ne){var je,Ke,Xe,Fe,nt,At,_t,ne;if(this.animation){for(ne=[],Ke=nt=0,At=(_t=this.animation.frames).length;nt<At;Ke=++nt)je=_t[Ke],Xe=Ne.createImageData(je.width,je.height),Fe=this.decodePixels(new Uint8Array(je.data)),this.copyToImageData(Xe,Fe),je.imageData=Xe,ne.push(je.image=Ae(Xe));return ne}},le.prototype.renderFrame=function(Ne,je){var Ke,Xe,Fe;return Ke=(Xe=this.animation.frames)[je],Fe=Xe[je-1],je===0&&Ne.clearRect(0,0,this.width,this.height),(Fe!=null?Fe.disposeOp:void 0)===1?Ne.clearRect(Fe.xOffset,Fe.yOffset,Fe.width,Fe.height):(Fe!=null?Fe.disposeOp:void 0)===2&&Ne.putImageData(Fe.imageData,Fe.xOffset,Fe.yOffset),Ke.blendOp===0&&Ne.clearRect(Ke.xOffset,Ke.yOffset,Ke.width,Ke.height),Ne.drawImage(Ke.image,Ke.xOffset,Ke.yOffset)},le.prototype.animate=function(Ne){var je,Ke,Xe,Fe,nt,At,_t=this;return Ke=0,At=this.animation,Fe=At.numFrames,Xe=At.frames,nt=At.numPlays,(je=function(){var ue,Y;if(ue=Ke++%Fe,Y=Xe[ue],_t.renderFrame(Ne,ue),1<Fe&&Ke/Fe<nt)return _t.animation._timeout=setTimeout(je,Y.delay)})()},le.prototype.stopAnimation=function(){var Ne;return clearTimeout((Ne=this.animation)!=null?Ne._timeout:void 0)},le.prototype.render=function(Ne){var je,Ke;return Ne._png&&Ne._png.stopAnimation(),Ne._png=this,Ne.width=this.width,Ne.height=this.height,je=Ne.getContext("2d"),this.animation?(this.decodeFrames(je),this.animate(je)):(Ke=je.createImageData(this.width,this.height),this.copyToImageData(Ke,this.decodePixels()),je.putImageData(Ke,0,0))},le}(),Qe.PNG=ye;var or=function(){function Ae(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return Ae.prototype={ensureBuffer:function(he){var le=this.buffer,Ne=le?le.byteLength:0;if(he<Ne)return le;for(var je=512;je<he;)je<<=1;for(var Ke=new Uint8Array(je),Xe=0;Xe<Ne;++Xe)Ke[Xe]=le[Xe];return this.buffer=Ke},getByte:function(){for(var he=this.pos;this.bufferLength<=he;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(he){var le=this.pos;if(he){this.ensureBuffer(le+he);for(var Ne=le+he;!this.eof&&this.bufferLength<Ne;)this.readBlock();var je=this.bufferLength;je<Ne&&(Ne=je)}else{for(;!this.eof;)this.readBlock();Ne=this.bufferLength}return this.pos=Ne,this.buffer.subarray(le,Ne)},lookChar:function(){for(var he=this.pos;this.bufferLength<=he;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var he=this.pos;this.bufferLength<=he;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(he,le,Ne){for(var je=he+le;this.bufferLength<=je&&!this.eof;)this.readBlock();return new Stream(this.buffer,he,le,Ne)},skip:function(he){he||(he=1),this.pos+=he},reset:function(){this.pos=0}},Ae}(),Bt=function(){if(typeof Uint32Array!="undefined"){var Ae=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),pe=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),he=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),le=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Ne=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Ke.prototype=Object.create(or.prototype)).getBits=function(Xe){for(var Fe,nt=this.codeSize,At=this.codeBuf,_t=this.bytes,ne=this.bytesPos;nt<Xe;)(Fe=_t[ne++])===void 0&&je("Bad encoding in flate stream"),At|=Fe<<nt,nt+=8;return Fe=At&(1<<Xe)-1,this.codeBuf=At>>Xe,this.codeSize=nt-=Xe,this.bytesPos=ne,Fe},Ke.prototype.getCode=function(Xe){for(var Fe=Xe[0],nt=Xe[1],At=this.codeSize,_t=this.codeBuf,ne=this.bytes,ue=this.bytesPos;At<nt;){var Y;(Y=ne[ue++])===void 0&&je("Bad encoding in flate stream"),_t|=Y<<At,At+=8}var te=Fe[_t&(1<<nt)-1],be=te>>16,Le=65535&te;return(At==0||At<be||be==0)&&je("Bad encoding in flate stream"),this.codeBuf=_t>>be,this.codeSize=At-be,this.bytesPos=ue,Le},Ke.prototype.generateHuffmanTable=function(Xe){for(var Fe=Xe.length,nt=0,At=0;At<Fe;++At)Xe[At]>nt&&(nt=Xe[At]);for(var _t=1<<nt,ne=new Uint32Array(_t),ue=1,Y=0,te=2;ue<=nt;++ue,Y<<=1,te<<=1)for(var be=0;be<Fe;++be)if(Xe[be]==ue){var Le=0,Re=Y;for(At=0;At<ue;++At)Le=Le<<1|1&Re,Re>>=1;for(At=Le;At<_t;At+=te)ne[At]=ue<<16|be;++Y}return[ne,nt]},Ke.prototype.readBlock=function(){function Xe(ht,Ht,Ft,ir,Xt){for(var mr=ht.getBits(Ft)+ir;0<mr--;)Ht[te++]=Xt}var Fe=this.getBits(3);if(1&Fe&&(this.eof=!0),(Fe>>=1)!=0){var nt,At;if(Fe==1)nt=le,At=Ne;else if(Fe==2){for(var _t=this.getBits(5)+257,ne=this.getBits(5)+1,ue=this.getBits(4)+4,Y=Array(Ae.length),te=0;te<ue;)Y[Ae[te++]]=this.getBits(3);for(var be=this.generateHuffmanTable(Y),Le=0,Re=(te=0,_t+ne),$e=new Array(Re);te<Re;){var gt=this.getCode(be);gt==16?Xe(this,$e,2,3,Le):gt==17?Xe(this,$e,3,3,Le=0):gt==18?Xe(this,$e,7,11,Le=0):$e[te++]=Le=gt}nt=this.generateHuffmanTable($e.slice(0,_t)),At=this.generateHuffmanTable($e.slice(_t,Re))}else je("Unknown block type in flate stream");for(var Wt=(ft=this.buffer)?ft.length:0,$t=this.bufferLength;;){var Dt=this.getCode(nt);if(Dt<256)Wt<=$t+1&&(Wt=(ft=this.ensureBuffer($t+1)).length),ft[$t++]=Dt;else{if(Dt==256)return void(this.bufferLength=$t);var Kt=(Dt=pe[Dt-=257])>>16;0<Kt&&(Kt=this.getBits(Kt)),Le=(65535&Dt)+Kt,Dt=this.getCode(At),0<(Kt=(Dt=he[Dt])>>16)&&(Kt=this.getBits(Kt));var Yt=(65535&Dt)+Kt;Wt<=$t+Le&&(Wt=(ft=this.ensureBuffer($t+Le)).length);for(var Qt=0;Qt<Le;++Qt,++$t)ft[$t]=ft[$t-Yt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream");var ot=Mt;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream"),ot|=Mt<<8,(Mt=dr[er++])===void 0&&je("Bad block header in flate stream");var xt=Mt;(Mt=dr[er++])===void 0&&je("Bad block header in flate stream"),(xt|=Mt<<8)!=(65535&~ot)&&je("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var ut=this.bufferLength,ft=this.ensureBuffer(ut+ot),Lt=ut+ot;this.bufferLength=Lt;for(var Tt=ut;Tt<Lt;++Tt){if((Mt=dr[er++])===void 0){this.eof=!0;break}ft[Tt]=Mt}this.bytesPos=er}},Ke}function je(Xe){throw new Error(Xe)}function Ke(Xe){var Fe=0,nt=Xe[Fe++],At=Xe[Fe++];nt!=-1&&At!=-1||je("Invalid header in flate stream"),(15&nt)!=8&&je("Unknown compression method in flate stream"),((nt<<8)+At)%31!=0&&je("Bad FCHECK in flate stream"),32&At&&je("FDICT bit set in flate stream"),this.bytes=Xe,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Bt});try{D.exports=jsPDF}catch(p){}}).call(this,e("yLpj"))},"5RzL":function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("7W2i"),r=e.n(i),a=e("LQ03"),c=e.n(a),n=e("q1tI"),l=e.n(n),t=e("1OyB"),s=e("vuIU"),d=e("Ji7U"),m=e("LK+K"),w=e("KQm4"),b=e("U8pU"),E=e("ODXe"),A=e("VTBJ"),S=e("qNPg"),T=e("2Qr1"),O=e("815F"),x=e("NvD2"),C=e("wPlo"),_=e("6cGi"),N=e("Kwbf"),F=e("4IlW"),k=e("YrtM"),P=e("fAei"),j=l.a.createContext(null);function K(yt,It){if(!yt)return!0;var or=yt.data,Bt=or.disabled,Ae=or.disableCheckbox;switch(It){case"select":return Bt;case"checkbox":return Bt||Ae}return!1}function R(yt,It){var or=l.a.useCallback(function(Ae){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",he=arguments.length>2?arguments[2]:void 0,le=yt.get(Ae);return!he&&K(le,pe)?null:le},[yt]),Bt=l.a.useCallback(function(Ae){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",he=arguments.length>2?arguments[2]:void 0,le=It.get(Ae);return!he&&K(le,pe)?null:le},[It]);return[or,Bt]}function B(yt){return l.a.useMemo(function(){var It=new Map,or=new Map;return yt.forEach(function(Bt){It.set(Bt.key,Bt),or.set(Bt.data.value,Bt)}),[It,or]},[yt])}var U={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},H=function(It,or){var Bt=It.prefixCls,Ae=It.height,pe=It.itemHeight,he=It.virtual,le=It.options,Ne=It.flattenOptions,je=It.multiple,Ke=It.searchValue,Xe=It.onSelect,Fe=It.onToggleOpen,nt=It.open,At=It.notFoundContent,_t=It.onMouseEnter,ne=l.a.useContext(j),ue=ne.checkable,Y=ne.checkedKeys,te=ne.halfCheckedKeys,be=ne.treeExpandedKeys,Le=ne.treeDefaultExpandAll,Re=ne.treeDefaultExpandedKeys,$e=ne.onTreeExpand,gt=ne.treeIcon,Wt=ne.showTreeIcon,$t=ne.switcherIcon,Dt=ne.treeLine,Kt=ne.treeNodeFilterProp,Yt=ne.loadData,Qt=ne.treeLoadedKeys,Mt=ne.treeMotion,dr=ne.onTreeLoad,er=l.a.useRef(),ot=Object(k.a)(function(){return le},[nt,le],function(Pn,zn){return zn[0]&&Pn[1]!==zn[1]}),xt=B(Ne),ut=Object(E.a)(xt,2),ft=ut[0],Lt=ut[1],Tt=R(ft,Lt),ht=Object(E.a)(Tt,2),Ht=ht[0],Ft=ht[1],ir=l.a.useMemo(function(){return Y.map(function(Pn){var zn=Ft(Pn);return zn?zn.key:null})},[Y]),Xt=l.a.useMemo(function(){return ue?{checked:ir,halfChecked:te}:null},[ir,te,ue]);l.a.useEffect(function(){if(nt&&!je&&ir.length){var Pn;(Pn=er.current)===null||Pn===void 0||Pn.scrollTo({key:ir[0]})}},[nt]);var mr=String(Ke).toLowerCase(),Ar=function(zn){return mr?String(zn[Kt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Re),Fr=Object(E.a)(Nr,2),tn=Fr[0],qr=Fr[1],Or=l.a.useState(null),Qr=Object(E.a)(Or,2),Ir=Qr[0],ur=Qr[1],pr=l.a.useMemo(function(){return be?Object(w.a)(be):Ke?Ir:tn},[tn,Ir,mr,be]);l.a.useEffect(function(){Ke&&ur(Ne.map(function(Pn){return Pn.key}))},[Ke]);var cr=function(zn){qr(zn),ur(zn),$e&&$e(zn)},fr=function(zn){zn.preventDefault()},xr=function(zn,qn){var Gn=qn.node.key,Vn=Ht(Gn,ue?"checkbox":"select");Vn!==null&&Xe(Vn.data.value,{selected:!Y.includes(Vn.data.value)}),je||Fe(!1)},Gr=l.a.useState(null),un=Object(E.a)(Gr,2),Nn=un[0],jr=un[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(zn){var qn,Gn=zn.which;switch(Gn){case F.a.UP:case F.a.DOWN:case F.a.LEFT:case F.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(zn);break;case F.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!Y.includes(Tn.data.value)});break}case F.a.ESC:Fe(!1)}},onKeyUp:function(){}}}),ot.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Bt,"-empty"),onMouseDown:fr},At);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:_t},Tn&&nt&&l.a.createElement("span",{style:U,"aria-live":"assertive"},Tn.data.value),l.a.createElement(P.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Bt,"-tree"),treeData:ot,height:Ae,itemHeight:pe,virtual:he,multiple:je,icon:gt,showIcon:Wt,switcherIcon:$t,showLine:Dt,loadData:Ke?null:Yt,motion:Mt,checkable:ue,checkStrictly:!0,checkedKeys:Xt,selectedKeys:ue?[]:ir,defaultExpandAll:Le},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:cr,onLoad:dr,filterTreeNode:Ar})))},W=l.a.forwardRef(H);W.displayName="OptionList";var V=W,z=function(){return null},X=z,q=e("Ff2n"),fe=e("Zm9Q");function G(yt){return Object(fe.a)(yt).map(function(It){if(!l.a.isValidElement(It)||!It.type)return null;var or=It.key,Bt=It.props,Ae=Bt.children,pe=Bt.value,he=Object(q.a)(Bt,["children","value"]),le=Object(A.a)({key:or,value:pe},he),Ne=G(Ae);return Ne.length&&(le.children=Ne),le}).filter(function(It){return It})}function ve(yt){if(!yt)return yt;var It=Object(A.a)({},yt);return"props"in It||Object.defineProperty(It,"props",{get:function(){return Object(N.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),It}}),It}function Se(yt,It,or,Bt,Ae){var pe=null,he=null;function le(){function Ne(je){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return je.map(function(Fe,nt){var At="".concat(Ke,"-").concat(nt),_t=or.includes(Fe.value),ne=Ne(Fe.children||[],At,_t),ue=l.a.createElement(X,Object.assign({},Fe),ne.map(function(te){return te.node}));if(It===Fe.value&&(pe=ue),_t){var Y={pos:At,node:ue,children:ne};return Xe||he.push(Y),Y}return null}).filter(function(Fe){return Fe})}he||(he=[],Ne(Bt),he.sort(function(je,Ke){var Xe=je.node.props.value,Fe=Ke.node.props.value,nt=or.indexOf(Xe),At=or.indexOf(Fe);return nt-At}))}Object.defineProperty(yt,"triggerNode",{get:function(){return Object(N.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),le(),pe}}),Object.defineProperty(yt,"allCheckedNodes",{get:function(){return Object(N.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),le(),Ae?he:he.map(function(je){var Ke=je.node;return Ke})}})}function ge(yt){return Array.isArray(yt)?yt:yt!==void 0?[yt]:[]}function Pe(yt,It){var or=new Map;return It.forEach(function(Bt){var Ae=Bt.data;or.set(Ae.value,Ae)}),yt.map(function(Bt){return ve(or.get(Bt))})}function Ge(yt,It){var or=Pe([yt],It)[0];return or?or.disabled:!1}function pt(yt){return yt.disabled||yt.disableCheckbox||yt.checkable===!1}function Te(yt){for(var It=yt.parent,or=0,Bt=It;Bt;)Bt=Bt.parent,or+=1;return or}function xe(yt){function It(Bt){return(Bt||[]).map(function(Ae){var pe=Ae.value,he=Ae.key,le=Ae.children,Ne=Object(A.a)(Object(A.a)({},Ae),{},{key:"key"in Ae?he:pe});return le&&(Ne.children=It(le)),Ne})}var or=Object(O.d)(It(yt),!0);return or.map(function(Bt){return{key:Bt.data.key,data:Bt.data,level:Te(Bt)}})}function lt(yt){return function(It,or){var Bt=or[yt];return String(Bt).toLowerCase().includes(String(It).toLowerCase())}}function Ie(yt,It,or){var Bt=or.optionFilterProp,Ae=or.filterOption;if(Ae===!1)return It;var pe;typeof Ae=="function"?pe=Ae:pe=lt(Bt);function he(le){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return le.map(function(je){var Ke=je.children,Xe=Ne||pe(yt,ve(je)),Fe=he(Ke||[],Xe);return Xe||Fe.length?Object(A.a)(Object(A.a)({},je),{},{children:Fe}):null}).filter(function(je){return je})}return he(It)}function de(yt,It,or,Bt){var Ae=new Map;return ge(It).forEach(function(pe){pe&&Object(b.a)(pe)==="object"&&"value"in pe&&Ae.set(pe.value,pe)}),yt.map(function(pe){var he={value:pe},le=or(pe,"select",!0),Ne=le?Bt(le.data):pe;if(Ae.has(pe)){var je=Ae.get(pe);he.label="label"in je?je.label:Ne,"halfChecked"in je&&(he.halfChecked=je.halfChecked)}else he.label=Ne;return he})}function ee(yt,It){var or=new Set(yt);return or.add(It),Array.from(or)}function se(yt,It){var or=new Set(yt);return or.delete(It),Array.from(or)}function ke(yt){var It=yt.searchPlaceholder,or=yt.treeCheckStrictly,Bt=yt.treeCheckable,Ae=yt.labelInValue,pe=yt.value,he=yt.multiple;Object(N.a)(!It,"`searchPlaceholder` has been removed."),or&&Ae===!1&&Object(N.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ae||or)&&Object(N.a)(ge(pe).every(function(le){return le&&Object(b.a)(le)==="object"&&"value"in le}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||he||Bt?Object(N.a)(!pe||Array.isArray(pe),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(N.a)(!Array.isArray(pe),"`value` should not be array when `TreeSelect` is single mode.")}var Ce=ke,ze=10;function _e(yt,It){var or=It.id,Bt=It.pId,Ae=It.rootPId,pe={},he=[],le=yt.map(function(Ne){var je=Object(A.a)({},Ne),Ke=je[or];return pe[Ke]=je,je.key=je.key||Ke,je});return le.forEach(function(Ne){var je=Ne[Bt],Ke=pe[je];Ke&&(Ke.children=Ke.children||[],Ke.children.push(Ne)),(je===Ae||!Ke&&Ae===null)&&he.push(Ne)}),he}function ae(yt,It){var or=0,Bt=new Set;function Ae(pe){return(pe||[]).map(function(he){var le=he.key,Ne=he.value,je=he.children,Ke=Object(q.a)(he,["key","value","children"]),Xe="value"in he?Ne:le,Fe=Object(A.a)(Object(A.a)({},Ke),{},{key:le!=null?le:Xe,value:Xe,title:It(he)});return"children"in he&&(Fe.children=Ae(je)),Fe})}return Ae(yt)}function me(yt,It,or){var Bt=or.getLabelProp,Ae=or.simpleMode,pe=l.a.useRef({});return yt?(pe.current.formatTreeData=pe.current.treeData===yt?pe.current.formatTreeData:ae(Ae?_e(yt,Object(A.a)({id:"id",pId:"pId",rootPId:null},Ae!==!0?Ae:{})):yt,Bt),pe.current.treeData=yt):pe.current.formatTreeData=pe.current.children===It?pe.current.formatTreeData:ae(G(It),Bt),pe.current.formatTreeData}var Oe="SHOW_ALL",Ze="SHOW_PARENT",vt="SHOW_CHILD";function Ct(yt,It,or){var Bt=new Set(yt);return It===vt?yt.filter(function(Ae){var pe=or[Ae];return!(pe&&pe.children&&pe.children.every(function(he){var le=he.node;return pt(le)||Bt.has(le.key)}))}):It===Ze?yt.filter(function(Ae){var pe=or[Ae],he=pe?pe.parent:null;return!(he&&!pt(he.node)&&Bt.has(he.node.key))}):yt}function Be(yt,It){var or=It.value,Bt=It.getEntityByValue,Ae=It.getEntityByKey,pe=It.treeConduction,he=It.showCheckedStrategy,le=It.conductKeyEntities,Ne=It.getLabelProp;return l.a.useMemo(function(){var je=yt;if(pe){var Ke=Ct(yt.map(function(Xe){var Fe=Bt(Xe);return Fe?Fe.key:Xe}),he,le);je=Ke.map(function(Xe){var Fe=Ae(Xe);return Fe?Fe.data.value:Xe})}return de(je,or,Bt,Ne)},[yt,or,pe,he,Bt])}var Rt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],He=Object(S.a)({prefixCls:"rc-tree-select",components:{optionList:V},convertChildrenToData:function(){return null},flattenOptions:xe,getLabeledValue:T.e,filterOptions:Ie,isValueDisabled:Ge,findValueOption:Pe,omitDOMProps:function(It){var or=Object(A.a)({},It);return Rt.forEach(function(Bt){delete or[Bt]}),or}});He.displayName="Select";var wt=n.forwardRef(function(yt,It){var or=yt.multiple,Bt=yt.treeCheckable,Ae=yt.treeCheckStrictly,pe=yt.showCheckedStrategy,he=pe===void 0?"SHOW_CHILD":pe,le=yt.labelInValue,Ne=yt.loadData,je=yt.treeLoadedKeys,Ke=yt.treeNodeFilterProp,Xe=Ke===void 0?"value":Ke,Fe=yt.treeNodeLabelProp,nt=yt.treeDataSimpleMode,At=yt.treeData,_t=yt.treeExpandedKeys,ne=yt.treeDefaultExpandedKeys,ue=yt.treeDefaultExpandAll,Y=yt.children,te=yt.treeIcon,be=yt.showTreeIcon,Le=yt.switcherIcon,Re=yt.treeLine,$e=yt.treeMotion,gt=yt.filterTreeNode,Wt=yt.dropdownPopupAlign,$t=yt.onChange,Dt=yt.onTreeExpand,Kt=yt.onTreeLoad,Yt=yt.onDropdownVisibleChange,Qt=yt.onSelect,Mt=yt.onDeselect,dr=Bt||Ae,er=or||dr,ot=Bt&&!Ae,xt=Ae||le,ut=n.useRef(null);n.useImperativeHandle(It,function(){return{focus:ut.current.focus,blur:ut.current.blur}});var ft=function(Gn){return At&&Gn.label||Gn.title},Lt=function(Gn){return Fe?Gn[Fe]:ft(Gn)},Tt=me(At,Y,{getLabelProp:ft,simpleMode:nt}),ht=Object(n.useMemo)(function(){return xe(Tt)},[Tt]),Ht=B(ht),Ft=Object(E.a)(Ht,2),ir=Ft[0],Xt=Ft[1],mr=R(ir,Xt),Ar=Object(E.a)(mr,2),Nr=Ar[0],Fr=Ar[1],tn=Object(n.useMemo)(function(){return ot?Object(O.a)(Tt):{keyEntities:null}},[Tt,Bt,Ae]),qr=tn.keyEntities,Or=Object(_.a)(yt.defaultValue,{value:yt.value}),Qr=Object(E.a)(Or,2),Ir=Qr[0],ur=Qr[1],pr=function(Gn){var Vn=[],An=[];return Gn.forEach(function(on){Fr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},cr=Object(n.useMemo)(function(){var qn=[],Gn=[];if(ge(Ir).forEach(function(Ci){if(Ci&&Object(b.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&Ae){var Yn=Fr(Ci.value);qn.push(Yn?Yn.key:Ci.value)}else Gn.push(Ci.value);else Gn.push(Ci)}),ot){var Vn=pr(Gn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return Fr(Ci).key}),xa=Object(x.a)(ia,!0,qr),ta=xa.checkedKeys,Ii=xa.halfCheckedKeys;return[[].concat(Object(w.a)(An),Object(w.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),Ii]}return[Gn,qn]},[Ir,er,xt,Bt,Ae]),fr=Object(E.a)(cr,2),xr=fr[0],Gr=fr[1],un=Be(xr,{treeConduction:ot,value:Ir,showCheckedStrategy:he,conductKeyEntities:qr,getEntityByValue:Fr,getEntityByKey:Nr,getLabelProp:Lt}),Nn=function(Gn,Vn,An){if(ur(er?Gn:Gn[0]),$t){var on=Gn;if(ot&&he!=="SHOW_ALL"){var ia=Gn.map(function(On){var In=Fr(On);return In?In.key:On}),xa=Ct(ia,he,qr);on=xa.map(function(On){var In=Nr(On);return In?In.data.value:On})}var ta=Vn||{triggerValue:void 0,selected:void 0},Ii=ta.triggerValue,Ci=ta.selected,Yn=xt?de(on,Ir,Fr,Lt):on;if(Ae){var _a=Gr.map(function(On){var In=Nr(On);return In?In.data.value:On}).filter(function(On){return!on.includes(On)});Yn=[].concat(Object(w.a)(Yn),Object(w.a)(de(_a,Ir,Fr,Lt)))}var mn={preValue:un,triggerValue:Ii},_n=!0;(Ae||An==="selection"&&!Ci)&&(_n=!1),Se(mn,Ii,Gn,Tt,_n),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Yn:Yn[0],xt?null:on.map(function(On){var In=Fr(On);return In?Lt(In.data):null}),mn)}},jr=function(Gn,Vn,An){var on=Gn;if(!er)Nn([Gn],{selected:!0,triggerValue:Gn},An);else{var ia=ee(xr,Gn);if(ot){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return Fr(mn).key}),Yn=Object(x.a)(Ci,!0,qr),_a=Yn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(_a.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!0,triggerValue:Gn},An)}Qt&&Qt(on,Vn)},Tn=function(Gn,Vn,An){var on=Gn,ia=se(xr,Gn);if(ot){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return Fr(mn).key}),Yn=Object(x.a)(Ci,{checked:!1,halfCheckedKeys:Gr},qr),_a=Yn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(_a.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Gn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Pn=n.useCallback(function(qn){if(Yt){var Gn={};Object.defineProperty(Gn,"documentClickClose",{get:function(){return Object(N.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Yt(qn,Gn)}},[Yt]),zn={optionLabelProp:null,optionFilterProp:Xe,dropdownAlign:Wt,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in yt&&(zn.filterOption=gt),n.createElement(j.Provider,{value:{checkable:dr,loadData:Ne,treeLoadedKeys:je,onTreeLoad:Kt,checkedKeys:xr,halfCheckedKeys:Gr,treeDefaultExpandAll:ue,treeExpandedKeys:_t,treeDefaultExpandedKeys:ne,onTreeExpand:Dt,treeIcon:te,treeMotion:$e,showTreeIcon:be,switcherIcon:Le,treeLine:Re,treeNodeFilterProp:Xe}},n.createElement(He,Object.assign({ref:ut,mode:er?"multiple":null},yt,zn,{value:un,labelInValue:!0,options:Tt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Pn})))}),Ye=function(yt){Object(d.a)(or,yt);var It=Object(m.a)(or);function or(){var Bt;return Object(t.a)(this,or),Bt=It.apply(this,arguments),Bt.selectRef=n.createRef(),Bt.focus=function(){Bt.selectRef.current.focus()},Bt.blur=function(){Bt.selectRef.current.blur()},Bt}return Object(s.a)(or,[{key:"render",value:function(){return n.createElement(wt,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Ye.TreeNode=X,Ye.SHOW_ALL=Oe,Ye.SHOW_PARENT=Ze,Ye.SHOW_CHILD=vt;var et=Ye,rt=et,st=e("TSYQ"),Ve=e.n(st),ie=e("BGR+"),$=e("H84U"),it=e("uaoM"),Qe=e("1vzs"),ye=e("2jpz"),Zt=e("3Nzz"),dt=function(yt){r()(or,yt);var It=c()(or);function or(Bt){var Ae;return h()(this,or),Ae=It.call(this,Bt),Ae.selectRef=n.createRef(),Ae.renderTreeSelect=function(pe){var he=pe.getPopupContainer,le=pe.getPrefixCls,Ne=pe.renderEmpty,je=pe.direction,Ke=pe.virtual,Xe=pe.dropdownMatchSelectWidth,Fe=Ae.props,nt=Fe.prefixCls,At=Fe.size,_t=Fe.className,ne=Fe.treeCheckable,ue=Fe.multiple,Y=Fe.listHeight,te=Y===void 0?256:Y,be=Fe.listItemHeight,Le=be===void 0?26:be,Re=Fe.notFoundContent,$e=Fe.switcherIcon,gt=Fe.treeLine,Wt=Fe.getPopupContainer,$t=Fe.dropdownClassName,Dt=Fe.bordered,Kt=Fe.treeIcon,Yt=Kt===void 0?!1:Kt,Qt=le("select",nt),Mt=le("select-tree",nt),dr=le("tree-select",nt),er=Ve()($t,"".concat(dr,"-dropdown"),p()({},"".concat(dr,"-dropdown-rtl"),je==="rtl")),ot=!!(ne||ue),xt=Object(Qe.a)(f()(f()({},Ae.props),{multiple:ot,prefixCls:Qt})),ut=xt.suffixIcon,ft=xt.itemIcon,Lt=xt.removeIcon,Tt=xt.clearIcon,ht;Re!==void 0?ht=Re:ht=Ne("Select");var Ht=Object(ie.default)(Ae.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Zt.b.Consumer,null,function(Ft){var ir,Xt=At||Ft,mr=Ve()(!nt&&dr,(ir={},p()(ir,"".concat(Qt,"-lg"),Xt==="large"),p()(ir,"".concat(Qt,"-sm"),Xt==="small"),p()(ir,"".concat(Qt,"-rtl"),je==="rtl"),p()(ir,"".concat(Qt,"-borderless"),!Dt),ir),_t);return n.createElement(rt,f()({virtual:Ke,dropdownMatchSelectWidth:Xe},Ht,{ref:Ae.selectRef,prefixCls:Qt,className:mr,listHeight:te,listItemHeight:Le,treeCheckable:ne&&n.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:ut,menuItemSelectedIcon:ft,removeIcon:Lt,clearIcon:Tt,switcherIcon:function(Nr){return Object(ye.a)(Mt,$e,gt,Nr)},showTreeIcon:Yt,notFoundContent:ht,getPopupContainer:Wt||he,treeMotion:null,dropdownClassName:er}))})},Object(it.a)(Bt.multiple!==!1||!Bt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Ae}return o()(or,[{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 n.createElement($.a,null,this.renderTreeSelect)}}]),or}(n.Component);dt.TreeNode=X,dt.SHOW_ALL=Oe,dt.SHOW_PARENT=Ze,dt.SHOW_CHILD=vt,dt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ct=I.a=dt},"5Uyt":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("KmBX"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"5YOS":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("xb2K"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"5YgA":function(D,I,e){},"5bA4":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="LeftOutlined";var h=I.a=g.forwardRef(v)},"5nXd":function(D,I,e){var g=e("MFOe"),f=g.slice,y=g.pluck,p=g.each,v=g.bind,h=g.create,u=g.isList,o=g.isFunction,i=g.isObject;D.exports={createStore:c};var r={version:"2.0.12",enabled:!1,get:function(l,t){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(s,d){l.call(t,t._deserialize(s),(d||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return c.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return c(this.storage,this.plugins,l)}};function a(){var n=typeof console=="undefined"?null:console;if(!n)return;var l=n.warn?n.warn:n.log;l.apply(n,arguments)}function c(n,l,t){t||(t=""),n&&!u(n)&&(n=[n]),l&&!u(l)&&(l=[l]);var s=t?"__storejs_"+t+"_":"",d=t?new RegExp("^"+s):null,m=/^[a-zA-Z0-9_\-]*$/;if(!m.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var w={_namespacePrefix:s,_namespaceRegexp:d,_testStorage:function(A){try{var S="__storejs__test__";A.write(S,S);var T=A.read(S)===S;return A.remove(S),T}catch(O){return!1}},_assignPluginFnProp:function(A,S){var T=this[S];this[S]=function(){var x=f(arguments,0),C=this;function _(){return T?(p(arguments,function(F,k){x[k]=F}),T.apply(C,x)):void 0}var N=[_].concat(x);return A.apply(C,N)}},_serialize:function(A){return JSON.stringify(A)},_deserialize:function(A,S){if(!A)return S;var T="";try{T=JSON.parse(A)}catch(O){T=A}return T!==void 0?T:S},_addStorage:function(A){if(this.enabled)return;this._testStorage(A)&&(this.storage=A,this.enabled=!0)},_addPlugin:function(A){var S=this;if(u(A)){p(A,function(x){S._addPlugin(x)});return}var T=y(this.plugins,function(x){return A===x});if(T)return;if(this.plugins.push(A),!o(A))throw new Error("Plugins must be function values that return objects");var O=A.call(this);if(!i(O))throw new Error("Plugins must return an object of function properties");p(O,function(x,C){if(!o(x))throw new Error("Bad plugin property: "+C+" from plugin "+A.name+". Plugins should only return functions.");S._assignPluginFnProp(x,C)})},addStorage:function(A){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(A)}},b=h(w,r,{plugins:[]});return b.raw={},p(b,function(E,A){o(E)&&(b.raw[A]=v(b,E))}),p(n,function(E){b._addStorage(E)}),p(l,function(E){b._addPlugin(E)}),b}},"5rEg":function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lwsE"),p=e.n(y),v=e("W8MJ"),h=e.n(v),u=e("7W2i"),o=e.n(u),i=e("LQ03"),r=e.n(i),a=e("lSNA"),c=e.n(a),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),d=e("kbBi"),m=e.n(d),w=e("CWQg"),b=e("0n0R"),E=Object(w.a)("text","input");function A(se){return!!(se.prefix||se.suffix||se.allowClear)}var S=function(se){o()(Ce,se);var ke=r()(Ce);function Ce(){var ze;return p()(this,Ce),ze=ke.apply(this,arguments),ze.containerRef=n.createRef(),ze.onInputMouseUp=function(_e){var ae;if((ae=ze.containerRef.current)===null||ae===void 0?void 0:ae.contains(_e.target)){var me=ze.props.triggerFocus;me()}},ze}return h()(Ce,[{key:"renderClearIcon",value:function(_e){var ae=this.props,me=ae.allowClear,Oe=ae.value,Ze=ae.disabled,vt=ae.readOnly,Ct=ae.inputType,Be=ae.handleReset;if(!me)return null;var Rt=!Ze&&!vt&&Oe,He=Ct===E[0]?"".concat(_e,"-textarea-clear-icon"):"".concat(_e,"-clear-icon");return n.createElement(m.a,{onClick:Be,className:t()(He,c()({},"".concat(He,"-hidden"),!Rt)),role:"button"})}},{key:"renderSuffix",value:function(_e){var ae=this.props,me=ae.suffix,Oe=ae.allowClear;return me||Oe?n.createElement("span",{className:"".concat(_e,"-suffix")},this.renderClearIcon(_e),me):null}},{key:"renderLabeledIcon",value:function(_e,ae){var me,Oe=this.props,Ze=Oe.focused,vt=Oe.value,Ct=Oe.prefix,Be=Oe.className,Rt=Oe.size,He=Oe.suffix,wt=Oe.disabled,Ye=Oe.allowClear,et=Oe.direction,rt=Oe.style,st=Oe.readOnly,Ve=Oe.bordered,ie=this.renderSuffix(_e);if(!A(this.props))return Object(b.a)(ae,{value:vt});var $=Ct?n.createElement("span",{className:"".concat(_e,"-prefix")},Ct):null,it=t()(Be,"".concat(_e,"-affix-wrapper"),(me={},c()(me,"".concat(_e,"-affix-wrapper-focused"),Ze),c()(me,"".concat(_e,"-affix-wrapper-disabled"),wt),c()(me,"".concat(_e,"-affix-wrapper-sm"),Rt==="small"),c()(me,"".concat(_e,"-affix-wrapper-lg"),Rt==="large"),c()(me,"".concat(_e,"-affix-wrapper-input-with-clear-btn"),He&&Ye&&vt),c()(me,"".concat(_e,"-affix-wrapper-rtl"),et==="rtl"),c()(me,"".concat(_e,"-affix-wrapper-readonly"),st),c()(me,"".concat(_e,"-affix-wrapper-borderless"),!Ve),me));return n.createElement("span",{ref:this.containerRef,className:it,style:rt,onMouseUp:this.onInputMouseUp},$,Object(b.a)(ae,{style:null,value:vt,className:F(_e,Ve,Rt,wt)}),ie)}},{key:"renderInputWithLabel",value:function(_e,ae){var me,Oe,Ze=this.props,vt=Ze.addonBefore,Ct=Ze.addonAfter,Be=Ze.style,Rt=Ze.size,He=Ze.className,wt=Ze.direction;if(!vt&&!Ct)return ae;var Ye="".concat(_e,"-group"),et="".concat(Ye,"-addon"),rt=vt?n.createElement("span",{className:et},vt):null,st=Ct?n.createElement("span",{className:et},Ct):null,Ve=t()("".concat(_e,"-wrapper"),(me={},c()(me,Ye,vt||Ct),c()(me,"".concat(Ye,"-rtl"),wt==="rtl"),me)),ie=t()(He,"".concat(_e,"-group-wrapper"),(Oe={},c()(Oe,"".concat(_e,"-group-wrapper-sm"),Rt==="small"),c()(Oe,"".concat(_e,"-group-wrapper-lg"),Rt==="large"),c()(Oe,"".concat(_e,"-group-wrapper-rtl"),wt==="rtl"),Oe));return n.createElement("span",{className:ie,style:Be},n.createElement("span",{className:Ve},rt,Object(b.a)(ae,{style:null}),st))}},{key:"renderTextAreaWithClearIcon",value:function(_e,ae){var me,Oe=this.props,Ze=Oe.value,vt=Oe.allowClear,Ct=Oe.className,Be=Oe.style,Rt=Oe.direction,He=Oe.bordered;if(!vt)return Object(b.a)(ae,{value:Ze});var wt=t()(Ct,"".concat(_e,"-affix-wrapper"),"".concat(_e,"-affix-wrapper-textarea-with-clear-btn"),(me={},c()(me,"".concat(_e,"-affix-wrapper-rtl"),Rt==="rtl"),c()(me,"".concat(_e,"-affix-wrapper-borderless"),!He),me));return n.createElement("span",{className:wt,style:Be},Object(b.a)(ae,{style:null,value:Ze}),this.renderClearIcon(_e))}},{key:"render",value:function(){var _e=this.props,ae=_e.prefixCls,me=_e.inputType,Oe=_e.element;return me===E[0]?this.renderTextAreaWithClearIcon(ae,Oe):this.renderInputWithLabel(ae,this.renderLabeledIcon(ae,Oe))}}]),Ce}(n.Component),T=S,O=e("H84U"),x=e("3Nzz"),C=e("uaoM");function _(se){return typeof se=="undefined"||se===null?"":se}function N(se,ke,Ce){if(Ce){var ze=ke;if(ke.type==="click"){ze=Object.create(ke),ze.target=se,ze.currentTarget=se;var _e=se.value;se.value="",Ce(ze),se.value=_e;return}Ce(ze)}}function F(se,ke,Ce,ze,_e){var ae;return t()(se,(ae={},c()(ae,"".concat(se,"-sm"),Ce==="small"),c()(ae,"".concat(se,"-lg"),Ce==="large"),c()(ae,"".concat(se,"-disabled"),ze),c()(ae,"".concat(se,"-rtl"),_e==="rtl"),c()(ae,"".concat(se,"-borderless"),!ke),ae))}var k=function(se){o()(Ce,se);var ke=r()(Ce);function Ce(ze){var _e;p()(this,Ce),_e=ke.call(this,ze),_e.direction="ltr",_e.focus=function(){_e.input.focus()},_e.saveClearableInput=function(me){_e.clearableInput=me},_e.saveInput=function(me){_e.input=me},_e.onFocus=function(me){var Oe=_e.props.onFocus;_e.setState({focused:!0},_e.clearPasswordValueAttribute),Oe&&Oe(me)},_e.onBlur=function(me){var Oe=_e.props.onBlur;_e.setState({focused:!1},_e.clearPasswordValueAttribute),Oe&&Oe(me)},_e.handleReset=function(me){_e.setValue("",function(){_e.focus()}),N(_e.input,me,_e.props.onChange)},_e.renderInput=function(me,Oe,Ze){var vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ct=_e.props,Be=Ct.className,Rt=Ct.addonBefore,He=Ct.addonAfter,wt=Ct.size,Ye=Ct.disabled,et=Object(s.default)(_e.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",f()({autoComplete:vt.autoComplete},et,{onChange:_e.handleChange,onFocus:_e.onFocus,onBlur:_e.onBlur,onKeyDown:_e.handleKeyDown,className:t()(F(me,Ze,wt||Oe,Ye,_e.direction),c()({},Be,Be&&!Rt&&!He)),ref:_e.saveInput}))},_e.clearPasswordValueAttribute=function(){_e.removePasswordTimeout=setTimeout(function(){_e.input&&_e.input.getAttribute("type")==="password"&&_e.input.hasAttribute("value")&&_e.input.removeAttribute("value")})},_e.handleChange=function(me){_e.setValue(me.target.value,_e.clearPasswordValueAttribute),N(_e.input,me,_e.props.onChange)},_e.handleKeyDown=function(me){var Oe=_e.props,Ze=Oe.onPressEnter,vt=Oe.onKeyDown;me.keyCode===13&&Ze&&Ze(me),vt&&vt(me)},_e.renderComponent=function(me){var Oe=me.getPrefixCls,Ze=me.direction,vt=me.input,Ct=_e.state,Be=Ct.value,Rt=Ct.focused,He=_e.props,wt=He.prefixCls,Ye=He.bordered,et=Ye===void 0?!0:Ye,rt=Oe("input",wt);return _e.direction=Ze,n.createElement(x.b.Consumer,null,function(st){return n.createElement(T,f()({size:st},_e.props,{prefixCls:rt,inputType:"input",value:_(Be),element:_e.renderInput(rt,st,et,vt),handleReset:_e.handleReset,ref:_e.saveClearableInput,direction:Ze,focused:Rt,triggerFocus:_e.focus,bordered:et}))})};var ae=typeof ze.value=="undefined"?ze.defaultValue:ze.value;return _e.state={value:ae,focused:!1,prevValue:ze.value},_e}return h()(Ce,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(_e){return A(_e)!==A(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(_e,ae){this.props.value===void 0&&this.setState({value:_e},ae)}},{key:"render",value:function(){return n.createElement(O.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(_e,ae){var me=ae.prevValue,Oe={prevValue:_e.value};return(_e.value!==void 0||me!==_e.value)&&(Oe.value=_e.value),Oe}}]),Ce}(n.Component);k.defaultProps={type:"text"};var P=k,j=function(ke){return n.createElement(O.a,null,function(Ce){var ze,_e=Ce.getPrefixCls,ae=Ce.direction,me=ke.prefixCls,Oe=ke.className,Ze=Oe===void 0?"":Oe,vt=_e("input-group",me),Ct=t()(vt,(ze={},c()(ze,"".concat(vt,"-lg"),ke.size==="large"),c()(ze,"".concat(vt,"-sm"),ke.size==="small"),c()(ze,"".concat(vt,"-compact"),ke.compact),c()(ze,"".concat(vt,"-rtl"),ae==="rtl"),ze),Ze);return n.createElement("span",{className:Ct,style:ke.style,onMouseEnter:ke.onMouseEnter,onMouseLeave:ke.onMouseLeave,onFocus:ke.onFocus,onBlur:ke.onBlur},ke.children)})},K=j,R=e("c+Xe"),B=e("w6Tc"),U=e.n(B),H=e("gZBC"),W=e.n(H),V=e("2/Rp"),z=function(se,ke){var Ce={};for(var ze in se)Object.prototype.hasOwnProperty.call(se,ze)&&ke.indexOf(ze)<0&&(Ce[ze]=se[ze]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(se);_e<ze.length;_e++)ke.indexOf(ze[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,ze[_e])&&(Ce[ze[_e]]=se[ze[_e]]);return Ce},X=n.forwardRef(function(se,ke){var Ce=n.useRef(null),ze=function(Be){var Rt=se.onChange,He=se.onSearch;Be&&Be.target&&Be.type==="click"&&He&&He(Be.target.value,Be),Rt&&Rt(Be)},_e=function(Be){var Rt;document.activeElement===((Rt=Ce.current)===null||Rt===void 0?void 0:Rt.input)&&Be.preventDefault()},ae=function(Be){var Rt,He=se.onSearch,wt=se.loading,Ye=se.disabled;if(wt||Ye)return;He&&He((Rt=Ce.current)===null||Rt===void 0?void 0:Rt.input.value,Be)},me=function(Be){var Rt=se.enterButton,He=se.size;return Rt?n.createElement(x.b.Consumer,{key:"enterButton"},function(wt){return n.createElement(V.a,{className:"".concat(Be,"-button"),type:"primary",size:He||wt},n.createElement(W.a,null))}):n.createElement(W.a,{className:"".concat(Be,"-icon"),key:"loadingIcon"})},Oe=function(Be){var Rt=se.suffix,He=se.enterButton,wt=se.loading;if(wt&&!He)return[Rt,me(Be)];if(He)return Rt;var Ye=n.createElement(U.a,{className:"".concat(Be,"-icon"),key:"searchIcon",onClick:ae});return Rt?[Object(b.c)(Rt,null,{key:"suffix"}),Ye]:Ye},Ze=function(Be,Rt){var He=se.enterButton,wt=se.disabled,Ye=se.addonAfter,et=se.loading,rt="".concat(Be,"-button");if(et&&He)return[me(Be),Ye];if(!He)return Ye;var st,Ve=He,ie=Ve.type&&Ve.type.__ANT_BUTTON===!0;return ie||Ve.type==="button"?st=Object(b.a)(Ve,f()({onMouseDown:_e,onClick:ae,key:"enterButton"},ie?{className:rt,size:Rt}:{})):st=n.createElement(V.a,{className:rt,type:"primary",size:Rt,disabled:wt,key:"enterButton",onMouseDown:_e,onClick:ae},He===!0?n.createElement(U.a,null):He),Ye?[st,Object(b.c)(Ye,null,{key:"addonAfter"})]:st},vt=function(Be){var Rt=Be.getPrefixCls,He=Be.direction,wt=se.prefixCls,Ye=se.inputPrefixCls,et=se.enterButton,rt=se.className,st=se.size,Ve=z(se,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var ie=Rt("input-search",wt),$=Rt("input",Ye),it=function(ye){var Zt;if(et){var dt;Zt=t()(ie,rt,(dt={},c()(dt,"".concat(ie,"-rtl"),He==="rtl"),c()(dt,"".concat(ie,"-enter-button"),!!et),c()(dt,"".concat(ie,"-").concat(ye),!!ye),dt))}else Zt=t()(ie,rt,c()({},"".concat(ie,"-rtl"),He==="rtl"));return Zt};return n.createElement(x.b.Consumer,null,function(Qe){return n.createElement(P,f()({ref:Object(R.a)(Ce,ke),onPressEnter:ae},Ve,{size:st||Qe,prefixCls:$,addonAfter:Ze(ie,st||Qe),suffix:Oe(ie),onChange:ze,className:it(st||Qe)}))})};return n.createElement(O.a,null,vt)});X.defaultProps={enterButton:!1},X.displayName="Search";var q=X,fe=e("Y1PL"),G=function(se){o()(Ce,se);var ke=r()(Ce);function Ce(ze){var _e;p()(this,Ce),_e=ke.call(this,ze),_e.focus=function(){_e.resizableTextArea.textArea.focus()},_e.saveTextArea=function(me){_e.resizableTextArea=me==null?void 0:me.resizableTextArea},_e.saveClearableInput=function(me){_e.clearableInput=me},_e.handleChange=function(me){_e.setValue(me.target.value),N(_e.resizableTextArea.textArea,me,_e.props.onChange)},_e.handleReset=function(me){_e.setValue("",function(){_e.focus()}),N(_e.resizableTextArea.textArea,me,_e.props.onChange)},_e.renderTextArea=function(me,Oe){return n.createElement(fe.default,f()({},Object(s.default)(_e.props,["allowClear","bordered"]),{className:t()(_e.props.className,c()({},"".concat(me,"-borderless"),!Oe)),prefixCls:me,onChange:_e.handleChange,ref:_e.saveTextArea}))},_e.renderComponent=function(me){var Oe=me.getPrefixCls,Ze=me.direction,vt=_e.state.value,Ct=_e.props,Be=Ct.prefixCls,Rt=Ct.bordered,He=Rt===void 0?!0:Rt,wt=Oe("input",Be);return n.createElement(T,f()({},_e.props,{prefixCls:wt,direction:Ze,inputType:"text",value:_(vt),element:_e.renderTextArea(wt,He),handleReset:_e.handleReset,ref:_e.saveClearableInput,triggerFocus:_e.focus,bordered:He}))};var ae=typeof ze.value=="undefined"?ze.defaultValue:ze.value;return _e.state={value:ae},_e}return h()(Ce,[{key:"setValue",value:function(_e,ae){this.props.value===void 0&&this.setState({value:_e},ae)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(O.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(_e){return _e.value!==void 0?{value:_e.value}:null}}]),Ce}(n.Component),ve=G,Se=e("J4zp"),ge=e.n(Se),Pe=e("qPY4"),Ge=e.n(Pe),pt=e("fUL4"),Te=e.n(pt),xe=function(se,ke){var Ce={};for(var ze in se)Object.prototype.hasOwnProperty.call(se,ze)&&ke.indexOf(ze)<0&&(Ce[ze]=se[ze]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(se);_e<ze.length;_e++)ke.indexOf(ze[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,ze[_e])&&(Ce[ze[_e]]=se[ze[_e]]);return Ce},lt={click:"onClick",hover:"onMouseOver"},Ie=n.forwardRef(function(se,ke){var Ce=Object(n.useState)(!1),ze=ge()(Ce,2),_e=ze[0],ae=ze[1],me=function(){var Ct=se.disabled;if(Ct)return;ae(!_e)},Oe=function(Ct){var Be,Rt=se.action,He=se.iconRender,wt=He===void 0?function(){return null}:He,Ye=lt[Rt]||"",et=wt(_e),rt=(Be={},c()(Be,Ye,me),c()(Be,"className","".concat(Ct,"-icon")),c()(Be,"key","passwordIcon"),c()(Be,"onMouseDown",function(Ve){Ve.preventDefault()}),c()(Be,"onMouseUp",function(Ve){Ve.preventDefault()}),Be);return n.cloneElement(n.isValidElement(et)?et:n.createElement("span",null,et),rt)},Ze=function(Ct){var Be=Ct.getPrefixCls,Rt=se.className,He=se.prefixCls,wt=se.inputPrefixCls,Ye=se.size,et=se.visibilityToggle,rt=xe(se,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),st=Be("input",wt),Ve=Be("input-password",He),ie=et&&Oe(Ve),$=t()(Ve,Rt,c()({},"".concat(Ve,"-").concat(Ye),!!Ye)),it=f()(f()({},Object(s.default)(rt,["suffix","iconRender"])),{type:_e?"text":"password",className:$,prefixCls:st,suffix:ie});return Ye&&(it.size=Ye),n.createElement(P,f()({ref:ke},it))};return n.createElement(O.a,null,Ze)});Ie.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(ke){return ke?n.createElement(Ge.a,null):n.createElement(Te.a,null)}},Ie.displayName="Password";var de=Ie;P.Group=K,P.Search=q,P.TextArea=ve,P.Password=de;var ee=I.a=P},"5s0K":function(D,I,e){var g=e("bYtY");function f(){var y=[],p={},v;return{add:function(h,u,o,i,r){return g.isString(i)&&(r=i,i=0),p[h.id]?!1:(p[h.id]=1,y.push({el:h,target:u,time:o,delay:i,easing:r}),!0)},done:function(h){return v=h,this},start:function(){for(var h=y.length,u=0,o=y.length;u<o;u++){var i=y[u];i.el.animateTo(i.target,i.time,i.delay,i.easing,r)}return this;function r(){h--,h||(y.length=0,p={},v&&v())}}}}I.createWrap=f},"5yev":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"6/nd":function(D,I,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,y){var p=f.scrollDataIndex;p!=null&&y.eachComponent({mainType:"legend",subType:"scroll",query:f},function(v){v.setScrollDataIndex(p)})})},"62sa":function(D,I,e){var g=e("bYtY"),f=e("4NO4"),y=f.makeInner,p=e("zTMp"),v=e("Ez2D"),h=g.each,u=g.curry,o=y();function i(b,E,A){var S=b.currTrigger,T=[b.x,b.y],O=b,x=b.dispatchAction||g.bind(A.dispatchAction,A),C=E.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;w(T)&&(T=v({seriesIndex:O.seriesIndex,dataIndex:O.dataIndex},E).point);var _=w(T),N=O.axesInfo,F=C.axesInfo,k=S==="leave"||w(T),P={},j={},K={list:[],map:{}},R={showPointer:u(c,j),showTooltip:u(n,K)};h(C.coordSysMap,function(U,H){var W=_||U.containPoint(T);h(C.coordSysAxesInfo[H],function(V,z){var X=V.axis,q=d(N,V);if(!k&&W&&(!N||q)){var fe=q&&q.value;fe==null&&!_&&(fe=X.pointToData(T)),fe!=null&&r(V,fe,R,!1,P)}})});var B={};return h(F,function(U,H){var W=U.linkGroup;W&&!j[H]&&h(W.axesInfo,function(V,z){var X=j[z];if(V!==U&&X){var q=X.value;W.mapper&&(q=U.axis.scale.parse(W.mapper(q,m(V),m(U)))),B[U.key]=q}})}),h(B,function(U,H){r(F[H],U,R,!0,P)}),l(j,F,P),t(K,T,b,x),s(F,x,A),P}function r(b,E,A,S,T){var O=b.axis;if(O.scale.isBlank()||!O.containData(E))return;if(!b.involveSeries){A.showPointer(b,E);return}var x=a(E,b),C=x.payloadBatch,_=x.snapToValue;C[0]&&T.seriesIndex==null&&g.extend(T,C[0]),!S&&b.snap&&(O.containData(_)&&_!=null&&(E=_)),A.showPointer(b,E,C,T),A.showTooltip(b,x,_)}function a(b,E){var A=E.axis,S=A.dim,T=b,O=[],x=Number.MAX_VALUE,C=-1;return h(E.seriesModels,function(_,N){var F=_.getData().mapDimension(S,!0),k,P;if(_.getAxisTooltipData){var j=_.getAxisTooltipData(F,b,A);P=j.dataIndices,k=j.nestestValue}else{if(P=_.getData().indicesOfNearest(F[0],b,A.type==="category"?.5:null),!P.length)return;k=_.getData().get(F[0],P[0])}if(k==null||!isFinite(k))return;var K=b-k,R=Math.abs(K);R<=x&&((R<x||K>=0&&C<0)&&(x=R,C=K,T=k,O.length=0),h(P,function(B){O.push({seriesIndex:_.seriesIndex,dataIndexInside:B,dataIndex:_.getData().getRawIndex(B)})}))}),{payloadBatch:O,snapToValue:T}}function c(b,E,A,S){b[E.key]={value:A,payloadBatch:S}}function n(b,E,A,S){var T=A.payloadBatch,O=E.axis,x=O.model,C=E.axisPointerModel;if(!E.triggerTooltip||!T.length)return;var _=E.coordSys.model,N=p.makeKey(_),F=b.map[N];F||(F=b.map[N]={coordSysId:_.id,coordSysIndex:_.componentIndex,coordSysType:_.type,coordSysMainType:_.mainType,dataByAxis:[]},b.list.push(F)),F.dataByAxis.push({axisDim:O.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:S,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:T.slice()})}function l(b,E,A){var S=A.axesInfo=[];h(E,function(T,O){var x=T.axisPointerModel.option,C=b[O];C?(!T.useHandle&&(x.status="show"),x.value=C.value,x.seriesDataIndices=(C.payloadBatch||[]).slice()):!T.useHandle&&(x.status="hide"),x.status==="show"&&S.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:x.value})})}function t(b,E,A,S){if(w(E)||!b.list.length){S({type:"hideTip"});return}var T=((b.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:E[0],y:E[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:b.list})}function s(b,E,A){var S=A.getZr(),T="axisPointerLastHighlights",O=o(S)[T]||{},x=o(S)[T]={};h(b,function(N,F){var k=N.axisPointerModel.option;k.status==="show"&&h(k.seriesDataIndices,function(P){var j=P.seriesIndex+" | "+P.dataIndex;x[j]=P})});var C=[],_=[];g.each(O,function(N,F){!x[F]&&_.push(N)}),g.each(x,function(N,F){!O[F]&&C.push(N)}),_.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,batch:_}),C.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function d(b,E){for(var A=0;A<(b||[]).length;A++){var S=b[A];if(E.axis.dim===S.axisDim&&E.axis.model.componentIndex===S.axisIndex)return S}}function m(b){var E=b.axis.model,A={},S=A.axisDim=b.axis.dim;return A.axisIndex=A[S+"AxisIndex"]=E.componentIndex,A.axisName=A[S+"AxisName"]=E.name,A.axisId=A[S+"AxisId"]=E.id,A}function w(b){return!b||b[0]==null||isNaN(b[0])||b[1]==null||isNaN(b[1])}D.exports=i},"6BzB":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.shrinkBuf=g,I.arraySet=f,I.flattenChunks=y,I.Buf32=I.Buf16=I.Buf8=void 0;function g(u,o){return u.length===o?u:u.subarray?u.subarray(0,o):(u.length=o,u)}function f(u,o,i,r,a){if(o.subarray&&u.subarray){u.set(o.subarray(i,i+r),a);return}for(var c=0;c<r;c++)u[a+c]=o[i+c]}function y(u){var o,i,r,a,c,n;for(r=0,o=0,i=u.length;o<i;o++)r+=u[o].length;for(n=new Uint8Array(r),a=0,o=0,i=u.length;o<i;o++)c=u[o],n.set(c,a),a+=c.length;return n}var p=Uint8Array;I.Buf8=p;var v=Uint16Array;I.Buf16=v;var h=Int32Array;I.Buf32=h},"6D9b":function(D,I,e){},"6GrX":function(D,I,e){var g=e("mFDi"),f=e("Xnb7"),y=e("bYtY"),p=y.getContext,v=y.extend,h=y.retrieve2,u=y.retrieve3,o=y.trim,i={},r=0,a=5e3,c=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(K,R){l[K]=R}function s(K,R){R=R||n;var B=K+":"+R;if(i[B])return i[B];for(var U=(K+"").split(`
|
|
|
`),H=0,W=0,V=U.length;W<V;W++)H=Math.max(N(U[W],R).width,H);return r>a&&(r=0,i={}),r++,i[B]=H,H}function d(K,R,B,U,H,W,V,z){return V?w(K,R,B,U,H,W,V,z):m(K,R,B,U,H,W,z)}function m(K,R,B,U,H,W,V){var z=F(K,R,H,W,V),X=s(K,R);H&&(X+=H[1]+H[3]);var q=z.outerHeight,fe=b(0,X,B),G=E(0,q,U),ve=new g(fe,G,X,q);return ve.lineHeight=z.lineHeight,ve}function w(K,R,B,U,H,W,V,z){var X=k(K,{rich:V,truncate:z,font:R,textAlign:B,textPadding:H,textLineHeight:W}),q=X.outerWidth,fe=X.outerHeight,G=b(0,q,B),ve=E(0,fe,U);return new g(G,ve,q,fe)}function b(K,R,B){return B==="right"?K-=R:B==="center"&&(K-=R/2),K}function E(K,R,B){return B==="middle"?K-=R/2:B==="bottom"&&(K-=R),K}function A(K,R,B){var U=R.textPosition,H=R.textDistance,W=B.x,V=B.y;H=H||0;var z=B.height,X=B.width,q=z/2,fe="left",G="top";switch(U){case"left":W-=H,V+=q,fe="right",G="middle";break;case"right":W+=H+X,V+=q,G="middle";break;case"top":W+=X/2,V-=H,fe="center",G="bottom";break;case"bottom":W+=X/2,V+=z+H,fe="center";break;case"inside":W+=X/2,V+=q,fe="center",G="middle";break;case"insideLeft":W+=H,V+=q,G="middle";break;case"insideRight":W+=X-H,V+=q,fe="right",G="middle";break;case"insideTop":W+=X/2,V+=H,fe="center";break;case"insideBottom":W+=X/2,V+=z-H,fe="center",G="bottom";break;case"insideTopLeft":W+=H,V+=H;break;case"insideTopRight":W+=X-H,V+=H,fe="right";break;case"insideBottomLeft":W+=H,V+=z-H,G="bottom";break;case"insideBottomRight":W+=X-H,V+=z-H,fe="right",G="bottom";break}return K=K||{},K.x=W,K.y=V,K.textAlign=fe,K.textVerticalAlign=G,K}function S(K,R,B){var U={textPosition:K,textDistance:B};return A({},U,R)}function T(K,R,B,U,H){if(!R)return"";var W=(K+"").split(`
|
|
|
`);H=O(R,B,U,H);for(var V=0,z=W.length;V<z;V++)W[V]=x(W[V],H);return W.join(`
|
|
|
`)}function O(K,R,B,U){U=v({},U),U.font=R;var B=h(B,"...");U.maxIterations=h(U.maxIterations,2);var H=U.minChar=h(U.minChar,0);U.cnCharWidth=s("\u56FD",R);var W=U.ascCharWidth=s("a",R);U.placeholder=h(U.placeholder,"");for(var V=K=Math.max(0,K-1),z=0;z<H&&V>=W;z++)V-=W;var X=s(B,R);return X>V&&(B="",X=0),V=K-X,U.ellipsis=B,U.ellipsisWidth=X,U.contentWidth=V,U.containerWidth=K,U}function x(K,R){var B=R.containerWidth,U=R.font,H=R.contentWidth;if(!B)return"";var W=s(K,U);if(W<=B)return K;for(var V=0;;V++){if(W<=H||V>=R.maxIterations){K+=R.ellipsis;break}var z=V===0?C(K,H,R.ascCharWidth,R.cnCharWidth):W>0?Math.floor(K.length*H/W):0;K=K.substr(0,z),W=s(K,U)}return K===""&&(K=R.placeholder),K}function C(K,R,B,U){for(var H=0,W=0,V=K.length;W<V&&H<R;W++){var z=K.charCodeAt(W);H+=0<=z&&z<=127?B:U}return W}function _(K){return s("\u56FD",K)}function N(K,R){return l.measureText(K,R)}l.measureText=function(K,R){var B=p();return B.font=R||n,B.measureText(K)};function F(K,R,B,U,H){K!=null&&(K+="");var W=h(U,_(R)),V=K?K.split(`
|
|
|
`):[],z=V.length*W,X=z,q=!0;if(B&&(X+=B[0]+B[2]),K&&H){q=!1;var fe=H.outerHeight,G=H.outerWidth;if(fe!=null&&X>fe)K="",V=[];else if(G!=null)for(var ve=O(G-(B?B[1]+B[3]:0),R,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Se=0,ge=V.length;Se<ge;Se++)V[Se]=x(V[Se],ve)}return{lines:V,height:z,outerHeight:X,lineHeight:W,canCacheByTextString:q}}function k(K,R){var B={lines:[],width:0,height:0};if(K!=null&&(K+=""),!K)return B;for(var U=c.lastIndex=0,H;(H=c.exec(K))!=null;){var W=H.index;W>U&&P(B,K.substring(U,W)),P(B,H[2],H[1]),U=c.lastIndex}U<K.length&&P(B,K.substring(U,K.length));var V=B.lines,z=0,X=0,q=[],fe=R.textPadding,G=R.truncate,ve=G&&G.outerWidth,Se=G&&G.outerHeight;fe&&(ve!=null&&(ve-=fe[1]+fe[3]),Se!=null&&(Se-=fe[0]+fe[2]));for(var ge=0;ge<V.length;ge++){for(var Pe=V[ge],Ge=0,pt=0,Te=0;Te<Pe.tokens.length;Te++){var xe=Pe.tokens[Te],lt=xe.styleName&&R.rich[xe.styleName]||{},Ie=xe.textPadding=lt.textPadding,de=xe.font=lt.font||R.font,ee=xe.textHeight=h(lt.textHeight,_(de));if(Ie&&(ee+=Ie[0]+Ie[2]),xe.height=ee,xe.lineHeight=u(lt.textLineHeight,R.textLineHeight,ee),xe.textAlign=lt&<.textAlign||R.textAlign,xe.textVerticalAlign=lt&<.textVerticalAlign||"middle",Se!=null&&z+xe.lineHeight>Se)return{lines:[],width:0,height:0};xe.textWidth=s(xe.text,de);var se=lt.textWidth,ke=se==null||se==="auto";if(typeof se=="string"&&se.charAt(se.length-1)==="%")xe.percentWidth=se,q.push(xe),se=0;else{if(ke){se=xe.textWidth;var Ce=lt.textBackgroundColor,ze=Ce&&Ce.image;ze&&(ze=f.findExistImage(ze),f.isImageReady(ze)&&(se=Math.max(se,ze.width*ee/ze.height)))}var _e=Ie?Ie[1]+Ie[3]:0;se+=_e;var ae=ve!=null?ve-pt:null;ae!=null&&ae<se&&(!ke||ae<_e?(xe.text="",xe.textWidth=se=0):(xe.text=T(xe.text,ae-_e,de,G.ellipsis,{minChar:G.minChar}),xe.textWidth=s(xe.text,de),se=xe.textWidth+_e))}pt+=xe.width=se,lt&&(Ge=Math.max(Ge,xe.lineHeight))}Pe.width=pt,Pe.lineHeight=Ge,z+=Ge,X=Math.max(X,pt)}B.outerWidth=B.width=h(R.textWidth,X),B.outerHeight=B.height=h(R.textHeight,z),fe&&(B.outerWidth+=fe[1]+fe[3],B.outerHeight+=fe[0]+fe[2]);for(var ge=0;ge<q.length;ge++){var xe=q[ge],me=xe.percentWidth;xe.width=parseInt(me,10)/100*X}return B}function P(K,R,B){for(var U=R==="",H=R.split(`
|
|
|
`),W=K.lines,V=0;V<H.length;V++){var z=H[V],X={styleName:B,text:z,isLineHolder:!z&&!U};if(V)W.push({tokens:[X]});else{var q=(W[W.length-1]||(W[0]={tokens:[]})).tokens,fe=q.length;fe===1&&q[0].isLineHolder?q[0]=X:(z||!fe||U)&&q.push(X)}}}function j(K){var R=(K.fontSize||K.fontFamily)&&[K.fontStyle,K.fontWeight,(K.fontSize||12)+"px",K.fontFamily||"sans-serif"].join(" ");return R&&o(R)||K.textFont||K.font}I.DEFAULT_FONT=n,I.$override=t,I.getWidth=s,I.getBoundingRect=d,I.adjustTextX=b,I.adjustTextY=E,I.calculateTextPosition=A,I.adjustTextPositionOnRect=S,I.truncateText=T,I.getLineHeight=_,I.measureText=N,I.parsePlainText=F,I.parseRichText=k,I.makeFont=j},"6Hfg":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("FhB9")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="SwapRightOutlined";var u=y.forwardRef(h);I.default=u},"6Ic6":function(D,I,e){var g=e("bYtY"),f=g.each,y=e("4fz+"),p=e("iRjW"),v=e("Yl7c"),h=e("4NO4"),u=e("IwbS"),o=e("9H2F"),i=o.createTask,r=e("zM3Q"),a=h.makeInner(),c=r();function n(){this.group=new y,this.uid=p.getUID("viewChart"),this.renderTask=i({plan:d,reset:m}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(E,A){},render:function(E,A,S,T){},highlight:function(E,A,S,T){s(E.getData(),T,"emphasis")},downplay:function(E,A,S,T){s(E.getData(),T,"normal")},remove:function(E,A){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(E,A,S,T){this.render(E,A,S,T)};function t(E,A,S){if(E&&(E.trigger(A,S),E.isGroup&&!u.isHighDownDispatcher(E)))for(var T=0,O=E.childCount();T<O;T++)t(E.childAt(T),A,S)}function s(E,A,S){var T=h.queryDataIndex(E,A),O=A&&A.highlightKey!=null?u.getHighlightDigit(A.highlightKey):null;T!=null?f(h.normalizeToArray(T),function(x){t(E.getItemGraphicEl(x),S,O)}):E.eachItemGraphicEl(function(x){t(x,S,O)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(E,A){a(E).updateMethod=A};function d(E){return c(E.model)}function m(E){var A=E.model,S=E.ecModel,T=E.api,O=E.payload,x=A.pipelineContext.progressiveRender,C=E.view,_=O&&a(O).updateMethod,N=x?"incrementalPrepareRender":_&&C[_]?_:"render";return N!=="render"&&C[N](A,S,T,O),w[N]}var w={incrementalPrepareRender:{progress:function(E,A){A.view.incrementalRender(E,A.model,A.ecModel,A.api,A.payload)}},render:{forceFirstProgress:!0,progress:function(E,A){A.view.render(A.model,A.ecModel,A.api,A.payload)}}},b=n;D.exports=b},"6MrE":function(D,I,e){},"6Qwc":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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"};I.default=g},"6SEX":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("qWUW"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"6UJt":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("v56E"),p=e.n(y),v=e("R9oj"),h=e("5NDa")},"6VBw":function(D,I,e){"use strict";var g=e("ODXe"),f=e("rePB"),y=e("Ff2n"),p=e("q1tI"),v=e("TSYQ"),h=e.n(v),u=e("VTBJ"),o=e("Qi1f"),i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function r(m){var w=m.primaryColor,b=m.secondaryColor;i.primaryColor=w,i.secondaryColor=b||Object(o.b)(w),i.calculated=!!b}function a(){return Object(u.a)({},i)}var c=function(w){var b=w.icon,E=w.className,A=w.onClick,S=w.style,T=w.primaryColor,O=w.secondaryColor,x=Object(y.a)(w,["icon","className","onClick","style","primaryColor","secondaryColor"]),C=i;if(T&&(C={primaryColor:T,secondaryColor:O||Object(o.b)(T)}),Object(o.f)(),Object(o.g)(Object(o.c)(b),"icon should be icon definiton, but got ".concat(b)),!Object(o.c)(b))return null;var _=b;return _&&typeof _.icon=="function"&&(_=Object(u.a)(Object(u.a)({},_),{},{icon:_.icon(C.primaryColor,C.secondaryColor)})),Object(o.a)(_.icon,"svg-".concat(_.name),Object(u.a)({className:E,onClick:A,style:S,"data-icon":_.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},x))};c.displayName="IconReact",c.getTwoToneColors=a,c.setTwoToneColors=r;var n=c;function l(m){var w=Object(o.d)(m),b=Object(g.a)(w,2),E=b[0],A=b[1];return n.setTwoToneColors({primaryColor:E,secondaryColor:A})}function t(){var m=n.getTwoToneColors();return m.calculated?[m.primaryColor,m.secondaryColor]:m.primaryColor}l("#1890ff");var s=p.forwardRef(function(m,w){var b=m.className,E=m.icon,A=m.spin,S=m.rotate,T=m.tabIndex,O=m.onClick,x=m.twoToneColor,C=Object(y.a)(m,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),_=h()("anticon",Object(f.a)({},"anticon-".concat(E.name),Boolean(E.name)),b),N=h()({"anticon-spin":!!A||E.name==="loading"}),F=T;F===void 0&&O&&(F=-1);var k=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,P=Object(o.d)(x),j=Object(g.a)(P,2),K=j[0],R=j[1];return p.createElement("span",Object.assign({role:"img","aria-label":E.name},C,{ref:w,tabIndex:F,onClick:O,className:_}),p.createElement(n,{className:N,icon:E,primaryColor:K,secondaryColor:R,style:k}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var d=I.a=s},"6cGi":function(D,I,e){"use strict";e.d(I,"a",function(){return i});var g=e("q1tI"),f=e.n(g);function y(r,a){return o(r)||u(r,a)||v(r,a)||p()}function p(){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 v(r,a){if(!r)return;if(typeof r=="string")return h(r,a);var c=Object.prototype.toString.call(r).slice(8,-1);if(c==="Object"&&r.constructor&&(c=r.constructor.name),c==="Map"||c==="Set")return Array.from(r);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return h(r,a)}function h(r,a){(a==null||a>r.length)&&(a=r.length);for(var c=0,n=new Array(a);c<a;c++)n[c]=r[c];return n}function u(r,a){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(r)))return;var c=[],n=!0,l=!1,t=void 0;try{for(var s=r[Symbol.iterator](),d;!(n=(d=s.next()).done)&&!(c.push(d.value),a&&c.length===a);n=!0);}catch(m){l=!0,t=m}finally{try{!n&&s.return!=null&&s.return()}finally{if(l)throw t}}return c}function o(r){if(Array.isArray(r))return r}function i(r,a){var c=a||{},n=c.defaultValue,l=c.value,t=c.onChange,s=c.postState,d=g.useState(function(){return l!==void 0?l:n!==void 0?typeof n=="function"?n():n:typeof r=="function"?r():r}),m=y(d,2),w=m[0],b=m[1],E=l!==void 0?l:w;s&&(E=s(E));function A(T){b(T),E!==T&&t&&t(T,E)}var S=g.useRef(!0);return g.useEffect(function(){if(S.current){S.current=!1;return}l===void 0&&b(l)},[l]),[E,A]}},"6fms":function(D,I,e){var g=e("SUKs"),f=e("06Qe"),y=e("bYtY"),p=y.each;function v(i){return parseInt(i,10)}function h(i,r){f.initVML(),this.root=i,this.storage=r;var a=document.createElement("div"),c=document.createElement("div");a.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",c.style.cssText="position:absolute;left:0;top:0;",i.appendChild(a),this._vmlRoot=c,this._vmlViewport=a,this.resize();var n=r.delFromStorage,l=r.addToStorage;r.delFromStorage=function(t){n.call(r,t),t&&(t.onRemove&&t.onRemove(c))},r.addToStorage=function(t){t.onAdd&&t.onAdd(c),l.call(r,t)},this._firstPaint=!0}h.prototype={constructor:h,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},refresh:function(){var r=this.storage.getDisplayList(!0,!0);this._paintList(r)},_paintList:function(r){for(var a=this._vmlRoot,c=0;c<r.length;c++){var n=r[c];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(a),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(a),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,a),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(a),this._firstPaint=!1)},resize:function(r,a){var r=r==null?this._getWidth():r,a=a==null?this._getHeight():a;if(this._width!==r||this._height!==a){this._width=r,this._height=a;var c=this._vmlViewport.style;c.width=r+"px",c.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 r=this.root,a=r.currentStyle;return(r.clientWidth||v(a.width))-v(a.paddingLeft)-v(a.paddingRight)|0},_getHeight:function(){var r=this.root,a=r.currentStyle;return(r.clientHeight||v(a.height))-v(a.paddingTop)-v(a.paddingBottom)|0}};function u(i){return function(){g('In IE8.0 VML mode painter not support method "'+i+'"')}}p(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(i){h.prototype[i]=u(i)});var o=h;D.exports=o},"6r85":function(D,I,e){var g=e("bYtY");function f(y){if(!y||!g.isArray(y.series))return;g.each(y.series,function(p){g.isObject(p)&&p.type==="k"&&(p.type="candlestick")})}D.exports=f},"6sVZ":function(D,I){var e=Object.prototype;function g(f){var y=f&&f.constructor,p=typeof y=="function"&&y.prototype||e;return f===p}D.exports=g},"6uqw":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),p=e("YOMW"),v=e("XxSj"),h=e("K4ya"),u=e("4NO4"),o=e("OELB"),i=v.mapVisual,r=v.eachVisual,a=f.isArray,c=f.each,n=o.asc,l=o.linearMap,t=f.noop,s=g.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(m,w,b){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(m,b)},optionUpdated:function(m,w){var b=this.option;y.canvasSupported||(b.realtime=!1),!w&&h.replaceVisualOption(b,m,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(m){var w=this.stateList;m=f.bind(m,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,w,m),this.targetVisuals=h.createVisualMappings(this.option.target,w,m)},getTargetSeriesIndices:function(){var m=this.option.seriesIndex,w=[];return m==null||m==="all"?this.ecModel.eachSeries(function(b,E){w.push(E)}):w=u.normalizeToArray(m),w},eachTargetSeries:function(m,w){f.each(this.getTargetSeriesIndices(),function(b){m.call(w,this.ecModel.getSeriesByIndex(b))},this)},isTargetSeries:function(m){var w=!1;return this.eachTargetSeries(function(b){b===m&&(w=!0)}),w},formatValueText:function(m,w,b){var E=this.option,A=E.precision,S=this.dataBound,T=E.formatter,O,x;if(b=b||["<",">"],f.isArray(m)&&(m=m.slice(),O=!0),x=w?m:O?[C(m[0]),C(m[1])]:C(m),f.isString(T))return T.replace("{value}",O?x[0]:x).replace("{value2}",O?x[1]:x);if(f.isFunction(T))return O?T(m[0],m[1]):T(m);if(O)return m[0]===S[0]?b[0]+" "+x[1]:m[1]===S[1]?b[1]+" "+x[0]:x[0]+" - "+x[1];return x;function C(_){return _===S[0]?"min":_===S[1]?"max":(+_).toFixed(Math.min(A,20))}},resetExtent:function(){var m=this.option,w=n([m.min,m.max]);this._dataExtent=w},getDataDimension:function(m){var w=this.option.dimension,b=m.dimensions;if(w==null&&!b.length)return;if(w!=null)return m.getDimension(w);for(var E=m.dimensions,A=E.length-1;A>=0;A--){var S=E[A],T=m.getDimensionInfo(S);if(!T.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var m=this.ecModel,w=this.option,b={inRange:w.inRange,outOfRange:w.outOfRange},E=w.target||(w.target={}),A=w.controller||(w.controller={});f.merge(E,b),f.merge(A,b);var S=this.isCategory();T.call(this,E),T.call(this,A),O.call(this,E,"inRange","outOfRange"),x.call(this,A);function T(C){a(w.color)&&!C.inRange&&(C.inRange={color:w.color.slice().reverse()}),C.inRange=C.inRange||{color:m.get("gradientColor")},c(this.stateList,function(_){var N=C[_];if(f.isString(N)){var F=p.get(N,"active",S);F?(C[_]={},C[_][N]=F):delete C[_]}},this)}function O(C,_,N){var F=C[_],k=C[N];F&&!k&&(k=C[N]={},c(F,function(P,j){if(!v.isValidType(j))return;var K=p.get(j,"inactive",S);K!=null&&(k[j]=K,j==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function x(C){var _=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,N=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,F=this.get("inactiveColor");c(this.stateList,function(k){var P=this.itemSize,j=C[k];j||(j=C[k]={color:S?F:[F]}),j.symbol==null&&(j.symbol=_&&f.clone(_)||(S?"roundRect":["roundRect"])),j.symbolSize==null&&(j.symbolSize=N&&f.clone(N)||(S?P[0]:[P[0],P[0]])),j.symbol=i(j.symbol,function(B){return B==="none"||B==="square"?"roundRect":B});var K=j.symbolSize;if(K!=null){var R=-Infinity;r(K,function(B){B>R&&(R=B)}),j.symbolSize=i(K,function(B){return l(B,[0,R],[0,P[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),d=s;D.exports=d},"6usn":function(D,I,e){var g=e("bYtY");function f(p,v){return g.map(["Radius","Angle"],function(h,u){var o=this["get"+h+"Axis"](),i=v[u],r=p[u]/2,a="dataTo"+h,c=o.type==="category"?o.getBandWidth():Math.abs(o[a](i-r)-o[a](i+r));return h==="Angle"&&(c=c*Math.PI/180),c},this)}function y(p){var v=p.getRadiusAxis(),h=p.getAngleAxis(),u=v.getExtent();return u[0]>u[1]&&u.reverse(),{coordSys:{type:"polar",cx:p.cx,cy:p.cy,r:u[1],r0:u[0]},api:{coord:g.bind(function(o){var i=v.dataToRadius(o[0]),r=h.dataToAngle(o[1]),a=p.coordToPoint([i,r]);return a.push(i,r*Math.PI/180),a}),size:g.bind(f,p)}}}D.exports=y},"6xvX":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("V7ic"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"711d":function(D,I){function e(g){return function(f){return f==null?void 0:f[g]}}D.exports=e},"72pK":function(D,I){function e(y,p,v,h,u,o){y=y||0;var i=v[1]-v[0];if(u!=null&&(u=f(u,[0,i])),o!=null&&(o=Math.max(o,u!=null?u:0)),h==="all"){var r=Math.abs(p[1]-p[0]);r=f(r,[0,i]),u=o=f(r,[u,o]),h=0}p[0]=f(p[0],v),p[1]=f(p[1],v);var a=g(p,h);p[h]+=y;var c=u||0,n=v.slice();a.sign<0?n[0]+=c:n[1]-=c,p[h]=f(p[h],n);var l=g(p,h);u!=null&&(l.sign!==a.sign||l.span<u)&&(p[1-h]=p[h]+a.sign*u);var l=g(p,h);return o!=null&&l.span>o&&(p[1-h]=p[h]+l.sign*o),p}function g(y,p){var v=y[p]-y[1-p];return{span:Math.abs(v),sign:v>0?-1:v<0?1:p?-1:1}}function f(y,p){return Math.min(p[1]!=null?p[1]:Infinity,Math.max(p[0]!=null?p[0]:-Infinity,y))}D.exports=e},"75ce":function(D,I,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),y=e("h8O9"),p=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(y("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,p("line"))},"75ev":function(D,I,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),y=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(y)},"77Zs":function(D,I,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}D.exports=f},"7AJT":function(D,I,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,u,o,i){f.call(this,v,h,u),this.type=o||"value",this.position=i||"bottom"};y.prototype={constructor:y,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),v&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,h){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},g.inherits(y,f);var p=y;D.exports=p},"7DRL":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.createHashMap,v=y.isString,h=y.isArray,u=y.each,o=y.assert,i=e("MEGo"),r=i.parseXML,a=p(),c={registerMap:function(l,t,s){var d;return h(t)?d=t:t.svg?d=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),d=[{type:"geoJSON",source:t,specialAreas:s}]),u(d,function(m){var w=m.type;w==="geoJson"&&(w=m.type="geoJSON");var b=n[w];b(m)}),a.set(l,d)},retrieveMap:function(l){return a.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=r(l.source)}};D.exports=c},"7G+c":function(D,I,e){var g=e("bYtY"),f=g.createHashMap,y=g.isTypedArray,p=e("Yl7c"),v=p.enableClassCheck,h=e("k9D9"),u=h.SOURCE_FORMAT_ORIGINAL,o=h.SERIES_LAYOUT_BY_COLUMN,i=h.SOURCE_FORMAT_UNKNOWN,r=h.SOURCE_FORMAT_TYPED_ARRAY,a=h.SOURCE_FORMAT_KEYED_COLUMNS;function c(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===a?{}:[]),this.sourceFormat=l.sourceFormat||i,this.seriesLayoutBy=l.seriesLayoutBy||o,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&f(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}c.seriesDataToSource=function(l){return new c({data:l,sourceFormat:y(l)?r:u,fromDataset:!1})},v(c);var n=c;D.exports=n},"7GkX":function(D,I,e){var g=e("b80T"),f=e("A90E"),y=e("MMmD");function p(v){return y(v)?g(v):f(v)}D.exports=p},"7Kak":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KPFz"),p=e.n(y)},"7Phj":function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,p=g.each;function v(i){var r=h(i);p(r,function(a){var c=a.seriesModels;if(!c.length)return;u(a),p(c,function(n,l){o(n,a.boxOffsetList[l],a.boxWidthList[l])})})}function h(i){var r=[],a=[];return i.eachSeriesByType("boxplot",function(c){var n=c.getBaseAxis(),l=g.indexOf(a,n);l<0&&(l=a.length,a[l]=n,r[l]={axis:n,seriesModels:[]}),r[l].seriesModels.push(c)}),r}function u(i){var r,a=i.axis,c=i.seriesModels,n=c.length,l=i.boxWidthList=[],t=i.boxOffsetList=[],s=[],d;if(a.type==="category")d=a.getBandWidth();else{var m=0;p(c,function(S){m=Math.max(m,S.getData().count())}),r=a.getExtent(),Math.abs(r[1]-r[0])/m}p(c,function(S){var T=S.get("boxWidth");g.isArray(T)||(T=[T,T]),s.push([y(T[0],d)||0,y(T[1],d)||0])});var w=d*.8-2,b=w/n*.3,E=(w-b*(n-1))/n,A=E/2-w/2;p(c,function(S,T){t.push(A),A+=b+E,l.push(Math.min(Math.max(E,s[T][0]),s[T][1]))})}function o(i,r,a){var c=i.coordinateSystem,n=i.getData(),l=a/2,t=i.get("layout")==="horizontal"?0:1,s=1-t,d=["x","y"],m=n.mapDimension(d[t]),w=n.mapDimension(d[s],!0);if(m==null||w.length<5)return;for(var b=0;b<n.count();b++){var E=n.get(m,b),A=_(E,w[2],b),S=_(E,w[0],b),T=_(E,w[1],b),O=_(E,w[3],b),x=_(E,w[4],b),C=[];N(C,T,0),N(C,O,1),C.push(S,T,x,O),F(C,S),F(C,x),F(C,A),n.setItemLayout(b,{initBaseline:A[s],ends:C})}function _(k,P,j){var K=n.get(P,j),R=[];R[t]=k,R[s]=K;var B;return isNaN(k)||isNaN(K)?B=[NaN,NaN]:(B=c.dataToPoint(R),B[t]+=r),B}function N(k,P,j){var K=P.slice(),R=P.slice();K[t]+=l,R[t]-=l,j?k.push(K,R):k.push(R,K)}function F(k,P){var j=P.slice(),K=P.slice();j[t]-=l,K[t]+=l,k.push(j,K)}}D.exports=v},"7SHv":function(D,I,e){var g=e("LPTA"),f=g.devicePixelRatio,y=e("bYtY"),p=e("SUKs"),v=e("mFDi"),h=e("BPZU"),u=e("Xmg4"),o=e("mLcG"),i=e("Dagg"),r=e("ItGF"),a=1e5,c=314159,n=.01,l=.001;function t(O){return parseInt(O,10)}function s(O){return O?O.__builtin__?!0:!(typeof O.resize!="function"||typeof O.refresh!="function"):!1}var d=new v(0,0,0,0),m=new v(0,0,0,0);function w(O,x,C){return d.copy(O.getBoundingRect()),O.transform&&d.applyTransform(O.transform),m.width=x,m.height=C,!d.intersect(m)}function b(O,x){if(O===x)return!1;if(!O||!x||O.length!==x.length)return!0;for(var C=0;C<O.length;C++)if(O[C]!==x[C])return!0;return!1}function E(O,x){for(var C=0;C<O.length;C++){var _=O[C];_.setTransform(x),x.beginPath(),_.buildPath(x,_.shape),x.clip(),_.restoreTransform(x)}}function A(O,x){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+O+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var S=function(x,C,_){this.type="canvas";var N=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=_=y.extend({},_||{}),this.dpr=_.devicePixelRatio||f,this._singleCanvas=N,this.root=x;var F=x.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=C;var k=this._zlevelList=[],P=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,N){var K=x.width,R=x.height;_.width!=null&&(K=_.width),_.height!=null&&(R=_.height),this.dpr=_.devicePixelRatio||1,x.width=K*this.dpr,x.height=R*this.dpr,this._width=K,this._height=R;var B=new u(x,this,this.dpr);B.__builtin__=!0,B.initContext(),P[c]=B,B.zlevel=c,k.push(c),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var j=this._domRoot=A(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),_=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,x,this._redrawId);for(var N=0;N<_.length;N++){var F=_[N],k=this._layers[F];if(!k.__builtin__&&k.refresh){var P=N===0?this._backgroundColor:null;k.refresh(P)}}return this.refreshHover(),this},addHover:function(x,C){if(x.__hoverMir)return;var _=new x.constructor({style:x.style,shape:x.shape,z:x.z,z2:x.z2,silent:x.silent});return _.__from=x,x.__hoverMir=_,C&&_.setStyle(C),this._hoverElements.push(_),_},removeHover:function(x){var C=x.__hoverMir,_=this._hoverElements,N=y.indexOf(_,C);N>=0&&_.splice(N,1),x.__hoverMir=null},clearHover:function(x){for(var C=this._hoverElements,_=0;_<C.length;_++){var N=C[_].__from;N&&(N.__hoverMir=null)}C.length=0},refreshHover:function(){var x=this._hoverElements,C=x.length,_=this._hoverlayer;if(_&&_.clear(),!C)return;h(x,this.storage.displayableSortFunc),_||(_=this._hoverlayer=this.getLayer(a));var N={};_.ctx.save();for(var F=0;F<C;){var k=x[F],P=k.__from;if(!(P&&P.__zr)){x.splice(F,1),P.__hoverMir=null,C--;continue}F++,P.invisible||(k.transform=P.transform,k.invTransform=P.invTransform,k.__clipPaths=P.__clipPaths,this._doPaintEl(k,_,!0,N))}_.ctx.restore()},getHoverLayer:function(){return this.getLayer(a)},_paintList:function(x,C,_){if(this._redrawId!==_)return;C=C||!1,this._updateLayerStatus(x);var N=this._doPaintList(x,C);if(this._needsManuallyCompositing&&this._compositeManually(),!N){var F=this;o(function(){F._paintList(x,C,_)})}},_compositeManually:function(){var x=this.getLayer(c).ctx,C=this._domRoot.width,_=this._domRoot.height;x.clearRect(0,0,C,_),this.eachBuiltinLayer(function(N){N.virtual&&x.drawImage(N.dom,0,0,C,_)})},_doPaintList:function(x,C){for(var _=[],N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N],k=this._layers[F];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||C)&&_.push(k)}for(var P=!0,j=0;j<_.length;j++){var k=_[j],K=k.ctx,R={};K.save();var B=C?k.__startIndex:k.__drawIndex,U=!C&&k.incremental&&Date.now,H=U&&Date.now(),W=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,W);else if(B===k.__startIndex){var V=x[B];(!V.incremental||!V.notClear||C)&&k.clear(!1,W)}B===-1&&(console.error("For some unknown reason. drawIndex is -1"),B=k.__startIndex);for(var z=B;z<k.__endIndex;z++){var X=x[z];if(this._doPaintEl(X,k,C,R),X.__dirty=X.__dirtyText=!1,U){var q=Date.now()-H;if(q>15)break}}k.__drawIndex=z,k.__drawIndex<k.__endIndex&&(P=!1),R.prevElClipPaths&&K.restore(),K.restore()}return r.wxa&&y.each(this._layers,function(fe){fe&&fe.ctx&&fe.ctx.draw&&fe.ctx.draw()}),P},_doPaintEl:function(x,C,_,N){var F=C.ctx,k=x.transform;if((C.__dirty||_)&&!x.invisible&&x.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(x.culling&&w(x,this._width,this._height))){var P=x.__clipPaths,j=N.prevElClipPaths;(!j||b(P,j))&&(j&&(F.restore(),N.prevElClipPaths=null,N.prevEl=null),P&&(F.save(),E(P,F),N.prevElClipPaths=P)),x.beforeBrush&&x.beforeBrush(F),x.brush(F,N.prevEl||null),N.prevEl=x,x.afterBrush&&x.afterBrush(F)}},getLayer:function(x,C){this._singleCanvas&&!this._needsManuallyCompositing&&(x=c);var _=this._layers[x];return _||(_=new u("zr_"+x,this,this.dpr),_.zlevel=x,_.__builtin__=!0,this._layerConfig[x]?y.merge(_,this._layerConfig[x],!0):this._layerConfig[x-n]&&y.merge(_,this._layerConfig[x-n],!0),C&&(_.virtual=C),this.insertLayer(x,_),_.initContext()),_},insertLayer:function(x,C){var _=this._layers,N=this._zlevelList,F=N.length,k=null,P=-1,j=this._domRoot;if(_[x]){p("ZLevel "+x+" has been used already");return}if(!s(C)){p("Layer of zlevel "+x+" is not valid");return}if(F>0&&x>N[0]){for(P=0;P<F-1&&!(N[P]<x&&N[P+1]>x);P++);k=_[N[P]]}if(N.splice(P+1,0,x),_[x]=C,!C.virtual)if(k){var K=k.dom;K.nextSibling?j.insertBefore(C.dom,K.nextSibling):j.appendChild(C.dom)}else j.firstChild?j.insertBefore(C.dom,j.firstChild):j.appendChild(C.dom)},eachLayer:function(x,C){var _=this._zlevelList,N,F;for(F=0;F<_.length;F++)N=_[F],x.call(C,this._layers[N],N)},eachBuiltinLayer:function(x,C){var _=this._zlevelList,N,F,k;for(k=0;k<_.length;k++)F=_[k],N=this._layers[F],N.__builtin__&&x.call(C,N,F)},eachOtherLayer:function(x,C){var _=this._zlevelList,N,F,k;for(k=0;k<_.length;k++)F=_[k],N=this._layers[F],N.__builtin__||x.call(C,N,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(R,B){R.__dirty=R.__used=!1});function C(R){F&&(F.__endIndex!==R&&(F.__dirty=!0),F.__endIndex=R)}if(this._singleCanvas)for(var _=1;_<x.length;_++){var N=x[_];if(N.zlevel!==x[_-1].zlevel||N.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,k=0,P,_=0;_<x.length;_++){var N=x[_],j=N.zlevel,K;P!==j&&(P=j,k=0),N.incremental?(K=this.getLayer(j+l,this._needsManuallyCompositing),K.incremental=!0,k=1):K=this.getLayer(j+(k>0?n:0),this._needsManuallyCompositing),K.__builtin__||p("ZLevel "+j+" has been used by unkown layer "+K.id),K!==F&&(K.__used=!0,K.__startIndex!==_&&(K.__dirty=!0),K.__startIndex=_,K.incremental?K.__drawIndex=-1:K.__drawIndex=_,C(_),F=K),N.__dirty&&(K.__dirty=!0,K.incremental&&K.__drawIndex<0&&(K.__drawIndex=_))}C(_),this.eachBuiltinLayer(function(R,B){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__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 _=this._layerConfig;_[x]?y.merge(_[x],C,!0):_[x]=C;for(var N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N];if(F===x||F===x+n){var k=this._layers[F];y.merge(k,_[x],!0)}}}},delLayer:function(x){var C=this._layers,_=this._zlevelList,N=C[x];if(!N)return;N.dom.parentNode.removeChild(N.dom),delete C[x],_.splice(y.indexOf(_,x),1)},resize:function(x,C){if(this._domRoot.style){var _=this._domRoot;_.style.display="none";var N=this._opts;if(x!=null&&(N.width=x),C!=null&&(N.height=C),x=this._getSize(0),C=this._getSize(1),_.style.display="",this._width!==x||C!==this._height){_.style.width=x+"px",_.style.height=C+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(x,C);y.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(c).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[c].dom;var C=new u("image",this,x.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,x.backgroundColor||this._backgroundColor),x.pixelRatio<=this.dpr){this.refresh();var _=C.dom.width,N=C.dom.height,F=C.ctx;this.eachLayer(function(R){R.__builtin__?F.drawImage(R.dom,0,0,_,N):R.renderToCanvas&&(C.ctx.save(),R.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var k={},P=this.storage.getDisplayList(!0),j=0;j<P.length;j++){var K=P[j];this._doPaintEl(K,C,!0,k)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var C=this._opts,_=["width","height"][x],N=["clientWidth","clientHeight"][x],F=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(C[_]!=null&&C[_]!=="auto")return parseFloat(C[_]);var P=this.root,j=document.defaultView.getComputedStyle(P);return(P[N]||t(j[_])||t(P.style[_]))-(t(j[F])||0)-(t(j[k])||0)|0},pathToImage:function(x,C){C=C||this.dpr;var _=document.createElement("canvas"),N=_.getContext("2d"),F=x.getBoundingRect(),k=x.style,P=k.shadowBlur*C,j=k.shadowOffsetX*C,K=k.shadowOffsetY*C,R=k.hasStroke()?k.lineWidth:0,B=Math.max(R/2,-j+P),U=Math.max(R/2,j+P),H=Math.max(R/2,-K+P),W=Math.max(R/2,K+P),V=F.width+B+U,z=F.height+H+W;_.width=V*C,_.height=z*C,N.scale(C,C),N.clearRect(0,0,V,z),N.dpr=C;var X={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[B-F.x,H-F.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(N);var q=i,fe=new q({style:{x:0,y:0,image:_}});return X.position!=null&&(fe.position=x.position=X.position),X.rotation!=null&&(fe.rotation=x.rotation=X.rotation),X.scale!=null&&(fe.scale=x.scale=X.scale),fe}};var T=S;D.exports=T},"7a+S":function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("YXkt"),p=e("4NO4"),v=f.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(u,o,i){this._data,this._names,this.mergeDefaultAndTheme(u,i),this._initData()},mergeOption:function(u){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(u){u==null&&(u=this.option.currentIndex);var o=this._data.count();this.option.loop?u=(u%o+o)%o:(u>=o&&(u=o-1),u<0&&(u=0)),this.option.currentIndex=u},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(u){this.option.autoPlay=!!u},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var u=this.option,o=u.data||[],i=u.axisType,r=this._names=[];if(i==="category"){var a=[];g.each(o,function(l,t){var s=p.getDataItemValue(l),d;g.isObject(l)?(d=g.clone(l),d.value=t):d=t,a.push(d),!g.isString(s)&&(s==null||isNaN(s))&&(s=""),r.push(s+"")}),o=a}var c={category:"ordinal",time:"time"}[i]||"number",n=this._data=new y([{name:"value",type:c}],this);n.initData(o,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=v;D.exports=h},"7aKB":function(D,I,e){var g=e("bYtY"),f=e("6GrX"),y=e("OELB");function p(A){return isNaN(A)?"-":(A=(A+"").split("."),A[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(A.length>1?"."+A[1]:""))}function v(A,S){return A=(A||"").toLowerCase().replace(/-(.)/g,function(T,O){return O.toUpperCase()}),S&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var h=g.normalizeCssArray,u=/([&<>"'])/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"};function i(A){return A==null?"":(A+"").replace(u,function(S,T){return o[T]})}var r=["a","b","c","d","e","f","g"],a=function(A,S){return"{"+A+(S==null?"":S)+"}"};function c(A,S,T){g.isArray(S)||(S=[S]);var O=S.length;if(!O)return"";for(var x=S[0].$vars||[],C=0;C<x.length;C++){var _=r[C];A=A.replace(a(_),a(_,0))}for(var N=0;N<O;N++)for(var F=0;F<x.length;F++){var k=S[N][x[F]];A=A.replace(a(r[F],N),T?i(k):k)}return A}function n(A,S,T){return g.each(S,function(O,x){A=A.replace("{"+x+"}",T?i(O):O)}),A}function l(A,S){A=g.isString(A)?{color:A,extraCssText:S}:A||{};var T=A.color,O=A.type,S=A.extraCssText,x=A.renderMode||"html",C=A.markerId||"X";return T?x==="html"?O==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+i(T)+";"+(S||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+i(T)+";"+(S||"")+'"></span>':{renderMode:x,content:"{marker"+C+"|} ",style:{color:T}}:""}function t(A,S){return A+="","0000".substr(0,S-A.length)+A}function s(A,S,T){(A==="week"||A==="month"||A==="quarter"||A==="half-year"||A==="year")&&(A=`MM-dd
|
|
|
yyyy`);var O=y.parseDate(S),x=T?"UTC":"",C=O["get"+x+"FullYear"](),_=O["get"+x+"Month"]()+1,N=O["get"+x+"Date"](),F=O["get"+x+"Hours"](),k=O["get"+x+"Minutes"](),P=O["get"+x+"Seconds"](),j=O["get"+x+"Milliseconds"]();return A=A.replace("MM",t(_,2)).replace("M",_).replace("yyyy",C).replace("yy",C%100).replace("dd",t(N,2)).replace("d",N).replace("hh",t(F,2)).replace("h",F).replace("mm",t(k,2)).replace("m",k).replace("ss",t(P,2)).replace("s",P).replace("SSS",t(j,3)),A}function d(A){return A&&A.charAt(0).toUpperCase()+A.substr(1)}var m=f.truncateText;function w(A){return f.getBoundingRect(A.text,A.font,A.textAlign,A.textVerticalAlign,A.textPadding,A.textLineHeight,A.rich,A.truncate)}function b(A,S,T,O,x,C,_,N){return f.getBoundingRect(A,S,T,O,x,N,C,_)}function E(A,S){if(S==="_blank"||S==="blank"){var T=window.open();T.opener=null,T.location=A}else window.open(A,S)}I.addCommas=p,I.toCamelCase=v,I.normalizeCssArray=h,I.encodeHTML=i,I.formatTpl=c,I.formatTplSimple=n,I.getTooltipMarker=l,I.formatTime=s,I.capitalFirst=d,I.truncateText=m,I.getTextBoundingRect=w,I.getTextRect=b,I.windowOpen=E},"7bkD":function(D,I,e){var g=e("bYtY");function f(y,p){p=p||{};var v=y.coordinateSystem,h=y.axis,u={},o=h.position,i=h.orient,r=v.getRect(),a=[r.x,r.x+r.width,r.y,r.y+r.height],c={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};u.position=[i==="vertical"?c.vertical[o]:a[0],i==="horizontal"?c.horizontal[o]:a[3]];var n={horizontal:0,vertical:1};u.rotation=Math.PI/2*n[i];var l={top:-1,bottom:1,right:1,left:-1};u.labelDirection=u.tickDirection=u.nameDirection=l[o],y.get("axisTick.inside")&&(u.tickDirection=-u.tickDirection),g.retrieve(p.labelInside,y.get("axisLabel.inside"))&&(u.labelDirection=-u.labelDirection);var t=p.rotate;return t==null&&(t=y.get("axisLabel.rotate")),u.labelRotation=o==="top"?-t:t,u.z2=1,u}I.layout=f},"7fqy":function(D,I){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(p,v){y[++f]=[v,p]}),y}D.exports=e},"7hqr":function(D,I,e){var g=e("bYtY"),f=g.each,y=g.isString;function p(u,o,i){i=i||{};var r=i.byIndex,a=i.stackedCoordDimension,c=!!(u&&u.get("stack")),n,l,t,s;if(f(o,function(b,E){y(b)&&(o[E]=b={name:b}),c&&!b.isExtraCoord&&(!r&&!n&&b.ordinalMeta&&(n=b),!l&&b.type!=="ordinal"&&b.type!=="time"&&(!a||a===b.coordDim)&&(l=b))}),l&&!r&&!n&&(r=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=l.coordDim,m=l.type,w=0;f(o,function(b){b.coordDim===d&&w++}),o.push({name:t,coordDim:d,coordDimIndex:w,type:m,isExtraCoord:!0,isCalculationCoord:!0}),w++,o.push({name:s,coordDim:s,coordDimIndex:w,type:m,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:r,stackedOverDimension:s,stackResultDimension:t}}function v(u,o){return!!o&&o===u.getCalculationInfo("stackedDimension")}function h(u,o){return v(u,o)?u.getCalculationInfo("stackResultDimension"):o}I.enableDataStack=p,I.isDimensionStacked=v,I.getStackedDimension=h},"7mYs":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),p=e("7aKB"),v=e("OELB"),h={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"]},u={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},o=g.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(i,r,a){var c=this.group;c.removeAll();var n=i.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(i,l,c),this._renderLines(i,l,t,c),this._renderYearText(i,l,t,c),this._renderMonthText(i,t,c),this._renderWeekText(i,l,t,c)},_renderDayRect:function(i,r,a){for(var c=i.coordinateSystem,n=i.getModel("itemStyle").getItemStyle(),l=c.getCellWidth(),t=c.getCellHeight(),s=r.start.time;s<=r.end.time;s=c.getNextNDay(s,1).time){var d=c.dataToRect([s],!1).tl,m=new y.Rect({shape:{x:d[0],y:d[1],width:l,height:t},cursor:"default",style:n});a.add(m)}},_renderLines:function(i,r,a,c){var n=this,l=i.coordinateSystem,t=i.getModel("splitLine.lineStyle").getLineStyle(),s=i.get("splitLine.show"),d=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var m=r.start,w=0;m.time<=r.end.time;w++){E(m.formatedDate),w===0&&(m=l.getDateInfo(r.start.y+"-"+r.start.m));var b=m.date;b.setMonth(b.getMonth()+1),m=l.getDateInfo(b)}E(l.getNextNDay(r.end.time,1).formatedDate);function E(A){n._firstDayOfMonth.push(l.getDateInfo(A)),n._firstDayPoints.push(l.dataToRect([A],!1).tl);var S=n._getLinePointsOfOneWeek(i,A,a);n._tlpoints.push(S[0]),n._blpoints.push(S[S.length-1]),s&&n._drawSplitline(S,t,c)}s&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,d,a),t,c),s&&this._drawSplitline(n._getEdgesPoints(n._blpoints,d,a),t,c)},_getEdgesPoints:function(i,r,a){var c=[i[0].slice(),i[i.length-1].slice()],n=a==="horizontal"?0:1;return c[0][n]=c[0][n]-r/2,c[1][n]=c[1][n]+r/2,c},_drawSplitline:function(i,r,a){var c=new y.Polyline({z2:20,shape:{points:i},style:r});a.add(c)},_getLinePointsOfOneWeek:function(i,r,a){var c=i.coordinateSystem;r=c.getDateInfo(r);for(var n=[],l=0;l<7;l++){var t=c.getNextNDay(r.time,l),s=c.dataToRect([t.time],!1);n[2*t.day]=s.tl,n[2*t.day+1]=s[a==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(i,r){return typeof i=="string"&&i?p.formatTplSimple(i,r):typeof i=="function"?i(r):r.nameMap},_yearTextPositionControl:function(i,r,a,c,n){r=r.slice();var l=["center","bottom"];c==="bottom"?(r[1]+=n,l=["center","top"]):c==="left"?r[0]-=n:c==="right"?(r[0]+=n,l=["center","top"]):r[1]-=n;var t=0;return(c==="left"||c==="right")&&(t=Math.PI/2),{rotation:t,position:r,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(i,r,a,c){var n=i.getModel("yearLabel");if(!n.get("show"))return;var l=n.get("margin"),t=n.get("position");t||(t=a!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],d=(s[0][0]+s[1][0])/2,m=(s[0][1]+s[1][1])/2,w=a==="horizontal"?0:1,b={top:[d,s[w][1]],bottom:[d,s[1-w][1]],left:[s[1-w][0],m],right:[s[w][0],m]},E=r.start.y;+r.end.y>+r.start.y&&(E=E+"-"+r.end.y);var A=n.get("formatter"),S={start:r.start.y,end:r.end.y,nameMap:E},T=this._formatterLabel(A,S),O=new y.Text({z2:30});y.setTextStyle(O.style,n,{text:T}),O.attr(this._yearTextPositionControl(O,b[t],a,t,l)),c.add(O)},_monthTextPositionControl:function(i,r,a,c,n){var l="left",t="top",s=i[0],d=i[1];return a==="horizontal"?(d=d+n,r&&(l="center"),c==="start"&&(t="bottom")):(s=s+n,r&&(t="middle"),c==="start"&&(l="right")),{x:s,y:d,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(i,r,a){var c=i.getModel("monthLabel");if(!c.get("show"))return;var n=c.get("nameMap"),l=c.get("margin"),t=c.get("position"),s=c.get("align"),d=[this._tlpoints,this._blpoints];f.isString(n)&&(n=h[n.toUpperCase()]||[]);var m=t==="start"?0:1,w=r==="horizontal"?0:1;l=t==="start"?-l:l;for(var b=s==="center",E=0;E<d[m].length-1;E++){var A=d[m][E].slice(),S=this._firstDayOfMonth[E];if(b){var T=this._firstDayPoints[E];A[w]=(T[w]+d[0][E+1][w])/2}var O=c.get("formatter"),x=n[+S.m-1],C={yyyy:S.y,yy:(S.y+"").slice(2),MM:S.m,M:+S.m,nameMap:x},_=this._formatterLabel(O,C),N=new y.Text({z2:30});f.extend(y.setTextStyle(N.style,c,{text:_}),this._monthTextPositionControl(A,b,r,t,l)),a.add(N)}},_weekTextPositionControl:function(i,r,a,c,n){var l="center",t="middle",s=i[0],d=i[1],m=a==="start";return r==="horizontal"?(s=s+c+(m?1:-1)*n[0]/2,l=m?"right":"left"):(d=d+c+(m?1:-1)*n[1]/2,t=m?"bottom":"top"),{x:s,y:d,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(i,r,a,c){var n=i.getModel("dayLabel");if(!n.get("show"))return;var l=i.coordinateSystem,t=n.get("position"),s=n.get("nameMap"),d=n.get("margin"),m=l.getFirstDayOfWeek();f.isString(s)&&(s=u[s.toUpperCase()]||[]);var w=l.getNextNDay(r.end.time,7-r.lweek).time,b=[l.getCellWidth(),l.getCellHeight()];d=v.parsePercent(d,b[a==="horizontal"?0:1]),t==="start"&&(w=l.getNextNDay(r.start.time,-(7+r.fweek)).time,d=-d);for(var E=0;E<7;E++){var A=l.getNextNDay(w,E),S=l.dataToRect([A.time],!1).center,T=E;T=Math.abs((E+m)%7);var O=new y.Text({z2:30});f.extend(y.setTextStyle(O.style,n,{text:s[T]}),this._weekTextPositionControl(S,a,t,d,b)),c.add(O)}}});D.exports=o},"7oTu":function(D,I,e){var g=e("IMiH"),f=e("QBsz"),y=f.applyTransform,p=g.CMD,v=[[],[],[]],h=Math.sqrt,u=Math.atan2;function o(i,r){var a=i.data,c,n,l,t,s,d,m=p.M,w=p.C,b=p.L,E=p.R,A=p.A,S=p.Q;for(l=0,t=0;l<a.length;){c=a[l++],t=l,n=0;switch(c){case m:n=1;break;case b:n=1;break;case w:n=3;break;case S:n=2;break;case A:var T=r[4],O=r[5],x=h(r[0]*r[0]+r[1]*r[1]),C=h(r[2]*r[2]+r[3]*r[3]),_=u(-r[1]/C,r[0]/x);a[l]*=x,a[l++]+=T,a[l]*=C,a[l++]+=O,a[l++]*=x,a[l++]*=C,a[l++]+=_,a[l++]+=_,l+=2,t=l;break;case E:d[0]=a[l++],d[1]=a[l++],y(d,d,r),a[t++]=d[0],a[t++]=d[1],d[0]+=a[l++],d[1]+=a[l++],y(d,d,r),a[t++]=d[0],a[t++]=d[1]}for(s=0;s<n;s++){var d=v[s];d[0]=a[l++],d[1]=a[l++],y(d,d,r),a[t++]=d[0],a[t++]=d[1]}}}D.exports=o},"7pVf":function(D,I,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(D,I){function e(y){return y instanceof Array||(y=[y,y]),y}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(y,p,v){var h=e(y.get("symbol")),u=e(y.get("symbolSize")),o=y.getData();o.setVisual("fromSymbol",h&&h[0]),o.setVisual("toSymbol",h&&h[1]),o.setVisual("fromSymbolSize",u&&u[0]),o.setVisual("toSymbolSize",u&&u[1]),o.setVisual("opacity",y.get(g));function i(r,a){var c=r.getItemModel(a),n=e(c.getShallow("symbol",!0)),l=e(c.getShallow("symbolSize",!0)),t=c.get(g);n[0]&&r.setItemVisual(a,"fromSymbol",n[0]),n[1]&&r.setItemVisual(a,"toSymbol",n[1]),l[0]&&r.setItemVisual(a,"fromSymbolSize",l[0]),l[1]&&r.setItemVisual(a,"toSymbolSize",l[1]),r.setItemVisual(a,"opacity",t)}return{dataEach:o.hasItemOption?i:null}}};D.exports=f},"7uqq":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("AUH6"),h=e("+TT/"),u=e("OELB"),o=e("W4dC"),i=e("7DRL");function r(l,t){var s=l.get("boundingCoords");if(s!=null){var d=s[0],m=s[1];isNaN(d[0])||isNaN(d[1])||isNaN(m[0])||isNaN(m[1])||this.setBoundingRect(d[0],d[1],m[0]-d[0],m[1]-d[1])}var w=this.getBoundingRect(),b,E=l.get("layoutCenter"),A=l.get("layoutSize"),S=t.getWidth(),T=t.getHeight(),O=w.width/w.height*this.aspectScale,x=!1;E&&A&&(E=[u.parsePercent(E[0],S),u.parsePercent(E[1],T)],A=u.parsePercent(A,Math.min(S,T)),!isNaN(E[0])&&!isNaN(E[1])&&!isNaN(A)&&(x=!0));var C;if(x){var C={};O>1?(C.width=A,C.height=A/O):(C.height=A,C.width=A*O),C.y=E[1]-C.height/2,C.x=E[0]-C.width/2}else b=l.getBoxLayoutParams(),b.aspect=O,C=h.getLayoutRect(b,{width:S,height:T});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function a(l,t){p.each(t.get("geoCoord"),function(s,d){l.addGeoCoord(d,s)})}var c={dimensions:v.prototype.dimensions,create:function(l,t){var s=[];l.eachComponent("geo",function(m,w){var b=m.get("map"),E=m.get("aspectScale"),A=!0,S=i.retrieveMap(b);S&&S[0]&&S[0].type==="svg"?(E==null&&(E=1),A=!1):E==null&&(E=.75);var T=new v(b+w,b,m.get("nameMap"),A);T.aspectScale=E,T.zoomLimit=m.get("scaleLimit"),s.push(T),a(T,m),m.coordinateSystem=T,T.model=m,T.resize=r,T.resize(m,t)}),l.eachSeries(function(m){var w=m.get("coordinateSystem");if(w==="geo"){var b=m.get("geoIndex")||0;m.coordinateSystem=s[b]}});var d={};return l.eachSeriesByType("map",function(m){if(!m.getHostGeoModel()){var w=m.getMapType();d[w]=d[w]||[],d[w].push(m)}}),p.each(d,function(m,w){var b=p.map(m,function(A){return A.get("nameMap")}),E=new v(w,w,p.mergeAll(b));E.zoomLimit=p.retrieve.apply(null,p.map(m,function(A){return A.get("scaleLimit")})),s.push(E),E.resize=r,E.aspectScale=m[0].get("aspectScale"),E.resize(m[0],t),p.each(m,function(A){A.coordinateSystem=E,a(E,A)})}),s},getFilledRegions:function(l,t,s){for(var d=(l||[]).slice(),m=p.createHashMap(),w=0;w<d.length;w++)m.set(d[w].name,d[w]);var b=o.load(t,s);return p.each(b.regions,function(E){var A=E.name;!m.get(A)&&d.push({name:A})}),d}};y.registerCoordinateSystem("geo",c);var n=c;D.exports=n},"7yuC":function(D,I,e){var g=e("QBsz"),f=g.scaleAndAdd;function y(p,v,h){for(var u=h.rect,o=u.width,i=u.height,r=[u.x+o/2,u.y+i/2],a=h.gravity==null?.1:h.gravity,c=0;c<p.length;c++){var n=p[c];n.p||(n.p=g.create(o*(Math.random()-.5)+r[0],i*(Math.random()-.5)+r[1])),n.pp=g.clone(n.p),n.edges=null}var l=h.friction==null?.6:h.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(s){p[s].fixed=!0},setUnfixed:function(s){p[s].fixed=!1},step:function(s){for(var d=[],m=p.length,w=0;w<v.length;w++){var b=v[w];if(b.ignoreForceLayout)continue;var E=b.n1,A=b.n2;g.sub(d,A.p,E.p);var S=g.len(d)-b.d,T=A.w/(E.w+A.w);isNaN(T)&&(T=0),g.normalize(d,d),!E.fixed&&f(E.p,E.p,d,T*S*t),!A.fixed&&f(A.p,A.p,d,-(1-T)*S*t)}for(var w=0;w<m;w++){var O=p[w];O.fixed||(g.sub(d,r,O.p),f(O.p,O.p,d,a*t))}for(var w=0;w<m;w++)for(var E=p[w],x=w+1;x<m;x++){var A=p[x];g.sub(d,A.p,E.p);var S=g.len(d);S===0&&(g.set(d,Math.random()-.5,Math.random()-.5),S=1);var C=(E.rep+A.rep)/S/S;!E.fixed&&f(E.pp,E.pp,d,C),!A.fixed&&f(A.pp,A.pp,d,-C)}for(var _=[],w=0;w<m;w++){var O=p[w];O.fixed||(g.sub(_,O.p,O.pp),f(O.p,O.p,_,t),g.copy(O.pp,O.p))}t=t*.992,s&&s(p,v,t<.01)}}}I.forceLayout=y},"8+yF":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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},f={lookup:function(p){if(p>=32&&p<=255)return p;var v=g[p];return v!==void 0?v:16777216|p}};I.default=f},"815F":function(D,I,e){"use strict";e.d(I,"e",function(){return u}),e.d(I,"c",function(){return i}),e.d(I,"d",function(){return r}),e.d(I,"a",function(){return c}),e.d(I,"f",function(){return n}),e.d(I,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),y=e("Ff2n"),p=e("Zm9Q"),v=e("Kwbf"),h=e("OZM5");function u(t,s){return t!=null?t:s}function o(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function d(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(m||[]).forEach(function(b){var E=b.key,A=b.children;Object(v.a)(E!=null,"Tree node must have a certain key: [".concat(w).concat(E,"]"));var S=String(E);Object(v.a)(!s.has(S)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(S)),s.set(S,!0),d(A,"".concat(w).concat(S," > "))})}d(t)}function i(t){function s(d){var m=Object(p.a)(d);return m.map(function(w){if(!Object(h.i)(w))return Object(v.a)(!w,"Tree/TreeNode can only accept TreeNode as children."),null;var b=w.key,E=w.props,A=E.children,S=Object(y.a)(E,["children"]),T=Object(f.a)({key:b},S),O=s(A);return O.length&&(T.children=O),T}).filter(function(w){return w})}return s(t)}function r(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=new Set(s===!0?[]:s),m=[];function w(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return b.map(function(A,S){var T=Object(h.h)(E?E.pos:"0",S),O=u(A.key,T),x=Object(f.a)(Object(f.a)({},A),{},{parent:E,pos:T,children:null,data:A,isStart:[].concat(Object(g.a)(E?E.isStart:[]),[S===0]),isEnd:[].concat(Object(g.a)(E?E.isEnd:[]),[S===b.length-1])});return m.push(x),s===!0||d.has(O)?x.children=w(A.children||[],x):x.children=[],x})}return w(t),m}function a(t,s,d){var m;d?typeof d=="string"?m=function(E){return E[d]}:typeof d=="function"&&(m=function(E){return d(E)}):m=function(E,A){return u(E.key,A)};function w(b,E,A){var S=b?b.children:t,T=b?Object(h.h)(A.pos,E):"0";if(b){var O=m(b,T),x={node:b,index:E,pos:T,key:O,parentPos:A.node?A.pos:null,level:A.level+1};s(x)}S&&S.forEach(function(C,_){w(C,_,{node:b,pos:T,level:A?A.level+1:-1})})}w(null)}function c(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=s.initWrapper,m=s.processEntity,w=s.onProcessFinished,b=arguments.length>2?arguments[2]:void 0,E={},A={},S={posEntities:E,keyEntities:A};return d&&(S=d(S)||S),a(t,function(T){var O=T.node,x=T.index,C=T.pos,_=T.key,N=T.parentPos,F=T.level,k={node:O,index:x,key:_,pos:C,level:F},P=u(_,C);E[C]=k,A[P]=k,k.parent=E[N],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),m&&m(k,S)},b),w&&w(S),S}function n(t,s){var d=s.expandedKeys,m=s.selectedKeys,w=s.loadedKeys,b=s.loadingKeys,E=s.checkedKeys,A=s.halfCheckedKeys,S=s.dragOverNodeKey,T=s.dropPosition,O=s.keyEntities,x=O[t],C={eventKey:t,expanded:d.indexOf(t)!==-1,selected:m.indexOf(t)!==-1,loaded:w.indexOf(t)!==-1,loading:b.indexOf(t)!==-1,checked:E.indexOf(t)!==-1,halfChecked:A.indexOf(t)!==-1,pos:String(x?x.pos:""),dragOver:S===t&&T===0,dragOverGapTop:S===t&&T===-1,dragOverGapBottom:S===t&&T===1};return C}function l(t){var s=t.data,d=t.expanded,m=t.selected,w=t.checked,b=t.loaded,E=t.loading,A=t.halfChecked,S=t.dragOver,T=t.dragOverGapTop,O=t.dragOverGapBottom,x=t.pos,C=t.active,_=Object(f.a)(Object(f.a)({},s),{},{expanded:d,selected:m,checked:w,loaded:b,loading:E,halfChecked:A,dragOver:S,dragOverGapTop:T,dragOverGapBottom:O,pos:x,active:C});return"props"in _||Object.defineProperty(_,"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`."),t}}),_}},"8CQX":function(D,I,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(I,"__esModule",{value:!0}),I.getKeycode=a,I.getKey=c,I.getKeysym=n;var f=r(e("mHUz")),y=r(e("8+yF")),p=r(e("6Qwc")),v=r(e("gIYZ")),h=r(e("mTgk")),u=i(e("GdRQ"));function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=o();if(t&&t.has(l))return t.get(l);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in l)if(Object.prototype.hasOwnProperty.call(l,m)){var w=d?Object.getOwnPropertyDescriptor(l,m):null;w&&(w.get||w.set)?Object.defineProperty(s,m,w):s[m]=l[m]}return s.default=l,t&&t.set(l,s),s}function r(l){return l&&l.__esModule?l:{default:l}}function a(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in p.default){var t=p.default[l.keyCode];if(u.isMac()&&t==="ContextMenu"&&(t="MetaRight"),l.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(t){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 t}return"Unidentified"}function c(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!u.isIE()&&!u.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=a(l);return t in v.default?v.default[t]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function n(l){var t=c(l);if(t==="Unidentified")return null;if(t in h.default){var s=l.location;if(t==="Meta"&&s===0&&(s=2),t==="Clear"&&s===3){var d=a(l);d==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),t==="Meta"){var m=a(l);if(m==="AltLeft")return f.default.XK_Meta_L;if(m==="AltRight")return f.default.XK_Meta_R}if(t==="Clear"){var w=a(l);if(w==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var b=t.charCodeAt();return b?y.default.lookup(b):null}},"8EBN":function(D,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";g.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 f=0;f<g.modeInfo.length;f++){var y=g.modeInfo[f];y.mimes&&(y.mime=y.mimes[0])}g.findModeByMIME=function(p){p=p.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.mime==p)return h;if(h.mimes){for(var u=0;u<h.mimes.length;u++)if(h.mimes[u]==p)return h}}if(/\+xml$/.test(p))return g.findModeByMIME("application/xml");if(/\+json$/.test(p))return g.findModeByMIME("application/json")},g.findModeByExtension=function(p){p=p.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.ext){for(var u=0;u<h.ext.length;u++)if(h.ext[u]==p)return h}}},g.findModeByFileName=function(p){for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.file&&h.file.test(p))return h}var u=p.lastIndexOf("."),o=u>-1&&p.substring(u+1,p.length);if(o)return g.findModeByExtension(o)},g.findModeByName=function(p){p=p.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.name.toLowerCase()==p)return h;if(h.alias){for(var u=0;u<h.alias.length;u++)if(h.alias[u].toLowerCase()==p)return h}}}})},"8IMR":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"8ISB":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("6Hfg"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"8K/p":function(D,I,e){"use strict";function g(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(a)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=h(e("Lo0S")),y=p(e("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 h(a){if(a&&a.__esModule)return a;if(a===null||g(a)!=="object"&&typeof a!="function")return{default:a};var c=v();if(c&&c.has(a))return c.get(a);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t)){var s=l?Object.getOwnPropertyDescriptor(a,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=a[t]}return n.default=a,c&&c.set(a,n),n}function u(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function o(a,c){for(var n=0;n<c.length;n++){var l=c[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function i(a,c,n){return c&&o(a.prototype,c),n&&o(a,n),a}var r=function(){function a(){u(this,a),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var c=0;c<4;c++)this._zlibs[c]=new y.default}return i(a,[{key:"decodeRect",value:function(n,l,t,s,d,m,w){if(this._ctl===null){if(d.rQwait("TIGHT compression-control",1))return!1;this._ctl=d.rQshift8();for(var b=0;b<4;b++)this._ctl>>b&1&&(this._zlibs[b].reset(),f.Info("Reset zlib stream "+b));this._ctl=this._ctl>>4}var E;if(this._ctl===8)E=this._fillRect(n,l,t,s,d,m,w);else if(this._ctl===9)E=this._jpegRect(n,l,t,s,d,m,w);else if(this._ctl===10)E=this._pngRect(n,l,t,s,d,m,w);else if((this._ctl&128)==0)E=this._basicRect(this._ctl,n,l,t,s,d,m,w);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return E&&(this._ctl=null),E}},{key:"_fillRect",value:function(n,l,t,s,d,m,w){if(d.rQwait("TIGHT",3))return!1;var b=d.rQi,E=d.rQ;return m.fillRect(n,l,t,s,[E[b+2],E[b+1],E[b]],!1),d.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,s,d,m,w){var b=this._readData(d);return b===null?!1:(m.imageRect(n,l,t,s,"image/jpeg",b),!0)}},{key:"_pngRect",value:function(n,l,t,s,d,m,w){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,s,d,m,w,b){if(this._filter===null)if(n&4){if(m.rQwait("TIGHT",1))return!1;this._filter=m.rQshift8()}else this._filter=0;var E=n&3,A;switch(this._filter){case 0:A=this._copyFilter(E,l,t,s,d,m,w,b);break;case 1:A=this._paletteFilter(E,l,t,s,d,m,w,b);break;case 2:A=this._gradientFilter(E,l,t,s,d,m,w,b);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return A&&(this._filter=null),A}},{key:"_copyFilter",value:function(n,l,t,s,d,m,w,b){var E=s*d*3,A;if(E<12){if(m.rQwait("TIGHT",E))return!1;A=m.rQshiftBytes(E)}else{if(A=this._readData(m),A===null)return!1;this._zlibs[n].setInput(A),A=this._zlibs[n].inflate(E),this._zlibs[n].setInput(null)}return w.blitRgbImage(l,t,s,d,A,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,s,d,m,w,b){if(this._numColors===0){if(m.rQwait("TIGHT palette",1))return!1;var E=m.rQpeek8()+1,A=E*3;if(m.rQwait("TIGHT palette",1+A))return!1;this._numColors=E,m.rQskipBytes(1),m.rQshiftTo(this._palette,A)}var S=this._numColors<=2?1:8,T=Math.floor((s*S+7)/8),O=T*d,x;if(O<12){if(m.rQwait("TIGHT",O))return!1;x=m.rQshiftBytes(O)}else{if(x=this._readData(m),x===null)return!1;this._zlibs[n].setInput(x),x=this._zlibs[n].inflate(O),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,d,x,this._palette,w):this._paletteRect(l,t,s,d,x,this._palette,w),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,s,d,m,w){for(var b=this._getScratchBuffer(t*s*4),E=Math.floor((t+7)/8),A=Math.floor(t/8),S=0;S<s;S++){var T=void 0,O=void 0,x=void 0;for(x=0;x<A;x++)for(var C=7;C>=0;C--)T=(S*t+x*8+7-C)*4,O=(d[S*E+x]>>C&1)*3,b[T]=m[O],b[T+1]=m[O+1],b[T+2]=m[O+2],b[T+3]=255;for(var _=7;_>=8-t%8;_--)T=(S*t+x*8+7-_)*4,O=(d[S*E+x]>>_&1)*3,b[T]=m[O],b[T+1]=m[O+1],b[T+2]=m[O+2],b[T+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_paletteRect",value:function(n,l,t,s,d,m,w){for(var b=this._getScratchBuffer(t*s*4),E=t*s*4,A=0,S=0;A<E;A+=4,S++){var T=d[S]*3;b[A]=m[T],b[A+1]=m[T+1],b[A+2]=m[T+2],b[A+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,s,d,m,w,b){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(n){if(this._len===0){if(n.rQwait("TIGHT",3))return null;var l;l=n.rQshift8(),this._len=l&127,l&128&&(l=n.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=n.rQshift8(),this._len|=l<<14))}if(n.rQwait("TIGHT",this._len))return null;var t=n.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(n){return(!this._scratchBuffer||this._scratchBuffer.length<n)&&(this._scratchBuffer=new Uint8Array(n)),this._scratchBuffer}}]),a}();I.default=r},"8OUc":function(D,I,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("TSYQ"),p=e.n(y),v=function(u){var o=u.className,i=u.customizeIcon,r=u.customizeIconProps,a=u.onMouseDown,c=u.onClick,n=u.children,l;return typeof i=="function"?l=i(r):l=i,g.createElement("span",{className:o,onMouseDown:function(s){s.preventDefault(),a&&a(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},l!==void 0?l:g.createElement("span",{className:p()(o.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};I.a=v},"8SMY":function(D,I,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,y=g.getStackedOnPoint;function p(h,u){var o=[];return u.diff(h).add(function(i){o.push({cmd:"+",idx:i})}).update(function(i,r){o.push({cmd:"=",idx:r,idx1:i})}).remove(function(i){o.push({cmd:"-",idx:i})}).execute(),o}function v(h,u,o,i,r,a,c,n){for(var l=p(h,u),t=[],s=[],d=[],m=[],w=[],b=[],E=[],A=f(r,u,c),S=f(a,h,n),T=0;T<l.length;T++){var O=l[T],x=!0;switch(O.cmd){case"=":var C=h.getItemLayout(O.idx),_=u.getItemLayout(O.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=_.slice()),t.push(C),s.push(_),d.push(o[O.idx]),m.push(i[O.idx1]),E.push(u.getRawIndex(O.idx1));break;case"+":var N=O.idx;t.push(r.dataToPoint([u.get(A.dataDimsForPoint[0],N),u.get(A.dataDimsForPoint[1],N)])),s.push(u.getItemLayout(N).slice()),d.push(y(A,r,u,N)),m.push(i[N]),E.push(u.getRawIndex(N));break;case"-":var N=O.idx,F=h.getRawIndex(N);F!==N?(t.push(h.getItemLayout(N)),s.push(a.dataToPoint([h.get(S.dataDimsForPoint[0],N),h.get(S.dataDimsForPoint[1],N)])),d.push(o[N]),m.push(y(S,a,h,N)),E.push(F)):x=!1}x&&(w.push(O),b.push(b.length))}b.sort(function(B,U){return E[B]-E[U]});for(var k=[],P=[],j=[],K=[],R=[],T=0;T<b.length;T++){var N=b[T];k[T]=t[N],P[T]=s[N],j[T]=d[N],K[T]=m[N],R[T]=w[N]}return{current:k,next:P,stackedOnCurrent:j,stackedOnNext:K,status:R}}D.exports=v},"8Skl":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="DownOutlined";var h=I.a=g.forwardRef(v)},"8Th4":function(D,I,e){var g=e("3LNs"),f=e("/y7N"),y=e("7bkD"),p=e("Znkb"),v=["x","y"],h=["width","height"],u=g.extend({makeElOption:function(c,n,l,t,s){var d=l.axis,m=d.coordinateSystem,w=r(m,1-i(d)),b=m.dataToPoint(n)[0],E=t.get("type");if(E&&E!=="none"){var A=f.buildElStyle(t),S=o[E](d,b,w);S.style=A,c.graphicKey=S.type,c.pointer=S}var T=y.layout(l);f.buildCartesianSingleLabelElOption(n,c,T,l,t,s)},getHandleTransform:function(c,n,l){var t=y.layout(n,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:f.getTransformedPosition(n.axis,c,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(c,n,l,t){var s=l.axis,d=s.coordinateSystem,m=i(s),w=r(d,m),b=c.position;b[m]+=n[m],b[m]=Math.min(w[1],b[m]),b[m]=Math.max(w[0],b[m]);var E=r(d,1-m),A=(E[1]+E[0])/2,S=[A,A];return S[m]=b[m],{position:b,rotation:c.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}}}),o={line:function(c,n,l){var t=f.makeLineShape([n,l[0]],[n,l[1]],i(c));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(c,n,l){var t=c.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:f.makeRectShape([n-t/2,l[0]],[t,s],i(c))}}};function i(c){return c.isHorizontal()?0:1}function r(c,n){var l=c.getRect();return[l[v[n]],l[v[n]]+l[h[n]]]}p.registerAxisPointerClass("SingleAxisPointer",u);var a=u;D.exports=a},"8Uz6":function(D,I,e){var g=e("hNWo"),f=e("+TT/"),y=f.mergeLayoutParam,p=f.getLayoutParams,v=g.extend({type:"legend.scroll",setScrollDataIndex:function(o){this.option.scrollDataIndex=o},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(o,i,r,a){var c=p(o);v.superCall(this,"init",o,i,r,a),h(this,o,c)},mergeOption:function(o,i){v.superCall(this,"mergeOption",o,i),h(this,this.option,o)}});function h(o,i,r){var a=o.getOrient(),c=[1,1];c[a.index]=0,y(i,r,{type:"box",ignoreSize:c})}var u=v;D.exports=u},"8X+K":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("4mN7"),v=p.fromPoints,h=e("9wZj"),u=e("FBjb"),o=e("8SMY"),i=e("IwbS"),r=e("4NO4"),a=e("1NG9"),c=a.Polyline,n=a.Polygon,l=e("6Ic6"),t=e("n4Lv"),s=t.prepareDataCoordInfo,d=t.getStackedOnPoint,m=e("sK/D"),w=m.createGridClipPath,b=m.createPolarClipPath;function E(k,P){if(k.length!==P.length)return;for(var j=0;j<k.length;j++){var K=k[j],R=P[j];if(K[0]!==R[0]||K[1]!==R[1])return}return!0}function A(k,P){var j=[],K=[],R=[],B=[];return v(k,j,K),v(P,R,B),Math.max(Math.abs(j[0]-R[0]),Math.abs(j[1]-R[1]),Math.abs(K[0]-B[0]),Math.abs(K[1]-B[1]))}function S(k){return typeof k=="number"?k:k?.5:0}function T(k,P,j){if(!j.valueDim)return[];for(var K=[],R=0,B=P.count();R<B;R++)K.push(d(j,k,P,R));return K}function O(k,P,j){for(var K=P.getBaseAxis(),R=K.dim==="x"||K.dim==="radius"?0:1,B=[],U=0;U<k.length-1;U++){var H=k[U+1],W=k[U];B.push(W);var V=[];switch(j){case"end":V[R]=H[R],V[1-R]=W[1-R],B.push(V);break;case"middle":var z=(W[R]+H[R])/2,X=[];V[R]=X[R]=z,V[1-R]=W[1-R],X[1-R]=H[1-R],B.push(V),B.push(X);break;default:V[R]=W[R],V[1-R]=H[1-R],B.push(V)}}return k[U]&&B.push(k[U]),B}function x(k,P){var j=k.getVisual("visualMeta");if(!j||!j.length||!k.count())return;if(P.type!=="cartesian2d")return;for(var K,R,B=j.length-1;B>=0;B--){var U=j[B].dimension,H=k.dimensions[U],W=k.getDimensionInfo(H);if(K=W&&W.coordDim,K==="x"||K==="y"){R=j[B];break}}if(!R)return;var V=P.getAxis(K),z=y.map(R.stops,function(Pe){return{coord:V.toGlobalCoord(V.dataToCoord(Pe.value)),color:Pe.color}}),X=z.length,q=R.outerColors.slice();X&&z[0].coord>z[X-1].coord&&(z.reverse(),q.reverse());var fe=10,G=z[0].coord-fe,ve=z[X-1].coord+fe,Se=ve-G;if(Se<.001)return"transparent";y.each(z,function(Pe){Pe.offset=(Pe.coord-G)/Se}),z.push({offset:X?z[X-1].offset:.5,color:q[1]||"transparent"}),z.unshift({offset:X?z[0].offset:.5,color:q[0]||"transparent"});var ge=new i.LinearGradient(0,0,0,0,z,!0);return ge[K]=G,ge[K+"2"]=ve,ge}function C(k,P,j){var K=k.get("showAllSymbol"),R=K==="auto";if(K&&!R)return;var B=j.getAxesByScale("ordinal")[0];if(!B)return;if(R&&_(B,P))return;var U=P.mapDimension(B.dim),H={};return y.each(B.getViewLabels(),function(W){H[W.tickValue]=1}),function(W){return!H.hasOwnProperty(P.get(U,W))}}function _(k,P){var j=k.getExtent(),K=Math.abs(j[1]-j[0])/k.scale.count();isNaN(K)&&(K=0);for(var R=P.count(),B=Math.max(1,Math.round(R/5)),U=0;U<R;U+=B)if(u.getSymbolSize(P,U)[k.isHorizontal()?1:0]*1.5>K)return!1;return!0}function N(k,P,j){if(k.type==="cartesian2d"){var K=k.getBaseAxis().isHorizontal(),R=w(k,P,j);if(!j.get("clip",!0)){var B=R.shape,U=Math.max(B.width,B.height);K?(B.y-=U,B.height+=U*2):(B.x-=U,B.width+=U*2)}return R}else return b(k,P,j)}var F=l.extend({type:"line",init:function(){var k=new i.Group,P=new h;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=k},render:function(k,P,j){var K=k.coordinateSystem,R=this.group,B=k.getData(),U=k.getModel("lineStyle"),H=k.getModel("areaStyle"),W=B.mapArray(B.getItemLayout),V=K.type==="polar",z=this._coordSys,X=this._symbolDraw,q=this._polyline,fe=this._polygon,G=this._lineGroup,ve=k.get("animation"),Se=!H.isEmpty(),ge=H.get("origin"),Pe=s(K,B,ge),Ge=T(K,B,Pe),pt=k.get("showSymbol"),Te=pt&&!V&&C(k,B,K),xe=this._data;xe&&xe.eachItemGraphicEl(function(Ce,ze){Ce.__temp&&(R.remove(Ce),xe.setItemGraphicEl(ze,null))}),pt||X.remove(),R.add(G);var lt=!V&&k.get("step"),Ie;K&&K.getArea&&k.get("clip",!0)&&(Ie=K.getArea(),Ie.width!=null?(Ie.x-=.1,Ie.y-=.1,Ie.width+=.2,Ie.height+=.2):Ie.r0&&(Ie.r0-=.5,Ie.r1+=.5)),this._clipShapeForSymbol=Ie,q&&z.type===K.type&<===this._step?(Se&&!fe?fe=this._newPolygon(W,Ge,K,ve):fe&&!Se&&(G.remove(fe),fe=this._polygon=null),G.setClipPath(N(K,!1,k)),pt&&X.updateData(B,{isIgnore:Te,clipShape:Ie}),B.eachItemGraphicEl(function(Ce){Ce.stopAnimation(!0)}),(!E(this._stackedOnPoints,Ge)||!E(this._points,W))&&(ve?this._updateAnimation(B,Ge,K,j,lt,ge):(lt&&(W=O(W,K,lt),Ge=O(Ge,K,lt)),q.setShape({points:W}),fe&&fe.setShape({points:W,stackedOnPoints:Ge})))):(pt&&X.updateData(B,{isIgnore:Te,clipShape:Ie}),lt&&(W=O(W,K,lt),Ge=O(Ge,K,lt)),q=this._newPolyline(W,K,ve),Se&&(fe=this._newPolygon(W,Ge,K,ve)),G.setClipPath(N(K,!0,k)));var de=x(B,K)||B.getVisual("color");q.useStyle(y.defaults(U.getLineStyle(),{fill:"none",stroke:de,lineJoin:"bevel"}));var ee=k.get("smooth");if(ee=S(k.get("smooth")),q.setShape({smooth:ee,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),fe){var se=B.getCalculationInfo("stackedOnSeries"),ke=0;fe.useStyle(y.defaults(H.getAreaStyle(),{fill:de,opacity:.7,lineJoin:"bevel"})),se&&(ke=S(se.get("smooth"))),fe.setShape({smooth:ee,stackedOnSmooth:ke,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=B,this._coordSys=K,this._stackedOnPoints=Ge,this._points=W,this._step=lt,this._valueOrigin=ge},dispose:function(){},highlight:function(k,P,j,K){var R=k.getData(),B=r.queryDataIndex(R,K);if(!(B instanceof Array)&&B!=null&&B>=0){var U=R.getItemGraphicEl(B);if(!U){var H=R.getItemLayout(B);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;U=new u(R,B),U.position=H,U.setZ(k.get("zlevel"),k.get("z")),U.ignore=isNaN(H[0])||isNaN(H[1]),U.__temp=!0,R.setItemGraphicEl(B,U),U.stopSymbolAnimation(!0),this.group.add(U)}U.highlight()}else l.prototype.highlight.call(this,k,P,j,K)},downplay:function(k,P,j,K){var R=k.getData(),B=r.queryDataIndex(R,K);if(B!=null&&B>=0){var U=R.getItemGraphicEl(B);U&&(U.__temp?(R.setItemGraphicEl(B,null),this.group.remove(U)):U.downplay())}else l.prototype.downplay.call(this,k,P,j,K)},_newPolyline:function(k){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new c({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(k,P){var j=this._polygon;return j&&this._lineGroup.remove(j),j=new n({shape:{points:k,stackedOnPoints:P},silent:!0}),this._lineGroup.add(j),this._polygon=j,j},_updateAnimation:function(k,P,j,K,R,B){var U=this._polyline,H=this._polygon,W=k.hostModel,V=o(this._data,k,this._stackedOnPoints,P,this._coordSys,j,this._valueOrigin,B),z=V.current,X=V.stackedOnCurrent,q=V.next,fe=V.stackedOnNext;if(R&&(z=O(V.current,j,R),X=O(V.stackedOnCurrent,j,R),q=O(V.next,j,R),fe=O(V.stackedOnNext,j,R)),A(z,q)>3e3||H&&A(X,fe)>3e3){U.setShape({points:q}),H&&H.setShape({points:q,stackedOnPoints:fe});return}U.shape.__points=V.current,U.shape.points=z,i.updateProps(U,{shape:{points:q}},W),H&&(H.setShape({points:z,stackedOnPoints:X}),i.updateProps(H,{shape:{points:q,stackedOnPoints:fe}},W));for(var G=[],ve=V.status,Se=0;Se<ve.length;Se++){var ge=ve[Se].cmd;if(ge==="="){var Pe=k.getItemGraphicEl(ve[Se].idx1);Pe&&G.push({el:Pe,ptIdx:Se})}}U.animators&&U.animators.length&&U.animators[0].during(function(){for(var Ge=0;Ge<G.length;Ge++){var pt=G[Ge].el;pt.attr("position",U.shape.__points[G[Ge].ptIdx])}})},remove:function(k){var P=this.group,j=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),j&&j.eachItemGraphicEl(function(K,R){K.__temp&&(P.remove(K),j.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});D.exports=F},"8XDt":function(D,I,e){e("qH13");var g=e("aX58"),f=g.registerPainter,y=e("6fms");f("vml",y)},"8hn6":function(D,I){var e="#eee",g=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},f=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],y={color:f,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:f[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:g(),logAxis:g(),valueAxis:g(),categoryAxis:g(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};y.categoryAxis.splitLine.show=!1;var p=y;D.exports=p},"8nMs":function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),p=e("Znkb"),v=e("AVZG"),h=e("WN+l"),u=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],a=p.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(c,n,l,t){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!c.get("show"))return;var d=c.getCoordSysModel(),m=v.layout(d,c),w=new y(c,m);g.each(i,w.add,w),this._axisGroup.add(w.getGroup()),g.each(r,function(b){c.get(b+".show")&&this["_"+b](c,d)},this),f.groupTransition(s,this._axisGroup,c),a.superCall(this,"render",c,n,l,t)},remove:function(){o(this)},_splitLine:function(c,n){var l=c.axis;if(l.scale.isBlank())return;var t=c.getModel("splitLine"),s=t.getModel("lineStyle"),d=s.get("color");d=g.isArray(d)?d:[d];for(var m=n.coordinateSystem.getRect(),w=l.isHorizontal(),b=0,E=l.getTicksCoords({tickModel:t}),A=[],S=[],T=s.getLineStyle(),O=0;O<E.length;O++){var x=l.toGlobalCoord(E[O].coord);w?(A[0]=x,A[1]=m.y,S[0]=x,S[1]=m.y+m.height):(A[0]=m.x,A[1]=x,S[0]=m.x+m.width,S[1]=x);var C=b++%d.length,_=E[O].tickValue;this._axisGroup.add(new f.Line({anid:_!=null?"line_"+E[O].tickValue:null,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:S[0],y2:S[1]},style:g.defaults({stroke:d[C]},T),silent:!0}))}},_minorSplitLine:function(c,n){var l=c.axis,t=c.getModel("minorSplitLine"),s=t.getModel("lineStyle"),d=n.coordinateSystem.getRect(),m=l.isHorizontal(),w=l.getMinorTicksCoords();if(!w.length)return;for(var b=[],E=[],A=s.getLineStyle(),S=0;S<w.length;S++)for(var T=0;T<w[S].length;T++){var O=l.toGlobalCoord(w[S][T].coord);m?(b[0]=O,b[1]=d.y,E[0]=O,E[1]=d.y+d.height):(b[0]=d.x,b[1]=O,E[0]=d.x+d.width,E[1]=O),this._axisGroup.add(new f.Line({anid:"minor_line_"+w[S][T].tickValue,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:A,silent:!0}))}},_splitArea:function(c,n){u(this,this._axisGroup,c,n)}});a.extend({type:"xAxis"}),a.extend({type:"yAxis"})},"8nly":function(D,I,e){var g=e("mFDi"),f=e("4mN7"),y=e("QBsz"),p=e("BlVb");function v(u,o,i){if(this.name=u,this.geometries=o,i)i=[i[0],i[1]];else{var r=this.getBoundingRect();i=[r.x+r.width/2,r.y+r.height/2]}this.center=i}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var u=this._rect;if(u)return u;for(var o=Number.MAX_VALUE,i=[o,o],r=[-o,-o],a=[],c=[],n=this.geometries,l=0;l<n.length;l++){if(n[l].type!=="polygon")continue;var t=n[l].exterior;f.fromPoints(t,a,c),y.min(i,i,a),y.max(r,r,c)}return l===0&&(i[0]=i[1]=r[0]=r[1]=0),this._rect=new g(i[0],i[1],r[0]-i[0],r[1]-i[1])},contain:function(u){var o=this.getBoundingRect(),i=this.geometries;if(!o.contain(u[0],u[1]))return!1;e:for(var r=0,a=i.length;r<a;r++){if(i[r].type!=="polygon")continue;var c=i[r].exterior,n=i[r].interiors;if(p.contain(c,u[0],u[1])){for(var l=0;l<(n?n.length:0);l++)if(p.contain(n[l]))continue e;return!0}}return!1},transformTo:function(u,o,i,r){var a=this.getBoundingRect(),c=a.width/a.height;i?r||(r=i/c):i=c*r;for(var n=new g(u,o,i,r),l=a.calculateTransform(n),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var d=t[s].exterior,m=t[s].interiors,w=0;w<d.length;w++)y.applyTransform(d[w],d[w],l);for(var b=0;b<(m?m.length:0);b++)for(var w=0;w<m[b].length;w++)y.applyTransform(m[b][w],m[b][w],l)}a=this._rect,a.copy(n),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(u){u==null&&(u=this.name);var o=new v(u,this.geometries,this.center);return o._rect=this._rect,o.transformTo=null,o}};var h=v;D.exports=h},"8waO":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("iLNv"),p=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var v=5;g.extendComponentView({type:"parallel",render:function(o,i,r){this._model=o,this._api=r,this._handlers||(this._handlers={},f.each(h,function(a,c){r.getZr().on(c,this._handlers[c]=f.bind(a,this))},this)),y.createOrUpdate(this,"_throttledDispatchExpand",o.get("axisExpandRate"),"fixRate")},dispose:function(o,i){f.each(this._handlers,function(r,a){i.getZr().off(a,r)}),this._handlers=null},_throttledDispatchExpand:function(o){this._dispatchExpand(o)},_dispatchExpand:function(o){o&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},o))}});var h={mousedown:function(o){u(this,"click")&&(this._mouseDownPoint=[o.offsetX,o.offsetY])},mouseup:function(o){var i=this._mouseDownPoint;if(u(this,"click")&&i){var r=[o.offsetX,o.offsetY],a=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2);if(a>v)return;var c=this._model.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]);c.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:c.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(o){if(this._mouseDownPoint||!u(this,"mousemove"))return;var i=this._model,r=i.coordinateSystem.getSlidedAxisExpandWindow([o.offsetX,o.offsetY]),a=r.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(i.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:a==="jump"?null:!1})}};function u(o,i){var r=o._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===i}g.registerPreprocessor(p)},"8x+h":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("K4ya"),h=e("Qxkt"),u=["#ddd"],o=y.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,c){var n=this.option;!c&&v.replaceVisualOption(n,a,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:u},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=p.map(a,function(c){return i(this.option,c)},this)},setBrushOption:function(a){this.brushOption=i(this.option,a),this.brushType=this.brushOption.brushType}});function i(a,c){return p.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new h(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},c,!0)}var r=o;D.exports=r},"8z0m":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("RIqP"),p=e.n(y),v=e("pVnL"),h=e.n(v),u=e("J4zp"),o=e.n(u),i=e("q1tI"),r=e.n(i),a=e("TSYQ"),c=e.n(a);function n(Bt,Ae){var pe="cannot "+Bt.method+" "+Bt.action+" "+Ae.status+"'",he=new Error(pe);return he.status=Ae.status,he.method=Bt.method,he.url=Bt.action,he}function l(Bt){var Ae=Bt.responseText||Bt.response;if(!Ae)return Ae;try{return JSON.parse(Ae)}catch(pe){return Ae}}function t(Bt){var Ae=new XMLHttpRequest;Bt.onProgress&&Ae.upload&&(Ae.upload.onprogress=function(Ne){Ne.total>0&&(Ne.percent=Ne.loaded/Ne.total*100),Bt.onProgress(Ne)});var pe=new FormData;Bt.data&&Object.keys(Bt.data).forEach(function(le){var Ne=Bt.data[le];if(Array.isArray(Ne)){Ne.forEach(function(je){pe.append(le+"[]",je)});return}pe.append(le,Bt.data[le])}),Bt.file instanceof Blob?pe.append(Bt.filename,Bt.file,Bt.file.name):pe.append(Bt.filename,Bt.file),Ae.onerror=function(Ne){Bt.onError(Ne)},Ae.onload=function(){return Ae.status<200||Ae.status>=300?Bt.onError(n(Bt,Ae),l(Ae)):Bt.onSuccess(l(Ae),Ae)},Ae.open(Bt.method,Bt.action,!0),Bt.withCredentials&&"withCredentials"in Ae&&(Ae.withCredentials=!0);var he=Bt.headers||{};return he["X-Requested-With"]!==null&&Ae.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(he).forEach(function(le){he[le]!==null&&Ae.setRequestHeader(le,he[le])}),Ae.send(pe),{abort:function(){Ae.abort()}}}var s=+new Date,d=0;function m(){return"rc-upload-"+s+"-"+ ++d}function w(Bt,Ae){return Bt.indexOf(Ae,Bt.length-Ae.length)!==-1}var b=function(Bt,Ae){if(Bt&&Ae){var pe=Array.isArray(Ae)?Ae:Ae.split(","),he=Bt.name||"",le=Bt.type||"",Ne=le.replace(/\/.*$/,"");return pe.some(function(je){var Ke=je.trim();return Ke.charAt(0)==="."?w(he.toLowerCase(),Ke.toLowerCase()):/\/\*$/.test(Ke)?Ne===Ke.replace(/\/.*$/,""):le===Ke})}return!0};function E(Bt,Ae){var pe=Bt.createReader(),he=[];function le(){pe.readEntries(function(Ne){var je=Array.prototype.slice.apply(Ne);he=he.concat(je);var Ke=!je.length;Ke?Ae(he):le()})}le()}var A=function(Ae,pe,he){var le=function Ne(je,Ke){Ke=Ke||"",je.isFile?je.file(function(Xe){he(Xe)&&(je.fullPath&&!Xe.webkitRelativePath&&(Object.defineProperties(Xe,{webkitRelativePath:{writable:!0}}),Xe.webkitRelativePath=je.fullPath.replace(/^\//,""),Object.defineProperties(Xe,{webkitRelativePath:{writable:!1}})),pe([Xe]))}):je.isDirectory&&E(je,function(Xe){Xe.forEach(function(Fe){Ne(Fe,""+Ke+je.name+"/")})})};Ae.forEach(function(Ne){le(Ne.webkitGetAsEntry())})},S=A,T=Object.assign||function(Bt){for(var Ae=1;Ae<arguments.length;Ae++){var pe=arguments[Ae];for(var he in pe)Object.prototype.hasOwnProperty.call(pe,he)&&(Bt[he]=pe[he])}return Bt},O=function(){function Bt(Ae,pe){var he=[],le=!0,Ne=!1,je=void 0;try{for(var Ke=Ae[Symbol.iterator](),Xe;!(le=(Xe=Ke.next()).done)&&!(he.push(Xe.value),pe&&he.length===pe);le=!0);}catch(Fe){Ne=!0,je=Fe}finally{try{!le&&Ke.return&&Ke.return()}finally{if(Ne)throw je}}return he}return function(Ae,pe){if(Array.isArray(Ae))return Ae;if(Symbol.iterator in Object(Ae))return Bt(Ae,pe);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),x=function(){function Bt(Ae,pe){for(var he=0;he<pe.length;he++){var le=pe[he];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(Ae,le.key,le)}}return function(Ae,pe,he){return pe&&Bt(Ae.prototype,pe),he&&Bt(Ae,he),Ae}}();function C(Bt,Ae,pe){return Ae in Bt?Object.defineProperty(Bt,Ae,{value:pe,enumerable:!0,configurable:!0,writable:!0}):Bt[Ae]=pe,Bt}function _(Bt,Ae){var pe={};for(var he in Bt){if(Ae.indexOf(he)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Bt,he))continue;pe[he]=Bt[he]}return pe}function N(Bt,Ae){if(!(Bt instanceof Ae))throw new TypeError("Cannot call a class as a function")}function F(Bt,Ae){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:Bt}function k(Bt,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);Bt.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,Ae):Bt.__proto__=Ae)}var P=function(Ae){return Object.keys(Ae).reduce(function(pe,he){return(he.substr(0,5)==="data-"||he.substr(0,5)==="aria-"||he==="role")&&(pe[he]=Ae[he]),pe},{})},j=function(Bt){k(Ae,Bt);function Ae(){var pe,he,le,Ne;N(this,Ae);for(var je=arguments.length,Ke=Array(je),Xe=0;Xe<je;Xe++)Ke[Xe]=arguments[Xe];return Ne=(he=(le=F(this,(pe=Ae.__proto__||Object.getPrototypeOf(Ae)).call.apply(pe,[this].concat(Ke))),le),le.state={uid:m()},le.reqs={},le.onChange=function(Fe){var nt=Fe.target.files;le.uploadFiles(nt),le.reset()},le.onClick=function(Fe){var nt=le.fileInput;if(!nt)return;var At=le.props,_t=At.children,ne=At.onClick;_t&&_t.type==="button"&&(nt.parentNode.focus(),nt.parentNode.querySelector("button").blur()),nt.click(),ne&&ne(Fe)},le.onKeyDown=function(Fe){Fe.key==="Enter"&&le.onClick()},le.onFileDrop=function(Fe){var nt=le.props.multiple;if(Fe.preventDefault(),Fe.type==="dragover")return;if(le.props.directory)S(Array.prototype.slice.call(Fe.dataTransfer.items),le.uploadFiles,function(_t){return b(_t,le.props.accept)});else{var At=Array.prototype.slice.call(Fe.dataTransfer.files).filter(function(_t){return b(_t,le.props.accept)});nt===!1&&(At=At.slice(0,1)),le.uploadFiles(At)}},le.uploadFiles=function(Fe){var nt=Array.prototype.slice.call(Fe);nt.map(function(At){return At.uid=m(),At}).forEach(function(At){le.upload(At,nt)})},le.saveFileInput=function(Fe){le.fileInput=Fe},he),F(le,Ne)}return x(Ae,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(he,le){var Ne=this,je=this.props;if(!je.beforeUpload)return setTimeout(function(){return Ne.post(he)},0);var Ke=je.beforeUpload(he,le);Ke&&Ke.then?Ke.then(function(Xe){var Fe=Object.prototype.toString.call(Xe);return Fe==="[object File]"||Fe==="[object Blob]"?Ne.post(Xe):Ne.post(he)}).catch(function(Xe){console.log(Xe)}):Ke!==!1&&setTimeout(function(){return Ne.post(he)},0);return}},{key:"post",value:function(he){var le=this;if(!this._isMounted)return;var Ne=this.props,je=Ne.onStart,Ke=Ne.onProgress,Xe=Ne.transformFile,Fe=Xe===void 0?function(nt){return nt}:Xe;new Promise(function(nt){var At=Ne.action;return typeof At=="function"&&(At=At(he)),nt(At)}).then(function(nt){var At=he.uid,_t=Ne.customRequest||t,ne=Promise.resolve(Fe(he)).then(function(ue){var Y=Ne.data;return typeof Y=="function"&&(Y=Y(ue)),Promise.all([ue,Y])}).catch(function(ue){console.error(ue)});ne.then(function(ue){var Y=O(ue,2),te=Y[0],be=Y[1],Le={action:nt,filename:Ne.name,data:be,file:te,headers:Ne.headers,withCredentials:Ne.withCredentials,method:Ne.method||"post",onProgress:Ke?function(Re){Ke(Re,he)}:null,onSuccess:function($e,gt){delete le.reqs[At],Ne.onSuccess($e,he,gt)},onError:function($e,gt){delete le.reqs[At],Ne.onError($e,gt,he)}};le.reqs[At]=_t(Le),je(he)})})}},{key:"reset",value:function(){this.setState({uid:m()})}},{key:"abort",value:function(he){var le=this.reqs;if(he){var Ne=he;he&&he.uid&&(Ne=he.uid),le[Ne]&&le[Ne].abort&&le[Ne].abort(),delete le[Ne]}else Object.keys(le).forEach(function(je){le[je]&&le[je].abort&&le[je].abort(),delete le[je]})}},{key:"render",value:function(){var he,le=this.props,Ne=le.component,je=le.prefixCls,Ke=le.className,Xe=le.disabled,Fe=le.id,nt=le.style,At=le.multiple,_t=le.accept,ne=le.children,ue=le.directory,Y=le.openFileDialogOnClick,te=le.onMouseEnter,be=le.onMouseLeave,Le=_(le,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Re=c()((he={},C(he,je,!0),C(he,je+"-disabled",Xe),C(he,Ke,Ke),he)),$e=Xe?{}:{onClick:Y?this.onClick:function(){},onKeyDown:Y?this.onKeyDown:function(){},onMouseEnter:te,onMouseLeave:be,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(Ne,T({},$e,{className:Re,role:"button",style:nt}),r.a.createElement("input",T({},P(Le),{id:Fe,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:_t,directory:ue?"directory":null,webkitdirectory:ue?"webkitdirectory":null,multiple:At,onChange:this.onChange})),ne)}}]),Ae}(i.Component),K=j,R=Object.assign||function(Bt){for(var Ae=1;Ae<arguments.length;Ae++){var pe=arguments[Ae];for(var he in pe)Object.prototype.hasOwnProperty.call(pe,he)&&(Bt[he]=pe[he])}return Bt},B=function(){function Bt(Ae,pe){for(var he=0;he<pe.length;he++){var le=pe[he];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(Ae,le.key,le)}}return function(Ae,pe,he){return pe&&Bt(Ae.prototype,pe),he&&Bt(Ae,he),Ae}}();function U(Bt,Ae){if(!(Bt instanceof Ae))throw new TypeError("Cannot call a class as a function")}function H(Bt,Ae){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:Bt}function W(Bt,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);Bt.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,Ae):Bt.__proto__=Ae)}function V(){}var z=function(Bt){W(Ae,Bt);function Ae(){var pe,he,le,Ne;U(this,Ae);for(var je=arguments.length,Ke=Array(je),Xe=0;Xe<je;Xe++)Ke[Xe]=arguments[Xe];return Ne=(he=(le=H(this,(pe=Ae.__proto__||Object.getPrototypeOf(Ae)).call.apply(pe,[this].concat(Ke))),le),le.saveUploader=function(Fe){le.uploader=Fe},he),H(le,Ne)}return B(Ae,[{key:"abort",value:function(he){this.uploader.abort(he)}},{key:"render",value:function(){return r.a.createElement(K,R({},this.props,{ref:this.saveUploader}))}}]),Ae}(i.Component);z.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var X=z,q=X,fe=function(Bt,Ae){var pe={};for(var he in Bt)Object.prototype.hasOwnProperty.call(Bt,he)&&Ae.indexOf(he)<0&&(pe[he]=Bt[he]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,he=Object.getOwnPropertySymbols(Bt);le<he.length;le++)Ae.indexOf(he[le])<0&&Object.prototype.propertyIsEnumerable.call(Bt,he[le])&&(pe[he[le]]=Bt[he[le]]);return pe},G=function(Ae,pe){var he=Ae.style,le=Ae.height,Ne=fe(Ae,["style","height"]);return i.createElement(It,h()({ref:pe},Ne,{type:"drag",style:h()(h()({},he),{height:le})}))},ve=i.forwardRef(G);ve.displayName="Dragger";var Se=ve,ge=e("UmKh"),Pe=e("gZBC"),Ge=e.n(Pe),pt=e("+d4F"),Te=e.n(pt),xe=e("XAae"),lt=e.n(xe),Ie=e("6xvX"),de=e.n(Ie),ee=e("qPY4"),se=e.n(ee),ke=e("QB+1"),Ce=e.n(ke),ze=e("Qs3X"),_e=e.n(ze),ae=e("0n0R");function me(){return!0}function Oe(Bt){return h()(h()({},Bt),{lastModified:Bt.lastModified,lastModifiedDate:Bt.lastModifiedDate,name:Bt.name,size:Bt.size,type:Bt.type,uid:Bt.uid,percent:0,originFileObj:Bt})}function Ze(Bt,Ae){var pe=Bt.uid!==void 0?"uid":"name";return Ae.filter(function(he){return he[pe]===Bt[pe]})[0]}function vt(Bt,Ae){var pe=Bt.uid!==void 0?"uid":"name",he=Ae.filter(function(le){return le[pe]!==Bt[pe]});return he.length===Ae.length?null:he}var Ct=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",pe=Ae.split("/"),he=pe[pe.length-1],le=he.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(le)||[""])[0]},Be=function(Ae){return Ae.indexOf("image/")===0},Rt=function(Ae){if(Ae.type&&!Ae.thumbUrl)return Be(Ae.type);var pe=Ae.thumbUrl||Ae.url,he=Ct(pe);return/^data:image\//.test(pe)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(he)?!0:/^data:/.test(pe)?!1:!he},He=200;function wt(Bt){return new Promise(function(Ae){if(!Bt.type||!Be(Bt.type)){Ae("");return}var pe=document.createElement("canvas");pe.width=He,pe.height=He,pe.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(He,"px; height: ").concat(He,"px; z-index: 9999; display: none;"),document.body.appendChild(pe);var he=pe.getContext("2d"),le=new Image;le.onload=function(){var Ne=le.width,je=le.height,Ke=He,Xe=He,Fe=0,nt=0;Ne<je?(Xe=je*(He/Ne),nt=-(Xe-Ke)/2):(Ke=Ne*(He/je),Fe=-(Ke-Xe)/2),he.drawImage(le,Fe,nt,Ke,Xe);var At=pe.toDataURL();document.body.removeChild(pe),Ae(At)},le.src=window.URL.createObjectURL(Bt)})}var Ye=e("3S7+"),et=e("CFYs"),rt=e("H84U"),st=e("2/Rp"),Ve=e("hkKa"),ie=function(Ae,pe){var he,le=Ae.listType,Ne=Ae.previewFile,je=Ae.onPreview,Ke=Ae.onDownload,Xe=Ae.onRemove,Fe=Ae.locale,nt=Ae.iconRender,At=Ae.isImageUrl,_t=Ae.prefixCls,ne=Ae.items,ue=ne===void 0?[]:ne,Y=Ae.showPreviewIcon,te=Ae.showRemoveIcon,be=Ae.showDownloadIcon,Le=Ae.removeIcon,Re=Ae.downloadIcon,$e=Ae.progress,gt=Object(Ve.a)();i.useEffect(function(){if(le!=="picture"&&le!=="picture-card")return;(ue||[]).forEach(function(ft){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ft.originFileObj instanceof File||ft.originFileObj instanceof Blob)||ft.thumbUrl!==void 0)return;ft.thumbUrl="",Ne&&Ne(ft.originFileObj).then(function(Lt){ft.thumbUrl=Lt||"",gt()})})},[le,ue,Ne]);var Wt=function(Lt,Tt){return je?(Tt.preventDefault(),je(Lt)):void 0},$t=function(Lt){typeof Ke=="function"?Ke(Lt):Lt.url&&window.open(Lt.url)},Dt=function(Lt){Xe&&Xe(Lt)},Kt=function(Lt){if(nt)return nt(Lt,le);var Tt=Lt.status==="uploading",ht=At&&At(Lt)?i.createElement(lt.a,null):i.createElement(de.a,null),Ht=Tt?i.createElement(Ge.a,null):i.createElement(Te.a,null);return le==="picture"?Ht=Tt?i.createElement(Ge.a,null):ht:le==="picture-card"&&(Ht=Tt?Fe.uploading:ht),Ht},Yt=function(Lt,Tt,ht,Ht){var Ft={type:"text",size:"small",title:Ht,onClick:function(mr){Tt(),Object(ae.b)(Lt)&&Lt.props.onClick&&Lt.props.onClick(mr)},className:"".concat(ht,"-list-item-card-actions-btn")};if(Object(ae.b)(Lt)){var ir=Object(ae.a)(Lt,h()(h()({},Lt.props),{onClick:function(){}}));return i.createElement(st.a,h()({},Ft,{icon:ir}))}return i.createElement(st.a,Ft,i.createElement("span",null,Lt))};i.useImperativeHandle(pe,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=i.useContext(rt.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",_t),ot=ue.map(function(ft){var Lt,Tt,ht,Ht=Kt(ft),Ft=i.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(le==="picture"||le==="picture-card")if(ft.status==="uploading"||!ft.thumbUrl&&!ft.url){var ir,Xt=c()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),ft.status!=="uploading"),ir));Ft=i.createElement("div",{className:Xt},Ht)}else{var mr,Ar=At&&At(ft)?i.createElement("img",{src:ft.thumbUrl||ft.url,alt:ft.name,className:"".concat(er,"-list-item-image")}):Ht,Nr=c()((mr={},f()(mr,"".concat(er,"-list-item-thumbnail"),!0),f()(mr,"".concat(er,"-list-item-file"),At&&!At(ft)),mr));Ft=i.createElement("a",{className:Nr,onClick:function(gn){return Wt(ft,gn)},href:ft.url||ft.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(ft.status==="uploading"){var Fr="percent"in ft?i.createElement(et.a,h()({},$e,{type:"line",percent:ft.percent})):null;ht=i.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},Fr)}var tn=c()((Lt={},f()(Lt,"".concat(er,"-list-item"),!0),f()(Lt,"".concat(er,"-list-item-").concat(ft.status),!0),f()(Lt,"".concat(er,"-list-item-list-type-").concat(le),!0),Lt)),qr=typeof ft.linkProps=="string"?JSON.parse(ft.linkProps):ft.linkProps,Or=te?Yt(Le||i.createElement(Ce.a,null),function(){return Dt(ft)},er,Fe.removeFile):null,Qr=be&&ft.status==="done"?Yt(Re||i.createElement(_e.a,null),function(){return $t(ft)},er,Fe.downloadFile):null,Ir=le!=="picture-card"&&i.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(le==="picture"?"picture":"")},Qr,Or),ur=c()((Tt={},f()(Tt,"".concat(er,"-list-item-name"),!0),f()(Tt,"".concat(er,"-list-item-name-icon-count-").concat([Qr,Or].filter(function(Tn){return Tn}).length),!0),Tt)),pr=ft.url?[i.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:ur,title:ft.name},qr,{href:ft.url,onClick:function(gn){return Wt(ft,gn)}}),ft.name),Ir]:[i.createElement("span",{key:"view",className:ur,onClick:function(gn){return Wt(ft,gn)},title:ft.name},ft.name),Ir],cr={pointerEvents:"none",opacity:.5},fr=Y?i.createElement("a",{href:ft.url||ft.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ft.url||ft.thumbUrl?void 0:cr,onClick:function(gn){return Wt(ft,gn)},title:Fe.previewFile},i.createElement(se.a,null)):null,xr=le==="picture-card"&&ft.status!=="uploading"&&i.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,ft.status==="done"&&Qr,Or),Gr;ft.response&&typeof ft.response=="string"?Gr=ft.response:Gr=ft.error&&ft.error.statusText||Fe.uploadError;var un=i.createElement("span",null,Ft,pr),Nn=i.createElement("div",{className:tn},i.createElement("div",{className:"".concat(er,"-list-item-info")},un),xr,i.createElement(ge.a,{transitionName:"fade",component:""},ht)),jr=c()(f()({},"".concat(er,"-list-picture-card-container"),le==="picture-card"));return i.createElement("div",{key:ft.uid,className:jr},ft.status==="error"?i.createElement(Ye.a,{title:Gr,getPopupContainer:function(gn){return gn.parentNode}},Nn):i.createElement("span",null,Nn))}),xt=c()((he={},f()(he,"".concat(er,"-list"),!0),f()(he,"".concat(er,"-list-").concat(le),!0),f()(he,"".concat(er,"-list-rtl"),dr==="rtl"),he)),ut=le==="picture-card"?"animate-inline":"animate";return i.createElement(ge.a,{transitionName:"".concat(er,"-").concat(ut),component:"div",className:xt},ot)},$=i.forwardRef(ie);$.displayName="UploadList",$.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:wt,isImageUrl:Rt};var it=$,Qe=e("YMnH"),ye=e("ZvpZ"),Zt=e("uaoM"),dt=e("sPtV"),ct=function(Ae,pe){var he,le=Ae.fileList,Ne=Ae.defaultFileList,je=Ae.onRemove,Ke=Ae.showUploadList,Xe=Ae.listType,Fe=Ae.onPreview,nt=Ae.onDownload,At=Ae.previewFile,_t=Ae.disabled,ne=Ae.locale,ue=Ae.iconRender,Y=Ae.isImageUrl,te=Ae.progress,be=Ae.prefixCls,Le=Ae.className,Re=Ae.type,$e=Ae.children,gt=Ae.style,Wt=Object(dt.a)(le||Ne||[]),$t=o()(Wt,2),Dt=$t[0],Kt=$t[1],Yt=i.useState("drop"),Qt=o()(Yt,2),Mt=Qt[0],dr=Qt[1],er=i.useRef();i.useEffect(function(){Kt(le||Ne||[]),Object(Zt.a)("fileList"in Ae||!("value"in Ae),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),i.useEffect(function(){"fileList"in Ae&&Kt(le||[])},[le]);var ot=function(pr){"fileList"in Ae||Kt(pr.fileList);var cr=Ae.onChange;cr&&cr(h()(h()({},pr),{fileList:p()(pr.fileList)}))},xt=function(pr){var cr=Oe(pr);cr.status="uploading";var fr=Dt().concat(),xr=fr.findIndex(function(Gr){var un=Gr.uid;return un===cr.uid});xr===-1?fr.push(cr):fr[xr]=cr,ot({file:cr,fileList:fr})},ut=function(pr,cr,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Gr){}var xr=Ze(cr,Dt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,ot({file:h()({},xr),fileList:Dt().concat()})},ft=function(pr,cr){var fr=Ze(cr,Dt());if(!fr)return;fr.percent=pr.percent,ot({event:pr,file:h()({},fr),fileList:Dt().concat()})},Lt=function(pr,cr,fr){var xr=Ze(fr,Dt());if(!xr)return;xr.error=pr,xr.response=cr,xr.status="error",ot({file:h()({},xr),fileList:Dt().concat()})},Tt=function(pr){Promise.resolve(typeof je=="function"?je(pr):je).then(function(cr){if(cr===!1)return;var fr=vt(pr,Dt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),ot({file:pr,fileList:fr}))})},ht=function(pr){dr(pr.type)},Ht=function(pr,cr){var fr=Ae.beforeUpload;if(!fr)return!0;var xr=fr(pr,cr);if(xr===!1){var Gr=[];return Dt().concat(cr.map(Oe)).forEach(function(un){Gr.every(function(Nn){return Nn.uid!==un.uid})&&Gr.push(un)}),ot({file:pr,fileList:Gr}),!1}return xr&&xr.then?xr:!0},Ft=Object(Ve.a)();i.useImperativeHandle(pe,function(){return{onStart:xt,onSuccess:ut,onProgress:ft,onError:Lt,fileList:Dt(),upload:er.current,forceUpdate:Ft}});var ir=function(pr){var cr=Ke.showRemoveIcon,fr=Ke.showPreviewIcon,xr=Ke.showDownloadIcon,Gr=Ke.removeIcon,un=Ke.downloadIcon;return i.createElement(it,{listType:Xe,items:Dt(),previewFile:At,onPreview:Fe,onDownload:nt,onRemove:Tt,showRemoveIcon:!_t&&cr,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Gr,downloadIcon:un,iconRender:ue,locale:h()(h()({},pr),ne),isImageUrl:Y,progress:te})},Xt=i.useContext(rt.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",be),Fr=h()(h()({onStart:xt,onError:Lt,onProgress:ft,onSuccess:ut},Ae),{prefixCls:Nr,beforeUpload:Ht});delete Fr.className,delete Fr.style,(!$e||_t)&&delete Fr.id;var tn=Ke?i.createElement(Qe.a,{componentName:"Upload",defaultLocale:ye.a.Upload},ir):null;if(Re==="drag"){var qr,Or=c()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Dt().some(function(ur){return ur.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),_t),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),Le);return i.createElement("span",null,i.createElement("div",{className:Or,onDrop:ht,onDragOver:ht,onDragLeave:ht,style:gt},i.createElement(q,h()({},Fr,{ref:er,className:"".concat(Nr,"-btn")}),i.createElement("div",{className:"".concat(Nr,"-drag-container")},$e))),tn)}var Qr=c()(Nr,(he={},f()(he,"".concat(Nr,"-select"),!0),f()(he,"".concat(Nr,"-select-").concat(Xe),!0),f()(he,"".concat(Nr,"-disabled"),_t),f()(he,"".concat(Nr,"-rtl"),Ar==="rtl"),he)),Ir=i.createElement("div",{className:Qr,style:$e?void 0:{display:"none"}},i.createElement(q,h()({},Fr,{ref:er})));return Xe==="picture-card"?i.createElement("span",{className:c()(Le,"".concat(Nr,"-picture-card-wrapper"))},tn,Ir):i.createElement("span",{className:Le},Ir,tn)},yt=i.forwardRef(ct);yt.Dragger=Se,yt.displayName="Upload",yt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:me,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var It=yt;It.Dragger=Se;var or=I.a=It},"98bh":function(D,I,e){var g=e("ProS"),f=e("5GtS"),y=e("bYtY"),p=e("4NO4"),v=e("OELB"),h=v.getPercentWithPrecision,u=e("cCMj"),o=e("KxfA"),i=o.retrieveRawAttr,r=e("D5nY"),a=r.makeSeriesEncodeForNameBased,c=e("xKMd"),n=g.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new c(y.bind(this.getData,this),y.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,s){return f(this,{coordDimensions:["value"],encodeDefaulter:y.curry(a,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),d=[],m=0,w=t.count();m<w;m++)d.push({name:t.getName(m),value:t.get(s,m),selected:i(t,m,"selected")});return d},getDataParams:function(t){var s=this.getData(),d=n.superCall(this,"getDataParams",t),m=[];return s.each(s.mapDimension("value"),function(w){m.push(w)}),d.percent=h(m,t,s.hostModel.get("percentPrecision")),d.$vars.push("percent"),d},_defaultLabelLine:function(t){p.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,d=t.emphasis.labelLine;s.show=s.show&&t.label.show,d.show=d.show&&t.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"}});y.mixin(n,u);var l=n;D.exports=l},"9H2F":function(D,I,e){var g=e("bYtY"),f=g.assert,y=g.isArray,p=e("Tghj"),v=p.__DEV__;function h(c){return new u(c)}function u(c){c=c||{},this._reset=c.reset,this._plan=c.plan,this._count=c.count,this._onDirty=c.onDirty,this._dirty=!0,this.context}var o=u.prototype;o.perform=function(c){var n=this._upstream,l=c&&c.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var d=E(this._modBy),m=this._modDataCount||0,w=E(c&&c.modBy),b=c&&c.modDataCount||0;(d!==w||m!==b)&&(s="reset");function E(N){return!(N>=1)&&(N=1),N}var A;(this._dirty||s==="reset")&&(this._dirty=!1,A=a(this,l)),this._modBy=w,this._modDataCount=b;var S=c&&c.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,O=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!l&&(A||T<O)){var x=this._progress;if(y(x))for(var C=0;C<x.length;C++)r(this,x[C],T,O,w,b);else r(this,x,T,O,w,b)}this._dueIndex=O;var _=this._settedOutputEnd!=null?this._settedOutputEnd:O;this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var i=function(){var c,n,l,t,s,d={reset:function(b,E,A,S){n=b,c=E,l=A,t=S,s=Math.ceil(t/l),d.next=l>1&&t>0?w:m}};return d;function m(){return n<c?n++:null}function w(){var b=n%s*l+Math.ceil(n/s),E=n>=c?null:b<t?b:n;return n++,E}}();o.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(c,n,l,t,s,d){i.reset(l,t,s,d),c._callingProgress=n,c._callingProgress({start:l,end:t,count:t-l,next:i.next},c.context)}function a(c,n){c._dueIndex=c._outputDueEnd=c._dueEnd=0,c._settedOutputEnd=null;var l,t;!n&&c._reset&&(l=c._reset(c.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),y(l)&&!l.length&&(l=null)),c._progress=l,c._modBy=c._modDataCount=null;var s=c._downstream;return s&&s.dirty(),t}o.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},o.pipe=function(c){(this._downstream!==c||this._dirty)&&(this._downstream=c,c._upstream=this,c.dirty())},o.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},o.getUpstream=function(){return this._upstream},o.getDownstream=function(){return this._downstream},o.setOutputEnd=function(c){this._outputDueEnd=this._settedOutputEnd=c},I.createTask=h},"9KIM":function(D,I,e){var g=e("mFDi"),f=e("xSat"),y=f.onIrrelevantElement,p=e("IwbS");function v(i){return i=o(i),function(r,a){return p.clipPointsByRect(r,i)}}function h(i,r){return i=o(i),function(a){var c=r!=null?r:a,n=c?i.width:i.height,l=c?i.x:i.y;return[l,l+(n||0)]}}function u(i,r,a){return i=o(i),function(c,n,l){return i.contain(n[0],n[1])&&!y(c,r,a)}}function o(i){return g.create(i)}I.makeRectPanelClipPath=v,I.makeLinearBrushOtherExtent=h,I.makeRectIsTargetByCursor=u},"9ama":function(D,I,e){},"9eas":function(D,I,e){e("HM/N"),e("tBnm")},"9hCq":function(D,I,e){var g=e("IwbS"),f=e("+TT/"),y=e("bYtY"),p=e("VaxA"),v=p.wrapTreePathInfo,h=8,u=8,o=5;function i(n){this.group=new g.Group,n.add(this.group)}i.prototype={constructor:i,render:function(n,l,t,s){var d=n.getModel("breadcrumb"),m=this.group;if(m.removeAll(),!d.get("show")||!t)return;var w=d.getModel("itemStyle"),b=w.getModel("textStyle"),E={pos:{left:d.get("left"),right:d.get("right"),top:d.get("top"),bottom:d.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:d.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,E,b),this._renderContent(n,E,w,b,s),f.positionElement(m,E.pos,E.box)},_prepare:function(n,l,t){for(var s=n;s;s=s.parentNode){var d=s.getModel().get("name"),m=t.getTextRect(d),w=Math.max(m.width+h*2,l.emptyItemWidth);l.totalWidth+=w+u,l.renderList.push({node:s,text:d,width:w})}},_renderContent:function(n,l,t,s,d){for(var m=0,w=l.emptyItemWidth,b=n.get("breadcrumb.height"),E=f.getAvailableSize(l.pos,l.box),A=l.totalWidth,S=l.renderList,T=S.length-1;T>=0;T--){var O=S[T],x=O.node,C=O.width,_=O.text;A>E.width&&(A-=C-w,C=w,_=null);var N=new g.Polygon({shape:{points:r(m,0,C,b,T===S.length-1,T===0)},style:y.defaults(t.getItemStyle(),{lineJoin:"bevel",text:_,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:y.curry(d,x)});this.group.add(N),a(N,n,x),m+=C+u}},remove:function(){this.group.removeAll()}};function r(n,l,t,s,d,m){var w=[[d?n:n-o,l],[n+t,l],[n+t,l+s],[d?n:n-o,l+s]];return!m&&w.splice(2,0,[n+t+o,l+s/2]),!d&&w.push([n,l+s/2]),w}function a(n,l,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,l)}}var c=i;D.exports=c},"9u0u":function(D,I,e){var g=e("bYtY");function f(p,v){var h={};return g.each(p,function(u){u.each(u.mapDimension("value"),function(o,i){var r="ec-"+u.getName(i);h[r]=h[r]||[],isNaN(o)||h[r].push(o)})}),p[0].map(p[0].mapDimension("value"),function(u,o){for(var i="ec-"+p[0].getName(o),r=0,a=Infinity,c=-Infinity,n=h[i].length,l=0;l<n;l++)a=Math.min(a,h[i][l]),c=Math.max(c,h[i][l]),r+=h[i][l];var t;return v==="min"?t=a:v==="max"?t=c:v==="average"?t=r/n:t=r,n===0?NaN:t})}function y(p){var v={};p.eachSeriesByType("map",function(h){var u=h.getHostGeoModel(),o=u?"o"+u.id:"i"+h.getMapType();(v[o]=v[o]||[]).push(h)}),g.each(v,function(h,u){for(var o=f(g.map(h,function(r){return r.getData()}),h[0].get("mapValueCalculation")),i=0;i<h.length;i++)h[i].originalData=h[i].getData();for(var i=0;i<h.length;i++)h[i].seriesGroup=h,h[i].needsDrawMap=i===0&&!h[i].getHostGeoModel(),h[i].setData(o.cloneShallow()),h[i].mainSeries=h[0]})}D.exports=y},"9wZj":function(D,I,e){var g=e("IwbS"),f=e("FBjb"),y=e("bYtY"),p=y.isObject;function v(a){this.group=new g.Group,this._symbolCtor=a||f}var h=v.prototype;function u(a,c,n,l){return c&&!isNaN(c[0])&&!isNaN(c[1])&&!(l.isIgnore&&l.isIgnore(n))&&!(l.clipShape&&!l.clipShape.contain(c[0],c[1]))&&a.getItemVisual(n,"symbol")!=="none"}h.updateData=function(a,c){c=o(c);var n=this.group,l=a.hostModel,t=this._data,s=this._symbolCtor,d=i(a);t||n.removeAll(),a.diff(t).add(function(m){var w=a.getItemLayout(m);if(u(a,w,m,c)){var b=new s(a,m,d);b.attr("position",w),a.setItemGraphicEl(m,b),n.add(b)}}).update(function(m,w){var b=t.getItemGraphicEl(w),E=a.getItemLayout(m);if(!u(a,E,m,c)){n.remove(b);return}b?(b.updateData(a,m,d),g.updateProps(b,{position:E},l)):(b=new s(a,m),b.attr("position",E)),n.add(b),a.setItemGraphicEl(m,b)}).remove(function(m){var w=t.getItemGraphicEl(m);w&&w.fadeOut(function(){n.remove(w)})}).execute(),this._data=a},h.isPersistent=function(){return!0},h.updateLayout=function(){var a=this._data;a&&a.eachItemGraphicEl(function(c,n){var l=a.getItemLayout(n);c.attr("position",l)})},h.incrementalPrepareUpdate=function(a){this._seriesScope=i(a),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(a,c,n){n=o(n);function l(m){m.isGroup||(m.incremental=m.useHoverLayer=!0)}for(var t=a.start;t<a.end;t++){var s=c.getItemLayout(t);if(u(c,s,t,n)){var d=new this._symbolCtor(c,t,this._seriesScope);d.traverse(l),d.attr("position",s),this.group.add(d),c.setItemGraphicEl(t,d)}}};function o(a){return a!=null&&!p(a)&&(a={isIgnore:a}),a||{}}h.remove=function(a){var c=this.group,n=this._data;n&&a?n.eachItemGraphicEl(function(l){l.fadeOut(function(){c.remove(l)})}):c.removeAll()};function i(a){var c=a.hostModel;return{itemStyle:c.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:c.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:c.get("symbolRotate"),symbolOffset:c.get("symbolOffset"),hoverAnimation:c.get("hoverAnimation"),labelModel:c.getModel("label"),hoverLabelModel:c.getModel("emphasis.label"),cursorStyle:c.get("cursor")}}var r=v;D.exports=r},"9yH6":function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("q1tI"),h=e("+6Fa"),u=e("TSYQ"),o=e.n(u),i=e("H84U"),r=v.createContext(null),a=r.Provider,c=r,n=e("cDf5"),l=e.n(n);function t(j,K){typeof j=="function"?j(K):l()(j)==="object"&&j&&"current"in j&&(j.current=K)}function s(){for(var j=arguments.length,K=new Array(j),R=0;R<j;R++)K[R]=arguments[R];return function(B){K.forEach(function(U){t(U,B)})}}var d=e("uaoM"),m=function(j,K){var R={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(R[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(R[B[U]]=j[B[U]]);return R},w=function(K,R){var B,U=v.useContext(c),H=v.useContext(i.b),W=H.getPrefixCls,V=H.direction,z=v.useRef(),X=s(R,z);v.useEffect(function(){Object(d.a)(!("optionType"in K),"Radio","`optionType` is only support in Radio.Group.")},[]);var q=function(xe){K.onChange&&K.onChange(xe),(U==null?void 0:U.onChange)&&U.onChange(xe)},fe=K.prefixCls,G=K.className,ve=K.children,Se=K.style,ge=m(K,["prefixCls","className","children","style"]),Pe=W("radio",fe),Ge=p()({},ge);U&&(Ge.name=U.name,Ge.onChange=q,Ge.checked=K.value===U.value,Ge.disabled=K.disabled||U.disabled);var pt=o()(G,(B={},f()(B,"".concat(Pe,"-wrapper"),!0),f()(B,"".concat(Pe,"-wrapper-checked"),Ge.checked),f()(B,"".concat(Pe,"-wrapper-disabled"),Ge.disabled),f()(B,"".concat(Pe,"-wrapper-rtl"),V==="rtl"),B));return v.createElement("label",{className:pt,style:Se,onMouseEnter:K.onMouseEnter,onMouseLeave:K.onMouseLeave},v.createElement(h.a,p()({},Ge,{prefixCls:Pe,ref:X})),ve!==void 0?v.createElement("span",null,ve):null)},b=v.forwardRef(w);b.displayName="Radio",b.defaultProps={type:"radio"};var E=b,A=e("J4zp"),S=e.n(A),T=e("6cGi"),O=e("3Nzz"),x=v.forwardRef(function(j,K){var R=v.useContext(i.b),B=R.getPrefixCls,U=R.direction,H=v.useContext(O.b),W=Object(T.a)(j.defaultValue,{value:j.value}),V=S()(W,2),z=V[0],X=V[1],q=function(ve){var Se=z,ge=ve.target.value;"value"in j||X(ge);var Pe=j.onChange;Pe&&ge!==Se&&Pe(ve)},fe=function(){var ve,Se=j.prefixCls,ge=j.className,Pe=ge===void 0?"":ge,Ge=j.options,pt=j.optionType,Te=j.buttonStyle,xe=j.disabled,lt=j.children,Ie=j.size,de=j.style,ee=j.id,se=j.onMouseEnter,ke=j.onMouseLeave,Ce=B("radio",Se),ze="".concat(Ce,"-group"),_e=lt;if(Ge&&Ge.length>0){var ae=pt==="button"?"".concat(Ce,"-button"):Ce;_e=Ge.map(function(Ze){return typeof Ze=="string"?v.createElement(E,{ref:K,key:Ze,prefixCls:ae,disabled:xe,value:Ze,checked:z===Ze},Ze):v.createElement(E,{ref:K,key:"radio-group-value-options-".concat(Ze.value),prefixCls:ae,disabled:Ze.disabled||xe,value:Ze.value,checked:z===Ze.value,style:Ze.style},Ze.label)})}var me=Ie||H,Oe=o()(ze,"".concat(ze,"-").concat(Te),(ve={},f()(ve,"".concat(ze,"-").concat(me),me),f()(ve,"".concat(ze,"-rtl"),U==="rtl"),ve),Pe);return v.createElement("div",{className:Oe,style:de,onMouseEnter:se,onMouseLeave:ke,id:ee},_e)};return v.createElement(a,{value:{onChange:q,value:z,disabled:j.disabled,name:j.name}},fe())});x.defaultProps={buttonStyle:"outline"};var C=v.memo(x),_=function(j,K){var R={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(R[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(R[B[U]]=j[B[U]]);return R},N=function(K,R){var B=v.useContext(c),U=v.useContext(i.b),H=U.getPrefixCls,W=K.prefixCls,V=_(K,["prefixCls"]),z=H("radio-button",W);return B&&(V.checked=K.value===B.value,V.disabled=K.disabled||B.disabled),v.createElement(E,p()({prefixCls:z},V,{type:"radio",ref:R}))},F=v.forwardRef(N),k=E;k.Button=F,k.Group=C;var P=I.a=k},A1Ka:function(D,I,e){var g=e("bLfw"),f=e("sS/r"),y=e("D5nY"),p=y.detectSourceFormat,v=e("k9D9"),h=v.SERIES_LAYOUT_BY_COLUMN;g.extend({type:"dataset",defaultOption:{seriesLayoutBy:h,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){p(this)}}),f.extend({type:"dataset"})},A90E:function(D,I,e){var g=e("6sVZ"),f=e("V6Ve"),y=Object.prototype,p=y.hasOwnProperty;function v(h){if(!g(h))return f(h);var u=[];for(var o in Object(h))p.call(h,o)&&o!="constructor"&&u.push(o);return u}D.exports=v},ABKa:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("Qs9O")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="FolderOutlined";var u=y.forwardRef(h);I.default=u},ACnJ:function(D,I,e){"use strict";e.d(I,"b",function(){return v});var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},u=new Map,o=-1,i={},r={matchHandlers:{},dispatch:function(c){return i=c,u.forEach(function(n){return n(i)}),u.size>=1},subscribe:function(c){return u.size||this.register(),o+=1,u.set(o,c),c(i),o},unsubscribe:function(c){u.delete(c),u.size||this.unregister()},unregister:function(){var c=this;Object.keys(h).forEach(function(n){var l=h[n],t=c.matchHandlers[l];t==null||t.mql.removeListener(t==null?void 0:t.listener)}),u.clear()},register:function(){var c=this;Object.keys(h).forEach(function(n){var l=h[n],t=function(m){var w=m.matches;c.dispatch(p()(p()({},i),f()({},n,w)))},s=window.matchMedia(l);s.addListener(t),c.matchHandlers[l]={mql:s,listener:t},t(s)})}};I.a=r},AE9C:function(D,I,e){var g=e("bYtY"),f=e("crZl"),y=e("IwbS"),p=e("oVpE"),v=p.createSymbol,h=e("+TT/"),u=e("y7Aq"),o=f.extend({type:"visualMap.piecewise",doRender:function(){var r=this.group;r.removeAll();var a=this.visualMapModel,c=a.get("textGap"),n=a.textStyleModel,l=n.getFont(),t=n.getTextColor(),s=this._getItemAlign(),d=a.itemSize,m=this._getViewData(),w=m.endsText,b=g.retrieve(a.get("showLabel",!0),!w);w&&this._renderEndsText(r,w[0],d,b,s),g.each(m.viewPieceList,E,this),w&&this._renderEndsText(r,w[1],d,b,s),h.box(a.get("orient"),r,a.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function E(A){var S=A.piece,T=new y.Group;T.onclick=g.bind(this._onItemClick,this,S),this._enableHoverLink(T,A.indexInModelPieceList);var O=a.getRepresentValue(S);if(this._createItemSymbol(T,O,[0,0,d[0],d[1]]),b){var x=this.visualMapModel.getValueState(O);T.add(new y.Text({style:{x:s==="right"?-c:d[0]+c,y:d[1]/2,text:S.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:x==="outOfRange"?.5:1}}))}r.add(T)}},_enableHoverLink:function(r,a){r.on("mouseover",g.bind(c,this,"highlight")).on("mouseout",g.bind(c,this,"downplay"));function c(n){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:n,batch:u.makeHighDownBatch(l.findTargetDataIndices(a),l)})}},_getItemAlign:function(){var r=this.visualMapModel,a=r.option;if(a.orient==="vertical")return u.getItemAlign(r,this.api,r.itemSize);var c=a.align;return(!c||c==="auto")&&(c="left"),c},_renderEndsText:function(r,a,c,n,l){if(!a)return;var t=new y.Group,s=this.visualMapModel.textStyleModel;t.add(new y.Text({style:{x:n?l==="right"?c[0]:0:c[0]/2,y:c[1]/2,textVerticalAlign:"middle",textAlign:n?l:"center",text:a,textFont:s.getFont(),textFill:s.getTextColor()}})),r.add(t)},_getViewData:function(){var r=this.visualMapModel,a=g.map(r.getPieceList(),function(t,s){return{piece:t,indexInModelPieceList:s}}),c=r.get("text"),n=r.get("orient"),l=r.get("inverse");return(n==="horizontal"?l:!l)?a.reverse():c&&(c=c.slice().reverse()),{viewPieceList:a,endsText:c}},_createItemSymbol:function(r,a,c){r.add(v(this.getControllerVisual(a,"symbol"),c[0],c[1],c[2],c[3],this.getControllerVisual(a,"color")))},_onItemClick:function(r){var a=this.visualMapModel,c=a.option,n=g.clone(c.selected),l=a.getSelectedMapKey(r);c.selectedMode==="single"?(n[l]=!0,g.each(n,function(t,s){n[s]=s===l})):n[l]=!n[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),i=o;D.exports=i},AEZ6:function(D,I,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,p=e("T4UG"),v=e("MwEJ"),h=p.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(i,r){var a=this.getSource();return u(a,this),v(a,this)},getRawIndicesByActiveState:function(i){var r=this.coordinateSystem,a=this.getData(),c=[];return r.eachActiveState(a,function(n,l){i===n&&c.push(a.getRawIndex(l))}),c},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 u(i,r){if(i.encodeDefine)return;var a=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!a)return;var c=i.encodeDefine=y();f(a.dimensions,function(n){var l=o(n);c.set(n,l)})}function o(i){return+i.replace("dim","")}D.exports=h},AH3D:function(D,I,e){var g=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),g.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),g.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("5GtS"),p=e("4NO4"),v=p.defaultEmphasis,h=e("D5nY"),u=h.makeSeriesEncodeForNameBased,o=e("xKMd"),i=g.extendSeriesModel({type:"series.funnel",init:function(a){i.superApply(this,"init",arguments),this.legendVisualProvider=new o(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(a)},getInitialData:function(a,c){return y(this,{coordDimensions:["value"],encodeDefaulter:f.curry(u,this)})},_defaultLabelLine:function(a){v(a,"labelLine",["show"]);var c=a.labelLine,n=a.emphasis.labelLine;c.show=c.show&&a.label.show,n.show=n.show&&a.emphasis.label.show},getDataParams:function(a){var c=this.getData(),n=i.superCall(this,"getDataParams",a),l=c.mapDimension("value"),t=c.getSum(l);return n.percent=t?+(c.get(l,a)/t*100).toFixed(2):0,n.$vars.push("percent"),n},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}}}}),r=i;D.exports=r},ANhw:function(D,I){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g={rotl:function(y,p){return y<<p|y>>>32-p},rotr:function(y,p){return y<<32-p|y>>>p},endian:function(y){if(y.constructor==Number)return g.rotl(y,8)&16711935|g.rotl(y,24)&4278255360;for(var p=0;p<y.length;p++)y[p]=g.endian(y[p]);return y},randomBytes:function(y){for(var p=[];y>0;y--)p.push(Math.floor(Math.random()*256));return p},bytesToWords:function(y){for(var p=[],v=0,h=0;v<y.length;v++,h+=8)p[h>>>5]|=y[v]<<24-h%32;return p},wordsToBytes:function(y){for(var p=[],v=0;v<y.length*32;v+=8)p.push(y[v>>>5]>>>24-v%32&255);return p},bytesToHex:function(y){for(var p=[],v=0;v<y.length;v++)p.push((y[v]>>>4).toString(16)),p.push((y[v]&15).toString(16));return p.join("")},hexToBytes:function(y){for(var p=[],v=0;v<y.length;v+=2)p.push(parseInt(y.substr(v,2),16));return p},bytesToBase64:function(y){for(var p=[],v=0;v<y.length;v+=3)for(var h=y[v]<<16|y[v+1]<<8|y[v+2],u=0;u<4;u++)v*8+u*6<=y.length*8?p.push(e.charAt(h>>>6*(3-u)&63)):p.push("=");return p.join("")},base64ToBytes:function(y){y=y.replace(/[^A-Z0-9+\/]/ig,"");for(var p=[],v=0,h=0;v<y.length;h=++v%4){if(h==0)continue;p.push((e.indexOf(y.charAt(v-1))&Math.pow(2,-2*h+8)-1)<<h*2|e.indexOf(y.charAt(v))>>>6-h*2)}return p}};D.exports=g})()},ANjR:function(D,I,e){var g=e("bYtY");function f(p,v){return v=v||[0,0],g.map([0,1],function(h){var u=v[h],o=p[h]/2,i=[],r=[];return i[h]=u-o,r[h]=u+o,i[1-h]=r[1-h]=v[1-h],Math.abs(this.dataToPoint(i)[h]-this.dataToPoint(r)[h])},this)}function y(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(h){return p.dataToPoint(h)},size:g.bind(f,p)}}}D.exports=y},AOa7:function(D,I,e){},AUH6:function(D,I,e){var g=e("bYtY"),f=e("mFDi"),y=e("bMXI"),p=e("W4dC");function v(o,i,r,a){y.call(this,o),this.map=i;var c=p.load(i,r);this._nameCoordMap=c.nameCoordMap,this._regionsMap=c.regionsMap,this._invertLongitute=a==null?!0:a,this.regions=c.regions,this._rect=c.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(o){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(o))return!0;return!1},transformTo:function(o,i,r,a){var c=this.getBoundingRect(),n=this._invertLongitute;c=c.clone(),n&&(c.y=-c.y-c.height);var l=this._rawTransformable;if(l.transform=c.calculateTransform(new f(o,i,r,a)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(o){return this._regionsMap.get(o)},getRegionByCoord:function(o){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(o))return i[r]},addGeoCoord:function(o,i){this._nameCoordMap.set(o,i)},getGeoCoord:function(o){return this._nameCoordMap.get(o)},getBoundingRect:function(){return this._rect},dataToPoint:function(o,i,r){if(typeof o=="string"&&(o=this.getGeoCoord(o)),o)return y.prototype.dataToPoint.call(this,o,i,r)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(v,y);function h(o,i,r,a){var c=r.geoModel,n=r.seriesModel,l=c?c.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[o](a):null}var u=v;D.exports=u},AVZG:function(D,I,e){var g=e("bYtY");function f(y,p,v){v=v||{};var h=y.coordinateSystem,u=p.axis,o={},i=u.getAxesOnZeroOf()[0],r=u.position,a=i?"onZero":r,c=u.dim,n=h.getRect(),l=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},s=p.get("offset")||0,d=c==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(i){var m=i.toGlobalCoord(i.dataToCoord(0));d[t.onZero]=Math.max(Math.min(m,d[1]),d[0])}o.position=[c==="y"?d[t[a]]:l[0],c==="x"?d[t[a]]:l[3]],o.rotation=Math.PI/2*(c==="x"?0:1);var w={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=w[r],o.labelOffset=i?d[t[r]]-d[t.onZero]:0,p.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),g.retrieve(v.labelInside,p.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var b=p.get("axisLabel.rotate");return o.labelRotate=a==="top"?-b:b,o.z2=1,o}I.layout=f},"Ae+d":function(D,I){function e(f,y,p){var v=f.target,h=v.position;h[0]+=y,h[1]+=p,v.dirty()}function g(f,y,p,v){var h=f.target,u=f.zoomLimit,o=h.position,i=h.scale,r=f.zoom=f.zoom||1;if(r*=y,u){var a=u.min||0,c=u.max||Infinity;r=Math.max(Math.min(c,r),a)}var n=r/f.zoom;f.zoom=r,o[0]-=(p-o[0])*(n-1),o[1]-=(v-o[1])*(n-1),i[0]*=n,i[1]*=n,h.dirty()}I.updateViewOnPan=e,I.updateViewOnZoom=g},Ae16:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(p,v){this.group.removeAll(),p.get("show")&&this.group.add(new y.Rect({shape:p.coordinateSystem.getRect(),style:f.defaults({fill:p.get("backgroundColor")},p.getItemStyle()),silent:!0,z2:-1}))}}),g.registerPreprocessor(function(p){p.xAxis&&p.yAxis&&!p.grid&&(p.grid={})})},Awhp:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("PQMj"),p=e.n(y)},"B+YJ":function(D,I,e){e("TYVI"),e("p1MT")},"B6l+":function(D,I,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),p=e("dt0z");function v(h,u,o){h=p(h),u=y(u);var i=u?f(h):0;return u&&i<u?h+g(u-i,o):h}D.exports=v},B8du:function(D,I){function e(){return!1}D.exports=e},B9cy:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0XgM"),p=e.n(y)},B9fm:function(D,I,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YH21"),p=e("Ze12"),v=e("ItGF"),h=e("7aKB"),u=g.each,o=h.toCamelCase,i=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function a(d){var m="cubic-bezier(0.23, 1, 0.32, 1)",w="left "+d+"s "+m+",top "+d+"s "+m;return g.map(i,function(b){return b+"transition:"+w}).join(";")}function c(d){var m=[],w=d.get("fontSize"),b=d.getTextColor();return b&&m.push("color:"+b),m.push("font:"+d.getFont()),w&&m.push("line-height:"+Math.round(w*3/2)+"px"),u(["decoration","align"],function(E){var A=d.get(E);A&&m.push("text-"+E+":"+A)}),m.join(";")}function n(d){var m=[],w=d.get("transitionDuration"),b=d.get("backgroundColor"),E=d.getModel("textStyle"),A=d.get("padding");return w&&m.push(a(w)),b&&(v.canvasSupported?m.push("background-Color:"+b):(m.push("background-Color:#"+f.toHex(b)),m.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],function(S){var T="border-"+S,O=o(T),x=d.get(O);x!=null&&m.push(T+":"+x+(S==="color"?"":"px"))}),m.push(c(E)),A!=null&&m.push("padding:"+h.normalizeCssArray(A).join("px ")+"px"),m.join(";")+";"}function l(d,m,w,b,E){var A=m&&m.painter;if(w){var S=A&&A.getViewportRoot();S&&p.transformLocalCoord(d,S,document.body,b,E)}else{d[0]=b,d[1]=E;var T=A&&A.getViewportRootOffset();T&&(d[0]+=T.offsetLeft,d[1]+=T.offsetTop)}}function t(d,m,w){if(v.wxa)return null;var b=document.createElement("div");b.domBelongToZr=!0,this.el=b;var E=this._zr=m.getZr(),A=this._appendToBody=w&&w.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,E,A,m.getWidth()/2,m.getHeight()/2),A?document.body.appendChild(b):d.appendChild(b),this._container=d,this._show=!1,this._hideTimeout;var S=this;b.onmouseenter=function(){S._enterable&&(clearTimeout(S._hideTimeout),S._show=!0),S._inContent=!0},b.onmousemove=function(T){if(T=T||window.event,!S._enterable){var O=E.handler,x=E.painter.getViewportRoot();y.normalizeEvent(x,T,!0),O.dispatch("mousemove",T)}},b.onmouseleave=function(){S._enterable&&(S._show&&S.hideLater(S._hideDelay)),S._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var d=this._container,m=d.currentStyle||document.defaultView.getComputedStyle(d),w=d.style;w.position!=="absolute"&&m.position!=="absolute"&&(w.position="relative")},show:function(d){clearTimeout(this._hideTimeout);var m=this.el,w=this._styleCoord;m.style.cssText=r+n(d)+";left:"+w[0]+"px;top:"+w[1]+"px;"+(d.get("extraCssText")||""),m.style.display=m.innerHTML?"block":"none",m.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(d){this.el.innerHTML=d==null?"":d},setEnterable:function(d){this._enterable=d},getSize:function(){var d=this.el;return[d.clientWidth,d.clientHeight]},moveTo:function(d,m){var w=this._styleCoord;l(w,this._zr,this._appendToBody,d,m);var b=this.el.style;b.left=w[0]+"px",b.top=w[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(d){this._show&&!(this._inContent&&this._enterable)&&(d?(this._hideDelay=d,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),d)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var d=this.el.clientWidth,m=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var w=document.defaultView.getComputedStyle(this.el);w&&(d+=parseInt(w.borderLeftWidth,10)+parseInt(w.borderRightWidth,10),m+=parseInt(w.borderTopWidth,10)+parseInt(w.borderBottomWidth,10))}return{width:d,height:m}}};var s=t;D.exports=s},BEtg:function(D,I){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/D.exports=function(f){return f!=null&&(e(f)||g(f)||!!f._isBuffer)};function e(f){return!!f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f)}function g(f){return typeof f.readFloatLE=="function"&&typeof f.slice=="function"&&e(f.slice(0,0))}},BMrR:function(D,I,e){"use strict";var g=e("qrJ5");I.a=g.a},BPZU:function(D,I){var e=32,g=7,f=256;function y(a){for(var c=0;a>=e;)c|=a&1,a>>=1;return a+c}function p(a,c,n,l){var t=c+1;if(t===n)return 1;if(l(a[t++],a[c])<0){for(;t<n&&l(a[t],a[t-1])<0;)t++;v(a,c,t)}else for(;t<n&&l(a[t],a[t-1])>=0;)t++;return t-c}function v(a,c,n){for(n--;c<n;){var l=a[c];a[c++]=a[n],a[n--]=l}}function h(a,c,n,l,t){for(l===c&&l++;l<n;l++){for(var s=a[l],d=c,m=l,w;d<m;)w=d+m>>>1,t(s,a[w])<0?m=w:d=w+1;var b=l-d;switch(b){case 3:a[d+3]=a[d+2];case 2:a[d+2]=a[d+1];case 1:a[d+1]=a[d];break;default:for(;b>0;)a[d+b]=a[d+b-1],b--}a[d]=s}}function u(a,c,n,l,t,s){var d=0,m=0,w=1;if(s(a,c[n+t])>0){for(m=l-t;w<m&&s(a,c[n+t+w])>0;)d=w,w=(w<<1)+1,w<=0&&(w=m);w>m&&(w=m),d+=t,w+=t}else{for(m=t+1;w<m&&s(a,c[n+t-w])<=0;)d=w,w=(w<<1)+1,w<=0&&(w=m);w>m&&(w=m);var b=d;d=t-w,w=t-b}for(d++;d<w;){var E=d+(w-d>>>1);s(a,c[n+E])>0?d=E+1:w=E}return w}function o(a,c,n,l,t,s){var d=0,m=0,w=1;if(s(a,c[n+t])<0){for(m=t+1;w<m&&s(a,c[n+t-w])<0;)d=w,w=(w<<1)+1,w<=0&&(w=m);w>m&&(w=m);var b=d;d=t-w,w=t-b}else{for(m=l-t;w<m&&s(a,c[n+t+w])>=0;)d=w,w=(w<<1)+1,w<=0&&(w=m);w>m&&(w=m),d+=t,w+=t}for(d++;d<w;){var E=d+(w-d>>>1);s(a,c[n+E])<0?w=E:d=E+1}return w}function i(a,c){var n=g,l=0,t=f,s=0,d,m,w=0;l=a.length,l<2*f&&(t=l>>>1);var b=[];s=l<120?5:l<1542?10:l<119151?19:40,d=[],m=[];function E(C,_){d[w]=C,m[w]=_,w+=1}function A(){for(;w>1;){var C=w-2;if(C>=1&&m[C-1]<=m[C]+m[C+1]||C>=2&&m[C-2]<=m[C]+m[C-1])m[C-1]<m[C+1]&&C--;else if(m[C]>m[C+1])break;T(C)}}function S(){for(;w>1;){var C=w-2;C>0&&m[C-1]<m[C+1]&&C--,T(C)}}function T(C){var _=d[C],N=m[C],F=d[C+1],k=m[C+1];m[C]=N+k,C===w-3&&(d[C+1]=d[C+2],m[C+1]=m[C+2]),w--;var P=o(a[F],a,_,N,0,c);if(_+=P,N-=P,N===0)return;if(k=u(a[_+N-1],a,F,k,k-1,c),k===0)return;N<=k?O(_,N,F,k):x(_,N,F,k)}function O(C,_,N,F){var k=0;for(k=0;k<_;k++)b[k]=a[C+k];var P=0,j=N,K=C;if(a[K++]=a[j++],--F===0){for(k=0;k<_;k++)a[K+k]=b[P+k];return}if(_===1){for(k=0;k<F;k++)a[K+k]=a[j+k];a[K+F]=b[P];return}for(var R=n,B,U,H;;){B=0,U=0,H=!1;do if(c(a[j],b[P])<0){if(a[K++]=a[j++],U++,B=0,--F===0){H=!0;break}}else if(a[K++]=b[P++],B++,U=0,--_===1){H=!0;break}while((B|U)<R);if(H)break;do{if(B=o(a[j],b,P,_,0,c),B!==0){for(k=0;k<B;k++)a[K+k]=b[P+k];if(K+=B,P+=B,_-=B,_<=1){H=!0;break}}if(a[K++]=a[j++],--F===0){H=!0;break}if(U=u(b[P],a,j,F,0,c),U!==0){for(k=0;k<U;k++)a[K+k]=a[j+k];if(K+=U,j+=U,F-=U,F===0){H=!0;break}}if(a[K++]=b[P++],--_===1){H=!0;break}R--}while(B>=g||U>=g);if(H)break;R<0&&(R=0),R+=2}if(n=R,n<1&&(n=1),_===1){for(k=0;k<F;k++)a[K+k]=a[j+k];a[K+F]=b[P]}else{if(_===0)throw new Error;for(k=0;k<_;k++)a[K+k]=b[P+k]}}function x(C,_,N,F){var k=0;for(k=0;k<F;k++)b[k]=a[N+k];var P=C+_-1,j=F-1,K=N+F-1,R=0,B=0;if(a[K--]=a[P--],--_===0){for(R=K-(F-1),k=0;k<F;k++)a[R+k]=b[k];return}if(F===1){for(K-=_,P-=_,B=K+1,R=P+1,k=_-1;k>=0;k--)a[B+k]=a[R+k];a[K]=b[j];return}for(var U=n;;){var H=0,W=0,V=!1;do if(c(b[j],a[P])<0){if(a[K--]=a[P--],H++,W=0,--_===0){V=!0;break}}else if(a[K--]=b[j--],W++,H=0,--F===1){V=!0;break}while((H|W)<U);if(V)break;do{if(H=_-o(b[j],a,C,_,_-1,c),H!==0){for(K-=H,P-=H,_-=H,B=K+1,R=P+1,k=H-1;k>=0;k--)a[B+k]=a[R+k];if(_===0){V=!0;break}}if(a[K--]=b[j--],--F===1){V=!0;break}if(W=F-u(a[P],b,0,F,F-1,c),W!==0){for(K-=W,j-=W,F-=W,B=K+1,R=j+1,k=0;k<W;k++)a[B+k]=b[R+k];if(F<=1){V=!0;break}}if(a[K--]=a[P--],--_===0){V=!0;break}U--}while(H>=g||W>=g);if(V)break;U<0&&(U=0),U+=2}if(n=U,n<1&&(n=1),F===1){for(K-=_,P-=_,B=K+1,R=P+1,k=_-1;k>=0;k--)a[B+k]=a[R+k];a[K]=b[j]}else{if(F===0)throw new Error;for(R=K-(F-1),k=0;k<F;k++)a[R+k]=b[k]}}this.mergeRuns=A,this.forceMergeRuns=S,this.pushRun=E}function r(a,c,n,l){n||(n=0),l||(l=a.length);var t=l-n;if(t<2)return;var s=0;if(t<e){s=p(a,n,l,c),h(a,n,l,n+s,c);return}var d=new i(a,c),m=y(t);do{if(s=p(a,n,l,c),s<m){var w=t;w>m&&(w=m),h(a,n,n+w,n+s,c),s=w}d.pushRun(n,s),d.mergeRuns(),t-=s,n+=s}while(t!==0);d.forceMergeRuns()}D.exports=r},Bd2K:function(D,I,e){(function(g){g(e("VrN/"),e("osHv"))})(function(g){g.defineOption("autoCloseTags",!1,function(i,r,a){if(a!=g.Init&&a&&i.removeKeyMap("autoCloseTags"),!r)return;var c={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(c["'/'"]=function(n){return h(n)}),(typeof r!="object"||r.whenOpening!==!1)&&(c["'>'"]=function(n){return p(n)}),i.addKeyMap(c)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],y=["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(i){if(i.getOption("disableInput"))return g.Pass;for(var r=i.listSelections(),a=[],c=i.getOption("autoCloseTags"),n=0;n<r.length;n++){if(!r[n].empty())return g.Pass;var l=r[n].head,t=i.getTokenAt(l),s=g.innerMode(i.getMode(),t.state),d=s.state,m=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(d),w=m&&m.name;if(!w)return g.Pass;var b=s.mode.configuration=="html",E=typeof c=="object"&&c.dontCloseTags||b&&f,A=typeof c=="object"&&c.indentTags||b&&y;t.end>l.ch&&(w=w.slice(0,w.length-t.end+l.ch));var S=w.toLowerCase();if(!w||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&m.close||t.string.indexOf("/")==l.ch-t.start-1||E&&u(E,S)>-1||o(i,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(d)||[],w,l,!0))return g.Pass;var T=typeof c=="object"&&c.emptyTags;if(T&&u(T,w)>-1){a[n]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var O=A&&u(A,S)>-1;a[n]={indent:O,text:">"+(O?`
|
|
|
|
|
|
`:"")+"</"+w+">",newPos:O?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var x=typeof c=="object"&&c.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var C=a[n];i.replaceRange(C.text,r[n].head,r[n].anchor,"+insert");var _=i.listSelections().slice(0);_[n]={head:C.newPos,anchor:C.newPos},i.setSelections(_),!x&&C.indent&&(i.indentLine(C.newPos.line,null,!0),i.indentLine(C.newPos.line+1,null,!0))}}function v(i,r){for(var a=i.listSelections(),c=[],n=r?"/":"</",l=i.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<a.length;s++){if(!a[s].empty())return g.Pass;var d=a[s].head,m=i.getTokenAt(d),w=g.innerMode(i.getMode(),m.state),b=w.state;if(r&&(m.type=="string"||m.string.charAt(0)!="<"||m.start!=d.ch-1))return g.Pass;var E,A=w.mode.name!="xml"&&i.getMode().name=="htmlmixed";if(A&&w.mode.name=="javascript")E=n+"script";else if(A&&w.mode.name=="css")E=n+"style";else{var S=w.mode.xmlCurrentContext&&w.mode.xmlCurrentContext(b);if(!S||S.length&&o(i,S,S[S.length-1],d))return g.Pass;E=n+S[S.length-1]}i.getLine(d.line).charAt(m.end)!=">"&&(E+=">"),c[s]=E}if(i.replaceSelections(c),a=i.listSelections(),!t)for(var s=0;s<a.length;s++)(s==a.length-1||a[s].head.line<a[s+1].head.line)&&i.indentLine(a[s].head.line)}function h(i){return i.getOption("disableInput")?g.Pass:v(i,!0)}g.commands.closeTag=function(i){return v(i)};function u(i,r){if(i.indexOf)return i.indexOf(r);for(var a=0,c=i.length;a<c;++a)if(i[a]==r)return a;return-1}function o(i,r,a,c,n){if(!g.scanForClosingTag)return!1;var l=Math.min(i.lastLine()+1,c.line+500),t=g.scanForClosingTag(i,c,null,l);if(!t||t.tag!=a)return!1;for(var s=n?1:0,d=r.length-1;d>=0&&r[d]==a;d--)++s;c=t.to;for(var d=1;d<s;d++){var m=g.scanForClosingTag(i,c,null,l);if(!m||m.tag!=a)return!1;c=m.to}return!0}})},BlVb:function(D,I,e){var g=e("hyiK"),f=1e-8;function y(v,h){return Math.abs(v-h)<f}function p(v,h,u){var o=0,i=v[0];if(!i)return!1;for(var r=1;r<v.length;r++){var a=v[r];o+=g(i[0],i[1],a[0],a[1],h,u),i=a}var c=v[0];return(!y(i[0],c[0])||!y(i[1],c[1]))&&(o+=g(i[0],i[1],c[0],c[1],h,u)),o!==0}I.contain=p},BoS7:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("czTT"),p=e.n(y)},Bq2U:function(D,I,e){var g=e("RDYZ"),f=e("Qe9p"),y=e("bYtY"),p=y.isArrayLike,v=Array.prototype.slice;function h(E,A){return E[A]}function u(E,A,S){E[A]=S}function o(E,A,S){return(A-E)*S+E}function i(E,A,S){return S>.5?A:E}function r(E,A,S,T,O){var x=E.length;if(O===1)for(var C=0;C<x;C++)T[C]=o(E[C],A[C],S);else for(var _=x&&E[0].length,C=0;C<x;C++)for(var N=0;N<_;N++)T[C][N]=o(E[C][N],A[C][N],S)}function a(E,A,S){var T=E.length,O=A.length;if(T!==O){var x=T>O;if(x)E.length=O;else for(var C=T;C<O;C++)E.push(S===1?A[C]:v.call(A[C]))}for(var _=E[0]&&E[0].length,C=0;C<E.length;C++)if(S===1)isNaN(E[C])&&(E[C]=A[C]);else for(var N=0;N<_;N++)isNaN(E[C][N])&&(E[C][N]=A[C][N])}function c(E,A,S){if(E===A)return!0;var T=E.length;if(T!==A.length)return!1;if(S===1){for(var O=0;O<T;O++)if(E[O]!==A[O])return!1}else for(var x=E[0].length,O=0;O<T;O++)for(var C=0;C<x;C++)if(E[O][C]!==A[O][C])return!1;return!0}function n(E,A,S,T,O,x,C,_,N){var F=E.length;if(N===1)for(var k=0;k<F;k++)_[k]=l(E[k],A[k],S[k],T[k],O,x,C);else for(var P=E[0].length,k=0;k<F;k++)for(var j=0;j<P;j++)_[k][j]=l(E[k][j],A[k][j],S[k][j],T[k][j],O,x,C)}function l(E,A,S,T,O,x,C){var _=(S-E)*.5,N=(T-A)*.5;return(2*(A-S)+_+N)*C+(-3*(A-S)-2*_-N)*x+_*O+A}function t(E){if(p(E)){var A=E.length;if(p(E[0])){for(var S=[],T=0;T<A;T++)S.push(v.call(E[T]));return S}return v.call(E)}return E}function s(E){return E[0]=Math.floor(E[0]),E[1]=Math.floor(E[1]),E[2]=Math.floor(E[2]),"rgba("+E.join(",")+")"}function d(E){var A=E[E.length-1].value;return p(A&&A[0])?2:1}function m(E,A,S,T,O,x){var C=E._getter,_=E._setter,N=A==="spline",F=T.length;if(!F)return;var k=T[0].value,P=p(k),j=!1,K=!1,R=P?d(T):0,B;T.sort(function(de,ee){return de.time-ee.time}),B=T[F-1].time;for(var U=[],H=[],W=T[0].value,V=!0,z=0;z<F;z++){U.push(T[z].time/B);var X=T[z].value;if(P&&c(X,W,R)||!P&&X===W||(V=!1),W=X,typeof X=="string"){var q=f.parse(X);q?(X=q,j=!0):K=!0}H.push(X)}if(!x&&V)return;for(var fe=H[F-1],z=0;z<F-1;z++)P?a(H[z],fe,R):isNaN(H[z])&&!isNaN(fe)&&!K&&!j&&(H[z]=fe);P&&a(C(E._target,O),fe,R);var G=0,ve=0,Se,ge,Pe,Ge,pt,Te;if(j)var xe=[0,0,0,0];var lt=function(ee,se){var ke;if(se<0)ke=0;else if(se<ve){for(Se=Math.min(G+1,F-1),ke=Se;ke>=0&&!(U[ke]<=se);ke--);ke=Math.min(ke,F-2)}else{for(ke=G;ke<F&&!(U[ke]>se);ke++);ke=Math.min(ke-1,F-2)}G=ke,ve=se;var Ce=U[ke+1]-U[ke];if(Ce===0)return;if(ge=(se-U[ke])/Ce,N)if(Ge=H[ke],Pe=H[ke===0?ke:ke-1],pt=H[ke>F-2?F-1:ke+1],Te=H[ke>F-3?F-1:ke+2],P)n(Pe,Ge,pt,Te,ge,ge*ge,ge*ge*ge,C(ee,O),R);else{var ze;if(j)ze=n(Pe,Ge,pt,Te,ge,ge*ge,ge*ge*ge,xe,1),ze=s(xe);else{if(K)return i(Ge,pt,ge);ze=l(Pe,Ge,pt,Te,ge,ge*ge,ge*ge*ge)}_(ee,O,ze)}else if(P)r(H[ke],H[ke+1],ge,C(ee,O),R);else{var ze;if(j)r(H[ke],H[ke+1],ge,xe,1),ze=s(xe);else{if(K)return i(H[ke],H[ke+1],ge);ze=o(H[ke],H[ke+1],ge)}_(ee,O,ze)}},Ie=new g({target:E._target,life:B,loop:E._loop,delay:E._delay,onframe:lt,ondestroy:S});return A&&A!=="spline"&&(Ie.easing=A),Ie}var w=function(A,S,T,O){this._tracks={},this._target=A,this._loop=S||!1,this._getter=T||h,this._setter=O||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};w.prototype={when:function(A,S){var T=this._tracks;for(var O in S){if(!S.hasOwnProperty(O))continue;if(!T[O]){T[O]=[];var x=this._getter(this._target,O);if(x==null)continue;A!==0&&T[O].push({time:0,value:t(x)})}T[O].push({time:A,value:S[O]})}return this},during:function(A){return this._onframeList.push(A),this},pause:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].pause();this._paused=!0},resume:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var A=this._doneList,S=A.length,T=0;T<S;T++)A[T].call(this)},start:function(A,S){var T=this,O=0,x=function(){O--,O||T._doneCallback()},C;for(var _ in this._tracks){if(!this._tracks.hasOwnProperty(_))continue;var N=m(this,A,x,this._tracks[_],_,S);N&&(this._clipList.push(N),O++,this.animation&&this.animation.addClip(N),C=N)}if(C){var F=C.onframe;C.onframe=function(k,P){F(k,P);for(var j=0;j<T._onframeList.length;j++)T._onframeList[j](k,P)}}return O||this._doneCallback(),this},stop:function(A){for(var S=this._clipList,T=this.animation,O=0;O<S.length;O++){var x=S[O];A&&x.onframe(this._target,1),T&&T.removeClip(x)}S.length=0},delay:function(A){return this._delay=A,this},done:function(A){return A&&this._doneList.push(A),this},getClips:function(){return this._clipList}};var b=w;D.exports=b},Bqw1:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},Bsck:function(D,I,e){var g=e("bYtY"),f=e("Qxkt"),y=e("Mdki"),p=e("YXkt"),v=e("sdST"),h=function(r,a){this.name=r||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=a};h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(r,a,c){typeof r=="function"&&(c=a,a=r,r=null),r=r||{},g.isString(r)&&(r={order:r});var n=r.order||"preorder",l=this[r.attr||"children"],t;n==="preorder"&&(t=a.call(c,this));for(var s=0;!t&&s<l.length;s++)l[s].eachNode(r,a,c);n==="postorder"&&a.call(c,this)},updateDepthAndHeight:function(r){var a=0;this.depth=r;for(var c=0;c<this.children.length;c++){var n=this.children[c];n.updateDepthAndHeight(r+1),n.height>a&&(a=n.height)}this.height=a+1},getNodeById:function(r){if(this.getId()===r)return this;for(var a=0,c=this.children,n=c.length;a<n;a++){var l=c[a].getNodeById(r);if(l)return l}},contains:function(r){if(r===this)return!0;for(var a=0,c=this.children,n=c.length;a<n;a++){var l=c[a].contains(r);if(l)return l}},getAncestors:function(r){for(var a=[],c=r?this:this.parentNode;c;)a.push(c),c=c.parentNode;return a.reverse(),a},getValue:function(r){var a=this.hostTree.data;return a.get(a.getDimension(r||"value"),this.dataIndex)},setLayout:function(r,a){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var a=this.hostTree,c=a.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?c.getModel(r,n.getModel(r)):c.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,a)},getVisual:function(r,a){return this.hostTree.data.getItemVisual(this.dataIndex,r,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var a=r.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function u(r,a){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=g.map(a||[],function(c){return new f(c,r,r.ecModel)})}u.prototype={constructor:u,type:"tree",eachNode:function(r,a,c){this.root.eachNode(r,a,c)},getNodeByDataIndex:function(r){var a=this.data.getRawIndex(r);return this._nodes[a]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,a=this._nodes,c=0,n=a.length;c<n;c++)a[c].dataIndex=-1;for(var c=0,n=r.count();c<n;c++)a[r.getRawIndex(c)].dataIndex=c},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(r,a,c,n){var l=new u(a,c&&c.levels),t=[],s=1;d(r);function d(b,E){var A=b.value;s=Math.max(s,g.isArray(A)?A.length:1),t.push(b);var S=new h(b.name,l);E?o(S,E):l.root=S,l._nodes.push(S);var T=b.children;if(T)for(var O=0;O<T.length;O++)d(T[O],S)}l.root.updateDepthAndHeight(0);var m=v(t,{coordDimensions:["value"],dimensionsCount:s}),w=new p(m,a);return w.initData(t),n&&n(w),y({mainData:w,struct:l,structAttr:"tree"}),l.update(),l};function o(r,a){var c=a.children;if(r.parentNode===a)return;c.push(r),r.parentNode=a}var i=u;D.exports=i},BtR2:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="LikeOutlined";var h=I.a=g.forwardRef(v)},BuqR:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("6uqw"),v=e("XxSj"),h=e("YOMW"),u=e("OELB"),o=u.reformIntervals,i=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(n,l){i.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();r[this._mode].call(this),this._resetSelected(n,l);var s=this.option.categories;this.resetVisual(function(d,m){t==="categories"?(d.mappingMethod="category",d.categories=y.clone(s)):(d.dataExtent=this.getExtent(),d.mappingMethod="piecewise",d.pieceList=y.map(this._pieceList,function(w){var w=y.clone(w);return m!=="inRange"&&(w.visual=null),w}))})},completeVisualOption:function(){var n=this.option,l={},t=v.listVisualTypes(),s=this.isCategory();y.each(n.pieces,function(m){y.each(t,function(w){m.hasOwnProperty(w)&&(l[w]=1)})}),y.each(l,function(m,w){var b=0;y.each(this.stateList,function(E){b|=d(n,E,w)||d(n.target,E,w)},this),!b&&y.each(this.stateList,function(E){(n[E]||(n[E]={}))[w]=h.get(w,E==="inRange"?"active":"inactive",s)})},this);function d(m,w,b){return m&&m[w]&&(y.isObject(m[w])?m[w].hasOwnProperty(b):m[w]===b)}p.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,s=this._pieceList,d=(l?t:n).selected||{};if(t.selected=d,y.each(s,function(w,b){var E=this.getSelectedMapKey(w);d.hasOwnProperty(E)||(d[E]=!0)},this),t.selectedMode==="single"){var m=!1;y.each(s,function(w,b){var E=this.getSelectedMapKey(w);d[E]&&(m?d[E]=!1:m=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=y.clone(n)},getValueState:function(n){var l=v.findPieceIndex(n,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var l=[];return this.eachTargetSeries(function(t){var s=[],d=t.getData();d.each(this.getDataDimension(d),function(m,w){var b=v.findPieceIndex(m,this._pieceList);b===n&&s.push(w)},this),l.push({seriesId:t.id,dataIndex:s})},this),l},getRepresentValue:function(n){var l;if(this.isCategory())l=n.value;else if(n.value!=null)l=n.value;else{var t=n.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(n){if(this.isCategory())return;var l=[],t=[],s=this;function d(E,A){var S=s.getRepresentValue({interval:E});A||(A=s.getValueState(S));var T=n(S,A);E[0]===-Infinity?t[0]=T:E[1]===Infinity?t[1]=T:l.push({value:E[0],color:T},{value:E[1],color:T})}var m=this._pieceList.slice();if(!m.length)m.push({interval:[-Infinity,Infinity]});else{var w=m[0].interval[0];w!==-Infinity&&m.unshift({interval:[-Infinity,w]}),w=m[m.length-1].interval[1],w!==Infinity&&m.push({interval:[w,Infinity]})}var b=-Infinity;return y.each(m,function(E){var A=E.interval;A&&(A[0]>b&&d([b,A[0]],"outOfRange"),d(A.slice()),b=A[1])},this),{stops:l,outerColors:t}}}),r={splitNumber:function(){var n=this.option,l=this._pieceList,t=Math.min(n.precision,20),s=this.getExtent(),d=n.splitNumber;d=Math.max(parseInt(d,10),1),n.splitNumber=d;for(var m=(s[1]-s[0])/d;+m.toFixed(t)!==m&&t<5;)t++;n.precision=t,m=+m.toFixed(t),n.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var w=0,b=s[0];w<d;b+=m,w++){var E=w===d-1?s[1]:b+m;l.push({interval:[b,E],close:[1,1]})}n.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),o(l),y.each(l,function(A,S){A.index=S,A.text=this.formatValueText(A.interval)},this)},categories:function(){var n=this.option;y.each(n.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),a(n,this._pieceList)},pieces:function(){var n=this.option,l=this._pieceList;y.each(n.pieces,function(t,s){y.isObject(t)||(t={value:t});var d={text:"",index:s};if(t.label!=null&&(d.text=t.label),t.hasOwnProperty("value")){var m=d.value=t.value;d.interval=[m,m],d.close=[1,1]}else{for(var w=d.interval=[],b=d.close=[0,0],E=[1,0,1],A=[-Infinity,Infinity],S=[],T=0;T<2;T++){for(var O=[["gte","gt","min"],["lte","lt","max"]][T],x=0;x<3&&w[T]==null;x++)w[T]=t[O[x]],b[T]=E[x],S[T]=x===2;w[T]==null&&(w[T]=A[T])}S[0]&&w[1]===Infinity&&(b[0]=0),S[1]&&w[0]===-Infinity&&(b[1]=0),w[0]===w[1]&&b[0]&&b[1]&&(d.value=w[0])}d.visual=v.retrieveVisuals(t),l.push(d)},this),a(n,l),o(l),y.each(l,function(t){var s=t.close,d=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,d)},this)}};function a(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var c=i;D.exports=c},BvKs:function(D,I,e){"use strict";e.d(I,"a",function(){return P});var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("7W2i"),r=e.n(i),a=e("LQ03"),c=e.n(a),n=e("q1tI"),l=e("1j5w"),t=e("TSYQ"),s=e.n(t),d=e("BGR+"),m=Object(n.createContext)({inlineCollapsed:!1}),w=m,b=e("0n0R"),E=function(j){r()(R,j);var K=c()(R);function R(){return h()(this,R),K.apply(this,arguments)}return o()(R,[{key:"renderTitle",value:function(U){var H=this.props,W=H.icon,V=H.title,z=H.level,X=H.rootPrefixCls;if(!W)return U&&z===1&&V&&typeof V=="string"?n.createElement("div",{className:"".concat(X,"-inline-collapsed-noicon")},V.charAt(0)):V;var q=Object(b.b)(V)&&V.type==="span";return n.createElement(n.Fragment,null,W,q?V:n.createElement("span",null,V))}},{key:"render",value:function(){var U=this,H=this.props,W=H.rootPrefixCls,V=H.popupClassName;return n.createElement(w.Consumer,null,function(z){var X=z.inlineCollapsed,q=z.antdMenuTheme;return n.createElement(l.e,f()({},Object(d.default)(U.props,["icon"]),{title:U.renderTitle(X),popupClassName:s()(W,"".concat(W,"-").concat(q),V)}))})}}]),R}(n.Component);E.contextType=w,E.isSubMenu=1;var A=E,S=e("Zm9Q"),T=e("3S7+"),O=e("ZX9x"),x=function(j,K){var R={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(R[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(R[B[U]]=j[B[U]]);return R},C=function(j){r()(R,j);var K=c()(R);function R(){var B;return h()(this,R),B=K.apply(this,arguments),B.renderItem=function(U){var H=U.siderCollapsed,W=B.props,V=W.level,z=W.className,X=W.children,q=W.rootPrefixCls,fe=B.props,G=fe.title,ve=fe.icon,Se=fe.danger,ge=x(fe,["title","icon","danger"]);return n.createElement(w.Consumer,null,function(Pe){var Ge,pt=Pe.inlineCollapsed,Te=Pe.direction,xe=G;typeof G=="undefined"?xe=V===1?X:"":G===!1&&(xe="");var lt={title:xe};!H&&!pt&&(lt.title=null,lt.visible=!1);var Ie=Object(S.a)(X).length;return n.createElement(T.a,f()({},lt,{placement:Te==="rtl"?"left":"right",overlayClassName:"".concat(q,"-inline-collapsed-tooltip")}),n.createElement(l.b,f()({},ge,{className:s()(z,(Ge={},p()(Ge,"".concat(q,"-item-danger"),Se),p()(Ge,"".concat(q,"-item-only-child"),(ve?Ie+1:Ie)===1),Ge)),title:G}),ve,B.renderItemChildren(pt)))})},B}return o()(R,[{key:"renderItemChildren",value:function(U){var H=this.props,W=H.icon,V=H.children,z=H.level,X=H.rootPrefixCls;return!W||Object(b.b)(V)&&V.type==="span"?V&&U&&z===1&&typeof V=="string"?n.createElement("div",{className:"".concat(X,"-inline-collapsed-noicon")},V.charAt(0)):V:n.createElement("span",null,V)}},{key:"render",value:function(){return n.createElement(O.a.Consumer,null,this.renderItem)}}]),R}(n.Component);C.isMenuItem=!0;var _=e("H84U"),N=e("uaoM"),F=e("EXcs"),k=function(j){r()(R,j);var K=c()(R);function R(B){var U;return h()(this,R),U=K.call(this,B),U.renderMenu=function(H){var W=H.getPopupContainer,V=H.getPrefixCls,z=H.direction,X=U.props,q=X.prefixCls,fe=X.className,G=X.theme,ve={horizontal:{motionName:"slide-up"},inline:F.a,other:{motionName:"zoom-big"}},Se=V("menu",q),ge=s()(fe,"".concat(Se,"-").concat(G),p()({},"".concat(Se,"-inline-collapsed"),U.getInlineCollapsed()));return n.createElement(w.Provider,{value:{inlineCollapsed:U.getInlineCollapsed()||!1,antdMenuTheme:G,direction:z}},n.createElement(l.f,f()({getPopupContainer:W},U.props,{className:ge,prefixCls:Se,direction:z,defaultMotions:ve})))},Object(N.a)(!("inlineCollapsed"in B&&B.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(N.a)(!(B.siderCollapsed!==void 0&&"inlineCollapsed"in B),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),U}return o()(R,[{key:"getInlineCollapsed",value:function(){var U=this.props,H=U.inlineCollapsed,W=U.siderCollapsed;return W!==void 0?W:H}},{key:"render",value:function(){return n.createElement(_.a,null,this.renderMenu)}}]),R}(n.Component);k.defaultProps={className:"",theme:"light",focusable:!1};var P=function(j){r()(R,j);var K=c()(R);function R(){return h()(this,R),K.apply(this,arguments)}return o()(R,[{key:"render",value:function(){var U=this;return n.createElement(O.a.Consumer,null,function(H){return n.createElement(k,f()({},U.props,H))})}}]),R}(n.Component);P.Divider=l.a,P.Item=C,P.SubMenu=A,P.ItemGroup=l.c},C0SR:function(D,I,e){var g=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(o,i,r){return this._doTrack(o,i,r),this._recognize(o)},clear:function(){return this._track.length=0,this},_doTrack:function(o,i,r){var a=o.touches;if(!a)return;for(var c={points:[],touches:[],target:i,event:o},n=0,l=a.length;n<l;n++){var t=a[n],s=g.clientToLocal(r,t,{});c.points.push([s.zrX,s.zrY]),c.touches.push(t)}this._track.push(c)},_recognize:function(o){for(var i in v)if(v.hasOwnProperty(i)){var r=v[i](this._track,o);if(r)return r}}};function y(u){var o=u[1][0]-u[0][0],i=u[1][1]-u[0][1];return Math.sqrt(o*o+i*i)}function p(u){return[(u[0][0]+u[1][0])/2,(u[0][1]+u[1][1])/2]}var v={pinch:function(o,i){var r=o.length;if(!r)return;var a=(o[r-1]||{}).points,c=(o[r-2]||{}).points||a;if(c&&c.length>1&&a&&a.length>1){var n=y(a)/y(c);!isFinite(n)&&(n=1),i.pinchScale=n;var l=p(a);return i.pinchX=l[0],i.pinchY=l[1],{type:"pinch",target:o[0].target,event:i}}}},h=f;D.exports=h},C0tN:function(D,I,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(D,I,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(D,I,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),y=e("TJmX"),p=e("CbHG");g.registerPreprocessor(f),g.registerVisual(y),g.registerLayout(p)},CFYs:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("PJYZ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),d=e("TSYQ"),m=e.n(d),w=e("BGR+"),b=e("V/uB"),E=e.n(b),A=e("NAnI"),S=e.n(A),T=e("J84W"),O=e.n(T),x=e("kbBi"),C=e.n(x),_=e("H84U"),N=e("CWQg"),F=e("uaoM"),k=e("Zss7"),P=e.n(k),j=2,K=.16,R=.05,B=.05,U=.15,H=5,W=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function z(Re,$e,gt){var Wt;return Math.round(Re.h)>=60&&Math.round(Re.h)<=240?Wt=gt?Math.round(Re.h)-j*$e:Math.round(Re.h)+j*$e:Wt=gt?Math.round(Re.h)+j*$e:Math.round(Re.h)-j*$e,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function X(Re,$e,gt){if(Re.h===0&&Re.s===0)return Re.s;var Wt;return gt?Wt=Re.s-K*$e:$e===W?Wt=Re.s+K:Wt=Re.s+R*$e,Wt>1&&(Wt=1),gt&&$e===H&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function q(Re,$e,gt){var Wt;return gt?Wt=Re.v+B*$e:Wt=Re.v-U*$e,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function fe(Re){for(var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},gt=[],Wt=P()(Re),$t=H;$t>0;$t-=1){var Dt=Wt.toHsv(),Kt=P()({h:z(Dt,$t,!0),s:X(Dt,$t,!0),v:q(Dt,$t,!0)}).toHexString();gt.push(Kt)}gt.push(Wt.toHexString());for(var Yt=1;Yt<=W;Yt+=1){var Qt=Wt.toHsv(),Mt=P()({h:z(Qt,Yt),s:X(Qt,Yt),v:q(Qt,Yt)}).toHexString();gt.push(Mt)}return $e.theme==="dark"?V.map(function(dr){var er=dr.index,ot=dr.opacity,xt=P.a.mix($e.backgroundColor||"#141414",gt[er],ot*100).toHexString();return xt}):gt}var G={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ve={},Se={};Object.keys(G).forEach(function(Re){ve[Re]=fe(G[Re]),ve[Re].primary=ve[Re][5],Se[Re]=fe(G[Re],{theme:"dark",backgroundColor:"#141414"}),Se[Re].primary=Se[Re][5]});var ge=ve.red,Pe=ve.volcano,Ge=ve.gold,pt=ve.orange,Te=ve.yellow,xe=ve.lime,lt=ve.green,Ie=ve.cyan,de=ve.blue,ee=ve.geekblue,se=ve.purple,ke=ve.magenta,Ce=ve.grey;function ze(Re){return!Re||Re<0?0:Re>100?100:Re}function _e(Re){var $e=Re.success,gt=Re.successPercent,Wt=gt;return $e&&"progress"in $e&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=$e.progress),$e&&"percent"in $e&&(Wt=$e.percent),Wt}var ae=function(Re,$e){var gt={};for(var Wt in Re)Object.prototype.hasOwnProperty.call(Re,Wt)&&$e.indexOf(Wt)<0&&(gt[Wt]=Re[Wt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Re);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Re,Wt[$t])&&(gt[Wt[$t]]=Re[Wt[$t]]);return gt},me=function($e){var gt=[];return Object.keys($e).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||gt.push({key:$t,value:$e[Wt]})}),gt=gt.sort(function(Wt,$t){return Wt.key-$t.key}),gt.map(function(Wt){var $t=Wt.key,Dt=Wt.value;return"".concat(Dt," ").concat($t,"%")}).join(", ")},Oe=function($e){var gt=$e.from,Wt=gt===void 0?G.blue:gt,$t=$e.to,Dt=$t===void 0?G.blue:$t,Kt=$e.direction,Yt=Kt===void 0?"to right":Kt,Qt=ae($e,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=me(Qt);return{backgroundImage:"linear-gradient(".concat(Yt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Yt,", ").concat(Wt,", ").concat(Dt,")")}},Ze=function($e){var gt=$e.prefixCls,Wt=$e.percent,$t=$e.strokeWidth,Dt=$e.size,Kt=$e.strokeColor,Yt=$e.strokeLinecap,Qt=$e.children,Mt=$e.trailColor,dr=$e.success,er=Kt&&typeof Kt!="string"?Oe(Kt):{background:Kt},ot=Mt?{backgroundColor:Mt}:void 0,xt=p()({width:"".concat(ze(Wt),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Yt==="square"?0:""},er),ut=_e($e),ft={width:"".concat(ze(ut),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Yt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},Lt=ut!==void 0?t.createElement("div",{className:"".concat(gt,"-success-bg"),style:ft}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(gt,"-outer")},t.createElement("div",{className:"".concat(gt,"-inner"),style:ot},t.createElement("div",{className:"".concat(gt,"-bg"),style:xt}),Lt)),Qt)},vt=Ze,Ct={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Be=function($e){var gt=$e.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Dt=!1;Object.keys(gt).forEach(function(Kt){var Yt=gt[Kt].current;if(!Yt)return;Dt=!0;var Qt=Yt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Dt&&(Wt.current=Date.now())}),[gt]};function Rt(){return Rt=Object.assign||function(Re){for(var $e=1;$e<arguments.length;$e++){var gt=arguments[$e];for(var Wt in gt)Object.prototype.hasOwnProperty.call(gt,Wt)&&(Re[Wt]=gt[Wt])}return Re},Rt.apply(this,arguments)}function He(Re,$e){return st(Re)||rt(Re,$e)||Ye(Re,$e)||wt()}function wt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ye(Re,$e){if(!Re)return;if(typeof Re=="string")return et(Re,$e);var gt=Object.prototype.toString.call(Re).slice(8,-1);if(gt==="Object"&&Re.constructor&&(gt=Re.constructor.name),gt==="Map"||gt==="Set")return Array.from(Re);if(gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return et(Re,$e)}function et(Re,$e){($e==null||$e>Re.length)&&($e=Re.length);for(var gt=0,Wt=new Array($e);gt<$e;gt++)Wt[gt]=Re[gt];return Wt}function rt(Re,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Re)))return;var gt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Re[Symbol.iterator](),Yt;!(Wt=(Yt=Kt.next()).done)&&!(gt.push(Yt.value),$e&>.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return gt}function st(Re){if(Array.isArray(Re))return Re}function Ve(Re,$e){if(Re==null)return{};var gt=ie(Re,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Re);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Re,Wt))continue;gt[Wt]=Re[Wt]}}return gt}function ie(Re,$e){if(Re==null)return{};var gt={},Wt=Object.keys(Re),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;gt[$t]=Re[$t]}return gt}var $=function($e){var gt=$e.className,Wt=$e.percent,$t=$e.prefixCls,Dt=$e.strokeColor,Kt=$e.strokeLinecap,Yt=$e.strokeWidth,Qt=$e.style,Mt=$e.trailColor,dr=$e.trailWidth,er=$e.transition,ot=Ve($e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ot.gapPosition;var xt=Array.isArray(Wt)?Wt:[Wt],ut=Array.isArray(Dt)?Dt:[Dt],ft=Be(xt),Lt=He(ft,1),Tt=Lt[0],ht=Yt/2,Ht=100-Yt/2,Ft="M ".concat(Kt==="round"?ht:0,",").concat(ht,`
|
|
|
L `).concat(Kt==="round"?Ht:100,",").concat(ht),ir="0 0 100 ".concat(Yt),Xt=0;return s.a.createElement("svg",Rt({className:m()("".concat($t,"-line"),gt),viewBox:ir,preserveAspectRatio:"none",style:Qt},ot),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:Ft,strokeLinecap:Kt,stroke:Mt,strokeWidth:dr||Yt,fillOpacity:"0"}),xt.map(function(mr,Ar){var Nr={strokeDasharray:"".concat(mr,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:er||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Fr=ut[Ar]||ut[ut.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:Ft,strokeLinecap:Kt,stroke:Fr,strokeWidth:Yt,fillOpacity:"0",ref:Tt[Ar],style:Nr})}))};$.defaultProps=Ct;var it=$;function Qe(){return Qe=Object.assign||function(Re){for(var $e=1;$e<arguments.length;$e++){var gt=arguments[$e];for(var Wt in gt)Object.prototype.hasOwnProperty.call(gt,Wt)&&(Re[Wt]=gt[Wt])}return Re},Qe.apply(this,arguments)}function ye(Re,$e){return It(Re)||yt(Re,$e)||dt(Re,$e)||Zt()}function Zt(){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 dt(Re,$e){if(!Re)return;if(typeof Re=="string")return ct(Re,$e);var gt=Object.prototype.toString.call(Re).slice(8,-1);if(gt==="Object"&&Re.constructor&&(gt=Re.constructor.name),gt==="Map"||gt==="Set")return Array.from(Re);if(gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gt))return ct(Re,$e)}function ct(Re,$e){($e==null||$e>Re.length)&&($e=Re.length);for(var gt=0,Wt=new Array($e);gt<$e;gt++)Wt[gt]=Re[gt];return Wt}function yt(Re,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Re)))return;var gt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Re[Symbol.iterator](),Yt;!(Wt=(Yt=Kt.next()).done)&&!(gt.push(Yt.value),$e&>.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return gt}function It(Re){if(Array.isArray(Re))return Re}function or(Re,$e){if(Re==null)return{};var gt=Bt(Re,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Re);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Re,Wt))continue;gt[Wt]=Re[Wt]}}return gt}function Bt(Re,$e){if(Re==null)return{};var gt={},Wt=Object.keys(Re),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;gt[$t]=Re[$t]}return gt}var Ae=0;function pe(Re){return+Re.replace("%","")}function he(Re){return Array.isArray(Re)?Re:[Re]}function le(Re,$e,gt,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Dt=arguments.length>5?arguments[5]:void 0,Kt=50-Wt/2,Yt=0,Qt=-Kt,Mt=0,dr=-2*Kt;switch(Dt){case"left":Yt=-Kt,Qt=0,Mt=2*Kt,dr=0;break;case"right":Yt=Kt,Qt=0,Mt=-2*Kt,dr=0;break;case"bottom":Qt=Kt,dr=2*Kt;break;default:}var er="M 50,50 m ".concat(Yt,",").concat(Qt,`
|
|
|
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(Mt,",").concat(-dr,`
|
|
|
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(-Mt,",").concat(dr),ot=Math.PI*2*Kt,xt={stroke:gt,strokeDasharray:"".concat($e/100*(ot-$t),"px ").concat(ot,"px"),strokeDashoffset:"-".concat($t/2+Re/100*(ot-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:xt}}var Ne=function($e){var gt=$e.prefixCls,Wt=$e.strokeWidth,$t=$e.trailWidth,Dt=$e.gapDegree,Kt=$e.gapPosition,Yt=$e.trailColor,Qt=$e.strokeLinecap,Mt=$e.style,dr=$e.className,er=$e.strokeColor,ot=$e.percent,xt=or($e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ut=Object(t.useMemo)(function(){return Ae+=1,Ae},[]),ft=le(0,100,Yt,Wt,Dt,Kt),Lt=ft.pathString,Tt=ft.pathStyle,ht=he(ot),Ht=he(er),Ft=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=Be(ht),Xt=ye(ir,1),mr=Xt[0],Ar=function(){var Fr=0;return ht.map(function(tn,qr){var Or=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(Or)==="[object Object]"?"url(#".concat(gt,"-gradient-").concat(ut,")"):"",Ir=le(Fr,tn,Or,Wt,Dt,Kt);return Fr+=tn,s.a.createElement("path",{key:qr,className:"".concat(gt,"-circle-path"),d:Ir.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:Ir.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",Qe({className:m()("".concat(gt,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},xt),Ft&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(gt,"-gradient-").concat(ut),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ft).sort(function(Nr,Fr){return pe(Nr)-pe(Fr)}).map(function(Nr,Fr){return s.a.createElement("stop",{key:Fr,offset:Nr,stopColor:Ft[Nr]})}))),s.a.createElement("path",{className:"".concat(gt,"-circle-trail"),d:Lt,stroke:Yt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:Tt}),Ar().reverse())};Ne.defaultProps=Ct;var je=Ne,Ke={Line:it,Circle:je};function Xe(Re){var $e=Re.percent,gt=Re.success,Wt=Re.successPercent,$t=ze($e),Dt=_e({success:gt,successPercent:Wt});return Dt?[ze(Dt),ze($t-ze(Dt))]:$t}function Fe(Re){var $e=Re.success,gt=Re.strokeColor,Wt=Re.successPercent,$t=gt||null,Dt=_e({success:$e,successPercent:Wt});return Dt?[G.green,$t]:$t}var nt=function($e){var gt=$e.prefixCls,Wt=$e.width,$t=$e.strokeWidth,Dt=$e.trailColor,Kt=$e.strokeLinecap,Yt=$e.gapPosition,Qt=$e.gapDegree,Mt=$e.type,dr=$e.children,er=Wt||120,ot={width:er,height:er,fontSize:er*.15+6},xt=$t||6,ut=Yt||Mt==="dashboard"&&"bottom"||"top",ft=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},Lt=Fe($e),Tt=Object.prototype.toString.call(Lt)==="[object Object]",ht=m()("".concat(gt,"-inner"),f()({},"".concat(gt,"-circle-gradient"),Tt));return t.createElement("div",{className:ht,style:ot},t.createElement(je,{percent:Xe($e),strokeWidth:xt,trailWidth:xt,strokeColor:Lt,strokeLinecap:Kt,trailColor:Dt,prefixCls:gt,gapDegree:ft(),gapPosition:ut}),dr)},At=nt,_t=function($e){for(var gt=$e.size,Wt=$e.steps,$t=$e.percent,Dt=$t===void 0?0:$t,Kt=$e.strokeWidth,Yt=Kt===void 0?8:Kt,Qt=$e.strokeColor,Mt=$e.trailColor,dr=$e.prefixCls,er=$e.children,ot=Math.floor(Wt*(Dt/100)),xt=gt==="small"?2:14,ut=[],ft=0;ft<Wt;ft+=1)ut.push(t.createElement("div",{key:ft,className:m()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),ft<=ot-1)),style:{backgroundColor:ft<=ot-1?Qt:Mt,width:xt,height:Yt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},ut,er)},ne=_t,ue=function(Re,$e){var gt={};for(var Wt in Re)Object.prototype.hasOwnProperty.call(Re,Wt)&&$e.indexOf(Wt)<0&&(gt[Wt]=Re[Wt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Re);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Re,Wt[$t])&&(gt[Wt[$t]]=Re[Wt[$t]]);return gt},Y=Object(N.a)("line","circle","dashboard"),te=Object(N.a)("normal","exception","active","success"),be=function(Re){c()(gt,Re);var $e=l()(gt);function gt(){var Wt;return h()(this,gt),Wt=$e.apply(this,arguments),Wt.renderProgress=function($t){var Dt,Kt=$t.getPrefixCls,Yt=$t.direction,Qt=r()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,ot=Mt.size,xt=Mt.type,ut=Mt.steps,ft=Mt.showInfo,Lt=Mt.strokeColor,Tt=ue(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),ht=Kt("progress",dr),Ht=Wt.getProgressStatus(),Ft=Wt.renderProcessInfo(ht,Ht);Object(F.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;xt==="line"?ir=ut?t.createElement(ne,p()({},Wt.props,{strokeColor:typeof Lt=="string"?Lt:void 0,prefixCls:ht,steps:ut}),Ft):t.createElement(vt,p()({},Wt.props,{prefixCls:ht}),Ft):(xt==="circle"||xt==="dashboard")&&(ir=t.createElement(At,p()({},Wt.props,{prefixCls:ht,progressStatus:Ht}),Ft));var Xt=m()(ht,(Dt={},f()(Dt,"".concat(ht,"-").concat(xt==="dashboard"&&"circle"||ut&&"steps"||xt),!0),f()(Dt,"".concat(ht,"-status-").concat(Ht),!0),f()(Dt,"".concat(ht,"-show-info"),ft),f()(Dt,"".concat(ht,"-").concat(ot),ot),f()(Dt,"".concat(ht,"-rtl"),Yt==="rtl"),Dt),er);return t.createElement("div",p()({},Object(w.default)(Tt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return o()(gt,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Dt=$t===void 0?0:$t,Kt=_e(this.props);return parseInt(Kt!==void 0?Kt.toString():Dt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return te.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Dt){var Kt=this.props,Yt=Kt.showInfo,Qt=Kt.format,Mt=Kt.type,dr=Kt.percent,er=_e(this.props);if(!Yt)return null;var ot,xt=Qt||function(ft){return"".concat(ft,"%")},ut=Mt==="line";return Qt||Dt!=="exception"&&Dt!=="success"?ot=xt(ze(dr),ze(er)):Dt==="exception"?ot=ut?t.createElement(C.a,null):t.createElement(E.a,null):Dt==="success"&&(ot=ut?t.createElement(O.a,null):t.createElement(S.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof ot=="string"?ot:void 0},ot)}},{key:"render",value:function(){return t.createElement(_.a,null,this.renderProgress)}}]),gt}(t.Component);be.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Le=I.a=be},CH3K:function(D,I){function e(g,f){for(var y=-1,p=f.length,v=g.length;++y<p;)g[v+y]=f[y];return g}D.exports=e},"CMP+":function(D,I,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,u,o){f.call(this,v,h,u),this.type=o||"value",this.model=null};y.prototype={constructor:y,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(y,f);var p=y;D.exports=p},CP8R:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"CWI+":function(D,I,e){},CbHG:function(D,I,e){var g=e("IwbS"),f=g.subPixelOptimize,y=e("zM3Q"),p=e("OELB"),v=p.parsePercent,h=e("bYtY"),u=h.retrieve2,o=typeof Float32Array!="undefined"?Float32Array:Array,i={seriesType:"candlestick",plan:y(),reset:function(c){var n=c.coordinateSystem,l=c.getData(),t=a(c,l),s=0,d=1,m=["x","y"],w=l.mapDimension(m[s]),b=l.mapDimension(m[d],!0),E=b[0],A=b[1],S=b[2],T=b[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),w==null||b.length<4)return;return{progress:c.pipelineContext.large?x:O};function O(C,_){for(var N;(N=C.next())!=null;){var F=_.get(w,N),k=_.get(E,N),P=_.get(A,N),j=_.get(S,N),K=_.get(T,N),R=Math.min(k,P),B=Math.max(k,P),U=X(R,F),H=X(B,F),W=X(j,F),V=X(K,F),z=[];q(z,H,0),q(z,U,1),z.push(G(V),G(H),G(W),G(U)),_.setItemLayout(N,{sign:r(_,N,k,P,A),initBaseline:k>P?H[d]:U[d],ends:z,brushRect:fe(j,K,F)})}function X(ve,Se){var ge=[];return ge[s]=Se,ge[d]=ve,isNaN(Se)||isNaN(ve)?[NaN,NaN]:n.dataToPoint(ge)}function q(ve,Se,ge){var Pe=Se.slice(),Ge=Se.slice();Pe[s]=f(Pe[s]+t/2,1,!1),Ge[s]=f(Ge[s]-t/2,1,!0),ge?ve.push(Pe,Ge):ve.push(Ge,Pe)}function fe(ve,Se,ge){var Pe=X(ve,ge),Ge=X(Se,ge);return Pe[s]-=t/2,Ge[s]-=t/2,{x:Pe[0],y:Pe[1],width:d?t:Ge[0]-Pe[0],height:d?Ge[1]-Pe[1]:t}}function G(ve){return ve[s]=f(ve[s],1),ve}}function x(C,_){for(var N=new o(C.count*4),F=0,k,P=[],j=[],K;(K=C.next())!=null;){var R=_.get(w,K),B=_.get(E,K),U=_.get(A,K),H=_.get(S,K),W=_.get(T,K);if(isNaN(R)||isNaN(H)||isNaN(W)){N[F++]=NaN,F+=3;continue}N[F++]=r(_,K,B,U,A),P[s]=R,P[d]=H,k=n.dataToPoint(P,null,j),N[F++]=k?k[0]:NaN,N[F++]=k?k[1]:NaN,P[d]=W,k=n.dataToPoint(P,null,j),N[F++]=k?k[1]:NaN}_.setLayout("largePoints",N)}}};function r(c,n,l,t,s){var d;return l>t?d=-1:l<t?d=1:d=n>0?c.get(s,n-1)<=t?1:-1:1,d}function a(c,n){var l=c.getBaseAxis(),t,s=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/n.count()),d=v(u(c.get("barMaxWidth"),s),s),m=v(u(c.get("barMinWidth"),1),s),w=c.get("barWidth");return w!=null?v(w,s):Math.max(Math.min(s/2,d),m)}D.exports=i},CiB2:function(D,I,e){"use strict";e.d(I,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(D,I,e){e("5NHt"),e("f3JH")},CrYA:function(D,I,e){var g=e("MFOe"),f=g.Global;D.exports={name:"sessionStorage",read:p,write:v,each:h,remove:u,clearAll:o};function y(){return f.sessionStorage}function p(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var a=y().key(r);i(p(a),a)}}function u(i){return y().removeItem(i)}function o(){return y().clear()}},Csr3:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("4vCz"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},Cwc5:function(D,I,e){var g=e("NKxu"),f=e("Npjl");function y(p,v){var h=f(p,v);return g(h)?h:void 0}D.exports=y},D1WM:function(D,I,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,u,o,i){f.call(this,v,h,u),this.type=o||"value",this.axisIndex=i};y.prototype={constructor:y,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(y,f);var p=y;D.exports=p},D5nY:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("4NO4"),p=y.makeInner,v=y.getDataItemValue,h=e("bYtY"),u=h.createHashMap,o=h.each,i=h.map,r=h.isArray,a=h.isString,c=h.isObject,n=h.isTypedArray,l=h.isArrayLike,t=h.extend,s=h.assert,d=e("7G+c"),m=e("k9D9"),w=m.SOURCE_FORMAT_ORIGINAL,b=m.SOURCE_FORMAT_ARRAY_ROWS,E=m.SOURCE_FORMAT_OBJECT_ROWS,A=m.SOURCE_FORMAT_KEYED_COLUMNS,S=m.SOURCE_FORMAT_UNKNOWN,T=m.SOURCE_FORMAT_TYPED_ARRAY,O=m.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},C=p();function _(z){var X=z.option.source,q=S;if(n(X))q=T;else if(r(X)){X.length===0&&(q=b);for(var fe=0,G=X.length;fe<G;fe++){var ve=X[fe];if(ve==null)continue;if(r(ve)){q=b;break}else if(c(ve)){q=E;break}}}else if(c(X)){for(var Se in X)if(X.hasOwnProperty(Se)&&l(X[Se])){q=A;break}}else if(X!=null)throw new Error("Invalid data");C(z).sourceFormat=q}function N(z){return C(z).source}function F(z){C(z).datasetMap=u()}function k(z){var X=z.option,q=X.data,fe=n(q)?T:w,G=!1,ve=X.seriesLayoutBy,Se=X.sourceHeader,ge=X.dimensions,Pe=H(z);if(Pe){var Ge=Pe.option;q=Ge.source,fe=C(Pe).sourceFormat,G=!0,ve=ve||Ge.seriesLayoutBy,Se==null&&(Se=Ge.sourceHeader),ge=ge||Ge.dimensions}var pt=P(q,fe,ve,Se,ge);C(z).source=new d({data:q,fromDataset:G,seriesLayoutBy:ve,sourceFormat:fe,dimensionsDefine:pt.dimensionsDefine,startIndex:pt.startIndex,dimensionsDetectCount:pt.dimensionsDetectCount,encodeDefine:X.encode})}function P(z,X,q,fe,G){if(!z)return{dimensionsDefine:j(G)};var ve,Se;if(X===b)fe==="auto"||fe==null?K(function(Pe){Pe!=null&&Pe!=="-"&&(a(Pe)?Se==null&&(Se=1):Se=0)},q,z,10):Se=fe?1:0,!G&&Se===1&&(G=[],K(function(Pe,Ge){G[Ge]=Pe!=null?Pe:""},q,z)),ve=G?G.length:q===O?z.length:z[0]?z[0].length:null;else if(X===E)G||(G=R(z));else if(X===A)G||(G=[],o(z,function(Pe,Ge){G.push(Ge)}));else if(X===w){var ge=v(z[0]);ve=r(ge)&&ge.length||1}else X===T;return{startIndex:Se,dimensionsDefine:j(G),dimensionsDetectCount:ve}}function j(z){if(!z)return;var X=u();return i(z,function(q,fe){if(q=t({},c(q)?q:{name:q}),q.name==null)return q;q.name+="",q.displayName==null&&(q.displayName=q.name);var G=X.get(q.name);return G?q.name+="-"+G.count++:X.set(q.name,{count:1}),q})}function K(z,X,q,fe){if(fe==null&&(fe=Infinity),X===O)for(var G=0;G<q.length&&G<fe;G++)z(q[G]?q[G][0]:null,G);else for(var ve=q[0]||[],G=0;G<ve.length&&G<fe;G++)z(ve[G],G)}function R(z){for(var X=0,q;X<z.length&&!(q=z[X++]););if(q){var fe=[];return o(q,function(G,ve){fe.push(ve)}),fe}}function B(z,X,q){var fe={},G=H(X);if(!G||!z)return fe;var ve=[],Se=[],ge=X.ecModel,Pe=C(ge).datasetMap,Ge=G.uid+"_"+q.seriesLayoutBy,pt,Te;z=z.slice(),o(z,function(de,ee){!c(de)&&(z[ee]={name:de}),de.type==="ordinal"&&pt==null&&(pt=ee,Te=Ie(z[ee])),fe[de.name]=[]});var xe=Pe.get(Ge)||Pe.set(Ge,{categoryWayDim:Te,valueWayDim:0});o(z,function(de,ee){var se=de.name,ke=Ie(de);if(pt==null){var Ce=xe.valueWayDim;lt(fe[se],Ce,ke),lt(Se,Ce,ke),xe.valueWayDim+=ke}else if(pt===ee)lt(fe[se],0,ke),lt(ve,0,ke);else{var Ce=xe.categoryWayDim;lt(fe[se],Ce,ke),lt(Se,Ce,ke),xe.categoryWayDim+=ke}});function lt(de,ee,se){for(var ke=0;ke<se;ke++)de.push(ee+ke)}function Ie(de){var ee=de.dimsDef;return ee?ee.length:1}return ve.length&&(fe.itemName=ve),Se.length&&(fe.seriesName=Se),fe}function U(z,X,q){var fe={},G=H(z);if(!G)return fe;var ve=X.sourceFormat,Se=X.dimensionsDefine,ge;(ve===E||ve===A)&&o(Se,function(pt,Te){(c(pt)?pt.name:pt)==="name"&&(ge=Te)});var Pe=function(){for(var pt={},Te={},xe=[],lt=0,Ie=Math.min(5,q);lt<Ie;lt++){var de=V(X.data,ve,X.seriesLayoutBy,Se,X.startIndex,lt);xe.push(de);var ee=de===x.Not;if(ee&&pt.v==null&<!==ge&&(pt.v=lt),(pt.n==null||pt.n===pt.v||!ee&&xe[pt.n]===x.Not)&&(pt.n=lt),se(pt)&&xe[pt.n]!==x.Not)return pt;ee||(de===x.Might&&Te.v==null&<!==ge&&(Te.v=lt),(Te.n==null||Te.n===Te.v)&&(Te.n=lt))}function se(ke){return ke.v!=null&&ke.n!=null}return se(pt)?pt:se(Te)?Te:null}();if(Pe){fe.value=Pe.v;var Ge=ge!=null?ge:Pe.n;fe.itemName=[Ge],fe.seriesName=[Ge]}return fe}function H(z){var X=z.option,q=X.data;if(!q)return z.ecModel.getComponent("dataset",X.datasetIndex||0)}function W(z,X){return V(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,X)}function V(z,X,q,fe,G,ve){var Se,ge=5;if(n(z))return x.Not;var Pe,Ge;if(fe){var pt=fe[ve];c(pt)?(Pe=pt.name,Ge=pt.type):a(pt)&&(Pe=pt)}if(Ge!=null)return Ge==="ordinal"?x.Must:x.Not;if(X===b)if(q===O){for(var Te=z[ve],xe=0;xe<(Te||[]).length&&xe<ge;xe++)if((Se=ee(Te[G+xe]))!=null)return Se}else for(var xe=0;xe<z.length&&xe<ge;xe++){var lt=z[G+xe];if(lt&&(Se=ee(lt[ve]))!=null)return Se}else if(X===E){if(!Pe)return x.Not;for(var xe=0;xe<z.length&&xe<ge;xe++){var Ie=z[xe];if(Ie&&(Se=ee(Ie[Pe]))!=null)return Se}}else if(X===A){if(!Pe)return x.Not;var Te=z[Pe];if(!Te||n(Te))return x.Not;for(var xe=0;xe<Te.length&&xe<ge;xe++)if((Se=ee(Te[xe]))!=null)return Se}else if(X===w)for(var xe=0;xe<z.length&&xe<ge;xe++){var Ie=z[xe],de=v(Ie);if(!r(de))return x.Not;if((Se=ee(de[ve]))!=null)return Se}function ee(se){var ke=a(se);if(se!=null&&isFinite(se)&&se!=="")return ke?x.Might:x.Not;if(ke&&se!=="-")return x.Must}return x.Not}I.BE_ORDINAL=x,I.detectSourceFormat=_,I.getSource=N,I.resetSourceDefaulter=F,I.prepareSource=k,I.makeSeriesEncodeForAxisCoordSys=B,I.makeSeriesEncodeForNameBased=U,I.guessOrdinal=W},D9ME:function(D,I,e){var g=e("IwbS"),f=e("fls0"),y=e("bYtY"),p=e("oVpE"),v=p.createSymbol,h=e("QBsz"),u=e("Sj9i");function o(a,c,n){g.Group.call(this),this.add(this.createLine(a,c,n)),this._updateEffectSymbol(a,c)}var i=o.prototype;i.createLine=function(a,c,n){return new f(a,c,n)},i._updateEffectSymbol=function(a,c){var n=a.getItemModel(c),l=n.getModel("effect"),t=l.get("symbolSize"),s=l.get("symbol");y.isArray(t)||(t=[t,t]);var d=l.get("color")||a.getItemVisual(c,"color"),m=this.childAt(1);if(this._symbolType!==s&&(this.remove(m),m=v(s,-.5,-.5,1,1,d),m.z2=100,m.culling=!0,this.add(m)),!m)return;m.setStyle("shadowColor",d),m.setStyle(l.getItemStyle(["color"])),m.attr("scale",t),m.setColor(d),m.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(a,l,c)},i._updateEffectAnimation=function(a,c,n){var l=this.childAt(1);if(!l)return;var t=this,s=a.getItemLayout(n),d=c.get("period")*1e3,m=c.get("loop"),w=c.get("constantSpeed"),b=y.retrieve(c.get("delay"),function(T){return T/a.count()*d/3}),E=typeof b=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),w>0&&(d=this.getLineLength(l)/w*1e3),d!==this._period||m!==this._loop){l.stopAnimation();var A=b;E&&(A=b(n)),l.__t>0&&(A=-d*l.__t),l.__t=0;var S=l.animate("",m).when(d,{__t:1}).delay(A).during(function(){t.updateSymbolPosition(l)});m||S.done(function(){t.remove(l)}),S.start()}this._period=d,this._loop=m},i.getLineLength=function(a){return h.dist(a.__p1,a.__cp1)+h.dist(a.__cp1,a.__p2)},i.updateAnimationPoints=function(a,c){a.__p1=c[0],a.__p2=c[1],a.__cp1=c[2]||[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]},i.updateData=function(a,c,n){this.childAt(0).updateData(a,c,n),this._updateEffectSymbol(a,c)},i.updateSymbolPosition=function(a){var c=a.__p1,n=a.__p2,l=a.__cp1,t=a.__t,s=a.position,d=[s[0],s[1]],m=u.quadraticAt,w=u.quadraticDerivativeAt;s[0]=m(c[0],l[0],n[0],t),s[1]=m(c[1],l[1],n[1],t);var b=w(c[0],l[0],n[0],t),E=w(c[1],l[1],n[1],t);if(a.rotation=-Math.atan2(E,b)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT<a.__t){var A=h.dist(d,s)*1.05;a.attr("scale",[a.scale[0],A]),t===1&&(s[0]=d[0]+(s[0]-d[0])/2,s[1]=d[1]+(s[1]-d[1])/2)}else if(a.__lastT===1){var A=2*h.dist(c,s);a.attr("scale",[a.scale[0],A])}else a.attr("scale",this._symbolScale);a.__lastT=a.__t,a.ignore=!1},i.updateLayout=function(a,c){this.childAt(0).updateLayout(a,c);var n=a.getItemModel(c).getModel("effect");this._updateEffectAnimation(a,n,c)},y.inherits(o,g.Group);var r=o;D.exports=r},DBLp:function(D,I){function e(){}e.prototype={diff:function(h,u,o){o||(o=function(E,A){return E===A}),this.equals=o;var i=this;h=h.slice(),u=u.slice();var r=u.length,a=h.length,c=1,n=r+a,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],u,h,0);if(l[0].newPos+1>=r&&t+1>=a){for(var s=[],d=0;d<u.length;d++)s.push(d);return[{indices:s,count:u.length}]}function m(){for(var b=-1*c;b<=c;b+=2){var E,A=l[b-1],S=l[b+1],T=(S?S.newPos:0)-b;A&&(l[b-1]=void 0);var O=A&&A.newPos+1<r,x=S&&0<=T&&T<a;if(!O&&!x){l[b]=void 0;continue}if(!O||x&&A.newPos<S.newPos?(E=f(S),i.pushComponent(E.components,void 0,!0)):(E=A,E.newPos++,i.pushComponent(E.components,!0,void 0)),T=i.extractCommon(E,u,h,b),E.newPos+1>=r&&T+1>=a)return g(i,E.components,u,h);l[b]=E}c++}for(;c<=n;){var w=m();if(w)return w}},pushComponent:function(h,u,o){var i=h[h.length-1];i&&i.added===u&&i.removed===o?h[h.length-1]={count:i.count+1,added:u,removed:o}:h.push({count:1,added:u,removed:o})},extractCommon:function(h,u,o,i){for(var r=u.length,a=o.length,c=h.newPos,n=c-i,l=0;c+1<r&&n+1<a&&this.equals(u[c+1],o[n+1]);)c++,n++,l++;return l&&h.components.push({count:l}),h.newPos=c,n},tokenize:function(h){return h.slice()},join:function(h){return h.slice()}};function g(v,h,u,o){for(var i=0,r=h.length,a=0,c=0;i<r;i++){var n=h[i];if(n.removed){for(var l=[],t=c;t<c+n.count;t++)l.push(t);n.indices=l,c+=n.count}else{for(var l=[],t=a;t<a+n.count;t++)l.push(t);n.indices=l,a+=n.count,n.added||(c+=n.count)}}return h}function f(v){return{newPos:v.newPos,components:v.components.slice(0)}}var y=new e;function p(v,h,u){return y.diff(v,h,u)}D.exports=p},DEFe:function(D,I,e){var g=e("bYtY"),f=e("SgGq"),y=e("Ae+d"),p=e("xSat"),v=p.onIrrelevantElement,h=e("IwbS"),u=e("W4dC"),o=e("iRjW"),i=o.getUID,r=e("DN4a");function a(s){var d=s.getItemStyle(),m=s.get("areaColor");return m!=null&&(d.fill=m),d}function c(s,d,m,w,b){m.off("click"),m.off("mousedown"),d.get("selectedMode")&&(m.on("mousedown",function(){s._mouseDownFlag=!0}),m.on("click",function(E){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var A=E.target;!A.__regions;)A=A.parent;if(!A)return;var S={type:(d.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(A.__regions,function(T){return{name:T.name,from:b.uid}})};S[d.mainType+"Id"]=d.id,w.dispatchAction(S),n(d,m)}))}function n(s,d){d.eachChild(function(m){g.each(m.__regions,function(w){m.trigger(s.isSelected(w.name)?"emphasis":"normal")})})}function l(s,d){var m=new h.Group;this.uid=i("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:d?m:null},this.group=m,this._updateGroup=d,this._mouseDownFlag,this._mapName,this._initialized,m.add(this._regionsGroup=new h.Group),m.add(this._backgroundGroup=new h.Group)}l.prototype={constructor:l,draw:function(s,d,m,w,b){var E=s.mainType==="geo",A=s.getData&&s.getData();E&&d.eachComponent({mainType:"series",subType:"map"},function(H){!A&&H.getHostGeoModel()===s&&(A=H.getData())});var S=s.coordinateSystem;this._updateBackground(S);var T=this._regionsGroup,O=this.group,x=S.getTransformInfo(),C=!T.childAt(0)||b,_;if(C)O.transform=x.roamTransform,O.decomposeTransform(),O.dirty();else{var N=new r;N.transform=x.roamTransform,N.decomposeTransform();var F={scale:N.scale,position:N.position};_=N.scale,h.updateProps(O,F,s)}var k=x.rawScale,P=x.rawPosition;T.removeAll();var j=["itemStyle"],K=["emphasis","itemStyle"],R=["label"],B=["emphasis","label"],U=g.createHashMap();g.each(S.regions,function(H){var W=U.get(H.name)||U.set(H.name,new h.Group),V=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});W.add(V);var z=s.getRegionModel(H.name)||s,X=z.getModel(j),q=z.getModel(K),fe=a(X),G=a(q),ve=z.getModel(R),Se=z.getModel(B),ge;if(A){ge=A.indexOfName(H.name);var Pe=A.getItemVisual(ge,"color",!0);Pe&&(fe.fill=Pe)}var Ge=function(Ce){return[Ce[0]*k[0]+P[0],Ce[1]*k[1]+P[1]]};g.each(H.geometries,function(Ce){if(Ce.type!=="polygon")return;for(var ze=[],_e=0;_e<Ce.exterior.length;++_e)ze.push(Ge(Ce.exterior[_e]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:ze}}));for(var _e=0;_e<(Ce.interiors?Ce.interiors.length:0);++_e){for(var ae=Ce.interiors[_e],ze=[],me=0;me<ae.length;++me)ze.push(Ge(ae[me]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:ze}}))}}),V.setStyle(fe),V.style.strokeNoScale=!0,V.culling=!0;var pt=ve.get("show"),Te=Se.get("show"),xe=A&&isNaN(A.get(A.mapDimension("value"),ge)),lt=A&&A.getItemLayout(ge);if(E||xe&&(pt||Te)||lt&<.showLabel){var Ie=E?H.name:ge,de;(!A||ge>=0)&&(de=s);var ee=new h.Text({position:Ge(H.center.slice()),scale:[1/O.scale[0],1/O.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(ee.style,ee.hoverStyle={},ve,Se,{labelFetcher:de,labelDataIndex:Ie,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var se=[1/_[0],1/_[1]];h.updateProps(ee,{scale:se},s)}W.add(ee)}if(A)A.setItemGraphicEl(ge,W);else{var z=s.getRegionModel(H.name);V.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:H.name,region:z&&z.option||{}}}var ke=W.__regions||(W.__regions=[]);ke.push(H),W.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(W,G),T.add(W)}),this._updateController(s,d,m),c(this,s,T,m,w),n(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var d=s.map;this._mapName!==d&&g.each(u.makeGraphic(d,this.uid),function(m){this._backgroundGroup.add(m)},this),this._mapName=d},_updateController:function(s,d,m){var w=s.coordinateSystem,b=this._controller,E=this._controllerHost;E.zoomLimit=s.get("scaleLimit"),E.zoom=w.getZoom(),b.enable(s.get("roam")||!1);var A=s.mainType;function S(){var T={type:"geoRoam",componentType:A};return T[A+"Id"]=s.id,T}b.off("pan").on("pan",function(T){this._mouseDownFlag=!1,y.updateViewOnPan(E,T.dx,T.dy),m.dispatchAction(g.extend(S(),{dx:T.dx,dy:T.dy}))},this),b.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,y.updateViewOnZoom(E,T.scale,T.originX,T.originY),m.dispatchAction(g.extend(S(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var O=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/O[0],1/O[1]])})}},this),b.setPointerChecker(function(T,O,x){return w.getViewRectAfterRoam().contain(O,x)&&!v(T,m,s)})}};var t=l;D.exports=t},DFOY:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("PJYZ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("uciX"),d=e("2W6z"),m=e.n(d),w=e("4IlW"),b=e("uK0f"),E=e.n(b);function A(he,le){if(he===le)return!0;if(!he||!le)return!1;var Ne=he.length;if(le.length!==Ne)return!1;for(var je=0;je<Ne;je++)if(he[je]!==le[je])return!1;return!0}function S(he){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(Ne){return typeof Ne}:S=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},S(he)}function T(he,le){if(!(he instanceof le))throw new TypeError("Cannot call a class as a function")}function O(he,le){for(var Ne=0;Ne<le.length;Ne++){var je=le[Ne];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(he,je.key,je)}}function x(he,le,Ne){return le&&O(he.prototype,le),Ne&&O(he,Ne),he}function C(he,le){if(typeof le!="function"&&le!==null)throw new TypeError("Super expression must either be null or a function");he.prototype=Object.create(le&&le.prototype,{constructor:{value:he,writable:!0,configurable:!0}}),le&&_(he,le)}function _(he,le){return _=Object.setPrototypeOf||function(je,Ke){return je.__proto__=Ke,je},_(he,le)}function N(he){var le=P();return function(){var Ne=j(he),je;if(le){var Ke=j(this).constructor;je=Reflect.construct(Ne,arguments,Ke)}else je=Ne.apply(this,arguments);return F(this,je)}}function F(he,le){return le&&(S(le)==="object"||typeof le=="function")?le: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 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(he){return!1}}function j(he){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},j(he)}var K=function(){var he=function(le){C(je,le);var Ne=N(je);function je(){var Ke;return T(this,je),Ke=Ne.apply(this,arguments),Ke.menuItems={},Ke.saveMenuItem=function(Xe){return function(Fe){Ke.menuItems[Xe]=Fe}},Ke}return x(je,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Xe){!Xe.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Xe){var Fe=this.props,nt=Fe.fieldNames,At=Fe.defaultFieldNames;return nt[Xe]||At[Xe]}},{key:"getOption",value:function(Xe,Fe){var nt=this.props,At=nt.prefixCls,_t=nt.expandTrigger,ne=nt.expandIcon,ue=nt.loadingIcon,Y=this.props.onSelect.bind(this,Xe,Fe),te=this.props.onItemDoubleClick.bind(this,Xe,Fe),be={onClick:Y,onDoubleClick:te},Le="".concat(At,"-menu-item"),Re=null,$e=Xe[this.getFieldName("children")]&&Xe[this.getFieldName("children")].length>0;($e||Xe.isLeaf===!1)&&(Le+=" ".concat(At,"-menu-item-expand"),Xe.loading||(Re=t.createElement("span",{className:"".concat(At,"-menu-item-expand-icon")},ne))),_t==="hover"&&($e||Xe.isLeaf===!1)&&(be={onMouseEnter:this.delayOnSelect.bind(this,Y),onMouseLeave:this.delayOnSelect.bind(this),onClick:Y}),this.isActiveOption(Xe,Fe)&&(Le+=" ".concat(At,"-menu-item-active"),be.ref=this.saveMenuItem(Fe)),Xe.disabled&&(Le+=" ".concat(At,"-menu-item-disabled"));var gt=null;Xe.loading&&(Le+=" ".concat(At,"-menu-item-loading"),gt=ue||null);var Wt="";return"title"in Xe?Wt=Xe.title:typeof Xe[this.getFieldName("label")]=="string"&&(Wt=Xe[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Xe[this.getFieldName("value")],className:Le,title:Wt},be,{role:"menuitem",onMouseDown:function(Dt){return Dt.preventDefault()}}),Xe[this.getFieldName("label")],Re,gt)}},{key:"getActiveOptions",value:function(Xe){var Fe=this,nt=this.props.options,At=Xe||this.props.activeValue;return E()(nt,function(_t,ne){return _t[Fe.getFieldName("value")]===At[ne]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Xe=this,Fe=this.props.options,nt=this.getActiveOptions().map(function(At){return At[Xe.getFieldName("children")]}).filter(function(At){return!!At});return nt.unshift(Fe),nt}},{key:"delayOnSelect",value:function(Xe){for(var Fe=this,nt=arguments.length,At=new Array(nt>1?nt-1:0),_t=1;_t<nt;_t++)At[_t-1]=arguments[_t];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Xe=="function"&&(this.delayTimer=window.setTimeout(function(){Xe(At),Fe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Xe=this.getShowOptions().length,Fe=0;Fe<Xe;Fe++){var nt=this.menuItems[Fe];nt&&nt.parentElement&&(nt.parentElement.scrollTop=nt.offsetTop)}}},{key:"isActiveOption",value:function(Xe,Fe){var nt=this.props.activeValue,At=nt===void 0?[]:nt;return At[Fe]===Xe[this.getFieldName("value")]}},{key:"render",value:function(){var Xe=this,Fe=this.props,nt=Fe.prefixCls,At=Fe.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(_t,ne){return t.createElement("ul",{className:"".concat(nt,"-menu"),key:ne,style:At},_t.map(function(ue){return Xe.getOption(ue,ne)}))}))}}]),je}(t.Component);return he.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},he}(),R=K,B={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}}},U=B;function H(he){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(Ne){return typeof Ne}:H=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},H(he)}function W(he,le){if(he==null)return{};var Ne=V(he,le),je,Ke;if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(he);for(Ke=0;Ke<Xe.length;Ke++){if(je=Xe[Ke],le.indexOf(je)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(he,je))continue;Ne[je]=he[je]}}return Ne}function V(he,le){if(he==null)return{};var Ne={},je=Object.keys(he),Ke,Xe;for(Xe=0;Xe<je.length;Xe++){if(Ke=je[Xe],le.indexOf(Ke)>=0)continue;Ne[Ke]=he[Ke]}return Ne}function z(he){return G(he)||fe(he)||q(he)||X()}function X(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q(he,le){if(!he)return;if(typeof he=="string")return ve(he,le);var Ne=Object.prototype.toString.call(he).slice(8,-1);if(Ne==="Object"&&he.constructor&&(Ne=he.constructor.name),Ne==="Map"||Ne==="Set")return Array.from(he);if(Ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ne))return ve(he,le)}function fe(he){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(he))return Array.from(he)}function G(he){if(Array.isArray(he))return ve(he)}function ve(he,le){(le==null||le>he.length)&&(le=he.length);for(var Ne=0,je=new Array(le);Ne<le;Ne++)je[Ne]=he[Ne];return je}function Se(he,le){if(!(he instanceof le))throw new TypeError("Cannot call a class as a function")}function ge(he,le){for(var Ne=0;Ne<le.length;Ne++){var je=le[Ne];je.enumerable=je.enumerable||!1,je.configurable=!0,"value"in je&&(je.writable=!0),Object.defineProperty(he,je.key,je)}}function Pe(he,le,Ne){return le&&ge(he.prototype,le),Ne&&ge(he,Ne),he}function Ge(he,le){if(typeof le!="function"&&le!==null)throw new TypeError("Super expression must either be null or a function");he.prototype=Object.create(le&&le.prototype,{constructor:{value:he,writable:!0,configurable:!0}}),le&&pt(he,le)}function pt(he,le){return pt=Object.setPrototypeOf||function(je,Ke){return je.__proto__=Ke,je},pt(he,le)}function Te(he){var le=Ie();return function(){var Ne=de(he),je;if(le){var Ke=de(this).constructor;je=Reflect.construct(Ne,arguments,Ke)}else je=Ne.apply(this,arguments);return xe(this,je)}}function xe(he,le){return le&&(H(le)==="object"||typeof le=="function")?le:lt(he)}function lt(he){if(he===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return he}function Ie(){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 de(he){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},de(he)}var ee=function(){var he=function(le){Ge(je,le);var Ne=Te(je);function je(Ke){var Xe;Se(this,je),Xe=Ne.call(this,Ke),Xe.setPopupVisible=function(nt){var At=Xe.state.value;"popupVisible"in Xe.props||Xe.setState({popupVisible:nt}),nt&&!Xe.state.popupVisible&&Xe.setState({activeValue:At}),Xe.props.onPopupVisibleChange(nt)},Xe.handleChange=function(nt,At,_t){var ne=At.visible;(_t.type!=="keydown"||_t.keyCode===w.a.ENTER)&&(Xe.props.onChange(nt.map(function(ue){return ue[Xe.getFieldName("value")]}),nt),Xe.setPopupVisible(ne))},Xe.handlePopupVisibleChange=function(nt){Xe.setPopupVisible(nt)},Xe.handleMenuSelect=function(nt,At,_t){var ne=Xe.trigger.getRootDomNode();ne&&ne.focus&&ne.focus();var ue=Xe.props,Y=ue.changeOnSelect,te=ue.loadData,be=ue.expandTrigger;if(!nt||nt.disabled)return;var Le=Xe.state.activeValue;Le=Le.slice(0,At+1),Le[At]=nt[Xe.getFieldName("value")];var Re=Xe.getActiveOptions(Le);if(nt.isLeaf===!1&&!nt[Xe.getFieldName("children")]&&te){Y&&Xe.handleChange(Re,{visible:!0},_t),Xe.setState({activeValue:Le}),te(Re);return}var $e={};!nt[Xe.getFieldName("children")]||!nt[Xe.getFieldName("children")].length?(Xe.handleChange(Re,{visible:!1},_t),$e.value=Le):Y&&(_t.type==="click"||_t.type==="keydown")&&(be==="hover"?Xe.handleChange(Re,{visible:!1},_t):Xe.handleChange(Re,{visible:!0},_t),$e.value=Le),$e.activeValue=Le,("value"in Xe.props||_t.type==="keydown"&&_t.keyCode!==w.a.ENTER)&&delete $e.value,Xe.setState($e)},Xe.handleItemDoubleClick=function(){var nt=Xe.props.changeOnSelect;nt&&Xe.setPopupVisible(!1)},Xe.handleKeyDown=function(nt){var At=Xe.props.children;if(At&&At.props.onKeyDown){At.props.onKeyDown(nt);return}var _t=z(Xe.state.activeValue),ne=_t.length-1<0?0:_t.length-1,ue=Xe.getCurrentLevelOptions(),Y=ue.map(function(Re){return Re[Xe.getFieldName("value")]}).indexOf(_t[ne]);if(nt.keyCode!==w.a.DOWN&&nt.keyCode!==w.a.UP&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ENTER&&nt.keyCode!==w.a.SPACE&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB)return;if(!Xe.state.popupVisible&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB){Xe.setPopupVisible(!0);return}if(nt.keyCode===w.a.DOWN||nt.keyCode===w.a.UP){nt.preventDefault();var te=Y;te!==-1?nt.keyCode===w.a.DOWN?(te+=1,te=te>=ue.length?0:te):(te-=1,te=te<0?ue.length-1:te):te=0,_t[ne]=ue[te][Xe.getFieldName("value")]}else if(nt.keyCode===w.a.LEFT||nt.keyCode===w.a.BACKSPACE)nt.preventDefault(),_t.splice(_t.length-1,1);else if(nt.keyCode===w.a.RIGHT)nt.preventDefault(),ue[Y]&&ue[Y][Xe.getFieldName("children")]&&_t.push(ue[Y][Xe.getFieldName("children")][0][Xe.getFieldName("value")]);else if(nt.keyCode===w.a.ESC||nt.keyCode===w.a.TAB){Xe.setPopupVisible(!1);return}(!_t||_t.length===0)&&Xe.setPopupVisible(!1);var be=Xe.getActiveOptions(_t),Le=be[be.length-1];Xe.handleMenuSelect(Le,be.length-1,nt),Xe.props.onKeyDown&&Xe.props.onKeyDown(nt)},Xe.saveTrigger=function(nt){Xe.trigger=nt};var Fe=[];return"value"in Ke?Fe=Ke.value||[]:"defaultValue"in Ke&&(Fe=Ke.defaultValue||[]),m()(!("filedNames"in Ke),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Xe.state={popupVisible:Ke.popupVisible,activeValue:Fe,value:Fe,prevProps:Ke},Xe.defaultFieldNames={label:"label",value:"value",children:"children"},Xe}return Pe(je,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Xe){var Fe=this.defaultFieldNames,nt=this.props,At=nt.fieldNames,_t=nt.filedNames;return"filedNames"in this.props?_t[Xe]||Fe[Xe]:At[Xe]||Fe[Xe]}},{key:"getFieldNames",value:function(){var Xe=this.props,Fe=Xe.fieldNames,nt=Xe.filedNames;return"filedNames"in this.props?nt:Fe}},{key:"getCurrentLevelOptions",value:function(){var Xe=this,Fe=this.props.options,nt=Fe===void 0?[]:Fe,At=this.state.activeValue,_t=At===void 0?[]:At,ne=E()(nt,function(ue,Y){return ue[Xe.getFieldName("value")]===_t[Y]},{childrenKeyName:this.getFieldName("children")});return ne[ne.length-2]?ne[ne.length-2][this.getFieldName("children")]:z(nt).filter(function(ue){return!ue.disabled})}},{key:"getActiveOptions",value:function(Xe){var Fe=this;return E()(this.props.options||[],function(nt,At){return nt[Fe.getFieldName("value")]===Xe[At]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Xe=this.props,Fe=Xe.prefixCls,nt=Xe.transitionName,At=Xe.popupClassName,_t=Xe.options,ne=_t===void 0?[]:_t,ue=Xe.disabled,Y=Xe.builtinPlacements,te=Xe.popupPlacement,be=Xe.children,Le=Xe.dropdownRender,Re=W(Xe,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),$e=t.createElement("div",null),gt="";ne&&ne.length>0?$e=t.createElement(R,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):gt=" ".concat(Fe,"-menus-empty");var Wt=$e;return Le&&(Wt=Le($e)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Re,{popupPlacement:te,builtinPlacements:Y,popupTransitionName:nt,action:ue?[]:["click"],popupVisible:ue?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Fe,"-menus"),popupClassName:At+gt,popup:Wt}),t.cloneElement(be,{onKeyDown:this.handleKeyDown,tabIndex:ue?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Fe){var nt=Fe.prevProps,At=nt===void 0?{}:nt,_t={prevProps:Xe};return"value"in Xe&&!A(At.value,Xe.value)&&(_t.value=Xe.value||[],"loadData"in Xe||(_t.activeValue=Xe.value||[])),"popupVisible"in Xe&&(_t.popupVisible=Xe.popupVisible),_t}}]),je}(t.Component);return he.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:U,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},he}(),se=ee,ke=se,Ce=e("TSYQ"),ze=e.n(Ce),_e=e("BGR+"),ae=e("kbBi"),me=e.n(ae),Oe=e("HQEm"),Ze=e.n(Oe),vt=e("fEPi"),Ct=e.n(vt),Be=e("5YOS"),Rt=e.n(Be),He=e("DFhj"),wt=e.n(He),Ye=e("5rEg"),et=e("H84U"),rt=e("YMnH"),st=e("uaoM"),Ve=e("3Nzz"),ie=e("0n0R"),$=function(he,le){var Ne={};for(var je in he)Object.prototype.hasOwnProperty.call(he,je)&&le.indexOf(je)<0&&(Ne[je]=he[je]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,je=Object.getOwnPropertySymbols(he);Ke<je.length;Ke++)le.indexOf(je[Ke])<0&&Object.prototype.propertyIsEnumerable.call(he,je[Ke])&&(Ne[je[Ke]]=he[je[Ke]]);return Ne},it=50;function Qe(he,le,Ne){return he.split(le).map(function(je,Ke){return Ke===0?je:[t.createElement("span",{className:"".concat(Ne,"-menu-item-keyword"),key:"seperator"},le),je]})}function ye(he,le,Ne){return le.some(function(je){return je[Ne.label].indexOf(he)>-1})}function Zt(he,le,Ne,je){return le.map(function(Ke,Xe){var Fe=Ke[je.label],nt=Fe.indexOf(he)>-1?Qe(Fe,he,Ne):Fe;return Xe===0?nt:[" / ",nt]})}function dt(he,le,Ne,je){function Ke(Xe){return Xe[je.label].indexOf(Ne)>-1}return he.findIndex(Ke)-le.findIndex(Ke)}function ct(he){var le=he.fieldNames;return le}function yt(he){var le=ct(he)||{},Ne={children:le.children||"children",label:le.label||"label",value:le.value||"value"};return Ne}function It(he,le){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],je=yt(le),Ke=[],Xe=je.children;return he.forEach(function(Fe){var nt=Ne.concat(Fe);(le.changeOnSelect||!Fe[Xe]||!Fe[Xe].length)&&Ke.push(nt),Fe[Xe]&&(Ke=Ke.concat(It(Fe[Xe],le,nt)))}),Ke}var or=function(le){return le.join(" / ")};function Bt(he){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(he||[]).forEach(function(Ne){var je=le.value||"value";Object(st.a)(je in Ne,"Cascader","Not found `value` in `options`."),Bt(Ne[le.children||"children"],le)})}var Ae=function(he){c()(Ne,he);var le=l()(Ne);function Ne(je){var Ke;return h()(this,Ne),Ke=le.call(this,je),Ke.cachedOptions=[],Ke.setValue=function(Xe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Ke.props||Ke.setState({value:Xe});var nt=Ke.props.onChange;nt&&nt(Xe,Fe)},Ke.saveInput=function(Xe){Ke.input=Xe},Ke.handleChange=function(Xe,Fe){if(Ke.setState({inputValue:""}),Fe[0].__IS_FILTERED_OPTION){var nt=Xe[0],At=Fe[0].path;Ke.setValue(nt,At);return}Ke.setValue(Xe,Fe)},Ke.handlePopupVisibleChange=function(Xe){"popupVisible"in Ke.props||Ke.setState(function(nt){return{popupVisible:Xe,inputFocused:Xe,inputValue:Xe?nt.inputValue:""}});var Fe=Ke.props.onPopupVisibleChange;Fe&&Fe(Xe)},Ke.handleInputBlur=function(){Ke.setState({inputFocused:!1})},Ke.handleInputClick=function(Xe){var Fe=Ke.state,nt=Fe.inputFocused,At=Fe.popupVisible;(nt||At)&&Xe.stopPropagation()},Ke.handleKeyDown=function(Xe){(Xe.keyCode===w.a.BACKSPACE||Xe.keyCode===w.a.SPACE)&&Xe.stopPropagation()},Ke.handleInputChange=function(Xe){var Fe=Ke.state.popupVisible,nt=Xe.target.value;Fe||Ke.handlePopupVisibleChange(!0),Ke.setState({inputValue:nt})},Ke.clearSelection=function(Xe){var Fe=Ke.state.inputValue;Xe.preventDefault(),Xe.stopPropagation(),Fe?Ke.setState({inputValue:""}):(Ke.handlePopupVisibleChange(!1),Ke.clearSelectionTimeout=setTimeout(function(){Ke.setValue([])},200))},Ke.renderCascader=function(Xe,Fe){var nt=Xe.getPopupContainer,At=Xe.getPrefixCls,_t=Xe.renderEmpty,ne=Xe.direction;return t.createElement(Ve.b.Consumer,null,function(ue){var Y,te,be,Le,Re=r()(Ke),$e=Re.props,gt=Re.state,Wt=$e.prefixCls,$t=$e.inputPrefixCls,Dt=$e.children,Kt=$e.placeholder,Yt=Kt===void 0?Fe.placeholder||"Please select":Kt,Qt=$e.size,Mt=$e.disabled,dr=$e.className,er=$e.style,ot=$e.allowClear,xt=$e.showSearch,ut=xt===void 0?!1:xt,ft=$e.suffixIcon,Lt=$e.expandIcon,Tt=$e.notFoundContent,ht=$e.popupClassName,Ht=$e.bordered,Ft=$e.dropdownRender,ir=$($e,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||ue,mr=gt.value,Ar=gt.inputFocused,Nr=ne==="rtl",Fr=At("cascader",Wt),tn=At("input",$t),qr=ze()((Y={},p()(Y,"".concat(tn,"-lg"),Xt==="large"),p()(Y,"".concat(tn,"-sm"),Xt==="small"),Y)),Or=ot&&!Mt&&mr.length>0||gt.inputValue?t.createElement(me.a,{className:"".concat(Fr,"-picker-clear"),onClick:Ke.clearSelection}):null,Qr=ze()((te={},p()(te,"".concat(Fr,"-picker-arrow"),!0),p()(te,"".concat(Fr,"-picker-arrow-expand"),gt.popupVisible),te)),Ir=ze()(dr,"".concat(Fr,"-picker"),(be={},p()(be,"".concat(Fr,"-picker-rtl"),Nr),p()(be,"".concat(Fr,"-picker-with-value"),gt.inputValue),p()(be,"".concat(Fr,"-picker-disabled"),Mt),p()(be,"".concat(Fr,"-picker-").concat(Xt),!!Xt),p()(be,"".concat(Fr,"-picker-show-search"),!!ut),p()(be,"".concat(Fr,"-picker-focused"),Ar),p()(be,"".concat(Fr,"-picker-borderless"),!Ht),be)),ur=Object(_e.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=$e.options,cr=yt(Ke.props);if(pr&&pr.length>0)gt.inputValue&&(pr=Ke.generateFilteredOptions(Fr,_t));else{var fr;pr=[(fr={},p()(fr,cr.label,Tt||_t("Cascader")),p()(fr,cr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}gt.popupVisible?Ke.cachedOptions=pr:pr=Ke.cachedOptions;var xr={},Gr=(pr||[]).length===1&&pr[0].isEmptyNode;Gr&&(xr.height="auto");var un=ut.matchInputWidth!==!1;un&&(gt.inputValue||Gr)&&Ke.input&&(xr.width=Ke.input.input.offsetWidth);var Nn;ft?Nn=Object(ie.c)(ft,t.createElement("span",{className:"".concat(Fr,"-picker-arrow")},ft),function(){var Gn;return{className:ze()((Gn={},p()(Gn,ft.props.className,ft.props.className),p()(Gn,"".concat(Fr,"-picker-arrow"),!0),Gn))}}):Nn=t.createElement(Ze.a,{className:Qr});var jr=Dt||t.createElement("span",{style:er,className:Ir},t.createElement("span",{className:"".concat(Fr,"-picker-label")},Ke.getLabel()),t.createElement(Ye.a,f()({},ur,{tabIndex:"-1",ref:Ke.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Yt,className:"".concat(Fr,"-input ").concat(qr),value:gt.inputValue,disabled:Mt,readOnly:!ut,autoComplete:ur.autoComplete||"off",onClick:ut?Ke.handleInputClick:void 0,onBlur:ut?Ke.handleInputBlur:void 0,onKeyDown:Ke.handleKeyDown,onChange:ut?Ke.handleInputChange:void 0})),Or,Nn),Tn;Lt?Tn=Lt:Tn=Nr?t.createElement(wt.a,null):t.createElement(Ct.a,null);var gn=t.createElement("span",{className:"".concat(Fr,"-menu-item-loading-icon")},t.createElement(Rt.a,{spin:!0})),Pn=$e.getPopupContainer||nt,zn=Object(_e.default)($e,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=ze()(ht,(Le={},p()(Le,"".concat(Fr,"-menu-").concat(ne),ne==="rtl"),p()(Le,"".concat(Fr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),Le));return t.createElement(ke,f()({},zn,{prefixCls:Fr,getPopupContainer:Pn,options:pr,value:mr,popupVisible:gt.popupVisible,onPopupVisibleChange:Ke.handlePopupVisibleChange,onChange:Ke.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:Ke.getPopupPlacement(ne),dropdownRender:Ft}),jr)})},Ke.state={value:je.value||je.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:je.popupVisible,flattenOptions:je.showSearch?It(je.options,je):void 0,prevProps:je},Ke}return o()(Ne,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Ke=this.props,Xe=Ke.options,Fe=Ke.displayRender,nt=Fe===void 0?or:Fe,At=yt(this.props),_t=this.state.value,ne=Array.isArray(_t[0])?_t[0]:_t,ue=E()(Xe,function(te,be){return te[At.value]===ne[be]},{childrenKeyName:At.children}),Y=ue.length?ue.map(function(te){return te[At.label]}):_t;return nt(Y,ue)}},{key:"generateFilteredOptions",value:function(Ke,Xe){var Fe=this,nt,At=this.props,_t=At.showSearch,ne=At.notFoundContent,ue=yt(this.props),Y=_t.filter,te=Y===void 0?ye:Y,be=_t.render,Le=be===void 0?Zt:be,Re=_t.sort,$e=Re===void 0?dt:Re,gt=_t.limit,Wt=gt===void 0?it:gt,$t=this.state,Dt=$t.flattenOptions,Kt=Dt===void 0?[]:Dt,Yt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;Kt.some(function(dr){var er=te(Fe.state.inputValue,dr,ue);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(st.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=Kt.filter(function(dr){return te(Fe.state.inputValue,dr,ue)});return Qt=Qt.sort(function(dr,er){return $e(dr,er,Yt,ue)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},p()(er,ue.value,dr.map(function(ot){return ot[ue.value]})),p()(er,ue.label,Le(Yt,dr,Ke,ue)),p()(er,"disabled",dr.some(function(ot){return!!ot.disabled})),p()(er,"isEmptyNode",!0),er}):[(nt={},p()(nt,ue.value,"ANT_CASCADER_NOT_FOUND"),p()(nt,ue.label,ne||Xe("Cascader")),p()(nt,"disabled",!0),p()(nt,"isEmptyNode",!0),nt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Xe=this.props.popupPlacement;return Xe!==void 0?Xe:Ke==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Ke=this;return t.createElement(et.a,null,function(Xe){return t.createElement(rt.a,null,function(Fe){return Ke.renderCascader(Xe,Fe)})})}}],[{key:"getDerivedStateFromProps",value:function(Ke,Xe){var Fe=Xe.prevProps,nt={prevProps:Ke};return"value"in Ke&&(nt.value=Ke.value||[]),"popupVisible"in Ke&&(nt.popupVisible=Ke.popupVisible),Ke.showSearch&&Fe.options!==Ke.options&&(nt.flattenOptions=It(Ke.options,Ke)),nt}}]),Ne}(t.Component);Ae.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var pe=I.a=Ae},DFhj:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("GGyF"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},DL4k:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},DN4a:function(D,I,e){var g=e("Fofx"),f=e("QBsz"),y=g.identity,p=5e-5;function v(c){return c>p||c<-p}var h=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=h.prototype;u.transform=null,u.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 o=[];u.updateTransform=function(){var c=this.parent,n=c&&c.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&y(t);return}t=t||g.create(),l?this.getLocalTransform(t):y(t),n&&(l?g.mul(t,c.transform,t):g.copy(t,c.transform)),this.transform=t;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(o);var d=o[0]<0?-1:1,m=o[1]<0?-1:1,w=((o[0]-d)*s+d)/o[0]||0,b=((o[1]-m)*s+m)/o[1]||0;t[0]*=w,t[1]*=w,t[2]*=b,t[3]*=b}this.invTransform=this.invTransform||g.create(),g.invert(this.invTransform,t)},u.getLocalTransform=function(c){return h.getLocalTransform(this,c)},u.setTransform=function(c){var n=this.transform,l=c.dpr||1;n?c.setTransform(l*n[0],l*n[1],l*n[2],l*n[3],l*n[4],l*n[5]):c.setTransform(l,0,0,l,0,0)},u.restoreTransform=function(c){var n=c.dpr||1;c.setTransform(n,0,0,n,0,0)};var i=[],r=g.create();u.setLocalTransform=function(c){if(!c)return;var n=c[0]*c[0]+c[1]*c[1],l=c[2]*c[2]+c[3]*c[3],t=this.position,s=this.scale;v(n-1)&&(n=Math.sqrt(n)),v(l-1)&&(l=Math.sqrt(l)),c[0]<0&&(n=-n),c[3]<0&&(l=-l),t[0]=c[4],t[1]=c[5],s[0]=n,s[1]=l,this.rotation=Math.atan2(-c[1]/l,c[0]/n)},u.decomposeTransform=function(){if(!this.transform)return;var c=this.parent,n=this.transform;c&&c.transform&&(g.mul(i,c.invTransform,n),n=i);var l=this.origin;l&&(l[0]||l[1])&&(r[4]=l[0],r[5]=l[1],g.mul(i,n,r),i[4]-=l[0],i[5]-=l[1],n=i),this.setLocalTransform(n)},u.getGlobalScale=function(c){var n=this.transform;return c=c||[],n?(c[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(c[0]=-c[0]),n[3]<0&&(c[1]=-c[1]),c):(c[0]=1,c[1]=1,c)},u.transformCoordToLocal=function(c,n){var l=[c,n],t=this.invTransform;return t&&f.applyTransform(l,l,t),l},u.transformCoordToGlobal=function(c,n){var l=[c,n],t=this.transform;return t&&f.applyTransform(l,l,t),l},h.getLocalTransform=function(c,n){n=n||[],y(n);var l=c.origin,t=c.scale||[1,1],s=c.rotation||0,d=c.position||[0,0];return l&&(n[4]-=l[0],n[5]-=l[1]),g.scale(n,n,t),s&&g.rotate(n,n,s),l&&(n[4]+=l[0],n[5]+=l[1]),n[4]+=d[0],n[5]+=d[1],n};var a=h;D.exports=a},DO2E:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},DSRE:function(D,I,e){(function(g){var f=e("Kz5y"),y=e("B8du"),p=I&&!I.nodeType&&I,v=p&&typeof g=="object"&&g&&!g.nodeType&&g,h=v&&v.exports===p,u=h?f.Buffer:void 0,o=u?u.isBuffer:void 0,i=o||y;g.exports=i}).call(this,e("YuTi")(D))},DYRE:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OPEp"),p=e.n(y)},DZo9:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("JGo8"),p=e.n(y),v=e("+L6B"),h=e("MXD1"),u=e("5Dmo")},Dagg:function(D,I,e){var g=e("Gev7"),f=e("mFDi"),y=e("bYtY"),p=e("Xnb7");function v(u){g.call(this,u)}v.prototype={constructor:v,type:"image",brush:function(o,i){var r=this.style,a=r.image;r.bind(o,this,i);var c=this._image=p.createOrUpdateImage(a,this._image,this,this.onload);if(!c||!p.isImageReady(c))return;var n=r.x||0,l=r.y||0,t=r.width,s=r.height,d=c.width/c.height;if(t==null&&s!=null?t=s*d:s==null&&t!=null?s=t/d:t==null&&s==null&&(t=c.width,s=c.height),this.setTransform(o),r.sWidth&&r.sHeight){var m=r.sx||0,w=r.sy||0;o.drawImage(c,m,w,r.sWidth,r.sHeight,n,l,t,s)}else if(r.sx&&r.sy){var m=r.sx,w=r.sy,b=t-m,E=s-w;o.drawImage(c,m,w,b,E,n,l,t,s)}else o.drawImage(c,n,l,t,s);r.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},getBoundingRect:function(){var o=this.style;return this._rect||(this._rect=new f(o.x||0,o.y||0,o.width||0,o.height||0)),this._rect}},y.inherits(v,g);var h=v;D.exports=h},Dg8C:function(D,I,e){var g=e("XxSj"),f=e("bYtY");function y(p,v){p.eachSeriesByType("sankey",function(h){var u=h.getGraph(),o=u.nodes;if(o.length){var i=Infinity,r=-Infinity;f.each(o,function(a){var c=a.getLayout().value;c<i&&(i=c),c>r&&(r=c)}),f.each(o,function(a){var c=new g({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:h.get("color")}),n=c.mapValueToVisual(a.getLayout().value),l=a.getModel().get("itemStyle.color");l!=null?a.setVisual("color",l):a.setVisual("color",n)})}})}D.exports=y},DjyN:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Urep"),p=e.n(y),v=e("OaEy")},DlQD:function(D,I,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(et,rt){for(var st=0;st<rt.length;st++){var Ve=rt[st];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(et,Ve.key,Ve)}}function f(et,rt,st){return rt&&g(et.prototype,rt),st&&g(et,st),et}function y(et,rt){if(!et)return;if(typeof et=="string")return p(et,rt);var st=Object.prototype.toString.call(et).slice(8,-1);if(st==="Object"&&et.constructor&&(st=et.constructor.name),st==="Map"||st==="Set")return Array.from(et);if(st==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(st))return p(et,rt)}function p(et,rt){(rt==null||rt>et.length)&&(rt=et.length);for(var st=0,Ve=new Array(rt);st<rt;st++)Ve[st]=et[st];return Ve}function v(et,rt){var st;if(typeof Symbol=="undefined"||et[Symbol.iterator]==null){if(Array.isArray(et)||(st=y(et))||rt&&et&&typeof et.length=="number"){st&&(et=st);var Ve=0;return function(){return Ve>=et.length?{done:!0}:{done:!1,value:et[Ve++]}}}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 st=et[Symbol.iterator](),st.next.bind(st)}function h(et,rt){return rt={exports:{}},et(rt,rt.exports),rt.exports}var u=h(function(et){function rt(){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 st(Ve){et.exports.defaults=Ve}et.exports={defaults:rt(),getDefaults:rt,changeDefaults:st}}),o=u.defaults,i=u.getDefaults,r=u.changeDefaults,a=/[&<>"']/,c=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(rt){return t[rt]};function d(et,rt){if(rt){if(a.test(et))return et.replace(c,s)}else if(n.test(et))return et.replace(l,s);return et}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function w(et){return et.replace(m,function(rt,st){return st=st.toLowerCase(),st==="colon"?":":st.charAt(0)==="#"?st.charAt(1)==="x"?String.fromCharCode(parseInt(st.substring(2),16)):String.fromCharCode(+st.substring(1)):""})}var b=/(^|[^\[])\^/g;function E(et,rt){et=et.source||et,rt=rt||"";var st={replace:function(ie,$){return $=$.source||$,$=$.replace(b,"$1"),et=et.replace(ie,$),st},getRegex:function(){return new RegExp(et,rt)}};return st}var A=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(et,rt,st){if(et){var Ve;try{Ve=decodeURIComponent(w(st)).replace(A,"").toLowerCase()}catch(ie){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}rt&&!S.test(st)&&(st=N(rt,st));try{st=encodeURI(st).replace(/%25/g,"%")}catch(ie){return null}return st}var O={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function N(et,rt){O[" "+et]||(x.test(et)?O[" "+et]=et+"/":O[" "+et]=j(et,"/",!0)),et=O[" "+et];var st=et.indexOf(":")===-1;return rt.substring(0,2)==="//"?st?rt:et.replace(C,"$1")+rt:rt.charAt(0)==="/"?st?rt:et.replace(_,"$1")+rt:et+rt}var F={exec:function(){}};function k(et){for(var rt=1,st,Ve;rt<arguments.length;rt++){st=arguments[rt];for(Ve in st)Object.prototype.hasOwnProperty.call(st,Ve)&&(et[Ve]=st[Ve])}return et}function P(et,rt){var st=et.replace(/\|/g,function($,it,Qe){for(var ye=!1,Zt=it;--Zt>=0&&Qe[Zt]==="\\";)ye=!ye;return ye?"|":" |"}),Ve=st.split(/ \|/),ie=0;if(Ve.length>rt)Ve.splice(rt);else for(;Ve.length<rt;)Ve.push("");for(;ie<Ve.length;ie++)Ve[ie]=Ve[ie].trim().replace(/\\\|/g,"|");return Ve}function j(et,rt,st){var Ve=et.length;if(Ve===0)return"";for(var ie=0;ie<Ve;){var $=et.charAt(Ve-ie-1);if($===rt&&!st)ie++;else if($!==rt&&st)ie++;else break}return et.substr(0,Ve-ie)}function K(et,rt){if(et.indexOf(rt[1])===-1)return-1;for(var st=et.length,Ve=0,ie=0;ie<st;ie++)if(et[ie]==="\\")ie++;else if(et[ie]===rt[0])Ve++;else if(et[ie]===rt[1]&&(Ve--,Ve<0))return ie;return-1}function R(et){et&&et.sanitize&&!et.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 B={escape:d,unescape:w,edit:E,cleanUrl:T,resolveUrl:N,noopTest:F,merge:k,splitCells:P,rtrim:j,findClosingBracket:K,checkSanitizeDeprecation:R},U=u.defaults,H=B.rtrim,W=B.splitCells,V=B.escape,z=B.findClosingBracket;function X(et,rt,st){var Ve=rt.href,ie=rt.title?V(rt.title):null,$=et[1].replace(/\\([\[\]])/g,"$1");return et[0].charAt(0)!=="!"?{type:"link",raw:st,href:Ve,title:ie,text:$}:{type:"image",raw:st,href:Ve,title:ie,text:V($)}}function q(et,rt){var st=et.match(/^(\s+)(?:```)/);if(st===null)return rt;var Ve=st[1];return rt.split(`
|
|
|
`).map(function(ie){var $=ie.match(/^\s+/);if($===null)return ie;var it=$[0];return it.length>=Ve.length?ie.slice(Ve.length):ie}).join(`
|
|
|
`)}var fe=function(){function et(st){this.options=st||U}var rt=et.prototype;return rt.space=function(Ve){var ie=this.rules.block.newline.exec(Ve);if(ie)return ie[0].length>1?{type:"space",raw:ie[0]}:{raw:`
|
|
|
`}},rt.code=function(Ve,ie){var $=this.rules.block.code.exec(Ve);if($){var it=ie[ie.length-1];if(it&&it.type==="paragraph")return{raw:$[0],text:$[0].trimRight()};var Qe=$[0].replace(/^ {4}/gm,"");return{type:"code",raw:$[0],codeBlockStyle:"indented",text:this.options.pedantic?Qe:H(Qe,`
|
|
|
`)}}},rt.fences=function(Ve){var ie=this.rules.block.fences.exec(Ve);if(ie){var $=ie[0],it=q($,ie[3]||"");return{type:"code",raw:$,lang:ie[2]?ie[2].trim():ie[2],text:it}}},rt.heading=function(Ve){var ie=this.rules.block.heading.exec(Ve);if(ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},rt.nptable=function(Ve){var ie=this.rules.block.nptable.exec(Ve);if(ie){var $={type:"table",header:W(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:ie[0]};if($.header.length===$.align.length){var it=$.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test($.align[Qe])?$.align[Qe]="right":/^ *:-+: *$/.test($.align[Qe])?$.align[Qe]="center":/^ *:-+ *$/.test($.align[Qe])?$.align[Qe]="left":$.align[Qe]=null;for(it=$.cells.length,Qe=0;Qe<it;Qe++)$.cells[Qe]=W($.cells[Qe],$.header.length);return $}}},rt.hr=function(Ve){var ie=this.rules.block.hr.exec(Ve);if(ie)return{type:"hr",raw:ie[0]}},rt.blockquote=function(Ve){var ie=this.rules.block.blockquote.exec(Ve);if(ie){var $=ie[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ie[0],text:$}}},rt.list=function(Ve){var ie=this.rules.block.list.exec(Ve);if(ie){for(var $=ie[0],it=ie[2],Qe=it.length>1,ye=it[it.length-1]===")",Zt={type:"list",raw:$,ordered:Qe,start:Qe?+it.slice(0,-1):"",loose:!1,items:[]},dt=ie[0].match(this.rules.block.item),ct=!1,yt,It,or,Bt,Ae,pe,he,le=dt.length,Ne=0;Ne<le;Ne++)yt=dt[Ne],$=yt,It=yt.length,yt=yt.replace(/^ *([*+-]|\d+[.)]) */,""),~yt.indexOf(`
|
|
|
`)&&(It-=yt.length,yt=this.options.pedantic?yt.replace(/^ {1,4}/gm,""):yt.replace(new RegExp("^ {1,"+It+"}","gm"),"")),Ne!==le-1&&(or=this.rules.block.bullet.exec(dt[Ne+1])[0],(Qe?or.length===1||!ye&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==it)&&(Bt=dt.slice(Ne+1).join(`
|
|
|
`),Zt.raw=Zt.raw.substring(0,Zt.raw.length-Bt.length),Ne=le-1)),Ae=ct||/\n\n(?!\s*$)/.test(yt),Ne!==le-1&&(ct=yt.charAt(yt.length-1)===`
|
|
|
`,Ae||(Ae=ct)),Ae&&(Zt.loose=!0),pe=/^\[[ xX]\] /.test(yt),he=void 0,pe&&(he=yt[1]!==" ",yt=yt.replace(/^\[[ xX]\] +/,"")),Zt.items.push({type:"list_item",raw:$,task:pe,checked:he,loose:Ae,text:yt});return Zt}},rt.html=function(Ve){var ie=this.rules.block.html.exec(Ve);if(ie)return{type:this.options.sanitize?"paragraph":"html",raw:ie[0],pre:!this.options.sanitizer&&(ie[1]==="pre"||ie[1]==="script"||ie[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ie[0]):V(ie[0]):ie[0]}},rt.def=function(Ve){var ie=this.rules.block.def.exec(Ve);if(ie){ie[3]&&(ie[3]=ie[3].substring(1,ie[3].length-1));var $=ie[1].toLowerCase().replace(/\s+/g," ");return{tag:$,raw:ie[0],href:ie[2],title:ie[3]}}},rt.table=function(Ve){var ie=this.rules.block.table.exec(Ve);if(ie){var $={type:"table",header:W(ie[1].replace(/^ *| *\| *$/g,"")),align:ie[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ie[3]?ie[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if($.header.length===$.align.length){$.raw=ie[0];var it=$.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test($.align[Qe])?$.align[Qe]="right":/^ *:-+: *$/.test($.align[Qe])?$.align[Qe]="center":/^ *:-+ *$/.test($.align[Qe])?$.align[Qe]="left":$.align[Qe]=null;for(it=$.cells.length,Qe=0;Qe<it;Qe++)$.cells[Qe]=W($.cells[Qe].replace(/^ *\| *| *\| *$/g,""),$.header.length);return $}}},rt.lheading=function(Ve){var ie=this.rules.block.lheading.exec(Ve);if(ie)return{type:"heading",raw:ie[0],depth:ie[2].charAt(0)==="="?1:2,text:ie[1]}},rt.paragraph=function(Ve){var ie=this.rules.block.paragraph.exec(Ve);if(ie)return{type:"paragraph",raw:ie[0],text:ie[1].charAt(ie[1].length-1)===`
|
|
|
`?ie[1].slice(0,-1):ie[1]}},rt.text=function(Ve,ie){var $=this.rules.block.text.exec(Ve);if($){var it=ie[ie.length-1];return it&&it.type==="text"?{raw:$[0],text:$[0]}:{type:"text",raw:$[0],text:$[0]}}},rt.escape=function(Ve){var ie=this.rules.inline.escape.exec(Ve);if(ie)return{type:"escape",raw:ie[0],text:V(ie[1])}},rt.tag=function(Ve,ie,$){var it=this.rules.inline.tag.exec(Ve);if(it)return!ie&&/^<a /i.test(it[0])?ie=!0:ie&&/^<\/a>/i.test(it[0])&&(ie=!1),!$&&/^<(pre|code|kbd|script)(\s|>)/i.test(it[0])?$=!0:$&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(it[0])&&($=!1),{type:this.options.sanitize?"text":"html",raw:it[0],inLink:ie,inRawBlock:$,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):V(it[0]):it[0]}},rt.link=function(Ve){var ie=this.rules.inline.link.exec(Ve);if(ie){var $=z(ie[2],"()");if($>-1){var it=ie[0].indexOf("!")===0?5:4,Qe=it+ie[1].length+$;ie[2]=ie[2].substring(0,$),ie[0]=ie[0].substring(0,Qe).trim(),ie[3]=""}var ye=ie[2],Zt="";if(this.options.pedantic){var dt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ye);dt?(ye=dt[1],Zt=dt[3]):Zt=""}else Zt=ie[3]?ie[3].slice(1,-1):"";ye=ye.trim().replace(/^<([\s\S]*)>$/,"$1");var ct=X(ie,{href:ye&&ye.replace(this.rules.inline._escapes,"$1"),title:Zt&&Zt.replace(this.rules.inline._escapes,"$1")},ie[0]);return ct}},rt.reflink=function(Ve,ie){var $;if(($=this.rules.inline.reflink.exec(Ve))||($=this.rules.inline.nolink.exec(Ve))){var it=($[2]||$[1]).replace(/\s+/g," ");if(it=ie[it.toLowerCase()],!it||!it.href){var Qe=$[0].charAt(0);return{type:"text",raw:Qe,text:Qe}}var ye=X($,it,$[0]);return ye}},rt.strong=function(Ve,ie,$){$===void 0&&($="");var it=this.rules.inline.strong.start.exec(Ve);if(it&&(!it[1]||it[1]&&($===""||this.rules.inline.punctuation.exec($)))){ie=ie.slice(-1*Ve.length);var Qe=it[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Qe.lastIndex=0;for(var ye;(it=Qe.exec(ie))!=null;)if(ye=this.rules.inline.strong.middle.exec(ie.slice(0,it.index+3)),ye)return{type:"strong",raw:Ve.slice(0,ye[0].length),text:Ve.slice(2,ye[0].length-2)}}},rt.em=function(Ve,ie,$){$===void 0&&($="");var it=this.rules.inline.em.start.exec(Ve);if(it&&(!it[1]||it[1]&&($===""||this.rules.inline.punctuation.exec($)))){ie=ie.slice(-1*Ve.length);var Qe=it[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Qe.lastIndex=0;for(var ye;(it=Qe.exec(ie))!=null;)if(ye=this.rules.inline.em.middle.exec(ie.slice(0,it.index+2)),ye)return{type:"em",raw:Ve.slice(0,ye[0].length),text:Ve.slice(1,ye[0].length-1)}}},rt.codespan=function(Ve){var ie=this.rules.inline.code.exec(Ve);if(ie){var $=ie[2].replace(/\n/g," "),it=/[^ ]/.test($),Qe=$.startsWith(" ")&&$.endsWith(" ");return it&&Qe&&($=$.substring(1,$.length-1)),$=V($,!0),{type:"codespan",raw:ie[0],text:$}}},rt.br=function(Ve){var ie=this.rules.inline.br.exec(Ve);if(ie)return{type:"br",raw:ie[0]}},rt.del=function(Ve){var ie=this.rules.inline.del.exec(Ve);if(ie)return{type:"del",raw:ie[0],text:ie[1]}},rt.autolink=function(Ve,ie){var $=this.rules.inline.autolink.exec(Ve);if($){var it,Qe;return $[2]==="@"?(it=V(this.options.mangle?ie($[1]):$[1]),Qe="mailto:"+it):(it=V($[1]),Qe=it),{type:"link",raw:$[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.url=function(Ve,ie){var $;if($=this.rules.inline.url.exec(Ve)){var it,Qe;if($[2]==="@")it=V(this.options.mangle?ie($[0]):$[0]),Qe="mailto:"+it;else{var ye;do ye=$[0],$[0]=this.rules.inline._backpedal.exec($[0])[0];while(ye!==$[0]);it=V($[0]),$[1]==="www."?Qe="http://"+it:Qe=it}return{type:"link",raw:$[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.inlineText=function(Ve,ie,$){var it=this.rules.inline.text.exec(Ve);if(it){var Qe;return ie?Qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):V(it[0]):it[0]:Qe=V(this.options.smartypants?$(it[0]):it[0]),{type:"text",raw:it[0],text:Qe}}},et}(),G=B.noopTest,ve=B.edit,Se=B.merge,ge={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:G,table:G,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};ge._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ge._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ge.def=ve(ge.def).replace("label",ge._label).replace("title",ge._title).getRegex(),ge.bullet=/(?:[*+-]|\d{1,9}[.)])/,ge.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ge.item=ve(ge.item,"gm").replace(/bull/g,ge.bullet).getRegex(),ge.list=ve(ge.list).replace(/bull/g,ge.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ge.def.source+")").getRegex(),ge._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",ge._comment=/<!--(?!-?>)[\s\S]*?-->/,ge.html=ve(ge.html,"i").replace("comment",ge._comment).replace("tag",ge._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ge.paragraph=ve(ge._paragraph).replace("hr",ge.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",ge._tag).getRegex(),ge.blockquote=ve(ge.blockquote).replace("paragraph",ge.paragraph).getRegex(),ge.normal=Se({},ge),ge.gfm=Se({},ge.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*|$)"}),ge.gfm.nptable=ve(ge.gfm.nptable).replace("hr",ge.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",ge._tag).getRegex(),ge.gfm.table=ve(ge.gfm.table).replace("hr",ge.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",ge._tag).getRegex(),ge.pedantic=Se({},ge.normal,{html:ve(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ge._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:G,paragraph:ve(ge.normal._paragraph).replace("hr",ge.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",ge.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:G,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:G,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Pe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pe.punctuation=ve(Pe.punctuation).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Pe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Pe.em.start=ve(Pe.em.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.middle=ve(Pe.em.middle).replace(/punctuation/g,Pe._punctuation).replace(/overlapSkip/g,Pe._overlapSkip).getRegex(),Pe.em.endAst=ve(Pe.em.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.endUnd=ve(Pe.em.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.start=ve(Pe.strong.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.middle=ve(Pe.strong.middle).replace(/punctuation/g,Pe._punctuation).replace(/blockSkip/g,Pe._blockSkip).getRegex(),Pe.strong.endAst=ve(Pe.strong.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.endUnd=ve(Pe.strong.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.blockSkip=ve(Pe._blockSkip,"g").getRegex(),Pe.overlapSkip=ve(Pe._overlapSkip,"g").getRegex(),Pe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pe._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])?)+(?![-_])/,Pe.autolink=ve(Pe.autolink).replace("scheme",Pe._scheme).replace("email",Pe._email).getRegex(),Pe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pe.tag=ve(Pe.tag).replace("comment",ge._comment).replace("attribute",Pe._attribute).getRegex(),Pe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Pe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pe.link=ve(Pe.link).replace("label",Pe._label).replace("href",Pe._href).replace("title",Pe._title).getRegex(),Pe.reflink=ve(Pe.reflink).replace("label",Pe._label).getRegex(),Pe.reflinkSearch=ve(Pe.reflinkSearch,"g").replace("reflink",Pe.reflink).replace("nolink",Pe.nolink).getRegex(),Pe.normal=Se({},Pe),Pe.pedantic=Se({},Pe.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:ve(/^!?\[(label)\]\((.*?)\)/).replace("label",Pe._label).getRegex(),reflink:ve(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pe._label).getRegex()}),Pe.gfm=Se({},Pe.normal,{escape:ve(Pe.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Pe.gfm.url=ve(Pe.gfm.url,"i").replace("email",Pe.gfm._extended_email).getRegex(),Pe.breaks=Se({},Pe.gfm,{br:ve(Pe.br).replace("{2,}","*").getRegex(),text:ve(Pe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ge={block:ge,inline:Pe},pt=u.defaults,Te=Ge.block,xe=Ge.inline;function lt(et){return et.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 Ie(et){var rt="",st,Ve,ie=et.length;for(st=0;st<ie;st++)Ve=et.charCodeAt(st),Math.random()>.5&&(Ve="x"+Ve.toString(16)),rt+="&#"+Ve+";";return rt}var de=function(){function et(st){this.tokens=[],this.tokens.links=Object.create(null),this.options=st||pt,this.options.tokenizer=this.options.tokenizer||new fe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:Te.normal,inline:xe.normal};this.options.pedantic?(Ve.block=Te.pedantic,Ve.inline=xe.pedantic):this.options.gfm&&(Ve.block=Te.gfm,this.options.breaks?Ve.inline=xe.breaks:Ve.inline=xe.gfm),this.tokenizer.rules=Ve}et.lex=function(Ve,ie){var $=new et(ie);return $.lex(Ve)};var rt=et.prototype;return rt.lex=function(Ve){return Ve=Ve.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ve,this.tokens,!0),this.inline(this.tokens),this.tokens},rt.blockTokens=function(Ve,ie,$){ie===void 0&&(ie=[]),$===void 0&&($=!0),Ve=Ve.replace(/^ +$/gm,"");for(var it,Qe,ye,Zt;Ve;){if(it=this.tokenizer.space(Ve)){Ve=Ve.substring(it.raw.length),it.type&&ie.push(it);continue}if(it=this.tokenizer.code(Ve,ie)){Ve=Ve.substring(it.raw.length),it.type?ie.push(it):(Zt=ie[ie.length-1],Zt.raw+=`
|
|
|
`+it.raw,Zt.text+=`
|
|
|
`+it.text);continue}if(it=this.tokenizer.fences(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.heading(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.nptable(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.hr(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(it.raw.length),it.tokens=this.blockTokens(it.text,[],$),ie.push(it);continue}if(it=this.tokenizer.list(Ve)){for(Ve=Ve.substring(it.raw.length),ye=it.items.length,Qe=0;Qe<ye;Qe++)it.items[Qe].tokens=this.blockTokens(it.items[Qe].text,[],!1);ie.push(it);continue}if(it=this.tokenizer.html(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if($&&(it=this.tokenizer.def(Ve))){Ve=Ve.substring(it.raw.length),this.tokens.links[it.tag]||(this.tokens.links[it.tag]={href:it.href,title:it.title});continue}if(it=this.tokenizer.table(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.lheading(Ve)){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if($&&(it=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(it.raw.length),ie.push(it);continue}if(it=this.tokenizer.text(Ve,ie)){Ve=Ve.substring(it.raw.length),it.type?ie.push(it):(Zt=ie[ie.length-1],Zt.raw+=`
|
|
|
`+it.raw,Zt.text+=`
|
|
|
`+it.text);continue}if(Ve){var dt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(dt);break}else throw new Error(dt)}}return ie},rt.inline=function(Ve){var ie,$,it,Qe,ye,Zt,dt=Ve.length;for(ie=0;ie<dt;ie++){Zt=Ve[ie];switch(Zt.type){case"paragraph":case"text":case"heading":{Zt.tokens=[],this.inlineTokens(Zt.text,Zt.tokens);break}case"table":{for(Zt.tokens={header:[],cells:[]},Qe=Zt.header.length,$=0;$<Qe;$++)Zt.tokens.header[$]=[],this.inlineTokens(Zt.header[$],Zt.tokens.header[$]);for(Qe=Zt.cells.length,$=0;$<Qe;$++)for(ye=Zt.cells[$],Zt.tokens.cells[$]=[],it=0;it<ye.length;it++)Zt.tokens.cells[$][it]=[],this.inlineTokens(ye[it],Zt.tokens.cells[$][it]);break}case"blockquote":{this.inline(Zt.tokens);break}case"list":{for(Qe=Zt.items.length,$=0;$<Qe;$++)this.inline(Zt.items[$].tokens);break}}}return Ve},rt.inlineTokens=function(Ve,ie,$,it,Qe){ie===void 0&&(ie=[]),$===void 0&&($=!1),it===void 0&&(it=!1),Qe===void 0&&(Qe="");var ye,Zt=Ve,dt;if(this.tokens.links){var ct=Object.keys(this.tokens.links);if(ct.length>0)for(;(dt=this.tokenizer.rules.inline.reflinkSearch.exec(Zt))!=null;)ct.includes(dt[0].slice(dt[0].lastIndexOf("[")+1,-1))&&(Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(dt=this.tokenizer.rules.inline.blockSkip.exec(Zt))!=null;)Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(ye=this.tokenizer.escape(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.tag(Ve,$,it)){Ve=Ve.substring(ye.raw.length),$=ye.inLink,it=ye.inRawBlock,ie.push(ye);continue}if(ye=this.tokenizer.link(Ve)){Ve=Ve.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,it)),ie.push(ye);continue}if(ye=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(ye.raw.length),ye.type==="link"&&(ye.tokens=this.inlineTokens(ye.text,[],!0,it)),ie.push(ye);continue}if(ye=this.tokenizer.strong(Ve,Zt,Qe)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.em(Ve,Zt,Qe)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.codespan(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.br(Ve)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.del(Ve)){Ve=Ve.substring(ye.raw.length),ye.tokens=this.inlineTokens(ye.text,[],$,it),ie.push(ye);continue}if(ye=this.tokenizer.autolink(Ve,Ie)){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(!$&&(ye=this.tokenizer.url(Ve,Ie))){Ve=Ve.substring(ye.raw.length),ie.push(ye);continue}if(ye=this.tokenizer.inlineText(Ve,it,lt)){Ve=Ve.substring(ye.raw.length),Qe=ye.raw.slice(-1),ie.push(ye);continue}if(Ve){var yt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(yt);break}else throw new Error(yt)}}return ie},f(et,null,[{key:"rules",get:function(){return{block:Te,inline:xe}}}]),et}(),ee=u.defaults,se=B.cleanUrl,ke=B.escape,Ce=function(){function et(st){this.options=st||ee}var rt=et.prototype;return rt.code=function(Ve,ie,$){var it=(ie||"").match(/\S*/)[0];if(this.options.highlight){var Qe=this.options.highlight(Ve,it);Qe!=null&&Qe!==Ve&&($=!0,Ve=Qe)}return it?'<pre><code class="'+this.options.langPrefix+ke(it,!0)+'">'+($?Ve:ke(Ve,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+($?Ve:ke(Ve,!0))+`</code></pre>
|
|
|
`},rt.blockquote=function(Ve){return`<blockquote>
|
|
|
`+Ve+`</blockquote>
|
|
|
`},rt.html=function(Ve){return Ve},rt.heading=function(Ve,ie,$,it){return this.options.headerIds?"<h"+ie+' id="'+this.options.headerPrefix+it.slug($)+'">'+Ve+"</h"+ie+`>
|
|
|
`:"<h"+ie+">"+Ve+"</h"+ie+`>
|
|
|
`},rt.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},rt.list=function(Ve,ie,$){var it=ie?"ol":"ul",Qe=ie&&$!==1?' start="'+$+'"':"";return"<"+it+Qe+`>
|
|
|
`+Ve+"</"+it+`>
|
|
|
`},rt.listitem=function(Ve){return"<li>"+Ve+`</li>
|
|
|
`},rt.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},rt.paragraph=function(Ve){return"<p>"+Ve+`</p>
|
|
|
`},rt.table=function(Ve,ie){return ie&&(ie="<tbody>"+ie+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ve+`</thead>
|
|
|
`+ie+`</table>
|
|
|
`},rt.tablerow=function(Ve){return`<tr>
|
|
|
`+Ve+`</tr>
|
|
|
`},rt.tablecell=function(Ve,ie){var $=ie.header?"th":"td",it=ie.align?"<"+$+' align="'+ie.align+'">':"<"+$+">";return it+Ve+"</"+$+`>
|
|
|
`},rt.strong=function(Ve){return"<strong>"+Ve+"</strong>"},rt.em=function(Ve){return"<em>"+Ve+"</em>"},rt.codespan=function(Ve){return"<code>"+Ve+"</code>"},rt.br=function(){return this.options.xhtml?"<br/>":"<br>"},rt.del=function(Ve){return"<del>"+Ve+"</del>"},rt.link=function(Ve,ie,$){if(Ve=se(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return $;var it='<a href="'+ke(Ve)+'"';return ie&&(it+=' title="'+ie+'"'),it+=">"+$+"</a>",it},rt.image=function(Ve,ie,$){if(Ve=se(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return $;var it='<img src="'+Ve+'" alt="'+$+'"';return ie&&(it+=' title="'+ie+'"'),it+=this.options.xhtml?"/>":">",it},rt.text=function(Ve){return Ve},et}(),ze=function(){function et(){}var rt=et.prototype;return rt.strong=function(Ve){return Ve},rt.em=function(Ve){return Ve},rt.codespan=function(Ve){return Ve},rt.del=function(Ve){return Ve},rt.html=function(Ve){return Ve},rt.text=function(Ve){return Ve},rt.link=function(Ve,ie,$){return""+$},rt.image=function(Ve,ie,$){return""+$},rt.br=function(){return""},et}(),_e=function(){function et(){this.seen={}}var rt=et.prototype;return rt.slug=function(Ve){var ie=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ie)){var $=ie;do this.seen[$]++,ie=$+"-"+this.seen[$];while(this.seen.hasOwnProperty(ie))}return this.seen[ie]=0,ie},et}(),ae=u.defaults,me=B.unescape,Oe=function(){function et(st){this.options=st||ae,this.options.renderer=this.options.renderer||new Ce,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ze,this.slugger=new _e}et.parse=function(Ve,ie){var $=new et(ie);return $.parse(Ve)};var rt=et.prototype;return rt.parse=function(Ve,ie){ie===void 0&&(ie=!0);var $="",it,Qe,ye,Zt,dt,ct,yt,It,or,Bt,Ae,pe,he,le,Ne,je,Ke,Xe,Fe=Ve.length;for(it=0;it<Fe;it++){Bt=Ve[it];switch(Bt.type){case"space":continue;case"hr":{$+=this.renderer.hr();continue}case"heading":{$+=this.renderer.heading(this.parseInline(Bt.tokens),Bt.depth,me(this.parseInline(Bt.tokens,this.textRenderer)),this.slugger);continue}case"code":{$+=this.renderer.code(Bt.text,Bt.lang,Bt.escaped);continue}case"table":{for(It="",yt="",Zt=Bt.header.length,Qe=0;Qe<Zt;Qe++)yt+=this.renderer.tablecell(this.parseInline(Bt.tokens.header[Qe]),{header:!0,align:Bt.align[Qe]});for(It+=this.renderer.tablerow(yt),or="",Zt=Bt.cells.length,Qe=0;Qe<Zt;Qe++){for(ct=Bt.tokens.cells[Qe],yt="",dt=ct.length,ye=0;ye<dt;ye++)yt+=this.renderer.tablecell(this.parseInline(ct[ye]),{header:!1,align:Bt.align[ye]});or+=this.renderer.tablerow(yt)}$+=this.renderer.table(It,or);continue}case"blockquote":{or=this.parse(Bt.tokens),$+=this.renderer.blockquote(or);continue}case"list":{for(Ae=Bt.ordered,pe=Bt.start,he=Bt.loose,Zt=Bt.items.length,or="",Qe=0;Qe<Zt;Qe++)Ne=Bt.items[Qe],je=Ne.checked,Ke=Ne.task,le="",Ne.task&&(Xe=this.renderer.checkbox(je),he?Ne.tokens.length>0&&Ne.tokens[0].type==="text"?(Ne.tokens[0].text=Xe+" "+Ne.tokens[0].text,Ne.tokens[0].tokens&&Ne.tokens[0].tokens.length>0&&Ne.tokens[0].tokens[0].type==="text"&&(Ne.tokens[0].tokens[0].text=Xe+" "+Ne.tokens[0].tokens[0].text)):Ne.tokens.unshift({type:"text",text:Xe}):le+=Xe),le+=this.parse(Ne.tokens,he),or+=this.renderer.listitem(le,Ke,je);$+=this.renderer.list(or,Ae,pe);continue}case"html":{$+=this.renderer.html(Bt.text);continue}case"paragraph":{$+=this.renderer.paragraph(this.parseInline(Bt.tokens));continue}case"text":{for(or=Bt.tokens?this.parseInline(Bt.tokens):Bt.text;it+1<Fe&&Ve[it+1].type==="text";)Bt=Ve[++it],or+=`
|
|
|
`+(Bt.tokens?this.parseInline(Bt.tokens):Bt.text);$+=ie?this.renderer.paragraph(or):or;continue}default:{var nt='Token with "'+Bt.type+'" type was not found.';if(this.options.silent){console.error(nt);return}else throw new Error(nt)}}}return $},rt.parseInline=function(Ve,ie){ie=ie||this.renderer;var $="",it,Qe,ye=Ve.length;for(it=0;it<ye;it++){Qe=Ve[it];switch(Qe.type){case"escape":{$+=ie.text(Qe.text);break}case"html":{$+=ie.html(Qe.text);break}case"link":{$+=ie.link(Qe.href,Qe.title,this.parseInline(Qe.tokens,ie));break}case"image":{$+=ie.image(Qe.href,Qe.title,Qe.text);break}case"strong":{$+=ie.strong(this.parseInline(Qe.tokens,ie));break}case"em":{$+=ie.em(this.parseInline(Qe.tokens,ie));break}case"codespan":{$+=ie.codespan(Qe.text);break}case"br":{$+=ie.br();break}case"del":{$+=ie.del(this.parseInline(Qe.tokens,ie));break}case"text":{$+=ie.text(Qe.text);break}default:{var Zt='Token with "'+Qe.type+'" type was not found.';if(this.options.silent){console.error(Zt);return}else throw new Error(Zt)}}}return $},et}(),Ze=B.merge,vt=B.checkSanitizeDeprecation,Ct=B.escape,Be=u.getDefaults,Rt=u.changeDefaults,He=u.defaults;function wt(et,rt,st){if(typeof et=="undefined"||et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(et)+", string expected");if(typeof rt=="function"&&(st=rt,rt=null),rt=Ze({},wt.defaults,rt||{}),vt(rt),st){var Ve=rt.highlight,ie;try{ie=de.lex(et,rt)}catch(ye){return st(ye)}var $=function(Zt){var dt;if(!Zt)try{dt=Oe.parse(ie,rt)}catch(ct){Zt=ct}return rt.highlight=Ve,Zt?st(Zt):st(null,dt)};if(!Ve||Ve.length<3)return $();if(delete rt.highlight,!ie.length)return $();var it=0;wt.walkTokens(ie,function(ye){ye.type==="code"&&(it++,setTimeout(function(){Ve(ye.text,ye.lang,function(Zt,dt){if(Zt)return $(Zt);dt!=null&&dt!==ye.text&&(ye.text=dt,ye.escaped=!0),it--,it===0&&$()})},0))}),it===0&&$();return}try{var Qe=de.lex(et,rt);return rt.walkTokens&&wt.walkTokens(Qe,rt.walkTokens),Oe.parse(Qe,rt)}catch(ye){if(ye.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,rt.silent)return"<p>An error occurred:</p><pre>"+Ct(ye.message+"",!0)+"</pre>";throw ye}}wt.options=wt.setOptions=function(et){return Ze(wt.defaults,et),Rt(wt.defaults),wt},wt.getDefaults=Be,wt.defaults=He,wt.use=function(et){var rt=Ze({},et);if(et.renderer&&function(){var Ve=wt.defaults.renderer||new Ce,ie=function(Qe){var ye=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.renderer[Qe].apply(Ve,dt);return yt===!1&&(yt=ye.apply(Ve,dt)),yt}};for(var $ in et.renderer)ie($);rt.renderer=Ve}(),et.tokenizer&&function(){var Ve=wt.defaults.tokenizer||new fe,ie=function(Qe){var ye=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.tokenizer[Qe].apply(Ve,dt);return yt===!1&&(yt=ye.apply(Ve,dt)),yt}};for(var $ in et.tokenizer)ie($);rt.tokenizer=Ve}(),et.walkTokens){var st=wt.defaults.walkTokens;rt.walkTokens=function(Ve){et.walkTokens(Ve),st&&st(Ve)}}wt.setOptions(rt)},wt.walkTokens=function(et,rt){for(var st=v(et),Ve;!(Ve=st()).done;){var ie=Ve.value;rt(ie);switch(ie.type){case"table":{for(var $=v(ie.tokens.header),it;!(it=$()).done;){var Qe=it.value;wt.walkTokens(Qe,rt)}for(var ye=v(ie.tokens.cells),Zt;!(Zt=ye()).done;)for(var dt=Zt.value,ct=v(dt),yt;!(yt=ct()).done;){var It=yt.value;wt.walkTokens(It,rt)}break}case"list":{wt.walkTokens(ie.items,rt);break}default:ie.tokens&&wt.walkTokens(ie.tokens,rt)}}},wt.Parser=Oe,wt.parser=Oe.parse,wt.Renderer=Ce,wt.TextRenderer=ze,wt.Lexer=de,wt.lexer=de.lex,wt.Tokenizer=fe,wt.Slugger=_e,wt.parse=wt;var Ye=wt;return Ye})},"DlR+":function(D,I,e){var g=e("MFOe"),f=g.Global,y=g.trim;D.exports={name:"cookieStorage",read:v,write:u,each:h,remove:o,clearAll:i};var p=f.document;function v(a){if(!a||!r(a))return null;var c="(?:^|.*;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(p.cookie.replace(new RegExp(c),"$1"))}function h(a){for(var c=p.cookie.split(/; ?/g),n=c.length-1;n>=0;n--){if(!y(c[n]))continue;var l=c[n].split("="),t=unescape(l[0]),s=unescape(l[1]);a(s,t)}}function u(a,c){if(!a)return;p.cookie=escape(a)+"="+escape(c)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function o(a){if(!a||!r(a))return;p.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function i(){h(function(a,c){o(c)})}function r(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(p.cookie)}},Ducp:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("+TT/"),p=e("XpcN"),v=f.Group,h=["width","height"],u=["x","y"],o=p.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){o.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(){o.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,a,c,n,l,t,s){var d=this;o.superCall(this,"renderInner",r,a,c,n,l,t,s);var m=this._controllerGroup,w=a.get("pageIconSize",!0);g.isArray(w)||(w=[w,w]),E("pagePrev",0);var b=a.getModel("pageTextStyle");m.add(new f.Text({name:"pageText",style:{textFill:b.getTextColor(),font:b.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),E("pageNext",1);function E(A,S){var T=A+"DataIndex",O=f.createIcon(a.get("pageIcons",!0)[a.getOrient().name][S],{onclick:g.bind(d._pageGo,d,T,a,n)},{x:-w[0]/2,y:-w[1]/2,width:w[0],height:w[1]});O.name=A,m.add(O)}},layoutInner:function(r,a,c,n,l,t){var s=this.getSelectorGroup(),d=r.getOrient().index,m=h[d],w=u[d],b=h[1-d],E=u[1-d];l&&y.box("horizontal",s,r.get("selectorItemGap",!0));var A=r.get("selectorButtonGap",!0),S=s.getBoundingRect(),T=[-S.x,-S.y],O=g.clone(c);l&&(O[m]=c[m]-S[m]-A);var x=this._layoutContentAndController(r,n,O,d,m,b,E);if(l){if(t==="end")T[d]+=x[m]+A;else{var C=S[m]+A;T[d]-=C,x[w]-=C}x[m]+=S[m]+A,T[1-d]+=x[E]+x[b]/2-S[b]/2,x[b]=Math.max(x[b],S[b]),x[E]=Math.min(x[E],S[E]+T[1-d]),s.attr("position",T)}return x},_layoutContentAndController:function(r,a,c,n,l,t,s){var d=this.getContentGroup(),m=this._containerGroup,w=this._controllerGroup;y.box(r.get("orient"),d,r.get("itemGap"),n?c.width:null,n?null:c.height),y.box("horizontal",w,r.get("pageButtonItemGap",!0));var b=d.getBoundingRect(),E=w.getBoundingRect(),A=this._showController=b[l]>c[l],S=[-b.x,-b.y];a||(S[n]=d.position[n]);var T=[0,0],O=[-E.x,-E.y],x=g.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(A){var C=r.get("pageButtonPosition",!0);C==="end"?O[n]+=c[l]-E[l]:T[n]+=E[l]+x}O[1-n]+=b[t]/2-E[t]/2,d.attr("position",S),m.attr("position",T),w.attr("position",O);var _={x:0,y:0};if(_[l]=A?c[l]:b[l],_[t]=Math.max(b[t],E[t]),_[s]=Math.min(0,E[s]+O[1-n]),m.__rectSize=c[l],A){var N={x:0,y:0};N[l]=Math.max(c[l]-E[l]-x,0),N[t]=_[t],m.setClipPath(new f.Rect({shape:N})),m.__rectSize=N[l]}else w.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(r);return F.pageIndex!=null&&f.updateProps(d,{position:F.contentPosition},A?r:!1),this._updatePageInfoView(r,F),_},_pageGo:function(r,a,c){var n=this._getPageInfo(a)[r];n!=null&&c.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:a.id})},_updatePageInfoView:function(r,a){var c=this._controllerGroup;g.each(["pagePrev","pageNext"],function(m){var w=a[m+"DataIndex"]!=null,b=c.childOfName(m);b&&(b.setStyle("fill",w?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),b.cursor=w?"pointer":"default")});var n=c.childOfName("pageText"),l=r.get("pageFormatter"),t=a.pageIndex,s=t!=null?t+1:0,d=a.pageCount;n&&l&&n.setStyle("text",g.isString(l)?l.replace("{current}",s).replace("{total}",d):l({current:s,total:d}))},_getPageInfo:function(r){var a=r.get("scrollDataIndex",!0),c=this.getContentGroup(),n=this._containerGroup.__rectSize,l=r.getOrient().index,t=h[l],s=u[l],d=this._findTargetItemIndex(a),m=c.children(),w=m[d],b=m.length,E=b?1:0,A={contentPosition:c.position.slice(),pageCount:E,pageIndex:E-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!w)return A;var S=_(w);A.contentPosition[l]=-S.s;for(var T=d+1,O=S,x=S,C=null;T<=b;++T)C=_(m[T]),(!C&&x.e>O.s+n||C&&!N(C,O.s))&&(x.i>O.i?O=x:O=C,O&&(A.pageNextDataIndex==null&&(A.pageNextDataIndex=O.i),++A.pageCount)),x=C;for(var T=d-1,O=S,x=S,C=null;T>=-1;--T)C=_(m[T]),(!C||!N(x,C.s))&&O.i<x.i&&(x=O,A.pagePrevDataIndex==null&&(A.pagePrevDataIndex=O.i),++A.pageCount,++A.pageIndex),O=C;return A;function _(F){if(F){var k=F.getBoundingRect(),P=k[s]+F.position[l];return{s:P,e:P+k[t],i:F.__legendDataIndex}}}function N(F,k){return F.e>=k&&F.s<=k+n}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var a,c=this.getContentGroup(),n;return c.eachChild(function(l,t){var s=l.__legendDataIndex;n==null&&s!=null&&(n=t),s===r&&(a=t)}),a!=null?a:n}}),i=o;D.exports=i},"E/ki":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},E2g8:function(D,I,e){(function(g,f){/*!
|
|
|
* @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(y,p){D.exports=p()})(this,function(){"use strict";function y(Ce){var ze=typeof Ce;return Ce!==null&&(ze==="object"||ze==="function")}function p(Ce){return typeof Ce=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(ze){return Object.prototype.toString.call(ze)==="[object Array]"};var h=v,u=0,o=void 0,i=void 0,r=function(ze,_e){S[u]=ze,S[u+1]=_e,u+=2,u===2&&(i?i(T):x())};function a(Ce){i=Ce}function c(Ce){r=Ce}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof g!="undefined"&&{}.toString.call(g)==="[object process]",d=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function m(){return function(){return g.nextTick(T)}}function w(){return typeof o!="undefined"?function(){o(T)}:A()}function b(){var Ce=0,ze=new t(T),_e=document.createTextNode("");return ze.observe(_e,{characterData:!0}),function(){_e.data=Ce=++Ce%2}}function E(){var Ce=new MessageChannel;return Ce.port1.onmessage=T,function(){return Ce.port2.postMessage(0)}}function A(){var Ce=setTimeout;return function(){return Ce(T,1)}}var S=new Array(1e3);function T(){for(var Ce=0;Ce<u;Ce+=2){var ze=S[Ce],_e=S[Ce+1];ze(_e),S[Ce]=void 0,S[Ce+1]=void 0}u=0}function O(){try{var Ce=Function("return this")().require("vertx");return o=Ce.runOnLoop||Ce.runOnContext,w()}catch(ze){return A()}}var x=void 0;s?x=m():t?x=b():d?x=E():n===void 0&&!0?x=O():x=A();function C(Ce,ze){var _e=this,ae=new this.constructor(F);ae[N]===void 0&&Ge(ae);var me=_e._state;if(me){var Oe=arguments[me-1];r(function(){return ve(me,ae,Oe,_e._result)})}else fe(_e,ae,Ce,ze);return ae}function _(Ce){var ze=this;if(Ce&&typeof Ce=="object"&&Ce.constructor===ze)return Ce;var _e=new ze(F);return V(_e,Ce),_e}var N=Math.random().toString(36).substring(2);function F(){}var k=void 0,P=1,j=2;function K(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function B(Ce,ze,_e,ae){try{Ce.call(ze,_e,ae)}catch(me){return me}}function U(Ce,ze,_e){r(function(ae){var me=!1,Oe=B(_e,ze,function(Ze){if(me)return;me=!0,ze!==Ze?V(ae,Ze):X(ae,Ze)},function(Ze){if(me)return;me=!0,q(ae,Ze)},"Settle: "+(ae._label||" unknown promise"));!me&&Oe&&(me=!0,q(ae,Oe))},Ce)}function H(Ce,ze){ze._state===P?X(Ce,ze._result):ze._state===j?q(Ce,ze._result):fe(ze,void 0,function(_e){return V(Ce,_e)},function(_e){return q(Ce,_e)})}function W(Ce,ze,_e){ze.constructor===Ce.constructor&&_e===C&&ze.constructor.resolve===_?H(Ce,ze):_e===void 0?X(Ce,ze):p(_e)?U(Ce,ze,_e):X(Ce,ze)}function V(Ce,ze){if(Ce===ze)q(Ce,K());else if(y(ze)){var _e=void 0;try{_e=ze.then}catch(ae){q(Ce,ae);return}W(Ce,ze,_e)}else X(Ce,ze)}function z(Ce){Ce._onerror&&Ce._onerror(Ce._result),G(Ce)}function X(Ce,ze){if(Ce._state!==k)return;Ce._result=ze,Ce._state=P,Ce._subscribers.length!==0&&r(G,Ce)}function q(Ce,ze){if(Ce._state!==k)return;Ce._state=j,Ce._result=ze,r(z,Ce)}function fe(Ce,ze,_e,ae){var me=Ce._subscribers,Oe=me.length;Ce._onerror=null,me[Oe]=ze,me[Oe+P]=_e,me[Oe+j]=ae,Oe===0&&Ce._state&&r(G,Ce)}function G(Ce){var ze=Ce._subscribers,_e=Ce._state;if(ze.length===0)return;for(var ae=void 0,me=void 0,Oe=Ce._result,Ze=0;Ze<ze.length;Ze+=3)ae=ze[Ze],me=ze[Ze+_e],ae?ve(_e,ae,me,Oe):me(Oe);Ce._subscribers.length=0}function ve(Ce,ze,_e,ae){var me=p(_e),Oe=void 0,Ze=void 0,vt=!0;if(me){try{Oe=_e(ae)}catch(Ct){vt=!1,Ze=Ct}if(ze===Oe){q(ze,R());return}}else Oe=ae;ze._state!==k||(me&&vt?V(ze,Oe):vt===!1?q(ze,Ze):Ce===P?X(ze,Oe):Ce===j&&q(ze,Oe))}function Se(Ce,ze){try{ze(function(ae){V(Ce,ae)},function(ae){q(Ce,ae)})}catch(_e){q(Ce,_e)}}var ge=0;function Pe(){return ge++}function Ge(Ce){Ce[N]=ge++,Ce._state=void 0,Ce._result=void 0,Ce._subscribers=[]}function pt(){return new Error("Array Methods must be provided an Array")}var Te=function(){function Ce(ze,_e){this._instanceConstructor=ze,this.promise=new ze(F),this.promise[N]||Ge(this.promise),h(_e)?(this.length=_e.length,this._remaining=_e.length,this._result=new Array(this.length),this.length===0?X(this.promise,this._result):(this.length=this.length||0,this._enumerate(_e),this._remaining===0&&X(this.promise,this._result))):q(this.promise,pt())}return Ce.prototype._enumerate=function(_e){for(var ae=0;this._state===k&&ae<_e.length;ae++)this._eachEntry(_e[ae],ae)},Ce.prototype._eachEntry=function(_e,ae){var me=this._instanceConstructor,Oe=me.resolve;if(Oe===_){var Ze=void 0,vt=void 0,Ct=!1;try{Ze=_e.then}catch(Rt){Ct=!0,vt=Rt}if(Ze===C&&_e._state!==k)this._settledAt(_e._state,ae,_e._result);else if(typeof Ze!="function")this._remaining--,this._result[ae]=_e;else if(me===se){var Be=new me(F);Ct?q(Be,vt):W(Be,_e,Ze),this._willSettleAt(Be,ae)}else this._willSettleAt(new me(function(Rt){return Rt(_e)}),ae)}else this._willSettleAt(Oe(_e),ae)},Ce.prototype._settledAt=function(_e,ae,me){var Oe=this.promise;Oe._state===k&&(this._remaining--,_e===j?q(Oe,me):this._result[ae]=me),this._remaining===0&&X(Oe,this._result)},Ce.prototype._willSettleAt=function(_e,ae){var me=this;fe(_e,void 0,function(Oe){return me._settledAt(P,ae,Oe)},function(Oe){return me._settledAt(j,ae,Oe)})},Ce}();function xe(Ce){return new Te(this,Ce).promise}function lt(Ce){var ze=this;return h(Ce)?new ze(function(_e,ae){for(var me=Ce.length,Oe=0;Oe<me;Oe++)ze.resolve(Ce[Oe]).then(_e,ae)}):new ze(function(_e,ae){return ae(new TypeError("You must pass an array to race."))})}function Ie(Ce){var ze=this,_e=new ze(F);return q(_e,Ce),_e}function de(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ee(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var se=function(){function Ce(ze){this[N]=Pe(),this._result=this._state=void 0,this._subscribers=[],F!==ze&&(typeof ze!="function"&&de(),this instanceof Ce?Se(this,ze):ee())}return Ce.prototype.catch=function(_e){return this.then(null,_e)},Ce.prototype.finally=function(_e){var ae=this,me=ae.constructor;return p(_e)?ae.then(function(Oe){return me.resolve(_e()).then(function(){return Oe})},function(Oe){return me.resolve(_e()).then(function(){throw Oe})}):ae.then(_e,_e)},Ce}();se.prototype.then=C,se.all=xe,se.race=lt,se.resolve=_,se.reject=Ie,se._setScheduler=a,se._setAsap=c,se._asap=r;function ke(){var Ce=void 0;if(typeof f!="undefined")Ce=f;else if(typeof self!="undefined")Ce=self;else try{Ce=Function("return this")()}catch(ae){throw new Error("polyfill failed because global object is unavailable in this environment")}var ze=Ce.Promise;if(ze){var _e=null;try{_e=Object.prototype.toString.call(ze.resolve())}catch(ae){}if(_e==="[object Promise]"&&!ze.cast)return}Ce.Promise=se}return se.polyfill=ke,se.Promise=se,se})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(D,I,e){var g=e("2gN3"),f=function(){var p=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function y(p){return!!f&&f in p}D.exports=y},E9nw:function(D,I){D.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],y=0;y<e.rangeCount;y++)f.push(e.getRangeAt(y));switch(g.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":g.blur();break;default:g=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(p){e.addRange(p)}),g&&g.focus()}}},ELLl:function(D,I,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},y=g.Pos;g.defineOption("autoCloseBrackets",!1,function(t,s,d){d&&d!=g.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),s&&(h(p(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(v))});function p(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var v={Backspace:i,Enter:r};function h(t){for(var s=0;s<t.length;s++){var d=t.charAt(s),m="'"+d+"'";v[m]||(v[m]=u(d))}}h(f.pairs+"`");function u(t){return function(s){return c(s,t)}}function o(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var d=t.getModeAt(t.getCursor());return d.closeBrackets||s}function i(t){var s=o(t);if(!s||t.getOption("disableInput"))return g.Pass;for(var d=p(s,"pairs"),m=t.listSelections(),w=0;w<m.length;w++){if(!m[w].empty())return g.Pass;var b=n(t,m[w].head);if(!b||d.indexOf(b)%2!=0)return g.Pass}for(var w=m.length-1;w>=0;w--){var E=m[w].head;t.replaceRange("",y(E.line,E.ch-1),y(E.line,E.ch+1),"+delete")}}function r(t){var s=o(t),d=s&&p(s,"explode");if(!d||t.getOption("disableInput"))return g.Pass;for(var m=t.listSelections(),w=0;w<m.length;w++){if(!m[w].empty())return g.Pass;var b=n(t,m[w].head);if(!b||d.indexOf(b)%2!=0)return g.Pass}t.operation(function(){var E=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(E+E,null),t.execCommand("goCharLeft"),m=t.listSelections();for(var A=0;A<m.length;A++){var S=m[A].head.line;t.indentLine(S,null,!0),t.indentLine(S+1,null,!0)}})}function a(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new y(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new y(t.head.line,t.head.ch+(s?1:-1))}}function c(t,s){var d=o(t);if(!d||t.getOption("disableInput"))return g.Pass;var m=p(d,"pairs"),w=m.indexOf(s);if(w==-1)return g.Pass;for(var b=p(d,"closeBefore"),E=p(d,"triples"),A=m.charAt(w+1)==s,S=t.listSelections(),T=w%2==0,O,x=0;x<S.length;x++){var C=S[x],_=C.head,N,F=t.getRange(_,y(_.line,_.ch+1));if(T&&!C.empty())N="surround";else if((A||!T)&&F==s)A&&l(t,_)?N="both":E.indexOf(s)>=0&&t.getRange(_,y(_.line,_.ch+3))==s+s+s?N="skipThree":N="skip";else if(A&&_.ch>1&&E.indexOf(s)>=0&&t.getRange(y(_.line,_.ch-2),_)==s+s){if(_.ch>2&&/\bstring/.test(t.getTokenTypeAt(y(_.line,_.ch-2))))return g.Pass;N="addFour"}else if(A){var k=_.ch==0?" ":t.getRange(y(_.line,_.ch-1),_);if(!g.isWordChar(F)&&k!=s&&!g.isWordChar(k))N="both";else return g.Pass}else if(T&&(F.length===0||/\s/.test(F)||b.indexOf(F)>-1))N="both";else return g.Pass;if(!O)O=N;else if(O!=N)return g.Pass}var P=w%2?m.charAt(w-1):s,j=w%2?s:m.charAt(w+1);t.operation(function(){if(O=="skip")t.execCommand("goCharRight");else if(O=="skipThree")for(var K=0;K<3;K++)t.execCommand("goCharRight");else if(O=="surround"){for(var R=t.getSelections(),K=0;K<R.length;K++)R[K]=P+R[K]+j;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var K=0;K<R.length;K++)R[K]=a(R[K]);t.setSelections(R)}else O=="both"?(t.replaceSelection(P+j,null),t.triggerElectric(P+j),t.execCommand("goCharLeft")):O=="addFour"&&(t.replaceSelection(P+P+P+P,"before"),t.execCommand("goCharRight"))})}function n(t,s){var d=t.getRange(y(s.line,s.ch-1),y(s.line,s.ch+1));return d.length==2?d:null}function l(t,s){var d=t.getTokenAt(y(s.line,s.ch+1));return/\bstring/.test(d.type)&&d.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("mFDi"),p=e("K4ya"),v=e("qJCg"),h=e("iLNv"),u=e("vZ6x"),o=["inBrush","outOfBrush"],i="__ecBrushSelect",r="__ecInBrushSelectEvent",a=g.PRIORITY.VISUAL.BRUSH;g.registerLayout(a,function(E,A,S){E.eachComponent({mainType:"brush"},function(T){S&&S.type==="takeGlobalCursor"&&T.setBrushOption(S.key==="brush"?S.brushOption:{brushType:!1})}),c(E)});function c(E){E.eachComponent({mainType:"brush"},function(A){var S=A.brushTargetManager=new u(A.option,E);S.setInputRanges(A.areas,E)})}g.registerVisual(a,function(E,A,S){var T=[],O,x;E.eachComponent({mainType:"brush"},function(C,_){var N={brushId:C.id,brushIndex:_,brushName:C.name,areas:f.clone(C.areas),selected:[]};T.push(N);var F=C.option,k=F.brushLink,P=[],j=[],K=[],R=0;_||(O=F.throttleType,x=F.throttleDelay);var B=f.map(C.areas,function(X){return m(f.defaults({boundingRect:w[X.brushType](X)},X))}),U=p.createVisualMappings(C.option,o,function(X){X.mappingMethod="fixed"});f.isArray(k)&&f.each(k,function(X){P[X]=1});function H(X){return k==="all"||P[X]}function W(X){return!!X.length}E.eachSeries(function(X,q){var fe=K[q]=[];X.subType==="parallel"?V(X,q,fe):z(X,q,fe)});function V(X,q){var fe=X.coordinateSystem;R|=fe.hasAxisBrushed(),H(q)&&fe.eachActiveState(X.getData(),function(G,ve){G==="active"&&(j[ve]=1)})}function z(X,q,fe){var G=s(X);if(!G||d(C,q))return;if(f.each(B,function(Se){G[Se.brushType]&&C.brushTargetManager.controlSeries(Se,X,E)&&fe.push(Se),R|=W(fe)}),H(q)&&W(fe)){var ve=X.getData();ve.each(function(Se){t(G,fe,ve,Se)&&(j[Se]=1)})}}E.eachSeries(function(X,q){var fe={seriesId:X.id,seriesIndex:q,seriesName:X.name,dataIndex:[]};N.selected.push(fe);var G=s(X),ve=K[q],Se=X.getData(),ge=H(q)?function(Pe){return j[Pe]?(fe.dataIndex.push(Se.getRawIndex(Pe)),"inBrush"):"outOfBrush"}:function(Pe){return t(G,ve,Se,Pe)?(fe.dataIndex.push(Se.getRawIndex(Pe)),"inBrush"):"outOfBrush"};(H(q)?R:W(ve))&&p.applyVisual(o,U,Se,ge)})}),n(A,O,x,T,S)});function n(E,A,S,T,O){if(!O)return;var x=E.getZr();if(x[r])return;x[i]||(x[i]=l);var C=h.createOrUpdate(x,i,S,A);C(E,T)}function l(E,A){if(!E.isDisposed()){var S=E.getZr();S[r]=!0,E.dispatchAction({type:"brushSelect",batch:A}),S[r]=!1}}function t(E,A,S,T){for(var O=0,x=A.length;O<x;O++){var C=A[O];if(E[C.brushType](T,S,C.selectors,C))return!0}}function s(E){var A=E.brushSelector;if(f.isString(A)){var S=[];return f.each(v,function(O,x){S[x]=function(C,_,N,F){var k=_.getItemLayout(C);return O[A](k,N,F)}}),S}else if(f.isFunction(A)){var T={};return f.each(v,function(O,x){T[x]=A}),T}return A}function d(E,A){var S=E.option.seriesIndex;return S!=null&&S!=="all"&&(f.isArray(S)?f.indexOf(S,A)<0:A!==S)}function m(E){var A=E.selectors={};return f.each(v[E.brushType],function(S,T){A[T]=function(O){return S(O,A,E)}}),E}var w={lineX:f.noop,lineY:f.noop,rect:function(E){return b(E.range)},polygon:function(E){for(var A,S=E.range,T=0,O=S.length;T<O;T++){A=A||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=S[T];x[0]<A[0][0]&&(A[0][0]=x[0]),x[0]>A[0][1]&&(A[0][1]=x[0]),x[1]<A[1][0]&&(A[1][0]=x[1]),x[1]>A[1][1]&&(A[1][1]=x[1])}return A&&b(A)}};function b(E){return new y(E[0][0],E[1][0],E[0][1]-E[0][0],E[1][1]-E[1][0])}I.layoutCovers=c},ERHi:function(D,I,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),y=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(y("effectScatter"))},EXcs:function(D,I,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(u){return{height:u.scrollHeight,opacity:1}},y=function(u){return{height:u.offsetHeight}},p=function(u,o){return o.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:g,onEnterStart:g,onAppearActive:f,onEnterActive:f,onLeaveStart:y,onLeaveActive:g,onAppearEnd:p,onEnterEnd:p,onLeaveEnd:p,motionDeadline:500};I.a=v},Em2t:function(D,I,e){var g=e("bahg"),f=e("quyA"),y=e("0JQy");function p(v){return f(v)?y(v):g(v)}D.exports=p},EpBk:function(D,I){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}D.exports=e},Ez2D:function(D,I,e){var g=e("bYtY"),f=e("4NO4");function y(p,v){var h=[],u=p.seriesIndex,o;if(u==null||!(o=v.getSeriesByIndex(u)))return{point:[]};var i=o.getData(),r=f.queryDataIndex(i,p);if(r==null||r<0||g.isArray(r))return{point:[]};var a=i.getItemGraphicEl(r),c=o.coordinateSystem;if(o.getTooltipPosition)h=o.getTooltipPosition(r)||[];else if(c&&c.dataToPoint)h=c.dataToPoint(i.getValues(g.map(c.dimensions,function(l){return i.mapDimension(l)}),r,!0))||[];else if(a){var n=a.getBoundingRect().clone();n.applyTransform(a.transform),h=[n.x+n.width/2,n.y+n.height/2]}return{point:h,el:a}}D.exports=y},F0hE:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("ca2m"),p=e("Qxkt"),v=e("ICMv"),h=y.valueAxis;function u(r,a){return f.defaults({show:a},r)}var o=g.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),a=this.get("splitNumber"),c=this.get("scale"),n=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),s=this.get("axisLabel"),d=this.get("name"),m=this.get("name.show"),w=this.get("name.formatter"),b=this.get("nameGap"),E=this.get("triggerEvent"),A=f.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 T=d;if(S.color!=null&&(T=f.defaults({color:S.color},d)),S=f.merge(f.clone(S),{boundaryGap:r,splitNumber:a,scale:c,axisLine:n,axisTick:l,axisType:t,axisLabel:s,name:S.text,nameLocation:"end",nameGap:b,nameTextStyle:T,triggerEvent:E},!1),m||(S.name=""),typeof w=="string"){var O=S.name;S.name=w.replace("{value}",O!=null?O:"")}else typeof w=="function"&&(S.name=w(S.name,S));var x=f.extend(new p(S,null,this.ecModel),v);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return A}},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:f.merge({lineStyle:{color:"#bbb"}},h.axisLine),axisLabel:u(h.axisLabel,!1),axisTick:u(h.axisTick,!1),axisType:"interval",splitLine:u(h.splitLine,!0),splitArea:u(h.splitArea,!0),indicator:[]}}),i=o;D.exports=i},F5Ls:function(D,I){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function g(f,y){if(f==="china"){var p=e[y.name];if(p){var v=y.center;v[0]+=p[0]/10.5,v[1]+=-p[1]/(10.5/.75)}}}D.exports=g},F7hV:function(D,I,e){var g=e("MBQ8"),f=g.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var y=this.get("progressiveThreshold"),p=this.get("largeThreshold");return p>y&&(y=p),y},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}}});D.exports=f},F9bG:function(D,I,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),p=y.makeInner,v=p(),h=g.each;function u(l,t,s){if(f.node)return;var d=t.getZr();v(d).records||(v(d).records={}),o(d,t);var m=v(d).records[l]||(v(d).records[l]={});m.handler=s}function o(l,t){if(v(l).initialized)return;v(l).initialized=!0,s("click",g.curry(a,"click")),s("mousemove",g.curry(a,"mousemove")),s("globalout",r);function s(d,m){l.on(d,function(w){var b=c(t);h(v(l).records,function(E){E&&m(E,w,b.dispatchAction)}),i(b.pendings,t)})}}function i(l,t){var s=l.showTip.length,d=l.hideTip.length,m;s?m=l.showTip[s-1]:d&&(m=l.hideTip[d-1]),m&&(m.dispatchAction=null,t.dispatchAction(m))}function r(l,t,s){l.handler("leave",null,s)}function a(l,t,s,d){t.handler(l,s,d)}function c(l){var t={showTip:[],hideTip:[]},s=function(d){var m=t[d.type];m?m.push(d):(d.dispatchAction=s,l.dispatchAction(d))};return{dispatchAction:s,pendings:t}}function n(l,t){if(f.node)return;var s=t.getZr(),d=(v(s).records||{})[l];d&&(v(s).records[l]=null)}I.register=u,I.unregister=n},FBjb:function(D,I,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,p=e("IwbS"),v=e("OELB"),h=v.parsePercent,u=e("x3X8"),o=u.getDefaultLabel;function i(b,E,A){p.Group.call(this),this.updateData(b,E,A)}var r=i.prototype,a=i.getSymbolSize=function(b,E){var A=b.getItemVisual(E,"symbolSize");return A instanceof Array?A.slice():[+A,+A]};function c(b){return[b[0]/2,b[1]/2]}function n(b,E){this.parent.drift(b,E)}r._createSymbol=function(b,E,A,S,T){this.removeAll();var O=E.getItemVisual(A,"color"),x=y(b,-1,-1,2,2,O,T);x.attr({z2:100,culling:!0,scale:c(S)}),x.drift=n,this._symbolType=b,this.add(x)},r.stopSymbolAnimation=function(b){this.childAt(0).stopAnimation(b)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(b,E){var A=this.childAt(0);A.zlevel=b,A.z=E},r.setDraggable=function(b){var E=this.childAt(0);E.draggable=b,E.cursor=b?"move":E.cursor},r.updateData=function(b,E,A){this.silent=!1;var S=b.getItemVisual(E,"symbol")||"circle",T=b.hostModel,O=a(b,E),x=S!==this._symbolType;if(x){var C=b.getItemVisual(E,"symbolKeepAspect");this._createSymbol(S,b,E,O,C)}else{var _=this.childAt(0);_.silent=!1,p.updateProps(_,{scale:c(O)},T,E)}if(this._updateCommon(b,E,O,A),x){var _=this.childAt(0),N=A&&A.fadeIn,F={scale:_.scale.slice()};N&&(F.style={opacity:_.style.opacity}),_.scale=[0,0],N&&(_.style.opacity=0),p.initProps(_,F,T,E)}this._seriesModel=T};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],d=["emphasis","label"];r._updateCommon=function(b,E,A,S){var T=this.childAt(0),O=b.hostModel,x=b.getItemVisual(E,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=S&&S.itemStyle,_=S&&S.hoverItemStyle,N=S&&S.symbolOffset,F=S&&S.labelModel,k=S&&S.hoverLabelModel,P=S&&S.hoverAnimation,j=S&&S.cursorStyle;if(!S||b.hasItemOption){var K=S&&S.itemModel?S.itemModel:b.getItemModel(E);C=K.getModel(l).getItemStyle(["color"]),_=K.getModel(t).getItemStyle(),N=K.getShallow("symbolOffset"),F=K.getModel(s),k=K.getModel(d),P=K.getShallow("hoverAnimation"),j=K.getShallow("cursor")}else _=g.extend({},_);var R=T.style,B=b.getItemVisual(E,"symbolRotate");T.attr("rotation",(B||0)*Math.PI/180||0),N&&T.attr("position",[h(N[0],A[0]),h(N[1],A[1])]),j&&T.attr("cursor",j),T.setColor(x,S&&S.symbolInnerColor),T.setStyle(C);var U=b.getItemVisual(E,"opacity");U!=null&&(R.opacity=U);var H=b.getItemVisual(E,"liftZ"),W=T.__z2Origin;H!=null?W==null&&(T.__z2Origin=T.z2,T.z2+=H):W!=null&&(T.z2=W,T.__z2Origin=null);var V=S&&S.useNameLabel;p.setLabelStyle(R,_,F,k,{labelFetcher:O,labelDataIndex:E,defaultText:z,isRectText:!0,autoColor:x});function z(X,q){return V?b.getName(X):o(b,X)}T.__symbolOriginalScale=c(A),T.hoverStyle=_,T.highDownOnUpdate=P&&O.isAnimationEnabled()?m:null,p.setHoverStyle(T)};function m(b,E){if(this.incremental||this.useHoverLayer)return;if(E==="emphasis"){var A=this.__symbolOriginalScale,S=A[1]/A[0],T={scale:[Math.max(A[0]*1.1,A[0]+3),Math.max(A[1]*1.1,A[1]+3*S)]};this.animateTo(T,400,"elasticOut")}else E==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(b,E){var A=this.childAt(0);this.silent=A.silent=!0,!(E&&E.keepLabel)&&(A.style.text=null),p.updateProps(A,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,b)},g.inherits(i,p.Group);var w=i;D.exports=w},FGaS:function(D,I,e){var g=e("ProS"),f=e("IwbS"),y=e("bYtY"),p=e("oVpE");function v(u){return y.isArray(u)||(u=[+u,+u]),u}var h=g.extendChartView({type:"radar",render:function(u,o,i){var r=u.coordinateSystem,a=this.group,c=u.getData(),n=this._data;function l(d,m){var w=d.getItemVisual(m,"symbol")||"circle",b=d.getItemVisual(m,"color");if(w==="none")return;var E=v(d.getItemVisual(m,"symbolSize")),A=p.createSymbol(w,-1,-1,2,2,b);return A.attr({style:{strokeNoScale:!0},z2:100,scale:[E[0]/2,E[1]/2]}),A}function t(d,m,w,b,E,A){w.removeAll();for(var S=0;S<m.length-1;S++){var T=l(b,E);T&&(T.__dimIdx=S,d[S]?(T.attr("position",d[S]),f[A?"initProps":"updateProps"](T,{position:m[S]},u,E)):T.attr("position",m[S]),w.add(T))}}function s(d){return y.map(d,function(m){return[r.cx,r.cy]})}c.diff(n).add(function(d){var m=c.getItemLayout(d);if(!m)return;var w=new f.Polygon,b=new f.Polyline,E={shape:{points:m}};w.shape.points=s(m),b.shape.points=s(m),f.initProps(w,E,u,d),f.initProps(b,E,u,d);var A=new f.Group,S=new f.Group;A.add(b),A.add(w),A.add(S),t(b.shape.points,m,S,c,d,!0),c.setItemGraphicEl(d,A)}).update(function(d,m){var w=n.getItemGraphicEl(m),b=w.childAt(0),E=w.childAt(1),A=w.childAt(2),S={shape:{points:c.getItemLayout(d)}};if(!S.shape.points)return;t(b.shape.points,S.shape.points,A,c,d,!1),f.updateProps(b,S,u),f.updateProps(E,S,u),c.setItemGraphicEl(d,w)}).remove(function(d){a.remove(n.getItemGraphicEl(d))}).execute(),c.eachItemGraphicEl(function(d,m){var w=c.getItemModel(m),b=d.childAt(0),E=d.childAt(1),A=d.childAt(2),S=c.getItemVisual(m,"color");a.add(d),b.useStyle(y.defaults(w.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:S})),b.hoverStyle=w.getModel("emphasis.lineStyle").getLineStyle();var T=w.getModel("areaStyle"),O=w.getModel("emphasis.areaStyle"),x=T.isEmpty()&&T.parentModel.isEmpty(),C=O.isEmpty()&&O.parentModel.isEmpty();C=C&&x,E.ignore=x,E.useStyle(y.defaults(T.getAreaStyle(),{fill:S,opacity:.7})),E.hoverStyle=O.getAreaStyle();var _=w.getModel("itemStyle").getItemStyle(["color"]),N=w.getModel("emphasis.itemStyle").getItemStyle(),F=w.getModel("label"),k=w.getModel("emphasis.label");A.eachChild(function(P){P.setStyle(_),P.hoverStyle=y.clone(N);var j=c.get(c.dimensions[P.__dimIdx],m);(j==null||isNaN(j))&&(j=""),f.setLabelStyle(P.style,P.hoverStyle,F,k,{labelFetcher:c.hostModel,labelDataIndex:m,labelDimIndex:P.__dimIdx,defaultText:j,autoColor:S,isRectText:!0})}),d.highDownOnUpdate=function(P,j){E.attr("ignore",j==="emphasis"?C:x)},f.setHoverStyle(d)}),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});D.exports=h},FH2Y:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("ZMnZ"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},FIfw:function(D,I,e){},FNN5:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),p=e("Znkb"),v=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],u=p.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(i,r){if(this.group.removeAll(),!i.get("show"))return;var a=i.axis,c=a.polar,n=c.getAngleAxis(),l=a.getTicksCoords(),t=a.getMinorTicksCoords(),s=n.getExtent()[0],d=a.getExtent(),m=o(c,i,s),w=new y(i,m);g.each(v,w.add,w),this.group.add(w.getGroup()),g.each(h,function(b){i.get(b+".show")&&!a.scale.isBlank()&&this["_"+b](i,c,s,d,l,t)},this)},_splitLine:function(i,r,a,c,n){var l=i.getModel("splitLine"),t=l.getModel("lineStyle"),s=t.get("color"),d=0;s=s instanceof Array?s:[s];for(var m=[],w=0;w<n.length;w++){var b=d++%s.length;m[b]=m[b]||[],m[b].push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:n[w].coord}}))}for(var w=0;w<m.length;w++)this.group.add(f.mergePath(m[w],{style:g.defaults({stroke:s[w%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(i,r,a,c,n,l){if(!l.length)return;for(var t=i.getModel("minorSplitLine"),s=t.getModel("lineStyle"),d=[],m=0;m<l.length;m++)for(var w=0;w<l[m].length;w++)d.push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:l[m][w].coord}}));this.group.add(f.mergePath(d,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(i,r,a,c,n){if(!n.length)return;var l=i.getModel("splitArea"),t=l.getModel("areaStyle"),s=t.get("color"),d=0;s=s instanceof Array?s:[s];for(var m=[],w=n[0].coord,b=1;b<n.length;b++){var E=d++%s.length;m[E]=m[E]||[],m[E].push(new f.Sector({shape:{cx:r.cx,cy:r.cy,r0:w,r:n[b].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),w=n[b].coord}for(var b=0;b<m.length;b++)this.group.add(f.mergePath(m[b],{style:g.defaults({fill:s[b%s.length]},t.getAreaStyle()),silent:!0}))}});function o(i,r,a){return{position:[i.cx,i.cy],rotation:a/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}D.exports=u},FUi9:function(D,I,e){var g=e("bYtY"),f=e("MwEJ"),y=e("aX7z"),p=e("ICMv"),v=e("Qxkt"),h=e("+TT/"),u=h.getLayoutRect;I.getLayoutRect=h.getLayoutRect;var o=e("7hqr"),i=o.enableDataStack,r=o.isDimensionStacked,a=o.getStackedDimension,c=e("hi0g");I.completeDimensions=c;var n=e("sdST");I.createDimensions=n;var l=e("oVpE");I.createSymbol=l.createSymbol;function t(w){return f(w.getSource(),w)}var s={isDimensionStacked:r,enableDataStack:i,getStackedDimension:a};function d(w,b){var E=b;v.isInstance(b)||(E=new v(b),g.mixin(E,p));var A=y.createScaleByModel(E);return A.setExtent(w[0],w[1]),y.niceScaleExtent(A,E),A}function m(w){g.mixin(w,p)}I.createList=t,I.dataStack=s,I.createScale=d,I.mixinAxisModelCommonMethods=m},"Fa/5":function(D,I,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),y=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(y("scatter"))},FhB9:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},"Fm1+":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("a7Wl")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="CaretUpOutlined";var u=y.forwardRef(h);I.default=u},Fofx:function(D,I){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(){var r=new e(6);return f(r),r}function f(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function y(r,a){return r[0]=a[0],r[1]=a[1],r[2]=a[2],r[3]=a[3],r[4]=a[4],r[5]=a[5],r}function p(r,a,c){var n=a[0]*c[0]+a[2]*c[1],l=a[1]*c[0]+a[3]*c[1],t=a[0]*c[2]+a[2]*c[3],s=a[1]*c[2]+a[3]*c[3],d=a[0]*c[4]+a[2]*c[5]+a[4],m=a[1]*c[4]+a[3]*c[5]+a[5];return r[0]=n,r[1]=l,r[2]=t,r[3]=s,r[4]=d,r[5]=m,r}function v(r,a,c){return r[0]=a[0],r[1]=a[1],r[2]=a[2],r[3]=a[3],r[4]=a[4]+c[0],r[5]=a[5]+c[1],r}function h(r,a,c){var n=a[0],l=a[2],t=a[4],s=a[1],d=a[3],m=a[5],w=Math.sin(c),b=Math.cos(c);return r[0]=n*b+s*w,r[1]=-n*w+s*b,r[2]=l*b+d*w,r[3]=-l*w+b*d,r[4]=b*t+w*m,r[5]=b*m-w*t,r}function u(r,a,c){var n=c[0],l=c[1];return r[0]=a[0]*n,r[1]=a[1]*l,r[2]=a[2]*n,r[3]=a[3]*l,r[4]=a[4]*n,r[5]=a[5]*l,r}function o(r,a){var c=a[0],n=a[2],l=a[4],t=a[1],s=a[3],d=a[5],m=c*s-t*n;return m?(m=1/m,r[0]=s*m,r[1]=-t*m,r[2]=-n*m,r[3]=c*m,r[4]=(n*d-s*l)*m,r[5]=(t*l-c*d)*m,r):null}function i(r){var a=g();return y(a,r),a}I.create=g,I.identity=f,I.copy=y,I.mul=p,I.translate=v,I.rotate=h,I.scale=u,I.invert=o,I.clone=i},Fv0C:function(D,I,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=i(e("Lo0S")),y=e("vewr"),p=i(e("8CQX")),v=u(e("mHUz")),h=i(e("GdRQ"));function u(l){return l&&l.__esModule?l:{default:l}}function o(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return o=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=o();if(t&&t.has(l))return t.get(l);var s={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in l)if(Object.prototype.hasOwnProperty.call(l,m)){var w=d?Object.getOwnPropertyDescriptor(l,m):null;w&&(w.get||w.set)?Object.defineProperty(s,m,w):s[m]=l[m]}return s.default=l,t&&t.set(l,s),s}function r(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function a(l,t){for(var s=0;s<t.length;s++){var d=t[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(l,d.key,d)}}function c(l,t,s){return t&&a(l.prototype,t),s&&a(l,s),l}var n=function(){function l(t){r(this,l),this._target=t||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 c(l,[{key:"_sendKeyEvent",value:function(s,d,m){if(m)this._keyDownList[d]=s;else{if(!(d in this._keyDownList))return;delete this._keyDownList[d]}f.Debug("onkeyevent "+(m?"down":"up")+", keysym: "+s,", code: "+d),this.onkeyevent(s,d,m)}},{key:"_getKeyCode",value:function(s){var d=p.getKeycode(s);if(d!=="Unidentified")return d;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 m=parseInt(s.keyIdentifier.substr(2),16),w=String.fromCharCode(m).toUpperCase();return"Platform"+w.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var d=this._getKeyCode(s),m=p.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),d==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?m=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),d==="Unidentified"){m&&(this._sendKeyEvent(m,d,!0),this._sendKeyEvent(m,d,!1)),(0,y.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(m){case v.default.XK_Super_L:m=v.default.XK_Alt_L;break;case v.default.XK_Super_R:m=v.default.XK_Super_L;break;case v.default.XK_Alt_L:m=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:m=v.default.XK_ISO_Level3_Shift;break}if(d in this._keyDownList&&(m=this._keyDownList[d]),(h.isMac()||h.isIOS())&&d==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,y.stopEvent)(s);return}if(!m&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=d,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,y.stopEvent)(s),d==="ControlLeft"&&h.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(m,d,!0)}},{key:"_handleKeyPress",value:function(s){if((0,y.stopEvent)(s),this._pendingKey===null)return;var d=this._getKeyCode(s),m=p.getKeysym(s);if(d!=="Unidentified"&&d!=this._pendingKey)return;if(d=this._pendingKey,this._pendingKey=null,!m){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(m,d,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var d,m=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)d=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var w=String.fromCharCode(s.keyCode);s.shiftKey?w=w.toUpperCase():w=w.toLowerCase(),d=w.charCodeAt()}else d=0;this._sendKeyEvent(d,m,!0)}},{key:"_handleKeyUp",value:function(s){(0,y.stopEvent)(s);var d=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&d==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[d],d,!1),h.isWindows()&&(d==="ShiftLeft"||d==="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(){f.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);f.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var d=this._target,m=this._keyDownList;["AltLeft","AltRight"].forEach(function(w){if(!(w in m))return;var b=new KeyboardEvent("keyup",{key:m[w],code:w});b.skipCheckAlt=!0,d.dispatchEvent(b)})}},{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),h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(d){return document.addEventListener(d,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(d){return document.removeEventListener(d,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();I.default=n},FxDU:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),y=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;I.createSensor=y},GGyF:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("wgjA")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="LeftOutlined";var u=y.forwardRef(h);I.default=u},GIiI:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="PoweroffOutlined";var h=I.a=g.forwardRef(v)},GMDS:function(D,I,e){var g=e("bYtY"),f=e("4NgU"),y=e("jkPA"),p=f.prototype,v=f.extend({type:"ordinal",init:function(u,o){(!u||g.isArray(u))&&(u=new y({categories:u})),this._ordinalMeta=u,this._extent=o||[0,u.categories.length-1]},parse:function(u){return typeof u=="string"?this._ordinalMeta.getOrdinal(u):Math.round(u)},contain:function(u){return u=this.parse(u),p.contain.call(this,u)&&this._ordinalMeta.categories[u]!=null},normalize:function(u){return p.normalize.call(this,this.parse(u))},scale:function(u){return Math.round(p.scale.call(this,u))},getTicks:function(){for(var u=[],o=this._extent,i=o[0];i<=o[1];)u.push(i),i++;return u},getLabel:function(u){if(!this.isBlank())return this._ordinalMeta.categories[u]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(u,o){this.unionExtent(u.getApproximateExtent(o))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:g.noop,niceExtent:g.noop});v.create=function(){return new v};var h=v;D.exports=h},GQ8N:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.toUnsigned32bit=g,I.toSigned32bit=f;function g(y){return y>>>0}function f(y){return y|0}},GUcZ:function(D,I,e){"use strict";var g=e("fWQN"),f=e("mtLc"),y=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(Y,te){return Y.__proto__=te,Y},Object.assign=Object.assign||function(Y){if(Y==null)throw new TypeError("Cannot convert undefined or null to object");for(var te=Object(Y),be=1;be<arguments.length;be++){var Le=arguments[be];if(Le!=null)for(var Re in Le)Le.hasOwnProperty(Re)&&(te[Re]=Le[Re])}return te},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ne}();y.install();var p=y,v=e("+qE3"),h=e.n(v),u=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"e",value:function(Y,te){(!Y||ne.FORCE_GLOBAL_TAG)&&(Y=ne.GLOBAL_TAG);var be="[".concat(Y,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","error",be),!ne.ENABLE_ERROR)return;console.error?console.error(be):console.warn?console.warn(be):console.log(be)}},{key:"i",value:function(Y,te){(!Y||ne.FORCE_GLOBAL_TAG)&&(Y=ne.GLOBAL_TAG);var be="[".concat(Y,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","info",be),!ne.ENABLE_INFO)return;console.info?console.info(be):console.log(be)}},{key:"w",value:function(Y,te){(!Y||ne.FORCE_GLOBAL_TAG)&&(Y=ne.GLOBAL_TAG);var be="[".concat(Y,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","warn",be),!ne.ENABLE_WARN)return;console.warn?console.warn(be):console.log(be)}},{key:"d",value:function(Y,te){(!Y||ne.FORCE_GLOBAL_TAG)&&(Y=ne.GLOBAL_TAG);var be="[".concat(Y,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","debug",be),!ne.ENABLE_DEBUG)return;console.debug?console.debug(be):console.log(be)}},{key:"v",value:function(Y,te){(!Y||ne.FORCE_GLOBAL_TAG)&&(Y=ne.GLOBAL_TAG);var be="[".concat(Y,"] > ").concat(te);if(ne.ENABLE_CALLBACK&&ne.emitter.emit("log","verbose",be),!ne.ENABLE_VERBOSE)return;console.log(be)}}]),ne}();u.GLOBAL_TAG="flv.js",u.FORCE_GLOBAL_TAG=!1,u.ENABLE_ERROR=!0,u.ENABLE_INFO=!0,u.ENABLE_WARN=!0,u.ENABLE_DEBUG=!0,u.ENABLE_VERBOSE=!0,u.ENABLE_CALLBACK=!1,u.emitter=new h.a;var o=u,i=function(){function ne(){Object(g.a)(this,ne),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(f.a)(ne,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(Y){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=Y,this._totalBytes+=Y):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=Y,this._totalBytes+=Y):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=Y,this._totalBytes+=Y,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var Y=(this._now()-this._lastCheckpoint)/1e3;return Y==0&&(Y=1),this._intervalBytes/Y/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 Y=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/Y/1024}}]),ne}(),r=i,a=e("yKVA"),c=e("879j"),n=function(){function ne(ue){Object(g.a)(this,ne),this._message=ue}return Object(f.a)(ne,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ne}(),l=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);function Y(te){return Object(g.a)(this,Y),ue.call(this,te)}return Object(f.a)(Y,[{key:"name",get:function(){return"IllegalStateException"}}]),Y}(n),t=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);function Y(te){return Object(g.a)(this,Y),ue.call(this,te)}return Object(f.a)(Y,[{key:"name",get:function(){return"InvalidArgumentException"}}]),Y}(n),s=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);function Y(te){return Object(g.a)(this,Y),ue.call(this,te)}return Object(f.a)(Y,[{key:"name",get:function(){return"NotImplementedException"}}]),Y}(n),d={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},m={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},w=function(){function ne(ue){Object(g.a)(this,ne),this._type=ue||"undefined",this._status=d.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(ne,[{key:"destroy",value:function(){this._status=d.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===d.kConnecting||this._status===d.kBuffering}},{key:"open",value:function(Y,te){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}},{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(Y){this._onContentLengthKnown=Y}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(Y){this._onURLRedirect=Y}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Y){this._onDataArrival=Y}},{key:"onError",get:function(){return this._onError},set:function(Y){this._onError=Y}},{key:"onComplete",get:function(){return this._onComplete},set:function(Y){this._onComplete=Y}}]),ne}(),b=e("oZsa");function E(ne,ue){for(;!Object.prototype.hasOwnProperty.call(ne,ue)&&!(ne=Object(b.a)(ne),ne===null););return ne}function A(ne,ue,Y){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(be,Le,Re){var $e=E(be,Le);if(!$e)return;var gt=Object.getOwnPropertyDescriptor($e,Le);return gt.get?gt.get.call(Re):gt.value},A(ne,ue,Y||ne)}var S={};function T(){var ne=self.navigator.userAgent.toLowerCase(),ue=/(edge)\/([\w.]+)/.exec(ne)||/(opr)[\/]([\w.]+)/.exec(ne)||/(chrome)[ \/]([\w.]+)/.exec(ne)||/(iemobile)[\/]([\w.]+)/.exec(ne)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ne)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ne)||/(webkit)[ \/]([\w.]+)/.exec(ne)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ne)||/(msie) ([\w.]+)/.exec(ne)||ne.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ne)||ne.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ne)||[],Y=/(ipad)/.exec(ne)||/(ipod)/.exec(ne)||/(windows phone)/.exec(ne)||/(iphone)/.exec(ne)||/(kindle)/.exec(ne)||/(android)/.exec(ne)||/(windows)/.exec(ne)||/(mac)/.exec(ne)||/(linux)/.exec(ne)||/(cros)/.exec(ne)||[],te={browser:ue[5]||ue[3]||ue[1]||"",version:ue[2]||ue[4]||"0",majorVersion:ue[4]||ue[2]||"0",platform:Y[0]||""},be={};if(te.browser){be[te.browser]=!0;var Le=te.majorVersion.split(".");be.version={major:parseInt(te.majorVersion,10),string:te.version},Le.length>1&&(be.version.minor=parseInt(Le[1],10)),Le.length>2&&(be.version.build=parseInt(Le[2],10))}if(te.platform&&(be[te.platform]=!0),(be.chrome||be.opr||be.safari)&&(be.webkit=!0),be.rv||be.iemobile){be.rv&&delete be.rv;var Re="msie";te.browser=Re,be[Re]=!0}if(be.edge){delete be.edge;var $e="msedge";te.browser=$e,be[$e]=!0}if(be.opr){var gt="opera";te.browser=gt,be[gt]=!0}if(be.safari&&be.android){var Wt="android";te.browser=Wt,be[Wt]=!0}be.name=te.browser,be.platform=te.platform;for(var $t in S)S.hasOwnProperty($t)&&delete S[$t];Object.assign(S,be)}T();var O=S,x=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);Object(f.a)(Y,null,[{key:"isSupported",value:function(){try{var be=O.msedge&&O.version.minor>=15048,Le=O.msedge?be:!0;return self.fetch&&self.ReadableStream&&Le}catch(Re){return!1}}}]);function Y(te,be){var Le;return Object(g.a)(this,Y),Le=ue.call(this,"fetch-stream-loader"),Le.TAG="FetchStreamLoader",Le._seekHandler=te,Le._config=be,Le._needStash=!0,Le._requestAbort=!1,Le._contentLength=null,Le._receivedLength=0,Le}return Object(f.a)(Y,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),A(Object(b.a)(Y.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Le){var Re=this;this._dataSource=be,this._range=Le;var $e=be.url;this._config.reuseRedirectedURL&&be.redirectedURL!=null&&($e=be.redirectedURL);var gt=this._seekHandler.getConfig($e,Le),Wt=new self.Headers;if(typeof gt.headers=="object"){var $t=gt.headers;for(var Dt in $t)$t.hasOwnProperty(Dt)&&Wt.append(Dt,$t[Dt])}var Kt={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Yt in this._config.headers)Wt.append(Yt,this._config.headers[Yt]);be.cors===!1&&(Kt.mode="same-origin"),be.withCredentials&&(Kt.credentials="include"),be.referrerPolicy&&(Kt.referrerPolicy=be.referrerPolicy),this._status=d.kConnecting,self.fetch(gt.url,Kt).then(function(Qt){if(Re._requestAbort){Re._requestAbort=!1,Re._status=d.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==gt.url&&Re._onURLRedirect){var Mt=Re._seekHandler.removeURLParameters(Qt.url);Re._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Re._contentLength=parseInt(dr),Re._contentLength!==0&&(Re._onContentLengthKnown&&Re._onContentLengthKnown(Re._contentLength))),Re._pump.call(Re,Qt.body.getReader())}else if(Re._status=d.kError,Re._onError)Re._onError(m.HTTP_STATUS_CODE_INVALID,{code:Qt.status,msg:Qt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Qt.status+" "+Qt.statusText)}).catch(function(Qt){if(Re._status=d.kError,Re._onError)Re._onError(m.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(be){var Le=this;return be.read().then(function(Re){if(Re.done)if(Le._contentLength!==null&&Le._receivedLength<Le._contentLength){Le._status=d.kError;var $e=m.EARLY_EOF,gt={code:-1,msg:"Fetch stream meet Early-EOF"};if(Le._onError)Le._onError($e,gt);else throw new n(gt.msg)}else Le._status=d.kComplete,Le._onComplete&&Le._onComplete(Le._range.from,Le._range.from+Le._receivedLength-1);else{if(Le._requestAbort===!0)return Le._requestAbort=!1,Le._status=d.kComplete,be.cancel();Le._status=d.kBuffering;var Wt=Re.value.buffer,$t=Le._range.from+Le._receivedLength;Le._receivedLength+=Wt.byteLength,Le._onDataArrival&&Le._onDataArrival(Wt,$t,Le._receivedLength),Le._pump(be)}}).catch(function(Re){if(Re.code===11&&O.msedge)return;Le._status=d.kError;var $e=0,gt=null;if((Re.code===19||Re.message==="network error")&&(Le._contentLength===null||Le._contentLength!==null&&Le._receivedLength<Le._contentLength)?($e=m.EARLY_EOF,gt={code:Re.code,msg:"Fetch stream meet Early-EOF"}):($e=m.EXCEPTION,gt={code:Re.code,msg:Re.message}),Le._onError)Le._onError($e,gt);else throw new n(gt.msg)})}}]),Y}(w),C=x,_=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);Object(f.a)(Y,null,[{key:"isSupported",value:function(){try{var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="moz-chunked-arraybuffer",be.responseType==="moz-chunked-arraybuffer"}catch(Le){return o.w("MozChunkedLoader",Le.message),!1}}}]);function Y(te,be){var Le;return Object(g.a)(this,Y),Le=ue.call(this,"xhr-moz-chunked-loader"),Le.TAG="MozChunkedLoader",Le._seekHandler=te,Le._config=be,Le._needStash=!0,Le._xhr=null,Le._requestAbort=!1,Le._contentLength=null,Le._receivedLength=0,Le}return Object(f.a)(Y,[{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),A(Object(b.a)(Y.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Le){this._dataSource=be,this._range=Le;var Re=be.url;this._config.reuseRedirectedURL&&be.redirectedURL!=null&&(Re=be.redirectedURL);var $e=this._seekHandler.getConfig(Re,Le);this._requestURL=$e.url;var gt=this._xhr=new XMLHttpRequest;if(gt.open("GET",$e.url,!0),gt.responseType="moz-chunked-arraybuffer",gt.onreadystatechange=this._onReadyStateChange.bind(this),gt.onprogress=this._onProgress.bind(this),gt.onloadend=this._onLoadEnd.bind(this),gt.onerror=this._onXhrError.bind(this),be.withCredentials&&(gt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&>.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&>.setRequestHeader(Kt,Dt[Kt])}this._status=d.kConnecting,gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=d.kComplete}},{key:"_onReadyStateChange",value:function(be){var Le=be.target;if(Le.readyState===2){if(Le.responseURL!=null&&Le.responseURL!==this._requestURL&&this._onURLRedirect){var Re=this._seekHandler.removeURLParameters(Le.responseURL);this._onURLRedirect(Re)}if(Le.status!==0&&(Le.status<200||Le.status>299))if(this._status=d.kError,this._onError)this._onError(m.HTTP_STATUS_CODE_INVALID,{code:Le.status,msg:Le.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+Le.status+" "+Le.statusText);else this._status=d.kBuffering}}},{key:"_onProgress",value:function(be){if(this._status===d.kError)return;this._contentLength===null&&(be.total!==null&&be.total!==0&&(this._contentLength=be.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Le=be.target.response,Re=this._range.from+this._receivedLength;this._receivedLength+=Le.byteLength,this._onDataArrival&&this._onDataArrival(Le,Re,this._receivedLength)}},{key:"_onLoadEnd",value:function(be){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===d.kError)return;this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(be){this._status=d.kError;var Le=0,Re=null;if(this._contentLength&&be.loaded<this._contentLength?(Le=m.EARLY_EOF,Re={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(Le=m.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Le,Re);else throw new n(Re.msg)}}]),Y}(w),N=_,F=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);Object(f.a)(Y,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="ms-stream",be.responseType==="ms-stream"}catch(Le){return o.w("MSStreamLoader",Le.message),!1}}}]);function Y(te,be){var Le;return Object(g.a)(this,Y),Le=ue.call(this,"xhr-msstream-loader"),Le.TAG="MSStreamLoader",Le._seekHandler=te,Le._config=be,Le._needStash=!0,Le._xhr=null,Le._reader=null,Le._totalRange=null,Le._currentRange=null,Le._currentRequestURL=null,Le._currentRedirectedURL=null,Le._contentLength=null,Le._receivedLength=0,Le._bufferLimit=16*1024*1024,Le._lastTimeBufferSize=0,Le._isReconnecting=!1,Le}return Object(f.a)(Y,[{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),A(Object(b.a)(Y.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Le){this._internalOpen(be,Le,!1)}},{key:"_internalOpen",value:function(be,Le,Re){this._dataSource=be,Re?this._currentRange=Le:this._totalRange=Le;var $e=be.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$e=this._currentRedirectedURL:be.redirectedURL!=null&&($e=be.redirectedURL));var gt=this._seekHandler.getConfig($e,Le);this._currentRequestURL=gt.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",gt.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),be.withCredentials&&($t.withCredentials=!0),typeof gt.headers=="object"){var Dt=gt.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&$t.setRequestHeader(Kt,Dt[Kt])}if(typeof this._config.headers=="object"){var Yt=this._config.headers;for(var Qt in Yt)Yt.hasOwnProperty(Qt)&&$t.setRequestHeader(Qt,Yt[Qt])}this._isReconnecting?this._isReconnecting=!1:this._status=d.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=d.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(be){var Le=be.target;if(Le.readyState===2)if(Le.status>=200&&Le.status<=299){if(this._status=d.kBuffering,Le.responseURL!=null){var Re=this._seekHandler.removeURLParameters(Le.responseURL);Le.responseURL!==this._currentRequestURL&&Re!==this._currentRedirectedURL&&(this._currentRedirectedURL=Re,this._onURLRedirect&&this._onURLRedirect(Re))}var $e=Le.getResponseHeader("Content-Length");if($e!=null&&this._contentLength==null){var gt=parseInt($e);gt>0&&(this._contentLength=gt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=d.kError,this._onError)this._onError(m.HTTP_STATUS_CODE_INVALID,{code:Le.status,msg:Le.statusText});else throw new n("MSStreamLoader: Http code invalid, "+Le.status+" "+Le.statusText);else if(Le.readyState===3&&(Le.status>=200&&Le.status<=299)){this._status=d.kBuffering;var Wt=Le.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(be){this._status=d.kError;var Le=m.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type};if(this._onError)this._onError(Le,Re);else throw new n(Re.msg)}},{key:"_msrOnProgress",value:function(be){var Le=be.target,Re=Le.result;if(Re==null){this._doReconnectIfNeeded();return}var $e=Re.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Re.byteLength;var gt=this._totalRange.from+this._receivedLength;this._receivedLength+=$e.byteLength,this._onDataArrival&&this._onDataArrival($e,gt,this._receivedLength),Re.byteLength>=this._bufferLimit&&(o.v(this.TAG,"MSStream buffer exceeded max size near ".concat(gt+$e.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 be={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,be,!0)}}},{key:"_msrOnLoad",value:function(be){this._status=d.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(be){this._status=d.kError;var Le=0,Re=null;if(this._contentLength&&this._receivedLength<this._contentLength?(Le=m.EARLY_EOF,Re={code:-1,msg:"MSStream meet Early-Eof"}):(Le=m.EARLY_EOF,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Le,Re);else throw new n(Re.msg)}}]),Y}(w),k=F,P=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);Object(f.a)(Y,null,[{key:"isSupported",value:function(){try{var be=new XMLHttpRequest;return be.open("GET","https://example.com",!0),be.responseType="arraybuffer",be.responseType==="arraybuffer"}catch(Le){return o.w("RangeLoader",Le.message),!1}}}]);function Y(te,be){var Le;return Object(g.a)(this,Y),Le=ue.call(this,"xhr-range-loader"),Le.TAG="RangeLoader",Le._seekHandler=te,Le._config=be,Le._needStash=!1,Le._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],Le._currentChunkSizeKB=384,Le._currentSpeedNormalized=0,Le._zeroSpeedChunkCount=0,Le._xhr=null,Le._speedSampler=new r,Le._requestAbort=!1,Le._waitForTotalLength=!1,Le._totalLengthReceived=!1,Le._currentRequestURL=null,Le._currentRedirectedURL=null,Le._currentRequestRange=null,Le._totalLength=null,Le._contentLength=null,Le._receivedLength=0,Le._lastTimeLoaded=0,Le}return Object(f.a)(Y,[{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),A(Object(b.a)(Y.prototype),"destroy",this).call(this)}},{key:"open",value:function(be,Le){this._dataSource=be,this._range=Le,this._status=d.kConnecting;var Re=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Re=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Re?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var be=this._currentChunkSizeKB*1024,Le=this._range.from+this._receivedLength,Re=Le+be;this._contentLength!=null&&(Re-this._range.from>=this._contentLength&&(Re=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Le,to:Re},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(be,Le){this._lastTimeLoaded=0;var Re=be.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Re=this._currentRedirectedURL:be.redirectedURL!=null&&(Re=be.redirectedURL));var $e=this._seekHandler.getConfig(Re,Le);this._currentRequestURL=$e.url;var gt=this._xhr=new XMLHttpRequest;if(gt.open("GET",$e.url,!0),gt.responseType="arraybuffer",gt.onreadystatechange=this._onReadyStateChange.bind(this),gt.onprogress=this._onProgress.bind(this),gt.onload=this._onLoad.bind(this),gt.onerror=this._onXhrError.bind(this),be.withCredentials&&(gt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&>.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&>.setRequestHeader(Kt,Dt[Kt])}gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=d.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(be){var Le=be.target;if(Le.readyState===2){if(Le.responseURL!=null){var Re=this._seekHandler.removeURLParameters(Le.responseURL);Le.responseURL!==this._currentRequestURL&&Re!==this._currentRedirectedURL&&(this._currentRedirectedURL=Re,this._onURLRedirect&&this._onURLRedirect(Re))}if(Le.status>=200&&Le.status<=299){if(this._waitForTotalLength)return;this._status=d.kBuffering}else if(this._status=d.kError,this._onError)this._onError(m.HTTP_STATUS_CODE_INVALID,{code:Le.status,msg:Le.statusText});else throw new n("RangeLoader: Http code invalid, "+Le.status+" "+Le.statusText)}}},{key:"_onProgress",value:function(be){if(this._status===d.kError)return;if(this._contentLength===null){var Le=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Le=!0;var Re=be.total;this._internalAbort(),Re!=null&Re!==0&&(this._totalLength=Re)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Le){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $e=be.loaded-this._lastTimeLoaded;this._lastTimeLoaded=be.loaded,this._speedSampler.addBytes($e)}},{key:"_normalizeSpeed",value:function(be){var Le=this._chunkSizeKBList,Re=Le.length-1,$e=0,gt=0,Wt=Re;if(be<Le[0])return Le[0];for(;gt<=Wt;){if($e=gt+Math.floor((Wt-gt)/2),$e===Re||be>=Le[$e]&&be<Le[$e+1])return Le[$e];Le[$e]<be?gt=$e+1:Wt=$e-1}}},{key:"_onLoad",value:function(be){if(this._status===d.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var Le=this._speedSampler.lastSecondKBps;if(Le===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(Le=this._speedSampler.currentKBps)),Le!==0){var Re=this._normalizeSpeed(Le);this._currentSpeedNormalized!==Re&&(this._currentSpeedNormalized=Re,this._currentChunkSizeKB=Re)}var $e=be.target.response,gt=this._range.from+this._receivedLength;this._receivedLength+=$e.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival($e,gt,this._receivedLength),Wt&&(this._status=d.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(be){this._status=d.kError;var Le=0,Re=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(Le=m.EARLY_EOF,Re={code:-1,msg:"RangeLoader meet Early-Eof"}):(Le=m.EXCEPTION,Re={code:-1,msg:be.constructor.name+" "+be.type}),this._onError)this._onError(Le,Re);else throw new n(Re.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),Y}(w),j=P,K=function(ne){Object(a.a)(Y,ne);var ue=Object(c.a)(Y);Object(f.a)(Y,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(be){return!1}}}]);function Y(){var te;return Object(g.a)(this,Y),te=ue.call(this,"websocket-loader"),te.TAG="WebSocketLoader",te._needStash=!0,te._ws=null,te._requestAbort=!1,te._receivedLength=0,te}return Object(f.a)(Y,[{key:"destroy",value:function(){this._ws&&this.abort(),A(Object(b.a)(Y.prototype),"destroy",this).call(this)}},{key:"open",value:function(be){try{var Le=this._ws=new self.WebSocket(be.url);Le.binaryType="arraybuffer",Le.onopen=this._onWebSocketOpen.bind(this),Le.onclose=this._onWebSocketClose.bind(this),Le.onmessage=this._onWebSocketMessage.bind(this),Le.onerror=this._onWebSocketError.bind(this),this._status=d.kConnecting}catch($e){this._status=d.kError;var Re={code:$e.code,msg:$e.message};if(this._onError)this._onError(m.EXCEPTION,Re);else throw new n(Re.msg)}}},{key:"abort",value:function(){var be=this._ws;be&&(be.readyState===0||be.readyState===1)&&(this._requestAbort=!0,be.close()),this._ws=null,this._status=d.kComplete}},{key:"_onWebSocketOpen",value:function(be){this._status=d.kBuffering}},{key:"_onWebSocketClose",value:function(be){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=d.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(be){var Le=this;if(be.data instanceof ArrayBuffer)this._dispatchArrayBuffer(be.data);else if(be.data instanceof Blob){var Re=new FileReader;Re.onload=function(){Le._dispatchArrayBuffer(Re.result)},Re.readAsArrayBuffer(be.data)}else{this._status=d.kError;var $e={code:-1,msg:"Unsupported WebSocket message type: "+be.data.constructor.name};if(this._onError)this._onError(m.EXCEPTION,$e);else throw new n($e.msg)}}},{key:"_dispatchArrayBuffer",value:function(be){var Le=be,Re=this._receivedLength;this._receivedLength+=Le.byteLength,this._onDataArrival&&this._onDataArrival(Le,Re,this._receivedLength)}},{key:"_onWebSocketError",value:function(be){this._status=d.kError;var Le={code:be.code,msg:be.message};if(this._onError)this._onError(m.EXCEPTION,Le);else throw new n(Le.msg)}}]),Y}(w),R=K,B=function(){function ne(ue){Object(g.a)(this,ne),this._zeroStart=ue||!1}return Object(f.a)(ne,[{key:"getConfig",value:function(Y,te){var be={};if(te.from!==0||te.to!==-1){var Le;te.to!==-1?Le="bytes=".concat(te.from.toString(),"-").concat(te.to.toString()):Le="bytes=".concat(te.from.toString(),"-"),be.Range=Le}else this._zeroStart&&(be.Range="bytes=0-");return{url:Y,headers:be}}},{key:"removeURLParameters",value:function(Y){return Y}}]),ne}(),U=B,H=function(){function ne(ue,Y){Object(g.a)(this,ne),this._startName=ue,this._endName=Y}return Object(f.a)(ne,[{key:"getConfig",value:function(Y,te){var be=Y;if(te.from!==0||te.to!==-1){var Le=!0;be.indexOf("?")===-1&&(be+="?",Le=!1),Le&&(be+="&"),be+="".concat(this._startName,"=").concat(te.from.toString()),te.to!==-1&&(be+="&".concat(this._endName,"=").concat(te.to.toString()))}return{url:be,headers:{}}}},{key:"removeURLParameters",value:function(Y){var te=Y.split("?")[0],be=void 0,Le=Y.indexOf("?");Le!==-1&&(be=Y.substring(Le+1));var Re="";if(be!=null&&be.length>0)for(var $e=be.split("&"),gt=0;gt<$e.length;gt++){var Wt=$e[gt].split("="),$t=gt>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Re+="&"),Re+=$e[gt])}return Re.length===0?te:te+"?"+Re}}]),ne}(),W=H,V=function(){function ne(ue,Y,te){Object(g.a)(this,ne),this.TAG="IOController",this._config=Y,this._extraData=te,this._stashInitialSize=1024*384,Y.stashInitialSize!=null&&Y.stashInitialSize>0&&(this._stashInitialSize=Y.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,Y.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=ue,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(ue.url),this._refTotalLength=ue.filesize?ue.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,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(f.a)(ne,[{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:"_selectSeekHandler",value:function(){var Y=this._config;if(Y.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(Y.seekType==="param"){var te=Y.seekParamStart||"bstart",be=Y.seekParamEnd||"bend";this._seekHandler=new W(te,be)}else if(Y.seekType==="custom"){if(typeof Y.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new Y.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(Y.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=R;else if(C.isSupported())this._loaderClass=C;else if(N.isSupported())this._loaderClass=N;else if(j.isSupported())this._loaderClass=j;else throw new n("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(Y){this._currentRange={from:0,to:-1},Y&&(this._currentRange.from=Y),this._speedSampler.reset(),Y||(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 Y=this._resumeFrom;this._resumeFrom=0,this._internalSeek(Y,!0)}}},{key:"seek",value:function(Y){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(Y,!0)}},{key:"_internalSeek",value:function(Y,te){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(te),this._loader.destroy(),this._loader=null;var be={from:Y,to:-1};this._currentRange={from:be.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,be),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(Y){if(!Y||typeof Y!="string"||Y.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=Y}},{key:"_expandBuffer",value:function(Y){for(var te=this._stashSize;te+1024*1024*1<Y;)te*=2;if(te+=1024*1024*1,te===this._bufferSize)return;var be=new ArrayBuffer(te);if(this._stashUsed>0){var Le=new Uint8Array(this._stashBuffer,0,this._stashUsed),Re=new Uint8Array(be,0,te);Re.set(Le,0)}this._stashBuffer=be,this._bufferSize=te}},{key:"_normalizeSpeed",value:function(Y){var te=this._speedNormalizeList,be=te.length-1,Le=0,Re=0,$e=be;if(Y<te[0])return te[0];for(;Re<=$e;){if(Le=Re+Math.floor(($e-Re)/2),Le===be||Y>=te[Le]&&Y<te[Le+1])return te[Le];te[Le]<Y?Re=Le+1:$e=Le-1}}},{key:"_adjustStashSize",value:function(Y){var te=0;this._config.isLive||Y<512?te=Y:Y>=512&&Y<=1024?te=Math.floor(Y*1.5):te=Y*2,te>8192&&(te=8192);var be=te*1024+1024*1024*1;this._bufferSize<be&&this._expandBuffer(be),this._stashSize=te*1024}},{key:"_dispatchChunks",value:function(Y,te){return this._currentRange.to=te+Y.byteLength-1,this._onDataArrival(Y,te)}},{key:"_onURLRedirect",value:function(Y){this._redirectedURL=Y,this._onRedirect&&this._onRedirect(Y)}},{key:"_onContentLengthKnown",value:function(Y){Y&&this._fullRequestFlag&&(this._totalLength=Y,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(Y,te,be){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(Y.byteLength);var Le=this._speedSampler.lastSecondKBps;if(Le!==0){var Re=this._normalizeSpeed(Le);this._speedNormalized!==Re&&(this._speedNormalized=Re,this._adjustStashSize(Re))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=te),this._stashUsed+Y.byteLength<=this._stashSize){var Yt=new Uint8Array(this._stashBuffer,0,this._stashSize);Yt.set(new Uint8Array(Y),this._stashUsed),this._stashUsed+=Y.byteLength}else{var Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Mt=this._stashBuffer.slice(0,this._stashUsed),dr=this._dispatchChunks(Mt,this._stashByteStart);if(dr<Mt.byteLength){if(dr>0){var er=new Uint8Array(Mt,dr);Qt.set(er,0),this._stashUsed=er.byteLength,this._stashByteStart+=dr}}else this._stashUsed=0,this._stashByteStart+=dr;this._stashUsed+Y.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+Y.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(Y),this._stashUsed),this._stashUsed+=Y.byteLength}else{var ot=this._dispatchChunks(Y,te);if(ot<Y.byteLength){var xt=Y.byteLength-ot;xt>this._bufferSize&&(this._expandBuffer(xt),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(Y,ot),0),this._stashUsed+=xt,this._stashByteStart=te+ot}}}else if(this._stashUsed===0){var $e=this._dispatchChunks(Y,te);if($e<Y.byteLength){var gt=Y.byteLength-$e;gt>this._bufferSize&&this._expandBuffer(gt);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array(Y,$e),0),this._stashUsed+=gt,this._stashByteStart=te+$e}}else{this._stashUsed+Y.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+Y.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array(Y),this._stashUsed),this._stashUsed+=Y.byteLength;var Dt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Dt<this._stashUsed&&Dt>0){var Kt=new Uint8Array(this._stashBuffer,Dt);$t.set(Kt,0)}this._stashUsed-=Dt,this._stashByteStart+=Dt}}},{key:"_flushStashBuffer",value:function(Y){if(this._stashUsed>0){var te=this._stashBuffer.slice(0,this._stashUsed),be=this._dispatchChunks(te,this._stashByteStart),Le=te.byteLength-be;if(be<te.byteLength)if(Y)o.w(this.TAG,"".concat(Le," bytes unconsumed data remain when flush buffer, dropped"));else{if(be>0){var Re=new Uint8Array(this._stashBuffer,0,this._bufferSize),$e=new Uint8Array(te,be);Re.set($e,0),this._stashUsed=$e.byteLength,this._stashByteStart+=be}return 0}return this._stashUsed=0,this._stashByteStart=0,Le}return 0}},{key:"_onLoaderComplete",value:function(Y,te){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(Y,te){o.e(this.TAG,"Loader error, code = ".concat(te.code,", msg = ").concat(te.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,Y=m.UNRECOVERABLE_EARLY_EOF);switch(Y){case m.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var be=this._currentRange.to+1;be<this._totalLength&&(o.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(be,!1));return}Y=m.UNRECOVERABLE_EARLY_EOF;break}case m.UNRECOVERABLE_EARLY_EOF:case m.CONNECTING_TIMEOUT:case m.HTTP_STATUS_CODE_INVALID:case m.EXCEPTION:break}if(this._onError)this._onError(Y,te);else throw new n("IOException: "+te.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(Y){this._extraData=Y}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(Y){this._onDataArrival=Y}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(Y){this._onSeeked=Y}},{key:"onError",get:function(){return this._onError},set:function(Y){this._onError=Y}},{key:"onComplete",get:function(){return this._onComplete},set:function(Y){this._onComplete=Y}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(Y){this._onRedirect=Y}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(Y){this._onRecoveredEarlyEof=Y}},{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===j?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ne}(),z=V,X={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 q(){return Object.assign({},X)}var fe=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var Y=new z({},q()),te=Y.loaderType;return Y.destroy(),te=="fetch-stream-loader"||te=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var Y=new z({},q()),te=Y.loaderType;return Y.destroy(),te}},{key:"supportNativeMediaPlayback",value:function(Y){ne.videoElement==null&&(ne.videoElement=window.document.createElement("video"));var te=ne.videoElement.canPlayType(Y);return te==="probably"||te=="maybe"}},{key:"getFeatureList",value:function(){var Y={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return Y.mseFlvPlayback=ne.supportMSEH264Playback(),Y.networkStreamIO=ne.supportNetworkStreamIO(),Y.networkLoaderName=ne.getNetworkLoaderTypeName(),Y.mseLiveFlvPlayback=Y.mseFlvPlayback&&Y.networkStreamIO,Y.nativeMP4H264Playback=ne.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),Y.nativeWebmVP8Playback=ne.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),Y.nativeWebmVP9Playback=ne.supportNativeMediaPlayback('video/webm; codecs="vp9"'),Y}}]),ne}(),G=fe,ve={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"},Se=ve,ge=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"getConfig",value:function(){return{globalTag:o.GLOBAL_TAG,forceGlobalTag:o.FORCE_GLOBAL_TAG,enableVerbose:o.ENABLE_VERBOSE,enableDebug:o.ENABLE_DEBUG,enableInfo:o.ENABLE_INFO,enableWarn:o.ENABLE_WARN,enableError:o.ENABLE_ERROR,enableCallback:o.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(Y){o.GLOBAL_TAG=Y.globalTag,o.FORCE_GLOBAL_TAG=Y.forceGlobalTag,o.ENABLE_VERBOSE=Y.enableVerbose,o.ENABLE_DEBUG=Y.enableDebug,o.ENABLE_INFO=Y.enableInfo,o.ENABLE_WARN=Y.enableWarn,o.ENABLE_ERROR=Y.enableError,o.ENABLE_CALLBACK=Y.enableCallback}},{key:"_notifyChange",value:function(){var Y=ne.emitter;if(Y.listenerCount("change")>0){var te=ne.getConfig();Y.emit("change",te)}}},{key:"registerListener",value:function(Y){ne.emitter.addListener("change",Y)}},{key:"removeListener",value:function(Y){ne.emitter.removeListener("change",Y)}},{key:"addLogListener",value:function(Y){o.emitter.addListener("log",Y),o.emitter.listenerCount("log")>0&&(o.ENABLE_CALLBACK=!0,ne._notifyChange())}},{key:"removeLogListener",value:function(Y){o.emitter.removeListener("log",Y),o.emitter.listenerCount("log")===0&&(o.ENABLE_CALLBACK=!1,ne._notifyChange())}},{key:"forceGlobalTag",get:function(){return o.FORCE_GLOBAL_TAG},set:function(Y){o.FORCE_GLOBAL_TAG=Y,ne._notifyChange()}},{key:"globalTag",get:function(){return o.GLOBAL_TAG},set:function(Y){o.GLOBAL_TAG=Y,ne._notifyChange()}},{key:"enableAll",get:function(){return o.ENABLE_VERBOSE&&o.ENABLE_DEBUG&&o.ENABLE_INFO&&o.ENABLE_WARN&&o.ENABLE_ERROR},set:function(Y){o.ENABLE_VERBOSE=Y,o.ENABLE_DEBUG=Y,o.ENABLE_INFO=Y,o.ENABLE_WARN=Y,o.ENABLE_ERROR=Y,ne._notifyChange()}},{key:"enableDebug",get:function(){return o.ENABLE_DEBUG},set:function(Y){o.ENABLE_DEBUG=Y,ne._notifyChange()}},{key:"enableVerbose",get:function(){return o.ENABLE_VERBOSE},set:function(Y){o.ENABLE_VERBOSE=Y,ne._notifyChange()}},{key:"enableInfo",get:function(){return o.ENABLE_INFO},set:function(Y){o.ENABLE_INFO=Y,ne._notifyChange()}},{key:"enableWarn",get:function(){return o.ENABLE_WARN},set:function(Y){o.ENABLE_WARN=Y,ne._notifyChange()}},{key:"enableError",get:function(){return o.ENABLE_ERROR},set:function(Y){o.ENABLE_ERROR=Y,ne._notifyChange()}}]),ne}();ge.emitter=new h.a;var Pe=ge,Ge=function(){function ne(){Object(g.a)(this,ne),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(f.a)(ne,[{key:"isComplete",value:function(){var Y=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,te=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&&Y&&te}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(Y){if(this.keyframesIndex==null)return null;var te=this.keyframesIndex,be=this._search(te.times,Y);return{index:be,milliseconds:te.times[be],fileposition:te.filepositions[be]}}},{key:"_search",value:function(Y,te){var be=0,Le=Y.length-1,Re=0,$e=0,gt=Le;for(te<Y[0]&&(be=0,$e=gt+1);$e<=gt;)if(Re=$e+Math.floor((gt-$e)/2),Re===Le||te>=Y[Re]&&te<Y[Re+1]){be=Re;break}else Y[Re]<te?$e=Re+1:gt=Re-1;return be}}]),ne}(),pt=Ge;function Te(ne,ue,Y){var te=ne;if(ue+Y<te.length){for(;Y--;)if((te[++ue]&192)!==128)return!1;return!0}else return!1}function xe(ne){for(var ue=[],Y=ne,te=0,be=ne.length;te<be;){if(Y[te]<128){ue.push(String.fromCharCode(Y[te])),++te;continue}else if(!(Y[te]<192)){if(Y[te]<224){if(Te(Y,te,1)){var Le=(Y[te]&31)<<6|Y[te+1]&63;if(Le>=128){ue.push(String.fromCharCode(Le&65535)),te+=2;continue}}}else if(Y[te]<240){if(Te(Y,te,2)){var Re=(Y[te]&15)<<12|(Y[te+1]&63)<<6|Y[te+2]&63;if(Re>=2048&&(Re&63488)!==55296){ue.push(String.fromCharCode(Re&65535)),te+=3;continue}}}else if(Y[te]<248&&Te(Y,te,3)){var $e=(Y[te]&7)<<18|(Y[te+1]&63)<<12|(Y[te+2]&63)<<6|Y[te+3]&63;if($e>65536&&$e<1114112){$e-=65536,ue.push(String.fromCharCode($e>>>10|55296)),ue.push(String.fromCharCode($e&1023|56320)),te+=4;continue}}}ue.push(String.fromCharCode(65533)),++te}return ue.join("")}var lt=xe,Ie=function(){var ne=new ArrayBuffer(2);return new DataView(ne).setInt16(0,256,!0),new Int16Array(ne)[0]===256}(),de=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"parseScriptData",value:function(Y,te,be){var Le={};try{var Re=ne.parseValue(Y,te,be),$e=ne.parseValue(Y,te+Re.size,be-Re.size);Le[Re.data]=$e.data}catch(gt){o.e("AMF",gt.toString())}return Le}},{key:"parseObject",value:function(Y,te,be){if(be<3)throw new l("Data not enough when parse ScriptDataObject");var Le=ne.parseString(Y,te,be),Re=ne.parseValue(Y,te+Le.size,be-Le.size),$e=Re.objectEnd;return{data:{name:Le.data,value:Re.data},size:Le.size+Re.size,objectEnd:$e}}},{key:"parseVariable",value:function(Y,te,be){return ne.parseObject(Y,te,be)}},{key:"parseString",value:function(Y,te,be){if(be<2)throw new l("Data not enough when parse String");var Le=new DataView(Y,te,be),Re=Le.getUint16(0,!Ie),$e;return Re>0?$e=lt(new Uint8Array(Y,te+2,Re)):$e="",{data:$e,size:2+Re}}},{key:"parseLongString",value:function(Y,te,be){if(be<4)throw new l("Data not enough when parse LongString");var Le=new DataView(Y,te,be),Re=Le.getUint32(0,!Ie),$e;return Re>0?$e=lt(new Uint8Array(Y,te+4,Re)):$e="",{data:$e,size:4+Re}}},{key:"parseDate",value:function(Y,te,be){if(be<10)throw new l("Data size invalid when parse Date");var Le=new DataView(Y,te,be),Re=Le.getFloat64(0,!Ie),$e=Le.getInt16(8,!Ie);return Re+=$e*60*1e3,{data:new Date(Re),size:8+2}}},{key:"parseValue",value:function(Y,te,be){if(be<1)throw new l("Data not enough when parse Value");var Le=new DataView(Y,te,be),Re=1,$e=Le.getUint8(0),gt,Wt=!1;try{switch($e){case 0:gt=Le.getFloat64(1,!Ie),Re+=8;break;case 1:{var $t=Le.getUint8(1);gt=!!$t,Re+=1;break}case 2:{var Dt=ne.parseString(Y,te+1,be-1);gt=Dt.data,Re+=Dt.size;break}case 3:{gt={};var Kt=0;for((Le.getUint32(be-4,!Ie)&16777215)===9&&(Kt=3);Re<be-4;){var Yt=ne.parseObject(Y,te+Re,be-Re-Kt);if(Yt.objectEnd)break;gt[Yt.data.name]=Yt.data.value,Re+=Yt.size}if(Re<=be-3){var Qt=Le.getUint32(Re-1,!Ie)&16777215;Qt===9&&(Re+=3)}break}case 8:{gt={},Re+=4;var Mt=0;for((Le.getUint32(be-4,!Ie)&16777215)===9&&(Mt=3);Re<be-8;){var dr=ne.parseVariable(Y,te+Re,be-Re-Mt);if(dr.objectEnd)break;gt[dr.data.name]=dr.data.value,Re+=dr.size}if(Re<=be-3){var er=Le.getUint32(Re-1,!Ie)&16777215;er===9&&(Re+=3)}break}case 9:gt=void 0,Re=1,Wt=!0;break;case 10:{gt=[];var ot=Le.getUint32(1,!Ie);Re+=4;for(var xt=0;xt<ot;xt++){var ut=ne.parseValue(Y,te+Re,be-Re);gt.push(ut.data),Re+=ut.size}break}case 11:{var ft=ne.parseDate(Y,te+1,be-1);gt=ft.data,Re+=ft.size;break}case 12:{var Lt=ne.parseString(Y,te+1,be-1);gt=Lt.data,Re+=Lt.size;break}default:Re=be,o.w("AMF","Unsupported AMF value type "+$e)}}catch(Tt){o.e("AMF",Tt.toString())}return{data:gt,size:Re,objectEnd:Wt}}}]),ne}(),ee=de,se=function(){function ne(ue){Object(g.a)(this,ne),this.TAG="ExpGolomb",this._buffer=ue,this._buffer_index=0,this._total_bytes=ue.byteLength,this._total_bits=ue.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(ne,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var Y=this._total_bytes-this._buffer_index;if(Y<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var te=Math.min(4,Y),be=new Uint8Array(4);be.set(this._buffer.subarray(this._buffer_index,this._buffer_index+te)),this._current_word=new DataView(be.buffer).getUint32(0,!1),this._buffer_index+=te,this._current_word_bits_left=te*8}},{key:"readBits",value:function(Y){if(Y>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(Y<=this._current_word_bits_left){var te=this._current_word>>>32-Y;return this._current_word<<=Y,this._current_word_bits_left-=Y,te}var be=this._current_word_bits_left?this._current_word:0;be=be>>>32-this._current_word_bits_left;var Le=Y-this._current_word_bits_left;this._fillCurrentWord();var Re=Math.min(Le,this._current_word_bits_left),$e=this._current_word>>>32-Re;return this._current_word<<=Re,this._current_word_bits_left-=Re,be=be<<Re|$e,be}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var Y;for(Y=0;Y<this._current_word_bits_left;Y++)if((this._current_word&2147483648>>>Y)!==0)return this._current_word<<=Y,this._current_word_bits_left-=Y,Y;return this._fillCurrentWord(),Y+this._skipLeadingZero()}},{key:"readUEG",value:function(){var Y=this._skipLeadingZero();return this.readBits(Y+1)-1}},{key:"readSEG",value:function(){var Y=this.readUEG();return Y&1?Y+1>>>1:-1*(Y>>>1)}}]),ne}(),ke=se,Ce=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"_ebsp2rbsp",value:function(Y){for(var te=Y,be=te.byteLength,Le=new Uint8Array(be),Re=0,$e=0;$e<be;$e++){if($e>=2&&(te[$e]===3&&te[$e-1]===0&&te[$e-2]===0))continue;Le[Re]=te[$e],Re++}return new Uint8Array(Le.buffer,0,Re)}},{key:"parseSPS",value:function(Y){var te=ne._ebsp2rbsp(Y),be=new ke(te);be.readByte();var Le=be.readByte();be.readByte();var Re=be.readByte();be.readUEG();var $e=ne.getProfileString(Le),gt=ne.getLevelString(Re),Wt=1,$t=420,Dt=[0,420,422,444],Kt=8;if((Le===100||Le===110||Le===122||Le===244||Le===44||Le===83||Le===86||Le===118||Le===128||Le===138||Le===144)&&(Wt=be.readUEG(),Wt===3&&be.readBits(1),Wt<=3&&($t=Dt[Wt]),Kt=be.readUEG()+8,be.readUEG(),be.readBits(1),be.readBool()))for(var Yt=Wt!==3?8:12,Qt=0;Qt<Yt;Qt++)be.readBool()&&(Qt<6?ne._skipScalingList(be,16):ne._skipScalingList(be,64));be.readUEG();var Mt=be.readUEG();if(Mt===0)be.readUEG();else if(Mt===1){be.readBits(1),be.readSEG(),be.readSEG();for(var dr=be.readUEG(),er=0;er<dr;er++)be.readSEG()}var ot=be.readUEG();be.readBits(1);var xt=be.readUEG(),ut=be.readUEG(),ft=be.readBits(1);ft===0&&be.readBits(1),be.readBits(1);var Lt=0,Tt=0,ht=0,Ht=0,Ft=be.readBool();Ft&&(Lt=be.readUEG(),Tt=be.readUEG(),ht=be.readUEG(),Ht=be.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,Fr=0,tn=be.readBool();if(tn){if(be.readBool()){var qr=be.readByte(),Or=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Qr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];qr>0&&qr<16?(ir=Or[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=be.readByte()<<8|be.readByte(),Xt=be.readByte()<<8|be.readByte())}if(be.readBool()&&be.readBool(),be.readBool()&&(be.readBits(4),be.readBool()&&be.readBits(24)),be.readBool()&&(be.readUEG(),be.readUEG()),be.readBool()){var Ir=be.readBits(32),ur=be.readBits(32);Ar=be.readBool(),Nr=ur,Fr=Ir*2,mr=Nr/Fr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var cr=0,fr=0;if(Wt===0)cr=1,fr=2-ft;else{var xr=Wt===3?1:2,Gr=Wt===1?2:1;cr=xr,fr=Gr*(2-ft)}var un=(xt+1)*16,Nn=(2-ft)*((ut+1)*16);un-=(Lt+Tt)*cr,Nn-=(ht+Ht)*fr;var jr=Math.ceil(un*pr);return be.destroy(),be=null,{profile_string:$e,level_string:gt,bit_depth:Kt,ref_frames:ot,chroma_format:$t,chroma_format_string:ne.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:Fr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:un,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function(Y,te){for(var be=8,Le=8,Re=0,$e=0;$e<te;$e++)Le!==0&&(Re=Y.readSEG(),Le=(be+Re+256)%256),be=Le===0?be:Le}},{key:"getProfileString",value:function(Y){switch(Y){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(Y){return(Y/10).toFixed(1)}},{key:"getChromaFormatString",value:function(Y){switch(Y){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ne}(),ze=Ce,_e={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},ae=_e;function me(ne){return ne>>>8&255|(ne&255)<<8}function Oe(ne){return(ne&4278190080)>>>24|(ne&16711680)>>>8|(ne&65280)<<8|(ne&255)<<24}function Ze(ne,ue){return ne[ue]<<24|ne[ue+1]<<16|ne[ue+2]<<8|ne[ue+3]}var vt=function(){function ne(ue,Y){Object(g.a)(this,ne),this.TAG="FLVDemuxer",this._config=Y,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=ue.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=ue.hasAudioTrack,this._hasVideo=ue.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new pt,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 te=new ArrayBuffer(2);return new DataView(te).setInt16(0,256,!0),new Int16Array(te)[0]===256}()}return Object(f.a)(ne,[{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(Y){return Y.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new pt}},{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(Y,te){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var be=0,Le=this._littleEndian;if(te===0)if(Y.byteLength>13){var Re=ne.probe(Y);be=Re.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,te+be!==this._dataOffset&&o.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $e=new DataView(Y,be),gt=$e.getUint32(0,!Le);gt!==0&&o.w(this.TAG,"PrevTagSize0 !== 0 !!!"),be+=4}for(;be<Y.byteLength;){this._dispatch=!0;var Wt=new DataView(Y,be);if(be+11+4>Y.byteLength)break;var $t=Wt.getUint8(0),Dt=Wt.getUint32(0,!Le)&16777215;if(be+11+Dt+4>Y.byteLength)break;if($t!==8&&$t!==9&&$t!==18){o.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),be+=11+Dt+4;continue}var Kt=Wt.getUint8(4),Yt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Yt<<8|Kt<<16|Mt<<24,er=Wt.getUint32(7,!Le)&16777215;er!==0&&o.w(this.TAG,"Meet tag which has StreamID != 0!");var ot=be+11;switch($t){case 8:this._parseAudioData(Y,ot,Dt,dr);break;case 9:this._parseVideoData(Y,ot,Dt,dr,te+be);break;case 18:this._parseScriptData(Y,ot,Dt);break}var xt=Wt.getUint32(11+Dt,!Le);xt!==11+Dt&&o.w(this.TAG,"Invalid PrevTagSize ".concat(xt)),be+=11+Dt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),be}},{key:"_parseScriptData",value:function(Y,te,be){var Le=ee.parseScriptData(Y,te,be);if(Le.hasOwnProperty("onMetaData")){if(Le.onMetaData==null||typeof Le.onMetaData!="object"){o.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&o.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Le;var Re=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Re)),typeof Re.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Re.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Re.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Re.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Re.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Re.audiodatarate),typeof Re.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Re.videodatarate),typeof Re.width=="number"&&(this._mediaInfo.width=Re.width),typeof Re.height=="number"&&(this._mediaInfo.height=Re.height),typeof Re.duration=="number"){if(!this._durationOverrided){var $e=Math.floor(Re.duration*this._timescale);this._duration=$e,this._mediaInfo.duration=$e}}else this._mediaInfo.duration=0;if(typeof Re.framerate=="number"){var gt=Math.floor(Re.framerate*1e3);if(gt>0){var Wt=gt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=gt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Re.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Re.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Re.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Re,o.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Le).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Le)))}},{key:"_parseKeyframesIndex",value:function(Y){for(var te=[],be=[],Le=1;Le<Y.times.length;Le++){var Re=this._timestampBase+Math.floor(Y.times[Le]*1e3);te.push(Re),be.push(Y.filepositions[Le])}return{times:te,filepositions:be}}},{key:"_parseAudioData",value:function(Y,te,be,Le){if(be<=1){o.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Re=this._littleEndian,$e=new DataView(Y,te,be),gt=$e.getUint8(0),Wt=gt>>>4;if(Wt!==2&&Wt!==10){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Dt=(gt&12)>>>2;if(Dt>=0&&Dt<=4)$t=this._flvSoundRateTable[Dt];else{this._onError(ae.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Dt);return}var Kt=(gt&2)>>>1,Yt=gt&1,Qt=this._audioMetadata,Mt=this._audioTrack;if(Qt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qt=this._audioMetadata={},Qt.type="audio",Qt.id=Mt.id,Qt.timescale=this._timescale,Qt.duration=this._duration,Qt.audioSampleRate=$t,Qt.channelCount=Yt===0?1:2),Wt===10){var dr=this._parseAACAudioData(Y,te+1,be-1);if(dr==null)return;if(dr.packetType===0){Qt.config&&o.w(this.TAG,"Found another AudioSpecificConfig!");var er=dr.data;Qt.audioSampleRate=er.samplingRate,Qt.channelCount=er.channelCount,Qt.codec=er.codec,Qt.originalCodec=er.originalCodec,Qt.config=er.config,Qt.refSampleDuration=1024/Qt.audioSampleRate*Qt.timescale,o.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",Qt);var ot=this._mediaInfo;ot.audioCodec=Qt.originalCodec,ot.audioSampleRate=Qt.audioSampleRate,ot.audioChannelCount=Qt.channelCount,ot.hasVideo?ot.videoCodec!=null&&(ot.mimeType='video/x-flv; codecs="'+ot.videoCodec+","+ot.audioCodec+'"'):ot.mimeType='video/x-flv; codecs="'+ot.audioCodec+'"',ot.isComplete()&&this._onMediaInfo(ot)}else if(dr.packetType===1){var xt=this._timestampBase+Le,ut={unit:dr.data,length:dr.data.byteLength,dts:xt,pts:xt};Mt.samples.push(ut),Mt.length+=dr.data.length}else o.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var ft=this._parseMP3AudioData(Y,te+1,be-1,!0);if(ft==null)return;Qt.audioSampleRate=ft.samplingRate,Qt.channelCount=ft.channelCount,Qt.codec=ft.codec,Qt.originalCodec=ft.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,o.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var Lt=this._mediaInfo;Lt.audioCodec=Qt.codec,Lt.audioSampleRate=Qt.audioSampleRate,Lt.audioChannelCount=Qt.channelCount,Lt.audioDataRate=ft.bitRate,Lt.hasVideo?Lt.videoCodec!=null&&(Lt.mimeType='video/x-flv; codecs="'+Lt.videoCodec+","+Lt.audioCodec+'"'):Lt.mimeType='video/x-flv; codecs="'+Lt.audioCodec+'"',Lt.isComplete()&&this._onMediaInfo(Lt)}var Tt=this._parseMP3AudioData(Y,te+1,be-1,!1);if(Tt==null)return;var ht=this._timestampBase+Le,Ht={unit:Tt,length:Tt.byteLength,dts:ht,pts:ht};Mt.samples.push(Ht),Mt.length+=Tt.length}}},{key:"_parseAACAudioData",value:function(Y,te,be){if(be<=1){o.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Le={},Re=new Uint8Array(Y,te,be);return Le.packetType=Re[0],Re[0]===0?Le.data=this._parseAACAudioSpecificConfig(Y,te+1,be-1):Le.data=Re.subarray(1),Le}},{key:"_parseAACAudioSpecificConfig",value:function(Y,te,be){var Le=new Uint8Array(Y,te,be),Re=null,$e=0,gt=0,Wt=null,$t=0,Dt=null;if($e=gt=Le[0]>>>3,$t=(Le[0]&7)<<1|Le[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Kt=this._mpegSamplingRates[$t],Yt=(Le[1]&120)>>>3;if(Yt<0||Yt>=8){this._onError(ae.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$e===5&&(Dt=(Le[1]&7)<<1|Le[2]>>>7,Wt=(Le[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?($e=5,Re=new Array(4),Dt=$t-3):($e=2,Re=new Array(2),Dt=$t):Qt.indexOf("android")!==-1?($e=2,Re=new Array(2),Dt=$t):($e=5,Dt=$t,Re=new Array(4),$t>=6?Dt=$t-3:Yt===1&&($e=2,Re=new Array(2),Dt=$t)),Re[0]=$e<<3,Re[0]|=($t&15)>>>1,Re[1]=($t&15)<<7,Re[1]|=(Yt&15)<<3,$e===5&&(Re[1]|=(Dt&15)>>>1,Re[2]=(Dt&1)<<7,Re[2]|=2<<2,Re[3]=0),{config:Re,samplingRate:Kt,channelCount:Yt,codec:"mp4a.40."+$e,originalCodec:"mp4a.40."+gt}}},{key:"_parseMP3AudioData",value:function(Y,te,be,Le){if(be<4){o.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Re=this._littleEndian,$e=new Uint8Array(Y,te,be),gt=null;if(Le){if($e[0]!==255)return;var Wt=$e[1]>>>3&3,$t=($e[1]&6)>>1,Dt=($e[2]&240)>>>4,Kt=($e[2]&12)>>>2,Yt=$e[3]>>>6&3,Qt=Yt!==3?2:1,Mt=0,dr=0,er=34,ot="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[Kt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[Kt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[Kt];break}switch($t){case 1:er=34,Dt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Dt]);break;case 2:er=33,Dt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Dt]);break;case 3:er=32,Dt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Dt]);break}gt={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:ot,originalCodec:ot}}else gt=$e;return gt}},{key:"_parseVideoData",value:function(Y,te,be,Le,Re){if(be<=1){o.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $e=new Uint8Array(Y,te,be)[0],gt=($e&240)>>>4,Wt=$e&15;if(Wt!==7){this._onError(ae.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket(Y,te+1,be-1,Le,Re,gt)}},{key:"_parseAVCVideoPacket",value:function(Y,te,be,Le,Re,$e){if(be<4){o.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var gt=this._littleEndian,Wt=new DataView(Y,te,be),$t=Wt.getUint8(0),Dt=Wt.getUint32(0,!gt)&16777215,Kt=Dt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord(Y,te+4,be-4);else if($t===1)this._parseAVCVideoData(Y,te+4,be-4,Le,Re,$e,Kt);else if(!($t===2)){this._onError(ae.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(Y,te,be){if(be<7){o.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Le=this._videoMetadata,Re=this._videoTrack,$e=this._littleEndian,gt=new DataView(Y,te,be);Le?typeof Le.avcc!="undefined"&&o.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Le=this._videoMetadata={},Le.type="video",Le.id=Re.id,Le.timescale=this._timescale,Le.duration=this._duration);var Wt=gt.getUint8(0),$t=gt.getUint8(1),Dt=gt.getUint8(2),Kt=gt.getUint8(3);if(Wt!==1||$t===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(gt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(ae.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Yt=gt.getUint8(5)&31;if(Yt===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Yt>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Yt));for(var Qt=6,Mt=0;Mt<Yt;Mt++){var dr=gt.getUint16(Qt,!$e);if(Qt+=2,dr===0)continue;var er=new Uint8Array(Y,te+Qt,dr);Qt+=dr;var ot=ze.parseSPS(er);if(Mt!==0)continue;Le.codecWidth=ot.codec_size.width,Le.codecHeight=ot.codec_size.height,Le.presentWidth=ot.present_size.width,Le.presentHeight=ot.present_size.height,Le.profile=ot.profile_string,Le.level=ot.level_string,Le.bitDepth=ot.bit_depth,Le.chromaFormat=ot.chroma_format,Le.sarRatio=ot.sar_ratio,Le.frameRate=ot.frame_rate,(ot.frame_rate.fixed===!1||ot.frame_rate.fps_num===0||ot.frame_rate.fps_den===0)&&(Le.frameRate=this._referenceFrameRate);var xt=Le.frameRate.fps_den,ut=Le.frameRate.fps_num;Le.refSampleDuration=Le.timescale*(xt/ut);for(var ft=er.subarray(1,4),Lt="avc1.",Tt=0;Tt<3;Tt++){var ht=ft[Tt].toString(16);ht.length<2&&(ht="0"+ht),Lt+=ht}Le.codec=Lt;var Ht=this._mediaInfo;Ht.width=Le.codecWidth,Ht.height=Le.codecHeight,Ht.fps=Le.frameRate.fps,Ht.profile=Le.profile,Ht.level=Le.level,Ht.refFrames=ot.ref_frames,Ht.chromaFormat=ot.chroma_format_string,Ht.sarNum=Le.sarRatio.width,Ht.sarDen=Le.sarRatio.height,Ht.videoCodec=Lt,Ht.hasAudio?Ht.audioCodec!=null&&(Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+","+Ht.audioCodec+'"'):Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+'"',Ht.isComplete()&&this._onMediaInfo(Ht)}var Ft=gt.getUint8(Qt);if(Ft===0){this._onError(ae.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ft>1&&o.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Ft));Qt++;for(var ir=0;ir<Ft;ir++){var Xt=gt.getUint16(Qt,!$e);if(Qt+=2,Xt===0)continue;Qt+=Xt}Le.avcc=new Uint8Array(be),Le.avcc.set(new Uint8Array(Y,te,be),0),o.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",Le)}},{key:"_parseAVCVideoData",value:function(Y,te,be,Le,Re,$e,gt){for(var Wt=this._littleEndian,$t=new DataView(Y,te,be),Dt=[],Kt=0,Yt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+Le,dr=$e===1;Yt<be;){if(Yt+4>=be){o.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Yt,", dataSize = ").concat(be));break}var er=$t.getUint32(Yt,!Wt);if(Qt===3&&(er>>>=8),er>be-Qt){o.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var ot=$t.getUint8(Yt+Qt)&31;ot===5&&(dr=!0);var xt=new Uint8Array(Y,te+Yt,Qt+er),ut={type:ot,data:xt};Dt.push(ut),Kt+=xt.byteLength,Yt+=Qt+er}if(Dt.length){var ft=this._videoTrack,Lt={units:Dt,length:Kt,isKeyframe:dr,dts:Mt,cts:gt,pts:Mt+gt};dr&&(Lt.fileposition=Re),ft.samples.push(Lt),ft.length+=Kt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(Y){this._onTrackMetadata=Y}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(Y){this._onMediaInfo=Y}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(Y){this._onMetaDataArrived=Y}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(Y){this._onScriptDataArrived=Y}},{key:"onError",get:function(){return this._onError},set:function(Y){this._onError=Y}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(Y){this._onDataAvailable=Y}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(Y){this._timestampBase=Y}},{key:"overridedDuration",get:function(){return this._duration},set:function(Y){this._durationOverrided=!0,this._duration=Y,this._mediaInfo.duration=Y}},{key:"overridedHasAudio",set:function(Y){this._hasAudioFlagOverrided=!0,this._hasAudio=Y,this._mediaInfo.hasAudio=Y}},{key:"overridedHasVideo",set:function(Y){this._hasVideoFlagOverrided=!0,this._hasVideo=Y,this._mediaInfo.hasVideo=Y}}],[{key:"probe",value:function(Y){var te=new Uint8Array(Y),be={match:!1};if(te[0]!==70||te[1]!==76||te[2]!==86||te[3]!==1)return be;var Le=(te[4]&4)>>>2!==0,Re=(te[4]&1)!==0,$e=Ze(te,5);return $e<9?be:{match:!0,consumed:$e,dataOffset:$e,hasAudioTrack:Le,hasVideoTrack:Re}}}]),ne}(),Ct=vt,Be=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"init",value:function(){ne.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 Y in ne.types)ne.types.hasOwnProperty(Y)&&(ne.types[Y]=[Y.charCodeAt(0),Y.charCodeAt(1),Y.charCodeAt(2),Y.charCodeAt(3)]);var te=ne.constants={};te.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),te.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),te.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),te.STSC=te.STCO=te.STTS,te.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),te.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]),te.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]),te.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),te.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),te.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(Y){for(var te=8,be=null,Le=Array.prototype.slice.call(arguments,1),Re=Le.length,$e=0;$e<Re;$e++)te+=Le[$e].byteLength;be=new Uint8Array(te),be[0]=te>>>24&255,be[1]=te>>>16&255,be[2]=te>>>8&255,be[3]=te&255,be.set(Y,4);for(var gt=8,Wt=0;Wt<Re;Wt++)be.set(Le[Wt],gt),gt+=Le[Wt].byteLength;return be}},{key:"generateInitSegment",value:function(Y){var te=ne.box(ne.types.ftyp,ne.constants.FTYP),be=ne.moov(Y),Le=new Uint8Array(te.byteLength+be.byteLength);return Le.set(te,0),Le.set(be,te.byteLength),Le}},{key:"moov",value:function(Y){var te=ne.mvhd(Y.timescale,Y.duration),be=ne.trak(Y),Le=ne.mvex(Y);return ne.box(ne.types.moov,te,be,Le)}},{key:"mvhd",value:function(Y,te){return ne.box(ne.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Y>>>24&255,Y>>>16&255,Y>>>8&255,Y&255,te>>>24&255,te>>>16&255,te>>>8&255,te&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(Y){return ne.box(ne.types.trak,ne.tkhd(Y),ne.mdia(Y))}},{key:"tkhd",value:function(Y){var te=Y.id,be=Y.duration,Le=Y.presentWidth,Re=Y.presentHeight;return ne.box(ne.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&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,Le>>>8&255,Le&255,0,0,Re>>>8&255,Re&255,0,0]))}},{key:"mdia",value:function(Y){return ne.box(ne.types.mdia,ne.mdhd(Y),ne.hdlr(Y),ne.minf(Y))}},{key:"mdhd",value:function(Y){var te=Y.timescale,be=Y.duration;return ne.box(ne.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,be>>>24&255,be>>>16&255,be>>>8&255,be&255,85,196,0,0]))}},{key:"hdlr",value:function(Y){var te=null;return Y.type==="audio"?te=ne.constants.HDLR_AUDIO:te=ne.constants.HDLR_VIDEO,ne.box(ne.types.hdlr,te)}},{key:"minf",value:function(Y){var te=null;return Y.type==="audio"?te=ne.box(ne.types.smhd,ne.constants.SMHD):te=ne.box(ne.types.vmhd,ne.constants.VMHD),ne.box(ne.types.minf,te,ne.dinf(),ne.stbl(Y))}},{key:"dinf",value:function(){var Y=ne.box(ne.types.dinf,ne.box(ne.types.dref,ne.constants.DREF));return Y}},{key:"stbl",value:function(Y){var te=ne.box(ne.types.stbl,ne.stsd(Y),ne.box(ne.types.stts,ne.constants.STTS),ne.box(ne.types.stsc,ne.constants.STSC),ne.box(ne.types.stsz,ne.constants.STSZ),ne.box(ne.types.stco,ne.constants.STCO));return te}},{key:"stsd",value:function(Y){return Y.type==="audio"?Y.codec==="mp3"?ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.mp3(Y)):ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.mp4a(Y)):ne.box(ne.types.stsd,ne.constants.STSD_PREFIX,ne.avc1(Y))}},{key:"mp3",value:function(Y){var te=Y.channelCount,be=Y.audioSampleRate,Le=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,te,0,16,0,0,0,0,be>>>8&255,be&255,0,0]);return ne.box(ne.types[".mp3"],Le)}},{key:"mp4a",value:function(Y){var te=Y.channelCount,be=Y.audioSampleRate,Le=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,te,0,16,0,0,0,0,be>>>8&255,be&255,0,0]);return ne.box(ne.types.mp4a,Le,ne.esds(Y))}},{key:"esds",value:function(Y){var te=Y.config||[],be=te.length,Le=new Uint8Array([0,0,0,0,3,23+be,0,1,0,4,15+be,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([be]).concat(te).concat([6,1,2]));return ne.box(ne.types.esds,Le)}},{key:"avc1",value:function(Y){var te=Y.avcc,be=Y.codecWidth,Le=Y.codecHeight,Re=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,be>>>8&255,be&255,Le>>>8&255,Le&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 ne.box(ne.types.avc1,Re,ne.box(ne.types.avcC,te))}},{key:"mvex",value:function(Y){return ne.box(ne.types.mvex,ne.trex(Y))}},{key:"trex",value:function(Y){var te=Y.id,be=new Uint8Array([0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ne.box(ne.types.trex,be)}},{key:"moof",value:function(Y,te){return ne.box(ne.types.moof,ne.mfhd(Y.sequenceNumber),ne.traf(Y,te))}},{key:"mfhd",value:function(Y){var te=new Uint8Array([0,0,0,0,Y>>>24&255,Y>>>16&255,Y>>>8&255,Y&255]);return ne.box(ne.types.mfhd,te)}},{key:"traf",value:function(Y,te){var be=Y.id,Le=ne.box(ne.types.tfhd,new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255])),Re=ne.box(ne.types.tfdt,new Uint8Array([0,0,0,0,te>>>24&255,te>>>16&255,te>>>8&255,te&255])),$e=ne.sdtp(Y),gt=ne.trun(Y,$e.byteLength+16+16+8+16+8+8);return ne.box(ne.types.traf,Le,Re,gt,$e)}},{key:"sdtp",value:function(Y){for(var te=Y.samples||[],be=te.length,Le=new Uint8Array(4+be),Re=0;Re<be;Re++){var $e=te[Re].flags;Le[Re+4]=$e.isLeading<<6|$e.dependsOn<<4|$e.isDependedOn<<2|$e.hasRedundancy}return ne.box(ne.types.sdtp,Le)}},{key:"trun",value:function(Y,te){var be=Y.samples||[],Le=be.length,Re=12+16*Le,$e=new Uint8Array(Re);te+=8+Re,$e.set([0,0,15,1,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255],0);for(var gt=0;gt<Le;gt++){var Wt=be[gt].duration,$t=be[gt].size,Dt=be[gt].flags,Kt=be[gt].cts;$e.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Dt.isLeading<<2|Dt.dependsOn,Dt.isDependedOn<<6|Dt.hasRedundancy<<4|Dt.isNonSync,0,0,Kt>>>24&255,Kt>>>16&255,Kt>>>8&255,Kt&255],12+16*gt)}return ne.box(ne.types.trun,$e)}},{key:"mdat",value:function(Y){return ne.box(ne.types.mdat,Y)}}]),ne}();Be.init();var Rt=Be,He=function(){function ne(){Object(g.a)(this,ne)}return Object(f.a)(ne,null,[{key:"getSilentFrame",value:function(Y,te){if(Y==="mp4a.40.2"){if(te===1)return new Uint8Array([0,200,0,128,35,128]);if(te===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(te===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(te===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(te===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(te===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(te===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(te===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(te===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}}]),ne}(),wt=He,Ye=function ne(ue,Y,te,be,Le){Object(g.a)(this,ne),this.dts=ue,this.pts=Y,this.duration=te,this.originalDts=be,this.isSyncPoint=Le,this.fileposition=null},et=function(){function ne(){Object(g.a)(this,ne),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(f.a)(ne,[{key:"appendSyncPoint",value:function(Y){Y.isSyncPoint=!0,this.syncPoints.push(Y)}}]),ne}(),rt=function(){function ne(){Object(g.a)(this,ne),this._list=[]}return Object(f.a)(ne,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(Y){var te=this._list;if(Y.length===0)return;te.length>0&&Y[0].originalDts<te[te.length-1].originalDts&&this.clear(),Array.prototype.push.apply(te,Y)}},{key:"getLastSyncPointBeforeDts",value:function(Y){if(this._list.length==0)return null;var te=this._list,be=0,Le=te.length-1,Re=0,$e=0,gt=Le;for(Y<te[0].dts&&(be=0,$e=gt+1);$e<=gt;)if(Re=$e+Math.floor((gt-$e)/2),Re===Le||Y>=te[Re].dts&&Y<te[Re+1].dts){be=Re;break}else te[Re].dts<Y?$e=Re+1:gt=Re-1;return this._list[be]}}]),ne}(),st=function(){function ne(ue){Object(g.a)(this,ne),this._type=ue,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(ne,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(Y){var te=this._list;if(te.length===0)return-2;var be=te.length-1,Le=0,Re=0,$e=be,gt=0;if(Y<te[0].originalBeginDts)return gt=-1,gt;for(;Re<=$e;)if(Le=Re+Math.floor(($e-Re)/2),Le===be||Y>te[Le].lastSample.originalDts&&Y<te[Le+1].originalBeginDts){gt=Le;break}else te[Le].originalBeginDts<Y?Re=Le+1:$e=Le-1;return gt}},{key:"_searchNearestSegmentAfter",value:function(Y){return this._searchNearestSegmentBefore(Y)+1}},{key:"append",value:function(Y){var te=this._list,be=Y,Le=this._lastAppendLocation,Re=0;Le!==-1&&Le<te.length&&be.originalBeginDts>=te[Le].lastSample.originalDts&&(Le===te.length-1||Le<te.length-1&&be.originalBeginDts<te[Le+1].originalBeginDts)?Re=Le+1:te.length>0&&(Re=this._searchNearestSegmentBefore(be.originalBeginDts)+1),this._lastAppendLocation=Re,this._list.splice(Re,0,be)}},{key:"getLastSegmentBefore",value:function(Y){var te=this._searchNearestSegmentBefore(Y);return te>=0?this._list[te]:null}},{key:"getLastSampleBefore",value:function(Y){var te=this.getLastSegmentBefore(Y);return te!=null?te.lastSample:null}},{key:"getLastSyncPointBefore",value:function(Y){for(var te=this._searchNearestSegmentBefore(Y),be=this._list[te].syncPoints;be.length===0&&te>0;)te--,be=this._list[te].syncPoints;return be.length>0?be[be.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ne}(),Ve=function(){function ne(ue){Object(g.a)(this,ne),this.TAG="MP4Remuxer",this._config=ue,this._isLive=ue.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 st("audio"),this._videoSegmentInfoList=new st("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(O.chrome&&(O.version.major<50||O.version.major===50&&O.version.build<2661)),this._fillSilentAfterSeek=O.msedge||O.msie,this._mp3UseMpegAudio=!O.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(ne,[{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(Y){return Y.onDataAvailable=this.remux.bind(this),Y.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(Y){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(Y,te){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(Y,te),this._remuxVideo(te),this._remuxAudio(Y)}},{key:"_onTrackMetadataReceived",value:function(Y,te){var be=null,Le="mp4",Re=te.codec;if(Y==="audio")this._audioMeta=te,te.codec==="mp3"&&this._mp3UseMpegAudio?(Le="mpeg",Re="",be=new Uint8Array):be=Rt.generateInitSegment(te);else if(Y==="video")this._videoMeta=te,be=Rt.generateInitSegment(te);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(Y,{type:Y,data:be.buffer,codec:Re,container:"".concat(Y,"/").concat(Le),mediaDuration:te.duration})}},{key:"_calculateDtsBase",value:function(Y,te){if(this._dtsBaseInited)return;Y.samples&&Y.samples.length&&(this._audioDtsBase=Y.samples[0].dts),te.samples&&te.samples.length&&(this._videoDtsBase=te.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var Y=this._videoStashedLastSample,te=this._audioStashedLastSample,be={type:"video",id:1,sequenceNumber:0,samples:[],length:0};Y!=null&&(be.samples.push(Y),be.length=Y.length);var Le={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};te!=null&&(Le.samples.push(te),Le.length=te.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(be,!0),this._remuxAudio(Le,!0)}},{key:"_remuxAudio",value:function(Y,te){if(this._audioMeta==null)return;var be=Y,Le=be.samples,Re=void 0,$e=-1,gt=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Dt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Kt=this._dtsBaseInited&&this._audioNextDts===void 0,Yt=!1;if(!Le||Le.length===0)return;if(Le.length===1&&!te)return;var Qt=0,Mt=null,dr=0;Dt?(Qt=0,dr=be.length):(Qt=8,dr=8+be.length);var er=null;if(Le.length>1&&(er=Le.pop(),dr-=er.length),this._audioStashedLastSample!=null){var ot=this._audioStashedLastSample;this._audioStashedLastSample=null,Le.unshift(ot),dr+=ot.length}er!=null&&(this._audioStashedLastSample=er);var xt=Le[0].dts-this._dtsBase;if(this._audioNextDts)Re=xt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Re=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Yt=!0));else{var ut=this._audioSegmentInfoList.getLastSampleBefore(xt);if(ut!=null){var ft=xt-(ut.originalDts+ut.duration);ft<=3&&(ft=0);var Lt=ut.dts+ut.duration+ft;Re=xt-Lt}else Re=0}if(Yt){var Tt=xt-Re,ht=this._videoSegmentInfoList.getLastSegmentBefore(xt);if(ht!=null&&ht.beginDts<Tt){var Ht=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var Ft=ht.beginDts,ir=Tt-ht.beginDts;o.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Ft,", duration: ").concat(ir)),Le.unshift({unit:Ht,dts:Ft,pts:Ft}),dr+=Ht.byteLength}}else Yt=!1}for(var Xt=[],mr=0;mr<Le.length;mr++){var Ar=Le[mr],Nr=Ar.unit,Fr=Ar.dts-this._dtsBase,tn=Fr-Re;$e===-1&&($e=tn);var qr=0;if(mr!==Le.length-1){var Or=Le[mr+1].dts-this._dtsBase-Re;qr=Or-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Re;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var Ir=!1,ur=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!O.safari){Ir=!0;var pr=Math.abs(qr-$t),cr=Math.ceil(pr/$t),fr=tn+$t;o.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(tn+qr," ms, expected: ").concat(tn+Math.round($t)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(cr," frames"));var xr=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);xr==null&&(o.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),xr=Nr),ur=[];for(var Gr=0;Gr<cr;Gr++){var un=Math.round(fr);if(ur.length>0){var Nn=ur[ur.length-1];Nn.duration=un-Nn.dts}var jr={dts:un,pts:un,cts:0,unit:xr,size:xr.byteLength,duration:0,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ur.push(jr),dr+=jr.size,fr+=$t}var Tn=ur[ur.length-1];Tn.duration=tn+qr-Tn.dts,qr=Math.round($t)}Xt.push({dts:tn,pts:tn,cts:0,unit:Ar.unit,size:Ar.unit.byteLength,duration:qr,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ir&&Xt.push.apply(Xt,ur)}Dt?Mt=new Uint8Array(dr):(Mt=new Uint8Array(dr),Mt[0]=dr>>>24&255,Mt[1]=dr>>>16&255,Mt[2]=dr>>>8&255,Mt[3]=dr&255,Mt.set(Rt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Pn=Xt[gn].unit;Mt.set(Pn,Qt),Qt+=Pn.byteLength}var zn=Xt[Xt.length-1];gt=zn.dts+zn.duration,this._audioNextDts=gt;var qn=new et;qn.beginDts=$e,qn.endDts=gt,qn.beginPts=$e,qn.endPts=gt,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=zn.originalDts+zn.duration,qn.firstSample=new Ye(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Ye(zn.dts,zn.pts,zn.duration,zn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),be.samples=Xt,be.sequenceNumber++;var Gn=null;Dt?Gn=new Uint8Array:Gn=Rt.moof(be,$e),be.samples=[],be.length=0;var Vn={type:"audio",data:this._mergeBoxes(Gn,Mt).buffer,sampleCount:Xt.length,info:qn};Dt&&Kt&&(Vn.timestampOffset=$e),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(Y,te){if(this._videoMeta==null)return;var be=Y,Le=be.samples,Re=void 0,$e=-1,gt=-1,Wt=-1,$t=-1;if(!Le||Le.length===0)return;if(Le.length===1&&!te)return;var Dt=8,Kt=null,Yt=8+Y.length,Qt=null;if(Le.length>1&&(Qt=Le.pop(),Yt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,Le.unshift(Mt),Yt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=Le[0].dts-this._dtsBase;if(this._videoNextDts)Re=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Re=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var ot=dr-(er.originalDts+er.duration);ot<=3&&(ot=0);var xt=er.dts+er.duration+ot;Re=dr-xt}else Re=0}for(var ut=new et,ft=[],Lt=0;Lt<Le.length;Lt++){var Tt=Le[Lt],ht=Tt.dts-this._dtsBase,Ht=Tt.isKeyframe,Ft=ht-Re,ir=Tt.cts,Xt=Ft+ir;$e===-1&&($e=Ft,Wt=Xt);var mr=0;if(Lt!==Le.length-1){var Ar=Le[Lt+1].dts-this._dtsBase-Re;mr=Ar-Ft}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Re;mr=Nr-Ft}else ft.length>=1?mr=ft[ft.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var Fr=new Ye(Ft,Xt,mr,Tt.dts,!0);Fr.fileposition=Tt.fileposition,ut.appendSyncPoint(Fr)}ft.push({dts:Ft,pts:Xt,cts:ir,units:Tt.units,size:Tt.length,isKeyframe:Ht,duration:mr,originalDts:ht,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}Kt=new Uint8Array(Yt),Kt[0]=Yt>>>24&255,Kt[1]=Yt>>>16&255,Kt[2]=Yt>>>8&255,Kt[3]=Yt&255,Kt.set(Rt.types.mdat,4);for(var tn=0;tn<ft.length;tn++)for(var qr=ft[tn].units;qr.length;){var Or=qr.shift(),Qr=Or.data;Kt.set(Qr,Dt),Dt+=Qr.byteLength}var Ir=ft[ft.length-1];if(gt=Ir.dts+Ir.duration,$t=Ir.pts+Ir.duration,this._videoNextDts=gt,ut.beginDts=$e,ut.endDts=gt,ut.beginPts=Wt,ut.endPts=$t,ut.originalBeginDts=ft[0].originalDts,ut.originalEndDts=Ir.originalDts+Ir.duration,ut.firstSample=new Ye(ft[0].dts,ft[0].pts,ft[0].duration,ft[0].originalDts,ft[0].isKeyframe),ut.lastSample=new Ye(Ir.dts,Ir.pts,Ir.duration,Ir.originalDts,Ir.isKeyframe),this._isLive||this._videoSegmentInfoList.append(ut),be.samples=ft,be.sequenceNumber++,this._forceFirstIDR){var ur=ft[0].flags;ur.dependsOn=2,ur.isNonSync=0}var pr=Rt.moof(be,$e);be.samples=[],be.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Kt).buffer,sampleCount:ft.length,info:ut})}},{key:"_mergeBoxes",value:function(Y,te){var be=new Uint8Array(Y.byteLength+te.byteLength);return be.set(Y,0),be.set(te,Y.byteLength),be}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(Y){this._onInitSegment=Y}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(Y){this._onMediaSegment=Y}}]),ne}(),ie=Ve,$={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"},it=$,Qe=function(){function ne(ue,Y){Object(g.a)(this,ne),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=Y,ue.segments||(ue.segments=[{duration:ue.duration,filesize:ue.filesize,url:ue.url}]),typeof ue.cors!="boolean"&&(ue.cors=!0),typeof ue.withCredentials!="boolean"&&(ue.withCredentials=!1),this._mediaDataSource=ue,this._currentSegmentIndex=0;var te=0;this._mediaDataSource.segments.forEach(function(be){be.timestampBase=te,te+=be.duration,be.cors=ue.cors,be.withCredentials=ue.withCredentials,Y.referrerPolicy&&(be.referrerPolicy=Y.referrerPolicy)}),!isNaN(te)&&this._mediaDataSource.duration!==te&&(this._mediaDataSource.duration=te),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(f.a)(ne,[{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(Y,te){this._emitter.addListener(Y,te)}},{key:"off",value:function(Y,te){this._emitter.removeListener(Y,te)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(Y,te){this._currentSegmentIndex=Y;var be=this._mediaDataSource.segments[Y],Le=this._ioctl=new z(be,this._config,Y);Le.onError=this._onIOException.bind(this),Le.onSeeked=this._onIOSeeked.bind(this),Le.onComplete=this._onIOComplete.bind(this),Le.onRedirect=this._onIORedirect.bind(this),Le.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),te?this._demuxer.bindDataSource(this._ioctl):Le.onDataArrival=this._onInitChunkArrival.bind(this),Le.open(te)}},{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(Y){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var te=this._searchSegmentIndexContains(Y);if(te===this._currentSegmentIndex){var be=this._mediaInfo.segments[te];if(be==null)this._pendingSeekTime=Y;else{var Le=be.getNearestKeyframe(Y);this._remuxer.seek(Le.milliseconds),this._ioctl.seek(Le.fileposition),this._pendingResolveSeekPoint=Le.milliseconds}}else{var Re=this._mediaInfo.segments[te];if(Re==null)this._pendingSeekTime=Y,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(te);else{var $e=Re.getNearestKeyframe(Y);this._internalAbort(),this._remuxer.seek(Y),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[te].timestampBase,this._loadSegment(te,$e.fileposition),this._pendingResolveSeekPoint=$e.milliseconds,this._reportSegmentMediaInfo(te)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(Y){for(var te=this._mediaDataSource.segments,be=te.length-1,Le=0;Le<te.length;Le++)if(Y<te[Le].timestampBase){be=Le-1;break}return be}},{key:"_onInitChunkArrival",value:function(Y,te){var be=this,Le=null,Re=0;if(te>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Re=this._demuxer.parseChunks(Y,te);else if((Le=Ct.probe(Y)).match){this._demuxer=new Ct(Le,this._config),this._remuxer||(this._remuxer=new ie(this._config));var $e=this._mediaDataSource;$e.duration!=null&&!isNaN($e.duration)&&(this._demuxer.overridedDuration=$e.duration),typeof $e.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=$e.hasAudio),typeof $e.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=$e.hasVideo),this._demuxer.timestampBase=$e.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),Re=this._demuxer.parseChunks(Y,te)}else Le=null,o.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){be._internalAbort()}),this._emitter.emit(it.DEMUX_ERROR,ae.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Re=0;return Re}},{key:"_onMediaInfo",value:function(Y){var te=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},Y),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,pt.prototype));var be=Object.assign({},Y);Object.setPrototypeOf(be,pt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=be,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Le=te._pendingSeekTime;te._pendingSeekTime=null,te.seek(Le)})}},{key:"_onMetaDataArrived",value:function(Y){this._emitter.emit(it.METADATA_ARRIVED,Y)}},{key:"_onScriptDataArrived",value:function(Y){this._emitter.emit(it.SCRIPTDATA_ARRIVED,Y)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(Y){var te=Y,be=te+1;be<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(be)):(this._remuxer.flushStashedSamples(),this._emitter.emit(it.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(Y){var te=this._ioctl.extraData;this._mediaDataSource.segments[te].redirectedURL=Y}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(it.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(Y,te){o.e(this.TAG,"IOException: type = ".concat(Y,", code = ").concat(te.code,", msg = ").concat(te.msg)),this._emitter.emit(it.IO_ERROR,Y,te),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(Y,te){o.e(this.TAG,"DemuxException: type = ".concat(Y,", info = ").concat(te)),this._emitter.emit(it.DEMUX_ERROR,Y,te)}},{key:"_onRemuxerInitSegmentArrival",value:function(Y,te){this._emitter.emit(it.INIT_SEGMENT,Y,te)}},{key:"_onRemuxerMediaSegmentArrival",value:function(Y,te){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(it.MEDIA_SEGMENT,Y,te),this._pendingResolveSeekPoint!=null&&Y==="video"){var be=te.info.syncPoints,Le=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,O.safari&&be.length>0&&be[0].originalDts===Le&&(Le=be[0].pts),this._emitter.emit(it.RECOMMEND_SEEKPOINT,Le)}}},{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(Y){var te=this._mediaInfo.segments[Y],be=Object.assign({},te);be.duration=this._mediaInfo.duration,be.segmentCount=this._mediaInfo.segmentCount,delete be.segments,delete be.keyframesIndex,this._emitter.emit(it.MEDIA_INFO,be)}},{key:"_reportStatisticsInfo",value:function(){var Y={};Y.url=this._ioctl.currentURL,Y.hasRedirect=this._ioctl.hasRedirect,Y.hasRedirect&&(Y.redirectedURL=this._ioctl.currentRedirectedURL),Y.speed=this._ioctl.currentSpeed,Y.loaderType=this._ioctl.loaderType,Y.currentSegmentIndex=this._currentSegmentIndex,Y.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(it.STATISTICS_INFO,Y)}}]),ne}(),ye=Qe,Zt=function(ue){var Y="TransmuxingWorker",te=null,be=dr.bind(this);p.install(),ue.addEventListener("message",function(er){switch(er.data.cmd){case"init":te=new ye(er.data.param[0],er.data.param[1]),te.on(it.IO_ERROR,Yt.bind(this)),te.on(it.DEMUX_ERROR,Qt.bind(this)),te.on(it.INIT_SEGMENT,Le.bind(this)),te.on(it.MEDIA_SEGMENT,Re.bind(this)),te.on(it.LOADING_COMPLETE,$e.bind(this)),te.on(it.RECOVERED_EARLY_EOF,gt.bind(this)),te.on(it.MEDIA_INFO,Wt.bind(this)),te.on(it.METADATA_ARRIVED,$t.bind(this)),te.on(it.SCRIPTDATA_ARRIVED,Dt.bind(this)),te.on(it.STATISTICS_INFO,Kt.bind(this)),te.on(it.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":te&&(te.destroy(),te=null),ue.postMessage({msg:"destroyed"});break;case"start":te.start();break;case"stop":te.stop();break;case"seek":te.seek(er.data.param);break;case"pause":te.pause();break;case"resume":te.resume();break;case"logging_config":{var ot=er.data.param;Pe.applyConfig(ot),ot.enableCallback===!0?Pe.addLogListener(be):Pe.removeLogListener(be);break}}});function Le(er,ot){var xt={msg:it.INIT_SEGMENT,data:{type:er,data:ot}};ue.postMessage(xt,[ot.data])}function Re(er,ot){var xt={msg:it.MEDIA_SEGMENT,data:{type:er,data:ot}};ue.postMessage(xt,[ot.data])}function $e(){var er={msg:it.LOADING_COMPLETE};ue.postMessage(er)}function gt(){var er={msg:it.RECOVERED_EARLY_EOF};ue.postMessage(er)}function Wt(er){var ot={msg:it.MEDIA_INFO,data:er};ue.postMessage(ot)}function $t(er){var ot={msg:it.METADATA_ARRIVED,data:er};ue.postMessage(ot)}function Dt(er){var ot={msg:it.SCRIPTDATA_ARRIVED,data:er};ue.postMessage(ot)}function Kt(er){var ot={msg:it.STATISTICS_INFO,data:er};ue.postMessage(ot)}function Yt(er,ot){ue.postMessage({msg:it.IO_ERROR,data:{type:er,info:ot}})}function Qt(er,ot){ue.postMessage({msg:it.DEMUX_ERROR,data:{type:er,info:ot}})}function Mt(er){ue.postMessage({msg:it.RECOMMEND_SEEKPOINT,data:er})}function dr(er,ot){ue.postMessage({msg:"logcat_callback",data:{type:er,logcat:ot}})}},dt=Zt,ct=function(){function ne(ue,Y){if(Object(g.a)(this,ne),this.TAG="Transmuxer",this._emitter=new h.a,Y.enableWorker&&typeof Worker!="undefined")try{var te=e("0r65");this._worker=te(dt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[ue,Y]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Pe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Pe.getConfig()})}catch(Le){o.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ye(ue,Y)}else this._controller=new ye(ue,Y);if(this._controller){var be=this._controller;be.on(it.IO_ERROR,this._onIOError.bind(this)),be.on(it.DEMUX_ERROR,this._onDemuxError.bind(this)),be.on(it.INIT_SEGMENT,this._onInitSegment.bind(this)),be.on(it.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),be.on(it.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),be.on(it.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),be.on(it.MEDIA_INFO,this._onMediaInfo.bind(this)),be.on(it.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),be.on(it.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),be.on(it.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),be.on(it.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(ne,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Pe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Y,te){this._emitter.addListener(Y,te)}},{key:"off",value:function(Y,te){this._emitter.removeListener(Y,te)}},{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(Y){this._worker?this._worker.postMessage({cmd:"seek",param:Y}):this._controller.seek(Y)}},{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(Y,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.INIT_SEGMENT,Y,te)})}},{key:"_onMediaSegment",value:function(Y,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.MEDIA_SEGMENT,Y,te)})}},{key:"_onLoadingComplete",value:function(){var Y=this;Promise.resolve().then(function(){Y._emitter.emit(it.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var Y=this;Promise.resolve().then(function(){Y._emitter.emit(it.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(Y){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.MEDIA_INFO,Y)})}},{key:"_onMetaDataArrived",value:function(Y){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.METADATA_ARRIVED,Y)})}},{key:"_onScriptDataArrived",value:function(Y){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.SCRIPTDATA_ARRIVED,Y)})}},{key:"_onStatisticsInfo",value:function(Y){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.STATISTICS_INFO,Y)})}},{key:"_onIOError",value:function(Y,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.IO_ERROR,Y,te)})}},{key:"_onDemuxError",value:function(Y,te){var be=this;Promise.resolve().then(function(){be._emitter.emit(it.DEMUX_ERROR,Y,te)})}},{key:"_onRecommendSeekpoint",value:function(Y){var te=this;Promise.resolve().then(function(){te._emitter.emit(it.RECOMMEND_SEEKPOINT,Y)})}},{key:"_onLoggingConfigChanged",value:function(Y){this._worker&&this._worker.postMessage({cmd:"logging_config",param:Y})}},{key:"_onWorkerMessage",value:function(Y){var te=Y.data,be=te.data;if(te.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(te.msg){case it.INIT_SEGMENT:case it.MEDIA_SEGMENT:this._emitter.emit(te.msg,be.type,be.data);break;case it.LOADING_COMPLETE:case it.RECOVERED_EARLY_EOF:this._emitter.emit(te.msg);break;case it.MEDIA_INFO:Object.setPrototypeOf(be,pt.prototype),this._emitter.emit(te.msg,be);break;case it.METADATA_ARRIVED:case it.SCRIPTDATA_ARRIVED:case it.STATISTICS_INFO:this._emitter.emit(te.msg,be);break;case it.IO_ERROR:case it.DEMUX_ERROR:this._emitter.emit(te.msg,be.type,be.info);break;case it.RECOMMEND_SEEKPOINT:this._emitter.emit(te.msg,be);break;case"logcat_callback":o.emitter.emit("log",be.type,be.logcat);break;default:break}}}]),ne}(),yt=ct,It={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=It,Bt=function(){function ne(ue){Object(g.a)(this,ne),this.TAG="MSEController",this._config=ue,this._emitter=new h.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 rt}return Object(f.a)(ne,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(Y,te){this._emitter.addListener(Y,te)}},{key:"off",value:function(Y,te){this._emitter.removeListener(Y,te)}},{key:"attachMediaElement",value:function(Y){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var te=this._mediaSource=new window.MediaSource;te.addEventListener("sourceopen",this.e.onSourceOpen),te.addEventListener("sourceended",this.e.onSourceEnded),te.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=Y,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),Y.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var Y=this._mediaSource;for(var te in this._sourceBuffers){var be=this._pendingSegments[te];be.splice(0,be.length),this._pendingSegments[te]=null,this._pendingRemoveRanges[te]=null,this._lastInitSegments[te]=null;var Le=this._sourceBuffers[te];if(Le){if(Y.readyState!=="closed"){try{Y.removeSourceBuffer(Le)}catch(Re){o.e(this.TAG,Re.message)}Le.removeEventListener("error",this.e.onSourceBufferError),Le.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[te]=null,this._sourceBuffers[te]=null}}if(Y.readyState==="open")try{Y.endOfStream()}catch(Re){o.e(this.TAG,Re.message)}Y.removeEventListener("sourceopen",this.e.onSourceOpen),Y.removeEventListener("sourceended",this.e.onSourceEnded),Y.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(Y,te){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(Y),this._pendingSegments[Y.type].push(Y);return}var be=Y,Le="".concat(be.container);be.codec&&be.codec.length>0&&(Le+=";codecs=".concat(be.codec));var Re=!1;if(o.v(this.TAG,"Received Initialization Segment, mimeType: "+Le),this._lastInitSegments[be.type]=be,Le!==this._mimeTypes[be.type]){if(this._mimeTypes[be.type])o.v(this.TAG,"Notice: ".concat(be.type," mimeType changed, origin: ").concat(this._mimeTypes[be.type],", target: ").concat(Le));else{Re=!0;try{var $e=this._sourceBuffers[be.type]=this._mediaSource.addSourceBuffer(Le);$e.addEventListener("error",this.e.onSourceBufferError),$e.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(gt){o.e(this.TAG,gt.message),this._emitter.emit(or.ERROR,{code:gt.code,msg:gt.message});return}}this._mimeTypes[be.type]=Le}te||this._pendingSegments[be.type].push(be),Re||this._sourceBuffers[be.type]&&!this._sourceBuffers[be.type].updating&&this._doAppendSegments(),O.safari&&be.container==="audio/mpeg"&&be.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=be.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(Y){var te=Y;this._pendingSegments[te.type].push(te),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var be=this._sourceBuffers[te.type];be&&!be.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(Y){for(var te in this._sourceBuffers){if(!this._sourceBuffers[te])continue;var be=this._sourceBuffers[te];if(this._mediaSource.readyState==="open")try{be.abort()}catch($t){o.e(this.TAG,$t.message)}this._idrList.clear();var Le=this._pendingSegments[te];if(Le.splice(0,Le.length),this._mediaSource.readyState==="closed")continue;for(var Re=0;Re<be.buffered.length;Re++){var $e=be.buffered.start(Re),gt=be.buffered.end(Re);this._pendingRemoveRanges[te].push({start:$e,end:gt})}if(be.updating||this._doRemoveRanges(),O.safari){var Wt=this._lastInitSegments[te];Wt&&(this._pendingSegments[te].push(Wt),be.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var Y=this._mediaSource,te=this._sourceBuffers;if(!Y||Y.readyState!=="open"){Y&&Y.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}te.video&&te.video.updating||te.audio&&te.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,Y.endOfStream())}},{key:"getNearestKeyframe",value:function(Y){return this._idrList.getLastSyncPointBeforeDts(Y)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var Y=this._mediaElement.currentTime;for(var te in this._sourceBuffers){var be=this._sourceBuffers[te];if(be){var Le=be.buffered;if(Le.length>=1&&Y-Le.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var Y=this._mediaElement.currentTime;for(var te in this._sourceBuffers){var be=this._sourceBuffers[te];if(be){for(var Le=be.buffered,Re=!1,$e=0;$e<Le.length;$e++){var gt=Le.start($e),Wt=Le.end($e);if(gt<=Y&&Y<Wt+3){if(Y-gt>=this._config.autoCleanupMaxBackwardDuration){Re=!0;var $t=Y-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[te].push({start:gt,end:$t})}}else Wt<Y&&(Re=!0,this._pendingRemoveRanges[te].push({start:gt,end:Wt}))}Re&&!be.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var Y=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(Y.video&&Y.video.updating||Y.audio&&Y.audio.updating)return;var te=this._mediaSource.duration,be=this._pendingMediaDuration;be>0&&(isNaN(te)||be>te)&&(o.v(this.TAG,"Update MediaSource duration from ".concat(te," to ").concat(be)),this._mediaSource.duration=be),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var Y in this._pendingRemoveRanges){if(!this._sourceBuffers[Y]||this._sourceBuffers[Y].updating)continue;for(var te=this._sourceBuffers[Y],be=this._pendingRemoveRanges[Y];be.length&&!te.updating;){var Le=be.shift();te.remove(Le.start,Le.end)}}}},{key:"_doAppendSegments",value:function(){var Y=this._pendingSegments;for(var te in Y){if(!this._sourceBuffers[te]||this._sourceBuffers[te].updating)continue;if(Y[te].length>0){var be=Y[te].shift();if(be.timestampOffset){var Le=this._sourceBuffers[te].timestampOffset,Re=be.timestampOffset/1e3,$e=Math.abs(Le-Re);$e>.1&&(o.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Le," to ").concat(Re)),this._sourceBuffers[te].timestampOffset=Re),delete be.timestampOffset}if(!be.data||be.data.byteLength===0)continue;try{this._sourceBuffers[te].appendBuffer(be.data),this._isBufferFull=!1,te==="video"&&be.hasOwnProperty("info")&&this._idrList.appendArray(be.info.syncPoints)}catch(gt){this._pendingSegments[te].unshift(be),gt.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(o.e(this.TAG,gt.message),this._emitter.emit(or.ERROR,{code:gt.code,msg:gt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(o.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var Y=this._pendingSourceBufferInit;Y.length;){var te=Y.shift();this.appendInitSegment(te,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){o.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){o.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 Y=this._pendingSegments;return Y.video.length>0||Y.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var Y=this._pendingRemoveRanges;return Y.video.length>0||Y.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(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function(Y){o.e(this.TAG,"SourceBuffer Error: ".concat(Y))}}]),ne}(),Ae=Bt,pe={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},he={NETWORK_EXCEPTION:m.EXCEPTION,NETWORK_STATUS_CODE_INVALID:m.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:m.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:m.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:ae.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:ae.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:ae.CODEC_UNSUPPORTED},le=function(){function ne(ue,Y){if(Object(g.a)(this,ne),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=q(),typeof Y=="object"&&Object.assign(this._config,Y),ue.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");ue.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=ue,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 te=O.chrome&&(O.version.major<50||O.version.major===50&&O.version.build<2661);this._alwaysSeekKeyframe=!!(te||O.msedge||O.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(ne,[{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(Y,te){var be=this;Y===Se.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){be._emitter.emit(Se.MEDIA_INFO,be.mediaInfo)}):Y===Se.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){be._emitter.emit(Se.STATISTICS_INFO,be.statisticsInfo)})),this._emitter.addListener(Y,te)}},{key:"off",value:function(Y,te){this._emitter.removeListener(Y,te)}},{key:"attachMediaElement",value:function(Y){var te=this;if(this._mediaElement=Y,Y.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),Y.addEventListener("seeking",this.e.onvSeeking),Y.addEventListener("canplay",this.e.onvCanPlay),Y.addEventListener("stalled",this.e.onvStalled),Y.addEventListener("progress",this.e.onvProgress),this._msectl=new Ae(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){te._mseSourceOpened=!0,te._hasPendingLoad&&(te._hasPendingLoad=!1,te.load())}),this._msectl.on(or.ERROR,function(be){te._emitter.emit(Se.ERROR,pe.MEDIA_ERROR,he.MEDIA_MSE_ERROR,be)}),this._msectl.attachMediaElement(Y),this._pendingSeekTime!=null)try{Y.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(be){}}},{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 Y=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new yt(this._mediaDataSource,this._config),this._transmuxer.on(it.INIT_SEGMENT,function(te,be){Y._msectl.appendInitSegment(be)}),this._transmuxer.on(it.MEDIA_SEGMENT,function(te,be){if(Y._msectl.appendMediaSegment(be),Y._config.lazyLoad&&!Y._config.isLive){var Le=Y._mediaElement.currentTime;be.info.endDts>=(Le+Y._config.lazyLoadMaxDuration)*1e3&&(Y._progressChecker==null&&(o.v(Y.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),Y._suspendTransmuxer()))}}),this._transmuxer.on(it.LOADING_COMPLETE,function(){Y._msectl.endOfStream(),Y._emitter.emit(Se.LOADING_COMPLETE)}),this._transmuxer.on(it.RECOVERED_EARLY_EOF,function(){Y._emitter.emit(Se.RECOVERED_EARLY_EOF)}),this._transmuxer.on(it.IO_ERROR,function(te,be){Y._emitter.emit(Se.ERROR,pe.NETWORK_ERROR,te,be)}),this._transmuxer.on(it.DEMUX_ERROR,function(te,be){Y._emitter.emit(Se.ERROR,pe.MEDIA_ERROR,te,{code:-1,msg:be})}),this._transmuxer.on(it.MEDIA_INFO,function(te){Y._mediaInfo=te,Y._emitter.emit(Se.MEDIA_INFO,Object.assign({},te))}),this._transmuxer.on(it.METADATA_ARRIVED,function(te){Y._emitter.emit(Se.METADATA_ARRIVED,te)}),this._transmuxer.on(it.SCRIPTDATA_ARRIVED,function(te){Y._emitter.emit(Se.SCRIPTDATA_ARRIVED,te)}),this._transmuxer.on(it.STATISTICS_INFO,function(te){Y._statisticsInfo=Y._fillStatisticsInfo(te),Y._emitter.emit(Se.STATISTICS_INFO,Object.assign({},Y._statisticsInfo))}),this._transmuxer.on(it.RECOMMEND_SEEKPOINT,function(te){Y._mediaElement&&!Y._config.accurateSeek&&(Y._requestSetTime=!0,Y._mediaElement.currentTime=te/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:"_fillStatisticsInfo",value:function(Y){if(Y.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return Y;var te=!0,be=0,Le=0;if(this._mediaElement.getVideoPlaybackQuality){var Re=this._mediaElement.getVideoPlaybackQuality();be=Re.totalVideoFrames,Le=Re.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(be=this._mediaElement.webkitDecodedFrameCount,Le=this._mediaElement.webkitDroppedFrameCount):te=!1;return te&&(Y.decodedFrames=be,Y.droppedFrames=Le),Y}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var Y=this._mediaElement.buffered,te=this._mediaElement.currentTime,be=0,Le=0,Re=0;Re<Y.length;Re++){var $e=Y.start(Re),gt=Y.end(Re);if($e<=te&&te<gt){be=$e,Le=gt;break}}Le>=te+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(o.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){o.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 Y=this._mediaElement.currentTime,te=this._mediaElement.buffered,be=!1,Le=0;Le<te.length;Le++){var Re=te.start(Le),$e=te.end(Le);if(Y>=Re&&Y<$e){Y>=$e-this._config.lazyLoadRecoverDuration&&(be=!0);break}}be&&(window.clearInterval(this._progressChecker),this._progressChecker=null,be&&(o.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(Y){for(var te=this._mediaElement.buffered,be=0;be<te.length;be++){var Le=te.start(be),Re=te.end(be);if(Y>=Le&&Y<Re)return!0}return!1}},{key:"_internalSeek",value:function(Y){var te=this._isTimepointBuffered(Y),be=!1,Le=0;if(Y<1&&this._mediaElement.buffered.length>0){var Re=this._mediaElement.buffered.start(0);(Re<1&&Y<Re||O.safari)&&(be=!0,Le=O.safari?.1:Re)}if(be)this._requestSetTime=!0,this._mediaElement.currentTime=Le;else if(te){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=Y;else{var $e=this._msectl.getNearestKeyframe(Math.floor(Y*1e3));this._requestSetTime=!0,$e!=null?this._mediaElement.currentTime=$e.dts/1e3:this._mediaElement.currentTime=Y}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(Y),this._transmuxer.seek(Math.floor(Y*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Y)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var Y=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(Y)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(Y),this._transmuxer.seek(Math.floor(Y*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=Y))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(Y){var te=this._mediaElement;if(Y||!this._receivedCanPlay||te.readyState<2){var be=te.buffered;be.length>0&&te.currentTime<be.start(0)&&(o.w(this.TAG,"Playback seems stuck at ".concat(te.currentTime,", seek to ").concat(be.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=be.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(Y){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(Y){var te=this._mediaElement.currentTime,be=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(te<1&&be.length>0){var Le=be.start(0);if(Le<1&&te<Le||O.safari){this._requestSetTime=!0,this._mediaElement.currentTime=O.safari?.1:Le;return}}if(this._isTimepointBuffered(te)){if(this._alwaysSeekKeyframe){var Re=this._msectl.getNearestKeyframe(Math.floor(te*1e3));Re!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Re.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:te,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(Y){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(Y){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(Y){this._checkAndResumeStuckPlayback()}},{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(Y){this._mediaElement.volume=Y}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Y){this._mediaElement.muted=Y}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Y){this._mediaElement?this._internalSeek(Y):this._pendingSeekTime=Y}},{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)}}]),ne}(),Ne=le,je=function(){function ne(ue,Y){if(Object(g.a)(this,ne),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=q(),typeof Y=="object"&&Object.assign(this._config,Y),ue.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(ue.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(ue.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=ue,this._mediaElement=null}return Object(f.a)(ne,[{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(Y,te){var be=this;Y===Se.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){be._emitter.emit(Se.MEDIA_INFO,be.mediaInfo)}):Y===Se.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){be._emitter.emit(Se.STATISTICS_INFO,be.statisticsInfo)})),this._emitter.addListener(Y,te)}},{key:"off",value:function(Y,te){this._emitter.removeListener(Y,te)}},{key:"attachMediaElement",value:function(Y){if(this._mediaElement=Y,Y.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{Y.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(te){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(Y){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Se.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Se.STATISTICS_INFO,this.statisticsInfo)}},{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(Y){this._mediaElement.volume=Y}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(Y){this._mediaElement.muted=Y}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(Y){this._mediaElement?this._mediaElement.currentTime=Y:this._pendingSeekTime=Y}},{key:"mediaInfo",get:function(){var Y=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",te={mimeType:Y+this._mediaDataSource.type};return this._mediaElement&&(te.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(te.width=this._mediaElement.videoWidth,te.height=this._mediaElement.videoHeight)),te}},{key:"statisticsInfo",get:function(){var Y={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return Y;var te=!0,be=0,Le=0;if(this._mediaElement.getVideoPlaybackQuality){var Re=this._mediaElement.getVideoPlaybackQuality();be=Re.totalVideoFrames,Le=Re.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(be=this._mediaElement.webkitDecodedFrameCount,Le=this._mediaElement.webkitDroppedFrameCount):te=!1;return te&&(Y.decodedFrames=be,Y.droppedFrames=Le),Y}}]),ne}(),Ke=je;p.install();function Xe(ne,ue){var Y=ne;if(Y==null||typeof Y!="object")throw new t("MediaDataSource must be an javascript object!");if(!Y.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(Y.type){case"flv":return new Ne(Y,ue);default:return new Ke(Y,ue)}}function Fe(){return G.supportMSEH264Playback()}function nt(){return G.getFeatureList()}var At={};At.createPlayer=Xe,At.isSupported=Fe,At.getFeatureList=nt,At.BaseLoader=w,At.LoaderStatus=d,At.LoaderErrors=m,At.Events=Se,At.ErrorTypes=pe,At.ErrorDetails=he,At.FlvPlayer=Ne,At.NativePlayer=Ke,At.LoggingControl=Pe,Object.defineProperty(At,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var _t=I.a=At},GVMX:function(D,I,e){var g=e("JEkh"),f=g.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"}});D.exports=f},GdRQ:function(D,I,e){"use strict";function g(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(x){return typeof x}:g=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},g(T)}Object.defineProperty(I,"__esModule",{value:!0}),I.isMac=d,I.isWindows=m,I.isIOS=w,I.isSafari=b,I.isIE=E,I.isEdge=A,I.isFirefox=S,I.hasScrollbarGutter=I.supportsImageMetadata=I.supportsCursorURIs=I.dragThreshold=I.isTouchDevice=void 0;var f=p(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return y=function(){return T},T}function p(T){if(T&&T.__esModule)return T;if(T===null||g(T)!=="object"&&typeof T!="function")return{default:T};var O=y();if(O&&O.has(T))return O.get(T);var x={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in T)if(Object.prototype.hasOwnProperty.call(T,_)){var N=C?Object.getOwnPropertyDescriptor(T,_):null;N&&(N.get||N.set)?Object.defineProperty(x,_,N):x[_]=T[_]}return x.default=T,O&&O.set(T,x),x}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;I.isTouchDevice=v,window.addEventListener("touchstart",function T(){I.isTouchDevice=v=!0,window.removeEventListener("touchstart",T,!1)},!1);var h=10*(window.devicePixelRatio||1);I.dragThreshold=h;var u=!1;try{var o=document.createElement("canvas");o.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',o.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),u=!0):f.Warn("Data URI scheme cursor not supported")}catch(T){f.Error("Data URI scheme cursor test exception: "+T)}var i=u;I.supportsCursorURIs=i;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(T){}var a=r;I.supportsImageMetadata=a;var c=!0;try{var n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);var l=document.createElement("div");n.appendChild(l);var t=n.offsetWidth-l.offsetWidth;n.parentNode.removeChild(n),c=t!=0}catch(T){f.Error("Scrollbar test exception: "+T)}var s=c;I.hasScrollbarGutter=s;function d(){return navigator&&!!/mac/i.exec(navigator.platform)}function m(){return navigator&&!!/win/i.exec(navigator.platform)}function w(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function b(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function E(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function A(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(D,I,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),p=e("y+Vt"),v=e("sK/D"),h=v.createClipPath,u=["itemStyle"],o=["emphasis","itemStyle"],i=["color","color0","borderColor","borderColor0"],r=f.extend({type:"candlestick",render:function(b,E,A){this.group.removeClipPath(),this._updateDrawMode(b),this._isLargeDraw?this._renderLarge(b):this._renderNormal(b)},incrementalPrepareRender:function(b,E,A){this._clear(),this._updateDrawMode(b)},incrementalRender:function(b,E,A,S){this._isLargeDraw?this._incrementalRenderLarge(b,E):this._incrementalRenderNormal(b,E)},_updateDrawMode:function(b){var E=b.pipelineContext.large;(this._isLargeDraw==null||E^this._isLargeDraw)&&(this._isLargeDraw=E,this._clear())},_renderNormal:function(b){var E=b.getData(),A=this._data,S=this.group,T=E.getLayout("isSimpleBox"),O=b.get("clip",!0),x=b.coordinateSystem,C=x.getArea&&x.getArea();this._data||S.removeAll(),E.diff(A).add(function(_){if(E.hasValue(_)){var N,F=E.getItemLayout(_);if(O&&n(C,F))return;N=c(F,_,!0),y.initProps(N,{shape:{points:F.ends}},b,_),l(N,E,_,T),S.add(N),E.setItemGraphicEl(_,N)}}).update(function(_,N){var F=A.getItemGraphicEl(N);if(!E.hasValue(_)){S.remove(F);return}var k=E.getItemLayout(_);if(O&&n(C,k)){S.remove(F);return}F?y.updateProps(F,{shape:{points:k.ends}},b,_):F=c(k,_),l(F,E,_,T),S.add(F),E.setItemGraphicEl(_,F)}).remove(function(_){var N=A.getItemGraphicEl(_);N&&S.remove(N)}).execute(),this._data=E},_renderLarge:function(b){this._clear(),d(b,this.group);var E=b.get("clip",!0)?h(b.coordinateSystem,!1,b):null;E?this.group.setClipPath(E):this.group.removeClipPath()},_incrementalRenderNormal:function(b,E){for(var A=E.getData(),S=A.getLayout("isSimpleBox"),T;(T=b.next())!=null;){var O,x=A.getItemLayout(T);O=c(x,T),l(O,A,T,S),O.incremental=!0,this.group.add(O)}},_incrementalRenderLarge:function(b,E){d(E,this.group,!0)},remove:function(b){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),a=p.extend({type:"normalCandlestickBox",shape:{},buildPath:function(b,E){var A=E.points;this.__simpleBox?(b.moveTo(A[4][0],A[4][1]),b.lineTo(A[6][0],A[6][1])):(b.moveTo(A[0][0],A[0][1]),b.lineTo(A[1][0],A[1][1]),b.lineTo(A[2][0],A[2][1]),b.lineTo(A[3][0],A[3][1]),b.closePath(),b.moveTo(A[4][0],A[4][1]),b.lineTo(A[5][0],A[5][1]),b.moveTo(A[6][0],A[6][1]),b.lineTo(A[7][0],A[7][1]))}});function c(b,E,A){var S=b.ends;return new a({shape:{points:A?t(S,b):S},z2:100})}function n(b,E){for(var A=!0,S=0;S<E.ends.length;S++)if(b.contain(E.ends[S][0],E.ends[S][1])){A=!1;break}return A}function l(b,E,A,S){var T=E.getItemModel(A),O=T.getModel(u),x=E.getItemVisual(A,"color"),C=E.getItemVisual(A,"borderColor")||x,_=O.getItemStyle(i);b.useStyle(_),b.style.strokeNoScale=!0,b.style.fill=x,b.style.stroke=C,b.__simpleBox=S;var N=T.getModel(o).getItemStyle();y.setHoverStyle(b,N)}function t(b,E){return g.map(b,function(A){return A=A.slice(),A[1]=E.initBaseline,A})}var s=p.extend({type:"largeCandlestickBox",shape:{},buildPath:function(b,E){for(var A=E.points,S=0;S<A.length;)if(this.__sign===A[S++]){var T=A[S++];b.moveTo(T,A[S++]),b.lineTo(T,A[S++])}else S+=3}});function d(b,E,A){var S=b.getData(),T=S.getLayout("largePoints"),O=new s({shape:{points:T},__sign:1});E.add(O);var x=new s({shape:{points:T},__sign:-1});E.add(x),m(1,O,b,S),m(-1,x,b,S),A&&(O.incremental=!0,x.incremental=!0)}function m(b,E,A,S){var T=b>0?"P":"N",O=S.getVisual("borderColor"+T)||S.getVisual("color"+T),x=A.getModel(u).getItemStyle(i);E.useStyle(x),E.style.fill=null,E.style.stroke=O}var w=r;D.exports=w},Gev7:function(D,I,e){var g=e("bYtY"),f=e("K2GJ"),y=e("1bdT"),p=e("ni6a");function v(u){u=u||{},y.call(this,u);for(var o in u)u.hasOwnProperty(o)&&o!=="style"&&(this[o]=u[o]);this.style=new f(u.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(o){},afterBrush:function(o){},brush:function(o,i){},getBoundingRect:function(){},contain:function(o,i){return this.rectContain(o,i)},traverse:function(o,i){o.call(i,this)},rectContain:function(o,i){var r=this.transformCoordToLocal(o,i),a=this.getBoundingRect();return a.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(o){return this.animate("style",o)},attrKV:function(o,i){o!=="style"?y.prototype.attrKV.call(this,o,i):this.style.set(i)},setStyle:function(o,i){return this.style.set(o,i),this.dirty(!1),this},useStyle:function(o){return this.style=new f(o,this),this.dirty(!1),this},calculateTextPosition:null},g.inherits(v,y),g.mixin(v,p);var h=v;D.exports=h},GrNh:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("6Ic6");function p(r,a,c,n){var l=a.getData(),t=this.dataIndex,s=l.getName(t),d=a.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:r,name:s,seriesId:a.id}),l.each(function(m){v(l.getItemGraphicEl(m),l.getItemLayout(m),a.isSelected(l.getName(m)),d,c)})}function v(r,a,c,n,l){var t=(a.startAngle+a.endAngle)/2,s=Math.cos(t),d=Math.sin(t),m=c?n:0,w=[s*m,d*m];l?r.animate().when(200,{position:w}).start("bounceOut"):r.attr("position",w)}function h(r,a){f.Group.call(this);var c=new f.Sector({z2:2}),n=new f.Polyline,l=new f.Text;this.add(c),this.add(n),this.add(l),this.updateData(r,a,!0)}var u=h.prototype;u.updateData=function(r,a,c){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),s=r.hostModel,d=r.getItemModel(a),m=r.getItemLayout(a),w=g.extend({},m);w.label=null;var b=s.getShallow("animationTypeUpdate");if(c){n.setShape(w);var E=s.getShallow("animationType");E==="scale"?(n.shape.r=m.r0,f.initProps(n,{shape:{r:m.r}},s,a)):(n.shape.endAngle=m.startAngle,f.updateProps(n,{shape:{endAngle:m.endAngle}},s,a))}else b==="expansion"?n.setShape(w):f.updateProps(n,{shape:w},s,a);var A=r.getItemVisual(a,"color");n.useStyle(g.defaults({lineJoin:"bevel",fill:A},d.getModel("itemStyle").getItemStyle())),n.hoverStyle=d.getModel("emphasis.itemStyle").getItemStyle();var S=d.getShallow("cursor");S&&n.attr("cursor",S),v(this,r.getItemLayout(a),s.isSelected(r.getName(a)),s.get("selectedOffset"),s.get("animation"));var T=!c&&b==="transition";this._updateLabel(r,a,T),this.highDownOnUpdate=s.get("silent")?null:function(O,x){var C=s.isAnimationEnabled()&&d.get("hoverAnimation");x==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:m.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:m.r}},300,"elasticOut")))},f.setHoverStyle(this)},u._updateLabel=function(r,a,c){var n=this.childAt(1),l=this.childAt(2),t=r.hostModel,s=r.getItemModel(a),d=r.getItemLayout(a),m=d.label,w=r.getItemVisual(a,"color");if(!m||isNaN(m.x)||isNaN(m.y)){l.ignore=l.normalIgnore=l.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var b={points:m.linePoints||[[m.x,m.y],[m.x,m.y],[m.x,m.y]]},E={x:m.x,y:m.y};c?(f.updateProps(n,{shape:b},t,a),f.updateProps(l,{style:E},t,a)):(n.attr({shape:b}),l.attr({style:E})),l.attr({rotation:m.rotation,origin:[m.x,m.y],z2:10});var A=s.getModel("label"),S=s.getModel("emphasis.label"),T=s.getModel("labelLine"),O=s.getModel("emphasis.labelLine"),w=r.getItemVisual(a,"color");f.setLabelStyle(l.style,l.hoverStyle={},A,S,{labelFetcher:r.hostModel,labelDataIndex:a,defaultText:m.text,autoColor:w,useInsideStyle:!!m.inside},{textAlign:m.textAlign,textVerticalAlign:m.verticalAlign,opacity:r.getItemVisual(a,"opacity")}),l.ignore=l.normalIgnore=!A.get("show"),l.hoverIgnore=!S.get("show"),n.ignore=n.normalIgnore=!T.get("show"),n.hoverIgnore=!O.get("show"),n.setStyle({stroke:w,opacity:r.getItemVisual(a,"opacity")}),n.setStyle(T.getModel("lineStyle").getLineStyle()),n.hoverStyle=O.getModel("lineStyle").getLineStyle();var x=T.get("smooth");x&&x===!0&&(x=.4),n.setShape({smooth:x})},g.inherits(h,f.Group);var o=y.extend({type:"pie",init:function(){var r=new f.Group;this._sectorGroup=r},render:function(r,a,c,n){if(n&&n.from===this.uid)return;var l=r.getData(),t=this._data,s=this.group,d=a.get("animation"),m=!t,w=r.get("animationType"),b=r.get("animationTypeUpdate"),E=g.curry(p,this.uid,r,d,c),A=r.get("selectedMode");if(l.diff(t).add(function(C){var _=new h(l,C);m&&w!=="scale"&&_.eachChild(function(N){N.stopAnimation(!0)}),A&&_.on("click",E),l.setItemGraphicEl(C,_),s.add(_)}).update(function(C,_){var N=t.getItemGraphicEl(_);!m&&b!=="transition"&&N.eachChild(function(F){F.stopAnimation(!0)}),N.updateData(l,C),N.off("click"),A&&N.on("click",E),s.add(N),l.setItemGraphicEl(C,N)}).remove(function(C){var _=t.getItemGraphicEl(C);s.remove(_)}).execute(),d&&l.count()>0&&(m?w!=="scale":b!=="transition")){for(var S=l.getItemLayout(0),T=1;isNaN(S.startAngle)&&T<l.count();++T)S=l.getItemLayout(T);var O=Math.max(c.getWidth(),c.getHeight())/2,x=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(S.cx,S.cy,O,S.startAngle,S.clockwise,x,r,m))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(r,a,c,n,l,t,s,d){var m=new f.Sector({shape:{cx:r,cy:a,r0:0,r:c,startAngle:n,endAngle:n,clockwise:l}}),w=d?f.initProps:f.updateProps;return w(m,{shape:{endAngle:n+(l?1:-1)*Math.PI*2}},s,t),m},containPoint:function(r,a){var c=a.getData(),n=c.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),i=o;D.exports=i},Gytx:function(D,I){D.exports=function(g,f,y,p){var v=y?y.call(p,g,f):void 0;if(v!==void 0)return!!v;if(g===f)return!0;if(typeof g!="object"||!g||typeof f!="object"||!f)return!1;var h=Object.keys(g),u=Object.keys(f);if(h.length!==u.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(f),i=0;i<h.length;i++){var r=h[i];if(!o(r))return!1;var a=g[r],c=f[r];if(v=y?y.call(p,a,c,r):void 0,v===!1||v===void 0&&a!==c)return!1}return!0}},GzdX:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),p=e.n(y),v=e("rePB"),h=e("1OyB"),u=e("vuIU"),o=e("Ji7U"),i=e("md7G"),r=e("foSv"),a=e("m+aA"),c=e("TSYQ"),n=e.n(c),l=e("4IlW");function t(B){var U=B.pageXOffset,H="scrollLeft";if(typeof U!="number"){var W=B.document;U=W.documentElement[H],typeof U!="number"&&(U=W.body[H])}return U}function s(B){var U,H,W=B.ownerDocument,V=W.body,z=W&&W.documentElement,X=B.getBoundingClientRect();return U=X.left,H=X.top,U-=z.clientLeft||V.clientLeft||0,H-=z.clientTop||V.clientTop||0,{left:U,top:H}}function d(B){var U=s(B),H=B.ownerDocument,W=H.defaultView||H.parentWindow;return U.left+=t(W),U.left}function m(B){var U=w();return function(){var W=Object(r.a)(B),V;if(U){var z=Object(r.a)(this).constructor;V=Reflect.construct(W,arguments,z)}else V=W.apply(this,arguments);return Object(i.a)(this,V)}}function w(){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(B){return!1}}var b=function(B){Object(o.a)(H,B);var U=m(H);function H(){var W;return Object(h.a)(this,H),W=U.apply(this,arguments),W.onHover=function(V){var z=W.props,X=z.onHover,q=z.index;X(V,q)},W.onClick=function(V){var z=W.props,X=z.onClick,q=z.index;X(V,q)},W.onKeyDown=function(V){var z=W.props,X=z.onClick,q=z.index;V.keyCode===13&&X(V,q)},W}return Object(u.a)(H,[{key:"getClassName",value:function(){var V=this.props,z=V.prefixCls,X=V.index,q=V.value,fe=V.allowHalf,G=V.focused,ve=X+1,Se=z;return q===0&&X===0&&G?Se+=" ".concat(z,"-focused"):fe&&q+.5>=ve&&q<ve?(Se+=" ".concat(z,"-half ").concat(z,"-active"),G&&(Se+=" ".concat(z,"-focused"))):(Se+=ve<=q?" ".concat(z,"-full"):" ".concat(z,"-zero"),ve===q&&G&&(Se+=" ".concat(z,"-focused"))),Se}},{key:"render",value:function(){var V=this.onHover,z=this.onClick,X=this.onKeyDown,q=this.props,fe=q.disabled,G=q.prefixCls,ve=q.character,Se=q.characterRender,ge=q.index,Pe=q.count,Ge=q.value,pt=typeof ve=="function"?ve(this.props):ve,Te=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:fe?null:z,onKeyDown:fe?null:X,onMouseMove:fe?null:V,role:"radio","aria-checked":Ge>ge?"true":"false","aria-posinset":ge+1,"aria-setsize":Pe,tabIndex:fe?-1:0},p.a.createElement("div",{className:"".concat(G,"-first")},pt),p.a.createElement("div",{className:"".concat(G,"-second")},pt)));return Se&&(Te=Se(Te,this.props)),Te}}]),H}(p.a.Component);function E(B,U){var H=Object.keys(B);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(B);U&&(W=W.filter(function(V){return Object.getOwnPropertyDescriptor(B,V).enumerable})),H.push.apply(H,W)}return H}function A(B){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{};U%2?E(Object(H),!0).forEach(function(W){Object(v.a)(B,W,H[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(H)):E(Object(H)).forEach(function(W){Object.defineProperty(B,W,Object.getOwnPropertyDescriptor(H,W))})}return B}function S(B){var U=T();return function(){var W=Object(r.a)(B),V;if(U){var z=Object(r.a)(this).constructor;V=Reflect.construct(W,arguments,z)}else V=W.apply(this,arguments);return Object(i.a)(this,V)}}function T(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(B){return!1}}function O(){}var x=function(B){Object(o.a)(H,B);var U=S(H);function H(W){var V;Object(h.a)(this,H),V=U.call(this,W),V.onHover=function(X,q){var fe=V.props.onHoverChange,G=V.getStarValue(q,X.pageX),ve=V.state.cleanedValue;G!==ve&&V.setState({hoverValue:G,cleanedValue:null}),fe(G)},V.onMouseLeave=function(){var X=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),X(void 0)},V.onClick=function(X,q){var fe=V.props.allowClear,G=V.state.value,ve=V.getStarValue(q,X.pageX),Se=!1;fe&&(Se=ve===G),V.onMouseLeave(),V.changeValue(Se?0:ve),V.setState({cleanedValue:Se?ve:null})},V.onFocus=function(){var X=V.props.onFocus;V.setState({focused:!0}),X&&X()},V.onBlur=function(){var X=V.props.onBlur;V.setState({focused:!1}),X&&X()},V.onKeyDown=function(X){var q=X.keyCode,fe=V.props,G=fe.count,ve=fe.allowHalf,Se=fe.onKeyDown,ge=fe.direction,Pe=ge==="rtl",Ge=V.state.value;q===l.a.RIGHT&&Ge<G&&!Pe?(ve?Ge+=.5:Ge+=1,V.changeValue(Ge),X.preventDefault()):q===l.a.LEFT&&Ge>0&&!Pe||q===l.a.RIGHT&&Ge>0&&Pe?(ve?Ge-=.5:Ge-=1,V.changeValue(Ge),X.preventDefault()):q===l.a.LEFT&&Ge<G&&Pe&&(ve?Ge+=.5:Ge+=1,V.changeValue(Ge),X.preventDefault()),Se&&Se(X)},V.saveRef=function(X){return function(q){V.stars[X]=q}},V.saveRate=function(X){V.rate=X};var z=W.value;return z===void 0&&(z=W.defaultValue),V.stars={},V.state={value:z,focused:!1,cleanedValue:null},V}return Object(u.a)(H,[{key:"componentDidMount",value:function(){var V=this.props,z=V.autoFocus,X=V.disabled;z&&!X&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(a.a)(this.stars[V])}},{key:"getStarValue",value:function(V,z){var X=this.props,q=X.allowHalf,fe=X.direction,G=fe==="rtl",ve=V+1;if(q){var Se=this.getStarDOM(V),ge=d(Se),Pe=Se.clientWidth;(G&&z-ge>Pe/2||!G&&z-ge<Pe/2)&&(ve-=.5)}return ve}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var z=this.props.onChange;"value"in this.props||this.setState({value:V}),z(V)}},{key:"render",value:function(){for(var V=this.props,z=V.count,X=V.allowHalf,q=V.style,fe=V.prefixCls,G=V.disabled,ve=V.className,Se=V.character,ge=V.characterRender,Pe=V.tabIndex,Ge=V.direction,pt=this.state,Te=pt.value,xe=pt.hoverValue,lt=pt.focused,Ie=[],de=G?"".concat(fe,"-disabled"):"",ee=0;ee<z;ee+=1)Ie.push(p.a.createElement(b,{ref:this.saveRef(ee),index:ee,count:z,disabled:G,prefixCls:"".concat(fe,"-star"),allowHalf:X,value:xe===void 0?Te:xe,onClick:this.onClick,onHover:this.onHover,key:ee,character:Se,characterRender:ge,focused:lt}));var se=n()(fe,de,ve,Object(v.a)({},"".concat(fe,"-rtl"),Ge==="rtl"));return p.a.createElement("ul",{className:se,style:q,onMouseLeave:G?null:this.onMouseLeave,tabIndex:G?-1:Pe,onFocus:G?null:this.onFocus,onBlur:G?null:this.onBlur,onKeyDown:G?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Ie)}}],[{key:"getDerivedStateFromProps",value:function(V,z){return"value"in V&&V.value!==void 0?A(A({},z),{},{value:V.value}):z}}]),H}(p.a.Component);x.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:O,character:"\u2605",onHoverChange:O,tabIndex:0,direction:"ltr"};var C=x,_=C,N=e("Lerx"),F=e.n(N),k=e("3S7+"),P=e("H84U"),j=function(B,U){var H={};for(var W in B)Object.prototype.hasOwnProperty.call(B,W)&&U.indexOf(W)<0&&(H[W]=B[W]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,W=Object.getOwnPropertySymbols(B);V<W.length;V++)U.indexOf(W[V])<0&&Object.prototype.propertyIsEnumerable.call(B,W[V])&&(H[W[V]]=B[W[V]]);return H},K=y.forwardRef(function(B,U){var H=B.prefixCls,W=B.tooltips,V=j(B,["prefixCls","tooltips"]),z=function(Se,ge){var Pe=ge.index;return W?y.createElement(k.a,{title:W[Pe]},Se):Se},X=y.useContext(P.b),q=X.getPrefixCls,fe=X.direction,G=q("rate",H);return y.createElement(_,f()({ref:U,characterRender:z},V,{prefixCls:G,direction:fe}))});K.displayName="Rate",K.defaultProps={character:y.createElement(F.a,null)};var R=I.a=K},H6uX:function(D,I){var e=Array.prototype.slice,g=function(h){this._$handlers={},this._$eventProcessor=h};g.prototype={constructor:g,one:function(h,u,o,i){return y(this,h,u,o,i,!0)},on:function(h,u,o,i){return y(this,h,u,o,i,!1)},isSilent:function(h){var u=this._$handlers;return!u[h]||!u[h].length},off:function(h,u){var o=this._$handlers;if(!h)return this._$handlers={},this;if(u){if(o[h]){for(var i=[],r=0,a=o[h].length;r<a;r++)o[h][r].h!==u&&i.push(o[h][r]);o[h]=i}o[h]&&o[h].length===0&&delete o[h]}else delete o[h];return this},trigger:function(h){var u=this._$handlers[h],o=this._$eventProcessor;if(u){var i=arguments,r=i.length;r>3&&(i=e.call(i,1));for(var a=u.length,c=0;c<a;){var n=u[c];if(o&&o.filter&&n.query!=null&&!o.filter(h,n.query)){c++;continue}switch(r){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,i[1]);break;case 3:n.h.call(n.ctx,i[1],i[2]);break;default:n.h.apply(n.ctx,i);break}n.one?(u.splice(c,1),a--):c++}}return o&&o.afterTrigger&&o.afterTrigger(h),this},triggerWithContext:function(h){var u=this._$handlers[h],o=this._$eventProcessor;if(u){var i=arguments,r=i.length;r>4&&(i=e.call(i,1,i.length-1));for(var a=i[i.length-1],c=u.length,n=0;n<c;){var l=u[n];if(o&&o.filter&&l.query!=null&&!o.filter(h,l.query)){n++;continue}switch(r){case 1:l.h.call(a);break;case 2:l.h.call(a,i[1]);break;case 3:l.h.call(a,i[1],i[2]);break;default:l.h.apply(a,i);break}l.one?(u.splice(n,1),c--):n++}}return o&&o.afterTrigger&&o.afterTrigger(h),this}};function f(v,h){var u=v._$eventProcessor;return h!=null&&u&&u.normalizeQuery&&(h=u.normalizeQuery(h)),h}function y(v,h,u,o,i,r){var a=v._$handlers;if(typeof u=="function"&&(i=o,o=u,u=null),!o||!h)return v;u=f(v,u),a[h]||(a[h]=[]);for(var c=0;c<a[h].length;c++)if(a[h][c].h===o)return v;var n={h:o,one:r,query:u,ctx:i||v,callAtLast:o.zrEventfulCallAtLast},l=a[h].length-1,t=a[h][l];return t&&t.callAtLast?a[h].splice(l,0,n):a[h].push(n),v}var p=g;D.exports=p},H8j4:function(D,I,e){var g=e("QkVE");function f(y,p){var v=g(this,y),h=v.size;return v.set(y,p),this.size+=v.size==h?0:1,this}D.exports=f},HBhm:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},HDyB:function(D,I,e){var g=e("nmnc"),f=e("JHRd"),y=e("ljhN"),p=e("or5M"),v=e("7fqy"),h=e("rEGp"),u=1,o=2,i="[object Boolean]",r="[object Date]",a="[object Error]",c="[object Map]",n="[object Number]",l="[object RegExp]",t="[object Set]",s="[object String]",d="[object Symbol]",m="[object ArrayBuffer]",w="[object DataView]",b=g?g.prototype:void 0,E=b?b.valueOf:void 0;function A(S,T,O,x,C,_,N){switch(O){case w:if(S.byteLength!=T.byteLength||S.byteOffset!=T.byteOffset)return!1;S=S.buffer,T=T.buffer;case m:return!(S.byteLength!=T.byteLength||!_(new f(S),new f(T)));case i:case r:case n:return y(+S,+T);case a:return S.name==T.name&&S.message==T.message;case l:case s:return S==T+"";case c:var F=v;case t:var k=x&u;if(F||(F=h),S.size!=T.size&&!k)return!1;var P=N.get(S);if(P)return P==T;x|=o,N.set(S,T);var j=p(F(S),F(T),x,C,_,N);return N.delete(S),j;case d:if(E)return E.call(S)==E.call(T)}return!1}D.exports=A},"HF/U":function(D,I,e){var g=e("QBsz");function f(p){var v=p.coordinateSystem;if(v&&v.type!=="view")return;var h=p.getGraph();h.eachNode(function(u){var o=u.getModel();u.setLayout([+o.get("x"),+o.get("y")])}),y(h)}function y(p){p.eachEdge(function(v){var h=v.getModel().get("lineStyle.curveness")||0,u=g.clone(v.node1.getLayout()),o=g.clone(v.node2.getLayout()),i=[u,o];+h&&i.push([(u[0]+o[0])/2-(u[1]-o[1])*h,(u[1]+o[1])/2-(o[0]-u[0])*h]),v.setLayout(i)})}I.simpleLayout=f,I.simpleLayoutEdge=y},"HM/N":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("/SeX"),v=e("OELB"),h=v.parsePercent,u=e("aX7z"),o=u.createScaleByModel,i=u.niceScaleExtent,r=e("IDmD"),a=e("7hqr"),c=a.getStackedDimension;e("ePAk");function n(d,m,w){var b=m.get("center"),E=w.getWidth(),A=w.getHeight();d.cx=h(b[0],E),d.cy=h(b[1],A);var S=d.getRadiusAxis(),T=Math.min(E,A)/2,O=m.get("radius");O==null?O=[0,"100%"]:y.isArray(O)||(O=[0,O]),O=[h(O[0],T),h(O[1],T)],S.inverse?S.setExtent(O[1],O[0]):S.setExtent(O[0],O[1])}function l(d,m){var w=this,b=w.getAngleAxis(),E=w.getRadiusAxis();if(b.scale.setExtent(Infinity,-Infinity),E.scale.setExtent(Infinity,-Infinity),d.eachSeries(function(T){if(T.coordinateSystem===w){var O=T.getData();y.each(O.mapDimension("radius",!0),function(x){E.scale.unionExtentFromData(O,c(O,x))}),y.each(O.mapDimension("angle",!0),function(x){b.scale.unionExtentFromData(O,c(O,x))})}}),i(b.scale,b.model),i(E.scale,E.model),b.type==="category"&&!b.onBand){var A=b.getExtent(),S=360/b.scale.count();b.inverse?A[1]+=S:A[1]-=S,b.setExtent(A[0],A[1])}}function t(d,m){if(d.type=m.get("type"),d.scale=o(m),d.onBand=m.get("boundaryGap")&&d.type==="category",d.inverse=m.get("inverse"),m.mainType==="angleAxis"){d.inverse^=m.get("clockwise");var w=m.get("startAngle");d.setExtent(w,w+(d.inverse?-360:360))}m.axis=d,d.model=m}var s={dimensions:p.prototype.dimensions,create:function(d,m){var w=[];return d.eachComponent("polar",function(b,E){var A=new p(E);A.update=l;var S=A.getRadiusAxis(),T=A.getAngleAxis(),O=b.findAxisModel("radiusAxis"),x=b.findAxisModel("angleAxis");t(S,O),t(T,x),n(A,b,m),w.push(A),b.coordinateSystem=A,A.model=b}),d.eachSeries(function(b){if(b.get("coordinateSystem")==="polar"){var E=d.queryComponents({mainType:"polar",index:b.get("polarIndex"),id:b.get("polarId")})[0];b.coordinateSystem=E.coordinateSystem}}),w}};r.register("polar",s)},HOxn:function(D,I,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Promise");D.exports=y},HQEm:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Sj0X"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},HjIi:function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,p=e("7hqr"),v=p.isDimensionStacked;function h(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function u(a,c){return c.dim+a.model.componentIndex}function o(a,c,n){var l={},t=i(g.filter(c.getSeriesByType(a),function(s){return!c.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));c.eachSeriesByType(a,function(s){if(s.coordinateSystem.type!=="polar")return;var d=s.getData(),m=s.coordinateSystem,w=m.getBaseAxis(),b=u(m,w),E=h(s),A=t[b][E],S=A.offset,T=A.width,O=m.getOtherAxis(w),x=s.coordinateSystem.cx,C=s.coordinateSystem.cy,_=s.get("barMinHeight")||0,N=s.get("barMinAngle")||0;l[E]=l[E]||[];for(var F=d.mapDimension(O.dim),k=d.mapDimension(w.dim),P=v(d,F),j=w.dim!=="radius"||!s.get("roundCap",!0),K=O.getExtent()[0],R=0,B=d.count();R<B;R++){var U=d.get(F,R),H=d.get(k,R),W=U>=0?"p":"n",V=K;P&&(l[E][H]||(l[E][H]={p:K,n:K}),V=l[E][H][W]);var z,X,q,fe;if(O.dim==="radius"){var G=O.dataToRadius(U)-K,ve=w.dataToAngle(H);Math.abs(G)<_&&(G=(G<0?-1:1)*_),z=V,X=V+G,q=ve-S,fe=q-T,P&&(l[E][H][W]=X)}else{var Se=O.dataToAngle(U,j)-K,ge=w.dataToRadius(H);Math.abs(Se)<N&&(Se=(Se<0?-1:1)*N),z=ge+S,X=z+T,q=V,fe=V+Se,P&&(l[E][H][W]=fe)}d.setItemLayout(R,{cx:x,cy:C,r0:z,r:X,startAngle:-q*Math.PI/180,endAngle:-fe*Math.PI/180})}},this)}function i(a,c){var n={};g.each(a,function(t,s){var d=t.getData(),m=t.coordinateSystem,w=m.getBaseAxis(),b=u(m,w),E=w.getExtent(),A=w.type==="category"?w.getBandWidth():Math.abs(E[1]-E[0])/d.count(),S=n[b]||{bandWidth:A,remainedWidth:A,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=S.stacks;n[b]=S;var O=h(t);T[O]||S.autoWidthCount++,T[O]=T[O]||{width:0,maxWidth:0};var x=y(t.get("barWidth"),A),C=y(t.get("barMaxWidth"),A),_=t.get("barGap"),N=t.get("barCategoryGap");x&&!T[O].width&&(x=Math.min(S.remainedWidth,x),T[O].width=x,S.remainedWidth-=x),C&&(T[O].maxWidth=C),_!=null&&(S.gap=_),N!=null&&(S.categoryGap=N)});var l={};return g.each(n,function(t,s){l[s]={};var d=t.stacks,m=t.bandWidth,w=y(t.categoryGap,m),b=y(t.gap,1),E=t.remainedWidth,A=t.autoWidthCount,S=(E-w)/(A+(A-1)*b);S=Math.max(S,0),g.each(d,function(C,_){var N=C.maxWidth;N&&N<S&&(N=Math.min(N,E),C.width&&(N=Math.min(N,C.width)),E-=N,C.width=N,A--)}),S=(E-w)/(A+(A-1)*b),S=Math.max(S,0);var T=0,O;g.each(d,function(C,_){C.width||(C.width=S),O=C,T+=C.width*(1+b)}),O&&(T-=O.width*b);var x=-T/2;g.each(d,function(C,_){l[s][_]=l[s][_]||{offset:x,width:C.width},x+=C.width*(1+b)})}),l}var r=o;D.exports=r},HjOm:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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"},f=g;I.default=f},Hvzi:function(D,I){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}D.exports=e},Hw7h:function(D,I,e){var g=e("y+Vt"),f=g.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(y,p){var v=Math.cos,h=Math.sin,u=p.r,o=p.width,i=p.angle,r=p.x-v(i)*o*(o>=u/3?1:2),a=p.y-h(i)*o*(o>=u/3?1:2);i=p.angle-Math.PI/2,y.moveTo(r,a),y.lineTo(p.x+v(i)*o,p.y+h(i)*o),y.lineTo(p.x+v(p.angle)*u,p.y+h(p.angle)*u),y.lineTo(p.x-v(i)*o,p.y-h(i)*o),y.lineTo(r,a);return}});D.exports=f},Hxpc:function(D,I,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),p=e("Qxkt"),v=e("cCMj"),h=e("7uqq"),u=y.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(i){y.prototype.init.apply(this,arguments),f.defaultEmphasis(i,"label",["show"])},optionUpdated:function(){var i=this.option,r=this;i.regions=h.getFilledRegions(i.regions,i.map,i.nameMap),this._optionModelMap=g.reduce(i.regions||[],function(a,c){return c.name&&a.set(c.name,new p(c,r)),a},g.createHashMap()),this.updateSelectedMap(i.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(i){return this._optionModelMap.get(i)||new p(null,this,this.ecModel)},getFormattedLabel:function(i,r){var a=this.getRegionModel(i),c=a.get("label"+(r==="normal"?".":r+".")+"formatter"),n={name:i};if(typeof c=="function")return n.status=r,c(n);if(typeof c=="string")return c.replace("{a}",i!=null?i:"")},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i}});g.mixin(u,v);var o=u;D.exports=o},"I+77":function(D,I,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),y=e("f5Yq"),p=e("KUOm"),v=e("3m61"),h=e("01d+"),u=e("rdor"),o=e("WGYa"),i=e("ewwo");g.registerProcessor(f),g.registerVisual(y("graph","circle",null)),g.registerVisual(p),g.registerVisual(v),g.registerLayout(h),g.registerLayout(g.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),g.registerLayout(o),g.registerCoordinateSystem("graphView",{create:i})},"I+Bx":function(D,I,e){var g=e("bYtY"),f=e("eIcI"),y=e("ieMj"),p=e("OELB"),v=e("aX7z"),h=v.getScaleExtent,u=v.niceScaleExtent,o=e("IDmD"),i=e("jCoz");function r(c,n,l){this._model=c,this.dimensions=[],this._indicatorAxes=g.map(c.getIndicatorModels(),function(t,s){var d="indicator_"+s,m=new f(d,t.get("axisType")==="log"?new i:new y);return m.name=t.get("name"),m.model=t,t.axis=m,this.dimensions.push(d),m},this),this.resize(c,l),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(c,n){var l=this._indicatorAxes[n];return this.coordToPoint(l.dataToCoord(c),n)},r.prototype.coordToPoint=function(c,n){var l=this._indicatorAxes[n],t=l.angle,s=this.cx+c*Math.cos(t),d=this.cy-c*Math.sin(t);return[s,d]},r.prototype.pointToData=function(c){var n=c[0]-this.cx,l=c[1]-this.cy,t=Math.sqrt(n*n+l*l);n/=t,l/=t;for(var s=Math.atan2(-l,n),d=Infinity,m,w=-1,b=0;b<this._indicatorAxes.length;b++){var E=this._indicatorAxes[b],A=Math.abs(s-E.angle);A<d&&(m=E,w=b,d=A)}return[w,+(m&&m.coordToData(t))]},r.prototype.resize=function(c,n){var l=c.get("center"),t=n.getWidth(),s=n.getHeight(),d=Math.min(t,s)/2;this.cx=p.parsePercent(l[0],t),this.cy=p.parsePercent(l[1],s),this.startAngle=c.get("startAngle")*Math.PI/180;var m=c.get("radius");(typeof m=="string"||typeof m=="number")&&(m=[0,m]),this.r0=p.parsePercent(m[0],d),this.r=p.parsePercent(m[1],d),g.each(this._indicatorAxes,function(w,b){w.setExtent(this.r0,this.r);var E=this.startAngle+b*Math.PI*2/this._indicatorAxes.length;E=Math.atan2(Math.sin(E),Math.cos(E)),w.angle=E},this)},r.prototype.update=function(c,n){var l=this._indicatorAxes,t=this._model;g.each(l,function(m){m.scale.setExtent(Infinity,-Infinity)}),c.eachSeriesByType("radar",function(m,w){if(m.get("coordinateSystem")!=="radar"||c.getComponent("radar",m.get("radarIndex"))!==t)return;var b=m.getData();g.each(l,function(E){E.scale.unionExtentFromData(b,b.mapDimension(E.dim))})},this);var s=t.get("splitNumber");function d(m){var w=Math.pow(10,Math.floor(Math.log(m)/Math.LN10)),b=m/w;return b===2?b=5:b*=2,b*w}g.each(l,function(m,w){var b=h(m.scale,m.model).extent;u(m.scale,m.model);var E=m.model,A=m.scale,S=E.getMin(),T=E.getMax(),O=A.getInterval();if(S!=null&&T!=null)A.setExtent(+S,+T),A.setInterval((T-S)/s);else if(S!=null){var x;do x=S+O*s,A.setExtent(+S,x),A.setInterval(O),O=d(O);while(x<b[1]&&isFinite(x)&&isFinite(b[1]))}else if(T!=null){var C;do C=T-O*s,A.setExtent(C,+T),A.setInterval(O),O=d(O);while(C>b[0]&&isFinite(C)&&isFinite(b[0]))}else{var _=A.getTicks().length-1;_>s&&(O=d(O));var x=Math.ceil(b[1]/O)*O,C=p.round(x-O*s);A.setExtent(C,x),A.setInterval(O)}})},r.dimensions=[],r.create=function(c,n){var l=[];return c.eachComponent("radar",function(t){var s=new r(t,c,n);l.push(s),t.coordinateSystem=s}),c.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},o.register("radar",r);var a=r;D.exports=a},"I3/A":function(D,I,e){var g=e("bYtY"),f=e("YXkt"),y=e("c2i1"),p=e("Mdki"),v=e("sdST"),h=e("IDmD"),u=e("MwEJ");function o(i,r,a,c,n){for(var l=new y(c),t=0;t<i.length;t++)l.addNode(g.retrieve(i[t].id,i[t].name,t),t);for(var s=[],d=[],m=0,t=0;t<r.length;t++){var w=r[t],b=w.source,E=w.target;l.addEdge(b,E,m)&&(d.push(w),s.push(g.retrieve(w.id,b+" > "+E)),m++)}var A=a.get("coordinateSystem"),S;if(A==="cartesian2d"||A==="polar")S=u(i,a);else{var T=h.get(A),O=T&&T.type!=="view"?T.dimensions||[]:[];g.indexOf(O,"value")<0&&O.concat(["value"]);var x=v(i,{coordDimensions:O});S=new f(x,a),S.initData(i)}var C=new f(["value"],a);return C.initData(d,s),n&&n(S,C),p({mainData:S,struct:l,structAttr:"graph",datas:{node:S,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}D.exports=o},"I9Y+":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("4xFK")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="DoubleRightOutlined";var u=y.forwardRef(h);I.default=u},ICMv:function(D,I,e){var g=e("bYtY"),f={getMin:function(y){var p=this.option,v=!y&&p.rangeStart!=null?p.rangeStart:p.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(y){var p=this.option,v=!y&&p.rangeEnd!=null?p.rangeEnd:p.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var y=this.option;return y.rangeStart!=null||y.rangeEnd!=null?!1:!y.scale},getCoordSysModel:g.noop,setRange:function(y,p){this.option.rangeStart=y,this.option.rangeEnd=p},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};D.exports=f},IDmD:function(D,I,e){var g=e("bYtY"),f={};function y(){this._coordinateSystems=[]}y.prototype={constructor:y,create:function(v,h){var u=[];g.each(f,function(o,i){var r=o.create(v,h);u=u.concat(r||[])}),this._coordinateSystems=u},update:function(v,h){g.each(this._coordinateSystems,function(u){u.update&&u.update(v,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},y.register=function(v,h){f[v]=h},y.get=function(v){return f[v]};var p=y;D.exports=p},IMiH:function(D,I,e){var g=e("Sj9i"),f=e("QBsz"),y=e("4mN7"),p=e("mFDi"),v=e("LPTA"),h=v.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},o=[],i=[],r=[],a=[],c=Math.min,n=Math.max,l=Math.cos,t=Math.sin,s=Math.sqrt,d=Math.abs,m=typeof Float32Array!="undefined",w=function(A){this._saveData=!(A||!1),this._saveData&&(this.data=[]),this._ctx=null};w.prototype={constructor:w,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(A,S,T){T=T||0,this._ux=d(T/h/A)||0,this._uy=d(T/h/S)||0},getContext:function(){return this._ctx},beginPath:function(A){return this._ctx=A,A&&A.beginPath(),A&&(this.dpr=A.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(A,S){return this.addData(u.M,A,S),this._ctx&&this._ctx.moveTo(A,S),this._x0=A,this._y0=S,this._xi=A,this._yi=S,this},lineTo:function(A,S){var T=d(A-this._xi)>this._ux||d(S-this._yi)>this._uy||this._len<5;return this.addData(u.L,A,S),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(A,S):this._ctx.lineTo(A,S)),T&&(this._xi=A,this._yi=S),this},bezierCurveTo:function(A,S,T,O,x,C){return this.addData(u.C,A,S,T,O,x,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(A,S,T,O,x,C):this._ctx.bezierCurveTo(A,S,T,O,x,C)),this._xi=x,this._yi=C,this},quadraticCurveTo:function(A,S,T,O){return this.addData(u.Q,A,S,T,O),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(A,S,T,O):this._ctx.quadraticCurveTo(A,S,T,O)),this._xi=T,this._yi=O,this},arc:function(A,S,T,O,x,C){return this.addData(u.A,A,S,T,T,O,x-O,0,C?0:1),this._ctx&&this._ctx.arc(A,S,T,O,x,C),this._xi=l(x)*T+A,this._yi=t(x)*T+S,this},arcTo:function(A,S,T,O,x){return this._ctx&&this._ctx.arcTo(A,S,T,O,x),this},rect:function(A,S,T,O){return this._ctx&&this._ctx.rect(A,S,T,O),this.addData(u.R,A,S,T,O),this},closePath:function(){this.addData(u.Z);var A=this._ctx,S=this._x0,T=this._y0;return A&&(this._needsDash()&&this._dashedLineTo(S,T),A.closePath()),this._xi=S,this._yi=T,this},fill:function(A){A&&A.fill(),this.toStatic()},stroke:function(A){A&&A.stroke(),this.toStatic()},setLineDash:function(A){if(A instanceof Array){this._lineDash=A,this._dashIdx=0;for(var S=0,T=0;T<A.length;T++)S+=A[T];this._dashSum=S}return this},setLineDashOffset:function(A){return this._dashOffset=A,this},len:function(){return this._len},setData:function(A){var S=A.length;!(this.data&&this.data.length===S)&&m&&(this.data=new Float32Array(S));for(var T=0;T<S;T++)this.data[T]=A[T];this._len=S},appendPath:function(A){A instanceof Array||(A=[A]);for(var S=A.length,T=0,O=this._len,x=0;x<S;x++)T+=A[x].len();m&&this.data instanceof Float32Array&&(this.data=new Float32Array(O+T));for(var x=0;x<S;x++)for(var C=A[x].data,_=0;_<C.length;_++)this.data[O++]=C[_];this._len=O},addData:function(A){if(!this._saveData)return;var S=this.data;this._len+arguments.length>S.length&&(this._expandData(),S=this.data);for(var T=0;T<arguments.length;T++)S[this._len++]=arguments[T];this._prevCmd=A},_expandData:function(){if(!(this.data instanceof Array)){for(var A=[],S=0;S<this._len;S++)A[S]=this.data[S];this.data=A}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(A,S){var T=this._dashSum,O=this._dashOffset,x=this._lineDash,C=this._ctx,_=this._xi,N=this._yi,F=A-_,k=S-N,P=s(F*F+k*k),j=_,K=N,R,B=x.length,U;for(F/=P,k/=P,O<0&&(O=T+O),O%=T,j-=O*F,K-=O*k;F>0&&j<=A||F<0&&j>=A||F===0&&(k>0&&K<=S||k<0&&K>=S);){if(U=this._dashIdx,R=x[U],j+=F*R,K+=k*R,this._dashIdx=(U+1)%B,F>0&&j<_||F<0&&j>_||k>0&&K<N||k<0&&K>N)continue;C[U%2?"moveTo":"lineTo"](F>=0?c(j,A):n(j,A),k>=0?c(K,S):n(K,S))}F=j-A,k=K-S,this._dashOffset=-s(F*F+k*k)},_dashedBezierTo:function(A,S,T,O,x,C){var _=this._dashSum,N=this._dashOffset,F=this._lineDash,k=this._ctx,P=this._xi,j=this._yi,K,R,B,U=g.cubicAt,H=0,W=this._dashIdx,V=F.length,z,X,q=0;for(N<0&&(N=_+N),N%=_,K=0;K<1;K+=.1)R=U(P,A,T,x,K+.1)-U(P,A,T,x,K),B=U(j,S,O,C,K+.1)-U(j,S,O,C,K),H+=s(R*R+B*B);for(;W<V&&!(q+=F[W],q>N);W++);for(K=(q-N)/H;K<=1;)z=U(P,A,T,x,K),X=U(j,S,O,C,K),W%2?k.moveTo(z,X):k.lineTo(z,X),K+=F[W]/H,W=(W+1)%V;W%2!==0&&k.lineTo(x,C),R=x-z,B=C-X,this._dashOffset=-s(R*R+B*B)},_dashedQuadraticTo:function(A,S,T,O){var x=T,C=O;T=(T+2*A)/3,O=(O+2*S)/3,A=(this._xi+2*A)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(A,S,T,O,x,C)},toStatic:function(){var A=this.data;A instanceof Array&&(A.length=this._len,m&&(this.data=new Float32Array(A)))},getBoundingRect:function(){o[0]=o[1]=r[0]=r[1]=Number.MAX_VALUE,i[0]=i[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var A=this.data,S=0,T=0,O=0,x=0,C=0;C<A.length;){var _=A[C++];C===1&&(S=A[C],T=A[C+1],O=S,x=T);switch(_){case u.M:O=A[C++],x=A[C++],S=O,T=x,r[0]=O,r[1]=x,a[0]=O,a[1]=x;break;case u.L:y.fromLine(S,T,A[C],A[C+1],r,a),S=A[C++],T=A[C++];break;case u.C:y.fromCubic(S,T,A[C++],A[C++],A[C++],A[C++],A[C],A[C+1],r,a),S=A[C++],T=A[C++];break;case u.Q:y.fromQuadratic(S,T,A[C++],A[C++],A[C],A[C+1],r,a),S=A[C++],T=A[C++];break;case u.A:var N=A[C++],F=A[C++],k=A[C++],P=A[C++],j=A[C++],K=A[C++]+j;C+=1;var R=1-A[C++];C===1&&(O=l(j)*k+N,x=t(j)*P+F),y.fromArc(N,F,k,P,j,K,R,r,a),S=l(K)*k+N,T=t(K)*P+F;break;case u.R:O=S=A[C++],x=T=A[C++];var B=A[C++],U=A[C++];y.fromLine(O,x,O+B,x+U,r,a);break;case u.Z:S=O,T=x;break}f.min(o,o,r),f.max(i,i,a)}return C===0&&(o[0]=o[1]=i[0]=i[1]=0),new p(o[0],o[1],i[0]-o[0],i[1]-o[1])},rebuildPath:function(A){for(var S=this.data,T,O,x,C,_,N,F=this._ux,k=this._uy,P=this._len,j=0;j<P;){var K=S[j++];j===1&&(x=S[j],C=S[j+1],T=x,O=C);switch(K){case u.M:T=x=S[j++],O=C=S[j++],A.moveTo(x,C);break;case u.L:_=S[j++],N=S[j++],(d(_-x)>F||d(N-C)>k||j===P-1)&&(A.lineTo(_,N),x=_,C=N);break;case u.C:A.bezierCurveTo(S[j++],S[j++],S[j++],S[j++],S[j++],S[j++]),x=S[j-2],C=S[j-1];break;case u.Q:A.quadraticCurveTo(S[j++],S[j++],S[j++],S[j++]),x=S[j-2],C=S[j-1];break;case u.A:var R=S[j++],B=S[j++],U=S[j++],H=S[j++],W=S[j++],V=S[j++],z=S[j++],X=S[j++],q=U>H?U:H,fe=U>H?1:U/H,G=U>H?H/U:1,ve=Math.abs(U-H)>.001,Se=W+V;ve?(A.translate(R,B),A.rotate(z),A.scale(fe,G),A.arc(0,0,q,W,Se,1-X),A.scale(1/fe,1/G),A.rotate(-z),A.translate(-R,-B)):A.arc(R,B,q,W,Se,1-X),j===1&&(T=l(W)*U+R,O=t(W)*H+B),x=l(Se)*U+R,C=t(Se)*H+B;break;case u.R:T=x=S[j],O=C=S[j+1],A.rect(S[j++],S[j++],S[j++],S[j++]);break;case u.Z:A.closePath(),x=T,C=O}}}},w.CMD=u;var b=w;D.exports=b},IUWy:function(D,I){var e={};function g(y,p){e[y]=p}function f(y){return e[y]}I.register=g,I.get=f},IWNH:function(D,I,e){var g=e("T4UG"),f=e("Bsck"),y=e("7aKB"),p=y.encodeHTML,v=e("Qxkt"),h=g.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(u){var o={name:u.name,children:u.data},i=u.leaves||{},r=new v(i,this,this.ecModel),a=f.createTree(o,this,{},c);function c(s){s.wrapMethod("getItemModel",function(d,m){var w=a.getNodeByDataIndex(m);return(!w.children.length||!w.isExpand)&&(d.parentModel=r),d})}var n=0;a.eachNode("preorder",function(s){s.depth>n&&(n=s.depth)});var l=u.expandAndCollapse,t=l&&u.initialTreeDepth>=0?u.initialTreeDepth:n;return a.root.eachNode("preorder",function(s){var d=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=d&&d.collapsed!=null?!d.collapsed:s.depth<=t}),a.data},getOrient:function(){var u=this.get("orient");return u==="horizontal"?u="LR":u==="vertical"&&(u="TB"),u},setZoom:function(u){this.option.zoom=u},setCenter:function(u){this.option.center=u},formatTooltip:function(u){for(var o=this.getData().tree,i=o.root.children[0],r=o.getNodeByDataIndex(u),a=r.getValue(),c=r.name;r&&r!==i;)c=r.parentNode.name+"."+c,r=r.parentNode;return p(c+(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}});D.exports=h},IWp7:function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=e("7aKB"),p=e("lE7J"),v=e("ieMj"),h=v.prototype,u=Math.ceil,o=Math.floor,i=1e3,r=i*60,a=r*60,c=a*24,n=function(d,m,w,b){for(;w<b;){var E=w+b>>>1;d[E][1]<m?w=E+1:b=E}return w},l=v.extend({type:"time",getLabel:function(d){var m=this._stepLvl,w=new Date(d);return y.formatTime(m[0],w,this.getSetting("useUTC"))},niceExtent:function(d){var m=this._extent;if(m[0]===m[1]&&(m[0]-=c,m[1]+=c),m[1]===-Infinity&&m[0]===Infinity){var w=new Date;m[1]=+new Date(w.getFullYear(),w.getMonth(),w.getDate()),m[0]=m[1]-c}this.niceTicks(d.splitNumber,d.minInterval,d.maxInterval);var b=this._interval;d.fixMin||(m[0]=f.round(o(m[0]/b)*b)),d.fixMax||(m[1]=f.round(u(m[1]/b)*b))},niceTicks:function(d,m,w){d=d||10;var b=this._extent,E=b[1]-b[0],A=E/d;m!=null&&A<m&&(A=m),w!=null&&A>w&&(A=w);var S=t.length,T=n(t,A,0,S),O=t[Math.min(T,S-1)],x=O[1];if(O[0]==="year"){var C=E/x,_=f.nice(C/d,!0);x*=_}var N=this.getSetting("useUTC")?0:new Date(+b[0]||+b[1]).getTimezoneOffset()*60*1e3,F=[Math.round(u((b[0]-N)/x)*x+N),Math.round(o((b[1]-N)/x)*x+N)];p.fixExtent(F,b),this._stepLvl=O,this._interval=x,this._niceExtent=F},parse:function(d){return+f.parseDate(d)}});g.each(["contain","normalize"],function(d){l.prototype[d]=function(m){return h[d].call(this,this.parse(m))}});var t=[["hh:mm:ss",i],["hh:mm:ss",i*5],["hh:mm:ss",i*10],["hh:mm:ss",i*15],["hh:mm:ss",i*30],[`hh:mm
|
|
|
MM-dd`,r],[`hh:mm
|
|
|
MM-dd`,r*5],[`hh:mm
|
|
|
MM-dd`,r*10],[`hh:mm
|
|
|
MM-dd`,r*15],[`hh:mm
|
|
|
MM-dd`,r*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`,c],[`MM-dd
|
|
|
yyyy`,c*2],[`MM-dd
|
|
|
yyyy`,c*3],[`MM-dd
|
|
|
yyyy`,c*4],[`MM-dd
|
|
|
yyyy`,c*5],[`MM-dd
|
|
|
yyyy`,c*6],["week",c*7],[`MM-dd
|
|
|
yyyy`,c*10],["week",c*14],["week",c*21],["month",c*31],["week",c*42],["month",c*62],["week",c*70],["quarter",c*95],["month",c*31*4],["month",c*31*5],["half-year",c*380/2],["month",c*31*8],["month",c*31*10],["year",c*380]];l.create=function(d){return new l({useUTC:d.ecModel.get("useUTC")})};var s=l;D.exports=s},IXuL:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("MwEJ"),p=e("T4UG"),v=p.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,u){return y(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}});D.exports=v},IXyC:function(D,I,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var y=f.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(){f.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(p){var v=this.option;p&&g.merge(v,p,!0),this._initDimensions()},contains:function(p,v){var h=p.get("parallelIndex");return h!=null&&v.getComponent("parallel",h)===this},setAxisExpand:function(p){g.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=[],h=g.filter(this.dependentModels.parallelAxis,function(u){return(u.get("parallelIndex")||0)===this.componentIndex},this);g.each(h,function(u){p.push("dim"+u.get("dim")),v.push(u.componentIndex)})}});D.exports=y},ItGF:function(D,I){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=f(navigator.userAgent);var g=e;function f(y){var p={},v={},h=y.match(/Firefox\/([\d.]+)/),u=y.match(/MSIE\s([\d.]+)/)||y.match(/Trident\/.+?rv:(([\d.]+))/),o=y.match(/Edge\/([\d.]+)/),i=/micromessenger/i.test(y);return h&&(v.firefox=!0,v.version=h[1]),u&&(v.ie=!0,v.version=u[1]),o&&(v.edge=!0,v.version=o[1]),i&&(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"}}D.exports=g},ItS6:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("eP3c"),f=y(e("1q3G"));function y(o){return o&&o.__esModule?o:{default:o}}function p(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function v(o,i){for(var r=0;r<i.length;r++){var a=i[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,i,r){return i&&v(o.prototype,i),r&&v(o,r),o}var u=function(){function o(){p(this,o),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.inflateInit)(this.strm,this.windowBits)}return h(o,[{key:"setInput",value:function(r){r?(this.strm.input=r,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(r){r>this.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var a=(0,g.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,g.inflateReset)(this.strm)}}]),o}();I.default=u},Itpr:function(D,I,e){var g=e("+TT/");function f(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[t],d,m;d=s.pop();)if(m=d.children,d.isExpand&&m.length)for(var w=m.length,b=w-1;b>=0;b--){var E=m[b];E.hierNode={defaultAncestor:null,ancestor:E,prelim:0,modifier:0,change:0,shift:0,i:b,thread:null},s.push(E)}}function y(t,s){var d=t.isExpand?t.children:[],m=t.parentNode.children,w=t.hierNode.i?m[t.hierNode.i-1]:null;if(d.length){o(t);var b=(d[0].hierNode.prelim+d[d.length-1].hierNode.prelim)/2;w?(t.hierNode.prelim=w.hierNode.prelim+s(t,w),t.hierNode.modifier=t.hierNode.prelim-b):t.hierNode.prelim=b}else w&&(t.hierNode.prelim=w.hierNode.prelim+s(t,w));t.parentNode.hierNode.defaultAncestor=i(t,w,t.parentNode.hierNode.defaultAncestor||m[0],s)}function p(t){var s=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:s},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:l}function h(t,s){var d={};return t-=Math.PI/2,d.x=s*Math.cos(t),d.y=s*Math.sin(t),d}function u(t,s){return g.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function o(t){for(var s=t.children,d=s.length,m=0,w=0;--d>=0;){var b=s[d];b.hierNode.prelim+=m,b.hierNode.modifier+=m,w+=b.hierNode.change,m+=b.hierNode.shift+w}}function i(t,s,d,m){if(s){for(var w=t,b=t,E=b.parentNode.children[0],A=s,S=w.hierNode.modifier,T=b.hierNode.modifier,O=E.hierNode.modifier,x=A.hierNode.modifier;A=r(A),b=a(b),A&&b;){w=r(w),E=a(E),w.hierNode.ancestor=t;var C=A.hierNode.prelim+x-b.hierNode.prelim-T+m(A,b);C>0&&(n(c(A,t,d),t,C),T+=C,S+=C),x+=A.hierNode.modifier,T+=b.hierNode.modifier,S+=w.hierNode.modifier,O+=E.hierNode.modifier}A&&!r(w)&&(w.hierNode.thread=A,w.hierNode.modifier+=x-S),b&&!a(E)&&(E.hierNode.thread=b,E.hierNode.modifier+=T-O,d=t)}return d}function r(t){var s=t.children;return s.length&&t.isExpand?s[s.length-1]:t.hierNode.thread}function a(t){var s=t.children;return s.length&&t.isExpand?s[0]:t.hierNode.thread}function c(t,s,d){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:d}function n(t,s,d){var m=d/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=m,s.hierNode.shift+=d,s.hierNode.modifier+=d,s.hierNode.prelim+=d,t.hierNode.change+=m}function l(t,s){return t.parentNode===s.parentNode?1:2}I.init=f,I.firstWalk=y,I.secondWalk=p,I.separation=v,I.radialCoordinate=h,I.getViewRect=u},IwbS:function(D,I,e){var g=e("bYtY"),f=e("NC18"),y=e("Qe9p"),p=e("Fofx"),v=e("QBsz"),h=e("y+Vt"),u=e("DN4a"),o=e("Dagg");I.Image=o;var i=e("4fz+");I.Group=i;var r=e("dqUG");I.Text=r;var a=e("2fw6");I.Circle=a;var c=e("SqI9");I.Sector=c;var n=e("RXMa");I.Ring=n;var l=e("h7HQ");I.Polygon=l;var t=e("1Jh7");I.Polyline=t;var s=e("x6Kt");I.Rect=s;var d=e("yxFR");I.Line=d;var m=e("rA99");I.BezierCurve=m;var w=e("jTL6");I.Arc=w;var b=e("1MYJ");I.CompoundPath=b;var E=e("SKnc");I.LinearGradient=E;var A=e("3e3G");I.RadialGradient=A;var S=e("mFDi");I.BoundingRect=S;var T=e("OS9S");I.IncrementalDisplayable=T;var O=e("nPnh"),x=Math.max,C=Math.min,_={},N=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",P="normal",j=1,K={},R={};function B(he){return h.extend(he)}function U(he,le){return f.extendFromString(he,le)}function H(he,le){R[he]=le}function W(he){if(R.hasOwnProperty(he))return R[he]}function V(he,le,Ne,je){var Ke=f.createFromString(he,le);return Ne&&(je==="center"&&(Ne=X(Ne,Ke.getBoundingRect())),fe(Ke,Ne)),Ke}function z(he,le,Ne){var je=new o({style:{image:he,x:le.x,y:le.y,width:le.width,height:le.height},onload:function(Ke){if(Ne==="center"){var Xe={width:Ke.width,height:Ke.height};je.setStyle(X(le,Xe))}}});return je}function X(he,le){var Ne=le.width/le.height,je=he.height*Ne,Ke;je<=he.width?Ke=he.height:(je=he.width,Ke=je/Ne);var Xe=he.x+he.width/2,Fe=he.y+he.height/2;return{x:Xe-je/2,y:Fe-Ke/2,width:je,height:Ke}}var q=f.mergePath;function fe(he,le){if(!he.applyTransform)return;var Ne=he.getBoundingRect(),je=Ne.calculateTransform(le);he.applyTransform(je)}function G(he){return O.subPixelOptimizeLine(he.shape,he.shape,he.style),he}function ve(he){return O.subPixelOptimizeRect(he.shape,he.shape,he.style),he}var Se=O.subPixelOptimize;function ge(he){return he!=null&&he!=="none"}var Pe=g.createHashMap(),Ge=0;function pt(he){if(typeof he!="string")return he;var le=Pe.get(he);return le||(le=y.lift(he,-.1),Ge<1e4&&(Pe.set(he,le),Ge++)),le}function Te(he){if(!he.__hoverStlDirty)return;he.__hoverStlDirty=!1;var le=he.__hoverStl;if(!le){he.__cachedNormalStl=he.__cachedNormalZ2=null;return}var Ne=he.__cachedNormalStl={};he.__cachedNormalZ2=he.z2;var je=he.style;for(var Ke in le)le[Ke]!=null&&(Ne[Ke]=je[Ke]);Ne.fill=je.fill,Ne.stroke=je.stroke}function xe(he){var le=he.__hoverStl;if(!le||he.__highlighted)return;var Ne=he.__zr,je=he.useHoverLayer&&Ne&&Ne.painter.type==="canvas";if(he.__highlighted=je?"layer":"plain",he.isGroup||!Ne&&he.useHoverLayer)return;var Ke=he,Xe=he.style;je&&(Ke=Ne.addHover(he),Xe=Ke.style),st(Xe),je||Te(Ke),Xe.extendFrom(le),lt(Xe,le,"fill"),lt(Xe,le,"stroke"),rt(Xe),je||(he.dirty(!1),he.z2+=N)}function lt(he,le,Ne){!ge(le[Ne])&&ge(he[Ne])&&(he[Ne]=pt(he[Ne]))}function Ie(he){var le=he.__highlighted;if(!le)return;if(he.__highlighted=!1,he.isGroup)return;if(le==="layer")he.__zr&&he.__zr.removeHover(he);else{var Ne=he.style,je=he.__cachedNormalStl;je&&(st(Ne),he.setStyle(je),rt(Ne));var Ke=he.__cachedNormalZ2;Ke!=null&&he.z2-Ke===N&&(he.z2=Ke)}}function de(he,le,Ne){var je=P,Ke=P,Xe;he.__highlighted&&(je=k,Xe=!0),le(he,Ne),he.__highlighted&&(Ke=k,Xe=!0),he.isGroup&&he.traverse(function(Fe){!Fe.isGroup&&le(Fe,Ne)}),Xe&&he.__highDownOnUpdate&&he.__highDownOnUpdate(je,Ke)}function ee(he,le){le=he.__hoverStl=le!==!1&&(he.hoverStyle||le||{}),he.__hoverStlDirty=!0,he.__highlighted&&(he.__cachedNormalStl=null,Ie(he),xe(he))}function se(he){!_e(this,he)&&!this.__highByOuter&&de(this,xe)}function ke(he){!_e(this,he)&&!this.__highByOuter&&de(this,Ie)}function Ce(he){this.__highByOuter|=1<<(he||0),de(this,xe)}function ze(he){!(this.__highByOuter&=~(1<<(he||0)))&&de(this,Ie)}function _e(he,le){return he.__highDownSilentOnTouch&&le.zrByTouch}function ae(he,le){me(he,!0),de(he,ee,le)}function me(he,le){var Ne=le===!1;if(he.__highDownSilentOnTouch=he.highDownSilentOnTouch,he.__highDownOnUpdate=he.highDownOnUpdate,!Ne||he.__highDownDispatcher){var je=Ne?"off":"on";he[je]("mouseover",se)[je]("mouseout",ke),he[je]("emphasis",Ce)[je]("normal",ze),he.__highByOuter=he.__highByOuter||0,he.__highDownDispatcher=!Ne}}function Oe(he){return!!(he&&he.__highDownDispatcher)}function Ze(he){var le=K[he];return le==null&&j<=32&&(le=K[he]=j++),le}function vt(he,le,Ne,je,Ke,Xe,Fe){Ke=Ke||_;var nt=Ke.labelFetcher,At=Ke.labelDataIndex,_t=Ke.labelDimIndex,ne=Ke.labelProp,ue=Ne.getShallow("show"),Y=je.getShallow("show"),te;(ue||Y)&&(nt&&(te=nt.getFormattedLabel(At,"normal",null,_t,ne)),te==null&&(te=g.isFunction(Ke.defaultText)?Ke.defaultText(At,Ke):Ke.defaultText));var be=ue?te:null,Le=Y?g.retrieve2(nt?nt.getFormattedLabel(At,"emphasis",null,_t,ne):null,te):null;(be!=null||Le!=null)&&(Be(he,Ne,Xe,Ke),Be(le,je,Fe,Ke,!0)),he.text=be,le.text=Le}function Ct(he,le,Ne){var je=he.style;le&&(st(je),he.setStyle(le),rt(je)),je=he.__hoverStl,Ne&&je&&(st(je),g.extend(je,Ne),rt(je))}function Be(he,le,Ne,je,Ke){return He(he,le,je,Ke),Ne&&g.extend(he,Ne),he}function Rt(he,le,Ne){var je={isRectText:!0},Ke;Ne===!1?Ke=!0:je.autoColor=Ne,He(he,le,je,Ke)}function He(he,le,Ne,je){if(Ne=Ne||_,Ne.isRectText){var Ke;Ne.getTextPosition?Ke=Ne.getTextPosition(le,je):(Ke=le.getShallow("position")||(je?null:"inside"),Ke==="outside"&&(Ke="top")),he.textPosition=Ke,he.textOffset=le.getShallow("offset");var Xe=le.getShallow("rotate");Xe!=null&&(Xe*=Math.PI/180),he.textRotation=Xe,he.textDistance=g.retrieve2(le.getShallow("distance"),je?null:5)}var Fe=le.ecModel,nt=Fe&&Fe.option.textStyle,At=wt(le),_t;if(At){_t={};for(var ne in At)if(At.hasOwnProperty(ne)){var ue=le.getModel(["rich",ne]);Ye(_t[ne]={},ue,nt,Ne,je)}}return he.rich=_t,Ye(he,le,nt,Ne,je,!0),Ne.forceRich&&!Ne.textStyle&&(Ne.textStyle={}),he}function wt(he){for(var le;he&&he!==he.ecModel;){var Ne=(he.option||_).rich;if(Ne){le=le||{};for(var je in Ne)Ne.hasOwnProperty(je)&&(le[je]=1)}he=he.parentModel}return le}function Ye(he,le,Ne,je,Ke,Xe){Ne=!Ke&&Ne||_,he.textFill=et(le.getShallow("color"),je)||Ne.color,he.textStroke=et(le.getShallow("textBorderColor"),je)||Ne.textBorderColor,he.textStrokeWidth=g.retrieve2(le.getShallow("textBorderWidth"),Ne.textBorderWidth),Ke||(Xe&&(he.insideRollbackOpt=je,rt(he)),he.textFill==null&&(he.textFill=je.autoColor)),he.fontStyle=le.getShallow("fontStyle")||Ne.fontStyle,he.fontWeight=le.getShallow("fontWeight")||Ne.fontWeight,he.fontSize=le.getShallow("fontSize")||Ne.fontSize,he.fontFamily=le.getShallow("fontFamily")||Ne.fontFamily,he.textAlign=le.getShallow("align"),he.textVerticalAlign=le.getShallow("verticalAlign")||le.getShallow("baseline"),he.textLineHeight=le.getShallow("lineHeight"),he.textWidth=le.getShallow("width"),he.textHeight=le.getShallow("height"),he.textTag=le.getShallow("tag"),(!Xe||!je.disableBox)&&(he.textBackgroundColor=et(le.getShallow("backgroundColor"),je),he.textPadding=le.getShallow("padding"),he.textBorderColor=et(le.getShallow("borderColor"),je),he.textBorderWidth=le.getShallow("borderWidth"),he.textBorderRadius=le.getShallow("borderRadius"),he.textBoxShadowColor=le.getShallow("shadowColor"),he.textBoxShadowBlur=le.getShallow("shadowBlur"),he.textBoxShadowOffsetX=le.getShallow("shadowOffsetX"),he.textBoxShadowOffsetY=le.getShallow("shadowOffsetY")),he.textShadowColor=le.getShallow("textShadowColor")||Ne.textShadowColor,he.textShadowBlur=le.getShallow("textShadowBlur")||Ne.textShadowBlur,he.textShadowOffsetX=le.getShallow("textShadowOffsetX")||Ne.textShadowOffsetX,he.textShadowOffsetY=le.getShallow("textShadowOffsetY")||Ne.textShadowOffsetY}function et(he,le){return he!=="auto"?he:le&&le.autoColor?le.autoColor:null}function rt(he){var le=he.textPosition,Ne=he.insideRollbackOpt,je;if(Ne&&he.textFill==null){var Ke=Ne.autoColor,Xe=Ne.isRectText,Fe=Ne.useInsideStyle,nt=Fe!==!1&&(Fe===!0||Xe&&le&&typeof le=="string"&&le.indexOf("inside")>=0),At=!nt&&Ke!=null;(nt||At)&&(je={textFill:he.textFill,textStroke:he.textStroke,textStrokeWidth:he.textStrokeWidth}),nt&&(he.textFill="#fff",he.textStroke==null&&(he.textStroke=Ke,he.textStrokeWidth==null&&(he.textStrokeWidth=2))),At&&(he.textFill=Ke)}he.insideRollback=je}function st(he){var le=he.insideRollback;le&&(he.textFill=le.textFill,he.textStroke=le.textStroke,he.textStrokeWidth=le.textStrokeWidth,he.insideRollback=null)}function Ve(he,le){var Ne=le&&le.getModel("textStyle");return g.trim([he.fontStyle||Ne&&Ne.getShallow("fontStyle")||"",he.fontWeight||Ne&&Ne.getShallow("fontWeight")||"",(he.fontSize||Ne&&Ne.getShallow("fontSize")||12)+"px",he.fontFamily||Ne&&Ne.getShallow("fontFamily")||"sans-serif"].join(" "))}function ie(he,le,Ne,je,Ke,Xe){typeof Ke=="function"&&(Xe=Ke,Ke=null);var Fe=je&&je.isAnimationEnabled();if(Fe){var nt=he?"Update":"",At=je.getShallow("animationDuration"+nt),_t=je.getShallow("animationEasing"+nt),ne=je.getShallow("animationDelay"+nt);typeof ne=="function"&&(ne=ne(Ke,je.getAnimationDelayParams?je.getAnimationDelayParams(le,Ke):null)),typeof At=="function"&&(At=At(Ke)),At>0?le.animateTo(Ne,At,ne||0,_t,Xe,!!Xe):(le.stopAnimation(),le.attr(Ne),Xe&&Xe())}else le.stopAnimation(),le.attr(Ne),Xe&&Xe()}function $(he,le,Ne,je,Ke){ie(!0,he,le,Ne,je,Ke)}function it(he,le,Ne,je,Ke){ie(!1,he,le,Ne,je,Ke)}function Qe(he,le){for(var Ne=p.identity([]);he&&he!==le;)p.mul(Ne,he.getLocalTransform(),Ne),he=he.parent;return Ne}function ye(he,le,Ne){return le&&!g.isArrayLike(le)&&(le=u.getLocalTransform(le)),Ne&&(le=p.invert([],le)),v.applyTransform([],he,le)}function Zt(he,le,Ne){var je=le[4]===0||le[5]===0||le[0]===0?1:Math.abs(2*le[4]/le[0]),Ke=le[4]===0||le[5]===0||le[2]===0?1:Math.abs(2*le[4]/le[2]),Xe=[he==="left"?-je:he==="right"?je:0,he==="top"?-Ke:he==="bottom"?Ke:0];return Xe=ye(Xe,le,Ne),Math.abs(Xe[0])>Math.abs(Xe[1])?Xe[0]>0?"right":"left":Xe[1]>0?"bottom":"top"}function dt(he,le,Ne,je){if(!he||!le)return;function Ke(nt){var At={};return nt.traverse(function(_t){!_t.isGroup&&_t.anid&&(At[_t.anid]=_t)}),At}function Xe(nt){var At={position:v.clone(nt.position),rotation:nt.rotation};return nt.shape&&(At.shape=g.extend({},nt.shape)),At}var Fe=Ke(he);le.traverse(function(nt){if(!nt.isGroup&&nt.anid){var At=Fe[nt.anid];if(At){var _t=Xe(nt);nt.attr(Xe(At)),$(nt,_t,Ne,nt.dataIndex)}}})}function ct(he,le){return g.map(he,function(Ne){var je=Ne[0];je=x(je,le.x),je=C(je,le.x+le.width);var Ke=Ne[1];return Ke=x(Ke,le.y),Ke=C(Ke,le.y+le.height),[je,Ke]})}function yt(he,le){var Ne=x(he.x,le.x),je=C(he.x+he.width,le.x+le.width),Ke=x(he.y,le.y),Xe=C(he.y+he.height,le.y+le.height);if(je>=Ne&&Xe>=Ke)return{x:Ne,y:Ke,width:je-Ne,height:Xe-Ke}}function It(he,le,Ne){le=g.extend({rectHover:!0},le);var je=le.style={strokeNoScale:!0};if(Ne=Ne||{x:-1,y:-1,width:2,height:2},he)return he.indexOf("image://")===0?(je.image=he.slice(8),g.defaults(je,Ne),new o(le)):V(he.replace("path://",""),le,Ne,"center")}function or(he,le,Ne,je,Ke){for(var Xe=0,Fe=Ke[Ke.length-1];Xe<Ke.length;Xe++){var nt=Ke[Xe];if(Bt(he,le,Ne,je,nt[0],nt[1],Fe[0],Fe[1]))return!0;Fe=nt}}function Bt(he,le,Ne,je,Ke,Xe,Fe,nt){var At=Ne-he,_t=je-le,ne=Fe-Ke,ue=nt-Xe,Y=Ae(ne,ue,At,_t);if(pe(Y))return!1;var te=he-Ke,be=le-Xe,Le=Ae(te,be,At,_t)/Y;if(Le<0||Le>1)return!1;var Re=Ae(te,be,ne,ue)/Y;return!(Re<0||Re>1)}function Ae(he,le,Ne,je){return he*je-Ne*le}function pe(he){return he<=1e-6&&he>=-1e-6}H("circle",a),H("sector",c),H("ring",n),H("polygon",l),H("polyline",t),H("rect",s),H("line",d),H("bezierCurve",m),H("arc",w),I.Z2_EMPHASIS_LIFT=N,I.CACHED_LABEL_STYLE_PROPERTIES=F,I.extendShape=B,I.extendPath=U,I.registerShape=H,I.getShapeClass=W,I.makePath=V,I.makeImage=z,I.mergePath=q,I.resizePath=fe,I.subPixelOptimizeLine=G,I.subPixelOptimizeRect=ve,I.subPixelOptimize=Se,I.setElementHoverStyle=ee,I.setHoverStyle=ae,I.setAsHighDownDispatcher=me,I.isHighDownDispatcher=Oe,I.getHighlightDigit=Ze,I.setLabelStyle=vt,I.modifyLabelStyle=Ct,I.setTextStyle=Be,I.setText=Rt,I.getFont=Ve,I.updateProps=$,I.initProps=it,I.getTransform=Qe,I.applyTransform=ye,I.transformDirection=Zt,I.groupTransition=dt,I.clipPointsByRect=ct,I.clipRectByRect=yt,I.createIcon=It,I.linePolygonIntersect=or,I.lineLineIntersect=Bt},IyUQ:function(D,I,e){var g=e("bYtY"),f=e("YH21"),y=e("IwbS"),p=e("iLNv"),v=e("fc+c"),h=e("OELB"),u=e("+TT/"),o=e("72pK"),i=y.Rect,r=h.linearMap,a=h.asc,c=g.bind,n=g.each,l=7,t=1,s=30,d="horizontal",m="vertical",w=5,b=["line","bar","candlestick","scatter"],E=v.extend({type:"dataZoom.slider",init:function(O,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(O,x,C,_){if(E.superApply(this,"render",arguments),p.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=O.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!_||_.type!=="dataZoom"||_.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){E.superApply(this,"remove",arguments),p.clear(this,"_dispatchZoomAction")},dispose:function(){E.superApply(this,"dispose",arguments),p.clear(this,"_dispatchZoomAction")},_buildView:function(){var O=this.group;O.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new y.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),O.add(x),this._positionGroup()},_resetLocation:function(){var O=this.dataZoomModel,x=this.api,C=this._findCoordRect(),_={width:x.getWidth(),height:x.getHeight()},N=this._orient===d?{right:_.width-C.x-C.width,top:_.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},F=u.getLayoutParams(O.option);g.each(["right","top","width","height"],function(P){F[P]==="ph"&&(F[P]=N[P])});var k=u.getLayoutRect(F,_,O.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===m&&this._size.reverse()},_positionGroup:function(){var O=this.group,x=this._location,C=this._orient,_=this.dataZoomModel.getFirstTargetAxisModel(),N=_&&_.get("inverse"),F=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(C===d&&!N?{scale:k?[1,1]:[1,-1]}:C===d&&N?{scale:k?[-1,1]:[-1,-1]}:C===m&&!N?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var P=O.getBoundingRect([F]);O.attr("position",[x.x-P.x,x.y-P.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var O=this.dataZoomModel,x=this._size,C=this._displayables.barGroup;C.add(new i({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:O.get("backgroundColor")},z2:-40})),C.add(new i({shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var O=this._dataShadowInfo=this._prepareDataShadowInfo();if(!O)return;var x=this._size,C=O.series,_=C.getRawData(),N=C.getShadowDim?C.getShadowDim():O.otherDim;if(N==null)return;var F=_.getDataExtent(N),k=(F[1]-F[0])*.3;F=[F[0]-k,F[1]+k];var P=[0,x[1]],j=[0,x[0]],K=[[x[0],0],[0,0]],R=[],B=j[1]/(_.count()-1),U=0,H=Math.round(_.count()/x[0]),W;_.each([N],function(z,X){if(H>0&&X%H){U+=B;return}var q=z==null||isNaN(z)||z==="",fe=q?0:r(z,F,P,!0);q&&!W&&X?(K.push([K[K.length-1][0],0]),R.push([R[R.length-1][0],0])):!q&&W&&(K.push([U,0]),R.push([U,0])),K.push([U,fe]),R.push([U,fe]),U+=B,W=q});var V=this.dataZoomModel;this._displayables.barGroup.add(new y.Polygon({shape:{points:K},style:g.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new y.Polyline({shape:{points:R},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var O=this.dataZoomModel,x=O.get("showDataShadow");if(x===!1)return;var C,_=this.ecModel;return O.eachTargetAxis(function(N,F){var k=O.getAxisProxy(N.name,F).getTargetSeriesModels();g.each(k,function(P){if(C)return;if(x!==!0&&g.indexOf(b,P.get("type"))<0)return;var j=_.getComponent(N.axis,F).axis,K=A(N.name),R,B=P.coordinateSystem;K!=null&&B.getOtherAxis&&(R=B.getOtherAxis(j).inverse),K=P.getData().mapDimension(K),C={thisAxis:j,series:P,thisDim:N.name,otherDim:K,otherAxisInverse:R}},this)},this),C},_renderHandle:function(){var O=this._displayables,x=O.handles=[],C=O.handleLabels=[],_=this._displayables.barGroup,N=this._size,F=this.dataZoomModel;_.add(O.filler=new i({draggable:!0,cursor:S(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),_.add(new i({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:N[0],height:N[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(k){var P=y.createIcon(F.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:c(this._onDragMove,this,k),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),j=P.getBoundingRect();this._handleHeight=h.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,P.setStyle(F.getModel("handleStyle").getItemStyle());var K=F.get("handleColor");K!=null&&(P.style.fill=K),_.add(x[k]=P);var R=F.textStyleModel;this.group.add(C[k]=new y.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var O=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[r(O[0],[0,100],x,!0),r(O[1],[0,100],x,!0)]},_updateInterval:function(O,x){var C=this.dataZoomModel,_=this._handleEnds,N=this._getViewExtent(),F=C.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];o(x,_,N,C.get("zoomLock")?"all":O,F.minSpan!=null?r(F.minSpan,k,N,!0):null,F.maxSpan!=null?r(F.maxSpan,k,N,!0):null);var P=this._range,j=this._range=a([r(_[0],N,k,!0),r(_[1],N,k,!0)]);return!P||P[0]!==j[0]||P[1]!==j[1]},_updateView:function(O){var x=this._displayables,C=this._handleEnds,_=a(C.slice()),N=this._size;n([0,1],function(F){var k=x.handles[F],P=this._handleHeight;k.attr({scale:[P/2,P/2],position:[C[F],N[1]/2-P/2]})},this),x.filler.setShape({x:_[0],y:0,width:_[1]-_[0],height:N[1]}),this._updateDataInfo(O)},_updateDataInfo:function(O){var x=this.dataZoomModel,C=this._displayables,_=C.handleLabels,N=this._orient,F=["",""];if(x.get("showDetail")){var k=x.findRepresentativeAxisProxy();if(k){var P=k.getAxisModel().axis,j=this._range,K=O?k.calculateDataWindow({start:j[0],end:j[1]}).valueWindow:k.getDataValueWindow();F=[this._formatLabel(K[0],P),this._formatLabel(K[1],P)]}}var R=a(this._handleEnds.slice());B.call(this,0),B.call(this,1);function B(U){var H=y.getTransform(C.handles[U].parent,this.group),W=y.transformDirection(U===0?"right":"left",H),V=this._handleWidth/2+w,z=y.applyTransform([R[U]+(U===0?-V:V),this._size[1]/2],H);_[U].setStyle({x:z[0],y:z[1],textVerticalAlign:N===d?"middle":W,textAlign:N===d?W:"center",text:F[U]})}},_formatLabel:function(O,x){var C=this.dataZoomModel,_=C.get("labelFormatter"),N=C.get("labelPrecision");(N==null||N==="auto")&&(N=x.getPixelPrecision());var F=O==null||isNaN(O)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(O)):O.toFixed(Math.min(N,20));return g.isFunction(_)?_(O,F):g.isString(_)?_.replace("{value}",F):F},_showDataInfo:function(O){O=this._dragging||O;var x=this._displayables.handleLabels;x[0].attr("invisible",!O),x[1].attr("invisible",!O)},_onDragMove:function(O,x,C,_){this._dragging=!0,f.stop(_.event);var N=this._displayables.barGroup.getLocalTransform(),F=y.applyTransform([x,C],N,!0),k=this._updateInterval(O,F[0]),P=this.dataZoomModel.get("realtime");this._updateView(!P),k&&P&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var O=this.dataZoomModel.get("realtime");!O&&this._dispatchZoomAction()},_onClickPanelClick:function(O){var x=this._size,C=this._displayables.barGroup.transformCoordToLocal(O.offsetX,O.offsetY);if(C[0]<0||C[0]>x[0]||C[1]<0||C[1]>x[1])return;var _=this._handleEnds,N=(_[0]+_[1])/2,F=this._updateInterval("all",C[0]-N);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var O=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:O[0],end:O[1]})},_findCoordRect:function(){var O;if(n(this.getTargetCoordInfo(),function(_){if(!O&&_.length){var N=_[0].model.coordinateSystem;O=N.getRect&&N.getRect()}}),!O){var x=this.api.getWidth(),C=this.api.getHeight();O={x:x*.2,y:C*.2,width:x*.6,height:C*.6}}return O}});function A(O){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[O]}function S(O){return O==="vertical"?"ns-resize":"ew-resize"}var T=E;D.exports=T},IzEo:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("lnY3"),p=e.n(y),v=e("Znn+"),h=e("14J3"),u=e("jCWc")},J66h:function(D,I,e){(function(g){var f,y;(function(p,v){D.exports=v(p)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof g!="undefined"?g:this,function(p){"use strict";p=p||{};var v=p.Base64,h="2.6.4",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(P){for(var j={},K=0,R=P.length;K<R;K++)j[P.charAt(K)]=K;return j}(u),i=String.fromCharCode,r=function(j){if(j.length<2){var K=j.charCodeAt(0);return K<128?j:K<2048?i(192|K>>>6)+i(128|K&63):i(224|K>>>12&15)+i(128|K>>>6&63)+i(128|K&63)}else{var K=65536+(j.charCodeAt(0)-55296)*1024+(j.charCodeAt(1)-56320);return i(240|K>>>18&7)+i(128|K>>>12&63)+i(128|K>>>6&63)+i(128|K&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,c=function(j){return j.replace(a,r)},n=function(j){var K=[0,2,1][j.length%3],R=j.charCodeAt(0)<<16|(j.length>1?j.charCodeAt(1):0)<<8|(j.length>2?j.charCodeAt(2):0),B=[u.charAt(R>>>18),u.charAt(R>>>12&63),K>=2?"=":u.charAt(R>>>6&63),K>=1?"=":u.charAt(R&63)];return B.join("")},l=p.btoa&&typeof p.btoa=="function"?function(P){return p.btoa(P)}:function(P){if(P.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return P.replace(/[\s\S]{1,3}/g,n)},t=function(j){return l(c(String(j)))},s=function(j){return j.replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,"")},d=function(j,K){return K?s(t(j)):t(j)},m=function(j){return d(j,!0)},w;p.Uint8Array&&(w=function(j,K){for(var R="",B=0,U=j.length;B<U;B+=3){var H=j[B],W=j[B+1],V=j[B+2],z=H<<16|W<<8|V;R+=u.charAt(z>>>18)+u.charAt(z>>>12&63)+(typeof W!="undefined"?u.charAt(z>>>6&63):"=")+(typeof V!="undefined"?u.charAt(z&63):"=")}return K?s(R):R});var b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(j){switch(j.length){case 4:var K=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),R=K-65536;return i((R>>>10)+55296)+i((R&1023)+56320);case 3:return i((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return i((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},A=function(j){return j.replace(b,E)},S=function(j){var K=j.length,R=K%4,B=(K>0?o[j.charAt(0)]<<18:0)|(K>1?o[j.charAt(1)]<<12:0)|(K>2?o[j.charAt(2)]<<6:0)|(K>3?o[j.charAt(3)]:0),U=[i(B>>>16),i(B>>>8&255),i(B&255)];return U.length-=[0,0,2,1][R],U.join("")},T=p.atob&&typeof p.atob=="function"?function(P){return p.atob(P)}:function(P){return P.replace(/\S{1,4}/g,S)},O=function(j){return T(String(j).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(j){return A(T(j))},C=function(j){return String(j).replace(/[-_]/g,function(K){return K=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_=function(j){return x(C(j))},N;p.Uint8Array&&(N=function(j){return Uint8Array.from(O(C(j)),function(K){return K.charCodeAt(0)})});var F=function(){var j=p.Base64;return p.Base64=v,j};if(p.Base64={VERSION:h,atob:O,btoa:l,fromBase64:_,toBase64:d,utob:c,encode:d,encodeURI:m,btou:A,decode:_,noConflict:F,fromUint8Array:w,toUint8Array:N},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 _(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(P){return d(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return d(this,!0)}))}}return p.Meteor&&(Base64=p.Base64),D.exports?D.exports.Base64=p.Base64:!(f=[],y=function(){return p.Base64}.apply(I,f),y!==void 0&&(D.exports=y)),{Base64:p.Base64}})}).call(this,e("yLpj"))},JEkh:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("ItGF"),h=e("4NO4"),u=e("7aKB"),o=e("OKJ2"),i=u.addCommas,r=u.encodeHTML;function a(l){h.defaultEmphasis(l,"label",["show"])}var c=y.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,s,d){var m=this.constructor,w=this.mainType+"Model";s||t.eachSeries(function(b){var E=b.get(this.mainType,!0),A=b[w];if(!E||!E.data){b[w]=null;return}A?A._mergeOption(E,t,!0):(d&&a(E),p.each(E.data,function(S){S instanceof Array?(a(S[0]),a(S[1])):a(S)}),A=new m(E,this,t),p.extend(A,{mainType:this.mainType,seriesIndex:b.seriesIndex,name:b.name,createdBySelf:!0}),A.__hostSeries=b),b[w]=A},this)},formatTooltip:function(l){var t=this.getData(),s=this.getRawValue(l),d=p.isArray(s)?p.map(s,i).join(", "):i(s),m=t.getName(l),w=r(this.name);return(s!=null||m)&&(w+="<br />"),m&&(w+=r(m),s!=null&&(w+=" : ")),s!=null&&(w+=r(d)),w},getData:function(){return this._data},setData:function(l){this._data=l}});p.mixin(c,o);var n=c;D.exports=n},JGo8:function(D,I,e){},JHRd:function(D,I,e){var g=e("Kz5y"),f=g.Uint8Array;D.exports=f},JHgL:function(D,I,e){var g=e("QkVE");function f(y){return g(this,y).get(y)}D.exports=f},JLnu:function(D,I,e){var g=e("+TT/"),f=e("OELB"),y=f.parsePercent,p=f.linearMap;function v(i,r){return g.getLayoutRect(i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function h(i,r){for(var a=i.mapDimension("value"),c=i.mapArray(a,function(d){return d}),n=[],l=r==="ascending",t=0,s=i.count();t<s;t++)n[t]=t;return typeof r=="function"?n.sort(r):r!=="none"&&n.sort(function(d,m){return l?c[d]-c[m]:c[m]-c[d]}),n}function u(i){i.each(function(r){var a=i.getItemModel(r),c=a.getModel("label"),n=c.get("position"),l=a.getModel("labelLine"),t=i.getItemLayout(r),s=t.points,d=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",m,w,b,E;if(d)n==="insideLeft"?(w=(s[0][0]+s[3][0])/2+5,b=(s[0][1]+s[3][1])/2,m="left"):n==="insideRight"?(w=(s[1][0]+s[2][0])/2-5,b=(s[1][1]+s[2][1])/2,m="right"):(w=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,b=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,m="center"),E=[[w,b],[w,b]];else{var A,S,T,O=l.get("length");n==="left"?(A=(s[3][0]+s[0][0])/2,S=(s[3][1]+s[0][1])/2,T=A-O,w=T-5,m="right"):n==="right"?(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+O,w=T+5,m="left"):n==="rightTop"?(A=s[1][0],S=s[1][1],T=A+O,w=T+5,m="top"):n==="rightBottom"?(A=s[2][0],S=s[2][1],T=A+O,w=T+5,m="bottom"):n==="leftTop"?(A=s[0][0],S=s[1][1],T=A-O,w=T-5,m="right"):n==="leftBottom"?(A=s[3][0],S=s[2][1],T=A-O,w=T-5,m="right"):(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+O,w=T+5,m="left");var x=S;E=[[A,S],[T,x]],b=x}t.label={linePoints:E,x:w,y:b,verticalAlign:"middle",textAlign:m,inside:d}})}function o(i,r,a){i.eachSeriesByType("funnel",function(c){var n=c.getData(),l=n.mapDimension("value"),t=c.get("sort"),s=v(c,r),d=h(n,t),m=[y(c.get("minSize"),s.width),y(c.get("maxSize"),s.width)],w=n.getDataExtent(l),b=c.get("min"),E=c.get("max");b==null&&(b=Math.min(w[0],0)),E==null&&(E=w[1]);var A=c.get("funnelAlign"),S=c.get("gap"),T=(s.height-S*(n.count()-1))/n.count(),O=s.y,x=function(K,R){var B=n.get(l,K)||0,U=p(B,[b,E],m,!0),H;switch(A){case"left":H=s.x;break;case"center":H=s.x+(s.width-U)/2;break;case"right":H=s.x+s.width-U;break}return[[H,R],[H+U,R]]};t==="ascending"&&(T=-T,S=-S,O+=s.height,d=d.reverse());for(var C=0;C<d.length;C++){var _=d[C],N=d[C+1],F=n.getItemModel(_),k=F.get("itemStyle.height");k==null?k=T:(k=y(k,s.height),t==="ascending"&&(k=-k));var P=x(_,O),j=x(N,O+k);O+=k+S,n.setItemLayout(_,{points:P.concat(j.slice().reverse())})}u(n)})}D.exports=o},JSQU:function(D,I,e){var g=e("YESw"),f="__lodash_hash_undefined__";function y(p,v){var h=this.__data__;return this.size+=this.has(p)?0:1,h[p]=g&&v===void 0?f:v,this}D.exports=y},JSwD:function(D,I,e){"use strict";function g(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(m){return typeof m}:g=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},g(s)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=t;var f=p(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return y=function(){return s},s}function p(s){if(s&&s.__esModule)return s;if(s===null||g(s)!=="object"&&typeof s!="function")return{default:s};var d=y();if(d&&d.has(s))return d.get(s);var m={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in s)if(Object.prototype.hasOwnProperty.call(s,b)){var E=w?Object.getOwnPropertyDescriptor(s,b):null;E&&(E.get||E.set)?Object.defineProperty(m,b,E):m[b]=s[b]}return m.default=s,d&&d.set(s,m),m}var v=15,h=852,u=592,o=0,i=1,r=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],c=[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],n=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(s,d,m,w,b,E,A,S){var T=S.bits,O=0,x=0,C=0,_=0,N=0,F=0,k=0,P=0,j=0,K=0,R,B,U,H,W,V=null,z=0,X,q=new f.Buf16(v+1),fe=new f.Buf16(v+1),G=null,ve=0,Se,ge,Pe;for(O=0;O<=v;O++)q[O]=0;for(x=0;x<w;x++)q[d[m+x]]++;for(N=T,_=v;_>=1&&!(q[_]!==0);_--);if(N>_&&(N=_),_===0)return b[E++]=1<<24|64<<16|0,b[E++]=1<<24|64<<16|0,S.bits=1,0;for(C=1;C<_&&!(q[C]!==0);C++);for(N<C&&(N=C),P=1,O=1;O<=v;O++)if(P<<=1,P-=q[O],P<0)return-1;if(P>0&&(s===o||_!==1))return-1;for(fe[1]=0,O=1;O<v;O++)fe[O+1]=fe[O]+q[O];for(x=0;x<w;x++)d[m+x]!==0&&(A[fe[d[m+x]]++]=x);if(s===o?(V=G=A,X=19):s===i?(V=a,z-=257,G=c,ve-=257,X=256):(V=n,G=l,X=-1),K=0,x=0,O=C,W=E,F=N,k=0,U=-1,j=1<<N,H=j-1,s===i&&j>h||s===r&&j>u)return 1;for(;;){Se=O-k,A[x]<X?(ge=0,Pe=A[x]):A[x]>X?(ge=G[ve+A[x]],Pe=V[z+A[x]]):(ge=32+64,Pe=0),R=1<<O-k,B=1<<F,C=B;do B-=R,b[W+(K>>k)+B]=Se<<24|ge<<16|Pe|0;while(B!==0);for(R=1<<O-1;K&R;)R>>=1;if(R!==0?(K&=R-1,K+=R):K=0,x++,--q[O]===0){if(O===_)break;O=d[m+A[x]]}if(O>N&&(K&H)!==U){for(k===0&&(k=N),W+=C,F=O-k,P=1<<F;F+k<_&&!(P-=q[F+k],P<=0);)F++,P<<=1;if(j+=1<<F,s===i&&j>h||s===r&&j>u)return 1;U=K&H,b[U]=N<<24|F<<16|W-E|0}}return K!==0&&(b[W+K]=O-k<<24|64<<16|0),S.bits=N,0}},JTzB:function(D,I,e){var g=e("NykK"),f=e("ExA7"),y="[object Arguments]";function p(v){return f(v)&&g(v)==y}D.exports=p},JVwQ:function(D,I,e){var g=e("ProS"),f=e("1NG9"),y=f.Polygon,p=e("IwbS"),v=e("bYtY"),h=v.bind,u=v.extend,o=e("gPAo"),i=g.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,c,n){var l=a.getData(),t=this.group,s=a.getLayerSeries(),d=l.getLayout("layoutInfo"),m=d.rect,w=d.boundaryGap;t.attr("position",[0,m.y+w[0]]);function b(T){return T.name}var E=new o(this._layersSeries||[],s,b,b),A={};E.add(h(S,this,"add")).update(h(S,this,"update")).remove(h(S,this,"remove")).execute();function S(T,O,x){var C=this._layers;if(T==="remove"){t.remove(C[O]);return}for(var _=[],N=[],F,k=s[O].indices,P=0;P<k.length;P++){var j=l.getItemLayout(k[P]),K=j.x,R=j.y0,B=j.y;_.push([K,R]),N.push([K,R+B]),F=l.getItemVisual(k[P],"color")}var U,H,W=l.getItemLayout(k[0]),V=l.getItemModel(k[P-1]),z=V.getModel("label"),X=z.get("margin");if(T==="add"){var q=A[O]=new p.Group;U=new y({shape:{points:_,stackedOnPoints:N,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new p.Text({style:{x:W.x-X,y:W.y0+W.y/2}}),q.add(U),q.add(H),t.add(q),U.setClipPath(r(U.getBoundingRect(),a,function(){U.removeClipPath()}))}else{var q=C[x];U=q.childAt(0),H=q.childAt(1),t.add(q),A[O]=q,p.updateProps(U,{shape:{points:_,stackedOnPoints:N}},a),p.updateProps(H,{style:{x:W.x-X,y:W.y0+W.y/2}},a)}var fe=V.getModel("emphasis.itemStyle"),G=V.getModel("itemStyle");p.setTextStyle(H.style,z,{text:z.get("show")?a.getFormattedLabel(k[P-1],"normal")||l.getName(k[P-1]):null,textVerticalAlign:"middle"}),U.setStyle(u({fill:F},G.getItemStyle(["color"]))),p.setHoverStyle(U,fe.getItemStyle())}this._layersSeries=s,this._layers=A},dispose:function(){}});function r(a,c,n){var l=new p.Rect({shape:{x:a.x-10,y:a.y-10,width:0,height:a.height+20}});return p.initProps(l,{shape:{width:a.width+20,height:a.height+20}},c,n),l}D.exports=i},JgUQ:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},JsLm:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("PJYZ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("i8i4"),d=e("TSYQ"),m=e.n(d),w=e("zT1h"),b=e("cDf5"),E=e.n(b),A=e("BGR+"),S=e("t23M"),T=e("H84U"),O=e("PEeC");function x(Ge){return Ge!==window?Ge.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(Ge,pt,Te){return Te!==void 0&&pt.top>Ge.top-Te?Te+pt.top:void 0}function _(Ge,pt,Te){if(Te!==void 0&&pt.bottom<Ge.bottom+Te){var xe=window.innerHeight-pt.bottom;return Te+xe}return}var N=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function k(){return F}function P(Ge,pt){if(!Ge)return;var Te=F.find(function(xe){return xe.target===Ge});Te?Te.affixList.push(pt):(Te={target:Ge,affixList:[pt],eventHandlers:{}},F.push(Te),N.forEach(function(xe){Te.eventHandlers[xe]=Object(w.a)(Ge,xe,function(){Te.affixList.forEach(function(lt){lt.lazyUpdatePosition()})})}))}function j(Ge){var pt=F.find(function(Te){var xe=Te.affixList.some(function(lt){return lt===Ge});return xe&&(Te.affixList=Te.affixList.filter(function(lt){return lt!==Ge})),xe});pt&&pt.affixList.length===0&&(F=F.filter(function(Te){return Te!==pt}),N.forEach(function(Te){var xe=pt.eventHandlers[Te];xe&&xe.remove&&xe.remove()}))}var K=function(Ge,pt,Te,xe){var lt=arguments.length,Ie=lt<3?pt:xe===null?xe=Object.getOwnPropertyDescriptor(pt,Te):xe,de;if((typeof Reflect=="undefined"?"undefined":E()(Reflect))==="object"&&typeof Reflect.decorate=="function")Ie=Reflect.decorate(Ge,pt,Te,xe);else for(var ee=Ge.length-1;ee>=0;ee--)(de=Ge[ee])&&(Ie=(lt<3?de(Ie):lt>3?de(pt,Te,Ie):de(pt,Te))||Ie);return lt>3&&Ie&&Object.defineProperty(pt,Te,Ie),Ie};function R(){return typeof window!="undefined"?window:null}var B;(function(Ge){Ge[Ge.None=0]="None",Ge[Ge.Prepare=1]="Prepare"})(B||(B={}));var U=function(Ge){c()(Te,Ge);var pt=l()(Te);function Te(){var xe;return h()(this,Te),xe=pt.apply(this,arguments),xe.state={status:B.None,lastAffix:!1,prevTarget:null},xe.getOffsetTop=function(){var lt=xe.props.offsetBottom,Ie=xe.props.offsetTop;return lt===void 0&&Ie===void 0&&(Ie=0),Ie},xe.getOffsetBottom=function(){return xe.props.offsetBottom},xe.savePlaceholderNode=function(lt){xe.placeholderNode=lt},xe.saveFixedNode=function(lt){xe.fixedNode=lt},xe.measure=function(){var lt=xe.state,Ie=lt.status,de=lt.lastAffix,ee=xe.props.onChange,se=xe.getTargetFunc();if(Ie!==B.Prepare||!xe.fixedNode||!xe.placeholderNode||!se)return;var ke=xe.getOffsetTop(),Ce=xe.getOffsetBottom(),ze=se();if(!ze)return;var _e={status:B.None},ae=x(ze),me=x(xe.placeholderNode),Oe=C(me,ae,ke),Ze=_(me,ae,Ce);Oe!==void 0?(_e.affixStyle={position:"fixed",top:Oe,width:me.width,height:me.height},_e.placeholderStyle={width:me.width,height:me.height}):Ze!==void 0&&(_e.affixStyle={position:"fixed",bottom:Ze,width:me.width,height:me.height},_e.placeholderStyle={width:me.width,height:me.height}),_e.lastAffix=!!_e.affixStyle,ee&&de!==_e.lastAffix&&ee(_e.lastAffix),xe.setState(_e)},xe.prepareMeasure=function(){if(xe.setState({status:B.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var lt},xe.render=function(){var lt=xe.context.getPrefixCls,Ie=xe.state,de=Ie.affixStyle,ee=Ie.placeholderStyle,se=xe.props,ke=se.prefixCls,Ce=se.children,ze=m()(p()({},lt("affix",ke),de)),_e=Object(A.default)(xe.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(S.a,{onResize:function(){xe.updatePosition()}},t.createElement("div",f()({},_e,{ref:xe.savePlaceholderNode}),de&&t.createElement("div",{style:ee,"aria-hidden":"true"}),t.createElement("div",{className:ze,ref:xe.saveFixedNode,style:de},t.createElement(S.a,{onResize:function(){xe.updatePosition()}},Ce))))},xe}return o()(Te,[{key:"getTargetFunc",value:function(){var lt=this.context.getTargetContainer,Ie=this.props.target;return Ie!==void 0?Ie:lt||R}},{key:"componentDidMount",value:function(){var lt=this,Ie=this.getTargetFunc();Ie&&(this.timeout=setTimeout(function(){P(Ie(),lt),lt.updatePosition()}))}},{key:"componentDidUpdate",value:function(lt){var Ie=this.state.prevTarget,de=this.getTargetFunc(),ee=null;de&&(ee=de()||null),Ie!==ee&&(j(this),ee&&(P(ee,this),this.updatePosition()),this.setState({prevTarget:ee})),(lt.offsetTop!==this.props.offsetTop||lt.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 lt=this.getTargetFunc(),Ie=this.state.affixStyle;if(lt&&Ie){var de=this.getOffsetTop(),ee=this.getOffsetBottom(),se=lt();if(se&&this.placeholderNode){var ke=x(se),Ce=x(this.placeholderNode),ze=C(Ce,ke,de),_e=_(Ce,ke,ee);if(ze!==void 0&&Ie.top===ze||_e!==void 0&&Ie.bottom===_e)return}}this.prepareMeasure()}}]),Te}(t.Component);U.contextType=T.b,K([Object(O.b)()],U.prototype,"updatePosition",null),K([Object(O.b)()],U.prototype,"lazyUpdatePosition",null);var H=U,W=e("zAh6"),V=e("i6bk"),z=t.createContext(null),X=z;function q(){return window}function fe(Ge,pt){if(!Ge.getClientRects().length)return 0;var Te=Ge.getBoundingClientRect();return Te.width||Te.height?pt===window?(pt=Ge.ownerDocument.documentElement,Te.top-pt.clientTop):Te.top-pt.getBoundingClientRect().top:Te.top}var G=/#(\S+)$/,ve=function(Ge){c()(Te,Ge);var pt=l()(Te);function Te(){var xe;return h()(this,Te),xe=pt.apply(this,arguments),xe.state={activeLink:null},xe.links=[],xe.registerLink=function(lt){xe.links.includes(lt)||xe.links.push(lt)},xe.unregisterLink=function(lt){var Ie=xe.links.indexOf(lt);Ie!==-1&&xe.links.splice(Ie,1)},xe.getContainer=function(){var lt=xe.context.getTargetContainer,Ie=xe.props.getContainer,de=Ie||lt||q;return de()},xe.handleScrollTo=function(lt){var Ie=xe.props,de=Ie.offsetTop,ee=Ie.targetOffset;xe.setCurrentActiveLink(lt);var se=xe.getContainer(),ke=Object(V.a)(se,!0),Ce=G.exec(lt);if(!Ce)return;var ze=document.getElementById(Ce[1]);if(!ze)return;var _e=fe(ze,se),ae=ke+_e;ae-=ee!==void 0?ee:de||0,xe.animating=!0,Object(W.a)(ae,{callback:function(){xe.animating=!1},getContainer:xe.getContainer})},xe.saveInkNode=function(lt){xe.inkNode=lt},xe.setCurrentActiveLink=function(lt){var Ie=xe.state.activeLink,de=xe.props.onChange;Ie!==lt&&(xe.setState({activeLink:lt}),de&&de(lt))},xe.handleScroll=function(){if(xe.animating)return;var lt=xe.props,Ie=lt.offsetTop,de=lt.bounds,ee=lt.targetOffset,se=xe.getCurrentAnchor(ee!==void 0?ee:Ie||0,de);xe.setCurrentActiveLink(se)},xe.updateInk=function(){var lt=r()(xe),Ie=lt.prefixCls,de=s.findDOMNode(r()(xe)),ee=de.getElementsByClassName("".concat(Ie,"-link-title-active"))[0];ee&&(xe.inkNode.style.top="".concat(ee.offsetTop+ee.clientHeight/2-4.5,"px"))},xe.render=function(){var lt=xe.context,Ie=lt.getPrefixCls,de=lt.direction,ee=xe.props,se=ee.prefixCls,ke=ee.className,Ce=ke===void 0?"":ke,ze=ee.style,_e=ee.offsetTop,ae=ee.affix,me=ee.showInkInFixed,Oe=ee.children,Ze=xe.state.activeLink,vt=Ie("anchor",se);xe.prefixCls=vt;var Ct=m()("".concat(vt,"-ink-ball"),{visible:Ze}),Be=m()(Ce,"".concat(vt,"-wrapper"),p()({},"".concat(vt,"-rtl"),de==="rtl")),Rt=m()(vt,{fixed:!ae&&!me}),He=f()({maxHeight:_e?"calc(100vh - ".concat(_e,"px)"):"100vh"},ze),wt=t.createElement("div",{className:Be,style:He},t.createElement("div",{className:Rt},t.createElement("div",{className:"".concat(vt,"-ink")},t.createElement("span",{className:Ct,ref:xe.saveInkNode})),Oe));return t.createElement(X.Provider,{value:{registerLink:xe.registerLink,unregisterLink:xe.unregisterLink,activeLink:xe.state.activeLink,scrollTo:xe.handleScrollTo,onClick:xe.props.onClick}},ae?t.createElement(H,{offsetTop:_e,target:xe.getContainer},wt):wt)},xe}return o()(Te,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var lt=this.getContainer();this.scrollContainer!==lt&&(this.scrollContainer=lt,this.scrollEvent.remove(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,de=this.props.getCurrentAnchor;if(typeof de=="function")return de();var ee=[],se=this.getContainer();if(this.links.forEach(function(Ce){var ze=G.exec(Ce.toString());if(!ze)return;var _e=document.getElementById(ze[1]);if(_e){var ae=fe(_e,se);ae<lt+Ie&&ee.push({link:Ce,top:ae})}}),ee.length){var ke=ee.reduce(function(Ce,ze){return ze.top>Ce.top?ze:Ce});return ke.link}return""}}]),Te}(t.Component);ve.defaultProps={affix:!0,showInkInFixed:!1},ve.contextType=T.b;var Se=function(Ge){c()(Te,Ge);var pt=l()(Te);function Te(){var xe;return h()(this,Te),xe=pt.apply(this,arguments),xe.handleClick=function(lt){var Ie=xe.context,de=Ie.scrollTo,ee=Ie.onClick,se=xe.props,ke=se.href,Ce=se.title;ee&&ee(lt,{title:Ce,href:ke}),de(ke)},xe.renderAnchorLink=function(lt){var Ie=lt.getPrefixCls,de=xe.props,ee=de.prefixCls,se=de.href,ke=de.title,Ce=de.children,ze=de.className,_e=de.target,ae=Ie("anchor",ee),me=xe.context.activeLink===se,Oe=m()(ze,"".concat(ae,"-link"),p()({},"".concat(ae,"-link-active"),me)),Ze=m()("".concat(ae,"-link-title"),p()({},"".concat(ae,"-link-title-active"),me));return t.createElement("div",{className:Oe},t.createElement("a",{className:Ze,href:se,title:typeof ke=="string"?ke:"",target:_e,onClick:xe.handleClick},ke),Ce)},xe}return o()(Te,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(lt){var Ie=lt.href,de=this.props.href;Ie!==de&&(this.context.unregisterLink(Ie),this.context.registerLink(de))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderAnchorLink)}}]),Te}(t.Component);Se.defaultProps={href:"#"},Se.contextType=X;var ge=Se;ve.Link=ge;var Pe=I.a=ve},JuEJ:function(D,I,e){var g=e("bYtY"),f=e("4NO4"),y=g.each,p=g.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var s=t&&t.itemStyle;if(!s)return;for(var d=0,m=v.length;d<m;d++){var w=v[d],b=s.normal,E=s.emphasis;b&&b[w]&&(t[w]=t[w]||{},t[w].normal?g.merge(t[w].normal,b[w]):t[w].normal=b[w],b[w]=null),E&&E[w]&&(t[w]=t[w]||{},t[w].emphasis?g.merge(t[w].emphasis,E[w]):t[w].emphasis=E[w],E[w]=null)}}function u(t,s,d){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var m=t[s].normal,w=t[s].emphasis;m&&(d?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],m)):t[s]=m),w&&(t.emphasis=t.emphasis||{},t.emphasis[s]=w)}}function o(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function i(t,s){var d=p(t)&&t[s],m=p(d)&&d.textStyle;if(m)for(var w=0,b=f.TEXT_STYLE_OPTIONS.length;w<b;w++){var s=f.TEXT_STYLE_OPTIONS[w];m.hasOwnProperty(s)&&(d[s]=m[s])}}function r(t){t&&(o(t),i(t,"label"),t.emphasis&&i(t.emphasis,"label"))}function a(t){if(!p(t))return;h(t),o(t),i(t,"label"),i(t,"upperLabel"),i(t,"edgeLabel"),t.emphasis&&(i(t.emphasis,"label"),i(t.emphasis,"upperLabel"),i(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(h(s),r(s));var d=t.markLine;d&&(h(d),r(d));var m=t.markArea;m&&r(m);var w=t.data;if(t.type==="graph"){w=w||t.nodes;var b=t.links||t.edges;if(b&&!g.isTypedArray(b))for(var E=0;E<b.length;E++)r(b[E]);g.each(t.categories,function(T){o(T)})}if(w&&!g.isTypedArray(w))for(var E=0;E<w.length;E++)r(w[E]);var s=t.markPoint;if(s&&s.data)for(var A=s.data,E=0;E<A.length;E++)r(A[E]);var d=t.markLine;if(d&&d.data)for(var S=d.data,E=0;E<S.length;E++)g.isArray(S[E])?(r(S[E][0]),r(S[E][1])):r(S[E]);t.type==="gauge"?(i(t,"axisLabel"),i(t,"title"),i(t,"detail")):t.type==="treemap"?(u(t.breadcrumb,"itemStyle"),g.each(t.levels,function(T){o(T)})):t.type==="tree"&&o(t.leaves)}function c(t){return g.isArray(t)?t:t?[t]:[]}function n(t){return(g.isArray(t)?t[0]:t)||{}}function l(t,s){y(c(t.series),function(m){p(m)&&a(m)});var d=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&d.push("valueAxis","categoryAxis","logAxis","timeAxis"),y(d,function(m){y(c(t[m]),function(w){w&&(i(w,"axisLabel"),i(w.axisPointer,"label"))})}),y(c(t.parallel),function(m){var w=m&&m.parallelAxisDefault;i(w,"axisLabel"),i(w&&w.axisPointer,"label")}),y(c(t.calendar),function(m){u(m,"itemStyle"),i(m,"dayLabel"),i(m,"monthLabel"),i(m,"yearLabel")}),y(c(t.radar),function(m){i(m,"name")}),y(c(t.geo),function(m){p(m)&&(r(m),y(c(m.regions),function(w){r(w)}))}),y(c(t.timeline),function(m){r(m),u(m,"label"),u(m,"itemStyle"),u(m,"controlStyle",!0);var w=m.data;g.isArray(w)&&g.each(w,function(b){g.isObject(b)&&(u(b,"label"),u(b,"itemStyle"))})}),y(c(t.toolbox),function(m){u(m,"iconStyle"),y(m.feature,function(w){u(w,"iconStyle")})}),i(n(t.axisPointer),"label"),i(n(t.tooltip).axisPointer,"label")}D.exports=l},K2GJ:function(D,I,e){var g=e("fW2E"),f=e("gut8"),y=f.ContextCachedBy,p=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(n){this.extendFrom(n,!1)};function h(c,n,l){var t=n.x==null?0:n.x,s=n.x2==null?1:n.x2,d=n.y==null?0:n.y,m=n.y2==null?0:n.y2;n.global||(t=t*l.width+l.x,s=s*l.width+l.x,d=d*l.height+l.y,m=m*l.height+l.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,d=isNaN(d)?0:d,m=isNaN(m)?0:m;var w=c.createLinearGradient(t,d,s,m);return w}function u(c,n,l){var t=l.width,s=l.height,d=Math.min(t,s),m=n.x==null?.5:n.x,w=n.y==null?.5:n.y,b=n.r==null?.5:n.r;n.global||(m=m*t+l.x,w=w*s+l.y,b=b*d);var E=c.createRadialGradient(m,w,0,m,w,b);return E}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(n,l,t){var s=this,d=t&&t.style,m=!d||n.__attrCachedBy!==y.STYLE_BIND;n.__attrCachedBy=y.STYLE_BIND;for(var w=0;w<p.length;w++){var b=p[w],E=b[0];(m||s[E]!==d[E])&&(n[E]=g(n,E,s[E]||b[1]))}if((m||s.fill!==d.fill)&&(n.fillStyle=s.fill),(m||s.stroke!==d.stroke)&&(n.strokeStyle=s.stroke),(m||s.opacity!==d.opacity)&&(n.globalAlpha=s.opacity==null?1:s.opacity),(m||s.blend!==d.blend)&&(n.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var A=s.lineWidth;n.lineWidth=A/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,l){if(n)for(var t in n)n.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,l){typeof n=="string"?this[n]=l:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,l,t){for(var s=l.type==="radial"?u:h,d=s(n,l,t),m=l.colorStops,w=0;w<m.length;w++)d.addColorStop(m[w].offset,m[w].color);return d}};for(var o=v.prototype,i=0;i<p.length;i++){var r=p[i];r[0]in o||(o[r[0]]=r[1])}v.getGradient=o.getGradient;var a=v;D.exports=a},K4ya:function(D,I,e){var g=e("bYtY"),f=e("XxSj"),y=g.each;function p(i){if(i){for(var r in i)if(i.hasOwnProperty(r))return!0}}function v(i,r,a){var c={};return y(r,function(l){var t=c[l]=n();y(i[l],function(s,d){if(!f.isValidType(d))return;var m={type:d,visual:s};a&&a(m,l),t[d]=new f(m),d==="opacity"&&(m=g.clone(m),m.type="colorAlpha",t.__hidden.__alphaForOpacity=new f(m))})}),c;function n(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function h(i,r,a){var c;g.each(a,function(n){r.hasOwnProperty(n)&&p(r[n])&&(c=!0)}),c&&g.each(a,function(n){r.hasOwnProperty(n)&&p(r[n])?i[n]=g.clone(r[n]):delete i[n]})}function u(i,r,a,c,n,l){var t={};g.each(i,function(b){var E=f.prepareVisualTypes(r[b]);t[b]=E});var s;function d(b){return a.getItemVisual(s,b)}function m(b,E){a.setItemVisual(s,b,E)}l==null?a.each(w):a.each([l],w);function w(b,E){s=l==null?b:E;var A=a.getRawDataItem(s);if(A&&A.visualMap===!1)return;for(var S=c.call(n,b),T=r[S],O=t[S],x=0,C=O.length;x<C;x++){var _=O[x];T[_]&&T[_].applyVisual(b,d,m)}}}function o(i,r,a,c){var n={};g.each(i,function(t){var s=f.prepareVisualTypes(r[t]);n[t]=s});function l(t,s){c!=null&&(c=s.getDimension(c));function d(_){return s.getItemVisual(w,_)}function m(_,N){s.setItemVisual(w,_,N)}for(var w;(w=t.next())!=null;){var b=s.getRawDataItem(w);if(b&&b.visualMap===!1)continue;for(var E=c!=null?s.get(c,w,!0):w,A=a(E),S=r[A],T=n[A],O=0,x=T.length;O<x;O++){var C=T[O];S[C]&&S[C].applyVisual(E,d,m)}}}return{progress:l}}I.createVisualMappings=v,I.replaceVisualOption=h,I.applyVisual=u,I.incrementalApplyVisual=o},KCY9:function(D,I,e){},KCsZ:function(D,I,e){var g=e("bYtY");function f(y){for(var p=0;p<y.length;p++)y[p][1]||(y[p][1]=y[p][0]);return function(v,h,u){for(var o={},i=0;i<y.length;i++){var r=y[i][1];if(h&&g.indexOf(h,r)>=0||u&&g.indexOf(u,r)<0)continue;var a=v.getShallow(r);a!=null&&(o[y[i][0]]=a)}return o}}D.exports=f},KMkd:function(D,I){function e(){this.__data__=[],this.size=0}D.exports=e},KPFz:function(D,I,e){},KQeH:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},KS52:function(D,I,e){var g=e("OELB"),f=g.parsePercent,y=g.linearMap,p=e("+TT/"),v=e("u3DP"),h=e("bYtY"),u=Math.PI*2,o=Math.PI/180;function i(a,c){return p.getLayoutRect(a.getBoxLayoutParams(),{width:c.getWidth(),height:c.getHeight()})}function r(a,c,n,l){c.eachSeriesByType(a,function(t){var s=t.getData(),d=s.mapDimension("value"),m=i(t,n),w=t.get("center"),b=t.get("radius");h.isArray(b)||(b=[0,b]),h.isArray(w)||(w=[w,w]);var E=f(m.width,n.getWidth()),A=f(m.height,n.getHeight()),S=Math.min(E,A),T=f(w[0],E)+m.x,O=f(w[1],A)+m.y,x=f(b[0],S/2),C=f(b[1],S/2),_=-t.get("startAngle")*o,N=t.get("minAngle")*o,F=0;s.each(d,function(X){!isNaN(X)&&F++});var k=s.getSum(d),P=Math.PI/(k||F)*2,j=t.get("clockwise"),K=t.get("roseType"),R=t.get("stillShowZeroSum"),B=s.getDataExtent(d);B[0]=0;var U=u,H=0,W=_,V=j?1:-1;if(s.each(d,function(X,q){var fe;if(isNaN(X)){s.setItemLayout(q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:j,cx:T,cy:O,r0:x,r:K?NaN:C,viewRect:m});return}K!=="area"?fe=k===0&&R?P:X*P:fe=u/F,fe<N?(fe=N,U-=N):H+=X;var G=W+V*fe;s.setItemLayout(q,{angle:fe,startAngle:W,endAngle:G,clockwise:j,cx:T,cy:O,r0:x,r:K?y(X,B,[x,C]):C,viewRect:m}),W=G}),U<u&&F)if(U<=.001){var z=u/F;s.each(d,function(X,q){if(!isNaN(X)){var fe=s.getItemLayout(q);fe.angle=z,fe.startAngle=_+V*q*z,fe.endAngle=_+V*(q+1)*z}})}else P=U/H,W=_,s.each(d,function(X,q){if(!isNaN(X)){var fe=s.getItemLayout(q),G=fe.angle===N?N:X*P;fe.startAngle=W,fe.endAngle=W+V*G,W+=V*G}});v(t,C,m.width,m.height,m.x,m.y)})}D.exports=r},KUOm:function(D,I){function e(g){var f={};g.eachSeriesByType("graph",function(y){var p=y.getCategoriesData(),v=y.getData(),h={};p.each(function(u){var o=p.getName(u);h["ec-"+o]=u;var i=p.getItemModel(u),r=i.get("itemStyle.color")||y.getColorFromPalette(o,f);p.setItemVisual(u,"color",r);for(var a=["opacity","symbol","symbolSize","symbolKeepAspect"],c=0;c<a.length;c++){var n=i.getShallow(a[c],!0);n!=null&&p.setItemVisual(u,a[c],n)}}),p.count()&&v.each(function(u){var o=v.getItemModel(u),i=o.getShallow("category");if(i!=null){typeof i=="string"&&(i=h["ec-"+i]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],a=0;a<r.length;a++)v.getItemVisual(u,r[a],!0)==null&&v.setItemVisual(u,r[a],p.getItemVisual(i,r[a]))}})})}D.exports=e},Kagy:function(D,I){var e={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:""}}}};D.exports=e},KamJ:function(D,I,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),g.registerPreprocessor(f)},KmBX:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("CP8R")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="FilterFilled";var u=y.forwardRef(h);I.default=u},"KpQ+":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("E/ki")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="ClockCircleOutlined";var u=y.forwardRef(h);I.default=u},KrTs:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("cDf5"),p=e.n(y),v=e("pVnL"),h=e.n(v),u=e("q1tI"),o=e("UmKh"),i=e("TSYQ"),r=e.n(i),a=e("J4zp"),c=e.n(a),n=e("H84U"),l=e("0n0R"),t=function(C,_){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&_.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)_.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N};function s(C){return C?C.toString().split("").reverse().map(function(_){var N=Number(_);return isNaN(N)?_:N}):[]}function d(C,_){for(var N=[],F=0;F<30;F++)N.push(u.createElement("p",{key:F.toString(),className:r()(_,{current:C===F})},F%10));return N}var m=function(_){var N=_.prefixCls,F=_.count,k=_.className,P=_.style,j=_.title,K=_.component,R=K===void 0?"sup":K,B=_.displayComponent,U=_.onAnimated,H=U===void 0?function(){}:U,W=t(_,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=u.useState(!0),z=c()(V,2),X=z[0],q=z[1],fe=u.useState(F),G=c()(fe,2),ve=G[0],Se=G[1],ge=u.useState(F),Pe=c()(ge,2),Ge=Pe[0],pt=Pe[1],Te=u.useState(F),xe=c()(Te,2),lt=xe[0],Ie=xe[1],de=u.useContext(n.b),ee=de.getPrefixCls,se=ee("scroll-number",N);Ge!==F&&(q(!0),pt(F)),u.useEffect(function(){Ie(ve);var ae;return X&&(ae=setTimeout(function(){q(!1),Se(F),H()})),function(){ae&&clearTimeout(ae)}},[X,F,H]);var ke=function(me,Oe){var Ze=Math.abs(Number(ve)),vt=Math.abs(Number(lt)),Ct=Math.abs(s(ve)[Oe]),Be=Math.abs(s(vt)[Oe]);return X?10+me:Ze>vt?Ct>=Be?10+me:20+me:Ct<=Be?10+me:me},Ce=function(me,Oe){if(typeof me=="number"){var Ze=ke(me,Oe),vt=X||s(lt)[Oe]===void 0;return u.createElement("span",{className:"".concat(se,"-only"),style:{transition:vt?"none":void 0,msTransform:"translateY(".concat(-Ze*100,"%)"),WebkitTransform:"translateY(".concat(-Ze*100,"%)"),transform:"translateY(".concat(-Ze*100,"%)")},key:Oe},d(Ze,"".concat(se,"-only-unit")))}return u.createElement("span",{key:"symbol",className:"".concat(se,"-symbol")},me)},ze=function(){return ve&&Number(ve)%1===0?s(ve).map(function(me,Oe){return Ce(me,Oe)}).reverse():ve},_e=h()(h()({},W),{style:P,className:r()(se,k),title:j});return P&&P.borderColor&&(_e.style=h()(h()({},P),{boxShadow:"0 0 0 1px ".concat(P.borderColor," inset")})),B?Object(l.a)(B,{className:r()("".concat(se,"-custom-component"),B.props&&B.props.className)}):u.createElement(R,_e,ze())},w=m,b=e("09Wf");function E(C){return b.a.indexOf(C)!==-1}var A=function(_){var N,F=_.className,k=_.prefixCls,P=_.style,j=_.color,K=_.children,R=_.text,B=_.placement,U=B===void 0?"end":B,H=u.useContext(n.b),W=H.getPrefixCls,V=H.direction,z=W("ribbon",k),X=E(j),q=r()(z,F,"".concat(z,"-placement-").concat(U),(N={},f()(N,"".concat(z,"-rtl"),V==="rtl"),f()(N,"".concat(z,"-color-").concat(j),X),N)),fe={},G={};return j&&!X&&(fe.background=j,G.color=j),u.createElement("div",{className:"".concat(z,"-wrapper")},K,u.createElement("div",{className:q,style:h()(h()({},fe),P)},R,u.createElement("div",{className:"".concat(z,"-corner"),style:G})))},S=A,T=function(C,_){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&_.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)_.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N},O=function(_){var N,F,k=_.prefixCls,P=_.scrollNumberPrefixCls,j=_.children,K=_.status,R=_.text,B=_.color,U=_.count,H=U===void 0?null:U,W=_.overflowCount,V=W===void 0?99:W,z=_.dot,X=z===void 0?!1:z,q=_.size,fe=q===void 0?"default":q,G=_.title,ve=_.offset,Se=_.style,ge=_.className,Pe=_.showZero,Ge=Pe===void 0?!1:Pe,pt=T(_,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),Te=u.useContext(n.b),xe=Te.getPrefixCls,lt=Te.direction,Ie=xe("badge",k),de=function(){var Ye=H>V?"".concat(V,"+"):H;return Ye},ee=function(){return!!K||!!B},se=function(){var Ye=de();return Ye==="0"||Ye===0},ke=function(){return X&&!se()||ee()},Ce=function(){return ke()?"":de()},ze=function(){return G||(typeof H=="string"||typeof H=="number"?H:void 0)},_e=function(){return lt==="rtl"?ve?h()({left:parseInt(ve[0],10),marginTop:ve[1]},Se):Se:ve?h()({right:-parseInt(ve[0],10),marginTop:ve[1]},Se):Se},ae=function(){var Ye=Ce(),et=Ye==null||Ye==="";return(et||se()&&!Ge)&&!ke()},me=function(){var Ye=ae();return Ye||!R?null:u.createElement("span",{className:"".concat(Ie,"-status-text")},R)},Oe=function(){var Ye=H;return!Ye||p()(Ye)!=="object"?void 0:Object(l.a)(Ye,{style:h()(h()({},_e()),Ye.props&&Ye.props.style)})},Ze=function(){var Ye,et=xe("scroll-number",P),rt=Ce(),st=ke(),Ve=ae(),ie=r()((Ye={},f()(Ye,"".concat(Ie,"-dot"),st),f()(Ye,"".concat(Ie,"-count"),!st),f()(Ye,"".concat(Ie,"-count-sm"),fe==="small"),f()(Ye,"".concat(Ie,"-multiple-words"),!st&&H&&H.toString&&H.toString().length>1),f()(Ye,"".concat(Ie,"-status-").concat(K),!!K),f()(Ye,"".concat(Ie,"-status-").concat(B),E(B)),Ye)),$=_e();return B&&!E(B)&&($=$||{},$.background=B),Ve?null:u.createElement(w,{prefixCls:et,"data-show":!Ve,className:ie,count:rt,displayComponent:Oe(),title:ze(),style:$,key:"scrollNumber"})},vt=r()((N={},f()(N,"".concat(Ie,"-status-dot"),ee()),f()(N,"".concat(Ie,"-status-").concat(K),!!K),f()(N,"".concat(Ie,"-status-").concat(B),E(B)),N)),Ct={};B&&!E(B)&&(Ct.background=B);var Be=r()(ge,Ie,(F={},f()(F,"".concat(Ie,"-status"),ee()),f()(F,"".concat(Ie,"-not-a-wrapper"),!j),f()(F,"".concat(Ie,"-rtl"),lt==="rtl"),F));if(!j&&ee()){var Rt=_e(),He=Rt&&Rt.color;return u.createElement("span",h()({},pt,{className:Be,style:Rt}),u.createElement("span",{className:vt,style:Ct}),u.createElement("span",{style:{color:He},className:"".concat(Ie,"-status-text")},R))}return u.createElement("span",h()({},pt,{className:Be}),j,u.createElement(o.a,{component:"",showProp:"data-show",transitionName:j?"".concat(Ie,"-zoom"):"",transitionAppear:!0},Ze()),me())};O.Ribbon=S;var x=I.a=O},Kvyg:function(D,I,e){},KxBF:function(D,I){function e(g,f,y){var p=-1,v=g.length;f<0&&(f=-f>v?0:v+f),y=y>v?v:y,y<0&&(y+=v),v=f>y?0:y-f>>>0,f>>>=0;for(var h=Array(v);++p<v;)h[p]=g[p+f];return h}D.exports=e},KxFI:function(D,I,e){},KxfA:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.isTypedArray,v=y.extend,h=y.assert,u=y.each,o=y.isObject,i=e("4NO4"),r=i.getDataItemValue,a=i.isDataItemOption,c=e("OELB"),n=c.parseDate,l=e("7G+c"),t=e("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,d=t.SOURCE_FORMAT_ARRAY_ROWS,m=t.SOURCE_FORMAT_ORIGINAL,w=t.SOURCE_FORMAT_OBJECT_ROWS;function b(j,K){l.isInstance(j)||(j=l.seriesDataToSource(j)),this._source=j;var R=this._data=j.data,B=j.sourceFormat;B===s&&(this._offset=0,this._dimSize=K,this._data=R);var U=A[B===d?B+"_"+j.seriesLayoutBy:B];v(this,U)}var E=b.prototype;E.pure=!1,E.persistent=!0,E.getSource=function(){return this._source};var A={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:O},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 K=[],R=this._data,B=0;B<R.length;B++){var U=R[B];K.push(U?U[j]:null)}return K},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:S,getItem:T,appendData:O},keyedColumns:{pure:!0,count:function(){var j=this._source.dimensionsDefine[0].name,K=this._data[j];return K?K.length:0},getItem:function(j){for(var K=[],R=this._source.dimensionsDefine,B=0;B<R.length;B++){var U=this._data[R[B].name];K.push(U?U[j]:null)}return K},appendData:function(j){var K=this._data;u(j,function(R,B){for(var U=K[B]||(K[B]=[]),H=0;H<(R||[]).length;H++)U.push(R[H])})}},original:{count:S,getItem:T,appendData:O},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(j,K){j=j-this._offset,K=K||[];for(var R=this._dimSize*j,B=0;B<this._dimSize;B++)K[B]=this._data[R+B];return K},appendData:function(j){this._data=j},clean:function(){this._offset+=this.count(),this._data=null}}};function S(){return this._data.length}function T(j){return this._data[j]}function O(j){for(var K=0;K<j.length;K++)this._data.push(j[K])}var x={arrayRows:C,objectRows:function(j,K,R,B){return R!=null?j[B]:j},keyedColumns:C,original:function(j,K,R,B){var U=r(j);return R==null||!(U instanceof Array)?U:U[R]},typedArray:C};function C(j,K,R,B){return R!=null?j[R]:j}var _={arrayRows:N,objectRows:function(j,K,R,B){return F(j[K],this._dimensionInfos[K])},keyedColumns:N,original:function(j,K,R,B){var U=j&&(j.value==null?j:j.value);return!this._rawData.pure&&a(j)&&(this.hasItemOption=!0),F(U instanceof Array?U[B]:U,this._dimensionInfos[K])},typedArray:function(j,K,R,B){return j[B]}};function N(j,K,R,B){return F(j[B],this._dimensionInfos[K])}function F(j,K){var R=K&&K.type;if(R==="ordinal"){var B=K&&K.ordinalMeta;return B?B.parseAndCollect(j):j}return R==="time"&&typeof j!="number"&&j!=null&&j!=="-"&&(j=+n(j)),j==null||j===""?NaN:+j}function k(j,K,R){if(!j)return;var B=j.getRawDataItem(K);if(B==null)return;var U=j.getProvider().getSource().sourceFormat,H,W,V=j.getDimensionInfo(R);return V&&(H=V.name,W=V.index),x[U](B,K,W,H)}function P(j,K,R){if(!j)return;var B=j.getProvider().getSource().sourceFormat;if(B!==m&&B!==w)return;var U=j.getRawDataItem(K);if(B===m&&!o(U)&&(U=null),U)return U[R]}I.DefaultDataProvider=b,I.defaultDimValueGetters=_,I.retrieveRawValue=k,I.retrieveRawAttr=P},L0Ub:function(D,I,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,p=g.assert,v=e("Tghj"),h=v.__DEV__,u=y(["tooltip","label","itemName","itemId","seriesName"]);function o(c){var n={},l=n.encode={},t=y(),s=[],d=[],m=n.userOutput={dimensionNames:c.dimensions.slice(),encode:{}};f(c.dimensions,function(S){var T=c.getDimensionInfo(S),O=T.coordDim;if(O){var x=T.coordDimIndex;i(l,O)[x]=S,T.isExtraCoord||(t.set(O,1),a(T.type)&&(s[0]=S),i(m.encode,O)[x]=T.index),T.defaultTooltip&&d.push(S)}u.each(function(C,_){var N=i(l,_),F=T.otherDims[_];F!=null&&F!==!1&&(N[F]=T.name)})});var w=[],b={};t.each(function(S,T){var O=l[T];b[T]=O[0],w=w.concat(O)}),n.dataDimsOnCoord=w,n.encodeFirstDimNotExtra=b;var E=l.label;E&&E.length&&(s=E.slice());var A=l.tooltip;return A&&A.length?d=A.slice():d.length||(d=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=d,n}function i(c,n){return c.hasOwnProperty(n)||(c[n]=[]),c[n]}function r(c){return c==="category"?"ordinal":c==="time"?"time":"float"}function a(c){return!(c==="ordinal"||c==="time")}I.OTHER_DIMENSIONS=u,I.summarizeDimensions=o,I.getDimensionTypeByAxis=r},L3Oj:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(y,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(D,I){var e=["itemStyle","borderColor"];function g(f,y){var p=f.get("color");f.eachRawSeriesByType("boxplot",function(v){var h=p[v.seriesIndex%p.length],u=v.getData();u.setVisual({legendSymbol:"roundRect",color:v.get(e)||h}),f.isSeriesFiltered(v)||u.each(function(o){var i=u.getItemModel(o);u.setItemVisual(o,{color:i.get(e,!0)})})})}D.exports=g},L8xA:function(D,I){function e(g){var f=this.__data__,y=f.delete(g);return this.size=f.size,y}D.exports=e},LBfv:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=f.createHashMap,p=f.each;g.registerProcessor({getTargetSeries:function(v){var h=y();return v.eachComponent("dataZoom",function(u){u.eachTargetAxis(function(o,i,r){var a=r.getAxisProxy(o.name,i);p(a.getTargetSeriesModels(),function(c){h.set(c.uid,c)})})}),h},modifyOutputEnd:!0,overallReset:function(v,h){v.eachComponent("dataZoom",function(u){u.eachTargetAxis(function(o,i,r){r.getAxisProxy(o.name,i).reset(r,h)}),u.eachTargetAxis(function(o,i,r){r.getAxisProxy(o.name,i).filterData(r,h)})}),v.eachComponent("dataZoom",function(u){var o=u.findRepresentativeAxisProxy(),i=o.getDataPercentWindow(),r=o.getDataValueWindow();u.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function f(b,E){for(var A=0;A<E.length;A++){var S=E[A];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(b,S.key,S)}}function y(b,E,A){return E&&f(b.prototype,E),A&&f(b,A),b}var p=0,v=1,h=2,u=4,o=8,i=16,r=32,a=64,c=127,n=50,l=90,t=250,s=1e3,d=1e3,m=50,w=function(){function b(){g(this,b),this._target=null,this._state=c,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return y(b,[{key:"attach",value:function(A){this.detach(),this._target=A,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(A){var S;A.stopPropagation(),A.preventDefault();switch(A.type){case"touchstart":S=this._touchStart;break;case"touchmove":S=this._touchMove;break;case"touchend":case"touchcancel":S=this._touchEnd;break}for(var T=0;T<A.changedTouches.length;T++){var O=A.changedTouches[T];S.call(this,O.identifier,O.clientX,O.clientY)}}},{key:"_touchStart",value:function(A,S,T){if(this._hasDetectedGesture()||this._state===p){this._ignored.push(A);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=p,this._ignored.push(A);return}if(this._waitingRelease){this._state=p,this._ignored.push(A);return}this._tracked.push({id:A,started:Date.now(),active:!0,firstX:S,firstY:T,lastX:S,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|o|i),this._stopLongpressTimeout();break;case 3:this._state&=~(h|r|a);break;default:this._state=p}}},{key:"_touchMove",value:function(A,S,T){var O=this._tracked.find(function(k){return k.id===A});if(O===void 0)return;O.lastX=S,O.lastY=T;var x=S-O.firstX,C=T-O.firstY;if((O.firstX!==O.lastX||O.firstY!==O.lastY)&&(O.angle=Math.atan2(C,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,C)<n)return;if(this._state&=~(v|h|u|i),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~o),this._tracked.length!==2&&(this._state&=~(r|a)),this._tracked.length===2){var _=this._tracked.find(function(k){return k.id!==A}),N=Math.hypot(_.firstX-_.lastX,_.firstY-_.lastY);if(N>n){var F=Math.abs(O.angle-_.angle);F=Math.abs((F+180)%360-180),F>l?this._state&=~r: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(A,S,T){if(this._ignored.indexOf(A)!==-1){this._ignored.splice(this._ignored.indexOf(A),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=c,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=p),!this._hasDetectedGesture()&&(this._state&=~(o|r|a),this._state&=~i,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|u);break;case 2:this._state&=~(v|u);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=p),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=p);var O=this._tracked.find(function(C){return C.id===A});if(O.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(A)!==-1&&this._ignored.splice(this._ignored.indexOf(A),1),this._ignored.length===0&&(this._state=c,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===p||this._state&this._state-1?!1:!(this._state&(v|h|u)&&this._tracked.some(function(A){return A.active}))}},{key:"_startLongpressTimeout",value:function(){var A=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return A._longpressTimeout()},d)}},{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=i,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var A=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return A._twoTouchTimeout()},m)}},{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 A=this._getAverageMovement(),S=Math.abs(A.x),T=Math.abs(A.y),O=this._getAverageDistance(),x=Math.abs(Math.hypot(O.first.x,O.first.y)-Math.hypot(O.last.x,O.last.y));T<x&&S<x?this._state=a:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(A){var S={type:this._stateToGesture(this._state)},T=this._getPosition(),O=T.last;A==="gesturestart"&&(O=T.first);switch(this._state){case r:case a:O=T.first;break}if(S.clientX=O.x,S.clientY=O.y,this._state===a){var x=this._getAverageDistance();A==="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===r)if(A==="gesturestart")S.magnitudeX=0,S.magnitudeY=0;else{var C=this._getAverageMovement();S.magnitudeX=C.x,S.magnitudeY=C.y}var _=new CustomEvent(A,{detail:S});this._target.dispatchEvent(_)}},{key:"_stateToGesture",value:function(A){switch(A){case v:return"onetap";case h:return"twotap";case u:return"threetap";case o:return"drag";case i:return"longpress";case r:return"twodrag";case a:return"pinch"}throw new Error("Unknown gesture state: "+A)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var A=this._tracked.length,S=0,T=0,O=0,x=0,C=0;C<this._tracked.length;C++)S+=this._tracked[C].firstX,T+=this._tracked[C].firstY,O+=this._tracked[C].lastX,x+=this._tracked[C].lastY;return{first:{x:S/A,y:T/A},last:{x:O/A,y:x/A}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var A,S;A=S=0;for(var T=this._tracked.length,O=0;O<this._tracked.length;O++)A+=this._tracked[O].lastX-this._tracked[O].firstX,S+=this._tracked[O].lastY-this._tracked[O].firstY;return{x:A/T,y:S/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var A=this._tracked[0],S=this._tracked[this._tracked.length-1],T=Math.abs(S.firstX-A.firstX),O=Math.abs(S.firstY-A.firstY),x=Math.abs(S.lastX-A.lastX),C=Math.abs(S.lastY-A.lastY);return{first:{x:T,y:O},last:{x,y:C}}}}]),b}();I.default=w},LPTA:function(D,I){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;I.debugMode=g,I.devicePixelRatio=f},LPzL:function(D,I,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g=function(){function c(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}return function(n,l,t){return l&&c(n.prototype,l),t&&c(n,t),n}}(),f=e("q1tI"),y=h(f),p=e("17x9"),v=h(p);function h(c){return c&&c.__esModule?c:{default:c}}function u(c,n){var l={};for(var t in c){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(c,t))continue;l[t]=c[t]}return l}function o(c,n){if(!(c instanceof n))throw new TypeError("Cannot call a class as a function")}function i(c,n){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:c}function r(c,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);c.prototype=Object.create(n&&n.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(c,n):c.__proto__=n)}var a=function(c){r(n,c);function n(l){o(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return g(n,[{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 t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,s={get passive(){t=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(d){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var s=window;this.props.useWindow===!1&&(s=t),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(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,s=window,d=this.getParentElement(t),m=void 0;if(this.props.useWindow){var w=document.documentElement||document.body.parentNode||document.body,b=s.pageYOffset!==void 0?s.pageYOffset:w.scrollTop;this.props.isReverse?m=b:m=this.calculateOffset(t,b)}else this.props.isReverse?m=d.scrollTop:m=t.scrollHeight-d.scrollTop-d.clientHeight;m<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=d.scrollHeight,this.beforeScrollTop=d.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,s){return t?this.calculateTopPosition(t)+(t.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,s=this.filterProps(this.props),d=s.children,m=s.element,w=s.hasMore,b=s.initialLoad,E=s.isReverse,A=s.loader,S=s.loadMore,T=s.pageStart,O=s.ref,x=s.threshold,C=s.useCapture,_=s.useWindow,N=s.getScrollParent,F=u(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(P){t.scrollComponent=P,O&&O(P)};var k=[d];return w&&(A?E?k.unshift(A):k.push(A):this.defaultLoader&&(E?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),y.default.createElement(m,F,k)}}]),n}(f.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},I.default=a,D.exports=I.default},LXxW:function(D,I){function e(g,f){for(var y=-1,p=g==null?0:g.length,v=0,h=[];++y<p;){var u=g[y];f(u,y,g)&&(h[v++]=u)}return h}D.exports=e},Lerx:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Mds0"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},Llu2:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="DeliveredProcedureOutlined";var h=I.a=g.forwardRef(v)},Lo0S:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.initLogging=h,I.getLogging=u,I.Error=I.Warn=I.Info=I.Debug=void 0;var g="warn",f=function(){};I.Debug=f;var y=function(){};I.Info=y;var p=function(){};I.Warn=p;var v=function(){};I.Error=v;function h(o){if(typeof o=="undefined"?o=g:g=o,I.Debug=f=I.Info=y=I.Warn=p=I.Error=v=function(){},typeof window.console!="undefined")switch(o){case"debug":I.Debug=f=console.debug.bind(window.console);case"info":I.Info=y=console.info.bind(window.console);case"warn":I.Warn=p=console.warn.bind(window.console);case"error":I.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+o+"'")}}function u(){return g}h()},LtfV:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="InboxOutlined";var h=I.a=g.forwardRef(v)},Lyp1:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="QuestionCircleOutlined";var h=I.a=g.forwardRef(v)},LzGr:function(D,I,e){var g=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),g.registerPreprocessor(f)},MBQ8:function(D,I,e){var g=e("T4UG"),f=e("MwEJ"),y=g.extend({type:"series.__base_bar__",getInitialData:function(p,v){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(p){var v=this.coordinateSystem;if(v){var h=v.dataToPoint(v.clampData(p)),u=this.getData(),o=u.getLayout("offset"),i=u.getLayout("size"),r=v.getBaseAxis().isHorizontal()?0:1;return h[r]+=o+i/2,h}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:{}}});D.exports=y},MEGo:function(D,I,e){var g=e("4fz+"),f=e("Dagg"),y=e("dqUG"),p=e("2fw6"),v=e("x6Kt"),h=e("rmlV"),u=e("yxFR"),o=e("y+Vt"),i=e("h7HQ"),r=e("1Jh7"),a=e("SKnc"),c=e("K2GJ"),n=e("Fofx"),l=e("NC18"),t=l.createFromString,s=e("bYtY"),d=s.isString,m=s.extend,w=s.defaults,b=s.trim,E=s.each,A=/[\s,]+/;function S(V){if(d(V)){var z=new DOMParser;V=z.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(V,z){z=z||{};var X=S(V);if(!X)throw new Error("Illegal svg");var q=new g;this._root=q;var fe=X.getAttribute("viewBox")||"",G=parseFloat(X.getAttribute("width")||z.width),ve=parseFloat(X.getAttribute("height")||z.height);isNaN(G)&&(G=null),isNaN(ve)&&(ve=null),k(X,q,null,!0);for(var Se=X.firstChild;Se;)this._parseNode(Se,q),Se=Se.nextSibling;var ge,Pe;if(fe){var Ge=b(fe).split(A);Ge.length>=4&&(ge={x:parseFloat(Ge[0]||0),y:parseFloat(Ge[1]||0),width:parseFloat(Ge[2]),height:parseFloat(Ge[3])})}if(ge&&G!=null&&ve!=null&&(Pe=H(ge,G,ve),!z.ignoreViewBox)){var pt=q;q=new g,q.add(pt),pt.scale=Pe.scale.slice(),pt.position=Pe.position.slice()}return!z.ignoreRootClip&&G!=null&&ve!=null&&q.setClipPath(new v({shape:{x:0,y:0,width:G,height:ve}})),{root:q,width:G,height:ve,viewBoxRect:ge,viewBoxTransform:Pe}},T.prototype._parseNode=function(V,z){var X=V.nodeName.toLowerCase();X==="defs"?this._isDefine=!0:X==="text"&&(this._isText=!0);var q;if(this._isDefine){var fe=x[X];if(fe){var G=fe.call(this,V),ve=V.getAttribute("id");ve&&(this._defs[ve]=G)}}else{var fe=O[X];fe&&(q=fe.call(this,V,z),z.add(q))}for(var Se=V.firstChild;Se;)Se.nodeType===1&&this._parseNode(Se,q),Se.nodeType===3&&this._isText&&this._parseText(Se,q),Se=Se.nextSibling;X==="defs"?this._isDefine=!1:X==="text"&&(this._isText=!1)},T.prototype._parseText=function(V,z){if(V.nodeType===1){var X=V.getAttribute("dx")||0,q=V.getAttribute("dy")||0;this._textX+=parseFloat(X),this._textY+=parseFloat(q)}var fe=new y({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});_(z,fe),k(V,fe,this._defs);var G=fe.style.fontSize;G&&G<9&&(fe.style.fontSize=9,fe.scale=fe.scale||[1,1],fe.scale[0]*=G/9,fe.scale[1]*=G/9);var ve=fe.getBoundingRect();return this._textX+=ve.width,z.add(fe),fe};var O={g:function(z,X){var q=new g;return _(X,q),k(z,q,this._defs),q},rect:function(z,X){var q=new v;return _(X,q),k(z,q,this._defs),q.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),q},circle:function(z,X){var q=new p;return _(X,q),k(z,q,this._defs),q.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),q},line:function(z,X){var q=new u;return _(X,q),k(z,q,this._defs),q.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),q},ellipse:function(z,X){var q=new h;return _(X,q),k(z,q,this._defs),q.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),q},polygon:function(z,X){var q=z.getAttribute("points");q&&(q=N(q));var fe=new i({shape:{points:q||[]}});return _(X,fe),k(z,fe,this._defs),fe},polyline:function(z,X){var q=new o;_(X,q),k(z,q,this._defs);var fe=z.getAttribute("points");fe&&(fe=N(fe));var G=new r({shape:{points:fe||[]}});return G},image:function(z,X){var q=new f;return _(X,q),k(z,q,this._defs),q.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),q},text:function(z,X){var q=z.getAttribute("x")||0,fe=z.getAttribute("y")||0,G=z.getAttribute("dx")||0,ve=z.getAttribute("dy")||0;this._textX=parseFloat(q)+parseFloat(G),this._textY=parseFloat(fe)+parseFloat(ve);var Se=new g;return _(X,Se),k(z,Se,this._defs),Se},tspan:function(z,X){var q=z.getAttribute("x"),fe=z.getAttribute("y");q!=null&&(this._textX=parseFloat(q)),fe!=null&&(this._textY=parseFloat(fe));var G=z.getAttribute("dx")||0,ve=z.getAttribute("dy")||0,Se=new g;return _(X,Se),k(z,Se,this._defs),this._textX+=G,this._textY+=ve,Se},path:function(z,X){var q=z.getAttribute("d")||"",fe=t(q);return _(X,fe),k(z,fe,this._defs),fe}},x={lineargradient:function(z){var X=parseInt(z.getAttribute("x1")||0,10),q=parseInt(z.getAttribute("y1")||0,10),fe=parseInt(z.getAttribute("x2")||10,10),G=parseInt(z.getAttribute("y2")||0,10),ve=new a(X,q,fe,G);return C(z,ve),ve},radialgradient:function(z){}};function C(V,z){for(var X=V.firstChild;X;){if(X.nodeType===1){var q=X.getAttribute("offset");q.indexOf("%")>0?q=parseInt(q,10)/100:q?q=parseFloat(q):q=0;var fe=X.getAttribute("stop-color")||"#000000";z.addColorStop(q,fe)}X=X.nextSibling}}function _(V,z){V&&V.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),w(z.__inheritedStyle,V.__inheritedStyle))}function N(V){for(var z=b(V).split(A),X=[],q=0;q<z.length;q+=2){var fe=parseFloat(z[q]),G=parseFloat(z[q+1]);X.push([fe,G])}return X}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function k(V,z,X,q){var fe=z.__inheritedStyle||{},G=z.type==="text";if(V.nodeType===1&&(R(V,z),m(fe,U(V)),!q)){for(var ve in F)if(F.hasOwnProperty(ve)){var Se=V.getAttribute(ve);Se!=null&&(fe[F[ve]]=Se)}}var ge=G?"textFill":"fill",Pe=G?"textStroke":"stroke";z.style=z.style||new c;var Ge=z.style;fe.fill!=null&&Ge.set(ge,j(fe.fill,X)),fe.stroke!=null&&Ge.set(Pe,j(fe.stroke,X)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(pt){var Te=pt==="lineWidth"&&G?"textStrokeWidth":pt;fe[pt]!=null&&Ge.set(Te,parseFloat(fe[pt]))}),(!fe.textBaseline||fe.textBaseline==="auto")&&(fe.textBaseline="alphabetic"),fe.textBaseline==="alphabetic"&&(fe.textBaseline="bottom"),fe.textAlign==="start"&&(fe.textAlign="left"),fe.textAlign==="end"&&(fe.textAlign="right"),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(pt){fe[pt]!=null&&Ge.set(pt,fe[pt])}),fe.lineDash&&(z.style.lineDash=b(fe.lineDash).split(A)),Ge[Pe]&&Ge[Pe]!=="none"&&(z[Pe]=!0),z.__inheritedStyle=fe}var P=/url\(\s*#(.*?)\)/;function j(V,z){var X=z&&V&&V.match(P);if(X){var q=b(X[1]),fe=z[q];return fe}return V}var K=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(V,z){var X=V.getAttribute("transform");if(X){X=X.replace(/,/g," ");var q=null,fe=[];X.replace(K,function(ge,Pe,Ge){fe.push(Pe,Ge)});for(var G=fe.length-1;G>0;G-=2){var ve=fe[G],Se=fe[G-1];q=q||n.create();switch(Se){case"translate":ve=b(ve).split(A),n.translate(q,q,[parseFloat(ve[0]),parseFloat(ve[1]||0)]);break;case"scale":ve=b(ve).split(A),n.scale(q,q,[parseFloat(ve[0]),parseFloat(ve[1]||ve[0])]);break;case"rotate":ve=b(ve).split(A),n.rotate(q,q,parseFloat(ve[0]));break;case"skew":ve=b(ve).split(A),console.warn("Skew transform is not supported yet");break;case"matrix":var ve=b(ve).split(A);q[0]=parseFloat(ve[0]),q[1]=parseFloat(ve[1]),q[2]=parseFloat(ve[2]),q[3]=parseFloat(ve[3]),q[4]=parseFloat(ve[4]),q[5]=parseFloat(ve[5]);break}}z.setLocalTransform(q)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function U(V){var z=V.getAttribute("style"),X={};if(!z)return X;var q={};B.lastIndex=0;for(var fe;(fe=B.exec(z))!=null;)q[fe[1]]=fe[2];for(var G in F)F.hasOwnProperty(G)&&q[G]!=null&&(X[F[G]]=q[G]);return X}function H(V,z,X){var q=z/V.width,fe=X/V.height,G=Math.min(q,fe),ve=[G,G],Se=[-(V.x+V.width/2)*G+z/2,-(V.y+V.height/2)*G+X/2];return{scale:ve,position:Se}}function W(V,z){var X=new T;return X.parse(V,z)}I.parseXML=S,I.makeViewBoxTransform=H,I.parseSVG=W},MFOe:function(D,I,e){(function(g){var f=h(),y=u(),p=o(),v=typeof window!="undefined"?window:g;D.exports={assign:f,create:y,trim:p,bind:i,slice:r,each:a,map:c,pluck:n,isList:l,isFunction:t,isObject:s,Global:v};function h(){return Object.assign?Object.assign:function(m,w,b,E){for(var A=1;A<arguments.length;A++)a(Object(arguments[A]),function(S,T){m[T]=S});return m}}function u(){if(Object.create)return function(w,b,E,A){var S=r(arguments,1);return f.apply(this,[Object.create(w)].concat(S))};var d=function(){};return function(w,b,E,A){var S=r(arguments,1);return d.prototype=w,f.apply(this,[new d].concat(S))}}function o(){return String.prototype.trim?function(m){return String.prototype.trim.call(m)}:function(m){return m.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function i(d,m){return function(){return m.apply(d,Array.prototype.slice.call(arguments,0))}}function r(d,m){return Array.prototype.slice.call(d,m||0)}function a(d,m){n(d,function(w,b){return m(w,b),!1})}function c(d,m){var w=l(d)?[]:{};return n(d,function(b,E){return w[E]=m(b,E),!1}),w}function n(d,m){if(l(d)){for(var w=0;w<d.length;w++)if(m(d[w],w))return d[w]}else for(var b in d)if(d.hasOwnProperty(b)&&m(d[b],b))return d[b]}function l(d){return d!=null&&typeof d!="function"&&typeof d.length=="number"}function t(d){return d&&{}.toString.call(d)==="[object Function]"}function s(d){return d&&{}.toString.call(d)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(D,I,e){var g=e("bYtY"),f=e("YXkt"),y=e("OELB"),p=e("kj2x"),v=e("c8qY"),h=e("iPDy"),u=e("7hqr"),o=u.getStackedDimension,i=function(s,d,m,w){var b=s.getData(),E=w.type;if(!g.isArray(w)&&(E==="min"||E==="max"||E==="average"||E==="median"||w.xAxis!=null||w.yAxis!=null)){var A,S;if(w.yAxis!=null||w.xAxis!=null)A=d.getAxis(w.yAxis!=null?"y":"x"),S=g.retrieve(w.yAxis,w.xAxis);else{var T=p.getAxisInfo(w,b,d,s);A=T.valueAxis;var O=o(b,T.valueDataDim);S=p.numCalculate(b,O,E)}var x=A.dim==="x"?0:1,C=1-x,_=g.clone(w),N={};_.type=null,_.coord=[],N.coord=[],_.coord[C]=-Infinity,N.coord[C]=Infinity;var F=m.get("precision");F>=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(F,20))),_.coord[x]=N.coord[x]=S,w=[_,N,{type:E,valueIndex:w.valueIndex,value:S}]}return w=[p.dataTransform(s,w[0]),p.dataTransform(s,w[1]),g.extend({},w[2])],w[2].type=w[2].type||"",g.merge(w[2],w[0]),g.merge(w[2],w[1]),w};function r(s){return!isNaN(s)&&!isFinite(s)}function a(s,d,m,w){var b=1-s,E=w.dimensions[s];return r(d[b])&&r(m[b])&&d[s]===m[s]&&w.getAxis(E).containData(d[s])}function c(s,d){if(s.type==="cartesian2d"){var m=d[0].coord,w=d[1].coord;if(m&&w&&(a(1,m,w,s)||a(0,m,w,s)))return!0}return p.dataFilter(s,d[0])&&p.dataFilter(s,d[1])}function n(s,d,m,w,b){var E=w.coordinateSystem,A=s.getItemModel(d),S,T=y.parsePercent(A.get("x"),b.getWidth()),O=y.parsePercent(A.get("y"),b.getHeight());if(!isNaN(T)&&!isNaN(O))S=[T,O];else{if(w.getMarkerPosition)S=w.getMarkerPosition(s.getValues(s.dimensions,d));else{var x=E.dimensions,C=s.get(x[0],d),_=s.get(x[1],d);S=E.dataToPoint([C,_])}if(E.type==="cartesian2d"){var N=E.getAxis("x"),F=E.getAxis("y"),x=E.dimensions;r(s.get(x[0],d))?S[0]=N.toGlobalCoord(N.getExtent()[m?0:1]):r(s.get(x[1],d))&&(S[1]=F.toGlobalCoord(F.getExtent()[m?0:1]))}isNaN(T)||(S[0]=T),isNaN(O)||(S[1]=O)}s.setItemLayout(d,S)}var l=h.extend({type:"markLine",updateTransform:function(s,d,m){d.eachSeries(function(w){var b=w.markLineModel;if(b){var E=b.getData(),A=b.__from,S=b.__to;A.each(function(T){n(A,T,!0,w,m),n(S,T,!1,w,m)}),E.each(function(T){E.setItemLayout(T,[A.getItemLayout(T),S.getItemLayout(T)])}),this.markerGroupMap.get(w.id).updateLayout()}},this)},renderSeries:function(s,d,m,w){var b=s.coordinateSystem,E=s.id,A=s.getData(),S=this.markerGroupMap,T=S.get(E)||S.set(E,new v);this.group.add(T.group);var O=t(b,s,d),x=O.from,C=O.to,_=O.line;d.__from=x,d.__to=C,d.setData(_);var N=d.get("symbol"),F=d.get("symbolSize");g.isArray(N)||(N=[N,N]),typeof F=="number"&&(F=[F,F]),O.from.each(function(P){k(x,P,!0),k(C,P,!1)}),_.each(function(P){var j=_.getItemModel(P).get("lineStyle.color");_.setItemVisual(P,{color:j||x.getItemVisual(P,"color")}),_.setItemLayout(P,[x.getItemLayout(P),C.getItemLayout(P)]),_.setItemVisual(P,{fromSymbolSize:x.getItemVisual(P,"symbolSize"),fromSymbol:x.getItemVisual(P,"symbol"),toSymbolSize:C.getItemVisual(P,"symbolSize"),toSymbol:C.getItemVisual(P,"symbol")})}),T.updateData(_),O.line.eachItemGraphicEl(function(P,j){P.traverse(function(K){K.dataModel=d})});function k(P,j,K){var R=P.getItemModel(j);n(P,j,K,s,w),P.setItemVisual(j,{symbolSize:R.get("symbolSize")||F[K?0:1],symbol:R.get("symbol",!0)||N[K?0:1],color:R.get("itemStyle.color")||A.getVisual("color")})}T.__keep=!0,T.group.silent=d.get("silent")||s.get("silent")}});function t(s,d,m){var w;s?w=g.map(s&&s.dimensions,function(O){var x=d.getData().getDimensionInfo(d.getData().mapDimension(O))||{};return g.defaults({name:O},x)}):w=[{name:"value",type:"float"}];var b=new f(w,m),E=new f(w,m),A=new f([],m),S=g.map(m.get("data"),g.curry(i,d,s,m));s&&(S=g.filter(S,g.curry(c,s)));var T=s?p.dimValueGetter:function(O){return O.value};return b.initData(g.map(S,function(O){return O[0]}),null,T),E.initData(g.map(S,function(O){return O[1]}),null,T),A.initData(g.map(S,function(O){return O[2]})),A.hasItemOption=!0,{from:b,to:E,line:A}}D.exports=l},MHoB:function(D,I,e){var g=e("bYtY"),f=e("6uqw"),y=e("OELB"),p=[20,140],v=f.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(o,i){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var o=this.itemSize;this._orient==="horizontal"&&o.reverse(),(o[0]==null||isNaN(o[0]))&&(o[0]=p[0]),(o[1]==null||isNaN(o[1]))&&(o[1]=p[1])},_resetRange:function(){var o=this.getExtent(),i=this.option.range;!i||i.auto?(o.auto=1,this.option.range=o):g.isArray(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],o[0]),i[1]=Math.min(i[1],o[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(o){var i=this.option.controller[o].symbolSize;i&&i[0]!==i[1]&&(i[0]=0)},this)},setSelected:function(o){this.option.range=o.slice(),this._resetRange()},getSelected:function(){var o=this.getExtent(),i=y.asc((this.get("range")||[]).slice());return i[0]>o[1]&&(i[0]=o[1]),i[1]>o[1]&&(i[1]=o[1]),i[0]<o[0]&&(i[0]=o[0]),i[1]<o[0]&&(i[1]=o[0]),i},getValueState:function(o){var i=this.option.range,r=this.getExtent();return(i[0]<=r[0]||i[0]<=o)&&(i[1]>=r[1]||o<=i[1])?"inRange":"outOfRange"},findTargetDataIndices:function(o){var i=[];return this.eachTargetSeries(function(r){var a=[],c=r.getData();c.each(this.getDataDimension(c),function(n,l){o[0]<=n&&n<=o[1]&&a.push(l)},this),i.push({seriesId:r.id,dataIndex:a})},this),i},getVisualMeta:function(o){var i=h(this,"outOfRange",this.getExtent()),r=h(this,"inRange",this.option.range.slice()),a=[];function c(w,b){a.push({value:w,color:o(w,b)})}for(var n=0,l=0,t=r.length,s=i.length;l<s&&(!r.length||i[l]<=r[0]);l++)i[l]<r[n]&&c(i[l],"outOfRange");for(var d=1;n<t;n++,d=0)d&&a.length&&c(r[n],"outOfRange"),c(r[n],"inRange");for(var d=1;l<s;l++)(!r.length||r[r.length-1]<i[l])&&(d&&(a.length&&c(a[a.length-1].value,"outOfRange"),d=0),c(i[l],"outOfRange"));var m=a.length;return{stops:a,outerColors:[m?a[0].color:"transparent",m?a[m-1].color:"transparent"]}}});function h(o,i,r){if(r[0]===r[1])return r.slice();for(var a=200,c=(r[1]-r[0])/a,n=r[0],l=[],t=0;t<=a&&n<r[1];t++)l.push(n),n+=c;return l.push(r[1]),l}var u=v;D.exports=u},MHtr:function(D,I,e){var g=e("bYtY");function f(p,v){var h=this.getAxis(),u=v instanceof Array?v[0]:v,o=(p instanceof Array?p[0]:p)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(u-o)-h.dataToCoord(u+o))}function y(p){var v=p.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return p.dataToPoint(h)},size:g.bind(f,p)}}}D.exports=y},MJZm:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("q1tI"),h=e("fAei"),u=e("TSYQ"),o=e.n(u),i=e("RIqP"),r=e.n(i),a=e("J4zp"),c=e.n(a),n=e("sEfC"),l=e.n(n),t=e("OZM5"),s=e("815F"),d=e("vk+C"),m=e.n(d),w=e("Vy0f"),b=e.n(w),E=e("kGiB"),A=e.n(E),S=e("H84U"),T;(function(W){W[W.None=0]="None",W[W.Start=1]="Start",W[W.End=2]="End"})(T||(T={}));function O(W,V){function z(X){var q=X.key,fe=X.children;V(q,X)!==!1&&O(fe||[],V)}W.forEach(z)}function x(W){var V=W.treeData,z=W.expandedKeys,X=W.startKey,q=W.endKey,fe=[],G=T.None;if(X&&X===q)return[X];if(!X||!q)return[];function ve(Se){return Se===X||Se===q}return O(V,function(Se){if(G===T.End)return!1;if(ve(Se)){if(fe.push(Se),G===T.None)G=T.Start;else if(G===T.Start)return G=T.End,!1}else G===T.Start&&fe.push(Se);return!(z.indexOf(Se)===-1)}),fe}function C(W,V){var z=r()(V),X=[];return O(W,function(q,fe){var G=z.indexOf(q);return G!==-1&&(X.push(fe),z.splice(G,1)),!!z.length}),X}var _=function(W,V){var z={};for(var X in W)Object.prototype.hasOwnProperty.call(W,X)&&V.indexOf(X)<0&&(z[X]=W[X]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,X=Object.getOwnPropertySymbols(W);q<X.length;q++)V.indexOf(X[q])<0&&Object.prototype.propertyIsEnumerable.call(W,X[q])&&(z[X[q]]=W[X[q]]);return z};function N(W){var V=W.isLeaf,z=W.expanded;return V?v.createElement(m.a,null):z?v.createElement(b.a,null):v.createElement(A.a,null)}function F(W){var V=W.treeData,z=W.children;return V||Object(s.c)(z)}var k=function(V,z){var X=V.defaultExpandAll,q=V.defaultExpandParent,fe=V.defaultExpandedKeys,G=_(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ve=v.useRef(),Se=v.useRef(),ge=v.createRef();v.useImperativeHandle(z,function(){return ge.current});var Pe=function(){var Ye=Object(s.a)(F(G)),et=Ye.keyEntities,rt;return X?rt=Object.keys(et):q?rt=Object(t.e)(G.expandedKeys||fe,et):rt=G.expandedKeys||fe,rt},Ge=v.useState(G.selectedKeys||G.defaultSelectedKeys||[]),pt=c()(Ge,2),Te=pt[0],xe=pt[1],lt=v.useState(Pe()),Ie=c()(lt,2),de=Ie[0],ee=Ie[1];v.useEffect(function(){"selectedKeys"in G&&xe(G.selectedKeys)},[G.selectedKeys]),v.useEffect(function(){"expandedKeys"in G&&ee(G.expandedKeys)},[G.expandedKeys]);var se=function(Ye,et){var rt=et.isLeaf;if(rt||Ye.shiftKey||Ye.metaKey||Ye.ctrlKey)return;ge.current.onNodeExpand(Ye,et)},ke=l()(se,200,{leading:!0}),Ce=function(Ye,et){return"expandedKeys"in G||ee(Ye),G.onExpand?G.onExpand(Ye,et):void 0},ze=function(Ye,et){var rt=G.expandAction;rt==="click"&&ke(Ye,et),G.onClick&&G.onClick(Ye,et)},_e=function(Ye,et){var rt=G.expandAction;rt==="doubleClick"&&ke(Ye,et),G.onDoubleClick&&G.onDoubleClick(Ye,et)},ae=function(Ye,et){var rt=G.multiple,st=et.node,Ve=et.nativeEvent,ie=st.key,$=ie===void 0?"":ie,it=F(G),Qe=p()(p()({},et),{selected:!0}),ye=Ve.ctrlKey||Ve.metaKey,Zt=Ve.shiftKey,dt;rt&&ye?(dt=Ye,ve.current=$,Se.current=dt,Qe.selectedNodes=C(it,dt)):rt&&Zt?(dt=Array.from(new Set([].concat(r()(Se.current||[]),r()(x({treeData:it,expandedKeys:de,startKey:$,endKey:ve.current}))))),Qe.selectedNodes=C(it,dt)):(dt=[$],ve.current=$,Se.current=dt,Qe.selectedNodes=C(it,dt)),G.onSelect&&G.onSelect(dt,Qe),"selectedKeys"in G||xe(dt)},me=v.useContext(S.b),Oe=me.getPrefixCls,Ze=me.direction,vt=G.prefixCls,Ct=G.className,Be=_(G,["prefixCls","className"]),Rt=Oe("tree",vt),He=o()("".concat(Rt,"-directory"),Ct,f()({},"".concat(Rt,"-directory-rtl"),Ze==="rtl"));return v.createElement(U,p()({icon:N,ref:ge,blockNode:!0},Be,{prefixCls:Rt,className:He,expandedKeys:de,selectedKeys:Te,onSelect:ae,onClick:ze,onDoubleClick:_e,onExpand:Ce}))},P=v.forwardRef(k);P.displayName="DirectoryTree",P.defaultProps={showIcon:!0,expandAction:"click"};var j=P,K=e("EXcs"),R=e("2jpz"),B=v.forwardRef(function(W,V){var z,X=v.useContext(S.b),q=X.getPrefixCls,fe=X.direction,G=X.virtual,ve=W.prefixCls,Se=W.className,ge=W.showIcon,Pe=W.showLine,Ge=W.switcherIcon,pt=W.blockNode,Te=W.children,xe=W.checkable,lt=p()(p()({},W),{showLine:Boolean(Pe)}),Ie=q("tree",ve);return v.createElement(h.b,p()({itemHeight:20,ref:V,virtual:G},lt,{prefixCls:Ie,className:o()(Se,(z={},f()(z,"".concat(Ie,"-icon-hide"),!ge),f()(z,"".concat(Ie,"-block-node"),pt),f()(z,"".concat(Ie,"-rtl"),fe==="rtl"),z)),checkable:xe&&v.createElement("span",{className:"".concat(Ie,"-checkbox-inner")}),switcherIcon:function(ee){return Object(R.a)(Ie,Ge,Pe,ee)}}),Te)});B.TreeNode=h.a,B.DirectoryTree=j,B.defaultProps={checkable:!1,showIcon:!1,motion:p()(p()({},K.a),{motionAppear:!1}),blockNode:!1};var U=B,H=I.a=U},MKOG:function(D,I,e){var g=e("bYtY"),f=e("YH21"),y=f.Dispatcher,p=e("mLcG"),v=e("Bq2U"),h=function(i){i=i||{},this.stage=i.stage||{},this.onframe=i.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,y.call(this)};h.prototype={constructor:h,addClip:function(i){this._clips.push(i)},addAnimator:function(i){i.animation=this;for(var r=i.getClips(),a=0;a<r.length;a++)this.addClip(r[a])},removeClip:function(i){var r=g.indexOf(this._clips,i);r>=0&&this._clips.splice(r,1)},removeAnimator:function(i){for(var r=i.getClips(),a=0;a<r.length;a++)this.removeClip(r[a]);i.animation=null},_update:function(){for(var i=new Date().getTime()-this._pausedTime,r=i-this._time,a=this._clips,c=a.length,n=[],l=[],t=0;t<c;t++){var s=a[t],d=s.step(i,r);d&&(n.push(d),l.push(s))}for(var t=0;t<c;)a[t]._needsRemove?(a[t]=a[c-1],a.pop(),c--):t++;c=n.length;for(var t=0;t<c;t++)l[t].fire(n[t]);this._time=i,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var i=this;this._running=!0;function r(){i._running&&(p(r),!i._paused&&i._update())}p(r)},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(i,r){r=r||{};var a=new v(i,r.loop,r.getter,r.setter);return this.addAnimator(a),a}},g.mixin(h,y);var u=h;D.exports=u},MMmD:function(D,I,e){var g=e("lSCD"),f=e("shjB");function y(p){return p!=null&&f(p.length)&&!g(p)}D.exports=y},MRoa:function(D,I,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),y=e("Dg8C");g.registerLayout(f),g.registerVisual(y)},MT78:function(D,I,e){var g=e("ProS");(function(){for(var y in g){if(g==null||!g.hasOwnProperty(y)||y==="default"||y==="__esModule")return;I[y]=g[y]}})();var f=e("txkQ");(function(){for(var y in f){if(f==null||!f.hasOwnProperty(y)||y==="default"||y==="__esModule")return;I[y]=f[y]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Kvyg"),p=e.n(y)},MZdM:function(D,I,e){"use strict";function g(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(t){return typeof t}:g=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(n)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=o(e("Lo0S")),y=h(e("N/zr")),p=e("GdRQ"),v=e("GQ8N");function h(n){return n&&n.__esModule?n:{default:n}}function u(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return u=function(){return n},n}function o(n){if(n&&n.__esModule)return n;if(n===null||g(n)!=="object"&&typeof n!="function")return{default:n};var l=u();if(l&&l.has(n))return l.get(n);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in n)if(Object.prototype.hasOwnProperty.call(n,d)){var m=s?Object.getOwnPropertyDescriptor(n,d):null;m&&(m.get||m.set)?Object.defineProperty(t,d,m):t[d]=n[d]}return t.default=n,l&&l.set(n,t),t}function i(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function r(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function a(n,l,t){return l&&r(n.prototype,l),t&&r(n,t),n}var c=function(){function n(l){if(i(this,n),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,f.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},f.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),f.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(n,[{key:"viewportChangePos",value:function(t,s){var d=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-d.w,s=-d.h);var m=d.x+d.w-1,w=d.y+d.h-1;if(t<0&&d.x+t<0&&(t=-d.x),m+t>=this._fbWidth&&(t-=m+t-this._fbWidth+1),d.y+s<0&&(s=-d.y),w+s>=this._fbHeight&&(s-=w+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),d.x+=t,d.y+=s,this._damage(d.x,d.y,d.w,d.h),this.flip()}},{key:"viewportChangeSize",value:function(t,s){(!this._clipViewport||typeof t=="undefined"||typeof s=="undefined")&&(f.Debug("Setting viewport to full display region"),t=this._fbWidth,s=this._fbHeight),t=Math.floor(t),s=Math.floor(s),t>this._fbWidth&&(t=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var d=this._viewportLoc;if(d.w!==t||d.h!==s){d.w=t,d.h=s;var m=this._target;m.width=t,m.height=s,this.viewportChangePos(0,0),this._damage(d.x,d.y,d.w,d.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var d=this._backbuffer;if(d.width!==t||d.height!==s){var m=null;d.width>0&&d.height>0&&(m=this._drawCtx.getImageData(0,0,d.width,d.height)),d.width!==t&&(d.width=t),d.height!==s&&(d.height=s),m&&this._drawCtx.putImageData(m,0,0)}var w=this._viewportLoc;this.viewportChangeSize(w.w,w.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,d,m){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+d>this._damageBounds.right&&(this._damageBounds.right=t+d),s+m>this._damageBounds.bottom&&(this._damageBounds.bottom=s+m)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,d=this._damageBounds.top,m=this._damageBounds.right-s,w=this._damageBounds.bottom-d,b=s-this._viewportLoc.x,E=d-this._viewportLoc.y;b<0&&(m+=b,s-=b,b=0),E<0&&(w+=E,d-=E,E=0),b+m>this._viewportLoc.w&&(m=this._viewportLoc.w-b),E+w>this._viewportLoc.h&&(w=this._viewportLoc.h-E),m>0&&w>0&&this._targetCtx.drawImage(this._backbuffer,s,d,m,w,b,E,m,w),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(t,s,d,m,w,b){this._renderQ.length!==0&&!b?this._renderQPush({type:"fill",x:t,y:s,width:d,height:m,color:w}):(this._setFillColor(w),this._drawCtx.fillRect(t,s,d,m),this._damage(t,s,d,m))}},{key:"copyImage",value:function(t,s,d,m,w,b,E){this._renderQ.length!==0&&!E?this._renderQPush({type:"copy",oldX:t,oldY:s,x:d,y:m,width:w,height:b}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,w,b,d,m,w,b),this._damage(d,m,w,b))}},{key:"imageRect",value:function(t,s,d,m,w,b){if(d===0||m===0)return;var E=new Image;E.src="data: "+w+";base64,"+y.default.encode(b),this._renderQPush({type:"img",img:E,x:t,y:s,width:d,height:m})}},{key:"startTile",value:function(t,s,d,m,w){this._tileX=t,this._tileY=s,d===16&&m===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(d,m);for(var b=w[2],E=w[1],A=w[0],S=this._tile.data,T=0;T<d*m*4;T+=4)S[T]=b,S[T+1]=E,S[T+2]=A,S[T+3]=255}},{key:"subTile",value:function(t,s,d,m,w){for(var b=w[2],E=w[1],A=w[0],S=t+d,T=s+m,O=this._tile.data,x=this._tile.width,C=s;C<T;C++)for(var _=t;_<S;_++){var N=(_+C*x)*4;O[N]=b,O[N+1]=E,O[N+2]=A,O[N+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(t,s,d,m,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(d*m*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blit",data:A,x:t,y:s,width:d,height:m})}else this._bgrxImageData(t,s,d,m,w,b)}},{key:"blitRgbImage",value:function(t,s,d,m,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(d*m*3);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgb",data:A,x:t,y:s,width:d,height:m})}else this._rgbImageData(t,s,d,m,w,b)}},{key:"blitRgbxImage",value:function(t,s,d,m,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(d*m*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgbx",data:A,x:t,y:s,width:d,height:m})}else this._rgbxImageData(t,s,d,m,w,b)}},{key:"drawImage",value:function(t,s,d){this._drawCtx.drawImage(t,s,d),this._damage(s,d,t.width,t.height)}},{key:"autoscale",value:function(t,s){var d;if(t===0||s===0)d=0;else{var m=this._viewportLoc,w=t/s,b=m.w/m.h;b>=w?d=t/m.w:d=s/m.h}this._rescale(d)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,d=t*s.w+"px",m=t*s.h+"px";(this._target.style.width!==d||this._target.style.height!==m)&&(this._target.style.width=d,this._target.style.height=m)}},{key:"_setFillColor",value:function(t){var s="rgb("+t[2]+","+t[1]+","+t[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(t,s,d,m,w,b){for(var E=this._drawCtx.createImageData(d,m),A=E.data,S=0,T=b;S<d*m*4;S+=4,T+=3)A[S]=w[T],A[S+1]=w[T+1],A[S+2]=w[T+2],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_bgrxImageData",value:function(t,s,d,m,w,b){for(var E=this._drawCtx.createImageData(d,m),A=E.data,S=0,T=b;S<d*m*4;S+=4,T+=4)A[S]=w[T+2],A[S+1]=w[T+1],A[S+2]=w[T],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_rgbxImageData",value:function(t,s,d,m,w,b){var E;p.supportsImageMetadata?E=new ImageData(new Uint8ClampedArray(w.buffer,w.byteOffset,d*m*4),d,m):(E=this._drawCtx.createImageData(d,m),E.data.set(new Uint8ClampedArray(w.buffer,w.byteOffset,d*m*4))),this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_renderQPush",value:function(t){this._renderQ.push(t),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 t=!0;t&&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){f.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),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;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}}]),n}();I.default=c},Mdki:function(D,I,e){var g=e("bYtY"),f=g.each,y="\0__link_datas",p="\0__link_mainData";function v(l){var t=l.mainData,s=l.datas;s||(s={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,a(t,s,l),f(s,function(d){f(t.TRANSFERABLE_METHODS,function(m){d.wrapMethod(m,g.curry(h,l))})}),t.wrapMethod("cloneShallow",g.curry(o,l)),f(t.CHANGABLE_METHODS,function(d){t.wrapMethod(d,g.curry(u,l))}),g.assert(s[t.dataType]===t)}function h(l,t){if(r(this)){var s=g.extend({},this[y]);s[this.dataType]=t,a(t,s,l)}else c(t,this.dataType,this[p],l);return t}function u(l,t){return l.struct&&l.struct.update(this),t}function o(l,t){return f(t[y],function(s,d){s!==t&&c(s.cloneShallow(),d,t,l)}),t}function i(l){var t=this[p];return l==null||t==null?t:t[y][l]}function r(l){return l[p]===l}function a(l,t,s){l[y]={},f(t,function(d,m){c(d,m,l,s)})}function c(l,t,s,d){s[y][t]=l,l[p]=s,l.dataType=t,d.struct&&(l[d.structAttr]=d.struct,d.struct[d.datasAttr[t]]=l),l.getLinkedData=i}var n=v;D.exports=n},Mds0:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("8IMR")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="StarFilled";var u=y.forwardRef(h);I.default=u},Mgri:function(D,I,e){for(var g=e("bYtY"),f=e("8nly"),y=[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 h=0;h<p[v].length;h++)p[v][h][0]/=10.5,p[v][h][1]/=-10.5/.75,p[v][h][0]+=y[0],p[v][h][1]+=y[1];function u(o,i){o==="china"&&i.push(new f("\u5357\u6D77\u8BF8\u5C9B",g.map(p,function(r){return{type:"polygon",exterior:r}}),y))}D.exports=u},Mmt2:function(D,I,e){"use strict";function g(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(a)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=p(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return y=function(){return a},a}function p(a){if(a&&a.__esModule)return a;if(a===null||g(a)!=="object"&&typeof a!="function")return{default:a};var c=y();if(c&&c.has(a))return c.get(a);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in a)if(Object.prototype.hasOwnProperty.call(a,t)){var s=l?Object.getOwnPropertyDescriptor(a,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=a[t]}return n.default=a,c&&c.set(a,n),n}function v(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function h(a,c){for(var n=0;n<c.length;n++){var l=c[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function u(a,c,n){return c&&h(a.prototype,c),n&&h(a,n),a}var o=!1,i=40*1024*1024,r=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 u(a,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(n){this._rQi+=n}},{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(n){for(var l=0,t=n-1;t>=0;t--)l+=this._rQ[this._rQi++]<<t*8;return l}},{key:"rQshiftStr",value:function(n){typeof n=="undefined"&&(n=this.rQlen);for(var l="",t=0;t<n;t+=4096){var s=this.rQshiftBytes(Math.min(4096,n-t));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(n){return typeof n=="undefined"&&(n=this.rQlen),this._rQi+=n,new Uint8Array(this._rQ.buffer,this._rQi-n,n)}},{key:"rQshiftTo",value:function(n,l){l===void 0&&(l=this.rQlen),n.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+n,l-n)}},{key:"rQwait",value:function(n,l,t){if(this.rQlen<l){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}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(n){this._sQ.set(n,this._sQlen),this._sQlen+=n.length,this.flush()}},{key:"sendString",value:function(n){this.send(n.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(n){this._eventHandlers[n]=function(){}}},{key:"on",value:function(n,l){this._eventHandlers[n]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(n,l){var t=this;this.init(),this._websocket=new WebSocket(n,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){f.Debug(">> WebSock.onopen"),t._websocket.protocol&&f.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),f.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){f.Debug(">> WebSock.onclose"),t._eventHandlers.close(s),f.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){f.Debug(">> WebSock.onerror: "+s),t._eventHandlers.error(s),f.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(f.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(n){var l=(this._rQlen-this._rQi+n)*8,t=this._rQbufferSize<l;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>i&&(this._rQbufferSize=i,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+i+" bytes, and the new message could not fit");if(t){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else o?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(n){var l=new Uint8Array(n);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(n){this._DecodeMessage(n.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):f.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(n){this._rQi=n}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),a}();I.default=r},MqEG:function(D,I,e){var g=e("bYtY"),f=e("fc+c"),y=e("72pK"),p=e("VXYp"),v=g.bind,h=f.extend({type:"dataZoom.inside",init:function(a,c){this._range},render:function(a,c,n,l){h.superApply(this,"render",arguments),this._range=a.getPercentRange(),g.each(this.getTargetCoordInfo(),function(t,s){var d=g.map(t,function(m){return p.generateCoordId(m.model)});g.each(t,function(m){var w=m.model,b={};g.each(["pan","zoom","scrollMove"],function(E){b[E]=v(u[E],this,m,s)},this),p.register(n,{coordId:p.generateCoordId(w),allCoordIds:d,containsPoint:function(E,A,S){return w.coordinateSystem.containPoint([A,S])},dataZoomId:a.id,dataZoomModel:a,getRange:b})},this)},this)},dispose:function(){p.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(a,c,n,l){var t=this._range,s=t.slice(),d=a.axisModels[0];if(!d)return;var m=i[c](null,[l.originX,l.originY],d,n,a),w=(m.signal>0?m.pixelStart+m.pixelLength-m.pixel:m.pixel-m.pixelStart)/m.pixelLength*(s[1]-s[0])+s[0],b=Math.max(1/l.scale,0);s[0]=(s[0]-w)*b+w,s[1]=(s[1]-w)*b+w;var E=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(y(0,s,[0,100],0,E.minSpan,E.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:o(function(a,c,n,l,t,s){var d=i[l]([s.oldX,s.oldY],[s.newX,s.newY],c,t,n);return d.signal*(a[1]-a[0])*d.pixel/d.pixelLength}),scrollMove:o(function(a,c,n,l,t,s){var d=i[l]([0,0],[s.scrollDelta,s.scrollDelta],c,t,n);return d.signal*(a[1]-a[0])*s.scrollDelta})};function o(a){return function(c,n,l,t){var s=this._range,d=s.slice(),m=c.axisModels[0];if(!m)return;var w=a(d,m,c,n,l,t);if(y(w,d,[0,100],"all"),this._range=d,s[0]!==d[0]||s[1]!==d[1])return d}}var i={grid:function(a,c,n,l,t){var s=n.axis,d={},m=t.model.coordinateSystem.getRect();return a=a||[0,0],s.dim==="x"?(d.pixel=c[0]-a[0],d.pixelLength=m.width,d.pixelStart=m.x,d.signal=s.inverse?1:-1):(d.pixel=c[1]-a[1],d.pixelLength=m.height,d.pixelStart=m.y,d.signal=s.inverse?-1:1),d},polar:function(a,c,n,l,t){var s=n.axis,d={},m=t.model.coordinateSystem,w=m.getRadiusAxis().getExtent(),b=m.getAngleAxis().getExtent();return a=a?m.pointToCoord(a):[0,0],c=m.pointToCoord(c),n.mainType==="radiusAxis"?(d.pixel=c[0]-a[0],d.pixelLength=w[1]-w[0],d.pixelStart=w[0],d.signal=s.inverse?1:-1):(d.pixel=c[1]-a[1],d.pixelLength=b[1]-b[0],d.pixelStart=b[0],d.signal=s.inverse?-1:1),d},singleAxis:function(a,c,n,l,t){var s=n.axis,d=t.model.coordinateSystem.getRect(),m={};return a=a||[0,0],s.orient==="horizontal"?(m.pixel=c[0]-a[0],m.pixelLength=d.width,m.pixelStart=d.x,m.signal=s.inverse?1:-1):(m.pixel=c[1]-a[1],m.pixelLength=d.height,m.pixelStart=d.y,m.signal=s.inverse?-1:1),m}},r=h;D.exports=r},MvSz:function(D,I,e){var g=e("LXxW"),f=e("0ycA"),y=Object.prototype,p=y.propertyIsEnumerable,v=Object.getOwnPropertySymbols,h=v?function(u){return u==null?[]:(u=Object(u),g(v(u),function(o){return p.call(u,o)}))}:f;D.exports=h},MwEJ:function(D,I,e){var g=e("bYtY"),f=e("YXkt"),y=e("sdST"),p=e("k9D9"),v=p.SOURCE_FORMAT_ORIGINAL,h=e("L0Ub"),u=h.getDimensionTypeByAxis,o=e("4NO4"),i=o.getDataItemValue,r=e("IDmD"),a=e("i38C"),c=a.getCoordSysInfoBySeries,n=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,s=e("D5nY"),d=s.makeSeriesEncodeForAxisCoordSys;function m(A,S,T){T=T||{},n.isInstance(A)||(A=n.seriesDataToSource(A));var O=S.get("coordinateSystem"),x=r.get(O),C=c(S),_;C&&(_=g.map(C.coordSysDims,function(R){var B={name:R},U=C.axisMap.get(R);if(U){var H=U.get("type");B.type=u(H)}return B})),_||(_=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var N=y(A,{coordDimensions:_,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?g.curry(d,_,S):null}),F,k;C&&g.each(N,function(R,B){var U=R.coordDim,H=C.categoryAxisMap.get(U);H&&(F==null&&(F=B),R.ordinalMeta=H.getOrdinalMeta()),R.otherDims.itemName!=null&&(k=!0)}),!k&&F!=null&&(N[F].otherDims.itemName=0);var P=t(S,N),j=new f(N,S);j.setCalculationInfo(P);var K=F!=null&&w(A)?function(R,B,U,H){return H===F?U:this.defaultDimValueGetter(R,B,U,H)}:null;return j.hasItemOption=!1,j.initData(A,null,K),j}function w(A){if(A.sourceFormat===v){var S=b(A.data||[]);return S!=null&&!g.isArray(i(S))}}function b(A){for(var S=0;S<A.length&&A[S]==null;)S++;return A[S]}var E=m;D.exports=E},Mylv:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),p=e("oVpE"),v=p.createSymbol,h=e("OELB"),u=h.parsePercent,o=h.isNumeric,i=e("56rv"),r=i.setLabel,a=["itemStyle","borderWidth"],c=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new y.Circle,l=g.extendChartView({type:"pictorialBar",render:function(W,V,z){var X=this.group,q=W.getData(),fe=this._data,G=W.coordinateSystem,ve=G.getBaseAxis(),Se=!!ve.isHorizontal(),ge=G.grid.getRect(),Pe={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:W,coordSys:G,coordSysExtent:[[ge.x,ge.x+ge.width],[ge.y,ge.y+ge.height]],isHorizontal:Se,valueDim:c[+Se],categoryDim:c[1-Se]};return q.diff(fe).add(function(Ge){if(!q.hasValue(Ge))return;var pt=x(q,Ge),Te=t(q,Ge,pt,Pe),xe=F(q,Pe,Te);q.setItemGraphicEl(Ge,xe),X.add(xe),B(xe,Pe,Te)}).update(function(Ge,pt){var Te=fe.getItemGraphicEl(pt);if(!q.hasValue(Ge)){X.remove(Te);return}var xe=x(q,Ge),lt=t(q,Ge,xe,Pe),Ie=j(q,lt);Te&&Ie!==Te.__pictorialShapeStr&&(X.remove(Te),q.setItemGraphicEl(Ge,null),Te=null),Te?k(Te,Pe,lt):Te=F(q,Pe,lt,!0),q.setItemGraphicEl(Ge,Te),Te.__pictorialSymbolMeta=lt,X.add(Te),B(Te,Pe,lt)}).remove(function(Ge){var pt=fe.getItemGraphicEl(Ge);pt&&P(fe,Ge,pt.__pictorialSymbolMeta.animationModel,pt)}).execute(),this._data=q,this.group},dispose:f.noop,remove:function(W,V){var z=this.group,X=this._data;W.get("animation")?X&&X.eachItemGraphicEl(function(q){P(X,q.dataIndex,W,q)}):z.removeAll()}});function t(W,V,z,X){var q=W.getItemLayout(V),fe=z.get("symbolRepeat"),G=z.get("symbolClip"),ve=z.get("symbolPosition")||"start",Se=z.get("symbolRotate"),ge=(Se||0)*Math.PI/180||0,Pe=z.get("symbolPatternSize")||2,Ge=z.isAnimationEnabled(),pt={dataIndex:V,layout:q,itemModel:z,symbolType:W.getItemVisual(V,"symbol")||"circle",color:W.getItemVisual(V,"color"),symbolClip:G,symbolRepeat:fe,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:Pe,rotation:ge,animationModel:Ge?z:null,hoverAnimation:Ge&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};s(z,fe,q,X,pt),m(W,V,q,fe,G,pt.boundingLength,pt.pxSign,Pe,X,pt),w(z,pt.symbolScale,ge,X,pt);var Te=pt.symbolSize,xe=z.get("symbolOffset");return f.isArray(xe)&&(xe=[u(xe[0],Te[0]),u(xe[1],Te[1])]),b(z,Te,q,fe,G,xe,ve,pt.valueLineWidth,pt.boundingLength,pt.repeatCutLength,X,pt),pt}function s(W,V,z,X,q){var fe=X.valueDim,G=W.get("symbolBoundingData"),ve=X.coordSys.getOtherAxis(X.coordSys.getBaseAxis()),Se=ve.toGlobalCoord(ve.dataToCoord(0)),ge=1-+(z[fe.wh]<=0),Pe;if(f.isArray(G)){var Ge=[d(ve,G[0])-Se,d(ve,G[1])-Se];Ge[1]<Ge[0]&&Ge.reverse(),Pe=Ge[ge]}else G!=null?Pe=d(ve,G)-Se:V?Pe=X.coordSysExtent[fe.index][ge]-Se:Pe=z[fe.wh];q.boundingLength=Pe,V&&(q.repeatCutLength=z[fe.wh]),q.pxSign=Pe>0?1:Pe<0?-1:0}function d(W,V){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(V)))}function m(W,V,z,X,q,fe,G,ve,Se,ge){var Pe=Se.valueDim,Ge=Se.categoryDim,pt=Math.abs(z[Ge.wh]),Te=W.getItemVisual(V,"symbolSize");f.isArray(Te)?Te=Te.slice():(Te==null&&(Te="100%"),Te=[Te,Te]),Te[Ge.index]=u(Te[Ge.index],pt),Te[Pe.index]=u(Te[Pe.index],X?pt:Math.abs(fe)),ge.symbolSize=Te;var xe=ge.symbolScale=[Te[0]/ve,Te[1]/ve];xe[Pe.index]*=(Se.isHorizontal?-1:1)*G}function w(W,V,z,X,q){var fe=W.get(a)||0;fe&&(n.attr({scale:V.slice(),rotation:z}),n.updateTransform(),fe/=n.getLineScale(),fe*=V[X.valueDim.index]),q.valueLineWidth=fe}function b(W,V,z,X,q,fe,G,ve,Se,ge,Pe,Ge){var pt=Pe.categoryDim,Te=Pe.valueDim,xe=Ge.pxSign,lt=Math.max(V[Te.index]+ve,0),Ie=lt;if(X){var de=Math.abs(Se),ee=f.retrieve(W.get("symbolMargin"),"15%")+"",se=!1;ee.lastIndexOf("!")===ee.length-1&&(se=!0,ee=ee.slice(0,ee.length-1)),ee=u(ee,V[Te.index]);var ke=Math.max(lt+ee*2,0),Ce=se?0:ee*2,ze=o(X),_e=ze?X:U((de+Ce)/ke),ae=de-_e*lt;ee=ae/2/(se?_e:_e-1),ke=lt+ee*2,Ce=se?0:ee*2,!ze&&X!=="fixed"&&(_e=ge?U((Math.abs(ge)+Ce)/ke):0),Ie=_e*ke-Ce,Ge.repeatTimes=_e,Ge.symbolMargin=ee}var me=xe*(Ie/2),Oe=Ge.pathPosition=[];Oe[pt.index]=z[pt.wh]/2,Oe[Te.index]=G==="start"?me:G==="end"?Se-me:Se/2,fe&&(Oe[0]+=fe[0],Oe[1]+=fe[1]);var Ze=Ge.bundlePosition=[];Ze[pt.index]=z[pt.xy],Ze[Te.index]=z[Te.xy];var vt=Ge.barRectShape=f.extend({},z);vt[Te.wh]=xe*Math.max(Math.abs(z[Te.wh]),Math.abs(Oe[Te.index]+me)),vt[pt.wh]=z[pt.wh];var Ct=Ge.clipShape={};Ct[pt.xy]=-z[pt.xy],Ct[pt.wh]=Pe.ecSize[pt.wh],Ct[Te.xy]=0,Ct[Te.wh]=z[Te.wh]}function E(W){var V=W.symbolPatternSize,z=v(W.symbolType,-V/2,-V/2,V,V,W.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function A(W,V,z,X){var q=W.__pictorialBundle,fe=z.symbolSize,G=z.valueLineWidth,ve=z.pathPosition,Se=V.valueDim,ge=z.repeatTimes||0,Pe=0,Ge=fe[V.valueDim.index]+G+z.symbolMargin*2;for(K(W,function(de){de.__pictorialAnimationIndex=Pe,de.__pictorialRepeatTimes=ge,Pe<ge?R(de,null,xe(Pe),z,X):R(de,null,{scale:[0,0]},z,X,function(){q.remove(de)}),N(de,z),Pe++});Pe<ge;Pe++){var pt=E(z);pt.__pictorialAnimationIndex=Pe,pt.__pictorialRepeatTimes=ge,q.add(pt);var Te=xe(Pe);R(pt,{position:Te.position,scale:[0,0]},{scale:Te.scale,rotation:Te.rotation},z,X),pt.on("mouseover",lt).on("mouseout",Ie),N(pt,z)}function xe(de){var ee=ve.slice(),se=z.pxSign,ke=de;return(z.symbolRepeatDirection==="start"?se>0:se<0)&&(ke=ge-1-de),ee[Se.index]=Ge*(ke-ge/2+.5)+ve[Se.index],{position:ee,scale:z.symbolScale.slice(),rotation:z.rotation}}function lt(){K(W,function(de){de.trigger("emphasis")})}function Ie(){K(W,function(de){de.trigger("normal")})}}function S(W,V,z,X){var q=W.__pictorialBundle,fe=W.__pictorialMainPath;fe?R(fe,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,X):(fe=W.__pictorialMainPath=E(z),q.add(fe),R(fe,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,X),fe.on("mouseover",G).on("mouseout",ve)),N(fe,z);function G(){this.trigger("emphasis")}function ve(){this.trigger("normal")}}function T(W,V,z){var X=f.extend({},V.barRectShape),q=W.__pictorialBarRect;q?R(q,null,{shape:X},V,z):(q=W.__pictorialBarRect=new y.Rect({z2:2,shape:X,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add(q))}function O(W,V,z,X){if(z.symbolClip){var q=W.__pictorialClipPath,fe=f.extend({},z.clipShape),G=V.valueDim,ve=z.animationModel,Se=z.dataIndex;if(q)y.updateProps(q,{shape:fe},ve,Se);else{fe[G.wh]=0,q=new y.Rect({shape:fe}),W.__pictorialBundle.setClipPath(q),W.__pictorialClipPath=q;var ge={};ge[G.wh]=z.clipShape[G.wh],y[X?"updateProps":"initProps"](q,{shape:ge},ve,Se)}}}function x(W,V){var z=W.getItemModel(V);return z.getAnimationDelayParams=C,z.isAnimationEnabled=_,z}function C(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function _(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function N(W,V){W.off("emphasis").off("normal");var z=V.symbolScale.slice();V.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function F(W,V,z,X){var q=new y.Group,fe=new y.Group;return q.add(fe),q.__pictorialBundle=fe,fe.attr("position",z.bundlePosition.slice()),z.symbolRepeat?A(q,V,z):S(q,V,z),T(q,z,X),O(q,V,z,X),q.__pictorialShapeStr=j(W,z),q.__pictorialSymbolMeta=z,q}function k(W,V,z){var X=z.animationModel,q=z.dataIndex,fe=W.__pictorialBundle;y.updateProps(fe,{position:z.bundlePosition.slice()},X,q),z.symbolRepeat?A(W,V,z,!0):S(W,V,z,!0),T(W,z,!0),O(W,V,z,!0)}function P(W,V,z,X){var q=X.__pictorialBarRect;q&&(q.style.text=null);var fe=[];K(X,function(G){fe.push(G)}),X.__pictorialMainPath&&fe.push(X.__pictorialMainPath),X.__pictorialClipPath&&(z=null),f.each(fe,function(G){y.updateProps(G,{scale:[0,0]},z,V,function(){X.parent&&X.parent.remove(X)})}),W.setItemGraphicEl(V,null)}function j(W,V){return[W.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function K(W,V,z){f.each(W.__pictorialBundle.children(),function(X){X!==W.__pictorialBarRect&&V.call(z,X)})}function R(W,V,z,X,q,fe){V&&W.attr(V),X.symbolClip&&!q?z&&W.attr(z):z&&y[q?"updateProps":"initProps"](W,z,X.animationModel,X.dataIndex,fe)}function B(W,V,z){var X=z.color,q=z.dataIndex,fe=z.itemModel,G=fe.getModel("itemStyle").getItemStyle(["color"]),ve=fe.getModel("emphasis.itemStyle").getItemStyle(),Se=fe.getShallow("cursor");K(W,function(pt){pt.setColor(X),pt.setStyle(f.defaults({fill:X,opacity:z.opacity},G)),y.setHoverStyle(pt,ve),Se&&(pt.cursor=Se),pt.z2=z.z2});var ge={},Pe=V.valueDim.posDesc[+(z.boundingLength>0)],Ge=W.__pictorialBarRect;r(Ge.style,ge,fe,X,V.seriesModel,q,Pe),y.setHoverStyle(Ge,ge)}function U(W){var V=Math.round(W);return Math.abs(W-V)<1e-4?V:Math.ceil(W)}var H=l;D.exports=H},"N/zr":function(D,I,e){"use strict";function g(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(o){return typeof o}:g=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},g(h)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=p(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return y=function(){return h},h}function p(h){if(h&&h.__esModule)return h;if(h===null||g(h)!=="object"&&typeof h!="function")return{default:h};var u=y();if(u&&u.has(h))return u.get(h);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in h)if(Object.prototype.hasOwnProperty.call(h,r)){var a=i?Object.getOwnPropertyDescriptor(h,r):null;a&&(a.get||a.set)?Object.defineProperty(o,r,a):o[r]=h[r]}return o.default=h,u&&u.set(h,o),o}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(u){"use strict";for(var o="",i=u.length,r=i%3,a=0;a<i-2;a+=3)o+=this.toBase64Table[u[a]>>2],o+=this.toBase64Table[((u[a]&3)<<4)+(u[a+1]>>4)],o+=this.toBase64Table[((u[a+1]&15)<<2)+(u[a+2]>>6)],o+=this.toBase64Table[u[a+2]&63];var c=i-r;return r===2?(o+=this.toBase64Table[u[c]>>2],o+=this.toBase64Table[((u[c]&3)<<4)+(u[c+1]>>4)],o+=this.toBase64Table[(u[c+1]&15)<<2],o+=this.toBase64Table[64]):r===1&&(o+=this.toBase64Table[u[c]>>2],o+=this.toBase64Table[(u[c]&3)<<4],o+=this.toBase64Table[64],o+=this.toBase64Table[64]),o},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(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=u.indexOf("=")-o;i<0&&(i=u.length-o);for(var r=(i>>2)*3+Math.floor(i%4/1.5),a=new Array(r),c=0,n=0,l=0,t=o;t<u.length;t++){var s=this.toBinaryTable[u.charCodeAt(t)&127],d=u.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+u.charCodeAt(t)+" at position "+t);continue}n=n<<6|s,c+=6,c>=8&&(c-=8,d||(a[l++]=n>>c&255),n&=(1<<c)-1)}if(c){var m=new Error("Corrupted base64 string");throw m.name="Base64-Error",m}return a}};I.default=v},N5BQ:function(D,I,e){var g=e("OlYY"),f=g.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"}}}),y=f;D.exports=y},NA0q:function(D,I,e){var g=e("bYtY"),f=e("6Ic6"),y=e("TkdX"),p=e("gPAo"),v=e("7aKB"),h=v.windowOpen,u="sunburstRootToNode",o=f.extend({type:"sunburst",init:function(){},render:function(r,a,c,n){var l=this;this.seriesModel=r,this.api=c,this.ecModel=a;var t=r.getData(),s=t.tree.root,d=r.getViewRoot(),m=this.group,w=r.get("renderLabelForZeroData"),b=[];d.eachNode(function(_){b.push(_)});var E=this._oldChildren||[];if(T(b,E),C(s,d),n&&n.highlight&&n.highlight.piece){var A=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(A)}else if(n&&n.unhighlight){var S=this.virtualPiece;!S&&s.children.length&&(S=s.children[0].piece),S&&S.onNormal()}this._initEvents(),this._oldChildren=b;function T(_,N){if(_.length===0&&N.length===0)return;new p(N,_,F,F).add(k).update(k).remove(g.curry(k,null)).execute();function F(P){return P.getId()}function k(P,j){var K=P==null?null:_[P],R=j==null?null:N[j];O(K,R)}}function O(_,N){if(!w&&_&&!_.getValue()&&(_=null),_!==s&&N!==s){if(N&&N.piece)_?(N.piece.updateData(!1,_,"normal",r,a),t.setItemGraphicEl(_.dataIndex,N.piece)):x(N);else if(_){var F=new y(_,r,a);m.add(F),t.setItemGraphicEl(_.dataIndex,F)}}}function x(_){if(!_)return;_.piece&&(m.remove(_.piece),_.piece=null)}function C(_,N){if(N.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,_,"normal",r,a):(l.virtualPiece=new y(_,r,a),m.add(l.virtualPiece)),N.piece._onclickEvent&&N.piece.off("click",N.piece._onclickEvent);var F=function(k){l._rootToNode(N.parentNode)};N.piece._onclickEvent=F,l.virtualPiece.on("click",F)}else l.virtualPiece&&(m.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,a=function(c){var n=!1,l=r.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===c.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(t);else if(s==="link"){var d=t.getModel(),m=d.get("link");if(m){var w=d.get("target",!0)||"_blank";h(m,w)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,a){var c=a.getData(),n=c.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),i=o;D.exports=i},NAnI:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("wXyp"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},NBmB:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.encodingName=f,I.encodings=void 0;var g={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};I.encodings=g;function f(y){switch(y){case g.encodingRaw:return"Raw";case g.encodingCopyRect:return"CopyRect";case g.encodingRRE:return"RRE";case g.encodingHextile:return"Hextile";case g.encodingTight:return"Tight";case g.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+y+"]"}}},NC18:function(D,I,e){var g=e("y+Vt"),f=e("IMiH"),y=e("7oTu"),p=Math.sqrt,v=Math.sin,h=Math.cos,u=Math.PI,o=function(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])},i=function(b,E){return(b[0]*E[0]+b[1]*E[1])/(o(b)*o(E))},r=function(b,E){return(b[0]*E[1]<b[1]*E[0]?-1:1)*Math.acos(i(b,E))};function a(w,b,E,A,S,T,O,x,C,_,N){var F=C*(u/180),k=h(F)*(w-E)/2+v(F)*(b-A)/2,P=-1*v(F)*(w-E)/2+h(F)*(b-A)/2,j=k*k/(O*O)+P*P/(x*x);j>1&&(O*=p(j),x*=p(j));var K=(S===T?-1:1)*p((O*O*(x*x)-O*O*(P*P)-x*x*(k*k))/(O*O*(P*P)+x*x*(k*k)))||0,R=K*O*P/x,B=K*-x*k/O,U=(w+E)/2+h(F)*R-v(F)*B,H=(b+A)/2+v(F)*R+h(F)*B,W=r([1,0],[(k-R)/O,(P-B)/x]),V=[(k-R)/O,(P-B)/x],z=[(-1*k-R)/O,(-1*P-B)/x],X=r(V,z);i(V,z)<=-1&&(X=u),i(V,z)>=1&&(X=0),T===0&&X>0&&(X=X-2*u),T===1&&X<0&&(X=X+2*u),N.addData(_,U,H,O,x,W,X,F,T)}var c=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(w){if(!w)return new f;for(var b=0,E=0,A=b,S=E,T,O=new f,x=f.CMD,C=w.match(c),_=0;_<C.length;_++){for(var N=C[_],F=N.charAt(0),k,P=N.match(n)||[],j=P.length,K=0;K<j;K++)P[K]=parseFloat(P[K]);for(var R=0;R<j;){var B,U,H,W,V,z,X,q=b,fe=E;switch(F){case"l":b+=P[R++],E+=P[R++],k=x.L,O.addData(k,b,E);break;case"L":b=P[R++],E=P[R++],k=x.L,O.addData(k,b,E);break;case"m":b+=P[R++],E+=P[R++],k=x.M,O.addData(k,b,E),A=b,S=E,F="l";break;case"M":b=P[R++],E=P[R++],k=x.M,O.addData(k,b,E),A=b,S=E,F="L";break;case"h":b+=P[R++],k=x.L,O.addData(k,b,E);break;case"H":b=P[R++],k=x.L,O.addData(k,b,E);break;case"v":E+=P[R++],k=x.L,O.addData(k,b,E);break;case"V":E=P[R++],k=x.L,O.addData(k,b,E);break;case"C":k=x.C,O.addData(k,P[R++],P[R++],P[R++],P[R++],P[R++],P[R++]),b=P[R-2],E=P[R-1];break;case"c":k=x.C,O.addData(k,P[R++]+b,P[R++]+E,P[R++]+b,P[R++]+E,P[R++]+b,P[R++]+E),b+=P[R-2],E+=P[R-1];break;case"S":B=b,U=E;var G=O.len(),ve=O.data;T===x.C&&(B+=b-ve[G-4],U+=E-ve[G-3]),k=x.C,q=P[R++],fe=P[R++],b=P[R++],E=P[R++],O.addData(k,B,U,q,fe,b,E);break;case"s":B=b,U=E;var G=O.len(),ve=O.data;T===x.C&&(B+=b-ve[G-4],U+=E-ve[G-3]),k=x.C,q=b+P[R++],fe=E+P[R++],b+=P[R++],E+=P[R++],O.addData(k,B,U,q,fe,b,E);break;case"Q":q=P[R++],fe=P[R++],b=P[R++],E=P[R++],k=x.Q,O.addData(k,q,fe,b,E);break;case"q":q=P[R++]+b,fe=P[R++]+E,b+=P[R++],E+=P[R++],k=x.Q,O.addData(k,q,fe,b,E);break;case"T":B=b,U=E;var G=O.len(),ve=O.data;T===x.Q&&(B+=b-ve[G-4],U+=E-ve[G-3]),b=P[R++],E=P[R++],k=x.Q,O.addData(k,B,U,b,E);break;case"t":B=b,U=E;var G=O.len(),ve=O.data;T===x.Q&&(B+=b-ve[G-4],U+=E-ve[G-3]),b+=P[R++],E+=P[R++],k=x.Q,O.addData(k,B,U,b,E);break;case"A":H=P[R++],W=P[R++],V=P[R++],z=P[R++],X=P[R++],q=b,fe=E,b=P[R++],E=P[R++],k=x.A,a(q,fe,b,E,z,X,H,W,V,k,O);break;case"a":H=P[R++],W=P[R++],V=P[R++],z=P[R++],X=P[R++],q=b,fe=E,b+=P[R++],E+=P[R++],k=x.A,a(q,fe,b,E,z,X,H,W,V,k,O);break}}(F==="z"||F==="Z")&&(k=x.Z,O.addData(k),b=A,E=S),T=k}return O.toStatic(),O}function t(w,b){var E=l(w);return b=b||{},b.buildPath=function(A){if(A.setData){A.setData(E.data);var S=A.getContext();S&&A.rebuildPath(S)}else{var S=A;E.rebuildPath(S)}},b.applyTransform=function(A){y(E,A),this.dirty(!0)},b}function s(w,b){return new g(t(w,b))}function d(w,b){return g.extend(t(w,b))}function m(w,b){for(var E=[],A=w.length,S=0;S<A;S++){var T=w[S];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),E.push(T.path)}var O=new g(b);return O.createPathProxy(),O.buildPath=function(x){x.appendPath(E);var C=x.getContext();C&&x.rebuildPath(C)},O}I.createFromString=s,I.extendFromString=d,I.mergePath=m},NH9N:function(D,I,e){var g=e("bYtY"),f=e("mFDi"),y=e("Fofx"),p=e("IwbS"),v=e("+TT/"),h=e("kzvK"),u=e("CMP+"),o=e("oVpE"),i=o.createSymbol,r=e("aX7z"),a=e("OELB"),c=e("7aKB"),n=c.encodeHTML,l=g.bind,t=g.each,s=Math.PI,d=h.extend({type:"timeline.slider",init:function(A,S){this.api=S,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(A,S,T,O){if(this.model=A,this.api=T,this.ecModel=S,this.group.removeAll(),A.get("show",!0)){var x=this._layout(A,T),C=this._createGroup("mainGroup"),_=this._createGroup("labelGroup"),N=this._axis=this._createAxis(x,A);A.formatTooltip=function(F){return n(N.scale.getLabel(F))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](x,C,N,A)},this),this._renderAxisLabel(x,_,N,A),this._position(x,A)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(A,S){var T=A.get("label.position"),O=A.get("orient"),x=m(A,S);T==null||T==="auto"?T=O==="horizontal"?x.y+x.height/2<S.getHeight()/2?"-":"+":x.x+x.width/2<S.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[O][T]);var C={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},_={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},N={horizontal:0,vertical:s/2},F=O==="vertical"?x.height:x.width,k=A.getModel("controlStyle"),P=k.get("show",!0),j=P?k.get("itemSize"):0,K=P?k.get("itemGap"):0,R=j+K,B=A.get("label.rotate")||0;B=B*s/180;var U,H,W,V,z=k.get("position",!0),X=P&&k.get("showPlayBtn",!0),q=P&&k.get("showPrevBtn",!0),fe=P&&k.get("showNextBtn",!0),G=0,ve=F;return z==="left"||z==="bottom"?(X&&(U=[0,0],G+=R),q&&(H=[G,0],G+=R),fe&&(W=[ve-j,0],ve-=R)):(X&&(U=[ve-j,0],ve-=R),q&&(H=[0,0],G+=R),fe&&(W=[ve-j,0],ve-=R)),V=[G,ve],A.get("inverse")&&V.reverse(),{viewRect:x,mainLength:F,orient:O,rotation:N[O],labelRotation:B,labelPosOpt:T,labelAlign:A.get("label.align")||C[O],labelBaseline:A.get("label.verticalAlign")||A.get("label.baseline")||_[O],playPosition:U,prevBtnPosition:H,nextBtnPosition:W,axisExtent:V,controlSize:j,controlGap:K}},_position:function(A,S){var T=this._mainGroup,O=this._labelGroup,x=A.viewRect;if(A.orient==="vertical"){var C=y.create(),_=x.x,N=x.y+x.height;y.translate(C,C,[-_,-N]),y.rotate(C,C,-s/2),y.translate(C,C,[_,N]),x=x.clone(),x.applyTransform(C)}var F=H(x),k=H(T.getBoundingRect()),P=H(O.getBoundingRect()),j=T.position,K=O.position;K[0]=j[0]=F[0][0];var R=A.labelPosOpt;if(isNaN(R)){var B=R==="+"?0:1;W(j,k,F,1,B),W(K,P,F,1,1-B)}else{var B=R>=0?0:1;W(j,k,F,1,B),K[1]=j[1]+R}T.attr("position",j),O.attr("position",K),T.rotation=O.rotation=A.rotation,U(T),U(O);function U(V){var z=V.position;V.origin=[F[0][0]-z[0],F[1][0]-z[1]]}function H(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function W(V,z,X,q,fe){V[q]+=X[q][fe]-z[q][fe]}},_createAxis:function(A,S){var T=S.getData(),O=S.get("axisType"),x=r.createScaleByModel(S,O);x.getTicks=function(){return T.mapArray(["value"],function(N){return N})};var C=T.getDataExtent("value");x.setExtent(C[0],C[1]),x.niceTicks();var _=new u("value",x,A.axisExtent,O);return _.model=S,_},_createGroup:function(A){var S=this["_"+A]=new p.Group;return this.group.add(S),S},_renderAxisLine:function(A,S,T,O){var x=T.getExtent();if(!O.get("lineStyle.show"))return;S.add(new p.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:g.extend({lineCap:"round"},O.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(A,S,T,O){var x=O.getData(),C=T.scale.getTicks();t(C,function(_){var N=T.dataToCoord(_),F=x.getItemModel(_),k=F.getModel("itemStyle"),P=F.getModel("emphasis.itemStyle"),j={position:[N,0],onclick:l(this._changeTimeline,this,_)},K=b(F,k,S,j);p.setHoverStyle(K,P.getItemStyle()),F.get("tooltip")?(K.dataIndex=_,K.dataModel=O):K.dataIndex=K.dataModel=null},this)},_renderAxisLabel:function(A,S,T,O){var x=T.getLabelModel();if(!x.get("show"))return;var C=O.getData(),_=T.getViewLabels();t(_,function(N){var F=N.tickValue,k=C.getItemModel(F),P=k.getModel("label"),j=k.getModel("emphasis.label"),K=T.dataToCoord(N.tickValue),R=new p.Text({position:[K,0],rotation:A.labelRotation-A.rotation,onclick:l(this._changeTimeline,this,F),silent:!1});p.setTextStyle(R.style,P,{text:N.formattedLabel,textAlign:A.labelAlign,textVerticalAlign:A.labelBaseline}),S.add(R),p.setHoverStyle(R,p.setTextStyle({},j))},this)},_renderControl:function(A,S,T,O){var x=A.controlSize,C=A.rotation,_=O.getModel("controlStyle").getItemStyle(),N=O.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-x/2,x,x],k=O.getPlayState(),P=O.get("inverse",!0);j(A.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,P?"-":"+")),j(A.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,P?"+":"-")),j(A.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!k),!0);function j(K,R,B,U){if(!K)return;var H={position:K,origin:[x/2,0],rotation:U?-C:0,rectHover:!0,style:_,onclick:B},W=w(O,R,F,H);S.add(W),p.setHoverStyle(W,N)}},_renderCurrentPointer:function(A,S,T,O){var x=O.getData(),C=O.getCurrentIndex(),_=x.getItemModel(C).getModel("checkpointStyle"),N=this,F={onCreate:function(k){k.draggable=!0,k.drift=l(N._handlePointerDrag,N),k.ondragend=l(N._handlePointerDragend,N),E(k,C,T,O,!0)},onUpdate:function(k){E(k,C,T,O)}};this._currentPointer=b(_,_,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(A){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:A,from:this.uid})},_handlePointerDrag:function(A,S,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(A){this._pointerChangeTimeline([A.offsetX,A.offsetY],!0)},_pointerChangeTimeline:function(A,S){var T=this._toAxisCoord(A)[0],O=this._axis,x=a.asc(O.getExtent().slice());T>x[1]&&(T=x[1]),T<x[0]&&(T=x[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var C=this._findNearestTick(T),_=this.model;(S||C!==_.getCurrentIndex()&&_.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(A,this),this.model.get("playInterval")));function A(){var S=this.model;this._changeTimeline(S.getCurrentIndex()+(S.get("rewind",!0)?-1:1))}},_toAxisCoord:function(A){var S=this._mainGroup.getLocalTransform();return p.applyTransform(A,S,!0)},_findNearestTick:function(A){var S=this.model.getData(),T=Infinity,O,x=this._axis;return S.each(["value"],function(C,_){var N=x.dataToCoord(C),F=Math.abs(N-A);F<T&&(T=F,O=_)}),O},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(A){var S=this.model.getCurrentIndex();A==="+"?A=S+1:A==="-"&&(A=S-1),this.api.dispatchAction({type:"timelineChange",currentIndex:A,from:this.uid})}});function m(A,S){return v.getLayoutRect(A.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()},A.get("padding"))}function w(A,S,T,O){var x=p.makePath(A.get(S).replace(/^path:\/\//,""),g.clone(O||{}),new f(T[0],T[1],T[2],T[3]),"center");return x}function b(A,S,T,O,x,C){var _=S.get("color");if(x)x.setColor(_),T.add(x),C&&C.onUpdate(x);else{var N=A.get("symbol");x=i(N,-1,-1,2,2,_),x.setStyle("strokeNoScale",!0),T.add(x),C&&C.onCreate(x)}var F=S.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(F),O=g.merge({rectHover:!0,z2:100},O,!0);var k=A.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,O.scale=k;var P=A.get("symbolOffset");if(P){var j=O.position=O.position||[0,0];j[0]+=a.parsePercent(P[0],k[0]),j[1]+=a.parsePercent(P[1],k[1])}var K=A.get("symbolRotate");return O.rotation=(K||0)*Math.PI/180||0,x.attr(O),x.updateTransform(),x}function E(A,S,T,O,x){if(A.dragging)return;var C=O.getModel("checkpointStyle"),_=T.dataToCoord(O.getData().get(["value"],S));x||!C.get("animation",!0)?A.attr({position:[_,0]}):(A.stopAnimation(!0),A.animateTo({position:[_,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}D.exports=d},NJEC:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("TSYQ"),o=e.n(u),i=e("sKbD"),r=e.n(i),a=e("4IlW"),c=e("3S7+"),n=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),s=e("ZvpZ"),d=e("H84U"),m=e("bogI"),w=e("0n0R"),b=void 0,E=function(S,T){var O={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&T.indexOf(x)<0&&(O[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(S);C<x.length;C++)T.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(S,x[C])&&(O[x[C]]=S[x[C]]);return O},A=v.forwardRef(function(S,T){var O=v.useState(S.visible),x=p()(O,2),C=x[0],_=x[1];v.useEffect(function(){"visible"in S&&_(S.visible)},[S.visible]),v.useEffect(function(){"defaultVisible"in S&&_(S.defaultVisible)},[S.defaultVisible]);var N=function(Se,ge){"visible"in S||_(Se),S.onVisibleChange&&S.onVisibleChange(Se,ge)},F=function(Se){N(!1,Se),S.onConfirm&&S.onConfirm.call(b,Se)},k=function(Se){N(!1,Se),S.onCancel&&S.onCancel.call(b,Se)},P=function(Se){Se.keyCode===a.a.ESC&&C&&N(!1,Se)},j=function(Se){var ge=S.disabled;if(ge)return;N(Se)},K=function(Se,ge){var Pe=S.okButtonProps,Ge=S.cancelButtonProps,pt=S.title,Te=S.cancelText,xe=S.okText,lt=S.okType,Ie=S.icon;return v.createElement("div",{className:"".concat(Se,"-inner-content")},v.createElement("div",{className:"".concat(Se,"-message")},Ie,v.createElement("div",{className:"".concat(Se,"-message-title")},Object(m.a)(pt))),v.createElement("div",{className:"".concat(Se,"-buttons")},v.createElement(n.a,f()({onClick:k,size:"small"},Ge),Te||ge.cancelText),v.createElement(n.a,f()({onClick:F},Object(l.a)(lt),{size:"small"},Pe),xe||ge.okText)))},R=v.useContext(d.b),B=R.getPrefixCls,U=S.prefixCls,H=S.placement,W=S.children,V=S.overlayClassName,z=E(S,["prefixCls","placement","children","overlayClassName"]),X=B("popover",U),q=B("popconfirm",U),fe=o()(q,V),G=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ve){return K(X,ve)});return v.createElement(c.a,f()({},z,{prefixCls:X,placement:H,onVisibleChange:j,visible:C,overlay:G,overlayClassName:fe,ref:T}),Object(w.a)(W,{onKeyDown:function(Se){var ge,Pe;(Pe=W==null?void 0:(ge=W.props).onKeyDown)===null||Pe===void 0||Pe.call(ge,Se),P(Se)}}))});A.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(r.a,null),disabled:!1},I.a=A},NKxu:function(D,I,e){var g=e("lSCD"),f=e("E2jh"),y=e("GoyQ"),p=e("3Fdi"),v=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,u=Function.prototype,o=Object.prototype,i=u.toString,r=o.hasOwnProperty,a=RegExp("^"+i.call(r).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function c(n){if(!y(n)||f(n))return!1;var l=g(n)?a:h;return l.test(p(n))}D.exports=c},NUBc:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("wx14"),o=e("rePB"),i=e("1OyB"),r=e("vuIU"),a=e("Ji7U"),c=e("md7G"),n=e("foSv"),l=e("TSYQ"),t=e.n(l),s=function(lt){var Ie,de="".concat(lt.rootPrefixCls,"-item"),ee=t()(de,"".concat(de,"-").concat(lt.page),(Ie={},Object(o.a)(Ie,"".concat(de,"-active"),lt.active),Object(o.a)(Ie,lt.className,!!lt.className),Object(o.a)(Ie,"".concat(de,"-disabled"),!lt.page),Ie)),se=function(){lt.onClick(lt.page)},ke=function(ze){lt.onKeyPress(ze,lt.onClick,lt.page)};return h.a.createElement("li",{title:lt.showTitle?lt.page:null,className:ee,onClick:se,onKeyPress:ke,tabIndex:"0"},lt.itemRender(lt.page,"page",h.a.createElement("a",{rel:"nofollow"},lt.page)))},d=s,m={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function w(xe){var lt=b();return function(){var de=Object(n.a)(xe),ee;if(lt){var se=Object(n.a)(this).constructor;ee=Reflect.construct(de,arguments,se)}else ee=de.apply(this,arguments);return Object(c.a)(this,ee)}}function b(){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(xe){return!1}}var E=function(xe){Object(a.a)(Ie,xe);var lt=w(Ie);function Ie(){var de;Object(i.a)(this,Ie);for(var ee=arguments.length,se=new Array(ee),ke=0;ke<ee;ke++)se[ke]=arguments[ke];return de=lt.call.apply(lt,[this].concat(se)),de.state={goInputText:""},de.buildOptionText=function(Ce){return"".concat(Ce," ").concat(de.props.locale.items_per_page)},de.changeSize=function(Ce){de.props.changeSize(Number(Ce))},de.handleChange=function(Ce){de.setState({goInputText:Ce.target.value})},de.handleBlur=function(Ce){var ze=de.props,_e=ze.goButton,ae=ze.quickGo,me=ze.rootPrefixCls,Oe=de.state.goInputText;if(_e||Oe==="")return;if(Ce.relatedTarget&&(Ce.relatedTarget.className.indexOf("".concat(me,"-prev"))>=0||Ce.relatedTarget.className.indexOf("".concat(me,"-next"))>=0))return;de.setState({goInputText:""}),ae(de.getValidValue())},de.go=function(Ce){var ze=de.state.goInputText;if(ze==="")return;(Ce.keyCode===m.ENTER||Ce.type==="click")&&(de.setState({goInputText:""}),de.props.quickGo(de.getValidValue()))},de}return Object(r.a)(Ie,[{key:"getValidValue",value:function(){var ee=this.state,se=ee.goInputText,ke=ee.current;return!se||isNaN(se)?ke:Number(se)}},{key:"getPageSizeOptions",value:function(){var ee=this.props,se=ee.pageSize,ke=ee.pageSizeOptions;return ke.some(function(Ce){return Ce.toString()===se.toString()})?ke:ke.concat([se.toString()]).sort(function(Ce,ze){var _e=isNaN(Number(Ce))?0:Number(Ce),ae=isNaN(Number(ze))?0:Number(ze);return _e-ae})}},{key:"render",value:function(){var ee=this,se=this.props,ke=se.pageSize,Ce=se.locale,ze=se.rootPrefixCls,_e=se.changeSize,ae=se.quickGo,me=se.goButton,Oe=se.selectComponentClass,Ze=se.buildOptionText,vt=se.selectPrefixCls,Ct=se.disabled,Be=this.state.goInputText,Rt="".concat(ze,"-options"),He=Oe,wt=null,Ye=null,et=null;if(!_e&&!ae)return null;var rt=this.getPageSizeOptions();if(_e&&He){var st=rt.map(function(Ve,ie){return h.a.createElement(He.Option,{key:ie,value:Ve},(Ze||ee.buildOptionText)(Ve))});wt=h.a.createElement(He,{disabled:Ct,prefixCls:vt,showSearch:!1,className:"".concat(Rt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ke||rt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ie){return ie.parentNode}},st)}return ae&&(me&&(et=typeof me=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ct,className:"".concat(Rt,"-quick-jumper-button")},Ce.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},me)),Ye=h.a.createElement("div",{className:"".concat(Rt,"-quick-jumper")},Ce.jump_to,h.a.createElement("input",{disabled:Ct,type:"text",value:Be,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ce.page,et)),h.a.createElement("li",{className:"".concat(Rt)},wt,Ye)}}]),Ie}(h.a.Component);E.defaultProps={pageSizeOptions:["10","20","50","100"]};var A=E,S=e("N2Kk");function T(xe,lt){var Ie=Object.keys(xe);if(Object.getOwnPropertySymbols){var de=Object.getOwnPropertySymbols(xe);lt&&(de=de.filter(function(ee){return Object.getOwnPropertyDescriptor(xe,ee).enumerable})),Ie.push.apply(Ie,de)}return Ie}function O(xe){for(var lt=1;lt<arguments.length;lt++){var Ie=arguments[lt]!=null?arguments[lt]:{};lt%2?T(Object(Ie),!0).forEach(function(de){Object(o.a)(xe,de,Ie[de])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xe,Object.getOwnPropertyDescriptors(Ie)):T(Object(Ie)).forEach(function(de){Object.defineProperty(xe,de,Object.getOwnPropertyDescriptor(Ie,de))})}return xe}function x(xe){var lt=C();return function(){var de=Object(n.a)(xe),ee;if(lt){var se=Object(n.a)(this).constructor;ee=Reflect.construct(de,arguments,se)}else ee=de.apply(this,arguments);return Object(c.a)(this,ee)}}function C(){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(xe){return!1}}function _(){}function N(xe){return typeof xe=="number"&&isFinite(xe)&&Math.floor(xe)===xe}function F(xe,lt,Ie){return Ie}function k(xe,lt,Ie){var de=typeof xe=="undefined"?lt.pageSize:xe;return Math.floor((Ie.total-1)/de)+1}var P=function(xe){Object(a.a)(Ie,xe);var lt=x(Ie);function Ie(de){var ee;Object(i.a)(this,Ie),ee=lt.call(this,de),ee.getJumpPrevPage=function(){return Math.max(1,ee.state.current-(ee.props.showLessItems?3:5))},ee.getJumpNextPage=function(){return Math.min(k(void 0,ee.state,ee.props),ee.state.current+(ee.props.showLessItems?3:5))},ee.getItemIcon=function(_e,ae){var me=ee.props.prefixCls,Oe=_e||h.a.createElement("button",{type:"button","aria-label":ae,className:"".concat(me,"-item-link")});return typeof _e=="function"&&(Oe=h.a.createElement(_e,O({},ee.props))),Oe},ee.savePaginationNode=function(_e){ee.paginationNode=_e},ee.isValid=function(_e){return N(_e)&&_e!==ee.state.current},ee.shouldDisplayQuickJumper=function(){var _e=ee.props,ae=_e.showQuickJumper,me=_e.pageSize,Oe=_e.total;return Oe<=me?!1:ae},ee.handleKeyDown=function(_e){(_e.keyCode===m.ARROW_UP||_e.keyCode===m.ARROW_DOWN)&&_e.preventDefault()},ee.handleKeyUp=function(_e){var ae=ee.getValidValue(_e),me=ee.state.currentInputValue;ae!==me&&ee.setState({currentInputValue:ae}),_e.keyCode===m.ENTER?ee.handleChange(ae):_e.keyCode===m.ARROW_UP?ee.handleChange(ae-1):_e.keyCode===m.ARROW_DOWN&&ee.handleChange(ae+1)},ee.changePageSize=function(_e){var ae=ee.state.current,me=k(_e,ee.state,ee.props);ae=ae>me?me:ae,me===0&&(ae=ee.state.current),typeof _e=="number"&&("pageSize"in ee.props||ee.setState({pageSize:_e}),"current"in ee.props||ee.setState({current:ae,currentInputValue:ae})),ee.props.onShowSizeChange(ae,_e),"onChange"in ee.props&&ee.props.onChange&&ee.props.onChange(ae,_e)},ee.handleChange=function(_e){var ae=ee.props.disabled,me=_e;if(ee.isValid(me)&&!ae){var Oe=k(void 0,ee.state,ee.props);me>Oe?me=Oe:me<1&&(me=1),"current"in ee.props||ee.setState({current:me,currentInputValue:me});var Ze=ee.state.pageSize;return ee.props.onChange(me,Ze),me}return ee.state.current},ee.prev=function(){ee.hasPrev()&&ee.handleChange(ee.state.current-1)},ee.next=function(){ee.hasNext()&&ee.handleChange(ee.state.current+1)},ee.jumpPrev=function(){ee.handleChange(ee.getJumpPrevPage())},ee.jumpNext=function(){ee.handleChange(ee.getJumpNextPage())},ee.hasPrev=function(){return ee.state.current>1},ee.hasNext=function(){return ee.state.current<k(void 0,ee.state,ee.props)},ee.runIfEnter=function(_e,ae){if(_e.key==="Enter"||_e.charCode===13){for(var me=arguments.length,Oe=new Array(me>2?me-2:0),Ze=2;Ze<me;Ze++)Oe[Ze-2]=arguments[Ze];ae.apply(void 0,Oe)}},ee.runIfEnterPrev=function(_e){ee.runIfEnter(_e,ee.prev)},ee.runIfEnterNext=function(_e){ee.runIfEnter(_e,ee.next)},ee.runIfEnterJumpPrev=function(_e){ee.runIfEnter(_e,ee.jumpPrev)},ee.runIfEnterJumpNext=function(_e){ee.runIfEnter(_e,ee.jumpNext)},ee.handleGoTO=function(_e){(_e.keyCode===m.ENTER||_e.type==="click")&&ee.handleChange(ee.state.currentInputValue)};var se=de.onChange!==_,ke="current"in de;ke&&!se&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ce=de.defaultCurrent;"current"in de&&(Ce=de.current);var ze=de.defaultPageSize;return"pageSize"in de&&(ze=de.pageSize),Ce=Math.min(Ce,k(ze,void 0,de)),ee.state={current:Ce,currentInputValue:Ce,pageSize:ze},ee}return Object(r.a)(Ie,[{key:"componentDidUpdate",value:function(ee,se){var ke=this.props.prefixCls;if(se.current!==this.state.current&&this.paginationNode){var Ce=this.paginationNode.querySelector(".".concat(ke,"-item-").concat(se.current));Ce&&document.activeElement===Ce&&Ce.blur()}}},{key:"getValidValue",value:function(ee){var se=ee.target.value,ke=k(void 0,this.state,this.props),Ce=this.state.currentInputValue,ze;return se===""?ze=se:isNaN(Number(se))?ze=Ce:se>=ke?ze=ke:ze=Number(se),ze}},{key:"getShowSizeChanger",value:function(){var ee=this.props,se=ee.showSizeChanger,ke=ee.total,Ce=ee.totalBoundaryShowSizeChanger;return typeof se!="undefined"?se:ke>Ce}},{key:"renderPrev",value:function(ee){var se=this.props,ke=se.prevIcon,Ce=se.itemRender,ze=Ce(ee,"prev",this.getItemIcon(ke,"prev page")),_e=!this.hasPrev();return Object(v.isValidElement)(ze)?Object(v.cloneElement)(ze,{disabled:_e}):ze}},{key:"renderNext",value:function(ee){var se=this.props,ke=se.nextIcon,Ce=se.itemRender,ze=Ce(ee,"next",this.getItemIcon(ke,"next page")),_e=!this.hasNext();return Object(v.isValidElement)(ze)?Object(v.cloneElement)(ze,{disabled:_e}):ze}},{key:"render",value:function(){var ee=this,se=this.props,ke=se.prefixCls,Ce=se.className,ze=se.style,_e=se.disabled,ae=se.hideOnSinglePage,me=se.total,Oe=se.locale,Ze=se.showQuickJumper,vt=se.showLessItems,Ct=se.showTitle,Be=se.showTotal,Rt=se.simple,He=se.itemRender,wt=se.showPrevNextJumpers,Ye=se.jumpPrevIcon,et=se.jumpNextIcon,rt=se.selectComponentClass,st=se.selectPrefixCls,Ve=se.pageSizeOptions,ie=this.state,$=ie.current,it=ie.pageSize,Qe=ie.currentInputValue;if(ae===!0&&me<=it)return null;var ye=k(void 0,this.state,this.props),Zt=[],dt=null,ct=null,yt=null,It=null,or=null,Bt=Ze&&Ze.goButton,Ae=vt?1:2,pe=$-1>0?$-1:0,he=$+1<ye?$+1:ye,le=Object.keys(this.props).reduce(function(be,Le){return(Le.substr(0,5)==="data-"||Le.substr(0,5)==="aria-"||Le==="role")&&(be[Le]=ee.props[Le]),be},{});if(Rt)return Bt&&(typeof Bt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Oe.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt),or=h.a.createElement("li",{title:Ct?"".concat(Oe.jump_to).concat($,"/").concat(ye):null,className:"".concat(ke,"-simple-pager")},or)),h.a.createElement("ul",Object(u.a)({className:t()(ke,"".concat(ke,"-simple"),Object(o.a)({},"".concat(ke,"-disabled"),_e),Ce),style:ze,ref:this.savePaginationNode},le),h.a.createElement("li",{title:Ct?Oe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ke,"-prev"),Object(o.a)({},"".concat(ke,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(pe)),h.a.createElement("li",{title:Ct?"".concat($,"/").concat(ye):null,className:"".concat(ke,"-simple-pager")},h.a.createElement("input",{type:"text",value:Qe,disabled:_e,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(ke,"-slash")},"/"),ye),h.a.createElement("li",{title:Ct?Oe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(ke,"-next"),Object(o.a)({},"".concat(ke,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(he)),or);if(ye<=3+Ae*2){var Ne={locale:Oe,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ct,itemRender:He};ye||Zt.push(h.a.createElement(d,Object(u.a)({},Ne,{key:"noPager",page:ye,className:"".concat(ke,"-disabled")})));for(var je=1;je<=ye;je+=1){var Ke=$===je;Zt.push(h.a.createElement(d,Object(u.a)({},Ne,{key:je,page:je,active:Ke})))}}else{var Xe=vt?Oe.prev_3:Oe.prev_5,Fe=vt?Oe.next_3:Oe.next_5;wt&&(dt=h.a.createElement("li",{title:Ct?Xe:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(ke,"-jump-prev"),Object(o.a)({},"".concat(ke,"-jump-prev-custom-icon"),!!Ye))},He(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ye,"prev page"))),ct=h.a.createElement("li",{title:Ct?Fe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(ke,"-jump-next"),Object(o.a)({},"".concat(ke,"-jump-next-custom-icon"),!!et))},He(this.getJumpNextPage(),"jump-next",this.getItemIcon(et,"next page")))),It=h.a.createElement(d,{locale:Oe,last:!0,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ye,page:ye,active:!1,showTitle:Ct,itemRender:He}),yt=h.a.createElement(d,{locale:Oe,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ct,itemRender:He});var nt=Math.max(1,$-Ae),At=Math.min($+Ae,ye);$-1<=Ae&&(At=1+Ae*2),ye-$<=Ae&&(nt=ye-Ae*2);for(var _t=nt;_t<=At;_t+=1){var ne=$===_t;Zt.push(h.a.createElement(d,{locale:Oe,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_t,page:_t,active:ne,showTitle:Ct,itemRender:He}))}$-1>=Ae*2&&$!==1+2&&(Zt[0]=Object(v.cloneElement)(Zt[0],{className:"".concat(ke,"-item-after-jump-prev")}),Zt.unshift(dt)),ye-$>=Ae*2&&$!==ye-2&&(Zt[Zt.length-1]=Object(v.cloneElement)(Zt[Zt.length-1],{className:"".concat(ke,"-item-before-jump-next")}),Zt.push(ct)),nt!==1&&Zt.unshift(yt),At!==ye&&Zt.push(It)}var ue=null;Be&&(ue=h.a.createElement("li",{className:"".concat(ke,"-total-text")},Be(me,[me===0?0:($-1)*it+1,$*it>me?me:$*it])));var Y=!this.hasPrev()||!ye,te=!this.hasNext()||!ye;return h.a.createElement("ul",Object(u.a)({className:t()(ke,Ce,Object(o.a)({},"".concat(ke,"-disabled"),_e)),style:ze,unselectable:"unselectable",ref:this.savePaginationNode},le),ue,h.a.createElement("li",{title:Ct?Oe.prev_page:null,onClick:this.prev,tabIndex:Y?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ke,"-prev"),Object(o.a)({},"".concat(ke,"-disabled"),Y)),"aria-disabled":Y},this.renderPrev(pe)),Zt,h.a.createElement("li",{title:Ct?Oe.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(ke,"-next"),Object(o.a)({},"".concat(ke,"-disabled"),te)),"aria-disabled":te},this.renderNext(he)),h.a.createElement(A,{disabled:_e,locale:Oe,rootPrefixCls:ke,selectComponentClass:rt,selectPrefixCls:st,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:$,pageSize:it,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Bt}))}}],[{key:"getDerivedStateFromProps",value:function(ee,se){var ke={};if("current"in ee&&(ke.current=ee.current,ee.current!==se.current&&(ke.currentInputValue=ke.current)),"pageSize"in ee&&ee.pageSize!==se.pageSize){var Ce=se.current,ze=k(ee.pageSize,se,ee);Ce=Ce>ze?ze:Ce,"current"in ee||(ke.current=Ce,ke.currentInputValue=Ce),ke.pageSize=ee.pageSize}return ke}}]),Ie}(h.a.Component);P.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:_,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:_,locale:S.a,style:{},itemRender:F,totalBoundaryShowSizeChanger:50};var j=P,K=e("H4fg"),R=e("DFhj"),B=e.n(R),U=e("fEPi"),H=e.n(U),W=e("u9fO"),V=e.n(W),z=e("mO/d"),X=e.n(z),q=e("2fM7"),fe=function(lt){return v.createElement(q.a,p()({size:"small"},lt))};fe.Option=q.a.Option;var G=fe,ve=e("YMnH"),Se=e("H84U"),ge=e("5OYt"),Pe=function(xe,lt){var Ie={};for(var de in xe)Object.prototype.hasOwnProperty.call(xe,de)&<.indexOf(de)<0&&(Ie[de]=xe[de]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,de=Object.getOwnPropertySymbols(xe);ee<de.length;ee++)lt.indexOf(de[ee])<0&&Object.prototype.propertyIsEnumerable.call(xe,de[ee])&&(Ie[de[ee]]=xe[de[ee]]);return Ie},Ge=function(lt){var Ie=lt.prefixCls,de=lt.selectPrefixCls,ee=lt.className,se=lt.size,ke=lt.locale,Ce=Pe(lt,["prefixCls","selectPrefixCls","className","size","locale"]),ze=Object(ge.a)(),_e=ze.xs,ae=v.useContext(Se.b),me=ae.getPrefixCls,Oe=ae.direction,Ze=me("pagination",Ie),vt=function(){var Rt=v.createElement("span",{className:"".concat(Ze,"-item-ellipsis")},"\u2022\u2022\u2022"),He=v.createElement("button",{className:"".concat(Ze,"-item-link"),type:"button",tabIndex:-1},v.createElement(B.a,null)),wt=v.createElement("button",{className:"".concat(Ze,"-item-link"),type:"button",tabIndex:-1},v.createElement(H.a,null)),Ye=v.createElement("a",{className:"".concat(Ze,"-item-link")},v.createElement("div",{className:"".concat(Ze,"-item-container")},v.createElement(V.a,{className:"".concat(Ze,"-item-link-icon")}),Rt)),et=v.createElement("a",{className:"".concat(Ze,"-item-link")},v.createElement("div",{className:"".concat(Ze,"-item-container")},v.createElement(X.a,{className:"".concat(Ze,"-item-link-icon")}),Rt));if(Oe==="rtl"){var rt=[wt,He];He=rt[0],wt=rt[1];var st=[et,Ye];Ye=st[0],et=st[1]}return{prevIcon:He,nextIcon:wt,jumpPrevIcon:Ye,jumpNextIcon:et}},Ct=function(Rt){var He=p()(p()({},Rt),ke),wt=se==="small"||!!(_e&&!se&&Ce.responsive),Ye=me("select",de),et=t()(ee,f()({mini:wt},"".concat(Ze,"-rtl"),Oe==="rtl"));return v.createElement(j,p()({},Ce,{prefixCls:Ze,selectPrefixCls:Ye},vt(),{className:et,selectComponentClass:wt?G:q.a,locale:He}))};return v.createElement(ve.a,{componentName:"Pagination",defaultLocale:K.a},Ct)},pt=Ge,Te=I.a=pt},NohK:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=function(y){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var h=this,u=arguments.length,o=new Array(u),i=0;i<u;i++)o[i]=arguments[i];clearTimeout(v),v=setTimeout(function(){y.apply(h,o)},p)}};I.default=g},Npjl:function(D,I){function e(g,f){return g==null?void 0:g[f]}D.exports=e},Nu4q:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:function(y,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:y}},{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:y}}]}},name:"picture",theme:"twotone"};I.default=g},NvD2:function(D,I,e){"use strict";e.d(I,"a",function(){return h});var g=e("Kwbf");function f(u,o){var i=new Set;return u.forEach(function(r){o.has(r)||i.add(r)}),i}function y(u){var o=u||{},i=o.disabled,r=o.disableCheckbox,a=o.checkable;return!!(i||r)||a===!1}function p(u,o,i,r){for(var a=new Set(u),c=new Set,n=0;n<=i;n+=1){var l=o.get(n)||new Set;l.forEach(function(m){var w=m.key,b=m.node,E=m.children,A=E===void 0?[]:E;a.has(w)&&!r(b)&&A.filter(function(S){return!r(S.node)}).forEach(function(S){a.add(S.key)})})}for(var t=new Set,s=i;s>=0;s-=1){var d=o.get(s)||new Set;d.forEach(function(m){var w=m.parent,b=m.node;if(r(b)||!m.parent||t.has(m.parent.key))return;if(r(m.parent.node)){t.add(w.key);return}var E=!0,A=!1;(w.children||[]).filter(function(S){return!r(S.node)}).forEach(function(S){var T=S.key,O=a.has(T);E&&!O&&(E=!1),!A&&(O||c.has(T))&&(A=!0)}),E&&a.add(w.key),A&&c.add(w.key),t.add(w.key)})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(f(c,a))}}function v(u,o,i,r,a){for(var c=new Set(u),n=new Set(o),l=0;l<=r;l+=1){var t=i.get(l)||new Set;t.forEach(function(w){var b=w.key,E=w.node,A=w.children,S=A===void 0?[]:A;!c.has(b)&&!n.has(b)&&!a(E)&&S.filter(function(T){return!a(T.node)}).forEach(function(T){c.delete(T.key)})})}n=new Set;for(var s=new Set,d=r;d>=0;d-=1){var m=i.get(d)||new Set;m.forEach(function(w){var b=w.parent,E=w.node;if(a(E)||!w.parent||s.has(w.parent.key))return;if(a(w.parent.node)){s.add(b.key);return}var A=!0,S=!1;(b.children||[]).filter(function(T){return!a(T.node)}).forEach(function(T){var O=T.key,x=c.has(O);A&&!x&&(A=!1),!S&&(x||n.has(O))&&(S=!0)}),A||c.delete(b.key),S&&n.add(b.key),s.add(b.key)})}return{checkedKeys:Array.from(c),halfCheckedKeys:Array.from(f(n,c))}}function h(u,o,i,r){var a=[],c;r?c=r:c=y;var n=new Set(u.filter(function(d){var m=!!i[d];return m||a.push(d),m})),l=new Map,t=0;Object.keys(i).forEach(function(d){var m=i[d],w=m.level,b=l.get(w);b||(b=new Set,l.set(w,b)),b.add(m),t=Math.max(t,w)}),Object(g.a)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var s;return o===!0?s=p(n,l,t,c):s=v(n,o.halfCheckedKeys,l,t,c),s}},"O/iA":function(D,I,e){},O3gP:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("O/iA"),p=e.n(y),v=e("OaEy")},OELB:function(D,I,e){var g=e("bYtY"),f=1e-4;function y(S){return S.replace(/^\s+|\s+$/g,"")}function p(S,T,O,x){var C=T[1]-T[0],_=O[1]-O[0];if(C===0)return _===0?O[0]:(O[0]+O[1])/2;if(x)if(C>0){if(S<=T[0])return O[0];if(S>=T[1])return O[1]}else{if(S>=T[0])return O[0];if(S<=T[1])return O[1]}else{if(S===T[0])return O[0];if(S===T[1])return O[1]}return(S-T[0])/C*_+O[0]}function v(S,T){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"?y(S).match(/%$/)?parseFloat(S)/100*T:parseFloat(S):S==null?NaN:+S}function h(S,T,O){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),S=(+S).toFixed(T),O?S:+S}function u(S){return S.sort(function(T,O){return T-O}),S}function o(S){if(S=+S,isNaN(S))return 0;for(var T=1,O=0;Math.round(S*T)/T!==S;)T*=10,O++;return O}function i(S){var T=S.toString(),O=T.indexOf("e");if(O>0){var x=+T.slice(O+1);return x<0?-x:0}else{var C=T.indexOf(".");return C<0?0:T.length-1-C}}function r(S,T){var O=Math.log,x=Math.LN10,C=Math.floor(O(S[1]-S[0])/x),_=Math.round(O(Math.abs(T[1]-T[0]))/x),N=Math.min(Math.max(-C+_,0),20);return isFinite(N)?N:20}function a(S,T,O){if(!S[T])return 0;var x=g.reduce(S,function(U,H){return U+(isNaN(H)?0:H)},0);if(x===0)return 0;for(var C=Math.pow(10,O),_=g.map(S,function(U){return(isNaN(U)?0:U)/x*C*100}),N=C*100,F=g.map(_,function(U){return Math.floor(U)}),k=g.reduce(F,function(U,H){return U+H},0),P=g.map(_,function(U,H){return U-F[H]});k<N;){for(var j=Number.NEGATIVE_INFINITY,K=null,R=0,B=P.length;R<B;++R)P[R]>j&&(j=P[R],K=R);++F[K],P[K]=0,++k}return F[T]/C}var c=9007199254740991;function n(S){var T=Math.PI*2;return(S%T+T)%T}function l(S){return S>-f&&S<f}var t=/^(?:(\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 T=t.exec(S);if(!T)return new Date(NaN);if(T[8]){var O=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(O-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,O,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(S==null)return new Date(NaN);return new Date(Math.round(S))}function d(S){return Math.pow(10,m(S))}function m(S){if(S===0)return 0;var T=Math.floor(Math.log(S)/Math.LN10);return S/Math.pow(10,T)>=10&&T++,T}function w(S,T){var O=m(S),x=Math.pow(10,O),C=S/x,_;return T?C<1.5?_=1:C<2.5?_=2:C<4?_=3:C<7?_=5:_=10:C<1?_=1:C<2?_=2:C<3?_=3:C<5?_=5:_=10,S=_*x,O>=-20?+S.toFixed(O<0?-O:0):S}function b(S,T){var O=(S.length-1)*T+1,x=Math.floor(O),C=+S[x-1],_=O-x;return _?C+_*(S[x]-C):C}function E(S){S.sort(function(k,P){return F(k,P,0)?-1:1});for(var T=-Infinity,O=1,x=0;x<S.length;){for(var C=S[x].interval,_=S[x].close,N=0;N<2;N++)C[N]<=T&&(C[N]=T,_[N]=N?1:1-O),T=C[N],O=_[N];C[0]===C[1]&&_[0]*_[1]!==1?S.splice(x,1):x++}return S;function F(k,P,j){return k.interval[j]<P.interval[j]||k.interval[j]===P.interval[j]&&(k.close[j]-P.close[j]===(j?-1:1)||!j&&F(k,P,1))}}function A(S){return S-parseFloat(S)>=0}I.linearMap=p,I.parsePercent=v,I.round=h,I.asc=u,I.getPrecision=o,I.getPrecisionSafe=i,I.getPixelPrecision=r,I.getPercentWithPrecision=a,I.MAX_SAFE_INTEGER=c,I.remRadian=n,I.isRadianAroundZero=l,I.parseDate=s,I.quantity=d,I.quantityExponent=m,I.nice=w,I.quantile=b,I.reformIntervals=E,I.isNumeric=A},OKJ2:function(D,I,e){var g=e("KxfA"),f=g.retrieveRawValue,y=e("7aKB"),p=y.getTooltipMarker,v=y.formatTpl,h=e("4NO4"),u=h.getTooltipRenderMode,o=/\{@(.+?)\}/g,i={getDataParams:function(r,a){var c=this.getData(a),n=this.getRawValue(r,a),l=c.getRawIndex(r),t=c.getName(r),s=c.getRawDataItem(r),d=c.getItemVisual(r,"color"),m=c.getItemVisual(r,"borderColor"),w=this.ecModel.getComponent("tooltip"),b=w&&w.get("renderMode"),E=u(b),A=this.mainType,S=A==="series",T=c.userOutput;return{componentType:A,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:t,dataIndex:l,data:s,dataType:a,value:n,color:d,borderColor:m,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:p({color:d,renderMode:E}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,a,c,n,l){a=a||"normal";var t=this.getData(c),s=t.getItemModel(r),d=this.getDataParams(r,c);n!=null&&d.value instanceof Array&&(d.value=d.value[n]);var m=s.get(a==="normal"?[l||"label","formatter"]:[a,l||"label","formatter"]);if(typeof m=="function")return d.status=a,d.dimensionIndex=n,m(d);if(typeof m=="string"){var w=v(m,d);return w.replace(o,function(b,E){var A=E.length;return E.charAt(0)==="["&&E.charAt(A-1)==="]"&&(E=+E.slice(1,A-1)),f(t,r,E)})}},getRawValue:function(r,a){return f(this.getData(a),r)},formatTooltip:function(){}};D.exports=i},OPEp:function(D,I,e){},OQFs:function(D,I,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getLineStyle:function(p){var v=f(this,p);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(p){p==null&&(p=1);var v=this.get("type"),h=Math.max(p,2),u=p*4;return v==="solid"||v==null?!1:v==="dashed"?[u,u]:[h,h]}};D.exports=y},OS9S:function(D,I,e){var g=e("bYtY"),f=g.inherits,y=e("Gev7"),p=e("mFDi");function v(o){y.call(this,o),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(o,i){i?this._temporaryDisplayables.push(o):this._displayables.push(o),this.dirty()},v.prototype.addDisplayables=function(o,i){i=i||!1;for(var r=0;r<o.length;r++)this.addDisplayable(o[r],i)},v.prototype.eachPendingDisplayable=function(o){for(var i=this._cursor;i<this._displayables.length;i++)o&&o(this._displayables[i]);for(var i=0;i<this._temporaryDisplayables.length;i++)o&&o(this._temporaryDisplayables[i])},v.prototype.update=function(){this.updateTransform();for(var o=this._cursor;o<this._displayables.length;o++){var i=this._displayables[o];i.parent=this,i.update(),i.parent=null}for(var o=0;o<this._temporaryDisplayables.length;o++){var i=this._temporaryDisplayables[o];i.parent=this,i.update(),i.parent=null}},v.prototype.brush=function(o,i){for(var r=this._cursor;r<this._displayables.length;r++){var a=this._displayables[r];a.beforeBrush&&a.beforeBrush(o),a.brush(o,r===this._cursor?null:this._displayables[r-1]),a.afterBrush&&a.afterBrush(o)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var a=this._temporaryDisplayables[r];a.beforeBrush&&a.beforeBrush(o),a.brush(o,r===0?null:this._temporaryDisplayables[r-1]),a.afterBrush&&a.afterBrush(o)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var o=new p(Infinity,Infinity,-Infinity,-Infinity),i=0;i<this._displayables.length;i++){var r=this._displayables[i],a=r.getBoundingRect().clone();r.needLocalTransform()&&a.applyTransform(r.getLocalTransform(h)),o.union(a)}this._rect=o}return this._rect},v.prototype.contain=function(o,i){var r=this.transformCoordToLocal(o,i),a=this.getBoundingRect();if(a.contain(r[0],r[1]))for(var c=0;c<this._displayables.length;c++){var n=this._displayables[c];if(n.contain(o,i))return!0}return!1},f(v,y);var u=v;D.exports=u},OUJF:function(D,I,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(y,p){var v=p.getComponent("timeline");return v&&y.currentIndex!=null&&(v.setCurrentIndex(y.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),p.resetOption("timeline"),f.defaults({currentIndex:v.option.currentIndex},y)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(y,p){var v=p.getComponent("timeline");v&&y.playState!=null&&v.setPlayState(y.playState)})},OXB0:function(D,I,e){var g=e("T4UG"),f=e("MwEJ"),y=e("IDmD"),p=g.extend({type:"series.heatmap",getInitialData:function(v,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=y.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}});D.exports=p},OZM5:function(D,I,e){"use strict";e.d(I,"b",function(){return r}),e.d(I,"a",function(){return a}),e.d(I,"k",function(){return c}),e.d(I,"h",function(){return n}),e.d(I,"i",function(){return l}),e.d(I,"g",function(){return t}),e.d(I,"c",function(){return s}),e.d(I,"d",function(){return d}),e.d(I,"j",function(){return b}),e.d(I,"e",function(){return E}),e.d(I,"f",function(){return A});var g=e("KQm4"),f=e("U8pU"),y=e("Ff2n"),p=e("q1tI"),v=e.n(p),h=e("Kwbf"),u=e("WaYH"),o=.25,i=2;function r(S,T){var O=S.slice(),x=O.indexOf(T);return x>=0&&O.splice(x,1),O}function a(S,T){var O=S.slice();return O.indexOf(T)===-1&&O.push(T),O}function c(S){return S.split("-")}function n(S,T){return"".concat(S,"-").concat(T)}function l(S){return S&&S.type&&S.type.isTreeNode}function t(S,T){var O=[S],x=T[S];function C(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_.forEach(function(N){var F=N.key,k=N.children;O.push(F),C(k)})}return C(x.children),O}function s(S,T){var O=S.clientY,x=T.selectHandle.getBoundingClientRect(),C=x.top,_=x.bottom,N=x.height,F=Math.max(N*o,i);return O<=C+F?-1:O>=_-F?1:0}function d(S,T){if(!S)return;var O=T.multiple;return O?S.slice():S.length?[S[0]]:S}var m=function(T){return T};function w(S,T){if(!S)return[];var O=T||{},x=O.processProps,C=x===void 0?m:x,_=Array.isArray(S)?S:[S];return _.map(function(N){var F=N.children,k=Object(y.a)(N,["children"]),P=w(F,T);return v.a.createElement(u.a,Object.assign({},C(k)),P)})}function b(S){if(!S)return null;var T;if(Array.isArray(S))T={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(f.a)(S)==="object")T={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function E(S,T){var O=new Set;function x(C){if(O.has(C))return;var _=T[C];if(!_)return;O.add(C);var N=_.parent,F=_.node;if(F.disabled)return;N&&x(N.key)}return(S||[]).forEach(function(C){x(C)}),Object(g.a)(O)}function A(S){var T={};return Object.keys(S).forEach(function(O){(O.startsWith("data-")||O.startsWith("aria-"))&&(T[O]=S[O])}),T}},OaEy:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bKJz"),p=e.n(y),v=e("R9oj")},"Of+w":function(D,I,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"WeakMap");D.exports=y},Ol7k:function(D,I,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,I.a=g.b},OlYY:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("ItGF"),h=e("4NO4"),u=e("UOVi"),o=e("zDms"),i=p.each,r=u.eachAxisDim,a=y.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(t,s,d){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var m=c(t);this.settledOption=m,this.mergeDefaultAndTheme(t,d),this.doInit(m)},mergeOption:function(t){var s=c(t);p.merge(this.option,t,!0),p.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(t){var s=this.option;v.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),n(this,t);var d=this.settledOption;i([["start","startValue"],["end","endValue"]],function(m,w){this._rangePropMode[w]==="value"&&(s[m[0]]=d[m[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,d,m,w){var b=this.dependentModels[s.axis][d],E=b.__dzAxisProxy||(b.__dzAxisProxy=new o(s.name,d,this,w));t[s.name+"_"+d]=E},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();r(function(d){var m=d.axisIndex;t[m]=h.normalizeToArray(t[m])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,s=!1;r(function(m){t[m.axisIndex]!=null&&(s=!0)},this);var d=t.orient;if(d==null&&s)return"orient";if(!s)return d==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),d=this.option,m=this.dependentModels;if(t){var w=s==="vertical"?"y":"x";m[w+"Axis"].length?(d[w+"AxisIndex"]=[0],t=!1):i(m.singleAxis,function(b){t&&b.get("orient",!0)===s&&(d.singleAxisIndex=[b.componentIndex],t=!1)})}t&&r(function(b){if(!t)return;var E=[],A=this.dependentModels[b.axis];if(A.length&&!E.length)for(var S=0,T=A.length;S<T;S++)A[S].get("type")==="category"&&E.push(S);d[b.axisIndex]=E,E.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(b){this._isSeriesHasAllAxesTypeOf(b,"value")&&r(function(E){var A=d[E.axisIndex],S=b.get(E.axisIndex),T=b.get(E.axisId),O=b.ecModel.queryComponents({mainType:E.axis,index:S,id:T})[0];S=O.componentIndex,p.indexOf(A,S)<0&&A.push(S)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(s){!t&&(t=s.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,s){var d=!0;return r(function(m){var w=t.get(m.axisIndex),b=this.dependentModels[m.axis][w];(!b||b.get("type")!==s)&&(d=!1)},this),d},_setDefaultThrottle:function(t){if(t.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 t;return r(function(s){if(t==null){var d=this.get(s.axisIndex);d.length&&(t=this.dependentModels[s.axis][d[0]])}},this),t},eachTargetAxis:function(t,s){var d=this.ecModel;r(function(m){i(this.get(m.axisIndex),function(w){t.call(s,m,w,this,d)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var d=this.getAxisProxy(t,s);return d&&d.getAxisModel()},setRawRange:function(t){var s=this.option,d=this.settledOption;i([["start","startValue"],["end","endValue"]],function(m){(t[m[0]]!=null||t[m[1]]!=null)&&(s[m[0]]=d[m[0]]=t[m[0]],s[m[1]]=d[m[1]]=t[m[1]])},this),n(this,t)},setCalculatedRange:function(t){var s=this.option;i(["start","startValue","end","endValue"],function(d){s[d]=t[d]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var d=this.findRepresentativeAxisProxy();if(d)return d.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var d in s)if(s.hasOwnProperty(d)&&s[d].hostedBy(this))return s[d];for(var d in s)if(s.hasOwnProperty(d)&&!s[d].hostedBy(this))return s[d]},getRangePropMode:function(){return this._rangePropMode.slice()}});function c(t){var s={};return i(["start","end","startValue","endValue","throttle"],function(d){t.hasOwnProperty(d)&&(s[d]=t[d])}),s}function n(t,s){var d=t._rangePropMode,m=t.get("rangeMode");i([["start","startValue"],["end","endValue"]],function(w,b){var E=s[w[0]]!=null,A=s[w[1]]!=null;E&&!A?d[b]="percent":!E&&A?d[b]="value":m?d[b]=m[b]:E&&(d[b]="percent")})}var l=a;D.exports=l},OnYD:function(D,I,e){},"Oy/b":function(D,I,e){(function(f,y){D.exports=y()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function y(p){if(f[p])return f[p].exports;var v=f[p]={i:p,l:!1,exports:{}};return g[p].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(p,v,h){y.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:h})},y.r=function(p){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},y.t=function(p,v){if(v&1&&(p=y(p)),v&8)return p;if(v&4&&typeof p=="object"&&p&&p.__esModule)return p;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var u in p)y.d(h,u,function(o){return p[o]}.bind(null,u));return h},y.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return y.d(v,"a",v),v},y.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},y.p="",y(y.s=1)}([function(g,f,y){},function(g,f,y){"use strict";y.r(f);var p=y(0),v=function(){function Pt(oe,we,Ee){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=oe,this.start=we,this.end=Ee}return Pt.range=function(we,Ee){return Ee?!we||!we.loc||!Ee.loc||we.loc.lexer!==Ee.loc.lexer?null:new Pt(we.loc.lexer,we.loc.start,Ee.loc.end):we&&we.loc},Pt}(),h=function(){function Pt(we,Ee){this.text=void 0,this.loc=void 0,this.text=we,this.loc=Ee}var oe=Pt.prototype;return oe.range=function(Ee,We){return new Pt(We,v.range(this,Ee))},Pt}(),u=function Pt(oe,we){this.position=void 0;var Ee="KaTeX parse error: "+oe,We,Et=we&&we.loc;if(Et&&Et.start<=Et.end){var Ut=Et.lexer.input;We=Et.start;var hr=Et.end;We===Ut.length?Ee+=" at end of input: ":Ee+=" at position "+(We+1)+": ";var gr=Ut.slice(We,hr).replace(/[^]/g,"$&\u0332"),Rr;We>15?Rr="\u2026"+Ut.slice(We-15,We):Rr=Ut.slice(0,We);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Ee+=Rr+gr+$r}var ln=new Error(Ee);return ln.name="ParseError",ln.__proto__=Pt.prototype,ln.position=We,ln};u.prototype.__proto__=Error.prototype;var o=u,i=function(oe,we){return oe.indexOf(we)!==-1},r=function(oe,we){return oe===void 0?we:oe},a=/([A-Z])/g,c=function(oe){return oe.replace(a,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function t(Pt){return String(Pt).replace(l,function(oe){return n[oe]})}var s=function Pt(oe){return oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?Pt(oe.body[0]):oe:oe.type==="font"?Pt(oe.body):oe},d=function(oe){var we=s(oe);return we.type==="mathord"||we.type==="textord"||we.type==="atom"},m=function(oe){if(!oe)throw new Error("Expected non-null, but got "+String(oe));return oe},w=function(oe){var we=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(oe);return we!=null?we[1]:"_relative"},b={contains:i,deflt:r,escape:t,hyphenate:c,getBaseElem:s,isCharacterBox:d,protocolFromUrl:w},E=function(){function Pt(we){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,we=we||{},this.displayMode=b.deflt(we.displayMode,!1),this.output=b.deflt(we.output,"htmlAndMathml"),this.leqno=b.deflt(we.leqno,!1),this.fleqn=b.deflt(we.fleqn,!1),this.throwOnError=b.deflt(we.throwOnError,!0),this.errorColor=b.deflt(we.errorColor,"#cc0000"),this.macros=we.macros||{},this.minRuleThickness=Math.max(0,b.deflt(we.minRuleThickness,0)),this.colorIsTextColor=b.deflt(we.colorIsTextColor,!1),this.strict=b.deflt(we.strict,"warn"),this.trust=b.deflt(we.trust,!1),this.maxSize=Math.max(0,b.deflt(we.maxSize,Infinity)),this.maxExpand=Math.max(0,b.deflt(we.maxExpand,1e3))}var oe=Pt.prototype;return oe.reportNonstrict=function(Ee,We,Et){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Ee,We,Et)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Ee+"]"),Et);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Ee+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ee+"]"))},oe.useStrictBehavior=function(Ee,We,Et){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Ee,We,Et)}catch(hr){Ut="error"}return!Ut||Ut==="ignore"?!1:Ut===!0||Ut==="error"?!0:Ut==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Ee+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ee+"]")),!1)},oe.isTrusted=function(Ee){Ee.url&&!Ee.protocol&&(Ee.protocol=b.protocolFromUrl(Ee.url));var We=typeof this.trust=="function"?this.trust(Ee):this.trust;return Boolean(We)},Pt}(),A=function(){function Pt(we,Ee,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=we,this.size=Ee,this.cramped=We}var oe=Pt.prototype;return oe.sup=function(){return k[P[this.id]]},oe.sub=function(){return k[j[this.id]]},oe.fracNum=function(){return k[K[this.id]]},oe.fracDen=function(){return k[R[this.id]]},oe.cramp=function(){return k[B[this.id]]},oe.text=function(){return k[U[this.id]]},oe.isTight=function(){return this.size>=2},Pt}(),S=0,T=1,O=2,x=3,C=4,_=5,N=6,F=7,k=[new A(S,0,!1),new A(T,0,!0),new A(O,1,!1),new A(x,1,!0),new A(C,2,!1),new A(_,2,!0),new A(N,3,!1),new A(F,3,!0)],P=[C,_,C,_,N,F,N,F],j=[_,_,_,_,F,F,F,F],K=[O,x,C,_,N,F,N,F],R=[x,x,_,_,F,F,F,F],B=[T,T,x,x,_,_,F,F],U=[S,T,O,x,O,x,O,x],H={DISPLAY:k[S],TEXT:k[O],SCRIPT:k[C],SCRIPTSCRIPT:k[N]},W=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(Pt){for(var oe=0;oe<W.length;oe++)for(var we=W[oe],Ee=0;Ee<we.blocks.length;Ee++){var We=we.blocks[Ee];if(Pt>=We[0]&&Pt<=We[1])return we.name}return null}var z=[];W.forEach(function(Pt){return Pt.blocks.forEach(function(oe){return z.push.apply(z,oe)})});function X(Pt){for(var oe=0;oe<z.length;oe+=2)if(Pt>=z[oe]&&Pt<=z[oe+1])return!0;return!1}var q=80,fe=function(oe,we){return"M95,"+(622+oe+we)+`
|
|
|
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)+" "+we+"h400000v"+(40+oe)+"h-400000z"},G=function(oe,we){return"M263,"+(601+oe+we)+`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)+" "+we+"h400000v"+(40+oe)+"h-400000z"},ve=function(oe,we){return"M983 "+(10+oe+we)+`
|
|
|
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)+" "+we+"h400000v"+(40+oe)+"h-400000z"},Se=function(oe,we){return"M424,"+(2398+oe+we)+`
|
|
|
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)+" "+we+`
|
|
|
h400000v`+(40+oe)+"h-400000z"},ge=function(oe,we){return"M473,"+(2713+oe+we)+`
|
|
|
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)+" "+we+"h400000v"+(40+oe)+"H1017.7z"},Pe=function(oe,we,Ee){var We=Ee-54-we-oe;return"M702 "+(oe+we)+"H400000"+(40+oe)+`
|
|
|
H742v`+We+`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 `+we+"H400000v"+(40+oe)+"H742z"},Ge=function(oe,we,Ee){we=1e3*we;var We="";switch(oe){case"sqrtMain":We=fe(we,q);break;case"sqrtSize1":We=G(we,q);break;case"sqrtSize2":We=ve(we,q);break;case"sqrtSize3":We=Se(we,q);break;case"sqrtSize4":We=ge(we,q);break;case"sqrtTall":We=Pe(we,q,Ee)}return We},pt={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`},Te=function(){function Pt(we){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=we,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var oe=Pt.prototype;return oe.hasClass=function(Ee){return b.contains(this.classes,Ee)},oe.toNode=function(){for(var Ee=document.createDocumentFragment(),We=0;We<this.children.length;We++)Ee.appendChild(this.children[We].toNode());return Ee},oe.toMarkup=function(){for(var Ee="",We=0;We<this.children.length;We++)Ee+=this.children[We].toMarkup();return Ee},oe.toText=function(){var Ee=function(Et){return Et.toText()};return this.children.map(Ee).join("")},Pt}(),xe=function(oe){return oe.filter(function(we){return we}).join(" ")},lt=function(oe,we,Ee){if(this.classes=oe||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ee||{},we){we.style.isTight()&&this.classes.push("mtight");var We=we.getColor();We&&(this.style.color=We)}},Ie=function(oe){var we=document.createElement(oe);we.className=xe(this.classes);for(var Ee in this.style)this.style.hasOwnProperty(Ee)&&(we.style[Ee]=this.style[Ee]);for(var We in this.attributes)this.attributes.hasOwnProperty(We)&&we.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)we.appendChild(this.children[Et].toNode());return we},de=function(oe){var we="<"+oe;this.classes.length&&(we+=' class="'+b.escape(xe(this.classes))+'"');var Ee="";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ee+=b.hyphenate(We)+":"+this.style[We]+";");Ee&&(we+=' style="'+b.escape(Ee)+'"');for(var Et in this.attributes)this.attributes.hasOwnProperty(Et)&&(we+=" "+Et+'="'+b.escape(this.attributes[Et])+'"');we+=">";for(var Ut=0;Ut<this.children.length;Ut++)we+=this.children[Ut].toMarkup();return we+="</"+oe+">",we},ee=function(){function Pt(we,Ee,We,Et){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,lt.call(this,we,We,Et),this.children=Ee||[]}var oe=Pt.prototype;return oe.setAttribute=function(Ee,We){this.attributes[Ee]=We},oe.hasClass=function(Ee){return b.contains(this.classes,Ee)},oe.toNode=function(){return Ie.call(this,"span")},oe.toMarkup=function(){return de.call(this,"span")},Pt}(),se=function(){function Pt(we,Ee,We,Et){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,lt.call(this,Ee,Et),this.children=We||[],this.setAttribute("href",we)}var oe=Pt.prototype;return oe.setAttribute=function(Ee,We){this.attributes[Ee]=We},oe.hasClass=function(Ee){return b.contains(this.classes,Ee)},oe.toNode=function(){return Ie.call(this,"a")},oe.toMarkup=function(){return de.call(this,"a")},Pt}(),ke=function(){function Pt(we,Ee,We){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=Ee,this.src=we,this.classes=["mord"],this.style=We}var oe=Pt.prototype;return oe.hasClass=function(Ee){return b.contains(this.classes,Ee)},oe.toNode=function(){var Ee=document.createElement("img");Ee.src=this.src,Ee.alt=this.alt,Ee.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ee.style[We]=this.style[We]);return Ee},oe.toMarkup=function(){var Ee="<img src='"+this.src+" 'alt='"+this.alt+"' ",We="";for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We+=b.hyphenate(Et)+":"+this.style[Et]+";");return We&&(Ee+=' style="'+b.escape(We)+'"'),Ee+="'/>",Ee},Pt}(),Ce={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ze=function(){function Pt(we,Ee,We,Et,Ut,hr,gr,Rr){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=we,this.height=Ee||0,this.depth=We||0,this.italic=Et||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=V(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ce[this.text])}var oe=Pt.prototype;return oe.hasClass=function(Ee){return b.contains(this.classes,Ee)},oe.toNode=function(){var Ee=document.createTextNode(this.text),We=null;this.italic>0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=xe(this.classes));for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We=We||document.createElement("span"),We.style[Et]=this.style[Et]);return We?(We.appendChild(Ee),We):Ee},oe.toMarkup=function(){var Ee=!1,We="<span";this.classes.length&&(Ee=!0,We+=' class="',We+=b.escape(xe(this.classes)),We+='"');var Et="";this.italic>0&&(Et+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Et+=b.hyphenate(Ut)+":"+this.style[Ut]+";");Et&&(Ee=!0,We+=' style="'+b.escape(Et)+'"');var hr=b.escape(this.text);return Ee?(We+=">",We+=hr,We+="</span>",We):hr},Pt}(),_e=function(){function Pt(we,Ee){this.children=void 0,this.attributes=void 0,this.children=we||[],this.attributes=Ee||{}}var oe=Pt.prototype;return oe.toNode=function(){var Ee="http://www.w3.org/2000/svg",We=document.createElementNS(Ee,"svg");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);for(var Ut=0;Ut<this.children.length;Ut++)We.appendChild(this.children[Ut].toNode());return We},oe.toMarkup=function(){var Ee="<svg";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ee+=" "+We+"='"+this.attributes[We]+"'");Ee+=">";for(var Et=0;Et<this.children.length;Et++)Ee+=this.children[Et].toMarkup();return Ee+="</svg>",Ee},Pt}(),ae=function(){function Pt(we,Ee){this.pathName=void 0,this.alternate=void 0,this.pathName=we,this.alternate=Ee}var oe=Pt.prototype;return oe.toNode=function(){var Ee="http://www.w3.org/2000/svg",We=document.createElementNS(Ee,"path");return this.alternate?We.setAttribute("d",this.alternate):We.setAttribute("d",pt[this.pathName]),We},oe.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+pt[this.pathName]+"'/>"},Pt}(),me=function(){function Pt(we){this.attributes=void 0,this.attributes=we||{}}var oe=Pt.prototype;return oe.toNode=function(){var Ee="http://www.w3.org/2000/svg",We=document.createElementNS(Ee,"line");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);return We},oe.toMarkup=function(){var Ee="<line";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ee+=" "+We+"='"+this.attributes[We]+"'");return Ee+="/>",Ee},Pt}();function Oe(Pt){if(Pt instanceof ze)return Pt;throw new Error("Expected symbolNode but got "+String(Pt)+".")}function Ze(Pt){if(Pt instanceof ee)return Pt;throw new Error("Expected span<HtmlDomNode> but got "+String(Pt)+".")}var vt={"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]}},Ct={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]},Be={\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 Rt(Pt,oe){vt[Pt]=oe}function He(Pt,oe,we){if(!vt[oe])throw new Error("Font metrics not found for font: "+oe+".");var Ee=Pt.charCodeAt(0),We=vt[oe][Ee];if(!We&&Pt[0]in Be&&(Ee=Be[Pt[0]].charCodeAt(0),We=vt[oe][Ee]),!We&&we==="text"&&(X(Ee)&&(We=vt[oe][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var wt={};function Ye(Pt){var oe;if(Pt>=5?oe=0:Pt>=3?oe=1:oe=2,!wt[oe]){var we=wt[oe]={cssEmPerMu:Ct.quad[oe]/18};for(var Ee in Ct)Ct.hasOwnProperty(Ee)&&(we[Ee]=Ct[Ee][oe])}return wt[oe]}var et={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},st={math:{},text:{}},Ve=st;function ie(Pt,oe,we,Ee,We,Et){st[Pt][We]={font:oe,group:we,replace:Ee},Et&&Ee&&(st[Pt][Ee]=st[Pt][We])}var $="math",it="text",Qe="main",ye="ams",Zt="accent-token",dt="bin",ct="close",yt="inner",It="mathord",or="op-token",Bt="open",Ae="punct",pe="rel",he="spacing",le="textord";ie($,Qe,pe,"\u2261","\\equiv",!0),ie($,Qe,pe,"\u227A","\\prec",!0),ie($,Qe,pe,"\u227B","\\succ",!0),ie($,Qe,pe,"\u223C","\\sim",!0),ie($,Qe,pe,"\u22A5","\\perp"),ie($,Qe,pe,"\u2AAF","\\preceq",!0),ie($,Qe,pe,"\u2AB0","\\succeq",!0),ie($,Qe,pe,"\u2243","\\simeq",!0),ie($,Qe,pe,"\u2223","\\mid",!0),ie($,Qe,pe,"\u226A","\\ll",!0),ie($,Qe,pe,"\u226B","\\gg",!0),ie($,Qe,pe,"\u224D","\\asymp",!0),ie($,Qe,pe,"\u2225","\\parallel"),ie($,Qe,pe,"\u22C8","\\bowtie",!0),ie($,Qe,pe,"\u2323","\\smile",!0),ie($,Qe,pe,"\u2291","\\sqsubseteq",!0),ie($,Qe,pe,"\u2292","\\sqsupseteq",!0),ie($,Qe,pe,"\u2250","\\doteq",!0),ie($,Qe,pe,"\u2322","\\frown",!0),ie($,Qe,pe,"\u220B","\\ni",!0),ie($,Qe,pe,"\u221D","\\propto",!0),ie($,Qe,pe,"\u22A2","\\vdash",!0),ie($,Qe,pe,"\u22A3","\\dashv",!0),ie($,Qe,pe,"\u220B","\\owns"),ie($,Qe,Ae,".","\\ldotp"),ie($,Qe,Ae,"\u22C5","\\cdotp"),ie($,Qe,le,"#","\\#"),ie(it,Qe,le,"#","\\#"),ie($,Qe,le,"&","\\&"),ie(it,Qe,le,"&","\\&"),ie($,Qe,le,"\u2135","\\aleph",!0),ie($,Qe,le,"\u2200","\\forall",!0),ie($,Qe,le,"\u210F","\\hbar",!0),ie($,Qe,le,"\u2203","\\exists",!0),ie($,Qe,le,"\u2207","\\nabla",!0),ie($,Qe,le,"\u266D","\\flat",!0),ie($,Qe,le,"\u2113","\\ell",!0),ie($,Qe,le,"\u266E","\\natural",!0),ie($,Qe,le,"\u2663","\\clubsuit",!0),ie($,Qe,le,"\u2118","\\wp",!0),ie($,Qe,le,"\u266F","\\sharp",!0),ie($,Qe,le,"\u2662","\\diamondsuit",!0),ie($,Qe,le,"\u211C","\\Re",!0),ie($,Qe,le,"\u2661","\\heartsuit",!0),ie($,Qe,le,"\u2111","\\Im",!0),ie($,Qe,le,"\u2660","\\spadesuit",!0),ie(it,Qe,le,"\xA7","\\S",!0),ie(it,Qe,le,"\xB6","\\P",!0),ie($,Qe,le,"\u2020","\\dag"),ie(it,Qe,le,"\u2020","\\dag"),ie(it,Qe,le,"\u2020","\\textdagger"),ie($,Qe,le,"\u2021","\\ddag"),ie(it,Qe,le,"\u2021","\\ddag"),ie(it,Qe,le,"\u2021","\\textdaggerdbl"),ie($,Qe,ct,"\u23B1","\\rmoustache",!0),ie($,Qe,Bt,"\u23B0","\\lmoustache",!0),ie($,Qe,ct,"\u27EF","\\rgroup",!0),ie($,Qe,Bt,"\u27EE","\\lgroup",!0),ie($,Qe,dt,"\u2213","\\mp",!0),ie($,Qe,dt,"\u2296","\\ominus",!0),ie($,Qe,dt,"\u228E","\\uplus",!0),ie($,Qe,dt,"\u2293","\\sqcap",!0),ie($,Qe,dt,"\u2217","\\ast"),ie($,Qe,dt,"\u2294","\\sqcup",!0),ie($,Qe,dt,"\u25EF","\\bigcirc"),ie($,Qe,dt,"\u2219","\\bullet"),ie($,Qe,dt,"\u2021","\\ddagger"),ie($,Qe,dt,"\u2240","\\wr",!0),ie($,Qe,dt,"\u2A3F","\\amalg"),ie($,Qe,dt,"&","\\And"),ie($,Qe,pe,"\u27F5","\\longleftarrow",!0),ie($,Qe,pe,"\u21D0","\\Leftarrow",!0),ie($,Qe,pe,"\u27F8","\\Longleftarrow",!0),ie($,Qe,pe,"\u27F6","\\longrightarrow",!0),ie($,Qe,pe,"\u21D2","\\Rightarrow",!0),ie($,Qe,pe,"\u27F9","\\Longrightarrow",!0),ie($,Qe,pe,"\u2194","\\leftrightarrow",!0),ie($,Qe,pe,"\u27F7","\\longleftrightarrow",!0),ie($,Qe,pe,"\u21D4","\\Leftrightarrow",!0),ie($,Qe,pe,"\u27FA","\\Longleftrightarrow",!0),ie($,Qe,pe,"\u21A6","\\mapsto",!0),ie($,Qe,pe,"\u27FC","\\longmapsto",!0),ie($,Qe,pe,"\u2197","\\nearrow",!0),ie($,Qe,pe,"\u21A9","\\hookleftarrow",!0),ie($,Qe,pe,"\u21AA","\\hookrightarrow",!0),ie($,Qe,pe,"\u2198","\\searrow",!0),ie($,Qe,pe,"\u21BC","\\leftharpoonup",!0),ie($,Qe,pe,"\u21C0","\\rightharpoonup",!0),ie($,Qe,pe,"\u2199","\\swarrow",!0),ie($,Qe,pe,"\u21BD","\\leftharpoondown",!0),ie($,Qe,pe,"\u21C1","\\rightharpoondown",!0),ie($,Qe,pe,"\u2196","\\nwarrow",!0),ie($,Qe,pe,"\u21CC","\\rightleftharpoons",!0),ie($,ye,pe,"\u226E","\\nless",!0),ie($,ye,pe,"\uE010","\\@nleqslant"),ie($,ye,pe,"\uE011","\\@nleqq"),ie($,ye,pe,"\u2A87","\\lneq",!0),ie($,ye,pe,"\u2268","\\lneqq",!0),ie($,ye,pe,"\uE00C","\\@lvertneqq"),ie($,ye,pe,"\u22E6","\\lnsim",!0),ie($,ye,pe,"\u2A89","\\lnapprox",!0),ie($,ye,pe,"\u2280","\\nprec",!0),ie($,ye,pe,"\u22E0","\\npreceq",!0),ie($,ye,pe,"\u22E8","\\precnsim",!0),ie($,ye,pe,"\u2AB9","\\precnapprox",!0),ie($,ye,pe,"\u2241","\\nsim",!0),ie($,ye,pe,"\uE006","\\@nshortmid"),ie($,ye,pe,"\u2224","\\nmid",!0),ie($,ye,pe,"\u22AC","\\nvdash",!0),ie($,ye,pe,"\u22AD","\\nvDash",!0),ie($,ye,pe,"\u22EA","\\ntriangleleft"),ie($,ye,pe,"\u22EC","\\ntrianglelefteq",!0),ie($,ye,pe,"\u228A","\\subsetneq",!0),ie($,ye,pe,"\uE01A","\\@varsubsetneq"),ie($,ye,pe,"\u2ACB","\\subsetneqq",!0),ie($,ye,pe,"\uE017","\\@varsubsetneqq"),ie($,ye,pe,"\u226F","\\ngtr",!0),ie($,ye,pe,"\uE00F","\\@ngeqslant"),ie($,ye,pe,"\uE00E","\\@ngeqq"),ie($,ye,pe,"\u2A88","\\gneq",!0),ie($,ye,pe,"\u2269","\\gneqq",!0),ie($,ye,pe,"\uE00D","\\@gvertneqq"),ie($,ye,pe,"\u22E7","\\gnsim",!0),ie($,ye,pe,"\u2A8A","\\gnapprox",!0),ie($,ye,pe,"\u2281","\\nsucc",!0),ie($,ye,pe,"\u22E1","\\nsucceq",!0),ie($,ye,pe,"\u22E9","\\succnsim",!0),ie($,ye,pe,"\u2ABA","\\succnapprox",!0),ie($,ye,pe,"\u2246","\\ncong",!0),ie($,ye,pe,"\uE007","\\@nshortparallel"),ie($,ye,pe,"\u2226","\\nparallel",!0),ie($,ye,pe,"\u22AF","\\nVDash",!0),ie($,ye,pe,"\u22EB","\\ntriangleright"),ie($,ye,pe,"\u22ED","\\ntrianglerighteq",!0),ie($,ye,pe,"\uE018","\\@nsupseteqq"),ie($,ye,pe,"\u228B","\\supsetneq",!0),ie($,ye,pe,"\uE01B","\\@varsupsetneq"),ie($,ye,pe,"\u2ACC","\\supsetneqq",!0),ie($,ye,pe,"\uE019","\\@varsupsetneqq"),ie($,ye,pe,"\u22AE","\\nVdash",!0),ie($,ye,pe,"\u2AB5","\\precneqq",!0),ie($,ye,pe,"\u2AB6","\\succneqq",!0),ie($,ye,pe,"\uE016","\\@nsubseteqq"),ie($,ye,dt,"\u22B4","\\unlhd"),ie($,ye,dt,"\u22B5","\\unrhd"),ie($,ye,pe,"\u219A","\\nleftarrow",!0),ie($,ye,pe,"\u219B","\\nrightarrow",!0),ie($,ye,pe,"\u21CD","\\nLeftarrow",!0),ie($,ye,pe,"\u21CF","\\nRightarrow",!0),ie($,ye,pe,"\u21AE","\\nleftrightarrow",!0),ie($,ye,pe,"\u21CE","\\nLeftrightarrow",!0),ie($,ye,pe,"\u25B3","\\vartriangle"),ie($,ye,le,"\u210F","\\hslash"),ie($,ye,le,"\u25BD","\\triangledown"),ie($,ye,le,"\u25CA","\\lozenge"),ie($,ye,le,"\u24C8","\\circledS"),ie($,ye,le,"\xAE","\\circledR"),ie(it,ye,le,"\xAE","\\circledR"),ie($,ye,le,"\u2221","\\measuredangle",!0),ie($,ye,le,"\u2204","\\nexists"),ie($,ye,le,"\u2127","\\mho"),ie($,ye,le,"\u2132","\\Finv",!0),ie($,ye,le,"\u2141","\\Game",!0),ie($,ye,le,"\u2035","\\backprime"),ie($,ye,le,"\u25B2","\\blacktriangle"),ie($,ye,le,"\u25BC","\\blacktriangledown"),ie($,ye,le,"\u25A0","\\blacksquare"),ie($,ye,le,"\u29EB","\\blacklozenge"),ie($,ye,le,"\u2605","\\bigstar"),ie($,ye,le,"\u2222","\\sphericalangle",!0),ie($,ye,le,"\u2201","\\complement",!0),ie($,ye,le,"\xF0","\\eth",!0),ie($,ye,le,"\u2571","\\diagup"),ie($,ye,le,"\u2572","\\diagdown"),ie($,ye,le,"\u25A1","\\square"),ie($,ye,le,"\u25A1","\\Box"),ie($,ye,le,"\u25CA","\\Diamond"),ie($,ye,le,"\xA5","\\yen",!0),ie(it,ye,le,"\xA5","\\yen",!0),ie($,ye,le,"\u2713","\\checkmark",!0),ie(it,ye,le,"\u2713","\\checkmark"),ie($,ye,le,"\u2136","\\beth",!0),ie($,ye,le,"\u2138","\\daleth",!0),ie($,ye,le,"\u2137","\\gimel",!0),ie($,ye,le,"\u03DD","\\digamma",!0),ie($,ye,le,"\u03F0","\\varkappa"),ie($,ye,Bt,"\u250C","\\ulcorner",!0),ie($,ye,ct,"\u2510","\\urcorner",!0),ie($,ye,Bt,"\u2514","\\llcorner",!0),ie($,ye,ct,"\u2518","\\lrcorner",!0),ie($,ye,pe,"\u2266","\\leqq",!0),ie($,ye,pe,"\u2A7D","\\leqslant",!0),ie($,ye,pe,"\u2A95","\\eqslantless",!0),ie($,ye,pe,"\u2272","\\lesssim",!0),ie($,ye,pe,"\u2A85","\\lessapprox",!0),ie($,ye,pe,"\u224A","\\approxeq",!0),ie($,ye,dt,"\u22D6","\\lessdot"),ie($,ye,pe,"\u22D8","\\lll",!0),ie($,ye,pe,"\u2276","\\lessgtr",!0),ie($,ye,pe,"\u22DA","\\lesseqgtr",!0),ie($,ye,pe,"\u2A8B","\\lesseqqgtr",!0),ie($,ye,pe,"\u2251","\\doteqdot"),ie($,ye,pe,"\u2253","\\risingdotseq",!0),ie($,ye,pe,"\u2252","\\fallingdotseq",!0),ie($,ye,pe,"\u223D","\\backsim",!0),ie($,ye,pe,"\u22CD","\\backsimeq",!0),ie($,ye,pe,"\u2AC5","\\subseteqq",!0),ie($,ye,pe,"\u22D0","\\Subset",!0),ie($,ye,pe,"\u228F","\\sqsubset",!0),ie($,ye,pe,"\u227C","\\preccurlyeq",!0),ie($,ye,pe,"\u22DE","\\curlyeqprec",!0),ie($,ye,pe,"\u227E","\\precsim",!0),ie($,ye,pe,"\u2AB7","\\precapprox",!0),ie($,ye,pe,"\u22B2","\\vartriangleleft"),ie($,ye,pe,"\u22B4","\\trianglelefteq"),ie($,ye,pe,"\u22A8","\\vDash",!0),ie($,ye,pe,"\u22AA","\\Vvdash",!0),ie($,ye,pe,"\u2323","\\smallsmile"),ie($,ye,pe,"\u2322","\\smallfrown"),ie($,ye,pe,"\u224F","\\bumpeq",!0),ie($,ye,pe,"\u224E","\\Bumpeq",!0),ie($,ye,pe,"\u2267","\\geqq",!0),ie($,ye,pe,"\u2A7E","\\geqslant",!0),ie($,ye,pe,"\u2A96","\\eqslantgtr",!0),ie($,ye,pe,"\u2273","\\gtrsim",!0),ie($,ye,pe,"\u2A86","\\gtrapprox",!0),ie($,ye,dt,"\u22D7","\\gtrdot"),ie($,ye,pe,"\u22D9","\\ggg",!0),ie($,ye,pe,"\u2277","\\gtrless",!0),ie($,ye,pe,"\u22DB","\\gtreqless",!0),ie($,ye,pe,"\u2A8C","\\gtreqqless",!0),ie($,ye,pe,"\u2256","\\eqcirc",!0),ie($,ye,pe,"\u2257","\\circeq",!0),ie($,ye,pe,"\u225C","\\triangleq",!0),ie($,ye,pe,"\u223C","\\thicksim"),ie($,ye,pe,"\u2248","\\thickapprox"),ie($,ye,pe,"\u2AC6","\\supseteqq",!0),ie($,ye,pe,"\u22D1","\\Supset",!0),ie($,ye,pe,"\u2290","\\sqsupset",!0),ie($,ye,pe,"\u227D","\\succcurlyeq",!0),ie($,ye,pe,"\u22DF","\\curlyeqsucc",!0),ie($,ye,pe,"\u227F","\\succsim",!0),ie($,ye,pe,"\u2AB8","\\succapprox",!0),ie($,ye,pe,"\u22B3","\\vartriangleright"),ie($,ye,pe,"\u22B5","\\trianglerighteq"),ie($,ye,pe,"\u22A9","\\Vdash",!0),ie($,ye,pe,"\u2223","\\shortmid"),ie($,ye,pe,"\u2225","\\shortparallel"),ie($,ye,pe,"\u226C","\\between",!0),ie($,ye,pe,"\u22D4","\\pitchfork",!0),ie($,ye,pe,"\u221D","\\varpropto"),ie($,ye,pe,"\u25C0","\\blacktriangleleft"),ie($,ye,pe,"\u2234","\\therefore",!0),ie($,ye,pe,"\u220D","\\backepsilon"),ie($,ye,pe,"\u25B6","\\blacktriangleright"),ie($,ye,pe,"\u2235","\\because",!0),ie($,ye,pe,"\u22D8","\\llless"),ie($,ye,pe,"\u22D9","\\gggtr"),ie($,ye,dt,"\u22B2","\\lhd"),ie($,ye,dt,"\u22B3","\\rhd"),ie($,ye,pe,"\u2242","\\eqsim",!0),ie($,Qe,pe,"\u22C8","\\Join"),ie($,ye,pe,"\u2251","\\Doteq",!0),ie($,ye,dt,"\u2214","\\dotplus",!0),ie($,ye,dt,"\u2216","\\smallsetminus"),ie($,ye,dt,"\u22D2","\\Cap",!0),ie($,ye,dt,"\u22D3","\\Cup",!0),ie($,ye,dt,"\u2A5E","\\doublebarwedge",!0),ie($,ye,dt,"\u229F","\\boxminus",!0),ie($,ye,dt,"\u229E","\\boxplus",!0),ie($,ye,dt,"\u22C7","\\divideontimes",!0),ie($,ye,dt,"\u22C9","\\ltimes",!0),ie($,ye,dt,"\u22CA","\\rtimes",!0),ie($,ye,dt,"\u22CB","\\leftthreetimes",!0),ie($,ye,dt,"\u22CC","\\rightthreetimes",!0),ie($,ye,dt,"\u22CF","\\curlywedge",!0),ie($,ye,dt,"\u22CE","\\curlyvee",!0),ie($,ye,dt,"\u229D","\\circleddash",!0),ie($,ye,dt,"\u229B","\\circledast",!0),ie($,ye,dt,"\u22C5","\\centerdot"),ie($,ye,dt,"\u22BA","\\intercal",!0),ie($,ye,dt,"\u22D2","\\doublecap"),ie($,ye,dt,"\u22D3","\\doublecup"),ie($,ye,dt,"\u22A0","\\boxtimes",!0),ie($,ye,pe,"\u21E2","\\dashrightarrow",!0),ie($,ye,pe,"\u21E0","\\dashleftarrow",!0),ie($,ye,pe,"\u21C7","\\leftleftarrows",!0),ie($,ye,pe,"\u21C6","\\leftrightarrows",!0),ie($,ye,pe,"\u21DA","\\Lleftarrow",!0),ie($,ye,pe,"\u219E","\\twoheadleftarrow",!0),ie($,ye,pe,"\u21A2","\\leftarrowtail",!0),ie($,ye,pe,"\u21AB","\\looparrowleft",!0),ie($,ye,pe,"\u21CB","\\leftrightharpoons",!0),ie($,ye,pe,"\u21B6","\\curvearrowleft",!0),ie($,ye,pe,"\u21BA","\\circlearrowleft",!0),ie($,ye,pe,"\u21B0","\\Lsh",!0),ie($,ye,pe,"\u21C8","\\upuparrows",!0),ie($,ye,pe,"\u21BF","\\upharpoonleft",!0),ie($,ye,pe,"\u21C3","\\downharpoonleft",!0),ie($,ye,pe,"\u22B8","\\multimap",!0),ie($,ye,pe,"\u21AD","\\leftrightsquigarrow",!0),ie($,ye,pe,"\u21C9","\\rightrightarrows",!0),ie($,ye,pe,"\u21C4","\\rightleftarrows",!0),ie($,ye,pe,"\u21A0","\\twoheadrightarrow",!0),ie($,ye,pe,"\u21A3","\\rightarrowtail",!0),ie($,ye,pe,"\u21AC","\\looparrowright",!0),ie($,ye,pe,"\u21B7","\\curvearrowright",!0),ie($,ye,pe,"\u21BB","\\circlearrowright",!0),ie($,ye,pe,"\u21B1","\\Rsh",!0),ie($,ye,pe,"\u21CA","\\downdownarrows",!0),ie($,ye,pe,"\u21BE","\\upharpoonright",!0),ie($,ye,pe,"\u21C2","\\downharpoonright",!0),ie($,ye,pe,"\u21DD","\\rightsquigarrow",!0),ie($,ye,pe,"\u21DD","\\leadsto"),ie($,ye,pe,"\u21DB","\\Rrightarrow",!0),ie($,ye,pe,"\u21BE","\\restriction"),ie($,Qe,le,"\u2018","`"),ie($,Qe,le,"$","\\$"),ie(it,Qe,le,"$","\\$"),ie(it,Qe,le,"$","\\textdollar"),ie($,Qe,le,"%","\\%"),ie(it,Qe,le,"%","\\%"),ie($,Qe,le,"_","\\_"),ie(it,Qe,le,"_","\\_"),ie(it,Qe,le,"_","\\textunderscore"),ie($,Qe,le,"\u2220","\\angle",!0),ie($,Qe,le,"\u221E","\\infty",!0),ie($,Qe,le,"\u2032","\\prime"),ie($,Qe,le,"\u25B3","\\triangle"),ie($,Qe,le,"\u0393","\\Gamma",!0),ie($,Qe,le,"\u0394","\\Delta",!0),ie($,Qe,le,"\u0398","\\Theta",!0),ie($,Qe,le,"\u039B","\\Lambda",!0),ie($,Qe,le,"\u039E","\\Xi",!0),ie($,Qe,le,"\u03A0","\\Pi",!0),ie($,Qe,le,"\u03A3","\\Sigma",!0),ie($,Qe,le,"\u03A5","\\Upsilon",!0),ie($,Qe,le,"\u03A6","\\Phi",!0),ie($,Qe,le,"\u03A8","\\Psi",!0),ie($,Qe,le,"\u03A9","\\Omega",!0),ie($,Qe,le,"A","\u0391"),ie($,Qe,le,"B","\u0392"),ie($,Qe,le,"E","\u0395"),ie($,Qe,le,"Z","\u0396"),ie($,Qe,le,"H","\u0397"),ie($,Qe,le,"I","\u0399"),ie($,Qe,le,"K","\u039A"),ie($,Qe,le,"M","\u039C"),ie($,Qe,le,"N","\u039D"),ie($,Qe,le,"O","\u039F"),ie($,Qe,le,"P","\u03A1"),ie($,Qe,le,"T","\u03A4"),ie($,Qe,le,"X","\u03A7"),ie($,Qe,le,"\xAC","\\neg",!0),ie($,Qe,le,"\xAC","\\lnot"),ie($,Qe,le,"\u22A4","\\top"),ie($,Qe,le,"\u22A5","\\bot"),ie($,Qe,le,"\u2205","\\emptyset"),ie($,ye,le,"\u2205","\\varnothing"),ie($,Qe,It,"\u03B1","\\alpha",!0),ie($,Qe,It,"\u03B2","\\beta",!0),ie($,Qe,It,"\u03B3","\\gamma",!0),ie($,Qe,It,"\u03B4","\\delta",!0),ie($,Qe,It,"\u03F5","\\epsilon",!0),ie($,Qe,It,"\u03B6","\\zeta",!0),ie($,Qe,It,"\u03B7","\\eta",!0),ie($,Qe,It,"\u03B8","\\theta",!0),ie($,Qe,It,"\u03B9","\\iota",!0),ie($,Qe,It,"\u03BA","\\kappa",!0),ie($,Qe,It,"\u03BB","\\lambda",!0),ie($,Qe,It,"\u03BC","\\mu",!0),ie($,Qe,It,"\u03BD","\\nu",!0),ie($,Qe,It,"\u03BE","\\xi",!0),ie($,Qe,It,"\u03BF","\\omicron",!0),ie($,Qe,It,"\u03C0","\\pi",!0),ie($,Qe,It,"\u03C1","\\rho",!0),ie($,Qe,It,"\u03C3","\\sigma",!0),ie($,Qe,It,"\u03C4","\\tau",!0),ie($,Qe,It,"\u03C5","\\upsilon",!0),ie($,Qe,It,"\u03D5","\\phi",!0),ie($,Qe,It,"\u03C7","\\chi",!0),ie($,Qe,It,"\u03C8","\\psi",!0),ie($,Qe,It,"\u03C9","\\omega",!0),ie($,Qe,It,"\u03B5","\\varepsilon",!0),ie($,Qe,It,"\u03D1","\\vartheta",!0),ie($,Qe,It,"\u03D6","\\varpi",!0),ie($,Qe,It,"\u03F1","\\varrho",!0),ie($,Qe,It,"\u03C2","\\varsigma",!0),ie($,Qe,It,"\u03C6","\\varphi",!0),ie($,Qe,dt,"\u2217","*"),ie($,Qe,dt,"+","+"),ie($,Qe,dt,"\u2212","-"),ie($,Qe,dt,"\u22C5","\\cdot",!0),ie($,Qe,dt,"\u2218","\\circ"),ie($,Qe,dt,"\xF7","\\div",!0),ie($,Qe,dt,"\xB1","\\pm",!0),ie($,Qe,dt,"\xD7","\\times",!0),ie($,Qe,dt,"\u2229","\\cap",!0),ie($,Qe,dt,"\u222A","\\cup",!0),ie($,Qe,dt,"\u2216","\\setminus"),ie($,Qe,dt,"\u2227","\\land"),ie($,Qe,dt,"\u2228","\\lor"),ie($,Qe,dt,"\u2227","\\wedge",!0),ie($,Qe,dt,"\u2228","\\vee",!0),ie($,Qe,le,"\u221A","\\surd"),ie($,Qe,Bt,"(","("),ie($,Qe,Bt,"[","["),ie($,Qe,Bt,"\u27E8","\\langle",!0),ie($,Qe,Bt,"\u2223","\\lvert"),ie($,Qe,Bt,"\u2225","\\lVert"),ie($,Qe,ct,")",")"),ie($,Qe,ct,"]","]"),ie($,Qe,ct,"?","?"),ie($,Qe,ct,"!","!"),ie($,Qe,ct,"\u27E9","\\rangle",!0),ie($,Qe,ct,"\u2223","\\rvert"),ie($,Qe,ct,"\u2225","\\rVert"),ie($,Qe,pe,"=","="),ie($,Qe,pe,"<","<"),ie($,Qe,pe,">",">"),ie($,Qe,pe,":",":"),ie($,Qe,pe,"\u2248","\\approx",!0),ie($,Qe,pe,"\u2245","\\cong",!0),ie($,Qe,pe,"\u2265","\\ge"),ie($,Qe,pe,"\u2265","\\geq",!0),ie($,Qe,pe,"\u2190","\\gets"),ie($,Qe,pe,">","\\gt"),ie($,Qe,pe,"\u2208","\\in",!0),ie($,Qe,pe,"\uE020","\\@not"),ie($,Qe,pe,"\u2282","\\subset",!0),ie($,Qe,pe,"\u2283","\\supset",!0),ie($,Qe,pe,"\u2286","\\subseteq",!0),ie($,Qe,pe,"\u2287","\\supseteq",!0),ie($,ye,pe,"\u2288","\\nsubseteq",!0),ie($,ye,pe,"\u2289","\\nsupseteq",!0),ie($,Qe,pe,"\u22A8","\\models"),ie($,Qe,pe,"\u2190","\\leftarrow",!0),ie($,Qe,pe,"\u2264","\\le"),ie($,Qe,pe,"\u2264","\\leq",!0),ie($,Qe,pe,"<","\\lt"),ie($,Qe,pe,"\u2192","\\rightarrow",!0),ie($,Qe,pe,"\u2192","\\to"),ie($,ye,pe,"\u2271","\\ngeq",!0),ie($,ye,pe,"\u2270","\\nleq",!0),ie($,Qe,he,"\xA0","\\ "),ie($,Qe,he,"\xA0","~"),ie($,Qe,he,"\xA0","\\space"),ie($,Qe,he,"\xA0","\\nobreakspace"),ie(it,Qe,he,"\xA0","\\ "),ie(it,Qe,he,"\xA0","~"),ie(it,Qe,he,"\xA0","\\space"),ie(it,Qe,he,"\xA0","\\nobreakspace"),ie($,Qe,he,null,"\\nobreak"),ie($,Qe,he,null,"\\allowbreak"),ie($,Qe,Ae,",",","),ie($,Qe,Ae,";",";"),ie($,ye,dt,"\u22BC","\\barwedge",!0),ie($,ye,dt,"\u22BB","\\veebar",!0),ie($,Qe,dt,"\u2299","\\odot",!0),ie($,Qe,dt,"\u2295","\\oplus",!0),ie($,Qe,dt,"\u2297","\\otimes",!0),ie($,Qe,le,"\u2202","\\partial",!0),ie($,Qe,dt,"\u2298","\\oslash",!0),ie($,ye,dt,"\u229A","\\circledcirc",!0),ie($,ye,dt,"\u22A1","\\boxdot",!0),ie($,Qe,dt,"\u25B3","\\bigtriangleup"),ie($,Qe,dt,"\u25BD","\\bigtriangledown"),ie($,Qe,dt,"\u2020","\\dagger"),ie($,Qe,dt,"\u22C4","\\diamond"),ie($,Qe,dt,"\u22C6","\\star"),ie($,Qe,dt,"\u25C3","\\triangleleft"),ie($,Qe,dt,"\u25B9","\\triangleright"),ie($,Qe,Bt,"{","\\{"),ie(it,Qe,le,"{","\\{"),ie(it,Qe,le,"{","\\textbraceleft"),ie($,Qe,ct,"}","\\}"),ie(it,Qe,le,"}","\\}"),ie(it,Qe,le,"}","\\textbraceright"),ie($,Qe,Bt,"{","\\lbrace"),ie($,Qe,ct,"}","\\rbrace"),ie($,Qe,Bt,"[","\\lbrack"),ie(it,Qe,le,"[","\\lbrack"),ie($,Qe,ct,"]","\\rbrack"),ie(it,Qe,le,"]","\\rbrack"),ie($,Qe,Bt,"(","\\lparen"),ie($,Qe,ct,")","\\rparen"),ie(it,Qe,le,"<","\\textless"),ie(it,Qe,le,">","\\textgreater"),ie($,Qe,Bt,"\u230A","\\lfloor",!0),ie($,Qe,ct,"\u230B","\\rfloor",!0),ie($,Qe,Bt,"\u2308","\\lceil",!0),ie($,Qe,ct,"\u2309","\\rceil",!0),ie($,Qe,le,"\\","\\backslash"),ie($,Qe,le,"\u2223","|"),ie($,Qe,le,"\u2223","\\vert"),ie(it,Qe,le,"|","\\textbar"),ie($,Qe,le,"\u2225","\\|"),ie($,Qe,le,"\u2225","\\Vert"),ie(it,Qe,le,"\u2225","\\textbardbl"),ie(it,Qe,le,"~","\\textasciitilde"),ie(it,Qe,le,"\\","\\textbackslash"),ie(it,Qe,le,"^","\\textasciicircum"),ie($,Qe,pe,"\u2191","\\uparrow",!0),ie($,Qe,pe,"\u21D1","\\Uparrow",!0),ie($,Qe,pe,"\u2193","\\downarrow",!0),ie($,Qe,pe,"\u21D3","\\Downarrow",!0),ie($,Qe,pe,"\u2195","\\updownarrow",!0),ie($,Qe,pe,"\u21D5","\\Updownarrow",!0),ie($,Qe,or,"\u2210","\\coprod"),ie($,Qe,or,"\u22C1","\\bigvee"),ie($,Qe,or,"\u22C0","\\bigwedge"),ie($,Qe,or,"\u2A04","\\biguplus"),ie($,Qe,or,"\u22C2","\\bigcap"),ie($,Qe,or,"\u22C3","\\bigcup"),ie($,Qe,or,"\u222B","\\int"),ie($,Qe,or,"\u222B","\\intop"),ie($,Qe,or,"\u222C","\\iint"),ie($,Qe,or,"\u222D","\\iiint"),ie($,Qe,or,"\u220F","\\prod"),ie($,Qe,or,"\u2211","\\sum"),ie($,Qe,or,"\u2A02","\\bigotimes"),ie($,Qe,or,"\u2A01","\\bigoplus"),ie($,Qe,or,"\u2A00","\\bigodot"),ie($,Qe,or,"\u222E","\\oint"),ie($,Qe,or,"\u222F","\\oiint"),ie($,Qe,or,"\u2230","\\oiiint"),ie($,Qe,or,"\u2A06","\\bigsqcup"),ie($,Qe,or,"\u222B","\\smallint"),ie(it,Qe,yt,"\u2026","\\textellipsis"),ie($,Qe,yt,"\u2026","\\mathellipsis"),ie(it,Qe,yt,"\u2026","\\ldots",!0),ie($,Qe,yt,"\u2026","\\ldots",!0),ie($,Qe,yt,"\u22EF","\\@cdots",!0),ie($,Qe,yt,"\u22F1","\\ddots",!0),ie($,Qe,le,"\u22EE","\\varvdots"),ie($,Qe,Zt,"\u02CA","\\acute"),ie($,Qe,Zt,"\u02CB","\\grave"),ie($,Qe,Zt,"\xA8","\\ddot"),ie($,Qe,Zt,"~","\\tilde"),ie($,Qe,Zt,"\u02C9","\\bar"),ie($,Qe,Zt,"\u02D8","\\breve"),ie($,Qe,Zt,"\u02C7","\\check"),ie($,Qe,Zt,"^","\\hat"),ie($,Qe,Zt,"\u20D7","\\vec"),ie($,Qe,Zt,"\u02D9","\\dot"),ie($,Qe,Zt,"\u02DA","\\mathring"),ie($,Qe,It,"\u0131","\\imath",!0),ie($,Qe,It,"\u0237","\\jmath",!0),ie(it,Qe,le,"\u0131","\\i",!0),ie(it,Qe,le,"\u0237","\\j",!0),ie(it,Qe,le,"\xDF","\\ss",!0),ie(it,Qe,le,"\xE6","\\ae",!0),ie(it,Qe,le,"\xE6","\\ae",!0),ie(it,Qe,le,"\u0153","\\oe",!0),ie(it,Qe,le,"\xF8","\\o",!0),ie(it,Qe,le,"\xC6","\\AE",!0),ie(it,Qe,le,"\u0152","\\OE",!0),ie(it,Qe,le,"\xD8","\\O",!0),ie(it,Qe,Zt,"\u02CA","\\'"),ie(it,Qe,Zt,"\u02CB","\\`"),ie(it,Qe,Zt,"\u02C6","\\^"),ie(it,Qe,Zt,"\u02DC","\\~"),ie(it,Qe,Zt,"\u02C9","\\="),ie(it,Qe,Zt,"\u02D8","\\u"),ie(it,Qe,Zt,"\u02D9","\\."),ie(it,Qe,Zt,"\u02DA","\\r"),ie(it,Qe,Zt,"\u02C7","\\v"),ie(it,Qe,Zt,"\xA8",'\\"'),ie(it,Qe,Zt,"\u02DD","\\H"),ie(it,Qe,Zt,"\u25EF","\\textcircled");var Ne={"--":!0,"---":!0,"``":!0,"''":!0};ie(it,Qe,le,"\u2013","--"),ie(it,Qe,le,"\u2013","\\textendash"),ie(it,Qe,le,"\u2014","---"),ie(it,Qe,le,"\u2014","\\textemdash"),ie(it,Qe,le,"\u2018","`"),ie(it,Qe,le,"\u2018","\\textquoteleft"),ie(it,Qe,le,"\u2019","'"),ie(it,Qe,le,"\u2019","\\textquoteright"),ie(it,Qe,le,"\u201C","``"),ie(it,Qe,le,"\u201C","\\textquotedblleft"),ie(it,Qe,le,"\u201D","''"),ie(it,Qe,le,"\u201D","\\textquotedblright"),ie($,Qe,le,"\xB0","\\degree",!0),ie(it,Qe,le,"\xB0","\\degree"),ie(it,Qe,le,"\xB0","\\textdegree",!0),ie($,Qe,It,"\xA3","\\pounds"),ie($,Qe,It,"\xA3","\\mathsterling",!0),ie(it,Qe,It,"\xA3","\\pounds"),ie(it,Qe,It,"\xA3","\\textsterling",!0),ie($,ye,le,"\u2720","\\maltese"),ie(it,ye,le,"\u2720","\\maltese"),ie(it,Qe,he,"\xA0","\\ "),ie(it,Qe,he,"\xA0"," "),ie(it,Qe,he,"\xA0","~");for(var je='0123456789/@."',Ke=0;Ke<je.length;Ke++){var Xe=je.charAt(Ke);ie($,Qe,le,Xe,Xe)}for(var Fe='0123456789!@*()-=+[]<>|";:?/.,',nt=0;nt<Fe.length;nt++){var At=Fe.charAt(nt);ie(it,Qe,le,At,At)}for(var _t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=0;ne<_t.length;ne++){var ue=_t.charAt(ne);ie($,Qe,It,ue,ue),ie(it,Qe,le,ue,ue)}ie($,ye,le,"C","\u2102"),ie(it,ye,le,"C","\u2102"),ie($,ye,le,"H","\u210D"),ie(it,ye,le,"H","\u210D"),ie($,ye,le,"N","\u2115"),ie(it,ye,le,"N","\u2115"),ie($,ye,le,"P","\u2119"),ie(it,ye,le,"P","\u2119"),ie($,ye,le,"Q","\u211A"),ie(it,ye,le,"Q","\u211A"),ie($,ye,le,"R","\u211D"),ie(it,ye,le,"R","\u211D"),ie($,ye,le,"Z","\u2124"),ie(it,ye,le,"Z","\u2124"),ie($,Qe,It,"h","\u210E"),ie(it,Qe,It,"h","\u210E");for(var Y="",te=0;te<_t.length;te++){var be=_t.charAt(te);Y=String.fromCharCode(55349,56320+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56372+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56424+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56580+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56736+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56788+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56840+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56944+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),te<26&&(Y=String.fromCharCode(55349,56632+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y),Y=String.fromCharCode(55349,56476+te),ie($,Qe,It,be,Y),ie(it,Qe,le,be,Y))}Y=String.fromCharCode(55349,56668),ie($,Qe,It,"k",Y),ie(it,Qe,le,"k",Y);for(var Le=0;Le<10;Le++){var Re=Le.toString();Y=String.fromCharCode(55349,57294+Le),ie($,Qe,It,Re,Y),ie(it,Qe,le,Re,Y),Y=String.fromCharCode(55349,57314+Le),ie($,Qe,It,Re,Y),ie(it,Qe,le,Re,Y),Y=String.fromCharCode(55349,57324+Le),ie($,Qe,It,Re,Y),ie(it,Qe,le,Re,Y),Y=String.fromCharCode(55349,57334+Le),ie($,Qe,It,Re,Y),ie(it,Qe,le,Re,Y)}for(var $e="\xC7\xD0\xDE\xE7\xFE",gt=0;gt<$e.length;gt++){var Wt=$e.charAt(gt);ie($,Qe,It,Wt,Wt),ie(it,Qe,le,Wt,Wt)}ie(it,Qe,le,"\xF0","\xF0"),ie(it,Qe,le,"\u2013","\u2013"),ie(it,Qe,le,"\u2014","\u2014"),ie(it,Qe,le,"\u2018","\u2018"),ie(it,Qe,le,"\u2019","\u2019"),ie(it,Qe,le,"\u201C","\u201C"),ie(it,Qe,le,"\u201D","\u201D");var $t=[["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"]],Dt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Kt=function(oe,we){var Ee=oe.charCodeAt(0),We=oe.charCodeAt(1),Et=(Ee-55296)*1024+(We-56320)+65536,Ut=we==="math"?0:1;if(119808<=Et&&Et<120484){var hr=Math.floor((Et-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Et&&Et<=120831){var gr=Math.floor((Et-120782)/10);return[Dt[gr][2],Dt[gr][Ut]]}else{if(Et===120485||Et===120486)return[$t[0][2],$t[0][Ut]];if(120486<Et&&Et<120782)return["",""];throw new o("Unsupported character: "+oe)}},Yt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mt=function(oe,we){return we.size<2?oe:Yt[oe-1][we.size-1]},dr=function(){function Pt(we){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=we.style,this.color=we.color,this.size=we.size||Pt.BASESIZE,this.textSize=we.textSize||this.size,this.phantom=!!we.phantom,this.font=we.font||"",this.fontFamily=we.fontFamily||"",this.fontWeight=we.fontWeight||"",this.fontShape=we.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=we.maxSize,this.minRuleThickness=we.minRuleThickness,this._fontMetrics=void 0}var oe=Pt.prototype;return oe.extend=function(Ee){var We={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 Et in Ee)Ee.hasOwnProperty(Et)&&(We[Et]=Ee[Et]);return new Pt(We)},oe.havingStyle=function(Ee){return this.style===Ee?this:this.extend({style:Ee,size:Mt(this.textSize,Ee)})},oe.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},oe.havingSize=function(Ee){return this.size===Ee&&this.textSize===Ee?this:this.extend({style:this.style.text(),size:Ee,textSize:Ee,sizeMultiplier:Qt[Ee-1]})},oe.havingBaseStyle=function(Ee){Ee=Ee||this.style.text();var We=Mt(Pt.BASESIZE,Ee);return this.size===We&&this.textSize===Pt.BASESIZE&&this.style===Ee?this:this.extend({style:Ee,size:We})},oe.havingBaseSizing=function(){var Ee;switch(this.style.id){case 4:case 5:Ee=3;break;case 6:case 7:Ee=1;break;default:Ee=6}return this.extend({style:this.style.text(),size:Ee})},oe.withColor=function(Ee){return this.extend({color:Ee})},oe.withPhantom=function(){return this.extend({phantom:!0})},oe.withFont=function(Ee){return this.extend({font:Ee})},oe.withTextFontFamily=function(Ee){return this.extend({fontFamily:Ee,font:""})},oe.withTextFontWeight=function(Ee){return this.extend({fontWeight:Ee,font:""})},oe.withTextFontShape=function(Ee){return this.extend({fontShape:Ee,font:""})},oe.sizingClasses=function(Ee){return Ee.size!==this.size?["sizing","reset-size"+Ee.size,"size"+this.size]:[]},oe.baseSizingClasses=function(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]},oe.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ye(this.size)),this._fontMetrics},oe.getColor=function(){return this.phantom?"transparent":this.color},Pt}();dr.BASESIZE=6;var er=dr,ot={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},xt={ex:!0,em:!0,mu:!0},ut=function(oe){return typeof oe!="string"&&(oe=oe.unit),oe in ot||oe in xt||oe==="ex"},ft=function(oe,we){var Ee;if(oe.unit in ot)Ee=ot[oe.unit]/we.fontMetrics().ptPerEm/we.sizeMultiplier;else if(oe.unit==="mu")Ee=we.fontMetrics().cssEmPerMu;else{var We;if(we.style.isTight()?We=we.havingStyle(we.style.text()):We=we,oe.unit==="ex")Ee=We.fontMetrics().xHeight;else if(oe.unit==="em")Ee=We.fontMetrics().quad;else throw new o("Invalid unit: '"+oe.unit+"'");We!==we&&(Ee*=We.sizeMultiplier/we.sizeMultiplier)}return Math.min(oe.number*Ee,we.maxSize)},Lt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Tt=function(oe,we,Ee){return Ve[Ee][oe]&&Ve[Ee][oe].replace&&(oe=Ve[Ee][oe].replace),{value:oe,metrics:He(oe,we,Ee)}},ht=function(oe,we,Ee,We,Et){var Ut=Tt(oe,we,Ee),hr=Ut.metrics;oe=Ut.value;var gr;if(hr){var Rr=hr.italic;(Ee==="text"||We&&We.font==="mathit")&&(Rr=0),gr=new ze(oe,hr.height,hr.depth,Rr,hr.skew,hr.width,Et)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+oe+"' in style '"+we+"' and mode '"+Ee+"'")),gr=new ze(oe,0,0,0,0,0,Et);if(We){gr.maxFontSize=We.sizeMultiplier,We.style.isTight()&&gr.classes.push("mtight");var $r=We.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(oe,we,Ee,We){return We===void 0&&(We=[]),Ee.font==="boldsymbol"&&Tt(oe,"Main-Bold",we).metrics?ht(oe,"Main-Bold",we,Ee,We.concat(["mathbf"])):oe==="\\"||Ve[we][oe].font==="main"?ht(oe,"Main-Regular",we,Ee,We):ht(oe,"AMS-Regular",we,Ee,We.concat(["amsrm"]))},Ft=function(oe,we,Ee,We){return/[0-9]/.test(oe.charAt(0))||b.contains(Lt,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(oe,we,Ee,We){return b.contains(Lt,oe)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(oe.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(oe,we,Ee,We){return Tt(oe,"Math-BoldItalic",we).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(oe,we,Ee){var We=oe.mode,Et=oe.text,Ut=["mord"],hr=We==="math"||We==="text"&&we.font,gr=hr?we.font:we.fontFamily;if(Et.charCodeAt(0)===55349){var Rr=Kt(Et,We),$r=Rr[0],ln=Rr[1];return ht(Et,$r,We,we,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Et,We,we,Ut):ir(Et,We,we,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else b.contains(Lt,Et)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Gr[gr].fontName,Cn=[gr]):(yn=xr(gr,we.fontWeight,we.fontShape),Cn=[gr,we.fontWeight,we.fontShape]);if(Tt(Et,yn,We).metrics)return ht(Et,yn,We,we,Ut.concat(Cn));if(Ne.hasOwnProperty(Et)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Et.length;wi++)ti.push(ht(Et[wi],yn,We,we,Ut.concat(Cn)));return Ir(ti)}}if(Ee==="mathord"){var ea=Ft(Et,We,we,Ut);return ht(Et,ea.fontName,We,we,Ut.concat([ea.fontClass]))}else if(Ee==="textord"){var ji=Ve[We][Et]&&Ve[We][Et].font;if(ji==="ams"){var Sa=xr("amsrm",we.fontWeight,we.fontShape);return ht(Et,Sa,We,we,Ut.concat("amsrm",we.fontWeight,we.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",we.fontWeight,we.fontShape);return ht(Et,lo,We,we,Ut.concat(we.fontWeight,we.fontShape))}else{var Wa=xr(ji,we.fontWeight,we.fontShape);return ht(Et,Wa,We,we,Ut.concat(Wa,we.fontWeight,we.fontShape))}}else throw new Error("unexpected type: "+Ee+" in makeOrd")},Ar=function(oe,we){if(xe(oe.classes)!==xe(we.classes)||oe.skew!==we.skew||oe.maxFontSize!==we.maxFontSize)return!1;for(var Ee in oe.style)if(oe.style.hasOwnProperty(Ee)&&oe.style[Ee]!==we.style[Ee])return!1;for(var We in we.style)if(we.style.hasOwnProperty(We)&&oe.style[We]!==we.style[We])return!1;return!0},Nr=function(oe){for(var we=0;we<oe.length-1;we++){var Ee=oe[we],We=oe[we+1];Ee instanceof ze&&We instanceof ze&&Ar(Ee,We)&&(Ee.text+=We.text,Ee.height=Math.max(Ee.height,We.height),Ee.depth=Math.max(Ee.depth,We.depth),Ee.italic=We.italic,oe.splice(we+1,1),we--)}return oe},Fr=function(oe){for(var we=0,Ee=0,We=0,Et=0;Et<oe.children.length;Et++){var Ut=oe.children[Et];Ut.height>we&&(we=Ut.height),Ut.depth>Ee&&(Ee=Ut.depth),Ut.maxFontSize>We&&(We=Ut.maxFontSize)}oe.height=we,oe.depth=Ee,oe.maxFontSize=We},tn=function(oe,we,Ee,We){var Et=new ee(oe,we,Ee,We);return Fr(Et),Et},qr=function(oe,we,Ee,We){return new ee(oe,we,Ee,We)},Or=function(oe,we,Ee){var We=tn([oe],[],we);return We.height=Math.max(Ee||we.fontMetrics().defaultRuleThickness,we.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},Qr=function(oe,we,Ee,We){var Et=new se(oe,we,Ee,We);return Fr(Et),Et},Ir=function(oe){var we=new Te(oe);return Fr(we),we},ur=function(oe,we){return oe instanceof Te?tn([],[oe],we):oe},pr=function(oe){if(oe.positionType==="individualShift"){for(var we=oe.children,Ee=[we[0]],We=-we[0].shift-we[0].elem.depth,Et=We,Ut=1;Ut<we.length;Ut++){var hr=-we[Ut].shift-Et-we[Ut].elem.depth,gr=hr-(we[Ut-1].elem.height+we[Ut-1].elem.depth);Et=Et+hr,Ee.push({type:"kern",size:gr}),Ee.push(we[Ut])}return{children:Ee,depth:We}}var Rr;if(oe.positionType==="top"){for(var $r=oe.positionData,ln=0;ln<oe.children.length;ln++){var yn=oe.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(oe.positionType==="bottom")Rr=-oe.positionData;else{var Cn=oe.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(oe.positionType==="shift")Rr=-Cn.elem.depth-oe.positionData;else if(oe.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+oe.positionType+".")}return{children:oe.children,depth:Rr}},cr=function(oe,we){for(var Ee=pr(oe),We=Ee.children,Et=Ee.depth,Ut=0,hr=0;hr<We.length;hr++){var gr=We[hr];if(gr.type==="elem"){var Rr=gr.elem;Ut=Math.max(Ut,Rr.maxFontSize,Rr.height)}}Ut+=2;var $r=tn(["pstrut"],[]);$r.style.height=Ut+"em";for(var ln=[],yn=Et,Cn=Et,Qn=Et,ti=0;ti<We.length;ti++){var wi=We[ti];if(wi.type==="kern")Qn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[$r,ea],void 0,Sa);lo.style.top=-Ut-Qn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Qn+=ea.height+ea.depth}yn=Math.min(yn,Qn),Cn=Math.max(Cn,Qn)}var Wa=tn(["vlist"],ln);Wa.style.height=Cn+"em";var yo;if(yn<0){var Ao=tn([],[]),$a=tn(["vlist"],[Ao]);$a.style.height=-yn+"em";var Fo=tn(["vlist-s"],[new ze("\u200B")]);yo=[tn(["vlist-r"],[Wa,Fo]),tn(["vlist-r"],[$a])]}else yo=[tn(["vlist-r"],[Wa])];var No=tn(["vlist-t"],yo);return yo.length===2&&No.classes.push("vlist-t2"),No.height=Cn,No.depth=-yn,No},fr=function(oe,we){var Ee=tn(["mspace"],[],we),We=ft(oe,we);return Ee.style.marginRight=We+"em",Ee},xr=function(oe,we,Ee){var We="";switch(oe){case"amsrm":We="AMS";break;case"textrm":We="Main";break;case"textsf":We="SansSerif";break;case"texttt":We="Typewriter";break;default:We=oe}var Et;return we==="textbf"&&Ee==="textit"?Et="BoldItalic":we==="textbf"?Et="Bold":we==="textit"?Et="Italic":Et="Regular",We+"-"+Et},Gr={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"}},un={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Nn=function(oe,we){var Ee=un[oe],We=Ee[0],Et=Ee[1],Ut=Ee[2],hr=new ae(We),gr=new _e([hr],{width:Et+"em",height:Ut+"em",style:"width:"+Et+"em",viewBox:"0 0 "+1e3*Et+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],we);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Et+"em",Rr},jr={fontMap:Gr,makeSymbol:ht,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:Or,makeAnchor:Qr,makeFragment:Ir,wrapFragment:ur,makeVList:cr,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:un,tryCombineChars:Nr};function Tn(Pt,oe){var we=gn(Pt,oe);if(!we)throw new Error("Expected node of type "+oe+", but got "+(Pt?"node of type "+Pt.type:String(Pt)));return we}function gn(Pt,oe){return Pt&&Pt.type===oe?Pt:null}function Pn(Pt,oe){var we=zn(Pt,oe);if(!we)throw new Error('Expected node of type "atom" and family "'+oe+'", but got '+(Pt?Pt.type==="atom"?"atom of family "+Pt.family:"node of type "+Pt.type:String(Pt)));return we}function zn(Pt,oe){return Pt&&Pt.type==="atom"&&Pt.family===oe?Pt:null}function qn(Pt){var oe=Gn(Pt);if(!oe)throw new Error("Expected node of symbol group type, but got "+(Pt?"node of type "+Pt.type:String(Pt)));return oe}function Gn(Pt){return Pt&&(Pt.type==="atom"||rt.hasOwnProperty(Pt.type))?Pt:null}var Vn={number:3,unit:"mu"},An={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:An,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:An,mop:An,mopen:An,minner:An},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:An,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:An,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},Ii={},Ci={};function Yn(Pt){for(var oe=Pt.type,we=Pt.names,Ee=Pt.props,We=Pt.handler,Et=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:oe,numArgs:Ee.numArgs,argTypes:Ee.argTypes,greediness:Ee.greediness===void 0?1:Ee.greediness,allowedInText:!!Ee.allowedInText,allowedInMath:Ee.allowedInMath===void 0?!0:Ee.allowedInMath,numOptionalArgs:Ee.numOptionalArgs||0,infix:!!Ee.infix,handler:We},gr=0;gr<we.length;++gr)ta[we[gr]]=hr;oe&&(Et&&(Ii[oe]=Et),Ut&&(Ci[oe]=Ut))}function _a(Pt){var oe=Pt.type,we=Pt.htmlBuilder,Ee=Pt.mathmlBuilder;Yn({type:oe,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:we,mathmlBuilder:Ee})}var mn=function(oe){var we=gn(oe,"ordgroup");return we?we.body:[oe]},_n=jr.makeSpan,On=["leftmost","mbin","mopen","mrel","mop","mpunct"],In=["rightmost","mrel","mclose","mpunct"],jn={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(oe,we,Ee,We){We===void 0&&(We=[null,null]);for(var Et=[],Ut=0;Ut<oe.length;Ut++){var hr=Wi(oe[Ut],we);if(hr instanceof Te){var gr=hr.children;Et.push.apply(Et,gr)}else Et.push(hr)}if(!Ee)return Et;var Rr=we;if(oe.length===1){var $r=gn(oe[0],"sizing")||gn(oe[0],"styling");$r&&($r.type==="sizing"?Rr=we.havingSize($r.size):$r.type==="styling"&&(Rr=we.havingStyle(jn[$r.style])))}var ln=_n([We[0]||"leftmost"],[],we),yn=_n([We[1]||"rightmost"],[],we);return Na(Et,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&b.contains(In,wi)?Qn.classes[0]="mord":wi==="mbin"&&b.contains(On,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Et,function(Cn,Qn){var ti=Ba(Qn),wi=Ba(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},yn),Et},Na=function Pt(oe,we,Ee,We){We&&oe.push(We);for(var Et=0;Et<oe.length;Et++){var Ut=oe[Et],hr=Qi(Ut);if(hr){Pt(hr.children,we,Ee);continue}if(Ut.classes[0]==="mspace")continue;var gr=we(Ut,Ee.node);gr&&(Ee.insertAfter?Ee.insertAfter(gr):(oe.unshift(gr),Et++)),Ee.node=Ut,Ee.insertAfter=function(Rr){return function($r){oe.splice(Rr+1,0,$r),Et++}}(Et)}We&&oe.pop()},Qi=function(oe){return oe instanceof Te||oe instanceof se?oe:null},ma=function Pt(oe,we){var Ee=Qi(oe);if(Ee){var We=Ee.children;if(We.length){if(we==="right")return Pt(We[We.length-1],"right");if(we==="left")return Pt(We[0],"left")}}return oe},Ba=function(oe,we){return oe?(we&&(oe=ma(oe,we)),ni[oe.classes[0]]||null):null},Qa=function(oe,we){var Ee=["nulldelimiter"].concat(oe.baseSizingClasses());return _n(we.concat(Ee))},Wi=function(oe,we,Ee){if(!oe)return _n();if(Ii[oe.type]){var We=Ii[oe.type](oe,we);if(Ee&&we.size!==Ee.size){We=_n(we.sizingClasses(Ee),[We],we);var Et=we.sizeMultiplier/Ee.sizeMultiplier;We.height*=Et,We.depth*=Et}return We}else throw new o("Got group of unknown type: '"+oe.type+"'")};function Co(Pt,oe){var we=_n(["base"],Pt,oe),Ee=_n(["strut"]);return Ee.style.height=we.height+we.depth+"em",Ee.style.verticalAlign=-we.depth+"em",we.children.unshift(Ee),we}function aa(Pt,oe){var we=null;Pt.length===1&&Pt[0].type==="tag"&&(we=Pt[0].tag,Pt=Pt[0].body);for(var Ee=di(Pt,oe,!0),We=[],Et=[],Ut=0;Ut<Ee.length;Ut++)if(Et.push(Ee[Ut]),Ee[Ut].hasClass("mbin")||Ee[Ut].hasClass("mrel")||Ee[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Ee.length-1&&Ee[Ut+1].hasClass("mspace")&&!Ee[Ut+1].hasClass("newline");)Ut++,Et.push(Ee[Ut]),Ee[Ut].hasClass("nobreak")&&(hr=!0);hr||(We.push(Co(Et,oe)),Et=[])}else Ee[Ut].hasClass("newline")&&(Et.pop(),Et.length>0&&(We.push(Co(Et,oe)),Et=[]),We.push(Ee[Ut]));Et.length>0&&We.push(Co(Et,oe));var gr;we&&(gr=Co(di(we,oe,!0)),gr.classes=["tag"],We.push(gr));var Rr=_n(["katex-html"],We);if(Rr.setAttribute("aria-hidden","true"),gr){var $r=gr.children[0];$r.style.height=Rr.height+Rr.depth+"em",$r.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Pt){return new Te(Pt)}var ga=function(){function Pt(we,Ee){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=we,this.attributes={},this.children=Ee||[]}var oe=Pt.prototype;return oe.setAttribute=function(Ee,We){this.attributes[Ee]=We},oe.getAttribute=function(Ee){return this.attributes[Ee]},oe.toNode=function(){var Ee=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Ee.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)Ee.appendChild(this.children[Et].toNode());return Ee},oe.toMarkup=function(){var Ee="<"+this.type;for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ee+=" "+We+'="',Ee+=b.escape(this.attributes[We]),Ee+='"');Ee+=">";for(var Et=0;Et<this.children.length;Et++)Ee+=this.children[Et].toMarkup();return Ee+="</"+this.type+">",Ee},oe.toText=function(){return this.children.map(function(Ee){return Ee.toText()}).join("")},Pt}(),ha=function(){function Pt(we){this.text=void 0,this.text=we}var oe=Pt.prototype;return oe.toNode=function(){return document.createTextNode(this.text)},oe.toMarkup=function(){return b.escape(this.toText())},oe.toText=function(){return this.text},Pt}(),mo=function(){function Pt(we){this.width=void 0,this.character=void 0,this.width=we,we>=.05555&&we<=.05556?this.character="\u200A":we>=.1666&&we<=.1667?this.character="\u2009":we>=.2222&&we<=.2223?this.character="\u2005":we>=.2777&&we<=.2778?this.character="\u2005\u200A":we>=-.05556&&we<=-.05555?this.character="\u200A\u2063":we>=-.1667&&we<=-.1666?this.character="\u2009\u2063":we>=-.2223&&we<=-.2222?this.character="\u205F\u2063":we>=-.2778&&we<=-.2777?this.character="\u2005\u2063":this.character=null}var oe=Pt.prototype;return oe.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ee=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ee.setAttribute("width",this.width+"em"),Ee},oe.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},oe.toText=function(){return this.character?this.character:" "},Pt}(),kn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(oe,we,Ee){return Ve[we][oe]&&Ve[we][oe].replace&&oe.charCodeAt(0)!==55349&&!(Ne.hasOwnProperty(oe)&&Ee&&(Ee.fontFamily&&Ee.fontFamily.substr(4,2)==="tt"||Ee.font&&Ee.font.substr(4,2)==="tt"))&&(oe=Ve[we][oe].replace),new kn.TextNode(oe)},eo=function(oe){return oe.length===1?oe[0]:new kn.MathNode("mrow",oe)},To=function(oe,we){if(we.fontFamily==="texttt")return"monospace";if(we.fontFamily==="textsf")return we.fontShape==="textit"&&we.fontWeight==="textbf"?"sans-serif-bold-italic":we.fontShape==="textit"?"sans-serif-italic":we.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(we.fontShape==="textit"&&we.fontWeight==="textbf")return"bold-italic";if(we.fontShape==="textit")return"italic";if(we.fontWeight==="textbf")return"bold";var Ee=we.font;if(!Ee||Ee==="mathnormal")return null;var We=oe.mode;if(Ee==="mathit")return"italic";if(Ee==="boldsymbol")return"bold-italic";if(Ee==="mathbf")return"bold";if(Ee==="mathbb")return"double-struck";if(Ee==="mathfrak")return"fraktur";if(Ee==="mathscr"||Ee==="mathcal")return"script";if(Ee==="mathsf")return"sans-serif";if(Ee==="mathtt")return"monospace";var Et=oe.text;if(b.contains(["\\imath","\\jmath"],Et))return null;Ve[We][Et]&&Ve[We][Et].replace&&(Et=Ve[We][Et].replace);var Ut=jr.fontMap[Ee].fontName;return He(Et,Ut,We)?jr.fontMap[Ee].variant:null},uo=function(oe,we,Ee){if(oe.length===1){var We=Tr(oe[0],we);return Ee&&We instanceof ga&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var Et=[],Ut,hr=0;hr<oe.length;hr++){var gr=Tr(oe[hr],we);if(gr instanceof ga&&Ut instanceof ga){if(gr.type==="mtext"&&Ut.type==="mtext"&&gr.getAttribute("mathvariant")===Ut.getAttribute("mathvariant")){var Rr;(Rr=Ut.children).push.apply(Rr,gr.children);continue}else if(gr.type==="mn"&&Ut.type==="mn"){var $r;($r=Ut.children).push.apply($r,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Ut.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var yn;(yn=Ut.children).push.apply(yn,gr.children);continue}}else if(Ut.type==="mi"&&Ut.children.length===1){var Cn=Ut.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Qn=gr.children[0];Qn instanceof ha&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),Et.pop())}}}Et.push(gr),Ut=gr}return Et},rr=function(oe,we,Ee){return eo(uo(oe,we,Ee))},Tr=function(oe,we){if(!oe)return new kn.MathNode("mrow");if(Ci[oe.type]){var Ee=Ci[oe.type](oe,we);return Ee}else throw new o("Got group of unknown type: '"+oe.type+"'")};function Pr(Pt,oe,we,Ee){var We=uo(Pt,we),Et;We.length===1&&We[0]instanceof ga&&b.contains(["mrow","mtable"],We[0].type)?Et=We[0]:Et=new kn.MathNode("mrow",We);var Ut=new kn.MathNode("annotation",[new kn.TextNode(oe)]);Ut.setAttribute("encoding","application/x-tex");var hr=new kn.MathNode("semantics",[Et,Ut]),gr=new kn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Ee?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(oe){return new er({style:oe.displayMode?H.DISPLAY:H.TEXT,maxSize:oe.maxSize,minRuleThickness:oe.minRuleThickness})},hn=function(oe,we){if(we.displayMode){var Ee=["katex-display"];we.leqno&&Ee.push("leqno"),we.fleqn&&Ee.push("fleqn"),oe=jr.makeSpan(Ee,[oe])}return oe},tt=function(oe,we,Ee){var We=Wr(Ee),Et;if(Ee.output==="mathml")return Pr(oe,we,We,!0);if(Ee.output==="html"){var Ut=aa(oe,We);Et=jr.makeSpan(["katex"],[Ut])}else{var hr=Pr(oe,we,We,!1),gr=aa(oe,We);Et=jr.makeSpan(["katex"],[hr,gr])}return hn(Et,Ee)},jt=function(oe,we,Ee){var We=Wr(Ee),Et=aa(oe,We),Ut=jr.makeSpan(["katex"],[Et]);return hn(Ut,Ee)},Jt=tt,nr={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"},_r=function(oe){var we=new kn.MathNode("mo",[new kn.TextNode(nr[oe.substr(1)])]);return we.setAttribute("stretchy","true"),we},wr={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]},Er=function(oe){return oe.type==="ordgroup"?oe.body.length:1},zr=function(oe,we){function Ee(){var gr=4e5,Rr=oe.label.substr(1);if(b.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=oe,ln=Er($r.base),yn,Cn,Qn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(yn=420,gr=2364,Qn=.42,Cn=Rr+"4"):(yn=312,gr=2340,Qn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],yn=[0,239,300,360,420][ti],Qn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(gr=[0,600,1033,2339,2340][ti],yn=[0,260,286,306,312][ti],Qn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new ae(Cn),ea=new _e([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],we),minWidth:0,height:Qn}}else{var ji=[],Sa=wr[Rr],lo=Sa[0],Wa=Sa[1],yo=Sa[2],Ao=yo/1e3,$a=lo.length,Fo,No;if($a===1){var Ha=Sa[3];Fo=["hide-tail"],No=[Ha]}else if($a===2)Fo=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)Fo=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+$a+" children.");for(var jo=0;jo<$a;jo++){var ko=new ae(lo[jo]),Qo=new _e([ko],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([Fo[jo]],[Qo],we);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,we),minWidth:Wa,height:Ao}}}var We=Ee(),Et=We.span,Ut=We.minWidth,hr=We.height;return Et.height=hr,Et.style.height=hr+"em",Ut>0&&(Et.style.minWidth=Ut+"em"),Et},Jr=function(oe,we,Ee,We){var Et,Ut=oe.height+oe.depth+2*Ee;if(/fbox|color/.test(we)){if(Et=jr.makeSpan(["stretchy",we],[],We),we==="fbox"){var hr=We.color&&We.getColor();hr&&(Et.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(we)&&gr.push(new me({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(we)&&gr.push(new me({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new _e(gr,{width:"100%",height:Ut+"em"});Et=jr.makeSvgSpan([],[Rr],We)}return Et.height=Ut,Et.style.height=Ut+"em",Et},Zr={encloseSpan:Jr,mathMLnode:_r,svgSpan:zr},an=function(oe,we){var Ee,We,Et=gn(oe,"supsub"),Ut;Et?(We=Tn(Et.base,"accent"),Ee=We.base,Et.base=Ee,Ut=Ze(Wi(Et,we)),Et.base=We):(We=Tn(oe,"accent"),Ee=We.base);var hr=Wi(Ee,we.havingCrampedStyle()),gr=We.isShifty&&b.isCharacterBox(Ee),Rr=0;if(gr){var $r=b.getBaseElem(Ee),ln=Wi($r,we.havingCrampedStyle());Rr=Oe(ln).skew}var yn=Math.min(hr.height,we.fontMetrics().xHeight),Cn;if(We.isStretchy)Cn=Zr.svgSpan(We,we),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Rr>0?{width:"calc(100% - "+2*Rr+"em)",marginLeft:2*Rr+"em"}:void 0}]},we);else{var Qn,ti;We.label==="\\vec"?(Qn=jr.staticSvg("vec",we),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:We.mode,text:We.label},we,"textord"),Qn=Oe(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=We.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",We.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},we)}var ji=jr.makeSpan(["mord","accent"],[Cn],we);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},St=function(oe,we){var Ee=oe.isStretchy?Zr.mathMLnode(oe.label):new kn.MathNode("mo",[$i(oe.label,oe.mode)]),We=new kn.MathNode("mover",[Tr(oe.base,we),Ee]);return We.setAttribute("accent","true"),We},Vt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Pt){return"\\"+Pt}).join("|"));Yn({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,we){var Ee=we[0],We=!Vt.test(oe.funcName),Et=!We||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:We,isShifty:Et,base:Ee}},htmlBuilder:an,mathmlBuilder:St}),Yn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(oe,we){var Ee=we[0];return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:!1,isShifty:!0,base:Ee}},htmlBuilder:an,mathmlBuilder:St}),Yn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];return{type:"accentUnder",mode:Ee.mode,label:We,base:Et}},htmlBuilder:function(oe,we){var Ee=Wi(oe.base,we),We=Zr.svgSpan(oe,we),Et=oe.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:We.height+Et,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:Et},{type:"elem",elem:Ee}]},we);return jr.makeSpan(["mord","accentunder"],[Ut],we)},mathmlBuilder:function(oe,we){var Ee=Zr.mathMLnode(oe.label),We=new kn.MathNode("munder",[Tr(oe.base,we),Ee]);return We.setAttribute("accentunder","true"),We}});var sr=function(oe){var we=new kn.MathNode("mpadded",oe?[oe]:[]);return we.setAttribute("width","+0.6em"),we.setAttribute("lspace","0.3em"),we};Yn({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,we,Ee){var We=oe.parser,Et=oe.funcName;return{type:"xArrow",mode:We.mode,label:Et,body:we[0],below:Ee[0]}},htmlBuilder:function(oe,we){var Ee=we.style,We=we.havingStyle(Ee.sup()),Et=jr.wrapFragment(Wi(oe.body,We,we),we);Et.classes.push("x-arrow-pad");var Ut;oe.below&&(We=we.havingStyle(Ee.sub()),Ut=jr.wrapFragment(Wi(oe.below,We,we),we),Ut.classes.push("x-arrow-pad"));var hr=Zr.svgSpan(oe,we),gr=-we.fontMetrics().axisHeight+.5*hr.height,Rr=-we.fontMetrics().axisHeight-.5*hr.height-.111;(Et.depth>.25||oe.label==="\\xleftequilibrium")&&(Rr-=Et.depth);var $r;if(Ut){var ln=-we.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},we)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr}]},we);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],we)},mathmlBuilder:function(oe,we){var Ee=Zr.mathMLnode(oe.label),We;if(oe.body){var Et=sr(Tr(oe.body,we));if(oe.below){var Ut=sr(Tr(oe.below,we));We=new kn.MathNode("munderover",[Ee,Ut,Et])}else We=new kn.MathNode("mover",[Ee,Et])}else if(oe.below){var hr=sr(Tr(oe.below,we));We=new kn.MathNode("munder",[Ee,hr])}else We=sr(),We=new kn.MathNode("mover",[Ee,We]);return We}}),Yn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){for(var Ee=oe.parser,We=Tn(we[0],"ordgroup"),Et=We.body,Ut="",hr=0;hr<Et.length;hr++){var gr=Tn(Et[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new o("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Ee.mode,text:String.fromCharCode(Rr)}}});var br=function(oe,we){var Ee=di(oe.body,we.withColor(oe.color),!1);return jr.makeFragment(Ee)},Mr=function(oe,we){var Ee=uo(oe.body,we.withColor(oe.color)),We=new kn.MathNode("mstyle",Ee);return We.setAttribute("mathcolor",oe.color),We};Yn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(oe,we){var Ee=oe.parser,We=Tn(we[0],"color-token").color,Et=we[1];return{type:"color",mode:Ee.mode,color:We,body:mn(Et)}},htmlBuilder:br,mathmlBuilder:Mr}),Yn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(oe,we){var Ee=oe.parser,We=oe.breakOnTokenText,Et=Tn(we[0],"color-token").color;Ee.gullet.macros.set("\\current@color",Et);var Ut=Ee.parseExpression(!0,We);return{type:"color",mode:Ee.mode,color:Et,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Yn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,we,Ee){var We=oe.parser,Et=oe.funcName,Ut=Ee[0],hr=Et==="\\cr",gr=!1;return hr||(We.settings.displayMode&&We.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:We.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(oe,we){if(oe.newRow)throw new o("\\cr valid only within a tabular/array environment");var Ee=jr.makeSpan(["mspace"],[],we);return oe.newLine&&(Ee.classes.push("newline"),oe.size&&(Ee.style.marginTop=ft(oe.size,we)+"em")),Ee},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mspace");return oe.newLine&&(Ee.setAttribute("linebreak","newline"),oe.size&&Ee.setAttribute("height",ft(oe.size,we)+"em")),Ee}});var Dr=function(oe,we,Ee){var We=Ve.math[oe]&&Ve.math[oe].replace,Et=He(We||oe,we,Ee);if(!Et)throw new Error("Unsupported symbol "+oe+" and font size "+we+".");return Et},rn=function(oe,we,Ee,We){var Et=Ee.havingBaseStyle(we),Ut=jr.makeSpan(We.concat(Et.sizingClasses(Ee)),[oe],Ee),hr=Et.sizeMultiplier/Ee.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Et.sizeMultiplier,Ut},fn=function(oe,we,Ee){var We=we.havingBaseStyle(Ee),Et=(1-we.sizeMultiplier/We.sizeMultiplier)*we.fontMetrics().axisHeight;oe.classes.push("delimcenter"),oe.style.top=Et+"em",oe.height-=Et,oe.depth+=Et},wn=function(oe,we,Ee,We,Et,Ut){var hr=jr.makeSymbol(oe,"Main-Regular",Et,We),gr=rn(hr,we,We,Ut);return Ee&&fn(gr,We,we),gr},Hn=function(oe,we,Ee,We){return jr.makeSymbol(oe,"Size"+we+"-Regular",Ee,We)},Sn=function(oe,we,Ee,We,Et,Ut){var hr=Hn(oe,we,Et,We),gr=rn(jr.makeSpan(["delimsizing","size"+we],[hr],We),H.TEXT,We,Ut);return Ee&&fn(gr,We,H.TEXT),gr},bn=function(oe,we,Ee){var We;we==="Size1-Regular"?We="delim-size1":We="delim-size4";var Et=jr.makeSpan(["delimsizinginner",We],[jr.makeSpan([],[jr.makeSymbol(oe,we,Ee)])]);return{type:"elem",elem:Et}},Mn={type:"kern",size:-.005},vn=function(oe,we,Ee,We,Et,Ut){var hr,gr,Rr,$r;hr=Rr=$r=oe,gr=null;var ln="Size1-Regular";oe==="\\uparrow"?Rr=$r="\u23D0":oe==="\\Uparrow"?Rr=$r="\u2016":oe==="\\downarrow"?hr=Rr="\u23D0":oe==="\\Downarrow"?hr=Rr="\u2016":oe==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):oe==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):oe==="["||oe==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):oe==="]"||oe==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):oe==="\\lfloor"||oe==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):oe==="\\lceil"||oe==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):oe==="\\rfloor"||oe==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):oe==="\\rceil"||oe==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):oe==="("||oe==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):oe===")"||oe==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):oe==="\\{"||oe==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):oe==="\\}"||oe==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):oe==="\\lgroup"||oe==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):oe==="\\rgroup"||oe==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):oe==="\\lmoustache"||oe==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(oe==="\\rmoustache"||oe==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Et),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Et),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Et),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Et);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((we-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=We.fontMetrics().axisHeight;Ee&&($a*=We.sizeMultiplier);var Fo=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Et)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));else{for(var ko=0;ko<yo;ko++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(gr,ln,Et));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(hr,ln,Et));var wo=We.havingBaseStyle(H.TEXT),us=jr.makeVList({positionType:"bottom",positionData:Fo,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[us],wo),H.TEXT,We,Ut)},Rn=80,En=.08,Ln=function(oe,we,Ee,We,Et){var Ut=Ge(oe,We,Ee),hr=new ae(oe,Ut),gr=new _e([hr],{width:"400em",height:we+"em",viewBox:"0 0 400000 "+Ee,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Et)},Xn=function(oe,we){var Ee=we.havingBaseSizing(),We=Ui("\\surd",oe*Ee.sizeMultiplier,Ri,Ee),Et=Ee.sizeMultiplier,Ut=Math.max(0,we.minRuleThickness-we.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return We.type==="small"?($r=1e3+1e3*Ut+Rn,oe<1?Et=1:oe<1.4&&(Et=.7),gr=(1+Ut+En)/Et,Rr=(1+Ut)/Et,hr=Ln("sqrtMain",gr,$r,Ut,we),hr.style.minWidth="0.853em",ln=.833/Et):We.type==="large"?($r=(1e3+Rn)*yi[We.size],Rr=(yi[We.size]+Ut)/Et,gr=(yi[We.size]+Ut+En)/Et,hr=Ln("sqrtSize"+We.size,gr,$r,Ut,we),hr.style.minWidth="1.02em",ln=1/Et):(gr=oe+Ut+En,Rr=oe+Ut,$r=Math.floor(1e3*oe+Ut)+Rn,hr=Ln("sqrtTall",gr,$r,Ut,we),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(we.fontMetrics().sqrtRuleThickness+Ut)*Et}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Di=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yi=[0,1.2,1.8,2.4,3],xi=function(oe,we,Ee,We,Et){if(oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle"),b.contains(ai,oe)||b.contains(Di,oe))return Sn(oe,we,!1,Ee,We,Et);if(b.contains(ri,oe))return vn(oe,yi[we],!1,Ee,We,Et);throw new o("Illegal delimiter: '"+oe+"'")},Oi=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Un=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Ri=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=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.")},Ui=function(oe,we,Ee,We){for(var Et=Math.min(2,3-We.style.size),Ut=Et;Ut<Ee.length&&!(Ee[Ut].type==="stack");Ut++){var hr=Dr(oe,fa(Ee[Ut]),"math"),gr=hr.height+hr.depth;if(Ee[Ut].type==="small"){var Rr=We.havingBaseStyle(Ee[Ut].style);gr*=Rr.sizeMultiplier}if(gr>we)return Ee[Ut]}return Ee[Ee.length-1]},Mi=function(oe,we,Ee,We,Et,Ut){oe==="<"||oe==="\\lt"||oe==="\u27E8"?oe="\\langle":(oe===">"||oe==="\\gt"||oe==="\u27E9")&&(oe="\\rangle");var hr;b.contains(Di,oe)?hr=Oi:b.contains(ai,oe)?hr=Ri:hr=Un;var gr=Ui(oe,we,hr,We);return gr.type==="small"?wn(oe,gr.style,Ee,We,Et,Ut):gr.type==="large"?Sn(oe,gr.size,Ee,We,Et,Ut):vn(oe,we,Ee,We,Et,Ut)},mi=function(oe,we,Ee,We,Et,Ut){var hr=We.fontMetrics().axisHeight*We.sizeMultiplier,gr=901,Rr=5/We.fontMetrics().ptPerEm,$r=Math.max(we-hr,Ee+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(oe,ln,!0,We,Et,Ut)},hi={sqrtImage:Xn,sizedDelim:xi,customSizedDelim:Mi,leftRightDelim:mi},qi={"\\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}},va=["(","\\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 Ea(Pt,oe){var we=Gn(Pt);if(we&&b.contains(va,we.text))return we;throw new o("Invalid delimiter: '"+(we?we.text:JSON.stringify(Pt))+"' after '"+oe.funcName+"'",Pt)}Yn({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,we){var Ee=Ea(we[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:qi[oe.funcName].size,mclass:qi[oe.funcName].mclass,delim:Ee.text}},htmlBuilder:function(oe,we){return oe.delim==="."?jr.makeSpan([oe.mclass]):hi.sizedDelim(oe.delim,oe.size,we,oe.mode,[oe.mclass])},mathmlBuilder:function(oe){var we=[];oe.delim!=="."&&we.push($i(oe.delim,oe.mode));var Ee=new kn.MathNode("mo",we);return oe.mclass==="mopen"||oe.mclass==="mclose"?Ee.setAttribute("fence","true"):Ee.setAttribute("fence","false"),Ee}});function ya(Pt){if(!Pt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Yn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser.gullet.macros.get("\\current@color");if(Ee&&typeof Ee!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:Ea(we[0],oe).text,color:Ee}}}),Yn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(oe,we){var Ee=Ea(we[0],oe),We=oe.parser;++We.leftrightDepth;var Et=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Ut=Tn(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:Et,left:Ee.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(oe,we){ya(oe);for(var Ee=di(oe.body,we,!0,["mopen","mclose"]),We=0,Et=0,Ut=!1,hr=0;hr<Ee.length;hr++)Ee[hr].isMiddle?Ut=!0:(We=Math.max(Ee[hr].height,We),Et=Math.max(Ee[hr].depth,Et));We*=we.sizeMultiplier,Et*=we.sizeMultiplier;var gr;if(oe.left==="."?gr=Qa(we,["mopen"]):gr=hi.leftRightDelim(oe.left,We,Et,we,oe.mode,["mopen"]),Ee.unshift(gr),Ut)for(var Rr=1;Rr<Ee.length;Rr++){var $r=Ee[Rr],ln=$r.isMiddle;ln&&(Ee[Rr]=hi.leftRightDelim(ln.delim,We,Et,ln.options,oe.mode,[]))}var yn;if(oe.right===".")yn=Qa(we,["mclose"]);else{var Cn=oe.rightColor?we.withColor(oe.rightColor):we;yn=hi.leftRightDelim(oe.right,We,Et,Cn,oe.mode,["mclose"])}return Ee.push(yn),jr.makeSpan(["minner"],Ee,we)},mathmlBuilder:function(oe,we){ya(oe);var Ee=uo(oe.body,we);if(oe.left!=="."){var We=new kn.MathNode("mo",[$i(oe.left,oe.mode)]);We.setAttribute("fence","true"),Ee.unshift(We)}if(oe.right!=="."){var Et=new kn.MathNode("mo",[$i(oe.right,oe.mode)]);Et.setAttribute("fence","true"),oe.rightColor&&Et.setAttribute("mathcolor",oe.rightColor),Ee.push(Et)}return eo(Ee)}}),Yn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(oe,we){var Ee=Ea(we[0],oe);if(!oe.parser.leftrightDepth)throw new o("\\middle without preceding \\left",Ee);return{type:"middle",mode:oe.parser.mode,delim:Ee.text}},htmlBuilder:function(oe,we){var Ee;if(oe.delim===".")Ee=Qa(we,[]);else{Ee=hi.sizedDelim(oe.delim,1,we,oe.mode,[]);var We={delim:oe.delim,options:we};Ee.isMiddle=We}return Ee},mathmlBuilder:function(oe,we){var Ee=oe.delim==="\\vert"||oe.delim==="|"?$i("|","text"):$i(oe.delim,oe.mode),We=new kn.MathNode("mo",[Ee]);return We.setAttribute("fence","true"),We.setAttribute("lspace","0.05em"),We.setAttribute("rspace","0.05em"),We}});var oa=function(oe,we){var Ee=jr.wrapFragment(Wi(oe.body,we),we),We=oe.label.substr(1),Et=we.sizeMultiplier,Ut,hr=0,gr=b.isCharacterBox(oe.body);if(We==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=we.fontMetrics().defaultRuleThickness/Et,hr=-.5*we.fontMetrics().xHeight;else{/cancel/.test(We)?gr||Ee.classes.push("cancel-pad"):Ee.classes.push("boxpad");var Rr=0,$r=0;/box/.test(We)?($r=Math.max(we.fontMetrics().fboxrule,we.minRuleThickness),Rr=we.fontMetrics().fboxsep+(We==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Zr.encloseSpan(Ee,We,Rr,we),/fbox|boxed|fcolorbox/.test(We)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Ee.depth+Rr,oe.backgroundColor&&(Ut.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Ut.style.borderColor=oe.borderColor))}var ln;return oe.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Ee,shift:0}]},we):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ee,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(We)?["svg-align"]:[]}]},we),/cancel/.test(We)&&(ln.height=Ee.height,ln.depth=Ee.depth),/cancel/.test(We)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],we):jr.makeSpan(["mord"],[ln],we)},sa=function(oe,we){var Ee=0,We=new kn.MathNode(oe.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(oe.body,we)]);switch(oe.label){case"\\cancel":We.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":We.setAttribute("notation","downdiagonalstrike");break;case"\\sout":We.setAttribute("notation","horizontalstrike");break;case"\\fbox":We.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ee=we.fontMetrics().fboxsep*we.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Ee+"pt"),We.setAttribute("height","+"+2*Ee+"pt"),We.setAttribute("lspace",Ee+"pt"),We.setAttribute("voffset",Ee+"pt"),oe.label==="\\fcolorbox"){var Et=Math.max(we.fontMetrics().fboxrule,we.minRuleThickness);We.setAttribute("style","border: "+Et+"em solid "+String(oe.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&We.setAttribute("mathbackground",oe.backgroundColor),We};Yn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(oe,we,Ee){var We=oe.parser,Et=oe.funcName,Ut=Tn(we[0],"color-token").color,hr=we[1];return{type:"enclose",mode:We.mode,label:Et,backgroundColor:Ut,body:hr}},htmlBuilder:oa,mathmlBuilder:sa}),Yn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(oe,we,Ee){var We=oe.parser,Et=oe.funcName,Ut=Tn(we[0],"color-token").color,hr=Tn(we[1],"color-token").color,gr=we[2];return{type:"enclose",mode:We.mode,label:Et,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Yn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(oe,we){var Ee=oe.parser;return{type:"enclose",mode:Ee.mode,label:"\\fbox",body:we[0]}}}),Yn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(oe,we,Ee){var We=oe.parser,Et=oe.funcName,Ut=we[0];return{type:"enclose",mode:We.mode,label:Et,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Pt){for(var oe=Pt.type,we=Pt.names,Ee=Pt.props,We=Pt.handler,Et=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:oe,numArgs:Ee.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},gr=0;gr<we.length;++gr)Ni[we[gr]]=hr;Et&&(Ii[oe]=Et),Ut&&(Ci[oe]=Ut)}function Ai(Pt){var oe=[];Pt.consumeSpaces();for(var we=Pt.fetch().text;we==="\\hline"||we==="\\hdashline";)Pt.consume(),oe.push(we==="\\hdashline"),Pt.consumeSpaces(),we=Pt.fetch().text;return oe}function Li(Pt,oe,we){var Ee=oe.hskipBeforeAndAfter,We=oe.addJot,Et=oe.cols,Ut=oe.arraystretch,hr=oe.colSeparationType;if(Pt.gullet.beginGroup(),Pt.gullet.macros.set("\\\\","\\cr"),!Ut){var gr=Pt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Ut=1;else if(Ut=parseFloat(gr),!Ut||Ut<0)throw new o("Invalid \\arraystretch: "+gr)}Pt.gullet.beginGroup();var Rr=[],$r=[Rr],ln=[],yn=[];for(yn.push(Ai(Pt));;){var Cn=Pt.parseExpression(!1,"\\cr");Pt.gullet.endGroup(),Pt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Pt.mode,body:Cn},we&&(Cn={type:"styling",mode:Pt.mode,style:we,body:[Cn]}),Rr.push(Cn);var Qn=Pt.fetch().text;if(Qn==="&")Pt.consume();else if(Qn==="\\end"){Rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&$r.pop(),yn.length<$r.length+1&&yn.push([]);break}else if(Qn==="\\cr"){var ti=Tn(Pt.parseFunction(),"cr");ln.push(ti.size),yn.push(Ai(Pt)),Rr=[],$r.push(Rr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Pt.nextToken)}return Pt.gullet.endGroup(),Pt.gullet.endGroup(),{type:"array",mode:Pt.mode,addJot:We,arraystretch:Ut,body:$r,cols:Et,rowGaps:ln,hskipBeforeAndAfter:Ee,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Pt){return Pt.substr(0,1)==="d"?"display":"text"}var Xi=function(oe,we){var Ee,We,Et=oe.body.length,Ut=oe.hLinesBeforeRow,hr=0,gr=new Array(Et),Rr=[],$r=Math.max(we.fontMetrics().arrayRuleWidth,we.minRuleThickness),ln=1/we.fontMetrics().ptPerEm,yn=5*ln;if(oe.colSeparationType&&oe.colSeparationType==="small"){var Cn=we.havingStyle(H.SCRIPT).sizeMultiplier;yn=.2778*(Cn/we.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=oe.arraystretch*Qn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ua=0;ua<bs.length;++ua)ua>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ua]})}for(lo(Ut[0]),Ee=0;Ee<oe.body.length;++Ee){var Wa=oe.body[Ee],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(We=0;We<Wa.length;++We){var Fo=Wi(Wa[We],we);Ao<Fo.depth&&(Ao=Fo.depth),yo<Fo.height&&(yo=Fo.height),$a[We]=Fo}var No=oe.rowGaps[Ee],Ha=0;No&&(Ha=ft(No,we),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),oe.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Ee]=$a,lo(Ut[Ee+1])}var jo=Sa/2+we.fontMetrics().axisHeight,ko=oe.cols||[],Qo=[],wo,us;for(We=0,us=0;We<hr||us<ko.length;++We,++us){for(var ns=ko[us]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=we.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Gs=ns.separator==="|"?"solid":"dashed",Go=jr.makeSpan(["vertical-separator"],[],we);Go.style.height=Sa+"em",Go.style.borderRightWidth=$r+"em",Go.style.borderRightStyle=Gs,Go.style.margin="0 -"+$r/2+"em",Go.style.verticalAlign=-(Sa-jo)+"em",Qo.push(Go)}else throw new o("Invalid separator type: "+ns.separator);us++,ns=ko[us]||{},Xs=!1}if(We>=hr)continue;var Eo=void 0;(We>0||oe.hskipBeforeAndAfter)&&(Eo=b.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Ee=0;Ee<Et;++Ee){var hs=gr[Ee],Rs=hs[We];if(!Rs)continue;var Do=hs.pos-jo;Rs.depth=hs.depth,Rs.height=hs.height,ds.push({type:"elem",elem:Rs,shift:Do})}ds=jr.makeVList({positionType:"individualShift",children:ds},we),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(We<hr-1||oe.hskipBeforeAndAfter)&&(Eo=b.deflt(ns.postgap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)))}if(gr=jr.makeSpan(["mtable"],Qo),Rr.length>0){for(var ys=jr.makeLineSpan("hline",we,$r),Ms=jr.makeLineSpan("hdashline",we,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var Fs=Rr.pop(),Hs=Fs.pos-jo;Fs.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},we)}return jr.makeSpan(["mord"],[gr],we)},bi={c:"center ",l:"left ",r:"right "},Aa=function(oe,we){var Ee=new kn.MathNode("mtable",oe.body.map(function(Sa){return new kn.MathNode("mtr",Sa.map(function(lo){return new kn.MathNode("mtd",[Tr(lo,we)])}))})),We=oe.arraystretch===.5?.1:.16+oe.arraystretch-1+(oe.addJot?.09:0);Ee.setAttribute("rowspacing",We+"em");var Et="",Ut="";if(oe.cols){var hr=oe.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Et+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Et+="bottom ",ln-=1);for(var yn=$r;yn<ln;yn++)hr[yn].type==="align"?(Ut+=bi[hr[yn].align],Rr&&(gr+="none "),Rr=!0):hr[yn].type==="separator"&&(Rr&&(gr+=hr[yn].separator==="|"?"solid ":"dashed ",Rr=!1));Ee.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Ee.setAttribute("columnlines",gr.trim())}if(oe.colSeparationType==="align"){for(var Cn=oe.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Ee.setAttribute("columnspacing",Qn.trim())}else oe.colSeparationType==="alignat"?Ee.setAttribute("columnspacing","0em"):oe.colSeparationType==="small"?Ee.setAttribute("columnspacing","0.2778em"):Ee.setAttribute("columnspacing","1em");var wi="",ea=oe.hLinesBeforeRow;Et+=ea[0].length>0?"left ":"",Et+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&Ee.setAttribute("rowlines",wi.trim()),Et!==""&&(Ee=new kn.MathNode("menclose",[Ee]),Ee.setAttribute("notation",Et.trim())),oe.arraystretch&&oe.arraystretch<1&&(Ee=new kn.MathNode("mstyle",[Ee]),Ee.setAttribute("scriptlevel","1")),Ee},ca=function(oe,we){var Ee=[],We=Li(oe.parser,{cols:Ee,addJot:!0},"display"),Et,Ut=0,hr={type:"ordgroup",mode:oe.mode,body:[]},gr=gn(we[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Et=Number(Rr),Ut=Et*2}var yn=!Ut;We.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Tn(wi[ea],"styling"),Sa=Tn(ji.body[0],"ordgroup");Sa.body.unshift(hr)}if(yn)Ut<wi.length&&(Ut=wi.length);else{var lo=wi.length/2;if(Et<lo)throw new o("Too many math in a row: "+("expected "+Et+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Ut;++Cn){var Qn="r",ti=0;Cn%2===1?Qn="l":Cn>0&&yn&&(ti=1),Ee[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return We.colSeparationType=yn?"align":"alignat",We};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(oe,we){var Ee=Gn(we[0]),We=Ee?[we[0]]:Tn(we[0],"ordgroup").body,Et=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+Rr,hr)}),Ut={cols:Et,hskipBeforeAndAfter:!0};return Li(oe.parser,Ut,Vi(oe.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(oe){var we={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName],Ee={hskipBeforeAndAfter:!1},We=Li(oe.parser,Ee,Vi(oe.envName));return we?{type:"leftright",mode:oe.mode,body:[We],left:we[0],right:we[1],rightColor:void 0}:We},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(oe){var we={arraystretch:.5},Ee=Li(oe.parser,we,"script");return Ee.colSeparationType="small",Ee},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(oe,we){var Ee=Gn(we[0]),We=Ee?[we[0]]:Tn(we[0],"ordgroup").body,Et=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new o("Unknown column alignment: "+Rr,hr)});if(Et.length>1)throw new o("{subarray} can contain only one column");var Ut={cols:Et,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=Li(oe.parser,Ut,"script"),Ut.body[0].length>1)throw new o("{subarray} can contain only one column");return Ut},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(oe){var we={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ee=Li(oe.parser,we,Vi(oe.envName));return{type:"leftright",mode:oe.mode,body:[Ee],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["aligned"],props:{numArgs:0},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(oe){var we={cols:[{type:"align",align:"c"}],addJot:!0};return Li(oe.parser,we,"display")},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["alignedat"],props:{numArgs:1},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),Yn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(oe,we){throw new o(oe.funcName+" valid only within array environment")}});var la=Ni,gi=la;Yn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];if(Et.type!=="ordgroup")throw new o("Invalid environment name",Et);for(var Ut="",hr=0;hr<Et.body.length;++hr)Ut+=Tn(Et.body[hr],"textord").text;if(We==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new o("No such environment: "+Ut,Et);var gr=gi[Ut],Rr=Ee.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Ee.mode,envName:Ut,parser:Ee},Cn=gr.handler(yn,$r,ln);Ee.expect("\\end",!1);var Qn=Ee.nextToken,ti=Tn(Ee.parseFunction(),"environment");if(ti.name!==Ut)throw new o("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Ee.mode,name:Ut,nameGroup:Et}}});var Pa=jr.makeSpan;function Ma(Pt,oe){var we=di(Pt.body,oe,!0);return Pa([Pt.mclass],we,oe)}function ra(Pt,oe){var we,Ee=uo(Pt.body,oe);return Pt.mclass==="minner"?kn.newDocumentFragment(Ee):(Pt.mclass==="mord"?Pt.isCharacterBox?(we=Ee[0],we.type="mi"):we=new kn.MathNode("mi",Ee):(Pt.isCharacterBox?(we=Ee[0],we.type="mo"):we=new kn.MathNode("mo",Ee),Pt.mclass==="mbin"?(we.attributes.lspace="0.22em",we.attributes.rspace="0.22em"):Pt.mclass==="mpunct"?(we.attributes.lspace="0em",we.attributes.rspace="0.17em"):(Pt.mclass==="mopen"||Pt.mclass==="mclose")&&(we.attributes.lspace="0em",we.attributes.rspace="0em")),we)}Yn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];return{type:"mclass",mode:Ee.mode,mclass:"m"+We.substr(5),body:mn(Et),isCharacterBox:b.isCharacterBox(Et)}},htmlBuilder:Ma,mathmlBuilder:ra});var Gi=function(oe){var we=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return we.type==="atom"&&(we.family==="bin"||we.family==="rel")?"m"+we.family:"mord"};Yn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(oe,we){var Ee=oe.parser;return{type:"mclass",mode:Ee.mode,mclass:Gi(we[0]),body:[we[1]],isCharacterBox:b.isCharacterBox(we[1])}}}),Yn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[1],Ut=we[0],hr;We!=="\\stackrel"?hr=Gi(Et):hr="mrel";var gr={type:"op",mode:Et.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:We!=="\\stackrel",body:mn(Et)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:We==="\\underset"?null:Ut,sub:We==="\\underset"?Ut:null};return{type:"mclass",mode:Ee.mode,mclass:hr,body:[Rr],isCharacterBox:b.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(oe,we){var Ee=oe.font,We=we.withFont(Ee);return Wi(oe.body,We)},Ki=function(oe,we){var Ee=oe.font,We=we.withFont(Ee);return Tr(oe.body,We)},zi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Yn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0],Ut=We;return Ut in zi&&(Ut=zi[Ut]),{type:"font",mode:Ee.mode,font:Ut.slice(1),body:Et}},htmlBuilder:Xa,mathmlBuilder:Ki}),Yn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(oe,we){var Ee=oe.parser,We=we[0],Et=b.isCharacterBox(We);return{type:"mclass",mode:Ee.mode,mclass:Gi(We),body:[{type:"font",mode:Ee.mode,font:"boldsymbol",body:We}],isCharacterBox:Et}}}),Yn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=oe.breakOnTokenText,Ut=Ee.mode,hr=Ee.parseExpression(!0,Et),gr="math"+We.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Ee.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:Ki});var ba=function(oe,we){var Ee=we;return oe==="display"?Ee=Ee.id>=H.SCRIPT.id?Ee.text():H.DISPLAY:oe==="text"&&Ee.size===H.DISPLAY.size?Ee=H.TEXT:oe==="script"?Ee=H.SCRIPT:oe==="scriptscript"&&(Ee=H.SCRIPTSCRIPT),Ee},Ua=function(oe,we){var Ee=ba(oe.size,we.style),We=Ee.fracNum(),Et=Ee.fracDen(),Ut;Ut=we.havingStyle(We);var hr=Wi(oe.numer,Ut,we);if(oe.continued){var gr=8.5/we.fontMetrics().ptPerEm,Rr=3.5/we.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=we.havingStyle(Et);var $r=Wi(oe.denom,Ut,we),ln,yn,Cn;oe.hasBarLine?(oe.barSize?(yn=ft(oe.barSize,we),ln=jr.makeLineSpan("frac-line",we,yn)):ln=jr.makeLineSpan("frac-line",we),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=we.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Ee.size===H.DISPLAY.size||oe.size==="display"?(Qn=we.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=we.fontMetrics().denom1):(yn>0?(Qn=we.fontMetrics().num2,ti=Cn):(Qn=we.fontMetrics().num3,ti=3*Cn),wi=we.fontMetrics().denom2);var ea;if(ln){var Sa=we.fontMetrics().axisHeight;Qn-hr.depth-(Sa+.5*yn)<ti&&(Qn+=ti-(Qn-hr.depth-(Sa+.5*yn))),Sa-.5*yn-($r.height-wi)<ti&&(wi+=ti-(Sa-.5*yn-($r.height-wi)));var lo=-(Sa-.5*yn);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:hr,shift:-Qn}]},we)}else{var ji=Qn-hr.depth-($r.height-wi);ji<ti&&(Qn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:hr,shift:-Qn}]},we)}Ut=we.havingStyle(Ee),ea.height*=Ut.sizeMultiplier/we.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/we.sizeMultiplier;var Wa;Ee.size===H.DISPLAY.size?Wa=we.fontMetrics().delim1:Wa=we.fontMetrics().delim2;var yo,Ao;return oe.leftDelim==null?yo=Qa(we,["mopen"]):yo=hi.customSizedDelim(oe.leftDelim,Wa,!0,we.havingStyle(Ee),oe.mode,["mopen"]),oe.continued?Ao=jr.makeSpan([]):oe.rightDelim==null?Ao=Qa(we,["mclose"]):Ao=hi.customSizedDelim(oe.rightDelim,Wa,!0,we.havingStyle(Ee),oe.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(we)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],we)},wa=function(oe,we){var Ee=new kn.MathNode("mfrac",[Tr(oe.numer,we),Tr(oe.denom,we)]);if(!oe.hasBarLine)Ee.setAttribute("linethickness","0px");else if(oe.barSize){var We=ft(oe.barSize,we);Ee.setAttribute("linethickness",We+"em")}var Et=ba(oe.size,we.style);if(Et.size!==we.style.size){Ee=new kn.MathNode("mstyle",[Ee]);var Ut=Et.size===H.DISPLAY.size?"true":"false";Ee.setAttribute("displaystyle",Ut),Ee.setAttribute("scriptlevel","0")}if(oe.leftDelim!=null||oe.rightDelim!=null){var hr=[];if(oe.leftDelim!=null){var gr=new kn.MathNode("mo",[new kn.TextNode(oe.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Ee),oe.rightDelim!=null){var Rr=new kn.MathNode("mo",[new kn.TextNode(oe.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Ee};Yn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0],Ut=we[1],hr,gr=null,Rr=null,$r="auto";switch(We){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,gr="(",Rr=")";break;case"\\\\bracefrac":hr=!1,gr="\\{",Rr="\\}";break;case"\\\\brackfrac":hr=!1,gr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(We){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Ee.mode,continued:We==="\\cfrac",numer:Et,denom:Ut,hasBarLine:hr,leftDelim:gr,rightDelim:Rr,size:$r,barSize:null}},htmlBuilder:Ua,mathmlBuilder:wa}),Yn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(oe){var we=oe.parser,Ee=oe.funcName,We=oe.token,Et;switch(Ee){case"\\over":Et="\\frac";break;case"\\choose":Et="\\binom";break;case"\\atop":Et="\\\\atopfrac";break;case"\\brace":Et="\\\\bracefrac";break;case"\\brack":Et="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:we.mode,replaceWith:Et,token:We}}});var vi=["display","text","script","scriptscript"],Ga=function(oe){var we=null;return oe.length>0&&(we=oe,we=we==="."?null:we),we};Yn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(oe,we){var Ee=oe.parser,We=we[4],Et=we[5],Ut=gn(we[0],"atom");Ut&&(Ut=Pn(we[0],"open"));var hr=Ut?Ga(Ut.text):null,gr=gn(we[1],"atom");gr&&(gr=Pn(we[1],"close"));var Rr=gr?Ga(gr.text):null,$r=Tn(we[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(we[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(we[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Ee.mode,numer:We,denom:Et,continued:!1,hasBarLine:ln,barSize:yn,leftDelim:hr,rightDelim:Rr,size:Cn}},htmlBuilder:Ua,mathmlBuilder:wa}),Yn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=oe.token;return{type:"infix",mode:Ee.mode,replaceWith:"\\\\abovefrac",size:Tn(we[0],"size").value,token:Et}}}),Yn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0],Ut=m(Tn(we[1],"infix").size),hr=we[2],gr=Ut.number>0;return{type:"genfrac",mode:Ee.mode,numer:Et,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var Ka=function(oe,we){var Ee=we.style,We,Et,Ut=gn(oe,"supsub");Ut?(We=Ut.sup?Wi(Ut.sup,we.havingStyle(Ee.sup()),we):Wi(Ut.sub,we.havingStyle(Ee.sub()),we),Et=Tn(Ut.base,"horizBrace")):Et=Tn(oe,"horizBrace");var hr=Wi(Et.base,we.havingBaseStyle(H.DISPLAY)),gr=Zr.svgSpan(Et,we),Rr;if(Et.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},we),Rr.children[0].children[0].children[1].classes.push("svg-align")):(Rr=jr.makeVList({positionType:"bottom",positionData:hr.depth+.1+gr.height,children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:hr}]},we),Rr.children[0].children[0].children[0].classes.push("svg-align")),We){var $r=jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],we);Et.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:We}]},we):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:$r}]},we)}return jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],we)},pa=function(oe,we){var Ee=Zr.mathMLnode(oe.label);return new kn.MathNode(oe.isOver?"mover":"munder",[Tr(oe.base,we),Ee])};Yn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName;return{type:"horizBrace",mode:Ee.mode,label:We,isOver:/^\\over/.test(We),base:we[0]}},htmlBuilder:Ka,mathmlBuilder:pa}),Yn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=we[1],Et=Tn(we[0],"url").url;return Ee.settings.isTrusted({command:"\\href",url:Et})?{type:"href",mode:Ee.mode,href:Et,body:mn(We)}:Ee.formatUnsupportedCmd("\\href")},htmlBuilder:function(oe,we){var Ee=di(oe.body,we,!1);return jr.makeAnchor(oe.href,[],Ee,we)},mathmlBuilder:function(oe,we){var Ee=rr(oe.body,we);return Ee instanceof ga||(Ee=new ga("mrow",[Ee])),Ee.setAttribute("href",oe.href),Ee}}),Yn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=Tn(we[0],"url").url;if(!Ee.settings.isTrusted({command:"\\url",url:We}))return Ee.formatUnsupportedCmd("\\url");for(var Et=[],Ut=0;Ut<We.length;Ut++){var hr=We[Ut];hr==="~"&&(hr="\\textasciitilde"),Et.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Ee.mode,font:"\\texttt",body:Et};return{type:"href",mode:Ee.mode,href:We,body:mn(gr)}}}),Yn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser;return{type:"htmlmathml",mode:Ee.mode,html:mn(we[0]),mathml:mn(we[1])}},htmlBuilder:function(oe,we){var Ee=di(oe.html,we,!1);return jr.makeFragment(Ee)},mathmlBuilder:function(oe,we){return rr(oe.mathml,we)}});var _i=function(oe){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(oe))return{number:+oe,unit:"bp"};var we=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(oe);if(!we)throw new o("Invalid size: '"+oe+"' in \\includegraphics");var Ee={number:+(we[1]+we[2]),unit:we[3]};if(!ut(Ee))throw new o("Invalid unit: '"+Ee.unit+"' in \\includegraphics.");return Ee};Yn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(oe,we,Ee){var We=oe.parser,Et={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Ee[0])for(var Rr=Tn(Ee[0],"raw").string,$r=Rr.split(","),ln=0;ln<$r.length;ln++){var yn=$r[ln].split("=");if(yn.length===2){var Cn=yn[1].trim();switch(yn[0].trim()){case"alt":gr=Cn;break;case"width":Et=_i(Cn);break;case"height":Ut=_i(Cn);break;case"totalheight":hr=_i(Cn);break;default:throw new o("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(we[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),We.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:We.mode,alt:gr,width:Et,height:Ut,totalheight:hr,src:Qn}:We.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(oe,we){var Ee=ft(oe.height,we),We=0;oe.totalheight.number>0&&(We=ft(oe.totalheight,we)-Ee,We=Number(We.toFixed(2)));var Et=0;oe.width.number>0&&(Et=ft(oe.width,we));var Ut={height:Ee+We+"em"};Et>0&&(Ut.width=Et+"em"),We>0&&(Ut.verticalAlign=-We+"em");var hr=new ke(oe.src,oe.alt,Ut);return hr.height=Ee,hr.depth=We,hr},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mglyph",[]);Ee.setAttribute("alt",oe.alt);var We=ft(oe.height,we),Et=0;if(oe.totalheight.number>0&&(Et=ft(oe.totalheight,we)-We,Et=Et.toFixed(2),Ee.setAttribute("valign","-"+Et+"em")),Ee.setAttribute("height",We+Et+"em"),oe.width.number>0){var Ut=ft(oe.width,we);Ee.setAttribute("width",Ut+"em")}return Ee.setAttribute("src",oe.src),Ee}}),Yn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=Tn(we[0],"size");if(Ee.settings.strict){var Ut=We[1]==="m",hr=Et.value.unit==="mu";Ut?(hr||Ee.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+Et.value.unit+" units")),Ee.mode!=="math"&&Ee.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):hr&&Ee.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Ee.mode,dimension:Et.value}},htmlBuilder:function(oe,we){return jr.makeGlue(oe.dimension,we)},mathmlBuilder:function(oe,we){var Ee=ft(oe.dimension,we);return new kn.SpaceNode(Ee)}}),Yn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];return{type:"lap",mode:Ee.mode,alignment:We.slice(5),body:Et}},htmlBuilder:function(oe,we){var Ee;oe.alignment==="clap"?(Ee=jr.makeSpan([],[Wi(oe.body,we)]),Ee=jr.makeSpan(["inner"],[Ee],we)):Ee=jr.makeSpan(["inner"],[Wi(oe.body,we)]);var We=jr.makeSpan(["fix"],[]),Et=jr.makeSpan([oe.alignment],[Ee,We],we),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Et.height+Et.depth+"em",Ut.style.verticalAlign=-Et.depth+"em",Et.children.unshift(Ut),Et=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Et}]},we),jr.makeSpan(["mord"],[Et],we)},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mpadded",[Tr(oe.body,we)]);if(oe.alignment!=="rlap"){var We=oe.alignment==="llap"?"-1":"-0.5";Ee.setAttribute("lspace",We+"width")}return Ee.setAttribute("width","0px"),Ee}}),Yn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,we){var Ee=oe.funcName,We=oe.parser,Et=We.mode;We.switchMode("math");var Ut=Ee==="\\("?"\\)":"$",hr=We.parseExpression(!1,Ut);return We.expect(Ut),We.switchMode(Et),{type:"styling",mode:We.mode,style:"text",body:hr}}}),Yn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(oe,we){throw new o("Mismatched "+oe.funcName)}});var So=function(oe,we){switch(we.style.size){case H.DISPLAY.size:return oe.display;case H.TEXT.size:return oe.text;case H.SCRIPT.size:return oe.script;case H.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};Yn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(oe,we){var Ee=oe.parser;return{type:"mathchoice",mode:Ee.mode,display:mn(we[0]),text:mn(we[1]),script:mn(we[2]),scriptscript:mn(we[3])}},htmlBuilder:function(oe,we){var Ee=So(oe,we),We=di(Ee,we,!1);return jr.makeFragment(We)},mathmlBuilder:function(oe,we){var Ee=So(oe,we);return rr(Ee,we)}});var za=function(oe,we,Ee,We,Et,Ut,hr){oe=jr.makeSpan([],[oe]);var gr,Rr;if(we){var $r=Wi(we,We.havingStyle(Et.sup()),We);Rr={elem:$r,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-$r.depth)}}if(Ee){var ln=Wi(Ee,We.havingStyle(Et.sub()),We);gr={elem:ln,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=We.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+oe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:oe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(gr){var Qn=oe.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:oe}]},We)}else if(Rr){var ti=oe.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:oe},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return oe;return jr.makeSpan(["mop","op-limits"],[yn],We)},ja=["\\smallint"],qa=function(oe,we){var Ee,We,Et=!1,Ut,hr=gn(oe,"supsub");hr?(Ee=hr.sup,We=hr.sub,Ut=Tn(hr.base,"op"),Et=!0):Ut=Tn(oe,"op");var gr=we.style,Rr=!1;gr.size===H.DISPLAY.size&&Ut.symbol&&!b.contains(ja,Ut.name)&&(Rr=!0);var $r;if(Ut.symbol){var ln=Rr?"Size2-Regular":"Size1-Regular",yn="";if((Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&(yn=Ut.name.substr(1),Ut.name=yn==="oiint"?"\\iint":"\\iiint"),$r=jr.makeSymbol(Ut.name,ln,"math",we,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),we);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},we),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,we,!0);ti.length===1&&ti[0]instanceof ze?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),we)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,we));$r=jr.makeSpan(["mop"],wi,we)}var ji=0,Sa=0;return($r instanceof ze||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-we.fontMetrics().axisHeight,Sa=$r.italic),Et?za($r,Ee,We,we,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(oe,we){var Ee;if(oe.symbol)Ee=new ga("mo",[$i(oe.name,oe.mode)]),b.contains(ja,oe.name)&&Ee.setAttribute("largeop","false");else if(oe.body)Ee=new ga("mo",uo(oe.body,we));else{Ee=new ga("mi",[new ha(oe.name.slice(1))]);var We=new ga("mo",[$i("\u2061","text")]);oe.parentIsSupSub?Ee=new ga("mo",[Ee,We]):Ee=Hi([Ee,We])}return Ee},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Yn({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,we){var Ee=oe.parser,We=oe.funcName,Et=We;return Et.length===1&&(Et=Ca[Et]),{type:"op",mode:Ee.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Et}},htmlBuilder:qa,mathmlBuilder:ho}),Yn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=we[0];return{type:"op",mode:Ee.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(We)}},htmlBuilder:qa,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Yn({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 we=oe.parser,Ee=oe.funcName;return{type:"op",mode:we.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ee}},htmlBuilder:qa,mathmlBuilder:ho}),Yn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(oe){var we=oe.parser,Ee=oe.funcName;return{type:"op",mode:we.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ee}},htmlBuilder:qa,mathmlBuilder:ho}),Yn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(oe){var we=oe.parser,Ee=oe.funcName,We=Ee;return We.length===1&&(We=to[We]),{type:"op",mode:we.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:We}},htmlBuilder:qa,mathmlBuilder:ho});var Oo=function(oe,we){var Ee,We,Et=!1,Ut,hr=gn(oe,"supsub");hr?(Ee=hr.sup,We=hr.sub,Ut=Tn(hr.base,"operatorname"),Et=!0):Ut=Tn(oe,"operatorname");var gr;if(Ut.body.length>0){for(var Rr=Ut.body.map(function(Cn){var Qn=Cn.text;return typeof Qn=="string"?{type:"textord",mode:Cn.mode,text:Qn}:Cn}),$r=di(Rr,we.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof ze&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,we)}else gr=jr.makeSpan(["mop"],[],we);return Et?za(gr,Ee,We,we,we.style,0,0):gr},La=function(oe,we){for(var Ee=uo(oe.body,we.withFont("mathrm")),We=!0,Et=0;Et<Ee.length;Et++){var Ut=Ee[Et];if(!(Ut instanceof kn.SpaceNode))if(Ut instanceof kn.MathNode)switch(Ut.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Ut.children[0];Ut.children.length===1&&hr instanceof kn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):We=!1;break}default:We=!1}else We=!1}if(We){var gr=Ee.map(function(ln){return ln.toText()}).join("");Ee=[new kn.TextNode(gr)]}var Rr=new kn.MathNode("mi",Ee);Rr.setAttribute("mathvariant","normal");var $r=new kn.MathNode("mo",[$i("\u2061","text")]);return oe.parentIsSupSub?new kn.MathNode("mo",[Rr,$r]):kn.newDocumentFragment([Rr,$r])};Yn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];return{type:"operatorname",mode:Ee.mode,body:mn(Et),alwaysHandleSupSub:We==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Oo,mathmlBuilder:La}),_a({type:"ordgroup",htmlBuilder:function(oe,we){return oe.semisimple?jr.makeFragment(di(oe.body,we,!1)):jr.makeSpan(["mord"],di(oe.body,we,!0),we)},mathmlBuilder:function(oe,we){return rr(oe.body,we,!0)}}),Yn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(oe,we){var Ee=oe.parser,We=we[0];return{type:"overline",mode:Ee.mode,body:We}},htmlBuilder:function(oe,we){var Ee=Wi(oe.body,we.havingCrampedStyle()),We=jr.makeLineSpan("overline-line",we),Et=we.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ee},{type:"kern",size:3*Et},{type:"elem",elem:We},{type:"kern",size:Et}]},we);return jr.makeSpan(["mord","overline"],[Ut],we)},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ee.setAttribute("stretchy","true");var We=new kn.MathNode("mover",[Tr(oe.body,we),Ee]);return We.setAttribute("accent","true"),We}}),Yn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=we[0];return{type:"phantom",mode:Ee.mode,body:mn(We)}},htmlBuilder:function(oe,we){var Ee=di(oe.body,we.withPhantom(),!1);return jr.makeFragment(Ee)},mathmlBuilder:function(oe,we){var Ee=uo(oe.body,we);return new kn.MathNode("mphantom",Ee)}}),Yn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=we[0];return{type:"hphantom",mode:Ee.mode,body:We}},htmlBuilder:function(oe,we){var Ee=jr.makeSpan([],[Wi(oe.body,we.withPhantom())]);if(Ee.height=0,Ee.depth=0,Ee.children)for(var We=0;We<Ee.children.length;We++)Ee.children[We].height=0,Ee.children[We].depth=0;return Ee=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ee}]},we),jr.makeSpan(["mord"],[Ee],we)},mathmlBuilder:function(oe,we){var Ee=uo(mn(oe.body),we),We=new kn.MathNode("mphantom",Ee),Et=new kn.MathNode("mpadded",[We]);return Et.setAttribute("height","0px"),Et.setAttribute("depth","0px"),Et}}),Yn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=we[0];return{type:"vphantom",mode:Ee.mode,body:We}},htmlBuilder:function(oe,we){var Ee=jr.makeSpan(["inner"],[Wi(oe.body,we.withPhantom())]),We=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Ee,We],we)},mathmlBuilder:function(oe,we){var Ee=uo(mn(oe.body),we),We=new kn.MathNode("mphantom",Ee),Et=new kn.MathNode("mpadded",[We]);return Et.setAttribute("width","0px"),Et}}),Yn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=Tn(we[0],"size").value,Et=we[1];return{type:"raisebox",mode:Ee.mode,dy:We,body:Et}},htmlBuilder:function(oe,we){var Ee=Wi(oe.body,we),We=ft(oe.dy,we);return jr.makeVList({positionType:"shift",positionData:-We,children:[{type:"elem",elem:Ee}]},we)},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mpadded",[Tr(oe.body,we)]),We=oe.dy.number+oe.dy.unit;return Ee.setAttribute("voffset",We),Ee}}),Yn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(oe,we,Ee){var We=oe.parser,Et=Ee[0],Ut=Tn(we[0],"size"),hr=Tn(we[1],"size");return{type:"rule",mode:We.mode,shift:Et&&Tn(Et,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(oe,we){var Ee=jr.makeSpan(["mord","rule"],[],we),We=ft(oe.width,we),Et=ft(oe.height,we),Ut=oe.shift?ft(oe.shift,we):0;return Ee.style.borderRightWidth=We+"em",Ee.style.borderTopWidth=Et+"em",Ee.style.bottom=Ut+"em",Ee.width=We,Ee.height=Et+Ut,Ee.depth=-Ut,Ee.maxFontSize=Et*1.125*we.sizeMultiplier,Ee},mathmlBuilder:function(oe,we){var Ee=ft(oe.width,we),We=ft(oe.height,we),Et=oe.shift?ft(oe.shift,we):0,Ut=we.color&&we.getColor()||"black",hr=new kn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Ee+"em"),hr.setAttribute("height",We+"em");var gr=new kn.MathNode("mpadded",[hr]);return Et>=0?gr.setAttribute("height","+"+Et+"em"):(gr.setAttribute("height",Et+"em"),gr.setAttribute("depth","+"+-Et+"em")),gr.setAttribute("voffset",Et+"em"),gr}});function Fi(Pt,oe,we){for(var Ee=di(Pt,oe,!1),We=oe.sizeMultiplier/we.sizeMultiplier,Et=0;Et<Ee.length;Et++){var Ut=Ee[Et].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Ee[Et].classes,oe.sizingClasses(we)):Ee[Et].classes[Ut+1]==="reset-size"+oe.size&&(Ee[Et].classes[Ut+1]="reset-size"+we.size),Ee[Et].height*=We,Ee[Et].depth*=We}return jr.makeFragment(Ee)}var Ja=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(oe,we){var Ee=we.havingSize(oe.size);return Fi(oe.body,Ee,we)};Yn({type:"sizing",names:Ja,props:{numArgs:0,allowedInText:!0},handler:function(oe,we){var Ee=oe.breakOnTokenText,We=oe.funcName,Et=oe.parser,Ut=Et.parseExpression(!1,Ee);return{type:"sizing",mode:Et.mode,size:Ja.indexOf(We)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(oe,we){var Ee=we.havingSize(oe.size),We=uo(oe.body,Ee),Et=new kn.MathNode("mstyle",We);return Et.setAttribute("mathsize",Ee.sizeMultiplier+"em"),Et}}),Yn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(oe,we,Ee){var We=oe.parser,Et=!1,Ut=!1,hr=Ee[0]&&Tn(Ee[0],"ordgroup");if(hr)for(var gr="",Rr=0;Rr<hr.body.length;++Rr){var $r=hr.body[Rr];if(gr=$r.text,gr==="t")Et=!0;else if(gr==="b")Ut=!0;else{Et=!1,Ut=!1;break}}else Et=!0,Ut=!0;var ln=we[0];return{type:"smash",mode:We.mode,body:ln,smashHeight:Et,smashDepth:Ut}},htmlBuilder:function(oe,we){var Ee=jr.makeSpan([],[Wi(oe.body,we)]);if(!oe.smashHeight&&!oe.smashDepth)return Ee;if(oe.smashHeight&&(Ee.height=0,Ee.children))for(var We=0;We<Ee.children.length;We++)Ee.children[We].height=0;if(oe.smashDepth&&(Ee.depth=0,Ee.children))for(var Et=0;Et<Ee.children.length;Et++)Ee.children[Et].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ee}]},we);return jr.makeSpan(["mord"],[Ut],we)},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mpadded",[Tr(oe.body,we)]);return oe.smashHeight&&Ee.setAttribute("height","0px"),oe.smashDepth&&Ee.setAttribute("depth","0px"),Ee}}),Yn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(oe,we,Ee){var We=oe.parser,Et=Ee[0],Ut=we[0];return{type:"sqrt",mode:We.mode,body:Ut,index:Et}},htmlBuilder:function(oe,we){var Ee=Wi(oe.body,we.havingCrampedStyle());Ee.height===0&&(Ee.height=we.fontMetrics().xHeight),Ee=jr.wrapFragment(Ee,we);var We=we.fontMetrics(),Et=We.defaultRuleThickness,Ut=Et;we.style.id<H.TEXT.id&&(Ut=we.fontMetrics().xHeight);var hr=Et+Ut/4,gr=Ee.height+Ee.depth+hr+Et,Rr=hi.sqrtImage(gr,we),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Ee.height+Ee.depth+hr&&(hr=(hr+Cn-Ee.height-Ee.depth)/2);var Qn=$r.height-Ee.height-hr-ln;Ee.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ee,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ee.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},we);if(oe.index){var wi=we.havingStyle(H.SCRIPTSCRIPT),ea=Wi(oe.index,wi,we),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},we),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],we)}else return jr.makeSpan(["mord","sqrt"],[ti],we)},mathmlBuilder:function(oe,we){var Ee=oe.body,We=oe.index;return We?new kn.MathNode("mroot",[Tr(Ee,we),Tr(We,we)]):new kn.MathNode("msqrt",[Tr(Ee,we)])}});var pi={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};Yn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(oe,we){var Ee=oe.breakOnTokenText,We=oe.funcName,Et=oe.parser,Ut=Et.parseExpression(!0,Ee),hr=We.slice(1,We.length-5);return{type:"styling",mode:Et.mode,style:hr,body:Ut}},htmlBuilder:function(oe,we){var Ee=pi[oe.style],We=we.havingStyle(Ee).withFont("");return Fi(oe.body,We,we)},mathmlBuilder:function(oe,we){var Ee=pi[oe.style],We=we.havingStyle(Ee),Et=uo(oe.body,We),Ut=new kn.MathNode("mstyle",Et),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[oe.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Yi=function(oe,we){var Ee=oe.base;if(Ee)if(Ee.type==="op"){var We=Ee.limits&&(we.style.size===H.DISPLAY.size||Ee.alwaysHandleSupSub);return We?qa:null}else if(Ee.type==="operatorname"){var Et=Ee.alwaysHandleSupSub&&(we.style.size===H.DISPLAY.size||Ee.limits);return Et?Oo:null}else{if(Ee.type==="accent")return b.isCharacterBox(Ee.base)?an:null;if(Ee.type==="horizBrace"){var Ut=!oe.sub;return Ut===Ee.isOver?Ka:null}else return null}else return null};_a({type:"supsub",htmlBuilder:function(oe,we){var Ee=Yi(oe,we);if(Ee)return Ee(oe,we);var We=oe.base,Et=oe.sup,Ut=oe.sub,hr=Wi(We,we),gr,Rr,$r=we.fontMetrics(),ln=0,yn=0,Cn=We&&b.isCharacterBox(We);if(Et){var Qn=we.havingStyle(we.style.sup());gr=Wi(Et,Qn,we),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/we.sizeMultiplier)}if(Ut){var ti=we.havingStyle(we.style.sub());Rr=Wi(Ut,ti,we),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/we.sizeMultiplier)}var wi;we.style===H.DISPLAY?wi=$r.sup1:we.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=we.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(hr instanceof ze||lo)&&(Sa=-hr.italic+"em")}var Wa;if(gr&&Rr){ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),yn=Math.max(yn,$r.sub2);var yo=$r.defaultRuleThickness,Ao=4*yo;if(ln-gr.depth-(Rr.height-yn)<Ao){yn=Ao-(ln-gr.depth)+Rr.height;var $a=.8*$r.xHeight-(ln-gr.depth);$a>0&&(ln+=$a,yn-=$a)}var Fo=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:Fo},we)}else if(Rr){yn=Math.max(yn,$r.sub1,Rr.height-.8*$r.xHeight);var No=[{type:"elem",elem:Rr,marginLeft:Sa,marginRight:ji}];Wa=jr.makeVList({positionType:"shift",positionData:yn,children:No},we)}else if(gr)ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),Wa=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:gr,marginRight:ji}]},we);else throw new Error("supsub must have either sup or sub.");var Ha=Ba(hr,"right")||"mord";return jr.makeSpan([Ha],[hr,jr.makeSpan(["msupsub"],[Wa])],we)},mathmlBuilder:function(oe,we){var Ee=!1,We,Et,Ut=gn(oe.base,"horizBrace");Ut&&(Et=!!oe.sup,Et===Ut.isOver&&(Ee=!0,We=Ut.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var hr=[Tr(oe.base,we)];oe.sub&&hr.push(Tr(oe.sub,we)),oe.sup&&hr.push(Tr(oe.sup,we));var gr;if(Ee)gr=We?"mover":"munder";else if(oe.sub)if(oe.sup){var ln=oe.base;ln&&ln.type==="op"&&ln.limits&&we.style===H.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(we.style===H.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=oe.base;$r&&$r.type==="op"&&$r.limits&&(we.style===H.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||we.style===H.DISPLAY)?gr="munder":gr="msub"}else{var Rr=oe.base;Rr&&Rr.type==="op"&&Rr.limits&&(we.style===H.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||we.style===H.DISPLAY)?gr="mover":gr="msup"}var yn=new kn.MathNode(gr,hr);return yn}}),_a({type:"atom",htmlBuilder:function(oe,we){return jr.mathsym(oe.text,oe.mode,we,["m"+oe.family])},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mo",[$i(oe.text,oe.mode)]);if(oe.family==="bin"){var We=To(oe,we);We==="bold-italic"&&Ee.setAttribute("mathvariant",We)}else oe.family==="punct"?Ee.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&Ee.setAttribute("stretchy","false");return Ee}});var oo={mi:"italic",mn:"normal",mtext:"normal"};_a({type:"mathord",htmlBuilder:function(oe,we){return jr.makeOrd(oe,we,"mathord")},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mi",[$i(oe.text,oe.mode,we)]),We=To(oe,we)||"italic";return We!==oo[Ee.type]&&Ee.setAttribute("mathvariant",We),Ee}}),_a({type:"textord",htmlBuilder:function(oe,we){return jr.makeOrd(oe,we,"textord")},mathmlBuilder:function(oe,we){var Ee=$i(oe.text,oe.mode,we),We=To(oe,we)||"normal",Et;return oe.mode==="text"?Et=new kn.MathNode("mtext",[Ee]):/[0-9]/.test(oe.text)?Et=new kn.MathNode("mn",[Ee]):oe.text==="\\prime"?Et=new kn.MathNode("mo",[Ee]):Et=new kn.MathNode("mi",[Ee]),We!==oo[Et.type]&&Et.setAttribute("mathvariant",We),Et}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_a({type:"spacing",htmlBuilder:function(oe,we){if(fo.hasOwnProperty(oe.text)){var Ee=fo[oe.text].className||"";if(oe.mode==="text"){var We=jr.makeOrd(oe,we,"textord");return We.classes.push(Ee),We}else return jr.makeSpan(["mspace",Ee],[jr.mathsym(oe.text,oe.mode,we)],we)}else{if(go.hasOwnProperty(oe.text))return jr.makeSpan(["mspace",go[oe.text]],[],we);throw new o('Unknown type of space "'+oe.text+'"')}},mathmlBuilder:function(oe,we){var Ee;if(fo.hasOwnProperty(oe.text))Ee=new kn.MathNode("mtext",[new kn.TextNode("\xA0")]);else{if(go.hasOwnProperty(oe.text))return new kn.MathNode("mspace");throw new o('Unknown type of space "'+oe.text+'"')}return Ee}});var Ta=function(){var oe=new kn.MathNode("mtd",[]);return oe.setAttribute("width","50%"),oe};_a({type:"tag",mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mtable",[new kn.MathNode("mtr",[Ta(),new kn.MathNode("mtd",[rr(oe.body,we)]),Ta(),new kn.MathNode("mtd",[rr(oe.tag,we)])])]);return Ee.setAttribute("width","100%"),Ee}});var ki={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(oe,we){var Ee=oe.font;return Ee?ki[Ee]?we.withTextFontFamily(ki[Ee]):Ra[Ee]?we.withTextFontWeight(Ra[Ee]):we.withTextFontShape(Vo[Ee]):we};Yn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser,We=oe.funcName,Et=we[0];return{type:"text",mode:Ee.mode,body:mn(Et),font:We}},htmlBuilder:function(oe,we){var Ee=ro(oe,we),We=di(oe.body,Ee,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(We),Ee)},mathmlBuilder:function(oe,we){var Ee=ro(oe,we);return rr(oe.body,Ee)}}),Yn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(oe,we){var Ee=oe.parser;return{type:"underline",mode:Ee.mode,body:we[0]}},htmlBuilder:function(oe,we){var Ee=Wi(oe.body,we),We=jr.makeLineSpan("underline-line",we),Et=we.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Ee.height,children:[{type:"kern",size:Et},{type:"elem",elem:We},{type:"kern",size:3*Et},{type:"elem",elem:Ee}]},we);return jr.makeSpan(["mord","underline"],[Ut],we)},mathmlBuilder:function(oe,we){var Ee=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ee.setAttribute("stretchy","true");var We=new kn.MathNode("munder",[Tr(oe.body,we),Ee]);return We.setAttribute("accentunder","true"),We}}),Yn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(oe,we,Ee){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(oe,we){for(var Ee=vo(oe),We=[],Et=we.havingStyle(we.style.text()),Ut=0;Ut<Ee.length;Ut++){var hr=Ee[Ut];hr==="~"&&(hr="\\textasciitilde"),We.push(jr.makeSymbol(hr,"Typewriter-Regular",oe.mode,Et,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Et.sizingClasses(we)),jr.tryCombineChars(We),Et)},mathmlBuilder:function(oe,we){var Ee=new kn.TextNode(vo(oe)),We=new kn.MathNode("mtext",[Ee]);return We.setAttribute("mathvariant","monospace"),We}});var vo=function(oe){return oe.body.replace(/ /g,oe.star?"\u2423":"\xA0")},po=ta,Zi=po,xo=`[ \r
|
|
|
]`,is="\\\\[a-zA-Z@]+",Jo="\\\\[^\uD800-\uDFFF]",Is=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Ts="[\u0300-\u036F]",Yo=new RegExp(Ts+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Jo+")"),Za=function(){function Pt(we,Ee){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=we,this.settings=Ee,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var oe=Pt.prototype;return oe.setCatcode=function(Ee,We){this.catcodes[Ee]=We},oe.lex=function(){var Ee=this.input,We=this.tokenRegex.lastIndex;if(We===Ee.length)return new h("EOF",new v(this,We,We));var Et=this.tokenRegex.exec(Ee);if(Et===null||Et.index!==We)throw new o("Unexpected character: '"+Ee[We]+"'",new h(Ee[We],new v(this,We,We+1)));var Ut=Et[2]||" ";if(this.catcodes[Ut]===14){var hr=Ee.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Ee.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=hr+1,this.lex()}var gr=Ut.match(Cs);return gr&&(Ut=gr[1]),new h(Ut,new v(this,We,this.tokenRegex.lastIndex))},Pt}(),Ya=function(){function Pt(we,Ee){we===void 0&&(we={}),Ee===void 0&&(Ee={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ee,this.builtins=we,this.undefStack=[]}var oe=Pt.prototype;return oe.beginGroup=function(){this.undefStack.push({})},oe.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Ee=this.undefStack.pop();for(var We in Ee)Ee.hasOwnProperty(We)&&(Ee[We]===void 0?delete this.current[We]:this.current[We]=Ee[We])},oe.has=function(Ee){return this.current.hasOwnProperty(Ee)||this.builtins.hasOwnProperty(Ee)},oe.get=function(Ee){return this.current.hasOwnProperty(Ee)?this.current[Ee]:this.builtins[Ee]},oe.set=function(Ee,We,Et){if(Et===void 0&&(Et=!1),Et){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Ee];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ee]=We)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ee)&&(hr[Ee]=this.current[Ee])}this.current[Ee]=We},Pt}(),so={},ps=so;function Sr(Pt,oe){so[Pt]=oe}Sr("\\@firstoftwo",function(Pt){var oe=Pt.consumeArgs(2);return{tokens:oe[0],numArgs:0}}),Sr("\\@secondoftwo",function(Pt){var oe=Pt.consumeArgs(2);return{tokens:oe[1],numArgs:0}}),Sr("\\@ifnextchar",function(Pt){var oe=Pt.consumeArgs(3),we=Pt.future();return oe[0].length===1&&oe[0][0].text===we.text?{tokens:oe[1],numArgs:0}:{tokens:oe[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Pt){var oe=Pt.consumeArgs(2);return Pt.mode==="text"?{tokens:oe[0],numArgs:0}:{tokens:oe[1],numArgs:0}});var Xo={"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};Sr("\\char",function(Pt){var oe=Pt.popToken(),we,Ee="";if(oe.text==="'")we=8,oe=Pt.popToken();else if(oe.text==='"')we=16,oe=Pt.popToken();else if(oe.text==="`")if(oe=Pt.popToken(),oe.text[0]==="\\")Ee=oe.text.charCodeAt(1);else{if(oe.text==="EOF")throw new o("\\char` missing argument");Ee=oe.text.charCodeAt(0)}else we=10;if(we){if(Ee=Xo[oe.text],Ee==null||Ee>=we)throw new o("Invalid base-"+we+" digit "+oe.text);for(var We;(We=Xo[Pt.future().text])!=null&&We<we;)Ee*=we,Ee+=We,Pt.popToken()}return"\\@char{"+Ee+"}"});var ss=function(oe,we){var Ee=oe.consumeArgs(1)[0];if(Ee.length!==1)throw new o("\\gdef's first argument must be a macro name");var We=Ee[0].text,Et=0;for(Ee=oe.consumeArgs(1)[0];Ee.length===1&&Ee[0].text==="#";){if(Ee=oe.consumeArgs(1)[0],Ee.length!==1)throw new o('Invalid argument number length "'+Ee.length+'"');if(!/^[1-9]$/.test(Ee[0].text))throw new o('Invalid argument number "'+Ee[0].text+'"');if(Et++,parseInt(Ee[0].text)!==Et)throw new o('Argument number "'+Ee[0].text+'" out of order');Ee=oe.consumeArgs(1)[0]}return oe.macros.set(We,{tokens:Ee,numArgs:Et},we),""};Sr("\\gdef",function(Pt){return ss(Pt,!0)}),Sr("\\def",function(Pt){return ss(Pt,!1)}),Sr("\\global",function(Pt){var oe=Pt.consumeArgs(1)[0];if(oe.length!==1)throw new o("Invalid command after \\global");var we=oe[0].text;if(we==="\\def")return ss(Pt,!0);throw new o("Invalid command '"+we+"' after \\global")});var Os=function(oe,we,Ee){var We=oe.consumeArgs(1)[0];if(We.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Et=We[0].text,Ut=oe.isDefined(Et);if(Ut&&!we)throw new o("\\newcommand{"+Et+"} attempting to redefine "+(Et+"; use \\renewcommand"));if(!Ut&&!Ee)throw new o("\\renewcommand{"+Et+"} when command "+Et+" does not yet exist; use \\newcommand");var hr=0;if(We=oe.consumeArgs(1)[0],We.length===1&&We[0].text==="["){for(var gr="",Rr=oe.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=oe.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+gr);hr=parseInt(gr),We=oe.consumeArgs(1)[0]}return oe.macros.set(Et,{tokens:We,numArgs:hr}),""};Sr("\\newcommand",function(Pt){return Os(Pt,!1,!0)}),Sr("\\renewcommand",function(Pt){return Os(Pt,!0,!1)}),Sr("\\providecommand",function(Pt){return Os(Pt,!0,!0)}),Sr("\\bgroup","{"),Sr("\\egroup","}"),Sr("\\lq","`"),Sr("\\rq","'"),Sr("\\aa","\\r a"),Sr("\\AA","\\r A"),Sr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Sr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Sr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Sr("\u212C","\\mathscr{B}"),Sr("\u2130","\\mathscr{E}"),Sr("\u2131","\\mathscr{F}"),Sr("\u210B","\\mathscr{H}"),Sr("\u2110","\\mathscr{I}"),Sr("\u2112","\\mathscr{L}"),Sr("\u2133","\\mathscr{M}"),Sr("\u211B","\\mathscr{R}"),Sr("\u212D","\\mathfrak{C}"),Sr("\u210C","\\mathfrak{H}"),Sr("\u2128","\\mathfrak{Z}"),Sr("\\Bbbk","\\Bbb{k}"),Sr("\xB7","\\cdotp"),Sr("\\llap","\\mathllap{\\textrm{#1}}"),Sr("\\rlap","\\mathrlap{\\textrm{#1}}"),Sr("\\clap","\\mathclap{\\textrm{#1}}"),Sr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Sr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Sr("\\ne","\\neq"),Sr("\u2260","\\neq"),Sr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Sr("\u2209","\\notin"),Sr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Sr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Sr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Sr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Sr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Sr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Sr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Sr("\u27C2","\\perp"),Sr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Sr("\u220C","\\notni"),Sr("\u231C","\\ulcorner"),Sr("\u231D","\\urcorner"),Sr("\u231E","\\llcorner"),Sr("\u231F","\\lrcorner"),Sr("\xA9","\\copyright"),Sr("\xAE","\\textregistered"),Sr("\uFE0F","\\textregistered"),Sr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Sr("\u22EE","\\vdots"),Sr("\\varGamma","\\mathit{\\Gamma}"),Sr("\\varDelta","\\mathit{\\Delta}"),Sr("\\varTheta","\\mathit{\\Theta}"),Sr("\\varLambda","\\mathit{\\Lambda}"),Sr("\\varXi","\\mathit{\\Xi}"),Sr("\\varPi","\\mathit{\\Pi}"),Sr("\\varSigma","\\mathit{\\Sigma}"),Sr("\\varUpsilon","\\mathit{\\Upsilon}"),Sr("\\varPhi","\\mathit{\\Phi}"),Sr("\\varPsi","\\mathit{\\Psi}"),Sr("\\varOmega","\\mathit{\\Omega}"),Sr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Sr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Sr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Sr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Sr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Sr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Fa={",":"\\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"};Sr("\\dots",function(Pt){var oe="\\dotso",we=Pt.expandAfterFuture().text;return we in Fa?oe=Fa[we]:we.substr(0,4)==="\\not"?oe="\\dotsb":we in Ve.math&&(b.contains(["bin","rel"],Ve.math[we].group)&&(oe="\\dotsb")),oe});var Oa={")":!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};Sr("\\dotso",function(Pt){var oe=Pt.future().text;return oe in Oa?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Pt){var oe=Pt.future().text;return oe in Oa&&oe!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Pt){var oe=Pt.future().text;return oe in Oa?"\\@cdots\\,":"\\@cdots"}),Sr("\\dotsb","\\cdots"),Sr("\\dotsm","\\cdots"),Sr("\\dotsi","\\!\\cdots"),Sr("\\dotsx","\\ldots\\,"),Sr("\\DOTSI","\\relax"),Sr("\\DOTSB","\\relax"),Sr("\\DOTSX","\\relax"),Sr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Sr("\\,","\\tmspace+{3mu}{.1667em}"),Sr("\\thinspace","\\,"),Sr("\\>","\\mskip{4mu}"),Sr("\\:","\\tmspace+{4mu}{.2222em}"),Sr("\\medspace","\\:"),Sr("\\;","\\tmspace+{5mu}{.2777em}"),Sr("\\thickspace","\\;"),Sr("\\!","\\tmspace-{3mu}{.1667em}"),Sr("\\negthinspace","\\!"),Sr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Sr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Sr("\\enspace","\\kern.5em "),Sr("\\enskip","\\hskip.5em\\relax"),Sr("\\quad","\\hskip1em\\relax"),Sr("\\qquad","\\hskip2em\\relax"),Sr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Sr("\\tag@paren","\\tag@literal{({#1})}"),Sr("\\tag@literal",function(Pt){if(Pt.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Sr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Sr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Sr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Sr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Sr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Sr("\\\\","\\newline"),Sr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _o=vt["Main-Regular"]["T".charCodeAt(0)][1]-.7*vt["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+_o+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+_o+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Sr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Sr("\\@hspace","\\hskip #1\\relax"),Sr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Sr("\\ordinarycolon",":"),Sr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Sr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Sr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Sr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Sr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Sr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Sr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Sr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Sr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Sr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Sr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Sr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Sr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Sr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Sr("\u2237","\\dblcolon"),Sr("\u2239","\\eqcolon"),Sr("\u2254","\\coloneqq"),Sr("\u2255","\\eqqcolon"),Sr("\u2A74","\\Coloneqq"),Sr("\\ratio","\\vcentcolon"),Sr("\\coloncolon","\\dblcolon"),Sr("\\colonequals","\\coloneqq"),Sr("\\coloncolonequals","\\Coloneqq"),Sr("\\equalscolon","\\eqqcolon"),Sr("\\equalscoloncolon","\\Eqqcolon"),Sr("\\colonminus","\\coloneq"),Sr("\\coloncolonminus","\\Coloneq"),Sr("\\minuscolon","\\eqcolon"),Sr("\\minuscoloncolon","\\Eqcolon"),Sr("\\coloncolonapprox","\\Colonapprox"),Sr("\\coloncolonsim","\\Colonsim"),Sr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Sr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Sr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Sr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Sr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Sr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Sr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Sr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Sr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Sr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Sr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Sr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Sr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Sr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Sr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Sr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Sr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Sr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Sr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Sr("\u27E6","\\llbracket"),Sr("\u27E7","\\rrbracket"),Sr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Sr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Sr("\u2983","\\lBrace"),Sr("\u2984","\\rBrace"),Sr("\\darr","\\downarrow"),Sr("\\dArr","\\Downarrow"),Sr("\\Darr","\\Downarrow"),Sr("\\lang","\\langle"),Sr("\\rang","\\rangle"),Sr("\\uarr","\\uparrow"),Sr("\\uArr","\\Uparrow"),Sr("\\Uarr","\\Uparrow"),Sr("\\N","\\mathbb{N}"),Sr("\\R","\\mathbb{R}"),Sr("\\Z","\\mathbb{Z}"),Sr("\\alef","\\aleph"),Sr("\\alefsym","\\aleph"),Sr("\\Alpha","\\mathrm{A}"),Sr("\\Beta","\\mathrm{B}"),Sr("\\bull","\\bullet"),Sr("\\Chi","\\mathrm{X}"),Sr("\\clubs","\\clubsuit"),Sr("\\cnums","\\mathbb{C}"),Sr("\\Complex","\\mathbb{C}"),Sr("\\Dagger","\\ddagger"),Sr("\\diamonds","\\diamondsuit"),Sr("\\empty","\\emptyset"),Sr("\\Epsilon","\\mathrm{E}"),Sr("\\Eta","\\mathrm{H}"),Sr("\\exist","\\exists"),Sr("\\harr","\\leftrightarrow"),Sr("\\hArr","\\Leftrightarrow"),Sr("\\Harr","\\Leftrightarrow"),Sr("\\hearts","\\heartsuit"),Sr("\\image","\\Im"),Sr("\\infin","\\infty"),Sr("\\Iota","\\mathrm{I}"),Sr("\\isin","\\in"),Sr("\\Kappa","\\mathrm{K}"),Sr("\\larr","\\leftarrow"),Sr("\\lArr","\\Leftarrow"),Sr("\\Larr","\\Leftarrow"),Sr("\\lrarr","\\leftrightarrow"),Sr("\\lrArr","\\Leftrightarrow"),Sr("\\Lrarr","\\Leftrightarrow"),Sr("\\Mu","\\mathrm{M}"),Sr("\\natnums","\\mathbb{N}"),Sr("\\Nu","\\mathrm{N}"),Sr("\\Omicron","\\mathrm{O}"),Sr("\\plusmn","\\pm"),Sr("\\rarr","\\rightarrow"),Sr("\\rArr","\\Rightarrow"),Sr("\\Rarr","\\Rightarrow"),Sr("\\real","\\Re"),Sr("\\reals","\\mathbb{R}"),Sr("\\Reals","\\mathbb{R}"),Sr("\\Rho","\\mathrm{P}"),Sr("\\sdot","\\cdot"),Sr("\\sect","\\S"),Sr("\\spades","\\spadesuit"),Sr("\\sub","\\subset"),Sr("\\sube","\\subseteq"),Sr("\\supe","\\supseteq"),Sr("\\Tau","\\mathrm{T}"),Sr("\\thetasym","\\vartheta"),Sr("\\weierp","\\wp"),Sr("\\Zeta","\\mathrm{Z}"),Sr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Sr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Sr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Sr("\\blue","\\textcolor{##6495ed}{#1}"),Sr("\\orange","\\textcolor{##ffa500}{#1}"),Sr("\\pink","\\textcolor{##ff00af}{#1}"),Sr("\\red","\\textcolor{##df0030}{#1}"),Sr("\\green","\\textcolor{##28ae7b}{#1}"),Sr("\\gray","\\textcolor{gray}{#1}"),Sr("\\purple","\\textcolor{##9d38bd}{#1}"),Sr("\\blueA","\\textcolor{##ccfaff}{#1}"),Sr("\\blueB","\\textcolor{##80f6ff}{#1}"),Sr("\\blueC","\\textcolor{##63d9ea}{#1}"),Sr("\\blueD","\\textcolor{##11accd}{#1}"),Sr("\\blueE","\\textcolor{##0c7f99}{#1}"),Sr("\\tealA","\\textcolor{##94fff5}{#1}"),Sr("\\tealB","\\textcolor{##26edd5}{#1}"),Sr("\\tealC","\\textcolor{##01d1c1}{#1}"),Sr("\\tealD","\\textcolor{##01a995}{#1}"),Sr("\\tealE","\\textcolor{##208170}{#1}"),Sr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Sr("\\greenB","\\textcolor{##8af281}{#1}"),Sr("\\greenC","\\textcolor{##74cf70}{#1}"),Sr("\\greenD","\\textcolor{##1fab54}{#1}"),Sr("\\greenE","\\textcolor{##0d923f}{#1}"),Sr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Sr("\\goldB","\\textcolor{##ffbb71}{#1}"),Sr("\\goldC","\\textcolor{##ff9c39}{#1}"),Sr("\\goldD","\\textcolor{##e07d10}{#1}"),Sr("\\goldE","\\textcolor{##a75a05}{#1}"),Sr("\\redA","\\textcolor{##fca9a9}{#1}"),Sr("\\redB","\\textcolor{##ff8482}{#1}"),Sr("\\redC","\\textcolor{##f9685d}{#1}"),Sr("\\redD","\\textcolor{##e84d39}{#1}"),Sr("\\redE","\\textcolor{##bc2612}{#1}"),Sr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Sr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Sr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Sr("\\maroonD","\\textcolor{##ca337c}{#1}"),Sr("\\maroonE","\\textcolor{##9e034e}{#1}"),Sr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Sr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Sr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Sr("\\purpleD","\\textcolor{##7854ab}{#1}"),Sr("\\purpleE","\\textcolor{##543b78}{#1}"),Sr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Sr("\\mintB","\\textcolor{##edf2df}{#1}"),Sr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Sr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Sr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Sr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Sr("\\grayD","\\textcolor{##d6d8da}{#1}"),Sr("\\grayE","\\textcolor{##babec2}{#1}"),Sr("\\grayF","\\textcolor{##888d93}{#1}"),Sr("\\grayG","\\textcolor{##626569}{#1}"),Sr("\\grayH","\\textcolor{##3b3e40}{#1}"),Sr("\\grayI","\\textcolor{##21242c}{#1}"),Sr("\\kaBlue","\\textcolor{##314453}{#1}"),Sr("\\kaGreen","\\textcolor{##71B307}{#1}");var Lo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Pt(we,Ee,We){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=Ee,this.expansionCount=0,this.feed(we),this.macros=new Ya(ps,Ee.macros),this.mode=We,this.stack=[]}var oe=Pt.prototype;return oe.feed=function(Ee){this.lexer=new Za(Ee,this.settings)},oe.switchMode=function(Ee){this.mode=Ee},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(Ee){this.stack.push(Ee)},oe.pushTokens=function(Ee){var We;(We=this.stack).push.apply(We,Ee)},oe.consumeSpaces=function(){for(;;){var Ee=this.future();if(Ee.text===" ")this.stack.pop();else break}},oe.consumeArgs=function(Ee){for(var We=[],Et=0;Et<Ee;++Et){this.consumeSpaces();var Ut=this.popToken();if(Ut.text==="{"){for(var hr=[],gr=1;gr!==0;){var Rr=this.popToken();if(hr.push(Rr),Rr.text==="{")++gr;else if(Rr.text==="}")--gr;else if(Rr.text==="EOF")throw new o("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),We[Et]=hr}else{if(Ut.text==="EOF")throw new o("End of input expecting macro argument");We[Et]=[Ut]}}return We},oe.expandOnce=function(){var Ee=this.popToken(),We=Ee.text,Et=this._getExpansion(We);if(Et==null)return this.pushToken(Ee),Ee;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Et.tokens;if(Et.numArgs){var hr=this.consumeArgs(Et.numArgs);Ut=Ut.slice();for(var gr=Ut.length-1;gr>=0;--gr){var Rr=Ut[gr];if(Rr.text==="#"){if(gr===0)throw new o("Incomplete placeholder at end of macro body",Rr);if(Rr=Ut[--gr],Rr.text==="#")Ut.splice(gr+1,1);else if(/^[1-9]$/.test(Rr.text)){var $r;($r=Ut).splice.apply($r,[gr,2].concat(hr[+Rr.text-1]))}else throw new o("Not a valid argument number",Rr)}}}return this.pushTokens(Ut),Ut},oe.expandAfterFuture=function(){return this.expandOnce(),this.future()},oe.expandNextToken=function(){for(;;){var Ee=this.expandOnce();if(Ee instanceof h)if(Ee.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},oe.expandMacro=function(Ee){if(!this.macros.get(Ee))return;var We=[],Et=this.stack.length;for(this.pushToken(new h(Ee));this.stack.length>Et;){var Ut=this.expandOnce();Ut instanceof h&&We.push(this.stack.pop())}return We},oe.expandMacroAsText=function(Ee){var We=this.expandMacro(Ee);return We&&We.map(function(Et){return Et.text}).join("")},oe._getExpansion=function(Ee){var We=this.macros.get(Ee);if(We==null)return We;var Et=typeof We=="function"?We(this):We;if(typeof Et=="string"){var Ut=0;if(Et.indexOf("#")!==-1)for(var hr=Et.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Za(Et,this.settings),Rr=[],$r=gr.lex();$r.text!=="EOF";)Rr.push($r),$r=gr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Ut};return ln}return Et},oe.isDefined=function(Ee){return this.macros.has(Ee)||Zi.hasOwnProperty(Ee)||Ve.math.hasOwnProperty(Ee)||Ve.text.hasOwnProperty(Ee)||Lo.hasOwnProperty(Ee)},Pt}(),Bo={"\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"}},rs={\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"},ms=function(){function Pt(we,Ee){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 ts(we,Ee,this.mode),this.settings=Ee,this.leftrightDepth=0}var oe=Pt.prototype;return oe.expect=function(Ee,We){if(We===void 0&&(We=!0),this.fetch().text!==Ee)throw new o("Expected '"+Ee+"', got '"+this.fetch().text+"'",this.fetch());We&&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(Ee){this.mode=Ee,this.gullet.switchMode(Ee)},oe.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ee=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ee},oe.parseExpression=function(Ee,We){for(var Et=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Pt.endOfExpression.indexOf(Ut.text)!==-1)break;if(We&&Ut.text===We)break;if(Ee&&Zi[Ut.text]&&Zi[Ut.text].infix)break;var hr=this.parseAtom(We);if(!hr)break;Et.push(hr)}return this.mode==="text"&&this.formLigatures(Et),this.handleInfixNodes(Et)},oe.handleInfixNodes=function(Ee){for(var We=-1,Et,Ut=0;Ut<Ee.length;Ut++){var hr=gn(Ee[Ut],"infix");if(hr){if(We!==-1)throw new o("only one infix operator per group",hr.token);We=Ut,Et=hr.replaceWith}}if(We!==-1&&Et){var gr,Rr,$r=Ee.slice(0,We),ln=Ee.slice(We+1);$r.length===1&&$r[0].type==="ordgroup"?gr=$r[0]:gr={type:"ordgroup",mode:this.mode,body:$r},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var yn;return Et==="\\\\abovefrac"?yn=this.callFunction(Et,[gr,Ee[We],Rr],[]):yn=this.callFunction(Et,[gr,Rr],[]),[yn]}else return Ee},oe.handleSupSubscript=function(Ee){var We=this.fetch(),Et=We.text;this.consume();var Ut=this.parseGroup(Ee,!1,Pt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new o("Expected group after '"+Et+"'",We);return Ut},oe.formatUnsupportedCmd=function(Ee){for(var We=[],Et=0;Et<Ee.length;Et++)We.push({type:"textord",mode:"text",text:Ee[Et]});var Ut={type:"text",mode:this.mode,body:We},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},oe.parseAtom=function(Ee){var We=this.parseGroup("atom",!1,null,Ee);if(this.mode==="text")return We;for(var Et,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(We,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(We,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new o("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Et)throw new o("Double superscript",hr);Et=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new o("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Et)throw new o("Double superscript",hr);var ln={type:"textord",mode:this.mode,text:"\\prime"},yn=[ln];for(this.consume();this.fetch().text==="'";)yn.push(ln),this.consume();this.fetch().text==="^"&&yn.push(this.handleSupSubscript("superscript")),Et={type:"ordgroup",mode:this.mode,body:yn}}else break}return Et||Ut?{type:"supsub",mode:this.mode,base:We,sup:Et,sub:Ut}:We},oe.parseFunction=function(Ee,We,Et){var Ut=this.fetch(),hr=Ut.text,gr=Zi[hr];if(!gr)return null;if(this.consume(),Et!=null&&gr.greediness<=Et)throw new o("Got function '"+hr+"' with no arguments"+(We?" as "+We:""),Ut);if(this.mode==="text"&&!gr.allowedInText)throw new o("Can't use function '"+hr+"' in text mode",Ut);if(this.mode==="math"&&gr.allowedInMath===!1)throw new o("Can't use function '"+hr+"' in math mode",Ut);var Rr=this.parseArguments(hr,gr),$r=Rr.args,ln=Rr.optArgs;return this.callFunction(hr,$r,ln,Ut,Ee)},oe.callFunction=function(Ee,We,Et,Ut,hr){var gr={funcName:Ee,parser:this,token:Ut,breakOnTokenText:hr},Rr=Zi[Ee];if(Rr&&Rr.handler)return Rr.handler(gr,We,Et);throw new o("No function handler for "+Ee)},oe.parseArguments=function(Ee,We){var Et=We.numArgs+We.numOptionalArgs;if(Et===0)return{args:[],optArgs:[]};for(var Ut=We.greediness,hr=[],gr=[],Rr=0;Rr<Et;Rr++){var $r=We.argTypes&&We.argTypes[Rr],ln=Rr<We.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Ee+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new o("Expected group after '"+Ee+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},oe.parseGroupOfType=function(Ee,We,Et,Ut,hr){switch(We){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Et);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Et);case"url":return this.parseUrlGroup(Et,hr);case"math":case"text":return this.parseGroup(Ee,Et,Ut,void 0,We,hr);case"hbox":{var gr=this.parseGroup(Ee,Et,Ut,void 0,"text",hr);if(!gr)return gr;var Rr={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Rr}case"raw":{if(hr&&this.consumeSpaces(),Et&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Et,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ee,Et,Ut,void 0,void 0,hr);default:throw new o("Unknown group type as "+Ee,this.fetch())}},oe.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},oe.parseStringGroup=function(Ee,We,Et){var Ut=We?"[":"{",hr=We?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(We)return null;if(Et&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Rr=this.mode;this.mode="text",this.expect(Ut);for(var $r="",ln=this.fetch(),yn=0,Cn=ln,Qn;(Qn=this.fetch()).text!==hr||Et&&yn>0;){switch(Qn.text){case"EOF":throw new o("Unexpected end of input in "+Ee,ln.range(Cn,$r));case Ut:yn++;break;case hr:yn--;break}Cn=Qn,$r+=Cn.text,this.consume()}return this.expect(hr),this.mode=Rr,ln.range(Cn,$r)},oe.parseRegexGroup=function(Ee,We){var Et=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Ee.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new o("Invalid "+We+": '"+Ut.text+"'",Ut);return this.mode=Et,Ut.range(hr,gr)},oe.parseColorGroup=function(Ee){var We=this.parseStringGroup("color",Ee);if(!We)return null;var Et=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!Et)throw new o("Invalid color: '"+We.text+"'",We);var Ut=Et[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},oe.parseSizeGroup=function(Ee){var We,Et=!1;if(!Ee&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Ee),!We)return null;!Ee&&We.text.length===0&&(We.text="0pt",Et=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Ut)throw new o("Invalid size: '"+We.text+"'",We);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!ut(hr))throw new o("Invalid unit: '"+hr.unit+"'",We);return{type:"size",mode:this.mode,value:hr,isBlank:Et}},oe.parseUrlGroup=function(Ee,We){this.gullet.lexer.setCatcode("%",13);var Et=this.parseStringGroup("url",Ee,!0);if(this.gullet.lexer.setCatcode("%",14),!Et)return null;var Ut=Et.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},oe.parseGroup=function(Ee,We,Et,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(We?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Pt.endOfGroup[ln];this.gullet.beginGroup();var Qn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),yn={type:"ordgroup",mode:this.mode,loc:v.range($r,ti),body:Qn,semisimple:ln==="\\begingroup"||void 0}}else if(We)yn=null;else if(yn=this.parseFunction(Ut,Ee,Et)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!Lo.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+ln,$r);yn=this.formatUnsupportedCmd(ln),this.consume()}return hr&&this.switchMode(Rr),yn},oe.formLigatures=function(Ee){for(var We=Ee.length-1,Et=0;Et<We;++Et){var Ut=Ee[Et],hr=Ut.text;hr==="-"&&Ee[Et+1].text==="-"&&(Et+1<We&&Ee[Et+2].text==="-"?(Ee.splice(Et,3,{type:"textord",mode:"text",loc:v.range(Ut,Ee[Et+2]),text:"---"}),We-=2):(Ee.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Ee[Et+1]),text:"--"}),We-=1)),(hr==="'"||hr==="`")&&Ee[Et+1].text===hr&&(Ee.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Ee[Et+1]),text:hr+hr}),We-=1)}},oe.parseSymbol=function(){var Ee=this.fetch(),We=Ee.text;if(/^\\verb[^a-zA-Z]/.test(We)){this.consume();var Et=We.slice(5),Ut=Et.charAt(0)==="*";if(Ut&&(Et=Et.slice(1)),Et.length<2||Et.charAt(0)!==Et.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Et=Et.slice(1,-1),{type:"verb",mode:"text",body:Et,star:Ut}}rs.hasOwnProperty(We[0])&&!Ve[this.mode][We[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+We[0]+'" used in math mode',Ee),We=rs[We[0]]+We.substr(1));var hr=Yo.exec(We);hr&&(We=We.substring(0,hr.index),We==="i"?We="\u0131":We==="j"&&(We="\u0237"));var gr;if(Ve[this.mode][We]){this.settings.strict&&this.mode==="math"&&$e.indexOf(We)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Ee);var Rr=Ve[this.mode][We].group,$r=v.range(Ee),ln;if(et.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:We}}else ln={type:Rr,mode:this.mode,loc:$r,text:We};gr=ln}else if(We.charCodeAt(0)>=128)this.settings.strict&&(X(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Ee):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Ee)),gr={type:"textord",mode:"text",loc:v.range(Ee),text:We};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Bo[Qn])throw new o("Unknown accent ' "+Qn+"'",Ee);var ti=Bo[Qn][this.mode];if(!ti)throw new o("Accent "+Qn+" unsupported in "+this.mode+" mode",Ee);gr={type:"accent",mode:this.mode,loc:v.range(Ee),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Pt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(oe,we){if(!(typeof oe=="string"||oe instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ee=new ms(oe,we);delete Ee.gullet.macros.current["\\df@tag"];var We=Ee.parse();if(Ee.gullet.macros.get("\\df@tag")){if(!we.displayMode)throw new o("\\tag works only in display equations");Ee.gullet.feed("\\df@tag"),We=[{type:"tag",mode:"text",body:We,tag:Ee.parse()}]}return We},Ns=ls,Ds=function(oe,we,Ee){we.textContent="";var We=Mo(oe,Ee).toNode();we.appendChild(We)};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."),Ds=function(){throw new o("KaTeX doesn't work in quirks mode.")}));var as=function(oe,we){var Ee=Mo(oe,we).toMarkup();return Ee},$s=function(oe,we){var Ee=new E(we);return Ns(oe,Ee)},cs=function(oe,we,Ee){if(Ee.throwOnError||!(oe instanceof o))throw oe;var We=jr.makeSpan(["katex-error"],[new ze(we)]);return We.setAttribute("title",oe.toString()),We.setAttribute("style","color:"+Ee.errorColor),We},Mo=function(oe,we){var Ee=new E(we);try{var We=Ns(oe,Ee);return tt(We,oe,Ee)}catch(Et){return cs(Et,oe,Ee)}},Dn=function(oe,we){var Ee=new E(we);try{var We=Ns(oe,Ee);return jt(We,oe,Ee)}catch(Et){return cs(Et,oe,Ee)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:o,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Rt,__defineSymbol:ie,__defineMacro:Sr,__domTree:{Span:ee,Anchor:se,SymbolNode:ze,SvgNode:_e,PathNode:ae,LineNode:me}},_s=f.default=Vs}]).default})},P2fV:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Q9mQ"),p=e("+L6B"),v=e("sE09"),h=e.n(v)},P2ho:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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};I.default=g},P47w:function(D,I,e){var g=e("hydK"),f=g.createElement,y=e("IMiH"),p=e("mFDi"),v=e("Fofx"),h=e("6GrX"),u=e("pzxd"),o=e("dqUG"),i=y.CMD,r=Array.prototype.join,a="none",c=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,s=Math.PI*2,d=180/t,m=1e-4;function w(V){return c(V*1e4)/1e4}function b(V){return V<m&&V>-m}function E(V,z){var X=z?V.textFill:V.fill;return X!=null&&X!==a}function A(V,z){var X=z?V.textStroke:V.stroke;return X!=null&&X!==a}function S(V,z){z&&T(V,"transform","matrix("+r.call(z,",")+")")}function T(V,z,X){(!X||X.type!=="linear"&&X.type!=="radial")&&V.setAttribute(z,X)}function O(V,z,X){V.setAttributeNS("http://www.w3.org/1999/xlink",z,X)}function x(V,z,X,q){if(E(z,X)){var fe=X?z.textFill:z.fill;fe=fe==="transparent"?a:fe,T(V,"fill",fe),T(V,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else T(V,"fill",a);if(A(z,X)){var G=X?z.textStroke:z.stroke;G=G==="transparent"?a:G,T(V,"stroke",G);var ve=X?z.textStrokeWidth:z.lineWidth,Se=!X&&z.strokeNoScale?q.getLineScale():1;T(V,"stroke-width",ve/Se),T(V,"paint-order",X?"stroke":"fill"),T(V,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var ge=z.lineDash;ge?(T(V,"stroke-dasharray",z.lineDash.join(",")),T(V,"stroke-dashoffset",c(z.lineDashOffset||0))):T(V,"stroke-dasharray",""),z.lineCap&&T(V,"stroke-linecap",z.lineCap),z.lineJoin&&T(V,"stroke-linejoin",z.lineJoin),z.miterLimit&&T(V,"stroke-miterlimit",z.miterLimit)}else T(V,"stroke",a)}function C(V){for(var z=[],X=V.data,q=V.len(),fe=0;fe<q;){var G=X[fe++],ve="",Se=0;switch(G){case i.M:ve="M",Se=2;break;case i.L:ve="L",Se=2;break;case i.Q:ve="Q",Se=4;break;case i.C:ve="C",Se=6;break;case i.A:var ge=X[fe++],Pe=X[fe++],Ge=X[fe++],pt=X[fe++],Te=X[fe++],xe=X[fe++],lt=X[fe++],Ie=X[fe++],de=Math.abs(xe),ee=b(de-s)||(Ie?xe>=s:-xe>=s),se=xe>0?xe%s:xe%s+s,ke=!1;ee?ke=!0:b(de)?ke=!1:ke=se>=t===!!Ie;var Ce=w(ge+Ge*l(Te)),ze=w(Pe+pt*n(Te));ee&&(Ie?xe=s-1e-4:xe=-s+1e-4,ke=!0,fe===9&&z.push("M",Ce,ze));var _e=w(ge+Ge*l(Te+xe)),ae=w(Pe+pt*n(Te+xe));z.push("A",w(Ge),w(pt),c(lt*d),+ke,+Ie,_e,ae);break;case i.Z:ve="Z";break;case i.R:var _e=w(X[fe++]),ae=w(X[fe++]),me=w(X[fe++]),Oe=w(X[fe++]);z.push("M",_e,ae,"L",_e+me,ae,"L",_e+me,ae+Oe,"L",_e,ae+Oe,"L",_e,ae);break}ve&&z.push(ve);for(var Ze=0;Ze<Se;Ze++)z.push(w(X[fe++]))}return z.join(" ")}var _={};_.brush=function(V){var z=V.style,X=V.__svgEl;X||(X=f("path"),V.__svgEl=X),V.path||V.createPathProxy();var q=V.path;if(V.__dirtyPath){q.beginPath(),q.subPixelOptimize=!1,V.buildPath(q,V.shape),V.__dirtyPath=!1;var fe=C(q);fe.indexOf("NaN")<0&&T(X,"d",fe)}x(X,z,!1,V),S(X,V.transform),z.text!=null?R(V,V.getBoundingRect()):W(V)};var N={};N.brush=function(V){var z=V.style,X=z.image;if(X instanceof HTMLImageElement){var q=X.src;X=q}if(!X)return;var fe=z.x||0,G=z.y||0,ve=z.width,Se=z.height,ge=V.__svgEl;ge||(ge=f("image"),V.__svgEl=ge),X!==V.__imageSrc&&(O(ge,"href",X),V.__imageSrc=X),T(ge,"width",ve),T(ge,"height",Se),T(ge,"x",fe),T(ge,"y",G),S(ge,V.transform),z.text!=null?R(V,V.getBoundingRect()):W(V)};var F={},k=new p,P={},j=[],K={left:"start",right:"end",center:"middle",middle:"middle"},R=function(z,X){var q=z.style,fe=z.transform,G=z instanceof o||q.transformText;z.__dirty&&u.normalizeTextStyle(q,!0);var ve=q.text;if(ve!=null&&(ve+=""),!u.needDrawText(ve,q))return;ve==null&&(ve=""),!G&&fe&&(k.copy(X),k.applyTransform(fe),X=k);var Se=z.__textSvgEl;Se||(Se=f("text"),z.__textSvgEl=Se);var ge=Se.style,Pe=q.font||h.DEFAULT_FONT,Ge=Se.__computedFont;Pe!==Se.__styleFont&&(ge.font=Se.__styleFont=Pe,Ge=Se.__computedFont=ge.font);var pt=q.textPadding,Te=q.textLineHeight,xe=z.__textCotentBlock;(!xe||z.__dirtyText)&&(xe=z.__textCotentBlock=h.parsePlainText(ve,Ge,pt,Te,q.truncate));var lt=xe.outerHeight,Ie=xe.lineHeight;u.getBoxPosition(P,z,q,X);var de=P.baseX,ee=P.baseY,se=P.textAlign||"left",ke=P.textVerticalAlign;B(Se,G,fe,q,X,de,ee);var Ce=h.adjustTextY(ee,lt,ke),ze=de,_e=Ce;pt&&(ze=U(de,se,pt),_e+=pt[0]),_e+=Ie/2,x(Se,q,!0,z);var ae=xe.canCacheByTextString,me=z.__tspanList||(z.__tspanList=[]),Oe=me.length;if(ae&&z.__canCacheByTextString&&z.__text===ve){if(z.__dirtyText&&Oe)for(var Ze=0;Ze<Oe;++Ze)H(me[Ze],se,ze,_e+Ze*Ie)}else{z.__text=ve,z.__canCacheByTextString=ae;for(var vt=xe.lines,Ct=vt.length,Ze=0;Ze<Ct;Ze++){var Be=me[Ze],Rt=vt[Ze];Be?Be.__zrText!==Rt&&(Be.innerHTML="",Be.appendChild(document.createTextNode(Rt))):(Be=me[Ze]=f("tspan"),Se.appendChild(Be),Be.appendChild(document.createTextNode(Rt))),H(Be,se,ze,_e+Ze*Ie)}if(Oe>Ct){for(;Ze<Oe;Ze++)Se.removeChild(me[Ze]);me.length=Ct}}};function B(V,z,X,q,fe,G,ve){v.identity(j),z&&X&&v.copy(j,X);var Se=q.textRotation;if(fe&&Se){var ge=q.textOrigin;ge==="center"?(G=fe.width/2+fe.x,ve=fe.height/2+fe.y):ge&&(G=ge[0]+fe.x,ve=ge[1]+fe.y),j[4]-=G,j[5]-=ve,v.rotate(j,j,Se),j[4]+=G,j[5]+=ve}S(V,j)}function U(V,z,X){return z==="right"?V-X[1]:z==="center"?V+X[3]/2-X[1]/2:V+X[3]}function H(V,z,X,q){T(V,"dominant-baseline","middle"),T(V,"text-anchor",K[z]),T(V,"x",X),T(V,"y",q)}function W(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}F.drawRectText=R,F.brush=function(V){var z=V.style;z.text!=null?R(V,!1):W(V)},I.path=_,I.image=N,I.text=F},P4Qj:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.removeSensor=I.getSensor=void 0;var g=p(e("chpo")),f=e("FxDU"),y=e("24YM");function p(o){return o&&o.__esModule?o:{default:o}}var v={},h=function(i){var r=i.getAttribute(y.SizeSensorId);if(r&&v[r])return v[r];var a=(0,g.default)();i.setAttribute(y.SizeSensorId,a);var c=(0,f.createSensor)(i);return v[a]=c,c};I.getSensor=h;var u=function(i){var r=i.element.getAttribute(y.SizeSensorId);i.element.removeAttribute(y.SizeSensorId),i.destroy(),r&&v[r]&&delete v[r]};I.removeSensor=u},P5Jw:function(D,I,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,D.exports=f},PArb:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("TSYQ"),o=e.n(u),i=e("H84U"),r=function(c,n){var l={};for(var t in c)Object.prototype.hasOwnProperty.call(c,t)&&n.indexOf(t)<0&&(l[t]=c[t]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(c);s<t.length;s++)n.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(c,t[s])&&(l[t[s]]=c[t[s]]);return l},a=function(n){return v.createElement(i.a,null,function(l){var t,s=l.getPrefixCls,d=l.direction,m=n.prefixCls,w=n.type,b=w===void 0?"horizontal":w,E=n.orientation,A=E===void 0?"center":E,S=n.className,T=n.children,O=n.dashed,x=n.plain,C=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),_=s("divider",m),N=A.length>0?"-".concat(A):A,F=!!T,k=o()(S,_,"".concat(_,"-").concat(b),(t={},p()(t,"".concat(_,"-with-text"),F),p()(t,"".concat(_,"-with-text").concat(N),F),p()(t,"".concat(_,"-dashed"),!!O),p()(t,"".concat(_,"-plain"),!!x),p()(t,"".concat(_,"-rtl"),d==="rtl"),t));return v.createElement("div",f()({className:k},C,{role:"separator"}),T&&v.createElement("span",{className:"".concat(_,"-inner-text")},T))})};I.a=a},PD8m:function(D,I){D.exports={name:"memoryStorage",read:g,write:f,each:y,remove:p,clearAll:v};var e={};function g(h){return e[h]}function f(h,u){e[h]=u}function y(h){for(var u in e)e.hasOwnProperty(u)&&h(e[u],u)}function p(h){delete e[h]}function v(h){e={}}},PEeC:function(D,I,e){"use strict";e.d(I,"a",function(){return v}),e.d(I,"b",function(){return h});var g=e("RIqP"),f=e.n(g),y=e("xEkU"),p=e.n(y);function v(u){var o,i=function(c){return function(){o=null,u.apply(void 0,f()(c))}},r=function(){if(o==null){for(var c=arguments.length,n=new Array(c),l=0;l<c;l++)n[l]=arguments[l];o=p()(i(n))}};return r.cancel=function(){return p.a.cancel(o)},r}function h(){return function(u,o,i){var r=i.value,a=!1;return{configurable:!0,get:function(){if(a||this===u.prototype||this.hasOwnProperty(o))return r;var n=v(r.bind(this));return a=!0,Object.defineProperty(this,o,{value:n,configurable:!0,writable:!0}),a=!1,n}}}}},PKem:function(D,I,e){"use strict";e.d(I,"a",function(){return E});var g=e("RIqP"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("pVnL"),h=e.n(v),u=e("lwsE"),o=e.n(u),i=e("W8MJ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),d=e("TSYQ"),m=e.n(d),w=e("H84U"),b=function(N,F){var k={};for(var P in N)Object.prototype.hasOwnProperty.call(N,P)&&F.indexOf(P)<0&&(k[P]=N[P]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,P=Object.getOwnPropertySymbols(N);j<P.length;j++)F.indexOf(P[j])<0&&Object.prototype.propertyIsEnumerable.call(N,P[j])&&(k[P[j]]=N[P[j]]);return k},E=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function A(N){var F=N.suffixCls,k=N.tagName,P=N.displayName;return function(j){var K;return K=function(R){c()(U,R);var B=l()(U);function U(){var H;return o()(this,U),H=B.apply(this,arguments),H.renderComponent=function(W){var V=W.getPrefixCls,z=H.props.prefixCls,X=V(F,z);return t.createElement(j,h()({prefixCls:X,tagName:k},H.props))},H}return r()(U,[{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),U}(t.Component),K.displayName=P,K}}var S=function(F){var k=F.prefixCls,P=F.className,j=F.children,K=F.tagName,R=b(F,["prefixCls","className","children","tagName"]),B=m()(k,P);return t.createElement(K,h()({className:B},R),j)},T=function(N){c()(k,N);var F=l()(k);function k(){var P;return o()(this,k),P=F.apply(this,arguments),P.state={siders:[]},P.renderComponent=function(j){var K,R=j.direction,B=P.props,U=B.prefixCls,H=B.className,W=B.children,V=B.hasSider,z=B.tagName,X=b(B,["prefixCls","className","children","hasSider","tagName"]),q=m()(U,(K={},p()(K,"".concat(U,"-has-sider"),typeof V=="boolean"?V:P.state.siders.length>0),p()(K,"".concat(U,"-rtl"),R==="rtl"),K),H);return t.createElement(E.Provider,{value:{siderHook:P.getSiderHook()}},t.createElement(z,h()({className:q},X),W))},P}return r()(k,[{key:"getSiderHook",value:function(){var j=this;return{addSider:function(R){j.setState(function(B){return{siders:[].concat(f()(B.siders),[R])}})},removeSider:function(R){j.setState(function(B){return{siders:B.siders.filter(function(U){return U!==R})}})}}}},{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),k}(t.Component),O=A({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),x=A({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),C=A({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),_=A({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);O.Header=x,O.Footer=C,O.Content=_,I.b=O},PNag:function(D,I,e){var g=e("bYtY"),f=e("SKnc"),y=e("YH21"),p=e("crZl"),v=e("IwbS"),h=e("OELB"),u=e("72pK"),o=e("y7Aq"),i=e("4NO4"),r=h.linearMap,a=g.each,c=Math.min,n=Math.max,l=12,t=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,O,x,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,O=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(O);var x=T.get("text");this._renderEndsText(O,x,0),this._renderEndsText(O,x,1),this._updateView(!0),this.renderBackground(O),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(O)},_renderEndsText:function(T,O,x){if(!O)return;var C=O[1-x];C=C!=null?C+"":"";var _=this.visualMapModel,N=_.get("textGap"),F=_.itemSize,k=this._shapes.barGroup,P=this._applyTransform([F[0]/2,x===0?-N:F[1]+N],k),j=this._applyTransform(x===0?"bottom":"top",k),K=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:P[0],y:P[1],textVerticalAlign:K==="horizontal"?"middle":j,textAlign:K==="horizontal"?j:"center",text:C,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(T){var O=this.visualMapModel,x=this._shapes,C=O.itemSize,_=this._orient,N=this._useHandle,F=o.getItemAlign(O,this.api,C),k=x.barGroup=this._createBarGroup(F);k.add(x.outOfRange=d()),k.add(x.inRange=d(null,N?A(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var P=O.textStyleModel.getTextRect("\u56FD"),j=n(P.width,P.height);N&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(k,0,C,j,_,F),this._createHandle(k,1,C,j,_,F)),this._createIndicator(k,C,j,_),T.add(k)},_createHandle:function(T,O,x,C,_){var N=g.bind(this._dragHandle,this,O,!1),F=g.bind(this._dragHandle,this,O,!0),k=d(m(O,C),A(this._orient),N,F);k.position[0]=x[0],T.add(k);var P=this.visualMapModel.textStyleModel,j=new v.Text({draggable:!0,drift:N,onmousemove:function(B){y.stop(B.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(j);var K=[_==="horizontal"?C/2:C*1.5,_==="horizontal"?O===0?-(C*1.5):C*1.5:O===0?-C/2:C/2],R=this._shapes;R.handleThumbs[O]=k,R.handleLabelPoints[O]=K,R.handleLabels[O]=j},_createIndicator:function(T,O,x,C){var _=d([[0,0]],"move");_.position[0]=O[0],_.attr({invisible:!0,silent:!0}),T.add(_);var N=this.visualMapModel.textStyleModel,F=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(F);var k=[C==="horizontal"?x/2:t+3,0],P=this._shapes;P.indicator=_,P.indicatorLabel=F,P.indicatorLabelPoint=k},_dragHandle:function(T,O,x,C){if(!this._useHandle)return;if(this._dragging=!O,!O){var _=this._applyTransform([x,C],this._shapes.barGroup,!0);this._updateInterval(T,_[1]),this._updateView()}O===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),O?!this._hovering&&this._clearHoverLinkToSeries():E(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,O=this._dataInterval=T.getSelected(),x=T.getExtent(),C=[0,T.itemSize[1]];this._handleEnds=[r(O[0],x,C,!0),r(O[1],x,C,!0)]},_updateInterval:function(T,O){O=O||0;var x=this.visualMapModel,C=this._handleEnds,_=[0,x.itemSize[1]];u(O,C,_,T,0);var N=x.getExtent();this._dataInterval=[r(C[0],_,N,!0),r(C[1],_,N,!0)]},_updateView:function(T){var O=this.visualMapModel,x=O.getExtent(),C=this._shapes,_=[0,O.itemSize[1]],N=T?_:this._handleEnds,F=this._createBarVisual(this._dataInterval,x,N,"inRange"),k=this._createBarVisual(x,x,_,"outOfRange");C.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),C.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(N,F)},_createBarVisual:function(T,O,x,C){var _={forceState:C,convertOpacityToAlpha:!0},N=this._makeColorGradient(T,_),F=[this.getControllerVisual(T[0],"symbolSize",_),this.getControllerVisual(T[1],"symbolSize",_)],k=this._createBarPoints(x,F);return{barColor:new f(0,0,0,1,N),barPoints:k,handlesColor:[N[0].color,N[N.length-1].color]}},_makeColorGradient:function(T,O){var x=100,C=[],_=(T[1]-T[0])/x;C.push({color:this.getControllerVisual(T[0],"color",O),offset:0});for(var N=1;N<x;N++){var F=T[0]+_*N;if(F>T[1])break;C.push({color:this.getControllerVisual(F,"color",O),offset:N/x})}return C.push({color:this.getControllerVisual(T[1],"color",O),offset:1}),C},_createBarPoints:function(T,O){var x=this.visualMapModel.itemSize;return[[x[0]-O[0],T[0]],[x[0],T[0]],[x[0],T[1]],[x[0]-O[1],T[1]]]},_createBarGroup:function(T){var O=this._orient,x=this.visualMapModel.get("inverse");return new v.Group(O==="horizontal"&&!x?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:O==="horizontal"&&x?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:O==="vertical"&&!x?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,O){if(!this._useHandle)return;var x=this._shapes,C=this.visualMapModel,_=x.handleThumbs,N=x.handleLabels;a([0,1],function(F){var k=_[F];k.setStyle("fill",O.handlesColor[F]),k.position[1]=T[F];var P=v.applyTransform(x.handleLabelPoints[F],v.getTransform(k,this.group));N[F].setStyle({x:P[0],y:P[1],text:C.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(T,O,x,C){var _=this.visualMapModel,N=_.getExtent(),F=_.itemSize,k=[0,F[1]],P=r(T,N,k,!0),j=this._shapes,K=j.indicator;if(!K)return;K.position[1]=P,K.attr("invisible",!1),K.setShape("points",w(!!x,C,P,F[1]));var R={convertOpacityToAlpha:!0},B=this.getControllerVisual(T,"color",R);K.setStyle("fill",B);var U=v.applyTransform(j.indicatorLabelPoint,v.getTransform(K,this.group)),H=j.indicatorLabel;H.attr("invisible",!1);var W=this._applyTransform("left",j.barGroup),V=this._orient;H.setStyle({text:(x||"")+_.formatValueText(O),textVerticalAlign:V==="horizontal"?W:"middle",textAlign:V==="horizontal"?"center":W,x:U[0],y:U[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(O){if(T._hovering=!0,!T._dragging){var x=T.visualMapModel.itemSize,C=T._applyTransform([O.offsetX,O.offsetY],T._shapes.barGroup,!0,!0);C[1]=c(n(0,C[1]),x[1]),T._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=x[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,O){var x=this.visualMapModel,C=x.itemSize;if(!x.option.hoverLink)return;var _=[0,C[1]],N=x.getExtent();T=c(n(_[0],T),_[1]);var F=b(x,N,_),k=[T-F,T+F],P=r(T,_,N,!0),j=[r(k[0],_,N,!0),r(k[1],_,N,!0)];k[0]<_[0]&&(j[0]=-Infinity),k[1]>_[1]&&(j[1]=Infinity),O&&(j[0]===-Infinity?this._showIndicator(P,j[1],"< ",F):j[1]===Infinity?this._showIndicator(P,j[0],"> ",F):this._showIndicator(P,P,"\u2248 ",F));var K=this._hoverLinkDataIndices,R=[];(O||E(x))&&(R=this._hoverLinkDataIndices=x.findTargetDataIndices(j));var B=i.compressBatches(K,R);this._dispatchHighDown("downplay",o.makeHighDownBatch(B[0],x)),this._dispatchHighDown("highlight",o.makeHighDownBatch(B[1],x))},_hoverLinkFromSeriesMouseOver:function(T){var O=T.target,x=this.visualMapModel;if(!O||O.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(O.seriesIndex);if(!x.isTargetSeries(C))return;var _=C.getData(O.dataType),N=_.get(x.getDataDimension(_),O.dataIndex,!0);isNaN(N)||this._showIndicator(N,N)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",o.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,O,x,C){var _=v.getTransform(O,C?null:this.group);return v[g.isArray(T)?"applyTransform":"transformDirection"](T,_,x)},_dispatchHighDown:function(T,O){O&&O.length&&this.api.dispatchAction({type:T,batch:O})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function d(T,O,x,C){return new v.Polygon({shape:{points:T},draggable:!!x,cursor:O,drift:x,onmousemove:function(_){y.stop(_.event)},ondragend:C})}function m(T,O){return T===0?[[0,0],[O,0],[O,-O]]:[[0,0],[O,0],[O,O]]}function w(T,O,x,C){return T?[[0,-c(O,n(x,0))],[t,0],[0,c(O,n(C-x,0))]]:[[0,0],[5,-5],[5,5]]}function b(T,O,x){var C=l/2,_=T.get("hoverLinkDataSize");return _&&(C=r(_,O,x,!0)/2),C}function E(T){var O=T.get("hoverLinkOnHandle");return!!(O==null?T.get("realtime"):O)}function A(T){return T==="vertical"?"ns-resize":"ew-resize"}var S=s;D.exports=S},PQMj:function(D,I,e){},PSzr:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},ProS:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("aX58"),p=e("bYtY"),v=e("Qe9p"),h=e("ItGF"),u=e("BPZU"),o=e("H6uX"),i=e("fmMI"),r=e("hD7B"),a=e("IDmD"),c=e("ypgQ"),n=e("+wW9"),l=e("0V0F"),t=e("bLfw"),s=e("T4UG"),d=e("sS/r"),m=e("6Ic6"),w=e("IwbS"),b=e("4NO4"),E=e("iLNv"),A=E.throttle,S=e("/WM3"),T=e("uAnK"),O=e("mYwL"),x=e("af/B"),C=e("xTNl"),_=e("8hn6");e("A1Ka");var N=e("7DRL"),F=p.assert,k=p.each,P=p.isFunction,j=p.isObject,K=t.parseClassType,R="4.8.0",B={zrender:"4.3.1"},U=1,H=1e3,W=800,V=900,z=5e3,X=1e3,q=1100,fe=2e3,G=3e3,ve=3500,Se=4e3,ge=5e3,Pe={PROCESSOR:{FILTER:H,SERIES_FILTER:W,STATISTIC:z},VISUAL:{LAYOUT:X,PROGRESSIVE_LAYOUT:q,GLOBAL:fe,CHART:G,POST_CHART_LAYOUT:ve,COMPONENT:Se,BRUSH:ge}},Ge="__flagInMainProcess",pt="__optionUpdated",Te=/^[a-zA-Z0-9_]+$/;function xe(ot,xt){return function(ut,ft,Lt){if(!xt&&this._disposed){Ye(this.id);return}ut=ut&&ut.toLowerCase(),o.prototype[ot].call(this,ut,ft,Lt)}}function lt(){o.call(this)}lt.prototype.on=xe("on",!0),lt.prototype.off=xe("off",!0),lt.prototype.one=xe("one",!0),p.mixin(lt,o);function Ie(ot,xt,ut){ut=ut||{},typeof xt=="string"&&(xt=ct[xt]),this.id,this.group,this._dom=ot;var ft="canvas",Lt=this._zr=y.init(ot,{renderer:ut.renderer||ft,devicePixelRatio:ut.devicePixelRatio,width:ut.width,height:ut.height});this._throttledZrFlush=A(p.bind(Lt.flush,Lt),17);var xt=p.clone(xt);xt&&n(xt,!0),this._theme=xt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var Tt=this._api=Ve(this);function ht(Ht,Ft){return Ht.__prio-Ft.__prio}u(dt,ht),u(Qe,ht),this._scheduler=new x(this,Tt,Qe,dt),o.call(this,this._ecEventProcessor=new ie),this._messageCenter=new lt,this._initEvents(),this.resize=p.bind(this.resize,this),this._pendingActions=[],Lt.animation.on("frame",this._onframe,this),Oe(Lt,this),p.setAsPrimitive(this)}var de=Ie.prototype;de._onframe=function(){if(this._disposed)return;var ot=this._scheduler;if(this[pt]){var xt=this[pt].silent;this[Ge]=!0,ke(this),se.update.call(this),this[Ge]=!1,this[pt]=!1,ae.call(this,xt),me.call(this,xt)}else if(ot.unfinished){var ut=U,ft=this._model,Lt=this._api;ot.unfinished=!1;do{var Tt=+new Date;ot.performSeriesTasks(ft),ot.performDataProcessorTasks(ft),ze(this,ft),ot.performVisualTasks(ft),Rt(this,this._model,Lt,"remain"),ut-=+new Date-Tt}while(ut>0&&ot.unfinished);ot.unfinished||this._zr.flush()}},de.getDom=function(){return this._dom},de.getZr=function(){return this._zr},de.setOption=function(ot,xt,ut){if(this._disposed){Ye(this.id);return}var ft;if(j(xt)&&(ut=xt.lazyUpdate,ft=xt.silent,xt=xt.notMerge),this[Ge]=!0,!this._model||xt){var Lt=new c(this._api),Tt=this._theme,ht=this._model=new i;ht.scheduler=this._scheduler,ht.init(null,null,Tt,Lt)}this._model.setOption(ot,ye),ut?(this[pt]={silent:ft},this[Ge]=!1):(ke(this),se.update.call(this),this._zr.flush(),this[pt]=!1,this[Ge]=!1,ae.call(this,ft),me.call(this,ft))},de.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},de.getModel=function(){return this._model},de.getOption=function(){return this._model&&this._model.getOption()},de.getWidth=function(){return this._zr.getWidth()},de.getHeight=function(){return this._zr.getHeight()},de.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},de.getRenderedCanvas=function(ot){if(!h.canvasSupported)return;ot=ot||{},ot.pixelRatio=ot.pixelRatio||1,ot.backgroundColor=ot.backgroundColor||this._model.get("backgroundColor");var xt=this._zr;return xt.painter.getRenderedCanvas(ot)},de.getSvgDataURL=function(){if(!h.svgSupported)return;var ot=this._zr,xt=ot.storage.getDisplayList();return p.each(xt,function(ut){ut.stopAnimation(!0)}),ot.painter.toDataURL()},de.getDataURL=function(ot){if(this._disposed){Ye(this.id);return}ot=ot||{};var xt=ot.excludeComponents,ut=this._model,ft=[],Lt=this;k(xt,function(ht){ut.eachComponent({mainType:ht},function(Ht){var Ft=Lt._componentsMap[Ht.__viewId];Ft.group.ignore||(ft.push(Ft),Ft.group.ignore=!0)})});var Tt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ot).toDataURL("image/"+(ot&&ot.type||"png"));return k(ft,function(ht){ht.group.ignore=!1}),Tt},de.getConnectedDataURL=function(ot){if(this._disposed){Ye(this.id);return}if(!h.canvasSupported)return;var xt=ot.type==="svg",ut=this.group,ft=Math.min,Lt=Math.max,Tt=Infinity;if(or[ut]){var ht=Tt,Ht=Tt,Ft=-Tt,ir=-Tt,Xt=[],mr=ot&&ot.pixelRatio||1;p.each(It,function(Or,Qr){if(Or.group===ut){var Ir=xt?Or.getZr().painter.getSvgDom().innerHTML:Or.getRenderedCanvas(p.clone(ot)),ur=Or.getDom().getBoundingClientRect();ht=ft(ur.left,ht),Ht=ft(ur.top,Ht),Ft=Lt(ur.right,Ft),ir=Lt(ur.bottom,ir),Xt.push({dom:Ir,left:ur.left,top:ur.top})}}),ht*=mr,Ht*=mr,Ft*=mr,ir*=mr;var Ar=Ft-ht,Nr=ir-Ht,Fr=p.createCanvas(),tn=y.init(Fr,{renderer:xt?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),xt){var qr="";return k(Xt,function(Or){var Qr=Or.left-ht,Ir=Or.top-Ht;qr+='<g transform="translate('+Qr+","+Ir+')">'+Or.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,ot.connectedBackgroundColor&&tn.painter.setBackgroundColor(ot.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return ot.connectedBackgroundColor&&tn.add(new w.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:ot.connectedBackgroundColor}})),k(Xt,function(Or){var Qr=new w.Image({style:{x:Or.left*mr-ht,y:Or.top*mr-Ht,image:Or.dom}});tn.add(Qr)}),tn.refreshImmediately(),Fr.toDataURL("image/"+(ot&&ot.type||"png"))}else return this.getDataURL(ot)},de.convertToPixel=p.curry(ee,"convertToPixel"),de.convertFromPixel=p.curry(ee,"convertFromPixel");function ee(ot,xt,ut){if(this._disposed){Ye(this.id);return}var ft=this._model,Lt=this._coordSysMgr.getCoordinateSystems(),Tt;xt=b.parseFinder(ft,xt);for(var ht=0;ht<Lt.length;ht++){var Ht=Lt[ht];if(Ht[ot]&&(Tt=Ht[ot](ft,xt,ut))!=null)return Tt}}de.containPixel=function(ot,xt){if(this._disposed){Ye(this.id);return}var ut=this._model,ft;return ot=b.parseFinder(ut,ot),p.each(ot,function(Lt,Tt){Tt.indexOf("Models")>=0&&p.each(Lt,function(ht){var Ht=ht.coordinateSystem;if(Ht&&Ht.containPoint)ft|=!!Ht.containPoint(xt);else if(Tt==="seriesModels"){var Ft=this._chartsMap[ht.__viewId];Ft&&Ft.containPoint&&(ft|=Ft.containPoint(xt,ht))}},this)},this),!!ft},de.getVisual=function(ot,xt){var ut=this._model;ot=b.parseFinder(ut,ot,{defaultMainType:"series"});var ft=ot.seriesModel,Lt=ft.getData(),Tt=ot.hasOwnProperty("dataIndexInside")?ot.dataIndexInside:ot.hasOwnProperty("dataIndex")?Lt.indexOfRawIndex(ot.dataIndex):null;return Tt!=null?Lt.getItemVisual(Tt,xt):Lt.getVisual(xt)},de.getViewOfComponentModel=function(ot){return this._componentsMap[ot.__viewId]},de.getViewOfSeriesModel=function(ot){return this._chartsMap[ot.__viewId]};var se={prepareAndUpdate:function(ot){ke(this),se.update.call(this,ot)},update:function(ot){var xt=this._model,ut=this._api,ft=this._zr,Lt=this._coordSysMgr,Tt=this._scheduler;if(!xt)return;Tt.restoreData(xt,ot),Tt.performSeriesTasks(xt),Lt.create(xt,ut),Tt.performDataProcessorTasks(xt,ot),ze(this,xt),Lt.update(xt,ut),vt(xt),Tt.performVisualTasks(xt,ot),Ct(this,xt,ut,ot);var ht=xt.get("backgroundColor")||"transparent";if(h.canvasSupported)ft.setBackgroundColor(ht);else{var Ht=v.parse(ht);ht=v.stringify(Ht,"rgb"),Ht[3]===0&&(ht="transparent")}He(xt,ut)},updateTransform:function(ot){var xt=this._model,ut=this,ft=this._api;if(!xt)return;var Lt=[];xt.eachComponent(function(ht,Ht){var Ft=ut.getViewOfComponentModel(Ht);if(Ft&&Ft.__alive)if(Ft.updateTransform){var ir=Ft.updateTransform(Ht,xt,ft,ot);ir&&ir.update&&Lt.push(Ft)}else Lt.push(Ft)});var Tt=p.createHashMap();xt.eachSeries(function(ht){var Ht=ut._chartsMap[ht.__viewId];if(Ht.updateTransform){var Ft=Ht.updateTransform(ht,xt,ft,ot);Ft&&Ft.update&&Tt.set(ht.uid,1)}else Tt.set(ht.uid,1)}),vt(xt),this._scheduler.performVisualTasks(xt,ot,{setDirty:!0,dirtyMap:Tt}),Rt(ut,xt,ft,ot,Tt),He(xt,this._api)},updateView:function(ot){var xt=this._model;if(!xt)return;m.markUpdateMethod(ot,"updateView"),vt(xt),this._scheduler.performVisualTasks(xt,ot,{setDirty:!0}),Ct(this,this._model,this._api,ot),He(xt,this._api)},updateVisual:function(ot){se.update.call(this,ot)},updateLayout:function(ot){se.update.call(this,ot)}};function ke(ot){var xt=ot._model,ut=ot._scheduler;ut.restorePipelines(xt),ut.prepareStageTasks(),Ze(ot,"component",xt,ut),Ze(ot,"chart",xt,ut),ut.plan()}function Ce(ot,xt,ut,ft,Lt){var Tt=ot._model;if(!ft){k(ot._componentsViews.concat(ot._chartsViews),ir);return}var ht={};ht[ft+"Id"]=ut[ft+"Id"],ht[ft+"Index"]=ut[ft+"Index"],ht[ft+"Name"]=ut[ft+"Name"];var Ht={mainType:ft,query:ht};Lt&&(Ht.subType=Lt);var Ft=ut.excludeSeriesId;Ft!=null&&(Ft=p.createHashMap(b.normalizeToArray(Ft))),Tt&&Tt.eachComponent(Ht,function(Xt){(!Ft||Ft.get(Xt.id)==null)&&ir(ot[ft==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},ot);function ir(Xt){Xt&&Xt.__alive&&Xt[xt]&&Xt[xt](Xt.__model,Tt,ot._api,ut)}}de.resize=function(ot){if(this._disposed){Ye(this.id);return}this._zr.resize(ot);var xt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!xt)return;var ut=xt.resetOption("media"),ft=ot&&ot.silent;this[Ge]=!0,ut&&ke(this),se.update.call(this),this[Ge]=!1,ae.call(this,ft),me.call(this,ft)};function ze(ot,xt){var ut=ot._chartsMap,ft=ot._scheduler;xt.eachSeries(function(Lt){ft.updateStreamModes(Lt,ut[Lt.__viewId])})}de.showLoading=function(ot,xt){if(this._disposed){Ye(this.id);return}if(j(ot)&&(xt=ot,ot=""),ot=ot||"default",this.hideLoading(),!yt[ot])return;var ut=yt[ot](this._api,xt),ft=this._zr;this._loadingFX=ut,ft.add(ut)},de.hideLoading=function(){if(this._disposed){Ye(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},de.makeActionFromEvent=function(ot){var xt=p.extend({},ot);return xt.type=it[ot.type],xt},de.dispatchAction=function(ot,xt){if(this._disposed){Ye(this.id);return}if(j(xt)||(xt={silent:!!xt}),!$[ot.type])return;if(!this._model)return;if(this[Ge]){this._pendingActions.push(ot);return}_e.call(this,ot,xt.silent),xt.flush?this._zr.flush(!0):xt.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),ae.call(this,xt.silent),me.call(this,xt.silent)};function _e(ot,xt){var ut=ot.type,ft=ot.escapeConnect,Lt=$[ut],Tt=Lt.actionInfo,ht=(Tt.update||"update").split(":"),Ht=ht.pop();ht=ht[0]!=null&&K(ht[0]),this[Ge]=!0;var Ft=[ot],ir=!1;ot.batch&&(ir=!0,Ft=p.map(ot.batch,function(Nr){return Nr=p.defaults(p.extend({},Nr),ot),Nr.batch=null,Nr}));var Xt=[],mr,Ar=ut==="highlight"||ut==="downplay";k(Ft,function(Nr){mr=Lt.action(Nr,this._model,this._api),mr=mr||p.extend({},Nr),mr.type=Tt.event||mr.type,Xt.push(mr),Ar?Ce(this,Ht,Nr,"series"):ht&&Ce(this,Ht,Nr,ht.main,ht.sub)},this),Ht!=="none"&&!Ar&&!ht&&(this[pt]?(ke(this),se.update.call(this,ot),this[pt]=!1):se[Ht].call(this,ot)),ir?mr={type:Tt.event||ut,escapeConnect:ft,batch:Xt}:mr=Xt[0],this[Ge]=!1,!xt&&this._messageCenter.trigger(mr.type,mr)}function ae(ot){for(var xt=this._pendingActions;xt.length;){var ut=xt.shift();_e.call(this,ut,ot)}}function me(ot){!ot&&this.trigger("updated")}function Oe(ot,xt){ot.on("rendered",function(){xt.trigger("rendered"),ot.animation.isFinished()&&!xt[pt]&&!xt._scheduler.unfinished&&!xt._pendingActions.length&&xt.trigger("finished")})}de.appendData=function(ot){if(this._disposed){Ye(this.id);return}var xt=ot.seriesIndex,ut=this.getModel(),ft=ut.getSeriesByIndex(xt);ft.appendData(ot),this._scheduler.unfinished=!0},de.on=xe("on",!1),de.off=xe("off",!1),de.one=xe("one",!1);function Ze(ot,xt,ut,ft){for(var Lt=xt==="component",Tt=Lt?ot._componentsViews:ot._chartsViews,ht=Lt?ot._componentsMap:ot._chartsMap,Ht=ot._zr,Ft=ot._api,ir=0;ir<Tt.length;ir++)Tt[ir].__alive=!1;Lt?ut.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):ut.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,Fr=ht[Nr];if(!Fr){var tn=K(Ar.type),qr=Lt?d.getClass(tn.main,tn.sub):m.getClass(tn.sub);Fr=new qr,Fr.init(ut,Ft),ht[Nr]=Fr,Tt.push(Fr),Ht.add(Fr.group)}Ar.__viewId=Fr.__id=Nr,Fr.__alive=!0,Fr.__model=Ar,Fr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!Lt&&ft.prepareView(Fr,Ar,ut,Ft)}for(var ir=0;ir<Tt.length;){var mr=Tt[ir];mr.__alive?ir++:(!Lt&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(ut,Ft),Tt.splice(ir,1),delete ht[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function vt(ot){ot.clearColorPalette(),ot.eachSeries(function(xt){xt.clearColorPalette()})}function Ct(ot,xt,ut,ft){Be(ot,xt,ut,ft),k(ot._chartsViews,function(Lt){Lt.__alive=!1}),Rt(ot,xt,ut,ft),k(ot._chartsViews,function(Lt){Lt.__alive||Lt.remove(xt,ut)})}function Be(ot,xt,ut,ft,Lt){k(Lt||ot._componentsViews,function(Tt){var ht=Tt.__model;Tt.render(ht,xt,ut,ft),st(ht,Tt)})}function Rt(ot,xt,ut,ft,Lt){var Tt=ot._scheduler,ht;xt.eachSeries(function(Ht){var Ft=ot._chartsMap[Ht.__viewId];Ft.__alive=!0;var ir=Ft.renderTask;Tt.updatePayload(ir,ft),Lt&&Lt.get(Ht.uid)&&ir.dirty(),ht|=ir.perform(Tt.getPerformArgs(ir)),Ft.group.silent=!!Ht.get("silent"),st(Ht,Ft),rt(Ht,Ft)}),Tt.unfinished|=ht,et(ot,xt),T(ot._zr.dom,xt)}function He(ot,xt){k(Zt,function(ut){ut(ot,xt)})}var wt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];de._initEvents=function(){k(wt,function(ot){var xt=function(ut){var ft=this.getModel(),Lt=ut.target,Tt,ht=ot==="globalout";if(ht)Tt={};else if(Lt&&Lt.dataIndex!=null){var Ht=Lt.dataModel||ft.getSeriesByIndex(Lt.seriesIndex);Tt=Ht&&Ht.getDataParams(Lt.dataIndex,Lt.dataType,Lt)||{}}else Lt&&Lt.eventData&&(Tt=p.extend({},Lt.eventData));if(Tt){var Ft=Tt.componentType,ir=Tt.componentIndex;(Ft==="markLine"||Ft==="markPoint"||Ft==="markArea")&&(Ft="series",ir=Tt.seriesIndex);var Xt=Ft&&ir!=null&&ft.getComponent(Ft,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];Tt.event=ut,Tt.type=ot,this._ecEventProcessor.eventInfo={targetEl:Lt,packedEvent:Tt,model:Xt,view:mr},this.trigger(ot,Tt)}};xt.zrEventfulCallAtLast=!0,this._zr.on(ot,xt,this)},this),k(it,function(ot,xt){this._messageCenter.on(xt,function(ut){this.trigger(xt,ut)},this)},this)},de.isDisposed=function(){return this._disposed},de.clear=function(){if(this._disposed){Ye(this.id);return}this.setOption({series:[]},!0)},de.dispose=function(){if(this._disposed){Ye(this.id);return}this._disposed=!0,b.setAttribute(this.getDom(),pe,"");var ot=this._api,xt=this._model;k(this._componentsViews,function(ut){ut.dispose(xt,ot)}),k(this._chartsViews,function(ut){ut.dispose(xt,ot)}),this._zr.dispose(),delete It[this.id]},p.mixin(Ie,o);function Ye(ot){}function et(ot,xt){var ut=ot._zr,ft=ut.storage,Lt=0;ft.traverse(function(Tt){Lt++}),Lt>xt.get("hoverLayerThreshold")&&!h.node&&xt.eachSeries(function(Tt){if(Tt.preventUsingHoverLayer)return;var ht=ot._chartsMap[Tt.__viewId];ht.__alive&&ht.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function rt(ot,xt){var ut=ot.get("blendMode")||null;xt.group.traverse(function(ft){ft.isGroup||ft.style.blend!==ut&&ft.setStyle("blend",ut),ft.eachPendingDisplayable&&ft.eachPendingDisplayable(function(Lt){Lt.setStyle("blend",ut)})})}function st(ot,xt){var ut=ot.get("z"),ft=ot.get("zlevel");xt.group.traverse(function(Lt){Lt.type!=="group"&&(ut!=null&&(Lt.z=ut),ft!=null&&(Lt.zlevel=ft))})}function Ve(ot){var xt=ot._coordSysMgr;return p.extend(new r(ot),{getCoordinateSystems:p.bind(xt.getCoordinateSystems,xt),getComponentByElement:function(ut){for(;ut;){var ft=ut.__ecComponentInfo;if(ft!=null)return ot._model.getComponent(ft.mainType,ft.index);ut=ut.parent}}})}function ie(){this.eventInfo}ie.prototype={constructor:ie,normalizeQuery:function(ot){var xt={},ut={},ft={};if(p.isString(ot)){var Lt=K(ot);xt.mainType=Lt.main||null,xt.subType=Lt.sub||null}else{var Tt=["Index","Name","Id"],ht={name:1,dataIndex:1,dataType:1};p.each(ot,function(Ht,Ft){for(var ir=!1,Xt=0;Xt<Tt.length;Xt++){var mr=Tt[Xt],Ar=Ft.lastIndexOf(mr);if(Ar>0&&Ar===Ft.length-mr.length){var Nr=Ft.slice(0,Ar);Nr!=="data"&&(xt.mainType=Nr,xt[mr.toLowerCase()]=Ht,ir=!0)}}ht.hasOwnProperty(Ft)&&(ut[Ft]=Ht,ir=!0),ir||(ft[Ft]=Ht)})}return{cptQuery:xt,dataQuery:ut,otherQuery:ft}},filter:function(ot,xt,ut){var ft=this.eventInfo;if(!ft)return!0;var Lt=ft.targetEl,Tt=ft.packedEvent,ht=ft.model,Ht=ft.view;if(!ht||!Ht)return!0;var Ft=xt.cptQuery,ir=xt.dataQuery;return Xt(Ft,ht,"mainType")&&Xt(Ft,ht,"subType")&&Xt(Ft,ht,"index","componentIndex")&&Xt(Ft,ht,"name")&&Xt(Ft,ht,"id")&&Xt(ir,Tt,"name")&&Xt(ir,Tt,"dataIndex")&&Xt(ir,Tt,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(ot,xt.otherQuery,Lt,Tt));function Xt(mr,Ar,Nr,Fr){return mr[Nr]==null||Ar[Fr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var $={},it={},Qe=[],ye=[],Zt=[],dt=[],ct={},yt={},It={},or={},Bt=new Date-0,Ae=new Date-0,pe="_echarts_instance_";function he(ot){var xt=0,ut=1,ft=2,Lt="__connectUpdateStatus";function Tt(ht,Ht){for(var Ft=0;Ft<ht.length;Ft++){var ir=ht[Ft];ir[Lt]=Ht}}k(it,function(ht,Ht){ot._messageCenter.on(Ht,function(Ft){if(or[ot.group]&&ot[Lt]!==xt){if(Ft&&Ft.escapeConnect)return;var ir=ot.makeActionFromEvent(Ft),Xt=[];k(It,function(mr){mr!==ot&&mr.group===ot.group&&Xt.push(mr)}),Tt(Xt,xt),k(Xt,function(mr){mr[Lt]!==ut&&mr.dispatchAction(ir)}),Tt(Xt,ft)}})})}function le(ot,xt,ut){var ft=Fe(ot);if(ft)return ft;var Lt=new Ie(ot,xt,ut);return Lt.id="ec_"+Bt++,It[Lt.id]=Lt,b.setAttribute(ot,pe,Lt.id),he(Lt),Lt}function Ne(ot){if(p.isArray(ot)){var xt=ot;ot=null,k(xt,function(ut){ut.group!=null&&(ot=ut.group)}),ot=ot||"g_"+Ae++,k(xt,function(ut){ut.group=ot})}return or[ot]=!0,ot}function je(ot){or[ot]=!1}var Ke=je;function Xe(ot){typeof ot=="string"?ot=It[ot]:ot instanceof Ie||(ot=Fe(ot)),ot instanceof Ie&&!ot.isDisposed()&&ot.dispose()}function Fe(ot){return It[b.getAttribute(ot,pe)]}function nt(ot){return It[ot]}function At(ot,xt){ct[ot]=xt}function _t(ot){ye.push(ot)}function ne(ot,xt){$e(Qe,ot,xt,H)}function ue(ot){Zt.push(ot)}function Y(ot,xt,ut){typeof xt=="function"&&(ut=xt,xt="");var ft=j(ot)?ot.type:[ot,ot={event:xt}][0];ot.event=(ot.event||ft).toLowerCase(),xt=ot.event,F(Te.test(ft)&&Te.test(xt)),$[ft]||($[ft]={action:ut,actionInfo:ot}),it[xt]=ft}function te(ot,xt){a.register(ot,xt)}function be(ot){var xt=a.get(ot);if(xt)return xt.getDimensionsInfo?xt.getDimensionsInfo():xt.dimensions.slice()}function Le(ot,xt){$e(dt,ot,xt,X,"layout")}function Re(ot,xt){$e(dt,ot,xt,G,"visual")}function $e(ot,xt,ut,ft,Lt){(P(xt)||j(xt))&&(ut=xt,xt=ft);var Tt=x.wrapStageHandler(ut,Lt);return Tt.__prio=xt,Tt.__raw=ut,ot.push(Tt),Tt}function gt(ot,xt){yt[ot]=xt}function Wt(ot){return t.extend(ot)}function $t(ot){return d.extend(ot)}function Dt(ot){return s.extend(ot)}function Kt(ot){return m.extend(ot)}function Yt(ot){p.$override("createCanvas",ot)}function Qt(ot,xt,ut){N.registerMap(ot,xt,ut)}function Mt(ot){var xt=N.retrieveMap(ot);return xt&&xt[0]&&{geoJson:xt[0].geoJSON,specialAreas:xt[0].specialAreas}}Re(fe,S),_t(n),ne(V,l),gt("default",O),Y({type:"highlight",event:"highlight",update:"highlight"},p.noop),Y({type:"downplay",event:"downplay",update:"downplay"},p.noop),At("light",C),At("dark",_);var dr={};I.version=R,I.dependencies=B,I.PRIORITY=Pe,I.init=le,I.connect=Ne,I.disConnect=je,I.disconnect=Ke,I.dispose=Xe,I.getInstanceByDom=Fe,I.getInstanceById=nt,I.registerTheme=At,I.registerPreprocessor=_t,I.registerProcessor=ne,I.registerPostUpdate=ue,I.registerAction=Y,I.registerCoordinateSystem=te,I.getCoordinateSystemDimensions=be,I.registerLayout=Le,I.registerVisual=Re,I.registerLoading=gt,I.extendComponentModel=Wt,I.extendComponentView=$t,I.extendSeriesModel=Dt,I.extendChartView=Kt,I.setCanvasCreator=Yt,I.registerMap=Qt,I.getMap=Mt,I.dataTool=dr;var er=e("txkQ");(function(){for(var ot in er)er.hasOwnProperty(ot)&&(I[ot]=er[ot])})()},"Pv/L":function(D,I,e){"use strict";e.d(I,"a",function(){return v});var g=e("+kx5"),f=e("Y9hK"),y=e("Qw5x"),p=e("u6e6");function v(h){return Object(g.a)(h)||Object(f.a)(h)||Object(y.a)(h)||Object(p.a)()}},Q7if:function(D,I,e){var g=e("JEkh"),f=g.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"}}}});D.exports=f},Q9mQ:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("UADf"),p=e.n(y)},"QB+1":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Ywus"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},QBsz:function(D,I){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(x,C){var _=new e(2);return x==null&&(x=0),C==null&&(C=0),_[0]=x,_[1]=C,_}function f(x,C){return x[0]=C[0],x[1]=C[1],x}function y(x){var C=new e(2);return C[0]=x[0],C[1]=x[1],C}function p(x,C,_){return x[0]=C,x[1]=_,x}function v(x,C,_){return x[0]=C[0]+_[0],x[1]=C[1]+_[1],x}function h(x,C,_,N){return x[0]=C[0]+_[0]*N,x[1]=C[1]+_[1]*N,x}function u(x,C,_){return x[0]=C[0]-_[0],x[1]=C[1]-_[1],x}function o(x){return Math.sqrt(r(x))}var i=o;function r(x){return x[0]*x[0]+x[1]*x[1]}var a=r;function c(x,C,_){return x[0]=C[0]*_[0],x[1]=C[1]*_[1],x}function n(x,C,_){return x[0]=C[0]/_[0],x[1]=C[1]/_[1],x}function l(x,C){return x[0]*C[0]+x[1]*C[1]}function t(x,C,_){return x[0]=C[0]*_,x[1]=C[1]*_,x}function s(x,C){var _=o(C);return _===0?(x[0]=0,x[1]=0):(x[0]=C[0]/_,x[1]=C[1]/_),x}function d(x,C){return Math.sqrt((x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1]))}var m=d;function w(x,C){return(x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1])}var b=w;function E(x,C){return x[0]=-C[0],x[1]=-C[1],x}function A(x,C,_,N){return x[0]=C[0]+N*(_[0]-C[0]),x[1]=C[1]+N*(_[1]-C[1]),x}function S(x,C,_){var N=C[0],F=C[1];return x[0]=_[0]*N+_[2]*F+_[4],x[1]=_[1]*N+_[3]*F+_[5],x}function T(x,C,_){return x[0]=Math.min(C[0],_[0]),x[1]=Math.min(C[1],_[1]),x}function O(x,C,_){return x[0]=Math.max(C[0],_[0]),x[1]=Math.max(C[1],_[1]),x}I.create=g,I.copy=f,I.clone=y,I.set=p,I.add=v,I.scaleAndAdd=h,I.sub=u,I.len=o,I.length=i,I.lenSquare=r,I.lengthSquare=a,I.mul=c,I.div=n,I.dot=l,I.scale=t,I.normalize=s,I.distance=d,I.dist=m,I.distanceSquare=w,I.distSquare=b,I.negate=E,I.lerp=A,I.applyTransform=S,I.min=T,I.max=O},"QO+J":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=y(e("NohK")),f=e("24YM");function y(v){return v&&v.__esModule?v:{default:v}}var p=function(h){var u=void 0,o=[],i=function(){getComputedStyle(h).position==="static"&&(h.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",f.SensorClassName),t.setAttribute("tabindex",f.SensorTabIndex),t.type="text/html",h.appendChild(t),t.data="about:blank",t},r=(0,g.default)(function(){o.forEach(function(l){l(h)})}),a=function(t){u||(u=i()),o.indexOf(t)===-1&&o.push(t)},c=function(){u&&u.parentNode&&(u.contentDocument&&u.contentDocument.defaultView.removeEventListener("resize",r),u.parentNode.removeChild(u),u=void 0,o=[])},n=function(t){var s=o.indexOf(t);s!==-1&&o.splice(s,1),o.length===0&&u&&c()};return{element:h,bind:a,destroy:c,unbind:n}};I.createSensor=p},"QQZ/":function(D,I,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),p=e("dt0z");function v(h,u,o){h=p(h),u=y(u);var i=u?f(h):0;return u&&i<u?g(u-i,o)+h:h}D.exports=v},QUw5:function(D,I,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});D.exports=f},QV2g:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(){for(var p,v=[],h=0;h<256;h++){p=h;for(var u=0;u<8;u++)p=p&1?3988292384^p>>>1:p>>>1;v[h]=p}return v}var f=g();function y(p,v,h,u){var o=f,i=u+h;p^=-1;for(var r=u;r<i;r++)p=p>>>8^o[(p^v[r])&255];return p^-1}},QbM5:function(D,I,e){},Qe9p:function(D,I,e){var g=e("1RvN"),f={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 y(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 h(C){return C.length&&C.charAt(C.length-1)==="%"?y(parseFloat(C)/100*255):y(parseInt(C,10))}function u(C){return C.length&&C.charAt(C.length-1)==="%"?v(parseFloat(C)/100):v(parseFloat(C))}function o(C,_,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?C+(_-C)*N*6:N*2<1?_:N*3<2?C+(_-C)*(2/3-N)*6:C}function i(C,_,N){return C+(_-C)*N}function r(C,_,N,F,k){return C[0]=_,C[1]=N,C[2]=F,C[3]=k,C}function a(C,_){return C[0]=_[0],C[1]=_[1],C[2]=_[2],C[3]=_[3],C}var c=new g(20),n=null;function l(C,_){n&&a(n,_),n=c.put(C,n||_.slice())}function t(C,_){if(!C)return;_=_||[];var N=c.get(C);if(N)return a(_,N);C=C+"";var F=C.replace(/ /g,"").toLowerCase();if(F in f)return a(_,f[F]),l(C,_),_;if(F.charAt(0)==="#"){if(F.length===4){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=4095)){r(_,0,0,0,1);return}return r(_,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),l(C,_),_}else if(F.length===7){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=16777215)){r(_,0,0,0,1);return}return r(_,(k&16711680)>>16,(k&65280)>>8,k&255,1),l(C,_),_}return}var P=F.indexOf("("),j=F.indexOf(")");if(P!==-1&&j+1===F.length){var K=F.substr(0,P),R=F.substr(P+1,j-(P+1)).split(","),B=1;switch(K){case"rgba":if(R.length!==4){r(_,0,0,0,1);return}B=u(R.pop());case"rgb":if(R.length!==3){r(_,0,0,0,1);return}return r(_,h(R[0]),h(R[1]),h(R[2]),B),l(C,_),_;case"hsla":if(R.length!==4){r(_,0,0,0,1);return}return R[3]=u(R[3]),s(R,_),l(C,_),_;case"hsl":if(R.length!==3){r(_,0,0,0,1);return}return s(R,_),l(C,_),_;default:return}}r(_,0,0,0,1);return}function s(C,_){var N=(parseFloat(C[0])%360+360)%360/360,F=u(C[1]),k=u(C[2]),P=k<=.5?k*(F+1):k+F-k*F,j=k*2-P;return _=_||[],r(_,y(o(j,P,N+1/3)*255),y(o(j,P,N)*255),y(o(j,P,N-1/3)*255),1),C.length===4&&(_[3]=C[3]),_}function d(C){if(!C)return;var _=C[0]/255,N=C[1]/255,F=C[2]/255,k=Math.min(_,N,F),P=Math.max(_,N,F),j=P-k,K=(P+k)/2,R,B;if(j===0)R=0,B=0;else{K<.5?B=j/(P+k):B=j/(2-P-k);var U=((P-_)/6+j/2)/j,H=((P-N)/6+j/2)/j,W=((P-F)/6+j/2)/j;_===P?R=W-H:N===P?R=1/3+U-W:F===P&&(R=2/3+H-U),R<0&&(R+=1),R>1&&(R-=1)}var V=[R*360,B,K];return C[3]!=null&&V.push(C[3]),V}function m(C,_){var N=t(C);if(N){for(var F=0;F<3;F++)_<0?N[F]=N[F]*(1-_)|0:N[F]=(255-N[F])*_+N[F]|0,N[F]>255?N[F]=255:C[F]<0&&(N[F]=0);return x(N,N.length===4?"rgba":"rgb")}}function w(C){var _=t(C);if(_)return((1<<24)+(_[0]<<16)+(_[1]<<8)+ +_[2]).toString(16).slice(1)}function b(C,_,N){if(!(_&&_.length)||!(C>=0&&C<=1))return;N=N||[];var F=C*(_.length-1),k=Math.floor(F),P=Math.ceil(F),j=_[k],K=_[P],R=F-k;return N[0]=y(i(j[0],K[0],R)),N[1]=y(i(j[1],K[1],R)),N[2]=y(i(j[2],K[2],R)),N[3]=v(i(j[3],K[3],R)),N}var E=b;function A(C,_,N){if(!(_&&_.length)||!(C>=0&&C<=1))return;var F=C*(_.length-1),k=Math.floor(F),P=Math.ceil(F),j=t(_[k]),K=t(_[P]),R=F-k,B=x([y(i(j[0],K[0],R)),y(i(j[1],K[1],R)),y(i(j[2],K[2],R)),v(i(j[3],K[3],R))],"rgba");return N?{color:B,leftIndex:k,rightIndex:P,value:F}:B}var S=A;function T(C,_,N,F){if(C=t(C),C)return C=d(C),_!=null&&(C[0]=p(_)),N!=null&&(C[1]=u(N)),F!=null&&(C[2]=u(F)),x(s(C),"rgba")}function O(C,_){if(C=t(C),C&&_!=null)return C[3]=v(_),x(C,"rgba")}function x(C,_){if(!C||!C.length)return;var N=C[0]+","+C[1]+","+C[2];return(_==="rgba"||_==="hsva"||_==="hsla")&&(N+=","+C[3]),_+"("+N+")"}I.parse=t,I.lift=m,I.toHex=w,I.fastLerp=b,I.fastMapToColor=E,I.lerp=A,I.mapToColor=S,I.modifyHSL=T,I.modifyAlpha=O,I.stringify=x},Qi1f:function(D,I,e){"use strict";e.d(I,"g",function(){return r}),e.d(I,"c",function(){return a}),e.d(I,"a",function(){return n}),e.d(I,"b",function(){return l}),e.d(I,"d",function(){return t}),e.d(I,"e",function(){return s}),e.d(I,"f",function(){return w});var g=e("VTBJ"),f=e("U8pU"),y=e("HXN9"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("Kwbf"),o=e("Gu+u"),i=e.n(o);function r(b,E){Object(u.a)(b,"[@ant-design/icons] ".concat(E))}function a(b){return Object(f.a)(b)==="object"&&typeof b.name=="string"&&typeof b.theme=="string"&&(Object(f.a)(b.icon)==="object"||typeof b.icon=="function")}function c(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(b).reduce(function(E,A){var S=b[A];switch(A){case"class":E.className=S,delete E.class;break;default:E[A]=S}return E},{})}function n(b,E,A){return A?h.a.createElement(b.tag,Object(g.a)(Object(g.a)({key:E},c(b.attrs)),A),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))})):h.a.createElement(b.tag,Object(g.a)({key:E},c(b.attrs)),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))}))}function l(b){return Object(y.generate)(b)[0]}function t(b){return b?Array.isArray(b)?b:[b]:[]}var s={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},d=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,m=!1,w=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;Object(v.useEffect)(function(){m||(Object(o.insertCss)(E,{prepend:!0}),m=!0)},[])}},QkVE:function(D,I,e){var g=e("EpBk");function f(y,p){var v=y.__data__;return g(p)?v[typeof p=="string"?"string":"hash"]:v.map}D.exports=f},QoRX:function(D,I){function e(g,f){for(var y=-1,p=g==null?0:g.length;++y<p;)if(f(g[y],y,g))return!0;return!1}D.exports=e},QqLw:function(D,I,e){var g=e("tadb"),f=e("ebwN"),y=e("HOxn"),p=e("yGk4"),v=e("Of+w"),h=e("NykK"),u=e("3Fdi"),o="[object Map]",i="[object Object]",r="[object Promise]",a="[object Set]",c="[object WeakMap]",n="[object DataView]",l=u(g),t=u(f),s=u(y),d=u(p),m=u(v),w=h;(g&&w(new g(new ArrayBuffer(1)))!=n||f&&w(new f)!=o||y&&w(y.resolve())!=r||p&&w(new p)!=a||v&&w(new v)!=c)&&(w=function(b){var E=h(b),A=E==i?b.constructor:void 0,S=A?u(A):"";if(S)switch(S){case l:return n;case t:return o;case s:return r;case d:return a;case m:return c}return E}),D.exports=w},Qs3X:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("X+im"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},Qs9O:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},QuXc:function(D,I){var e=function(y){this.colorStops=y||[]};e.prototype={constructor:e,addColorStop:function(y,p){this.colorStops.push({offset:y,color:p})}};var g=e;D.exports=g},Qvb6:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),p=e("B9fm"),v=e("gvm7"),h=e("7aKB"),u=e("OELB"),o=e("IwbS"),i=e("Ez2D"),r=e("+TT/"),a=e("Qxkt"),c=e("F9bG"),n=e("aX7z"),l=e("/y7N"),t=e("4NO4"),s=t.getTooltipRenderMode,d=f.bind,m=f.each,w=u.parsePercent,b=new o.Rect({shape:{x:-1,y:-1,width:2,height:2}}),E=g.extendComponentView({type:"tooltip",init:function(_,N){if(y.node)return;var F=_.getComponent("tooltip"),k=F.get("renderMode");this._renderMode=s(k);var P;this._renderMode==="html"?(P=new p(N.getDom(),N,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(P=new v(N),this._newLine=`
|
|
|
`),this._tooltipContent=P},render:function(_,N,F){if(y.node)return;this.group.removeAll(),this._tooltipModel=_,this._ecModel=N,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=_.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(_.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var _=this._tooltipModel,N=_.get("triggerOn");c.register("itemTooltip",this._api,d(function(F,k,P){N!=="none"&&(N.indexOf(F)>=0?this._tryShow(k,P):F==="leave"&&this._hide(P))},this))},_keepShow:function(){var _=this._tooltipModel,N=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&_.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&k.manuallyShowTip(_,N,F,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(_,N,F,k){if(k.from===this.uid||y.node)return;var P=S(k,F);this._ticket="";var j=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var K=b;K.position=[k.x,k.y],K.update(),K.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:K},P)}else if(j)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},P);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(_,N,F,k))return;var R=i(k,N),B=R.point[0],U=R.point[1];B!=null&&U!=null&&this._tryShow({offsetX:B,offsetY:U,position:k.position,target:R.el},P)}else k.x!=null&&k.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:F.getZr().findHover(k.x,k.y).target},P))},manuallyHideTip:function(_,N,F,k){var P=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&P.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(S(k,F))},_manuallyAxisShowTip:function(_,N,F,k){var P=k.seriesIndex,j=k.dataIndex,K=N.getComponent("axisPointer").coordSysAxesInfo;if(P==null||j==null||K==null)return;var R=N.getSeriesByIndex(P);if(!R)return;var B=R.getData(),_=A([B.getItemModel(j),R,(R.coordinateSystem||{}).model,_]);return _.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:P,dataIndex:j,position:k.position}),!0)},_tryShow:function(_,N){var F=_.target,k=this._tooltipModel;if(!k)return;this._lastX=_.offsetX,this._lastY=_.offsetY;var P=_.dataByCoordSys;P&&P.length?this._showAxisTooltip(P,_):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(_,F,N)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(_,F,N)):(this._lastDataByCoordSys=null,this._hide(N))},_showOrMove:function(_,N){var F=_.get("showDelay");N=f.bind(N,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(N,F):N()},_showAxisTooltip:function(_,N){var F=this._ecModel,k=this._tooltipModel,P=[N.offsetX,N.offsetY],j=[],K=[],R=A([N.tooltipOption,k]),B=this._renderMode,U=this._newLine,H={};m(_,function(V){m(V.dataByAxis,function(z){var X=F.getComponent(z.axisDim+"Axis",z.axisIndex),q=z.value,fe=[];if(!X||q==null)return;var G=l.getValueLabel(q,X.axis,F,z.seriesDataIndices,z.valueLabelOpt);f.each(z.seriesDataIndices,function(Se){var ge=F.getSeriesByIndex(Se.seriesIndex),Pe=Se.dataIndexInside,Ge=ge&&ge.getDataParams(Pe);if(Ge.axisDim=z.axisDim,Ge.axisIndex=z.axisIndex,Ge.axisType=z.axisType,Ge.axisId=z.axisId,Ge.axisValue=n.getAxisRawValue(X.axis,q),Ge.axisValueLabel=G,Ge){K.push(Ge);var pt=ge.formatTooltip(Pe,!0,null,B),Te;if(f.isObject(pt)){Te=pt.html;var xe=pt.markers;f.merge(H,xe)}else Te=pt;fe.push(Te)}});var ve=G;B!=="html"?j.push(fe.join(U)):j.push((ve?h.encodeHTML(ve)+U:"")+fe.join(U))})},this),j.reverse(),j=j.join(this._newLine+this._newLine);var W=N.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(_)?this._updatePosition(R,W,P[0],P[1],this._tooltipContent,K):this._showTooltipContent(R,j,K,Math.random(),P[0],P[1],W,void 0,H)})},_showSeriesItemTooltip:function(_,N,F){var k=this._ecModel,P=N.seriesIndex,j=k.getSeriesByIndex(P),K=N.dataModel||j,R=N.dataIndex,B=N.dataType,U=K.getData(B),H=A([U.getItemModel(R),K,j&&(j.coordinateSystem||{}).model,this._tooltipModel]),W=H.get("trigger");if(W!=null&&W!=="item")return;var V=K.getDataParams(R,B),z=K.formatTooltip(R,!1,B,this._renderMode),X,q;f.isObject(z)?(X=z.html,q=z.markers):(X=z,q=null);var fe="item_"+K.name+"_"+R;this._showOrMove(H,function(){this._showTooltipContent(H,X,V,fe,_.offsetX,_.offsetY,_.position,_.target,q)}),F({type:"showTip",dataIndexInside:R,dataIndex:U.getRawIndex(R),seriesIndex:P,from:this.uid})},_showComponentItemTooltip:function(_,N,F){var k=N.tooltip;if(typeof k=="string"){var P=k;k={content:P,formatter:P}}var j=new a(k,this._tooltipModel,this._ecModel),K=j.get("content"),R=Math.random();this._showOrMove(j,function(){this._showTooltipContent(j,K,j.get("formatterParams")||{},R,_.offsetX,_.offsetY,_.position,N)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(_,N,F,k,P,j,K,R,B){if(this._ticket="",!_.get("showContent")||!_.get("show"))return;var U=this._tooltipContent,H=_.get("formatter");K=K||_.get("position");var W=N;if(H&&typeof H=="string")W=h.formatTpl(H,F,!0);else if(typeof H=="function"){var V=d(function(z,X){z===this._ticket&&(U.setContent(X,B,_),this._updatePosition(_,K,P,j,U,F,R))},this);this._ticket=k,W=H(F,k,V)}U.setContent(W,B,_),U.show(_),this._updatePosition(_,K,P,j,U,F,R)},_updatePosition:function(_,N,F,k,P,j,K){var R=this._api.getWidth(),B=this._api.getHeight();N=N||_.get("position");var U=P.getSize(),H=_.get("align"),W=_.get("verticalAlign"),V=K&&K.getBoundingRect().clone();if(K&&V.applyTransform(K.transform),typeof N=="function"&&(N=N([F,k],j,P.el,V,{viewSize:[R,B],contentSize:U.slice()})),f.isArray(N))F=w(N[0],R),k=w(N[1],B);else if(f.isObject(N)){N.width=U[0],N.height=U[1];var z=r.getLayoutRect(N,{width:R,height:B});F=z.x,k=z.y,H=null,W=null}else if(typeof N=="string"&&K){var X=x(N,V,U);F=X[0],k=X[1]}else{var X=T(F,k,P,R,B,H?null:20,W?null:20);F=X[0],k=X[1]}if(H&&(F-=C(H)?U[0]/2:H==="right"?U[0]:0),W&&(k-=C(W)?U[1]/2:W==="bottom"?U[1]:0),_.get("confine")){var X=O(F,k,P,R,B);F=X[0],k=X[1]}P.moveTo(F,k)},_updateContentNotChangedOnAxis:function(_){var N=this._lastDataByCoordSys,F=!!N&&N.length===_.length;return F&&m(N,function(k,P){var j=k.dataByAxis||{},K=_[P]||{},R=K.dataByAxis||[];F&=j.length===R.length,F&&m(j,function(B,U){var H=R[U]||{},W=B.seriesDataIndices||[],V=H.seriesDataIndices||[];F&=B.value===H.value&&B.axisType===H.axisType&&B.axisId===H.axisId&&W.length===V.length,F&&m(W,function(z,X){var q=V[X];F&=z.seriesIndex===q.seriesIndex&&z.dataIndex===q.dataIndex})})}),this._lastDataByCoordSys=_,!!F},_hide:function(_){this._lastDataByCoordSys=null,_({type:"hideTip",from:this.uid})},dispose:function(_,N){if(y.node)return;this._tooltipContent.dispose(),c.unregister("itemTooltip",N)}});function A(_){for(var N=_.pop();_.length;){var F=_.pop();F&&(a.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),N=new a(F,N,N.ecModel))}return N}function S(_,N){return _.dispatchAction||f.bind(N.dispatchAction,N)}function T(_,N,F,k,P,j,K){var R=F.getOuterSize(),B=R.width,U=R.height;return j!=null&&(_+B+j>k?_-=B+j:_+=j),K!=null&&(N+U+K>P?N-=U+K:N+=K),[_,N]}function O(_,N,F,k,P){var j=F.getOuterSize(),K=j.width,R=j.height;return _=Math.min(_+K,k)-K,N=Math.min(N+R,P)-R,_=Math.max(_,0),N=Math.max(N,0),[_,N]}function x(_,N,F){var k=F[0],P=F[1],j=5,K=0,R=0,B=N.width,U=N.height;switch(_){case"inside":K=N.x+B/2-k/2,R=N.y+U/2-P/2;break;case"top":K=N.x+B/2-k/2,R=N.y-P-j;break;case"bottom":K=N.x+B/2-k/2,R=N.y+U+j;break;case"left":K=N.x-k-j,R=N.y+U/2-P/2;break;case"right":K=N.x+B+j,R=N.y+U/2-P/2}return[K,R]}function C(_){return _==="center"||_==="middle"}D.exports=E},Qxkt:function(D,I,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),p=y.makeInner,v=e("Yl7c"),h=v.enableClassExtend,u=v.enableClassCheck,o=e("OQFs"),i=e("m9t5"),r=e("/iHx"),a=e("VR9l"),c=g.mixin,n=p();function l(m,w,b){this.parentModel=w,this.ecModel=b,this.option=m}l.prototype={constructor:l,init:null,mergeOption:function(m){g.merge(this.option,m,!0)},get:function(m,w){return m==null?this.option:t(this.option,this.parsePath(m),!w&&s(this,m))},getShallow:function(m,w){var b=this.option,E=b==null?b:b[m],A=!w&&s(this,m);return E==null&&A&&(E=A.getShallow(m)),E},getModel:function(m,w){var b=m==null?this.option:t(this.option,m=this.parsePath(m)),E;return w=w||(E=s(this,m))&&E.getModel(m),new l(b,w,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var m=this.constructor;return new m(g.clone(this.option))},setReadOnly:function(m){},parsePath:function(m){return typeof m=="string"&&(m=m.split(".")),m},customizeGetParent:function(m){n(this).getParent=m},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(m,w,b){for(var E=0;E<w.length;E++){if(!w[E])continue;if(m=m&&typeof m=="object"?m[w[E]]:null,m==null)break}return m==null&&b&&(m=b.get(w)),m}function s(m,w){var b=n(m).getParent;return b?b.call(m,w):m.parentModel}h(l),u(l),c(l,o),c(l,i),c(l,r),c(l,a);var d=l;D.exports=d},QyFq:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},QzjZ:function(D,I,e){var g=e("S/Yl"),f=e("IDmD");function y(p,v){var h=[];return p.eachComponent("singleAxis",function(u,o){var i=new g(u,p,v);i.name="single_"+o,i.resize(u,v),u.coordinateSystem=i,h.push(i)}),p.eachSeries(function(u){if(u.get("coordinateSystem")==="singleAxis"){var o=p.queryComponents({mainType:"singleAxis",index:u.get("singleAxisIndex"),id:u.get("singleAxisId")})[0];u.coordinateSystem=o&&o.coordinateSystem}}),h}f.register("single",{create:y,dimensions:g.prototype.dimensions})},R4Th:function(D,I,e){var g=e("ProS"),f=e("9wZj"),y=e("yO87"),p=e("Fofx"),v=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(y)},render:function(u,o,i){var r=u.getData(),a=this._symbolDraw;a.updateData(r),this.group.add(a.group)},updateTransform:function(u,o,i){var r=u.getData();this.group.dirty();var a=v().reset(u);a.progress&&a.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(u){var o=u.coordinateSystem;o&&o.getRoamTransform&&(this.group.transform=p.clone(o.getRoamTransform()),this.group.decomposeTransform())},remove:function(u,o){this._symbolDraw&&this._symbolDraw.remove(o)},dispose:function(){}});D.exports=h},R9oj:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pwpV"),p=e.n(y)},RBEP:function(D,I,e){for(var g=e("ProS"),f=e("VaxA"),y=function(){},p=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<p.length;v++)g.registerAction({type:p[v],update:"updateView"},y);g.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"treemap",query:h},o);function o(i,r){var a=["treemapZoomToNode","treemapRootToNode"],c=f.retrieveTargetInfo(h,a,i);if(c){var n=i.getViewRoot();n&&(h.direction=f.aboveViewRoot(n,c.node)?"rollUp":"drillDown"),i.resetViewRoot(c.node)}}})},RCxd:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="ExclamationCircleOutlined";var h=I.a=g.forwardRef(v)},RDYZ:function(D,I,e){var g=e("dMvE");function f(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}f.prototype={constructor:f,step:function(v,h){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var u=(v-this._startTime-this._pausedTime)/this._life;if(u<0)return;u=Math.min(u,1);var o=this.easing,i=typeof o=="string"?g[o]:o,r=typeof i=="function"?i(u):u;return this.fire("frame",r),u===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var h=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,h){v="on"+v,this[v]&&this[v](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var y=f;D.exports=y},RELg:function(D,I,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldIE-userDataStorage",write:u,read:o,each:i,remove:r,clearAll:a};var y="storejs",p=f.document,v=l(),h=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function u(t,s){if(h)return;var d=n(t);v(function(m){m.setAttribute(d,s),m.save(y)})}function o(t){if(h)return;var s=n(t),d=null;return v(function(m){d=m.getAttribute(s)}),d}function i(t){v(function(s){for(var d=s.XMLDocument.documentElement.attributes,m=d.length-1;m>=0;m--){var w=d[m];t(s.getAttribute(w.name),w.name)}})}function r(t){var s=n(t);v(function(d){d.removeAttribute(s),d.save(y)})}function a(){v(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(y);for(var d=s.length-1;d>=0;d--)t.removeAttribute(s[d].name);t.save(y)})}var c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(c,"___")}function l(){if(!p||!p.documentElement||!p.documentElement.addBehavior)return null;var t="script",s,d,m;try{d=new ActiveXObject("htmlfile"),d.open(),d.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),d.close(),s=d.w.frames[0].document,m=s.createElement("div")}catch(w){m=p.createElement("div"),s=p.body}return function(w){var b=[].slice.call(arguments,0);b.unshift(m),s.appendChild(m),m.addBehavior("#default#userData"),m.load(y),w.apply(this,b),s.removeChild(m);return}}},RPvy:function(D,I,e){var g=e("ProS"),f=e("VaxA"),y="sunburstRootToNode";g.registerAction({type:y,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,r){var a=f.retrieveTargetInfo(h,[y],i);if(a){var c=i.getViewRoot();c&&(h.direction=f.aboveViewRoot(c,a.node)?"rollUp":"drillDown"),i.resetViewRoot(a.node)}}});var p="sunburstHighlight";g.registerAction({type:p,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,r){var a=f.retrieveTargetInfo(h,[p],i);a&&(h.highlight=a.node)}});var v="sunburstUnhighlight";g.registerAction({type:v,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},o);function o(i,r){h.unhighlight=!0}})},RSch:function(D,I,e){var g=e("IwbS"),f=e("bYtY");function y(h,u,o){g.Group.call(this),this._createPolyline(h,u,o)}var p=y.prototype;p._createPolyline=function(h,u,o){var i=h.getItemLayout(u),r=new g.Polyline({shape:{points:i}});this.add(r),this._updateCommonStl(h,u,o)},p.updateData=function(h,u,o){var i=h.hostModel,r=this.childAt(0),a={shape:{points:h.getItemLayout(u)}};g.updateProps(r,a,i,u),this._updateCommonStl(h,u,o)},p._updateCommonStl=function(h,u,o){var i=this.childAt(0),r=h.getItemModel(u),a=h.getItemVisual(u,"color"),c=o&&o.lineStyle,n=o&&o.hoverLineStyle;(!o||h.hasItemOption)&&(c=r.getModel("lineStyle").getLineStyle(),n=r.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:a},c)),i.hoverStyle=n,g.setHoverStyle(this)},p.updateLayout=function(h,u){var o=this.childAt(0);o.setShape("points",h.getItemLayout(u))},f.inherits(y,g.Group);var v=y;D.exports=v},RXMa:function(D,I,e){var g=e("y+Vt"),f=g.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(p,v){var h=v.cx,u=v.cy,o=Math.PI*2;p.moveTo(h+v.r,u),p.arc(h,u,v.r,0,o,!1),p.moveTo(h+v.r0,u),p.arc(h,u,v.r0,0,o,!0)}});D.exports=f},RZPm:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("JgUQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="FileOutlined";var u=y.forwardRef(h);I.default=u},RlCK:function(D,I,e){var g=e("ProS"),f=e("bYtY");function y(p,v,h){var u={},o=p==="toggleSelected",i;return h.eachComponent("legend",function(r){o&&i!=null?r[i?"select":"unSelect"](v.name):p==="allSelect"||p==="inverseSelect"?r[p]():(r[p](v.name),i=r.isSelected(v.name));var a=r.getData();f.each(a,function(c){var n=c.get("name");if(n===`
|
|
|
`||n==="")return;var l=r.isSelected(n);u.hasOwnProperty(n)?u[n]=u[n]&&l:u[n]=l})}),p==="allSelect"||p==="inverseSelect"?{selected:u}:{name:v.name,selected:u}}g.registerAction("legendToggleSelect","legendselectchanged",f.curry(y,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(y,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(y,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(y,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(y,"unSelect"))},RotF:function(D,I,e){D.exports=e("LSTS")},Rx6q:function(D,I){function e(g){var f=g.getRect(),y=g.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:g.getCellWidth(),cellHeight:g.getCellHeight(),rangeInfo:{start:y.start,end:y.end,weeks:y.weeks,dayCount:y.allDay}},api:{coord:function(p,v){return g.dataToPoint(p,v)}}}}D.exports=e},"S/Yl":function(D,I,e){var g=e("Zvw2"),f=e("aX7z"),y=e("+TT/"),p=y.getLayoutRect,v=e("bYtY"),h=v.each;function u(i,r,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(i,r,a),this.model=i}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(i,r,a){var c=this.dimension,n=new g(c,f.createScaleByModel(i),[0,0],i.get("type"),i.get("position")),l=n.type==="category";n.onBand=l&&i.get("boundaryGap"),n.inverse=i.get("inverse"),n.orient=i.get("orient"),i.axis=n,n.model=i,n.coordinateSystem=this,this._axis=n},update:function(i,r){i.eachSeries(function(a){if(a.coordinateSystem===this){var c=a.getData();h(c.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(c,n)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(i,r){this._rect=p({left:i.get("left"),top:i.get("top"),right:i.get("right"),bottom:i.get("bottom"),width:i.get("width"),height:i.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var i=this._rect,r=this._axis,a=r.isHorizontal(),c=a?[0,i.width]:[0,i.height],n=r.reverse?1:0;r.setExtent(c[n],c[1-n]),this._updateAxisTransform(r,a?i.x:i.y)},_updateAxisTransform:function(i,r){var a=i.getExtent(),c=a[0]+a[1],n=i.isHorizontal();i.toGlobalCoord=n?function(l){return l+r}:function(l){return c-l+r},i.toLocalCoord=n?function(l){return l-r}:function(l){return c-l+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(i){var r=this.getRect(),a=this.getAxis(),c=a.orient;return c==="horizontal"?a.contain(a.toLocalCoord(i[0]))&&i[1]>=r.y&&i[1]<=r.y+r.height:a.contain(a.toLocalCoord(i[1]))&&i[0]>=r.y&&i[0]<=r.y+r.height},pointToData:function(i){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(i[r.orient==="horizontal"?0:1]))]},dataToPoint:function(i){var r=this.getAxis(),a=this.getRect(),c=[],n=r.orient==="horizontal"?0:1;return i instanceof Array&&(i=i[0]),c[n]=r.toGlobalCoord(r.dataToCoord(+i)),c[1-n]=n===0?a.y+a.height/2:a.x+a.width/2,c}};var o=u;D.exports=o},"SA+Z":function(D,I,e){var g=e("wTVA"),f=e("EbDI"),y=e("ZhPi"),p=e("wkBT");function v(h){return g(h)||f(h)||y(h)||p()}D.exports=v},"SA4+":function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("IwbS"),v=e("zYTA"),h=e("bYtY");function u(a,c,n){var l=a[1]-a[0];c=h.map(c,function(d){return{interval:[(d.interval[0]-a[0])/l,(d.interval[1]-a[0])/l]}});var t=c.length,s=0;return function(d){for(var m=s;m<t;m++){var w=c[m].interval;if(w[0]<=d&&d<=w[1]){s=m;break}}if(m===t)for(var m=s-1;m>=0;m--){var w=c[m].interval;if(w[0]<=d&&d<=w[1]){s=m;break}}return m>=0&&m<t&&n[m]}}function o(a,c){var n=a[1]-a[0];return c=[(c[0]-a[0])/n,(c[1]-a[0])/n],function(l){return l>=c[0]&&l<=c[1]}}function i(a){var c=a.dimensions;return c[0]==="lng"&&c[1]==="lat"}var r=y.extendChartView({type:"heatmap",render:function(a,c,n){var l;c.eachComponent("visualMap",function(s){s.eachTargetSeries(function(d){d===a&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=a.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(a,n,0,a.getData().count()):i(t)&&this._renderOnGeo(t,a,l,n)},incrementalPrepareRender:function(a,c,n){this.group.removeAll()},incrementalRender:function(a,c,n,l){var t=c.coordinateSystem;t&&this._renderOnCartesianAndCalendar(c,l,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,c,n,l,t){var s=a.coordinateSystem,d,m;if(s.type==="cartesian2d"){var w=s.getAxis("x"),b=s.getAxis("y");d=w.getBandWidth(),m=b.getBandWidth()}for(var E=this.group,A=a.getData(),S="itemStyle",T="emphasis.itemStyle",O="label",x="emphasis.label",C=a.getModel(S).getItemStyle(["color"]),_=a.getModel(T).getItemStyle(),N=a.getModel(O),F=a.getModel(x),k=s.type,P=k==="cartesian2d"?[A.mapDimension("x"),A.mapDimension("y"),A.mapDimension("value")]:[A.mapDimension("time"),A.mapDimension("value")],j=n;j<l;j++){var K;if(k==="cartesian2d"){if(isNaN(A.get(P[2],j)))continue;var R=s.dataToPoint([A.get(P[0],j),A.get(P[1],j)]);K=new p.Rect({shape:{x:Math.floor(Math.round(R[0])-d/2),y:Math.floor(Math.round(R[1])-m/2),width:Math.ceil(d),height:Math.ceil(m)},style:{fill:A.getItemVisual(j,"color"),opacity:A.getItemVisual(j,"opacity")}})}else{if(isNaN(A.get(P[1],j)))continue;K=new p.Rect({z2:1,shape:s.dataToRect([A.get(P[0],j)]).contentShape,style:{fill:A.getItemVisual(j,"color"),opacity:A.getItemVisual(j,"opacity")}})}var B=A.getItemModel(j);A.hasItemOption&&(C=B.getModel(S).getItemStyle(["color"]),_=B.getModel(T).getItemStyle(),N=B.getModel(O),F=B.getModel(x));var U=a.getRawValue(j),H="-";U&&U[2]!=null&&(H=U[2]),p.setLabelStyle(C,_,N,F,{labelFetcher:a,labelDataIndex:j,defaultText:H,isRectText:!0}),K.setStyle(C),p.setHoverStyle(K,A.hasItemOption?_:h.extend({},_)),K.incremental=t,t&&(K.useHoverLayer=!0),E.add(K),A.setItemGraphicEl(j,K)}},_renderOnGeo:function(a,c,n,l){var t=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,d=c.getData(),m=this._hmLayer||this._hmLayer||new v;m.blurSize=c.get("blurSize"),m.pointSize=c.get("pointSize"),m.minOpacity=c.get("minOpacity"),m.maxOpacity=c.get("maxOpacity");var w=a.getViewRect().clone(),b=a.getRoamTransform();w.applyTransform(b);var E=Math.max(w.x,0),A=Math.max(w.y,0),S=Math.min(w.width+w.x,l.getWidth()),T=Math.min(w.height+w.y,l.getHeight()),O=S-E,x=T-A,C=[d.mapDimension("lng"),d.mapDimension("lat"),d.mapDimension("value")],_=d.mapArray(C,function(P,j,K){var R=a.dataToPoint([P,j]);return R[0]-=E,R[1]-=A,R.push(K),R}),N=n.getExtent(),F=n.type==="visualMap.continuous"?o(N,n.option.range):u(N,n.getPieceList(),n.option.selected);m.update(_,O,x,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},F);var k=new p.Image({style:{width:O,height:x,x:E,y:A,image:m.canvas},silent:!0});this.group.add(k)},dispose:function(){}});D.exports=r},SA8n:function(D,I,e){var g=e("Sj9i"),f=e("QBsz"),y=e("U/Mo"),p=y.getSymbolSize,v=[],h=[],u=[],o=g.quadraticAt,i=f.distSquare,r=Math.abs;function a(n,l,t){for(var s=n[0],d=n[1],m=n[2],w=Infinity,b,E=t*t,A=.1,S=.1;S<=.9;S+=.1){v[0]=o(s[0],d[0],m[0],S),v[1]=o(s[1],d[1],m[1],S);var T=r(i(v,l)-E);T<w&&(w=T,b=S)}for(var O=0;O<32;O++){var x=b+A;h[0]=o(s[0],d[0],m[0],b),h[1]=o(s[1],d[1],m[1],b),u[0]=o(s[0],d[0],m[0],x),u[1]=o(s[1],d[1],m[1],x);var T=i(h,l)-E;if(r(T)<.01)break;var C=i(u,l)-E;A/=2,T<0?C>=0?b=b+A:b=b-A:C>=0?b=b-A:b=b+A}return b}function c(n,l){var t=[],s=g.quadraticSubdivide,d=[[],[],[]],m=[[],[]],w=[];l/=2,n.eachEdge(function(b,E){var A=b.getLayout(),S=b.getVisual("fromSymbol"),T=b.getVisual("toSymbol");A.__original||(A.__original=[f.clone(A[0]),f.clone(A[1])],A[2]&&A.__original.push(f.clone(A[2])));var O=A.__original;if(A[2]!=null){if(f.copy(d[0],O[0]),f.copy(d[1],O[2]),f.copy(d[2],O[1]),S&&S!=="none"){var x=p(b.node1),C=a(d,O[0],x*l);s(d[0][0],d[1][0],d[2][0],C,t),d[0][0]=t[3],d[1][0]=t[4],s(d[0][1],d[1][1],d[2][1],C,t),d[0][1]=t[3],d[1][1]=t[4]}if(T&&T!=="none"){var x=p(b.node2),C=a(d,O[1],x*l);s(d[0][0],d[1][0],d[2][0],C,t),d[1][0]=t[1],d[2][0]=t[2],s(d[0][1],d[1][1],d[2][1],C,t),d[1][1]=t[1],d[2][1]=t[2]}f.copy(A[0],d[0]),f.copy(A[1],d[2]),f.copy(A[2],d[1])}else{if(f.copy(m[0],O[0]),f.copy(m[1],O[1]),f.sub(w,m[1],m[0]),f.normalize(w,w),S&&S!=="none"){var x=p(b.node1);f.scaleAndAdd(m[0],m[0],w,x*l)}if(T&&T!=="none"){var x=p(b.node2);f.scaleAndAdd(m[1],m[1],w,-x*l)}f.copy(A[0],m[0]),f.copy(A[1],m[1])}})}D.exports=c},SJMd:function(D,I){/**
|
|
|
* @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 e,g,f,y=!1,p,v;window.PR_SHOULD_USE_CONTINUATION=!0;var h,u;(function(){var o=window,i=["break,continue,do,else,for,if,return,while"],r=[i,"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=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],c=[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"],n=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[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"],t="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"],d="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",m=[i,"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"],w=[i,"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"],b=[i,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],E=[c,l,n,s,d,m,w,b],A=/^(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",T="kwd",O="com",x="typ",C="lit",_="pun",N="pln",F="tag",k="dec",P="src",j="atn",K="atv",R="nocode",B="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function U(Ie){for(var de=0,ee=!1,se=!1,ke=0,Ce=Ie.length;ke<Ce;++ke){var ze=Ie[ke];if(ze.ignoreCase)se=!0;else if(/[a-z]/i.test(ze.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ee=!0,se=!1;break}}var _e={b:8,t:9,n:10,v:11,f:12,r:13};function ae(Ct){var Be=Ct.charCodeAt(0);if(Be!==92)return Be;var Rt=Ct.charAt(1);return Be=_e[Rt],Be||("0"<=Rt&&Rt<="7"?parseInt(Ct.substring(1),8):Rt==="u"||Rt==="x"?parseInt(Ct.substring(2),16):Ct.charCodeAt(1))}function me(Ct){if(Ct<32)return(Ct<16?"\\x0":"\\x")+Ct.toString(16);var Be=String.fromCharCode(Ct);return Be==="\\"||Be==="-"||Be==="]"||Be==="^"?"\\"+Be:Be}function Oe(Ct){var Be=Ct.substring(1,Ct.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")),Rt=[],He=Be[0]==="^",wt=["["];He&&wt.push("^");for(var Ye=He?1:0,et=Be.length;Ye<et;++Ye){var rt=Be[Ye];if(/\\[bdsw]/i.test(rt))wt.push(rt);else{var st=ae(rt),Ve;Ye+2<et&&Be[Ye+1]==="-"?(Ve=ae(Be[Ye+2]),Ye+=2):Ve=st,Rt.push([st,Ve]),Ve<65||st>122||(Ve<65||st>90||Rt.push([Math.max(65,st)|32,Math.min(Ve,90)|32]),Ve<97||st>122||Rt.push([Math.max(97,st)&~32,Math.min(Ve,122)&~32]))}}Rt.sort(function(Qe,ye){return Qe[0]-ye[0]||ye[1]-Qe[1]});for(var ie=[],$=[],Ye=0;Ye<Rt.length;++Ye){var it=Rt[Ye];it[0]<=$[1]+1?$[1]=Math.max($[1],it[1]):ie.push($=it)}for(var Ye=0;Ye<ie.length;++Ye){var it=ie[Ye];wt.push(me(it[0])),it[1]>it[0]&&(it[1]+1>it[0]&&wt.push("-"),wt.push(me(it[1])))}return wt.push("]"),wt.join("")}function Ze(Ct){for(var Be=Ct.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")),Rt=Be.length,He=[],wt=0,Ye=0;wt<Rt;++wt){var et=Be[wt];if(et==="(")++Ye;else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&(rt<=Ye?He[rt]=-1:Be[wt]=me(rt))}}for(var wt=1;wt<He.length;++wt)He[wt]===-1&&(He[wt]=++de);for(var wt=0,Ye=0;wt<Rt;++wt){var et=Be[wt];if(et==="(")++Ye,He[Ye]||(Be[wt]="(?:");else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&rt<=Ye&&(Be[wt]="\\"+He[rt])}}for(var wt=0;wt<Rt;++wt)Be[wt]==="^"&&Be[wt+1]!=="^"&&(Be[wt]="");if(Ct.ignoreCase&&ee)for(var wt=0;wt<Rt;++wt){var et=Be[wt],st=et.charAt(0);et.length>=2&&st==="["?Be[wt]=Oe(et):st!=="\\"&&(Be[wt]=et.replace(/[a-zA-Z]/g,function($){var it=$.charCodeAt(0);return"["+String.fromCharCode(it&~32,it|32)+"]"}))}return Be.join("")}for(var vt=[],ke=0,Ce=Ie.length;ke<Ce;++ke){var ze=Ie[ke];if(ze.global||ze.multiline)throw new Error(""+ze);vt.push("(?:"+Ze(ze)+")")}return new RegExp(vt.join("|"),se?"gi":"g")}function H(Ie,de){var ee=/(?:^|\s)nocode(?:\s|$)/,se=[],ke=0,Ce=[],ze=0;function _e(ae){var me=ae.nodeType;if(me==1){if(ee.test(ae.className))return;for(var Oe=ae.firstChild;Oe;Oe=Oe.nextSibling)_e(Oe);var Ze=ae.nodeName.toLowerCase();(Ze==="br"||Ze==="li")&&(se[ze]=`
|
|
|
`,Ce[ze<<1]=ke++,Ce[ze++<<1|1]=ae)}else if(me==3||me==4){var vt=ae.nodeValue;vt.length&&(de?vt=vt.replace(/\r\n?/g,`
|
|
|
`):vt=vt.replace(/[ \t\r\n]+/g," "),se[ze]=vt,Ce[ze<<1]=ke,ke+=vt.length,Ce[ze++<<1|1]=ae)}}return _e(Ie),{sourceCode:se.join("").replace(/\n$/,""),spans:Ce}}function W(Ie,de,ee,se,ke){if(!ee)return;var Ce={sourceNode:Ie,pre:1,langExtension:null,numberLines:null,sourceCode:ee,spans:null,basePos:de,decorations:null};se(Ce),ke.push.apply(ke,Ce.decorations)}var V=/\S/;function z(Ie){for(var de=void 0,ee=Ie.firstChild;ee;ee=ee.nextSibling){var se=ee.nodeType;de=se===1?de?Ie:ee:se===3&&V.test(ee.nodeValue)?Ie:de}return de===Ie?void 0:de}function X(Ie,de){var ee={},se;(function(){for(var ze=Ie.concat(de),_e=[],ae={},me=0,Oe=ze.length;me<Oe;++me){var Ze=ze[me],vt=Ze[3];if(vt)for(var Ct=vt.length;--Ct>=0;)ee[vt.charAt(Ct)]=Ze;var Be=Ze[1],Rt=""+Be;ae.hasOwnProperty(Rt)||(_e.push(Be),ae[Rt]=null)}_e.push(/[\0-\uffff]/),se=U(_e)})();var ke=de.length,Ce=function ze(_e){for(var ae=_e.sourceCode,me=_e.basePos,Oe=_e.sourceNode,Ze=[me,N],vt=0,Ct=ae.match(se)||[],Be={},Rt=0,He=Ct.length;Rt<He;++Rt){var wt=Ct[Rt],Ye=Be[wt],et=void 0,rt;if(typeof Ye=="string")rt=!1;else{var st=ee[wt.charAt(0)];if(st)et=wt.match(st[1]),Ye=st[0];else{for(var Ve=0;Ve<ke;++Ve)if(st=de[Ve],et=wt.match(st[1]),et){Ye=st[0];break}et||(Ye=N)}rt=Ye.length>=5&&Ye.substring(0,5)==="lang-",rt&&!(et&&typeof et[1]=="string")&&(rt=!1,Ye=P),rt||(Be[wt]=Ye)}var ie=vt;if(vt+=wt.length,!rt)Ze.push(me+ie,Ye);else{var $=et[1],it=wt.indexOf($),Qe=it+$.length;et[2]&&(Qe=wt.length-et[2].length,it=Qe-$.length);var ye=Ye.substring(5);W(Oe,me+ie,wt.substring(0,it),ze,Ze),W(Oe,me+ie+it,$,Pe(ye,$),Ze),W(Oe,me+ie+Qe,wt.substring(Qe),ze,Ze)}}_e.decorations=Ze};return Ce}function q(Ie){var de=[],ee=[];Ie.tripleQuotedStrings?de.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Ie.multiLineStrings?de.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):de.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Ie.verbatimStrings&&ee.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var se=Ie.hashComments;se&&(Ie.cStyleComments?(se>1?de.push([O,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):de.push([O,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ee.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):de.push([O,/^#[^\r\n]*/,null,"#"])),Ie.cStyleComments&&(ee.push([O,/^\/\/[^\r\n]*/,null]),ee.push([O,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ke=Ie.regexLiterals;if(ke){var Ce=ke>1?"":`
|
|
|
\r`,ze=Ce?".":"[\\S\\s]",_e="/(?=[^/*"+Ce+"])(?:[^/\\x5B\\x5C"+Ce+"]|\\x5C"+ze+"|\\x5B(?:[^\\x5C\\x5D"+Ce+"]|\\x5C"+ze+")*(?:\\x5D|$))+/";ee.push(["lang-regex",RegExp("^"+B+"("+_e+")")])}var ae=Ie.types;ae&&ee.push([x,ae]);var me=(""+Ie.keywords).replace(/^ | $/g,"");me.length&&ee.push([T,new RegExp("^(?:"+me.replace(/[\s,]+/g,"|")+")\\b"),null]),de.push([N,/^\s+/,null,` \r
|
|
|
\xA0`]);var Oe="^.[^\\s\\w.$@'\"`/\\\\]*";return Ie.regexLiterals&&(Oe+="(?!s*/)"),ee.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[x,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[N,/^[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"],[N,/^\\[\s\S]?/,null],[_,new RegExp(Oe),null]),X(de,ee)}var fe=q({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function G(Ie,de,ee){for(var se=/(?:^|\s)nocode(?:\s|$)/,ke=/\r\n?|\n/,Ce=Ie.ownerDocument,ze=Ce.createElement("li");Ie.firstChild;)ze.appendChild(Ie.firstChild);var _e=[ze];function ae(Be){var Rt=Be.nodeType;if(Rt==1&&!se.test(Be.className))if(Be.nodeName==="br")me(Be),Be.parentNode&&Be.parentNode.removeChild(Be);else for(var He=Be.firstChild;He;He=He.nextSibling)ae(He);else if((Rt==3||Rt==4)&&ee){var wt=Be.nodeValue,Ye=wt.match(ke);if(Ye){var et=wt.substring(0,Ye.index);Be.nodeValue=et;var rt=wt.substring(Ye.index+Ye[0].length);if(rt){var st=Be.parentNode;st.insertBefore(Ce.createTextNode(rt),Be.nextSibling)}me(Be),et||Be.parentNode.removeChild(Be)}}}function me(Be){for(;!Be.nextSibling;)if(Be=Be.parentNode,!Be)return;function Rt(Ye,et){var rt=et?Ye.cloneNode(!1):Ye,st=Ye.parentNode;if(st){var Ve=Rt(st,1),ie=Ye.nextSibling;Ve.appendChild(rt);for(var $=ie;$;$=ie)ie=$.nextSibling,Ve.appendChild($)}return rt}for(var He=Rt(Be.nextSibling,0),wt;(wt=He.parentNode)&&wt.nodeType===1;)He=wt;_e.push(He)}for(var Oe=0;Oe<_e.length;++Oe)ae(_e[Oe]);de===(de|0)&&_e[0].setAttribute("value",de);var Ze=Ce.createElement("ol");Ze.className="linenums";for(var vt=Math.max(0,de-1|0)||0,Oe=0,Ct=_e.length;Oe<Ct;++Oe)ze=_e[Oe],ze.className="L"+(Oe+vt)%10,ze.firstChild||ze.appendChild(Ce.createTextNode("\xA0")),Ze.appendChild(ze);Ie.appendChild(Ze)}function ve(Ie){var de=/\bMSIE\s(\d+)/.exec(navigator.userAgent);de=de&&+de[1]<=8;var ee=/\n/g,se=Ie.sourceCode,ke=se.length,Ce=0,ze=Ie.spans,_e=ze.length,ae=0,me=Ie.decorations,Oe=me.length,Ze=0;me[Oe]=ke;var vt,Ct;for(Ct=vt=0;Ct<Oe;)me[Ct]!==me[Ct+2]?(me[vt++]=me[Ct++],me[vt++]=me[Ct++]):Ct+=2;for(Oe=vt,Ct=vt=0;Ct<Oe;){for(var Be=me[Ct],Rt=me[Ct+1],He=Ct+2;He+2<=Oe&&me[He+1]===Rt;)He+=2;me[vt++]=Be,me[vt++]=Rt,Ct=He}Oe=me.length=vt;var wt=Ie.sourceNode,Ye="";wt&&(Ye=wt.style.display,wt.style.display="none");try{for(var et=null;ae<_e;){var rt=ze[ae],st=ze[ae+2]||ke,Ve=me[Ze+2]||ke,He=Math.min(st,Ve),ie=ze[ae+1],$;if(ie.nodeType!==1&&($=se.substring(Ce,He))){de&&($=$.replace(ee,"\r")),ie.nodeValue=$;var it=ie.ownerDocument,Qe=it.createElement("span");Qe.className=me[Ze+1];var ye=ie.parentNode;ye.replaceChild(Qe,ie),Qe.appendChild(ie),Ce<st&&(ze[ae+1]=ie=it.createTextNode(se.substring(He,st)),ye.insertBefore(ie,Qe.nextSibling))}Ce=He,Ce>=st&&(ae+=2),Ce>=Ve&&(Ze+=2)}}finally{wt&&(wt.style.display=Ye)}}var Se={};function ge(Ie,de){for(var ee=de.length;--ee>=0;){var se=de[ee];Se.hasOwnProperty(se)?o.console&&console.warn("cannot override language handler %s",se):Se[se]=Ie}}function Pe(Ie,de){return Ie&&Se.hasOwnProperty(Ie)||(Ie=/^\s*</.test(de)?"default-markup":"default-code"),Se[Ie]}ge(fe,["default-code"]),ge(X([],[[N,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[O,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[_,/^(?:<[%?]|[%?]>)/],["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"]),ge(X([[N,/^[\s]+/,null,` \r
|
|
|
`],[K,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[j,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[_,/^[=<>\/]+/],["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"]),ge(X([],[[K,/^[\s\S]+/]]),["uq.val"]),ge(q({keywords:c,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),ge(q({keywords:"null,true,false"}),["json"]),ge(q({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),ge(q({keywords:n,cStyleComments:!0}),["java"]),ge(q({keywords:b,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),ge(q({keywords:m,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),ge(q({keywords:d,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),ge(q({keywords:w,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),ge(q({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),ge(q({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),ge(X([],[[S,/^[\s\S]+/]]),["regex"]);function Ge(Ie){var de=Ie.langExtension;try{var ee=H(Ie.sourceNode,Ie.pre),se=ee.sourceCode;Ie.sourceCode=se,Ie.spans=ee.spans,Ie.basePos=0,Pe(de,se)(Ie),ve(Ie)}catch(ke){o.console&&console.log(ke&&ke.stack||ke)}}function pt(Ie,de,ee){var se=ee||!1,ke=de||null,Ce=document.createElement("div");Ce.innerHTML="<pre>"+Ie+"</pre>",Ce=Ce.firstChild,se&&G(Ce,se,!0);var ze={langExtension:ke,numberLines:se,sourceNode:Ce,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Ge(ze),Ce.innerHTML}function Te(Ie,de){var ee=de||document.body,se=ee.ownerDocument||document;function ke(rt){return ee.getElementsByTagName(rt)}for(var Ce=[ke("pre"),ke("code"),ke("xmp")],ze=[],_e=0;_e<Ce.length;++_e)for(var ae=0,me=Ce[_e].length;ae<me;++ae)ze.push(Ce[_e][ae]);Ce=null;var Oe=Date;Oe.now||(Oe={now:function(){return+new Date}});var Ze=0,vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ct=/\bprettyprint\b/,Be=/\bprettyprinted\b/,Rt=/pre|xmp/i,He=/^code$/i,wt=/^(?:pre|code|xmp)$/i,Ye={};function et(){for(var rt=o.PR_SHOULD_USE_CONTINUATION?Oe.now()+250:Infinity;Ze<ze.length&&Oe.now()<rt;Ze++){for(var st=ze[Ze],Ve=Ye,ie=st;ie=ie.previousSibling;){var $=ie.nodeType,it=($===7||$===8)&&ie.nodeValue;if(it?!/^\??prettify\b/.test(it):$!==3||/\S/.test(ie.nodeValue))break;if(it){Ve={},it.replace(/\b(\w+)=([\w:.%+-]+)/g,function(le,Ne,je){Ve[Ne]=je});break}}var Qe=st.className;if((Ve!==Ye||Ct.test(Qe))&&!Be.test(Qe)){for(var ye=!1,Zt=st.parentNode;Zt;Zt=Zt.parentNode){var dt=Zt.tagName;if(wt.test(dt)&&Zt.className&&Ct.test(Zt.className)){ye=!0;break}}if(!ye){st.className+=" prettyprinted";var ct=Ve.lang;if(!ct){ct=Qe.match(vt);var yt;!ct&&(yt=z(st))&&He.test(yt.tagName)&&(ct=yt.className.match(vt)),ct&&(ct=ct[1])}var It;if(Rt.test(st.tagName))It=1;else{var or=st.currentStyle,Bt=se.defaultView,Ae=or?or.whiteSpace:Bt&&Bt.getComputedStyle?Bt.getComputedStyle(st,null).getPropertyValue("white-space"):0;It=Ae&&Ae.substring(0,3)==="pre"}var pe=Ve.linenums;(pe=pe==="true"||+pe)||(pe=Qe.match(/\blinenums\b(?::(\d+))?/),pe=pe?pe[1]&&pe[1].length?+pe[1]:!0:!1),pe&&G(st,pe,It);var he={langExtension:ct,sourceNode:st,numberLines:pe,pre:It,sourceCode:null,basePos:null,spans:null,decorations:null};Ge(he)}}}Ze<ze.length?o.setTimeout(et,250):typeof Ie=="function"&&Ie()}et()}var xe=o.PR={createSimpleLexer:X,registerLangHandler:ge,sourceDecorator:q,PR_ATTRIB_NAME:j,PR_ATTRIB_VALUE:K,PR_COMMENT:O,PR_DECLARATION:k,PR_KEYWORD:T,PR_LITERAL:C,PR_NOCODE:R,PR_PLAIN:N,PR_PUNCTUATION:_,PR_SOURCE:P,PR_STRING:S,PR_TAG:F,PR_TYPE:x,prettyPrintOne:y?o.prettyPrintOne=pt:h=pt,prettyPrint:u=y?o.prettyPrint=Te:u=Te},lt=o.define;typeof lt=="function"&<.amd&<("google-code-prettify",[],function(){return xe})})()},SKnc:function(D,I,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,u,o,i,r,a){this.x=h==null?0:h,this.y=u==null?0:u,this.x2=o==null?1:o,this.y2=i==null?0:i,this.type="linear",this.global=a||!1,f.call(this,r)};y.prototype={constructor:y},g.inherits(y,f);var p=y;D.exports=p},"SKx+":function(D,I,e){var g=e("ProS"),f=g.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}}}),y=f;D.exports=y},SMc4:function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),p=e("ICMv"),v=f.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 h(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,p);var u={offset:0};y("x",v,h,u),y("y",v,h,u);var o=v;D.exports=o},SRve:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},SUKs:function(D,I,e){var g=e("LPTA"),f=g.debugMode,y=function(){};f===1&&(y=console.error);var p=y;D.exports=p},SZEN:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.clientToElement=g;function g(f,y,p){var v=p.getBoundingClientRect(),h={x:0,y:0};return f<v.left?h.x=0:f>=v.right?h.x=v.width-1:h.x=f-v.left,y<v.top?h.y=0:y>=v.bottom?h.y=v.height-1:h.y=y-v.top,h}},Sdc0:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("q1tI"),h=e("rePB"),u=e("ODXe"),o=e("Ff2n"),i=e("TSYQ"),r=e.n(i),a=e("6cGi"),c=e("4IlW"),n=v.forwardRef(function(T,O){var x,C=T.prefixCls,_=C===void 0?"rc-switch":C,N=T.className,F=T.checked,k=T.defaultChecked,P=T.disabled,j=T.loadingIcon,K=T.checkedChildren,R=T.unCheckedChildren,B=T.onClick,U=T.onChange,H=T.onKeyDown,W=Object(o.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(a.a)(!1,{value:F,defaultValue:k}),z=Object(u.a)(V,2),X=z[0],q=z[1];function fe(ge,Pe){var Ge=X;return P||(Ge=ge,q(Ge),U==null||U(Ge,Pe)),Ge}function G(ge){ge.which===c.a.LEFT?fe(!1,ge):ge.which===c.a.RIGHT&&fe(!0,ge),H==null||H(ge)}function ve(ge){var Pe=fe(!X,ge);B==null||B(Pe,ge)}var Se=r()(_,N,(x={},Object(h.a)(x,"".concat(_,"-checked"),X),Object(h.a)(x,"".concat(_,"-disabled"),P),x));return v.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":X,disabled:P,className:Se,ref:O,onKeyDown:G,onClick:ve}),j,v.createElement("span",{className:"".concat(_,"-inner")},X?K:R))});n.displayName="Switch";var l=n,t=e("gZBC"),s=e.n(t),d=e("g0mS"),m=e("H84U"),w=e("3Nzz"),b=e("uaoM"),E=function(T,O){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&O.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(T);_<C.length;_++)O.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(T,C[_])&&(x[C[_]]=T[C[_]]);return x},A=v.forwardRef(function(T,O){var x,C=T.prefixCls,_=T.size,N=T.loading,F=T.className,k=F===void 0?"":F,P=T.disabled,j=E(T,["prefixCls","size","loading","className","disabled"]);Object(b.a)("checked"in j||!("value"in j),"Switch","`value` is not a valid prop, do you mean `checked`?");var K=v.useContext(m.b),R=K.getPrefixCls,B=K.direction,U=v.useContext(w.b),H=R("switch",C),W=v.createElement("div",{className:"".concat(H,"-handle")},N&&v.createElement(s.a,{className:"".concat(H,"-loading-icon")})),V=r()(k,(x={},p()(x,"".concat(H,"-small"),(_||U)==="small"),p()(x,"".concat(H,"-loading"),N),p()(x,"".concat(H,"-rtl"),B==="rtl"),x));return v.createElement(d.a,{insertExtraNode:!0},v.createElement(l,f()({},j,{prefixCls:H,className:V,disabled:P||N,ref:O,loadingIcon:W})))});A.__ANT_SWITCH=!0,A.displayName="Switch";var S=I.a=A},SehX:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("2B6p"),p=y.updateCenterAndZoom;g.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,h){var u=v.componentType||"series";h.eachComponent({mainType:u,query:v},function(o){var i=o.coordinateSystem;if(i.type!=="geo")return;var r=p(i,v,o.get("scaleLimit"));o.setCenter&&o.setCenter(r.center),o.setZoom&&o.setZoom(r.zoom),u==="series"&&f.each(o.seriesGroup,function(a){a.setCenter(r.center),a.setZoom(r.zoom)})})})},SfRM:function(D,I,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}D.exports=f},SgGq:function(D,I,e){var g=e("bYtY"),f=e("H6uX"),y=e("YH21"),p=e("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var s=g.bind,d=s(h,this),m=s(u,this),w=s(o,this),b=s(i,this),E=s(r,this);f.call(this),this.setPointerChecker=function(A){this.pointerChecker=A},this.enable=function(A,S){this.disable(),this._opt=g.defaults(g.clone(S)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),A==null&&(A=!0),(A===!0||A==="move"||A==="pan")&&(t.on("mousedown",d),t.on("mousemove",m),t.on("mouseup",w)),(A===!0||A==="scale"||A==="zoom")&&(t.on("mousewheel",b),t.on("pinch",E))},this.disable=function(){t.off("mousedown",d),t.off("mousemove",m),t.off("mouseup",w),t.off("mousewheel",b),t.off("pinch",E)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(v,f);function h(t){if(y.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,d=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,d)&&(this._x=s,this._y=d,this._dragging=!0)}function u(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||p.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,d=t.offsetY,m=this._x,w=this._y,b=s-m,E=d-w;this._x=s,this._y=d,this._opt.preventDefaultMouseMove&&y.stop(t.event),c(this,"pan","moveOnMouseMove",t,{dx:b,dy:E,oldX:m,oldY:w,newX:s,newY:d})}function o(t){y.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function i(t){var s=n("zoomOnMouseWheel",t,this._opt),d=n("moveOnMouseWheel",t,this._opt),m=t.wheelDelta,w=Math.abs(m),b=t.offsetX,E=t.offsetY;if(m===0||!s&&!d)return;if(s){var A=w>3?1.4:w>1?1.2:1.1,S=m>0?A:1/A;a(this,"zoom","zoomOnMouseWheel",t,{scale:S,originX:b,originY:E})}if(d){var T=Math.abs(m),O=(m>0?1:-1)*(T>3?.4:T>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:O,originX:b,originY:E})}}function r(t){if(p.isTaken(this._zr,"globalPan"))return;var s=t.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,t,{scale:s,originX:t.pinchX,originY:t.pinchY})}function a(t,s,d,m,w){t.pointerChecker&&t.pointerChecker(m,w.originX,w.originY)&&(y.stop(m.event),c(t,s,d,m,w))}function c(t,s,d,m,w){w.isAvailableBehavior=g.bind(n,null,d,m),t.trigger(s,w)}function n(t,s,d){var m=d[t];return!t||m&&(!g.isString(m)||s.event[m+"Key"])}var l=v;D.exports=l},SgaC:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var u=0;u<h.length;u++){var o=h[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function y(v,h,u){return h&&f(v.prototype,h),u&&f(v,u),v}var p=function(){function v(){g(this,v),this._subrects=0}return y(v,[{key:"decodeRect",value:function(u,o,i,r,a,c,n){if(this._subrects===0){if(a.rQwait("RRE",4+4))return!1;this._subrects=a.rQshift32();var l=a.rQshiftBytes(4);c.fillRect(u,o,i,r,l)}for(;this._subrects>0;){if(a.rQwait("RRE",4+8))return!1;var t=a.rQshiftBytes(4),s=a.rQshift16(),d=a.rQshift16(),m=a.rQshift16(),w=a.rQshift16();c.fillRect(u+s,o+d,m,w,t),this._subrects--}return!0}}]),v}();I.default=p},Sj0X:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("XuBP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="DownOutlined";var u=y.forwardRef(h);I.default=u},Sj9i:function(D,I,e){var g=e("QBsz"),f=g.create,y=g.distSquare,p=Math.pow,v=Math.sqrt,h=1e-8,u=1e-4,o=v(3),i=1/3,r=f(),a=f(),c=f();function n(C){return C>-h&&C<h}function l(C){return C>h||C<-h}function t(C,_,N,F,k){var P=1-k;return P*P*(P*C+3*k*_)+k*k*(k*F+3*P*N)}function s(C,_,N,F,k){var P=1-k;return 3*(((_-C)*P+2*(N-_)*k)*P+(F-N)*k*k)}function d(C,_,N,F,k,P){var j=F+3*(_-N)-C,K=3*(N-_*2+C),R=3*(_-C),B=C-k,U=K*K-3*j*R,H=K*R-9*j*B,W=R*R-3*K*B,V=0;if(n(U)&&n(H))if(n(K))P[0]=0;else{var z=-R/K;z>=0&&z<=1&&(P[V++]=z)}else{var X=H*H-4*U*W;if(n(X)){var q=H/U,z=-K/j+q,fe=-q/2;z>=0&&z<=1&&(P[V++]=z),fe>=0&&fe<=1&&(P[V++]=fe)}else if(X>0){var G=v(X),ve=U*K+1.5*j*(-H+G),Se=U*K+1.5*j*(-H-G);ve<0?ve=-p(-ve,i):ve=p(ve,i),Se<0?Se=-p(-Se,i):Se=p(Se,i);var z=(-K-(ve+Se))/(3*j);z>=0&&z<=1&&(P[V++]=z)}else{var ge=(2*U*K-3*j*H)/(2*v(U*U*U)),Pe=Math.acos(ge)/3,Ge=v(U),pt=Math.cos(Pe),z=(-K-2*Ge*pt)/(3*j),fe=(-K+Ge*(pt+o*Math.sin(Pe)))/(3*j),Te=(-K+Ge*(pt-o*Math.sin(Pe)))/(3*j);z>=0&&z<=1&&(P[V++]=z),fe>=0&&fe<=1&&(P[V++]=fe),Te>=0&&Te<=1&&(P[V++]=Te)}}return V}function m(C,_,N,F,k){var P=6*N-12*_+6*C,j=9*_+3*F-3*C-9*N,K=3*_-3*C,R=0;if(n(j)){if(l(P)){var B=-K/P;B>=0&&B<=1&&(k[R++]=B)}}else{var U=P*P-4*j*K;if(n(U))k[0]=-P/(2*j);else if(U>0){var H=v(U),B=(-P+H)/(2*j),W=(-P-H)/(2*j);B>=0&&B<=1&&(k[R++]=B),W>=0&&W<=1&&(k[R++]=W)}}return R}function w(C,_,N,F,k,P){var j=(_-C)*k+C,K=(N-_)*k+_,R=(F-N)*k+N,B=(K-j)*k+j,U=(R-K)*k+K,H=(U-B)*k+B;P[0]=C,P[1]=j,P[2]=B,P[3]=H,P[4]=H,P[5]=U,P[6]=R,P[7]=F}function b(C,_,N,F,k,P,j,K,R,B,U){var H,W=.005,V=Infinity,z,X,q,fe;r[0]=R,r[1]=B;for(var G=0;G<1;G+=.05)a[0]=t(C,N,k,j,G),a[1]=t(_,F,P,K,G),q=y(r,a),q<V&&(H=G,V=q);V=Infinity;for(var ve=0;ve<32&&!(W<u);ve++)z=H-W,X=H+W,a[0]=t(C,N,k,j,z),a[1]=t(_,F,P,K,z),q=y(a,r),z>=0&&q<V?(H=z,V=q):(c[0]=t(C,N,k,j,X),c[1]=t(_,F,P,K,X),fe=y(c,r),X<=1&&fe<V?(H=X,V=fe):W*=.5);return U&&(U[0]=t(C,N,k,j,H),U[1]=t(_,F,P,K,H)),v(V)}function E(C,_,N,F){var k=1-F;return k*(k*C+2*F*_)+F*F*N}function A(C,_,N,F){return 2*((1-F)*(_-C)+F*(N-_))}function S(C,_,N,F,k){var P=C-2*_+N,j=2*(_-C),K=C-F,R=0;if(n(P)){if(l(j)){var B=-K/j;B>=0&&B<=1&&(k[R++]=B)}}else{var U=j*j-4*P*K;if(n(U)){var B=-j/(2*P);B>=0&&B<=1&&(k[R++]=B)}else if(U>0){var H=v(U),B=(-j+H)/(2*P),W=(-j-H)/(2*P);B>=0&&B<=1&&(k[R++]=B),W>=0&&W<=1&&(k[R++]=W)}}return R}function T(C,_,N){var F=C+N-2*_;return F===0?.5:(C-_)/F}function O(C,_,N,F,k){var P=(_-C)*F+C,j=(N-_)*F+_,K=(j-P)*F+P;k[0]=C,k[1]=P,k[2]=K,k[3]=K,k[4]=j,k[5]=N}function x(C,_,N,F,k,P,j,K,R){var B,U=.005,H=Infinity;r[0]=j,r[1]=K;for(var W=0;W<1;W+=.05){a[0]=E(C,N,k,W),a[1]=E(_,F,P,W);var V=y(r,a);V<H&&(B=W,H=V)}H=Infinity;for(var z=0;z<32&&!(U<u);z++){var X=B-U,q=B+U;a[0]=E(C,N,k,X),a[1]=E(_,F,P,X);var V=y(a,r);if(X>=0&&V<H)B=X,H=V;else{c[0]=E(C,N,k,q),c[1]=E(_,F,P,q);var fe=y(c,r);q<=1&&fe<H?(B=q,H=fe):U*=.5}}return R&&(R[0]=E(C,N,k,B),R[1]=E(_,F,P,B)),v(H)}I.cubicAt=t,I.cubicDerivativeAt=s,I.cubicRootAt=d,I.cubicExtrema=m,I.cubicSubdivide=w,I.cubicProjectPoint=b,I.quadraticAt=E,I.quadraticDerivativeAt=A,I.quadraticRootAt=S,I.quadraticExtremum=T,I.quadraticSubdivide=O,I.quadraticProjectPoint=x},Sp2Z:function(D,I,e){var g=e("3LNs"),f=e("/y7N"),y=e("AVZG"),p=e("Znkb"),v=g.extend({makeElOption:function(r,a,c,n,l){var t=c.axis,s=t.grid,d=n.get("type"),m=h(s,t).getOtherAxis(t).getGlobalExtent(),w=t.toGlobalCoord(t.dataToCoord(a,!0));if(d&&d!=="none"){var b=f.buildElStyle(n),E=u[d](t,w,m);E.style=b,r.graphicKey=E.type,r.pointer=E}var A=y.layout(s.model,c);f.buildCartesianSingleLabelElOption(a,r,A,c,n,l)},getHandleTransform:function(r,a,c){var n=y.layout(a.axis.grid.model,a,{labelInside:!1});return n.labelMargin=c.get("handle.margin"),{position:f.getTransformedPosition(a.axis,r,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(r,a,c,n){var l=c.axis,t=l.grid,s=l.getGlobalExtent(!0),d=h(t,l).getOtherAxis(l).getGlobalExtent(),m=l.dim==="x"?0:1,w=r.position;w[m]+=a[m],w[m]=Math.min(s[1],w[m]),w[m]=Math.max(s[0],w[m]);var b=(d[1]+d[0])/2,E=[b,b];E[m]=w[m];var A=[{verticalAlign:"middle"},{align:"center"}];return{position:w,rotation:r.rotation,cursorPoint:E,tooltipOption:A[m]}}});function h(r,a){var c={};return c[a.dim+"AxisIndex"]=a.index,r.getCartesian(c)}var u={line:function(r,a,c){var n=f.makeLineShape([a,c[0]],[a,c[1]],o(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,a,c){var n=Math.max(1,r.getBandWidth()),l=c[1]-c[0];return{type:"Rect",shape:f.makeRectShape([a-n/2,c[0]],[n,l],o(r))}}};function o(r){return r.dim==="x"?0:1}p.registerAxisPointerClass("CartesianAxisPointer",v);var i=v;D.exports=i},Sq3C:function(D,I,e){var g=e("sKgW"),f=e("zoYe"),y=e("wy8a"),p=e("quyA"),v=e("Z1HP"),h=e("Em2t"),u=Math.ceil;function o(i,r){r=r===void 0?" ":f(r);var a=r.length;if(a<2)return a?g(r,i):r;var c=g(r,u(i/v(r)));return p(r)?y(h(c),0,i).join(""):c.slice(0,i)}D.exports=o},SqI9:function(D,I,e){var g=e("y+Vt"),f=e("iXp4"),y=g.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(g.prototype.brush),buildPath:function(v,h){var u=h.cx,o=h.cy,i=Math.max(h.r0||0,0),r=Math.max(h.r,0),a=h.startAngle,c=h.endAngle,n=h.clockwise,l=Math.cos(a),t=Math.sin(a);v.moveTo(l*i+u,t*i+o),v.lineTo(l*r+u,t*r+o),v.arc(u,o,r,a,c,!n),v.lineTo(Math.cos(c)*i+u,Math.sin(c)*i+o),i!==0&&v.arc(u,o,i,c,a,n),v.closePath()}});D.exports=y},SrGk:function(D,I,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),p=e("y+Vt"),v=e("Dagg"),h=e("dqUG"),u=e("P47w"),o=u.path,i=u.image,r=u.text,a="0",c="1";function n(t,s,d,m,w){this._zrId=t,this._svgRoot=s,this._tagNames=typeof d=="string"?[d]:d,this._markLabel=m,this._domName=w||"_dom",this.nextId=0}n.prototype.createElement=f,n.prototype.getDefs=function(t){var s=this._svgRoot,d=this._svgRoot.getElementsByTagName("defs");return d.length===0?t?(d=s.insertBefore(this.createElement("defs"),s.firstChild),d.contains||(d.contains=function(m){var w=d.children;if(!w)return!1;for(var b=w.length-1;b>=0;--b)if(w[b]===m)return!0;return!1}),d):null:d[0]},n.prototype.update=function(t,s){if(!t)return;var d=this.getDefs(!1);if(t[this._domName]&&d.contains(t[this._domName]))typeof s=="function"&&s(t);else{var m=this.add(t);m&&(t[this._domName]=m)}},n.prototype.addDom=function(t){var s=this.getDefs(!0);s.appendChild(t)},n.prototype.removeDom=function(t){var s=this.getDefs(!1);s&&t[this._domName]&&(s.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var s=[];return y.each(this._tagNames,function(d){var m=t.getElementsByTagName(d);s=s.concat([].slice.call(m))}),s},n.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;y.each(t,function(d){d[s._markLabel]=a})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=c)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var s=this.getDoms(),d=this;y.each(s,function(m){m[d._markLabel]!==c&&t.removeChild(m)})},n.prototype.getSvgProxy=function(t){return t instanceof p?o:t instanceof v?i:t instanceof h?r:o},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;D.exports=l},Swgg:function(D,I,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});D.exports=f},Sxd8:function(D,I,e){var g=e("ZCgT");function f(y){var p=g(y),v=p%1;return p===p?v?p-v:p:0}D.exports=f},T1rO:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("zdCA"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},T4UG:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("ItGF"),v=e("7aKB"),h=v.formatTime,u=v.encodeHTML,o=v.addCommas,i=v.getTooltipMarker,r=e("4NO4"),a=e("bLfw"),c=e("5Hur"),n=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,s=l.mergeLayoutParam,d=e("9H2F"),m=d.createTask,w=e("D5nY"),b=w.prepareSource,E=w.getSource,A=e("KxfA"),S=A.retrieveRawValue,T=r.makeInner(),O=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,B,U,H){this.seriesIndex=this.componentIndex,this.dataTask=m({count:_,reset:N}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,U),b(this);var W=this.getInitialData(R,U);k(W,this),this.dataTask.context.data=W,T(this).dataBeforeProcessed=W,x(this)},mergeDefaultAndTheme:function(R,B){var U=this.layoutMode,H=U?t(R):{},W=this.subType;a.hasClass(W)&&(W+="Series"),y.merge(R,B.getTheme().get(this.subType)),y.merge(R,this.getDefaultOption()),r.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),U&&s(R,H,U)},mergeOption:function(R,B){R=y.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var U=this.layoutMode;U&&s(this.option,R,U),b(this);var H=this.getInitialData(R,B);k(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,T(this).dataBeforeProcessed=H,x(this)},fillDataTextStyle:function(R){if(R&&!y.isTypedArray(R))for(var B=["show"],U=0;U<R.length;U++)R[U]&&R[U].label&&r.defaultEmphasis(R[U],"label",B)},getInitialData:function(){},appendData:function(R){var B=this.getRawData();B.appendData(R.data)},getData:function(R){var B=j(this);if(B){var U=B.context.data;return R==null?U:U.getLinkedData(R)}else return T(this).data},setData:function(R){var B=j(this);if(B){var U=B.context;U.data!==R&&B.modifyOutputEnd&&B.setOutputEnd(R.count()),U.outputData=R,B!==this.dataTask&&(U.data=R)}T(this).data=R},getSource:function(){return E(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,B,U,H){var W=this;H=H||"html";var V=H==="html"?"<br/>":`
|
|
|
`,z=H==="richText",X={},q=0;function fe(Ce){var ze=y.reduce(Ce,function(Ze,vt,Ct){var Be=ve.getDimensionInfo(Ct);return Ze|=Be&&Be.tooltip!==!1&&Be.displayName!=null},0),_e=[];Se.length?y.each(Se,function(Ze){ae(S(ve,R,Ze),Ze)}):y.each(Ce,ae);function ae(Ze,vt){var Ct=ve.getDimensionInfo(vt);if(!Ct||Ct.otherDims.tooltip===!1)return;var Be=Ct.type,Rt="sub"+W.seriesIndex+"at"+q,He=i({color:pt,type:"subItem",renderMode:H,markerId:Rt}),wt=typeof He=="string"?He:He.content,Ye=(ze?wt+u(Ct.displayName||"-")+": ":"")+u(Be==="ordinal"?Ze+"":Be==="time"?B?"":h("yyyy/MM/dd hh:mm:ss",Ze):o(Ze));Ye&&_e.push(Ye),z&&(X[Rt]=pt,++q)}var me=ze?z?`
|
|
|
`:"<br/>":"",Oe=me+_e.join(me||", ");return{renderMode:H,content:Oe,style:X}}function G(Ce){return{renderMode:H,content:u(o(Ce)),style:X}}var ve=this.getData(),Se=ve.mapDimension("defaultedTooltip",!0),ge=Se.length,Pe=this.getRawValue(R),Ge=y.isArray(Pe),pt=ve.getItemVisual(R,"color");y.isObject(pt)&&pt.colorStops&&(pt=(pt.colorStops[0]||{}).color),pt=pt||"transparent";var Te=ge>1||Ge&&!ge?fe(Pe):G(ge?S(ve,R,Se[0]):Ge?Pe[0]:Pe),xe=Te.content,lt=W.seriesIndex+"at"+q,Ie=i({color:pt,type:"item",renderMode:H,markerId:lt});X[lt]=pt,++q;var de=ve.getName(R),ee=this.name;r.isNameSpecified(this)||(ee=""),ee=ee?u(ee)+(B?": ":V):"";var se=typeof Ie=="string"?Ie:Ie.content,ke=B?se+ee+xe:ee+se+(de?u(de)+": "+xe:xe);return{html:ke,markers:X}},isAnimationEnabled:function(){if(p.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,B,U){var H=this.ecModel,W=c.getColorFromPalette.call(this,R,B,U);return W||(W=H.getColorFromPalette(R,B,U)),W},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});y.mixin(O,n),y.mixin(O,c);function x(R){var B=R.name;r.isNameSpecified(R)||(R.name=C(R)||B)}function C(R){var B=R.getRawData(),U=B.mapDimension("seriesName",!0),H=[];return y.each(U,function(W){var V=B.getDimensionInfo(W);V.displayName&&H.push(V.displayName)}),H.join(" ")}function _(R){return R.model.getRawData().count()}function N(R){var B=R.model;return B.setData(B.getRawData().cloneShallow()),F}function F(R,B){B.outputData&&R.end>B.outputData.count()&&B.model.getRawData().cloneShallow(B.outputData)}function k(R,B){y.each(R.CHANGABLE_METHODS,function(U){R.wrapMethod(U,y.curry(P,B))})}function P(R){var B=j(R);B&&B.setOutputEnd(this.count())}function j(R){var B=(R.ecModel||{}).scheduler,U=B&&B.getPipeline(R.uid);if(U){var H=U.currentTask;if(H){var W=H.agentStubMap;W&&(H=W.get(R.uid))}return H}}var K=O;D.exports=K},T6xi:function(D,I,e){var g=e("YgsL"),f=e("nCxF");function y(p,v,h){var u=v.points,o=v.smooth;if(u&&u.length>=2){if(o&&o!=="spline"){var i=f(u,o,h,v.smoothConstraint);p.moveTo(u[0][0],u[0][1]);for(var r=u.length,a=0;a<(h?r:r-1);a++){var c=i[a*2],n=i[a*2+1],l=u[(a+1)%r];p.bezierCurveTo(c[0],c[1],n[0],n[1],l[0],l[1])}}else{o==="spline"&&(u=g(u,h)),p.moveTo(u[0][0],u[0][1]);for(var a=1,t=u.length;a<t;a++)p.lineTo(u[a][0],u[a][1])}h&&p.closePath()}}I.buildPath=y},TIY9:function(D,I,e){var g=e("bYtY"),f=g.each,y=e("vafp"),p=e("4NO4"),v=p.makeInner,h=e("Mgri"),u=e("F5Ls"),o=e("a9QJ"),i=e("p/La"),r=v(),a={load:function(n,l,t){var s=r(l).parsed;if(s)return s;var d=l.specialAreas||{},m=l.geoJSON,w;try{w=m?y(m,t):[]}catch(b){throw new Error(`Invalid geoJson format
|
|
|
`+b.message)}return h(n,w),f(w,function(b){var E=b.name;u(n,b),o(n,b),i(n,b);var A=d[E];A&&b.transformTo(A.left,A.top,A.width,A.height)}),r(l).parsed={regions:w,boundingRect:c(w)}}};function c(n){for(var l,t=0;t<n.length;t++){var s=n[t].getBoundingRect();l=l||s.clone(),l.union(s)}return l}D.exports=a},TJmX:function(D,I,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],y=["itemStyle","borderColor0"],p=["itemStyle","color"],v=["itemStyle","color0"],h={seriesType:"candlestick",plan:g(),performRawSeries:!0,reset:function(u,o){var i=u.getData();if(i.setVisual({legendSymbol:"roundRect",colorP:c(1,u),colorN:c(-1,u),borderColorP:n(1,u),borderColorN:n(-1,u)}),o.isSeriesFiltered(u))return;var r=u.pipelineContext.large;return!r&&{progress:a};function a(l,t){for(var s;(s=l.next())!=null;){var d=t.getItemModel(s),m=t.getItemLayout(s).sign;t.setItemVisual(s,{color:c(m,d),borderColor:n(m,d)})}}function c(l,t){return t.get(l>0?p:v)}function n(l,t){return t.get(l>0?f:y)}}};D.exports=h},TWL2:function(D,I,e){var g=e("IwbS"),f=e("bYtY"),y=e("6Ic6");function p(i,r){g.Group.call(this);var a=new g.Polygon,c=new g.Polyline,n=new g.Text;this.add(a),this.add(c),this.add(n),this.highDownOnUpdate=function(l,t){t==="emphasis"?(c.ignore=c.hoverIgnore,n.ignore=n.hoverIgnore):(c.ignore=c.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(i,r,!0)}var v=p.prototype,h=["itemStyle","opacity"];v.updateData=function(i,r,a){var c=this.childAt(0),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=i.getItemModel(r).get(h);s=s==null?1:s,c.useStyle({}),a?(c.setShape({points:t.points}),c.setStyle({opacity:0}),g.initProps(c,{style:{opacity:s}},n,r)):g.updateProps(c,{style:{opacity:s},shape:{points:t.points}},n,r);var d=l.getModel("itemStyle"),m=i.getItemVisual(r,"color");c.setStyle(f.defaults({lineJoin:"round",fill:m},d.getItemStyle(["opacity"]))),c.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(i,r),g.setHoverStyle(this)},v._updateLabel=function(i,r){var a=this.childAt(1),c=this.childAt(2),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=t.label,d=i.getItemVisual(r,"color");g.updateProps(a,{shape:{points:s.linePoints||s.linePoints}},n,r),g.updateProps(c,{style:{x:s.x,y:s.y}},n,r),c.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var m=l.getModel("label"),w=l.getModel("emphasis.label"),b=l.getModel("labelLine"),E=l.getModel("emphasis.labelLine"),d=i.getItemVisual(r,"color");g.setLabelStyle(c.style,c.hoverStyle={},m,w,{labelFetcher:i.hostModel,labelDataIndex:r,defaultText:i.getName(r),autoColor:d,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),c.ignore=c.normalIgnore=!m.get("show"),c.hoverIgnore=!w.get("show"),a.ignore=a.normalIgnore=!b.get("show"),a.hoverIgnore=!E.get("show"),a.setStyle({stroke:d}),a.setStyle(b.getModel("lineStyle").getLineStyle()),a.hoverStyle=E.getModel("lineStyle").getLineStyle()},f.inherits(p,g.Group);var u=y.extend({type:"funnel",render:function(i,r,a){var c=i.getData(),n=this._data,l=this.group;c.diff(n).add(function(t){var s=new p(c,t);c.setItemGraphicEl(t,s),l.add(s)}).update(function(t,s){var d=n.getItemGraphicEl(s);d.updateData(c,t),l.add(d),c.setItemGraphicEl(t,d)}).remove(function(t){var s=n.getItemGraphicEl(t);l.remove(s)}).execute(),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),o=u;D.exports=o},TYVI:function(D,I,e){var g=e("5GtS"),f=e("T4UG"),y=f.extend({type:"series.gauge",getInitialData:function(v,h){return g(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=y;D.exports=p},Tghj:function(D,I,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var y=f;I.__DEV__=y}).call(this,e("yLpj"))},ThAp:function(D,I,e){var g=e("bYtY"),f=e("5GtS"),y=e("T4UG"),p=e("7aKB"),v=p.encodeHTML,h=p.addCommas,u=e("cCMj"),o=e("KxfA"),i=o.retrieveRawAttr,r=e("W4dC"),a=e("D5nY"),c=a.makeSeriesEncodeForNameBased,n=y.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var s=f(this,{coordDimensions:["value"],encodeDefaulter:g.curry(c,this)}),d=s.mapDimension("value"),m=g.createHashMap(),w=[],b=[],E=0,A=s.count();E<A;E++){var S=s.getName(E);m.set(S,!0),w.push({name:S,value:s.get(d,E),selected:i(s,E,"selected")})}var T=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(T.regions,function(O){var x=O.name;m.get(x)||(w.push({name:x}),b.push(x))}),this.updateSelectedMap(w),s.appendValues([],b),s},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var s=this.getData();return s.get(s.mapDimension("value"),t)},getRegionModel:function(t){var s=this.getData();return s.getItemModel(s.indexOfName(t))},formatTooltip:function(t){for(var s=this.getData(),d=h(this.getRawValue(t)),m=s.getName(t),w=this.seriesGroup,b=[],E=0;E<w.length;E++){var A=w[E].originalData.indexOfName(m),S=s.mapDimension("value");isNaN(w[E].originalData.get(S,A))||b.push(v(w[E].name))}return b.join(", ")+"<br />"+v(m+" : "+d)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),d=this.coordinateSystem,m=d.getRegion(s);return m&&d.dataToPoint(m.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},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"}});g.mixin(n,u);var l=n;D.exports=l},TkdX:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},p=2,v=4;function h(n,l,t){f.Group.call(this);var s=new f.Sector({z2:p});s.seriesIndex=l.seriesIndex;var d=new f.Text({z2:v,silent:n.getModel("label").get("silent")});this.add(s),this.add(d),this.updateData(!0,n,"normal",l,t);function m(){d.ignore=d.hoverIgnore}function w(){d.ignore=d.normalIgnore}this.on("emphasis",m).on("normal",w).on("mouseover",m).on("mouseout",w)}var u=h.prototype;u.updateData=function(n,l,t,s,d){this.node=l,l.piece=this,s=s||this._seriesModel,d=d||this._ecModel;var m=this.childAt(0);m.dataIndex=l.dataIndex;var w=l.getModel(),b=l.getLayout(),E=g.extend({},b);E.label=null;var A=i(l,s,d);c(l,s,A);var S=w.getModel("itemStyle").getItemStyle(),T;if(t==="normal")T=S;else{var O=w.getModel(t+".itemStyle").getItemStyle();T=g.merge(O,S)}T=g.defaults({lineJoin:"bevel",fill:T.fill||A},T),n?(m.setShape(E),m.shape.r=b.r0,f.updateProps(m,{shape:{r:b.r}},s,l.dataIndex),m.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof m.style.fill=="object"&&m.style.fill.type?(f.updateProps(m,{shape:E},s),m.useStyle(T)):f.updateProps(m,{shape:E,style:T},s),this._updateLabel(s,A,t);var x=w.getShallow("cursor");if(x&&m.attr("cursor",x),n){var C=s.getShallow("highlightPolicy");this._initEvents(m,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=d||this._ecModel,f.setHoverStyle(this)},u.onEmphasis=function(n){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):a(t,l.node,n)?t.piece.childAt(0).trigger("highlight"):n!==y.NONE&&t.piece.childAt(0).trigger("downplay"))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(n,l,t){var s=this.node.getModel(),d=s.getModel("label"),m=t==="normal"||t==="emphasis"?d:s.getModel(t+".label"),w=s.getModel("emphasis.label"),b=g.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);B("show")===!1&&(b="");var E=this.node.getLayout(),A=m.get("minAngle");A==null&&(A=d.get("minAngle")),A=A/180*Math.PI;var S=E.endAngle-E.startAngle;A!=null&&Math.abs(S)<A&&(b="");var T=this.childAt(1);f.setLabelStyle(T.style,T.hoverStyle||{},d,w,{defaultText:m.getShallow("show")?b:null,autoColor:l,useInsideStyle:!0});var O=(E.startAngle+E.endAngle)/2,x=Math.cos(O),C=Math.sin(O),_,N=B("position"),F=B("distance")||0,k=B("align");N==="outside"?(_=E.r+F,k=O>Math.PI/2?"right":"left"):!k||k==="center"?(_=(E.r+E.r0)/2,k="center"):k==="left"?(_=E.r0+F,O>Math.PI/2&&(k="right")):k==="right"&&(_=E.r-F,O>Math.PI/2&&(k="left")),T.attr("style",{text:b,textAlign:k,textVerticalAlign:B("verticalAlign")||"middle",opacity:B("opacity")});var P=_*x+E.cx,j=_*C+E.cy;T.attr("position",[P,j]);var K=B("rotate"),R=0;K==="radial"?(R=-O,R<-Math.PI/2&&(R+=Math.PI)):K==="tangential"?(R=Math.PI/2-O,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof K=="number"&&(R=K*Math.PI/180),T.attr("rotation",R);function B(U){var H=m.get(U);return H==null?d.get(U):H}},u._initEvents=function(n,l,t,s){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var d=this,m=function(){d.onEmphasis(s)},w=function(){d.onNormal()},b=function(){d.onDownplay()},E=function(){d.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",m).on("mouseout",w).on("emphasis",m).on("normal",w).on("downplay",b).on("highlight",E)},g.inherits(h,f.Group);var o=h;function i(n,l,t){var s=n.getVisual("color"),d=n.getVisual("visualMeta");(!d||d.length===0)&&(s=null);var m=n.getModel("itemStyle").get("color");if(m)return m;if(s)return s;if(n.depth===0)return t.option.color[0];var w=t.option.color.length;return m=t.option.color[r(n)%w],m}function r(n){for(var l=n;l.depth>1;)l=l.parentNode;var t=n.getAncestors()[0];return g.indexOf(t.children,l)}function a(n,l,t){return t===y.NONE?!1:t===y.SELF?n===l:t===y.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function c(n,l,t){var s=l.getData();s.setItemVisual(n.dataIndex,"color",t)}D.exports=o},Tp9H:function(D,I,e){var g=e("ItGF"),f=e("Kagy"),y=e("IUWy"),p=f.toolbox.saveAsImage;function v(o){this.model=o}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=!g.canvasSupported;var h=v.prototype;h.onclick=function(o,i){var r=this.model,a=r.get("name")||o.get("title.0.text")||"echarts",c=i.getZr().painter.getType()==="svg",n=c?"svg":r.get("type",!0)||"png",l=i.getConnectedDataURL({type:n,backgroundColor:r.get("backgroundColor",!0)||o.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!g.browser.ie&&!g.browser.edge){var t=document.createElement("a");t.download=a+"."+n,t.target="_blank",t.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var d=atob(l.split(",")[1]),m=d.length,w=new Uint8Array(m);m--;)w[m]=d.charCodeAt(m);var b=new Blob([w]);window.navigator.msSaveOrOpenBlob(b,a+"."+n)}else{var E=r.get("lang"),A='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(E&&E[0]||"")+'" /></body>',S=window.open();S.document.write(A)}},y.register("saveAsImage",v);var u=v;D.exports=u},"U/Mo":function(D,I){function e(f){var y=f.coordinateSystem;if(y.type!=="view")return 1;var p=f.option.nodeScaleRatio,v=y.scale,h=v&&v[0]||1,u=y.getZoom(),o=(u-1)*p+1;return o/h}function g(f){var y=f.getVisual("symbolSize");return y instanceof Array&&(y=(y[0]+y[1])/2),+y}I.getNodeGlobalScale=e,I.getSymbolSize=g},UADf:function(D,I,e){},"UNi/":function(D,I){function e(g,f){for(var y=-1,p=Array(g);++y<g;)p[y]=f(y);return p}D.exports=e},UOVi:function(D,I,e){var g=e("bYtY"),f=e("7aKB"),y=["x","y","z","radius","angle","single"],p=["cartesian2d","polar","singleAxis"];function v(i){return g.indexOf(p,i)>=0}function h(i,r){i=i.slice();var a=g.map(i,f.capitalFirst);r=(r||[]).slice();var c=g.map(r,f.capitalFirst);return function(n,l){g.each(i,function(t,s){for(var d={name:t,capital:a[s]},m=0;m<r.length;m++)d[r[m]]=t+c[m];n.call(l,d)})}}var u=h(y,["axisIndex","axis","index","id"]);function o(i,r,a){return function(t){var s={nodes:[],records:{}};if(r(function(w){s.records[w.name]={}}),!t)return s;l(t,s);var d;do d=!1,i(m);while(d);function m(w){!c(w,s)&&n(w,s)&&(l(w,s),d=!0)}return s};function c(t,s){return g.indexOf(s.nodes,t)>=0}function n(t,s){var d=!1;return r(function(m){g.each(a(t,m)||[],function(w){s.records[m.name][w]&&(d=!0)})}),d}function l(t,s){s.nodes.push(t),r(function(d){g.each(a(t,d)||[],function(m){s.records[d.name][m]=!0})})}}I.isCoordSupported=v,I.createNameEach=h,I.eachAxisDim=u,I.createLinkedNodesFinder=o},Uc92:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},UmKh:function(D,I,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("aGtg");function p(K){var R=[];return f.a.Children.forEach(K,function(B){R.push(B)}),R}function v(K,R){var B=null;return K&&K.forEach(function(U){if(B)return;U&&U.key===R&&(B=U)}),B}function h(K,R,B){var U=null;return K&&K.forEach(function(H){if(H&&H.key===R&&H.props[B]){if(U)throw new Error("two child with same key for <rc-animate> children");U=H}}),U}function u(K,R,B){var U=0;return K&&K.forEach(function(H){if(U)return;U=H&&H.key===R&&!H.props[B]}),U}function o(K,R,B){var U=K.length===R.length;return U&&K.forEach(function(H,W){var V=R[W];H&&V&&((H&&!V||!H&&V||(H.key!==V.key||B&&H.props[B]!==V.props[B]))&&(U=!1))}),U}function i(K,R){var B=[],U={},H=[];return K.forEach(function(W){W&&v(R,W.key)?H.length&&(U[W.key]=H,H=[]):H.push(W)}),R.forEach(function(W){W&&Object.prototype.hasOwnProperty.call(U,W.key)&&(B=B.concat(U[W.key])),B.push(W)}),B=B.concat(H),B}var r=e("i8i4"),a=e.n(r),c=e("UwPn"),n={isAppearSupported:function(R){return R.transitionName&&R.transitionAppear||R.animation.appear},isEnterSupported:function(R){return R.transitionName&&R.transitionEnter||R.animation.enter},isLeaveSupported:function(R){return R.transitionName&&R.transitionLeave||R.animation.leave},allowAppearCallback:function(R){return R.transitionAppear||R.animation.appear},allowEnterCallback:function(R){return R.transitionEnter||R.animation.enter},allowLeaveCallback:function(R){return R.transitionLeave||R.animation.leave}},l=n,t=function(){function K(R,B){for(var U=0;U<B.length;U++){var H=B[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,B,U){return B&&K(R.prototype,B),U&&K(R,U),R}}();function s(K,R){if(!(K instanceof R))throw new TypeError("Cannot call a class as a function")}function d(K,R){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:K}function m(K,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);K.prototype=Object.create(R&&R.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(K,R):K.__proto__=R)}var w={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},b=function(K){m(R,K);function R(){return s(this,R),d(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return t(R,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(U){l.isEnterSupported(this.props)?this.transition("enter",U):U()}},{key:"componentWillAppear",value:function(U){l.isAppearSupported(this.props)?this.transition("appear",U):U()}},{key:"componentWillLeave",value:function(U){l.isLeaveSupported(this.props)?this.transition("leave",U):U()}},{key:"transition",value:function(U,H){var W=this,V=a.a.findDOMNode(this),z=this.props,X=z.transitionName,q=typeof X=="object";this.stop();var fe=function(){W.stopper=null,H()};if((c.b||!z.animation[U])&&X&&z[w[U]]){var G=q?X[U]:X+"-"+U,ve=G+"-active";q&&X[U+"Active"]&&(ve=X[U+"Active"]),this.stopper=Object(c.a)(V,{name:G,active:ve},fe)}else this.stopper=z.animation[U](V,fe)}},{key:"stop",value:function(){var U=this.stopper;U&&(this.stopper=null,U.stop())}},{key:"render",value:function(){return this.props.children}}]),R}(f.a.Component),E=b,A=Object.assign||function(K){for(var R=1;R<arguments.length;R++){var B=arguments[R];for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&(K[U]=B[U])}return K},S=function(){function K(R,B){for(var U=0;U<B.length;U++){var H=B[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,B,U){return B&&K(R.prototype,B),U&&K(R,U),R}}();function T(K,R,B){return R in K?Object.defineProperty(K,R,{value:B,enumerable:!0,configurable:!0,writable:!0}):K[R]=B,K}function O(K,R){if(!(K instanceof R))throw new TypeError("Cannot call a class as a function")}function x(K,R){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:K}function C(K,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);K.prototype=Object.create(R&&R.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(K,R):K.__proto__=R)}var _="rc_animate_"+Date.now();function N(K){var R=K.children;return f.a.isValidElement(R)&&!R.key?f.a.cloneElement(R,{key:_}):R}function F(){}var k=function(K){C(R,K);function R(B){O(this,R);var U=x(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,B));return P.call(U),U.currentlyAnimatingKeys={},U.keysToEnter=[],U.keysToLeave=[],U.state={children:p(N(B))},U.childrenRefs={},U}return S(R,[{key:"componentDidMount",value:function(){var U=this,H=this.props.showProp,W=this.state.children;H&&(W=W.filter(function(V){return!!V.props[H]})),W.forEach(function(V){V&&U.performAppear(V.key)})}},{key:"componentWillReceiveProps",value:function(U){var H=this;this.nextProps=U;var W=p(N(U)),V=this.props;V.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(G){H.stop(G)});var z=V.showProp,X=this.currentlyAnimatingKeys,q=V.exclusive?p(N(V)):this.state.children,fe=[];z?(q.forEach(function(G){var ve=G&&v(W,G.key),Se=void 0;(!ve||!ve.props[z])&&G.props[z]?Se=f.a.cloneElement(ve||G,T({},z,!0)):Se=ve,Se&&fe.push(Se)}),W.forEach(function(G){(!G||!v(q,G.key))&&fe.push(G)})):fe=i(q,W),this.setState({children:fe}),W.forEach(function(G){var ve=G&&G.key;if(G&&X[ve])return;var Se=G&&v(q,ve);if(z){var ge=G.props[z];if(Se){var Pe=h(q,ve,z);!Pe&&ge&&H.keysToEnter.push(ve)}else ge&&H.keysToEnter.push(ve)}else Se||H.keysToEnter.push(ve)}),q.forEach(function(G){var ve=G&&G.key;if(G&&X[ve])return;var Se=G&&v(W,ve);if(z){var ge=G.props[z];if(Se){var Pe=h(W,ve,z);!Pe&&ge&&H.keysToLeave.push(ve)}else ge&&H.keysToLeave.push(ve)}else Se||H.keysToLeave.push(ve)})}},{key:"componentDidUpdate",value:function(){var U=this.keysToEnter;this.keysToEnter=[],U.forEach(this.performEnter);var H=this.keysToLeave;this.keysToLeave=[],H.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(U,H){var W=this.props.showProp;return W?h(U,H,W):v(U,H)}},{key:"stop",value:function(U){delete this.currentlyAnimatingKeys[U];var H=this.childrenRefs[U];H&&H.stop()}},{key:"render",value:function(){var U=this,H=this.props;this.nextProps=H;var W=this.state.children,V=null;W&&(V=W.map(function(q){if(q==null)return q;if(!q.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(E,{key:q.key,ref:function(G){U.childrenRefs[q.key]=G},animation:H.animation,transitionName:H.transitionName,transitionEnter:H.transitionEnter,transitionAppear:H.transitionAppear,transitionLeave:H.transitionLeave},q)}));var z=H.component;if(z){var X=H;return typeof z=="string"&&(X=A({className:H.className,style:H.style},H.componentProps)),f.a.createElement(z,X,V)}return V[0]||null}}]),R}(f.a.Component);k.isAnimate=!0,k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:F,onEnter:F,onLeave:F,onAppear:F};var P=function(){var R=this;this.performEnter=function(B){R.childrenRefs[B]&&(R.currentlyAnimatingKeys[B]=!0,R.childrenRefs[B].componentWillEnter(R.handleDoneAdding.bind(R,B,"enter")))},this.performAppear=function(B){R.childrenRefs[B]&&(R.currentlyAnimatingKeys[B]=!0,R.childrenRefs[B].componentWillAppear(R.handleDoneAdding.bind(R,B,"appear")))},this.handleDoneAdding=function(B,U){var H=R.props;if(delete R.currentlyAnimatingKeys[B],H.exclusive&&H!==R.nextProps)return;var W=p(N(H));R.isValidChildByKey(W,B)?U==="appear"?l.allowAppearCallback(H)&&(H.onAppear(B),H.onEnd(B,!0)):l.allowEnterCallback(H)&&(H.onEnter(B),H.onEnd(B,!0)):R.performLeave(B)},this.performLeave=function(B){R.childrenRefs[B]&&(R.currentlyAnimatingKeys[B]=!0,R.childrenRefs[B].componentWillLeave(R.handleDoneLeaving.bind(R,B)))},this.handleDoneLeaving=function(B){var U=R.props;if(delete R.currentlyAnimatingKeys[B],U.exclusive&&U!==R.nextProps)return;var H=p(N(U));if(R.isValidChildByKey(H,B))R.performEnter(B);else{var W=function(){l.allowLeaveCallback(U)&&(U.onLeave(B),U.onEnd(B,!1))};o(R.state.children,H,U.showProp)?W():R.setState({children:H},W)}}},j=I.a=Object(y.a)(k)},UnoB:function(D,I,e){var g=e("bYtY"),f=e("OELB");function y(h,u){h.eachSeriesByType("themeRiver",function(o){var i=o.getData(),r=o.coordinateSystem,a={},c=r.getRect();a.rect=c;var n=o.get("boundaryGap"),l=r.getAxis();if(a.boundaryGap=n,l.orient==="horizontal"){n[0]=f.parsePercent(n[0],c.height),n[1]=f.parsePercent(n[1],c.height);var t=c.height-n[0]-n[1];p(i,o,t)}else{n[0]=f.parsePercent(n[0],c.width),n[1]=f.parsePercent(n[1],c.width);var s=c.width-n[0]-n[1];p(i,o,s)}i.setLayout("layoutInfo",a)})}function p(h,u,o){if(!h.count())return;for(var i=u.coordinateSystem,r=u.getLayerSeries(),a=h.mapDimension("single"),c=h.mapDimension("value"),n=g.map(r,function(A){return g.map(A.indices,function(S){var T=i.dataToPoint(h.get(a,S));return T[1]=h.get(c,S),T})}),l=v(n),t=l.y0,s=o/l.max,d=r.length,m=r[0].indices.length,w,b=0;b<m;++b){w=t[b]*s,h.setItemLayout(r[0].indices[b],{layerIndex:0,x:n[0][b][0],y0:w,y:n[0][b][1]*s});for(var E=1;E<d;++E)w+=n[E-1][b][1]*s,h.setItemLayout(r[E].indices[b],{layerIndex:E,x:n[E][b][0],y0:w,y:n[E][b][1]*s})}}function v(h){for(var u=h.length,o=h[0].length,i=[],r=[],a=0,c,n={},l=0;l<o;++l){for(var t=0,c=0;t<u;++t)c+=h[t][l][1];c>a&&(a=c),i.push(c)}for(var s=0;s<o;++s)r[s]=(a-i[s])/2;a=0;for(var d=0;d<o;++d){var m=i[d]+r[d];m>a&&(a=m)}return n.y0=r,n.max=a,n}D.exports=y},Urep:function(D,I,e){},V6Ve:function(D,I,e){var g=e("kekF"),f=g(Object.keys,Object);D.exports=f},V7ic:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("digP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="FileTwoTone";var u=y.forwardRef(h);I.default=u},VFCP:function(D,I,e){e("dBmv"),e("KamJ")},VPsl:function(D,I){function e(g){g.eachSeriesByType("map",function(f){var y=f.get("color"),p=f.getModel("itemStyle"),v=p.get("areaColor"),h=p.get("color")||y[f.seriesIndex%y.length];f.getData().setVisual({areaColor:v,color:h})})}D.exports=e},VR9l:function(D,I,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),y={getItemStyle:function(p,v){var h=f(this,p,v),u=this.getBorderLineDash();return u&&(h.lineDash=u),h},getBorderLineDash:function(){var p=this.get("borderType");return p==="solid"||p==null?null:p==="dashed"?[5,5]:[1,1]}};D.exports=y},VSLf:function(D,I,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.decodeUTF8=g,I.encodeUTF8=f;function g(y){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(y))}catch(v){if(v instanceof URIError&&p)return y;throw v}}function f(y){return unescape(encodeURIComponent(y))}},VXYp:function(D,I,e){var g=e("bYtY"),f=e("SgGq"),y=e("iLNv"),p="\0_ec_dataZoom_roams";function v(n,l){var t=o(n),s=l.dataZoomId,d=l.coordId;g.each(t,function(b,E){var A=b.dataZoomInfos;A[s]&&g.indexOf(l.allCoordIds,d)<0&&(delete A[s],b.count--)}),r(t);var m=t[d];m||(m=t[d]={coordId:d,dataZoomInfos:{},count:0},m.controller=i(n,m),m.dispatchAction=g.curry(a,n)),!m.dataZoomInfos[s]&&m.count++,m.dataZoomInfos[s]=l;var w=c(m.dataZoomInfos);m.controller.enable(w.controlType,w.opt),m.controller.setPointerChecker(l.containsPoint),y.createOrUpdate(m,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(n,l){var t=o(n);g.each(t,function(s){s.controller.dispose();var d=s.dataZoomInfos;d[l]&&(delete d[l],s.count--)}),r(t)}function u(n){return n.type+"\0_"+n.id}function o(n){var l=n.getZr();return l[p]||(l[p]={})}function i(n,l){var t=new f(n.getZr());return g.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(d){var m=[];g.each(l.dataZoomInfos,function(w){if(!d.isAvailableBehavior(w.dataZoomModel.option))return;var b=(w.getRange||{})[s],E=b&&b(l.controller,d);!w.dataZoomModel.get("disabled",!0)&&E&&m.push({dataZoomId:w.dataZoomId,start:E[0],end:E[1]})}),m.length&&l.dispatchAction(m)})}),t}function r(n){g.each(n,function(l,t){l.count||(l.controller.dispose(),delete n[t])})}function a(n,l){n.dispatchAction({type:"dataZoom",batch:l})}function c(n){var l,t="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},d=!0;return g.each(n,function(m){var w=m.dataZoomModel,b=w.get("disabled",!0)?!1:w.get("zoomLock",!0)?"move":!0;s[t+b]>s[t+l]&&(l=b),d&=w.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!d}}}I.register=v,I.unregister=h,I.generateCoordId=u},VaNO:function(D,I){function e(g){return this.__data__.has(g)}D.exports=e},VaxA:function(D,I,e){var g=e("bYtY");function f(h,u,o){if(h&&g.indexOf(u,h.type)>=0){var i=o.getData().tree.root,r=h.targetNode;if(typeof r=="string"&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var a=h.targetNodeId;if(a!=null&&(r=i.getNodeById(a)))return{node:r}}}function y(h){for(var u=[];h;)h=h.parentNode,h&&u.push(h);return u.reverse()}function p(h,u){var o=y(h);return g.indexOf(o,u)>=0}function v(h,u){for(var o=[];h;){var i=h.dataIndex;o.push({name:h.name,dataIndex:i,value:u.getRawValue(i)}),h=h.parentNode}return o.reverse(),o}I.retrieveTargetInfo=f,I.getPathToRoot=y,I.aboveViewRoot=p,I.wrapTreePathInfo=v},Vi4m:function(D,I,e){var g=e("bYtY");function f(p){p!=null&&g.extend(this,p),this.otherDims={}}var y=f;D.exports=y},Vl3Y:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),p=e.n(y),v=e("lSNA"),h=e.n(v),u=e("q1tI"),o=e("TSYQ"),i=e.n(o),r=e("85Yc"),a=e("H84U"),c=e("BGR+"),n=u.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=u.createContext({updateItemErrors:function(){}}),t=function(ct){var yt=Object(c.default)(ct,["prefixCls"]);return u.createElement(r.FormProvider,yt)};function s(dt){return dt!=null&&typeof dt=="object"&&dt.nodeType===1}function d(dt,ct){return ct&&dt==="hidden"?!1:dt!=="visible"&&dt!=="clip"}function m(dt){if(!dt.ownerDocument||!dt.ownerDocument.defaultView)return null;try{return dt.ownerDocument.defaultView.frameElement}catch(ct){return null}}function w(dt){var ct=m(dt);return ct?ct.clientHeight<dt.scrollHeight||ct.clientWidth<dt.scrollWidth:!1}function b(dt,ct){if(dt.clientHeight<dt.scrollHeight||dt.clientWidth<dt.scrollWidth){var yt=getComputedStyle(dt,null);return d(yt.overflowY,ct)||d(yt.overflowX,ct)||w(dt)}return!1}function E(dt,ct,yt,It,or,Bt,Ae,pe){return Bt<dt&&Ae>ct||Bt>dt&&Ae<ct?0:Bt<=dt&&pe<=yt||Ae>=ct&&pe>=yt?Bt-dt-It:Ae>ct&&pe<yt||Bt<dt&&pe>yt?Ae-ct+or:0}var A=function(dt,ct){var yt=ct.scrollMode,It=ct.block,or=ct.inline,Bt=ct.boundary,Ae=ct.skipOverflowHiddenElements,pe=typeof Bt=="function"?Bt:function(ir){return ir!==Bt};if(!s(dt))throw new TypeError("Invalid target");for(var he=document.scrollingElement||document.documentElement,le=[],Ne=dt;s(Ne)&&pe(Ne);){if(Ne=Ne.parentNode,Ne===he){le.push(Ne);break}if(Ne===document.body&&b(Ne)&&!b(document.documentElement))continue;b(Ne,Ae)&&le.push(Ne)}for(var je=window.visualViewport?visualViewport.width:innerWidth,Ke=window.visualViewport?visualViewport.height:innerHeight,Xe=window.scrollX||pageXOffset,Fe=window.scrollY||pageYOffset,nt=dt.getBoundingClientRect(),At=nt.height,_t=nt.width,ne=nt.top,ue=nt.right,Y=nt.bottom,te=nt.left,be=It==="start"||It==="nearest"?ne:It==="end"?Y:ne+At/2,Le=or==="center"?te+_t/2:or==="end"?ue:te,Re=[],$e=0;$e<le.length;$e++){var gt=le[$e],Wt=gt.getBoundingClientRect(),$t=Wt.height,Dt=Wt.width,Kt=Wt.top,Yt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(yt==="if-needed"&&ne>=0&&te>=0&&Y<=Ke&&ue<=je&&ne>=Kt&&Y<=Qt&&te>=Mt&&ue<=Yt)return Re;var dr=getComputedStyle(gt),er=parseInt(dr.borderLeftWidth,10),ot=parseInt(dr.borderTopWidth,10),xt=parseInt(dr.borderRightWidth,10),ut=parseInt(dr.borderBottomWidth,10),ft=0,Lt=0,Tt="offsetWidth"in gt?gt.offsetWidth-gt.clientWidth-er-xt:0,ht="offsetHeight"in gt?gt.offsetHeight-gt.clientHeight-ot-ut:0;if(he===gt)It==="start"?ft=be:It==="end"?ft=be-Ke:It==="nearest"?ft=E(Fe,Fe+Ke,Ke,ot,ut,Fe+be,Fe+be+At,At):ft=be-Ke/2,or==="start"?Lt=Le:or==="center"?Lt=Le-je/2:or==="end"?Lt=Le-je:Lt=E(Xe,Xe+je,je,er,xt,Xe+Le,Xe+Le+_t,_t),ft=Math.max(0,ft+Fe),Lt=Math.max(0,Lt+Xe);else{It==="start"?ft=be-Kt-ot:It==="end"?ft=be-Qt+ut+ht:It==="nearest"?ft=E(Kt,Qt,$t,ot,ut+ht,be,be+At,At):ft=be-(Kt+$t/2)+ht/2,or==="start"?Lt=Le-Mt-er:or==="center"?Lt=Le-(Mt+Dt/2)+Tt/2:or==="end"?Lt=Le-Yt+xt+Tt:Lt=E(Mt,Yt,Dt,er,xt+Tt,Le,Le+_t,_t);var Ht=gt.scrollLeft,Ft=gt.scrollTop;ft=Math.max(0,Math.min(Ft+ft,gt.scrollHeight-$t+ht)),Lt=Math.max(0,Math.min(Ht+Lt,gt.scrollWidth-Dt+Tt)),be+=Ft-ft,Le+=Ht-Lt}Re.push({el:gt,top:ft,left:Lt})}return Re};function S(dt){return dt===Object(dt)&&Object.keys(dt).length!==0}function T(dt,ct){ct===void 0&&(ct="auto");var yt="scrollBehavior"in document.body.style;dt.forEach(function(It){var or=It.el,Bt=It.top,Ae=It.left;or.scroll&&yt?or.scroll({top:Bt,left:Ae,behavior:ct}):(or.scrollTop=Bt,or.scrollLeft=Ae)})}function O(dt){return dt===!1?{block:"end",inline:"nearest"}:S(dt)?dt:{block:"start",inline:"nearest"}}function x(dt,ct){var yt=!dt.ownerDocument.documentElement.contains(dt);if(S(ct)&&typeof ct.behavior=="function")return ct.behavior(yt?[]:A(dt,ct));if(yt)return;var It=O(ct);return T(A(dt,It),It.behavior)}var C=x;function _(dt){return dt===void 0||dt===!1?[]:Array.isArray(dt)?dt:[dt]}function N(dt,ct){if(!dt.length)return;var yt=dt.join("_");return ct?"".concat(ct,"_").concat(yt):yt}function F(dt){var ct=_(dt);return ct.join("_")}function k(dt){var ct=Object(r.useForm)(),yt=p()(ct,1),It=yt[0],or=Object(u.useRef)({}),Bt=Object(u.useMemo)(function(){return dt||f()(f()({},It),{__INTERNAL__:{itemRef:function(pe){return function(he){var le=F(pe);he?or.current[le]=he:delete or.current[le]}}},scrollToField:function(pe){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=_(pe),Ne=N(le,Bt.__INTERNAL__.name),je=Ne?document.getElementById(Ne):null;je&&C(je,f()({scrollMode:"if-needed",block:"nearest"},he))},getFieldInstance:function(pe){var he=F(pe);return or.current[he]}})},[dt,It]);return[Bt]}var P=e("3Nzz"),j=function(dt,ct){var yt={};for(var It in dt)Object.prototype.hasOwnProperty.call(dt,It)&&ct.indexOf(It)<0&&(yt[It]=dt[It]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(dt);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,It[or])&&(yt[It[or]]=dt[It[or]]);return yt},K=function(ct,yt){var It,or=u.useContext(P.b),Bt=u.useContext(a.b),Ae=Bt.getPrefixCls,pe=Bt.direction,he=ct.name,le=ct.prefixCls,Ne=ct.className,je=Ne===void 0?"":Ne,Ke=ct.size,Xe=Ke===void 0?or:Ke,Fe=ct.form,nt=ct.colon,At=ct.labelAlign,_t=ct.labelCol,ne=ct.wrapperCol,ue=ct.hideRequiredMark,Y=ct.layout,te=Y===void 0?"horizontal":Y,be=ct.scrollToFirstError,Le=ct.requiredMark,Re=ct.onFinishFailed,$e=j(ct,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),gt=Object(u.useMemo)(function(){return Le!==void 0?Le:!ue},[ue,Le]),Wt=Ae("form",le),$t=i()(Wt,(It={},h()(It,"".concat(Wt,"-").concat(te),!0),h()(It,"".concat(Wt,"-hide-required-mark"),gt===!1),h()(It,"".concat(Wt,"-rtl"),pe==="rtl"),h()(It,"".concat(Wt,"-").concat(Xe),Xe),It),je),Dt=k(Fe),Kt=p()(Dt,1),Yt=Kt[0],Qt=Yt.__INTERNAL__;Qt.name=he;var Mt=Object(u.useMemo)(function(){return{name:he,labelAlign:At,labelCol:_t,wrapperCol:ne,vertical:te==="vertical",colon:nt,requiredMark:gt,itemRef:Qt.itemRef}},[he,At,_t,ne,te,nt,gt]);u.useImperativeHandle(yt,function(){return Yt});var dr=function(ot){Re&&Re(ot),be&&ot.errorFields.length&&Yt.scrollToField(ot.errorFields[0].name)};return u.createElement(P.a,{size:Xe},u.createElement(n.Provider,{value:Mt},u.createElement(r.default,f()({id:he},$e,{onFinishFailed:dr,form:Yt,className:$t}))))},R=u.forwardRef(K),B=R,U=e("cDf5"),H=e.n(U),W=e("RIqP"),V=e.n(W),z=e("Y+p1"),X=e.n(z),q=e("KW7l"),fe=e("c+Xe"),G=e("qrJ5"),ve=e("CWQg"),Se=e("uaoM"),ge=e("/kpp"),Pe=e("YMnH"),Ge=e("ZvpZ"),pt=function(ct){var yt=ct.prefixCls,It=ct.label,or=ct.htmlFor,Bt=ct.labelCol,Ae=ct.labelAlign,pe=ct.colon,he=ct.required,le=ct.requiredMark,Ne=Object(Pe.b)("Form"),je=p()(Ne,1),Ke=je[0];return It?u.createElement(n.Consumer,{key:"label"},function(Xe){var Fe,nt=Xe.vertical,At=Xe.labelAlign,_t=Xe.labelCol,ne=Xe.colon,ue,Y=Bt||_t||{},te=Ae||At,be="".concat(yt,"-item-label"),Le=i()(be,te==="left"&&"".concat(be,"-left"),Y.className),Re=It,$e=pe===!0||ne!==!1&&pe!==!1,gt=$e&&!nt;gt&&typeof It=="string"&&It.trim()!==""&&(Re=It.replace(/[:|:]\s*$/,"")),le==="optional"&&!he&&(Re=u.createElement(u.Fragment,null,Re,u.createElement("span",{className:"".concat(yt,"-item-optional")},(Ke==null?void 0:Ke.optional)||((ue=Ge.a.Form)===null||ue===void 0?void 0:ue.optional))));var Wt=i()((Fe={},h()(Fe,"".concat(yt,"-item-required"),he),h()(Fe,"".concat(yt,"-item-required-mark-optional"),le==="optional"),h()(Fe,"".concat(yt,"-item-no-colon"),!$e),Fe));return u.createElement(ge.a,f()({},Y,{className:Le}),u.createElement("label",{htmlFor:or,className:Wt,title:typeof It=="string"?It:""},Re))}):null},Te=pt,xe=e("gZBC"),lt=e.n(xe),Ie=e("kbBi"),de=e.n(Ie),ee=e("J84W"),se=e.n(ee),ke=e("sKbD"),Ce=e.n(ke),ze=e("YrtM"),_e=e("8XRh"),ae=e("hkKa");function me(dt,ct,yt){var It=u.useRef({errors:dt,visible:!!dt.length}),or=Object(ae.a)(),Bt=function(){var pe=It.current.visible,he=!!dt.length,le=It.current.errors;It.current.errors=dt,It.current.visible=he,pe!==he?ct(he):(le.length!==dt.length||le.some(function(Ne,je){return Ne!==dt[je]}))&&or()};return u.useEffect(function(){if(!yt){var Ae=setTimeout(Bt,10);return function(){return clearTimeout(Ae)}}},[dt]),yt&&Bt(),[It.current.visible,It.current.errors]}var Oe={success:se.a,warning:Ce.a,error:de.a,validating:lt.a},Ze=function(ct){var yt=ct.prefixCls,It=ct.wrapperCol,or=ct.children,Bt=ct.help,Ae=ct.errors,pe=ct.onDomErrorVisibleChange,he=ct.hasFeedback,le=ct.validateStatus,Ne=ct.extra,je=Object(ae.a)(),Ke="".concat(yt,"-item"),Xe=u.useContext(n),Fe=It||Xe.wrapperCol||{},nt=i()("".concat(Ke,"-control"),Fe.className),At=me(Ae,function(Re){Re&&Promise.resolve().then(function(){pe(!0)}),je()},!!Bt),_t=p()(At,2),ne=_t[0],ue=_t[1];u.useEffect(function(){return function(){pe(!1)}},[]);var Y=Object(ze.a)(function(){return ue},ne,function(Re,$e){return $e}),te=le&&Oe[le],be=he&&te?u.createElement("span",{className:"".concat(Ke,"-children-icon")},u.createElement(te,null)):null,Le=f()({},Xe);return delete Le.labelCol,delete Le.wrapperCol,u.createElement(n.Provider,{value:Le},u.createElement(ge.a,f()({},Fe,{className:nt}),u.createElement("div",{className:"".concat(Ke,"-control-input")},u.createElement("div",{className:"".concat(Ke,"-control-input-content")},or),be),u.createElement(_e.default,{motionDeadline:500,visible:ne,motionName:"show-help",onLeaveEnd:function(){pe(!1)},motionAppear:!0,removeOnLeave:!0},function(Re){var $e=Re.className;return u.createElement("div",{className:i()("".concat(Ke,"-explain"),$e),key:"help"},Y.map(function(gt,Wt){return u.createElement("div",{key:Wt,role:"alert"},gt)}))}),Ne&&u.createElement("div",{className:"".concat(Ke,"-extra")},Ne)))},vt=Ze,Ct=e("0n0R"),Be=e("xEkU"),Rt=e.n(Be);function He(dt){var ct=u.useState(dt),yt=p()(ct,2),It=yt[0],or=yt[1],Bt=Object(u.useRef)(null),Ae=Object(u.useRef)([]),pe=Object(u.useRef)(!1);u.useEffect(function(){return function(){pe.current=!0,Rt.a.cancel(Bt.current)}},[]);function he(le){if(pe.current)return;Bt.current===null&&(Ae.current=[],Bt.current=Rt()(function(){Bt.current=null,or(function(Ne){var je=Ne;return Ae.current.forEach(function(Ke){je=Ke(je)}),je})})),Ae.current.push(le)}return[It,he]}function wt(){var dt=u.useContext(n),ct=dt.itemRef,yt=u.useRef({});function It(or,Bt){var Ae=Bt&&H()(Bt)==="object"&&Bt.ref,pe=or.join("_");return(yt.current.name!==pe||yt.current.originRef!==Ae)&&(yt.current.name=pe,yt.current.originRef=Ae,yt.current.ref=Object(fe.a)(ct(or),Ae)),yt.current.ref}return It}var Ye=function(dt,ct){var yt={};for(var It in dt)Object.prototype.hasOwnProperty.call(dt,It)&&ct.indexOf(It)<0&&(yt[It]=dt[It]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(dt);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,It[or])&&(yt[It[or]]=dt[It[or]]);return yt},et=Object(ve.a)("success","warning","error","validating",""),rt=u.memo(function(dt){var ct=dt.children;return ct},function(dt,ct){return dt.value===ct.value&&dt.update===ct.update});function st(dt){return dt===null&&Object(Se.a)(!1,"Form.Item","`null` is passed as `name` property"),!(dt==null)}function Ve(dt){var ct=dt.name,yt=dt.fieldKey,It=dt.noStyle,or=dt.dependencies,Bt=dt.prefixCls,Ae=dt.style,pe=dt.className,he=dt.shouldUpdate,le=dt.hasFeedback,Ne=dt.help,je=dt.rules,Ke=dt.validateStatus,Xe=dt.children,Fe=dt.required,nt=dt.label,At=dt.trigger,_t=At===void 0?"onChange":At,ne=dt.validateTrigger,ue=dt.hidden,Y=Ye(dt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),te=u.useRef(!1),be=u.useContext(a.b),Le=be.getPrefixCls,Re=u.useContext(n),$e=Re.name,gt=Re.requiredMark,Wt=u.useContext(l),$t=Wt.updateItemErrors,Dt=u.useState(!!Ne),Kt=p()(Dt,2),Yt=Kt[0],Qt=Kt[1],Mt=u.useRef(Ke),dr=He({}),er=p()(dr,2),ot=er[0],xt=er[1],ut=u.useContext(q.b),ft=ut.validateTrigger,Lt=ne!==void 0?ne:ft;function Tt(tn){te.current||Qt(tn)}var ht=st(ct),Ht=u.useRef([]);u.useEffect(function(){return function(){te.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var Ft=Le("form",Bt),ir=It?$t:function(tn,qr){xt(function(){var Or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return X()(Or[tn],qr)?Or:f()(f()({},Or),h()({},tn,qr))})},Xt=wt();function mr(tn,qr,Or,Qr){var Ir,ur;if(It&&!ue)return tn;var pr=[];Object.keys(ot).forEach(function(Gr){pr=[].concat(V()(pr),V()(ot[Gr]||[]))});var cr;Ne!=null?cr=_(Ne):(cr=Or?Or.errors:[],cr=[].concat(V()(cr),V()(pr)));var fr="";Ke!==void 0?fr=Ke:(Or==null?void 0:Or.validating)?fr="validating":((ur=Or==null?void 0:Or.errors)===null||ur===void 0?void 0:ur.length)||pr.length?fr="error":(Or==null?void 0:Or.touched)&&(fr="success"),Yt&&Ne&&(Mt.current=fr);var xr=(Ir={},h()(Ir,"".concat(Ft,"-item"),!0),h()(Ir,"".concat(Ft,"-item-with-help"),Yt||Ne),h()(Ir,"".concat(pe),!!pe),h()(Ir,"".concat(Ft,"-item-has-feedback"),fr&&le),h()(Ir,"".concat(Ft,"-item-has-success"),fr==="success"),h()(Ir,"".concat(Ft,"-item-has-warning"),fr==="warning"),h()(Ir,"".concat(Ft,"-item-has-error"),fr==="error"),h()(Ir,"".concat(Ft,"-item-has-error-leave"),!Ne&&Yt&&Mt.current==="error"),h()(Ir,"".concat(Ft,"-item-is-validating"),fr==="validating"),h()(Ir,"".concat(Ft,"-item-hidden"),ue),Ir);return u.createElement(G.a,f()({className:i()(xr),style:Ae,key:"row"},Object(c.default)(Y,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),u.createElement(Te,f()({htmlFor:qr,required:Qr,requiredMark:gt},dt,{prefixCls:Ft})),u.createElement(vt,f()({},dt,Or,{errors:cr,prefixCls:Ft,onDomErrorVisibleChange:Tt,validateStatus:fr}),u.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof Xe=="function",Nr=u.useRef(0);if(Nr.current+=1,!ht&&!Ar&&!or)return mr(Xe);var Fr={};return typeof nt=="string"&&(Fr.label=nt),u.createElement(r.Field,f()({},dt,{messageVariables:Fr,trigger:_t,validateTrigger:Lt,onReset:function(){Tt(!1)}}),function(tn,qr,Or){var Qr=qr.errors,Ir=_(ct).length&&qr?qr.name:[],ur=N(Ir,$e);if(It){if(Ht.current=V()(Ir),yt){var pr=Array.isArray(yt)?yt:[yt];Ht.current=[].concat(V()(Ir.slice(0,-1)),V()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var cr=Fe!==void 0?Fe:!!(je&&je.some(function(Nn){if(Nn&&H()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(Or);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(Se.a)(!(he&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Xe)&&ht)Object(Se.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=Xe;else if(Ar&&(!(he||or)||ht))Object(Se.a)(!!(he||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Se.a)(!ht,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!ht)Object(Se.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ct.b)(Xe)){Object(Se.a)(Xe.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Gr=f()(f()({},Xe.props),fr);Gr.id||(Gr.id=ur),Object(fe.c)(Xe)&&(Gr.ref=Xt(Ir,Xe));var un=new Set([].concat(V()(_(_t)),V()(_(Lt))));un.forEach(function(Nn){Gr[Nn]=function(){for(var jr,Tn,gn,Pn,zn,qn=arguments.length,Gn=new Array(qn),Vn=0;Vn<qn;Vn++)Gn[Vn]=arguments[Vn];(gn=fr[Nn])===null||gn===void 0||(jr=gn).call.apply(jr,[fr].concat(Gn)),(zn=(Pn=Xe.props)[Nn])===null||zn===void 0||(Tn=zn).call.apply(Tn,[Pn].concat(Gn))}}),xr=u.createElement(rt,{value:fr[dt.valuePropName||"value"],update:Nr.current},Object(Ct.a)(Xe,Gr))}else Ar&&(he||or)&&!ht?xr=Xe(Or):(Object(Se.a)(!Ir.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),xr=Xe);return mr(xr,ur,qr,cr)})}var ie=Ve,$=function(dt,ct){var yt={};for(var It in dt)Object.prototype.hasOwnProperty.call(dt,It)&&ct.indexOf(It)<0&&(yt[It]=dt[It]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,It=Object.getOwnPropertySymbols(dt);or<It.length;or++)ct.indexOf(It[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,It[or])&&(yt[It[or]]=dt[It[or]]);return yt},it=function(ct){var yt=ct.children,It=$(ct,["children"]);return Object(Se.a)(!!It.name,"Form.List","Miss `name` prop."),u.createElement(r.List,It,function(or,Bt){return yt(or.map(function(Ae){return f()(f()({},Ae),{fieldKey:Ae.key})}),Bt)})},Qe=it,ye=B;ye.Item=ie,ye.List=Qe,ye.useForm=k,ye.Provider=t,ye.create=function(){Object(Se.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Zt=I.a=ye},VpOo:function(D,I){function e(g,f){var y=f.x,p=f.y,v=f.width,h=f.height,u=f.r,o,i,r,a;v<0&&(y=y+v,v=-v),h<0&&(p=p+h,h=-h),typeof u=="number"?o=i=r=a=u:u instanceof Array?u.length===1?o=i=r=a=u[0]:u.length===2?(o=r=u[0],i=a=u[1]):u.length===3?(o=u[0],i=a=u[1],r=u[2]):(o=u[0],i=u[1],r=u[2],a=u[3]):o=i=r=a=0;var c;o+i>v&&(c=o+i,o*=v/c,i*=v/c),r+a>v&&(c=r+a,r*=v/c,a*=v/c),i+r>h&&(c=i+r,i*=h/c,r*=h/c),o+a>h&&(c=o+a,o*=h/c,a*=h/c),g.moveTo(y+o,p),g.lineTo(y+v-i,p),i!==0&&g.arc(y+v-i,p+i,i,-Math.PI/2,0),g.lineTo(y+v,p+h-r),r!==0&&g.arc(y+v-r,p+h-r,r,0,Math.PI/2),g.lineTo(y+a,p+h),a!==0&&g.arc(y+a,p+h-a,a,Math.PI/2,Math.PI),g.lineTo(y,p+o),o!==0&&g.arc(y+o,p+o,o,Math.PI,Math.PI*1.5)}I.buildPath=e},"VrN/":function(D,I,e){(function(g,f){D.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,y=/gecko\/\d/i.test(g),p=/MSIE \d/.test(g),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),h=/Edge\/(\d+)/.exec(g),u=p||v||h,o=u&&(p?document.documentMode||6:+(h||v)[1]),i=!h&&/WebKit\//.test(g),r=i&&/Qt\/\d+\.\d+/.test(g),a=!h&&/Chrome\//.test(g),c=/Opera\//.test(g),n=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),t=/PhantomJS/.test(g),s=!h&&/AppleWebKit/.test(g)&&/Mobile\/\w+/.test(g),d=/Android/.test(g),m=s||d||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),w=s||/Mac/.test(f),b=/\bCrOS\b/.test(g),E=/win/i.test(f),A=c&&g.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(c=!1,i=!0);var S=w&&(r||c&&(A==null||A<12.11)),T=y||u&&o>=9;function O(L){return new RegExp("(^|\\s)"+L+"(?:$|\\s)\\s*")}var x=function(M,Q){var J=M.className,re=O(Q).exec(J);if(re){var De=J.slice(re.index+re[0].length);M.className=J.slice(0,re.index)+(De?re[1]+De:"")}};function C(L){for(var M=L.childNodes.length;M>0;--M)L.removeChild(L.firstChild);return L}function _(L,M){return C(L).appendChild(M)}function N(L,M,Q,J){var re=document.createElement(L);if(Q&&(re.className=Q),J&&(re.style.cssText=J),typeof M=="string")re.appendChild(document.createTextNode(M));else if(M)for(var De=0;De<M.length;++De)re.appendChild(M[De]);return re}function F(L,M,Q,J){var re=N(L,M,Q,J);return re.setAttribute("role","presentation"),re}var k;document.createRange?k=function(M,Q,J,re){var De=document.createRange();return De.setEnd(re||M,J),De.setStart(M,Q),De}:k=function(M,Q,J){var re=document.body.createTextRange();try{re.moveToElementText(M.parentNode)}catch(De){return re}return re.collapse(!0),re.moveEnd("character",J),re.moveStart("character",Q),re};function P(L,M){if(M.nodeType==3&&(M=M.parentNode),L.contains)return L.contains(M);do if(M.nodeType==11&&(M=M.host),M==L)return!0;while(M=M.parentNode)}function j(){var L;try{L=document.activeElement}catch(M){L=document.body||null}for(;L&&L.shadowRoot&&L.shadowRoot.activeElement;)L=L.shadowRoot.activeElement;return L}function K(L,M){var Q=L.className;O(M).test(Q)||(L.className+=(Q?" ":"")+M)}function R(L,M){for(var Q=L.split(" "),J=0;J<Q.length;J++)Q[J]&&!O(Q[J]).test(M)&&(M+=" "+Q[J]);return M}var B=function(M){M.select()};s?B=function(M){M.selectionStart=0,M.selectionEnd=M.value.length}:u&&(B=function(M){try{M.select()}catch(Q){}});function U(L){var M=Array.prototype.slice.call(arguments,1);return function(){return L.apply(null,M)}}function H(L,M,Q){M||(M={});for(var J in L)L.hasOwnProperty(J)&&(Q!==!1||!M.hasOwnProperty(J))&&(M[J]=L[J]);return M}function W(L,M,Q,J,re){M==null&&(M=L.search(/[^\s\u00a0]/),M==-1&&(M=L.length));for(var De=J||0,mt=re||0;;){var Nt=L.indexOf(" ",De);if(Nt<0||Nt>=M)return mt+(M-De);mt+=Nt-De,mt+=Q-mt%Q,De=Nt+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=U(this.onTimeout,this)};V.prototype.onTimeout=function(L){L.id=0,L.time<=+new Date?L.f():setTimeout(L.handler,L.time-+new Date)},V.prototype.set=function(L,M){this.f=M;var Q=+new Date+L;(!this.id||Q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,L),this.time=Q)};function z(L,M){for(var Q=0;Q<L.length;++Q)if(L[Q]==M)return Q;return-1}var X=50,q={toString:function(){return"CodeMirror.Pass"}},fe={scroll:!1},G={origin:"*mouse"},ve={origin:"+move"};function Se(L,M,Q){for(var J=0,re=0;;){var De=L.indexOf(" ",J);De==-1&&(De=L.length);var mt=De-J;if(De==L.length||re+mt>=M)return J+Math.min(mt,M-re);if(re+=De-J,re+=Q-re%Q,J=De+1,re>=M)return J}}var ge=[""];function Pe(L){for(;ge.length<=L;)ge.push(Ge(ge)+" ");return ge[L]}function Ge(L){return L[L.length-1]}function pt(L,M){for(var Q=[],J=0;J<L.length;J++)Q[J]=M(L[J],J);return Q}function Te(L,M,Q){for(var J=0,re=Q(M);J<L.length&&Q(L[J])<=re;)J++;L.splice(J,0,M)}function xe(){}function lt(L,M){var Q;return Object.create?Q=Object.create(L):(xe.prototype=L,Q=new xe),M&&H(M,Q),Q}var Ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function de(L){return/\w/.test(L)||L>"\x80"&&(L.toUpperCase()!=L.toLowerCase()||Ie.test(L))}function ee(L,M){return M?M.source.indexOf("\\w")>-1&&de(L)?!0:M.test(L):de(L)}function se(L){for(var M in L)if(L.hasOwnProperty(M)&&L[M])return!1;return!0}var ke=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ce(L){return L.charCodeAt(0)>=768&&ke.test(L)}function ze(L,M,Q){for(;(Q<0?M>0:M<L.length)&&Ce(L.charAt(M));)M+=Q;return M}function _e(L,M,Q){for(var J=M>Q?-1:1;;){if(M==Q)return M;var re=(M+Q)/2,De=J<0?Math.ceil(re):Math.floor(re);if(De==M)return L(De)?M:Q;L(De)?Q=De:M=De+J}}function ae(L,M,Q,J){if(!L)return J(M,Q,"ltr",0);for(var re=!1,De=0;De<L.length;++De){var mt=L[De];(mt.from<Q&&mt.to>M||M==Q&&mt.to==M)&&(J(Math.max(mt.from,M),Math.min(mt.to,Q),mt.level==1?"rtl":"ltr",De),re=!0)}re||J(M,Q,"ltr")}var me=null;function Oe(L,M,Q){var J;me=null;for(var re=0;re<L.length;++re){var De=L[re];if(De.from<M&&De.to>M)return re;De.to==M&&(De.from!=De.to&&Q=="before"?J=re:me=re),De.from==M&&(De.from!=De.to&&Q!="before"?J=re:me=re)}return J!=null?J:me}var Ze=function(){var L="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",M="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Q(Gt){return Gt<=247?L.charAt(Gt):1424<=Gt&&Gt<=1524?"R":1536<=Gt&&Gt<=1785?M.charAt(Gt-1536):1774<=Gt&&Gt<=2220?"r":8192<=Gt&&Gt<=8203?"w":Gt==8204?"b":"L"}var J=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,re=/[stwN]/,De=/[LRr]/,mt=/[Lb1n]/,Nt=/[1n]/;function zt(Gt,Cr,Ur){this.level=Gt,this.from=Cr,this.to=Ur}return function(Gt,Cr){var Ur=Cr=="ltr"?"L":"R";if(Gt.length==0||Cr=="ltr"&&!J.test(Gt))return!1;for(var en=Gt.length,nn=[],xn=0;xn<en;++xn)nn.push(Q(Gt.charCodeAt(xn)));for(var Bn=0,Zn=Ur;Bn<en;++Bn){var Jn=nn[Bn];Jn=="m"?nn[Bn]=Zn:Zn=Jn}for(var oi=0,li=Ur;oi<en;++oi){var qe=nn[oi];qe=="1"&&li=="r"?nn[oi]="n":De.test(qe)&&(li=qe,qe=="r"&&(nn[oi]="R"))}for(var Z=1,Me=nn[0];Z<en-1;++Z){var Je=nn[Z];Je=="+"&&Me=="1"&&nn[Z+1]=="1"?nn[Z]="1":Je==","&&Me==nn[Z+1]&&(Me=="1"||Me=="n")&&(nn[Z]=Me),Me=Je}for(var Ot=0;Ot<en;++Ot){var tr=nn[Ot];if(tr==",")nn[Ot]="N";else if(tr=="%"){var vr=void 0;for(vr=Ot+1;vr<en&&nn[vr]=="%";++vr);for(var Lr=Ot&&nn[Ot-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Ot;Hr<vr;++Hr)nn[Hr]=Lr;Ot=vr-1}}for(var Kr=0,cn=Ur;Kr<en;++Kr){var sn=nn[Kr];cn=="L"&&sn=="1"?nn[Kr]="L":De.test(sn)&&(cn=sn)}for(var Fn=0;Fn<en;++Fn)if(re.test(nn[Fn])){var si=void 0;for(si=Fn+1;si<en&&re.test(nn[si]);++si);for(var Kn=(Fn?nn[Fn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=Kn==fi?Kn?"L":"R":Ur,Ti=Fn;Ti<si;++Ti)nn[Ti]=da;Fn=si-1}for(var na=[],Ia,Pi=0;Pi<en;)if(mt.test(nn[Pi])){var Io=Pi;for(++Pi;Pi<en&&mt.test(nn[Pi]);++Pi);na.push(new zt(0,Io,Pi))}else{var no=Pi,zo=na.length,Po=Cr=="rtl"?1:0;for(++Pi;Pi<en&&nn[Pi]!="L";++Pi);for(var ka=no;ka<Pi;)if(Nt.test(nn[ka])){no<ka&&(na.splice(zo,0,new zt(1,no,ka)),zo+=Po);var Wo=ka;for(++ka;ka<Pi&&Nt.test(nn[ka]);++ka);na.splice(zo,0,new zt(2,Wo,ka)),zo+=Po,no=ka}else++ka;no<Pi&&na.splice(zo,0,new zt(1,no,Pi))}return Cr=="ltr"&&(na[0].level==1&&(Ia=Gt.match(/^\s+/))&&(na[0].from=Ia[0].length,na.unshift(new zt(0,0,Ia[0].length))),Ge(na).level==1&&(Ia=Gt.match(/\s+$/))&&(Ge(na).to-=Ia[0].length,na.push(new zt(0,en-Ia[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function vt(L,M){var Q=L.order;return Q==null&&(Q=L.order=Ze(L.text,M)),Q}var Ct=[],Be=function(M,Q,J){if(M.addEventListener)M.addEventListener(Q,J,!1);else if(M.attachEvent)M.attachEvent("on"+Q,J);else{var re=M._handlers||(M._handlers={});re[Q]=(re[Q]||Ct).concat(J)}};function Rt(L,M){return L._handlers&&L._handlers[M]||Ct}function He(L,M,Q){if(L.removeEventListener)L.removeEventListener(M,Q,!1);else if(L.detachEvent)L.detachEvent("on"+M,Q);else{var J=L._handlers,re=J&&J[M];if(re){var De=z(re,Q);De>-1&&(J[M]=re.slice(0,De).concat(re.slice(De+1)))}}}function wt(L,M){var Q=Rt(L,M);if(!Q.length)return;for(var J=Array.prototype.slice.call(arguments,2),re=0;re<Q.length;++re)Q[re].apply(null,J)}function Ye(L,M,Q){return typeof M=="string"&&(M={type:M,preventDefault:function(){this.defaultPrevented=!0}}),wt(L,Q||M.type,L,M),$(M)||M.codemirrorIgnore}function et(L){var M=L._handlers&&L._handlers.cursorActivity;if(!M)return;for(var Q=L.curOp.cursorActivityHandlers||(L.curOp.cursorActivityHandlers=[]),J=0;J<M.length;++J)z(Q,M[J])==-1&&Q.push(M[J])}function rt(L,M){return Rt(L,M).length>0}function st(L){L.prototype.on=function(M,Q){Be(this,M,Q)},L.prototype.off=function(M,Q){He(this,M,Q)}}function Ve(L){L.preventDefault?L.preventDefault():L.returnValue=!1}function ie(L){L.stopPropagation?L.stopPropagation():L.cancelBubble=!0}function $(L){return L.defaultPrevented!=null?L.defaultPrevented:L.returnValue==!1}function it(L){Ve(L),ie(L)}function Qe(L){return L.target||L.srcElement}function ye(L){var M=L.which;return M==null&&(L.button&1?M=1:L.button&2?M=3:L.button&4&&(M=2)),w&&L.ctrlKey&&M==1&&(M=3),M}var Zt=function(){if(u&&o<9)return!1;var L=N("div");return"draggable"in L||"dragDrop"in L}(),dt;function ct(L){if(dt==null){var M=N("span","\u200B");_(L,N("span",[M,document.createTextNode("x")])),L.firstChild.offsetHeight!=0&&(dt=M.offsetWidth<=1&&M.offsetHeight>2&&!(u&&o<8))}var Q=dt?N("span","\u200B"):N("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Q.setAttribute("cm-text",""),Q}var yt;function It(L){if(yt!=null)return yt;var M=_(L,document.createTextNode("A\u062EA")),Q=k(M,0,1).getBoundingClientRect(),J=k(M,1,2).getBoundingClientRect();return C(L),!Q||Q.left==Q.right?!1:yt=J.right-Q.right<3}var or=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(L){for(var M=0,Q=[],J=L.length;M<=J;){var re=L.indexOf(`
|
|
|
`,M);re==-1&&(re=L.length);var De=L.slice(M,L.charAt(re-1)=="\r"?re-1:re),mt=De.indexOf("\r");mt!=-1?(Q.push(De.slice(0,mt)),M+=mt+1):(Q.push(De),M=re+1)}return Q}:function(L){return L.split(/\r\n?|\n/)},Bt=window.getSelection?function(L){try{return L.selectionStart!=L.selectionEnd}catch(M){return!1}}:function(L){var M;try{M=L.ownerDocument.selection.createRange()}catch(Q){}return!M||M.parentElement()!=L?!1:M.compareEndPoints("StartToEnd",M)!=0},Ae=function(){var L=N("div");return"oncopy"in L?!0:(L.setAttribute("oncopy","return;"),typeof L.oncopy=="function")}(),pe=null;function he(L){if(pe!=null)return pe;var M=_(L,N("span","x")),Q=M.getBoundingClientRect(),J=k(M,0,1).getBoundingClientRect();return pe=Math.abs(Q.left-J.left)>1}var le={},Ne={};function je(L,M){arguments.length>2&&(M.dependencies=Array.prototype.slice.call(arguments,2)),le[L]=M}function Ke(L,M){Ne[L]=M}function Xe(L){if(typeof L=="string"&&Ne.hasOwnProperty(L))L=Ne[L];else if(L&&typeof L.name=="string"&&Ne.hasOwnProperty(L.name)){var M=Ne[L.name];typeof M=="string"&&(M={name:M}),L=lt(M,L),L.name=M.name}else{if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(L))return Xe("application/xml");if(typeof L=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(L))return Xe("application/json")}return typeof L=="string"?{name:L}:L||{name:"null"}}function Fe(L,M){M=Xe(M);var Q=le[M.name];if(!Q)return Fe(L,"text/plain");var J=Q(L,M);if(nt.hasOwnProperty(M.name)){var re=nt[M.name];for(var De in re){if(!re.hasOwnProperty(De))continue;J.hasOwnProperty(De)&&(J["_"+De]=J[De]),J[De]=re[De]}}if(J.name=M.name,M.helperType&&(J.helperType=M.helperType),M.modeProps)for(var mt in M.modeProps)J[mt]=M.modeProps[mt];return J}var nt={};function At(L,M){var Q=nt.hasOwnProperty(L)?nt[L]:nt[L]={};H(M,Q)}function _t(L,M){if(M===!0)return M;if(L.copyState)return L.copyState(M);var Q={};for(var J in M){var re=M[J];re instanceof Array&&(re=re.concat([])),Q[J]=re}return Q}function ne(L,M){for(var Q;L.innerMode&&!(Q=L.innerMode(M),!Q||Q.mode==L);)M=Q.state,L=Q.mode;return Q||{mode:L,state:M}}function ue(L,M,Q){return L.startState?L.startState(M,Q):!0}var Y=function(M,Q,J){this.pos=this.start=0,this.string=M,this.tabSize=Q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=J};Y.prototype.eol=function(){return this.pos>=this.string.length},Y.prototype.sol=function(){return this.pos==this.lineStart},Y.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Y.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Y.prototype.eat=function(L){var M=this.string.charAt(this.pos),Q;if(typeof L=="string"?Q=M==L:Q=M&&(L.test?L.test(M):L(M)),Q)return++this.pos,M},Y.prototype.eatWhile=function(L){for(var M=this.pos;this.eat(L););return this.pos>M},Y.prototype.eatSpace=function(){for(var L=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>L},Y.prototype.skipToEnd=function(){this.pos=this.string.length},Y.prototype.skipTo=function(L){var M=this.string.indexOf(L,this.pos);if(M>-1)return this.pos=M,!0},Y.prototype.backUp=function(L){this.pos-=L},Y.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Y.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Y.prototype.match=function(L,M,Q){if(typeof L=="string"){var J=function(Nt){return Q?Nt.toLowerCase():Nt},re=this.string.substr(this.pos,L.length);if(J(re)==J(L))return M!==!1&&(this.pos+=L.length),!0}else{var De=this.string.slice(this.pos).match(L);return De&&De.index>0?null:(De&&M!==!1&&(this.pos+=De[0].length),De)}},Y.prototype.current=function(){return this.string.slice(this.start,this.pos)},Y.prototype.hideFirstChars=function(L,M){this.lineStart+=L;try{return M()}finally{this.lineStart-=L}},Y.prototype.lookAhead=function(L){var M=this.lineOracle;return M&&M.lookAhead(L)},Y.prototype.baseToken=function(){var L=this.lineOracle;return L&&L.baseToken(this.pos)};function te(L,M){if(M-=L.first,M<0||M>=L.size)throw new Error("There is no line "+(M+L.first)+" in the document.");for(var Q=L;!Q.lines;)for(var J=0;;++J){var re=Q.children[J],De=re.chunkSize();if(M<De){Q=re;break}M-=De}return Q.lines[M]}function be(L,M,Q){var J=[],re=M.line;return L.iter(M.line,Q.line+1,function(De){var mt=De.text;re==Q.line&&(mt=mt.slice(0,Q.ch)),re==M.line&&(mt=mt.slice(M.ch)),J.push(mt),++re}),J}function Le(L,M,Q){var J=[];return L.iter(M,Q,function(re){J.push(re.text)}),J}function Re(L,M){var Q=M-L.height;if(Q)for(var J=L;J;J=J.parent)J.height+=Q}function $e(L){if(L.parent==null)return null;for(var M=L.parent,Q=z(M.lines,L),J=M.parent;J;M=J,J=J.parent)for(var re=0;!(J.children[re]==M);++re)Q+=J.children[re].chunkSize();return Q+M.first}function gt(L,M){var Q=L.first;e:do{for(var J=0;J<L.children.length;++J){var re=L.children[J],De=re.height;if(M<De){L=re;continue e}M-=De,Q+=re.chunkSize()}return Q}while(!L.lines);for(var mt=0;mt<L.lines.length;++mt){var Nt=L.lines[mt],zt=Nt.height;if(M<zt)break;M-=zt}return Q+mt}function Wt(L,M){return M>=L.first&&M<L.first+L.size}function $t(L,M){return String(L.lineNumberFormatter(M+L.firstLineNumber))}function Dt(L,M,Q){if(Q===void 0&&(Q=null),!(this instanceof Dt))return new Dt(L,M,Q);this.line=L,this.ch=M,this.sticky=Q}function Kt(L,M){return L.line-M.line||L.ch-M.ch}function Yt(L,M){return L.sticky==M.sticky&&Kt(L,M)==0}function Qt(L){return Dt(L.line,L.ch)}function Mt(L,M){return Kt(L,M)<0?M:L}function dr(L,M){return Kt(L,M)<0?L:M}function er(L,M){return Math.max(L.first,Math.min(M,L.first+L.size-1))}function ot(L,M){if(M.line<L.first)return Dt(L.first,0);var Q=L.first+L.size-1;return M.line>Q?Dt(Q,te(L,Q).text.length):xt(M,te(L,M.line).text.length)}function xt(L,M){var Q=L.ch;return Q==null||Q>M?Dt(L.line,M):Q<0?Dt(L.line,0):L}function ut(L,M){for(var Q=[],J=0;J<M.length;J++)Q[J]=ot(L,M[J]);return Q}var ft=function(M,Q){this.state=M,this.lookAhead=Q},Lt=function(M,Q,J,re){this.state=Q,this.doc=M,this.line=J,this.maxLookAhead=re||0,this.baseTokens=null,this.baseTokenPos=1};Lt.prototype.lookAhead=function(L){var M=this.doc.getLine(this.line+L);return M!=null&&L>this.maxLookAhead&&(this.maxLookAhead=L),M},Lt.prototype.baseToken=function(L){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=L;)this.baseTokenPos+=2;var M=this.baseTokens[this.baseTokenPos+1];return{type:M&&M.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-L}},Lt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Lt.fromSaved=function(L,M,Q){return M instanceof ft?new Lt(L,_t(L.mode,M.state),Q,M.lookAhead):new Lt(L,_t(L.mode,M),Q)},Lt.prototype.save=function(L){var M=L!==!1?_t(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ft(M,this.maxLookAhead):M};function Tt(L,M,Q,J){var re=[L.state.modeGen],De={};Fr(L,M.text,L.doc.mode,Q,function(Gt,Cr){return re.push(Gt,Cr)},De,J);for(var mt=Q.state,Nt=function(Cr){Q.baseTokens=re;var Ur=L.state.overlays[Cr],en=1,nn=0;Q.state=!0,Fr(L,M.text,Ur.mode,Q,function(xn,Bn){for(var Zn=en;nn<xn;){var Jn=re[en];Jn>xn&&re.splice(en,1,xn,re[en+1],Jn),en+=2,nn=Math.min(xn,Jn)}if(!Bn)return;if(Ur.opaque)re.splice(Zn,en-Zn,xn,"overlay "+Bn),en=Zn+2;else for(;Zn<en;Zn+=2){var oi=re[Zn+1];re[Zn+1]=(oi?oi+" ":"")+"overlay "+Bn}},De),Q.state=mt,Q.baseTokens=null,Q.baseTokenPos=1},zt=0;zt<L.state.overlays.length;++zt)Nt(zt);return{styles:re,classes:De.bgClass||De.textClass?De:null}}function ht(L,M,Q){if(!M.styles||M.styles[0]!=L.state.modeGen){var J=Ht(L,$e(M)),re=M.text.length>L.options.maxHighlightLength&&_t(L.doc.mode,J.state),De=Tt(L,M,J);re&&(J.state=re),M.stateAfter=J.save(!re),M.styles=De.styles,De.classes?M.styleClasses=De.classes:M.styleClasses&&(M.styleClasses=null),Q===L.doc.highlightFrontier&&(L.doc.modeFrontier=Math.max(L.doc.modeFrontier,++L.doc.highlightFrontier))}return M.styles}function Ht(L,M,Q){var J=L.doc,re=L.display;if(!J.mode.startState)return new Lt(J,!0,M);var De=tn(L,M,Q),mt=De>J.first&&te(J,De-1).stateAfter,Nt=mt?Lt.fromSaved(J,mt,De):new Lt(J,ue(J.mode),De);return J.iter(De,M,function(zt){Ft(L,zt.text,Nt);var Gt=Nt.line;zt.stateAfter=Gt==M-1||Gt%5==0||Gt>=re.viewFrom&&Gt<re.viewTo?Nt.save():null,Nt.nextLine()}),Q&&(J.modeFrontier=Nt.line),Nt}function Ft(L,M,Q,J){var re=L.doc.mode,De=new Y(M,L.options.tabSize,Q);for(De.start=De.pos=J||0,M==""&&ir(re,Q.state);!De.eol();)Xt(re,De,Q.state),De.start=De.pos}function ir(L,M){if(L.blankLine)return L.blankLine(M);if(!L.innerMode)return;var Q=ne(L,M);if(Q.mode.blankLine)return Q.mode.blankLine(Q.state)}function Xt(L,M,Q,J){for(var re=0;re<10;re++){J&&(J[0]=ne(L,Q).mode);var De=L.token(M,Q);if(M.pos>M.start)return De}throw new Error("Mode "+L.name+" failed to advance stream.")}var mr=function(M,Q,J){this.start=M.start,this.end=M.pos,this.string=M.current(),this.type=Q||null,this.state=J};function Ar(L,M,Q,J){var re=L.doc,De=re.mode,mt;M=ot(re,M);var Nt=te(re,M.line),zt=Ht(L,M.line,Q),Gt=new Y(Nt.text,L.options.tabSize,zt),Cr;for(J&&(Cr=[]);(J||Gt.pos<M.ch)&&!Gt.eol();)Gt.start=Gt.pos,mt=Xt(De,Gt,zt.state),J&&Cr.push(new mr(Gt,mt,_t(re.mode,zt.state)));return J?Cr:new mr(Gt,mt,zt.state)}function Nr(L,M){if(L)for(;;){var Q=L.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Q)break;L=L.slice(0,Q.index)+L.slice(Q.index+Q[0].length);var J=Q[1]?"bgClass":"textClass";M[J]==null?M[J]=Q[2]:new RegExp("(?:^|\\s)"+Q[2]+"(?:$|\\s)").test(M[J])||(M[J]+=" "+Q[2])}return L}function Fr(L,M,Q,J,re,De,mt){var Nt=Q.flattenSpans;Nt==null&&(Nt=L.options.flattenSpans);var zt=0,Gt=null,Cr=new Y(M,L.options.tabSize,J),Ur,en=L.options.addModeClass&&[null];for(M==""&&Nr(ir(Q,J.state),De);!Cr.eol();){if(Cr.pos>L.options.maxHighlightLength?(Nt=!1,mt&&Ft(L,M,J,Cr.pos),Cr.pos=M.length,Ur=null):Ur=Nr(Xt(Q,Cr,J.state,en),De),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Nt||Gt!=Ur){for(;zt<Cr.start;)zt=Math.min(Cr.start,zt+5e3),re(zt,Gt);Gt=Ur}Cr.start=Cr.pos}for(;zt<Cr.pos;){var xn=Math.min(Cr.pos,zt+5e3);re(xn,Gt),zt=xn}}function tn(L,M,Q){for(var J,re,De=L.doc,mt=Q?-1:M-(L.doc.mode.innerMode?1e3:100),Nt=M;Nt>mt;--Nt){if(Nt<=De.first)return De.first;var zt=te(De,Nt-1),Gt=zt.stateAfter;if(Gt&&(!Q||Nt+(Gt instanceof ft?Gt.lookAhead:0)<=De.modeFrontier))return Nt;var Cr=W(zt.text,null,L.options.tabSize);(re==null||J>Cr)&&(re=Nt-1,J=Cr)}return re}function qr(L,M){if(L.modeFrontier=Math.min(L.modeFrontier,M),L.highlightFrontier<M-10)return;for(var Q=L.first,J=M-1;J>Q;J--){var re=te(L,J).stateAfter;if(re&&(!(re instanceof ft)||J+re.lookAhead<M)){Q=J+1;break}}L.highlightFrontier=Math.min(L.highlightFrontier,Q)}var Or=!1,Qr=!1;function Ir(){Or=!0}function ur(){Qr=!0}function pr(L,M,Q){this.marker=L,this.from=M,this.to=Q}function cr(L,M){if(L)for(var Q=0;Q<L.length;++Q){var J=L[Q];if(J.marker==M)return J}}function fr(L,M){for(var Q,J=0;J<L.length;++J)L[J]!=M&&(Q||(Q=[])).push(L[J]);return Q}function xr(L,M){L.markedSpans=L.markedSpans?L.markedSpans.concat([M]):[M],M.marker.attachLine(L)}function Gr(L,M,Q){var J;if(L)for(var re=0;re<L.length;++re){var De=L[re],mt=De.marker,Nt=De.from==null||(mt.inclusiveLeft?De.from<=M:De.from<M);if(Nt||De.from==M&&mt.type=="bookmark"&&(!Q||!De.marker.insertLeft)){var zt=De.to==null||(mt.inclusiveRight?De.to>=M:De.to>M);(J||(J=[])).push(new pr(mt,De.from,zt?null:De.to))}}return J}function un(L,M,Q){var J;if(L)for(var re=0;re<L.length;++re){var De=L[re],mt=De.marker,Nt=De.to==null||(mt.inclusiveRight?De.to>=M:De.to>M);if(Nt||De.from==M&&mt.type=="bookmark"&&(!Q||De.marker.insertLeft)){var zt=De.from==null||(mt.inclusiveLeft?De.from<=M:De.from<M);(J||(J=[])).push(new pr(mt,zt?null:De.from-M,De.to==null?null:De.to-M))}}return J}function Nn(L,M){if(M.full)return null;var Q=Wt(L,M.from.line)&&te(L,M.from.line).markedSpans,J=Wt(L,M.to.line)&&te(L,M.to.line).markedSpans;if(!Q&&!J)return null;var re=M.from.ch,De=M.to.ch,mt=Kt(M.from,M.to)==0,Nt=Gr(Q,re,mt),zt=un(J,De,mt),Gt=M.text.length==1,Cr=Ge(M.text).length+(Gt?re:0);if(Nt)for(var Ur=0;Ur<Nt.length;++Ur){var en=Nt[Ur];if(en.to==null){var nn=cr(zt,en.marker);nn?Gt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=re}}if(zt)for(var xn=0;xn<zt.length;++xn){var Bn=zt[xn];if(Bn.to!=null&&(Bn.to+=Cr),Bn.from==null){var Zn=cr(Nt,Bn.marker);Zn||(Bn.from=Cr,Gt&&(Nt||(Nt=[])).push(Bn))}else Bn.from+=Cr,Gt&&(Nt||(Nt=[])).push(Bn)}Nt&&(Nt=jr(Nt)),zt&&zt!=Nt&&(zt=jr(zt));var Jn=[Nt];if(!Gt){var oi=M.text.length-2,li;if(oi>0&&Nt)for(var qe=0;qe<Nt.length;++qe)Nt[qe].to==null&&(li||(li=[])).push(new pr(Nt[qe].marker,null,null));for(var Z=0;Z<oi;++Z)Jn.push(li);Jn.push(zt)}return Jn}function jr(L){for(var M=0;M<L.length;++M){var Q=L[M];Q.from!=null&&Q.from==Q.to&&Q.marker.clearWhenEmpty!==!1&&L.splice(M--,1)}return L.length?L:null}function Tn(L,M,Q){var J=null;if(L.iter(M.line,Q.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Bn=nn.markedSpans[xn].marker;Bn.readOnly&&(!J||z(J,Bn)==-1)&&(J||(J=[])).push(Bn)}}),!J)return null;for(var re=[{from:M,to:Q}],De=0;De<J.length;++De)for(var mt=J[De],Nt=mt.find(0),zt=0;zt<re.length;++zt){var Gt=re[zt];if(Kt(Gt.to,Nt.from)<0||Kt(Gt.from,Nt.to)>0)continue;var Cr=[zt,1],Ur=Kt(Gt.from,Nt.from),en=Kt(Gt.to,Nt.to);(Ur<0||!mt.inclusiveLeft&&!Ur)&&Cr.push({from:Gt.from,to:Nt.from}),(en>0||!mt.inclusiveRight&&!en)&&Cr.push({from:Nt.to,to:Gt.to}),re.splice.apply(re,Cr),zt+=Cr.length-3}return re}function gn(L){var M=L.markedSpans;if(!M)return;for(var Q=0;Q<M.length;++Q)M[Q].marker.detachLine(L);L.markedSpans=null}function Pn(L,M){if(!M)return;for(var Q=0;Q<M.length;++Q)M[Q].marker.attachLine(L);L.markedSpans=M}function zn(L){return L.inclusiveLeft?-1:0}function qn(L){return L.inclusiveRight?1:0}function Gn(L,M){var Q=L.lines.length-M.lines.length;if(Q!=0)return Q;var J=L.find(),re=M.find(),De=Kt(J.from,re.from)||zn(L)-zn(M);if(De)return-De;var mt=Kt(J.to,re.to)||qn(L)-qn(M);return mt||M.id-L.id}function Vn(L,M){var Q=Qr&&L.markedSpans,J;if(Q)for(var re=void 0,De=0;De<Q.length;++De)re=Q[De],re.marker.collapsed&&(M?re.from:re.to)==null&&(!J||Gn(J,re.marker)<0)&&(J=re.marker);return J}function An(L){return Vn(L,!0)}function on(L){return Vn(L,!1)}function ia(L,M){var Q=Qr&&L.markedSpans,J;if(Q)for(var re=0;re<Q.length;++re){var De=Q[re];De.marker.collapsed&&(De.from==null||De.from<M)&&(De.to==null||De.to>M)&&(!J||Gn(J,De.marker)<0)&&(J=De.marker)}return J}function xa(L,M,Q,J,re){var De=te(L,M),mt=Qr&&De.markedSpans;if(mt)for(var Nt=0;Nt<mt.length;++Nt){var zt=mt[Nt];if(!zt.marker.collapsed)continue;var Gt=zt.marker.find(0),Cr=Kt(Gt.from,Q)||zn(zt.marker)-zn(re),Ur=Kt(Gt.to,J)||qn(zt.marker)-qn(re);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(zt.marker.inclusiveRight&&re.inclusiveLeft?Kt(Gt.to,Q)>=0:Kt(Gt.to,Q)>0)||Cr>=0&&(zt.marker.inclusiveRight&&re.inclusiveLeft?Kt(Gt.from,J)<=0:Kt(Gt.from,J)<0))return!0}}function ta(L){for(var M;M=An(L);)L=M.find(-1,!0).line;return L}function Ii(L){for(var M;M=on(L);)L=M.find(1,!0).line;return L}function Ci(L){for(var M,Q;M=on(L);)L=M.find(1,!0).line,(Q||(Q=[])).push(L);return Q}function Yn(L,M){var Q=te(L,M),J=ta(Q);return Q==J?M:$e(J)}function _a(L,M){if(M>L.lastLine())return M;var Q=te(L,M),J;if(!mn(L,Q))return M;for(;J=on(Q);)Q=J.find(1,!0).line;return $e(Q)+1}function mn(L,M){var Q=Qr&&M.markedSpans;if(Q)for(var J=void 0,re=0;re<Q.length;++re){if(J=Q[re],!J.marker.collapsed)continue;if(J.from==null)return!0;if(J.marker.widgetNode)continue;if(J.from==0&&J.marker.inclusiveLeft&&_n(L,M,J))return!0}}function _n(L,M,Q){if(Q.to==null){var J=Q.marker.find(1,!0);return _n(L,J.line,cr(J.line.markedSpans,Q.marker))}if(Q.marker.inclusiveRight&&Q.to==M.text.length)return!0;for(var re=void 0,De=0;De<M.markedSpans.length;++De)if(re=M.markedSpans[De],re.marker.collapsed&&!re.marker.widgetNode&&re.from==Q.to&&(re.to==null||re.to!=Q.from)&&(re.marker.inclusiveLeft||Q.marker.inclusiveRight)&&_n(L,M,re))return!0}function On(L){L=ta(L);for(var M=0,Q=L.parent,J=0;J<Q.lines.length;++J){var re=Q.lines[J];if(re==L)break;M+=re.height}for(var De=Q.parent;De;Q=De,De=Q.parent)for(var mt=0;mt<De.children.length;++mt){var Nt=De.children[mt];if(Nt==Q)break;M+=Nt.height}return M}function In(L){if(L.height==0)return 0;for(var M=L.text.length,Q,J=L;Q=An(J);){var re=Q.find(0,!0);J=re.from.line,M+=re.from.ch-re.to.ch}for(J=L;Q=on(J);){var De=Q.find(0,!0);M-=J.text.length-De.from.ch,J=De.to.line,M+=J.text.length-De.to.ch}return M}function jn(L){var M=L.display,Q=L.doc;M.maxLine=te(Q,Q.first),M.maxLineLength=In(M.maxLine),M.maxLineChanged=!0,Q.iter(function(J){var re=In(J);re>M.maxLineLength&&(M.maxLineLength=re,M.maxLine=J)})}var ni=function(M,Q,J){this.text=M,Pn(this,Q),this.height=J?J(this):1};ni.prototype.lineNo=function(){return $e(this)},st(ni);function di(L,M,Q,J){L.text=M,L.stateAfter&&(L.stateAfter=null),L.styles&&(L.styles=null),L.order!=null&&(L.order=null),gn(L),Pn(L,Q);var re=J?J(L):1;re!=L.height&&Re(L,re)}function Na(L){L.parent=null,gn(L)}var Qi={},ma={};function Ba(L,M){if(!L||/^\s*$/.test(L))return null;var Q=M.addModeClass?ma:Qi;return Q[L]||(Q[L]=L.replace(/\S+/g,"cm-$&"))}function Qa(L,M){var Q=F("span",null,null,i?"padding-right: .1px":null),J={pre:F("pre",[Q],"CodeMirror-line"),content:Q,col:0,pos:0,cm:L,trailingSpace:!1,splitSpaces:L.getOption("lineWrapping")};M.measure={};for(var re=0;re<=(M.rest?M.rest.length:0);re++){var De=re?M.rest[re-1]:M.line,mt=void 0;J.pos=0,J.addToken=Co,It(L.display.measure)&&(mt=vt(De,L.doc.direction))&&(J.addToken=Hi(J.addToken,mt)),J.map=[];var Nt=M!=L.display.externalMeasured&&$e(De);ha(De,J,ht(L,De,Nt)),De.styleClasses&&(De.styleClasses.bgClass&&(J.bgClass=R(De.styleClasses.bgClass,J.bgClass||"")),De.styleClasses.textClass&&(J.textClass=R(De.styleClasses.textClass,J.textClass||""))),J.map.length==0&&J.map.push(0,0,J.content.appendChild(ct(L.display.measure))),re==0?(M.measure.map=J.map,M.measure.cache={}):((M.measure.maps||(M.measure.maps=[])).push(J.map),(M.measure.caches||(M.measure.caches=[])).push({}))}if(i){var zt=J.content.lastChild;(/\bcm-tab\b/.test(zt.className)||zt.querySelector&&zt.querySelector(".cm-tab"))&&(J.content.className="cm-tab-wrap-hack")}return wt(L,"renderLine",L,M.line,J.pre),J.pre.className&&(J.textClass=R(J.pre.className,J.textClass||"")),J}function Wi(L){var M=N("span","\u2022","cm-invalidchar");return M.title="\\u"+L.charCodeAt(0).toString(16),M.setAttribute("aria-label",M.title),M}function Co(L,M,Q,J,re,De,mt){if(!M)return;var Nt=L.splitSpaces?aa(M,L.trailingSpace):M,zt=L.cm.state.specialChars,Gt=!1,Cr;if(!zt.test(M))L.col+=M.length,Cr=document.createTextNode(Nt),L.map.push(L.pos,L.pos+M.length,Cr),u&&o<9&&(Gt=!0),L.pos+=M.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){zt.lastIndex=Ur;var en=zt.exec(M),nn=en?en.index-Ur:M.length-Ur;if(nn){var xn=document.createTextNode(Nt.slice(Ur,Ur+nn));u&&o<9?Cr.appendChild(N("span",[xn])):Cr.appendChild(xn),L.map.push(L.pos,L.pos+nn,xn),L.col+=nn,L.pos+=nn}if(!en)break;Ur+=nn+1;var Bn=void 0;if(en[0]==" "){var Zn=L.cm.options.tabSize,Jn=Zn-L.col%Zn;Bn=Cr.appendChild(N("span",Pe(Jn),"cm-tab")),Bn.setAttribute("role","presentation"),Bn.setAttribute("cm-text"," "),L.col+=Jn}else en[0]=="\r"||en[0]==`
|
|
|
`?(Bn=Cr.appendChild(N("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Bn.setAttribute("cm-text",en[0]),L.col+=1):(Bn=L.cm.options.specialCharPlaceholder(en[0]),Bn.setAttribute("cm-text",en[0]),u&&o<9?Cr.appendChild(N("span",[Bn])):Cr.appendChild(Bn),L.col+=1);L.map.push(L.pos,L.pos+1,Bn),L.pos++}}if(L.trailingSpace=Nt.charCodeAt(M.length-1)==32,Q||J||re||Gt||De||mt){var oi=Q||"";J&&(oi+=J),re&&(oi+=re);var li=N("span",[Cr],oi,De);if(mt)for(var qe in mt)mt.hasOwnProperty(qe)&&qe!="style"&&qe!="class"&&li.setAttribute(qe,mt[qe]);return L.content.appendChild(li)}L.content.appendChild(Cr)}function aa(L,M){if(L.length>1&&!/ /.test(L))return L;for(var Q=M,J="",re=0;re<L.length;re++){var De=L.charAt(re);De==" "&&Q&&(re==L.length-1||L.charCodeAt(re+1)==32)&&(De="\xA0"),J+=De,Q=De==" "}return J}function Hi(L,M){return function(Q,J,re,De,mt,Nt,zt){re=re?re+" cm-force-border":"cm-force-border";for(var Gt=Q.pos,Cr=Gt+J.length;;){for(var Ur=void 0,en=0;en<M.length&&!(Ur=M[en],Ur.to>Gt&&Ur.from<=Gt);en++);if(Ur.to>=Cr)return L(Q,J,re,De,mt,Nt,zt);L(Q,J.slice(0,Ur.to-Gt),re,De,null,Nt,zt),De=null,J=J.slice(Ur.to-Gt),Gt=Ur.to}}}function ga(L,M,Q,J){var re=!J&&Q.widgetNode;re&&L.map.push(L.pos,L.pos+M,re),!J&&L.cm.display.input.needsContentAttribute&&(re||(re=L.content.appendChild(document.createElement("span"))),re.setAttribute("cm-marker",Q.id)),re&&(L.cm.display.input.setUneditable(re),L.content.appendChild(re)),L.pos+=M,L.trailingSpace=!1}function ha(L,M,Q){var J=L.markedSpans,re=L.text,De=0;if(!J){for(var mt=1;mt<Q.length;mt+=2)M.addToken(M,re.slice(De,De=Q[mt]),Ba(Q[mt+1],M.cm.options));return}for(var Nt=re.length,zt=0,Gt=1,Cr="",Ur,en,nn=0,xn,Bn,Zn,Jn,oi;;){if(nn==zt){xn=Bn=Zn=en="",oi=null,Jn=null,nn=Infinity;for(var li=[],qe=void 0,Z=0;Z<J.length;++Z){var Me=J[Z],Je=Me.marker;if(Je.type=="bookmark"&&Me.from==zt&&Je.widgetNode)li.push(Je);else if(Me.from<=zt&&(Me.to==null||Me.to>zt||Je.collapsed&&Me.to==zt&&Me.from==zt)){if(Me.to!=null&&Me.to!=zt&&nn>Me.to&&(nn=Me.to,Bn=""),Je.className&&(xn+=" "+Je.className),Je.css&&(en=(en?en+";":"")+Je.css),Je.startStyle&&Me.from==zt&&(Zn+=" "+Je.startStyle),Je.endStyle&&Me.to==nn&&(qe||(qe=[])).push(Je.endStyle,Me.to),Je.title&&((oi||(oi={})).title=Je.title),Je.attributes)for(var Ot in Je.attributes)(oi||(oi={}))[Ot]=Je.attributes[Ot];Je.collapsed&&(!Jn||Gn(Jn.marker,Je)<0)&&(Jn=Me)}else Me.from>zt&&nn>Me.from&&(nn=Me.from)}if(qe)for(var tr=0;tr<qe.length;tr+=2)qe[tr+1]==nn&&(Bn+=" "+qe[tr]);if(!Jn||Jn.from==zt)for(var vr=0;vr<li.length;++vr)ga(M,0,li[vr]);if(Jn&&(Jn.from||0)==zt){if(ga(M,(Jn.to==null?Nt+1:Jn.to)-zt,Jn.marker,Jn.from==null),Jn.to==null)return;Jn.to==zt&&(Jn=!1)}}if(zt>=Nt)break;for(var Lr=Math.min(Nt,nn);;){if(Cr){var Hr=zt+Cr.length;if(!Jn){var Kr=Hr>Lr?Cr.slice(0,Lr-zt):Cr;M.addToken(M,Kr,Ur?Ur+xn:xn,Zn,zt+Kr.length==nn?Bn:"",en,oi)}if(Hr>=Lr){Cr=Cr.slice(Lr-zt),zt=Lr;break}zt=Hr,Zn=""}Cr=re.slice(De,De=Q[Gt++]),Ur=Ba(Q[Gt++],M.cm.options)}}}function mo(L,M,Q){this.line=M,this.rest=Ci(M),this.size=this.rest?$e(Ge(this.rest))-Q+1:1,this.node=this.text=null,this.hidden=mn(L,M)}function kn(L,M,Q){for(var J=[],re,De=M;De<Q;De=re){var mt=new mo(L.doc,te(L.doc,De),De);re=De+mt.size,J.push(mt)}return J}var $i=null;function eo(L){$i?$i.ops.push(L):L.ownsGroup=$i={ops:[L],delayedCallbacks:[]}}function To(L){var M=L.delayedCallbacks,Q=0;do{for(;Q<M.length;Q++)M[Q].call(null);for(var J=0;J<L.ops.length;J++){var re=L.ops[J];if(re.cursorActivityHandlers)for(;re.cursorActivityCalled<re.cursorActivityHandlers.length;)re.cursorActivityHandlers[re.cursorActivityCalled++].call(null,re.cm)}}while(Q<M.length)}function uo(L,M){var Q=L.ownsGroup;if(!Q)return;try{To(Q)}finally{$i=null,M(Q)}}var rr=null;function Tr(L,M){var Q=Rt(L,M);if(!Q.length)return;var J=Array.prototype.slice.call(arguments,2),re;$i?re=$i.delayedCallbacks:rr?re=rr:(re=rr=[],setTimeout(Pr,0));for(var De=function(zt){re.push(function(){return Q[zt].apply(null,J)})},mt=0;mt<Q.length;++mt)De(mt)}function Pr(){var L=rr;rr=null;for(var M=0;M<L.length;++M)L[M]()}function Wr(L,M,Q,J){for(var re=0;re<M.changes.length;re++){var De=M.changes[re];De=="text"?Jt(L,M):De=="gutter"?_r(L,M,Q,J):De=="class"?nr(L,M):De=="widget"&&wr(L,M,J)}M.changes=null}function hn(L){return L.node==L.text&&(L.node=N("div",null,null,"position: relative"),L.text.parentNode&&L.text.parentNode.replaceChild(L.node,L.text),L.node.appendChild(L.text),u&&o<8&&(L.node.style.zIndex=2)),L.node}function tt(L,M){var Q=M.bgClass?M.bgClass+" "+(M.line.bgClass||""):M.line.bgClass;if(Q&&(Q+=" CodeMirror-linebackground"),M.background)Q?M.background.className=Q:(M.background.parentNode.removeChild(M.background),M.background=null);else if(Q){var J=hn(M);M.background=J.insertBefore(N("div",null,Q),J.firstChild),L.display.input.setUneditable(M.background)}}function jt(L,M){var Q=L.display.externalMeasured;return Q&&Q.line==M.line?(L.display.externalMeasured=null,M.measure=Q.measure,Q.built):Qa(L,M)}function Jt(L,M){var Q=M.text.className,J=jt(L,M);M.text==M.node&&(M.node=J.pre),M.text.parentNode.replaceChild(J.pre,M.text),M.text=J.pre,J.bgClass!=M.bgClass||J.textClass!=M.textClass?(M.bgClass=J.bgClass,M.textClass=J.textClass,nr(L,M)):Q&&(M.text.className=Q)}function nr(L,M){tt(L,M),M.line.wrapClass?hn(M).className=M.line.wrapClass:M.node!=M.text&&(M.node.className="");var Q=M.textClass?M.textClass+" "+(M.line.textClass||""):M.line.textClass;M.text.className=Q||""}function _r(L,M,Q,J){if(M.gutter&&(M.node.removeChild(M.gutter),M.gutter=null),M.gutterBackground&&(M.node.removeChild(M.gutterBackground),M.gutterBackground=null),M.line.gutterClass){var re=hn(M);M.gutterBackground=N("div",null,"CodeMirror-gutter-background "+M.line.gutterClass,"left: "+(L.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px; width: "+J.gutterTotalWidth+"px"),L.display.input.setUneditable(M.gutterBackground),re.insertBefore(M.gutterBackground,M.text)}var De=M.line.gutterMarkers;if(L.options.lineNumbers||De){var mt=hn(M),Nt=M.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(L.options.fixedGutter?J.fixedPos:-J.gutterTotalWidth)+"px");if(L.display.input.setUneditable(Nt),mt.insertBefore(Nt,M.text),M.line.gutterClass&&(Nt.className+=" "+M.line.gutterClass),L.options.lineNumbers&&(!De||!De["CodeMirror-linenumbers"])&&(M.lineNumber=Nt.appendChild(N("div",$t(L.options,Q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+J.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+L.display.lineNumInnerWidth+"px"))),De)for(var zt=0;zt<L.display.gutterSpecs.length;++zt){var Gt=L.display.gutterSpecs[zt].className,Cr=De.hasOwnProperty(Gt)&&De[Gt];Cr&&Nt.appendChild(N("div",[Cr],"CodeMirror-gutter-elt","left: "+J.gutterLeft[Gt]+"px; width: "+J.gutterWidth[Gt]+"px"))}}}function wr(L,M,Q){M.alignable&&(M.alignable=null);for(var J=O("CodeMirror-linewidget"),re=M.node.firstChild,De=void 0;re;re=De)De=re.nextSibling,J.test(re.className)&&M.node.removeChild(re);zr(L,M,Q)}function Er(L,M,Q,J){var re=jt(L,M);return M.text=M.node=re.pre,re.bgClass&&(M.bgClass=re.bgClass),re.textClass&&(M.textClass=re.textClass),nr(L,M),_r(L,M,Q,J),zr(L,M,J),M.node}function zr(L,M,Q){if(Jr(L,M.line,M,Q,!0),M.rest)for(var J=0;J<M.rest.length;J++)Jr(L,M.rest[J],M,Q,!1)}function Jr(L,M,Q,J,re){if(!M.widgets)return;for(var De=hn(Q),mt=0,Nt=M.widgets;mt<Nt.length;++mt){var zt=Nt[mt],Gt=N("div",[zt.node],"CodeMirror-linewidget"+(zt.className?" "+zt.className:""));zt.handleMouseEvents||Gt.setAttribute("cm-ignore-events","true"),Zr(zt,Gt,Q,J),L.display.input.setUneditable(Gt),re&&zt.above?De.insertBefore(Gt,Q.gutter||Q.text):De.appendChild(Gt),Tr(zt,"redraw")}}function Zr(L,M,Q,J){if(L.noHScroll){(Q.alignable||(Q.alignable=[])).push(M);var re=J.wrapperWidth;M.style.left=J.fixedPos+"px",L.coverGutter||(re-=J.gutterTotalWidth,M.style.paddingLeft=J.gutterTotalWidth+"px"),M.style.width=re+"px"}L.coverGutter&&(M.style.zIndex=5,M.style.position="relative",L.noHScroll||(M.style.marginLeft=-J.gutterTotalWidth+"px"))}function an(L){if(L.height!=null)return L.height;var M=L.doc.cm;if(!M)return 0;if(!P(document.body,L.node)){var Q="position: relative;";L.coverGutter&&(Q+="margin-left: -"+M.display.gutters.offsetWidth+"px;"),L.noHScroll&&(Q+="width: "+M.display.wrapper.clientWidth+"px;"),_(M.display.measure,N("div",[L.node],null,Q))}return L.height=L.node.parentNode.offsetHeight}function St(L,M){for(var Q=Qe(M);Q!=L.wrapper;Q=Q.parentNode)if(!Q||Q.nodeType==1&&Q.getAttribute("cm-ignore-events")=="true"||Q.parentNode==L.sizer&&Q!=L.mover)return!0}function Vt(L){return L.lineSpace.offsetTop}function sr(L){return L.mover.offsetHeight-L.lineSpace.offsetHeight}function br(L){if(L.cachedPaddingH)return L.cachedPaddingH;var M=_(L.measure,N("pre","x","CodeMirror-line-like")),Q=window.getComputedStyle?window.getComputedStyle(M):M.currentStyle,J={left:parseInt(Q.paddingLeft),right:parseInt(Q.paddingRight)};return!isNaN(J.left)&&!isNaN(J.right)&&(L.cachedPaddingH=J),J}function Mr(L){return X-L.display.nativeBarWidth}function Dr(L){return L.display.scroller.clientWidth-Mr(L)-L.display.barWidth}function rn(L){return L.display.scroller.clientHeight-Mr(L)-L.display.barHeight}function fn(L,M,Q){var J=L.options.lineWrapping,re=J&&Dr(L);if(!M.measure.heights||J&&M.measure.width!=re){var De=M.measure.heights=[];if(J){M.measure.width=re;for(var mt=M.text.firstChild.getClientRects(),Nt=0;Nt<mt.length-1;Nt++){var zt=mt[Nt],Gt=mt[Nt+1];Math.abs(zt.bottom-Gt.bottom)>2&&De.push((zt.bottom+Gt.top)/2-Q.top)}}De.push(Q.bottom-Q.top)}}function wn(L,M,Q){if(L.line==M)return{map:L.measure.map,cache:L.measure.cache};for(var J=0;J<L.rest.length;J++)if(L.rest[J]==M)return{map:L.measure.maps[J],cache:L.measure.caches[J]};for(var re=0;re<L.rest.length;re++)if($e(L.rest[re])>Q)return{map:L.measure.maps[re],cache:L.measure.caches[re],before:!0}}function Hn(L,M){M=ta(M);var Q=$e(M),J=L.display.externalMeasured=new mo(L.doc,M,Q);J.lineN=Q;var re=J.built=Qa(L,J);return J.text=re.pre,_(L.display.lineMeasure,re.pre),J}function Sn(L,M,Q,J){return vn(L,Mn(L,M),Q,J)}function bn(L,M){if(M>=L.display.viewFrom&&M<L.display.viewTo)return L.display.view[la(L,M)];var Q=L.display.externalMeasured;if(Q&&M>=Q.lineN&&M<Q.lineN+Q.size)return Q}function Mn(L,M){var Q=$e(M),J=bn(L,Q);J&&!J.text?J=null:J&&J.changes&&(Wr(L,J,Q,Vi(L)),L.curOp.forceUpdate=!0),J||(J=Hn(L,M));var re=wn(J,M,Q);return{line:M,view:J,rect:null,map:re.map,cache:re.cache,before:re.before,hasHeights:!1}}function vn(L,M,Q,J,re){M.before&&(Q=-1);var De=Q+(J||""),mt;return M.cache.hasOwnProperty(De)?mt=M.cache[De]:(M.rect||(M.rect=M.view.text.getBoundingClientRect()),M.hasHeights||(fn(L,M.view,M.rect),M.hasHeights=!0),mt=Xn(L,M,Q,J),mt.bogus||(M.cache[De]=mt)),{left:mt.left,right:mt.right,top:re?mt.rtop:mt.top,bottom:re?mt.rbottom:mt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(L,M,Q){for(var J,re,De,mt,Nt,zt,Gt=0;Gt<L.length;Gt+=3)if(Nt=L[Gt],zt=L[Gt+1],M<Nt?(re=0,De=1,mt="left"):M<zt?(re=M-Nt,De=re+1):(Gt==L.length-3||M==zt&&L[Gt+3]>M)&&(De=zt-Nt,re=De-1,M>=zt&&(mt="right")),re!=null){if(J=L[Gt+2],Nt==zt&&Q==(J.insertLeft?"left":"right")&&(mt=Q),Q=="left"&&re==0)for(;Gt&&L[Gt-2]==L[Gt-3]&&L[Gt-1].insertLeft;)J=L[(Gt-=3)+2],mt="left";if(Q=="right"&&re==zt-Nt)for(;Gt<L.length-3&&L[Gt+3]==L[Gt+4]&&!L[Gt+5].insertLeft;)J=L[(Gt+=3)+2],mt="right";break}return{node:J,start:re,end:De,collapse:mt,coverStart:Nt,coverEnd:zt}}function Ln(L,M){var Q=Rn;if(M=="left")for(var J=0;J<L.length&&!((Q=L[J]).left!=Q.right);J++);else for(var re=L.length-1;re>=0&&!((Q=L[re]).left!=Q.right);re--);return Q}function Xn(L,M,Q,J){var re=En(M.map,Q,J),De=re.node,mt=re.start,Nt=re.end,zt=re.collapse,Gt;if(De.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;mt&&Ce(M.line.text.charAt(re.coverStart+mt));)--mt;for(;re.coverStart+Nt<re.coverEnd&&Ce(M.line.text.charAt(re.coverStart+Nt));)++Nt;if(u&&o<9&&mt==0&&Nt==re.coverEnd-re.coverStart?Gt=De.parentNode.getBoundingClientRect():Gt=Ln(k(De,mt,Nt).getClientRects(),J),Gt.left||Gt.right||mt==0)break;Nt=mt,mt=mt-1,zt="right"}u&&o<11&&(Gt=ai(L.display.measure,Gt))}else{mt>0&&(zt=J="right");var Ur;L.options.lineWrapping&&(Ur=De.getClientRects()).length>1?Gt=Ur[J=="right"?Ur.length-1:0]:Gt=De.getBoundingClientRect()}if(u&&o<9&&!mt&&(!Gt||!Gt.left&&!Gt.right)){var en=De.parentNode.getClientRects()[0];en?Gt={left:en.left,right:en.left+Li(L.display),top:en.top,bottom:en.bottom}:Gt=Rn}for(var nn=Gt.top-M.rect.top,xn=Gt.bottom-M.rect.top,Bn=(nn+xn)/2,Zn=M.view.measure.heights,Jn=0;Jn<Zn.length-1&&!(Bn<Zn[Jn]);Jn++);var oi=Jn?Zn[Jn-1]:0,li=Zn[Jn],qe={left:(zt=="right"?Gt.right:Gt.left)-M.rect.left,right:(zt=="left"?Gt.left:Gt.right)-M.rect.left,top:oi,bottom:li};return!Gt.left&&!Gt.right&&(qe.bogus=!0),L.options.singleCursorHeightPerLine||(qe.rtop=nn,qe.rbottom=xn),qe}function ai(L,M){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!he(L))return M;var Q=screen.logicalXDPI/screen.deviceXDPI,J=screen.logicalYDPI/screen.deviceYDPI;return{left:M.left*Q,right:M.right*Q,top:M.top*J,bottom:M.bottom*J}}function ri(L){if(L.measure&&(L.measure.cache={},L.measure.heights=null,L.rest))for(var M=0;M<L.rest.length;M++)L.measure.caches[M]={}}function Di(L){L.display.externalMeasure=null,C(L.display.lineMeasure);for(var M=0;M<L.display.view.length;M++)ri(L.display.view[M])}function yi(L){Di(L),L.display.cachedCharWidth=L.display.cachedTextHeight=L.display.cachedPaddingH=null,L.options.lineWrapping||(L.display.maxLineChanged=!0),L.display.lineNumChars=null}function xi(){return a&&d?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Oi(){return a&&d?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(L){var M=0;if(L.widgets)for(var Q=0;Q<L.widgets.length;++Q)L.widgets[Q].above&&(M+=an(L.widgets[Q]));return M}function Ri(L,M,Q,J,re){if(!re){var De=Un(M);Q.top+=De,Q.bottom+=De}if(J=="line")return Q;J||(J="local");var mt=On(M);if(J=="local"?mt+=Vt(L.display):mt-=L.display.viewOffset,J=="page"||J=="window"){var Nt=L.display.lineSpace.getBoundingClientRect();mt+=Nt.top+(J=="window"?0:Oi());var zt=Nt.left+(J=="window"?0:xi());Q.left+=zt,Q.right+=zt}return Q.top+=mt,Q.bottom+=mt,Q}function fa(L,M,Q){if(Q=="div")return M;var J=M.left,re=M.top;if(Q=="page")J-=xi(),re-=Oi();else if(Q=="local"||!Q){var De=L.display.sizer.getBoundingClientRect();J+=De.left,re+=De.top}var mt=L.display.lineSpace.getBoundingClientRect();return{left:J-mt.left,top:re-mt.top}}function Ui(L,M,Q,J,re){return J||(J=te(L.doc,M.line)),Ri(L,J,Sn(L,J,M.ch,re),Q)}function Mi(L,M,Q,J,re,De){J=J||te(L.doc,M.line),re||(re=Mn(L,J));function mt(xn,Bn){var Zn=vn(L,re,xn,Bn?"right":"left",De);return Bn?Zn.left=Zn.right:Zn.right=Zn.left,Ri(L,J,Zn,Q)}var Nt=vt(J,L.doc.direction),zt=M.ch,Gt=M.sticky;if(zt>=J.text.length?(zt=J.text.length,Gt="before"):zt<=0&&(zt=0,Gt="after"),!Nt)return mt(Gt=="before"?zt-1:zt,Gt=="before");function Cr(xn,Bn,Zn){var Jn=Nt[Bn],oi=Jn.level==1;return mt(Zn?xn-1:xn,oi!=Zn)}var Ur=Oe(Nt,zt,Gt),en=me,nn=Cr(zt,Ur,Gt=="before");return en!=null&&(nn.other=Cr(zt,en,Gt!="before")),nn}function mi(L,M){var Q=0;M=ot(L.doc,M),L.options.lineWrapping||(Q=Li(L.display)*M.ch);var J=te(L.doc,M.line),re=On(J)+Vt(L.display);return{left:Q,right:Q,top:re,bottom:re+J.height}}function hi(L,M,Q,J,re){var De=Dt(L,M,Q);return De.xRel=re,J&&(De.outside=J),De}function qi(L,M,Q){var J=L.doc;if(Q+=L.display.viewOffset,Q<0)return hi(J.first,0,null,-1,-1);var re=gt(J,Q),De=J.first+J.size-1;if(re>De)return hi(J.first+J.size-1,te(J,De).text.length,null,1,1);M<0&&(M=0);for(var mt=te(J,re);;){var Nt=oa(L,mt,re,M,Q),zt=ia(mt,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!zt)return Nt;var Gt=zt.find(1);if(Gt.line==re)return Gt;mt=te(J,re=Gt.line)}}function va(L,M,Q,J){J-=Un(M);var re=M.text.length,De=_e(function(mt){return vn(L,Q,mt-1).bottom<=J},re,0);return re=_e(function(mt){return vn(L,Q,mt).top>J},De,re),{begin:De,end:re}}function Ea(L,M,Q,J){Q||(Q=Mn(L,M));var re=Ri(L,M,vn(L,Q,J),"line").top;return va(L,M,Q,re)}function ya(L,M,Q,J){return L.bottom<=Q?!1:L.top>Q?!0:(J?L.left:L.right)>M}function oa(L,M,Q,J,re){re-=On(M);var De=Mn(L,M),mt=Un(M),Nt=0,zt=M.text.length,Gt=!0,Cr=vt(M,L.doc.direction);if(Cr){var Ur=(L.options.lineWrapping?Ni:sa)(L,M,Q,De,Cr,J,re);Gt=Ur.level!=1,Nt=Gt?Ur.from:Ur.to-1,zt=Gt?Ur.to:Ur.from-1}var en=null,nn=null,xn=_e(function(Z){var Me=vn(L,De,Z);return Me.top+=mt,Me.bottom+=mt,ya(Me,J,re,!1)?(Me.top<=re&&Me.left<=J&&(en=Z,nn=Me),!0):!1},Nt,zt),Bn,Zn,Jn=!1;if(nn){var oi=J-nn.left<nn.right-J,li=oi==Gt;xn=en+(li?0:1),Zn=li?"after":"before",Bn=oi?nn.left:nn.right}else{!Gt&&(xn==zt||xn==Nt)&&xn++,Zn=xn==0?"after":xn==M.text.length?"before":vn(L,De,xn-(Gt?1:0)).bottom+mt<=re==Gt?"after":"before";var qe=Mi(L,Dt(Q,xn,Zn),"line",M,De);Bn=qe.left,Jn=re<qe.top?-1:re>=qe.bottom?1:0}return xn=ze(M.text,xn,1),hi(Q,xn,Zn,Jn,J-Bn)}function sa(L,M,Q,J,re,De,mt){var Nt=_e(function(Ur){var en=re[Ur],nn=en.level!=1;return ya(Mi(L,Dt(Q,nn?en.to:en.from,nn?"before":"after"),"line",M,J),De,mt,!0)},0,re.length-1),zt=re[Nt];if(Nt>0){var Gt=zt.level!=1,Cr=Mi(L,Dt(Q,Gt?zt.from:zt.to,Gt?"after":"before"),"line",M,J);ya(Cr,De,mt,!0)&&Cr.top>mt&&(zt=re[Nt-1])}return zt}function Ni(L,M,Q,J,re,De,mt){var Nt=va(L,M,J,mt),zt=Nt.begin,Gt=Nt.end;/\s/.test(M.text.charAt(Gt-1))&&Gt--;for(var Cr=null,Ur=null,en=0;en<re.length;en++){var nn=re[en];if(nn.from>=Gt||nn.to<=zt)continue;var xn=nn.level!=1,Bn=vn(L,J,xn?Math.min(Gt,nn.to)-1:Math.max(zt,nn.from)).right,Zn=Bn<De?De-Bn+1e9:Bn-De;(!Cr||Ur>Zn)&&(Cr=nn,Ur=Zn)}return Cr||(Cr=re[re.length-1]),Cr.from<zt&&(Cr={from:zt,to:Cr.to,level:Cr.level}),Cr.to>Gt&&(Cr={from:Cr.from,to:Gt,level:Cr.level}),Cr}var $n;function Ai(L){if(L.cachedTextHeight!=null)return L.cachedTextHeight;if($n==null){$n=N("pre",null,"CodeMirror-line-like");for(var M=0;M<49;++M)$n.appendChild(document.createTextNode("x")),$n.appendChild(N("br"));$n.appendChild(document.createTextNode("x"))}_(L.measure,$n);var Q=$n.offsetHeight/50;return Q>3&&(L.cachedTextHeight=Q),C(L.measure),Q||1}function Li(L){if(L.cachedCharWidth!=null)return L.cachedCharWidth;var M=N("span","xxxxxxxxxx"),Q=N("pre",[M],"CodeMirror-line-like");_(L.measure,Q);var J=M.getBoundingClientRect(),re=(J.right-J.left)/10;return re>2&&(L.cachedCharWidth=re),re||10}function Vi(L){for(var M=L.display,Q={},J={},re=M.gutters.clientLeft,De=M.gutters.firstChild,mt=0;De;De=De.nextSibling,++mt){var Nt=L.display.gutterSpecs[mt].className;Q[Nt]=De.offsetLeft+De.clientLeft+re,J[Nt]=De.clientWidth}return{fixedPos:Xi(M),gutterTotalWidth:M.gutters.offsetWidth,gutterLeft:Q,gutterWidth:J,wrapperWidth:M.wrapper.clientWidth}}function Xi(L){return L.scroller.getBoundingClientRect().left-L.sizer.getBoundingClientRect().left}function bi(L){var M=Ai(L.display),Q=L.options.lineWrapping,J=Q&&Math.max(5,L.display.scroller.clientWidth/Li(L.display)-3);return function(re){if(mn(L.doc,re))return 0;var De=0;if(re.widgets)for(var mt=0;mt<re.widgets.length;mt++)re.widgets[mt].height&&(De+=re.widgets[mt].height);return Q?De+(Math.ceil(re.text.length/J)||1)*M:De+M}}function Aa(L){var M=L.doc,Q=bi(L);M.iter(function(J){var re=Q(J);re!=J.height&&Re(J,re)})}function ca(L,M,Q,J){var re=L.display;if(!Q&&Qe(M).getAttribute("cm-not-content")=="true")return null;var De,mt,Nt=re.lineSpace.getBoundingClientRect();try{De=M.clientX-Nt.left,mt=M.clientY-Nt.top}catch(Ur){return null}var zt=qi(L,De,mt),Gt;if(J&&zt.xRel>0&&(Gt=te(L.doc,zt.line).text).length==zt.ch){var Cr=W(Gt,Gt.length,L.options.tabSize)-Gt.length;zt=Dt(zt.line,Math.max(0,Math.round((De-br(L.display).left)/Li(L.display))-Cr))}return zt}function la(L,M){if(M>=L.display.viewTo)return null;if(M-=L.display.viewFrom,M<0)return null;for(var Q=L.display.view,J=0;J<Q.length;J++)if(M-=Q[J].size,M<0)return J}function gi(L,M,Q,J){M==null&&(M=L.doc.first),Q==null&&(Q=L.doc.first+L.doc.size),J||(J=0);var re=L.display;if(J&&Q<re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>M)&&(re.updateLineNumbers=M),L.curOp.viewChanged=!0,M>=re.viewTo)Qr&&Yn(L.doc,M)<re.viewTo&&Ma(L);else if(Q<=re.viewFrom)Qr&&_a(L.doc,Q+J)>re.viewFrom?Ma(L):(re.viewFrom+=J,re.viewTo+=J);else if(M<=re.viewFrom&&Q>=re.viewTo)Ma(L);else if(M<=re.viewFrom){var De=ra(L,Q,Q+J,1);De?(re.view=re.view.slice(De.index),re.viewFrom=De.lineN,re.viewTo+=J):Ma(L)}else if(Q>=re.viewTo){var mt=ra(L,M,M,-1);mt?(re.view=re.view.slice(0,mt.index),re.viewTo=mt.lineN):Ma(L)}else{var Nt=ra(L,M,M,-1),zt=ra(L,Q,Q+J,1);Nt&&zt?(re.view=re.view.slice(0,Nt.index).concat(kn(L,Nt.lineN,zt.lineN)).concat(re.view.slice(zt.index)),re.viewTo+=J):Ma(L)}var Gt=re.externalMeasured;Gt&&(Q<Gt.lineN?Gt.lineN+=J:M<Gt.lineN+Gt.size&&(re.externalMeasured=null))}function Pa(L,M,Q){L.curOp.viewChanged=!0;var J=L.display,re=L.display.externalMeasured;if(re&&M>=re.lineN&&M<re.lineN+re.size&&(J.externalMeasured=null),M<J.viewFrom||M>=J.viewTo)return;var De=J.view[la(L,M)];if(De.node==null)return;var mt=De.changes||(De.changes=[]);z(mt,Q)==-1&&mt.push(Q)}function Ma(L){L.display.viewFrom=L.display.viewTo=L.doc.first,L.display.view=[],L.display.viewOffset=0}function ra(L,M,Q,J){var re=la(L,M),De,mt=L.display.view;if(!Qr||Q==L.doc.first+L.doc.size)return{index:re,lineN:Q};for(var Nt=L.display.viewFrom,zt=0;zt<re;zt++)Nt+=mt[zt].size;if(Nt!=M){if(J>0){if(re==mt.length-1)return null;De=Nt+mt[re].size-M,re++}else De=Nt-M;M+=De,Q+=De}for(;Yn(L.doc,Q)!=Q;){if(re==(J<0?0:mt.length-1))return null;Q+=J*mt[re-(J<0?1:0)].size,re+=J}return{index:re,lineN:Q}}function Gi(L,M,Q){var J=L.display,re=J.view;re.length==0||M>=J.viewTo||Q<=J.viewFrom?(J.view=kn(L,M,Q),J.viewFrom=M):(J.viewFrom>M?J.view=kn(L,M,J.viewFrom).concat(J.view):J.viewFrom<M&&(J.view=J.view.slice(la(L,M))),J.viewFrom=M,J.viewTo<Q?J.view=J.view.concat(kn(L,J.viewTo,Q)):J.viewTo>Q&&(J.view=J.view.slice(0,la(L,Q)))),J.viewTo=Q}function Xa(L){for(var M=L.display.view,Q=0,J=0;J<M.length;J++){var re=M[J];!re.hidden&&(!re.node||re.changes)&&++Q}return Q}function Ki(L){L.display.input.showSelection(L.display.input.prepareSelection())}function zi(L,M){M===void 0&&(M=!0);for(var Q=L.doc,J={},re=J.cursors=document.createDocumentFragment(),De=J.selection=document.createDocumentFragment(),mt=0;mt<Q.sel.ranges.length;mt++){if(!M&&mt==Q.sel.primIndex)continue;var Nt=Q.sel.ranges[mt];if(Nt.from().line>=L.display.viewTo||Nt.to().line<L.display.viewFrom)continue;var zt=Nt.empty();(zt||L.options.showCursorWhenSelecting)&&ba(L,Nt.head,re),zt||wa(L,Nt,De)}return J}function ba(L,M,Q){var J=Mi(L,M,"div",null,null,!L.options.singleCursorHeightPerLine),re=Q.appendChild(N("div","\xA0","CodeMirror-cursor"));if(re.style.left=J.left+"px",re.style.top=J.top+"px",re.style.height=Math.max(0,J.bottom-J.top)*L.options.cursorHeight+"px",J.other){var De=Q.appendChild(N("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));De.style.display="",De.style.left=J.other.left+"px",De.style.top=J.other.top+"px",De.style.height=(J.other.bottom-J.other.top)*.85+"px"}}function Ua(L,M){return L.top-M.top||L.left-M.left}function wa(L,M,Q){var J=L.display,re=L.doc,De=document.createDocumentFragment(),mt=br(L.display),Nt=mt.left,zt=Math.max(J.sizerWidth,Dr(L)-J.sizer.offsetLeft)-mt.right,Gt=re.direction=="ltr";function Cr(li,qe,Z,Me){qe<0&&(qe=0),qe=Math.round(qe),Me=Math.round(Me),De.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
|
|
|
top: `+qe+"px; width: "+(Z==null?zt-li:Z)+`px;
|
|
|
height: `+(Me-qe)+"px"))}function Ur(li,qe,Z){var Me=te(re,li),Je=Me.text.length,Ot,tr;function vr(Kr,cn){return Ui(L,Dt(li,Kr),"div",Me,cn)}function Lr(Kr,cn,sn){var Fn=Ea(L,Me,null,Kr),si=cn=="ltr"==(sn=="after")?"left":"right",Kn=sn=="after"?Fn.begin:Fn.end-(/\s/.test(Me.text.charAt(Fn.end-1))?2:1);return vr(Kn,si)[si]}var Hr=vt(Me,re.direction);return ae(Hr,qe||0,Z==null?Je:Z,function(Kr,cn,sn,Fn){var si=sn=="ltr",Kn=vr(Kr,si?"left":"right"),fi=vr(cn-1,si?"right":"left"),da=qe==null&&Kr==0,Ti=Z==null&&cn==Je,na=Fn==0,Ia=!Hr||Fn==Hr.length-1;if(fi.top-Kn.top<=3){var Pi=(Gt?da:Ti)&&na,Io=(Gt?Ti:da)&&Ia,no=Pi?Nt:(si?Kn:fi).left,zo=Io?zt:(si?fi:Kn).right;Cr(no,Kn.top,zo-no,Kn.bottom)}else{var Po,ka,Wo,fs;si?(Po=Gt&&da&&na?Nt:Kn.left,ka=Gt?zt:Lr(Kr,sn,"before"),Wo=Gt?Nt:Lr(cn,sn,"after"),fs=Gt&&Ti&&Ia?zt:fi.right):(Po=Gt?Lr(Kr,sn,"before"):Nt,ka=!Gt&&da&&na?zt:Kn.right,Wo=!Gt&&Ti&&Ia?Nt:fi.left,fs=Gt?Lr(cn,sn,"after"):zt),Cr(Po,Kn.top,ka-Po,Kn.bottom),Kn.bottom<fi.top&&Cr(Nt,Kn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Ot||Ua(Kn,Ot)<0)&&(Ot=Kn),Ua(fi,Ot)<0&&(Ot=fi),(!tr||Ua(Kn,tr)<0)&&(tr=Kn),Ua(fi,tr)<0&&(tr=fi)}),{start:Ot,end:tr}}var en=M.from(),nn=M.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=te(re,en.line),Bn=te(re,nn.line),Zn=ta(xn)==ta(Bn),Jn=Ur(en.line,en.ch,Zn?xn.text.length+1:null).end,oi=Ur(nn.line,Zn?0:null,nn.ch).start;Zn&&(Jn.top<oi.top-2?(Cr(Jn.right,Jn.top,null,Jn.bottom),Cr(Nt,oi.top,oi.left,oi.bottom)):Cr(Jn.right,Jn.top,oi.left-Jn.right,Jn.bottom)),Jn.bottom<oi.top&&Cr(Nt,Jn.bottom,null,oi.top)}Q.appendChild(De)}function vi(L){if(!L.state.focused)return;var M=L.display;clearInterval(M.blinker);var Q=!0;M.cursorDiv.style.visibility="",L.options.cursorBlinkRate>0?M.blinker=setInterval(function(){L.hasFocus()||_i(L),M.cursorDiv.style.visibility=(Q=!Q)?"":"hidden"},L.options.cursorBlinkRate):L.options.cursorBlinkRate<0&&(M.cursorDiv.style.visibility="hidden")}function Ga(L){L.state.focused||(L.display.input.focus(),pa(L))}function Ka(L){L.state.delayingBlurEvent=!0,setTimeout(function(){L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1,_i(L))},100)}function pa(L,M){if(L.state.delayingBlurEvent&&(L.state.delayingBlurEvent=!1),L.options.readOnly=="nocursor")return;L.state.focused||(wt(L,"focus",L,M),L.state.focused=!0,K(L.display.wrapper,"CodeMirror-focused"),!L.curOp&&L.display.selForContextMenu!=L.doc.sel&&(L.display.input.reset(),i&&setTimeout(function(){return L.display.input.reset(!0)},20)),L.display.input.receivedFocus()),vi(L)}function _i(L,M){if(L.state.delayingBlurEvent)return;L.state.focused&&(wt(L,"blur",L,M),L.state.focused=!1,x(L.display.wrapper,"CodeMirror-focused")),clearInterval(L.display.blinker),setTimeout(function(){L.state.focused||(L.display.shift=!1)},150)}function So(L){for(var M=L.display,Q=M.lineDiv.offsetTop,J=0;J<M.view.length;J++){var re=M.view[J],De=L.options.lineWrapping,mt=void 0,Nt=0;if(re.hidden)continue;if(u&&o<8){var zt=re.node.offsetTop+re.node.offsetHeight;mt=zt-Q,Q=zt}else{var Gt=re.node.getBoundingClientRect();mt=Gt.bottom-Gt.top,!De&&re.text.firstChild&&(Nt=re.text.firstChild.getBoundingClientRect().right-Gt.left-1)}var Cr=re.line.height-mt;if((Cr>.005||Cr<-.005)&&(Re(re.line,mt),za(re.line),re.rest))for(var Ur=0;Ur<re.rest.length;Ur++)za(re.rest[Ur]);if(Nt>L.display.sizerWidth){var en=Math.ceil(Nt/Li(L.display));en>L.display.maxLineLength&&(L.display.maxLineLength=en,L.display.maxLine=re.line,L.display.maxLineChanged=!0)}}}function za(L){if(L.widgets)for(var M=0;M<L.widgets.length;++M){var Q=L.widgets[M],J=Q.node.parentNode;J&&(Q.height=J.offsetHeight)}}function ja(L,M,Q){var J=Q&&Q.top!=null?Math.max(0,Q.top):L.scroller.scrollTop;J=Math.floor(J-Vt(L));var re=Q&&Q.bottom!=null?Q.bottom:J+L.wrapper.clientHeight,De=gt(M,J),mt=gt(M,re);if(Q&&Q.ensure){var Nt=Q.ensure.from.line,zt=Q.ensure.to.line;Nt<De?(De=Nt,mt=gt(M,On(te(M,Nt))+L.wrapper.clientHeight)):Math.min(zt,M.lastLine())>=mt&&(De=gt(M,On(te(M,zt))-L.wrapper.clientHeight),mt=zt)}return{from:De,to:Math.max(mt,De+1)}}function qa(L,M){if(Ye(L,"scrollCursorIntoView"))return;var Q=L.display,J=Q.sizer.getBoundingClientRect(),re=null;if(M.top+J.top<0?re=!0:M.bottom+J.top>(window.innerHeight||document.documentElement.clientHeight)&&(re=!1),re!=null&&!t){var De=N("div","\u200B",null,`position: absolute;
|
|
|
top: `+(M.top-Q.viewOffset-Vt(L.display))+`px;
|
|
|
height: `+(M.bottom-M.top+Mr(L)+Q.barHeight)+`px;
|
|
|
left: `+M.left+"px; width: "+Math.max(2,M.right-M.left)+"px;");L.display.lineSpace.appendChild(De),De.scrollIntoView(re),L.display.lineSpace.removeChild(De)}}function ho(L,M,Q,J){J==null&&(J=0);var re;!L.options.lineWrapping&&M==Q&&(M=M.ch?Dt(M.line,M.sticky=="before"?M.ch-1:M.ch,"after"):M,Q=M.sticky=="before"?Dt(M.line,M.ch+1,"before"):M);for(var De=0;De<5;De++){var mt=!1,Nt=Mi(L,M),zt=!Q||Q==M?Nt:Mi(L,Q);re={left:Math.min(Nt.left,zt.left),top:Math.min(Nt.top,zt.top)-J,right:Math.max(Nt.left,zt.left),bottom:Math.max(Nt.bottom,zt.bottom)+J};var Gt=to(L,re),Cr=L.doc.scrollTop,Ur=L.doc.scrollLeft;if(Gt.scrollTop!=null&&(Yi(L,Gt.scrollTop),Math.abs(L.doc.scrollTop-Cr)>1&&(mt=!0)),Gt.scrollLeft!=null&&(go(L,Gt.scrollLeft),Math.abs(L.doc.scrollLeft-Ur)>1&&(mt=!0)),!mt)break}return re}function Ca(L,M){var Q=to(L,M);Q.scrollTop!=null&&Yi(L,Q.scrollTop),Q.scrollLeft!=null&&go(L,Q.scrollLeft)}function to(L,M){var Q=L.display,J=Ai(L.display);M.top<0&&(M.top=0);var re=L.curOp&&L.curOp.scrollTop!=null?L.curOp.scrollTop:Q.scroller.scrollTop,De=rn(L),mt={};M.bottom-M.top>De&&(M.bottom=M.top+De);var Nt=L.doc.height+sr(Q),zt=M.top<J,Gt=M.bottom>Nt-J;if(M.top<re)mt.scrollTop=zt?0:M.top;else if(M.bottom>re+De){var Cr=Math.min(M.top,(Gt?Nt:M.bottom)-De);Cr!=re&&(mt.scrollTop=Cr)}var Ur=L.options.fixedGutter?0:Q.gutters.offsetWidth,en=L.curOp&&L.curOp.scrollLeft!=null?L.curOp.scrollLeft:Q.scroller.scrollLeft-Ur,nn=Dr(L)-Q.gutters.offsetWidth,xn=M.right-M.left>nn;return xn&&(M.right=M.left+nn),M.left<10?mt.scrollLeft=0:M.left<en?mt.scrollLeft=Math.max(0,M.left+Ur-(xn?0:10)):M.right>nn+en-3&&(mt.scrollLeft=M.right+(xn?0:10)-nn),mt}function Oo(L,M){if(M==null)return;Da(L),L.curOp.scrollTop=(L.curOp.scrollTop==null?L.doc.scrollTop:L.curOp.scrollTop)+M}function La(L){Da(L);var M=L.getCursor();L.curOp.scrollToPos={from:M,to:M,margin:L.options.cursorScrollMargin}}function Fi(L,M,Q){(M!=null||Q!=null)&&Da(L),M!=null&&(L.curOp.scrollLeft=M),Q!=null&&(L.curOp.scrollTop=Q)}function Ja(L,M){Da(L),L.curOp.scrollToPos=M}function Da(L){var M=L.curOp.scrollToPos;if(M){L.curOp.scrollToPos=null;var Q=mi(L,M.from),J=mi(L,M.to);pi(L,Q,J,M.margin)}}function pi(L,M,Q,J){var re=to(L,{left:Math.min(M.left,Q.left),top:Math.min(M.top,Q.top)-J,right:Math.max(M.right,Q.right),bottom:Math.max(M.bottom,Q.bottom)+J});Fi(L,re.scrollLeft,re.scrollTop)}function Yi(L,M){if(Math.abs(L.doc.scrollTop-M)<2)return;y||Lo(L,{top:M}),oo(L,M,!0),y&&Lo(L),ps(L,100)}function oo(L,M,Q){if(M=Math.max(0,Math.min(L.display.scroller.scrollHeight-L.display.scroller.clientHeight,M)),L.display.scroller.scrollTop==M&&!Q)return;L.doc.scrollTop=M,L.display.scrollbars.setScrollTop(M),L.display.scroller.scrollTop!=M&&(L.display.scroller.scrollTop=M)}function go(L,M,Q,J){if(M=Math.max(0,Math.min(M,L.display.scroller.scrollWidth-L.display.scroller.clientWidth)),(Q?M==L.doc.scrollLeft:Math.abs(L.doc.scrollLeft-M)<2)&&!J)return;L.doc.scrollLeft=M,ms(L),L.display.scroller.scrollLeft!=M&&(L.display.scroller.scrollLeft=M),L.display.scrollbars.setScrollLeft(M)}function fo(L){var M=L.display,Q=M.gutters.offsetWidth,J=Math.round(L.doc.height+sr(L.display));return{clientHeight:M.scroller.clientHeight,viewHeight:M.wrapper.clientHeight,scrollWidth:M.scroller.scrollWidth,clientWidth:M.scroller.clientWidth,viewWidth:M.wrapper.clientWidth,barLeft:L.options.fixedGutter?Q:0,docHeight:J,scrollHeight:J+Mr(L)+M.barHeight,nativeBarWidth:M.nativeBarWidth,gutterWidth:Q}}var Ta=function(M,Q,J){this.cm=J;var re=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),De=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");re.tabIndex=De.tabIndex=-1,M(re),M(De),Be(re,"scroll",function(){re.clientHeight&&Q(re.scrollTop,"vertical")}),Be(De,"scroll",function(){De.clientWidth&&Q(De.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,u&&o<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(L){var M=L.scrollWidth>L.clientWidth+1,Q=L.scrollHeight>L.clientHeight+1,J=L.nativeBarWidth;if(Q){this.vert.style.display="block",this.vert.style.bottom=M?J+"px":"0";var re=L.viewHeight-(M?J:0);this.vert.firstChild.style.height=Math.max(0,L.scrollHeight-L.clientHeight+re)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(M){this.horiz.style.display="block",this.horiz.style.right=Q?J+"px":"0",this.horiz.style.left=L.barLeft+"px";var De=L.viewWidth-L.barLeft-(Q?J:0);this.horiz.firstChild.style.width=Math.max(0,L.scrollWidth-L.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&L.clientHeight>0&&(J==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Q?J:0,bottom:M?J:0}},Ta.prototype.setScrollLeft=function(L){this.horiz.scrollLeft!=L&&(this.horiz.scrollLeft=L),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(L){this.vert.scrollTop!=L&&(this.vert.scrollTop=L),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var L=w&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=L,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},Ta.prototype.enableZeroWidthBar=function(L,M,Q){L.style.pointerEvents="auto";function J(){var re=L.getBoundingClientRect(),De=Q=="vert"?document.elementFromPoint(re.right-1,(re.top+re.bottom)/2):document.elementFromPoint((re.right+re.left)/2,re.bottom-1);De!=L?L.style.pointerEvents="none":M.set(1e3,J)}M.set(1e3,J)},Ta.prototype.clear=function(){var L=this.horiz.parentNode;L.removeChild(this.horiz),L.removeChild(this.vert)};var ki=function(){};ki.prototype.update=function(){return{bottom:0,right:0}},ki.prototype.setScrollLeft=function(){},ki.prototype.setScrollTop=function(){},ki.prototype.clear=function(){};function Ra(L,M){M||(M=fo(L));var Q=L.display.barWidth,J=L.display.barHeight;Vo(L,M);for(var re=0;re<4&&Q!=L.display.barWidth||J!=L.display.barHeight;re++)Q!=L.display.barWidth&&L.options.lineWrapping&&So(L),Vo(L,fo(L)),Q=L.display.barWidth,J=L.display.barHeight}function Vo(L,M){var Q=L.display,J=Q.scrollbars.update(M);Q.sizer.style.paddingRight=(Q.barWidth=J.right)+"px",Q.sizer.style.paddingBottom=(Q.barHeight=J.bottom)+"px",Q.heightForcer.style.borderBottom=J.bottom+"px solid transparent",J.right&&J.bottom?(Q.scrollbarFiller.style.display="block",Q.scrollbarFiller.style.height=J.bottom+"px",Q.scrollbarFiller.style.width=J.right+"px"):Q.scrollbarFiller.style.display="",J.bottom&&L.options.coverGutterNextToScrollbar&&L.options.fixedGutter?(Q.gutterFiller.style.display="block",Q.gutterFiller.style.height=J.bottom+"px",Q.gutterFiller.style.width=M.gutterWidth+"px"):Q.gutterFiller.style.display=""}var ro={native:Ta,null:ki};function vo(L){L.display.scrollbars&&(L.display.scrollbars.clear(),L.display.scrollbars.addClass&&x(L.display.wrapper,L.display.scrollbars.addClass)),L.display.scrollbars=new ro[L.options.scrollbarStyle](function(M){L.display.wrapper.insertBefore(M,L.display.scrollbarFiller),Be(M,"mousedown",function(){L.state.focused&&setTimeout(function(){return L.display.input.focus()},0)}),M.setAttribute("cm-not-content","true")},function(M,Q){Q=="horizontal"?go(L,M):Yi(L,M)},L),L.display.scrollbars.addClass&&K(L.display.wrapper,L.display.scrollbars.addClass)}var po=0;function Zi(L){L.curOp={cm:L,viewChanged:!1,startHeight:L.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:++po},eo(L.curOp)}function xo(L){var M=L.curOp;M&&uo(M,function(Q){for(var J=0;J<Q.ops.length;J++)Q.ops[J].cm.curOp=null;is(Q)})}function is(L){for(var M=L.ops,Q=0;Q<M.length;Q++)Jo(M[Q]);for(var J=0;J<M.length;J++)Is(M[J]);for(var re=0;re<M.length;re++)Cs(M[re]);for(var De=0;De<M.length;De++)Ts(M[De]);for(var mt=0;mt<M.length;mt++)Yo(M[mt])}function Jo(L){var M=L.cm,Q=M.display;ss(M),L.updateMaxLine&&jn(M),L.mustUpdate=L.viewChanged||L.forceUpdate||L.scrollTop!=null||L.scrollToPos&&(L.scrollToPos.from.line<Q.viewFrom||L.scrollToPos.to.line>=Q.viewTo)||Q.maxLineChanged&&M.options.lineWrapping,L.update=L.mustUpdate&&new Xo(M,L.mustUpdate&&{top:L.scrollTop,ensure:L.scrollToPos},L.forceUpdate)}function Is(L){L.updatedDisplay=L.mustUpdate&&Oa(L.cm,L.update)}function Cs(L){var M=L.cm,Q=M.display;L.updatedDisplay&&So(M),L.barMeasure=fo(M),Q.maxLineChanged&&!M.options.lineWrapping&&(L.adjustWidthTo=Sn(M,Q.maxLine,Q.maxLine.text.length).left+3,M.display.sizerWidth=L.adjustWidthTo,L.barMeasure.scrollWidth=Math.max(Q.scroller.clientWidth,Q.sizer.offsetLeft+L.adjustWidthTo+Mr(M)+M.display.barWidth),L.maxScrollLeft=Math.max(0,Q.sizer.offsetLeft+L.adjustWidthTo-Dr(M))),(L.updatedDisplay||L.selectionChanged)&&(L.preparedSelection=Q.input.prepareSelection())}function Ts(L){var M=L.cm;L.adjustWidthTo!=null&&(M.display.sizer.style.minWidth=L.adjustWidthTo+"px",L.maxScrollLeft<M.doc.scrollLeft&&go(M,Math.min(M.display.scroller.scrollLeft,L.maxScrollLeft),!0),M.display.maxLineChanged=!1);var Q=L.focus&&L.focus==j();L.preparedSelection&&M.display.input.showSelection(L.preparedSelection,Q),(L.updatedDisplay||L.startHeight!=M.doc.height)&&Ra(M,L.barMeasure),L.updatedDisplay&&rs(M,L.barMeasure),L.selectionChanged&&vi(M),M.state.focused&&L.updateInput&&M.display.input.reset(L.typing),Q&&Ga(L.cm)}function Yo(L){var M=L.cm,Q=M.display,J=M.doc;if(L.updatedDisplay&&_o(M,L.update),Q.wheelStartX!=null&&(L.scrollTop!=null||L.scrollLeft!=null||L.scrollToPos)&&(Q.wheelStartX=Q.wheelStartY=null),L.scrollTop!=null&&oo(M,L.scrollTop,L.forceScroll),L.scrollLeft!=null&&go(M,L.scrollLeft,!0,!0),L.scrollToPos){var re=ho(M,ot(J,L.scrollToPos.from),ot(J,L.scrollToPos.to),L.scrollToPos.margin);qa(M,re)}var De=L.maybeHiddenMarkers,mt=L.maybeUnhiddenMarkers;if(De)for(var Nt=0;Nt<De.length;++Nt)De[Nt].lines.length||wt(De[Nt],"hide");if(mt)for(var zt=0;zt<mt.length;++zt)mt[zt].lines.length&&wt(mt[zt],"unhide");Q.wrapper.offsetHeight&&(J.scrollTop=M.display.scroller.scrollTop),L.changeObjs&&wt(M,"changes",M,L.changeObjs),L.update&&L.update.finish()}function bo(L,M){if(L.curOp)return M();Zi(L);try{return M()}finally{xo(L)}}function Za(L,M){return function(){if(L.curOp)return M.apply(L,arguments);Zi(L);try{return M.apply(L,arguments)}finally{xo(L)}}}function Ya(L){return function(){if(this.curOp)return L.apply(this,arguments);Zi(this);try{return L.apply(this,arguments)}finally{xo(this)}}}function so(L){return function(){var M=this.cm;if(!M||M.curOp)return L.apply(this,arguments);Zi(M);try{return L.apply(this,arguments)}finally{xo(M)}}}function ps(L,M){L.doc.highlightFrontier<L.display.viewTo&&L.state.highlight.set(M,U(Sr,L))}function Sr(L){var M=L.doc;if(M.highlightFrontier>=L.display.viewTo)return;var Q=+new Date+L.options.workTime,J=Ht(L,M.highlightFrontier),re=[];M.iter(J.line,Math.min(M.first+M.size,L.display.viewTo+500),function(De){if(J.line>=L.display.viewFrom){var mt=De.styles,Nt=De.text.length>L.options.maxHighlightLength?_t(M.mode,J.state):null,zt=Tt(L,De,J,!0);Nt&&(J.state=Nt),De.styles=zt.styles;var Gt=De.styleClasses,Cr=zt.classes;Cr?De.styleClasses=Cr:Gt&&(De.styleClasses=null);for(var Ur=!mt||mt.length!=De.styles.length||Gt!=Cr&&(!Gt||!Cr||Gt.bgClass!=Cr.bgClass||Gt.textClass!=Cr.textClass),en=0;!Ur&&en<mt.length;++en)Ur=mt[en]!=De.styles[en];Ur&&re.push(J.line),De.stateAfter=J.save(),J.nextLine()}else De.text.length<=L.options.maxHighlightLength&&Ft(L,De.text,J),De.stateAfter=J.line%5==0?J.save():null,J.nextLine();if(+new Date>Q)return ps(L,L.options.workDelay),!0}),M.highlightFrontier=J.line,M.modeFrontier=Math.max(M.modeFrontier,J.line),re.length&&bo(L,function(){for(var De=0;De<re.length;De++)Pa(L,re[De],"text")})}var Xo=function(M,Q,J){var re=M.display;this.viewport=Q,this.visible=ja(re,M.doc,Q),this.editorIsHidden=!re.wrapper.offsetWidth,this.wrapperHeight=re.wrapper.clientHeight,this.wrapperWidth=re.wrapper.clientWidth,this.oldDisplayWidth=Dr(M),this.force=J,this.dims=Vi(M),this.events=[]};Xo.prototype.signal=function(L,M){rt(L,M)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var L=0;L<this.events.length;L++)wt.apply(null,this.events[L])};function ss(L){var M=L.display;!M.scrollbarsClipped&&M.scroller.offsetWidth&&(M.nativeBarWidth=M.scroller.offsetWidth-M.scroller.clientWidth,M.heightForcer.style.height=Mr(L)+"px",M.sizer.style.marginBottom=-M.nativeBarWidth+"px",M.sizer.style.borderRightWidth=Mr(L)+"px",M.scrollbarsClipped=!0)}function Os(L){if(L.hasFocus())return null;var M=j();if(!M||!P(L.display.lineDiv,M))return null;var Q={activeElt:M};if(window.getSelection){var J=window.getSelection();J.anchorNode&&J.extend&&P(L.display.lineDiv,J.anchorNode)&&(Q.anchorNode=J.anchorNode,Q.anchorOffset=J.anchorOffset,Q.focusNode=J.focusNode,Q.focusOffset=J.focusOffset)}return Q}function Fa(L){if(!L||!L.activeElt||L.activeElt==j())return;if(L.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(L.activeElt.nodeName)&&L.anchorNode&&P(document.body,L.anchorNode)&&P(document.body,L.focusNode)){var M=window.getSelection(),Q=document.createRange();Q.setEnd(L.anchorNode,L.anchorOffset),Q.collapse(!1),M.removeAllRanges(),M.addRange(Q),M.extend(L.focusNode,L.focusOffset)}}function Oa(L,M){var Q=L.display,J=L.doc;if(M.editorIsHidden)return Ma(L),!1;if(!M.force&&M.visible.from>=Q.viewFrom&&M.visible.to<=Q.viewTo&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo)&&Q.renderedView==Q.view&&Xa(L)==0)return!1;ls(L)&&(Ma(L),M.dims=Vi(L));var re=J.first+J.size,De=Math.max(M.visible.from-L.options.viewportMargin,J.first),mt=Math.min(re,M.visible.to+L.options.viewportMargin);Q.viewFrom<De&&De-Q.viewFrom<20&&(De=Math.max(J.first,Q.viewFrom)),Q.viewTo>mt&&Q.viewTo-mt<20&&(mt=Math.min(re,Q.viewTo)),Qr&&(De=Yn(L.doc,De),mt=_a(L.doc,mt));var Nt=De!=Q.viewFrom||mt!=Q.viewTo||Q.lastWrapHeight!=M.wrapperHeight||Q.lastWrapWidth!=M.wrapperWidth;Gi(L,De,mt),Q.viewOffset=On(te(L.doc,Q.viewFrom)),L.display.mover.style.top=Q.viewOffset+"px";var zt=Xa(L);if(!Nt&&zt==0&&!M.force&&Q.renderedView==Q.view&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo))return!1;var Gt=Os(L);return zt>4&&(Q.lineDiv.style.display="none"),ts(L,Q.updateLineNumbers,M.dims),zt>4&&(Q.lineDiv.style.display=""),Q.renderedView=Q.view,Fa(Gt),C(Q.cursorDiv),C(Q.selectionDiv),Q.gutters.style.height=Q.sizer.style.minHeight=0,Nt&&(Q.lastWrapHeight=M.wrapperHeight,Q.lastWrapWidth=M.wrapperWidth,ps(L,400)),Q.updateLineNumbers=null,!0}function _o(L,M){for(var Q=M.viewport,J=!0;;J=!1){if(!J||!L.options.lineWrapping||M.oldDisplayWidth==Dr(L)){if(Q&&Q.top!=null&&(Q={top:Math.min(L.doc.height+sr(L.display)-rn(L),Q.top)}),M.visible=ja(L.display,L.doc,Q),M.visible.from>=L.display.viewFrom&&M.visible.to<=L.display.viewTo)break}else J&&(M.visible=ja(L.display,L.doc,Q));if(!Oa(L,M))break;So(L);var re=fo(L);Ki(L),Ra(L,re),rs(L,re),M.force=!1}M.signal(L,"update",L),(L.display.viewFrom!=L.display.reportedViewFrom||L.display.viewTo!=L.display.reportedViewTo)&&(M.signal(L,"viewportChange",L,L.display.viewFrom,L.display.viewTo),L.display.reportedViewFrom=L.display.viewFrom,L.display.reportedViewTo=L.display.viewTo)}function Lo(L,M){var Q=new Xo(L,M);if(Oa(L,Q)){So(L),_o(L,Q);var J=fo(L);Ki(L),Ra(L,J),rs(L,J),Q.finish()}}function ts(L,M,Q){var J=L.display,re=L.options.lineNumbers,De=J.lineDiv,mt=De.firstChild;function Nt(xn){var Bn=xn.nextSibling;return i&&w&&L.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Bn}for(var zt=J.view,Gt=J.viewFrom,Cr=0;Cr<zt.length;Cr++){var Ur=zt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=De){var en=Er(L,Ur,Gt,Q);De.insertBefore(en,mt)}else{for(;mt!=Ur.node;)mt=Nt(mt);var nn=re&&M!=null&&M<=Gt&&Ur.lineNumber;Ur.changes&&(z(Ur.changes,"gutter")>-1&&(nn=!1),Wr(L,Ur,Gt,Q)),nn&&(C(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(L.options,Gt)))),mt=Ur.node.nextSibling}Gt+=Ur.size}for(;mt;)mt=Nt(mt)}function Bo(L){var M=L.gutters.offsetWidth;L.sizer.style.marginLeft=M+"px"}function rs(L,M){L.display.sizer.style.minHeight=M.docHeight+"px",L.display.heightForcer.style.top=M.docHeight+"px",L.display.gutters.style.height=M.docHeight+L.display.barHeight+Mr(L)+"px"}function ms(L){var M=L.display,Q=M.view;if(!M.alignWidgets&&(!M.gutters.firstChild||!L.options.fixedGutter))return;for(var J=Xi(M)-M.scroller.scrollLeft+L.doc.scrollLeft,re=M.gutters.offsetWidth,De=J+"px",mt=0;mt<Q.length;mt++)if(!Q[mt].hidden){L.options.fixedGutter&&(Q[mt].gutter&&(Q[mt].gutter.style.left=De),Q[mt].gutterBackground&&(Q[mt].gutterBackground.style.left=De));var Nt=Q[mt].alignable;if(Nt)for(var zt=0;zt<Nt.length;zt++)Nt[zt].style.left=De}L.options.fixedGutter&&(M.gutters.style.left=J+re+"px")}function ls(L){if(!L.options.lineNumbers)return!1;var M=L.doc,Q=$t(L.options,M.first+M.size-1),J=L.display;if(Q.length!=J.lineNumChars){var re=J.measure.appendChild(N("div",[N("div",Q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),De=re.firstChild.offsetWidth,mt=re.offsetWidth-De;return J.lineGutter.style.width="",J.lineNumInnerWidth=Math.max(De,J.lineGutter.offsetWidth-mt)+1,J.lineNumWidth=J.lineNumInnerWidth+mt,J.lineNumChars=J.lineNumInnerWidth?Q.length:-1,J.lineGutter.style.width=J.lineNumWidth+"px",Bo(L.display),!0}return!1}function Ns(L,M){for(var Q=[],J=!1,re=0;re<L.length;re++){var De=L[re],mt=null;if(typeof De!="string"&&(mt=De.style,De=De.className),De=="CodeMirror-linenumbers")if(M)J=!0;else continue;Q.push({className:De,style:mt})}return M&&!J&&Q.push({className:"CodeMirror-linenumbers",style:null}),Q}function Ds(L){var M=L.gutters,Q=L.gutterSpecs;C(M),L.lineGutter=null;for(var J=0;J<Q.length;++J){var re=Q[J],De=re.className,mt=re.style,Nt=M.appendChild(N("div",null,"CodeMirror-gutter "+De));mt&&(Nt.style.cssText=mt),De=="CodeMirror-linenumbers"&&(L.lineGutter=Nt,Nt.style.width=(L.lineNumWidth||1)+"px")}M.style.display=Q.length?"":"none",Bo(L)}function as(L){Ds(L.display),gi(L),ms(L)}function $s(L,M,Q,J){var re=this;this.input=Q,re.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),re.scrollbarFiller.setAttribute("cm-not-content","true"),re.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),re.gutterFiller.setAttribute("cm-not-content","true"),re.lineDiv=F("div",null,"CodeMirror-code"),re.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),re.cursorDiv=N("div",null,"CodeMirror-cursors"),re.measure=N("div",null,"CodeMirror-measure"),re.lineMeasure=N("div",null,"CodeMirror-measure"),re.lineSpace=F("div",[re.measure,re.lineMeasure,re.selectionDiv,re.cursorDiv,re.lineDiv],null,"position: relative; outline: none");var De=F("div",[re.lineSpace],"CodeMirror-lines");re.mover=N("div",[De],null,"position: relative"),re.sizer=N("div",[re.mover],"CodeMirror-sizer"),re.sizerWidth=null,re.heightForcer=N("div",null,null,"position: absolute; height: "+X+"px; width: 1px;"),re.gutters=N("div",null,"CodeMirror-gutters"),re.lineGutter=null,re.scroller=N("div",[re.sizer,re.heightForcer,re.gutters],"CodeMirror-scroll"),re.scroller.setAttribute("tabIndex","-1"),re.wrapper=N("div",[re.scrollbarFiller,re.gutterFiller,re.scroller],"CodeMirror"),u&&o<8&&(re.gutters.style.zIndex=-1,re.scroller.style.paddingRight=0),!i&&!(y&&m)&&(re.scroller.draggable=!0),L&&(L.appendChild?L.appendChild(re.wrapper):L(re.wrapper)),re.viewFrom=re.viewTo=M.first,re.reportedViewFrom=re.reportedViewTo=M.first,re.view=[],re.renderedView=null,re.externalMeasured=null,re.viewOffset=0,re.lastWrapHeight=re.lastWrapWidth=0,re.updateLineNumbers=null,re.nativeBarWidth=re.barHeight=re.barWidth=0,re.scrollbarsClipped=!1,re.lineNumWidth=re.lineNumInnerWidth=re.lineNumChars=null,re.alignWidgets=!1,re.cachedCharWidth=re.cachedTextHeight=re.cachedPaddingH=null,re.maxLine=null,re.maxLineLength=0,re.maxLineChanged=!1,re.wheelDX=re.wheelDY=re.wheelStartX=re.wheelStartY=null,re.shift=!1,re.selForContextMenu=null,re.activeTouch=null,re.gutterSpecs=Ns(J.gutters,J.lineNumbers),Ds(re),Q.init(re)}var cs=0,Mo=null;u?Mo=-.53:y?Mo=15:a?Mo=-.7:n&&(Mo=-1/3);function Dn(L){var M=L.wheelDeltaX,Q=L.wheelDeltaY;return M==null&&L.detail&&L.axis==L.HORIZONTAL_AXIS&&(M=L.detail),Q==null&&L.detail&&L.axis==L.VERTICAL_AXIS?Q=L.detail:Q==null&&(Q=L.wheelDelta),{x:M,y:Q}}function Vs(L){var M=Dn(L);return M.x*=Mo,M.y*=Mo,M}function _s(L,M){var Q=Dn(M),J=Q.x,re=Q.y,De=L.display,mt=De.scroller,Nt=mt.scrollWidth>mt.clientWidth,zt=mt.scrollHeight>mt.clientHeight;if(!(J&&Nt||re&&zt))return;if(re&&w&&i){e:for(var Gt=M.target,Cr=De.view;Gt!=mt;Gt=Gt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Gt){L.display.currentWheelTarget=Gt;break e}}if(J&&!y&&!c&&Mo!=null){re&&zt&&Yi(L,Math.max(0,mt.scrollTop+re*Mo)),go(L,Math.max(0,mt.scrollLeft+J*Mo)),(!re||re&&zt)&&Ve(M),De.wheelStartX=null;return}if(re&&Mo!=null){var en=re*Mo,nn=L.doc.scrollTop,xn=nn+De.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(L.doc.height,xn+en+50),Lo(L,{top:nn,bottom:xn})}cs<20&&(De.wheelStartX==null?(De.wheelStartX=mt.scrollLeft,De.wheelStartY=mt.scrollTop,De.wheelDX=J,De.wheelDY=re,setTimeout(function(){if(De.wheelStartX==null)return;var Bn=mt.scrollLeft-De.wheelStartX,Zn=mt.scrollTop-De.wheelStartY,Jn=Zn&&De.wheelDY&&Zn/De.wheelDY||Bn&&De.wheelDX&&Bn/De.wheelDX;if(De.wheelStartX=De.wheelStartY=null,!Jn)return;Mo=(Mo*cs+Jn)/(cs+1),++cs},200)):(De.wheelDX+=J,De.wheelDY+=re))}var Pt=function(M,Q){this.ranges=M,this.primIndex=Q};Pt.prototype.primary=function(){return this.ranges[this.primIndex]},Pt.prototype.equals=function(L){if(L==this)return!0;if(L.primIndex!=this.primIndex||L.ranges.length!=this.ranges.length)return!1;for(var M=0;M<this.ranges.length;M++){var Q=this.ranges[M],J=L.ranges[M];if(!Yt(Q.anchor,J.anchor)||!Yt(Q.head,J.head))return!1}return!0},Pt.prototype.deepCopy=function(){for(var L=[],M=0;M<this.ranges.length;M++)L[M]=new oe(Qt(this.ranges[M].anchor),Qt(this.ranges[M].head));return new Pt(L,this.primIndex)},Pt.prototype.somethingSelected=function(){for(var L=0;L<this.ranges.length;L++)if(!this.ranges[L].empty())return!0;return!1},Pt.prototype.contains=function(L,M){M||(M=L);for(var Q=0;Q<this.ranges.length;Q++){var J=this.ranges[Q];if(Kt(M,J.from())>=0&&Kt(L,J.to())<=0)return Q}return-1};var oe=function(M,Q){this.anchor=M,this.head=Q};oe.prototype.from=function(){return dr(this.anchor,this.head)},oe.prototype.to=function(){return Mt(this.anchor,this.head)},oe.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function we(L,M,Q){var J=L&&L.options.selectionsMayTouch,re=M[Q];M.sort(function(en,nn){return Kt(en.from(),nn.from())}),Q=z(M,re);for(var De=1;De<M.length;De++){var mt=M[De],Nt=M[De-1],zt=Kt(Nt.to(),mt.from());if(J&&!mt.empty()?zt>0:zt>=0){var Gt=dr(Nt.from(),mt.from()),Cr=Mt(Nt.to(),mt.to()),Ur=Nt.empty()?mt.from()==mt.head:Nt.from()==Nt.head;De<=Q&&--Q,M.splice(--De,2,new oe(Ur?Cr:Gt,Ur?Gt:Cr))}}return new Pt(M,Q)}function Ee(L,M){return new Pt([new oe(L,M||L)],0)}function We(L){return L.text?Dt(L.from.line+L.text.length-1,Ge(L.text).length+(L.text.length==1?L.from.ch:0)):L.to}function Et(L,M){if(Kt(L,M.from)<0)return L;if(Kt(L,M.to)<=0)return We(M);var Q=L.line+M.text.length-(M.to.line-M.from.line)-1,J=L.ch;return L.line==M.to.line&&(J+=We(M).ch-M.to.ch),Dt(Q,J)}function Ut(L,M){for(var Q=[],J=0;J<L.sel.ranges.length;J++){var re=L.sel.ranges[J];Q.push(new oe(Et(re.anchor,M),Et(re.head,M)))}return we(L.cm,Q,L.sel.primIndex)}function hr(L,M,Q){return L.line==M.line?Dt(Q.line,L.ch-M.ch+Q.ch):Dt(Q.line+(L.line-M.line),L.ch)}function gr(L,M,Q){for(var J=[],re=Dt(L.first,0),De=re,mt=0;mt<M.length;mt++){var Nt=M[mt],zt=hr(Nt.from,re,De),Gt=hr(We(Nt),re,De);if(re=Nt.to,De=Gt,Q=="around"){var Cr=L.sel.ranges[mt],Ur=Kt(Cr.head,Cr.anchor)<0;J[mt]=new oe(Ur?Gt:zt,Ur?zt:Gt)}else J[mt]=new oe(zt,zt)}return new Pt(J,L.sel.primIndex)}function Rr(L){L.doc.mode=Fe(L.options,L.doc.modeOption),$r(L)}function $r(L){L.doc.iter(function(M){M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null)}),L.doc.modeFrontier=L.doc.highlightFrontier=L.doc.first,ps(L,100),L.state.modeGen++,L.curOp&&gi(L)}function ln(L,M){return M.from.ch==0&&M.to.ch==0&&Ge(M.text)==""&&(!L.cm||L.cm.options.wholeLineUpdateBefore)}function yn(L,M,Q,J){function re(oi){return Q?Q[oi]:null}function De(oi,li,qe){di(oi,li,qe,J),Tr(oi,"change",oi,M)}function mt(oi,li){for(var qe=[],Z=oi;Z<li;++Z)qe.push(new ni(Gt[Z],re(Z),J));return qe}var Nt=M.from,zt=M.to,Gt=M.text,Cr=te(L,Nt.line),Ur=te(L,zt.line),en=Ge(Gt),nn=re(Gt.length-1),xn=zt.line-Nt.line;if(M.full)L.insert(0,mt(0,Gt.length)),L.remove(Gt.length,L.size-Gt.length);else if(ln(L,M)){var Bn=mt(0,Gt.length-1);De(Ur,Ur.text,nn),xn&&L.remove(Nt.line,xn),Bn.length&&L.insert(Nt.line,Bn)}else if(Cr==Ur)if(Gt.length==1)De(Cr,Cr.text.slice(0,Nt.ch)+en+Cr.text.slice(zt.ch),nn);else{var Zn=mt(1,Gt.length-1);Zn.push(new ni(en+Cr.text.slice(zt.ch),nn,J)),De(Cr,Cr.text.slice(0,Nt.ch)+Gt[0],re(0)),L.insert(Nt.line+1,Zn)}else if(Gt.length==1)De(Cr,Cr.text.slice(0,Nt.ch)+Gt[0]+Ur.text.slice(zt.ch),re(0)),L.remove(Nt.line+1,xn);else{De(Cr,Cr.text.slice(0,Nt.ch)+Gt[0],re(0)),De(Ur,en+Ur.text.slice(zt.ch),nn);var Jn=mt(1,Gt.length-1);xn>1&&L.remove(Nt.line+1,xn-1),L.insert(Nt.line+1,Jn)}Tr(L,"change",L,M)}function Cn(L,M,Q){function J(re,De,mt){if(re.linked)for(var Nt=0;Nt<re.linked.length;++Nt){var zt=re.linked[Nt];if(zt.doc==De)continue;var Gt=mt&&zt.sharedHist;if(Q&&!Gt)continue;M(zt.doc,Gt),J(zt.doc,re,Gt)}}J(L,null,!0)}function Qn(L,M){if(M.cm)throw new Error("This document is already in use.");L.doc=M,M.cm=L,Aa(L),Rr(L),ti(L),L.options.lineWrapping||jn(L),L.options.mode=M.modeOption,gi(L)}function ti(L){(L.doc.direction=="rtl"?K:x)(L.display.lineDiv,"CodeMirror-rtl")}function wi(L){bo(L,function(){ti(L),gi(L)})}function ea(L){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=L||1}function ji(L,M){var Q={from:Qt(M.from),to:We(M),text:be(L,M.from,M.to)};return Fo(L,Q,M.from.line,M.to.line+1),Cn(L,function(J){return Fo(J,Q,M.from.line,M.to.line+1)},!0),Q}function Sa(L){for(;L.length;){var M=Ge(L);if(M.ranges)L.pop();else break}}function lo(L,M){if(M)return Sa(L.done),Ge(L.done);if(L.done.length&&!Ge(L.done).ranges)return Ge(L.done);if(L.done.length>1&&!L.done[L.done.length-2].ranges)return L.done.pop(),Ge(L.done)}function Wa(L,M,Q,J){var re=L.history;re.undone.length=0;var De=+new Date,mt,Nt;if((re.lastOp==J||re.lastOrigin==M.origin&&M.origin&&(M.origin.charAt(0)=="+"&&re.lastModTime>De-(L.cm?L.cm.options.historyEventDelay:500)||M.origin.charAt(0)=="*"))&&(mt=lo(re,re.lastOp==J)))Nt=Ge(mt.changes),Kt(M.from,M.to)==0&&Kt(M.from,Nt.to)==0?Nt.to=We(M):mt.changes.push(ji(L,M));else{var zt=Ge(re.done);for((!zt||!zt.ranges)&&$a(L.sel,re.done),mt={changes:[ji(L,M)],generation:re.generation},re.done.push(mt);re.done.length>re.undoDepth;)re.done.shift(),re.done[0].ranges||re.done.shift()}re.done.push(Q),re.generation=++re.maxGeneration,re.lastModTime=re.lastSelTime=De,re.lastOp=re.lastSelOp=J,re.lastOrigin=re.lastSelOrigin=M.origin,Nt||wt(L,"historyAdded")}function yo(L,M,Q,J){var re=M.charAt(0);return re=="*"||re=="+"&&Q.ranges.length==J.ranges.length&&Q.somethingSelected()==J.somethingSelected()&&new Date-L.history.lastSelTime<=(L.cm?L.cm.options.historyEventDelay:500)}function Ao(L,M,Q,J){var re=L.history,De=J&&J.origin;Q==re.lastSelOp||De&&re.lastSelOrigin==De&&(re.lastModTime==re.lastSelTime&&re.lastOrigin==De||yo(L,De,Ge(re.done),M))?re.done[re.done.length-1]=M:$a(M,re.done),re.lastSelTime=+new Date,re.lastSelOrigin=De,re.lastSelOp=Q,J&&J.clearRedo!==!1&&Sa(re.undone)}function $a(L,M){var Q=Ge(M);Q&&Q.ranges&&Q.equals(L)||M.push(L)}function Fo(L,M,Q,J){var re=M["spans_"+L.id],De=0;L.iter(Math.max(L.first,Q),Math.min(L.first+L.size,J),function(mt){mt.markedSpans&&((re||(re=M["spans_"+L.id]={}))[De]=mt.markedSpans),++De})}function No(L){if(!L)return null;for(var M,Q=0;Q<L.length;++Q)L[Q].marker.explicitlyCleared?M||(M=L.slice(0,Q)):M&&M.push(L[Q]);return M?M.length?M:null:L}function Ha(L,M){var Q=M["spans_"+L.id];if(!Q)return null;for(var J=[],re=0;re<M.text.length;++re)J.push(No(Q[re]));return J}function jo(L,M){var Q=Ha(L,M),J=Nn(L,M);if(!Q)return J;if(!J)return Q;for(var re=0;re<Q.length;++re){var De=Q[re],mt=J[re];if(De&&mt){e:for(var Nt=0;Nt<mt.length;++Nt){for(var zt=mt[Nt],Gt=0;Gt<De.length;++Gt)if(De[Gt].marker==zt.marker)continue e;De.push(zt)}}else mt&&(Q[re]=mt)}return Q}function ko(L,M,Q){for(var J=[],re=0;re<L.length;++re){var De=L[re];if(De.ranges){J.push(Q?Pt.prototype.deepCopy.call(De):De);continue}var mt=De.changes,Nt=[];J.push({changes:Nt});for(var zt=0;zt<mt.length;++zt){var Gt=mt[zt],Cr=void 0;if(Nt.push({from:Gt.from,to:Gt.to,text:Gt.text}),M)for(var Ur in Gt)(Cr=Ur.match(/^spans_(\d+)$/))&&(z(M,Number(Cr[1]))>-1&&(Ge(Nt)[Ur]=Gt[Ur],delete Gt[Ur]))}}return J}function Qo(L,M,Q,J){if(J){var re=L.anchor;if(Q){var De=Kt(M,re)<0;De!=Kt(Q,re)<0?(re=M,M=Q):De!=Kt(M,Q)<0&&(M=Q)}return new oe(re,M)}else return new oe(Q||M,M)}function wo(L,M,Q,J,re){re==null&&(re=L.cm&&(L.cm.display.shift||L.extend)),Eo(L,new Pt([Qo(L.sel.primary(),M,Q,re)],0),J)}function us(L,M,Q){for(var J=[],re=L.cm&&(L.cm.display.shift||L.extend),De=0;De<L.sel.ranges.length;De++)J[De]=Qo(L.sel.ranges[De],M[De],null,re);var mt=we(L.cm,J,L.sel.primIndex);Eo(L,mt,Q)}function ns(L,M,Q,J){var re=L.sel.ranges.slice(0);re[M]=Q,Eo(L,we(L.cm,re,L.sel.primIndex),J)}function Xs(L,M,Q,J){Eo(L,Ee(M,Q),J)}function Gs(L,M,Q){var J={ranges:M.ranges,update:function(De){this.ranges=[];for(var mt=0;mt<De.length;mt++)this.ranges[mt]=new oe(ot(L,De[mt].anchor),ot(L,De[mt].head))},origin:Q&&Q.origin};return wt(L,"beforeSelectionChange",L,J),L.cm&&wt(L.cm,"beforeSelectionChange",L.cm,J),J.ranges!=M.ranges?we(L.cm,J.ranges,J.ranges.length-1):M}function Go(L,M,Q){var J=L.history.done,re=Ge(J);re&&re.ranges?(J[J.length-1]=M,ds(L,M,Q)):Eo(L,M,Q)}function Eo(L,M,Q){ds(L,M,Q),Ao(L,L.sel,L.cm?L.cm.curOp.id:NaN,Q)}function ds(L,M,Q){(rt(L,"beforeSelectionChange")||L.cm&&rt(L.cm,"beforeSelectionChange"))&&(M=Gs(L,M,Q));var J=Q&&Q.bias||(Kt(M.primary().head,L.sel.primary().head)<0?-1:1);hs(L,Do(L,M,J,!0)),!(Q&&Q.scroll===!1)&&L.cm&&La(L.cm)}function hs(L,M){if(M.equals(L.sel))return;L.sel=M,L.cm&&(L.cm.curOp.updateInput=1,L.cm.curOp.selectionChanged=!0,et(L.cm)),Tr(L,"cursorActivity",L)}function Rs(L){hs(L,Do(L,L.sel,null,!1))}function Do(L,M,Q,J){for(var re,De=0;De<M.ranges.length;De++){var mt=M.ranges[De],Nt=M.ranges.length==L.sel.ranges.length&&L.sel.ranges[De],zt=Ms(L,mt.anchor,Nt&&Nt.anchor,Q,J),Gt=Ms(L,mt.head,Nt&&Nt.head,Q,J);(re||zt!=mt.anchor||Gt!=mt.head)&&(re||(re=M.ranges.slice(0,De)),re[De]=new oe(zt,Gt))}return re?we(L.cm,re,M.primIndex):M}function ys(L,M,Q,J,re){var De=te(L,M.line);if(De.markedSpans)for(var mt=0;mt<De.markedSpans.length;++mt){var Nt=De.markedSpans[mt],zt=Nt.marker,Gt="selectLeft"in zt?!zt.selectLeft:zt.inclusiveLeft,Cr="selectRight"in zt?!zt.selectRight:zt.inclusiveRight;if((Nt.from==null||(Gt?Nt.from<=M.ch:Nt.from<M.ch))&&(Nt.to==null||(Cr?Nt.to>=M.ch:Nt.to>M.ch))){if(re&&(wt(zt,"beforeCursorEnter"),zt.explicitlyCleared))if(De.markedSpans){--mt;continue}else break;if(!zt.atomic)continue;if(Q){var Ur=zt.find(J<0?1:-1),en=void 0;if((J<0?Cr:Gt)&&(Ur=As(L,Ur,-J,Ur&&Ur.line==M.line?De:null)),Ur&&Ur.line==M.line&&(en=Kt(Ur,Q))&&(J<0?en<0:en>0))return ys(L,Ur,M,J,re)}var nn=zt.find(J<0?-1:1);return(J<0?Gt:Cr)&&(nn=As(L,nn,J,nn.line==M.line?De:null)),nn?ys(L,nn,M,J,re):null}}return M}function Ms(L,M,Q,J,re){var De=J||1,mt=ys(L,M,Q,De,re)||!re&&ys(L,M,Q,De,!0)||ys(L,M,Q,-De,re)||!re&&ys(L,M,Q,-De,!0);return mt||(L.cantEdit=!0,Dt(L.first,0))}function As(L,M,Q,J){return Q<0&&M.ch==0?M.line>L.first?ot(L,Dt(M.line-1)):null:Q>0&&M.ch==(J||te(L,M.line)).text.length?M.line<L.first+L.size-1?Dt(M.line+1,0):null:new Dt(M.line,M.ch+Q)}function Fs(L){L.setSelection(Dt(L.firstLine(),0),Dt(L.lastLine()),fe)}function Hs(L,M,Q){var J={canceled:!1,from:M.from,to:M.to,text:M.text,origin:M.origin,cancel:function(){return J.canceled=!0}};return Q&&(J.update=function(re,De,mt,Nt){re&&(J.from=ot(L,re)),De&&(J.to=ot(L,De)),mt&&(J.text=mt),Nt!==void 0&&(J.origin=Nt)}),wt(L,"beforeChange",L,J),L.cm&&wt(L.cm,"beforeChange",L.cm,J),J.canceled?(L.cm&&(L.cm.curOp.updateInput=2),null):{from:J.from,to:J.to,text:J.text,origin:J.origin}}function bs(L,M,Q){if(L.cm){if(!L.cm.curOp)return Za(L.cm,bs)(L,M,Q);if(L.cm.state.suppressEdits)return}if((rt(L,"beforeChange")||L.cm&&rt(L.cm,"beforeChange"))&&(M=Hs(L,M,!0),!M))return;var J=Or&&!Q&&Tn(L,M.from,M.to);if(J)for(var re=J.length-1;re>=0;--re)ua(L,{from:J[re].from,to:J[re].to,text:re?[""]:M.text,origin:M.origin});else ua(L,M)}function ua(L,M){if(M.text.length==1&&M.text[0]==""&&Kt(M.from,M.to)==0)return;var Q=Ut(L,M);Wa(L,M,Q,L.cm?L.cm.curOp.id:NaN),Wn(L,M,Q,Nn(L,M));var J=[];Cn(L,function(re,De){!De&&z(J,re.history)==-1&&(Zo(re.history,M),J.push(re.history)),Wn(re,M,null,Nn(re,M))})}function ui(L,M,Q){var J=L.cm&&L.cm.state.suppressEdits;if(J&&!Q)return;for(var re=L.history,De,mt=L.sel,Nt=M=="undo"?re.done:re.undone,zt=M=="undo"?re.undone:re.done,Gt=0;Gt<Nt.length&&!(De=Nt[Gt],Q?De.ranges&&!De.equals(L.sel):!De.ranges);Gt++);if(Gt==Nt.length)return;for(re.lastOrigin=re.lastSelOrigin=null;;)if(De=Nt.pop(),De.ranges){if($a(De,zt),Q&&!De.equals(L.sel)){Eo(L,De,{clearRedo:!1});return}mt=De}else if(J){Nt.push(De);return}else break;var Cr=[];$a(mt,zt),zt.push({changes:Cr,generation:re.generation}),re.generation=De.generation||++re.maxGeneration;for(var Ur=rt(L,"beforeChange")||L.cm&&rt(L.cm,"beforeChange"),en=function(Zn){var Jn=De.changes[Zn];if(Jn.origin=M,Ur&&!Hs(L,Jn,!1))return Nt.length=0,{};Cr.push(ji(L,Jn));var oi=Zn?Ut(L,Jn):Ge(Nt);Wn(L,Jn,oi,jo(L,Jn)),!Zn&&L.cm&&L.cm.scrollIntoView({from:Jn.from,to:We(Jn)});var li=[];Cn(L,function(qe,Z){!Z&&z(li,qe.history)==-1&&(Zo(qe.history,Jn),li.push(qe.history)),Wn(qe,Jn,null,jo(qe,Jn))})},nn=De.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Bi(L,M){if(M==0)return;if(L.first+=M,L.sel=new Pt(pt(L.sel.ranges,function(re){return new oe(Dt(re.anchor.line+M,re.anchor.ch),Dt(re.head.line+M,re.head.ch))}),L.sel.primIndex),L.cm){gi(L.cm,L.first,L.first-M,M);for(var Q=L.cm.display,J=Q.viewFrom;J<Q.viewTo;J++)Pa(L.cm,J,"gutter")}}function Wn(L,M,Q,J){if(L.cm&&!L.cm.curOp)return Za(L.cm,Wn)(L,M,Q,J);if(M.to.line<L.first){Bi(L,M.text.length-1-(M.to.line-M.from.line));return}if(M.from.line>L.lastLine())return;if(M.from.line<L.first){var re=M.text.length-1-(L.first-M.from.line);Bi(L,re),M={from:Dt(L.first,0),to:Dt(M.to.line+re,M.to.ch),text:[Ge(M.text)],origin:M.origin}}var De=L.lastLine();M.to.line>De&&(M={from:M.from,to:Dt(De,te(L,De).text.length),text:[M.text[0]],origin:M.origin}),M.removed=be(L,M.from,M.to),Q||(Q=Ut(L,M)),L.cm?io(L.cm,M,J):yn(L,M,J),ds(L,Q,fe),L.cantEdit&&Ms(L,Dt(L.firstLine(),0))&&(L.cantEdit=!1)}function io(L,M,Q){var J=L.doc,re=L.display,De=M.from,mt=M.to,Nt=!1,zt=De.line;L.options.lineWrapping||(zt=$e(ta(te(J,De.line))),J.iter(zt,mt.line+1,function(nn){if(nn==re.maxLine)return Nt=!0,!0})),J.sel.contains(M.from,M.to)>-1&&et(L),yn(J,M,Q,bi(L)),L.options.lineWrapping||(J.iter(zt,De.line+M.text.length,function(nn){var xn=In(nn);xn>re.maxLineLength&&(re.maxLine=nn,re.maxLineLength=xn,re.maxLineChanged=!0,Nt=!1)}),Nt&&(L.curOp.updateMaxLine=!0)),qr(J,De.line),ps(L,400);var Gt=M.text.length-(mt.line-De.line)-1;M.full?gi(L):De.line==mt.line&&M.text.length==1&&!ln(L.doc,M)?Pa(L,De.line,"text"):gi(L,De.line,mt.line+1,Gt);var Cr=rt(L,"changes"),Ur=rt(L,"change");if(Ur||Cr){var en={from:De,to:mt,text:M.text,removed:M.removed,origin:M.origin};Ur&&Tr(L,"change",L,en),Cr&&(L.curOp.changeObjs||(L.curOp.changeObjs=[])).push(en)}L.display.selForContextMenu=null}function qo(L,M,Q,J,re){var De;J||(J=Q),Kt(J,Q)<0&&(De=[J,Q],Q=De[0],J=De[1]),typeof M=="string"&&(M=L.splitLines(M)),bs(L,{from:Q,to:J,text:M,origin:re})}function gs(L,M,Q,J){Q<L.line?L.line+=J:M<L.line&&(L.line=M,L.ch=0)}function os(L,M,Q,J){for(var re=0;re<L.length;++re){var De=L[re],mt=!0;if(De.ranges){De.copied||(De=L[re]=De.deepCopy(),De.copied=!0);for(var Nt=0;Nt<De.ranges.length;Nt++)gs(De.ranges[Nt].anchor,M,Q,J),gs(De.ranges[Nt].head,M,Q,J);continue}for(var zt=0;zt<De.changes.length;++zt){var Gt=De.changes[zt];if(Q<Gt.from.line)Gt.from=Dt(Gt.from.line+J,Gt.from.ch),Gt.to=Dt(Gt.to.line+J,Gt.to.ch);else if(M<=Gt.to.line){mt=!1;break}}mt||(L.splice(0,re+1),re=0)}}function Zo(L,M){var Q=M.from.line,J=M.to.line,re=M.text.length-(J-Q)-1;os(L.done,Q,J,re),os(L.undone,Q,J,re)}function $o(L,M,Q,J){var re=M,De=M;return typeof M=="number"?De=te(L,er(L,M)):re=$e(M),re==null?null:(J(De,re)&&L.cm&&Pa(L.cm,re,Q),De)}function ws(L){this.lines=L,this.parent=null;for(var M=0,Q=0;Q<L.length;++Q)L[Q].parent=this,M+=L[Q].height;this.height=M}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(M,Q){for(var J=M,re=M+Q;J<re;++J){var De=this.lines[J];this.height-=De.height,Na(De),Tr(De,"delete")}this.lines.splice(M,Q)},collapse:function(M){M.push.apply(M,this.lines)},insertInner:function(M,Q,J){this.height+=J,this.lines=this.lines.slice(0,M).concat(Q).concat(this.lines.slice(M));for(var re=0;re<Q.length;++re)Q[re].parent=this},iterN:function(M,Q,J){for(var re=M+Q;M<re;++M)if(J(this.lines[M]))return!0}};function Ho(L){this.children=L;for(var M=0,Q=0,J=0;J<L.length;++J){var re=L[J];M+=re.chunkSize(),Q+=re.height,re.parent=this}this.size=M,this.height=Q,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(M,Q){this.size-=Q;for(var J=0;J<this.children.length;++J){var re=this.children[J],De=re.chunkSize();if(M<De){var mt=Math.min(Q,De-M),Nt=re.height;if(re.removeInner(M,mt),this.height-=Nt-re.height,De==mt&&(this.children.splice(J--,1),re.parent=null),(Q-=mt)==0)break;M=0}else M-=De}if(this.size-Q<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var zt=[];this.collapse(zt),this.children=[new ws(zt)],this.children[0].parent=this}},collapse:function(M){for(var Q=0;Q<this.children.length;++Q)this.children[Q].collapse(M)},insertInner:function(M,Q,J){this.size+=Q.length,this.height+=J;for(var re=0;re<this.children.length;++re){var De=this.children[re],mt=De.chunkSize();if(M<=mt){if(De.insertInner(M,Q,J),De.lines&&De.lines.length>50){for(var Nt=De.lines.length%25+25,zt=Nt;zt<De.lines.length;){var Gt=new ws(De.lines.slice(zt,zt+=25));De.height-=Gt.height,this.children.splice(++re,0,Gt),Gt.parent=this}De.lines=De.lines.slice(0,Nt),this.maybeSpill()}break}M-=mt}},maybeSpill:function(){if(this.children.length<=10)return;var M=this;do{var Q=M.children.splice(M.children.length-5,5),J=new Ho(Q);if(M.parent){M.size-=J.size,M.height-=J.height;var De=z(M.parent.children,M);M.parent.children.splice(De+1,0,J)}else{var re=new Ho(M.children);re.parent=M,M.children=[re,J],M=re}J.parent=M.parent}while(M.children.length>10);M.parent.maybeSpill()},iterN:function(M,Q,J){for(var re=0;re<this.children.length;++re){var De=this.children[re],mt=De.chunkSize();if(M<mt){var Nt=Math.min(Q,mt-M);if(De.iterN(M,Nt,J))return!0;if((Q-=Nt)==0)break;M=0}else M-=mt}}};var ll=function(M,Q,J){if(J)for(var re in J)J.hasOwnProperty(re)&&(this[re]=J[re]);this.doc=M,this.node=Q};ll.prototype.clear=function(){var L=this.doc.cm,M=this.line.widgets,Q=this.line,J=$e(Q);if(J==null||!M)return;for(var re=0;re<M.length;++re)M[re]==this&&M.splice(re--,1);M.length||(Q.widgets=null);var De=an(this);Re(Q,Math.max(0,Q.height-De)),L&&(bo(L,function(){jl(L,Q,-De),Pa(L,J,"widget")}),Tr(L,"lineWidgetCleared",L,this,J))},ll.prototype.changed=function(){var L=this,M=this.height,Q=this.doc.cm,J=this.line;this.height=null;var re=an(this)-M;if(!re)return;mn(this.doc,J)||Re(J,J.height+re),Q&&bo(Q,function(){Q.curOp.forceUpdate=!0,jl(Q,J,re),Tr(Q,"lineWidgetChanged",Q,L,$e(J))})},st(ll);function jl(L,M,Q){On(M)<(L.curOp&&L.curOp.scrollTop||L.doc.scrollTop)&&Oo(L,Q)}function cl(L,M,Q,J){var re=new ll(L,Q,J),De=L.cm;return De&&re.noHScroll&&(De.display.alignWidgets=!0),$o(L,M,"widget",function(mt){var Nt=mt.widgets||(mt.widgets=[]);if(re.insertAt==null?Nt.push(re):Nt.splice(Math.min(Nt.length-1,Math.max(0,re.insertAt)),0,re),re.line=mt,De&&!mn(L,mt)){var zt=On(mt)<L.scrollTop;Re(mt,mt.height+an(re)),zt&&Oo(De,re.height),De.curOp.forceUpdate=!0}return!0}),De&&Tr(De,"lineWidgetAdded",De,re,typeof M=="number"?M:$e(M)),re}var Nl=0,Ls=function(M,Q){this.lines=[],this.type=Q,this.doc=M,this.id=++Nl};Ls.prototype.clear=function(){if(this.explicitlyCleared)return;var L=this.doc.cm,M=L&&!L.curOp;if(M&&Zi(L),rt(this,"clear")){var Q=this.find();Q&&Tr(this,"clear",Q.from,Q.to)}for(var J=null,re=null,De=0;De<this.lines.length;++De){var mt=this.lines[De],Nt=cr(mt.markedSpans,this);L&&!this.collapsed?Pa(L,$e(mt),"text"):L&&(Nt.to!=null&&(re=$e(mt)),Nt.from!=null&&(J=$e(mt))),mt.markedSpans=fr(mt.markedSpans,Nt),Nt.from==null&&this.collapsed&&!mn(this.doc,mt)&&L&&Re(mt,Ai(L.display))}if(L&&this.collapsed&&!L.options.lineWrapping)for(var zt=0;zt<this.lines.length;++zt){var Gt=ta(this.lines[zt]),Cr=In(Gt);Cr>L.display.maxLineLength&&(L.display.maxLine=Gt,L.display.maxLineLength=Cr,L.display.maxLineChanged=!0)}J!=null&&L&&this.collapsed&&gi(L,J,re+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,L&&Rs(L.doc)),L&&Tr(L,"markerCleared",L,this,J,re),M&&xo(L),this.parent&&this.parent.clear()},Ls.prototype.find=function(L,M){L==null&&this.type=="bookmark"&&(L=1);for(var Q,J,re=0;re<this.lines.length;++re){var De=this.lines[re],mt=cr(De.markedSpans,this);if(mt.from!=null&&(Q=Dt(M?De:$e(De),mt.from),L==-1))return Q;if(mt.to!=null&&(J=Dt(M?De:$e(De),mt.to),L==1))return J}return Q&&{from:Q,to:J}},Ls.prototype.changed=function(){var L=this,M=this.find(-1,!0),Q=this,J=this.doc.cm;if(!M||!J)return;bo(J,function(){var re=M.line,De=$e(M.line),mt=bn(J,De);if(mt&&(ri(mt),J.curOp.selectionChanged=J.curOp.forceUpdate=!0),J.curOp.updateMaxLine=!0,!mn(Q.doc,re)&&Q.height!=null){var Nt=Q.height;Q.height=null;var zt=an(Q)-Nt;zt&&Re(re,re.height+zt)}Tr(J,"markerChanged",J,L)})},Ls.prototype.attachLine=function(L){if(!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(!M.maybeHiddenMarkers||z(M.maybeHiddenMarkers,this)==-1)&&(M.maybeUnhiddenMarkers||(M.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(L)},Ls.prototype.detachLine=function(L){if(this.lines.splice(z(this.lines,L),1),!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(M.maybeHiddenMarkers||(M.maybeHiddenMarkers=[])).push(this)}},st(Ls);function Ys(L,M,Q,J,re){if(J&&J.shared)return Hl(L,M,Q,J,re);if(L.cm&&!L.cm.curOp)return Za(L.cm,Ys)(L,M,Q,J,re);var De=new Ls(L,re),mt=Kt(M,Q);if(J&&H(J,De,!1),mt>0||mt==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=F("span",[De.replacedWith],"CodeMirror-widget"),J.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),J.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(xa(L,M.line,M,Q,De)||M.line!=Q.line&&xa(L,Q.line,M,Q,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");ur()}De.addToHistory&&Wa(L,{from:M,to:Q,origin:"markText"},L.sel,NaN);var Nt=M.line,zt=L.cm,Gt;if(L.iter(Nt,Q.line+1,function(Ur){zt&&De.collapsed&&!zt.options.lineWrapping&&ta(Ur)==zt.display.maxLine&&(Gt=!0),De.collapsed&&Nt!=M.line&&Re(Ur,0),xr(Ur,new pr(De,Nt==M.line?M.ch:null,Nt==Q.line?Q.ch:null)),++Nt}),De.collapsed&&L.iter(M.line,Q.line+1,function(Ur){mn(L,Ur)&&Re(Ur,0)}),De.clearOnEnter&&Be(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Ir(),(L.history.done.length||L.history.undone.length)&&L.clearHistory()),De.collapsed&&(De.id=++Nl,De.atomic=!0),zt){if(Gt&&(zt.curOp.updateMaxLine=!0),De.collapsed)gi(zt,M.line,Q.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var Cr=M.line;Cr<=Q.line;Cr++)Pa(zt,Cr,"text");De.atomic&&Rs(zt.doc),Tr(zt,"markerAdded",zt,De)}return De}var el=function(M,Q){this.markers=M,this.primary=Q;for(var J=0;J<M.length;++J)M[J].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var L=0;L<this.markers.length;++L)this.markers[L].clear();Tr(this,"clear")},el.prototype.find=function(L,M){return this.primary.find(L,M)},st(el);function Hl(L,M,Q,J,re){J=H(J),J.shared=!1;var De=[Ys(L,M,Q,J,re)],mt=De[0],Nt=J.widgetNode;return Cn(L,function(zt){Nt&&(J.widgetNode=Nt.cloneNode(!0)),De.push(Ys(zt,ot(zt,M),ot(zt,Q),J,re));for(var Gt=0;Gt<zt.linked.length;++Gt)if(zt.linked[Gt].isParent)return;mt=Ge(De)}),new el(De,mt)}function Kl(L){return L.findMarks(Dt(L.first,0),L.clipPos(Dt(L.lastLine())),function(M){return M.parent})}function Dl(L,M){for(var Q=0;Q<M.length;Q++){var J=M[Q],re=J.find(),De=L.clipPos(re.from),mt=L.clipPos(re.to);if(Kt(De,mt)){var Nt=Ys(L,De,mt,J.primary,J.primary.type);J.markers.push(Nt),Nt.parent=J}}}function nc(L){for(var M=function(re){var De=L[re],mt=[De.primary.doc];Cn(De.primary.doc,function(Gt){return mt.push(Gt)});for(var Nt=0;Nt<De.markers.length;Nt++){var zt=De.markers[Nt];z(mt,zt.doc)==-1&&(zt.parent=null,De.markers.splice(Nt--,1))}},Q=0;Q<L.length;Q++)M(Q)}var ic=0,es=function L(M,Q,J,re,De){if(!(this instanceof L))return new L(M,Q,J,re,De);J==null&&(J=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=J,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=J;var mt=Dt(J,0);this.sel=Ee(mt),this.history=new ea(null),this.id=++ic,this.modeOption=Q,this.lineSep=re,this.direction=De=="rtl"?"rtl":"ltr",this.extend=!1,typeof M=="string"&&(M=this.splitLines(M)),yn(this,{from:mt,to:mt,text:M}),Eo(this,Ee(mt),fe)};es.prototype=lt(Ho.prototype,{constructor:es,iter:function(M,Q,J){J?this.iterN(M-this.first,Q-M,J):this.iterN(this.first,this.first+this.size,M)},insert:function(M,Q){for(var J=0,re=0;re<Q.length;++re)J+=Q[re].height;this.insertInner(M-this.first,Q,J)},remove:function(M,Q){this.removeInner(M-this.first,Q)},getValue:function(M){var Q=Le(this,this.first,this.first+this.size);return M===!1?Q:Q.join(M||this.lineSeparator())},setValue:so(function(L){var M=Dt(this.first,0),Q=this.first+this.size-1;bs(this,{from:M,to:Dt(Q,te(this,Q).text.length),text:this.splitLines(L),origin:"setValue",full:!0},!0),this.cm&&Fi(this.cm,0,0),Eo(this,Ee(M),fe)}),replaceRange:function(M,Q,J,re){Q=ot(this,Q),J=J?ot(this,J):Q,qo(this,M,Q,J,re)},getRange:function(M,Q,J){var re=be(this,ot(this,M),ot(this,Q));return J===!1?re:re.join(J||this.lineSeparator())},getLine:function(M){var Q=this.getLineHandle(M);return Q&&Q.text},getLineHandle:function(M){if(Wt(this,M))return te(this,M)},getLineNumber:function(M){return $e(M)},getLineHandleVisualStart:function(M){return typeof M=="number"&&(M=te(this,M)),ta(M)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(M){return ot(this,M)},getCursor:function(M){var Q=this.sel.primary(),J;return M==null||M=="head"?J=Q.head:M=="anchor"?J=Q.anchor:M=="end"||M=="to"||M===!1?J=Q.to():J=Q.from(),J},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(L,M,Q){Xs(this,ot(this,typeof L=="number"?Dt(L,M||0):L),null,Q)}),setSelection:so(function(L,M,Q){Xs(this,ot(this,L),ot(this,M||L),Q)}),extendSelection:so(function(L,M,Q){wo(this,ot(this,L),M&&ot(this,M),Q)}),extendSelections:so(function(L,M){us(this,ut(this,L),M)}),extendSelectionsBy:so(function(L,M){var Q=pt(this.sel.ranges,L);us(this,ut(this,Q),M)}),setSelections:so(function(L,M,Q){if(!L.length)return;for(var J=[],re=0;re<L.length;re++)J[re]=new oe(ot(this,L[re].anchor),ot(this,L[re].head));M==null&&(M=Math.min(L.length-1,this.sel.primIndex)),Eo(this,we(this.cm,J,M),Q)}),addSelection:so(function(L,M,Q){var J=this.sel.ranges.slice(0);J.push(new oe(ot(this,L),ot(this,M||L))),Eo(this,we(this.cm,J,J.length-1),Q)}),getSelection:function(M){for(var Q=this.sel.ranges,J,re=0;re<Q.length;re++){var De=be(this,Q[re].from(),Q[re].to());J=J?J.concat(De):De}return M===!1?J:J.join(M||this.lineSeparator())},getSelections:function(M){for(var Q=[],J=this.sel.ranges,re=0;re<J.length;re++){var De=be(this,J[re].from(),J[re].to());M!==!1&&(De=De.join(M||this.lineSeparator())),Q[re]=De}return Q},replaceSelection:function(M,Q,J){for(var re=[],De=0;De<this.sel.ranges.length;De++)re[De]=M;this.replaceSelections(re,Q,J||"+input")},replaceSelections:so(function(L,M,Q){for(var J=[],re=this.sel,De=0;De<re.ranges.length;De++){var mt=re.ranges[De];J[De]={from:mt.from(),to:mt.to(),text:this.splitLines(L[De]),origin:Q}}for(var Nt=M&&M!="end"&&gr(this,J,M),zt=J.length-1;zt>=0;zt--)bs(this,J[zt]);Nt?Go(this,Nt):this.cm&&La(this.cm)}),undo:so(function(){ui(this,"undo")}),redo:so(function(){ui(this,"redo")}),undoSelection:so(function(){ui(this,"undo",!0)}),redoSelection:so(function(){ui(this,"redo",!0)}),setExtending:function(M){this.extend=M},getExtending:function(){return this.extend},historySize:function(){for(var M=this.history,Q=0,J=0,re=0;re<M.done.length;re++)M.done[re].ranges||++Q;for(var De=0;De<M.undone.length;De++)M.undone[De].ranges||++J;return{undo:Q,redo:J}},clearHistory:function(){var M=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(Q){return Q.history=M.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(M){return M&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(M){return this.history.generation==(M||this.cleanGeneration)},getHistory:function(){return{done:ko(this.history.done),undone:ko(this.history.undone)}},setHistory:function(M){var Q=this.history=new ea(this.history.maxGeneration);Q.done=ko(M.done.slice(0),null,!0),Q.undone=ko(M.undone.slice(0),null,!0)},setGutterMarker:so(function(L,M,Q){return $o(this,L,"gutter",function(J){var re=J.gutterMarkers||(J.gutterMarkers={});return re[M]=Q,!Q&&se(re)&&(J.gutterMarkers=null),!0})}),clearGutter:so(function(L){var M=this;this.iter(function(Q){Q.gutterMarkers&&Q.gutterMarkers[L]&&$o(M,Q,"gutter",function(){return Q.gutterMarkers[L]=null,se(Q.gutterMarkers)&&(Q.gutterMarkers=null),!0})})}),lineInfo:function(M){var Q;if(typeof M=="number"){if(!Wt(this,M))return null;if(Q=M,M=te(this,M),!M)return null}else if(Q=$e(M),Q==null)return null;return{line:Q,handle:M,text:M.text,gutterMarkers:M.gutterMarkers,textClass:M.textClass,bgClass:M.bgClass,wrapClass:M.wrapClass,widgets:M.widgets}},addLineClass:so(function(L,M,Q){return $o(this,L,M=="gutter"?"gutter":"class",function(J){var re=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass";if(!J[re])J[re]=Q;else{if(O(Q).test(J[re]))return!1;J[re]+=" "+Q}return!0})}),removeLineClass:so(function(L,M,Q){return $o(this,L,M=="gutter"?"gutter":"class",function(J){var re=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass",De=J[re];if(De)if(Q==null)J[re]=null;else{var mt=De.match(O(Q));if(!mt)return!1;var Nt=mt.index+mt[0].length;J[re]=De.slice(0,mt.index)+(!mt.index||Nt==De.length?"":" ")+De.slice(Nt)||null}else return!1;return!0})}),addLineWidget:so(function(L,M,Q){return cl(this,L,M,Q)}),removeLineWidget:function(M){M.clear()},markText:function(M,Q,J){return Ys(this,ot(this,M),ot(this,Q),J,J&&J.type||"range")},setBookmark:function(M,Q){var J={replacedWith:Q&&(Q.nodeType==null?Q.widget:Q),insertLeft:Q&&Q.insertLeft,clearWhenEmpty:!1,shared:Q&&Q.shared,handleMouseEvents:Q&&Q.handleMouseEvents};return M=ot(this,M),Ys(this,M,M,J,"bookmark")},findMarksAt:function(M){M=ot(this,M);var Q=[],J=te(this,M.line).markedSpans;if(J)for(var re=0;re<J.length;++re){var De=J[re];(De.from==null||De.from<=M.ch)&&(De.to==null||De.to>=M.ch)&&Q.push(De.marker.parent||De.marker)}return Q},findMarks:function(M,Q,J){M=ot(this,M),Q=ot(this,Q);var re=[],De=M.line;return this.iter(M.line,Q.line+1,function(mt){var Nt=mt.markedSpans;if(Nt)for(var zt=0;zt<Nt.length;zt++){var Gt=Nt[zt];!(Gt.to!=null&&De==M.line&&M.ch>=Gt.to||Gt.from==null&&De!=M.line||Gt.from!=null&&De==Q.line&&Gt.from>=Q.ch)&&(!J||J(Gt.marker))&&re.push(Gt.marker.parent||Gt.marker)}++De}),re},getAllMarks:function(){var M=[];return this.iter(function(Q){var J=Q.markedSpans;if(J)for(var re=0;re<J.length;++re)J[re].from!=null&&M.push(J[re].marker)}),M},posFromIndex:function(M){var Q,J=this.first,re=this.lineSeparator().length;return this.iter(function(De){var mt=De.text.length+re;if(mt>M)return Q=M,!0;M-=mt,++J}),ot(this,Dt(J,Q))},indexFromPos:function(M){M=ot(this,M);var Q=M.ch;if(M.line<this.first||M.ch<0)return 0;var J=this.lineSeparator().length;return this.iter(this.first,M.line,function(re){Q+=re.text.length+J}),Q},copy:function(M){var Q=new es(Le(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Q.scrollTop=this.scrollTop,Q.scrollLeft=this.scrollLeft,Q.sel=this.sel,Q.extend=!1,M&&(Q.history.undoDepth=this.history.undoDepth,Q.setHistory(this.getHistory())),Q},linkedDoc:function(M){M||(M={});var Q=this.first,J=this.first+this.size;M.from!=null&&M.from>Q&&(Q=M.from),M.to!=null&&M.to<J&&(J=M.to);var re=new es(Le(this,Q,J),M.mode||this.modeOption,Q,this.lineSep,this.direction);return M.sharedHist&&(re.history=this.history),(this.linked||(this.linked=[])).push({doc:re,sharedHist:M.sharedHist}),re.linked=[{doc:this,isParent:!0,sharedHist:M.sharedHist}],Dl(re,Kl(this)),re},unlinkDoc:function(M){if(M instanceof at&&(M=M.doc),this.linked)for(var Q=0;Q<this.linked.length;++Q){var J=this.linked[Q];if(J.doc!=M)continue;this.linked.splice(Q,1),M.unlinkDoc(this),nc(Kl(this));break}if(M.history==this.history){var re=[M.id];Cn(M,function(De){return re.push(De.id)},!0),M.history=new ea(null),M.history.done=ko(this.history.done,re),M.history.undone=ko(this.history.undone,re)}},iterLinkedDocs:function(M){Cn(this,M)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(M){return this.lineSep?M.split(this.lineSep):or(M)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(L){if(L!="rtl"&&(L="ltr"),L==this.direction)return;this.direction=L,this.iter(function(M){return M.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function ac(L){var M=this;if(bl(M),Ye(M,L)||St(M.display,L))return;Ve(L),u&&(tl=+new Date);var Q=ca(M,L,!0),J=L.dataTransfer.files;if(!Q||M.isReadOnly())return;if(J&&J.length&&window.FileReader&&window.File)for(var re=J.length,De=Array(re),mt=0,Nt=function(){++mt==re&&Za(M,function(){Q=ot(M.doc,Q);var xn={from:Q,to:Q,text:M.doc.splitLines(De.filter(function(Bn){return Bn!=null}).join(M.doc.lineSeparator())),origin:"paste"};bs(M.doc,xn),Go(M.doc,Ee(ot(M.doc,Q),ot(M.doc,We(xn))))})()},zt=function(xn,Bn){if(M.options.allowDropFileTypes&&z(M.options.allowDropFileTypes,xn.type)==-1){Nt();return}var Zn=new FileReader;Zn.onerror=function(){return Nt()},Zn.onload=function(){var Jn=Zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jn)){Nt();return}De[Bn]=Jn,Nt()},Zn.readAsText(xn)},Gt=0;Gt<J.length;Gt++)zt(J[Gt],Gt);else{if(M.state.draggingText&&M.doc.sel.contains(Q)>-1){M.state.draggingText(L),setTimeout(function(){return M.display.input.focus()},20);return}try{var Cr=L.dataTransfer.getData("Text");if(Cr){var Ur;if(M.state.draggingText&&!M.state.draggingText.copy&&(Ur=M.listSelections()),ds(M.doc,Ee(Q,Q)),Ur)for(var en=0;en<Ur.length;++en)qo(M.doc,"",Ur[en].anchor,Ur[en].head,"drag");M.replaceSelection(Cr,"around","paste"),M.display.input.focus()}}catch(nn){}}}function Rl(L,M){if(u&&(!L.state.draggingText||+new Date-tl<100)){it(M);return}if(Ye(L,M)||St(L.display,M))return;if(M.dataTransfer.setData("Text",L.getSelection()),M.dataTransfer.effectAllowed="copyMove",M.dataTransfer.setDragImage&&!n){var Q=N("img",null,null,"position: fixed; left: 0; top: 0;");Q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",c&&(Q.width=Q.height=1,L.display.wrapper.appendChild(Q),Q._top=Q.offsetTop),M.dataTransfer.setDragImage(Q,0,0),c&&Q.parentNode.removeChild(Q)}}function Ml(L,M){var Q=ca(L,M);if(!Q)return;var J=document.createDocumentFragment();ba(L,Q,J),L.display.dragCursor||(L.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),L.display.lineSpace.insertBefore(L.display.dragCursor,L.display.cursorDiv)),_(L.display.dragCursor,J)}function bl(L){L.display.dragCursor&&(L.display.lineSpace.removeChild(L.display.dragCursor),L.display.dragCursor=null)}function zl(L){if(!document.getElementsByClassName)return;for(var M=document.getElementsByClassName("CodeMirror"),Q=[],J=0;J<M.length;J++){var re=M[J].CodeMirror;re&&Q.push(re)}Q.length&&Q[0].operation(function(){for(var De=0;De<Q.length;De++)L(Q[De])})}var ul=!1;function Wl(){if(ul)return;oc(),ul=!0}function oc(){var L;Be(window,"resize",function(){L==null&&(L=setTimeout(function(){L=null,zl(sc)},100))}),Be(window,"blur",function(){return zl(_i)})}function sc(L){var M=L.display;M.cachedCharWidth=M.cachedTextHeight=M.cachedPaddingH=null,M.scrollbarsClipped=!1,L.setSize()}for(var ks={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"},rl=0;rl<10;rl++)ks[rl+48]=ks[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)ks[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)ks[dl+111]=ks[dl+63235]="F"+dl;var Ss={};Ss.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"},Ss.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"},Ss.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"},Ss.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"]},Ss.default=w?Ss.macDefault:Ss.pcDefault;function Ks(L){var M=L.split(/-(?!$)/);L=M[M.length-1];for(var Q,J,re,De,mt=0;mt<M.length-1;mt++){var Nt=M[mt];if(/^(cmd|meta|m)$/i.test(Nt))De=!0;else if(/^a(lt)?$/i.test(Nt))Q=!0;else if(/^(c|ctrl|control)$/i.test(Nt))J=!0;else if(/^s(hift)?$/i.test(Nt))re=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return Q&&(L="Alt-"+L),J&&(L="Ctrl-"+L),De&&(L="Cmd-"+L),re&&(L="Shift-"+L),L}function nl(L){var M={};for(var Q in L)if(L.hasOwnProperty(Q)){var J=L[Q];if(/^(name|fallthrough|(de|at)tach)$/.test(Q))continue;if(J=="..."){delete L[Q];continue}for(var re=pt(Q.split(" "),Ks),De=0;De<re.length;De++){var mt=void 0,Nt=void 0;De==re.length-1?(Nt=re.join(" "),mt=J):(Nt=re.slice(0,De+1).join(" "),mt="...");var zt=M[Nt];if(!zt)M[Nt]=mt;else if(zt!=mt)throw new Error("Inconsistent bindings for "+Nt)}delete L[Q]}for(var Gt in M)L[Gt]=M[Gt];return L}function Ps(L,M,Q,J){M=xl(M);var re=M.call?M.call(L,J):M[L];if(re===!1)return"nothing";if(re==="...")return"multi";if(re!=null&&Q(re))return"handled";if(M.fallthrough){if(Object.prototype.toString.call(M.fallthrough)!="[object Array]")return Ps(L,M.fallthrough,Q,J);for(var De=0;De<M.fallthrough.length;De++){var mt=Ps(L,M.fallthrough[De],Q,J);if(mt)return mt}}}function Sl(L){var M=typeof L=="string"?L:ks[L.keyCode];return M=="Ctrl"||M=="Alt"||M=="Shift"||M=="Mod"}function Fl(L,M,Q){var J=L;return M.altKey&&J!="Alt"&&(L="Alt-"+L),(S?M.metaKey:M.ctrlKey)&&J!="Ctrl"&&(L="Ctrl-"+L),(S?M.ctrlKey:M.metaKey)&&J!="Mod"&&(L="Cmd-"+L),!Q&&M.shiftKey&&J!="Shift"&&(L="Shift-"+L),L}function Vl(L,M){if(c&&L.keyCode==34&&L.char)return!1;var Q=ks[L.keyCode];return Q==null||L.altGraphKey?!1:(L.keyCode==3&&L.code&&(Q=L.code),Fl(Q,L,M))}function xl(L){return typeof L=="string"?Ss[L]:L}function Qs(L,M){for(var Q=L.doc.sel.ranges,J=[],re=0;re<Q.length;re++){for(var De=M(Q[re]);J.length&&Kt(De.from,Ge(J).to)<=0;){var mt=J.pop();if(Kt(mt.from,De.from)<0){De.from=mt.from;break}}J.push(De)}bo(L,function(){for(var Nt=J.length-1;Nt>=0;Nt--)qo(L.doc,"",J[Nt].from,J[Nt].to,"+delete");La(L)})}function hl(L,M,Q){var J=ze(L.text,M+Q,Q);return J<0||J>L.text.length?null:J}function il(L,M,Q){var J=hl(L,M.ch,Q);return J==null?null:new Dt(M.line,J,Q<0?"after":"before")}function fl(L,M,Q,J,re){if(L){M.doc.direction=="rtl"&&(re=-re);var De=vt(Q,M.doc.direction);if(De){var mt=re<0?Ge(De):De[0],Nt=re<0==(mt.level==1),zt=Nt?"after":"before",Gt;if(mt.level>0||M.doc.direction=="rtl"){var Cr=Mn(M,Q);Gt=re<0?Q.text.length-1:0;var Ur=vn(M,Cr,Gt).top;Gt=_e(function(en){return vn(M,Cr,en).top==Ur},re<0==(mt.level==1)?mt.from:mt.to-1,Gt),zt=="before"&&(Gt=hl(Q,Gt,1))}else Gt=re<0?mt.to:mt.from;return new Dt(J,Gt,zt)}}return new Dt(J,re<0?Q.text.length:0,re<0?"before":"after")}function El(L,M,Q,J){var re=vt(M,L.doc.direction);if(!re)return il(M,Q,J);Q.ch>=M.text.length?(Q.ch=M.text.length,Q.sticky="before"):Q.ch<=0&&(Q.ch=0,Q.sticky="after");var De=Oe(re,Q.ch,Q.sticky),mt=re[De];if(L.doc.direction=="ltr"&&mt.level%2==0&&(J>0?mt.to>Q.ch:mt.from<Q.ch))return il(M,Q,J);var Nt=function(oi,li){return hl(M,oi instanceof Dt?oi.ch:oi,li)},zt,Gt=function(oi){return L.options.lineWrapping?(zt=zt||Mn(L,M),Ea(L,M,zt,oi)):{begin:0,end:M.text.length}},Cr=Gt(Q.sticky=="before"?Nt(Q,-1):Q.ch);if(L.doc.direction=="rtl"||mt.level==1){var Ur=mt.level==1==J<0,en=Nt(Q,Ur?1:-1);if(en!=null&&(Ur?en<=mt.to&&en<=Cr.end:en>=mt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Dt(Q.line,en,nn)}}var xn=function(oi,li,qe){for(var Z=function(vr,Lr){return Lr?new Dt(Q.line,Nt(vr,1),"before"):new Dt(Q.line,vr,"after")};oi>=0&&oi<re.length;oi+=li){var Me=re[oi],Je=li>0==(Me.level!=1),Ot=Je?qe.begin:Nt(qe.end,-1);if(Me.from<=Ot&&Ot<Me.to)return Z(Ot,Je);if(Ot=Je?Me.from:Nt(Me.to,-1),qe.begin<=Ot&&Ot<qe.end)return Z(Ot,Je)}},Bn=xn(De+J,J,Cr);if(Bn)return Bn;var Zn=J>0?Cr.end:Nt(Cr.begin,-1);return Zn!=null&&!(J>0&&Zn==M.text.length)&&(Bn=xn(J>0?0:re.length-1,J,Gt(Zn)),Bn)?Bn:null}var zs={selectAll:Fs,singleSelection:function(M){return M.setSelection(M.getCursor("anchor"),M.getCursor("head"),fe)},killLine:function(M){return Qs(M,function(Q){if(Q.empty()){var J=te(M.doc,Q.head.line).text.length;return Q.head.ch==J&&Q.head.line<M.lastLine()?{from:Q.head,to:Dt(Q.head.line+1,0)}:{from:Q.head,to:Dt(Q.head.line,J)}}else return{from:Q.from(),to:Q.to()}})},deleteLine:function(M){return Qs(M,function(Q){return{from:Dt(Q.from().line,0),to:ot(M.doc,Dt(Q.to().line+1,0))}})},delLineLeft:function(M){return Qs(M,function(Q){return{from:Dt(Q.from().line,0),to:Q.from()}})},delWrappedLineLeft:function(M){return Qs(M,function(Q){var J=M.charCoords(Q.head,"div").top+5,re=M.coordsChar({left:0,top:J},"div");return{from:re,to:Q.from()}})},delWrappedLineRight:function(M){return Qs(M,function(Q){var J=M.charCoords(Q.head,"div").top+5,re=M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:J},"div");return{from:Q.from(),to:re}})},undo:function(M){return M.undo()},redo:function(M){return M.redo()},undoSelection:function(M){return M.undoSelection()},redoSelection:function(M){return M.redoSelection()},goDocStart:function(M){return M.extendSelection(Dt(M.firstLine(),0))},goDocEnd:function(M){return M.extendSelection(Dt(M.lastLine()))},goLineStart:function(M){return M.extendSelectionsBy(function(Q){return Xl(M,Q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(M){return M.extendSelectionsBy(function(Q){return pl(M,Q.head)},{origin:"+move",bias:1})},goLineEnd:function(M){return M.extendSelectionsBy(function(Q){return Cl(M,Q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(M){return M.extendSelectionsBy(function(Q){var J=M.cursorCoords(Q.head,"div").top+5;return M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:J},"div")},ve)},goLineLeft:function(M){return M.extendSelectionsBy(function(Q){var J=M.cursorCoords(Q.head,"div").top+5;return M.coordsChar({left:0,top:J},"div")},ve)},goLineLeftSmart:function(M){return M.extendSelectionsBy(function(Q){var J=M.cursorCoords(Q.head,"div").top+5,re=M.coordsChar({left:0,top:J},"div");return re.ch<M.getLine(re.line).search(/\S/)?pl(M,Q.head):re},ve)},goLineUp:function(M){return M.moveV(-1,"line")},goLineDown:function(M){return M.moveV(1,"line")},goPageUp:function(M){return M.moveV(-1,"page")},goPageDown:function(M){return M.moveV(1,"page")},goCharLeft:function(M){return M.moveH(-1,"char")},goCharRight:function(M){return M.moveH(1,"char")},goColumnLeft:function(M){return M.moveH(-1,"column")},goColumnRight:function(M){return M.moveH(1,"column")},goWordLeft:function(M){return M.moveH(-1,"word")},goGroupRight:function(M){return M.moveH(1,"group")},goGroupLeft:function(M){return M.moveH(-1,"group")},goWordRight:function(M){return M.moveH(1,"word")},delCharBefore:function(M){return M.deleteH(-1,"codepoint")},delCharAfter:function(M){return M.deleteH(1,"char")},delWordBefore:function(M){return M.deleteH(-1,"word")},delWordAfter:function(M){return M.deleteH(1,"word")},delGroupBefore:function(M){return M.deleteH(-1,"group")},delGroupAfter:function(M){return M.deleteH(1,"group")},indentAuto:function(M){return M.indentSelection("smart")},indentMore:function(M){return M.indentSelection("add")},indentLess:function(M){return M.indentSelection("subtract")},insertTab:function(M){return M.replaceSelection(" ")},insertSoftTab:function(M){for(var Q=[],J=M.listSelections(),re=M.options.tabSize,De=0;De<J.length;De++){var mt=J[De].from(),Nt=W(M.getLine(mt.line),mt.ch,re);Q.push(Pe(re-Nt%re))}M.replaceSelections(Q)},defaultTab:function(M){M.somethingSelected()?M.indentSelection("add"):M.execCommand("insertTab")},transposeChars:function(M){return bo(M,function(){for(var Q=M.listSelections(),J=[],re=0;re<Q.length;re++){if(!Q[re].empty())continue;var De=Q[re].head,mt=te(M.doc,De.line).text;if(mt){if(De.ch==mt.length&&(De=new Dt(De.line,De.ch-1)),De.ch>0)De=new Dt(De.line,De.ch+1),M.replaceRange(mt.charAt(De.ch-1)+mt.charAt(De.ch-2),Dt(De.line,De.ch-2),De,"+transpose");else if(De.line>M.doc.first){var Nt=te(M.doc,De.line-1).text;Nt&&(De=new Dt(De.line,1),M.replaceRange(mt.charAt(0)+M.doc.lineSeparator()+Nt.charAt(Nt.length-1),Dt(De.line-1,Nt.length-1),De,"+transpose"))}}J.push(new oe(De,De))}M.setSelections(J)})},newlineAndIndent:function(M){return bo(M,function(){for(var Q=M.listSelections(),J=Q.length-1;J>=0;J--)M.replaceRange(M.doc.lineSeparator(),Q[J].anchor,Q[J].head,"+input");Q=M.listSelections();for(var re=0;re<Q.length;re++)M.indentLine(Q[re].from().line,null,!0);La(M)})},openLine:function(M){return M.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(M){return M.toggleOverwrite()}};function Xl(L,M){var Q=te(L.doc,M),J=ta(Q);return J!=Q&&(M=$e(J)),fl(!0,L,J,M,1)}function Cl(L,M){var Q=te(L.doc,M),J=Ii(Q);return J!=Q&&(M=$e(J)),fl(!0,L,Q,M,-1)}function pl(L,M){var Q=Xl(L,M.line),J=te(L.doc,Q.line),re=vt(J,L.doc.direction);if(!re||re[0].level==0){var De=Math.max(Q.ch,J.text.search(/\S/)),mt=M.line==Q.line&&M.ch<=De&&M.ch;return Dt(Q.line,mt?0:De,Q.sticky)}return Q}function Tl(L,M,Q){if(typeof M=="string"&&(M=zs[M],!M))return!1;L.display.input.ensurePolled();var J=L.display.shift,re=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Q&&(L.display.shift=!1),re=M(L)!=q}finally{L.display.shift=J,L.state.suppressEdits=!1}return re}function Gl(L,M,Q){for(var J=0;J<L.state.keyMaps.length;J++){var re=Ps(M,L.state.keyMaps[J],Q,L);if(re)return re}return L.options.extraKeys&&Ps(M,L.options.extraKeys,Q,L)||Ps(M,L.options.keyMap,Q,L)}var kl=new V;function ml(L,M,Q,J){var re=L.state.keySeq;if(re){if(Sl(M))return"handled";if(/\'$/.test(M)?L.state.keySeq=null:kl.set(50,function(){L.state.keySeq==re&&(L.state.keySeq=null,L.display.input.reset())}),Yl(L,re+" "+M,Q,J))return!0}return Yl(L,M,Q,J)}function Yl(L,M,Q,J){var re=Gl(L,M,J);return re=="multi"&&(L.state.keySeq=M),re=="handled"&&Tr(L,"keyHandled",L,M,Q),(re=="handled"||re=="multi")&&(Ve(Q),vi(L)),!!re}function Js(L,M){var Q=Vl(M,!0);return Q?M.shiftKey&&!L.state.keySeq?ml(L,"Shift-"+Q,M,function(J){return Tl(L,J,!0)})||ml(L,Q,M,function(J){if(typeof J=="string"?/^go[A-Z]/.test(J):J.motion)return Tl(L,J)}):ml(L,Q,M,function(J){return Tl(L,J)}):!1}function Ql(L,M,Q){return ml(L,"'"+Q+"'",M,function(J){return Tl(L,J,!0)})}var Ro=null;function Ws(L){var M=this;if(L.target&&L.target!=M.display.input.getField())return;if(M.curOp.focus=j(),Ye(M,L))return;u&&o<11&&L.keyCode==27&&(L.returnValue=!1);var Q=L.keyCode;M.display.shift=Q==16||L.shiftKey;var J=Js(M,L);c&&(Ro=J?Q:null,!J&&Q==88&&!Ae&&(w?L.metaKey:L.ctrlKey)&&M.replaceSelection("",null,"cut")),y&&!w&&!J&&Q==46&&L.shiftKey&&!L.ctrlKey&&document.execCommand&&document.execCommand("cut"),Q==18&&!/\bCodeMirror-crosshair\b/.test(M.display.lineDiv.className)&&al(M)}function al(L){var M=L.display.lineDiv;K(M,"CodeMirror-crosshair");function Q(J){(J.keyCode==18||!J.altKey)&&(x(M,"CodeMirror-crosshair"),He(document,"keyup",Q),He(document,"mouseover",Q))}Be(document,"keyup",Q),Be(document,"mouseover",Q)}function Bs(L){L.keyCode==16&&(this.doc.sel.shift=!1),Ye(this,L)}function Us(L){var M=this;if(L.target&&L.target!=M.display.input.getField())return;if(St(M.display,L)||Ye(M,L)||L.ctrlKey&&!L.altKey||w&&L.metaKey)return;var Q=L.keyCode,J=L.charCode;if(c&&Q==Ro){Ro=null,Ve(L);return}if(c&&(!L.which||L.which<10)&&Js(M,L))return;var re=String.fromCharCode(J==null?Q:J);if(re=="\b")return;if(Ql(M,L,re))return;M.display.input.onKeyPress(L)}var gl=400,xs=function(M,Q,J){this.time=M,this.pos=Q,this.button=J};xs.prototype.compare=function(L,M,Q){return this.time+gl>L&&Kt(M,this.pos)==0&&Q==this.button};var ol,Zs;function Pl(L,M){var Q=+new Date;return Zs&&Zs.compare(Q,L,M)?(ol=Zs=null,"triple"):ol&&ol.compare(Q,L,M)?(Zs=new xs(Q,L,M),ol=null,"double"):(ol=new xs(Q,L,M),Zs=null,"single")}function Ol(L){var M=this,Q=M.display;if(Ye(M,L)||Q.activeTouch&&Q.input.supportsTouch())return;if(Q.input.ensurePolled(),Q.shift=L.shiftKey,St(Q,L)){i||(Q.scroller.draggable=!1,setTimeout(function(){return Q.scroller.draggable=!0},100));return}if(_l(M,L))return;var J=ca(M,L),re=ye(L),De=J?Pl(J,re):"single";if(window.focus(),re==1&&M.state.selectingText&&M.state.selectingText(L),J&&vl(M,re,J,De,L))return;re==1?J?Bl(M,J,De,L):Qe(L)==Q.scroller&&Ve(L):re==2?(J&&wo(M.doc,J),setTimeout(function(){return Q.input.focus()},20)):re==3&&(T?M.display.input.onContextMenu(L):Ka(M))}function vl(L,M,Q,J,re){var De="Click";return J=="double"?De="Double"+De:J=="triple"&&(De="Triple"+De),De=(M==1?"Left":M==2?"Middle":"Right")+De,ml(L,Fl(De,re),re,function(mt){if(typeof mt=="string"&&(mt=zs[mt]),!mt)return!1;var Nt=!1;try{L.isReadOnly()&&(L.state.suppressEdits=!0),Nt=mt(L,Q)!=q}finally{L.state.suppressEdits=!1}return Nt})}function ql(L,M,Q){var J=L.getOption("configureMouse"),re=J?J(L,M,Q):{};if(re.unit==null){var De=b?Q.shiftKey&&Q.metaKey:Q.altKey;re.unit=De?"rectangle":M=="single"?"char":M=="double"?"word":"line"}return(re.extend==null||L.doc.extend)&&(re.extend=L.doc.extend||Q.shiftKey),re.addNew==null&&(re.addNew=w?Q.metaKey:Q.ctrlKey),re.moveOnDrag==null&&(re.moveOnDrag=!(w?Q.altKey:Q.ctrlKey)),re}function Bl(L,M,Q,J){u?setTimeout(U(Ga,L),0):L.curOp.focus=j();var re=ql(L,Q,J),De=L.doc.sel,mt;L.options.dragDrop&&Zt&&!L.isReadOnly()&&Q=="single"&&(mt=De.contains(M))>-1&&(Kt((mt=De.ranges[mt]).from(),M)<0||M.xRel>0)&&(Kt(mt.to(),M)>0||M.xRel<0)?yl(L,J,M,re):lc(L,J,M,re)}function yl(L,M,Q,J){var re=L.display,De=!1,mt=Za(L,function(Gt){i&&(re.scroller.draggable=!1),L.state.draggingText=!1,He(re.wrapper.ownerDocument,"mouseup",mt),He(re.wrapper.ownerDocument,"mousemove",Nt),He(re.scroller,"dragstart",zt),He(re.scroller,"drop",mt),De||(Ve(Gt),J.addNew||wo(L.doc,Q,null,null,J.extend),i&&!n||u&&o==9?setTimeout(function(){re.wrapper.ownerDocument.body.focus({preventScroll:!0}),re.input.focus()},20):re.input.focus())}),Nt=function(Cr){De=De||Math.abs(M.clientX-Cr.clientX)+Math.abs(M.clientY-Cr.clientY)>=10},zt=function(){return De=!0};i&&(re.scroller.draggable=!0),L.state.draggingText=mt,mt.copy=!J.moveOnDrag,re.scroller.dragDrop&&re.scroller.dragDrop(),Be(re.wrapper.ownerDocument,"mouseup",mt),Be(re.wrapper.ownerDocument,"mousemove",Nt),Be(re.scroller,"dragstart",zt),Be(re.scroller,"drop",mt),Ka(L),setTimeout(function(){return re.input.focus()},20)}function Jl(L,M,Q){if(Q=="char")return new oe(M,M);if(Q=="word")return L.findWordAt(M);if(Q=="line")return new oe(Dt(M.line,0),ot(L.doc,Dt(M.line+1,0)));var J=Q(L,M);return new oe(J.from,J.to)}function lc(L,M,Q,J){var re=L.display,De=L.doc;Ve(M);var mt,Nt,zt=De.sel,Gt=zt.ranges;if(J.addNew&&!J.extend?(Nt=De.sel.contains(Q),Nt>-1?mt=Gt[Nt]:mt=new oe(Q,Q)):(mt=De.sel.primary(),Nt=De.sel.primIndex),J.unit=="rectangle")J.addNew||(mt=new oe(Q,Q)),Q=ca(L,M,!0,!0),Nt=-1;else{var Cr=Jl(L,Q,J.unit);J.extend?mt=Qo(mt,Cr.anchor,Cr.head,J.extend):mt=Cr}J.addNew?Nt==-1?(Nt=Gt.length,Eo(De,we(L,Gt.concat([mt]),Nt),{scroll:!1,origin:"*mouse"})):Gt.length>1&&Gt[Nt].empty()&&J.unit=="char"&&!J.extend?(Eo(De,we(L,Gt.slice(0,Nt).concat(Gt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),zt=De.sel):ns(De,Nt,mt,G):(Nt=0,Eo(De,new Pt([mt],0),G),zt=De.sel);var Ur=Q;function en(li){if(Kt(Ur,li)==0)return;if(Ur=li,J.unit=="rectangle"){for(var qe=[],Z=L.options.tabSize,Me=W(te(De,Q.line).text,Q.ch,Z),Je=W(te(De,li.line).text,li.ch,Z),Ot=Math.min(Me,Je),tr=Math.max(Me,Je),vr=Math.min(Q.line,li.line),Lr=Math.min(L.lastLine(),Math.max(Q.line,li.line));vr<=Lr;vr++){var Hr=te(De,vr).text,Kr=Se(Hr,Ot,Z);Ot==tr?qe.push(new oe(Dt(vr,Kr),Dt(vr,Kr))):Hr.length>Kr&&qe.push(new oe(Dt(vr,Kr),Dt(vr,Se(Hr,tr,Z))))}qe.length||qe.push(new oe(Q,Q)),Eo(De,we(L,zt.ranges.slice(0,Nt).concat(qe),Nt),{origin:"*mouse",scroll:!1}),L.scrollIntoView(li)}else{var cn=mt,sn=Jl(L,li,J.unit),Fn=cn.anchor,si;Kt(sn.anchor,Fn)>0?(si=sn.head,Fn=dr(cn.from(),sn.anchor)):(si=sn.anchor,Fn=Mt(cn.to(),sn.head));var Kn=zt.ranges.slice(0);Kn[Nt]=Zl(L,new oe(ot(De,Fn),si)),Eo(De,we(L,Kn,Nt),G)}}var nn=re.wrapper.getBoundingClientRect(),xn=0;function Bn(li){var qe=++xn,Z=ca(L,li,!0,J.unit=="rectangle");if(!Z)return;if(Kt(Z,Ur)!=0){L.curOp.focus=j(),en(Z);var Me=ja(re,De);(Z.line>=Me.to||Z.line<Me.from)&&setTimeout(Za(L,function(){xn==qe&&Bn(li)}),150)}else{var Je=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Je&&setTimeout(Za(L,function(){if(xn!=qe)return;re.scroller.scrollTop+=Je,Bn(li)}),50)}}function Zn(li){L.state.selectingText=!1,xn=Infinity,li&&(Ve(li),re.input.focus()),He(re.wrapper.ownerDocument,"mousemove",Jn),He(re.wrapper.ownerDocument,"mouseup",oi),De.history.lastSelOrigin=null}var Jn=Za(L,function(li){li.buttons===0||!ye(li)?Zn(li):Bn(li)}),oi=Za(L,Zn);L.state.selectingText=oi,Be(re.wrapper.ownerDocument,"mousemove",Jn),Be(re.wrapper.ownerDocument,"mouseup",oi)}function Zl(L,M){var Q=M.anchor,J=M.head,re=te(L.doc,Q.line);if(Kt(Q,J)==0&&Q.sticky==J.sticky)return M;var De=vt(re);if(!De)return M;var mt=Oe(De,Q.ch,Q.sticky),Nt=De[mt];if(Nt.from!=Q.ch&&Nt.to!=Q.ch)return M;var zt=mt+(Nt.from==Q.ch==(Nt.level!=1)?0:1);if(zt==0||zt==De.length)return M;var Gt;if(J.line!=Q.line)Gt=(J.line-Q.line)*(L.doc.direction=="ltr"?1:-1)>0;else{var Cr=Oe(De,J.ch,J.sticky),Ur=Cr-mt||(J.ch-Q.ch)*(Nt.level==1?-1:1);Cr==zt-1||Cr==zt?Gt=Ur<0:Gt=Ur>0}var en=De[zt+(Gt?-1:0)],nn=Gt==(en.level==1),xn=nn?en.from:en.to,Bn=nn?"after":"before";return Q.ch==xn&&Q.sticky==Bn?M:new oe(new Dt(Q.line,xn,Bn),J)}function $l(L,M,Q,J){var re,De;if(M.touches)re=M.touches[0].clientX,De=M.touches[0].clientY;else try{re=M.clientX,De=M.clientY}catch(en){return!1}if(re>=Math.floor(L.display.gutters.getBoundingClientRect().right))return!1;J&&Ve(M);var mt=L.display,Nt=mt.lineDiv.getBoundingClientRect();if(De>Nt.bottom||!rt(L,Q))return $(M);De-=Nt.top-mt.viewOffset;for(var zt=0;zt<L.display.gutterSpecs.length;++zt){var Gt=mt.gutters.childNodes[zt];if(Gt&&Gt.getBoundingClientRect().right>=re){var Cr=gt(L.doc,De),Ur=L.display.gutterSpecs[zt];return wt(L,Q,L,Cr,Ur.className,M),$(M)}}}function _l(L,M){return $l(L,M,"gutterClick",!0)}function ec(L,M){if(St(L.display,M)||cc(L,M))return;if(Ye(L,M,"contextmenu"))return;T||L.display.input.onContextMenu(M)}function cc(L,M){return rt(L,"gutterContextMenu")?$l(L,M,"gutterContextMenu",!1):!1}function Ll(L){L.display.wrapper.className=L.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+L.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(L)}var js={toString:function(){return"CodeMirror.Init"}},Il={},Al={};function uc(L){var M=L.optionHandlers;function Q(J,re,De,mt){L.defaults[J]=re,De&&(M[J]=mt?function(Nt,zt,Gt){Gt!=js&&De(Nt,zt,Gt)}:De)}L.defineOption=Q,L.Init=js,Q("value","",function(J,re){return J.setValue(re)},!0),Q("mode",null,function(J,re){J.doc.modeOption=re,Rr(J)},!0),Q("indentUnit",2,Rr,!0),Q("indentWithTabs",!1),Q("smartIndent",!0),Q("tabSize",4,function(J){$r(J),yi(J),gi(J)},!0),Q("lineSeparator",null,function(J,re){if(J.doc.lineSep=re,!re)return;var De=[],mt=J.doc.first;J.doc.iter(function(zt){for(var Gt=0;;){var Cr=zt.text.indexOf(re,Gt);if(Cr==-1)break;Gt=Cr+re.length,De.push(Dt(mt,Cr))}mt++});for(var Nt=De.length-1;Nt>=0;Nt--)qo(J.doc,re,De[Nt],Dt(De[Nt].line,De[Nt].ch+re.length))}),Q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(J,re,De){J.state.specialChars=new RegExp(re.source+(re.test(" ")?"":"| "),"g"),De!=js&&J.refresh()}),Q("specialCharPlaceholder",Wi,function(J){return J.refresh()},!0),Q("electricChars",!0),Q("inputStyle",m?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Q("spellcheck",!1,function(J,re){return J.getInputField().spellcheck=re},!0),Q("autocorrect",!1,function(J,re){return J.getInputField().autocorrect=re},!0),Q("autocapitalize",!1,function(J,re){return J.getInputField().autocapitalize=re},!0),Q("rtlMoveVisually",!E),Q("wholeLineUpdateBefore",!0),Q("theme","default",function(J){Ll(J),as(J)},!0),Q("keyMap","default",function(J,re,De){var mt=xl(re),Nt=De!=js&&xl(De);Nt&&Nt.detach&&Nt.detach(J,mt),mt.attach&&mt.attach(J,Nt||null)}),Q("extraKeys",null),Q("configureMouse",null),Q("lineWrapping",!1,sl,!0),Q("gutters",[],function(J,re){J.display.gutterSpecs=Ns(re,J.options.lineNumbers),as(J)},!0),Q("fixedGutter",!0,function(J,re){J.display.gutters.style.left=re?Xi(J.display)+"px":"0",J.refresh()},!0),Q("coverGutterNextToScrollbar",!1,function(J){return Ra(J)},!0),Q("scrollbarStyle","native",function(J){vo(J),Ra(J),J.display.scrollbars.setScrollTop(J.doc.scrollTop),J.display.scrollbars.setScrollLeft(J.doc.scrollLeft)},!0),Q("lineNumbers",!1,function(J,re){J.display.gutterSpecs=Ns(J.options.gutters,re),as(J)},!0),Q("firstLineNumber",1,as,!0),Q("lineNumberFormatter",function(J){return J},as,!0),Q("showCursorWhenSelecting",!1,Ki,!0),Q("resetSelectionOnContextMenu",!0),Q("lineWiseCopyCut",!0),Q("pasteLinesPerSelection",!0),Q("selectionsMayTouch",!1),Q("readOnly",!1,function(J,re){re=="nocursor"&&(_i(J),J.display.input.blur()),J.display.input.readOnlyChanged(re)}),Q("screenReaderLabel",null,function(J,re){re=re===""?null:re,J.display.input.screenReaderLabelChanged(re)}),Q("disableInput",!1,function(J,re){re||J.display.input.reset()},!0),Q("dragDrop",!0,dc),Q("allowDropFileTypes",null),Q("cursorBlinkRate",530),Q("cursorScrollMargin",0),Q("cursorHeight",1,Ki,!0),Q("singleCursorHeightPerLine",!0,Ki,!0),Q("workTime",100),Q("workDelay",100),Q("flattenSpans",!0,$r,!0),Q("addModeClass",!1,$r,!0),Q("pollInterval",100),Q("undoDepth",200,function(J,re){return J.doc.history.undoDepth=re}),Q("historyEventDelay",1250),Q("viewportMargin",10,function(J){return J.refresh()},!0),Q("maxHighlightLength",1e4,$r,!0),Q("moveInputWithCursor",!0,function(J,re){re||J.display.input.resetPosition()}),Q("tabindex",null,function(J,re){return J.display.input.getField().tabIndex=re||""}),Q("autofocus",null),Q("direction","ltr",function(J,re){return J.doc.setDirection(re)},!0),Q("phrases",null)}function dc(L,M,Q){var J=Q&&Q!=js;if(!M!=!J){var re=L.display.dragFunctions,De=M?Be:He;De(L.display.scroller,"dragstart",re.start),De(L.display.scroller,"dragenter",re.enter),De(L.display.scroller,"dragover",re.over),De(L.display.scroller,"dragleave",re.leave),De(L.display.scroller,"drop",re.drop)}}function sl(L){L.options.lineWrapping?(K(L.display.wrapper,"CodeMirror-wrap"),L.display.sizer.style.minWidth="",L.display.sizerWidth=null):(x(L.display.wrapper,"CodeMirror-wrap"),jn(L)),Aa(L),gi(L),yi(L),setTimeout(function(){return Ra(L)},100)}function at(L,M){var Q=this;if(!(this instanceof at))return new at(L,M);this.options=M=M?H(M):{},H(Il,M,!1);var J=M.value;typeof J=="string"?J=new es(J,M.mode,null,M.lineSeparator,M.direction):M.mode&&(J.modeOption=M.mode),this.doc=J;var re=new at.inputStyles[M.inputStyle](this),De=this.display=new $s(L,J,re,M);De.wrapper.CodeMirror=this,Ll(this),M.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},M.autofocus&&!m&&De.input.focus(),u&&o<11&&setTimeout(function(){return Q.display.input.reset(!0)},20),ce(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Qn(this,J),M.autofocus&&!m||this.hasFocus()?setTimeout(function(){Q.hasFocus()&&!Q.state.focused&&pa(Q)},20):_i(this);for(var mt in Al)Al.hasOwnProperty(mt)&&Al[mt](this,M[mt],js);ls(this),M.finishInit&&M.finishInit(this);for(var Nt=0;Nt<Ue.length;++Nt)Ue[Nt](this);xo(this),i&&M.lineWrapping&&getComputedStyle(De.lineDiv).textRendering=="optimizelegibility"&&(De.lineDiv.style.textRendering="auto")}at.defaults=Il,at.optionHandlers=Al;function ce(L){var M=L.display;Be(M.scroller,"mousedown",Za(L,Ol)),u&&o<11?Be(M.scroller,"dblclick",Za(L,function(zt){if(Ye(L,zt))return;var Gt=ca(L,zt);if(!Gt||_l(L,zt)||St(L.display,zt))return;Ve(zt);var Cr=L.findWordAt(Gt);wo(L.doc,Cr.anchor,Cr.head)})):Be(M.scroller,"dblclick",function(zt){return Ye(L,zt)||Ve(zt)}),Be(M.scroller,"contextmenu",function(zt){return ec(L,zt)}),Be(M.input.getField(),"contextmenu",function(zt){M.scroller.contains(zt.target)||ec(L,zt)});var Q,J={end:0};function re(){M.activeTouch&&(Q=setTimeout(function(){return M.activeTouch=null},1e3),J=M.activeTouch,J.end=+new Date)}function De(zt){if(zt.touches.length!=1)return!1;var Gt=zt.touches[0];return Gt.radiusX<=1&&Gt.radiusY<=1}function mt(zt,Gt){if(Gt.left==null)return!0;var Cr=Gt.left-zt.left,Ur=Gt.top-zt.top;return Cr*Cr+Ur*Ur>20*20}Be(M.scroller,"touchstart",function(zt){if(!Ye(L,zt)&&!De(zt)&&!_l(L,zt)){M.input.ensurePolled(),clearTimeout(Q);var Gt=+new Date;M.activeTouch={start:Gt,moved:!1,prev:Gt-J.end<=300?J:null},zt.touches.length==1&&(M.activeTouch.left=zt.touches[0].pageX,M.activeTouch.top=zt.touches[0].pageY)}}),Be(M.scroller,"touchmove",function(){M.activeTouch&&(M.activeTouch.moved=!0)}),Be(M.scroller,"touchend",function(zt){var Gt=M.activeTouch;if(Gt&&!St(M,zt)&&Gt.left!=null&&!Gt.moved&&new Date-Gt.start<300){var Cr=L.coordsChar(M.activeTouch,"page"),Ur;!Gt.prev||mt(Gt,Gt.prev)?Ur=new oe(Cr,Cr):!Gt.prev.prev||mt(Gt,Gt.prev.prev)?Ur=L.findWordAt(Cr):Ur=new oe(Dt(Cr.line,0),ot(L.doc,Dt(Cr.line+1,0))),L.setSelection(Ur.anchor,Ur.head),L.focus(),Ve(zt)}re()}),Be(M.scroller,"touchcancel",re),Be(M.scroller,"scroll",function(){M.scroller.clientHeight&&(Yi(L,M.scroller.scrollTop),go(L,M.scroller.scrollLeft,!0),wt(L,"scroll",L))}),Be(M.scroller,"mousewheel",function(zt){return _s(L,zt)}),Be(M.scroller,"DOMMouseScroll",function(zt){return _s(L,zt)}),Be(M.wrapper,"scroll",function(){return M.wrapper.scrollTop=M.wrapper.scrollLeft=0}),M.dragFunctions={enter:function(Gt){Ye(L,Gt)||it(Gt)},over:function(Gt){Ye(L,Gt)||(Ml(L,Gt),it(Gt))},start:function(Gt){return Rl(L,Gt)},drop:Za(L,ac),leave:function(Gt){Ye(L,Gt)||bl(L)}};var Nt=M.input.getField();Be(Nt,"keyup",function(zt){return Bs.call(L,zt)}),Be(Nt,"keydown",Za(L,Ws)),Be(Nt,"keypress",Za(L,Us)),Be(Nt,"focus",function(zt){return pa(L,zt)}),Be(Nt,"blur",function(zt){return _i(L,zt)})}var Ue=[];at.defineInitHook=function(L){return Ue.push(L)};function bt(L,M,Q,J){var re=L.doc,De;Q==null&&(Q="add"),Q=="smart"&&(re.mode.indent?De=Ht(L,M).state:Q="prev");var mt=L.options.tabSize,Nt=te(re,M),zt=W(Nt.text,null,mt);Nt.stateAfter&&(Nt.stateAfter=null);var Gt=Nt.text.match(/^\s*/)[0],Cr;if(!J&&!/\S/.test(Nt.text))Cr=0,Q="not";else if(Q=="smart"&&(Cr=re.mode.indent(De,Nt.text.slice(Gt.length),Nt.text),Cr==q||Cr>150)){if(!J)return;Q="prev"}Q=="prev"?M>re.first?Cr=W(te(re,M-1).text,null,mt):Cr=0:Q=="add"?Cr=zt+L.options.indentUnit:Q=="subtract"?Cr=zt-L.options.indentUnit:typeof Q=="number"&&(Cr=zt+Q),Cr=Math.max(0,Cr);var Ur="",en=0;if(L.options.indentWithTabs)for(var nn=Math.floor(Cr/mt);nn;--nn)en+=mt,Ur+=" ";if(en<Cr&&(Ur+=Pe(Cr-en)),Ur!=Gt)return qo(re,Ur,Dt(M,0),Dt(M,Gt.length),"+input"),Nt.stateAfter=null,!0;for(var xn=0;xn<re.sel.ranges.length;xn++){var Bn=re.sel.ranges[xn];if(Bn.head.line==M&&Bn.head.ch<Gt.length){var Zn=Dt(M,Gt.length);ns(re,xn,new oe(Zn,Zn));break}}}var kt=null;function qt(L){kt=L}function ar(L,M,Q,J,re){var De=L.doc;L.display.shift=!1,J||(J=De.sel);var mt=+new Date-200,Nt=re=="paste"||L.state.pasteIncoming>mt,zt=or(M),Gt=null;if(Nt&&J.ranges.length>1)if(kt&&kt.text.join(`
|
|
|
`)==M){if(J.ranges.length%kt.text.length==0){Gt=[];for(var Cr=0;Cr<kt.text.length;Cr++)Gt.push(De.splitLines(kt.text[Cr]))}}else zt.length==J.ranges.length&&L.options.pasteLinesPerSelection&&(Gt=pt(zt,function(Jn){return[Jn]}));for(var Ur=L.curOp.updateInput,en=J.ranges.length-1;en>=0;en--){var nn=J.ranges[en],xn=nn.from(),Bn=nn.to();nn.empty()&&(Q&&Q>0?xn=Dt(xn.line,xn.ch-Q):L.state.overwrite&&!Nt?Bn=Dt(Bn.line,Math.min(te(De,Bn.line).text.length,Bn.ch+Ge(zt).length)):Nt&&kt&&kt.lineWise&&kt.text.join(`
|
|
|
`)==zt.join(`
|
|
|
`)&&(xn=Bn=Dt(xn.line,0)));var Zn={from:xn,to:Bn,text:Gt?Gt[en%Gt.length]:zt,origin:re||(Nt?"paste":L.state.cutIncoming>mt?"cut":"+input")};bs(L.doc,Zn),Tr(L,"inputRead",L,Zn)}M&&!Nt&&yr(L,M),La(L),L.curOp.updateInput<2&&(L.curOp.updateInput=Ur),L.curOp.typing=!0,L.state.pasteIncoming=L.state.cutIncoming=-1}function lr(L,M){var Q=L.clipboardData&&L.clipboardData.getData("Text");if(Q)return L.preventDefault(),!M.isReadOnly()&&!M.options.disableInput&&bo(M,function(){return ar(M,Q,0,null,"paste")}),!0}function yr(L,M){if(!L.options.electricChars||!L.options.smartIndent)return;for(var Q=L.doc.sel,J=Q.ranges.length-1;J>=0;J--){var re=Q.ranges[J];if(re.head.ch>100||J&&Q.ranges[J-1].head.line==re.head.line)continue;var De=L.getModeAt(re.head),mt=!1;if(De.electricChars){for(var Nt=0;Nt<De.electricChars.length;Nt++)if(M.indexOf(De.electricChars.charAt(Nt))>-1){mt=bt(L,re.head.line,"smart");break}}else De.electricInput&&(De.electricInput.test(te(L.doc,re.head.line).text.slice(0,re.head.ch))&&(mt=bt(L,re.head.line,"smart")));mt&&Tr(L,"electricInput",L,re.head.line)}}function Vr(L){for(var M=[],Q=[],J=0;J<L.doc.sel.ranges.length;J++){var re=L.doc.sel.ranges[J].head.line,De={anchor:Dt(re,0),head:Dt(re+1,0)};Q.push(De),M.push(L.getRange(De.anchor,De.head))}return{text:M,ranges:Q}}function Xr(L,M,Q,J){L.setAttribute("autocorrect",Q?"":"off"),L.setAttribute("autocapitalize",J?"":"off"),L.setAttribute("spellcheck",!!M)}function Br(){var L=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),M=N("div",[L],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return i?L.style.width="1000px":L.setAttribute("wrap","off"),s&&(L.style.border="1px solid black"),Xr(L),M}function kr(L){var M=L.optionHandlers,Q=L.helpers={};L.prototype={constructor:L,focus:function(){window.focus(),this.display.input.focus()},setOption:function(re,De){var mt=this.options,Nt=mt[re];if(mt[re]==De&&re!="mode")return;mt[re]=De,M.hasOwnProperty(re)&&Za(this,M[re])(this,De,Nt),wt(this,"optionChange",this,re)},getOption:function(re){return this.options[re]},getDoc:function(){return this.doc},addKeyMap:function(re,De){this.state.keyMaps[De?"push":"unshift"](xl(re))},removeKeyMap:function(re){for(var De=this.state.keyMaps,mt=0;mt<De.length;++mt)if(De[mt]==re||De[mt].name==re)return De.splice(mt,1),!0},addOverlay:Ya(function(J,re){var De=J.token?J:L.getMode(this.options,J);if(De.startState)throw new Error("Overlays may not be stateful.");Te(this.state.overlays,{mode:De,modeSpec:J,opaque:re&&re.opaque,priority:re&&re.priority||0},function(mt){return mt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ya(function(J){for(var re=this.state.overlays,De=0;De<re.length;++De){var mt=re[De].modeSpec;if(mt==J||typeof J=="string"&&mt.name==J){re.splice(De,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ya(function(J,re,De){typeof re!="string"&&typeof re!="number"&&(re==null?re=this.options.smartIndent?"smart":"prev":re=re?"add":"subtract"),Wt(this.doc,J)&&bt(this,J,re,De)}),indentSelection:Ya(function(J){for(var re=this.doc.sel.ranges,De=-1,mt=0;mt<re.length;mt++){var Nt=re[mt];if(Nt.empty())Nt.head.line>De&&(bt(this,Nt.head.line,J,!0),De=Nt.head.line,mt==this.doc.sel.primIndex&&La(this));else{var zt=Nt.from(),Gt=Nt.to(),Cr=Math.max(De,zt.line);De=Math.min(this.lastLine(),Gt.line-(Gt.ch?0:1))+1;for(var Ur=Cr;Ur<De;++Ur)bt(this,Ur,J);var en=this.doc.sel.ranges;zt.ch==0&&re.length==en.length&&en[mt].from().ch>0&&ns(this.doc,mt,new oe(zt,en[mt].to()),fe)}}}),getTokenAt:function(re,De){return Ar(this,re,De)},getLineTokens:function(re,De){return Ar(this,Dt(re),De,!0)},getTokenTypeAt:function(re){re=ot(this.doc,re);var De=ht(this,te(this.doc,re.line)),mt=0,Nt=(De.length-1)/2,zt=re.ch,Gt;if(zt==0)Gt=De[2];else for(;;){var Cr=mt+Nt>>1;if((Cr?De[Cr*2-1]:0)>=zt)Nt=Cr;else if(De[Cr*2+1]<zt)mt=Cr+1;else{Gt=De[Cr*2+2];break}}var Ur=Gt?Gt.indexOf("overlay "):-1;return Ur<0?Gt:Ur==0?null:Gt.slice(0,Ur-1)},getModeAt:function(re){var De=this.doc.mode;return De.innerMode?L.innerMode(De,this.getTokenAt(re).state).mode:De},getHelper:function(re,De){return this.getHelpers(re,De)[0]},getHelpers:function(re,De){var mt=[];if(!Q.hasOwnProperty(De))return mt;var Nt=Q[De],zt=this.getModeAt(re);if(typeof zt[De]=="string")Nt[zt[De]]&&mt.push(Nt[zt[De]]);else if(zt[De])for(var Gt=0;Gt<zt[De].length;Gt++){var Cr=Nt[zt[De][Gt]];Cr&&mt.push(Cr)}else zt.helperType&&Nt[zt.helperType]?mt.push(Nt[zt.helperType]):Nt[zt.name]&&mt.push(Nt[zt.name]);for(var Ur=0;Ur<Nt._global.length;Ur++){var en=Nt._global[Ur];en.pred(zt,this)&&z(mt,en.val)==-1&&mt.push(en.val)}return mt},getStateAfter:function(re,De){var mt=this.doc;return re=er(mt,re==null?mt.first+mt.size-1:re),Ht(this,re+1,De).state},cursorCoords:function(re,De){var mt,Nt=this.doc.sel.primary();return re==null?mt=Nt.head:typeof re=="object"?mt=ot(this.doc,re):mt=re?Nt.from():Nt.to(),Mi(this,mt,De||"page")},charCoords:function(re,De){return Ui(this,ot(this.doc,re),De||"page")},coordsChar:function(re,De){return re=fa(this,re,De||"page"),qi(this,re.left,re.top)},lineAtHeight:function(re,De){return re=fa(this,{top:re,left:0},De||"page").top,gt(this.doc,re+this.display.viewOffset)},heightAtLine:function(re,De,mt){var Nt=!1,zt;if(typeof re=="number"){var Gt=this.doc.first+this.doc.size-1;re<this.doc.first?re=this.doc.first:re>Gt&&(re=Gt,Nt=!0),zt=te(this.doc,re)}else zt=re;return Ri(this,zt,{top:0,left:0},De||"page",mt||Nt).top+(Nt?this.doc.height-On(zt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Li(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(re,De,mt,Nt,zt){var Gt=this.display;re=Mi(this,ot(this.doc,re));var Cr=re.bottom,Ur=re.left;if(De.style.position="absolute",De.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(De),Gt.sizer.appendChild(De),Nt=="over")Cr=re.top;else if(Nt=="above"||Nt=="near"){var en=Math.max(Gt.wrapper.clientHeight,this.doc.height),nn=Math.max(Gt.sizer.clientWidth,Gt.lineSpace.clientWidth);(Nt=="above"||re.bottom+De.offsetHeight>en)&&re.top>De.offsetHeight?Cr=re.top-De.offsetHeight:re.bottom+De.offsetHeight<=en&&(Cr=re.bottom),Ur+De.offsetWidth>nn&&(Ur=nn-De.offsetWidth)}De.style.top=Cr+"px",De.style.left=De.style.right="",zt=="right"?(Ur=Gt.sizer.clientWidth-De.offsetWidth,De.style.right="0px"):(zt=="left"?Ur=0:zt=="middle"&&(Ur=(Gt.sizer.clientWidth-De.offsetWidth)/2),De.style.left=Ur+"px"),mt&&Ca(this,{left:Ur,top:Cr,right:Ur+De.offsetWidth,bottom:Cr+De.offsetHeight})},triggerOnKeyDown:Ya(Ws),triggerOnKeyPress:Ya(Us),triggerOnKeyUp:Bs,triggerOnMouseDown:Ya(Ol),execCommand:function(re){if(zs.hasOwnProperty(re))return zs[re].call(null,this)},triggerElectric:Ya(function(J){yr(this,J)}),findPosH:function(re,De,mt,Nt){var zt=1;De<0&&(zt=-1,De=-De);for(var Gt=ot(this.doc,re),Cr=0;Cr<De&&!(Gt=Yr(this.doc,Gt,zt,mt,Nt),Gt.hitSide);++Cr);return Gt},moveH:Ya(function(J,re){var De=this;this.extendSelectionsBy(function(mt){return De.display.shift||De.doc.extend||mt.empty()?Yr(De.doc,mt.head,J,re,De.options.rtlMoveVisually):J<0?mt.from():mt.to()},ve)}),deleteH:Ya(function(J,re){var De=this.doc.sel,mt=this.doc;De.somethingSelected()?mt.replaceSelection("",null,"+delete"):Qs(this,function(Nt){var zt=Yr(mt,Nt.head,J,re,!1);return J<0?{from:zt,to:Nt.head}:{from:Nt.head,to:zt}})}),findPosV:function(re,De,mt,Nt){var zt=1,Gt=Nt;De<0&&(zt=-1,De=-De);for(var Cr=ot(this.doc,re),Ur=0;Ur<De;++Ur){var en=Mi(this,Cr,"div");if(Gt==null?Gt=en.left:en.left=Gt,Cr=dn(this,en,zt,mt),Cr.hitSide)break}return Cr},moveV:Ya(function(J,re){var De=this,mt=this.doc,Nt=[],zt=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(Cr){if(zt)return J<0?Cr.from():Cr.to();var Ur=Mi(De,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Nt.push(Ur.left);var en=dn(De,Ur,J,re);return re=="page"&&Cr==mt.sel.primary()&&Oo(De,Ui(De,en,"div").top-Ur.top),en},ve),Nt.length)for(var Gt=0;Gt<mt.sel.ranges.length;Gt++)mt.sel.ranges[Gt].goalColumn=Nt[Gt]}),findWordAt:function(re){var De=this.doc,mt=te(De,re.line).text,Nt=re.ch,zt=re.ch;if(mt){var Gt=this.getHelper(re,"wordChars");(re.sticky=="before"||zt==mt.length)&&Nt?--Nt:++zt;for(var Cr=mt.charAt(Nt),Ur=ee(Cr,Gt)?function(en){return ee(en,Gt)}:/\s/.test(Cr)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!ee(en)};Nt>0&&Ur(mt.charAt(Nt-1));)--Nt;for(;zt<mt.length&&Ur(mt.charAt(zt));)++zt}return new oe(Dt(re.line,Nt),Dt(re.line,zt))},toggleOverwrite:function(re){if(re!=null&&re==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?K(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),wt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==j()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ya(function(J,re){Fi(this,J,re)}),getScrollInfo:function(){var re=this.display.scroller;return{left:re.scrollLeft,top:re.scrollTop,height:re.scrollHeight-Mr(this)-this.display.barHeight,width:re.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ya(function(J,re){J==null?(J={from:this.doc.sel.primary().head,to:null},re==null&&(re=this.options.cursorScrollMargin)):typeof J=="number"?J={from:Dt(J,0),to:null}:J.from==null&&(J={from:J,to:null}),J.to||(J.to=J.from),J.margin=re||0,J.from.line!=null?Ja(this,J):pi(this,J.from,J.to,J.margin)}),setSize:Ya(function(J,re){var De=this,mt=function(Gt){return typeof Gt=="number"||/^\d+$/.test(String(Gt))?Gt+"px":Gt};J!=null&&(this.display.wrapper.style.width=mt(J)),re!=null&&(this.display.wrapper.style.height=mt(re)),this.options.lineWrapping&&Di(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(zt){if(zt.widgets){for(var Gt=0;Gt<zt.widgets.length;Gt++)if(zt.widgets[Gt].noHScroll){Pa(De,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,wt(this,"refresh",this)}),operation:function(re){return bo(this,re)},startOperation:function(){return Zi(this)},endOperation:function(){return xo(this)},refresh:Ya(function(){var J=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),Fi(this,this.doc.scrollLeft,this.doc.scrollTop),Bo(this.display),(J==null||Math.abs(J-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),wt(this,"refresh",this)}),swapDoc:Ya(function(J){var re=this.doc;return re.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,J),yi(this),this.display.input.reset(),Fi(this,J.scrollLeft,J.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,re),re}),phrase:function(re){var De=this.options.phrases;return De&&Object.prototype.hasOwnProperty.call(De,re)?De[re]:re},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}},st(L),L.registerHelper=function(J,re,De){Q.hasOwnProperty(J)||(Q[J]=L[J]={_global:[]}),Q[J][re]=De},L.registerGlobalHelper=function(J,re,De,mt){L.registerHelper(J,re,mt),Q[J]._global.push({pred:De,val:mt})}}function Yr(L,M,Q,J,re){var De=M,mt=Q,Nt=te(L,M.line),zt=re&&L.direction=="rtl"?-Q:Q;function Gt(){var oi=M.line+zt;return oi<L.first||oi>=L.first+L.size?!1:(M=new Dt(oi,M.ch,M.sticky),Nt=te(L,oi))}function Cr(oi){var li;if(J=="codepoint"){var qe=Nt.text.charCodeAt(M.ch+(J>0?0:-1));isNaN(qe)?li=null:li=new Dt(M.line,Math.max(0,Math.min(Nt.text.length,M.ch+Q*(qe>=55296&&qe<56320?2:1))),-Q)}else re?li=El(L.cm,Nt,M,Q):li=il(Nt,M,Q);if(li==null)if(!oi&&Gt())M=fl(re,L.cm,Nt,M.line,zt);else return!1;else M=li;return!0}if(J=="char"||J=="codepoint")Cr();else if(J=="column")Cr(!0);else if(J=="word"||J=="group")for(var Ur=null,en=J=="group",nn=L.cm&&L.cm.getHelper(M,"wordChars"),xn=!0;!(Q<0&&!Cr(!xn));xn=!1){var Bn=Nt.text.charAt(M.ch)||`
|
|
|
`,Zn=ee(Bn,nn)?"w":en&&Bn==`
|
|
|
`?"n":!en||/\s/.test(Bn)?null:"p";if(en&&!xn&&!Zn&&(Zn="s"),Ur&&Ur!=Zn){Q<0&&(Q=1,Cr(),M.sticky="after");break}if(Zn&&(Ur=Zn),Q>0&&!Cr(!xn))break}var Jn=Ms(L,M,De,mt,!0);return Yt(De,Jn)&&(Jn.hitSide=!0),Jn}function dn(L,M,Q,J){var re=L.doc,De=M.left,mt;if(J=="page"){var Nt=Math.min(L.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),zt=Math.max(Nt-.5*Ai(L.display),3);mt=(Q>0?M.bottom:M.top)+Q*zt}else J=="line"&&(mt=Q>0?M.bottom+3:M.top-3);for(var Gt;!(Gt=qi(L,De,mt),!Gt.outside);){if(Q<0?mt<=0:mt>=re.height){Gt.hitSide=!0;break}mt+=Q*5}return Gt}var pn=function(M){this.cm=M,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(L){var M=this,Q=this,J=Q.cm,re=Q.div=L.lineDiv;Xr(re,J.options.spellcheck,J.options.autocorrect,J.options.autocapitalize);function De(Nt){for(var zt=Nt.target;zt;zt=zt.parentNode){if(zt==re)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(zt.className))break}return!1}Be(re,"paste",function(Nt){if(!De(Nt)||Ye(J,Nt)||lr(Nt,J))return;o<=11&&setTimeout(Za(J,function(){return M.updateFromDOM()}),20)}),Be(re,"compositionstart",function(Nt){M.composing={data:Nt.data,done:!1}}),Be(re,"compositionupdate",function(Nt){M.composing||(M.composing={data:Nt.data,done:!1})}),Be(re,"compositionend",function(Nt){M.composing&&(Nt.data!=M.composing.data&&M.readFromDOMSoon(),M.composing.done=!0)}),Be(re,"touchstart",function(){return Q.forceCompositionEnd()}),Be(re,"input",function(){M.composing||M.readFromDOMSoon()});function mt(Nt){if(!De(Nt)||Ye(J,Nt))return;if(J.somethingSelected())qt({lineWise:!1,text:J.getSelections()}),Nt.type=="cut"&&J.replaceSelection("",null,"cut");else if(J.options.lineWiseCopyCut){var zt=Vr(J);qt({lineWise:!0,text:zt.text}),Nt.type=="cut"&&J.operation(function(){J.setSelections(zt.ranges,0,fe),J.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Gt=kt.text.join(`
|
|
|
`);if(Nt.clipboardData.setData("Text",Gt),Nt.clipboardData.getData("Text")==Gt){Nt.preventDefault();return}}var Cr=Br(),Ur=Cr.firstChild;J.display.lineSpace.insertBefore(Cr,J.display.lineSpace.firstChild),Ur.value=kt.text.join(`
|
|
|
`);var en=document.activeElement;B(Ur),setTimeout(function(){J.display.lineSpace.removeChild(Cr),en.focus(),en==re&&Q.showPrimarySelection()},50)}Be(re,"copy",mt),Be(re,"cut",mt)},pn.prototype.screenReaderLabelChanged=function(L){L?this.div.setAttribute("aria-label",L):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var L=zi(this.cm,!1);return L.focus=document.activeElement==this.div,L},pn.prototype.showSelection=function(L,M){if(!L||!this.cm.display.view.length)return;(L.focus||M)&&this.showPrimarySelection(),this.showMultipleSelections(L)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var L=this.getSelection(),M=this.cm,Q=M.doc.sel.primary(),J=Q.from(),re=Q.to();if(M.display.viewTo==M.display.viewFrom||J.line>=M.display.viewTo||re.line<M.display.viewFrom){L.removeAllRanges();return}var De=Si(M,L.anchorNode,L.anchorOffset),mt=Si(M,L.focusNode,L.focusOffset);if(De&&!De.bad&&mt&&!mt.bad&&Kt(dr(De,mt),J)==0&&Kt(Mt(De,mt),re)==0)return;var Nt=M.display.view,zt=J.line>=M.display.viewFrom&&ei(M,J)||{node:Nt[0].measure.map[2],offset:0},Gt=re.line<M.display.viewTo&&ei(M,re);if(!Gt){var Cr=Nt[Nt.length-1].measure,Ur=Cr.maps?Cr.maps[Cr.maps.length-1]:Cr.map;Gt={node:Ur[Ur.length-1],offset:Ur[Ur.length-2]-Ur[Ur.length-3]}}if(!zt||!Gt){L.removeAllRanges();return}var en=L.rangeCount&&L.getRangeAt(0),nn;try{nn=k(zt.node,zt.offset,Gt.offset,Gt.node)}catch(xn){}nn&&(!y&&M.state.focused?(L.collapse(zt.node,zt.offset),nn.collapsed||(L.removeAllRanges(),L.addRange(nn))):(L.removeAllRanges(),L.addRange(nn)),en&&L.anchorNode==null?L.addRange(en):y&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var L=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){L.gracePeriod=!1,L.selectionChanged()&&L.cm.operation(function(){return L.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(L){_(this.cm.display.cursorDiv,L.cursors),_(this.cm.display.selectionDiv,L.selection)},pn.prototype.rememberSelection=function(){var L=this.getSelection();this.lastAnchorNode=L.anchorNode,this.lastAnchorOffset=L.anchorOffset,this.lastFocusNode=L.focusNode,this.lastFocusOffset=L.focusOffset},pn.prototype.selectionInEditor=function(){var L=this.getSelection();if(!L.rangeCount)return!1;var M=L.getRangeAt(0).commonAncestorContainer;return P(this.div,M)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var L=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return L.cm.curOp.selectionChanged=!0});function M(){L.cm.state.focused&&(L.pollSelection(),L.polling.set(L.cm.options.pollInterval,M))}this.polling.set(this.cm.options.pollInterval,M)},pn.prototype.selectionChanged=function(){var L=this.getSelection();return L.anchorNode!=this.lastAnchorNode||L.anchorOffset!=this.lastAnchorOffset||L.focusNode!=this.lastFocusNode||L.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var L=this.getSelection(),M=this.cm;if(d&&a&&this.cm.display.gutterSpecs.length&&ci(L.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var Q=Si(M,L.anchorNode,L.anchorOffset),J=Si(M,L.focusNode,L.focusOffset);Q&&J&&bo(M,function(){Eo(M.doc,Ee(Q,J),fe),(Q.bad||J.bad)&&(M.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var L=this.cm,M=L.display,Q=L.doc.sel.primary(),J=Q.from(),re=Q.to();if(J.ch==0&&J.line>L.firstLine()&&(J=Dt(J.line-1,te(L.doc,J.line-1).length)),re.ch==te(L.doc,re.line).text.length&&re.line<L.lastLine()&&(re=Dt(re.line+1,0)),J.line<M.viewFrom||re.line>M.viewTo-1)return!1;var De,mt,Nt;J.line==M.viewFrom||(De=la(L,J.line))==0?(mt=$e(M.view[0].line),Nt=M.view[0].node):(mt=$e(M.view[De].line),Nt=M.view[De-1].node.nextSibling);var zt=la(L,re.line),Gt,Cr;if(zt==M.view.length-1?(Gt=M.viewTo-1,Cr=M.lineDiv.lastChild):(Gt=$e(M.view[zt+1].line)-1,Cr=M.view[zt+1].node.previousSibling),!Nt)return!1;for(var Ur=L.doc.splitLines(Ji(L,Nt,Cr,mt,Gt)),en=be(L.doc,Dt(mt,0),Dt(Gt,te(L.doc,Gt).text.length));Ur.length>1&&en.length>1;)if(Ge(Ur)==Ge(en))Ur.pop(),en.pop(),Gt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),mt++;else break;for(var nn=0,xn=0,Bn=Ur[0],Zn=en[0],Jn=Math.min(Bn.length,Zn.length);nn<Jn&&Bn.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=Ge(Ur),li=Ge(en),qe=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<qe&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&mt==J.line)for(;nn&&nn>J.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;Ur[Ur.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),Ur[0]=Ur[0].slice(nn).replace(/\u200b+$/,"");var Z=Dt(mt,nn),Me=Dt(Gt,en.length?Ge(en).length-xn:0);if(Ur.length>1||Ur[0]||Kt(Z,Me))return qo(L.doc,Ur,Z,Me,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var L=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(L.readDOMTimeout=null,L.composing)if(L.composing.done)L.composing=null;else return;L.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var L=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(L.cm)})},pn.prototype.setUneditable=function(L){L.contentEditable="false"},pn.prototype.onKeyPress=function(L){if(L.charCode==0||this.composing)return;L.preventDefault(),this.cm.isReadOnly()||Za(this.cm,ar)(this.cm,String.fromCharCode(L.charCode==null?L.keyCode:L.charCode),0)},pn.prototype.readOnlyChanged=function(L){this.div.contentEditable=String(L!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(L,M){var Q=bn(L,M.line);if(!Q||Q.hidden)return null;var J=te(L.doc,M.line),re=wn(Q,J,M.line),De=vt(J,L.doc.direction),mt="left";if(De){var Nt=Oe(De,M.ch);mt=Nt%2?"right":"left"}var zt=En(re.map,M.ch,mt);return zt.offset=zt.collapse=="right"?zt.end:zt.start,zt}function ci(L){for(var M=L;M;M=M.parentNode)if(/CodeMirror-gutter-wrapper/.test(M.className))return!0;return!1}function ii(L,M){return M&&(L.bad=!0),L}function Ji(L,M,Q,J,re){var De="",mt=!1,Nt=L.doc.lineSeparator(),zt=!1;function Gt(nn){return function(xn){return xn.id==nn}}function Cr(){mt&&(De+=Nt,zt&&(De+=Nt),mt=zt=!1)}function Ur(nn){nn&&(Cr(),De+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Bn=nn.getAttribute("cm-marker"),Zn;if(Bn){var Jn=L.findMarks(Dt(J,0),Dt(re+1,0),Gt(+Bn));Jn.length&&(Zn=Jn[0].find(0))&&Ur(be(L.doc,Zn.from,Zn.to).join(Nt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Cr();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(zt=!0),oi&&(mt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(M),M==Q);)M=M.nextSibling,zt=!1;return De}function Si(L,M,Q){var J;if(M==L.display.lineDiv){if(J=L.display.lineDiv.childNodes[Q],!J)return ii(L.clipPos(Dt(L.display.viewTo-1)),!0);M=null,Q=0}else for(J=M;;J=J.parentNode){if(!J||J==L.display.lineDiv)return null;if(J.parentNode&&J.parentNode==L.display.lineDiv)break}for(var re=0;re<L.display.view.length;re++){var De=L.display.view[re];if(De.node==J)return Va(De,M,Q)}}function Va(L,M,Q){var J=L.text.firstChild,re=!1;if(!M||!P(J,M))return ii(Dt($e(L.line),0),!0);if(M==J&&(re=!0,M=J.childNodes[Q],Q=0,!M)){var De=L.rest?Ge(L.rest):L.line;return ii(Dt($e(De),De.text.length),re)}var mt=M.nodeType==3?M:null,Nt=M;for(!mt&&M.childNodes.length==1&&M.firstChild.nodeType==3&&(mt=M.firstChild,Q&&(Q=mt.nodeValue.length));Nt.parentNode!=J;)Nt=Nt.parentNode;var zt=L.measure,Gt=zt.maps;function Cr(Zn,Jn,oi){for(var li=-1;li<(Gt?Gt.length:0);li++)for(var qe=li<0?zt.map:Gt[li],Z=0;Z<qe.length;Z+=3){var Me=qe[Z+2];if(Me==Zn||Me==Jn){var Je=$e(li<0?L.line:L.rest[li]),Ot=qe[Z]+oi;return(oi<0||Me!=Zn)&&(Ot=qe[Z+(oi?1:0)]),Dt(Je,Ot)}}}var Ur=Cr(mt,Nt,Q);if(Ur)return ii(Ur,re);for(var en=Nt.nextSibling,nn=mt?mt.nodeValue.length-Q:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Dt(Ur.line,Ur.ch-nn),re);nn+=en.textContent.length}for(var xn=Nt.previousSibling,Bn=Q;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Dt(Ur.line,Ur.ch+Bn),re);Bn+=xn.textContent.length}}var Ei=function(M){this.cm=M,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(L){var M=this,Q=this,J=this.cm;this.createField(L);var re=this.textarea;L.wrapper.insertBefore(this.wrapper,L.wrapper.firstChild),s&&(re.style.width="0px"),Be(re,"input",function(){u&&o>=9&&M.hasSelection&&(M.hasSelection=null),Q.poll()}),Be(re,"paste",function(mt){if(Ye(J,mt)||lr(mt,J))return;J.state.pasteIncoming=+new Date,Q.fastPoll()});function De(mt){if(Ye(J,mt))return;if(J.somethingSelected())qt({lineWise:!1,text:J.getSelections()});else if(J.options.lineWiseCopyCut){var Nt=Vr(J);qt({lineWise:!0,text:Nt.text}),mt.type=="cut"?J.setSelections(Nt.ranges,null,fe):(Q.prevInput="",re.value=Nt.text.join(`
|
|
|
`),B(re))}else return;mt.type=="cut"&&(J.state.cutIncoming=+new Date)}Be(re,"cut",De),Be(re,"copy",De),Be(L.scroller,"paste",function(mt){if(St(L,mt)||Ye(J,mt))return;if(!re.dispatchEvent){J.state.pasteIncoming=+new Date,Q.focus();return}var Nt=new Event("paste");Nt.clipboardData=mt.clipboardData,re.dispatchEvent(Nt)}),Be(L.lineSpace,"selectstart",function(mt){St(L,mt)||Ve(mt)}),Be(re,"compositionstart",function(){var mt=J.getCursor("from");Q.composing&&Q.composing.range.clear(),Q.composing={start:mt,range:J.markText(mt,J.getCursor("to"),{className:"CodeMirror-composing"})}}),Be(re,"compositionend",function(){Q.composing&&(Q.poll(),Q.composing.range.clear(),Q.composing=null)})},Ei.prototype.createField=function(L){this.wrapper=Br(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(L){L?this.textarea.setAttribute("aria-label",L):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var L=this.cm,M=L.display,Q=L.doc,J=zi(L);if(L.options.moveInputWithCursor){var re=Mi(L,Q.sel.primary().head,"div"),De=M.wrapper.getBoundingClientRect(),mt=M.lineDiv.getBoundingClientRect();J.teTop=Math.max(0,Math.min(M.wrapper.clientHeight-10,re.top+mt.top-De.top)),J.teLeft=Math.max(0,Math.min(M.wrapper.clientWidth-10,re.left+mt.left-De.left))}return J},Ei.prototype.showSelection=function(L){var M=this.cm,Q=M.display;_(Q.cursorDiv,L.cursors),_(Q.selectionDiv,L.selection),L.teTop!=null&&(this.wrapper.style.top=L.teTop+"px",this.wrapper.style.left=L.teLeft+"px")},Ei.prototype.reset=function(L){if(this.contextMenuPending||this.composing)return;var M=this.cm;if(M.somethingSelected()){this.prevInput="";var Q=M.getSelection();this.textarea.value=Q,M.state.focused&&B(this.textarea),u&&o>=9&&(this.hasSelection=Q)}else L||(this.prevInput=this.textarea.value="",u&&o>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!m||j()!=this.textarea))try{this.textarea.focus()}catch(L){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var L=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){L.poll(),L.cm.state.focused&&L.slowPoll()})},Ei.prototype.fastPoll=function(){var L=!1,M=this;M.pollingFast=!0;function Q(){var J=M.poll();!J&&!L?(L=!0,M.polling.set(60,Q)):(M.pollingFast=!1,M.slowPoll())}M.polling.set(20,Q)},Ei.prototype.poll=function(){var L=this,M=this.cm,Q=this.textarea,J=this.prevInput;if(this.contextMenuPending||!M.state.focused||Bt(Q)&&!J&&!this.composing||M.isReadOnly()||M.options.disableInput||M.state.keySeq)return!1;var re=Q.value;if(re==J&&!M.somethingSelected())return!1;if(u&&o>=9&&this.hasSelection===re||w&&/[\uf700-\uf7ff]/.test(re))return M.display.input.reset(),!1;if(M.doc.sel==M.display.selForContextMenu){var De=re.charCodeAt(0);if(De==8203&&!J&&(J="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,Nt=Math.min(J.length,re.length);mt<Nt&&J.charCodeAt(mt)==re.charCodeAt(mt);)++mt;return bo(M,function(){ar(M,re.slice(mt),J.length-mt,null,L.composing?"*compose":null),re.length>1e3||re.indexOf(`
|
|
|
`)>-1?Q.value=L.prevInput="":L.prevInput=re,L.composing&&(L.composing.range.clear(),L.composing.range=M.markText(L.composing.start,M.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){u&&o>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(L){var M=this,Q=M.cm,J=Q.display,re=M.textarea;M.contextMenuPending&&M.contextMenuPending();var De=ca(Q,L),mt=J.scroller.scrollTop;if(!De||c)return;var Nt=Q.options.resetSelectionOnContextMenu;Nt&&Q.doc.sel.contains(De)==-1&&Za(Q,Eo)(Q.doc,Ee(De),fe);var zt=re.style.cssText,Gt=M.wrapper.style.cssText,Cr=M.wrapper.offsetParent.getBoundingClientRect();M.wrapper.style.cssText="position: static",re.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(L.clientY-Cr.top-5)+"px; left: "+(L.clientX-Cr.left-5)+`px;
|
|
|
z-index: 1000; background: `+(u?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ur;i&&(Ur=window.scrollY),J.input.focus(),i&&window.scrollTo(null,Ur),J.input.reset(),Q.somethingSelected()||(re.value=M.prevInput=" "),M.contextMenuPending=nn,J.selForContextMenu=Q.doc.sel,clearTimeout(J.detectingSelectAll);function en(){if(re.selectionStart!=null){var Bn=Q.somethingSelected(),Zn="\u200B"+(Bn?re.value:"");re.value="\u21DA",re.value=Zn,M.prevInput=Bn?"":"\u200B",re.selectionStart=1,re.selectionEnd=Zn.length,J.selForContextMenu=Q.doc.sel}}function nn(){if(M.contextMenuPending!=nn)return;if(M.contextMenuPending=!1,M.wrapper.style.cssText=Gt,re.style.cssText=zt,u&&o<9&&J.scrollbars.setScrollTop(J.scroller.scrollTop=mt),re.selectionStart!=null){(!u||u&&o<9)&&en();var Bn=0,Zn=function Jn(){J.selForContextMenu==Q.doc.sel&&re.selectionStart==0&&re.selectionEnd>0&&M.prevInput=="\u200B"?Za(Q,Fs)(Q):Bn++<10?J.detectingSelectAll=setTimeout(Jn,500):(J.selForContextMenu=null,J.input.reset())};J.detectingSelectAll=setTimeout(Zn,200)}}if(u&&o>=9&&en(),T){it(L);var xn=function Bn(){He(window,"mouseup",Bn),setTimeout(nn,20)};Be(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(L){L||this.reset(),this.textarea.disabled=L=="nocursor",this.textarea.readOnly=!!L},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function co(L,M){if(M=M?H(M):{},M.value=L.value,!M.tabindex&&L.tabIndex&&(M.tabindex=L.tabIndex),!M.placeholder&&L.placeholder&&(M.placeholder=L.placeholder),M.autofocus==null){var Q=j();M.autofocus=Q==L||L.getAttribute("autofocus")!=null&&Q==document.body}function J(){L.value=Nt.getValue()}var re;if(L.form&&(Be(L.form,"submit",J),!M.leaveSubmitMethodAlone)){var De=L.form;re=De.submit;try{var mt=De.submit=function(){J(),De.submit=re,De.submit(),De.submit=mt}}catch(zt){}}M.finishInit=function(zt){zt.save=J,zt.getTextArea=function(){return L},zt.toTextArea=function(){zt.toTextArea=isNaN,J(),L.parentNode.removeChild(zt.getWrapperElement()),L.style.display="",L.form&&(He(L.form,"submit",J),!M.leaveSubmitMethodAlone&&typeof L.form.submit=="function"&&(L.form.submit=re))}},L.style.display="none";var Nt=at(function(zt){return L.parentNode.insertBefore(zt,L.nextSibling)},M);return Nt}function Ko(L){L.off=He,L.on=Be,L.wheelEventPixels=Vs,L.Doc=es,L.splitLines=or,L.countColumn=W,L.findColumn=Se,L.isWordChar=de,L.Pass=q,L.signal=wt,L.Line=ni,L.changeEnd=We,L.scrollbarModel=ro,L.Pos=Dt,L.cmpPos=Kt,L.modes=le,L.mimeModes=Ne,L.resolveMode=Xe,L.getMode=Fe,L.modeExtensions=nt,L.extendMode=At,L.copyState=_t,L.startState=ue,L.innerMode=ne,L.commands=zs,L.keyMap=Ss,L.keyName=Vl,L.isModifierKey=Sl,L.lookupKey=Ps,L.normalizeKeyMap=nl,L.StringStream=Y,L.SharedTextMarker=el,L.TextMarker=Ls,L.LineWidget=ll,L.e_preventDefault=Ve,L.e_stopPropagation=ie,L.e_stop=it,L.addClass=K,L.contains=P,L.rmClass=x,L.keyNames=ks}uc(at),kr(at);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&z(ao,Uo)<0&&(at.prototype[Uo]=function(L){return function(){return L.apply(this.doc,arguments)}}(es.prototype[Uo]));return st(es),at.inputStyles={textarea:Ei,contenteditable:pn},at.defineMode=function(L){!at.defaults.mode&&L!="null"&&(at.defaults.mode=L),je.apply(this,arguments)},at.defineMIME=Ke,at.defineMode("null",function(){return{token:function(M){return M.skipToEnd()}}}),at.defineMIME("text/plain","null"),at.defineExtension=function(L,M){at.prototype[L]=M},at.defineDocExtension=function(L,M){es.prototype[L]=M},at.fromTextArea=co,Ko(at),at.version="5.58.2",at})},Vy0f:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("iYpf"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},W2nI:function(D,I,e){var g=e("IwbS"),f=e("ProS"),y=e("bYtY"),p=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function o(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function i(l,t,s){var d=l.getGraphicEl(),m=o(l,t);s!=null&&(m==null&&(m=1),m*=s),d.downplay&&d.downplay(),d.traverse(function(w){w.type!=="group"&&w.setStyle("opacity",m)})}function r(l,t){var s=o(l,t),d=l.getGraphicEl();d.traverse(function(m){m.type!=="group"&&m.setStyle("opacity",s)}),d.highlight&&d.highlight()}var a=g.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,t){var s=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+s,t.y2),l.bezierCurveTo(t.cpx2+s,t.cpy2,t.cpx1+s,t.cpy1,t.x1+s,t.y1)):(l.lineTo(t.x2,t.y2+s),l.bezierCurveTo(t.cpx2,t.cpy2+s,t.cpx1,t.cpy1+s,t.x1,t.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,s){var d=this,m=l.getGraph(),w=this.group,b=l.layoutInfo,E=b.width,A=b.height,S=l.getData(),T=l.getData("edge"),O=l.get("orient");this._model=l,w.removeAll(),w.attr("position",[b.x,b.y]),m.eachEdge(function(x){var C=new a;C.dataIndex=x.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var _=x.getModel("lineStyle"),N=_.get("curveness"),F=x.node1.getLayout(),k=x.node1.getModel(),P=k.get("localX"),j=k.get("localY"),K=x.node2.getLayout(),R=x.node2.getModel(),B=R.get("localX"),U=R.get("localY"),H=x.getLayout(),W,V,z,X,q,fe,G,ve;C.shape.extent=Math.max(1,H.dy),C.shape.orient=O,O==="vertical"?(W=(P!=null?P*E:F.x)+H.sy,V=(j!=null?j*A:F.y)+F.dy,z=(B!=null?B*E:K.x)+H.ty,X=U!=null?U*A:K.y,q=W,fe=V*(1-N)+X*N,G=z,ve=V*N+X*(1-N)):(W=(P!=null?P*E:F.x)+F.dx,V=(j!=null?j*A:F.y)+H.sy,z=B!=null?B*E:K.x,X=(U!=null?U*A:K.y)+H.ty,q=W*(1-N)+z*N,fe=V,G=W*N+z*(1-N),ve=X),C.setShape({x1:W,y1:V,x2:z,y2:X,cpx1:q,cpy1:fe,cpx2:G,cpy2:ve}),C.setStyle(_.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}g.setHoverStyle(C,x.getModel("emphasis.lineStyle").getItemStyle()),w.add(C),T.setItemGraphicEl(x.dataIndex,C)}),m.eachNode(function(x){var C=x.getLayout(),_=x.getModel(),N=_.get("localX"),F=_.get("localY"),k=_.getModel("label"),P=_.getModel("emphasis.label"),j=new g.Rect({shape:{x:N!=null?N*E:C.x,y:F!=null?F*A:C.y,width:C.dx,height:C.dy},style:_.getModel("itemStyle").getItemStyle()}),K=x.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(j.style,K,k,P,{labelFetcher:l,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),j.setStyle("fill",x.getVisual("color")),g.setHoverStyle(j,K),w.add(j),S.setItemGraphicEl(x.dataIndex,j),j.dataType="node"}),S.eachItemGraphicEl(function(x,C){var _=S.getItemModel(C);_.get("draggable")&&(x.drift=function(N,F){d._focusAdjacencyDisabled=!0,this.shape.x+=N,this.shape.y+=F,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:S.getRawIndex(C),localX:this.shape.x/E,localY:this.shape.y/A})},x.ondragend=function(){d._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),_.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){d._focusAdjacencyDisabled||(d._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){d._focusAdjacencyDisabled||d._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(x,C){var _=T.getItemModel(C);x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),_.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){d._focusAdjacencyDisabled||(d._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){d._focusAdjacencyDisabled||d._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&w.setClipPath(n(w.getBoundingRect(),l,function(){w.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,s,d){var m=l.getData(),w=m.graph,b=d.dataIndex,E=m.getItemModel(b),A=d.edgeDataIndex;if(b==null&&A==null)return;var S=w.getNodeByIndex(b),T=w.getEdgeByIndex(A);if(w.eachNode(function(x){i(x,p,.1)}),w.eachEdge(function(x){i(x,h,.1)}),S){r(S,v);var O=E.get("focusNodeAdjacency");O==="outEdges"?y.each(S.outEdges,function(x){if(x.dataIndex<0)return;r(x,u),r(x.node2,v)}):O==="inEdges"?y.each(S.inEdges,function(x){if(x.dataIndex<0)return;r(x,u),r(x.node1,v)}):O==="allEdges"&&y.each(S.edges,function(x){if(x.dataIndex<0)return;r(x,u),x.node1!==S&&r(x.node1,v),x.node2!==S&&r(x.node2,v)})}T&&(r(T,u),r(T.node1,v),r(T.node2,v))},unfocusNodeAdjacency:function(l,t,s,d){var m=l.getGraph();m.eachNode(function(w){i(w,p)}),m.eachEdge(function(w){i(w,h)})}});function n(l,t,s){var d=new g.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return g.initProps(d,{shape:{width:l.width+20}},t,s),d}D.exports=c},W4dC:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.each,v=y.createHashMap,h=e("7DRL"),u=e("TIY9"),o=e("yS9w"),i=e("mFDi"),r={geoJSON:u,svg:o},a={load:function(t,s,d){var m=[],w=v(),b=v(),E,A=l(t);return p(A,function(S){var T=r[S.type].load(t,S,d);p(T.regions,function(x){var C=x.name;s&&s.hasOwnProperty(C)&&(x=x.cloneShallow(C=s[C])),m.push(x),w.set(C,x),b.set(C,x.center)});var O=T.boundingRect;O&&(E?E.union(O):E=O.clone())}),{regions:m,regionsMap:w,nameCoordMap:b,boundingRect:E||new i(0,0,0,0)}},makeGraphic:c("makeGraphic"),removeGraphic:c("removeGraphic")};function c(t){return function(s,d){var m=l(s),w=[];return p(m,function(b){var E=r[b.type][t];E&&w.push(E(s,b,d))}),w}}function n(t){}function l(t){var s=h.retrieveMap(t)||[];return s}D.exports=a},WGYa:function(D,I,e){var g=e("7yuC"),f=g.forceLayout,y=e("HF/U"),p=y.simpleLayout,v=e("lOQZ"),h=v.circularLayout,u=e("OELB"),o=u.linearMap,i=e("QBsz"),r=e("bYtY");function a(c){c.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(l&&l.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},s=n.getGraph(),d=s.data,m=s.edgeData,w=n.getModel("force"),b=w.get("initLayout");n.preservedPoints?d.each(function(k){var P=d.getId(k);d.setItemLayout(k,t[P]||[NaN,NaN])}):!b||b==="none"?p(n):b==="circular"&&h(n,"value");var E=d.getDataExtent("value"),A=m.getDataExtent("value"),S=w.get("repulsion"),T=w.get("edgeLength");r.isArray(S)||(S=[S,S]),r.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var O=d.mapArray("value",function(k,P){var j=d.getItemLayout(P),K=o(k,E,S);return isNaN(K)&&(K=(S[0]+S[1])/2),{w:K,rep:K,fixed:d.getItemModel(P).get("fixed"),p:!j||isNaN(j[0])||isNaN(j[1])?null:j}}),x=m.mapArray("value",function(k,P){var j=s.getEdgeByIndex(P),K=o(k,A,T);isNaN(K)&&(K=(T[0]+T[1])/2);var R=j.getModel();return{n1:O[j.node1.dataIndex],n2:O[j.node2.dataIndex],d:K,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=n.coordinateSystem,C=l.getBoundingRect(),_=f(O,x,{rect:C,gravity:w.get("gravity"),friction:w.get("friction")}),N=_.step;_.step=function(k){for(var P=0,j=O.length;P<j;P++)O[P].fixed&&i.copy(O[P].p,s.getNodeByIndex(P).getLayout());N(function(K,R,B){for(var U=0,H=K.length;U<H;U++)K[U].fixed||s.getNodeByIndex(U).setLayout(K[U].p),t[d.getId(U)]=K[U].p;for(var U=0,H=R.length;U<H;U++){var W=R[U],V=s.getEdgeByIndex(U),z=W.n1.p,X=W.n2.p,q=V.getLayout();q=q?q.slice():[],q[0]=q[0]||[],q[1]=q[1]||[],i.copy(q[0],z),i.copy(q[1],X),+W.curveness&&(q[2]=[(z[0]+X[0])/2-(z[1]-X[1])*W.curveness,(z[1]+X[1])/2-(X[0]-z[0])*W.curveness]),V.setLayout(q)}k&&k(B)})},n.forceLayout=_,n.preservedPoints=t,_.step()}else n.forceLayout=null})}D.exports=a},WKfj:function(D,I,e){"use strict";e.d(I,"d",function(){return f}),e.d(I,"e",function(){return y}),e.d(I,"f",function(){return p}),e.d(I,"c",function(){return v}),e.d(I,"b",function(){return u}),e.d(I,"a",function(){return i});var g=e("KQm4");function f(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function y(r,a){var c=a.labelInValue,n=a.combobox;if(r===void 0||r===""&&n)return[];var l=Array.isArray(r)?r:[r];return c?l.map(function(t){var s=t.key,d=t.value;return d!==void 0?d:s}):l}function p(r,a){var c=a.optionLabelProp,n=a.labelInValue,l=a.prevValue,t=a.options,s=a.getLabeledValue,d=r;return n&&(d=d.map(function(m){return s(m,{options:t,prevValue:l,labelInValue:n,optionLabelProp:c})})),d}function v(r,a){var c=Object(g.a)(a),n;for(n=r.length-1;n>=0&&r[n].disabled;n-=1);var l=null;return n!==-1&&(l=c[n],c.splice(n,1)),{values:c,removedValue:l}}var h=typeof window!="undefined"&&window.document&&window.document.documentElement,u=h,o=0;function i(){var r;return u?(r=o,o+=1):r="TEST_OR_SSR",r}},"WN+l":function(D,I,e){var g=e("bYtY"),f=e("IwbS");function y(v,h,u,o){var i=u.axis;if(i.scale.isBlank())return;var r=u.getModel("splitArea"),a=r.getModel("areaStyle"),c=a.get("color"),n=o.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:r,clamp:!0});if(!l.length)return;var t=c.length,s=v.__splitAreaColors,d=g.createHashMap(),m=0;if(s)for(var w=0;w<l.length;w++){var b=s.get(l[w].tickValue);if(b!=null){m=(b+(t-1)*w)%t;break}}var E=i.toGlobalCoord(l[0].coord),A=a.getAreaStyle();c=g.isArray(c)?c:[c];for(var w=1;w<l.length;w++){var S=i.toGlobalCoord(l[w].coord),T,O,x,C;i.isHorizontal()?(T=E,O=n.y,x=S-T,C=n.height,E=T+x):(T=n.x,O=E,x=n.width,C=S-O,E=O+C);var _=l[w-1].tickValue;_!=null&&d.set(_,m),h.add(new f.Rect({anid:_!=null?"area_"+_:null,shape:{x:T,y:O,width:x,height:C},style:g.defaults({fill:c[m]},A),silent:!0})),m=(m+1)%t}v.__splitAreaColors=d}function p(v){v.__splitAreaColors=null}I.rectCoordAxisBuildSplitArea=y,I.rectCoordAxisHandleRemove=p},WXVj:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("Bqw1")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="MinusSquareOutlined";var u=y.forwardRef(h);I.default=u},WaYH:function(D,I,e){"use strict";var g=e("rePB"),f=e("Ff2n"),y=e("VTBJ"),p=e("1OyB"),v=e("vuIU"),h=e("JX7q"),u=e("Ji7U"),o=e("LK+K"),i=e("q1tI"),r=e("TSYQ"),a=e.n(r),c=e("sboe"),n=e("OZM5"),l=function(T){var O=T.prefixCls,x=T.level,C=T.isStart,_=T.isEnd;if(!x)return null;for(var N="".concat(O,"-indent-unit"),F=[],k=0;k<x;k+=1){var P;F.push(i.createElement("span",{key:k,className:a()(N,(P={},Object(g.a)(P,"".concat(N,"-start"),C[k+1]),Object(g.a)(P,"".concat(N,"-end"),_[k+1]),Object(g.a)(P,"".concat(N,"-end-first-level"),!k&&_[0]),P))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(O,"-indent")},F)},t=l,s=e("815F"),d="open",m="close",w="---",b=function(S){Object(u.a)(O,S);var T=Object(o.a)(O);function O(){var x;return Object(p.a)(this,O),x=T.apply(this,arguments),x.state={dragNodeHighlight:!1},x.onSelectorClick=function(C){var _=x.props.context.onNodeClick;_(C,Object(s.b)(x.props)),x.isSelectable()?x.onSelect(C):x.onCheck(C)},x.onSelectorDoubleClick=function(C){var _=x.props.context.onNodeDoubleClick;_(C,Object(s.b)(x.props))},x.onSelect=function(C){if(x.isDisabled())return;var _=x.props.context.onNodeSelect;C.preventDefault(),_(C,Object(s.b)(x.props))},x.onCheck=function(C){if(x.isDisabled())return;var _=x.props,N=_.disableCheckbox,F=_.checked,k=x.props.context.onNodeCheck;if(!x.isCheckable()||N)return;C.preventDefault();var P=!F;k(C,Object(s.b)(x.props),P)},x.onMouseEnter=function(C){var _=x.props.context.onNodeMouseEnter;_(C,Object(s.b)(x.props))},x.onMouseLeave=function(C){var _=x.props.context.onNodeMouseLeave;_(C,Object(s.b)(x.props))},x.onContextMenu=function(C){var _=x.props.context.onNodeContextMenu;_(C,Object(s.b)(x.props))},x.onDragStart=function(C){var _=x.props.context.onNodeDragStart;C.stopPropagation(),x.setState({dragNodeHighlight:!0}),_(C,Object(h.a)(x));try{C.dataTransfer.setData("text/plain","")}catch(N){}},x.onDragEnter=function(C){var _=x.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),_(C,Object(h.a)(x))},x.onDragOver=function(C){var _=x.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),_(C,Object(h.a)(x))},x.onDragLeave=function(C){var _=x.props.context.onNodeDragLeave;C.stopPropagation(),_(C,Object(h.a)(x))},x.onDragEnd=function(C){var _=x.props.context.onNodeDragEnd;C.stopPropagation(),x.setState({dragNodeHighlight:!1}),_(C,Object(h.a)(x))},x.onDrop=function(C){var _=x.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),x.setState({dragNodeHighlight:!1}),_(C,Object(h.a)(x))},x.onExpand=function(C){var _=x.props.context.onNodeExpand;_(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?d:m},x.hasChildren=function(){var C=x.props.eventKey,_=x.props.context.keyEntities,N=_[C]||{},F=N.children;return!!(F||[]).length},x.isLeaf=function(){var C=x.props,_=C.isLeaf,N=C.loaded,F=x.props.context.loadData,k=x.hasChildren();return _===!1?!1:_||!F&&!k||F&&N&&!k},x.isDisabled=function(){var C=x.props.disabled,_=x.props.context.disabled;return!!(_||C)},x.isCheckable=function(){var C=x.props.checkable,_=x.props.context.checkable;return!_||C===!1?!1:_},x.syncLoadData=function(C){var _=C.expanded,N=C.loading,F=C.loaded,k=x.props.context,P=k.loadData,j=k.onNodeLoad;if(N)return;P&&_&&!x.isLeaf()&&(!x.hasChildren()&&!F&&j(Object(s.b)(x.props)))},x.renderSwitcher=function(){var C=x.props,_=C.expanded,N=C.switcherIcon,F=x.props.context,k=F.prefixCls,P=F.switcherIcon,j=N||P;if(x.isLeaf())return i.createElement("span",{className:a()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof j=="function"?j(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!0})):j);var K=a()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(_?d:m));return i.createElement("span",{onClick:x.onExpand,className:K},typeof j=="function"?j(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!1})):j)},x.renderCheckbox=function(){var C=x.props,_=C.checked,N=C.halfChecked,F=C.disableCheckbox,k=x.props.context.prefixCls,P=x.isDisabled(),j=x.isCheckable();if(!j)return null;var K=typeof j!="boolean"?j:null;return i.createElement("span",{className:a()("".concat(k,"-checkbox"),_&&"".concat(k,"-checkbox-checked"),!_&&N&&"".concat(k,"-checkbox-indeterminate"),(P||F)&&"".concat(k,"-checkbox-disabled")),onClick:x.onCheck},K)},x.renderIcon=function(){var C=x.props.loading,_=x.props.context.prefixCls;return i.createElement("span",{className:a()("".concat(_,"-iconEle"),"".concat(_,"-icon__").concat(x.getNodeState()||"docu"),C&&"".concat(_,"-icon_loading"))})},x.renderSelector=function(){var C=x.state.dragNodeHighlight,_=x.props,N=_.title,F=_.selected,k=_.icon,P=_.loading,j=_.data,K=x.props.context,R=K.prefixCls,B=K.showIcon,U=K.icon,H=K.draggable,W=K.loadData,V=K.titleRender,z=x.isDisabled(),X="".concat(R,"-node-content-wrapper"),q;if(B){var fe=k||U;q=fe?i.createElement("span",{className:a()("".concat(R,"-iconEle"),"".concat(R,"-icon__customize"))},typeof fe=="function"?fe(x.props):fe):x.renderIcon()}else W&&P&&(q=x.renderIcon());var G;typeof N=="function"?G=N(j):V?G=V(j):G=N;var ve=i.createElement("span",{className:"".concat(R,"-title")},G);return i.createElement("span",{ref:x.setSelectHandle,title:typeof N=="string"?N:"",className:a()("".concat(X),"".concat(X,"-").concat(x.getNodeState()||"normal"),!z&&(F||C)&&"".concat(R,"-node-selected"),!z&&H&&"draggable"),draggable:!z&&H||void 0,"aria-grabbed":!z&&H||void 0,onMouseEnter:x.onMouseEnter,onMouseLeave:x.onMouseLeave,onContextMenu:x.onContextMenu,onClick:x.onSelectorClick,onDoubleClick:x.onSelectorDoubleClick,onDragStart:H?x.onDragStart:void 0},q,ve)},x}return Object(v.a)(O,[{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,_=this.props.context.selectable;return typeof C=="boolean"?C:_}},{key:"render",value:function(){var C,_=this.props,N=_.eventKey,F=_.className,k=_.style,P=_.dragOver,j=_.dragOverGapTop,K=_.dragOverGapBottom,R=_.isLeaf,B=_.isStart,U=_.isEnd,H=_.expanded,W=_.selected,V=_.checked,z=_.halfChecked,X=_.loading,q=_.domRef,fe=_.active,G=_.onMouseMove,ve=Object(f.a)(_,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Se=this.props.context,ge=Se.prefixCls,Pe=Se.filterTreeNode,Ge=Se.draggable,pt=Se.keyEntities,Te=this.isDisabled(),xe=Object(n.f)(ve),lt=pt[N]||{},Ie=lt.level,de=U[U.length-1];return i.createElement("div",Object.assign({ref:q,className:a()(F,"".concat(ge,"-treenode"),(C={},Object(g.a)(C,"".concat(ge,"-treenode-disabled"),Te),Object(g.a)(C,"".concat(ge,"-treenode-switcher-").concat(H?"open":"close"),!R),Object(g.a)(C,"".concat(ge,"-treenode-checkbox-checked"),V),Object(g.a)(C,"".concat(ge,"-treenode-checkbox-indeterminate"),z),Object(g.a)(C,"".concat(ge,"-treenode-selected"),W),Object(g.a)(C,"".concat(ge,"-treenode-loading"),X),Object(g.a)(C,"".concat(ge,"-treenode-active"),fe),Object(g.a)(C,"".concat(ge,"-treenode-leaf-last"),de),Object(g.a)(C,"drag-over",!Te&&P),Object(g.a)(C,"drag-over-gap-top",!Te&&j),Object(g.a)(C,"drag-over-gap-bottom",!Te&&K),Object(g.a)(C,"filter-node",Pe&&Pe(Object(s.b)(this.props))),C)),style:k,onDragEnter:Ge?this.onDragEnter:void 0,onDragOver:Ge?this.onDragOver:void 0,onDragLeave:Ge?this.onDragLeave:void 0,onDrop:Ge?this.onDrop:void 0,onDragEnd:Ge?this.onDragEnd:void 0,onMouseMove:G},xe),i.createElement(t,{prefixCls:ge,level:Ie,isStart:B,isEnd:U}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),O}(i.Component),E=function(T){return i.createElement(c.a.Consumer,null,function(O){return i.createElement(b,Object.assign({},T,{context:O}))})};E.displayName="TreeNode",E.defaultProps={title:w},E.isTreeNode=1;var A=I.a=E},Wqna:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.isObject,v=y.each,h=y.map,u=y.indexOf,o=y.retrieve,i=e("+TT/"),r=i.getLayoutRect,a=e("aX7z"),c=a.createScaleByModel,n=a.ifAxisCrossZero,l=a.niceScaleExtent,t=a.estimateLabelUnionRect,s=e("y+lR"),d=e("7AJT"),m=e("IDmD"),w=e("7hqr"),b=w.getStackedDimension;e("jtI2");function E(k,P,j){return k.getCoordSysModel()===P}function A(k,P,j){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,P,j),this.model=k}var S=A.prototype;S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(k,P){var j=this._axesMap;this._updateScale(k,this.model),v(j.x,function(R){l(R.scale,R.model)}),v(j.y,function(R){l(R.scale,R.model)});var K={};v(j.x,function(R){T(j,"y",R,K)}),v(j.y,function(R){T(j,"x",R,K)}),this.resize(this.model,P)};function T(k,P,j,K){j.getAxesOnZeroOf=function(){return B?[B]:[]};var R=k[P],B,U=j.model,H=U.get("axisLine.onZero"),W=U.get("axisLine.onZeroAxisIndex");if(!H)return;if(W!=null)O(R[W])&&(B=R[W]);else for(var V in R)if(R.hasOwnProperty(V)&&O(R[V])&&!K[z(R[V])]){B=R[V];break}B&&(K[z(B)]=!0);function z(X){return X.dim+"_"+X.index}}function O(k){return k&&k.type!=="category"&&k.type!=="time"&&n(k)}S.resize=function(k,P,j){var K=r(k.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()});this._rect=K;var R=this._axesList;B(),!j&&k.get("containLabel")&&(v(R,function(U){if(!U.model.get("axisLabel.inside")){var H=t(U);if(H){var W=U.isHorizontal()?"height":"width",V=U.model.get("axisLabel.margin");K[W]-=H[W]+V,U.position==="top"?K.y+=H.height+V:U.position==="left"&&(K.x+=H.width+V)}}}),B());function B(){v(R,function(U){var H=U.isHorizontal(),W=H?[0,K.width]:[0,K.height],V=U.inverse?1:0;U.setExtent(W[V],W[1-V]),x(U,H?K.x:K.y)})}},S.getAxis=function(k,P){var j=this._axesMap[k];if(j!=null){if(P==null){for(var K in j)if(j.hasOwnProperty(K))return j[K]}return j[P]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(k,P){if(k!=null&&P!=null){var j="x"+k+"y"+P;return this._coordsMap[j]}p(k)&&(P=k.yAxisIndex,k=k.xAxisIndex);for(var K=0,R=this._coordsList;K<R.length;K++)if(R[K].getAxis("x").index===k||R[K].getAxis("y").index===P)return R[K]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(k,P,j){var K=this._findConvertTarget(k,P);return K.cartesian?K.cartesian.dataToPoint(j):K.axis?K.axis.toGlobalCoord(K.axis.dataToCoord(j)):null},S.convertFromPixel=function(k,P,j){var K=this._findConvertTarget(k,P);return K.cartesian?K.cartesian.pointToData(j):K.axis?K.axis.coordToData(K.axis.toLocalCoord(j)):null},S._findConvertTarget=function(k,P){var j=P.seriesModel,K=P.xAxisModel||j&&j.getReferringComponents("xAxis")[0],R=P.yAxisModel||j&&j.getReferringComponents("yAxis")[0],B=P.gridModel,U=this._coordsList,H,W;if(j)H=j.coordinateSystem,u(U,H)<0&&(H=null);else if(K&&R)H=this.getCartesian(K.componentIndex,R.componentIndex);else if(K)W=this.getAxis("x",K.componentIndex);else if(R)W=this.getAxis("y",R.componentIndex);else if(B){var V=B.coordinateSystem;V===this&&(H=this._coordsList[0])}return{cartesian:H,axis:W}},S.containPoint=function(k){var P=this._coordsList[0];if(P)return P.containPoint(k)},S._initCartesian=function(k,P,j){var K={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},B={x:0,y:0};if(P.eachComponent("xAxis",U("x"),this),P.eachComponent("yAxis",U("y"),this),!B.x||!B.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(H,W){v(R.y,function(V,z){var X="x"+W+"y"+z,q=new s(X);q.grid=this,q.model=k,this._coordsMap[X]=q,this._coordsList.push(q),q.addAxis(H),q.addAxis(V)},this)},this);function U(H){return function(W,V){if(!E(W,k,P))return;var z=W.get("position");H==="x"?z!=="top"&&z!=="bottom"&&(z=K.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=K.left?"right":"left"),K[z]=!0;var X=new d(H,c(W),[0,0],W.get("type"),z),q=X.type==="category";X.onBand=q&&W.get("boundaryGap"),X.inverse=W.get("inverse"),W.axis=X,X.model=W,X.grid=this,X.index=V,this._axesList.push(X),R[H][V]=X,B[H]++}}},S._updateScale=function(k,P){v(this._axesList,function(K){K.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(K){if(N(K)){var R=_(K,k),B=R[0],U=R[1];if(!E(B,P,k)||!E(U,P,k))return;var H=this.getCartesian(B.componentIndex,U.componentIndex),W=K.getData(),V=H.getAxis("x"),z=H.getAxis("y");W.type==="list"&&(j(W,V,K),j(W,z,K))}},this);function j(K,R,B){v(K.mapDimension(R.dim,!0),function(U){R.scale.unionExtentFromData(K,b(K,U))})}},S.getTooltipAxes=function(k){var P=[],j=[];return v(this.getCartesians(),function(K){var R=k!=null&&k!=="auto"?K.getAxis(k):K.getBaseAxis(),B=K.getOtherAxis(R);u(P,R)<0&&P.push(R),u(j,B)<0&&j.push(B)}),{baseAxes:P,otherAxes:j}};function x(k,P){var j=k.getExtent(),K=j[0]+j[1];k.toGlobalCoord=k.dim==="x"?function(R){return R+P}:function(R){return K-R+P},k.toLocalCoord=k.dim==="x"?function(R){return R-P}:function(R){return K-R+P}}var C=["xAxis","yAxis"];function _(k,P){return h(C,function(j){var K=k.getReferringComponents(j)[0];return K})}function N(k){return k.get("coordinateSystem")==="cartesian2d"}A.create=function(k,P){var j=[];return k.eachComponent("grid",function(K,R){var B=new A(K,k,P);B.name="grid_"+R,B.resize(K,P,!0),K.coordinateSystem=B,j.push(B)}),k.eachSeries(function(K){if(!N(K))return;var R=_(K,k),B=R[0],U=R[1],H=B.getCoordSysModel(),W=H.coordinateSystem;K.coordinateSystem=W.getCartesian(B.componentIndex,U.componentIndex)}),j},A.dimensions=A.prototype.dimensions=s.prototype.dimensions,m.register("cartesian2d",A);var F=A;D.exports=F},"X+im":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("KQeH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="DownloadOutlined";var u=y.forwardRef(h);I.default=u},"X2/X":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},XAae:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("hwYd"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},XOKv:function(D,I,e){e("OXB0"),e("SA4+")},Xi7e:function(D,I,e){var g=e("KMkd"),f=e("adU4"),y=e("tMB7"),p=e("+6XX"),v=e("Z8oC");function h(u){var o=-1,i=u==null?0:u.length;for(this.clear();++o<i;){var r=u[o];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=p,h.prototype.set=v,D.exports=h},Xmg4:function(D,I,e){var g=e("bYtY"),f=e("LPTA"),y=f.devicePixelRatio,p=e("K2GJ"),v=e("3C/r");function h(){return!1}function u(r,a,c){var n=g.createCanvas(),l=a.getWidth(),t=a.getHeight(),s=n.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=t+"px",n.setAttribute("data-zr-dom-id",r)),n.width=l*c,n.height=t*c,n}var o=function(a,c,n){var l;n=n||y,typeof a=="string"?l=u(a,c,n):g.isObject(a)&&(l=a,a=l.id),this.id=a,this.dom=l;var t=l.style;t&&(l.onselectstart=h,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=c,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};o.prototype={constructor:o,__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=u("back-"+this.id,this.painter,a),this.ctxBack=this.domBack.getContext("2d"),a!==1&&this.ctxBack.scale(a,a)},resize:function(a,c){var n=this.dpr,l=this.dom,t=l.style,s=this.domBack;t&&(t.width=a+"px",t.height=c+"px"),l.width=a*n,l.height=c*n,s&&(s.width=a*n,s.height=c*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(a,c){var n=this.dom,l=this.ctx,t=n.width,s=n.height,c=c||this.clearColor,d=this.motionBlur&&!a,m=this.lastFrameAlpha,w=this.dpr;if(d&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/w,s/w)),l.clearRect(0,0,t,s),c&&c!=="transparent"){var b;c.colorStops?(b=c.__canvasGradient||p.getGradient(l,c,{x:0,y:0,width:t,height:s}),c.__canvasGradient=b):c.image&&(b=v.prototype.getCanvasPattern.call(c,l)),l.save(),l.fillStyle=b||c,l.fillRect(0,0,t,s),l.restore()}if(d){var E=this.domBack;l.save(),l.globalAlpha=m,l.drawImage(E,0,0,t,s),l.restore()}}};var i=o;D.exports=i},Xnb7:function(D,I,e){var g=e("1RvN"),f=new g(50);function y(u){if(typeof u=="string"){var o=f.get(u);return o&&o.image}else return u}function p(u,o,i,r,a){if(u)if(typeof u=="string"){if(o&&o.__zrImageSrc===u||!i)return o;var c=f.get(u),n={hostEl:i,cb:r,cbPayload:a};return c?(o=c.image,!h(o)&&c.pending.push(n)):(o=new Image,o.onload=o.onerror=v,f.put(u,o.__cachedImgObj={image:o,pending:[n]}),o.src=o.__zrImageSrc=u),o}else return u;else return o}function v(){var u=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var o=0;o<u.pending.length;o++){var i=u.pending[o],r=i.cb;r&&r(this,i.cbPayload),i.hostEl.dirty()}u.pending.length=0}function h(u){return u&&u.width&&u.height}I.findExistImage=y,I.createOrUpdateImage=p,I.isImageReady=h},XpcN:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("oVpE"),h=v.createSymbol,u=e("IwbS"),o=e("eRkO"),i=o.makeBackground,r=e("+TT/"),a=p.curry,c=p.each,n=u.Group,l=y.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(w,b,E){var A=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!w.get("show",!0))return;var S=w.get("align"),T=w.get("orient");(!S||S==="auto")&&(S=w.get("left")==="right"&&T==="vertical"?"right":"left");var O=w.get("selector",!0),x=w.get("selectorPosition",!0);O&&(!x||x==="auto")&&(x=T==="horizontal"?"end":"start"),this.renderInner(S,w,b,E,O,T,x);var C=w.getBoxLayoutParams(),_={width:E.getWidth(),height:E.getHeight()},N=w.get("padding"),F=r.getLayoutRect(C,_,N),k=this.layoutInner(w,S,F,A,O,x),P=r.getLayoutRect(p.defaults({width:k.width,height:k.height},C),_,N);this.group.attr("position",[P.x-k.x,P.y-k.y]),this.group.add(this._backgroundEl=i(k,w))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(w,b,E,A,S,T,O){var x=this.getContentGroup(),C=p.createHashMap(),_=b.get("selectedMode"),N=[];E.eachRawSeries(function(F){!F.get("legendHoverLink")&&N.push(F.id)}),c(b.getData(),function(F,k){var P=F.get("name");if(!this.newlineDisabled&&(P===""||P===`
|
|
|
`)){x.add(new n({newline:!0}));return}var j=E.getSeriesByName(P)[0];if(C.get(P))return;if(j){var K=j.getData(),R=K.getVisual("color"),B=K.getVisual("borderColor");typeof R=="function"&&(R=R(j.getDataParams(0))),typeof B=="function"&&(B=B(j.getDataParams(0)));var U=K.getVisual("legendSymbol")||"roundRect",H=K.getVisual("symbol"),W=this._createItem(P,k,F,b,U,H,w,R,B,_);W.on("click",a(s,P,null,A,N)).on("mouseover",a(d,j.name,null,A,N)).on("mouseout",a(m,j.name,null,A,N)),C.set(P,!0)}else E.eachRawSeries(function(V){if(C.get(P))return;if(V.legendVisualProvider){var z=V.legendVisualProvider;if(!z.containName(P))return;var X=z.indexOfName(P),q=z.getItemVisual(X,"color"),fe=z.getItemVisual(X,"borderColor"),G="roundRect",ve=this._createItem(P,k,F,b,G,null,w,q,fe,_);ve.on("click",a(s,null,P,A,N)).on("mouseover",a(d,null,P,A,N)).on("mouseout",a(m,null,P,A,N)),C.set(P,!0)}},this)},this),S&&this._createSelector(S,b,A,T,O)},_createSelector:function(w,b,E,A,S){var T=this.getSelectorGroup();c(w,function(x){O(x)});function O(x){var C=x.type,_=new u.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){E.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(_);var N=b.getModel("selectorLabel"),F=b.getModel("emphasis.selectorLabel");u.setLabelStyle(_.style,_.hoverStyle={},N,F,{defaultText:x.title,isRectText:!1}),u.setHoverStyle(_)}},_createItem:function(w,b,E,A,S,T,O,x,C,_){var N=A.get("itemWidth"),F=A.get("itemHeight"),k=A.get("inactiveColor"),P=A.get("inactiveBorderColor"),j=A.get("symbolKeepAspect"),K=A.getModel("itemStyle"),R=A.isSelected(w),B=new n,U=E.getModel("textStyle"),H=E.get("icon"),W=E.getModel("tooltip"),V=W.parentModel;S=H||S;var z=h(S,0,0,N,F,R?x:k,j==null?!0:j);if(B.add(t(z,S,K,C,P,R)),!H&&T&&(T!==S||T==="none")){var X=F*.8;T==="none"&&(T="circle");var q=h(T,(N-X)/2,(F-X)/2,X,X,R?x:k,j==null?!0:j);B.add(t(q,T,K,C,P,R))}var fe=O==="left"?N+5:-5,G=O,ve=A.get("formatter"),Se=w;typeof ve=="string"&&ve?Se=ve.replace("{name}",w!=null?w:""):typeof ve=="function"&&(Se=ve(w)),B.add(new u.Text({style:u.setTextStyle({},U,{text:Se,x:fe,y:F/2,textFill:R?U.getTextColor():k,textAlign:G,textVerticalAlign:"middle"})}));var ge=new u.Rect({shape:B.getBoundingRect(),invisible:!0,tooltip:W.get("show")?p.extend({content:w,formatter:V.get("formatter",!0)||function(){return w},formatterParams:{componentType:"legend",legendIndex:A.componentIndex,name:w,$vars:["name"]}},W.option):null});return B.add(ge),B.eachChild(function(Pe){Pe.silent=!0}),ge.silent=!_,this.getContentGroup().add(B),u.setHoverStyle(B),B.__legendDataIndex=b,B},layoutInner:function(w,b,E,A,S,T){var O=this.getContentGroup(),x=this.getSelectorGroup();r.box(w.get("orient"),O,w.get("itemGap"),E.width,E.height);var C=O.getBoundingRect(),_=[-C.x,-C.y];if(S){r.box("horizontal",x,w.get("selectorItemGap",!0));var N=x.getBoundingRect(),F=[-N.x,-N.y],k=w.get("selectorButtonGap",!0),P=w.getOrient().index,j=P===0?"width":"height",K=P===0?"height":"width",R=P===0?"y":"x";T==="end"?F[P]+=C[j]+k:_[P]+=N[j]+k,F[1-P]+=C[K]/2-N[K]/2,x.attr("position",F),O.attr("position",_);var B={x:0,y:0};return B[j]=C[j]+k+N[j],B[K]=Math.max(C[K],N[K]),B[R]=Math.min(0,N[R]+F[1-P]),B}else return O.attr("position",_),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(w,b,E,A,S,T){var O;return b!=="line"&&b.indexOf("empty")<0?(O=E.getItemStyle(),w.style.stroke=A,T||(O.stroke=S)):O=E.getItemStyle(["borderWidth","borderColor"]),w.setStyle(O)}function s(w,b,E,A){m(w,b,E,A),E.dispatchAction({type:"legendToggleSelect",name:w!=null?w:b}),d(w,b,E,A)}function d(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"highlight",seriesName:w,name:b,excludeSeriesId:A})}function m(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"downplay",seriesName:w,name:b,excludeSeriesId:A})}D.exports=l},XuBP:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},XxSj:function(D,I,e){var g=e("bYtY"),f=e("Qe9p"),y=e("OELB"),p=y.linearMap,v=g.each,h=g.isObject,u=-1,o=function(T){var O=T.mappingMethod,x=T.type,C=this.option=g.clone(T);this.type=x,this.mappingMethod=O,this._normalizeData=E[O];var _=i[x];this.applyVisual=_.applyVisual,this.getColorMapper=_.getColorMapper,this._doMap=_._doMap[O],O==="piecewise"?(c(C),r(C)):O==="category"?C.categories?a(C):c(C,!0):(g.assert(O!=="linear"||C.dataExtent),c(C))};o.prototype={constructor:o,mapValueToVisual:function(T){var O=this._normalizeData(T);return this._doMap(O,T)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var i=o.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var T=this.option;return g.bind(T.mappingMethod==="category"?function(O,x){return!x&&(O=this._normalizeData(O)),s.call(this,O)}:function(O,x,C){var _=!!C;return!x&&(O=this._normalizeData(O)),C=f.fastLerp(O,T.parsedVisual,C),_?C:f.stringify(C,"rgba")},this)},_doMap:{linear:function(T){return f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,O){var x=w.call(this,O);return x==null&&(x=f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")),x},fixed:d}},colorHue:n(function(T,O){return f.modifyHSL(T,O)}),colorSaturation:n(function(T,O){return f.modifyHSL(T,null,O)}),colorLightness:n(function(T,O){return f.modifyHSL(T,null,null,O)}),colorAlpha:n(function(T,O){return f.modifyAlpha(T,O)}),opacity:{applyVisual:t("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:d,category:d,piecewise:d,fixed:d}},symbol:{applyVisual:function(T,O,x){var C=this.mapValueToVisual(T);if(g.isString(C))x("symbol",C);else if(h(C))for(var _ in C)C.hasOwnProperty(_)&&x(_,C[_])},_doMap:{linear:l,category:s,piecewise:function(T,O){var x=w.call(this,O);return x==null&&(x=l.call(this,T)),x},fixed:d}},symbolSize:{applyVisual:t("symbolSize"),_doMap:m([0,1])}};function r(T){var O=T.pieceList;T.hasSpecialVisual=!1,g.each(O,function(x,C){x.originIndex=C,x.visual!=null&&(T.hasSpecialVisual=!0)})}function a(T){var O=T.categories,x=T.visual,C=T.categoryMap={};if(v(O,function(F,k){C[F]=k}),!g.isArray(x)){var _=[];g.isObject(x)?v(x,function(F,k){var P=C[k];_[P!=null?P:u]=F}):_[u]=x,x=b(T,_)}for(var N=O.length-1;N>=0;N--)x[N]==null&&(delete C[O[N]],O.pop())}function c(T,O){var x=T.visual,C=[];g.isObject(x)?v(x,function(N){C.push(N)}):x!=null&&C.push(x);var _={color:1,symbol:1};!O&&C.length===1&&!_.hasOwnProperty(T.type)&&(C[1]=C[0]),b(T,C)}function n(T){return{applyVisual:function(O,x,C){O=this.mapValueToVisual(O),C("color",T(x("color"),O))},_doMap:m([0,1])}}function l(T){var O=this.option.visual;return O[Math.round(p(T,[0,1],[0,O.length-1],!0))]||{}}function t(T){return function(O,x,C){C(T,this.mapValueToVisual(O))}}function s(T){var O=this.option.visual;return O[this.option.loop&&T!==u?T%O.length:T]}function d(){return this.option.visual[0]}function m(T){return{linear:function(O){return p(O,T,this.option.visual,!0)},category:s,piecewise:function(O,x){var C=w.call(this,x);return C==null&&(C=p(O,T,this.option.visual,!0)),C},fixed:d}}function w(T){var O=this.option,x=O.pieceList;if(O.hasSpecialVisual){var C=o.findPieceIndex(T,x),_=x[C];if(_&&_.visual)return _.visual[this.type]}}function b(T,O){return T.visual=O,T.type==="color"&&(T.parsedVisual=g.map(O,function(x){return f.parse(x)})),O}var E={linear:function(T){return p(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var O=this.option.pieceList,x=o.findPieceIndex(T,O,!0);if(x!=null)return p(x,[0,O.length-1],[0,1],!0)},category:function(T){var O=this.option.categories?this.option.categoryMap[T]:T;return O==null?u:O},fixed:g.noop};o.listVisualTypes=function(){var T=[];return g.each(i,function(O,x){T.push(x)}),T},o.addVisualHandler=function(T,O){i[T]=O},o.isValidType=function(T){return i.hasOwnProperty(T)},o.eachVisual=function(T,O,x){g.isObject(T)?g.each(T,O,x):O.call(x,T)},o.mapVisual=function(T,O,x){var C,_=g.isArray(T)?[]:g.isObject(T)?{}:(C=!0,null);return o.eachVisual(T,function(N,F){var k=O.call(x,N,F);C?_=k:_[F]=k}),_},o.retrieveVisuals=function(T){var O={},x;return T&&v(i,function(C,_){T.hasOwnProperty(_)&&(O[_]=T[_],x=!0)}),x?O:null},o.prepareVisualTypes=function(T){if(h(T)){var O=[];v(T,function(x,C){O.push(C)}),T=O}else if(g.isArray(T))T=T.slice();else return[];return T.sort(function(x,C){return C==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),T},o.dependsOn=function(T,O){return O==="color"?!!(T&&T.indexOf(O)===0):T===O},o.findPieceIndex=function(T,O,x){for(var C,_=Infinity,N=0,F=O.length;N<F;N++){var k=O[N].value;if(k!=null){if(k===T||typeof k=="string"&&k===T+"")return N;x&&R(k,N)}}for(var N=0,F=O.length;N<F;N++){var P=O[N],j=P.interval,K=P.close;if(j){if(j[0]===-Infinity){if(A(K[1],T,j[1]))return N}else if(j[1]===Infinity){if(A(K[0],j[0],T))return N}else if(A(K[0],j[0],T)&&A(K[1],T,j[1]))return N;x&&R(j[0],N),x&&R(j[1],N)}}if(x)return T===Infinity?O.length-1:T===-Infinity?0:C;function R(B,U){var H=Math.abs(B-T);H<_&&(_=H,C=U)}};function A(T,O,x){return T?O<=x:O<x}var S=o;D.exports=S},XzQk:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("KpQ+"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"Y+p1":function(D,I,e){var g=e("wF/u");function f(y,p){return g(y,p)}D.exports=f},Y1PL:function(D,I,e){"use strict";e.r(I),e.d(I,"ResizableTextArea",function(){return T});var g=e("1OyB"),f=e("vuIU"),y=e("Ji7U"),p=e("md7G"),v=e("foSv"),h=e("q1tI"),u=e("rePB"),o=e("t23M"),i=e("BGR+"),r=e("TSYQ"),a=e.n(r),c=`
|
|
|
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
|
|
|
`,n=["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"],l={},t;function s(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=N.getAttribute("id")||N.getAttribute("data-reactid")||N.getAttribute("name");if(F&&l[k])return l[k];var P=window.getComputedStyle(N),j=P.getPropertyValue("box-sizing")||P.getPropertyValue("-moz-box-sizing")||P.getPropertyValue("-webkit-box-sizing"),K=parseFloat(P.getPropertyValue("padding-bottom"))+parseFloat(P.getPropertyValue("padding-top")),R=parseFloat(P.getPropertyValue("border-bottom-width"))+parseFloat(P.getPropertyValue("border-top-width")),B=n.map(function(H){return"".concat(H,":").concat(P.getPropertyValue(H))}).join(";"),U={sizingStyle:B,paddingSize:K,borderSize:R,boxSizing:j};return F&&k&&(l[k]=U),U}function d(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),N.getAttribute("wrap")?t.setAttribute("wrap",N.getAttribute("wrap")):t.removeAttribute("wrap");var j=s(N,F),K=j.paddingSize,R=j.borderSize,B=j.boxSizing,U=j.sizingStyle;t.setAttribute("style","".concat(U,";").concat(c)),t.value=N.value||N.placeholder||"";var H=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,V=t.scrollHeight,z;if(B==="border-box"?V+=R:B==="content-box"&&(V-=K),k!==null||P!==null){t.value=" ";var X=t.scrollHeight-K;k!==null&&(H=X*k,B==="border-box"&&(H=H+K+R),V=Math.max(H,V)),P!==null&&(W=X*P,B==="border-box"&&(W=W+K+R),z=V>W?"":"hidden",V=Math.min(W,V))}return{height:V,minHeight:H,maxHeight:W,overflowY:z}}function m(N,F){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(N);F&&(P=P.filter(function(j){return Object.getOwnPropertyDescriptor(N,j).enumerable})),k.push.apply(k,P)}return k}function w(N){for(var F=1;F<arguments.length;F++){var k=arguments[F]!=null?arguments[F]:{};F%2?m(Object(k),!0).forEach(function(P){Object(u.a)(N,P,k[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):m(Object(k)).forEach(function(P){Object.defineProperty(N,P,Object.getOwnPropertyDescriptor(k,P))})}return N}function b(N){var F=E();return function(){var P=Object(v.a)(N),j;if(F){var K=Object(v.a)(this).constructor;j=Reflect.construct(P,arguments,K)}else j=P.apply(this,arguments);return Object(p.a)(this,j)}}function E(){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(N){return!1}}var A;(function(N){N[N.NONE=0]="NONE",N[N.RESIZING=1]="RESIZING",N[N.RESIZED=2]="RESIZED"})(A||(A={}));var S=function(N){Object(y.a)(k,N);var F=b(k);function k(P){var j;return Object(g.a)(this,k),j=F.call(this,P),j.saveTextArea=function(K){j.textArea=K},j.handleResize=function(K){var R=j.state.resizeStatus,B=j.props,U=B.autoSize,H=B.onResize;if(R!==A.NONE)return;typeof H=="function"&&H(K),U&&j.resizeOnNextFrame()},j.resizeOnNextFrame=function(){cancelAnimationFrame(j.nextFrameActionId),j.nextFrameActionId=requestAnimationFrame(j.resizeTextarea)},j.resizeTextarea=function(){var K=j.props.autoSize;if(!K||!j.textArea)return;var R=K.minRows,B=K.maxRows,U=d(j.textArea,!1,R,B);j.setState({textareaStyles:U,resizeStatus:A.RESIZING},function(){cancelAnimationFrame(j.resizeFrameId),j.resizeFrameId=requestAnimationFrame(function(){j.setState({resizeStatus:A.RESIZED},function(){j.resizeFrameId=requestAnimationFrame(function(){j.setState({resizeStatus:A.NONE}),j.fixFirefoxAutoScroll()})})})})},j.renderTextArea=function(){var K=j.props,R=K.prefixCls,B=R===void 0?"rc-textarea":R,U=K.autoSize,H=K.onResize,W=K.className,V=K.disabled,z=j.state,X=z.textareaStyles,q=z.resizeStatus,fe=Object(i.default)(j.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),G=a()(B,W,Object(u.a)({},"".concat(B,"-disabled"),V));"value"in fe&&(fe.value=fe.value||"");var ve=w(w(w({},j.props.style),X),q===A.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(o.a,{onResize:j.handleResize,disabled:!(U||H)},h.createElement("textarea",Object.assign({},fe,{className:G,style:ve,ref:j.saveTextArea})))},j.state={textareaStyles:{},resizeStatus:A.NONE},j}return Object(f.a)(k,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(j){j.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 j=this.textArea.selectionStart,K=this.textArea.selectionEnd;this.textArea.setSelectionRange(j,K)}}catch(R){}}},{key:"render",value:function(){return this.renderTextArea()}}]),k}(h.Component),T=S;function O(N){var F=x();return function(){var P=Object(v.a)(N),j;if(F){var K=Object(v.a)(this).constructor;j=Reflect.construct(P,arguments,K)}else j=P.apply(this,arguments);return Object(p.a)(this,j)}}function x(){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(N){return!1}}var C=function(N){Object(y.a)(k,N);var F=O(k);function k(P){var j;Object(g.a)(this,k),j=F.call(this,P),j.focus=function(){j.resizableTextArea.textArea.focus()},j.saveTextArea=function(R){j.resizableTextArea=R},j.handleChange=function(R){var B=j.props.onChange;j.setValue(R.target.value,function(){j.resizableTextArea.resizeTextarea()}),B&&B(R)},j.handleKeyDown=function(R){var B=j.props,U=B.onPressEnter,H=B.onKeyDown;R.keyCode===13&&U&&U(R),H&&H(R)};var K=typeof P.value=="undefined"||P.value===null?P.defaultValue:P.value;return j.state={value:K},j}return Object(f.a)(k,[{key:"setValue",value:function(j,K){"value"in this.props||this.setState({value:j},K)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(T,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(j){return"value"in j?{value:j.value}:null}}]),k}(h.Component),_=I.default=C},YESw:function(D,I,e){var g=e("Cwc5"),f=g(Object,"create");D.exports=f},YH21:function(D,I,e){var g=e("H6uX");I.Dispatcher=g;var f=e("ItGF"),y=e("Ze12"),p=y.isCanvasEl,v=y.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,o=[];function i(m,w,b,E){return b=b||{},E||!f.canvasSupported?r(m,w,b):f.browser.firefox&&w.layerX!=null&&w.layerX!==w.offsetX?(b.zrX=w.layerX,b.zrY=w.layerY):w.offsetX!=null?(b.zrX=w.offsetX,b.zrY=w.offsetY):r(m,w,b),b}function r(m,w,b){if(f.domSupported&&m.getBoundingClientRect){var E=w.clientX,A=w.clientY;if(p(m)){var S=m.getBoundingClientRect();b.zrX=E-S.left,b.zrY=A-S.top;return}else if(v(o,m,E,A)){b.zrX=o[0],b.zrY=o[1];return}}b.zrX=b.zrY=0}function a(m){return m||window.event}function c(m,w,b){if(w=a(w),w.zrX!=null)return w;var E=w.type,A=E&&E.indexOf("touch")>=0;if(!A)i(m,w,w,b),w.zrDelta=w.wheelDelta?w.wheelDelta/120:-(w.detail||0)/3;else{var S=E!=="touchend"?w.targetTouches[0]:w.changedTouches[0];S&&i(m,S,w,b)}var T=w.button;return w.which==null&&T!==void 0&&u.test(w.type)&&(w.which=T&1?1:T&2?3:T&4?2:0),w}function n(m,w,b,E){h?m.addEventListener(w,b,E):m.attachEvent("on"+w,b)}function l(m,w,b,E){h?m.removeEventListener(w,b,E):m.detachEvent("on"+w,b)}var t=h?function(m){m.preventDefault(),m.stopPropagation(),m.cancelBubble=!0}:function(m){m.returnValue=!1,m.cancelBubble=!0};function s(m){return m.which===2||m.which===3}function d(m){return m.which>1}I.clientToLocal=i,I.getNativeEvent=a,I.normalizeEvent=c,I.addEventListener=n,I.removeEventListener=l,I.stop=t,I.isMiddleOrRightButtonOnMouseUpDown=s,I.notLeftMouse=d},YJ9k:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var u=0;u<h.length;u++){var o=h[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function y(v,h,u){return h&&f(v.prototype,h),u&&f(v,u),v}var p=function(){function v(){g(this,v),this._listeners=new Map}return y(v,[{key:"addEventListener",value:function(u,o){this._listeners.has(u)||this._listeners.set(u,new Set),this._listeners.get(u).add(o)}},{key:"removeEventListener",value:function(u,o){this._listeners.has(u)&&this._listeners.get(u).delete(o)}},{key:"dispatchEvent",value:function(u){var o=this;return this._listeners.has(u.type)?(this._listeners.get(u.type).forEach(function(i){return i.call(o,u)}),!u.defaultPrevented):!0}}]),v}();I.default=p},YJCA:function(D,I,e){"use strict";e.d(I,"a",function(){return se}),e.d(I,"b",function(){return ze});var g=e("wx14"),f=e("ODXe"),y=e("vpQ4"),p=e("1OyB"),v=e("vuIU"),h=e("md7G"),u=e("foSv"),o=e("Ji7U"),i=e("JX7q"),r=e("rePB"),a=e("q1tI"),c=e.n(a),n=e("17x9"),l=e.n(n),t=e("i8i4"),s=e.n(t),d=e("QLaP"),m=e.n(d),w=e("KQm4"),b=function(){function _e(){Object(p.a)(this,_e),Object(r.a)(this,"refs",{})}return Object(v.a)(_e,[{key:"add",value:function(me,Oe){this.refs[me]||(this.refs[me]=[]),this.refs[me].push(Oe)}},{key:"remove",value:function(me,Oe){var Ze=this.getIndex(me,Oe);Ze!==-1&&this.refs[me].splice(Ze,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var me=this;return this.refs[this.active.collection].find(function(Oe){var Ze=Oe.node;return Ze.sortableInfo.index==me.active.index})}},{key:"getIndex",value:function(me,Oe){return this.refs[me].indexOf(Oe)}},{key:"getOrderedRefs",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[me].sort(E)}}]),_e}();function E(_e,ae){var me=_e.node.sortableInfo.index,Oe=ae.node.sortableInfo.index;return me-Oe}function A(_e,ae,me){return _e=_e.slice(),_e.splice(me<0?_e.length+me:me,0,_e.splice(ae,1)[0]),_e}function S(_e,ae){return Object.keys(_e).reduce(function(me,Oe){return ae.indexOf(Oe)===-1&&(me[Oe]=_e[Oe]),me},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},O=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var _e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],ae=(Array.prototype.slice.call(_e).join("").match(/-(moz|webkit|ms)-/)||_e.OLink===""&&["","o"])[1];switch(ae){case"ms":return"ms";default:return ae&&ae.length?ae[0].toUpperCase()+ae.substr(1):""}}();function x(_e,ae){Object.keys(ae).forEach(function(me){_e.style[me]=ae[me]})}function C(_e,ae){_e.style["".concat(O,"Transform")]=ae==null?"":"translate3d(".concat(ae.x,"px,").concat(ae.y,"px,0)")}function _(_e,ae){_e.style["".concat(O,"TransitionDuration")]=ae==null?"":"".concat(ae,"ms")}function N(_e,ae){for(;_e;){if(ae(_e))return _e;_e=_e.parentNode}return null}function F(_e,ae,me){return Math.max(_e,Math.min(me,ae))}function k(_e){return _e.substr(-2)==="px"?parseFloat(_e):0}function P(_e){var ae=window.getComputedStyle(_e);return{bottom:k(ae.marginBottom),left:k(ae.marginLeft),right:k(ae.marginRight),top:k(ae.marginTop)}}function j(_e,ae){var me=ae.displayName||ae.name;return me?"".concat(_e,"(").concat(me,")"):_e}function K(_e,ae){var me=_e.getBoundingClientRect();return{top:me.top+ae.top,left:me.left+ae.left}}function R(_e){return _e.touches&&_e.touches.length?{x:_e.touches[0].pageX,y:_e.touches[0].pageY}:_e.changedTouches&&_e.changedTouches.length?{x:_e.changedTouches[0].pageX,y:_e.changedTouches[0].pageY}:{x:_e.pageX,y:_e.pageY}}function B(_e){return _e.touches&&_e.touches.length||_e.changedTouches&&_e.changedTouches.length}function U(_e,ae){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!_e)return;var Oe={left:me.left+_e.offsetLeft,top:me.top+_e.offsetTop};return _e.parentNode===ae?Oe:U(_e.parentNode,ae,Oe)}function H(_e,ae,me){return _e<me&&_e>ae?_e-1:_e>me&&_e<ae?_e+1:_e}function W(_e){var ae=_e.lockOffset,me=_e.width,Oe=_e.height,Ze=ae,vt=ae,Ct="px";if(typeof ae=="string"){var Be=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(ae);m()(Be!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',ae),Ze=parseFloat(ae),vt=parseFloat(ae),Ct=Be[1]}return m()(isFinite(Ze)&&isFinite(vt),"lockOffset value should be a finite. Given %s",ae),Ct==="%"&&(Ze=Ze*me/100,vt=vt*Oe/100),{x:Ze,y:vt}}function V(_e){var ae=_e.height,me=_e.width,Oe=_e.lockOffset,Ze=Array.isArray(Oe)?Oe:[Oe,Oe];m()(Ze.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Oe);var vt=Object(f.a)(Ze,2),Ct=vt[0],Be=vt[1];return[W({height:ae,lockOffset:Ct,width:me}),W({height:ae,lockOffset:Be,width:me})]}function z(_e){var ae=window.getComputedStyle(_e),me=/(auto|scroll)/,Oe=["overflow","overflowX","overflowY"];return Oe.find(function(Ze){return me.test(ae[Ze])})}function X(_e){return _e instanceof HTMLElement?z(_e)?_e:X(_e.parentNode):null}function q(_e){var ae=window.getComputedStyle(_e);return ae.display==="grid"?{x:k(ae.gridColumnGap),y:k(ae.gridRowGap)}:{x:0,y:0}}var fe={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},G={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ve(_e){var ae="input, textarea, select, canvas, [contenteditable]",me=_e.querySelectorAll(ae),Oe=_e.cloneNode(!0),Ze=Object(w.a)(Oe.querySelectorAll(ae));return Ze.forEach(function(vt,Ct){if(vt.type!=="file"&&(vt.value=me[Ct].value),vt.type==="radio"&&vt.name&&(vt.name="__sortableClone__".concat(vt.name)),vt.tagName===G.Canvas&&me[Ct].width>0&&me[Ct].height>0){var Be=vt.getContext("2d");Be.drawImage(me[Ct],0,0)}}),Oe}function Se(_e){var ae,me,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return me=ae=function(Ze){Object(o.a)(vt,Ze);function vt(){return Object(p.a)(this,vt),Object(h.a)(this,Object(u.a)(vt).apply(this,arguments))}return Object(v.a)(vt,[{key:"componentDidMount",value:function(){var Be=Object(t.findDOMNode)(this);Be.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return m()(Oe.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 Be=Oe.withRef?"wrappedInstance":null;return Object(a.createElement)(_e,Object(g.a)({ref:Be},this.props))}}]),vt}(a.Component),Object(r.a)(ae,"displayName",j("sortableHandle",_e)),me}function ge(_e){return _e.sortableHandle!=null}var Pe=function(){function _e(ae,me){Object(p.a)(this,_e),this.container=ae,this.onScrollCallback=me}return Object(v.a)(_e,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(me){var Oe=this,Ze=me.translate,vt=me.minTranslate,Ct=me.maxTranslate,Be=me.width,Rt=me.height,He={x:0,y:0},wt={x:1,y:1},Ye={x:10,y:10},et=this.container,rt=et.scrollTop,st=et.scrollLeft,Ve=et.scrollHeight,ie=et.scrollWidth,$=et.clientHeight,it=et.clientWidth,Qe=rt===0,ye=Ve-rt-$===0,Zt=st===0,dt=ie-st-it===0;Ze.y>=Ct.y-Rt/2&&!ye?(He.y=1,wt.y=Ye.y*Math.abs((Ct.y-Rt/2-Ze.y)/Rt)):Ze.x>=Ct.x-Be/2&&!dt?(He.x=1,wt.x=Ye.x*Math.abs((Ct.x-Be/2-Ze.x)/Be)):Ze.y<=vt.y+Rt/2&&!Qe?(He.y=-1,wt.y=Ye.y*Math.abs((Ze.y-Rt/2-vt.y)/Rt)):Ze.x<=vt.x+Be/2&&!Zt&&(He.x=-1,wt.x=Ye.x*Math.abs((Ze.x-Be/2-vt.x)/Be)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(He.x!==0||He.y!==0)&&(this.interval=setInterval(function(){Oe.isAutoScrolling=!0;var ct={left:wt.x*He.x,top:wt.y*He.y};Oe.container.scrollTop+=ct.top,Oe.container.scrollLeft+=ct.left,Oe.onScrollCallback(ct)},5))}}]),_e}();function Ge(_e){var ae=_e.node;return{height:ae.offsetHeight,width:ae.offsetWidth}}function pt(_e){var ae=[G.Input,G.Textarea,G.Select,G.Option,G.Button];return ae.indexOf(_e.target.tagName)!==-1?!0:!!N(_e.target,function(me){return me.contentEditable==="true"})}var Te={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},xe={lift:[fe.SPACE],drop:[fe.SPACE],cancel:[fe.ESC],up:[fe.UP,fe.LEFT],down:[fe.DOWN,fe.RIGHT]},lt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ge,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:xe,shouldCancelStart:pt,transitionDuration:300,useWindowAsScrollContainer:!1},Ie=Object.keys(Te);function de(_e){m()(!(_e.distance&&_e.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 ee(_e,ae){try{var me=_e()}catch(Oe){return ae(!0,Oe)}return me&&me.then?me.then(ae.bind(null,!1),ae.bind(null,!0)):ae(!1,value)}function se(_e){var ae,me,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return me=ae=function(Ze){Object(o.a)(vt,Ze);function vt(Ct){var Be;return Object(p.a)(this,vt),Be=Object(h.a)(this,Object(u.a)(vt).call(this,Ct)),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"state",{}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleStart",function(Rt){var He=Be.props,wt=He.distance,Ye=He.shouldCancelStart;if(Rt.button===2||Ye(Rt))return;Be.touched=!0,Be.position=R(Rt);var et=N(Rt.target,function(it){return it.sortableInfo!=null});if(et&&et.sortableInfo&&Be.nodeIsChild(et)&&!Be.state.sorting){var rt=Be.props.useDragHandle,st=et.sortableInfo,Ve=st.index,ie=st.collection,$=st.disabled;if($)return;if(rt&&!N(Rt.target,ge))return;Be.manager.active={collection:ie,index:Ve},!B(Rt)&&Rt.target.tagName===G.Anchor&&Rt.preventDefault(),wt||(Be.props.pressDelay===0?Be.handlePress(Rt):Be.pressTimer=setTimeout(function(){return Be.handlePress(Rt)},Be.props.pressDelay))}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"nodeIsChild",function(Rt){return Rt.sortableInfo.manager===Be.manager}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleMove",function(Rt){var He=Be.props,wt=He.distance,Ye=He.pressThreshold;if(!Be.state.sorting&&Be.touched&&!Be._awaitingUpdateBeforeSortStart){var et=R(Rt),rt={x:Be.position.x-et.x,y:Be.position.y-et.y},st=Math.abs(rt.x)+Math.abs(rt.y);Be.delta=rt,!wt&&(!Ye||st>=Ye)?(clearTimeout(Be.cancelTimer),Be.cancelTimer=setTimeout(Be.cancel,0)):wt&&st>=wt&&Be.manager.isActive()&&Be.handlePress(Rt)}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleEnd",function(){Be.touched=!1,Be.cancel()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"cancel",function(){var Rt=Be.props.distance,He=Be.state.sorting;He||(Rt||clearTimeout(Be.pressTimer),Be.manager.active=null)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handlePress",function(Rt){try{var He=Be.manager.getActive(),wt=function(){if(He){var Ye=function(){var It=ye.sortableInfo.index,or=P(ye),Bt=q(Be.container),Ae=Be.scrollContainer.getBoundingClientRect(),pe=st({index:It,node:ye,collection:Zt});if(Be.node=ye,Be.margin=or,Be.gridGap=Bt,Be.width=pe.width,Be.height=pe.height,Be.marginOffset={x:Be.margin.left+Be.margin.right+Be.gridGap.x,y:Math.max(Be.margin.top,Be.margin.bottom,Be.gridGap.y)},Be.boundingClientRect=ye.getBoundingClientRect(),Be.containerBoundingRect=Ae,Be.index=It,Be.newIndex=It,Be.axis={x:rt.indexOf("x")>=0,y:rt.indexOf("y")>=0},Be.offsetEdge=U(ye,Be.container),dt?Be.initialOffset=R(Object(y.a)({},Rt,{pageX:Be.boundingClientRect.left,pageY:Be.boundingClientRect.top})):Be.initialOffset=R(Rt),Be.initialScroll={left:Be.scrollContainer.scrollLeft,top:Be.scrollContainer.scrollTop},Be.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Be.helper=Be.helperContainer.appendChild(ve(ye)),x(Be.helper,{boxSizing:"border-box",height:"".concat(Be.height,"px"),left:"".concat(Be.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Be.boundingClientRect.top-or.top,"px"),width:"".concat(Be.width,"px")}),dt&&Be.helper.focus(),ie&&(Be.sortableGhost=ye,x(ye,{opacity:0,visibility:"hidden"})),Be.minTranslate={},Be.maxTranslate={},dt){var he=Qe?{top:0,left:0,width:Be.contentWindow.innerWidth,height:Be.contentWindow.innerHeight}:Be.containerBoundingRect,le=he.top,Ne=he.left,je=he.width,Ke=he.height,Xe=le+Ke,Fe=Ne+je;Be.axis.x&&(Be.minTranslate.x=Ne-Be.boundingClientRect.left,Be.maxTranslate.x=Fe-(Be.boundingClientRect.left+Be.width)),Be.axis.y&&(Be.minTranslate.y=le-Be.boundingClientRect.top,Be.maxTranslate.y=Xe-(Be.boundingClientRect.top+Be.height))}else Be.axis.x&&(Be.minTranslate.x=(Qe?0:Ae.left)-Be.boundingClientRect.left-Be.width/2,Be.maxTranslate.x=(Qe?Be.contentWindow.innerWidth:Ae.left+Ae.width)-Be.boundingClientRect.left-Be.width/2),Be.axis.y&&(Be.minTranslate.y=(Qe?0:Ae.top)-Be.boundingClientRect.top-Be.height/2,Be.maxTranslate.y=(Qe?Be.contentWindow.innerHeight:Ae.top+Ae.height)-Be.boundingClientRect.top-Be.height/2);Ve&&Ve.split(" ").forEach(function(nt){return Be.helper.classList.add(nt)}),Be.listenerNode=Rt.touches?ye:Be.contentWindow,dt?(Be.listenerNode.addEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortMove,!1)}),T.end.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortEnd,!1)})),Be.setState({sorting:!0,sortingIndex:It}),it&&it({node:ye,index:It,collection:Zt,isKeySorting:dt,nodes:Be.manager.getOrderedRefs(),helper:Be.helper},Rt),dt&&Be.keyMove(0)},et=Be.props,rt=et.axis,st=et.getHelperDimensions,Ve=et.helperClass,ie=et.hideSortableGhost,$=et.updateBeforeSortStart,it=et.onSortStart,Qe=et.useWindowAsScrollContainer,ye=He.node,Zt=He.collection,dt=Be.manager.isKeySorting,ct=function(){if(typeof $=="function"){Be._awaitingUpdateBeforeSortStart=!0;var yt=ee(function(){var It=ye.sortableInfo.index;return Promise.resolve($({collection:Zt,index:It,node:ye,isKeySorting:dt},Rt)).then(function(){})},function(It,or){if(Be._awaitingUpdateBeforeSortStart=!1,It)throw or;return or});if(yt&&yt.then)return yt.then(function(){})}}();return ct&&ct.then?ct.then(Ye):Ye(ct)}}();return Promise.resolve(wt&&wt.then?wt.then(function(){}):void 0)}catch(Ye){return Promise.reject(Ye)}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleSortMove",function(Rt){var He=Be.props.onSortMove;typeof Rt.preventDefault=="function"&&Rt.preventDefault(),Be.updateHelperPosition(Rt),Be.animateNodes(),Be.autoscroll(),He&&He(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleSortEnd",function(Rt){var He=Be.props,wt=He.hideSortableGhost,Ye=He.onSortEnd,et=Be.manager,rt=et.active.collection,st=et.isKeySorting,Ve=Be.manager.getOrderedRefs();Be.listenerNode&&(st?(Be.listenerNode.removeEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(ye){return Be.listenerNode.removeEventListener(ye,Be.handleSortMove)}),T.end.forEach(function(ye){return Be.listenerNode.removeEventListener(ye,Be.handleSortEnd)}))),Be.helper.parentNode.removeChild(Be.helper),wt&&Be.sortableGhost&&x(Be.sortableGhost,{opacity:"",visibility:""});for(var ie=0,$=Ve.length;ie<$;ie++){var it=Ve[ie],Qe=it.node;it.edgeOffset=null,it.boundingClientRect=null,C(Qe,null),_(Qe,null),it.translate=null}Be.autoScroller.clear(),Be.manager.active=null,Be.manager.isKeySorting=!1,Be.setState({sorting:!1,sortingIndex:null}),typeof Ye=="function"&&Ye({collection:rt,newIndex:Be.newIndex,oldIndex:Be.index,isKeySorting:st,nodes:Ve},Rt),Be.touched=!1}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"autoscroll",function(){var Rt=Be.props.disableAutoscroll,He=Be.manager.isKeySorting;if(Rt){Be.autoScroller.clear();return}if(He){var wt=Object(y.a)({},Be.translate),Ye=0,et=0;Be.axis.x&&(wt.x=Math.min(Be.maxTranslate.x,Math.max(Be.minTranslate.x,Be.translate.x)),Ye=Be.translate.x-wt.x),Be.axis.y&&(wt.y=Math.min(Be.maxTranslate.y,Math.max(Be.minTranslate.y,Be.translate.y)),et=Be.translate.y-wt.y),Be.translate=wt,C(Be.helper,Be.translate),Be.scrollContainer.scrollLeft+=Ye,Be.scrollContainer.scrollTop+=et;return}Be.autoScroller.update({height:Be.height,maxTranslate:Be.maxTranslate,minTranslate:Be.minTranslate,translate:Be.translate,width:Be.width})}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"onAutoScroll",function(Rt){Be.translate.x+=Rt.left,Be.translate.y+=Rt.top,Be.animateNodes()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyDown",function(Rt){var He=Rt.keyCode,wt=Be.props,Ye=wt.shouldCancelStart,et=wt.keyCodes,rt=et===void 0?{}:et,st=Object(y.a)({},xe,rt);if(Be.manager.active&&!Be.manager.isKeySorting||!Be.manager.active&&(!st.lift.includes(He)||Ye(Rt)||!Be.isValidSortingTarget(Rt)))return;Rt.stopPropagation(),Rt.preventDefault(),st.lift.includes(He)&&!Be.manager.active?Be.keyLift(Rt):st.drop.includes(He)&&Be.manager.active?Be.keyDrop(Rt):st.cancel.includes(He)?(Be.newIndex=Be.manager.active.index,Be.keyDrop(Rt)):st.up.includes(He)?Be.keyMove(-1):st.down.includes(He)&&Be.keyMove(1)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyLift",function(Rt){var He=Rt.target,wt=N(He,function(st){return st.sortableInfo!=null}),Ye=wt.sortableInfo,et=Ye.index,rt=Ye.collection;Be.initialFocusedNode=He,Be.manager.isKeySorting=!0,Be.manager.active={index:et,collection:rt},Be.handlePress(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyMove",function(Rt){var He=Be.manager.getOrderedRefs(),wt=He[He.length-1].node.sortableInfo.index,Ye=Be.newIndex+Rt,et=Be.newIndex;if(Ye<0||Ye>wt)return;Be.prevIndex=et,Be.newIndex=Ye;var rt=H(Be.newIndex,Be.prevIndex,Be.index),st=He.find(function(dt){var ct=dt.node;return ct.sortableInfo.index===rt}),Ve=st.node,ie=Be.containerScrollDelta,$=st.boundingClientRect||K(Ve,ie),it=st.translate||{x:0,y:0},Qe={top:$.top+it.y-ie.top,left:$.left+it.x-ie.left},ye=et<Ye,Zt={x:ye&&Be.axis.x?Ve.offsetWidth-Be.width:0,y:ye&&Be.axis.y?Ve.offsetHeight-Be.height:0};Be.handleSortMove({pageX:Qe.left+Zt.x,pageY:Qe.top+Zt.y,ignoreTransition:Rt===0})}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyDrop",function(Rt){Be.handleSortEnd(Rt),Be.initialFocusedNode&&Be.initialFocusedNode.focus()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyEnd",function(Rt){Be.manager.active&&Be.keyDrop(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"isValidSortingTarget",function(Rt){var He=Be.props.useDragHandle,wt=Rt.target,Ye=N(wt,function(et){return et.sortableInfo!=null});return Ye&&Ye.sortableInfo&&!Ye.sortableInfo.disabled&&(He?ge(wt):wt.sortableInfo)}),de(Ct),Be.manager=new b,Be.events={end:Be.handleEnd,move:Be.handleMove,start:Be.handleStart},Be}return Object(v.a)(vt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Be=this,Rt=this.props.useWindowAsScrollContainer,He=this.getContainer();Promise.resolve(He).then(function(wt){Be.container=wt,Be.document=Be.container.ownerDocument||document;var Ye=Be.props.contentWindow||Be.document.defaultView||window;Be.contentWindow=typeof Ye=="function"?Ye():Ye,Be.scrollContainer=Rt?Be.document.scrollingElement||Be.document.documentElement:X(Be.container)||Be.container,Be.autoScroller=new Pe(Be.scrollContainer,Be.onAutoScroll),Object.keys(Be.events).forEach(function(et){return T[et].forEach(function(rt){return Be.container.addEventListener(rt,Be.events[et],!1)})}),Be.container.addEventListener("keydown",Be.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Be=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Rt){return T[Rt].forEach(function(He){return Be.container.removeEventListener(He,Be.events[Rt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Be){var Rt=this.props,He=Rt.lockAxis,wt=Rt.lockOffset,Ye=Rt.lockToContainerEdges,et=Rt.transitionDuration,rt=Rt.keyboardSortingTransitionDuration,st=rt===void 0?et:rt,Ve=this.manager.isKeySorting,ie=Be.ignoreTransition,$=R(Be),it={x:$.x-this.initialOffset.x,y:$.y-this.initialOffset.y};if(it.y-=window.pageYOffset-this.initialWindowScroll.top,it.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=it,Ye){var Qe=V({height:this.height,lockOffset:wt,width:this.width}),ye=Object(f.a)(Qe,2),Zt=ye[0],dt=ye[1],ct={x:this.width/2-Zt.x,y:this.height/2-Zt.y},yt={x:this.width/2-dt.x,y:this.height/2-dt.y};it.x=F(this.minTranslate.x+ct.x,this.maxTranslate.x-yt.x,it.x),it.y=F(this.minTranslate.y+ct.y,this.maxTranslate.y-yt.y,it.y)}He==="x"?it.y=0:He==="y"&&(it.x=0),Ve&&st&&!ie&&_(this.helper,st),C(this.helper,it)}},{key:"animateNodes",value:function(){var Be=this.props,Rt=Be.transitionDuration,He=Be.hideSortableGhost,wt=Be.onSortOver,Ye=this.containerScrollDelta,et=this.windowScrollDelta,rt=this.manager.getOrderedRefs(),st={left:this.offsetEdge.left+this.translate.x+Ye.left,top:this.offsetEdge.top+this.translate.y+Ye.top},Ve=this.manager.isKeySorting,ie=this.newIndex;this.newIndex=null;for(var $=0,it=rt.length;$<it;$++){var Qe=rt[$].node,ye=Qe.sortableInfo.index,Zt=Qe.offsetWidth,dt=Qe.offsetHeight,ct={height:this.height>dt?dt/2:this.height/2,width:this.width>Zt?Zt/2:this.width/2},yt=Ve&&ye>this.index&&ye<=ie,It=Ve&&ye<this.index&&ye>=ie,or={x:0,y:0},Bt=rt[$].edgeOffset;Bt||(Bt=U(Qe,this.container),rt[$].edgeOffset=Bt,Ve&&(rt[$].boundingClientRect=K(Qe,Ye)));var Ae=$<rt.length-1&&rt[$+1],pe=$>0&&rt[$-1];if(Ae&&!Ae.edgeOffset&&(Ae.edgeOffset=U(Ae.node,this.container),Ve&&(Ae.boundingClientRect=K(Ae.node,Ye))),ye===this.index){He&&(this.sortableGhost=Qe,x(Qe,{opacity:0,visibility:"hidden"}));continue}Rt&&_(Qe,Rt),this.axis.x?this.axis.y?It||ye<this.index&&(st.left+et.left-ct.width<=Bt.left&&st.top+et.top<=Bt.top+ct.height||st.top+et.top+ct.height<=Bt.top)?(or.x=this.width+this.marginOffset.x,Bt.left+or.x>this.containerBoundingRect.width-ct.width&&(Ae&&(or.x=Ae.edgeOffset.left-Bt.left,or.y=Ae.edgeOffset.top-Bt.top)),this.newIndex===null&&(this.newIndex=ye)):(yt||ye>this.index&&(st.left+et.left+ct.width>=Bt.left&&st.top+et.top+ct.height>=Bt.top||st.top+et.top+ct.height>=Bt.top+dt))&&(or.x=-(this.width+this.marginOffset.x),Bt.left+or.x<this.containerBoundingRect.left+ct.width&&(pe&&(or.x=pe.edgeOffset.left-Bt.left,or.y=pe.edgeOffset.top-Bt.top)),this.newIndex=ye):yt||ye>this.index&&st.left+et.left+ct.width>=Bt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=ye):(It||ye<this.index&&st.left+et.left<=Bt.left+ct.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ye)):this.axis.y&&(yt||ye>this.index&&st.top+et.top+ct.height>=Bt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=ye):(It||ye<this.index&&st.top+et.top<=Bt.top+ct.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ye))),C(Qe,or),rt[$].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=ie);var he=Ve?this.prevIndex:ie;wt&&this.newIndex!==he&&wt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:he,isKeySorting:Ve,nodes:rt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return m()(Oe.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 Be=this.props.getContainer;return typeof Be!="function"?Object(t.findDOMNode)(this):Be(Oe.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Be=Oe.withRef?"wrappedInstance":null;return Object(a.createElement)(_e,Object(g.a)({ref:Be},S(this.props,Ie)))}},{key:"helperContainer",get:function(){var Be=this.props.helperContainer;return typeof Be=="function"?Be():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Be=this.props.useWindowAsScrollContainer;return Be?{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}}}]),vt}(a.Component),Object(r.a)(ae,"displayName",j("sortableList",_e)),Object(r.a)(ae,"defaultProps",lt),Object(r.a)(ae,"propTypes",Te),Object(r.a)(ae,"childContextTypes",{manager:l.a.object.isRequired}),me}var ke={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},Ce=Object.keys(ke);function ze(_e){var ae,me,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return me=ae=function(Ze){Object(o.a)(vt,Ze);function vt(){return Object(p.a)(this,vt),Object(h.a)(this,Object(u.a)(vt).apply(this,arguments))}return Object(v.a)(vt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Be){this.node&&(Be.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Be.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Be.collection!==this.props.collection&&(this.unregister(Be.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Be=this.props,Rt=Be.collection,He=Be.disabled,wt=Be.index,Ye=Object(t.findDOMNode)(this);Ye.sortableInfo={collection:Rt,disabled:He,index:wt,manager:this.context.manager},this.node=Ye,this.ref={node:Ye},this.context.manager.add(Rt,this.ref)}},{key:"unregister",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Be,this.ref)}},{key:"getWrappedInstance",value:function(){return m()(Oe.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 Be=Oe.withRef?"wrappedInstance":null;return Object(a.createElement)(_e,Object(g.a)({ref:Be},S(this.props,Ce)))}}]),vt}(a.Component),Object(r.a)(ae,"displayName",j("sortableElement",_e)),Object(r.a)(ae,"contextTypes",{manager:l.a.object.isRequired}),Object(r.a)(ae,"propTypes",ke),Object(r.a)(ae,"defaultProps",{collection:0}),me}},YNAk:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("QyFq")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="CaretDownFilled";var u=y.forwardRef(h);I.default=u},YNf1:function(D,I,e){var g=e("IwbS"),f=e("6Ic6"),y=.3,p=f.extend({type:"parallel",init:function(){this._dataGroup=new g.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(c,n,l,t){var s=this._dataGroup,d=c.getData(),m=this._data,w=c.coordinateSystem,b=w.dimensions,E=o(c);d.diff(m).add(A).update(S).remove(T).execute();function A(x){var C=u(d,s,x,b,w);i(C,d,x,E)}function S(x,C){var _=m.getItemGraphicEl(C),N=h(d,x,b,w);d.setItemGraphicEl(x,_);var F=t&&t.animation===!1?null:c;g.updateProps(_,{shape:{points:N}},F,x),i(_,d,x,E)}function T(x){var C=m.getItemGraphicEl(x);s.remove(C)}if(!this._initialized){this._initialized=!0;var O=v(w,c,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(O)}this._data=d},incrementalPrepareRender:function(c,n,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(c,n,l){for(var t=n.getData(),s=n.coordinateSystem,d=s.dimensions,m=o(n),w=c.start;w<c.end;w++){var b=u(t,this._dataGroup,w,d,s);b.incremental=!0,i(b,t,w,m)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(c,n,l){var t=c.model,s=c.getRect(),d=new g.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),m=t.get("layout")==="horizontal"?"width":"height";return d.setShape(m,0),g.initProps(d,{shape:{width:s.width,height:s.height}},n,l),d}function h(c,n,l,t){for(var s=[],d=0;d<l.length;d++){var m=l[d],w=c.get(c.mapDimension(m),n);r(w,t.getAxis(m).type)||s.push(t.dataToPoint(w,m))}return s}function u(c,n,l,t,s){var d=h(c,l,t,s),m=new g.Polyline({shape:{points:d},silent:!0,z2:10});return n.add(m),c.setItemGraphicEl(l,m),m}function o(c){var n=c.get("smooth",!0);return n===!0&&(n=y),{lineStyle:c.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:y}}function i(c,n,l,t){var s=t.lineStyle;if(n.hasItemOption){var d=n.getItemModel(l).getModel("lineStyle");s=d.getLineStyle()}c.useStyle(s);var m=c.style;m.fill=null,m.stroke=n.getItemVisual(l,"color"),m.opacity=n.getItemVisual(l,"opacity"),t.smooth&&(c.shape.smooth=t.smooth)}function r(c,n){return n==="category"?c==null:c==null||isNaN(c)}var a=p;D.exports=a},YOMW:function(D,I,e){var g=e("bYtY"),f={get:function(v,h,u){var o=g.clone((y[v]||{})[h]);return u&&g.isArray(o)?o[o.length-1]:o}},y={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=f;D.exports=p},YXkt:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("Qxkt"),v=e("gPAo"),h=e("7G+c"),u=e("KxfA"),o=u.defaultDimValueGetters,i=u.DefaultDataProvider,r=e("L0Ub"),a=r.summarizeDimensions,c=e("Vi4m"),n=y.isObject,l="undefined",t=-1,s="e\0\0",d={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},m=typeof Uint32Array===l?Array:Uint32Array,w=typeof Int32Array===l?Array:Int32Array,b=typeof Uint16Array===l?Array:Uint16Array;function E(z){return z._rawCount>65535?m:b}function A(z){var X=z.constructor;return X===Array?z.slice():new X(z)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function O(z,X){y.each(S.concat(X.__wrappedMethods||[]),function(q){X.hasOwnProperty(q)&&(z[q]=X[q])}),z.__wrappedMethods=X.__wrappedMethods,y.each(T,function(q){z[q]=y.clone(X[q])}),z._calculationInfo=y.extend(X._calculationInfo)}var x=function(z,X){z=z||["x","y"];for(var q={},fe=[],G={},ve=0;ve<z.length;ve++){var Se=z[ve];y.isString(Se)?Se=new c({name:Se}):Se instanceof c||(Se=new c(Se));var ge=Se.name;Se.type=Se.type||"float",Se.coordDim||(Se.coordDim=ge,Se.coordDimIndex=0),Se.otherDims=Se.otherDims||{},fe.push(ge),q[ge]=Se,Se.index=ve,Se.createInvertedIndices&&(G[ge]=[])}this.dimensions=fe,this._dimensionInfos=q,this.hostModel=X,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=a(this),this._invertedIndicesMap=G,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=x.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},C.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(z,X){var q=this._dimensionsSummary;if(X==null)return q.encodeFirstDimNotExtra[z];var fe=q.encode[z];return X===!0?(fe||[]).slice():fe&&fe[X]},C.initData=function(z,X,q){var fe=h.isInstance(z)||y.isArrayLike(z);fe&&(z=new i(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=X||[],this._idList=[],this._nameRepeatCount={},q||(this.hasItemOption=!1),this.defaultDimValueGetter=o[this._rawData.getSource().sourceFormat],this._dimValueGetter=q=q||this.defaultDimValueGetter,this._dimValueGetterArrayRows=o.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(z){var X=this._rawData,q=this.count();X.appendData(z);var fe=X.count();X.persistent||(fe+=q),this._initDataFromProvider(q,fe)},C.appendValues=function(z,X){for(var q=this._chunkSize,fe=this._storage,G=this.dimensions,ve=G.length,Se=this._rawExtent,ge=this.count(),Pe=ge+Math.max(z.length,X?X.length:0),Ge=this._chunkCount,pt=0;pt<ve;pt++){var Te=G[pt];Se[Te]||(Se[Te]=H()),fe[Te]||(fe[Te]=[]),_(fe,this._dimensionInfos[Te],q,Ge,Pe),this._chunkCount=fe[Te].length}for(var xe=new Array(ve),lt=ge;lt<Pe;lt++){for(var Ie=lt-ge,de=Math.floor(lt/q),ee=lt%q,se=0;se<ve;se++){var Te=G[se],ke=this._dimValueGetterArrayRows(z[Ie]||xe,Te,Ie,se);fe[Te][de][ee]=ke;var Ce=Se[Te];ke<Ce[0]&&(Ce[0]=ke),ke>Ce[1]&&(Ce[1]=ke)}X&&(this._nameList[lt]=X[Ie])}this._rawCount=this._count=Pe,this._extent={},N(this)},C._initDataFromProvider=function(z,X){if(z>=X)return;for(var q=this._chunkSize,fe=this._rawData,G=this._storage,ve=this.dimensions,Se=ve.length,ge=this._dimensionInfos,Pe=this._nameList,Ge=this._idList,pt=this._rawExtent,Te=this._nameRepeatCount={},xe,lt=this._chunkCount,Ie=0;Ie<Se;Ie++){var de=ve[Ie];pt[de]||(pt[de]=H());var ee=ge[de];ee.otherDims.itemName===0&&(xe=this._nameDimIdx=Ie),ee.otherDims.itemId===0&&(this._idDimIdx=Ie),G[de]||(G[de]=[]),_(G,ee,q,lt,X),this._chunkCount=G[de].length}for(var se=new Array(Se),ke=z;ke<X;ke++){se=fe.getItem(ke,se);for(var Ce=Math.floor(ke/q),ze=ke%q,_e=0;_e<Se;_e++){var de=ve[_e],ae=G[de][Ce],me=this._dimValueGetter(se,de,ke,_e);ae[ze]=me;var Oe=pt[de];me<Oe[0]&&(Oe[0]=me),me>Oe[1]&&(Oe[1]=me)}if(!fe.pure){var Ze=Pe[ke];if(se&&Ze==null){if(se.name!=null)Pe[ke]=Ze=se.name;else if(xe!=null){var vt=ve[xe],Ct=G[vt][Ce];if(Ct){Ze=Ct[ze];var Be=ge[vt].ordinalMeta;Be&&Be.categories.length&&(Ze=Be.categories[Ze])}}}var Rt=se==null?null:se.id;Rt==null&&Ze!=null&&(Te[Ze]=Te[Ze]||0,Rt=Ze,Te[Ze]>0&&(Rt+="__ec__"+Te[Ze]),Te[Ze]++),Rt!=null&&(Ge[ke]=Rt)}}!fe.persistent&&fe.clean&&fe.clean(),this._rawCount=this._count=X,this._extent={},N(this)};function _(z,X,q,fe,G){var ve=d[X.type],Se=fe-1,ge=X.name,Pe=z[ge][Se];if(Pe&&Pe.length<q){for(var Ge=new ve(Math.min(G-Se*q,q)),pt=0;pt<Pe.length;pt++)Ge[pt]=Pe[pt];z[ge][Se]=Ge}for(var Te=fe*q;Te<G;Te+=q)z[ge].push(new ve(Math.min(G-Te,q)))}function N(z){var X=z._invertedIndicesMap;y.each(X,function(q,fe){var G=z._dimensionInfos[fe],ve=G.ordinalMeta;if(ve){q=X[fe]=new w(ve.categories.length);for(var Se=0;Se<q.length;Se++)q[Se]=t;for(var Se=0;Se<z._count;Se++)q[z.get(fe,Se)]=Se}})}function F(z,X,q){var fe;if(X!=null){var G=z._chunkSize,ve=Math.floor(q/G),Se=q%G,ge=z.dimensions[X],Pe=z._storage[ge][ve];if(Pe){fe=Pe[Se];var Ge=z._dimensionInfos[ge].ordinalMeta;Ge&&Ge.categories.length&&(fe=Ge.categories[fe])}}return fe}C.count=function(){return this._count},C.getIndices=function(){var z,X=this._indices;if(X){var q=X.constructor,fe=this._count;if(q===Array){z=new q(fe);for(var G=0;G<fe;G++)z[G]=X[G]}else z=new q(X.buffer,0,fe)}else for(var q=E(this),z=new q(this.count()),G=0;G<z.length;G++)z[G]=G;return z},C.get=function(z,X){if(!(X>=0&&X<this._count))return NaN;var q=this._storage;if(!q[z])return NaN;X=this.getRawIndex(X);var fe=Math.floor(X/this._chunkSize),G=X%this._chunkSize,ve=q[z][fe],Se=ve[G];return Se},C.getByRawIndex=function(z,X){if(!(X>=0&&X<this._rawCount))return NaN;var q=this._storage[z];if(!q)return NaN;var fe=Math.floor(X/this._chunkSize),G=X%this._chunkSize,ve=q[fe];return ve[G]},C._getFast=function(z,X){var q=Math.floor(X/this._chunkSize),fe=X%this._chunkSize,G=this._storage[z][q];return G[fe]},C.getValues=function(z,X){var q=[];y.isArray(z)||(X=z,z=this.dimensions);for(var fe=0,G=z.length;fe<G;fe++)q.push(this.get(z[fe],X));return q},C.hasValue=function(z){for(var X=this._dimensionsSummary.dataDimsOnCoord,q=0,fe=X.length;q<fe;q++)if(isNaN(this.get(X[q],z)))return!1;return!0},C.getDataExtent=function(z){z=this.getDimension(z);var X=this._storage[z],q=H();if(!X)return q;var fe=this.count(),G=!this._indices,ve;if(G)return this._rawExtent[z].slice();if(ve=this._extent[z],ve)return ve.slice();ve=q;for(var Se=ve[0],ge=ve[1],Pe=0;Pe<fe;Pe++){var Ge=this._getFast(z,this.getRawIndex(Pe));Ge<Se&&(Se=Ge),Ge>ge&&(ge=Ge)}return ve=[Se,ge],this._extent[z]=ve,ve},C.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},C.setApproximateExtent=function(z,X){X=this.getDimension(X),this._approximateExtent[X]=z.slice()},C.getCalculationInfo=function(z){return this._calculationInfo[z]},C.setCalculationInfo=function(z,X){n(z)?y.extend(this._calculationInfo,z):this._calculationInfo[z]=X},C.getSum=function(z){var X=this._storage[z],q=0;if(X)for(var fe=0,G=this.count();fe<G;fe++){var ve=this.get(z,fe);isNaN(ve)||(q+=ve)}return q},C.getMedian=function(z){var X=[];this.each(z,function(G,ve){isNaN(G)||X.push(G)});var q=[].concat(X).sort(function(G,ve){return G-ve}),fe=this.count();return fe===0?0:fe%2===1?q[(fe-1)/2]:(q[fe/2]+q[fe/2-1])/2},C.rawIndexOf=function(z,X){var q=z&&this._invertedIndicesMap[z],fe=q[X];return fe==null||isNaN(fe)?t:fe},C.indexOfName=function(z){for(var X=0,q=this.count();X<q;X++)if(this.getName(X)===z)return X;return-1},C.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var X=this._indices,q=X[z];if(q!=null&&q<this._count&&q===z)return z;for(var fe=0,G=this._count-1;fe<=G;){var ve=(fe+G)/2|0;if(X[ve]<z)fe=ve+1;else if(X[ve]>z)G=ve-1;else return ve}return-1},C.indicesOfNearest=function(z,X,q){var fe=this._storage,G=fe[z],ve=[];if(!G)return ve;q==null&&(q=Infinity);for(var Se=Infinity,ge=-1,Pe=0,Ge=0,pt=this.count();Ge<pt;Ge++){var Te=X-this.get(z,Ge),xe=Math.abs(Te);xe<=q&&((xe<Se||xe===Se&&Te>=0&&ge<0)&&(Se=xe,ge=Te,Pe=0),Te===ge&&(ve[Pe++]=Ge))}return ve.length=Pe,ve},C.getRawIndex=k;function k(z){return z}function P(z){return z<this._count&&z>=0?this._indices[z]:-1}C.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var X=[],q=0;q<this.dimensions.length;q++){var fe=this.dimensions[q];X.push(this.get(fe,z))}return X},C.getName=function(z){var X=this.getRawIndex(z);return this._nameList[X]||F(this,this._nameDimIdx,X)||""},C.getId=function(z){return j(this,this.getRawIndex(z))};function j(z,X){var q=z._idList[X];return q==null&&(q=F(z,z._idDimIdx,X)),q==null&&(q=s+X),q}function K(z){return y.isArray(z)||(z=[z]),z}function R(z,X){for(var q=0;q<X.length;q++)z._dimensionInfos[X[q]]||console.error("Unkown dimension "+X[q])}C.each=function(z,X,q,fe){"use strict";if(!this._count)return;typeof z=="function"&&(fe=q,q=X,X=z,z=[]),q=q||fe||this,z=y.map(K(z),this.getDimension,this);for(var G=z.length,ve=0;ve<this.count();ve++)switch(G){case 0:X.call(q,ve);break;case 1:X.call(q,this.get(z[0],ve),ve);break;case 2:X.call(q,this.get(z[0],ve),this.get(z[1],ve),ve);break;default:for(var Se=0,ge=[];Se<G;Se++)ge[Se]=this.get(z[Se],ve);ge[Se]=ve,X.apply(q,ge)}},C.filterSelf=function(z,X,q,fe){"use strict";if(!this._count)return;typeof z=="function"&&(fe=q,q=X,X=z,z=[]),q=q||fe||this,z=y.map(K(z),this.getDimension,this);for(var G=this.count(),ve=E(this),Se=new ve(G),ge=[],Pe=z.length,Ge=0,pt=z[0],Te=0;Te<G;Te++){var xe,lt=this.getRawIndex(Te);if(Pe===0)xe=X.call(q,Te);else if(Pe===1){var Ie=this._getFast(pt,lt);xe=X.call(q,Ie,Te)}else{for(var de=0;de<Pe;de++)ge[de]=this._getFast(pt,lt);ge[de]=Te,xe=X.apply(q,ge)}xe&&(Se[Ge++]=lt)}return Ge<G&&(this._indices=Se),this._count=Ge,this._extent={},this.getRawIndex=this._indices?P:k,this},C.selectRange=function(z){"use strict";if(!this._count)return;var X=[];for(var q in z)z.hasOwnProperty(q)&&X.push(q);var fe=X.length;if(!fe)return;var G=this.count(),ve=E(this),Se=new ve(G),ge=0,Pe=X[0],Ge=z[Pe][0],pt=z[Pe][1],Te=!1;if(!this._indices){var xe=0;if(fe===1){for(var lt=this._storage[X[0]],Ie=0;Ie<this._chunkCount;Ie++)for(var de=lt[Ie],ee=Math.min(this._count-Ie*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var ke=de[se];(ke>=Ge&&ke<=pt||isNaN(ke))&&(Se[ge++]=xe),xe++}Te=!0}else if(fe===2){for(var lt=this._storage[Pe],Ce=this._storage[X[1]],ze=z[X[1]][0],_e=z[X[1]][1],Ie=0;Ie<this._chunkCount;Ie++)for(var de=lt[Ie],ae=Ce[Ie],ee=Math.min(this._count-Ie*this._chunkSize,this._chunkSize),se=0;se<ee;se++){var ke=de[se],me=ae[se];(ke>=Ge&&ke<=pt||isNaN(ke))&&(me>=ze&&me<=_e||isNaN(me))&&(Se[ge++]=xe),xe++}Te=!0}}if(!Te)if(fe===1)for(var se=0;se<G;se++){var Oe=this.getRawIndex(se),ke=this._getFast(Pe,Oe);(ke>=Ge&&ke<=pt||isNaN(ke))&&(Se[ge++]=Oe)}else for(var se=0;se<G;se++){for(var Ze=!0,Oe=this.getRawIndex(se),Ie=0;Ie<fe;Ie++){var vt=X[Ie],ke=this._getFast(q,Oe);(ke<z[vt][0]||ke>z[vt][1])&&(Ze=!1)}Ze&&(Se[ge++]=this.getRawIndex(se))}return ge<G&&(this._indices=Se),this._count=ge,this._extent={},this.getRawIndex=this._indices?P:k,this},C.mapArray=function(z,X,q,fe){"use strict";typeof z=="function"&&(fe=q,q=X,X=z,z=[]),q=q||fe||this;var G=[];return this.each(z,function(){G.push(X&&X.apply(this,arguments))},q),G};function B(z,X){var q=z.dimensions,fe=new x(y.map(q,z.getDimensionInfo,z),z.hostModel);O(fe,z);for(var G=fe._storage={},ve=z._storage,Se=0;Se<q.length;Se++){var ge=q[Se];ve[ge]&&(y.indexOf(X,ge)>=0?(G[ge]=U(ve[ge]),fe._rawExtent[ge]=H(),fe._extent[ge]=null):G[ge]=ve[ge])}return fe}function U(z){for(var X=new Array(z.length),q=0;q<z.length;q++)X[q]=A(z[q]);return X}function H(){return[Infinity,-Infinity]}C.map=function(z,X,q,fe){"use strict";q=q||fe||this,z=y.map(K(z),this.getDimension,this);var G=B(this,z);G._indices=this._indices,G.getRawIndex=G._indices?P:k;for(var ve=G._storage,Se=[],ge=this._chunkSize,Pe=z.length,Ge=this.count(),pt=[],Te=G._rawExtent,xe=0;xe<Ge;xe++){for(var lt=0;lt<Pe;lt++)pt[lt]=this.get(z[lt],xe);pt[Pe]=xe;var Ie=X&&X.apply(q,pt);if(Ie!=null){typeof Ie!="object"&&(Se[0]=Ie,Ie=Se);for(var de=this.getRawIndex(xe),ee=Math.floor(de/ge),se=de%ge,ke=0;ke<Ie.length;ke++){var Ce=z[ke],ze=Ie[ke],_e=Te[Ce],ae=ve[Ce];ae&&(ae[ee][se]=ze),ze<_e[0]&&(_e[0]=ze),ze>_e[1]&&(_e[1]=ze)}}}return G},C.downSample=function(z,X,q,fe){for(var G=B(this,[z]),ve=G._storage,Se=[],ge=Math.floor(1/X),Pe=ve[z],Ge=this.count(),pt=this._chunkSize,Te=G._rawExtent[z],xe=new(E(this))(Ge),lt=0,Ie=0;Ie<Ge;Ie+=ge){ge>Ge-Ie&&(ge=Ge-Ie,Se.length=ge);for(var de=0;de<ge;de++){var ee=this.getRawIndex(Ie+de),se=Math.floor(ee/pt),ke=ee%pt;Se[de]=Pe[se][ke]}var Ce=q(Se),ze=this.getRawIndex(Math.min(Ie+fe(Se,Ce)||0,Ge-1)),_e=Math.floor(ze/pt),ae=ze%pt;Pe[_e][ae]=Ce,Ce<Te[0]&&(Te[0]=Ce),Ce>Te[1]&&(Te[1]=Ce),xe[lt++]=ze}return G._count=lt,G._indices=xe,G.getRawIndex=P,G},C.getItemModel=function(z){var X=this.hostModel;return new p(this.getRawDataItem(z),X,X&&X.ecModel)},C.diff=function(z){var X=this;return new v(z?z.getIndices():[],this.getIndices(),function(q){return j(z,q)},function(q){return j(X,q)})},C.getVisual=function(z){var X=this._visual;return X&&X[z]},C.setVisual=function(z,X){if(n(z)){for(var q in z)z.hasOwnProperty(q)&&this.setVisual(q,z[q]);return}this._visual=this._visual||{},this._visual[z]=X},C.setLayout=function(z,X){if(n(z)){for(var q in z)z.hasOwnProperty(q)&&this.setLayout(q,z[q]);return}this._layout[z]=X},C.getLayout=function(z){return this._layout[z]},C.getItemLayout=function(z){return this._itemLayouts[z]},C.setItemLayout=function(z,X,q){this._itemLayouts[z]=q?y.extend(this._itemLayouts[z]||{},X):X},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(z,X,q){var fe=this._itemVisuals[z],G=fe&&fe[X];return G==null&&!q?this.getVisual(X):G},C.setItemVisual=function(z,X,q){var fe=this._itemVisuals[z]||{},G=this.hasItemVisual;if(this._itemVisuals[z]=fe,n(X)){for(var ve in X)X.hasOwnProperty(ve)&&(fe[ve]=X[ve],G[ve]=!0);return}fe[X]=q,G[X]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};C.setItemGraphicEl=function(z,X){var q=this.hostModel;X&&(X.dataIndex=z,X.dataType=this.dataType,X.seriesIndex=q&&q.seriesIndex,X.type==="group"&&X.traverse(W,X)),this._graphicEls[z]=X},C.getItemGraphicEl=function(z){return this._graphicEls[z]},C.eachItemGraphicEl=function(z,X){y.each(this._graphicEls,function(q,fe){q&&(z&&z.call(X,q,fe))})},C.cloneShallow=function(z){if(!z){var X=y.map(this.dimensions,this.getDimensionInfo,this);z=new x(X,this.hostModel)}if(z._storage=this._storage,O(z,this),this._indices){var q=this._indices.constructor;z._indices=new q(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?P:k,z},C.wrapMethod=function(z,X){var q=this[z];if(typeof q!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var fe=q.apply(this,arguments);return X.apply(this,[fe].concat(y.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=x;D.exports=V},YgsL:function(D,I,e){var g=e("QBsz"),f=g.distance;function y(v,h,u,o,i,r,a){var c=(u-v)*.5,n=(o-h)*.5;return(2*(h-u)+c+n)*a+(-3*(h-u)-2*c-n)*r+c*i+h}function p(v,h){for(var u=v.length,o=[],i=0,r=1;r<u;r++)i+=f(v[r-1],v[r]);var a=i/2;a=a<u?u:a;for(var r=0;r<a;r++){var c=r/(a-1)*(h?u:u-1),n=Math.floor(c),l=c-n,t,s=v[n%u],d,m;h?(t=v[(n-1+u)%u],d=v[(n+1)%u],m=v[(n+2)%u]):(t=v[n===0?n:n-1],d=v[n>u-2?u-1:n+1],m=v[n>u-3?u-1:n+2]);var w=l*l,b=l*w;o.push([y(t[0],s[0],d[0],m[0],l,w,b),y(t[1],s[1],d[1],m[1],l,w,b)])}return o}D.exports=p},Yl7c:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=".",v="___EC__COMPONENT__CONTAINER___";function h(t){var s={main:"",sub:""};return t&&(t=t.split(p),s.main=t[0]||"",s.sub=t[1]||""),s}function u(t){y.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function o(t,s){t.$constructor=t,t.extend=function(d){var m=this,w=function(){d.$constructor?d.$constructor.apply(this,arguments):m.apply(this,arguments)};return y.extend(w.prototype,d),w.extend=this.extend,w.superCall=a,w.superApply=c,y.inherits(w,this),w.superClass=m,w}}var i=0;function r(t){var s=["__\0is_clz",i++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(d){return!!(d&&d[s])}}function a(t,s){var d=y.slice(arguments,2);return this.superClass.prototype[s].apply(t,d)}function c(t,s,d){return this.superClass.prototype[s].apply(t,d)}function n(t,s){s=s||{};var d={};t.registerClass=function(b,E){if(E){if(u(E),E=h(E),!E.sub)d[E.main]=b;else if(E.sub!==v){var A=m(E);A[E.sub]=b}}return b},t.getClass=function(b,E,A){var S=d[b];if(S&&S[v]&&(S=E?S[E]:null),A&&!S)throw new Error(E?"Component "+b+"."+(E||"")+" not exists. Load it first.":b+".type should be specified.");return S},t.getClassesByMainType=function(b){b=h(b);var E=[],A=d[b.main];return A&&A[v]?y.each(A,function(S,T){T!==v&&E.push(S)}):E.push(A),E},t.hasClass=function(b){return b=h(b),!!d[b.main]},t.getAllClassMainTypes=function(){var b=[];return y.each(d,function(E,A){b.push(A)}),b},t.hasSubTypes=function(b){b=h(b);var E=d[b.main];return E&&E[v]},t.parseClassType=h;function m(b){var E=d[b.main];return(!E||!E[v])&&(E=d[b.main]={},E[v]=!0),E}if(s.registerWhenExtend){var w=t.extend;w&&(t.extend=function(b){var E=w.call(this,b);return t.registerClass(E,b.type)})}return t}function l(t,s){}I.parseClassType=h,I.enableClassExtend=o,I.enableClassCheck=r,I.enableClassManagement=n,I.setReadOnly=l},Ynxi:function(D,I,e){var g=e("bYtY"),f=e("ProS"),y=e("IwbS"),p=e("+TT/"),v=p.getLayoutRect,h=e("7aKB"),u=h.windowOpen;f.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"}}}),f.extendComponentView({type:"title",render:function(o,i,r){if(this.group.removeAll(),!o.get("show"))return;var a=this.group,c=o.getModel("textStyle"),n=o.getModel("subtextStyle"),l=o.get("textAlign"),t=g.retrieve2(o.get("textBaseline"),o.get("textVerticalAlign")),s=new y.Text({style:y.setTextStyle({},c,{text:o.get("text"),textFill:c.getTextColor()},{disableBox:!0}),z2:10}),d=s.getBoundingRect(),m=o.get("subtext"),w=new y.Text({style:y.setTextStyle({},n,{text:m,textFill:n.getTextColor(),y:d.height+o.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),b=o.get("link"),E=o.get("sublink"),A=o.get("triggerEvent",!0);s.silent=!b&&!A,w.silent=!E&&!A,b&&s.on("click",function(){u(b,"_"+o.get("target"))}),E&&w.on("click",function(){u(b,"_"+o.get("subtarget"))}),s.eventData=w.eventData=A?{componentType:"title",componentIndex:o.componentIndex}:null,a.add(s),m&&a.add(w);var S=a.getBoundingRect(),T=o.getBoxLayoutParams();T.width=S.width,T.height=S.height;var O=v(T,{width:r.getWidth(),height:r.getHeight()},o.get("padding"));l||(l=o.get("left")||o.get("right"),l==="middle"&&(l="center"),l==="right"?O.x+=O.width:l==="center"&&(O.x+=O.width/2)),t||(t=o.get("top")||o.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?O.y+=O.height:t==="middle"&&(O.y+=O.height/2),t=t||"top"),a.attr("position",[O.x,O.y]);var x={textAlign:l,textVerticalAlign:t};s.setStyle(x),w.setStyle(x),S=a.getBoundingRect();var C=O.margin,_=o.getItemStyle(["color","opacity"]);_.fill=o.get("backgroundColor");var N=new y.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:o.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});a.add(N)}})},YrtM:function(D,I,e){"use strict";e.d(I,"a",function(){return y});var g=e("q1tI"),f=e.n(g);function y(p,v,h){var u=g.useRef({});return(!("value"in u.current)||h(u.current.condition,v))&&(u.current.value=p(),u.current.condition=v),u.current.value}},Ywus:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("DO2E")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="DeleteOutlined";var u=y.forwardRef(h);I.default=u},Z0Lh:function(D,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=g(e("pVnL")),y=g(e("HjOm")),p=g(e("Z6rY")),v={lang:(0,f.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"]},y.default),timePickerLocale:(0,f.default)({},p.default)};v.lang.ok="\u786E \u5B9A";var h=v;I.default=h},Z0cm:function(D,I){var e=Array.isArray;D.exports=e},Z1HP:function(D,I,e){var g=e("ycre"),f=e("quyA"),y=e("q4HE");function p(v){return f(v)?y(v):g(v)}D.exports=p},Z1r0:function(D,I){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(y){var p=y.getCategoriesData(),v=y.getGraph(),h=v.data,u=p.mapArray(p.getName);h.filterSelf(function(o){var i=h.getItemModel(o),r=i.getShallow("category");if(r!=null){typeof r=="number"&&(r=u[r]);for(var a=0;a<f.length;a++)if(!f[a].isSelected(r))return!1}return!0})},this)}D.exports=e},Z1wy:function(D,I,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),y=e("VPsl"),p=e("9u0u"),v=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,p),g.registerPreprocessor(v),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(D,I,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(p,v){return g(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}});D.exports=y},Z6rY:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;I.default=f},Z8oC:function(D,I,e){var g=e("y1pI");function f(y,p){var v=this.__data__,h=g(v,y);return h<0?(++this.size,v.push([y,p])):v[h][1]=p,this}D.exports=f},Z8zF:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("IwbS"),h=e("56rv"),u=h.setLabel,o=e("Qxkt"),i=e("tceW"),r=e("y+Vt"),a=e("4fz+"),c=e("iLNv"),n=c.throttle,l=e("sK/D"),t=l.createClipPath,s=e("wr5s"),d=["itemStyle","barBorderWidth"],m=[0,0];p.extend(o.prototype,i);function w(W,V){var z=W.getArea&&W.getArea();if(W.type==="cartesian2d"){var X=W.getBaseAxis();if(X.type!=="category"||!X.onBand){var q=V.getLayout("bandWidth");X.isHorizontal()?(z.x-=q,z.width+=q*2):(z.y-=q,z.height+=q*2)}}return z}var b=y.extendChartView({type:"bar",render:function(W,V,z){this._updateDrawMode(W);var X=W.get("coordinateSystem");return(X==="cartesian2d"||X==="polar")&&(this._isLargeDraw?this._renderLarge(W,V,z):this._renderNormal(W,V,z)),this.group},incrementalPrepareRender:function(W,V,z){this._clear(),this._updateDrawMode(W)},incrementalRender:function(W,V,z,X){this._incrementalRenderLarge(W,V)},_updateDrawMode:function(W){var V=W.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(W,V,z){var X=this.group,q=W.getData(),fe=this._data,G=W.coordinateSystem,ve=G.getBaseAxis(),Se;G.type==="cartesian2d"?Se=ve.isHorizontal():G.type==="polar"&&(Se=ve.dim==="angle");var ge=W.isAnimationEnabled()?W:null,Pe=W.get("clip",!0),Ge=w(G,q);X.removeClipPath();var pt=W.get("roundCap",!0),Te=W.get("showBackground",!0),xe=W.getModel("backgroundStyle"),lt=xe.get("barBorderRadius")||0,Ie=[],de=this._backgroundEls||[];q.diff(fe).add(function(ke){var Ce=q.getItemModel(ke),ze=C[G.type](q,ke,Ce);if(Te){var _e=C[G.type](q,ke),ae=H(G,Se,_e);ae.useStyle(xe.getBarItemStyle()),G.type==="cartesian2d"&&ae.setShape("r",lt),Ie[ke]=ae}if(!q.hasValue(ke))return;if(Pe){var me=S[G.type](Ge,ze);if(me){X.remove(Oe);return}}var Oe=T[G.type](ke,ze,Se,ge,!1,pt);q.setItemGraphicEl(ke,Oe),X.add(Oe),N(Oe,q,ke,Ce,ze,W,Se,G.type==="polar")}).update(function(ke,Ce){var ze=q.getItemModel(ke),_e=C[G.type](q,ke,ze);if(Te){var ae=de[Ce];ae.useStyle(xe.getBarItemStyle()),G.type==="cartesian2d"&&ae.setShape("r",lt),Ie[ke]=ae;var me=C[G.type](q,ke),Oe=U(Se,me,G);v.updateProps(ae,{shape:Oe},ge,ke)}var Ze=fe.getItemGraphicEl(Ce);if(!q.hasValue(ke)){X.remove(Ze);return}if(Pe){var vt=S[G.type](Ge,_e);if(vt){X.remove(Ze);return}}Ze?v.updateProps(Ze,{shape:_e},ge,ke):Ze=T[G.type](ke,_e,Se,ge,!0,pt),q.setItemGraphicEl(ke,Ze),X.add(Ze),N(Ze,q,ke,ze,_e,W,Se,G.type==="polar")}).remove(function(ke){var Ce=fe.getItemGraphicEl(ke);G.type==="cartesian2d"?Ce&&O(ke,ge,Ce):Ce&&x(ke,ge,Ce)}).execute();var ee=this._backgroundGroup||(this._backgroundGroup=new a);ee.removeAll();for(var se=0;se<Ie.length;++se)ee.add(Ie[se]);X.add(ee),this._backgroundEls=Ie,this._data=q},_renderLarge:function(W,V,z){this._clear(),P(W,this.group);var X=W.get("clip",!0)?t(W.coordinateSystem,!1,W):null;X?this.group.setClipPath(X):this.group.removeClipPath()},_incrementalRenderLarge:function(W,V){this._removeBackground(),P(V,this.group,!0)},dispose:p.noop,remove:function(W){this._clear(W)},_clear:function(W){var V=this.group,z=this._data;W&&W.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(X){X.type==="sector"?x(X.dataIndex,W,X):O(X.dataIndex,W,X)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),E=Math.max,A=Math.min,S={cartesian2d:function(W,V){var z=V.width<0?-1:1,X=V.height<0?-1:1;z<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height);var q=E(V.x,W.x),fe=A(V.x+V.width,W.x+W.width),G=E(V.y,W.y),ve=A(V.y+V.height,W.y+W.height);V.x=q,V.y=G,V.width=fe-q,V.height=ve-G;var Se=V.width<0||V.height<0;return z<0&&(V.x+=V.width,V.width=-V.width),X<0&&(V.y+=V.height,V.height=-V.height),Se},polar:function(W){return!1}},T={cartesian2d:function(W,V,z,X,q){var fe=new v.Rect({shape:p.extend({},V),z2:1});if(fe.name="item",X){var G=fe.shape,ve=z?"height":"width",Se={};G[ve]=0,Se[ve]=V[ve],v[q?"updateProps":"initProps"](fe,{shape:Se},X,W)}return fe},polar:function(W,V,z,X,q,fe){var G=V.startAngle<V.endAngle,ve=!z&&fe?s:v.Sector,Se=new ve({shape:p.defaults({clockwise:G},V),z2:1});if(Se.name="item",X){var ge=Se.shape,Pe=z?"r":"endAngle",Ge={};ge[Pe]=z?0:V.startAngle,Ge[Pe]=V[Pe],v[q?"updateProps":"initProps"](Se,{shape:Ge},X,W)}return Se}};function O(W,V,z){z.style.text=null,v.updateProps(z,{shape:{width:0}},V,W,function(){z.parent&&z.parent.remove(z)})}function x(W,V,z){z.style.text=null,v.updateProps(z,{shape:{r:z.shape.r0}},V,W,function(){z.parent&&z.parent.remove(z)})}var C={cartesian2d:function(W,V,z){var X=W.getItemLayout(V),q=z?F(z,X):0,fe=X.width>0?1:-1,G=X.height>0?1:-1;return{x:X.x+fe*q/2,y:X.y+G*q/2,width:X.width-fe*q,height:X.height-G*q}},polar:function(W,V,z){var X=W.getItemLayout(V);return{cx:X.cx,cy:X.cy,r0:X.r0,r:X.r,startAngle:X.startAngle,endAngle:X.endAngle}}};function _(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function N(W,V,z,X,q,fe,G,ve){var Se=V.getItemVisual(z,"color"),ge=V.getItemVisual(z,"opacity"),Pe=V.getVisual("borderColor"),Ge=X.getModel("itemStyle"),pt=X.getModel("emphasis.itemStyle").getBarItemStyle();ve||W.setShape("r",Ge.get("barBorderRadius")||0),W.useStyle(p.defaults({stroke:_(q)?"none":Pe,fill:_(q)?"none":Se,opacity:ge},Ge.getBarItemStyle()));var Te=X.getShallow("cursor");Te&&W.attr("cursor",Te);var xe=G?q.height>0?"bottom":"top":q.width>0?"left":"right";ve||u(W.style,pt,X,Se,fe,z,xe),_(q)&&(pt.fill=pt.stroke="none"),v.setHoverStyle(W,pt)}function F(W,V){var z=W.get(d)||0,X=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),q=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(z,X,q)}var k=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,V){for(var z=V.points,X=this.__startPoint,q=this.__baseDimIdx,fe=0;fe<z.length;fe+=2)X[q]=z[fe+q],W.moveTo(X[0],X[1]),W.lineTo(z[fe],z[fe+1])}});function P(W,V,z){var X=W.getData(),q=[],fe=X.getLayout("valueAxisHorizontal")?1:0;q[1-fe]=X.getLayout("valueAxisStart");var G=X.getLayout("largeDataIndices"),ve=X.getLayout("barWidth"),Se=W.getModel("backgroundStyle"),ge=W.get("showBackground",!0);if(ge){var Pe=X.getLayout("largeBackgroundPoints"),Ge=[];Ge[1-fe]=X.getLayout("backgroundStart");var pt=new k({shape:{points:Pe},incremental:!!z,__startPoint:Ge,__baseDimIdx:fe,__largeDataIndices:G,__barWidth:ve,silent:!0,z2:0});B(pt,Se,X),V.add(pt)}var Te=new k({shape:{points:X.getLayout("largePoints")},incremental:!!z,__startPoint:q,__baseDimIdx:fe,__largeDataIndices:G,__barWidth:ve});V.add(Te),R(Te,W,X),Te.seriesIndex=W.seriesIndex,W.get("silent")||(Te.on("mousedown",j),Te.on("mousemove",j))}var j=n(function(W){var V=this,z=K(V,W.offsetX,W.offsetY);V.dataIndex=z>=0?z:null},30,!1);function K(W,V,z){var X=W.__baseDimIdx,q=1-X,fe=W.shape.points,G=W.__largeDataIndices,ve=Math.abs(W.__barWidth/2),Se=W.__startPoint[q];m[0]=V,m[1]=z;for(var ge=m[X],Pe=m[1-X],Ge=ge-ve,pt=ge+ve,Te=0,xe=fe.length/2;Te<xe;Te++){var lt=Te*2,Ie=fe[lt+X],de=fe[lt+q];if(Ie>=Ge&&Ie<=pt&&(Se<=de?Pe>=Se&&Pe<=de:Pe>=de&&Pe<=Se))return G[Te]}return-1}function R(W,V,z){var X=z.getVisual("borderColor")||z.getVisual("color"),q=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle(q),W.style.fill=null,W.style.stroke=X,W.style.lineWidth=z.getLayout("barWidth")}function B(W,V,z){var X=V.get("borderColor")||V.get("color"),q=V.getItemStyle(["color","borderColor"]);W.useStyle(q),W.style.fill=null,W.style.stroke=X,W.style.lineWidth=z.getLayout("barWidth")}function U(W,V,z){var X,q=z.type==="polar";return q?X=z.getArea():X=z.grid.getRect(),q?{cx:X.cx,cy:X.cy,r0:W?X.r0:V.r0,r:W?X.r:V.r,startAngle:W?V.startAngle:0,endAngle:W?V.endAngle:Math.PI*2}:{x:W?V.x:X.x,y:W?X.y:V.y,width:W?V.width:X.width,height:W?X.height:V.height}}function H(W,V,z){var X=W.type==="polar"?v.Sector:v.Rect;return new X({shape:U(V,z,W),silent:!0,z2:0})}D.exports=b},ZCgT:function(D,I,e){var g=e("tLB3"),f=1/0,y=17976931348623157e292;function p(v){if(!v)return v===0?v:0;if(v=g(v),v===f||v===-f){var h=v<0?-1:1;return h*y}return v===v?v:0}D.exports=p},ZLWo:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},ZMnZ:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("2oIt")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="UpOutlined";var u=y.forwardRef(h);I.default=u},ZTPi:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("q1tI"),h=e("ODXe"),u=e("Ff2n"),o=e("rePB"),i=e("TSYQ"),r=e.n(i),a=e("Zm9Q"),c=e("6cGi"),n=e("KQm4"),l=e("xEkU"),t=e.n(l),s=e("t23M");function d(He){var wt=Object(v.useRef)(),Ye=Object(v.useRef)(!1);function et(){for(var rt=arguments.length,st=new Array(rt),Ve=0;Ve<rt;Ve++)st[Ve]=arguments[Ve];Ye.current||(t.a.cancel(wt.current),wt.current=t()(function(){He.apply(void 0,st)}))}return Object(v.useEffect)(function(){return function(){Ye.current=!0,t.a.cancel(wt.current)}},[]),et}function m(He){var wt=Object(v.useRef)([]),Ye=Object(v.useState)({}),et=Object(h.a)(Ye,2),rt=et[1],st=Object(v.useRef)(typeof He=="function"?He():He),Ve=d(function(){var $=st.current;wt.current.forEach(function(it){$=it($)}),wt.current=[],st.current=$,rt({})});function ie($){wt.current.push($),Ve()}return[st.current,ie]}var w=e("4IlW");function b(He,wt){var Ye,et=He.prefixCls,rt=He.id,st=He.active,Ve=He.rtl,ie=He.tab,$=ie.key,it=ie.tab,Qe=ie.disabled,ye=ie.closeIcon,Zt=He.tabBarGutter,dt=He.tabPosition,ct=He.closable,yt=He.renderWrapper,It=He.removeAriaLabel,or=He.editable,Bt=He.onClick,Ae=He.onRemove,pe=He.onFocus,he="".concat(et,"-tab");v.useEffect(function(){return Ae},[]);var le={};dt==="top"||dt==="bottom"?le[Ve?"marginLeft":"marginRight"]=Zt:le.marginBottom=Zt;var Ne=or&&ct!==!1&&!Qe;function je(Fe){if(Qe)return;Bt(Fe)}function Ke(Fe){Fe.preventDefault(),Fe.stopPropagation(),or.onEdit("remove",{key:$,event:Fe})}var Xe=v.createElement("div",{key:$,ref:wt,className:r()(he,(Ye={},Object(o.a)(Ye,"".concat(he,"-with-remove"),Ne),Object(o.a)(Ye,"".concat(he,"-active"),st),Object(o.a)(Ye,"".concat(he,"-disabled"),Qe),Ye)),style:le,onClick:je},v.createElement("div",{role:"tab","aria-selected":st,id:rt&&"".concat(rt,"-tab-").concat($),className:"".concat(he,"-btn"),"aria-controls":rt&&"".concat(rt,"-panel-").concat($),"aria-disabled":Qe,tabIndex:Qe?null:0,onClick:function(nt){nt.stopPropagation(),je(nt)},onKeyDown:function(nt){[w.a.SPACE,w.a.ENTER].includes(nt.which)&&(nt.preventDefault(),je(nt))},onFocus:pe},it),Ne&&v.createElement("button",{type:"button","aria-label":It||"remove",tabIndex:0,className:"".concat(he,"-remove"),onClick:function(nt){nt.stopPropagation(),Ke(nt)}},ye||or.removeIcon||"\xD7"));return yt&&(Xe=yt(Xe)),Xe}var E=v.forwardRef(b);function A(He,wt){var Ye=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function S(He){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?A(Object(Ye),!0).forEach(function(et){Object(o.a)(He,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ye)):A(Object(Ye)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ye,et))})}return He}var T={width:0,height:0,left:0,top:0};function O(He,wt,Ye){return Object(v.useMemo)(function(){for(var et,rt=new Map,st=wt.get((et=He[0])===null||et===void 0?void 0:et.key)||T,Ve=st.left+st.width,ie=0;ie<He.length;ie+=1){var $=He[ie].key,it=wt.get($);if(!it){var Qe;it=wt.get((Qe=He[ie-1])===null||Qe===void 0?void 0:Qe.key)||T}var ye=rt.get($)||S({},it);ye.right=Ve-ye.left-ye.width,rt.set($,ye)}return rt},[He.map(function(et){return et.key}).join("_"),wt,Ye])}var x={width:0,height:0,left:0,top:0,right:0};function C(He,wt,Ye,et,rt){var st=rt.tabs,Ve=rt.tabPosition,ie=rt.rtl,$,it,Qe;["top","bottom"].includes(Ve)?($="width",it=ie?"right":"left",Qe=Math.abs(wt.left)):($="height",it="top",Qe=-wt.top);var ye=wt[$],Zt=Ye[$],dt=et[$],ct=ye;return Zt+dt>ye&&(ct=ye-dt),Object(v.useMemo)(function(){if(!st.length)return[0,0];for(var yt=st.length,It=yt,or=0;or<yt;or+=1){var Bt=He.get(st[or].key)||x;if(Bt[it]+Bt[$]>Qe+ct){It=or-1;break}}for(var Ae=0,pe=yt-1;pe>=0;pe-=1){var he=He.get(st[pe].key)||x;if(he[it]<Qe){Ae=pe+1;break}}return[Ae,It]},[He,Qe,ct,Ve,st.map(function(yt){return yt.key}).join("_"),ie])}var _=e("1j5w"),N=e("eDIo");function F(He,wt){var Ye=He.prefixCls,et=He.editable,rt=He.locale,st=He.style;return!et||et.showAdd===!1?null:v.createElement("button",{ref:wt,type:"button",className:"".concat(Ye,"-nav-add"),style:st,"aria-label":(rt==null?void 0:rt.addAriaLabel)||"Add tab",onClick:function(ie){et.onEdit("add",{event:ie})}},et.addIcon||"+")}var k=v.forwardRef(F);function P(He,wt){var Ye=He.prefixCls,et=He.id,rt=He.tabs,st=He.locale,Ve=He.mobile,ie=He.moreIcon,$=ie===void 0?"More":ie,it=He.moreTransitionName,Qe=He.style,ye=He.className,Zt=He.editable,dt=He.tabBarGutter,ct=He.rtl,yt=He.onTabClick,It=Object(v.useState)(!1),or=Object(h.a)(It,2),Bt=or[0],Ae=or[1],pe=Object(v.useState)(null),he=Object(h.a)(pe,2),le=he[0],Ne=he[1],je="".concat(et,"-more-popup"),Ke="".concat(Ye,"-dropdown"),Xe=le!==null?"".concat(je,"-").concat(le):null,Fe=st==null?void 0:st.dropdownAriaLabel,nt=v.createElement(_.f,{onClick:function(be){var Le=be.key,Re=be.domEvent;yt(Le,Re),Ae(!1)},id:je,tabIndex:-1,role:"listbox","aria-activedescendant":Xe,selectedKeys:[le],"aria-label":Fe!==void 0?Fe:"expanded dropdown"},rt.map(function(te){return v.createElement(_.d,{key:te.key,id:"".concat(je,"-").concat(te.key),role:"option","aria-controls":et&&"".concat(et,"-panel-").concat(te.key),disabled:te.disabled},te.tab)}));function At(te){for(var be=rt.filter(function(Wt){return!Wt.disabled}),Le=be.findIndex(function(Wt){return Wt.key===le})||0,Re=be.length,$e=0;$e<Re;$e+=1){Le=(Le+te+Re)%Re;var gt=be[Le];if(!gt.disabled){Ne(gt.key);return}}}function _t(te){var be=te.which;if(!Bt){[w.a.DOWN,w.a.SPACE,w.a.ENTER].includes(be)&&(Ae(!0),te.preventDefault());return}switch(be){case w.a.UP:At(-1),te.preventDefault();break;case w.a.DOWN:At(1),te.preventDefault();break;case w.a.ESC:Ae(!1);break;case w.a.SPACE:case w.a.ENTER:le!==null&&yt(le,te);break}}Object(v.useEffect)(function(){var te=document.getElementById(Xe);te&&te.scrollIntoView&&te.scrollIntoView(!1)},[le]),Object(v.useEffect)(function(){Bt||Ne(null)},[Bt]);var ne=Object(o.a)({},ct?"marginLeft":"marginRight",dt);rt.length||(ne.visibility="hidden",ne.order=1);var ue=r()(Object(o.a)({},"".concat(Ke,"-rtl"),ct)),Y=Ve?null:v.createElement(N.a,{prefixCls:Ke,overlay:nt,trigger:["hover"],visible:Bt,transitionName:it,onVisibleChange:Ae,overlayClassName:ue},v.createElement("button",{type:"button",className:"".concat(Ye,"-nav-more"),style:ne,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":je,id:"".concat(et,"-more"),"aria-expanded":Bt,onKeyDown:_t},$));return v.createElement("div",{className:r()("".concat(Ye,"-nav-operations"),ye),style:Qe,ref:wt},Y,v.createElement(k,{prefixCls:Ye,locale:st,editable:Zt}))}var j=v.forwardRef(P),K=Object(v.createContext)(null),R=.1,B=.01,U=20,H=Math.pow(.995,U);function W(){var He=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(He)||/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(He.substr(0,4)))}function V(He,wt){var Ye=Object(v.useState)(),et=Object(h.a)(Ye,2),rt=et[0],st=et[1],Ve=Object(v.useState)(0),ie=Object(h.a)(Ve,2),$=ie[0],it=ie[1],Qe=Object(v.useState)(0),ye=Object(h.a)(Qe,2),Zt=ye[0],dt=ye[1],ct=Object(v.useState)(),yt=Object(h.a)(ct,2),It=yt[0],or=yt[1],Bt=Object(v.useRef)();function Ae(Fe){var nt=Fe.touches[0],At=nt.screenX,_t=nt.screenY;st({x:At,y:_t}),window.clearInterval(Bt.current)}function pe(Fe){if(!rt)return;Fe.preventDefault();var nt=Fe.touches[0],At=nt.screenX,_t=nt.screenY;st({x:At,y:_t});var ne=At-rt.x,ue=_t-rt.y;wt(ne,ue);var Y=Date.now();it(Y),dt(Y-$),or({x:ne,y:ue})}function he(){if(!rt)return;if(st(null),or(null),It){var Fe=It.x/Zt,nt=It.y/Zt,At=Math.abs(Fe),_t=Math.abs(nt);if(Math.max(At,_t)<R)return;var ne=Fe,ue=nt;Bt.current=window.setInterval(function(){if(Math.abs(ne)<B&&Math.abs(ue)<B){window.clearInterval(Bt.current);return}ne*=H,ue*=H,wt(ne*U,ue*U)},U)}}var le=Object(v.useRef)(0),Ne=Object(v.useRef)(!1),je=Object(v.useRef)();function Ke(Fe){var nt=Fe.deltaX,At=Fe.deltaY,_t=0,ne=Math.abs(nt),ue=Math.abs(At);ne===ue?_t=je.current==="x"?nt:At:ne>ue?(_t=nt,je.current="x"):(_t=At,je.current="y");var Y=Date.now();Y-le.current>100&&(Ne.current=!1),(wt(-_t,-_t)||Ne.current)&&(Fe.preventDefault(),Ne.current=!0),le.current=Y}var Xe=Object(v.useRef)(null);Xe.current={onTouchStart:Ae,onTouchMove:pe,onTouchEnd:he,onWheel:Ke},v.useEffect(function(){function Fe(ne){Xe.current.onTouchStart(ne)}function nt(ne){Xe.current.onTouchMove(ne)}function At(ne){Xe.current.onTouchEnd(ne)}function _t(ne){Xe.current.onWheel(ne)}return document.addEventListener("touchmove",nt,{passive:!1}),document.addEventListener("touchend",At,{passive:!1}),He.current.addEventListener("touchstart",Fe,{passive:!1}),He.current.addEventListener("wheel",_t),function(){document.removeEventListener("touchmove",nt),document.removeEventListener("touchend",At)}},[])}function z(){var He=Object(v.useRef)(new Map);function wt(et){return He.current.has(et)||He.current.set(et,v.createRef()),He.current.get(et)}function Ye(et){He.current.delete(et)}return[wt,Ye]}function X(He,wt){var Ye=v.useRef(He),et=v.useState({}),rt=Object(h.a)(et,2),st=rt[1];function Ve(ie){var $=typeof ie=="function"?ie(Ye.current):ie;$!==Ye.current&&wt($,Ye.current),Ye.current=$,st({})}return[Ye.current,Ve]}function q(He,wt){var Ye=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function fe(He){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?q(Object(Ye),!0).forEach(function(et){Object(o.a)(He,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ye)):q(Object(Ye)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ye,et))})}return He}var G=function(wt){var Ye=wt.position,et=wt.prefixCls,rt=wt.extra;if(!rt)return null;var st,Ve=rt;return Ye==="right"&&(st=Ve.right||!Ve.left&&Ve||null),Ye==="left"&&(st=Ve.left||null),st?v.createElement("div",{className:"".concat(et,"-extra-content")},st):null};function ve(He,wt){var Ye,et=v.useContext(K),rt=et.prefixCls,st=et.tabs,Ve=He.className,ie=He.style,$=He.id,it=He.animated,Qe=He.activeKey,ye=He.rtl,Zt=He.extra,dt=He.editable,ct=He.locale,yt=He.tabPosition,It=He.tabBarGutter,or=He.children,Bt=He.onTabClick,Ae=He.onTabScroll,pe=Object(v.useRef)(),he=Object(v.useRef)(),le=Object(v.useRef)(),Ne=Object(v.useRef)(),je=z(),Ke=Object(h.a)(je,2),Xe=Ke[0],Fe=Ke[1],nt=yt==="top"||yt==="bottom",At=X(0,function(aa,Hi){nt&&Ae&&Ae({direction:aa>Hi?"left":"right"})}),_t=Object(h.a)(At,2),ne=_t[0],ue=_t[1],Y=X(0,function(aa,Hi){!nt&&Ae&&Ae({direction:aa>Hi?"top":"bottom"})}),te=Object(h.a)(Y,2),be=te[0],Le=te[1],Re=Object(v.useState)(0),$e=Object(h.a)(Re,2),gt=$e[0],Wt=$e[1],$t=Object(v.useState)(0),Dt=Object(h.a)($t,2),Kt=Dt[0],Yt=Dt[1],Qt=Object(v.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],ot=Object(v.useState)(0),xt=Object(h.a)(ot,2),ut=xt[0],ft=xt[1],Lt=Object(v.useState)(null),Tt=Object(h.a)(Lt,2),ht=Tt[0],Ht=Tt[1],Ft=Object(v.useState)(null),ir=Object(h.a)(Ft,2),Xt=ir[0],mr=ir[1],Ar=Object(v.useState)(0),Nr=Object(h.a)(Ar,2),Fr=Nr[0],tn=Nr[1],qr=Object(v.useState)(0),Or=Object(h.a)(qr,2),Qr=Or[0],Ir=Or[1],ur=m(new Map),pr=Object(h.a)(ur,2),cr=pr[0],fr=pr[1],xr=O(st,cr,gt),Gr="".concat(rt,"-nav-operations-hidden"),un=0,Nn=0;nt?ye?(un=0,Nn=Math.max(0,gt-ht)):(un=Math.min(0,ht-gt),Nn=0):(un=Math.min(0,Xt-Kt),Nn=0);function jr(aa){return aa<un?[un,!1]:aa>Nn?[Nn,!1]:[aa,!0]}var Tn=Object(v.useRef)(),gn=Object(v.useState)(),Pn=Object(h.a)(gn,2),zn=Pn[0],qn=Pn[1];function Gn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}V(pe,function(aa,Hi){var ga=!1;function ha(mo,kn){mo(function($i){var eo=jr($i+kn),To=Object(h.a)(eo,2),uo=To[0],rr=To[1];return ga=rr,uo})}if(nt){if(ht>=gt)return ga;ha(ue,aa)}else{if(Xt>=Kt)return ga;ha(Le,Hi)}return Vn(),Gn(),ga}),Object(v.useEffect)(function(){return Vn(),zn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[zn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Hi=xr.get(aa);if(!Hi)return;if(nt){var ga=ne;ye?Hi.right<ne?ga=Hi.right:Hi.right+Hi.width>ne+ht&&(ga=Hi.right+Hi.width-ht):Hi.left<-ne?ga=-Hi.left:Hi.left+Hi.width>-ne+ht&&(ga=-(Hi.left+Hi.width-ht)),Le(0),ue(jr(ga)[0])}else{var ha=be;Hi.top<-be?ha=-Hi.top:Hi.top+Hi.height>-be+Xt&&(ha=-(Hi.top+Hi.height-Xt)),ue(0),Le(jr(ha)[0])}}var on=C(xr,{width:ht,height:Xt,left:ne,top:be},{width:dr,height:ut},{width:Fr,height:Qr},fe(fe({},He),{},{tabs:st})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],Ii=st.map(function(aa){var Hi=aa.key;return v.createElement(E,{id:$,prefixCls:rt,key:Hi,rtl:ye,tab:aa,closable:aa.closable,editable:dt,active:Hi===Qe,tabPosition:yt,tabBarGutter:It,renderWrapper:or,removeAriaLabel:ct==null?void 0:ct.removeAriaLabel,ref:Xe(Hi),onClick:function(ha){Bt(Hi,ha)},onRemove:function(){Fe(Hi)},onFocus:function(){An(Hi),Gn(),ye||(pe.current.scrollLeft=0),pe.current.scrollTop=0}})}),Ci=d(function(){var aa,Hi,ga,ha,mo,kn,$i,eo,To,uo=((aa=pe.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=pe.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=Ne.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Pr=((ha=Ne.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=le.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((kn=le.current)===null||kn===void 0?void 0:kn.offsetHeight)||0;Ht(uo),mr(rr),tn(Tr),Ir(Pr);var tt=((($i=he.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=he.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Pr;Wt(tt),Yt(jt);var Jt=(To=le.current)===null||To===void 0?void 0:To.className.includes(Gr);er(tt-(Jt?0:Wr)),ft(jt-(Jt?0:hn)),fr(function(){var nr=new Map;return st.forEach(function(_r){var wr=_r.key,Er=Xe(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Yn=st.slice(0,xa),_a=st.slice(ta+1),mn=[].concat(Object(n.a)(Yn),Object(n.a)(_a)),_n=Object(v.useState)(),On=Object(h.a)(_n,2),In=On[0],jn=On[1],ni=xr.get(Qe),di=Object(v.useRef)();function Na(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(nt?(ye?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Na(),di.current=t()(function(){jn(aa)}),Na},[ni,nt,ye]),Object(v.useEffect)(function(){An()},[Qe,ni,xr,nt]),Object(v.useEffect)(function(){Ci()},[ye,It,Qe,st.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(rt,"-nav-wrap"),Ba,Qa,Wi,Co;return nt?ye?(Qa=ne>0,Ba=ne+ht<gt):(Ba=ne<0,Qa=-ne+ht<gt):(Wi=be<0,Co=-be+Xt<Kt),v.createElement("div",{ref:wt,role:"tablist",className:r()("".concat(rt,"-nav"),Ve),style:ie,onKeyDown:function(){Gn()}},v.createElement(G,{position:"left",extra:Zt,prefixCls:rt}),v.createElement(s.a,{onResize:Ci},v.createElement("div",{className:r()(ma,(Ye={},Object(o.a)(Ye,"".concat(ma,"-ping-left"),Ba),Object(o.a)(Ye,"".concat(ma,"-ping-right"),Qa),Object(o.a)(Ye,"".concat(ma,"-ping-top"),Wi),Object(o.a)(Ye,"".concat(ma,"-ping-bottom"),Co),Ye)),ref:pe},v.createElement(s.a,{onResize:Ci},v.createElement("div",{ref:he,className:"".concat(rt,"-nav-list"),style:{transform:"translate(".concat(ne,"px, ").concat(be,"px)"),transition:zn?"none":void 0}},Ii,v.createElement(k,{ref:Ne,prefixCls:rt,locale:ct,editable:dt,style:{visibility:Qi?"hidden":null}}),v.createElement("div",{className:r()("".concat(rt,"-ink-bar"),Object(o.a)({},"".concat(rt,"-ink-bar-animated"),it.inkBar)),style:In}))))),v.createElement(j,Object.assign({},He,{ref:le,prefixCls:rt,tabs:mn,className:!Qi&&Gr})),v.createElement(G,{position:"right",extra:Zt,prefixCls:rt}))}var Se=v.forwardRef(ve);function ge(He){var wt=He.id,Ye=He.activeKey,et=He.animated,rt=He.tabPosition,st=He.rtl,Ve=He.destroyInactiveTabPane,ie=v.useContext(K),$=ie.prefixCls,it=ie.tabs,Qe=et.tabPane,ye=it.findIndex(function(Zt){return Zt.key===Ye});return v.createElement("div",{className:r()("".concat($,"-content-holder"))},v.createElement("div",{className:r()("".concat($,"-content"),"".concat($,"-content-").concat(rt),Object(o.a)({},"".concat($,"-content-animated"),Qe)),style:ye&&Qe?Object(o.a)({},st?"marginRight":"marginLeft","-".concat(ye,"00%")):null},it.map(function(Zt){return v.cloneElement(Zt.node,{key:Zt.key,prefixCls:$,tabKey:Zt.key,id:wt,animated:Qe,active:Zt.key===Ye,destroyInactiveTabPane:Ve})})))}function Pe(He,wt){var Ye=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function Ge(He){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?Pe(Object(Ye),!0).forEach(function(et){Object(o.a)(He,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ye)):Pe(Object(Ye)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ye,et))})}return He}function pt(He){var wt=He.prefixCls,Ye=He.forceRender,et=He.className,rt=He.style,st=He.id,Ve=He.active,ie=He.animated,$=He.destroyInactiveTabPane,it=He.tabKey,Qe=He.children,ye=v.useState(Ye),Zt=Object(h.a)(ye,2),dt=Zt[0],ct=Zt[1];v.useEffect(function(){Ve?ct(!0):$&&ct(!1)},[Ve,$]);var yt={};return Ve||(ie?(yt.visibility="hidden",yt.height=0,yt.overflowY="hidden"):yt.display="none"),v.createElement("div",{id:st&&"".concat(st,"-panel-").concat(it),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":st&&"".concat(st,"-tab-").concat(it),"aria-hidden":!Ve,style:Ge(Ge({},yt),rt),className:r()("".concat(wt,"-tabpane"),Ve&&"".concat(wt,"-tabpane-active"),et)},(Ve||dt||Ye)&&Qe)}function Te(He,wt){var Ye=Object.keys(He);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(He);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(He,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function xe(He){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?Te(Object(Ye),!0).forEach(function(et){Object(o.a)(He,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ye)):Te(Object(Ye)).forEach(function(et){Object.defineProperty(He,et,Object.getOwnPropertyDescriptor(Ye,et))})}return He}var lt=0;function Ie(He){return Object(a.a)(He).map(function(wt){if(v.isValidElement(wt)){var Ye=wt.key!==void 0?String(wt.key):void 0;return xe(xe({key:Ye},wt.props),{},{node:wt})}return null}).filter(function(wt){return wt})}function de(He,wt){var Ye,et=He.id,rt=He.prefixCls,st=rt===void 0?"rc-tabs":rt,Ve=He.className,ie=He.children,$=He.direction,it=He.activeKey,Qe=He.defaultActiveKey,ye=He.editable,Zt=He.animated,dt=He.tabPosition,ct=dt===void 0?"top":dt,yt=He.tabBarGutter,It=He.tabBarStyle,or=He.tabBarExtraContent,Bt=He.locale,Ae=He.moreIcon,pe=He.moreTransitionName,he=He.destroyInactiveTabPane,le=He.renderTabBar,Ne=He.onChange,je=He.onTabClick,Ke=He.onTabScroll,Xe=Object(u.a)(He,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Fe=Ie(ie),nt=$==="rtl",At;Zt===!1?At={inkBar:!1,tabPane:!1}:At=xe({inkBar:!0,tabPane:!1},Zt!==!0?Zt:null);var _t=Object(v.useState)(!1),ne=Object(h.a)(_t,2),ue=ne[0],Y=ne[1];Object(v.useEffect)(function(){Y(W())},[]);var te=Object(c.a)(function(){var ut;return(ut=Fe[0])===null||ut===void 0?void 0:ut.key},{value:it,defaultValue:Qe}),be=Object(h.a)(te,2),Le=be[0],Re=be[1],$e=Object(v.useState)(function(){return Fe.findIndex(function(ut){return ut.key===Le})}),gt=Object(h.a)($e,2),Wt=gt[0],$t=gt[1];Object(v.useEffect)(function(){var ut=Fe.findIndex(function(Lt){return Lt.key===Le});if(ut===-1){var ft;ut=Math.max(0,Math.min(Wt,Fe.length-1)),Re((ft=Fe[ut])===null||ft===void 0?void 0:ft.key)}$t(ut)},[Fe.map(function(ut){return ut.key}).join("_"),Le,Wt]);var Dt=Object(c.a)(null,{value:et}),Kt=Object(h.a)(Dt,2),Yt=Kt[0],Qt=Kt[1],Mt=ct;ue&&!["left","right"].includes(ct)&&(Mt="top"),Object(v.useEffect)(function(){et||(Qt("rc-tabs-".concat(lt)),lt+=1)},[]);function dr(ut,ft){je==null||je(ut,ft),Re(ut),Ne==null||Ne(ut)}var er={id:Yt,activeKey:Le,animated:At,tabPosition:Mt,rtl:nt,mobile:ue},ot,xt=xe(xe({},er),{},{editable:ye,locale:Bt,moreIcon:Ae,moreTransitionName:pe,tabBarGutter:yt,onTabClick:dr,onTabScroll:Ke,extra:or,style:It,panes:ie});return le?ot=le(xt,Se):ot=v.createElement(Se,Object.assign({},xt)),v.createElement(K.Provider,{value:{tabs:Fe,prefixCls:st}},v.createElement("div",Object.assign({ref:wt,id:et,className:r()(st,"".concat(st,"-").concat(Mt),(Ye={},Object(o.a)(Ye,"".concat(st,"-mobile"),ue),Object(o.a)(Ye,"".concat(st,"-editable"),ye),Object(o.a)(Ye,"".concat(st,"-rtl"),nt),Ye),Ve)},Xe),ot,v.createElement(ge,Object.assign({destroyInactiveTabPane:he},er,{animated:At}))))}var ee=v.forwardRef(de);ee.TabPane=pt;var se=ee,ke=se,Ce=e("cCPh"),ze=e.n(Ce),_e=e("fNCr"),ae=e.n(_e),me=e("V/uB"),Oe=e.n(me),Ze=e("uaoM"),vt=e("H84U"),Ct=function(He,wt){var Ye={};for(var et in He)Object.prototype.hasOwnProperty.call(He,et)&&wt.indexOf(et)<0&&(Ye[et]=He[et]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,et=Object.getOwnPropertySymbols(He);rt<et.length;rt++)wt.indexOf(et[rt])<0&&Object.prototype.propertyIsEnumerable.call(He,et[rt])&&(Ye[et[rt]]=He[et[rt]]);return Ye};function Be(He){var wt,Ye=He.type,et=He.className,rt=He.size,st=He.onEdit,Ve=He.hideAdd,ie=He.centered,$=He.addIcon,it=Ct(He,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Qe=it.prefixCls,ye=v.useContext(vt.b),Zt=ye.getPrefixCls,dt=ye.direction,ct=Zt("tabs",Qe),yt;return Ye==="editable-card"&&(yt={onEdit:function(or,Bt){var Ae=Bt.key,pe=Bt.event;st==null||st(or==="add"?pe:Ae,or)},removeIcon:v.createElement(Oe.a,null),addIcon:$||v.createElement(ae.a,null),showAdd:Ve!==!0}),Object(Ze.a)(!("onPrevClick"in it)&&!("onNextClick"in it),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(ke,f()({direction:dt},it,{moreTransitionName:"slide-up",className:r()(et,(wt={},p()(wt,"".concat(ct,"-").concat(rt),rt),p()(wt,"".concat(ct,"-card"),["card","editable-card"].includes(Ye)),p()(wt,"".concat(ct,"-editable-card"),Ye==="editable-card"),p()(wt,"".concat(ct,"-centered"),ie),wt)),editable:yt,moreIcon:v.createElement(ze.a,null),prefixCls:ct}))}Be.TabPane=pt;var Rt=I.a=Be},ZTW2:function(D,I,e){},ZWlE:function(D,I,e){var g=e("bYtY"),f=e("4NO4");function y(h){p(h),v(h)}function p(h){if(h.parallel)return;var u=!1;g.each(h.series,function(o){o&&o.type==="parallel"&&(u=!0)}),u&&(h.parallel=[{}])}function v(h){var u=f.normalizeToArray(h.parallelAxis);g.each(u,function(o){if(!g.isObject(o))return;var i=o.parallelIndex||0,r=f.normalizeToArray(h.parallel)[i];r&&r.parallelAxisDefault&&g.merge(o,r.parallelAxisDefault,!1)})}D.exports=y},ZX9x:function(D,I,e){"use strict";e.d(I,"a",function(){return N}),e.d(I,"b",function(){return P});var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("7W2i"),r=e.n(i),a=e("LQ03"),c=e.n(a),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),d=e("T1rO"),m=e.n(d),w=e("fEPi"),b=e.n(w),E=e("DFhj"),A=e.n(E),S=e("PKem"),T=e("H84U"),O=function(K){return!isNaN(parseFloat(K))&&isFinite(K)},x=O,C=function(j,K){var R={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&K.indexOf(B)<0&&(R[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,B=Object.getOwnPropertySymbols(j);U<B.length;U++)K.indexOf(B[U])<0&&Object.prototype.propertyIsEnumerable.call(j,B[U])&&(R[B[U]]=j[B[U]]);return R},_={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},N=n.createContext({}),F=function(){var j=0;return function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,"".concat(K).concat(j)}}(),k=function(j){r()(R,j);var K=c()(R);function R(B){var U;h()(this,R),U=K.call(this,B),U.responsiveHandler=function(V){U.setState({below:V.matches});var z=U.props.onBreakpoint,X=U.state.collapsed;z&&z(V.matches),X!==V.matches&&U.setCollapsed(V.matches,"responsive")},U.setCollapsed=function(V,z){"collapsed"in U.props||U.setState({collapsed:V});var X=U.props.onCollapse;X&&X(V,z)},U.toggle=function(){var V=!U.state.collapsed;U.setCollapsed(V,"clickTrigger")},U.renderSider=function(V){var z,X=V.getPrefixCls,q=U.props,fe=q.prefixCls,G=q.className,ve=q.theme,Se=q.collapsible,ge=q.reverseArrow,Pe=q.trigger,Ge=q.style,pt=q.width,Te=q.collapsedWidth,xe=q.zeroWidthTriggerStyle,lt=q.children,Ie=C(q,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),de=U.state,ee=de.collapsed,se=de.below,ke=X("layout-sider",fe),Ce=Object(s.default)(Ie,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),ze=ee?Te:pt,_e=x(ze)?"".concat(ze,"px"):String(ze),ae=parseFloat(String(Te||0))===0?n.createElement("span",{onClick:U.toggle,className:t()("".concat(ke,"-zero-width-trigger"),"".concat(ke,"-zero-width-trigger-").concat(ge?"right":"left")),style:xe},Pe||n.createElement(m.a,null)):null,me={expanded:ge?n.createElement(b.a,null):n.createElement(A.a,null),collapsed:ge?n.createElement(A.a,null):n.createElement(b.a,null)},Oe=ee?"collapsed":"expanded",Ze=me[Oe],vt=Pe!==null?ae||n.createElement("div",{className:"".concat(ke,"-trigger"),onClick:U.toggle,style:{width:_e}},Pe||Ze):null,Ct=p()(p()({},Ge),{flex:"0 0 ".concat(_e),maxWidth:_e,minWidth:_e,width:_e}),Be=t()(G,ke,"".concat(ke,"-").concat(ve),(z={},f()(z,"".concat(ke,"-collapsed"),!!ee),f()(z,"".concat(ke,"-has-trigger"),Se&&Pe!==null&&!ae),f()(z,"".concat(ke,"-below"),!!se),f()(z,"".concat(ke,"-zero-width"),parseFloat(_e)===0),z));return n.createElement("aside",p()({className:Be},Ce,{style:Ct}),n.createElement("div",{className:"".concat(ke,"-children")},lt),Se||se&&ae?vt:null)},U.uniqueId=F("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&B.breakpoint&&B.breakpoint in _&&(U.mql=H("(max-width: ".concat(_[B.breakpoint],")")));var W;return"collapsed"in B?W=B.collapsed:W=B.defaultCollapsed,U.state={collapsed:W,below:!1},U}return o()(R,[{key:"componentDidMount",value:function(){var U;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(U=this.props)===null||U===void 0||U.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var U,H;(U=this===null||this===void 0?void 0:this.mql)===null||U===void 0||U.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var U=this.state.collapsed,H=this.props.collapsedWidth;return n.createElement(N.Provider,{value:{siderCollapsed:U,collapsedWidth:H}},n.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(U){return"collapsed"in U?{collapsed:U.collapsed}:null}}]),R}(n.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var P=function(j){r()(R,j);var K=c()(R);function R(){return h()(this,R),K.apply(this,arguments)}return o()(R,[{key:"render",value:function(){var U=this;return n.createElement(S.a.Consumer,null,function(H){return n.createElement(k,p()({},H,U.props))})}}]),R}(n.Component)},ZYIC:function(D,I,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(y){var p=y.coordinateSystem,v=y.get("polyline"),h=y.pipelineContext.large;function u(o,i){var r=[];if(h){var a,c=o.end-o.start;if(v){for(var n=0,l=o.start;l<o.end;l++)n+=y.getLineCoordsCount(l);a=new Float32Array(c+n*2)}else a=new Float32Array(c*4);for(var t=0,s=[],l=o.start;l<o.end;l++){var d=y.getLineCoords(l,r);v&&(a[t++]=d);for(var m=0;m<d;m++)s=p.dataToPoint(r[m],!1,s),a[t++]=s[0],a[t++]=s[1]}i.setLayout("linesPoints",a)}else for(var l=o.start;l<o.end;l++){var w=i.getItemModel(l),d=y.getLineCoords(l,r),b=[];if(v)for(var E=0;E<d;E++)b.push(p.dataToPoint(r[E]));else{b[0]=p.dataToPoint(r[0]),b[1]=p.dataToPoint(r[1]);var A=w.get("lineStyle.curveness");+A&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*A,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*A])}i.setItemLayout(l,b)}}return{progress:u}}};D.exports=f},Ze12:function(D,I,e){var g=e("ItGF"),f=e("hOwI"),y=f.buildTransformer,p="___zrEVENTSAVED",v=[];function h(a,c,n,l,t){return u(v,c,l,t,!0)&&u(a,n,v[0],v[1])}function u(a,c,n,l,t){if(c.getBoundingClientRect&&g.domSupported&&!r(c)){var s=c[p]||(c[p]={}),d=o(c,s),m=i(d,s,t);if(m)return m(a,n,l),!0}return!1}function o(a,c){var n=c.markers;if(n)return n;n=c.markers=[];for(var l=["left","right"],t=["top","bottom"],s=0;s<4;s++){var d=document.createElement("div"),m=d.style,w=s%2,b=(s>>1)%2;m.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[w]+":0",t[b]+":0",l[1-w]+":auto",t[1-b]+":auto",""].join("!important;"),a.appendChild(d),n.push(d)}return n}function i(a,c,n){for(var l=n?"invTrans":"trans",t=c[l],s=c.srcCoords,d=!0,m=[],w=[],b=0;b<4;b++){var E=a[b].getBoundingClientRect(),A=2*b,S=E.left,T=E.top;m.push(S,T),d=d&&s&&S===s[A]&&T===s[A+1],w.push(a[b].offsetLeft,a[b].offsetTop)}return d&&t?t:(c.srcCoords=m,c[l]=n?y(w,m):y(m,w))}function r(a){return a.nodeName.toUpperCase()==="CANVAS"}I.transformLocalCoord=h,I.transformCoordWithViewport=u,I.isCanvasEl=r},Znkb:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("zTMp"),v=y.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,a,c,n){this.axisPointerClass&&p.fixValue(r),v.superApply(this,"render",arguments),h(this,r,a,c,n,!0)},updateAxisPointer:function(r,a,c,n,l){h(this,r,a,c,n,!1)},remove:function(r,a){var c=this._axisPointer;c&&c.remove(a),v.superApply(this,"remove",arguments)},dispose:function(r,a){u(this,a),v.superApply(this,"dispose",arguments)}});function h(r,a,c,n,l,t){var s=v.getAxisPointerClass(r.axisPointerClass);if(!s)return;var d=p.getAxisPointerModel(a);d?(r._axisPointer||(r._axisPointer=new s)).render(a,d,n,t):u(r,n)}function u(r,a,c){var n=r._axisPointer;n&&n.dispose(a,c),r._axisPointer=null}var o=[];v.registerAxisPointerClass=function(r,a){o[r]=a},v.getAxisPointerClass=function(r){return r&&o[r]};var i=v;D.exports=i},"Znn+":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("9ama"),p=e.n(y)},ZqQs:function(D,I,e){var g=e("bYtY");function f(h){var u=h&&h.timeline;g.isArray(u)||(u=u?[u]:[]),g.each(u,function(o){if(!o)return;y(o)})}function y(h){var u=h.type,o={number:"value",time:"time"};if(o[u]&&(h.axisType=o[u],delete h.type),p(h),v(h,"controlPosition")){var i=h.controlStyle||(h.controlStyle={});v(i,"position")||(i.position=h.controlPosition),i.position==="none"&&!v(i,"show")&&(i.show=!1,delete i.position),delete h.controlPosition}g.each(h.data||[],function(r){g.isObject(r)&&!g.isArray(r)&&(!v(r,"value")&&v(r,"name")&&(r.value=r.name),p(r))})}function p(h){var u=h.itemStyle||(h.itemStyle={}),o=u.emphasis||(u.emphasis={}),i=h.label||h.label||{},r=i.normal||(i.normal={}),a={normal:1,emphasis:1};g.each(i,function(c,n){!a[n]&&!v(r,n)&&(r[n]=c)}),o.label&&!v(i,"emphasis")&&(i.emphasis=o.label,delete o.label)}function v(h,u){return h.hasOwnProperty(u)}D.exports=f},Zvw2:function(D,I,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,u,o,i){f.call(this,v,h,u),this.type=o||"value",this.position=i||"bottom",this.orient=null};y.prototype={constructor:y,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,h){return this.coordinateSystem.pointToData(v,h)[0]},toGlobalCoord:null,toLocalCoord:null},g.inherits(y,f);var p=y;D.exports=p},a7Wl:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},a9QJ:function(D,I){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,y){if(f==="world"){var p=e[y.name];if(p){var v=y.center;v[0]=p[0],v[1]=p[1]}}}D.exports=g},aCH8:function(D,I,e){(function(){var g=e("ANhw"),f=e("mmNF").utf8,y=e("BEtg"),p=e("mmNF").bin,v=function h(u,o){u.constructor==String?o&&o.encoding==="binary"?u=p.stringToBytes(u):u=f.stringToBytes(u):y(u)?u=Array.prototype.slice.call(u,0):!Array.isArray(u)&&u.constructor!==Uint8Array&&(u=u.toString());for(var i=g.bytesToWords(u),r=u.length*8,a=1732584193,c=-271733879,n=-1732584194,l=271733878,t=0;t<i.length;t++)i[t]=(i[t]<<8|i[t]>>>24)&16711935|(i[t]<<24|i[t]>>>8)&4278255360;i[r>>>5]|=128<<r%32,i[(r+64>>>9<<4)+14]=r;for(var s=h._ff,d=h._gg,m=h._hh,w=h._ii,t=0;t<i.length;t+=16){var b=a,E=c,A=n,S=l;a=s(a,c,n,l,i[t+0],7,-680876936),l=s(l,a,c,n,i[t+1],12,-389564586),n=s(n,l,a,c,i[t+2],17,606105819),c=s(c,n,l,a,i[t+3],22,-1044525330),a=s(a,c,n,l,i[t+4],7,-176418897),l=s(l,a,c,n,i[t+5],12,1200080426),n=s(n,l,a,c,i[t+6],17,-1473231341),c=s(c,n,l,a,i[t+7],22,-45705983),a=s(a,c,n,l,i[t+8],7,1770035416),l=s(l,a,c,n,i[t+9],12,-1958414417),n=s(n,l,a,c,i[t+10],17,-42063),c=s(c,n,l,a,i[t+11],22,-1990404162),a=s(a,c,n,l,i[t+12],7,1804603682),l=s(l,a,c,n,i[t+13],12,-40341101),n=s(n,l,a,c,i[t+14],17,-1502002290),c=s(c,n,l,a,i[t+15],22,1236535329),a=d(a,c,n,l,i[t+1],5,-165796510),l=d(l,a,c,n,i[t+6],9,-1069501632),n=d(n,l,a,c,i[t+11],14,643717713),c=d(c,n,l,a,i[t+0],20,-373897302),a=d(a,c,n,l,i[t+5],5,-701558691),l=d(l,a,c,n,i[t+10],9,38016083),n=d(n,l,a,c,i[t+15],14,-660478335),c=d(c,n,l,a,i[t+4],20,-405537848),a=d(a,c,n,l,i[t+9],5,568446438),l=d(l,a,c,n,i[t+14],9,-1019803690),n=d(n,l,a,c,i[t+3],14,-187363961),c=d(c,n,l,a,i[t+8],20,1163531501),a=d(a,c,n,l,i[t+13],5,-1444681467),l=d(l,a,c,n,i[t+2],9,-51403784),n=d(n,l,a,c,i[t+7],14,1735328473),c=d(c,n,l,a,i[t+12],20,-1926607734),a=m(a,c,n,l,i[t+5],4,-378558),l=m(l,a,c,n,i[t+8],11,-2022574463),n=m(n,l,a,c,i[t+11],16,1839030562),c=m(c,n,l,a,i[t+14],23,-35309556),a=m(a,c,n,l,i[t+1],4,-1530992060),l=m(l,a,c,n,i[t+4],11,1272893353),n=m(n,l,a,c,i[t+7],16,-155497632),c=m(c,n,l,a,i[t+10],23,-1094730640),a=m(a,c,n,l,i[t+13],4,681279174),l=m(l,a,c,n,i[t+0],11,-358537222),n=m(n,l,a,c,i[t+3],16,-722521979),c=m(c,n,l,a,i[t+6],23,76029189),a=m(a,c,n,l,i[t+9],4,-640364487),l=m(l,a,c,n,i[t+12],11,-421815835),n=m(n,l,a,c,i[t+15],16,530742520),c=m(c,n,l,a,i[t+2],23,-995338651),a=w(a,c,n,l,i[t+0],6,-198630844),l=w(l,a,c,n,i[t+7],10,1126891415),n=w(n,l,a,c,i[t+14],15,-1416354905),c=w(c,n,l,a,i[t+5],21,-57434055),a=w(a,c,n,l,i[t+12],6,1700485571),l=w(l,a,c,n,i[t+3],10,-1894986606),n=w(n,l,a,c,i[t+10],15,-1051523),c=w(c,n,l,a,i[t+1],21,-2054922799),a=w(a,c,n,l,i[t+8],6,1873313359),l=w(l,a,c,n,i[t+15],10,-30611744),n=w(n,l,a,c,i[t+6],15,-1560198380),c=w(c,n,l,a,i[t+13],21,1309151649),a=w(a,c,n,l,i[t+4],6,-145523070),l=w(l,a,c,n,i[t+11],10,-1120210379),n=w(n,l,a,c,i[t+2],15,718787259),c=w(c,n,l,a,i[t+9],21,-343485551),a=a+b>>>0,c=c+E>>>0,n=n+A>>>0,l=l+S>>>0}return g.endian([a,c,n,l])};v._ff=function(h,u,o,i,r,a,c){var n=h+(u&o|~u&i)+(r>>>0)+c;return(n<<a|n>>>32-a)+u},v._gg=function(h,u,o,i,r,a,c){var n=h+(u&i|o&~i)+(r>>>0)+c;return(n<<a|n>>>32-a)+u},v._hh=function(h,u,o,i,r,a,c){var n=h+(u^o^i)+(r>>>0)+c;return(n<<a|n>>>32-a)+u},v._ii=function(h,u,o,i,r,a,c){var n=h+(o^(u|~i))+(r>>>0)+c;return(n<<a|n>>>32-a)+u},v._blocksize=16,v._digestsize=16,D.exports=function(h,u){if(h==null)throw new Error("Illegal argument "+h);var o=g.wordsToBytes(v(h,u));return u&&u.asBytes?o:u&&u.asString?p.bytesToString(o):g.bytesToHex(o)}})()},aHsQ:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6D9b"),p=e.n(y)},aKvl:function(D,I,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function y(p,v,h,u,o,i,r,a,c){if(r===0)return!1;var n=r;if(c>v+n&&c>u+n&&c>i+n||c<v-n&&c<u-n&&c<i-n||a>p+n&&a>h+n&&a>o+n||a<p-n&&a<h-n&&a<o-n)return!1;var l=f(p,v,h,u,o,i,a,c,null);return l<=n/2}I.containStroke=y},aTJb:function(D,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(D,I,e){"use strict";var g=Array.isArray,f=Object.keys,y=Object.prototype.hasOwnProperty;D.exports=function p(v,h){if(v===h)return!0;if(v&&h&&typeof v=="object"&&typeof h=="object"){var u=g(v),o=g(h),i,r,a;if(u&&o){if(r=v.length,r!=h.length)return!1;for(i=r;i--!==0;)if(!p(v[i],h[i]))return!1;return!0}if(u!=o)return!1;var c=v instanceof Date,n=h instanceof Date;if(c!=n)return!1;if(c&&n)return v.getTime()==h.getTime();var l=v instanceof RegExp,t=h instanceof RegExp;if(l!=t)return!1;if(l&&t)return v.toString()==h.toString();var s=f(v);if(r=s.length,r!==f(h).length)return!1;for(i=r;i--!==0;)if(!y.call(h,s[i]))return!1;for(i=r;i--!==0;)if(a=s[i],!p(v[a],h[a]))return!1;return!0}return v!==v&&h!==h}},aX58:function(D,I,e){var g=e("3gBT"),f=e("ItGF"),y=e("bYtY"),p=e("0s+r"),v=e("r6Bn"),h=e("7SHv"),u=e("MKOG"),o=e("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 i=!f.canvasSupported,r={canvas:h},a={},c="4.3.1";function n(w,b){var E=new m(g(),w,b);return a[E.id]=E,E}function l(w){if(w)w.dispose();else{for(var b in a)a.hasOwnProperty(b)&&a[b].dispose();a={}}return this}function t(w){return a[w]}function s(w,b){r[w]=b}function d(w){delete a[w]}var m=function(b,E,A){A=A||{},this.dom=E,this.id=b;var S=this,T=new v,O=A.renderer;if(i){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");O="vml"}else(!O||!r[O])&&(O="canvas");var x=new r[O](E,T,A,b);this.storage=T,this.painter=x;var C=!f.node&&!f.worker?new o(x.getViewportRoot(),x.root):null;this.handler=new p(T,x,C,x.root),this.animation=new u({stage:{update:y.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var _=T.delFromStorage,N=T.addToStorage;T.delFromStorage=function(F){_.call(T,F),F&&F.removeSelfFromZr(S)},T.addToStorage=function(F){N.call(T,F),F.addSelfToZr(S)}};m.prototype={constructor:m,getId:function(){return this.id},add:function(b){this.storage.addRoot(b),this._needsRefresh=!0},remove:function(b){this.storage.delRoot(b),this._needsRefresh=!0},configLayer:function(b,E){this.painter.configLayer&&this.painter.configLayer(b,E),this._needsRefresh=!0},setBackgroundColor:function(b){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(b),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 b;this._needsRefresh&&(b=!0,this.refreshImmediately()),this._needsRefreshHover&&(b=!0,this.refreshHoverImmediately()),b&&this.trigger("rendered")},addHover:function(b,E){if(this.painter.addHover){var A=this.painter.addHover(b,E);return this.refreshHover(),A}},removeHover:function(b){this.painter.removeHover&&(this.painter.removeHover(b),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(b){b=b||{},this.painter.resize(b.width,b.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(b,E){return this.painter.pathToImage(b,E)},setCursorStyle:function(b){this.handler.setCursorStyle(b)},findHover:function(b,E){return this.handler.findHover(b,E)},on:function(b,E,A){this.handler.on(b,E,A)},off:function(b,E){this.handler.off(b,E)},trigger:function(b,E){this.handler.trigger(b,E)},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,d(this.id)}},I.version=c,I.init=n,I.dispose=l,I.getInstance=t,I.registerPainter=s},aX7z:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("GMDS"),v=e("ieMj"),h=e("4NgU"),u=e("OELB"),o=e("nVfU"),i=o.prepareLayoutBarSeries,r=o.makeColumnLayout,a=o.retrieveColumnLayout,c=e("mFDi");e("IWp7"),e("jCoz");function n(T,O){var x=T.type,C=O.getMin(),_=O.getMax(),N=T.getExtent(),F,k,P;x==="ordinal"?F=O.getCategories().length:(k=O.get("boundaryGap"),y.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=u.parsePercent(k[0],1),k[1]=u.parsePercent(k[1],1),P=N[1]-N[0]||Math.abs(N[0])),C==="dataMin"?C=N[0]:typeof C=="function"&&(C=C({min:N[0],max:N[1]})),_==="dataMax"?_=N[1]:typeof _=="function"&&(_=_({min:N[0],max:N[1]}));var j=C!=null,K=_!=null;C==null&&(C=x==="ordinal"?F?0:NaN:N[0]-k[0]*P),_==null&&(_=x==="ordinal"?F?F-1:NaN:N[1]+k[1]*P),(C==null||!isFinite(C))&&(C=NaN),(_==null||!isFinite(_))&&(_=NaN),T.setBlank(y.eqNaN(C)||y.eqNaN(_)||x==="ordinal"&&!T.getOrdinalMeta().categories.length),O.getNeedCrossZero()&&(C>0&&_>0&&!j&&(C=0),C<0&&_<0&&!K&&(_=0));var R=O.ecModel;if(R&&x==="time"){var B=i("bar",R),U;if(y.each(B,function(V){U|=V.getBaseAxis()===O.axis}),U){var H=r(B),W=l(C,_,O,H);C=W.min,_=W.max}}return{extent:[C,_],fixMin:j,fixMax:K}}function l(T,O,x,C){var _=x.axis.getExtent(),N=_[1]-_[0],F=a(C,x.axis);if(F===void 0)return{min:T,max:O};var k=Infinity;y.each(F,function(U){k=Math.min(U.offset,k)});var P=-Infinity;y.each(F,function(U){P=Math.max(U.offset+U.width,P)}),k=Math.abs(k),P=Math.abs(P);var j=k+P,K=O-T,R=1-(k+P)/N,B=K/R-K;return O+=B*(P/j),T-=B*(k/j),{min:T,max:O}}function t(T,O){var x=n(T,O),C=x.extent,_=O.get("splitNumber");T.type==="log"&&(T.base=O.get("logBase"));var N=T.type;T.setExtent(C[0],C[1]),T.niceExtent({splitNumber:_,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:N==="interval"||N==="time"?O.get("minInterval"):null,maxInterval:N==="interval"||N==="time"?O.get("maxInterval"):null});var F=O.get("interval");F!=null&&(T.setInterval&&T.setInterval(F))}function s(T,O){if(O=O||T.get("type"),O)switch(O){case"category":return new p(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(h.getClass(O)||v).create(T)}}function d(T){var O=T.scale.getExtent(),x=O[0],C=O[1];return!(x>0&&C>0||x<0&&C<0)}function m(T){var O=T.getLabelModel().get("formatter"),x=T.type==="category"?T.scale.getExtent()[0]:null;return typeof O=="string"?(O=function(C){return function(_){return _=T.scale.getLabel(_),C.replace("{value}",_!=null?_:"")}}(O),O):typeof O=="function"?function(C,_){return x!=null&&(_=C-x),O(w(T,C),_)}:function(C){return T.scale.getLabel(C)}}function w(T,O){return T.type==="category"?T.scale.getLabel(O):O}function b(T){var O=T.model,x=T.scale;if(!O.get("axisLabel.show")||x.isBlank())return;var C=T.type==="category",_,N,F=x.getExtent();C?N=x.count():(_=x.getTicks(),N=_.length);var k=T.getLabelModel(),P=m(T),j,K=1;N>40&&(K=Math.ceil(N/40));for(var R=0;R<N;R+=K){var B=_?_[R]:F[0]+R,U=P(B),H=k.getTextRect(U),W=E(H,k.get("rotate")||0);j?j.union(W):j=W}return j}function E(T,O){var x=O*Math.PI/180,C=T.plain(),_=C.width,N=C.height,F=_*Math.cos(x)+N*Math.sin(x),k=_*Math.sin(x)+N*Math.cos(x),P=new c(C.x,C.y,F,k);return P}function A(T){var O=T.get("interval");return O==null?"auto":O}function S(T){return T.type==="category"&&A(T.getLabelModel())===0}I.getScaleExtent=n,I.niceScaleExtent=t,I.createScaleByModel=s,I.ifAxisCrossZero=d,I.makeLabelFormatter=m,I.getAxisRawValue=w,I.estimateLabelUnionRect=b,I.getOptionCategoryInterval=A,I.shouldShowAllLabels=S},adU4:function(D,I,e){var g=e("y1pI"),f=Array.prototype,y=f.splice;function p(v){var h=this.__data__,u=g(h,v);if(u<0)return!1;var o=h.length-1;return u==o?h.pop():y.call(h,u,1),--this.size,!0}D.exports=p},"af/B":function(D,I,e){var g=e("bYtY"),f=g.each,y=g.map,p=g.isFunction,v=g.createHashMap,h=g.noop,u=e("9H2F"),o=u.createTask,i=e("iRjW"),r=i.getUID,a=e("fmMI"),c=e("hD7B"),n=e("4NO4"),l=n.normalizeToArray;function t(U,H,W,V){this.ecInstance=U,this.api=H,this.unfinished;var W=this._dataProcessorHandlers=W.slice(),V=this._visualHandlers=V.slice();this._allHandlers=W.concat(V),this._stageTaskMap=v()}var s=t.prototype;s.restoreData=function(U,H){U.restoreData(H),this._stageTaskMap.each(function(W){var V=W.overallTask;V&&V.dirty()})},s.getPerformArgs=function(U,H){if(!U.__pipeline)return;var W=this._pipelineMap.get(U.__pipeline.id),V=W.context,z=!H&&W.progressiveEnabled&&(!V||V.progressiveRender)&&U.__idxInPipeline>W.blockIndex,X=z?W.step:null,q=V&&V.modDataCount,fe=q!=null?Math.ceil(q/X):null;return{step:X,modBy:fe,modDataCount:q}},s.getPipeline=function(U){return this._pipelineMap.get(U)},s.updateStreamModes=function(U,H){var W=this._pipelineMap.get(U.uid),V=U.getData(),z=V.count(),X=W.progressiveEnabled&&H.incrementalPrepareRender&&z>=W.threshold,q=U.get("large")&&z>=U.get("largeThreshold"),fe=U.get("progressiveChunkMode")==="mod"?z:null;U.pipelineContext=W.context={progressiveRender:X,modDataCount:fe,large:q}},s.restorePipelines=function(U){var H=this,W=H._pipelineMap=v();U.eachSeries(function(V){var z=V.getProgressive(),X=V.uid;W.set(X,{id:X,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:z&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),F(H,V,V.dataTask)})},s.prepareStageTasks=function(){var U=this._stageTaskMap,H=this.ecInstance.getModel(),W=this.api;f(this._allHandlers,function(V){var z=U.get(V.uid)||U.set(V.uid,[]);V.reset&&w(this,V,z,H,W),V.overallReset&&b(this,V,z,H,W)},this)},s.prepareView=function(U,H,W,V){var z=U.renderTask,X=z.context;X.model=H,X.ecModel=W,X.api=V,z.__block=!U.incrementalPrepareRender,F(this,H,z)},s.performDataProcessorTasks=function(U,H){d(this,this._dataProcessorHandlers,U,H,{block:!0})},s.performVisualTasks=function(U,H,W){d(this,this._visualHandlers,U,H,W)};function d(U,H,W,V,z){z=z||{};var X;f(H,function(fe,G){if(z.visualType&&z.visualType!==fe.visualType)return;var ve=U._stageTaskMap.get(fe.uid),Se=ve.seriesTaskMap,ge=ve.overallTask;if(ge){var Pe,Ge=ge.agentStubMap;Ge.each(function(Te){q(z,Te)&&(Te.dirty(),Pe=!0)}),Pe&&ge.dirty(),m(ge,V);var pt=U.getPerformArgs(ge,z.block);Ge.each(function(Te){Te.perform(pt)}),X|=ge.perform(pt)}else Se&&Se.each(function(Te,xe){q(z,Te)&&Te.dirty();var lt=U.getPerformArgs(Te,z.block);lt.skip=!fe.performRawSeries&&W.isSeriesFiltered(Te.context.model),m(Te,V),X|=Te.perform(lt)})});function q(fe,G){return fe.setDirty&&(!fe.dirtyMap||fe.dirtyMap.get(G.__pipeline.id))}U.unfinished|=X}s.performSeriesTasks=function(U){var H;U.eachSeries(function(W){H|=W.dataTask.perform()}),this.unfinished|=H},s.plan=function(){this._pipelineMap.each(function(U){var H=U.tail;do{if(H.__block){U.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var m=s.updatePayload=function(U,H){H!=="remain"&&(U.context.payload=H)};function w(U,H,W,V,z){var X=W.seriesTaskMap||(W.seriesTaskMap=v()),q=H.seriesType,fe=H.getTargetSeries;H.createOnAllSeries?V.eachRawSeries(G):q?V.eachRawSeriesByType(q,G):fe&&fe(V,z).each(G);function G(Se){var ge=Se.uid,Pe=X.get(ge)||X.set(ge,o({plan:O,reset:x,count:N}));Pe.context={model:Se,ecModel:V,api:z,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:U},F(U,Se,Pe)}var ve=U._pipelineMap;X.each(function(Se,ge){ve.get(ge)||(Se.dispose(),X.removeKey(ge))})}function b(U,H,W,V,z){var X=W.overallTask=W.overallTask||o({reset:E});X.context={ecModel:V,api:z,overallReset:H.overallReset,scheduler:U};var q=X.agentStubMap=X.agentStubMap||v(),fe=H.seriesType,G=H.getTargetSeries,ve=!0,Se=H.modifyOutputEnd;fe?V.eachRawSeriesByType(fe,ge):G?G(V,z).each(ge):(ve=!1,f(V.getSeries(),ge));function ge(Ge){var pt=Ge.uid,Te=q.get(pt);Te||(Te=q.set(pt,o({reset:A,onDirty:T})),X.dirty()),Te.context={model:Ge,overallProgress:ve,modifyOutputEnd:Se},Te.agent=X,Te.__block=ve,F(U,Ge,Te)}var Pe=U._pipelineMap;q.each(function(Ge,pt){Pe.get(pt)||(Ge.dispose(),X.dirty(),q.removeKey(pt))})}function E(U){U.overallReset(U.ecModel,U.api,U.payload)}function A(U,H){return U.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function O(U){return U.plan&&U.plan(U.model,U.ecModel,U.api,U.payload)}function x(U){U.useClearVisual&&U.data.clearAllVisual();var H=U.resetDefines=l(U.reset(U.model,U.ecModel,U.api,U.payload));return H.length>1?y(H,function(W,V){return _(V)}):C}var C=_(0);function _(U){return function(H,W){var V=W.data,z=W.resetDefines[U];if(z&&z.dataEach)for(var X=H.start;X<H.end;X++)z.dataEach(V,X);else z&&z.progress&&z.progress(H,V)}}function N(U){return U.data.count()}function F(U,H,W){var V=H.uid,z=U._pipelineMap.get(V);!z.head&&(z.head=W),z.tail&&z.tail.pipe(W),z.tail=W,W.__idxInPipeline=z.count++,W.__pipeline=z}t.wrapStageHandler=function(U,H){return p(U)&&(U={overallReset:U,seriesType:k(U)}),U.uid=r("stageHandler"),H&&(U.visualType=H),U};function k(U){K=null;try{U(P,j)}catch(H){}return K}var P={},j={},K;R(P,a),R(j,c),P.eachSeriesByType=P.eachRawSeriesByType=function(U){K=U},P.eachComponent=function(U){U.mainType==="series"&&U.subType&&(K=U.subType)};function R(U,H){for(var W in H.prototype)U[W]=h}var B=t;D.exports=B},akwb:function(D,I,e){var g=e("RSch"),f=e("bYtY"),y=e("D9ME"),p=e("QBsz");function v(o,i,r){y.call(this,o,i,r),this._lastFrame=0,this._lastFramePercent=0}var h=v.prototype;h.createLine=function(o,i,r){return new g(o,i,r)},h.updateAnimationPoints=function(o,i){this._points=i;for(var r=[0],a=0,c=1;c<i.length;c++){var n=i[c-1],l=i[c];a+=p.dist(n,l),r.push(a)}if(a===0)return;for(var c=0;c<r.length;c++)r[c]/=a;this._offsets=r,this._length=a},h.getLineLength=function(o){return this._length},h.updateSymbolPosition=function(o){var i=o.__t,r=this._points,a=this._offsets,c=r.length;if(!a)return;var n=this._lastFrame,l;if(i<this._lastFramePercent){var t=Math.min(n+1,c-1);for(l=t;l>=0&&!(a[l]<=i);l--);l=Math.min(l,c-2)}else{for(var l=n;l<c&&!(a[l]>i);l++);l=Math.min(l-1,c-2)}p.lerp(o.position,r[l],r[l+1],(i-a[l])/(a[l+1]-a[l]));var s=r[l+1][0]-r[l][0],d=r[l+1][1]-r[l][1];o.rotation=-Math.atan2(d,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=i,o.ignore=!1},f.inherits(v,y);var u=v;D.exports=u},apAg:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("bsht")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="SearchOutlined";var u=y.forwardRef(h);I.default=u},as94:function(D,I,e){var g=e("7aKB"),f=e("3LNs"),y=e("IwbS"),p=e("/y7N"),v=e("Fofx"),h=e("+rIm"),u=e("Znkb"),o=f.extend({makeElOption:function(c,n,l,t,s){var d=l.axis;d.dim==="angle"&&(this.animationThreshold=Math.PI/18);var m=d.polar,w=m.getOtherAxis(d),b=w.getExtent(),E;E=d["dataTo"+g.capitalFirst(d.dim)](n);var A=t.get("type");if(A&&A!=="none"){var S=p.buildElStyle(t),T=r[A](d,m,E,b,S);T.style=S,c.graphicKey=T.type,c.pointer=T}var O=t.get("label.margin"),x=i(n,l,t,m,O);p.buildLabelElOption(c,l,t,s,x)}});function i(c,n,l,t,s){var d=n.axis,m=d.dataToCoord(c),w=t.getAngleAxis().getExtent()[0];w=w/180*Math.PI;var b=t.getRadiusAxis().getExtent(),E,A,S;if(d.dim==="radius"){var T=v.create();v.rotate(T,T,w),v.translate(T,T,[t.cx,t.cy]),E=y.applyTransform([m,-s],T);var O=n.getModel("axisLabel").get("rotate")||0,x=h.innerTextLayout(w,O*Math.PI/180,-1);A=x.textAlign,S=x.textVerticalAlign}else{var C=b[1];E=t.coordToPoint([C+s,m]);var _=t.cx,N=t.cy;A=Math.abs(E[0]-_)/C<.3?"center":E[0]>_?"left":"right",S=Math.abs(E[1]-N)/C<.3?"middle":E[1]>N?"top":"bottom"}return{position:E,align:A,verticalAlign:S}}var r={line:function(c,n,l,t,s){return c.dim==="angle"?{type:"Line",shape:p.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(c,n,l,t,s){var d=Math.max(1,c.getBandWidth()),m=Math.PI/180;return c.dim==="angle"?{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,t[0],t[1],(-l-d/2)*m,(-l+d/2)*m)}:{type:"Sector",shape:p.makeSectorShape(n.cx,n.cy,l-d/2,l+d/2,0,Math.PI*2)}}};u.registerAxisPointerClass("PolarAxisPointer",o);var a=o;D.exports=a},b56q:function(D,I,e){},b80T:function(D,I,e){var g=e("UNi/"),f=e("03A+"),y=e("Z0cm"),p=e("DSRE"),v=e("wJg7"),h=e("c6wG"),u=Object.prototype,o=u.hasOwnProperty;function i(r,a){var c=y(r),n=!c&&f(r),l=!c&&!n&&p(r),t=!c&&!n&&!l&&h(r),s=c||n||l||t,d=s?g(r.length,String):[],m=d.length;for(var w in r)(a||o.call(r,w))&&!(s&&(w=="length"||l&&(w=="offset"||w=="parent")||t&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||v(w,m)))&&d.push(w);return d}D.exports=i},b80e:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("gKaM")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="DoubleLeftOutlined";var u=y.forwardRef(h);I.default=u},b9oc:function(D,I,e){var g=e("bYtY"),f=g.each,y="\0_ec_hist_store";function p(i,r){var a=o(i);f(r,function(c,n){for(var l=a.length-1;l>=0;l--){var t=a[l];if(t[n])break}if(l<0){var s=i.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var d=s.getPercentRange();a[0][n]={dataZoomId:n,start:d[0],end:d[1]}}}}),a.push(r)}function v(i){var r=o(i),a=r[r.length-1];r.length>1&&r.pop();var c={};return f(a,function(n,l){for(var t=r.length-1;t>=0;t--){var n=r[t][l];if(n){c[l]=n;break}}}),c}function h(i){i[y]=null}function u(i){return o(i).length}function o(i){var r=i[y];return r||(r=i[y]=[{}]),r}I.push=p,I.pop=v,I.clear=h,I.count=u},bBKM:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("+rIm"),h=e("IwbS"),u=["axisLine","axisTickLabel","axisName"],o=y.extendComponentView({type:"radar",render:function(i,r,a){var c=this.group;c.removeAll(),this._buildAxes(i),this._buildSplitLineAndArea(i)},_buildAxes:function(i){var r=i.coordinateSystem,a=r.getIndicatorAxes(),c=p.map(a,function(n){var l=new v(n.model,{position:[r.cx,r.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});p.each(c,function(n){p.each(u,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(i){var r=i.coordinateSystem,a=r.getIndicatorAxes();if(!a.length)return;var c=i.get("shape"),n=i.getModel("splitLine"),l=i.getModel("splitArea"),t=n.getModel("lineStyle"),s=l.getModel("areaStyle"),d=n.get("show"),m=l.get("show"),w=t.get("color"),b=s.get("color");w=p.isArray(w)?w:[w],b=p.isArray(b)?b:[b];var E=[],A=[];function S(B,U,H){var W=H%U.length;return B[W]=B[W]||[],W}if(c==="circle")for(var T=a[0].getTicksCoords(),O=r.cx,x=r.cy,C=0;C<T.length;C++){if(d){var _=S(E,w,C);E[_].push(new h.Circle({shape:{cx:O,cy:x,r:T[C].coord}}))}if(m&&C<T.length-1){var _=S(A,b,C);A[_].push(new h.Ring({shape:{cx:O,cy:x,r0:T[C].coord,r:T[C+1].coord}}))}}else for(var N,F=p.map(a,function(B,U){var H=B.getTicksCoords();return N=N==null?H.length-1:Math.min(H.length-1,N),p.map(H,function(W){return r.coordToPoint(W.coord,U)})}),k=[],C=0;C<=N;C++){for(var P=[],j=0;j<a.length;j++)P.push(F[j][C]);if(P[0]&&P.push(P[0].slice()),d){var _=S(E,w,C);E[_].push(new h.Polyline({shape:{points:P}}))}if(m&&k){var _=S(A,b,C-1);A[_].push(new h.Polygon({shape:{points:P.concat(k)}}))}k=P.slice().reverse()}var K=t.getLineStyle(),R=s.getAreaStyle();p.each(A,function(B,U){this.group.add(h.mergePath(B,{style:p.defaults({stroke:"none",fill:b[U%b.length]},R),silent:!0}))},this),p.each(E,function(B,U){this.group.add(h.mergePath(B,{style:p.defaults({fill:"none",stroke:w[U%w.length]},K),silent:!0}))},this)}});D.exports=o},bBL8:function(D,I,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),y=e("cbJ4"),p=e("0/Rx");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(p("themeRiver"))},bE4E:function(D,I,e){},bE4q:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("RIqP"),h=e.n(v),u=e("q1tI"),o=e("TSYQ"),i=e.n(o),r=e("Zm9Q"),a=e("HQEm"),c=e.n(a),n=e("XBQK"),l=e("H84U"),t=function(k,P){var j={};for(var K in k)Object.prototype.hasOwnProperty.call(k,K)&&P.indexOf(K)<0&&(j[K]=k[K]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(k);R<K.length;R++)P.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(k,K[R])&&(j[K[R]]=k[K[R]]);return j},s=function(P){var j=P.prefixCls,K=P.separator,R=K===void 0?"/":K,B=P.children,U=P.overlay,H=P.dropdownProps,W=t(P,["prefixCls","separator","children","overlay","dropdownProps"]),V=u.useContext(l.b),z=V.getPrefixCls,X=z("breadcrumb",j),q=function(ve){return U?u.createElement(n.a,f()({overlay:U,placement:"bottomCenter"},H),u.createElement("span",{className:"".concat(X,"-overlay-link")},ve,u.createElement(c.a,null))):ve},fe;return"href"in W?fe=u.createElement("a",f()({className:"".concat(X,"-link")},W),B):fe=u.createElement("span",f()({className:"".concat(X,"-link")},W),B),fe=q(fe),B?u.createElement("span",null,fe,R&&R!==""&&u.createElement("span",{className:"".concat(X,"-separator")},R)):null};s.__ANT_BREADCRUMB_ITEM=!0;var d=s,m=function(P){var j=P.children,K=u.useContext(l.b),R=K.getPrefixCls,B=R("breadcrumb");return u.createElement("span",{className:"".concat(B,"-separator")},j||"/")};m.__ANT_BREADCRUMB_SEPARATOR=!0;var w=m,b=e("BvKs"),E=e("uaoM"),A=e("0n0R"),S=function(k,P){var j={};for(var K in k)Object.prototype.hasOwnProperty.call(k,K)&&P.indexOf(K)<0&&(j[K]=k[K]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(k);R<K.length;R++)P.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(k,K[R])&&(j[K[R]]=k[K[R]]);return j};function T(k,P){if(!k.breadcrumbName)return null;var j=Object.keys(P).join("|"),K=k.breadcrumbName.replace(new RegExp(":(".concat(j,")"),"g"),function(R,B){return P[B]||R});return K}function O(k,P,j,K){var R=j.indexOf(k)===j.length-1,B=T(k,P);return R?u.createElement("span",null,B):u.createElement("a",{href:"#/".concat(K.join("/"))},B)}var x=function(P,j){return P=(P||"").replace(/^\//,""),Object.keys(j).forEach(function(K){P=P.replace(":".concat(K),j[K])}),P},C=function(P){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",K=arguments.length>2?arguments[2]:void 0,R=h()(P),B=x(j,K);return B&&R.push(B),R},_=function(P){var j=P.prefixCls,K=P.separator,R=K===void 0?"/":K,B=P.style,U=P.className,H=P.routes,W=P.children,V=P.itemRender,z=V===void 0?O:V,X=P.params,q=X===void 0?{}:X,fe=S(P,["prefixCls","separator","style","className","routes","children","itemRender","params"]),G=u.useContext(l.b),ve=G.getPrefixCls,Se=G.direction,ge,Pe=ve("breadcrumb",j);if(H&&H.length>0){var Ge=[];ge=H.map(function(Te){var xe=x(Te.path,q);xe&&Ge.push(xe);var lt;return Te.children&&Te.children.length&&(lt=u.createElement(b.a,null,Te.children.map(function(Ie){return u.createElement(b.a.Item,{key:Ie.path||Ie.breadcrumbName},z(Ie,q,H,C(Ge,Ie.path,q)))}))),u.createElement(d,{overlay:lt,separator:R,key:xe||Te.breadcrumbName},z(Te,q,H,Ge))})}else W&&(ge=Object(r.a)(W).map(function(Te,xe){return Te&&(Object(E.a)(Te.type&&(Te.type.__ANT_BREADCRUMB_ITEM===!0||Te.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(A.a)(Te,{separator:R,key:xe}))}));var pt=i()(U,Pe,p()({},"".concat(Pe,"-rtl"),Se==="rtl"));return u.createElement("div",f()({className:pt,style:B},fe),ge)};_.Item=d,_.Separator=w;var N=_,F=I.a=N},bKJz:function(D,I,e){},bLfw:function(D,I,e){var g=e("bYtY"),f=e("Qxkt"),y=e("iRjW"),p=e("Yl7c"),v=p.enableClassManagement,h=p.parseClassType,u=e("4NO4"),o=u.makeInner,i=e("+TT/"),r=e("3hzK"),a=o(),c=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,d,m){f.call(this,t,s,d,m),this.uid=y.getUID("ec_cpt_model")},init:function(t,s,d,m){this.mergeDefaultAndTheme(t,d)},mergeDefaultAndTheme:function(t,s){var d=this.layoutMode,m=d?i.getLayoutParams(t):{},w=s.getTheme();g.merge(t,w.get(this.mainType)),g.merge(t,this.getDefaultOption()),d&&i.mergeLayoutParam(t,m,d)},mergeOption:function(t,s){g.merge(this.option,t,!0);var d=this.layoutMode;d&&i.mergeLayoutParam(this.option,t,d)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=a(this);if(!t.defaultOption){for(var s=[],d=this.constructor;d;){var m=d.prototype.defaultOption;m&&s.push(m),d=d.superClass}for(var w={},b=s.length-1;b>=0;b--)w=g.merge(w,s[b],!0);t.defaultOption=w}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(c,{registerWhenExtend:!0}),y.enableSubTypeDefaulter(c),y.enableTopologicalTravel(c,n);function n(t){var s=[];return g.each(c.getClassesByMainType(t),function(d){s=s.concat(d.prototype.dependencies||[])}),s=g.map(s,function(d){return h(d).main}),t!=="dataset"&&g.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}g.mixin(c,r);var l=c;D.exports=l},bMXI:function(D,I,e){var g=e("bYtY"),f=e("QBsz"),y=e("Fofx"),p=e("mFDi"),v=e("DN4a"),h=f.applyTransform;function u(){v.call(this)}g.mixin(u,v);function o(a){this.name=a,this.zoomLimit,v.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}o.prototype={constructor:o,type:"view",dimensions:["x","y"],setBoundingRect:function(a,c,n,l){return this._rect=new p(a,c,n,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,c,n,l){this.transformTo(a,c,n,l),this._viewRect=new p(a,c,n,l)},transformTo:function(a,c,n,l){var t=this.getBoundingRect(),s=this._rawTransformable;s.transform=t.calculateTransform(new p(a,c,n,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var c=this.zoomLimit;c&&(c.max!=null&&(a=Math.min(c.max,a)),c.min!=null&&(a=Math.max(c.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),c=a.x+a.width/2,n=a.y+a.height/2;return[c,n]},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(),c=this._roamTransformable,n=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=f.applyTransform([],l,a),n=f.applyTransform([],n,a),c.origin=l,c.position=[n[0]-l[0],n[1]-l[1]],c.scale=[t,t],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,c=this._rawTransformable;c.parent=a,a.updateTransform(),c.updateTransform(),y.copy(this.transform||(this.transform=[]),c.transform||y.create()),this._rawTransform=c.getLocalTransform(),this.invTransform=this.invTransform||[],y.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,c=this._rawTransformable;return{roamTransform:a?g.slice(a):y.create(),rawScale:g.slice(c.scale),rawPosition:g.slice(c.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,c,n){var l=c?this._rawTransform:this.transform;return n=n||[],l?h(n,a,l):f.copy(n,a)},pointToData:function(a){var c=this.invTransform;return c?h([],a,c):[a[0],a[1]]},convertToPixel:g.curry(i,"dataToPoint"),convertFromPixel:g.curry(i,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},g.mixin(o,v);function i(a,c,n,l){var t=n.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[a](l):null}var r=o;D.exports=r},bNin:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("FBjb"),p=e("Itpr"),v=p.radialCoordinate,h=e("ProS"),u=e("4mN7"),o=e("bMXI"),i=e("Ae+d"),r=e("SgGq"),a=e("xSat"),c=a.onIrrelevantElement,n=e("Tghj"),l=n.__DEV__,t=e("OELB"),s=t.parsePercent,d=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(O,x){var C=x.childPoints,_=C.length,N=x.parentPoint,F=C[0],k=C[_-1];if(_===1){O.moveTo(N[0],N[1]),O.lineTo(F[0],F[1]);return}var P=x.orient,j=P==="TB"||P==="BT"?0:1,K=1-j,R=s(x.forkPosition,1),B=[];B[j]=N[j],B[K]=N[K]+(k[K]-N[K])*R,O.moveTo(N[0],N[1]),O.lineTo(B[0],B[1]),O.moveTo(F[0],F[1]),B[j]=F[j],O.lineTo(B[0],B[1]),B[j]=k[j],O.lineTo(B[0],B[1]),O.lineTo(k[0],k[1]);for(var U=1;U<_-1;U++){var H=C[U];O.moveTo(H[0],H[1]),B[j]=H[j],O.lineTo(B[0],B[1])}}}),m=h.extendChartView({type:"tree",init:function(O,x){this._oldTree,this._mainGroup=new f.Group,this._controller=new r(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(O,x,C,_){var N=O.getData(),F=O.layoutInfo,k=this._mainGroup,P=O.get("layout");P==="radial"?k.attr("position",[F.x+F.width/2,F.y+F.height/2]):k.attr("position",[F.x,F.y]),this._updateViewCoordSys(O,F,P),this._updateController(O,x,C);var j=this._data,K={expandAndCollapse:O.get("expandAndCollapse"),layout:P,edgeShape:O.get("edgeShape"),edgeForkPosition:O.get("edgeForkPosition"),orient:O.getOrient(),curvature:O.get("lineStyle.curveness"),symbolRotate:O.get("symbolRotate"),symbolOffset:O.get("symbolOffset"),hoverAnimation:O.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};N.diff(j).add(function(R){w(N,R)&&E(N,R,null,k,O,K)}).update(function(R,B){var U=j.getItemGraphicEl(B);if(!w(N,R)){U&&S(j,B,U,k,O,K);return}E(N,R,U,k,O,K)}).remove(function(R){var B=j.getItemGraphicEl(R);B&&S(j,R,B,k,O,K)}).execute(),this._nodeScaleRatio=O.get("nodeScaleRatio"),this._updateNodeAndLinkScale(O),K.expandAndCollapse===!0&&N.eachItemGraphicEl(function(R,B){R.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:O.id,dataIndex:B})})}),this._data=N},_updateViewCoordSys:function(O){var x=O.getData(),C=[];x.each(function(j){var K=x.getItemLayout(j);K&&!isNaN(K.x)&&!isNaN(K.y)&&C.push([+K.x,+K.y])});var _=[],N=[];u.fromPoints(C,_,N);var F=this._min,k=this._max;N[0]-_[0]===0&&(_[0]=F?F[0]:_[0]-1,N[0]=k?k[0]:N[0]+1),N[1]-_[1]===0&&(_[1]=F?F[1]:_[1]-1,N[1]=k?k[1]:N[1]+1);var P=O.coordinateSystem=new o;P.zoomLimit=O.get("scaleLimit"),P.setBoundingRect(_[0],_[1],N[0]-_[0],N[1]-_[1]),P.setCenter(O.get("center")),P.setZoom(O.get("zoom")),this.group.attr({position:P.position,scale:P.scale}),this._viewCoordSys=P,this._min=_,this._max=N},_updateController:function(O,x,C){var _=this._controller,N=this._controllerHost,F=this.group;_.setPointerChecker(function(k,P,j){var K=F.getBoundingRect();return K.applyTransform(F.transform),K.contain(P,j)&&!c(k,C,O)}),_.enable(O.get("roam")),N.zoomLimit=O.get("scaleLimit"),N.zoom=O.coordinateSystem.getZoom(),_.off("pan").off("zoom").on("pan",function(k){i.updateViewOnPan(N,k.dx,k.dy),C.dispatchAction({seriesId:O.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){i.updateViewOnZoom(N,k.scale,k.originX,k.originY),C.dispatchAction({seriesId:O.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(O)},this)},_updateNodeAndLinkScale:function(O){var x=O.getData(),C=this._getNodeGlobalScale(O),_=[C,C];x.eachItemGraphicEl(function(N,F){N.attr("scale",_)})},_getNodeGlobalScale:function(O){var x=O.coordinateSystem;if(x.type!=="view")return 1;var C=this._nodeScaleRatio,_=x.scale,N=_&&_[0]||1,F=x.getZoom(),k=(F-1)*C+1;return k/N},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function w(O,x){var C=O.getItemLayout(x);return C&&!isNaN(C.x)&&!isNaN(C.y)&&O.getItemVisual(x,"symbol")!=="none"}function b(O,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"),O.isExpand===!1&&O.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function E(O,x,C,_,N,F){var k=!C,P=O.tree.getNodeByDataIndex(x),j=P.getModel(),F=b(P,j,F),K=O.tree.root,R=P.parentNode===K?P:P.parentNode||P,B=O.getItemGraphicEl(R.dataIndex),U=R.getLayout(),H=B?{x:B.position[0],y:B.position[1],rawX:B.__radialOldRawX,rawY:B.__radialOldRawY}:U,W=P.getLayout();k?(C=new y(O,x,F),C.attr("position",[H.x,H.y])):C.updateData(O,x,F),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=W.rawX,C.__radialRawY=W.rawY,_.add(C),O.setItemGraphicEl(x,C),f.updateProps(C,{position:[W.x,W.y]},N);var V=C.getSymbolPath();if(F.layout==="radial"){var z=K.children[0],X=z.getLayout(),q=z.children.length,fe,G;if(W.x===X.x&&P.isExpand===!0){var ve={};ve.x=(z.children[0].getLayout().x+z.children[q-1].getLayout().x)/2,ve.y=(z.children[0].getLayout().y+z.children[q-1].getLayout().y)/2,fe=Math.atan2(ve.y-X.y,ve.x-X.x),fe<0&&(fe=Math.PI*2+fe),G=ve.x<X.x,G&&(fe=fe-Math.PI)}else fe=Math.atan2(W.y-X.y,W.x-X.x),fe<0&&(fe=Math.PI*2+fe),P.children.length===0||P.children.length!==0&&P.isExpand===!1?(G=W.x<X.x,G&&(fe=fe-Math.PI)):(G=W.x>X.x,G||(fe=fe-Math.PI));var Se=G?"left":"right",ge=F.labelModel.get("rotate"),Pe=ge*(Math.PI/180);V.setStyle({textPosition:F.labelModel.get("position")||Se,textRotation:ge==null?-fe:Pe,textOrigin:"center",verticalAlign:"middle"})}A(N,P,K,C,H,U,W,_,F)}function A(O,x,C,_,N,F,k,P,j){var K=j.edgeShape,R=_.__edge;if(K==="curve")x.parentNode&&x.parentNode!==C&&(R||(R=_.__edge=new f.BezierCurve({shape:T(j,N,N),style:g.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(R,{shape:T(j,F,k),style:{opacity:1}},O));else if(K==="polyline"&&(j.layout==="orthogonal"&&(x!==C&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var B=x.children,U=[],H=0;H<B.length;H++){var W=B[H].getLayout();U.push([W.x,W.y])}R||(R=_.__edge=new d({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:j.orient,forkPosition:j.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},j.lineStyle)})),f.updateProps(R,{shape:{parentPoint:[k.x,k.y],childPoints:U},style:{opacity:1}},O)}P.add(R)}function S(O,x,C,_,N,F){for(var k=O.tree.getNodeByDataIndex(x),P=O.tree.root,j=k.getModel(),F=b(k,j,F),K=k.parentNode===P?k:k.parentNode||k,R=F.edgeShape,B;B=K.getLayout(),B==null;)K=K.parentNode===P?K:K.parentNode||K;f.updateProps(C,{position:[B.x+1,B.y+1]},N,function(){_.remove(C),O.setItemGraphicEl(x,null)}),C.fadeOut(null,{keepLabel:!0});var U=O.getItemGraphicEl(K.dataIndex),H=U.__edge,W=C.__edge||(K.isExpand===!1||K.children.length===1?H:void 0),R=F.edgeShape;W&&(R==="curve"?f.updateProps(W,{shape:T(F,B,B),style:{opacity:0}},N,function(){_.remove(W)}):R==="polyline"&&F.layout==="orthogonal"&&f.updateProps(W,{shape:{parentPoint:[B.x,B.y],childPoints:[[B.x,B.y]]},style:{opacity:0}},N,function(){_.remove(W)}))}function T(O,x,C){var _,N,F,k,P=O.orient,j,K,R,B;if(O.layout==="radial"){j=x.rawX,R=x.rawY,K=C.rawX,B=C.rawY;var U=v(j,R),H=v(j,R+(B-R)*O.curvature),W=v(K,B+(R-B)*O.curvature),V=v(K,B);return{x1:U.x,y1:U.y,x2:V.x,y2:V.y,cpx1:H.x,cpy1:H.y,cpx2:W.x,cpy2:W.y}}else j=x.x,R=x.y,K=C.x,B=C.y,(P==="LR"||P==="RL")&&(_=j+(K-j)*O.curvature,N=R,F=K+(j-K)*O.curvature,k=B),(P==="TB"||P==="BT")&&(_=j,N=R+(B-R)*O.curvature,F=K,k=B+(R-B)*O.curvature);return{x1:j,y1:R,x2:K,y2:B,cpx1:_,cpy1:N,cpx2:F,cpy2:k}}D.exports=m},bX4T:function(D,I,e){"use strict";e.d(I,"a",function(){return u});var g=`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`,f=`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`,y="".concat(g," ").concat(f).split(/[\s\n]+/),p="aria-",v="data-";function h(o,i){return o.indexOf(i)===0}function u(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={};return Object.keys(o).forEach(function(a){(h(a,p)||!i&&(y.includes(a)||h(a,v)))&&(r[a]=o[a])}),r}},bYtY:function(D,I){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},g={"[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},f=Object.prototype.toString,y=Array.prototype,p=y.forEach,v=y.filter,h=y.slice,u=y.map,o=y.reduce,i={};function r(Te,xe){Te==="createCanvas"&&(d=null),i[Te]=xe}function a(Te){if(Te==null||typeof Te!="object")return Te;var xe=Te,lt=f.call(Te);if(lt==="[object Array]"){if(!Se(Te)){xe=[];for(var Ie=0,de=Te.length;Ie<de;Ie++)xe[Ie]=a(Te[Ie])}}else if(g[lt]){if(!Se(Te)){var ee=Te.constructor;if(Te.constructor.from)xe=ee.from(Te);else{xe=new ee(Te.length);for(var Ie=0,de=Te.length;Ie<de;Ie++)xe[Ie]=a(Te[Ie])}}}else if(!e[lt]&&!Se(Te)&&!B(Te)){xe={};for(var se in Te)Te.hasOwnProperty(se)&&(xe[se]=a(Te[se]))}return xe}function c(Te,xe,lt){if(!j(xe)||!j(Te))return lt?a(xe):Te;for(var Ie in xe)if(xe.hasOwnProperty(Ie)){var de=Te[Ie],ee=xe[Ie];j(ee)&&j(de)&&!F(ee)&&!F(de)&&!B(ee)&&!B(de)&&!K(ee)&&!K(de)&&!Se(ee)&&!Se(de)?c(de,ee,lt):(lt||!(Ie in Te))&&(Te[Ie]=a(xe[Ie],!0))}return Te}function n(Te,xe){for(var lt=Te[0],Ie=1,de=Te.length;Ie<de;Ie++)lt=c(lt,Te[Ie],xe);return lt}function l(Te,xe){for(var lt in xe)xe.hasOwnProperty(lt)&&(Te[lt]=xe[lt]);return Te}function t(Te,xe,lt){for(var Ie in xe)xe.hasOwnProperty(Ie)&&(lt?xe[Ie]!=null:Te[Ie]==null)&&(Te[Ie]=xe[Ie]);return Te}var s=function(){return i.createCanvas()};i.createCanvas=function(){return document.createElement("canvas")};var d;function m(){return d||(d=s().getContext("2d")),d}function w(Te,xe){if(Te){if(Te.indexOf)return Te.indexOf(xe);for(var lt=0,Ie=Te.length;lt<Ie;lt++)if(Te[lt]===xe)return lt}return-1}function b(Te,xe){var lt=Te.prototype;function Ie(){}Ie.prototype=xe.prototype,Te.prototype=new Ie;for(var de in lt)lt.hasOwnProperty(de)&&(Te.prototype[de]=lt[de]);Te.prototype.constructor=Te,Te.superClass=xe}function E(Te,xe,lt){Te="prototype"in Te?Te.prototype:Te,xe="prototype"in xe?xe.prototype:xe,t(Te,xe,lt)}function A(Te){return Te?typeof Te=="string"?!1:typeof Te.length=="number":void 0}function S(Te,xe,lt){if(!(Te&&xe))return;if(Te.forEach&&Te.forEach===p)Te.forEach(xe,lt);else if(Te.length===+Te.length)for(var Ie=0,de=Te.length;Ie<de;Ie++)xe.call(lt,Te[Ie],Ie,Te);else for(var ee in Te)Te.hasOwnProperty(ee)&&xe.call(lt,Te[ee],ee,Te)}function T(Te,xe,lt){if(!(Te&&xe))return;if(Te.map&&Te.map===u)return Te.map(xe,lt);for(var Ie=[],de=0,ee=Te.length;de<ee;de++)Ie.push(xe.call(lt,Te[de],de,Te));return Ie}function O(Te,xe,lt,Ie){if(!(Te&&xe))return;if(Te.reduce&&Te.reduce===o)return Te.reduce(xe,lt,Ie);for(var de=0,ee=Te.length;de<ee;de++)lt=xe.call(Ie,lt,Te[de],de,Te);return lt}function x(Te,xe,lt){if(!(Te&&xe))return;if(Te.filter&&Te.filter===v)return Te.filter(xe,lt);for(var Ie=[],de=0,ee=Te.length;de<ee;de++)xe.call(lt,Te[de],de,Te)&&Ie.push(Te[de]);return Ie}function C(Te,xe,lt){if(!(Te&&xe))return;for(var Ie=0,de=Te.length;Ie<de;Ie++)if(xe.call(lt,Te[Ie],Ie,Te))return Te[Ie]}function _(Te,xe){var lt=h.call(arguments,2);return function(){return Te.apply(xe,lt.concat(h.call(arguments)))}}function N(Te){var xe=h.call(arguments,1);return function(){return Te.apply(this,xe.concat(h.call(arguments)))}}function F(Te){return f.call(Te)==="[object Array]"}function k(Te){return typeof Te=="function"}function P(Te){return f.call(Te)==="[object String]"}function j(Te){var xe=typeof Te;return xe==="function"||!!Te&&xe==="object"}function K(Te){return!!e[f.call(Te)]}function R(Te){return!!g[f.call(Te)]}function B(Te){return typeof Te=="object"&&typeof Te.nodeType=="number"&&typeof Te.ownerDocument=="object"}function U(Te){return Te!==Te}function H(Te){for(var xe=0,lt=arguments.length;xe<lt;xe++)if(arguments[xe]!=null)return arguments[xe]}function W(Te,xe){return Te!=null?Te:xe}function V(Te,xe,lt){return Te!=null?Te:xe!=null?xe:lt}function z(){return Function.call.apply(h,arguments)}function X(Te){if(typeof Te=="number")return[Te,Te,Te,Te];var xe=Te.length;return xe===2?[Te[0],Te[1],Te[0],Te[1]]:xe===3?[Te[0],Te[1],Te[2],Te[1]]:Te}function q(Te,xe){if(!Te)throw new Error(xe)}function fe(Te){return Te==null?null:typeof Te.trim=="function"?Te.trim():Te.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var G="__ec_primitive__";function ve(Te){Te[G]=!0}function Se(Te){return Te[G]}function ge(Te){var xe=F(Te);this.data={};var lt=this;Te instanceof ge?Te.each(Ie):Te&&S(Te,Ie);function Ie(de,ee){xe?lt.set(de,ee):lt.set(ee,de)}}ge.prototype={constructor:ge,get:function(xe){return this.data.hasOwnProperty(xe)?this.data[xe]:null},set:function(xe,lt){return this.data[xe]=lt},each:function(xe,lt){lt!==void 0&&(xe=_(xe,lt));for(var Ie in this.data)this.data.hasOwnProperty(Ie)&&xe(this.data[Ie],Ie)},removeKey:function(xe){delete this.data[xe]}};function Pe(Te){return new ge(Te)}function Ge(Te,xe){for(var lt=new Te.constructor(Te.length+xe.length),Ie=0;Ie<Te.length;Ie++)lt[Ie]=Te[Ie];var de=Te.length;for(Ie=0;Ie<xe.length;Ie++)lt[Ie+de]=xe[Ie];return lt}function pt(){}I.$override=r,I.clone=a,I.merge=c,I.mergeAll=n,I.extend=l,I.defaults=t,I.createCanvas=s,I.getContext=m,I.indexOf=w,I.inherits=b,I.mixin=E,I.isArrayLike=A,I.each=S,I.map=T,I.reduce=O,I.filter=x,I.find=C,I.bind=_,I.curry=N,I.isArray=F,I.isFunction=k,I.isString=P,I.isObject=j,I.isBuiltInObject=K,I.isTypedArray=R,I.isDom=B,I.eqNaN=U,I.retrieve=H,I.retrieve2=W,I.retrieve3=V,I.slice=z,I.normalizeCssArray=X,I.assert=q,I.trim=fe,I.setAsPrimitive=ve,I.isPrimitive=Se,I.createHashMap=Pe,I.concatArray=Ge,I.noop=pt},bZqE:function(D,I){function e(f,y,p){for(var v=[f],h=[],u;u=v.pop();)if(h.push(u),u.isExpand){var o=u.children;if(o.length)for(var i=0;i<o.length;i++)v.push(o[i])}for(;u=h.pop();)y(u,p)}function g(f,y){for(var p=[f],v;v=p.pop();)if(y(v),v.isExpand){var h=v.children;if(h.length)for(var u=h.length-1;u>=0;u--)p.push(h[u])}}I.eachAfter=e,I.eachBefore=g},bahg:function(D,I){function e(g){return g.split("")}D.exports=e},bbsP:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("CWI+"),p=e.n(y)},bogI:function(D,I,e){"use strict";e.d(I,"a",function(){return g});var g=function(y){if(!y)return null;var p=typeof y=="function";return p?y():y}},bsht:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},bx4M:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("q1tI"),h=e("TSYQ"),u=e.n(h),o=e("BGR+"),i=e("H84U"),r=function(T,O){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&O.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(T);_<C.length;_++)O.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(T,C[_])&&(x[C[_]]=T[C[_]]);return x},a=function(O){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,_=O.prefixCls,N=O.className,F=O.hoverable,k=F===void 0?!0:F,P=r(O,["prefixCls","className","hoverable"]),j=C("card",_),K=u()("".concat(j,"-grid"),N,f()({},"".concat(j,"-grid-hoverable"),k));return v.createElement("div",p()({},P,{className:K}))})},c=a,n=function(T,O){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&O.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(T);_<C.length;_++)O.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(T,C[_])&&(x[C[_]]=T[C[_]]);return x},l=function(O){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,_=O.prefixCls,N=O.className,F=O.avatar,k=O.title,P=O.description,j=n(O,["prefixCls","className","avatar","title","description"]),K=C("card",_),R=u()("".concat(K,"-meta"),N),B=F?v.createElement("div",{className:"".concat(K,"-meta-avatar")},F):null,U=k?v.createElement("div",{className:"".concat(K,"-meta-title")},k):null,H=P?v.createElement("div",{className:"".concat(K,"-meta-description")},P):null,W=U||H?v.createElement("div",{className:"".concat(K,"-meta-detail")},U,H):null;return v.createElement("div",p()({},j,{className:R}),B,W)})},t=l,s=e("ZTPi"),d=e("BMrR"),m=e("kPKH"),w=e("3Nzz"),b=function(T,O){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&O.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,C=Object.getOwnPropertySymbols(T);_<C.length;_++)O.indexOf(C[_])<0&&Object.prototype.propertyIsEnumerable.call(T,C[_])&&(x[C[_]]=T[C[_]]);return x};function E(T){var O=T.map(function(x,C){return v.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(C)},v.createElement("span",null,x))});return O}var A=function(O){var x,C,_=v.useContext(i.b),N=_.getPrefixCls,F=_.direction,k=v.useContext(w.b),P=function(Ye){O.onTabChange&&O.onTabChange(Ye)},j=function(){var Ye;return v.Children.forEach(O.children,function(et){et&&et.type&&et.type===c&&(Ye=!0)}),Ye},K=O.prefixCls,R=O.className,B=O.extra,U=O.headStyle,H=U===void 0?{}:U,W=O.bodyStyle,V=W===void 0?{}:W,z=O.title,X=O.loading,q=O.bordered,fe=q===void 0?!0:q,G=O.size,ve=O.type,Se=O.cover,ge=O.actions,Pe=O.tabList,Ge=O.children,pt=O.activeTabKey,Te=O.defaultActiveTabKey,xe=O.tabBarExtraContent,lt=O.hoverable,Ie=O.tabProps,de=Ie===void 0?{}:Ie,ee=b(O,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),se=N("card",K),ke=V.padding===0||V.padding==="0px"?{padding:24}:void 0,Ce=v.createElement("div",{className:"".concat(se,"-loading-block")}),ze=v.createElement("div",{className:"".concat(se,"-loading-content"),style:ke},v.createElement(d.a,{gutter:8},v.createElement(m.a,{span:22},Ce)),v.createElement(d.a,{gutter:8},v.createElement(m.a,{span:8},Ce),v.createElement(m.a,{span:15},Ce)),v.createElement(d.a,{gutter:8},v.createElement(m.a,{span:6},Ce),v.createElement(m.a,{span:18},Ce)),v.createElement(d.a,{gutter:8},v.createElement(m.a,{span:13},Ce),v.createElement(m.a,{span:9},Ce)),v.createElement(d.a,{gutter:8},v.createElement(m.a,{span:4},Ce),v.createElement(m.a,{span:3},Ce),v.createElement(m.a,{span:16},Ce))),_e=pt!==void 0,ae=p()(p()({},de),(x={},f()(x,_e?"activeKey":"defaultActiveKey",_e?pt:Te),f()(x,"tabBarExtraContent",xe),x)),me,Oe=Pe&&Pe.length?v.createElement(s.a,p()({size:"large"},ae,{className:"".concat(se,"-head-tabs"),onChange:P}),Pe.map(function(wt){return v.createElement(s.a.TabPane,{tab:wt.tab,disabled:wt.disabled,key:wt.key})})):null;(z||B||Oe)&&(me=v.createElement("div",{className:"".concat(se,"-head"),style:H},v.createElement("div",{className:"".concat(se,"-head-wrapper")},z&&v.createElement("div",{className:"".concat(se,"-head-title")},z),B&&v.createElement("div",{className:"".concat(se,"-extra")},B)),Oe));var Ze=Se?v.createElement("div",{className:"".concat(se,"-cover")},Se):null,vt=v.createElement("div",{className:"".concat(se,"-body"),style:V},X?ze:Ge),Ct=ge&&ge.length?v.createElement("ul",{className:"".concat(se,"-actions")},E(ge)):null,Be=Object(o.default)(ee,["onTabChange"]),Rt=G||k,He=u()(se,R,(C={},f()(C,"".concat(se,"-loading"),X),f()(C,"".concat(se,"-bordered"),fe),f()(C,"".concat(se,"-hoverable"),lt),f()(C,"".concat(se,"-contain-grid"),j()),f()(C,"".concat(se,"-contain-tabs"),Pe&&Pe.length),f()(C,"".concat(se,"-").concat(Rt),Rt),f()(C,"".concat(se,"-type-").concat(ve),!!ve),f()(C,"".concat(se,"-rtl"),F==="rtl"),C));return v.createElement("div",p()({},Be,{className:He}),me,Ze,vt,Ct)};A.Grid=c,A.Meta=t;var S=I.a=A},c2i1:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("Yl7c"),v=p.enableClassCheck;function h(n){return"_EC_"+n}var u=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},o=u.prototype;o.type="graph",o.isDirected=function(){return this._directed},o.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[h(n)])return;var s=new i(n,l);return s.hostGraph=this,this.nodes.push(s),t[h(n)]=s,s},o.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},o.getNodeById=function(n){return this._nodesMap[h(n)]},o.addEdge=function(n,l,t){var s=this._nodesMap,d=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),i.isInstance(n)||(n=s[h(n)]),i.isInstance(l)||(l=s[h(l)]),!n||!l)return;var m=n.id+"-"+l.id;if(d[m])return;var w=new r(n,l,t);return w.hostGraph=this,this._directed&&(n.outEdges.push(w),l.inEdges.push(w)),n.edges.push(w),n!==l&&l.edges.push(w),this.edges.push(w),d[m]=w,w},o.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},o.getEdge=function(n,l){i.isInstance(n)&&(n=n.id),i.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},o.eachNode=function(n,l){for(var t=this.nodes,s=t.length,d=0;d<s;d++)t[d].dataIndex>=0&&n.call(l,t[d],d)},o.eachEdge=function(n,l){for(var t=this.edges,s=t.length,d=0;d<s;d++)t[d].dataIndex>=0&&t[d].node1.dataIndex>=0&&t[d].node2.dataIndex>=0&&n.call(l,t[d],d)},o.breadthFirstTraverse=function(n,l,t,s){if(i.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var d=t==="out"?"outEdges":t==="in"?"inEdges":"edges",m=0;m<this.nodes.length;m++)this.nodes[m].__visited=!1;if(n.call(s,l,null))return;for(var w=[l];w.length;)for(var b=w.shift(),E=b[d],m=0;m<E.length;m++){var A=E[m],S=A.node1===b?A.node2:A.node1;if(!S.__visited){if(n.call(s,S,b))return;w.push(S),S.__visited=!0}}},o.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,s=this.edges,d=0,m=t.length;d<m;d++)t[d].dataIndex=-1;for(var d=0,m=n.count();d<m;d++)t[n.getRawIndex(d)].dataIndex=d;l.filterSelf(function(w){var b=s[l.getRawIndex(w)];return b.node1.dataIndex>=0&&b.node2.dataIndex>=0});for(var d=0,m=s.length;d<m;d++)s[d].dataIndex=-1;for(var d=0,m=l.count();d<m;d++)s[l.getRawIndex(d)].dataIndex=d},o.clone=function(){for(var n=new u(this._directed),l=this.nodes,t=this.edges,s=0;s<l.length;s++)n.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<t.length;s++){var d=t[s];n.addEdge(d.node1.id,d.node2.id,d.dataIndex)}return n};function i(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}i.prototype={constructor:i,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(n)}};function r(n,l,t){this.node1=n,this.node2=l,this.dataIndex=t==null?-1:t}r.prototype.getModel=function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var a=function(n,l){return{getValue:function(t){var s=this[n][l];return s.get(s.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,s){this.dataIndex>=0&&this[n][l].setItemVisual(this.dataIndex,t,s)},getVisual:function(t,s){return this[n][l].getItemVisual(this.dataIndex,t,s)},setLayout:function(t,s){this.dataIndex>=0&&this[n][l].setItemLayout(this.dataIndex,t,s)},getLayout:function(){return this[n][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][l].getRawIndex(this.dataIndex)}}};y.mixin(i,a("hostGraph","data")),y.mixin(r,a("hostGraph","edgeData")),u.Node=i,u.Edge=r,v(i),v(r);var c=u;D.exports=c},c5Ni:function(D,I,e){},c5fP:function(D,I,e){"use strict";function g(He){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Ye){return typeof Ye}:g=function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye},g(He)}Object.defineProperty(I,"__esModule",{value:!0}),I._tr_init=Ze,I._tr_stored_block=vt,I._tr_flush_block=Be,I._tr_tally=Rt,I._tr_align=Ct;var f=p(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var He=new WeakMap;return y=function(){return He},He}function p(He){if(He&&He.__esModule)return He;if(He===null||g(He)!=="object"&&typeof He!="function")return{default:He};var wt=y();if(wt&&wt.has(He))return wt.get(He);var Ye={},et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in He)if(Object.prototype.hasOwnProperty.call(He,rt)){var st=et?Object.getOwnPropertyDescriptor(He,rt):null;st&&(st.get||st.set)?Object.defineProperty(Ye,rt,st):Ye[rt]=He[rt]}return Ye.default=He,wt&&wt.set(He,Ye),Ye}var v=4,h=0,u=1,o=2;function i(He){for(var wt=He.length;--wt>=0;)He[wt]=0}var r=0,a=1,c=2,n=3,l=258,t=29,s=256,d=s+1+t,m=30,w=19,b=2*d+1,E=15,A=16,S=7,T=256,O=16,x=17,C=18,_=[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],N=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=512,j=new Array((d+2)*2);i(j);var K=new Array(m*2);i(K);var R=new Array(P);i(R);var B=new Array(l-n+1);i(B);var U=new Array(t);i(U);var H=new Array(m);i(H);function W(He,wt,Ye,et,rt){this.static_tree=He,this.extra_bits=wt,this.extra_base=Ye,this.elems=et,this.max_length=rt,this.has_stree=He&&He.length}var V,z,X;function q(He,wt){this.dyn_tree=He,this.max_code=0,this.stat_desc=wt}function fe(He){return He<256?R[He]:R[256+(He>>>7)]}function G(He,wt){He.pending_buf[He.pending++]=wt&255,He.pending_buf[He.pending++]=wt>>>8&255}function ve(He,wt,Ye){He.bi_valid>A-Ye?(He.bi_buf|=wt<<He.bi_valid&65535,G(He,He.bi_buf),He.bi_buf=wt>>A-He.bi_valid,He.bi_valid+=Ye-A):(He.bi_buf|=wt<<He.bi_valid&65535,He.bi_valid+=Ye)}function Se(He,wt,Ye){ve(He,Ye[wt*2],Ye[wt*2+1])}function ge(He,wt){var Ye=0;do Ye|=He&1,He>>>=1,Ye<<=1;while(--wt>0);return Ye>>>1}function Pe(He){He.bi_valid===16?(G(He,He.bi_buf),He.bi_buf=0,He.bi_valid=0):He.bi_valid>=8&&(He.pending_buf[He.pending++]=He.bi_buf&255,He.bi_buf>>=8,He.bi_valid-=8)}function Ge(He,wt){var Ye=wt.dyn_tree,et=wt.max_code,rt=wt.stat_desc.static_tree,st=wt.stat_desc.has_stree,Ve=wt.stat_desc.extra_bits,ie=wt.stat_desc.extra_base,$=wt.stat_desc.max_length,it,Qe,ye,Zt,dt,ct,yt=0;for(Zt=0;Zt<=E;Zt++)He.bl_count[Zt]=0;for(Ye[He.heap[He.heap_max]*2+1]=0,it=He.heap_max+1;it<b;it++){if(Qe=He.heap[it],Zt=Ye[Ye[Qe*2+1]*2+1]+1,Zt>$&&(Zt=$,yt++),Ye[Qe*2+1]=Zt,Qe>et)continue;He.bl_count[Zt]++,dt=0,Qe>=ie&&(dt=Ve[Qe-ie]),ct=Ye[Qe*2],He.opt_len+=ct*(Zt+dt),st&&(He.static_len+=ct*(rt[Qe*2+1]+dt))}if(yt===0)return;do{for(Zt=$-1;He.bl_count[Zt]===0;)Zt--;He.bl_count[Zt]--,He.bl_count[Zt+1]+=2,He.bl_count[$]--,yt-=2}while(yt>0);for(Zt=$;Zt!==0;Zt--)for(Qe=He.bl_count[Zt];Qe!==0;){if(ye=He.heap[--it],ye>et)continue;Ye[ye*2+1]!==Zt&&(He.opt_len+=(Zt-Ye[ye*2+1])*Ye[ye*2],Ye[ye*2+1]=Zt),Qe--}}function pt(He,wt,Ye){var et=new Array(E+1),rt=0,st,Ve;for(st=1;st<=E;st++)et[st]=rt=rt+Ye[st-1]<<1;for(Ve=0;Ve<=wt;Ve++){var ie=He[Ve*2+1];if(ie===0)continue;He[Ve*2]=ge(et[ie]++,ie)}}function Te(){var He,wt,Ye,et,rt,st=new Array(E+1);for(Ye=0,et=0;et<t-1;et++)for(U[et]=Ye,He=0;He<1<<_[et];He++)B[Ye++]=et;for(B[Ye-1]=et,rt=0,et=0;et<16;et++)for(H[et]=rt,He=0;He<1<<N[et];He++)R[rt++]=et;for(rt>>=7;et<m;et++)for(H[et]=rt<<7,He=0;He<1<<N[et]-7;He++)R[256+rt++]=et;for(wt=0;wt<=E;wt++)st[wt]=0;for(He=0;He<=143;)j[He*2+1]=8,He++,st[8]++;for(;He<=255;)j[He*2+1]=9,He++,st[9]++;for(;He<=279;)j[He*2+1]=7,He++,st[7]++;for(;He<=287;)j[He*2+1]=8,He++,st[8]++;for(pt(j,d+1,st),He=0;He<m;He++)K[He*2+1]=5,K[He*2]=ge(He,5);V=new W(j,_,s+1,d,E),z=new W(K,N,0,m,E),X=new W(new Array(0),F,0,w,S)}function xe(He){var wt;for(wt=0;wt<d;wt++)He.dyn_ltree[wt*2]=0;for(wt=0;wt<m;wt++)He.dyn_dtree[wt*2]=0;for(wt=0;wt<w;wt++)He.bl_tree[wt*2]=0;He.dyn_ltree[T*2]=1,He.opt_len=He.static_len=0,He.last_lit=He.matches=0}function lt(He){He.bi_valid>8?G(He,He.bi_buf):He.bi_valid>0&&(He.pending_buf[He.pending++]=He.bi_buf),He.bi_buf=0,He.bi_valid=0}function Ie(He,wt,Ye,et){lt(He),et&&(G(He,Ye),G(He,~Ye)),f.arraySet(He.pending_buf,He.window,wt,Ye,He.pending),He.pending+=Ye}function de(He,wt,Ye,et){var rt=wt*2,st=Ye*2;return He[rt]<He[st]||He[rt]===He[st]&&et[wt]<=et[Ye]}function ee(He,wt,Ye){for(var et=He.heap[Ye],rt=Ye<<1;rt<=He.heap_len&&!(rt<He.heap_len&&de(wt,He.heap[rt+1],He.heap[rt],He.depth)&&rt++,de(wt,et,He.heap[rt],He.depth));)He.heap[Ye]=He.heap[rt],Ye=rt,rt<<=1;He.heap[Ye]=et}function se(He,wt,Ye){var et,rt,st=0,Ve,ie;if(He.last_lit!==0)do et=He.pending_buf[He.d_buf+st*2]<<8|He.pending_buf[He.d_buf+st*2+1],rt=He.pending_buf[He.l_buf+st],st++,et===0?Se(He,rt,wt):(Ve=B[rt],Se(He,Ve+s+1,wt),ie=_[Ve],ie!==0&&(rt-=U[Ve],ve(He,rt,ie)),et--,Ve=fe(et),Se(He,Ve,Ye),ie=N[Ve],ie!==0&&(et-=H[Ve],ve(He,et,ie)));while(st<He.last_lit);Se(He,T,wt)}function ke(He,wt){var Ye=wt.dyn_tree,et=wt.stat_desc.static_tree,rt=wt.stat_desc.has_stree,st=wt.stat_desc.elems,Ve,ie,$=-1,it;for(He.heap_len=0,He.heap_max=b,Ve=0;Ve<st;Ve++)Ye[Ve*2]!==0?(He.heap[++He.heap_len]=$=Ve,He.depth[Ve]=0):Ye[Ve*2+1]=0;for(;He.heap_len<2;)it=He.heap[++He.heap_len]=$<2?++$:0,Ye[it*2]=1,He.depth[it]=0,He.opt_len--,rt&&(He.static_len-=et[it*2+1]);for(wt.max_code=$,Ve=He.heap_len>>1;Ve>=1;Ve--)ee(He,Ye,Ve);it=st;do Ve=He.heap[1],He.heap[1]=He.heap[He.heap_len--],ee(He,Ye,1),ie=He.heap[1],He.heap[--He.heap_max]=Ve,He.heap[--He.heap_max]=ie,Ye[it*2]=Ye[Ve*2]+Ye[ie*2],He.depth[it]=(He.depth[Ve]>=He.depth[ie]?He.depth[Ve]:He.depth[ie])+1,Ye[Ve*2+1]=Ye[ie*2+1]=it,He.heap[1]=it++,ee(He,Ye,1);while(He.heap_len>=2);He.heap[--He.heap_max]=He.heap[1],Ge(He,wt),pt(Ye,$,He.bl_count)}function Ce(He,wt,Ye){var et,rt=-1,st,Ve=wt[0*2+1],ie=0,$=7,it=4;for(Ve===0&&($=138,it=3),wt[(Ye+1)*2+1]=65535,et=0;et<=Ye;et++){if(st=Ve,Ve=wt[(et+1)*2+1],++ie<$&&st===Ve)continue;ie<it?He.bl_tree[st*2]+=ie:st!==0?(st!==rt&&He.bl_tree[st*2]++,He.bl_tree[O*2]++):ie<=10?He.bl_tree[x*2]++:He.bl_tree[C*2]++,ie=0,rt=st,Ve===0?($=138,it=3):st===Ve?($=6,it=3):($=7,it=4)}}function ze(He,wt,Ye){var et,rt=-1,st,Ve=wt[0*2+1],ie=0,$=7,it=4;for(Ve===0&&($=138,it=3),et=0;et<=Ye;et++){if(st=Ve,Ve=wt[(et+1)*2+1],++ie<$&&st===Ve)continue;if(ie<it)do Se(He,st,He.bl_tree);while(--ie!==0);else st!==0?(st!==rt&&(Se(He,st,He.bl_tree),ie--),Se(He,O,He.bl_tree),ve(He,ie-3,2)):ie<=10?(Se(He,x,He.bl_tree),ve(He,ie-3,3)):(Se(He,C,He.bl_tree),ve(He,ie-11,7));ie=0,rt=st,Ve===0?($=138,it=3):st===Ve?($=6,it=3):($=7,it=4)}}function _e(He){var wt;for(Ce(He,He.dyn_ltree,He.l_desc.max_code),Ce(He,He.dyn_dtree,He.d_desc.max_code),ke(He,He.bl_desc),wt=w-1;wt>=3&&!(He.bl_tree[k[wt]*2+1]!==0);wt--);return He.opt_len+=3*(wt+1)+5+5+4,wt}function ae(He,wt,Ye,et){var rt;for(ve(He,wt-257,5),ve(He,Ye-1,5),ve(He,et-4,4),rt=0;rt<et;rt++)ve(He,He.bl_tree[k[rt]*2+1],3);ze(He,He.dyn_ltree,wt-1),ze(He,He.dyn_dtree,Ye-1)}function me(He){var wt=4093624447,Ye;for(Ye=0;Ye<=31;Ye++,wt>>>=1)if(wt&1&&He.dyn_ltree[Ye*2]!==0)return h;if(He.dyn_ltree[9*2]!==0||He.dyn_ltree[10*2]!==0||He.dyn_ltree[13*2]!==0)return u;for(Ye=32;Ye<s;Ye++)if(He.dyn_ltree[Ye*2]!==0)return u;return h}var Oe=!1;function Ze(He){Oe||(Te(),Oe=!0),He.l_desc=new q(He.dyn_ltree,V),He.d_desc=new q(He.dyn_dtree,z),He.bl_desc=new q(He.bl_tree,X),He.bi_buf=0,He.bi_valid=0,xe(He)}function vt(He,wt,Ye,et){ve(He,(r<<1)+(et?1:0),3),Ie(He,wt,Ye,!0)}function Ct(He){ve(He,a<<1,3),Se(He,T,j),Pe(He)}function Be(He,wt,Ye,et){var rt,st,Ve=0;He.level>0?(He.strm.data_type===o&&(He.strm.data_type=me(He)),ke(He,He.l_desc),ke(He,He.d_desc),Ve=_e(He),rt=He.opt_len+3+7>>>3,st=He.static_len+3+7>>>3,st<=rt&&(rt=st)):rt=st=Ye+5,Ye+4<=rt&&wt!==-1?vt(He,wt,Ye,et):He.strategy===v||st===rt?(ve(He,(a<<1)+(et?1:0),3),se(He,j,K)):(ve(He,(c<<1)+(et?1:0),3),ae(He,He.l_desc.max_code+1,He.d_desc.max_code+1,Ve+1),se(He,He.dyn_ltree,He.dyn_dtree)),xe(He),et&<(He)}function Rt(He,wt,Ye){return He.pending_buf[He.d_buf+He.last_lit*2]=wt>>>8&255,He.pending_buf[He.d_buf+He.last_lit*2+1]=wt&255,He.pending_buf[He.l_buf+He.last_lit]=Ye&255,He.last_lit++,wt===0?He.dyn_ltree[Ye*2]++:(He.matches++,wt--,He.dyn_ltree[(B[Ye]+s+1)*2]++,He.dyn_dtree[fe(wt)*2]++),He.last_lit===He.lit_bufsize-1}},c6wG:function(D,I,e){var g=e("dD9F"),f=e("sEf8"),y=e("mdPL"),p=y&&y.isTypedArray,v=p?f(p):g;D.exports=v},c8qY:function(D,I,e){var g=e("IwbS"),f=e("fls0");function y(c){this._ctor=c||f,this.group=new g.Group}var p=y.prototype;p.isPersistent=function(){return!0},p.updateData=function(c){var n=this,l=n.group,t=n._lineData;n._lineData=c,t||l.removeAll();var s=o(c);c.diff(t).add(function(d){v(n,c,d,s)}).update(function(d,m){h(n,t,c,m,d,s)}).remove(function(d){l.remove(t.getItemGraphicEl(d))}).execute()};function v(c,n,l,t){var s=n.getItemLayout(l);if(!r(s))return;var d=new c._ctor(n,l,t);n.setItemGraphicEl(l,d),c.group.add(d)}function h(c,n,l,t,s,d){var m=n.getItemGraphicEl(t);if(!r(l.getItemLayout(s))){c.group.remove(m);return}m?m.updateData(l,s,d):m=new c._ctor(l,s,d),l.setItemGraphicEl(s,m),c.group.add(m)}p.updateLayout=function(){var c=this._lineData;if(!c)return;c.eachItemGraphicEl(function(n,l){n.updateLayout(c,l)},this)},p.incrementalPrepareUpdate=function(c){this._seriesScope=o(c),this._lineData=null,this.group.removeAll()};function u(c){return c.animators&&c.animators.length>0}p.incrementalUpdate=function(c,n){function l(m){!m.isGroup&&!u(m)&&(m.incremental=m.useHoverLayer=!0)}for(var t=c.start;t<c.end;t++){var s=n.getItemLayout(t);if(r(s)){var d=new this._ctor(n,t,this._seriesScope);d.traverse(l),this.group.add(d),n.setItemGraphicEl(t,d)}}};function o(c){var n=c.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._clearIncremental=function(){var c=this._incremental;c&&c.clearDisplaybles()};function i(c){return isNaN(c[0])||isNaN(c[1])}function r(c){return!i(c[0])&&!i(c[1])}var a=y;D.exports=a},cCMj:function(D,I,e){var g=e("bYtY"),f={updateSelectedMap:function(y){this._targetList=g.isArray(y)?y.slice():[],this._selectTargetMap=g.reduce(y||[],function(p,v){return p.set(v.name,v),p},g.createHashMap())},select:function(y,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(y),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(u){u.selected=!1}),v&&(v.selected=!0)},unSelect:function(y,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(y);v&&(v.selected=!1)},toggleSelected:function(y,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(y);if(v!=null)return this[v.selected?"unSelect":"select"](y,p),v.selected},isSelected:function(y,p){var v=p!=null?this._targetList[p]:this._selectTargetMap.get(y);return v&&v.selected}};D.exports=f},cVA7:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("MT78"),f=v(g),y=e("t3Fx"),p=v(y);function v(r){return r&&r.__esModule?r:{default:r}}function h(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function u(r,a){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:r}function o(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);r.prototype=Object.create(a&&a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(r,a):r.__proto__=a)}var i=function(r){o(a,r);function a(c){h(this,a);var n=u(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,c));return n.echartsLib=f.default,n}return a}(p.default);I.default=i},cWXX:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("oIFs"),p=e.n(y)},ca2m:function(D,I,e){var g=e("bYtY"),f={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)"]}}},y={};y.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),y.valueAxis=g.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),y.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},y.valueAxis),y.logAxis=g.defaults({scale:!0,logBase:10},y.valueAxis);var p=y;D.exports=p},cbJ4:function(D,I,e){var g=e("bYtY"),f=g.createHashMap;function y(p){p.eachSeriesByType("themeRiver",function(v){var h=v.getData(),u=v.getRawData(),o=v.get("color"),i=f();h.each(function(r){i.set(h.getRawIndex(r),r)}),u.each(function(r){var a=u.getName(r),c=o[(v.nameMap.get(a)-1)%o.length];u.setItemVisual(r,"color",c);var n=i.get(r);n!=null&&h.setItemVisual(n,"color",c)})})}D.exports=y},chpo:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=1,f=function(){return"".concat(g++)};I.default=f},cpOr:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("T4UG"),p=e("YXkt"),v=e("bYtY"),h=v.concatArray,u=v.mergeAll,o=v.map,i=e("7aKB"),r=i.encodeHTML,a=e("IDmD"),c=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(d){var m=d.data;m&&m[0]&&m[0][0]&&m[0][0].coord&&(d.data=o(m,function(w){var b=[w[0].coord,w[1].coord],E={coords:b};return w[0].name&&(E.fromName=w[0].name),w[1].name&&(E.toName=w[1].name),u([E,w[0],w[1]])}))}var t=y.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(d){d.data=d.data||[],l(d);var m=this._processFlatCoordsArray(d.data);this._flatCoords=m.flatCoords,this._flatCoordsOffset=m.flatCoordsOffset,m.flatCoords&&(d.data=new Float32Array(m.count)),t.superApply(this,"init",arguments)},mergeOption:function(d){if(d.data=d.data||[],l(d),d.data){var m=this._processFlatCoordsArray(d.data);this._flatCoords=m.flatCoords,this._flatCoordsOffset=m.flatCoordsOffset,m.flatCoords&&(d.data=new Float32Array(m.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(d){var m=this._processFlatCoordsArray(d.data);m.flatCoords&&(this._flatCoords?(this._flatCoords=h(this._flatCoords,m.flatCoords),this._flatCoordsOffset=h(this._flatCoordsOffset,m.flatCoordsOffset)):(this._flatCoords=m.flatCoords,this._flatCoordsOffset=m.flatCoordsOffset),d.data=new Float32Array(m.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var m=this.getData().getItemModel(d),w=m.option instanceof Array?m.option:m.getShallow("coords");return w},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,m){if(this._flatCoordsOffset){for(var w=this._flatCoordsOffset[d*2],b=this._flatCoordsOffset[d*2+1],E=0;E<b;E++)m[E]=m[E]||[],m[E][0]=this._flatCoords[w+E*2],m[E][1]=this._flatCoords[w+E*2+1];return b}else{for(var A=this._getCoordsFromItemModel(d),E=0;E<A.length;E++)m[E]=m[E]||[],m[E][0]=A[E][0],m[E][1]=A[E][1];return A.length}},_processFlatCoordsArray:function(d){var m=0;if(this._flatCoords&&(m=this._flatCoords.length),typeof d[0]=="number"){for(var w=d.length,b=new c(w),E=new n(w),A=0,S=0,T=0,O=0;O<w;){T++;var x=d[O++];b[S++]=A+m,b[S++]=x;for(var C=0;C<x;C++){var _=d[O++],N=d[O++];E[A++]=_,E[A++]=N,O>w}}return{flatCoordsOffset:new Uint32Array(b.buffer,0,S),flatCoords:E,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:d.length}},getInitialData:function(d,m){var w=new p(["value"],this);return w.hasItemOption=!1,w.initData(d.data,[],function(b,E,A,S){if(b instanceof Array)return NaN;w.hasItemOption=!0;var T=b.value;if(T!=null)return T instanceof Array?T[S]:T}),w},formatTooltip:function(d){var m=this.getData(),w=m.getItemModel(d),b=w.get("name");if(b)return b;var E=w.get("fromName"),A=w.get("toName"),S=[];return E!=null&&S.push(E),A!=null&&S.push(A),r(S.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var d=this.option.progressive;return d==null?this.option.large?1e4:this.get("progressive"):d},getProgressiveThreshold:function(){var d=this.option.progressiveThreshold;return d==null?this.option.large?2e4:this.get("progressiveThreshold"):d},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=t;D.exports=s},crZl:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),p=e("7aKB"),v=e("+TT/"),h=e("XxSj"),u=g.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(o,i){this.ecModel=o,this.api=i,this.visualMapModel},render:function(o,i,r,a){if(this.visualMapModel=o,o.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(o){var i=this.visualMapModel,r=p.normalizeCssArray(i.get("padding")||0),a=o.getBoundingRect();o.add(new y.Rect({z2:-1,silent:!0,shape:{x:a.x-r[3],y:a.y-r[0],width:a.width+r[3]+r[1],height:a.height+r[0]+r[2]},style:{fill:i.get("backgroundColor"),stroke:i.get("borderColor"),lineWidth:i.get("borderWidth")}}))},getControllerVisual:function(o,i,r){r=r||{};var a=r.forceState,c=this.visualMapModel,n={};if(i==="symbol"&&(n.symbol=c.get("itemSymbol")),i==="color"){var l=c.get("contentColor");n.color=l}function t(w){return n[w]}function s(w,b){n[w]=b}var d=c.controllerVisuals[a||c.getValueState(o)],m=h.prepareVisualTypes(d);return f.each(m,function(w){var b=d[w];r.convertOpacityToAlpha&&w==="opacity"&&(w="colorAlpha",b=d.__alphaForOpacity),h.dependsOn(w,i)&&(b&&b.applyVisual(o,t,s))}),n[i]},positionGroup:function(o){var i=this.visualMapModel,r=this.api;v.positionElement(o,i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:f.noop});D.exports=u},czTT:function(D,I,e){},d4KN:function(D,I,e){var g=e("ProS"),f=e("bYtY");function y(p,v){f.each(v,function(h){h.update="updateView",g.registerAction(h,function(u,o){var i={};return o.eachComponent({mainType:"series",subType:p,query:u},function(r){r[h.method]&&r[h.method](u.name,u.dataIndex);var a=r.getData();a.each(function(c){var n=a.getName(c);i[n]=r.isSelected(n)||!1})}),{name:u.name,selected:i,seriesId:u.seriesId}})})}D.exports=y},dBmv:function(D,I,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),g.registerPreprocessor(f)},dD9F:function(D,I,e){var g=e("NykK"),f=e("shjB"),y=e("ExA7"),p="[object Arguments]",v="[object Array]",h="[object Boolean]",u="[object Date]",o="[object Error]",i="[object Function]",r="[object Map]",a="[object Number]",c="[object Object]",n="[object RegExp]",l="[object Set]",t="[object String]",s="[object WeakMap]",d="[object ArrayBuffer]",m="[object DataView]",w="[object Float32Array]",b="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",O="[object Uint8ClampedArray]",x="[object Uint16Array]",C="[object Uint32Array]",_={};_[w]=_[b]=_[E]=_[A]=_[S]=_[T]=_[O]=_[x]=_[C]=!0,_[p]=_[v]=_[d]=_[h]=_[m]=_[u]=_[o]=_[i]=_[r]=_[a]=_[c]=_[n]=_[l]=_[t]=_[s]=!1;function N(F){return y(F)&&f(F.length)&&!!_[g(F)]}D.exports=N},"dF/Y":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="DownloadOutlined";var h=I.a=g.forwardRef(v)},dMvE:function(D,I){var e={linear:function(y){return y},quadraticIn:function(y){return y*y},quadraticOut:function(y){return y*(2-y)},quadraticInOut:function(y){return(y*=2)<1?.5*y*y:-.5*(--y*(y-2)-1)},cubicIn:function(y){return y*y*y},cubicOut:function(y){return--y*y*y+1},cubicInOut:function(y){return(y*=2)<1?.5*y*y*y:.5*((y-=2)*y*y+2)},quarticIn:function(y){return y*y*y*y},quarticOut:function(y){return 1- --y*y*y*y},quarticInOut:function(y){return(y*=2)<1?.5*y*y*y*y:-.5*((y-=2)*y*y*y-2)},quinticIn:function(y){return y*y*y*y*y},quinticOut:function(y){return--y*y*y*y*y+1},quinticInOut:function(y){return(y*=2)<1?.5*y*y*y*y*y:.5*((y-=2)*y*y*y*y+2)},sinusoidalIn:function(y){return 1-Math.cos(y*Math.PI/2)},sinusoidalOut:function(y){return Math.sin(y*Math.PI/2)},sinusoidalInOut:function(y){return .5*(1-Math.cos(Math.PI*y))},exponentialIn:function(y){return y===0?0:Math.pow(1024,y-1)},exponentialOut:function(y){return y===1?1:1-Math.pow(2,-10*y)},exponentialInOut:function(y){return y===0?0:y===1?1:(y*=2)<1?.5*Math.pow(1024,y-1):.5*(-Math.pow(2,-10*(y-1))+2)},circularIn:function(y){return 1-Math.sqrt(1-y*y)},circularOut:function(y){return Math.sqrt(1- --y*y)},circularInOut:function(y){return(y*=2)<1?-.5*(Math.sqrt(1-y*y)-1):.5*(Math.sqrt(1-(y-=2)*y)+1)},elasticIn:function(y){var p,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,p=h/4):p=h*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(y-=1))*Math.sin((y-p)*(2*Math.PI)/h)))},elasticOut:function(y){var p,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,p=h/4):p=h*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*y)*Math.sin((y-p)*(2*Math.PI)/h)+1)},elasticInOut:function(y){var p,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,p=h/4):p=h*Math.asin(1/v)/(2*Math.PI),(y*=2)<1?-.5*(v*Math.pow(2,10*(y-=1))*Math.sin((y-p)*(2*Math.PI)/h)):v*Math.pow(2,-10*(y-=1))*Math.sin((y-p)*(2*Math.PI)/h)*.5+1)},backIn:function(y){var p=1.70158;return y*y*((p+1)*y-p)},backOut:function(y){var p=1.70158;return--y*y*((p+1)*y+p)+1},backInOut:function(y){var p=1.70158*1.525;return(y*=2)<1?.5*(y*y*((p+1)*y-p)):.5*((y-=2)*y*((p+1)*y+p)+2)},bounceIn:function(y){return 1-e.bounceOut(1-y)},bounceOut:function(y){return y<1/2.75?7.5625*y*y:y<2/2.75?7.5625*(y-=1.5/2.75)*y+.75:y<2.5/2.75?7.5625*(y-=2.25/2.75)*y+.9375:7.5625*(y-=2.625/2.75)*y+.984375},bounceInOut:function(y){return y<.5?e.bounceIn(y*2)*.5:e.bounceOut(y*2-1)*.5+.5}},g=e;D.exports=g},diRs:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),p=e.n(y),v=e("3S7+"),h=e("H84U"),u=e("bogI"),o=function(r,a){var c={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&a.indexOf(n)<0&&(c[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(r);l<n.length;l++)a.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(r,n[l])&&(c[n[l]]=r[n[l]]);return c},i=y.forwardRef(function(r,a){var c=r.prefixCls,n=r.title,l=r.content,t=o(r,["prefixCls","title","content"]),s=y.useContext(h.b),d=s.getPrefixCls,m=function(E){return y.createElement(y.Fragment,null,n&&y.createElement("div",{className:"".concat(E,"-title")},Object(u.a)(n)),y.createElement("div",{className:"".concat(E,"-inner-content")},Object(u.a)(l)))},w=d("popover",c);return y.createElement(v.a,f()({},t,{prefixCls:w,ref:a,overlay:m(w)}))});i.displayName="Popover",i.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},I.a=i},digP:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:function(y,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:y}}]}},name:"file",theme:"twotone"};I.default=g},dmGj:function(D,I,e){var g=e("DEFe"),f=e("ProS"),y=f.extendComponentView({type:"geo",init:function(p,v){var h=new g(v,!0);this._mapDraw=h,this.group.add(h.group)},render:function(p,v,h,u){if(u&&u.type==="geoToggleSelect"&&u.from===this.uid)return;var o=this._mapDraw;p.get("show")?o.draw(p,v,h,this,u):this._mapDraw.group.removeAll(),this.group.silent=p.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});D.exports=y},dnwI:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("YH21"),p=e("Kagy"),v=e("IUWy"),h=p.toolbox.dataView,u=new Array(60).join("-"),o=" ";function i(A){var S={},T=[],O=[];return A.eachRawSeries(function(x){var C=x.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var _=C.getBaseAxis();if(_.type==="category"){var N=_.dim+"_"+_.index;S[N]||(S[N]={categoryAxis:_,valueAxis:C.getOtherAxis(_),series:[]},O.push({axisDim:_.dim,axisIndex:_.index})),S[N].series.push(x)}else T.push(x)}else T.push(x)}),{seriesGroupByCategoryAxis:S,other:T,meta:O}}function r(A){var S=[];return f.each(A,function(T,O){var x=T.categoryAxis,C=T.valueAxis,_=C.dim,N=[" "].concat(f.map(T.series,function(R){return R.name})),F=[x.model.getCategories()];f.each(T.series,function(R){F.push(R.getRawData().mapArray(_,function(B){return B}))});for(var k=[N.join(o)],P=0;P<F[0].length;P++){for(var j=[],K=0;K<F.length;K++)j.push(F[K][P]);k.push(j.join(o))}S.push(k.join(`
|
|
|
`))}),S.join(`
|
|
|
|
|
|
`+u+`
|
|
|
|
|
|
`)}function a(A){return f.map(A,function(S){var T=S.getRawData(),O=[S.name],x=[];return T.each(T.dimensions,function(){for(var C=arguments.length,_=arguments[C-1],N=T.getName(_),F=0;F<C-1;F++)x[F]=arguments[F];O.push((N?N+o:"")+x.join(o))}),O.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+u+`
|
|
|
|
|
|
`)}function c(A){var S=i(A);return{value:f.filter([r(S.seriesGroupByCategoryAxis),a(S.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+u+`
|
|
|
|
|
|
`),meta:S.meta}}function n(A){return A.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(A){var S=A.slice(0,A.indexOf(`
|
|
|
`));if(S.indexOf(o)>=0)return!0}var t=new RegExp("["+o+"]+","g");function s(A){for(var S=A.split(/\n+/g),T=n(S.shift()).split(t),O=[],x=f.map(T,function(F){return{name:F,data:[]}}),C=0;C<S.length;C++){var _=n(S[C]).split(t);O.push(_.shift());for(var N=0;N<_.length;N++)x[N]&&(x[N].data[C]=_[N])}return{series:x,categories:O}}function d(A){for(var S=A.split(/\n+/g),T=n(S.shift()),O=[],x=0;x<S.length;x++){var C=n(S[x]).split(t),_="",N,F=!1;isNaN(C[0])?(F=!0,_=C[0],C=C.slice(1),O[x]={name:_,value:[]},N=O[x].value):N=O[x]=[];for(var k=0;k<C.length;k++)N.push(+C[k]);N.length===1&&(F?O[x].value=N[0]:O[x]=N[0])}return{name:T,data:O}}function m(A,S){var T=A.split(new RegExp(`
|
|
|
*`+u+`
|
|
|
*`,"g")),O={series:[]};return f.each(T,function(x,C){if(l(x)){var _=s(x),N=S[C],F=N.axisDim+"Axis";N&&(O[F]=O[F]||[],O[F][N.axisIndex]={data:_.categories},O.series=O.series.concat(_.series))}else{var _=d(x);O.series.push(_)}}),O}function w(A){this._dom=null,this.model=A}w.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:f.clone(h.title),lang:f.clone(h.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},w.prototype.onclick=function(A,S){var T=S.getDom(),O=this.model;this._dom&&T.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=O.get("backgroundColor")||"#fff";var C=document.createElement("h4"),_=O.get("lang")||[];C.innerHTML=_[0]||O.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=O.get("textColor");var N=document.createElement("div"),F=document.createElement("textarea");N.style.cssText="display:block;width:100%;overflow:auto;";var k=O.get("optionToContent"),P=O.get("contentToOption"),j=c(A);if(typeof k=="function"){var K=k(S.getOption());typeof K=="string"?N.innerHTML=K:f.isDom(K)&&N.appendChild(K)}else N.appendChild(F),F.readOnly=O.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=O.get("textColor"),F.style.borderColor=O.get("textareaBorderColor"),F.style.backgroundColor=O.get("textareaColor"),F.value=j.value;var R=j.meta,B=document.createElement("div");B.style.cssText="position:absolute;bottom:0;left:0;right:0;";var U="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),W=document.createElement("div");U+=";background-color:"+O.get("buttonColor"),U+=";color:"+O.get("buttonTextColor");var V=this;function z(){T.removeChild(x),V._dom=null}y.addEventListener(H,"click",z),y.addEventListener(W,"click",function(){var X;try{typeof P=="function"?X=P(N,S.getOption()):X=m(F.value,R)}catch(q){throw z(),new Error("Data view format error "+q)}X&&S.dispatchAction({type:"changeDataView",newOption:X}),z()}),H.innerHTML=_[1],W.innerHTML=_[2],W.style.cssText=U,H.style.cssText=U,!O.get("readOnly")&&B.appendChild(W),B.appendChild(H),x.appendChild(C),x.appendChild(N),x.appendChild(B),N.style.height=T.clientHeight-80+"px",T.appendChild(x),this._dom=x},w.prototype.remove=function(A,S){this._dom&&S.getDom().removeChild(this._dom)},w.prototype.dispose=function(A,S){this.remove(A,S)};function b(A,S){return f.map(A,function(T,O){var x=S&&S[O];return f.isObject(x)&&!f.isArray(x)?(f.isObject(T)&&!f.isArray(T)&&(T=T.value),f.defaults({value:T},x)):T})}v.register("dataView",w),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(A,S){var T=[];f.each(A.newOption.series,function(O){var x=S.getSeriesByName(O.name)[0];if(!x)T.push(f.extend({type:"scatter"},O));else{var C=x.get("data");T.push({name:O.name,data:b(O.data,C)})}}),S.mergeOption(f.defaults({series:T},A.newOption))});var E=w;D.exports=E},dqUG:function(D,I,e){var g=e("Gev7"),f=e("bYtY"),y=e("6GrX"),p=e("pzxd"),v=e("gut8"),h=v.ContextCachedBy,u=function(r){g.call(this,r)};u.prototype={constructor:u,type:"text",brush:function(r,a){var c=this.style;this.__dirty&&p.normalizeTextStyle(c,!0),c.fill=c.stroke=c.shadowBlur=c.shadowColor=c.shadowOffsetX=c.shadowOffsetY=null;var n=c.text;if(n!=null&&(n+=""),!p.needDrawText(n,c)){r.__attrCachedBy=h.NONE;return}this.setTransform(r),p.renderText(this,r,n,c,null,a),this.restoreTransform(r)},getBoundingRect:function(){var r=this.style;if(this.__dirty&&p.normalizeTextStyle(r,!0),!this._rect){var a=r.text;a!=null?a+="":a="";var c=y.getBoundingRect(r.text+"",r.font,r.textAlign,r.textVerticalAlign,r.textPadding,r.textLineHeight,r.rich);if(c.x+=r.x||0,c.y+=r.y||0,p.getStroke(r.textStroke,r.textStrokeWidth)){var n=r.textStrokeWidth;c.x-=n/2,c.y-=n/2,c.width+=n,c.height+=n}this._rect=c}return this._rect}},f.inherits(u,g);var o=u;D.exports=o},dt0z:function(D,I,e){var g=e("zoYe");function f(y){return y==null?"":g(y)}D.exports=f},e4Nc:function(D,I,e){var g=e("fGT3"),f=e("k+1r"),y=e("JHgL"),p=e("pSRY"),v=e("H8j4");function h(u){var o=-1,i=u==null?0:u.length;for(this.clear();++o<i;){var r=u[o];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=p,h.prototype.set=v,D.exports=h},e5VY:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("YNAk"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},e5cp:function(D,I,e){var g=e("fmRc"),f=e("or5M"),y=e("HDyB"),p=e("seXi"),v=e("QqLw"),h=e("Z0cm"),u=e("DSRE"),o=e("c6wG"),i=1,r="[object Arguments]",a="[object Array]",c="[object Object]",n=Object.prototype,l=n.hasOwnProperty;function t(s,d,m,w,b,E){var A=h(s),S=h(d),T=A?a:v(s),O=S?a:v(d);T=T==r?c:T,O=O==r?c:O;var x=T==c,C=O==c,_=T==O;if(_&&u(s)){if(!u(d))return!1;A=!0,x=!1}if(_&&!x)return E||(E=new g),A||o(s)?f(s,d,m,w,b,E):y(s,d,T,m,w,b,E);if(!(m&i)){var N=x&&l.call(s,"__wrapped__"),F=C&&l.call(d,"__wrapped__");if(N||F){var k=N?s.value():s,P=F?d.value():d;return E||(E=new g),b(k,P,m,w,E)}}return _?(E||(E=new g),p(s,d,m,w,b,E)):!1}D.exports=t},eIcI:function(D,I,e){var g=e("bYtY"),f=e("hM6l");function y(v,h,u){f.call(this,v,h,u),this.type="value",this.angle=0,this.name="",this.model}g.inherits(y,f);var p=y;D.exports=p},eJH7:function(D,I,e){var g=e("bYtY");function f(y){var p=y.polar;if(p){g.isArray(p)||(p=[p]);var v=[];g.each(p,function(h,u){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),y.radar=y.radar||[],g.isArray(y.radar)||(y.radar=[y.radar]),y.radar.push(h)):v.push(h)}),y.polar=v}g.each(y.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}D.exports=f},eP3c:function(D,I,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function($){return typeof $}:g=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},g(Ve)}Object.defineProperty(I,"__esModule",{value:!0}),I.inflateReset=ae,I.inflateReset2=me,I.inflateResetKeep=_e,I.inflateInit=Ze,I.inflateInit2=Oe,I.inflate=wt,I.inflateEnd=Ye,I.inflateGetHeader=et,I.inflateSetDictionary=rt,I.inflateInfo=I.Z_DEFLATED=I.Z_BUF_ERROR=I.Z_MEM_ERROR=I.Z_DATA_ERROR=I.Z_STREAM_ERROR=I.Z_NEED_DICT=I.Z_STREAM_END=I.Z_OK=I.Z_TREES=I.Z_BLOCK=I.Z_FINISH=void 0;var f=i(e("6BzB")),y=u(e("xlC8")),p=u(e("QV2g")),v=u(e("sjKO")),h=u(e("JSwD"));function u(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function o(){if(typeof WeakMap!="function")return null;var Ve=new WeakMap;return o=function(){return Ve},Ve}function i(Ve){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||g(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var ie=o();if(ie&&ie.has(Ve))return ie.get(Ve);var $={},it=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qe in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Qe)){var ye=it?Object.getOwnPropertyDescriptor(Ve,Qe):null;ye&&(ye.get||ye.set)?Object.defineProperty($,Qe,ye):$[Qe]=Ve[Qe]}return $.default=Ve,ie&&ie.set(Ve,$),$}var r=0,a=1,c=2,n=4;I.Z_FINISH=n;var l=5;I.Z_BLOCK=l;var t=6;I.Z_TREES=t;var s=0;I.Z_OK=s;var d=1;I.Z_STREAM_END=d;var m=2;I.Z_NEED_DICT=m;var w=-2;I.Z_STREAM_ERROR=w;var b=-3;I.Z_DATA_ERROR=b;var E=-4;I.Z_MEM_ERROR=E;var A=-5;I.Z_BUF_ERROR=A;var S=8;I.Z_DEFLATED=S;var T=1,O=2,x=3,C=4,_=5,N=6,F=7,k=8,P=9,j=10,K=11,R=12,B=13,U=14,H=15,W=16,V=17,z=18,X=19,q=20,fe=21,G=22,ve=23,Se=24,ge=25,Pe=26,Ge=27,pt=28,Te=29,xe=30,lt=31,Ie=32,de=852,ee=592,se=15,ke=se;function Ce(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function ze(){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 f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _e(Ve){var ie;return!Ve||!Ve.state?w:(ie=Ve.state,Ve.total_in=Ve.total_out=ie.total=0,Ve.msg="",ie.wrap&&(Ve.adler=ie.wrap&1),ie.mode=T,ie.last=0,ie.havedict=0,ie.dmax=32768,ie.head=null,ie.hold=0,ie.bits=0,ie.lencode=ie.lendyn=new f.Buf32(de),ie.distcode=ie.distdyn=new f.Buf32(ee),ie.sane=1,ie.back=-1,s)}function ae(Ve){var ie;return!Ve||!Ve.state?w:(ie=Ve.state,ie.wsize=0,ie.whave=0,ie.wnext=0,_e(Ve))}function me(Ve,ie){var $,it;return!Ve||!Ve.state?w:(it=Ve.state,ie<0?($=0,ie=-ie):($=(ie>>4)+1,ie<48&&(ie&=15)),ie&&(ie<8||ie>15)?w:(it.window!==null&&it.wbits!==ie&&(it.window=null),it.wrap=$,it.wbits=ie,ae(Ve)))}function Oe(Ve,ie){var $,it;return Ve?(it=new ze,Ve.state=it,it.window=null,$=me(Ve,ie),$!==s&&(Ve.state=null),$):w}function Ze(Ve){return Oe(Ve,ke)}var vt=!0,Ct,Be;function Rt(Ve){if(vt){var ie;for(Ct=new f.Buf32(512),Be=new f.Buf32(32),ie=0;ie<144;)Ve.lens[ie++]=8;for(;ie<256;)Ve.lens[ie++]=9;for(;ie<280;)Ve.lens[ie++]=7;for(;ie<288;)Ve.lens[ie++]=8;for((0,h.default)(a,Ve.lens,0,288,Ct,0,Ve.work,{bits:9}),ie=0;ie<32;)Ve.lens[ie++]=5;(0,h.default)(c,Ve.lens,0,32,Be,0,Ve.work,{bits:5}),vt=!1}Ve.lencode=Ct,Ve.lenbits=9,Ve.distcode=Be,Ve.distbits=5}function He(Ve,ie,$,it){var Qe,ye=Ve.state;return ye.window===null&&(ye.wsize=1<<ye.wbits,ye.wnext=0,ye.whave=0,ye.window=new f.Buf8(ye.wsize)),it>=ye.wsize?(f.arraySet(ye.window,ie,$-ye.wsize,ye.wsize,0),ye.wnext=0,ye.whave=ye.wsize):(Qe=ye.wsize-ye.wnext,Qe>it&&(Qe=it),f.arraySet(ye.window,ie,$-it,Qe,ye.wnext),it-=Qe,it?(f.arraySet(ye.window,ie,$-it,it,0),ye.wnext=it,ye.whave=ye.wsize):(ye.wnext+=Qe,ye.wnext===ye.wsize&&(ye.wnext=0),ye.whave<ye.wsize&&(ye.whave+=Qe))),0}function wt(Ve,ie){var $,it,Qe,ye,Zt,dt,ct,yt,It,or,Bt,Ae,pe,he,le=0,Ne,je,Ke,Xe,Fe,nt,At,_t,ne=new f.Buf8(4),ue,Y,te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ve||!Ve.state||!Ve.output||!Ve.input&&Ve.avail_in!==0)return w;$=Ve.state,$.mode===R&&($.mode=B),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ye=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=$.hold,It=$.bits,or=dt,Bt=ct,_t=s;e:for(;;)switch($.mode){case T:if($.wrap===0){$.mode=B;break}for(;It<16;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if($.wrap&2&&yt===35615){$.check=0,ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,p.default)($.check,ne,2,0),yt=0,It=0,$.mode=O;break}if($.flags=0,$.head&&($.head.done=!1),!($.wrap&1)||(((yt&255)<<8)+(yt>>8))%31){Ve.msg="incorrect header check",$.mode=xe;break}if((yt&15)!==S){Ve.msg="unknown compression method",$.mode=xe;break}if(yt>>>=4,It-=4,At=(yt&15)+8,$.wbits===0)$.wbits=At;else if(At>$.wbits){Ve.msg="invalid window size",$.mode=xe;break}$.dmax=1<<At,Ve.adler=$.check=1,$.mode=yt&512?j:R,yt=0,It=0;break;case O:for(;It<16;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if($.flags=yt,($.flags&255)!==S){Ve.msg="unknown compression method",$.mode=xe;break}if($.flags&57344){Ve.msg="unknown header flags set",$.mode=xe;break}$.head&&($.head.text=yt>>8&1),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,p.default)($.check,ne,2,0)),yt=0,It=0,$.mode=x;case x:for(;It<32;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.head&&($.head.time=yt),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,ne[2]=yt>>>16&255,ne[3]=yt>>>24&255,$.check=(0,p.default)($.check,ne,4,0)),yt=0,It=0,$.mode=C;case C:for(;It<16;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.head&&($.head.xflags=yt&255,$.head.os=yt>>8),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,p.default)($.check,ne,2,0)),yt=0,It=0,$.mode=_;case _:if($.flags&1024){for(;It<16;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.length=yt,$.head&&($.head.extra_len=yt),$.flags&512&&(ne[0]=yt&255,ne[1]=yt>>>8&255,$.check=(0,p.default)($.check,ne,2,0)),yt=0,It=0}else $.head&&($.head.extra=null);$.mode=N;case N:if($.flags&1024&&(Ae=$.length,Ae>dt&&(Ae=dt),Ae&&($.head&&(At=$.head.extra_len-$.length,$.head.extra||($.head.extra=new Array($.head.extra_len)),f.arraySet($.head.extra,it,ye,Ae,At)),$.flags&512&&($.check=(0,p.default)($.check,it,Ae,ye)),dt-=Ae,ye+=Ae,$.length-=Ae),$.length))break e;$.length=0,$.mode=F;case F:if($.flags&2048){if(dt===0)break e;Ae=0;do At=it[ye+Ae++],$.head&&At&&$.length<65536&&($.head.name+=String.fromCharCode(At));while(At&&Ae<dt);if($.flags&512&&($.check=(0,p.default)($.check,it,Ae,ye)),dt-=Ae,ye+=Ae,At)break e}else $.head&&($.head.name=null);$.length=0,$.mode=k;case k:if($.flags&4096){if(dt===0)break e;Ae=0;do At=it[ye+Ae++],$.head&&At&&$.length<65536&&($.head.comment+=String.fromCharCode(At));while(At&&Ae<dt);if($.flags&512&&($.check=(0,p.default)($.check,it,Ae,ye)),dt-=Ae,ye+=Ae,At)break e}else $.head&&($.head.comment=null);$.mode=P;case P:if($.flags&512){for(;It<16;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if(yt!==($.check&65535)){Ve.msg="header crc mismatch",$.mode=xe;break}yt=0,It=0}$.head&&($.head.hcrc=$.flags>>9&1,$.head.done=!0),Ve.adler=$.check=0,$.mode=R;break;case j:for(;It<32;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}Ve.adler=$.check=Ce(yt),yt=0,It=0,$.mode=K;case K:if($.havedict===0)return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=dt,$.hold=yt,$.bits=It,m;Ve.adler=$.check=1,$.mode=R;case R:if(ie===l||ie===t)break e;case B:if($.last){yt>>>=It&7,It-=It&7,$.mode=Ge;break}for(;It<3;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.last=yt&1,yt>>>=1,It-=1;switch(yt&3){case 0:$.mode=U;break;case 1:if(Rt($),$.mode=q,ie===t){yt>>>=2,It-=2;break e}break;case 2:$.mode=V;break;case 3:Ve.msg="invalid block type",$.mode=xe}yt>>>=2,It-=2;break;case U:for(yt>>>=It&7,It-=It&7;It<32;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if((yt&65535)!==(yt>>>16^65535)){Ve.msg="invalid stored block lengths",$.mode=xe;break}if($.length=yt&65535,yt=0,It=0,$.mode=H,ie===t)break e;case H:$.mode=W;case W:if(Ae=$.length,Ae){if(Ae>dt&&(Ae=dt),Ae>ct&&(Ae=ct),Ae===0)break e;f.arraySet(Qe,it,ye,Ae,Zt),dt-=Ae,ye+=Ae,ct-=Ae,Zt+=Ae,$.length-=Ae;break}$.mode=R;break;case V:for(;It<14;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if($.nlen=(yt&31)+257,yt>>>=5,It-=5,$.ndist=(yt&31)+1,yt>>>=5,It-=5,$.ncode=(yt&15)+4,yt>>>=4,It-=4,$.nlen>286||$.ndist>30){Ve.msg="too many length or distance symbols",$.mode=xe;break}$.have=0,$.mode=z;case z:for(;$.have<$.ncode;){for(;It<3;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.lens[te[$.have++]]=yt&7,yt>>>=3,It-=3}for(;$.have<19;)$.lens[te[$.have++]]=0;if($.lencode=$.lendyn,$.lenbits=7,ue={bits:$.lenbits},_t=(0,h.default)(r,$.lens,0,19,$.lencode,0,$.work,ue),$.lenbits=ue.bits,_t){Ve.msg="invalid code lengths set",$.mode=xe;break}$.have=0,$.mode=X;case X:for(;$.have<$.nlen+$.ndist;){for(;!(le=$.lencode[yt&(1<<$.lenbits)-1],Ne=le>>>24,je=le>>>16&255,Ke=le&65535,Ne<=It);){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if(Ke<16)yt>>>=Ne,It-=Ne,$.lens[$.have++]=Ke;else{if(Ke===16){for(Y=Ne+2;It<Y;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if(yt>>>=Ne,It-=Ne,$.have===0){Ve.msg="invalid bit length repeat",$.mode=xe;break}At=$.lens[$.have-1],Ae=3+(yt&3),yt>>>=2,It-=2}else if(Ke===17){for(Y=Ne+3;It<Y;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}yt>>>=Ne,It-=Ne,At=0,Ae=3+(yt&7),yt>>>=3,It-=3}else{for(Y=Ne+7;It<Y;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}yt>>>=Ne,It-=Ne,At=0,Ae=11+(yt&127),yt>>>=7,It-=7}if($.have+Ae>$.nlen+$.ndist){Ve.msg="invalid bit length repeat",$.mode=xe;break}for(;Ae--;)$.lens[$.have++]=At}}if($.mode===xe)break;if($.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",$.mode=xe;break}if($.lenbits=9,ue={bits:$.lenbits},_t=(0,h.default)(a,$.lens,0,$.nlen,$.lencode,0,$.work,ue),$.lenbits=ue.bits,_t){Ve.msg="invalid literal/lengths set",$.mode=xe;break}if($.distbits=6,$.distcode=$.distdyn,ue={bits:$.distbits},_t=(0,h.default)(c,$.lens,$.nlen,$.ndist,$.distcode,0,$.work,ue),$.distbits=ue.bits,_t){Ve.msg="invalid distances set",$.mode=xe;break}if($.mode=q,ie===t)break e;case q:$.mode=fe;case fe:if(dt>=6&&ct>=258){Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=dt,$.hold=yt,$.bits=It,(0,v.default)(Ve,Bt),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ye=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=$.hold,It=$.bits,$.mode===R&&($.back=-1);break}for($.back=0;!(le=$.lencode[yt&(1<<$.lenbits)-1],Ne=le>>>24,je=le>>>16&255,Ke=le&65535,Ne<=It);){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if(je&&(je&240)===0){for(Xe=Ne,Fe=je,nt=Ke;!(le=$.lencode[nt+((yt&(1<<Xe+Fe)-1)>>Xe)],Ne=le>>>24,je=le>>>16&255,Ke=le&65535,Xe+Ne<=It);){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}yt>>>=Xe,It-=Xe,$.back+=Xe}if(yt>>>=Ne,It-=Ne,$.back+=Ne,$.length=Ke,je===0){$.mode=Pe;break}if(je&32){$.back=-1,$.mode=R;break}if(je&64){Ve.msg="invalid literal/length code",$.mode=xe;break}$.extra=je&15,$.mode=G;case G:if($.extra){for(Y=$.extra;It<Y;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.length+=yt&(1<<$.extra)-1,yt>>>=$.extra,It-=$.extra,$.back+=$.extra}$.was=$.length,$.mode=ve;case ve:for(;!(le=$.distcode[yt&(1<<$.distbits)-1],Ne=le>>>24,je=le>>>16&255,Ke=le&65535,Ne<=It);){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if((je&240)===0){for(Xe=Ne,Fe=je,nt=Ke;!(le=$.distcode[nt+((yt&(1<<Xe+Fe)-1)>>Xe)],Ne=le>>>24,je=le>>>16&255,Ke=le&65535,Xe+Ne<=It);){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}yt>>>=Xe,It-=Xe,$.back+=Xe}if(yt>>>=Ne,It-=Ne,$.back+=Ne,je&64){Ve.msg="invalid distance code",$.mode=xe;break}$.offset=Ke,$.extra=je&15,$.mode=Se;case Se:if($.extra){for(Y=$.extra;It<Y;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}$.offset+=yt&(1<<$.extra)-1,yt>>>=$.extra,It-=$.extra,$.back+=$.extra}if($.offset>$.dmax){Ve.msg="invalid distance too far back",$.mode=xe;break}$.mode=ge;case ge:if(ct===0)break e;if(Ae=Bt-ct,$.offset>Ae){if(Ae=$.offset-Ae,Ae>$.whave&&$.sane){Ve.msg="invalid distance too far back",$.mode=xe;break}Ae>$.wnext?(Ae-=$.wnext,pe=$.wsize-Ae):pe=$.wnext-Ae,Ae>$.length&&(Ae=$.length),he=$.window}else he=Qe,pe=Zt-$.offset,Ae=$.length;Ae>ct&&(Ae=ct),ct-=Ae,$.length-=Ae;do Qe[Zt++]=he[pe++];while(--Ae);$.length===0&&($.mode=fe);break;case Pe:if(ct===0)break e;Qe[Zt++]=$.length,ct--,$.mode=fe;break;case Ge:if($.wrap){for(;It<32;){if(dt===0)break e;dt--,yt|=it[ye++]<<It,It+=8}if(Bt-=ct,Ve.total_out+=Bt,$.total+=Bt,Bt&&(Ve.adler=$.check=$.flags?(0,p.default)($.check,Qe,Bt,Zt-Bt):(0,y.default)($.check,Qe,Bt,Zt-Bt)),Bt=ct,($.flags?yt:Ce(yt))!==$.check){Ve.msg="incorrect data check",$.mode=xe;break}yt=0,It=0}$.mode=pt;case pt:if($.wrap&&$.flags){for(;It<32;){if(dt===0)break e;dt--,yt+=it[ye++]<<It,It+=8}if(yt!==($.total&4294967295)){Ve.msg="incorrect length check",$.mode=xe;break}yt=0,It=0}$.mode=Te;case Te:_t=d;break e;case xe:_t=b;break e;case lt:return E;case Ie:default:return w}return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ye,Ve.avail_in=dt,$.hold=yt,$.bits=It,($.wsize||Bt!==Ve.avail_out&&$.mode<xe&&($.mode<Ge||ie!==n))&&He(Ve,Ve.output,Ve.next_out,Bt-Ve.avail_out)?($.mode=lt,E):(or-=Ve.avail_in,Bt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Bt,$.total+=Bt,$.wrap&&Bt&&(Ve.adler=$.check=$.flags?(0,p.default)($.check,Qe,Bt,Ve.next_out-Bt):(0,y.default)($.check,Qe,Bt,Ve.next_out-Bt)),Ve.data_type=$.bits+($.last?64:0)+($.mode===R?128:0)+($.mode===q||$.mode===H?256:0),(or===0&&Bt===0||ie===n)&&_t===s&&(_t=A),_t)}function Ye(Ve){if(!Ve||!Ve.state)return w;var ie=Ve.state;return ie.window&&(ie.window=null),Ve.state=null,s}function et(Ve,ie){var $;return!Ve||!Ve.state?w:($=Ve.state,($.wrap&2)===0?w:($.head=ie,ie.done=!1,s))}function rt(Ve,ie){var $=ie.length,it,Qe,ye;return!Ve||!Ve.state?w:(it=Ve.state,it.wrap!==0&&it.mode!==K?w:it.mode===K&&(Qe=1,Qe=(0,y.default)(Qe,ie,$,0),Qe!==it.check)?b:(ye=He(Ve,ie,$,$),ye?(it.mode=lt,E):(it.havedict=1,s)))}var st="pako inflate (from Nodeca project)";I.inflateInfo=st},ePAk:function(D,I,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(y){var p,v=this.ecModel;return v.eachComponent(y,function(h){h.getCoordSysModel()===this&&(p=h)},this),p},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});D.exports=f},eRkO:function(D,I,e){var g=e("+TT/"),f=g.getLayoutRect,y=g.box,p=g.positionElement,v=e("7aKB"),h=e("IwbS");function u(i,r,a){var c=r.getBoxLayoutParams(),n=r.get("padding"),l={width:a.getWidth(),height:a.getHeight()},t=f(c,l,n);y(r.get("orient"),i,r.get("itemGap"),t.width,t.height),p(i,c,l,n)}function o(i,r){var a=v.normalizeCssArray(r.get("padding")),c=r.getItemStyle(["color","opacity"]);c.fill=r.get("backgroundColor");var i=new h.Rect({shape:{x:i.x-a[3],y:i.y-a[0],width:i.width+a[1]+a[3],height:i.height+a[0]+a[2],r:r.get("borderRadius")},style:c,silent:!0,z2:-1});return i}I.layout=u,I.makeBackground=o},eS4l:function(D,I,e){e("HM/N"),e("FNN5")},eUgh:function(D,I){function e(g,f){for(var y=-1,p=g==null?0:g.length,v=Array(p);++y<p;)v[y]=f(g[y],y,g);return v}D.exports=e},ebwN:function(D,I,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Map");D.exports=y},ekgI:function(D,I,e){var g=e("YESw"),f=Object.prototype,y=f.hasOwnProperty;function p(v){var h=this.__data__;return g?h[v]!==void 0:y.call(h,v)}D.exports=p},ewwo:function(D,I,e){var g=e("bMXI"),f=e("+TT/"),y=f.getLayoutRect,p=e("4mN7");function v(u,o,i){var r=u.getBoxLayoutParams();return r.aspect=i,y(r,{width:o.getWidth(),height:o.getHeight()})}function h(u,o){var i=[];return u.eachSeriesByType("graph",function(r){var a=r.get("coordinateSystem");if(!a||a==="view"){var c=r.getData(),n=c.mapArray(function(S){var T=c.getItemModel(S);return[+T.get("x"),+T.get("y")]}),l=[],t=[];p.fromPoints(n,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var s=(t[0]-l[0])/(t[1]-l[1]),d=v(r,o,s);isNaN(s)&&(l=[d.x,d.y],t=[d.x+d.width,d.y+d.height]);var m=t[0]-l[0],w=t[1]-l[1],b=d.width,E=d.height,A=r.coordinateSystem=new g;A.zoomLimit=r.get("scaleLimit"),A.setBoundingRect(l[0],l[1],m,w),A.setViewRect(d.x,d.y,b,E),A.setCenter(r.get("center")),A.setZoom(r.get("zoom")),i.push(A)}}),i}D.exports=h},f1nB:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("bYtY"),v=e("4NO4"),h=e("IwbS"),u=e("+TT/"),o=e("OELB"),i=o.parsePercent,r={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};y.registerPreprocessor(function(b){var E=b.graphic;p.isArray(E)?!E[0]||!E[0].elements?b.graphic=[{elements:E}]:b.graphic=[b.graphic[0]]:E&&!E.elements&&(b.graphic=[{elements:[E]}])});var a=y.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(b){var E=this.option.elements;this.option.elements=null,a.superApply(this,"mergeOption",arguments),this.option.elements=E},optionUpdated:function(b,E){var A=this.option,S=(E?A:b).elements,T=A.elements=E?[]:A.elements,O=[];this._flatten(S,O);var x=v.mappingToExists(T,O);v.makeIdAndName(x);var C=this._elOptionsToUpdate=[];p.each(x,function(N,F){var k=N.option;if(!k)return;C.push(k),s(N,k),d(T,F,k),m(T[F],k)},this);for(var _=T.length-1;_>=0;_--)T[_]==null?T.splice(_,1):delete T[_].$action},_flatten:function(b,E,A){p.each(b,function(S){if(!S)return;A&&(S.parentOption=A),E.push(S);var T=S.children;S.type==="group"&&T&&this._flatten(T,E,S),delete S.children},this)},useElOptionsToUpdate:function(){var b=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,b}});y.extendComponentView({type:"graphic",init:function(b,E){this._elMap=p.createHashMap(),this._lastGraphicModel},render:function(b,E,A){b!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=b,this._updateElements(b),this._relocate(b,A)},_updateElements:function(b){var E=b.useElOptionsToUpdate();if(!E)return;var A=this._elMap,S=this.group;p.each(E,function(T){var O=T.$action,x=T.id,C=A.get(x),_=T.parentId,N=_!=null?A.get(_):S,F=T.style;T.type==="text"&&F&&(T.hv&&T.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var k=l(T);!O||O==="merge"?C?C.attr(k):c(x,N,k,A):O==="replace"?(n(C,A),c(x,N,k,A)):O==="remove"&&n(C,A);var P=A.get(x);P&&(P.__ecGraphicWidthOption=T.width,P.__ecGraphicHeightOption=T.height,w(P,b,T))})},_relocate:function(b,E){for(var A=b.option.elements,S=this.group,T=this._elMap,O=E.getWidth(),x=E.getHeight(),C=0;C<A.length;C++){var _=A[C],N=T.get(_.id);if(!N||!N.isGroup)continue;var F=N.parent,k=F===S;N.__ecGraphicWidth=i(N.__ecGraphicWidthOption,k?O:F.__ecGraphicWidth)||0,N.__ecGraphicHeight=i(N.__ecGraphicHeightOption,k?x:F.__ecGraphicHeight)||0}for(var C=A.length-1;C>=0;C--){var _=A[C],N=T.get(_.id);if(!N)continue;var F=N.parent,P=F===S?{width:O,height:x}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};u.positionElement(N,_,P,null,{hv:_.hv,boundingMode:_.bounding})}},_clear:function(){var b=this._elMap;b.each(function(E){n(E,b)}),this._elMap=p.createHashMap()},dispose:function(){this._clear()}});function c(b,E,A,S){var T=A.type,O=r.hasOwnProperty(T)?r[T]:h.getShapeClass(T),x=new O(A);E.add(x),S.set(b,x),x.__ecGraphicId=b}function n(b,E){var A=b&&b.parent;A&&(b.type==="group"&&b.traverse(function(S){n(S,E)}),E.removeKey(b.__ecGraphicId),A.remove(b))}function l(b){return b=p.extend({},b),p.each(["id","parentId","$action","hv","bounding"].concat(u.LOCATION_PARAMS),function(E){delete b[E]}),b}function t(b,E){var A;return p.each(E,function(S){b[S]!=null&&b[S]!=="auto"&&(A=!0)}),A}function s(b,E){var A=b.exist;if(E.id=b.keyInfo.id,!E.type&&A&&(E.type=A.type),E.parentId==null){var S=E.parentOption;S?E.parentId=S.id:A&&(E.parentId=A.parentId)}E.parentOption=null}function d(b,E,A){var S=p.extend({},A),T=b[E],O=A.$action||"merge";O==="merge"?T?(p.merge(T,S,!0),u.mergeLayoutParam(T,S,{ignoreSize:!0}),u.copyLayoutParams(A,T)):b[E]=S:O==="replace"?b[E]=S:O==="remove"&&(T&&(b[E]=null))}function m(b,E){if(!b)return;b.hv=E.hv=[t(E,["left","right"]),t(E,["top","bottom"])],b.type==="group"&&(b.width==null&&(b.width=E.width=0),b.height==null&&(b.height=E.height=0))}function w(b,E,A){var S=b.eventData;!b.silent&&!b.ignore&&!S&&(S=b.eventData={componentType:"graphic",componentIndex:E.componentIndex,name:b.name}),S&&(S.info=b.info)}},f3JH:function(D,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(D,I,e){var g=e("IwbS"),f=e("QBsz"),y=g.Line.prototype,p=g.BezierCurve.prototype;function v(u){return isNaN(+u.cpx1)||isNaN(+u.cpy1)}var h=g.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(u,o){this[v(o)?"_buildPathLine":"_buildPathCurve"](u,o)},_buildPathLine:y.buildPath,_buildPathCurve:p.buildPath,pointAt:function(u){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](u)},_pointAtLine:y.pointAt,_pointAtCurve:p.pointAt,tangentAt:function(u){var o=this.shape,i=v(o)?[o.x2-o.x1,o.y2-o.y1]:this._tangentAtCurve(u);return f.normalize(i,i)},_tangentAtCurve:p.tangentAt});D.exports=h},f5Yq:function(D,I,e){var g=e("bYtY"),f=g.isFunction;function y(p,v,h){return{seriesType:p,performRawSeries:!0,reset:function(u,o,i){var r=u.getData(),a=u.get("symbol"),c=u.get("symbolSize"),n=u.get("symbolKeepAspect"),l=u.get("symbolRotate"),t=f(a),s=f(c),d=f(l),m=t||s||d,w=!t&&a?a:v,b=s?null:c,E=d?null:E;if(r.setVisual({legendSymbol:h||w,symbol:w,symbolSize:b,symbolKeepAspect:n,symbolRotate:l}),o.isSeriesFiltered(u))return;function A(S,T){if(m){var O=u.getRawValue(T),x=u.getDataParams(T);t&&S.setItemVisual(T,"symbol",a(O,x)),s&&S.setItemVisual(T,"symbolSize",c(O,x)),d&&S.setItemVisual(T,"symbolRotate",l(O,x))}if(S.hasItemOption){var C=S.getItemModel(T),_=C.getShallow("symbol",!0),N=C.getShallow("symbolSize",!0),F=C.getShallow("symbolRotate",!0),k=C.getShallow("symbolKeepAspect",!0);_!=null&&S.setItemVisual(T,"symbol",_),N!=null&&S.setItemVisual(T,"symbolSize",N),F!=null&&S.setItemVisual(T,"symbolRotate",F),k!=null&&S.setItemVisual(T,"symbolKeepAspect",k)}}return{dataEach:r.hasItemOption||m?A:null}}}}D.exports=y},fAei:function(D,I,e){"use strict";e.d(I,"a",function(){return b.a});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),p=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),u=e("LK+K"),o=e("q1tI"),i=e("4IlW"),r=e("Kwbf"),a=e("TSYQ"),c=e.n(a),n=e("sboe"),l=e("OZM5"),t=e("815F"),s=e("ODXe"),d=e("Ff2n"),m=e("+nKL"),w=e("8XRh"),b=e("WaYH"),E=function(q,fe){var G=q.className,ve=q.style,Se=q.motion,ge=q.motionNodes,Pe=q.motionType,Ge=q.onMotionEnd,pt=q.active,Te=q.treeNodeRequiredProps,xe=Object(d.a)(q,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),lt=o.useState(!0),Ie=Object(s.a)(lt,2),de=Ie[0],ee=Ie[1],se=o.useContext(n.a),ke=se.prefixCls,Ce=o.useRef(!1),ze=function(){Ce.current||Ge(),Ce.current=!0};return Object(o.useEffect)(function(){ge&&Pe==="hide"&&de&&ee(!1)},[ge]),Object(o.useEffect)(function(){return function(){ge&&ze()}},[]),ge?o.createElement(w.default,Object.assign({ref:fe,visible:de},Se,{motionAppear:Pe==="show",onAppearEnd:ze,onLeaveEnd:ze}),function(_e,ae){var me=_e.className,Oe=_e.style;return o.createElement("div",{ref:ae,className:c()("".concat(ke,"-treenode-motion"),me),style:Oe},ge.map(function(Ze){var vt=Ze.data,Ct=vt.key,Be=Object(d.a)(vt,["key"]),Rt=Ze.isStart,He=Ze.isEnd;delete Be.children;var wt=Object(t.f)(Ct,Te);return o.createElement(b.a,Object.assign({},Be,wt,{active:pt,data:Ze.data,key:Ct,isStart:Rt,isEnd:He}))}))}):o.createElement(b.a,Object.assign({domRef:fe,className:G,style:ve},xe,{active:pt}))};E.displayName="MotionTreeNode";var A=o.forwardRef(E),S=A;function T(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fe=X.length,G=q.length;if(Math.abs(fe-G)!==1)return{add:!1,key:null};function ve(Se,ge){var Pe=new Map;Se.forEach(function(pt){Pe.set(pt,!0)});var Ge=ge.filter(function(pt){return!Pe.has(pt)});return Ge.length===1?Ge[0]:null}return fe<G?{add:!0,key:ve(X,q)}:{add:!1,key:ve(q,X)}}function O(X,q,fe){var G=X.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===fe}),ve=X[G+1],Se=q.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===fe});if(ve){var ge=q.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===ve.data.key});return q.slice(Se+1,ge)}return q.slice(Se+1)}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},_="RC_TREE_MOTION_".concat(Math.random()),N={key:_},F={key:_,level:0,index:0,pos:"0",node:N},k={parent:null,children:[],pos:F.pos,data:N,isStart:[],isEnd:[]};function P(X,q,fe,G){return q===!1||!fe?X:X.slice(0,Math.ceil(fe/G)+1)}function j(X){var q=X.data.key,fe=X.pos;return Object(t.e)(q,fe)}function K(X){for(var q=String(X.data.key),fe=X;fe.parent;)fe=fe.parent,q="".concat(fe.data.key," > ").concat(q);return q}var R=function(q,fe){var G=q.prefixCls,ve=q.data,Se=q.selectable,ge=q.checkable,Pe=q.expandedKeys,Ge=q.selectedKeys,pt=q.checkedKeys,Te=q.loadedKeys,xe=q.loadingKeys,lt=q.halfCheckedKeys,Ie=q.keyEntities,de=q.disabled,ee=q.dragging,se=q.dragOverNodeKey,ke=q.dropPosition,Ce=q.motion,ze=q.height,_e=q.itemHeight,ae=q.virtual,me=q.focusable,Oe=q.activeItem,Ze=q.focused,vt=q.tabIndex,Ct=q.onKeyDown,Be=q.onFocus,Rt=q.onBlur,He=q.onActiveChange,wt=q.onListChangeStart,Ye=q.onListChangeEnd,et=Object(d.a)(q,["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"]),rt=o.useRef(null);o.useImperativeHandle(fe,function(){return{scrollTo:function(At){rt.current.scrollTo(At)}}});var st=o.useState(Pe),Ve=Object(s.a)(st,2),ie=Ve[0],$=Ve[1],it=o.useState(ve),Qe=Object(s.a)(it,2),ye=Qe[0],Zt=Qe[1],dt=o.useState(ve),ct=Object(s.a)(dt,2),yt=ct[0],It=ct[1],or=o.useState([]),Bt=Object(s.a)(or,2),Ae=Bt[0],pe=Bt[1],he=o.useState(null),le=Object(s.a)(he,2),Ne=le[0],je=le[1];function Ke(){Zt(ve),It(ve),pe([]),je(null),Ye()}o.useEffect(function(){$(Pe);var nt=T(ie,Pe);if(nt.key!==null){if(nt.add){var At=ye.findIndex(function(be){var Le=be.data.key;return Le===nt.key}),_t=P(O(ye,ve,nt.key),ae,ze,_e),ne=ye.slice();ne.splice(At+1,0,k),It(ne),pe(_t),je("show")}else{var ue=ve.findIndex(function(be){var Le=be.data.key;return Le===nt.key}),Y=P(O(ve,ye,nt.key),ae,ze,_e),te=ve.slice();te.splice(ue+1,0,k),It(te),pe(Y),je("hide")}Ce&&wt()}else ye!==ve&&(Zt(ve),It(ve))},[Pe,ve]),o.useEffect(function(){ee||Ke()},[ee]);var Xe=Ce?yt:ve,Fe={expandedKeys:Pe,selectedKeys:Ge,loadedKeys:Te,loadingKeys:xe,checkedKeys:pt,halfCheckedKeys:lt,dragOverNodeKey:se,dropPosition:ke,keyEntities:Ie};return o.createElement(o.Fragment,null,Ze&&Oe&&o.createElement("span",{style:x,"aria-live":"assertive"},K(Oe)),o.createElement("div",{role:"tree"},o.createElement("input",{style:x,disabled:me===!1||de,tabIndex:me!==!1?vt:null,onKeyDown:Ct,onFocus:Be,onBlur:Rt,value:"",onChange:C})),o.createElement(m.a,Object.assign({},et,{data:Xe,itemKey:j,height:ze,fullHeight:!1,virtual:ae,itemHeight:_e,prefixCls:"".concat(G,"-list"),ref:rt}),function(nt){var At=nt.pos,_t=nt.data,ne=_t.key,ue=Object(d.a)(_t,["key"]),Y=nt.isStart,te=nt.isEnd,be=Object(t.e)(ne,At);delete ue.children;var Le=Object(t.f)(be,Fe);return o.createElement(S,Object.assign({},ue,Le,{active:Oe&&ne===Oe.data.key,pos:At,data:nt.data,isStart:Y,isEnd:te,motion:Ce,motionNodes:ne===_?Ae:null,motionType:Ne,onMotionEnd:Ke,treeNodeRequiredProps:Fe,onMouseMove:function(){He(null)}}))}))},B=o.forwardRef(R);B.displayName="NodeList";var U=B,H=e("NvD2"),W=function(X){Object(h.a)(fe,X);var q=Object(u.a)(fe);function fe(){var G;return Object(p.a)(this,fe),G=q.apply(this,arguments),G.destroyed=!1,G.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},G.listRef=o.createRef(),G.onNodeDragStart=function(ve,Se){var ge=G.state,Pe=ge.expandedKeys,Ge=ge.keyEntities,pt=G.props.onDragStart,Te=Se.props.eventKey;G.dragNode=Se;var xe=Object(l.b)(Pe,Te);G.setState({dragging:!0,dragNodesKeys:Object(l.g)(Te,Ge)}),G.setExpandedKeys(xe),pt&&pt({event:ve,node:Object(t.b)(Se.props)})},G.onNodeDragEnter=function(ve,Se){var ge=G.state,Pe=ge.expandedKeys,Ge=ge.keyEntities,pt=ge.dragNodesKeys,Te=G.props.onDragEnter,xe=Se.props,lt=xe.pos,Ie=xe.eventKey;if(!G.dragNode||pt.indexOf(Ie)!==-1)return;var de=Object(l.c)(ve,Se);if(G.dragNode.props.eventKey===Ie&&de===0){G.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){G.setState({dragOverNodeKey:Ie,dropPosition:de}),G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(ee){clearTimeout(G.delayedDragEnterLogic[ee])}),G.delayedDragEnterLogic[lt]=window.setTimeout(function(){if(!G.state.dragging)return;var ee=Object(y.a)(Pe),se=Ge[Ie];se&&(se.children||[]).length&&(ee=Object(l.a)(Pe,Ie)),"expandedKeys"in G.props||G.setExpandedKeys(ee),Te&&Te({event:ve,node:Object(t.b)(Se.props),expandedKeys:ee})},400)},0)},G.onNodeDragOver=function(ve,Se){var ge=G.state.dragNodesKeys,Pe=G.props.onDragOver,Ge=Se.props.eventKey;if(ge.indexOf(Ge)!==-1)return;if(G.dragNode&&Ge===G.state.dragOverNodeKey){var pt=Object(l.c)(ve,Se);if(pt===G.state.dropPosition)return;G.setState({dropPosition:pt})}Pe&&Pe({event:ve,node:Object(t.b)(Se.props)})},G.onNodeDragLeave=function(ve,Se){var ge=G.props.onDragLeave;G.setState({dragOverNodeKey:""}),ge&&ge({event:ve,node:Object(t.b)(Se.props)})},G.onNodeDragEnd=function(ve,Se){var ge=G.props.onDragEnd;G.setState({dragOverNodeKey:""}),G.cleanDragState(),ge&&ge({event:ve,node:Object(t.b)(Se.props)}),G.dragNode=null},G.onNodeDrop=function(ve,Se){var ge=G.state,Pe=ge.dragNodesKeys,Ge=Pe===void 0?[]:Pe,pt=ge.dropPosition,Te=G.props.onDrop,xe=Se.props,lt=xe.eventKey,Ie=xe.pos;if(G.setState({dragOverNodeKey:""}),G.cleanDragState(),Ge.indexOf(lt)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var de=Object(l.k)(Ie),ee={event:ve,node:Object(t.b)(Se.props),dragNode:G.dragNode?Object(t.b)(G.dragNode.props):null,dragNodesKeys:Ge.slice(),dropPosition:pt+Number(de[de.length-1]),dropToGap:!1};pt!==0&&(ee.dropToGap=!0),Te&&Te(ee),G.dragNode=null},G.cleanDragState=function(){var ve=G.state.dragging;ve&&G.setState({dragging:!1})},G.onNodeClick=function(ve,Se){var ge=G.props.onClick;ge&&ge(ve,Se)},G.onNodeDoubleClick=function(ve,Se){var ge=G.props.onDoubleClick;ge&&ge(ve,Se)},G.onNodeSelect=function(ve,Se){var ge=G.state.selectedKeys,Pe=G.state.keyEntities,Ge=G.props,pt=Ge.onSelect,Te=Ge.multiple,xe=Se.selected,lt=Se.key,Ie=!xe;Ie?Te?ge=Object(l.a)(ge,lt):ge=[lt]:ge=Object(l.b)(ge,lt);var de=ge.map(function(ee){var se=Pe[ee];return se?se.node:null}).filter(function(ee){return ee});G.setUncontrolledState({selectedKeys:ge}),pt&&pt(ge,{event:"select",selected:Ie,node:Se,selectedNodes:de,nativeEvent:ve.nativeEvent})},G.onNodeCheck=function(ve,Se,ge){var Pe=G.state,Ge=Pe.keyEntities,pt=Pe.checkedKeys,Te=Pe.halfCheckedKeys,xe=G.props,lt=xe.checkStrictly,Ie=xe.onCheck,de=Se.key,ee,se={event:"check",node:Se,checked:ge,nativeEvent:ve.nativeEvent};if(lt){var ke=ge?Object(l.a)(pt,de):Object(l.b)(pt,de),Ce=Object(l.b)(Te,de);ee={checked:ke,halfChecked:Ce},se.checkedNodes=ke.map(function(Ze){return Ge[Ze]}).filter(function(Ze){return Ze}).map(function(Ze){return Ze.node}),G.setUncontrolledState({checkedKeys:ke})}else{var ze=Object(H.a)([].concat(Object(y.a)(pt),[de]),!0,Ge),_e=ze.checkedKeys,ae=ze.halfCheckedKeys;if(!ge){var me=new Set(_e);me.delete(de);var Oe=Object(H.a)(Array.from(me),{checked:!1,halfCheckedKeys:ae},Ge);_e=Oe.checkedKeys,ae=Oe.halfCheckedKeys}ee=_e,se.checkedNodes=[],se.checkedNodesPositions=[],se.halfCheckedKeys=ae,_e.forEach(function(Ze){var vt=Ge[Ze];if(!vt)return;var Ct=vt.node,Be=vt.pos;se.checkedNodes.push(Ct),se.checkedNodesPositions.push({node:Ct,pos:Be})}),G.setUncontrolledState({checkedKeys:_e},!1,{halfCheckedKeys:ae})}Ie&&Ie(ee,se)},G.onNodeLoad=function(ve){return new Promise(function(Se){G.setState(function(ge){var Pe=ge.loadedKeys,Ge=Pe===void 0?[]:Pe,pt=ge.loadingKeys,Te=pt===void 0?[]:pt,xe=G.props,lt=xe.loadData,Ie=xe.onLoad,de=ve.key;if(!lt||Ge.indexOf(de)!==-1||Te.indexOf(de)!==-1)return{};var ee=lt(ve);return ee.then(function(){var se=G.state,ke=se.loadedKeys,Ce=se.loadingKeys,ze=Object(l.a)(ke,de),_e=Object(l.b)(Ce,de);Ie&&Ie(ze,{event:"load",node:ve}),G.setUncontrolledState({loadedKeys:ze}),G.setState({loadingKeys:_e}),Se()}),{loadingKeys:Object(l.a)(Te,de)}})})},G.onNodeMouseEnter=function(ve,Se){var ge=G.props.onMouseEnter;ge&&ge({event:ve,node:Se})},G.onNodeMouseLeave=function(ve,Se){var ge=G.props.onMouseLeave;ge&&ge({event:ve,node:Se})},G.onNodeContextMenu=function(ve,Se){var ge=G.props.onRightClick;ge&&(ve.preventDefault(),ge({event:ve,node:Se}))},G.onFocus=function(){var ve=G.props.onFocus;G.setState({focused:!0}),ve&&ve.apply(void 0,arguments)},G.onBlur=function(){var ve=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),ve&&ve.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var ve=G.state,Se=ve.expandedKeys,ge=ve.selectedKeys,Pe=ve.loadedKeys,Ge=ve.loadingKeys,pt=ve.checkedKeys,Te=ve.halfCheckedKeys,xe=ve.dragOverNodeKey,lt=ve.dropPosition,Ie=ve.keyEntities;return{expandedKeys:Se||[],selectedKeys:ge||[],loadedKeys:Pe||[],loadingKeys:Ge||[],checkedKeys:pt||[],halfCheckedKeys:Te||[],dragOverNodeKey:xe,dropPosition:lt,keyEntities:Ie}},G.setExpandedKeys=function(ve){var Se=G.state.treeData,ge=Object(t.d)(Se,ve);G.setUncontrolledState({expandedKeys:ve,flattenNodes:ge},!0)},G.onNodeExpand=function(ve,Se){var ge=G.state.expandedKeys,Pe=G.state.listChanging,Ge=G.props,pt=Ge.onExpand,Te=Ge.loadData,xe=Se.key,lt=Se.expanded;if(Pe)return;var Ie=ge.indexOf(xe),de=!lt;if(Object(r.a)(lt&&Ie!==-1||!lt&&Ie===-1,"Expand state not sync with index check"),de?ge=Object(l.a)(ge,xe):ge=Object(l.b)(ge,xe),G.setExpandedKeys(ge),pt&&pt(ge,{node:Se,expanded:de,nativeEvent:ve.nativeEvent}),de&&Te){var ee=G.onNodeLoad(Se);ee&&ee.then(function(){var se=Object(t.d)(G.state.treeData,ge);G.setUncontrolledState({flattenNodes:se})})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(ve){var Se=G.state.activeKey,ge=G.props.onActiveChange;if(Se===ve)return;G.setState({activeKey:ve}),ve!==null&&G.scrollTo({key:ve}),ge&&ge(ve)},G.getActiveItem=function(){var ve=G.state,Se=ve.activeKey,ge=ve.flattenNodes;return Se===null?null:ge.find(function(Pe){var Ge=Pe.data.key;return Ge===Se})||null},G.offsetActiveKey=function(ve){var Se=G.state,ge=Se.flattenNodes,Pe=Se.activeKey,Ge=ge.findIndex(function(xe){var lt=xe.data.key;return lt===Pe});Ge===-1&&ve<0&&(Ge=ge.length),Ge=(Ge+ve+ge.length)%ge.length;var pt=ge[Ge];if(pt){var Te=pt.data.key;G.onActiveChange(Te)}else G.onActiveChange(null)},G.onKeyDown=function(ve){var Se=G.state,ge=Se.activeKey,Pe=Se.expandedKeys,Ge=Se.checkedKeys,pt=G.props,Te=pt.onKeyDown,xe=pt.checkable,lt=pt.selectable;switch(ve.which){case i.a.UP:{G.offsetActiveKey(-1),ve.preventDefault();break}case i.a.DOWN:{G.offsetActiveKey(1),ve.preventDefault();break}}var Ie=G.getActiveItem();if(Ie&&Ie.data){var de=G.getTreeNodeRequiredProps(),ee=Ie.data.isLeaf===!1||!!(Ie.data.children||[]).length,se=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(ge,de)),{},{data:Ie.data,active:!0}));switch(ve.which){case i.a.LEFT:{ee&&Pe.includes(ge)?G.onNodeExpand({},se):Ie.parent&&G.onActiveChange(Ie.parent.data.key),ve.preventDefault();break}case i.a.RIGHT:{ee&&!Pe.includes(ge)?G.onNodeExpand({},se):Ie.children&&Ie.children.length&&G.onActiveChange(Ie.children[0].data.key),ve.preventDefault();break}case i.a.ENTER:case i.a.SPACE:{xe&&!se.disabled&&se.checkable!==!1&&!se.disableCheckbox?G.onNodeCheck({},se,!Ge.includes(ge)):!xe&<&&!se.disabled&&se.selectable!==!1&&G.onNodeSelect({},se);break}}}Te&&Te(ve)},G.setUncontrolledState=function(ve){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var Pe=!1,Ge=!0,pt={};Object.keys(ve).forEach(function(Te){if(Te in G.props){Ge=!1;return}Pe=!0,pt[Te]=ve[Te]}),Pe&&(!Se||Ge)&&G.setState(Object(f.a)(Object(f.a)({},pt),ge))},G.scrollTo=function(ve){G.listRef.current.scrollTo(ve)},G}return Object(v.a)(fe,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ve,Se=this.state,ge=Se.focused,Pe=Se.flattenNodes,Ge=Se.keyEntities,pt=Se.dragging,Te=Se.activeKey,xe=this.props,lt=xe.prefixCls,Ie=xe.className,de=xe.style,ee=xe.showLine,se=xe.focusable,ke=xe.tabIndex,Ce=ke===void 0?0:ke,ze=xe.selectable,_e=xe.showIcon,ae=xe.icon,me=xe.switcherIcon,Oe=xe.draggable,Ze=xe.checkable,vt=xe.checkStrictly,Ct=xe.disabled,Be=xe.motion,Rt=xe.loadData,He=xe.filterTreeNode,wt=xe.height,Ye=xe.itemHeight,et=xe.virtual,rt=xe.titleRender,st=Object(l.f)(this.props);return o.createElement(n.a.Provider,{value:{prefixCls:lt,selectable:ze,showIcon:_e,icon:ae,switcherIcon:me,draggable:Oe,checkable:Ze,checkStrictly:vt,disabled:Ct,keyEntities:Ge,loadData:Rt,filterTreeNode:He,titleRender:rt,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}},o.createElement("div",{className:c()(lt,Ie,(ve={},Object(g.a)(ve,"".concat(lt,"-show-line"),ee),Object(g.a)(ve,"".concat(lt,"-focused"),ge),Object(g.a)(ve,"".concat(lt,"-active-focused"),Te!==null),ve))},o.createElement(U,Object.assign({ref:this.listRef,prefixCls:lt,style:de,data:Pe,disabled:Ct,selectable:ze,checkable:!!Ze,motion:Be,dragging:pt,height:wt,itemHeight:Ye,virtual:et,focusable:se,focused:ge,tabIndex:Ce,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),st))))}}],[{key:"getDerivedStateFromProps",value:function(ve,Se){var ge=Se.prevProps,Pe={prevProps:ve};function Ge(ae){return!ge&&ae in ve||ge&&ge[ae]!==ve[ae]}var pt;if(Ge("treeData")?pt=ve.treeData:Ge("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),pt=Object(t.c)(ve.children)),pt){Pe.treeData=pt;var Te=Object(t.a)(pt);Pe.keyEntities=Object(f.a)(Object(g.a)({},_,F),Te.keyEntities)}var xe=Pe.keyEntities||Se.keyEntities;if(Ge("expandedKeys")||ge&&Ge("autoExpandParent"))Pe.expandedKeys=ve.autoExpandParent||!ge&&ve.defaultExpandParent?Object(l.e)(ve.expandedKeys,xe):ve.expandedKeys;else if(!ge&&ve.defaultExpandAll){var lt=Object(f.a)({},xe);delete lt[_],Pe.expandedKeys=Object.keys(lt).map(function(ae){return lt[ae].key})}else!ge&&ve.defaultExpandedKeys&&(Pe.expandedKeys=ve.autoExpandParent||ve.defaultExpandParent?Object(l.e)(ve.defaultExpandedKeys,xe):ve.defaultExpandedKeys);if(Pe.expandedKeys||delete Pe.expandedKeys,pt||Pe.expandedKeys){var Ie=Object(t.d)(pt||Se.treeData,Pe.expandedKeys||Se.expandedKeys);Pe.flattenNodes=Ie}if(ve.selectable&&(Ge("selectedKeys")?Pe.selectedKeys=Object(l.d)(ve.selectedKeys,ve):!ge&&ve.defaultSelectedKeys&&(Pe.selectedKeys=Object(l.d)(ve.defaultSelectedKeys,ve))),ve.checkable){var de;if(Ge("checkedKeys")?de=Object(l.j)(ve.checkedKeys)||{}:!ge&&ve.defaultCheckedKeys?de=Object(l.j)(ve.defaultCheckedKeys)||{}:pt&&(de=Object(l.j)(ve.checkedKeys)||{checkedKeys:Se.checkedKeys,halfCheckedKeys:Se.halfCheckedKeys}),de){var ee=de,se=ee.checkedKeys,ke=se===void 0?[]:se,Ce=ee.halfCheckedKeys,ze=Ce===void 0?[]:Ce;if(!ve.checkStrictly){var _e=Object(H.a)(ke,!0,xe);ke=_e.checkedKeys,ze=_e.halfCheckedKeys}Pe.checkedKeys=ke,Pe.halfCheckedKeys=ze}}return Ge("loadedKeys")&&(Pe.loadedKeys=ve.loadedKeys),Pe}}]),fe}(o.Component);W.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:[]},W.TreeNode=b.a;var V=W,z=I.b=V},fE02:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),p=e("vZ6x"),v=e("b9oc"),h=e("72pK"),u=e("Kagy"),o=e("IUWy");e("3TkU");var i=u.toolbox.dataZoom,r=f.each,a="\0_ec_\0toolbox-dataZoom_";function c(w,b,E){(this._brushController=new y(E.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}c.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:f.clone(i.title)};var n=c.prototype;n.render=function(w,b,E,A){this.model=w,this.ecModel=b,this.api=E,d(w,b,this,A,E),s(w,b)},n.onclick=function(w,b,E){l[E].call(this)},n.remove=function(w,b){this._brushController.unmount()},n.dispose=function(w,b){this._brushController.dispose()};var l={zoom:function(){var w=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:w})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(w,b){if(!b.isEnd||!w.length)return;var E={},A=this.ecModel;this._brushController.updateCovers([]);var S=new p(t(this.model.option),A,{include:["grid"]});S.matchOutputRanges(w,A,function(x,C,_){if(_.type!=="cartesian2d")return;var N=x.brushType;N==="rect"?(T("x",_,C[0]),T("y",_,C[1])):T({lineX:"x",lineY:"y"}[N],_,C)}),v.push(A,E),this._dispatchZoomAction(E);function T(x,C,_){var N=C.getAxis(x),F=N.model,k=O(x,F,A),P=k.findRepresentativeAxisProxy(F).getMinMaxSpan();(P.minValueSpan!=null||P.maxValueSpan!=null)&&(_=h(0,_.slice(),N.scale.getExtent(),0,P.minValueSpan,P.maxValueSpan)),k&&(E[k.id]={dataZoomId:k.id,startValue:_[0],endValue:_[1]})}function O(x,C,_){var N;return _.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var k=F.getAxisModel(x,C.componentIndex);k&&(N=F)}),N}},n._dispatchZoomAction=function(w){var b=[];r(w,function(E,A){b.push(f.clone(E))}),b.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:b})};function t(w){var b={};return f.each(["xAxisIndex","yAxisIndex"],function(E){b[E]=w[E],b[E]==null&&(b[E]="all"),(b[E]===!1||b[E]==="none")&&(b[E]=[])}),b}function s(w,b){w.setIconStatus("back",v.count(b)>1?"emphasis":"normal")}function d(w,b,E,A,S){var T=E._isZoomActive;A&&A.type==="takeGlobalCursor"&&(T=A.key==="dataZoomSelect"?A.dataZoomSelectActive:!1),E._isZoomActive=T,w.setIconStatus("zoom",T?"emphasis":"normal");var O=new p(t(w.option),b,{include:["grid"]});E._brushController.setPanels(O.makePanelOpts(S,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}o.register("dataZoom",c),g.registerPreprocessor(function(w){if(!w)return;var b=w.dataZoom||(w.dataZoom=[]);f.isArray(b)||(w.dataZoom=b=[b]);var E=w.toolbox;if(E&&(f.isArray(E)&&(E=E[0]),E&&E.feature)){var A=E.feature.dataZoom;S("xAxis",A),S("yAxis",A)}function S(O,x){if(!x)return;var C=O+"Index",_=x[C];_!=null&&_!=="all"&&!f.isArray(_)&&(_=_===!1||_==="none"?[]:[_]),T(O,function(N,F){if(_!=null&&_!=="all"&&f.indexOf(_,F)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:a+O+F};k[C]=F,b.push(k)})}function T(O,x){var C=w[O];f.isArray(C)||(C=C?[C]:[]),r(C,x)}});var m=c;D.exports=m},fGT3:function(D,I,e){var g=e("4kuk"),f=e("Xi7e"),y=e("ebwN");function p(){this.size=0,this.__data__={hash:new g,map:new(y||f),string:new g}}D.exports=p},fNCr:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("tSko"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},"fR/l":function(D,I,e){var g=e("CH3K"),f=e("Z0cm");function y(p,v,h){var u=v(p);return f(p)?u:g(u,h(p))}D.exports=y},fUL4:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("r+aA"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},fW2E:function(D,I){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,y,p){return e.hasOwnProperty(y)?p*=f.dpr:p}D.exports=g},"fc+c":function(D,I,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(y,p,v,h){this.dataZoomModel=y,this.ecModel=p,this.api=v},getTargetCoordInfo:function(){var y=this.dataZoomModel,p=this.ecModel,v={};y.eachTargetAxis(function(u,o){var i=p.getComponent(u.axis,o);if(i){var r=i.getCoordSysModel();r&&h(r,i,v[r.mainType]||(v[r.mainType]=[]),r.componentIndex)}},this);function h(u,o,i,r){for(var a,c=0;c<i.length;c++)if(i[c].model===u){a=i[c];break}a||i.push(a={model:u,axisModels:[],coordIndex:r}),a.axisModels.push(o)}return v}});D.exports=f},fjKi:function(D,I,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(D,I,e){var g=e("bYtY"),f=e("QBsz"),y=e("oVpE"),p=e("f5HG"),v=e("IwbS"),h=e("OELB"),u=h.round,o=["fromSymbol","toSymbol"];function i(d){return"_"+d+"Type"}function r(d,m,w){var b=m.getItemVisual(w,"color"),E=m.getItemVisual(w,d),A=m.getItemVisual(w,d+"Size");if(!E||E==="none")return;g.isArray(A)||(A=[A,A]);var S=y.createSymbol(E,-A[0]/2,-A[1]/2,A[0],A[1],b);return S.name=d,S}function a(d){var m=new p({name:"line",subPixelOptimize:!0});return c(m.shape,d),m}function c(d,m){d.x1=m[0][0],d.y1=m[0][1],d.x2=m[1][0],d.y2=m[1][1],d.percent=1;var w=m[2];w?(d.cpx1=w[0],d.cpy1=w[1]):(d.cpx1=NaN,d.cpy1=NaN)}function n(){var d=this,m=d.childOfName("fromSymbol"),w=d.childOfName("toSymbol"),b=d.childOfName("label");if(!m&&!w&&b.ignore)return;for(var E=1,A=this.parent;A;)A.scale&&(E/=A.scale[0]),A=A.parent;var S=d.childOfName("line");if(!this.__dirty&&!S.__dirty)return;var T=S.shape.percent,O=S.pointAt(0),x=S.pointAt(T),C=f.sub([],x,O);if(f.normalize(C,C),m){m.attr("position",O);var _=S.tangentAt(0);m.attr("rotation",Math.PI/2-Math.atan2(_[1],_[0])),m.attr("scale",[E*T,E*T])}if(w){w.attr("position",x);var _=S.tangentAt(1);w.attr("rotation",-Math.PI/2-Math.atan2(_[1],_[0])),w.attr("scale",[E*T,E*T])}if(!b.ignore){b.attr("position",x);var N,F,k,P,j=b.__labelDistance,K=j[0]*E,R=j[1]*E,B=T/2,_=S.tangentAt(B),U=[_[1],-_[0]],H=S.pointAt(B);U[1]>0&&(U[0]=-U[0],U[1]=-U[1]);var W=_[0]<0?-1:1;if(b.__position!=="start"&&b.__position!=="end"){var V=-Math.atan2(_[1],_[0]);x[0]<O[0]&&(V=Math.PI+V),b.attr("rotation",V)}var z;switch(b.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-R,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=R,k="top";break;default:z=0,k="middle"}switch(b.__position){case"end":N=[C[0]*K+x[0],C[1]*R+x[1]],F=C[0]>.8?"left":C[0]<-.8?"right":"center",k=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":N=[-C[0]*K+O[0],-C[1]*R+O[1]],F=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":N=[K*W+O[0],O[1]+z],F=_[0]<0?"right":"left",P=[-K*W,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":N=[H[0],H[1]+z],F="center",P=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":N=[-K*W+x[0],x[1]+z],F=_[0]>=0?"right":"left",P=[K*W,-z];break}b.attr({style:{textVerticalAlign:b.__verticalAlign||k,textAlign:b.__textAlign||F},position:N,scale:[E,E],origin:P})}}function l(d,m,w){v.Group.call(this),this._createLine(d,m,w)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(d,m,w){var b=d.hostModel,E=d.getItemLayout(m),A=a(E);A.shape.percent=0,v.initProps(A,{shape:{percent:1}},b,m),this.add(A);var S=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),g.each(o,function(T){var O=r(T,d,m);this.add(O),this[i(T)]=d.getItemVisual(m,T)},this),this._updateCommonStl(d,m,w)},t.updateData=function(d,m,w){var b=d.hostModel,E=this.childOfName("line"),A=d.getItemLayout(m),S={shape:{}};c(S.shape,A),v.updateProps(E,S,b,m),g.each(o,function(T){var O=d.getItemVisual(m,T),x=i(T);if(this[x]!==O){this.remove(this.childOfName(T));var C=r(T,d,m);this.add(C)}this[x]=O},this),this._updateCommonStl(d,m,w)},t._updateCommonStl=function(d,m,w){var b=d.hostModel,E=this.childOfName("line"),A=w&&w.lineStyle,S=w&&w.hoverLineStyle,T=w&&w.labelModel,O=w&&w.hoverLabelModel;if(!w||d.hasItemOption){var x=d.getItemModel(m);A=x.getModel("lineStyle").getLineStyle(),S=x.getModel("emphasis.lineStyle").getLineStyle(),T=x.getModel("label"),O=x.getModel("emphasis.label")}var C=d.getItemVisual(m,"color"),_=g.retrieve3(d.getItemVisual(m,"opacity"),A.opacity,1);E.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:_},A)),E.hoverStyle=S,g.each(o,function(W){var V=this.childOfName(W);V&&(V.setColor(C),V.setStyle({opacity:_}))},this);var N=T.getShallow("show"),F=O.getShallow("show"),k=this.childOfName("label"),P,j;if((N||F)&&(P=C||"#000",j=b.getFormattedLabel(m,"normal",d.dataType),j==null)){var K=b.getRawValue(m);j=K==null?d.getName(m):isFinite(K)?u(K):K}var R=N?j:null,B=F?g.retrieve2(b.getFormattedLabel(m,"emphasis",d.dataType),j):null,U=k.style;if(R!=null||B!=null){v.setTextStyle(k.style,T,{text:R},{autoColor:P}),k.__textAlign=U.textAlign,k.__verticalAlign=U.textVerticalAlign,k.__position=T.get("position")||"middle";var H=T.get("distance");g.isArray(H)||(H=[H,H]),k.__labelDistance=H}B!=null?k.hoverStyle={text:B,textFill:O.getTextColor(!0),fontStyle:O.getShallow("fontStyle"),fontWeight:O.getShallow("fontWeight"),fontSize:O.getShallow("fontSize"),fontFamily:O.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!N&&!F,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(d,m){this.setLinePoints(d.getItemLayout(m))},t.setLinePoints=function(d){var m=this.childOfName("line");c(m.shape,d),m.dirty()},g.inherits(l,v.Group);var s=l;D.exports=s},fmMI:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.each,v=y.filter,h=y.map,u=y.isArray,o=y.indexOf,i=y.isObject,r=y.isString,a=y.createHashMap,c=y.assert,n=y.clone,l=y.merge,t=y.extend,s=y.mixin,d=e("4NO4"),m=e("Qxkt"),w=e("bLfw"),b=e("iXHM"),E=e("5Hur"),A=e("D5nY"),S=A.resetSourceDefaulter,T="\0_ec_inner",O=m.extend({init:function(R,B,U,H){U=U||{},this.option=null,this._theme=new m(U),this._optionManager=H},setOption:function(R,B){c(!(T in R),"please use chart.getOption()"),this._optionManager.setOption(R,B),this.resetOption(null)},resetOption:function(R){var B=!1,U=this._optionManager;if(!R||R==="recreate"){var H=U.mountOption(R==="recreate");!this.option||R==="recreate"?_.call(this,H):(this.restoreData(),this.mergeOption(H)),B=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var W=U.getTimelineOption(this);W&&(this.mergeOption(W),B=!0)}if(!R||R==="recreate"||R==="media"){var V=U.getMediaOption(this,this._api);V.length&&p(V,function(z){this.mergeOption(z,B=!0)},this)}return B},mergeOption:function(R){var B=this.option,U=this._componentsMap,H=[];S(this),p(R,function(V,z){if(V==null)return;w.hasClass(z)?z&&H.push(z):B[z]=B[z]==null?n(V):l(B[z],V,!0)}),w.topologicalTravel(H,w.getAllClassMainTypes(),W,this);function W(V,z){var X=d.normalizeToArray(R[V]),q=d.mappingToExists(U.get(V),X);d.makeIdAndName(q),p(q,function(G,ve){var Se=G.option;i(Se)&&(G.keyInfo.mainType=V,G.keyInfo.subType=F(V,Se,G.exist))});var fe=N(U,z);B[V]=[],U.set(V,[]),p(q,function(G,ve){var Se=G.exist,ge=G.option;if(c(i(ge)||Se,"Empty component definition"),!ge)Se.mergeOption({},this),Se.optionUpdated({},!1);else{var Pe=w.getClass(V,G.keyInfo.subType,!0);if(Se&&Se.constructor===Pe)Se.name=G.keyInfo.name,Se.mergeOption(ge,this),Se.optionUpdated(ge,!1);else{var Ge=t({dependentModels:fe,componentIndex:ve},G.keyInfo);Se=new Pe(ge,this,this,Ge),t(Se,Ge),Se.init(ge,this,this,Ge),Se.optionUpdated(null,!0)}}U.get(V)[ve]=Se,B[V][ve]=Se.option},this),V==="series"&&k(this,U.get("series"))}this._seriesIndicesMap=a(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=n(this.option);return p(R,function(B,U){if(w.hasClass(U)){for(var B=d.normalizeToArray(B),H=B.length-1;H>=0;H--)d.isIdInner(B[H])&&B.splice(H,1);R[U]=B}}),delete R[T],R},getTheme:function(){return this._theme},getComponent:function(R,B){var U=this._componentsMap.get(R);if(U)return U[B||0]},queryComponents:function(R){var B=R.mainType;if(!B)return[];var U=R.index,H=R.id,W=R.name,V=this._componentsMap.get(B);if(!V||!V.length)return[];var z;if(U!=null)u(U)||(U=[U]),z=v(h(U,function(fe){return V[fe]}),function(fe){return!!fe});else if(H!=null){var X=u(H);z=v(V,function(fe){return X&&o(H,fe.id)>=0||!X&&fe.id===H})}else if(W!=null){var q=u(W);z=v(V,function(fe){return q&&o(W,fe.name)>=0||!q&&fe.name===W})}else z=V.slice();return P(z,R)},findComponents:function(R){var B=R.query,U=R.mainType,H=V(B),W=H?this.queryComponents(H):this._componentsMap.get(U);return z(P(W,R));function V(X){var q=U+"Index",fe=U+"Id",G=U+"Name";return X&&(X[q]!=null||X[fe]!=null||X[G]!=null)?{mainType:U,index:X[q],id:X[fe],name:X[G]}:null}function z(X){return R.filter?v(X,R.filter):X}},eachComponent:function(R,B,U){var H=this._componentsMap;if(typeof R=="function")U=B,B=R,H.each(function(V,z){p(V,function(X,q){B.call(U,z,X,q)})});else if(r(R))p(H.get(R),B,U);else if(i(R)){var W=this.findComponents(R);p(W,B,U)}},getSeriesByName:function(R){var B=this._componentsMap.get("series");return v(B,function(U){return U.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var B=this._componentsMap.get("series");return v(B,function(U){return U.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,B){j(this),p(this._seriesIndices,function(U){var H=this._componentsMap.get("series")[U];R.call(B,H,U)},this)},eachRawSeries:function(R,B){p(this._componentsMap.get("series"),R,B)},eachSeriesByType:function(R,B,U){j(this),p(this._seriesIndices,function(H){var W=this._componentsMap.get("series")[H];W.subType===R&&B.call(U,W,H)},this)},eachRawSeriesByType:function(R,B,U){return p(this.getSeriesByType(R),B,U)},isSeriesFiltered:function(R){return j(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,B){j(this);var U=v(this._componentsMap.get("series"),R,B);k(this,U)},restoreData:function(R){var B=this._componentsMap;k(this,B.get("series"));var U=[];B.each(function(H,W){U.push(W)}),w.topologicalTravel(U,w.getAllClassMainTypes(),function(H,W){p(B.get(H),function(V){(H!=="series"||!x(V,R))&&V.restoreData()})})}});function x(R,B){if(B){var U=B.seiresIndex,H=B.seriesId,W=B.seriesName;return U!=null&&R.componentIndex!==U||H!=null&&R.id!==H||W!=null&&R.name!==W}}function C(R,B){var U=R.color&&!R.colorLayer;p(B,function(H,W){if(W==="colorLayer"&&U)return;w.hasClass(W)||(typeof H=="object"?R[W]=R[W]?l(R[W],H,!1):n(H):R[W]==null&&(R[W]=H))})}function _(R){R=R,this.option={},this.option[T]=1,this._componentsMap=a({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(R,this._theme.option),l(R,b,!1),this.mergeOption(R)}function N(R,B){u(B)||(B=B?[B]:[]);var U={};return p(B,function(H){U[H]=(R.get(H)||[]).slice()}),U}function F(R,B,U){var H=B.type?B.type:U?U.subType:w.determineSubType(R,B);return H}function k(R,B){R._seriesIndicesMap=a(R._seriesIndices=h(B,function(U){return U.componentIndex})||[])}function P(R,B){return B.hasOwnProperty("subType")?v(R,function(U){return U.subType===B.subType}):R}function j(R){}s(O,E);var K=O;D.exports=K},fmRc:function(D,I,e){var g=e("Xi7e"),f=e("77Zs"),y=e("L8xA"),p=e("gCq4"),v=e("VaNO"),h=e("0Cz8");function u(o){var i=this.__data__=new g(o);this.size=i.size}u.prototype.clear=f,u.prototype.delete=y,u.prototype.get=p,u.prototype.has=v,u.prototype.set=h,D.exports=u},ftKO:function(D,I){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}D.exports=g},fyUT:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("TSYQ"),o=e.n(u),i=e("Ff2n"),r=e("rePB"),a=e("1OyB"),c=e("vuIU"),n=e("Ji7U"),l=e("md7G"),t=e("foSv"),s=e("4IlW");function d(z,X){var q=Object.keys(z);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(z);X&&(fe=fe.filter(function(G){return Object.getOwnPropertyDescriptor(z,G).enumerable})),q.push.apply(q,fe)}return q}function m(z){for(var X=1;X<arguments.length;X++){var q=arguments[X]!=null?arguments[X]:{};X%2?d(Object(q),!0).forEach(function(fe){Object(r.a)(z,fe,q[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(q)):d(Object(q)).forEach(function(fe){Object.defineProperty(z,fe,Object.getOwnPropertyDescriptor(q,fe))})}return z}function w(z){var X=b();return function(){var fe=Object(t.a)(z),G;if(X){var ve=Object(t.a)(this).constructor;G=Reflect.construct(fe,arguments,ve)}else G=fe.apply(this,arguments);return Object(l.a)(this,G)}}function b(){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(z){return!1}}function E(){}function A(z){z.preventDefault()}var S=function(X){return X.replace(/[^\w.-]+/g,"")},T=200,O=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(X){return X!=null},_=function(X,q){return q===X||typeof q=="number"&&typeof X=="number"&&isNaN(q)&&isNaN(X)},N=function(z){Object(n.a)(q,z);var X=w(q);function q(fe){var G;Object(a.a)(this,q),G=X.call(this,fe),G.onKeyDown=function(ge){var Pe=G.props,Ge=Pe.onKeyDown,pt=Pe.onPressEnter;if(ge.keyCode===s.a.UP){var Te=G.getRatio(ge);G.up(ge,Te,null),G.stop()}else if(ge.keyCode===s.a.DOWN){var xe=G.getRatio(ge);G.down(ge,xe,null),G.stop()}else ge.keyCode===s.a.ENTER&&pt&&pt(ge);if(G.recordCursorPosition(),G.lastKeyCode=ge.keyCode,Ge){for(var lt=arguments.length,Ie=new Array(lt>1?lt-1:0),de=1;de<lt;de++)Ie[de-1]=arguments[de];Ge.apply(void 0,[ge].concat(Ie))}},G.onKeyUp=function(ge){var Pe=G.props.onKeyUp;if(G.stop(),G.recordCursorPosition(),Pe){for(var Ge=arguments.length,pt=new Array(Ge>1?Ge-1:0),Te=1;Te<Ge;Te++)pt[Te-1]=arguments[Te];Pe.apply(void 0,[ge].concat(pt))}},G.onChange=function(ge){var Pe=G.props.onChange;G.state.focused&&(G.inputting=!0),G.rawInput=G.props.parser(G.getValueFromEvent(ge)),G.setState({inputValue:G.rawInput}),Pe(G.toNumber(G.rawInput))},G.onMouseUp=function(){var ge=G.props.onMouseUp;G.recordCursorPosition(),ge&&ge.apply(void 0,arguments)},G.onFocus=function(){var ge;G.setState({focused:!0}),(ge=G.props).onFocus.apply(ge,arguments)},G.onBlur=function(){var ge=G.props.onBlur;G.inputting=!1,G.setState({focused:!1});var Pe=G.getCurrentValidValue(G.state.inputValue),Ge=G.setValue(Pe,E);if(ge){var pt=G.input.value,Te=G.getInputDisplayValue({focus:!1,value:Ge});G.input.value=Te&&Number(Te),ge.apply(void 0,arguments),G.input.value=pt}},G.getRatio=function(ge){var Pe=1;return ge.metaKey||ge.ctrlKey?Pe=.1:ge.shiftKey&&(Pe=10),Pe},G.getFullNum=function(ge){return isNaN(ge)?ge:/e/i.test(String(ge))?Number(ge).toFixed(18).replace(/\.?0+$/,""):ge},G.getPrecision=function(ge){if(C(G.props.precision))return G.props.precision;var Pe=String(ge);if(Pe.indexOf("e-")>=0)return parseInt(Pe.slice(Pe.indexOf("e-")+2),10);var Ge=0;return Pe.indexOf(".")>=0&&(Ge=Pe.length-Pe.indexOf(".")-1),Ge},G.getInputDisplayValue=function(ge){var Pe=ge||G.state,Ge=Pe.focused,pt=Pe.inputValue,Te=Pe.value,xe;Ge?xe=pt:xe=G.toPrecisionAsStep(Te),xe==null&&(xe="");var lt=G.formatWrapper(xe);return C(G.props.decimalSeparator)&&(lt=lt.toString().replace(".",G.props.decimalSeparator)),lt},G.recordCursorPosition=function(){try{G.cursorStart=G.input.selectionStart,G.cursorEnd=G.input.selectionEnd,G.currentValue=G.input.value,G.cursorBefore=G.input.value.substring(0,G.cursorStart),G.cursorAfter=G.input.value.substring(G.cursorEnd)}catch(ge){}},G.restoreByAfter=function(ge){if(ge===void 0)return!1;var Pe=G.input.value,Ge=Pe.lastIndexOf(ge);if(Ge===-1)return!1;var pt=G.cursorBefore.length;return G.lastKeyCode===s.a.DELETE&&G.cursorBefore.charAt(pt-1)===ge[0]?(G.fixCaret(pt,pt),!0):Ge+ge.length===Pe.length?(G.fixCaret(Ge,Ge),!0):!1},G.partRestoreByAfter=function(ge){return ge===void 0?!1:Array.prototype.some.call(ge,function(Pe,Ge){var pt=ge.substring(Ge);return G.restoreByAfter(pt)})},G.isNotCompleteNumber=function(ge){return isNaN(ge)||ge===""||ge===null||ge&&ge.toString().indexOf(".")===ge.toString().length-1},G.stop=function(){G.autoStepTimer&&clearTimeout(G.autoStepTimer)},G.down=function(ge,Pe,Ge){G.pressingUpOrDown=!0,G.step("down",ge,Pe,Ge)},G.up=function(ge,Pe,Ge){G.pressingUpOrDown=!0,G.step("up",ge,Pe,Ge)},G.saveInput=function(ge){G.input=ge};var ve=fe.value;ve===void 0&&(ve=fe.defaultValue),G.state={focused:fe.autoFocus};var Se=G.getValidValue(G.toNumber(ve));return G.state=m(m({},G.state),{},{inputValue:G.toPrecisionAsStep(Se),value:Se}),G}return Object(c.a)(q,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(G){var ve=this.props,Se=ve.value,ge=ve.onChange,Pe=ve.max,Ge=ve.min,pt=this.state.focused;if(G){if(!_(G.value,Se)||!_(G.max,Pe)||!_(G.min,Ge)){var Te=pt?Se:this.getValidValue(Se),xe;this.pressingUpOrDown?xe=Te:this.inputting?xe=this.rawInput:xe=this.toPrecisionAsStep(Te),this.setState({value:Te,inputValue:xe})}var lt="value"in this.props?Se:this.state.value;"max"in this.props&&G.max!==Pe&&typeof lt=="number"&<>Pe&&ge&&ge(Pe),"min"in this.props&&G.min!==Ge&&typeof lt=="number"&<<Ge&&ge&&ge(Ge)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Ie=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?Ie=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(Ie=this.cursorStart):Ie=this.input.value.length,this.fixCaret(Ie,Ie)}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(de){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(G){var ve=G;return ve===""?ve="":this.isNotCompleteNumber(parseFloat(ve))?ve=this.state.value:ve=this.getValidValue(ve),this.toNumber(ve)}},{key:"getValueFromEvent",value:function(G){var ve=G.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(ve=ve.replace(this.props.decimalSeparator,".")),ve}},{key:"getValidValue",value:function(G){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,ge=parseFloat(G);return isNaN(ge)?G:(ge<ve&&(ge=ve),ge>Se&&(ge=Se),ge)}},{key:"setValue",value:function(G,ve){var Se=this.props.precision,ge=this.isNotCompleteNumber(parseFloat(G))?null:parseFloat(G),Pe=this.state.value,Ge=Pe===void 0?null:Pe,pt=this.state.inputValue,Te=pt===void 0?null:pt,xe=typeof ge=="number"?ge.toFixed(Se):"".concat(ge),lt=ge!==Ge||xe!=="".concat(Te);return"value"in this.props?(Te=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:Te},ve)):this.setState({value:ge,inputValue:this.toPrecisionAsStep(G)},ve),lt&&this.props.onChange(ge),ge}},{key:"getMaxPrecision",value:function(G){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=this.props,ge=Se.precision,Pe=Se.step;if(C(ge))return ge;var Ge=this.getPrecision(ve),pt=this.getPrecision(Pe),Te=this.getPrecision(G);return G?Math.max(Te,Ge+pt):Ge+pt}},{key:"getPrecisionFactor",value:function(G){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Se=this.getMaxPrecision(G,ve);return Math.pow(10,Se)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(G){return this.props.formatter?this.props.formatter(G):G}},{key:"toPrecisionAsStep",value:function(G){if(this.isNotCompleteNumber(G)||G==="")return G;var ve=Math.abs(this.getMaxPrecision(G));return isNaN(ve)?G.toString():Number(G).toFixed(ve)}},{key:"toNumber",value:function(G){var ve=this.props.precision,Se=this.state.focused,ge=G&&G.length>16&&Se;return this.isNotCompleteNumber(G)||ge?G:C(ve)?Math.round(G*Math.pow(10,ve))/Math.pow(10,ve):Number(G)}},{key:"upStep",value:function(G,ve){var Se=this.props.step,ge=this.getPrecisionFactor(G,ve),Pe=Math.abs(this.getMaxPrecision(G,ve)),Ge=((ge*G+ge*Se*ve)/ge).toFixed(Pe);return this.toNumber(Ge)}},{key:"downStep",value:function(G,ve){var Se=this.props.step,ge=this.getPrecisionFactor(G,ve),Pe=Math.abs(this.getMaxPrecision(G,ve)),Ge=((ge*G-ge*Se*ve)/ge).toFixed(Pe);return this.toNumber(Ge)}},{key:"step",value:function(G,ve){var Se=this,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Pe=arguments.length>3?arguments[3]:void 0;this.stop(),ve&&(ve.persist(),ve.preventDefault());var Ge=this.props;if(Ge.disabled)return;var pt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(pt))return;var Te=this["".concat(G,"Step")](pt,ge),xe=Te>Ge.max||Te<Ge.min;if(Te>Ge.max?Te=Ge.max:Te<Ge.min&&(Te=Ge.min),this.setValue(Te,null),this.setState({focused:!0},function(){Se.pressingUpOrDown=!1}),xe)return;this.autoStepTimer=setTimeout(function(){Se[G](ve,ge,!0)},Pe?T:O)}},{key:"fixCaret",value:function(G,ve){if(G===void 0||ve===void 0||!this.input||!this.input.value)return;try{var Se=this.input.selectionStart,ge=this.input.selectionEnd;(G!==Se||ve!==ge)&&this.input.setSelectionRange(G,ve)}catch(Pe){}}},{key:"render",value:function(){var G,ve=this.props,Se=ve.prefixCls,ge=ve.disabled,Pe=ve.readOnly,Ge=ve.useTouch,pt=ve.autoComplete,Te=ve.upHandler,xe=ve.downHandler,lt=ve.className,Ie=ve.max,de=ve.min,ee=ve.style,se=ve.title,ke=ve.onMouseEnter,Ce=ve.onMouseLeave,ze=ve.onMouseOver,_e=ve.onMouseOut,ae=ve.required,me=ve.onClick,Oe=ve.tabIndex,Ze=ve.type,vt=ve.placeholder,Ct=ve.id,Be=ve.inputMode,Rt=ve.pattern,He=ve.step,wt=ve.maxLength,Ye=ve.autoFocus,et=ve.name,rt=ve.onPaste,st=Object(i.a)(ve,["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"]),Ve=this.state,ie=Ve.value,$=Ve.focused,it=o()(Se,(G={},Object(r.a)(G,lt,!!lt),Object(r.a)(G,"".concat(Se,"-disabled"),ge),Object(r.a)(G,"".concat(Se,"-focused"),$),G)),Qe={};Object.keys(st).forEach(function(he){(he.substr(0,5)==="data-"||he.substr(0,5)==="aria-"||he==="role")&&(Qe[he]=st[he])});var ye=!Pe&&!ge,Zt=this.getInputDisplayValue(null),dt=(ie||ie===0)&&(isNaN(ie)||Number(ie)>=Ie),ct=(ie||ie===0)&&(isNaN(ie)||Number(ie)<=de),yt=dt||ge||Pe,It=ct||ge||Pe,or=o()("".concat(Se,"-handler"),"".concat(Se,"-handler-up"),Object(r.a)({},"".concat(Se,"-handler-up-disabled"),yt)),Bt=o()("".concat(Se,"-handler"),"".concat(Se,"-handler-down"),Object(r.a)({},"".concat(Se,"-handler-down-disabled"),It)),Ae=Ge?{onTouchStart:yt?E:this.up,onTouchEnd:this.stop}:{onMouseDown:yt?E:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},pe=Ge?{onTouchStart:It?E:this.down,onTouchEnd:this.stop}:{onMouseDown:It?E:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:it,style:ee,title:se,onMouseEnter:ke,onMouseLeave:Ce,onMouseOver:ze,onMouseOut:_e,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(Se,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},Ae,{role:"button","aria-label":"Increase Value","aria-disabled":yt,className:or}),Te||h.a.createElement("span",{unselectable:"on",className:"".concat(Se,"-handler-up-inner"),onClick:A})),h.a.createElement("span",Object.assign({unselectable:"on"},pe,{role:"button","aria-label":"Decrease Value","aria-disabled":It,className:Bt}),xe||h.a.createElement("span",{unselectable:"on",className:"".concat(Se,"-handler-down-inner"),onClick:A}))),h.a.createElement("div",{className:"".concat(Se,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":de,"aria-valuemax":Ie,"aria-valuenow":ie,required:ae,type:Ze,placeholder:vt,onPaste:rt,onClick:me,onMouseUp:this.onMouseUp,className:"".concat(Se,"-input"),tabIndex:Oe,autoComplete:pt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:ye?this.onKeyDown:E,onKeyUp:ye?this.onKeyUp:E,autoFocus:Ye,maxLength:wt,readOnly:Pe,disabled:ge,max:Ie,min:de,step:He,name:et,title:se,id:Ct,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Zt),pattern:Rt,inputMode:Be},Qe))))}}]),q}(h.a.Component);N.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:x,min:-x,step:1,style:{},onChange:E,onKeyDown:E,onPressEnter:E,onFocus:E,onBlur:E,parser:S,required:!1,autoComplete:"off"};var F=N,k=F,P=e("FH2Y"),j=e.n(P),K=e("HQEm"),R=e.n(K),B=e("H84U"),U=e("3Nzz"),H=function(z,X){var q={};for(var fe in z)Object.prototype.hasOwnProperty.call(z,fe)&&X.indexOf(fe)<0&&(q[fe]=z[fe]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,fe=Object.getOwnPropertySymbols(z);G<fe.length;G++)X.indexOf(fe[G])<0&&Object.prototype.propertyIsEnumerable.call(z,fe[G])&&(q[fe[G]]=z[fe[G]]);return q},W=v.forwardRef(function(z,X){var q=function(G){var ve=G.getPrefixCls,Se=G.direction,ge=z.className,Pe=z.size,Ge=z.prefixCls,pt=z.readOnly,Te=H(z,["className","size","prefixCls","readOnly"]),xe=ve("input-number",Ge),lt=v.createElement(j.a,{className:"".concat(xe,"-handler-up-inner")}),Ie=v.createElement(R.a,{className:"".concat(xe,"-handler-down-inner")});return v.createElement(U.b.Consumer,null,function(de){var ee,se=Pe||de,ke=o()((ee={},p()(ee,"".concat(xe,"-lg"),se==="large"),p()(ee,"".concat(xe,"-sm"),se==="small"),p()(ee,"".concat(xe,"-rtl"),Se==="rtl"),p()(ee,"".concat(xe,"-readonly"),pt),ee),ge);return v.createElement(k,f()({ref:X,className:ke,upHandler:lt,downHandler:Ie,prefixCls:xe,readOnly:pt},Te))})};return v.createElement(B.a,null,q)});W.defaultProps={step:1};var V=I.a=W},g0SD:function(D,I,e){var g=e("bYtY"),f=e("9wZj"),y=e("OELB"),p=e("YXkt"),v=e("kj2x"),h=e("iPDy");function u(r,a,c){var n=a.coordinateSystem;r.each(function(l){var t=r.getItemModel(l),s,d=y.parsePercent(t.get("x"),c.getWidth()),m=y.parsePercent(t.get("y"),c.getHeight());if(!isNaN(d)&&!isNaN(m))s=[d,m];else if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,l));else if(n){var w=r.get(n.dimensions[0],l),b=r.get(n.dimensions[1],l);s=n.dataToPoint([w,b])}isNaN(d)||(s[0]=d),isNaN(m)||(s[1]=m),r.setItemLayout(l,s)})}var o=h.extend({type:"markPoint",updateTransform:function(r,a,c){a.eachSeries(function(n){var l=n.markPointModel;l&&(u(l.getData(),n,c),this.markerGroupMap.get(n.id).updateLayout(l))},this)},renderSeries:function(r,a,c,n){var l=r.coordinateSystem,t=r.id,s=r.getData(),d=this.markerGroupMap,m=d.get(t)||d.set(t,new f),w=i(l,r,a);a.setData(w),u(a.getData(),r,n),w.each(function(b){var E=w.getItemModel(b),A=E.getShallow("symbol"),S=E.getShallow("symbolSize"),T=g.isFunction(A),O=g.isFunction(S);if(T||O){var x=a.getRawValue(b),C=a.getDataParams(b);T&&(A=A(x,C)),O&&(S=S(x,C))}w.setItemVisual(b,{symbol:A,symbolSize:S,color:E.get("itemStyle.color")||s.getVisual("color")})}),m.updateData(w),this.group.add(m.group),w.eachItemGraphicEl(function(b){b.traverse(function(E){E.dataModel=a})}),m.__keep=!0,m.group.silent=a.get("silent")||r.get("silent")}});function i(r,a,c){var n;r?n=g.map(r&&r.dimensions,function(s){var d=a.getData().getDimensionInfo(a.getData().mapDimension(s))||{};return g.defaults({name:s},d)}):n=[{name:"value",type:"float"}];var l=new p(n,c),t=g.map(c.get("data"),g.curry(v.dataTransform,a));return r&&(t=g.filter(t,g.curry(v.dataFilter,r))),l.initData(t,null,r?v.dimValueGetter:function(s){return s.value}),l}D.exports=o},g7p0:function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("+TT/"),p=y.getLayoutParams,v=y.sizeCalculable,h=y.mergeLayoutParam,u=f.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(r,a,c,n){var l=p(r);u.superApply(this,"init",arguments),o(r,l)},mergeOption:function(r,a){u.superApply(this,"mergeOption",arguments),o(this.option,r)}});function o(r,a){var c=r.cellSize;g.isArray(c)?c.length===1&&(c[1]=c[0]):c=r.cellSize=[c,c];var n=g.map([0,1],function(l){return v(a,l)&&(c[l]="auto"),c[l]!=null&&c[l]!=="auto"});h(r,a,{type:"box",ignoreSize:n})}var i=u;D.exports=i},g9YV:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pED+"),p=e.n(y),v=e("+L6B"),h=e("R9oj"),u=e("7Kak"),o=e("sRBo"),i=e("qVdP"),r=e("T2oS"),a=e("DjyN"),c=e("5Dmo")},gCq4:function(D,I){function e(g){return this.__data__.get(g)}D.exports=e},gIYZ:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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"};I.default=g},gKaM:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},gPAo:function(D,I){function e(p){return p}function g(p,v,h,u,o){this._old=p,this._new=v,this._oldKeyGetter=h||e,this._newKeyGetter=u||e,this.context=o}g.prototype={constructor:g,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,h={},u={},o=[],i=[],r;for(f(p,h,o,"_oldKeyGetter",this),f(v,u,i,"_newKeyGetter",this),r=0;r<p.length;r++){var a=o[r],c=u[a];if(c!=null){var n=c.length;n?(n===1&&(u[a]=null),c=c.shift()):u[a]=null,this._update&&this._update(c,r)}else this._remove&&this._remove(r)}for(var r=0;r<i.length;r++){var a=i[r];if(u.hasOwnProperty(a)){var c=u[a];if(c==null)continue;if(!c.length)this._add&&this._add(c);else for(var l=0,n=c.length;l<n;l++)this._add&&this._add(c[l])}}}};function f(p,v,h,u,o){for(var i=0;i<p.length;i++){var r="_ec_"+o[u](p[i],i),a=v[r];a==null?(h.push(r),v[r]=i):(a.length||(v[r]=a=[a]),a.push(i))}}var y=g;D.exports=y},gRFJ:function(D,I,e){D.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("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(D){return D<10?"0"+D:D}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(D){return rx_escapable.lastIndex=0,rx_escapable.test(D)?'"'+D.replace(rx_escapable,function(I){var e=meta[I];return typeof e=="string"?e:"\\u"+("0000"+I.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+D+'"'}function str(D,I){var e,g,f,y,p=gap,v,h=I[D];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(D)),typeof rep=="function"&&(h=rep.call(I,D,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(h)==="[object Array]"){for(y=h.length,e=0;e<y;e+=1)v[e]=str(e,h)||"null";return f=v.length===0?"[]":gap?`[
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"]":"["+v.join(",")+"]",gap=p,f}if(rep&&typeof rep=="object")for(y=rep.length,e=0;e<y;e+=1)typeof rep[e]=="string"&&(g=rep[e],f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));else for(g in h)Object.prototype.hasOwnProperty.call(h,g)&&(f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));return f=v.length===0?"{}":gap?`{
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+p+"}":"{"+v.join(",")+"}",gap=p,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(D,I,e){var g;if(gap="",indent="",typeof e=="number")for(g=0;g<e;g+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=I,I&&typeof I!="function"&&(typeof I!="object"||typeof I.length!="number"))throw new Error("JSON.stringify");return str("",{"":D})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(D,I){var e,g,f=D[I];if(f&&typeof f=="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=walk(f,e),g!==void 0?f[e]=g:delete f[e]);return reviver.call(D,I,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(D){return"\\u"+("0000"+D.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(D,I,e){var g=e("+TT/"),f=e("bYtY"),y=e("4NO4"),p=y.groupData;function v(_,N,F){_.eachSeriesByType("sankey",function(k){var P=k.get("nodeWidth"),j=k.get("nodeGap"),K=h(k,N);k.layoutInfo=K;var R=K.width,B=K.height,U=k.getGraph(),H=U.nodes,W=U.edges;o(H);var V=f.filter(H,function(fe){return fe.getLayout().value===0}),z=V.length!==0?0:k.get("layoutIterations"),X=k.get("orient"),q=k.get("nodeAlign");u(H,W,P,j,R,B,z,X,q)})}function h(_,N){return g.getLayoutRect(_.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()})}function u(_,N,F,k,P,j,K,R,B){i(_,N,F,P,j,R,B),l(_,N,j,P,k,K,R),C(_,R)}function o(_){f.each(_,function(N){var F=O(N.outEdges,T),k=O(N.inEdges,T),P=N.getValue()||0,j=Math.max(F,k,P);N.setLayout({value:j},!0)})}function i(_,N,F,k,P,j,K){for(var R=[],B=[],U=[],H=[],W=0,V=0,z=0;z<N.length;z++)R[z]=1;for(z=0;z<_.length;z++)B[z]=_[z].inEdges.length,B[z]===0&&U.push(_[z]);for(var X=-1;U.length;){for(var q=0;q<U.length;q++){var fe=U[q],G=fe.hostGraph.data.getRawDataItem(fe.dataIndex),ve=G.depth!=null&&G.depth>=0;ve&&G.depth>X&&(X=G.depth),fe.setLayout({depth:ve?G.depth:W},!0),j==="vertical"?fe.setLayout({dy:F},!0):fe.setLayout({dx:F},!0);for(var Se=0;Se<fe.outEdges.length;Se++){var ge=fe.outEdges[Se],Pe=N.indexOf(ge);R[Pe]=0;var Ge=ge.node2,pt=_.indexOf(Ge);--B[pt]===0&&H.indexOf(Ge)<0&&H.push(Ge)}}++W,U=H,H=[]}for(z=0;z<R.length;z++)if(R[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Te=X>W-1?X:W-1;K&&K!=="left"&&a(_,K,j,Te);var V=j==="vertical"?(P-F)/Te:(k-F)/Te;n(_,V,j)}function r(_){var N=_.hostGraph.data.getRawDataItem(_.dataIndex);return N.depth!=null&&N.depth>=0}function a(_,N,F,k){if(N==="right"){for(var P=[],j=_,K=0;j.length;){for(var R=0;R<j.length;R++){var B=j[R];B.setLayout({skNodeHeight:K},!0);for(var U=0;U<B.inEdges.length;U++){var H=B.inEdges[U];P.indexOf(H.node1)<0&&P.push(H.node1)}}j=P,P=[],++K}f.each(_,function(W){r(W)||W.setLayout({depth:Math.max(0,k-W.getLayout().skNodeHeight)},!0)})}else N==="justify"&&c(_,k)}function c(_,N){f.each(_,function(F){!r(F)&&!F.outEdges.length&&F.setLayout({depth:N},!0)})}function n(_,N,F){f.each(_,function(k){var P=k.getLayout().depth*N;F==="vertical"?k.setLayout({y:P},!0):k.setLayout({x:P},!0)})}function l(_,N,F,k,P,j,K){var R=t(_,K);s(R,N,F,k,P,K),d(R,P,F,k,K);for(var B=1;j>0;j--)B*=.99,m(R,B,K),d(R,P,F,k,K),x(R,B,K),d(R,P,F,k,K)}function t(_,N){var F=[],k=N==="vertical"?"y":"x",P=p(_,function(j){return j.getLayout()[k]});return P.keys.sort(function(j,K){return j-K}),f.each(P.keys,function(j){F.push(P.buckets.get(j))}),F}function s(_,N,F,k,P,j){var K=Infinity;f.each(_,function(R){var B=R.length,U=0;f.each(R,function(W){U+=W.getLayout().value});var H=j==="vertical"?(k-(B-1)*P)/U:(F-(B-1)*P)/U;H<K&&(K=H)}),f.each(_,function(R){f.each(R,function(B,U){var H=B.getLayout().value*K;j==="vertical"?(B.setLayout({x:U},!0),B.setLayout({dx:H},!0)):(B.setLayout({y:U},!0),B.setLayout({dy:H},!0))})}),f.each(N,function(R){var B=+R.getValue()*K;R.setLayout({dy:B},!0)})}function d(_,N,F,k,P){var j=P==="vertical"?"x":"y";f.each(_,function(K){K.sort(function(q,fe){return q.getLayout()[j]-fe.getLayout()[j]});for(var R,B,U,H=0,W=K.length,V=P==="vertical"?"dx":"dy",z=0;z<W;z++)B=K[z],U=H-B.getLayout()[j],U>0&&(R=B.getLayout()[j]+U,P==="vertical"?B.setLayout({x:R},!0):B.setLayout({y:R},!0)),H=B.getLayout()[j]+B.getLayout()[V]+N;var X=P==="vertical"?k:F;if(U=H-N-X,U>0)for(R=B.getLayout()[j]-U,P==="vertical"?B.setLayout({x:R},!0):B.setLayout({y:R},!0),H=R,z=W-2;z>=0;--z)B=K[z],U=B.getLayout()[j]+B.getLayout()[V]+N-H,U>0&&(R=B.getLayout()[j]-U,P==="vertical"?B.setLayout({x:R},!0):B.setLayout({y:R},!0)),H=B.getLayout()[j]})}function m(_,N,F){f.each(_.slice().reverse(),function(k){f.each(k,function(P){if(P.outEdges.length){var j=O(P.outEdges,w,F)/O(P.outEdges,T,F);if(isNaN(j)){var K=P.outEdges.length;j=K?O(P.outEdges,b,F)/K:0}if(F==="vertical"){var R=P.getLayout().x+(j-S(P,F))*N;P.setLayout({x:R},!0)}else{var B=P.getLayout().y+(j-S(P,F))*N;P.setLayout({y:B},!0)}}})})}function w(_,N){return S(_.node2,N)*_.getValue()}function b(_,N){return S(_.node2,N)}function E(_,N){return S(_.node1,N)*_.getValue()}function A(_,N){return S(_.node1,N)}function S(_,N){return N==="vertical"?_.getLayout().x+_.getLayout().dx/2:_.getLayout().y+_.getLayout().dy/2}function T(_){return _.getValue()}function O(_,N,F){for(var k=0,P=_.length,j=-1;++j<P;){var K=+N.call(_,_[j],F);isNaN(K)||(k+=K)}return k}function x(_,N,F){f.each(_,function(k){f.each(k,function(P){if(P.inEdges.length){var j=O(P.inEdges,E,F)/O(P.inEdges,T,F);if(isNaN(j)){var K=P.inEdges.length;j=K?O(P.inEdges,A,F)/K:0}if(F==="vertical"){var R=P.getLayout().x+(j-S(P,F))*N;P.setLayout({x:R},!0)}else{var B=P.getLayout().y+(j-S(P,F))*N;P.setLayout({y:B},!0)}}})})}function C(_,N){var F=N==="vertical"?"x":"y";f.each(_,function(k){k.outEdges.sort(function(P,j){return P.node2.getLayout()[F]-j.node2.getLayout()[F]}),k.inEdges.sort(function(P,j){return P.node1.getLayout()[F]-j.node1.getLayout()[F]})}),f.each(_,function(k){var P=0,j=0;f.each(k.outEdges,function(K){K.setLayout({sy:P},!0),P+=K.getLayout().dy}),f.each(k.inEdges,function(K){K.setLayout({ty:j},!0),j+=K.getLayout().dy})})}D.exports=v},"giR+":function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("QbM5"),p=e.n(y)},gut8:function(D,I){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;I.ContextCachedBy=e,I.WILL_BE_RESTORED=g},gvm7:function(D,I,e){var g=e("bYtY"),f=e("dqUG");function y(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}y.prototype={constructor:y,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,h,u){this.el&&this._zr.remove(this.el);for(var o={},i=v,r="{marker",a="|}",c=i.indexOf(r);c>=0;){var n=i.indexOf(a),l=i.substr(c+r.length,n-c-r.length);l.indexOf("sub")>-1?o["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:o["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},i=i.substr(n+1),c=i.indexOf("{marker")}this.el=new f({style:{rich:o,text:v,textLineHeight:20,textBackgroundColor:u.get("backgroundColor"),textBorderRadius:u.get("borderRadius"),textFill:u.get("textStyle.color"),textPadding:u.get("padding")},z:u.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,h){this.el&&this.el.attr("position",[v,h])},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(g.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=y;D.exports=p},gwTy:function(D,I,e){},h54F:function(D,I,e){var g=e("ProS"),f=e("YXkt"),y=e("bYtY"),p=e("4NO4"),v=p.defaultEmphasis,h=e("Qxkt"),u=e("7aKB"),o=u.encodeHTML,i=e("I3/A"),r=e("xKMd"),a=g.extendSeriesModel({type:"series.graph",init:function(n){a.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new r(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){a.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){a.superApply(this,"mergeDefaultAndTheme",arguments),v(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],s=n.data||n.nodes||[],d=this;if(s&&t)return i(s,t,this,!0,m).data;function m(w,b){w.wrapMethod("getItemModel",function(x){var C=d._categoriesModels,_=x.getShallow("category"),N=C[_];return N&&(N.parentModel=x.parentModel,x.parentModel=N),x});var E=d.getModel("edgeLabel"),A=new h({label:E.option},E.parentModel,l),S=d.getModel("emphasis.edgeLabel"),T=new h({emphasis:{label:S.option}},S.parentModel,l);b.wrapMethod("getItemModel",function(x){return x.customizeGetParent(O),x});function O(x){return x=this.parsePath(x),x&&x[0]==="label"?A:x&&x[0]==="emphasis"&&x[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,l,t){if(t==="edge"){var s=this.getData(),d=this.getDataParams(n,t),m=s.graph.getEdgeByIndex(n),w=s.getName(m.node1.dataIndex),b=s.getName(m.node2.dataIndex),E=[];return w!=null&&E.push(w),b!=null&&E.push(b),E=o(E.join(" > ")),d.value&&(E+=" : "+o(d.value)),E}else return a.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=y.map(this.option.categories||[],function(t){return t.value!=null?t:y.extend({value:0},t)}),l=new f(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},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}}}}),c=a;D.exports=c},h7HQ:function(D,I,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,h){f.buildPath(v,h,!0)}});D.exports=y},h8O9:function(D,I,e){var g=e("bYtY"),f=g.map,y=e("zM3Q"),p=e("7hqr"),v=p.isDimensionStacked;function h(u){return{seriesType:u,plan:y(),reset:function(o){var i=o.getData(),r=o.coordinateSystem,a=o.pipelineContext,c=a.large;if(!r)return;var n=f(r.dimensions,function(d){return i.mapDimension(d)}).slice(0,2),l=n.length,t=i.getCalculationInfo("stackResultDimension");v(i,n[0])&&(n[0]=t),v(i,n[1])&&(n[1]=t);function s(d,m){for(var w=d.end-d.start,b=c&&new Float32Array(w*l),E=d.start,A=0,S=[],T=[];E<d.end;E++){var O;if(l===1){var x=m.get(n[0],E);O=!isNaN(x)&&r.dataToPoint(x,null,T)}else{var x=S[0]=m.get(n[0],E),C=S[1]=m.get(n[1],E);O=!isNaN(x)&&!isNaN(C)&&r.dataToPoint(S,null,T)}c?(b[A++]=O?O[0]:NaN,b[A++]=O?O[1]:NaN):m.setItemLayout(E,O&&O.slice()||[NaN,NaN])}c&&m.setLayout("symbolPoints",b)}return l&&{progress:s}}}}D.exports=h},hD7B:function(D,I,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function y(v){g.each(f,function(h){this[h]=g.bind(v[h],v)},this)}var p=y;D.exports=p},hFmY:function(D,I,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(y,p){p.eachComponent({mainType:"parallelAxis",query:y},function(v){v.axis.model.setActiveIntervals(y.intervals)})}),g.registerAction("parallelAxisExpand",function(y,p){p.eachComponent({mainType:"parallel",query:y},function(v){v.setAxisExpand(y)})})},hJvP:function(D,I,e){var g=e("2dDv"),f=e("IDmD");function y(p,v){var h=[];return p.eachComponent("parallel",function(u,o){var i=new g(u,p,v);i.name="parallel_"+o,i.resize(u,v),u.coordinateSystem=i,i.model=u,h.push(i)}),p.eachSeries(function(u){if(u.get("coordinateSystem")==="parallel"){var o=p.queryComponents({mainType:"parallel",index:u.get("parallelIndex"),id:u.get("parallelId")})[0];u.coordinateSystem=o.coordinateSystem}}),h}f.register("parallel",{create:y})},hM6l:function(D,I,e){var g=e("bYtY"),f=g.each,y=g.map,p=e("OELB"),v=p.linearMap,h=p.getPixelPrecision,u=p.round,o=e("4HMb"),i=o.createAxisTicks,r=o.createAxisLabels,a=o.calculateCategoryInterval,c=[0,1],n=function(d,m,w){this.dim=d,this.scale=m,this._extent=w||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(d){var m=this._extent,w=Math.min(m[0],m[1]),b=Math.max(m[0],m[1]);return d>=w&&d<=b},containData:function(d){return this.scale.contain(d)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(d){return h(d||this.scale.getExtent(),this._extent)},setExtent:function(d,m){var w=this._extent;w[0]=d,w[1]=m},dataToCoord:function(d,m){var w=this._extent,b=this.scale;return d=b.normalize(d),this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count())),v(d,c,w,m)},coordToData:function(d,m){var w=this._extent,b=this.scale;this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count()));var E=v(d,w,c,m);return this.scale.scale(E)},pointToData:function(d,m){},getTicksCoords:function(d){d=d||{};var m=d.tickModel||this.getTickModel(),w=i(this,m),b=w.ticks,E=y(b,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this),A=m.get("alignWithLabel");return t(this,E,A,d.clamp),E},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var d=this.model.getModel("minorTick"),m=d.get("splitNumber");m>0&&m<100||(m=5);var w=this.scale.getMinorTicks(m),b=y(w,function(E){return y(E,function(A){return{coord:this.dataToCoord(A),tickValue:A}},this)},this);return b},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var d=this._extent,m=this.scale.getExtent(),w=m[1]-m[0]+(this.onBand?1:0);w===0&&(w=1);var b=Math.abs(d[1]-d[0]);return Math.abs(b)/w},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return a(this)}};function l(d,m){var w=d[1]-d[0],b=m,E=w/b/2;d[0]+=E,d[1]-=E}function t(d,m,w,b){var E=m.length;if(!d.onBand||w||!E)return;var A=d.getExtent(),S,T;if(E===1)m[0].coord=A[0],S=m[1]={coord:A[0]};else{var O=m[E-1].tickValue-m[0].tickValue,x=(m[E-1].coord-m[0].coord)/O;f(m,function(F){F.coord-=x/2});var C=d.scale.getExtent();T=1+C[1]-m[E-1].tickValue,S={coord:m[E-1].coord+x*T},m.push(S)}var _=A[0]>A[1];N(m[0].coord,A[0])&&(b?m[0].coord=A[0]:m.shift()),b&&N(A[0],m[0].coord)&&m.unshift({coord:A[0]}),N(A[1],S.coord)&&(b?S.coord=A[1]:m.pop()),b&&N(S.coord,A[1])&&m.push({coord:A[1]});function N(F,k){return F=u(F),k=u(k),_?F>k:F<k}}var s=n;D.exports=s},hNWo:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("Qxkt"),p=e("4NO4"),v=p.isNameSpecified,h=e("Kagy"),u=h.legend.selector,o={all:{type:"all",title:f.clone(u.all)},inverse:{type:"inverse",title:f.clone(u.inverse)}},i=g.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(a,c,n){this.mergeDefaultAndTheme(a,n),a.selected=a.selected||{},this._updateSelector(a)},mergeOption:function(a){i.superCall(this,"mergeOption",a),this._updateSelector(a)},_updateSelector:function(a){var c=a.selector;c===!0&&(c=a.selector=["all","inverse"]),f.isArray(c)&&f.each(c,function(n,l){f.isString(n)&&(n={type:n}),c[l]=f.merge(n,o[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var a=this._data;if(a[0]&&this.get("selectedMode")==="single"){for(var c=!1,n=0;n<a.length;n++){var l=a[n].get("name");if(this.isSelected(l)){this.select(l),c=!0;break}}!c&&this.select(a[0].get("name"))}},_updateData:function(a){var c=[],n=[];a.eachRawSeries(function(s){var d=s.name;n.push(d);var m;if(s.legendVisualProvider){var w=s.legendVisualProvider,b=w.getAllNames();a.isSeriesFiltered(s)||(n=n.concat(b)),b.length?c=c.concat(b):m=!0}else m=!0;m&&v(s)&&c.push(s.name)}),this._availableNames=n;var l=this.get("data")||c,t=f.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new y(s,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(a){var c=this.option.selected,n=this.get("selectedMode");if(n==="single"){var l=this._data;f.each(l,function(t){c[t.get("name")]=!1})}c[a]=!0},unSelect:function(a){this.get("selectedMode")!=="single"&&(this.option.selected[a]=!1)},toggleSelected:function(a){var c=this.option.selected;c.hasOwnProperty(a)||(c[a]=!0),this[c[a]?"unSelect":"select"](a)},allSelect:function(){var a=this._data,c=this.option.selected;f.each(a,function(n){c[n.get("name",!0)]=!0})},inverseSelect:function(){var a=this._data,c=this.option.selected;f.each(a,function(n){var l=n.get("name",!0);c.hasOwnProperty(l)||(c[l]=!0),c[l]=!c[l]})},isSelected:function(a){var c=this.option.selected;return!(c.hasOwnProperty(a)&&!c[a])&&f.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}}}),r=i;D.exports=r},hOwI:function(D,I){var e=Math.log(2);function g(y,p,v,h,u,o){var i=h+"-"+u,r=y.length;if(o.hasOwnProperty(i))return o[i];if(p===1){var a=Math.round(Math.log((1<<r)-1&~u)/e);return y[v][a]}for(var c=h|1<<v,n=v+1;h&1<<n;)n++;for(var l=0,t=0,s=0;t<r;t++){var d=1<<t;d&u||(l+=(s%2?-1:1)*y[v][t]*g(y,p-1,n,c,u|d,o),s++)}return o[i]=l,l}function f(y,p){var v=[[y[0],y[1],1,0,0,0,-p[0]*y[0],-p[0]*y[1]],[0,0,0,y[0],y[1],1,-p[1]*y[0],-p[1]*y[1]],[y[2],y[3],1,0,0,0,-p[2]*y[2],-p[2]*y[3]],[0,0,0,y[2],y[3],1,-p[3]*y[2],-p[3]*y[3]],[y[4],y[5],1,0,0,0,-p[4]*y[4],-p[4]*y[5]],[0,0,0,y[4],y[5],1,-p[5]*y[4],-p[5]*y[5]],[y[6],y[7],1,0,0,0,-p[6]*y[6],-p[6]*y[7]],[0,0,0,y[6],y[7],1,-p[7]*y[6],-p[7]*y[7]]],h={},u=g(v,8,0,0,0,h);if(u===0)return;for(var o=[],i=0;i<8;i++)for(var r=0;r<8;r++)o[r]==null&&(o[r]=0),o[r]+=((i+r)%2?-1:1)*g(v,7,i===0?1:0,1<<i,1<<r,h)/u*p[i];return function(a,c,n){var l=c*o[6]+n*o[7]+1;a[0]=(c*o[0]+n*o[1]+o[2])/l,a[1]=(c*o[3]+n*o[4]+o[5])/l}}I.buildTransformer=f},hX1E:function(D,I){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}I.normalizeRadian=g},hXwI:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var u=0;u<h.length;u++){var o=h[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(v,o.key,o)}}function y(v,h,u){return h&&f(v.prototype,h),u&&f(v,u),v}var p=function(){function v(){g(this,v)}return y(v,[{key:"decodeRect",value:function(u,o,i,r,a,c,n){if(a.rQwait("COPYRECT",4))return!1;var l=a.rQshift16(),t=a.rQshift16();return c.copyImage(l,t,u,o,i,r),!0}}]),v}();I.default=p},hi0g:function(D,I,e){var g=e("bYtY"),f=g.createHashMap,y=g.each,p=g.isString,v=g.defaults,h=g.extend,u=g.isObject,o=g.clone,i=e("4NO4"),r=i.normalizeToArray,a=e("D5nY"),c=a.guessOrdinal,n=a.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),s=t.OTHER_DIMENSIONS,d=e("Vi4m");function m(A,S,T){l.isInstance(S)||(S=l.seriesDataToSource(S)),T=T||{},A=(A||[]).slice();for(var O=(T.dimsDef||[]).slice(),x=f(),C=f(),_=[],N=w(S,A,O,T.dimCount),F=0;F<N;F++){var k=O[F]=h({},u(O[F])?O[F]:{name:O[F]}),P=k.name,j=_[F]=new d;P!=null&&x.get(P)==null&&(j.name=j.displayName=P,x.set(P,F)),k.type!=null&&(j.type=k.type),k.displayName!=null&&(j.displayName=k.displayName)}var K=T.encodeDef;!K&&T.encodeDefaulter&&(K=T.encodeDefaulter(S,N)),K=f(K),K.each(function(q,fe){if(q=r(q).slice(),q.length===1&&!p(q[0])&&q[0]<0){K.set(fe,!1);return}var G=K.set(fe,[]);y(q,function(ve,Se){p(ve)&&(ve=x.get(ve)),ve!=null&&ve<N&&(G[Se]=ve,B(_[ve],fe,Se))})});var R=0;y(A,function(q,fe){var G,q,ve,Se;if(p(q))G=q,q={};else{G=q.name;var ge=q.ordinalMeta;q.ordinalMeta=null,q=o(q),q.ordinalMeta=ge,ve=q.dimsDef,Se=q.otherDims,q.name=q.coordDim=q.coordDimIndex=q.dimsDef=q.otherDims=null}var Pe=K.get(G);if(Pe===!1)return;var Pe=r(Pe);if(!Pe.length)for(var Ge=0;Ge<(ve&&ve.length||1);Ge++){for(;R<_.length&&_[R].coordDim!=null;)R++;R<_.length&&Pe.push(R++)}y(Pe,function(pt,Te){var xe=_[pt];if(B(v(xe,q),G,Te),xe.name==null&&ve){var lt=ve[Te];!u(lt)&&(lt={name:lt}),xe.name=xe.displayName=lt.name,xe.defaultTooltip=lt.defaultTooltip}Se&&v(xe.otherDims,Se)})});function B(q,fe,G){s.get(fe)!=null?q.otherDims[fe]=G:(q.coordDim=fe,q.coordDimIndex=G,C.set(fe,!0))}var U=T.generateCoord,H=T.generateCoordCount,W=H!=null;H=U?H||1:0;for(var V=U||"value",z=0;z<N;z++){var j=_[z]=_[z]||new d,X=j.coordDim;X==null&&(j.coordDim=b(V,C,W),j.coordDimIndex=0,(!U||H<=0)&&(j.isExtraCoord=!0),H--),j.name==null&&(j.name=b(j.coordDim,x)),j.type==null&&(c(S,z,j.name)===n.Must||j.isExtraCoord&&(j.otherDims.itemName!=null||j.otherDims.seriesName!=null))&&(j.type="ordinal")}return _}function w(A,S,T,O){var x=Math.max(A.dimensionsDetectCount||1,S.length,T.length,O||0);return y(S,function(C){var _=C.dimsDef;_&&(x=Math.max(x,_.length))}),x}function b(A,S,T){if(T||S.get(A)!=null){for(var O=0;S.get(A+O)!=null;)O++;A+=O}return S.set(A,!0),A}var E=m;D.exports=E},hkKa:function(D,I,e){"use strict";e.d(I,"a",function(){return v});var g=e("J4zp"),f=e.n(g),y=e("q1tI"),p=e.n(y);function v(){var h=y.useReducer(function(i){return i+1},0),u=f()(h,2),o=u[1];return o}},hw6D:function(D,I,e){var g=e("bYtY");function f(v){v.eachSeriesByType("radar",function(h){var u=h.getData(),o=[],i=h.coordinateSystem;if(!i)return;var r=i.getIndicatorAxes();g.each(r,function(a,c){u.each(u.mapDimension(r[c].dim),function(n,l){o[l]=o[l]||[];var t=i.dataToPoint(n,c);o[l][c]=y(t)?t:p(i)})}),u.each(function(a){var c=g.find(o[a],function(n){return y(n)})||p(i);o[a].push(c.slice()),u.setItemLayout(a,o[a])})})}function y(v){return!isNaN(v[0])&&!isNaN(v[1])}function p(v){return[v.cx,v.cy]}D.exports=f},hwYd:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("Nu4q")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="PictureTwoTone";var u=y.forwardRef(h);I.default=u},hydK:function(D,I){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}I.createElement=g},hyiK:function(D,I){function e(g,f,y,p,v,h){if(h>f&&h>p||h<f&&h<p)return 0;if(p===f)return 0;var u=p<f?1:-1,o=(h-f)/(p-f);(o===1||o===0)&&(u=p<f?.5:-.5);var i=o*(y-g)+g;return i===v?Infinity:i>v?u:0}D.exports=e},i38C:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=y.createHashMap,v=y.retrieve,h=y.each;function u(a){this.coordSysName=a,this.coordSysDims=[],this.axisMap=p(),this.categoryAxisMap=p(),this.firstCategoryDimIndex=null}function o(a){var c=a.get("coordinateSystem"),n=new u(c),l=i[c];if(l)return l(a,n,n.axisMap,n.categoryAxisMap),n}var i={cartesian2d:function(a,c,n,l){var t=a.getReferringComponents("xAxis")[0],s=a.getReferringComponents("yAxis")[0];c.coordSysDims=["x","y"],n.set("x",t),n.set("y",s),r(t)&&(l.set("x",t),c.firstCategoryDimIndex=0),r(s)&&(l.set("y",s),c.firstCategoryDimIndex==null&(c.firstCategoryDimIndex=1))},singleAxis:function(a,c,n,l){var t=a.getReferringComponents("singleAxis")[0];c.coordSysDims=["single"],n.set("single",t),r(t)&&(l.set("single",t),c.firstCategoryDimIndex=0)},polar:function(a,c,n,l){var t=a.getReferringComponents("polar")[0],s=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");c.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",d),r(s)&&(l.set("radius",s),c.firstCategoryDimIndex=0),r(d)&&(l.set("angle",d),c.firstCategoryDimIndex==null&&(c.firstCategoryDimIndex=1))},geo:function(a,c,n,l){c.coordSysDims=["lng","lat"]},parallel:function(a,c,n,l){var t=a.ecModel,s=t.getComponent("parallel",a.get("parallelIndex")),d=c.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(m,w){var b=t.getComponent("parallelAxis",m),E=d[w];n.set(E,b),r(b)&&c.firstCategoryDimIndex==null&&(l.set(E,b),c.firstCategoryDimIndex=w)})}};function r(a){return a.get("type")==="category"}I.getCoordSysInfoBySeries=o},i6bk:function(D,I,e){"use strict";e.d(I,"b",function(){return g}),e.d(I,"a",function(){return f});function g(y){return y!=null&&y===y.window}function f(y,p){if(typeof window=="undefined")return 0;var v=p?"scrollTop":"scrollLeft",h=0;return g(y)?h=y[p?"pageYOffset":"pageXOffset"]:y instanceof Document?h=y.documentElement[v]:y&&(h=y[v]),y&&!g(y)&&typeof h!="number"&&(h=(y.ownerDocument||y).documentElement[v]),h}},i8CU:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Fm1+"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},iLNv:function(D,I){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function y(h,u,o){var i,r=0,a=0,c=null,n,l,t,s;u=u||0;function d(){a=new Date().getTime(),c=null,h.apply(l,t||[])}var m=function(){i=new Date().getTime(),l=this,t=arguments;var w=s||u,b=s||o;s=null,n=i-(b?r:a)-w,clearTimeout(c),b?c=setTimeout(d,w):n>=0?d():c=setTimeout(d,-n),r=i};return m.clear=function(){c&&(clearTimeout(c),c=null)},m.debounceNextCall=function(w){s=w},m}function p(h,u,o,i){var r=h[u];if(!r)return;var a=r[e]||r,c=r[f],n=r[g];if(n!==o||c!==i){if(o==null||!i)return h[u]=a;r=h[u]=y(a,o,i==="debounce"),r[e]=a,r[f]=i,r[g]=o}return r}function v(h,u){var o=h[u];o&&o[e]&&(h[u]=o[e])}I.throttle=y,I.createOrUpdate=p,I.clear=v},iPDy:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=g.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(p,v,h){var u=this.markerGroupMap;u.each(function(i){i.__keep=!1});var o=this.type+"Model";v.eachSeries(function(i){var r=i[o];r&&this.renderSeries(i,r,v,h)},this),u.each(function(i){!i.__keep&&this.group.remove(i.group)},this)},renderSeries:function(){}});D.exports=y},iQDF:function(D,I,e){"use strict";var g=e("ZTW2"),f=e.n(g),y=e("+BJd"),p=e("+L6B")},iRjW:function(D,I,e){var g=e("bYtY"),f=e("Yl7c"),y=f.parseClassType,p=0;function v(o){return[o||"",p++,Math.random().toFixed(5)].join("_")}function h(o){var i={};return o.registerSubTypeDefaulter=function(r,a){r=y(r),i[r.main]=a},o.determineSubType=function(r,a){var c=a.type;if(!c){var n=y(r).main;o.hasSubTypes(r)&&i[n]&&(c=i[n](a))}return c},o}function u(o,i){o.topologicalTravel=function(n,l,t,s){if(!n.length)return;var d=r(l),m=d.graph,w=d.noEntryList,b={};for(g.each(n,function(x){b[x]=!0});w.length;){var E=w.pop(),A=m[E],S=!!b[E];S&&(t.call(s,E,A.originalDeps.slice()),delete b[E]),g.each(A.successor,S?O:T)}g.each(b,function(){throw new Error("Circle dependency may exists")});function T(x){m[x].entryCount--,m[x].entryCount===0&&w.push(x)}function O(x){b[x]=!0,T(x)}};function r(n){var l={},t=[];return g.each(n,function(s){var d=a(l,s),m=d.originalDeps=i(s),w=c(m,n);d.entryCount=w.length,d.entryCount===0&&t.push(s),g.each(w,function(b){g.indexOf(d.predecessor,b)<0&&d.predecessor.push(b);var E=a(l,b);g.indexOf(E.successor,b)<0&&E.successor.push(s)})}),{graph:l,noEntryList:t}}function a(n,l){return n[l]||(n[l]={predecessor:[],successor:[]}),n[l]}function c(n,l){var t=[];return g.each(n,function(s){g.indexOf(l,s)>=0&&t.push(s)}),t}}I.getUID=v,I.enableSubTypeDefaulter=h,I.enableTopologicalTravel=u},iUHT:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(A,S){if(!(A instanceof S))throw new TypeError("Cannot call a class as a function")}function f(A,S){for(var T=0;T<S.length;T++){var O=S[T];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(A,O.key,O)}}function y(A,S,T){return S&&f(A.prototype,S),T&&f(A,T),A}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],h=0,u,o,i,r,a,c;u=1<<16,o=1<<24,i=u|o,r=1<<2,a=1<<10,c=r|a;var n=[i|a,h|h,u|h,i|c,i|r,u|c,h|r,u|h,h|a,i|a,i|c,h|a,o|c,i|r,o|h,h|r,h|c,o|a,o|a,u|a,u|a,i|h,i|h,o|c,u|r,o|r,o|r,u|r,h|h,h|c,u|c,o|h,u|h,i|c,h|r,i|h,i|a,o|h,o|h,h|a,i|r,u|h,u|a,o|r,h|a,h|r,o|c,u|c,i|c,u|r,i|h,o|c,o|r,h|c,u|c,i|a,h|c,o|a,o|a,h|h,u|r,u|a,h|h,i|r];u=1<<20,o=1<<31,i=u|o,r=1<<5,a=1<<15,c=r|a;var l=[i|c,o|a,h|a,u|c,u|h,h|r,i|r,o|c,o|r,i|c,i|a,o|h,o|a,u|h,h|r,i|r,u|a,u|r,o|c,h|h,o|h,h|a,u|c,i|h,u|r,o|r,h|h,u|a,h|c,i|a,i|h,h|c,h|h,u|c,i|r,u|h,o|c,i|h,i|a,h|a,i|h,o|a,h|r,i|c,u|c,h|r,h|a,o|h,h|c,i|a,u|h,o|r,u|r,o|c,o|r,u|r,u|a,h|h,o|a,h|c,o|h,i|r,i|c,u|a];u=1<<17,o=1<<27,i=u|o,r=1<<3,a=1<<9,c=r|a;var t=[h|c,i|a,h|h,i|r,o|a,h|h,u|c,o|a,u|r,o|r,o|r,u|h,i|c,u|r,i|h,h|c,o|h,h|r,i|a,h|a,u|a,i|h,i|r,u|c,o|c,u|a,u|h,o|c,h|r,i|c,h|a,o|h,i|a,o|h,u|r,h|c,u|h,i|a,o|a,h|h,h|a,u|r,i|c,o|a,o|r,h|a,h|h,i|r,o|c,u|h,o|h,i|c,h|r,u|c,u|a,o|r,i|h,o|c,h|c,i|h,u|c,h|r,i|r,u|a];u=1<<13,o=1<<23,i=u|o,r=1<<0,a=1<<7,c=r|a;var s=[i|r,u|c,u|c,h|a,i|a,o|c,o|r,u|r,h|h,i|h,i|h,i|c,h|c,h|h,o|a,o|r,h|r,u|h,o|h,i|r,h|a,o|h,u|r,u|a,o|c,h|r,u|a,o|a,u|h,i|a,i|c,h|c,o|a,o|r,i|h,i|c,h|c,h|h,h|h,i|h,u|a,o|a,o|c,h|r,i|r,u|c,u|c,h|a,i|c,h|c,h|r,u|h,o|r,u|r,i|a,o|c,u|r,u|a,o|h,i|r,h|a,o|h,u|h,i|a];u=1<<25,o=1<<30,i=u|o,r=1<<8,a=1<<19,c=r|a;var d=[h|r,u|c,u|a,i|r,h|a,h|r,o|h,u|a,o|c,h|a,u|r,o|c,i|r,i|a,h|c,o|h,u|h,o|a,o|a,h|h,o|r,i|c,i|c,u|r,i|a,o|r,h|h,i|h,u|c,u|h,i|h,h|c,h|a,i|r,h|r,u|h,o|h,u|a,i|r,o|c,u|r,o|h,i|a,u|c,o|c,h|r,u|h,i|a,i|c,h|c,i|h,i|c,u|a,h|h,o|a,i|h,h|c,u|r,o|r,h|a,h|h,o|a,u|c,o|r];u=1<<22,o=1<<29,i=u|o,r=1<<4,a=1<<14,c=r|a;var m=[o|r,i|h,h|a,i|c,i|h,h|r,i|c,u|h,o|a,u|c,u|h,o|r,u|r,o|a,o|h,h|c,h|h,u|r,o|c,h|a,u|a,o|c,h|r,i|r,i|r,h|h,u|c,i|a,h|c,u|a,i|a,o|h,o|a,h|r,i|r,u|a,i|c,u|h,h|c,o|r,u|h,o|a,o|h,h|c,o|r,i|c,u|a,i|h,u|c,i|a,h|h,i|r,h|r,h|a,i|h,u|c,h|a,u|r,o|c,h|h,i|a,o|h,u|r,o|c];u=1<<21,o=1<<26,i=u|o,r=1<<1,a=1<<11,c=r|a;var w=[u|h,i|r,o|c,h|h,h|a,o|c,u|c,i|a,i|c,u|h,h|h,o|r,h|r,o|h,i|r,h|c,o|a,u|c,u|r,o|a,o|r,i|h,i|a,u|r,i|h,h|a,h|c,i|c,u|a,h|r,o|h,u|a,o|h,u|a,u|h,o|c,o|c,i|r,i|r,h|r,u|r,o|h,o|a,u|h,i|a,h|c,u|c,i|a,h|c,o|r,i|c,i|h,u|a,h|h,h|r,i|c,h|h,u|c,i|h,h|a,o|r,o|a,h|a,u|r];u=1<<18,o=1<<28,i=u|o,r=1<<6,a=1<<12,c=r|a;var b=[o|c,h|a,u|h,i|c,o|h,o|c,h|r,o|h,u|r,i|h,i|c,u|a,i|a,u|c,h|a,h|r,i|h,o|r,o|a,h|c,u|a,u|r,i|r,i|a,h|c,h|h,h|h,i|r,o|r,o|a,u|c,u|h,u|c,u|h,i|a,h|a,h|r,i|r,h|a,u|c,o|a,h|r,o|r,i|h,i|r,o|h,u|h,o|c,h|h,i|c,u|r,o|r,i|h,o|a,o|c,h|h,i|c,u|a,u|a,h|c,h|c,u|r,o|h,i|a],E=function(){function A(S){g(this,A),this.keys=[];for(var T=[],O=[],x=[],C=0,_=56;C<56;++C,_-=8){_+=_<-5?65:_<-3?31:_<-1?63:_===27?35:0;var N=_&7;T[C]=(S[_>>>3]&1<<N)!==0?1:0}for(var F=0;F<16;++F){var k=F<<1,P=k+1;x[k]=x[P]=0;for(var j=28;j<59;j+=28)for(var K=j-28;K<j;++K){var R=K+v[F];O[K]=R<j?T[R]:T[R-28]}for(var B=0;B<24;++B)O[p[B]]!==0&&(x[k]|=1<<23-B),O[p[B+24]]!==0&&(x[P]|=1<<23-B)}for(var U=0,H=0,W=0;U<16;++U){var V=x[H++],z=x[H++];this.keys[W]=(V&16515072)<<6,this.keys[W]|=(V&4032)<<10,this.keys[W]|=(z&16515072)>>>10,this.keys[W]|=(z&4032)>>>6,++W,this.keys[W]=(V&258048)<<12,this.keys[W]|=(V&63)<<16,this.keys[W]|=(z&258048)>>>4,this.keys[W]|=z&63,++W}}return y(A,[{key:"enc8",value:function(T){var O=T.slice(),x=0,C,_,N;C=O[x++]<<24|O[x++]<<16|O[x++]<<8|O[x++],_=O[x++]<<24|O[x++]<<16|O[x++]<<8|O[x++],N=(C>>>4^_)&252645135,_^=N,C^=N<<4,N=(C>>>16^_)&65535,_^=N,C^=N<<16,N=(_>>>2^C)&858993459,C^=N,_^=N<<2,N=(_>>>8^C)&16711935,C^=N,_^=N<<8,_=_<<1|_>>>31&1,N=(C^_)&2863311530,C^=N,_^=N,C=C<<1|C>>>31&1;for(var F=0,k=0;F<8;++F){N=_<<28|_>>>4,N^=this.keys[k++];var P=w[N&63];P|=d[N>>>8&63],P|=t[N>>>16&63],P|=n[N>>>24&63],N=_^this.keys[k++],P|=b[N&63],P|=m[N>>>8&63],P|=s[N>>>16&63],P|=l[N>>>24&63],C^=P,N=C<<28|C>>>4,N^=this.keys[k++],P=w[N&63],P|=d[N>>>8&63],P|=t[N>>>16&63],P|=n[N>>>24&63],N=C^this.keys[k++],P|=b[N&63],P|=m[N>>>8&63],P|=s[N>>>16&63],P|=l[N>>>24&63],_^=P}for(_=_<<31|_>>>1,N=(C^_)&2863311530,C^=N,_^=N,C=C<<31|C>>>1,N=(C>>>8^_)&16711935,_^=N,C^=N<<8,N=(C>>>2^_)&858993459,_^=N,C^=N<<2,N=(_>>>16^C)&65535,C^=N,_^=N<<16,N=(_>>>4^C)&252645135,C^=N,_^=N<<4,N=[_,C],x=0;x<8;x++)O[x]=(N[x>>>2]>>>8*(3-x%4))%256,O[x]<0&&(O[x]+=256);return O}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),A}();I.default=E},iXHM:function(D,I){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var g={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.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};D.exports=g},iXp4:function(D,I,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function y(p){return g.browser.ie&&g.browser.version>=11?function(){var v=this.__clipPaths,h=this.style,u;if(v)for(var o=0;o<v.length;o++){var i=v[o],r=i&&i.shape,a=i&&i.type;if(r&&(a==="sector"&&r.startAngle===r.endAngle||a==="rect"&&(!r.width||!r.height))){for(var c=0;c<f.length;c++)f[c][2]=h[f[c][0]],h[f[c][0]]=f[c][1];u=!0;break}}if(p.apply(this,arguments),u)for(var c=0;c<f.length;c++)h[f[c][0]]=f[c][2]}:p}D.exports=y},iYpf:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("ZLWo")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="FolderOpenOutlined";var u=y.forwardRef(h);I.default=u},ieMj:function(D,I,e){var g=e("OELB"),f=e("7aKB"),y=e("4NgU"),p=e("lE7J"),v=g.round,h=y.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(o,i){var r=this._extent;isNaN(o)||(r[0]=parseFloat(o)),isNaN(i)||(r[1]=parseFloat(i))},unionExtent:function(o){var i=this._extent;o[0]<i[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1]),h.prototype.setExtent.call(this,i[0],i[1])},getInterval:function(){return this._interval},setInterval:function(o){this._interval=o,this._niceExtent=this._extent.slice(),this._intervalPrecision=p.getIntervalPrecision(o)},getTicks:function(o){var i=this._interval,r=this._extent,a=this._niceExtent,c=this._intervalPrecision,n=[];if(!i)return n;var l=1e4;r[0]<a[0]&&(o?n.push(v(a[0]-i,c)):n.push(r[0]));for(var t=a[0];t<=a[1]&&!(n.push(t),t=v(t+i,c),t===n[n.length-1]);)if(n.length>l)return[];var s=n.length?n[n.length-1]:a[1];return r[1]>s&&(o?n.push(v(s+i,c)):n.push(r[1])),n},getMinorTicks:function(o){for(var i=this.getTicks(!0),r=[],a=this.getExtent(),c=1;c<i.length;c++){for(var n=i[c],l=i[c-1],t=0,s=[],d=n-l,m=d/o;t<o-1;){var w=g.round(l+(t+1)*m);w>a[0]&&w<a[1]&&s.push(w),t++}r.push(s)}return r},getLabel:function(o,i){if(o==null)return"";var r=i&&i.precision;return r==null?r=g.getPrecisionSafe(o)||0:r==="auto"&&(r=this._intervalPrecision),o=v(o,r,!0),f.addCommas(o)},niceTicks:function(o,i,r){o=o||5;var a=this._extent,c=a[1]-a[0];if(!isFinite(c))return;c<0&&(c=-c,a.reverse());var n=p.intervalScaleNiceTicks(a,o,i,r);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(o){var i=this._extent;if(i[0]===i[1])if(i[0]!==0){var r=i[0];o.fixMax||(i[1]+=r/2),i[0]-=r/2}else i[1]=1;var a=i[1]-i[0];isFinite(a)||(i[0]=0,i[1]=1),this.niceTicks(o.splitNumber,o.minInterval,o.maxInterval);var c=this._interval;o.fixMin||(i[0]=v(Math.floor(i[0]/c)*c)),o.fixMax||(i[1]=v(Math.ceil(i[1]/c)*c))}});h.create=function(){return new h};var u=h;D.exports=u},j5sG:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=f(e("NohK"));function f(p){return p&&p.__esModule?p:{default:p}}var y=function(v){var h=void 0,u=[],o=(0,g.default)(function(){u.forEach(function(n){n(v)})}),i=function(){var l=new ResizeObserver(o);return l.observe(v),o(),l},r=function(l){h||(h=i()),u.indexOf(l)===-1&&u.push(l)},a=function(){h.disconnect(),u=[],h=void 0},c=function(l){var t=u.indexOf(l);t!==-1&&u.splice(t,1),u.length===0&&h&&a()};return{element:v,bind:r,destroy:a,unbind:c}};I.createSensor=y},jCWc:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("1GLa")},jCoz:function(D,I,e){var g=e("bYtY"),f=e("4NgU"),y=e("OELB"),p=e("ieMj"),v=f.prototype,h=p.prototype,u=y.getPrecisionSafe,o=y.round,i=Math.floor,r=Math.ceil,a=Math.pow,c=Math.log,n=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new p},getTicks:function(s){var d=this._originalScale,m=this._extent,w=d.getExtent();return g.map(h.getTicks.call(this,s),function(b){var E=y.round(a(this.base,b));return E=b===m[0]&&d.__fixMin?l(E,w[0]):E,E=b===m[1]&&d.__fixMax?l(E,w[1]):E,E},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=v.scale.call(this,s),a(this.base,s)},setExtent:function(s,d){var m=this.base;s=c(s)/c(m),d=c(d)/c(m),h.setExtent.call(this,s,d)},getExtent:function(){var s=this.base,d=v.getExtent.call(this);d[0]=a(s,d[0]),d[1]=a(s,d[1]);var m=this._originalScale,w=m.getExtent();return m.__fixMin&&(d[0]=l(d[0],w[0])),m.__fixMax&&(d[1]=l(d[1],w[1])),d},unionExtent:function(s){this._originalScale.unionExtent(s);var d=this.base;s[0]=c(s[0])/c(d),s[1]=c(s[1])/c(d),v.unionExtent.call(this,s)},unionExtentFromData:function(s,d){this.unionExtent(s.getApproximateExtent(d))},niceTicks:function(s){s=s||10;var d=this._extent,m=d[1]-d[0];if(m===Infinity||m<=0)return;var w=y.quantity(m),b=s/m*w;for(b<=.5&&(w*=10);!isNaN(w)&&Math.abs(w)<1&&Math.abs(w)>0;)w*=10;var E=[y.round(r(d[0]/w)*w),y.round(i(d[1]/w)*w)];this._interval=w,this._niceExtent=E},niceExtent:function(s){h.niceExtent.call(this,s);var d=this._originalScale;d.__fixMin=s.fixMin,d.__fixMax=s.fixMax}});g.each(["contain","normalize"],function(s){n.prototype[s]=function(d){return d=c(d)/c(this.base),v[s].call(this,d)}}),n.create=function(){return new n};function l(s,d){return o(s,u(d))}var t=n;D.exports=t},jN4g:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CloseCircleFilled";var h=I.a=g.forwardRef(v)},jO45:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="CheckCircleFilled";var h=I.a=g.forwardRef(v)},jTL6:function(D,I,e){var g=e("y+Vt"),f=g.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 h=v.cx,u=v.cy,o=Math.max(v.r,0),i=v.startAngle,r=v.endAngle,a=v.clockwise,c=Math.cos(i),n=Math.sin(i);p.moveTo(c*o+h,n*o+u),p.arc(h,u,o,i,r,!a)}});D.exports=f},je13:function(D,I,e){var g=e("5nXd"),f=e("gRFJ"),y=[e("uQRt")];D.exports=g.createStore(f,y)},jett:function(D,I,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),y=e("f5Yq"),p=e("hw6D"),v=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(y("radar","circle")),g.registerLayout(p),g.registerProcessor(v("radar")),g.registerPreprocessor(h)},jhfD:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="ArrowLeftOutlined";var h=I.a=g.forwardRef(v)},jkPA:function(D,I,e){var g=e("bYtY"),f=g.createHashMap,y=g.isObject,p=g.map;function v(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}v.createByAxisModel=function(r){var a=r.option,c=a.data,n=c&&p(c,o);return new v({categories:n,needCollect:!n,deduplication:a.dedplication!==!1})};var h=v.prototype;h.getOrdinal=function(r){return u(this).get(r)},h.parseAndCollect=function(r){var a,c=this._needCollect;if(typeof r!="string"&&!c)return r;if(c&&!this._deduplication)return a=this.categories.length,this.categories[a]=r,a;var n=u(this);return a=n.get(r),a==null&&(c?(a=this.categories.length,this.categories[a]=r,n.set(r,a)):a=NaN),a};function u(r){return r._map||(r._map=f(r.categories))}function o(r){return y(r)&&r.value!=null?r.value:r+""}var i=v;D.exports=i},jndi:function(D,I,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YXkt"),p=e("OELB"),v=e("IwbS"),h=e("kj2x"),u=e("iPDy"),o=function(t,s,d,m){var w=h.dataTransform(t,m[0]),b=h.dataTransform(t,m[1]),E=g.retrieve,A=w.coord,S=b.coord;A[0]=E(A[0],-Infinity),A[1]=E(A[1],-Infinity),S[0]=E(S[0],Infinity),S[1]=E(S[1],Infinity);var T=g.mergeAll([{},w,b]);return T.coord=[w.coord,b.coord],T.x0=w.x,T.y0=w.y,T.x1=b.x,T.y1=b.y,T};function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,s,d,m){var w=1-t;return i(s[w])&&i(d[w])}function a(t,s){var d=s.coord[0],m=s.coord[1];return t.type==="cartesian2d"&&(d&&m&&(r(1,d,m,t)||r(0,d,m,t)))?!0:h.dataFilter(t,{coord:d,x:s.x0,y:s.y0})||h.dataFilter(t,{coord:m,x:s.x1,y:s.y1})}function c(t,s,d,m,w){var b=m.coordinateSystem,E=t.getItemModel(s),A,S=p.parsePercent(E.get(d[0]),w.getWidth()),T=p.parsePercent(E.get(d[1]),w.getHeight());if(!isNaN(S)&&!isNaN(T))A=[S,T];else{if(m.getMarkerPosition)A=m.getMarkerPosition(t.getValues(d,s));else{var O=t.get(d[0],s),x=t.get(d[1],s),C=[O,x];b.clampData&&b.clampData(C,C),A=b.dataToPoint(C,!0)}if(b.type==="cartesian2d"){var _=b.getAxis("x"),N=b.getAxis("y"),O=t.get(d[0],s),x=t.get(d[1],s);i(O)?A[0]=_.toGlobalCoord(_.getExtent()[d[0]==="x0"?0:1]):i(x)&&(A[1]=N.toGlobalCoord(N.getExtent()[d[1]==="y0"?0:1]))}isNaN(S)||(A[0]=S),isNaN(T)||(A[1]=T)}return A}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(t,s,d){s.eachSeries(function(m){var w=m.markAreaModel;if(w){var b=w.getData();b.each(function(E){var A=g.map(n,function(T){return c(b,E,T,m,d)});b.setItemLayout(E,A);var S=b.getItemGraphicEl(E);S.setShape("points",A)})}},this)},renderSeries:function(t,s,d,m){var w=t.coordinateSystem,b=t.id,E=t.getData(),A=this.markerGroupMap,S=A.get(b)||A.set(b,{group:new v.Group});this.group.add(S.group),S.__keep=!0;var T=l(w,t,s);s.setData(T),T.each(function(O){T.setItemLayout(O,g.map(n,function(x){return c(T,O,x,t,m)})),T.setItemVisual(O,{color:E.getVisual("color")})}),T.diff(S.__data).add(function(O){var x=new v.Polygon({shape:{points:T.getItemLayout(O)}});T.setItemGraphicEl(O,x),S.group.add(x)}).update(function(O,x){var C=S.__data.getItemGraphicEl(x);v.updateProps(C,{shape:{points:T.getItemLayout(O)}},s,O),S.group.add(C),T.setItemGraphicEl(O,C)}).remove(function(O){var x=S.__data.getItemGraphicEl(O);S.group.remove(x)}).execute(),T.eachItemGraphicEl(function(O,x){var C=T.getItemModel(x),_=C.getModel("label"),N=C.getModel("emphasis.label"),F=T.getItemVisual(x,"color");O.useStyle(g.defaults(C.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(F,.4),stroke:F})),O.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(O.style,O.hoverStyle,_,N,{labelFetcher:s,labelDataIndex:x,defaultText:T.getName(x)||"",isRectText:!0,autoColor:F}),v.setHoverStyle(O,{}),O.dataModel=s}),S.__data=T,S.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,d){var m,w,b=["x0","y0","x1","y1"];t?(m=g.map(t&&t.dimensions,function(S){var T=s.getData(),O=T.getDimensionInfo(T.mapDimension(S))||{};return g.defaults({name:S},O)}),w=new y(g.map(b,function(S,T){return{name:S,type:m[T%2].type}}),d)):(m=[{name:"value",type:"float"}],w=new y(m,d));var E=g.map(d.get("data"),g.curry(o,s,t,d));t&&(E=g.filter(E,g.curry(a,t)));var A=t?function(S,T,O,x){return S.coord[Math.floor(x/2)][x%2]}:function(S){return S.value};return w.initData(E,null,A),w.hasItemOption=!0,w}},"jsU+":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IUWy"),p=g.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){p.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(h,u){var o=y.get(u);o&&f.merge(h,o.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;D.exports=v},jtI2:function(D,I,e){e("SMc4");var g=e("bLfw"),f=g.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"}});D.exports=f},juDX:function(D,I,e){e("P47w");var g=e("aX58"),f=g.registerPainter,y=e("3CBa");f("svg",y)},"k+1r":function(D,I,e){var g=e("QkVE");function f(y){var p=g(this,y).delete(y);return this.size-=p?1:0,p}D.exports=f},k5C7:function(D,I,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(D,I){var e="original",g="arrayRows",f="objectRows",y="keyedColumns",p="unknown",v="typedArray",h="column",u="row";I.SOURCE_FORMAT_ORIGINAL=e,I.SOURCE_FORMAT_ARRAY_ROWS=g,I.SOURCE_FORMAT_OBJECT_ROWS=f,I.SOURCE_FORMAT_KEYED_COLUMNS=y,I.SOURCE_FORMAT_UNKNOWN=p,I.SOURCE_FORMAT_TYPED_ARRAY=v,I.SERIES_LAYOUT_BY_COLUMN=h,I.SERIES_LAYOUT_BY_ROW=u},kDyi:function(D,I){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(y){for(var p=0;p<f.length;p++)if(!f[p].isSelected(y.name))return!1;return!0})}D.exports=e},kGiB:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("ABKa"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},kMLO:function(D,I,e){var g=e("XxSj"),f=e("Qe9p"),y=e("bYtY"),p=y.isArray,v="itemStyle",h={seriesType:"treemap",reset:function(t,s,d,m){var w=t.getData().tree,b=w.root,E=t.getModel(v);if(b.isRemoved())return;var A=y.map(w.levelModels,function(S){return S?S.get(v):null});u(b,{},A,E,t.getViewRoot().getAncestors(),t)}};function u(t,s,d,m,w,b){var E=t.getModel(),A=t.getLayout();if(!A||A.invisible||!A.isInView)return;var S=t.getModel(v),T=d[t.depth],O=o(S,s,T,m),x=S.get("borderColor"),C=S.get("borderColorSaturation"),_;C!=null&&(_=i(O,t),x=r(C,_)),t.setVisual("borderColor",x);var N=t.viewChildren;if(!N||!N.length)_=i(O,t),t.setVisual("color",_);else{var F=c(t,E,A,S,O,N);y.each(N,function(k,P){if(k.depth>=w.length||k===w[k.depth]){var j=l(E,O,k,P,F,b);u(k,j,d,m,w,b)}})}}function o(t,s,d,m){var w=y.extend({},s);return y.each(["color","colorAlpha","colorSaturation"],function(b){var E=t.get(b,!0);E==null&&d&&(E=d[b]),E==null&&(E=s[b]),E==null&&(E=m.get(b)),E!=null&&(w[b]=E)}),w}function i(t){var s=a(t,"color");if(s){var d=a(t,"colorAlpha"),m=a(t,"colorSaturation");return m&&(s=f.modifyHSL(s,null,null,m)),d&&(s=f.modifyAlpha(s,d)),s}}function r(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function a(t,s){var d=t[s];if(d!=null&&d!=="none")return d}function c(t,s,d,m,w,b){if(!b||!b.length)return;var E=n(s,"color")||w.color!=null&&w.color!=="none"&&(n(s,"colorAlpha")||n(s,"colorSaturation"));if(!E)return;var A=s.get("visualMin"),S=s.get("visualMax"),T=d.dataExtent.slice();A!=null&&A<T[0]&&(T[0]=A),S!=null&&S>T[1]&&(T[1]=S);var O=s.get("colorMappingBy"),x={type:E.name,dataExtent:T,visual:E.range};x.type==="color"&&(O==="index"||O==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var C=new g(x);return C.__drColorMappingBy=O,C}function n(t,s){var d=t.get(s);return p(d)&&d.length?{name:s,range:d}:null}function l(t,s,d,m,w,b){var E=y.extend({},s);if(w){var A=w.type,S=A==="color"&&w.__drColorMappingBy,T=S==="index"?m:S==="id"?b.mapIdToIndex(d.getId()):d.getValue(t.get("visualDimension"));E[A]=w.mapValueToVisual(T)}return E}D.exports=h},kPKH:function(D,I,e){"use strict";var g=e("/kpp");I.a=g.a},kaz8:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("lwsE"),h=e.n(v),u=e("W8MJ"),o=e.n(u),i=e("PJYZ"),r=e.n(i),a=e("7W2i"),c=e.n(a),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("TSYQ"),d=e.n(s),m=e("+6Fa"),w=e("RIqP"),b=e.n(w),E=e("BGR+"),A=e("H84U"),S=function(P,j){var K={};for(var R in P)Object.prototype.hasOwnProperty.call(P,R)&&j.indexOf(R)<0&&(K[R]=P[R]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,R=Object.getOwnPropertySymbols(P);B<R.length;B++)j.indexOf(R[B])<0&&Object.prototype.propertyIsEnumerable.call(P,R[B])&&(K[R[B]]=P[R[B]]);return K},T=t.createContext(null),O=function(P){c()(K,P);var j=l()(K);function K(R){var B;return h()(this,K),B=j.call(this,R),B.cancelValue=function(U){B.setState(function(H){var W=H.registeredValues;return{registeredValues:W.filter(function(V){return V!==U})}})},B.registerValue=function(U){B.setState(function(H){var W=H.registeredValues;return{registeredValues:[].concat(b()(W),[U])}})},B.toggleOption=function(U){var H=B.state.registeredValues,W=B.state.value.indexOf(U.value),V=b()(B.state.value);W===-1?V.push(U.value):V.splice(W,1),"value"in B.props||B.setState({value:V});var z=B.props.onChange;if(z){var X=B.getOptions();z(V.filter(function(q){return H.indexOf(q)!==-1}).sort(function(q,fe){var G=X.findIndex(function(Se){return Se.value===q}),ve=X.findIndex(function(Se){return Se.value===fe});return G-ve}))}},B.renderGroup=function(U){var H=U.getPrefixCls,W=U.direction,V=r()(B),z=V.props,X=V.state,q=z.prefixCls,fe=z.className,G=z.style,ve=z.options,Se=S(z,["prefixCls","className","style","options"]),ge=H("checkbox",q),Pe="".concat(ge,"-group"),Ge=Object(E.default)(Se,["children","defaultValue","value","onChange","disabled"]),pt=z.children;ve&&ve.length>0&&(pt=B.getOptions().map(function(lt){return t.createElement(F,{prefixCls:ge,key:lt.value.toString(),disabled:"disabled"in lt?lt.disabled:z.disabled,value:lt.value,checked:X.value.indexOf(lt.value)!==-1,onChange:lt.onChange,className:"".concat(Pe,"-item"),style:lt.style},lt.label)}));var Te={toggleOption:B.toggleOption,value:B.state.value,disabled:B.props.disabled,name:B.props.name,registerValue:B.registerValue,cancelValue:B.cancelValue},xe=d()(Pe,fe,f()({},"".concat(Pe,"-rtl"),W==="rtl"));return t.createElement("div",p()({className:xe,style:G},Ge),t.createElement(T.Provider,{value:Te},pt))},B.state={value:R.value||R.defaultValue||[],registeredValues:[]},B}return o()(K,[{key:"getOptions",value:function(){var B=this.props.options;return B.map(function(U){return typeof U=="string"?{label:U,value:U}:U})}},{key:"render",value:function(){return t.createElement(A.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(B){return"value"in B?{value:B.value||[]}:null}}]),K}(t.PureComponent);O.defaultProps={options:[]};var x=O,C=e("uaoM"),_=function(P,j){var K={};for(var R in P)Object.prototype.hasOwnProperty.call(P,R)&&j.indexOf(R)<0&&(K[R]=P[R]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,R=Object.getOwnPropertySymbols(P);B<R.length;B++)j.indexOf(R[B])<0&&Object.prototype.propertyIsEnumerable.call(P,R[B])&&(K[R[B]]=P[R[B]]);return K},N=function(P){c()(K,P);var j=l()(K);function K(){var R;return h()(this,K),R=j.apply(this,arguments),R.saveCheckbox=function(B){R.rcCheckbox=B},R.renderCheckbox=function(B){var U,H=B.getPrefixCls,W=B.direction,V=r()(R),z=V.props,X=V.context,q=z.prefixCls,fe=z.className,G=z.children,ve=z.indeterminate,Se=z.style,ge=z.onMouseEnter,Pe=z.onMouseLeave,Ge=_(z,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),pt=X,Te=H("checkbox",q),xe=p()({},Ge);pt&&(xe.onChange=function(){Ge.onChange&&Ge.onChange.apply(Ge,arguments),pt.toggleOption({label:G,value:z.value})},xe.name=pt.name,xe.checked=pt.value.indexOf(z.value)!==-1,xe.disabled=z.disabled||pt.disabled);var lt=d()(fe,(U={},f()(U,"".concat(Te,"-wrapper"),!0),f()(U,"".concat(Te,"-rtl"),W==="rtl"),f()(U,"".concat(Te,"-wrapper-checked"),xe.checked),f()(U,"".concat(Te,"-wrapper-disabled"),xe.disabled),U)),Ie=d()(f()({},"".concat(Te,"-indeterminate"),ve));return t.createElement("label",{className:lt,style:Se,onMouseEnter:ge,onMouseLeave:Pe},t.createElement(m.a,p()({},xe,{prefixCls:Te,className:Ie,ref:R.saveCheckbox})),G!==void 0&&t.createElement("span",null,G))},R}return o()(K,[{key:"componentDidMount",value:function(){var B,U=this.props.value;(B=this.context)===null||B===void 0||B.registerValue(U),Object(C.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(B){var U=B.value,H,W,V=this.props.value;V!==U&&((H=this.context)===null||H===void 0||H.cancelValue(U),(W=this.context)===null||W===void 0||W.registerValue(V))}},{key:"componentWillUnmount",value:function(){var B,U=this.props.value;(B=this.context)===null||B===void 0||B.cancelValue(U)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return t.createElement(A.a,null,this.renderCheckbox)}}]),K}(t.PureComponent);N.__ANT_CHECKBOX=!0,N.defaultProps={indeterminate:!1},N.contextType=T;var F=N;F.Group=x;var k=I.a=F},kekF:function(D,I){function e(g,f){return function(y){return g(f(y))}}D.exports=e},kj2x:function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=e("7hqr"),p=y.isDimensionStacked,v=g.indexOf;function h(d){return!(isNaN(parseFloat(d.x))&&isNaN(parseFloat(d.y)))}function u(d){return!isNaN(parseFloat(d.x))&&!isNaN(parseFloat(d.y))}function o(d,m,w,b,E,A){var S=[],T=p(m,b),O=T?m.getCalculationInfo("stackResultDimension"):b,x=s(m,O,d),C=m.indicesOfNearest(O,x)[0];S[E]=m.get(w,C),S[A]=m.get(O,C);var _=m.get(b,C),N=f.getPrecision(m.get(b,C));return N=Math.min(N,20),N>=0&&(S[A]=+S[A].toFixed(N)),[S,_]}var i=g.curry,r={min:i(o,"min"),max:i(o,"max"),average:i(o,"average")};function a(d,m){var w=d.getData(),b=d.coordinateSystem;if(m&&!u(m)&&!g.isArray(m.coord)&&b){var E=b.dimensions,A=c(m,w,b,d);if(m=g.clone(m),m.type&&r[m.type]&&A.baseAxis&&A.valueAxis){var S=v(E,A.baseAxis.dim),T=v(E,A.valueAxis.dim),O=r[m.type](w,A.baseDataDim,A.valueDataDim,S,T);m.coord=O[0],m.value=O[1]}else{for(var x=[m.xAxis!=null?m.xAxis:m.radiusAxis,m.yAxis!=null?m.yAxis:m.angleAxis],C=0;C<2;C++)r[x[C]]&&(x[C]=s(w,w.mapDimension(E[C]),x[C]));m.coord=x}}return m}function c(d,m,w,b){var E={};return d.valueIndex!=null||d.valueDim!=null?(E.valueDataDim=d.valueIndex!=null?m.getDimension(d.valueIndex):d.valueDim,E.valueAxis=w.getAxis(n(b,E.valueDataDim)),E.baseAxis=w.getOtherAxis(E.valueAxis),E.baseDataDim=m.mapDimension(E.baseAxis.dim)):(E.baseAxis=b.getBaseAxis(),E.valueAxis=w.getOtherAxis(E.baseAxis),E.baseDataDim=m.mapDimension(E.baseAxis.dim),E.valueDataDim=m.mapDimension(E.valueAxis.dim)),E}function n(d,m){var w=d.getData(),b=w.dimensions;m=w.getDimension(m);for(var E=0;E<b.length;E++){var A=w.getDimensionInfo(b[E]);if(A.name===m)return A.coordDim}}function l(d,m){return d&&d.containData&&m.coord&&!h(m)?d.containData(m.coord):!0}function t(d,m,w,b){return b<2?d.coord&&d.coord[b]:d.value}function s(d,m,w){if(w==="average"){var b=0,E=0;return d.each(m,function(A,S){isNaN(A)||(b+=A,E++)}),b/E}else return w==="median"?d.getMedian(m):d.getDataExtent(m,!0)[w==="max"?1:0]}I.dataTransform=a,I.getAxisInfo=c,I.dataFilter=l,I.dimValueGetter=t,I.numCalculate=s},knOB:function(D,I,e){var g=e("bYtY"),f=e("hM6l");function y(v,h){f.call(this,"radius",v,h),this.type="category"}y.prototype={constructor:y,pointToData:function(v,h){return this.polar.pointToData(v,h)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},g.inherits(y,f);var p=y;D.exports=p},ko1b:function(D,I,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),p=e("Qxkt"),v=e("7aKB"),h=v.encodeHTML,u=v.addCommas,o=e("VaxA"),i=o.wrapTreePathInfo,r=f.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(n,l){var t={name:n.name,children:n.data};a(t);var s=n.levels||[];s=n.levels=c(s,l);var d=g.map(s||[],function(b){return new p(b,this,l)},this),m=y.createTree(t,this,null,w);function w(b){b.wrapMethod("getItemModel",function(E,A){var S=m.getNodeByDataIndex(A),T=d[S.depth];return T&&(E.parentModel=T),E})}return m.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),s=g.isArray(t)?u(t[0]):u(t),d=l.getName(n);return h(d+": "+s)},getDataParams:function(n){var l=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=i(t,this),l},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var l=this._idIndexMap;l||(l=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var t=l.get(n);return t==null&&l.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var l=this.getRawData().tree.root;(!n||n!==l&&!l.contains(n))&&(this._viewRoot=l)}});function a(n){var l=0;g.each(n.children,function(s){a(s);var d=s.value;g.isArray(d)&&(d=d[0]),l+=d});var t=n.value;g.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),g.isArray(n.value)?n.value[0]=t:n.value=t}function c(n,l){var t=l.get("color");if(!t)return;n=n||[];var s;if(g.each(n,function(m){var w=new p(m),b=w.get("color");(w.get("itemStyle.color")||b&&b!=="none")&&(s=!0)}),!s){var d=n[0]||(n[0]={});d.color=t.slice()}return n}D.exports=r},kzFp:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g=I.pick=function(y,p){var v={};return p.forEach(function(h){v[h]=y[h]}),v}},kzvK:function(D,I,e){var g=e("sS/r"),f=g.extend({type:"timeline"});D.exports=f},"l+S1":function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="SearchOutlined";var h=I.a=g.forwardRef(v)},lE7J:function(D,I,e){var g=e("OELB"),f=g.round;function y(u,o,i,r){var a={},c=u[1]-u[0],n=a.interval=g.nice(c/o,!0);i!=null&&n<i&&(n=a.interval=i),r!=null&&n>r&&(n=a.interval=r);var l=a.intervalPrecision=p(n),t=a.niceTickExtent=[f(Math.ceil(u[0]/n)*n,l),f(Math.floor(u[1]/n)*n,l)];return h(t,u),a}function p(u){return g.getPrecisionSafe(u)+2}function v(u,o,i){u[o]=Math.max(Math.min(u[o],i[1]),i[0])}function h(u,o){!isFinite(u[0])&&(u[0]=o[0]),!isFinite(u[1])&&(u[1]=o[1]),v(u,0,o),v(u,1,o),u[0]>u[1]&&(u[0]=u[1])}I.intervalScaleNiceTicks=y,I.getIntervalPrecision=p,I.fixExtent=h},lELe:function(D,I,e){var g=e("bYtY");function f(y){var p=[];g.each(y.series,function(v){v&&v.type==="map"&&(p.push(v),v.map=v.map||v.mapType,g.defaults(v,v.mapLocation))})}D.exports=f},lLGD:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("nVfU"),p=y.layout,v=y.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),g.registerLayout(g.PRIORITY.VISUAL.LAYOUT,f.curry(p,"bar")),g.registerLayout(g.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),g.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(D,I,e){"use strict";function g(ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(dt){return typeof dt}:g=function(dt){return dt&&typeof Symbol=="function"&&dt.constructor===Symbol&&dt!==Symbol.prototype?"symbol":typeof dt},g(ye)}Object.defineProperty(I,"__esModule",{value:!0}),I.deflateInit=Ve,I.deflateInit2=st,I.deflateReset=et,I.deflateResetKeep=Ye,I.deflateSetHeader=rt,I.deflate=ie,I.deflateEnd=$,I.deflateSetDictionary=it,I.deflateInfo=I.Z_DEFLATED=I.Z_UNKNOWN=I.Z_DEFAULT_STRATEGY=I.Z_FIXED=I.Z_RLE=I.Z_HUFFMAN_ONLY=I.Z_FILTERED=I.Z_DEFAULT_COMPRESSION=I.Z_BUF_ERROR=I.Z_DATA_ERROR=I.Z_STREAM_ERROR=I.Z_STREAM_END=I.Z_OK=I.Z_BLOCK=I.Z_FINISH=I.Z_FULL_FLUSH=I.Z_PARTIAL_FLUSH=I.Z_NO_FLUSH=void 0;var f=i(e("6BzB")),y=i(e("c5fP")),p=u(e("xlC8")),v=u(e("QV2g")),h=u(e("xSIq"));function u(ye){return ye&&ye.__esModule?ye:{default:ye}}function o(){if(typeof WeakMap!="function")return null;var ye=new WeakMap;return o=function(){return ye},ye}function i(ye){if(ye&&ye.__esModule)return ye;if(ye===null||g(ye)!=="object"&&typeof ye!="function")return{default:ye};var Zt=o();if(Zt&&Zt.has(ye))return Zt.get(ye);var dt={},ct=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var yt in ye)if(Object.prototype.hasOwnProperty.call(ye,yt)){var It=ct?Object.getOwnPropertyDescriptor(ye,yt):null;It&&(It.get||It.set)?Object.defineProperty(dt,yt,It):dt[yt]=ye[yt]}return dt.default=ye,Zt&&Zt.set(ye,dt),dt}var r=0;I.Z_NO_FLUSH=r;var a=1;I.Z_PARTIAL_FLUSH=a;var c=3;I.Z_FULL_FLUSH=c;var n=4;I.Z_FINISH=n;var l=5;I.Z_BLOCK=l;var t=0;I.Z_OK=t;var s=1;I.Z_STREAM_END=s;var d=-2;I.Z_STREAM_ERROR=d;var m=-3;I.Z_DATA_ERROR=m;var w=-5;I.Z_BUF_ERROR=w;var b=-1;I.Z_DEFAULT_COMPRESSION=b;var E=1;I.Z_FILTERED=E;var A=2;I.Z_HUFFMAN_ONLY=A;var S=3;I.Z_RLE=S;var T=4;I.Z_FIXED=T;var O=0;I.Z_DEFAULT_STRATEGY=O;var x=2;I.Z_UNKNOWN=x;var C=8;I.Z_DEFLATED=C;var _=9,N=15,F=8,k=29,P=256,j=P+1+k,K=30,R=19,B=2*j+1,U=15,H=3,W=258,V=W+H+1,z=32,X=42,q=69,fe=73,G=91,ve=103,Se=113,ge=666,Pe=1,Ge=2,pt=3,Te=4,xe=3;function lt(ye,Zt){return ye.msg=h.default[Zt],Zt}function Ie(ye){return(ye<<1)-(ye>4?9:0)}function de(ye){for(var Zt=ye.length;--Zt>=0;)ye[Zt]=0}function ee(ye){var Zt=ye.state,dt=Zt.pending;if(dt>ye.avail_out&&(dt=ye.avail_out),dt===0)return;f.arraySet(ye.output,Zt.pending_buf,Zt.pending_out,dt,ye.next_out),ye.next_out+=dt,Zt.pending_out+=dt,ye.total_out+=dt,ye.avail_out-=dt,Zt.pending-=dt,Zt.pending===0&&(Zt.pending_out=0)}function se(ye,Zt){y._tr_flush_block(ye,ye.block_start>=0?ye.block_start:-1,ye.strstart-ye.block_start,Zt),ye.block_start=ye.strstart,ee(ye.strm)}function ke(ye,Zt){ye.pending_buf[ye.pending++]=Zt}function Ce(ye,Zt){ye.pending_buf[ye.pending++]=Zt>>>8&255,ye.pending_buf[ye.pending++]=Zt&255}function ze(ye,Zt,dt,ct){var yt=ye.avail_in;return yt>ct&&(yt=ct),yt===0?0:(ye.avail_in-=yt,f.arraySet(Zt,ye.input,ye.next_in,yt,dt),ye.state.wrap===1?ye.adler=(0,p.default)(ye.adler,Zt,yt,dt):ye.state.wrap===2&&(ye.adler=(0,v.default)(ye.adler,Zt,yt,dt)),ye.next_in+=yt,ye.total_in+=yt,yt)}function _e(ye,Zt){var dt=ye.max_chain_length,ct=ye.strstart,yt,It,or=ye.prev_length,Bt=ye.nice_match,Ae=ye.strstart>ye.w_size-V?ye.strstart-(ye.w_size-V):0,pe=ye.window,he=ye.w_mask,le=ye.prev,Ne=ye.strstart+W,je=pe[ct+or-1],Ke=pe[ct+or];ye.prev_length>=ye.good_match&&(dt>>=2),Bt>ye.lookahead&&(Bt=ye.lookahead);do{if(yt=Zt,pe[yt+or]!==Ke||pe[yt+or-1]!==je||pe[yt]!==pe[ct]||pe[++yt]!==pe[ct+1])continue;ct+=2,yt++;do;while(pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&pe[++ct]===pe[++yt]&&ct<Ne);if(It=W-(Ne-ct),ct=Ne-W,It>or){if(ye.match_start=Zt,or=It,It>=Bt)break;je=pe[ct+or-1],Ke=pe[ct+or]}}while((Zt=le[Zt&he])>Ae&&--dt!==0);return or<=ye.lookahead?or:ye.lookahead}function ae(ye){var Zt=ye.w_size,dt,ct,yt,It,or;do{if(It=ye.window_size-ye.lookahead-ye.strstart,ye.strstart>=Zt+(Zt-V)){f.arraySet(ye.window,ye.window,Zt,Zt,0),ye.match_start-=Zt,ye.strstart-=Zt,ye.block_start-=Zt,ct=ye.hash_size,dt=ct;do yt=ye.head[--dt],ye.head[dt]=yt>=Zt?yt-Zt:0;while(--ct);ct=Zt,dt=ct;do yt=ye.prev[--dt],ye.prev[dt]=yt>=Zt?yt-Zt:0;while(--ct);It+=Zt}if(ye.strm.avail_in===0)break;if(ct=ze(ye.strm,ye.window,ye.strstart+ye.lookahead,It),ye.lookahead+=ct,ye.lookahead+ye.insert>=H)for(or=ye.strstart-ye.insert,ye.ins_h=ye.window[or],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[or+1])&ye.hash_mask;ye.insert&&!(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[or+H-1])&ye.hash_mask,ye.prev[or&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=or,or++,ye.insert--,ye.lookahead+ye.insert<H););}while(ye.lookahead<V&&ye.strm.avail_in!==0)}function me(ye,Zt){var dt=65535;for(dt>ye.pending_buf_size-5&&(dt=ye.pending_buf_size-5);;){if(ye.lookahead<=1){if(ae(ye),ye.lookahead===0&&Zt===r)return Pe;if(ye.lookahead===0)break}ye.strstart+=ye.lookahead,ye.lookahead=0;var ct=ye.block_start+dt;if((ye.strstart===0||ye.strstart>=ct)&&(ye.lookahead=ye.strstart-ct,ye.strstart=ct,se(ye,!1),ye.strm.avail_out===0))return Pe;if(ye.strstart-ye.block_start>=ye.w_size-V&&(se(ye,!1),ye.strm.avail_out===0))return Pe}return ye.insert=0,Zt===n?(se(ye,!0),ye.strm.avail_out===0?pt:Te):(ye.strstart>ye.block_start&&(se(ye,!1),ye.strm.avail_out===0),Pe)}function Oe(ye,Zt){for(var dt,ct;;){if(ye.lookahead<V){if(ae(ye),ye.lookahead<V&&Zt===r)return Pe;if(ye.lookahead===0)break}if(dt=0,ye.lookahead>=H&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+H-1])&ye.hash_mask,dt=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),dt!==0&&ye.strstart-dt<=ye.w_size-V&&(ye.match_length=_e(ye,dt)),ye.match_length>=H)if(ct=y._tr_tally(ye,ye.strstart-ye.match_start,ye.match_length-H),ye.lookahead-=ye.match_length,ye.match_length<=ye.max_lazy_match&&ye.lookahead>=H){ye.match_length--;do ye.strstart++,ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+H-1])&ye.hash_mask,dt=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart;while(--ye.match_length!==0);ye.strstart++}else ye.strstart+=ye.match_length,ye.match_length=0,ye.ins_h=ye.window[ye.strstart],ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+1])&ye.hash_mask;else ct=y._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++;if(ct&&(se(ye,!1),ye.strm.avail_out===0))return Pe}return ye.insert=ye.strstart<H-1?ye.strstart:H-1,Zt===n?(se(ye,!0),ye.strm.avail_out===0?pt:Te):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Pe:Ge}function Ze(ye,Zt){for(var dt,ct,yt;;){if(ye.lookahead<V){if(ae(ye),ye.lookahead<V&&Zt===r)return Pe;if(ye.lookahead===0)break}if(dt=0,ye.lookahead>=H&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+H-1])&ye.hash_mask,dt=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart),ye.prev_length=ye.match_length,ye.prev_match=ye.match_start,ye.match_length=H-1,dt!==0&&ye.prev_length<ye.max_lazy_match&&ye.strstart-dt<=ye.w_size-V&&(ye.match_length=_e(ye,dt),ye.match_length<=5&&(ye.strategy===E||ye.match_length===H&&ye.strstart-ye.match_start>4096)&&(ye.match_length=H-1)),ye.prev_length>=H&&ye.match_length<=ye.prev_length){yt=ye.strstart+ye.lookahead-H,ct=y._tr_tally(ye,ye.strstart-1-ye.prev_match,ye.prev_length-H),ye.lookahead-=ye.prev_length-1,ye.prev_length-=2;do++ye.strstart<=yt&&(ye.ins_h=(ye.ins_h<<ye.hash_shift^ye.window[ye.strstart+H-1])&ye.hash_mask,dt=ye.prev[ye.strstart&ye.w_mask]=ye.head[ye.ins_h],ye.head[ye.ins_h]=ye.strstart);while(--ye.prev_length!==0);if(ye.match_available=0,ye.match_length=H-1,ye.strstart++,ct&&(se(ye,!1),ye.strm.avail_out===0))return Pe}else if(ye.match_available){if(ct=y._tr_tally(ye,0,ye.window[ye.strstart-1]),ct&&se(ye,!1),ye.strstart++,ye.lookahead--,ye.strm.avail_out===0)return Pe}else ye.match_available=1,ye.strstart++,ye.lookahead--}return ye.match_available&&(ct=y._tr_tally(ye,0,ye.window[ye.strstart-1]),ye.match_available=0),ye.insert=ye.strstart<H-1?ye.strstart:H-1,Zt===n?(se(ye,!0),ye.strm.avail_out===0?pt:Te):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Pe:Ge}function vt(ye,Zt){for(var dt,ct,yt,It,or=ye.window;;){if(ye.lookahead<=W){if(ae(ye),ye.lookahead<=W&&Zt===r)return Pe;if(ye.lookahead===0)break}if(ye.match_length=0,ye.lookahead>=H&&ye.strstart>0&&(yt=ye.strstart-1,ct=or[yt],ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt])){It=ye.strstart+W;do;while(ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&yt<It);ye.match_length=W-(It-yt),ye.match_length>ye.lookahead&&(ye.match_length=ye.lookahead)}if(ye.match_length>=H?(dt=y._tr_tally(ye,1,ye.match_length-H),ye.lookahead-=ye.match_length,ye.strstart+=ye.match_length,ye.match_length=0):(dt=y._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++),dt&&(se(ye,!1),ye.strm.avail_out===0))return Pe}return ye.insert=0,Zt===n?(se(ye,!0),ye.strm.avail_out===0?pt:Te):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Pe:Ge}function Ct(ye,Zt){for(var dt;;){if(ye.lookahead===0&&(ae(ye),ye.lookahead===0)){if(Zt===r)return Pe;break}if(ye.match_length=0,dt=y._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++,dt&&(se(ye,!1),ye.strm.avail_out===0))return Pe}return ye.insert=0,Zt===n?(se(ye,!0),ye.strm.avail_out===0?pt:Te):ye.last_lit&&(se(ye,!1),ye.strm.avail_out===0)?Pe:Ge}function Be(ye,Zt,dt,ct,yt){this.good_length=ye,this.max_lazy=Zt,this.nice_length=dt,this.max_chain=ct,this.func=yt}var Rt;Rt=[new Be(0,0,0,0,me),new Be(4,4,8,4,Oe),new Be(4,5,16,8,Oe),new Be(4,6,32,32,Oe),new Be(4,4,16,16,Ze),new Be(8,16,32,32,Ze),new Be(8,16,128,128,Ze),new Be(8,32,128,256,Ze),new Be(32,128,258,1024,Ze),new Be(32,258,258,4096,Ze)];function He(ye){ye.window_size=2*ye.w_size,de(ye.head),ye.max_lazy_match=Rt[ye.level].max_lazy,ye.good_match=Rt[ye.level].good_length,ye.nice_match=Rt[ye.level].nice_length,ye.max_chain_length=Rt[ye.level].max_chain,ye.strstart=0,ye.block_start=0,ye.lookahead=0,ye.insert=0,ye.match_length=ye.prev_length=H-1,ye.match_available=0,ye.ins_h=0}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new f.Buf16(B*2),this.dyn_dtree=new f.Buf16((2*K+1)*2),this.bl_tree=new f.Buf16((2*R+1)*2),de(this.dyn_ltree),de(this.dyn_dtree),de(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(U+1),this.heap=new f.Buf16(2*j+1),de(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*j+1),de(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 Ye(ye){var Zt;return!ye||!ye.state?lt(ye,d):(ye.total_in=ye.total_out=0,ye.data_type=x,Zt=ye.state,Zt.pending=0,Zt.pending_out=0,Zt.wrap<0&&(Zt.wrap=-Zt.wrap),Zt.status=Zt.wrap?X:Se,ye.adler=Zt.wrap===2?0:1,Zt.last_flush=r,y._tr_init(Zt),t)}function et(ye){var Zt=Ye(ye);return Zt===t&&He(ye.state),Zt}function rt(ye,Zt){return!ye||!ye.state||ye.state.wrap!==2?d:(ye.state.gzhead=Zt,t)}function st(ye,Zt,dt,ct,yt,It){if(!ye)return d;var or=1;if(Zt===b&&(Zt=6),ct<0?(or=0,ct=-ct):ct>15&&(or=2,ct-=16),yt<1||yt>_||dt!==C||ct<8||ct>15||Zt<0||Zt>9||It<0||It>T)return lt(ye,d);ct===8&&(ct=9);var Bt=new wt;return ye.state=Bt,Bt.strm=ye,Bt.wrap=or,Bt.gzhead=null,Bt.w_bits=ct,Bt.w_size=1<<Bt.w_bits,Bt.w_mask=Bt.w_size-1,Bt.hash_bits=yt+7,Bt.hash_size=1<<Bt.hash_bits,Bt.hash_mask=Bt.hash_size-1,Bt.hash_shift=~~((Bt.hash_bits+H-1)/H),Bt.window=new f.Buf8(Bt.w_size*2),Bt.head=new f.Buf16(Bt.hash_size),Bt.prev=new f.Buf16(Bt.w_size),Bt.lit_bufsize=1<<yt+6,Bt.pending_buf_size=Bt.lit_bufsize*4,Bt.pending_buf=new f.Buf8(Bt.pending_buf_size),Bt.d_buf=1*Bt.lit_bufsize,Bt.l_buf=(1+2)*Bt.lit_bufsize,Bt.level=Zt,Bt.strategy=It,Bt.method=dt,et(ye)}function Ve(ye,Zt){return st(ye,Zt,C,N,F,O)}function ie(ye,Zt){var dt,ct,yt,It;if(!ye||!ye.state||Zt>l||Zt<0)return ye?lt(ye,d):d;if(ct=ye.state,!ye.output||!ye.input&&ye.avail_in!==0||ct.status===ge&&Zt!==n)return lt(ye,ye.avail_out===0?w:d);if(ct.strm=ye,dt=ct.last_flush,ct.last_flush=Zt,ct.status===X)if(ct.wrap===2)ye.adler=0,ke(ct,31),ke(ct,139),ke(ct,8),ct.gzhead?(ke(ct,(ct.gzhead.text?1:0)+(ct.gzhead.hcrc?2:0)+(ct.gzhead.extra?4:0)+(ct.gzhead.name?8:0)+(ct.gzhead.comment?16:0)),ke(ct,ct.gzhead.time&255),ke(ct,ct.gzhead.time>>8&255),ke(ct,ct.gzhead.time>>16&255),ke(ct,ct.gzhead.time>>24&255),ke(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),ke(ct,ct.gzhead.os&255),ct.gzhead.extra&&ct.gzhead.extra.length&&(ke(ct,ct.gzhead.extra.length&255),ke(ct,ct.gzhead.extra.length>>8&255)),ct.gzhead.hcrc&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending,0)),ct.gzindex=0,ct.status=q):(ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,0),ke(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),ke(ct,xe),ct.status=Se);else{var or=C+(ct.w_bits-8<<4)<<8,Bt=-1;ct.strategy>=A||ct.level<2?Bt=0:ct.level<6?Bt=1:ct.level===6?Bt=2:Bt=3,or|=Bt<<6,ct.strstart!==0&&(or|=z),or+=31-or%31,ct.status=Se,Ce(ct,or),ct.strstart!==0&&(Ce(ct,ye.adler>>>16),Ce(ct,ye.adler&65535)),ye.adler=1}if(ct.status===q)if(ct.gzhead.extra){for(yt=ct.pending;ct.gzindex<(ct.gzhead.extra.length&65535)&&!(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size));)ke(ct,ct.gzhead.extra[ct.gzindex]&255),ct.gzindex++;ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ct.gzindex===ct.gzhead.extra.length&&(ct.gzindex=0,ct.status=fe)}else ct.status=fe;if(ct.status===fe)if(ct.gzhead.name){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size)){It=1;break}ct.gzindex<ct.gzhead.name.length?It=ct.gzhead.name.charCodeAt(ct.gzindex++)&255:It=0,ke(ct,It)}while(It!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),It===0&&(ct.gzindex=0,ct.status=G)}else ct.status=G;if(ct.status===G)if(ct.gzhead.comment){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),ee(ye),yt=ct.pending,ct.pending===ct.pending_buf_size)){It=1;break}ct.gzindex<ct.gzhead.comment.length?It=ct.gzhead.comment.charCodeAt(ct.gzindex++)&255:It=0,ke(ct,It)}while(It!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ye.adler=(0,v.default)(ye.adler,ct.pending_buf,ct.pending-yt,yt)),It===0&&(ct.status=ve)}else ct.status=ve;if(ct.status===ve&&(ct.gzhead.hcrc?(ct.pending+2>ct.pending_buf_size&&ee(ye),ct.pending+2<=ct.pending_buf_size&&(ke(ct,ye.adler&255),ke(ct,ye.adler>>8&255),ye.adler=0,ct.status=Se)):ct.status=Se),ct.pending!==0){if(ee(ye),ye.avail_out===0)return ct.last_flush=-1,t}else if(ye.avail_in===0&&Ie(Zt)<=Ie(dt)&&Zt!==n)return lt(ye,w);if(ct.status===ge&&ye.avail_in!==0)return lt(ye,w);if(ye.avail_in!==0||ct.lookahead!==0||Zt!==r&&ct.status!==ge){var Ae=ct.strategy===A?Ct(ct,Zt):ct.strategy===S?vt(ct,Zt):Rt[ct.level].func(ct,Zt);if((Ae===pt||Ae===Te)&&(ct.status=ge),Ae===Pe||Ae===pt)return ye.avail_out===0&&(ct.last_flush=-1),t;if(Ae===Ge&&(Zt===a?y._tr_align(ct):Zt!==l&&(y._tr_stored_block(ct,0,0,!1),Zt===c&&(de(ct.head),ct.lookahead===0&&(ct.strstart=0,ct.block_start=0,ct.insert=0))),ee(ye),ye.avail_out===0))return ct.last_flush=-1,t}return Zt!==n?t:ct.wrap<=0?s:(ct.wrap===2?(ke(ct,ye.adler&255),ke(ct,ye.adler>>8&255),ke(ct,ye.adler>>16&255),ke(ct,ye.adler>>24&255),ke(ct,ye.total_in&255),ke(ct,ye.total_in>>8&255),ke(ct,ye.total_in>>16&255),ke(ct,ye.total_in>>24&255)):(Ce(ct,ye.adler>>>16),Ce(ct,ye.adler&65535)),ee(ye),ct.wrap>0&&(ct.wrap=-ct.wrap),ct.pending!==0?t:s)}function $(ye){var Zt;return!ye||!ye.state?d:(Zt=ye.state.status,Zt!==X&&Zt!==q&&Zt!==fe&&Zt!==G&&Zt!==ve&&Zt!==Se&&Zt!==ge?lt(ye,d):(ye.state=null,Zt===Se?lt(ye,m):t))}function it(ye,Zt){var dt=Zt.length,ct,yt,It,or,Bt,Ae,pe,he;if(!ye||!ye.state)return d;if(ct=ye.state,or=ct.wrap,or===2||or===1&&ct.status!==X||ct.lookahead)return d;for(or===1&&(ye.adler=(0,p.default)(ye.adler,Zt,dt,0)),ct.wrap=0,dt>=ct.w_size&&(or===0&&(de(ct.head),ct.strstart=0,ct.block_start=0,ct.insert=0),he=new f.Buf8(ct.w_size),f.arraySet(he,Zt,dt-ct.w_size,ct.w_size,0),Zt=he,dt=ct.w_size),Bt=ye.avail_in,Ae=ye.next_in,pe=ye.input,ye.avail_in=dt,ye.next_in=0,ye.input=Zt,ae(ct);ct.lookahead>=H;){yt=ct.strstart,It=ct.lookahead-(H-1);do ct.ins_h=(ct.ins_h<<ct.hash_shift^ct.window[yt+H-1])&ct.hash_mask,ct.prev[yt&ct.w_mask]=ct.head[ct.ins_h],ct.head[ct.ins_h]=yt,yt++;while(--It);ct.strstart=yt,ct.lookahead=H-1,ae(ct)}return ct.strstart+=ct.lookahead,ct.block_start=ct.strstart,ct.insert=ct.lookahead,ct.lookahead=0,ct.match_length=ct.prev_length=H-1,ct.match_available=0,ye.next_in=Ae,ye.input=pe,ye.avail_in=Bt,ct.wrap=or,t}var Qe="pako deflate (from Nodeca project)";I.deflateInfo=Qe},lOQZ:function(D,I,e){var g=e("QBsz"),f=e("U/Mo"),y=f.getSymbolSize,p=f.getNodeGlobalScale,v=Math.PI,h=[];function u(i,r){var a=i.coordinateSystem;if(a&&a.type!=="view")return;var c=a.getBoundingRect(),n=i.getData(),l=n.graph,t=c.width/2+c.x,s=c.height/2+c.y,d=Math.min(c.width,c.height)/2,m=n.count();if(n.setLayout({cx:t,cy:s}),!m)return;o[r](i,a,l,n,d,t,s,m),l.eachEdge(function(w){var b=w.getModel().get("lineStyle.curveness")||0,E=g.clone(w.node1.getLayout()),A=g.clone(w.node2.getLayout()),S,T=(E[0]+A[0])/2,O=(E[1]+A[1])/2;+b&&(b*=3,S=[t*b+T*(1-b),s*b+O*(1-b)]),w.setLayout([E,A,S])})}var o={value:function(i,r,a,c,n,l,t,s){var d=0,m=c.getSum("value"),w=Math.PI*2/(m||s);a.eachNode(function(b){var E=b.getValue("value"),A=w*(m?E:1)/2;d+=A,b.setLayout([n*Math.cos(d)+l,n*Math.sin(d)+t]),d+=A})},symbolSize:function(i,r,a,c,n,l,t,s){var d=0;h.length=s;var m=p(i);a.eachNode(function(E){var A=y(E);isNaN(A)&&(A=2),A<0&&(A=0),A*=m;var S=Math.asin(A/2/n);isNaN(S)&&(S=v/2),h[E.dataIndex]=S,d+=S*2});var w=(2*v-d)/s/2,b=0;a.eachNode(function(E){var A=w+h[E.dataIndex];b+=A,E.setLayout([n*Math.cos(b)+l,n*Math.sin(b)+t]),b+=A})}};I.circularLayout=u},lSCD:function(D,I,e){var g=e("NykK"),f=e("GoyQ"),y="[object AsyncFunction]",p="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function u(o){if(!f(o))return!1;var i=g(o);return i==p||i==v||i==y||i==h}D.exports=u},lUTK:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("x54q"),p=e.n(y),v=e("5Dmo")},lZu9:function(D,I,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,y){var p=g.getMode(f,"text/html"),v=p.name=="null";function h(U){if(g.findModeByName){var H=g.findModeByName(U);H&&(U=H.mime||H.mimes[0])}var W=g.getMode(f,U);return W.name=="null"?null:W}y.highlightFormatting===void 0&&(y.highlightFormatting=!1),y.maxBlockquoteDepth===void 0&&(y.maxBlockquoteDepth=0),y.taskLists===void 0&&(y.taskLists=!1),y.strikethrough===void 0&&(y.strikethrough=!1),y.emoji===void 0&&(y.emoji=!1),y.fencedCodeBlockHighlighting===void 0&&(y.fencedCodeBlockHighlighting=!0),y.fencedCodeBlockDefaultMode===void 0&&(y.fencedCodeBlockDefaultMode="text/plain"),y.xml===void 0&&(y.xml=!0),y.tokenTypeOverrides===void 0&&(y.tokenTypeOverrides={});var u={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 o in u)u.hasOwnProperty(o)&&y.tokenTypeOverrides[o]&&(u[o]=y.tokenTypeOverrides[o]);var i=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,a=/^\[(x| )\](?=\s)/i,c=y.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,d=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,m=" ";function w(U,H,W){return H.f=H.inline=W,W(U,H)}function b(U,H,W){return H.f=H.block=W,W(U,H)}function E(U){return!U||!/\S/.test(U.string)}function A(U){if(U.linkTitle=!1,U.linkHref=!1,U.linkText=!1,U.em=!1,U.strong=!1,U.strikethrough=!1,U.quote=0,U.indentedCode=!1,U.f==T){var H=v;if(!H){var W=g.innerMode(p,U.htmlState);H=W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText}H&&(U.f=_,U.block=S,U.htmlState=null)}return U.trailingSpace=0,U.trailingSpaceNewLine=!1,U.prevLine=U.thisLine,U.thisLine={stream:null},null}function S(U,H){var W=U.column()===H.indentation,V=E(H.prevLine.stream),z=H.indentedCode,X=H.prevLine.hr,q=H.list!==!1,fe=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var G=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,q)){for(H.list=null;G<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=G-H.listStack[H.listStack.length-1])}var ve=!V&&!X&&!H.prevLine.header&&(!q||!z)&&!H.prevLine.fencedCodeEnd,Se=(H.list===!1||X||V)&&H.indentation<=fe&&U.match(i),ge=null;if(H.indentationDiff>=4&&(z||H.prevLine.fencedCodeEnd||H.prevLine.header||V))return U.skipToEnd(),H.indentedCode=!0,u.code;if(U.eatSpace())return null;if(W&&H.indentation<=fe&&(ge=U.match(c))&&ge[1].length<=6)return H.quote=0,H.header=ge[1].length,H.thisLine.header=!0,y.highlightFormatting&&(H.formatting="header"),H.f=H.inline,x(H);if(H.indentation<=fe&&U.eat(">"))return H.quote=W?1:H.quote+1,y.highlightFormatting&&(H.formatting="quote"),U.eatSpace(),x(H);if(!Se&&!H.setext&&W&&H.indentation<=fe&&(ge=U.match(r))){var Pe=ge[1]?"ol":"ul";return H.indentation=G+U.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,y.taskLists&&U.match(a,!1)&&(H.taskList=!0),H.f=H.inline,y.highlightFormatting&&(H.formatting=["list","list-"+Pe]),x(H)}else{if(W&&H.indentation<=fe&&(ge=U.match(t,!0)))return H.quote=0,H.fencedEndRE=new RegExp(ge[1]+"+ *$"),H.localMode=y.fencedCodeBlockHighlighting&&h(ge[2]||y.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=g.startState(H.localMode)),H.f=H.block=O,y.highlightFormatting&&(H.formatting="code-block"),H.code=-1,x(H);if(H.setext||(!ve||!q)&&!H.quote&&H.list===!1&&!H.code&&!Se&&!s.test(U.string)&&(ge=U.lookAhead(1))&&(ge=ge.match(n)))return H.setext?(H.header=H.setext,H.setext=0,U.skipToEnd(),y.highlightFormatting&&(H.formatting="header")):(H.header=ge[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,x(H);if(Se)return U.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,u.hr;if(U.peek()==="[")return w(U,H,j)}return w(U,H,H.inline)}function T(U,H){var W=p.token(U,H.htmlState);if(!v){var V=g.innerMode(p,H.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||H.md_inside&&U.current().indexOf(">")>-1)&&(H.f=_,H.block=S,H.htmlState=null)}return W}function O(U,H){var W=H.listStack[H.listStack.length-1]||0,V=H.indentation<W,z=W+3;if(H.fencedEndRE&&H.indentation<=z&&(V||U.match(H.fencedEndRE))){y.highlightFormatting&&(H.formatting="code-block");var X;return V||(X=x(H)),H.localMode=H.localState=null,H.block=S,H.f=_,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,V?b(U,H,H.block):X}else return H.localMode?H.localMode.token(U,H.localState):(U.skipToEnd(),u.code)}function x(U){var H=[];if(U.formatting){H.push(u.formatting),typeof U.formatting=="string"&&(U.formatting=[U.formatting]);for(var W=0;W<U.formatting.length;W++)H.push(u.formatting+"-"+U.formatting[W]),U.formatting[W]==="header"&&H.push(u.formatting+"-"+U.formatting[W]+"-"+U.header),U.formatting[W]==="quote"&&(!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=U.quote?H.push(u.formatting+"-"+U.formatting[W]+"-"+U.quote):H.push("error"))}if(U.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(U.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(U.linkHref?H.push(u.linkHref,"url"):(U.strong&&H.push(u.strong),U.em&&H.push(u.em),U.strikethrough&&H.push(u.strikethrough),U.emoji&&H.push(u.emoji),U.linkText&&H.push(u.linkText),U.code&&H.push(u.code),U.image&&H.push(u.image),U.imageAltText&&H.push(u.imageAltText,"link"),U.imageMarker&&H.push(u.imageMarker)),U.header&&H.push(u.header,u.header+"-"+U.header),U.quote&&(H.push(u.quote),!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=U.quote?H.push(u.quote+"-"+U.quote):H.push(u.quote+"-"+y.maxBlockquoteDepth)),U.list!==!1){var V=(U.listStack.length-1)%3;V?V===1?H.push(u.list2):H.push(u.list3):H.push(u.list1)}return U.trailingSpaceNewLine?H.push("trailing-space-new-line"):U.trailingSpace&&H.push("trailing-space-"+(U.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function C(U,H){return U.match(l,!0)?x(H):void 0}function _(U,H){var W=H.text(U,H);if(typeof W!="undefined")return W;if(H.list)return H.list=null,x(H);if(H.taskList){var V=U.match(a,!0)[1]===" ";return V?H.taskOpen=!0:H.taskClosed=!0,y.highlightFormatting&&(H.formatting="task"),H.taskList=!1,x(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&U.match(/^#+$/,!0))return y.highlightFormatting&&(H.formatting="header"),x(H);var z=U.next();if(H.linkTitle){H.linkTitle=!1;var X=z;z==="("&&(X=")"),X=(X+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var q="^\\s*(?:[^"+X+"\\\\]+|\\\\\\\\|\\\\.)"+X;if(U.match(new RegExp(q),!0))return u.linkHref}if(z==="`"){var fe=H.formatting;y.highlightFormatting&&(H.formatting="code"),U.eatWhile("`");var G=U.current().length;if(H.code==0&&(!H.quote||G==1))return H.code=G,x(H);if(G==H.code){var ve=x(H);return H.code=0,ve}else return H.formatting=fe,x(H)}else if(H.code)return x(H);if(z==="\\"&&(U.next(),y.highlightFormatting)){var Se=x(H),ge=u.formatting+"-escape";return Se?Se+" "+ge:ge}if(z==="!"&&U.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(z==="["&&H.imageMarker&&U.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(z==="]"&&H.imageAltText){y.highlightFormatting&&(H.formatting="image");var Se=x(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=F,Se}if(z==="["&&!H.image)return H.linkText&&U.match(/^.*?\]/)||(H.linkText=!0,y.highlightFormatting&&(H.formatting="link")),x(H);if(z==="]"&&H.linkText){y.highlightFormatting&&(H.formatting="link");var Se=x(H);return H.linkText=!1,H.inline=H.f=U.match(/\(.*?\)| ?\[.*?\]/,!1)?F:_,Se}if(z==="<"&&U.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Se=x(H);return Se?Se+=" ":Se="",Se+u.linkInline}if(z==="<"&&U.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Se=x(H);return Se?Se+=" ":Se="",Se+u.linkEmail}if(y.xml&&z==="<"&&U.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Pe=U.string.indexOf(">",U.pos);if(Pe!=-1){var Ge=U.string.substring(U.start,Pe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ge)&&(H.md_inside=!0)}return U.backUp(1),H.htmlState=g.startState(p),b(U,H,T)}if(y.xml&&z==="<"&&U.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var pt=1,Te=U.pos==1?" ":U.string.charAt(U.pos-2);pt<3&&U.eat(z);)pt++;var xe=U.peek()||" ",lt=!/\s/.test(xe)&&(!d.test(xe)||/\s/.test(Te)||d.test(Te)),Ie=!/\s/.test(Te)&&(!d.test(Te)||/\s/.test(xe)||d.test(xe)),de=null,ee=null;if(pt%2&&(!H.em&<&&(z==="*"||!Ie||d.test(Te))?de=!0:H.em==z&&Ie&&(z==="*"||!lt||d.test(xe))&&(de=!1)),pt>1&&(!H.strong&<&&(z==="*"||!Ie||d.test(Te))?ee=!0:H.strong==z&&Ie&&(z==="*"||!lt||d.test(xe))&&(ee=!1)),ee!=null||de!=null){y.highlightFormatting&&(H.formatting=de==null?"strong":ee==null?"em":"strong em"),de===!0&&(H.em=z),ee===!0&&(H.strong=z);var ve=x(H);return de===!1&&(H.em=!1),ee===!1&&(H.strong=!1),ve}}else if(z===" "&&(U.eat("*")||U.eat("_"))){if(U.peek()===" ")return x(H);U.backUp(1)}if(y.strikethrough){if(z==="~"&&U.eatWhile(z)){if(H.strikethrough){y.highlightFormatting&&(H.formatting="strikethrough");var ve=x(H);return H.strikethrough=!1,ve}else if(U.match(/^[^\s]/,!1))return H.strikethrough=!0,y.highlightFormatting&&(H.formatting="strikethrough"),x(H)}else if(z===" "&&U.match(/^~~/,!0)){if(U.peek()===" ")return x(H);U.backUp(2)}}if(y.emoji&&z===":"&&U.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,y.highlightFormatting&&(H.formatting="emoji");var se=x(H);return H.emoji=!1,se}return z===" "&&(U.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),x(H)}function N(U,H){var W=U.next();if(W===">"){H.f=H.inline=_,y.highlightFormatting&&(H.formatting="link");var V=x(H);return V?V+=" ":V="",V+u.linkInline}return U.match(/^[^>]+/,!0),u.linkInline}function F(U,H){if(U.eatSpace())return null;var W=U.next();return W==="("||W==="["?(H.f=H.inline=P(W==="("?")":"]"),y.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,x(H)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function P(U){return function(H,W){var V=H.next();if(V===U){W.f=W.inline=_,y.highlightFormatting&&(W.formatting="link-string");var z=x(W);return W.linkHref=!1,z}return H.match(k[U]),W.linkHref=!0,x(W)}}function j(U,H){return U.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=K,U.next(),y.highlightFormatting&&(H.formatting="link"),H.linkText=!0,x(H)):w(U,H,_)}function K(U,H){if(U.match(/^\]:/,!0)){H.f=H.inline=R,y.highlightFormatting&&(H.formatting="link");var W=x(H);return H.linkText=!1,W}return U.match(/^([^\]\\]|\\.)+/,!0),u.linkText}function R(U,H){return U.eatSpace()?null:(U.match(/^[^\s]+/,!0),U.peek()===void 0?H.linkTitle=!0:U.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=_,u.linkHref+" url")}var B={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:_,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(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&g.copyState(p,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?g.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,W){if(W.formatting=!1,H!=W.thisLine.stream){if(W.header=0,W.hr=!1,H.match(/^\s*$/,!0))return A(W),null;if(W.prevLine=W.thisLine,W.thisLine={stream:H},W.taskList=!1,W.trailingSpace=0,W.trailingSpaceNewLine=!1,!W.localState&&(W.f=W.block,W.f!=T)){var V=H.match(/^\s*/,!0)[0].replace(/\t/g,m).length;if(W.indentation=V,W.indentationDiff=null,V>0)return null}}return W.f(H,W)},innerMode:function(H){return H.block==T?{state:H.htmlState,mode:p}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:B}},indent:function(H,W,V){return H.block==T&&p.indent?p.indent(H.htmlState,W,V):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,W,V):g.Pass},blankLine:A,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return B},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(D,I,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(D,I){function e(g,f){return g===f||g!==g&&f!==f}D.exports=e},lnY3:function(D,I,e){},loD1:function(D,I){function e(g,f,y,p,v,h,u){if(v===0)return!1;var o=v,i=0,r=g;if(u>f+o&&u>p+o||u<f-o&&u<p-o||h>g+o&&h>y+o||h<g-o&&h<y-o)return!1;if(g!==y)i=(f-p)/(g-y),r=(g*p-y*f)/(g-y);else return Math.abs(h-g)<=o/2;var a=i*h-u+r,c=a*a/(i*i+1);return c<=o/2*o/2}I.containStroke=e},lrIw:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("cDf5"),p=e.n(y),v=e("J4zp"),h=e.n(v),u=e("q1tI"),o=e.n(u),i=e("Zm9Q"),r=e("TSYQ"),a=e.n(r),c=e("BGR+"),n=e("2fM7"),l=e("H84U"),t=e("uaoM"),s=e("0n0R"),d=n.a.Option,m=n.a;function w(A){return A&&A.type&&(A.type.isSelectOption||A.type.isSelectOptGroup)}var b=function(S,T){var O=S.prefixCls,x=S.className,C=S.children,_=S.dataSource,N=Object(i.a)(C),F=u.useRef();u.useImperativeHandle(T,function(){return F.current});var k;if(N.length===1&&Object(s.b)(N[0])&&!w(N[0])){var P=h()(N,1);k=P[0]}var j=function(){return k},K;return N.length&&w(N[0])?K=C:K=_?_.map(function(R){if(Object(s.b)(R))return R;switch(p()(R)){case"string":return u.createElement(d,{key:R,value:R},R);case"object":{var B=R.value;return u.createElement(d,{key:B,value:B},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],u.useEffect(function(){Object(t.a)(!("dataSource"in S),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!k||!("size"in S),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),u.createElement(l.a,null,function(R){var B=R.getPrefixCls,U=B("select",O);return u.createElement(m,f()({ref:F},Object(c.default)(S,["dataSource"]),{prefixCls:U,className:a()(x,"".concat(U,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:j}),K)})},E=u.forwardRef(b);E.Option=d,I.a=E},lwQL:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("9wZj"),p=e("c8qY"),v=e("SgGq"),h=e("Ae+d"),u=e("xSat"),o=u.onIrrelevantElement,i=e("IwbS"),r=e("SA8n"),a=e("U/Mo"),c=a.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function d(E,A){var S=E.getVisual("opacity");return S!=null?S:E.getModel().get(A)}function m(E,A,S){var T=E.getGraphicEl(),O=d(E,A);S!=null&&(O==null&&(O=1),O*=S),T.downplay&&T.downplay(),T.traverse(function(x){if(!x.isGroup){var C=x.lineLabelOriginalOpacity;(C==null||S!=null)&&(C=O),x.setStyle("opacity",C)}})}function w(E,A){var S=d(E,A),T=E.getGraphicEl();T.traverse(function(O){!O.isGroup&&O.setStyle("opacity",S)}),T.highlight&&T.highlight()}var b=g.extendChartView({type:"graph",init:function(E,A){var S=new y,T=new p,O=this.group;this._controller=new v(A.getZr()),this._controllerHost={target:O},O.add(S.group),O.add(T.group),this._symbolDraw=S,this._lineDraw=T,this._firstRender=!0},render:function(E,A,S){var T=this,O=E.coordinateSystem;this._model=E;var x=this._symbolDraw,C=this._lineDraw,_=this.group;if(O.type==="view"){var N={position:O.position,scale:O.scale};this._firstRender?_.attr(N):i.updateProps(_,N,E)}r(E.getGraph(),c(E));var F=E.getData();x.updateData(F);var k=E.getEdgeData();C.updateData(k),this._updateNodeAndLinkScale(),this._updateController(E,A,S),clearTimeout(this._layoutTimeout);var P=E.forceLayout,j=E.get("force.layoutAnimation");P&&this._startForceLayoutIteration(P,j),F.eachItemGraphicEl(function(U,H){var W=F.getItemModel(H);U.off("drag").off("dragend");var V=W.get("draggable");V&&U.on("drag",function(){P&&(P.warmUp(),!this._layouting&&this._startForceLayoutIteration(P,j),P.setFixed(H),F.setItemLayout(H,U.position))},this).on("dragend",function(){P&&P.setUnfixed(H)},this),U.setDraggable(V&&P),U[n]&&U.off("mouseover",U[n]),U[l]&&U.off("mouseout",U[l]),W.get("focusNodeAdjacency")&&(U.on("mouseover",U[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,dataIndex:U.dataIndex})}),U.on("mouseout",U[l]=function(){T._dispatchUnfocus(S)}))},this),F.graph.eachEdge(function(U){var H=U.getGraphicEl();H[n]&&H.off("mouseover",H[n]),H[l]&&H.off("mouseout",H[l]),U.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,edgeDataIndex:U.dataIndex})}),H.on("mouseout",H[l]=function(){T._dispatchUnfocus(S)}))});var K=E.get("layout")==="circular"&&E.get("circular.rotateLabel"),R=F.getLayout("cx"),B=F.getLayout("cy");F.eachItemGraphicEl(function(U,H){var W=F.getItemModel(H),V=W.get("label.rotate")||0,z=U.getSymbolPath();if(K){var X=F.getItemLayout(H),q=Math.atan2(X[1]-B,X[0]-R);q<0&&(q=Math.PI*2+q);var fe=X[0]<R;fe&&(q=q-Math.PI);var G=fe?"left":"right";i.modifyLabelStyle(z,{textRotation:-q,textPosition:G,textOrigin:"center"},{textPosition:G})}else i.modifyLabelStyle(z,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(E,A){var S=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){S._unfocusDelayTimer=null,E.dispatchAction({type:"unfocusNodeAdjacency",seriesId:S._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(E,A,S,T){var O=E.getData(),x=O.graph,C=T.dataIndex,_=T.edgeDataIndex,N=x.getNodeByIndex(C),F=x.getEdgeByIndex(_);if(!N&&!F)return;x.eachNode(function(k){m(k,t,.1)}),x.eachEdge(function(k){m(k,s,.1)}),N&&(w(N,t),f.each(N.edges,function(k){if(k.dataIndex<0)return;w(k,s),w(k.node1,t),w(k.node2,t)})),F&&(w(F,s),w(F.node1,t),w(F.node2,t))},unfocusNodeAdjacency:function(E,A,S,T){var O=E.getData().graph;O.eachNode(function(x){m(x,t)}),O.eachEdge(function(x){m(x,s)})},_startForceLayoutIteration:function(E,A){var S=this;(function T(){E.step(function(O){S.updateLayout(S._model),(S._layouting=!O)&&(A?S._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(E,A,S){var T=this._controller,O=this._controllerHost,x=this.group;if(T.setPointerChecker(function(C,_,N){var F=x.getBoundingRect();return F.applyTransform(x.transform),F.contain(_,N)&&!o(C,S,E)}),E.coordinateSystem.type!=="view"){T.disable();return}T.enable(E.get("roam")),O.zoomLimit=E.get("scaleLimit"),O.zoom=E.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(C){h.updateViewOnPan(O,C.dx,C.dy),S.dispatchAction({seriesId:E.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){h.updateViewOnZoom(O,C.scale,C.originX,C.originY),S.dispatchAction({seriesId:E.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),r(E.getGraph(),c(E)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var E=this._model,A=E.getData(),S=c(E),T=[S,S];A.eachItemGraphicEl(function(O,x){O.attr("scale",T)})},updateLayout:function(E){r(E.getGraph(),c(E)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(E,A){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});D.exports=b},m9t5:function(D,I,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),y={getAreaStyle:function(p,v){return f(this,p,v)}};D.exports=y},mFDi:function(D,I,e){var g=e("QBsz"),f=e("Fofx"),y=g.applyTransform,p=Math.min,v=Math.max;function h(o,i,r,a){r<0&&(o=o+r,r=-r),a<0&&(i=i+a,a=-a),this.x=o,this.y=i,this.width=r,this.height=a}h.prototype={constructor:h,union:function(i){var r=p(i.x,this.x),a=p(i.y,this.y);this.width=v(i.x+i.width,this.x+this.width)-r,this.height=v(i.y+i.height,this.y+this.height)-a,this.x=r,this.y=a},applyTransform:function(){var o=[],i=[],r=[],a=[];return function(c){if(!c)return;o[0]=r[0]=this.x,o[1]=a[1]=this.y,i[0]=a[0]=this.x+this.width,i[1]=r[1]=this.y+this.height,y(o,o,c),y(i,i,c),y(r,r,c),y(a,a,c),this.x=p(o[0],i[0],r[0],a[0]),this.y=p(o[1],i[1],r[1],a[1]);var n=v(o[0],i[0],r[0],a[0]),l=v(o[1],i[1],r[1],a[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(i){var r=this,a=i.width/r.width,c=i.height/r.height,n=f.create();return f.translate(n,n,[-r.x,-r.y]),f.scale(n,n,[a,c]),f.translate(n,n,[i.x,i.y]),n},intersect:function(i){if(!i)return!1;i instanceof h||(i=h.create(i));var r=this,a=r.x,c=r.x+r.width,n=r.y,l=r.y+r.height,t=i.x,s=i.x+i.width,d=i.y,m=i.y+i.height;return!(c<t||s<a||l<d||m<n)},contain:function(i,r){var a=this;return i>=a.x&&i<=a.x+a.width&&r>=a.y&&r<=a.y+a.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(i){this.x=i.x,this.y=i.y,this.width=i.width,this.height=i.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(o){return new h(o.x,o.y,o.width,o.height)};var u=h;D.exports=u},mHUz:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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};I.default=g},mLcG:function(D,I){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(g){setTimeout(g,16)};D.exports=e},"mO/d":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("I9Y+"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},mOdp:function(D,I,e){var g=e("bYtY"),f=g.createHashMap;function y(p){return{getTargetSeries:function(v){var h={},u=f();return v.eachSeriesByType(p,function(o){o.__paletteScope=h,u.set(o.uid,o)}),u},reset:function(v,h){var u=v.getRawData(),o={},i=v.getData();i.each(function(r){var a=i.getRawIndex(r);o[a]=r}),u.each(function(r){var a=o[r],c=a!=null&&i.getItemVisual(a,"color",!0),n=a!=null&&i.getItemVisual(a,"borderColor",!0),l;if((!c||!n)&&(l=u.getItemModel(r)),!c){var t=l.get("itemStyle.color")||v.getColorFromPalette(u.getName(r)||r+"",v.__paletteScope,u.count());a!=null&&i.setItemVisual(a,"color",t)}if(!n){var s=l.get("itemStyle.borderColor");a!=null&&i.setItemVisual(a,"borderColor",s)}})}}}D.exports=y},mTgk:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("mHUz"));function f(o){return o&&o.__esModule?o:{default:o}}var y={};function p(o,i){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in y)throw new Error('Duplicate entry for key "'+o+'"');y[o]=[i,i,i,i]}function v(o,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in y)throw new Error('Duplicate entry for key "'+o+'"');y[o]=[i,i,r,i]}function h(o,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+o+'"');if(o in y)throw new Error('Duplicate entry for key "'+o+'"');y[o]=[i,i,i,r]}v("Alt",g.default.XK_Alt_L,g.default.XK_Alt_R),p("AltGraph",g.default.XK_ISO_Level3_Shift),p("CapsLock",g.default.XK_Caps_Lock),v("Control",g.default.XK_Control_L,g.default.XK_Control_R),v("Meta",g.default.XK_Super_L,g.default.XK_Super_R),p("NumLock",g.default.XK_Num_Lock),p("ScrollLock",g.default.XK_Scroll_Lock),v("Shift",g.default.XK_Shift_L,g.default.XK_Shift_R),h("Enter",g.default.XK_Return,g.default.XK_KP_Enter),p("Tab",g.default.XK_Tab),h(" ",g.default.XK_space,g.default.XK_KP_Space),h("ArrowDown",g.default.XK_Down,g.default.XK_KP_Down),h("ArrowUp",g.default.XK_Up,g.default.XK_KP_Up),h("ArrowLeft",g.default.XK_Left,g.default.XK_KP_Left),h("ArrowRight",g.default.XK_Right,g.default.XK_KP_Right),h("End",g.default.XK_End,g.default.XK_KP_End),h("Home",g.default.XK_Home,g.default.XK_KP_Home),h("PageDown",g.default.XK_Next,g.default.XK_KP_Next),h("PageUp",g.default.XK_Prior,g.default.XK_KP_Prior),p("Backspace",g.default.XK_BackSpace),h("Clear",g.default.XK_Clear,g.default.XK_KP_Begin),p("Copy",g.default.XF86XK_Copy),p("Cut",g.default.XF86XK_Cut),h("Delete",g.default.XK_Delete,g.default.XK_KP_Delete),h("Insert",g.default.XK_Insert,g.default.XK_KP_Insert),p("Paste",g.default.XF86XK_Paste),p("Redo",g.default.XK_Redo),p("Undo",g.default.XK_Undo),p("Cancel",g.default.XK_Cancel),p("ContextMenu",g.default.XK_Menu),p("Escape",g.default.XK_Escape),p("Execute",g.default.XK_Execute),p("Find",g.default.XK_Find),p("Help",g.default.XK_Help),p("Pause",g.default.XK_Pause),p("Select",g.default.XK_Select),p("ZoomIn",g.default.XF86XK_ZoomIn),p("ZoomOut",g.default.XF86XK_ZoomOut),p("BrightnessDown",g.default.XF86XK_MonBrightnessDown),p("BrightnessUp",g.default.XF86XK_MonBrightnessUp),p("Eject",g.default.XF86XK_Eject),p("LogOff",g.default.XF86XK_LogOff),p("Power",g.default.XF86XK_PowerOff),p("PowerOff",g.default.XF86XK_PowerDown),p("PrintScreen",g.default.XK_Print),p("Hibernate",g.default.XF86XK_Hibernate),p("Standby",g.default.XF86XK_Standby),p("WakeUp",g.default.XF86XK_WakeUp),p("AllCandidates",g.default.XK_MultipleCandidate),p("Alphanumeric",g.default.XK_Eisu_Shift),p("CodeInput",g.default.XK_Codeinput),p("Compose",g.default.XK_Multi_key),p("Convert",g.default.XK_Henkan),p("GroupFirst",g.default.XK_ISO_First_Group),p("GroupLast",g.default.XK_ISO_Last_Group),p("GroupNext",g.default.XK_ISO_Next_Group),p("GroupPrevious",g.default.XK_ISO_Prev_Group),p("NonConvert",g.default.XK_Muhenkan),p("PreviousCandidate",g.default.XK_PreviousCandidate),p("SingleCandidate",g.default.XK_SingleCandidate),p("HangulMode",g.default.XK_Hangul),p("HanjaMode",g.default.XK_Hangul_Hanja),p("JunjuaMode",g.default.XK_Hangul_Jeonja),p("Eisu",g.default.XK_Eisu_toggle),p("Hankaku",g.default.XK_Hankaku),p("Hiragana",g.default.XK_Hiragana),p("HiraganaKatakana",g.default.XK_Hiragana_Katakana),p("KanaMode",g.default.XK_Kana_Shift),p("KanjiMode",g.default.XK_Kanji),p("Katakana",g.default.XK_Katakana),p("Romaji",g.default.XK_Romaji),p("Zenkaku",g.default.XK_Zenkaku),p("ZenkakuHanaku",g.default.XK_Zenkaku_Hankaku),p("F1",g.default.XK_F1),p("F2",g.default.XK_F2),p("F3",g.default.XK_F3),p("F4",g.default.XK_F4),p("F5",g.default.XK_F5),p("F6",g.default.XK_F6),p("F7",g.default.XK_F7),p("F8",g.default.XK_F8),p("F9",g.default.XK_F9),p("F10",g.default.XK_F10),p("F11",g.default.XK_F11),p("F12",g.default.XK_F12),p("F13",g.default.XK_F13),p("F14",g.default.XK_F14),p("F15",g.default.XK_F15),p("F16",g.default.XK_F16),p("F17",g.default.XK_F17),p("F18",g.default.XK_F18),p("F19",g.default.XK_F19),p("F20",g.default.XK_F20),p("F21",g.default.XK_F21),p("F22",g.default.XK_F22),p("F23",g.default.XK_F23),p("F24",g.default.XK_F24),p("F25",g.default.XK_F25),p("F26",g.default.XK_F26),p("F27",g.default.XK_F27),p("F28",g.default.XK_F28),p("F29",g.default.XK_F29),p("F30",g.default.XK_F30),p("F31",g.default.XK_F31),p("F32",g.default.XK_F32),p("F33",g.default.XK_F33),p("F34",g.default.XK_F34),p("F35",g.default.XK_F35),p("Close",g.default.XF86XK_Close),p("MailForward",g.default.XF86XK_MailForward),p("MailReply",g.default.XF86XK_Reply),p("MailSend",g.default.XF86XK_Send),p("MediaFastForward",g.default.XF86XK_AudioForward),p("MediaPause",g.default.XF86XK_AudioPause),p("MediaPlay",g.default.XF86XK_AudioPlay),p("MediaRecord",g.default.XF86XK_AudioRecord),p("MediaRewind",g.default.XF86XK_AudioRewind),p("MediaStop",g.default.XF86XK_AudioStop),p("MediaTrackNext",g.default.XF86XK_AudioNext),p("MediaTrackPrevious",g.default.XF86XK_AudioPrev),p("New",g.default.XF86XK_New),p("Open",g.default.XF86XK_Open),p("Print",g.default.XK_Print),p("Save",g.default.XF86XK_Save),p("SpellCheck",g.default.XF86XK_Spell),p("AudioVolumeDown",g.default.XF86XK_AudioLowerVolume),p("AudioVolumeUp",g.default.XF86XK_AudioRaiseVolume),p("AudioVolumeMute",g.default.XF86XK_AudioMute),p("MicrophoneVolumeMute",g.default.XF86XK_AudioMicMute),p("LaunchApplication1",g.default.XF86XK_MyComputer),p("LaunchApplication2",g.default.XF86XK_Calculator),p("LaunchCalendar",g.default.XF86XK_Calendar),p("LaunchMail",g.default.XF86XK_Mail),p("LaunchMediaPlayer",g.default.XF86XK_AudioMedia),p("LaunchMusicPlayer",g.default.XF86XK_Music),p("LaunchPhone",g.default.XF86XK_Phone),p("LaunchScreenSaver",g.default.XF86XK_ScreenSaver),p("LaunchSpreadsheet",g.default.XF86XK_Excel),p("LaunchWebBrowser",g.default.XF86XK_WWW),p("LaunchWebCam",g.default.XF86XK_WebCam),p("LaunchWordProcessor",g.default.XF86XK_Word),p("BrowserBack",g.default.XF86XK_Back),p("BrowserFavorites",g.default.XF86XK_Favorites),p("BrowserForward",g.default.XF86XK_Forward),p("BrowserHome",g.default.XF86XK_HomePage),p("BrowserRefresh",g.default.XF86XK_Refresh),p("BrowserSearch",g.default.XF86XK_Search),p("BrowserStop",g.default.XF86XK_Stop),p("Dimmer",g.default.XF86XK_BrightnessAdjust),p("MediaAudioTrack",g.default.XF86XK_AudioCycleTrack),p("RandomToggle",g.default.XF86XK_AudioRandomPlay),p("SplitScreenToggle",g.default.XF86XK_SplitScreen),p("Subtitle",g.default.XF86XK_Subtitle),p("VideoModeNext",g.default.XF86XK_Next_VMode),h("=",g.default.XK_equal,g.default.XK_KP_Equal),h("+",g.default.XK_plus,g.default.XK_KP_Add),h("-",g.default.XK_minus,g.default.XK_KP_Subtract),h("*",g.default.XK_asterisk,g.default.XK_KP_Multiply),h("/",g.default.XK_slash,g.default.XK_KP_Divide),h(".",g.default.XK_period,g.default.XK_KP_Decimal),h(",",g.default.XK_comma,g.default.XK_KP_Separator),h("0",g.default.XK_0,g.default.XK_KP_0),h("1",g.default.XK_1,g.default.XK_KP_1),h("2",g.default.XK_2,g.default.XK_KP_2),h("3",g.default.XK_3,g.default.XK_KP_3),h("4",g.default.XK_4,g.default.XK_KP_4),h("5",g.default.XK_5,g.default.XK_KP_5),h("6",g.default.XK_6,g.default.XK_KP_6),h("7",g.default.XK_7,g.default.XK_KP_7),h("8",g.default.XK_8,g.default.XK_KP_8),h("9",g.default.XK_9,g.default.XK_KP_9);var u=y;I.default=u},mYwL:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),p=Math.PI;function v(h,u){u=u||{},g.defaults(u,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var o=new f.Group,i=new f.Rect({style:{fill:u.maskColor},zlevel:u.zlevel,z:1e4});o.add(i);var r=u.fontSize+" sans-serif",a=new f.Rect({style:{fill:"none",text:u.text,font:r,textPosition:"right",textDistance:10,textFill:u.textColor},zlevel:u.zlevel,z:10001});if(o.add(a),u.showSpinner){var c=new f.Arc({shape:{startAngle:-p/2,endAngle:-p/2+.1,r:u.spinnerRadius},style:{stroke:u.color,lineCap:"round",lineWidth:u.lineWidth},zlevel:u.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:p*3/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:p*3/2}).delay(300).start("circularInOut"),o.add(c)}return o.resize=function(){var n=y.getWidth(u.text,r),l=u.showSpinner?u.spinnerRadius:0,t=(h.getWidth()-l*2-(u.showSpinner&&n?10:0)-n)/2-(u.showSpinner?0:n/2),s=h.getHeight()/2;u.showSpinner&&c.setShape({cx:t,cy:s}),a.setShape({x:t-l,y:s-l,width:l*2,height:l*2}),i.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},o.resize(),o}D.exports=v},mdPL:function(D,I,e){(function(g){var f=e("WFqU"),y=I&&!I.nodeType&&I,p=y&&typeof g=="object"&&g&&!g.nodeType&&g,v=p&&p.exports===y,h=v&&f.process,u=function(){try{var o=p&&p.require&&p.require("util").types;return o||h&&h.binding&&h.binding("util")}catch(i){}}();g.exports=u}).call(this,e("YuTi")(D))},mdZa:function(D,I,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,y){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(f),v=1;v<arguments.length;v++){var h=arguments[v];if(h!=null)for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(p[u]=h[u])}return p},writable:!0,configurable:!0}),function(){function g(f,y){y=y||{bubbles:!1,cancelable:!1,detail:void 0};var p=document.createEvent("CustomEvent");return p.initCustomEvent(f,y.bubbles,y.cancelable,y.detail),p}g.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=g)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mmNF:function(D,I){var e={utf8:{stringToBytes:function(f){return e.bin.stringToBytes(unescape(encodeURIComponent(f)))},bytesToString:function(f){return decodeURIComponent(escape(e.bin.bytesToString(f)))}},bin:{stringToBytes:function(f){for(var y=[],p=0;p<f.length;p++)y.push(f.charCodeAt(p)&255);return y},bytesToString:function(f){for(var y=[],p=0;p<f.length;p++)y.push(String.fromCharCode(f[p]));return y.join("")}}};D.exports=e},mr32:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("J4zp"),h=e.n(v),u=e("q1tI"),o=e("TSYQ"),i=e.n(o),r=e("BGR+"),a=e("V/uB"),c=e.n(a),n=e("H84U"),l=function(O,x){var C={};for(var _ in O)Object.prototype.hasOwnProperty.call(O,_)&&x.indexOf(_)<0&&(C[_]=O[_]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,_=Object.getOwnPropertySymbols(O);N<_.length;N++)x.indexOf(_[N])<0&&Object.prototype.propertyIsEnumerable.call(O,_[N])&&(C[_[N]]=O[_[N]]);return C},t=function(x){var C,_=u.useContext(n.b),N=_.getPrefixCls,F=function(H){var W=x.checked,V=x.onChange,z=x.onClick;V&&V(!W),z&&z(H)},k=x.prefixCls,P=x.className,j=x.checked,K=l(x,["prefixCls","className","checked"]),R=N("tag",k),B=i()(R,(C={},f()(C,"".concat(R,"-checkable"),!0),f()(C,"".concat(R,"-checkable-checked"),j),C),P);return delete K.onChange,u.createElement("span",p()({},K,{className:B,onClick:F}))},s=t,d=e("09Wf"),m=e("g0mS"),w=function(O,x){var C={};for(var _ in O)Object.prototype.hasOwnProperty.call(O,_)&&x.indexOf(_)<0&&(C[_]=O[_]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,_=Object.getOwnPropertySymbols(O);N<_.length;N++)x.indexOf(_[N])<0&&Object.prototype.propertyIsEnumerable.call(O,_[N])&&(C[_[N]]=O[_[N]]);return C},b=new RegExp("^(".concat(d.a.join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(d.b.join("|"),")$")),A=function(x,C){var _,N=x.prefixCls,F=x.className,k=x.style,P=x.children,j=x.icon,K=x.color,R=x.onClose,B=x.closeIcon,U=x.closable,H=U===void 0?!1:U,W=w(x,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=u.useContext(n.b),z=V.getPrefixCls,X=V.direction,q=u.useState(!0),fe=h()(q,2),G=fe[0],ve=fe[1];u.useEffect(function(){"visible"in W&&ve(W.visible)},[W.visible]);var Se=function(){return K?b.test(K)||E.test(K):!1},ge=p()({backgroundColor:K&&!Se()?K:void 0},k),Pe=Se(),Ge=z("tag",N),pt=i()(Ge,(_={},f()(_,"".concat(Ge,"-").concat(K),Pe),f()(_,"".concat(Ge,"-has-color"),K&&!Pe),f()(_,"".concat(Ge,"-hidden"),!G),f()(_,"".concat(Ge,"-rtl"),X==="rtl"),_),F),Te=function(Ce){if(Ce.stopPropagation(),R&&R(Ce),Ce.defaultPrevented)return;"visible"in W||ve(!1)},xe=function(){return H?B?u.createElement("div",{className:"".concat(Ge,"-close-icon"),onClick:Te},B):u.createElement(c.a,{className:"".concat(Ge,"-close-icon"),onClick:Te}):null},lt="onClick"in W||P&&P.type==="a",Ie=Object(r.default)(W,["visible"]),de=j||null,ee=de?u.createElement(u.Fragment,null,de,u.createElement("span",null,P)):P,se=u.createElement("span",p()({},Ie,{ref:C,className:pt,style:ge}),ee,xe());return lt?u.createElement(m.a,null,se):se},S=u.forwardRef(A);S.displayName="Tag",S.CheckableTag=s;var T=I.a=S},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(D){if(!0)module.exports=D();else var I})(function(){var define,module,exports;return function(){function D(I,e,g){function f(v,h){if(!e[v]){if(!I[v]){var u=typeof require=="function"&&require;if(!h&&u)return require(v,!0);if(y)return y(v,!0);var o=new Error("Cannot find module '"+v+"'");throw o.code="MODULE_NOT_FOUND",o}var i=e[v]={exports:{}};I[v][0].call(i.exports,function(r){var a=I[v][1][r];return f(a||r)},i,i.exports,D,I,e,g)}return e[v].exports}for(var y=typeof require=="function"&&require,p=0;p<g.length;p++)f(g[p]);return f}return D}()({1:[function(D,I,e){"use strict";var g=D("./browser/client");g.Buffer=D("buffer").Buffer,g.urllib=D("../shims/xhr"),g.version=D("./browser/version").version,I.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(D,I,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/promise"),p=i(y),v=D("babel-runtime/regenerator"),h=i(v),u=D("babel-runtime/core-js/object/assign"),o=i(u);function i(j){return j&&j.__esModule?j:{default:j}}var r=D("debug")("ali-oss"),a=D("copy-to"),c=D("xml2js"),n=D("agentkeepalive"),l=D("merge-descriptors"),t=D("url"),s=D("is-type-of"),d=D("platform"),m=D("utility"),w=D("urllib"),b=D("./version"),E=D("bowser"),A=D("../common/signUtils"),S=D("../common/utils/isIP"),T=S.isIP,O=D("../common/client/initOptions"),x=D("../common/utils/createRequest"),C=x.createRequest,_=new n;function N(){var j=d.name,K=d.version;j&&j.toLowerCase&&j.toLowerCase()==="ie"&&K.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function k(j,K){if(N(),!(this instanceof k))return new k(j,K);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=w,this.agent=this.options.agent||_),this.ctx=K,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}I.exports=k,k.initOptions=function(K){K.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,o.default)({secure:F(),useFetch:!1},K);return O(R)};var P=k.prototype;P.debug=r,l(P,D("./object")),l(P,D("../common/bucket/getBucketWebsite")),l(P,D("../common/bucket/putBucketWebsite")),l(P,D("../common/bucket/deleteBucketWebsite")),l(P,D("../common/bucket/getBucketLifecycle")),l(P,D("../common/bucket/putBucketLifecycle")),l(P,D("../common/bucket/deleteBucketLifecycle")),l(P,D("../common/bucket/putBucketVersioning")),l(P,D("../common/bucket/getBucketVersioning")),l(P,D("./managed-upload")),l(P,D("../common/multipart")),l(P,D("../common/parallel")),P.signature=function(K){return this.debug("authorization stringToSign: %s",K,"info"),A.computeSignature(this.options.accessKeySecret,K)},P.authorization=function(K,R,B,U){var H=A.buildCanonicalString(K.toUpperCase(),R,{headers:U,parameters:B});return A.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},P.request=function(K){var R,B,U,H,W,V;return h.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:return R=C.call(this,K),this.options.useFetch||(R.params.mode="disable-fetch"),B=void 0,U=void 0,H=!!K.stream,X.prev=5,X.next=8,h.default.awrap(this.urllib.request(R.url,R.params));case 8:B=X.sent,this.debug("response %s %s, got %s, headers: %j",K.method,R.url,B.status,B.headers,"info"),X.next=15;break;case 12:X.prev=12,X.t0=X.catch(5),U=X.t0;case 15:if(W=void 0,!(B&&K.successStatuses&&K.successStatuses.indexOf(B.status)===-1)){X.next=28;break}return X.next=19,h.default.awrap(this.requestError(B));case 19:if(W=X.sent,!(W.code==="RequestTimeTooSkewed"&&!H)){X.next=25;break}return this.options.amendTimeSkewed=+new Date(W.serverTime)-new Date,X.next=24,h.default.awrap(this.request(K));case 24:return X.abrupt("return",X.sent);case 25:W.params=K,X.next=32;break;case 28:if(!U){X.next=32;break}return X.next=31,h.default.awrap(this.requestError(U));case 31:W=X.sent;case 32:if(!W){X.next=34;break}throw W;case 34:if(!K.xmlResponse){X.next=39;break}return X.next=37,h.default.awrap(this.parseXML(B.data));case 37:V=X.sent,B.data=V;case 39:return X.abrupt("return",B);case 40:case"end":return X.stop()}},null,this,[[5,12]])},P._getResource=function(K){var R="/";return K.bucket&&(R+=K.bucket+"/"),K.object&&(R+=K.object),R},P._isIP=T,P._escape=function(K){return m.encodeURIComponent(K).replace(/%2F/g,"/")},P._getReqUrl=function(K){var R={};a(this.options.endpoint).to(R);var B=this._isIP(R.hostname),U=this.options.cname;K.bucket&&!U&&!B&&(R.host=K.bucket+"."+R.host);var H="/";K.bucket&&B&&(H+=K.bucket+"/"),K.object&&(H+=this._escape(K.object).replace(/\+/g,"%2B")),R.pathname=H;var W={};if(K.query&&l(W,K.query),K.subres){var V={};s.string(K.subres)?V[K.subres]="":s.array(K.subres)?K.subres.forEach(function(z){V[z]=""}):V=K.subres,l(W,V)}return R.query=W,t.format(R)},P._getUserAgent=function(){var K=f&&f.browser?"js":"nodejs",R="aliyun-sdk-"+K+"/"+b.version,B=d.description;return!B&&f&&(B="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(R+" "+B)},P._checkUserAgent=function(K){var R=K.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},P.checkBrowserAndVersion=function(K,R){return E.name===K&&E.version.split(".")[0]===R},P.parseXML=function(K){return new p.default(function(R,B){g.isBuffer(K)&&(K=K.toString()),c.parseString(K,{explicitRoot:!1,explicitArray:!1},function(U,H){U?B(U):R(H)})})},P.requestError=function(K){var R,B,U,H;return h.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(R=null,!(!K.data||!K.data.length)){V.next=5;break}K.status===-1||K.status===-2?(R=new Error(K.message),R.name=K.name,R.status=K.status,R.code=K.name):(K.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):K.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+K.status),R.name="UnknowError",R.status=K.status),R.requestId=K.headers["x-oss-request-id"],R.host=""),V.next=33;break;case 5:return B=String(K.data),this.debug("request response error data: %s",B,"error"),U=void 0,V.prev=8,V.next=11,h.default.awrap(this.parseXML(B));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:U=V.t0,V.next=24;break;case 17:return V.prev=17,V.t1=V.catch(8),this.debug(B,"error"),V.t1.message+=`
|
|
|
raw xml: `+B,V.t1.status=K.status,V.t1.requestId=K.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:H=U.Message||"unknow request error, status: "+K.status,U.Condition&&(H+=" (condition: "+U.Condition+")"),R=new Error(H),R.name=U.Code?U.Code+"Error":"UnknowError",R.status=K.status,R.code=U.Code,R.requestId=U.RequestId,R.hostId=U.HostId,R.serverTime=U.ServerTime;case 33:return this.debug("generate error %j",R,"error"),V.abrupt("return",R);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:D("../../node_modules/is-buffer/index.js")},D("_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(D,I,e){(function(g){"use strict";var f=D("babel-runtime/core-js/array/from"),y=o(f),p=D("babel-runtime/core-js/promise"),v=o(p),h=D("babel-runtime/regenerator"),u=o(h);function o(A){return A&&A.__esModule?A:{default:A}}var i=D("is-type-of"),r=D("util"),a=D("path"),c=D("mime"),n=D("copy-to"),l=D("../common/utils/isBlob"),t=l.isBlob,s=D("../common/utils/isFile"),d=s.isFile,m=e;m.multipartUpload=function(S,T,O){var x,C,_,N,F,k,P,j,K;return u.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(this.resetCancelFlag(),O=O||{},!(O.checkpoint&&O.checkpoint.uploadId)){B.next=6;break}return B.next=5,u.default.awrap(this._resumeMultipart(O.checkpoint,O));case 5:return B.abrupt("return",B.sent);case 6:return x=100*1024,O.mime||(d(T)?O.mime=c.getType(a.extname(T.name)):t(T)?O.mime=T.type:O.mime=c.getType(a.extname(T))),O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),B.next=12,u.default.awrap(this._getFileSize(T));case 12:if(C=B.sent,!(C<x)){B.next=25;break}return _=this._createStream(T,0,C),O.contentLength=C,B.next=18,u.default.awrap(this.putStream(S,_,O));case 18:if(N=B.sent,!(O&&O.progress)){B.next=22;break}return B.next=22,u.default.awrap(O.progress(1));case 22:return F={res:N.res,bucket:this.options.bucket,name:S,etag:N.res.headers.etag},(O.headers&&O.headers["x-oss-callback"]||O.callback)&&(F.data=N.data),B.abrupt("return",F);case 25:if(!(O.partSize&&!(parseInt(O.partSize,10)===O.partSize))){B.next=27;break}throw new Error("partSize must be int number");case 27:if(!(O.partSize&&O.partSize<x)){B.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return B.next=31,u.default.awrap(this.initMultipartUpload(S,O));case 31:if(k=B.sent,P=k.uploadId,j=this._getPartSize(C,O.partSize),K={file:T,name:S,fileSize:C,partSize:j,uploadId:P,doneParts:[]},!(O&&O.progress)){B.next=38;break}return B.next=38,u.default.awrap(O.progress(0,K,k.res));case 38:return B.next=40,u.default.awrap(this._resumeMultipart(K,O));case 40:return B.abrupt("return",B.sent);case 41:case"end":return B.stop()}},null,this)},m._resumeMultipart=function(S,T){var O,x,C,_,N,F,k,P,j,K,R,B,U,H,W,V,z,X;return u.default.async(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(O=this,!this.isCancel()){fe.next=3;break}throw this._makeCancelEvent();case 3:return x=S.file,C=S.fileSize,_=S.partSize,N=S.uploadId,F=S.doneParts,k=S.name,P=[],F.length>0&&n(F).to(P),j=this._divideParts(C,_),K=j.length,R=!1,B=function(ve,Se){var ge=this;return new v.default(function(Ge,pt){var Te,xe,lt,Ie;return u.default.async(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(ee.prev=0,ve.isCancel()){ee.next=18;break}return Te=j[Se-1],xe={stream:ve._createStream(x,Te.start,Te.end),size:Te.end-Te.start},ee.next=6,u.default.awrap(ve._uploadPart(k,N,Se,xe));case 6:if(lt=ee.sent,!(!ve.isCancel()&&!R)){ee.next=15;break}if(S.doneParts.push({number:Se,etag:lt.res.headers.etag}),!T.progress){ee.next=12;break}return ee.next=12,u.default.awrap(T.progress(F.length/K,S,lt.res));case 12:Ge({number:Se,etag:lt.res.headers.etag}),ee.next=16;break;case 15:Ge();case 16:ee.next=19;break;case 18:Ge();case 19:ee.next=30;break;case 21:ee.prev=21,ee.t0=ee.catch(0),Ie=new Error,Ie.name=ee.t0.name,Ie.message=ee.t0.message,Ie.stack=ee.t0.stack,Ie.partNum=Se,n(ee.t0).to(Ie),pt(Ie);case 30:case"end":return ee.stop()}},null,ge,[[0,21]])})},U=(0,y.default)(new Array(K),function(G,ve){return ve+1}),H=P.map(function(G){return G.number}),W=U.filter(function(G){return H.indexOf(G)<0}),V=5,z=T.parallel||V,fe.next=17,u.default.awrap(this._parallel(W,z,function(G){return new v.default(function(ve,Se){B(O,G).then(function(ge){ge&&P.push(ge),ve()}).catch(function(ge){Se(ge)})})}));case 17:if(X=fe.sent,R=!0,!this.isCancel()){fe.next=22;break}throw B=null,this._makeCancelEvent();case 22:if(!(X&&X.length>0)){fe.next=25;break}throw X[0].message="Failed to upload some parts with error: "+X[0].toString()+" part_num: "+X[0].partNum,X[0];case 25:return fe.next=27,u.default.awrap(this.completeMultipartUpload(k,N,P,T));case 27:return fe.abrupt("return",fe.sent);case 28:case"end":return fe.stop()}},null,this)},m._getFileSize=function(S){return u.default.async(function(O){for(;;)switch(O.prev=O.next){case 0:if(!i.buffer(S)){O.next=4;break}return O.abrupt("return",S.length);case 4:if(!(t(S)||d(S))){O.next=6;break}return O.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return O.stop()}},null,this)};var w=D("stream"),b=w.Readable;function E(A,S){if(!(this instanceof E))return new E(A,S);b.call(this,S),this.file=A,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(E,b),E.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var O=this.start,x=O+S;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,T=this.push(this.fileBuffer.slice(O,x))}},E.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 T=16*1024;S=S||T;var O=this;this.reader.onload=function(C){O.fileBuffer=g.from(new Uint8Array(C.target.result)),O.file=null,O.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},m._createStream=function(S,T,O){if(t(S)||d(S))return new E(S.slice(T,O));throw new Error("_createStream requires File/Blob.")},m._getPartSize=function(S,T){var O=10*1e3,x=1024*1024;return T?Math.max(Math.ceil(S/O),T):x},m._divideParts=function(S,T){for(var O=Math.ceil(S/T),x=[],C=0;C<O;C++){var _=T*C,N=Math.min(_+T,S);x.push({start:_,end:N})}return x}}).call(this,D("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(D,I,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/keys"),p=i(y),v=D("babel-runtime/core-js/object/assign"),h=i(v),u=D("babel-runtime/regenerator"),o=i(u);function i(O){return O&&O.__esModule?O:{default:O}}var r=D("utility"),a=D("fs"),c=D("is-type-of"),n=D("url"),l=D("copy-to"),t=D("path"),s=D("mime"),d=D("../common/callback"),m=D("../common/signUtils"),w=D("merge-descriptors"),b=D("../common/utils/isBlob"),E=b.isBlob,A=D("../common/utils/isFile"),S=A.isFile,T=e;T.append=function(x,C,_){var N;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return _=_||{},_.position===void 0&&(_.position="0"),_.subres={append:"",position:_.position},_.method="POST",k.next=6,o.default.awrap(this.put(x,C,_));case 6:return N=k.sent,N.nextAppendPosition=N.res.headers["x-oss-next-append-position"],k.abrupt("return",N);case 9:case"end":return k.stop()}},null,this)},T.put=function(x,C,_){var N,F,k,P,j,K,R;return o.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(N=void 0,_=_||{},x=this._objectName(x),!c.buffer(C)){U.next=7;break}N=C,U.next=33;break;case 7:if(!(E(C)||S(C))){U.next=32;break}return _.mime||(S(C)?_.mime=s.getType(t.extname(C.name)):_.mime=C.type),F=this._createStream(C,0,C.size),U.next=12,o.default.awrap(this._getFileSize(C));case 12:return _.contentLength=U.sent,U.prev=13,U.next=16,o.default.awrap(this.putStream(x,F,_));case 16:return k=U.sent,U.abrupt("return",k);case 20:if(U.prev=20,U.t0=U.catch(13),!(U.t0.code==="RequestTimeTooSkewed")){U.next=29;break}return this.options.amendTimeSkewed=+new Date(U.t0.serverTime)-new Date,U.next=26,o.default.awrap(this.put(x,C,_));case 26:return U.abrupt("return",U.sent);case 29:throw U.t0;case 30:U.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return _.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),P=_.method||"PUT",j=this._objectRequestParams(P,x,_),d.encodeCallback(j,_),j.mime=_.mime,j.content=N,j.successStatuses=[200],U.next=43,o.default.awrap(this.request(j));case 43:return K=U.sent,R={name:x,url:this._objectUrl(x),res:K.res},j.headers&&j.headers["x-oss-callback"]&&(R.data=JSON.parse(K.data.toString())),U.abrupt("return",R);case 47:case"end":return U.stop()}},null,this,[[13,20]])},T.putStream=function(x,C,_){var N,F,k,P;return o.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return _=_||{},_.headers=_.headers||{},x=this._objectName(x),_.contentLength?_.headers["Content-Length"]=_.contentLength:_.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(_.meta,_.headers),N=_.method||"PUT",F=this._objectRequestParams(N,x,_),d.encodeCallback(F,_),F.mime=_.mime,F.stream=C,F.successStatuses=[200],K.next=13,o.default.awrap(this.request(F));case 13:return k=K.sent,P={name:x,url:this._objectUrl(x),res:k.res},F.headers&&F.headers["x-oss-callback"]&&(P.data=JSON.parse(k.data.toString())),K.abrupt("return",P);case 17:case"end":return K.stop()}},null,this)},w(T,D("../common/object/copyObject")),w(T,D("../common/object/getObjectTagging")),w(T,D("../common/object/putObjectTagging")),w(T,D("../common/object/deleteObjectTagging")),w(T,D("../common/image")),w(T,D("../common/object/getBucketVersions")),w(T,D("../common/object/getACL")),w(T,D("../common/object/putACL")),w(T,D("../common/object/head")),w(T,D("../common/object/delete")),w(T,D("../common/object/get")),w(T,D("../common/object/putSymlink")),w(T,D("../common/object/getSymlink")),w(T,D("../common/object/deleteMulti")),w(T,D("../common/object/getObjectMeta")),T.putMeta=function(x,C,_){var N;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,o.default.awrap(this.copy(x,x,{meta:C||{},timeout:_&&_.timeout,ctx:_&&_.ctx}));case 2:return N=k.sent,k.abrupt("return",N);case 4:case"end":return k.stop()}},null,this)},T.list=function(x,C){var _,N,F,k,P;return o.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return _=this._objectRequestParams("GET","",C),_.query=x,_.xmlResponse=!0,_.successStatuses=[200],K.next=6,o.default.awrap(this.request(_));case 6:return N=K.sent,F=N.data.Contents,k=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(R){return{name:R.Key,url:k._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),P=N.data.CommonPrefixes||null,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(R){return R.Prefix})),K.abrupt("return",{res:N.res,objects:F,prefixes:P,nextMarker:N.data.NextMarker||null,isTruncated:N.data.IsTruncated==="true"});case 13:case"end":return K.stop()}},null,this)},T.restore=function(x,C){var _,N;return o.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return C=C||{},C.subres=(0,h.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),_=this._objectRequestParams("POST",x,C),_.successStatuses=[202],k.next=7,o.default.awrap(this.request(_));case 7:return N=k.sent,k.abrupt("return",{res:N.res});case 9:case"end":return k.stop()}},null,this)},T.signatureUrl=function(x,C){C=C||{},x=this._objectName(x),C.method=C.method||"GET";var _=r.timestamp()+(C.expires||1800),N={bucket:this.options.bucket,object:x},F=this._getResource(N);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var k=m._signatureForURL(this.options.accessKeySecret,C,F,_),P=n.parse(this._getReqUrl(N));return P.query={OSSAccessKeyId:this.options.accessKeyId,Expires:_,Signature:k.Signature},l(k.subResource).to(P.query),P.format()},T.getObjectUrl=function(x,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(x))},T._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},T.generateObjectUrl=function(O,x){if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var C=n.parse(x),_=this.options.bucket;C.hostname=_+"."+C.hostname,C.host=_+"."+C.host,x=C.format()}return x+this._escape(this._objectName(O))},T._objectRequestParams=function(x,C,_){if(!this.options.bucket)throw new Error("Please create a bucket first");_=_||{},C=this._objectName(C);var N={object:C,bucket:this.options.bucket,method:x,subres:_&&_.subres,timeout:_&&_.timeout,ctx:_&&_.ctx};return _.headers&&(N.headers={},l(_.headers).to(N.headers)),N},T._objectName=function(x){return x.replace(/^\/+/,"")},T._convertMetaToHeaders=function(x,C){if(!x)return;(0,p.default)(x).forEach(function(_){C["x-oss-meta-"+_]=x[_]})},T._deleteFileSafe=function(x){var C=this;return new f.default(function(_){a.exists(x,function(N){N?a.unlink(x,function(F){F&&C.debug("unlink %j error: %s",x,F,"error"),_()}):_()})})}},{"../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(D,I,e){"use strict";e.version="6.10.0"},{}],6:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(u){return u&&u.__esModule?u:{default:u}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=e;h.deleteBucketLifecycle=function(o,i){var r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(o),r=this._bucketRequestParams("DELETE",o,"lifecycle",i),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return a=n.sent,n.abrupt("return",{res:a.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(u){return u&&u.__esModule?u:{default:u}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=e;h.deleteBucketWebsite=function(o,i){var r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(o),r=this._bucketRequestParams("DELETE",o,"website",i),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return a=n.sent,n.abrupt("return",{res:a.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(a){return a&&a.__esModule?a:{default:a}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("../utils/isArray"),u=h.isArray,o=D("../utils/formatObjKey"),i=o.formatObjKey,r=e;r.getBucketLifecycle=function(c,n){var l,t,s;return f.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:return v(c),l=this._bucketRequestParams("GET",c,"lifecycle",n),l.successStatuses=[200],l.xmlResponse=!0,m.next=6,f.default.awrap(this.request(l));case 6:return t=m.sent,s=t.data.Rule||null,s&&(u(s)||(s=[s]),s=s.map(function(w){return w.ID&&(w.id=w.ID,delete w.ID),w.Tag&&!u(w.Tag)&&(w.Tag=[w.Tag]),i(w,"firstLowerCase")})),m.abrupt("return",{rules:s,res:t.res});case 10:case"end":return m.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(u){return u&&u.__esModule?u:{default:u}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=e;h.getBucketVersioning=function(o,i){var r,a,c;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return v(o),r=this._bucketRequestParams("GET",o,"versioning",i),r.xmlResponse=!0,r.successStatuses=[200],l.next=6,f.default.awrap(this.request(r));case 6:return a=l.sent,c=a.data.Status,l.abrupt("return",{status:a.status,versionStatus:c,res:a.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("../utils/isObject"),u=h.isObject,o=e;o.getBucketWebsite=function(r,a){var c,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(r),c=this._bucketRequestParams("GET",r,"website",a),c.successStatuses=[200],c.xmlResponse=!0,s.next=6,f.default.awrap(this.request(c));case 6:return n=s.sent,l=[],n.data.RoutingRules&&n.data.RoutingRules.RoutingRule&&(u(n.data.RoutingRules.RoutingRule)?l=[n.data.RoutingRules.RoutingRule]:l=n.data.RoutingRules.RoutingRule),s.abrupt("return",{index:n.data.IndexDocument&&n.data.IndexDocument.Suffix||"",supportSubDir:n.data.IndexDocument&&n.data.IndexDocument.SupportSubDir||"false",type:n.data.IndexDocument&&n.data.IndexDocument.Type,routingRules:l,error:n.data.ErrorDocument&&n.data.ErrorDocument.Key||null,res:n.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(S){return S&&S.__esModule?S:{default:S}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("../utils/isArray"),u=h.isArray,o=D("../utils/deepCopy"),i=o.deepCopy,r=D("../utils/isObject"),a=r.isObject,c=D("../utils/obj2xml"),n=c.obj2xml,l=D("../utils/checkObjectTag"),t=l.checkObjectTag,s=D("../utils/getStrBytesCount"),d=s.getStrBytesCount,m=e;m.putBucketLifecycle=function(T,O,x){var C,_,N,F,k;return f.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(v(T),u(O)){j.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",T,"lifecycle",x),_=[],N={LifecycleConfiguration:{Rule:_}},O.forEach(function(K){w(K),A(K),K.id&&(K.ID=K.id,delete K.id),_.push(K)}),F=n(N,{headers:!0,firstUpperCase:!0}),C.content=F,C.mime="xml",C.successStatuses=[200],j.next=13,f.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 w(S){S.days&&(S.expiration={days:S.days}),S.date&&(S.expiration={createdBeforeDate:S.date})}function b(S,T){var O=S.days,x=S.createdBeforeDate;if(!O&&!x)throw new Error(T+" must includes days or createdBeforeDate");if(O&&!/^[1-9][0-9]*$/.test(O))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 E(S){if(!u(S)&&!a(S))throw new Error("tag must be Object or Array");S=a(S)?[S]:S;var T={},O=i(S);O.forEach(function(x){T[x.key]=x.value}),t(T)}function A(S){if(S.id&&d(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");b(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)b(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&&b(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");E(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(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("../utils/obj2xml"),u=h.obj2xml,o=e;o.putBucketVersioning=function(r,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:if(v(r),["Enabled","Suspended"].includes(a)){d.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return n=this._bucketRequestParams("PUT",r,"versioning",c),l={VersioningConfiguration:{Status:a}},n.mime="xml",n.content=u(l,{headers:!0}),d.next=9,f.default.awrap(this.request(n));case 9:return t=d.sent,d.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return d.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(a){return a&&a.__esModule?a:{default:a}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("../utils/obj2xml"),u=h.obj2xml,o=D("../utils/isArray"),i=o.isArray,r=e;r.putBucketWebsite=function(c){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,s,d,m,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(v(c),t=this._bucketRequestParams("PUT",c,"website",l),s={Suffix:n.index||"index.html"},d={IndexDocument:s},m={WebsiteConfiguration:d},n.supportSubDir&&(s.SupportSubDir=n.supportSubDir),n.type&&(s.Type=n.type),n.error&&(d.ErrorDocument={Key:n.error}),!(n.routingRules!==void 0)){E.next=12;break}if(i(n.routingRules)){E.next=11;break}throw new Error("RoutingRules must be Array");case 11:d.RoutingRules={RoutingRule:n.routingRules};case 12:return m=u(m),t.content=m,t.mime="xml",t.successStatuses=[200],E.next=18,f.default.awrap(this.request(t));case 18:return w=E.sent,E.abrupt("return",{res:w.res});case 20:case"end":return E.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/keys"),y=h(f),p=D("babel-runtime/core-js/json/stringify"),v=h(p);function h(u){return u&&u.__esModule?u:{default:u}}e.encodeCallback=function(o,i){if(o.headers=o.headers||{},!Object.prototype.hasOwnProperty.call(o.headers,"x-oss-callback")&&i.callback){var r={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};i.callback.host&&(r.callbackHost=i.callback.host),i.callback.contentType&&(r.callbackBodyType=i.callback.contentType);var a=g.from((0,v.default)(r)).toString("base64");if(o.headers["x-oss-callback"]=a,i.callback.customValue){var c={};(0,y.default)(i.callback.customValue).forEach(function(n){c["x:"+n]=i.callback.customValue[n]}),o.headers["x-oss-callback-var"]=g.from((0,v.default)(c)).toString("base64")}}}}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/assign"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}var p=D("humanize-ms"),v=D("url"),h=D("../utils/checkBucketName"),u=h.checkBucketName;function o(r,a){var c=v.parse(r);if(c.protocol||(c=v.parse("http"+(a?"s":"")+"://"+r)),c.protocol!=="http:"&&c.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return c}function i(r,a,c){var n=c?"https://":"http://",l=a?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return r.substr(0,t.length)===t&&(l=".aliyuncs.com"),v.parse(n+r+l)}I.exports=function(r){if(!r||!r.accessKeyId||!r.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");r.bucket&&u(r.bucket);var a=(0,f.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},r);if(a.accessKeyId=a.accessKeyId.trim(),a.accessKeySecret=a.accessKeySecret.trim(),a.timeout&&(a.timeout=p(a.timeout)),a.endpoint)a.endpoint=o(a.endpoint,a.secure);else if(a.region)a.endpoint=i(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(D,I,e){"use strict";var g=D("merge-descriptors"),f=e;g(f,D("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(a){return a&&a.__esModule?a:{default:a}}var p=D("../utils/checkBucketName"),v=p.checkBucketName,h=D("querystring"),u=D("js-base64"),o=u.Base64.encode,i=e;i.processObjectSave=function(c,n,l,t){var s,d,m,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return r(c,"sourceObject"),r(n,"targetObject"),r(l,"process"),n=this._objectName(n),t&&v(t),s=this._objectRequestParams("POST",c,{subres:"x-oss-process"}),d=t?",b_"+o(t):"",n=o(n),m={"x-oss-process":l+"|sys/saveas,o_"+n+d},s.content=h.stringify(m),E.next=12,f.default.awrap(this.request(s));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.res.status});case 14:case"end":return E.stop()}},null,this)};function r(a,c){if(!a)throw new Error(c+" is required");if(typeof a!="string")throw new Error(c+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var p=D("copy-to"),v=D("./callback"),h=D("./utils/deepCopy"),u=h.deepCopy,o=e;o.listUploads=function(r,a){var c,n,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return a=a||{},c={},p(a).to(c),c.subres="uploads",n=this._objectRequestParams("GET","",c),n.query=r,n.xmlResponse=!0,n.successStatuses=[200],d.next=10,f.default.awrap(this.request(n));case 10:return l=d.sent,t=l.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(m){return{name:m.Key,uploadId:m.UploadId,initiated:m.Initiated}}),d.abrupt("return",{res:l.res,uploads:t,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return d.stop()}},null,this)},o.listParts=function(r,a,c,n){var l,t,s;return f.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:return n=n||{},l={},p(n).to(l),l.subres={uploadId:a},t=this._objectRequestParams("GET",r,l),t.query=c,t.xmlResponse=!0,t.successStatuses=[200],m.next=10,f.default.awrap(this.request(t));case 10:return s=m.sent,m.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 m.stop()}},null,this)},o.abortMultipartUpload=function(r,a,c){var n,l,t;return f.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return this._stop(),c=c||{},n={},p(c).to(n),n.subres={uploadId:a},l=this._objectRequestParams("DELETE",r,n),l.successStatuses=[204],d.next=9,f.default.awrap(this.request(l));case 9:return t=d.sent,d.abrupt("return",{res:t.res});case 11:case"end":return d.stop()}},null,this)},o.initMultipartUpload=function(r,a){var c,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a=a||{},c={},p(a).to(c),c.headers=c.headers||{},this._convertMetaToHeaders(a.meta,c.headers),c.subres="uploads",n=this._objectRequestParams("POST",r,c),n.mime=a.mime,n.xmlResponse=!0,n.successStatuses=[200],s.next=12,f.default.awrap(this.request(n));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},o.uploadPart=function(r,a,c,n,l,t,s){var d;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return d={stream:this._createStream(n,l,t),size:t-l},w.next=3,f.default.awrap(this._uploadPart(r,a,c,d,s));case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}},null,this)},o.completeMultipartUpload=function(r,a,c,n){var l,t,s,d,m,w,b,E;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(l=c.concat().sort(function(T,O){return T.number-O.number}).filter(function(T,O,x){return!O||T.number!==x[O-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,s=0;s<l.length;s++)d=l[s],t+=`<Part>
|
|
|
`,t+="<PartNumber>"+d.number+`</PartNumber>
|
|
|
`,t+="<ETag>"+d.etag+`</ETag>
|
|
|
`,t+=`</Part>
|
|
|
`;return t+="</CompleteMultipartUpload>",n=n||{},m={},m=u(n),m.headers&&delete m.headers["x-oss-server-side-encryption"],m.subres={uploadId:a},w=this._objectRequestParams("POST",r,m),v.encodeCallback(w,m),w.mime="xml",w.content=t,w.headers&&w.headers["x-oss-callback"]||(w.xmlResponse=!0),w.successStatuses=[200],S.next=17,f.default.awrap(this.request(w));case 17:return b=S.sent,E={res:b.res,bucket:w.bucket,name:r,etag:b.res.headers.etag},w.headers&&w.headers["x-oss-callback"]&&(E.data=JSON.parse(b.data.toString())),S.abrupt("return",E);case 21:case"end":return S.stop()}},null,this)},o._uploadPart=function(r,a,c,n,l){var t,s,d;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return l=l||{},t={},p(l).to(t),t.headers={"Content-Length":n.size},t.subres={partNumber:c,uploadId:a},s=this._objectRequestParams("PUT",r,t),s.mime=t.mime,s.stream=n.stream,s.successStatuses=[200],w.next=11,f.default.awrap(this.request(s));case 11:if(d=w.sent,d.res.headers.etag){w.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 n.stream=null,s.stream=null,w.abrupt("return",{name:r,etag:d.res.headers.etag,res:d.res});case 17:case"end":return w.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=u(g),y=D("babel-runtime/core-js/object/keys"),p=u(y),v=D("babel-runtime/helpers/typeof"),h=u(v);function u(a){return a&&a.__esModule?a:{default:a}}var o=D("../utils/checkBucketName"),i=o.checkBucketName,r=e;r.copy=function(c,n,l,t){var s,d,m;return f.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return(typeof l=="undefined"?"undefined":(0,h.default)(l))==="object"&&(t=l),t=t||{},t.headers=t.headers||{},(0,p.default)(t.headers).forEach(function(E){t.headers["x-oss-copy-source-"+E.toLowerCase()]=t.headers[E]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),n=this._getSourceName(n,l),t.versionId&&(n=n+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=n,s=this._objectRequestParams("PUT",c,t),s.xmlResponse=!0,s.successStatuses=[200,304],b.next=14,f.default.awrap(this.request(s));case 14:return d=b.sent,m=d.data,m&&(m={etag:m.ETag,lastModified:m.LastModified}),b.abrupt("return",{data:m,res:d.res});case 18:case"end":return b.stop()}},null,this)},r._getSourceName=function(c,n){return typeof n=="string"?c=this._objectName(c):c[0]!=="/"?n=this.options.bucket:(n=c.replace(/\/(.+?)(\/.*)/,"$1"),c=c.replace(/(\/.+?\/)(.*)/,"$2")),i(n),c=encodeURI(c),c="/"+n+"/"+c,c}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.delete=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,p.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("DELETE",o,i),r.successStatuses=[204],n.next=6,f.default.awrap(this.request(r));case 6:return a=n.sent,n.abrupt("return",{res:a.res});case 8:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(r){return r&&r.__esModule?r:{default:r}}var h=D("utility"),u=D("../utils/obj2xml"),o=u.obj2xml,i=e;i.deleteMulti=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,l,t,s,d,m,w,b,E,A,S,T;return f.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(n=[],!(!a||!a.length)){x.next=3;break}throw new Error("names is required");case 3:for(l=0;l<a.length;l++)t={},typeof a[l]=="string"?t.Key=h.escape(this._objectName(a[l])):(s=a[l],d=s.key,m=s.versionId,t.Key=h.escape(this._objectName(d)),t.VersionId=m),n.push(t);return w={Delete:{Quiet:!!c.quiet,Object:n}},b=o(w,{headers:!0}),c.subres=(0,p.default)({delete:""},c.subres),c.versionId&&(c.subres.versionId=c.versionId),E=this._objectRequestParams("POST","",c),E.mime="xml",E.content=b,E.xmlResponse=!0,E.successStatuses=[200],x.next=15,f.default.awrap(this.request(E));case 15:return A=x.sent,S=A.data,T=S&&S.Deleted||null,T&&(Array.isArray(T)||(T=[T])),x.abrupt("return",{res:A.res,deleted:T||[]});case 20:case"end":return x.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.deleteObjectTagging=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,p.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),r=this._objectRequestParams("DELETE",o,i),r.successStatuses=[204],n.next=7,f.default.awrap(this.request(r));case 7:return a=n.sent,n.abrupt("return",{status:a.status,res:a.res});case 9:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=D("fs"),u=D("is-type-of"),o=e;o.get=function(r,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t,s;return f.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:return n=null,l=!1,u.writableStream(a)?n=a:u.string(a)?(n=h.createWriteStream(a),l=!0):c=a,c=c||{},c.subres=(0,p.default)({},c.subres),c.versionId&&(c.subres.versionId=c.versionId),c.process&&(c.subres["x-oss-process"]=c.process),t=void 0,m.prev=8,s=this._objectRequestParams("GET",r,c),s.writeStream=n,s.successStatuses=[200,206,304],m.next=14,f.default.awrap(this.request(s));case 14:t=m.sent,l&&n.destroy(),m.next=25;break;case 18:if(m.prev=18,m.t0=m.catch(8),!l){m.next=24;break}return n.destroy(),m.next=24,f.default.awrap(this._deleteFileSafe(a));case 24:throw m.t0;case 25:return m.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return m.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getACL=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,p.default)({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),r=this._objectRequestParams("GET",o,i),r.successStatuses=[200],r.xmlResponse=!0,n.next=8,f.default.awrap(this.request(r));case 8:return a=n.sent,n.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 n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=u(g),y=D("babel-runtime/regenerator"),p=u(y),v=D("babel-runtime/core-js/object/assign"),h=u(v);function u(s){return s&&s.__esModule?s:{default:s}}var o=e,i=D("../utils/isObject"),r=i.isObject,a=D("../utils/isArray"),c=a.isArray;o.getBucketVersions=n,o.listObjectVersions=n;function n(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m,w,b,E,A,S;return p.default.async(function(O){for(;;)switch(O.prev=O.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){O.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return d.subres=(0,h.default)({versions:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),m=this._objectRequestParams("GET","",d),m.xmlResponse=!0,m.successStatuses=[200],m.query=t(s),O.next=10,p.default.awrap(this.request(m));case 10:return w=O.sent,b=w.data.Version||[],E=w.data.DeleteMarker||[],A=this,b&&(Array.isArray(b)||(b=[b]),b=b.map(function(x){return{name:x.Key,url:A._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}}})),E&&(c(E)||(E=[E]),E=E.map(function(x){return{name:x.Key,lastModified:x.LastModified,versionId:x.VersionId,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),S=w.data.CommonPrefixes||null,S&&(c(S)||(S=[S]),S=S.map(function(x){return x.Prefix})),O.abrupt("return",{res:w.res,objects:b,deleteMarker:E,prefixes:S,nextMarker:w.data.NextMarker||null,NextVersionIdMarker:w.data.NextVersionIdMarker||null,isTruncated:w.data.IsTruncated==="true"});case 19:case"end":return O.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d={};return r(s)&&(0,f.default)(s).forEach(function(m){d[l(m)]=s[m]}),d}},{"../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(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getObjectMeta=function(o,i){var r,a;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i=i||{},o=this._objectName(o),i.subres=(0,p.default)({objectMeta:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("HEAD",o,i),r.successStatuses=[200],n.next=8,f.default.awrap(this.request(r));case 8:return a=n.sent,n.abrupt("return",{status:a.status,res:a.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=e,u=D("../utils/isObject"),o=u.isObject;h.getObjectTagging=function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,n,l,t,s;return f.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:return a.subres=(0,p.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),r=this._objectName(r),c=this._objectRequestParams("GET",r,a),c.successStatuses=[200],m.next=7,f.default.awrap(this.request(c));case 7:return n=m.sent,m.next=10,f.default.awrap(this.parseXML(n.data));case 10:return l=m.sent,t=l.TagSet.Tag,t=t&&o(t)?[t]:t||[],s={},t.forEach(function(w){s[w.Key]=w.Value}),m.abrupt("return",{status:n.status,res:n.res,tag:s});case 16:case"end":return m.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getSymlink=function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,c;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i.subres=(0,p.default)({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),o=this._objectName(o),r=this._objectRequestParams("GET",o,i),r.successStatuses=[200],l.next=7,f.default.awrap(this.request(r));case 7:return a=l.sent,c=a.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(c),res:a.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=u(g),y=D("babel-runtime/core-js/object/keys"),p=u(y),v=D("babel-runtime/core-js/object/assign"),h=u(v);function u(i){return i&&i.__esModule?i:{default:i}}var o=e;o.head=function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return a.subres=(0,h.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),c=this._objectRequestParams("HEAD",r,a),c.successStatuses=[200,304],s.next=6,f.default.awrap(this.request(c));case 6:return n=s.sent,l={meta:null,res:n.res,status:n.status},n.status===200&&(0,p.default)(n.headers).forEach(function(d){d.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[d.substring(11)]=n.headers[d])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.putACL=function(o,i,r){var a,c;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.subres=(0,p.default)({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.headers=r.headers||{},r.headers["x-oss-object-acl"]=i,o=this._objectName(o),a=this._objectRequestParams("PUT",o,r),a.successStatuses=[200],l.next=10,f.default.awrap(this.request(a));case 10:return c=l.sent,l.abrupt("return",{res:c.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=u(g),y=D("babel-runtime/core-js/object/keys"),p=u(y),v=D("babel-runtime/core-js/object/assign"),h=u(v);function u(n){return n&&n.__esModule?n:{default:n}}var o=D("../utils/obj2xml"),i=o.obj2xml,r=D("../utils/checkObjectTag"),a=r.checkObjectTag,c=e;c.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d,m,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return a(t),s.subres=(0,h.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),d=this._objectRequestParams("PUT",l,s),d.successStatuses=[200],t=(0,p.default)(t).map(function(A){return{Key:A,Value:t[A]}}),m={Tagging:{TagSet:{Tag:t}}},d.mime="xml",d.content=i(m),E.next=12,f.default.awrap(this.request(d));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.status});case 14:case"end":return E.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(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h.putSymlink=function(o,i,r){var a,c;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.headers=r.headers||{},i=this._escape(this._objectName(i)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=i,r.subres=(0,p.default)({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.storageClass&&(r.headers["x-oss-storage-class"]=r.storageClass),o=this._objectName(o),a=this._objectRequestParams("PUT",o,r),a.successStatuses=[200],l.next=13,f.default.awrap(this.request(a));case 13:return c=l.sent,l.abrupt("return",{res:c.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(D,I,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/promise"),p=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=e;h._parallelNode=function(o,i,r,a){var c,n,l,t,s,d,m,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:c=this,n=[],l=[],t=o.length/i,s=o.length%i,d=s===0?t:(o.length-s)/i+1,m=1,w=0;case 8:if(!(w<o.length)){E.next=26;break}if(!c.isCancel()){E.next=11;break}return E.abrupt("break",26);case 11:if(a?l.push(r(c,o[w],a)):l.push(r(c,o[w])),!(l.length===i||m===d&&w===o.length-1)){E.next=23;break}return E.prev=13,m+=1,E.next=17,f.default.awrap(p.default.all(l));case 17:E.next=22;break;case 19:E.prev=19,E.t0=E.catch(13),n.push(E.t0);case 22:l=[];case 23:w++,E.next=8;break;case 26:return E.abrupt("return",n);case 27:case"end":return E.stop()}},null,this,[[13,19]])},h._parallel=function(o,i,r){var a=this;return new p.default(function(c){var n=[];if(i<=0||!o){c(n);return}function l(S){return function(){if(S===null)throw new Error("Callback was already called.");var T=S;S=null;for(var O=arguments.length,x=Array(O),C=0;C<O;C++)x[C]=arguments[C];T.apply(this,x)}}function t(S){var T=-1,O=S.length;return function(){return++T<O&&!a.isCancel()?{value:S[T],key:T}:null}}var s=t(o),d=!1,m=0,w=!1;function b(S,T){m-=1,S?(d=!0,n.push(S),c(n)):T==={}||d&&m<=0?(d=!0,c(n)):w||(a.isCancel()?c(n):A())}function E(S,T){r(S).then(function(O){T(null,O)}).catch(function(O){T(O)})}function A(){for(w=!0;m<i&&!d&&!a.isCancel();){var S=s();if(S===null||n.length>0){d=!0,m<=0&&c(n);return}m+=1,E(S.value,l(b))}w=!1}A()})},h.cancel=function(o){this.options.cancelFlag=!0,o&&this.abortMultipartUpload(o.name,o.uploadId,o.options)},h.isCancel=function(){return this.options.cancelFlag},h.resetCancelFlag=function(){this.options.cancelFlag=!1},h._stop=function(){this.options.cancelFlag=!0},h._makeCancelEvent=function(){var o={status:0,name:"cancel"};return o}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/core-js/json/stringify"),y=h(f),p=D("babel-runtime/core-js/object/keys"),v=h(p);function h(i){return i&&i.__esModule?i:{default:i}}var u=D("./../../shims/crypto/crypto.js"),o=D("is-type-of");e.buildCanonicalizedResource=function(r,a){var c=""+r,n="?";if(o.string(a)&&a.trim()!=="")c+=n+a;else if(o.array(a))a.sort(),c+=n+a.join("&");else if(a){var l=function(d,m){return d[0]>m[0]?1:d[0]<m[0]?-1:0},t=function(d){c+=n+d,a[d]&&(c+="="+a[d]),n="&"};(0,v.default)(a).sort(l).forEach(t)}return c},e.buildCanonicalString=function(r,a,c,n){c=c||{};var l=c.headers||{},t="x-oss-",s=[],d={},m=[r.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],n||l["x-oss-date"]];return(0,v.default)(l).forEach(function(w){var b=w.toLowerCase();b.indexOf(t)===0&&(d[b]=String(l[w]).trim())}),(0,v.default)(d).sort().forEach(function(w){s.push(w+":"+d[w])}),m=m.concat(s),m.push(this.buildCanonicalizedResource(a,c.parameters)),m.join(`
|
|
|
`)},e.computeSignature=function(r,a){var c=u.createHmac("sha1",r);return c.update(g.from(a,"utf8")).digest("base64")},e.authorization=function(r,a,c){return"OSS "+r+":"+this.computeSignature(a,c)},e._signatureForURL=function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=arguments[2],n=arguments[3],l={},t=a.subResource,s=t===void 0?{}:t;if(a.process){var d="x-oss-process";s[d]=a.process}if(a.trafficLimit){var m="x-oss-traffic-limit";s[m]=a.trafficLimit}if(a.response&&(0,v.default)(a.response).forEach(function(A){var S="response-"+A.toLowerCase();s[S]=a.response[A]}),(0,v.default)(a).forEach(function(A){var S=A.toLowerCase(),T=a[A];S.indexOf("x-oss-")===0?l[S]=T:(S.indexOf("content-md5")===0||S.indexOf("content-type")===0)&&(l[A]=T)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(s["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var w={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(w.callbackHost=a.callback.host),a.callback.contentType&&(w.callbackBodyType=a.callback.contentType),s.callback=g.from((0,y.default)(w)).toString("base64"),a.callback.customValue){var b={};(0,v.default)(a.callback.customValue).forEach(function(A){b["x:"+A]=a.callback.customValue[A]}),s["callback-var"]=g.from((0,y.default)(b)).toString("base64")}}var E=this.buildCanonicalString(a.method,c,{headers:l,parameters:s},n.toString());return{Signature:this.computeSignature(r,E),subResource:s}}}).call(this,D("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(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var y=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!y.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/entries"),f=y(g);function y(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var p=D("./checkValid"),v=p.checkValid,h=D("./isObject"),u=h.isObject,o=[{validator:function(c){if(typeof c!="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 (/)"}],i={key:[].concat(o,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(o,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function r(a){if(!u(a))throw new Error("tag must be Object");var c=(0,f.default)(a);if(c.length>10)throw new Error("maximum of 10 tags for a object");var n=["key","value"];c.forEach(function(l){l.forEach(function(t,s){v(t,i[n[s]])})})}e.checkObjectTag=r},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,y){y.forEach(function(p){if(p.validator)p.validator(f);else if(p.pattern&&!p.pattern.test(f))throw new Error(p.msg)})}e.checkValid=g},{}],38:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/assign"),y=p(f);function p(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var v=D("./../../../shims/crypto/crypto.js"),h=D("debug")("ali-oss"),u=D("mime"),o=D("dateformat"),i=D("copy-to"),r=D("path");function a(l,t){return l[t]||l[t.toLowerCase()]}function c(l,t){delete l[t],delete l[t.toLowerCase()]}function n(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":o(t,"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,y.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),i(l.headers).to(s),a(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=u.getType(l.mime||r.extname(l.object||""))),a(s,"Content-Type")||c(s,"Content-Type"),l.content&&(s["Content-Md5"]=v.createHash("md5").update(g.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var d=this._getResource(l);s.authorization=this.authorization(l.method,d,l.subres,s);var m=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,m,s,!!l.stream);var w=l.timeout||this.options.timeout,b={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:w,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(b.agent=this.agent),this.httpsAgent&&(b.httpsAgent=this.httpsAgent),{url:m,params:b}}e.createRequest=n}).call(this,D("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(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),p=v(y);function v(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepCopy=void 0,e.deepCopy=function(h){if(h===null||(typeof h=="undefined"?"undefined":(0,p.default)(h))!=="object")return h;var u=Array.isArray(h)?[]:{};return(0,f.default)(h).forEach(function(o){u[o]=e.deepCopy(h[o])}),u}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),p=v(y);function v(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function h(o,i){if(o===null||(typeof o=="undefined"?"undefined":(0,p.default)(o))!=="object")return o;var r=void 0;if(Array.isArray(o)){r=[];for(var a=0;a<o.length;a++)r.push(h(o[a],i))}else r={},(0,f.default)(o).forEach(function(c){r[u(c,i)]=h(o[c],i)});return r}e.formatObjKey=h;function u(o,i){return i==="firstUpperCase"?o=o.replace(/^./,function(r){return r.toUpperCase()}):i==="firstLowerCase"&&(o=o.replace(/^./,function(r){return r.toLowerCase()})),o}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var y=0,p=0;p<f.length;p++){var v=f.charAt(p);/^[\u00-\uff]$/.test(v)?y+=1:y+=2}return y}e.getStrBytesCount=g},{}],42:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"}},{}],43:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBlob=void 0;function g(f){return typeof Blob!="undefined"&&f instanceof Blob}e.isBlob=g},{}],44:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFile=void 0,e.isFile=function(g){return typeof File!="undefined"&&g instanceof File}},{}],45:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIP=void 0,e.isIP=function(g){var f=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,y=/^\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 f.test(g)||y.test(g)}},{}],46:[function(D,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"}},{}],47:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var p=D("./formatObjKey");function v(u){return Object.prototype.toString.call(u).replace(/(.*? |])/g,"").toLowerCase()}function h(u,o){var i="";return o&&o.headers&&(i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),o&&o.firstUpperCase&&(u=p.formatObjKey(u,"firstUpperCase")),v(u)==="object"?(0,f.default)(u).forEach(function(r){v(u[r])==="string"||v(u[r])==="number"?i+="<"+r+">"+u[r]+"</"+r+">":v(u[r])==="object"?i+="<"+r+">"+h(u[r])+"</"+r+">":v(u[r])==="array"?i+=u[r].map(function(a){return"<"+r+">"+h(a)+"</"+r+">"}).join(""):i+="<"+r+">"+u[r].toString()+"</"+r+">"}):i+=u.toString(),i}e.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(D,I,e){I.exports=g,I.exports.HttpsAgent=g;function g(){}},{}],49:[function(D,I,e){I.exports=D("./register")().Promise},{"./register":51}],50:[function(D,I,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;I.exports=function(y,p){return function(h,u){h=h||null,u=u||{};var o=u.global!==!1;if(f===null&&o&&(f=y[g]||null),f!==null&&h!==null&&f.implementation!==h)throw new Error('any-promise already defined as "'+f.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return f===null&&(h!==null&&typeof u.Promise!="undefined"?f={Promise:u.Promise,implementation:h}:f=p(h),o&&(y[g]=f)),f}}},{}],51:[function(D,I,e){"use strict";I.exports=D("./loader")(window,g);function g(){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(D,I,e){I.exports={default:D("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(D,I,e){I.exports={default:D("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(D,I,e){I.exports={default:D("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(D,I,e){I.exports={default:D("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(D,I,e){I.exports={default:D("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(D,I,e){I.exports={default:D("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(D,I,e){I.exports={default:D("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(D,I,e){I.exports={default:D("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(D,I,e){I.exports={default:D("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(D,I,e){"use strict";e.__esModule=!0;var g=D("../core-js/symbol/iterator"),f=h(g),y=D("../core-js/symbol"),p=h(y),v=typeof p.default=="function"&&typeof f.default=="symbol"?function(u){return typeof u}:function(u){return u&&typeof p.default=="function"&&u.constructor===p.default&&u!==p.default.prototype?"symbol":typeof u};function h(u){return u&&u.__esModule?u:{default:u}}e.default=typeof p.default=="function"&&v(f.default)==="symbol"?function(u){return typeof u=="undefined"?"undefined":v(u)}:function(u){return u&&typeof p.default=="function"&&u.constructor===p.default&&u!==p.default.prototype?"symbol":typeof u=="undefined"?"undefined":v(u)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(D,I,e){I.exports=D("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(D,I,e){"use strict";e.byteLength=o,e.toByteArray=r,e.fromByteArray=n;for(var g=[],f=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=p.length;v<h;++v)g[v]=p[v],f[p.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function u(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var d=s===t?0:4-s%4;return[s,d]}function o(l){var t=u(l),s=t[0],d=t[1];return(s+d)*3/4-d}function i(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=u(l),d=s[0],m=s[1],w=new y(i(l,d,m)),b=0,E=m>0?d-4:d,A;for(A=0;A<E;A+=4)t=f[l.charCodeAt(A)]<<18|f[l.charCodeAt(A+1)]<<12|f[l.charCodeAt(A+2)]<<6|f[l.charCodeAt(A+3)],w[b++]=t>>16&255,w[b++]=t>>8&255,w[b++]=t&255;return m===2&&(t=f[l.charCodeAt(A)]<<2|f[l.charCodeAt(A+1)]>>4,w[b++]=t&255),m===1&&(t=f[l.charCodeAt(A)]<<10|f[l.charCodeAt(A+1)]<<4|f[l.charCodeAt(A+2)]>>2,w[b++]=t>>8&255,w[b++]=t&255),w}function a(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function c(l,t,s){for(var d,m=[],w=t;w<s;w+=3)d=(l[w]<<16&16711680)+(l[w+1]<<8&65280)+(l[w+2]&255),m.push(a(d));return m.join("")}function n(l){for(var t,s=l.length,d=s%3,m=[],w=16383,b=0,E=s-d;b<E;b+=w)m.push(c(l,b,b+w>E?E:b+w));return d===1?(t=l[s-1],m.push(g[t>>2]+g[t<<4&63]+"==")):d===2&&(t=(l[s-2]<<8)+l[s-1],m.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),m.join("")}},{}],70:[function(D,I,e){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(g,f,y){typeof I!="undefined"&&I.exports?I.exports=y():typeof define=="function"&&define.amd?define(f,y):g[f]=y()}(this,"bowser",function(){var g=!0;function f(i){function r(B){var U=i.match(B);return U&&U.length>1&&U[1]||""}function a(B){var U=i.match(B);return U&&U.length>1&&U[2]||""}var c=r(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(i),l=!n&&/android/i.test(i),t=/nexus\s*[0-6]\s*/i.test(i),s=!t&&/nexus\s*[0-9]+/i.test(i),d=/CrOS/.test(i),m=/silk/i.test(i),w=/sailfish/i.test(i),b=/tizen/i.test(i),E=/(web|hpw)(o|0)s/i.test(i),A=/windows phone/i.test(i),S=/SamsungBrowser/i.test(i),T=!A&&/windows/i.test(i),O=!c&&!m&&/macintosh/i.test(i),x=!l&&!w&&!b&&!E&&/linux/i.test(i),C=a(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=r(/version\/(\d+(\.\d+)?)/i),N=/tablet/i.test(i)&&!/tablet pc/i.test(i),F=!N&&/[^-]mobi/i.test(i),k=/xbox/i.test(i),P;/opera/i.test(i)?P={name:"Opera",opera:g,version:_||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?P={name:"Opera",opera:g,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(i)?P={name:"Samsung Internet for Android",samsungBrowser:g,version:_||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?P={name:"NAVER Whale browser",whale:g,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?P={name:"MZ Browser",mzbrowser:g,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?P={name:"Opera Coast",coast:g,version:_||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?P={name:"Focus",focus:g,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?P={name:"Yandex Browser",yandexbrowser:g,version:_||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?P={name:"UC Browser",ucbrowser:g,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?P={name:"Maxthon",maxthon:g,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?P={name:"Epiphany",epiphany:g,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?P={name:"Puffin",puffin:g,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?P={name:"Sleipnir",sleipnir:g,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?P={name:"K-Meleon",kMeleon:g,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:A?(P={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},C?(P.msedge=g,P.version=C):(P.msie=g,P.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?P={name:"Internet Explorer",msie:g,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?P={name:"Chrome",osname:"Chrome OS",chromeos:g,chromeBook:g,chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(i)?P={name:"Microsoft Edge",msedge:g,version:C}:/vivaldi/i.test(i)?P={name:"Vivaldi",vivaldi:g,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||_}:w?P={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?P={name:"SeaMonkey",seamonkey:g,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(P={name:"Firefox",firefox:g,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(P.firefoxos=g,P.osname="Firefox OS")):m?P={name:"Amazon Silk",silk:g,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?P={name:"PhantomJS",phantom:g,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?P={name:"SlimerJS",slimer:g,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?P={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:_||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:E?(P={name:"WebOS",osname:"WebOS",webos:g,version:_||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(P.touchpad=g)):/bada/i.test(i)?P={name:"Bada",osname:"Bada",bada:g,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:b?P={name:"Tizen",osname:"Tizen",tizen:g,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(i)?P={name:"QupZilla",qupzilla:g,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(i)?P={name:"Chromium",chromium:g,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(i)?P={name:"Chrome",chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?P={name:"Android",version:_}:/safari|applewebkit/i.test(i)?(P={name:"Safari",safari:g},_&&(P.version=_)):c?(P={name:c=="iphone"?"iPhone":c=="ipad"?"iPad":"iPod"},_&&(P.version=_)):/googlebot/i.test(i)?P={name:"Googlebot",googlebot:g,version:r(/googlebot\/(\d+(\.\d+))/i)||_}:P={name:r(/^(.*)\/(.*) /),version:a(/^(.*)\/(.*) /)},!P.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(P.name=P.name||"Blink",P.blink=g):(P.name=P.name||"Webkit",P.webkit=g),!P.version&&_&&(P.version=_)):!P.opera&&/gecko\//i.test(i)&&(P.name=P.name||"Gecko",P.gecko=g,P.version=P.version||r(/gecko\/(\d+(\.\d+)?)/i)),!P.windowsphone&&(l||P.silk)?(P.android=g,P.osname="Android"):!P.windowsphone&&c?(P[c]=g,P.ios=g,P.osname="iOS"):O?(P.mac=g,P.osname="macOS"):k?(P.xbox=g,P.osname="Xbox"):T?(P.windows=g,P.osname="Windows"):x&&(P.linux=g,P.osname="Linux");function j(B){switch(B){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 K="";P.windows?K=j(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):P.windowsphone?K=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):P.mac?(K=r(/Mac OS X (\d+([_\.\s]\d+)*)/i),K=K.replace(/[_\s]/g,".")):c?(K=r(/os (\d+([_\s]\d+)*) like mac os x/i),K=K.replace(/[_\s]/g,".")):l?K=r(/android[ \/-](\d+(\.\d+)*)/i):P.webos?K=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):P.blackberry?K=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):P.bada?K=r(/bada\/(\d+(\.\d+)*)/i):P.tizen&&(K=r(/tizen[\/\s](\d+(\.\d+)*)/i)),K&&(P.osversion=K);var R=!P.windows&&K.split(".")[0];return N||s||c=="ipad"||l&&(R==3||R>=4&&!F)||P.silk?P.tablet=g:(F||c=="iphone"||c=="ipod"||l||t||P.blackberry||P.webos||P.bada)&&(P.mobile=g),P.msedge||P.msie&&P.version>=10||P.yandexbrowser&&P.version>=15||P.vivaldi&&P.version>=1||P.chrome&&P.version>=20||P.samsungBrowser&&P.version>=4||P.whale&&h([P.version,"1.0"])===1||P.mzbrowser&&h([P.version,"6.0"])===1||P.focus&&h([P.version,"1.0"])===1||P.firefox&&P.version>=20||P.safari&&P.version>=6||P.opera&&P.version>=10||P.ios&&P.osversion&&P.osversion.split(".")[0]>=6||P.blackberry&&P.version>=10.1||P.chromium&&P.version>=20?P.a=g:P.msie&&P.version<10||P.chrome&&P.version<20||P.firefox&&P.version<20||P.safari&&P.version<6||P.opera&&P.version<10||P.ios&&P.osversion&&P.osversion.split(".")[0]<6||P.chromium&&P.version<20?P.c=g:P.x=g,P}var y=f(typeof navigator!="undefined"&&navigator.userAgent||"");y.test=function(i){for(var r=0;r<i.length;++r){var a=i[r];if(typeof a=="string"&&a in y)return!0}return!1};function p(i){return i.split(".").length}function v(i,r){var a=[],c;if(Array.prototype.map)return Array.prototype.map.call(i,r);for(c=0;c<i.length;c++)a.push(r(i[c]));return a}function h(i){for(var r=Math.max(p(i[0]),p(i[1])),a=v(i,function(c){var n=r-p(c);return c=c+new Array(n+1).join(".0"),v(c.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--r>=0;){if(a[0][r]>a[1][r])return 1;if(a[0][r]===a[1][r]){if(r===0)return 0}else return-1}}function u(i,r,a){var c=y;typeof r=="string"&&(a=r,r=void 0),r===void 0&&(r=!1),a&&(c=f(a));var n=""+c.version;for(var l in i)if(i.hasOwnProperty(l)&&c[l]){if(typeof i[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(i));return h([n,i[l]])<0}return r}function o(i,r,a){return!u(i,r,a)}return y.isUnsupportedBrowser=u,y.compareVersions=h,y.check=o,y._detect=f,y.detect=f,y})},{}],71:[function(D,I,e){},{}],72:[function(D,I,e){var g=D("buffer").Buffer,f=g.isEncoding||function(o){switch(o&&o.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 y(o){if(o&&!f(o))throw new Error("Unknown encoding: "+o)}var p=e.StringDecoder=function(o){this.encoding=(o||"utf8").toLowerCase().replace(/[-_]/,""),y(o);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=h;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=u;break;default:this.write=v;return}this.charBuffer=new g(6),this.charReceived=0,this.charLength=0};p.prototype.write=function(o){for(var i="";this.charLength;){var r=o.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:o.length;if(o.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";o=o.slice(r,o.length),i=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var c=i.charCodeAt(i.length-1);if(c>=55296&&c<=56319){this.charLength+=this.surrogateSize,i="";continue}if(this.charReceived=this.charLength=0,o.length===0)return i;break}this.detectIncompleteChar(o);var a=o.length;this.charLength&&(o.copy(this.charBuffer,0,o.length-this.charReceived,a),a-=this.charReceived),i+=o.toString(this.encoding,0,a);var a=i.length-1,c=i.charCodeAt(a);if(c>=55296&&c<=56319){var n=this.surrogateSize;return this.charLength+=n,this.charReceived+=n,this.charBuffer.copy(this.charBuffer,n,0,n),o.copy(this.charBuffer,0,0,n),i.substring(0,a)}return i},p.prototype.detectIncompleteChar=function(o){for(var i=o.length>=3?3:o.length;i>0;i--){var r=o[o.length-i];if(i==1&&r>>5==6){this.charLength=2;break}if(i<=2&&r>>4==14){this.charLength=3;break}if(i<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=i},p.prototype.end=function(o){var i="";if(o&&o.length&&(i=this.write(o)),this.charReceived){var r=this.charReceived,a=this.charBuffer,c=this.encoding;i+=a.slice(0,r).toString(c)}return i};function v(o){return o.toString(this.encoding)}function h(o){this.charReceived=o.length%2,this.charLength=this.charReceived?2:0}function u(o){this.charReceived=o.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(D,I,e){(function(g,f){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var y=D("base64-js"),p=D("ieee754"),v=D("isarray");e.Buffer=f,e.SlowBuffer=m,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:h(),e.kMaxLength=u();function h(){try{var Ie=new Uint8Array(1);return Ie.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ie.foo()===42&&typeof Ie.subarray=="function"&&Ie.subarray(1,1).byteLength===0}catch(de){return!1}}function u(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(Ie,de){if(u()<de)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(Ie=new Uint8Array(de),Ie.__proto__=f.prototype):(Ie===null&&(Ie=new f(de)),Ie.length=de),Ie}function f(Ie,de,ee){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(Ie,de,ee);if(typeof Ie=="number"){if(typeof de=="string")throw new Error("If encoding is specified then the first argument must be a string");return c(this,Ie)}return i(this,Ie,de,ee)}f.poolSize=8192,f._augment=function(Ie){return Ie.__proto__=f.prototype,Ie};function i(Ie,de,ee,se){if(typeof de=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&de instanceof ArrayBuffer?t(Ie,de,ee,se):typeof de=="string"?n(Ie,de,ee):s(Ie,de)}f.from=function(Ie,de,ee){return i(null,Ie,de,ee)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}));function r(Ie){if(typeof Ie!="number")throw new TypeError('"size" argument must be a number');if(Ie<0)throw new RangeError('"size" argument must not be negative')}function a(Ie,de,ee,se){return r(de),de<=0?o(Ie,de):ee!==void 0?typeof se=="string"?o(Ie,de).fill(ee,se):o(Ie,de).fill(ee):o(Ie,de)}f.alloc=function(Ie,de,ee){return a(null,Ie,de,ee)};function c(Ie,de){if(r(de),Ie=o(Ie,de<0?0:d(de)|0),!f.TYPED_ARRAY_SUPPORT)for(var ee=0;ee<de;++ee)Ie[ee]=0;return Ie}f.allocUnsafe=function(Ie){return c(null,Ie)},f.allocUnsafeSlow=function(Ie){return c(null,Ie)};function n(Ie,de,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!f.isEncoding(ee))throw new TypeError('"encoding" must be a valid string encoding');var se=w(de,ee)|0;Ie=o(Ie,se);var ke=Ie.write(de,ee);return ke!==se&&(Ie=Ie.slice(0,ke)),Ie}function l(Ie,de){var ee=de.length<0?0:d(de.length)|0;Ie=o(Ie,ee);for(var se=0;se<ee;se+=1)Ie[se]=de[se]&255;return Ie}function t(Ie,de,ee,se){if(de.byteLength,ee<0||de.byteLength<ee)throw new RangeError("'offset' is out of bounds");if(de.byteLength<ee+(se||0))throw new RangeError("'length' is out of bounds");return ee===void 0&&se===void 0?de=new Uint8Array(de):se===void 0?de=new Uint8Array(de,ee):de=new Uint8Array(de,ee,se),f.TYPED_ARRAY_SUPPORT?(Ie=de,Ie.__proto__=f.prototype):Ie=l(Ie,de),Ie}function s(Ie,de){if(f.isBuffer(de)){var ee=d(de.length)|0;return Ie=o(Ie,ee),Ie.length===0||de.copy(Ie,0,0,ee),Ie}if(de){if(typeof ArrayBuffer!="undefined"&&de.buffer instanceof ArrayBuffer||"length"in de)return typeof de.length!="number"||lt(de.length)?o(Ie,0):l(Ie,de);if(de.type==="Buffer"&&v(de.data))return l(Ie,de.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(Ie){if(Ie>=u())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u().toString(16)+" bytes");return Ie|0}function m(Ie){return+Ie!=Ie&&(Ie=0),f.alloc(+Ie)}f.isBuffer=function(de){return!!(de!=null&&de._isBuffer)},f.compare=function(de,ee){if(!f.isBuffer(de)||!f.isBuffer(ee))throw new TypeError("Arguments must be Buffers");if(de===ee)return 0;for(var se=de.length,ke=ee.length,Ce=0,ze=Math.min(se,ke);Ce<ze;++Ce)if(de[Ce]!==ee[Ce]){se=de[Ce],ke=ee[Ce];break}return se<ke?-1:ke<se?1:0},f.isEncoding=function(de){switch(String(de).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}},f.concat=function(de,ee){if(!v(de))throw new TypeError('"list" argument must be an Array of Buffers');if(de.length===0)return f.alloc(0);var se;if(ee===void 0)for(ee=0,se=0;se<de.length;++se)ee+=de[se].length;var ke=f.allocUnsafe(ee),Ce=0;for(se=0;se<de.length;++se){var ze=de[se];if(!f.isBuffer(ze))throw new TypeError('"list" argument must be an Array of Buffers');ze.copy(ke,Ce),Ce+=ze.length}return ke};function w(Ie,de){if(f.isBuffer(Ie))return Ie.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(Ie)||Ie instanceof ArrayBuffer))return Ie.byteLength;typeof Ie!="string"&&(Ie=""+Ie);var ee=Ie.length;if(ee===0)return 0;for(var se=!1;;)switch(de){case"ascii":case"latin1":case"binary":return ee;case"utf8":case"utf-8":case void 0:return Pe(Ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee*2;case"hex":return ee>>>1;case"base64":return Te(Ie).length;default:if(se)return Pe(Ie).length;de=(""+de).toLowerCase(),se=!0}}f.byteLength=w;function b(Ie,de,ee){var se=!1;if((de===void 0||de<0)&&(de=0),de>this.length)return"";if((ee===void 0||ee>this.length)&&(ee=this.length),ee<=0)return"";if(ee>>>=0,de>>>=0,ee<=de)return"";for(Ie||(Ie="utf8");;)switch(Ie){case"hex":return B(this,de,ee);case"utf8":case"utf-8":return k(this,de,ee);case"ascii":return K(this,de,ee);case"latin1":case"binary":return R(this,de,ee);case"base64":return F(this,de,ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,de,ee);default:if(se)throw new TypeError("Unknown encoding: "+Ie);Ie=(Ie+"").toLowerCase(),se=!0}}f.prototype._isBuffer=!0;function E(Ie,de,ee){var se=Ie[de];Ie[de]=Ie[ee],Ie[ee]=se}f.prototype.swap16=function(){var de=this.length;if(de%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ee=0;ee<de;ee+=2)E(this,ee,ee+1);return this},f.prototype.swap32=function(){var de=this.length;if(de%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ee=0;ee<de;ee+=4)E(this,ee,ee+3),E(this,ee+1,ee+2);return this},f.prototype.swap64=function(){var de=this.length;if(de%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ee=0;ee<de;ee+=8)E(this,ee,ee+7),E(this,ee+1,ee+6),E(this,ee+2,ee+5),E(this,ee+3,ee+4);return this},f.prototype.toString=function(){var de=this.length|0;return de===0?"":arguments.length===0?k(this,0,de):b.apply(this,arguments)},f.prototype.equals=function(de){if(!f.isBuffer(de))throw new TypeError("Argument must be a Buffer");return this===de?!0:f.compare(this,de)===0},f.prototype.inspect=function(){var de="",ee=e.INSPECT_MAX_BYTES;return this.length>0&&(de=this.toString("hex",0,ee).match(/.{2}/g).join(" "),this.length>ee&&(de+=" ... ")),"<Buffer "+de+">"},f.prototype.compare=function(de,ee,se,ke,Ce){if(!f.isBuffer(de))throw new TypeError("Argument must be a Buffer");if(ee===void 0&&(ee=0),se===void 0&&(se=de?de.length:0),ke===void 0&&(ke=0),Ce===void 0&&(Ce=this.length),ee<0||se>de.length||ke<0||Ce>this.length)throw new RangeError("out of range index");if(ke>=Ce&&ee>=se)return 0;if(ke>=Ce)return-1;if(ee>=se)return 1;if(ee>>>=0,se>>>=0,ke>>>=0,Ce>>>=0,this===de)return 0;for(var ze=Ce-ke,_e=se-ee,ae=Math.min(ze,_e),me=this.slice(ke,Ce),Oe=de.slice(ee,se),Ze=0;Ze<ae;++Ze)if(me[Ze]!==Oe[Ze]){ze=me[Ze],_e=Oe[Ze];break}return ze<_e?-1:_e<ze?1:0};function A(Ie,de,ee,se,ke){if(Ie.length===0)return-1;if(typeof ee=="string"?(se=ee,ee=0):ee>2147483647?ee=2147483647:ee<-2147483648&&(ee=-2147483648),ee=+ee,isNaN(ee)&&(ee=ke?0:Ie.length-1),ee<0&&(ee=Ie.length+ee),ee>=Ie.length){if(ke)return-1;ee=Ie.length-1}else if(ee<0)if(ke)ee=0;else return-1;if(typeof de=="string"&&(de=f.from(de,se)),f.isBuffer(de))return de.length===0?-1:S(Ie,de,ee,se,ke);if(typeof de=="number")return de=de&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(Ie,de,ee):Uint8Array.prototype.lastIndexOf.call(Ie,de,ee):S(Ie,[de],ee,se,ke);throw new TypeError("val must be string, number or Buffer")}function S(Ie,de,ee,se,ke){var Ce=1,ze=Ie.length,_e=de.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(Ie.length<2||de.length<2)return-1;Ce=2,ze/=2,_e/=2,ee/=2}function ae(Ct,Be){return Ce===1?Ct[Be]:Ct.readUInt16BE(Be*Ce)}var me;if(ke){var Oe=-1;for(me=ee;me<ze;me++)if(ae(Ie,me)===ae(de,Oe===-1?0:me-Oe)){if(Oe===-1&&(Oe=me),me-Oe+1===_e)return Oe*Ce}else Oe!==-1&&(me-=me-Oe),Oe=-1}else for(ee+_e>ze&&(ee=ze-_e),me=ee;me>=0;me--){for(var Ze=!0,vt=0;vt<_e;vt++)if(ae(Ie,me+vt)!==ae(de,vt)){Ze=!1;break}if(Ze)return me}return-1}f.prototype.includes=function(de,ee,se){return this.indexOf(de,ee,se)!==-1},f.prototype.indexOf=function(de,ee,se){return A(this,de,ee,se,!0)},f.prototype.lastIndexOf=function(de,ee,se){return A(this,de,ee,se,!1)};function T(Ie,de,ee,se){ee=Number(ee)||0;var ke=Ie.length-ee;se?(se=Number(se),se>ke&&(se=ke)):se=ke;var Ce=de.length;if(Ce%2!==0)throw new TypeError("Invalid hex string");se>Ce/2&&(se=Ce/2);for(var ze=0;ze<se;++ze){var _e=parseInt(de.substr(ze*2,2),16);if(isNaN(_e))return ze;Ie[ee+ze]=_e}return ze}function O(Ie,de,ee,se){return xe(Pe(de,Ie.length-ee),Ie,ee,se)}function x(Ie,de,ee,se){return xe(Ge(de),Ie,ee,se)}function C(Ie,de,ee,se){return x(Ie,de,ee,se)}function _(Ie,de,ee,se){return xe(Te(de),Ie,ee,se)}function N(Ie,de,ee,se){return xe(pt(de,Ie.length-ee),Ie,ee,se)}f.prototype.write=function(de,ee,se,ke){if(ee===void 0)ke="utf8",se=this.length,ee=0;else if(se===void 0&&typeof ee=="string")ke=ee,se=this.length,ee=0;else if(isFinite(ee))ee=ee|0,isFinite(se)?(se=se|0,ke===void 0&&(ke="utf8")):(ke=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ce=this.length-ee;if((se===void 0||se>Ce)&&(se=Ce),de.length>0&&(se<0||ee<0)||ee>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var ze=!1;;)switch(ke){case"hex":return T(this,de,ee,se);case"utf8":case"utf-8":return O(this,de,ee,se);case"ascii":return x(this,de,ee,se);case"latin1":case"binary":return C(this,de,ee,se);case"base64":return _(this,de,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,de,ee,se);default:if(ze)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),ze=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(Ie,de,ee){return de===0&&ee===Ie.length?y.fromByteArray(Ie):y.fromByteArray(Ie.slice(de,ee))}function k(Ie,de,ee){ee=Math.min(Ie.length,ee);for(var se=[],ke=de;ke<ee;){var Ce=Ie[ke],ze=null,_e=Ce>239?4:Ce>223?3:Ce>191?2:1;if(ke+_e<=ee){var ae,me,Oe,Ze;switch(_e){case 1:Ce<128&&(ze=Ce);break;case 2:ae=Ie[ke+1],(ae&192)===128&&(Ze=(Ce&31)<<6|ae&63,Ze>127&&(ze=Ze));break;case 3:ae=Ie[ke+1],me=Ie[ke+2],(ae&192)===128&&(me&192)===128&&(Ze=(Ce&15)<<12|(ae&63)<<6|me&63,Ze>2047&&(Ze<55296||Ze>57343)&&(ze=Ze));break;case 4:ae=Ie[ke+1],me=Ie[ke+2],Oe=Ie[ke+3],(ae&192)===128&&(me&192)===128&&(Oe&192)===128&&(Ze=(Ce&15)<<18|(ae&63)<<12|(me&63)<<6|Oe&63,Ze>65535&&Ze<1114112&&(ze=Ze))}}ze===null?(ze=65533,_e=1):ze>65535&&(ze-=65536,se.push(ze>>>10&1023|55296),ze=56320|ze&1023),se.push(ze),ke+=_e}return j(se)}var P=4096;function j(Ie){var de=Ie.length;if(de<=P)return String.fromCharCode.apply(String,Ie);for(var ee="",se=0;se<de;)ee+=String.fromCharCode.apply(String,Ie.slice(se,se+=P));return ee}function K(Ie,de,ee){var se="";ee=Math.min(Ie.length,ee);for(var ke=de;ke<ee;++ke)se+=String.fromCharCode(Ie[ke]&127);return se}function R(Ie,de,ee){var se="";ee=Math.min(Ie.length,ee);for(var ke=de;ke<ee;++ke)se+=String.fromCharCode(Ie[ke]);return se}function B(Ie,de,ee){var se=Ie.length;(!de||de<0)&&(de=0),(!ee||ee<0||ee>se)&&(ee=se);for(var ke="",Ce=de;Ce<ee;++Ce)ke+=ge(Ie[Ce]);return ke}function U(Ie,de,ee){for(var se=Ie.slice(de,ee),ke="",Ce=0;Ce<se.length;Ce+=2)ke+=String.fromCharCode(se[Ce]+se[Ce+1]*256);return ke}f.prototype.slice=function(de,ee){var se=this.length;de=~~de,ee=ee===void 0?se:~~ee,de<0?(de+=se,de<0&&(de=0)):de>se&&(de=se),ee<0?(ee+=se,ee<0&&(ee=0)):ee>se&&(ee=se),ee<de&&(ee=de);var ke;if(f.TYPED_ARRAY_SUPPORT)ke=this.subarray(de,ee),ke.__proto__=f.prototype;else{var Ce=ee-de;ke=new f(Ce,void 0);for(var ze=0;ze<Ce;++ze)ke[ze]=this[ze+de]}return ke};function H(Ie,de,ee){if(Ie%1!==0||Ie<0)throw new RangeError("offset is not uint");if(Ie+de>ee)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(de,ee,se){de=de|0,ee=ee|0,se||H(de,ee,this.length);for(var ke=this[de],Ce=1,ze=0;++ze<ee&&(Ce*=256);)ke+=this[de+ze]*Ce;return ke},f.prototype.readUIntBE=function(de,ee,se){de=de|0,ee=ee|0,se||H(de,ee,this.length);for(var ke=this[de+--ee],Ce=1;ee>0&&(Ce*=256);)ke+=this[de+--ee]*Ce;return ke},f.prototype.readUInt8=function(de,ee){return ee||H(de,1,this.length),this[de]},f.prototype.readUInt16LE=function(de,ee){return ee||H(de,2,this.length),this[de]|this[de+1]<<8},f.prototype.readUInt16BE=function(de,ee){return ee||H(de,2,this.length),this[de]<<8|this[de+1]},f.prototype.readUInt32LE=function(de,ee){return ee||H(de,4,this.length),(this[de]|this[de+1]<<8|this[de+2]<<16)+this[de+3]*16777216},f.prototype.readUInt32BE=function(de,ee){return ee||H(de,4,this.length),this[de]*16777216+(this[de+1]<<16|this[de+2]<<8|this[de+3])},f.prototype.readIntLE=function(de,ee,se){de=de|0,ee=ee|0,se||H(de,ee,this.length);for(var ke=this[de],Ce=1,ze=0;++ze<ee&&(Ce*=256);)ke+=this[de+ze]*Ce;return Ce*=128,ke>=Ce&&(ke-=Math.pow(2,8*ee)),ke},f.prototype.readIntBE=function(de,ee,se){de=de|0,ee=ee|0,se||H(de,ee,this.length);for(var ke=ee,Ce=1,ze=this[de+--ke];ke>0&&(Ce*=256);)ze+=this[de+--ke]*Ce;return Ce*=128,ze>=Ce&&(ze-=Math.pow(2,8*ee)),ze},f.prototype.readInt8=function(de,ee){return ee||H(de,1,this.length),this[de]&128?(255-this[de]+1)*-1:this[de]},f.prototype.readInt16LE=function(de,ee){ee||H(de,2,this.length);var se=this[de]|this[de+1]<<8;return se&32768?se|4294901760:se},f.prototype.readInt16BE=function(de,ee){ee||H(de,2,this.length);var se=this[de+1]|this[de]<<8;return se&32768?se|4294901760:se},f.prototype.readInt32LE=function(de,ee){return ee||H(de,4,this.length),this[de]|this[de+1]<<8|this[de+2]<<16|this[de+3]<<24},f.prototype.readInt32BE=function(de,ee){return ee||H(de,4,this.length),this[de]<<24|this[de+1]<<16|this[de+2]<<8|this[de+3]},f.prototype.readFloatLE=function(de,ee){return ee||H(de,4,this.length),p.read(this,de,!0,23,4)},f.prototype.readFloatBE=function(de,ee){return ee||H(de,4,this.length),p.read(this,de,!1,23,4)},f.prototype.readDoubleLE=function(de,ee){return ee||H(de,8,this.length),p.read(this,de,!0,52,8)},f.prototype.readDoubleBE=function(de,ee){return ee||H(de,8,this.length),p.read(this,de,!1,52,8)};function W(Ie,de,ee,se,ke,Ce){if(!f.isBuffer(Ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(de>ke||de<Ce)throw new RangeError('"value" argument is out of bounds');if(ee+se>Ie.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(de,ee,se,ke){if(de=+de,ee=ee|0,se=se|0,!ke){var Ce=Math.pow(2,8*se)-1;W(this,de,ee,se,Ce,0)}var ze=1,_e=0;for(this[ee]=de&255;++_e<se&&(ze*=256);)this[ee+_e]=de/ze&255;return ee+se},f.prototype.writeUIntBE=function(de,ee,se,ke){if(de=+de,ee=ee|0,se=se|0,!ke){var Ce=Math.pow(2,8*se)-1;W(this,de,ee,se,Ce,0)}var ze=se-1,_e=1;for(this[ee+ze]=de&255;--ze>=0&&(_e*=256);)this[ee+ze]=de/_e&255;return ee+se},f.prototype.writeUInt8=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,1,255,0),f.TYPED_ARRAY_SUPPORT||(de=Math.floor(de)),this[ee]=de&255,ee+1};function V(Ie,de,ee,se){de<0&&(de=65535+de+1);for(var ke=0,Ce=Math.min(Ie.length-ee,2);ke<Ce;++ke)Ie[ee+ke]=(de&255<<8*(se?ke:1-ke))>>>(se?ke:1-ke)*8}f.prototype.writeUInt16LE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=de&255,this[ee+1]=de>>>8):V(this,de,ee,!0),ee+2},f.prototype.writeUInt16BE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=de>>>8,this[ee+1]=de&255):V(this,de,ee,!1),ee+2};function z(Ie,de,ee,se){de<0&&(de=4294967295+de+1);for(var ke=0,Ce=Math.min(Ie.length-ee,4);ke<Ce;++ke)Ie[ee+ke]=de>>>(se?ke:3-ke)*8&255}f.prototype.writeUInt32LE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee+3]=de>>>24,this[ee+2]=de>>>16,this[ee+1]=de>>>8,this[ee]=de&255):z(this,de,ee,!0),ee+4},f.prototype.writeUInt32BE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[ee]=de>>>24,this[ee+1]=de>>>16,this[ee+2]=de>>>8,this[ee+3]=de&255):z(this,de,ee,!1),ee+4},f.prototype.writeIntLE=function(de,ee,se,ke){if(de=+de,ee=ee|0,!ke){var Ce=Math.pow(2,8*se-1);W(this,de,ee,se,Ce-1,-Ce)}var ze=0,_e=1,ae=0;for(this[ee]=de&255;++ze<se&&(_e*=256);)de<0&&ae===0&&this[ee+ze-1]!==0&&(ae=1),this[ee+ze]=(de/_e>>0)-ae&255;return ee+se},f.prototype.writeIntBE=function(de,ee,se,ke){if(de=+de,ee=ee|0,!ke){var Ce=Math.pow(2,8*se-1);W(this,de,ee,se,Ce-1,-Ce)}var ze=se-1,_e=1,ae=0;for(this[ee+ze]=de&255;--ze>=0&&(_e*=256);)de<0&&ae===0&&this[ee+ze+1]!==0&&(ae=1),this[ee+ze]=(de/_e>>0)-ae&255;return ee+se},f.prototype.writeInt8=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,1,127,-128),f.TYPED_ARRAY_SUPPORT||(de=Math.floor(de)),de<0&&(de=255+de+1),this[ee]=de&255,ee+1},f.prototype.writeInt16LE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=de&255,this[ee+1]=de>>>8):V(this,de,ee,!0),ee+2},f.prototype.writeInt16BE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[ee]=de>>>8,this[ee+1]=de&255):V(this,de,ee,!1),ee+2},f.prototype.writeInt32LE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[ee]=de&255,this[ee+1]=de>>>8,this[ee+2]=de>>>16,this[ee+3]=de>>>24):z(this,de,ee,!0),ee+4},f.prototype.writeInt32BE=function(de,ee,se){return de=+de,ee=ee|0,se||W(this,de,ee,4,2147483647,-2147483648),de<0&&(de=4294967295+de+1),f.TYPED_ARRAY_SUPPORT?(this[ee]=de>>>24,this[ee+1]=de>>>16,this[ee+2]=de>>>8,this[ee+3]=de&255):z(this,de,ee,!1),ee+4};function X(Ie,de,ee,se,ke,Ce){if(ee+se>Ie.length)throw new RangeError("Index out of range");if(ee<0)throw new RangeError("Index out of range")}function q(Ie,de,ee,se,ke){return ke||X(Ie,de,ee,4,34028234663852886e22,-34028234663852886e22),p.write(Ie,de,ee,se,23,4),ee+4}f.prototype.writeFloatLE=function(de,ee,se){return q(this,de,ee,!0,se)},f.prototype.writeFloatBE=function(de,ee,se){return q(this,de,ee,!1,se)};function fe(Ie,de,ee,se,ke){return ke||X(Ie,de,ee,8,17976931348623157e292,-17976931348623157e292),p.write(Ie,de,ee,se,52,8),ee+8}f.prototype.writeDoubleLE=function(de,ee,se){return fe(this,de,ee,!0,se)},f.prototype.writeDoubleBE=function(de,ee,se){return fe(this,de,ee,!1,se)},f.prototype.copy=function(de,ee,se,ke){if(se||(se=0),!ke&&ke!==0&&(ke=this.length),ee>=de.length&&(ee=de.length),ee||(ee=0),ke>0&&ke<se&&(ke=se),ke===se)return 0;if(de.length===0||this.length===0)return 0;if(ee<0)throw new RangeError("targetStart out of bounds");if(se<0||se>=this.length)throw new RangeError("sourceStart out of bounds");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),de.length-ee<ke-se&&(ke=de.length-ee+se);var Ce=ke-se,ze;if(this===de&&se<ee&&ee<ke)for(ze=Ce-1;ze>=0;--ze)de[ze+ee]=this[ze+se];else if(Ce<1e3||!f.TYPED_ARRAY_SUPPORT)for(ze=0;ze<Ce;++ze)de[ze+ee]=this[ze+se];else Uint8Array.prototype.set.call(de,this.subarray(se,se+Ce),ee);return Ce},f.prototype.fill=function(de,ee,se,ke){if(typeof de=="string"){if(typeof ee=="string"?(ke=ee,ee=0,se=this.length):typeof se=="string"&&(ke=se,se=this.length),de.length===1){var Ce=de.charCodeAt(0);Ce<256&&(de=Ce)}if(ke!==void 0&&typeof ke!="string")throw new TypeError("encoding must be a string");if(typeof ke=="string"&&!f.isEncoding(ke))throw new TypeError("Unknown encoding: "+ke)}else typeof de=="number"&&(de=de&255);if(ee<0||this.length<ee||this.length<se)throw new RangeError("Out of range index");if(se<=ee)return this;ee=ee>>>0,se=se===void 0?this.length:se>>>0,de||(de=0);var ze;if(typeof de=="number")for(ze=ee;ze<se;++ze)this[ze]=de;else{var _e=f.isBuffer(de)?de:Pe(new f(de,ke).toString()),ae=_e.length;for(ze=0;ze<se-ee;++ze)this[ze+ee]=_e[ze%ae]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ve(Ie){if(Ie=Se(Ie).replace(G,""),Ie.length<2)return"";for(;Ie.length%4!==0;)Ie=Ie+"=";return Ie}function Se(Ie){return Ie.trim?Ie.trim():Ie.replace(/^\s+|\s+$/g,"")}function ge(Ie){return Ie<16?"0"+Ie.toString(16):Ie.toString(16)}function Pe(Ie,de){de=de||Infinity;for(var ee,se=Ie.length,ke=null,Ce=[],ze=0;ze<se;++ze){if(ee=Ie.charCodeAt(ze),ee>55295&&ee<57344){if(!ke){if(ee>56319){(de-=3)>-1&&Ce.push(239,191,189);continue}else if(ze+1===se){(de-=3)>-1&&Ce.push(239,191,189);continue}ke=ee;continue}if(ee<56320){(de-=3)>-1&&Ce.push(239,191,189),ke=ee;continue}ee=(ke-55296<<10|ee-56320)+65536}else ke&&((de-=3)>-1&&Ce.push(239,191,189));if(ke=null,ee<128){if((de-=1)<0)break;Ce.push(ee)}else if(ee<2048){if((de-=2)<0)break;Ce.push(ee>>6|192,ee&63|128)}else if(ee<65536){if((de-=3)<0)break;Ce.push(ee>>12|224,ee>>6&63|128,ee&63|128)}else if(ee<1114112){if((de-=4)<0)break;Ce.push(ee>>18|240,ee>>12&63|128,ee>>6&63|128,ee&63|128)}else throw new Error("Invalid code point")}return Ce}function Ge(Ie){for(var de=[],ee=0;ee<Ie.length;++ee)de.push(Ie.charCodeAt(ee)&255);return de}function pt(Ie,de){for(var ee,se,ke,Ce=[],ze=0;ze<Ie.length&&!((de-=2)<0);++ze)ee=Ie.charCodeAt(ze),se=ee>>8,ke=ee%256,Ce.push(ke),Ce.push(se);return Ce}function Te(Ie){return y.toByteArray(ve(Ie))}function xe(Ie,de,ee,se){for(var ke=0;ke<se&&!(ke+ee>=de.length||ke>=Ie.length);++ke)de[ke+ee]=Ie[ke];return ke}function lt(Ie){return Ie!==Ie}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(D,I,e){I.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(D,I,e){I.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(D,I,e){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=Array.prototype.slice;I.exports=f;function f(p,v){if(!(this instanceof f))return new f(p,v);this.src=p,this._withAccess=v}f.prototype.withAccess=function(p){return this._withAccess=p!==!1,this},f.prototype.pick=function(p){return Array.isArray(p)||(p=g.call(arguments)),p.length&&(this.keys=p),this},f.prototype.to=function(p){if(p=p||{},!this.src)return p;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<v.length;h++){if(u=v[h],p[u]!==void 0)continue;p[u]=this.src[u]}return p}for(var h=0;h<v.length;h++){var u=v[h];if(!y(p,u))continue;var o=this.src.__lookupGetter__(u),i=this.src.__lookupSetter__(u);o&&p.__defineGetter__(u,o),i&&p.__defineSetter__(u,i),!o&&!i&&(p[u]=this.src[u])}return p},f.prototype.toCover=function(p){for(var v=this.keys||Object.keys(this.src),h=0;h<v.length;h++){var u=v[h];delete p[u];var o=this.src.__lookupGetter__(u),i=this.src.__lookupSetter__(u);o&&p.__defineGetter__(u,o),i&&p.__defineSetter__(u,i),!o&&!i&&(p[u]=this.src[u])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(p){var v={};return this.to(v),this.src=p,this.to(v),this.src=v,this};function y(p,v){return p[v]===void 0&&p.__lookupGetter__(v)===void 0&&p.__lookupSetter__(v)===void 0}},{}],77:[function(D,I,e){D("../../modules/es6.string.iterator"),D("../../modules/es6.array.from"),I.exports=D("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(D,I,e){var g=D("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});I.exports=function(p){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(D,I,e){D("../../modules/es6.object.assign"),I.exports=D("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(D,I,e){D("../../modules/es6.object.create");var g=D("../../modules/_core").Object;I.exports=function(y,p){return g.create(y,p)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(D,I,e){D("../../modules/es6.object.define-property");var g=D("../../modules/_core").Object;I.exports=function(y,p,v){return g.defineProperty(y,p,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(D,I,e){D("../../modules/es7.object.entries"),I.exports=D("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(D,I,e){D("../../modules/es6.object.get-own-property-names");var g=D("../../modules/_core").Object;I.exports=function(y){return g.getOwnPropertyNames(y)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(D,I,e){D("../../modules/es6.object.get-prototype-of"),I.exports=D("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(D,I,e){D("../../modules/es6.object.keys"),I.exports=D("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(D,I,e){D("../modules/es6.object.to-string"),D("../modules/es6.string.iterator"),D("../modules/web.dom.iterable"),D("../modules/es6.promise"),D("../modules/es7.promise.finally"),D("../modules/es7.promise.try"),I.exports=D("../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(D,I,e){D("../modules/web.immediate"),I.exports=D("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(D,I,e){D("../../modules/es6.string.from-code-point"),I.exports=D("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(D,I,e){D("../../modules/es6.function.has-instance"),I.exports=D("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(D,I,e){D("../../modules/es6.symbol"),D("../../modules/es6.object.to-string"),D("../../modules/es7.symbol.async-iterator"),D("../../modules/es7.symbol.observable"),I.exports=D("../../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(D,I,e){D("../../modules/es6.string.iterator"),D("../../modules/web.dom.iterable"),I.exports=D("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(D,I,e){I.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(D,I,e){I.exports=function(){}},{}],94:[function(D,I,e){I.exports=function(g,f,y,p){if(!(g instanceof f)||p!==void 0&&p in g)throw TypeError(y+": incorrect invocation!");return g}},{}],95:[function(D,I,e){var g=D("./_is-object");I.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(D,I,e){var g=D("./_to-iobject"),f=D("./_to-length"),y=D("./_to-absolute-index");I.exports=function(p){return function(v,h,u){var o=g(v),i=f(o.length),r=y(u,i),a;if(p&&h!=h){for(;i>r;)if(a=o[r++],a!=a)return!0}else for(;i>r;r++)if((p||r in o)&&o[r]===h)return p||r||0;return!p&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(D,I,e){var g=D("./_cof"),f=D("./_wks")("toStringTag"),y=g(function(){return arguments}())=="Arguments",p=function(h,u){try{return h[u]}catch(o){}};I.exports=function(v){var h,u,o;return v===void 0?"Undefined":v===null?"Null":typeof(u=p(h=Object(v),f))=="string"?u:y?g(h):(o=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},{"./_cof":98,"./_wks":166}],98:[function(D,I,e){var g={}.toString;I.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(D,I,e){var g=I.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(D,I,e){"use strict";var g=D("./_object-dp"),f=D("./_property-desc");I.exports=function(y,p,v){p in y?g.f(y,p,f(0,v)):y[p]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(D,I,e){var g=D("./_a-function");I.exports=function(f,y,p){if(g(f),y===void 0)return f;switch(p){case 1:return function(v){return f.call(y,v)};case 2:return function(v,h){return f.call(y,v,h)};case 3:return function(v,h,u){return f.call(y,v,h,u)}}return function(){return f.apply(y,arguments)}}},{"./_a-function":92}],102:[function(D,I,e){I.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(D,I,e){I.exports=!D("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(D,I,e){var g=D("./_is-object"),f=D("./_global").document,y=g(f)&&g(f.createElement);I.exports=function(p){return y?f.createElement(p):{}}},{"./_global":110,"./_is-object":119}],105:[function(D,I,e){I.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(D,I,e){var g=D("./_object-keys"),f=D("./_object-gops"),y=D("./_object-pie");I.exports=function(p){var v=g(p),h=f.f;if(h)for(var u=h(p),o=y.f,i=0,r;u.length>i;)o.call(p,r=u[i++])&&v.push(r);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(D,I,e){var g=D("./_global"),f=D("./_core"),y=D("./_ctx"),p=D("./_hide"),v=D("./_has"),h="prototype",u=function o(i,r,a){var c=i&o.F,n=i&o.G,l=i&o.S,t=i&o.P,s=i&o.B,d=i&o.W,m=n?f:f[r]||(f[r]={}),w=m[h],b=n?g:l?g[r]:(g[r]||{})[h],E,A,S;n&&(a=r);for(E in a){if(A=!c&&b&&b[E]!==void 0,A&&v(m,E))continue;S=A?b[E]:a[E],m[E]=n&&typeof b[E]!="function"?a[E]:s&&A?y(S,g):d&&b[E]==S?function(T){var O=function(C,_,N){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(C);case 2:return new T(C,_)}return new T(C,_,N)}return T.apply(this,arguments)};return O[h]=T[h],O}(S):t&&typeof S=="function"?y(Function.call,S):S,t&&((m.virtual||(m.virtual={}))[E]=S,i&o.R&&w&&!w[E]&&p(w,E,S))}};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,I.exports=u},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(D,I,e){I.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(D,I,e){var g=D("./_ctx"),f=D("./_iter-call"),y=D("./_is-array-iter"),p=D("./_an-object"),v=D("./_to-length"),h=D("./core.get-iterator-method"),u={},o={},e=I.exports=function(i,r,a,c,n){var l=n?function(){return i}:h(i),t=g(a,c,r?2:1),s=0,d,m,w,b;if(typeof l!="function")throw TypeError(i+" is not iterable!");if(y(l)){for(d=v(i.length);d>s;s++)if(b=r?t(p(m=i[s])[0],m[1]):t(i[s]),b===u||b===o)return b}else for(w=l.call(i);!(m=w.next()).done;)if(b=f(w,t,m.value,r),b===u||b===o)return b};e.BREAK=u,e.RETURN=o},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(D,I,e){var g=I.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=g)},{}],111:[function(D,I,e){var g={}.hasOwnProperty;I.exports=function(f,y){return g.call(f,y)}},{}],112:[function(D,I,e){var g=D("./_object-dp"),f=D("./_property-desc");I.exports=D("./_descriptors")?function(y,p,v){return g.f(y,p,f(1,v))}:function(y,p,v){return y[p]=v,y}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(D,I,e){var g=D("./_global").document;I.exports=g&&g.documentElement},{"./_global":110}],114:[function(D,I,e){I.exports=!D("./_descriptors")&&!D("./_fails")(function(){return Object.defineProperty(D("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(D,I,e){I.exports=function(g,f,y){var p=y===void 0;switch(f.length){case 0:return p?g():g.call(y);case 1:return p?g(f[0]):g.call(y,f[0]);case 2:return p?g(f[0],f[1]):g.call(y,f[0],f[1]);case 3:return p?g(f[0],f[1],f[2]):g.call(y,f[0],f[1],f[2]);case 4:return p?g(f[0],f[1],f[2],f[3]):g.call(y,f[0],f[1],f[2],f[3])}return g.apply(y,f)}},{}],116:[function(D,I,e){var g=D("./_cof");I.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(D,I,e){var g=D("./_iterators"),f=D("./_wks")("iterator"),y=Array.prototype;I.exports=function(p){return p!==void 0&&(g.Array===p||y[f]===p)}},{"./_iterators":125,"./_wks":166}],118:[function(D,I,e){var g=D("./_cof");I.exports=Array.isArray||function(y){return g(y)=="Array"}},{"./_cof":98}],119:[function(D,I,e){I.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(D,I,e){var g=D("./_an-object");I.exports=function(f,y,p,v){try{return v?y(g(p)[0],p[1]):y(p)}catch(u){var h=f.return;throw h!==void 0&&g(h.call(f)),u}}},{"./_an-object":95}],121:[function(D,I,e){"use strict";var g=D("./_object-create"),f=D("./_property-desc"),y=D("./_set-to-string-tag"),p={};D("./_hide")(p,D("./_wks")("iterator"),function(){return this}),I.exports=function(v,h,u){v.prototype=g(p,{next:f(1,u)}),y(v,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(D,I,e){"use strict";var g=D("./_library"),f=D("./_export"),y=D("./_redefine"),p=D("./_hide"),v=D("./_iterators"),h=D("./_iter-create"),u=D("./_set-to-string-tag"),o=D("./_object-gpo"),i=D("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),a="@@iterator",c="keys",n="values",l=function(){return this};I.exports=function(t,s,d,m,w,b,E){h(d,s,m);var A=function(R){if(!r&&R in x)return x[R];switch(R){case c:return function(){return new d(this,R)};case n:return function(){return new d(this,R)}}return function(){return new d(this,R)}},S=s+" Iterator",T=w==n,O=!1,x=t.prototype,C=x[i]||x[a]||w&&x[w],_=C||A(w),N=w?T?A("entries"):_:void 0,F=s=="Array"&&x.entries||C,k,P,j;if(F&&(j=o(F.call(new t)),j!==Object.prototype&&j.next&&(u(j,S,!0),!g&&typeof j[i]!="function"&&p(j,i,l))),T&&C&&C.name!==n&&(O=!0,_=function(){return C.call(this)}),(!g||E)&&(r||O||!x[i])&&p(x,i,_),v[s]=_,v[S]=l,w)if(k={values:T?_:A(n),keys:b?_:A(c),entries:N},E)for(P in k)P in x||y(x,P,k[P]);else f(f.P+f.F*(r||O),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(D,I,e){var g=D("./_wks")("iterator"),f=!1;try{var y=[7][g]();y.return=function(){f=!0},Array.from(y,function(){throw 2})}catch(p){}I.exports=function(p,v){if(!v&&!f)return!1;var h=!1;try{var u=[7],o=u[g]();o.next=function(){return{done:h=!0}},u[g]=function(){return o},p(u)}catch(i){}return h}},{"./_wks":166}],124:[function(D,I,e){I.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(D,I,e){I.exports={}},{}],126:[function(D,I,e){I.exports=!0},{}],127:[function(D,I,e){var g=D("./_uid")("meta"),f=D("./_is-object"),y=D("./_has"),p=D("./_object-dp").f,v=0,h=Object.isExtensible||function(){return!0},u=!D("./_fails")(function(){return h(Object.preventExtensions({}))}),o=function(l){p(l,g,{value:{i:"O"+ ++v,w:{}}})},i=function(l,t){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!y(l,g)){if(!h(l))return"F";if(!t)return"E";o(l)}return l[g].i},r=function(l,t){if(!y(l,g)){if(!h(l))return!0;if(!t)return!1;o(l)}return l[g].w},a=function(l){return u&&c.NEED&&h(l)&&!y(l,g)&&o(l),l},c=I.exports={KEY:g,NEED:!1,fastKey:i,getWeak:r,onFreeze:a}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(D,I,e){var g=D("./_global"),f=D("./_task").set,y=g.MutationObserver||g.WebKitMutationObserver,p=g.process,v=g.Promise,h=D("./_cof")(p)=="process";I.exports=function(){var u,o,i,r=function(){var t,s;for(h&&(t=p.domain)&&t.exit();u;){s=u.fn,u=u.next;try{s()}catch(d){throw u?i():o=void 0,d}}o=void 0,t&&t.enter()};if(h)i=function(){p.nextTick(r)};else if(y&&!(g.navigator&&g.navigator.standalone)){var a=!0,c=document.createTextNode("");new y(r).observe(c,{characterData:!0}),i=function(){c.data=a=!a}}else if(v&&v.resolve){var n=v.resolve(void 0);i=function(){n.then(r)}}else i=function(){f.call(g,r)};return function(l){var t={fn:l,next:void 0};o&&(o.next=t),u||(u=t,i()),o=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(D,I,e){"use strict";var g=D("./_a-function");function f(y){var p,v;this.promise=new y(function(h,u){if(p!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");p=h,v=u}),this.resolve=g(p),this.reject=g(v)}I.exports.f=function(y){return new f(y)}},{"./_a-function":92}],130:[function(D,I,e){"use strict";var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_object-gops"),p=D("./_object-pie"),v=D("./_to-object"),h=D("./_iobject"),u=Object.assign;I.exports=!u||D("./_fails")(function(){var o={},i={},r=Symbol(),a="abcdefghijklmnopqrst";return o[r]=7,a.split("").forEach(function(c){i[c]=c}),u({},o)[r]!=7||Object.keys(u({},i)).join("")!=a})?function(i,r){for(var a=v(i),c=arguments.length,n=1,l=y.f,t=p.f;c>n;)for(var s=h(arguments[n++]),d=l?f(s).concat(l(s)):f(s),m=d.length,w=0,b;m>w;)b=d[w++],(!g||t.call(s,b))&&(a[b]=s[b]);return a}:u},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(D,I,e){var g=D("./_an-object"),f=D("./_object-dps"),y=D("./_enum-bug-keys"),p=D("./_shared-key")("IE_PROTO"),v=function(){},h="prototype",u=function(){var i=D("./_dom-create")("iframe"),r=y.length,a="<",c=">",n;for(i.style.display="none",D("./_html").appendChild(i),i.src="javascript:",n=i.contentWindow.document,n.open(),n.write(a+"script"+c+"document.F=Object"+a+"/script"+c),n.close(),u=n.F;r--;)delete u[h][y[r]];return u()};I.exports=Object.create||function(i,r){var a;return i!==null?(v[h]=g(i),a=new v,v[h]=null,a[p]=i):a=u(),r===void 0?a:f(a,r)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(D,I,e){var g=D("./_an-object"),f=D("./_ie8-dom-define"),y=D("./_to-primitive"),p=Object.defineProperty;e.f=D("./_descriptors")?Object.defineProperty:function(h,u,o){if(g(h),u=y(u,!0),g(o),f)try{return p(h,u,o)}catch(i){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(h[u]=o.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(D,I,e){var g=D("./_object-dp"),f=D("./_an-object"),y=D("./_object-keys");I.exports=D("./_descriptors")?Object.defineProperties:function(v,h){f(v);for(var u=y(h),o=u.length,i=0,r;o>i;)g.f(v,r=u[i++],h[r]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(D,I,e){var g=D("./_object-pie"),f=D("./_property-desc"),y=D("./_to-iobject"),p=D("./_to-primitive"),v=D("./_has"),h=D("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;e.f=D("./_descriptors")?u:function(i,r){if(i=y(i),r=p(r,!0),h)try{return u(i,r)}catch(a){}if(v(i,r))return f(!g.f.call(i,r),i[r])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(D,I,e){var g=D("./_to-iobject"),f=D("./_object-gopn").f,y={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(u){try{return f(u)}catch(o){return p.slice()}};I.exports.f=function(u){return p&&y.call(u)=="[object Window]"?v(u):f(g(u))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(D,I,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(p){return g(p,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(D,I,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(D,I,e){var g=D("./_has"),f=D("./_to-object"),y=D("./_shared-key")("IE_PROTO"),p=Object.prototype;I.exports=Object.getPrototypeOf||function(v){return v=f(v),g(v,y)?v[y]: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(D,I,e){var g=D("./_has"),f=D("./_to-iobject"),y=D("./_array-includes")(!1),p=D("./_shared-key")("IE_PROTO");I.exports=function(v,h){var u=f(v),o=0,i=[],r;for(r in u)r!=p&&(g(u,r)&&i.push(r));for(;h.length>o;)g(u,r=h[o++])&&(~y(i,r)||i.push(r));return i}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(D,I,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys");I.exports=Object.keys||function(p){return g(p,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(D,I,e){e.f={}.propertyIsEnumerable},{}],142:[function(D,I,e){var g=D("./_export"),f=D("./_core"),y=D("./_fails");I.exports=function(p,v){var h=(f.Object||{})[p]||Object[p],u={};u[p]=v(h),g(g.S+g.F*y(function(){h(1)}),"Object",u)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(D,I,e){var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_to-iobject"),p=D("./_object-pie").f;I.exports=function(v){return function(h){for(var u=y(h),o=f(u),i=o.length,r=0,a=[],c;i>r;)c=o[r++],(!g||p.call(u,c))&&a.push(v?[c,u[c]]:u[c]);return a}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(D,I,e){I.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(D,I,e){var g=D("./_an-object"),f=D("./_is-object"),y=D("./_new-promise-capability");I.exports=function(p,v){if(g(p),f(v)&&v.constructor===p)return v;var h=y.f(p),u=h.resolve;return u(v),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(D,I,e){I.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(D,I,e){var g=D("./_hide");I.exports=function(f,y,p){for(var v in y)p&&f[v]?f[v]=y[v]:g(f,v,y[v]);return f}},{"./_hide":112}],148:[function(D,I,e){I.exports=D("./_hide")},{"./_hide":112}],149:[function(D,I,e){"use strict";var g=D("./_global"),f=D("./_core"),y=D("./_object-dp"),p=D("./_descriptors"),v=D("./_wks")("species");I.exports=function(h){var u=typeof f[h]=="function"?f[h]:g[h];p&&u&&!u[v]&&y.f(u,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(D,I,e){var g=D("./_object-dp").f,f=D("./_has"),y=D("./_wks")("toStringTag");I.exports=function(p,v,h){p&&!f(p=h?p:p.prototype,y)&&g(p,y,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(D,I,e){var g=D("./_shared")("keys"),f=D("./_uid");I.exports=function(y){return g[y]||(g[y]=f(y))}},{"./_shared":152,"./_uid":162}],152:[function(D,I,e){var g=D("./_core"),f=D("./_global"),y="__core-js_shared__",p=f[y]||(f[y]={});(I.exports=function(v,h){return p[v]||(p[v]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:D("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(D,I,e){var g=D("./_an-object"),f=D("./_a-function"),y=D("./_wks")("species");I.exports=function(p,v){var h=g(p).constructor,u;return h===void 0||(u=g(h)[y])==null?v:f(u)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(D,I,e){var g=D("./_to-integer"),f=D("./_defined");I.exports=function(y){return function(p,v){var h=String(f(p)),u=g(v),o=h.length,i,r;return u<0||u>=o?y?"":void 0:(i=h.charCodeAt(u),i<55296||i>56319||u+1===o||(r=h.charCodeAt(u+1))<56320||r>57343?y?h.charAt(u):i:y?h.slice(u,u+2):(i-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(D,I,e){var g=D("./_ctx"),f=D("./_invoke"),y=D("./_html"),p=D("./_dom-create"),v=D("./_global"),h=v.process,u=v.setImmediate,o=v.clearImmediate,i=v.MessageChannel,r=v.Dispatch,a=0,c={},n="onreadystatechange",l,t,s,d=function(){var b=+this;if(c.hasOwnProperty(b)){var E=c[b];delete c[b],E()}},m=function(b){d.call(b.data)};(!u||!o)&&(u=function(b){for(var E=[],A=1;arguments.length>A;)E.push(arguments[A++]);return c[++a]=function(){f(typeof b=="function"?b:Function(b),E)},l(a),a},o=function(b){delete c[b]},D("./_cof")(h)=="process"?l=function(b){h.nextTick(g(d,b,1))}:r&&r.now?l=function(b){r.now(g(d,b,1))}:i?(t=new i,s=t.port2,t.port1.onmessage=m,l=g(s.postMessage,s,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(l=function(b){v.postMessage(b+"","*")},v.addEventListener("message",m,!1)):n in p("script")?l=function(b){y.appendChild(p("script"))[n]=function(){y.removeChild(this),d.call(b)}}:l=function(b){setTimeout(g(d,b,1),0)}),I.exports={set:u,clear:o}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(D,I,e){var g=D("./_to-integer"),f=Math.max,y=Math.min;I.exports=function(p,v){return p=g(p),p<0?f(p+v,0):y(p,v)}},{"./_to-integer":157}],157:[function(D,I,e){var g=Math.ceil,f=Math.floor;I.exports=function(y){return isNaN(y=+y)?0:(y>0?f:g)(y)}},{}],158:[function(D,I,e){var g=D("./_iobject"),f=D("./_defined");I.exports=function(y){return g(f(y))}},{"./_defined":102,"./_iobject":116}],159:[function(D,I,e){var g=D("./_to-integer"),f=Math.min;I.exports=function(y){return y>0?f(g(y),9007199254740991):0}},{"./_to-integer":157}],160:[function(D,I,e){var g=D("./_defined");I.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(D,I,e){var g=D("./_is-object");I.exports=function(f,y){if(!g(f))return f;var p,v;if(y&&typeof(p=f.toString)=="function"&&!g(v=p.call(f)))return v;if(typeof(p=f.valueOf)=="function"&&!g(v=p.call(f)))return v;if(!y&&typeof(p=f.toString)=="function"&&!g(v=p.call(f)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(D,I,e){var g=0,f=Math.random();I.exports=function(y){return"Symbol(".concat(y===void 0?"":y,")_",(++g+f).toString(36))}},{}],163:[function(D,I,e){var g=D("./_global"),f=g.navigator;I.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(D,I,e){var g=D("./_global"),f=D("./_core"),y=D("./_library"),p=D("./_wks-ext"),v=D("./_object-dp").f;I.exports=function(h){var u=f.Symbol||(f.Symbol=y?{}:g.Symbol||{});h.charAt(0)!="_"&&!(h in u)&&v(u,h,{value:p.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(D,I,e){e.f=D("./_wks")},{"./_wks":166}],166:[function(D,I,e){var g=D("./_shared")("wks"),f=D("./_uid"),y=D("./_global").Symbol,p=typeof y=="function",v=I.exports=function(h){return g[h]||(g[h]=p&&y[h]||(p?y:f)("Symbol."+h))};v.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(D,I,e){var g=D("./_classof"),f=D("./_wks")("iterator"),y=D("./_iterators");I.exports=D("./_core").getIteratorMethod=function(p){if(p!=null)return p[f]||p["@@iterator"]||y[g(p)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(D,I,e){"use strict";var g=D("./_ctx"),f=D("./_export"),y=D("./_to-object"),p=D("./_iter-call"),v=D("./_is-array-iter"),h=D("./_to-length"),u=D("./_create-property"),o=D("./core.get-iterator-method");f(f.S+f.F*!D("./_iter-detect")(function(i){Array.from(i)}),"Array",{from:function(r){var a=y(r),c=typeof this=="function"?this:Array,n=arguments.length,l=n>1?arguments[1]:void 0,t=l!==void 0,s=0,d=o(a),m,w,b,E;if(t&&(l=g(l,n>2?arguments[2]:void 0,2)),d!=null&&!(c==Array&&v(d)))for(E=d.call(a),w=new c;!(b=E.next()).done;s++)u(w,s,t?p(E,l,[b.value,s],!0):b.value);else for(m=h(a.length),w=new c(m);m>s;s++)u(w,s,t?l(a[s],s):a[s]);return w.length=s,w}})},{"./_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(D,I,e){"use strict";var g=D("./_add-to-unscopables"),f=D("./_iter-step"),y=D("./_iterators"),p=D("./_to-iobject");I.exports=D("./_iter-define")(Array,"Array",function(v,h){this._t=p(v),this._i=0,this._k=h},function(){var v=this._t,h=this._k,u=this._i++;return!v||u>=v.length?(this._t=void 0,f(1)):h=="keys"?f(0,u):h=="values"?f(0,v[u]):f(0,[u,v[u]])},"values"),y.Arguments=y.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(D,I,e){"use strict";var g=D("./_is-object"),f=D("./_object-gpo"),y=D("./_wks")("hasInstance"),p=Function.prototype;y in p||D("./_object-dp").f(p,y,{value:function(h){if(typeof this!="function"||!g(h))return!1;if(!g(this.prototype))return h instanceof this;for(;h=f(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(D,I,e){var g=D("./_export");g(g.S+g.F,"Object",{assign:D("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(D,I,e){var g=D("./_export");g(g.S,"Object",{create:D("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(D,I,e){var g=D("./_export");g(g.S+g.F*!D("./_descriptors"),"Object",{defineProperty:D("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(D,I,e){D("./_object-sap")("getOwnPropertyNames",function(){return D("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(D,I,e){var g=D("./_to-object"),f=D("./_object-gpo");D("./_object-sap")("getPrototypeOf",function(){return function(p){return f(g(p))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(D,I,e){var g=D("./_to-object"),f=D("./_object-keys");D("./_object-sap")("keys",function(){return function(p){return f(g(p))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(D,I,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(D,I,e){"use strict";var g=D("./_library"),f=D("./_global"),y=D("./_ctx"),p=D("./_classof"),v=D("./_export"),h=D("./_is-object"),u=D("./_a-function"),o=D("./_an-instance"),i=D("./_for-of"),r=D("./_species-constructor"),a=D("./_task").set,c=D("./_microtask")(),n=D("./_new-promise-capability"),l=D("./_perform"),t=D("./_user-agent"),s=D("./_promise-resolve"),d="Promise",m=f.TypeError,w=f.process,b=w&&w.versions,E=b&&b.v8||"",A=f[d],S=p(w)=="process",T=function(){},O,x,C,_,N=x=n.f,F=!!function(){try{var H=A.resolve(1),W=(H.constructor={})[D("./_wks")("species")]=function(V){V(T,T)};return(S||typeof PromiseRejectionEvent=="function")&&H.then(T)instanceof W&&E.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(V){}}(),k=function(W){var V;return h(W)&&typeof(V=W.then)=="function"?V:!1},P=function(W,V){if(W._n)return;W._n=!0;var z=W._c;c(function(){for(var X=W._v,q=W._s==1,fe=0,G=function(Se){var ge=q?Se.ok:Se.fail,Pe=Se.resolve,Ge=Se.reject,pt=Se.domain,Te,xe,lt;try{ge?(q||(W._h==2&&R(W),W._h=1),ge===!0?Te=X:(pt&&pt.enter(),Te=ge(X),pt&&(pt.exit(),lt=!0)),Te===Se.promise?Ge(m("Promise-chain cycle")):(xe=k(Te))?xe.call(Te,Pe,Ge):Pe(Te)):Ge(X)}catch(Ie){pt&&!lt&&pt.exit(),Ge(Ie)}};z.length>fe;)G(z[fe++]);W._c=[],W._n=!1,V&&!W._h&&j(W)})},j=function(W){a.call(f,function(){var V=W._v,z=K(W),X,q,fe;if(z&&(X=l(function(){S?w.emit("unhandledRejection",V,W):(q=f.onunhandledrejection)?q({promise:W,reason:V}):(fe=f.console)&&fe.error&&fe.error("Unhandled promise rejection",V)}),W._h=S||K(W)?2:1),W._a=void 0,z&&X.e)throw X.v})},K=function(W){return W._h!==1&&(W._a||W._c).length===0},R=function(W){a.call(f,function(){var V;S?w.emit("rejectionHandled",W):(V=f.onrejectionhandled)&&V({promise:W,reason:W._v})})},B=function(W){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=W,V._s=2,V._a||(V._a=V._c.slice()),P(V,!0)},U=function H(W){var V=this,z;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===W)throw m("Promise can't be resolved itself");(z=k(W))?c(function(){var X={_w:V,_d:!1};try{z.call(W,y(H,X,1),y(B,X,1))}catch(q){B.call(X,q)}}):(V._v=W,V._s=1,P(V,!1))}catch(X){B.call({_w:V,_d:!1},X)}};F||(A=function(W){o(this,A,d,"_h"),u(W),O.call(this);try{W(y(U,this,1),y(B,this,1))}catch(V){B.call(this,V)}},O=function(W){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},O.prototype=D("./_redefine-all")(A.prototype,{then:function(W,V){var z=N(r(this,A));return z.ok=typeof W=="function"?W:!0,z.fail=typeof V=="function"&&V,z.domain=S?w.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&P(this,!1),z.promise},catch:function(W){return this.then(void 0,W)}}),C=function(){var W=new O;this.promise=W,this.resolve=y(U,W,1),this.reject=y(B,W,1)},n.f=N=function(W){return W===A||W===_?new C(W):x(W)}),v(v.G+v.W+v.F*!F,{Promise:A}),D("./_set-to-string-tag")(A,d),D("./_set-species")(d),_=D("./_core")[d],v(v.S+v.F*!F,d,{reject:function(W){var V=N(this),z=V.reject;return z(W),V.promise}}),v(v.S+v.F*(g||!F),d,{resolve:function(W){return s(g&&this===_?A:this,W)}}),v(v.S+v.F*!(F&&D("./_iter-detect")(function(H){A.all(H).catch(T)})),d,{all:function(W){var V=this,z=N(V),X=z.resolve,q=z.reject,fe=l(function(){var G=[],ve=0,Se=1;i(W,!1,function(ge){var Pe=ve++,Ge=!1;G.push(void 0),Se++,V.resolve(ge).then(function(pt){if(Ge)return;Ge=!0,G[Pe]=pt,--Se||X(G)},q)}),--Se||X(G)});return fe.e&&q(fe.v),z.promise},race:function(W){var V=this,z=N(V),X=z.reject,q=l(function(){i(W,!1,function(fe){V.resolve(fe).then(z.resolve,X)})});return q.e&&X(q.v),z.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(D,I,e){var g=D("./_export"),f=D("./_to-absolute-index"),y=String.fromCharCode,p=String.fromCodePoint;g(g.S+g.F*(!!p&&p.length!=1),"String",{fromCodePoint:function(h){for(var u=[],o=arguments.length,i=0,r;o>i;){if(r=+arguments[i++],f(r,1114111)!==r)throw RangeError(r+" is not a valid code point");u.push(r<65536?y(r):y(((r-=65536)>>10)+55296,r%1024+56320))}return u.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(D,I,e){"use strict";var g=D("./_string-at")(!0);D("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,y=this._i,p;return y>=f.length?{value:void 0,done:!0}:(p=g(f,y),this._i+=p.length,{value:p,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(D,I,e){"use strict";var g=D("./_global"),f=D("./_has"),y=D("./_descriptors"),p=D("./_export"),v=D("./_redefine"),h=D("./_meta").KEY,u=D("./_fails"),o=D("./_shared"),i=D("./_set-to-string-tag"),r=D("./_uid"),a=D("./_wks"),c=D("./_wks-ext"),n=D("./_wks-define"),l=D("./_enum-keys"),t=D("./_is-array"),s=D("./_an-object"),d=D("./_is-object"),m=D("./_to-object"),w=D("./_to-iobject"),b=D("./_to-primitive"),E=D("./_property-desc"),A=D("./_object-create"),S=D("./_object-gopn-ext"),T=D("./_object-gopd"),O=D("./_object-gops"),x=D("./_object-dp"),C=D("./_object-keys"),_=T.f,N=x.f,F=S.f,k=g.Symbol,P=g.JSON,j=P&&P.stringify,K="prototype",R=a("_hidden"),B=a("toPrimitive"),U={}.propertyIsEnumerable,H=o("symbol-registry"),W=o("symbols"),V=o("op-symbols"),z=Object[K],X=typeof k=="function"&&!!O.f,q=g.QObject,fe=!q||!q[K]||!q[K].findChild,G=y&&u(function(){return A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a!=7})?function(Ce,ze,_e){var ae=_(z,ze);ae&&delete z[ze],N(Ce,ze,_e),ae&&Ce!==z&&N(z,ze,ae)}:N,ve=function(ze){var _e=W[ze]=A(k[K]);return _e._k=ze,_e},Se=X&&typeof k.iterator=="symbol"?function(Ce){return typeof Ce=="symbol"}:function(Ce){return Ce instanceof k},ge=function(ze,_e,ae){return ze===z&&ge(V,_e,ae),s(ze),_e=b(_e,!0),s(ae),f(W,_e)?(ae.enumerable?(f(ze,R)&&ze[R][_e]&&(ze[R][_e]=!1),ae=A(ae,{enumerable:E(0,!1)})):(f(ze,R)||N(ze,R,E(1,{})),ze[R][_e]=!0),G(ze,_e,ae)):N(ze,_e,ae)},Pe=function(ze,_e){s(ze);for(var ae=l(_e=w(_e)),me=0,Oe=ae.length,Ze;Oe>me;)ge(ze,Ze=ae[me++],_e[Ze]);return ze},Ge=function(ze,_e){return _e===void 0?A(ze):Pe(A(ze),_e)},pt=function(ze){var _e=U.call(this,ze=b(ze,!0));return this===z&&f(W,ze)&&!f(V,ze)?!1:_e||!f(this,ze)||!f(W,ze)||f(this,R)&&this[R][ze]?_e:!0},Te=function(ze,_e){if(ze=w(ze),_e=b(_e,!0),ze===z&&f(W,_e)&&!f(V,_e))return;var ae=_(ze,_e);return ae&&f(W,_e)&&!(f(ze,R)&&ze[R][_e])&&(ae.enumerable=!0),ae},xe=function(ze){for(var _e=F(w(ze)),ae=[],me=0,Oe;_e.length>me;)!f(W,Oe=_e[me++])&&Oe!=R&&Oe!=h&&ae.push(Oe);return ae},lt=function(ze){for(var _e=ze===z,ae=F(_e?V:w(ze)),me=[],Oe=0,Ze;ae.length>Oe;)f(W,Ze=ae[Oe++])&&(_e?f(z,Ze):!0)&&me.push(W[Ze]);return me};X||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var ze=r(arguments.length>0?arguments[0]:void 0),_e=function ae(me){this===z&&ae.call(V,me),f(this,R)&&f(this[R],ze)&&(this[R][ze]=!1),G(this,ze,E(1,me))};return y&&fe&&G(z,ze,{configurable:!0,set:_e}),ve(ze)},v(k[K],"toString",function(){return this._k}),T.f=Te,x.f=ge,D("./_object-gopn").f=S.f=xe,D("./_object-pie").f=pt,O.f=lt,y&&!D("./_library")&&v(z,"propertyIsEnumerable",pt,!0),c.f=function(Ce){return ve(a(Ce))}),p(p.G+p.W+p.F*!X,{Symbol:k});for(var Ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),de=0;Ie.length>de;)a(Ie[de++]);for(var ee=C(a.store),se=0;ee.length>se;)n(ee[se++]);p(p.S+p.F*!X,"Symbol",{for:function(ze){return f(H,ze+="")?H[ze]:H[ze]=k(ze)},keyFor:function(ze){if(!Se(ze))throw TypeError(ze+" is not a symbol!");for(var _e in H)if(H[_e]===ze)return _e},useSetter:function(){fe=!0},useSimple:function(){fe=!1}}),p(p.S+p.F*!X,"Object",{create:Ge,defineProperty:ge,defineProperties:Pe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:xe,getOwnPropertySymbols:lt});var ke=u(function(){O.f(1)});p(p.S+p.F*ke,"Object",{getOwnPropertySymbols:function(ze){return O.f(m(ze))}}),P&&p(p.S+p.F*(!X||u(function(){var Ce=k();return j([Ce])!="[null]"||j({a:Ce})!="{}"||j(Object(Ce))!="{}"})),"JSON",{stringify:function(ze){for(var _e=[ze],ae=1,me,Oe;arguments.length>ae;)_e.push(arguments[ae++]);return Oe=me=_e[1],!d(me)&&ze===void 0||Se(ze)?void 0:(t(me)||(me=function(vt,Ct){if(typeof Oe=="function"&&(Ct=Oe.call(this,vt,Ct)),!Se(Ct))return Ct}),_e[1]=me,j.apply(P,_e))}}),k[K][B]||D("./_hide")(k[K],B,k[K].valueOf),i(k,"Symbol"),i(Math,"Math",!0),i(g.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(D,I,e){var g=D("./_export"),f=D("./_object-to-array")(!0);g(g.S,"Object",{entries:function(p){return f(p)}})},{"./_export":107,"./_object-to-array":143}],183:[function(D,I,e){"use strict";var g=D("./_export"),f=D("./_core"),y=D("./_global"),p=D("./_species-constructor"),v=D("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(u){var o=p(this,f.Promise||y.Promise),i=typeof u=="function";return this.then(i?function(r){return v(o,u()).then(function(){return r})}:u,i?function(r){return v(o,u()).then(function(){throw r})}:u)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(D,I,e){"use strict";var g=D("./_export"),f=D("./_new-promise-capability"),y=D("./_perform");g(g.S,"Promise",{try:function(v){var h=f.f(this),u=y(v);return(u.e?h.reject:h.resolve)(u.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(D,I,e){D("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(D,I,e){D("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(D,I,e){D("./es6.array.iterator");for(var g=D("./_global"),f=D("./_hide"),y=D("./_iterators"),p=D("./_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(","),h=0;h<v.length;h++){var u=v[h],o=g[u],i=o&&o.prototype;i&&!i[p]&&f(i,p,u),y[u]=y.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(D,I,e){var g=D("./_export"),f=D("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=p(f);function p(b){return b&&b.__esModule?b:{default:b}}function v(b){return Array.isArray?Array.isArray(b):w(b)==="[object Array]"}e.isArray=v;function h(b){return typeof b=="boolean"}e.isBoolean=h;function u(b){return b===null}e.isNull=u;function o(b){return b==null}e.isNullOrUndefined=o;function i(b){return typeof b=="number"}e.isNumber=i;function r(b){return typeof b=="string"}e.isString=r;function a(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"}e.isSymbol=a;function c(b){return b===void 0}e.isUndefined=c;function n(b){return w(b)==="[object RegExp]"}e.isRegExp=n;function l(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="object"&&b!==null}e.isObject=l;function t(b){return w(b)==="[object Date]"}e.isDate=t;function s(b){return w(b)==="[object Error]"||b instanceof Error}e.isError=s;function d(b){return typeof b=="function"}e.isFunction=d;function m(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"||typeof b=="undefined"}e.isPrimitive=m,e.isBuffer=g.isBuffer;function w(b){return Object.prototype.toString.call(b)}}).call(this,{isBuffer:D("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(D,I,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(p){"use strict";var v=function(){var r=/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,c=/[^-+\dA-Z]/g;return function(n,l,t,s){if(arguments.length===1&&i(n)==="string"&&!/\d/.test(n)&&(l=n,n=void 0),n=n||new Date,n instanceof Date||(n=new Date(n)),isNaN(n))throw TypeError("Invalid date");l=String(v.masks[l]||l||v.masks.default);var d=l.slice(0,4);(d==="UTC:"||d==="GMT:")&&(l=l.slice(4),t=!0,d==="GMT:"&&(s=!0));var m=t?"getUTC":"get",w=n[m+"Date"](),b=n[m+"Day"](),E=n[m+"Month"](),A=n[m+"FullYear"](),S=n[m+"Hours"](),T=n[m+"Minutes"](),O=n[m+"Seconds"](),x=n[m+"Milliseconds"](),C=t?0:n.getTimezoneOffset(),_=u(n),N=o(n),F={d:w,dd:h(w),ddd:v.i18n.dayNames[b],dddd:v.i18n.dayNames[b+7],m:E+1,mm:h(E+1),mmm:v.i18n.monthNames[E],mmmm:v.i18n.monthNames[E+12],yy:String(A).slice(2),yyyy:A,h:S%12||12,hh:h(S%12||12),H:S,HH:h(S),M:T,MM:h(T),s:O,ss:h(O),l:h(x,3),L:h(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":t?"UTC":(String(n).match(a)||[""]).pop().replace(c,""),o:(C>0?"-":"+")+h(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][w%10>3?0:(w%100-w%10!=10)*w%10],W:_,N};return l.replace(r,function(k){return k in F?F[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 h(r,a){for(r=String(r),a=a||2;r.length<a;)r="0"+r;return r}function u(r){var a=new Date(r.getFullYear(),r.getMonth(),r.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var c=new Date(a.getFullYear(),0,4);c.setDate(c.getDate()-(c.getDay()+6)%7+3);var n=a.getTimezoneOffset()-c.getTimezoneOffset();a.setHours(a.getHours()-n);var l=(a-c)/(864e5*7);return 1+Math.floor(l)}function o(r){var a=r.getDay();return a===0&&(a=7),a}function i(r){return r===null?"null":r===void 0?"undefined":(typeof r=="undefined"?"undefined":(0,f.default)(r))!=="object"?typeof r=="undefined"?"undefined":(0,f.default)(r):Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?I.exports=v:p.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(D,I,e){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=/["'&<>]/;I.exports=f;function f(y){var p=""+y,v=g.exec(p);if(!v)return p;var h,u="",o=0,i=0;for(o=v.index;o<p.length;o++){switch(p.charCodeAt(o)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}i!==o&&(u+=p.substring(i,o)),i=o+1,u+=h}return i!==o?u+p.substring(i,o):u}},{}],192:[function(D,I,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}I.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!y(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},g.prototype.emit=function(h){var u,o,i,r,a,c;if(this._events||(this._events={}),h==="error"&&(!this._events.error||p(this._events.error)&&!this._events.error.length)){if(u=arguments[1],u instanceof Error)throw u;var n=new Error('Uncaught, unspecified "error" event. ('+u+")");throw n.context=u,n}if(o=this._events[h],v(o))return!1;if(f(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:r=Array.prototype.slice.call(arguments,1),o.apply(this,r)}else if(p(o))for(r=Array.prototype.slice.call(arguments,1),c=o.slice(),i=c.length,a=0;a<i;a++)c[a].apply(this,r);return!0},g.prototype.addListener=function(h,u){var o;if(!f(u))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,f(u.listener)?u.listener:u),this._events[h]?p(this._events[h])?this._events[h].push(u):this._events[h]=[this._events[h],u]:this._events[h]=u,p(this._events[h])&&!this._events[h].warned&&(v(this._maxListeners)?o=g.defaultMaxListeners:o=this._maxListeners,o&&o>0&&this._events[h].length>o&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),typeof console.trace=="function"&&console.trace())),this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(h,u){if(!f(u))throw TypeError("listener must be a function");var o=!1;function i(){this.removeListener(h,i),o||(o=!0,u.apply(this,arguments))}return i.listener=u,this.on(h,i),this},g.prototype.removeListener=function(h,u){var o,i,r,a;if(!f(u))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(o=this._events[h],r=o.length,i=-1,o===u||f(o.listener)&&o.listener===u)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,u);else if(p(o)){for(a=r;a-- >0;)if(o[a]===u||o[a].listener&&o[a].listener===u){i=a;break}if(i<0)return this;o.length===1?(o.length=0,delete this._events[h]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",h,u)}return this},g.prototype.removeAllListeners=function(h){var u,o;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[h]&&delete this._events[h],this;if(arguments.length===0){for(u in this._events){if(u==="removeListener")continue;this.removeAllListeners(u)}return this.removeAllListeners("removeListener"),this._events={},this}if(o=this._events[h],f(o))this.removeListener(h,o);else if(o)for(;o.length;)this.removeListener(h,o[o.length-1]);return delete this._events[h],this},g.prototype.listeners=function(h){var u;return!this._events||!this._events[h]?u=[]:f(this._events[h])?u=[this._events[h]]:u=this._events[h].slice(),u},g.prototype.listenerCount=function(h){if(this._events){var u=this._events[h];if(f(u))return 1;if(u)return u.length}return 0},g.listenerCount=function(h,u){return h.listenerCount(u)};function f(h){return typeof h=="function"}function y(h){return typeof h=="number"}function p(h){return typeof h=="object"&&h!==null}function v(h){return h===void 0}},{}],193:[function(D,I,e){var g=D("http"),f=I.exports;for(var y in g)g.hasOwnProperty(y)&&(f[y]=g[y]);f.request=function(p,v){return p||(p={}),p.scheme="https",p.protocol="https:",g.request.call(this,p,v)}},{http:231}],194:[function(D,I,e){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=D("util"),f=D("ms");I.exports=function(y){if(typeof y=="number")return y;var p=f(y);if(p===void 0){var v=new Error(g.format("humanize-ms(%j) result undefined",y));console.warn(v.stack)}return p}},{ms:204,util:243}],195:[function(D,I,e){e.read=function(g,f,y,p,v){var h,u,o=v*8-p-1,i=(1<<o)-1,r=i>>1,a=-7,c=y?v-1:0,n=y?-1:1,l=g[f+c];for(c+=n,h=l&(1<<-a)-1,l>>=-a,a+=o;a>0;h=h*256+g[f+c],c+=n,a-=8);for(u=h&(1<<-a)-1,h>>=-a,a+=p;a>0;u=u*256+g[f+c],c+=n,a-=8);if(h===0)h=1-r;else{if(h===i)return u?NaN:(l?-1:1)*Infinity;u=u+Math.pow(2,p),h=h-r}return(l?-1:1)*u*Math.pow(2,h-p)},e.write=function(g,f,y,p,v,h){var u,o,i,r=h*8-v-1,a=(1<<r)-1,c=a>>1,n=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=p?0:h-1,t=p?1:-1,s=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(o=isNaN(f)?1:0,u=a):(u=Math.floor(Math.log(f)/Math.LN2),f*(i=Math.pow(2,-u))<1&&(u--,i*=2),u+c>=1?f+=n/i:f+=n*Math.pow(2,1-c),f*i>=2&&(u++,i/=2),u+c>=a?(o=0,u=a):u+c>=1?(o=(f*i-1)*Math.pow(2,v),u=u+c):(o=f*Math.pow(2,c-1)*Math.pow(2,v),u=0));v>=8;g[y+l]=o&255,l+=t,o/=256,v-=8);for(u=u<<v|o,r+=v;r>0;g[y+l]=u&255,l+=t,u/=256,r-=8);g[y+l-t]|=s*128}},{}],196:[function(D,I,e){typeof Object.create=="function"?I.exports=function(f,y){y&&(f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:I.exports=function(f,y){if(y){f.super_=y;var p=function(){};p.prototype=y.prototype,f.prototype=new p,f.prototype.constructor=f}}},{}],197:[function(D,I,e){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/I.exports=function(y){return y!=null&&(g(y)||f(y)||!!y._isBuffer)};function g(y){return!!y.constructor&&typeof y.constructor.isBuffer=="function"&&y.constructor.isBuffer(y)}function f(y){return typeof y.readFloatLE=="function"&&typeof y.slice=="function"&&g(y.slice(0,0))}},{}],198:[function(D,I,e){var g={}.toString;I.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(D,I){typeof exports=="object"&&typeof module!="undefined"?module.exports=I(D):typeof define=="function"&&define.amd?define(I):I(D)})(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(D){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(D){for(var I={},e=0,g=D.length;e<g;e++)I[D.charAt(e)]=e;return I}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(I){if(I.length<2){var e=I.charCodeAt(0);return e<128?I:e<2048?fromCharCode(192|e>>>6)+fromCharCode(128|e&63):fromCharCode(224|e>>>12&15)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}else{var e=65536+(I.charCodeAt(0)-55296)*1024+(I.charCodeAt(1)-56320);return fromCharCode(240|e>>>18&7)+fromCharCode(128|e>>>12&63)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(I){return I.replace(re_utob,cb_utob)},cb_encode=function(I){var e=[0,2,1][I.length%3],g=I.charCodeAt(0)<<16|(I.length>1?I.charCodeAt(1):0)<<8|(I.length>2?I.charCodeAt(2):0),f=[b64chars.charAt(g>>>18),b64chars.charAt(g>>>12&63),e>=2?"=":b64chars.charAt(g>>>6&63),e>=1?"=":b64chars.charAt(g&63)];return f.join("")},btoa=global.btoa?function(D){return global.btoa(D)}:function(D){return D.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(I){var e=Object.prototype.toString.call(I)==="[object Uint8Array]";return e?I.toString("base64"):btoa(utob(String(I)))},encode=function(I,e){return e?_encode(String(I)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(I)},encodeURI=function(I){return encode(I,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(I){switch(I.length){case 4:var e=(7&I.charCodeAt(0))<<18|(63&I.charCodeAt(1))<<12|(63&I.charCodeAt(2))<<6|63&I.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&I.charCodeAt(0))<<12|(63&I.charCodeAt(1))<<6|63&I.charCodeAt(2));default:return fromCharCode((31&I.charCodeAt(0))<<6|63&I.charCodeAt(1))}},btou=function(I){return I.replace(re_btou,cb_btou)},cb_decode=function(I){var e=I.length,g=e%4,f=(e>0?b64tab[I.charAt(0)]<<18:0)|(e>1?b64tab[I.charAt(1)]<<12:0)|(e>2?b64tab[I.charAt(2)]<<6:0)|(e>3?b64tab[I.charAt(3)]:0),y=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return y.length-=[0,0,2,1][g],y.join("")},_atob=global.atob?function(D){return global.atob(D)}:function(D){return D.replace(/\S{1,4}/g,cb_decode)},atob=function(I){return _atob(String(I).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(D){return(D.constructor===buffer.constructor?D:buffer.from(D,"base64")).toString()}:function(D){return(D.constructor===buffer.constructor?D:new buffer(D,"base64")).toString()}:function(D){return btou(_atob(D))},decode=function(I){return _decode(String(I).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var I=global.Base64;return global.Base64=_Base64,I};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(I){return{value:I,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(D){return encode(this,D)})),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(D,I,e){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";I.exports=f;var g=Object.prototype.hasOwnProperty;function f(y,p,v){if(!y)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(u){if(!v&&g.call(y,u))return;var o=Object.getOwnPropertyDescriptor(p,u);Object.defineProperty(y,u,o)}),y}},{}],201:[function(D,I,e){"use strict";function g(){this._types=Object.create(null),this._extensions=Object.create(null);for(var f=0;f<arguments.length;f++)this.define(arguments[f]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}g.prototype.define=function(f,y){for(var p in f){var v=f[p].map(function(o){return o.toLowerCase()});p=p.toLowerCase();for(var h=0;h<v.length;h++){var u=v[h];if(u[0]=="*")continue;if(!y&&u in this._types)throw new Error('Attempt to change mapping for "'+u+'" extension from "'+this._types[u]+'" to "'+p+'". Pass `force=true` to allow this, otherwise remove "'+u+'" from the list of extensions for "'+p+'".');this._types[u]=p}if(y||!this._extensions[p]){var u=v[0];this._extensions[p]=u[0]!="*"?u:u.substr(1)}}},g.prototype.getType=function(f){f=String(f);var y=f.replace(/^.*[/\\]/,"").toLowerCase(),p=y.replace(/^.*\./,"").toLowerCase(),v=y.length<f.length,h=p.length<y.length-1;return(h||!v)&&this._types[p]||null},g.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},I.exports=g},{}],202:[function(D,I,e){"use strict";var g=D("./Mime");I.exports=new g(D("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(D,I,e){I.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(D,I,e){var g=1e3,f=g*60,y=f*60,p=y*24,v=p*7,h=p*365.25;I.exports=function(a,c){c=c||{};var n=typeof a;if(n==="string"&&a.length>0)return u(a);if(n==="number"&&isFinite(a))return c.long?i(a):o(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function u(a){if(a=String(a),a.length>100)return;var c=/^(-?(?:\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(!c)return;var n=parseFloat(c[1]),l=(c[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return n*h;case"weeks":case"week":case"w":return n*v;case"days":case"day":case"d":return n*p;case"hours":case"hour":case"hrs":case"hr":case"h":return n*y;case"minutes":case"minute":case"mins":case"min":case"m":return n*f;case"seconds":case"second":case"secs":case"sec":case"s":return n*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function o(a){var c=Math.abs(a);return c>=p?Math.round(a/p)+"d":c>=y?Math.round(a/y)+"h":c>=f?Math.round(a/f)+"m":c>=g?Math.round(a/g)+"s":a+"ms"}function i(a){var c=Math.abs(a);return c>=p?r(a,c,p,"day"):c>=y?r(a,c,y,"hour"):c>=f?r(a,c,f,"minute"):c>=g?r(a,c,g,"second"):a+" ms"}function r(a,c,n,l){var t=c>=n*1.5;return Math.round(a/n)+" "+l+(t?"s":"")}},{}],205:[function(D,I,e){(function(g){function f(h,u){for(var o=0,i=h.length-1;i>=0;i--){var r=h[i];r==="."?h.splice(i,1):r===".."?(h.splice(i,1),o++):o&&(h.splice(i,1),o--)}if(u)for(;o--;o)h.unshift("..");return h}e.resolve=function(){for(var h="",u=!1,o=arguments.length-1;o>=-1&&!u;o--){var i=o>=0?arguments[o]:g.cwd();if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;h=i+"/"+h,u=i.charAt(0)==="/"}return h=f(p(h.split("/"),function(r){return!!r}),!u).join("/"),(u?"/":"")+h||"."},e.normalize=function(h){var u=e.isAbsolute(h),o=v(h,-1)==="/";return h=f(p(h.split("/"),function(i){return!!i}),!u).join("/"),!h&&!u&&(h="."),h&&o&&(h+="/"),(u?"/":"")+h},e.isAbsolute=function(h){return h.charAt(0)==="/"},e.join=function(){var h=Array.prototype.slice.call(arguments,0);return e.normalize(p(h,function(u,o){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},e.relative=function(h,u){h=e.resolve(h).substr(1),u=e.resolve(u).substr(1);function o(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var d=t.length-1;d>=0&&!(t[d]!=="");d--);return s>d?[]:t.slice(s,d-s+1)}for(var i=o(h.split("/")),r=o(u.split("/")),a=Math.min(i.length,r.length),c=a,n=0;n<a;n++)if(i[n]!==r[n]){c=n;break}for(var l=[],n=c;n<i.length;n++)l.push("..");return l=l.concat(r.slice(c)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var u=h.charCodeAt(0),o=u===47,i=-1,r=!0,a=h.length-1;a>=1;--a)if(u=h.charCodeAt(a),u===47){if(!r){i=a;break}}else r=!1;return i===-1?o?"/":".":o&&i===1?"/":h.slice(0,i)};function y(h){typeof h!="string"&&(h=h+"");var u=0,o=-1,i=!0,r;for(r=h.length-1;r>=0;--r)if(h.charCodeAt(r)===47){if(!i){u=r+1;break}}else o===-1&&(i=!1,o=r+1);return o===-1?"":h.slice(u,o)}e.basename=function(h,u){var o=y(h);return u&&o.substr(-1*u.length)===u&&(o=o.substr(0,o.length-u.length)),o},e.extname=function(h){typeof h!="string"&&(h=h+"");for(var u=-1,o=0,i=-1,r=!0,a=0,c=h.length-1;c>=0;--c){var n=h.charCodeAt(c);if(n===47){if(!r){o=c+1;break}continue}i===-1&&(r=!1,i=c+1),n===46?u===-1?u=c:a!==1&&(a=1):u!==-1&&(a=-1)}return u===-1||i===-1||a===0||a===1&&u===i-1&&u===o+1?"":h.slice(u,i)};function p(h,u){if(h.filter)return h.filter(u);for(var o=[],i=0;i<h.length;i++)u(h[i],i,h)&&o.push(h[i]);return o}var v="ab".substr(-1)==="b"?function(h,u,o){return h.substr(u,o)}:function(h,u,o){return u<0&&(u=h.length+u),h.substr(u,o)}}).call(this,D("_process"))},{_process:208}],206:[function(D,I,e){(function(g){/*!
|
|
|
* 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 f={function:!0,object:!0},y=f[typeof window]&&window||this,p=y,v=f[typeof e]&&e,h=f[typeof I]&&I&&!I.nodeType&&I,u=v&&h&&typeof g=="object"&&g;u&&(u.global===u||u.window===u||u.self===u)&&(y=u);var o=Math.pow(2,53)-1,i=/\bOpera/,r=this,a=Object.prototype,c=a.hasOwnProperty,n=a.toString;function l(x){return x=String(x),x.charAt(0).toUpperCase()+x.slice(1)}function t(x,C,_){var N={"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&&_&&/^Win/i.test(x)&&!/^Windows Phone /i.test(x)&&(N=N[/[\d.]+$/.exec(x)])&&(x="Windows "+N),x=String(x),C&&_&&(x=x.replace(RegExp(C,"i"),_)),x=d(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 _=-1,N=x?x.length:0;if(typeof N=="number"&&N>-1&&N<=o)for(;++_<N;)C(x[_],_,x);else m(x,C)}function d(x){return x=S(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:l(x)}function m(x,C){for(var _ in x)c.call(x,_)&&C(x[_],_,x)}function w(x){return x==null?l(x):n.call(x).slice(8,-1)}function b(x,C){var _=x!=null?typeof x[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(_)&&(_=="object"?!!x[C]:!0)}function E(x){return String(x).replace(/([ -])(?!$)/g,"$1?")}function A(x,C){var _=null;return s(x,function(N,F){_=C(_,N,F,x)}),_}function S(x){return String(x).replace(/^ +| +$/g,"")}function T(x){var C=y,_=x&&typeof x=="object"&&w(x)!="String";_&&(C=x,x=null);var N=C.navigator||{},F=N.userAgent||"";x||(x=F);var k=_||r==p,P=_?!!N.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(n.toString()),j="Object",K=_?j:"ScriptBridgingProxyObject",R=_?j:"Environment",B=_&&C.java?"JavaPackage":w(C.java),U=_?j:"RuntimeObject",H=/\bJava/.test(B)&&C.java,W=H&&w(C.environment)==R,V=H?"a":"\u03B1",z=H?"b":"\u03B2",X=C.document||{},q=C.operamini||C.opera,fe=i.test(fe=_&&q?q["[[Class]]"]:w(q))?fe:q=null,G,ve=x,Se=[],ge=null,Pe=x==F,Ge=Pe&&q&&typeof q.version=="function"&&q.version(),pt,Te=ee([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),xe=ke(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),lt=ze([{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"]),Ie=se({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}}),de=Ce(["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 ee(Oe){return A(Oe,function(Ze,vt){return Ze||RegExp("\\b"+(vt.pattern||E(vt))+"\\b","i").exec(x)&&(vt.label||vt)})}function se(Oe){return A(Oe,function(Ze,vt,Ct){return Ze||(vt[lt]||vt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(lt)]||RegExp("\\b"+E(Ct)+"(?:\\b|\\w*\\d)","i").exec(x))&&Ct})}function ke(Oe){return A(Oe,function(Ze,vt){return Ze||RegExp("\\b"+(vt.pattern||E(vt))+"\\b","i").exec(x)&&(vt.label||vt)})}function Ce(Oe){return A(Oe,function(Ze,vt){var Ct=vt.pattern||E(vt);return!Ze&&(Ze=RegExp("\\b"+Ct+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(Ze=t(Ze,Ct,vt.label||vt)),Ze})}function ze(Oe){return A(Oe,function(Ze,vt){var Ct=vt.pattern||E(vt);return!Ze&&(Ze=RegExp("\\b"+Ct+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+Ct+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+Ct+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((Ze=String(vt.label&&!RegExp(Ct,"i").test(vt.label)?vt.label:Ze).split("/"))[1]&&!/[\d.]+/.test(Ze[0])&&(Ze[0]+=" "+Ze[1]),vt=vt.label||vt,Ze=d(Ze[0].replace(RegExp(Ct,"i"),vt).replace(RegExp("; *(?:"+vt+"[_-])?","i")," ").replace(RegExp("("+vt+")[-_.]?(\\w)","i"),"$1 $2"))),Ze})}function _e(Oe){return A(Oe,function(Ze,vt){return Ze||(RegExp(vt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function ae(){return this.description||""}if(Te&&(Te=[Te]),Ie&&!lt&&(lt=ze([Ie])),(G=/\bGoogle TV\b/.exec(lt))&&(lt=G[0]),/\bSimulator\b/i.test(x)&&(lt=(lt?lt+" ":"")+"Simulator"),xe=="Opera Mini"&&/\bOPiOS\b/.test(x)&&Se.push("running in Turbo/Uncompressed mode"),xe=="IE"&&/\blike iPhone OS\b/.test(x)?(G=T(x.replace(/like iPhone OS/,"")),Ie=G.manufacturer,lt=G.product):/^iP/.test(lt)?(xe||(xe="Safari"),de="iOS"+((G=/ OS ([\d_]+)/i.exec(x))?" "+G[1].replace(/_/g,"."):"")):xe=="Konqueror"&&!/buntu/i.test(de)?de="Kubuntu":Ie&&Ie!="Google"&&(/Chrome/.test(xe)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(lt))||/\bAndroid\b/.test(de)&&/^Chrome/.test(xe)&&/\bVersion\//i.test(x)?(xe="Android Browser",de=/\bAndroid\b/.test(de)?de:"Android"):xe=="Silk"?(/\bMobi/i.test(x)||(de="Android",Se.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&Se.unshift("accelerated")):xe=="PaleMoon"&&(G=/\bFirefox\/([\d.]+)\b/.exec(x))?Se.push("identifying as Firefox "+G[1]):xe=="Firefox"&&(G=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(de||(de="Firefox OS"),lt||(lt=G[1])):!xe||(G=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(xe))?(xe&&!lt&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(G+"/")+8))&&(xe=null),(G=lt||Ie||de)&&(lt||Ie||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(de))&&(xe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(de)?de:G)+" Browser")):xe=="Electron"&&(G=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&Se.push("Chromium "+G),Ge||(Ge=_e(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",E(xe),"(?:Firefox|Minefield|NetFront)"])),(G=Te=="iCab"&&parseFloat(Ge)>3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(x)&&(de=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Te=[G]),xe=="IE"&&(G=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(xe+=" Mobile",de="Windows Phone "+(/\+$/.test(G)?G:G+".x"),Se.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(xe="IE Mobile",de="Windows Phone 8.x",Se.unshift("desktop mode"),Ge||(Ge=(/\brv:([\d.]+)/.exec(x)||0)[1])):xe!="IE"&&Te=="Trident"&&(G=/\brv:([\d.]+)/.exec(x))&&(xe&&Se.push("identifying as "+xe+(Ge?" "+Ge:"")),xe="IE",Ge=G[1]),Pe){if(b(C,"global"))if(H&&(G=H.lang.System,ve=G.getProperty("os.arch"),de=de||G.getProperty("os.name")+" "+G.getProperty("os.version")),W){try{Ge=C.require("ringo/engine").version.join("."),xe="RingoJS"}catch(Oe){(G=C.system)&&G.global.system==C.system&&(xe="Narwhal",de||(de=G[0].os||null))}xe||(xe="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(G=C.process)&&(typeof G.versions=="object"&&(typeof G.versions.electron=="string"?(Se.push("Node "+G.versions.node),xe="Electron",Ge=G.versions.electron):typeof G.versions.nw=="string"&&(Se.push("Chromium "+Ge,"Node "+G.versions.node),xe="NW.js",Ge=G.versions.nw)),xe||(xe="Node.js",ve=G.arch,de=G.platform,Ge=/[\d.]+/.exec(G.version),Ge=Ge?Ge[0]:null));else w(G=C.runtime)==K?(xe="Adobe AIR",de=G.flash.system.Capabilities.os):w(G=C.phantom)==U?(xe="PhantomJS",Ge=(G=G.version||null)&&G.major+"."+G.minor+"."+G.patch):typeof X.documentMode=="number"&&(G=/\bTrident\/(\d+)/i.exec(x))?(Ge=[Ge,X.documentMode],(G=+G[1]+4)!=Ge[1]&&(Se.push("IE "+Ge[1]+" mode"),Te&&(Te[1]=""),Ge[1]=G),Ge=xe=="IE"?String(Ge[1].toFixed(1)):Ge[0]):typeof X.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Se.push("masking as "+xe+" "+Ge),xe="IE",Ge="11.0",Te=["Trident"],de="Windows");de=de&&d(de)}if(Ge&&(G=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ge)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Pe&&N.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(ge=/b/i.test(G)?"beta":"alpha",Ge=Ge.replace(RegExp(G+"\\+?$"),"")+(ge=="beta"?z:V)+(/\d+\+?/.exec(G)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(de))xe="Firefox Mobile";else if(xe=="Maxthon"&&Ge)Ge=Ge.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(lt))lt=="Xbox 360"&&(de=null),lt=="Xbox 360"&&/\bIEMobile\b/.test(x)&&Se.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!lt&&!/Browser|Mobi/.test(xe))&&(de=="Windows CE"||/Mobi/i.test(x)))xe+=" Mobile";else if(xe=="IE"&&Pe)try{C.external===null&&Se.unshift("platform preview")}catch(Oe){Se.unshift("embedded")}else(/\bBlackBerry\b/.test(lt)||/\bBB10\b/.test(x))&&(G=(RegExp(lt.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||Ge)?(G=[G,/BB10/.test(x)],de=(G[1]?(lt=null,Ie="BlackBerry"):"Device Software")+" "+G[0],Ge=null):this!=m&<!="Wii"&&(Pe&&q||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(x)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(de)||xe=="IE"&&(de&&!/^Win/.test(de)&&Ge>5.5||/\bWindows XP\b/.test(de)&&Ge>8||Ge==8&&!/\bTrident\b/.test(x)))&&!i.test(G=T.call(m,x.replace(i,"")+";"))&&G.name&&(G="ing as "+G.name+((G=G.version)?" "+G:""),i.test(xe)?(/\bIE\b/.test(G)&&de=="Mac OS"&&(de=null),G="identify"+G):(G="mask"+G,fe?xe=d(fe.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(G)&&(de=null),Pe||(Ge=null)),Te=["Presto"],Se.push(G));(G=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(G=[parseFloat(G.replace(/\.(\d)$/,".0$1")),G],xe=="Safari"&&G[1].slice(-1)=="+"?(xe="WebKit Nightly",ge="alpha",Ge=G[1].slice(0,-1)):(Ge==G[1]||Ge==(G[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(Ge=null),G[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],G[0]==537.36&&G[2]==537.36&&parseFloat(G[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!Pe||!P&&!G[1]?(Te&&(Te[1]="like Safari"),G=(G=G[0],G<400?1:G<500?2:G<526?3:G<533?4:G<534?"4+":G<535?5:G<537?6:G<538?7:G<601?8:"8")):(Te&&(Te[1]="like Chrome"),G=G[1]||(G=G[0],G<530?1:G<532?2:G<532.05?3:G<533?4:G<534.03?5:G<534.07?6:G<534.1?7:G<534.13?8:G<534.16?9:G<534.24?10:G<534.3?11:G<535.01?12:G<535.02?"13+":G<535.07?15:G<535.11?16:G<535.19?17:G<536.05?18:G<536.1?19:G<537.01?20:G<537.11?"21+":G<537.13?23:G<537.18?24:G<537.24?25:G<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(G+=typeof G=="number"?".x":/[.+]/.test(G)?"":"+")),xe=="Safari"&&(!Ge||parseInt(Ge)>45)&&(Ge=G)),xe=="Opera"&&(G=/\bzbov|zvav$/.exec(de))?(xe+=" ",Se.unshift("desktop mode"),G=="zvav"?(xe+="Mini",Ge=null):xe+="Mobile",de=de.replace(RegExp(" *"+G+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])&&(Se.unshift("desktop mode"),xe="Chrome Mobile",Ge=null,/\bOS X\b/.test(de)?(Ie="Apple",de="iOS 4.3+"):de=null),Ge&&Ge.indexOf(G=/[\d.]+$/.exec(de))==0&&x.indexOf("/"+G+"-")>-1&&(de=S(de.replace(G,""))),Te&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(de)&&/\bSafari\b/.test(Te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(xe)&&Te[1])&&((G=Te[Te.length-1])&&Se.push(G)),Se.length&&(Se=["("+Se.join("; ")+")"]),Ie&<&<.indexOf(Ie)<0&&Se.push("on "+Ie),lt&&Se.push((/^on /.test(Se[Se.length-1])?"":"on ")+lt),de&&(G=/ ([\d.+]+)$/.exec(de),pt=G&&de.charAt(de.length-G[0].length-1)=="/",de={architecture:32,family:G&&!pt?de.replace(G[0],""):de,version:G?G[1]:null,toString:function(){var Ze=this.version;return this.family+(Ze&&!pt?" "+Ze:"")+(this.architecture==64?" 64-bit":"")}}),(G=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ve))&&!/\bi686\b/i.test(ve)?(de&&(de.architecture=64,de.family=de.family.replace(RegExp(" *"+G),"")),xe&&(/\bWOW64\b/i.test(x)||Pe&&/\w(?:86|32)$/.test(N.cpuClass||N.platform)&&!/\bWin64; x64\b/i.test(x))&&Se.unshift("32-bit")):de&&/^OS X/.test(de.family)&&xe=="Chrome"&&parseFloat(Ge)>=39&&(de.architecture=64),x||(x=null);var me={};return me.description=x,me.layout=Te&&Te[0],me.manufacturer=Ie,me.name=xe,me.prerelease=ge,me.product=lt,me.ua=x,me.version=xe&&Ge,me.os=de||{architecture:null,family:null,version:null,toString:function(){return"null"}},me.parse=T,me.toString=ae,me.version&&Se.unshift(Ge),me.name&&Se.unshift(xe),de&&xe&&!(de==String(de).split(" ")[0]&&(de==xe.split(" ")[0]||lt))&&Se.push(lt?"("+de+")":"on "+de),Se.length&&(me.description=Se.join(" ")),me}var O=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(y.platform=O,define(function(){return O})):v&&h?m(O,function(x,C){v[C]=x}):y.platform=O}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(D,I,e){(function(g){"use strict";typeof g=="undefined"||!g.version||g.version.indexOf("v0.")===0||g.version.indexOf("v1.")===0&&g.version.indexOf("v1.8.")!==0?I.exports={nextTick:f}:I.exports=g;function f(y,p,v,h){if(typeof y!="function")throw new TypeError('"callback" argument must be a function');var u=arguments.length,o,i;switch(u){case 0:case 1:return g.nextTick(y);case 2:return g.nextTick(function(){y.call(null,p)});case 3:return g.nextTick(function(){y.call(null,p,v)});case 4:return g.nextTick(function(){y.call(null,p,v,h)});default:for(o=new Array(u-1),i=0;i<o.length;)o[i++]=arguments[i];return g.nextTick(function(){y.apply(null,o)})}}}).call(this,D("_process"))},{_process:208}],208:[function(D,I,e){var g=I.exports={},f,y;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"?f=setTimeout:f=p}catch(s){f=p}try{typeof clearTimeout=="function"?y=clearTimeout:y=v}catch(s){y=v}})();function h(s){if(f===setTimeout)return setTimeout(s,0);if((f===p||!f)&&setTimeout)return f=setTimeout,setTimeout(s,0);try{return f(s,0)}catch(d){try{return f.call(null,s,0)}catch(m){return f.call(this,s,0)}}}function u(s){if(y===clearTimeout)return clearTimeout(s);if((y===v||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(s);try{return y(s)}catch(d){try{return y.call(null,s)}catch(m){return y.call(this,s)}}}var o=[],i=!1,r,a=-1;function c(){if(!i||!r)return;i=!1,r.length?o=r.concat(o):a=-1,o.length&&n()}function n(){if(i)return;var s=h(c);i=!0;for(var d=o.length;d;){for(r=o,o=[];++a<d;)r&&r[a].run();a=-1,d=o.length}r=null,i=!1,u(s)}g.nextTick=function(s){var d=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)d[m-1]=arguments[m];o.push(new l(s,d)),o.length===1&&!i&&h(n)};function l(s,d){this.fun=s,this.array=d}l.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function t(){}g.on=t,g.addListener=t,g.once=t,g.off=t,g.removeListener=t,g.removeAllListeners=t,g.emit=t,g.prependListener=t,g.prependOnceListener=t,g.listeners=function(s){return[]},g.binding=function(s){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(s){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},{}],209:[function(D,I,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var y=typeof e=="object"&&e&&!e.nodeType&&e,p=typeof I=="object"&&I&&!I.nodeType&&I,v=typeof g=="object"&&g;(v.global===v||v.window===v||v.self===v)&&(f=v);var h,u=2147483647,o=36,i=1,r=26,a=38,c=700,n=72,l=128,t="-",s=/^xn--/,d=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=o-i,E=Math.floor,A=String.fromCharCode,S;function T(B){throw new RangeError(w[B])}function O(B,U){for(var H=B.length,W=[];H--;)W[H]=U(B[H]);return W}function x(B,U){var H=B.split("@"),W="";H.length>1&&(W=H[0]+"@",B=H[1]),B=B.replace(m,".");var V=B.split("."),z=O(V,U).join(".");return W+z}function C(B){for(var U=[],H=0,W=B.length,V,z;H<W;)V=B.charCodeAt(H++),V>=55296&&V<=56319&&H<W?(z=B.charCodeAt(H++),(z&64512)==56320?U.push(((V&1023)<<10)+(z&1023)+65536):(U.push(V),H--)):U.push(V);return U}function _(B){return O(B,function(U){var H="";return U>65535&&(U-=65536,H+=A(U>>>10&1023|55296),U=56320|U&1023),H+=A(U),H}).join("")}function N(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:o}function F(B,U){return B+22+75*(B<26)-((U!=0)<<5)}function k(B,U,H){var W=0;for(B=H?E(B/c):B>>1,B+=E(B/U);B>b*r>>1;W+=o)B=E(B/b);return E(W+(b+1)*B/(B+a))}function P(B){var U=[],H=B.length,W,V=0,z=l,X=n,q,fe,G,ve,Se,ge,Pe,Ge,pt;for(q=B.lastIndexOf(t),q<0&&(q=0),fe=0;fe<q;++fe)B.charCodeAt(fe)>=128&&T("not-basic"),U.push(B.charCodeAt(fe));for(G=q>0?q+1:0;G<H;){for(ve=V,Se=1,ge=o;!(G>=H&&T("invalid-input"),Pe=N(B.charCodeAt(G++)),(Pe>=o||Pe>E((u-V)/Se))&&T("overflow"),V+=Pe*Se,Ge=ge<=X?i:ge>=X+r?r:ge-X,Pe<Ge);ge+=o)pt=o-Ge,Se>E(u/pt)&&T("overflow"),Se*=pt;W=U.length+1,X=k(V-ve,W,ve==0),E(V/W)>u-z&&T("overflow"),z+=E(V/W),V%=W,U.splice(V++,0,z)}return _(U)}function j(B){var U,H,W,V,z,X,q,fe,G,ve,Se,ge=[],Pe,Ge,pt,Te;for(B=C(B),Pe=B.length,U=l,H=0,z=n,X=0;X<Pe;++X)Se=B[X],Se<128&&ge.push(A(Se));for(W=V=ge.length,V&&ge.push(t);W<Pe;){for(q=u,X=0;X<Pe;++X)Se=B[X],Se>=U&&Se<q&&(q=Se);for(Ge=W+1,q-U>E((u-H)/Ge)&&T("overflow"),H+=(q-U)*Ge,U=q,X=0;X<Pe;++X)if(Se=B[X],Se<U&&++H>u&&T("overflow"),Se==U){for(fe=H,G=o;!(ve=G<=z?i:G>=z+r?r:G-z,fe<ve);G+=o)Te=fe-ve,pt=o-ve,ge.push(A(F(ve+Te%pt,0))),fe=E(Te/pt);ge.push(A(F(fe,0))),z=k(H,Ge,W==V),H=0,++W}++H,++U}return ge.join("")}function K(B){return x(B,function(U){return s.test(U)?P(U.slice(4).toLowerCase()):U})}function R(B){return x(B,function(U){return d.test(U)?"xn--"+j(U):U})}if(h={version:"1.4.1",ucs2:{decode:C,encode:_},decode:P,encode:j,toASCII:R,toUnicode:K},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(y&&p)if(I.exports==y)p.exports=h;else for(S in h)h.hasOwnProperty(S)&&(y[S]=h[S]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(D,I,e){"use strict";function g(y,p){return Object.prototype.hasOwnProperty.call(y,p)}I.exports=function(y,p,v,h){p=p||"&",v=v||"=";var u={};if(typeof y!="string"||y.length===0)return u;var o=/\+/g;y=y.split(p);var i=1e3;h&&typeof h.maxKeys=="number"&&(i=h.maxKeys);var r=y.length;i>0&&r>i&&(r=i);for(var a=0;a<r;++a){var c=y[a].replace(o,"%20"),n=c.indexOf(v),l,t,s,d;n>=0?(l=c.substr(0,n),t=c.substr(n+1)):(l=c,t=""),s=decodeURIComponent(l),d=decodeURIComponent(t),g(u,s)?f(u[s])?u[s].push(d):u[s]=[u[s],d]:u[s]=d}return u};var f=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],211:[function(D,I,e){"use strict";var g=function(h){switch(typeof h){case"string":return h;case"boolean":return h?"true":"false";case"number":return isFinite(h)?h:"";default:return""}};I.exports=function(v,h,u,o){return h=h||"&",u=u||"=",v===null&&(v=void 0),typeof v=="object"?y(p(v),function(i){var r=encodeURIComponent(g(i))+u;return f(v[i])?y(v[i],function(a){return r+encodeURIComponent(g(a))}).join(h):r+encodeURIComponent(g(v[i]))}).join(h):o?encodeURIComponent(g(o))+u+encodeURIComponent(g(v)):""};var f=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function y(v,h){if(v.map)return v.map(h);for(var u=[],o=0;o<v.length;o++)u.push(h(v[o],o));return u}var p=Object.keys||function(v){var h=[];for(var u in v)Object.prototype.hasOwnProperty.call(v,u)&&h.push(u);return h}},{}],212:[function(D,I,e){"use strict";e.decode=e.parse=D("./decode"),e.encode=e.stringify=D("./encode")},{"./decode":210,"./encode":211}],213:[function(D,I,e){I.exports=D("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=v(g),y=D("babel-runtime/core-js/object/keys"),p=v(y);function v(d){return d&&d.__esModule?d:{default:d}}var h=D("process-nextick-args"),u=p.default||function(d){var m=[];for(var w in d)m.push(w);return m};I.exports=l;var o=(0,f.default)(D("core-util-is"));o.inherits=D("inherits");var i=D("./_stream_readable"),r=D("./_stream_writable");o.inherits(l,i);for(var a=u(r.prototype),c=0;c<a.length;c++){var n=a[c];l.prototype[n]||(l.prototype[n]=r.prototype[n])}function l(d){if(!(this instanceof l))return new l(d);i.call(this,d),r.call(this,d),d&&d.readable===!1&&(this.readable=!1),d&&d.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,d&&d.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;h.nextTick(s,this)}function s(d){d.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(m){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=m,this._writableState.destroyed=m}}),l.prototype._destroy=function(d,m){this.push(null),this.end(),h.nextTick(m,d)}},{"./_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(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(u){return u&&u.__esModule?u:{default:u}}I.exports=h;var p=D("./_stream_transform"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(h,p);function h(u){if(!(this instanceof h))return new h(u);p.call(this,u)}h.prototype._transform=function(u,o,i){i(null,u)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(D,I,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/get-prototype-of"),p=u(y),v=D("babel-runtime/core-js/object/create"),h=u(v);function u(Te){return Te&&Te.__esModule?Te:{default:Te}}var o=D("process-nextick-args");I.exports=C;var i=D("isarray"),r;C.ReadableState=x;var a=D("events").EventEmitter,c=function(xe,lt){return xe.listeners(lt).length},n=D("./internal/streams/stream"),l=D("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(Te){return l.from(Te)}function d(Te){return l.isBuffer(Te)||Te instanceof t}var m=(0,h.default)(D("core-util-is"));m.inherits=D("inherits");var w=D("util"),b=void 0;w&&w.debuglog?b=w.debuglog("stream"):b=function(){};var E=D("./internal/streams/BufferList"),A=D("./internal/streams/destroy"),S;m.inherits(C,n);var T=["error","close","destroy","pause","resume"];function O(Te,xe,lt){if(typeof Te.prependListener=="function")return Te.prependListener(xe,lt);!Te._events||!Te._events[xe]?Te.on(xe,lt):i(Te._events[xe])?Te._events[xe].unshift(lt):Te._events[xe]=[lt,Te._events[xe]]}function x(Te,xe){r=r||D("./_stream_duplex"),Te=Te||{};var lt=xe instanceof r;this.objectMode=!!Te.objectMode,lt&&(this.objectMode=this.objectMode||!!Te.readableObjectMode);var Ie=Te.highWaterMark,de=Te.readableHighWaterMark,ee=this.objectMode?16:16*1024;Ie||Ie===0?this.highWaterMark=Ie:lt&&(de||de===0)?this.highWaterMark=de:this.highWaterMark=ee,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new E,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=Te.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Te.encoding&&(S||(S=D("string_decoder/").StringDecoder),this.decoder=new S(Te.encoding),this.encoding=Te.encoding)}function C(Te){if(r=r||D("./_stream_duplex"),!(this instanceof C))return new C(Te);this._readableState=new x(Te,this),this.readable=!0,Te&&(typeof Te.read=="function"&&(this._read=Te.read),typeof Te.destroy=="function"&&(this._destroy=Te.destroy)),n.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(xe){if(!this._readableState)return;this._readableState.destroyed=xe}}),C.prototype.destroy=A.destroy,C.prototype._undestroy=A.undestroy,C.prototype._destroy=function(Te,xe){this.push(null),xe(Te)},C.prototype.push=function(Te,xe){var lt=this._readableState,Ie;return lt.objectMode?Ie=!0:typeof Te=="string"&&(xe=xe||lt.defaultEncoding,xe!==lt.encoding&&(Te=l.from(Te,xe),xe=""),Ie=!0),_(this,Te,xe,!1,Ie)},C.prototype.unshift=function(Te){return _(this,Te,null,!0,!1)};function _(Te,xe,lt,Ie,de){var ee=Te._readableState;if(xe===null)ee.reading=!1,R(Te,ee);else{var se;de||(se=F(ee,xe)),se?Te.emit("error",se):ee.objectMode||xe&&xe.length>0?(typeof xe!="string"&&!ee.objectMode&&(0,p.default)(xe)!==l.prototype&&(xe=s(xe)),Ie?ee.endEmitted?Te.emit("error",new Error("stream.unshift() after end event")):N(Te,ee,xe,!0):ee.ended?Te.emit("error",new Error("stream.push() after EOF")):(ee.reading=!1,ee.decoder&&!lt?(xe=ee.decoder.write(xe),ee.objectMode||xe.length!==0?N(Te,ee,xe,!1):H(Te,ee)):N(Te,ee,xe,!1))):Ie||(ee.reading=!1)}return k(ee)}function N(Te,xe,lt,Ie){xe.flowing&&xe.length===0&&!xe.sync?(Te.emit("data",lt),Te.read(0)):(xe.length+=xe.objectMode?1:lt.length,Ie?xe.buffer.unshift(lt):xe.buffer.push(lt),xe.needReadable&&B(Te)),H(Te,xe)}function F(Te,xe){var lt;return!d(xe)&&typeof xe!="string"&&xe!==void 0&&!Te.objectMode&&(lt=new TypeError("Invalid non-string/buffer chunk")),lt}function k(Te){return!Te.ended&&(Te.needReadable||Te.length<Te.highWaterMark||Te.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(Te){return S||(S=D("string_decoder/").StringDecoder),this._readableState.decoder=new S(Te),this._readableState.encoding=Te,this};var P=8388608;function j(Te){return Te>=P?Te=P:(Te--,Te|=Te>>>1,Te|=Te>>>2,Te|=Te>>>4,Te|=Te>>>8,Te|=Te>>>16,Te++),Te}function K(Te,xe){return Te<=0||xe.length===0&&xe.ended?0:xe.objectMode?1:Te!==Te?xe.flowing&&xe.length?xe.buffer.head.data.length:xe.length:(Te>xe.highWaterMark&&(xe.highWaterMark=j(Te)),Te<=xe.length?Te:xe.ended?xe.length:(xe.needReadable=!0,0))}C.prototype.read=function(Te){b("read",Te),Te=parseInt(Te,10);var xe=this._readableState,lt=Te;if(Te!==0&&(xe.emittedReadable=!1),Te===0&&xe.needReadable&&(xe.length>=xe.highWaterMark||xe.ended))return b("read: emitReadable",xe.length,xe.ended),xe.length===0&&xe.ended?Pe(this):B(this),null;if(Te=K(Te,xe),Te===0&&xe.ended)return xe.length===0&&Pe(this),null;var Ie=xe.needReadable;b("need readable",Ie),(xe.length===0||xe.length-Te<xe.highWaterMark)&&(Ie=!0,b("length less than watermark",Ie)),xe.ended||xe.reading?(Ie=!1,b("reading or ended",Ie)):Ie&&(b("do read"),xe.reading=!0,xe.sync=!0,xe.length===0&&(xe.needReadable=!0),this._read(xe.highWaterMark),xe.sync=!1,xe.reading||(Te=K(lt,xe)));var de;return Te>0?de=G(Te,xe):de=null,de===null?(xe.needReadable=!0,Te=0):xe.length-=Te,xe.length===0&&(xe.ended||(xe.needReadable=!0),lt!==Te&&xe.ended&&Pe(this)),de!==null&&this.emit("data",de),de};function R(Te,xe){if(xe.ended)return;if(xe.decoder){var lt=xe.decoder.end();lt&<.length&&(xe.buffer.push(lt),xe.length+=xe.objectMode?1:lt.length)}xe.ended=!0,B(Te)}function B(Te){var xe=Te._readableState;xe.needReadable=!1,xe.emittedReadable||(b("emitReadable",xe.flowing),xe.emittedReadable=!0,xe.sync?o.nextTick(U,Te):U(Te))}function U(Te){b("emit readable"),Te.emit("readable"),fe(Te)}function H(Te,xe){xe.readingMore||(xe.readingMore=!0,o.nextTick(W,Te,xe))}function W(Te,xe){for(var lt=xe.length;!xe.reading&&!xe.flowing&&!xe.ended&&xe.length<xe.highWaterMark&&!(b("maybeReadMore read 0"),Te.read(0),lt===xe.length);)lt=xe.length;xe.readingMore=!1}C.prototype._read=function(Te){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(Te,xe){var lt=this,Ie=this._readableState;switch(Ie.pipesCount){case 0:Ie.pipes=Te;break;case 1:Ie.pipes=[Ie.pipes,Te];break;default:Ie.pipes.push(Te);break}Ie.pipesCount+=1,b("pipe count=%d opts=%j",Ie.pipesCount,xe);var de=(!xe||xe.end!==!1)&&Te!==g.stdout&&Te!==g.stderr,ee=de?ke:Ct;Ie.endEmitted?o.nextTick(ee):lt.once("end",ee),Te.on("unpipe",se);function se(Be,Rt){b("onunpipe"),Be===lt&&(Rt&&Rt.hasUnpiped===!1&&(Rt.hasUnpiped=!0,_e()))}function ke(){b("onend"),Te.end()}var Ce=V(lt);Te.on("drain",Ce);var ze=!1;function _e(){b("cleanup"),Te.removeListener("close",Ze),Te.removeListener("finish",vt),Te.removeListener("drain",Ce),Te.removeListener("error",Oe),Te.removeListener("unpipe",se),lt.removeListener("end",ke),lt.removeListener("end",Ct),lt.removeListener("data",me),ze=!0,Ie.awaitDrain&&(!Te._writableState||Te._writableState.needDrain)&&Ce()}var ae=!1;lt.on("data",me);function me(Be){b("ondata"),ae=!1;var Rt=Te.write(Be);Rt===!1&&!ae&&((Ie.pipesCount===1&&Ie.pipes===Te||Ie.pipesCount>1&&pt(Ie.pipes,Te)!==-1)&&!ze&&(b("false write response, pause",lt._readableState.awaitDrain),lt._readableState.awaitDrain++,ae=!0),lt.pause())}function Oe(Be){b("onerror",Be),Ct(),Te.removeListener("error",Oe),c(Te,"error")===0&&Te.emit("error",Be)}O(Te,"error",Oe);function Ze(){Te.removeListener("finish",vt),Ct()}Te.once("close",Ze);function vt(){b("onfinish"),Te.removeListener("close",Ze),Ct()}Te.once("finish",vt);function Ct(){b("unpipe"),lt.unpipe(Te)}return Te.emit("pipe",lt),Ie.flowing||(b("pipe resume"),lt.resume()),Te};function V(Te){return function(){var xe=Te._readableState;b("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&c(Te,"data")&&(xe.flowing=!0,fe(Te))}}C.prototype.unpipe=function(Te){var xe=this._readableState,lt={hasUnpiped:!1};if(xe.pipesCount===0)return this;if(xe.pipesCount===1)return Te&&Te!==xe.pipes?this:(Te||(Te=xe.pipes),xe.pipes=null,xe.pipesCount=0,xe.flowing=!1,Te&&Te.emit("unpipe",this,lt),this);if(!Te){var Ie=xe.pipes,de=xe.pipesCount;xe.pipes=null,xe.pipesCount=0,xe.flowing=!1;for(var ee=0;ee<de;ee++)Ie[ee].emit("unpipe",this,lt);return this}var se=pt(xe.pipes,Te);return se===-1?this:(xe.pipes.splice(se,1),xe.pipesCount-=1,xe.pipesCount===1&&(xe.pipes=xe.pipes[0]),Te.emit("unpipe",this,lt),this)},C.prototype.on=function(Te,xe){var lt=n.prototype.on.call(this,Te,xe);if(Te==="data")this._readableState.flowing!==!1&&this.resume();else if(Te==="readable"){var Ie=this._readableState;!Ie.endEmitted&&!Ie.readableListening&&(Ie.readableListening=Ie.needReadable=!0,Ie.emittedReadable=!1,Ie.reading?Ie.length&&B(this):o.nextTick(z,this))}return lt},C.prototype.addListener=C.prototype.on;function z(Te){b("readable nexttick read 0"),Te.read(0)}C.prototype.resume=function(){var Te=this._readableState;return Te.flowing||(b("resume"),Te.flowing=!0,X(this,Te)),this};function X(Te,xe){xe.resumeScheduled||(xe.resumeScheduled=!0,o.nextTick(q,Te,xe))}function q(Te,xe){xe.reading||(b("resume read 0"),Te.read(0)),xe.resumeScheduled=!1,xe.awaitDrain=0,Te.emit("resume"),fe(Te),xe.flowing&&!xe.reading&&Te.read(0)}C.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function fe(Te){var xe=Te._readableState;for(b("flow",xe.flowing);xe.flowing&&Te.read()!==null;);}C.prototype.wrap=function(Te){var xe=this,lt=this._readableState,Ie=!1;Te.on("end",function(){if(b("wrapped end"),lt.decoder&&!lt.ended){var se=lt.decoder.end();se&&se.length&&xe.push(se)}xe.push(null)}),Te.on("data",function(se){if(b("wrapped data"),lt.decoder&&(se=lt.decoder.write(se)),lt.objectMode&&se==null)return;if(!lt.objectMode&&(!se||!se.length))return;var ke=xe.push(se);ke||(Ie=!0,Te.pause())});for(var de in Te)this[de]===void 0&&typeof Te[de]=="function"&&(this[de]=function(se){return function(){return Te[se].apply(Te,arguments)}}(de));for(var ee=0;ee<T.length;ee++)Te.on(T[ee],this.emit.bind(this,T[ee]));return this._read=function(se){b("wrapped _read",se),Ie&&(Ie=!1,Te.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=G;function G(Te,xe){if(xe.length===0)return null;var lt;return xe.objectMode?lt=xe.buffer.shift():!Te||Te>=xe.length?(xe.decoder?lt=xe.buffer.join(""):xe.buffer.length===1?lt=xe.buffer.head.data:lt=xe.buffer.concat(xe.length),xe.buffer.clear()):lt=ve(Te,xe.buffer,xe.decoder),lt}function ve(Te,xe,lt){var Ie;return Te<xe.head.data.length?(Ie=xe.head.data.slice(0,Te),xe.head.data=xe.head.data.slice(Te)):Te===xe.head.data.length?Ie=xe.shift():Ie=lt?Se(Te,xe):ge(Te,xe),Ie}function Se(Te,xe){var lt=xe.head,Ie=1,de=lt.data;for(Te-=de.length;lt=lt.next;){var ee=lt.data,se=Te>ee.length?ee.length:Te;if(se===ee.length?de+=ee:de+=ee.slice(0,Te),Te-=se,Te===0){se===ee.length?(++Ie,lt.next?xe.head=lt.next:xe.head=xe.tail=null):(xe.head=lt,lt.data=ee.slice(se));break}++Ie}return xe.length-=Ie,de}function ge(Te,xe){var lt=l.allocUnsafe(Te),Ie=xe.head,de=1;for(Ie.data.copy(lt),Te-=Ie.data.length;Ie=Ie.next;){var ee=Ie.data,se=Te>ee.length?ee.length:Te;if(ee.copy(lt,lt.length-Te,0,se),Te-=se,Te===0){se===ee.length?(++de,Ie.next?xe.head=Ie.next:xe.head=xe.tail=null):(xe.head=Ie,Ie.data=ee.slice(se));break}++de}return xe.length-=de,lt}function Pe(Te){var xe=Te._readableState;if(xe.length>0)throw new Error('"endReadable()" called on non-empty stream');xe.endEmitted||(xe.ended=!0,o.nextTick(Ge,xe,Te))}function Ge(Te,xe){!Te.endEmitted&&Te.length===0&&(Te.endEmitted=!0,xe.readable=!1,xe.emit("end"))}function pt(Te,xe){for(var lt=0,Ie=Te.length;lt<Ie;lt++)if(Te[lt]===xe)return lt;return-1}}).call(this,D("_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(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}I.exports=u;var p=D("./_stream_duplex"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(u,p);function h(r,a){var c=this._transformState;c.transforming=!1;var n=c.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,a!=null&&this.push(a),n(r);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function u(r){if(!(this instanceof u))return new u(r);p.call(this,r),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",o)}function o(){var r=this;typeof this._flush=="function"?this._flush(function(a,c){i(r,a,c)}):i(this,null,null)}u.prototype.push=function(r,a){return this._transformState.needTransform=!1,p.prototype.push.call(this,r,a)},u.prototype._transform=function(r,a,c){throw new Error("_transform() is not implemented")},u.prototype._write=function(r,a,c){var n=this._transformState;if(n.writecb=c,n.writechunk=r,n.writeencoding=a,!n.transforming){var l=this._readableState;(n.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},u.prototype._read=function(r){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},u.prototype._destroy=function(r,a){var c=this;p.prototype._destroy.call(this,r,function(n){a(n),c.emit("close")})};function i(r,a,c){if(a)return r.emit("error",a);if(c!=null&&r.push(c),r._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(r._transformState.transforming)throw new Error("Calling transform done when still transforming");return r.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(D,I,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/define-property"),p=n(y),v=D("babel-runtime/core-js/symbol/has-instance"),h=n(v),u=D("babel-runtime/core-js/symbol"),o=n(u),i=D("babel-runtime/core-js/object/create"),r=n(i),a=D("babel-runtime/core-js/set-immediate"),c=n(a);function n(ge){return ge&&ge.__esModule?ge:{default:ge}}var l=D("process-nextick-args");I.exports=F;function t(ge,Pe,Ge){this.chunk=ge,this.encoding=Pe,this.callback=Ge,this.next=null}function s(ge){var Pe=this;this.next=null,this.entry=null,this.finish=function(){Se(Pe,ge)}}var d=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?c.default:l.nextTick,m;F.WritableState=_;var w=(0,r.default)(D("core-util-is"));w.inherits=D("inherits");var b={deprecate:D("util-deprecate")},E=D("./internal/streams/stream"),A=D("safe-buffer").Buffer,S=f.Uint8Array||function(){};function T(ge){return A.from(ge)}function O(ge){return A.isBuffer(ge)||ge instanceof S}var x=D("./internal/streams/destroy");w.inherits(F,E);function C(){}function _(ge,Pe){m=m||D("./_stream_duplex"),ge=ge||{};var Ge=Pe instanceof m;this.objectMode=!!ge.objectMode,Ge&&(this.objectMode=this.objectMode||!!ge.writableObjectMode);var pt=ge.highWaterMark,Te=ge.writableHighWaterMark,xe=this.objectMode?16:16*1024;pt||pt===0?this.highWaterMark=pt:Ge&&(Te||Te===0)?this.highWaterMark=Te:this.highWaterMark=xe,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 lt=ge.decodeStrings===!1;this.decodeStrings=!lt,this.defaultEncoding=ge.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ie){H(Pe,Ie)},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)}_.prototype.getBuffer=function(){for(var Pe=this.bufferedRequest,Ge=[];Pe;)Ge.push(Pe),Pe=Pe.next;return Ge},function(){try{Object.defineProperty(_.prototype,"buffer",{get:b.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ge){}}();var N;typeof o.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(N=Function.prototype[h.default],(0,p.default)(F,h.default,{value:function(Pe){return N.call(this,Pe)?!0:this!==F?!1:Pe&&Pe._writableState instanceof _}})):N=function(Pe){return Pe instanceof this};function F(ge){if(m=m||D("./_stream_duplex"),!N.call(F,this)&&!(this instanceof m))return new F(ge);this._writableState=new _(ge,this),this.writable=!0,ge&&(typeof ge.write=="function"&&(this._write=ge.write),typeof ge.writev=="function"&&(this._writev=ge.writev),typeof ge.destroy=="function"&&(this._destroy=ge.destroy),typeof ge.final=="function"&&(this._final=ge.final)),E.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(ge,Pe){var Ge=new Error("write after end");ge.emit("error",Ge),l.nextTick(Pe,Ge)}function P(ge,Pe,Ge,pt){var Te=!0,xe=!1;return Ge===null?xe=new TypeError("May not write null values to stream"):typeof Ge!="string"&&Ge!==void 0&&!Pe.objectMode&&(xe=new TypeError("Invalid non-string/buffer chunk")),xe&&(ge.emit("error",xe),l.nextTick(pt,xe),Te=!1),Te}F.prototype.write=function(ge,Pe,Ge){var pt=this._writableState,Te=!1,xe=!pt.objectMode&&O(ge);return xe&&!A.isBuffer(ge)&&(ge=T(ge)),typeof Pe=="function"&&(Ge=Pe,Pe=null),xe?Pe="buffer":Pe||(Pe=pt.defaultEncoding),typeof Ge!="function"&&(Ge=C),pt.ended?k(this,Ge):(xe||P(this,pt,ge,Ge))&&(pt.pendingcb++,Te=K(this,pt,xe,ge,Pe,Ge)),Te},F.prototype.cork=function(){var ge=this._writableState;ge.corked++},F.prototype.uncork=function(){var ge=this._writableState;ge.corked&&(ge.corked--,!ge.writing&&!ge.corked&&!ge.finished&&!ge.bufferProcessing&&ge.bufferedRequest&&z(this,ge))},F.prototype.setDefaultEncoding=function(Pe){if(typeof Pe=="string"&&(Pe=Pe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Pe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Pe);return this._writableState.defaultEncoding=Pe,this};function j(ge,Pe,Ge){return!ge.objectMode&&ge.decodeStrings!==!1&&typeof Pe=="string"&&(Pe=A.from(Pe,Ge)),Pe}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K(ge,Pe,Ge,pt,Te,xe){if(!Ge){var lt=j(Pe,pt,Te);pt!==lt&&(Ge=!0,Te="buffer",pt=lt)}var Ie=Pe.objectMode?1:pt.length;Pe.length+=Ie;var de=Pe.length<Pe.highWaterMark;if(de||(Pe.needDrain=!0),Pe.writing||Pe.corked){var ee=Pe.lastBufferedRequest;Pe.lastBufferedRequest={chunk:pt,encoding:Te,isBuf:Ge,callback:xe,next:null},ee?ee.next=Pe.lastBufferedRequest:Pe.bufferedRequest=Pe.lastBufferedRequest,Pe.bufferedRequestCount+=1}else R(ge,Pe,!1,Ie,pt,Te,xe);return de}function R(ge,Pe,Ge,pt,Te,xe,lt){Pe.writelen=pt,Pe.writecb=lt,Pe.writing=!0,Pe.sync=!0,Ge?ge._writev(Te,Pe.onwrite):ge._write(Te,xe,Pe.onwrite),Pe.sync=!1}function B(ge,Pe,Ge,pt,Te){--Pe.pendingcb,Ge?(l.nextTick(Te,pt),l.nextTick(G,ge,Pe),ge._writableState.errorEmitted=!0,ge.emit("error",pt)):(Te(pt),ge._writableState.errorEmitted=!0,ge.emit("error",pt),G(ge,Pe))}function U(ge){ge.writing=!1,ge.writecb=null,ge.length-=ge.writelen,ge.writelen=0}function H(ge,Pe){var Ge=ge._writableState,pt=Ge.sync,Te=Ge.writecb;if(U(Ge),Pe)B(ge,Ge,pt,Pe,Te);else{var xe=X(Ge);!xe&&!Ge.corked&&!Ge.bufferProcessing&&Ge.bufferedRequest&&z(ge,Ge),pt?d(W,ge,Ge,xe,Te):W(ge,Ge,xe,Te)}}function W(ge,Pe,Ge,pt){Ge||V(ge,Pe),Pe.pendingcb--,pt(),G(ge,Pe)}function V(ge,Pe){Pe.length===0&&Pe.needDrain&&(Pe.needDrain=!1,ge.emit("drain"))}function z(ge,Pe){Pe.bufferProcessing=!0;var Ge=Pe.bufferedRequest;if(ge._writev&&Ge&&Ge.next){var pt=Pe.bufferedRequestCount,Te=new Array(pt),xe=Pe.corkedRequestsFree;xe.entry=Ge;for(var lt=0,Ie=!0;Ge;)Te[lt]=Ge,Ge.isBuf||(Ie=!1),Ge=Ge.next,lt+=1;Te.allBuffers=Ie,R(ge,Pe,!0,Pe.length,Te,"",xe.finish),Pe.pendingcb++,Pe.lastBufferedRequest=null,xe.next?(Pe.corkedRequestsFree=xe.next,xe.next=null):Pe.corkedRequestsFree=new s(Pe),Pe.bufferedRequestCount=0}else{for(;Ge;){var de=Ge.chunk,ee=Ge.encoding,se=Ge.callback,ke=Pe.objectMode?1:de.length;if(R(ge,Pe,!1,ke,de,ee,se),Ge=Ge.next,Pe.bufferedRequestCount--,Pe.writing)break}Ge===null&&(Pe.lastBufferedRequest=null)}Pe.bufferedRequest=Ge,Pe.bufferProcessing=!1}F.prototype._write=function(ge,Pe,Ge){Ge(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(ge,Pe,Ge){var pt=this._writableState;typeof ge=="function"?(Ge=ge,ge=null,Pe=null):typeof Pe=="function"&&(Ge=Pe,Pe=null),ge!=null&&this.write(ge,Pe),pt.corked&&(pt.corked=1,this.uncork()),!pt.ending&&!pt.finished&&ve(this,pt,Ge)};function X(ge){return ge.ending&&ge.length===0&&ge.bufferedRequest===null&&!ge.finished&&!ge.writing}function q(ge,Pe){ge._final(function(Ge){Pe.pendingcb--,Ge&&ge.emit("error",Ge),Pe.prefinished=!0,ge.emit("prefinish"),G(ge,Pe)})}function fe(ge,Pe){!Pe.prefinished&&!Pe.finalCalled&&(typeof ge._final=="function"?(Pe.pendingcb++,Pe.finalCalled=!0,l.nextTick(q,ge,Pe)):(Pe.prefinished=!0,ge.emit("prefinish")))}function G(ge,Pe){var Ge=X(Pe);return Ge&&(fe(ge,Pe),Pe.pendingcb===0&&(Pe.finished=!0,ge.emit("finish"))),Ge}function ve(ge,Pe,Ge){Pe.ending=!0,G(ge,Pe),Ge&&(Pe.finished?l.nextTick(Ge):ge.once("finish",Ge)),Pe.ended=!0,ge.writable=!1}function Se(ge,Pe,Ge){var pt=ge.entry;for(ge.entry=null;pt;){var Te=pt.callback;Pe.pendingcb--,Te(Ge),pt=pt.next}Pe.corkedRequestsFree?Pe.corkedRequestsFree.next=ge:Pe.corkedRequestsFree=ge}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Pe){if(!this._writableState)return;this._writableState.destroyed=Pe}}),F.prototype.destroy=x.destroy,F.prototype._undestroy=x.undestroy,F.prototype._destroy=function(ge,Pe){this.end(),Pe(ge)}}).call(this,D("_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(D,I,e){"use strict";function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}var f=D("safe-buffer").Buffer,y=D("util");function p(v,h,u){v.copy(h,u)}I.exports=function(){function v(){g(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(u){var o={data:u,next:null};this.length>0?this.tail.next=o:this.head=o,this.tail=o,++this.length},v.prototype.unshift=function(u){var o={data:u,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},v.prototype.shift=function(){if(this.length===0)return;var u=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,u},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(u){if(this.length===0)return"";for(var o=this.head,i=""+o.data;o=o.next;)i+=u+o.data;return i},v.prototype.concat=function(u){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var o=f.allocUnsafe(u>>>0),i=this.head,r=0;i;)p(i.data,o,r),r+=i.data.length,i=i.next;return o},v}(),y&&y.inspect&&y.inspect.custom&&(I.exports.prototype[y.inspect.custom]=function(){var v=y.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(D,I,e){"use strict";var g=D("process-nextick-args");function f(v,h){var u=this,o=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return o||i?(h?h(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&g.nextTick(p,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(r){!h&&r?(g.nextTick(p,u,r),u._writableState&&(u._writableState.errorEmitted=!0)):h&&h(r)}),this)}function y(){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,h){v.emit("error",h)}I.exports={destroy:f,undestroy:y}},{"process-nextick-args":207}],221:[function(D,I,e){"use strict";I.exports=D("events").EventEmitter},{events:192}],222:[function(D,I,e){I.exports=D("./readable").PassThrough},{"./readable":223}],223:[function(D,I,e){e=I.exports=D("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=D("./lib/_stream_writable.js"),e.Duplex=D("./lib/_stream_duplex.js"),e.Transform=D("./lib/_stream_transform.js"),e.PassThrough=D("./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(D,I,e){I.exports=D("./readable").Transform},{"./readable":223}],225:[function(D,I,e){I.exports=D("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(D,I,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,y=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,I.exports=D("./runtime"),f)g.regeneratorRuntime=y;else try{delete g.regeneratorRuntime}catch(p){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(D,I,e){!function(g){"use strict";var f=Object.prototype,y=f.hasOwnProperty,p,v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",u=v.asyncIterator||"@@asyncIterator",o=v.toStringTag||"@@toStringTag",i=typeof I=="object",r=g.regeneratorRuntime;if(r){i&&(I.exports=r);return}r=g.regeneratorRuntime=i?I.exports:{};function a(K,R,B,U){var H=R&&R.prototype instanceof m?R:m,W=Object.create(H.prototype),V=new k(U||[]);return W._invoke=C(K,B,V),W}r.wrap=a;function c(K,R,B){try{return{type:"normal",arg:K.call(R,B)}}catch(U){return{type:"throw",arg:U}}}var n="suspendedStart",l="suspendedYield",t="executing",s="completed",d={};function m(){}function w(){}function b(){}var E={};E[h]=function(){return this};var A=Object.getPrototypeOf,S=A&&A(A(P([])));S&&S!==f&&y.call(S,h)&&(E=S);var T=b.prototype=m.prototype=Object.create(E);w.prototype=T.constructor=b,b.constructor=w,b[o]=w.displayName="GeneratorFunction";function O(K){["next","throw","return"].forEach(function(R){K[R]=function(B){return this._invoke(R,B)}})}r.isGeneratorFunction=function(K){var R=typeof K=="function"&&K.constructor;return R?R===w||(R.displayName||R.name)==="GeneratorFunction":!1},r.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,b):(K.__proto__=b,o in K||(K[o]="GeneratorFunction")),K.prototype=Object.create(T),K},r.awrap=function(K){return{__await:K}};function x(K){function R(H,W,V,z){var X=c(K[H],K,W);if(X.type==="throw")z(X.arg);else{var q=X.arg,fe=q.value;return fe&&typeof fe=="object"&&y.call(fe,"__await")?Promise.resolve(fe.__await).then(function(G){R("next",G,V,z)},function(G){R("throw",G,V,z)}):Promise.resolve(fe).then(function(G){q.value=G,V(q)},z)}}var B;function U(H,W){function V(){return new Promise(function(z,X){R(H,W,z,X)})}return B=B?B.then(V,V):V()}this._invoke=U}O(x.prototype),x.prototype[u]=function(){return this},r.AsyncIterator=x,r.async=function(K,R,B,U){var H=new x(a(K,R,B,U));return r.isGeneratorFunction(R)?H:H.next().then(function(W){return W.done?W.value:H.next()})};function C(K,R,B){var U=n;return function(W,V){if(U===t)throw new Error("Generator is already running");if(U===s){if(W==="throw")throw V;return j()}for(B.method=W,B.arg=V;;){var z=B.delegate;if(z){var X=_(z,B);if(X){if(X===d)continue;return X}}if(B.method==="next")B.sent=B._sent=B.arg;else if(B.method==="throw"){if(U===n)throw U=s,B.arg;B.dispatchException(B.arg)}else B.method==="return"&&B.abrupt("return",B.arg);U=t;var q=c(K,R,B);if(q.type==="normal"){if(U=B.done?s:l,q.arg===d)continue;return{value:q.arg,done:B.done}}else q.type==="throw"&&(U=s,B.method="throw",B.arg=q.arg)}}}function _(K,R){var B=K.iterator[R.method];if(B===p){if(R.delegate=null,R.method==="throw"){if(K.iterator.return&&(R.method="return",R.arg=p,_(K,R),R.method==="throw"))return d;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var U=c(B,K.iterator,R.arg);if(U.type==="throw")return R.method="throw",R.arg=U.arg,R.delegate=null,d;var H=U.arg;if(!H)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,d;if(H.done)R[K.resultName]=H.value,R.next=K.nextLoc,R.method!=="return"&&(R.method="next",R.arg=p);else return H;return R.delegate=null,d}O(T),T[o]="Generator",T[h]=function(){return this},T.toString=function(){return"[object Generator]"};function N(K){var R={tryLoc:K[0]};1 in K&&(R.catchLoc=K[1]),2 in K&&(R.finallyLoc=K[2],R.afterLoc=K[3]),this.tryEntries.push(R)}function F(K){var R=K.completion||{};R.type="normal",delete R.arg,K.completion=R}function k(K){this.tryEntries=[{tryLoc:"root"}],K.forEach(N,this),this.reset(!0)}r.keys=function(K){var R=[];for(var B in K)R.push(B);return R.reverse(),function U(){for(;R.length;){var H=R.pop();if(H in K)return U.value=H,U.done=!1,U}return U.done=!0,U}};function P(K){if(K){var R=K[h];if(R)return R.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var B=-1,U=function H(){for(;++B<K.length;)if(y.call(K,B))return H.value=K[B],H.done=!1,H;return H.value=p,H.done=!0,H};return U.next=U}}return{next:j}}r.values=P;function j(){return{value:p,done:!0}}k.prototype={constructor:k,reset:function(R){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(F),!R)for(var B in this)B.charAt(0)==="t"&&y.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=p)},stop:function(){this.done=!0;var R=this.tryEntries[0],B=R.completion;if(B.type==="throw")throw B.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var B=this;function U(q,fe){return V.type="throw",V.arg=R,B.next=q,fe&&(B.method="next",B.arg=p),!!fe}for(var H=this.tryEntries.length-1;H>=0;--H){var W=this.tryEntries[H],V=W.completion;if(W.tryLoc==="root")return U("end");if(W.tryLoc<=this.prev){var z=y.call(W,"catchLoc"),X=y.call(W,"finallyLoc");if(z&&X){if(this.prev<W.catchLoc)return U(W.catchLoc,!0);if(this.prev<W.finallyLoc)return U(W.finallyLoc)}else if(z){if(this.prev<W.catchLoc)return U(W.catchLoc,!0)}else if(X){if(this.prev<W.finallyLoc)return U(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,B){for(var U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U];if(H.tryLoc<=this.prev&&y.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var W=H;break}}W&&(R==="break"||R==="continue")&&W.tryLoc<=B&&B<=W.finallyLoc&&(W=null);var V=W?W.completion:{};return V.type=R,V.arg=B,W?(this.method="next",this.next=W.finallyLoc,d):this.complete(V)},complete:function(R,B){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&B&&(this.next=B),d},finish:function(R){for(var B=this.tryEntries.length-1;B>=0;--B){var U=this.tryEntries[B];if(U.finallyLoc===R)return this.complete(U.completion,U.afterLoc),F(U),d}},catch:function(R){for(var B=this.tryEntries.length-1;B>=0;--B){var U=this.tryEntries[B];if(U.tryLoc===R){var H=U.completion;if(H.type==="throw"){var W=H.arg;F(U)}return W}}throw new Error("illegal catch attempt")},delegateYield:function(R,B,U){return this.delegate={iterator:P(R),resultName:B,nextLoc:U},this.method==="next"&&(this.arg=p),d}}}(function(){return this}()||Function("return this")())},{}],228:[function(D,I,e){var g=D("buffer"),f=g.Buffer;function y(v,h){for(var u in v)h[u]=v[u]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?I.exports=g:(y(g,e),e.Buffer=p);function p(v,h,u){return f(v,h,u)}y(f,p),p.from=function(v,h,u){if(typeof v=="number")throw new TypeError("Argument must not be a number");return f(v,h,u)},p.alloc=function(v,h,u){if(typeof v!="number")throw new TypeError("Argument must be a number");var o=f(v);return h!==void 0?typeof u=="string"?o.fill(h,u):o.fill(h):o.fill(0),o},p.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return f(v)},p.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(v)}},{buffer:73}],229:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/core-js/string/from-code-point"),y=l(f),p=D("babel-runtime/core-js/json/stringify"),v=l(p),h=D("babel-runtime/helpers/typeof"),u=l(h),o=D("babel-runtime/core-js/object/define-property"),i=l(o),r=D("babel-runtime/core-js/object/keys"),a=l(r),c=D("babel-runtime/core-js/object/create"),n=l(c);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(ee,se){return new d(ee,se)},t.SAXParser=d,t.SAXStream=T,t.createStream=S,t.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function d(ee,se){if(!(this instanceof d))return new d(ee,se);var ke=this;w(ke),ke.q=ke.c="",ke.bufferCheckPosition=t.MAX_BUFFER_LENGTH,ke.opt=se||{},ke.opt.lowercase=ke.opt.lowercase||ke.opt.lowercasetags,ke.looseCase=ke.opt.lowercase?"toLowerCase":"toUpperCase",ke.tags=[],ke.closed=ke.closedRoot=ke.sawRoot=!1,ke.tag=ke.error=null,ke.strict=!!ee,ke.noscript=!!(ee||ke.opt.noscript),ke.state=W.BEGIN,ke.strictEntities=ke.opt.strictEntities,ke.ENTITIES=ke.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),ke.attribList=[],ke.opt.xmlns&&(ke.ns=(0,n.default)(N)),ke.trackPosition=ke.opt.position!==!1,ke.trackPosition&&(ke.position=ke.line=ke.column=0),z(ke,"onready")}n.default||(Object.create=function(ee){function se(){}se.prototype=ee;var ke=new se;return ke}),a.default||(Object.keys=function(ee){var se=[];for(var ke in ee)ee.hasOwnProperty(ke)&&se.push(ke);return se});function m(ee){for(var se=Math.max(t.MAX_BUFFER_LENGTH,10),ke=0,Ce=0,ze=s.length;Ce<ze;Ce++){var _e=ee[s[Ce]].length;if(_e>se)switch(s[Ce]){case"textNode":q(ee);break;case"cdata":X(ee,"oncdata",ee.cdata),ee.cdata="";break;case"script":X(ee,"onscript",ee.script),ee.script="";break;default:G(ee,"Max buffer length exceeded: "+s[Ce])}ke=Math.max(ke,_e)}var ae=t.MAX_BUFFER_LENGTH-ke;ee.bufferCheckPosition=ae+ee.position}function w(ee){for(var se=0,ke=s.length;se<ke;se++)ee[s[se]]=""}function b(ee){q(ee),ee.cdata!==""&&(X(ee,"oncdata",ee.cdata),ee.cdata=""),ee.script!==""&&(X(ee,"onscript",ee.script),ee.script="")}d.prototype={end:function(){ve(this)},write:de,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){b(this)}};var E;try{E=D("stream").Stream}catch(ee){E=function(){}}var A=t.EVENTS.filter(function(ee){return ee!=="error"&&ee!=="end"});function S(ee,se){return new T(ee,se)}function T(ee,se){if(!(this instanceof T))return new T(ee,se);E.apply(this),this._parser=new d(ee,se),this.writable=!0,this.readable=!0;var ke=this;this._parser.onend=function(){ke.emit("end")},this._parser.onerror=function(Ce){ke.emit("error",Ce),ke._parser.error=null},this._decoder=null,A.forEach(function(Ce){(0,i.default)(ke,"on"+Ce,{get:function(){return ke._parser["on"+Ce]},set:function(_e){if(!_e)return ke.removeAllListeners(Ce),ke._parser["on"+Ce]=_e,_e;ke.on(Ce,_e)},enumerable:!0,configurable:!1})})}T.prototype=(0,n.default)(E.prototype,{constructor:{value:T}}),T.prototype.write=function(ee){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(ee)){if(!this._decoder){var se=D("string_decoder").StringDecoder;this._decoder=new se("utf8")}ee=this._decoder.write(ee)}return this._parser.write(ee.toString()),this.emit("data",ee),!0},T.prototype.end=function(ee){return ee&&ee.length&&this.write(ee),this._parser.end(),!0},T.prototype.on=function(ee,se){var ke=this;return!ke._parser["on"+ee]&&A.indexOf(ee)!==-1&&(ke._parser["on"+ee]=function(){var Ce=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ce.splice(0,0,ee),ke.emit.apply(ke,Ce)}),E.prototype.on.call(ke,ee,se)};var O="[CDATA[",x="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",N={xml:C,xmlns:_},F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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-]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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 K(ee){return ee===" "||ee===`
|
|
|
`||ee==="\r"||ee===" "}function R(ee){return ee==='"'||ee==="'"}function B(ee){return ee===">"||K(ee)}function U(ee,se){return ee.test(se)}function H(ee,se){return!U(ee,se)}var W=0;t.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.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)(t.ENTITIES).forEach(function(ee){var se=t.ENTITIES[ee],ke=typeof se=="number"?String.fromCharCode(se):se;t.ENTITIES[ee]=ke});for(var V in t.STATE)t.STATE[t.STATE[V]]=V;W=t.STATE;function z(ee,se,ke){ee[se]&&ee[se](ke)}function X(ee,se,ke){ee.textNode&&q(ee),z(ee,se,ke)}function q(ee){ee.textNode=fe(ee.opt,ee.textNode),ee.textNode&&z(ee,"ontext",ee.textNode),ee.textNode=""}function fe(ee,se){return ee.trim&&(se=se.trim()),ee.normalize&&(se=se.replace(/\s+/g," ")),se}function G(ee,se){return q(ee),ee.trackPosition&&(se+=`
|
|
|
Line: `+ee.line+`
|
|
|
Column: `+ee.column+`
|
|
|
Char: `+ee.c),se=new Error(se),ee.error=se,z(ee,"onerror",se),ee}function ve(ee){return ee.sawRoot&&!ee.closedRoot&&Se(ee,"Unclosed root tag"),ee.state!==W.BEGIN&&ee.state!==W.BEGIN_WHITESPACE&&ee.state!==W.TEXT&&G(ee,"Unexpected end"),q(ee),ee.c="",ee.closed=!0,z(ee,"onend"),d.call(ee,ee.strict,ee.opt),ee}function Se(ee,se){if((typeof ee=="undefined"?"undefined":(0,u.default)(ee))!=="object"||!(ee instanceof d))throw new Error("bad call to strictFail");ee.strict&&G(ee,se)}function ge(ee){ee.strict||(ee.tagName=ee.tagName[ee.looseCase]());var se=ee.tags[ee.tags.length-1]||ee,ke=ee.tag={name:ee.tagName,attributes:{}};ee.opt.xmlns&&(ke.ns=se.ns),ee.attribList.length=0,X(ee,"onopentagstart",ke)}function Pe(ee,se){var ke=ee.indexOf(":"),Ce=ke<0?["",ee]:ee.split(":"),ze=Ce[0],_e=Ce[1];return se&&ee==="xmlns"&&(ze="xmlns",_e=""),{prefix:ze,local:_e}}function Ge(ee){if(ee.strict||(ee.attribName=ee.attribName[ee.looseCase]()),ee.attribList.indexOf(ee.attribName)!==-1||ee.tag.attributes.hasOwnProperty(ee.attribName)){ee.attribName=ee.attribValue="";return}if(ee.opt.xmlns){var se=Pe(ee.attribName,!0),ke=se.prefix,Ce=se.local;if(ke==="xmlns")if(Ce==="xml"&&ee.attribValue!==C)Se(ee,"xml: prefix must be bound to "+C+`
|
|
|
Actual: `+ee.attribValue);else if(Ce==="xmlns"&&ee.attribValue!==_)Se(ee,"xmlns: prefix must be bound to "+_+`
|
|
|
Actual: `+ee.attribValue);else{var ze=ee.tag,_e=ee.tags[ee.tags.length-1]||ee;ze.ns===_e.ns&&(ze.ns=(0,n.default)(_e.ns)),ze.ns[Ce]=ee.attribValue}ee.attribList.push([ee.attribName,ee.attribValue])}else ee.tag.attributes[ee.attribName]=ee.attribValue,X(ee,"onattribute",{name:ee.attribName,value:ee.attribValue});ee.attribName=ee.attribValue=""}function pt(ee,se){if(ee.opt.xmlns){var ke=ee.tag,Ce=Pe(ee.tagName);ke.prefix=Ce.prefix,ke.local=Ce.local,ke.uri=ke.ns[Ce.prefix]||"",ke.prefix&&!ke.uri&&(Se(ee,"Unbound namespace prefix: "+(0,v.default)(ee.tagName)),ke.uri=Ce.prefix);var ze=ee.tags[ee.tags.length-1]||ee;ke.ns&&ze.ns!==ke.ns&&(0,a.default)(ke.ns).forEach(function(wt){X(ee,"onopennamespace",{prefix:wt,uri:ke.ns[wt]})});for(var _e=0,ae=ee.attribList.length;_e<ae;_e++){var me=ee.attribList[_e],Oe=me[0],Ze=me[1],vt=Pe(Oe,!0),Ct=vt.prefix,Be=vt.local,Rt=Ct===""?"":ke.ns[Ct]||"",He={name:Oe,value:Ze,prefix:Ct,local:Be,uri:Rt};Ct&&Ct!=="xmlns"&&!Rt&&(Se(ee,"Unbound namespace prefix: "+(0,v.default)(Ct)),He.uri=Ct),ee.tag.attributes[Oe]=He,X(ee,"onattribute",He)}ee.attribList.length=0}ee.tag.isSelfClosing=!!se,ee.sawRoot=!0,ee.tags.push(ee.tag),X(ee,"onopentag",ee.tag),se||(!ee.noscript&&ee.tagName.toLowerCase()==="script"?ee.state=W.SCRIPT:ee.state=W.TEXT,ee.tag=null,ee.tagName=""),ee.attribName=ee.attribValue="",ee.attribList.length=0}function Te(ee){if(!ee.tagName){Se(ee,"Weird empty close tag."),ee.textNode+="</>",ee.state=W.TEXT;return}if(ee.script){if(ee.tagName!=="script"){ee.script+="</"+ee.tagName+">",ee.tagName="",ee.state=W.SCRIPT;return}X(ee,"onscript",ee.script),ee.script=""}var se=ee.tags.length,ke=ee.tagName;ee.strict||(ke=ke[ee.looseCase]());for(var Ce=ke;se--;){var ze=ee.tags[se];if(ze.name!==Ce)Se(ee,"Unexpected close tag");else break}if(se<0){Se(ee,"Unmatched closing tag: "+ee.tagName),ee.textNode+="</"+ee.tagName+">",ee.state=W.TEXT;return}ee.tagName=ke;for(var _e=ee.tags.length;_e-- >se;){var ae=ee.tag=ee.tags.pop();ee.tagName=ee.tag.name,X(ee,"onclosetag",ee.tagName);var me={};for(var Oe in ae.ns)me[Oe]=ae.ns[Oe];var Ze=ee.tags[ee.tags.length-1]||ee;ee.opt.xmlns&&ae.ns!==Ze.ns&&(0,a.default)(ae.ns).forEach(function(vt){var Ct=ae.ns[vt];X(ee,"onclosenamespace",{prefix:vt,uri:Ct})})}se===0&&(ee.closedRoot=!0),ee.tagName=ee.attribValue=ee.attribName="",ee.attribList.length=0,ee.state=W.TEXT}function xe(ee){var se=ee.entity,ke=se.toLowerCase(),Ce,ze="";return ee.ENTITIES[se]?ee.ENTITIES[se]:ee.ENTITIES[ke]?ee.ENTITIES[ke]:(se=ke,se.charAt(0)==="#"&&(se.charAt(1)==="x"?(se=se.slice(2),Ce=parseInt(se,16),ze=Ce.toString(16)):(se=se.slice(1),Ce=parseInt(se,10),ze=Ce.toString(10))),se=se.replace(/^0+/,""),isNaN(Ce)||ze.toLowerCase()!==se?(Se(ee,"Invalid character entity"),"&"+ee.entity+";"):(0,y.default)(Ce))}function lt(ee,se){se==="<"?(ee.state=W.OPEN_WAKA,ee.startTagPosition=ee.position):K(se)||(Se(ee,"Non-whitespace before first tag."),ee.textNode=se,ee.state=W.TEXT)}function Ie(ee,se){var ke="";return se<ee.length&&(ke=ee.charAt(se)),ke}function de(ee){var se=this;if(this.error)throw this.error;if(se.closed)return G(se,"Cannot write after close. Assign an onready handler.");if(ee===null)return ve(se);(typeof ee=="undefined"?"undefined":(0,u.default)(ee))==="object"&&(ee=ee.toString());for(var ke=0,Ce="";!(Ce=Ie(ee,ke++),se.c=Ce,!Ce);){se.trackPosition&&(se.position++,Ce===`
|
|
|
`?(se.line++,se.column=0):se.column++);switch(se.state){case W.BEGIN:if(se.state=W.BEGIN_WHITESPACE,Ce==="\uFEFF")continue;lt(se,Ce);continue;case W.BEGIN_WHITESPACE:lt(se,Ce);continue;case W.TEXT:if(se.sawRoot&&!se.closedRoot){for(var ze=ke-1;Ce&&Ce!=="<"&&Ce!=="&";)Ce=Ie(ee,ke++),Ce&&se.trackPosition&&(se.position++,Ce===`
|
|
|
`?(se.line++,se.column=0):se.column++);se.textNode+=ee.substring(ze,ke-1)}Ce==="<"&&!(se.sawRoot&&se.closedRoot&&!se.strict)?(se.state=W.OPEN_WAKA,se.startTagPosition=se.position):(!K(Ce)&&(!se.sawRoot||se.closedRoot)&&Se(se,"Text data outside of root node."),Ce==="&"?se.state=W.TEXT_ENTITY:se.textNode+=Ce);continue;case W.SCRIPT:Ce==="<"?se.state=W.SCRIPT_ENDING:se.script+=Ce;continue;case W.SCRIPT_ENDING:Ce==="/"?se.state=W.CLOSE_TAG:(se.script+="<"+Ce,se.state=W.SCRIPT);continue;case W.OPEN_WAKA:if(Ce==="!")se.state=W.SGML_DECL,se.sgmlDecl="";else if(!K(Ce))if(U(F,Ce))se.state=W.OPEN_TAG,se.tagName=Ce;else if(Ce==="/")se.state=W.CLOSE_TAG,se.tagName="";else if(Ce==="?")se.state=W.PROC_INST,se.procInstName=se.procInstBody="";else{if(Se(se,"Unencoded <"),se.startTagPosition+1<se.position){var _e=se.position-se.startTagPosition;Ce=new Array(_e).join(" ")+Ce}se.textNode+="<"+Ce,se.state=W.TEXT}continue;case W.SGML_DECL:(se.sgmlDecl+Ce).toUpperCase()===O?(X(se,"onopencdata"),se.state=W.CDATA,se.sgmlDecl="",se.cdata=""):se.sgmlDecl+Ce==="--"?(se.state=W.COMMENT,se.comment="",se.sgmlDecl=""):(se.sgmlDecl+Ce).toUpperCase()===x?(se.state=W.DOCTYPE,(se.doctype||se.sawRoot)&&Se(se,"Inappropriately located doctype declaration"),se.doctype="",se.sgmlDecl=""):Ce===">"?(X(se,"onsgmldeclaration",se.sgmlDecl),se.sgmlDecl="",se.state=W.TEXT):(R(Ce)&&(se.state=W.SGML_DECL_QUOTED),se.sgmlDecl+=Ce);continue;case W.SGML_DECL_QUOTED:Ce===se.q&&(se.state=W.SGML_DECL,se.q=""),se.sgmlDecl+=Ce;continue;case W.DOCTYPE:Ce===">"?(se.state=W.TEXT,X(se,"ondoctype",se.doctype),se.doctype=!0):(se.doctype+=Ce,Ce==="["?se.state=W.DOCTYPE_DTD:R(Ce)&&(se.state=W.DOCTYPE_QUOTED,se.q=Ce));continue;case W.DOCTYPE_QUOTED:se.doctype+=Ce,Ce===se.q&&(se.q="",se.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:se.doctype+=Ce,Ce==="]"?se.state=W.DOCTYPE:R(Ce)&&(se.state=W.DOCTYPE_DTD_QUOTED,se.q=Ce);continue;case W.DOCTYPE_DTD_QUOTED:se.doctype+=Ce,Ce===se.q&&(se.state=W.DOCTYPE_DTD,se.q="");continue;case W.COMMENT:Ce==="-"?se.state=W.COMMENT_ENDING:se.comment+=Ce;continue;case W.COMMENT_ENDING:Ce==="-"?(se.state=W.COMMENT_ENDED,se.comment=fe(se.opt,se.comment),se.comment&&X(se,"oncomment",se.comment),se.comment=""):(se.comment+="-"+Ce,se.state=W.COMMENT);continue;case W.COMMENT_ENDED:Ce!==">"?(Se(se,"Malformed comment"),se.comment+="--"+Ce,se.state=W.COMMENT):se.state=W.TEXT;continue;case W.CDATA:Ce==="]"?se.state=W.CDATA_ENDING:se.cdata+=Ce;continue;case W.CDATA_ENDING:Ce==="]"?se.state=W.CDATA_ENDING_2:(se.cdata+="]"+Ce,se.state=W.CDATA);continue;case W.CDATA_ENDING_2:Ce===">"?(se.cdata&&X(se,"oncdata",se.cdata),X(se,"onclosecdata"),se.cdata="",se.state=W.TEXT):Ce==="]"?se.cdata+="]":(se.cdata+="]]"+Ce,se.state=W.CDATA);continue;case W.PROC_INST:Ce==="?"?se.state=W.PROC_INST_ENDING:K(Ce)?se.state=W.PROC_INST_BODY:se.procInstName+=Ce;continue;case W.PROC_INST_BODY:if(!se.procInstBody&&K(Ce))continue;Ce==="?"?se.state=W.PROC_INST_ENDING:se.procInstBody+=Ce;continue;case W.PROC_INST_ENDING:Ce===">"?(X(se,"onprocessinginstruction",{name:se.procInstName,body:se.procInstBody}),se.procInstName=se.procInstBody="",se.state=W.TEXT):(se.procInstBody+="?"+Ce,se.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:U(k,Ce)?se.tagName+=Ce:(ge(se),Ce===">"?pt(se):Ce==="/"?se.state=W.OPEN_TAG_SLASH:(K(Ce)||Se(se,"Invalid character in tag name"),se.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:Ce===">"?(pt(se,!0),Te(se)):(Se(se,"Forward-slash in opening tag not followed by >"),se.state=W.ATTRIB);continue;case W.ATTRIB:if(K(Ce))continue;Ce===">"?pt(se):Ce==="/"?se.state=W.OPEN_TAG_SLASH:U(F,Ce)?(se.attribName=Ce,se.attribValue="",se.state=W.ATTRIB_NAME):Se(se,"Invalid attribute name");continue;case W.ATTRIB_NAME:Ce==="="?se.state=W.ATTRIB_VALUE:Ce===">"?(Se(se,"Attribute without value"),se.attribValue=se.attribName,Ge(se),pt(se)):K(Ce)?se.state=W.ATTRIB_NAME_SAW_WHITE:U(k,Ce)?se.attribName+=Ce:Se(se,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if(Ce==="=")se.state=W.ATTRIB_VALUE;else{if(K(Ce))continue;Se(se,"Attribute without value"),se.tag.attributes[se.attribName]="",se.attribValue="",X(se,"onattribute",{name:se.attribName,value:""}),se.attribName="",Ce===">"?pt(se):U(F,Ce)?(se.attribName=Ce,se.state=W.ATTRIB_NAME):(Se(se,"Invalid attribute name"),se.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(K(Ce))continue;R(Ce)?(se.q=Ce,se.state=W.ATTRIB_VALUE_QUOTED):(Se(se,"Unquoted attribute value"),se.state=W.ATTRIB_VALUE_UNQUOTED,se.attribValue=Ce);continue;case W.ATTRIB_VALUE_QUOTED:if(Ce!==se.q){Ce==="&"?se.state=W.ATTRIB_VALUE_ENTITY_Q:se.attribValue+=Ce;continue}Ge(se),se.q="",se.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:K(Ce)?se.state=W.ATTRIB:Ce===">"?pt(se):Ce==="/"?se.state=W.OPEN_TAG_SLASH:U(F,Ce)?(Se(se,"No whitespace between attributes"),se.attribName=Ce,se.attribValue="",se.state=W.ATTRIB_NAME):Se(se,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!B(Ce)){Ce==="&"?se.state=W.ATTRIB_VALUE_ENTITY_U:se.attribValue+=Ce;continue}Ge(se),Ce===">"?pt(se):se.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(se.tagName)Ce===">"?Te(se):U(k,Ce)?se.tagName+=Ce:se.script?(se.script+="</"+se.tagName,se.tagName="",se.state=W.SCRIPT):(K(Ce)||Se(se,"Invalid tagname in closing tag"),se.state=W.CLOSE_TAG_SAW_WHITE);else{if(K(Ce))continue;H(F,Ce)?se.script?(se.script+="</"+Ce,se.state=W.SCRIPT):Se(se,"Invalid tagname in closing tag."):se.tagName=Ce}continue;case W.CLOSE_TAG_SAW_WHITE:if(K(Ce))continue;Ce===">"?Te(se):Se(se,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var ae,me;switch(se.state){case W.TEXT_ENTITY:ae=W.TEXT,me="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:ae=W.ATTRIB_VALUE_QUOTED,me="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:ae=W.ATTRIB_VALUE_UNQUOTED,me="attribValue";break}Ce===";"?(se[me]+=xe(se),se.entity="",se.state=ae):U(se.entity.length?j:P,Ce)?se.entity+=Ce:(Se(se,"Invalid character in entity name"),se[me]+="&"+se.entity+Ce,se.entity="",se.state=ae);continue;default:throw new Error(se,"Unknown state: "+se.state)}}return se.position>=se.bufferCheckPosition&&m(se),se}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */y.default||function(){var ee=String.fromCharCode,se=Math.floor,ke=function(){var ze=16384,_e=[],ae,me,Oe=-1,Ze=arguments.length;if(!Ze)return"";for(var vt="";++Oe<Ze;){var Ct=Number(arguments[Oe]);if(!isFinite(Ct)||Ct<0||Ct>1114111||se(Ct)!==Ct)throw RangeError("Invalid code point: "+Ct);Ct<=65535?_e.push(Ct):(Ct-=65536,ae=(Ct>>10)+55296,me=Ct%1024+56320,_e.push(ae,me)),(Oe+1===Ze||_e.length>ze)&&(vt+=ee.apply(null,_e),_e.length=0)}return vt};i.default?Object.defineProperty(String,"fromCodePoint",{value:ke,configurable:!0,writable:!0}):String.fromCodePoint=ke}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,D("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(D,I,e){I.exports=y;var g=D("events").EventEmitter,f=D("inherits");f(y,g),y.Readable=D("readable-stream/readable.js"),y.Writable=D("readable-stream/writable.js"),y.Duplex=D("readable-stream/duplex.js"),y.Transform=D("readable-stream/transform.js"),y.PassThrough=D("readable-stream/passthrough.js"),y.Stream=y;function y(){g.call(this)}y.prototype.pipe=function(p,v){var h=this;function u(l){p.writable&&(p.write(l)===!1&&h.pause&&h.pause())}h.on("data",u);function o(){h.readable&&h.resume&&h.resume()}p.on("drain",o),!p._isStdio&&(!v||v.end!==!1)&&(h.on("end",r),h.on("close",a));var i=!1;function r(){if(i)return;i=!0,p.end()}function a(){if(i)return;i=!0,typeof p.destroy=="function"&&p.destroy()}function c(l){if(n(),g.listenerCount(this,"error")===0)throw l}h.on("error",c),p.on("error",c);function n(){h.removeListener("data",u),p.removeListener("drain",o),h.removeListener("end",r),h.removeListener("close",a),h.removeListener("error",c),p.removeListener("error",c),h.removeListener("end",n),h.removeListener("close",n),p.removeListener("close",n)}return h.on("end",n),h.on("close",n),p.on("close",n),p.emit("pipe",h),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(D,I,e){(function(g){var f=D("./lib/request"),y=D("./lib/response"),p=D("xtend"),v=D("builtin-status-codes"),h=D("url"),u=e;u.request=function(o,i){typeof o=="string"?o=h.parse(o):o=p(o);var r=g.location.protocol.search(/^https?:$/)===-1?"http:":"",a=o.protocol||r,c=o.hostname||o.host,n=o.port,l=o.path||"/";c&&c.indexOf(":")!==-1&&(c="["+c+"]"),o.url=(c?a+"//"+c:"")+(n?":"+n:"")+l,o.method=(o.method||"GET").toUpperCase(),o.headers=o.headers||{};var t=new f(o);return i&&t.on("response",i),t},u.get=function(i,r){var a=u.request(i,r);return a.end(),a},u.ClientRequest=f,u.IncomingMessage=y.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=v,u.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(D,I,e){(function(g){"use strict";e.fetch=u(g.fetch)&&u(g.ReadableStream),e.writableStream=u(g.WritableStream),e.abortController=u(g.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(o){}var f;function y(){if(f!==void 0)return f;if(g.XMLHttpRequest){f=new g.XMLHttpRequest;try{f.open("GET",g.XDomainRequest?"/":"https://example.com")}catch(o){f=null}}else f=null;return f}function p(o){var i=y();if(!i)return!1;try{return i.responseType=o,i.responseType===o}catch(r){}return!1}var v=typeof g.ArrayBuffer!="undefined",h=v&&u(g.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||v&&p("arraybuffer"),e.msstream=!e.fetch&&h&&p("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&v&&p("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(y()?u(y().overrideMimeType):!1),e.vbArray=u(g.VBArray);function u(o){return typeof o=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(D,I,e){(function(g,f,y){"use strict";var p=D("babel-runtime/core-js/object/keys"),v=h(p);function h(m){return m&&m.__esModule?m:{default:m}}var u=D("./capability"),o=D("inherits"),i=D("./response"),r=D("readable-stream"),a=D("to-arraybuffer"),c=i.IncomingMessage,n=i.readyStates;function l(m,w){return u.fetch&&w?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&m?"arraybuffer":u.vbArray&&m?"text:vbarray":"text"}var t=I.exports=function(m){var w=this;r.Writable.call(w),w._opts=m,w._body=[],w._headers={},m.auth&&w.setHeader("Authorization","Basic "+new y(m.auth).toString("base64")),(0,v.default)(m.headers).forEach(function(A){w.setHeader(A,m.headers[A])});var b,E=!0;if(m.mode==="disable-fetch"||"requestTimeout"in m&&!u.abortController)E=!1,b=!0;else if(m.mode==="prefer-streaming")b=!1;else if(m.mode==="allow-wrong-content-type")b=!u.overrideMimeType;else if(!m.mode||m.mode==="default"||m.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");w._mode=l(b,E),w._fetchTimer=null,w.on("finish",function(){w._onFinish()})};o(t,r.Writable),t.prototype.setHeader=function(m,w){var b=this,E=m.toLowerCase();if(d.indexOf(E)!==-1)return;b._headers[E]={name:m,value:w}},t.prototype.getHeader=function(m){var w=this._headers[m.toLowerCase()];return w?w.value:null},t.prototype.removeHeader=function(m){var w=this;delete w._headers[m.toLowerCase()]},t.prototype._onFinish=function(){var m=this;if(m._destroyed)return;var w=m._opts,b=m._headers,E=null;w.method!=="GET"&&w.method!=="HEAD"&&(u.arraybuffer?E=a(y.concat(m._body)):u.blobConstructor?E=new f.Blob(m._body.map(function(C){return a(C)}),{type:(b["content-type"]||{}).value||""}):E=y.concat(m._body).toString());var A=[];if((0,v.default)(b).forEach(function(C){var _=b[C].name,N=b[C].value;Array.isArray(N)?N.forEach(function(F){A.push([_,F])}):A.push([_,N])}),m._mode==="fetch"){var S=null,T=null;if(u.abortController){var O=new AbortController;S=O.signal,m._fetchAbortController=O,"requestTimeout"in w&&w.requestTimeout!==0&&(m._fetchTimer=f.setTimeout(function(){m.emit("requestTimeout"),m._fetchAbortController&&m._fetchAbortController.abort()},w.requestTimeout))}f.fetch(m._opts.url,{method:m._opts.method,headers:A,body:E||void 0,mode:"cors",credentials:w.withCredentials?"include":"same-origin",signal:S}).then(function(C){m._fetchResponse=C,m._connect()},function(C){f.clearTimeout(m._fetchTimer),m._destroyed||m.emit("error",C)})}else{var x=m._xhr=new f.XMLHttpRequest;try{x.open(m._opts.method,m._opts.url,!0)}catch(C){g.nextTick(function(){m.emit("error",C)});return}"responseType"in x&&(x.responseType=m._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!w.withCredentials),m._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in w&&(x.timeout=w.requestTimeout,x.ontimeout=function(){m.emit("requestTimeout")}),A.forEach(function(C){x.setRequestHeader(C[0],C[1])}),m._response=null,x.onreadystatechange=function(){switch(x.readyState){case n.LOADING:case n.DONE:m._onXHRProgress();break}},m._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){m._onXHRProgress()}),x.onerror=function(){if(m._destroyed)return;m.emit("error",new Error("XHR error"))};try{x.send(E)}catch(C){g.nextTick(function(){m.emit("error",C)});return}}};function s(m){try{var w=m.status;return w!==null&&w!==0}catch(b){return!1}}t.prototype._onXHRProgress=function(){var m=this;if(!s(m._xhr)||m._destroyed)return;m._response||m._connect(),m._response._onXHRProgress()},t.prototype._connect=function(){var m=this;if(m._destroyed)return;m._response=new c(m._xhr,m._fetchResponse,m._mode,m._fetchTimer),m._response.on("error",function(w){m.emit("error",w)}),m.emit("response",m._response)},t.prototype._write=function(m,w,b){var E=this;E._body.push(m),b()},t.prototype.abort=t.prototype.destroy=function(){var m=this;m._destroyed=!0,f.clearTimeout(m._fetchTimer),m._response&&(m._response._destroyed=!0),m._xhr?m._xhr.abort():m._fetchAbortController&&m._fetchAbortController.abort()},t.prototype.end=function(m,w,b){var E=this;typeof m=="function"&&(b=m,m=void 0),r.Writable.prototype.end.call(E,m,w,b)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var d=["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,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("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(D,I,e){(function(g,f,y){"use strict";var p=D("babel-runtime/core-js/promise"),v=h(p);function h(c){return c&&c.__esModule?c:{default:c}}var u=D("./capability"),o=D("inherits"),i=D("readable-stream"),r=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=e.IncomingMessage=function(c,n,l,t){var s=this;if(i.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){g.nextTick(function(){s.emit("close")})}),l==="fetch"){var d=function S(){w.read().then(function(T){if(s._destroyed)return;if(T.done){f.clearTimeout(t),s.push(null);return}s.push(new y(T.value)),S()}).catch(function(T){f.clearTimeout(t),s._destroyed||s.emit("error",T)})};if(s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(S,T){s.headers[T.toLowerCase()]=S,s.rawHeaders.push(T,S)}),u.writableStream){var m=new WritableStream({write:function(T){return new v.default(function(O,x){s._destroyed?x():s.push(new y(T))?O():s._resumeFetch=O})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(T){s._destroyed||s.emit("error",T)}});try{n.body.pipeTo(m).catch(function(S){f.clearTimeout(t),s._destroyed||s.emit("error",S)});return}catch(S){}}var w=n.body.getReader();d()}else{s._xhr=c,s._pos=0,s.url=c.responseURL,s.statusCode=c.status,s.statusMessage=c.statusText;var b=c.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(S){var T=S.match(/^([^:]+):\s*(.*)/);if(T){var O=T[1].toLowerCase();O==="set-cookie"?(s.headers[O]===void 0&&(s.headers[O]=[]),s.headers[O].push(T[2])):s.headers[O]!==void 0?s.headers[O]+=", "+T[2]:s.headers[O]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!u.overrideMimeType){var E=s.rawHeaders["mime-type"];if(E){var A=E.match(/;\s*charset=([^;])(;|$)/);A&&(s._charset=A[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};o(a,i.Readable),a.prototype._read=function(){var c=this,n=c._resumeFetch;n&&(c._resumeFetch=null,n())},a.prototype._onXHRProgress=function(){var c=this,n=c._xhr,l=null;switch(c._mode){case"text:vbarray":if(n.readyState!==r.DONE)break;try{l=new f.VBArray(n.responseBody).toArray()}catch(w){}if(l!==null){c.push(new y(l));break}case"text":try{l=n.responseText}catch(w){c._mode="text:vbarray";break}if(l.length>c._pos){var t=l.substr(c._pos);if(c._charset==="x-user-defined"){for(var s=new y(t.length),d=0;d<t.length;d++)s[d]=t.charCodeAt(d)&255;c.push(s)}else c.push(t,c._charset);c._pos=l.length}break;case"arraybuffer":if(n.readyState!==r.DONE||!n.response)break;l=n.response,c.push(new y(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==r.LOADING||!l)break;c.push(new y(new Uint8Array(l)));break;case"ms-stream":if(l=n.response,n.readyState!==r.LOADING)break;var m=new f.MSStreamReader;m.onprogress=function(){m.result.byteLength>c._pos&&(c.push(new y(new Uint8Array(m.result.slice(c._pos)))),c._pos=m.result.byteLength)},m.onload=function(){c.push(null)},m.readAsArrayBuffer(l);break}c._xhr.readyState===r.DONE&&c._mode!=="ms-stream"&&c.push(null)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(D,I,e){"use strict";var g=D("safe-buffer").Buffer,f=g.isEncoding||function(m){m=""+m;switch(m&&m.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 y(m){if(!m)return"utf8";for(var w;;)switch(m){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 m;default:if(w)return;m=(""+m).toLowerCase(),w=!0}}function p(m){var w=y(m);if(typeof w!="string"&&(g.isEncoding===f||!f(m)))throw new Error("Unknown encoding: "+m);return w||m}e.StringDecoder=v;function v(m){this.encoding=p(m);var w;switch(this.encoding){case"utf16le":this.text=c,this.end=n,w=4;break;case"utf8":this.fillLast=i,w=4;break;case"base64":this.text=l,this.end=t,w=3;break;default:this.write=s,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(w)}v.prototype.write=function(m){if(m.length===0)return"";var w,b;if(this.lastNeed){if(w=this.fillLast(m),w===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<m.length?w?w+this.text(m,b):this.text(m,b):w||""},v.prototype.end=a,v.prototype.text=r,v.prototype.fillLast=function(m){if(this.lastNeed<=m.length)return m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,m.length),this.lastNeed-=m.length};function h(m){return m<=127?0:m>>5===6?2:m>>4===14?3:m>>3===30?4:m>>6===2?-1:-2}function u(m,w,b){var E=w.length-1;if(E<b)return 0;var A=h(w[E]);return A>=0?(A>0&&(m.lastNeed=A-1),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(m.lastNeed=A-2),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(A===2?A=0:m.lastNeed=A-3),A):0))}function o(m,w,b){if((w[0]&192)!==128)return m.lastNeed=0,"\uFFFD";if(m.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return m.lastNeed=1,"\uFFFD";if(m.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return m.lastNeed=2,"\uFFFD"}}function i(m){var w=this.lastTotal-this.lastNeed,b=o(this,m,w);if(b!==void 0)return b;if(this.lastNeed<=m.length)return m.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,w,0,m.length),this.lastNeed-=m.length}function r(m,w){var b=u(this,m,w);if(!this.lastNeed)return m.toString("utf8",w);this.lastTotal=b;var E=m.length-(b-this.lastNeed);return m.copy(this.lastChar,0,E),m.toString("utf8",w,E)}function a(m){var w=m&&m.length?this.write(m):"";return this.lastNeed?w+"\uFFFD":w}function c(m,w){if((m.length-w)%2===0){var b=m.toString("utf16le",w);if(b){var E=b.charCodeAt(b.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=m[m.length-1],m.toString("utf16le",w,m.length-1)}function n(m){var w=m&&m.length?this.write(m):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,b)}return w}function l(m,w){var b=(m.length-w)%3;return b===0?m.toString("base64",w):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=m[m.length-1]:(this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1]),m.toString("base64",w,m.length-b))}function t(m){var w=m&&m.length?this.write(m):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function s(m){return m.toString(this.encoding)}function d(m){return m&&m.length?this.write(m):""}},{"safe-buffer":228}],236:[function(D,I,e){(function(g,f){var y=D("process/browser.js").nextTick,p=Function.prototype.apply,v=Array.prototype.slice,h={},u=0;e.setTimeout=function(){return new o(p.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new o(p.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(i){i.close()};function o(i,r){this._id=i,this._clearFn=r}o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(i,r){clearTimeout(i._idleTimeoutId),i._idleTimeout=r},e.unenroll=function(i){clearTimeout(i._idleTimeoutId),i._idleTimeout=-1},e._unrefActive=e.active=function(i){clearTimeout(i._idleTimeoutId);var r=i._idleTimeout;r>=0&&(i._idleTimeoutId=setTimeout(function(){i._onTimeout&&i._onTimeout()},r))},e.setImmediate=typeof g=="function"?g:function(i){var r=u++,a=arguments.length<2?!1:v.call(arguments,1);return h[r]=!0,y(function(){h[r]&&(a?i.apply(null,a):i.call(null),e.clearImmediate(r))}),r},e.clearImmediate=typeof f=="function"?f:function(i){delete h[i]}}).call(this,D("timers").setImmediate,D("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(D,I,e){var g=D("buffer").Buffer;I.exports=function(f){if(f instanceof Uint8Array){if(f.byteOffset===0&&f.byteLength===f.buffer.byteLength)return f.buffer;if(typeof f.buffer.slice=="function")return f.buffer.slice(f.byteOffset,f.byteOffset+f.byteLength)}if(g.isBuffer(f)){for(var y=new Uint8Array(f.length),p=f.length,v=0;v<p;v++)y[v]=f[v];return y.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(D,I,e){"use strict";var g=D("punycode"),f=D("./util");e.parse=w,e.resolve=E,e.resolveObject=A,e.format=b,e.Url=y;function y(){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]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],o=["{","}","|","\\","^","`"].concat(u),i=["'"].concat(o),r=["%","/","?",";","#"].concat(i),a=["/","?","#"],c=255,n=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=D("querystring");function w(S,T,O){if(S&&f.isObject(S)&&S instanceof y)return S;var x=new y;return x.parse(S,T,O),x}y.prototype.parse=function(S,T,O){if(!f.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var x=S.indexOf("?"),C=x!==-1&&x<S.indexOf("#")?"?":"#",_=S.split(C),N=/\\/g;_[0]=_[0].replace(N,"/"),S=_.join(C);var F=S;if(F=F.trim(),!O&&S.split("#").length===1){var k=h.exec(F);if(k)return this.path=F,this.href=F,this.pathname=k[1],k[2]?(this.search=k[2],T?this.query=m.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var P=p.exec(F);if(P){P=P[0];var j=P.toLowerCase();this.protocol=j,F=F.substr(P.length)}if(O||P||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var K=F.substr(0,2)==="//";K&&!(P&&s[P])&&(F=F.substr(2),this.slashes=!0)}if(!s[P]&&(K||P&&!d[P])){for(var R=-1,B=0;B<a.length;B++){var U=F.indexOf(a[B]);U!==-1&&(R===-1||U<R)&&(R=U)}var H,W;R===-1?W=F.lastIndexOf("@"):W=F.lastIndexOf("@",R),W!==-1&&(H=F.slice(0,W),F=F.slice(W+1),this.auth=decodeURIComponent(H)),R=-1;for(var B=0;B<r.length;B++){var U=F.indexOf(r[B]);U!==-1&&(R===-1||U<R)&&(R=U)}R===-1&&(R=F.length),this.host=F.slice(0,R),F=F.slice(R),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var z=this.hostname.split(/\./),B=0,X=z.length;B<X;B++){var q=z[B];if(!q)continue;if(!q.match(n)){for(var fe="",G=0,ve=q.length;G<ve;G++)q.charCodeAt(G)>127?fe+="x":fe+=q[G];if(!fe.match(n)){var Se=z.slice(0,B),ge=z.slice(B+1),Pe=q.match(l);Pe&&(Se.push(Pe[1]),ge.unshift(Pe[2])),ge.length&&(F="/"+ge.join(".")+F),this.hostname=Se.join(".");break}}}this.hostname.length>c?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=g.toASCII(this.hostname));var Ge=this.port?":"+this.port:"",pt=this.hostname||"";this.host=pt+Ge,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!t[j])for(var B=0,X=i.length;B<X;B++){var Te=i[B];if(F.indexOf(Te)===-1)continue;var xe=encodeURIComponent(Te);xe===Te&&(xe=escape(Te)),F=F.split(Te).join(xe)}var lt=F.indexOf("#");lt!==-1&&(this.hash=F.substr(lt),F=F.slice(0,lt));var Ie=F.indexOf("?");if(Ie!==-1?(this.search=F.substr(Ie),this.query=F.substr(Ie+1),T&&(this.query=m.parse(this.query)),F=F.slice(0,Ie)):T&&(this.search="",this.query={}),F&&(this.pathname=F),d[j]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ge=this.pathname||"",de=this.search||"";this.path=Ge+de}return this.href=this.format(),this};function b(S){return f.isString(S)&&(S=w(S)),S instanceof y?S.format():y.prototype.format.call(S)}y.prototype.format=function(){var S=this.auth||"";S&&(S=encodeURIComponent(S),S=S.replace(/%3A/i,":"),S+="@");var T=this.protocol||"",O=this.pathname||"",x=this.hash||"",C=!1,_="";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&&f.isObject(this.query)&&Object.keys(this.query).length&&(_=m.stringify(this.query));var N=this.search||_&&"?"+_||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||d[T])&&C!==!1?(C="//"+(C||""),O&&O.charAt(0)!=="/"&&(O="/"+O)):C||(C=""),x&&x.charAt(0)!=="#"&&(x="#"+x),N&&N.charAt(0)!=="?"&&(N="?"+N),O=O.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),N=N.replace("#","%23"),T+C+O+N+x};function E(S,T){return w(S,!1,!0).resolve(T)}y.prototype.resolve=function(S){return this.resolveObject(w(S,!1,!0)).format()};function A(S,T){return S?w(S,!1,!0).resolveObject(T):T}y.prototype.resolveObject=function(S){if(f.isString(S)){var T=new y;T.parse(S,!1,!0),S=T}for(var O=new y,x=Object.keys(this),C=0;C<x.length;C++){var _=x[C];O[_]=this[_]}if(O.hash=S.hash,S.href==="")return O.href=O.format(),O;if(S.slashes&&!S.protocol){for(var N=Object.keys(S),F=0;F<N.length;F++){var k=N[F];k!=="protocol"&&(O[k]=S[k])}return d[O.protocol]&&O.hostname&&!O.pathname&&(O.path=O.pathname="/"),O.href=O.format(),O}if(S.protocol&&S.protocol!==O.protocol){if(!d[S.protocol]){for(var P=Object.keys(S),j=0;j<P.length;j++){var K=P[j];O[K]=S[K]}return O.href=O.format(),O}if(O.protocol=S.protocol,!S.host&&!s[S.protocol]){for(var X=(S.pathname||"").split("/");X.length&&!(S.host=X.shift()););S.host||(S.host=""),S.hostname||(S.hostname=""),X[0]!==""&&X.unshift(""),X.length<2&&X.unshift(""),O.pathname=X.join("/")}else O.pathname=S.pathname;if(O.search=S.search,O.query=S.query,O.host=S.host||"",O.auth=S.auth,O.hostname=S.hostname||S.host,O.port=S.port,O.pathname||O.search){var R=O.pathname||"",B=O.search||"";O.path=R+B}return O.slashes=O.slashes||S.slashes,O.href=O.format(),O}var U=O.pathname&&O.pathname.charAt(0)==="/",H=S.host||S.pathname&&S.pathname.charAt(0)==="/",W=H||U||O.host&&S.pathname,V=W,z=O.pathname&&O.pathname.split("/")||[],X=S.pathname&&S.pathname.split("/")||[],q=O.protocol&&!d[O.protocol];if(q&&(O.hostname="",O.port=null,O.host&&(z[0]===""?z[0]=O.host:z.unshift(O.host)),O.host="",S.protocol&&(S.hostname=null,S.port=null,S.host&&(X[0]===""?X[0]=S.host:X.unshift(S.host)),S.host=null),W=W&&(X[0]===""||z[0]==="")),H)O.host=S.host||S.host===""?S.host:O.host,O.hostname=S.hostname||S.hostname===""?S.hostname:O.hostname,O.search=S.search,O.query=S.query,z=X;else if(X.length)z||(z=[]),z.pop(),z=z.concat(X),O.search=S.search,O.query=S.query;else if(!f.isNullOrUndefined(S.search)){if(q){O.hostname=O.host=z.shift();var fe=O.host&&O.host.indexOf("@")>0?O.host.split("@"):!1;fe&&(O.auth=fe.shift(),O.host=O.hostname=fe.shift())}return O.search=S.search,O.query=S.query,(!f.isNull(O.pathname)||!f.isNull(O.search))&&(O.path=(O.pathname?O.pathname:"")+(O.search?O.search:"")),O.href=O.format(),O}if(!z.length)return O.pathname=null,O.search?O.path="/"+O.search:O.path=null,O.href=O.format(),O;for(var G=z.slice(-1)[0],ve=(O.host||S.host||z.length>1)&&(G==="."||G==="..")||G==="",Se=0,ge=z.length;ge>=0;ge--)G=z[ge],G==="."?z.splice(ge,1):G===".."?(z.splice(ge,1),Se++):Se&&(z.splice(ge,1),Se--);if(!W&&!V)for(;Se--;Se)z.unshift("..");W&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),ve&&z.join("/").substr(-1)!=="/"&&z.push("");var Pe=z[0]===""||z[0]&&z[0].charAt(0)==="/";if(q){O.hostname=O.host=Pe?"":z.length?z.shift():"";var fe=O.host&&O.host.indexOf("@")>0?O.host.split("@"):!1;fe&&(O.auth=fe.shift(),O.host=O.hostname=fe.shift())}return W=W||O.host&&z.length,W&&!Pe&&z.unshift(""),z.length?O.pathname=z.join("/"):(O.pathname=null,O.path=null),(!f.isNull(O.pathname)||!f.isNull(O.search))&&(O.path=(O.pathname?O.pathname:"")+(O.search?O.search:"")),O.auth=S.auth||O.auth,O.slashes=O.slashes||S.slashes,O.href=O.format(),O},y.prototype.parseHost=function(){var S=this.host,T=v.exec(S);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),S=S.substr(0,S.length-T.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(D,I,e){"use strict";I.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(D,I,e){(function(g){I.exports=f;function f(p,v){if(y("noDeprecation"))return p;var h=!1;function u(){if(!h){if(y("throwDeprecation"))throw new Error(v);y("traceDeprecation")?console.trace(v):console.warn(v),h=!0}return p.apply(this,arguments)}return u}function y(p){try{if(!g.localStorage)return!1}catch(h){return!1}var v=g.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(D,I,e){typeof Object.create=="function"?I.exports=function(f,y){f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:I.exports=function(f,y){f.super_=y;var p=function(){};p.prototype=y.prototype,f.prototype=new p,f.prototype.constructor=f}},{}],242:[function(D,I,e){I.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(D,I,e){(function(g,f){var y=/%[sdj%]/g;e.format=function(R){if(!E(R)){for(var B=[],U=0;U<arguments.length;U++)B.push(h(arguments[U]));return B.join(" ")}for(var U=1,H=arguments,W=H.length,V=String(R).replace(y,function(X){if(X==="%%")return"%";if(U>=W)return X;switch(X){case"%s":return String(H[U++]);case"%d":return Number(H[U++]);case"%j":try{return JSON.stringify(H[U++])}catch(q){return"[Circular]"}default:return X}}),z=H[U];U<W;z=H[++U])m(z)||!O(z)?V+=" "+z:V+=" "+h(z);return V},e.deprecate=function(R,B){if(S(f.process))return function(){return e.deprecate(R,B).apply(this,arguments)};if(g.noDeprecation===!0)return R;var U=!1;function H(){if(!U){if(g.throwDeprecation)throw new Error(B);g.traceDeprecation?console.trace(B):console.error(B),U=!0}return R.apply(this,arguments)}return H};var p={},v;e.debuglog=function(R){if(S(v)&&(v=g.env.NODE_DEBUG||""),R=R.toUpperCase(),!p[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var B=g.pid;p[R]=function(){var U=e.format.apply(e,arguments);console.error("%s %d: %s",R,B,U)}}else p[R]=function(){};return p[R]};function h(R,B){var U={seen:[],stylize:o};return arguments.length>=3&&(U.depth=arguments[2]),arguments.length>=4&&(U.colors=arguments[3]),d(B)?U.showHidden=B:B&&e._extend(U,B),S(U.showHidden)&&(U.showHidden=!1),S(U.depth)&&(U.depth=2),S(U.colors)&&(U.colors=!1),S(U.customInspect)&&(U.customInspect=!0),U.colors&&(U.stylize=u),r(U,R,U.depth)}e.inspect=h,h.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]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(R,B){var U=h.styles[B];return U?"["+h.colors[U][0]+"m"+R+"["+h.colors[U][1]+"m":R}function o(R,B){return R}function i(R){var B={};return R.forEach(function(U,H){B[U]=!0}),B}function r(R,B,U){if(R.customInspect&&B&&_(B.inspect)&&B.inspect!==e.inspect&&!(B.constructor&&B.constructor.prototype===B)){var H=B.inspect(U,R);return E(H)||(H=r(R,H,U)),H}var W=a(R,B);if(W)return W;var V=Object.keys(B),z=i(V);if(R.showHidden&&(V=Object.getOwnPropertyNames(B)),C(B)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return c(B);if(V.length===0){if(_(B)){var X=B.name?": "+B.name:"";return R.stylize("[Function"+X+"]","special")}if(T(B))return R.stylize(RegExp.prototype.toString.call(B),"regexp");if(x(B))return R.stylize(Date.prototype.toString.call(B),"date");if(C(B))return c(B)}var q="",fe=!1,G=["{","}"];if(s(B)&&(fe=!0,G=["[","]"]),_(B)){var ve=B.name?": "+B.name:"";q=" [Function"+ve+"]"}if(T(B)&&(q=" "+RegExp.prototype.toString.call(B)),x(B)&&(q=" "+Date.prototype.toUTCString.call(B)),C(B)&&(q=" "+c(B)),V.length===0&&(!fe||B.length==0))return G[0]+q+G[1];if(U<0)return T(B)?R.stylize(RegExp.prototype.toString.call(B),"regexp"):R.stylize("[Object]","special");R.seen.push(B);var Se;return fe?Se=n(R,B,U,z,V):Se=V.map(function(ge){return l(R,B,U,z,ge,fe)}),R.seen.pop(),t(Se,q,G)}function a(R,B){if(S(B))return R.stylize("undefined","undefined");if(E(B)){var U="'"+JSON.stringify(B).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(U,"string")}if(b(B))return R.stylize(""+B,"number");if(d(B))return R.stylize(""+B,"boolean");if(m(B))return R.stylize("null","null")}function c(R){return"["+Error.prototype.toString.call(R)+"]"}function n(R,B,U,H,W){for(var V=[],z=0,X=B.length;z<X;++z)K(B,String(z))?V.push(l(R,B,U,H,String(z),!0)):V.push("");return W.forEach(function(q){q.match(/^\d+$/)||V.push(l(R,B,U,H,q,!0))}),V}function l(R,B,U,H,W,V){var z,X,q;if(q=Object.getOwnPropertyDescriptor(B,W)||{value:B[W]},q.get?q.set?X=R.stylize("[Getter/Setter]","special"):X=R.stylize("[Getter]","special"):q.set&&(X=R.stylize("[Setter]","special")),K(H,W)||(z="["+W+"]"),X||(R.seen.indexOf(q.value)<0?(m(U)?X=r(R,q.value,null):X=r(R,q.value,U-1),X.indexOf(`
|
|
|
`)>-1&&(V?X=X.split(`
|
|
|
`).map(function(fe){return" "+fe}).join(`
|
|
|
`).substr(2):X=`
|
|
|
`+X.split(`
|
|
|
`).map(function(fe){return" "+fe}).join(`
|
|
|
`))):X=R.stylize("[Circular]","special")),S(z)){if(V&&W.match(/^\d+$/))return X;z=JSON.stringify(""+W),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=R.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=R.stylize(z,"string"))}return z+": "+X}function t(R,B,U){var H=0,W=R.reduce(function(V,z){return H++,z.indexOf(`
|
|
|
`)>=0&&H++,V+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return W>60?U[0]+(B===""?"":B+`
|
|
|
`)+" "+R.join(`,
|
|
|
`)+" "+U[1]:U[0]+B+" "+R.join(", ")+" "+U[1]}function s(R){return Array.isArray(R)}e.isArray=s;function d(R){return typeof R=="boolean"}e.isBoolean=d;function m(R){return R===null}e.isNull=m;function w(R){return R==null}e.isNullOrUndefined=w;function b(R){return typeof R=="number"}e.isNumber=b;function E(R){return typeof R=="string"}e.isString=E;function A(R){return typeof R=="symbol"}e.isSymbol=A;function S(R){return R===void 0}e.isUndefined=S;function T(R){return O(R)&&F(R)==="[object RegExp]"}e.isRegExp=T;function O(R){return typeof R=="object"&&R!==null}e.isObject=O;function x(R){return O(R)&&F(R)==="[object Date]"}e.isDate=x;function C(R){return O(R)&&(F(R)==="[object Error]"||R instanceof Error)}e.isError=C;function _(R){return typeof R=="function"}e.isFunction=_;function N(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}e.isPrimitive=N,e.isBuffer=D("./support/isBuffer");function F(R){return Object.prototype.toString.call(R)}function k(R){return R<10?"0"+R.toString(10):R.toString(10)}var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var R=new Date,B=[k(R.getHours()),k(R.getMinutes()),k(R.getSeconds())].join(":");return[R.getDate(),P[R.getMonth()],B].join(" ")}e.log=function(){console.log("%s - %s",j(),e.format.apply(e,arguments))},e.inherits=D("inherits"),e._extend=function(R,B){if(!B||!O(B))return R;for(var U=Object.keys(B),H=U.length;H--;)R[U[H]]=B[U[H]];return R};function K(R,B){return Object.prototype.hasOwnProperty.call(R,B)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(D,I,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(D,I,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=v(g),y=D("babel-runtime/core-js/object/keys"),p=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,u,o,i,r,a={}.hasOwnProperty;h=D("xmlbuilder"),u=D("./defaults").defaults,i=function(n){return typeof n=="string"&&(n.indexOf("&")>=0||n.indexOf(">")>=0||n.indexOf("<")>=0)},r=function(n){return"<![CDATA["+o(n)+"]]>"},o=function(n){return n.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function c(n){var l,t,s;this.options={},t=u["0.2"];for(l in t){if(!a.call(t,l))continue;s=t[l],this.options[l]=s}for(l in n){if(!a.call(n,l))continue;s=n[l],this.options[l]=s}}return c.prototype.buildObject=function(n){var l,t,s,d,m;return l=this.options.attrkey,t=this.options.charkey,(0,p.default)(n).length===1&&this.options.rootName===u["0.2"].rootName?(m=(0,p.default)(n)[0],n=n[m]):m=this.options.rootName,s=function(w){return function(b,E){var A,S,T,O,x,C;if((typeof E=="undefined"?"undefined":(0,f.default)(E))!=="object")w.options.cdata&&i(E)?b.raw(r(E)):b.txt(E);else if(Array.isArray(E))for(O in E){if(!a.call(E,O))continue;S=E[O];for(x in S)T=S[x],b=s(b.ele(x),T).up()}else for(x in E){if(!a.call(E,x))continue;if(S=E[x],x===l){if((typeof S=="undefined"?"undefined":(0,f.default)(S))==="object")for(A in S)C=S[A],b=b.att(A,C)}else if(x===t)w.options.cdata&&i(S)?b=b.raw(r(S)):b=b.txt(S);else if(Array.isArray(S))for(O in S){if(!a.call(S,O))continue;T=S[O],typeof T=="string"?w.options.cdata&&i(T)?b=b.ele(x).raw(r(T)).up():b=b.ele(x,T).up():b=s(b.ele(x),T).up()}else(typeof S=="undefined"?"undefined":(0,f.default)(S))==="object"?b=s(b.ele(x),S).up():typeof S=="string"&&w.options.cdata&&i(S)?b=b.ele(x).raw(r(S)).up():(S==null&&(S=""),b=b.ele(x,S.toString()).up())}return b}}(this),d=h.create(m,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(d,n).end(this.options.renderOpts)},c}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(D,I,e){"use strict";(function(){e.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(D,I,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/get-own-property-names"),p=i(y),v=D("babel-runtime/core-js/object/keys"),h=i(v),u=D("babel-runtime/helpers/typeof"),o=i(u);function i(r){return r&&r.__esModule?r:{default:r}}(function(){"use strict";var r,a,c,n,l,t,s,d,m=function(A,S){return function(){return A.apply(S,arguments)}},w=function(A,S){for(var T in S)b.call(S,T)&&(A[T]=S[T]);function O(){this.constructor=A}return O.prototype=S.prototype,A.prototype=new O,A.__super__=S.prototype,A},b={}.hasOwnProperty;s=D("sax"),c=D("events"),r=D("./bom"),t=D("./processors"),d=D("timers").setImmediate,a=D("./defaults").defaults,n=function(A){return(typeof A=="undefined"?"undefined":(0,o.default)(A))==="object"&&A!=null&&(0,h.default)(A).length===0},l=function(A,S,T){var O,x,C;for(O=0,x=A.length;O<x;O++)C=A[O],S=C(S,T);return S},e.Parser=function(E){w(A,E);function A(S){this.parseStringPromise=m(this.parseStringPromise,this),this.parseString=m(this.parseString,this),this.reset=m(this.reset,this),this.assignOrPush=m(this.assignOrPush,this),this.processAsync=m(this.processAsync,this);var T,O,x;if(!(this instanceof e.Parser))return new e.Parser(S);this.options={},O=a["0.2"];for(T in O){if(!b.call(O,T))continue;x=O[T],this.options[T]=x}for(T in S){if(!b.call(S,T))continue;x=S[T],this.options[T]=x}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(t.normalize)),this.reset()}return A.prototype.processAsync=function(){var S,T;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),d(this.processAsync))}catch(O){if(T=O,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},A.prototype.assignOrPush=function(S,T,O){return T in S?(S[T]instanceof Array||(S[T]=[S[T]]),S[T].push(O)):this.options.explicitArray?S[T]=[O]:S[T]=O},A.prototype.reset=function(){var S,T,O,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(_){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",_)}}(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,T=this.options.charkey,this.saxParser.onopentag=function(C){return function(_){var N,F,k,P,j;if(k={},k[T]="",!C.options.ignoreAttrs){j=_.attributes;for(N in j){if(!b.call(j,N))continue;!(S in k)&&!C.options.mergeAttrs&&(k[S]={}),F=C.options.attrValueProcessors?l(C.options.attrValueProcessors,_.attributes[N],N):_.attributes[N],P=C.options.attrNameProcessors?l(C.options.attrNameProcessors,N):N,C.options.mergeAttrs?C.assignOrPush(k,P,F):k[S][P]=F}}return k["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,_.name):_.name,C.options.xmlns&&(k[C.options.xmlnskey]={uri:_.uri,local:_.local}),x.push(k)}}(this),this.saxParser.onclosetag=function(C){return function(){var _,N,F,k,P,j,K,R,B,U;if(j=x.pop(),P=j["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete j["#name"],j.cdata===!0&&(_=j.cdata,delete j.cdata),B=x[x.length-1],j[T].match(/^\s*$/)&&!_?(N=j[T],delete j[T]):(C.options.trim&&(j[T]=j[T].trim()),C.options.normalize&&(j[T]=j[T].replace(/\s{2,}/g," ").trim()),j[T]=C.options.valueProcessors?l(C.options.valueProcessors,j[T],P):j[T],(0,h.default)(j).length===1&&T in j&&!C.EXPLICIT_CHARKEY&&(j=j[T])),n(j)&&(j=C.options.emptyTag!==""?C.options.emptyTag:N),C.options.validator!=null&&(U="/"+function(){var H,W,V;for(V=[],H=0,W=x.length;H<W;H++)k=x[H],V.push(k["#name"]);return V}().concat(P).join("/"),function(){var H;try{return j=C.options.validator(U,B&&B[P],j)}catch(W){return H=W,C.emit("error",H)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof j=="undefined"?"undefined":(0,o.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(B){B[C.options.childkey]=B[C.options.childkey]||[],K={};for(F in j){if(!b.call(j,F))continue;K[F]=j[F]}B[C.options.childkey].push(K),delete j["#name"],(0,h.default)(j).length===1&&T in j&&!C.EXPLICIT_CHARKEY&&(j=j[T])}}return x.length>0?C.assignOrPush(B,P,j):(C.options.explicitRoot&&(R=j,j={},j[P]=R),C.resultObject=j,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),O=function(C){return function(_){var N,F;if(F=x[x.length-1],F)return F[T]+=_,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||_.replace(/\\n/g,"").trim()!=="")&&(F[C.options.childkey]=F[C.options.childkey]||[],N={"#name":"__text__"},N[T]=_,C.options.normalize&&(N[T]=N[T].replace(/\s{2,}/g," ").trim()),F[C.options.childkey].push(N)),F}}(this),this.saxParser.ontext=O,this.saxParser.oncdata=function(C){return function(_){var N;if(N=O(_),N)return N.cdata=!0}}(this)},A.prototype.parseString=function(S,T){var O;T!=null&&typeof T=="function"&&(this.on("end",function(x){return this.reset(),T(null,x)}),this.on("error",function(x){return this.reset(),T(x)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=r.stripBOM(S),this.options.async?(this.remaining=S,d(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(x){if(O=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw O}else return this.emit("error",O),this.saxParser.errThrown=!0}},A.prototype.parseStringPromise=function(S){return new f.default(function(T){return function(O,x){return T.parseString(S,function(C,_){return C?x(C):O(_)})}}(this))},A}(c),e.parseString=function(E,A,S){var T,O,x;return S!=null?(typeof S=="function"&&(T=S),(typeof A=="undefined"?"undefined":(0,o.default)(A))==="object"&&(O=A)):(typeof A=="function"&&(T=A),O={}),x=new e.Parser(O),x.parseString(E,T)},e.parseStringPromise=function(E,A){var S,T;return(typeof A=="undefined"?"undefined":(0,o.default)(A))==="object"&&(S=A),T=new e.Parser(S),T.parseStringPromise(E)}}).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(D,I,e){"use strict";(function(){"use strict";var g;g=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(f){return f.toLowerCase()},e.firstCharLowerCase=function(f){return f.charAt(0).toLowerCase()+f.slice(1)},e.stripPrefix=function(f){return f.replace(g,"")},e.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},e.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(D,I,e){"use strict";(function(){"use strict";var g,f,y,p,v=function(o,i){for(var r in i)h.call(i,r)&&(o[r]=i[r]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;f=D("./defaults"),g=D("./builder"),y=D("./parser"),p=D("./processors"),e.defaults=f.defaults,e.processors=p,e.ValidationError=function(u){v(o,u);function o(i){this.message=i}return o}(Error),e.Builder=g.Builder,e.Parser=y.Parser,e.parseString=y.parseString,e.parseStringPromise=y.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(D,I,e){"use strict";(function(){I.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(D,I,e){"use strict";(function(){I.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(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/get-prototype-of"),f=u(g),y=D("babel-runtime/helpers/typeof"),p=u(y),v=D("babel-runtime/core-js/object/assign"),h=u(v);function u(o){return o&&o.__esModule?o:{default:o}}(function(){var o,i,r,a,c,n,l,t=[].slice,s={}.hasOwnProperty;o=function(){var m,w,b,E,A,S;if(S=arguments[0],A=2<=arguments.length?t.call(arguments,1):[],c(h.default))h.default.apply(null,arguments);else for(m=0,b=A.length;m<b;m++)if(E=A[m],E!=null)for(w in E){if(!s.call(E,w))continue;S[w]=E[w]}return S},c=function(m){return!!m&&Object.prototype.toString.call(m)==="[object Function]"},n=function(m){var w;return!!m&&((w=typeof m=="undefined"?"undefined":(0,p.default)(m))==="function"||w==="object")},r=function(m){return c(Array.isArray)?Array.isArray(m):Object.prototype.toString.call(m)==="[object Array]"},a=function(m){var w;if(r(m))return!m.length;for(w in m){if(!s.call(m,w))continue;return!1}return!0},l=function(m){var w,b;return n(m)&&(b=(0,f.default)(m))&&(w=b.constructor)&&typeof w=="function"&&w instanceof w&&Function.prototype.toString.call(w)===Function.prototype.toString.call(Object)},i=function(m){return c(m.valueOf)?m.valueOf():m},I.exports.assign=o,I.exports.isFunction=c,I.exports.isObject=n,I.exports.isArray=r,I.exports.isEmpty=a,I.exports.isPlainObject=l,I.exports.getValue=i}).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(D,I,e){"use strict";(function(){I.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h;p=D("./NodeType"),h=D("./XMLNode"),I.exports=v=function(){function u(o,i,r){if(this.parent=o,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),i==null)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(r),this.type=p.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(u.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(u.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(u.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(u.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(u.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(u.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(u.prototype,"specified",{get:function(){return!0}}),u.prototype.clone=function(){return(0,f.default)(this)},u.prototype.toString=function(o){return this.options.writer.attribute(this,this.options.writer.filterOptions(o))},u.prototype.debugInfo=function(o){return o=o||this.name,o==null?"parent: <"+this.parent.name+">":"attribute: {"+o+"}, parent: <"+this.parent.name+">"},u.prototype.isEqualNode=function(o){return o.namespaceURI!==this.namespaceURI||(o.prefix!==this.prefix||o.localName!==this.localName)?!1:!(o.value!==this.value)},u}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;p=D("./NodeType"),h=D("./XMLCharacterData"),I.exports=v=function(i){u(r,i);function r(a,c){if(r.__super__.constructor.call(this,a),c==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=p.CData,this.value=this.stringify.cdata(c)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h=function(i,r){for(var a in r)u.call(r,a)&&(i[a]=r[a]);function c(){this.constructor=i}return c.prototype=r.prototype,i.prototype=new c,i.__super__=r.prototype,i},u={}.hasOwnProperty;v=D("./XMLNode"),I.exports=p=function(o){h(i,o);function i(r){i.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(i.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(i.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),i.prototype.clone=function(){return(0,f.default)(this)},i.prototype.substringData=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.insertData=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.deleteData=function(r,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceData=function(r,a,c){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(r){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.data!==this.data):!1},i}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;p=D("./NodeType"),v=D("./XMLCharacterData"),I.exports=h=function(i){u(r,i);function r(a,c){if(r.__super__.constructor.call(this,a),c==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=p.Comment,this.value=this.stringify.comment(c)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/core-js/object/create"),p=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){var h,u,o;u=D("./XMLDOMErrorHandler"),o=D("./XMLDOMStringList"),I.exports=h=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new u,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=r=(0,p.default)(this.defaultParams)}return Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new o((0,f.default)(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,a){return!0},i.prototype.setParameter=function(r,a){return a!=null?this.params[r]=a:delete this.params[r]},i}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(D,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(){}return f.prototype.handleError=function(y){throw new Error(y)},f}()}).call(void 0)},{}],260:[function(D,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(){}return f.prototype.hasFeature=function(y,p){return!0},f.prototype.createDocumentType=function(y,p,v){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(y,p,v){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(y){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(y,p){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(D,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(y){this.arr=y||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(y){return this.arr[y]||null},f.prototype.contains=function(y){return this.arr.indexOf(y)!==-1},f}()}).call(void 0)},{}],262:[function(D,I,e){"use strict";(function(){var g,f,y,p=function(u,o){for(var i in o)v.call(o,i)&&(u[i]=o[i]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),I.exports=f=function(h){p(u,h);function u(o,i,r,a,c,n){if(u.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(r==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(i));if(!a)throw new Error("Missing DTD attribute type. "+this.debugInfo(i));if(!c)throw new Error("Missing DTD attribute default. "+this.debugInfo(i));if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(i));if(n&&!c.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(i));this.elementName=this.stringify.name(i),this.type=g.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(a),n&&(this.defaultValue=this.stringify.dtdAttDefault(n)),this.defaultValueType=c}return u.prototype.toString=function(o){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(o))},u}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(D,I,e){"use strict";(function(){var g,f,y,p=function(u,o){for(var i in o)v.call(o,i)&&(u[i]=o[i]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),I.exports=f=function(h){p(u,h);function u(o,i,r){if(u.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(i),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return u.prototype.toString=function(o){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(o))},u}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(D,I,e){"use strict";(function(){var g,f,y,p,v=function(o,i){for(var r in i)h.call(i,r)&&(o[r]=i[r]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;p=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),I.exports=f=function(u){v(o,u);function o(i,r,a,c){if(o.__super__.constructor.call(this,i),a==null)throw new Error("Missing DTD entity name. "+this.debugInfo(a));if(c==null)throw new Error("Missing DTD entity value. "+this.debugInfo(a));if(this.pe=!!r,this.name=this.stringify.name(a),this.type=g.EntityDeclaration,!p(c))this.value=this.stringify.dtdEntityValue(c),this.internal=!0;else{if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(a));if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(a));if(this.internal=!1,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(a))}}return Object.defineProperty(o.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(o.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(o.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(o.prototype,"xmlVersion",{get:function(){return null}}),o.prototype.toString=function(i){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(i))},o}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(D,I,e){"use strict";(function(){var g,f,y,p=function(u,o){for(var i in o)v.call(o,i)&&(u[i]=o[i]);function r(){this.constructor=u}return r.prototype=o.prototype,u.prototype=new r,u.__super__=o.prototype,u},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),I.exports=f=function(h){p(u,h);function u(o,i,r){if(u.__super__.constructor.call(this,o),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(i));this.name=this.stringify.name(i),this.type=g.NotationDeclaration,r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return Object.defineProperty(u.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(u.prototype,"systemId",{get:function(){return this.sysID}}),u.prototype.toString=function(o){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(o))},u}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(D,I,e){"use strict";(function(){var g,f,y,p,v=function(o,i){for(var r in i)h.call(i,r)&&(o[r]=i[r]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;p=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),I.exports=f=function(u){v(o,u);function o(i,r,a,c){var n;o.__super__.constructor.call(this,i),p(r)&&(n=r,r=n.version,a=n.encoding,c=n.standalone),r||(r="1.0"),this.type=g.Declaration,this.version=this.stringify.xmlVersion(r),a!=null&&(this.encoding=this.stringify.xmlEncoding(a)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return o.prototype.toString=function(i){return this.options.writer.declaration(this,this.options.writer.filterOptions(i))},o}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i,r=function(n,l){for(var t in l)a.call(l,t)&&(n[t]=l[t]);function s(){this.constructor=n}return s.prototype=l.prototype,n.prototype=new s,n.__super__=l.prototype,n},a={}.hasOwnProperty;i=D("./Utility").isObject,o=D("./XMLNode"),g=D("./NodeType"),f=D("./XMLDTDAttList"),p=D("./XMLDTDEntity"),y=D("./XMLDTDElement"),v=D("./XMLDTDNotation"),u=D("./XMLNamedNodeMap"),I.exports=h=function(c){r(n,c);function n(l,t,s){var d,m,w,b,E,A;if(n.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(b=l.children,m=0,w=b.length;m<w;m++)if(d=b[m],d.type===g.Element){this.name=d.name;break}}this.documentObject=l,i(t)&&(E=t,t=E.pubID,s=E.sysID),s==null&&(A=[t,s],s=A[0],t=A[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(n.prototype,"entities",{get:function(){var t,s,d,m,w;for(m={},w=this.children,s=0,d=w.length;s<d;s++)t=w[s],t.type===g.EntityDeclaration&&!t.pe&&(m[t.name]=t);return new u(m)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,s,d,m,w;for(m={},w=this.children,s=0,d=w.length;s<d;s++)t=w[s],t.type===g.NotationDeclaration&&(m[t.name]=t);return new u(m)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(l,t){var s;return s=new y(this,l,t),this.children.push(s),this},n.prototype.attList=function(l,t,s,d,m){var w;return w=new f(this,l,t,s,d,m),this.children.push(w),this},n.prototype.entity=function(l,t){var s;return s=new p(this,!1,l,t),this.children.push(s),this},n.prototype.pEntity=function(l,t){var s;return s=new p(this,!0,l,t),this.children.push(s),this},n.prototype.notation=function(l,t){var s;return s=new v(this,l,t),this.children.push(s),this},n.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},n.prototype.ele=function(l,t){return this.element(l,t)},n.prototype.att=function(l,t,s,d,m){return this.attList(l,t,s,d,m)},n.prototype.ent=function(l,t){return this.entity(l,t)},n.prototype.pent=function(l,t){return this.pEntity(l,t)},n.prototype.not=function(l,t){return this.notation(l,t)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(l){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},n}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i=function(c,n){for(var l in n)r.call(n,l)&&(c[l]=n[l]);function t(){this.constructor=c}return t.prototype=n.prototype,c.prototype=new t,c.__super__=n.prototype,c},r={}.hasOwnProperty;o=D("./Utility").isPlainObject,y=D("./XMLDOMImplementation"),f=D("./XMLDOMConfiguration"),v=D("./XMLNode"),g=D("./NodeType"),u=D("./XMLStringifier"),h=D("./XMLStringWriter"),I.exports=p=function(a){i(c,a);function c(n){c.__super__.constructor.call(this,null),this.name="#document",this.type=g.Document,this.documentURI=null,this.domConfig=new f,n||(n={}),n.writer||(n.writer=new h),this.options=n,this.stringify=new u(n)}return Object.defineProperty(c.prototype,"implementation",{value:new y}),Object.defineProperty(c.prototype,"doctype",{get:function(){var l,t,s,d;for(d=this.children,t=0,s=d.length;t<s;t++)if(l=d[t],l.type===g.DocType)return l;return null}}),Object.defineProperty(c.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(c.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(c.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(c.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].encoding:null}}),Object.defineProperty(c.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(c.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(c.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(c.prototype,"origin",{get:function(){return null}}),Object.defineProperty(c.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(c.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(c.prototype,"contentType",{get:function(){return null}}),c.prototype.end=function(n){var l;return l={},n?o(n)&&(l=n,n=this.options.writer):n=this.options.writer,n.document(this,n.filterOptions(l))},c.prototype.toString=function(n){return this.options.writer.document(this,this.options.writer.filterOptions(n))},c.prototype.createElement=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createTextNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createComment=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createCDATASection=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createProcessingInstruction=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createAttribute=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createEntityReference=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByTagName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.importNode=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createElementNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createAttributeNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByTagNameNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementById=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.adoptNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.renameNode=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.getElementsByClassName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createEvent=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createNodeIterator=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.createTreeWalker=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},c}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i,r,a,c,n,l,t,s,d,m,w,b,E,A,S,T,O={}.hasOwnProperty;T=D("./Utility"),A=T.isObject,E=T.isFunction,S=T.isPlainObject,b=T.getValue,g=D("./NodeType"),c=D("./XMLDocument"),l=D("./XMLElement"),p=D("./XMLCData"),v=D("./XMLComment"),s=D("./XMLRaw"),w=D("./XMLText"),t=D("./XMLProcessingInstruction"),r=D("./XMLDeclaration"),a=D("./XMLDocType"),h=D("./XMLDTDAttList"),o=D("./XMLDTDEntity"),u=D("./XMLDTDElement"),i=D("./XMLDTDNotation"),y=D("./XMLAttribute"),m=D("./XMLStringifier"),d=D("./XMLStringWriter"),f=D("./WriterState"),I.exports=n=function(){function x(C,_,N){var F;this.name="?xml",this.type=g.Document,C||(C={}),F={},C.writer?S(C.writer)&&(F=C.writer,C.writer=new d):C.writer=new d,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new m(C),this.onDataCallback=_||function(){},this.onEndCallback=N||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 _,N,F,k,P,j,K,R;switch(C.type){case g.CData:this.cdata(C.value);break;case g.Comment:this.comment(C.value);break;case g.Element:F={},K=C.attribs;for(N in K){if(!O.call(K,N))continue;_=K[N],F[N]=_.value}this.node(C.name,F);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(C.value);break;case g.Text:this.text(C.value);break;case g.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(R=C.children,P=0,j=R.length;P<j;P++)k=R[P],this.createChildNode(k),k.type===g.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(C,_,N){var F;if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));return this.openCurrent(),C=b(C),_==null&&(_={}),_=b(_),A(_)||(F=[_,N],N=F[0],_=F[1]),this.currentNode=new l(this,C,_),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},x.prototype.element=function(C,_,N){var F,k,P,j,K,R;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||A(C)||E(C))for(j=this.options.noValidation,this.options.noValidation=!0,R=new c(this.options).element("TEMP_ROOT"),R.element(C),this.options.noValidation=j,K=R.children,k=0,P=K.length;k<P;k++)F=K[k],this.createChildNode(F),F.type===g.Element&&this.up();else this.node(C,_,N);return this},x.prototype.attribute=function(C,_){var N,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=b(C)),A(C))for(N in C){if(!O.call(C,N))continue;F=C[N],this.attribute(N,F)}else E(_)&&(_=_.apply()),this.options.keepNullAttributes&&_==null?this.currentNode.attribs[C]=new y(this,C,""):_!=null&&(this.currentNode.attribs[C]=new y(this,C,_));return this},x.prototype.text=function(C){var _;return this.openCurrent(),_=new w(this,C),this.onData(this.writer.text(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(C){var _;return this.openCurrent(),_=new p(this,C),this.onData(this.writer.cdata(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(C){var _;return this.openCurrent(),_=new v(this,C),this.onData(this.writer.comment(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(C){var _;return this.openCurrent(),_=new s(this,C),this.onData(this.writer.raw(_,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(C,_){var N,F,k,P,j;if(this.openCurrent(),C!=null&&(C=b(C)),_!=null&&(_=b(_)),Array.isArray(C))for(N=0,P=C.length;N<P;N++)F=C[N],this.instruction(F);else if(A(C))for(F in C){if(!O.call(C,F))continue;k=C[F],this.instruction(F,k)}else E(_)&&(_=_.apply()),j=new t(this,C,_),this.onData(this.writer.processingInstruction(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(C,_,N){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new r(this,C,_,N),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(C,_,N){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,_,N),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(C,_){var N;return this.openCurrent(),N=new u(this,C,_),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(C,_,N,F,k){var P;return this.openCurrent(),P=new h(this,C,_,N,F,k),this.onData(this.writer.dtdAttList(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(C,_){var N;return this.openCurrent(),N=new o(this,!1,C,_),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(C,_){var N;return this.openCurrent(),N=new o(this,!0,C,_),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(C,_){var N;return this.openCurrent(),N=new i(this,C,_),this.onData(this.writer.dtdNotation(N,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 _,N,F,k;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===g.Element&&(this.root=C),N="",C.type===g.Element){this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,k=C.attribs;for(F in k){if(!O.call(k,F))continue;_=k[F],N+=this.writer.attribute(_,this.writerOptions,this.currentLevel)}N+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?N+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(N+=' SYSTEM "'+C.sysID+'"'),C.children?(N+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,N+=">"),N+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),C.isOpen=!0}},x.prototype.closeNode=function(C){var _;if(!C.isClosed)return _="",this.writerOptions.state=f.CloseTag,C.type===g.Element?_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):_=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(_,this.currentLevel),C.isClosed=!0},x.prototype.onData=function(C,_){return this.documentStarted=!0,this.onDataCallback(C,_+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,_,N){return this.node(C,_,N)},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,_){return this.instruction(C,_)},x.prototype.dec=function(C,_,N){return this.declaration(C,_,N)},x.prototype.dtd=function(C,_,N){return this.doctype(C,_,N)},x.prototype.e=function(C,_,N){return this.element(C,_,N)},x.prototype.n=function(C,_,N){return this.node(C,_,N)},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,_){return this.instruction(C,_)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(C,_){return this.entity(C,_)},x.prototype.pent=function(C,_){return this.pEntity(C,_)},x.prototype.not=function(C,_){return this.notation(C,_)},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(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;h=D("./XMLNode"),p=D("./NodeType"),I.exports=v=function(i){u(r,i);function r(a){r.__super__.constructor.call(this,a),this.type=p.Dummy}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return""},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u,o,i,r,a,c,n=function(s,d){for(var m in d)l.call(d,m)&&(s[m]=d[m]);function w(){this.constructor=s}return w.prototype=d.prototype,s.prototype=new w,s.__super__=d.prototype,s},l={}.hasOwnProperty;c=D("./Utility"),a=c.isObject,r=c.isFunction,i=c.getValue,o=D("./XMLNode"),p=D("./NodeType"),v=D("./XMLAttribute"),u=D("./XMLNamedNodeMap"),I.exports=h=function(t){n(s,t);function s(d,m,w){var b,E,A,S;if(s.__super__.constructor.call(this,d),m==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(m),this.type=p.Element,this.attribs={},this.schemaTypeInfo=null,w!=null&&this.attribute(w),d.type===p.Document&&(this.isRoot=!0,this.documentObject=d,d.rootObject=this,d.children)){for(S=d.children,E=0,A=S.length;E<A;E++)if(b=S[E],b.type===p.DocType){b.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 u(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var d,m,w,b;w=(0,f.default)(this),w.isRoot&&(w.documentObject=null),w.attribs={},b=this.attribs;for(m in b){if(!l.call(b,m))continue;d=b[m],w.attribs[m]=d.clone()}return w.children=[],this.children.forEach(function(E){var A;return A=E.clone(),A.parent=w,w.children.push(A)}),w},s.prototype.attribute=function(d,m){var w,b;if(d!=null&&(d=i(d)),a(d))for(w in d){if(!l.call(d,w))continue;b=d[w],this.attribute(w,b)}else r(m)&&(m=m.apply()),this.options.keepNullAttributes&&m==null?this.attribs[d]=new v(this,d,""):m!=null&&(this.attribs[d]=new v(this,d,m));return this},s.prototype.removeAttribute=function(d){var m,w,b;if(d==null)throw new Error("Missing attribute name. "+this.debugInfo());if(d=i(d),Array.isArray(d))for(w=0,b=d.length;w<b;w++)m=d[w],delete this.attribs[m];else delete this.attribs[d];return this},s.prototype.toString=function(d){return this.options.writer.element(this,this.options.writer.filterOptions(d))},s.prototype.att=function(d,m){return this.attribute(d,m)},s.prototype.a=function(d,m){return this.attribute(d,m)},s.prototype.getAttribute=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d].value:null},s.prototype.setAttribute=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(d){return this.attribs.hasOwnProperty(d)?this.attribs[d]:null},s.prototype.setAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(d,m,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(d){return this.attribs.hasOwnProperty(d)},s.prototype.hasAttributeNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(d,m){return this.attribs.hasOwnProperty(d)?this.attribs[d].isId:m},s.prototype.setIdAttributeNS=function(d,m,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(d,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(d){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(d){var m,w,b;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(d))return!1;if(d.namespaceURI!==this.namespaceURI)return!1;if(d.prefix!==this.prefix)return!1;if(d.localName!==this.localName)return!1;if(d.attribs.length!==this.attribs.length)return!1;for(m=w=0,b=this.attribs.length-1;0<=b?w<=b:w>=b;m=0<=b?++w:--w)if(!this.attribs[m].isEqualNode(d.attribs[m]))return!1;return!0},s}(o)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p;I.exports=p=function(){function v(h){this.nodes=h}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(h){return this.nodes[h]},v.prototype.setNamedItem=function(h){var u;return u=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,u||null},v.prototype.removeNamedItem=function(h){var u;return u=this.nodes[h],delete this.nodes[h],u||null},v.prototype.item=function(h){return this.nodes[(0,f.default)(this.nodes)[h]]||null},v.prototype.getNamedItemNS=function(h,u){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(h,u){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i,r,a,c,n,l,t,s,d,m,w,b={}.hasOwnProperty;w=D("./Utility"),m=w.isObject,d=w.isFunction,s=w.isEmpty,t=w.getValue,o=null,y=null,p=null,v=null,h=null,n=null,l=null,c=null,u=null,f=null,a=null,i=null,g=null,I.exports=r=function(){function E(A){this.parent=A,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,o||(o=D("./XMLElement"),y=D("./XMLCData"),p=D("./XMLComment"),v=D("./XMLDeclaration"),h=D("./XMLDocType"),n=D("./XMLRaw"),l=D("./XMLText"),c=D("./XMLProcessingInstruction"),u=D("./XMLDummy"),f=D("./NodeType"),a=D("./XMLNodeList"),i=D("./XMLNamedNodeMap"),g=D("./DocumentPosition"))}return Object.defineProperty(E.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(E.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(E.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new a(this.children)),this.childNodeList}}),Object.defineProperty(E.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(E.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(E.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(E.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(E.prototype,"textContent",{get:function(){var S,T,O,x,C;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(C="",x=this.children,T=0,O=x.length;T<O;T++)S=x[T],S.textContent&&(C+=S.textContent);return C}else return null},set:function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),E.prototype.setParent=function(A){var S,T,O,x,C;for(this.parent=A,A&&(this.options=A.options,this.stringify=A.stringify),x=this.children,C=[],T=0,O=x.length;T<O;T++)S=x[T],C.push(S.setParent(this));return C},E.prototype.element=function(A,S,T){var O,x,C,_,N,F,k,P,j,K,R;if(F=null,S===null&&T==null&&(j=[{},null],S=j[0],T=j[1]),S==null&&(S={}),S=t(S),m(S)||(K=[S,T],T=K[0],S=K[1]),A!=null&&(A=t(A)),Array.isArray(A))for(C=0,k=A.length;C<k;C++)x=A[C],F=this.element(x);else if(d(A))F=this.element(A.apply());else if(m(A))for(N in A){if(!b.call(A,N))continue;if(R=A[N],d(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(N.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&s(R))F=this.dummy();else if(m(R)&&s(R))F=this.element(N);else if(!this.options.keepNullNodes&&R==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(_=0,P=R.length;_<P;_++)x=R[_],O={},O[N]=x,F=this.element(O);else m(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?F=this.element(R):(F=this.element(N),F.element(R)):F=this.element(N,R)}else!this.options.keepNullNodes&&T===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&A.indexOf(this.stringify.convertTextKey)===0?F=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&A.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&A.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&A.indexOf(this.stringify.convertRawKey)===0?F=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&A.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(A.substr(this.stringify.convertPIKey.length),T):F=this.node(A,S,T);if(F==null)throw new Error("Could not create any elements with: "+A+". "+this.debugInfo());return F},E.prototype.insertBefore=function(A,S,T){var O,x,C,_,N;if(A!=null?A.type:void 0)return C=A,_=S,C.setParent(this),_?(x=children.indexOf(_),N=children.splice(x),children.push(C),Array.prototype.push.apply(children,N)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),N=this.parent.children.splice(x),O=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,N),O},E.prototype.insertAfter=function(A,S,T){var O,x,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),C=this.parent.children.splice(x+1),O=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,C),O},E.prototype.remove=function(){var A,S;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return A=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[A,A-A+1].concat(S=[])),this.parent},E.prototype.node=function(A,S,T){var O,x;return A!=null&&(A=t(A)),S||(S={}),S=t(S),m(S)||(x=[S,T],T=x[0],S=x[1]),O=new o(this,A,S),T!=null&&O.text(T),this.children.push(O),O},E.prototype.text=function(A){var S;return m(A)&&this.element(A),S=new l(this,A),this.children.push(S),this},E.prototype.cdata=function(A){var S;return S=new y(this,A),this.children.push(S),this},E.prototype.comment=function(A){var S;return S=new p(this,A),this.children.push(S),this},E.prototype.commentBefore=function(A){var S,T,O;return T=this.parent.children.indexOf(this),O=this.parent.children.splice(T),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,O),this},E.prototype.commentAfter=function(A){var S,T,O;return T=this.parent.children.indexOf(this),O=this.parent.children.splice(T+1),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,O),this},E.prototype.raw=function(A){var S;return S=new n(this,A),this.children.push(S),this},E.prototype.dummy=function(){var A;return A=new u(this),A},E.prototype.instruction=function(A,S){var T,O,x,C,_;if(A!=null&&(A=t(A)),S!=null&&(S=t(S)),Array.isArray(A))for(C=0,_=A.length;C<_;C++)T=A[C],this.instruction(T);else if(m(A))for(T in A){if(!b.call(A,T))continue;O=A[T],this.instruction(T,O)}else d(S)&&(S=S.apply()),x=new c(this,A,S),this.children.push(x);return this},E.prototype.instructionBefore=function(A,S){var T,O,x;return O=this.parent.children.indexOf(this),x=this.parent.children.splice(O),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.instructionAfter=function(A,S){var T,O,x;return O=this.parent.children.indexOf(this),x=this.parent.children.splice(O+1),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.declaration=function(A,S,T){var O,x;return O=this.document(),x=new v(O,A,S,T),O.children.length===0?O.children.unshift(x):O.children[0].type===f.Declaration?O.children[0]=x:O.children.unshift(x),O.root()||O},E.prototype.dtd=function(A,S){var T,O,x,C,_,N,F,k,P,j;for(O=this.document(),x=new h(O,A,S),P=O.children,C=_=0,F=P.length;_<F;C=++_)if(T=P[C],T.type===f.DocType)return O.children[C]=x,x;for(j=O.children,C=N=0,k=j.length;N<k;C=++N)if(T=j[C],T.isRoot)return O.children.splice(C,0,x),x;return O.children.push(x),x},E.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},E.prototype.root=function(){var A;for(A=this;A;){if(A.type===f.Document)return A.rootObject;if(A.isRoot)return A;A=A.parent}},E.prototype.document=function(){var A;for(A=this;A;){if(A.type===f.Document)return A;A=A.parent}},E.prototype.end=function(A){return this.document().end(A)},E.prototype.prev=function(){var A;if(A=this.parent.children.indexOf(this),A<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[A-1]},E.prototype.next=function(){var A;if(A=this.parent.children.indexOf(this),A===-1||A===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[A+1]},E.prototype.importDocument=function(A){var S;return S=A.root().clone(),S.parent=this,S.isRoot=!1,this.children.push(S),this},E.prototype.debugInfo=function(A){var S,T;return A=A||this.name,A==null&&!((S=this.parent)!=null?S.name:void 0)?"":A==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+A+">, parent: <"+this.parent.name+">":"node: <"+A+">"},E.prototype.ele=function(A,S,T){return this.element(A,S,T)},E.prototype.nod=function(A,S,T){return this.node(A,S,T)},E.prototype.txt=function(A){return this.text(A)},E.prototype.dat=function(A){return this.cdata(A)},E.prototype.com=function(A){return this.comment(A)},E.prototype.ins=function(A,S){return this.instruction(A,S)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(A,S,T){return this.declaration(A,S,T)},E.prototype.e=function(A,S,T){return this.element(A,S,T)},E.prototype.n=function(A,S,T){return this.node(A,S,T)},E.prototype.t=function(A){return this.text(A)},E.prototype.d=function(A){return this.cdata(A)},E.prototype.c=function(A){return this.comment(A)},E.prototype.r=function(A){return this.raw(A)},E.prototype.i=function(A,S){return this.instruction(A,S)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(A){return this.importDocument(A)},E.prototype.replaceChild=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.removeChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.appendChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.hasChildNodes=function(){return this.children.length!==0},E.prototype.cloneNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isSupported=function(A,S){return!0},E.prototype.hasAttributes=function(){return this.attribs.length!==0},E.prototype.compareDocumentPosition=function(A){var S,T;return S=this,S===A?0:this.document()!==A.document()?(T=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?T|=g.Preceding:T|=g.Following,T):S.isAncestor(A)?g.Contains|g.Preceding:S.isDescendant(A)?g.Contains|g.Following:S.isPreceding(A)?g.Preceding:g.Following},E.prototype.isSameNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupPrefix=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isDefaultNamespace=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupNamespaceURI=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isEqualNode=function(A){var S,T,O;if(A.nodeType!==this.nodeType)return!1;if(A.children.length!==this.children.length)return!1;for(S=T=0,O=this.children.length-1;0<=O?T<=O:T>=O;S=0<=O?++T:--T)if(!this.children[S].isEqualNode(A.children[S]))return!1;return!0},E.prototype.getFeature=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.setUserData=function(A,S,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getUserData=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.contains=function(A){return A?A===this||this.isDescendant(A):!1},E.prototype.isDescendant=function(A){var S,T,O,x,C;for(C=this.children,O=0,x=C.length;O<x;O++){if(S=C[O],A===S)return!0;if(T=S.isDescendant(A),T)return!0}return!1},E.prototype.isAncestor=function(A){return A.isDescendant(this)},E.prototype.isPreceding=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S<T},E.prototype.isFollowing=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S>T},E.prototype.treePosition=function(A){var S,T;return T=0,S=!1,this.foreachTreeNode(this.document(),function(O){if(T++,!S&&O===A)return S=!0}),S?T:-1},E.prototype.foreachTreeNode=function(A,S){var T,O,x,C,_;for(A||(A=this.document()),C=A.children,O=0,x=C.length;O<x;O++){if(T=C[O],_=S(T))return _;if(_=this.foreachTreeNode(T,S),_)return _}},E}()}).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(D,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(y){this.nodes=y}return Object.defineProperty(f.prototype,"length",{get:function(){return this.nodes.length||0}}),f.prototype.clone=function(){return this.nodes=null},f.prototype.item=function(y){return this.nodes[y]||null},f}()}).call(void 0)},{}],275:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;p=D("./NodeType"),v=D("./XMLCharacterData"),I.exports=h=function(i){u(r,i);function r(a,c,n){if(r.__super__.constructor.call(this,a),c==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=p.ProcessingInstruction,this.target=this.stringify.insTarget(c),this.name=this.target,n&&(this.value=this.stringify.insValue(n))}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},r.prototype.isEqualNode=function(a){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;p=D("./NodeType"),v=D("./XMLNode"),I.exports=h=function(i){u(r,i);function r(a,c){if(r.__super__.constructor.call(this,a),c==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=p.Raw,this.value=this.stringify.raw(c)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(D,I,e){"use strict";(function(){var g,f,y,p,v=function(o,i){for(var r in i)h.call(i,r)&&(o[r]=i[r]);function a(){this.constructor=o}return a.prototype=i.prototype,o.prototype=new a,o.__super__=i.prototype,o},h={}.hasOwnProperty;g=D("./NodeType"),p=D("./XMLWriterBase"),f=D("./WriterState"),I.exports=y=function(u){v(o,u);function o(i,r){this.stream=i,o.__super__.constructor.call(this,r)}return o.prototype.endline=function(i,r,a){return i.isLastRootNode&&r.state===f.CloseTag?"":o.__super__.endline.call(this,i,r,a)},o.prototype.document=function(i,r){var a,c,n,l,t,s,d,m,w;for(d=i.children,c=n=0,t=d.length;n<t;c=++n)a=d[c],a.isLastRootNode=c===i.children.length-1;for(r=this.filterOptions(r),m=i.children,w=[],l=0,s=m.length;l<s;l++)a=m[l],w.push(this.writeChildNode(a,r,0));return w},o.prototype.attribute=function(i,r,a){return this.stream.write(o.__super__.attribute.call(this,i,r,a))},o.prototype.cdata=function(i,r,a){return this.stream.write(o.__super__.cdata.call(this,i,r,a))},o.prototype.comment=function(i,r,a){return this.stream.write(o.__super__.comment.call(this,i,r,a))},o.prototype.declaration=function(i,r,a){return this.stream.write(o.__super__.declaration.call(this,i,r,a))},o.prototype.docType=function(i,r,a){var c,n,l,t;if(a||(a=0),this.openNode(i,r,a),r.state=f.OpenTag,this.stream.write(this.indent(i,r,a)),this.stream.write("<!DOCTYPE "+i.root().name),i.pubID&&i.sysID?this.stream.write(' PUBLIC "'+i.pubID+'" "'+i.sysID+'"'):i.sysID&&this.stream.write(' SYSTEM "'+i.sysID+'"'),i.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(i,r,a)),r.state=f.InsideTag,t=i.children,n=0,l=t.length;n<l;n++)c=t[n],this.writeChildNode(c,r,a+1);r.state=f.CloseTag,this.stream.write("]")}return r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+">"),this.stream.write(this.endline(i,r,a)),r.state=f.None,this.closeNode(i,r,a)},o.prototype.element=function(i,r,a){var c,n,l,t,s,d,m,w,b,E;a||(a=0),this.openNode(i,r,a),r.state=f.OpenTag,this.stream.write(this.indent(i,r,a)+"<"+i.name),b=i.attribs;for(m in b){if(!h.call(b,m))continue;c=b[m],this.attribute(c,r,a)}if(l=i.children.length,t=l===0?null:i.children[0],l===0||i.children.every(function(A){return(A.type===g.Text||A.type===g.Raw)&&A.value===""}))r.allowEmpty?(this.stream.write(">"),r.state=f.CloseTag,this.stream.write("</"+i.name+">")):(r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&l===1&&(t.type===g.Text||t.type===g.Raw)&&t.value!=null)this.stream.write(">"),r.state=f.InsideTag,r.suppressPrettyCount++,w=!0,this.writeChildNode(t,r,a+1),r.suppressPrettyCount--,w=!1,r.state=f.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,r,a)),r.state=f.InsideTag,E=i.children,s=0,d=E.length;s<d;s++)n=E[s],this.writeChildNode(n,r,a+1);r.state=f.CloseTag,this.stream.write(this.indent(i,r,a)+"</"+i.name+">")}return this.stream.write(this.endline(i,r,a)),r.state=f.None,this.closeNode(i,r,a)},o.prototype.processingInstruction=function(i,r,a){return this.stream.write(o.__super__.processingInstruction.call(this,i,r,a))},o.prototype.raw=function(i,r,a){return this.stream.write(o.__super__.raw.call(this,i,r,a))},o.prototype.text=function(i,r,a){return this.stream.write(o.__super__.text.call(this,i,r,a))},o.prototype.dtdAttList=function(i,r,a){return this.stream.write(o.__super__.dtdAttList.call(this,i,r,a))},o.prototype.dtdElement=function(i,r,a){return this.stream.write(o.__super__.dtdElement.call(this,i,r,a))},o.prototype.dtdEntity=function(i,r,a){return this.stream.write(o.__super__.dtdEntity.call(this,i,r,a))},o.prototype.dtdNotation=function(i,r,a){return this.stream.write(o.__super__.dtdNotation.call(this,i,r,a))},o}(p)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(D,I,e){"use strict";(function(){var g,f,y=function(h,u){for(var o in u)p.call(u,o)&&(h[o]=u[o]);function i(){this.constructor=h}return i.prototype=u.prototype,h.prototype=new i,h.__super__=u.prototype,h},p={}.hasOwnProperty;f=D("./XMLWriterBase"),I.exports=g=function(v){y(h,v);function h(u){h.__super__.constructor.call(this,u)}return h.prototype.document=function(u,o){var i,r,a,c,n;for(o=this.filterOptions(o),c="",n=u.children,r=0,a=n.length;r<a;r++)i=n[r],c+=this.writeChildNode(i,o,0);return o.pretty&&c.slice(-o.newline.length)===o.newline&&(c=c.slice(0,-o.newline.length)),c},h}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(D,I,e){"use strict";(function(){var g,f=function(v,h){return function(){return v.apply(h,arguments)}},y={}.hasOwnProperty;I.exports=g=function(){function p(v){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var h,u,o;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),u=v.stringify||{};for(h in u){if(!y.call(u,h))continue;o=u[h],this[h]=o}}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 h,u;if(this.options.noValidation)return v;if(h="",this.options.version==="1.0"){if(h=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=v.match(h))throw new Error("Invalid character in string: "+v+" at index "+u.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=v.match(h)))throw new Error("Invalid character in string: "+v+" at index "+u.index);return v},p.prototype.assertLegalName=function(v){var h;if(this.options.noValidation)return v;if(this.assertLegalChar(v),h=/^([: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(h))throw new Error("Invalid character in name");return v},p.prototype.textEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},p.prototype.attEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},p}()}).call(void 0)},{}],280:[function(D,I,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(p){return p&&p.__esModule?p:{default:p}}(function(){var p,v,h,u=function(r,a){for(var c in a)o.call(a,c)&&(r[c]=a[c]);function n(){this.constructor=r}return n.prototype=a.prototype,r.prototype=new n,r.__super__=a.prototype,r},o={}.hasOwnProperty;p=D("./NodeType"),v=D("./XMLCharacterData"),I.exports=h=function(i){u(r,i);function r(a,c){if(r.__super__.constructor.call(this,a),c==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=p.Text,this.value=this.stringify.text(c)}return Object.defineProperty(r.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(r.prototype,"wholeText",{get:function(){var c,n,l;for(l="",n=this.previousSibling;n;)l=n.data+l,n=n.previousSibling;for(l+=this.data,c=this.nextSibling;c;)l=l+c.data,c=c.nextSibling;return l}}),r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},r.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i,r,a,c,n,l,t,s,d,m={}.hasOwnProperty;d=D("./Utility").assign,g=D("./NodeType"),i=D("./XMLDeclaration"),r=D("./XMLDocType"),y=D("./XMLCData"),p=D("./XMLComment"),c=D("./XMLElement"),l=D("./XMLRaw"),t=D("./XMLText"),n=D("./XMLProcessingInstruction"),a=D("./XMLDummy"),v=D("./XMLDTDAttList"),h=D("./XMLDTDElement"),u=D("./XMLDTDEntity"),o=D("./XMLDTDNotation"),f=D("./WriterState"),I.exports=s=function(){function w(b){var E,A,S;b||(b={}),this.options=b,A=b.writer||{};for(E in A){if(!m.call(A,E))continue;S=A[E],this["_"+E]=this[E],this[E]=S}}return w.prototype.filterOptions=function(b){var E,A,S,T,O,x,C,_;return b||(b={}),b=d({},this.options,b),E={writer:this},E.pretty=b.pretty||!1,E.allowEmpty=b.allowEmpty||!1,E.indent=(A=b.indent)!=null?A:" ",E.newline=(S=b.newline)!=null?S:`
|
|
|
`,E.offset=(T=b.offset)!=null?T:0,E.dontPrettyTextNodes=(O=(x=b.dontPrettyTextNodes)!=null?x:b.dontprettytextnodes)!=null?O:0,E.spaceBeforeSlash=(C=(_=b.spaceBeforeSlash)!=null?_:b.spacebeforeslash)!=null?C:"",E.spaceBeforeSlash===!0&&(E.spaceBeforeSlash=" "),E.suppressPrettyCount=0,E.user={},E.state=f.None,E},w.prototype.indent=function(b,E,A){var S;return!E.pretty||E.suppressPrettyCount?"":E.pretty&&(S=(A||0)+E.offset+1,S>0)?new Array(S).join(E.indent):""},w.prototype.endline=function(b,E,A){return!E.pretty||E.suppressPrettyCount?"":E.newline},w.prototype.attribute=function(b,E,A){var S;return this.openAttribute(b,E,A),S=" "+b.name+'="'+b.value+'"',this.closeAttribute(b,E,A),S},w.prototype.cdata=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<![CDATA[",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+="]]>"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.comment=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!-- ",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=" -->"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.declaration=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?xml",E.state=f.InsideTag,S+=' version="'+b.version+'"',b.encoding!=null&&(S+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(S+=' standalone="'+b.standalone+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.docType=function(b,E,A){var S,T,O,x,C;if(A||(A=0),this.openNode(b,E,A),E.state=f.OpenTag,x=this.indent(b,E,A),x+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?x+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(x+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(x+=" [",x+=this.endline(b,E,A),E.state=f.InsideTag,C=b.children,T=0,O=C.length;T<O;T++)S=C[T],x+=this.writeChildNode(S,E,A+1);E.state=f.CloseTag,x+="]"}return E.state=f.CloseTag,x+=E.spaceBeforeSlash+">",x+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),x},w.prototype.element=function(b,E,A){var S,T,O,x,C,_,N,F,k,P,j,K,R,B;A||(A=0),P=!1,j="",this.openNode(b,E,A),E.state=f.OpenTag,j+=this.indent(b,E,A)+"<"+b.name,K=b.attribs;for(k in K){if(!m.call(K,k))continue;S=K[k],j+=this.attribute(S,E,A)}if(O=b.children.length,x=O===0?null:b.children[0],O===0||b.children.every(function(U){return(U.type===g.Text||U.type===g.Raw)&&U.value===""}))E.allowEmpty?(j+=">",E.state=f.CloseTag,j+="</"+b.name+">"+this.endline(b,E,A)):(E.state=f.CloseTag,j+=E.spaceBeforeSlash+"/>"+this.endline(b,E,A));else if(E.pretty&&O===1&&(x.type===g.Text||x.type===g.Raw)&&x.value!=null)j+=">",E.state=f.InsideTag,E.suppressPrettyCount++,P=!0,j+=this.writeChildNode(x,E,A+1),E.suppressPrettyCount--,P=!1,E.state=f.CloseTag,j+="</"+b.name+">"+this.endline(b,E,A);else{if(E.dontPrettyTextNodes){for(R=b.children,C=0,N=R.length;C<N;C++)if(T=R[C],(T.type===g.Text||T.type===g.Raw)&&T.value!=null){E.suppressPrettyCount++,P=!0;break}}for(j+=">"+this.endline(b,E,A),E.state=f.InsideTag,B=b.children,_=0,F=B.length;_<F;_++)T=B[_],j+=this.writeChildNode(T,E,A+1);E.state=f.CloseTag,j+=this.indent(b,E,A)+"</"+b.name+">",P&&E.suppressPrettyCount--,j+=this.endline(b,E,A),E.state=f.None}return this.closeNode(b,E,A),j},w.prototype.writeChildNode=function(b,E,A){switch(b.type){case g.CData:return this.cdata(b,E,A);case g.Comment:return this.comment(b,E,A);case g.Element:return this.element(b,E,A);case g.Raw:return this.raw(b,E,A);case g.Text:return this.text(b,E,A);case g.ProcessingInstruction:return this.processingInstruction(b,E,A);case g.Dummy:return"";case g.Declaration:return this.declaration(b,E,A);case g.DocType:return this.docType(b,E,A);case g.AttributeDeclaration:return this.dtdAttList(b,E,A);case g.ElementDeclaration:return this.dtdElement(b,E,A);case g.EntityDeclaration:return this.dtdEntity(b,E,A);case g.NotationDeclaration:return this.dtdNotation(b,E,A);default:throw new Error("Unknown XML node type: "+b.constructor.name)}},w.prototype.processingInstruction=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?",E.state=f.InsideTag,S+=b.target,b.value&&(S+=" "+b.value),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.raw=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.text=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdAttList=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ATTLIST",E.state=f.InsideTag,S+=" "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(S+=" "+b.defaultValueType),b.defaultValue&&(S+=' "'+b.defaultValue+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdElement=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ELEMENT",E.state=f.InsideTag,S+=" "+b.name+" "+b.value,E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdEntity=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ENTITY",E.state=f.InsideTag,b.pe&&(S+=" %"),S+=" "+b.name,b.value?S+=' "'+b.value+'"':(b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.nData&&(S+=" NDATA "+b.nData)),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdNotation=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!NOTATION",E.state=f.InsideTag,S+=" "+b.name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?S+=' PUBLIC "'+b.pubID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.openNode=function(b,E,A){},w.prototype.closeNode=function(b,E,A){},w.prototype.openAttribute=function(b,E,A){},w.prototype.closeAttribute=function(b,E,A){},w}()}).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(D,I,e){"use strict";(function(){var g,f,y,p,v,h,u,o,i,r;r=D("./Utility"),o=r.assign,i=r.isFunction,y=D("./XMLDOMImplementation"),p=D("./XMLDocument"),v=D("./XMLDocumentCB"),u=D("./XMLStringWriter"),h=D("./XMLStreamWriter"),g=D("./NodeType"),f=D("./WriterState"),I.exports.create=function(a,c,n,l){var t,s;if(a==null)throw new Error("Root element needs a name.");return l=o({},c,n,l),t=new p(l),s=t.element(a),l.headless||(t.declaration(l),(l.pubID!=null||l.sysID!=null)&&t.dtd(l)),s},I.exports.begin=function(a,c,n){var l;return i(a)&&(l=[a,c],c=l[0],n=l[1],a={}),c?new v(a,c,n):new p(a)},I.exports.stringWriter=function(a){return new u(a)},I.exports.streamWriter=function(a,c){return new h(a,c)},I.exports.implementation=new y,I.exports.nodeType=g,I.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(D,I,e){I.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var y={},p=0;p<arguments.length;p++){var v=arguments[p];for(var h in v)g.call(v,h)&&(y[h]=v[h])}return y}},{}],284:[function(D,I,e){"use strict";var g=D("buffer").Buffer,f=D("./sha"),y=D("./md5"),p={sha1:f,md5:y},v=64,h=g.alloc(v);h.fill(0);function u(r,a,c){g.isBuffer(a)||(a=g.from(a)),g.isBuffer(c)||(c=g.from(c)),a.length>v?a=r(a):a.length<v&&(a=g.concat([a,h],v));for(var n=g.alloc(v),l=g.alloc(v),t=0;t<v;t++)n[t]=a[t]^54,l[t]=a[t]^92;var s=r(g.concat([n,c]));return r(g.concat([l,s]))}function o(r,a){r=r||"sha1";var c=p[r],n=[],l=0;return c||i("algorithm:",r,"is not yet supported"),{update:function(s){return g.isBuffer(s)||(s=g.from(s)),n.push(s),l+=s.length,this},digest:function(s){var d=g.concat(n),m=a?u(c,a,d):c(d);return n=null,s?m.toString(s):m}}}function i(){var r=[].slice.call(arguments).join(" ");throw new Error([r,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}e.createHash=function(r){return o(r)},e.createHmac=function(r,a){return o(r,a)},e.createCredentials=function(){i("sorry,createCredentials is not implemented yet")},e.createCipher=function(){i("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){i("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){i("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){i("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){i("sorry,createSign is not implemented yet")},e.createVerify=function(){i("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){i("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){i("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(D,I,e){"use strict";var g=D("buffer").Buffer,f=4,y=g.alloc(f);y.fill(0);var p=8;function v(o,i){if(o.length%f!==0){var r=o.length+(f-o.length%f);o=g.concat([o,y],r)}for(var a=[],c=i?o.readInt32BE:o.readInt32LE,n=0;n<o.length;n+=f)a.push(c.call(o,n));return a}function h(o,i,r){for(var a=g.alloc(i),c=r?a.writeInt32BE:a.writeInt32LE,n=0;n<o.length;n++)c.call(a,o[n],n*4,!0);return a}function u(o,i,r,a){g.isBuffer(o)||(o=g.from(o));var c=i(v(o,a),o.length*p);return h(c,r,a)}I.exports={hash:u}},{buffer:73}],286:[function(D,I,e){"use strict";var g=D("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function y(a,c){a[c>>5]|=128<<c%32,a[(c+64>>>9<<4)+14]=c;for(var n=1732584193,l=-271733879,t=-1732584194,s=271733878,d=0;d<a.length;d+=16){var m=n,w=l,b=t,E=s;n=v(n,l,t,s,a[d+0],7,-680876936),s=v(s,n,l,t,a[d+1],12,-389564586),t=v(t,s,n,l,a[d+2],17,606105819),l=v(l,t,s,n,a[d+3],22,-1044525330),n=v(n,l,t,s,a[d+4],7,-176418897),s=v(s,n,l,t,a[d+5],12,1200080426),t=v(t,s,n,l,a[d+6],17,-1473231341),l=v(l,t,s,n,a[d+7],22,-45705983),n=v(n,l,t,s,a[d+8],7,1770035416),s=v(s,n,l,t,a[d+9],12,-1958414417),t=v(t,s,n,l,a[d+10],17,-42063),l=v(l,t,s,n,a[d+11],22,-1990404162),n=v(n,l,t,s,a[d+12],7,1804603682),s=v(s,n,l,t,a[d+13],12,-40341101),t=v(t,s,n,l,a[d+14],17,-1502002290),l=v(l,t,s,n,a[d+15],22,1236535329),n=h(n,l,t,s,a[d+1],5,-165796510),s=h(s,n,l,t,a[d+6],9,-1069501632),t=h(t,s,n,l,a[d+11],14,643717713),l=h(l,t,s,n,a[d+0],20,-373897302),n=h(n,l,t,s,a[d+5],5,-701558691),s=h(s,n,l,t,a[d+10],9,38016083),t=h(t,s,n,l,a[d+15],14,-660478335),l=h(l,t,s,n,a[d+4],20,-405537848),n=h(n,l,t,s,a[d+9],5,568446438),s=h(s,n,l,t,a[d+14],9,-1019803690),t=h(t,s,n,l,a[d+3],14,-187363961),l=h(l,t,s,n,a[d+8],20,1163531501),n=h(n,l,t,s,a[d+13],5,-1444681467),s=h(s,n,l,t,a[d+2],9,-51403784),t=h(t,s,n,l,a[d+7],14,1735328473),l=h(l,t,s,n,a[d+12],20,-1926607734),n=u(n,l,t,s,a[d+5],4,-378558),s=u(s,n,l,t,a[d+8],11,-2022574463),t=u(t,s,n,l,a[d+11],16,1839030562),l=u(l,t,s,n,a[d+14],23,-35309556),n=u(n,l,t,s,a[d+1],4,-1530992060),s=u(s,n,l,t,a[d+4],11,1272893353),t=u(t,s,n,l,a[d+7],16,-155497632),l=u(l,t,s,n,a[d+10],23,-1094730640),n=u(n,l,t,s,a[d+13],4,681279174),s=u(s,n,l,t,a[d+0],11,-358537222),t=u(t,s,n,l,a[d+3],16,-722521979),l=u(l,t,s,n,a[d+6],23,76029189),n=u(n,l,t,s,a[d+9],4,-640364487),s=u(s,n,l,t,a[d+12],11,-421815835),t=u(t,s,n,l,a[d+15],16,530742520),l=u(l,t,s,n,a[d+2],23,-995338651),n=o(n,l,t,s,a[d+0],6,-198630844),s=o(s,n,l,t,a[d+7],10,1126891415),t=o(t,s,n,l,a[d+14],15,-1416354905),l=o(l,t,s,n,a[d+5],21,-57434055),n=o(n,l,t,s,a[d+12],6,1700485571),s=o(s,n,l,t,a[d+3],10,-1894986606),t=o(t,s,n,l,a[d+10],15,-1051523),l=o(l,t,s,n,a[d+1],21,-2054922799),n=o(n,l,t,s,a[d+8],6,1873313359),s=o(s,n,l,t,a[d+15],10,-30611744),t=o(t,s,n,l,a[d+6],15,-1560198380),l=o(l,t,s,n,a[d+13],21,1309151649),n=o(n,l,t,s,a[d+4],6,-145523070),s=o(s,n,l,t,a[d+11],10,-1120210379),t=o(t,s,n,l,a[d+2],15,718787259),l=o(l,t,s,n,a[d+9],21,-343485551),n=i(n,m),l=i(l,w),t=i(t,b),s=i(s,E)}return Array(n,l,t,s)}function p(a,c,n,l,t,s){return i(r(i(i(c,a),i(l,s)),t),n)}function v(a,c,n,l,t,s,d){return p(c&n|~c&l,a,c,t,s,d)}function h(a,c,n,l,t,s,d){return p(c&l|n&~l,a,c,t,s,d)}function u(a,c,n,l,t,s,d){return p(c^n^l,a,c,t,s,d)}function o(a,c,n,l,t,s,d){return p(n^(c|~l),a,c,t,s,d)}function i(a,c){var n=(a&65535)+(c&65535),l=(a>>16)+(c>>16)+(n>>16);return l<<16|n&65535}function r(a,c){return a<<c|a>>>32-c}I.exports=function(c){return g.hash(c,y,16)}},{"./helpers":285}],287:[function(D,I,e){"use strict";var g=D("./helpers");function f(u,o){u[o>>5]|=128<<24-o%32,u[(o+64>>9<<4)+15]=o;for(var i=Array(80),r=1732584193,a=-271733879,c=-1732584194,n=271733878,l=-1009589776,t=0;t<u.length;t+=16){for(var s=r,d=a,m=c,w=n,b=l,E=0;E<80;E++){E<16?i[E]=u[t+E]:i[E]=h(i[E-3]^i[E-8]^i[E-14]^i[E-16],1);var A=v(v(h(r,5),y(E,a,c,n)),v(v(l,i[E]),p(E)));l=n,n=c,c=h(a,30),a=r,r=A}r=v(r,s),a=v(a,d),c=v(c,m),n=v(n,w),l=v(l,b)}return Array(r,a,c,n,l)}function y(u,o,i,r){return u<20?o&i|~o&r:u<40?o^i^r:u<60?o&i|o&r|i&r:o^i^r}function p(u){return u<20?1518500249:u<40?1859775393:u<60?-1894007588:-899497514}function v(u,o){var i=(u&65535)+(o&65535),r=(u>>16)+(o>>16)+(i>>16);return r<<16|i&65535}function h(u,o){return u<<o|u>>>32-o}I.exports=function(o){return g.hash(o,f,20,!0)}},{"./helpers":285}],288:[function(D,I,e){"use strict";I.exports=function(){return function(){}}},{}],289:[function(D,I,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=p(f);function p(r){return r&&r.__esModule?r:{default:r}}var v=D("stream"),h=v.Stream,u=D("../lib/common/utils/isArray"),o=u.isArray;I.exports.string=function(a){return typeof a=="string"},I.exports.array=o,I.exports.buffer=g.isBuffer;function i(r){return r instanceof h}I.exports.writableStream=function(a){return i(a)&&typeof a._write=="function"&&(0,y.default)(a._writableState)==="object"}}).call(this,{isBuffer:D("../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(D,I,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=D("escape-html"),e.timestamp=function(f){if(f){var y=f;return typeof y=="string"&&(y=Number(y)),String(f).length===10&&(y*=1e3),new Date(y)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(D,I,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/json/stringify"),p=u(y),v=D("babel-runtime/helpers/typeof"),h=u(v);function u(E){return E&&E.__esModule?E:{default:E}}var o=D("util"),i=D("url"),r=D("http"),a=D("https"),c=D("debug")("urllib"),n=D("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,d=/^https?:\/\//i;function m(E,A){return E===void 0?A:E}function w(E,A){return function(S,T,O){if(S)return A(S);E({data:T,status:O.statusCode,headers:O.headers,res:O})}}e.TIMEOUTS=[n("300s"),n("300s")];var b=["json","text"];e.request=function(A,S,T){return arguments.length===2&&typeof S=="function"&&(T=S,S=null),typeof T=="function"?e.requestWithCallback(A,S,T):(l||(l=D("any-promise")),new l(function(O,x){e.requestWithCallback(A,S,w(O,x))}))},e.requestWithCallback=function(A,S,T){if(!A||typeof A!="string"&&(typeof A=="undefined"?"undefined":(0,h.default)(A))!=="object"){var O=o.format("expect request url to be a string or a http request options, but got %j",A);throw new Error(O)}arguments.length===2&&typeof S=="function"&&(T=S,S=null),S=S||{},t>=s&&(t=0);var x=++t;S.requestUrls=S.requestUrls||[];var C={requestId:x,url:A,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",C),S.timeout=S.timeout||e.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var _=Date.now(),N;typeof A=="string"?(d.test(A)||(A="http://"+A),N=i.parse(A)):N=A;var F=(S.type||S.method||N.method||"GET").toUpperCase(),k=N.port||80,P=r,j=m(S.agent,e.agent),K=S.fixJSONCtlChars;N.protocol==="https:"&&(P=a,j=m(S.httpsAgent,e.httpsAgent),N.port||(k=443));var R={host:N.hostname||N.host||"localhost",path:N.path||"/",method:F,port:k,agent:j,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?R.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(R.requestTimeout=S.timeout);for(var B=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],U=0;U<B.length;U++){var H=B[U];S.hasOwnProperty(H)&&(R[H]=S[H])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=D("constants").SSL_OP_NO_TLSv1_2);var W=S.auth||N.auth;W&&(R.auth=W);var V=S.content||S.data,z=F==="GET"||F==="HEAD"||S.dataAsQueryString;if(!S.content&&(V&&!(typeof V=="string"||f.isBuffer(V))))if(z)V=S.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var X=R.headers["Content-Type"]||R.headers["content-type"];X||(S.contentType==="json"?X="application/json":X="application/x-www-form-urlencoded",R.headers["Content-Type"]=X),parseContentType(X).type==="application/json"?V=(0,p.default)(V):V=S.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}z&&V&&(R.path+=(N.query?"&":"?")+V,V=null);var q=0;if(V){var fe=V.length;f.isBuffer(V)||(fe=f.byteLength(V)),q=R.headers["Content-Length"]=fe}S.dataType==="json"&&(R.headers.Accept="application/json"),typeof S.beforeRequest=="function"&&S.beforeRequest(R);var G=null,ve=null,Se=null,ge=!1,Pe=!1,Ge=0,pt=-1,Te=!1,xe="",lt="",Ie=null;S.timing&&(Ie={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function de(){G&&(clearTimeout(G),G=null)}function ee(){ve&&(clearTimeout(ve),ve=null)}function se(Be,Rt,He){if(ee(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,g.pid,R.method,A),Be&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),x,g.pid,Be.name,Be.message,Be.stack);return}var wt=T;T=null;var Ye={};if(He&&(pt=He.statusCode,Ye=He.headers),pt===401&&Ye["www-authenticate"]&&(!S.headers||!S.headers.Authorization)&&S.digestAuth){var et=Ye["www-authenticate"];if(et.indexOf("Digest ")>=0)return c("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,A,et),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(R.method,R.path,et,S.digestAuth),c("Request#%d %s: auth with digest header: %s",x,A,S.headers.Authorization),He.headers["set-cookie"]&&(S.headers.Cookie=He.headers["set-cookie"].join(";")),e.requestWithCallback(A,S,wt)}var rt=Date.now()-_;Ie&&(Ie.contentDownload=rt),c("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",rt,Ge,pt,R.method,R.host,R.path,Pe,Ie);var st={status:pt,statusCode:pt,headers:Ye,size:Ge,aborted:Te,rt,keepAliveSocket:Pe,data:Rt,requestUrls:S.requestUrls,timing:Ie,remoteAddress:xe,remotePort:lt};if(Be){var Ve="";j&&typeof j.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,p.default)(j.getCurrentStatus())),Be.message+=", "+R.method+" "+A+" "+pt+" (connected: "+ge+", keepalive socket: "+Pe+Ve+`)
|
|
|
headers: `+(0,p.default)(Ye),Be.data=Rt,Be.path=R.path,Be.status=pt,Be.headers=Ye,Be.res=st}wt(Be,Rt,S.streaming?He:st),S.emitter&&(C.url=A,C.socket=vt&&vt.connection,C.options=R,C.size=q,S.emitter.emit("response",{requestId:x,error:Be,ctx:S.ctx,req:C,res:st}))}function ke(Be){var Rt=null;if(S.followRedirect&&statuses.redirect[Be.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var He=Be.headers.location;if(!He)Rt=new Error("Got statusCode "+Be.statusCode+" but cannot resolve next location from headers"),Rt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)Rt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+A),Rt.name="MaxRedirectError";else{var wt=S.formatRedirectUrl?S.formatRedirectUrl(A,He):i.resolve(A,He);c("Request#%d %s: `redirected` from %s to %s",x,R.path,A,wt),ee(),S.headers&&S.headers.Host&&d.test(He)&&(S.headers.Host=null);var Ye=T;return T=null,e.requestWithCallback(wt,S,Ye),{redirect:!0,error:null}}}return{redirect:!1,error:Rt}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function Ce(Be,Rt,He){var wt=Be.headers["content-encoding"];return He(null,Rt,wt)}var ze=S.writeStream;c("Request#%d %s %s with headers %j, options.path: %s",x,F,A,R.headers,R.path),S.requestUrls.push(A);function _e(Be){if(Ie&&(Ie.waiting=Date.now()-_),c("Request#%d %s `req response` event emit: status %d, headers: %j",x,A,Be.statusCode,Be.headers),S.streaming){var Rt=ke(Be);if(Rt.redirect){Be.resume();return}return Rt.error?(Be.resume(),se(Rt.error,null,Be)):se(null,null,Be)}if(Be.on("close",function(){c("Request#%d %s: `res close` event emit, total size %d",x,A,Ge)}),Be.on("error",function(){c("Request#%d %s: `res error` event emit, total size %d",x,A,Ge)}),Be.on("aborted",function(){Te=!0,c("Request#%d %s: `res aborted` event emit, total size %d",x,A,Ge)}),ze){var Rt=ke(Be);if(Rt.redirect){Be.resume();return}return Rt.error?(Be.resume(),ze.end(),se(Rt.error,null,Be)):(S.consumeWriteStream===!1?Be.on("end",se.bind(null,null,null,Be)):isNode010||isNode012?first([[ze,"close"],[Be,"aborted"]],function(Ye,et,rt){c("Request#%d %s: writeStream or res %s event emitted",x,A,rt),se(Se||null,null,Be)}):ze.on("close",function(){c("Request#%d %s: writeStream close event emitted",x,A),se(Se||null,null,Be)}),Be.pipe(ze))}var He=[];Be.on("data",function(wt){c("Request#%d %s: `res data` event emit, size %d",x,A,wt.length),Ge+=wt.length,He.push(wt)}),Be.on("end",function(){var wt=f.concat(He,Ge);if(c("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,A,Ge,Be._dumped),Se)return se(Se,wt,Be);var Ye=ke(Be);if(Ye.error)return se(Ye.error,wt,Be);if(Ye.redirect)return;Ce(Be,wt,function(et,rt,st){if(et)return se(et,wt,Be);if(!st&&b.indexOf(S.dataType)>=0){try{rt=decodeBodyByCharset(rt,Be)}catch(ie){return c("decodeBodyByCharset error: %s",ie),se(null,rt,Be)}if(S.dataType==="json")if(Ge===0)rt=null;else{var Ve=parseJSON(rt,K);Ve.error?et=Ve.error:rt=Ve.data}}Te&&c("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,A),se(et,rt,Be)})})}var ae,me;Array.isArray(S.timeout)?(ae=n(S.timeout[0]),me=n(S.timeout[1])):ae=me=n(S.timeout),c("ConnectTimeout: %d, ResponseTimeout: %d",ae,me);function Oe(){c("Connect timer ticking, timeout: %d",ae),G=setTimeout(function(){G=null,pt===-1&&(pt=-2);var Be="Connect timeout for "+ae+"ms",Rt="ConnectionTimeoutError";vt.socket||(Rt="SocketAssignTimeoutError",Be+=", working sockets is full"),Se=new Error(Be),Se.name=Rt,Se.requestId=x,c("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,A,Se.name,Be,ge),Ct()},ae)}function Ze(){c("Response timer ticking, timeout: %d",me),ve=setTimeout(function(){ve=null;var Be="Response timeout for "+me+"ms",Rt="ResponseTimeoutError";Se=new Error(Be),Se.name=Rt,Se.requestId=x,c("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,A,Se.name,Be,ge),Ct()},me)}var vt;R.mode=S.mode?S.mode:"";try{vt=P.request(R,_e)}catch(Be){return se(Be)}typeof window=="undefined"?Oe():vt.on("requestTimeout",function(){pt===-1&&(pt=-2);var Be="Connect timeout for "+ae+"ms",Rt="ConnectionTimeoutError";Se=new Error(Be),Se.name=Rt,Se.requestId=x,Ct()});function Ct(){c("Request#%d %s abort, connected: %s",x,A,ge),vt.socket||(Se.noSocket=!0,se(Se)),vt.abort()}return Ie&&vt.on("finish",function(){Ie.requestSent=Date.now()-_}),vt.once("socket",function(Be){Ie&&(Ie.queuing=Date.now()-_),isNode010&&Be.socket&&(Be=Be.socket);var Rt=Be.readyState;if(Rt==="opening"){Be.once("lookup",function(He,wt,Ye){c("Request#%d %s lookup: %s, %s, %s",x,A,He,wt,Ye),Ie&&(Ie.dnslookup=Date.now()-_),wt&&(xe=wt)}),Be.once("connect",function(){Ie&&(Ie.connected=Date.now()-_),de(),Ze(),c("Request#%d %s new socket connected",x,A),ge=!0,xe||(xe=Be.remoteAddress),lt=Be.remotePort});return}c("Request#%d %s reuse socket connected, readyState: %s",x,A,Rt),ge=!0,Pe=!0,xe||(xe=Be.remoteAddress),lt=Be.remotePort,de(),Ze()}),vt.on("error",function(Be){(Be.name==="Error"||Be.name==="TypeError")&&(Be.name=ge?"ResponseError":"RequestError"),Be.message+=' (req "error")',c("Request#%d %s `req error` event emit, %s: %s",x,A,Be.name,Be.message),se(Se||Be)}),ze&&ze.once("error",function(Be){Be.message+=' (writeStream "error")',Se=Be,c("Request#%d %s `writeStream error` event emit, %s: %s",x,A,Be.name,Be.message),Ct()}),S.stream?(S.stream.pipe(vt),S.stream.once("error",function(Be){Be.message+=' (stream "error")',Se=Be,c("Request#%d %s `readStream error` event emit, %s: %s",x,A,Be.name,Be.message),Ct()})):vt.end(V),vt.requestId=x,vt}}).call(this,D("_process"),D("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(D,I,e){var g=e("hX1E"),f=g.normalizeRadian,y=Math.PI*2;function p(v,h,u,o,i,r,a,c,n){if(a===0)return!1;var l=a;c-=v,n-=h;var t=Math.sqrt(c*c+n*n);if(t-l>u||t+l<u)return!1;if(Math.abs(o-i)%y<1e-4)return!0;if(r){var s=o;o=f(i),i=f(s)}else o=f(o),i=f(i);o>i&&(i+=y);var d=Math.atan2(n,c);return d<0&&(d+=y),d>=o&&d<=i||d+y>=o&&d+y<=i}I.containStroke=p},n4Lv:function(D,I,e){var g=e("7hqr"),f=g.isDimensionStacked,y=e("bYtY"),p=y.map;function v(o,i,r){var a=o.getBaseAxis(),c=o.getOtherAxis(a),n=h(c,r),l=a.dim,t=c.dim,s=i.mapDimension(t),d=i.mapDimension(l),m=t==="x"||t==="radius"?1:0,w=p(o.dimensions,function(A){return i.mapDimension(A)}),b,E=i.getCalculationInfo("stackResultDimension");return(b|=f(i,w[0]))&&(w[0]=E),(b|=f(i,w[1]))&&(w[1]=E),{dataDimsForPoint:w,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!b,valueDim:s,baseDim:d,baseDataOffset:m,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}}function h(o,i){var r=0,a=o.scale.getExtent();return i==="start"?r=a[0]:i==="end"?r=a[1]:a[0]>0?r=a[0]:a[1]<0&&(r=a[1]),r}function u(o,i,r,a){var c=NaN;o.stacked&&(c=r.get(r.getCalculationInfo("stackedOverDimension"),a)),isNaN(c)&&(c=o.valueStart);var n=o.baseDataOffset,l=[];return l[n]=r.get(o.baseDim,a),l[1-n]=c,i.dataToPoint(l)}I.prepareDataCoordInfo=v,I.getStackedOnPoint=u},n6Mw:function(D,I,e){var g=e("SrGk"),f=e("bYtY"),y=e("Fofx");function p(h,u){g.call(this,h,u,"clipPath","__clippath_in_use__")}f.inherits(p,g),p.prototype.update=function(h){var u=this.getSvgElement(h);u&&this.updateDom(u,h.__clipPaths,!1);var o=this.getTextSvgElement(h);o&&this.updateDom(o,h.__clipPaths,!0),this.markUsed(h)},p.prototype.updateDom=function(h,u,o){if(u&&u.length>0){var i=this.getDefs(!0),r=u[0],a,c,n=o?"_textDom":"_dom";r[n]?(c=r[n].getAttribute("id"),a=r[n],i.contains(a)||i.appendChild(a)):(c="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,a=this.createElement("clipPath"),a.setAttribute("id",c),i.appendChild(a),r[n]=a);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!o){var t=Array.prototype.slice.call(r.transform);y.mul(r.transform,r.parent.invTransform,r.transform),l.brush(r),r.transform=t}else l.brush(r);var s=this.getSvgElement(r);a.innerHTML="",a.appendChild(s.cloneNode()),h.setAttribute("clip-path","url(#"+c+")"),u.length>1&&this.updateDom(a,u.slice(1),o)}else h&&h.setAttribute("clip-path","none")},p.prototype.markUsed=function(h){var u=this;h.__clipPaths&&f.each(h.__clipPaths,function(o){o._dom&&g.prototype.markUsed.call(u,o._dom),o._textDom&&g.prototype.markUsed.call(u,o._textDom)})};var v=p;D.exports=v},nCxF:function(D,I,e){var g=e("QBsz"),f=g.min,y=g.max,p=g.scale,v=g.distance,h=g.add,u=g.clone,o=g.sub;function i(r,a,c,n){var l=[],t=[],s=[],d=[],m,w,b,E;if(n){b=[Infinity,Infinity],E=[-Infinity,-Infinity];for(var A=0,S=r.length;A<S;A++)f(b,b,r[A]),y(E,E,r[A]);f(b,b,n[0]),y(E,E,n[1])}for(var A=0,S=r.length;A<S;A++){var T=r[A];if(c)m=r[A?A-1:S-1],w=r[(A+1)%S];else if(A===0||A===S-1){l.push(u(r[A]));continue}else m=r[A-1],w=r[A+1];o(t,w,m),p(t,t,a);var O=v(T,m),x=v(T,w),C=O+x;C!==0&&(O/=C,x/=C),p(s,t,-O),p(d,t,x);var _=h([],T,s),N=h([],T,d);n&&(y(_,_,b),f(_,_,E),y(N,N,b),f(N,N,E)),l.push(_),l.push(N)}return c&&l.push(l.shift()),l}D.exports=i},nKiI:function(D,I,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),p=y.parsePercent,v=y.MAX_SAFE_INTEGER,h=e("+TT/"),u=e("VaxA"),o=Math.max,i=Math.min,r=g.retrieve,a=g.each,c=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],s={seriesType:"treemap",reset:function(_,N,F,k){var P=F.getWidth(),j=F.getHeight(),K=_.option,R=h.getLayoutRect(_.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),B=K.size||[],U=p(r(R.width,B[0]),P),H=p(r(R.height,B[1]),j),W=k&&k.type,V=["treemapZoomToNode","treemapRootToNode"],z=u.retrieveTargetInfo(k,V,_),X=W==="treemapRender"||W==="treemapMove"?k.rootRect:null,q=_.getViewRoot(),fe=u.getPathToRoot(q);if(W!=="treemapMove"){var G=W==="treemapZoomToNode"?T(_,z,q,U,H):X?[X.width,X.height]:[U,H],ve=K.sort;ve&&ve!=="asc"&&ve!=="desc"&&(ve="desc");var Se={squareRatio:K.squareRatio,sort:ve,leafDepth:K.leafDepth};q.hostTree.clearLayouts();var ge={x:0,y:0,width:G[0],height:G[1],area:G[0]*G[1]};q.setLayout(ge),d(q,Se,!1,0);var ge=q.getLayout();a(fe,function(Ge,pt){var Te=(fe[pt+1]||q).getValue();Ge.setLayout(g.extend({dataExtent:[Te,Te],borderWidth:0,upperHeight:0},ge))})}var Pe=_.getData().tree.root;Pe.setLayout(O(R,X,z),!0),_.setLayoutInfo(R),x(Pe,new f(-R.x,-R.y,P,j),fe,q,0)}};function d(_,N,F,k){var P,j;if(_.isRemoved())return;var K=_.getLayout();P=K.width,j=K.height;var R=_.getModel(),B=R.get(c),U=R.get(n)/2,H=C(R),W=Math.max(B,H),V=B-U,z=W-U,R=_.getModel();_.setLayout({borderWidth:B,upperHeight:W,upperLabelHeight:H},!0),P=o(P-2*V,0),j=o(j-V-z,0);var X=P*j,q=m(_,R,X,N,F,k);if(!q.length)return;var fe={x:V,y:z,width:P,height:j},G=i(P,j),ve=Infinity,Se=[];Se.area=0;for(var ge=0,Pe=q.length;ge<Pe;){var Ge=q[ge];Se.push(Ge),Se.area+=Ge.getLayout().area;var pt=A(Se,G,N.squareRatio);pt<=ve?(ge++,ve=pt):(Se.area-=Se.pop().getLayout().area,S(Se,G,fe,U,!1),G=i(fe.width,fe.height),Se.length=Se.area=0,ve=Infinity)}if(Se.length&&S(Se,G,fe,U,!0),!F){var Te=R.get("childrenVisibleMin");Te!=null&&X<Te&&(F=!0)}for(var ge=0,Pe=q.length;ge<Pe;ge++)d(q[ge],N,F,k+1)}function m(_,N,F,k,P,j){var K=_.children||[],R=k.sort;R!=="asc"&&R!=="desc"&&(R=null);var B=k.leafDepth!=null&&k.leafDepth<=j;if(P&&!B)return _.viewChildren=[];K=g.filter(K,function(z){return!z.isRemoved()}),b(K,R);var U=E(N,K,R);if(U.sum===0)return _.viewChildren=[];if(U.sum=w(N,F,U.sum,R,K),U.sum===0)return _.viewChildren=[];for(var H=0,W=K.length;H<W;H++){var V=K[H].getValue()/U.sum*F;K[H].setLayout({area:V})}return B&&(K.length&&_.setLayout({isLeafRoot:!0},!0),K.length=0),_.viewChildren=K,_.setLayout({dataExtent:U.dataExtent},!0),K}function w(_,N,F,k,P){if(!k)return F;for(var j=_.get("visibleMin"),K=P.length,R=K,B=K-1;B>=0;B--){var U=P[k==="asc"?K-B-1:B].getValue();U/F*N<j&&(R=B,F-=U)}return k==="asc"?P.splice(0,K-R):P.splice(R,K-R),F}function b(_,N){return N&&_.sort(function(F,k){var P=N==="asc"?F.getValue()-k.getValue():k.getValue()-F.getValue();return P===0?N==="asc"?F.dataIndex-k.dataIndex:k.dataIndex-F.dataIndex:P}),_}function E(_,N,F){for(var k=0,P=0,j=N.length;P<j;P++)k+=N[P].getValue();var K=_.get("visualDimension"),R;if(!N||!N.length)R=[NaN,NaN];else if(K==="value"&&F)R=[N[N.length-1].getValue(),N[0].getValue()],F==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];a(N,function(U){var H=U.getValue(K);H<R[0]&&(R[0]=H),H>R[1]&&(R[1]=H)})}return{sum:k,dataExtent:R}}function A(_,N,F){for(var k=0,P=Infinity,j=0,K,R=_.length;j<R;j++)K=_[j].getLayout().area,K&&(K<P&&(P=K),K>k&&(k=K));var B=_.area*_.area,U=N*N*F;return B?o(U*k/B,B/(U*P)):Infinity}function S(_,N,F,k,P){var j=N===F.width?0:1,K=1-j,R=["x","y"],B=["width","height"],U=F[R[j]],H=N?_.area/N:0;(P||H>F[B[K]])&&(H=F[B[K]]);for(var W=0,V=_.length;W<V;W++){var z=_[W],X={},q=H?z.getLayout().area/H:0,fe=X[B[K]]=o(H-2*k,0),G=F[R[j]]+F[B[j]]-U,ve=W===V-1||G<q?G:q,Se=X[B[j]]=o(ve-2*k,0);X[R[K]]=F[R[K]]+i(k,fe/2),X[R[j]]=U+i(k,Se/2),U+=ve,z.setLayout(X,!0)}F[R[K]]+=H,F[B[K]]-=H}function T(_,N,F,k,P){var j=(N||{}).node,K=[k,P];if(!j||j===F)return K;for(var R,B=k*P,U=B*_.option.zoomToNodeRatio;R=j.parentNode;){for(var H=0,W=R.children,V=0,z=W.length;V<z;V++)H+=W[V].getValue();var X=j.getValue();if(X===0)return K;U*=H/X;var q=R.getModel(),fe=q.get(c),G=Math.max(fe,C(q,fe));U+=4*fe*fe+(3*fe+G)*Math.pow(U,.5),U>v&&(U=v),j=R}U<B&&(U=B);var ve=Math.pow(U/B,.5);return[k*ve,P*ve]}function O(_,N,F){if(N)return{x:N.x,y:N.y};var k={x:0,y:0};if(!F)return k;var P=F.node,j=P.getLayout();if(!j)return k;for(var K=[j.width/2,j.height/2],R=P;R;){var B=R.getLayout();K[0]+=B.x,K[1]+=B.y,R=R.parentNode}return{x:_.width/2-K[0],y:_.height/2-K[1]}}function x(_,N,F,k,P){var j=_.getLayout(),K=F[P],R=K&&K===_;if(K&&!R||P===F.length&&_!==k)return;_.setLayout({isInView:!0,invisible:!R&&!N.intersect(j),isAboveViewRoot:R},!0);var B=new f(N.x-j.x,N.y-j.y,N.width,N.height);a(_.viewChildren||[],function(U){x(U,B,F,k,P+1)})}function C(_){return _.get(l)?_.get(t):0}D.exports=s},nPnh:function(D,I){var e=Math.round;function g(p,v,h){if(!v)return;var u=v.x1,o=v.x2,i=v.y1,r=v.y2;p.x1=u,p.x2=o,p.y1=i,p.y2=r;var a=h&&h.lineWidth;if(!a)return;e(u*2)===e(o*2)&&(p.x1=p.x2=y(u,a,!0)),e(i*2)===e(r*2)&&(p.y1=p.y2=y(i,a,!0))}function f(p,v,h){if(!v)return;var u=v.x,o=v.y,i=v.width,r=v.height;p.x=u,p.y=o,p.width=i,p.height=r;var a=h&&h.lineWidth;if(!a)return;p.x=y(u,a,!0),p.y=y(o,a,!0),p.width=Math.max(y(u+i,a,!1)-p.x,i===0?0:1),p.height=Math.max(y(o+r,a,!1)-p.y,r===0?0:1)}function y(p,v,h){if(!v)return p;var u=e(p*2);return(u+e(v))%2===0?u/2:(u+(h?1:-1))/2}I.subPixelOptimizeLine=g,I.subPixelOptimizeRect=f,I.subPixelOptimize=y},nRaC:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0fbx"),p=e.n(y),v=e("OaEy"),h=e("R9oj")},nVfU:function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,p=e("7hqr"),v=p.isDimensionStacked,h=e("zM3Q"),u="__ec_stack_",o=.5,i=typeof Float32Array!="undefined"?Float32Array:Array;function r(S){return S.get("stack")||u+S.seriesIndex}function a(S){return S.dim+S.index}function c(S){var T=[],O=S.axis,x="axis0";if(O.type!=="category")return;for(var C=O.getBandWidth(),_=0;_<S.count||0;_++)T.push(g.defaults({bandWidth:C,axisKey:x,stackId:u+_},S));for(var N=s(T),F=[],_=0;_<S.count;_++){var k=N[x][u+_];k.offsetCenter=k.offset+k.width/2,F.push(k)}return F}function n(S,T){var O=[];return T.eachSeriesByType(S,function(x){b(x)&&!E(x)&&O.push(x)}),O}function l(S){var T={};g.each(S,function(k){var P=k.coordinateSystem,j=P.getBaseAxis();if(j.type!=="time"&&j.type!=="value")return;for(var K=k.getData(),R=j.dim+"_"+j.index,B=K.mapDimension(j.dim),U=0,H=K.count();U<H;++U){var W=K.get(B,U);T[R]?T[R].push(W):T[R]=[W]}});var O=[];for(var x in T)if(T.hasOwnProperty(x)){var C=T[x];if(C){C.sort(function(k,P){return k-P});for(var _=null,N=1;N<C.length;++N){var F=C[N]-C[N-1];F>0&&(_=_===null?F:Math.min(_,F))}O[x]=_}}return O}function t(S){var T=l(S),O=[];return g.each(S,function(x){var C=x.coordinateSystem,_=C.getBaseAxis(),N=_.getExtent(),F;if(_.type==="category")F=_.getBandWidth();else if(_.type==="value"||_.type==="time"){var k=_.dim+"_"+_.index,P=T[k],j=Math.abs(N[1]-N[0]),K=_.scale.getExtent(),R=Math.abs(K[1]-K[0]);F=P?j/R*P:j}else{var B=x.getData();F=Math.abs(N[1]-N[0])/B.count()}var U=y(x.get("barWidth"),F),H=y(x.get("barMaxWidth"),F),W=y(x.get("barMinWidth")||1,F),V=x.get("barGap"),z=x.get("barCategoryGap");O.push({bandWidth:F,barWidth:U,barMaxWidth:H,barMinWidth:W,barGap:V,barCategoryGap:z,axisKey:a(_),stackId:r(x)})}),s(O)}function s(S){var T={};g.each(S,function(x,C){var _=x.axisKey,N=x.bandWidth,F=T[_]||{bandWidth:N,remainedWidth:N,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=F.stacks;T[_]=F;var P=x.stackId;k[P]||F.autoWidthCount++,k[P]=k[P]||{width:0,maxWidth:0};var j=x.barWidth;j&&!k[P].width&&(k[P].width=j,j=Math.min(F.remainedWidth,j),F.remainedWidth-=j);var K=x.barMaxWidth;K&&(k[P].maxWidth=K);var R=x.barMinWidth;R&&(k[P].minWidth=R);var B=x.barGap;B!=null&&(F.gap=B);var U=x.barCategoryGap;U!=null&&(F.categoryGap=U)});var O={};return g.each(T,function(x,C){O[C]={};var _=x.stacks,N=x.bandWidth,F=y(x.categoryGap,N),k=y(x.gap,1),P=x.remainedWidth,j=x.autoWidthCount,K=(P-F)/(j+(j-1)*k);K=Math.max(K,0),g.each(_,function(H){var W=H.maxWidth,V=H.minWidth;if(H.width){var z=H.width;W&&(z=Math.min(z,W)),V&&(z=Math.max(z,V)),H.width=z,P-=z+k*z,j--}else{var z=K;W&&W<z&&(z=Math.min(W,P)),V&&V>z&&(z=V),z!==K&&(H.width=z,P-=z+k*z,j--)}}),K=(P-F)/(j+(j-1)*k),K=Math.max(K,0);var R=0,B;g.each(_,function(H,W){H.width||(H.width=K),B=H,R+=H.width*(1+k)}),B&&(R-=B.width*k);var U=-R/2;g.each(_,function(H,W){O[C][W]=O[C][W]||{bandWidth:N,offset:U,width:H.width},U+=H.width*(1+k)})}),O}function d(S,T,O){if(S&&T){var x=S[a(T)];return x!=null&&O!=null&&(x=x[r(O)]),x}}function m(S,T){var O=n(S,T),x=t(O),C={},_={};g.each(O,function(N){var F=N.getData(),k=N.coordinateSystem,P=k.getBaseAxis(),j=r(N),K=x[a(P)][j],R=K.offset,B=K.width,U=k.getOtherAxis(P),H=N.get("barMinHeight")||0;C[j]=C[j]||[],_[j]=_[j]||[],F.setLayout({bandWidth:K.bandWidth,offset:R,size:B});for(var W=F.mapDimension(U.dim),V=F.mapDimension(P.dim),z=v(F,W),X=U.isHorizontal(),q=A(P,U,z),fe=0,G=F.count();fe<G;fe++){var ve=F.get(W,fe),Se=F.get(V,fe),ge=ve>=0?"p":"n",Pe=q;z&&(C[j][Se]||(C[j][Se]={p:q,n:q}),Pe=C[j][Se][ge]);var Ge,pt,Te,xe;if(X){var lt=k.dataToPoint([ve,Se]);Ge=Pe,pt=lt[1]+R,Te=lt[0]-q,xe=B,Math.abs(Te)<H&&(Te=(Te<0?-1:1)*H),isNaN(Te)||z&&(C[j][Se][ge]+=Te)}else{var lt=k.dataToPoint([Se,ve]);Ge=lt[0]+R,pt=Pe,Te=B,xe=lt[1]-q,Math.abs(xe)<H&&(xe=(xe<=0?-1:1)*H),isNaN(xe)||z&&(C[j][Se][ge]+=xe)}F.setItemLayout(fe,{x:Ge,y:pt,width:Te,height:xe})}},this)}var w={seriesType:"bar",plan:h(),reset:function(S){if(!b(S)||!E(S))return;var T=S.getData(),O=S.coordinateSystem,x=O.grid.getRect(),C=O.getBaseAxis(),_=O.getOtherAxis(C),N=T.mapDimension(_.dim),F=T.mapDimension(C.dim),k=_.isHorizontal(),P=k?0:1,j=d(t([S]),C,S).width;return j>o||(j=o),{progress:K};function K(R,B){for(var U=R.count,H=new i(U*2),W=new i(U*2),V=new i(U),z,X=[],q=[],fe=0,G=0;(z=R.next())!=null;)q[P]=B.get(N,z),q[1-P]=B.get(F,z),X=O.dataToPoint(q,null,X),W[fe]=k?x.x+x.width:X[0],H[fe++]=X[0],W[fe]=k?X[1]:x.y+x.height,H[fe++]=X[1],V[G++]=z;B.setLayout({largePoints:H,largeDataIndices:V,largeBackgroundPoints:W,barWidth:j,valueAxisStart:A(C,_,!1),backgroundStart:k?x.x:x.y,valueAxisHorizontal:k})}}};function b(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function E(S){return S.pipelineContext&&S.pipelineContext.large}function A(S,T,O){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}I.getLayoutOnAxis=c,I.prepareLayoutBarSeries=n,I.makeColumnLayout=t,I.retrieveColumnLayout=d,I.layout=m,I.largeLayout=w},ngQI:function(D,I,e){"use strict";e.d(I,"a",function(){return Kl}),e.d(I,"b",function(){return ec}),e.d(I,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),y=e("dI71"),p=e("wx14"),v=e("ANjH"),h=e("/MKj");function u(at,ce){if(at.length!==ce.length)return!1;for(var Ue=0;Ue<at.length;Ue++)if(at[Ue]!==ce[Ue])return!1;return!0}function o(at,ce){var Ue=Object(g.useState)(function(){return{inputs:ce,result:at()}})[0],bt=Object(g.useRef)(Ue),kt=Boolean(ce&&bt.current.inputs&&u(ce,bt.current.inputs)),qt=kt?bt.current:{inputs:ce,result:at()};return Object(g.useEffect)(function(){bt.current=qt},[qt]),qt.result}function i(at,ce){return o(function(){return at},ce)}var r=o,a=i,c=e("9R94"),n=function(ce){var Ue=ce.top,bt=ce.right,kt=ce.bottom,qt=ce.left,ar=bt-qt,lr=kt-Ue,yr={top:Ue,right:bt,bottom:kt,left:qt,width:ar,height:lr,x:qt,y:Ue,center:{x:(bt+qt)/2,y:(kt+Ue)/2}};return yr},l=function(ce,Ue){return{top:ce.top-Ue.top,left:ce.left-Ue.left,bottom:ce.bottom+Ue.bottom,right:ce.right+Ue.right}},t=function(ce,Ue){return{top:ce.top+Ue.top,left:ce.left+Ue.left,bottom:ce.bottom-Ue.bottom,right:ce.right-Ue.right}},s=function(ce,Ue){return{top:ce.top+Ue.y,left:ce.left+Ue.x,bottom:ce.bottom+Ue.y,right:ce.right+Ue.x}},d={top:0,right:0,bottom:0,left:0},m=function(ce){var Ue=ce.borderBox,bt=ce.margin,kt=bt===void 0?d:bt,qt=ce.border,ar=qt===void 0?d:qt,lr=ce.padding,yr=lr===void 0?d:lr,Vr=n(l(Ue,kt)),Xr=n(t(Ue,ar)),Br=n(t(Xr,yr));return{marginBox:Vr,borderBox:n(Ue),paddingBox:Xr,contentBox:Br,margin:kt,border:ar,padding:yr}},w=function(ce){var Ue=ce.slice(0,-2),bt=ce.slice(-2);if(bt!=="px")return 0;var kt=Number(Ue);return isNaN(kt)&&Object(c.a)(!1),kt},b=function(){return{x:window.pageXOffset,y:window.pageYOffset}},E=function(ce,Ue){var bt=ce.borderBox,kt=ce.border,qt=ce.margin,ar=ce.padding,lr=s(bt,Ue);return m({borderBox:lr,border:kt,margin:qt,padding:ar})},A=function(ce,Ue){return Ue===void 0&&(Ue=b()),E(ce,Ue)},S=function(ce,Ue){var bt={top:w(Ue.marginTop),right:w(Ue.marginRight),bottom:w(Ue.marginBottom),left:w(Ue.marginLeft)},kt={top:w(Ue.paddingTop),right:w(Ue.paddingRight),bottom:w(Ue.paddingBottom),left:w(Ue.paddingLeft)},qt={top:w(Ue.borderTopWidth),right:w(Ue.borderRightWidth),bottom:w(Ue.borderBottomWidth),left:w(Ue.borderLeftWidth)};return m({borderBox:ce,margin:bt,padding:kt,border:qt})},T=function(ce){var Ue=ce.getBoundingClientRect(),bt=window.getComputedStyle(ce);return S(Ue,bt)};function O(at,ce){if(at.length!==ce.length)return!1;for(var Ue=0;Ue<at.length;Ue++)if(at[Ue]!==ce[Ue])return!1;return!0}function x(at,ce){ce===void 0&&(ce=O);var Ue,bt=[],kt,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&Ue===this&&ce(lr,bt)||(kt=at.apply(this,lr),qt=!0,Ue=this,bt=lr),kt}return ar}var C=x,_=function(ce){var Ue=[],bt=null,kt=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(Ue=lr,bt)return;bt=requestAnimationFrame(function(){bt=null,ce.apply(void 0,Ue)})};return kt.cancel=function(){if(!bt)return;cancelAnimationFrame(bt),bt=null},kt},N=_,F=e("i8i4"),k=e.n(F),P=!0,j=/[ \t]{2,}/g,K=/^[ \t]*/gm,R=function(ce){return ce.replace(j," ").replace(K,"").trim()},B=function(ce){return R(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+R(ce)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},U=function(ce){return[B(ce),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},H="__react-beautiful-dnd-disable-dev-warnings";function W(at,ce){var Ue;if(P)return;if(typeof window!="undefined"&&window[H])return;(Ue=console)[at].apply(Ue,U(ce))}var V=W.bind(null,"warn"),z=W.bind(null,"error");function X(){}function q(at,ce){return Object(p.a)({},at,{},ce)}function fe(at,ce,Ue){var bt=ce.map(function(kt){var qt=q(Ue,kt.options);return at.addEventListener(kt.eventName,kt.fn,qt),function(){at.removeEventListener(kt.eventName,kt.fn,qt)}});return function(){bt.forEach(function(qt){qt()})}}var G=!0,ve="Invariant failed";function Se(at){this.message=at}Se.prototype.toString=function(){return this.message};function ge(at,ce){if(at)return;throw G?new Se(ve):new Se(ve+": "+(ce||""))}var Pe=function(at){Object(y.a)(ce,at);function ce(){for(var bt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return bt=at.call.apply(at,[this].concat(qt))||this,bt.callbacks=null,bt.unbind=X,bt.onWindowError=function(lr){var yr=bt.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof Se&&lr.preventDefault()},bt.getCallbacks=function(){if(!bt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return bt.callbacks},bt.setCallbacks=function(lr){bt.callbacks=lr},bt}var Ue=ce.prototype;return Ue.componentDidMount=function(){this.unbind=fe(window,[{eventName:"error",fn:this.onWindowError}])},Ue.componentWillUnmount=function(){this.unbind()},Ue.componentDidCatch=function(kt){if(kt instanceof Se){this.setState({});return}throw kt},Ue.render=function(){return this.props.children(this.setCallbacks)},ce}(f.a.Component),Ge=`
|
|
|
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
|
|
|
`,pt=function(ce){return ce+1},Te=function(ce){return`
|
|
|
You have lifted an item in position `+pt(ce.source.index)+`
|
|
|
`},xe=function(ce,Ue){var bt=ce.droppableId===Ue.droppableId,kt=pt(ce.index),qt=pt(Ue.index);return bt?`
|
|
|
You have moved the item from position `+kt+`
|
|
|
to position `+qt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+kt+`
|
|
|
in list `+ce.droppableId+`
|
|
|
to list `+Ue.droppableId+`
|
|
|
in position `+qt+`
|
|
|
`},lt=function(ce,Ue,bt){var kt=Ue.droppableId===bt.droppableId;return kt?`
|
|
|
The item `+ce+`
|
|
|
has been combined with `+bt.draggableId:`
|
|
|
The item `+ce+`
|
|
|
in list `+Ue.droppableId+`
|
|
|
has been combined with `+bt.draggableId+`
|
|
|
in list `+bt.droppableId+`
|
|
|
`},Ie=function(ce){var Ue=ce.destination;if(Ue)return xe(ce.source,Ue);var bt=ce.combine;return bt?lt(ce.draggableId,ce.source,bt):"You are over an area that cannot be dropped on"},de=function(ce){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+pt(ce.index)+`
|
|
|
`},ee=function(ce){if(ce.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+de(ce.source)+`
|
|
|
`;var Ue=ce.destination,bt=ce.combine;return Ue?`
|
|
|
You have dropped the item.
|
|
|
`+xe(ce.source,Ue)+`
|
|
|
`:bt?`
|
|
|
You have dropped the item.
|
|
|
`+lt(ce.draggableId,ce.source,bt)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+de(ce.source)+`
|
|
|
`},se={dragHandleUsageInstructions:Ge,onDragStart:Te,onDragUpdate:Ie,onDragEnd:ee},ke={x:0,y:0},Ce=function(ce,Ue){return{x:ce.x+Ue.x,y:ce.y+Ue.y}},ze=function(ce,Ue){return{x:ce.x-Ue.x,y:ce.y-Ue.y}},_e=function(ce,Ue){return ce.x===Ue.x&&ce.y===Ue.y},ae=function(ce){return{x:ce.x!==0?-ce.x:0,y:ce.y!==0?-ce.y:0}},me=function(ce,Ue,bt){var kt;return bt===void 0&&(bt=0),kt={},kt[ce]=Ue,kt[ce==="x"?"y":"x"]=bt,kt},Oe=function(ce,Ue){return Math.sqrt(Math.pow(Ue.x-ce.x,2)+Math.pow(Ue.y-ce.y,2))},Ze=function(ce,Ue){return Math.min.apply(Math,Ue.map(function(bt){return Oe(ce,bt)}))},vt=function(ce){return function(Ue){return{x:ce(Ue.x),y:ce(Ue.y)}}},Ct=function(ce,Ue){var bt=n({top:Math.max(Ue.top,ce.top),right:Math.min(Ue.right,ce.right),bottom:Math.min(Ue.bottom,ce.bottom),left:Math.max(Ue.left,ce.left)});return bt.width<=0||bt.height<=0?null:bt},Be=function(ce,Ue){return{top:ce.top+Ue.y,left:ce.left+Ue.x,bottom:ce.bottom+Ue.y,right:ce.right+Ue.x}},Rt=function(ce){return[{x:ce.left,y:ce.top},{x:ce.right,y:ce.top},{x:ce.left,y:ce.bottom},{x:ce.right,y:ce.bottom}]},He={top:0,right:0,bottom:0,left:0},wt=function(ce,Ue){return Ue?Be(ce,Ue.scroll.diff.displacement):ce},Ye=function(ce,Ue,bt){if(bt&&bt.increasedBy){var kt;return Object(p.a)({},ce,(kt={},kt[Ue.end]=ce[Ue.end]+bt.increasedBy[Ue.line],kt))}return ce},et=function(ce,Ue){return Ue&&Ue.shouldClipSubject?Ct(Ue.pageMarginBox,ce):n(ce)},rt=function(ce){var Ue=ce.page,bt=ce.withPlaceholder,kt=ce.axis,qt=ce.frame,ar=wt(Ue.marginBox,qt),lr=Ye(ar,kt,bt),yr=et(lr,qt);return{page:Ue,withPlaceholder:bt,active:yr}},st=function(ce,Ue){ce.frame||ge(!1);var bt=ce.frame,kt=ze(Ue,bt.scroll.initial),qt=ae(kt),ar=Object(p.a)({},bt,{scroll:{initial:bt.scroll.initial,current:Ue,diff:{value:kt,displacement:qt},max:bt.scroll.max}}),lr=rt({page:ce.subject.page,withPlaceholder:ce.subject.withPlaceholder,axis:ce.axis,frame:ar}),yr=Object(p.a)({},ce,{frame:ar,subject:lr});return yr};function Ve(at){return Number.isInteger?Number.isInteger(at):typeof at=="number"&&isFinite(at)&&Math.floor(at)===at}function ie(at){return Object.values?Object.values(at):Object.keys(at).map(function(ce){return at[ce]})}function $(at,ce){if(at.findIndex)return at.findIndex(ce);for(var Ue=0;Ue<at.length;Ue++)if(ce(at[Ue]))return Ue;return-1}function it(at,ce){if(at.find)return at.find(ce);var Ue=$(at,ce);return Ue!==-1?at[Ue]:void 0}function Qe(at){return Array.prototype.slice.call(at)}var ye=C(function(at){return at.reduce(function(ce,Ue){return ce[Ue.descriptor.id]=Ue,ce},{})}),Zt=C(function(at){return at.reduce(function(ce,Ue){return ce[Ue.descriptor.id]=Ue,ce},{})}),dt=C(function(at){return ie(at)}),ct=C(function(at){return ie(at)}),yt=C(function(at,ce){var Ue=ct(ce).filter(function(bt){return at===bt.descriptor.droppableId}).sort(function(bt,kt){return bt.descriptor.index-kt.descriptor.index});return Ue});function It(at){return at.at&&at.at.type==="REORDER"?at.at.destination:null}function or(at){return at.at&&at.at.type==="COMBINE"?at.at.combine:null}var Bt=C(function(at,ce){return ce.filter(function(Ue){return Ue.descriptor.id!==at.descriptor.id})}),Ae=function(ce){var Ue=ce.isMovingForward,bt=ce.draggable,kt=ce.destination,qt=ce.insideDestination,ar=ce.previousImpact;if(!kt.isCombineEnabled)return null;var lr=It(ar);if(!lr)return null;function yr(ei){var ci={type:"COMBINE",combine:{draggableId:ei,droppableId:kt.descriptor.id}};return Object(p.a)({},ar,{at:ci})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(Ue)return Xr?yr(Xr):null;var Br=Bt(bt,qt);if(!Xr){if(!Br.length)return null;var kr=Br[Br.length-1];return yr(kr.descriptor.id)}var Yr=$(Br,function(ei){return ei.descriptor.id===Xr});Yr!==-1||ge(!1);var dn=Yr-1;if(dn<0)return null;var pn=Br[dn];return yr(pn.descriptor.id)},pe=function(ce,Ue){return ce.descriptor.droppableId===Ue.descriptor.id},he={point:ke,value:0},le={invisible:{},visible:{},all:[]},Ne={displaced:le,displacedBy:he,at:null},je=function(ce,Ue){return function(bt){return ce<=bt&&bt<=Ue}},Ke=function(ce){var Ue=je(ce.top,ce.bottom),bt=je(ce.left,ce.right);return function(kt){var qt=Ue(kt.top)&&Ue(kt.bottom)&&bt(kt.left)&&bt(kt.right);if(qt)return!0;var ar=Ue(kt.top)||Ue(kt.bottom),lr=bt(kt.left)||bt(kt.right),yr=ar&&lr;if(yr)return!0;var Vr=kt.top<ce.top&&kt.bottom>ce.bottom,Xr=kt.left<ce.left&&kt.right>ce.right,Br=Vr&&Xr;if(Br)return!0;var kr=Vr&&lr||Xr&&ar;return kr}},Xe=function(ce){var Ue=je(ce.top,ce.bottom),bt=je(ce.left,ce.right);return function(kt){var qt=Ue(kt.top)&&Ue(kt.bottom)&&bt(kt.left)&&bt(kt.right);return qt}},Fe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},nt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},At=function(ce){return function(Ue){var bt=je(Ue.top,Ue.bottom),kt=je(Ue.left,Ue.right);return function(qt){return ce===Fe?bt(qt.top)&&bt(qt.bottom):kt(qt.left)&&kt(qt.right)}}},_t=function(ce,Ue){var bt=Ue.frame?Ue.frame.scroll.diff.displacement:ke;return Be(ce,bt)},ne=function(ce,Ue,bt){return Ue.subject.active?bt(Ue.subject.active)(ce):!1},ue=function(ce,Ue,bt){return bt(Ue)(ce)},Y=function(ce){var Ue=ce.target,bt=ce.destination,kt=ce.viewport,qt=ce.withDroppableDisplacement,ar=ce.isVisibleThroughFrameFn,lr=qt?_t(Ue,bt):Ue;return ne(lr,bt,ar)&&ue(lr,kt,ar)},te=function(ce){return Y(Object(p.a)({},ce,{isVisibleThroughFrameFn:Ke}))},be=function(ce){return Y(Object(p.a)({},ce,{isVisibleThroughFrameFn:Xe}))},Le=function(ce){return Y(Object(p.a)({},ce,{isVisibleThroughFrameFn:At(ce.destination.axis)}))},Re=function(ce,Ue,bt){if(typeof bt=="boolean")return bt;if(!Ue)return!0;var kt=Ue.invisible,qt=Ue.visible;if(kt[ce])return!1;var ar=qt[ce];return ar?ar.shouldAnimate:!0};function $e(at,ce){var Ue=at.page.marginBox,bt={top:ce.point.y,right:0,bottom:0,left:ce.point.x};return n(l(Ue,bt))}function gt(at){var ce=at.afterDragging,Ue=at.destination,bt=at.displacedBy,kt=at.viewport,qt=at.forceShouldAnimate,ar=at.last;return ce.reduce(function(yr,Vr){var Xr=$e(Vr,bt),Br=Vr.descriptor.id;yr.all.push(Br);var kr=te({target:Xr,destination:Ue,viewport:kt,withDroppableDisplacement:!0});if(!kr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Yr=Re(Br,ar,qt),dn={draggableId:Br,shouldAnimate:Yr};return yr.visible[Br]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(at,ce){if(!at.length)return 0;var Ue=at[at.length-1].descriptor.index;return ce.inHomeList?Ue:Ue+1}function $t(at){var ce=at.insideDestination,Ue=at.inHomeList,bt=at.displacedBy,kt=at.destination,qt=Wt(ce,{inHomeList:Ue});return{displaced:le,displacedBy:bt,at:{type:"REORDER",destination:{droppableId:kt.descriptor.id,index:qt}}}}function Dt(at){var ce=at.draggable,Ue=at.insideDestination,bt=at.destination,kt=at.viewport,qt=at.displacedBy,ar=at.last,lr=at.index,yr=at.forceShouldAnimate,Vr=pe(ce,bt);if(lr==null)return $t({insideDestination:Ue,inHomeList:Vr,displacedBy:qt,destination:bt});var Xr=it(Ue,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:Ue,inHomeList:Vr,displacedBy:qt,destination:bt});var Br=Bt(ce,Ue),kr=Ue.indexOf(Xr),Yr=Br.slice(kr),dn=gt({afterDragging:Yr,destination:bt,displacedBy:qt,last:ar,viewport:kt.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:bt.descriptor.id,index:lr}}}}function Kt(at,ce){return Boolean(ce.effected[at])}var Yt=function(ce){var Ue=ce.isMovingForward,bt=ce.destination,kt=ce.draggables,qt=ce.combine,ar=ce.afterCritical;if(!bt.isCombineEnabled)return null;var lr=qt.draggableId,yr=kt[lr],Vr=yr.descriptor.index,Xr=Kt(lr,ar);return Xr?Ue?Vr:Vr-1:Ue?Vr+1:Vr},Qt=function(ce){var Ue=ce.isMovingForward,bt=ce.isInHomeList,kt=ce.insideDestination,qt=ce.location;if(!kt.length)return null;var ar=qt.index,lr=Ue?ar+1:ar-1,yr=kt[0].descriptor.index,Vr=kt[kt.length-1].descriptor.index,Xr=bt?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(ce){var Ue=ce.isMovingForward,bt=ce.isInHomeList,kt=ce.draggable,qt=ce.draggables,ar=ce.destination,lr=ce.insideDestination,yr=ce.previousImpact,Vr=ce.viewport,Xr=ce.afterCritical,Br=yr.at;if(Br||ge(!1),Br.type==="REORDER"){var kr=Qt({isMovingForward:Ue,isInHomeList:bt,location:Br.destination,insideDestination:lr});return kr==null?null:Dt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:kr})}var Yr=Yt({isMovingForward:Ue,destination:ar,displaced:yr.displaced,draggables:qt,combine:Br.combine,afterCritical:Xr});return Yr==null?null:Dt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Yr})},dr=function(ce){var Ue=ce.displaced,bt=ce.afterCritical,kt=ce.combineWith,qt=ce.displacedBy,ar=Boolean(Ue.visible[kt]||Ue.invisible[kt]);return Kt(kt,bt)?ar?ke:ae(qt.point):ar?qt.point:ke},er=function(ce){var Ue=ce.afterCritical,bt=ce.impact,kt=ce.draggables,qt=or(bt);qt||ge(!1);var ar=qt.draggableId,lr=kt[ar].page.borderBox.center,yr=dr({displaced:bt.displaced,afterCritical:Ue,combineWith:ar,displacedBy:bt.displacedBy});return Ce(lr,yr)},ot=function(ce,Ue){return Ue.margin[ce.start]+Ue.borderBox[ce.size]/2},xt=function(ce,Ue){return Ue.margin[ce.end]+Ue.borderBox[ce.size]/2},ut=function(ce,Ue,bt){return Ue[ce.crossAxisStart]+bt.margin[ce.crossAxisStart]+bt.borderBox[ce.crossAxisSize]/2},ft=function(ce){var Ue=ce.axis,bt=ce.moveRelativeTo,kt=ce.isMoving;return me(Ue.line,bt.marginBox[Ue.end]+ot(Ue,kt),ut(Ue,bt.marginBox,kt))},Lt=function(ce){var Ue=ce.axis,bt=ce.moveRelativeTo,kt=ce.isMoving;return me(Ue.line,bt.marginBox[Ue.start]-xt(Ue,kt),ut(Ue,bt.marginBox,kt))},Tt=function(ce){var Ue=ce.axis,bt=ce.moveInto,kt=ce.isMoving;return me(Ue.line,bt.contentBox[Ue.start]+ot(Ue,kt),ut(Ue,bt.contentBox,kt))},ht=function(ce){var Ue=ce.impact,bt=ce.draggable,kt=ce.draggables,qt=ce.droppable,ar=ce.afterCritical,lr=yt(qt.descriptor.id,kt),yr=bt.page,Vr=qt.axis;if(!lr.length)return Tt({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=Ue.displaced,Br=Ue.displacedBy,kr=Xr.all[0];if(kr){var Yr=kt[kr];if(Kt(kr,ar))return Lt({axis:Vr,moveRelativeTo:Yr.page,isMoving:yr});var dn=E(Yr.page,Br.point);return Lt({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===bt.descriptor.id)return yr.borderBox.center;if(Kt(pn.descriptor.id,ar)){var ei=E(pn.page,ae(ar.displacedBy.point));return ft({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return ft({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(ce,Ue){var bt=ce.frame;return bt?Ce(Ue,bt.scroll.diff.displacement):Ue},Ft=function(ce){var Ue=ce.impact,bt=ce.draggable,kt=ce.droppable,qt=ce.draggables,ar=ce.afterCritical,lr=bt.page.borderBox.center,yr=Ue.at;return kt&&yr?yr.type==="REORDER"?ht({impact:Ue,draggable:bt,draggables:qt,droppable:kt,afterCritical:ar}):er({impact:Ue,draggables:qt,afterCritical:ar}):lr},ir=function(ce){var Ue=Ft(ce),bt=ce.droppable,kt=bt?Ht(bt,Ue):Ue;return kt},Xt=function(ce,Ue){var bt=ze(Ue,ce.scroll.initial),kt=ae(bt),qt=n({top:Ue.y,bottom:Ue.y+ce.frame.height,left:Ue.x,right:Ue.x+ce.frame.width}),ar={frame:qt,scroll:{initial:ce.scroll.initial,max:ce.scroll.max,current:Ue,diff:{value:bt,displacement:kt}}};return ar};function mr(at,ce){return at.map(function(Ue){return ce[Ue]})}function Ar(at,ce){for(var Ue=0;Ue<ce.length;Ue++){var bt=ce[Ue].visible[at];if(bt)return bt}return null}var Nr=function(ce){var Ue=ce.impact,bt=ce.viewport,kt=ce.destination,qt=ce.draggables,ar=ce.maxScrollChange,lr=Xt(bt,Ce(bt.scroll.current,ar)),yr=kt.frame?st(kt,Ce(kt.frame.scroll.current,ar)):kt,Vr=Ue.displaced,Xr=gt({afterDragging:mr(Vr.all,qt),destination:kt,displacedBy:Ue.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Br=gt({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:Ue.displacedBy,viewport:bt.frame,last:Vr,forceShouldAnimate:!1}),kr={},Yr={},dn=[Vr,Xr,Br];Vr.all.forEach(function(ei){var ci=Ar(ei,dn);if(ci){Yr[ei]=ci;return}kr[ei]=!0});var pn=Object(p.a)({},Ue,{displaced:{all:Vr.all,invisible:kr,visible:Yr}});return pn},Fr=function(ce,Ue){return Ce(ce.scroll.diff.displacement,Ue)},tn=function(ce){var Ue=ce.pageBorderBoxCenter,bt=ce.draggable,kt=ce.viewport,qt=Fr(kt,Ue),ar=ze(qt,bt.page.borderBox.center);return Ce(bt.client.borderBox.center,ar)},qr=function(ce){var Ue=ce.draggable,bt=ce.destination,kt=ce.newPageBorderBoxCenter,qt=ce.viewport,ar=ce.withDroppableDisplacement,lr=ce.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=ze(kt,Ue.page.borderBox.center),Xr=Be(Ue.page.borderBox,Vr),Br={target:Xr,destination:bt,withDroppableDisplacement:ar,viewport:qt};return yr?Le(Br):be(Br)},Or=function(ce){var Ue=ce.isMovingForward,bt=ce.draggable,kt=ce.destination,qt=ce.draggables,ar=ce.previousImpact,lr=ce.viewport,yr=ce.previousPageBorderBoxCenter,Vr=ce.previousClientSelection,Xr=ce.afterCritical;if(!kt.isEnabled)return null;var Br=yt(kt.descriptor.id,qt),kr=pe(bt,kt),Yr=Ae({isMovingForward:Ue,draggable:bt,destination:kt,insideDestination:Br,previousImpact:ar})||Mt({isMovingForward:Ue,isInHomeList:kr,draggable:bt,draggables:qt,destination:kt,insideDestination:Br,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Yr)return null;var dn=ir({impact:Yr,draggable:bt,droppable:kt,draggables:qt,afterCritical:Xr}),pn=qr({draggable:bt,destination:kt,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:bt,viewport:lr});return{clientSelection:ei,impact:Yr,scrollJumpRequest:null}}var ci=ze(dn,yr),ii=Nr({impact:Yr,viewport:lr,destination:kt,draggables:qt,maxScrollChange:ci});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ci}},Qr=function(ce){var Ue=ce.subject.active;return Ue||ge(!1),Ue},Ir=function(ce){var Ue=ce.isMovingForward,bt=ce.pageBorderBoxCenter,kt=ce.source,qt=ce.droppables,ar=ce.viewport,lr=kt.subject.active;if(!lr)return null;var yr=kt.axis,Vr=je(lr[yr.start],lr[yr.end]),Xr=dt(qt).filter(function(kr){return kr!==kt}).filter(function(kr){return kr.isEnabled}).filter(function(kr){return Boolean(kr.subject.active)}).filter(function(kr){return Ke(ar.frame)(Qr(kr))}).filter(function(kr){var Yr=Qr(kr);return Ue?lr[yr.crossAxisEnd]<Yr[yr.crossAxisEnd]:Yr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(kr){var Yr=Qr(kr),dn=je(Yr[yr.start],Yr[yr.end]);return Vr(Yr[yr.start])||Vr(Yr[yr.end])||dn(lr[yr.start])||dn(lr[yr.end])}).sort(function(kr,Yr){var dn=Qr(kr)[yr.crossAxisStart],pn=Qr(Yr)[yr.crossAxisStart];return Ue?dn-pn:pn-dn}).filter(function(kr,Yr,dn){return Qr(kr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Br=Xr.filter(function(kr){var Yr=je(Qr(kr)[yr.start],Qr(kr)[yr.end]);return Yr(bt[yr.line])});return Br.length===1?Br[0]:Br.length>1?Br.sort(function(kr,Yr){return Qr(kr)[yr.start]-Qr(Yr)[yr.start]})[0]:Xr.sort(function(kr,Yr){var dn=Ze(bt,Rt(Qr(kr))),pn=Ze(bt,Rt(Qr(Yr)));return dn!==pn?dn-pn:Qr(kr)[yr.start]-Qr(Yr)[yr.start]})[0]},ur=function(ce,Ue){var bt=ce.page.borderBox.center;return Kt(ce.descriptor.id,Ue)?ze(bt,Ue.displacedBy.point):bt},pr=function(ce,Ue){var bt=ce.page.borderBox;return Kt(ce.descriptor.id,Ue)?Be(bt,ae(Ue.displacedBy.point)):bt},cr=function(ce){var Ue=ce.pageBorderBoxCenter,bt=ce.viewport,kt=ce.destination,qt=ce.insideDestination,ar=ce.afterCritical,lr=qt.filter(function(yr){return be({target:pr(yr,ar),destination:kt,viewport:bt.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=Oe(Ue,Ht(kt,ur(yr,ar))),Br=Oe(Ue,Ht(kt,ur(Vr,ar)));return Xr<Br?-1:Br<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=C(function(ce,Ue){var bt=Ue[ce.line];return{value:bt,point:me(ce.line,bt)}}),xr=function(ce,Ue,bt){var kt=ce.axis;if(ce.descriptor.mode==="virtual")return me(kt.line,Ue[kt.line]);var qt=ce.subject.page.contentBox[kt.size],ar=yt(ce.descriptor.id,bt),lr=ar.reduce(function(Xr,Br){return Xr+Br.client.marginBox[kt.size]},0),yr=lr+Ue[kt.line],Vr=yr-qt;return Vr<=0?null:me(kt.line,Vr)},Gr=function(ce,Ue){return Object(p.a)({},ce,{scroll:Object(p.a)({},ce.scroll,{max:Ue})})},un=function(ce,Ue,bt){var kt=ce.frame;pe(Ue,ce)&&ge(!1),ce.subject.withPlaceholder&&ge(!1);var qt=fr(ce.axis,Ue.displaceBy).point,ar=xr(ce,qt,bt),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:ce.frame?ce.frame.scroll.max:null};if(!kt){var yr=rt({page:ce.subject.page,withPlaceholder:lr,axis:ce.axis,frame:ce.frame});return Object(p.a)({},ce,{subject:yr})}var Vr=ar?Ce(kt.scroll.max,ar):kt.scroll.max,Xr=Gr(kt,Vr),Br=rt({page:ce.subject.page,withPlaceholder:lr,axis:ce.axis,frame:Xr});return Object(p.a)({},ce,{subject:Br,frame:Xr})},Nn=function(ce){var Ue=ce.subject.withPlaceholder;Ue||ge(!1);var bt=ce.frame;if(!bt){var kt=rt({page:ce.subject.page,axis:ce.axis,frame:null,withPlaceholder:null});return Object(p.a)({},ce,{subject:kt})}var qt=Ue.oldFrameMaxScroll;qt||ge(!1);var ar=Gr(bt,qt),lr=rt({page:ce.subject.page,axis:ce.axis,frame:ar,withPlaceholder:null});return Object(p.a)({},ce,{subject:lr,frame:ar})},jr=function(ce){var Ue=ce.previousPageBorderBoxCenter,bt=ce.moveRelativeTo,kt=ce.insideDestination,qt=ce.draggable,ar=ce.draggables,lr=ce.destination,yr=ce.viewport,Vr=ce.afterCritical;if(!bt){if(kt.length)return null;var Xr={displaced:le,displacedBy:he,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Br=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),kr=pe(qt,lr)?lr:un(lr,qt,ar),Yr=qr({draggable:qt,destination:kr,newPageBorderBoxCenter:Br,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Yr?Xr:null}var dn=Boolean(Ue[lr.axis.line]<=bt.page.borderBox.center[lr.axis.line]),pn=function(){var ci=bt.descriptor.index;return bt.descriptor.id===qt.descriptor.id||dn?ci:ci+1}(),ei=fr(lr.axis,qt.displaceBy);return Dt({draggable:qt,insideDestination:kt,destination:lr,viewport:yr,displacedBy:ei,last:le,index:pn})},Tn=function(ce){var Ue=ce.isMovingForward,bt=ce.previousPageBorderBoxCenter,kt=ce.draggable,qt=ce.isOver,ar=ce.draggables,lr=ce.droppables,yr=ce.viewport,Vr=ce.afterCritical,Xr=Ir({isMovingForward:Ue,pageBorderBoxCenter:bt,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Br=yt(Xr.descriptor.id,ar),kr=cr({pageBorderBoxCenter:bt,viewport:yr,destination:Xr,insideDestination:Br,afterCritical:Vr}),Yr=jr({previousPageBorderBoxCenter:bt,destination:Xr,draggable:kt,draggables:ar,moveRelativeTo:kr,insideDestination:Br,viewport:yr,afterCritical:Vr});if(!Yr)return null;var dn=ir({impact:Yr,draggable:kt,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:kt,viewport:yr});return{clientSelection:pn,impact:Yr,scrollJumpRequest:null}},gn=function(ce){var Ue=ce.at;return Ue?Ue.type==="REORDER"?Ue.destination.droppableId:Ue.combine.droppableId:null},Pn=function(ce,Ue){var bt=gn(ce);return bt?Ue[bt]:null},zn=function(ce){var Ue=ce.state,bt=ce.type,kt=Pn(Ue.impact,Ue.dimensions.droppables),qt=Boolean(kt),ar=Ue.dimensions.droppables[Ue.critical.droppable.id],lr=kt||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(bt==="MOVE_UP"||bt==="MOVE_DOWN")||yr==="horizontal"&&(bt==="MOVE_LEFT"||bt==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=bt==="MOVE_DOWN"||bt==="MOVE_RIGHT",Br=Ue.dimensions.draggables[Ue.critical.draggable.id],kr=Ue.current.page.borderBoxCenter,Yr=Ue.dimensions,dn=Yr.draggables,pn=Yr.droppables;return Vr?Or({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Br,destination:lr,draggables:dn,viewport:Ue.viewport,previousClientSelection:Ue.current.client.selection,previousImpact:Ue.impact,afterCritical:Ue.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Br,isOver:lr,draggables:dn,droppables:pn,viewport:Ue.viewport,afterCritical:Ue.afterCritical})};function qn(at){return at.phase==="DRAGGING"||at.phase==="COLLECTING"}function Gn(at){var ce=je(at.top,at.bottom),Ue=je(at.left,at.right);return function(kt){return ce(kt.y)&&Ue(kt.x)}}function Vn(at,ce){return at.left<ce.right&&at.right>ce.left&&at.top<ce.bottom&&at.bottom>ce.top}function An(at){var ce=at.pageBorderBox,Ue=at.draggable,bt=at.candidates,kt=Ue.page.borderBox.center,qt=bt.map(function(ar){var lr=ar.axis,yr=me(ar.axis.line,ce.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:Oe(kt,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(at){var ce=at.pageBorderBox,Ue=at.draggable,bt=at.droppables,kt=dt(bt).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(ce,ar))return!1;if(Gn(ar)(ce.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=ce[lr.crossAxisStart],Xr=ce[lr.crossAxisEnd],Br=je(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),kr=Br(Vr),Yr=Br(Xr);return!kr&&!Yr?!0:kr?Vr<yr:Xr>yr});return kt.length?kt.length===1?kt[0].descriptor.id:An({pageBorderBox:ce,draggable:Ue,candidates:kt}):null}var ia=function(ce,Ue){return n(Be(ce,Ue))},xa=function(ce,Ue){var bt=ce.frame;return bt?ia(Ue,bt.scroll.diff.value):Ue};function ta(at){var ce=at.displaced,Ue=at.id;return Boolean(ce.visible[Ue]||ce.invisible[Ue])}function Ii(at){var ce=at.draggable,Ue=at.closest,bt=at.inHomeList;return Ue?bt&&Ue.descriptor.index>ce.descriptor.index?Ue.descriptor.index-1:Ue.descriptor.index:null}var Ci=function(ce){var Ue=ce.pageBorderBoxWithDroppableScroll,bt=ce.draggable,kt=ce.destination,qt=ce.insideDestination,ar=ce.last,lr=ce.viewport,yr=ce.afterCritical,Vr=kt.axis,Xr=fr(kt.axis,bt.displaceBy),Br=Xr.value,kr=Ue[Vr.start],Yr=Ue[Vr.end],dn=Bt(bt,qt),pn=it(dn,function(ci){var ii=ci.descriptor.id,Ji=ci.page.borderBox.center[Vr.line],Si=Kt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Yr<=Ji:kr<Ji-Br:Va?Yr<=Ji+Br:kr<Ji}),ei=Ii({draggable:bt,closest:pn,inHomeList:pe(bt,kt)});return Dt({draggable:bt,insideDestination:qt,destination:kt,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Yn=4,_a=function(ce){var Ue=ce.draggable,bt=ce.pageBorderBoxWithDroppableScroll,kt=ce.previousImpact,qt=ce.destination,ar=ce.insideDestination,lr=ce.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,Ue.displaceBy),Xr=Vr.value,Br=bt[yr.start],kr=bt[yr.end],Yr=Bt(Ue,ar),dn=it(Yr,function(ei){var ci=ei.descriptor.id,ii=ei.page.borderBox,Ji=ii[yr.size],Si=Ji/Yn,Va=Kt(ci,lr),Ei=ta({displaced:kt.displaced,id:ci});return Va?Ei?kr>ii[yr.start]+Si&&kr<ii[yr.end]-Si:Br>ii[yr.start]-Xr+Si&&Br<ii[yr.end]-Xr-Si:Ei?kr>ii[yr.start]+Xr+Si&&kr<ii[yr.end]+Xr-Si:Br>ii[yr.start]+Si&&Br<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:kt.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(ce){var Ue=ce.pageOffset,bt=ce.draggable,kt=ce.draggables,qt=ce.droppables,ar=ce.previousImpact,lr=ce.viewport,yr=ce.afterCritical,Vr=ia(bt.page.borderBox,Ue),Xr=on({pageBorderBox:Vr,draggable:bt,droppables:qt});if(!Xr)return Ne;var Br=qt[Xr],kr=yt(Br.descriptor.id,kt),Yr=xa(Br,Vr);return _a({pageBorderBoxWithDroppableScroll:Yr,draggable:bt,previousImpact:ar,destination:Br,insideDestination:kr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Yr,draggable:bt,destination:Br,insideDestination:kr,last:ar.displaced,viewport:lr,afterCritical:yr})},_n=function(ce,Ue){var bt;return Object(p.a)({},ce,(bt={},bt[Ue.descriptor.id]=Ue,bt))},On=function(ce){var Ue=ce.previousImpact,bt=ce.impact,kt=ce.droppables,qt=gn(Ue),ar=gn(bt);if(!qt)return kt;if(qt===ar)return kt;var lr=kt[qt];if(!lr.subject.withPlaceholder)return kt;var yr=Nn(lr);return _n(kt,yr)},In=function(ce){var Ue=ce.draggable,bt=ce.draggables,kt=ce.droppables,qt=ce.previousImpact,ar=ce.impact,lr=On({previousImpact:qt,impact:ar,droppables:kt}),yr=gn(ar);if(!yr)return lr;var Vr=kt[yr];if(pe(Ue,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=un(Vr,Ue,bt);return _n(lr,Xr)},jn=function(ce){var Ue=ce.state,bt=ce.clientSelection,kt=ce.dimensions,qt=ce.viewport,ar=ce.impact,lr=ce.scrollJumpRequest,yr=qt||Ue.viewport,Vr=kt||Ue.dimensions,Xr=bt||Ue.current.client.selection,Br=ze(Xr,Ue.initial.client.selection),kr={offset:Br,selection:Xr,borderBoxCenter:Ce(Ue.initial.client.borderBoxCenter,Br)},Yr={selection:Ce(kr.selection,yr.scroll.current),borderBoxCenter:Ce(kr.borderBoxCenter,yr.scroll.current),offset:Ce(kr.offset,yr.scroll.diff.value)},dn={client:kr,page:Yr};if(Ue.phase==="COLLECTING")return Object(p.a)({phase:"COLLECTING"},Ue,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[Ue.critical.draggable.id],ei=ar||mn({pageOffset:Yr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:Ue.impact,viewport:yr,afterCritical:Ue.afterCritical}),ci=In({draggable:pn,impact:ei,previousImpact:Ue.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(p.a)({},Ue,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ci},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(at,ce){return at.map(function(Ue){return ce[Ue]})}var di=function(ce){var Ue=ce.impact,bt=ce.viewport,kt=ce.draggables,qt=ce.destination,ar=ce.forceShouldAnimate,lr=Ue.displaced,yr=ni(lr.all,kt),Vr=gt({afterDragging:yr,destination:qt,displacedBy:Ue.displacedBy,viewport:bt.frame,forceShouldAnimate:ar,last:lr});return Object(p.a)({},Ue,{displaced:Vr})},Na=function(ce){var Ue=ce.impact,bt=ce.draggable,kt=ce.droppable,qt=ce.draggables,ar=ce.viewport,lr=ce.afterCritical,yr=ir({impact:Ue,draggable:bt,draggables:qt,droppable:kt,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:bt,viewport:ar})},Qi=function(ce){var Ue=ce.state,bt=ce.dimensions,kt=ce.viewport;Ue.movementMode==="SNAP"||ge(!1);var qt=Ue.impact,ar=kt||Ue.viewport,lr=bt||Ue.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[Ue.critical.draggable.id],Br=gn(qt);Br||ge(!1);var kr=Vr[Br],Yr=di({impact:qt,viewport:ar,destination:kr,draggables:yr}),dn=Na({impact:Yr,draggable:Xr,droppable:kr,draggables:yr,viewport:ar,afterCritical:Ue.afterCritical});return jn({impact:Yr,clientSelection:dn,state:Ue,dimensions:lr,viewport:ar})},ma=function(ce){return{index:ce.index,droppableId:ce.droppableId}},Ba=function(ce){var Ue=ce.draggable,bt=ce.home,kt=ce.draggables,qt=ce.viewport,ar=fr(bt.axis,Ue.displaceBy),lr=yt(bt.descriptor.id,kt),yr=lr.indexOf(Ue);yr!==-1||ge(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Br={inVirtualList:bt.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},kr=gt({afterDragging:Vr,destination:bt,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Yr={displaced:kr,displacedBy:ar,at:{type:"REORDER",destination:ma(Ue.descriptor)}};return{impact:Yr,afterCritical:Br}},Qa=function(ce,Ue){return{draggables:ce.draggables,droppables:_n(ce.droppables,Ue)}},Wi=function(ce){},Co=function(ce){},aa=function(ce){var Ue=ce.draggable,bt=ce.offset,kt=ce.initialWindowScroll,qt=E(Ue.client,bt),ar=A(qt,kt),lr=Object(p.a)({},Ue,{placeholder:Object(p.a)({},Ue.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(ce){var Ue=ce.frame;return Ue||ge(!1),Ue},ga=function(ce){var Ue=ce.additions,bt=ce.updatedDroppables,kt=ce.viewport,qt=kt.scroll.diff.value;return Ue.map(function(ar){var lr=ar.descriptor.droppableId,yr=bt[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Br=Ce(qt,Xr),kr=aa({draggable:ar,offset:Br,initialWindowScroll:kt.scroll.initial});return kr})},ha=function(ce){var Ue=ce.state,bt=ce.published;Wi();var kt=bt.modified.map(function(Si){var Va=Ue.dimensions.droppables[Si.droppableId],Ei=st(Va,Si.scroll);return Ei}),qt=Object(p.a)({},Ue.dimensions.droppables,{},ye(kt)),ar=Zt(ga({additions:bt.additions,updatedDroppables:qt,viewport:Ue.viewport})),lr=Object(p.a)({},Ue.dimensions.draggables,{},ar);bt.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(Ue.impact),Xr=Vr?yr.droppables[Vr]:null,Br=yr.draggables[Ue.critical.draggable.id],kr=yr.droppables[Ue.critical.droppable.id],Yr=Ba({draggable:Br,home:kr,draggables:lr,viewport:Ue.viewport}),dn=Yr.impact,pn=Yr.afterCritical,ei=Xr&&Xr.isCombineEnabled?Ue.impact:dn,ci=mn({pageOffset:Ue.current.page.offset,draggable:yr.draggables[Ue.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:Ue.viewport,afterCritical:pn});Co();var ii=Object(p.a)({phase:"DRAGGING"},Ue,{phase:"DRAGGING",impact:ci,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(Ue.phase==="COLLECTING")return ii;var Ji=Object(p.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:Ue.reason,isWaiting:!1});return Ji},mo=function(ce){return ce.movementMode==="SNAP"},kn=function(ce,Ue,bt){var kt=Qa(ce.dimensions,Ue);return!mo(ce)||bt?jn({state:ce,dimensions:kt}):Qi({state:ce,dimensions:kt})};function $i(at){return at.isDragging&&at.movementMode==="SNAP"?Object(p.a)({phase:"DRAGGING"},at,{scrollJumpRequest:null}):at}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(ce,Ue){if(ce===void 0&&(ce=eo),Ue.type==="FLUSH")return Object(p.a)({},eo,{shouldFlush:!0});if(Ue.type==="INITIAL_PUBLISH"){ce.phase==="IDLE"||ge(!1);var bt=Ue.payload,kt=bt.critical,qt=bt.clientSelection,ar=bt.viewport,lr=bt.dimensions,yr=bt.movementMode,Vr=lr.draggables[kt.draggable.id],Xr=lr.droppables[kt.droppable.id],Br={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:ke},kr={client:Br,page:{selection:Ce(Br.selection,ar.scroll.initial),borderBoxCenter:Ce(Br.selection,ar.scroll.initial),offset:Ce(Br.selection,ar.scroll.diff.value)}},Yr=dt(lr.droppables).every(function(Z){return!Z.isFixedOnPage}),dn=Ba({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ci={phase:"DRAGGING",isDragging:!0,critical:kt,movementMode:yr,dimensions:lr,initial:kr,current:kr,isWindowScrollAllowed:Yr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ci}if(Ue.type==="COLLECTION_STARTING"){if(ce.phase==="COLLECTING"||ce.phase==="DROP_PENDING")return ce;ce.phase==="DRAGGING"||ge(!1);var ii=Object(p.a)({phase:"COLLECTING"},ce,{phase:"COLLECTING"});return ii}if(Ue.type==="PUBLISH_WHILE_DRAGGING")return ce.phase==="COLLECTING"||ce.phase==="DROP_PENDING"||ge(!1),ha({state:ce,published:Ue.payload});if(Ue.type==="MOVE"){if(ce.phase==="DROP_PENDING")return ce;qn(ce)||ge(!1);var Ji=Ue.payload.client;return _e(Ji,ce.current.client.selection)?ce:jn({state:ce,clientSelection:Ji,impact:mo(ce)?ce.impact:null})}if(Ue.type==="UPDATE_DROPPABLE_SCROLL"){if(ce.phase==="DROP_PENDING")return $i(ce);if(ce.phase==="COLLECTING")return $i(ce);qn(ce)||ge(!1);var Si=Ue.payload,Va=Si.id,Ei=Si.newScroll,co=ce.dimensions.droppables[Va];if(!co)return ce;var Ko=st(co,Ei);return kn(ce,Ko,!1)}if(Ue.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ce.phase==="DROP_PENDING")return ce;qn(ce)||ge(!1);var ao=Ue.payload,Uo=ao.id,L=ao.isEnabled,M=ce.dimensions.droppables[Uo];M||ge(!1),M.isEnabled!==L||ge(!1);var Q=Object(p.a)({},M,{isEnabled:L});return kn(ce,Q,!0)}if(Ue.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ce.phase==="DROP_PENDING")return ce;qn(ce)||ge(!1);var J=Ue.payload,re=J.id,De=J.isCombineEnabled,mt=ce.dimensions.droppables[re];mt||ge(!1),mt.isCombineEnabled!==De||ge(!1);var Nt=Object(p.a)({},mt,{isCombineEnabled:De});return kn(ce,Nt,!0)}if(Ue.type==="MOVE_BY_WINDOW_SCROLL"){if(ce.phase==="DROP_PENDING"||ce.phase==="DROP_ANIMATING")return ce;qn(ce)||ge(!1),ce.isWindowScrollAllowed||ge(!1);var zt=Ue.payload.newScroll;if(_e(ce.viewport.scroll.current,zt))return $i(ce);var Gt=Xt(ce.viewport,zt);return mo(ce)?Qi({state:ce,viewport:Gt}):jn({state:ce,viewport:Gt})}if(Ue.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(ce))return ce;var Cr=Ue.payload.maxScroll;if(_e(Cr,ce.viewport.scroll.max))return ce;var Ur=Object(p.a)({},ce.viewport,{scroll:Object(p.a)({},ce.viewport.scroll,{max:Cr})});return Object(p.a)({phase:"DRAGGING"},ce,{viewport:Ur})}if(Ue.type==="MOVE_UP"||Ue.type==="MOVE_DOWN"||Ue.type==="MOVE_LEFT"||Ue.type==="MOVE_RIGHT"){if(ce.phase==="COLLECTING"||ce.phase==="DROP_PENDING")return ce;ce.phase==="DRAGGING"||ge(!1);var en=zn({state:ce,type:Ue.type});return en?jn({state:ce,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):ce}if(Ue.type==="DROP_PENDING"){var nn=Ue.payload.reason;ce.phase==="COLLECTING"||ge(!1);var xn=Object(p.a)({phase:"DROP_PENDING"},ce,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(Ue.type==="DROP_ANIMATE"){var Bn=Ue.payload,Zn=Bn.completed,Jn=Bn.dropDuration,oi=Bn.newHomeClientOffset;ce.phase==="DRAGGING"||ce.phase==="DROP_PENDING"||ge(!1);var li={phase:"DROP_ANIMATING",completed:Zn,dropDuration:Jn,newHomeClientOffset:oi,dimensions:ce.dimensions};return li}if(Ue.type==="DROP_COMPLETE"){var qe=Ue.payload.completed;return{phase:"IDLE",completed:qe,shouldFlush:!1}}return ce},uo=function(ce){return{type:"BEFORE_INITIAL_CAPTURE",payload:ce}},rr=function(ce){return{type:"LIFT",payload:ce}},Tr=function(ce){return{type:"INITIAL_PUBLISH",payload:ce}},Pr=function(ce){return{type:"PUBLISH_WHILE_DRAGGING",payload:ce}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(ce){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ce}},tt=function(ce){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ce}},jt=function(ce){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ce}},Jt=function(ce){return{type:"MOVE",payload:ce}},nr=function(ce){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ce}},_r=function(ce){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ce}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},zr=function(){return{type:"MOVE_RIGHT",payload:null}},Jr=function(){return{type:"MOVE_LEFT",payload:null}},Zr=function(){return{type:"FLUSH",payload:null}},an=function(ce){return{type:"DROP_ANIMATE",payload:ce}},St=function(ce){return{type:"DROP_COMPLETE",payload:ce}},Vt=function(ce){return{type:"DROP",payload:ce}},sr=function(ce){return{type:"DROP_PENDING",payload:ce}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(at){if(at.length<=1)return;for(var ce=at.map(function(lr){return lr.descriptor.index}),Ue={},bt=1;bt<ce.length;bt++){var kt=ce[bt],qt=ce[bt-1];kt!==qt+1&&(Ue[kt]=!0)}if(!Object.keys(Ue).length)return;var ar=ce.map(function(lr){var yr=Boolean(Ue[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(at,ce){if(!1)var Ue}var rn=function(ce){return function(Ue){var bt=Ue.getState,kt=Ue.dispatch;return function(qt){return function(ar){if(ar.type!=="LIFT"){qt(ar);return}var lr=ar.payload,yr=lr.id,Vr=lr.clientSelection,Xr=lr.movementMode,Br=bt();Br.phase==="DROP_ANIMATING"&&kt(St({completed:Br.completed})),bt().phase==="IDLE"||ge(!1),kt(Zr()),kt(uo({draggableId:yr,movementMode:Xr}));var kr={shouldPublishImmediately:Xr==="SNAP"},Yr={draggableId:yr,scrollOptions:kr},dn=ce.startPublishing(Yr),pn=dn.critical,ei=dn.dimensions,ci=dn.viewport;Dr(pn,ei),kt(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ci}))}}}},fn=function(ce){return function(){return function(Ue){return function(bt){bt.type==="INITIAL_PUBLISH"&&ce.dragging(),bt.type==="DROP_ANIMATE"&&ce.dropping(bt.payload.completed.result.reason),(bt.type==="FLUSH"||bt.type==="DROP_COMPLETE")&&ce.resting(),Ue(bt)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Mn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(ce){var Ue=ce+"s "+wn.drop;return"transform "+Ue+", opacity "+Ue},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(ce){return _e(ce,ke)?null:"translate("+ce.x+"px, "+ce.y+"px)"},Rn={moveTo:vn,drop:function(ce,Ue){var bt=vn(ce);return bt?Ue?bt+" scale("+Hn.scale.drop+")":bt:null}},En=Sn.minDropTime,Ln=Sn.maxDropTime,Xn=Ln-En,ai=1500,ri=.6,Di=function(ce){var Ue=ce.current,bt=ce.destination,kt=ce.reason,qt=Oe(Ue,bt);if(qt<=0)return En;if(qt>=ai)return Ln;var ar=qt/ai,lr=En+Xn*ar,yr=kt==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(ce){var Ue=ce.impact,bt=ce.draggable,kt=ce.dimensions,qt=ce.viewport,ar=ce.afterCritical,lr=kt.draggables,yr=kt.droppables,Vr=gn(Ue),Xr=Vr?yr[Vr]:null,Br=yr[bt.descriptor.droppableId],kr=Na({impact:Ue,draggable:bt,draggables:lr,afterCritical:ar,droppable:Xr||Br,viewport:qt}),Yr=ze(kr,bt.client.borderBox.center);return Yr},xi=function(ce){var Ue=ce.draggables,bt=ce.reason,kt=ce.lastImpact,qt=ce.home,ar=ce.viewport,lr=ce.onLiftImpact;if(!kt.at||bt!=="DROP"){var yr=di({draggables:Ue,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(kt.at.type==="REORDER")return{impact:kt,didDropInsideDroppable:!0};var Vr=Object(p.a)({},kt,{displaced:le});return{impact:Vr,didDropInsideDroppable:!0}},Oi=function(ce){var Ue=ce.getState,bt=ce.dispatch;return function(kt){return function(qt){if(qt.type!=="DROP"){kt(qt);return}var ar=Ue(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){bt(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&ge(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||ge(!1);var Vr=ar.critical,Xr=ar.dimensions,Br=Xr.draggables[ar.critical.draggable.id],kr=xi({reason:lr,lastImpact:ar.impact,afterCritical:ar.afterCritical,onLiftImpact:ar.onLiftImpact,home:ar.dimensions.droppables[ar.critical.droppable.id],viewport:ar.viewport,draggables:ar.dimensions.draggables}),Yr=kr.impact,dn=kr.didDropInsideDroppable,pn=dn?It(Yr):null,ei=dn?or(Yr):null,ci={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:Br.descriptor.id,type:Br.descriptor.type,source:ci,reason:lr,mode:ar.movementMode,destination:pn,combine:ei},Ji=yi({impact:Yr,draggable:Br,dimensions:Xr,viewport:ar.viewport,afterCritical:ar.afterCritical}),Si={critical:ar.critical,afterCritical:ar.afterCritical,result:ii,impact:Yr},Va=!_e(ar.current.client.offset,Ji)||Boolean(ii.combine);if(!Va){bt(St({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Ji,reason:lr}),co={newHomeClientOffset:Ji,dropDuration:Ei,completed:Si};bt(an(co))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(at){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ue){if(Ue.target!==window&&Ue.target!==window.document)return;at()}}}function fa(at){var ce=at.onWindowScroll;function Ue(){ce(Un())}var bt=N(Ue),kt=Ri(bt),qt=X;function ar(){return qt!==X}function lr(){ar()&&ge(!1),qt=fe(window,[kt])}function yr(){ar()||ge(!1),bt.cancel(),qt(),qt=X}return{start:lr,stop:yr,isActive:ar}}var Ui=function(ce){return ce.type==="DROP_COMPLETE"||ce.type==="DROP_ANIMATE"||ce.type==="FLUSH"},Mi=function(ce){var Ue=fa({onWindowScroll:function(kt){ce.dispatch(nr({newScroll:kt}))}});return function(bt){return function(kt){!Ue.isActive()&&kt.type==="INITIAL_PUBLISH"&&Ue.start(),Ue.isActive()&&Ui(kt)&&Ue.stop(),bt(kt)}}},mi=function(ce){var Ue=!1,bt=!1,kt=setTimeout(function(){bt=!0}),qt=function(lr){if(Ue)return;if(bt)return;Ue=!0,ce(lr),clearTimeout(kt)};return qt.wasCalled=function(){return Ue},qt},hi=function(){var ce=[],Ue=function(ar){var lr=$(ce,function(Xr){return Xr.timerId===ar});lr!==-1||ge(!1);var yr=ce.splice(lr,1),Vr=yr[0];Vr.callback()},bt=function(ar){var lr=setTimeout(function(){return Ue(lr)}),yr={timerId:lr,callback:ar};ce.push(yr)},kt=function(){if(!ce.length)return;var ar=[].concat(ce);ce.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:bt,flush:kt}},qi=function(ce,Ue){return ce==null&&Ue==null?!0:ce==null||Ue==null?!1:ce.droppableId===Ue.droppableId&&ce.index===Ue.index},va=function(ce,Ue){return ce==null&&Ue==null?!0:ce==null||Ue==null?!1:ce.draggableId===Ue.draggableId&&ce.droppableId===Ue.droppableId},Ea=function(ce,Ue){if(ce===Ue)return!0;var bt=ce.draggable.id===Ue.draggable.id&&ce.draggable.droppableId===Ue.draggable.droppableId&&ce.draggable.type===Ue.draggable.type&&ce.draggable.index===Ue.draggable.index,kt=ce.droppable.id===Ue.droppable.id&&ce.droppable.type===Ue.droppable.type;return bt&&kt},ya=function(ce,Ue){Wi(),Ue(),Co()},oa=function(ce,Ue){return{draggableId:ce.draggable.id,type:ce.droppable.type,source:{droppableId:ce.droppable.id,index:ce.draggable.index},mode:Ue}},sa=function(ce,Ue,bt,kt){if(!ce){bt(kt(Ue));return}var qt=mi(bt),ar={announce:qt};ce(Ue,ar),qt.wasCalled()||bt(kt(Ue))},Ni=function(ce,Ue){var bt=hi(),kt=null,qt=function(Yr,dn){kt&&ge(!1),ya("onBeforeCapture",function(){var pn=ce().onBeforeCapture;if(pn){var ei={draggableId:Yr,mode:dn};pn(ei)}})},ar=function(Yr,dn){kt&&ge(!1),ya("onBeforeDragStart",function(){var pn=ce().onBeforeDragStart;pn&&pn(oa(Yr,dn))})},lr=function(Yr,dn){kt&&ge(!1);var pn=oa(Yr,dn);kt={mode:dn,lastCritical:Yr,lastLocation:pn.source,lastCombine:null},bt.add(function(){ya("onDragStart",function(){return sa(ce().onDragStart,pn,Ue,se.onDragStart)})})},yr=function(Yr,dn){var pn=It(dn),ei=or(dn);kt||ge(!1);var ci=!Ea(Yr,kt.lastCritical);ci&&(kt.lastCritical=Yr);var ii=!qi(kt.lastLocation,pn);ii&&(kt.lastLocation=pn);var Ji=!va(kt.lastCombine,ei);if(Ji&&(kt.lastCombine=ei),!ci&&!ii&&!Ji)return;var Si=Object(p.a)({},oa(Yr,kt.mode),{combine:ei,destination:pn});bt.add(function(){ya("onDragUpdate",function(){return sa(ce().onDragUpdate,Si,Ue,se.onDragUpdate)})})},Vr=function(){kt||ge(!1),bt.flush()},Xr=function(Yr){kt||ge(!1),kt=null,ya("onDragEnd",function(){return sa(ce().onDragEnd,Yr,Ue,se.onDragEnd)})},Br=function(){if(!kt)return;var Yr=Object(p.a)({},oa(kt.lastCritical,kt.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Yr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Br}},$n=function(ce,Ue){var bt=Ni(ce,Ue);return function(kt){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){bt.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;bt.beforeStart(lr,ar.payload.movementMode),qt(ar),bt.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;bt.flush(),qt(ar),bt.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){bt.abort();return}var Vr=kt.getState();Vr.phase==="DRAGGING"&&bt.update(Vr.critical,Vr.impact)}}}},Ai=function(ce){return function(Ue){return function(bt){if(bt.type!=="DROP_ANIMATION_FINISHED"){Ue(bt);return}var kt=ce.getState();kt.phase==="DROP_ANIMATING"||ge(!1),ce.dispatch(St({completed:kt.completed}))}}},Li=function(ce){var Ue=null,bt=null;function kt(){bt&&(cancelAnimationFrame(bt),bt=null),Ue&&(Ue(),Ue=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&kt(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=ce.getState();Vr.phase==="DROP_ANIMATING"&&ce.dispatch(br())}};bt=requestAnimationFrame(function(){bt=null,Ue=fe(window,[lr])})}}},Vi=function(ce){return function(){return function(Ue){return function(bt){(bt.type==="DROP_COMPLETE"||bt.type==="FLUSH"||bt.type==="DROP_ANIMATE")&&ce.stopPublishing(),Ue(bt)}}}},Xi=function(ce){var Ue=!1;return function(){return function(bt){return function(kt){if(kt.type==="INITIAL_PUBLISH"){Ue=!0,ce.tryRecordFocus(kt.payload.critical.draggable.id),bt(kt),ce.tryRestoreFocusRecorded();return}if(bt(kt),!Ue)return;if(kt.type==="FLUSH"){Ue=!1,ce.tryRestoreFocusRecorded();return}if(kt.type==="DROP_COMPLETE"){Ue=!1;var qt=kt.payload.completed.result;qt.combine&&ce.tryShiftRecord(qt.draggableId,qt.combine.draggableId),ce.tryRestoreFocusRecorded()}}}}},bi=function(ce){return ce.type==="DROP_COMPLETE"||ce.type==="DROP_ANIMATE"||ce.type==="FLUSH"},Aa=function(ce){return function(Ue){return function(bt){return function(kt){if(bi(kt)){ce.stop(),bt(kt);return}if(kt.type==="INITIAL_PUBLISH"){bt(kt);var qt=Ue.getState();qt.phase==="DRAGGING"||ge(!1),ce.start(qt);return}bt(kt),ce.scroll(Ue.getState())}}}},ca=function(ce){return function(Ue){return function(bt){if(Ue(bt),bt.type!=="PUBLISH_WHILE_DRAGGING")return;var kt=ce.getState();if(kt.phase!=="DROP_PENDING")return;if(kt.isWaiting)return;ce.dispatch(Vt({reason:kt.reason}))}}},la=v.d,gi=function(ce){var Ue=ce.dimensionMarshal,bt=ce.focusMarshal,kt=ce.styleMarshal,qt=ce.getResponders,ar=ce.announce,lr=ce.autoScroller;return Object(v.e)(To,la(Object(v.a)(fn(kt),Vi(Ue),rn(Ue),Oi,Ai,Li,ca,Aa(lr),Mi,Xi(bt),$n(qt,ar))))},Pa=function(){return{additions:{},removals:{},modified:{}}};function Ma(at){var ce=at.registry,Ue=at.callbacks,bt=Pa(),kt=null,qt=function(){if(kt)return;Ue.collectionStarting(),kt=requestAnimationFrame(function(){kt=null,Wi();var Xr=bt,Br=Xr.additions,kr=Xr.removals,Yr=Xr.modified,dn=Object.keys(Br).map(function(ci){return ce.draggable.getById(ci).getDimension(ke)}).sort(function(ci,ii){return ci.descriptor.index-ii.descriptor.index}),pn=Object.keys(Yr).map(function(ci){var ii=ce.droppable.getById(ci),Ji=ii.callbacks.getScrollWhileDragging();return{droppableId:ci,scroll:Ji}}),ei={additions:dn,removals:Object.keys(kr),modified:pn};bt=Pa(),Co(),Ue.publish(ei)})},ar=function(Xr){var Br=Xr.descriptor.id;bt.additions[Br]=Xr,bt.modified[Xr.descriptor.droppableId]=!0,bt.removals[Br]&&delete bt.removals[Br],qt()},lr=function(Xr){var Br=Xr.descriptor;bt.removals[Br.id]=!0,bt.modified[Br.droppableId]=!0,bt.additions[Br.id]&&delete bt.additions[Br.id],qt()},yr=function(){if(!kt)return;cancelAnimationFrame(kt),kt=null,bt=Pa()};return{add:ar,remove:lr,stop:yr}}var ra=function(ce){var Ue=ce.scrollHeight,bt=ce.scrollWidth,kt=ce.height,qt=ce.width,ar=ze({x:bt,y:Ue},{x:qt,y:kt}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Gi=function(){var ce=document.documentElement;return ce||ge(!1),ce},Xa=function(){var ce=Gi(),Ue=ra({scrollHeight:ce.scrollHeight,scrollWidth:ce.scrollWidth,width:ce.clientWidth,height:ce.clientHeight});return Ue},Ki=function(){var ce=Un(),Ue=Xa(),bt=ce.y,kt=ce.x,qt=Gi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=kt+ar,Vr=bt+lr,Xr=n({top:bt,left:kt,right:yr,bottom:Vr}),Br={frame:Xr,scroll:{initial:ce,current:ce,max:Ue,diff:{value:ke,displacement:ke}}};return Br},zi=function(ce){var Ue=ce.critical,bt=ce.scrollOptions,kt=ce.registry;Wi();var qt=Ki(),ar=qt.scroll.current,lr=Ue.droppable,yr=kt.droppable.getAllByType(lr.type).map(function(kr){return kr.callbacks.getDimensionAndWatchScroll(ar,bt)}),Vr=kt.draggable.getAllByType(Ue.draggable.type).map(function(kr){return kr.getDimension(ar)}),Xr={draggables:Zt(Vr),droppables:ye(yr)};Co();var Br={dimensions:Xr,critical:Ue,viewport:qt};return Br};function ba(at,ce,Ue){if(Ue.descriptor.id===ce.id)return!1;if(Ue.descriptor.type!==ce.type)return!1;var bt=at.droppable.getById(Ue.descriptor.droppableId);return!(bt.descriptor.mode!=="virtual")}var Ua=function(ce,Ue){var bt=null,kt=Ma({callbacks:{publish:Ue.publishWhileDragging,collectionStarting:Ue.collectionStarting},registry:ce}),qt=function(dn,pn){if(ce.droppable.exists(dn)||ge(!1),!bt)return;Ue.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!bt)return;ce.droppable.exists(dn)||ge(!1),Ue.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!bt)return;ce.droppable.exists(dn)||ge(!1),Ue.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!bt)return;ce.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!bt)return;kt.stop();var dn=bt.critical.droppable;ce.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),bt.unsubscribe(),bt=null},Xr=function(dn){bt||ge(!1);var pn=bt.critical.draggable;dn.type==="ADDITION"&&(ba(ce,pn,dn.value)&&kt.add(dn.value)),dn.type==="REMOVAL"&&(ba(ce,pn,dn.value)&&kt.remove(dn.value))},Br=function(dn){bt&&ge(!1);var pn=ce.draggable.getById(dn.draggableId),ei=ce.droppable.getById(pn.descriptor.droppableId),ci={draggable:pn.descriptor,droppable:ei.descriptor},ii=ce.subscribe(Xr);return bt={critical:ci,unsubscribe:ii},zi({critical:ci,registry:ce,scrollOptions:dn.scrollOptions})},kr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Br,stopPublishing:Vr};return kr},wa=function(ce,Ue){return ce.phase==="IDLE"?!0:ce.phase!=="DROP_ANIMATING"||ce.completed.result.draggableId===Ue?!1:ce.completed.result.reason==="DROP"},vi=function(ce){window.scrollBy(ce.x,ce.y)},Ga=C(function(at){return dt(at).filter(function(ce){return ce.isEnabled?!!ce.frame:!1})}),Ka=function(ce,Ue){var bt=it(Ga(Ue),function(kt){return kt.frame||ge(!1),Gn(kt.frame.pageMarginBox)(ce)});return bt},pa=function(ce){var Ue=ce.center,bt=ce.destination,kt=ce.droppables;if(bt){var qt=kt[bt];return qt.frame?qt:null}var ar=Ka(Ue,kt);return ar},_i={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ce){return Math.pow(ce,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(ce,Ue){var bt=ce[Ue.size]*_i.startFromPercentage,kt=ce[Ue.size]*_i.maxScrollAtPercentage,qt={startScrollingFrom:bt,maxScrollValueAt:kt};return qt},za=function(ce){var Ue=ce.startOfRange,bt=ce.endOfRange,kt=ce.current,qt=bt-Ue;if(qt===0)return 0;var ar=kt-Ue,lr=ar/qt;return lr},ja=1,qa=function(ce,Ue){if(ce>Ue.startScrollingFrom)return 0;if(ce<=Ue.maxScrollValueAt)return _i.maxPixelScroll;if(ce===Ue.startScrollingFrom)return ja;var bt=za({startOfRange:Ue.maxScrollValueAt,endOfRange:Ue.startScrollingFrom,current:ce}),kt=1-bt,qt=_i.maxPixelScroll*_i.ease(kt);return Math.ceil(qt)},ho=_i.durationDampening.accelerateAt,Ca=_i.durationDampening.stopDampeningAt,to=function(ce,Ue){var bt=Ue,kt=Ca,qt=Date.now(),ar=qt-bt;if(ar>=Ca)return ce;if(ar<ho)return ja;var lr=za({startOfRange:ho,endOfRange:kt,current:ar}),yr=ce*_i.ease(lr);return Math.ceil(yr)},Oo=function(ce){var Ue=ce.distanceToEdge,bt=ce.thresholds,kt=ce.dragStartTime,qt=ce.shouldUseTimeDampening,ar=qa(Ue,bt);return ar===0?0:qt?Math.max(to(ar,kt),ja):ar},La=function(ce){var Ue=ce.container,bt=ce.distanceToEdges,kt=ce.dragStartTime,qt=ce.axis,ar=ce.shouldUseTimeDampening,lr=So(Ue,qt),yr=bt[qt.end]<bt[qt.start];return yr?Oo({distanceToEdge:bt[qt.end],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar}):-1*Oo({distanceToEdge:bt[qt.start],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar})},Fi=function(ce){var Ue=ce.container,bt=ce.subject,kt=ce.proposedScroll,qt=bt.height>Ue.height,ar=bt.width>Ue.width;return!ar&&!qt?kt:ar&&qt?null:{x:ar?0:kt.x,y:qt?0:kt.y}},Ja=vt(function(at){return at===0?0:at}),Da=function(ce){var Ue=ce.dragStartTime,bt=ce.container,kt=ce.subject,qt=ce.center,ar=ce.shouldUseTimeDampening,lr={top:qt.y-bt.top,right:bt.right-qt.x,bottom:bt.bottom-qt.y,left:qt.x-bt.left},yr=La({container:bt,distanceToEdges:lr,dragStartTime:Ue,axis:Fe,shouldUseTimeDampening:ar}),Vr=La({container:bt,distanceToEdges:lr,dragStartTime:Ue,axis:nt,shouldUseTimeDampening:ar}),Xr=Ja({x:Vr,y:yr});if(_e(Xr,ke))return null;var Br=Fi({container:bt,subject:kt,proposedScroll:Xr});return Br?_e(Br,ke)?null:Br:null},pi=vt(function(at){return at===0?0:at>0?1:-1}),Yi=function(){var at=function(Ue,bt){return Ue<0?Ue:Ue>bt?Ue-bt:0};return function(ce){var Ue=ce.current,bt=ce.max,kt=ce.change,qt=Ce(Ue,kt),ar={x:at(qt.x,bt.x),y:at(qt.y,bt.y)};return _e(ar,ke)?null:ar}}(),oo=function(ce){var Ue=ce.max,bt=ce.current,kt=ce.change,qt={x:Math.max(bt.x,Ue.x),y:Math.max(bt.y,Ue.y)},ar=pi(kt),lr=Yi({max:qt,current:bt,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(ce,Ue){return oo({current:ce.scroll.current,max:ce.scroll.max,change:Ue})},fo=function(ce,Ue){if(!go(ce,Ue))return null;var bt=ce.scroll.max,kt=ce.scroll.current;return Yi({current:kt,max:bt,change:Ue})},Ta=function(ce,Ue){var bt=ce.frame;return bt?oo({current:bt.scroll.current,max:bt.scroll.max,change:Ue}):!1},ki=function(ce,Ue){var bt=ce.frame;return bt&&Ta(ce,Ue)?Yi({current:bt.scroll.current,max:bt.scroll.max,change:Ue}):null},Ra=function(ce){var Ue=ce.viewport,bt=ce.subject,kt=ce.center,qt=ce.dragStartTime,ar=ce.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:Ue.frame,subject:bt,center:kt,shouldUseTimeDampening:ar});return lr&&go(Ue,lr)?lr:null},Vo=function(ce){var Ue=ce.droppable,bt=ce.subject,kt=ce.center,qt=ce.dragStartTime,ar=ce.shouldUseTimeDampening,lr=Ue.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:bt,center:kt,shouldUseTimeDampening:ar});return yr&&Ta(Ue,yr)?yr:null},ro=function(ce){var Ue=ce.state,bt=ce.dragStartTime,kt=ce.shouldUseTimeDampening,qt=ce.scrollWindow,ar=ce.scrollDroppable,lr=Ue.current.page.borderBoxCenter,yr=Ue.dimensions.draggables[Ue.critical.draggable.id],Vr=yr.page.marginBox;if(Ue.isWindowScrollAllowed){var Xr=Ue.viewport,Br=Ra({dragStartTime:bt,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:kt});if(Br){qt(Br);return}}var kr=pa({center:lr,destination:gn(Ue.impact),droppables:Ue.dimensions.droppables});if(!kr)return;var Yr=Vo({dragStartTime:bt,droppable:kr,subject:Vr,center:lr,shouldUseTimeDampening:kt});Yr&&ar(kr.descriptor.id,Yr)},vo=function(ce){var Ue=ce.scrollWindow,bt=ce.scrollDroppable,kt=N(Ue),qt=N(bt),ar=null,lr=function(Br){ar||ge(!1);var kr=ar,Yr=kr.shouldUseTimeDampening,dn=kr.dragStartTime;ro({state:Br,scrollWindow:kt,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Yr})},yr=function(Br){Wi(),ar&&ge(!1);var kr=Date.now(),Yr=!1,dn=function(){Yr=!0};ro({state:Br,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:kr,shouldUseTimeDampening:Yr},Co(),Yr&&lr(Br)},Vr=function(){if(!ar)return;kt.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(ce){var Ue=ce.move,bt=ce.scrollDroppable,kt=ce.scrollWindow,qt=function(Xr,Br){var kr=Ce(Xr.current.client.selection,Br);Ue({client:kr})},ar=function(Xr,Br){if(!Ta(Xr,Br))return Br;var kr=ki(Xr,Br);if(!kr)return bt(Xr.descriptor.id,Br),null;var Yr=ze(Br,kr);bt(Xr.descriptor.id,Yr);var dn=ze(Br,Yr);return dn},lr=function(Xr,Br,kr){if(!Xr)return kr;if(!go(Br,kr))return kr;var Yr=fo(Br,kr);if(!Yr)return kt(kr),null;var dn=ze(kr,Yr);kt(dn);var pn=ze(kr,dn);return pn},yr=function(Xr){var Br=Xr.scrollJumpRequest;if(!Br)return;var kr=gn(Xr.impact);kr||ge(!1);var Yr=ar(Xr.dimensions.droppables[kr],Br);if(!Yr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Yr);if(!pn)return;qt(Xr,pn)};return yr},Zi=function(ce){var Ue=ce.scrollDroppable,bt=ce.scrollWindow,kt=ce.move,qt=vo({scrollWindow:bt,scrollDroppable:Ue}),ar=po({move:kt,scrollWindow:bt,scrollDroppable:Ue}),lr=function(Xr){if(Xr.phase!=="DRAGGING")return;if(Xr.movementMode==="FLUID"){qt.scroll(Xr);return}if(!Xr.scrollJumpRequest)return;ar(Xr)},yr={scroll:lr,start:qt.start,stop:qt.stop};return yr},xo="data-rbd",is=function(){var at=xo+"-drag-handle";return{base:at,draggableId:at+"-draggable-id",contextId:at+"-context-id"}}(),Jo=function(){var at=xo+"-draggable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),Is=function(){var at=xo+"-droppable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(ce){return function(Ue){return"["+Ue+'="'+ce+'"]'}},Yo=function(ce,Ue){return ce.map(function(bt){var kt=bt.styles[Ue];return kt?bt.selector+" { "+kt+" }":""}).join(" ")},bo="pointer-events: none;",Za=function(ce){var Ue=Ts(ce),bt=function(){var yr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ue(is.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:yr,dragging:bo,dropAnimating:yr}}}(),kt=function(){var yr=`
|
|
|
transition: `+Mn.outOfTheWay+`;
|
|
|
`;return{selector:Ue(Jo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:Ue(Is.contextId),styles:{always:"overflow-anchor: none;"}},ar={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;
|
|
|
`}},lr=[kt,bt,qt,ar];return{always:Yo(lr,"always"),resting:Yo(lr,"resting"),dragging:Yo(lr,"dragging"),dropAnimating:Yo(lr,"dropAnimating"),userCancel:Yo(lr,"userCancel")}},Ya=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?g.useLayoutEffect:g.useEffect,so=function(){var ce=document.querySelector("head");return ce||ge(!1),ce},ps=function(ce){var Ue=document.createElement("style");return ce&&Ue.setAttribute("nonce",ce),Ue.type="text/css",Ue};function Sr(at,ce){var Ue=r(function(){return Za(at)},[at]),bt=Object(g.useRef)(null),kt=Object(g.useRef)(null),qt=a(C(function(Br){var kr=kt.current;kr||ge(!1),kr.textContent=Br}),[]),ar=a(function(Br){var kr=bt.current;kr||ge(!1),kr.textContent=Br},[]);Ya(function(){!bt.current&&!kt.current||ge(!1);var Br=ps(ce),kr=ps(ce);return bt.current=Br,kt.current=kr,Br.setAttribute(xo+"-always",at),kr.setAttribute(xo+"-dynamic",at),so().appendChild(Br),so().appendChild(kr),ar(Ue.always),qt(Ue.resting),function(){var Yr=function(pn){var ei=pn.current;ei||ge(!1),so().removeChild(ei),pn.current=null};Yr(bt),Yr(kt)}},[ce,ar,qt,Ue.always,Ue.resting,at]);var lr=a(function(){return qt(Ue.dragging)},[qt,Ue.dragging]),yr=a(function(Br){if(Br==="DROP"){qt(Ue.dropAnimating);return}qt(Ue.userCancel)},[qt,Ue.dropAnimating,Ue.userCancel]),Vr=a(function(){if(!kt.current)return;qt(Ue.resting)},[qt,Ue.resting]),Xr=r(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(ce){return ce&&ce.ownerDocument?ce.ownerDocument.defaultView:window};function ss(at){return at instanceof Xo(at).HTMLElement}function Os(at,ce){var Ue="["+is.contextId+'="'+at+'"]',bt=Qe(document.querySelectorAll(Ue));if(!bt.length)return null;var kt=it(bt,function(qt){return qt.getAttribute(is.draggableId)===ce});return kt&&ss(kt)?kt:null}function Fa(at){var ce=Object(g.useRef)({}),Ue=Object(g.useRef)(null),bt=Object(g.useRef)(null),kt=Object(g.useRef)(!1),qt=a(function(kr,Yr){var dn={id:kr,focus:Yr};return ce.current[kr]=dn,function(){var ei=ce.current,ci=ei[kr];ci!==dn&&delete ei[kr]}},[]),ar=a(function(kr){var Yr=Os(at,kr);Yr&&Yr!==document.activeElement&&Yr.focus()},[at]),lr=a(function(kr,Yr){Ue.current===kr&&(Ue.current=Yr)},[]),yr=a(function(){if(bt.current)return;if(!kt.current)return;bt.current=requestAnimationFrame(function(){bt.current=null;var kr=Ue.current;kr&&ar(kr)})},[ar]),Vr=a(function(kr){Ue.current=null;var Yr=document.activeElement;if(!Yr)return;if(Yr.getAttribute(is.draggableId)!==kr)return;Ue.current=kr},[]);Ya(function(){return kt.current=!0,function(){kt.current=!1;var kr=bt.current;kr&&cancelAnimationFrame(kr)}},[]);var Xr=r(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function Oa(){var at={draggables:{},droppables:{}},ce=[];function Ue(Br){return ce.push(Br),function(){var Yr=ce.indexOf(Br);if(Yr===-1)return;ce.splice(Yr,1)}}function bt(Br){ce.length&&ce.forEach(function(kr){return kr(Br)})}function kt(Br){return at.draggables[Br]||null}function qt(Br){var kr=kt(Br);return kr||ge(!1),kr}var ar={register:function(kr){at.draggables[kr.descriptor.id]=kr,bt({type:"ADDITION",value:kr})},update:function(kr,Yr){var dn=at.draggables[Yr.descriptor.id];if(!dn)return;if(dn.uniqueId!==kr.uniqueId)return;delete at.draggables[Yr.descriptor.id],at.draggables[kr.descriptor.id]=kr},unregister:function(kr){var Yr=kr.descriptor.id,dn=kt(Yr);if(!dn)return;if(kr.uniqueId!==dn.uniqueId)return;delete at.draggables[Yr],bt({type:"REMOVAL",value:kr})},getById:qt,findById:kt,exists:function(kr){return Boolean(kt(kr))},getAllByType:function(kr){return ie(at.draggables).filter(function(Yr){return Yr.descriptor.type===kr})}};function lr(Br){return at.droppables[Br]||null}function yr(Br){var kr=lr(Br);return kr||ge(!1),kr}var Vr={register:function(kr){at.droppables[kr.descriptor.id]=kr},unregister:function(kr){var Yr=lr(kr.descriptor.id);if(!Yr)return;if(kr.uniqueId!==Yr.uniqueId)return;delete at.droppables[kr.descriptor.id]},getById:yr,findById:lr,exists:function(kr){return Boolean(lr(kr))},getAllByType:function(kr){return ie(at.droppables).filter(function(Yr){return Yr.descriptor.type===kr})}};function Xr(){at.draggables={},at.droppables={},ce.length=0}return{draggable:ar,droppable:Vr,subscribe:Ue,clean:Xr}}function _o(){var at=r(Oa,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(at.clean)}},[at]),at}var Lo=f.a.createContext(null),ts=function(){var ce=document.body;return ce||ge(!1),ce},Bo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(ce){return"rbd-announcement-"+ce};function ms(at){var ce=r(function(){return rs(at)},[at]),Ue=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return Ue.current=qt,qt.id=ce,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(p.a)(qt.style,Bo),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===Ue.current&&(Ue.current=null)})}},[ce]);var bt=a(function(kt){var qt=Ue.current;if(qt){qt.textContent=kt;return}},[]);return bt}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(at,ce){return ce===void 0&&(ce=Ns),r(function(){return""+at+ce.separator+ls++},[ce.separator,at])}function $s(at){var ce=at.contextId,Ue=at.uniqueId;return"rbd-hidden-text-"+ce+"-"+Ue}function cs(at){var ce=at.contextId,Ue=at.text,bt=as("hidden-text",{separator:"-"}),kt=r(function(){return $s({contextId:ce,uniqueId:bt})},[bt,ce]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=kt,ar.textContent=Ue,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[kt,Ue]),kt}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,_s=function(ce){var Ue=Vs.exec(ce);Ue!=null||ge(!1);var bt=Number(Ue[1]),kt=Number(Ue[2]),qt=Number(Ue[3]);return{major:bt,minor:kt,patch:qt,raw:ce}},Pt=function(ce,Ue){return Ue.major>ce.major?!0:Ue.major<ce.major?!1:Ue.minor>ce.minor?!0:Ue.minor<ce.minor?!1:Ue.patch>=ce.patch},oe=function(ce,Ue){var bt=_s(ce),kt=_s(Ue);if(Pt(bt,kt))return},we=`
|
|
|
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
|
|
|
`,Ee=function(ce){var Ue=ce.doctype;if(!Ue)return;Ue.name.toLowerCase()!=="html",Ue.publicId!==""};function We(at){}function Et(at,ce){We(function(){Object(g.useEffect)(function(){try{at()}catch(Ue){z(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Ue.message+`
|
|
|
`)}},ce)})}function Ut(){Et(function(){oe(Dn.react,f.a.version),Ee(document)},[])}function hr(at){var ce=Object(g.useRef)(at);return Object(g.useEffect)(function(){ce.current=at}),ce}function gr(){var at=null;function ce(){return Boolean(at)}function Ue(ar){return ar===at}function bt(ar){at&&ge(!1);var lr={abandon:ar};return at=lr,lr}function kt(){at||ge(!1),at=null}function qt(){at&&(at.abandon(),kt())}return{isClaimed:ce,isActive:Ue,claim:bt,release:kt,tryAbandon:qt}}var Rr=9,$r=13,ln=27,yn=32,Cn=33,Qn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Wa,yo=(Wa={},Wa[$r]=!0,Wa[Rr]=!0,Wa),Ao=function(ce){yo[ce.keyCode]&&ce.preventDefault()},$a=function(){var at="visibilitychange";if(typeof document=="undefined")return at;var ce=[at,"ms"+at,"webkit"+at,"moz"+at,"o"+at],Ue=it(ce,function(bt){return"on"+bt in document});return Ue||at}(),Fo=0,No=5;function Ha(at,ce){return Math.abs(ce.x-at.x)>=No||Math.abs(ce.y-at.y)>=No}var jo={type:"IDLE"};function ko(at){var ce=at.cancel,Ue=at.completed,bt=at.getPhase,kt=at.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==Fo)return;var Xr={x:yr,y:Vr},Br=bt();if(Br.type==="DRAGGING"){ar.preventDefault(),Br.actions.move(Xr);return}Br.type==="PENDING"||ge(!1);var kr=Br.point;if(!Ha(kr,Xr))return;ar.preventDefault();var Yr=Br.actions.fluidLift(Xr);kt({type:"DRAGGING",actions:Yr})}},{eventName:"mouseup",fn:function(ar){var lr=bt();if(lr.type!=="DRAGGING"){ce();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),Ue()}},{eventName:"mousedown",fn:function(ar){bt().type==="DRAGGING"&&ar.preventDefault(),ce()}},{eventName:"keydown",fn:function(ar){var lr=bt();if(lr.type==="PENDING"){ce();return}if(ar.keyCode===ln){ar.preventDefault(),ce();return}Ao(ar)}},{eventName:"resize",fn:ce},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){bt().type==="PENDING"&&ce()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=bt();if(lr.type!=="IDLE"||ge(!1),lr.actions.shouldRespectForcePress()){ce();return}ar.preventDefault()}},{eventName:$a,fn:ce}]}function Qo(at){var ce=Object(g.useRef)(jo),Ue=Object(g.useRef)(X),bt=r(function(){return{eventName:"mousedown",fn:function(Br){if(Br.defaultPrevented)return;if(Br.button!==Fo)return;if(Br.ctrlKey||Br.metaKey||Br.shiftKey||Br.altKey)return;var kr=at.findClosestDraggableId(Br);if(!kr)return;var Yr=at.tryGetLock(kr,ar,{sourceEvent:Br});if(!Yr)return;Br.preventDefault();var dn={x:Br.clientX,y:Br.clientY};Ue.current(),Vr(Yr,dn)}}},[at]),kt=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Br){if(Br.defaultPrevented)return;var kr=at.findClosestDraggableId(Br);if(!kr)return;var Yr=at.findOptionsForDraggable(kr);if(!Yr)return;if(Yr.shouldRespectForcePress)return;if(!at.canGetLock(kr))return;Br.preventDefault()}}},[at]),qt=a(function(){var Br={passive:!1,capture:!0};Ue.current=fe(window,[kt,bt],Br)},[kt,bt]),ar=a(function(){var Xr=ce.current;if(Xr.type==="IDLE")return;ce.current=jo,Ue.current(),qt()},[qt]),lr=a(function(){var Xr=ce.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=a(function(){var Br={capture:!0,passive:!1},kr=ko({cancel:lr,completed:ar,getPhase:function(){return ce.current},setPhase:function(dn){ce.current=dn}});Ue.current=fe(window,kr,Br)},[lr,ar]),Vr=a(function(Br,kr){ce.current.type==="IDLE"||ge(!1),ce.current={type:"PENDING",point:kr,actions:Br},yr()},[yr]);Ya(function(){return qt(),function(){Ue.current()}},[qt])}var wo;function us(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(at,ce){function Ue(){ce(),at.cancel()}function bt(){ce(),at.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),Ue();return}if(qt.keyCode===yn){qt.preventDefault(),bt();return}if(qt.keyCode===lo){qt.preventDefault(),at.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),at.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),at.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),at.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:Ue},{eventName:"mouseup",fn:Ue},{eventName:"click",fn:Ue},{eventName:"touchstart",fn:Ue},{eventName:"resize",fn:Ue},{eventName:"wheel",fn:Ue,options:{passive:!0}},{eventName:$a,fn:Ue}]}function Gs(at){var ce=Object(g.useRef)(us),Ue=r(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=at.findClosestDraggableId(qt);if(!ar)return;var lr=at.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();ce.current();function Xr(){yr||ge(!1),yr=!1,ce.current(),bt()}ce.current=fe(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[at]),bt=a(function(){var qt={passive:!1,capture:!0};ce.current=fe(window,[Ue],qt)},[Ue]);Ya(function(){return bt(),function(){ce.current()}},[bt])}var Go={type:"IDLE"},Eo=120,ds=.15;function hs(at){var ce=at.cancel,Ue=at.getPhase;return[{eventName:"orientationchange",fn:ce},{eventName:"resize",fn:ce},{eventName:"contextmenu",fn:function(kt){kt.preventDefault()}},{eventName:"keydown",fn:function(kt){if(Ue().type!=="DRAGGING"){ce();return}kt.keyCode===ln&&kt.preventDefault(),ce()}},{eventName:$a,fn:ce}]}function Rs(at){var ce=at.cancel,Ue=at.completed,bt=at.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=bt();if(ar.type!=="DRAGGING"){ce();return}ar.hasMoved=!0;var lr=qt.touches[0],yr=lr.clientX,Vr=lr.clientY,Xr={x:yr,y:Vr};qt.preventDefault(),ar.actions.move(Xr)}},{eventName:"touchend",fn:function(qt){var ar=bt();if(ar.type!=="DRAGGING"){ce();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),Ue()}},{eventName:"touchcancel",fn:function(qt){if(bt().type!=="DRAGGING"){ce();return}qt.preventDefault(),ce()}},{eventName:"touchforcechange",fn:function(qt){var ar=bt();ar.type!=="IDLE"||ge(!1);var lr=qt.touches[0];if(!lr)return;var yr=lr.force>=ds;if(!yr)return;var Vr=ar.actions.shouldRespectForcePress();if(ar.type==="PENDING"){Vr&&ce();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}ce();return}qt.preventDefault()}},{eventName:$a,fn:ce}]}function Do(at){var ce=Object(g.useRef)(Go),Ue=Object(g.useRef)(X),bt=a(function(){return ce.current},[]),kt=a(function(Yr){ce.current=Yr},[]),qt=r(function(){return{eventName:"touchstart",fn:function(Yr){if(Yr.defaultPrevented)return;var dn=at.findClosestDraggableId(Yr);if(!dn)return;var pn=at.tryGetLock(dn,lr,{sourceEvent:Yr});if(!pn)return;var ei=Yr.touches[0],ci=ei.clientX,ii=ei.clientY,Ji={x:ci,y:ii};Ue.current(),Br(pn,Ji)}}},[at]),ar=a(function(){var Yr={capture:!0,passive:!1};Ue.current=fe(window,[qt],Yr)},[qt]),lr=a(function(){var kr=ce.current;if(kr.type==="IDLE")return;kr.type==="PENDING"&&clearTimeout(kr.longPressTimerId),kt(Go),Ue.current(),ar()},[ar,kt]),yr=a(function(){var kr=ce.current;lr(),kr.type==="DRAGGING"&&kr.actions.cancel({shouldBlockNextClick:!0}),kr.type==="PENDING"&&kr.actions.abort()},[lr]),Vr=a(function(){var Yr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:bt},pn=fe(window,Rs(dn),Yr),ei=fe(window,hs(dn),Yr);Ue.current=function(){pn(),ei()}},[yr,bt,lr]),Xr=a(function(){var Yr=bt();Yr.type==="PENDING"||ge(!1);var dn=Yr.actions.fluidLift(Yr.point);kt({type:"DRAGGING",actions:dn,hasMoved:!1})},[bt,kt]),Br=a(function(Yr,dn){bt().type==="IDLE"||ge(!1);var pn=setTimeout(Xr,Eo);kt({type:"PENDING",point:dn,actions:Yr,longPressTimerId:pn}),Vr()},[Vr,bt,kt,Xr]);Ya(function(){return ar(),function(){Ue.current();var dn=bt();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),kt(Go))}},[bt,ar,kt]),Ya(function(){var Yr=fe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Yr},[])}function ys(at){We(function(){var ce=hr(at);Et(function(){ce.current.length===at.length||ge(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(at,ce){if(ce==null)return!1;var Ue=Boolean(Ms[ce.tagName.toLowerCase()]);if(Ue)return!0;var bt=ce.getAttribute("contenteditable");return bt==="true"||bt===""?!0:ce===at?!1:As(at,ce.parentElement)}function Fs(at,ce){var Ue=ce.target;return ss(Ue)?As(at,Ue):!1}var Hs=function(ce){return n(ce.getBoundingClientRect()).center};function bs(at){return at instanceof Xo(at).Element}var ua=function(){var at="matches";if(typeof document=="undefined")return at;var ce=[at,"msMatchesSelector","webkitMatchesSelector"],Ue=it(ce,function(bt){return bt in Element.prototype});return Ue||at}();function ui(at,ce){return at==null?null:at[ua](ce)?at:ui(at.parentElement,ce)}function Bi(at,ce){return at.closest?at.closest(ce):ui(at,ce)}function Wn(at){return"["+is.contextId+'="'+at+'"]'}function io(at,ce){var Ue=ce.target;if(!bs(Ue))return null;var bt=Wn(at),kt=Bi(Ue,bt);return kt&&ss(kt)?kt:null}function qo(at,ce){var Ue=io(at,ce);return Ue?Ue.getAttribute(is.draggableId):null}function gs(at,ce){var Ue="["+Jo.contextId+'="'+at+'"]',bt=Qe(document.querySelectorAll(Ue)),kt=it(bt,function(qt){return qt.getAttribute(Jo.id)===ce});return kt&&ss(kt)?kt:null}function os(at){at.preventDefault()}function Zo(at){var ce=at.expected,Ue=at.phase,bt=at.isLockActive,kt=at.shouldWarn;return bt()?!(ce!==Ue):!1}function $o(at){var ce=at.lockAPI,Ue=at.store,bt=at.registry,kt=at.draggableId;if(ce.isClaimed())return!1;var qt=bt.draggable.findById(kt);return qt&&qt.options.isEnabled?!!wa(Ue.getState(),kt):!1}function ws(at){var ce=at.lockAPI,Ue=at.contextId,bt=at.store,kt=at.registry,qt=at.draggableId,ar=at.forceSensorStop,lr=at.sourceEvent,yr=$o({lockAPI:ce,store:bt,registry:kt,draggableId:qt});if(!yr)return null;var Vr=kt.draggable.getById(qt),Xr=gs(Ue,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&Fs(Xr,lr))return null;var Br=ce.claim(ar||X),kr="PRE_DRAG";function Yr(){return Vr.options.shouldRespectForcePress}function dn(){return ce.isActive(Br)}function pn(Ei,co){Zo({expected:Ei,phase:kr,isLockActive:dn,shouldWarn:!0})&&bt.dispatch(co())}var ei=pn.bind(null,"DRAGGING");function ci(Ei){function co(){ce.release(),kr="COMPLETED"}kr!=="PRE_DRAG"&&(co(),kr==="PRE_DRAG"||ge(!1)),bt.dispatch(rr(Ei.liftActionArgs)),kr="DRAGGING";function Ko(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var L=fe(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(L)}co(),bt.dispatch(Vt({reason:ao}))}return Object(p.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Yr,drop:function(Uo){return Ko("DROP",Uo)},cancel:function(Uo){return Ko("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var co=N(function(ao){ei(function(){return Jt({client:ao})})}),Ko=ci({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return co.cancel()},actions:{move:co}});return Object(p.a)({},Ko,{move:co})}function Ji(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(zr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Jr)}};return ci({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:X,actions:Ei})}function Si(){var Ei=Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!0});Ei&&ce.release()}var Va={isActive:function(){return Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Yr,fluidLift:ii,snapLift:Ji,abort:Si};return Va}var Ho=[Qo,Gs,Do];function ll(at){var ce=at.contextId,Ue=at.store,bt=at.registry,kt=at.customSensors,qt=at.enableDefaultSensors,ar=[].concat(qt?Ho:[],kt||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=a(function(ii,Ji){ii.isDragging&&!Ji.isDragging&&lr.tryAbandon()},[lr]);Ya(function(){var ii=Ue.getState(),Ji=Ue.subscribe(function(){var Si=Ue.getState();yr(ii,Si),ii=Si});return Ji},[lr,Ue,yr]),Ya(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=a(function(ci){return $o({lockAPI:lr,registry:bt,store:Ue,draggableId:ci})},[lr,bt,Ue]),Xr=a(function(ci,ii,Ji){return ws({lockAPI:lr,registry:bt,contextId:ce,store:Ue,draggableId:ci,forceSensorStop:ii,sourceEvent:Ji&&Ji.sourceEvent?Ji.sourceEvent:null})},[ce,lr,bt,Ue]),Br=a(function(ci){return qo(ce,ci)},[ce]),kr=a(function(ci){var ii=bt.draggable.findById(ci);return ii?ii.options:null},[bt.draggable]),Yr=a(function(){if(!lr.isClaimed())return;lr.tryAbandon(),Ue.getState().phase!=="IDLE"&&Ue.dispatch(Zr())},[lr,Ue]),dn=a(lr.isClaimed,[lr]),pn=r(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Br,findOptionsForDraggable:kr,tryReleaseLock:Yr,isLockClaimed:dn}},[Vr,Xr,Br,kr,Yr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(ce){return{onBeforeCapture:ce.onBeforeCapture,onBeforeDragStart:ce.onBeforeDragStart,onDragStart:ce.onDragStart,onDragEnd:ce.onDragEnd,onDragUpdate:ce.onDragUpdate}};function cl(at){return at.current||ge(!1),at.current}function Nl(at){var ce=at.contextId,Ue=at.setCallbacks,bt=at.sensors,kt=at.nonce,qt=at.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(at),yr=a(function(){return jl(lr.current)},[lr]),Vr=ms(ce),Xr=cs({contextId:ce,text:qt}),Br=Sr(ce,kt),kr=a(function(ao){cl(ar).dispatch(ao)},[]),Yr=r(function(){return Object(v.b)({publishWhileDragging:Pr,updateDroppableScroll:hn,updateDroppableIsEnabled:tt,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},kr)},[kr]),dn=_o(),pn=r(function(){return Ua(dn,Yr)},[dn,Yr]),ei=r(function(){return Zi(Object(p.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Jt},kr)))},[pn.scrollDroppable,kr]),ci=Fa(ce),ii=r(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ci,getResponders:yr,styleMarshal:Br})},[Vr,ei,pn,ci,yr,Br]);ar.current=ii;var Ji=a(function(){var ao=cl(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Zr())},[]),Si=a(function(){var ao=cl(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=r(function(){return{isDragging:Si,tryAbort:Ji}},[Si,Ji]);Ue(Va);var Ei=a(function(ao){return wa(cl(ar).getState(),ao)},[]),co=a(function(){return qn(cl(ar).getState())},[]),Ko=r(function(){return{marshal:pn,focus:ci,contextId:ce,canLift:Ei,isMovementAllowed:co,dragHandleUsageInstructionsId:Xr,registry:dn}},[ce,pn,Xr,ci,Ei,co,dn]);return ll({contextId:ce,store:ii,registry:dn,customSensors:bt,enableDefaultSensors:at.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Ji},[Ji]),f.a.createElement(Mo.Provider,{value:Ko},f.a.createElement(h.a,{context:Lo,store:ii},at.children))}var Ls=0;function Ys(){Ls=0}function el(){return r(function(){return""+Ls++},[])}function Hl(){Ys(),Ds()}function Kl(at){var ce=el(),Ue=at.dragHandleUsageInstructions||se.dragHandleUsageInstructions;return f.a.createElement(Pe,null,function(bt){return f.a.createElement(Nl,{nonce:at.nonce,contextId:ce,setCallbacks:bt,dragHandleUsageInstructions:Ue,enableDefaultSensors:at.enableDefaultSensors,sensors:at.sensors,onBeforeCapture:at.onBeforeCapture,onBeforeDragStart:at.onBeforeDragStart,onDragStart:at.onDragStart,onDragUpdate:at.onDragUpdate,onDragEnd:at.onDragEnd},at.children)})}var Dl=function(ce){return function(Ue){return ce===Ue}},nc=Dl("scroll"),ic=Dl("auto"),es=Dl("visible"),tl=function(ce,Ue){return Ue(ce.overflowX)||Ue(ce.overflowY)},ac=function(ce,Ue){return Ue(ce.overflowX)&&Ue(ce.overflowY)},Rl=function(ce){var Ue=window.getComputedStyle(ce),bt={overflowX:Ue.overflowX,overflowY:Ue.overflowY};return tl(bt,nc)||tl(bt,ic)},Ml=function(){return!1;var ce,Ue;if(!Rl(ce))return!1;var bt,kt;if(ac(kt,es))return!1},bl=function at(ce){return ce==null?null:ce===document.body?Ml()?ce:null:ce===document.documentElement?null:Rl(ce)?ce:at(ce.parentElement)},zl=function(ce){if(!ce)return;var Ue=bl(ce.parentElement);if(!Ue)return},ul=function(ce){return{x:ce.scrollLeft,y:ce.scrollTop}},Wl=function at(ce){if(!ce)return!1;var Ue=window.getComputedStyle(ce);return Ue.position==="fixed"?!0:at(ce.parentElement)},oc=function(ce){var Ue=bl(ce),bt=Wl(ce);return{closestScrollable:Ue,isFixedOnPage:bt}},sc=function(ce){var Ue=ce.descriptor,bt=ce.isEnabled,kt=ce.isCombineEnabled,qt=ce.isFixedOnPage,ar=ce.direction,lr=ce.client,yr=ce.page,Vr=ce.closest,Xr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:ke,displacement:ke}}}}(),Br=ar==="vertical"?Fe:nt,kr=rt({page:yr,withPlaceholder:null,axis:Br,frame:Xr}),Yr={descriptor:Ue,isCombineEnabled:kt,isFixedOnPage:qt,axis:Br,isEnabled:bt,client:lr,page:yr,frame:Xr,subject:kr};return Yr},ks=function(ce,Ue){var bt=T(ce);if(!Ue)return bt;if(ce!==Ue)return bt;var kt=bt.paddingBox.top-Ue.scrollTop,qt=bt.paddingBox.left-Ue.scrollLeft,ar=kt+Ue.scrollHeight,lr=qt+Ue.scrollWidth,yr={top:kt,right:lr,bottom:ar,left:qt},Vr=l(yr,bt.border),Xr=m({borderBox:Vr,margin:bt.margin,border:bt.border,padding:bt.padding});return Xr},rl=function(ce){var Ue=ce.ref,bt=ce.descriptor,kt=ce.env,qt=ce.windowScroll,ar=ce.direction,lr=ce.isDropDisabled,yr=ce.isCombineEnabled,Vr=ce.shouldClipSubject,Xr=kt.closestScrollable,Br=ks(Ue,Xr),kr=A(Br,qt),Yr=function(){if(!Xr)return null;var pn=T(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:A(pn,qt),scroll:ul(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=sc({descriptor:bt,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:kt.isFixedOnPage,direction:ar,client:Br,page:kr,closest:Yr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(ce){return ce.shouldPublishImmediately?wl:dl};function Ks(at){var ce=Object(g.useContext)(at);return ce||ge(!1),ce}var nl=function(ce){return ce&&ce.env.closestScrollable||null};function Ps(at){var ce=Object(g.useRef)(null),Ue=Ks(Mo),bt=as("droppable"),kt=Ue.registry,qt=Ue.marshal,ar=hr(at),lr=r(function(){return{id:at.droppableId,type:at.type,mode:at.mode}},[at.droppableId,at.mode,at.type]),yr=Object(g.useRef)(lr),Vr=r(function(){return C(function(Si,Va){ce.current||ge(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=a(function(){var Si=ce.current;return!Si||!Si.env.closestScrollable?ke:ul(Si.env.closestScrollable)},[]),Br=a(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),kr=r(function(){return N(Br)},[Br]),Yr=a(function(){var Si=ce.current,Va=nl(Si);Si&&Va||ge(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Br();return}kr()},[kr,Br]),dn=a(function(Si,Va){ce.current&&ge(!1);var Ei=ar.current,co=Ei.getDroppableRef();co||ge(!1);var Ko=oc(co),ao={ref:co,descriptor:lr,env:Ko,scrollOptions:Va};ce.current=ao;var Uo=rl({ref:co,descriptor:lr,env:Ko,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),L=Ko.closestScrollable;return L&&(L.setAttribute(Cs.contextId,Ue.contextId),L.addEventListener("scroll",Yr,Ss(ao.scrollOptions))),Uo},[Ue.contextId,lr,Yr,ar]),pn=a(function(){var Si=ce.current,Va=nl(Si);return Si&&Va||ge(!1),ul(Va)},[]),ei=a(function(){var Si=ce.current;Si||ge(!1);var Va=nl(Si);if(ce.current=null,!Va)return;kr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Yr,Ss(Si.scrollOptions))},[Yr,kr]),ci=a(function(Si){var Va=ce.current;Va||ge(!1);var Ei=nl(Va);Ei||ge(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=r(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ci}},[ei,dn,pn,ci]),Ji=r(function(){return{uniqueId:bt,descriptor:lr,callbacks:ii}},[ii,lr,bt]);Ya(function(){return yr.current=Ji.descriptor,kt.droppable.register(Ji),function(){ce.current&&ei(),kt.droppable.unregister(Ji)}},[ii,lr,ei,Ji,qt,kt.droppable]),Ya(function(){if(!ce.current)return;qt.updateDroppableIsEnabled(yr.current.id,!at.isDropDisabled)},[at.isDropDisabled,qt]),Ya(function(){if(!ce.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,at.isCombineEnabled)},[at.isCombineEnabled,qt])}function Sl(){}var Fl={width:0,height:0,margin:He},Vl=function(ce){var Ue=ce.isAnimatingOpenOnMount,bt=ce.placeholder,kt=ce.animate;return Ue||kt==="close"?Fl:{height:bt.client.borderBox.height,width:bt.client.borderBox.width,margin:bt.client.margin}},xl=function(ce){var Ue=ce.isAnimatingOpenOnMount,bt=ce.placeholder,kt=ce.animate,qt=Vl({isAnimatingOpenOnMount:Ue,placeholder:bt,animate:kt});return{display:bt.display,boxSizing:"border-box",width:qt.width,height:qt.height,marginTop:qt.margin.top,marginRight:qt.margin.right,marginBottom:qt.margin.bottom,marginLeft:qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:kt!=="none"?Mn.placeholder:null}};function Qs(at){var ce=Object(g.useRef)(null),Ue=a(function(){if(!ce.current)return;clearTimeout(ce.current),ce.current=null},[]),bt=at.animate,kt=at.onTransitionEnd,qt=at.onClose,ar=at.contextId,lr=Object(g.useState)(at.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?bt!=="open"?(Ue(),Vr(!1),Sl):ce.current?Sl:(ce.current=setTimeout(function(){ce.current=null,Vr(!1)}),Ue):Sl},[bt,yr,Ue]);var Xr=a(function(kr){if(kr.propertyName!=="height")return;kt(),bt==="close"&&qt()},[bt,qt,kt]),Br=xl({isAnimatingOpenOnMount:yr,animate:at.animate,placeholder:at.placeholder});return f.a.createElement(at.placeholder.tagName,{style:Br,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:at.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(at){at&&ss(at)||ge(!1)}function El(at){return typeof at=="boolean"}function zs(at,ce){ce.forEach(function(Ue){return Ue(at)})}var Xl=[function(ce){var Ue=ce.props;Ue.droppableId||ge(!1),typeof Ue.droppableId=="string"||ge(!1)},function(ce){var Ue=ce.props;El(Ue.isDropDisabled)||ge(!1),El(Ue.isCombineEnabled)||ge(!1),El(Ue.ignoreContainerClipping)||ge(!1)},function(ce){var Ue=ce.getDroppableRef;fl(Ue())}],Cl=[function(ce){var Ue=ce.props,bt=ce.getPlaceholderRef;if(!Ue.placeholder)return;var kt=bt();if(kt)return}],pl=[function(ce){var Ue=ce.props;Ue.renderClone||ge(!1)},function(ce){var Ue=ce.getPlaceholderRef;Ue()&&ge(!1)}];function Tl(at){Et(function(){zs(at,Xl),at.props.mode==="standard"&&zs(at,Cl),at.props.mode==="virtual"&&zs(at,pl)})}var Gl=function(at){Object(y.a)(ce,at);function ce(){for(var bt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return bt=at.call.apply(at,[this].concat(qt))||this,bt.state={isVisible:Boolean(bt.props.on),data:bt.props.on,animate:bt.props.shouldAnimate&&bt.props.on?"open":"none"},bt.onClose=function(){if(bt.state.animate!=="close")return;bt.setState({isVisible:!1})},bt}ce.getDerivedStateFromProps=function(kt,qt){return kt.shouldAnimate?kt.on?{isVisible:!0,data:kt.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(kt.on),data:kt.on,animate:"none"}};var Ue=ce.prototype;return Ue.render=function(){if(!this.state.isVisible)return null;var kt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(kt)},ce}(f.a.PureComponent),kl={dragging:5e3,dropAnimating:4500},ml=function(ce,Ue){return Ue?Mn.drop(Ue.duration):ce?Mn.snap:Mn.fluid},Yl=function(ce,Ue){return ce?Ue?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(ce){return ce.forceShouldAnimate!=null?ce.forceShouldAnimate:ce.mode==="SNAP"};function Ql(at){var ce=at.dimension,Ue=ce.client,bt=at.offset,kt=at.combineWith,qt=at.dropping,ar=Boolean(kt),lr=Js(at),yr=Boolean(qt),Vr=yr?Rn.drop(bt,ar):Rn.moveTo(bt),Xr={position:"fixed",top:Ue.marginBox.top,left:Ue.marginBox.left,boxSizing:"border-box",width:Ue.borderBox.width,height:Ue.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Yl(ar,yr),zIndex:yr?kl.dropAnimating:kl.dragging,pointerEvents:"none"};return Xr}function Ro(at){return{transform:Rn.moveTo(at.offset),transition:at.shouldAnimateDisplacement?null:"none"}}function Ws(at){return at.type==="DRAGGING"?Ql(at):Ro(at)}function al(at,ce,Ue){Ue===void 0&&(Ue=ke);var bt=window.getComputedStyle(ce),kt=ce.getBoundingClientRect(),qt=S(kt,bt),ar=A(qt,Ue),lr={client:qt,tagName:ce.tagName.toLowerCase(),display:bt.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:at,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Bs(at){var ce=as("draggable"),Ue=at.descriptor,bt=at.registry,kt=at.getDraggableRef,qt=at.canDragInteractiveElements,ar=at.shouldRespectForcePress,lr=at.isEnabled,yr=r(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=a(function(Yr){var dn=kt();return dn||ge(!1),al(Ue,dn,Yr)},[Ue,kt]),Xr=r(function(){return{uniqueId:ce,descriptor:Ue,options:yr,getDimension:Vr}},[Ue,Vr,yr,ce]),Br=Object(g.useRef)(Xr),kr=Object(g.useRef)(!0);Ya(function(){return bt.draggable.register(Br.current),function(){return bt.draggable.unregister(Br.current)}},[bt.draggable]),Ya(function(){if(kr.current){kr.current=!1;return}var Yr=Br.current;Br.current=Xr,bt.draggable.update(Xr,Yr)},[Xr,bt.draggable])}function Us(at,ce,Ue){Et(function(){function bt(qt){return"Draggable[id: "+qt+"]: "}var kt=at.draggableId;if(kt||ge(!1),typeof kt=="string"||ge(!1),Ve(at.index)||ge(!1),at.mapped.type==="DRAGGING")return;fl(Ue()),at.isEnabled&&(Os(ce,kt)||ge(!1))})}function gl(at){We(function(){var ce=Object(g.useRef)(at);Et(function(){at===ce.current||ge(!1)},[at])})}function xs(at){at.preventDefault()}function ol(at){var ce=Object(g.useRef)(null),Ue=a(function(ao){ce.current=ao},[]),bt=a(function(){return ce.current},[]),kt=Ks(Mo),qt=kt.contextId,ar=kt.dragHandleUsageInstructionsId,lr=kt.registry,yr=Ks(il),Vr=yr.type,Xr=yr.droppableId,Br=r(function(){return{id:at.draggableId,index:at.index,type:Vr,droppableId:Xr}},[at.draggableId,at.index,Vr,Xr]),kr=at.children,Yr=at.draggableId,dn=at.isEnabled,pn=at.shouldRespectForcePress,ei=at.canDragInteractiveElements,ci=at.isClone,ii=at.mapped,Ji=at.dropAnimationFinished;if(Us(at,qt,bt),gl(ci),!ci){var Si=r(function(){return{descriptor:Br,registry:lr,getDraggableRef:bt,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Br,lr,bt,ei,pn,dn]);Bs(Si)}var Va=r(function(){return dn?{tabIndex:0,role:"button","aria-describedby":ar,"data-rbd-drag-handle-draggable-id":Yr,"data-rbd-drag-handle-context-id":qt,draggable:!1,onDragStart:xs}:null},[qt,ar,Yr,dn]),Ei=a(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;Ji()},[Ji,ii]),co=r(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,L={innerRef:Ue,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Yr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return L},[qt,Va,Yr,ii,Ei,Ue]),Ko=r(function(){return{draggableId:Br.id,type:Br.type,source:{index:Br.index,droppableId:Br.droppableId}}},[Br.droppableId,Br.id,Br.index,Br.type]);return kr(co,ii.snapshot,Ko)}var Zs=function(ce,Ue){return ce===Ue},Pl=function(ce){var Ue=ce.combine,bt=ce.destination;return bt?bt.droppableId:Ue?Ue.droppableId:null},Ol=function(ce){return ce.combine?ce.combine.draggableId:null},vl=function(ce){return ce.at&&ce.at.type==="COMBINE"?ce.at.combine.draggableId:null};function ql(){var at=C(function(kt,qt){return{x:kt,y:qt}}),ce=C(function(kt,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:kt,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),Ue=C(function(kt,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:kt,dimension:ar,forceShouldAnimate:Xr,snapshot:ce(qt,lr,yr,Vr,null)}}}),bt=function(qt,ar){if(qt.isDragging){if(qt.critical.draggable.id!==ar.draggableId)return null;var lr=qt.current.client.offset,yr=qt.dimensions.draggables[ar.draggableId],Vr=gn(qt.impact),Xr=vl(qt.impact),Br=qt.forceShouldAnimate;return Ue(at(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Br)}if(qt.phase==="DROP_ANIMATING"){var kr=qt.completed;if(kr.result.draggableId!==ar.draggableId)return null;var Yr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=kr.result,ei=pn.mode,ci=Pl(pn),ii=Ol(pn),Ji=qt.dropDuration,Si={duration:Ji,curve:wn.drop,moveTo:qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ci,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:ce(ei,Yr,ci,ii,Si)}}}return null};return bt}function Bl(at){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:at,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:ke,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bl(null)}};function Jl(){var at=C(function(ar,lr){return{x:ar,y:lr}}),ce=C(Bl),Ue=C(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:ce(lr)}}}),bt=function(lr){return lr?Ue(ke,lr,!0):null},kt=function(lr,yr,Vr,Xr){var Br=Vr.displaced.visible[lr],kr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Yr=or(Vr),dn=Yr&&Yr.draggableId===lr?yr:null;if(!Br){if(!kr)return bt(dn);if(Vr.displaced.invisible[lr])return null;var pn=ae(Xr.displacedBy.point),ei=at(pn.x,pn.y);return Ue(ei,dn,!0)}if(kr)return bt(dn);var ci=Vr.displacedBy.point,ii=at(ci.x,ci.y);return Ue(ii,dn,Br.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:kt(yr.draggableId,lr.critical.draggable.id,lr.impact,lr.afterCritical);if(lr.phase==="DROP_ANIMATING"){var Vr=lr.completed;return Vr.result.draggableId===yr.draggableId?null:kt(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lc=function(){var ce=ql(),Ue=Jl(),bt=function(qt,ar){return ce(qt,ar)||Ue(qt,ar)||yl};return bt},Zl={dropAnimationFinished:br},$l=Object(h.c)(lc,Zl,null,{context:Lo,pure:!0,areStatePropsEqual:Zs})(ol);function _l(at){var ce=Ks(il),Ue=ce.isUsingCloneFor;return Ue===at.draggableId&&!at.isClone?null:f.a.createElement($l,at)}function ec(at){var ce=typeof at.isDragDisabled=="boolean"?!at.isDragDisabled:!0,Ue=Boolean(at.disableInteractiveElementBlocking),bt=Boolean(at.shouldRespectForcePress);return f.a.createElement(_l,Object(p.a)({},at,{isClone:!1,isEnabled:ce,canDragInteractiveElements:Ue,shouldRespectForcePress:bt}))}function cc(at){var ce=Object(g.useContext)(Mo);ce||ge(!1);var Ue=ce.contextId,bt=ce.isMovementAllowed,kt=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=at.children,lr=at.droppableId,yr=at.type,Vr=at.mode,Xr=at.direction,Br=at.ignoreContainerClipping,kr=at.isDropDisabled,Yr=at.isCombineEnabled,dn=at.snapshot,pn=at.useClone,ei=at.updateViewportMaxScroll,ci=at.getContainerForClone,ii=a(function(){return kt.current},[]),Ji=a(function(M){kt.current=M},[]),Si=a(function(){return qt.current},[]),Va=a(function(M){qt.current=M},[]);Tl({props:at,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=a(function(){bt()&&ei({maxScroll:Xa()})},[bt,ei]);Ps({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:kr,isCombineEnabled:Yr,ignoreContainerClipping:Br,getDroppableRef:ii});var co=f.a.createElement(Gl,{on:at.placeholder,shouldAnimate:at.shouldAnimatePlaceholder},function(M){var Q=M.onClose,J=M.data,re=M.animate;return f.a.createElement(hl,{placeholder:J,onClose:Q,innerRef:Va,animate:re,contextId:Ue,onTransitionEnd:Ei})}),Ko=r(function(){return{innerRef:Ji,placeholder:co,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":Ue}}},[Ue,lr,co,Ji]),ao=pn?pn.dragging.draggableId:null,Uo=r(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function L(){if(!pn)return null;var M=pn.dragging,Q=pn.render,J=f.a.createElement(_l,{draggableId:M.draggableId,index:M.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(re,De){return Q(re,De,M)});return k.a.createPortal(J,ci())}return f.a.createElement(il.Provider,{value:Uo},ar(Ko,dn),L())}var Ll=function(ce,Ue){return ce===Ue.droppable.type},js=function(ce,Ue){return Ue.draggables[ce.draggable.id]},Il=function(){var ce={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ue=Object(p.a)({},ce,{shouldAnimatePlaceholder:!1}),bt=C(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),kt=C(function(ar,lr,yr,Vr,Xr,Br){var kr=Xr.descriptor.id,Yr=Xr.descriptor.droppableId===ar;if(Yr){var dn=Br?{render:Br,dragging:bt(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?kr:null,draggingFromThisWith:kr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return Ue;if(!Vr)return ce;var ei={isDraggingOver:yr,draggingOverWith:kr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),qt=function(lr,yr){var Vr=yr.droppableId,Xr=yr.type,Br=!yr.isDropDisabled,kr=yr.renderClone;if(lr.isDragging){var Yr=lr.critical;if(!Ll(Xr,Yr))return Ue;var dn=js(Yr,lr.dimensions),pn=gn(lr.impact)===Vr;return kt(Vr,Br,pn,pn,dn,kr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!Ll(Xr,ei.critical))return Ue;var ci=js(ei.critical,lr.dimensions);return kt(Vr,Br,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ci,kr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!Ll(Xr,ii.critical))return Ue;var Ji=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Ji?Si?ce:Ue:Va?ce:Ue}return Ue};return qt},Al={updateViewportMaxScroll:_r};function uc(){return document.body||ge(!1),document.body}var dc={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uc},sl=Object(h.c)(Il,Al,null,{context:Lo,pure:!0,areStatePropsEqual:Zs})(cc);sl.defaultProps=dc},ni6a:function(D,I,e){var g=e("pzxd"),f=e("mFDi"),y=e("gut8"),p=y.WILL_BE_RESTORED,v=new f,h=function(){};h.prototype={constructor:h,drawRectText:function(i,r){var a=this.style;r=a.textRect||r,this.__dirty&&g.normalizeTextStyle(a,!0);var c=a.text;if(c!=null&&(c+=""),!g.needDrawText(c,a))return;i.save();var n=this.transform;a.transformText?this.setTransform(i):n&&(v.copy(r),v.applyTransform(n),r=v),g.renderText(this,i,c,a,r,p),i.restore()}};var u=h;D.exports=u},nkfE:function(D,I,e){var g=e("bYtY"),f=e("ca2m"),y=e("bLfw"),p=e("+TT/"),v=p.getLayoutParams,h=p.mergeLayoutParam,u=e("jkPA"),o=["value","category","time","log"];function i(r,a,c,n){g.each(o,function(l){a.extend({type:r+"Axis."+l,mergeDefaultAndTheme:function(t,s){var d=this.layoutMode,m=d?v(t):{},w=s.getTheme();g.merge(t,w.get(l+"Axis")),g.merge(t,this.getDefaultOption()),t.type=c(r,t),d&&h(t,m,d)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var s=this.option;if(s.type==="category")return t?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:g.mergeAll([{},f[l+"Axis"],n],!0)})}),y.registerSubTypeDefaulter(r+"Axis",g.curry(c,r))}D.exports=i},noeP:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("UOVi");g.registerAction("dataZoom",function(p,v){var h=y.createLinkedNodesFinder(f.bind(v.eachComponent,v,"dataZoom"),y.eachAxisDim,function(o,i){return o.get(i.axisIndex)}),u=[];v.eachComponent({mainType:"dataZoom",query:p},function(o,i){u.push.apply(u,h(o).nodes)}),f.each(u,function(o,i){o.setRawRange({start:p.start,end:p.end,startValue:p.startValue,endValue:p.endValue})})})},"o/2+":function(D,I,e){"use strict";var g=e("q1tI"),f=e.n(g),y=Object(g.createContext)({});I.a=y},o40c:function(D,I,e){var g=e("IwbS"),f=e("OS9S"),y=e("loD1"),p=e("aKvl"),v=g.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(i,r){var a=r.segs,c=r.curveness;if(r.polyline)for(var n=0;n<a.length;){var l=a[n++];if(l>0){i.moveTo(a[n++],a[n++]);for(var t=1;t<l;t++)i.lineTo(a[n++],a[n++])}}else for(var n=0;n<a.length;){var s=a[n++],d=a[n++],m=a[n++],w=a[n++];if(i.moveTo(s,d),c>0){var b=(s+m)/2-(d-w)*c,E=(d+w)/2-(m-s)*c;i.quadraticCurveTo(b,E,m,w)}else i.lineTo(m,w)}},findDataIndex:function(i,r){var a=this.shape,c=a.segs,n=a.curveness;if(a.polyline)for(var l=0,t=0;t<c.length;){var s=c[t++];if(s>0)for(var d=c[t++],m=c[t++],w=1;w<s;w++){var b=c[t++],E=c[t++];if(y.containStroke(d,m,b,E))return l}l++}else for(var l=0,t=0;t<c.length;){var d=c[t++],m=c[t++],b=c[t++],E=c[t++];if(n>0){var A=(d+b)/2-(m-E)*n,S=(m+E)/2-(b-d)*n;if(p.containStroke(d,m,A,S,b,E))return l}else if(y.containStroke(d,m,b,E))return l;l++}return-1}});function h(){this.group=new g.Group}var u=h.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(i){this.group.removeAll();var r=new v({rectHover:!0,cursor:"default"});r.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(r,i),this.group.add(r),this._incremental=null},u.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(i,r){var a=new v;a.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(a,r,!!this._incremental),this._incremental?this._incremental.addDisplayable(a,!0):(a.rectHover=!0,a.cursor="default",a.__startIndex=i.start,this.group.add(a))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(i,r,a){var c=r.hostModel;i.setShape({polyline:c.get("polyline"),curveness:c.get("lineStyle.curveness")}),i.useStyle(c.getModel("lineStyle").getLineStyle()),i.style.strokeNoScale=!0;var n=r.getVisual("color");n&&i.setStyle("stroke",n),i.setStyle("fill"),a||(i.seriesIndex=c.seriesIndex,i.on("mousemove",function(l){i.dataIndex=null;var t=i.findDataIndex(l.offsetX,l.offsetY);t>0&&(i.dataIndex=t+i.__startIndex)}))},u._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var o=h;D.exports=o},oBaM:function(D,I,e){var g=e("T4UG"),f=e("5GtS"),y=e("bYtY"),p=e("7aKB"),v=p.encodeHTML,h=e("xKMd"),u=g.extend({type:"series.radar",dependencies:["radar"],init:function(i){u.superApply(this,"init",arguments),this.legendVisualProvider=new h(y.bind(this.getData,this),y.bind(this.getRawData,this))},getInitialData:function(i,r){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(i){var r=this.getData(),a=this.coordinateSystem,c=a.getIndicatorAxes(),n=this.getData().getName(i);return v(n===""?this.name:n)+"<br/>"+y.map(c,function(l,t){var s=r.get(r.mapDimension(l.dim),i);return v(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(i){if(i!=null){for(var r=this.getData(),a=this.coordinateSystem,c=r.getValues(y.map(a.dimensions,function(s){return r.mapDimension(s)}),i,!0),n=0,l=c.length;n<l;n++)if(!isNaN(c[n])){var t=a.getIndicatorAxes();return a.coordToPoint(t[n].dataToCoord(c[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),o=u;D.exports=o},oE7X:function(D,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(D,I,e){},oVpE:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("mFDi"),p=e("6GrX"),v=p.calculateTextPosition,h=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,d){var m=d.cx,w=d.cy,b=d.width/2,E=d.height/2;s.moveTo(m,w-E),s.lineTo(m+b,w+E),s.lineTo(m-b,w+E),s.closePath()}}),u=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,d){var m=d.cx,w=d.cy,b=d.width/2,E=d.height/2;s.moveTo(m,w-E),s.lineTo(m+b,w),s.lineTo(m,w+E),s.lineTo(m-b,w),s.closePath()}}),o=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,d){var m=d.x,w=d.y,b=d.width/5*3,E=Math.max(b,d.height),A=b/2,S=A*A/(E-A),T=w-E+A+S,O=Math.asin(S/A),x=Math.cos(O)*A,C=Math.sin(O),_=Math.cos(O),N=A*.6,F=A*.7;s.moveTo(m-x,T+S),s.arc(m,T,A,Math.PI-O,Math.PI*2+O),s.bezierCurveTo(m+x-C*N,T+S+_*N,m,w-F,m,w),s.bezierCurveTo(m,w-F,m-x+C*N,T+S+_*N,m-x,T+S),s.closePath()}}),i=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,d){var m=d.height,w=d.width,b=d.x,E=d.y,A=w/3*2;s.moveTo(b,E),s.lineTo(b+A,E+m),s.lineTo(b,E+m/4*3),s.lineTo(b-A,E+m),s.lineTo(b,E),s.closePath()}}),r={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:u,pin:o,arrow:i,triangle:h},a={line:function(s,d,m,w,b){b.x1=s,b.y1=d+w/2,b.x2=s+m,b.y2=d+w/2},rect:function(s,d,m,w,b){b.x=s,b.y=d,b.width=m,b.height=w},roundRect:function(s,d,m,w,b){b.x=s,b.y=d,b.width=m,b.height=w,b.r=Math.min(m,w)/4},square:function(s,d,m,w,b){var E=Math.min(m,w);b.x=s,b.y=d,b.width=E,b.height=E},circle:function(s,d,m,w,b){b.cx=s+m/2,b.cy=d+w/2,b.r=Math.min(m,w)/2},diamond:function(s,d,m,w,b){b.cx=s+m/2,b.cy=d+w/2,b.width=m,b.height=w},pin:function(s,d,m,w,b){b.x=s+m/2,b.y=d+w/2,b.width=m,b.height=w},arrow:function(s,d,m,w,b){b.x=s+m/2,b.y=d+w/2,b.width=m,b.height=w},triangle:function(s,d,m,w,b){b.cx=s+m/2,b.cy=d+w/2,b.width=m,b.height=w}},c={};g.each(r,function(s,d){c[d]=new s});var n=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,d,m){var w=v(s,d,m),b=this.shape;return b&&b.symbolType==="pin"&&d.textPosition==="inside"&&(w.y=m.y+m.height*.4),w},buildPath:function(s,d,m){var w=d.symbolType;if(w!=="none"){var b=c[w];b||(w="rect",b=c[w]),a[w](d.x,d.y,d.width,d.height,b.shape),b.buildPath(s,b.shape,m)}}});function l(s,d){if(this.type!=="image"){var m=this.style,w=this.shape;w&&w.symbolType==="line"?m.stroke=s:this.__isEmptyBrush?(m.stroke=s,m.fill=d||"#fff"):(m.fill&&(m.fill=s),m.stroke&&(m.stroke=s)),this.dirty(!1)}}function t(s,d,m,w,b,E,A){var S=s.indexOf("empty")===0;S&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=f.makeImage(s.slice(8),new y(d,m,w,b),A?"center":"cover"):s.indexOf("path://")===0?T=f.makePath(s.slice(7),{},new y(d,m,w,b),A?"center":"cover"):T=new n({shape:{symbolType:s,x:d,y:m,width:w,height:b}}),T.__isEmptyBrush=S,T.setColor=l,T.setColor(E),T}I.createSymbol=t},oY9F:function(D,I,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});D.exports=f},or5M:function(D,I,e){var g=e("1hJj"),f=e("QoRX"),y=e("xYSL"),p=1,v=2;function h(u,o,i,r,a,c){var n=i&p,l=u.length,t=o.length;if(l!=t&&!(n&&t>l))return!1;var s=c.get(u),d=c.get(o);if(s&&d)return s==o&&d==u;var m=-1,w=!0,b=i&v?new g:void 0;for(c.set(u,o),c.set(o,u);++m<l;){var E=u[m],A=o[m];if(r)var S=n?r(A,E,m,o,u,c):r(E,A,m,u,o,c);if(S!==void 0){if(S)continue;w=!1;break}if(b){if(!f(o,function(T,O){if(!y(b,O)&&(E===T||a(E,T,i,r,c)))return b.push(O)})){w=!1;break}}else if(!(E===A||a(E,A,i,r,c))){w=!1;break}}return c.delete(u),c.delete(o),w}D.exports=h},osHv:function(D,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function y(d,m){return d.line-m.line||d.ch-m.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",h=new RegExp("<(/?)(["+p+"]["+v+"]*)","g");function u(d,m,w,b){this.line=m,this.ch=w,this.cm=d,this.text=d.getLine(m),this.min=b?Math.max(b.from,d.firstLine()):d.firstLine(),this.max=b?Math.min(b.to-1,d.lastLine()):d.lastLine()}function o(d,m){var w=d.cm.getTokenTypeAt(f(d.line,m));return w&&/\btag\b/.test(w)}function i(d){return d.line>=d.max?void 0:(d.ch=0,d.text=d.cm.getLine(++d.line),!0)}function r(d){return d.line<=d.min?void 0:(d.text=d.cm.getLine(--d.line),d.ch=d.text.length,!0)}function a(d){for(;;){var m=d.text.indexOf(">",d.ch);if(m==-1){if(i(d))continue;return}if(!o(d,m+1)){d.ch=m+1;continue}var w=d.text.lastIndexOf("/",m),b=w>-1&&!/\S/.test(d.text.slice(w+1,m));return d.ch=m+1,b?"selfClose":"regular"}}function c(d){for(;;){var m=d.ch?d.text.lastIndexOf("<",d.ch-1):-1;if(m==-1){if(r(d))continue;return}if(!o(d,m+1)){d.ch=m;continue}h.lastIndex=m,d.ch=m;var w=h.exec(d.text);if(w&&w.index==m)return w}}function n(d){for(;;){h.lastIndex=d.ch;var m=h.exec(d.text);if(!m){if(i(d))continue;return}if(!o(d,m.index+1)){d.ch=m.index+1;continue}return d.ch=m.index+m[0].length,m}}function l(d){for(;;){var m=d.ch?d.text.lastIndexOf(">",d.ch-1):-1;if(m==-1){if(r(d))continue;return}if(!o(d,m+1)){d.ch=m;continue}var w=d.text.lastIndexOf("/",m),b=w>-1&&!/\S/.test(d.text.slice(w+1,m));return d.ch=m+1,b?"selfClose":"regular"}}function t(d,m){for(var w=[];;){var b=n(d),E,A=d.line,S=d.ch-(b?b[0].length:0);if(!b||!(E=a(d)))return;if(E=="selfClose")continue;if(b[1]){for(var T=w.length-1;T>=0;--T)if(w[T]==b[2]){w.length=T;break}if(T<0&&(!m||m==b[2]))return{tag:b[2],from:f(A,S),to:f(d.line,d.ch)}}else w.push(b[2])}}function s(d,m){for(var w=[];;){var b=l(d);if(!b)return;if(b=="selfClose"){c(d);continue}var E=d.line,A=d.ch,S=c(d);if(!S)return;if(S[1])w.push(S[2]);else{for(var T=w.length-1;T>=0;--T)if(w[T]==S[2]){w.length=T;break}if(T<0&&(!m||m==S[2]))return{tag:S[2],from:f(d.line,d.ch),to:f(E,A)}}}}g.registerHelper("fold","xml",function(d,m){for(var w=new u(d,m.line,0);;){var b=n(w);if(!b||w.line!=m.line)return;var E=a(w);if(!E)return;if(!b[1]&&E!="selfClose"){var A=f(w.line,w.ch),S=t(w,b[2]);return S&&y(S.from,A)>0?{from:A,to:S.from}:null}}}),g.findMatchingTag=function(d,m,w){var b=new u(d,m.line,m.ch,w);if(b.text.indexOf(">")==-1&&b.text.indexOf("<")==-1)return;var E=a(b),A=E&&f(b.line,b.ch),S=E&&c(b);if(!E||!S||y(b,m)>0)return;var T={from:f(b.line,b.ch),to:A,tag:S[2]};return E=="selfClose"?{open:T,close:null,at:"open"}:S[1]?{open:s(b,S[2]),close:T,at:"close"}:(b=new u(d,A.line,A.ch,w),{open:T,close:t(b,S[2]),at:"open"})},g.findEnclosingTag=function(d,m,w,b){for(var E=new u(d,m.line,m.ch,w);;){var A=s(E,b);if(!A)break;var S=new u(d,m.line,m.ch,w),T=t(S,A.tag);if(T)return{open:A,close:T}}},g.scanForClosingTag=function(d,m,w,b){var E=new u(d,m.line,m.ch,b?{from:0,to:b}:null);return t(E,w)}})},ozfa:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KxFI"),p=e.n(y)},"p+If":function(D,I,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),y=e("7ph2");g.registerLayout(f),g.registerVisual(y)},"p/La":function(D,I){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function g(f,y){f==="china"&&y.name==="\u53F0\u6E7E"&&y.geometries.push({type:"polygon",exterior:e[0]})}D.exports=g},p1MT:function(D,I,e){var g=e("Hw7h"),f=e("IwbS"),y=e("6Ic6"),p=e("OELB"),v=p.parsePercent,h=p.round,u=p.linearMap;function o(n,l){var t=n.get("center"),s=l.getWidth(),d=l.getHeight(),m=Math.min(s,d),w=v(t[0],l.getWidth()),b=v(t[1],l.getHeight()),E=v(n.get("radius"),m/2);return{cx:w,cy:b,r:E}}function i(n,l){return l&&(typeof l=="string"?n=l.replace("{value}",n!=null?n:""):typeof l=="function"&&(n=l(n))),n}var r=Math.PI*2,a=y.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var s=n.get("axisLine.lineStyle.color"),d=o(n,t);this._renderMain(n,l,t,s,d)},dispose:function(){},_renderMain:function(n,l,t,s,d){for(var m=this.group,w=n.getModel("axisLine"),b=w.getModel("lineStyle"),E=n.get("clockwise"),A=-n.get("startAngle")/180*Math.PI,S=-n.get("endAngle")/180*Math.PI,T=(S-A)%r,O=A,x=b.get("width"),C=w.get("show"),_=0;C&&_<s.length;_++){var N=Math.min(Math.max(s[_][0],0),1),S=A+T*N,F=new f.Sector({shape:{startAngle:O,endAngle:S,cx:d.cx,cy:d.cy,clockwise:E,r0:d.r-x,r:d.r},silent:!0});F.setStyle({fill:s[_][1]}),F.setStyle(b.getLineStyle(["color","borderWidth","borderColor"])),m.add(F),O=S}var k=function(j){if(j<=0)return s[0][1];for(var K=0;K<s.length;K++)if(s[K][0]>=j&&(K===0?0:s[K-1][0])<j)return s[K][1];return s[K-1][1]};if(!E){var P=A;A=S,S=P}this._renderTicks(n,l,t,k,d,A,S,E),this._renderPointer(n,l,t,k,d,A,S,E),this._renderTitle(n,l,t,k,d),this._renderDetail(n,l,t,k,d)},_renderTicks:function(n,l,t,s,d,m,w,b){for(var E=this.group,A=d.cx,S=d.cy,T=d.r,O=+n.get("min"),x=+n.get("max"),C=n.getModel("splitLine"),_=n.getModel("axisTick"),N=n.getModel("axisLabel"),F=n.get("splitNumber"),k=_.get("splitNumber"),P=v(C.get("length"),T),j=v(_.get("length"),T),K=m,R=(w-m)/F,B=R/k,U=C.getModel("lineStyle").getLineStyle(),H=_.getModel("lineStyle").getLineStyle(),W=0;W<=F;W++){var V=Math.cos(K),z=Math.sin(K);if(C.get("show")){var X=new f.Line({shape:{x1:V*T+A,y1:z*T+S,x2:V*(T-P)+A,y2:z*(T-P)+S},style:U,silent:!0});U.stroke==="auto"&&X.setStyle({stroke:s(W/F)}),E.add(X)}if(N.get("show")){var q=i(h(W/F*(x-O)+O),N.get("formatter")),fe=N.get("distance"),G=s(W/F);E.add(new f.Text({style:f.setTextStyle({},N,{text:q,x:V*(T-P-fe)+A,y:z*(T-P-fe)+S,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:G}),silent:!0}))}if(_.get("show")&&W!==F){for(var ve=0;ve<=k;ve++){var V=Math.cos(K),z=Math.sin(K),Se=new f.Line({shape:{x1:V*T+A,y1:z*T+S,x2:V*(T-j)+A,y2:z*(T-j)+S},silent:!0,style:H});H.stroke==="auto"&&Se.setStyle({stroke:s((W+ve/k)/F)}),E.add(Se),K+=B}K-=B}else K+=R}},_renderPointer:function(n,l,t,s,d,m,w,b){var E=this.group,A=this._data;if(!n.get("pointer.show")){A&&A.eachItemGraphicEl(function(C){E.remove(C)});return}var S=[+n.get("min"),+n.get("max")],T=[m,w],O=n.getData(),x=O.mapDimension("value");O.diff(A).add(function(C){var _=new g({shape:{angle:m}});f.initProps(_,{shape:{angle:u(O.get(x,C),S,T,!0)}},n),E.add(_),O.setItemGraphicEl(C,_)}).update(function(C,_){var N=A.getItemGraphicEl(_);f.updateProps(N,{shape:{angle:u(O.get(x,C),S,T,!0)}},n),E.add(N),O.setItemGraphicEl(C,N)}).remove(function(C){var _=A.getItemGraphicEl(C);E.remove(_)}).execute(),O.eachItemGraphicEl(function(C,_){var N=O.getItemModel(_),F=N.getModel("pointer");C.setShape({x:d.cx,y:d.cy,width:v(F.get("width"),d.r),r:v(F.get("length"),d.r)}),C.useStyle(N.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(u(O.get(x,_),S,[0,1],!0))),f.setHoverStyle(C,N.getModel("emphasis.itemStyle").getItemStyle())}),this._data=O},_renderTitle:function(n,l,t,s,d){var m=n.getData(),w=m.mapDimension("value"),b=n.getModel("title");if(b.get("show")){var E=b.get("offsetCenter"),A=d.cx+v(E[0],d.r),S=d.cy+v(E[1],d.r),T=+n.get("min"),O=+n.get("max"),x=n.getData().get(w,0),C=s(u(x,[T,O],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},b,{x:A,y:S,text:m.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(n,l,t,s,d){var m=n.getModel("detail"),w=+n.get("min"),b=+n.get("max");if(m.get("show")){var E=m.get("offsetCenter"),A=d.cx+v(E[0],d.r),S=d.cy+v(E[1],d.r),T=v(m.get("width"),d.r),O=v(m.get("height"),d.r),x=n.getData(),C=x.get(x.mapDimension("value"),0),_=s(u(C,[w,b],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},m,{x:A,y:S,text:i(C,m.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(O)?null:O,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}}),c=a;D.exports=c},"p77/":function(D,I,e){},pC0b:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("xzDV"),p=e.n(y),v=e("5Dmo")},"pED+":function(D,I,e){},pG52:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("WXVj"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},pLH3:function(D,I,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),y=e("JLnu"),p=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(y),g.registerProcessor(p("funnel"))},pP6R:function(D,I,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function y(u,o,i){var r=h(u);r[o]=i}function p(u,o,i){var r=h(u),a=r[o];a===i&&(r[o]=null)}function v(u,o){return!!h(u)[o]}function h(u){return u[f]||(u[f]={})}g.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),I.take=y,I.release=p,I.isTaken=v},pSRY:function(D,I,e){var g=e("QkVE");function f(y){return g(this,y).has(y)}D.exports=f},pmaE:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),p=e("DEFe"),v="__seriesMapHighDown",h="__seriesMapCallKey",u=g.extendChartView({type:"map",render:function(r,a,c,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var l=this.group;if(l.removeAll(),r.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===r.id){var t=this._mapDraw;t&&l.add(t.group)}else if(r.needsDrawMap){var t=this._mapDraw||new p(c,!0);l.add(t.group),t.draw(r,a,c,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&a.getComponent("legend")&&this._renderSymbols(r,a,c)},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(r,a,c){var n=r.originalData,l=this.group;n.each(n.mapDimension("value"),function(t,s){if(isNaN(t))return;var d=n.getItemLayout(s);if(!d||!d.point)return;var m=d.point,w=d.offset,b=new y.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:m[0]+w*9,cy:m[1],r:3},silent:!0,z2:8+(w?0:y.Z2_EMPHASIS_LIFT+1)});if(!w){var E=r.mainSeries.getData(),A=n.getName(s),S=E.indexOfName(A),T=n.getItemModel(s),O=T.getModel("label"),x=T.getModel("emphasis.label"),C=E.getItemGraphicEl(S),_=f.retrieve2(r.getFormattedLabel(S,"normal"),A),N=f.retrieve2(r.getFormattedLabel(S,"emphasis"),_),F=C[v],k=Math.random();if(!F){F=C[v]={};var P=f.curry(o,!0),j=f.curry(o,!1);C.on("mouseover",P).on("mouseout",j).on("emphasis",P).on("normal",j)}C[h]=k,f.extend(F,{recordVersion:k,circle:b,labelModel:O,hoverLabelModel:x,emphasisText:N,normalText:_}),i(F,!1)}l.add(b)})}});function o(r){var a=this[v];a&&a.recordVersion===this[h]&&i(a,r)}function i(r,a){var c=r.circle,n=r.labelModel,l=r.hoverLabelModel,t=r.emphasisText,s=r.normalText;a?(c.style.extendFrom(y.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),c.__mapOriginalZ2=c.z2,c.z2+=y.Z2_EMPHASIS_LIFT):(y.setTextStyle(c.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),c.dirty(!1),c.__mapOriginalZ2!=null&&(c.z2=c.__mapOriginalZ2,c.__mapOriginalZ2=null))}D.exports=u},pwpV:function(D,I,e){},pzxd:function(D,I,e){var g=e("bYtY"),f=g.retrieve2,y=g.retrieve3,p=g.each,v=g.normalizeCssArray,h=g.isString,u=g.isObject,o=e("6GrX"),i=e("VpOo"),r=e("Xnb7"),a=e("fW2E"),c=e("gut8"),n=c.ContextCachedBy,l=c.WILL_BE_RESTORED,t=o.DEFAULT_FONT,s={left:1,right:1,center:1},d={top:1,bottom:1,middle:1},m=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],w={},b={};function E(W){return A(W),p(W.rich,A),W}function A(W){if(W){W.font=o.makeFont(W);var V=W.textAlign;V==="middle"&&(V="center"),W.textAlign=V==null||s[V]?V:"left";var z=W.textVerticalAlign||W.textBaseline;z==="center"&&(z="middle"),W.textVerticalAlign=z==null||d[z]?z:"top";var X=W.textPadding;X&&(W.textPadding=v(W.textPadding))}}function S(W,V,z,X,q,fe){X.rich?O(W,V,z,X,q,fe):T(W,V,z,X,q,fe)}function T(W,V,z,X,q,fe){"use strict";var G=N(X),ve,Se=!1,ge=V.__attrCachedBy===n.PLAIN_TEXT;fe!==l?(fe&&(ve=fe.style,Se=!G&&ge&&ve),V.__attrCachedBy=G?n.NONE:n.PLAIN_TEXT):ge&&(V.__attrCachedBy=n.NONE);var Pe=X.font||t;(!Se||Pe!==(ve.font||t))&&(V.font=Pe);var Ge=W.__computedFont;W.__styleFont!==Pe&&(W.__styleFont=Pe,Ge=W.__computedFont=V.font);var pt=X.textPadding,Te=X.textLineHeight,xe=W.__textCotentBlock;(!xe||W.__dirtyText)&&(xe=W.__textCotentBlock=o.parsePlainText(z,Ge,pt,Te,X.truncate));var lt=xe.outerHeight,Ie=xe.lines,de=xe.lineHeight,ee=P(b,W,X,q),se=ee.baseX,ke=ee.baseY,Ce=ee.textAlign||"left",ze=ee.textVerticalAlign;C(V,X,q,se,ke);var _e=o.adjustTextY(ke,lt,ze),ae=se,me=_e;if(G||pt){var Oe=o.getWidth(z,Ge),Ze=Oe;pt&&(Ze+=pt[1]+pt[3]);var vt=o.adjustTextX(se,Ze,Ce);G&&F(W,V,X,vt,_e,Ze,lt),pt&&(ae=U(se,Ce,pt),me+=pt[0])}V.textAlign=Ce,V.textBaseline="middle",V.globalAlpha=X.opacity||1;for(var Ct=0;Ct<m.length;Ct++){var Be=m[Ct],Rt=Be[0],He=Be[1],wt=X[Rt];(!Se||wt!==ve[Rt])&&(V[He]=a(V,He,wt||Be[2]))}me+=de/2;var Ye=X.textStrokeWidth,et=Se?ve.textStrokeWidth:null,rt=!Se||Ye!==et,st=!Se||rt||X.textStroke!==ve.textStroke,Ve=K(X.textStroke,Ye),ie=R(X.textFill);if(Ve&&(rt&&(V.lineWidth=Ye),st&&(V.strokeStyle=Ve)),ie&&((!Se||X.textFill!==ve.textFill)&&(V.fillStyle=ie)),Ie.length===1)Ve&&V.strokeText(Ie[0],ae,me),ie&&V.fillText(Ie[0],ae,me);else for(var Ct=0;Ct<Ie.length;Ct++)Ve&&V.strokeText(Ie[Ct],ae,me),ie&&V.fillText(Ie[Ct],ae,me),me+=de}function O(W,V,z,X,q,fe){fe!==l&&(V.__attrCachedBy=n.NONE);var G=W.__textCotentBlock;(!G||W.__dirtyText)&&(G=W.__textCotentBlock=o.parseRichText(z,X)),x(W,V,G,X,q)}function x(W,V,z,X,q){var fe=z.width,G=z.outerWidth,ve=z.outerHeight,Se=X.textPadding,ge=P(b,W,X,q),Pe=ge.baseX,Ge=ge.baseY,pt=ge.textAlign,Te=ge.textVerticalAlign;C(V,X,q,Pe,Ge);var xe=o.adjustTextX(Pe,G,pt),lt=o.adjustTextY(Ge,ve,Te),Ie=xe,de=lt;Se&&(Ie+=Se[3],de+=Se[0]);var ee=Ie+fe;N(X)&&F(W,V,X,xe,lt,G,ve);for(var se=0;se<z.lines.length;se++){for(var ke=z.lines[se],Ce=ke.tokens,ze=Ce.length,_e=ke.lineHeight,ae=ke.width,me=0,Oe=Ie,Ze=ee,vt=ze-1,Ct;me<ze&&(Ct=Ce[me],!Ct.textAlign||Ct.textAlign==="left");)_(W,V,Ct,X,_e,de,Oe,"left"),ae-=Ct.width,Oe+=Ct.width,me++;for(;vt>=0&&(Ct=Ce[vt],Ct.textAlign==="right");)_(W,V,Ct,X,_e,de,Ze,"right"),ae-=Ct.width,Ze-=Ct.width,vt--;for(Oe+=(fe-(Oe-Ie)-(ee-Ze)-ae)/2;me<=vt;)Ct=Ce[me],_(W,V,Ct,X,_e,de,Oe+Ct.width/2,"center"),Oe+=Ct.width,me++;de+=_e}}function C(W,V,z,X,q){if(z&&V.textRotation){var fe=V.textOrigin;fe==="center"?(X=z.width/2+z.x,q=z.height/2+z.y):fe&&(X=fe[0]+z.x,q=fe[1]+z.y),W.translate(X,q),W.rotate(-V.textRotation),W.translate(-X,-q)}}function _(W,V,z,X,q,fe,G,ve){var Se=X.rich[z.styleName]||{};Se.text=z.text;var ge=z.textVerticalAlign,Pe=fe+q/2;ge==="top"?Pe=fe+z.height/2:ge==="bottom"&&(Pe=fe+q-z.height/2),!z.isLineHolder&&N(Se)&&F(W,V,Se,ve==="right"?G-z.width:ve==="center"?G-z.width/2:G,Pe-z.height/2,z.width,z.height);var Ge=z.textPadding;Ge&&(G=U(G,ve,Ge),Pe-=z.height/2-Ge[2]-z.textHeight/2),j(V,"shadowBlur",y(Se.textShadowBlur,X.textShadowBlur,0)),j(V,"shadowColor",Se.textShadowColor||X.textShadowColor||"transparent"),j(V,"shadowOffsetX",y(Se.textShadowOffsetX,X.textShadowOffsetX,0)),j(V,"shadowOffsetY",y(Se.textShadowOffsetY,X.textShadowOffsetY,0)),j(V,"textAlign",ve),j(V,"textBaseline","middle"),j(V,"font",z.font||t);var pt=K(Se.textStroke||X.textStroke,xe),Te=R(Se.textFill||X.textFill),xe=f(Se.textStrokeWidth,X.textStrokeWidth);pt&&(j(V,"lineWidth",xe),j(V,"strokeStyle",pt),V.strokeText(z.text,G,Pe)),Te&&(j(V,"fillStyle",Te),V.fillText(z.text,G,Pe))}function N(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function F(W,V,z,X,q,fe,G){var ve=z.textBackgroundColor,Se=z.textBorderWidth,ge=z.textBorderColor,Pe=h(ve);if(j(V,"shadowBlur",z.textBoxShadowBlur||0),j(V,"shadowColor",z.textBoxShadowColor||"transparent"),j(V,"shadowOffsetX",z.textBoxShadowOffsetX||0),j(V,"shadowOffsetY",z.textBoxShadowOffsetY||0),Pe||Se&&ge){V.beginPath();var Ge=z.textBorderRadius;Ge?i.buildPath(V,{x:X,y:q,width:fe,height:G,r:Ge}):V.rect(X,q,fe,G),V.closePath()}if(Pe)if(j(V,"fillStyle",ve),z.fillOpacity!=null){var pt=V.globalAlpha;V.globalAlpha=z.fillOpacity*z.opacity,V.fill(),V.globalAlpha=pt}else V.fill();else if(u(ve)){var Te=ve.image;Te=r.createOrUpdateImage(Te,null,W,k,ve),Te&&r.isImageReady(Te)&&V.drawImage(Te,X,q,fe,G)}if(Se&&ge)if(j(V,"lineWidth",Se),j(V,"strokeStyle",ge),z.strokeOpacity!=null){var pt=V.globalAlpha;V.globalAlpha=z.strokeOpacity*z.opacity,V.stroke(),V.globalAlpha=pt}else V.stroke()}function k(W,V){V.image=W}function P(W,V,z,X){var q=z.x||0,fe=z.y||0,G=z.textAlign,ve=z.textVerticalAlign;if(X){var Se=z.textPosition;if(Se instanceof Array)q=X.x+B(Se[0],X.width),fe=X.y+B(Se[1],X.height);else{var ge=V&&V.calculateTextPosition?V.calculateTextPosition(w,z,X):o.calculateTextPosition(w,z,X);q=ge.x,fe=ge.y,G=G||ge.textAlign,ve=ve||ge.textVerticalAlign}var Pe=z.textOffset;Pe&&(q+=Pe[0],fe+=Pe[1])}return W=W||{},W.baseX=q,W.baseY=fe,W.textAlign=G,W.textVerticalAlign=ve,W}function j(W,V,z){return W[V]=a(W,V,z),W[V]}function K(W,V){return W==null||V<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function R(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function B(W,V){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*V:parseFloat(W):W}function U(W,V,z){return V==="right"?W-z[1]:V==="center"?W+z[3]/2-z[1]/2:W+z[3]}function H(W,V){return W!=null&&(W||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}I.normalizeTextStyle=E,I.renderText=S,I.getBoxPosition=P,I.getStroke=K,I.getFill=R,I.parsePercent=B,I.needDrawText=H},"q/+u":function(D,I,e){var g=e("ProS"),f=e("9wZj"),y=e("yWXo"),p=e("h8O9");g.extendChartView({type:"scatter",render:function(v,h,u){var o=v.getData(),i=this._updateSymbolDraw(o,v);i.updateData(o,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,h,u){var o=v.getData(),i=this._updateSymbolDraw(o,v);i.incrementalPrepareUpdate(o),this._finished=!1},incrementalRender:function(v,h,u){this._symbolDraw.incrementalUpdate(v,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=v.end===h.getData().count()},updateTransform:function(v,h,u){var o=v.getData();if(this.group.dirty(),!this._finished||o.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=p().reset(v);i.progress&&i.progress({start:0,end:o.count()},o),this._symbolDraw.updateLayout(o)},_getClipShape:function(v){var h=v.coordinateSystem,u=h&&h.getArea&&h.getArea();return v.get("clip",!0)?u:null},_updateSymbolDraw:function(v,h){var u=this._symbolDraw,o=h.pipelineContext,i=o.large;return(!u||i!==this._isLargeDraw)&&(u&&u.remove(),u=this._symbolDraw=i?new y:new f,this._isLargeDraw=i,this.group.removeAll()),this.group.add(u.group),u},remove:function(v,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(D,I){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,y,p){var v=f.getModel("itemStyle"),h=f.getModel("lineStyle"),u=y.get("color"),o=h.get("color")||v.get("color")||u[f.seriesIndex%u.length],i=f.get("inactiveOpacity"),r=f.get("activeOpacity"),a=f.getModel("lineStyle").getLineStyle(),c=f.coordinateSystem,n=f.getData(),l={normal:a.opacity,active:r,inactive:i};n.setVisual("color",o);function t(s,d){c.eachActiveState(d,function(m,w){var b=l[m];if(m==="normal"&&d.hasItemOption){var E=d.getItemModel(w).get(e,!0);E!=null&&(b=E)}d.setItemVisual(w,"opacity",b)},s.start,s.end)}return{progress:t}}};D.exports=g},q4HE:function(D,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",p=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",u="["+p+"]",o="\\ud83c[\\udffb-\\udfff]",i="(?:"+u+"|"+o+")",r="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,a,c].join("|")+")"+t+l+")*",d=t+l+s,m="(?:"+[r+u+"?",u,a,c,h].join("|")+")",w=RegExp(o+"(?="+o+")|"+m+d,"g");function b(E){for(var A=w.lastIndex=0;w.test(E);)++A;return A}D.exports=b},q7KB:function(D,I,e){},qH13:function(D,I,e){var g=e("ItGF"),f=e("QBsz"),y=f.applyTransform,p=e("mFDi"),v=e("Qe9p"),h=e("6GrX"),u=e("pzxd"),o=e("ni6a"),i=e("Gev7"),r=e("Dagg"),a=e("dqUG"),c=e("y+Vt"),n=e("IMiH"),l=e("QuXc"),t=e("06Qe"),s=n.CMD,d=Math.round,m=Math.sqrt,w=Math.abs,b=Math.cos,E=Math.sin,A=Math.max;if(!g.canvasSupported){var S=",",T="progid:DXImageTransform.Microsoft",O=21600,x=O/2,C=1e5,_=1e3,N=function(ke){ke.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ke.coordsize=O+","+O,ke.coordorigin="0,0"},F=function(ke){return String(ke).replace(/&/g,"&").replace(/"/g,""")},k=function(ke,Ce,ze){return"rgb("+[ke,Ce,ze].join(",")+")"},P=function(ke,Ce){Ce&&ke&&Ce.parentNode!==ke&&ke.appendChild(Ce)},j=function(ke,Ce){Ce&&ke&&Ce.parentNode===ke&&ke.removeChild(Ce)},K=function(ke,Ce,ze){return(parseFloat(ke)||0)*C+(parseFloat(Ce)||0)*_+ze},R=u.parsePercent,B=function(ke,Ce,ze){var _e=v.parse(Ce);ze=+ze,isNaN(ze)&&(ze=1),_e&&(ke.color=k(_e[0],_e[1],_e[2]),ke.opacity=ze*_e[3])},U=function(ke){var Ce=v.parse(ke);return[k(Ce[0],Ce[1],Ce[2]),Ce[3]]},H=function(ke,Ce,ze){var _e=Ce.fill;if(_e!=null)if(_e instanceof l){var ae,me=0,Oe=[0,0],Ze=0,vt=1,Ct=ze.getBoundingRect(),Be=Ct.width,Rt=Ct.height;if(_e.type==="linear"){ae="gradient";var He=ze.transform,wt=[_e.x*Be,_e.y*Rt],Ye=[_e.x2*Be,_e.y2*Rt];He&&(y(wt,wt,He),y(Ye,Ye,He));var et=Ye[0]-wt[0],rt=Ye[1]-wt[1];me=Math.atan2(et,rt)*180/Math.PI,me<0&&(me+=360),me<1e-6&&(me=0)}else{ae="gradientradial";var wt=[_e.x*Be,_e.y*Rt],He=ze.transform,st=ze.scale,Ve=Be,ie=Rt;Oe=[(wt[0]-Ct.x)/Ve,(wt[1]-Ct.y)/ie],He&&y(wt,wt,He),Ve/=st[0]*O,ie/=st[1]*O;var $=A(Ve,ie);Ze=2*0/$,vt=2*_e.r/$-Ze}var it=_e.colorStops.slice();it.sort(function(pe,he){return pe.offset-he.offset});for(var Qe=it.length,ye=[],Zt=[],dt=0;dt<Qe;dt++){var ct=it[dt],yt=U(ct.color);Zt.push(ct.offset*vt+Ze+" "+yt[0]),(dt===0||dt===Qe-1)&&ye.push(yt)}if(Qe>=2){var It=ye[0][0],or=ye[1][0],Bt=ye[0][1]*Ce.opacity,Ae=ye[1][1]*Ce.opacity;ke.type=ae,ke.method="none",ke.focus="100%",ke.angle=me,ke.color=It,ke.color2=or,ke.colors=Zt.join(","),ke.opacity=Ae,ke.opacity2=Bt}ae==="radial"&&(ke.focusposition=Oe.join(","))}else B(ke,_e,Ce.opacity)},W=function(ke,Ce){Ce.lineDash&&(ke.dashstyle=Ce.lineDash.join(" ")),Ce.stroke!=null&&!(Ce.stroke instanceof l)&&B(ke,Ce.stroke,Ce.opacity)},V=function(ke,Ce,ze,_e){var ae=Ce==="fill",me=ke.getElementsByTagName(Ce)[0];ze[Ce]!=null&&ze[Ce]!=="none"&&(ae||!ae&&ze.lineWidth)?(ke[ae?"filled":"stroked"]="true",ze[Ce]instanceof l&&j(ke,me),me||(me=t.createNode(Ce)),ae?H(me,ze,_e):W(me,ze),P(ke,me)):(ke[ae?"filled":"stroked"]="false",j(ke,me))},z=[[],[],[]],X=function(ke,Ce){var ze=s.M,_e=s.C,ae=s.L,me=s.A,Oe=s.Q,Ze=[],vt,Ct,Be,Rt,He,wt,Ye=ke.data,et=ke.len();for(Rt=0;Rt<et;){Be=Ye[Rt++],Ct="",vt=0;switch(Be){case ze:Ct=" m ",vt=1,He=Ye[Rt++],wt=Ye[Rt++],z[0][0]=He,z[0][1]=wt;break;case ae:Ct=" l ",vt=1,He=Ye[Rt++],wt=Ye[Rt++],z[0][0]=He,z[0][1]=wt;break;case Oe:case _e:Ct=" c ",vt=3;var rt=Ye[Rt++],st=Ye[Rt++],Ve=Ye[Rt++],ie=Ye[Rt++],$,it;Be===Oe?($=Ve,it=ie,Ve=(Ve+2*rt)/3,ie=(ie+2*st)/3,rt=(He+2*rt)/3,st=(wt+2*st)/3):($=Ye[Rt++],it=Ye[Rt++]),z[0][0]=rt,z[0][1]=st,z[1][0]=Ve,z[1][1]=ie,z[2][0]=$,z[2][1]=it,He=$,wt=it;break;case me:var Qe=0,ye=0,Zt=1,dt=1,ct=0;Ce&&(Qe=Ce[4],ye=Ce[5],Zt=m(Ce[0]*Ce[0]+Ce[1]*Ce[1]),dt=m(Ce[2]*Ce[2]+Ce[3]*Ce[3]),ct=Math.atan2(-Ce[1]/dt,Ce[0]/Zt));var yt=Ye[Rt++],It=Ye[Rt++],or=Ye[Rt++],Bt=Ye[Rt++],Ae=Ye[Rt++]+ct,pe=Ye[Rt++]+Ae+ct;Rt++;var he=Ye[Rt++],le=yt+b(Ae)*or,Ne=It+E(Ae)*Bt,rt=yt+b(pe)*or,st=It+E(pe)*Bt,je=he?" wa ":" at ";Math.abs(le-rt)<1e-4&&(Math.abs(pe-Ae)>.01?he&&(le+=270/O):Math.abs(Ne-It)<1e-4?he&&le<yt||!he&&le>yt?st-=270/O:st+=270/O:he&&Ne<It||!he&&Ne>It?rt+=270/O:rt-=270/O),Ze.push(je,d(((yt-or)*Zt+Qe)*O-x),S,d(((It-Bt)*dt+ye)*O-x),S,d(((yt+or)*Zt+Qe)*O-x),S,d(((It+Bt)*dt+ye)*O-x),S,d((le*Zt+Qe)*O-x),S,d((Ne*dt+ye)*O-x),S,d((rt*Zt+Qe)*O-x),S,d((st*dt+ye)*O-x)),He=rt,wt=st;break;case s.R:var Ke=z[0],Xe=z[1];Ke[0]=Ye[Rt++],Ke[1]=Ye[Rt++],Xe[0]=Ke[0]+Ye[Rt++],Xe[1]=Ke[1]+Ye[Rt++],Ce&&(y(Ke,Ke,Ce),y(Xe,Xe,Ce)),Ke[0]=d(Ke[0]*O-x),Xe[0]=d(Xe[0]*O-x),Ke[1]=d(Ke[1]*O-x),Xe[1]=d(Xe[1]*O-x),Ze.push(" m ",Ke[0],S,Ke[1]," l ",Xe[0],S,Ke[1]," l ",Xe[0],S,Xe[1]," l ",Ke[0],S,Xe[1]);break;case s.Z:Ze.push(" x ")}if(vt>0){Ze.push(Ct);for(var Fe=0;Fe<vt;Fe++){var nt=z[Fe];Ce&&y(nt,nt,Ce),Ze.push(d(nt[0]*O-x),S,d(nt[1]*O-x),Fe<vt-1?S:"")}}}return Ze.join("")};c.prototype.brushVML=function(se){var ke=this.style,Ce=this._vmlEl;Ce||(Ce=t.createNode("shape"),N(Ce),this._vmlEl=Ce),V(Ce,"fill",ke,this),V(Ce,"stroke",ke,this);var ze=this.transform,_e=ze!=null,ae=Ce.getElementsByTagName("stroke")[0];if(ae){var me=ke.lineWidth;if(_e&&!ke.strokeNoScale){var Oe=ze[0]*ze[3]-ze[1]*ze[2];me*=m(w(Oe))}ae.weight=me+"px"}var Ze=this.path||(this.path=new n);this.__dirtyPath&&(Ze.beginPath(),Ze.subPixelOptimize=!1,this.buildPath(Ze,this.shape),Ze.toStatic(),this.__dirtyPath=!1),Ce.path=X(Ze,this.transform),Ce.style.zIndex=K(this.zlevel,this.z,this.z2),P(se,Ce),ke.text!=null?this.drawRectText(se,this.getBoundingRect()):this.removeRectText(se)},c.prototype.onRemove=function(se){j(se,this._vmlEl),this.removeRectText(se)},c.prototype.onAdd=function(se){P(se,this._vmlEl),this.appendRectText(se)};var q=function(ke){return typeof ke=="object"&&ke.tagName&&ke.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(se){var ke=this.style,Ce=ke.image,ze,_e;if(q(Ce)){var ae=Ce.src;if(ae===this._imageSrc)ze=this._imageWidth,_e=this._imageHeight;else{var me=Ce.runtimeStyle,Oe=me.width,Ze=me.height;me.width="auto",me.height="auto",ze=Ce.width,_e=Ce.height,me.width=Oe,me.height=Ze,this._imageSrc=ae,this._imageWidth=ze,this._imageHeight=_e}Ce=ae}else Ce===this._imageSrc&&(ze=this._imageWidth,_e=this._imageHeight);if(!Ce)return;var vt=ke.x||0,Ct=ke.y||0,Be=ke.width,Rt=ke.height,He=ke.sWidth,wt=ke.sHeight,Ye=ke.sx||0,et=ke.sy||0,rt=He&&wt,st=this._vmlEl;st||(st=t.doc.createElement("div"),N(st),this._vmlEl=st);var Ve=st.style,ie=!1,$,it=1,Qe=1;if(this.transform&&($=this.transform,it=m($[0]*$[0]+$[1]*$[1]),Qe=m($[2]*$[2]+$[3]*$[3]),ie=$[1]||$[2]),ie){var ye=[vt,Ct],Zt=[vt+Be,Ct],dt=[vt,Ct+Rt],ct=[vt+Be,Ct+Rt];y(ye,ye,$),y(Zt,Zt,$),y(dt,dt,$),y(ct,ct,$);var yt=A(ye[0],Zt[0],dt[0],ct[0]),It=A(ye[1],Zt[1],dt[1],ct[1]),or=[];or.push("M11=",$[0]/it,S,"M12=",$[2]/Qe,S,"M21=",$[1]/it,S,"M22=",$[3]/Qe,S,"Dx=",d(vt*it+$[4]),S,"Dy=",d(Ct*Qe+$[5])),Ve.padding="0 "+d(yt)+"px "+d(It)+"px 0",Ve.filter=T+".Matrix("+or.join("")+", SizingMethod=clip)"}else $&&(vt=vt*it+$[4],Ct=Ct*Qe+$[5]),Ve.filter="",Ve.left=d(vt)+"px",Ve.top=d(Ct)+"px";var Bt=this._imageEl,Ae=this._cropEl;Bt||(Bt=t.doc.createElement("div"),this._imageEl=Bt);var pe=Bt.style;if(rt){if(ze&&_e)pe.width=d(it*ze*Be/He)+"px",pe.height=d(Qe*_e*Rt/wt)+"px";else{var he=new Image,le=this;he.onload=function(){he.onload=null,ze=he.width,_e=he.height,pe.width=d(it*ze*Be/He)+"px",pe.height=d(Qe*_e*Rt/wt)+"px",le._imageWidth=ze,le._imageHeight=_e,le._imageSrc=Ce},he.src=Ce}Ae||(Ae=t.doc.createElement("div"),Ae.style.overflow="hidden",this._cropEl=Ae);var Ne=Ae.style;Ne.width=d((Be+Ye*Be/He)*it),Ne.height=d((Rt+et*Rt/wt)*Qe),Ne.filter=T+".Matrix(Dx="+-Ye*Be/He*it+",Dy="+-et*Rt/wt*Qe+")",Ae.parentNode||st.appendChild(Ae),Bt.parentNode!==Ae&&Ae.appendChild(Bt)}else pe.width=d(it*Be)+"px",pe.height=d(Qe*Rt)+"px",st.appendChild(Bt),Ae&&Ae.parentNode&&(st.removeChild(Ae),this._cropEl=null);var je="",Ke=ke.opacity;Ke<1&&(je+=".Alpha(opacity="+d(Ke*100)+") "),je+=T+".AlphaImageLoader(src="+Ce+", SizingMethod=scale)",pe.filter=je,st.style.zIndex=K(this.zlevel,this.z,this.z2),P(se,st),ke.text!=null&&this.drawRectText(se,this.getBoundingRect())},r.prototype.onRemove=function(se){j(se,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(se)},r.prototype.onAdd=function(se){P(se,this._vmlEl),this.appendRectText(se)};var fe="normal",G={},ve=0,Se=100,ge=document.createElement("div"),Pe=function(ke){var Ce=G[ke];if(!Ce){ve>Se&&(ve=0,G={});var ze=ge.style,_e;try{ze.font=ke,_e=ze.fontFamily.split(",")[0]}catch(ae){}Ce={style:ze.fontStyle||fe,variant:ze.fontVariant||fe,weight:ze.fontWeight||fe,size:parseFloat(ze.fontSize||12)|0,family:_e||"Microsoft YaHei"},G[ke]=Ce,ve++}return Ce},Ge;h.$override("measureText",function(se,ke){var Ce=t.doc;Ge||(Ge=Ce.createElement("div"),Ge.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Ge));try{Ge.style.font=ke}catch(ze){}return Ge.innerHTML="",Ge.appendChild(Ce.createTextNode(se)),{width:Ge.offsetWidth}});for(var pt=new p,Te=function(ke,Ce,ze,_e){var ae=this.style;this.__dirty&&u.normalizeTextStyle(ae,!0);var me=ae.text;if(me!=null&&(me+=""),!me)return;if(ae.rich){var Oe=h.parseRichText(me,ae);me=[];for(var Ze=0;Ze<Oe.lines.length;Ze++){for(var vt=Oe.lines[Ze].tokens,Ct=[],Be=0;Be<vt.length;Be++)Ct.push(vt[Be].text);me.push(Ct.join(""))}me=me.join(`
|
|
|
`)}var Rt,He,wt=ae.textAlign,Ye=ae.textVerticalAlign,et=Pe(ae.font),rt=et.style+" "+et.variant+" "+et.weight+" "+et.size+'px "'+et.family+'"';ze=ze||h.getBoundingRect(me,rt,wt,Ye,ae.textPadding,ae.textLineHeight);var st=this.transform;if(st&&!_e&&(pt.copy(Ce),pt.applyTransform(st),Ce=pt),_e)Rt=Ce.x,He=Ce.y;else{var Ve=ae.textPosition;if(Ve instanceof Array)Rt=Ce.x+R(Ve[0],Ce.width),He=Ce.y+R(Ve[1],Ce.height),wt=wt||"left";else{var ie=this.calculateTextPosition?this.calculateTextPosition({},ae,Ce):h.calculateTextPosition({},ae,Ce);Rt=ie.x,He=ie.y,wt=wt||ie.textAlign,Ye=Ye||ie.textVerticalAlign}}Rt=h.adjustTextX(Rt,ze.width,wt),He=h.adjustTextY(He,ze.height,Ye),He+=ze.height/2;var $=t.createNode,it=this._textVmlEl,Qe,ye,Zt;it?(Zt=it.firstChild,Qe=Zt.nextSibling,ye=Qe.nextSibling):(it=$("line"),Qe=$("path"),ye=$("textpath"),Zt=$("skew"),ye.style["v-text-align"]="left",N(it),Qe.textpathok=!0,ye.on=!0,it.from="0 0",it.to="1000 0.05",P(it,Zt),P(it,Qe),P(it,ye),this._textVmlEl=it);var dt=[Rt,He],ct=it.style;st&&_e?(y(dt,dt,st),Zt.on=!0,Zt.matrix=st[0].toFixed(3)+S+st[2].toFixed(3)+S+st[1].toFixed(3)+S+st[3].toFixed(3)+",0,0",Zt.offset=(d(dt[0])||0)+","+(d(dt[1])||0),Zt.origin="0 0",ct.left="0px",ct.top="0px"):(Zt.on=!1,ct.left=d(Rt)+"px",ct.top=d(He)+"px"),ye.string=F(me);try{ye.style.font=rt}catch(yt){}V(it,"fill",{fill:ae.textFill,opacity:ae.opacity},this),V(it,"stroke",{stroke:ae.textStroke,opacity:ae.opacity,lineDash:ae.lineDash||null},this),it.style.zIndex=K(this.zlevel,this.z,this.z2),P(ke,it)},xe=function(ke){j(ke,this._textVmlEl),this._textVmlEl=null},lt=function(ke){P(ke,this._textVmlEl)},Ie=[o,i,r,c,a],de=0;de<Ie.length;de++){var ee=Ie[de].prototype;ee.drawRectText=Te,ee.removeRectText=xe,ee.appendRectText=lt}a.prototype.brushVML=function(se){var ke=this.style;ke.text!=null?this.drawRectText(se,{x:ke.x||0,y:ke.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(se)},a.prototype.onRemove=function(se){this.removeRectText(se)},a.prototype.onAdd=function(se){this.appendRectText(se)}}},qJCg:function(D,I,e){var g=e("BlVb"),f=e("mFDi"),y=e("IwbS"),p=y.linePolygonIntersect,v={lineX:h(0),lineY:h(1),rect:{point:function(i,r,a){return i&&a.boundingRect.contain(i[0],i[1])},rect:function(i,r,a){return i&&a.boundingRect.intersect(i)}},polygon:{point:function(i,r,a){return i&&a.boundingRect.contain(i[0],i[1])&&g.contain(a.range,i[0],i[1])},rect:function(i,r,a){var c=a.range;if(!i||c.length<=1)return!1;var n=i.x,l=i.y,t=i.width,s=i.height,d=c[0];if(g.contain(c,n,l)||g.contain(c,n+t,l)||g.contain(c,n,l+s)||g.contain(c,n+t,l+s)||f.create(i).contain(d[0],d[1])||p(n,l,n+t,l,c)||p(n,l,n,l+s,c)||p(n+t,l,n+t,l+s,c)||p(n,l+s,n+t,l+s,c))return!0}}};function h(i){var r=["x","y"],a=["width","height"];return{point:function(c,n,l){if(c){var t=l.range,s=c[i];return u(s,t)}},rect:function(c,n,l){if(c){var t=l.range,s=[c[r[i]],c[r[i]]+c[a[i]]];return s[1]<s[0]&&s.reverse(),u(s[0],t)||u(s[1],t)||u(t[0],s)||u(t[1],s)}}}}function u(i,r){return r[0]<=i&&i<=r[1]}var o=v;D.exports=o},qMZE:function(D,I,e){var g=e("JEkh"),f=g.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}}}});D.exports=f},qNPg:function(D,I,e){"use strict";e.d(I,"a",function(){return z});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),p=e("ODXe"),v=e("Ff2n"),h=e("q1tI"),u=e("4IlW"),o=e("TSYQ"),i=e.n(o),r=e("6cGi"),a=e("bX4T"),c=e("8XRh"),n=e("8OUc"),l=e("c+Xe"),t=function(q,fe){var G=q.prefixCls,ve=q.id,Se=q.inputElement,ge=q.disabled,Pe=q.tabIndex,Ge=q.autoFocus,pt=q.autoComplete,Te=q.editable,xe=q.accessibilityIndex,lt=q.value,Ie=q.onKeyDown,de=q.onMouseDown,ee=q.onChange,se=q.onPaste,ke=q.onCompositionStart,Ce=q.onCompositionEnd,ze=q.open,_e=q.attrs,ae=Se||h.createElement("input",null),me=ae,Oe=me.ref,Ze=me.props,vt=Ze.onKeyDown,Ct=Ze.onChange,Be=Ze.onMouseDown,Rt=Ze.onCompositionStart,He=Ze.onCompositionEnd,wt=Ze.style;return ae=h.cloneElement(ae,Object(f.a)(Object(f.a)({id:ve,ref:Object(l.a)(fe,Oe),disabled:ge,tabIndex:Pe,autoComplete:pt||"off",autoFocus:Ge,className:"".concat(G,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},wt),{},{opacity:Te?null:0}),role:"combobox","aria-expanded":ze,"aria-haspopup":"listbox","aria-owns":"".concat(ve,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ve,"_list"),"aria-activedescendant":"".concat(ve,"_list_").concat(xe)},_e),{},{value:Te?lt:"",readOnly:!Te,unselectable:Te?null:"on",onKeyDown:function(et){Ie(et),vt&&vt(et)},onMouseDown:function(et){de(et),Be&&Be(et)},onChange:function(et){ee(et),Ct&&Ct(et)},onCompositionStart:function(et){ke(et),Rt&&Rt(et)},onCompositionEnd:function(et){Ce(et),He&&He(et)},onPaste:se})),ae},s=h.forwardRef(t);s.displayName="Input";var d=s,m=e("WKfj");function w(X,q){m.b?h.useLayoutEffect(X,q):h.useEffect(X,q)}var b="__RC_SELECT_MAX_REST_COUNT__",E=function(q){var fe=q.id,G=q.prefixCls,ve=q.values,Se=q.open,ge=q.searchValue,Pe=q.inputRef,Ge=q.placeholder,pt=q.disabled,Te=q.mode,xe=q.showSearch,lt=q.autoFocus,Ie=q.autoComplete,de=q.accessibilityIndex,ee=q.tabIndex,se=q.removeIcon,ke=q.choiceTransitionName,Ce=q.maxTagCount,ze=q.maxTagTextLength,_e=q.maxTagPlaceholder,ae=_e===void 0?function(yt){return"+ ".concat(yt.length," ...")}:_e,me=q.tagRender,Oe=q.onSelect,Ze=q.onInputChange,vt=q.onInputPaste,Ct=q.onInputKeyDown,Be=q.onInputMouseDown,Rt=q.onInputCompositionStart,He=q.onInputCompositionEnd,wt=h.useState(!1),Ye=Object(p.a)(wt,2),et=Ye[0],rt=Ye[1],st=h.useRef(null),Ve=h.useState(0),ie=Object(p.a)(Ve,2),$=ie[0],it=ie[1];h.useEffect(function(){rt(!0)},[]);var Qe=Se||Te==="tags"?ge:"",ye=Te==="tags"||Se&&xe;w(function(){it(st.current.scrollWidth)},[Qe]);var Zt=ve,dt;typeof Ce=="number"&&(dt=ve.length-Ce,Zt=ve.slice(0,Ce)),typeof ze=="number"&&(Zt=Zt.map(function(yt){var It=yt.label,or=Object(v.a)(yt,["label"]),Bt=It;if(typeof It=="string"||typeof It=="number"){var Ae=String(Bt);Ae.length>ze&&(Bt="".concat(Ae.slice(0,ze),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Bt})})),dt>0&&Zt.push({key:b,label:typeof ae=="function"?ae(ve.slice(Ce)):ae});var ct=h.createElement(c.CSSMotionList,{component:!1,keys:Zt,motionName:ke,motionAppear:et},function(yt){var It=yt.key,or=yt.label,Bt=yt.value,Ae=yt.disabled,pe=yt.className,he=yt.style,le=It||Bt,Ne=It!==b&&!Ae,je=function(Fe){Fe.preventDefault(),Fe.stopPropagation()},Ke=function(Fe){Fe&&Fe.stopPropagation(),Oe(Bt,{selected:!1})};return typeof me=="function"?h.createElement("span",{key:le,onMouseDown:je,className:pe,style:he},me({label:or,value:Bt,disabled:Ae,closable:Ne,onClose:Ke})):h.createElement("span",{key:le,className:i()(pe,"".concat(G,"-selection-item"),Object(g.a)({},"".concat(G,"-selection-item-disabled"),Ae)),style:he},h.createElement("span",{className:"".concat(G,"-selection-item-content")},or),Ne&&h.createElement(n.a,{className:"".concat(G,"-selection-item-remove"),onMouseDown:je,onClick:Ke,customizeIcon:se},"\xD7"))});return h.createElement(h.Fragment,null,ct,h.createElement("span",{className:"".concat(G,"-selection-search"),style:{width:$}},h.createElement(d,{ref:Pe,open:Se,prefixCls:G,id:fe,inputElement:null,disabled:pt,autoFocus:lt,autoComplete:Ie,editable:ye,accessibilityIndex:de,value:Qe,onKeyDown:Ct,onMouseDown:Be,onChange:Ze,onPaste:vt,onCompositionStart:Rt,onCompositionEnd:He,tabIndex:ee,attrs:Object(a.a)(q,!0)}),h.createElement("span",{ref:st,className:"".concat(G,"-selection-search-mirror"),"aria-hidden":!0},Qe,"\xA0")),!ve.length&&!Qe&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},Ge))},A=E,S=function(q){var fe=q.inputElement,G=q.prefixCls,ve=q.id,Se=q.inputRef,ge=q.disabled,Pe=q.autoFocus,Ge=q.autoComplete,pt=q.accessibilityIndex,Te=q.mode,xe=q.open,lt=q.values,Ie=q.placeholder,de=q.tabIndex,ee=q.showSearch,se=q.searchValue,ke=q.activeValue,Ce=q.onInputKeyDown,ze=q.onInputMouseDown,_e=q.onInputChange,ae=q.onInputPaste,me=q.onInputCompositionStart,Oe=q.onInputCompositionEnd,Ze=h.useState(!1),vt=Object(p.a)(Ze,2),Ct=vt[0],Be=vt[1],Rt=Te==="combobox",He=Rt||ee&&xe,wt=lt[0],Ye=se||"";Rt&&ke&&!Ct&&(Ye=ke),h.useEffect(function(){Rt&&Be(!1)},[Rt,ke]);var et=Te!=="combobox"&&!xe?!1:!!Ye,rt=wt&&(typeof wt.label=="string"||typeof wt.label=="number")?wt.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(G,"-selection-search")},h.createElement(d,{ref:Se,prefixCls:G,id:ve,open:xe,inputElement:fe,disabled:ge,autoFocus:Pe,autoComplete:Ge,editable:He,accessibilityIndex:pt,value:Ye,onKeyDown:Ce,onMouseDown:ze,onChange:function(Ve){Be(!0),_e(Ve)},onPaste:ae,onCompositionStart:me,onCompositionEnd:Oe,tabIndex:de,attrs:Object(a.a)(q,!0)})),!Rt&&wt&&!et&&h.createElement("span",{className:"".concat(G,"-selection-item"),title:rt},wt.label),!wt&&!et&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},Ie))},T=S;function O(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,q=h.useRef(null),fe=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(fe.current)}},[]);function G(ve){(ve||q.current===null)&&(q.current=ve),window.clearTimeout(fe.current),fe.current=window.setTimeout(function(){q.current=null},X)}return[function(){return q.current},G]}var x=function(q,fe){var G=Object(h.useRef)(null),ve=Object(h.useRef)(!1),Se=q.prefixCls,ge=q.multiple,Pe=q.open,Ge=q.mode,pt=q.showSearch,Te=q.tokenWithEnter,xe=q.onSearch,lt=q.onSearchSubmit,Ie=q.onToggleOpen,de=q.onInputKeyDown,ee=q.domRef;h.useImperativeHandle(fe,function(){return{focus:function(){G.current.focus()},blur:function(){G.current.blur()}}});var se=O(0),ke=Object(p.a)(se,2),Ce=ke[0],ze=ke[1],_e=function(et){var rt=et.which;(rt===u.a.UP||rt===u.a.DOWN)&&et.preventDefault(),de&&de(et),rt===u.a.ENTER&&Ge==="tags"&&!ve.current&&!Pe&<(et.target.value),[u.a.SHIFT,u.a.TAB,u.a.BACKSPACE,u.a.ESC].includes(rt)||Ie(!0)},ae=function(){ze(!0)},me=Object(h.useRef)(null),Oe=function(et){xe(et,!0,ve.current)!==!1&&Ie(!0)},Ze=function(){ve.current=!0},vt=function(){ve.current=!1},Ct=function(et){var rt=et.target.value;if(Te&&me.current&&/[\r\n]/.test(me.current)){var st=me.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");rt=rt.replace(st,me.current)}me.current=null,Oe(rt)},Be=function(et){var rt=et.clipboardData,st=rt.getData("text");me.current=st},Rt=function(et){var rt=Ce();if(et.target!==G.current){rt||et.preventDefault();var st=document.body.style.msTouchAction!==void 0;st?setTimeout(function(){G.current.focus()}):G.current.focus()}(Ge!=="combobox"&&(!pt||!rt)||!Pe)&&(Pe&&xe("",!0,!1),Ie())},He={inputRef:G,onInputKeyDown:_e,onInputMouseDown:ae,onInputChange:Ct,onInputPaste:Be,onInputCompositionStart:Ze,onInputCompositionEnd:vt},wt=ge?h.createElement(A,Object.assign({},q,He)):h.createElement(T,Object.assign({},q,He));return h.createElement("div",{ref:ee,className:"".concat(Se,"-selector"),onMouseDown:Rt},wt)},C=h.forwardRef(x);C.displayName="Selector";var _=C,N=e("uciX"),F=function(q){var fe=typeof q!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:fe,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:fe,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:fe,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:fe,adjustY:1}}}},k=function(q,fe){var G=q.prefixCls,ve=q.disabled,Se=q.visible,ge=q.children,Pe=q.popupElement,Ge=q.containerWidth,pt=q.animation,Te=q.transitionName,xe=q.dropdownStyle,lt=q.dropdownClassName,Ie=q.direction,de=Ie===void 0?"ltr":Ie,ee=q.dropdownMatchSelectWidth,se=ee===void 0?!0:ee,ke=q.dropdownRender,Ce=q.dropdownAlign,ze=q.getPopupContainer,_e=q.empty,ae=q.getTriggerDOMNode,me=Object(v.a)(q,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Oe="".concat(G,"-dropdown"),Ze=Pe;ke&&(Ze=ke(Pe));var vt=h.useMemo(function(){return F(se)},[se]),Ct=pt?"".concat(Oe,"-").concat(pt):Te,Be=h.useRef(null);h.useImperativeHandle(fe,function(){return{getPopupElement:function(){return Be.current}}});var Rt=Object(f.a)({minWidth:Ge},xe);return typeof se=="number"?Rt.width=se:se&&(Rt.width=Ge),h.createElement(N.a,Object.assign({},me,{showAction:[],hideAction:[],popupPlacement:de==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:vt,prefixCls:Oe,popupTransitionName:Ct,popup:h.createElement("div",{ref:Be},Ze),popupAlign:Ce,popupVisible:Se,getPopupContainer:ze,popupClassName:i()(lt,Object(g.a)({},"".concat(Oe,"-empty"),_e)),popupStyle:Rt,getTriggerDOMNode:ae}),ge)},P=h.forwardRef(k);P.displayName="SelectTrigger";var j=P,K=e("wPlo");function R(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,q=h.useState(!1),fe=Object(p.a)(q,2),G=fe[0],ve=fe[1],Se=h.useRef(null),ge=function(){window.clearTimeout(Se.current)};h.useEffect(function(){return ge},[]);var Pe=function(pt,Te){ge(),Se.current=window.setTimeout(function(){ve(pt),Te&&Te()},X)};return[G,Pe,ge]}var B=e("2Qr1");function U(X,q,fe){var G=h.useRef(null);G.current={elements:X.filter(function(ve){return ve}),open:q,triggerOpen:fe},h.useEffect(function(){function ve(Se){var ge=Se.target;G.current.open&&G.current.elements.every(function(Pe){return!Pe.contains(ge)&&Pe!==ge})&&G.current.triggerOpen(!1)}return window.addEventListener("mousedown",ve),function(){return window.removeEventListener("mousedown",ve)}},[])}function H(X){var q=h.useRef(X),fe=h.useMemo(function(){var G=new Map;q.current.forEach(function(Se){var ge=Se.value,Pe=Se.label;ge!==Pe&&G.set(ge,Pe)});var ve=X.map(function(Se){var ge=G.get(Se.value);return Se.value===Se.label&&ge?Object(f.a)(Object(f.a)({},Se),{},{label:ge}):Se});return q.current=ve,ve},[X]);return fe}function W(X,q){var fe=h.useRef(null),G=h.useMemo(function(){var Se=new Map;return q.forEach(function(ge){var Pe=ge.data.value;Se.set(Pe,ge)}),Se},[X,q]);fe.current=G;var ve=function(ge){return ge.map(function(Pe){return fe.current.get(Pe)}).filter(Boolean)};return ve}var V=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function z(X){var q=X.prefixCls,fe=X.components.optionList,G=X.convertChildrenToData,ve=X.flattenOptions,Se=X.getLabeledValue,ge=X.filterOptions,Pe=X.isValueDisabled,Ge=X.findValueOption,pt=X.warningProps,Te=X.fillOptionsWithMissingValue,xe=X.omitDOMProps;function lt(de,ee){var se,ke=de.prefixCls,Ce=ke===void 0?q:ke,ze=de.className,_e=de.id,ae=de.open,me=de.defaultOpen,Oe=de.options,Ze=de.children,vt=de.mode,Ct=de.value,Be=de.defaultValue,Rt=de.labelInValue,He=de.showSearch,wt=de.inputValue,Ye=de.searchValue,et=de.filterOption,rt=de.optionFilterProp,st=rt===void 0?"value":rt,Ve=de.autoClearSearchValue,ie=Ve===void 0?!0:Ve,$=de.onSearch,it=de.allowClear,Qe=de.clearIcon,ye=de.showArrow,Zt=de.inputIcon,dt=de.menuItemSelectedIcon,ct=de.disabled,yt=de.loading,It=de.defaultActiveFirstOption,or=de.notFoundContent,Bt=or===void 0?"Not Found":or,Ae=de.optionLabelProp,pe=de.backfill,he=de.getInputElement,le=de.getPopupContainer,Ne=de.listHeight,je=Ne===void 0?200:Ne,Ke=de.listItemHeight,Xe=Ke===void 0?20:Ke,Fe=de.animation,nt=de.transitionName,At=de.virtual,_t=de.dropdownStyle,ne=de.dropdownClassName,ue=de.dropdownMatchSelectWidth,Y=de.dropdownRender,te=de.dropdownAlign,be=de.showAction,Le=be===void 0?[]:be,Re=de.direction,$e=de.tokenSeparators,gt=de.tagRender,Wt=de.onPopupScroll,$t=de.onDropdownVisibleChange,Dt=de.onFocus,Kt=de.onBlur,Yt=de.onKeyUp,Qt=de.onKeyDown,Mt=de.onMouseDown,dr=de.onChange,er=de.onSelect,ot=de.onDeselect,xt=de.onClear,ut=de.internalProps,ft=ut===void 0?{}:ut,Lt=Object(v.a)(de,["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"]),Tt=ft.mark===K.a,ht=xe?xe(Lt):Lt;V.forEach(function(Rn){delete ht[Rn]});var Ht=Object(h.useRef)(null),Ft=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return($e||[]).some(function(Rn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Rn)})},[$e]),Ar=R(),Nr=Object(p.a)(Ar,3),Fr=Nr[0],tn=Nr[1],qr=Nr[2],Or=Object(h.useState)(),Qr=Object(p.a)(Or,2),Ir=Qr[0],ur=Qr[1];Object(h.useEffect)(function(){ur("rc_select_".concat(Object(m.a)()))},[]);var pr=_e||Ir,cr=Ae;cr===void 0&&(cr=Oe?"label":"children");var fr=vt==="combobox"?!1:Rt,xr=vt==="tags"||vt==="multiple",Gr=He!==void 0?He:xr||vt==="combobox",un=Object(h.useRef)(null);h.useImperativeHandle(ee,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(r.a)(Be,{value:Ct}),jr=Object(p.a)(Nn,2),Tn=jr[0],gn=jr[1],Pn=Object(h.useMemo)(function(){return Object(m.e)(Tn,{labelInValue:fr,combobox:vt==="combobox"})},[Tn,fr]),zn=Object(h.useMemo)(function(){return new Set(Pn)},[Pn]),qn=Object(h.useState)(null),Gn=Object(p.a)(qn,2),Vn=Gn[0],An=Gn[1],on=Object(h.useState)(""),ia=Object(p.a)(on,2),xa=ia[0],ta=ia[1],Ii=xa;vt==="combobox"&&Tn!==void 0?Ii=Tn:Ye!==void 0?Ii=Ye:wt&&(Ii=wt);var Ci=Object(h.useMemo)(function(){var Rn=Oe;return Rn===void 0&&(Rn=G(Ze)),vt==="tags"&&Te&&(Rn=Te(Rn,Tn,cr,Rt)),Rn||[]},[Oe,Ze,vt,Tn]),Yn=Object(h.useMemo)(function(){return ve(Ci,de)},[Ci]),_a=W(Pn,Yn),mn=Object(h.useMemo)(function(){if(!Ii||!Gr)return Object(y.a)(Ci);var Rn=ge(Ii,Ci,{optionFilterProp:st,filterOption:vt==="combobox"&&et===void 0?function(){return!0}:et});return vt==="tags"&&Rn.every(function(En){return En[st]!==Ii})&&Rn.unshift({value:Ii,label:Ii,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,Ii,vt,Gr]),_n=Object(h.useMemo)(function(){return ve(mn,de)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[Ii]);var On=Object(h.useMemo)(function(){var Rn=Pn.map(function(En){var Ln=_a([En]),Xn=Se(En,{options:Ln,prevValue:Tn,labelInValue:fr,optionLabelProp:cr});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Pe(En,Ln)})});return!vt&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,vt]);On=H(On);var In=function(En,Ln,Xn){var ai=_a([En]),ri=Ge([En],ai)[0];if(!ft.skipTriggerSelect){var Di=fr?Se(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:cr}):En;Ln&&er?er(Di,ri):!Ln&&ot&&ot(Di,ri)}Tt&&(Ln&&ft.onRawSelect?ft.onRawSelect(En,ri,Xn):!Ln&&ft.onRawDeselect&&ft.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(p.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(Tt&&ft.skipTriggerChange)return;var Ln=_a(En),Xn=Object(m.f)(Array.from(En),{labelInValue:fr,options:Ln,getLabeledValue:Se,prevValue:Tn,optionLabelProp:cr}),ai=xr?Xn:Xn[0];if(dr&&(Pn.length!==0||Xn.length!==0)){var ri=Ge(En,Ln,{prevValueOptions:di});Na(ri.map(function(Di,yi){var xi=Object(f.a)({},Di);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[yi]}}),xi})),dr(ai,xr?ri:ri[0])}gn(ai)},ma=function(En,Ln){var Xn=Ln.selected,ai=Ln.source;if(ct)return;var ri;xr?(ri=new Set(Pn),Xn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(xr||!xr&&Array.from(Pn)[0]!==En)&&Qi(Array.from(ri)),In(En,!xr||Xn,ai),vt==="combobox"?(ta(String(En)),An("")):(!xr||ie)&&(ta(""),An(""))},Ba=function(En,Ln){ma(En,Object(f.a)(Object(f.a)({},Ln),{},{source:"option"}))},Qa=function(En,Ln){ma(En,Object(f.a)(Object(f.a)({},Ln),{},{source:"selection"}))},Wi=vt==="combobox"&&he&&he()||null,Co=Object(r.a)(void 0,{defaultValue:me,value:ae}),aa=Object(p.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Bt&&!mn.length;(ct||mo&&ha&&vt==="combobox")&&(ha=!1);var kn=mo?!1:ha,$i=function(En){var Ln=En!==void 0?En:!ha;Hi!==Ln&&!ct&&(ga(Ln),$t&&$t(Ln))};U([Ht.current,Ft.current&&Ft.current.getPopupElement()],kn,$i);var eo=function(En,Ln,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(B.f)(En,$e),yi=Di;if(vt==="combobox")Ln&&Qi([ri]);else if(Di){ri="",vt!=="tags"&&(yi=Di.map(function(Oi){var Un=Yn.find(function(Ri){var fa=Ri.data;return fa[cr]===Oi});return Un?Un.data.value:null}).filter(function(Oi){return Oi!==null}));var xi=Array.from(new Set([].concat(Object(y.a)(Pn),Object(y.a)(yi))));Qi(xi),xi.forEach(function(Oi){In(Oi,!0,"input")}),$i(!1),ai=!1}return ta(ri),$&&Ii!==ri&&$(ri),ai},To=function(En){var Ln=Array.from(new Set([].concat(Object(y.a)(Pn),[En])));Qi(Ln),Ln.forEach(function(Xn){In(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ct&&ga(!1)},[ct]),Object(h.useEffect)(function(){!ha&&!xr&&vt!=="combobox"&&eo("",!1,!1)},[ha]);var uo=O(),rr=Object(p.a)(uo,2),Tr=rr[0],Pr=rr[1],Wr=function(En){var Ln=Tr(),Xn=En.which;if(!ha&&Xn===u.a.ENTER&&$i(!0),Pr(!!Ii),Xn===u.a.BACKSPACE&&!Ln&&xr&&!Ii&&Pn.length){var ai=Object(m.c)(On,Pn);ai.removedValue!==null&&(Qi(ai.values),In(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];if(ha&&Xt.current){var xi;(xi=Xt.current).onKeyDown.apply(xi,[En].concat(Di))}Qt&&Qt.apply(void 0,[En].concat(Di))},hn=function(En){for(var Ln=arguments.length,Xn=new Array(Ln>1?Ln-1:0),ai=1;ai<Ln;ai++)Xn[ai-1]=arguments[ai];if(ha&&Xt.current){var ri;(ri=Xt.current).onKeyUp.apply(ri,[En].concat(Xn))}Yt&&Yt.apply(void 0,[En].concat(Xn))},tt=Object(h.useRef)(!1),jt=function(){tn(!0),ct||(Dt&&!tt.current&&Dt.apply(void 0,arguments),Le.includes("focus")&&$i(!0)),tt.current=!0},Jt=function(){if(tn(!1,function(){tt.current=!1,$i(!1)}),ct)return;Ii&&(vt==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(y.a)(Pn),[Ii]))))):vt==="multiple"&&ta("")),Kt&&Kt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var _r=function(En){var Ln=En.target,Xn=Ft.current&&Ft.current.getPopupElement();if(Xn&&Xn.contains(Ln)){var ai=setTimeout(function(){var xi=nr.indexOf(ai);xi!==-1&&nr.splice(xi,1),qr(),Xn.contains(document.activeElement)||ir.current.focus()});nr.push(ai)}if(Mt){for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];Mt.apply(void 0,[En].concat(Di))}},wr=Object(h.useState)(0),Er=Object(p.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=It!==void 0?It:vt!=="combobox",an=function(En,Ln){Jr(Ln),pe&&vt==="combobox"&&En!==null&&An(String(En))},St=Object(h.useState)(null),Vt=Object(p.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(p.a)(Mr,2),rn=Dr[1];function fn(){rn({})}w(function(){if(kn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[kn]);var wn=h.createElement(fe,{ref:Xt,prefixCls:Ce,id:pr,open:ha,childrenAsData:!Oe,options:mn,flattenOptions:_n,multiple:xr,values:zn,height:je,itemHeight:Xe,onSelect:Ba,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Zr,notFoundContent:Bt,onScroll:Wt,searchValue:Ii,menuItemSelectedIcon:dt,virtual:At!==!1&&ue!==!1,onMouseEnter:fn}),Hn,Sn=function(){Tt&&ft.onClear&&ft.onClear(),xt&&xt(),Qi([]),eo("",!1,!1)};!ct&&it&&(Pn.length||Ii)&&(Hn=h.createElement(n.a,{className:"".concat(Ce,"-clear"),onMouseDown:Sn,customizeIcon:Qe},"\xD7"));var bn=ye!==void 0?ye:yt||!xr&&vt!=="combobox",Mn;bn&&(Mn=h.createElement(n.a,{className:i()("".concat(Ce,"-arrow"),Object(g.a)({},"".concat(Ce,"-arrow-loading"),yt)),customizeIcon:Zt,customizeIconProps:{loading:yt,searchValue:Ii,open:ha,focused:Fr,showSearch:Gr}}));var vn=i()(Ce,ze,(se={},Object(g.a)(se,"".concat(Ce,"-focused"),Fr),Object(g.a)(se,"".concat(Ce,"-multiple"),xr),Object(g.a)(se,"".concat(Ce,"-single"),!xr),Object(g.a)(se,"".concat(Ce,"-allow-clear"),it),Object(g.a)(se,"".concat(Ce,"-show-arrow"),bn),Object(g.a)(se,"".concat(Ce,"-disabled"),ct),Object(g.a)(se,"".concat(Ce,"-loading"),yt),Object(g.a)(se,"".concat(Ce,"-open"),ha),Object(g.a)(se,"".concat(Ce,"-customize-input"),Wi),Object(g.a)(se,"".concat(Ce,"-show-search"),Gr),se));return h.createElement("div",Object.assign({className:vn},ht,{ref:Ht,onMouseDown:_r,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Jt}),Fr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Pn.join(", "))),h.createElement(j,{ref:Ft,disabled:ct,prefixCls:Ce,visible:kn,popupElement:wn,containerWidth:sr,animation:Fe,transitionName:nt,dropdownStyle:_t,dropdownClassName:ne,direction:Re,dropdownMatchSelectWidth:ue,dropdownRender:Y,dropdownAlign:te,getPopupContainer:le,empty:!Ci.length,getTriggerDOMNode:function(){return un.current}},h.createElement(_,Object.assign({},de,{domRef:un,prefixCls:Ce,inputElement:Wi,ref:ir,id:pr,showSearch:Gr,mode:vt,accessibilityIndex:zr,multiple:xr,tagRender:gt,values:On,open:ha,onToggleOpen:$i,searchValue:Ii,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var Ie=h.forwardRef(lt);return Ie}},qPY4:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("u4NN"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},qWUW:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("DL4k")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="CaretDownOutlined";var u=y.forwardRef(h);I.default=u},qWt2:function(D,I,e){var g=e("ProS"),f=g.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}}});D.exports=f},qZFw:function(D,I,e){var g=e("bYtY"),f=e("6GrX"),y=e("hM6l"),p=e("4NO4"),v=p.makeInner,h=v();function u(i,r){r=r||[0,360],y.call(this,"angle",i,r),this.type="category"}u.prototype={constructor:u,pointToData:function(i,r){return this.polar.pointToData(i,r)[this.dim==="radius"?0:1]},dataToAngle:y.prototype.dataToCoord,angleToData:y.prototype.coordToData,calculateCategoryInterval:function(){var i=this,r=i.getLabelModel(),a=i.scale,c=a.getExtent(),n=a.count();if(c[1]-c[0]<1)return 0;var l=c[0],t=i.dataToCoord(l+1)-i.dataToCoord(l),s=Math.abs(t),d=f.getBoundingRect(l,r.getFont(),"center","top"),m=Math.max(d.height,7),w=m/s;isNaN(w)&&(w=Infinity);var b=Math.max(0,Math.floor(w)),E=h(i.model),A=E.lastAutoInterval,S=E.lastTickCount;return A!=null&&S!=null&&Math.abs(A-b)<=1&&Math.abs(S-n)<=1&&A>b?b=A:(E.lastTickCount=n,E.lastAutoInterval=b),b}},g.inherits(u,y);var o=u;D.exports=o},qZTm:function(D,I,e){var g=e("fR/l"),f=e("MvSz"),y=e("7GkX");function p(v){return g(v,y,f)}D.exports=p},qgGe:function(D,I,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),p=e("VaxA"),v=p.wrapTreePathInfo,h=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(o,i){var r={name:o.name,children:o.data};u(r);var a=o.levels||[],c={};return c.levels=a,y.createTree(r,this,c).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(o){var i=f.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(o);return i.treePathInfo=v(r,this),i},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(o){o?this._viewRoot=o:o=this._viewRoot;var i=this.getRawData().tree.root;(!o||o!==i&&!i.contains(o))&&(this._viewRoot=i)}});function u(o){var i=0;g.each(o.children,function(a){u(a);var c=a.value;g.isArray(c)&&(c=c[0]),i+=c});var r=o.value;g.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=i),r<0&&(r=0),g.isArray(o.value)?o.value[0]=r:o.value=r}D.exports=h},qj72:function(D,I,e){var g=e("bYtY");function f(p,v){return v=v||[0,0],g.map(["x","y"],function(h,u){var o=this.getAxis(h),i=v[u],r=p[u]/2;return o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(i-r)-o.dataToCoord(i+r))},this)}function y(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(h){return p.dataToPoint(h)},size:g.bind(f,p)}}}D.exports=y},qrJ5:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("cDf5"),h=e.n(v),u=e("J4zp"),o=e.n(u),i=e("q1tI"),r=e.n(i),a=e("TSYQ"),c=e.n(a),n=e("H84U"),l=e("o/2+"),t=e("CWQg"),s=e("ACnJ"),d=function(E,A){var S={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&A.indexOf(T)<0&&(S[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,T=Object.getOwnPropertySymbols(E);O<T.length;O++)A.indexOf(T[O])<0&&Object.prototype.propertyIsEnumerable.call(E,T[O])&&(S[T[O]]=E[T[O]]);return S},m=Object(t.a)("top","middle","bottom","stretch"),w=Object(t.a)("start","end","center","space-around","space-between"),b=i.forwardRef(function(E,A){var S=i.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),T=o()(S,2),O=T[0],x=T[1],C=i.useRef();C.current=E.gutter,i.useEffect(function(){var F=s.a.subscribe(function(k){var P=C.current||0;(!Array.isArray(P)&&h()(P)==="object"||Array.isArray(P)&&(h()(P[0])==="object"||h()(P[1])==="object"))&&x(k)});return function(){s.a.unsubscribe(F)}},[]);var _=function(){var k=[0,0],P=E.gutter,j=P===void 0?0:P,K=Array.isArray(j)?j:[j,0];return K.forEach(function(R,B){if(h()(R)==="object")for(var U=0;U<s.b.length;U++){var H=s.b[U];if(O[H]&&R[H]!==void 0){k[B]=R[H];break}}else k[B]=R||0}),k},N=function(k){var P,j=k.getPrefixCls,K=k.direction,R=E.prefixCls,B=E.justify,U=E.align,H=E.className,W=E.style,V=E.children,z=d(E,["prefixCls","justify","align","className","style","children"]),X=j("row",R),q=_(),fe=c()(X,(P={},p()(P,"".concat(X,"-").concat(B),B),p()(P,"".concat(X,"-").concat(U),U),p()(P,"".concat(X,"-rtl"),K==="rtl"),P),H),G=f()(f()(f()({},q[0]>0?{marginLeft:q[0]/-2,marginRight:q[0]/-2}:{}),q[1]>0?{marginTop:q[1]/-2,marginBottom:q[1]/2}:{}),W),ve=f()({},z);return delete ve.gutter,i.createElement(l.a.Provider,{value:{gutter:q}},i.createElement("div",f()({},ve,{className:fe,style:G,ref:A}),V))};return i.createElement(n.a,null,N)});b.displayName="Row",I.a=b},"qt/9":function(D,I,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var y=e("nVfU"),p=y.layout,v=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(p,"pictorialBar")),g.registerVisual(v("pictorialBar","roundRect"))},quyA:function(D,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",p=g+f+y,v="\\ufe0e\\ufe0f",h="\\u200d",u=RegExp("["+h+e+p+v+"]");function o(i){return u.test(i)}D.exports=o},qwVE:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("K4ya"),p=e("XxSj"),v=g.PRIORITY.VISUAL.COMPONENT;g.registerVisual(v,{createOnAllSeries:!0,reset:function(u,o){var i=[];return o.eachComponent("visualMap",function(r){var a=u.pipelineContext;if(!r.isTargetSeries(u)||a&&a.large)return;i.push(y.incrementalApplyVisual(r.stateList,r.targetVisuals,f.bind(r.getValueState,r),r.getDataDimension(u.getData())))}),i}}),g.registerVisual(v,{createOnAllSeries:!0,reset:function(u,o){var i=u.getData(),r=[];o.eachComponent("visualMap",function(a){if(a.isTargetSeries(u)){var c=a.getVisualMeta(f.bind(h,null,u,a))||{stops:[],outerColors:[]},n=a.getDataDimension(i),l=i.getDimensionInfo(n);l!=null&&(c.dimension=l.index,r.push(c))}}),u.getData().setVisual("visualMeta",r)}});function h(u,o,i,r){for(var a=o.targetVisuals[r],c=p.prepareVisualTypes(a),n={color:u.getData().getVisual("color")},l=0,t=c.length;l<t;l++){var s=c[l],d=a[s==="opacity"?"__alphaForOpacity":s];d&&d.applyVisual(i,m,w)}return n.color;function m(b){return n[b]}function w(b,E){n[b]=E}}},"r+aA":function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("s2MQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="EyeInvisibleOutlined";var u=y.forwardRef(h);I.default=u},"r/2G":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("+Zaj"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},r6Bn:function(D,I,e){var g=e("bYtY"),f=e("ItGF"),y=e("4fz+"),p=e("BPZU");function v(o,i){return o.zlevel===i.zlevel?o.z===i.z?o.z2-i.z2:o.z-i.z:o.zlevel-i.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(i,r){for(var a=0;a<this._roots.length;a++)this._roots[a].traverse(i,r)},getDisplayList:function(i,r){return r=r||!1,i&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(i){this._displayListLen=0;for(var r=this._roots,a=this._displayList,c=0,n=r.length;c<n;c++)this._updateAndAddDisplayable(r[c],null,i);a.length=this._displayListLen,f.canvasSupported&&p(a,v)},_updateAndAddDisplayable:function(i,r,a){if(i.ignore&&!a)return;i.beforeUpdate(),i.__dirty&&i.update(),i.afterUpdate();var c=i.clipPath;if(c){r?r=r.slice():r=[];for(var n=c,l=i;n;)n.parent=l,n.updateTransform(),r.push(n),l=n,n=n.clipPath}if(i.isGroup){for(var t=i._children,s=0;s<t.length;s++){var d=t[s];i.__dirty&&(d.__dirty=!0),this._updateAndAddDisplayable(d,r,a)}i.__dirty=!1}else i.__clipPaths=r,this._displayList[this._displayListLen++]=i},addRoot:function(i){if(i.__storage===this)return;i instanceof y&&i.addChildrenToStorage(this),this.addToStorage(i),this._roots.push(i)},delRoot:function(i){if(i==null){for(var r=0;r<this._roots.length;r++){var a=this._roots[r];a instanceof y&&a.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(i instanceof Array){for(var r=0,c=i.length;r<c;r++)this.delRoot(i[r]);return}var n=g.indexOf(this._roots,i);n>=0&&(this.delFromStorage(i),this._roots.splice(n,1),i instanceof y&&i.delChildrenFromStorage(this))},addToStorage:function(i){return i&&(i.__storage=this,i.dirty(!1)),this},delFromStorage:function(i){return i&&(i.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var u=h;D.exports=u},rA99:function(D,I,e){var g=e("y+Vt"),f=e("QBsz"),y=e("Sj9i"),p=y.quadraticSubdivide,v=y.cubicSubdivide,h=y.quadraticAt,u=y.cubicAt,o=y.quadraticDerivativeAt,i=y.cubicDerivativeAt,r=[];function a(n,l,t){var s=n.cpx2,d=n.cpy2;return s===null||d===null?[(t?i:u)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?i:u)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?o:h)(n.x1,n.cpx1,n.x2,l),(t?o:h)(n.y1,n.cpy1,n.y2,l)]}var c=g.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,t){var s=t.x1,d=t.y1,m=t.x2,w=t.y2,b=t.cpx1,E=t.cpy1,A=t.cpx2,S=t.cpy2,T=t.percent;if(T===0)return;l.moveTo(s,d),A==null||S==null?(T<1&&(p(s,b,m,T,r),b=r[1],m=r[2],p(d,E,w,T,r),E=r[1],w=r[2]),l.quadraticCurveTo(b,E,m,w)):(T<1&&(v(s,b,A,m,T,r),b=r[1],A=r[2],m=r[3],v(d,E,S,w,T,r),E=r[1],S=r[2],w=r[3]),l.bezierCurveTo(b,E,A,S,m,w))},pointAt:function(l){return a(this.shape,l,!1)},tangentAt:function(l){var t=a(this.shape,l,!0);return f.normalize(t,t)}});D.exports=c},"rAM+":function(D,I,e){"use strict";e.d(I,"a",function(){return f});var g=e("Qw5x");function f(y,p){var v;if(typeof Symbol=="undefined"||y[Symbol.iterator]==null){if(Array.isArray(y)||(v=Object(g.a)(y))||p&&y&&typeof y.length=="number"){v&&(y=v);var h=0,u=function(){};return{s:u,n:function(){return h>=y.length?{done:!0}:{done:!1,value:y[h++]}},e:function(c){throw c},f:u}}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 o=!0,i=!1,r;return{s:function(){v=y[Symbol.iterator]()},n:function(){var c=v.next();return o=c.done,c},e:function(c){i=!0,r=c},f:function(){try{!o&&v.return!=null&&v.return()}finally{if(i)throw r}}}}},rEGp:function(D,I){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(p){y[++f]=p}),y}D.exports=e},rHrb:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.CopyToClipboard=void 0;var g=y(e("q1tI")),f=y(e("+QRC"));function y(w){return w&&w.__esModule?w:{default:w}}function p(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(E){return typeof E}:p=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(w)}function v(w,b){var E=Object.keys(w);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(w);b&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(w,S).enumerable})),E.push.apply(E,A)}return E}function h(w){for(var b=1;b<arguments.length;b++){var E=arguments[b]!=null?arguments[b]:{};b%2?v(E,!0).forEach(function(A){d(w,A,E[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(E)):v(E).forEach(function(A){Object.defineProperty(w,A,Object.getOwnPropertyDescriptor(E,A))})}return w}function u(w,b){if(w==null)return{};var E=o(w,b),A,S;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(w);for(S=0;S<T.length;S++){if(A=T[S],b.indexOf(A)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(w,A))continue;E[A]=w[A]}}return E}function o(w,b){if(w==null)return{};var E={},A=Object.keys(w),S,T;for(T=0;T<A.length;T++){if(S=A[T],b.indexOf(S)>=0)continue;E[S]=w[S]}return E}function i(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function r(w,b){for(var E=0;E<b.length;E++){var A=b[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function a(w,b,E){return b&&r(w.prototype,b),E&&r(w,E),w}function c(w,b){return b&&(p(b)==="object"||typeof b=="function")?b:l(w)}function n(w){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},n(w)}function l(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function t(w,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(b&&b.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),b&&s(w,b)}function s(w,b){return s=Object.setPrototypeOf||function(A,S){return A.__proto__=S,A},s(w,b)}function d(w,b,E){return b in w?Object.defineProperty(w,b,{value:E,enumerable:!0,configurable:!0,writable:!0}):w[b]=E,w}var m=function(w){t(b,w);function b(){var E,A;i(this,b);for(var S=arguments.length,T=new Array(S),O=0;O<S;O++)T[O]=arguments[O];return A=c(this,(E=n(b)).call.apply(E,[this].concat(T))),d(l(A),"onClick",function(x){var C=A.props,_=C.text,N=C.onCopy,F=C.children,k=C.options,P=g.default.Children.only(F),j=(0,f.default)(_,k);N&&N(_,j),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(x)}),A}return a(b,[{key:"render",value:function(){var A=this.props,S=A.text,T=A.onCopy,O=A.options,x=A.children,C=u(A,["text","onCopy","options","children"]),_=g.default.Children.only(x);return g.default.cloneElement(_,h({},C,{onClick:this.onClick}))}}]),b}(g.default.PureComponent);I.CopyToClipboard=m,d(m,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="ReloadOutlined";var h=I.a=g.forwardRef(v)},rUJ1:function(D,I){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,y=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(x){return p[x]};function h(O,x){if(x){if(e.test(O))return O.replace(g,v)}else if(f.test(O))return O.replace(y,v);return O}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function o(O){return O.replace(u,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 i=/(^|[^\[])\^/g;function r(O,x){O=O.source||O,x=x||"";var C={replace:function(N,F){return F=F.source||F,F=F.replace(i,"$1"),O=O.replace(N,F),C},getRegex:function(){return new RegExp(O,x)}};return C}var a=/[^\w:]/g,c=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(O,x,C){if(O){var _;try{_=decodeURIComponent(o(C)).replace(a,"").toLowerCase()}catch(N){return null}if(_.indexOf("javascript:")===0||_.indexOf("vbscript:")===0||_.indexOf("data:")===0)return null}x&&!c.test(C)&&(C=m(x,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(N){return null}return C}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,d=/^([^:]+:\/*[^/]*)[\s\S]*$/;function m(O,x){l[" "+O]||(t.test(O)?l[" "+O]=O+"/":l[" "+O]=A(O,"/",!0)),O=l[" "+O];var C=O.indexOf(":")===-1;return x.substring(0,2)==="//"?C?x:O.replace(s,"$1")+x:x.charAt(0)==="/"?C?x:O.replace(d,"$1")+x:O+x}var w={exec:function(){}};function b(O){for(var x=1,C,_;x<arguments.length;x++){C=arguments[x];for(_ in C)Object.prototype.hasOwnProperty.call(C,_)&&(O[_]=C[_])}return O}function E(O,x){var C=O.replace(/\|/g,function(F,k,P){for(var j=!1,K=k;--K>=0&&P[K]==="\\";)j=!j;return j?"|":" |"}),_=C.split(/ \|/),N=0;if(_.length>x)_.splice(x);else for(;_.length<x;)_.push("");for(;N<_.length;N++)_[N]=_[N].trim().replace(/\\\|/g,"|");return _}function A(O,x,C){var _=O.length;if(_===0)return"";for(var N=0;N<_;){var F=O.charAt(_-N-1);if(F===x&&!C)N++;else if(F!==x&&C)N++;else break}return O.substr(0,_-N)}function S(O,x){if(O.indexOf(x[1])===-1)return-1;for(var C=O.length,_=0,N=0;N<C;N++)if(O[N]==="\\")N++;else if(O[N]===x[0])_++;else if(O[N]===x[1]&&(_--,_<0))return N;return-1}function T(O){O&&O.sanitize&&!O.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")}D.exports={escape:h,unescape:o,edit:r,cleanUrl:n,resolveUrl:m,noopTest:w,merge:b,splitCells:E,rtrim:A,findClosingBracket:S,checkSanitizeDeprecation:T}},rdUC:function(D,I,e){var g=e("MFOe"),f=g.Global;D.exports={name:"localStorage",read:p,write:v,each:h,remove:u,clearAll:o};function y(){return f.localStorage}function p(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var a=y().key(r);i(p(a),a)}}function u(i){return y().removeItem(i)}function o(){return y().clear()}},rdor:function(D,I,e){var g=e("lOQZ"),f=g.circularLayout;function y(p){p.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&f(v,"symbolSize")})}D.exports=y},rfSb:function(D,I,e){var g=e("T4UG"),f=e("sdST"),y=e("L0Ub"),p=y.getDimensionTypeByAxis,v=e("YXkt"),h=e("bYtY"),u=e("4NO4"),o=u.groupData,i=e("7aKB"),r=i.encodeHTML,a=e("xKMd"),c=2,n=g.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new a(h.bind(this.getData,this),h.bind(this.getRawData,this))},fixData:function(t){var s=t.length,d=o(t,function(P){return P[2]}),m=[];d.buckets.each(function(P,j){m.push({name:j,dataList:P})});for(var w=m.length,b=-1,E=-1,A=0;A<w;++A){var S=m[A].dataList.length;S>b&&(b=S,E=A)}for(var T=0;T<w;++T){if(T===E)continue;for(var O=m[T].name,x=0;x<b;++x){for(var C=m[E].dataList[x][0],_=m[T].dataList.length,N=-1,F=0;F<_;++F){var k=m[T].dataList[F][0];if(k===C){N=F;break}}N===-1&&(t[s]=[],t[s][0]=C,t[s][1]=0,t[s][2]=O,s++)}}return t},getInitialData:function(t,s){for(var d=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],m=d.get("type"),w=h.filter(t.data,function(C){return C[2]!==void 0}),b=this.fixData(w||[]),E=[],A=this.nameMap=h.createHashMap(),S=0,T=0;T<b.length;++T)E.push(b[T][c]),A.get(b[T][c])||(A.set(b[T][c],S),S++);var O=f(b,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:p(m)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new v(O,this);return x.initData(b),x},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),d=[],m=0;m<s;++m)d[m]=m;var w=t.mapDimension("single"),b=o(d,function(A){return t.get("name",A)}),E=[];return b.buckets.each(function(A,S){A.sort(function(T,O){return t.get(w,T)-t.get(w,O)}),E.push({name:S,indices:A})}),E},getAxisTooltipData:function(t,s,d){h.isArray(t)||(t=t?[t]:[]);for(var m=this.getData(),w=this.getLayerSeries(),b=[],E=w.length,A,S=0;S<E;++S){for(var T=Number.MAX_VALUE,O=-1,x=w[S].indices.length,C=0;C<x;++C){var _=m.get(t[0],w[S].indices[C]),N=Math.abs(_-s);N<=T&&(A=_,T=N,O=w[S].indices[C])}b.push(O)}return{dataIndices:b,nestestValue:A}},formatTooltip:function(t){var s=this.getData(),d=s.getName(t),m=s.get(s.mapDimension("value"),t);return(isNaN(m)||m==null)&&(m="-"),r(d+" : "+m)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=n;D.exports=l},rkZ5:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),p=e("c8qY"),v=e("D9ME"),h=e("fls0"),u=e("RSch"),o=e("akwb"),i=e("o40c"),r=e("ZYIC"),a=e("sK/D"),c=a.createClipPath,n=y.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var d=l.getData(),m=this._updateLineDraw(d,l),w=l.get("zlevel"),b=l.get("effect.trailLength"),E=s.getZr(),A=E.painter.getType()==="svg";A||E.painter.getLayer(w).clear(!0),this._lastZlevel!=null&&!A&&E.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&b&&(A||E.configLayer(w,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(b/10+.9,1),0)})),m.updateData(d);var S=l.get("clip",!0)&&c(l.coordinateSystem,!1,l);S?this.group.setClipPath(S):this.group.removeClipPath(),this._lastZlevel=w,this._finished=!0},incrementalPrepareRender:function(l,t,s){var d=l.getData(),m=this._updateLineDraw(d,l);m.incrementalPrepareUpdate(d),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,t,s){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,s){var d=l.getData(),m=l.pipelineContext;if(!this._finished||m.large||m.progressiveRender)return{update:!0};var w=r.reset(l);w.progress&&w.progress({start:0,end:d.count()},d),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,t){var s=this._lineDraw,d=this._showEffect(t),m=!!t.get("polyline"),w=t.pipelineContext,b=w.large;return(!s||d!==this._hasEffet||m!==this._isPolyline||b!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=b?new i:new p(m?d?o:u:d?v:h),this._hasEffet=d,this._isPolyline=m,this._isLargeDraw=b,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});D.exports=n},rmlV:function(D,I,e){var g=e("y+Vt"),f=g.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(p,v){var h=.5522848,u=v.cx,o=v.cy,i=v.rx,r=v.ry,a=i*h,c=r*h;p.moveTo(u-i,o),p.bezierCurveTo(u-i,o-c,u-a,o-r,u,o-r),p.bezierCurveTo(u+a,o-r,u+i,o-c,u+i,o),p.bezierCurveTo(u+i,o+c,u+a,o+r,u,o+r),p.bezierCurveTo(u-a,o+r,u-i,o+c,u-i,o),p.closePath()}});D.exports=f},rnVJ:function(D,I,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function y(v,h){var u=v&&v.brush;if(g.isArray(u)||(u=u?[u]:[]),!u.length)return;var o=[];g.each(u,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(o=o.concat(l))});var i=v&&v.toolbox;g.isArray(i)&&(i=i[0]),i||(i={feature:{}},v.toolbox=[i]);var r=i.feature||(i.feature={}),a=r.brush||(r.brush={}),c=a.type||(a.type=[]);c.push.apply(c,o),p(c),h&&!c.length&&c.push.apply(c,f)}function p(v){var h={};g.each(v,function(u){h[u]=1}),v.length=0,g.each(h,function(u,o){v.push(o)})}D.exports=y},rwxt:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("GdRQ");function f(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}function y(u,o){for(var i=0;i<o.length;i++){var r=o[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}function p(u,o,i){return o&&y(u.prototype,o),i&&y(u,i),u}var v=!g.supportsCursorURIs||g.isTouchDevice,h=function(){function u(){f(this,u),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(u,[{key:"attach",value:function(i){if(this._target&&this.detach(),this._target=i,v){document.body.appendChild(this._canvas);var r={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,r),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,r),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,r),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,r)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var i={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,i),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,i),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,i),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,i),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(i,r,a,c,n){if(c===0||n===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-r,this._position.y=this._position.y+this._hotSpot.y-a,this._hotSpot.x=r,this._hotSpot.y=a;var l=this._canvas.getContext("2d");this._canvas.width=c,this._canvas.height=n;var t;try{t=new ImageData(new Uint8ClampedArray(i),c,n)}catch(d){t=l.createImageData(c,n),t.data.set(new Uint8ClampedArray(i))}if(l.clearRect(0,0,c,n),l.putImageData(t,0,0),v)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+r+" "+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(i,r){if(!v)return;window.visualViewport?(this._position.x=i+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=i,this._position.y=r),this._updatePosition();var a=document.elementFromPoint(i,r);this._updateVisibility(a)}},{key:"_handleMouseOver",value:function(i){this._handleMouseMove(i)}},{key:"_handleMouseLeave",value:function(i){this._updateVisibility(i.relatedTarget)}},{key:"_handleMouseMove",value:function(i){this._updateVisibility(i.target),this._position.x=i.clientX-this._hotSpot.x,this._position.y=i.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(i){var r=this,a=document.elementFromPoint(i.clientX,i.clientY);this._updateVisibility(a),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;a=document.elementFromPoint(i.clientX,i.clientY),r._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(i){return i?i===this._target?!0:this._target.contains(i)?!(window.getComputedStyle(i).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(i){this._captureIsActive()&&(i=document.captureElement),this._shouldShowCursor(i)?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)}}]),u}();I.default=h},rySg:function(D,I,e){e("SMc4"),e("8nMs")},s2MQ:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},s2lz:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),p=e("gPAo"),v=e("VaxA"),h=e("9hCq"),u=e("SgGq"),o=e("mFDi"),i=e("Fofx"),r=e("5s0K"),a=e("KCsZ"),c=e("7aKB"),n=c.windowOpen,l=f.bind,t=y.Group,s=y.Rect,d=f.each,m=3,w=["label"],b=["emphasis","label"],E=["upperLabel"],A=["emphasis","upperLabel"],S=10,T=1,O=2,x=a([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(P){var j=x(P);return j.stroke=j.fill=j.lineWidth=null,j},_=g.extendChartView({type:"treemap",init:function(P,j){this._containerGroup,this._storage=N(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(P,j,K,R){var B=j.findComponents({mainType:"series",subType:"treemap",query:R});if(f.indexOf(B,P)<0)return;this.seriesModel=P,this.api=K,this.ecModel=j;var U=["treemapZoomToNode","treemapRootToNode"],H=v.retrieveTargetInfo(R,U,P),W=R&&R.type,V=P.layoutInfo,z=!this._oldTree,X=this._storage,q=W==="treemapRootToNode"&&H&&X?{rootNodeGroup:X.nodeGroup[H.node.getRawIndex()],direction:R.direction}:null,fe=this._giveContainerGroup(V),G=this._doRender(fe,P,q);!z&&(!W||W==="treemapZoomToNode"||W==="treemapRootToNode")?this._doAnimation(fe,G,P,q):G.renderFinally(),this._resetController(K),this._renderBreadcrumb(P,K,H)},_giveContainerGroup:function(P){var j=this._containerGroup;return j||(j=this._containerGroup=new t,this._initEvents(j),this.group.add(j)),j.attr("position",[P.x,P.y]),j},_doRender:function(P,j,K){var R=j.getData().tree,B=this._oldTree,U=N(),H=N(),W=this._storage,V=[],z=f.curry(F,j,H,W,K,U,V);q(R.root?[R.root]:[],B&&B.root?[B.root]:[],P,R===B||!B,0);var X=fe(W);return this._oldTree=R,this._storage=H,{lastsForAnimation:U,willDeleteEls:X,renderFinally:G};function q(ve,Se,ge,Pe,Ge){Pe?(Se=ve,d(ve,function(xe,lt){!xe.isRemoved()&&Te(lt,lt)})):new p(Se,ve,pt,pt).add(Te).update(Te).remove(f.curry(Te,null)).execute();function pt(xe){return xe.getId()}function Te(xe,lt){var Ie=xe!=null?ve[xe]:null,de=lt!=null?Se[lt]:null,ee=z(Ie,de,ge,Ge);ee&&q(Ie&&Ie.viewChildren||[],de&&de.viewChildren||[],ee,Pe,Ge+1)}}function fe(ve){var Se=N();return ve&&d(ve,function(ge,Pe){var Ge=Se[Pe];d(ge,function(pt){pt&&(Ge.push(pt),pt.__tmWillDelete=1)})}),Se}function G(){d(X,function(ve){d(ve,function(Se){Se.parent&&Se.parent.remove(Se)})}),d(V,function(ve){ve.invisible=!0,ve.dirty()})}},_doAnimation:function(P,j,K,R){if(!K.get("animation"))return;var B=K.get("animationDurationUpdate"),U=K.get("animationEasing"),H=r.createWrap();d(j.willDeleteEls,function(W,V){d(W,function(z,X){if(z.invisible)return;var q=z.parent,fe;if(R&&R.direction==="drillDown")fe=q===R.rootNodeGroup?{shape:{x:0,y:0,width:q.__tmNodeWidth,height:q.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var G=0,ve=0;q.__tmWillDelete||(G=q.__tmNodeWidth/2,ve=q.__tmNodeHeight/2),fe=V==="nodeGroup"?{position:[G,ve],style:{opacity:0}}:{shape:{x:G,y:ve,width:0,height:0},style:{opacity:0}}}fe&&H.add(z,fe,B,U)})}),d(this._storage,function(W,V){d(W,function(z,X){var q=j.lastsForAnimation[V][X],fe={};if(!q)return;V==="nodeGroup"?q.old&&(fe.position=z.position.slice(),z.attr("position",q.old)):(q.old&&(fe.shape=f.extend({},z.shape),z.setShape(q.old)),q.fadein?(z.setStyle("opacity",0),fe.style={opacity:1}):z.style.opacity!==1&&(fe.style={opacity:1})),H.add(z,fe,B,U)})},this),this._state="animating",H.done(l(function(){this._state="ready",j.renderFinally()},this)).start()},_resetController:function(P){var j=this._controller;j||(j=this._controller=new u(P.getZr()),j.enable(this.seriesModel.get("roam")),j.on("pan",l(this._onPan,this)),j.on("zoom",l(this._onZoom,this)));var K=new o(0,0,P.getWidth(),P.getHeight());j.setPointerChecker(function(R,B,U){return K.contain(B,U)})},_clearController:function(){var P=this._controller;P&&(P.dispose(),P=null)},_onPan:function(P){if(this._state!=="animating"&&(Math.abs(P.dx)>m||Math.abs(P.dy)>m)){var j=this.seriesModel.getData().tree.root;if(!j)return;var K=j.getLayout();if(!K)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:K.x+P.dx,y:K.y+P.dy,width:K.width,height:K.height}})}},_onZoom:function(P){var j=P.originX,K=P.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var B=R.getLayout();if(!B)return;var U=new o(B.x,B.y,B.width,B.height),H=this.seriesModel.layoutInfo;j-=H.x,K-=H.y;var W=i.create();i.translate(W,W,[-j,-K]),i.scale(W,W,[P.scale,P.scale]),i.translate(W,W,[j,K]),U.applyTransform(W),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:U.x,y:U.y,width:U.width,height:U.height}})}},_initEvents:function(P){P.on("click",function(j){if(this._state!=="ready")return;var K=this.seriesModel.get("nodeClick",!0);if(!K)return;var R=this.findTarget(j.offsetX,j.offsetY);if(!R)return;var B=R.node;if(B.getLayout().isLeafRoot)this._rootToNode(R);else if(K==="zoomToNode")this._zoomToNode(R);else if(K==="link"){var U=B.hostTree.data.getItemModel(B.dataIndex),H=U.get("link",!0),W=U.get("target",!0)||"blank";H&&n(H,W)}},this)},_renderBreadcrumb:function(P,j,K){K||(K=P.get("leafDepth",!0)!=null?{node:P.getViewRoot()}:this.findTarget(j.getWidth()/2,j.getHeight()/2),K||(K={node:P.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(P,j,K.node,l(R,this));function R(B){this._state!=="animating"&&(v.aboveViewRoot(P.getViewRoot(),B)?this._rootToNode({node:B}):this._zoomToNode({node:B}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(P){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},_rootToNode:function(P){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},findTarget:function(P,j){var K,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(B){var U=this._storage.background[B.getRawIndex()];if(U){var H=U.transformCoordToLocal(P,j),W=U.shape;if(W.x<=H[0]&&H[0]<=W.x+W.width&&W.y<=H[1]&&H[1]<=W.y+W.height)K={node:B,offsetX:H[0],offsetY:H[1]};else return!1}},this),K}});function N(){return{nodeGroup:[],background:[],content:[]}}function F(P,j,K,R,B,U,H,W,V,z){if(!H)return;var X=H.getLayout(),q=P.getData();if(q.setItemGraphicEl(H.dataIndex,null),!X||!X.isInView)return;var fe=X.width,G=X.height,ve=X.borderWidth,Se=X.invisible,ge=H.getRawIndex(),Pe=W&&W.getRawIndex(),Ge=H.viewChildren,pt=X.upperHeight,Te=Ge&&Ge.length,xe=H.getModel("itemStyle"),lt=H.getModel("emphasis.itemStyle"),Ie=me("nodeGroup",t);if(!Ie)return;if(V.add(Ie),Ie.attr("position",[X.x||0,X.y||0]),Ie.__tmNodeWidth=fe,Ie.__tmNodeHeight=G,X.isAboveViewRoot)return Ie;var de=H.getModel(),ee=me("background",s,z,T);if(ee&&ke(Ie,ee,Te&&X.upperLabelHeight),Te)y.isHighDownDispatcher(Ie)&&y.setAsHighDownDispatcher(Ie,!1),ee&&(y.setAsHighDownDispatcher(ee,!0),q.setItemGraphicEl(H.dataIndex,ee));else{var se=me("content",s,z,O);se&&Ce(Ie,se),ee&&y.isHighDownDispatcher(ee)&&y.setAsHighDownDispatcher(ee,!1),y.setAsHighDownDispatcher(Ie,!0),q.setItemGraphicEl(H.dataIndex,Ie)}return Ie;function ke(vt,Ct,Be){if(Ct.dataIndex=H.dataIndex,Ct.seriesIndex=P.seriesIndex,Ct.setShape({x:0,y:0,width:fe,height:G}),Se)ze(Ct);else{Ct.invisible=!1;var Rt=H.getVisual("borderColor",!0),He=lt.get("borderColor"),wt=C(xe);wt.fill=Rt;var Ye=x(lt);if(Ye.fill=He,Be){var et=fe-2*ve;_e(wt,Ye,Rt,et,pt,{x:ve,y:0,width:et,height:pt})}else wt.text=Ye.text=null;Ct.setStyle(wt),y.setElementHoverStyle(Ct,Ye)}vt.add(Ct)}function Ce(vt,Ct){Ct.dataIndex=H.dataIndex,Ct.seriesIndex=P.seriesIndex;var Be=Math.max(fe-2*ve,0),Rt=Math.max(G-2*ve,0);if(Ct.culling=!0,Ct.setShape({x:ve,y:ve,width:Be,height:Rt}),Se)ze(Ct);else{Ct.invisible=!1;var He=H.getVisual("color",!0),wt=C(xe);wt.fill=He;var Ye=x(lt);_e(wt,Ye,He,Be,Rt),Ct.setStyle(wt),y.setElementHoverStyle(Ct,Ye)}vt.add(Ct)}function ze(vt){!vt.invisible&&U.push(vt)}function _e(vt,Ct,Be,Rt,He,wt){var Ye=de.get("name"),et=de.getModel(wt?E:w),rt=de.getModel(wt?A:b),st=et.getShallow("show");y.setLabelStyle(vt,Ct,et,rt,{defaultText:st?Ye:null,autoColor:Be,isRectText:!0,labelFetcher:P,labelDataIndex:H.dataIndex,labelProp:wt?"upperLabel":"label"}),ae(vt,wt,X),ae(Ct,wt,X),wt&&(vt.textRect=f.clone(wt)),vt.truncate=st&&et.get("ellipsis")?{outerWidth:Rt,outerHeight:He,minChar:2}:null}function ae(vt,Ct,Be){var Rt=vt.text;if(!Ct&&Be.isLeafRoot&&Rt!=null){var He=P.get("drillDownIcon",!0);vt.text=He?He+" "+Rt:Rt}}function me(vt,Ct,Be,Rt){var He=Pe!=null&&K[vt][Pe],wt=B[vt];return He?(K[vt][Pe]=null,Oe(wt,He,vt)):Se||(He=new Ct({z:k(Be,Rt)}),He.__tmDepth=Be,He.__tmStorageName=vt,Ze(wt,He,vt)),j[vt][ge]=He}function Oe(vt,Ct,Be){var Rt=vt[ge]={};Rt.old=Be==="nodeGroup"?Ct.position.slice():f.extend({},Ct.shape)}function Ze(vt,Ct,Be){var Rt=vt[ge]={},He=H.parentNode;if(He&&(!R||R.direction==="drillDown")){var wt=0,Ye=0,et=B.background[He.getRawIndex()];!R&&et&&et.old&&(wt=et.old.width,Ye=et.old.height),Rt.old=Be==="nodeGroup"?[0,Ye]:{x:wt,y:Ye,width:0,height:0}}Rt.fadein=Be!=="nodeGroup"}}function k(P,j){var K=P*S+j;return(K-1)/K}D.exports=_},sAZ8:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("+rIm"),p=e("/IIm"),v=e("9KIM"),h=e("IwbS"),u=["axisLine","axisTickLabel","axisName"],o=g.extendComponentView({type:"parallelAxis",init:function(n,l){o.superApply(this,"init",arguments),(this._brushController=new p(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(n,l,t,s){if(i(n,l,s))return;this.axisModel=n,this.api=t,this.group.removeAll();var d=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!n.get("show"))return;var m=a(n,l),w=m.coordinateSystem,b=n.getAreaSelectStyle(),E=b.width,A=n.axis.dim,S=w.getAxisLayout(A),T=f.extend({strokeContainThreshold:E},S),O=new y(n,T);f.each(u,O.add,O),this._axisGroup.add(O.getGroup()),this._refreshBrushController(T,b,n,m,E,t);var x=s&&s.animation===!1?null:n;h.groupTransition(d,this._axisGroup,x)},_refreshBrushController:function(n,l,t,s,d,m){var w=t.axis.getExtent(),b=w[1]-w[0],E=Math.min(30,Math.abs(b)*.1),A=h.BoundingRect.create({x:w[0],y:-d/2,width:b,height:d});A.x-=E,A.width+=2*E,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(A),isTargetByCursor:v.makeRectIsTargetByCursor(A,m,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(A,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(r(t))},_onBrush:function(n,l){var t=this.axisModel,s=t.axis,d=f.map(n,function(m){return[s.coordToData(m.range[0],!0),s.coordToData(m.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:d})},dispose:function(){this._brushController.dispose()}});function i(n,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===n}function r(n){var l=n.axis;return f.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function a(n,l){return l.getComponent("parallel",n.get("parallelIndex"))}var c=o;D.exports=c},sE09:function(D,I,e){},sEf8:function(D,I){function e(g){return function(f){return g(f)}}D.exports=e},sGsY:function(D,I,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),p=e.n(y),v=e("q1tI"),h=e("TSYQ"),u=e.n(h),o=e("H84U"),i=e("B6l+"),r=e.n(i),a=function(H){var W=H.value,V=H.formatter,z=H.precision,X=H.decimalSeparator,q=H.groupSeparator,fe=q===void 0?"":q,G=H.prefixCls,ve;if(typeof V=="function")ve=V(W);else{var Se=String(W),ge=Se.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ge||Se==="-")ve=Se;else{var Pe=ge[1],Ge=ge[2]||"0",pt=ge[4]||"";Ge=Ge.replace(/\B(?=(\d{3})+(?!\d))/g,fe),typeof z=="number"&&(pt=r()(pt,z,"0").slice(0,z)),pt&&(pt="".concat(X).concat(pt)),ve=[v.createElement("span",{key:"int",className:"".concat(G,"-content-value-int")},Pe,Ge),pt&&v.createElement("span",{key:"decimal",className:"".concat(G,"-content-value-decimal")},pt)]}}return v.createElement("span",{className:"".concat(G,"-content-value")},ve)},c=a,n=function(H){var W=H.prefixCls,V=H.className,z=H.style,X=H.valueStyle,q=H.value,fe=q===void 0?0:q,G=H.title,ve=H.valueRender,Se=H.prefix,ge=H.suffix,Pe=H.direction,Ge=H.onMouseEnter,pt=H.onMouseLeave,Te=v.createElement(c,p()({},H,{value:fe})),xe=u()(W,V,f()({},"".concat(W,"-rtl"),Pe==="rtl"));return v.createElement("div",{className:xe,style:z,onMouseEnter:Ge,onMouseLeave:pt},G&&v.createElement("div",{className:"".concat(W,"-title")},G),v.createElement("div",{style:X,className:"".concat(W,"-content")},Se&&v.createElement("span",{className:"".concat(W,"-content-prefix")},Se),ve?ve(Te):Te,ge&&v.createElement("span",{className:"".concat(W,"-content-suffix")},ge)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(o.c)({prefixCls:"statistic"})(n),t=l,s=e("lwsE"),d=e.n(s),m=e("W8MJ"),w=e.n(m),b=e("7W2i"),E=e.n(b),A=e("LQ03"),S=e.n(A),T=e("J4zp"),O=e.n(T),x=e("QQZ/"),C=e.n(x),_=[["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 N(U,H){var W=U,V=/\[[^\]]*]/g,z=(H.match(V)||[]).map(function(G){return G.slice(1,-1)}),X=H.replace(V,"[]"),q=_.reduce(function(G,ve){var Se=O()(ve,2),ge=Se[0],Pe=Se[1];if(G.indexOf(ge)!==-1){var Ge=Math.floor(W/Pe);return W-=Ge*Pe,G.replace(new RegExp("".concat(ge,"+"),"g"),function(pt){var Te=pt.length;return C()(Ge.toString(),Te,"0")})}return G},X),fe=0;return q.replace(V,function(){var G=z[fe];return fe+=1,G})}function F(U,H){var W=H.format,V=W===void 0?"":W,z=new Date(U).getTime(),X=Date.now(),q=Math.max(z-X,0);return N(q,V)}var k=e("0n0R"),P=1e3/30;function j(U){return new Date(U).getTime()}var K=function(U){E()(W,U);var H=S()(W);function W(){var V;return d()(this,W),V=H.apply(this,arguments),V.syncTimer=function(){var z=V.props.value,X=j(z);X>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},P)},V.stopTimer=function(){var z=V.props,X=z.onFinish,q=z.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var fe=j(q);X&&fe<Date.now()&&X()}},V.formatCountdown=function(z,X){var q=V.props.format;return F(z,p()(p()({},X),{format:q}))},V.valueRender=function(z){return Object(k.a)(z,{title:void 0})},V}return w()(W,[{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(t,p()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),W}(v.Component);K.defaultProps={format:"HH:mm:ss"};var R=K;t.Countdown=R;var B=I.a=t},"sK/D":function(D,I,e){var g=e("IwbS"),f=e("OELB"),y=f.round;function p(u,o,i){var r=u.getArea(),a=u.getBaseAxis().isHorizontal(),c=r.x,n=r.y,l=r.width,t=r.height,s=i.get("lineStyle.width")||2;c-=s/2,n-=s/2,l+=s,t+=s,c=Math.floor(c),l=Math.round(l);var d=new g.Rect({shape:{x:c,y:n,width:l,height:t}});return o&&(d.shape[a?"width":"height"]=0,g.initProps(d,{shape:{width:l,height:t}},i)),d}function v(u,o,i){var r=u.getArea(),a=new g.Sector({shape:{cx:y(u.cx,1),cy:y(u.cy,1),r0:y(r.r0,1),r:y(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return o&&(a.shape.endAngle=r.startAngle,g.initProps(a,{shape:{endAngle:r.endAngle}},i)),a}function h(u,o,i){if(u){if(u.type==="polar")return v(u,o,i);if(u.type==="cartesian2d")return p(u,o,i)}else return null;return null}I.createGridClipPath=p,I.createPolarClipPath=v,I.createClipPath=h},sKgW:function(D,I){var e=9007199254740991,g=Math.floor;function f(y,p){var v="";if(!y||p<1||p>e)return v;do p%2&&(v+=y),p=g(p/2),p&&(y+=y);while(p);return v}D.exports=f},sPJy:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("AOa7"),p=e.n(y),v=e("lUTK"),h=e("qVdP")},sPtV:function(D,I,e){"use strict";e.d(I,"a",function(){return p});var g=e("q1tI"),f=e.n(g),y=e("hkKa");function p(v){var h=g.useRef(v),u=Object(y.a)();return[function(){return h.current},function(o){h.current=o,u()}]}},sRBo:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KCY9"),p=e.n(y)},sRwP:function(D,I,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(D,I,e){var g=e("4fz+"),f=e("iRjW"),y=e("Yl7c"),p=function(){this.group=new g,this.uid=f.getUID("viewComponent")};p.prototype={constructor:p,init:function(u,o){},render:function(u,o,i,r){},dispose:function(){},filterForExposedEvent:null};var v=p.prototype;v.updateView=v.updateLayout=v.updateVisual=function(u,o,i,r){},y.enableClassExtend(p),y.enableClassManagement(p,{registerWhenExtend:!0});var h=p;D.exports=h},"sW+o":function(D,I,e){var g=e("SrGk"),f=e("bYtY"),y=e("SUKs"),p=e("Qe9p");function v(u,o){g.call(this,u,o,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(v,g),v.prototype.addWithoutUpdate=function(u,o){if(o&&o.style){var i=this;f.each(["fill","stroke"],function(r){if(o.style[r]&&(o.style[r].type==="linear"||o.style[r].type==="radial")){var a=o.style[r],c=i.getDefs(!0),n;a._dom?(n=a._dom,c.contains(a._dom)||i.addDom(n)):n=i.add(a),i.markUsed(o);var l=n.getAttribute("id");u.setAttribute(r,"url(#"+l+")")}})}},v.prototype.add=function(u){var o;if(u.type==="linear")o=this.createElement("linearGradient");else if(u.type==="radial")o=this.createElement("radialGradient");else return y("Illegal gradient type."),null;return u.id=u.id||this.nextId++,o.setAttribute("id","zr"+this._zrId+"-gradient-"+u.id),this.updateDom(u,o),this.addDom(o),o},v.prototype.update=function(u){var o=this;g.prototype.update.call(this,u,function(){var i=u.type,r=u._dom.tagName;i==="linear"&&r==="linearGradient"||i==="radial"&&r==="radialGradient"?o.updateDom(u,u._dom):(o.removeDom(u),o.add(u))})},v.prototype.updateDom=function(u,o){if(u.type==="linear")o.setAttribute("x1",u.x),o.setAttribute("y1",u.y),o.setAttribute("x2",u.x2),o.setAttribute("y2",u.y2);else if(u.type==="radial")o.setAttribute("cx",u.x),o.setAttribute("cy",u.y),o.setAttribute("r",u.r);else{y("Illegal gradient type.");return}u.global?o.setAttribute("gradientUnits","userSpaceOnUse"):o.setAttribute("gradientUnits","objectBoundingBox"),o.innerHTML="";for(var i=u.colorStops,r=0,a=i.length;r<a;++r){var c=this.createElement("stop");c.setAttribute("offset",i[r].offset*100+"%");var n=i[r].color;if(n.indexOf("rgba">-1)){var l=p.parse(n)[3],t=p.toHex(n);c.setAttribute("stop-color","#"+t),c.setAttribute("stop-opacity",l)}else c.setAttribute("stop-color",i[r].color);o.appendChild(c)}u._dom=o},v.prototype.markUsed=function(u){if(u.style){var o=u.style.fill;o&&o._dom&&g.prototype.markUsed.call(this,o._dom),o=u.style.stroke,o&&o._dom&&g.prototype.markUsed.call(this,o._dom)}};var h=v;D.exports=h},sboe:function(D,I,e){"use strict";e.d(I,"a",function(){return y});var g=e("q1tI"),f=e.n(g),y=g.createContext(null)},sdST:function(D,I,e){var g=e("hi0g");function f(y,p){return p=p||{},g(p.coordDimensions||[],y,{dimsDef:p.dimensionsDefine||y.dimensionsDefine,encodeDef:p.encodeDefine||y.encodeDefine,dimCount:p.dimensionsCount,encodeDefaulter:p.encodeDefaulter,generateCoord:p.generateCoord,generateCoordCount:p.generateCoordCount})}D.exports=f},seXi:function(D,I,e){var g=e("qZTm"),f=1,y=Object.prototype,p=y.hasOwnProperty;function v(h,u,o,i,r,a){var c=o&f,n=g(h),l=n.length,t=g(u),s=t.length;if(l!=s&&!c)return!1;for(var d=l;d--;){var m=n[d];if(!(c?m in u:p.call(u,m)))return!1}var w=a.get(h),b=a.get(u);if(w&&b)return w==u&&b==h;var E=!0;a.set(h,u),a.set(u,h);for(var A=c;++d<l;){m=n[d];var S=h[m],T=u[m];if(i)var O=c?i(T,S,m,u,h,a):i(S,T,m,h,u,a);if(!(O===void 0?S===T||r(S,T,o,i,a):O)){E=!1;break}A||(A=m=="constructor")}if(E&&!A){var x=h.constructor,C=u.constructor;x!=C&&"constructor"in h&&"constructor"in u&&!(typeof x=="function"&&x instanceof x&&typeof C=="function"&&C instanceof C)&&(E=!1)}return a.delete(h),a.delete(u),E}D.exports=v},shjB:function(D,I){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}D.exports=g},sjKO:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=y;var g=30,f=12;function y(p,v){var h,u,o,i,r,a,c,n,l,t,s,d,m,w,b,E,A,S,T,O,x,C,_,N,F;h=p.state,u=p.next_in,N=p.input,o=u+(p.avail_in-5),i=p.next_out,F=p.output,r=i-(v-p.avail_out),a=i+(p.avail_out-257),c=h.dmax,n=h.wsize,l=h.whave,t=h.wnext,s=h.window,d=h.hold,m=h.bits,w=h.lencode,b=h.distcode,E=(1<<h.lenbits)-1,A=(1<<h.distbits)-1;e:do{m<15&&(d+=N[u++]<<m,m+=8,d+=N[u++]<<m,m+=8),S=w[d&E];t:for(;;){if(T=S>>>24,d>>>=T,m-=T,T=S>>>16&255,T===0)F[i++]=S&65535;else if(T&16){O=S&65535,T&=15,T&&(m<T&&(d+=N[u++]<<m,m+=8),O+=d&(1<<T)-1,d>>>=T,m-=T),m<15&&(d+=N[u++]<<m,m+=8,d+=N[u++]<<m,m+=8),S=b[d&A];r:for(;;){if(T=S>>>24,d>>>=T,m-=T,T=S>>>16&255,T&16){if(x=S&65535,T&=15,m<T&&(d+=N[u++]<<m,m+=8,m<T&&(d+=N[u++]<<m,m+=8)),x+=d&(1<<T)-1,x>c){p.msg="invalid distance too far back",h.mode=g;break e}if(d>>>=T,m-=T,T=i-r,x>T){if(T=x-T,T>l&&h.sane){p.msg="invalid distance too far back",h.mode=g;break e}if(C=0,_=s,t===0){if(C+=n-T,T<O){O-=T;do F[i++]=s[C++];while(--T);C=i-x,_=F}}else if(t<T){if(C+=n+t-T,T-=t,T<O){O-=T;do F[i++]=s[C++];while(--T);if(C=0,t<O){T=t,O-=T;do F[i++]=s[C++];while(--T);C=i-x,_=F}}}else if(C+=t-T,T<O){O-=T;do F[i++]=s[C++];while(--T);C=i-x,_=F}for(;O>2;)F[i++]=_[C++],F[i++]=_[C++],F[i++]=_[C++],O-=3;O&&(F[i++]=_[C++],O>1&&(F[i++]=_[C++]))}else{C=i-x;do F[i++]=F[C++],F[i++]=F[C++],F[i++]=F[C++],O-=3;while(O>2);O&&(F[i++]=F[C++],O>1&&(F[i++]=F[C++]))}}else if((T&64)===0){S=b[(S&65535)+(d&(1<<T)-1)];continue r}else{p.msg="invalid distance code",h.mode=g;break e}break}}else if((T&64)===0){S=w[(S&65535)+(d&(1<<T)-1)];continue t}else if(T&32){h.mode=f;break e}else{p.msg="invalid literal/length code",h.mode=g;break e}break}}while(u<o&&i<a);O=m>>3,u-=O,m-=O<<3,d&=(1<<m)-1,p.next_in=u,p.next_out=i,p.avail_in=u<o?5+(o-u):5-(u-o),p.avail_out=i<a?257+(a-i):257-(i-a),h.hold=d,h.bits=m;return}},szbU:function(D,I,e){var g=e("bYtY"),f=g.each;function y(v){var h=v&&v.visualMap;g.isArray(h)||(h=h?[h]:[]),f(h,function(u){if(!u)return;p(u,"splitList")&&!p(u,"pieces")&&(u.pieces=u.splitList,delete u.splitList);var o=u.pieces;o&&g.isArray(o)&&f(o,function(i){g.isObject(i)&&(p(i,"start")&&!p(i,"min")&&(i.min=i.start),p(i,"end")&&!p(i,"max")&&(i.max=i.end))})})}function p(v,h){return v&&v.hasOwnProperty&&v.hasOwnProperty(h)}D.exports=y},t23M:function(D,I,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),p=e("Ji7U"),v=e("LK+K"),h=e("q1tI"),u=e.n(h),o=e("m+aA"),i=e("Zm9Q"),r=e("Kwbf"),a=e("c+Xe"),c=e("bdgK"),n="rc-observer-key",l=function(t){Object(p.a)(d,t);var s=Object(v.a)(d);function d(){var m;return Object(f.a)(this,d),m=s.apply(this,arguments),m.resizeObserver=null,m.childNode=null,m.currentElement=null,m.state={width:0,height:0,offsetHeight:0,offsetWidth:0},m.onResize=function(w){var b=m.props.onResize,E=w[0].target,A=E.getBoundingClientRect(),S=A.width,T=A.height,O=E.offsetWidth,x=E.offsetHeight,C=Math.floor(S),_=Math.floor(T);if(m.state.width!==C||m.state.height!==_||m.state.offsetWidth!==O||m.state.offsetHeight!==x){var N={width:C,height:_,offsetWidth:O,offsetHeight:x};m.setState(N),b&&Promise.resolve().then(function(){b(Object(g.a)(Object(g.a)({},N),{},{offsetWidth:O,offsetHeight:x}))})}},m.setChildNode=function(w){m.childNode=w},m}return Object(y.a)(d,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var w=this.props.disabled;if(w){this.destroyObserver();return}var b=Object(o.a)(this.childNode||this),E=b!==this.currentElement;E&&(this.destroyObserver(),this.currentElement=b),!this.resizeObserver&&b&&(this.resizeObserver=new c.default(this.onResize),this.resizeObserver.observe(b))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var w=this.props.children,b=Object(i.a)(w);if(b.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(b.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var E=b[0];if(h.isValidElement(E)&&Object(a.c)(E)){var A=E.ref;b[0]=h.cloneElement(E,{ref:Object(a.a)(A,this.setChildNode)})}return b.length===1?b[0]:b.map(function(S,T){return!h.isValidElement(S)||"key"in S&&S.key!==null?S:h.cloneElement(S,{key:"".concat(n,"-").concat(T)})})}}]),d}(h.Component);l.displayName="ResizeObserver",I.a=l},t3Fx:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=Object.assign||function(s){for(var d=1;d<arguments.length;d++){var m=arguments[d];for(var w in m)Object.prototype.hasOwnProperty.call(m,w)&&(s[w]=m[w])}return s},f=function(){function s(d,m){for(var w=0;w<m.length;w++){var b=m[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,m,w){return m&&s(d.prototype,m),w&&s(d,w),d}}(),y=e("q1tI"),p=a(y),v=e("17x9"),h=a(v),u=e("aUsF"),o=a(u),i=e("u3os"),r=e("kzFp");function a(s){return s&&s.__esModule?s:{default:s}}function c(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")}function n(s,d){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:s}function l(s,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);s.prototype=Object.create(d&&d.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(s,d):s.__proto__=d)}var t=function(s){l(d,s);function d(m){c(this,d);var w=n(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m));return w.getEchartsInstance=function(){return w.echartsLib.getInstanceByDom(w.echartsElement)||w.echartsLib.init(w.echartsElement,w.props.theme,w.props.opts)},w.dispose=function(){if(w.echartsElement){try{(0,i.clear)(w.echartsElement)}catch(b){console.warn(b)}w.echartsLib.dispose(w.echartsElement)}},w.rerender=function(){var b=w.props,E=b.onEvents,A=b.onChartReady,S=w.renderEchartDom();w.bindEvents(S,E||{}),typeof A=="function"&&w.props.onChartReady(S),w.echartsElement&&(0,i.bind)(w.echartsElement,function(){try{S.resize()}catch(T){console.warn(T)}})},w.bindEvents=function(b,E){var A=function(O,x){typeof O=="string"&&typeof x=="function"&&b.on(O,function(C){x(C,b)})};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&A(S,E[S])},w.renderEchartDom=function(){var b=w.getEchartsInstance();return b.setOption(w.props.option,w.props.notMerge||!1,w.props.lazyUpdate||!1),w.props.showLoading?b.showLoading(w.props.loadingOption||null):b.hideLoading(),b},w.echartsLib=m.echarts,w.echartsElement=null,w}return f(d,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(w){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(w,this.props))return;if(!(0,o.default)(w.theme,this.props.theme)||!(0,o.default)(w.opts,this.props.opts)||!(0,o.default)(w.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var b=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,o.default)((0,r.pick)(this.props,b),(0,r.pick)(w,b)))return;var E=this.renderEchartDom();if(!(0,o.default)(w.style,this.props.style)||!(0,o.default)(w.className,this.props.className))try{E.resize()}catch(A){console.warn(A)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var w=this,b=this.props,E=b.style,A=b.className,S=g({height:300},E);return p.default.createElement("div",{ref:function(O){w.echartsElement=O},style:S,className:"echarts-for-react "+A})}}]),d}(y.Component);I.default=t,t.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(D,I,e){var g=e("bYtY"),f=e("IwbS"),y=e("Qxkt"),p=e("Znkb"),v=e("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(a,c,n){c[1]>c[0]&&(c=c.slice().reverse());var l=a.coordToPoint([c[0],n]),t=a.coordToPoint([c[1],n]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function o(a){var c=a.getRadiusAxis();return c.inverse?0:1}function i(a){var c=a[0],n=a[a.length-1];c&&n&&Math.abs(Math.abs(c.coord-n.coord)-360)<1e-4&&a.pop()}var r=p.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(a,c){if(this.group.removeAll(),!a.get("show"))return;var n=a.axis,l=n.polar,t=l.getRadiusAxis().getExtent(),s=n.getTicksCoords(),d=n.getMinorTicksCoords(),m=g.map(n.getViewLabels(),function(w){var w=g.clone(w);return w.coord=n.dataToCoord(w.tickValue),w});i(m),i(s),g.each(h,function(w){a.get(w+".show")&&(!n.scale.isBlank()||w==="axisLine")&&this["_"+w](a,l,s,d,t,m)},this)},_axisLine:function(a,c,n,l,t){var s=a.getModel("axisLine.lineStyle"),d=o(c),m=d?0:1,w;t[m]===0?w=new f.Circle({shape:{cx:c.cx,cy:c.cy,r:t[d]},style:s.getLineStyle(),z2:1,silent:!0}):w=new f.Ring({shape:{cx:c.cx,cy:c.cy,r:t[d],r0:t[m]},style:s.getLineStyle(),z2:1,silent:!0}),w.style.fill=null,this.group.add(w)},_axisTick:function(a,c,n,l,t){var s=a.getModel("axisTick"),d=(s.get("inside")?-1:1)*s.get("length"),m=t[o(c)],w=g.map(n,function(b){return new f.Line({shape:u(c,[m,m+d],b.coord)})});this.group.add(f.mergePath(w,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")})}))},_minorTick:function(a,c,n,l,t){if(!l.length)return;for(var s=a.getModel("axisTick"),d=a.getModel("minorTick"),m=(s.get("inside")?-1:1)*d.get("length"),w=t[o(c)],b=[],E=0;E<l.length;E++)for(var A=0;A<l[E].length;A++)b.push(new f.Line({shape:u(c,[w,w+m],l[E][A].coord)}));this.group.add(f.mergePath(b,{style:g.defaults(d.getModel("lineStyle").getLineStyle(),g.defaults(s.getLineStyle(),{stroke:a.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(a,c,n,l,t,s){var d=a.getCategories(!0),m=a.getModel("axisLabel"),w=m.get("margin"),b=a.get("triggerEvent");g.each(s,function(E,A){var S=m,T=E.tickValue,O=t[o(c)],x=c.coordToPoint([O+w,E.coord]),C=c.cx,_=c.cy,N=Math.abs(x[0]-C)/O<.3?"center":x[0]>C?"left":"right",F=Math.abs(x[1]-_)/O<.3?"middle":x[1]>_?"top":"bottom";d&&d[T]&&d[T].textStyle&&(S=new y(d[T].textStyle,m,m.ecModel));var k=new f.Text({silent:v.isLabelSilent(a)});this.group.add(k),f.setTextStyle(k.style,S,{x:x[0],y:x[1],textFill:S.getTextColor()||a.get("axisLine.lineStyle.color"),text:E.formattedLabel,textAlign:N,textVerticalAlign:F}),b&&(k.eventData=v.makeAxisEventDataBase(a),k.eventData.targetType="axisLabel",k.eventData.value=E.rawLabel)},this)},_splitLine:function(a,c,n,l,t){var s=a.getModel("splitLine"),d=s.getModel("lineStyle"),m=d.get("color"),w=0;m=m instanceof Array?m:[m];for(var b=[],E=0;E<n.length;E++){var A=w++%m.length;b[A]=b[A]||[],b[A].push(new f.Line({shape:u(c,t,n[E].coord)}))}for(var E=0;E<b.length;E++)this.group.add(f.mergePath(b[E],{style:g.defaults({stroke:m[E%m.length]},d.getLineStyle()),silent:!0,z:a.get("z")}))},_minorSplitLine:function(a,c,n,l,t){if(!l.length)return;for(var s=a.getModel("minorSplitLine"),d=s.getModel("lineStyle"),m=[],w=0;w<l.length;w++)for(var b=0;b<l[w].length;b++)m.push(new f.Line({shape:u(c,t,l[w][b].coord)}));this.group.add(f.mergePath(m,{style:d.getLineStyle(),silent:!0,z:a.get("z")}))},_splitArea:function(a,c,n,l,t){if(!n.length)return;var s=a.getModel("splitArea"),d=s.getModel("areaStyle"),m=d.get("color"),w=0;m=m instanceof Array?m:[m];for(var b=[],E=Math.PI/180,A=-n[0].coord*E,S=Math.min(t[0],t[1]),T=Math.max(t[0],t[1]),O=a.get("clockwise"),x=1;x<n.length;x++){var C=w++%m.length;b[C]=b[C]||[],b[C].push(new f.Sector({shape:{cx:c.cx,cy:c.cy,r0:S,r:T,startAngle:A,endAngle:-n[x].coord*E,clockwise:O},silent:!0})),A=-n[x].coord*E}for(var x=0;x<b.length;x++)this.group.add(f.mergePath(b[x],{style:g.defaults({fill:m[x%m.length]},d.getAreaStyle()),silent:!0}))}});D.exports=r},tMB7:function(D,I,e){var g=e("y1pI");function f(y){var p=this.__data__,v=g(p,y);return v<0?void 0:p[v][1]}D.exports=f},tSko:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("SRve")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="PlusOutlined";var u=y.forwardRef(h);I.default=u},tadb:function(D,I,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"DataView");D.exports=y},tceW:function(D,I,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getBarItemStyle:function(p){var v=f(this,p);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(v.lineDash=h)}return v}};D.exports=y},txkQ:function(D,I,e){var g=e("aX58");I.zrender=g;var f=e("Fofx");I.matrix=f;var y=e("QBsz");I.vector=y;var p=e("bYtY"),v=e("Qe9p");I.color=v;var h=e("IwbS"),u=e("OELB");I.number=u;var o=e("7aKB");I.format=o;var i=e("iLNv"),r=i.throttle;I.throttle=i.throttle;var a=e("FUi9");I.helper=a;var c=e("vafp");I.parseGeoJSON=c;var n=e("YXkt");I.List=n;var l=e("Qxkt");I.Model=l;var t=e("hM6l");I.Axis=t;var s=e("ItGF");I.env=s;var d=c,m={};p.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(b){m[b]=p[b]});var w={};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(b){w[b]=h[b]}),I.parseGeoJson=d,I.util=m,I.graphic=w},u3DP:function(D,I,e){var g=e("6GrX"),f=e("OELB"),y=f.parsePercent,p=Math.PI/180;function v(i,r,a,c,n,l,t,s,d,m){i.sort(function(N,F){return N.y-F.y});function w(N,F,k,P){for(var j=N;j<F&&!(i[j].y+k>d+t);j++)if(i[j].y+=k,j>N&&j+1<F&&i[j+1].y>i[j].y+i[j].height){b(j,k/2);return}b(F-1,k/2)}function b(N,F){for(var k=N;k>=0&&!(i[k].y-F<d);k--)if(i[k].y-=F,k>0&&i[k].y>i[k-1].y+i[k-1].height)break}function E(N,F,k,P,j,K){for(var R=(K>0,F?Number.MAX_VALUE:0),B=0,U=N.length;B<U;B++){if(N[B].labelAlignTo!=="none")continue;var H=Math.abs(N[B].y-P),W=N[B].len,V=N[B].len2,z=H<j+W?Math.sqrt((j+W+V)*(j+W+V)-H*H):Math.abs(N[B].x-k);F&&z>=R&&(z=R-10),!F&&z<=R&&(z=R+10),N[B].x=k+z*K,R=z}}for(var A=0,S,T=i.length,O=[],x=[],C=0;C<T;C++){if(i[C].position==="outer"&&i[C].labelAlignTo==="labelLine"){var _=i[C].x-m;i[C].linePoints[1][0]+=_,i[C].x=m}S=i[C].y-A,S<0&&w(C,T,-S,n),A=i[C].y+i[C].height}t-A<0&&b(T-1,A-t);for(var C=0;C<T;C++)i[C].y>=a?x.push(i[C]):O.push(i[C]);E(O,!1,r,a,c,n),E(x,!0,r,a,c,n)}function h(i,r,a,c,n,l,t,s){for(var d=[],m=[],w=Number.MAX_VALUE,b=-Number.MAX_VALUE,E=0;E<i.length;E++){if(u(i[E]))continue;i[E].x<r?(w=Math.min(w,i[E].x),d.push(i[E])):(b=Math.max(b,i[E].x),m.push(i[E]))}v(m,r,a,c,1,n,l,t,s,b),v(d,r,a,c,-1,n,l,t,s,w);for(var E=0;E<i.length;E++){var A=i[E];if(u(A))continue;var S=A.linePoints;if(S){var T=A.labelAlignTo==="edge",O=A.textRect.width,x;T?A.x<r?x=S[2][0]-A.labelDistance-t-A.labelMargin:x=t+n-A.labelMargin-S[2][0]-A.labelDistance:A.x<r?x=A.x-t-A.bleedMargin:x=t+n-A.x-A.bleedMargin,x<A.textRect.width&&(A.text=g.truncateText(A.text,x,A.font),A.labelAlignTo==="edge"&&(O=g.getWidth(A.text,A.font)));var C=S[1][0]-S[2][0];T?A.x<r?S[2][0]=t+A.labelMargin+O+A.labelDistance:S[2][0]=t+n-A.labelMargin-O-A.labelDistance:(A.x<r?S[2][0]=A.x+A.labelDistance:S[2][0]=A.x-A.labelDistance,S[1][0]=S[2][0]+C),S[1][1]=S[2][1]=A.y}}}function u(i){return i.position==="center"}function o(i,r,a,c,n,l){var t=i.getData(),s=[],d,m,w=!1,b=(i.get("minShowLabelAngle")||0)*p;t.each(function(E){var A=t.getItemLayout(E),S=t.getItemModel(E),T=S.getModel("label"),O=T.get("position")||S.get("emphasis.label.position"),x=T.get("distanceToLabelLine"),C=T.get("alignTo"),_=y(T.get("margin"),a),N=T.get("bleedMargin"),F=T.getFont(),k=S.getModel("labelLine"),P=k.get("length");P=y(P,a);var j=k.get("length2");if(j=y(j,a),A.angle<b)return;var K=(A.startAngle+A.endAngle)/2,R=Math.cos(K),B=Math.sin(K),U,H,W,V;d=A.cx,m=A.cy;var z=i.getFormattedLabel(E,"normal")||t.getName(E),X=g.getBoundingRect(z,F,V,"top"),q=O==="inside"||O==="inner";if(O==="center")U=A.cx,H=A.cy,V="center";else{var fe=(q?(A.r+A.r0)/2*R:A.r*R)+d,G=(q?(A.r+A.r0)/2*B:A.r*B)+m;if(U=fe+R*3,H=G+B*3,!q){var ve=fe+R*(P+r-A.r),Se=G+B*(P+r-A.r),ge=ve+(R<0?-1:1)*j,Pe=Se;C==="edge"?U=R<0?n+_:n+a-_:U=ge+(R<0?-x:x),H=Pe,W=[[fe,G],[ve,Se],[ge,Pe]]}V=q?"center":C==="edge"?R>0?"right":"left":R>0?"left":"right"}var Ge,pt=T.get("rotate");typeof pt=="number"?Ge=pt*(Math.PI/180):Ge=pt?R<0?-K+Math.PI:-K:0,w=!!Ge,A.label={x:U,y:H,position:O,height:X.height,len:P,len2:j,linePoints:W,textAlign:V,verticalAlign:"middle",rotation:Ge,inside:q,labelDistance:x,labelAlignTo:C,labelMargin:_,bleedMargin:N,textRect:X,text:z,font:F},q||s.push(A.label)}),!w&&i.get("avoidLabelOverlap")&&h(s,d,m,r,a,c,n,l)}D.exports=o},u3os:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.ver=I.clear=I.bind=void 0;var g=e("P4Qj"),f=function(h,u){var o=(0,g.getSensor)(h);return o.bind(u),function(){o.unbind(u)}};I.bind=f;var y=function(h){var u=(0,g.getSensor)(h);(0,g.removeSensor)(u)};I.clear=y;var p="1.0.1";I.ver=p},u4NN:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("Uc92")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="EyeOutlined";var u=y.forwardRef(h);I.default=u},u8Dt:function(D,I,e){var g=e("YESw"),f="__lodash_hash_undefined__",y=Object.prototype,p=y.hasOwnProperty;function v(h){var u=this.__data__;if(g){var o=u[h];return o===f?void 0:o}return p.call(u,h)?u[h]:void 0}D.exports=v},u9fO:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("b80e"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},uAnK:function(D,I,e){var g=e("bYtY"),f=e("Kagy"),y=e("KxfA"),p=y.retrieveRawValue;function v(h,u){var o=u.getModel("aria");if(o.get("show")){if(o.get("description")){h.setAttribute("aria-label",o.get("description"));return}}else return;var i=0;u.eachSeries(function(E,A){++i},this);var r=o.get("data.maxCount")||10,a=o.get("series.maxCount")||10,c=Math.min(i,a),n;if(i<1)return;var l=w();l?n=d(m("general.withTitle"),{title:l}):n=m("general.withoutTitle");var t=[],s=i>1?"series.multiple.prefix":"series.single.prefix";n+=d(m(s),{seriesCount:i}),u.eachSeries(function(E,A){if(A<c){var S,T=E.get("name"),O="series."+(i>1?"multiple":"single")+".";S=m(T?O+"withName":O+"withoutName"),S=d(S,{seriesId:E.seriesIndex,seriesName:E.get("name"),seriesType:b(E.subType)});var x=E.getData();window.data=x,x.count()>r?S+=d(m("data.partialData"),{displayCnt:r}):S+=m("data.allData");for(var C=[],_=0;_<x.count();_++)if(_<r){var N=x.getName(_),F=p(x,_);C.push(d(m(N?"data.withName":"data.withoutName"),{name:N,value:F}))}S+=C.join(m("data.separator.middle"))+m("data.separator.end"),t.push(S)}}),n+=t.join(m("series.multiple.separator.middle"))+m("series.multiple.separator.end"),h.setAttribute("aria-label",n);function d(E,A){if(typeof E!="string")return E;var S=E;return g.each(A,function(T,O){S=S.replace(new RegExp("\\{\\s*"+O+"\\s*\\}","g"),T)}),S}function m(E){var A=o.get(E);if(A==null){for(var S=E.split("."),T=f.aria,O=0;O<S.length;++O)T=T[S[O]];return T}else return A}function w(){var E=u.getModel("title").option;return E&&E.length&&(E=E[0]),E&&E.text}function b(E){return f.series.typeNames[E]||"\u81EA\u5B9A\u4E49\u56FE"}}D.exports=v},uK0f:function(D,I,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(f,y,p){p=p||{},p.childrenKeyName=p.childrenKeyName||"children";var v=f||[],h=[],u=0;do{var o=v.filter(function(i){return y(i,u)})[0];if(!o)break;h.push(o),v=o[p.childrenKeyName]||[],u+=1}while(v.length>0);return h}return g})},uOyE:function(D,I,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,y){y.eachComponent({mainType:"brush",query:f},function(p){p.setAreas(f.areas)})}),g.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),g.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(D,I,e){D.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},v56E:function(D,I,e){},v5uJ:function(D,I,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;g.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(h){var u=p.dataIndex,o=h.getData().tree,i=o.getNodeByDataIndex(u);i.isExpand=!i.isExpand})}),g.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(p,v){v.eachComponent({mainType:"series",subType:"tree",query:p},function(h){var u=h.coordinateSystem,o=y(u,p);h.setCenter&&h.setCenter(o.center),h.setZoom&&h.setZoom(o.zoom)})})},"vF/C":function(D,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(D,I,e){var g=e("SrGk"),f=e("bYtY");function y(h,u){g.call(this,h,u,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(y,g),y.prototype.addWithoutUpdate=function(h,u){if(u&&p(u.style)){var o;if(u._shadowDom){o=u._shadowDom;var i=this.getDefs(!0);i.contains(u._shadowDom)||this.addDom(o)}else o=this.add(u);this.markUsed(u);var r=o.getAttribute("id");h.style.filter="url(#"+r+")"}},y.prototype.add=function(h){var u=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,u.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,u),this.addDom(u),u},y.prototype.update=function(h,u){var o=u.style;if(p(o)){var i=this;g.prototype.update.call(this,u,function(){i.updateDom(u,u._shadowDom)})}else this.remove(h,u)},y.prototype.remove=function(h,u){u._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},y.prototype.updateDom=function(h,u){var o=u.getElementsByTagName("feDropShadow");o.length===0?o=this.createElement("feDropShadow"):o=o[0];var i=h.style,r=h.scale&&h.scale[0]||1,a=h.scale&&h.scale[1]||1,c,n,l,t;if(i.shadowBlur||i.shadowOffsetX||i.shadowOffsetY)c=i.shadowOffsetX||0,n=i.shadowOffsetY||0,l=i.shadowBlur,t=i.shadowColor;else if(i.textShadowBlur)c=i.textShadowOffsetX||0,n=i.textShadowOffsetY||0,l=i.textShadowBlur,t=i.textShadowColor;else{this.removeDom(u,i);return}o.setAttribute("dx",c/r),o.setAttribute("dy",n/a),o.setAttribute("flood-color",t);var s=l/2/r,d=l/2/a,m=s+" "+d;o.setAttribute("stdDeviation",m),u.setAttribute("x","-100%"),u.setAttribute("y","-100%"),u.setAttribute("width",Math.ceil(l/2*200)+"%"),u.setAttribute("height",Math.ceil(l/2*200)+"%"),u.appendChild(o),h._shadowDom=u},y.prototype.markUsed=function(h){h._shadowDom&&g.prototype.markUsed.call(this,h._shadowDom)};function p(h){return h&&(h.shadowBlur||h.shadowOffsetX||h.shadowOffsetY||h.textShadowBlur||h.textShadowOffsetX||h.textShadowOffsetY)}var v=y;D.exports=v},vL6D:function(D,I,e){var g=e("bYtY"),f=e("+rIm"),y=e("IwbS"),p=e("7bkD"),v=e("Znkb"),h=e("WN+l"),u=h.rectCoordAxisBuildSplitArea,o=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],a=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,s){var d=this.group;d.removeAll();var m=this._axisGroup;this._axisGroup=new y.Group;var w=p.layout(n),b=new f(n,w);g.each(i,b.add,b),d.add(this._axisGroup),d.add(b.getGroup()),g.each(r,function(E){n.get(E+".show")&&this["_"+E](n)},this),y.groupTransition(m,this._axisGroup,n),a.superCall(this,"render",n,l,t,s)},remove:function(){o(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),s=t.getModel("lineStyle"),d=s.get("width"),m=s.get("color");m=m instanceof Array?m:[m];for(var w=n.coordinateSystem.getRect(),b=l.isHorizontal(),E=[],A=0,S=l.getTicksCoords({tickModel:t}),T=[],O=[],x=0;x<S.length;++x){var C=l.toGlobalCoord(S[x].coord);b?(T[0]=C,T[1]=w.y,O[0]=C,O[1]=w.y+w.height):(T[0]=w.x,T[1]=C,O[0]=w.x+w.width,O[1]=C);var _=A++%m.length;E[_]=E[_]||[],E[_].push(new y.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:O[0],y2:O[1]},style:{lineWidth:d},silent:!0}))}for(var x=0;x<E.length;++x)this.group.add(y.mergePath(E[x],{style:{stroke:m[x%m.length],lineDash:s.getLineDash(d),lineWidth:d},silent:!0}))},_splitArea:function(n){u(this,this._axisGroup,n,n)}}),c=a;D.exports=c},vWvF:function(D,I,e){var g=e("Bq2U"),f=e("SUKs"),y=e("bYtY"),p=y.isString,v=y.isFunction,h=y.isObject,u=y.isArrayLike,o=y.indexOf,i=function(){this.animators=[]};i.prototype={constructor:i,animate:function(t,s){var d,m=!1,w=this,b=this.__zr;if(t){var E=t.split("."),A=w;m=E[0]==="shape";for(var S=0,T=E.length;S<T;S++){if(!A)continue;A=A[E[S]]}A&&(d=A)}else d=w;if(!d){f('Property "'+t+'" is not existed in element '+w.id);return}var O=w.animators,x=new g(d,s);return x.during(function(C){w.dirty(m)}).done(function(){O.splice(o(O,x),1)}),O.push(x),b&&b.animation.addAnimator(x),x},stopAnimation:function(t){for(var s=this.animators,d=s.length,m=0;m<d;m++)s[m].stop(t);return s.length=0,this},animateTo:function(t,s,d,m,w,b){r(this,t,s,d,m,w,b)},animateFrom:function(t,s,d,m,w,b){r(this,t,s,d,m,w,b,!0)}};function r(l,t,s,d,m,w,b,E){p(d)?(w=m,m=d,d=0):v(m)?(w=m,m="linear",d=0):v(d)?(w=d,d=0):v(s)?(w=s,s=500):s||(s=500),l.stopAnimation(),a(l,"",l,t,s,d,E);var A=l.animators.slice(),S=A.length;function T(){S--,S||w&&w()}S||w&&w();for(var O=0;O<A.length;O++)A[O].done(T).start(m,b)}function a(l,t,s,d,m,w,b){var E={},A=0;for(var S in d){if(!d.hasOwnProperty(S))continue;s[S]!=null?h(d[S])&&!u(d[S])?a(l,t?t+"."+S:S,s[S],d[S],m,w,b):(b?(E[S]=s[S],c(l,t,S,d[S])):E[S]=d[S],A++):d[S]!=null&&!b&&c(l,t,S,d[S])}A>0&&l.animate(t,!1).when(m==null?500:m,E).delay(w||0)}function c(l,t,s,d){if(!t)l.attr(s,d);else{var m={};m[t]={},m[t][s]=d,l.attr(m)}}var n=i;D.exports=n},vZ6x:function(D,I,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),p=e("IwbS"),v=e("4NO4"),h=e("9KIM"),u=y.each,o=y.indexOf,i=y.curry,r=["dataToPoint","pointToData"],a=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function c(x,C,_){var N=this._targetInfoList=[],F={},k=t(C,x);u(s,function(P,j){(!_||!_.include||o(_.include,j)>=0)&&P(k,N,F)})}var n=c.prototype;n.setOutputRanges=function(x,C){this.matchOutputRanges(x,C,function(_,N,F){if((_.coordRanges||(_.coordRanges=[])).push(N),!_.coordRange){_.coordRange=N;var k=w[_.brushType](0,F,N);_.__rangeOffset={offset:E[_.brushType](k.values,_.range,[1,1]),xyMinMax:k.xyMinMax}}})},n.matchOutputRanges=function(x,C,_){u(x,function(N){var F=this.findTargetInfo(N,C);F&&F!==!0&&y.each(F.coordSyses,function(k){var P=w[N.brushType](1,k,N.range);_(N,P.values,k,C)})},this)},n.setInputRanges=function(x,C){u(x,function(_){var N=this.findTargetInfo(_,C);if(_.range=_.range||[],N&&N!==!0){_.panelId=N.panelId;var F=w[_.brushType](0,N.coordSys,_.coordRange),k=_.__rangeOffset;_.range=k?E[_.brushType](F.values,k.offset,S(F.xyMinMax,k.xyMinMax)):F.values}},this)},n.makePanelOpts=function(x,C){return y.map(this._targetInfoList,function(_){var N=_.getPanelRect();return{panelId:_.panelId,defaultBrushType:C&&C(_),clipPath:h.makeRectPanelClipPath(N),isTargetByCursor:h.makeRectIsTargetByCursor(N,x,_.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(N)}})},n.controlSeries=function(x,C,_){var N=this.findTargetInfo(x,_);return N===!0||N&&o(N.coordSyses,C.coordinateSystem)>=0},n.findTargetInfo=function(x,C){for(var _=this._targetInfoList,N=t(C,x),F=0;F<_.length;F++){var k=_[F],P=x.panelId;if(P){if(k.panelId===P)return k}else for(var F=0;F<d.length;F++)if(d[F](N,k))return k}return!0};function l(x){return x[0]>x[1]&&x.reverse(),x}function t(x,C){return v.parseFinder(x,C,{includeMainTypes:a})}var s={grid:function(x,C){var _=x.xAxisModels,N=x.yAxisModels,F=x.gridModels,k=y.createHashMap(),P={},j={};if(!_&&!N&&!F)return;u(_,function(K){var R=K.axis.grid.model;k.set(R.id,R),P[R.id]=!0}),u(N,function(K){var R=K.axis.grid.model;k.set(R.id,R),j[R.id]=!0}),u(F,function(K){k.set(K.id,K),P[K.id]=!0,j[K.id]=!0}),k.each(function(K){var R=K.coordinateSystem,B=[];u(R.getCartesians(),function(U,H){(o(_,U.getAxis("x").model)>=0||o(N,U.getAxis("y").model)>=0)&&B.push(U)}),C.push({panelId:"grid--"+K.id,gridModel:K,coordSysModel:K,coordSys:B[0],coordSyses:B,getPanelRect:m.grid,xAxisDeclared:P[K.id],yAxisDeclared:j[K.id]})})},geo:function(x,C){u(x.geoModels,function(_){var N=_.coordinateSystem;C.push({panelId:"geo--"+_.id,geoModel:_,coordSysModel:_,coordSys:N,coordSyses:[N],getPanelRect:m.geo})})}},d=[function(x,C){var _=x.xAxisModel,N=x.yAxisModel,F=x.gridModel;return!F&&_&&(F=_.axis.grid.model),!F&&N&&(F=N.axis.grid.model),F&&F===C.gridModel},function(x,C){var _=x.geoModel;return _&&_===C.geoModel}],m={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}},w={lineX:i(b,0),lineY:i(b,1),rect:function(x,C,_){var N=C[r[x]]([_[0][0],_[1][0]]),F=C[r[x]]([_[0][1],_[1][1]]),k=[l([N[0],F[0]]),l([N[1],F[1]])];return{values:k,xyMinMax:k}},polygon:function(x,C,_){var N=[[Infinity,-Infinity],[Infinity,-Infinity]],F=y.map(_,function(k){var P=C[r[x]](k);return N[0][0]=Math.min(N[0][0],P[0]),N[1][0]=Math.min(N[1][0],P[1]),N[0][1]=Math.max(N[0][1],P[0]),N[1][1]=Math.max(N[1][1],P[1]),P});return{values:F,xyMinMax:N}}};function b(x,C,_,N){var F=_.getAxis(["x","y"][x]),k=l(y.map([0,1],function(j){return C?F.coordToData(F.toLocalCoord(N[j])):F.toGlobalCoord(F.dataToCoord(N[j]))})),P=[];return P[x]=k,P[1-x]=[NaN,NaN],{values:k,xyMinMax:P}}var E={lineX:i(A,0),lineY:i(A,1),rect:function(x,C,_){return[[x[0][0]-_[0]*C[0][0],x[0][1]-_[0]*C[0][1]],[x[1][0]-_[1]*C[1][0],x[1][1]-_[1]*C[1][1]]]},polygon:function(x,C,_){return y.map(x,function(N,F){return[N[0]-_[0]*C[F][0],N[1]-_[1]*C[F][1]]})}};function A(x,C,_,N){return[C[0]-N[x]*_[0],C[1]-N[x]*_[1]]}function S(x,C){var _=T(x),N=T(C),F=[_[0]/N[0],_[1]/N[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function T(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var O=c;D.exports=O},vZI5:function(D,I,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),p=y.seriesModelMixin,v=f.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(u,o,i){var r=o.getItemLayout(u);return r&&i.rect(r.brushRect)}});g.mixin(v,p,!0);var h=v;D.exports=h},vafp:function(D,I,e){var g=e("bYtY"),f=e("8nly");function y(h){if(!h.UTF8Encoding)return h;var u=h.UTF8Scale;u==null&&(u=1024);for(var o=h.features,i=0;i<o.length;i++)for(var r=o[i],a=r.geometry,c=a.coordinates,n=a.encodeOffsets,l=0;l<c.length;l++){var t=c[l];if(a.type==="Polygon")c[l]=p(t,n[l],u);else if(a.type==="MultiPolygon")for(var s=0;s<t.length;s++){var d=t[s];t[s]=p(d,n[l][s],u)}}return h.UTF8Encoding=!1,h}function p(h,u,o){for(var i=[],r=u[0],a=u[1],c=0;c<h.length;c+=2){var n=h.charCodeAt(c)-64,l=h.charCodeAt(c+1)-64;n=n>>1^-(n&1),l=l>>1^-(l&1),n+=r,l+=a,r=n,a=l,i.push([n/o,l/o])}return i}function v(h,u){return y(h),g.map(g.filter(h.features,function(o){return o.geometry&&o.properties&&o.geometry.coordinates.length>0}),function(o){var i=o.properties,r=o.geometry,a=r.coordinates,c=[];r.type==="Polygon"&&c.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),r.type==="MultiPolygon"&&g.each(a,function(l){l[0]&&c.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var n=new f(i[u||"name"],c,i.cp);return n.properties=i,n})}D.exports=v},vcCh:function(D,I,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,y){y.eachComponent({mainType:"series",subType:"sankey",query:f},function(p){p.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.getPointerEvent=g,I.stopEvent=f,I.setCapture=o,I.releaseCapture=i;function g(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function f(r){r.stopPropagation(),r.preventDefault()}var y=!1,p=null;document.captureElement=null;function v(r){if(y)return;var a=new r.constructor(r.type,r);y=!0,document.captureElement?document.captureElement.dispatchEvent(a):p.dispatchEvent(a),y=!1,r.stopPropagation(),a.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&i()}function h(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var u=new MutationObserver(h);function o(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",i);else{i();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=r,u.observe(r,{attributes:!0}),h(),a.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function i(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;p=document.captureElement,document.captureElement=null,u.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(D,I,e){},"vk+C":function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("RZPm"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},w5pM:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="PlusCircleOutlined";var h=I.a=g.forwardRef(v)},w6Tc:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("apAg"));function f(p){return p&&p.__esModule?p:{default:p}}var y=g;I.default=y,D.exports=y},wCAj:function(D,I,e){"use strict";var g=e("cDf5"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("J4zp"),h=e.n(v),u=e("pVnL"),o=e.n(u),i=e("q1tI"),r=e("TSYQ"),a=e.n(r),c=e("BGR+"),n=e("rePB"),l=e("VTBJ"),t=e("KQm4"),s=e("U8pU"),d=e("ODXe"),m=e("Gytx"),w=e.n(m),b=e("Kwbf"),E=e("t23M"),A=e("qx4F");function S(rr){return null}var T=S;function O(rr){return null}var x=O,C=e("Ff2n"),_=e("c+Xe"),N="RC_TABLE_KEY";function F(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function k(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Pr=F(Tr),Wr=rr,hn=0;hn<Pr.length;hn+=1){if(!Wr)return null;var tt=Pr[hn];Wr=Wr[tt]}return Wr}function P(rr){var Tr=[],Pr={};return rr.forEach(function(Wr){for(var hn=Wr||{},tt=hn.key,jt=hn.dataIndex,Jt=tt||F(jt).join("-")||N;Pr[Jt];)Jt="".concat(Jt,"_next");Pr[Jt]=!0,Tr.push(Jt)}),Tr}function j(){var rr={};function Tr(tt,jt){jt&&Object.keys(jt).forEach(function(Jt){var nr=jt[Jt];nr&&Object(s.a)(nr)==="object"?(tt[Jt]=tt[Jt]||{},Tr(tt[Jt],nr)):tt[Jt]=nr})}for(var Pr=arguments.length,Wr=new Array(Pr),hn=0;hn<Pr;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(tt){Tr(rr,tt)}),rr}function K(rr){return rr!=null}function R(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!i.isValidElement(rr)}function B(rr){return typeof rr=="string"?!0:Object(_.c)(rr)}function U(rr,Tr){var Pr,Wr=rr.prefixCls,hn=rr.className,tt=rr.record,jt=rr.index,Jt=rr.dataIndex,nr=rr.render,_r=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,zr=rr.colSpan,Jr=rr.rowSpan,Zr=rr.fixLeft,an=rr.fixRight,St=rr.firstFixLeft,Vt=rr.lastFixLeft,sr=rr.firstFixRight,br=rr.lastFixRight,Mr=rr.appendNode,Dr=rr.additionalProps,rn=Dr===void 0?{}:Dr,fn=rr.ellipsis,wn=rr.align,Hn=rr.rowType,Sn=rr.isSticky,bn="".concat(Wr,"-cell"),Mn,vn;if(_r)vn=_r;else{var Rn=k(tt,Jt);if(vn=Rn,nr){var En=nr(Rn,tt,jt);R(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!i.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=i.createElement("span",{className:"".concat(bn,"-content")},vn));var Ln=Mn||{},Xn=Ln.colSpan,ai=Ln.rowSpan,ri=Ln.style,Di=Ln.className,yi=Object(C.a)(Ln,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:zr,Oi=ai!==void 0?ai:Jr;if(xi===0||Oi===0)return null;var Un={},Ri=typeof Zr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Zr),fa&&(Un.position="sticky",Un.right=an);var Ui={};wn&&(Ui.textAlign=wn);var Mi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Mi=vn.toString():i.isValidElement(vn)&&typeof vn.props.children=="string"&&(Mi=vn.props.children));var hi=Object(l.a)(Object(l.a)(Object(l.a)({title:Mi},yi),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:Oi&&Oi!==1?Oi:null,className:a()(bn,hn,(Pr={},Object(n.a)(Pr,"".concat(bn,"-fix-left"),Ri),Object(n.a)(Pr,"".concat(bn,"-fix-left-first"),St),Object(n.a)(Pr,"".concat(bn,"-fix-left-last"),Vt),Object(n.a)(Pr,"".concat(bn,"-fix-right"),fa),Object(n.a)(Pr,"".concat(bn,"-fix-right-first"),sr),Object(n.a)(Pr,"".concat(bn,"-fix-right-last"),br),Object(n.a)(Pr,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Pr,"".concat(bn,"-with-append"),Mr),Object(n.a)(Pr,"".concat(bn,"-fix-sticky"),(Ri||fa)&&Sn),Pr),rn.className,Di),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},rn.style),Ui),Un),ri),ref:B(Er)?Tr:null});return i.createElement(Er,Object.assign({},hi),Mr,vn)}var H=i.forwardRef(U);H.displayName="Cell";var W=i.memo(H,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),V=W,z=i.createContext(null),X=z;function q(rr,Tr,Pr,Wr,hn){var tt=Pr[rr]||{},jt=Pr[Tr]||{},Jt,nr;tt.fixed==="left"?Jt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var _r=!1,wr=!1,Er=!1,zr=!1,Jr=Pr[Tr+1],Zr=Pr[rr-1];if(hn==="rtl"){if(Jt!==void 0){var an=Zr&&Zr.fixed==="left";zr=!an}else if(nr!==void 0){var St=Jr&&Jr.fixed==="right";Er=!St}}else if(Jt!==void 0){var Vt=Jr&&Jr.fixed==="left";_r=!Vt}else if(nr!==void 0){var sr=Zr&&Zr.fixed==="right";wr=!sr}return{fixLeft:Jt,fixRight:nr,lastFixLeft:_r,firstFixRight:wr,lastFixRight:Er,firstFixLeft:zr,isSticky:Wr.isSticky}}function fe(rr){var Tr=rr.cells,Pr=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,tt=rr.cellComponent,jt=rr.onHeaderRow,Jt=rr.index,nr=i.useContext(X),_r=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Jr){return Jr.column}),Jt));var zr=P(Tr.map(function(Jr){return Jr.column}));return i.createElement(hn,Object.assign({},Er),Tr.map(function(Jr,Zr){var an=Jr.column,St=q(Jr.colStart,Jr.colEnd,Wr,Pr,wr),Vt;return an&&an.onHeaderCell&&(Vt=Jr.column.onHeaderCell(an)),i.createElement(V,Object.assign({},Jr,{ellipsis:an.ellipsis,align:an.align,component:tt,prefixCls:_r,key:zr[Zr]},St,{additionalProps:Vt,rowType:"header"}))}))}fe.displayName="HeaderRow";var G=fe;function ve(rr){var Tr=[];function Pr(jt,Jt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var _r=Jt,wr=jt.filter(Boolean).map(function(Er){var zr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:_r},Jr=1,Zr=Er.children;return Zr&&Zr.length>0&&(Jr=Pr(Zr,_r,nr+1).reduce(function(an,St){return an+St},0),zr.hasSubColumns=!0),"colSpan"in Er&&(Jr=Er.colSpan),"rowSpan"in Er&&(zr.rowSpan=Er.rowSpan),zr.colSpan=Jr,zr.colEnd=zr.colStart+Jr-1,Tr[nr].push(zr),_r+=Jr,Jr});return wr}Pr(rr,0);for(var Wr=Tr.length,hn=function(Jt){Tr[Jt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Jt)})},tt=0;tt<Wr;tt+=1)hn(tt);return Tr}function Se(rr){var Tr=rr.stickyOffsets,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,tt=i.useContext(X),jt=tt.prefixCls,Jt=tt.getComponent,nr=i.useMemo(function(){return ve(Pr)},[Pr]),_r=Jt(["header","wrapper"],"thead"),wr=Jt(["header","row"],"tr"),Er=Jt(["header","cell"],"th");return i.createElement(_r,{className:"".concat(jt,"-thead")},nr.map(function(zr,Jr){var Zr=i.createElement(G,{key:Jr,flattenColumns:Wr,cells:zr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Jr});return Zr}))}var ge=Se,Pe="RC_TABLE_INTERNAL_COL_DEFINE";function Ge(rr){var Tr=rr.expandable,Pr=Object(C.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Pr),Tr):Pr}function pt(rr){return Object.keys(rr).reduce(function(Tr,Pr){return(Pr.substr(0,5)==="data-"||Pr.substr(0,5)==="aria-")&&(Tr[Pr]=rr[Pr]),Tr},{})}function Te(rr){for(var Tr=rr.colWidths,Pr=rr.columns,Wr=rr.columCount,hn=[],tt=Wr||Pr.length,jt=!1,Jt=tt-1;Jt>=0;Jt-=1){var nr=Tr[Jt],_r=Pr&&Pr[Jt],wr=_r&&_r[Pe];(nr||wr||jt)&&(hn.unshift(i.createElement("col",Object.assign({key:Jt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return i.createElement("colgroup",null,hn)}var xe=Te;function lt(rr,Tr){return Object(i.useMemo)(function(){for(var Pr=[],Wr=0;Wr<Tr;Wr+=1){var hn=rr[Wr];if(hn)Pr[Wr]=hn;else return null}return Pr},[rr.join("_"),Tr])}function Ie(rr){var Tr=rr.noData,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,tt=rr.columCount,jt=rr.stickyOffsets,Jt=rr.direction,nr=rr.fixHeader,_r=Object(C.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=i.useContext(X),Er=wr.prefixCls,zr=wr.scrollbarSize,Jr=wr.isSticky,Zr=Jr&&!nr?0:zr,an=Wr[Wr.length-1],St={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Pr),[St]):Pr},[Zr,Pr]),sr=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Wr),[St]):Wr},[Zr,Wr]),br=Object(i.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Jt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Zr})),[0]):rn,right:Jt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Zr})),[0]),isSticky:Jr})},[Zr,jt,Jr]),Mr=lt(hn,tt);return i.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},i.createElement(xe,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Zr]):[],columCount:tt+1,columns:sr}),i.createElement(ge,Object.assign({},_r,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var de=Ie,ee=i.createContext(null),se=ee;function ke(rr){var Tr=rr.prefixCls,Pr=rr.children,Wr=rr.component,hn=rr.cellComponent,tt=rr.fixHeader,jt=rr.fixColumn,Jt=rr.horizonScroll,nr=rr.className,_r=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,zr=i.useContext(X),Jr=zr.scrollbarSize;return i.useMemo(function(){var Zr=Pr;return jt&&(Zr=i.createElement("div",{style:{width:wr-(tt?Jr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Zr)),i.createElement(Wr,{className:nr,style:{display:_r?null:"none"}},i.createElement(V,{component:hn,prefixCls:Tr,colSpan:Er},Zr))},[Pr,Wr,tt,Jt,nr,_r,wr,Er,Jr])}var Ce=ke;function ze(rr){var Tr=rr.className,Pr=rr.style,Wr=rr.record,hn=rr.index,tt=rr.rowKey,jt=rr.getRowKey,Jt=rr.rowExpandable,nr=rr.expandedKeys,_r=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,zr=rr.rowComponent,Jr=rr.cellComponent,Zr=rr.childrenColumnName,an=i.useContext(X),St=an.prefixCls,Vt=an.fixedInfoList,sr=i.useContext(se),br=sr.fixHeader,Mr=sr.fixColumn,Dr=sr.horizonScroll,rn=sr.componentWidth,fn=sr.flattenColumns,wn=sr.expandableType,Hn=sr.expandRowByClick,Sn=sr.onTriggerExpand,bn=sr.rowClassName,Mn=sr.expandedRowClassName,vn=sr.indentSize,Rn=sr.expandIcon,En=sr.expandedRowRender,Ln=sr.expandIconColumnIndex,Xn=i.useState(!1),ai=Object(d.a)(Xn,2),ri=ai[0],Di=ai[1],yi=nr&&nr.has(rr.recordKey);i.useEffect(function(){yi&&Di(!0)},[yi]);var xi=wn==="row"&&(!Jt||Jt(Wr)),Oi=wn==="nest",Un=Zr&&Wr&&Wr[Zr],Ri=xi||Oi,fa;_r&&(fa=_r(Wr,hn));var Ui=function(sa){if(Hn&&Ri&&Sn(Wr,sa),fa&&fa.onClick){for(var Ni,$n=arguments.length,Ai=new Array($n>1?$n-1:0),Li=1;Li<$n;Li++)Ai[Li-1]=arguments[Li];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=P(fn),hi=i.createElement(zr,Object.assign({},fa,{"data-row-key":tt,className:a()(Tr,"".concat(St,"-row"),"".concat(St,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Pr),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,Li=mi[sa],Vi=Vt[sa],Xi;sa===(Ln||0)&&Oi&&(Xi=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(St,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:St,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),i.createElement(V,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Jr,prefixCls:St,key:Li,record:Wr,index:hn,dataIndex:$n,render:Ni,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Xi,additionalProps:bi}))})),qi;if(xi&&(ri||yi)){var va=En(Wr,hn,Er+1,yi),Ea=Mn&&Mn(Wr,hn,Er);qi=i.createElement(Ce,{expanded:yi,className:a()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:St,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:zr,componentWidth:rn,cellComponent:Jr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Zr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return i.createElement(ze,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),i.createElement(i.Fragment,null,hi,qi,ya)}ze.displayName="BodyRow";var _e=ze,ae=i.createContext(null),me=ae;function Oe(rr){var Tr=rr.data,Pr=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,tt=rr.onRow,jt=rr.rowExpandable,Jt=rr.emptyNode,nr=rr.childrenColumnName,_r=i.useContext(me),wr=_r.onColumnResize,Er=i.useContext(X),zr=Er.prefixCls,Jr=Er.getComponent,Zr=i.useContext(se),an=Zr.fixHeader,St=Zr.horizonScroll,Vt=Zr.flattenColumns,sr=Zr.componentWidth;return i.useMemo(function(){var br=Jr(["body","wrapper"],"tbody"),Mr=Jr(["body","row"],"tr"),Dr=Jr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Pr(wn,Hn);return i.createElement(_e,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:tt,getRowKey:Pr,rowExpandable:jt,childrenColumnName:nr})}):rn=i.createElement(Ce,{expanded:!0,className:"".concat(zr,"-placeholder"),prefixCls:zr,fixHeader:an,fixColumn:St,horizonScroll:St,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Jt);var fn=P(Vt);return i.createElement(br,{className:"".concat(zr,"-tbody")},Wr&&i.createElement("tr",{"aria-hidden":"true",className:"".concat(zr,"-measure-row"),style:{height:0}},fn.map(function(wn){return i.createElement(E.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;wr(wn,bn)}},i.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Tr,zr,tt,Wr,hn,Pr,Jr,sr,Jt,Vt])}var Ze=i.memo(Oe);Ze.displayName="Body";var vt=Ze,Ct=e("Zm9Q");function Be(rr){return Object(Ct.a)(rr).filter(function(Tr){return i.isValidElement(Tr)}).map(function(Tr){var Pr=Tr.key,Wr=Tr.props,hn=Wr.children,tt=Object(C.a)(Wr,["children"]),jt=Object(l.a)({key:Pr},tt);return hn&&(jt.children=Be(hn)),jt})}function Rt(rr){return rr.reduce(function(Tr,Pr){var Wr=Pr.fixed,hn=Wr===!0?"left":Wr,tt=Pr.children;return tt&&tt.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Rt(tt).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Pr),{},{fixed:hn})])},[])}function He(rr){for(var Tr=!0,Pr=0;Pr<rr.length;Pr+=1){var Wr=rr[Pr];if(Tr&&Wr.fixed!=="left")Tr=!1;else if(!Tr&&Wr.fixed==="left"){Object(b.a)(!1,"Index ".concat(Pr-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,tt=rr.length-1;tt>=0;tt-=1){var jt=rr[tt];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(b.a)(!1,"Index ".concat(tt+1," of `columns` missing `fixed='right'` prop."));break}}}function wt(rr){return rr.map(function(Tr){var Pr=Tr.fixed,Wr=Object(C.a)(Tr,["fixed"]),hn=Pr;return Pr==="left"?hn="right":Pr==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Ye(rr,Tr){var Pr=rr.prefixCls,Wr=rr.columns,hn=rr.children,tt=rr.expandable,jt=rr.expandedKeys,Jt=rr.getRowKey,nr=rr.onTriggerExpand,_r=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,zr=rr.direction,Jr=rr.expandRowByClick,Zr=i.useMemo(function(){return Wr||Be(hn)},[Wr,hn]),an=i.useMemo(function(){if(tt){var sr,br=Er||0,Mr=Zr[br],Dr=(sr={},Object(n.a)(sr,Pe,{className:"".concat(Pr,"-expand-icon-col")}),Object(n.a)(sr,"title",""),Object(n.a)(sr,"fixed",Mr?Mr.fixed:null),Object(n.a)(sr,"className","".concat(Pr,"-row-expand-icon-cell")),Object(n.a)(sr,"render",function(wn,Hn,Sn){var bn=Jt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=_r({prefixCls:Pr,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Jr?i.createElement("span",{onClick:function(Ln){return Ln.stopPropagation()}},Rn):Rn}),sr),rn=Zr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Zr},[tt,Zr,Jt,jt,_r,zr]),St=i.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,zr]),Vt=i.useMemo(function(){return zr==="rtl"?wt(Rt(St)):Rt(St)},[St,zr]);return[St,Vt]}var et=Ye,rt=e("xEkU"),st=e.n(rt);function Ve(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useState)({}),Wr=Object(d.a)(Pr,2),hn=Wr[1],tt=Object(i.useRef)(null),jt=Object(i.useRef)([]);function Jt(nr){tt.current===null&&(jt.current=[],tt.current=st()(function(){jt.current.forEach(function(_r){Tr.current=_r(Tr.current)}),tt.current=null,hn({})})),jt.current.push(nr)}return Object(i.useEffect)(function(){return function(){st.a.cancel(tt.current)}},[]),[Tr.current,Jt]}function ie(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useRef)(null);function Wr(){window.clearTimeout(Pr.current)}function hn(jt){Tr.current=jt,Wr(),Pr.current=window.setTimeout(function(){Tr.current=null,Pr.current=null},100)}function tt(){return Tr.current}return Object(i.useEffect)(function(){return Wr},[]),[hn,tt]}function $(rr,Tr,Pr){var Wr=Object(i.useMemo)(function(){for(var hn=[],tt=[],jt=0,Jt=0,nr=0;nr<Tr;nr+=1)if(Pr==="rtl"){tt[nr]=Jt,Jt+=rr[nr]||0;var _r=Tr-nr-1;hn[_r]=jt,jt+=rr[_r]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;tt[wr]=Jt,Jt+=rr[wr]||0}return{left:hn,right:tt}},[rr,Tr,Pr]);return Wr}var it=$;function Qe(rr){var Tr=rr.className,Pr=rr.children;return i.createElement("div",{className:Tr},Pr)}var ye=Qe;function Zt(rr){var Tr=rr.className,Pr=rr.index,Wr=rr.children,hn=rr.colSpan,tt=rr.rowSpan,jt=i.useContext(X),Jt=jt.prefixCls,nr=jt.fixedInfoList,_r=nr[Pr];return i.createElement(V,Object.assign({className:Tr,index:Pr,component:"td",prefixCls:Jt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:tt}}}},_r))}function dt(rr){return i.createElement("tr",Object.assign({},rr))}function ct(rr){var Tr=rr.children,Pr=i.useContext(X),Wr=Pr.prefixCls;return i.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var yt=ct,It={Cell:Zt,Row:dt};function or(rr){var Tr,Pr=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,tt=rr.expanded,jt=rr.expandable,Jt="".concat(Pr,"-row-expand-icon");if(!jt)return i.createElement("span",{className:a()(Jt,"".concat(Pr,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return i.createElement("span",{className:a()(Jt,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-row-expanded"),tt),Object(n.a)(Tr,"".concat(Pr,"-row-collapsed"),!tt),Tr)),onClick:nr})}function Bt(rr,Tr,Pr){var Wr=[];function hn(tt){(tt||[]).forEach(function(jt,Jt){Wr.push(Tr(jt,Jt)),hn(jt[Pr])})}return hn(rr),Wr}var Ae=e("zT1h"),pe=e("y0+3"),he=function(Tr,Pr){var Wr,hn,tt=Tr.scrollBodyRef,jt=Tr.onScroll,Jt=Tr.offsetScroll,nr=i.useContext(X),_r=nr.prefixCls,wr=((Wr=tt.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=tt.current)===null||hn===void 0?void 0:hn.clientWidth)||0,zr=wr&&Er*(Er/wr),Jr=i.useRef(),Zr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(d.a)(Zr,2),St=an[0],Vt=an[1],sr=i.useRef({delta:0,x:0}),br=i.useState(!1),Mr=Object(d.a)(br,2),Dr=Mr[0],rn=Mr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),sr.current.delta=vn.pageX-St.scrollLeft,sr.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Rn,En=vn||((Rn=window)===null||Rn===void 0?void 0:Rn.event),Ln=En.buttons;if(!Dr||Ln===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+zr>=Er&&(Xn=Er-zr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(pe.b)(tt.current).top,Rn=vn+tt.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(A.a)()<=En||vn>=En-Jt?Vt(function(Ln){return Object(l.a)(Object(l.a)({},Ln),{},{isHiddenScrollBar:!0})}):Vt(function(Ln){return Object(l.a)(Object(l.a)({},Ln),{},{isHiddenScrollBar:!1})})},bn=function(vn){Vt(function(Rn){return Object(l.a)(Object(l.a)({},Rn),{},{scrollLeft:vn/wr*Er||0})})};return i.useImperativeHandle(Pr,function(){return{setScrollLeft:bn}}),i.useEffect(function(){var Mn=Object(Ae.a)(document.body,"mouseup",fn,!1),vn=Object(Ae.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[zr,Dr]),i.useEffect(function(){var Mn=Object(Ae.a)(window,"scroll",Sn,!1),vn=Object(Ae.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),i.useEffect(function(){St.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:tt.current.scrollLeft/((vn=tt.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=tt.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[St.isHiddenScrollBar]),wr<=Er||!zr||St.isHiddenScrollBar?null:i.createElement("div",{style:{height:Object(A.a)(),width:Er,bottom:Jt},className:"".concat(_r,"-sticky-scroll")},i.createElement("div",{onMouseDown:wn,ref:Jr,className:a()("".concat(_r,"-sticky-scroll-bar"),Object(n.a)({},"".concat(_r,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(zr,"px"),transform:"translate3d(".concat(St.scrollLeft,"px, 0, 0)")}}))},le=i.forwardRef(he);function Ne(rr,Tr){return i.useMemo(function(){var Pr=!!rr;return{isSticky:Pr,stickyClassName:Pr?"".concat(Tr,"-sticky-header"):"",offsetHeader:Object(s.a)(rr)==="object"&&rr.offsetHeader||0,offsetScroll:Object(s.a)(rr)==="object"&&rr.offsetScroll||0}},[rr,Tr])}var je=[],Ke={},Xe="rc-table-internal-hook",Fe=i.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return w()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function nt(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,tt=rr.style,jt=rr.data,Jt=rr.rowKey,nr=rr.scroll,_r=rr.tableLayout,wr=rr.direction,Er=rr.title,zr=rr.footer,Jr=rr.summary,Zr=rr.id,an=rr.showHeader,St=rr.components,Vt=rr.emptyText,sr=rr.onRow,br=rr.onHeaderRow,Mr=rr.internalHooks,Dr=rr.transformColumns,rn=rr.internalRefs,fn=rr.sticky,wn=jt||je,Hn=!!wn.length,Sn=i.useState(0),bn=Object(d.a)(Sn,2),Mn=bn[0],vn=bn[1];i.useEffect(function(){vn(Object(A.a)())});var Rn=i.useMemo(function(){return j(St,{})},[St]),En=i.useCallback(function(Fa,Oa){return k(Rn,Fa)||Oa},[Rn]),Ln=i.useMemo(function(){return typeof Jt=="function"?Jt:function(Fa){var Oa=Fa&&Fa[Jt];return Oa}},[Jt]),Xn=Ge(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,Oi=Xn.onExpand,Un=Xn.onExpandedRowsChange,Ri=Xn.expandRowByClick,fa=Xn.rowExpandable,Ui=Xn.expandIconColumnIndex,Mi=Xn.expandedRowClassName,mi=Xn.childrenColumnName,hi=Xn.indentSize,qi=ai||or,va=mi||"children",Ea=i.useMemo(function(){return xi?"row":rr.expandable&&Mr===Xe&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(Fa){return Fa&&Object(s.a)(Fa)==="object"&&Fa[va]})?"nest":!1},[!!xi,wn]),ya=i.useState(function(){return Di||(yi?Bt(wn,Ln,va):[])}),oa=Object(d.a)(ya,2),sa=oa[0],Ni=oa[1],$n=i.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),Ai=i.useCallback(function(Fa){var Oa=Ln(Fa,wn.indexOf(Fa)),_o,Lo=$n.has(Oa);Lo?($n.delete(Oa),_o=Object(t.a)($n)):_o=[].concat(Object(t.a)($n),[Oa]),Ni(_o),Oi&&Oi(!Lo,Fa),Un&&Un(_o)},[Ln,$n,wn,Oi,Un]),Li=i.useState(0),Vi=Object(d.a)(Li,2),Xi=Vi[0],bi=Vi[1],Aa=et(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:Ln,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===Xe?Dr:null),ca=Object(d.a)(Aa,2),la=ca[0],gi=ca[1],Pa=i.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ma=i.useRef(),ra=i.useRef(),Gi=i.useRef(),Xa=i.useState(!1),Ki=Object(d.a)(Xa,2),zi=Ki[0],ba=Ki[1],Ua=i.useState(!1),wa=Object(d.a)(Ua,2),vi=wa[0],Ga=wa[1],Ka=Ve(new Map),pa=Object(d.a)(Ka,2),_i=pa[0],So=pa[1],za=P(gi),ja=za.map(function(Fa){return _i.get(Fa)}),qa=i.useMemo(function(){return ja},[ja.join("_")]),ho=it(qa,gi.length,wr),Ca=nr&&K(nr.y),to=nr&&K(nr.x),Oo=to&&gi.some(function(Fa){var Oa=Fa.fixed;return Oa}),La=i.useRef(),Fi=Ne(fn,Pr),Ja=Fi.isSticky,Da=Fi.offsetHeader,pi=Fi.offsetScroll,Yi=Fi.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:nr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:nr.x===!0?"auto":nr.x,minWidth:"100%"});var Ta=i.useCallback(function(Fa,Oa){So(function(_o){var Lo=new Map(_o);return Lo.set(Fa,Oa),Lo})},[]),ki=ie(null),Ra=Object(d.a)(ki,2),Vo=Ra[0],ro=Ra[1];function vo(Fa,Oa){Oa&&(typeof Oa=="function"?Oa(Fa):Oa.scrollLeft!==Fa&&(Oa.scrollLeft=Fa))}var po=function(Oa){var _o=Oa.currentTarget,Lo=Oa.scrollLeft,ts=typeof Lo=="number"?Lo:_o.scrollLeft,Bo=_o||Ke;if(!ro()||ro()===Bo){var rs;Vo(Bo),vo(ts,ra.current),vo(ts,Gi.current),vo(ts,(rs=La.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(_o){var ms=_o.scrollWidth,ls=_o.clientWidth;ba(ts>0),Ga(ts<ms-ls)}},Zi=function(){Gi.current&&po({currentTarget:Gi.current})},xo=function(Oa){var _o=Oa.width;Zi(),bi(Ma.current?Ma.current.offsetWidth:_o)};i.useEffect(function(){return Zi},[]),i.useEffect(function(){to&&Zi()},[to]),i.useEffect(function(){Mr===Xe&&rn&&(rn.body.current=Gi.current)});var is=En(["table"],"table"),Jo=i.useMemo(function(){return _r||(Oo?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(Fa){var Oa=Fa.ellipsis;return Oa})?"fixed":"auto")},[Ca,Oo,gi,_r]),Is,Cs={colWidths:qa,columCount:gi.length,stickyOffsets:ho,onHeaderRow:br,fixHeader:Ca},Ts=i.useMemo(function(){return Hn?null:typeof Vt=="function"?Vt():Vt},[Hn,Vt]),Yo=i.createElement(vt,{data:wn,measureColumnWidth:Ca||to||Ja,expandedKeys:$n,rowExpandable:fa,getRowKey:Ln,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=i.createElement(xe,{colWidths:gi.map(function(Fa){var Oa=Fa.width;return Oa}),columns:gi}),Za=Jr&&i.createElement(yt,null,Jr(wn)),Ya=En(["body"]);if(Ca||Ja){var so;typeof Ya=="function"?(so=Ya(wn,{scrollbarSize:Mn,ref:Gi,onScroll:po}),Cs.colWidths=gi.map(function(Fa,Oa){var _o=Fa.width,Lo=Oa===la.length-1?_o-Mn:_o;return typeof Lo=="number"&&!Number.isNaN(Lo)?Lo:(Object(b.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),onScroll:po,ref:Gi,className:a()("".concat(Pr,"-body"))},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,Yo,Za),Ja&&i.createElement(le,{ref:La,offsetScroll:pi,scrollBodyRef:Gi,onScroll:po})),Is=i.createElement(i.Fragment,null,an!==!1&&i.createElement("div",{style:Object(l.a)({overflow:"hidden"},Ja?{top:Da}:{}),onScroll:po,ref:ra,className:a()("".concat(Pr,"-header"),Object(n.a)({},Yi,!!Yi))},i.createElement(de,Object.assign({noData:!wn.length},Cs,Pa,{direction:wr}))),so)}else Is=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),className:a()("".concat(Pr,"-content")),onScroll:po,ref:Gi},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,an!==!1&&i.createElement(ge,Object.assign({},Cs,Pa)),Yo,Za));var ps=pt(rr),Sr=i.createElement("div",Object.assign({className:a()(Pr,Wr,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-rtl"),wr==="rtl"),Object(n.a)(Tr,"".concat(Pr,"-ping-left"),zi),Object(n.a)(Tr,"".concat(Pr,"-ping-right"),vi),Object(n.a)(Tr,"".concat(Pr,"-layout-fixed"),_r==="fixed"),Object(n.a)(Tr,"".concat(Pr,"-fixed-header"),Ca),Object(n.a)(Tr,"".concat(Pr,"-fixed-column"),Oo),Object(n.a)(Tr,"".concat(Pr,"-scroll-horizontal"),to),Object(n.a)(Tr,"".concat(Pr,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Tr,"".concat(Pr,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Tr)),style:tt,id:Zr,ref:Ma},ps),i.createElement(Fe,{pingLeft:zi,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&i.createElement(ye,{className:"".concat(Pr,"-title")},Er(wn)),i.createElement("div",{className:"".concat(Pr,"-container")},Is),zr&&i.createElement(ye,{className:"".concat(Pr,"-footer")},zr(wn))));to&&(Sr=i.createElement(E.a,{onResize:xo},Sr));var Xo=i.useMemo(function(){return{prefixCls:Pr,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(Fa,Oa){return q(Oa,Oa,gi,ho,wr)}),isSticky:Ja}},[Pr,En,Mn,wr,gi,ho,wr,Ja]),ss=i.useMemo(function(){return Object(l.a)(Object(l.a)({},Pa),{},{tableLayout:Jo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:Oo,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Pa,Jo,hn,Mi,Xi,Ca,Oo,to,qi,Ea,Ri,xi,Ai,Ui,hi]),Os=i.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return i.createElement(X.Provider,{value:Xo},i.createElement(se.Provider,{value:ss},i.createElement(me.Provider,{value:Os},Sr)))}nt.Column=x,nt.ColumnGroup=T,nt.Summary=It,nt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var At=nt,_t=At,ne=e("W9HT"),ue=e("NUBc"),Y=e("H84U"),te=function(rr,Tr){var Pr={};for(var Wr in rr)Object.prototype.hasOwnProperty.call(rr,Wr)&&Tr.indexOf(Wr)<0&&(Pr[Wr]=rr[Wr]);if(rr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Wr=Object.getOwnPropertySymbols(rr);hn<Wr.length;hn++)Tr.indexOf(Wr[hn])<0&&Object.prototype.propertyIsEnumerable.call(rr,Wr[hn])&&(Pr[Wr[hn]]=rr[Wr[hn]]);return Pr},be=10;function Le(rr,Tr){var Pr={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var tt=Tr[hn];typeof tt!="function"&&(Pr[hn]=tt)}),Pr}function Re(){for(var rr={},Tr=arguments.length,Pr=new Array(Tr),Wr=0;Wr<Tr;Wr++)Pr[Wr]=arguments[Wr];return Pr.forEach(function(hn){hn&&Object.keys(hn).forEach(function(tt){var jt=hn[tt];jt!==void 0&&(rr[tt]=jt)})}),rr}function $e(rr,Tr,Pr){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,tt=hn===void 0?0:hn,jt=te(Wr,["total"]),Jt=Object(i.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:be}}),nr=h()(Jt,2),_r=nr[0],wr=nr[1],Er=Re(_r,jt,{total:tt>0?tt:rr});if(!tt){var zr=Math.ceil(rr/Er.pageSize);zr<Er.current&&(Er.current=1)}var Jr=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(o()(o()({},Er),{current:St,pageSize:Vt||Er.pageSize}))},Zr=function(St,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(St=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(St,Vt)),Tr&&Tr.onChange&&Tr.onChange(St,Vt),Jr(St,Vt),Pr(St,Vt||sr)};return Tr===!1?[{},function(){}]:[o()(o()({},Er),{onChange:Zr}),Jr]}function gt(rr,Tr,Pr){var Wr=i.useRef({});function hn(tt){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Pr){var jt=function nr(_r){_r.forEach(function(wr,Er){var zr=Pr(wr,Er);Jt.set(zr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Jt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Jt,getRowKey:Pr}}return Wr.current.kvMap.get(tt)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Dt=e("RIqP"),Kt=e.n(Dt),Yt=e("HQEm"),Qt=e.n(Yt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),ot=e("6cGi"),xt=e("kaz8"),ut=e("jsC+"),ft=e("BvKs"),Lt=e("9yH6"),Tt=e("uaoM"),ht="SELECT_ALL",Ht="SELECT_INVERT";function Ft(rr){return rr&&rr.fixed}function ir(rr,Tr){var Pr=[];return(rr||[]).forEach(function(Wr){Pr.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Pr=[].concat(Kt()(Pr),Kt()(ir(Wr[Tr],Tr))))}),Pr}function Xt(rr,Tr){var Pr=rr||{},Wr=Pr.preserveSelectedRowKeys,hn=Pr.selectedRowKeys,tt=Pr.getCheckboxProps,jt=Pr.onChange,Jt=Pr.onSelect,nr=Pr.onSelectAll,_r=Pr.onSelectInvert,wr=Pr.onSelectMultiple,Er=Pr.columnWidth,zr=Pr.type,Jr=Pr.selections,Zr=Pr.fixed,an=Pr.renderCell,St=Pr.hideSelectAll,Vt=Pr.checkStrictly,sr=Vt===void 0?!0:Vt,br=Tr.prefixCls,Mr=Tr.data,Dr=Tr.pageData,rn=Tr.getRecordByKey,fn=Tr.getRowKey,wn=Tr.expandType,Hn=Tr.childrenColumnName,Sn=Tr.locale,bn=Tr.expandIconColumnIndex,Mn=Tr.getPopupContainer,vn=i.useRef(new Map),Rn=Object(ot.a)(hn||[],{value:hn}),En=h()(Rn,2),Ln=En[0],Xn=En[1],ai=Object(i.useMemo)(function(){return sr?{keyEntities:null}:Object(Mt.a)(Mr,void 0,fn)},[Mr,fn,sr]),ri=ai.keyEntities,Di=Object(i.useMemo)(function(){return ir(Dr,Hn)},[Dr,Hn]),yi=Object(i.useMemo)(function(){var Ni=new Map;return Di.forEach(function($n,Ai){var Li=fn($n,Ai),Vi=(tt?tt($n):null)||{};Ni.set(Li,Vi)}),Ni},[Di,fn,tt]),xi=Object(i.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),Oi=Object(i.useMemo)(function(){if(sr)return[Ln,[]];var Ni=Object(dr.a)(Ln,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[Ln,sr,ri,xi]),Un=h()(Oi,2),Ri=Un[0],fa=Un[1],Ui=Object(i.useMemo)(function(){var Ni=zr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,zr]),Mi=Object(i.useMemo)(function(){return zr==="radio"?new Set:new Set(fa)},[fa,zr]),mi=Object(i.useState)(null),hi=h()(mi,2),qi=hi[0],va=hi[1];i.useEffect(function(){rr||Xn([])},[!!rr]);var Ea=Object(i.useCallback)(function(Ni){var $n,Ai;if(Wr){var Li=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),Li.set(Vi,Xi),Xi}),vn.current=Li}else $n=[],Ai=[],Ni.forEach(function(Vi){var Xi=rn(Vi);Xi!==void 0&&($n.push(Vi),Ai.push(Xi))});Xn($n),jt&&jt($n,Ai)},[Xn,rn,jt,Wr]),ya=Object(i.useCallback)(function(Ni,$n,Ai,Li){if(Jt){var Vi=Ai.map(function(Xi){return rn(Xi)});Jt(rn(Ni),$n,Vi,Li)}Ea(Ai)},[Jt,rn,Ea]),oa=Object(i.useMemo)(function(){if(!Jr||St)return null;var Ni=Jr===!0?[ht,Ht]:Jr;return Ni.map(function($n){return $n===ht?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(Li,Vi){return fn(Li,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Li=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);Li.has(Aa)?Li.delete(Aa):Li.add(Aa)});var Vi=Array.from(Li);Ea(Vi),_r&&(Object(Tt.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),_r(Vi))}}:$n})},[Jr,Ui,Dr,fn,_r,Ea]),sa=Object(i.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(zi){return!yi.get(zi).disabled}),Li=Ai.every(function(zi){return $n.has(zi)}),Vi=Ai.some(function(zi){return $n.has(zi)}),Xi=function(){var ba=[];Li?Ai.forEach(function(wa){$n.delete(wa),ba.push(wa)}):Ai.forEach(function(wa){$n.has(wa)||($n.add(wa),ba.push(wa))});var Ua=Array.from($n);Ea(Ua),nr&&nr(!Li,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(zr!=="radio"){var Aa;if(oa){var ca=i.createElement(ft.a,{getPopupContainer:Mn},oa.map(function(zi,ba){var Ua=zi.key,wa=zi.text,vi=zi.onSelect;return i.createElement(ft.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=i.createElement("div",{className:"".concat(br,"-selection-extra")},i.createElement(ut.a,{overlay:ca,getPopupContainer:Mn},i.createElement("span",null,i.createElement(Qt.a,null))))}var la=Di.every(function(zi,ba){var Ua=fn(zi,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!St&&i.createElement("div",{className:"".concat(br,"-selection")},i.createElement(xt.a,{checked:!la&&!!Di.length&&Li,indeterminate:!Li&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;zr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ga=$n.has(vi);return{node:i.createElement(Lt.a,o()({},yi.get(vi),{checked:Ga,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){$n.has(vi)||ya(vi,!0,[vi],pa.nativeEvent)}})),checked:Ga}}:gi=function(ba,Ua,wa){var vi,Ga=fn(Ua,wa),Ka=$n.has(Ga),pa=Mi.has(Ga),_i=yi.get(Ga),So;return wn==="nest"?(So=pa,Object(Tt.a)(!(typeof(_i==null?void 0:_i.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=_i==null?void 0:_i.indeterminate)!==null&&vi!==void 0?vi:pa,{node:i.createElement(xt.a,o()({},_i,{indeterminate:So,checked:Ka,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var Oo=new Set([qi,Ga]);Ai.some(function(ki,Ra){if(Oo.has(ki))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var La=Ai.slice(Ca,to+1),Fi=[];Ka?La.forEach(function(ki){$n.has(ki)&&(Fi.push(ki),$n.delete(ki))}):La.forEach(function(ki){$n.has(ki)||(Fi.push(ki),$n.add(ki))});var Ja=Array.from($n);Ea(Ja),wr&&wr(!Ka,Ja.map(function(ki){return rn(ki)}),Fi.map(function(ki){return rn(ki)}))}else{var Da=Ri;if(sr){var pi=Ka?Object(er.b)(Da,Ga):Object(er.a)(Da,Ga);ya(Ga,!Ka,pi,qa)}else{var Yi=Object(dr.a)([].concat(Kt()(Da),[Ga]),!0,ri,xi),oo=Yi.checkedKeys,go=Yi.halfCheckedKeys,fo=oo;if(Ka){var Ta=new Set(oo);Ta.delete(Ga),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ga,!Ka,fo,qa)}}va(Ga)}})),checked:Ka}};var Pa=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ga=vi.node,Ka=vi.checked;return an?an(Ka,Ua,wa,Ga):Ga},Ma=p()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Pa},Pe,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Gi=ra[0],Xa=ra.slice(1),Ki=Zr||Ft(Xa[0]);return Ki&&(Gi.fixed=Ki),[Gi,o()(o()({},Ma),{fixed:Ki})].concat(Kt()(Xa))}return[o()(o()({},Ma),{fixed:Zr||Ft(Ni[0])})].concat(Kt()(Ni))},[fn,Di,rr,Ri,Ui,Mi,Er,oa,wn,qi,yi,wr,ya,xi]);return[sa,Ui]}var mr=e("6SEX"),Ar=e.n(mr),Nr=e("i8CU"),Fr=e.n(Nr),tn=e("3S7+");function qr(rr,Tr){return"key"in rr&&rr.key!==void 0&&rr.key!==null?rr.key:rr.dataIndex?Array.isArray(rr.dataIndex)?rr.dataIndex.join("."):rr.dataIndex:Tr}function Or(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var Ir="ascend",ur="descend";function pr(rr){return f()(rr.sorter)==="object"&&typeof rr.sorter.multiple=="number"?rr.sorter.multiple:!1}function cr(rr){return typeof rr=="function"?rr:rr&&f()(rr)==="object"&&rr.compare?rr.compare:!1}function fr(rr,Tr){return Tr?rr[rr.indexOf(Tr)+1]:rr[0]}function xr(rr,Tr,Pr){var Wr=[];function hn(tt,jt){Wr.push({column:tt,key:qr(tt,jt),multiplePriority:pr(tt),sortOrder:tt.sortOrder})}return(rr||[]).forEach(function(tt,jt){var Jt=Or(jt,Pr);tt.children?("sortOrder"in tt&&hn(tt,Jt),Wr=[].concat(Kt()(Wr),Kt()(xr(tt.children,Tr,Jt)))):tt.sorter&&("sortOrder"in tt?hn(tt,Jt):Tr&&tt.defaultSortOrder&&Wr.push({column:tt,key:qr(tt,Jt),multiplePriority:pr(tt),sortOrder:tt.defaultSortOrder}))}),Wr}function Gr(rr,Tr,Pr,Wr,hn,tt,jt,Jt){return(Tr||[]).map(function(nr,_r){var wr=Or(_r,Jt),Er=nr;if(Er.sorter){var zr=Er.sortDirections||hn,Jr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Zr=qr(Er,wr),an=Pr.find(function(Hn){var Sn=Hn.key;return Sn===Zr}),St=an?an.sortOrder:null,Vt=fr(zr,St),sr=zr.includes(Ir)&&i.createElement(Fr.a,{className:a()("".concat(rr,"-column-sorter-up"),{active:St===Ir})}),br=zr.includes(ur)&&i.createElement(Ar.a,{className:a()("".concat(rr,"-column-sorter-down"),{active:St===ur})}),Mr=tt||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===ur?wn=fn:Vt===Ir&&(wn=rn),Er=o()(o()({},Er),{className:a()(Er.className,p()({},"".concat(rr,"-column-sort"),St)),title:function(Sn){var bn=i.createElement("div",{className:"".concat(rr,"-column-sorters")},i.createElement("span",null,Qr(nr.title,Sn)),i.createElement("span",{className:a()("".concat(rr,"-column-sorter"),p()({},"".concat(rr,"-column-sorter-full"),sr&&br))},i.createElement("span",{className:"".concat(rr,"-column-sorter-inner")},sr,br)));return Jr?i.createElement(tn.a,{title:wn},i.createElement("div",{className:"".concat(rr,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=nr.onHeaderCell&&nr.onHeaderCell(Sn)||{},Mn=bn.onClick;return bn.onClick=function(vn){Wr({column:nr,key:Zr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=a()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=o()(o()({},Er),{children:Gr(rr,Er.children,Pr,Wr,hn,tt,jt,wr)})),Er})}function un(rr){var Tr=rr.column,Pr=rr.sortOrder;return{column:Tr,order:Pr,field:Tr.dataIndex,columnKey:Tr.key}}function Nn(rr){var Tr=rr.filter(function(Pr){var Wr=Pr.sortOrder;return Wr}).map(un);return Tr.length===0&&rr.length?o()(o()({},un(rr[rr.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function jr(rr,Tr,Pr){var Wr=Tr.slice().sort(function(jt,Jt){return Jt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),tt=Wr.filter(function(jt){var Jt=jt.column.sorter,nr=jt.sortOrder;return cr(Jt)&&nr});return tt.length?hn.sort(function(jt,Jt){for(var nr=0;nr<tt.length;nr+=1){var _r=tt[nr],wr=_r.column.sorter,Er=_r.sortOrder,zr=cr(wr);if(zr&&Er){var Jr=zr(jt,Jt,Er);if(Jr!==0)return Er===Ir?Jr:-Jr}}return 0}).map(function(jt){var Jt=jt[Pr];return Jt?o()(o()({},jt),p()({},Pr,jr(Jt,Tr,Pr))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Pr=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,tt=rr.tableLocale,jt=rr.showSorterTooltip,Jt=i.useState(xr(Pr,!0)),nr=h()(Jt,2),_r=nr[0],wr=nr[1],Er=i.useMemo(function(){var St=!0,Vt=xr(Pr,!1);if(!Vt.length)return _r;var sr=[];function br(Dr){St?sr.push(Dr):sr.push(o()(o()({},Dr),{sortOrder:null}))}var Mr=null;return Vt.forEach(function(Dr){Mr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?St=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(St=!1),br(Dr))}),sr},[Pr,_r]),zr=i.useMemo(function(){var St=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:St,sortColumn:St[0]&&St[0].column,sortOrder:St[0]&&St[0].order}},[Er]);function Jr(St){var Vt;St.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[St]:Vt=[].concat(Kt()(Er.filter(function(sr){var br=sr.key;return br!==St.key})),[St]),wr(Vt),Wr(Nn(Vt),Vt)}var Zr=function(Vt){return Gr(Tr,Vt,Er,Jr,hn,tt,jt)},an=function(){return Nn(Er)};return[Zr,Er,zr,an]}var gn=e("Y+p1"),Pn=e.n(gn),zn=e("5Uyt"),qn=e.n(zn),Gn=e("2/Rp"),Vn=e("ECub"),An=function(Tr){return i.createElement("div",{className:Tr.className,onClick:function(Wr){return Wr.stopPropagation()}},Tr.children)},on=An,ia=e("sPtV"),xa=ft.a.SubMenu,ta=ft.a.Item;function Ii(rr){return rr.some(function(Tr){var Pr=Tr.children;return Pr})}function Ci(rr){var Tr=rr.filters,Pr=rr.prefixCls,Wr=rr.filteredKeys,hn=rr.filterMultiple,tt=rr.locale;return Tr.length===0?i.createElement(i.Fragment,null,i.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:tt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Jt){var nr=String(jt.value);if(jt.children)return i.createElement(xa,{key:nr||Jt,title:jt.text,popupClassName:"".concat(Pr,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Pr,filteredKeys:Wr,filterMultiple:hn,locale:tt}));var _r=hn?xt.a:Lt.a;return i.createElement(ta,{key:jt.value!==void 0?nr:Jt},i.createElement(_r,{checked:Wr.includes(nr)}),i.createElement("span",null,jt.text))})}function Yn(rr){var Tr,Pr=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,tt=rr.columnKey,jt=rr.filterMultiple,Jt=rr.filterState,nr=rr.triggerFilter,_r=rr.locale,wr=rr.children,Er=rr.getPopupContainer,zr=Wr.filterDropdownVisible,Jr=Wr.onFilterDropdownVisibleChange,Zr=i.useState(!1),an=h()(Zr,2),St=an[0],Vt=an[1],sr=!!(Jt&&(((Tr=Jt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Jt.forceFiltered)),br=function(hi){Vt(hi),Jr&&Jr(hi)},Mr=typeof zr=="boolean"?zr:St,Dr=Jt&&Jt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=h()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var qi=hi.selectedKeys;Hn(qi)};i.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=i.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=i.useRef(),Ln=function(hi){En.current=window.setTimeout(function(){Rn(hi)})},Xn=function(){window.clearTimeout(En.current)};i.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){br(!1);var qi=hi&&hi.length?hi:null;if(qi===null&&(!Jt||!Jt.filteredKeys))return null;if(Pn()(qi,Jt==null?void 0:Jt.filteredKeys))return null;nr({column:Wr,key:tt,filteredKeys:qi})},ri=function(){ai(wn())},Di=function(){Hn([]),ai([])},yi=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),br(hi),!hi&&!Wr.filterDropdown&&ri()},xi=a()(p()({},"".concat(hn,"-menu-without-submenu"),!Ii(Wr.filters||[]))),Oi;if(typeof Wr.filterDropdown=="function")Oi=Wr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Di,filters:Wr.filters,visible:Mr});else if(Wr.filterDropdown)Oi=Wr.filterDropdown;else{var Un=wn()||[];Oi=i.createElement(i.Fragment,null,i.createElement(ft.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:Ln},Ci({filters:Wr.filters||[],prefixCls:Pr,filteredKeys:wn(),filterMultiple:jt,locale:_r})),i.createElement("div",{className:"".concat(Pr,"-dropdown-btns")},i.createElement(Gn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},_r.filterReset),i.createElement(Gn.a,{type:"primary",size:"small",onClick:ri},_r.filterConfirm)))}var Ri=i.createElement(on,{className:"".concat(Pr,"-dropdown")},Oi),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=i.createElement(qn.a,null);var Ui=i.useContext(Y.b),Mi=Ui.direction;return i.createElement("div",{className:a()("".concat(Pr,"-column"))},i.createElement("span",{className:"".concat(Pr,"-column-title")},wr),i.createElement("span",{className:a()("".concat(Pr,"-trigger-container"),p()({},"".concat(Pr,"-trigger-container-open"),Mr)),onClick:function(hi){hi.stopPropagation()}},i.createElement(ut.a,{overlay:Ri,trigger:["click"],visible:Mr,onVisibleChange:yi,getPopupContainer:Er,placement:Mi==="rtl"?"bottomLeft":"bottomRight"},i.createElement("span",{role:"button",tabIndex:-1,className:a()("".concat(Pr,"-trigger"),{active:sr})},fa))))}var _a=Yn;function mn(rr,Tr,Pr){var Wr=[];return(rr||[]).forEach(function(hn,tt){var jt=Or(tt,Pr);"children"in hn?Wr=[].concat(Kt()(Wr),Kt()(mn(hn.children,Tr,jt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Wr.push({column:hn,key:qr(hn,jt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Wr.push({column:hn,key:qr(hn,jt),filteredKeys:Tr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Wr}function _n(rr,Tr,Pr,Wr,hn,tt,jt,Jt){return Pr.map(function(nr,_r){var wr=Or(_r,Jt),Er=nr.filterMultiple,zr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Jr=qr(nr,wr),Zr=Wr.find(function(an){var St=an.key;return Jr===St});return o()(o()({},nr),{title:function(St){return i.createElement(_a,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Jr,filterState:Zr,filterMultiple:zr,triggerFilter:hn,locale:jt,getPopupContainer:tt},Qr(nr.title,St))}})}return"children"in nr?o()(o()({},nr),{children:_n(rr,Tr,nr.children,Wr,hn,tt,jt,wr)}):nr})}function On(rr){var Tr={};return rr.forEach(function(Pr){var Wr=Pr.key,hn=Pr.filteredKeys;Tr[Wr]=hn||null}),Tr}function In(rr){var Tr=[];return(rr||[]).forEach(function(Pr){var Wr=Pr.value,hn=Pr.children;Tr.push(Wr),hn&&(Tr=[].concat(Kt()(Tr),Kt()(In(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Pr,Wr){var hn=Wr.column,tt=hn.onFilter,jt=hn.filters,Jt=Wr.filteredKeys;return tt&&Jt&&Jt.length?Pr.filter(function(nr){return Jt.some(function(_r){var wr=In(jt),Er=wr.findIndex(function(Jr){return String(Jr)===String(_r)}),zr=Er!==-1?wr[Er]:_r;return tt(zr,nr)})}):Pr},rr)}function ni(rr){var Tr=rr.prefixCls,Pr=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,tt=rr.getPopupContainer,jt=rr.locale,Jt=i.useState(mn(Wr,!0)),nr=h()(Jt,2),_r=nr[0],wr=nr[1],Er=i.useMemo(function(){var an=mn(Wr,!1);return an.every(function(St){var Vt=St.filteredKeys;return Vt===void 0})?_r:an},[Wr,_r]),zr=i.useCallback(function(){return On(Er)},[Er]),Jr=function(St){var Vt=Er.filter(function(sr){var br=sr.key;return br!==St.key});Vt.push(St),wr(Vt),hn(On(Vt),Vt)},Zr=function(St){return _n(Tr,Pr,St,Er,Jr,tt,jt)};return[Zr,Er,zr]}var di=ni;function Na(rr,Tr){return rr.map(function(Pr){var Wr=o()({},Pr);return Wr.title=Qr(Pr.title,Tr),"children"in Wr&&(Wr.children=Na(Wr.children,Tr)),Wr})}function Qi(rr){var Tr=i.useCallback(function(Pr){return Na(Pr,rr)},[rr]);return[Tr]}function ma(rr){return function(Pr){var Wr,hn=Pr.prefixCls,tt=Pr.onExpand,jt=Pr.record,Jt=Pr.expanded,nr=Pr.expandable,_r="".concat(hn,"-row-expand-icon");return i.createElement("button",{type:"button",onClick:function(Er){tt(jt,Er),Er.stopPropagation()},className:a()(_r,(Wr={},p()(Wr,"".concat(_r,"-spaced"),!nr),p()(Wr,"".concat(_r,"-expanded"),nr&&Jt),p()(Wr,"".concat(_r,"-collapsed"),nr&&!Jt),Wr)),"aria-label":Jt?rr.collapse:rr.expand})}}var Ba=ma,Qa=e("zAh6"),Wi=e("ZvpZ"),Co=Wi.a,aa=e("3Nzz");function Hi(rr){return null}var ga=Hi;function ha(rr){return null}var mo=ha,kn=e("5OYt"),$i=[];function eo(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.style,tt=rr.size,jt=rr.bordered,Jt=rr.dropdownPrefixCls,nr=rr.dataSource,_r=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,zr=rr.rowClassName,Jr=rr.columns,Zr=rr.children,an=rr.childrenColumnName,St=rr.onChange,Vt=rr.getPopupContainer,sr=rr.loading,br=rr.expandIcon,Mr=rr.expandable,Dr=rr.expandedRowRender,rn=rr.expandIconColumnIndex,fn=rr.indentSize,wn=rr.scroll,Hn=rr.sortDirections,Sn=rr.locale,bn=rr.showSorterTooltip,Mn=bn===void 0?!0:bn;Object(Tt.a)(!(typeof Er=="function"&&Er.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(kn.a)(),Rn=i.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(ki){return vn[ki]}));return(Jr||Be(Zr)).filter(function(ki){return!ki.responsive||ki.responsive.some(function(Ra){return Ta.has(Ra)})})},[Zr,Jr,vn]),En=Object(c.default)(rr,["className","style","columns"]),Ln=i.useContext(aa.b),Xn=i.useContext(Y.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=tt||Ln,Oi=o()(o()({},ri.Table),Sn),Un=nr||$i,Ri=i.useContext(Y.b),fa=Ri.getPrefixCls,Ui=fa("table",Pr),Mi=fa("dropdown",Jt),mi=o()({childrenColumnName:an,expandIconColumnIndex:rn},Mr),hi=mi.childrenColumnName,qi=hi===void 0?"children":hi,va=i.useMemo(function(){return Un.some(function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[qi]})?"nest":Dr||Mr&&Mr.expandedRowRender?"row":null},[Un]),Ea={body:i.useRef()},ya=i.useMemo(function(){return typeof Er=="function"?Er:function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[Er]}},[Er]),oa=gt(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(ki,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=o()(o()({},$n),ki);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),_r&&_r.onChange&&_r.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),St&&St(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},Li=function(ki,Ra){Ai({sorter:ki,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:Li,sortDirections:Hn||["ascend","descend"],tableLocale:Oi,showSorterTooltip:Mn}),Xi=h()(Vi,4),bi=Xi[0],Aa=Xi[1],ca=Xi[2],la=Xi[3],gi=i.useMemo(function(){return jr(Un,Aa,qi)},[Un,Aa]);$n.sorter=la(),$n.sorterStates=Aa;var Pa=function(ki,Ra){Ai({filters:ki,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:Oi,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Pa,getPopupContainer:Vt}),ra=h()(Ma,3),Gi=ra[0],Xa=ra[1],Ki=ra[2],zi=jn(gi,Xa);$n.filters=Ki(),$n.filterStates=Xa;var ba=i.useMemo(function(){return o()({},ca)},[ca]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ga=function(ki,Ra){Ai({pagination:o()(o()({},$n.pagination),{current:ki,pageSize:Ra})},"paginate")},Ka=$e(zi.length,_r,Ga),pa=h()(Ka,2),_i=pa[0],So=pa[1];$n.pagination=_r===!1?{}:Le(_r,_i),$n.resetPagination=So;var za=i.useMemo(function(){if(_r===!1||!_i.pageSize)return zi;var Ta=_i.current,ki=Ta===void 0?1:Ta,Ra=_i.total,Vo=_i.pageSize,ro=Vo===void 0?be:Vo;return zi.length<Ra?zi.length>ro?(Object(Tt.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."),zi.slice((ki-1)*ro,ki*ro)):zi:zi.slice((ki-1)*ro,ki*ro)},[!!_r,zi,_i&&_i.current,_i&&_i.pageSize,_i&&_i.total]),ja=Xt(wr,{prefixCls:Ui,data:zi,pageData:za,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:Oi,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(ki,Ra,Vo){var ro;return typeof zr=="function"?ro=a()(zr(ki,Ra,Vo)):ro=a()(zr),a()(p()({},"".concat(Ui,"-row-selected"),Ca.has(ya(ki,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Ba(Oi),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=wr?1:0:mi.expandIconColumnIndex>0&&wr&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var Oo=i.useCallback(function(Ta){return vi(ho(Gi(bi(Ta))))},[bi,Gi,ho]),La,Fi;if(_r!==!1){var Ja;_i.size?Ja=_i.size:Ja=xi==="small"||xi==="middle"?"small":void 0;var Da=function(ki){return i.createElement(ue.a,o()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(ki)},_i,{size:Ja}))},pi=yi==="rtl"?"left":"right";if(_i.position!==null&&Array.isArray(_i.position)){var Yi=_i.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=_i.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Yi&&!oo?Fi=Da(pi):(Yi&&(La=Da(Yi.toLowerCase().replace("top",""))),oo&&(Fi=Da(oo.toLowerCase().replace("bottom",""))))}else Fi=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=o()({spinning:!0},sr));var fo=a()("".concat(Ui,"-wrapper"),Wr,p()({},"".concat(Ui,"-wrapper-rtl"),yi==="rtl"));return i.createElement("div",{className:fo,style:hn},i.createElement(ne.a,o()({spinning:!1},go),La,i.createElement(_t,o()({},En,{columns:Rn,direction:yi,expandable:mi,prefixCls:Ui,className:a()((Tr={},p()(Tr,"".concat(Ui,"-middle"),xi==="middle"),p()(Tr,"".concat(Ui,"-small"),xi==="small"),p()(Tr,"".concat(Ui,"-bordered"),jt),p()(Tr,"".concat(Ui,"-empty"),Un.length===0),Tr)),data:za,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:Xe,internalRefs:Ea,transformColumns:Oo})),zi&&zi.length>0&&Fi))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=ht,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=It;var To=eo,uo=I.a=To},wDdD:function(D,I,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var y=e("d4KN"),p=e("mOdp"),v=e("KS52"),h=e("0/Rx");y("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),g.registerVisual(p("pie")),g.registerLayout(f.curry(v,"pie")),g.registerProcessor(h("pie"))},"wF/u":function(D,I,e){var g=e("e5cp"),f=e("ExA7");function y(p,v,h,u,o){return p===v?!0:p==null||v==null||!f(p)&&!f(v)?p!==p&&v!==v:g(p,v,h,u,y,o)}D.exports=y},wJg7:function(D,I){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(y,p){var v=typeof y;return p=p==null?e:p,!!p&&(v=="number"||v!="symbol"&&g.test(y))&&(y>-1&&y%1==0)&&y<p}D.exports=f},wOnQ:function(D,I,e){/*!
|
|
|
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(g,f){D.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
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
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
|
and limitations under the License.
|
|
|
***************************************************************************** */var g=function(Z,Me){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Je,Ot){Je.__proto__=Ot}||function(Je,Ot){for(var tr in Ot)Ot.hasOwnProperty(tr)&&(Je[tr]=Ot[tr])},g(Z,Me)};function f(qe,Z){g(qe,Z);function Me(){this.constructor=qe}qe.prototype=Z===null?Object.create(Z):(Me.prototype=Z.prototype,new Me)}var y=function(){return y=Object.assign||function(Me){for(var Je,Ot=1,tr=arguments.length;Ot<tr;Ot++){Je=arguments[Ot];for(var vr in Je)Object.prototype.hasOwnProperty.call(Je,vr)&&(Me[vr]=Je[vr])}return Me},y.apply(this,arguments)};function p(qe,Z,Me,Je){return new(Me||(Me=Promise))(function(Ot,tr){function vr(Kr){try{Hr(Je.next(Kr))}catch(cn){tr(cn)}}function Lr(Kr){try{Hr(Je.throw(Kr))}catch(cn){tr(cn)}}function Hr(Kr){Kr.done?Ot(Kr.value):new Me(function(cn){cn(Kr.value)}).then(vr,Lr)}Hr((Je=Je.apply(qe,Z||[])).next())})}function v(qe,Z){var Me={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},Je,Ot,tr,vr;return vr={next:Lr(0),throw:Lr(1),return:Lr(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Lr(Kr){return function(cn){return Hr([Kr,cn])}}function Hr(Kr){if(Je)throw new TypeError("Generator is already executing.");for(;Me;)try{if(Je=1,Ot&&(tr=Kr[0]&2?Ot.return:Kr[0]?Ot.throw||((tr=Ot.return)&&tr.call(Ot),0):Ot.next)&&!(tr=tr.call(Ot,Kr[1])).done)return tr;(Ot=0,tr)&&(Kr=[Kr[0]&2,tr.value]);switch(Kr[0]){case 0:case 1:tr=Kr;break;case 4:return Me.label++,{value:Kr[1],done:!1};case 5:Me.label++,Ot=Kr[1],Kr=[0];continue;case 7:Kr=Me.ops.pop(),Me.trys.pop();continue;default:if(!(tr=Me.trys,tr=tr.length>0&&tr[tr.length-1])&&(Kr[0]===6||Kr[0]===2)){Me=0;continue}if(Kr[0]===3&&(!tr||Kr[1]>tr[0]&&Kr[1]<tr[3])){Me.label=Kr[1];break}if(Kr[0]===6&&Me.label<tr[1]){Me.label=tr[1],tr=Kr;break}if(tr&&Me.label<tr[2]){Me.label=tr[2],Me.ops.push(Kr);break}tr[2]&&Me.ops.pop(),Me.trys.pop();continue}Kr=Z.call(qe,Me)}catch(cn){Kr=[6,cn],Ot=0}finally{Je=tr=0}if(Kr[0]&5)throw Kr[1];return{value:Kr[0]?Kr[1]:void 0,done:!0}}}for(var h=function(){function qe(Z,Me,Je,Ot){this.left=Z,this.top=Me,this.width=Je,this.height=Ot}return qe.prototype.add=function(Z,Me,Je,Ot){return new qe(this.left+Z,this.top+Me,this.width+Je,this.height+Ot)},qe.fromClientRect=function(Z){return new qe(Z.left,Z.top,Z.width,Z.height)},qe}(),u=function(Z){return h.fromClientRect(Z.getBoundingClientRect())},o=function(Z){var Me=Z.body,Je=Z.documentElement;if(!Me||!Je)throw new Error("Unable to get document size");var Ot=Math.max(Math.max(Me.scrollWidth,Je.scrollWidth),Math.max(Me.offsetWidth,Je.offsetWidth),Math.max(Me.clientWidth,Je.clientWidth)),tr=Math.max(Math.max(Me.scrollHeight,Je.scrollHeight),Math.max(Me.offsetHeight,Je.offsetHeight),Math.max(Me.clientHeight,Je.clientHeight));return new h(0,0,Ot,tr)},i=function(Z){for(var Me=[],Je=0,Ot=Z.length;Je<Ot;){var tr=Z.charCodeAt(Je++);if(tr>=55296&&tr<=56319&&Je<Ot){var vr=Z.charCodeAt(Je++);(vr&64512)===56320?Me.push(((tr&1023)<<10)+(vr&1023)+65536):(Me.push(tr),Je--)}else Me.push(tr)}return Me},r=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Z);var Je=Z.length;if(!Je)return"";for(var Ot=[],tr=-1,vr="";++tr<Je;){var Lr=Z[tr];Lr<=65535?Ot.push(Lr):(Lr-=65536,Ot.push((Lr>>10)+55296,Lr%1024+56320)),(tr+1===Je||Ot.length>16384)&&(vr+=String.fromCharCode.apply(String,Ot),Ot.length=0)}return vr},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<a.length;n++)c[a.charCodeAt(n)]=n;var l=function(Z){var Me=Z.length*.75,Je=Z.length,Ot,tr=0,vr,Lr,Hr,Kr;Z[Z.length-1]==="="&&(Me--,Z[Z.length-2]==="="&&Me--);var cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Me):new Array(Me),sn=Array.isArray(cn)?cn:new Uint8Array(cn);for(Ot=0;Ot<Je;Ot+=4)vr=c[Z.charCodeAt(Ot)],Lr=c[Z.charCodeAt(Ot+1)],Hr=c[Z.charCodeAt(Ot+2)],Kr=c[Z.charCodeAt(Ot+3)],sn[tr++]=vr<<2|Lr>>4,sn[tr++]=(Lr&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|Kr&63;return cn},t=function(Z){for(var Me=Z.length,Je=[],Ot=0;Ot<Me;Ot+=2)Je.push(Z[Ot+1]<<8|Z[Ot]);return Je},s=function(Z){for(var Me=Z.length,Je=[],Ot=0;Ot<Me;Ot+=4)Je.push(Z[Ot+3]<<24|Z[Ot+2]<<16|Z[Ot+1]<<8|Z[Ot]);return Je},d=5,m=6+5,w=2,b=m-d,E=65536>>d,A=1<<d,S=A-1,T=1024>>d,O=E+T,x=O,C=2048>>6,_=x+C,N=65536>>m,F=1<<b,k=F-1,P=function(Z,Me,Je){return Z.slice?Z.slice(Me,Je):new Uint16Array(Array.prototype.slice.call(Z,Me,Je))},j=function(Z,Me,Je){return Z.slice?Z.slice(Me,Je):new Uint32Array(Array.prototype.slice.call(Z,Me,Je))},K=function(Z){var Me=l(Z),Je=Array.isArray(Me)?s(Me):new Uint32Array(Me),Ot=Array.isArray(Me)?t(Me):new Uint16Array(Me),tr=24,vr=P(Ot,tr/2,Je[4]/2),Lr=Je[5]===2?P(Ot,(tr+Je[4])/2):j(Je,Math.ceil((tr+Je[4])/4));return new R(Je[0],Je[1],Je[2],Je[3],vr,Lr)},R=function(){function qe(Z,Me,Je,Ot,tr,vr){this.initialValue=Z,this.errorValue=Me,this.highStart=Je,this.highValueIndex=Ot,this.index=tr,this.data=vr}return qe.prototype.get=function(Z){var Me;if(Z>=0){if(Z<55296||Z>56319&&Z<=65535)return Me=this.index[Z>>d],Me=(Me<<w)+(Z&S),this.data[Me];if(Z<=65535)return Me=this.index[E+(Z-55296>>d)],Me=(Me<<w)+(Z&S),this.data[Me];if(Z<this.highStart)return Me=_-N+(Z>>m),Me=this.index[Me],Me+=Z>>d&k,Me=this.index[Me],Me=(Me<<w)+(Z&S),this.data[Me];if(Z<=1114111)return this.data[this.highValueIndex]}return this.errorValue},qe}(),B="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",U=50,H=1,W=2,V=3,z=4,X=5,q=7,fe=8,G=9,ve=10,Se=11,ge=12,Pe=13,Ge=14,pt=15,Te=16,xe=17,lt=18,Ie=19,de=20,ee=21,se=22,ke=23,Ce=24,ze=25,_e=26,ae=27,me=28,Oe=29,Ze=30,vt=31,Ct=32,Be=33,Rt=34,He=35,wt=36,Ye=37,et=38,rt=39,st=40,Ve=41,ie=42,$=43,it="!",Qe="\xD7",ye="\xF7",Zt=K(B),dt=[Ze,wt],ct=[H,W,V,X],yt=[ve,fe],It=[ae,_e],or=ct.concat(yt),Bt=[et,rt,st,Rt,He],Ae=[pt,Pe],pe=function(Z,Me){Me===void 0&&(Me="strict");var Je=[],Ot=[],tr=[];return Z.forEach(function(vr,Lr){var Hr=Zt.get(vr);if(Hr>U?(tr.push(!0),Hr-=U):tr.push(!1),["normal","auto","loose"].indexOf(Me)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Ot.push(Lr),Je.push(Te);if(Hr===z||Hr===Se){if(Lr===0)return Ot.push(Lr),Je.push(Ze);var Kr=Je[Lr-1];return or.indexOf(Kr)===-1?(Ot.push(Ot[Lr-1]),Je.push(Kr)):(Ot.push(Lr),Je.push(Ze))}if(Ot.push(Lr),Hr===vt)return Je.push(Me==="strict"?ee:Ye);if(Hr===ie)return Je.push(Ze);if(Hr===Oe)return Je.push(Ze);if(Hr===$)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?Je.push(Ye):Je.push(Ze);Je.push(Hr)}),[Ot,Je,tr]},he=function(Z,Me,Je,Ot){var tr=Ot[Je];if(Array.isArray(Z)?Z.indexOf(tr)!==-1:Z===tr)for(var vr=Je;vr<=Ot.length;){vr++;var Lr=Ot[vr];if(Lr===Me)return!0;if(Lr!==ve)break}if(tr===ve)for(var vr=Je;vr>0;){vr--;var Hr=Ot[vr];if(Array.isArray(Z)?Z.indexOf(Hr)!==-1:Z===Hr)for(var Kr=Je;Kr<=Ot.length;){Kr++;var Lr=Ot[Kr];if(Lr===Me)return!0;if(Lr!==ve)break}if(Hr!==ve)break}return!1},le=function(Z,Me){for(var Je=Z;Je>=0;){var Ot=Me[Je];if(Ot===ve)Je--;else return Ot}return 0},Ne=function(Z,Me,Je,Ot,tr){if(Je[Ot]===0)return Qe;var vr=Ot-1;if(Array.isArray(tr)&&tr[vr]===!0)return Qe;var Lr=vr-1,Hr=vr+1,Kr=Me[vr],cn=Lr>=0?Me[Lr]:0,sn=Me[Hr];if(Kr===W&&sn===V)return Qe;if(ct.indexOf(Kr)!==-1)return it;if(ct.indexOf(sn)!==-1)return Qe;if(yt.indexOf(sn)!==-1)return Qe;if(le(vr,Me)===fe)return ye;if(Zt.get(Z[vr])===Se&&(sn===Ye||sn===Ct||sn===Be))return Qe;if(Kr===q||sn===q)return Qe;if(Kr===G)return Qe;if([ve,Pe,pt].indexOf(Kr)===-1&&sn===G)return Qe;if([xe,lt,Ie,Ce,me].indexOf(sn)!==-1)return Qe;if(le(vr,Me)===se)return Qe;if(he(ke,se,vr,Me))return Qe;if(he([xe,lt],ee,vr,Me))return Qe;if(he(ge,ge,vr,Me))return Qe;if(Kr===ve)return ye;if(Kr===ke||sn===ke)return Qe;if(sn===Te||Kr===Te)return ye;if([Pe,pt,ee].indexOf(sn)!==-1||Kr===Ge)return Qe;if(cn===wt&&Ae.indexOf(Kr)!==-1)return Qe;if(Kr===me&&sn===wt)return Qe;if(sn===de&&dt.concat(de,Ie,ze,Ye,Ct,Be).indexOf(Kr)!==-1)return Qe;if(dt.indexOf(sn)!==-1&&Kr===ze||dt.indexOf(Kr)!==-1&&sn===ze)return Qe;if(Kr===ae&&[Ye,Ct,Be].indexOf(sn)!==-1||[Ye,Ct,Be].indexOf(Kr)!==-1&&sn===_e)return Qe;if(dt.indexOf(Kr)!==-1&&It.indexOf(sn)!==-1||It.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return Qe;if([ae,_e].indexOf(Kr)!==-1&&(sn===ze||[se,pt].indexOf(sn)!==-1&&Me[Hr+1]===ze)||[se,pt].indexOf(Kr)!==-1&&sn===ze||Kr===ze&&[ze,me,Ce].indexOf(sn)!==-1)return Qe;if([ze,me,Ce,xe,lt].indexOf(sn)!==-1)for(var Fn=vr;Fn>=0;){var si=Me[Fn];if(si===ze)return Qe;if([me,Ce].indexOf(si)!==-1)Fn--;else break}if([ae,_e].indexOf(sn)!==-1)for(var Fn=[xe,lt].indexOf(Kr)!==-1?Lr:vr;Fn>=0;){var si=Me[Fn];if(si===ze)return Qe;if([me,Ce].indexOf(si)!==-1)Fn--;else break}if(et===Kr&&[et,rt,Rt,He].indexOf(sn)!==-1||[rt,Rt].indexOf(Kr)!==-1&&[rt,st].indexOf(sn)!==-1||[st,He].indexOf(Kr)!==-1&&sn===st)return Qe;if(Bt.indexOf(Kr)!==-1&&[de,_e].indexOf(sn)!==-1||Bt.indexOf(sn)!==-1&&Kr===ae)return Qe;if(dt.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return Qe;if(Kr===Ce&&dt.indexOf(sn)!==-1)return Qe;if(dt.concat(ze).indexOf(Kr)!==-1&&sn===se||dt.concat(ze).indexOf(sn)!==-1&&Kr===lt)return Qe;if(Kr===Ve&&sn===Ve){for(var Kn=Je[vr],fi=1;Kn>0&&(Kn--,Me[Kn]===Ve);)fi++;if(fi%2!==0)return Qe}return Kr===Ct&&sn===Be?Qe:ye},je=function(Z,Me){Me||(Me={lineBreak:"normal",wordBreak:"normal"});var Je=pe(Z,Me.lineBreak),Ot=Je[0],tr=Je[1],vr=Je[2];(Me.wordBreak==="break-all"||Me.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[ze,Ze,ie].indexOf(Hr)!==-1?Ye:Hr}));var Lr=Me.wordBreak==="keep-all"?vr.map(function(Hr,Kr){return Hr&&Z[Kr]>=19968&&Z[Kr]<=40959}):void 0;return[Ot,tr,Lr]},Ke=function(){function qe(Z,Me,Je,Ot){this.codePoints=Z,this.required=Me===it,this.start=Je,this.end=Ot}return qe.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},qe}(),Xe=function(Z,Me){var Je=i(Z),Ot=je(Je,Me),tr=Ot[0],vr=Ot[1],Lr=Ot[2],Hr=Je.length,Kr=0,cn=0;return{next:function(){if(cn>=Hr)return{done:!0,value:null};for(var Fn=Qe;cn<Hr&&(Fn=Ne(Je,vr,tr,++cn,Lr))===Qe;);if(Fn!==Qe||cn===Hr){var si=new Ke(Je,Fn,Kr,cn);return Kr=cn,{value:si,done:!1}}return{done:!0,value:null}}}},Fe;(function(qe){qe[qe.STRING_TOKEN=0]="STRING_TOKEN",qe[qe.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",qe[qe.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",qe[qe.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",qe[qe.COMMA_TOKEN=4]="COMMA_TOKEN",qe[qe.HASH_TOKEN=5]="HASH_TOKEN",qe[qe.DELIM_TOKEN=6]="DELIM_TOKEN",qe[qe.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",qe[qe.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",qe[qe.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",qe[qe.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",qe[qe.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",qe[qe.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",qe[qe.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",qe[qe.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",qe[qe.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",qe[qe.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",qe[qe.NUMBER_TOKEN=17]="NUMBER_TOKEN",qe[qe.FUNCTION=18]="FUNCTION",qe[qe.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",qe[qe.IDENT_TOKEN=20]="IDENT_TOKEN",qe[qe.COLUMN_TOKEN=21]="COLUMN_TOKEN",qe[qe.URL_TOKEN=22]="URL_TOKEN",qe[qe.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",qe[qe.CDC_TOKEN=24]="CDC_TOKEN",qe[qe.CDO_TOKEN=25]="CDO_TOKEN",qe[qe.COLON_TOKEN=26]="COLON_TOKEN",qe[qe.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",qe[qe.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",qe[qe.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",qe[qe.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",qe[qe.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",qe[qe.EOF_TOKEN=32]="EOF_TOKEN"})(Fe||(Fe={}));var nt=1<<0,At=1<<1,_t=1<<2,ne=1<<3,ue=10,Y=47,te=92,be=9,Le=32,Re=34,$e=61,gt=35,Wt=36,$t=37,Dt=39,Kt=40,Yt=41,Qt=95,Mt=45,dr=33,er=60,ot=62,xt=64,ut=91,ft=93,Lt=61,Tt=123,ht=63,Ht=125,Ft=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,Fr=44,tn=58,qr=59,Or=46,Qr=0,Ir=8,ur=11,pr=14,cr=31,fr=127,xr=-1,Gr=48,un=97,Nn=101,jr=102,Tn=117,gn=122,Pn=65,zn=69,qn=70,Gn=85,Vn=90,An=function(Z){return Z>=Gr&&Z<=57},on=function(Z){return Z>=55296&&Z<=57343},ia=function(Z){return An(Z)||Z>=Pn&&Z<=qn||Z>=un&&Z<=jr},xa=function(Z){return Z>=un&&Z<=gn},ta=function(Z){return Z>=Pn&&Z<=Vn},Ii=function(Z){return xa(Z)||ta(Z)},Ci=function(Z){return Z>=Xt},Yn=function(Z){return Z===ue||Z===be||Z===Le},_a=function(Z){return Ii(Z)||Ci(Z)||Z===Qt},mn=function(Z){return _a(Z)||An(Z)||Z===Mt},_n=function(Z){return Z>=Qr&&Z<=Ir||Z===ur||Z>=pr&&Z<=cr||Z===fr},On=function(Z,Me){return Z!==te?!1:Me!==ue},In=function(Z,Me,Je){return Z===Mt?_a(Me)||On(Me,Je):_a(Z)?!0:!!(Z===te&&On(Z,Me))},jn=function(Z,Me,Je){return Z===Nr||Z===Mt?An(Me)?!0:Me===Or&&An(Je):Z===Or?An(Me):An(Z)},ni=function(Z){var Me=0,Je=1;(Z[Me]===Nr||Z[Me]===Mt)&&(Z[Me]===Mt&&(Je=-1),Me++);for(var Ot=[];An(Z[Me]);)Ot.push(Z[Me++]);var tr=Ot.length?parseInt(r.apply(void 0,Ot),10):0;Z[Me]===Or&&Me++;for(var vr=[];An(Z[Me]);)vr.push(Z[Me++]);var Lr=vr.length,Hr=Lr?parseInt(r.apply(void 0,vr),10):0;(Z[Me]===zn||Z[Me]===Nn)&&Me++;var Kr=1;(Z[Me]===Nr||Z[Me]===Mt)&&(Z[Me]===Mt&&(Kr=-1),Me++);for(var cn=[];An(Z[Me]);)cn.push(Z[Me++]);var sn=cn.length?parseInt(r.apply(void 0,cn),10):0;return Je*(tr+Hr*Math.pow(10,-Lr))*Math.pow(10,Kr*sn)},di={type:Fe.LEFT_PARENTHESIS_TOKEN},Na={type:Fe.RIGHT_PARENTHESIS_TOKEN},Qi={type:Fe.COMMA_TOKEN},ma={type:Fe.SUFFIX_MATCH_TOKEN},Ba={type:Fe.PREFIX_MATCH_TOKEN},Qa={type:Fe.COLUMN_TOKEN},Wi={type:Fe.DASH_MATCH_TOKEN},Co={type:Fe.INCLUDE_MATCH_TOKEN},aa={type:Fe.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Fe.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Fe.SUBSTRING_MATCH_TOKEN},ha={type:Fe.BAD_URL_TOKEN},mo={type:Fe.BAD_STRING_TOKEN},kn={type:Fe.CDO_TOKEN},$i={type:Fe.CDC_TOKEN},eo={type:Fe.COLON_TOKEN},To={type:Fe.SEMICOLON_TOKEN},uo={type:Fe.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Fe.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Fe.WHITESPACE_TOKEN},Pr={type:Fe.EOF_TOKEN},Wr=function(){function qe(){this._value=[]}return qe.prototype.write=function(Z){this._value=this._value.concat(i(Z))},qe.prototype.read=function(){for(var Z=[],Me=this.consumeToken();Me!==Pr;)Z.push(Me),Me=this.consumeToken();return Z},qe.prototype.consumeToken=function(){var Z=this.consumeCodePoint();switch(Z){case Re:return this.consumeStringToken(Re);case gt:var Me=this.peekCodePoint(0),Je=this.peekCodePoint(1),Ot=this.peekCodePoint(2);if(mn(Me)||On(Je,Ot)){var tr=In(Me,Je,Ot)?At:nt,vr=this.consumeName();return{type:Fe.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ma;break;case Dt:return this.consumeStringToken(Dt);case Kt:return di;case Yt:return Na;case Ar:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ga;break;case Nr:if(jn(Z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Z),this.consumeNumericToken();break;case Fr:return Qi;case Mt:var Lr=Z,Hr=this.peekCodePoint(0),Kr=this.peekCodePoint(1);if(jn(Lr,Hr,Kr))return this.reconsumeCodePoint(Z),this.consumeNumericToken();if(In(Lr,Hr,Kr))return this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();if(Hr===Mt&&Kr===ot)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case Or:if(jn(Z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Z),this.consumeNumericToken();break;case Y:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var cn=this.consumeCodePoint();if(cn===Ar&&(cn=this.consumeCodePoint(),cn===Y))return this.consumeToken();if(cn===xr)return this.consumeToken()}break;case tn:return eo;case qr:return To;case er:if(this.peekCodePoint(0)===dr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),kn;break;case xt:var sn=this.peekCodePoint(0),Fn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(In(sn,Fn,si)){var vr=this.consumeName();return{type:Fe.AT_KEYWORD_TOKEN,value:vr}}break;case ut:return uo;case te:if(On(Z,this.peekCodePoint(0)))return this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();break;case ft:return rr;case Lt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Ba;break;case Tt:return aa;case Ht:return Hi;case Tn:case Gn:var Kn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return Kn===Nr&&(ia(fi)||fi===ht)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Z),this.consumeIdentLikeToken();case Ft:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===Ft)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Co;break;case xr:return Pr}return Yn(Z)?(this.consumeWhiteSpace(),Tr):An(Z)?(this.reconsumeCodePoint(Z),this.consumeNumericToken()):_a(Z)?(this.reconsumeCodePoint(Z),this.consumeIdentLikeToken()):{type:Fe.DELIM_TOKEN,value:r(Z)}},qe.prototype.consumeCodePoint=function(){var Z=this._value.shift();return typeof Z=="undefined"?-1:Z},qe.prototype.reconsumeCodePoint=function(Z){this._value.unshift(Z)},qe.prototype.peekCodePoint=function(Z){return Z>=this._value.length?-1:this._value[Z]},qe.prototype.consumeUnicodeRangeToken=function(){for(var Z=[],Me=this.consumeCodePoint();ia(Me)&&Z.length<6;)Z.push(Me),Me=this.consumeCodePoint();for(var Je=!1;Me===ht&&Z.length<6;)Z.push(Me),Me=this.consumeCodePoint(),Je=!0;if(Je){var Ot=parseInt(r.apply(void 0,Z.map(function(Hr){return Hr===ht?Gr:Hr})),16),tr=parseInt(r.apply(void 0,Z.map(function(Hr){return Hr===ht?qn:Hr})),16);return{type:Fe.UNICODE_RANGE_TOKEN,start:Ot,end:tr}}var vr=parseInt(r.apply(void 0,Z),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),Me=this.consumeCodePoint();for(var Lr=[];ia(Me)&&Lr.length<6;)Lr.push(Me),Me=this.consumeCodePoint();var tr=parseInt(r.apply(void 0,Lr),16);return{type:Fe.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Fe.UNICODE_RANGE_TOKEN,start:vr,end:vr}},qe.prototype.consumeIdentLikeToken=function(){var Z=this.consumeName();return Z.toLowerCase()==="url"&&this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:Fe.FUNCTION_TOKEN,value:Z}):{type:Fe.IDENT_TOKEN,value:Z}},qe.prototype.consumeUrlToken=function(){var Z=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Fe.URL_TOKEN,value:""};var Me=this.peekCodePoint(0);if(Me===Dt||Me===Re){var Je=this.consumeStringToken(this.consumeCodePoint());return Je.type===Fe.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Yt)?(this.consumeCodePoint(),{type:Fe.URL_TOKEN,value:Je.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Ot=this.consumeCodePoint();if(Ot===xr||Ot===Yt)return{type:Fe.URL_TOKEN,value:r.apply(void 0,Z)};if(Yn(Ot))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Yt?(this.consumeCodePoint(),{type:Fe.URL_TOKEN,value:r.apply(void 0,Z)}):(this.consumeBadUrlRemnants(),ha);if(Ot===Re||Ot===Dt||Ot===Kt||_n(Ot))return this.consumeBadUrlRemnants(),ha;if(Ot===te)if(On(Ot,this.peekCodePoint(0)))Z.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else Z.push(Ot)}},qe.prototype.consumeWhiteSpace=function(){for(;Yn(this.peekCodePoint(0));)this.consumeCodePoint()},qe.prototype.consumeBadUrlRemnants=function(){for(;;){var Z=this.consumeCodePoint();if(Z===Yt||Z===xr)return;On(Z,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},qe.prototype.consumeStringSlice=function(Z){for(var Me=6e4,Je="";Z>0;){var Ot=Math.min(Me,Z);Je+=r.apply(void 0,this._value.splice(0,Ot)),Z-=Ot}return this._value.shift(),Je},qe.prototype.consumeStringToken=function(Z){var Me="",Je=0;do{var Ot=this._value[Je];if(Ot===xr||Ot===void 0||Ot===Z)return Me+=this.consumeStringSlice(Je),{type:Fe.STRING_TOKEN,value:Me};if(Ot===ue)return this._value.splice(0,Je),mo;if(Ot===te){var tr=this._value[Je+1];tr!==xr&&tr!==void 0&&(tr===ue?(Me+=this.consumeStringSlice(Je),Je=-1,this._value.shift()):On(Ot,tr)&&(Me+=this.consumeStringSlice(Je),Me+=r(this.consumeEscapedCodePoint()),Je=-1))}Je++}while(!0)},qe.prototype.consumeNumber=function(){var Z=[],Me=_t,Je=this.peekCodePoint(0);for((Je===Nr||Je===Mt)&&Z.push(this.consumeCodePoint());An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());Je=this.peekCodePoint(0);var Ot=this.peekCodePoint(1);if(Je===Or&&An(Ot))for(Z.push(this.consumeCodePoint(),this.consumeCodePoint()),Me=ne;An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());Je=this.peekCodePoint(0),Ot=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((Je===zn||Je===Nn)&&((Ot===Nr||Ot===Mt)&&An(tr)||An(Ot)))for(Z.push(this.consumeCodePoint(),this.consumeCodePoint()),Me=ne;An(this.peekCodePoint(0));)Z.push(this.consumeCodePoint());return[ni(Z),Me]},qe.prototype.consumeNumericToken=function(){var Z=this.consumeNumber(),Me=Z[0],Je=Z[1],Ot=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(In(Ot,tr,vr)){var Lr=this.consumeName();return{type:Fe.DIMENSION_TOKEN,number:Me,flags:Je,unit:Lr}}return Ot===$t?(this.consumeCodePoint(),{type:Fe.PERCENTAGE_TOKEN,number:Me,flags:Je}):{type:Fe.NUMBER_TOKEN,number:Me,flags:Je}},qe.prototype.consumeEscapedCodePoint=function(){var Z=this.consumeCodePoint();if(ia(Z)){for(var Me=r(Z);ia(this.peekCodePoint(0))&&Me.length<6;)Me+=r(this.consumeCodePoint());Yn(this.peekCodePoint(0))&&this.consumeCodePoint();var Je=parseInt(Me,16);return Je===0||on(Je)||Je>1114111?mr:Je}return Z===xr?mr:Z},qe.prototype.consumeName=function(){for(var Z="";;){var Me=this.consumeCodePoint();if(mn(Me))Z+=r(Me);else if(On(Me,this.peekCodePoint(0)))Z+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Me),Z}},qe}(),hn=function(){function qe(Z){this._tokens=Z}return qe.create=function(Z){var Me=new Wr;return Me.write(Z),new qe(Me.read())},qe.parseValue=function(Z){return qe.create(Z).parseComponentValue()},qe.parseValues=function(Z){return qe.create(Z).parseComponentValues()},qe.prototype.parseComponentValue=function(){for(var Z=this.consumeToken();Z.type===Fe.WHITESPACE_TOKEN;)Z=this.consumeToken();if(Z.type===Fe.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Z);var Me=this.consumeComponentValue();do Z=this.consumeToken();while(Z.type===Fe.WHITESPACE_TOKEN);if(Z.type===Fe.EOF_TOKEN)return Me;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},qe.prototype.parseComponentValues=function(){for(var Z=[];;){var Me=this.consumeComponentValue();if(Me.type===Fe.EOF_TOKEN)return Z;Z.push(Me),Z.push()}},qe.prototype.consumeComponentValue=function(){var Z=this.consumeToken();switch(Z.type){case Fe.LEFT_CURLY_BRACKET_TOKEN:case Fe.LEFT_SQUARE_BRACKET_TOKEN:case Fe.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(Z.type);case Fe.FUNCTION_TOKEN:return this.consumeFunction(Z)}return Z},qe.prototype.consumeSimpleBlock=function(Z){for(var Me={type:Z,values:[]},Je=this.consumeToken();;){if(Je.type===Fe.EOF_TOKEN||Jr(Je,Z))return Me;this.reconsumeToken(Je),Me.values.push(this.consumeComponentValue()),Je=this.consumeToken()}},qe.prototype.consumeFunction=function(Z){for(var Me={name:Z.value,values:[],type:Fe.FUNCTION};;){var Je=this.consumeToken();if(Je.type===Fe.EOF_TOKEN||Je.type===Fe.RIGHT_PARENTHESIS_TOKEN)return Me;this.reconsumeToken(Je),Me.values.push(this.consumeComponentValue())}},qe.prototype.consumeToken=function(){var Z=this._tokens.shift();return typeof Z=="undefined"?Pr:Z},qe.prototype.reconsumeToken=function(Z){this._tokens.unshift(Z)},qe}(),tt=function(Z){return Z.type===Fe.DIMENSION_TOKEN},jt=function(Z){return Z.type===Fe.NUMBER_TOKEN},Jt=function(Z){return Z.type===Fe.IDENT_TOKEN},nr=function(Z){return Z.type===Fe.STRING_TOKEN},_r=function(Z,Me){return Jt(Z)&&Z.value===Me},wr=function(Z){return Z.type!==Fe.WHITESPACE_TOKEN},Er=function(Z){return Z.type!==Fe.WHITESPACE_TOKEN&&Z.type!==Fe.COMMA_TOKEN},zr=function(Z){var Me=[],Je=[];return Z.forEach(function(Ot){if(Ot.type===Fe.COMMA_TOKEN){if(Je.length===0)throw new Error("Error parsing function args, zero tokens for arg");Me.push(Je),Je=[];return}Ot.type!==Fe.WHITESPACE_TOKEN&&Je.push(Ot)}),Je.length&&Me.push(Je),Me},Jr=function(Z,Me){return Me===Fe.LEFT_CURLY_BRACKET_TOKEN&&Z.type===Fe.RIGHT_CURLY_BRACKET_TOKEN||Me===Fe.LEFT_SQUARE_BRACKET_TOKEN&&Z.type===Fe.RIGHT_SQUARE_BRACKET_TOKEN?!0:Me===Fe.LEFT_PARENTHESIS_TOKEN&&Z.type===Fe.RIGHT_PARENTHESIS_TOKEN},Zr=function(Z){return Z.type===Fe.NUMBER_TOKEN||Z.type===Fe.DIMENSION_TOKEN},an=function(Z){return Z.type===Fe.PERCENTAGE_TOKEN||Zr(Z)},St=function(Z){return Z.length>1?[Z[0],Z[1]]:[Z[0]]},Vt={type:Fe.NUMBER_TOKEN,number:0,flags:_t},sr={type:Fe.PERCENTAGE_TOKEN,number:50,flags:_t},br={type:Fe.PERCENTAGE_TOKEN,number:100,flags:_t},Mr=function(Z,Me,Je){var Ot=Z[0],tr=Z[1];return[Dr(Ot,Me),Dr(typeof tr!="undefined"?tr:Ot,Je)]},Dr=function(Z,Me){if(Z.type===Fe.PERCENTAGE_TOKEN)return Z.number/100*Me;if(tt(Z))switch(Z.unit){case"rem":case"em":return 16*Z.number;case"px":default:return Z.number}return Z.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(Z){if(Z.type===Fe.DIMENSION_TOKEN)switch(Z.unit){case rn:return Math.PI*Z.number/180;case fn:return Math.PI/200*Z.number;case wn:return Z.number;case Hn:return Math.PI*2*Z.number}throw new Error("Unsupported angle type")}},bn=function(Z){return Z.type===Fe.DIMENSION_TOKEN&&(Z.unit===rn||Z.unit===fn||Z.unit===wn||Z.unit===Hn)},Mn=function(Z){var Me=Z.filter(Jt).map(function(Je){return Je.value}).join(" ");switch(Me){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,br];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[br,br];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[br,Vt];case"to left":case"right":return vn(270)}return 0},vn=function(Z){return Math.PI*Z/180},Rn={name:"color",parse:function(Z){if(Z.type===Fe.FUNCTION){var Me=xi[Z.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Z.name+'"');return Me(Z.values)}if(Z.type===Fe.HASH_TOKEN){if(Z.value.length===3){var Je=Z.value.substring(0,1),Ot=Z.value.substring(1,2),tr=Z.value.substring(2,3);return Xn(parseInt(Je+Je,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),1)}if(Z.value.length===4){var Je=Z.value.substring(0,1),Ot=Z.value.substring(1,2),tr=Z.value.substring(2,3),vr=Z.value.substring(3,4);return Xn(parseInt(Je+Je,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(Z.value.length===6){var Je=Z.value.substring(0,2),Ot=Z.value.substring(2,4),tr=Z.value.substring(4,6);return Xn(parseInt(Je,16),parseInt(Ot,16),parseInt(tr,16),1)}if(Z.value.length===8){var Je=Z.value.substring(0,2),Ot=Z.value.substring(2,4),tr=Z.value.substring(4,6),vr=Z.value.substring(6,8);return Xn(parseInt(Je,16),parseInt(Ot,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(Z.type===Fe.IDENT_TOKEN){var Lr=Oi[Z.value.toUpperCase()];if(typeof Lr!="undefined")return Lr}return Oi.TRANSPARENT}},En=function(Z){return(255&Z)===0},Ln=function(Z){var Me=255&Z,Je=255&Z>>8,Ot=255&Z>>16,tr=255&Z>>24;return Me<255?"rgba("+tr+","+Ot+","+Je+","+Me/255+")":"rgb("+tr+","+Ot+","+Je+")"},Xn=function(Z,Me,Je,Ot){return(Z<<24|Me<<16|Je<<8|Math.round(Ot*255)<<0)>>>0},ai=function(Z,Me){if(Z.type===Fe.NUMBER_TOKEN)return Z.number;if(Z.type===Fe.PERCENTAGE_TOKEN){var Je=Me===3?1:255;return Me===3?Z.number/100*Je:Math.round(Z.number/100*Je)}return 0},ri=function(Z){var Me=Z.filter(Er);if(Me.length===3){var Je=Me.map(ai),Ot=Je[0],tr=Je[1],vr=Je[2];return Xn(Ot,tr,vr,1)}if(Me.length===4){var Lr=Me.map(ai),Ot=Lr[0],tr=Lr[1],vr=Lr[2],Hr=Lr[3];return Xn(Ot,tr,vr,Hr)}return 0};function Di(qe,Z,Me){return Me<0&&(Me+=1),Me>=1&&(Me-=1),Me<1/6?(Z-qe)*Me*6+qe:Me<1/2?Z:Me<2/3?(Z-qe)*6*(2/3-Me)+qe:qe}var yi=function(Z){var Me=Z.filter(Er),Je=Me[0],Ot=Me[1],tr=Me[2],vr=Me[3],Lr=(Je.type===Fe.NUMBER_TOKEN?vn(Je.number):Sn.parse(Je))/(Math.PI*2),Hr=an(Ot)?Ot.number/100:0,Kr=an(tr)?tr.number/100:0,cn=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(Kr*255,Kr*255,Kr*255,1);var sn=Kr<=.5?Kr*(Hr+1):Kr+Hr-Kr*Hr,Fn=Kr*2-sn,si=Di(Fn,sn,Lr+1/3),Kn=Di(Fn,sn,Lr),fi=Di(Fn,sn,Lr-1/3);return Xn(si*255,Kn*255,fi*255,cn)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},Oi={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},Un;(function(qe){qe[qe.VALUE=0]="VALUE",qe[qe.LIST=1]="LIST",qe[qe.IDENT_VALUE=2]="IDENT_VALUE",qe[qe.TYPE_VALUE=3]="TYPE_VALUE",qe[qe.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function(qe){qe[qe.BORDER_BOX=0]="BORDER_BOX",qe[qe.PADDING_BOX=1]="PADDING_BOX",qe[qe.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(Z){return Z.map(function(Me){if(Jt(Me))switch(Me.value){case"padding-box":return Ri.PADDING_BOX;case"content-box":return Ri.CONTENT_BOX}return Ri.BORDER_BOX})}},Ui={name:"background-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Mi=function(Z){var Me=Rn.parse(Z[0]),Je=Z[1];return Je&&an(Je)?{color:Me,stop:Je}:{color:Me,stop:null}},mi=function(Z,Me){var Je=Z[0],Ot=Z[Z.length-1];Je.stop===null&&(Je.stop=Vt),Ot.stop===null&&(Ot.stop=br);for(var tr=[],vr=0,Lr=0;Lr<Z.length;Lr++){var Hr=Z[Lr].stop;if(Hr!==null){var Kr=Dr(Hr,Me);Kr>vr?tr.push(Kr):tr.push(vr),vr=Kr}else tr.push(null)}for(var cn=null,Lr=0;Lr<tr.length;Lr++){var sn=tr[Lr];if(sn===null)cn===null&&(cn=Lr);else if(cn!==null){for(var Fn=Lr-cn,si=tr[cn-1],Kn=(sn-si)/(Fn+1),fi=1;fi<=Fn;fi++)tr[cn+fi-1]=Kn*fi;cn=null}}return Z.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/Me),0)}})},hi=function(Z,Me,Je){var Ot=Me/2,tr=Je/2,vr=Dr(Z[0],Me)-Ot,Lr=tr-Dr(Z[1],Je);return(Math.atan2(Lr,vr)+Math.PI*2)%(Math.PI*2)},qi=function(Z,Me,Je){var Ot=typeof Z=="number"?Z:hi(Z,Me,Je),tr=Math.abs(Me*Math.sin(Ot))+Math.abs(Je*Math.cos(Ot)),vr=Me/2,Lr=Je/2,Hr=tr/2,Kr=Math.sin(Ot-Math.PI/2)*Hr,cn=Math.cos(Ot-Math.PI/2)*Hr;return[tr,vr-cn,vr+cn,Lr-Kr,Lr+Kr]},va=function(Z,Me){return Math.sqrt(Z*Z+Me*Me)},Ea=function(Z,Me,Je,Ot,tr){var vr=[[0,0],[0,Me],[Z,0],[Z,Me]];return vr.reduce(function(Lr,Hr){var Kr=Hr[0],cn=Hr[1],sn=va(Je-Kr,Ot-cn);return(tr?sn<Lr.optimumDistance:sn>Lr.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Lr},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(Z,Me,Je,Ot,tr){var vr=0,Lr=0;switch(Z.size){case Fi.CLOSEST_SIDE:Z.shape===La.CIRCLE?vr=Lr=Math.min(Math.abs(Me),Math.abs(Me-Ot),Math.abs(Je),Math.abs(Je-tr)):Z.shape===La.ELLIPSE&&(vr=Math.min(Math.abs(Me),Math.abs(Me-Ot)),Lr=Math.min(Math.abs(Je),Math.abs(Je-tr)));break;case Fi.CLOSEST_CORNER:if(Z.shape===La.CIRCLE)vr=Lr=Math.min(va(Me,Je),va(Me,Je-tr),va(Me-Ot,Je),va(Me-Ot,Je-tr));else if(Z.shape===La.ELLIPSE){var Hr=Math.min(Math.abs(Je),Math.abs(Je-tr))/Math.min(Math.abs(Me),Math.abs(Me-Ot)),Kr=Ea(Ot,tr,Me,Je,!0),cn=Kr[0],sn=Kr[1];vr=va(cn-Me,(sn-Je)/Hr),Lr=Hr*vr}break;case Fi.FARTHEST_SIDE:Z.shape===La.CIRCLE?vr=Lr=Math.max(Math.abs(Me),Math.abs(Me-Ot),Math.abs(Je),Math.abs(Je-tr)):Z.shape===La.ELLIPSE&&(vr=Math.max(Math.abs(Me),Math.abs(Me-Ot)),Lr=Math.max(Math.abs(Je),Math.abs(Je-tr)));break;case Fi.FARTHEST_CORNER:if(Z.shape===La.CIRCLE)vr=Lr=Math.max(va(Me,Je),va(Me,Je-tr),va(Me-Ot,Je),va(Me-Ot,Je-tr));else if(Z.shape===La.ELLIPSE){var Hr=Math.max(Math.abs(Je),Math.abs(Je-tr))/Math.max(Math.abs(Me),Math.abs(Me-Ot)),Fn=Ea(Ot,tr,Me,Je,!1),cn=Fn[0],sn=Fn[1];vr=va(cn-Me,(sn-Je)/Hr),Lr=Hr*vr}break}return Array.isArray(Z.size)&&(vr=Dr(Z.size[0],Ot),Lr=Z.size.length===2?Dr(Z.size[1],tr):vr),[vr,Lr]},oa=function(Z){var Me=vn(180),Je=[];return zr(Z).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Fe.IDENT_TOKEN&&vr.value==="to"){Me=Mn(Ot);return}else if(bn(vr)){Me=Sn.parse(vr);return}}var Lr=Mi(Ot);Je.push(Lr)}),{angle:Me,stops:Je,type:Ca.LINEAR_GRADIENT}},sa=function(Z){var Me=vn(180),Je=[];return zr(Z).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Fe.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){Me=Mn(Ot);return}else if(bn(vr)){Me=(Sn.parse(vr)+vn(270))%vn(360);return}}var Lr=Mi(Ot);Je.push(Lr)}),{angle:Me,stops:Je,type:Ca.LINEAR_GRADIENT}},Ni=function(Z){var Me=123;if(Z.createRange){var Je=Z.createRange();if(Je.getBoundingClientRect){var Ot=Z.createElement("boundtest");Ot.style.height=Me+"px",Ot.style.display="block",Z.body.appendChild(Ot),Je.selectNode(Ot);var tr=Je.getBoundingClientRect(),vr=Math.round(tr.height);if(Z.body.removeChild(Ot),vr===Me)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},Li=function(Z){var Me=new Image,Je=Z.createElement("canvas"),Ot=Je.getContext("2d");if(!Ot)return!1;Me.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Ot.drawImage(Me,0,0),Je.toDataURL()}catch(tr){return!1}return!0},Vi=function(Z){return Z[0]===0&&Z[1]===255&&Z[2]===0&&Z[3]===255},Xi=function(Z){var Me=Z.createElement("canvas"),Je=100;Me.width=Je,Me.height=Je;var Ot=Me.getContext("2d");if(!Ot)return Promise.reject(!1);Ot.fillStyle="rgb(0, 255, 0)",Ot.fillRect(0,0,Je,Je);var tr=new Image,vr=Me.toDataURL();tr.src=vr;var Lr=bi(Je,Je,0,0,tr);return Ot.fillStyle="red",Ot.fillRect(0,0,Je,Je),Aa(Lr).then(function(Hr){Ot.drawImage(Hr,0,0);var Kr=Ot.getImageData(0,0,Je,Je).data;Ot.fillStyle="red",Ot.fillRect(0,0,Je,Je);var cn=Z.createElement("div");return cn.style.backgroundImage="url("+vr+")",cn.style.height=Je+"px",Vi(Kr)?Aa(bi(Je,Je,0,0,cn)):Promise.reject(!1)}).then(function(Hr){return Ot.drawImage(Hr,0,0),Vi(Ot.getImageData(0,0,Je,Je).data)}).catch(function(){return!1})},bi=function(Z,Me,Je,Ot,tr){var vr="http://www.w3.org/2000/svg",Lr=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Lr.setAttributeNS(null,"width",Z.toString()),Lr.setAttributeNS(null,"height",Me.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Je.toString()),Hr.setAttributeNS(null,"y",Ot.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Lr.appendChild(Hr),Hr.appendChild(tr),Lr},Aa=function(Z){return new Promise(function(Me,Je){var Ot=new Image;Ot.onload=function(){return Me(Ot)},Ot.onerror=Je,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Z))})},ca={get SUPPORT_RANGE_BOUNDS(){var qe=Ni(document);return Object.defineProperty(ca,"SUPPORT_RANGE_BOUNDS",{value:qe}),qe},get SUPPORT_SVG_DRAWING(){var qe=Li(document);return Object.defineProperty(ca,"SUPPORT_SVG_DRAWING",{value:qe}),qe},get SUPPORT_FOREIGNOBJECT_DRAWING(){var qe=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ca,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:qe}),qe},get SUPPORT_CORS_IMAGES(){var qe=$n();return Object.defineProperty(ca,"SUPPORT_CORS_IMAGES",{value:qe}),qe},get SUPPORT_RESPONSE_TYPE(){var qe=Ai();return Object.defineProperty(ca,"SUPPORT_RESPONSE_TYPE",{value:qe}),qe},get SUPPORT_CORS_XHR(){var qe="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ca,"SUPPORT_CORS_XHR",{value:qe}),qe}},la=function(){function qe(Z){var Me=Z.id,Je=Z.enabled;this.id=Me,this.enabled=Je,this.start=Date.now()}return qe.prototype.debug=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(Z)):this.info.apply(this,Z))},qe.prototype.getTime=function(){return Date.now()-this.start},qe.create=function(Z){qe.instances[Z.id]=new qe(Z)},qe.destroy=function(Z){delete qe.instances[Z]},qe.getInstance=function(Z){var Me=qe.instances[Z];if(typeof Me=="undefined")throw new Error("No logger instance found with id "+Z);return Me},qe.prototype.info=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(Z)))},qe.prototype.error=function(){for(var Z=[],Me=0;Me<arguments.length;Me++)Z[Me]=arguments[Me];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(Z)):this.info.apply(this,Z))},qe.instances={},qe}(),gi=function(){function qe(){}return qe.create=function(Z,Me){return qe._caches[Z]=new Pa(Z,Me)},qe.destroy=function(Z){delete qe._caches[Z]},qe.open=function(Z){var Me=qe._caches[Z];if(typeof Me!="undefined")return Me;throw new Error('Cache with key "'+Z+'" not found')},qe.getOrigin=function(Z){var Me=qe._link;return Me?(Me.href=Z,Me.href=Me.href,Me.protocol+Me.hostname+Me.port):"about:blank"},qe.isSameOrigin=function(Z){return qe.getOrigin(Z)===qe._origin},qe.setContext=function(Z){qe._link=Z.document.createElement("a"),qe._origin=qe.getOrigin(Z.location.href)},qe.getInstance=function(){var Z=qe._current;if(Z===null)throw new Error("No cache instance attached");return Z},qe.attachInstance=function(Z){qe._current=Z},qe.detachInstance=function(){qe._current=null},qe._caches={},qe._origin="about:blank",qe._current=null,qe}(),Pa=function(){function qe(Z,Me){this.id=Z,this._options=Me,this._cache={}}return qe.prototype.addImage=function(Z){var Me=Promise.resolve();return this.has(Z)||(ba(Z)||Xa(Z))&&(this._cache[Z]=this.loadImage(Z)),Me},qe.prototype.match=function(Z){return this._cache[Z]},qe.prototype.loadImage=function(Z){return p(this,void 0,void 0,function(){var Me,Je,Ot,tr,vr=this;return v(this,function(Lr){switch(Lr.label){case 0:return Me=gi.isSameOrigin(Z),Je=!Ki(Z)&&this._options.useCORS===!0&&ca.SUPPORT_CORS_IMAGES&&!Me,Ot=!Ki(Z)&&!Me&&typeof this._options.proxy=="string"&&ca.SUPPORT_CORS_XHR&&!Je,!Me&&this._options.allowTaint===!1&&!Ki(Z)&&!Ot&&!Je?[2]:(tr=Z,Ot?[4,this.proxy(tr)]:[3,2]);case 1:tr=Lr.sent(),Lr.label=2;case 2:return la.getInstance(this.id).debug("Added image "+Z.substring(0,256)),[4,new Promise(function(Hr,Kr){var cn=new Image;cn.onload=function(){return Hr(cn)},cn.onerror=Kr,(zi(tr)||Je)&&(cn.crossOrigin="anonymous"),cn.src=tr,cn.complete===!0&&setTimeout(function(){return Hr(cn)},500),vr._options.imageTimeout>0&&setTimeout(function(){return Kr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Lr.sent()]}})})},qe.prototype.has=function(Z){return typeof this._cache[Z]!="undefined"},qe.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},qe.prototype.proxy=function(Z){var Me=this,Je=this._options.proxy;if(!Je)throw new Error("No proxy defined");var Ot=Z.substring(0,256);return new Promise(function(tr,vr){var Lr=ca.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Lr==="text")tr(Hr.response);else{var cn=new FileReader;cn.addEventListener("load",function(){return tr(cn.result)},!1),cn.addEventListener("error",function(sn){return vr(sn)},!1),cn.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+Ot+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",Je+"?url="+encodeURIComponent(Z)+"&responseType="+Lr),Lr!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Lr),Me._options.imageTimeout){var Kr=Me._options.imageTimeout;Hr.timeout=Kr,Hr.ontimeout=function(){return vr("Timed out ("+Kr+"ms) proxying "+Ot)}}Hr.send()})},qe}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Gi=/^data:image\/.*/i,Xa=function(Z){return ca.SUPPORT_SVG_DRAWING||!Ua(Z)},Ki=function(Z){return Gi.test(Z)},zi=function(Z){return ra.test(Z)},ba=function(Z){return Z.substr(0,4)==="blob"},Ua=function(Z){return Z.substr(-3).toLowerCase()==="svg"||Ma.test(Z)},wa=function(Z){var Me=vn(180),Je=[],Ot=Ca.LINEAR_GRADIENT,tr=La.CIRCLE,vr=Fi.FARTHEST_CORNER,Lr=[];return zr(Z).forEach(function(Hr,Kr){var cn=Hr[0];if(Kr===0){if(Jt(cn)&&cn.value==="linear"){Ot=Ca.LINEAR_GRADIENT;return}else if(Jt(cn)&&cn.value==="radial"){Ot=Ca.RADIAL_GRADIENT;return}}if(cn.type===Fe.FUNCTION){if(cn.name==="from"){var sn=Rn.parse(cn.values[0]);Je.push({stop:Vt,color:sn})}else if(cn.name==="to"){var sn=Rn.parse(cn.values[0]);Je.push({stop:br,color:sn})}else if(cn.name==="color-stop"){var Fn=cn.values.filter(Er);if(Fn.length===2){var sn=Rn.parse(Fn[1]),si=Fn[0];jt(si)&&Je.push({stop:{type:Fe.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Ot===Ca.LINEAR_GRADIENT?{angle:(Me+vn(180))%vn(360),stops:Je,type:Ot}:{size:vr,shape:tr,stops:Je,position:Lr,type:Ot}},vi="closest-side",Ga="farthest-side",Ka="closest-corner",pa="farthest-corner",_i="circle",So="ellipse",za="cover",ja="contain",qa=function(Z){var Me=La.CIRCLE,Je=Fi.FARTHEST_CORNER,Ot=[],tr=[];return zr(Z).forEach(function(vr,Lr){var Hr=!0;if(Lr===0){var Kr=!1;Hr=vr.reduce(function(sn,Fn){if(Kr)if(Jt(Fn))switch(Fn.value){case"center":return tr.push(sr),sn;case"top":case"left":return tr.push(Vt),sn;case"right":case"bottom":return tr.push(br),sn}else(an(Fn)||Zr(Fn))&&tr.push(Fn);else if(Jt(Fn))switch(Fn.value){case _i:return Me=La.CIRCLE,!1;case So:return Me=La.ELLIPSE,!1;case"at":return Kr=!0,!1;case vi:return Je=Fi.CLOSEST_SIDE,!1;case za:case Ga:return Je=Fi.FARTHEST_SIDE,!1;case ja:case Ka:return Je=Fi.CLOSEST_CORNER,!1;case pa:return Je=Fi.FARTHEST_CORNER,!1}else if(Zr(Fn)||an(Fn))return Array.isArray(Je)||(Je=[]),Je.push(Fn),!1;return sn},Hr)}if(Hr){var cn=Mi(vr);Ot.push(cn)}}),{size:Je,shape:Me,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(Z){var Me=La.CIRCLE,Je=Fi.FARTHEST_CORNER,Ot=[],tr=[];return zr(Z).forEach(function(vr,Lr){var Hr=!0;if(Lr===0?Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case"center":return tr.push(sr),!1;case"top":case"left":return tr.push(Vt),!1;case"right":case"bottom":return tr.push(br),!1}else if(an(sn)||Zr(sn))return tr.push(sn),!1;return cn},Hr):Lr===1&&(Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case _i:return Me=La.CIRCLE,!1;case So:return Me=La.ELLIPSE,!1;case ja:case vi:return Je=Fi.CLOSEST_SIDE,!1;case Ga:return Je=Fi.FARTHEST_SIDE,!1;case Ka:return Je=Fi.CLOSEST_CORNER,!1;case za:case pa:return Je=Fi.FARTHEST_CORNER,!1}else if(Zr(sn)||an(sn))return Array.isArray(Je)||(Je=[]),Je.push(sn),!1;return cn},Hr)),Hr){var Kr=Mi(vr);Ot.push(Kr)}}),{size:Je,shape:Me,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function(qe){qe[qe.URL=0]="URL",qe[qe.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",qe[qe.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(Z){return Z.type===Ca.LINEAR_GRADIENT},Oo=function(Z){return Z.type===Ca.RADIAL_GRADIENT},La;(function(qe){qe[qe.CIRCLE=0]="CIRCLE",qe[qe.ELLIPSE=1]="ELLIPSE"})(La||(La={}));var Fi;(function(qe){qe[qe.CLOSEST_SIDE=0]="CLOSEST_SIDE",qe[qe.FARTHEST_SIDE=1]="FARTHEST_SIDE",qe[qe.CLOSEST_CORNER=2]="CLOSEST_CORNER",qe[qe.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Fi||(Fi={}));var Ja={name:"image",parse:function(Z){if(Z.type===Fe.URL_TOKEN){var Me={url:Z.value,type:Ca.URL};return gi.getInstance().addImage(Z.value),Me}if(Z.type===Fe.FUNCTION){var Je=pi[Z.name];if(typeof Je=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Z.name+'"');return Je(Z.values)}throw new Error("Unsupported image type")}};function Da(qe){return qe.type!==Fe.FUNCTION||pi[qe.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":qa,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Yi={name:"background-image",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){if(Z.length===0)return[];var Me=Z[0];return Me.type===Fe.IDENT_TOKEN&&Me.value==="none"?[]:Z.filter(function(Je){return Er(Je)&&Da(Je)}).map(Ja.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(Z){return Z.map(function(Me){if(Jt(Me))switch(Me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:Un.LIST,prefix:!1,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(an)}).map(St)}},fo;(function(qe){qe[qe.REPEAT=0]="REPEAT",qe[qe.NO_REPEAT=1]="NO_REPEAT",qe[qe.REPEAT_X=2]="REPEAT_X",qe[qe.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(Jt).map(function(Je){return Je.value}).join(" ")}).map(ki)}},ki=function(Z){switch(Z){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ra;(function(qe){qe.AUTO="auto",qe.CONTAIN="contain",qe.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(Z){return zr(Z).map(function(Me){return Me.filter(ro)})}},ro=function(Z){return Jt(Z)||an(Z)},vo=function(Z){return{name:"border-"+Z+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Zi=vo("right"),xo=vo("bottom"),is=vo("left"),Jo=function(Z){return{name:"border-radius-"+Z,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(Je){return St(Je.filter(an))}}},Is=Jo("top-left"),Cs=Jo("top-right"),Ts=Jo("bottom-right"),Yo=Jo("bottom-left"),bo;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.SOLID=1]="SOLID"})(bo||(bo={}));var Za=function(Z){return{name:"border-"+Z+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(Je){switch(Je){case"none":return bo.NONE}return bo.SOLID}}},Ya=Za("top"),so=Za("right"),ps=Za("bottom"),Sr=Za("left"),Xo=function(Z){return{name:"border-"+Z+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(Je){return tt(Je)?Je.number:0}}},ss=Xo("top"),Os=Xo("right"),Fa=Xo("bottom"),Oa=Xo("left"),_o={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Lo={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).reduce(function(Me,Je){return Me|ts(Je.value)},0)}},ts=function(Z){switch(Z){case"block":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},Bo;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LEFT=1]="LEFT",qe[qe.RIGHT=2]="RIGHT",qe[qe.INLINE_START=3]="INLINE_START",qe[qe.INLINE_END=4]="INLINE_END"})(Bo||(Bo={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"left":return Bo.LEFT;case"right":return Bo.RIGHT;case"inline-start":return Bo.INLINE_START;case"inline-end":return Bo.INLINE_END}return Bo.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:Un.VALUE,parse:function(Z){return Z.type===Fe.IDENT_TOKEN&&Z.value==="normal"?0:Z.type===Fe.NUMBER_TOKEN||Z.type===Fe.DIMENSION_TOKEN?Z.number:0}},ls;(function(qe){qe.NORMAL="normal",qe.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Ds={name:"line-height",initialValue:"normal",prefix:!1,type:Un.TOKEN_VALUE},as=function(Z,Me){return Jt(Z)&&Z.value==="normal"?1.2*Me:Z.type===Fe.NUMBER_TOKEN?Me*Z.number:an(Z)?Dr(Z,Me):Me},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(Z){return Z.type===Fe.IDENT_TOKEN&&Z.value==="none"?null:Ja.parse(Z)}},cs;(function(qe){qe[qe.INSIDE=0]="INSIDE",qe[qe.OUTSIDE=1]="OUTSIDE"})(cs||(cs={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"inside":return cs.INSIDE;case"outside":default:return cs.OUTSIDE}}},Dn;(function(qe){qe[qe.NONE=-1]="NONE",qe[qe.DISC=0]="DISC",qe[qe.CIRCLE=1]="CIRCLE",qe[qe.SQUARE=2]="SQUARE",qe[qe.DECIMAL=3]="DECIMAL",qe[qe.CJK_DECIMAL=4]="CJK_DECIMAL",qe[qe.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",qe[qe.LOWER_ROMAN=6]="LOWER_ROMAN",qe[qe.UPPER_ROMAN=7]="UPPER_ROMAN",qe[qe.LOWER_GREEK=8]="LOWER_GREEK",qe[qe.LOWER_ALPHA=9]="LOWER_ALPHA",qe[qe.UPPER_ALPHA=10]="UPPER_ALPHA",qe[qe.ARABIC_INDIC=11]="ARABIC_INDIC",qe[qe.ARMENIAN=12]="ARMENIAN",qe[qe.BENGALI=13]="BENGALI",qe[qe.CAMBODIAN=14]="CAMBODIAN",qe[qe.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",qe[qe.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",qe[qe.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",qe[qe.DEVANAGARI=18]="DEVANAGARI",qe[qe.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",qe[qe.GEORGIAN=20]="GEORGIAN",qe[qe.GUJARATI=21]="GUJARATI",qe[qe.GURMUKHI=22]="GURMUKHI",qe[qe.HEBREW=22]="HEBREW",qe[qe.HIRAGANA=23]="HIRAGANA",qe[qe.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",qe[qe.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",qe[qe.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",qe[qe.KANNADA=27]="KANNADA",qe[qe.KATAKANA=28]="KATAKANA",qe[qe.KATAKANA_IROHA=29]="KATAKANA_IROHA",qe[qe.KHMER=30]="KHMER",qe[qe.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",qe[qe.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",qe[qe.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",qe[qe.LAO=34]="LAO",qe[qe.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",qe[qe.MALAYALAM=36]="MALAYALAM",qe[qe.MONGOLIAN=37]="MONGOLIAN",qe[qe.MYANMAR=38]="MYANMAR",qe[qe.ORIYA=39]="ORIYA",qe[qe.PERSIAN=40]="PERSIAN",qe[qe.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",qe[qe.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",qe[qe.TAMIL=43]="TAMIL",qe[qe.TELUGU=44]="TELUGU",qe[qe.THAI=45]="THAI",qe[qe.TIBETAN=46]="TIBETAN",qe[qe.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",qe[qe.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",qe[qe.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",qe[qe.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",qe[qe.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"disc":return Dn.DISC;case"circle":return Dn.CIRCLE;case"square":return Dn.SQUARE;case"decimal":return Dn.DECIMAL;case"cjk-decimal":return Dn.CJK_DECIMAL;case"decimal-leading-zero":return Dn.DECIMAL_LEADING_ZERO;case"lower-roman":return Dn.LOWER_ROMAN;case"upper-roman":return Dn.UPPER_ROMAN;case"lower-greek":return Dn.LOWER_GREEK;case"lower-alpha":return Dn.LOWER_ALPHA;case"upper-alpha":return Dn.UPPER_ALPHA;case"arabic-indic":return Dn.ARABIC_INDIC;case"armenian":return Dn.ARMENIAN;case"bengali":return Dn.BENGALI;case"cambodian":return Dn.CAMBODIAN;case"cjk-earthly-branch":return Dn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Dn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Dn.CJK_IDEOGRAPHIC;case"devanagari":return Dn.DEVANAGARI;case"ethiopic-numeric":return Dn.ETHIOPIC_NUMERIC;case"georgian":return Dn.GEORGIAN;case"gujarati":return Dn.GUJARATI;case"gurmukhi":return Dn.GURMUKHI;case"hebrew":return Dn.HEBREW;case"hiragana":return Dn.HIRAGANA;case"hiragana-iroha":return Dn.HIRAGANA_IROHA;case"japanese-formal":return Dn.JAPANESE_FORMAL;case"japanese-informal":return Dn.JAPANESE_INFORMAL;case"kannada":return Dn.KANNADA;case"katakana":return Dn.KATAKANA;case"katakana-iroha":return Dn.KATAKANA_IROHA;case"khmer":return Dn.KHMER;case"korean-hangul-formal":return Dn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Dn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Dn.KOREAN_HANJA_INFORMAL;case"lao":return Dn.LAO;case"lower-armenian":return Dn.LOWER_ARMENIAN;case"malayalam":return Dn.MALAYALAM;case"mongolian":return Dn.MONGOLIAN;case"myanmar":return Dn.MYANMAR;case"oriya":return Dn.ORIYA;case"persian":return Dn.PERSIAN;case"simp-chinese-formal":return Dn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Dn.SIMP_CHINESE_INFORMAL;case"tamil":return Dn.TAMIL;case"telugu":return Dn.TELUGU;case"thai":return Dn.THAI;case"tibetan":return Dn.TIBETAN;case"trad-chinese-formal":return Dn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Dn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Dn.UPPER_ARMENIAN;case"disclosure-open":return Dn.DISCLOSURE_OPEN;case"disclosure-closed":return Dn.DISCLOSURE_CLOSED;case"none":default:return Dn.NONE}}},_s=function(Z){return{name:"margin-"+Z,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Pt=_s("top"),oe=_s("right"),we=_s("bottom"),Ee=_s("left"),We;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.SCROLL=2]="SCROLL",qe[qe.AUTO=3]="AUTO"})(We||(We={}));var Et={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).map(function(Me){switch(Me.value){case"hidden":return We.HIDDEN;case"scroll":return We.SCROLL;case"auto":return We.AUTO;case"visible":default:return We.VISIBLE}})}},Ut;(function(qe){qe.NORMAL="normal",qe.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(Z){return{name:"padding-"+Z,initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length-percentage"}},Rr=gr("top"),$r=gr("right"),ln=gr("bottom"),yn=gr("left"),Cn;(function(qe){qe[qe.LEFT=0]="LEFT",qe[qe.CENTER=1]="CENTER",qe[qe.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(qe){qe[qe.STATIC=0]="STATIC",qe[qe.RELATIVE=1]="RELATIVE",qe[qe.ABSOLUTE=2]="ABSOLUTE",qe[qe.FIXED=3]="FIXED",qe[qe.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.length===1&&_r(Z[0],"none")?[]:zr(Z).map(function(Me){for(var Je={color:Oi.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Ot=0,tr=0;tr<Me.length;tr++){var vr=Me[tr];Zr(vr)?(Ot===0?Je.offsetX=vr:Ot===1?Je.offsetY=vr:Je.blur=vr,Ot++):Je.color=Rn.parse(vr)}return Je})}},ji;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LOWERCASE=1]="LOWERCASE",qe[qe.UPPERCASE=2]="UPPERCASE",qe[qe.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:Un.VALUE,parse:function(Z){if(Z.type===Fe.IDENT_TOKEN&&Z.value==="none")return null;if(Z.type===Fe.FUNCTION){var Me=Ao[Z.name];if(typeof Me=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Z.name+'"');return Me(Z.values)}return null}},Wa=function(Z){var Me=Z.filter(function(Je){return Je.type===Fe.NUMBER_TOKEN}).map(function(Je){return Je.number});return Me.length===6?Me:null},yo=function(Z){var Me=Z.filter(function(Ia){return Ia.type===Fe.NUMBER_TOKEN}).map(function(Ia){return Ia.number}),Je=Me[0],Ot=Me[1],tr=Me[2],vr=Me[3],Lr=Me[4],Hr=Me[5],Kr=Me[6],cn=Me[7],sn=Me[8],Fn=Me[9],si=Me[10],Kn=Me[11],fi=Me[12],da=Me[13],Ti=Me[14],na=Me[15];return Me.length===16?[Je,Ot,Lr,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Fe.PERCENTAGE_TOKEN,number:50,flags:_t},Fo=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(Z){var Me=Z.filter(an);return Me.length!==2?Fo:[Me[0],Me[1]]}},Ha;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},ko;(function(qe){qe.NORMAL="normal",qe.BREAK_ALL="break-all",qe.KEEP_ALL="keep-all"})(ko||(ko={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"break-all":return ko.BREAK_ALL;case"keep-all":return ko.KEEP_ALL;case"normal":default:return ko.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(Z){if(Z.type===Fe.IDENT_TOKEN)return{auto:!0,order:0};if(jt(Z))return{auto:!1,order:Z.number};throw new Error("Invalid z-index number parsed")}},us={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(Z){return jt(Z)?Z.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Xs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Un.LIST,parse:function(Z){return Z.filter(Jt).map(function(Me){switch(Me.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Me){return Me!==0})}},Gs={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(Z){var Me=[],Je=[];return Z.forEach(function(Ot){switch(Ot.type){case Fe.IDENT_TOKEN:case Fe.STRING_TOKEN:Me.push(Ot.value);break;case Fe.NUMBER_TOKEN:Me.push(Ot.number.toString());break;case Fe.COMMA_TOKEN:Je.push(Me.join(" ")),Me.length=0;break}}),Me.length&&Je.push(Me.join(" ")),Je.map(function(Ot){return Ot.indexOf(" ")===-1?Ot:"'"+Ot+"'"})}},Go={name:"font-size",initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:Un.VALUE,prefix:!1,parse:function(Z){if(jt(Z))return Z.number;if(Jt(Z))switch(Z.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.filter(Jt).map(function(Me){return Me.value})}},hs;(function(qe){qe.NORMAL="normal",qe.ITALIC="italic",qe.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(Z){switch(Z){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(Z,Me){return(Z&Me)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){if(Z.length===0)return[];var Me=Z[0];return Me.type===Fe.IDENT_TOKEN&&Me.value==="none"?[]:Z}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return null;var Me=Z[0];if(Me.type===Fe.IDENT_TOKEN&&Me.value==="none")return null;for(var Je=[],Ot=Z.filter(wr),tr=0;tr<Ot.length;tr++){var vr=Ot[tr],Lr=Ot[tr+1];if(vr.type===Fe.IDENT_TOKEN){var Hr=Lr&&jt(Lr)?Lr.number:1;Je.push({counter:vr.value,increment:Hr})}}return Je}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return[];for(var Me=[],Je=Z.filter(wr),Ot=0;Ot<Je.length;Ot++){var tr=Je[Ot],vr=Je[Ot+1];if(Jt(tr)&&tr.value!=="none"){var Lr=vr&&jt(vr)?vr.number:0;Me.push({counter:tr.value,reset:Lr})}}return Me}},Fs={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(Z){if(Z.length===0)return null;var Me=Z[0];if(Me.type===Fe.IDENT_TOKEN&&Me.value==="none")return null;var Je=[],Ot=Z.filter(nr);if(Ot.length%2!==0)return null;for(var tr=0;tr<Ot.length;tr+=2){var vr=Ot[tr].value,Lr=Ot[tr+1].value;Je.push({open:vr,close:Lr})}return Je}},Hs=function(Z,Me,Je){if(!Z)return"";var Ot=Z[Math.min(Me,Z.length-1)];return Ot?Je?Ot.open:Ot.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(Z){return Z.length===1&&_r(Z[0],"none")?[]:zr(Z).map(function(Me){for(var Je={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Ot=0,tr=0;tr<Me.length;tr++){var vr=Me[tr];_r(vr,"inset")?Je.inset=!0:Zr(vr)?(Ot===0?Je.offsetX=vr:Ot===1?Je.offsetY=vr:Ot===2?Je.blur=vr:Je.spread=vr,Ot++):Je.color=Rn.parse(vr)}return Je})}},ua=function(){function qe(Z){this.backgroundClip=Wn(fa,Z.backgroundClip),this.backgroundColor=Wn(Ui,Z.backgroundColor),this.backgroundImage=Wn(Yi,Z.backgroundImage),this.backgroundOrigin=Wn(oo,Z.backgroundOrigin),this.backgroundPosition=Wn(go,Z.backgroundPosition),this.backgroundRepeat=Wn(Ta,Z.backgroundRepeat),this.backgroundSize=Wn(Vo,Z.backgroundSize),this.borderTopColor=Wn(po,Z.borderTopColor),this.borderRightColor=Wn(Zi,Z.borderRightColor),this.borderBottomColor=Wn(xo,Z.borderBottomColor),this.borderLeftColor=Wn(is,Z.borderLeftColor),this.borderTopLeftRadius=Wn(Is,Z.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,Z.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,Z.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Yo,Z.borderBottomLeftRadius),this.borderTopStyle=Wn(Ya,Z.borderTopStyle),this.borderRightStyle=Wn(so,Z.borderRightStyle),this.borderBottomStyle=Wn(ps,Z.borderBottomStyle),this.borderLeftStyle=Wn(Sr,Z.borderLeftStyle),this.borderTopWidth=Wn(ss,Z.borderTopWidth),this.borderRightWidth=Wn(Os,Z.borderRightWidth),this.borderBottomWidth=Wn(Fa,Z.borderBottomWidth),this.borderLeftWidth=Wn(Oa,Z.borderLeftWidth),this.boxShadow=Wn(bs,Z.boxShadow),this.color=Wn(_o,Z.color),this.display=Wn(Lo,Z.display),this.float=Wn(rs,Z.cssFloat),this.fontFamily=Wn(Gs,Z.fontFamily),this.fontSize=Wn(Go,Z.fontSize),this.fontStyle=Wn(Rs,Z.fontStyle),this.fontVariant=Wn(ds,Z.fontVariant),this.fontWeight=Wn(Eo,Z.fontWeight),this.letterSpacing=Wn(ms,Z.letterSpacing),this.lineBreak=Wn(Ns,Z.lineBreak),this.lineHeight=Wn(Ds,Z.lineHeight),this.listStyleImage=Wn($s,Z.listStyleImage),this.listStylePosition=Wn(Mo,Z.listStylePosition),this.listStyleType=Wn(Vs,Z.listStyleType),this.marginTop=Wn(Pt,Z.marginTop),this.marginRight=Wn(oe,Z.marginRight),this.marginBottom=Wn(we,Z.marginBottom),this.marginLeft=Wn(Ee,Z.marginLeft),this.opacity=Wn(us,Z.opacity);var Me=Wn(Et,Z.overflow);this.overflowX=Me[0],this.overflowY=Me[Me.length>1?1:0],this.overflowWrap=Wn(hr,Z.overflowWrap),this.paddingTop=Wn(Rr,Z.paddingTop),this.paddingRight=Wn($r,Z.paddingRight),this.paddingBottom=Wn(ln,Z.paddingBottom),this.paddingLeft=Wn(yn,Z.paddingLeft),this.position=Wn(wi,Z.position),this.textAlign=Wn(Qn,Z.textAlign),this.textDecorationColor=Wn(ns,Z.textDecorationColor||Z.color),this.textDecorationLine=Wn(Xs,Z.textDecorationLine),this.textShadow=Wn(ea,Z.textShadow),this.textTransform=Wn(Sa,Z.textTransform),this.transform=Wn(lo,Z.transform),this.transformOrigin=Wn(No,Z.transformOrigin),this.visibility=Wn(jo,Z.visibility),this.wordBreak=Wn(Qo,Z.wordBreak),this.zIndex=Wn(wo,Z.zIndex)}return qe.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},qe.prototype.isTransparent=function(){return En(this.backgroundColor)},qe.prototype.isTransformed=function(){return this.transform!==null},qe.prototype.isPositioned=function(){return this.position!==ti.STATIC},qe.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},qe.prototype.isFloating=function(){return this.float!==Bo.NONE},qe.prototype.isInlineLevel=function(){return Do(this.display,4)||Do(this.display,33554432)||Do(this.display,268435456)||Do(this.display,536870912)||Do(this.display,67108864)||Do(this.display,134217728)},qe}(),ui=function(){function qe(Z){this.content=Wn(ys,Z.content),this.quotes=Wn(Fs,Z.quotes)}return qe}(),Bi=function(){function qe(Z){this.counterIncrement=Wn(Ms,Z.counterIncrement),this.counterReset=Wn(As,Z.counterReset)}return qe}(),Wn=function(Z,Me){var Je=new Wr,Ot=Me!==null&&typeof Me!="undefined"?Me.toString():Z.initialValue;Je.write(Ot);var tr=new hn(Je.read());switch(Z.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return Z.parse(Jt(vr)?vr.value:Z.initialValue);case Un.VALUE:return Z.parse(tr.parseComponentValue());case Un.LIST:return Z.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(Z.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Ja.parse(tr.parseComponentValue());case"length":var Lr=tr.parseComponentValue();return Zr(Lr)?Lr:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+Z.format)},io=function(){function qe(Z){this.styles=new ua(window.getComputedStyle(Z,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(Z)&&(Z.style.transform="none"),this.bounds=u(Z),this.flags=0}return qe}(),qo=function(){function qe(Z,Me){this.text=Z,this.bounds=Me}return qe}(),gs=function(Z,Me,Je){var Ot=$o(Z,Me),tr=[],vr=0;return Ot.forEach(function(Lr){if(Me.textDecorationLine.length||Lr.trim().length>0)if(ca.SUPPORT_RANGE_BOUNDS)tr.push(new qo(Lr,Zo(Je,vr,Lr.length)));else{var Hr=Je.splitText(Lr.length);tr.push(new qo(Lr,os(Je))),Je=Hr}else ca.SUPPORT_RANGE_BOUNDS||(Je=Je.splitText(Lr.length));vr+=Lr.length}),tr},os=function(Z){var Me=Z.ownerDocument;if(Me){var Je=Me.createElement("html2canvaswrapper");Je.appendChild(Z.cloneNode(!0));var Ot=Z.parentNode;if(Ot){Ot.replaceChild(Je,Z);var tr=u(Je);return Je.firstChild&&Ot.replaceChild(Je.firstChild,Je),tr}}return new h(0,0,0,0)},Zo=function(Z,Me,Je){var Ot=Z.ownerDocument;if(!Ot)throw new Error("Node has no owner document");var tr=Ot.createRange();return tr.setStart(Z,Me),tr.setEnd(Z,Me+Je),h.fromClientRect(tr.getBoundingClientRect())},$o=function(Z,Me){return Me.letterSpacing!==0?i(Z).map(function(Je){return r(Je)}):ws(Z,Me)},ws=function(Z,Me){for(var Je=Xe(Z,{lineBreak:Me.lineBreak,wordBreak:Me.overflowWrap===Ut.BREAK_WORD?"break-word":Me.wordBreak}),Ot=[],tr;!(tr=Je.next()).done;)tr.value&&Ot.push(tr.value.slice());return Ot},Ho=function(){function qe(Z,Me){this.text=ll(Z.data,Me.textTransform),this.textBounds=gs(this.text,Me,Z)}return qe}(),ll=function(Z,Me){switch(Me){case ji.LOWERCASE:return Z.toLowerCase();case ji.CAPITALIZE:return Z.replace(jl,cl);case ji.UPPERCASE:return Z.toUpperCase();default:return Z}},jl=/(^|\s|:|-|\(|\))([a-z])/g,cl=function(Z,Me,Je){return Z.length>0?Me+Je.toUpperCase():Z},Nl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.src=Me.currentSrc||Me.src,Je.intrinsicWidth=Me.naturalWidth,Je.intrinsicHeight=Me.naturalHeight,gi.getInstance().addImage(Je.src),Je}return Z}(io),Ls=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.canvas=Me,Je.intrinsicWidth=Me.width,Je.intrinsicHeight=Me.height,Je}return Z}(io),Ys=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this,Ot=new XMLSerializer;return Je.svg="data:image/svg+xml,"+encodeURIComponent(Ot.serializeToString(Me)),Je.intrinsicWidth=Me.width.baseVal.value,Je.intrinsicHeight=Me.height.baseVal.value,gi.getInstance().addImage(Je.svg),Je}return Z}(io),el=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.value=Me.value,Je}return Z}(io),Hl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.start=Me.start,Je.reversed=typeof Me.reversed=="boolean"&&Me.reversed===!0,Je}return Z}(io),Kl=[{type:Fe.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Fe.PERCENTAGE_TOKEN,flags:0,number:50}],nc=function(Z){return Z.width>Z.height?new h(Z.left+(Z.width-Z.height)/2,Z.top,Z.height,Z.height):Z.width<Z.height?new h(Z.left,Z.top+(Z.height-Z.width)/2,Z.width,Z.width):Z},ic=function(Z){var Me=Z.type===ac?new Array(Z.value.length+1).join("\u2022"):Z.value;return Me.length===0?Z.placeholder||"":Me},es="checkbox",tl="radio",ac="password",Rl=707406591,Ml=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;Je.type=Me.type.toLowerCase(),Je.checked=Me.checked,Je.value=ic(Me),(Je.type===es||Je.type===tl)&&(Je.styles.backgroundColor=3739148031,Je.styles.borderTopColor=Je.styles.borderRightColor=Je.styles.borderBottomColor=Je.styles.borderLeftColor=2779096575,Je.styles.borderTopWidth=Je.styles.borderRightWidth=Je.styles.borderBottomWidth=Je.styles.borderLeftWidth=1,Je.styles.borderTopStyle=Je.styles.borderRightStyle=Je.styles.borderBottomStyle=Je.styles.borderLeftStyle=bo.SOLID,Je.styles.backgroundClip=[Ri.BORDER_BOX],Je.styles.backgroundOrigin=[0],Je.bounds=nc(Je.bounds));switch(Je.type){case es:Je.styles.borderTopRightRadius=Je.styles.borderTopLeftRadius=Je.styles.borderBottomRightRadius=Je.styles.borderBottomLeftRadius=Kl;break;case tl:Je.styles.borderTopRightRadius=Je.styles.borderTopLeftRadius=Je.styles.borderBottomRightRadius=Je.styles.borderBottomLeftRadius=Dl;break}return Je}return Z}(io),bl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this,Ot=Me.options[Me.selectedIndex||0];return Je.value=Ot&&Ot.text||"",Je}return Z}(io),zl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;return Je.value=Me.value,Je}return Z}(io),ul=function(Z){return Rn.parse(hn.create(Z).parseComponentValue())},Wl=function(qe){f(Z,qe);function Z(Me){var Je=qe.call(this,Me)||this;Je.src=Me.src,Je.width=parseInt(Me.width,10)||0,Je.height=parseInt(Me.height,10)||0,Je.backgroundColor=Je.styles.backgroundColor;try{if(Me.contentWindow&&Me.contentWindow.document&&Me.contentWindow.document.documentElement){Je.tree=rl(Me.contentWindow.document.documentElement);var Ot=Me.contentWindow.document.documentElement?ul(getComputedStyle(Me.contentWindow.document.documentElement).backgroundColor):Oi.TRANSPARENT,tr=Me.contentWindow.document.body?ul(getComputedStyle(Me.contentWindow.document.body).backgroundColor):Oi.TRANSPARENT;Je.backgroundColor=En(Ot)?En(tr)?Je.styles.backgroundColor:tr:Ot}}catch(vr){}return Je}return Z}(io),oc=["OL","UL","MENU"],sc=function qe(Z,Me,Je){for(var Ot=Z.firstChild,tr=void 0;Ot;Ot=tr)if(tr=Ot.nextSibling,Ss(Ot)&&Ot.data.trim().length>0)Me.textNodes.push(new Ho(Ot,Me.styles));else if(Ks(Ot)){var vr=ks(Ot);vr.styles.isVisible()&&(wl(Ot,vr,Je)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),oc.indexOf(Ot.tagName)!==-1&&(vr.flags|=8),Me.elements.push(vr),!Cl(Ot)&&!Qs(Ot)&&!pl(Ot)&&qe(Ot,vr,Je))}},ks=function(Z){return fl(Z)?new Nl(Z):il(Z)?new Ls(Z):Qs(Z)?new Ys(Z):Sl(Z)?new el(Z):Fl(Z)?new Hl(Z):Vl(Z)?new Ml(Z):pl(Z)?new bl(Z):Cl(Z)?new zl(Z):El(Z)?new Wl(Z):new io(Z)},rl=function(Z){var Me=ks(Z);return Me.flags|=4,sc(Z,Me,Me),Me},wl=function(Z,Me,Je){return Me.styles.isPositionedWithZIndex()||Me.styles.opacity<1||Me.styles.isTransformed()||hl(Z)&&Je.styles.isTransparent()},dl=function(Z){return Z.isPositioned()||Z.isFloating()},Ss=function(Z){return Z.nodeType===Node.TEXT_NODE},Ks=function(Z){return Z.nodeType===Node.ELEMENT_NODE},nl=function(Z){return Ks(Z)&&typeof Z.style!="undefined"&&!Ps(Z)},Ps=function(Z){return typeof Z.className=="object"},Sl=function(Z){return Z.tagName==="LI"},Fl=function(Z){return Z.tagName==="OL"},Vl=function(Z){return Z.tagName==="INPUT"},xl=function(Z){return Z.tagName==="HTML"},Qs=function(Z){return Z.tagName==="svg"},hl=function(Z){return Z.tagName==="BODY"},il=function(Z){return Z.tagName==="CANVAS"},fl=function(Z){return Z.tagName==="IMG"},El=function(Z){return Z.tagName==="IFRAME"},zs=function(Z){return Z.tagName==="STYLE"},Xl=function(Z){return Z.tagName==="SCRIPT"},Cl=function(Z){return Z.tagName==="TEXTAREA"},pl=function(Z){return Z.tagName==="SELECT"},Tl=function(){function qe(){this.counters={}}return qe.prototype.getCounterValue=function(Z){var Me=this.counters[Z];return Me&&Me.length?Me[Me.length-1]:1},qe.prototype.getCounterValues=function(Z){var Me=this.counters[Z];return Me||[]},qe.prototype.pop=function(Z){var Me=this;Z.forEach(function(Je){return Me.counters[Je].pop()})},qe.prototype.parse=function(Z){var Me=this,Je=Z.counterIncrement,Ot=Z.counterReset,tr=!0;Je!==null&&Je.forEach(function(Lr){var Hr=Me.counters[Lr.counter];Hr&&Lr.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=Lr.increment)});var vr=[];return tr&&Ot.forEach(function(Lr){var Hr=Me.counters[Lr.counter];vr.push(Lr.counter),Hr||(Hr=Me.counters[Lr.counter]=[]),Hr.push(Lr.reset)}),vr},qe}(),Gl={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"]},kl={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"]},ml={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"]},Yl={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"]},Js=function(Z,Me,Je,Ot,tr,vr){return Z<Me||Z>Je?vl(Z,tr,vr.length>0):Ot.integers.reduce(function(Lr,Hr,Kr){for(;Z>=Hr;)Z-=Hr,Lr+=Ot.values[Kr];return Lr},"")+vr},Ql=function(Z,Me,Je,Ot){var tr="";do Je||Z--,tr=Ot(Z)+tr,Z/=Me;while(Z*Me>=Me);return tr},Ro=function(Z,Me,Je,Ot,tr){var vr=Je-Me+1;return(Z<0?"-":"")+(Ql(Math.abs(Z),vr,Ot,function(Lr){return r(Math.floor(Lr%vr)+Me)})+tr)},Ws=function(Z,Me,Je){Je===void 0&&(Je=". ");var Ot=Me.length;return Ql(Math.abs(Z),Ot,!1,function(tr){return Me[Math.floor(tr%Ot)]})+Je},al=1<<0,Bs=1<<1,Us=1<<2,gl=1<<3,xs=function(Z,Me,Je,Ot,tr,vr){if(Z<-9999||Z>9999)return vl(Z,Dn.CJK_DECIMAL,tr.length>0);var Lr=Math.abs(Z),Hr=tr;if(Lr===0)return Me[0]+Hr;for(var Kr=0;Lr>0&&Kr<=4;Kr++){var cn=Lr%10;cn===0&&Do(vr,al)&&Hr!==""?Hr=Me[cn]+Hr:cn>1||cn===1&&Kr===0||cn===1&&Kr===1&&Do(vr,Bs)||cn===1&&Kr===1&&Do(vr,Us)&&Z>100||cn===1&&Kr>1&&Do(vr,gl)?Hr=Me[cn]+(Kr>0?Je[Kr-1]:"")+Hr:cn===1&&Kr>0&&(Hr=Je[Kr-1]+Hr),Lr=Math.floor(Lr/10)}return(Z<0?Ot:"")+Hr},ol="\u5341\u767E\u5343\u842C",Zs="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",Ol="\uB9C8\uC774\uB108\uC2A4",vl=function(Z,Me,Je){var Ot=Je?". ":"",tr=Je?"\u3001":"",vr=Je?", ":"",Lr=Je?" ":"";switch(Me){case Dn.DISC:return"\u2022"+Lr;case Dn.CIRCLE:return"\u25E6"+Lr;case Dn.SQUARE:return"\u25FE"+Lr;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(Z,48,57,!0,Ot);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(Z,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Js(Z,1,3999,Gl,Dn.DECIMAL,Ot).toLowerCase();case Dn.UPPER_ROMAN:return Js(Z,1,3999,Gl,Dn.DECIMAL,Ot);case Dn.LOWER_GREEK:return Ro(Z,945,969,!1,Ot);case Dn.LOWER_ALPHA:return Ro(Z,97,122,!1,Ot);case Dn.UPPER_ALPHA:return Ro(Z,65,90,!1,Ot);case Dn.ARABIC_INDIC:return Ro(Z,1632,1641,!0,Ot);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Js(Z,1,9999,kl,Dn.DECIMAL,Ot);case Dn.LOWER_ARMENIAN:return Js(Z,1,9999,kl,Dn.DECIMAL,Ot).toLowerCase();case Dn.BENGALI:return Ro(Z,2534,2543,!0,Ot);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(Z,6112,6121,!0,Ot);case Dn.CJK_EARTHLY_BRANCH:return Ws(Z,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(Z,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Bs|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(Z,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Zs,"\u8CA0",tr,al|Bs|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Bs|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(Z,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Zs,"\u8D1F",tr,al|Bs|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(Z,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,tr,0);case Dn.JAPANESE_FORMAL:return xs(Z,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,tr,al|Bs|Us);case Dn.KOREAN_HANGUL_FORMAL:return xs(Z,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ol,vr,al|Bs|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(Z,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ol,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(Z,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ol,vr,al|Bs|Us);case Dn.DEVANAGARI:return Ro(Z,2406,2415,!0,Ot);case Dn.GEORGIAN:return Js(Z,1,19999,Yl,Dn.DECIMAL,Ot);case Dn.GUJARATI:return Ro(Z,2790,2799,!0,Ot);case Dn.GURMUKHI:return Ro(Z,2662,2671,!0,Ot);case Dn.HEBREW:return Js(Z,1,10999,ml,Dn.DECIMAL,Ot);case Dn.HIRAGANA:return Ws(Z,"\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 Dn.HIRAGANA_IROHA:return Ws(Z,"\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 Dn.KANNADA:return Ro(Z,3302,3311,!0,Ot);case Dn.KATAKANA:return Ws(Z,"\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",tr);case Dn.KATAKANA_IROHA:return Ws(Z,"\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",tr);case Dn.LAO:return Ro(Z,3792,3801,!0,Ot);case Dn.MONGOLIAN:return Ro(Z,6160,6169,!0,Ot);case Dn.MYANMAR:return Ro(Z,4160,4169,!0,Ot);case Dn.ORIYA:return Ro(Z,2918,2927,!0,Ot);case Dn.PERSIAN:return Ro(Z,1776,1785,!0,Ot);case Dn.TAMIL:return Ro(Z,3046,3055,!0,Ot);case Dn.TELUGU:return Ro(Z,3174,3183,!0,Ot);case Dn.THAI:return Ro(Z,3664,3673,!0,Ot);case Dn.TIBETAN:return Ro(Z,3872,3881,!0,Ot);case Dn.DECIMAL:default:return Ro(Z,48,57,!0,Ot)}},ql="data-html2canvas-ignore",Bl=function(){function qe(Z,Me){if(this.options=Me,this.scrolledElements=[],this.referenceElement=Z,this.counters=new Tl,this.quoteDepth=0,!Z.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Z.ownerDocument.documentElement)}return qe.prototype.toIFrame=function(Z,Me){var Je=this,Ot=Jl(Z,Me);if(!Ot.contentWindow)return Promise.reject("Unable to find iframe window");var tr=Z.defaultView.pageXOffset,vr=Z.defaultView.pageYOffset,Lr=Ot.contentWindow,Hr=Lr.document,Kr=lc(Ot).then(function(){return p(Je,void 0,void 0,function(){var cn;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ec),Lr&&(Lr.scrollTo(Me.left,Me.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Lr.scrollY!==Me.top||Lr.scrollX!==Me.left)&&(Hr.documentElement.style.top=-Me.top+"px",Hr.documentElement.style.left=-Me.left+"px",Hr.documentElement.style.position="absolute")),cn=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof cn=="function"?[2,Promise.resolve().then(function(){return cn(Hr)}).then(function(){return Ot})]:[2,Ot]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),_l(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),Kr},qe.prototype.createElementClone=function(Z){if(il(Z))return this.createCanvasClone(Z);if(zs(Z))return this.createStyleClone(Z);var Me=Z.cloneNode(!1);return fl(Me)&&Me.loading==="lazy"&&(Me.loading="eager"),Me},qe.prototype.createStyleClone=function(Z){try{var Me=Z.sheet;if(Me&&Me.cssRules){var Je=[].slice.call(Me.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Ot=Z.cloneNode(!1);return Ot.textContent=Je,Ot}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return Z.cloneNode(!1)},qe.prototype.createCanvasClone=function(Z){if(this.options.inlineImages&&Z.ownerDocument){var Me=Z.ownerDocument.createElement("img");try{return Me.src=Z.toDataURL(),Me}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Je=Z.cloneNode(!1);try{Je.width=Z.width,Je.height=Z.height;var Ot=Z.getContext("2d"),tr=Je.getContext("2d");return tr&&(Ot?tr.putImageData(Ot.getImageData(0,0,Z.width,Z.height),0,0):tr.drawImage(Z,0,0)),Je}catch(vr){}return Je},qe.prototype.cloneNode=function(Z){if(Ss(Z))return document.createTextNode(Z.data);if(!Z.ownerDocument)return Z.cloneNode(!1);var Me=Z.ownerDocument.defaultView;if(Me&&Ks(Z)&&(nl(Z)||Ps(Z))){var Je=this.createElementClone(Z),Ot=Me.getComputedStyle(Z),tr=Me.getComputedStyle(Z,":before"),vr=Me.getComputedStyle(Z,":after");this.referenceElement===Z&&nl(Je)&&(this.clonedReferenceElement=Je),hl(Je)&&uc(Je);for(var Lr=this.counters.parse(new Bi(Ot)),Hr=this.resolvePseudoContent(Z,Je,tr,yl.BEFORE),Kr=Z.firstChild;Kr;Kr=Kr.nextSibling)(!Ks(Kr)||!Xl(Kr)&&!Kr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Kr)))&&((!this.options.copyStyles||!Ks(Kr)||!zs(Kr))&&Je.appendChild(this.cloneNode(Kr)));Hr&&Je.insertBefore(Hr,Je.firstChild);var cn=this.resolvePseudoContent(Z,Je,vr,yl.AFTER);return cn&&Je.appendChild(cn),this.counters.pop(Lr),Ot&&(this.options.copyStyles||Ps(Z))&&!El(Z)&&Zl(Ot,Je),(Z.scrollTop!==0||Z.scrollLeft!==0)&&this.scrolledElements.push([Je,Z.scrollLeft,Z.scrollTop]),(Cl(Z)||pl(Z))&&(Cl(Je)||pl(Je))&&(Je.value=Z.value),Je}return Z.cloneNode(!1)},qe.prototype.resolvePseudoContent=function(Z,Me,Je,Ot){var tr=this;if(!Je)return;var vr=Je.content,Lr=Me.ownerDocument;if(!Lr||!vr||vr==="none"||vr==="-moz-alt-content"||Je.display==="none")return;this.counters.parse(new Bi(Je));var Hr=new ui(Je),Kr=Lr.createElement("html2canvaspseudoelement");Zl(Je,Kr),Hr.content.forEach(function(sn){if(sn.type===Fe.STRING_TOKEN)Kr.appendChild(Lr.createTextNode(sn.value));else if(sn.type===Fe.URL_TOKEN){var Fn=Lr.createElement("img");Fn.src=sn.value,Fn.style.opacity="1",Kr.appendChild(Fn)}else if(sn.type===Fe.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Jt);si.length&&Kr.appendChild(Lr.createTextNode(Z.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var Kn=sn.values.filter(Er),fi=Kn[0],da=Kn[1];if(fi&&Jt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL;Kr.appendChild(Lr.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var Ia=sn.values.filter(Er),fi=Ia[0],Pi=Ia[1],da=Ia[2];if(fi&&Jt(fi)){var Io=tr.counters.getCounterValues(fi.value),no=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL,zo=Pi&&Pi.type===Fe.STRING_TOKEN?Pi.value:"",Po=Io.map(function(fs){return vl(fs,no,!1)}).join(zo);Kr.appendChild(Lr.createTextNode(Po))}}}else if(sn.type===Fe.IDENT_TOKEN)switch(sn.value){case"open-quote":Kr.appendChild(Lr.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":Kr.appendChild(Lr.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:Kr.appendChild(Lr.createTextNode(sn.value))}}),Kr.className=js+" "+Il;var cn=Ot===yl.BEFORE?" "+js:" "+Il;return Ps(Me)?Me.className.baseValue+=cn:Me.className+=cn,Kr},qe.destroy=function(Z){return Z.parentNode?(Z.parentNode.removeChild(Z),!0):!1},qe}(),yl;(function(qe){qe[qe.BEFORE=0]="BEFORE",qe[qe.AFTER=1]="AFTER"})(yl||(yl={}));var Jl=function(Z,Me){var Je=Z.createElement("iframe");return Je.className="html2canvas-container",Je.style.visibility="hidden",Je.style.position="fixed",Je.style.left="-10000px",Je.style.top="0px",Je.style.border="0",Je.width=Me.width.toString(),Je.height=Me.height.toString(),Je.scrolling="no",Je.setAttribute(ql,"true"),Z.body.appendChild(Je),Je},lc=function(Z){return new Promise(function(Me,Je){var Ot=Z.contentWindow;if(!Ot)return Je("No window assigned for iframe");var tr=Ot.document;Ot.onload=Z.onload=tr.onreadystatechange=function(){Ot.onload=Z.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),Me(Z))},50)}})},Zl=function(Z,Me){for(var Je=Z.length-1;Je>=0;Je--){var Ot=Z.item(Je);Ot!=="content"&&Me.style.setProperty(Ot,Z.getPropertyValue(Ot))}return Me},$l=function(Z){var Me="";return Z&&(Me+="<!DOCTYPE ",Z.name&&(Me+=Z.name),Z.internalSubset&&(Me+=Z.internalSubset),Z.publicId&&(Me+='"'+Z.publicId+'"'),Z.systemId&&(Me+='"'+Z.systemId+'"'),Me+=">"),Me},_l=function(Z,Me,Je){Z&&Z.defaultView&&(Me!==Z.defaultView.pageXOffset||Je!==Z.defaultView.pageYOffset)&&Z.defaultView.scrollTo(Me,Je)},ec=function(Z){var Me=Z[0],Je=Z[1],Ot=Z[2];Me.scrollLeft=Je,Me.scrollTop=Ot},cc=":before",Ll=":after",js="___html2canvas___pseudoelement_before",Il="___html2canvas___pseudoelement_after",Al=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,uc=function(Z){dc(Z,"."+js+cc+Al+`
|
|
|
.`+Il+Ll+Al)},dc=function(Z,Me){var Je=Z.ownerDocument;if(Je){var Ot=Je.createElement("style");Ot.textContent=Me,Z.appendChild(Ot)}},sl;(function(qe){qe[qe.VECTOR=0]="VECTOR",qe[qe.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var at=function(Z,Me){return Z.length===Me.length?Z.some(function(Je,Ot){return Je===Me[Ot]}):!1},ce=function(Z,Me,Je,Ot,tr){return Z.map(function(vr,Lr){switch(Lr){case 0:return vr.add(Me,Je);case 1:return vr.add(Me+Ot,Je);case 2:return vr.add(Me+Ot,Je+tr);case 3:return vr.add(Me,Je+tr)}return vr})},Ue=function(){function qe(Z,Me){this.type=sl.VECTOR,this.x=Z,this.y=Me}return qe.prototype.add=function(Z,Me){return new qe(this.x+Z,this.y+Me)},qe}(),bt=function(Z,Me,Je){return new Ue(Z.x+(Me.x-Z.x)*Je,Z.y+(Me.y-Z.y)*Je)},kt=function(){function qe(Z,Me,Je,Ot){this.type=sl.BEZIER_CURVE,this.start=Z,this.startControl=Me,this.endControl=Je,this.end=Ot}return qe.prototype.subdivide=function(Z,Me){var Je=bt(this.start,this.startControl,Z),Ot=bt(this.startControl,this.endControl,Z),tr=bt(this.endControl,this.end,Z),vr=bt(Je,Ot,Z),Lr=bt(Ot,tr,Z),Hr=bt(vr,Lr,Z);return Me?new qe(this.start,Je,vr,Hr):new qe(Hr,Lr,tr,this.end)},qe.prototype.add=function(Z,Me){return new qe(this.start.add(Z,Me),this.startControl.add(Z,Me),this.endControl.add(Z,Me),this.end.add(Z,Me))},qe.prototype.reverse=function(){return new qe(this.end,this.endControl,this.startControl,this.start)},qe}(),qt=function(Z){return Z.type===sl.BEZIER_CURVE},ar=function(){function qe(Z){var Me=Z.styles,Je=Z.bounds,Ot=Mr(Me.borderTopLeftRadius,Je.width,Je.height),tr=Ot[0],vr=Ot[1],Lr=Mr(Me.borderTopRightRadius,Je.width,Je.height),Hr=Lr[0],Kr=Lr[1],cn=Mr(Me.borderBottomRightRadius,Je.width,Je.height),sn=cn[0],Fn=cn[1],si=Mr(Me.borderBottomLeftRadius,Je.width,Je.height),Kn=si[0],fi=si[1],da=[];da.push((tr+Hr)/Je.width),da.push((Kn+sn)/Je.width),da.push((vr+fi)/Je.height),da.push((Kr+Fn)/Je.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,Kr/=Ti,sn/=Ti,Fn/=Ti,Kn/=Ti,fi/=Ti);var na=Je.width-Hr,Ia=Je.height-Fn,Pi=Je.width-sn,Io=Je.height-fi,no=Me.borderTopWidth,zo=Me.borderRightWidth,Po=Me.borderBottomWidth,ka=Me.borderLeftWidth,Wo=Dr(Me.paddingTop,Z.bounds.width),fs=Dr(Me.paddingRight,Z.bounds.width),vs=Dr(Me.paddingBottom,Z.bounds.width),Es=Dr(Me.paddingLeft,Z.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(Je.left,Je.top,tr,vr,lr.TOP_LEFT):new Ue(Je.left,Je.top),this.topRightBorderBox=Hr>0||Kr>0?yr(Je.left+na,Je.top,Hr,Kr,lr.TOP_RIGHT):new Ue(Je.left+Je.width,Je.top),this.bottomRightBorderBox=sn>0||Fn>0?yr(Je.left+Pi,Je.top+Ia,sn,Fn,lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width,Je.top+Je.height),this.bottomLeftBorderBox=Kn>0||fi>0?yr(Je.left,Je.top+Io,Kn,fi,lr.BOTTOM_LEFT):new Ue(Je.left,Je.top+Je.height),this.topLeftPaddingBox=tr>0||vr>0?yr(Je.left+ka,Je.top+no,Math.max(0,tr-ka),Math.max(0,vr-no),lr.TOP_LEFT):new Ue(Je.left+ka,Je.top+no),this.topRightPaddingBox=Hr>0||Kr>0?yr(Je.left+Math.min(na,Je.width+ka),Je.top+no,na>Je.width+ka?0:Hr-ka,Kr-no,lr.TOP_RIGHT):new Ue(Je.left+Je.width-zo,Je.top+no),this.bottomRightPaddingBox=sn>0||Fn>0?yr(Je.left+Math.min(Pi,Je.width-ka),Je.top+Math.min(Ia,Je.height+no),Math.max(0,sn-zo),Fn-Po,lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width-zo,Je.top+Je.height-Po),this.bottomLeftPaddingBox=Kn>0||fi>0?yr(Je.left+ka,Je.top+Io,Math.max(0,Kn-ka),fi-Po,lr.BOTTOM_LEFT):new Ue(Je.left+ka,Je.top+Je.height-Po),this.topLeftContentBox=tr>0||vr>0?yr(Je.left+ka+Es,Je.top+no+Wo,Math.max(0,tr-(ka+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new Ue(Je.left+ka+Es,Je.top+no+Wo),this.topRightContentBox=Hr>0||Kr>0?yr(Je.left+Math.min(na,Je.width+ka+Es),Je.top+no+Wo,na>Je.width+ka+Es?0:Hr-ka+Es,Kr-(no+Wo),lr.TOP_RIGHT):new Ue(Je.left+Je.width-(zo+fs),Je.top+no+Wo),this.bottomRightContentBox=sn>0||Fn>0?yr(Je.left+Math.min(Pi,Je.width-(ka+Es)),Je.top+Math.min(Ia,Je.height+no+Wo),Math.max(0,sn-(zo+fs)),Fn-(Po+vs),lr.BOTTOM_RIGHT):new Ue(Je.left+Je.width-(zo+fs),Je.top+Je.height-(Po+vs)),this.bottomLeftContentBox=Kn>0||fi>0?yr(Je.left+ka+Es,Je.top+Io,Math.max(0,Kn-(ka+Es)),fi-(Po+vs),lr.BOTTOM_LEFT):new Ue(Je.left+ka+Es,Je.top+Je.height-(Po+vs))}return qe}(),lr;(function(qe){qe[qe.TOP_LEFT=0]="TOP_LEFT",qe[qe.TOP_RIGHT=1]="TOP_RIGHT",qe[qe.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",qe[qe.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(Z,Me,Je,Ot,tr){var vr=4*((Math.sqrt(2)-1)/3),Lr=Je*vr,Hr=Ot*vr,Kr=Z+Je,cn=Me+Ot;switch(tr){case lr.TOP_LEFT:return new kt(new Ue(Z,cn),new Ue(Z,cn-Hr),new Ue(Kr-Lr,Me),new Ue(Kr,Me));case lr.TOP_RIGHT:return new kt(new Ue(Z,Me),new Ue(Z+Lr,Me),new Ue(Kr,cn-Hr),new Ue(Kr,cn));case lr.BOTTOM_RIGHT:return new kt(new Ue(Kr,Me),new Ue(Kr,Me+Hr),new Ue(Z+Lr,cn),new Ue(Z,cn));case lr.BOTTOM_LEFT:default:return new kt(new Ue(Kr,cn),new Ue(Kr-Lr,cn),new Ue(Z,Me+Hr),new Ue(Z,Me))}},Vr=function(Z){return[Z.topLeftBorderBox,Z.topRightBorderBox,Z.bottomRightBorderBox,Z.bottomLeftBorderBox]},Xr=function(Z){return[Z.topLeftContentBox,Z.topRightContentBox,Z.bottomRightContentBox,Z.bottomLeftContentBox]},Br=function(Z){return[Z.topLeftPaddingBox,Z.topRightPaddingBox,Z.bottomRightPaddingBox,Z.bottomLeftPaddingBox]},kr=function(){function qe(Z,Me,Je){this.type=0,this.offsetX=Z,this.offsetY=Me,this.matrix=Je,this.target=2|4}return qe}(),Yr=function(){function qe(Z,Me){this.type=1,this.target=Me,this.path=Z}return qe}(),dn=function(Z){return Z.type===0},pn=function(Z){return Z.type===1},ei=function(){function qe(Z){this.element=Z,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return qe}(),ci=function(){function qe(Z,Me){if(this.container=Z,this.effects=Me.slice(0),this.curves=new ar(Z),Z.styles.transform!==null){var Je=Z.bounds.left+Z.styles.transformOrigin[0].number,Ot=Z.bounds.top+Z.styles.transformOrigin[1].number,tr=Z.styles.transform;this.effects.push(new kr(Je,Ot,tr))}if(Z.styles.overflowX!==We.VISIBLE){var vr=Vr(this.curves),Lr=Br(this.curves);at(vr,Lr)?this.effects.push(new Yr(vr,2|4)):(this.effects.push(new Yr(vr,2)),this.effects.push(new Yr(Lr,4)))}}return qe.prototype.getParentEffects=function(){var Z=this.effects.slice(0);if(this.container.styles.overflowX!==We.VISIBLE){var Me=Vr(this.curves),Je=Br(this.curves);at(Me,Je)||Z.push(new Yr(Je,2|4))}return Z},qe}(),ii=function qe(Z,Me,Je,Ot){Z.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),Lr=Do(tr.flags,2),Hr=new ci(tr,Z.getParentEffects());Do(tr.styles.display,2048)&&Ot.push(Hr);var Kr=Do(tr.flags,8)?[]:Ot;if(vr||Lr){var cn=vr||tr.styles.isPositioned()?Je:Me,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var Fn=tr.styles.zIndex.order;if(Fn<0){var si=0;cn.negativeZIndex.some(function(fi,da){return Fn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),cn.negativeZIndex.splice(si,0,sn)}else if(Fn>0){var Kn=0;cn.positiveZIndex.some(function(fi,da){return Fn>=fi.element.container.styles.zIndex.order?(Kn=da+1,!1):Kn>0}),cn.positiveZIndex.splice(Kn,0,sn)}else cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?cn.nonPositionedFloats.push(sn):cn.nonPositionedInlineLevel.push(sn);qe(Hr,sn,vr?sn:Je,Kr)}else tr.styles.isInlineLevel()?Me.inlineLevel.push(Hr):Me.nonInlineLevel.push(Hr),qe(Hr,Me,Je,Kr);Do(tr.flags,8)&&Ji(tr,Kr)})},Ji=function(Z,Me){for(var Je=Z instanceof Hl?Z.start:1,Ot=Z instanceof Hl?Z.reversed:!1,tr=0;tr<Me.length;tr++){var vr=Me[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(Je=vr.container.value),vr.listValue=vl(Je,vr.container.styles.listStyleType,!0),Je+=Ot?-1:1}},Si=function(Z){var Me=new ci(Z,[]),Je=new ei(Me),Ot=[];return ii(Me,Je,Je,Ot),Ji(Me.container,Ot),Je},Va=function(Z,Me){switch(Me){case 0:return Ei(Z.topLeftBorderBox,Z.topLeftPaddingBox,Z.topRightBorderBox,Z.topRightPaddingBox);case 1:return Ei(Z.topRightBorderBox,Z.topRightPaddingBox,Z.bottomRightBorderBox,Z.bottomRightPaddingBox);case 2:return Ei(Z.bottomRightBorderBox,Z.bottomRightPaddingBox,Z.bottomLeftBorderBox,Z.bottomLeftPaddingBox);case 3:default:return Ei(Z.bottomLeftBorderBox,Z.bottomLeftPaddingBox,Z.topLeftBorderBox,Z.topLeftPaddingBox)}},Ei=function(Z,Me,Je,Ot){var tr=[];return qt(Z)?tr.push(Z.subdivide(.5,!1)):tr.push(Z),qt(Je)?tr.push(Je.subdivide(.5,!0)):tr.push(Je),qt(Ot)?tr.push(Ot.subdivide(.5,!0).reverse()):tr.push(Ot),qt(Me)?tr.push(Me.subdivide(.5,!1).reverse()):tr.push(Me),tr},co=function(Z){var Me=Z.bounds,Je=Z.styles;return Me.add(Je.borderLeftWidth,Je.borderTopWidth,-(Je.borderRightWidth+Je.borderLeftWidth),-(Je.borderTopWidth+Je.borderBottomWidth))},Ko=function(Z){var Me=Z.styles,Je=Z.bounds,Ot=Dr(Me.paddingLeft,Je.width),tr=Dr(Me.paddingRight,Je.width),vr=Dr(Me.paddingTop,Je.width),Lr=Dr(Me.paddingBottom,Je.width);return Je.add(Ot+Me.borderLeftWidth,vr+Me.borderTopWidth,-(Me.borderRightWidth+Me.borderLeftWidth+Ot+tr),-(Me.borderTopWidth+Me.borderBottomWidth+vr+Lr))},ao=function(Z,Me){return Z===0?Me.bounds:Z===2?Ko(Me):co(Me)},Uo=function(Z,Me){return Z===Ri.BORDER_BOX?Me.bounds:Z===Ri.CONTENT_BOX?Ko(Me):co(Me)},L=function(Z,Me,Je){var Ot=ao(re(Z.styles.backgroundOrigin,Me),Z),tr=Uo(re(Z.styles.backgroundClip,Me),Z),vr=J(re(Z.styles.backgroundSize,Me),Je,Ot),Lr=vr[0],Hr=vr[1],Kr=Mr(re(Z.styles.backgroundPosition,Me),Ot.width-Lr,Ot.height-Hr),cn=De(re(Z.styles.backgroundRepeat,Me),Kr,vr,Ot,tr),sn=Math.round(Ot.left+Kr[0]),Fn=Math.round(Ot.top+Kr[1]);return[cn,sn,Fn,Lr,Hr]},M=function(Z){return Jt(Z)&&Z.value===Ra.AUTO},Q=function(Z){return typeof Z=="number"},J=function(Z,Me,Je){var Ot=Me[0],tr=Me[1],vr=Me[2],Lr=Z[0],Hr=Z[1];if(an(Lr)&&Hr&&an(Hr))return[Dr(Lr,Je.width),Dr(Hr,Je.height)];var Kr=Q(vr);if(Jt(Lr)&&(Lr.value===Ra.CONTAIN||Lr.value===Ra.COVER)){if(Q(vr)){var cn=Je.width/Je.height;return cn<vr!==(Lr.value===Ra.COVER)?[Je.width,Je.width/vr]:[Je.height*vr,Je.height]}return[Je.width,Je.height]}var sn=Q(Ot),Fn=Q(tr),si=sn||Fn;if(M(Lr)&&(!Hr||M(Hr))){if(sn&&Fn)return[Ot,tr];if(!Kr&&!si)return[Je.width,Je.height];if(si&&Kr){var Kn=sn?Ot:tr*vr,fi=Fn?tr:Ot/vr;return[Kn,fi]}var da=sn?Ot:Je.width,Ti=Fn?tr:Je.height;return[da,Ti]}if(Kr){var na=0,Ia=0;return an(Lr)?na=Dr(Lr,Je.width):an(Hr)&&(Ia=Dr(Hr,Je.height)),M(Lr)?na=Ia*vr:(!Hr||M(Hr))&&(Ia=na/vr),[na,Ia]}var Pi=null,Io=null;if(an(Lr)?Pi=Dr(Lr,Je.width):Hr&&an(Hr)&&(Io=Dr(Hr,Je.height)),Pi!==null&&(!Hr||M(Hr))&&(Io=sn&&Fn?Pi/Ot*tr:Je.height),Io!==null&&M(Lr)&&(Pi=sn&&Fn?Io/tr*Ot:Je.width),Pi!==null&&Io!==null)return[Pi,Io];throw new Error("Unable to calculate background-size for element")},re=function(Z,Me){var Je=Z[Me];return typeof Je=="undefined"?Z[0]:Je},De=function(Z,Me,Je,Ot,tr){var vr=Me[0],Lr=Me[1],Hr=Je[0],Kr=Je[1];switch(Z){case fo.REPEAT_X:return[new Ue(Math.round(Ot.left),Math.round(Ot.top+Lr)),new Ue(Math.round(Ot.left+Ot.width),Math.round(Ot.top+Lr)),new Ue(Math.round(Ot.left+Ot.width),Math.round(Kr+Ot.top+Lr)),new Ue(Math.round(Ot.left),Math.round(Kr+Ot.top+Lr))];case fo.REPEAT_Y:return[new Ue(Math.round(Ot.left+vr),Math.round(Ot.top)),new Ue(Math.round(Ot.left+vr+Hr),Math.round(Ot.top)),new Ue(Math.round(Ot.left+vr+Hr),Math.round(Ot.height+Ot.top)),new Ue(Math.round(Ot.left+vr),Math.round(Ot.height+Ot.top))];case fo.NO_REPEAT:return[new Ue(Math.round(Ot.left+vr),Math.round(Ot.top+Lr)),new Ue(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Lr)),new Ue(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Lr+Kr)),new Ue(Math.round(Ot.left+vr),Math.round(Ot.top+Lr+Kr))];default:return[new Ue(Math.round(tr.left),Math.round(tr.top)),new Ue(Math.round(tr.left+tr.width),Math.round(tr.top)),new Ue(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new Ue(Math.round(tr.left),Math.round(tr.height+tr.top))]}},mt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Nt="Hidden Text",zt=function(){function qe(Z){this._data={},this._document=Z}return qe.prototype.parseMetrics=function(Z,Me){var Je=this._document.createElement("div"),Ot=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;Je.style.visibility="hidden",Je.style.fontFamily=Z,Je.style.fontSize=Me,Je.style.margin="0",Je.style.padding="0",vr.appendChild(Je),Ot.src=mt,Ot.width=1,Ot.height=1,Ot.style.margin="0",Ot.style.padding="0",Ot.style.verticalAlign="baseline",tr.style.fontFamily=Z,tr.style.fontSize=Me,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Nt)),Je.appendChild(tr),Je.appendChild(Ot);var Lr=Ot.offsetTop-tr.offsetTop+2;Je.removeChild(tr),Je.appendChild(this._document.createTextNode(Nt)),Je.style.lineHeight="normal",Ot.style.verticalAlign="super";var Hr=Ot.offsetTop-Je.offsetTop+2;return vr.removeChild(Je),{baseline:Lr,middle:Hr}},qe.prototype.getMetrics=function(Z,Me){var Je=Z+" "+Me;return typeof this._data[Je]=="undefined"&&(this._data[Je]=this.parseMetrics(Z,Me)),this._data[Je]},qe}(),Gt=1e4,Cr=function(){function qe(Z){this._activeEffects=[],this.canvas=Z.canvas?Z.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=Z,Z.canvas||(this.canvas.width=Math.floor(Z.width*Z.scale),this.canvas.height=Math.floor(Z.height*Z.scale),this.canvas.style.width=Z.width+"px",this.canvas.style.height=Z.height+"px"),this.fontMetrics=new zt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-Z.x+Z.scrollX,-Z.y+Z.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(Z.id).debug("Canvas renderer initialized ("+Z.width+"x"+Z.height+" at "+Z.x+","+Z.y+") with scale "+Z.scale)}return qe.prototype.applyEffects=function(Z,Me){for(var Je=this;this._activeEffects.length;)this.popEffect();Z.filter(function(Ot){return Do(Ot.target,Me)}).forEach(function(Ot){return Je.applyEffect(Ot)})},qe.prototype.applyEffect=function(Z){this.ctx.save(),dn(Z)&&(this.ctx.translate(Z.offsetX,Z.offsetY),this.ctx.transform(Z.matrix[0],Z.matrix[1],Z.matrix[2],Z.matrix[3],Z.matrix[4],Z.matrix[5]),this.ctx.translate(-Z.offsetX,-Z.offsetY)),pn(Z)&&(this.path(Z.path),this.ctx.clip()),this._activeEffects.push(Z)},qe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},qe.prototype.renderStack=function(Z){return p(this,void 0,void 0,function(){var Me;return v(this,function(Je){switch(Je.label){case 0:return Me=Z.element.container.styles,Me.isVisible()?(this.ctx.globalAlpha=Me.opacity,[4,this.renderStackContent(Z)]):[3,2];case 1:Je.sent(),Je.label=2;case 2:return[2]}})})},qe.prototype.renderNode=function(Z){return p(this,void 0,void 0,function(){return v(this,function(Me){switch(Me.label){case 0:return Z.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Z)]:[3,3];case 1:return Me.sent(),[4,this.renderNodeContent(Z)];case 2:Me.sent(),Me.label=3;case 3:return[2]}})})},qe.prototype.renderTextWithLetterSpacing=function(Z,Me){var Je=this;if(Me===0)this.ctx.fillText(Z.text,Z.bounds.left,Z.bounds.top+Z.bounds.height);else{var Ot=i(Z.text).map(function(tr){return r(tr)});Ot.reduce(function(tr,vr){return Je.ctx.fillText(vr,tr,Z.bounds.top+Z.bounds.height),tr+Je.ctx.measureText(vr).width},Z.bounds.left)}},qe.prototype.createFontStyle=function(Z){var Me=Z.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),Je=Z.fontFamily.join(", "),Ot=tt(Z.fontSize)?""+Z.fontSize.number+Z.fontSize.unit:Z.fontSize.number+"px";return[[Z.fontStyle,Me,Z.fontWeight,Ot,Je].join(" "),Je,Ot]},qe.prototype.renderTextNode=function(Z,Me){return p(this,void 0,void 0,function(){var Je,Ot,tr,vr,Lr=this;return v(this,function(Hr){return Je=this.createFontStyle(Me),Ot=Je[0],tr=Je[1],vr=Je[2],this.ctx.font=Ot,Z.textBounds.forEach(function(Kr){Lr.ctx.fillStyle=Ln(Me.color),Lr.renderTextWithLetterSpacing(Kr,Me.letterSpacing);var cn=Me.textShadow;cn.length&&Kr.text.trim().length&&(cn.slice(0).reverse().forEach(function(sn){Lr.ctx.shadowColor=Ln(sn.color),Lr.ctx.shadowOffsetX=sn.offsetX.number*Lr.options.scale,Lr.ctx.shadowOffsetY=sn.offsetY.number*Lr.options.scale,Lr.ctx.shadowBlur=sn.blur.number,Lr.ctx.fillText(Kr.text,Kr.bounds.left,Kr.bounds.top+Kr.bounds.height)}),Lr.ctx.shadowColor="",Lr.ctx.shadowOffsetX=0,Lr.ctx.shadowOffsetY=0,Lr.ctx.shadowBlur=0),Me.textDecorationLine.length&&(Lr.ctx.fillStyle=Ln(Me.textDecorationColor||Me.color),Me.textDecorationLine.forEach(function(sn){switch(sn){case 1:var Fn=Lr.fontMetrics.getMetrics(tr,vr).baseline;Lr.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top+Fn),Kr.bounds.width,1);break;case 2:Lr.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top),Kr.bounds.width,1);break;case 3:var si=Lr.fontMetrics.getMetrics(tr,vr).middle;Lr.ctx.fillRect(Kr.bounds.left,Math.ceil(Kr.bounds.top+si),Kr.bounds.width,1);break}}))}),[2]})})},qe.prototype.renderReplacedElement=function(Z,Me,Je){if(Je&&Z.intrinsicWidth>0&&Z.intrinsicHeight>0){var Ot=Ko(Z),tr=Br(Me);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Je,0,0,Z.intrinsicWidth,Z.intrinsicHeight,Ot.left,Ot.top,Ot.width,Ot.height),this.ctx.restore()}},qe.prototype.renderNodeContent=function(Z){return p(this,void 0,void 0,function(){var Me,Je,Ot,tr,vr,Lr,Hr,Kr,Hr,cn,sn,Fn,si,Kn,fi,da,Ti,Hr,na,Ia,Kn;return v(this,function(Pi){switch(Pi.label){case 0:this.applyEffects(Z.effects,4),Me=Z.container,Je=Z.curves,Ot=Me.styles,tr=0,vr=Me.textNodes,Pi.label=1;case 1:return tr<vr.length?(Lr=vr[tr],[4,this.renderTextNode(Lr,Ot)]):[3,4];case 2:Pi.sent(),Pi.label=3;case 3:return tr++,[3,1];case 4:if(!(Me instanceof Nl))return[3,8];Pi.label=5;case 5:return Pi.trys.push([5,7,,8]),[4,this.options.cache.match(Me.src)];case 6:return Hr=Pi.sent(),this.renderReplacedElement(Me,Je,Hr),[3,8];case 7:return Kr=Pi.sent(),la.getInstance(this.options.id).error("Error loading image "+Me.src),[3,8];case 8:if(Me instanceof Ls&&this.renderReplacedElement(Me,Je,Me.canvas),!(Me instanceof Ys))return[3,12];Pi.label=9;case 9:return Pi.trys.push([9,11,,12]),[4,this.options.cache.match(Me.svg)];case 10:return Hr=Pi.sent(),this.renderReplacedElement(Me,Je,Hr),[3,12];case 11:return cn=Pi.sent(),la.getInstance(this.options.id).error("Error loading svg "+Me.svg.substring(0,255)),[3,12];case 12:return Me instanceof Wl&&Me.tree?(sn=new qe({id:this.options.id,scale:this.options.scale,backgroundColor:Me.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:Me.width,height:Me.height,cache:this.options.cache,windowWidth:Me.width,windowHeight:Me.height}),[4,sn.render(Me.tree)]):[3,14];case 13:Fn=Pi.sent(),Me.width&&Me.height&&this.ctx.drawImage(Fn,0,0,Me.width,Me.height,Me.bounds.left,Me.bounds.top,Me.bounds.width,Me.bounds.height),Pi.label=14;case 14:if(Me instanceof Ml&&(si=Math.min(Me.bounds.width,Me.bounds.height),Me.type===es?Me.checked&&(this.ctx.save(),this.path([new Ue(Me.bounds.left+si*.39363,Me.bounds.top+si*.79),new Ue(Me.bounds.left+si*.16,Me.bounds.top+si*.5549),new Ue(Me.bounds.left+si*.27347,Me.bounds.top+si*.44071),new Ue(Me.bounds.left+si*.39694,Me.bounds.top+si*.5649),new Ue(Me.bounds.left+si*.72983,Me.bounds.top+si*.23),new Ue(Me.bounds.left+si*.84,Me.bounds.top+si*.34085),new Ue(Me.bounds.left+si*.39363,Me.bounds.top+si*.79)]),this.ctx.fillStyle=Ln(Rl),this.ctx.fill(),this.ctx.restore()):Me.type===tl&&(Me.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Me.bounds.left+si/2,Me.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=Ln(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(Me)&&Me.value.length){this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=Ln(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(Me.styles.textAlign),Kn=Ko(Me),fi=0;switch(Me.styles.textAlign){case Cn.CENTER:fi+=Kn.width/2;break;case Cn.RIGHT:fi+=Kn.width;break}da=Kn.add(fi,0,0,-Kn.height/2+1),this.ctx.save(),this.path([new Ue(Kn.left,Kn.top),new Ue(Kn.left+Kn.width,Kn.top),new Ue(Kn.left+Kn.width,Kn.top+Kn.height),new Ue(Kn.left,Kn.top+Kn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(Me.value,da),Ot.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(Me.styles.display,2048))return[3,20];if(!(Me.styles.listStyleImage!==null))return[3,19];if(Ti=Me.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,Pi.label=15;case 15:return Pi.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Pi.sent(),this.ctx.drawImage(Hr,Me.bounds.left-(Hr.width+10),Me.bounds.top),[3,18];case 17:return Ia=Pi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:Z.listValue&&Me.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=Ln(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Kn=new h(Me.bounds.left,Me.bounds.top+Dr(Me.styles.paddingTop,Me.bounds.width),Me.bounds.width,as(Ot.lineHeight,Ot.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(Z.listValue,Kn),Ot.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Pi.label=20;case 20:return[2]}})})},qe.prototype.renderStackContent=function(Z){return p(this,void 0,void 0,function(){var Me,Je,Ot,tr,vr,Ot,Lr,Hr,Ot,Kr,cn,Ot,sn,Fn,Ot,si,Kn,Ot,fi,da,Ot;return v(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(Z.element)];case 1:Ti.sent(),Me=0,Je=Z.negativeZIndex,Ti.label=2;case 2:return Me<Je.length?(Ot=Je[Me],[4,this.renderStack(Ot)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return Me++,[3,2];case 5:return[4,this.renderNodeContent(Z.element)];case 6:Ti.sent(),tr=0,vr=Z.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Ot=vr[tr],[4,this.renderNode(Ot)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:Lr=0,Hr=Z.nonPositionedFloats,Ti.label=11;case 11:return Lr<Hr.length?(Ot=Hr[Lr],[4,this.renderStack(Ot)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return Lr++,[3,11];case 14:Kr=0,cn=Z.nonPositionedInlineLevel,Ti.label=15;case 15:return Kr<cn.length?(Ot=cn[Kr],[4,this.renderStack(Ot)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return Kr++,[3,15];case 18:sn=0,Fn=Z.inlineLevel,Ti.label=19;case 19:return sn<Fn.length?(Ot=Fn[sn],[4,this.renderNode(Ot)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,Kn=Z.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<Kn.length?(Ot=Kn[si],[4,this.renderStack(Ot)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=Z.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Ot=da[fi],[4,this.renderStack(Ot)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},qe.prototype.mask=function(Z){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(Z.slice(0).reverse()),this.ctx.closePath()},qe.prototype.path=function(Z){this.ctx.beginPath(),this.formatPath(Z),this.ctx.closePath()},qe.prototype.formatPath=function(Z){var Me=this;Z.forEach(function(Je,Ot){var tr=qt(Je)?Je.start:Je;Ot===0?Me.ctx.moveTo(tr.x,tr.y):Me.ctx.lineTo(tr.x,tr.y),qt(Je)&&Me.ctx.bezierCurveTo(Je.startControl.x,Je.startControl.y,Je.endControl.x,Je.endControl.y,Je.end.x,Je.end.y)})},qe.prototype.renderRepeat=function(Z,Me,Je,Ot){this.path(Z),this.ctx.fillStyle=Me,this.ctx.translate(Je,Ot),this.ctx.fill(),this.ctx.translate(-Je,-Ot)},qe.prototype.resizeImage=function(Z,Me,Je){if(Z.width===Me&&Z.height===Je)return Z;var Ot=this.canvas.ownerDocument.createElement("canvas");Ot.width=Me,Ot.height=Je;var tr=Ot.getContext("2d");return tr.drawImage(Z,0,0,Z.width,Z.height,0,0,Me,Je),Ot},qe.prototype.renderBackgroundImage=function(Z){return p(this,void 0,void 0,function(){var Me,Je,Ot,tr,vr,Lr;return v(this,function(Hr){switch(Hr.label){case 0:Me=Z.styles.backgroundImage.length-1,Je=function(cn){var sn,Fn,si,Kn,fi,da,Ti,na,Ia,Pi,Io,fi,da,Ti,na,Ia,no,zo,Po,ka,Wo,fs,vs,Es,vc,Pi,tc,fi,pc,mc,na,Ia,gc,da,Ti,yc,Ul,Ac,bc,wc,hc,Sc,xc;return v(this,function(rc){switch(rc.label){case 0:if(!(cn.type===Ca.URL))return[3,5];sn=void 0,Fn=cn.url,rc.label=1;case 1:return rc.trys.push([1,3,,4]),[4,Ot.options.cache.match(Fn)];case 2:return sn=rc.sent(),[3,4];case 3:return si=rc.sent(),la.getInstance(Ot.options.id).error("Error loading background-image "+Fn),[3,4];case 4:return sn&&(Kn=L(Z,Me,[sn.width,sn.height,sn.width/sn.height]),fi=Kn[0],da=Kn[1],Ti=Kn[2],na=Kn[3],Ia=Kn[4],Pi=Ot.ctx.createPattern(Ot.resizeImage(sn,na,Ia),"repeat"),Ot.renderRepeat(fi,Pi,da,Ti)),[3,6];case 5:to(cn)?(Io=L(Z,Me,[null,null,null]),fi=Io[0],da=Io[1],Ti=Io[2],na=Io[3],Ia=Io[4],no=qi(cn.angle,na,Ia),zo=no[0],Po=no[1],ka=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=Ia,Es=vs.getContext("2d"),vc=Es.createLinearGradient(Po,Wo,ka,fs),mi(cn.stops,zo).forEach(function(fc){return vc.addColorStop(fc.stop,Ln(fc.color))}),Es.fillStyle=vc,Es.fillRect(0,0,na,Ia),na>0&&Ia>0&&(Pi=Ot.ctx.createPattern(vs,"repeat"),Ot.renderRepeat(fi,Pi,da,Ti))):Oo(cn)&&(tc=L(Z,Me,[null,null,null]),fi=tc[0],pc=tc[1],mc=tc[2],na=tc[3],Ia=tc[4],gc=cn.position.length===0?[sr]:cn.position,da=Dr(gc[0],na),Ti=Dr(gc[gc.length-1],Ia),yc=ya(cn,da,Ti,na,Ia),Ul=yc[0],Ac=yc[1],Ul>0&&Ul>0&&(bc=Ot.ctx.createRadialGradient(pc+da,mc+Ti,0,pc+da,mc+Ti,Ul),mi(cn.stops,Ul*2).forEach(function(fc){return bc.addColorStop(fc.stop,Ln(fc.color))}),Ot.path(fi),Ot.ctx.fillStyle=bc,Ul!==Ac?(wc=Z.bounds.left+.5*Z.bounds.width,hc=Z.bounds.top+.5*Z.bounds.height,Sc=Ac/Ul,xc=1/Sc,Ot.ctx.save(),Ot.ctx.translate(wc,hc),Ot.ctx.transform(1,0,0,Sc,0,0),Ot.ctx.translate(-wc,-hc),Ot.ctx.fillRect(pc,xc*(mc-hc)+hc,na,Ia*xc),Ot.ctx.restore()):Ot.ctx.fill())),rc.label=6;case 6:return Me--,[2]}})},Ot=this,tr=0,vr=Z.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(Lr=vr[tr],[5,Je(Lr)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},qe.prototype.renderBorder=function(Z,Me,Je){return p(this,void 0,void 0,function(){return v(this,function(Ot){return this.path(Va(Je,Me)),this.ctx.fillStyle=Ln(Z),this.ctx.fill(),[2]})})},qe.prototype.renderNodeBackgroundAndBorders=function(Z){return p(this,void 0,void 0,function(){var Me,Je,Ot,tr,vr,Lr,Hr,Kr,cn=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(Z.effects,2),Me=Z.container.styles,Je=!En(Me.backgroundColor)||Me.backgroundImage.length,Ot=[{style:Me.borderTopStyle,color:Me.borderTopColor},{style:Me.borderRightStyle,color:Me.borderRightColor},{style:Me.borderBottomStyle,color:Me.borderBottomColor},{style:Me.borderLeftStyle,color:Me.borderLeftColor}],tr=en(re(Me.backgroundClip,0),Z.curves),Je||Me.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(Me.backgroundColor)||(this.ctx.fillStyle=Ln(Me.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Z.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),Me.boxShadow.slice(0).reverse().forEach(function(Fn){cn.ctx.save();var si=Vr(Z.curves),Kn=Fn.inset?0:Gt,fi=ce(si,-Kn+(Fn.inset?1:-1)*Fn.spread.number,(Fn.inset?1:-1)*Fn.spread.number,Fn.spread.number*(Fn.inset?-2:2),Fn.spread.number*(Fn.inset?-2:2));Fn.inset?(cn.path(si),cn.ctx.clip(),cn.mask(fi)):(cn.mask(si),cn.ctx.clip(),cn.path(fi)),cn.ctx.shadowOffsetX=Fn.offsetX.number+Kn,cn.ctx.shadowOffsetY=Fn.offsetY.number,cn.ctx.shadowColor=Ln(Fn.color),cn.ctx.shadowBlur=Fn.blur.number,cn.ctx.fillStyle=Fn.inset?Ln(Fn.color):"rgba(0,0,0,1)",cn.ctx.fill(),cn.ctx.restore()}),sn.label=2;case 2:vr=0,Lr=0,Hr=Ot,sn.label=3;case 3:return Lr<Hr.length?(Kr=Hr[Lr],Kr.style!==bo.NONE&&!En(Kr.color)?[4,this.renderBorder(Kr.color,vr,Z.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Lr++,[3,3];case 7:return[2]}})})},qe.prototype.render=function(Z){return p(this,void 0,void 0,function(){var Me;return v(this,function(Je){switch(Je.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Ln(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),Me=Si(Z),[4,this.renderStack(Me)];case 1:return Je.sent(),this.applyEffects([],2),[2,this.canvas]}})})},qe}(),Ur=function(Z){return Z instanceof zl||Z instanceof bl?!0:Z instanceof Ml&&Z.type!==tl&&Z.type!==es},en=function(Z,Me){switch(Z){case Ri.BORDER_BOX:return Vr(Me);case Ri.CONTENT_BOX:return Xr(Me);case Ri.PADDING_BOX:default:return Br(Me)}},nn=function(Z){switch(Z){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function qe(Z){this.canvas=Z.canvas?Z.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=Z,this.canvas.width=Math.floor(Z.width*Z.scale),this.canvas.height=Math.floor(Z.height*Z.scale),this.canvas.style.width=Z.width+"px",this.canvas.style.height=Z.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-Z.x+Z.scrollX,-Z.y+Z.scrollY),la.getInstance(Z.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+Z.width+"x"+Z.height+" at "+Z.x+","+Z.y+") with scale "+Z.scale)}return qe.prototype.render=function(Z){return p(this,void 0,void 0,function(){var Me,Je;return v(this,function(Ot){switch(Ot.label){case 0:return Me=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,Z),[4,Bn(Me)];case 1:return Je=Ot.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Ln(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Je,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},qe}(),Bn=function(Z){return new Promise(function(Me,Je){var Ot=new Image;Ot.onload=function(){Me(Ot)},Ot.onerror=Je,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Z))})},Zn=void 0,Jn=function(Z){return Rn.parse(hn.create(Z).parseComponentValue())},oi=function(Z,Me){return Me===void 0&&(Me={}),li(Z,Me)};typeof window!="undefined"&&gi.setContext(window);var li=function(Z,Me){return p(Zn,void 0,void 0,function(){var Je,Ot,tr,vr,Lr,Hr,Kr,cn,sn,Fn,si,Kn,fi,da,Ti,na,Ia,Pi,Io,no,zo,Po,ka,Wo,fs,Wo;return v(this,function(vs){switch(vs.label){case 0:if(Je=Z.ownerDocument,!Je)throw new Error("Element is not attached to a Document");if(Ot=Je.defaultView,!Ot)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(Z)||xl(Z)?o(Je):u(Z),Lr=vr.width,Hr=vr.height,Kr=vr.left,cn=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Fn=y({},sn,Me),si={backgroundColor:"#ffffff",cache:Me.cache?Me.cache:gi.create(tr,Fn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Ot.devicePixelRatio||1,windowWidth:Ot.innerWidth,windowHeight:Ot.innerHeight,scrollX:Ot.pageXOffset,scrollY:Ot.pageYOffset,x:Kr,y:cn,width:Math.ceil(Lr),height:Math.ceil(Hr),id:tr},Kn=y({},si,Fn,Me),fi=new h(Kn.scrollX,Kn.scrollY,Kn.windowWidth,Kn.windowHeight),la.create({id:tr,enabled:Kn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Bl(Z,{id:tr,onclone:Kn.onclone,ignoreElements:Kn.ignoreElements,inlineImages:Kn.foreignObjectRendering,copyStyles:Kn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(Je,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),Ia=Je.documentElement?Jn(getComputedStyle(Je.documentElement).backgroundColor):Oi.TRANSPARENT,Pi=Je.body?Jn(getComputedStyle(Je.body).backgroundColor):Oi.TRANSPARENT,Io=Me.backgroundColor,no=typeof Io=="string"?Jn(Io):Io===null?Oi.TRANSPARENT:4294967295,zo=Z===Je.documentElement?En(Ia)?En(Pi)?no:Pi:Ia:no,Po={id:tr,cache:Kn.cache,canvas:Kn.canvas,backgroundColor:zo,scale:Kn.scale,x:Kn.x,y:Kn.y,scrollX:Kn.scrollX,scrollY:Kn.scrollY,width:Kn.width,height:Kn.height,windowWidth:Kn.windowWidth,windowHeight:Kn.windowHeight},Kn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Po),[4,Wo.render(Ti)]):[3,3];case 2:return ka=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(Kn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),zo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Oi.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Po),[4,Wo.render(fs)];case 4:ka=vs.sent(),vs.label=5;case 5:return Kn.removeContainer===!0&&(Bl.destroy(na)||la.getInstance(tr).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance(tr).debug("Finished rendering"),la.destroy(tr),gi.destroy(tr),[2,ka]}})})};return oi})},wPlo:function(D,I,e){"use strict";e.d(I,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("ygfH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="CheckOutlined";var u=y.forwardRef(h);I.default=u},wYyv:function(D,I,e){"use strict";var g=e("R5yR"),f=e("5wUe"),y=function(h,u,o){var i=u<0?h.length+u:u;if(i>=0&&i<h.length){var r=o<0?h.length+o:o,a=h.splice(u,1),c=f(a,1),n=c[0];h.splice(r,0,n)}},p=function(h,u,o){return h=g(h),y(h,u,o),h};D.exports=p,D.exports.mutate=y},wgJM:function(D,I,e){"use strict";e.d(I,"a",function(){return y});var g=function(v){return+setTimeout(v,16)},f=function(v){return clearTimeout(v)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(g=function(v){return window.requestAnimationFrame(v)},f=function(v){return window.cancelAnimationFrame(v)});function y(p){return g(p)}y.cancel=f},wgjA:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},whVF:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("lNSK"),f=y(e("1q3G"));function y(o){return o&&o.__esModule?o:{default:o}}function p(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")}function v(o,i){for(var r=0;r<i.length;r++){var a=i[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,a.key,a)}}function h(o,i,r){return i&&v(o.prototype,i),r&&v(o,r),o}var u=function(){function o(){p(this,o),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.deflateInit)(this.strm,this.windowBits)}return h(o,[{key:"deflate",value:function(r){this.strm.input=r,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,g.deflate)(this.strm,g.Z_FULL_FLUSH),c=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 n=[c],l=c.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,a=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),a<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=t.length,n.push(t)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),d=0,m=0;m<n.length;m++)s.set(n[m],d),d+=n[m].length;c=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,c}}]),o}();I.default=u},wlus:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="MinusCircleOutlined";var h=I.a=g.forwardRef(v)},wr5s:function(D,I,e){var g=e("IwbS"),f=g.extendShape,y=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(p,v){var h=v.cx,u=v.cy,o=Math.max(v.r0||0,0),i=Math.max(v.r,0),r=(i-o)*.5,a=o+r,c=v.startAngle,n=v.endAngle,l=v.clockwise,t=Math.cos(c),s=Math.sin(c),d=Math.cos(n),m=Math.sin(n),w=l?n-c<Math.PI*2:c-n<Math.PI*2;w&&(p.moveTo(t*o+h,s*o+u),p.arc(t*a+h,s*a+u,r,-Math.PI+c,c,!l)),p.arc(h,u,i,c,n,!l),p.moveTo(d*i+h,m*i+u),p.arc(d*a+h,m*a+u,r,n-Math.PI*2,n-Math.PI,!l),o!==0&&(p.arc(h,u,o,n,c,l),p.moveTo(t*o+h,m*o+u)),p.closePath()}});D.exports=y},wt3j:function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),p=e("EMyp"),v=p.layoutCovers,h=g.extendComponentView({type:"brush",init:function(o,i){this.ecModel=o,this.api=i,this.model,(this._brushController=new y(i.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(o){return this.model=o,u.apply(this,arguments)},updateTransform:function(o,i){return v(i),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(o,i){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(o,this.ecModel),(!i.isEnd||i.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:f.clone(o),$from:r}),i.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:f.clone(o),$from:r})}});function u(o,i,r,a){(!a||a.$from!==o.id)&&this._brushController.setPanels(o.brushTargetManager.makePanelOpts(r)).enableBrush(o.brushOption).updateCovers(o.areas.slice())}D.exports=h},wy8a:function(D,I,e){var g=e("KxBF");function f(y,p,v){var h=y.length;return v=v===void 0?h:v,!p&&v>=h?y:g(y,p,v)}D.exports=f},x3X8:function(D,I,e){var g=e("KxfA"),f=g.retrieveRawValue;function y(p,v){var h=p.mapDimension("defaultedLabel",!0),u=h.length;if(u===1)return f(p,v,h[0]);if(u){for(var o=[],i=0;i<h.length;i++){var r=f(p,v,h[i]);o.push(r)}return o.join(" ")}}I.getDefaultLabel=y},x54q:function(D,I,e){},x6Kt:function(D,I,e){var g=e("y+Vt"),f=e("VpOo"),y=e("nPnh"),p=y.subPixelOptimizeRect,v={},h=g.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(o,i){var r,a,c,n;this.subPixelOptimize?(p(v,i,this.style),r=v.x,a=v.y,c=v.width,n=v.height,v.r=i.r,i=v):(r=i.x,a=i.y,c=i.width,n=i.height),i.r?f.buildPath(o,i):o.rect(r,a,c,n),o.closePath();return}});D.exports=h},xGfz:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="PlusSquareOutlined";var h=I.a=g.forwardRef(v)},xKMd:function(D,I){function e(f,y){this.getAllNames=function(){var p=y();return p.mapArray(p.getName)},this.containName=function(p){var v=y();return v.indexOfName(p)>=0},this.indexOfName=function(p){var v=f();return v.indexOfName(p)},this.getItemVisual=function(p,v){var h=f();return h.getItemVisual(p,v)}}var g=e;D.exports=g},xO64:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function y(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(d){return typeof d}:y=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},y(t)}function p(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function v(t,s){for(var d=0;d<s.length;d++){var m=s[d];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(t,m.key,m)}}function h(t,s,d){return s&&v(t.prototype,s),d&&v(t,d),t}function u(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s&&o(t,s)}function o(t,s){return o=Object.setPrototypeOf||function(m,w){return m.__proto__=w,m},o(t,s)}function i(t){var s=c();return function(){var m=n(t),w;if(s){var b=n(this).constructor;w=Reflect.construct(m,arguments,b)}else w=m.apply(this,arguments);return r(this,w)}}function r(t,s){return s&&(y(s)==="object"||typeof s=="function")?s:a(t)}function a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(){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(t){return!1}}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},n(t)}var l=function(t){u(d,t);var s=i(d);function d(){return p(this,d),s.apply(this,arguments)}return h(d,[{key:"_pngRect",value:function(w,b,E,A,S,T,O){var x=this._readData(S);return x===null?!1:(T.imageRect(w,b,E,A,"image/png",x),!0)}},{key:"_basicRect",value:function(w,b,E,A,S,T,O,x){throw new Error("BasicCompression received in TightPNG rect")}}]),d}(g.default);I.default=l},xRUu:function(D,I,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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"};I.default=g},xSat:function(D,I){var e={axisPointer:1,tooltip:1,brush:1};function g(f,y,p){var v=y.getComponentByElement(f.topTarget),h=v&&v.coordinateSystem;return v&&v!==p&&!e[v.mainType]&&h&&h.model!==p}I.onIrrelevantElement=g},xTNl:function(D,I){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],g={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};D.exports=g},xYSL:function(D,I){function e(g,f){return g.has(f)}D.exports=e},xb2K:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("5yev")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="RedoOutlined";var u=y.forwardRef(h);I.default=u},xiyX:function(D,I,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),p=e("ICMv"),v=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),h={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 u(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,p),y("single",v,u,h);var o=v;D.exports=o},xlC8:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(f,y,p,v){for(var h=f&65535|0,u=f>>>16&65535|0,o=0;p!==0;){o=p>2e3?2e3:p,p-=o;do h=h+y[v++]|0,u=u+h|0;while(--o);h%=65521,u%=65521}return h|u<<16|0}},xzDV:function(D,I,e){},"y+Vt":function(D,I,e){var g=e("Gev7"),f=e("bYtY"),y=e("IMiH"),p=e("2DNl"),v=e("3C/r"),h=v.prototype.getCanvasPattern,u=Math.abs,o=new y(!0);function i(a){g.call(this,a),this.path=null}i.prototype={constructor:i,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(c,n){var l=this.style,t=this.path||o,s=l.hasStroke(),d=l.hasFill(),m=l.fill,w=l.stroke,b=d&&!!m.colorStops,E=s&&!!w.colorStops,A=d&&!!m.image,S=s&&!!w.image;if(l.bind(c,this,n),this.setTransform(c),this.__dirty){var T;b&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(c,m,T)),E&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(c,w,T))}b?c.fillStyle=this._fillGradient:A&&(c.fillStyle=h.call(m,c)),E?c.strokeStyle=this._strokeGradient:S&&(c.strokeStyle=h.call(w,c));var O=l.lineDash,x=l.lineDashOffset,C=!!c.setLineDash,_=this.getGlobalScale();if(t.setScale(_[0],_[1],this.segmentIgnoreThreshold),this.__dirtyPath||O&&!C&&s?(t.beginPath(c),O&&!C&&(t.setLineDash(O),t.setLineDashOffset(x)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(c.beginPath(),this.path.rebuildPath(c)),d)if(l.fillOpacity!=null){var N=c.globalAlpha;c.globalAlpha=l.fillOpacity*l.opacity,t.fill(c),c.globalAlpha=N}else t.fill(c);if(O&&C&&(c.setLineDash(O),c.lineDashOffset=x),s)if(l.strokeOpacity!=null){var N=c.globalAlpha;c.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(c),c.globalAlpha=N}else t.stroke(c);O&&C&&c.setLineDash([]),l.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},buildPath:function(c,n,l){},createPathProxy:function(){this.path=new y},getBoundingRect:function(){var c=this._rect,n=this.style,l=!c;if(l){var t=this.path;t||(t=this.path=new y),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),c=t.getBoundingRect()}if(this._rect=c,n.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=c.clone());if(this.__dirty||l){s.copy(c);var d=n.lineWidth,m=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(d=Math.max(d,this.strokeContainThreshold||4)),m>1e-10&&(s.width+=d/m,s.height+=d/m,s.x-=d/m/2,s.y-=d/m/2)}return s}return c},contain:function(c,n){var l=this.transformCoordToLocal(c,n),t=this.getBoundingRect(),s=this.style;if(c=l[0],n=l[1],t.contain(c,n)){var d=this.path.data;if(s.hasStroke()){var m=s.lineWidth,w=s.strokeNoScale?this.getLineScale():1;if(w>1e-10&&(s.hasFill()||(m=Math.max(m,this.strokeContainThreshold)),p.containStroke(d,m/w,c,n)))return!0}if(s.hasFill())return p.contain(d,c,n)}return!1},dirty:function(c){c==null&&(c=!0),c&&(this.__dirtyPath=c,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(c){return this.animate("shape",c)},attrKV:function(c,n){c==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):g.prototype.attrKV.call(this,c,n)},setShape:function(c,n){var l=this.shape;if(l){if(f.isObject(c))for(var t in c)c.hasOwnProperty(t)&&(l[t]=c[t]);else l[c]=n;this.dirty(!0)}return this},getLineScale:function(){var c=this.transform;return c&&u(c[0]-1)>1e-10&&u(c[3]-1)>1e-10?Math.sqrt(u(c[0]*c[3]-c[2]*c[1])):1}},i.extend=function(a){var c=function(t){i.call(this,t),a.style&&this.style.extendFrom(a.style,!1);var s=a.shape;if(s){this.shape=this.shape||{};var d=this.shape;for(var m in s)!d.hasOwnProperty(m)&&s.hasOwnProperty(m)&&(d[m]=s[m])}a.init&&a.init.call(this,t)};f.inherits(c,i);for(var n in a)n!=="style"&&n!=="shape"&&(c.prototype[n]=a[n]);return c},f.inherits(i,g);var r=i;D.exports=r},"y+lR":function(D,I,e){var g=e("bYtY"),f=e("mFDi"),y=e("z35g");function p(h){y.call(this,h)}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(h){var u=this.getAxis("x"),o=this.getAxis("y");return u.contain(u.toLocalCoord(h[0]))&&o.contain(o.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,u,o){var i=this.getAxis("x"),r=this.getAxis("y");return o=o||[],o[0]=i.toGlobalCoord(i.dataToCoord(h[0])),o[1]=r.toGlobalCoord(r.dataToCoord(h[1])),o},clampData:function(h,u){var o=this.getAxis("x").scale,i=this.getAxis("y").scale,r=o.getExtent(),a=i.getExtent(),c=o.parse(h[0]),n=i.parse(h[1]);return u=u||[],u[0]=Math.min(Math.max(Math.min(r[0],r[1]),c),Math.max(r[0],r[1])),u[1]=Math.min(Math.max(Math.min(a[0],a[1]),n),Math.max(a[0],a[1])),u},pointToData:function(h,u){var o=this.getAxis("x"),i=this.getAxis("y");return u=u||[],u[0]=o.coordToData(o.toLocalCoord(h[0])),u[1]=i.coordToData(i.toLocalCoord(h[1])),u},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),u=this.getAxis("y").getGlobalExtent(),o=Math.min(h[0],h[1]),i=Math.min(u[0],u[1]),r=Math.max(h[0],h[1])-o,a=Math.max(u[0],u[1])-i,c=new f(o,i,r,a);return c}},g.inherits(p,y);var v=p;D.exports=v},"y0+3":function(D,I,e){"use strict";e.d(I,"a",function(){return a}),e.d(I,"b",function(){return n});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},y={cssFloat:1,styleFloat:1,float:1};function p(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function v(l,t,s){if(t=t.toLowerCase(),s==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in f||(f[t]=g.test(t)),f[t]?parseFloat(s)||0:s}function h(l,t){var s=arguments.length,d=p(l);return t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,s===1?d:v(l,t,d[t]||l.style[t])}function u(l,t,s){var d=arguments.length;if(t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,d===3)return typeof s=="number"&&g.test(t)&&(s="".concat(s,"px")),l.style[t]=s,s;for(var m in t)t.hasOwnProperty(m)&&u(l,m,t[m]);return p(l)}function o(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function i(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function r(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function a(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function c(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(l){var t=l.getBoundingClientRect(),s=document.documentElement;return{left:t.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},y1pI:function(D,I,e){var g=e("ljhN");function f(y,p){for(var v=y.length;v--;)if(g(y[v][0],p))return v;return-1}D.exports=f},y23F:function(D,I){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_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(g(v,p),"dragstart",p.event))},_drag:function(p){var v=this._draggingTarget;if(v){var h=p.offsetX,u=p.offsetY,o=h-this._x,i=u-this._y;this._x=h,this._y=u,v.drift(o,i,p),this.dispatchToElement(g(v,p),"drag",p.event);var r=this.findHover(h,u,v).target,a=this._dropTarget;this._dropTarget=r,v!==r&&(a&&r!==a&&this.dispatchToElement(g(a,p),"dragleave",p.event),r&&r!==a&&this.dispatchToElement(g(r,p),"dragenter",p.event))}},_dragEnd:function(p){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(g(v,p),"dragend",p.event),this._dropTarget&&this.dispatchToElement(g(this._dropTarget,p),"drop",p.event),this._draggingTarget=null,this._dropTarget=null}};function g(y,p){return{target:y,topTarget:p&&p.topTarget}}var f=e;D.exports=f},y2l5:function(D,I,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(p,v){return g(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}});D.exports=y},y3Kf:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="UpOutlined";var h=I.a=g.forwardRef(v)},y3NT:function(D,I,e){var g=e("OELB"),f=g.parsePercent,y=e("bYtY"),p=Math.PI/180;function v(o,i,r,a){i.eachSeriesByType(o,function(c){var n=c.get("center"),l=c.get("radius");y.isArray(l)||(l=[0,l]),y.isArray(n)||(n=[n,n]);var t=r.getWidth(),s=r.getHeight(),d=Math.min(t,s),m=f(n[0],t),w=f(n[1],s),b=f(l[0],d/2),E=f(l[1],d/2),A=-c.get("startAngle")*p,S=c.get("minAngle")*p,T=c.getData().tree.root,O=c.getViewRoot(),x=O.depth,C=c.get("sort");C!=null&&h(O,C);var _=0;y.each(O.children,function(z){!isNaN(z.getValue())&&_++});var N=O.getValue(),F=Math.PI/(N||_)*2,k=O.depth>0,P=O.height-(k?-1:1),j=(E-b)/(P||1),K=c.get("clockwise"),R=c.get("stillShowZeroSum"),B=K?1:-1,U=function(z,X){if(!z)return;var q=X;if(z!==T){var fe=z.getValue(),G=N===0&&R?F:fe*F;G<S&&(G=S),q=X+B*G;var ve=z.depth-x-(k?-1:1),Se=b+j*ve,ge=b+j*(ve+1),Pe=z.getModel();Pe.get("r0")!=null&&(Se=f(Pe.get("r0"),d/2)),Pe.get("r")!=null&&(ge=f(Pe.get("r"),d/2)),z.setLayout({angle:G,startAngle:X,endAngle:q,clockwise:K,cx:m,cy:w,r0:Se,r:ge})}if(z.children&&z.children.length){var Ge=0;y.each(z.children,function(pt){Ge+=U(pt,X+Ge)})}return q-X};if(k){var H=b,W=b+j,V=Math.PI*2;T.setLayout({angle:V,startAngle:A,endAngle:A+V,clockwise:K,cx:m,cy:w,r0:H,r:W})}U(O,A)})}function h(o,i){var r=o.children||[];o.children=u(r,i),r.length&&y.each(o.children,function(a){h(a,i)})}function u(o,i){if(typeof i=="function")return o.sort(i);var r=i==="asc";return o.sort(function(a,c){var n=(a.getValue()-c.getValue())*(r?1:-1);return n===0?(a.dataIndex-c.dataIndex)*(r?-1:1):n})}D.exports=v},y3Yb:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("HBhm")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="PaperClipOutlined";var u=y.forwardRef(h);I.default=u},"y4/Y":function(D,I,e){var g=e("ProS"),f=e("bYtY"),y=e("zTMp"),p=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),g.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var h=v.axisPointer.link;h&&!f.isArray(h)&&(v.axisPointer.link=[h])}}),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,function(v,h){v.getComponent("axisPointer").coordSysAxesInfo=y.collect(v,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},p)},y7Aq:function(D,I,e){var g=e("bYtY"),f=e("+TT/"),y=f.getLayoutRect;function p(h,u,o){var i=h.option,r=i.align;if(r!=null&&r!=="auto")return r;for(var a={width:u.getWidth(),height:u.getHeight()},c=i.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[c],t=[0,null,10],s={},d=0;d<3;d++)s[n[1-c][d]]=t[d],s[l[d]]=d===2?o[0]:i[l[d]];var m=[["x","width",3],["y","height",0]][c],w=y(s,a,i.padding);return l[(w.margin[m[2]]||0)+w[m[0]]+w[m[1]]*.5<a[m[1]]*.5?0:1]}function v(h,u){return g.each(h||[],function(o){o.dataIndex!=null&&(o.dataIndexInside=o.dataIndex,o.dataIndex=null),o.highlightKey="visualMap"+(u?u.componentIndex:"")}),h}I.getItemAlign=p,I.makeHighDownBatch=v},y8nQ:function(D,I,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("gwTy"),p=e.n(y),v=e("1GLa")},yEEn:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="ArrowDownOutlined";var h=I.a=g.forwardRef(v)},yGk4:function(D,I,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Set");D.exports=y},yO87:function(D,I,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,p=e("IwbS"),v=p.Group,h=e("OELB"),u=h.parsePercent,o=e("FBjb"),i=3;function r(t){return g.isArray(t)||(t=[+t,+t]),t}function a(t,s){var d=s.rippleEffectColor||s.color;t.eachChild(function(m){m.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?d:null,fill:s.brushType==="fill"?d:null}})})}function c(t,s){v.call(this);var d=new o(t,s),m=new v;this.add(d),this.add(m),m.beforeUpdate=function(){this.attr(d.getScale())},this.updateData(t,s)}var n=c.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var s=t.symbolType,d=t.color,m=this.childAt(1),w=0;w<i;w++){var b=y(s,-1,-1,2,2,d);b.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var E=-w/i*t.period+t.effectOffset;b.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(E).start(),b.animateStyle(!0).when(t.period,{opacity:0}).delay(E).start(),m.add(b)}a(m,t)},n.updateEffectAnimation=function(t){for(var s=this._effectCfg,d=this.childAt(1),m=["symbolType","period","rippleScale"],w=0;w<m.length;w++){var b=m[w];if(s[b]!==t[b]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}a(d,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,s){var d=t.hostModel;this.childAt(0).updateData(t,s);var m=this.childAt(1),w=t.getItemModel(s),b=t.getItemVisual(s,"symbol"),E=r(t.getItemVisual(s,"symbolSize")),A=t.getItemVisual(s,"color");m.attr("scale",E),m.traverse(function(F){F.attr({fill:A})});var S=w.getShallow("symbolOffset");if(S){var T=m.position;T[0]=u(S[0],E[0]),T[1]=u(S[1],E[1])}var O=t.getItemVisual(s,"symbolRotate");m.rotation=(O||0)*Math.PI/180||0;var x={};if(x.showEffectOn=d.get("showEffectOn"),x.rippleScale=w.get("rippleEffect.scale"),x.brushType=w.get("rippleEffect.brushType"),x.period=w.get("rippleEffect.period")*1e3,x.effectOffset=s/t.count(),x.z=w.getShallow("z")||0,x.zlevel=w.getShallow("zlevel")||0,x.symbolType=b,x.color=A,x.rippleEffectColor=w.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),_=function(){C.highlight(),x.showEffectOn!=="render"&&this.startEffectAnimation(x)},N=function(){C.downplay(),x.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",_,this).on("mouseout",N,this).on("emphasis",_,this).on("normal",N,this)}this._effectCfg=x},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(c,v);var l=c;D.exports=l},yS9w:function(D,I,e){var g=e("MEGo"),f=g.parseSVG,y=g.makeViewBoxTransform,p=e("4fz+"),v=e("x6Kt"),h=e("bYtY"),u=h.assert,o=h.createHashMap,i=e("mFDi"),r=e("4NO4"),a=r.makeInner,c=a(),n={load:function(t,s){var d=c(s).originRoot;if(d)return{root:d,boundingRect:c(s).boundingRect};var m=l(s);return c(s).originRoot=m.root,c(s).boundingRect=m.boundingRect,m},makeGraphic:function(t,s,d){var m=c(s),w=m.rootMap||(m.rootMap=o()),b=w.get(d);if(b)return b;var E=m.originRoot,A=m.boundingRect;return m.originRootHostKey?b=l(s,A).root:(m.originRootHostKey=d,b=E),w.set(d,b)},removeGraphic:function(t,s,d){var m=c(s),w=m.rootMap;w&&w.removeKey(d),d===m.originRootHostKey&&(m.originRootHostKey=null)}};function l(t,s){var d=t.svgXML,m,w;try{m=d&&f(d,{ignoreViewBox:!0,ignoreRootClip:!0})||{},w=m.root,u(w!=null)}catch(O){throw new Error(`Invalid svg format
|
|
|
`+O.message)}var b=m.width,E=m.height,A=m.viewBoxRect;if(s||(s=b==null||E==null?w.getBoundingRect():new i(0,0,0,0),b!=null&&(s.width=b),E!=null&&(s.height=E)),A){var S=y(A,s.width,s.height),T=w;w=new p,w.add(T),T.scale=S.scale,T.position=S.position}return w.setClipPath(new v({shape:s.plain()})),{root:w,boundingRect:s}}D.exports=n},yWXo:function(D,I,e){var g=e("IwbS"),f=e("oVpE"),y=f.createSymbol,p=e("OS9S"),v=4,h=g.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(r,a){var c=a.points,n=a.size,l=this.symbolProxy,t=l.shape,s=r.getContext?r.getContext():r,d=s&&n[0]<v;if(d)return;for(var m=0;m<c.length;){var w=c[m++],b=c[m++];if(isNaN(w)||isNaN(b))continue;if(this.softClipShape&&!this.softClipShape.contain(w,b))continue;t.x=w-n[0]/2,t.y=b-n[1]/2,t.width=n[0],t.height=n[1],l.buildPath(r,t,!0)}},afterBrush:function(r){var a=this.shape,c=a.points,n=a.size,l=n[0]<v;if(!l)return;this.setTransform(r);for(var t=0;t<c.length;){var s=c[t++],d=c[t++];if(isNaN(s)||isNaN(d))continue;if(this.softClipShape&&!this.softClipShape.contain(s,d))continue;r.fillRect(s-n[0]/2,d-n[1]/2,n[0],n[1])}this.restoreTransform(r)},findDataIndex:function(r,a){for(var c=this.shape,n=c.points,l=c.size,t=Math.max(l[0],4),s=Math.max(l[1],4),d=n.length/2-1;d>=0;d--){var m=d*2,w=n[m]-t/2,b=n[m+1]-s/2;if(r>=w&&a>=b&&r<=w+t&&a<=b+s)return d}return-1}});function u(){this.group=new g.Group}var o=u.prototype;o.isPersistent=function(){return!this._incremental},o.updateData=function(r,a){this.group.removeAll();var c=new h({rectHover:!0,cursor:"default"});c.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(c,r,!1,a),this.group.add(c),this._incremental=null},o.updateLayout=function(r){if(this._incremental)return;var a=r.getLayout("symbolPoints");this.group.eachChild(function(c){if(c.startIndex!=null){var n=(c.endIndex-c.startIndex)*2,l=c.startIndex*4*2;a=new Float32Array(a.buffer,l,n)}c.setShape("points",a)})},o.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>2e6?(this._incremental||(this._incremental=new p({silent:!0})),this.group.add(this._incremental)):this._incremental=null},o.incrementalUpdate=function(r,a,c){var n;this._incremental?(n=new h,this._incremental.addDisplayable(n,!0)):(n=new h({rectHover:!0,cursor:"default",startIndex:r.start,endIndex:r.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:a.getLayout("symbolPoints")}),this._setCommon(n,a,!!this._incremental,c)},o._setCommon=function(r,a,c,n){var l=a.hostModel;n=n||{};var t=a.getVisual("symbolSize");r.setShape("size",t instanceof Array?t:[t,t]),r.softClipShape=n.clipShape||null,r.symbolProxy=y(a.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var s=r.shape.size[0]<v;r.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var d=a.getVisual("color");d&&r.setColor(d),c||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(m){r.dataIndex=null;var w=r.findDataIndex(m.offsetX,m.offsetY);w>=0&&(r.dataIndex=w+(r.startIndex||0))}))},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var i=u;D.exports=i},ycre:function(D,I,e){var g=e("711d"),f=g("length");D.exports=f},ye1Q:function(D,I,e){"use strict";var g=e("q1tI"),f={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"},y=f,p=e("6VBw"),v=function(o,i){return g.createElement(p.a,Object.assign({},o,{ref:i,icon:y}))};v.displayName="LoadingOutlined";var h=I.a=g.forwardRef(v)},ygfH:function(D,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={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"};I.default=g},yik8:function(D,I,e){var g=e("bZqE"),f=g.eachAfter,y=g.eachBefore,p=e("Itpr"),v=p.init,h=p.firstWalk,u=p.secondWalk,o=p.separation,i=p.radialCoordinate,r=p.getViewRect;function a(n,l){n.eachSeriesByType("tree",function(t){c(t,l)})}function c(n,l){var t=r(n,l);n.layoutInfo=t;var s=n.get("layout"),d=0,m=0,w=null;s==="radial"?(d=2*Math.PI,m=Math.min(t.height,t.width)/2,w=o(function(P,j){return(P.parentNode===j.parentNode?1:2)/P.depth})):(d=t.width,m=t.height,w=o());var b=n.getData().tree.root,E=b.children[0];if(E){v(b),f(E,h,w),b.hierNode.modifier=-E.hierNode.prelim,y(E,u);var A=E,S=E,T=E;y(E,function(P){var j=P.getLayout().x;j<A.getLayout().x&&(A=P),j>S.getLayout().x&&(S=P),P.depth>T.depth&&(T=P)});var O=A===S?1:w(A,S)/2,x=O-A.getLayout().x,C=0,_=0,N=0,F=0;if(s==="radial")C=d/(S.getLayout().x+O+x),_=m/(T.depth-1||1),y(E,function(P){N=(P.getLayout().x+x)*C,F=(P.depth-1)*_;var j=i(N,F);P.setLayout({x:j.x,y:j.y,rawX:N,rawY:F},!0)});else{var k=n.getOrient();k==="RL"||k==="LR"?(_=m/(S.getLayout().x+O+x),C=d/(T.depth-1||1),y(E,function(P){F=(P.getLayout().x+x)*_,N=k==="LR"?(P.depth-1)*C:d-(P.depth-1)*C,P.setLayout({x:N,y:F},!0)})):(k==="TB"||k==="BT")&&(C=d/(S.getLayout().x+O+x),_=m/(T.depth-1||1),y(E,function(P){N=(P.getLayout().x+x)*C,F=k==="TB"?(P.depth-1)*_:m-(P.depth-1)*_,P.setLayout({x:N,y:F},!0)}))}}}D.exports=a},ynwM:function(D,I,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldFF-globalStorage",read:p,write:v,each:h,remove:u,clearAll:o};var y=f.globalStorage;function p(i){return y[i]}function v(i,r){y[i]=r}function h(i){for(var r=y.length-1;r>=0;r--){var a=y.key(r);i(y[a],a)}}function u(i){return y.removeItem(i)}function o(){h(function(i,r){delete y[i]})}},ypgQ:function(D,I,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),p=g.each,v=g.clone,h=g.map,u=g.merge,o=/^(min|max)?(.+)$/;function i(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}i.prototype={constructor:i,setOption:function(s,d){s&&g.each(f.normalizeToArray(s.series),function(b){b&&b.data&&g.isTypedArray(b.data)&&g.setAsPrimitive(b.data)}),s=v(s);var m=this._optionBackup,w=r.call(this,s,d,!m);this._newBaseOption=w.baseOption,m?(l(m.baseOption,w.baseOption),w.timelineOptions.length&&(m.timelineOptions=w.timelineOptions),w.mediaList.length&&(m.mediaList=w.mediaList),w.mediaDefault&&(m.mediaDefault=w.mediaDefault)):this._optionBackup=w},mountOption:function(s){var d=this._optionBackup;return this._timelineOptions=h(d.timelineOptions,v),this._mediaList=h(d.mediaList,v),this._mediaDefault=v(d.mediaDefault),this._currentMediaIndices=[],v(s?d.baseOption:this._newBaseOption)},getTimelineOption:function(s){var d,m=this._timelineOptions;if(m.length){var w=s.getComponent("timeline");w&&(d=v(m[w.getCurrentIndex()],!0))}return d},getMediaOption:function(s){var d=this._api.getWidth(),m=this._api.getHeight(),w=this._mediaList,b=this._mediaDefault,E=[],A=[];if(!w.length&&!b)return A;for(var S=0,T=w.length;S<T;S++)a(w[S].query,d,m)&&E.push(S);return!E.length&&b&&(E=[-1]),E.length&&!n(E,this._currentMediaIndices)&&(A=h(E,function(O){return v(O===-1?b.option:w[O].option)})),this._currentMediaIndices=E,A}};function r(s,d,m){var w=[],b=[],E,A,S=s.timeline;if(s.baseOption&&(A=s.baseOption),(S||s.options)&&(A=A||{},w=(s.options||[]).slice()),s.media){A=A||{};var T=s.media;p(T,function(O){O&&O.option&&(O.query?b.push(O):E||(E=O))})}return A||(A=s),A.timeline||(A.timeline=S),p([A].concat(w).concat(g.map(b,function(O){return O.option})),function(O){p(d,function(x){x(O,m)})}),{baseOption:A,timelineOptions:w,mediaDefault:E,mediaList:b}}function a(s,d,m){var w={width:d,height:m,aspectratio:d/m},b=!0;return g.each(s,function(E,A){var S=A.match(o);if(!S||!S[1]||!S[2])return;var T=S[1],O=S[2].toLowerCase();c(w[O],E,T)||(b=!1)}),b}function c(s,d,m){return m==="min"?s>=d:m==="max"?s<=d:s===d}function n(s,d){return s.join(",")===d.join(",")}function l(s,d){d=d||{},p(d,function(m,w){if(m==null)return;var b=s[w];if(!y.hasClass(w))s[w]=u(b,m,!0);else{m=f.normalizeToArray(m),b=f.normalizeToArray(b);var E=f.mappingToExists(b,m);s[w]=h(E,function(A){return A.option&&A.exist?u(A.exist,A.option,!0):A.exist||A.option})}})}var t=i;D.exports=t},yxFR:function(D,I,e){var g=e("y+Vt"),f=e("nPnh"),y=f.subPixelOptimizeLine,p={},v=g.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(u,o){var i,r,a,c;this.subPixelOptimize?(y(p,o,this.style),i=p.x1,r=p.y1,a=p.x2,c=p.y2):(i=o.x1,r=o.y1,a=o.x2,c=o.y2);var n=o.percent;if(n===0)return;u.moveTo(i,r),n<1&&(a=i*(1-n)+a*n,c=r*(1-n)+c*n),u.lineTo(a,c)},pointAt:function(u){var o=this.shape;return[o.x1*(1-u)+o.x2*u,o.y1*(1-u)+o.y2*u]}});D.exports=v},z35g:function(D,I,e){var g=e("bYtY");function f(v){return this._axes[v]}var y=function(v){this._axes={},this._dimList=[],this.name=v||""};y.prototype={constructor:y,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return g.map(this._dimList,f,this)},getAxesByScale:function(v){return v=v.toLowerCase(),g.filter(this.getAxes(),function(h){return h.scale.type===v})},addAxis:function(v){var h=v.dim;this._axes[h]=v,this._dimList.push(h)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,h){for(var u=this._dimList,o=v instanceof Array?[]:{},i=0;i<u.length;i++){var r=u[i],a=this._axes[r];o[r]=a[h](v[r])}return o}};var p=y;D.exports=p},zAh6:function(D,I,e){"use strict";e.d(I,"a",function(){return v});var g=e("xEkU"),f=e.n(g),y=e("i6bk");function p(h,u,o,i){var r=o-u;return h/=i/2,h<1?r/2*h*h*h+u:r/2*((h-=2)*h*h+2)+u}function v(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=u.getContainer,i=o===void 0?function(){return window}:o,r=u.callback,a=u.duration,c=a===void 0?450:a,n=i(),l=Object(y.a)(n,!0),t=Date.now(),s=function d(){var m=Date.now(),w=m-t,b=p(w>c?c:w,l,h,c);Object(y.b)(n)?n.scrollTo(window.pageXOffset,b):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=b:n.scrollTop=b,w<c?f()(d):typeof r=="function"&&r()};f()(s)}},zDms:function(D,I,e){var g=e("bYtY"),f=e("OELB"),y=e("UOVi"),p=e("72pK"),v=g.each,h=f.asc,u=function(n,l,t,s){this._dimName=n,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=t};u.prototype={constructor:u,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],l=this.ecModel;return l.eachSeries(function(t){if(y.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,d=l.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(d&&d.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,l=this.ecModel,t=this.getAxisModel(),s=n==="x"||n==="y",d,m;s?(m="gridIndex",d=n==="x"?"y":"x"):(m="polarIndex",d=n==="angle"?"radius":"angle");var w;return l.eachComponent(d+"Axis",function(b){(b.get(m)||0)===(t.get(m)||0)&&(w=b)}),w},getMinMaxSpan:function(){return g.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,d=this._dataZoomModel.getRangePropMode(),m=[0,100],w=[],b=[],E;v(["start","end"],function(T,O){var x=n[T],C=n[T+"Value"];d[O]==="percent"?(x==null&&(x=m[O]),C=s.parse(f.linearMap(x,m,l))):(E=!0,C=C==null?l[O]:s.parse(C),x=f.linearMap(C,l,m)),b[O]=C,w[O]=x}),h(b),h(w);var A=this._minMaxSpan;E?S(b,w,l,m,!1):S(w,b,m,l,!0);function S(T,O,x,C,_){var N=_?"Span":"ValueSpan";p(0,T,x,"all",A["min"+N],A["max"+N]);for(var F=0;F<2;F++)O[F]=f.linearMap(T[F],x,C,!0),_&&(O[F]=s.parse(O[F]))}return{valueWindow:b,percentWindow:w}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=o(this,this._dimName,l),a(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,r(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,r(this,!0)},filterData:function(n,l){if(n!==this._dataZoomModel)return;var t=this._dimName,s=this.getTargetSeriesModels(),d=n.get("filterMode"),m=this._valueWindow;if(d==="none")return;v(s,function(b){var E=b.getData(),A=E.mapDimension(t,!0);if(!A.length)return;d==="weakFilter"?E.filterSelf(function(S){for(var T,O,x,C=0;C<A.length;C++){var _=E.get(A[C],S),N=!isNaN(_),F=_<m[0],k=_>m[1];if(N&&!F&&!k)return!0;N&&(x=!0),F&&(T=!0),k&&(O=!0)}return x&&T&&O}):v(A,function(S){if(d==="empty")b.setData(E=E.map(S,function(O){return w(O)?O:NaN}));else{var T={};T[S]=m,E.selectRange(T)}}),v(A,function(S){E.setApproximateExtent(m,S)})});function w(b){return b>=m[0]&&b<=m[1]}}};function o(n,l,t){var s=[Infinity,-Infinity];return v(t,function(d){var m=d.getData();m&&v(m.mapDimension(l,!0),function(w){var b=m.getApproximateExtent(w);b[0]<s[0]&&(s[0]=b[0]),b[1]>s[1]&&(s[1]=b[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),i(n,s),s}function i(n,l){var t=n.getAxisModel(),s=t.getMin(!0),d=t.get("type")==="category",m=d&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:d&&(l[0]=m>0?0:NaN);var w=t.getMax(!0);return w!=null&&w!=="dataMax"&&typeof w!="function"?l[1]=w:d&&(l[1]=m>0?m-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function r(n,l){var t=n.getAxisModel(),s=n._percentWindow,d=n._valueWindow;if(!s)return;var m=f.getPixelPrecision(d,[0,500]);m=Math.min(m,20);var w=l||s[0]===0&&s[1]===100;t.setRange(w?null:+d[0].toFixed(m),w?null:+d[1].toFixed(m))}function a(n){var l=n._minMaxSpan={},t=n._dataZoomModel,s=n._dataExtent;v(["min","max"],function(d){var m=t.get(d+"Span"),w=t.get(d+"ValueSpan");w!=null&&(w=n.getAxisModel().axis.scale.parse(w)),w!=null?m=f.linearMap(s[0]+w,s,[0,100],!0):m!=null&&(w=f.linearMap(m,[0,100],s,!0)-s[0]),l[d+"Span"]=m,l[d+"ValueSpan"]=w})}var c=u;D.exports=c},zM3Q:function(D,I,e){var g=e("4NO4"),f=g.makeInner;function y(){var p=f();return function(v){var h=p(v),u=v.pipelineContext,o=h.large,i=h.progressiveRender,r=h.large=u&&u.large,a=h.progressiveRender=u&&u.progressiveRender;return!!(o^r||i^a)&&"reset"}}D.exports=y},zRKj:function(D,I,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(D,I,e){var g=e("bYtY"),f=e("Qxkt"),y=g.each,p=g.curry;function v(s,d){var m={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(m,s,d),m.seriesInvolved&&o(m,s),m}function h(s,d,m){var w=d.getComponent("tooltip"),b=d.getComponent("axisPointer"),E=b.get("link",!0)||[],A=[];y(m.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var T=t(S.model),O=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=S;var x=S.model,C=x.getModel("tooltip",w);if(y(S.getAxes(),p(k,!1,null)),S.getTooltipAxes&&w&&C.get("show")){var _=C.get("trigger")==="axis",N=C.get("axisPointer.type")==="cross",F=S.getTooltipAxes(C.get("axisPointer.axis"));(_||N)&&y(F.baseAxes,p(k,N?"cross":!0,_)),N&&y(F.otherAxes,p(k,"cross",!1))}function k(P,j,K){var R=K.model.getModel("axisPointer",b),B=R.get("show");if(!B||B==="auto"&&!P&&!l(R))return;j==null&&(j=R.get("triggerTooltip")),R=P?u(K,C,b,d,P,j):R;var U=R.get("snap"),H=t(K.model),W=j||U||K.type==="category",V=s.axesInfo[H]={key:H,axis:K,coordSys:S,axisPointerModel:R,triggerTooltip:j,involveSeries:W,snap:U,useHandle:l(R),seriesModels:[]};O[H]=V,s.seriesInvolved|=W;var z=i(E,K);if(z!=null){var X=A[z]||(A[z]={axesInfo:{}});X.axesInfo[H]=V,X.mapper=E[z].mapper,V.linkGroup=X}}})}function u(s,d,m,w,b,E){var A=d.getModel("axisPointer"),S={};y(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){S[C]=g.clone(A.get(C))}),S.snap=s.type!=="category"&&!!E,A.get("type")==="cross"&&(S.type="line");var T=S.label||(S.label={});if(T.show==null&&(T.show=!1),b==="cross"){var O=A.get("label.show");if(T.show=O!=null?O:!0,!E){var x=S.lineStyle=A.get("crossStyle");x&&g.defaults(T,x.textStyle)}}return s.model.getModel("axisPointer",new f(S,m,w))}function o(s,d){d.eachSeries(function(m){var w=m.coordinateSystem,b=m.get("tooltip.trigger",!0),E=m.get("tooltip.show",!0);if(!w||b==="none"||b===!1||b==="item"||E===!1||m.get("axisPointer.show",!0)===!1)return;y(s.coordSysAxesInfo[t(w.model)],function(A){var S=A.axis;w.getAxis(S.dim)===S&&(A.seriesModels.push(m),A.seriesDataCount==null&&(A.seriesDataCount=0),A.seriesDataCount+=m.getData().count())})},this)}function i(s,d){for(var m=d.model,w=d.dim,b=0;b<s.length;b++){var E=s[b]||{};if(r(E[w+"AxisId"],m.id)||r(E[w+"AxisIndex"],m.componentIndex)||r(E[w+"AxisName"],m.name))return b}}function r(s,d){return s==="all"||g.isArray(s)&&g.indexOf(s,d)>=0||s===d}function a(s){var d=c(s);if(!d)return;var m=d.axisPointerModel,w=d.axis.scale,b=m.option,E=m.get("status"),A=m.get("value");A!=null&&(A=w.parse(A));var S=l(m);E==null&&(b.status=S?"show":"hide");var T=w.getExtent().slice();T[0]>T[1]&&T.reverse(),(A==null||A>T[1])&&(A=T[1]),A<T[0]&&(A=T[0]),b.value=A,S&&(b.status=d.axis.scale.isBlank()?"hide":"show")}function c(s){var d=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return d&&d.axesInfo[t(s)]}function n(s){var d=c(s);return d&&d.axisPointerModel}function l(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}I.collect=v,I.fixValue=a,I.getAxisInfo=c,I.getAxisPointerModel=n,I.makeKey=t},zYTA:function(D,I,e){var g=e("bYtY"),f=256;function y(){var v=g.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}y.prototype={update:function(v,h,u,o,i,r){var a=this._getBrush(),c=this._getGradient(v,i,"inRange"),n=this._getGradient(v,i,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),d=v.length;t.width=h,t.height=u;for(var m=0;m<d;++m){var w=v[m],b=w[0],E=w[1],A=w[2],S=o(A);s.globalAlpha=S,s.drawImage(a,b-l,E-l)}if(!t.width||!t.height)return t;for(var T=s.getImageData(0,0,t.width,t.height),O=T.data,x=0,C=O.length,_=this.minOpacity,N=this.maxOpacity,F=N-_;x<C;){var S=O[x+3]/256,k=Math.floor(S*(f-1))*4;if(S>0){var P=r(S)?c:n;S>0&&(S=S*F+_),O[x++]=P[k],O[x++]=P[k+1],O[x++]=P[k+2],O[x++]=P[k+3]*S*256}else x+=4}return s.putImageData(T,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=g.createCanvas()),h=this.pointSize+this.blurSize,u=h*2;v.width=u,v.height=u;var o=v.getContext("2d");return o.clearRect(0,0,u,u),o.shadowOffsetX=u,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-h,h,this.pointSize,0,Math.PI*2,!0),o.closePath(),o.fill(),v},_getGradient:function(v,h,u){for(var o=this._gradientPixels,i=o[u]||(o[u]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],a=0,c=0;c<256;c++)h[u](c/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i}};var p=y;D.exports=p},zarK:function(D,I,e){var g=e("YH21"),f=g.addEventListener,y=g.removeEventListener,p=g.normalizeEvent,v=g.getNativeEvent,h=e("bYtY"),u=e("H6uX"),o=e("ItGF"),i=300,r=o.domSupported,a=function(){var P=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],j=["touchstart","touchend","touchmove"],K={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=h.map(P,function(B){var U=B.replace("mouse","pointer");return K.hasOwnProperty(U)?U:B});return{mouse:P,touch:j,pointer:R}}(),c={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(P){return P==="mousewheel"&&o.browser.firefox?"DOMMouseScroll":P}function l(P){var j=P.pointerType;return j==="pen"||j==="touch"}function t(P){P.touching=!0,P.touchTimer!=null&&(clearTimeout(P.touchTimer),P.touchTimer=null),P.touchTimer=setTimeout(function(){P.touching=!1,P.touchTimer=null},700)}function s(P){P&&(P.zrByTouch=!0)}function d(P,j){return p(P.dom,new w(P,j),!0)}function m(P,j){for(var K=j,R=!1;K&&K.nodeType!==9&&!(R=K.domBelongToZr||K!==j&&K===P.painterRoot);)K=K.parentNode;return R}function w(P,j){this.type=j.type,this.target=this.currentTarget=P.dom,this.pointerType=j.pointerType,this.clientX=j.clientX,this.clientY=j.clientY}var b=w.prototype;b.stopPropagation=b.stopImmediatePropagation=b.preventDefault=h.noop;var E={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 K=this._mayPointerCapture;K&&(j.zrX!==K[0]||j.zrY!==K[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 K=j.toElement||j.relatedTarget;j.zrIsToLocalDOM=m(this,K),this.trigger("mouseout",j)},touchstart:function(j){j=p(this.dom,j),s(j),this._lastTouchMoment=new Date,this.handler.processGesture(j,"start"),E.mousemove.call(this,j),E.mousedown.call(this,j)},touchmove:function(j){j=p(this.dom,j),s(j),this.handler.processGesture(j,"change"),E.mousemove.call(this,j)},touchend:function(j){j=p(this.dom,j),s(j),this.handler.processGesture(j,"end"),E.mouseup.call(this,j),+new Date-this._lastTouchMoment<i&&E.click.call(this,j)},pointerdown:function(j){E.mousedown.call(this,j)},pointermove:function(j){l(j)||E.mousemove.call(this,j)},pointerup:function(j){E.mouseup.call(this,j)},pointerout:function(j){l(j)||E.mouseout.call(this,j)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(P){E[P]=function(j){j=p(this.dom,j),this.trigger(P,j)}});var A={pointermove:function(j){l(j)||A.mousemove.call(this,j)},pointerup:function(j){A.mouseup.call(this,j)},mousemove:function(j){this.trigger("mousemove",j)},mouseup:function(j){var K=this._pointerCapturing;C(this,!1),this.trigger("mouseup",j),K&&(j.zrEventControl="only_globalout",this.trigger("mouseout",j))}};function S(P,j){var K=j.domHandlers;o.pointerEventsSupported?h.each(a.pointer,function(R){O(j,R,function(B){K[R].call(P,B)})}):(o.touchEventsSupported&&h.each(a.touch,function(R){O(j,R,function(B){K[R].call(P,B),t(j)})}),h.each(a.mouse,function(R){O(j,R,function(B){B=v(B),j.touching||K[R].call(P,B)})}))}function T(P,j){o.pointerEventsSupported?h.each(c.pointer,K):o.touchEventsSupported||h.each(c.mouse,K);function K(R){function B(U){U=v(U),m(P,U.target)||(U=d(P,U),j.domHandlers[R].call(P,U))}O(j,R,B,{capture:!0})}}function O(P,j,K,R){P.mounted[j]=K,P.listenerOpts[j]=R,f(P.domTarget,n(j),K,R)}function x(P){var j=P.mounted;for(var K in j)j.hasOwnProperty(K)&&y(P.domTarget,n(K),j[K],P.listenerOpts[K]);P.mounted={}}function C(P,j){if(P._mayPointerCapture=null,r&&P._pointerCapturing^j){P._pointerCapturing=j;var K=P._globalHandlerScope;j?T(P,K):x(K)}}function _(P,j){this.domTarget=P,this.domHandlers=j,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function N(P,j){u.call(this),this.dom=P,this.painterRoot=j,this._localHandlerScope=new _(P,E),r&&(this._globalHandlerScope=new _(document,A)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var F=N.prototype;F.dispose=function(){x(this._localHandlerScope),r&&x(this._globalHandlerScope)},F.setCursor=function(P){this.dom.style&&(this.dom.style.cursor=P||"default")},h.mixin(N,u);var k=N;D.exports=k},zdCA:function(D,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var y=f(e("q1tI")),p=g(e("PSzr")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:p.default}))};h.displayName="BarsOutlined";var u=y.forwardRef(h);I.default=u},zeV3:function(D,I,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),p=e.n(y),v=e("q1tI"),h=e.n(v),u=e("TSYQ"),o=e.n(u),i=e("H84U"),r=function(n,l){var t={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&l.indexOf(s)<0&&(t[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,s=Object.getOwnPropertySymbols(n);d<s.length;d++)l.indexOf(s[d])<0&&Object.prototype.propertyIsEnumerable.call(n,s[d])&&(t[s[d]]=n[s[d]]);return t},a={small:8,middle:16,large:24},c=function(l){var t,s=v.useContext(i.b),d=s.getPrefixCls,m=s.space,w=s.direction,b=l.size,E=b===void 0?(m==null?void 0:m.size)||"small":b,A=l.align,S=l.className,T=l.children,O=l.direction,x=O===void 0?"horizontal":O,C=l.prefixCls,_=r(l,["size","align","className","children","direction","prefixCls"]),N=v.Children.count(T);if(N===0)return null;var F=A===void 0&&x==="horizontal"?"center":A,k=d("space",C),P=o()(k,"".concat(k,"-").concat(x),(t={},p()(t,"".concat(k,"-rtl"),w==="rtl"),p()(t,"".concat(k,"-align-").concat(F),F),t),S),j="".concat(k,"-item"),K=w==="rtl"?"marginLeft":"marginRight";return v.createElement("div",f()({className:P},_),v.Children.map(T,function(R,B){return v.createElement("div",{className:j,key:"".concat(j,"-").concat(B),style:B===N-1||R===null||R===void 0?{}:p()({},x==="vertical"?"marginBottom":K,typeof E=="string"?a[E]:E)},R)}))};I.a=c},zoYe:function(D,I,e){var g=e("nmnc"),f=e("eUgh"),y=e("Z0cm"),p=e("/9aa"),v=1/0,h=g?g.prototype:void 0,u=h?h.toString:void 0;function o(i){if(typeof i=="string")return i;if(y(i))return f(i,o)+"";if(p(i))return u?u.call(i):"";var r=i+"";return r=="0"&&1/i==-v?"-0":r}D.exports=o},zuHt:function(D,I,e){var g=e("bYtY");function f(y){var p={};y.eachSeriesByType("map",function(v){var h=v.getMapType();if(v.getHostGeoModel()||p[h])return;var u={};g.each(v.seriesGroup,function(i){var r=i.coordinateSystem,a=i.originalData;i.get("showLegendSymbol")&&y.getComponent("legend")&&a.each(a.mapDimension("value"),function(c,n){var l=a.getName(n),t=r.getRegion(l);if(!t||isNaN(c))return;var s=u[l]||0,d=r.dataToPoint(t.center);u[l]=s+1,a.setItemLayout(n,{point:d,offset:s})})});var o=v.getData();o.each(function(i){var r=o.getName(i),a=o.getItemLayout(i)||{};a.showLabel=!u[r],o.setItemLayout(i,a)}),p[h]=!0})}D.exports=f}}]);
|